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.
352 lines
1.3 MiB
352 lines
1.3 MiB
!(function(){var kc=Object.defineProperty,Zc=Object.defineProperties;var zc=Object.getOwnPropertyDescriptors;var zd=Object.getOwnPropertySymbols;var sc=Object.prototype.hasOwnProperty,dc=Object.prototype.propertyIsEnumerable;var Ud=Math.pow,uc=(mt,st,z)=>st in mt?kc(mt,st,{enumerable:!0,configurable:!0,writable:!0,value:z}):mt[st]=z,Fo=(mt,st)=>{for(var z in st||(st={}))sc.call(st,z)&&uc(mt,z,st[z]);if(zd)for(var z of zd(st))dc.call(st,z)&&uc(mt,z,st[z]);return mt},Al=(mt,st)=>Zc(mt,zc(st));var Wd=(mt,st)=>{var z={};for(var x in mt)sc.call(mt,x)&&st.indexOf(x)<0&&(z[x]=mt[x]);if(mt!=null&&zd)for(var x of zd(mt))st.indexOf(x)<0&&dc.call(mt,x)&&(z[x]=mt[x]);return z};var cc=(mt,st,z)=>new Promise((x,ge)=>{var he=ze=>{try{we(z.next(ze))}catch(se){ge(se)}},Fe=ze=>{try{we(z.throw(ze))}catch(se){ge(se)}},we=ze=>ze.done?x(ze.value):Promise.resolve(ze.value).then(he,Fe);we((z=z.apply(mt,st)).next())});(self.webpackChunk=self.webpackChunk||[]).push([[3951],{52310:function(mt,st,z){"use strict";z.d(st,{Z:function(){return se}});var x=z(87462),ge=z(67294),he={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M872 474H286.9l350.2-304c5.6-4.9 2.2-14-5.2-14h-88.5c-3.9 0-7.6 1.4-10.5 3.9L155 487.8a31.96 31.96 0 000 48.3L535.1 866c1.5 1.3 3.3 2 5.2 2h91.5c7.4 0 10.8-9.2 5.2-14L286.9 550H872c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8z"}}]},name:"arrow-left",theme:"outlined"},Fe=he,we=z(74643),ze=function(Te,Le){return ge.createElement(we.Z,(0,x.Z)({},Te,{ref:Le,icon:Fe}))},se=ge.forwardRef(ze)},33463:function(mt,st,z){"use strict";z.d(st,{Z:function(){return se}});var x=z(87462),ge=z(67294),he={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M840.4 300H183.6c-19.7 0-30.7 20.8-18.5 35l328.4 380.8c9.4 10.9 27.5 10.9 37 0L858.9 335c12.2-14.2 1.2-35-18.5-35z"}}]},name:"caret-down",theme:"outlined"},Fe=he,we=z(74643),ze=function(Te,Le){return ge.createElement(we.Z,(0,x.Z)({},Te,{ref:Le,icon:Fe}))},se=ge.forwardRef(ze)},28575:function(mt,st,z){"use strict";z.d(st,{Z:function(){return se}});var x=z(87462),ge=z(67294),he={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M858.9 689L530.5 308.2c-9.4-10.9-27.5-10.9-37 0L165.1 689c-12.2 14.2-1.2 35 18.5 35h656.8c19.7 0 30.7-20.8 18.5-35z"}}]},name:"caret-up",theme:"outlined"},Fe=he,we=z(74643),ze=function(Te,Le){return ge.createElement(we.Z,(0,x.Z)({},Te,{ref:Le,icon:Fe}))},se=ge.forwardRef(ze)},84249:function(mt,st,z){"use strict";z.d(st,{Z:function(){return se}});var x=z(87462),ge=z(67294),he={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M360 184h-8c4.4 0 8-3.6 8-8v8h304v-8c0 4.4 3.6 8 8 8h-8v72h72v-80c0-35.3-28.7-64-64-64H352c-35.3 0-64 28.7-64 64v80h72v-72zm504 72H160c-17.7 0-32 14.3-32 32v32c0 4.4 3.6 8 8 8h60.4l24.7 523c1.6 34.1 29.8 61 63.9 61h454c34.2 0 62.3-26.8 63.9-61l24.7-523H888c4.4 0 8-3.6 8-8v-32c0-17.7-14.3-32-32-32zM731.3 840H292.7l-24.2-512h487l-24.2 512z"}}]},name:"delete",theme:"outlined"},Fe=he,we=z(74643),ze=function(Te,Le){return ge.createElement(we.Z,(0,x.Z)({},Te,{ref:Le,icon:Fe}))},se=ge.forwardRef(ze)},33863:function(mt,st,z){"use strict";z.d(st,{Z:function(){return se}});var x=z(87462),ge=z(67294),he={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"defs",attrs:{},children:[{tag:"style",attrs:{}}]},{tag:"path",attrs:{d:"M632 698.3l141.9-112a8 8 0 000-12.6L632 461.7c-5.3-4.2-13-.4-13 6.3v76H295c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h324v76c0 6.7 7.8 10.4 13 6.3zm261.3-405L730.7 130.7c-7.5-7.5-16.7-13-26.7-16V112H144c-17.7 0-32 14.3-32 32v278c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8V184h136v136c0 17.7 14.3 32 32 32h320c17.7 0 32-14.3 32-32V205.8l136 136V422c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-83.5c0-17-6.7-33.2-18.7-45.2zM640 288H384V184h256v104zm264 436h-56c-4.4 0-8 3.6-8 8v108H184V732c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v148c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V732c0-4.4-3.6-8-8-8z"}}]},name:"delivered-procedure",theme:"outlined"},Fe=he,we=z(74643),ze=function(Te,Le){return ge.createElement(we.Z,(0,x.Z)({},Te,{ref:Le,icon:Fe}))},se=ge.forwardRef(ze)},81893:function(mt,st,z){"use strict";z.d(st,{Z:function(){return se}});var x=z(87462),ge=z(67294),he={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M533.2 492.3L277.9 166.1c-3-3.9-7.7-6.1-12.6-6.1H188c-6.7 0-10.4 7.7-6.3 12.9L447.1 512 181.7 851.1A7.98 7.98 0 00188 864h77.3c4.9 0 9.6-2.3 12.6-6.1l255.3-326.1c9.1-11.7 9.1-27.9 0-39.5zm304 0L581.9 166.1c-3-3.9-7.7-6.1-12.6-6.1H492c-6.7 0-10.4 7.7-6.3 12.9L751.1 512 485.7 851.1A7.98 7.98 0 00492 864h77.3c4.9 0 9.6-2.3 12.6-6.1l255.3-326.1c9.1-11.7 9.1-27.9 0-39.5z"}}]},name:"double-right",theme:"outlined"},Fe=he,we=z(74643),ze=function(Te,Le){return ge.createElement(we.Z,(0,x.Z)({},Te,{ref:Le,icon:Fe}))},se=ge.forwardRef(ze)},90674:function(mt,st,z){"use strict";z.d(st,{Z:function(){return se}});var x=z(87462),ge=z(67294),he={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M505.7 661a8 8 0 0012.6 0l112-141.7c4.1-5.2.4-12.9-6.3-12.9h-74.1V168c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v338.3H400c-6.7 0-10.4 7.7-6.3 12.9l112 141.8zM878 626h-60c-4.4 0-8 3.6-8 8v154H214V634c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v198c0 17.7 14.3 32 32 32h684c17.7 0 32-14.3 32-32V634c0-4.4-3.6-8-8-8z"}}]},name:"download",theme:"outlined"},Fe=he,we=z(74643),ze=function(Te,Le){return ge.createElement(we.Z,(0,x.Z)({},Te,{ref:Le,icon:Fe}))},se=ge.forwardRef(ze)},55304:function(mt,st,z){"use strict";z.d(st,{Z:function(){return se}});var x=z(87462),ge=z(67294),he={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z"}},{tag:"path",attrs:{d:"M464 688a48 48 0 1096 0 48 48 0 10-96 0zm24-112h48c4.4 0 8-3.6 8-8V296c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v272c0 4.4 3.6 8 8 8z"}}]},name:"exclamation-circle",theme:"outlined"},Fe=he,we=z(74643),ze=function(Te,Le){return ge.createElement(we.Z,(0,x.Z)({},Te,{ref:Le,icon:Fe}))},se=ge.forwardRef(ze)},73148:function(mt,st,z){"use strict";z.d(st,{Z:function(){return se}});var x=z(87462),ge=z(67294),he={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M854.6 288.6L639.4 73.4c-6-6-14.1-9.4-22.6-9.4H192c-17.7 0-32 14.3-32 32v832c0 17.7 14.3 32 32 32h640c17.7 0 32-14.3 32-32V311.3c0-8.5-3.4-16.7-9.4-22.7zM790.2 326H602V137.8L790.2 326zm1.8 562H232V136h302v216a42 42 0 0042 42h216v494z"}}]},name:"file",theme:"outlined"},Fe=he,we=z(74643),ze=function(Te,Le){return ge.createElement(we.Z,(0,x.Z)({},Te,{ref:Le,icon:Fe}))},se=ge.forwardRef(ze)},56747:function(mt,st,z){"use strict";z.d(st,{Z:function(){return se}});var x=z(87462),ge=z(67294),he={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M928 444H820V330.4c0-17.7-14.3-32-32-32H473L355.7 186.2a8.15 8.15 0 00-5.5-2.2H96c-17.7 0-32 14.3-32 32v592c0 17.7 14.3 32 32 32h698c13 0 24.8-7.9 29.7-20l134-332c1.5-3.8 2.3-7.9 2.3-12 0-17.7-14.3-32-32-32zM136 256h188.5l119.6 114.4H748V444H238c-13 0-24.8 7.9-29.7 20L136 643.2V256zm635.3 512H159l103.3-256h612.4L771.3 768z"}}]},name:"folder-open",theme:"outlined"},Fe=he,we=z(74643),ze=function(Te,Le){return ge.createElement(we.Z,(0,x.Z)({},Te,{ref:Le,icon:Fe}))},se=ge.forwardRef(ze)},50881:function(mt,st,z){"use strict";z.d(st,{Z:function(){return se}});var x=z(87462),ge=z(67294),he={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M300 276.5a56 56 0 1056-97 56 56 0 00-56 97zm0 284a56 56 0 1056-97 56 56 0 00-56 97zM640 228a56 56 0 10112 0 56 56 0 00-112 0zm0 284a56 56 0 10112 0 56 56 0 00-112 0zM300 844.5a56 56 0 1056-97 56 56 0 00-56 97zM640 796a56 56 0 10112 0 56 56 0 00-112 0z"}}]},name:"holder",theme:"outlined"},Fe=he,we=z(74643),ze=function(Te,Le){return ge.createElement(we.Z,(0,x.Z)({},Te,{ref:Le,icon:Fe}))},se=ge.forwardRef(ze)},22751:function(mt,st,z){"use strict";z.d(st,{Z:function(){return se}});var x=z(87462),ge=z(67294),he={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M724 218.3V141c0-6.7-7.7-10.4-12.9-6.3L260.3 486.8a31.86 31.86 0 000 50.3l450.8 352.1c5.3 4.1 12.9.4 12.9-6.3v-77.3c0-4.9-2.3-9.6-6.1-12.6l-360-281 360-281.1c3.8-3 6.1-7.7 6.1-12.6z"}}]},name:"left",theme:"outlined"},Fe=he,we=z(74643),ze=function(Te,Le){return ge.createElement(we.Z,(0,x.Z)({},Te,{ref:Le,icon:Fe}))},se=ge.forwardRef(ze)},24018:function(mt,st,z){"use strict";z.d(st,{Z:function(){return se}});var x=z(87462),ge=z(67294),he={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M696 480H328c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8h368c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8z"}},{tag:"path",attrs:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z"}}]},name:"minus-circle",theme:"outlined"},Fe=he,we=z(74643),ze=function(Te,Le){return ge.createElement(we.Z,(0,x.Z)({},Te,{ref:Le,icon:Fe}))},se=ge.forwardRef(ze)},34182:function(mt,st,z){"use strict";z.d(st,{Z:function(){return se}});var x=z(87462),ge=z(67294),he={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M328 544h368c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8H328c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8z"}},{tag:"path",attrs:{d:"M880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zm-40 728H184V184h656v656z"}}]},name:"minus-square",theme:"outlined"},Fe=he,we=z(74643),ze=function(Te,Le){return ge.createElement(we.Z,(0,x.Z)({},Te,{ref:Le,icon:Fe}))},se=ge.forwardRef(ze)},40043:function(mt,st,z){"use strict";z.d(st,{Z:function(){return se}});var x=z(87462),ge=z(67294),he={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M696 480H544V328c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v152H328c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8h152v152c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V544h152c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8z"}},{tag:"path",attrs:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z"}}]},name:"plus-circle",theme:"outlined"},Fe=he,we=z(74643),ze=function(Te,Le){return ge.createElement(we.Z,(0,x.Z)({},Te,{ref:Le,icon:Fe}))},se=ge.forwardRef(ze)},74664:function(mt,st,z){"use strict";z.d(st,{Z:function(){return se}});var x=z(87462),ge=z(67294),he={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M328 544h152v152c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V544h152c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8H544V328c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v152H328c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8z"}},{tag:"path",attrs:{d:"M880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zm-40 728H184V184h656v656z"}}]},name:"plus-square",theme:"outlined"},Fe=he,we=z(74643),ze=function(Te,Le){return ge.createElement(we.Z,(0,x.Z)({},Te,{ref:Le,icon:Fe}))},se=ge.forwardRef(ze)},91034:function(mt,st,z){"use strict";z.d(st,{Z:function(){return se}});var x=z(87462),ge=z(67294),he={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M765.7 486.8L314.9 134.7A7.97 7.97 0 00302 141v77.3c0 4.9 2.3 9.6 6.1 12.6l360 281.1-360 281.1c-3.9 3-6.1 7.7-6.1 12.6V883c0 6.7 7.7 10.4 12.9 6.3l450.8-352.1a31.96 31.96 0 000-50.4z"}}]},name:"right",theme:"outlined"},Fe=he,we=z(74643),ze=function(Te,Le){return ge.createElement(we.Z,(0,x.Z)({},Te,{ref:Le,icon:Fe}))},se=ge.forwardRef(ze)},60887:function(mt,st,z){"use strict";z.d(st,{LB:function(){return Pi},g4:function(){return Xe},VK:function(){return xt},Cj:function(){return eo},O1:function(){return fa},Zj:function(){return fi}});var x=z(67294),ge=z(73935),he=z(24285);const Fe={display:"none"};function we(fe){let{id:ye,value:ke}=fe;return x.createElement("div",{id:ye,style:Fe},ke)}function ze(fe){let{id:ye,announcement:ke,ariaLiveType:Pe="assertive"}=fe;const et={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:ye,style:et,role:"status","aria-live":Pe,"aria-atomic":!0},ke)}function se(){const[fe,ye]=(0,x.useState)("");return{announce:(0,x.useCallback)(Pe=>{Pe!=null&&ye(Pe)},[]),announcement:fe}}const je=(0,x.createContext)(null);function Te(fe){const ye=(0,x.useContext)(je);(0,x.useEffect)(()=>{if(!ye)throw new Error("useDndMonitor must be used within a children of <DndContext>");return ye(fe)},[fe,ye])}function Le(){const[fe]=(0,x.useState)(()=>new Set),ye=(0,x.useCallback)(Pe=>(fe.add(Pe),()=>fe.delete(Pe)),[fe]);return[(0,x.useCallback)(Pe=>{let{type:et,event:ut}=Pe;fe.forEach(St=>{var nt;return(nt=St[et])==null?void 0:nt.call(St,ut)})},[fe]),ye]}const Ke={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.
|
|
`},De={onDragStart(fe){let{active:ye}=fe;return"Picked up draggable item "+ye.id+"."},onDragOver(fe){let{active:ye,over:ke}=fe;return ke?"Draggable item "+ye.id+" was moved over droppable area "+ke.id+".":"Draggable item "+ye.id+" is no longer over a droppable area."},onDragEnd(fe){let{active:ye,over:ke}=fe;return ke?"Draggable item "+ye.id+" was dropped over droppable area "+ke.id:"Draggable item "+ye.id+" was dropped."},onDragCancel(fe){let{active:ye}=fe;return"Dragging was cancelled. Draggable item "+ye.id+" was dropped."}};function ve(fe){let{announcements:ye=De,container:ke,hiddenTextDescribedById:Pe,screenReaderInstructions:et=Ke}=fe;const{announce:ut,announcement:St}=se(),nt=(0,he.Ld)("DndLiveRegion"),[ct,vt]=(0,x.useState)(!1);if((0,x.useEffect)(()=>{vt(!0)},[]),Te((0,x.useMemo)(()=>({onDragStart(Cn){let{active:oa}=Cn;ut(ye.onDragStart({active:oa}))},onDragMove(Cn){let{active:oa,over:$n}=Cn;ye.onDragMove&&ut(ye.onDragMove({active:oa,over:$n}))},onDragOver(Cn){let{active:oa,over:$n}=Cn;ut(ye.onDragOver({active:oa,over:$n}))},onDragEnd(Cn){let{active:oa,over:$n}=Cn;ut(ye.onDragEnd({active:oa,over:$n}))},onDragCancel(Cn){let{active:oa,over:$n}=Cn;ut(ye.onDragCancel({active:oa,over:$n}))}}),[ut,ye])),!ct)return null;const hn=x.createElement(x.Fragment,null,x.createElement(we,{id:Pe,value:et.draggable}),x.createElement(ze,{id:nt,announcement:St}));return ke?(0,ge.createPortal)(hn,ke):hn}var ue;(function(fe){fe.DragStart="dragStart",fe.DragMove="dragMove",fe.DragEnd="dragEnd",fe.DragCancel="dragCancel",fe.DragOver="dragOver",fe.RegisterDroppable="registerDroppable",fe.SetDroppableDisabled="setDroppableDisabled",fe.UnregisterDroppable="unregisterDroppable"})(ue||(ue={}));function a(){}function y(fe,ye){return useMemo(()=>({sensor:fe,options:ye!=null?ye:{}}),[fe,ye])}function b(){for(var fe=arguments.length,ye=new Array(fe),ke=0;ke<fe;ke++)ye[ke]=arguments[ke];return useMemo(()=>[...ye].filter(Pe=>Pe!=null),[...ye])}const E=Object.freeze({x:0,y:0});function ee(fe,ye){return Math.sqrt(Math.pow(fe.x-ye.x,2)+Math.pow(fe.y-ye.y,2))}function te(fe,ye){const ke=getEventCoordinates(fe);if(!ke)return"0 0";const Pe={x:(ke.x-ye.left)/ye.width*100,y:(ke.y-ye.top)/ye.height*100};return Pe.x+"% "+Pe.y+"%"}function re(fe,ye){let{data:{value:ke}}=fe,{data:{value:Pe}}=ye;return ke-Pe}function oe(fe,ye){let{data:{value:ke}}=fe,{data:{value:Pe}}=ye;return Pe-ke}function ne(fe){let{left:ye,top:ke,height:Pe,width:et}=fe;return[{x:ye,y:ke},{x:ye+et,y:ke},{x:ye,y:ke+Pe},{x:ye+et,y:ke+Pe}]}function de(fe,ye){if(!fe||fe.length===0)return null;const[ke]=fe;return ye?ke[ye]:ke}function pe(fe,ye,ke){return ye===void 0&&(ye=fe.left),ke===void 0&&(ke=fe.top),{x:ye+fe.width*.5,y:ke+fe.height*.5}}const Ee=fe=>{let{collisionRect:ye,droppableRects:ke,droppableContainers:Pe}=fe;const et=pe(ye,ye.left,ye.top),ut=[];for(const St of Pe){const{id:nt}=St,ct=ke.get(nt);if(ct){const vt=ee(pe(ct),et);ut.push({id:nt,data:{droppableContainer:St,value:vt}})}}return ut.sort(re)},be=fe=>{let{collisionRect:ye,droppableRects:ke,droppableContainers:Pe}=fe;const et=ne(ye),ut=[];for(const St of Pe){const{id:nt}=St,ct=ke.get(nt);if(ct){const vt=ne(ct),hn=et.reduce((oa,$n,Ia)=>oa+ee(vt[Ia],$n),0),Cn=Number((hn/4).toFixed(4));ut.push({id:nt,data:{droppableContainer:St,value:Cn}})}}return ut.sort(re)};function xe(fe,ye){const ke=Math.max(ye.top,fe.top),Pe=Math.max(ye.left,fe.left),et=Math.min(ye.left+ye.width,fe.left+fe.width),ut=Math.min(ye.top+ye.height,fe.top+fe.height),St=et-Pe,nt=ut-ke;if(Pe<et&&ke<ut){const ct=ye.width*ye.height,vt=fe.width*fe.height,hn=St*nt,Cn=hn/(ct+vt-hn);return Number(Cn.toFixed(4))}return 0}const Ce=fe=>{let{collisionRect:ye,droppableRects:ke,droppableContainers:Pe}=fe;const et=[];for(const ut of Pe){const{id:St}=ut,nt=ke.get(St);if(nt){const ct=xe(nt,ye);ct>0&&et.push({id:St,data:{droppableContainer:ut,value:ct}})}}return et.sort(oe)};function Ne(fe,ye){const{top:ke,left:Pe,bottom:et,right:ut}=ye;return ke<=fe.y&&fe.y<=et&&Pe<=fe.x&&fe.x<=ut}const Re=fe=>{let{droppableContainers:ye,droppableRects:ke,pointerCoordinates:Pe}=fe;if(!Pe)return[];const et=[];for(const ut of ye){const{id:St}=ut,nt=ke.get(St);if(nt&&Ne(Pe,nt)){const vt=ne(nt).reduce((Cn,oa)=>Cn+ee(Pe,oa),0),hn=Number((vt/4).toFixed(4));et.push({id:St,data:{droppableContainer:ut,value:hn}})}}return et.sort(re)};function at(fe,ye,ke){return Al(Fo({},fe),{scaleX:ye&&ke?ye.width/ke.width:1,scaleY:ye&&ke?ye.height/ke.height:1})}function Ie(fe,ye){return fe&&ye?{x:fe.left-ye.left,y:fe.top-ye.top}:E}function Ue(fe){return function(ke){for(var Pe=arguments.length,et=new Array(Pe>1?Pe-1:0),ut=1;ut<Pe;ut++)et[ut-1]=arguments[ut];return et.reduce((St,nt)=>Al(Fo({},St),{top:St.top+fe*nt.y,bottom:St.bottom+fe*nt.y,left:St.left+fe*nt.x,right:St.right+fe*nt.x}),Fo({},ke))}}const Ge=Ue(1);function Ve(fe){if(fe.startsWith("matrix3d(")){const ye=fe.slice(9,-1).split(/, /);return{x:+ye[12],y:+ye[13],scaleX:+ye[0],scaleY:+ye[5]}}else if(fe.startsWith("matrix(")){const ye=fe.slice(7,-1).split(/, /);return{x:+ye[4],y:+ye[5],scaleX:+ye[0],scaleY:+ye[3]}}return null}function rt(fe,ye,ke){const Pe=Ve(ye);if(!Pe)return fe;const{scaleX:et,scaleY:ut,x:St,y:nt}=Pe,ct=fe.left-St-(1-et)*parseFloat(ke),vt=fe.top-nt-(1-ut)*parseFloat(ke.slice(ke.indexOf(" ")+1)),hn=et?fe.width/et:fe.width,Cn=ut?fe.height/ut:fe.height;return{width:hn,height:Cn,top:vt,right:ct+hn,bottom:vt+Cn,left:ct}}const gt={ignoreTransform:!1};function xt(fe,ye){ye===void 0&&(ye=gt);let ke=fe.getBoundingClientRect();if(ye.ignoreTransform){const{transform:vt,transformOrigin:hn}=(0,he.Jj)(fe).getComputedStyle(fe);vt&&(ke=rt(ke,vt,hn))}const{top:Pe,left:et,width:ut,height:St,bottom:nt,right:ct}=ke;return{top:Pe,left:et,width:ut,height:St,bottom:nt,right:ct}}function Gt(fe){return xt(fe,{ignoreTransform:!0})}function yn(fe){const ye=fe.innerWidth,ke=fe.innerHeight;return{top:0,left:0,right:ye,bottom:ke,width:ye,height:ke}}function lt(fe,ye){return ye===void 0&&(ye=(0,he.Jj)(fe).getComputedStyle(fe)),ye.position==="fixed"}function ht(fe,ye){ye===void 0&&(ye=(0,he.Jj)(fe).getComputedStyle(fe));const ke=/(auto|scroll|overlay)/;return["overflow","overflowX","overflowY"].some(et=>{const ut=ye[et];return typeof ut=="string"?ke.test(ut):!1})}function Lt(fe,ye){const ke=[];function Pe(et){if(ye!=null&&ke.length>=ye||!et)return ke;if((0,he.qk)(et)&&et.scrollingElement!=null&&!ke.includes(et.scrollingElement))return ke.push(et.scrollingElement),ke;if(!(0,he.Re)(et)||(0,he.vZ)(et)||ke.includes(et))return ke;const ut=(0,he.Jj)(fe).getComputedStyle(et);return et!==fe&&ht(et,ut)&&ke.push(et),lt(et,ut)?ke:Pe(et.parentNode)}return fe?Pe(fe):ke}function zt(fe){const[ye]=Lt(fe,1);return ye!=null?ye:null}function dt(fe){return!he.Nq||!fe?null:(0,he.FJ)(fe)?fe:(0,he.UG)(fe)?(0,he.qk)(fe)||fe===(0,he.r3)(fe).scrollingElement?window:(0,he.Re)(fe)?fe:null:null}function kt(fe){return(0,he.FJ)(fe)?fe.scrollX:fe.scrollLeft}function Ze(fe){return(0,he.FJ)(fe)?fe.scrollY:fe.scrollTop}function Dn(fe){return{x:kt(fe),y:Ze(fe)}}var zn;(function(fe){fe[fe.Forward=1]="Forward",fe[fe.Backward=-1]="Backward"})(zn||(zn={}));function Dt(fe){return!he.Nq||!fe?!1:fe===document.scrollingElement}function rn(fe){const ye={x:0,y:0},ke=Dt(fe)?{height:window.innerHeight,width:window.innerWidth}:{height:fe.clientHeight,width:fe.clientWidth},Pe={x:fe.scrollWidth-ke.width,y:fe.scrollHeight-ke.height},et=fe.scrollTop<=ye.y,ut=fe.scrollLeft<=ye.x,St=fe.scrollTop>=Pe.y,nt=fe.scrollLeft>=Pe.x;return{isTop:et,isLeft:ut,isBottom:St,isRight:nt,maxScroll:Pe,minScroll:ye}}const en={x:.2,y:.2};function Ht(fe,ye,ke,Pe,et){let{top:ut,left:St,right:nt,bottom:ct}=ke;Pe===void 0&&(Pe=10),et===void 0&&(et=en);const{isTop:vt,isBottom:hn,isLeft:Cn,isRight:oa}=rn(fe),$n={x:0,y:0},Ia={x:0,y:0},xa={height:ye.height*et.y,width:ye.width*et.x};return!vt&&ut<=ye.top+xa.height?($n.y=zn.Backward,Ia.y=Pe*Math.abs((ye.top+xa.height-ut)/xa.height)):!hn&&ct>=ye.bottom-xa.height&&($n.y=zn.Forward,Ia.y=Pe*Math.abs((ye.bottom-xa.height-ct)/xa.height)),!oa&&nt>=ye.right-xa.width?($n.x=zn.Forward,Ia.x=Pe*Math.abs((ye.right-xa.width-nt)/xa.width)):!Cn&&St<=ye.left+xa.width&&($n.x=zn.Backward,Ia.x=Pe*Math.abs((ye.left+xa.width-St)/xa.width)),{direction:$n,speed:Ia}}function Et(fe){if(fe===document.scrollingElement){const{innerWidth:ut,innerHeight:St}=window;return{top:0,left:0,right:ut,bottom:St,width:ut,height:St}}const{top:ye,left:ke,right:Pe,bottom:et}=fe.getBoundingClientRect();return{top:ye,left:ke,right:Pe,bottom:et,width:fe.clientWidth,height:fe.clientHeight}}function wn(fe){return fe.reduce((ye,ke)=>(0,he.IH)(ye,Dn(ke)),E)}function dn(fe){return fe.reduce((ye,ke)=>ye+kt(ke),0)}function Bt(fe){return fe.reduce((ye,ke)=>ye+Ze(ke),0)}function Bn(fe,ye){if(ye===void 0&&(ye=xt),!fe)return;const{top:ke,left:Pe,bottom:et,right:ut}=ye(fe);zt(fe)&&(et<=0||ut<=0||ke>=window.innerHeight||Pe>=window.innerWidth)&&fe.scrollIntoView({block:"center",inline:"center"})}const Yt=[["x",["left","right"],dn],["y",["top","bottom"],Bt]];class Xt{constructor(ye,ke){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 Pe=Lt(ke),et=wn(Pe);this.rect=Fo({},ye),this.width=ye.width,this.height=ye.height;for(const[ut,St,nt]of Yt)for(const ct of St)Object.defineProperty(this,ct,{get:()=>{const vt=nt(Pe),hn=et[ut]-vt;return this.rect[ct]+hn},enumerable:!0});Object.defineProperty(this,"rect",{enumerable:!1})}}class On{constructor(ye){this.target=void 0,this.listeners=[],this.removeAll=()=>{this.listeners.forEach(ke=>{var Pe;return(Pe=this.target)==null?void 0:Pe.removeEventListener(...ke)})},this.target=ye}add(ye,ke,Pe){var et;(et=this.target)==null||et.addEventListener(ye,ke,Pe),this.listeners.push([ye,ke,Pe])}}function bn(fe){const{EventTarget:ye}=(0,he.Jj)(fe);return fe instanceof ye?fe:(0,he.r3)(fe)}function Je(fe,ye){const ke=Math.abs(fe.x),Pe=Math.abs(fe.y);return typeof ye=="number"?Math.sqrt(Ud(ke,2)+Ud(Pe,2))>ye:"x"in ye&&"y"in ye?ke>ye.x&&Pe>ye.y:"x"in ye?ke>ye.x:"y"in ye?Pe>ye.y:!1}var He;(function(fe){fe.Click="click",fe.DragStart="dragstart",fe.Keydown="keydown",fe.ContextMenu="contextmenu",fe.Resize="resize",fe.SelectionChange="selectionchange",fe.VisibilityChange="visibilitychange"})(He||(He={}));function Xn(fe){fe.preventDefault()}function Me(fe){fe.stopPropagation()}var Xe;(function(fe){fe.Space="Space",fe.Down="ArrowDown",fe.Right="ArrowRight",fe.Left="ArrowLeft",fe.Up="ArrowUp",fe.Esc="Escape",fe.Enter="Enter"})(Xe||(Xe={}));const Zt={start:[Xe.Space,Xe.Enter],cancel:[Xe.Esc],end:[Xe.Space,Xe.Enter]},ot=(fe,ye)=>{let{currentCoordinates:ke}=ye;switch(fe.code){case Xe.Right:return Al(Fo({},ke),{x:ke.x+25});case Xe.Left:return Al(Fo({},ke),{x:ke.x-25});case Xe.Down:return Al(Fo({},ke),{y:ke.y+25});case Xe.Up:return Al(Fo({},ke),{y:ke.y-25})}};class Ye{constructor(ye){this.props=void 0,this.autoScrollEnabled=!1,this.referenceCoordinates=void 0,this.listeners=void 0,this.windowListeners=void 0,this.props=ye;const{event:{target:ke}}=ye;this.props=ye,this.listeners=new On((0,he.r3)(ke)),this.windowListeners=new On((0,he.Jj)(ke)),this.handleKeyDown=this.handleKeyDown.bind(this),this.handleCancel=this.handleCancel.bind(this),this.attach()}attach(){this.handleStart(),this.windowListeners.add(He.Resize,this.handleCancel),this.windowListeners.add(He.VisibilityChange,this.handleCancel),setTimeout(()=>this.listeners.add(He.Keydown,this.handleKeyDown))}handleStart(){const{activeNode:ye,onStart:ke}=this.props,Pe=ye.node.current;Pe&&Bn(Pe),ke(E)}handleKeyDown(ye){if((0,he.vd)(ye)){const{active:ke,context:Pe,options:et}=this.props,{keyboardCodes:ut=Zt,coordinateGetter:St=ot,scrollBehavior:nt="smooth"}=et,{code:ct}=ye;if(ut.end.includes(ct)){this.handleEnd(ye);return}if(ut.cancel.includes(ct)){this.handleCancel(ye);return}const{collisionRect:vt}=Pe.current,hn=vt?{x:vt.left,y:vt.top}:E;this.referenceCoordinates||(this.referenceCoordinates=hn);const Cn=St(ye,{active:ke,context:Pe.current,currentCoordinates:hn});if(Cn){const oa=(0,he.$X)(Cn,hn),$n={x:0,y:0},{scrollableAncestors:Ia}=Pe.current;for(const xa of Ia){const Mn=ye.code,{isTop:jt,isRight:Fn,isLeft:Rn,isBottom:Ca,maxScroll:Ta,minScroll:Ma}=rn(xa),Ja=Et(xa),Za={x:Math.min(Mn===Xe.Right?Ja.right-Ja.width/2:Ja.right,Math.max(Mn===Xe.Right?Ja.left:Ja.left+Ja.width/2,Cn.x)),y:Math.min(Mn===Xe.Down?Ja.bottom-Ja.height/2:Ja.bottom,Math.max(Mn===Xe.Down?Ja.top:Ja.top+Ja.height/2,Cn.y))},ma=Mn===Xe.Right&&!Fn||Mn===Xe.Left&&!Rn,za=Mn===Xe.Down&&!Ca||Mn===Xe.Up&&!jt;if(ma&&Za.x!==Cn.x){const Na=xa.scrollLeft+oa.x,cr=Mn===Xe.Right&&Na<=Ta.x||Mn===Xe.Left&&Na>=Ma.x;if(cr&&!oa.y){xa.scrollTo({left:Na,behavior:nt});return}cr?$n.x=xa.scrollLeft-Na:$n.x=Mn===Xe.Right?xa.scrollLeft-Ta.x:xa.scrollLeft-Ma.x,$n.x&&xa.scrollBy({left:-$n.x,behavior:nt});break}else if(za&&Za.y!==Cn.y){const Na=xa.scrollTop+oa.y,cr=Mn===Xe.Down&&Na<=Ta.y||Mn===Xe.Up&&Na>=Ma.y;if(cr&&!oa.x){xa.scrollTo({top:Na,behavior:nt});return}cr?$n.y=xa.scrollTop-Na:$n.y=Mn===Xe.Down?xa.scrollTop-Ta.y:xa.scrollTop-Ma.y,$n.y&&xa.scrollBy({top:-$n.y,behavior:nt});break}}this.handleMove(ye,(0,he.IH)((0,he.$X)(Cn,this.referenceCoordinates),$n))}}}handleMove(ye,ke){const{onMove:Pe}=this.props;ye.preventDefault(),Pe(ke)}handleEnd(ye){const{onEnd:ke}=this.props;ye.preventDefault(),this.detach(),ke()}handleCancel(ye){const{onCancel:ke}=this.props;ye.preventDefault(),this.detach(),ke()}detach(){this.listeners.removeAll(),this.windowListeners.removeAll()}}Ye.activators=[{eventName:"onKeyDown",handler:(fe,ye,ke)=>{let{keyboardCodes:Pe=Zt,onActivation:et}=ye,{active:ut}=ke;const{code:St}=fe.nativeEvent;if(Pe.start.includes(St)){const nt=ut.activatorNode.current;return nt&&fe.target!==nt?!1:(fe.preventDefault(),et==null||et({event:fe.nativeEvent}),!0)}return!1}}];function bt(fe){return!!(fe&&"distance"in fe)}function Ut(fe){return!!(fe&&"delay"in fe)}class Nt{constructor(ye,ke,Pe){var et;Pe===void 0&&(Pe=bn(ye.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=ye,this.events=ke;const{event:ut}=ye,{target:St}=ut;this.props=ye,this.events=ke,this.document=(0,he.r3)(St),this.documentListeners=new On(this.document),this.listeners=new On(Pe),this.windowListeners=new On((0,he.Jj)(St)),this.initialCoordinates=(et=(0,he.DC)(ut))!=null?et: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:ye,props:{options:{activationConstraint:ke,bypassActivationConstraint:Pe}}}=this;if(this.listeners.add(ye.move.name,this.handleMove,{passive:!1}),this.listeners.add(ye.end.name,this.handleEnd),this.windowListeners.add(He.Resize,this.handleCancel),this.windowListeners.add(He.DragStart,Xn),this.windowListeners.add(He.VisibilityChange,this.handleCancel),this.windowListeners.add(He.ContextMenu,Xn),this.documentListeners.add(He.Keydown,this.handleKeydown),ke){if(Pe!=null&&Pe({event:this.props.event,activeNode:this.props.activeNode,options:this.props.options}))return this.handleStart();if(Ut(ke)){this.timeoutId=setTimeout(this.handleStart,ke.delay);return}if(bt(ke))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:ye}=this,{onStart:ke}=this.props;ye&&(this.activated=!0,this.documentListeners.add(He.Click,Me,{capture:!0}),this.removeTextSelection(),this.documentListeners.add(He.SelectionChange,this.removeTextSelection),ke(ye))}handleMove(ye){var ke;const{activated:Pe,initialCoordinates:et,props:ut}=this,{onMove:St,options:{activationConstraint:nt}}=ut;if(!et)return;const ct=(ke=(0,he.DC)(ye))!=null?ke:E,vt=(0,he.$X)(et,ct);if(!Pe&&nt){if(bt(nt)){if(nt.tolerance!=null&&Je(vt,nt.tolerance))return this.handleCancel();if(Je(vt,nt.distance))return this.handleStart()}return Ut(nt)&&Je(vt,nt.tolerance)?this.handleCancel():void 0}ye.cancelable&&ye.preventDefault(),St(ct)}handleEnd(){const{onEnd:ye}=this.props;this.detach(),ye()}handleCancel(){const{onCancel:ye}=this.props;this.detach(),ye()}handleKeydown(ye){ye.code===Xe.Esc&&this.handleCancel()}removeTextSelection(){var ye;(ye=this.document.getSelection())==null||ye.removeAllRanges()}}const In={move:{name:"pointermove"},end:{name:"pointerup"}};class Tt extends Nt{constructor(ye){const{event:ke}=ye,Pe=(0,he.r3)(ke.target);super(ye,In,Pe)}}Tt.activators=[{eventName:"onPointerDown",handler:(fe,ye)=>{let{nativeEvent:ke}=fe,{onActivation:Pe}=ye;return!ke.isPrimary||ke.button!==0?!1:(Pe==null||Pe({event:ke}),!0)}}];const Kt={move:{name:"mousemove"},end:{name:"mouseup"}};var pt;(function(fe){fe[fe.RightClick=2]="RightClick"})(pt||(pt={}));class En extends Nt{constructor(ye){super(ye,Kt,(0,he.r3)(ye.event.target))}}En.activators=[{eventName:"onMouseDown",handler:(fe,ye)=>{let{nativeEvent:ke}=fe,{onActivation:Pe}=ye;return ke.button===pt.RightClick?!1:(Pe==null||Pe({event:ke}),!0)}}];const Jt={move:{name:"touchmove"},end:{name:"touchend"}};class xn extends Nt{constructor(ye){super(ye,Jt)}static setup(){return window.addEventListener(Jt.move.name,ye,{capture:!1,passive:!1}),function(){window.removeEventListener(Jt.move.name,ye)};function ye(){}}}xn.activators=[{eventName:"onTouchStart",handler:(fe,ye)=>{let{nativeEvent:ke}=fe,{onActivation:Pe}=ye;const{touches:et}=ke;return et.length>1?!1:(Pe==null||Pe({event:ke}),!0)}}];var Aa;(function(fe){fe[fe.Pointer=0]="Pointer",fe[fe.DraggableRect=1]="DraggableRect"})(Aa||(Aa={}));var jn;(function(fe){fe[fe.TreeOrder=0]="TreeOrder",fe[fe.ReversedTreeOrder=1]="ReversedTreeOrder"})(jn||(jn={}));function ua(fe){let{acceleration:ye,activator:ke=Aa.Pointer,canScroll:Pe,draggingRect:et,enabled:ut,interval:St=5,order:nt=jn.TreeOrder,pointerCoordinates:ct,scrollableAncestors:vt,scrollableAncestorRects:hn,delta:Cn,threshold:oa}=fe;const $n=on({delta:Cn,disabled:!ut}),[Ia,xa]=(0,he.Yz)(),Mn=(0,x.useRef)({x:0,y:0}),jt=(0,x.useRef)({x:0,y:0}),Fn=(0,x.useMemo)(()=>{switch(ke){case Aa.Pointer:return ct?{top:ct.y,bottom:ct.y,left:ct.x,right:ct.x}:null;case Aa.DraggableRect:return et}},[ke,et,ct]),Rn=(0,x.useRef)(null),Ca=(0,x.useCallback)(()=>{const Ma=Rn.current;if(!Ma)return;const Ja=Mn.current.x*jt.current.x,Za=Mn.current.y*jt.current.y;Ma.scrollBy(Ja,Za)},[]),Ta=(0,x.useMemo)(()=>nt===jn.TreeOrder?[...vt].reverse():vt,[nt,vt]);(0,x.useEffect)(()=>{if(!ut||!vt.length||!Fn){xa();return}for(const Ma of Ta){if((Pe==null?void 0:Pe(Ma))===!1)continue;const Ja=vt.indexOf(Ma),Za=hn[Ja];if(!Za)continue;const{direction:ma,speed:za}=Ht(Ma,Za,Fn,ye,oa);for(const Na of["x","y"])$n[Na][ma[Na]]||(za[Na]=0,ma[Na]=0);if(za.x>0||za.y>0){xa(),Rn.current=Ma,Ia(Ca,St),Mn.current=za,jt.current=ma;return}}Mn.current={x:0,y:0},jt.current={x:0,y:0},xa()},[ye,Ca,Pe,xa,ut,St,JSON.stringify(Fn),JSON.stringify($n),Ia,vt,Ta,hn,JSON.stringify(oa)])}const La={x:{[zn.Backward]:!1,[zn.Forward]:!1},y:{[zn.Backward]:!1,[zn.Forward]:!1}};function on(fe){let{delta:ye,disabled:ke}=fe;const Pe=(0,he.D9)(ye);return(0,he.Gj)(et=>{if(ke||!Pe||!et)return La;const ut={x:Math.sign(ye.x-Pe.x),y:Math.sign(ye.y-Pe.y)};return{x:{[zn.Backward]:et.x[zn.Backward]||ut.x===-1,[zn.Forward]:et.x[zn.Forward]||ut.x===1},y:{[zn.Backward]:et.y[zn.Backward]||ut.y===-1,[zn.Forward]:et.y[zn.Forward]||ut.y===1}}},[ke,ye,Pe])}function gn(fe,ye){const ke=ye!==null?fe.get(ye):void 0,Pe=ke?ke.node.current:null;return(0,he.Gj)(et=>{var ut;return ye===null?null:(ut=Pe!=null?Pe:et)!=null?ut:null},[Pe,ye])}function Sn(fe,ye){return(0,x.useMemo)(()=>fe.reduce((ke,Pe)=>{const{sensor:et}=Pe,ut=et.activators.map(St=>({eventName:St.eventName,handler:ye(St.handler,Pe)}));return[...ke,...ut]},[]),[fe,ye])}var Fa;(function(fe){fe[fe.Always=0]="Always",fe[fe.BeforeDragging=1]="BeforeDragging",fe[fe.WhileDragging=2]="WhileDragging"})(Fa||(Fa={}));var pa;(function(fe){fe.Optimized="optimized"})(pa||(pa={}));const ra=new Map;function Ga(fe,ye){let{dragging:ke,dependencies:Pe,config:et}=ye;const[ut,St]=(0,x.useState)(null),{frequency:nt,measure:ct,strategy:vt}=et,hn=(0,x.useRef)(fe),Cn=Mn(),oa=(0,he.Ey)(Cn),$n=(0,x.useCallback)(function(jt){jt===void 0&&(jt=[]),!oa.current&&St(Fn=>Fn===null?jt:Fn.concat(jt.filter(Rn=>!Fn.includes(Rn))))},[oa]),Ia=(0,x.useRef)(null),xa=(0,he.Gj)(jt=>{if(Cn&&!ke)return ra;if(!jt||jt===ra||hn.current!==fe||ut!=null){const Fn=new Map;for(let Rn of fe){if(!Rn)continue;if(ut&&ut.length>0&&!ut.includes(Rn.id)&&Rn.rect.current){Fn.set(Rn.id,Rn.rect.current);continue}const Ca=Rn.node.current,Ta=Ca?new Xt(ct(Ca),Ca):null;Rn.rect.current=Ta,Ta&&Fn.set(Rn.id,Ta)}return Fn}return jt},[fe,ut,ke,Cn,ct]);return(0,x.useEffect)(()=>{hn.current=fe},[fe]),(0,x.useEffect)(()=>{Cn||$n()},[ke,Cn]),(0,x.useEffect)(()=>{ut&&ut.length>0&&St(null)},[JSON.stringify(ut)]),(0,x.useEffect)(()=>{Cn||typeof nt!="number"||Ia.current!==null||(Ia.current=setTimeout(()=>{$n(),Ia.current=null},nt))},[nt,Cn,$n,...Pe]),{droppableRects:xa,measureDroppableContainers:$n,measuringScheduled:ut!=null};function Mn(){switch(vt){case Fa.Always:return!1;case Fa.BeforeDragging:return ke;default:return!ke}}}function _a(fe,ye){return(0,he.Gj)(ke=>fe?ke||(typeof ye=="function"?ye(fe):fe):null,[ye,fe])}function Qr(fe,ye){return _a(fe,ye)}function wo(fe){let{callback:ye,disabled:ke}=fe;const Pe=(0,he.zX)(ye),et=(0,x.useMemo)(()=>{if(ke||typeof window=="undefined"||typeof window.MutationObserver=="undefined")return;const{MutationObserver:ut}=window;return new ut(Pe)},[Pe,ke]);return(0,x.useEffect)(()=>()=>et==null?void 0:et.disconnect(),[et]),et}function Ln(fe){let{callback:ye,disabled:ke}=fe;const Pe=(0,he.zX)(ye),et=(0,x.useMemo)(()=>{if(ke||typeof window=="undefined"||typeof window.ResizeObserver=="undefined")return;const{ResizeObserver:ut}=window;return new ut(Pe)},[ke]);return(0,x.useEffect)(()=>()=>et==null?void 0:et.disconnect(),[et]),et}function wt(fe){return new Xt(xt(fe),fe)}function Rt(fe,ye,ke){ye===void 0&&(ye=wt);const[Pe,et]=(0,x.useReducer)(nt,null),ut=wo({callback(ct){if(fe)for(const vt of ct){const{type:hn,target:Cn}=vt;if(hn==="childList"&&Cn instanceof HTMLElement&&Cn.contains(fe)){et();break}}}}),St=Ln({callback:et});return(0,he.LI)(()=>{et(),fe?(St==null||St.observe(fe),ut==null||ut.observe(document.body,{childList:!0,subtree:!0})):(St==null||St.disconnect(),ut==null||ut.disconnect())},[fe]),Pe;function nt(ct){if(!fe)return null;if(fe.isConnected===!1){var vt;return(vt=ct!=null?ct:ke)!=null?vt:null}const hn=ye(fe);return JSON.stringify(ct)===JSON.stringify(hn)?ct:hn}}function Ct(fe){const ye=_a(fe);return Ie(fe,ye)}const qn=[];function Qt(fe){const ye=(0,x.useRef)(fe),ke=(0,he.Gj)(Pe=>fe?Pe&&Pe!==qn&&fe&&ye.current&&fe.parentNode===ye.current.parentNode?Pe:Lt(fe):qn,[fe]);return(0,x.useEffect)(()=>{ye.current=fe},[fe]),ke}function er(fe){const[ye,ke]=(0,x.useState)(null),Pe=(0,x.useRef)(fe),et=(0,x.useCallback)(ut=>{const St=dt(ut.target);St&&ke(nt=>nt?(nt.set(St,Dn(St)),new Map(nt)):null)},[]);return(0,x.useEffect)(()=>{const ut=Pe.current;if(fe!==ut){St(ut);const nt=fe.map(ct=>{const vt=dt(ct);return vt?(vt.addEventListener("scroll",et,{passive:!0}),[vt,Dn(vt)]):null}).filter(ct=>ct!=null);ke(nt.length?new Map(nt):null),Pe.current=fe}return()=>{St(fe),St(ut)};function St(nt){nt.forEach(ct=>{const vt=dt(ct);vt==null||vt.removeEventListener("scroll",et)})}},[et,fe]),(0,x.useMemo)(()=>fe.length?ye?Array.from(ye.values()).reduce((ut,St)=>(0,he.IH)(ut,St),E):wn(fe):E,[fe,ye])}function Zo(fe,ye){ye===void 0&&(ye=[]);const ke=(0,x.useRef)(null);return(0,x.useEffect)(()=>{ke.current=null},ye),(0,x.useEffect)(()=>{const Pe=fe!==E;Pe&&!ke.current&&(ke.current=fe),!Pe&&ke.current&&(ke.current=null)},[fe]),ke.current?(0,he.$X)(fe,ke.current):E}function ao(fe){(0,x.useEffect)(()=>{if(!he.Nq)return;const ye=fe.map(ke=>{let{sensor:Pe}=ke;return Pe.setup==null?void 0:Pe.setup()});return()=>{for(const ke of ye)ke==null||ke()}},fe.map(ye=>{let{sensor:ke}=ye;return ke}))}function rr(fe,ye){return(0,x.useMemo)(()=>fe.reduce((ke,Pe)=>{let{eventName:et,handler:ut}=Pe;return ke[et]=St=>{ut(St,ye)},ke},{}),[fe,ye])}function qr(fe){return(0,x.useMemo)(()=>fe?yn(fe):null,[fe])}const Jo=[];function da(fe,ye){ye===void 0&&(ye=xt);const[ke]=fe,Pe=qr(ke?(0,he.Jj)(ke):null),[et,ut]=(0,x.useReducer)(nt,Jo),St=Ln({callback:ut});return fe.length>0&&et===Jo&&ut(),(0,he.LI)(()=>{fe.length?fe.forEach(ct=>St==null?void 0:St.observe(ct)):(St==null||St.disconnect(),ut())},[fe]),et;function nt(){return fe.length?fe.map(ct=>Dt(ct)?Pe:new Xt(ye(ct),ct)):Jo}}function Vr(fe){if(!fe)return null;if(fe.children.length>1)return fe;const ye=fe.children[0];return(0,he.Re)(ye)?ye:fe}function ft(fe){let{measure:ye}=fe;const[ke,Pe]=(0,x.useState)(null),et=(0,x.useCallback)(vt=>{for(const{target:hn}of vt)if((0,he.Re)(hn)){Pe(Cn=>{const oa=ye(hn);return Cn?Al(Fo({},Cn),{width:oa.width,height:oa.height}):oa});break}},[ye]),ut=Ln({callback:et}),St=(0,x.useCallback)(vt=>{const hn=Vr(vt);ut==null||ut.disconnect(),hn&&(ut==null||ut.observe(hn)),Pe(hn?ye(hn):null)},[ye,ut]),[nt,ct]=(0,he.wm)(St);return(0,x.useMemo)(()=>({nodeRef:nt,rect:ke,setRef:ct}),[ke,nt,ct])}const vn=[{sensor:Tt,options:{}},{sensor:Ye,options:{}}],an={current:{}},mn={draggable:{measure:Gt},droppable:{measure:Gt,strategy:Fa.WhileDragging,frequency:pa.Optimized},dragOverlay:{measure:xt}};class ca extends Map{get(ye){var ke;return ye!=null&&(ke=super.get(ye))!=null?ke:void 0}toArray(){return Array.from(this.values())}getEnabled(){return this.toArray().filter(ye=>{let{disabled:ke}=ye;return!ke})}getNodeFor(ye){var ke,Pe;return(ke=(Pe=this.get(ye))==null?void 0:Pe.node.current)!=null?ke:void 0}}const fn={activatorEvent:null,active:null,activeNode:null,activeNodeRect:null,collisions:null,containerNodeRect:null,draggableNodes:new Map,droppableRects:new Map,droppableContainers:new ca,over:null,dragOverlay:{nodeRef:{current:null},rect:null,setRef:a},scrollableAncestors:[],scrollableAncestorRects:[],measuringConfiguration:mn,measureDroppableContainers:a,windowRect:null,measuringScheduled:!1},la={activatorEvent:null,activators:[],active:null,activeNodeRect:null,ariaDescribedById:{draggable:""},dispatch:a,draggableNodes:new Map,over:null,measureDroppableContainers:a},Tn=(0,x.createContext)(la),Sa=(0,x.createContext)(fn);function Qa(){return{draggable:{active:null,initialCoordinates:{x:0,y:0},nodes:new Map,translate:{x:0,y:0}},droppable:{containers:new ca}}}function Br(fe,ye){switch(ye.type){case ue.DragStart:return Al(Fo({},fe),{draggable:Al(Fo({},fe.draggable),{initialCoordinates:ye.initialCoordinates,active:ye.active})});case ue.DragMove:return fe.draggable.active?Al(Fo({},fe),{draggable:Al(Fo({},fe.draggable),{translate:{x:ye.coordinates.x-fe.draggable.initialCoordinates.x,y:ye.coordinates.y-fe.draggable.initialCoordinates.y}})}):fe;case ue.DragEnd:case ue.DragCancel:return Al(Fo({},fe),{draggable:Al(Fo({},fe.draggable),{active:null,initialCoordinates:{x:0,y:0},translate:{x:0,y:0}})});case ue.RegisterDroppable:{const{element:ke}=ye,{id:Pe}=ke,et=new ca(fe.droppable.containers);return et.set(Pe,ke),Al(Fo({},fe),{droppable:Al(Fo({},fe.droppable),{containers:et})})}case ue.SetDroppableDisabled:{const{id:ke,key:Pe,disabled:et}=ye,ut=fe.droppable.containers.get(ke);if(!ut||Pe!==ut.key)return fe;const St=new ca(fe.droppable.containers);return St.set(ke,Al(Fo({},ut),{disabled:et})),Al(Fo({},fe),{droppable:Al(Fo({},fe.droppable),{containers:St})})}case ue.UnregisterDroppable:{const{id:ke,key:Pe}=ye,et=fe.droppable.containers.get(ke);if(!et||Pe!==et.key)return fe;const ut=new ca(fe.droppable.containers);return ut.delete(ke),Al(Fo({},fe),{droppable:Al(Fo({},fe.droppable),{containers:ut})})}default:return fe}}function no(fe){let{disabled:ye}=fe;const{active:ke,activatorEvent:Pe,draggableNodes:et}=(0,x.useContext)(Tn),ut=(0,he.D9)(Pe),St=(0,he.D9)(ke==null?void 0:ke.id);return(0,x.useEffect)(()=>{if(!ye&&!Pe&&ut&&St!=null){if(!(0,he.vd)(ut)||document.activeElement===ut.target)return;const nt=et.get(St);if(!nt)return;const{activatorNode:ct,node:vt}=nt;if(!ct.current&&!vt.current)return;requestAnimationFrame(()=>{for(const hn of[ct.current,vt.current]){if(!hn)continue;const Cn=(0,he.so)(hn);if(Cn){Cn.focus();break}}})}},[Pe,ye,et,St,ut]),null}function No(fe,ye){let et=ye,{transform:ke}=et,Pe=Wd(et,["transform"]);return fe!=null&&fe.length?fe.reduce((ut,St)=>St(Fo({transform:ut},Pe)),ke):ke}function Hn(fe){return(0,x.useMemo)(()=>({draggable:Fo(Fo({},mn.draggable),fe==null?void 0:fe.draggable),droppable:Fo(Fo({},mn.droppable),fe==null?void 0:fe.droppable),dragOverlay:Fo(Fo({},mn.dragOverlay),fe==null?void 0:fe.dragOverlay)}),[fe==null?void 0:fe.draggable,fe==null?void 0:fe.droppable,fe==null?void 0:fe.dragOverlay])}function Qi(fe){let{activeNode:ye,measure:ke,initialRect:Pe,config:et=!0}=fe;const ut=(0,x.useRef)(!1),{x:St,y:nt}=typeof et=="boolean"?{x:et,y:et}:et;(0,he.LI)(()=>{if(!St&&!nt||!ye){ut.current=!1;return}if(ut.current||!Pe)return;const vt=ye==null?void 0:ye.node.current;if(!vt||vt.isConnected===!1)return;const hn=ke(vt),Cn=Ie(hn,Pe);if(St||(Cn.x=0),nt||(Cn.y=0),ut.current=!0,Math.abs(Cn.x)>0||Math.abs(Cn.y)>0){const oa=zt(vt);oa&&oa.scrollBy({top:Cn.y,left:Cn.x})}},[ye,St,nt,Pe,ke])}const yi=(0,x.createContext)(Al(Fo({},E),{scaleX:1,scaleY:1}));var Yr;(function(fe){fe[fe.Uninitialized=0]="Uninitialized",fe[fe.Initializing=1]="Initializing",fe[fe.Initialized=2]="Initialized"})(Yr||(Yr={}));const Pi=(0,x.memo)(function(ye){var ke,Pe,et,ut;let io=ye,{id:St,accessibility:nt,autoScroll:ct=!0,children:vt,sensors:hn=vn,collisionDetection:Cn=Ce,measuring:oa,modifiers:$n}=io,Ia=Wd(io,["id","accessibility","autoScroll","children","sensors","collisionDetection","measuring","modifiers"]);const xa=(0,x.useReducer)(Br,void 0,Qa),[Mn,jt]=xa,[Fn,Rn]=Le(),[Ca,Ta]=(0,x.useState)(Yr.Uninitialized),Ma=Ca===Yr.Initialized,{draggable:{active:Ja,nodes:Za,translate:ma},droppable:{containers:za}}=Mn,Na=Ja?Za.get(Ja):null,cr=(0,x.useRef)({initial:null,translated:null}),br=(0,x.useMemo)(()=>{var qo;return Ja!=null?{id:Ja,data:(qo=Na==null?void 0:Na.data)!=null?qo:an,rect:cr}:null},[Ja,Na]),oo=(0,x.useRef)(null),[zo,ai]=(0,x.useState)(null),[ya,ri]=(0,x.useState)(null),Ji=(0,he.Ey)(Ia,Object.values(Ia)),Kl=(0,he.Ld)("DndDescribedBy",St),mu=(0,x.useMemo)(()=>za.getEnabled(),[za]),Ll=Hn(oa),{droppableRects:sl,measureDroppableContainers:Ti,measuringScheduled:Cu}=Ga(mu,{dragging:Ma,dependencies:[ma.x,ma.y],config:Ll.droppable}),Cl=gn(Za,Ja),bu=(0,x.useMemo)(()=>ya?(0,he.DC)(ya):null,[ya]),ln=to(),Vt=Qr(Cl,Ll.draggable.measure);Qi({activeNode:Ja?Za.get(Ja):null,config:ln.layoutShiftCompensation,initialRect:Vt,measure:Ll.draggable.measure});const _t=Rt(Cl,Ll.draggable.measure,Vt),ka=Rt(Cl?Cl.parentElement:null),Mr=(0,x.useRef)({activatorEvent:null,active:null,activeNode:Cl,collisionRect:null,collisions:null,droppableRects:sl,draggableNodes:Za,draggingNode:null,draggingNodeRect:null,droppableContainers:za,over:null,scrollableAncestors:[],scrollAdjustedTranslate:null}),Wa=za.getNodeFor((ke=Mr.current.over)==null?void 0:ke.id),Qn=ft({measure:Ll.dragOverlay.measure}),mr=(Pe=Qn.nodeRef.current)!=null?Pe:Cl,kn=Ma?(et=Qn.rect)!=null?et:_t:null,na=!!(Qn.nodeRef.current&&Qn.rect),hr=Ct(na?null:_t),Do=qr(mr?(0,he.Jj)(mr):null),sr=Qt(Ma?Wa!=null?Wa:Cl:null),Hi=da(sr),$o=No($n,{transform:{x:ma.x-hr.x,y:ma.y-hr.y,scaleX:1,scaleY:1},activatorEvent:ya,active:br,activeNodeRect:_t,containerNodeRect:ka,draggingNodeRect:kn,over:Mr.current.over,overlayNodeRect:Qn.rect,scrollableAncestors:sr,scrollableAncestorRects:Hi,windowRect:Do}),wr=bu?(0,he.IH)(bu,ma):null,oi=er(sr),ba=Zo(oi),sa=Zo(oi,[_t]),mo=(0,he.IH)($o,ba),nl=kn?Ge(kn,$o):null,Ua=br&&nl?Cn({active:br,collisionRect:nl,droppableRects:sl,droppableContainers:mu,pointerCoordinates:wr}):null,Oa=de(Ua,"id"),[Wo,Fl]=(0,x.useState)(null),ia=na?$o:(0,he.IH)($o,sa),Da=at(ia,(ut=Wo==null?void 0:Wo.rect)!=null?ut:null,_t),Xa=(0,x.useCallback)((qo,Jr)=>{let{sensor:li,options:ir}=Jr;if(oo.current==null)return;const Ro=Za.get(oo.current);if(!Ro)return;const Oi=qo.nativeEvent,Fi=new li({active:oo.current,activeNode:Ro,event:Oi,options:ir,context:Mr,onStart(Pa){const Nr=oo.current;if(Nr==null)return;const va=Za.get(Nr);if(!va)return;const{onDragStart:nr}=Ji.current,xo={active:{id:Nr,data:va.data,rect:cr}};(0,ge.unstable_batchedUpdates)(()=>{nr==null||nr(xo),Ta(Yr.Initializing),jt({type:ue.DragStart,initialCoordinates:Pa,active:Nr}),Fn({type:"onDragStart",event:xo})})},onMove(Pa){jt({type:ue.DragMove,coordinates:Pa})},onEnd:Gn(ue.DragEnd),onCancel:Gn(ue.DragCancel)});(0,ge.unstable_batchedUpdates)(()=>{ai(Fi),ri(qo.nativeEvent)});function Gn(Pa){return function(){return cc(this,null,function*(){const{active:va,collisions:nr,over:xo,scrollAdjustedTranslate:lo}=Mr.current;let Ei=null;if(va&&lo){const{cancelDrop:Oe}=Ji.current;Ei={activatorEvent:Oi,active:va,collisions:nr,delta:lo,over:xo},Pa===ue.DragEnd&&typeof Oe=="function"&&(yield Promise.resolve(Oe(Ei)))&&(Pa=ue.DragCancel)}oo.current=null,(0,ge.unstable_batchedUpdates)(()=>{jt({type:Pa}),Ta(Yr.Uninitialized),Fl(null),ai(null),ri(null);const Oe=Pa===ue.DragEnd?"onDragEnd":"onDragCancel";if(Ei){const qe=Ji.current[Oe];qe==null||qe(Ei),Fn({type:Oe,event:Ei})}})})}}},[Za]),Nn=(0,x.useCallback)((qo,Jr)=>(li,ir)=>{const Ro=li.nativeEvent,Oi=Za.get(ir);if(oo.current!==null||!Oi||Ro.dndKit||Ro.defaultPrevented)return;const Fi={active:Oi};qo(li,Jr.options,Fi)===!0&&(Ro.dndKit={capturedBy:Jr.sensor},oo.current=ir,Xa(li,Jr))},[Za,Xa]),ja=Sn(hn,Nn);ao(hn),(0,he.LI)(()=>{_t&&Ca===Yr.Initializing&&Ta(Yr.Initialized)},[_t,Ca]),(0,x.useEffect)(()=>{const{onDragMove:qo}=Ji.current,{active:Jr,activatorEvent:li,collisions:ir,over:Ro}=Mr.current;if(!Jr||!li)return;const Oi={active:Jr,activatorEvent:li,collisions:ir,delta:{x:mo.x,y:mo.y},over:Ro};(0,ge.unstable_batchedUpdates)(()=>{qo==null||qo(Oi),Fn({type:"onDragMove",event:Oi})})},[mo.x,mo.y]),(0,x.useEffect)(()=>{const{active:qo,activatorEvent:Jr,collisions:li,droppableContainers:ir,scrollAdjustedTranslate:Ro}=Mr.current;if(!qo||oo.current==null||!Jr||!Ro)return;const{onDragOver:Oi}=Ji.current,Fi=ir.get(Oa),Gn=Fi&&Fi.rect.current?{id:Fi.id,rect:Fi.rect.current,data:Fi.data,disabled:Fi.disabled}:null,Pa={active:qo,activatorEvent:Jr,collisions:li,delta:{x:Ro.x,y:Ro.y},over:Gn};(0,ge.unstable_batchedUpdates)(()=>{Fl(Gn),Oi==null||Oi(Pa),Fn({type:"onDragOver",event:Pa})})},[Oa]),(0,he.LI)(()=>{Mr.current={activatorEvent:ya,active:br,activeNode:Cl,collisionRect:nl,collisions:Ua,droppableRects:sl,draggableNodes:Za,draggingNode:mr,draggingNodeRect:kn,droppableContainers:za,over:Wo,scrollableAncestors:sr,scrollAdjustedTranslate:mo},cr.current={initial:kn,translated:nl}},[br,Cl,Ua,nl,Za,mr,kn,sl,za,Wo,sr,mo]),ua(Al(Fo({},ln),{delta:ma,draggingRect:nl,pointerCoordinates:wr,scrollableAncestors:sr,scrollableAncestorRects:Hi}));const Wn=(0,x.useMemo)(()=>({active:br,activeNode:Cl,activeNodeRect:_t,activatorEvent:ya,collisions:Ua,containerNodeRect:ka,dragOverlay:Qn,draggableNodes:Za,droppableContainers:za,droppableRects:sl,over:Wo,measureDroppableContainers:Ti,scrollableAncestors:sr,scrollableAncestorRects:Hi,measuringConfiguration:Ll,measuringScheduled:Cu,windowRect:Do}),[br,Cl,_t,ya,Ua,ka,Qn,Za,za,sl,Wo,Ti,sr,Hi,Ll,Cu,Do]),Bo=(0,x.useMemo)(()=>({activatorEvent:ya,activators:ja,active:br,activeNodeRect:_t,ariaDescribedById:{draggable:Kl},dispatch:jt,draggableNodes:Za,over:Wo,measureDroppableContainers:Ti}),[ya,ja,br,_t,jt,Kl,Za,Wo,Ti]);return x.createElement(je.Provider,{value:Rn},x.createElement(Tn.Provider,{value:Bo},x.createElement(Sa.Provider,{value:Wn},x.createElement(yi.Provider,{value:Da},vt)),x.createElement(no,{disabled:(nt==null?void 0:nt.restoreFocus)===!1})),x.createElement(ve,Al(Fo({},nt),{hiddenTextDescribedById:Kl})));function to(){const qo=(zo==null?void 0:zo.autoScrollEnabled)===!1,Jr=typeof ct=="object"?ct.enabled===!1:ct===!1,li=Ma&&!qo&&!Jr;return typeof ct=="object"?Al(Fo({},ct),{enabled:li}):{enabled:li}}}),ha=(0,x.createContext)(null),tr="button",xr="Droppable";function fa(fe){let{id:ye,data:ke,disabled:Pe=!1,attributes:et}=fe;const ut=(0,he.Ld)(xr),{activators:St,activatorEvent:nt,active:ct,activeNodeRect:vt,ariaDescribedById:hn,draggableNodes:Cn,over:oa}=(0,x.useContext)(Tn),{role:$n=tr,roleDescription:Ia="draggable",tabIndex:xa=0}=et!=null?et:{},Mn=(ct==null?void 0:ct.id)===ye,jt=(0,x.useContext)(Mn?yi:ha),[Fn,Rn]=(0,he.wm)(),[Ca,Ta]=(0,he.wm)(),Ma=rr(St,ye),Ja=(0,he.Ey)(ke);(0,he.LI)(()=>(Cn.set(ye,{id:ye,key:ut,node:Fn,activatorNode:Ca,data:Ja}),()=>{const ma=Cn.get(ye);ma&&ma.key===ut&&Cn.delete(ye)}),[Cn,ye]);const Za=(0,x.useMemo)(()=>({role:$n,tabIndex:xa,"aria-disabled":Pe,"aria-pressed":Mn&&$n===tr?!0:void 0,"aria-roledescription":Ia,"aria-describedby":hn.draggable}),[Pe,$n,xa,Mn,Ia,hn.draggable]);return{active:ct,activatorEvent:nt,activeNodeRect:vt,attributes:Za,isDragging:Mn,listeners:Pe?void 0:Ma,node:Fn,over:oa,setNodeRef:Rn,setActivatorNodeRef:Ta,transform:jt}}function eo(){return(0,x.useContext)(Sa)}const Oo="Droppable",Ni={timeout:25};function fi(fe){let{data:ye,disabled:ke=!1,id:Pe,resizeObserverConfig:et}=fe;const ut=(0,he.Ld)(Oo),{active:St,dispatch:nt,over:ct,measureDroppableContainers:vt}=(0,x.useContext)(Tn),hn=(0,x.useRef)({disabled:ke}),Cn=(0,x.useRef)(!1),oa=(0,x.useRef)(null),$n=(0,x.useRef)(null),{disabled:Ia,updateMeasurementsFor:xa,timeout:Mn}=Fo(Fo({},Ni),et),jt=(0,he.Ey)(xa!=null?xa:Pe),Fn=(0,x.useCallback)(()=>{if(!Cn.current){Cn.current=!0;return}$n.current!=null&&clearTimeout($n.current),$n.current=setTimeout(()=>{vt(Array.isArray(jt.current)?jt.current:[jt.current]),$n.current=null},Mn)},[Mn]),Rn=Ln({callback:Fn,disabled:Ia||!St}),Ca=(0,x.useCallback)((Za,ma)=>{Rn&&(ma&&(Rn.unobserve(ma),Cn.current=!1),Za&&Rn.observe(Za))},[Rn]),[Ta,Ma]=(0,he.wm)(Ca),Ja=(0,he.Ey)(ye);return(0,x.useEffect)(()=>{!Rn||!Ta.current||(Rn.disconnect(),Cn.current=!1,Rn.observe(Ta.current))},[Ta,Rn]),(0,he.LI)(()=>(nt({type:ue.RegisterDroppable,element:{id:Pe,key:ut,disabled:ke,node:Ta,rect:oa,data:Ja}}),()=>nt({type:ue.UnregisterDroppable,key:ut,id:Pe})),[Pe]),(0,x.useEffect)(()=>{ke!==hn.current.disabled&&(nt({type:ue.SetDroppableDisabled,id:Pe,key:ut,disabled:ke}),hn.current.disabled=ke)},[Pe,ut,ke,nt]),{active:St,rect:oa,isOver:(ct==null?void 0:ct.id)===Pe,node:Ta,over:ct,setNodeRef:Ma}}function Ii(fe){let{animation:ye,children:ke}=fe;const[Pe,et]=useState(null),[ut,St]=useState(null),nt=usePrevious(ke);return!ke&&!Pe&&nt&&et(nt),useIsomorphicLayoutEffect(()=>{if(!ut)return;const ct=Pe==null?void 0:Pe.key,vt=Pe==null?void 0:Pe.props.id;if(ct==null||vt==null){et(null);return}Promise.resolve(ye(vt,ut)).then(()=>{et(null)})},[ye,Pe,ut]),React.createElement(React.Fragment,null,ke,Pe?cloneElement(Pe,{ref:St}):null)}const Ol={x:0,y:0,scaleX:1,scaleY:1};function tl(fe){let{children:ye}=fe;return React.createElement(Tn.Provider,{value:la},React.createElement(yi.Provider,{value:Ol},ye))}const fu={position:"fixed",touchAction:"none"},ga=fe=>isKeyboardEvent(fe)?"transform 250ms ease":void 0,lr=null,ul={duration:250,easing:"ease",keyframes:fe=>{let{transform:{initial:ye,final:ke}}=fe;return[{transform:he.ux.Transform.toString(ye)},{transform:he.ux.Transform.toString(ke)}]},sideEffects:(fe=>ye=>{let{active:ke,dragOverlay:Pe}=ye;const et={},{styles:ut,className:St}=fe;if(ut!=null&&ut.active)for(const[nt,ct]of Object.entries(ut.active))ct!==void 0&&(et[nt]=ke.node.style.getPropertyValue(nt),ke.node.style.setProperty(nt,ct));if(ut!=null&&ut.dragOverlay)for(const[nt,ct]of Object.entries(ut.dragOverlay))ct!==void 0&&Pe.node.style.setProperty(nt,ct);return St!=null&&St.active&&ke.node.classList.add(St.active),St!=null&&St.dragOverlay&&Pe.node.classList.add(St.dragOverlay),function(){for(const[ct,vt]of Object.entries(et))ke.node.style.setProperty(ct,vt);St!=null&&St.active&&ke.node.classList.remove(St.active)}})({styles:{active:{opacity:"0"}}})};function kl(fe){let{config:ye,draggableNodes:ke,droppableContainers:Pe,measuringConfiguration:et}=fe;return useEvent((ut,St)=>{if(ye===null)return;const nt=ke.get(ut);if(!nt)return;const ct=nt.node.current;if(!ct)return;const vt=Vr(St);if(!vt)return;const{transform:hn}=getWindow(St).getComputedStyle(St),Cn=Ve(hn);if(!Cn)return;const oa=typeof ye=="function"?ye:vl(ye);return Bn(ct,et.draggable.measure),oa({active:{id:ut,data:nt.data,node:ct,rect:et.draggable.measure(ct)},draggableNodes:ke,dragOverlay:{node:St,rect:et.dragOverlay.measure(vt)},droppableContainers:Pe,measuringConfiguration:et,transform:Cn})})}function vl(fe){const{duration:ye,easing:ke,sideEffects:Pe,keyframes:et}=Fo(Fo({},ul),fe);return ut=>{let Fn=ut,{active:St,dragOverlay:nt,transform:ct}=Fn,vt=Wd(Fn,["active","dragOverlay","transform"]);if(!ye)return;const hn={x:nt.rect.left-St.rect.left,y:nt.rect.top-St.rect.top},Cn={scaleX:ct.scaleX!==1?St.rect.width*ct.scaleX/nt.rect.width:1,scaleY:ct.scaleY!==1?St.rect.height*ct.scaleY/nt.rect.height:1},oa=Fo({x:ct.x-hn.x,y:ct.y-hn.y},Cn),$n=et(Al(Fo({},vt),{active:St,dragOverlay:nt,transform:{initial:ct,final:oa}})),[Ia]=$n,xa=$n[$n.length-1];if(JSON.stringify(Ia)===JSON.stringify(xa))return;const Mn=Pe==null?void 0:Pe(Fo({active:St,dragOverlay:nt},vt)),jt=nt.node.animate($n,{duration:ye,easing:ke,fill:"forwards"});return new Promise(Rn=>{jt.onfinish=()=>{Mn==null||Mn(),Rn()}})}}let hl=0;function ru(fe){return useMemo(()=>{if(fe!=null)return hl++,hl},[fe])}const Po=null},32339:function(mt,st,z){"use strict";z.d(st,{DL:function(){return se}});var x=z(24285);function ge(Le){return Ke=>{let{transform:De}=Ke;return Al(Fo({},De),{x:Math.ceil(De.x/Le)*Le,y:Math.ceil(De.y/Le)*Le})}}const he=Le=>{let{transform:Ke}=Le;return Al(Fo({},Ke),{y:0})};function Fe(Le,Ke,De){const ve=Fo({},Le);return Ke.top+Le.y<=De.top?ve.y=De.top-Ke.top:Ke.bottom+Le.y>=De.top+De.height&&(ve.y=De.top+De.height-Ke.bottom),Ke.left+Le.x<=De.left?ve.x=De.left-Ke.left:Ke.right+Le.x>=De.left+De.width&&(ve.x=De.left+De.width-Ke.right),ve}const we=Le=>{let{containerNodeRect:Ke,draggingNodeRect:De,transform:ve}=Le;return!De||!Ke?ve:Fe(ve,De,Ke)},ze=Le=>{let{draggingNodeRect:Ke,transform:De,scrollableAncestorRects:ve}=Le;const ue=ve[0];return!Ke||!ue?De:Fe(De,Ke,ue)},se=Le=>{let{transform:Ke}=Le;return Al(Fo({},Ke),{x:0})},je=Le=>{let{transform:Ke,draggingNodeRect:De,windowRect:ve}=Le;return!De||!ve?Ke:Fe(Ke,De,ve)},Te=Le=>{let{activatorEvent:Ke,draggingNodeRect:De,transform:ve}=Le;if(De&&Ke){const ue=getEventCoordinates(Ke);if(!ue)return ve;const a=ue.x-De.left,y=ue.y-De.top;return Al(Fo({},ve),{x:ve.x+a-De.width/2,y:ve.y+y-De.height/2})}return ve}},45587:function(mt,st,z){"use strict";z.d(st,{Fo:function(){return te},Rp:function(){return Fe},nB:function(){return xe},qw:function(){return y}});var x=z(67294),ge=z(60887),he=z(24285);function Fe(Ge,Ve,rt){const gt=Ge.slice();return gt.splice(rt<0?gt.length+rt:rt,0,gt.splice(Ve,1)[0]),gt}function we(Ge,Ve,rt){const gt=Ge.slice();return gt[Ve]=Ge[rt],gt[rt]=Ge[Ve],gt}function ze(Ge,Ve){return Ge.reduce((rt,gt,xt)=>{const Gt=Ve.get(gt);return Gt&&(rt[xt]=Gt),rt},Array(Ge.length))}function se(Ge){return Ge!==null&&Ge>=0}function je(Ge,Ve){if(Ge===Ve)return!0;if(Ge.length!==Ve.length)return!1;for(let rt=0;rt<Ge.length;rt++)if(Ge[rt]!==Ve[rt])return!1;return!0}function Te(Ge){return typeof Ge=="boolean"?{draggable:Ge,droppable:Ge}:Ge}const Le={scaleX:1,scaleY:1},Ke=Ge=>{var Ve;let{rects:rt,activeNodeRect:gt,activeIndex:xt,overIndex:Gt,index:yn}=Ge;const lt=(Ve=rt[xt])!=null?Ve:gt;if(!lt)return null;const ht=De(rt,yn,xt);if(yn===xt){const Lt=rt[Gt];return Lt?Fo({x:xt<Gt?Lt.left+Lt.width-(lt.left+lt.width):Lt.left-lt.left,y:0},Le):null}return yn>xt&&yn<=Gt?Fo({x:-lt.width-ht,y:0},Le):yn<xt&&yn>=Gt?Fo({x:lt.width+ht,y:0},Le):Fo({x:0,y:0},Le)};function De(Ge,Ve,rt){const gt=Ge[Ve],xt=Ge[Ve-1],Gt=Ge[Ve+1];return!gt||!xt&&!Gt?0:rt<Ve?xt?gt.left-(xt.left+xt.width):Gt.left-(gt.left+gt.width):Gt?Gt.left-(gt.left+gt.width):gt.left-(xt.left+xt.width)}const ve=Ge=>{let{rects:Ve,activeIndex:rt,overIndex:gt,index:xt}=Ge;const Gt=Fe(Ve,gt,rt),yn=Ve[xt],lt=Gt[xt];return!lt||!yn?null:{x:lt.left-yn.left,y:lt.top-yn.top,scaleX:lt.width/yn.width,scaleY:lt.height/yn.height}},ue=Ge=>{let{activeIndex:Ve,index:rt,rects:gt,overIndex:xt}=Ge,Gt,yn;return rt===Ve&&(Gt=gt[rt],yn=gt[xt]),rt===xt&&(Gt=gt[rt],yn=gt[Ve]),!yn||!Gt?null:{x:yn.left-Gt.left,y:yn.top-Gt.top,scaleX:yn.width/Gt.width,scaleY:yn.height/Gt.height}},a={scaleX:1,scaleY:1},y=Ge=>{var Ve;let{activeIndex:rt,activeNodeRect:gt,index:xt,rects:Gt,overIndex:yn}=Ge;const lt=(Ve=Gt[rt])!=null?Ve:gt;if(!lt)return null;if(xt===rt){const Lt=Gt[yn];return Lt?Fo({x:0,y:rt<yn?Lt.top+Lt.height-(lt.top+lt.height):Lt.top-lt.top},a):null}const ht=b(Gt,xt,rt);return xt>rt&&xt<=yn?Fo({x:0,y:-lt.height-ht},a):xt<rt&&xt>=yn?Fo({x:0,y:lt.height+ht},a):Fo({x:0,y:0},a)};function b(Ge,Ve,rt){const gt=Ge[Ve],xt=Ge[Ve-1],Gt=Ge[Ve+1];return gt?rt<Ve?xt?gt.top-(xt.top+xt.height):Gt?Gt.top-(gt.top+gt.height):0:Gt?Gt.top-(gt.top+gt.height):xt?gt.top-(xt.top+xt.height):0:0}const E="Sortable",ee=x.createContext({activeIndex:-1,containerId:E,disableTransforms:!1,items:[],overIndex:-1,useDragOverlay:!1,sortedRects:[],strategy:ve,disabled:{draggable:!1,droppable:!1}});function te(Ge){let{children:Ve,id:rt,items:gt,strategy:xt=ve,disabled:Gt=!1}=Ge;const{active:yn,dragOverlay:lt,droppableRects:ht,over:Lt,measureDroppableContainers:zt}=(0,ge.Cj)(),dt=(0,he.Ld)(E,rt),kt=lt.rect!==null,Ze=(0,x.useMemo)(()=>gt.map(dn=>typeof dn=="object"&&"id"in dn?dn.id:dn),[gt]),Dn=yn!=null,zn=yn?Ze.indexOf(yn.id):-1,Dt=Lt?Ze.indexOf(Lt.id):-1,rn=(0,x.useRef)(Ze),en=!je(Ze,rn.current),Ht=Dt!==-1&&zn===-1||en,Et=Te(Gt);(0,he.LI)(()=>{en&&Dn&&zt(Ze)},[en,Ze,Dn,zt]),(0,x.useEffect)(()=>{rn.current=Ze},[Ze]);const wn=(0,x.useMemo)(()=>({activeIndex:zn,containerId:dt,disabled:Et,disableTransforms:Ht,items:Ze,overIndex:Dt,useDragOverlay:kt,sortedRects:ze(Ze,ht),strategy:xt}),[zn,dt,Et.draggable,Et.droppable,Ht,Ze,Dt,ht,kt,xt]);return x.createElement(ee.Provider,{value:wn},Ve)}const re=Ge=>{let{id:Ve,items:rt,activeIndex:gt,overIndex:xt}=Ge;return Fe(rt,gt,xt).indexOf(Ve)},oe=Ge=>{let{containerId:Ve,isSorting:rt,wasDragging:gt,index:xt,items:Gt,newIndex:yn,previousItems:lt,previousContainerId:ht,transition:Lt}=Ge;return!Lt||!gt||lt!==Gt&&xt===yn?!1:rt?!0:yn!==xt&&Ve===ht},ne={duration:200,easing:"ease"},de="transform",pe=he.ux.Transition.toString({property:de,duration:0,easing:"linear"}),Ee={roleDescription:"sortable"};function be(Ge){let{disabled:Ve,index:rt,node:gt,rect:xt}=Ge;const[Gt,yn]=(0,x.useState)(null),lt=(0,x.useRef)(rt);return(0,he.LI)(()=>{if(!Ve&&rt!==lt.current&>.current){const ht=xt.current;if(ht){const Lt=(0,ge.VK)(gt.current,{ignoreTransform:!0}),zt={x:ht.left-Lt.left,y:ht.top-Lt.top,scaleX:ht.width/Lt.width,scaleY:ht.height/Lt.height};(zt.x||zt.y)&&yn(zt)}}rt!==lt.current&&(lt.current=rt)},[Ve,rt,gt,xt]),(0,x.useEffect)(()=>{Gt&&yn(null)},[Gt]),Gt}function xe(Ge){let{animateLayoutChanges:Ve=oe,attributes:rt,disabled:gt,data:xt,getNewIndex:Gt=re,id:yn,strategy:lt,resizeObserverConfig:ht,transition:Lt=ne}=Ge;const{items:zt,containerId:dt,activeIndex:kt,disabled:Ze,disableTransforms:Dn,sortedRects:zn,overIndex:Dt,useDragOverlay:rn,strategy:en}=(0,x.useContext)(ee),Ht=Ce(gt,Ze),Et=zt.indexOf(yn),wn=(0,x.useMemo)(()=>Fo({sortable:{containerId:dt,index:Et,items:zt}},xt),[dt,xt,Et,zt]),dn=(0,x.useMemo)(()=>zt.slice(zt.indexOf(yn)),[zt,yn]),{rect:Bt,node:Bn,isOver:Yt,setNodeRef:Xt}=(0,ge.Zj)({id:yn,data:wn,disabled:Ht.droppable,resizeObserverConfig:Fo({updateMeasurementsFor:dn},ht)}),{active:On,activatorEvent:bn,activeNodeRect:Je,attributes:He,setNodeRef:Xn,listeners:Me,isDragging:Xe,over:Zt,setActivatorNodeRef:ot,transform:Ye}=(0,ge.O1)({id:yn,data:wn,attributes:Fo(Fo({},Ee),rt),disabled:Ht.draggable}),bt=(0,he.HB)(Xt,Xn),Ut=!!On,Nt=Ut&&!Dn&&se(kt)&&se(Dt),In=!rn&&Xe,Tt=In&&Nt?Ye:null,Kt=lt!=null?lt:en,pt=Nt?Tt!=null?Tt:Kt({rects:zn,activeNodeRect:Je,activeIndex:kt,overIndex:Dt,index:Et}):null,En=se(kt)&&se(Dt)?Gt({id:yn,items:zt,activeIndex:kt,overIndex:Dt}):Et,Jt=On==null?void 0:On.id,xn=(0,x.useRef)({activeId:Jt,items:zt,newIndex:En,containerId:dt}),Aa=zt!==xn.current.items,jn=Ve({active:On,containerId:dt,isDragging:Xe,isSorting:Ut,id:yn,index:Et,items:zt,newIndex:xn.current.newIndex,previousItems:xn.current.items,previousContainerId:xn.current.containerId,transition:Lt,wasDragging:xn.current.activeId!=null}),ua=be({disabled:!jn,index:Et,node:Bn,rect:Bt});return(0,x.useEffect)(()=>{Ut&&xn.current.newIndex!==En&&(xn.current.newIndex=En),dt!==xn.current.containerId&&(xn.current.containerId=dt),zt!==xn.current.items&&(xn.current.items=zt)},[Ut,En,dt,zt]),(0,x.useEffect)(()=>{if(Jt===xn.current.activeId)return;if(Jt&&!xn.current.activeId){xn.current.activeId=Jt;return}const on=setTimeout(()=>{xn.current.activeId=Jt},50);return()=>clearTimeout(on)},[Jt]),{active:On,activeIndex:kt,attributes:He,data:wn,rect:Bt,index:Et,newIndex:En,items:zt,isOver:Yt,isSorting:Ut,isDragging:Xe,listeners:Me,node:Bn,overIndex:Dt,over:Zt,setNodeRef:bt,setActivatorNodeRef:ot,setDroppableNodeRef:Xt,setDraggableNodeRef:Xn,transform:ua!=null?ua:pt,transition:La()};function La(){if(ua||Aa&&xn.current.newIndex===Et)return pe;if(!(In&&!(0,he.vd)(bn)||!Lt)&&(Ut||jn))return he.ux.Transition.toString(Al(Fo({},Lt),{property:de}))}}function Ce(Ge,Ve){var rt,gt;return typeof Ge=="boolean"?{draggable:Ge,droppable:!1}:{draggable:(rt=Ge==null?void 0:Ge.draggable)!=null?rt:Ve.draggable,droppable:(gt=Ge==null?void 0:Ge.droppable)!=null?gt:Ve.droppable}}function Ne(Ge){if(!Ge)return!1;const Ve=Ge.data.current;return!!(Ve&&"sortable"in Ve&&typeof Ve.sortable=="object"&&"containerId"in Ve.sortable&&"items"in Ve.sortable&&"index"in Ve.sortable)}const Re=[ge.g4.Down,ge.g4.Right,ge.g4.Up,ge.g4.Left],at=(Ge,Ve)=>{let{context:{active:rt,collisionRect:gt,droppableRects:xt,droppableContainers:Gt,over:yn,scrollableAncestors:lt}}=Ve;if(Re.includes(Ge.code)){if(Ge.preventDefault(),!rt||!gt)return;const ht=[];Gt.getEnabled().forEach(dt=>{if(!dt||dt!=null&&dt.disabled)return;const kt=xt.get(dt.id);if(kt)switch(Ge.code){case KeyboardCode.Down:gt.top<kt.top&&ht.push(dt);break;case KeyboardCode.Up:gt.top>kt.top&&ht.push(dt);break;case KeyboardCode.Left:gt.left>kt.left&&ht.push(dt);break;case KeyboardCode.Right:gt.left<kt.left&&ht.push(dt);break}});const Lt=closestCorners({active:rt,collisionRect:gt,droppableRects:xt,droppableContainers:ht,pointerCoordinates:null});let zt=getFirstCollision(Lt,"id");if(zt===(yn==null?void 0:yn.id)&&Lt.length>1&&(zt=Lt[1].id),zt!=null){const dt=Gt.get(rt.id),kt=Gt.get(zt),Ze=kt?xt.get(kt.id):null,Dn=kt==null?void 0:kt.node.current;if(Dn&&Ze&&dt&&kt){const Dt=getScrollableAncestors(Dn).some((dn,Bt)=>lt[Bt]!==dn),rn=Ie(dt,kt),en=Ue(dt,kt),Ht=Dt||!rn?{x:0,y:0}:{x:en?gt.width-Ze.width:0,y:en?gt.height-Ze.height:0},Et={x:Ze.left,y:Ze.top};return Ht.x&&Ht.y?Et:subtract(Et,Ht)}}}};function Ie(Ge,Ve){return!Ne(Ge)||!Ne(Ve)?!1:Ge.data.current.sortable.containerId===Ve.data.current.sortable.containerId}function Ue(Ge,Ve){return!Ne(Ge)||!Ne(Ve)||!Ie(Ge,Ve)?!1:Ge.data.current.sortable.index<Ve.data.current.sortable.index}},24285:function(mt,st,z){"use strict";z.d(st,{$X:function(){return oe},D9:function(){return b},DC:function(){return Ee},Ey:function(){return ue},FJ:function(){return Fe},Gj:function(){return a},HB:function(){return ge},IH:function(){return re},Jj:function(){return ze},LI:function(){return Ke},Ld:function(){return ee},Nq:function(){return he},Re:function(){return je},UG:function(){return we},Yz:function(){return ve},qk:function(){return se},r3:function(){return Le},so:function(){return Ce},ux:function(){return be},vZ:function(){return Te},vd:function(){return de},wm:function(){return y},zX:function(){return De}});var x=z(67294);function ge(){for(var Ne=arguments.length,Re=new Array(Ne),at=0;at<Ne;at++)Re[at]=arguments[at];return(0,x.useMemo)(()=>Ie=>{Re.forEach(Ue=>Ue(Ie))},Re)}const he=typeof window!="undefined"&&typeof window.document!="undefined"&&typeof window.document.createElement!="undefined";function Fe(Ne){const Re=Object.prototype.toString.call(Ne);return Re==="[object Window]"||Re==="[object global]"}function we(Ne){return"nodeType"in Ne}function ze(Ne){var Re,at;return Ne?Fe(Ne)?Ne:we(Ne)&&(Re=(at=Ne.ownerDocument)==null?void 0:at.defaultView)!=null?Re:window:window}function se(Ne){const{Document:Re}=ze(Ne);return Ne instanceof Re}function je(Ne){return Fe(Ne)?!1:Ne instanceof ze(Ne).HTMLElement}function Te(Ne){return Ne instanceof ze(Ne).SVGElement}function Le(Ne){return Ne?Fe(Ne)?Ne.document:we(Ne)?se(Ne)?Ne:je(Ne)||Te(Ne)?Ne.ownerDocument:document:document:document}const Ke=he?x.useLayoutEffect:x.useEffect;function De(Ne){const Re=(0,x.useRef)(Ne);return Ke(()=>{Re.current=Ne}),(0,x.useCallback)(function(){for(var at=arguments.length,Ie=new Array(at),Ue=0;Ue<at;Ue++)Ie[Ue]=arguments[Ue];return Re.current==null?void 0:Re.current(...Ie)},[])}function ve(){const Ne=(0,x.useRef)(null),Re=(0,x.useCallback)((Ie,Ue)=>{Ne.current=setInterval(Ie,Ue)},[]),at=(0,x.useCallback)(()=>{Ne.current!==null&&(clearInterval(Ne.current),Ne.current=null)},[]);return[Re,at]}function ue(Ne,Re){Re===void 0&&(Re=[Ne]);const at=(0,x.useRef)(Ne);return Ke(()=>{at.current!==Ne&&(at.current=Ne)},Re),at}function a(Ne,Re){const at=(0,x.useRef)();return(0,x.useMemo)(()=>{const Ie=Ne(at.current);return at.current=Ie,Ie},[...Re])}function y(Ne){const Re=De(Ne),at=(0,x.useRef)(null),Ie=(0,x.useCallback)(Ue=>{Ue!==at.current&&(Re==null||Re(Ue,at.current)),at.current=Ue},[]);return[at,Ie]}function b(Ne){const Re=(0,x.useRef)();return(0,x.useEffect)(()=>{Re.current=Ne},[Ne]),Re.current}let E={};function ee(Ne,Re){return(0,x.useMemo)(()=>{if(Re)return Re;const at=E[Ne]==null?0:E[Ne]+1;return E[Ne]=at,Ne+"-"+at},[Ne,Re])}function te(Ne){return function(Re){for(var at=arguments.length,Ie=new Array(at>1?at-1:0),Ue=1;Ue<at;Ue++)Ie[Ue-1]=arguments[Ue];return Ie.reduce((Ge,Ve)=>{const rt=Object.entries(Ve);for(const[gt,xt]of rt){const Gt=Ge[gt];Gt!=null&&(Ge[gt]=Gt+Ne*xt)}return Ge},Fo({},Re))}}const re=te(1),oe=te(-1);function ne(Ne){return"clientX"in Ne&&"clientY"in Ne}function de(Ne){if(!Ne)return!1;const{KeyboardEvent:Re}=ze(Ne.target);return Re&&Ne instanceof Re}function pe(Ne){if(!Ne)return!1;const{TouchEvent:Re}=ze(Ne.target);return Re&&Ne instanceof Re}function Ee(Ne){if(pe(Ne)){if(Ne.touches&&Ne.touches.length){const{clientX:Re,clientY:at}=Ne.touches[0];return{x:Re,y:at}}else if(Ne.changedTouches&&Ne.changedTouches.length){const{clientX:Re,clientY:at}=Ne.changedTouches[0];return{x:Re,y:at}}}return ne(Ne)?{x:Ne.clientX,y:Ne.clientY}:null}const be=Object.freeze({Translate:{toString(Ne){if(!Ne)return;const{x:Re,y:at}=Ne;return"translate3d("+(Re?Math.round(Re):0)+"px, "+(at?Math.round(at):0)+"px, 0)"}},Scale:{toString(Ne){if(!Ne)return;const{scaleX:Re,scaleY:at}=Ne;return"scaleX("+Re+") scaleY("+at+")"}},Transform:{toString(Ne){if(Ne)return[be.Translate.toString(Ne),be.Scale.toString(Ne)].join(" ")}},Transition:{toString(Ne){let{property:Re,duration:at,easing:Ie}=Ne;return Re+" "+at+"ms "+Ie}}}),xe="a,frame,iframe,input:not([type=hidden]):not(:disabled),select:not(:disabled),textarea:not(:disabled),button:not(:disabled),*[tabindex]";function Ce(Ne){return Ne.matches(xe)?Ne:Ne.querySelector(xe)}},71736:function(mt,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(mt,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(mt,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(mt,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"}},67795:function(mt,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(mt,st,z){"use strict";var x=z(67294),ge=Object.defineProperty,he=Object.getOwnPropertySymbols,Fe=Object.prototype.hasOwnProperty,we=Object.prototype.propertyIsEnumerable,ze=(Te,Le,Ke)=>Le in Te?ge(Te,Le,{enumerable:!0,configurable:!0,writable:!0,value:Ke}):Te[Le]=Ke,se=(Te,Le)=>{for(var Ke in Le||(Le={}))Fe.call(Le,Ke)&&ze(Te,Ke,Le[Ke]);if(he)for(var Ke of he(Le))we.call(Le,Ke)&&ze(Te,Ke,Le[Ke]);return Te};const je=Te=>React.createElement("svg",se({xmlns:"http://www.w3.org/2000/svg",width:14,height:18},Te),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(mt,st,z){"use strict";var x=z(67294),ge=Object.defineProperty,he=Object.getOwnPropertySymbols,Fe=Object.prototype.hasOwnProperty,we=Object.prototype.propertyIsEnumerable,ze=(Te,Le,Ke)=>Le in Te?ge(Te,Le,{enumerable:!0,configurable:!0,writable:!0,value:Ke}):Te[Le]=Ke,se=(Te,Le)=>{for(var Ke in Le||(Le={}))Fe.call(Le,Ke)&&ze(Te,Ke,Le[Ke]);if(he)for(var Ke of he(Le))we.call(Le,Ke)&&ze(Te,Ke,Le[Ke]);return Te};const je=Te=>React.createElement("svg",se({xmlns:"http://www.w3.org/2000/svg",width:14,height:18},Te),React.createElement("path",{fill:"#B9C4CF",d:"M7 4c3.899 0 7 3.141 7 7s-3.101 7-7 7-7-3.141-7-7 3.101-7 7-7Zm.05 3c-.675 0-1.203.092-1.584.276a2.056 2.056 0 0 0-.887.794c-.18.296-.31.691-.394 1.186l-.038.255 2.004.177c.055-.443.164-.753.326-.928a.814.814 0 0 1 .626-.263.81.81 0 0 1 .611.255c.162.17.243.375.243.614 0 .222-.081.456-.245.703-.164.247-.539.608-1.124 1.084-.96.776-1.613 1.45-1.962 2.02a4.363 4.363 0 0 0-.588 1.552L4 15h6v-1.781H6.877c.184-.197.343-.356.479-.478.136-.122.405-.334.808-.638.677-.523 1.145-1.002 1.401-1.438.257-.437.386-.895.386-1.374 0-.45-.112-.858-.336-1.22a2.043 2.043 0 0 0-.924-.808C8.301 7.088 7.753 7 7.05 7ZM4.812 0c.175 0 .35.16.437.318l1.313 2.309s-2.8.16-4.463 1.672L.088.716C0 .636 0 .557 0 .478 0 .159.263 0 .525 0Zm8.662 0c.263 0 .525.239.525.478 0 .08 0 .159-.088.238L11.9 4.22c-1.662-1.433-4.463-1.592-4.463-1.592L8.75.318C8.75.16 8.925 0 9.188 0Z"}));st.Z="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxNCIgaGVpZ2h0PSIxOCI+PHBhdGggZmlsbD0iI0I5QzRDRiIgZD0iTTcgNGMzLjg5OSAwIDcgMy4xNDEgNyA3cy0zLjEwMSA3LTcgNy03LTMuMTQxLTctNyAzLjEwMS03IDctN1ptLjA1IDNjLS42NzUgM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defineProperty,he=Object.getOwnPropertySymbols,Fe=Object.prototype.hasOwnProperty,we=Object.prototype.propertyIsEnumerable,ze=(Te,Le,Ke)=>Le in Te?ge(Te,Le,{enumerable:!0,configurable:!0,writable:!0,value:Ke}):Te[Le]=Ke,se=(Te,Le)=>{for(var Ke in Le||(Le={}))Fe.call(Le,Ke)&&ze(Te,Ke,Le[Ke]);if(he)for(var Ke of he(Le))we.call(Le,Ke)&&ze(Te,Ke,Le[Ke]);return Te};const je=Te=>React.createElement("svg",se({xmlns:"http://www.w3.org/2000/svg",width:14,height:18},Te),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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jIxLS40MTQuMzMyLS44NDUuMzMyLTEuMjk2IDAtLjM1OS0uMDY3LS42NjctLjItLjkyNmExLjYzMyAxLjYzMyAwIDAgMC0uNTYzLS42MjVjLS4xNDktLjA5OS0uMzYzLS4xODUtLjY0NC0uMjU5LjM0Ny0uMjA0LjYwNi0uNDQxLjc3OC0uNzEyYTEuNjYgMS42NiAwIDAgMCAuMjU3LS45MDggMS44MiAxLjgyIDAgMCAwLS42MzQtMS40MkM4LjU3MSA3LjE4OSA3Ljg4NiA3IDYuOTM4IDdaTTQuODEzIDBjLjE3NSAwIC4zNS4xNy40MzcuMzM4bDEuMzEzIDIuNDUzcy0yLjguMTctNC40NjMgMS43NzZMLjA4OC43NjFDMCAuNjc3IDAgLjU5MiAwIC41MDcgMCAuMTcuMjYzIDAgLjUyNSAwWm04LjY2MiAwYy4yNjMgMCAuNTI1LjI1NC41MjUuNTA3IDAgLjA4NSAwIC4xNy0uMDg4LjI1NEwxMS45IDQuNDgzQzEwLjIzOCAyLjk2IDcuNDM3IDIuNzkgNy40MzcgMi43OUw4Ljc1LjMzOEM4Ljc1LjE3IDguOTI1IDAgOS4xODggMFoiLz48L3N2Zz4="},18023:function(){"use strict";function mt(ue,a,y,b){y===void 0&&(y=0),b===void 0&&(b=1/0),this._name=ue,this._defaultValue=a,this._minimum=y,this._maximum=b}Object.defineProperty(mt.prototype,"name",{get:function(){return this._name},set:function(ue){if(typeof ue!="string"||ue==="")throw new Error("Shape name must be a valid string.");this._name=ue}}),Object.defineProperty(mt.prototype,"defaultValue",{get:function(){return this._defaultValue},set:function(ue){if(typeof ue!="number"||isNaN(ue))throw new Error("The default value must be a real number, not: "+ue);this._defaultValue=ue}}),Object.defineProperty(mt.prototype,"minimum",{get:function(){return this._minimum},set:function(ue){if(typeof ue!="number"||isNaN(ue))throw new Error("Minimum must be a real number, not: "+ue);this._minimum=ue}}),Object.defineProperty(mt.prototype,"maximum",{get:function(){return this._maximum},set:function(ue){if(typeof ue!="number"||isNaN(ue))throw new Error("Maximum must be a real number, not: "+ue);this._maximum=ue}}),go.Shape._FigureParameters={},go.Shape.getFigureParameter=function(ue,a){var y=go.Shape._FigureParameters[ue];return y?y[a]:null},go.Shape.setFigureParameter=function(ue,a,y){if(!(y instanceof mt))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[ue];b||(b=[],go.Shape._FigureParameters[ue]=b),b[a]=y};var st=[];function z(ue,a){var y=st.pop();return y===void 0?new go.Point(ue,a):(y.x=ue,y.y=a,y)}function x(){var ue=st.pop();return ue===void 0?new go.Point:ue}function ge(ue){st.push(ue)}function he(ue,a,y,b,E,ee,te,re,oe){oe||(oe=new go.Point);var ne=ue-y,de=E-te,pe=NaN,Ee=NaN;if(ne===0)if(de===0)ue===y&&(pe=ue,Ee=a);else{var be=(ee-re)/de,xe=ee-be*E;pe=ue,Ee=be*pe+xe}else if(de===0){var Ce=(a-b)/ne,Ne=a-Ce*ue;pe=E,Ee=Ce*pe+Ne}else{var Ce=(a-b)/ne,be=(ee-re)/de,Ne=a-Ce*ue,xe=ee-be*E;pe=(xe-Ne)/(Ce-be),Ee=Ce*pe+Ne}return oe.x=pe,oe.y=Ee,oe}function Fe(ue,a,y,b,E,ee,te,re,oe,ne,de,pe,Ee,be){var xe=1-oe,Ce=oe,Ne=ue*xe+y*Ce,Re=a*xe+b*Ce,at=y*xe+E*Ce,Ie=b*xe+ee*Ce,Ue=E*xe+te*Ce,Ge=ee*xe+re*Ce,Ve=Ne*xe+at*Ce,rt=Re*xe+Ie*Ce,gt=at*xe+Ue*Ce,xt=Ie*xe+Ge*Ce,Gt=Ve*xe+gt*Ce,yn=rt*xe+xt*Ce;ne.x=Ne,ne.y=Re,de.x=Ve,de.y=rt,pe.x=Gt,pe.y=yn,Ee.x=gt,Ee.y=xt,be.x=Ue,be.y=Ge}var we=new go.Spot(.156,.156),ze=new go.Spot(.844,.844),se=4*((Math.sqrt(2)-1)/3);go.Shape.setFigureParameter("RoundedRectangle",0,new mt("CornerRounding",5)),go.Shape.defineFigureGenerator("RoundedRectangle",function(ue,a,y){var b=ue?ue.parameter1:NaN;(isNaN(b)||b<0)&&(b=5),b=Math.min(b,a/3),b=Math.min(b,y/3);var E=b*se,ee=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&&(ee.spot1=new go.Spot(0,0,E,E),ee.spot2=new go.Spot(1,1,-E,-E)),ee}),go.Shape.defineFigureGenerator("Border","RoundedRectangle"),go.Shape.defineFigureGenerator("TriangleRight",function(ue,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(ue,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(ue,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(ue,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(ue,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(ue,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(ue,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(ue,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(ue,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(ue,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(ue,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(ue,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(ue,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(ue,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(ue,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=ze,E.defaultStretch=go.GraphObject.Uniform,E}),go.Shape.defineFigureGenerator("Line1",function(ue,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(ue,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(ue,a,y){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Bezier,a,y,se*a,0,a,(1-se)*y)))}),go.Shape.defineFigureGenerator("Curve2",function(ue,a,y){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Bezier,a,y,0,se*y,(1-se)*a,y)))}),go.Shape.defineFigureGenerator("Curve3",function(ue,a,y){return new go.Geometry().add(new go.PathFigure(a,0,!1).add(new go.PathSegment(go.PathSegment.Bezier,0,y,a,se*y,se*a,y)))}),go.Shape.defineFigureGenerator("Curve4",function(ue,a,y){return new go.Geometry().add(new go.PathFigure(a,0,!1).add(new go.PathSegment(go.PathSegment.Bezier,0,y,(1-se)*a,0,0,(1-se)*y)))}),go.Shape.defineFigureGenerator("TriangleDownLeft",function(ue,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(ue,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(ue,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(ue,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 mt("Indent",.1,-.99,.99)),go.Shape.defineFigureGenerator("Parallelogram1",function(ue,a,y){var b=ue?ue.parameter1:NaN;isNaN(b)?b=.1:b<-1?b=-1:b>1&&(b=1);var E=Math.abs(b)*a;if(b===0){var ee=new go.Geometry(go.Geometry.Rectangle);return ee.startX=0,ee.startY=0,ee.endX=a,ee.endY=y,ee}else{var ee=new go.Geometry;return b>0?ee.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())):ee.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&&ee.setSpots(E/a,0,(a-E)/a,1),ee}}),go.Shape.defineFigureGenerator("Parallelogram","Parallelogram1"),go.Shape.setFigureParameter("Parallelogram2",0,new mt("Indent",10,-1/0,1/0)),go.Shape.defineFigureGenerator("Parallelogram2",function(ue,a,y){var b=ue?ue.parameter1:NaN;isNaN(b)?b=10:b<-a?b=-a:b>a&&(b=a);var E=Math.abs(b);if(b===0){var ee=new go.Geometry(go.Geometry.Rectangle);return ee.startX=0,ee.startY=0,ee.endX=a,ee.endY=y,ee}else{var ee=new go.Geometry;return b>0?ee.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())):ee.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&&ee.setSpots(E/a,0,(a-E)/a,1),ee}}),go.Shape.setFigureParameter("Trapezoid1",0,new mt("Indent",.2,-.99,.99)),go.Shape.defineFigureGenerator("Trapezoid1",function(ue,a,y){var b=ue?ue.parameter1:NaN;isNaN(b)?b=.2:b<.5?b=-.5:b>.5&&(b=.5);var E=Math.abs(b)*a;if(b===0){var ee=new go.Geometry(go.Geometry.Rectangle);return ee.startX=0,ee.startY=0,ee.endX=a,ee.endY=y,ee}else{var ee=new go.Geometry;return b>0?ee.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())):ee.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&&ee.setSpots(E/a,0,(a-E)/a,1),ee}}),go.Shape.defineFigureGenerator("Trapezoid","Trapezoid1"),go.Shape.setFigureParameter("Trapezoid2",0,new mt("Indent",20,-1/0,1/0)),go.Shape.defineFigureGenerator("Trapezoid2",function(ue,a,y){var b=ue?ue.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 ee=new go.Geometry(go.Geometry.Rectangle);return ee.startX=0,ee.startY=0,ee.endX=a,ee.endY=y,ee}else{var ee=new go.Geometry;return b>0?ee.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())):ee.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&&ee.setSpots(E/a,0,(a-E)/a,1),ee}}),go.Shape.setFigureParameter("ManualOperation",0,new mt("Indent",10,-1/0,1/0)),go.Shape.defineFigureGenerator("ManualOperation",function(ue,a,y){var b=ue?ue.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 ee=new go.Geometry(go.Geometry.Rectangle);return ee.startX=0,ee.startY=0,ee.endX=a,ee.endY=y,ee}else{var ee=new go.Geometry;return b>0?ee.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())):ee.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&&ee.setSpots(E/a,0,(a-E)/a,1),ee}});var je=[];function Te(){var ue=je.pop();return ue===void 0?[]:ue}function Le(ue){ue.length=0,je.push(ue)}function Ke(ue){for(var a=Te(),y=.5,b=.5,E=Math.PI*1.5,ee=0,te=0;te<ue;te++)ee=2*Math.PI/ue*te+E,a[te]=new go.Point(b+y*Math.cos(ee),b+y*Math.sin(ee));return a.push(a[0]),a}function De(ue){var a=ve(ue),y=Te();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 Le(a),y}function ve(ue){for(var a=Ke(ue),y=Te(),b=Math.floor(a.length/2),E=a.length-1,ee=ue%2===0?2:1,te=0;te<E;te++){var re=a[te],oe=a[te+1],ne=a[(b+te-1)%E],de=a[(b+te+ee)%E];y[te*2]=re,y[te*2+1]=he(re.x,re.y,ne.x,ne.y,oe.x,oe.y,de.x,de.y,new go.Point)}return y[y.length]=y[0],Le(a),y}go.Shape.defineFigureGenerator("Pentagon",function(ue,a,y){var b=Ke(5),E=new go.Geometry,ee=new go.PathFigure(b[0].x*a,b[0].y*y,!0);E.add(ee);for(var te=1;te<5;te++)ee.add(new go.PathSegment(go.PathSegment.Line,b[te].x*a,b[te].y*y));return ee.add(new go.PathSegment(go.PathSegment.Line,b[0].x*a,b[0].y*y).close()),Le(b),E.spot1=new go.Spot(.2,.22),E.spot2=new go.Spot(.8,.9),E}),go.Shape.defineFigureGenerator("Hexagon",function(ue,a,y){var b=Ke(6),E=new go.Geometry,ee=new go.PathFigure(b[0].x*a,b[0].y*y,!0);E.add(ee);for(var te=1;te<6;te++)ee.add(new go.PathSegment(go.PathSegment.Line,b[te].x*a,b[te].y*y));return ee.add(new go.PathSegment(go.PathSegment.Line,b[0].x*a,b[0].y*y).close()),Le(b),E.spot1=new go.Spot(.07,.25),E.spot2=new go.Spot(.93,.75),E}),go.Shape.defineFigureGenerator("Heptagon",function(ue,a,y){var b=Ke(7),E=new go.Geometry,ee=new go.PathFigure(b[0].x*a,b[0].y*y,!0);E.add(ee);for(var te=1;te<7;te++)ee.add(new go.PathSegment(go.PathSegment.Line,b[te].x*a,b[te].y*y));return ee.add(new go.PathSegment(go.PathSegment.Line,b[0].x*a,b[0].y*y).close()),Le(b),E.spot1=new go.Spot(.2,.15),E.spot2=new go.Spot(.8,.85),E}),go.Shape.defineFigureGenerator("Octagon",function(ue,a,y){var b=Ke(8),E=new go.Geometry,ee=new go.PathFigure(b[0].x*a,b[0].y*y,!0);E.add(ee);for(var te=1;te<8;te++)ee.add(new go.PathSegment(go.PathSegment.Line,b[te].x*a,b[te].y*y));return ee.add(new go.PathSegment(go.PathSegment.Line,b[0].x*a,b[0].y*y).close()),Le(b),E.spot1=new go.Spot(.15,.15),E.spot2=new go.Spot(.85,.85),E}),go.Shape.defineFigureGenerator("Nonagon",function(ue,a,y){var b=Ke(9),E=new go.Geometry,ee=new go.PathFigure(b[0].x*a,b[0].y*y,!0);E.add(ee);for(var te=1;te<9;te++)ee.add(new go.PathSegment(go.PathSegment.Line,b[te].x*a,b[te].y*y));return ee.add(new go.PathSegment(go.PathSegment.Line,b[0].x*a,b[0].y*y).close()),Le(b),E.spot1=new go.Spot(.17,.13),E.spot2=new go.Spot(.82,.82),E}),go.Shape.defineFigureGenerator("Decagon",function(ue,a,y){var b=Ke(10),E=new go.Geometry,ee=new go.PathFigure(b[0].x*a,b[0].y*y,!0);E.add(ee);for(var te=1;te<10;te++)ee.add(new go.PathSegment(go.PathSegment.Line,b[te].x*a,b[te].y*y));return ee.add(new go.PathSegment(go.PathSegment.Line,b[0].x*a,b[0].y*y).close()),Le(b),E.spot1=new go.Spot(.16,.16),E.spot2=new go.Spot(.84,.84),E}),go.Shape.defineFigureGenerator("Dodecagon",function(ue,a,y){var b=Ke(12),E=new go.Geometry,ee=new go.PathFigure(b[0].x*a,b[0].y*y,!0);E.add(ee);for(var te=1;te<12;te++)ee.add(new go.PathSegment(go.PathSegment.Line,b[te].x*a,b[te].y*y));return ee.add(new go.PathSegment(go.PathSegment.Line,b[0].x*a,b[0].y*y).close()),Le(b),E.spot1=new go.Spot(.16,.16),E.spot2=new go.Spot(.84,.84),E}),go.Shape.defineFigureGenerator("FivePointedStar",function(ue,a,y){var b=ve(5),E=new go.Geometry,ee=new go.PathFigure(b[0].x*a,b[0].y*y,!0);E.add(ee);for(var te=1;te<10;te++)ee.add(new go.PathSegment(go.PathSegment.Line,b[te].x*a,b[te].y*y));return ee.add(new go.PathSegment(go.PathSegment.Line,b[0].x*a,b[0].y*y).close()),Le(b),E.spot1=new go.Spot(.266,.333),E.spot2=new go.Spot(.733,.733),E}),go.Shape.defineFigureGenerator("SixPointedStar",function(ue,a,y){var b=ve(6),E=new go.Geometry,ee=new go.PathFigure(b[0].x*a,b[0].y*y,!0);E.add(ee);for(var te=1;te<12;te++)ee.add(new go.PathSegment(go.PathSegment.Line,b[te].x*a,b[te].y*y));return ee.add(new go.PathSegment(go.PathSegment.Line,b[0].x*a,b[0].y*y).close()),Le(b),E.spot1=new go.Spot(.17,.25),E.spot2=new go.Spot(.83,.75),E}),go.Shape.defineFigureGenerator("SevenPointedStar",function(ue,a,y){var b=ve(7),E=new go.Geometry,ee=new go.PathFigure(b[0].x*a,b[0].y*y,!0);E.add(ee);for(var te=1;te<14;te++)ee.add(new go.PathSegment(go.PathSegment.Line,b[te].x*a,b[te].y*y));return ee.add(new go.PathSegment(go.PathSegment.Line,b[0].x*a,b[0].y*y).close()),Le(b),E.spot1=new go.Spot(.222,.277),E.spot2=new go.Spot(.777,.666),E}),go.Shape.defineFigureGenerator("EightPointedStar",function(ue,a,y){var b=ve(8),E=new go.Geometry,ee=new go.PathFigure(b[0].x*a,b[0].y*y,!0);E.add(ee);for(var te=1;te<16;te++)ee.add(new go.PathSegment(go.PathSegment.Line,b[te].x*a,b[te].y*y));return ee.add(new go.PathSegment(go.PathSegment.Line,b[0].x*a,b[0].y*y).close()),Le(b),E.spot1=new go.Spot(.25,.25),E.spot2=new go.Spot(.75,.75),E}),go.Shape.defineFigureGenerator("NinePointedStar",function(ue,a,y){var b=ve(9),E=new go.Geometry,ee=new go.PathFigure(b[0].x*a,b[0].y*y,!0);E.add(ee);for(var te=1;te<18;te++)ee.add(new go.PathSegment(go.PathSegment.Line,b[te].x*a,b[te].y*y));return ee.add(new go.PathSegment(go.PathSegment.Line,b[0].x*a,b[0].y*y).close()),Le(b),E.spot1=new go.Spot(.222,.277),E.spot2=new go.Spot(.777,.666),E}),go.Shape.defineFigureGenerator("TenPointedStar",function(ue,a,y){var b=ve(10),E=new go.Geometry,ee=new go.PathFigure(b[0].x*a,b[0].y*y,!0);E.add(ee);for(var te=1;te<20;te++)ee.add(new go.PathSegment(go.PathSegment.Line,b[te].x*a,b[te].y*y));return ee.add(new go.PathSegment(go.PathSegment.Line,b[0].x*a,b[0].y*y).close()),Le(b),E.spot1=new go.Spot(.281,.261),E.spot2=new go.Spot(.723,.748),E}),go.Shape.defineFigureGenerator("FivePointedBurst",function(ue,a,y){var b=De(5),E=new go.Geometry,ee=new go.PathFigure(b[0].x*a,b[0].y*y,!0);E.add(ee);for(var te=1;te<b.length;te+=3)ee.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 ee.segments.last().close(),Le(b),E.spot1=new go.Spot(.222,.277),E.spot2=new go.Spot(.777,.777),E}),go.Shape.defineFigureGenerator("SixPointedBurst",function(ue,a,y){var b=De(6),E=new go.Geometry,ee=new go.PathFigure(b[0].x*a,b[0].y*y,!0);E.add(ee);for(var te=1;te<b.length;te+=3)ee.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 ee.segments.last().close(),Le(b),E.spot1=new go.Spot(.17,.222),E.spot2=new go.Spot(.833,.777),E}),go.Shape.defineFigureGenerator("SevenPointedBurst",function(ue,a,y){var b=De(7),E=new go.Geometry,ee=new go.PathFigure(b[0].x*a,b[0].y*y,!0);E.add(ee);for(var te=1;te<b.length;te+=3)ee.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 ee.segments.last().close(),Le(b),E.spot1=new go.Spot(.222,.222),E.spot2=new go.Spot(.777,.777),E}),go.Shape.defineFigureGenerator("EightPointedBurst",function(ue,a,y){var b=De(8),E=new go.Geometry,ee=new go.PathFigure(b[0].x*a,b[0].y*y,!0);E.add(ee);for(var te=1;te<b.length;te+=3)ee.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 ee.segments.last().close(),Le(b),E.spot1=new go.Spot(.222,.222),E.spot2=new go.Spot(.777,.777),E}),go.Shape.defineFigureGenerator("NinePointedBurst",function(ue,a,y){var b=De(9),E=new go.Geometry,ee=new go.PathFigure(b[0].x*a,b[0].y*y,!0);E.add(ee);for(var te=1;te<b.length;te+=3)ee.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 ee.segments.last().close(),Le(b),E.spot1=new go.Spot(.222,.222),E.spot2=new go.Spot(.777,.777),E}),go.Shape.defineFigureGenerator("TenPointedBurst",function(ue,a,y){var b=De(10),E=new go.Geometry,ee=new go.PathFigure(b[0].x*a,b[0].y*y,!0);E.add(ee);for(var te=1;te<b.length;te+=3)ee.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 ee.segments.last().close(),Le(b),E.spot1=new go.Spot(.222,.222),E.spot2=new go.Spot(.777,.777),E}),go.Shape.setFigureParameter("FramedRectangle",0,new mt("ThicknessX",8)),go.Shape.setFigureParameter("FramedRectangle",1,new mt("ThicknessY",8)),go.Shape.defineFigureGenerator("FramedRectangle",function(ue,a,y){var b=ue?ue.parameter1:NaN,E=ue?ue.parameter2:NaN;isNaN(b)&&(b=8),isNaN(E)&&(E=8);var ee=new go.Geometry,te=new go.PathFigure(0,0,!0);return ee.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())),ee.setSpots(0,0,1,1,b,E,-b,-E),ee}),go.Shape.setFigureParameter("Ring",0,new mt("Thickness",8)),go.Shape.defineFigureGenerator("Ring",function(ue,a,y){var b=ue?ue.parameter1:NaN;(isNaN(b)||b<0)&&(b=8);var E=a/2,ee=new go.Geometry,te=new go.PathFigure(a,a/2,!0);ee.add(te),te.add(new go.PathSegment(go.PathSegment.Arc,0,360,E,E,E,E).close());var re=Math.max(E-b,0);return re>0&&(te.add(new go.PathSegment(go.PathSegment.Move,a/2+re,a/2)),te.add(new go.PathSegment(go.PathSegment.Arc,0,-360,E,E,re,re).close())),ee.spot1=we,ee.spot2=ze,ee.defaultStretch=go.GraphObject.Uniform,ee}),go.Shape.defineFigureGenerator("Cloud",function(ue,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(ue,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 mt("Start",0,-360,360)),go.Shape.setFigureParameter("Pie",1,new mt("Sweep",315,-360,360)),go.Shape.defineFigureGenerator("Pie",function(ue,a,y){var b=ue?ue.parameter1:NaN,E=ue?ue.parameter2:NaN;isNaN(b)&&(b=0),isNaN(E)&&(E=315);var ee=b%360;ee<0&&(ee+=360);var te=E%360,re=Math.min(a,y)/2;return new go.Geometry().add(new go.PathFigure(re,re).add(new go.PathSegment(go.PathSegment.Arc,ee,te,re,re,re,re).close()))}),go.Shape.defineFigureGenerator("PiePiece",function(ue,a,y){var b=se/Math.SQRT2*.5,E=Math.SQRT2/2,ee=1-Math.SQRT2/2;return new go.Geometry().add(new go.PathFigure(a,y,!0).add(new go.PathSegment(go.PathSegment.Bezier,E*a,ee*y,a,(1-b)*y,(E+b)*a,(ee+b)*y)).add(new go.PathSegment(go.PathSegment.Line,0,y).close()))}),go.Shape.setFigureParameter("ThickCross",0,new mt("Thickness",30)),go.Shape.defineFigureGenerator("ThickCross",function(ue,a,y){var b=ue?ue.parameter1:NaN;(isNaN(b)||b<0)&&(b=30);var E=Math.min(b,a)/2,ee=a/2,te=y/2;return new go.Geometry().add(new go.PathFigure(ee-E,0,!0).add(new go.PathSegment(go.PathSegment.Line,ee+E,0)).add(new go.PathSegment(go.PathSegment.Line,ee+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,ee+E,te+E)).add(new go.PathSegment(go.PathSegment.Line,ee+E,y)).add(new go.PathSegment(go.PathSegment.Line,ee-E,y)).add(new go.PathSegment(go.PathSegment.Line,ee-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,ee-E,te-E).close()))}),go.Shape.setFigureParameter("ThinCross",0,new mt("Thickness",10)),go.Shape.defineFigureGenerator("ThinCross",function(ue,a,y){var b=ue?ue.parameter1:NaN;(isNaN(b)||b<0)&&(b=10);var E=Math.min(b,a)/2,ee=a/2,te=y/2;return new go.Geometry().add(new go.PathFigure(ee-E,0,!0).add(new go.PathSegment(go.PathSegment.Line,ee+E,0)).add(new go.PathSegment(go.PathSegment.Line,ee+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,ee+E,te+E)).add(new go.PathSegment(go.PathSegment.Line,ee+E,y)).add(new go.PathSegment(go.PathSegment.Line,ee-E,y)).add(new go.PathSegment(go.PathSegment.Line,ee-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,ee-E,te-E).close()))}),go.Shape.setFigureParameter("ThickX",0,new mt("Thickness",30)),go.Shape.defineFigureGenerator("ThickX",function(ue,a,y){var b=ue?ue.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 ee=a/2,te=y/2,re=Math.atan2(y,a),oe=b-Math.min(Math.cos(re)*b/2,ee),ne=b-Math.min(Math.sin(re)*b/2,te),E=new go.Geometry,de=new go.PathFigure(oe,0,!0);return E.add(de),de.add(new go.PathSegment(go.PathSegment.Line,ee,.2*y)),de.add(new go.PathSegment(go.PathSegment.Line,a-oe,0)),de.add(new go.PathSegment(go.PathSegment.Line,a,ne)),de.add(new go.PathSegment(go.PathSegment.Line,.8*a,te)),de.add(new go.PathSegment(go.PathSegment.Line,a,y-ne)),de.add(new go.PathSegment(go.PathSegment.Line,a-oe,y)),de.add(new go.PathSegment(go.PathSegment.Line,ee,.8*y)),de.add(new go.PathSegment(go.PathSegment.Line,oe,y)),de.add(new go.PathSegment(go.PathSegment.Line,0,y-ne)),de.add(new go.PathSegment(go.PathSegment.Line,.2*a,te)),de.add(new go.PathSegment(go.PathSegment.Line,0,ne).close()),E}}),go.Shape.setFigureParameter("ThinX",0,new mt("Thickness",10)),go.Shape.defineFigureGenerator("ThinX",function(ue,a,y){var b=ue?ue.parameter1:NaN;(isNaN(b)||b<0)&&(b=10);var E=new go.Geometry,ee=new go.PathFigure(.1*a,0,!0);return E.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,.5*a,.4*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.9*a,0)),ee.add(new go.PathSegment(go.PathSegment.Line,a,.1*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.6*a,.5*y)),ee.add(new go.PathSegment(go.PathSegment.Line,a,.9*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.9*a,y)),ee.add(new go.PathSegment(go.PathSegment.Line,.5*a,.6*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.1*a,y)),ee.add(new go.PathSegment(go.PathSegment.Line,0,.9*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.4*a,.5*y)),ee.add(new go.PathSegment(go.PathSegment.Line,0,.1*y).close()),E}),go.Shape.setFigureParameter("SquareIBeam",0,new mt("BeamWidth",.2,.1,.9)),go.Shape.defineFigureGenerator("SquareIBeam",function(ue,a,y){var b=ue?ue.parameter1:NaN;isNaN(b)&&(b=.2);var E=new go.Geometry,ee=new go.PathFigure(0,0,!0);return E.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,a,0)),ee.add(new go.PathSegment(go.PathSegment.Line,a,b*y)),ee.add(new go.PathSegment(go.PathSegment.Line,(.5+b/2)*a,b*y)),ee.add(new go.PathSegment(go.PathSegment.Line,(.5+b/2)*a,(1-b)*y)),ee.add(new go.PathSegment(go.PathSegment.Line,a,(1-b)*y)),ee.add(new go.PathSegment(go.PathSegment.Line,a,y)),ee.add(new go.PathSegment(go.PathSegment.Line,0,y)),ee.add(new go.PathSegment(go.PathSegment.Line,0,(1-b)*y)),ee.add(new go.PathSegment(go.PathSegment.Line,(.5-b/2)*a,(1-b)*y)),ee.add(new go.PathSegment(go.PathSegment.Line,(.5-b/2)*a,b*y)),ee.add(new go.PathSegment(go.PathSegment.Line,0,b*y).close()),E}),go.Shape.setFigureParameter("RoundedIBeam",0,new mt("Curviness",.5,.05,.65)),go.Shape.defineFigureGenerator("RoundedIBeam",function(ue,a,y){var b=ue?ue.parameter1:NaN;isNaN(b)&&(b=.5);var E=new go.Geometry,ee=new go.PathFigure(0,0,!0);return E.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,a,0)),ee.add(new go.PathSegment(go.PathSegment.Bezier,a,y,Math.abs(1-b)*a,.25*y,Math.abs(1-b)*a,.75*y)),ee.add(new go.PathSegment(go.PathSegment.Line,0,y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,0,0,b*a,.75*y,b*a,.25*y).close()),E}),go.Shape.defineFigureGenerator("HalfEllipse",function(ue,a,y){return new go.Geometry().add(new go.PathFigure(0,0,!0).add(new go.PathSegment(go.PathSegment.Bezier,a,.5*y,se*a,0,a,(.5-se/2)*y)).add(new go.PathSegment(go.PathSegment.Bezier,0,y,a,(.5+se/2)*y,se*a,y).close())).setSpots(0,.156,.844,.844)}),go.Shape.defineFigureGenerator("Crescent",function(ue,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(ue,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(ue,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(ue,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 ee=.2,te=.3,re=0,oe=ee*se;return E.add(new go.PathSegment(go.PathSegment.Bezier,(.5+te)*a,(.5+ee+re)*y,(.5-ee+te)*a,(.5+oe+re)*y,(.5-oe+te)*a,(.5+ee+re)*y)),E.add(new go.PathSegment(go.PathSegment.Bezier,(1-.5+ee+te)*a,(.5+re)*y,(.5+oe+te)*a,(.5+ee+re)*y,(.5+ee+te)*a,(.5+oe+re)*y)),E.add(new go.PathSegment(go.PathSegment.Bezier,(.5+te)*a,(.5-ee+re)*y,(1-.5+ee+te)*a,(.5-oe+re)*y,(.5+oe+te)*a,(.5-ee+re)*y)),E.add(new go.PathSegment(go.PathSegment.Bezier,.65*a,.36771243*y,(.5-oe+te)*a,(.5-ee+re)*y,(.5-ee+te+.05)*a,(.5-oe+re-.02)*y)),ee=.2,te=0,re=-.3,oe=ee*se,E.add(new go.PathSegment(go.PathSegment.Bezier,(1-.5+ee+te)*a,(.5+re)*y,(.5+oe+te)*a,(.5+ee+re)*y,(.5+ee+te)*a,(.5+oe+re)*y)),E.add(new go.PathSegment(go.PathSegment.Bezier,(.5+te)*a,(.5-ee+re)*y,(1-.5+ee+te)*a,(.5-oe+re)*y,(.5+oe+te)*a,(.5-ee+re)*y)),E.add(new go.PathSegment(go.PathSegment.Bezier,(.5-ee+te)*a,(.5+re)*y,(.5-oe+te)*a,(.5-ee+re)*y,(.5-ee+te)*a,(.5-oe+re)*y)),E.add(new go.PathSegment(go.PathSegment.Bezier,(.5-oe+te)*a,(.5+ee+re)*y,(.5-ee+te)*a,(.5+oe+re)*y,(.5-oe+te)*a,(.5+ee+re)*y)),ee=.2,te=-.3,re=0,oe=ee*se,E.add(new go.PathSegment(go.PathSegment.Bezier,(.5+te)*a,(.5-ee+re)*y,(1-.5+ee+te-.05)*a,(.5-oe+re-.02)*y,(.5+oe+te)*a,(.5-ee+re)*y)),E.add(new go.PathSegment(go.PathSegment.Bezier,(.5-ee+te)*a,(.5+re)*y,(.5-oe+te)*a,(.5-ee+re)*y,(.5-ee+te)*a,(.5-oe+re)*y)),E.add(new go.PathSegment(go.PathSegment.Bezier,(.5+te)*a,(.5+ee+re)*y,(.5-ee+te)*a,(.5+oe+re)*y,(.5-oe+te)*a,(.5+ee+re)*y)),E.add(new go.PathSegment(go.PathSegment.Bezier,.4*a,.6*y,(.5+oe+te)*a,(.5+ee+re)*y,(.5+ee+te)*a,(.5+oe+re)*y).close()),b.setSpots(.06,.33,.93,.68),b}),go.Shape.defineFigureGenerator("YinYang",function(ue,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 ee=.1,te=.5,re=.25;return E.add(new go.PathSegment(go.PathSegment.Move,(te+ee)*a,re*y)),E.add(new go.PathSegment(go.PathSegment.Arc,0,-360,a*te,y*re,ee*a,ee*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)),re=.75,E=new go.PathFigure((te+ee)*a,re*y,!0),b.add(E),E.add(new go.PathSegment(go.PathSegment.Arc,0,360,a*te,y*re,ee*a,ee*a).close()),b.defaultStretch=go.GraphObject.Uniform,b}),go.Shape.defineFigureGenerator("Peace",function(ue,a,y){var b=.8535533905932737,E=.5*a,ee=.5*y;return new go.Geometry().add(new go.PathFigure(E,0,!1).add(new go.PathSegment(go.PathSegment.Arc,270,360,E,ee,E,ee)).add(new go.PathSegment(go.PathSegment.Line,E,y)).add(new go.PathSegment(go.PathSegment.Move,E,ee)).add(new go.PathSegment(go.PathSegment.Line,(1-b)*a,b*y)).add(new go.PathSegment(go.PathSegment.Move,E,ee)).add(new go.PathSegment(go.PathSegment.Line,b*a,b*y)))}),go.Shape.defineFigureGenerator("NotAllowed",function(ue,a,y){var b=new go.Geometry,E=se*.5,ee=.5,te=.5,re=.5,oe=new go.PathFigure(te*a,(re-ee)*y);b.add(oe),oe.add(new go.PathSegment(go.PathSegment.Bezier,(te-ee)*a,re*y,(te-E)*a,(re-ee)*y,(te-ee)*a,(re-E)*y)),oe.add(new go.PathSegment(go.PathSegment.Bezier,te*a,(re+ee)*y,(te-ee)*a,(re+E)*y,(te-E)*a,(re+ee)*y)),oe.add(new go.PathSegment(go.PathSegment.Bezier,(te+ee)*a,re*y,(te+E)*a,(re+ee)*y,(te+ee)*a,(re+E)*y)),oe.add(new go.PathSegment(go.PathSegment.Bezier,te*a,(re-ee)*y,(te+ee)*a,(re-E)*y,(te+E)*a,(re-ee)*y)),ee=.4,E=se*.4;var ne=x(),de=x(),pe=x(),Ee=x();Fe(te,re-ee,te+E,re-ee,te+ee,re-E,te+ee,re,.42,ne,de,pe,Ee,Ee);var be=x(),xe=x(),Ce=x();Fe(te,re-ee,te+E,re-ee,te+ee,re-E,te+ee,re,.58,Ee,Ee,Ce,be,xe);var Ne=x(),Re=x(),at=x();Fe(te,re+ee,te-E,re+ee,te-ee,re+E,te-ee,re,.42,Ne,Re,at,Ee,Ee);var Ie=x(),Ue=x(),Ge=x();return Fe(te,re+ee,te-E,re+ee,te-ee,re+E,te-ee,re,.58,Ee,Ee,Ge,Ie,Ue),oe.add(new go.PathSegment(go.PathSegment.Move,Ge.x*a,Ge.y*y)),oe.add(new go.PathSegment(go.PathSegment.Bezier,(te-ee)*a,re*y,Ie.x*a,Ie.y*y,Ue.x*a,Ue.y*y)),oe.add(new go.PathSegment(go.PathSegment.Bezier,te*a,(re-ee)*y,(te-ee)*a,(re-E)*y,(te-E)*a,(re-ee)*y)),oe.add(new go.PathSegment(go.PathSegment.Bezier,pe.x*a,pe.y*y,ne.x*a,ne.y*y,de.x*a,de.y*y)),oe.add(new go.PathSegment(go.PathSegment.Line,Ge.x*a,Ge.y*y).close()),oe.add(new go.PathSegment(go.PathSegment.Move,at.x*a,at.y*y)),oe.add(new go.PathSegment(go.PathSegment.Line,Ce.x*a,Ce.y*y)),oe.add(new go.PathSegment(go.PathSegment.Bezier,(te+ee)*a,re*y,be.x*a,be.y*y,xe.x*a,xe.y*y)),oe.add(new go.PathSegment(go.PathSegment.Bezier,te*a,(re+ee)*y,(te+ee)*a,(re+E)*y,(te+E)*a,(re+ee)*y)),oe.add(new go.PathSegment(go.PathSegment.Bezier,at.x*a,at.y*y,Ne.x*a,Ne.y*y,Re.x*a,Re.y*y).close()),ge(ne),ge(de),ge(pe),ge(Ee),ge(be),ge(xe),ge(Ce),ge(Ne),ge(Re),ge(at),ge(Ie),ge(Ue),ge(Ge),b.defaultStretch=go.GraphObject.Uniform,b}),go.Shape.defineFigureGenerator("Fragile",function(ue,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 mt("Thickness",30)),go.Shape.defineFigureGenerator("HourGlass",function(ue,a,y){var b=ue?ue.parameter1:NaN;(isNaN(b)||b<0)&&(b=30),b>a&&(b=a);var E=(a-b)/2,ee=E+b;return new go.Geometry().add(new go.PathFigure(ee,.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(ue,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(ue,a,y){var b=new go.Geometry,E=se*.4,ee=.4,te=.5,re=.5,oe=x(),ne=x(),de=x(),pe=x(),Ee=new go.PathFigure((te-ee)*a,re*y,!1);b.add(Ee),Ee.add(new go.PathSegment(go.PathSegment.Bezier,te*a,(re-ee)*y,(te-ee)*a,(re-E)*y,(te-E)*a,(re-ee)*y)),Fe(te,re-ee,te+E,re-ee,te+ee,re-E,te+ee,re,.44,de,pe,ne,oe,oe),Ee.add(new go.PathSegment(go.PathSegment.Bezier,ne.x*a,ne.y*y,de.x*a,de.y*y,pe.x*a,pe.y*y));var be=z(ne.x,ne.y);Fe(te,re-ee,te+E,re-ee,te+ee,re-E,te+ee,re,.56,oe,oe,ne,de,pe);var xe=z(ne.x,ne.y);Ee.add(new go.PathSegment(go.PathSegment.Line,(be.x*.1+.95*.9)*a,be.y*.1*y)),Ee.add(new go.PathSegment(go.PathSegment.Line,.85*a,be.y*.1*y)),Ee.add(new go.PathSegment(go.PathSegment.Line,.85*a,0)),Ee.add(new go.PathSegment(go.PathSegment.Line,a,0)),Ee.add(new go.PathSegment(go.PathSegment.Line,a,.15*y)),Ee.add(new go.PathSegment(go.PathSegment.Line,(xe.x*.1+.9)*a,.15*y)),Ee.add(new go.PathSegment(go.PathSegment.Line,(xe.x*.1+.9)*a,(xe.y*.1+.05*.9)*y)),Ee.add(new go.PathSegment(go.PathSegment.Line,xe.x*a,xe.y*y)),Ee.add(new go.PathSegment(go.PathSegment.Bezier,(te+ee)*a,re*y,de.x*a,de.y*y,pe.x*a,pe.y*y)),Ee.add(new go.PathSegment(go.PathSegment.Bezier,te*a,(re+ee)*y,(te+ee)*a,(re+E)*y,(te+E)*a,(re+ee)*y)),Ee.add(new go.PathSegment(go.PathSegment.Bezier,(te-ee)*a,re*y,(te-E)*a,(re+ee)*y,(te-ee)*a,(re+E)*y)),ee=.35,E=se*.35;var Ce=new go.PathFigure(te*a,(re-ee)*y,!1);b.add(Ce),Ce.add(new go.PathSegment(go.PathSegment.Bezier,(te-ee)*a,re*y,(te-E)*a,(re-ee)*y,(te-ee)*a,(re-E)*y)),Ce.add(new go.PathSegment(go.PathSegment.Bezier,te*a,(re+ee)*y,(te-ee)*a,(re+E)*y,(te-E)*a,(re+ee)*y)),Ce.add(new go.PathSegment(go.PathSegment.Bezier,(te+ee)*a,re*y,(te+E)*a,(re+ee)*y,(te+ee)*a,(re+E)*y)),Ce.add(new go.PathSegment(go.PathSegment.Bezier,te*a,(re-ee)*y,(te+ee)*a,(re-E)*y,(te+E)*a,(re-ee)*y));var Ne=new go.PathFigure((te-ee)*a,re*y,!1);return b.add(Ne),ge(oe),ge(ne),ge(de),ge(pe),ge(be),ge(xe),b.spot1=new go.Spot(.202,.257),b.spot2=new go.Spot(.792,.739),b.defaultStretch=go.GraphObject.Uniform,b}),go.Shape.defineFigureGenerator("GenderFemale",function(ue,a,y){var b=new go.Geometry,E=.375,ee=0,te=-.125,re=E*se,oe=new go.PathFigure((.525+ee)*a,(.5+E+te)*y,!1);b.add(oe),oe.add(new go.PathSegment(go.PathSegment.Bezier,(1-.5+E+ee)*a,(.5+te)*y,(.5+re+ee)*a,(.5+E+te)*y,(.5+E+ee)*a,(.5+re+te)*y)),oe.add(new go.PathSegment(go.PathSegment.Bezier,(.5+ee)*a,(.5-E+te)*y,(1-.5+E+ee)*a,(.5-re+te)*y,(.5+re+ee)*a,(.5-E+te)*y)),oe.add(new go.PathSegment(go.PathSegment.Bezier,(.5-E+ee)*a,(.5+te)*y,(.5-re+ee)*a,(.5-E+te)*y,(.5-E+ee)*a,(.5-re+te)*y)),oe.add(new go.PathSegment(go.PathSegment.Bezier,(.475+ee)*a,(.5+E+te)*y,(.5-E+ee)*a,(.5+re+te)*y,(.5-re+ee)*a,(.5+E+te)*y)),oe.add(new go.PathSegment(go.PathSegment.Line,.475*a,.85*y)),oe.add(new go.PathSegment(go.PathSegment.Line,.425*a,.85*y)),oe.add(new go.PathSegment(go.PathSegment.Line,.425*a,.9*y)),oe.add(new go.PathSegment(go.PathSegment.Line,.475*a,.9*y)),oe.add(new go.PathSegment(go.PathSegment.Line,.475*a,y)),oe.add(new go.PathSegment(go.PathSegment.Line,.525*a,y)),oe.add(new go.PathSegment(go.PathSegment.Line,.525*a,.9*y)),oe.add(new go.PathSegment(go.PathSegment.Line,.575*a,.9*y)),oe.add(new go.PathSegment(go.PathSegment.Line,.575*a,.85*y)),oe.add(new go.PathSegment(go.PathSegment.Line,.525*a,.85*y).close()),E=.325,ee=0,te=-.125,re=E*se;var oe=new go.PathFigure((1-.5+E+ee)*a,(.5+te)*y,!1);b.add(oe),oe.add(new go.PathSegment(go.PathSegment.Bezier,(.5+ee)*a,(.5+E+te)*y,(.5+E+ee)*a,(.5+re+te)*y,(.5+re+ee)*a,(.5+E+te)*y)),oe.add(new go.PathSegment(go.PathSegment.Bezier,(.5-E+ee)*a,(.5+te)*y,(.5-re+ee)*a,(.5+E+te)*y,(.5-E+ee)*a,(.5+re+te)*y)),oe.add(new go.PathSegment(go.PathSegment.Bezier,(.5+ee)*a,(.5-E+te)*y,(.5-E+ee)*a,(.5-re+te)*y,(.5-re+ee)*a,(.5-E+te)*y)),oe.add(new go.PathSegment(go.PathSegment.Bezier,(1-.5+E+ee)*a,(.5+te)*y,(.5+re+ee)*a,(.5-E+te)*y,(1-.5+E+ee)*a,(.5-re+te)*y));var oe=new go.PathFigure((.525+ee)*a,(.5+E+te)*y,!1);return b.add(oe),b.spot1=new go.Spot(.232,.136),b.spot2=new go.Spot(.682,.611),b.defaultStretch=go.GraphObject.Uniform,b}),go.Shape.defineFigureGenerator("LogicImplies",function(ue,a,y){var b=ue?ue.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(ue,a,y){var b=ue?ue.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(ue,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(ue,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(ue,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(ue,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(ue,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(ue,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(ue,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(ue,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(ue,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(ue,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(ue,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 mt("ArrowheadWidth",.3,.01,.99)),go.Shape.setFigureParameter("Arrow",1,new mt("TailHeight",.3,.01,.99)),go.Shape.defineFigureGenerator("Arrow",function(ue,a,y){var b=ue?ue.parameter1:NaN;isNaN(b)&&(b=.3);var E=ue?ue.parameter2:NaN;isNaN(E)&&(E=.3);var ee=(1-b)*a,te=(.5-E/2)*y,re=(.5+E/2)*y,oe=new go.Geometry,ne=new go.PathFigure(0,te,!0);oe.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,ee,te)),ne.add(new go.PathSegment(go.PathSegment.Line,ee,0)),ne.add(new go.PathSegment(go.PathSegment.Line,a,.5*y)),ne.add(new go.PathSegment(go.PathSegment.Line,ee,y)),ne.add(new go.PathSegment(go.PathSegment.Line,ee,re)),ne.add(new go.PathSegment(go.PathSegment.Line,0,re).close()),oe.spot1=new go.Spot(0,te/y);var de=he(0,re/y,1,re/y,ee/a,1,1,.5,x());return oe.spot2=new go.Spot(de.x,de.y),ge(de),oe}),go.Shape.setFigureParameter("Arrow2",0,new mt("ArrowheadWidth",30)),go.Shape.setFigureParameter("Arrow2",0,new mt("TailHeight",30)),go.Shape.defineFigureGenerator("Arrow2",function(ue,a,y){var b=ue?ue.parameter1:NaN;isNaN(b)&&(b=30),b>a&&(b=a);var E=ue?ue.parameter2:NaN;isNaN(E)&&(E=30),E=Math.min(E,y/2);var ee=a-b,te=(y-E)/2,re=te+E,oe=new go.Geometry,ne=new go.PathFigure(0,te,!0);oe.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,ee,te)),ne.add(new go.PathSegment(go.PathSegment.Line,ee,0)),ne.add(new go.PathSegment(go.PathSegment.Line,a,.5*y)),ne.add(new go.PathSegment(go.PathSegment.Line,ee,y)),ne.add(new go.PathSegment(go.PathSegment.Line,ee,re)),ne.add(new go.PathSegment(go.PathSegment.Line,0,re).close()),oe.spot1=new go.Spot(0,te/y);var de=he(0,re/y,1,re/y,ee/a,1,1,.5,x());return oe.spot2=new go.Spot(de.x,de.y),ge(de),oe}),go.Shape.defineFigureGenerator("Chevron",function(ue,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(ue,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 mt("ConnecterHeight",.3,.01,.99)),go.Shape.defineFigureGenerator("DoubleEndArrow",function(ue,a,y){var b=ue?ue.parameter1:NaN;isNaN(b)&&(b=.3);var E=(.5-b/2)*y,ee=(.5+b/2)*y,te=new go.Geometry,re=new go.PathFigure(a,.5*y,!0);te.add(re),re.add(new go.PathSegment(go.PathSegment.Line,.7*a,y)),re.add(new go.PathSegment(go.PathSegment.Line,.7*a,ee)),re.add(new go.PathSegment(go.PathSegment.Line,.3*a,ee)),re.add(new go.PathSegment(go.PathSegment.Line,.3*a,y)),re.add(new go.PathSegment(go.PathSegment.Line,0,.5*y)),re.add(new go.PathSegment(go.PathSegment.Line,.3*a,0)),re.add(new go.PathSegment(go.PathSegment.Line,.3*a,E)),re.add(new go.PathSegment(go.PathSegment.Line,.7*a,E)),re.add(new go.PathSegment(go.PathSegment.Line,.7*a,0).close());var oe=he(0,.5,.3,0,0,E/y,.1,E/y,x());return te.spot1=new go.Spot(oe.x,oe.y),oe=he(.7,1,1,.5,0,ee/y,1,ee/y,oe),te.spot2=new go.Spot(oe.x,oe.y),ge(oe),te}),go.Shape.setFigureParameter("DoubleEndArrow2",0,new mt("ConnecterHeight",40)),go.Shape.setFigureParameter("DoubleEndArrow2",1,new mt("ArrowHeight",100)),go.Shape.defineFigureGenerator("DoubleEndArrow2",function(ue,a,y){var b=ue?ue.parameter1:NaN;isNaN(b)&&(b=40);var E=ue?ue.parameter2:NaN;isNaN(E)&&(E=100);var ee=(y-b)/2,te=ee+b,re=(y-E)/2,oe=re+E;(b>y||E>y)&&(E>b?(b=b*y/E,ee=(y-b)/2,te=ee+b,re=0,oe=y):(ee=0,te=y,re=0,oe=y));var ne=new go.Geometry,de=new go.PathFigure(a,.5*y,!0);ne.add(de),de.add(new go.PathSegment(go.PathSegment.Line,.7*a,oe)),de.add(new go.PathSegment(go.PathSegment.Line,.7*a,te)),de.add(new go.PathSegment(go.PathSegment.Line,.3*a,te)),de.add(new go.PathSegment(go.PathSegment.Line,.3*a,oe)),de.add(new go.PathSegment(go.PathSegment.Line,0,.5*y)),de.add(new go.PathSegment(go.PathSegment.Line,.3*a,re)),de.add(new go.PathSegment(go.PathSegment.Line,.3*a,ee)),de.add(new go.PathSegment(go.PathSegment.Line,.7*a,ee)),de.add(new go.PathSegment(go.PathSegment.Line,.7*a,re).close());var pe=he(0,.5,.3,re/y,0,ee/y,1,ee/y,x());return ne.spot1=new go.Spot(pe.x,pe.y),pe=he(.7,oe/y,1,.5,0,te/y,1,te/y,pe),ne.spot2=new go.Spot(pe.x,pe.y),ge(pe),ne}),go.Shape.setFigureParameter("IBeamArrow",0,new mt("ConnectorHeight",.7,.51,.97)),go.Shape.defineFigureGenerator("IBeamArrow",function(ue,a,y){var b=ue?ue.parameter1:NaN;isNaN(b)&&(b=.3);var E=(.5-b/2)*y,ee=(.5+b/2)*y,te=new go.Geometry,re=new go.PathFigure(a,.5*y,!0);te.add(re),re.add(new go.PathSegment(go.PathSegment.Line,.7*a,y)),re.add(new go.PathSegment(go.PathSegment.Line,.7*a,ee)),re.add(new go.PathSegment(go.PathSegment.Line,.2*a,ee)),re.add(new go.PathSegment(go.PathSegment.Line,.2*a,y)),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,.2*a,0)),re.add(new go.PathSegment(go.PathSegment.Line,.2*a,E)),re.add(new go.PathSegment(go.PathSegment.Line,.7*a,E)),re.add(new go.PathSegment(go.PathSegment.Line,.7*a,0).close()),te.spot1=new go.Spot(0,E/y);var oe=he(.7,1,1,.5,0,ee/y,1,ee/y,x());return te.spot2=new go.Spot(oe.x,oe.y),ge(oe),te}),go.Shape.setFigureParameter("IBeamArrow2",0,new mt("ConnectorHeight",40)),go.Shape.setFigureParameter("IBeamArrow2",1,new mt("BeamArrowHeight",100)),go.Shape.defineFigureGenerator("IBeamArrow2",function(ue,a,y){var b=ue?ue.parameter1:NaN;isNaN(b)&&(b=40);var E=ue?ue.parameter2:NaN;isNaN(E)&&(E=100);var ee=(y-b)/2,te=ee+b,re=(y-E)/2,oe=re+E;(b>y||E>y)&&(E>b?(b=b*y/E,ee=(y-b)/2,te=ee+b,re=0,oe=y):(ee=0,te=y,re=0,oe=y));var ne=new go.Geometry,de=new go.PathFigure(a,.5*y,!0);ne.add(de),de.add(new go.PathSegment(go.PathSegment.Line,.7*a,oe)),de.add(new go.PathSegment(go.PathSegment.Line,.7*a,te)),de.add(new go.PathSegment(go.PathSegment.Line,.2*a,te)),de.add(new go.PathSegment(go.PathSegment.Line,.2*a,oe)),de.add(new go.PathSegment(go.PathSegment.Line,0,oe)),de.add(new go.PathSegment(go.PathSegment.Line,0,re)),de.add(new go.PathSegment(go.PathSegment.Line,.2*a,re)),de.add(new go.PathSegment(go.PathSegment.Line,.2*a,ee)),de.add(new go.PathSegment(go.PathSegment.Line,.7*a,ee)),de.add(new go.PathSegment(go.PathSegment.Line,.7*a,re).close()),ne.spot1=new go.Spot(0,ee/y);var pe=he(.7,oe/y,1,.5,0,te/y,1,te/y,x());return ne.spot2=new go.Spot(pe.x,pe.y),ge(pe),ne}),go.Shape.setFigureParameter("Pointer",0,new mt("BackPoint",.1,0,.2)),go.Shape.defineFigureGenerator("Pointer",function(ue,a,y){var b=ue?ue.parameter1:NaN;isNaN(b)&&(b=.1);var E=new go.Geometry,ee=new go.PathFigure(a,.5*y,!0);E.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,0,y)),ee.add(new go.PathSegment(go.PathSegment.Line,b*a,.5*y)),ee.add(new go.PathSegment(go.PathSegment.Line,0,0).close()),E.spot1=new go.Spot(b,.35);var te=he(.2,.65,1,.65,0,1,1,.5,x());return E.spot2=new go.Spot(te.x,te.y),ge(te),E}),go.Shape.setFigureParameter("RoundedPointer",0,new mt("RoundedEdge",.3,0,.5)),go.Shape.defineFigureGenerator("RoundedPointer",function(ue,a,y){var b=ue?ue.parameter1:NaN;isNaN(b)&&(b=.3);var E=new go.Geometry,ee=new go.PathFigure(a,.5*y,!0);E.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,0,y)),ee.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=he(0,.65,1,.65,0,1,1,.5,x());return E.spot2=new go.Spot(te.x,te.y),ge(te),E}),go.Shape.setFigureParameter("SplitEndArrow",0,new mt("TailHeight",.4,.01,.99)),go.Shape.defineFigureGenerator("SplitEndArrow",function(ue,a,y){var b=ue?ue.parameter1:NaN;isNaN(b)&&(b=.4);var E=(.5-b/2)*y,ee=(.5+b/2)*y,te=new go.Geometry,re=new go.PathFigure(a,.5*y,!0);te.add(re),re.add(new go.PathSegment(go.PathSegment.Line,.7*a,y)),re.add(new go.PathSegment(go.PathSegment.Line,.7*a,ee)),re.add(new go.PathSegment(go.PathSegment.Line,0,ee)),re.add(new go.PathSegment(go.PathSegment.Line,.2*a,.5*y)),re.add(new go.PathSegment(go.PathSegment.Line,0,E)),re.add(new go.PathSegment(go.PathSegment.Line,.7*a,E)),re.add(new go.PathSegment(go.PathSegment.Line,.7*a,0).close()),te.spot1=new go.Spot(.2,.3);var oe=he(.7,1,1,.5,0,ee/y,1,ee/y,x());return te.spot2=new go.Spot(oe.x,oe.y),ge(oe),te}),go.Shape.setFigureParameter("SplitEndArrow2",0,new mt("TailThickness",50)),go.Shape.defineFigureGenerator("SplitEndArrow2",function(ue,a,y){var b=ue?ue.parameter1:NaN;isNaN(b)&&(b=50);var E=(y-b)/2,ee=E+b;b>y&&(E=0,ee=y);var te=new go.Geometry,re=new go.PathFigure(a,.5*y,!0);te.add(re),re.add(new go.PathSegment(go.PathSegment.Line,.7*a,y)),re.add(new go.PathSegment(go.PathSegment.Line,.7*a,ee)),re.add(new go.PathSegment(go.PathSegment.Line,0,ee)),re.add(new go.PathSegment(go.PathSegment.Line,.2*a,.5*y)),re.add(new go.PathSegment(go.PathSegment.Line,0,E)),re.add(new go.PathSegment(go.PathSegment.Line,.7*a,E)),re.add(new go.PathSegment(go.PathSegment.Line,.7*a,0).close()),te.spot1=new go.Spot(.2,E/y);var oe=he(.7,1,1,.5,0,ee/y,1,ee/y,x());return te.spot2=new go.Spot(oe.x,oe.y),ge(oe),te}),go.Shape.setFigureParameter("SquareArrow",0,new mt("ArrowPoint",.7,.2,.9)),go.Shape.defineFigureGenerator("SquareArrow",function(ue,a,y){var b=ue?ue.parameter1:NaN;isNaN(b)&&(b=.7);var E=new go.Geometry,ee=new go.PathFigure(a,.5*y,!0);return E.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,b*a,y)),ee.add(new go.PathSegment(go.PathSegment.Line,0,y)),ee.add(new go.PathSegment(go.PathSegment.Line,0,0)),ee.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(ue,a,y){var b=new go.Geometry,E=se*.5,ee=se*.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+ee)*y,(.5+E)*a,y)),te.add(new go.PathSegment(go.PathSegment.Bezier,0,.9*y,(.5-E)*a,y,0,(.9+ee)*y).close()),b.spot1=new go.Spot(.25,.5),b.spot2=new go.Spot(.75,.97),b}),go.Shape.defineFigureGenerator("Cone2",function(ue,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 ee=new go.PathFigure(0,.9*y,!1);return b.add(ee),ee.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(ue,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 ee=new go.PathFigure(.5*a,y,!1);return b.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,.5*a,.3*y)),ee.add(new go.PathSegment(go.PathSegment.Line,0,.15*y)),ee.add(new go.PathSegment(go.PathSegment.Move,.5*a,.3*y)),ee.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(ue,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 ee=new go.PathFigure(0,.3*y,!1);return b.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,.7*a,.3*y)),ee.add(new go.PathSegment(go.PathSegment.Line,a,0)),ee.add(new go.PathSegment(go.PathSegment.Move,.7*a,.3*y)),ee.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(ue,a,y){var b=ue?ue.parameter1:NaN;isNaN(b)&&(b=5),b=Math.min(b,y/3);var E=new go.Geometry,ee=se*.5,te=new go.PathFigure(0,b,!0);E.add(te),te.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,0,0,se*b,(.5-ee)*a,0)),te.add(new go.PathSegment(go.PathSegment.Bezier,1*a,b,(.5+ee)*a,0,1*a,se*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-se*b,(.5+ee)*a,1*y)),te.add(new go.PathSegment(go.PathSegment.Bezier,0,y-b,(.5-ee)*a,1*y,0,y-se*b)),te.add(new go.PathSegment(go.PathSegment.Line,0,b));var re=new go.PathFigure(a,b,!1);return E.add(re),re.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,2*b,1*a,2*b-se*b,(.5+ee)*a,2*b)),re.add(new go.PathSegment(go.PathSegment.Bezier,0,b,(.5-ee)*a,2*b,0,2*b-se*b)),E.spot1=new go.Spot(0,0,0,2*b),E.spot2=new go.Spot(1,1),E}),go.Shape.defineFigureGenerator("Cylinder2",function(ue,a,y){var b=ue?ue.parameter1:NaN;isNaN(b)&&(b=5),b=Math.min(b,y/3);var E=new go.Geometry,ee=se*.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,se*b,(.5-ee)*a,0)),te.add(new go.PathSegment(go.PathSegment.Bezier,a,b,(.5+ee)*a,0,a,se*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-se*b,(.5+ee)*a,y)),te.add(new go.PathSegment(go.PathSegment.Bezier,0,y-b,(.5-ee)*a,y,0,y-se*b));var re=new go.PathFigure(0,y-b,!1);return E.add(re),re.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,y-2*b,0,y-b-se*b,(.5-ee)*a,y-2*b)),re.add(new go.PathSegment(go.PathSegment.Bezier,a,y-b,(.5+ee)*a,y-2*b,a,y-b-se*b)),E.spot1=new go.Spot(0,0),E.spot2=new go.Spot(1,1,0,-2*b),E}),go.Shape.defineFigureGenerator("Cylinder3",function(ue,a,y){var b=ue?ue.parameter1:NaN;isNaN(b)&&(b=5),b=Math.min(b,a/3);var E=new go.Geometry,ee=se*.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-se*b,0,a,(.5-ee)*y)),te.add(new go.PathSegment(go.PathSegment.Bezier,a-b,y,a,(.5+ee)*y,a-se*b,y)),te.add(new go.PathSegment(go.PathSegment.Line,b,y)),te.add(new go.PathSegment(go.PathSegment.Bezier,0,.5*y,se*b,y,0,(.5+ee)*y)),te.add(new go.PathSegment(go.PathSegment.Bezier,b,0,0,(.5-ee)*y,se*b,0));var re=new go.PathFigure(b,0,!1);return E.add(re),re.add(new go.PathSegment(go.PathSegment.Bezier,2*b,.5*y,b+se*b,0,2*b,(.5-ee)*y)),re.add(new go.PathSegment(go.PathSegment.Bezier,b,y,2*b,(.5+ee)*y,b+se*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(ue,a,y){var b=ue?ue.parameter1:NaN;isNaN(b)&&(b=5),b=Math.min(b,a/3);var E=new go.Geometry,ee=se*.5,te=new go.PathFigure(a-b,0,!0);E.add(te),te.add(new go.PathSegment(go.PathSegment.Bezier,a,.5*y,a-se*b,0,a,(.5-ee)*y)),te.add(new go.PathSegment(go.PathSegment.Bezier,a-b,y,a,(.5+ee)*y,a-se*b,y)),te.add(new go.PathSegment(go.PathSegment.Line,b,y)),te.add(new go.PathSegment(go.PathSegment.Bezier,0,.5*y,se*b,y,0,(.5+ee)*y)),te.add(new go.PathSegment(go.PathSegment.Bezier,b,0,0,(.5-ee)*y,se*b,0)),te.add(new go.PathSegment(go.PathSegment.Line,a-b,0));var re=new go.PathFigure(a-b,0,!1);return E.add(re),re.add(new go.PathSegment(go.PathSegment.Bezier,a-2*b,.5*y,a-b-se*b,0,a-2*b,(.5-ee)*y)),re.add(new go.PathSegment(go.PathSegment.Bezier,a-b,y,a-2*b,(.5+ee)*y,a-b-se*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(ue,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 ee=new go.PathFigure(.25*a,.25*y,!1);return b.add(ee),ee.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(ue,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 ee=new go.PathFigure(0,y,!1);return b.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,.25*a,.5*y)),ee.add(new go.PathSegment(go.PathSegment.Line,a,.25*y)),ee.add(new go.PathSegment(go.PathSegment.Move,0,.25*y)),ee.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(ue,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 ee=new go.PathFigure(.5*a,0,!1);return b.add(ee),ee.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(ue,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 ee=new go.PathFigure(.5*a,0,!1);return b.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,.5*a,.7*y)),ee.add(new go.PathSegment(go.PathSegment.Line,0,.85*y)),ee.add(new go.PathSegment(go.PathSegment.Move,.5*a,.7*y)),ee.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(ue,a,y){var b=new go.Geometry,E=.2,ee=.1,te=se*E,re=se*ee,oe=.5,ne=.1,de=new go.PathFigure(oe*a,(ne+ee)*y,!0);b.add(de),de.add(new go.PathSegment(go.PathSegment.Bezier,(oe-E)*a,ne*y,(oe-te)*a,(ne+ee)*y,(oe-E)*a,(ne+re)*y)),de.add(new go.PathSegment(go.PathSegment.Bezier,oe*a,(ne-ee)*y,(oe-E)*a,(ne-re)*y,(oe-te)*a,(ne-ee)*y)),de.add(new go.PathSegment(go.PathSegment.Bezier,(oe+E)*a,ne*y,(oe+te)*a,(ne-ee)*y,(oe+E)*a,(ne-re)*y)),de.add(new go.PathSegment(go.PathSegment.Bezier,oe*a,(ne+ee)*y,(oe+E)*a,(ne+re)*y,(oe+te)*a,(ne+ee)*y));var pe=.05,Ee=se*pe;oe=.05,ne=.25;var be=new go.PathFigure(.5*a,.2*y,!0);return b.add(be),be.add(new go.PathSegment(go.PathSegment.Line,.95*a,.2*y)),oe=.95,ne=.25,be.add(new go.PathSegment(go.PathSegment.Bezier,(oe+pe)*a,ne*y,(oe+Ee)*a,(ne-pe)*y,(oe+pe)*a,(ne-Ee)*y)),be.add(new go.PathSegment(go.PathSegment.Line,a,.6*y)),be.add(new go.PathSegment(go.PathSegment.Line,.85*a,.6*y)),be.add(new go.PathSegment(go.PathSegment.Line,.85*a,.35*y)),pe=.025,Ee=se*pe,oe=.825,ne=.35,be.add(new go.PathSegment(go.PathSegment.Bezier,oe*a,(ne-pe)*y,(oe+pe)*a,(ne-Ee)*y,(oe+Ee)*a,(ne-pe)*y)),be.add(new go.PathSegment(go.PathSegment.Bezier,(oe-pe)*a,ne*y,(oe-Ee)*a,(ne-pe)*y,(oe-pe)*a,(ne-Ee)*y)),be.add(new go.PathSegment(go.PathSegment.Line,.8*a,y)),be.add(new go.PathSegment(go.PathSegment.Line,.55*a,y)),be.add(new go.PathSegment(go.PathSegment.Line,.55*a,.7*y)),pe=.05,Ee=se*pe,oe=.5,ne=.7,be.add(new go.PathSegment(go.PathSegment.Bezier,oe*a,(ne-pe)*y,(oe+pe)*a,(ne-Ee)*y,(oe+Ee)*a,(ne-pe)*y)),be.add(new go.PathSegment(go.PathSegment.Bezier,(oe-pe)*a,ne*y,(oe-Ee)*a,(ne-pe)*y,(oe-pe)*a,(ne-Ee)*y)),be.add(new go.PathSegment(go.PathSegment.Line,.45*a,y)),be.add(new go.PathSegment(go.PathSegment.Line,.2*a,y)),be.add(new go.PathSegment(go.PathSegment.Line,.2*a,.35*y)),pe=.025,Ee=se*pe,oe=.175,ne=.35,be.add(new go.PathSegment(go.PathSegment.Bezier,oe*a,(ne-pe)*y,(oe+pe)*a,(ne-Ee)*y,(oe+Ee)*a,(ne-pe)*y)),be.add(new go.PathSegment(go.PathSegment.Bezier,(oe-pe)*a,ne*y,(oe-Ee)*a,(ne-pe)*y,(oe-pe)*a,(ne-Ee)*y)),be.add(new go.PathSegment(go.PathSegment.Line,.15*a,.6*y)),be.add(new go.PathSegment(go.PathSegment.Line,0,.6*y)),be.add(new go.PathSegment(go.PathSegment.Line,0,.25*y)),pe=.05,Ee=se*pe,oe=.05,ne=.25,be.add(new go.PathSegment(go.PathSegment.Bezier,oe*a,(ne-pe)*y,(oe-pe)*a,(ne-Ee)*y,(oe-Ee)*a,(ne-pe)*y)),be.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 mt("CornerCutoutSize",.2,.1,.9)),go.Shape.defineFigureGenerator("Card",function(ue,a,y){var b=ue?ue.parameter1:NaN;isNaN(b)&&(b=.2);var E=new go.Geometry,ee=new go.PathFigure(a,0,!0);return E.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,a,y)),ee.add(new go.PathSegment(go.PathSegment.Line,0,y)),ee.add(new go.PathSegment(go.PathSegment.Line,0,b*y)),ee.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(ue,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 ee=new go.PathFigure(.5*a,.5*y,!0);return b.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,a,y)),ee.add(new go.PathSegment(go.PathSegment.Line,0,y)),ee.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(ue,a,y){var b=new go.Geometry,E=ue?ue.parameter1:NaN;isNaN(E)&&(E=.1);var ee=new go.PathFigure(0,0,!0);b.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,a,0)),ee.add(new go.PathSegment(go.PathSegment.Line,a,y)),ee.add(new go.PathSegment(go.PathSegment.Line,0,y).close());var 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(ue,a,y){var b=new go.Geometry,E=se*.5,ee=se*.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+ee)*y,(.5+E)*a,y)),te.add(new go.PathSegment(go.PathSegment.Bezier,0,.9*y,(.5-E)*a,y,0,(.9+ee)*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-ee)*y,(.5-E)*a,0)),te.add(new go.PathSegment(go.PathSegment.Bezier,a,.1*y,(.5+E)*a,0,a,(.1-ee)*y));var re=new go.PathFigure(a,.1*y,!1);return b.add(re),re.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.2*y,a,(.1+ee)*y,(.5+E)*a,.2*y)),re.add(new go.PathSegment(go.PathSegment.Bezier,0,.1*y,(.5-E)*a,.2*y,0,(.1+ee)*y)),re.add(new go.PathSegment(go.PathSegment.Move,a,.2*y)),re.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.3*y,a,(.2+ee)*y,(.5+E)*a,.3*y)),re.add(new go.PathSegment(go.PathSegment.Bezier,0,.2*y,(.5-E)*a,.3*y,0,(.2+ee)*y)),re.add(new go.PathSegment(go.PathSegment.Move,a,.3*y)),re.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.4*y,a,(.3+ee)*y,(.5+E)*a,.4*y)),re.add(new go.PathSegment(go.PathSegment.Bezier,0,.3*y,(.5-E)*a,.4*y,0,(.3+ee)*y)),b.spot1=new go.Spot(0,.4),b.spot2=new go.Spot(1,.9),b}),go.Shape.defineFigureGenerator("DataStorage",function(ue,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(ue,a,y){var b=new go.Geometry,E=se*.5,ee=se*.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+ee)*y,(.5+E)*a,y)),te.add(new go.PathSegment(go.PathSegment.Bezier,0,.9*y,(.5-E)*a,y,0,(.9+ee)*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-ee)*y,(.5-E)*a,0)),te.add(new go.PathSegment(go.PathSegment.Bezier,a,.1*y,(.5+E)*a,0,a,(.1-ee)*y));var re=new go.PathFigure(a,.1*y,!1);return b.add(re),re.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.2*y,a,(.1+ee)*y,(.5+E)*a,.2*y)),re.add(new go.PathSegment(go.PathSegment.Bezier,0,.1*y,(.5-E)*a,.2*y,0,(.1+ee)*y)),re.add(new go.PathSegment(go.PathSegment.Move,a,.2*y)),re.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.3*y,a,(.2+ee)*y,(.5+E)*a,.3*y)),re.add(new go.PathSegment(go.PathSegment.Bezier,0,.2*y,(.5-E)*a,.3*y,0,(.2+ee)*y)),b.spot1=new go.Spot(0,.3),b.spot2=new go.Spot(1,.9),b}),go.Shape.defineFigureGenerator("Display",function(ue,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(ue,a,y){var b=new go.Geometry,E=ue?ue.parameter1:NaN;isNaN(E)?E=.2:E<.15&&(E=.15);var ee=se*.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-ee)*y,(.2-ee)*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+ee)*a,0,a,(.2-ee)*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+ee)*y,(.8+ee)*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-ee)*a,y,0,(.8+ee)*y)),te.add(new go.PathSegment(go.PathSegment.Line,0,.2*y));var re=new go.PathFigure(0,E*y,!1);return b.add(re),re.add(new go.PathSegment(go.PathSegment.Line,a,E*y)),b}),go.Shape.defineFigureGenerator("DividedProcess",function(ue,a,y){var b=new go.Geometry,E=ue?ue.parameter1:NaN;(isNaN(E)||E<.1)&&(E=.1);var ee=new go.PathFigure(0,0,!0);b.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,a,0)),ee.add(new go.PathSegment(go.PathSegment.Line,a,y)),ee.add(new go.PathSegment(go.PathSegment.Line,0,y).close());var 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(ue,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(ue,a,y){var b=new go.Geometry,E=ue?ue.parameter1:NaN;(isNaN(E)||E<.2)&&(E=.2);var ee=new go.PathFigure(0,0,!0);b.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,a,0)),ee.add(new go.PathSegment(go.PathSegment.Line,a,y)),ee.add(new go.PathSegment(go.PathSegment.Line,0,y).close());var 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(ue,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 ee=new go.PathFigure(.1*a,.4*y,!1);return b.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,.1*a,.6*y)),ee.add(new go.PathSegment(go.PathSegment.Move,.9*a,.6*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.9*a,.4*y)),ee.add(new go.PathSegment(go.PathSegment.Move,.6*a,.1*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.4*a,.1*y)),ee.add(new go.PathSegment(go.PathSegment.Move,.4*a,.9*y)),ee.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(ue,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 ee=new go.PathFigure(.75*a,0,!1);return b.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,.75*a,.25*y)),ee.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(ue,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 ee=new go.PathFigure(a,.5*y,!1);b.add(ee),ee.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(ue,a,y){var b=new go.Geometry,E=ue?ue.parameter1:NaN,ee=ue?ue.parameter2:NaN;isNaN(E)&&(E=.1),isNaN(ee)&&(ee=.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 re=new go.PathFigure(E*a,0,!1);return b.add(re),re.add(new go.PathSegment(go.PathSegment.Line,E*a,y)),re.add(new go.PathSegment(go.PathSegment.Move,0,ee*y)),re.add(new go.PathSegment(go.PathSegment.Line,a,ee*y)),b}),go.Shape.defineFigureGenerator("Junction",function(ue,a,y){var b=new go.Geometry,E=1/Math.SQRT2,ee=(1-1/Math.SQRT2)/2,te=se*.5,re=.5,oe=new go.PathFigure(a,re*y,!0);b.add(oe),oe.add(new go.PathSegment(go.PathSegment.Bezier,re*a,y,a,(re+te)*y,(re+te)*a,y)),oe.add(new go.PathSegment(go.PathSegment.Bezier,0,re*y,(re-te)*a,y,0,(re+te)*y)),oe.add(new go.PathSegment(go.PathSegment.Bezier,re*a,0,0,(re-te)*y,(re-te)*a,0)),oe.add(new go.PathSegment(go.PathSegment.Bezier,a,re*y,(re+te)*a,0,a,(re-te)*y));var ne=new go.PathFigure((ee+E)*a,(ee+E)*y,!1);return b.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,ee*a,ee*y)),ne.add(new go.PathSegment(go.PathSegment.Move,ee*a,(ee+E)*y)),ne.add(new go.PathSegment(go.PathSegment.Line,(ee+E)*a,ee*y)),b}),go.Shape.defineFigureGenerator("LinedDocument",function(ue,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 ee=new go.PathFigure(.1*a,0,!1);return b.add(ee),ee.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(ue,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(ue,a,y){var b=new go.Geometry,E=se*.5,ee=.5,te=new go.PathFigure(.5*a,y,!0);return b.add(te),te.add(new go.PathSegment(go.PathSegment.Bezier,0,ee*y,(ee-E)*a,y,0,(ee+E)*y)),te.add(new go.PathSegment(go.PathSegment.Bezier,ee*a,0,0,(ee-E)*y,(ee-E)*a,0)),te.add(new go.PathSegment(go.PathSegment.Bezier,a,ee*y,(ee+E)*a,0,a,(ee-E)*y)),te.add(new go.PathSegment(go.PathSegment.Bezier,(ee+.1)*a,.9*y,a,(ee+E)*y,(ee+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(ue,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(ue,a,y){var b=new go.Geometry,E=ue?ue.parameter1:NaN;isNaN(E)&&(E=.7);var ee=new go.PathFigure(0,0,!0);return b.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,a,0)),ee.add(new go.PathSegment(go.PathSegment.Line,E*a,.5*y)),ee.add(new go.PathSegment(go.PathSegment.Line,a,y)),ee.add(new go.PathSegment(go.PathSegment.Line,0,y).close()),b.spot1=go.Spot.TopLeft,b}),go.Shape.defineFigureGenerator("MicroformProcessing",function(ue,a,y){var b=new go.Geometry,E=ue?ue.parameter1:NaN;isNaN(E)&&(E=.25);var ee=new go.PathFigure(0,0,!0);return b.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,.5*a,E*y)),ee.add(new go.PathSegment(go.PathSegment.Line,a,0)),ee.add(new go.PathSegment(go.PathSegment.Line,a,y)),ee.add(new go.PathSegment(go.PathSegment.Line,.5*a,(1-E)*y)),ee.add(new go.PathSegment(go.PathSegment.Line,0,y).close()),b}),go.Shape.defineFigureGenerator("MicroformRecording",function(ue,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(ue,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 ee=new go.PathFigure(.1*a,.2*y,!1);return b.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,.8*a,.2*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.8*a,.54*y)),ee.add(new go.PathSegment(go.PathSegment.Move,.2*a,.1*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.9*a,.1*y)),ee.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(ue,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 ee=new go.PathFigure(.2*a,.1*y,!1);return b.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,.9*a,.1*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.9*a,.8*y)),ee.add(new go.PathSegment(go.PathSegment.Move,.1*a,.2*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.8*a,.2*y)),ee.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(ue,a,y){var b=new go.Geometry,E=ue?ue.parameter1:NaN;isNaN(E)&&(E=.1);var ee=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 re=new go.PathFigure(.5*E*a,E*y,!1);return b.add(re),re.add(new go.PathSegment(go.PathSegment.Line,(1-.5*E)*a,E*y)),b}),go.Shape.defineFigureGenerator("OffPageConnector",function(ue,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(ue,a,y){var b=new go.Geometry,E=se*.5,ee=.5,te=new go.PathFigure(a,ee*y,!0);b.add(te),te.add(new go.PathSegment(go.PathSegment.Bezier,ee*a,y,a,(ee+E)*y,(ee+E)*a,y)),te.add(new go.PathSegment(go.PathSegment.Bezier,0,ee*y,(ee-E)*a,y,0,(ee+E)*y)),te.add(new go.PathSegment(go.PathSegment.Bezier,ee*a,0,0,(ee-E)*y,(ee-E)*a,0)),te.add(new go.PathSegment(go.PathSegment.Bezier,a,ee*y,(ee+E)*a,0,a,(ee-E)*y));var re=new go.PathFigure(a,.5*y,!1);return b.add(re),re.add(new go.PathSegment(go.PathSegment.Line,0,.5*y)),re.add(new go.PathSegment(go.PathSegment.Move,.5*a,y)),re.add(new go.PathSegment(go.PathSegment.Line,.5*a,0)),b}),go.Shape.defineFigureGenerator("PaperTape",function(ue,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(ue,a,y){var b=new go.Geometry,E=ue?ue.parameter1:NaN,ee=ue?ue.parameter2:NaN;isNaN(E)&&(E=.1),isNaN(ee)&&(ee=.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-ee)*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(ue,a,y){var b=new go.Geometry,E=ue?ue.parameter1:NaN,ee=ue?ue.parameter2:NaN;isNaN(E)&&(E=.1),isNaN(ee)&&(ee=.3);var te=new go.PathFigure(0,0,!0);return b.add(te),te.add(new go.PathSegment(go.PathSegment.Line,(1-ee)*a,0)),te.add(new go.PathSegment(go.PathSegment.Line,a,.5*y)),te.add(new go.PathSegment(go.PathSegment.Line,(1-ee)*a,y)),te.add(new go.PathSegment(go.PathSegment.Line,0,y).close()),b}),go.Shape.defineFigureGenerator("Procedure",function(ue,a,y){var b=new go.Geometry,E=ue?ue.parameter1:NaN;isNaN(E)&&(E=.1);var ee=new go.PathFigure(0,0,!0);b.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,a,0)),ee.add(new go.PathSegment(go.PathSegment.Line,a,y)),ee.add(new go.PathSegment(go.PathSegment.Line,0,y).close());var 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(ue,a,y){var b=new go.Geometry,E=ue?ue.parameter1:NaN;isNaN(E)&&(E=.1);var ee=new go.PathFigure(0,0,!0);b.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,a,0)),ee.add(new go.PathSegment(go.PathSegment.Line,a,y)),ee.add(new go.PathSegment(go.PathSegment.Line,0,y).close());var 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(ue,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 ee=new go.PathFigure(0,.5*y,!1);return b.add(ee),ee.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(ue,a,y){var b=new go.Geometry,E=ue?ue.parameter1:NaN;isNaN(E)&&(E=.25);var ee=new go.PathFigure(E*a,0,!0);b.add(ee),ee.add(new go.PathSegment(go.PathSegment.Arc,270,180,.75*a,.5*y,.25*a,.5*y)),ee.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(ue,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(ue,a,y){var b=new go.Geometry,E=ue?ue.parameter1:NaN;isNaN(E)&&(E=.1);var ee=new go.PathFigure(0,0,!0);return b.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,a,0)),ee.add(new go.PathSegment(go.PathSegment.Line,a,y)),ee.add(new go.PathSegment(go.PathSegment.Line,.75*a,(1-E)*y)),ee.add(new go.PathSegment(go.PathSegment.Line,0,(1-E)*y).close()),b.spot1=go.Spot.TopLeft,b}),go.Shape.defineFigureGenerator("AndGate",function(ue,a,y){var b=new go.Geometry,E=se*.5,ee=new go.PathFigure(0,0,!0);return b.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,.5*a,0)),ee.add(new go.PathSegment(go.PathSegment.Bezier,a,.5*y,(.5+E)*a,0,a,(.5-E)*y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,y,a,(.5+E)*y,(.5+E)*a,y)),ee.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(ue,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(ue,a,y){var b=new go.Geometry,E=se*.5,ee=.5,te=new go.PathFigure(a,ee*y,!0);b.add(te),te.add(new go.PathSegment(go.PathSegment.Bezier,ee*a,y,a,(ee+E)*y,(ee+E)*a,y)),te.add(new go.PathSegment(go.PathSegment.Bezier,0,ee*y,(ee-E)*a,y,0,(ee+E)*y)),te.add(new go.PathSegment(go.PathSegment.Bezier,ee*a,0,0,(ee-E)*y,(ee-E)*a,0)),te.add(new go.PathSegment(go.PathSegment.Bezier,a,ee*y,(ee+E)*a,0,a,(ee-E)*y));var re=new go.PathFigure(a,ee*y,!1);b.add(re),re.add(new go.PathSegment(go.PathSegment.Line,a,ee*y));var oe=new go.PathFigure(.8*a,.75*y,!1);return b.add(oe),oe.add(new go.PathSegment(go.PathSegment.Line,.8*a,.25*y)),oe.add(new go.PathSegment(go.PathSegment.Line,.6*a,.25*y)),oe.add(new go.PathSegment(go.PathSegment.Line,.6*a,.75*y)),oe.add(new go.PathSegment(go.PathSegment.Line,.4*a,.75*y)),oe.add(new go.PathSegment(go.PathSegment.Line,.4*a,.25*y)),oe.add(new go.PathSegment(go.PathSegment.Line,.2*a,.25*y)),oe.add(new go.PathSegment(go.PathSegment.Line,.2*a,.75*y)),b}),go.Shape.defineFigureGenerator("Ground",function(ue,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(ue,a,y){var b=new go.Geometry,E=se*.1,ee=.1,te=.9,re=.5,oe=new go.PathFigure(.8*a,.5*y,!0);b.add(oe),oe.add(new go.PathSegment(go.PathSegment.Line,0,y)),oe.add(new go.PathSegment(go.PathSegment.Line,0,0)),oe.add(new go.PathSegment(go.PathSegment.Line,.8*a,.5*y));var ne=new go.PathFigure((te+ee)*a,re*y,!0);return b.add(ne),ne.add(new go.PathSegment(go.PathSegment.Bezier,te*a,(re+ee)*y,(te+ee)*a,(re+E)*y,(te+E)*a,(re+ee)*y)),ne.add(new go.PathSegment(go.PathSegment.Bezier,(te-ee)*a,re*y,(te-E)*a,(re+ee)*y,(te-ee)*a,(re+E)*y)),ne.add(new go.PathSegment(go.PathSegment.Bezier,te*a,(re-ee)*y,(te-ee)*a,(re-E)*y,(te-E)*a,(re-ee)*y)),ne.add(new go.PathSegment(go.PathSegment.Bezier,(te+ee)*a,re*y,(te+E)*a,(re-ee)*y,(te+ee)*a,(re-E)*y)),b.spot1=new go.Spot(0,.25),b.spot2=new go.Spot(.4,.75),b}),go.Shape.defineFigureGenerator("NandGate",function(ue,a,y){var b=new go.Geometry,E=se*.5,ee=se*.4,te=se*.1,re=.1,oe=.9,ne=.5,de=new go.PathFigure(.8*a,.5*y,!0);b.add(de),de.add(new go.PathSegment(go.PathSegment.Bezier,.4*a,y,.8*a,(.5+ee)*y,(.4+E)*a,y)),de.add(new go.PathSegment(go.PathSegment.Line,0,y)),de.add(new go.PathSegment(go.PathSegment.Line,0,0)),de.add(new go.PathSegment(go.PathSegment.Line,.4*a,0)),de.add(new go.PathSegment(go.PathSegment.Bezier,.8*a,.5*y,(.4+E)*a,0,.8*a,(.5-ee)*y));var pe=new go.PathFigure((oe+re)*a,ne*y,!0);return b.add(pe),pe.add(new go.PathSegment(go.PathSegment.Bezier,oe*a,(ne+re)*y,(oe+re)*a,(ne+te)*y,(oe+te)*a,(ne+re)*y)),pe.add(new go.PathSegment(go.PathSegment.Bezier,(oe-re)*a,ne*y,(oe-te)*a,(ne+re)*y,(oe-re)*a,(ne+te)*y)),pe.add(new go.PathSegment(go.PathSegment.Bezier,oe*a,(ne-re)*y,(oe-re)*a,(ne-te)*y,(oe-te)*a,(ne-re)*y)),pe.add(new go.PathSegment(go.PathSegment.Bezier,(oe+re)*a,ne*y,(oe+te)*a,(ne-re)*y,(oe+re)*a,(ne-te)*y)),b.spot1=new go.Spot(0,.05),b.spot2=new go.Spot(.55,.95),b}),go.Shape.defineFigureGenerator("NorGate",function(ue,a,y){var b=new go.Geometry,E=.5,ee=se*E,te=0,re=.5,oe=new go.PathFigure(.8*a,.5*y,!0);b.add(oe),oe.add(new go.PathSegment(go.PathSegment.Bezier,0,y,.7*a,(re+ee)*y,(te+ee)*a,(re+E)*y)),oe.add(new go.PathSegment(go.PathSegment.Bezier,0,0,.25*a,.75*y,.25*a,.25*y)),oe.add(new go.PathSegment(go.PathSegment.Bezier,.8*a,.5*y,(te+ee)*a,(re-E)*y,.7*a,(re-ee)*y)),E=.1,ee=se*.1,te=.9,re=.5;var ne=new go.PathFigure((te-E)*a,re*y,!0);return b.add(ne),ne.add(new go.PathSegment(go.PathSegment.Bezier,te*a,(re-E)*y,(te-E)*a,(re-ee)*y,(te-ee)*a,(re-E)*y)),ne.add(new go.PathSegment(go.PathSegment.Bezier,(te+E)*a,re*y,(te+ee)*a,(re-E)*y,(te+E)*a,(re-ee)*y)),ne.add(new go.PathSegment(go.PathSegment.Bezier,te*a,(re+E)*y,(te+E)*a,(re+ee)*y,(te+ee)*a,(re+E)*y)),ne.add(new go.PathSegment(go.PathSegment.Bezier,(te-E)*a,re*y,(te-ee)*a,(re+E)*y,(te-E)*a,(re+ee)*y)),b.spot1=new go.Spot(.2,.25),b.spot2=new go.Spot(.6,.75),b}),go.Shape.defineFigureGenerator("OrGate",function(ue,a,y){var b=new go.Geometry,E=.5,ee=se*E,te=0,re=.5,oe=new go.PathFigure(0,0,!0);return b.add(oe),oe.add(new go.PathSegment(go.PathSegment.Bezier,a,.5*y,(te+ee+ee)*a,(re-E)*y,.8*a,(re-ee)*y)),oe.add(new go.PathSegment(go.PathSegment.Bezier,0,y,.8*a,(re+ee)*y,(te+ee+ee)*a,(re+E)*y)),oe.add(new go.PathSegment(go.PathSegment.Bezier,0,0,.25*a,.75*y,.25*a,.25*y).close()),b.spot1=new go.Spot(.2,.25),b.spot2=new go.Spot(.75,.75),b}),go.Shape.defineFigureGenerator("XnorGate",function(ue,a,y){var b=new go.Geometry,E=.5,ee=se*E,te=.2,re=.5,oe=new go.PathFigure(.1*a,0,!1);b.add(oe),oe.add(new go.PathSegment(go.PathSegment.Bezier,.1*a,y,.35*a,.25*y,.35*a,.75*y));var ne=new go.PathFigure(.8*a,.5*y,!0);b.add(ne),ne.add(new go.PathSegment(go.PathSegment.Bezier,.2*a,y,.7*a,(re+ee)*y,(te+ee)*a,(re+E)*y)),ne.add(new go.PathSegment(go.PathSegment.Bezier,.2*a,0,.45*a,.75*y,.45*a,.25*y)),ne.add(new go.PathSegment(go.PathSegment.Bezier,.8*a,.5*y,(te+ee)*a,(re-E)*y,.7*a,(re-ee)*y)),E=.1,ee=se*.1,te=.9,re=.5;var de=new go.PathFigure((te-E)*a,re*y,!0);return b.add(de),de.add(new go.PathSegment(go.PathSegment.Bezier,te*a,(re-E)*y,(te-E)*a,(re-ee)*y,(te-ee)*a,(re-E)*y)),de.add(new go.PathSegment(go.PathSegment.Bezier,(te+E)*a,re*y,(te+ee)*a,(re-E)*y,(te+E)*a,(re-ee)*y)),de.add(new go.PathSegment(go.PathSegment.Bezier,te*a,(re+E)*y,(te+E)*a,(re+ee)*y,(te+ee)*a,(re+E)*y)),de.add(new go.PathSegment(go.PathSegment.Bezier,(te-E)*a,re*y,(te-ee)*a,(re+E)*y,(te-E)*a,(re+ee)*y)),b.spot1=new go.Spot(.4,.25),b.spot2=new go.Spot(.65,.75),b}),go.Shape.defineFigureGenerator("XorGate",function(ue,a,y){var b=new go.Geometry,E=.5,ee=se*E,te=.2,re=.5,oe=new go.PathFigure(.1*a,0,!1);b.add(oe),oe.add(new go.PathSegment(go.PathSegment.Bezier,.1*a,y,.35*a,.25*y,.35*a,.75*y));var ne=new go.PathFigure(.2*a,0,!0);return b.add(ne),ne.add(new go.PathSegment(go.PathSegment.Bezier,a,.5*y,(te+ee)*a,(re-E)*y,.9*a,(re-ee)*y)),ne.add(new go.PathSegment(go.PathSegment.Bezier,.2*a,y,.9*a,(re+ee)*y,(te+ee)*a,(re+E)*y)),ne.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(ue,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(ue,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(ue,a,y){var b=new go.Geometry,E=se*.1,ee=.1,te=.1,re=.5,oe=new go.PathFigure((te-E*.5)*a,y,!1);return b.add(oe),oe.add(new go.PathSegment(go.PathSegment.Bezier,(te+ee)*a,0,(te-E)*a,y,(te-ee)*a,0)),te=.3,oe.add(new go.PathSegment(go.PathSegment.Bezier,te*a,y,(te+ee)*a,0,(te+E)*a,y)),oe.add(new go.PathSegment(go.PathSegment.Bezier,(te+ee)*a,0,(te-E)*a,y,(te-ee)*a,0)),te=.5,oe.add(new go.PathSegment(go.PathSegment.Bezier,te*a,y,(te+ee)*a,0,(te+E)*a,y)),oe.add(new go.PathSegment(go.PathSegment.Bezier,(te+ee)*a,0,(te-E)*a,y,(te-ee)*a,0)),te=.7,oe.add(new go.PathSegment(go.PathSegment.Bezier,te*a,y,(te+ee)*a,0,(te+E)*a,y)),oe.add(new go.PathSegment(go.PathSegment.Bezier,(te+ee)*a,0,(te-E)*a,y,(te-ee)*a,0)),te=.9,oe.add(new go.PathSegment(go.PathSegment.Bezier,(te+E*.5)*a,y,(te+ee)*a,0,(te+E)*a,y)),b}),go.Shape.defineFigureGenerator("ACvoltageSource",function(ue,a,y){var b=new go.Geometry,E=se*.5,ee=.5,te=.5,re=.5,oe=new go.PathFigure((te-ee)*a,re*y,!1);return b.add(oe),oe.add(new go.PathSegment(go.PathSegment.Bezier,te*a,(re-ee)*y,(te-ee)*a,(re-E)*y,(te-E)*a,(re-ee)*y)),oe.add(new go.PathSegment(go.PathSegment.Bezier,(te+ee)*a,re*y,(te+E)*a,(re-ee)*y,(te+ee)*a,(re-E)*y)),oe.add(new go.PathSegment(go.PathSegment.Bezier,te*a,(re+ee)*y,(te+ee)*a,(re+E)*y,(te+E)*a,(re+ee)*y)),oe.add(new go.PathSegment(go.PathSegment.Bezier,(te-ee)*a,re*y,(te-E)*a,(re+ee)*y,(te-ee)*a,(re+E)*y)),oe.add(new go.PathSegment(go.PathSegment.Move,(te-ee+.1)*a,re*y)),oe.add(new go.PathSegment(go.PathSegment.Bezier,(te+ee-.1)*a,re*y,te*a,(re-ee)*y,te*a,(re+ee)*y)),b}),go.Shape.defineFigureGenerator("DCvoltageSource",function(ue,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(ue,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(ue,a,y){var b=new go.Geometry,E=a,ee=y;a=a*.38,y=y*.6;var te=se*.8,re=.8,oe=0,ne=.5,de=(E-a)/2,pe=(ee-y)/2,Ee=new go.PathFigure(oe*a+de,(ne+re)*y+pe,!0);b.add(Ee),Ee.add(new go.PathSegment(go.PathSegment.Bezier,(oe-re)*a+de,ne*y+pe,(oe-te)*a+de,(ne+re)*y+pe,(oe-re)*a+de,(ne+te)*y+pe)),Ee.add(new go.PathSegment(go.PathSegment.Bezier,oe*a+de,(ne-re)*y+pe,(oe-re)*a+de,(ne-te)*y+pe,(oe-te)*a+de,(ne-re)*y+pe)),Ee.add(new go.PathSegment(go.PathSegment.Bezier,(oe-re+te*.5)*a+de,ne*y+pe,oe*a+de,(ne-re)*y+pe,(oe-re+te*.5)*a+de,(ne-te)*y+pe)),Ee.add(new go.PathSegment(go.PathSegment.Bezier,oe*a+de,(ne+re)*y+pe,(oe-re+te*.5)*a+de,(ne+te)*y+pe,oe*a+de,(ne+re)*y+pe).close()),te=se*.4,re=.4,oe=.2,ne=.5;var be=new go.PathFigure(oe*a+de,(ne+re)*y+pe,!0);b.add(be),be.add(new go.PathSegment(go.PathSegment.Bezier,(oe-re)*a+de,ne*y+pe,(oe-te)*a+de,(ne+re)*y+pe,(oe-re)*a+de,(ne+te)*y+pe)),be.add(new go.PathSegment(go.PathSegment.Bezier,oe*a+de,(ne-re)*y+pe,(oe-re)*a+de,(ne-te)*y+pe,(oe-te)*a+de,(ne-re)*y+pe)),be.add(new go.PathSegment(go.PathSegment.Bezier,(oe-re+te*.5)*a+de,ne*y+pe,oe*a+de,(ne-re)*y+pe,(oe-re+te*.5)*a+de,(ne-te)*y+pe)),be.add(new go.PathSegment(go.PathSegment.Bezier,oe*a+de,(ne+re)*y+pe,(oe-re+te*.5)*a+de,(ne+te)*y+pe,oe*a+de,(ne+re)*y+pe).close()),te=se*.2,re=.2,oe=.5,ne=.5;var xe=new go.PathFigure((oe-re)*a+de,ne*y+pe,!0);b.add(xe),xe.add(new go.PathSegment(go.PathSegment.Bezier,oe*a+de,(ne-re)*y+pe,(oe-re)*a+de,(ne-te)*y+pe,(oe-te)*a+de,(ne-re)*y+pe)),xe.add(new go.PathSegment(go.PathSegment.Bezier,(oe+re)*a+de,ne*y+pe,(oe+te)*a+de,(ne-re)*y+pe,(oe+re)*a+de,(ne-te)*y+pe)),xe.add(new go.PathSegment(go.PathSegment.Bezier,oe*a+de,(ne+re)*y+pe,(oe+re)*a+de,(ne+te)*y+pe,(oe+te)*a+de,(ne+re)*y+pe)),xe.add(new go.PathSegment(go.PathSegment.Bezier,(oe-re)*a+de,ne*y+pe,(oe-te)*a+de,(ne+re)*y+pe,(oe-re)*a+de,(ne+te)*y+pe)),te=se*.4,re=.4,oe=.8,ne=.5;var Ce=new go.PathFigure(oe*a+de,(ne-re)*y+pe,!0);b.add(Ce),Ce.add(new go.PathSegment(go.PathSegment.Bezier,(oe+re)*a+de,ne*y+pe,(oe+te)*a+de,(ne-re)*y+pe,(oe+re)*a+de,(ne-te)*y+pe)),Ce.add(new go.PathSegment(go.PathSegment.Bezier,oe*a+de,(ne+re)*y+pe,(oe+re)*a+de,(ne+te)*y+pe,(oe+te)*a+de,(ne+re)*y+pe)),Ce.add(new go.PathSegment(go.PathSegment.Bezier,(oe+re-te*.5)*a+de,ne*y+pe,oe*a+de,(ne+re)*y+pe,(oe+re-te*.5)*a+de,(ne+te)*y+pe)),Ce.add(new go.PathSegment(go.PathSegment.Bezier,oe*a+de,(ne-re)*y+pe,(oe+re-te*.5)*a+de,(ne-te)*y+pe,oe*a+de,(ne-re)*y+pe).close()),te=se*.8,re=.8,oe=1,ne=.5;var Ne=new go.PathFigure(oe*a+de,(ne-re)*y+pe,!0);return b.add(Ne),Ne.add(new go.PathSegment(go.PathSegment.Bezier,(oe+re)*a+de,ne*y+pe,(oe+te)*a+de,(ne-re)*y+pe,(oe+re)*a+de,(ne-te)*y+pe)),Ne.add(new go.PathSegment(go.PathSegment.Bezier,oe*a+de,(ne+re)*y+pe,(oe+re)*a+de,(ne+te)*y+pe,(oe+te)*a+de,(ne+re)*y+pe)),Ne.add(new go.PathSegment(go.PathSegment.Bezier,(oe+re-te*.5)*a+de,ne*y+pe,oe*a+de,(ne+re)*y+pe,(oe+re-te*.5)*a+de,(ne+te)*y+pe)),Ne.add(new go.PathSegment(go.PathSegment.Bezier,oe*a+de,(ne-re)*y+pe,(oe+re-te*.5)*a+de,(ne-te)*y+pe,oe*a+de,(ne-re)*y+pe).close()),b}),go.Shape.defineFigureGenerator("Email",function(ue,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 ee=new go.PathFigure(0,0,!1);return b.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,.5*a,.6*y)),ee.add(new go.PathSegment(go.PathSegment.Line,a,0)),ee.add(new go.PathSegment(go.PathSegment.Move,0,y)),ee.add(new go.PathSegment(go.PathSegment.Line,.45*a,.54*y)),ee.add(new go.PathSegment(go.PathSegment.Move,a,y)),ee.add(new go.PathSegment(go.PathSegment.Line,.55*a,.54*y)),b}),go.Shape.defineFigureGenerator("Ethernet",function(ue,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 ee=new go.PathFigure(.1*a,y,!0,!0);b.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,.4*a,y)),ee.add(new go.PathSegment(go.PathSegment.Line,.4*a,.6*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.1*a,.6*y)),ee.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 re=new go.PathFigure(0,.5*y,!1);return b.add(re),re.add(new go.PathSegment(go.PathSegment.Line,a,.5*y)),re.add(new go.PathSegment(go.PathSegment.Move,.5*a,.5*y)),re.add(new go.PathSegment(go.PathSegment.Line,.5*a,.4*y)),re.add(new go.PathSegment(go.PathSegment.Move,.75*a,.5*y)),re.add(new go.PathSegment(go.PathSegment.Line,.75*a,.6*y)),re.add(new go.PathSegment(go.PathSegment.Move,.25*a,.5*y)),re.add(new go.PathSegment(go.PathSegment.Line,.25*a,.6*y)),b}),go.Shape.defineFigureGenerator("Power",function(ue,a,y){var b=new go.Geometry,E=se*.4,ee=.4,te=.5,re=.5,oe=x(),ne=x(),de=x(),pe=x();Fe(te,re-ee,te+E,re-ee,te+ee,re-E,te+ee,re,.5,oe,oe,ne,de,pe);var Ee=z(ne.x,ne.y),be=new go.PathFigure(ne.x*a,ne.y*y,!0);b.add(be),be.add(new go.PathSegment(go.PathSegment.Bezier,(te+ee)*a,re*y,de.x*a,de.y*y,pe.x*a,pe.y*y)),be.add(new go.PathSegment(go.PathSegment.Bezier,te*a,(re+ee)*y,(te+ee)*a,(re+E)*y,(te+E)*a,(re+ee)*y)),be.add(new go.PathSegment(go.PathSegment.Bezier,(te-ee)*a,re*y,(te-E)*a,(re+ee)*y,(te-ee)*a,(re+E)*y)),Fe(te-ee,re,te-ee,re-E,te-E,re-ee,te,re-ee,.5,de,pe,ne,oe,oe),be.add(new go.PathSegment(go.PathSegment.Bezier,ne.x*a,ne.y*y,de.x*a,de.y*y,pe.x*a,pe.y*y)),E=se*.3,ee=.3,Fe(te-ee,re,te-ee,re-E,te-E,re-ee,te,re-ee,.5,de,pe,ne,oe,oe),be.add(new go.PathSegment(go.PathSegment.Line,ne.x*a,ne.y*y)),be.add(new go.PathSegment(go.PathSegment.Bezier,(te-ee)*a,re*y,pe.x*a,pe.y*y,de.x*a,de.y*y)),be.add(new go.PathSegment(go.PathSegment.Bezier,te*a,(re+ee)*y,(te-ee)*a,(re+E)*y,(te-E)*a,(re+ee)*y)),be.add(new go.PathSegment(go.PathSegment.Bezier,(te+ee)*a,re*y,(te+E)*a,(re+ee)*y,(te+ee)*a,(re+E)*y)),Fe(te,re-ee,te+E,re-ee,te+ee,re-E,te+ee,re,.5,oe,oe,ne,de,pe),be.add(new go.PathSegment(go.PathSegment.Bezier,ne.x*a,ne.y*y,pe.x*a,pe.y*y,de.x*a,de.y*y).close());var be=new go.PathFigure(.45*a,0,!0);return b.add(be),be.add(new go.PathSegment(go.PathSegment.Line,.45*a,.5*y)),be.add(new go.PathSegment(go.PathSegment.Line,.55*a,.5*y)),be.add(new go.PathSegment(go.PathSegment.Line,.55*a,0).close()),ge(oe),ge(ne),ge(de),ge(pe),ge(Ee),b.spot1=new go.Spot(.25,.45),b.spot2=new go.Spot(.75,.8),b}),go.Shape.defineFigureGenerator("Fallout",function(ue,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 ee(te,re,oe){te.add(new go.PathSegment(go.PathSegment.Move,(.3+re)*a,(.8+oe)*y)),te.add(new go.PathSegment(go.PathSegment.Line,(.5+re)*a,(.5+oe)*y)),te.add(new go.PathSegment(go.PathSegment.Line,(.1+re)*a,(.5+oe)*y)),te.add(new go.PathSegment(go.PathSegment.Line,(.3+re)*a,(.8+oe)*y).close())}return ee(E,0,0),ee(E,.4,0),ee(E,.2,-.3),b}),go.Shape.defineFigureGenerator("IrritationHazard",function(ue,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(ue,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(ue,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(ue,a,y){var b=new go.Geometry,E=.5,ee=0,te=0,re=E*se,oe=.4*Math.SQRT2/2+.5,ne=.5-.5*Math.SQRT2/2,de=1,pe=.5,Ee=.5,be=0,xe=new go.PathFigure(oe*a,(1-ne)*y,!1);return b.add(xe),xe.add(new go.PathSegment(go.PathSegment.Bezier,de*a,pe*y,de*a,.7*y,de*a,pe*y)),xe.add(new go.PathSegment(go.PathSegment.Bezier,(Ee+ee)*a,(be+ee)*y,(.5+E+ee)*a,(.5-re+ee)*y,(.5+re+ee)*a,(.5-E+ee)*y)),xe.add(new go.PathSegment(go.PathSegment.Bezier,(.5-E+ee)*a,(.5+te)*y,(.5-re+ee)*a,(.5-E+te)*y,(.5-E+ee)*a,(.5-re+te)*y)),xe.add(new go.PathSegment(go.PathSegment.Bezier,(.35+ee)*a,.9*y,(.5-E+ee)*a,(.5+re+te)*y,(.5-re+ee)*a,.9*y)),xe.add(new go.PathSegment(go.PathSegment.Move,(.25+ee)*a,.8*y)),xe.add(new go.PathSegment(go.PathSegment.Line,(.35+ee)*a,.9*y)),xe.add(new go.PathSegment(go.PathSegment.Line,(.2+ee)*a,.95*y)),b}),go.Shape.defineFigureGenerator("BpmnActivityParallel",function(ue,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(ue,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(ue,a,y){var b=new go.Geometry,E=new go.PathFigure(0,0,!1);b.add(E);var ee=new go.PathFigure(a,y,!1);b.add(ee);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(ue,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(ue,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(ue,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 ee=new go.PathFigure(.45*a,.73*y,!1);return b.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,.7*a,.73*y)),ee.add(new go.PathSegment(go.PathSegment.Move,.38*a,.5*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.63*a,.5*y)),ee.add(new go.PathSegment(go.PathSegment.Move,.31*a,.27*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.56*a,.27*y)),b}),go.Shape.defineFigureGenerator("BpmnTaskUser",function(ue,a,y){var b=new go.Geometry,E=new go.PathFigure(0,0,!1);b.add(E);var ee=new go.PathFigure(.335*a,(1-.555)*y,!0);b.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,.335*a,(1-.405)*y)),ee.add(new go.PathSegment(go.PathSegment.Line,(1-.335)*a,(1-.405)*y)),ee.add(new go.PathSegment(go.PathSegment.Line,(1-.335)*a,(1-.555)*y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,a,.68*y,(1-.12)*a,.46*y,(1-.02)*a,.54*y)),ee.add(new go.PathSegment(go.PathSegment.Line,a,y)),ee.add(new go.PathSegment(go.PathSegment.Line,0,y)),ee.add(new go.PathSegment(go.PathSegment.Line,0,.68*y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,.335*a,(1-.555)*y,.02*a,.54*y,.12*a,.46*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.365*a,(1-.595)*y));var te=.5-.285,re=.5,oe=te,ne=Math.PI/4,de=4*(1-Math.cos(ne))/(3*Math.sin(ne)),pe=de*.5,Ee=te,be=te,xe=de*Ee,Ce=de*be;ee.add(new go.PathSegment(go.PathSegment.Bezier,(re-Ee)*a,oe*y,(re-(xe+Ee)/2)*a,(oe+(be+Ce)/2)*y,(re-Ee)*a,(oe+Ce)*y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,re*a,(oe-be)*y,(re-Ee)*a,(oe-Ce)*y,(re-xe)*a,(oe-be)*y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,(re+Ee)*a,oe*y,(re+xe)*a,(oe-be)*y,(re+Ee)*a,(oe-Ce)*y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,(1-.365)*a,(1-.595)*y,(re+Ee)*a,(oe+Ce)*y,(re+(xe+Ee)/2)*a,(oe+(be+Ce)/2)*y)),ee.add(new go.PathSegment(go.PathSegment.Line,(1-.365)*a,(1-.595)*y)),ee.add(new go.PathSegment(go.PathSegment.Line,(1-.335)*a,(1-.555)*y)),ee.add(new go.PathSegment(go.PathSegment.Line,(1-.335)*a,(1-.405)*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.335*a,(1-.405)*y));var Ne=new go.PathFigure(.2*a,y,!1);b.add(Ne),Ne.add(new go.PathSegment(go.PathSegment.Line,.2*a,.8*y));var Re=new go.PathFigure(.8*a,y,!1);return b.add(Re),Re.add(new go.PathSegment(go.PathSegment.Line,.8*a,.8*y)),b}),go.Shape.defineFigureGenerator("BpmnEventConditional",function(ue,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 ee=new go.PathFigure(.2*a,.2*y,!1);return b.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,.8*a,.2*y)),ee.add(new go.PathSegment(go.PathSegment.Move,.2*a,.4*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.8*a,.4*y)),ee.add(new go.PathSegment(go.PathSegment.Move,.2*a,.6*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.8*a,.6*y)),ee.add(new go.PathSegment(go.PathSegment.Move,.2*a,.8*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.8*a,.8*y)),b}),go.Shape.defineFigureGenerator("BpmnEventError",function(ue,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(ue,a,y){var b=new go.Geometry,E=new go.PathFigure(0,0,!1);b.add(E);var ee=new go.PathFigure(a,y,!1);b.add(ee);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(ue,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 ee=.05;return E.add(new go.PathSegment(go.PathSegment.Move,(.5-ee)*a,.875*y)),E.add(new go.PathSegment(go.PathSegment.Arc,180,-360,.5*a,.875*y,ee*a,ee*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(ue,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 ee=new go.PathFigure(.475*a,.2*y,!1);b.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,.4*a,.4*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.225*a,.3*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.275*a,.175*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.325*a,.05*y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,.4*a,.05*y,.35*a,0,.375*a,0)),ee.add(new go.PathSegment(go.PathSegment.Line,.575*a,.375*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.525*a,.4*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.75*a,.475*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.85*a,.315*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.8*a,.32*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.65*a,.05*y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,.575*a,0,.65*a,.05*y,.625*a,0)),ee.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(ue,a,y){var b=new go.Geometry,E=.5,ee=se*.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+ee)*y,(E+ee)*a,y)),te.add(new go.PathSegment(go.PathSegment.Bezier,0,E*y,(E-ee)*a,y,0,(E+ee)*y)),te.add(new go.PathSegment(go.PathSegment.Bezier,E*a,0,0,(E-ee)*y,(E-ee)*a,0)),te.add(new go.PathSegment(go.PathSegment.Bezier,a,E*y,(E+ee)*a,0,a,(E-ee)*y));var re=new go.PathFigure(E*a,0,!1);return b.add(re),re.add(new go.PathSegment(go.PathSegment.Line,E*a,.15*y)),re.add(new go.PathSegment(go.PathSegment.Move,E*a,y)),re.add(new go.PathSegment(go.PathSegment.Line,E*a,.85*y)),re.add(new go.PathSegment(go.PathSegment.Move,0,E*y)),re.add(new go.PathSegment(go.PathSegment.Line,.15*a,E*y)),re.add(new go.PathSegment(go.PathSegment.Move,a,E*y)),re.add(new go.PathSegment(go.PathSegment.Line,.85*a,E*y)),re.add(new go.PathSegment(go.PathSegment.Move,E*a,E*y)),re.add(new go.PathSegment(go.PathSegment.Line,.58*a,.1*y)),re.add(new go.PathSegment(go.PathSegment.Move,E*a,E*y)),re.add(new go.PathSegment(go.PathSegment.Line,.78*a,.54*y)),b}),go.Shape.defineFigureGenerator("Package",function(ue,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 ee=new go.PathFigure(0,.15*y,!0);return b.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,0,0)),ee.add(new go.PathSegment(go.PathSegment.Line,.6*a,0)),ee.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(ue,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 ee=new go.PathFigure(0,.2*y,!1);b.add(ee),ee.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(ue,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 ee=new go.PathFigure(0,.2*y,!0);b.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,.45*a,.2*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.45*a,.4*y)),ee.add(new go.PathSegment(go.PathSegment.Line,0,.4*y)),ee.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(ue,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 ee=new go.PathFigure(.15*a,.6*y,!1);return b.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,.85*a,.6*y)),b}),go.Shape.defineFigureGenerator("Customer/Supplier",function(ue,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(ue,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(ue,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(ue,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 ee=new go.PathFigure(a,.8*y,!0);b.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,a,.4*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.6*a,.4*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.6*a,.8*y)),ee.add(new go.PathSegment(go.PathSegment.Line,a,.8*y).close());var te=.1,re=se*.1,oe=.2,ne=.9,de=new go.PathFigure((oe-te)*a,ne*y,!0);b.add(de),de.add(new go.PathSegment(go.PathSegment.Bezier,oe*a,(ne-te)*y,(oe-te)*a,(ne-re)*y,(oe-re)*a,(ne-te)*y)),de.add(new go.PathSegment(go.PathSegment.Bezier,(oe+te)*a,ne*y,(oe+re)*a,(ne-te)*y,(oe+te)*a,(ne-re)*y)),de.add(new go.PathSegment(go.PathSegment.Bezier,oe*a,(ne+te)*y,(oe+te)*a,(ne+re)*y,(oe+re)*a,(ne+te)*y)),de.add(new go.PathSegment(go.PathSegment.Bezier,(oe-te)*a,ne*y,(oe-re)*a,(ne+te)*y,(oe-te)*a,(ne+re)*y).close()),te=.1,re=se*.1,oe=.8,ne=.9;var pe=new go.PathFigure((oe-te)*a,ne*y,!0);return b.add(pe),pe.add(new go.PathSegment(go.PathSegment.Bezier,oe*a,(ne-te)*y,(oe-te)*a,(ne-re)*y,(oe-re)*a,(ne-te)*y)),pe.add(new go.PathSegment(go.PathSegment.Bezier,(oe+te)*a,ne*y,(oe+re)*a,(ne-te)*y,(oe+te)*a,(ne-re)*y)),pe.add(new go.PathSegment(go.PathSegment.Bezier,oe*a,(ne+te)*y,(oe+te)*a,(ne+re)*y,(oe+re)*a,(ne+te)*y)),pe.add(new go.PathSegment(go.PathSegment.Bezier,(oe-te)*a,ne*y,(oe-re)*a,(ne+te)*y,(oe-te)*a,(ne+re)*y).close()),b}),go.Shape.defineFigureGenerator("KanbanPost",function(ue,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(ue,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 ee=new go.PathFigure(0,.5*y,!0);b.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,0,.8*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.5*a,.8*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.5*a,.5*y)),ee.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 re=new go.PathFigure(.5*a,.7*y,!1);b.add(re),re.add(new go.PathSegment(go.PathSegment.Line,a,.7*y));var oe=.1,ne=se*.1,de=.1,pe=.9,Ee=new go.PathFigure((de-oe)*a,pe*y,!0);b.add(Ee),Ee.add(new go.PathSegment(go.PathSegment.Bezier,de*a,(pe-oe)*y,(de-oe)*a,(pe-ne)*y,(de-ne)*a,(pe-oe)*y)),Ee.add(new go.PathSegment(go.PathSegment.Bezier,(de+oe)*a,pe*y,(de+ne)*a,(pe-oe)*y,(de+oe)*a,(pe-ne)*y)),Ee.add(new go.PathSegment(go.PathSegment.Bezier,de*a,(pe+oe)*y,(de+oe)*a,(pe+ne)*y,(de+ne)*a,(pe+oe)*y)),Ee.add(new go.PathSegment(go.PathSegment.Bezier,(de-oe)*a,pe*y,(de-ne)*a,(pe+oe)*y,(de-oe)*a,(pe+ne)*y)),oe=.1,ne=se*.1,de=.4,pe=.9;var be=new go.PathFigure((de-oe)*a,pe*y,!0);return b.add(be),be.add(new go.PathSegment(go.PathSegment.Bezier,de*a,(pe-oe)*y,(de-oe)*a,(pe-ne)*y,(de-ne)*a,(pe-oe)*y)),be.add(new go.PathSegment(go.PathSegment.Bezier,(de+oe)*a,pe*y,(de+ne)*a,(pe-oe)*y,(de+oe)*a,(pe-ne)*y)),be.add(new go.PathSegment(go.PathSegment.Bezier,de*a,(pe+oe)*y,(de+oe)*a,(pe+ne)*y,(de+ne)*a,(pe+oe)*y)),be.add(new go.PathSegment(go.PathSegment.Bezier,(de-oe)*a,pe*y,(de-ne)*a,(pe+oe)*y,(de-oe)*a,(pe+ne)*y)),b}),go.Shape.defineFigureGenerator("RailShipment",function(ue,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 ee=new go.PathFigure(.45*a,.7*y,!1);b.add(ee),ee.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 de=.05,pe=se*.05,Ee=.175,be=.95,re=new go.PathFigure((Ee-de)*a,be*y,!0);b.add(re),re.add(new go.PathSegment(go.PathSegment.Bezier,Ee*a,(be-de)*y,(Ee-de)*a,(be-pe)*y,(Ee-pe)*a,(be-de)*y)),re.add(new go.PathSegment(go.PathSegment.Bezier,(Ee+de)*a,be*y,(Ee+pe)*a,(be-de)*y,(Ee+de)*a,(be-pe)*y)),re.add(new go.PathSegment(go.PathSegment.Bezier,Ee*a,(be+de)*y,(Ee+de)*a,(be+pe)*y,(Ee+pe)*a,(be+de)*y)),re.add(new go.PathSegment(go.PathSegment.Bezier,(Ee-de)*a,be*y,(Ee-pe)*a,(be+de)*y,(Ee-de)*a,(be+pe)*y));var de=.05,pe=se*.05,Ee=.375,be=.95,oe=new go.PathFigure((Ee-de)*a,be*y,!0);b.add(oe),oe.add(new go.PathSegment(go.PathSegment.Bezier,Ee*a,(be-de)*y,(Ee-de)*a,(be-pe)*y,(Ee-pe)*a,(be-de)*y)),oe.add(new go.PathSegment(go.PathSegment.Bezier,(Ee+de)*a,be*y,(Ee+pe)*a,(be-de)*y,(Ee+de)*a,(be-pe)*y)),oe.add(new go.PathSegment(go.PathSegment.Bezier,Ee*a,(be+de)*y,(Ee+de)*a,(be+pe)*y,(Ee+pe)*a,(be+de)*y)),oe.add(new go.PathSegment(go.PathSegment.Bezier,(Ee-de)*a,be*y,(Ee-pe)*a,(be+de)*y,(Ee-de)*a,(be+pe)*y));var de=.05,pe=se*.05,Ee=.625,be=.95,ne=new go.PathFigure((Ee-de)*a,be*y,!0);b.add(ne),ne.add(new go.PathSegment(go.PathSegment.Bezier,Ee*a,(be-de)*y,(Ee-de)*a,(be-pe)*y,(Ee-pe)*a,(be-de)*y)),ne.add(new go.PathSegment(go.PathSegment.Bezier,(Ee+de)*a,be*y,(Ee+pe)*a,(be-de)*y,(Ee+de)*a,(be-pe)*y)),ne.add(new go.PathSegment(go.PathSegment.Bezier,Ee*a,(be+de)*y,(Ee+de)*a,(be+pe)*y,(Ee+pe)*a,(be+de)*y)),ne.add(new go.PathSegment(go.PathSegment.Bezier,(Ee-de)*a,be*y,(Ee-pe)*a,(be+de)*y,(Ee-de)*a,(be+pe)*y));var de=.05,pe=se*.05,Ee=.825,be=.95,xe=new go.PathFigure((Ee-de)*a,be*y,!0);b.add(xe),xe.add(new go.PathSegment(go.PathSegment.Bezier,Ee*a,(be-de)*y,(Ee-de)*a,(be-pe)*y,(Ee-pe)*a,(be-de)*y)),xe.add(new go.PathSegment(go.PathSegment.Bezier,(Ee+de)*a,be*y,(Ee+pe)*a,(be-de)*y,(Ee+de)*a,(be-pe)*y)),xe.add(new go.PathSegment(go.PathSegment.Bezier,Ee*a,(be+de)*y,(Ee+de)*a,(be+pe)*y,(Ee+pe)*a,(be+de)*y)),xe.add(new go.PathSegment(go.PathSegment.Bezier,(Ee-de)*a,be*y,(Ee-pe)*a,(be+de)*y,(Ee-de)*a,(be+pe)*y).close());var Ce=new go.PathFigure(0,y,!1);return b.add(Ce),Ce.add(new go.PathSegment(go.PathSegment.Line,a,y).close()),b}),go.Shape.defineFigureGenerator("Warehouse",function(ue,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 ee=new go.PathFigure(0,.2*y,!1);b.add(ee),ee.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 re=.05,oe=se*.05,ne=.35,de=.775,pe=new go.PathFigure((ne-re)*a,de*y,!0);return b.add(pe),pe.add(new go.PathSegment(go.PathSegment.Bezier,ne*a,(de-re)*y,(ne-re)*a,(de-oe)*y,(ne-oe)*a,(de-re)*y)),pe.add(new go.PathSegment(go.PathSegment.Bezier,(ne+re)*a,de*y,(ne+oe)*a,(de-re)*y,(ne+re)*a,(de-oe)*y)),pe.add(new go.PathSegment(go.PathSegment.Bezier,ne*a,(de+re)*y,(ne+re)*a,(de+oe)*y,(ne+oe)*a,(de+re)*y)),pe.add(new go.PathSegment(go.PathSegment.Bezier,(ne-re)*a,de*y,(ne-oe)*a,(de+re)*y,(ne-re)*a,(de+oe)*y).close()),b}),go.Shape.defineFigureGenerator("ControlCenter",function(ue,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(ue,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(ue,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(ue,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(ue,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(ue,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(ue,a,y){var b=new go.Geometry,E=.3,ee=se*.3,te=.5,re=.7,oe=new go.PathFigure((te-E)*a,re*y,!0);b.add(oe),oe.add(new go.PathSegment(go.PathSegment.Bezier,te*a,(re-E)*y,(te-E)*a,(re-ee)*y,(te-ee)*a,(re-E)*y)),oe.add(new go.PathSegment(go.PathSegment.Bezier,(te+E)*a,re*y,(te+ee)*a,(re-E)*y,(te+E)*a,(re-ee)*y)),oe.add(new go.PathSegment(go.PathSegment.Bezier,te*a,(re+E)*y,(te+E)*a,(re+ee)*y,(te+ee)*a,(re+E)*y)),oe.add(new go.PathSegment(go.PathSegment.Bezier,(te-E)*a,re*y,(te-ee)*a,(re+E)*y,(te-E)*a,(re+ee)*y));var ne=new go.PathFigure(0,.7*y,!1);return b.add(ne),ne.add(new go.PathSegment(go.PathSegment.Bezier,a,.7*y,0,0,a,0)),b}),go.Shape.defineFigureGenerator("TripleFanBlades",function(ue,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(ue,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(ue,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 ee=new go.PathFigure(0,.6*y,!1);return b.add(ee),ee.add(new go.PathSegment(go.PathSegment.Move,0,.4*y)),ee.add(new go.PathSegment(go.PathSegment.Line,a,.4*y)),b}),go.Shape.defineFigureGenerator("Delete",function(ue,a,y){var b=new go.Geometry,E=.5,ee=se*.5,te=.5,re=.5,oe=new go.PathFigure((te-E)*a,re*y,!0);b.add(oe),oe.add(new go.PathSegment(go.PathSegment.Bezier,te*a,(re-E)*y,(te-E)*a,(re-ee)*y,(te-ee)*a,(re-E)*y)),oe.add(new go.PathSegment(go.PathSegment.Bezier,(te+E)*a,re*y,(te+ee)*a,(re-E)*y,(te+E)*a,(re-ee)*y)),oe.add(new go.PathSegment(go.PathSegment.Bezier,te*a,(re+E)*y,(te+E)*a,(re+ee)*y,(te+ee)*a,(re+E)*y)),oe.add(new go.PathSegment(go.PathSegment.Bezier,(te-E)*a,re*y,(te-ee)*a,(re+E)*y,(te-E)*a,(re+ee)*y));var ne=new go.PathFigure(.15*a,.5*y,!1);return b.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,.85*a,.5*y)),b}),go.Shape.defineFigureGenerator("Flag",function(ue,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(ue,a,y){var b=new go.Geometry,E=.5,ee=se*.5,te=.5,re=.5,oe=new go.PathFigure((te-E)*a,re*y,!1);b.add(oe),oe.add(new go.PathSegment(go.PathSegment.Bezier,te*a,(re-E)*y,(te-E)*a,(re-ee)*y,(te-ee)*a,(re-E)*y)),oe.add(new go.PathSegment(go.PathSegment.Bezier,(te+E)*a,re*y,(te+ee)*a,(re-E)*y,(te+E)*a,(re-ee)*y)),oe.add(new go.PathSegment(go.PathSegment.Bezier,te*a,(re+E)*y,(te+E)*a,(re+ee)*y,(te+ee)*a,(re+E)*y)),oe.add(new go.PathSegment(go.PathSegment.Bezier,(te-E)*a,re*y,(te-ee)*a,(re+E)*y,(te-E)*a,(re+ee)*y).close()),E=.05,ee=se*.05,te=.5,re=.8;var ne=new go.PathFigure((te-E)*a,re*y,!1);return b.add(ne),ne.add(new go.PathSegment(go.PathSegment.Bezier,te*a,(re-E)*y,(te-E)*a,(re-ee)*y,(te-ee)*a,(re-E)*y)),ne.add(new go.PathSegment(go.PathSegment.Bezier,(te+E)*a,re*y,(te+ee)*a,(re-E)*y,(te+E)*a,(re-ee)*y)),ne.add(new go.PathSegment(go.PathSegment.Bezier,te*a,(re+E)*y,(te+E)*a,(re+ee)*y,(te+ee)*a,(re+E)*y)),ne.add(new go.PathSegment(go.PathSegment.Bezier,(te-E)*a,re*y,(te-ee)*a,(re+E)*y,(te-E)*a,(re+ee)*y).close()),ne.add(new go.PathSegment(go.PathSegment.Move,.5*a,.7*y)),ne.add(new go.PathSegment(go.PathSegment.Line,.5*a,.5*y)),ne.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.2*y,.75*a,.475*y,.75*a,.225*y)),ne.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(ue,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(ue,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 ee=new go.PathFigure(.2*a,.5*y,!1);return b.add(ee),ee.add(new go.PathSegment(go.PathSegment.Move,.2*a,.5*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.2*a,.3*y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,.8*a,.3*y,.25*a,0,.75*a,0)),ee.add(new go.PathSegment(go.PathSegment.Line,.8*a,.5*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.8*a,.3*y)),b}),go.Shape.defineFigureGenerator("Unlocked",function(ue,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 ee=new go.PathFigure(.2*a,.5*y,!1);return b.add(ee),ee.add(new go.PathSegment(go.PathSegment.Move,.2*a,.5*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.2*a,.3*y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,.8*a,.3*y,.25*a,0,.75*a,0)),ee.add(new go.PathSegment(go.PathSegment.Line,.8*a,.35*y)),b}),go.Shape.defineFigureGenerator("Gear",function(ue,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(ue,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(ue,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(ue,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 ee=new go.PathFigure(0,y*.6,!0);return b.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,a,.6*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.5*a,0).close()),b}),go.Shape.defineFigureGenerator("Pencil",function(ue,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(ue,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 ee=new go.PathFigure(.126*a,.85*y,!1);b.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,.126*a,.45*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.322*a,.45*y)),ee.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 re=new go.PathFigure(.678*a,.85*y,!1);b.add(re),re.add(new go.PathSegment(go.PathSegment.Line,.678*a,.45*y)),re.add(new go.PathSegment(go.PathSegment.Line,.874*a,.45*y)),re.add(new go.PathSegment(go.PathSegment.Line,.874*a,.85*y).close());var oe=new go.PathFigure(.5*a,.1*y,!1);return b.add(oe),oe.add(new go.PathSegment(go.PathSegment.Line,(.046+.15)*a,.3*y)),oe.add(new go.PathSegment(go.PathSegment.Line,(1-(.046+.15))*a,.3*y).close()),b}),go.Shape.defineFigureGenerator("Staircase",function(ue,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(ue,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 ee=new go.PathFigure(a*.204,y,!0);b.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,a*.204,y*(1-.184))),ee.add(new go.PathSegment(go.PathSegment.Line,a*.388,y*(1-.184*2))),ee.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 re=new go.PathFigure(a*.612,y,!0);b.add(re),re.add(new go.PathSegment(go.PathSegment.Line,a*.612,y*(1-.184*3))),re.add(new go.PathSegment(go.PathSegment.Line,a*.796,y*(1-.184*4))),re.add(new go.PathSegment(go.PathSegment.Line,a*.796,y*1).close());var oe=new go.PathFigure(a*.816,y,!0);return b.add(oe),oe.add(new go.PathSegment(go.PathSegment.Line,a*.816,y*(1-.184*4))),oe.add(new go.PathSegment(go.PathSegment.Line,a*1,y*(1-.184*5))),oe.add(new go.PathSegment(go.PathSegment.Line,a*1,y*1).close()),b}),go.Shape.defineFigureGenerator("PC",function(ue,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 ee=new go.PathFigure(a*.055,.07*y,!0);b.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,a*.245,y*.07)),ee.add(new go.PathSegment(go.PathSegment.Line,a*.245,y*.1)),ee.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 re=new go.PathFigure(a*.055,.18*y,!0);b.add(re),re.add(new go.PathSegment(go.PathSegment.Line,a*.245,y*.18)),re.add(new go.PathSegment(go.PathSegment.Line,a*.245,y*.21)),re.add(new go.PathSegment(go.PathSegment.Line,a*.055,y*.21).close());var oe=new go.PathFigure(a*1,0,!0);return b.add(oe),oe.add(new go.PathSegment(go.PathSegment.Line,a*.4,0)),oe.add(new go.PathSegment(go.PathSegment.Line,a*.4,y*.65)),oe.add(new go.PathSegment(go.PathSegment.Line,a*1,y*.65).close()),b}),go.Shape.defineFigureGenerator("Plane",function(ue,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(ue,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(ue,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 ee=new go.PathFigure(0,0,!1);b.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,a*1,y*0)),ee.add(new go.PathSegment(go.PathSegment.Arc,270,-180,a*1,a*.3,a*.055)),ee.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 re=new go.PathFigure(a*(.11+.24133333*1+.028*1),y*.1,!1);b.add(re),re.add(new go.PathSegment(go.PathSegment.Line,a*(.11+.24133333*2+.028*1),y*.1)),re.add(new go.PathSegment(go.PathSegment.Line,a*(.11+.24133333*2+.028*1),y*.8)),re.add(new go.PathSegment(go.PathSegment.Line,a*(.11+.24133333*1+.028*1),y*.8).close());var oe=new go.PathFigure(a*(.11+.24133333*2+.028*2),y*.1,!1);return b.add(oe),oe.add(new go.PathSegment(go.PathSegment.Line,a*(.11+.24133333*3+.028*2),y*.1)),oe.add(new go.PathSegment(go.PathSegment.Line,a*(.11+.24133333*3+.028*2),y*.8)),oe.add(new go.PathSegment(go.PathSegment.Line,a*(.11+.24133333*2+.028*2),y*.8).close()),b}),go.Shape.defineFigureGenerator("FloppyDisk",function(ue,a,y){var b=new go.Geometry,E=8,ee=E*se,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-ee,a-ee,y)),te.add(new go.PathSegment(go.PathSegment.Line,E,y)),te.add(new go.PathSegment(go.PathSegment.Bezier,0,y-E,ee,y,0,y-ee)),te.add(new go.PathSegment(go.PathSegment.Line,0,E)),te.add(new go.PathSegment(go.PathSegment.Bezier,E,0,0,ee,ee,0).close());var re=new go.PathFigure(a*.83,0,!1);b.add(re),re.add(new go.PathSegment(go.PathSegment.Line,a*.83,y*.3)),re.add(new go.PathSegment(go.PathSegment.Line,a*.17,y*.3)),re.add(new go.PathSegment(go.PathSegment.Line,a*.17,y*0).close());var oe=new go.PathFigure(a*.83,y*1,!1);b.add(oe),oe.add(new go.PathSegment(go.PathSegment.Line,a*.83,y*.5)),oe.add(new go.PathSegment(go.PathSegment.Line,a*.17,y*.5)),oe.add(new go.PathSegment(go.PathSegment.Line,a*.17,y*1).close());var ne=new go.PathFigure(a*.78,y*.05,!1);return b.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,a*.66,y*.05)),ne.add(new go.PathSegment(go.PathSegment.Line,a*.66,y*.25)),ne.add(new go.PathSegment(go.PathSegment.Line,a*.78,y*.25).close()),b}),go.Shape.defineFigureGenerator("SpeechBubble",function(ue,a,y){var b=ue?ue.parameter1:NaN;(isNaN(b)||b<0)&&(b=15),b=Math.min(b,a/3),b=Math.min(b,y/3);var E=b*se,ee=y*.8,te=new go.Geometry,re=new go.PathFigure(b,0,!0);return te.add(re),re.add(new go.PathSegment(go.PathSegment.Line,a-b,0)),re.add(new go.PathSegment(go.PathSegment.Bezier,a,b,a-E,0,a,E)),re.add(new go.PathSegment(go.PathSegment.Line,a,ee-b)),re.add(new go.PathSegment(go.PathSegment.Bezier,a-b,ee,a,ee-E,a-E,ee)),re.add(new go.PathSegment(go.PathSegment.Line,a*.7,ee)),re.add(new go.PathSegment(go.PathSegment.Line,a*.7,y)),re.add(new go.PathSegment(go.PathSegment.Line,a*.55,ee)),re.add(new go.PathSegment(go.PathSegment.Line,b,ee)),re.add(new go.PathSegment(go.PathSegment.Bezier,0,ee-b,E,ee,0,ee-E)),re.add(new go.PathSegment(go.PathSegment.Line,0,b)),re.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(ue,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 ee=new go.PathFigure(a*1,y*.55,!0);return b.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,a*.75,y*1)),ee.add(new go.PathSegment(go.PathSegment.Line,a*.5,y*.55)),ee.add(new go.PathSegment(go.PathSegment.Line,a*.7,y*.55)),ee.add(new go.PathSegment(go.PathSegment.Line,a*.7,y*.1)),ee.add(new go.PathSegment(go.PathSegment.Line,a*.4,y*.1)),ee.add(new go.PathSegment(go.PathSegment.Line,a*.35,y*0)),ee.add(new go.PathSegment(go.PathSegment.Line,a*.8,y*0)),ee.add(new go.PathSegment(go.PathSegment.Line,a*.8,y*.55).close()),b}),go.Shape.defineFigureGenerator("Windows",function(ue,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(ue,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 ee=new go.PathFigure(a*.1,y*.2,!0);b.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,a*.1,y*.25)),ee.add(new go.PathSegment(go.PathSegment.Line,a*.22,y*.285)),ee.add(new go.PathSegment(go.PathSegment.Line,a*.1,y*.32)),ee.add(new go.PathSegment(go.PathSegment.Line,a*.1,y*.37)),ee.add(new go.PathSegment(go.PathSegment.Line,a*.275,y*.32)),ee.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(ue,a,y){var b=new go.Geometry,E=15,ee=E*se,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-ee,a-ee,y)),te.add(new go.PathSegment(go.PathSegment.Line,E,y)),te.add(new go.PathSegment(go.PathSegment.Bezier,0,y-E,ee,y,0,y-ee)),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()),ee>1?(b.spot1=new go.Spot(0,0,ee,ee),b.spot2=new go.Spot(1,1,-ee,-ee)):(b.spot1=go.Spot.TopLeft,b.spot2=go.Spot.BottomRight),b}),go.Shape.defineFigureGenerator("Download",function(ue,a,y){var b=new go.Geometry,E=new go.PathFigure(a*0,y*1,!0);b.add(E);var ee=.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-ee))),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-ee))),E.add(new go.PathSegment(go.PathSegment.Line,a*.64,y*(1-ee))),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-ee))),E.add(new go.PathSegment(go.PathSegment.Line,a*.07,y*(1-ee))),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-ee)).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(ue,a,y){var b=new go.Geometry,E=new go.PathFigure(a*0,y*1,!0);b.add(E);var ee=.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-ee))),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-ee))),E.add(new go.PathSegment(go.PathSegment.Line,a*.64,y*(1-ee))),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-ee))),E.add(new go.PathSegment(go.PathSegment.Line,a*.07,y*(1-ee))),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-ee)).close()),b}),go.Shape.defineFigureGenerator("Upload",function(ue,a,y){var b=new go.Geometry,E=new go.PathFigure(a*0,y*1,!0);b.add(E);var ee=.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-ee))),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-ee))),E.add(new go.PathSegment(go.PathSegment.Line,a*.64,y*(1-ee))),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-ee))),E.add(new go.PathSegment(go.PathSegment.Line,a*.07,y*(1-ee))),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-ee)).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(ue,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(ue,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 ee=new go.PathFigure(a*.235,y*.28,!0);return b.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,a*.765,y*.28)),ee.add(new go.PathSegment(go.PathSegment.Line,a*.655,y*.97)),ee.add(new go.PathSegment(go.PathSegment.Line,a*.345,y*.97).close()),b}),go.Shape.defineFigureGenerator("4Arrows",function(ue,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 mt={},st="5.0",z={},x=null,ge=!1,he=!1,Fe=null,we=!1,ze=null,se=null,je=0;je<arguments.length;je++){var Te=arguments[je];if(Te!==null)switch(typeof Te){case"number":st=Te.toFixed(1);break;case"string":Te.match(new RegExp("^[0-9]\\.[0-9]+$"))?st=Te:Fe=Te;break;case"object":typeof Te.is3D!="undefined"?x=Te:z=Te;break;case"boolean":ge=Te,he=!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},z.material_id!==void 0&&!he&&(ge=!0)),Fe!==null&&z.id===void 0&&(z.id=Fe);var Le="",Ke="",De=!1,ve=null,ue=null,a=null,y=!1,b=null,E=null,ee=null,te=null,re=null;z.height!==void 0&&(z.height=Math.round(z.height)),z.width!==void 0&&(z.width=Math.round(z.width));var oe=function(lt){return parseFloat(lt)>4?parseFloat(lt):5};mt.setHTML5Codebase=function(lt,ht){se=lt,xt(lt,ht)},mt.setJavaCodebase=mt.setJavaCodebaseVersion=mt.isCompiledInstalled=mt.setPreCompiledScriptPath=mt.setPreCompiledResourcePath=function(){},mt.setHTML5CodebaseVersion=function(lt,ht){var Lt=parseFloat(lt);if(Lt!==NaN&&Lt<5){console.log("The GeoGebra HTML5 codebase version "+Lt+" is deprecated. Using version latest instead.");return}ze=lt,gt(lt,ht)},mt.getHTML5CodebaseVersion=function(){return ue},mt.getParameters=function(){return z},mt.setFontsCSSURL=function(lt){te=lt},mt.setGiacJSURL=function(lt){},mt.setJNLPFile=function(lt){Le=lt},mt.setJNLPBaseDir=function(lt){},mt.inject=function(){function lt(){return window.frameElement&&window.frameElement.getAttribute("data-singleton")}for(var ht="auto",Lt=z.id,zt,dt=!1,kt=0;kt<arguments.length;kt++){var Ze=arguments[kt];typeof Ze=="string"?(Ze=Ze.toLowerCase(),Ze.match(/^(prefer)?(java|html5|compiled|auto|screenshot)$/)?ht=Ze:Lt=arguments[kt]):typeof Ze=="boolean"?dt=Ze:Ze instanceof HTMLElement&&(zt=Ze)}Dn();function Dn(){if(!we){setTimeout(Dn,200);return}ht=Ve(ht);var zn=zt||document.getElementById(Lt);if(!zn){console.log("possibly bug on ajax loading? ");return}if(mt.removeExistingApplet(zn,!1),z.width===void 0&&zn.clientWidth&&(z.width=zn.clientWidth),z.height===void 0&&zn.clientHeight&&(z.height=zn.clientHeight),!(z.width&&z.height)&&ht==="html5"&&(delete z.width,delete z.height),ve=ht,ht==="screenshot")Re(zn,z);else{var Dt=!1;z.hasOwnProperty("playButton")&&z.playButton||z.hasOwnProperty("clickToLoad")&&z.clickToLoad?Dt=!0:z.hasOwnProperty("playButtonAutoDecide")&&z.playButtonAutoDecide&&(Dt=(!ne()||lt())&&de()),Dt?(ve="screenshot",Ie(zn,z,dt,ht)):Ne(zn,z,dt)}}};function ne(){try{return window.self!==window.top}catch(lt){return!0}}function de(){return z.hasOwnProperty("screenshotGenerator")&&z.screenshotGenerator?!1:Math.max(screen.width,screen.height)<800}mt.getViews=function(){return x},mt.isJavaInstalled=function(){return!1};var pe=function(lt){var ht=function(kt){var Ze=JSON.parse(kt),Dn=function(rn){return rn.type=="G"||rn.type=="E"},zn=Ze.elements?Ze.elements.filter(Dn)[0]:Ze;if(!zn||!zn.url){Lt();return}z.fileName=zn.url,Ee(zn.settings||{}),x.is3D=!0;var Dt="https://www.geogebra.org/images/";mt.setPreviewImage(b||zn.previewUrl,Dt+"GeoGebra_loading.png",Dt+"applet_play.png"),lt()},Lt=function(){z.onError&&z.onError(),Gt("Error: Fetching material (id "+z.material_id+") failed.",z)},zt=location.host.match(/(www|stage|beta|groot|alpha).geogebra.(org|net)/)?location.host:"www.geogebra.org",dt="/materials/"+z.material_id+"?scope=basic";be("https://"+zt+"/api/proxy.php?path="+encodeURIComponent(dt),ht,Lt)};function Ee(lt){var ht=["width","height","showToolBar","showMenuBar","showAlgebraInput","allowStyleBar","showResetIcon","enableLabelDrags","enableShiftDragZoom","enableRightClick","appName"];["enableLabelDrags","enableShiftDragZoom","enableRightClick"].forEach(function(Lt){lt[Lt]=!!lt[Lt]}),ht.forEach(function(Lt){z[Lt]===void 0&<[Lt]!==void 0&&(z[Lt]=lt[Lt])}),z.showToolBarHelp===void 0&&(z.showToolBarHelp=z.showToolBar)}function be(lt,ht,Lt){var zt=new XMLHttpRequest;zt.open("GET",lt),zt.onload=function(){ht(zt.responseText)},zt.onerror=Lt,zt.send()}mt.isHTML5Installed=function(){return!0},mt.getLoadedAppletType=function(){return ve},mt.setPreviewImage=function(lt,ht,Lt){b=lt,E=ht,ee=Lt},mt.removeExistingApplet=function(lt,ht){var Lt;typeof lt=="string"&&(lt=document.getElementById(lt)),ve=null;var zt=null;for(Lt=0;Lt<lt.childNodes.length;Lt++){var dt=lt.childNodes[Lt],kt=dt.className;kt==="applet_screenshot"?ht?(dt.style.display="block",ve="screenshot"):dt.style.display="none":kt!=="applet_scaler prerender"&&(lt.removeChild(dt),zt=kt&&kt.indexOf("appletParameters")!=-1?dt.id:null,Lt--)}var Ze=z.id!==void 0?z.id:zt,Dn=window[Ze];Dn&&typeof Dn.getBase64=="function"&&(Dn.remove(),window[Ze]=null)},mt.refreshHitPoints=function(){if(oe(ggbHTML5LoadedCodebaseVersion)>=5)return!0;var lt=mt.getAppletObject();return lt&&typeof lt.recalculateEnvironments=="function"?(lt.recalculateEnvironments(),!0):!1},mt.startAnimation=function(){var lt=mt.getAppletObject();return lt&&typeof lt.startAnimation=="function"?(lt.startAnimation(),!0):!1},mt.stopAnimation=function(){var lt=mt.getAppletObject();return lt&&typeof lt.stopAnimation=="function"?(lt.stopAnimation(),!0):!1},mt.getAppletObject=function(){var lt=z.id!==void 0?z.id:"ggbApplet";return window[lt]},mt.resize=function(){};var xe=function(lt,ht,Lt){var zt=document.createElement("param");zt.setAttribute("name",ht),zt.setAttribute("value",Lt),lt.appendChild(zt)},Ce=function(lt){return lt&<!=="false"},Ne=function(lt,ht,Lt){oe(ue)<=4.2&&(Lt=!0);var zt=!isRenderGGBElementEnabled&&!scriptLoadStarted;(!isRenderGGBElementEnabled&&!scriptLoadStarted||ggbHTML5LoadedCodebaseVersion!==ue||ggbHTML5LoadedCodebaseIsWebSimple&&!y)&&(zt=!0,isRenderGGBElementEnabled=!1,scriptLoadStarted=!1);var dt=document.createElement("div");dt.classList.add("appletParameters","notranslate");var kt=ht.width,Ze=ht.height;if(ht.disableAutoScale=ht.disableAutoScale===void 0?GGBAppletUtils.isFlexibleWorksheetEditor():ht.disableAutoScale,ht.width!==void 0)if(oe(ue)<=4.4)Ce(ht.showToolBar)&&(ht.height-=7),Ce(ht.showAlgebraInput)&&(ht.height-=37),ht.width<605&&Ce(ht.showToolBar)&&(ht.width=605,kt=605);else{var Dn=100;(Ce(ht.showToolBar)||Ce(ht.showMenuBar))&&(ht.hasOwnProperty("customToolBar")&&(ht.customToolbar=ht.customToolBar),Dn=Ce(ht.showMenuBar)?245:155),kt<Dn&&(ht.width=Dn,kt=Dn)}dt.style.border="none",dt.style.display="inline-block";for(var zn in ht)ht.hasOwnProperty(zn)&&zn!=="appletOnLoad"&&dt.setAttribute("data-param-"+zn,ht[zn]);te&&dt.setAttribute("data-param-fontscssurl",te),mt.resize=function(){GGBAppletUtils.responsiveResize(lt,ht)},window.addEventListener("resize",function(bn){mt.resize()});var Dt=typeof ht.appletOnLoad=="function"?ht.appletOnLoad:function(){};if(!Lt&&ht.width!==void 0){ht.hasOwnProperty("showSplash")||dt.setAttribute("data-param-showSplash","false");var rn=lt.querySelector(".applet_scaler.prerender"),en=rn!==null;if(en)var Ht=rn.querySelector(".ggb_preview");else{var Ht=Ge(kt,Ze,ht.borderColor,!1);rn=document.createElement("div"),rn.className="applet_scaler",rn.style.position="relative",rn.style.display="block",rn.style.width=kt+"px",rn.style.height=Ze+"px"}window.GGBT_spinner&&window.GGBT_spinner.attachSpinner(rn,"66%"),oe(ue)>=5?(ht.appletOnLoad=function(bn){var Je=lt.querySelector(".ggb_preview");Je&&Je.parentNode.removeChild(Je),window.GGBT_spinner&&window.GGBT_spinner.removeSpinner(rn),window.GGBT_wsf_view&&$(window).trigger("resize"),Dt(bn)},en||rn.appendChild(Ht)):dt.appendChild(Ht),rn.appendChild(dt),en||lt.appendChild(rn),setTimeout(function(){mt.resize()},1)}else{var Et=document.createElement("div");Et.className="applet_scaler",Et.style.position="relative",Et.style.display="block",Et.appendChild(dt),lt.appendChild(Et),ht.appletOnLoad=function(bn){mt.resize(),Dt(bn)}}function wn(bn,Je){Je&&typeof Je.appletOnLoad=="function"&&typeof renderGGBElement=="function"?renderGGBElement(bn,Je.appletOnLoad):renderGGBElement(bn),Gt("GeoGebra HTML5 applet injected and rendered with previously loaded codebase.",Je)}function dn(bn,Je){typeof renderGGBElement=="undefined"?(html5AppletsToProcess===null&&(html5AppletsToProcess=[]),html5AppletsToProcess.push({article:bn,params:Je}),window.renderGGBElementReady=function(){isRenderGGBElementEnabled=!0,html5AppletsToProcess!==null&&html5AppletsToProcess.length&&(html5AppletsToProcess.forEach(function(He){wn(He.article,He.params)}),html5AppletsToProcess=null)},oe(ue)<5&&(bn.className+=" geogebraweb")):wn(bn,Je)}if(zt){scriptLoadStarted=!0;for(var Bt=0;Bt<dt.childNodes.length;Bt++){var Bn=dt.childNodes[Bt].tagName;Bn==="TABLE"&&(dt.removeChild(dt.childNodes[Bt]),Bt--)}if(ggbHTML5LoadedScript!==null){var Yt=document.querySelector('script[src="'+ggbHTML5LoadedScript+'"]');Yt!=null&&Yt.parentNode.removeChild(Yt)}var Xt=document.createElement("script"),On=function(){dn(dt,ht)};Xt.src=Ke+a,ggbHTML5LoadedCodebaseIsWebSimple=y,ggbHTML5LoadedCodebaseVersion=ue,ggbHTML5LoadedScript=Xt.src,Gt("GeoGebra HTML5 codebase loaded: '"+Ke+"'.",ht),!se&&(!ze||ze=="5.0")?(y?webSimple.succeeded=webSimple.succeeded||webSimple():web3d.succeeded=web3d.succeeded||web3d(),On()):Ke.requirejs?__webpack_require__.e(12).then(function(){var bn=[__webpack_require__(12)];On.apply(null,bn)}.bind(this)).catch(__webpack_require__.oe):(Xt.onload=On,lt.appendChild(Xt))}else dn(dt,ht);ht.height=Ze,ht.width=kt},Re=function(lt,ht,Lt){var zt=Ge(ht.width,ht.height,ht.borderColor,Lt),dt=document.createElement("div");dt.style.position="relative",dt.style.display="block",dt.style.width=ht.width+"px",dt.style.height=ht.height+"px",dt.className="applet_screenshot applet_scaler"+(Lt?" applet_screenshot_play":""),dt.appendChild(zt);var kt=GGBAppletUtils.getScale(ht,lt,Lt);Lt?(lt.appendChild(Ue()),window.GGBT_wsf_view||(lt.style.position="relative")):window.GGBT_spinner&&window.GGBT_spinner.attachSpinner(dt,"66%"),lt.appendChild(dt),kt!==1&&!isNaN(kt)&&(GGBAppletUtils.scaleElement(dt,kt),dt.style.width=ht.width+"px",dt.style.height=ht.height+"px",dt.parentNode.style.width=ht.width*kt+"px",dt.parentNode.style.height=ht.height*kt+"px"),mt.resize=function(){at(lt,zt,dt,Lt)},window.addEventListener("resize",function(Ze){mt.resize()}),mt.resize()};function at(lt,ht,Lt,zt){if(lt.contains(ht)){if(typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()){if(lt.id!=="fullscreencontent")return;window.GGBT_wsf_view.setCloseBtnPosition(lt)}var dt=GGBAppletUtils.getScale(z,lt,zt);Lt.parentNode!==null&&(!isNaN(dt)&&dt!==1?(GGBAppletUtils.scaleElement(Lt,dt),Lt.parentNode.style.width=z.width*dt+"px",Lt.parentNode.style.height=z.height*dt+"px"):(GGBAppletUtils.scaleElement(Lt,1),Lt.parentNode.style.width=z.width+"px",Lt.parentNode.style.height=z.height+"px")),typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()&&GGBAppletUtils.positionCenter(lt),typeof window.GGBT_ws_header_footer=="object"&&window.GGBT_ws_header_footer.setWsScrollerHeight()}}mt.onExitFullscreen=function(lt,ht){ht.appendChild(lt)};var Ie=function(lt,ht,Lt,zt){Re(lt,ht,!0);for(var dt=function(){var Dn=[];for(Ze=0;Ze<lt.childNodes.length;Ze++)Dn.push(lt.childNodes[Ze]);if(window.GGBT_wsf_view){var zn=window.GGBT_wsf_view.renderFullScreen(lt,ht.id),Dt=document.getElementById("fullscreencontainer"),rn=jQuery(lt).find(".fullscreencontent");rn.length>0?(zn.remove(),rn.attr("id","fullscreencontent").show(),jQuery(Dt).append(rn),window.dispatchEvent(new Event("resize"))):Ne(zn,ht,!1),window.GGBT_wsf_view.launchFullScreen(Dt)}else ve=zt,Ne(lt,ht,!1);if(!window.GGBT_wsf_view)for(Ze=0;Ze<Dn.length;Ze++)lt.removeChild(Dn[Ze])},kt=lt.getElementsByClassName("ggb_preview_play"),Ze=0;Ze<kt.length;Ze++)kt[Ze].addEventListener("click",dt,!1),kt[Ze].addEventListener("ontouchstart",dt,!1);typeof window.ggbAppletPlayerOnload=="function"&&window.ggbAppletPlayerOnload(lt),de()&&window.GGBT_wsf_view&&$(".wsf-element-fullscreen-button").remove()},Ue=function(){var lt=document.createElement("div");if(lt.className="ggb_preview_play icon-applet-play",!window.GGBT_wsf_view){var ht='.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=ht:Lt.appendChild(document.createTextNode(ht)),document.getElementsByTagName("head")[0].appendChild(Lt)}return lt},Ge=function(lt,ht,Lt,zt){var dt=document.createElement("div");dt.className="ggb_preview",dt.style.position="absolute",dt.style.zIndex="90",dt.style.width=lt-2+"px",dt.style.height=ht-2+"px",dt.style.top="0px",dt.style.left="0px",dt.style.overflow="hidden",dt.style.backgroundColor="white";var kt="lightgrey";Lt!==void 0&&(Lt==="none"?kt="transparent":kt=Lt),dt.style.border="1px solid "+kt;var Ze=document.createElement("img");if(Ze.style.position="relative",Ze.style.zIndex="1000",Ze.style.top="-1px",Ze.style.left="-1px",b!==null&&Ze.setAttribute("src",b),Ze.style.opacity=.7,E!==null){var Dn,zn,Dt;if(!zt){Dn=document.createElement("img"),Dn.style.position="absolute",Dn.style.zIndex="1001",Dn.style.opacity=1,Ze.style.opacity=.3,zn=360,zn>lt/4*3&&(zn=lt/4*3),Dt=zn/5.8,Dn.setAttribute("src",E),Dn.setAttribute("width",zn),Dn.setAttribute("height",Dt);var rn=(lt-zn)/2,en=(ht-Dt)/2;Dn.style.left=rn+"px",Dn.style.top=en+"px",dt.appendChild(Dn)}}return dt.appendChild(Ze),dt},Ve=function(lt){return lt=lt.toLowerCase(),lt==="html5"||lt==="screenshot"?lt:"html5"},rt=["web","webSimple","web3d","tablet","tablet3d","phone"],gt=function(lt,ht){if(ue=lt,ht){xt(ue,!0);return}var Lt=!ge;if(Lt){var zt=oe(ue);!isNaN(zt)&&zt<4.4&&(Lt=!1)}var dt,kt;window.location.protocol.substr(0,4)==="http"?dt=window.location.protocol:dt="http:";var Ze=ue.indexOf("//");Ze>0?kt=ue:Ze===0?kt=dt+ue:kt="https://www.geogebra.org/apps/5.2.814.0/";for(var Dn in rt)if(ue.slice(rt[Dn].length*-1)===rt[Dn]||ue.slice((rt[Dn].length+1)*-1)===rt[Dn]+"/"){xt(kt,!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&&!Ce(z.showToolBar)&&!Ce(z.showMenuBar)&&!Ce(z.showAlgebraInput)&&!Ce(z.enableRightClick)&&(!z.appName||z.appName=="classic")?kt+="webSimple/":kt+="web3d/",xt(kt,!1)},xt=function(lt,ht){if(lt.requirejs){Ke=lt;return}lt.slice(-1)!=="/"&&(lt+="/"),Ke=lt,ht===null&&(ht=lt.indexOf("http")===-1),De=ht,a="web.nocache.js",y=!1;var Lt=Ke.split("/");Lt.length>1&&(!ht&&Lt[Lt.length-2]==="webSimple"?(a="webSimple.nocache.js",y=!0):rt.indexOf(Lt[Lt.length-2])>=0&&(a=Lt[Lt.length-2]+".nocache.js")),Lt=lt.split("/"),ue=Lt[Lt.length-3],ue.substr(0,4)==="test"?ue=ue.substr(4,1)+"."+ue.substr(5,1):(ue.substr(0,3)==="war"||ue.substr(0,4)==="beta")&&(ue="5.0");var zt=parseFloat(ue);zt!==NaN&&zt<5&<.indexOf("geogebra.org")>=0&&(console.log("The GeoGebra HTML5 codebase version "+zt+" is deprecated. Using version latest instead."),gt("5.0",ht))},Gt=function(lt,ht){window.console&&window.console.log&&(!ht||typeof ht.showLogging=="undefined"||ht.showLogging&&ht.showLogging!=="false")&&console.log(lt)};z.material_id!==void 0?pe(yn):yn();function yn(){var lt=st;ze!==null?lt=ze:parseFloat(lt)<5&&(lt="5.0"),gt(lt,!1),se!==null&&xt(se,De),we=!0}return mt},GGBAppletUtils=function(){"use strict";function mt(){return window.GGBT_wsf_edit!==void 0}function st(we,ze){ze!=1?(we.style.transformOrigin="0% 0% 0px",we.style.webkitTransformOrigin="0% 0% 0px",we.style.transform="scale("+ze+","+ze+")",we.style.webkitTransform="scale("+ze+","+ze+")",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 z(we,ze,se,je,Te,Le){var Ke=null;if(Le!=null&&Le!="")for(var De=we.parentNode;De!=null;)if((" "+De.className+" ").indexOf(" "+Le+" ")>-1){Ke=De;break}else De=De.parentNode;var ve=0,ue=0,a=0,y=0,b=0,E=0,ee=0;if(Ke)ve=Ke.offsetWidth,ue=Math.max(je?Ke.offsetWidth:0,Ke.offsetHeight);else{if(window.innerWidth&&document.documentElement.clientWidth?(ve=Math.min(window.innerWidth,document.documentElement.clientWidth),ue=Math.min(window.innerHeight,document.documentElement.clientHeight),a=ve):(ve=window.innerWidth,ue=window.innerHeight,a=window.innerWidth),we){var te=we.getBoundingClientRect();te.left>0&&te.left<=ve&&(Te===void 0||!Te)&&(document.dir==="rtl"?(b=ve-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 re=we.getBoundingClientRect();window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionRight"?(y=40,ee=0):window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionTop"&&(y=0,ee=40)}}return we&&((se===void 0||!se)&&ze>0&&ze+y<ve?ve=ze:ve-=y,typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()&&(se===void 0||!se)&&(ue-=ee)),{width:ve,height:ue}}function x(we,ze,se,je,Te){if(we.isScreenshoGenerator)return 1;var Le=je!==void 0&&je,Ke=we.noScaleMargin!=null&&we.noScaleMargin,De=function(re){return re&&re!=="false"},ve=De(we.autoHeight),ue=z(ze,we.width,se,ve,Le&&window.GGBT_wsf_view||Ke,Te),a=parseInt(ue.width),y=we.width,b=we.height;if(y===void 0){var E=ze.querySelector(".appletParameters");E&&(y=E.offsetWidth,b=E.offsetHeight)}var ee=a/y,te=Le?1:ue.height/b;return se!==void 0&&!se&&(ee=Math.min(1,ee),te=Math.min(1,te)),Math.min(ee,te)}function ge(we,ze,se){var je=1,Te,Le=!1;if(we.hasOwnProperty("allowUpscale")&&(Le=we.allowUpscale),we.hasOwnProperty("scale")&&(je=parseFloat(we.scale),(isNaN(je)||je===null||je===0)&&(je=1),je>1&&(Le=!0)),ze&&typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()&&(Le=!0),!(we.hasOwnProperty("disableAutoScale")&&we.disableAutoScale))Te=x(we,ze,Le,se,we.scaleContainerClass);else return je;return Le&&(!we.hasOwnProperty("scale")||je===1)?Te:Math.min(je,Te)}function he(we){var ze=Math.min(window.innerWidth,document.documentElement.clientWidth),se=Math.min(window.innerHeight,document.documentElement.clientHeight),je=we.getBoundingClientRect(),Te=(ze-je.width)/2,Le=(se-je.height)/2;Le<0&&(Le=0),we.style.position="relative",window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionRight"?(Te<40?we.style.left="40px":we.style.left=Te+"px",we.style.top=Le+"px"):window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionTop"&&(Le<40?we.style.top="40px":we.style.top=Le+"px",we.style.left=Te+"px")}function Fe(we,ze){var se=we.querySelector(".appletParameters");if(se){if(typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()){if(ze.id!==se.getAttribute("data-param-id"))return;window.GGBT_wsf_view.setCloseBtnPosition(we)}if(se.parentElement&&/fullscreen/.test(se.parentElement.className))return;var je=ge(ze,we);mt()&&se.setAttribute("data-param-scale",je);for(var Te=null,Le=0;Le<we.childNodes.length;Le++)if(we.childNodes[Le].className!==void 0&&we.childNodes[Le].className.match(/^applet_scaler/)){Te=we.childNodes[Le];break}if(Te!==null&&Te.querySelector(".noscale")!==null)return;var Ke=ze.id!==void 0?ze.id:"ggbApplet",De=window[Ke];(De==null||!De.recalculateEnvironments)&&Te!==null&&!Te.className.match(/fullscreen/)&&(Te.parentNode.style.transform="",!isNaN(je)&&je!==1?(Te.parentNode.style.width=ze.width*je+"px",Te.parentNode.style.height=ze.height*je+"px",st(Te,je)):(st(Te,1),Te.parentNode.style.width=ze.width+"px",Te.parentNode.style.height=ze.height+"px")),typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()&&he(we),window.GGBT_wsf_view&&!window.GGBT_wsf_view.isFullscreen()&&window.GGBT_wsf_general.adjustContentToResize($(se).parents(".content-added-content"))}}return{responsiveResize:Fe,isFlexibleWorksheetEditor:mt,positionCenter:he,getScale:ge,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 mt=n.location.search;return mt.indexOf(J)!=-1||mt.indexOf(K)!=-1}function q(mt,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(mt){var st=s[L].bindings;s[L].bindings=function(){for(var z=st?st():{},x=mt[webModule.__softPermutationId],ge=O;ge<x.length;ge++){var he=x[ge];z[he[O]]=he[P]}return z}};var t;function u(){return v(),t}function v(){if(!t){var mt=o.createElement(Q);if(mt.id=L,mt.style.cssText=R+S,mt.tabIndex=-1,o.body.appendChild(mt),t=mt.contentWindow.document,navigator.userAgent.indexOf(T)==-1){t.open();var st=document.compatMode==U?V:W;t.write(st+X),t.close()}}}function w(mt){function st(x){function ge(){return typeof o.readyState==Y?typeof o.body!=Y&&o.body!=null:/loaded|complete/.test(o.readyState)}var he=ge();if(he){x();return}function Fe(){if(!he){if(!ge())return;he=!0,x(),o.removeEventListener&&o.removeEventListener(Z,Fe,!1),we&&clearInterval(we)}}o.addEventListener&&o.addEventListener(Z,Fe,!1);var we=setInterval(function(){Fe()},$)}function z(x){var ge=u(),he=ge.body,Fe=ge.createElement(_);Fe.language=ab,Fe.crossOrigin=W,Fe.src=x,webModule.__errFn&&(Fe.onerror=function(){webModule.__errFn(L,new Error(bb+x))}),he.appendChild(Fe)}st(function(){z(mt)})}webModule.__startLoadingFragment=function(mt){return C(mt)},webModule.__installRunAsyncCode=function(mt){var st=u(),z=st.body,x=st.createElement(_);x.language=ab,x.text=mt,z.appendChild(x),z.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(mt){alert(nb+k+ob)}}else if(j==pb&&(k=i.getAttribute(kb),k))try{e=eval(k)}catch(mt){alert(nb+k+qb)}}}__gwt_getMetaProperty=function(mt){var st=c[mt];return st==null?null:st},r=d,webModule.__errFn=e}function B(){function mt(we){var ze=we.lastIndexOf(rb);ze==-1&&(ze=we.length);var se=we.indexOf(sb);se==-1&&(se=we.length);var je=we.lastIndexOf(tb,Math.min(se,ze));return je>=O?we.substring(O,je+P):W}function st(we){if(!we.match(/^\w+:\/\//)){var ze=o.createElement(ub);ze.src=we+vb,we=mt(ze.src)}return we}function z(){var we=__gwt_getMetaProperty(wb);return we!=null?we:W}function x(){for(var we=o.getElementsByTagName(_),ze=O;ze<we.length;++ze)if(we[ze].src.indexOf(xb)!=-1)return mt(we[ze].src);return W}function ge(){var we=o.getElementsByTagName(yb);return we.length>O?we[we.length-P].href:W}function he(){var we=o.location;return we.href==we.protocol+zb+we.host+we.pathname+we.search+we.hash}var Fe=z();return Fe==W&&(Fe=x()),Fe==W&&(Fe=ge()),Fe==W&&he()&&(Fe=mt(o.location.href)),Fe=st(Fe),Fe}function C(mt){return mt.match(/^\//)||mt.match(/^[a-zA-Z]+:\/\//)?mt:webModule.__moduleBase+mt}function D(){var mt=[],st=O,z=[],x=[];function ge(we){var ze=x[we](),se=z[we];if(ze in se)return ze;var je=[];for(var Te in se)je[se[Te]]=Te;throw r&&r(we,je,ze),null}if(__gwt_isKnownPropertyValue=function(we,ze){return ze in z[we]},webModule.__getPropMap=function(){var we={};for(var ze in z)z.hasOwnProperty(ze)&&(we[ze]=ge(ze));return we},webModule.__computePropValue=ge,n.__gwt_activeModules[L].bindings=webModule.__getPropMap,p())return C(Bb);var he;try{he=Cb;var Fe=he.indexOf(Db);Fe!=-1&&(st=parseInt(he.substring(Fe+P),$),he=he.substring(O,Fe))}catch(we){}return webModule.__softPermutationId=st,C(he+Eb)}function F(){n.__gwt_stylesLoaded||(n.__gwt_stylesLoaded={})}A(),webModule.__moduleBase=window.ENV==="build"?"/react/build/js/mathematicalGraphics/"+name+"/":"/js/mathematicalGraphics/"+name+"/",s[L].moduleBase=webModule.__moduleBase;var G=D();return F(),w(G),!0}return webModule},typeof window.web3d!="function"&&(window.web3d=GGBAppletUtils.makeModule("web3d","A18F540516513B1292CA7CEF2F6AFC7E")),typeof window.webSimple!="function"&&(window.webSimple=GGBAppletUtils.makeModule("webSimple","96B09BF1B436BF53F0DF54116700F16A")),window.GGBApplet=GGBApplet})()},15476:function(mt,st,z){"use strict";z.d(st,{Ax:function(){return Fe},Ds:function(){return we},KI:function(){return se},SI:function(){return he},f1:function(){return ge}});var x=z(11320);function ge(je){let Te=!0;if(je.length>0){for(let Le=0;Le<je.length;Le++)if(je[Le].compile_success==0||!je[Le].compile_success){Te=!1;break}}else Te=!1;return Te}function he(je,Te=""){let Le=[];for(let Ke=0;Ke<je.length;Ke++){let De=je[Ke],ve=Te?`${Te}/${De.name}`:`${De.name}`;Le.push({title:De.name,type:De.type,isLeaf:De.type!=="tree",key:ve})}return Le}function Fe(je,Te,Le){for(let Ke=0;Ke<je.length;Ke++){let De=je[Ke];if(De.key===Te){De.children=Le;break}De.children&&Fe(De.children,Te,Le)}return je}function we(je,Te,Le){let Ke;return function(){let De=this,ve=arguments,ue=function(){Ke=null,Le||je.apply(De,ve)},a=Le&&!Ke;clearTimeout(Ke),Ke=setTimeout(ue,Te),a&&je.apply(De,ve)}}const ze=!0,se=x.Z.API_SERVER},86169:function(mt,st,z){"use strict";z.d(st,{Z:function(){return ee}});var x=z(67294),ge=z(22150),he=z(2453),Fe=z(14446),we=z(20669),ze=z(69677),se=z(9430),je=z(71230),Te=z(15746),Le=z(27484),Ke=z.n(Le),De=z(28706),ve=z(35973),ue={tips:"tips___e8J4O",homeworkType:"homeworkType___ZjN2X",antdTable:"antdTable___amDdp",modalWrapper:"modalWrapper___XPojI"},a=z(89779),y=z(17998),b=(te,re,oe)=>new Promise((ne,de)=>{var pe=xe=>{try{be(oe.next(xe))}catch(Ce){de(Ce)}},Ee=xe=>{try{be(oe.throw(xe))}catch(Ce){de(Ce)}},be=xe=>xe.done?ne(xe.value):Promise.resolve(xe.value).then(pe,Ee);be((oe=oe.apply(te,re)).next())});const E=({dispatch:te,courseEndTime:re,classroomList:oe,successCallback:ne=()=>{},visible:de,homeworkIds:pe,courseId:Ee,isBatch:be,shixunHomeworks:xe})=>{const[Ce]=ge.default.useForm(),[Ne,Re]=(0,x.useState)(!1),[at,Ie]=(0,x.useState)(!1),[Ue,Ge]=(0,x.useState)(!1),[Ve,rt]=(0,x.useState)([]),[gt,xt]=(0,x.useState)([]),[Gt,yn]=(0,x.useState)([]),[lt,ht]=(0,x.useState)([]),[Lt,zt]=(0,x.useState)([]),[dt,kt]=(0,x.useState)([]),[Ze,Dn]=(0,x.useState)([]),[zn,Dt]=(0,x.useState)([]),[rn,en]=(0,x.useState)([]);(0,x.useEffect)(()=>{de?Ht():wn()},[de]);const Ht=()=>b(void 0,null,function*(){Re(!0);const dn=yield(0,a.oR)(pe[0],{course_id:Ee});Ge(dn.no_group),be?(Dn(dn.all_course_groups),Dt(dn.all_course_groups)):(ht(dn.late_course_groups),zt(dn.late_course_groups),rt(dn.submit_course_groups),xt(dn.submit_course_groups)),Re(!1),Ce.setFieldsValue({end_time:Ke()()})}),Et=()=>b(void 0,null,function*(){const dn=Ce.getFieldsValue(),Bt=Ke()(dn.end_time).format("YYYY-MM-DD HH:mm");if((be?rn.length===0:Gt.length===0&&dt.length===0)&&!Ue){he.ZP.warning("\u8BF7\u9009\u62E9\u9700\u8981\u64CD\u4F5C\u7684\u73ED\u7EA7");return}Ie(!0);const Yt=yield(0,a.Mc)(Ee,{no_group:Ue,homework_ids:pe,group_ids:be?rn:Gt,end_time:Bt,late_group_ids:be?rn:dt});Ie(!1),Yt.status===0&&(wn(),he.ZP.success("\u64CD\u4F5C\u6210\u529F"),ne(),te({type:"classroomList/setActionTabs",payload:{key:"\u6E05\u9664\u9009\u62E9\u6570\u636E"}}))}),wn=()=>{yn([]),kt([]),xt([]),zt([])};return x.createElement(Fe.default,{centered:!0,title:"\u7ACB\u5373\u622A\u6B62",className:ue.modalWrapper,width:be||Ue?520:760,open:de,confirmLoading:at,destroyOnClose:!0,okText:"\u622A\u6B62",cancelText:"\u53D6\u6D88",onOk:()=>Et(),onCancel:()=>{wn(),te({type:"classroomList/setActionTabs",payload:{}})}},x.createElement("div",{className:ue.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(ge.default,{form:Ce,layout:"vertical"},x.createElement(ge.default.Item,{name:"end_time",label:"\u622A\u6B62\u65F6\u95F4"},x.createElement(we.default,{style:{width:"100%"},disabledDate:dn=>(0,y.Q8)(dn,re),disabledTime:dn=>(0,y.d0)(dn),placeholder:"\u8BF7\u9009\u62E9\u7ED3\u675F\u65F6\u95F4",showTime:{format:"HH:mm",defaultValue:Ke()((0,De.U6)(),"HH:mm")},format:"YYYY-MM-DD HH:mm",allowClear:!1}))),!Ue&&x.createElement(x.Fragment,null,be?x.createElement("div",null,x.createElement(ze.default,{placeholder:"\u641C\u7D22\u73ED\u7EA7",onChange:dn=>{Dt(Ze.filter(Bt=>Bt.name.indexOf(dn.target.value)>-1))}}),x.createElement(se.default,{style:{marginTop:"10px",height:"300px",overflow:"auto"},className:ue.antdTable,rowSelection:{type:"checkbox",onChange:dn=>{en(dn)}},rowKey:"id",pagination:!1,dataSource:zn,loading:Ne,columns:[{title:"\u73ED\u7EA7",dataIndex:"name"}]})):x.createElement(je.Z,{gutter:24},x.createElement(Te.Z,{span:14},x.createElement("div",{className:ue.homeworkType},"\u4F5C\u4E1A\u622A\u6B62"),x.createElement(ze.default,{placeholder:"\u641C\u7D22\u73ED\u7EA7",onChange:dn=>{xt(Ve.filter(Bt=>Bt.name.indexOf(dn.target.value)>-1))}}),x.createElement("div",{className:ue.tableWrapper},x.createElement(se.default,{style:{marginTop:"10px",height:"260px",overflow:"auto"},className:ue.antdTable,rowSelection:{type:"checkbox",onChange:dn=>{yn(dn)}},rowKey:"id",pagination:!1,dataSource:gt,loading:Ne,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(Te.Z,{flex:10,style:{maxWidth:"280px"}},x.createElement("div",{className:ue.homeworkType},"\u8865\u4EA4\u622A\u6B62"),x.createElement(ze.default,{placeholder:"\u641C\u7D22\u73ED\u7EA7",onChange:dn=>{zt(lt.filter(Bt=>Bt.name.indexOf(dn.target.value)>-1))}}),x.createElement("div",{className:ue.tableWrapper},x.createElement(se.default,{style:{marginTop:"10px",height:"260px",overflow:"auto",maxWidth:"280px"},className:ue.antdTable,rowSelection:{type:"checkbox",onChange:dn=>{kt(dn)}},rowKey:"id",pagination:!1,loading:Ne,dataSource:Lt,columns:[{title:"\u73ED\u7EA7",dataIndex:"name",ellipsis:!0,width:120},{title:"\u622A\u6B62\u65F6\u95F4",dataIndex:"late_time"}]}))))))};var ee=(0,ve.connect)(({shixunHomeworks:te,classroomList:re})=>({shixunHomeworks:te,classroomList:re}))(E)},63205:function(mt,st,z){"use strict";z.d(st,{Z:function(){return Ke}});var x=z(67294),ge={imageDimensions:"imageDimensions___a7crR",img:"img___Kroat",fullWidth:"fullWidth___c492T"},he=z(94184),Fe=z.n(he),we=z(57953),ze=z(15979),se=z(33170),je=z(28706),Te=(De,ve,ue)=>new Promise((a,y)=>{var b=te=>{try{ee(ue.next(te))}catch(re){y(re)}},E=te=>{try{ee(ue.throw(te))}catch(re){y(re)}},ee=te=>te.done?a(te.value):Promise.resolve(te.value).then(b,E);ee((ue=ue.apply(De,ve)).next())}),Ke=({data:De,className:ve,fullWidth:ue,style:a={},onClose:y,onOk:b,showFullTools:E,noAssociationId:ee})=>{const te=(0,x.useRef)(null),re=(0,x.useRef)(null),oe=(0,x.useRef)(null),ne=(0,x.useRef)(null),[de,pe]=(0,x.useState)(!1),[Ee,be]=(0,x.useState)("\u6B63\u5728\u52A0\u8F7D\u4E2D");(0,x.useEffect)(()=>{oe.current||(oe.current=document.createElement("style"),document.head.appendChild(oe.current)),De!=null&&De.visible?(document.body.setAttribute("data-custom","y-hidden"),oe.current.innerHTML=" html { overflow-y: hidden; }",De!=null&&De.src&&xe()):(document.body.removeAttribute("data-custom"),oe.current&&(document.head.removeChild(oe.current),oe.current=null))},[De==null?void 0:De.visible]);const xe=()=>Te(void 0,null,function*(){pe(!0),be("\u6B63\u5728\u52A0\u8F7D\u4E2D");const Ie=yield(0,je.ZJ)(De==null?void 0:De.src);te.current.src="",te.current.src=Ie,te.current.onload=function(){at()},pe(!1),be("")}),Ce=()=>{document.body.removeAttribute("data-custom"),oe.current.innerHTML=" ",y()},Ne=Ie=>Te(void 0,null,function*(){pe(!0),be("\u6B63\u5728\u4FDD\u5B58\u4E2D");const Ue=yield(0,se.ZP)("/api/attachments.json",{method:"post",body:{file_type:"base64",original_filename:De.title,file:Ie.dataUrl}});Ue!=null&&Ue.id&&!ee?(yield(0,se.ZP)(`/api/attachments/${De.id}/add_subitem.json`,{method:"post",body:{subitem_id:Ue==null?void 0:Ue.id,settings:JSON.stringify(Ie.state)}})).status===0&&b():Ue!=null&&Ue.id&&b(Ue),document.body.removeAttribute("data-custom"),oe.current.innerHTML=" ",pe(!1),be("")}),Re=()=>{const Ie=document.querySelector('a[href="https://markerjs.com/"]');Ie&&Ie.parentNode&&(Ie.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(Ge=>{const Ve=document.querySelector(Ge.name);Ve&&Ve.setAttribute("title",Ge.title)})},at=()=>{re.current=new ze.hP(te.current),re.current.targetRoot=ne.current,re.current.addEventListener("render",Ne),re.current.addEventListener("beforeclose",Ce),E&&(re.current.availableMarkerTypes=re.current.ALL_MARKER_TYPES,re.current.uiStyleSettings.redoButtonVisible=!0,re.current.uiStyleSettings.notesButtonVisible=!0,re.current.uiStyleSettings.zoomButtonVisible=!0,re.current.uiStyleSettings.zoomOutButtonVisible=!0,re.current.uiStyleSettings.clearButtonVisible=!0),window.markerArea=re.current.uiStyleSettings,re.current.show(),De!=null&&De.snapshotData&&re.current.restoreState(De.snapshotData),setTimeout(()=>{window.scrollTo(0,0),Re()},300)};return x.createElement(x.Fragment,null,(De==null?void 0:De.visible)&&x.createElement(we.Z,{spinning:de,tip:Ee,style:{position:"absolute"}},x.createElement("div",{ref:ne,className:Fe()(ge.imageDimensions,ve,ue?ge.fullWidth:""),style:a},x.createElement("img",{className:ge.img,ref:te}))))}},36527:function(mt,st,z){"use strict";var x=z(67294),ge=z(71230),he=z(15746),Fe=z(66368),we=z(71577),ze=z(85725),se=z(71736),je=z(84279),Te=z(67294);const Le=(0,x.forwardRef)(({callback:Ke,showSaveButton:De,value:ve=""},ue)=>{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=re=>{a.current.setValue(a.current.getValue()+" "+re.value+" ")},ee=[{key:"1",label:"\u5FEB\u6377\u6A21\u677F",children:Te.createElement(ge.Z,{className:se.Z.lists,gutter:[10,10]},y.map((re,oe)=>Te.createElement(he.Z,{flex:"110px",className:se.Z.item},Te.createElement("div",null,Te.createElement(ze.Z,{value:`$$${re.value}$$`}),re.name),Te.createElement("div",{className:se.Z.children},re.children.map((ne,de)=>Te.createElement("div",{key:de},Te.createElement("h1",null,ne.name),Te.createElement(ge.Z,{gutter:[10,10]},ne.data.map((pe,Ee)=>Te.createElement(he.Z,{key:Ee,onClick:()=>E(pe),className:se.Z.diamond},Te.createElement(ze.Z,{value:"`$$"+pe.value+"$$`"}))))))))))},{key:"2",label:"\u516C\u5F0F\u6A21\u677F",children:Te.createElement(ge.Z,{className:se.Z.lists,gutter:[10,10]},b.map((re,oe)=>Te.createElement(he.Z,{flex:"110px",className:se.Z.item},Te.createElement("div",null,Te.createElement(ze.Z,{value:"`$$"+re.value+"$$`"}),re.name),Te.createElement("div",{className:se.Z.children},re.children.map((ne,de)=>Te.createElement("div",{key:de},ne.name&&Te.createElement("h1",null,ne.name),Te.createElement(ge.Z,{gutter:[10,10]},ne.data.map((pe,Ee)=>Te.createElement(he.Z,{key:Ee,onClick:()=>E(pe),className:se.Z.diamond},Te.createElement(ze.Z,{value:"`$$"+pe.value+"$$`"}))))))))))}],te=()=>{var re=document.createElement("div");re.innerHTML=a.current.getValue();var oe=re.innerText;return Ke&&Ke(oe),oe};return(0,x.useImperativeHandle)(ue,()=>({getData:te})),Te.createElement("div",{className:se.Z.mathWrap},Te.createElement(Fe.default,{defaultActiveKey:"1",items:ee}),Te.createElement("math-field",{locale:"zh_cn",className:se.Z.mathField,placeholder:"\u8BF7\u6253\u5F00\u952E\u76D8\uFF0C\u8F93\u5165\u516C\u5F0F",ref:a,style:{width:800,marginTop:30,fontSize:18}},ve||""),De&&Te.createElement("div",{className:se.Z.button},Te.createElement(we.ZP,{size:"large",onClick:te,style:{zIndex:8,marginTop:10},type:"primary"},"\u4FDD\u5B58\u5230\u7F16\u8F91\u5668")))});st.Z=Le},39717:function(mt,st,z){"use strict";z.d(st,{Q:function(){return ze}});var x=z(67294),ge=z(42563),he=z(78045),Fe=z(31795),we=z(67294),ze=(je=>(je[je.Number=1]="Number",je[je.Percent=2]="Percent",je))(ze||{});const se=({value:je,onChange:Te,disabled:Le,hidePercentOption:Ke=!1,percentType:De="select"})=>{const ve=(0,x.useMemo)(()=>Ke?1:2,[Ke]),[ue,a]=(0,x.useState)(ve);console.log(ue);const y=E=>je.type===1?`${E}\u5206`:`${E}%`,b=(0,x.useCallback)(E=>{if(ue===1){const ee=E.replace("\u5206","");return isNaN(parseInt(ee,10))?0:ee}else return E.replace("%","")},[ue]);return(0,x.useEffect)(()=>{a(je.type)},[je]),we.createElement("div",{style:{display:"flex",alignItems:"center"}},De=="select"&&we.createElement(ge.default,{size:"large",onChange:E=>{a(E),Te({type:E,inputValue:E===1?5:20})},value:ue||ve,style:{width:100},options:Ke?[{label:"\u5206\u503C",value:1}]:[{label:"\u767E\u5206\u6BD4",value:2},{label:"\u5206\u503C",value:1}],disabled:Le}),De=="radio"&&we.createElement(he.ZP.Group,{size:"large",onChange:E=>{const ee=E.target.value;a(ee),Te({type:ee,inputValue:ee===1?5:20})},value:ue||ve,disabled:Le},!Ke&&we.createElement(he.ZP,{value:2,style:{marginRight:"50px"}},"\u767E\u5206\u6BD4\u6263\u5206"),we.createElement(he.ZP,{value:1},"\u56FA\u5B9A\u5206\u503C")),De=="radio"&&we.createElement("div",{style:{marginRight:"10px",color:"#000000"}},je.type==2?"\u6263\u9664\u8865\u4EA4\u9636\u6BB5\u5F97\u5206\u7684":"\u6263\u9664\u603B\u6210\u7EE9\u7684"),we.createElement(Fe.Z,{size:"large",disabled:Le,value:je.inputValue,style:{width:"120px"},parser:b,addonAfter:je.type===1?"\u5206":"%",max:ue===2?100:Number.MAX_SAFE_INTEGER,min:0,precision:0,onChange:E=>{Te({type:ue,inputValue:E})}}),De=="radio"&&je.type==2&&we.createElement("div",{style:{marginLeft:"10px",color:"#000000"}},"\u5206\u6570"))};st.Z=se},96332:function(mt,st,z){"use strict";z.d(st,{Z:function(){return je}});var x=z(67294),ge={flex_box_center:"flex_box_center___rQJfc",flex_space_between:"flex_space_between___MDW24",flex_box_vertical_center:"flex_box_vertical_center___RZbAv",flex_box_center_end:"flex_box_center_end___ILhJA",flex_box_column:"flex_box_column___Fmij7",orangeColor:"orangeColor___U5vU6",redColor:"redColor___qYa6X",statustitle:"statustitle___pTBLm",statusbody:"statusbody___qUPQx",flex:"flex___VtL45"},he=z(14446),Fe="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",ze=(Te,Le,Ke)=>new Promise((De,ve)=>{var ue=b=>{try{y(Ke.next(b))}catch(E){ve(E)}},a=b=>{try{y(Ke.throw(b))}catch(E){ve(E)}},y=b=>b.done?De(b.value):Promise.resolve(b.value).then(ue,a);y((Ke=Ke.apply(Te,Le)).next())}),je=({type:Te,resdata:Le,onok:Ke,oktext:De,okloading:ve})=>{const[ue,a]=(0,x.useState)(!1),{can_copy_list:y,can_copy_num:b,challenge_type:E,course_data_list:ee,no_copy_list:te,no_copy_num:re,no_use_list:oe,no_use_num:ne,repeat_shixun_num:de,student_count:pe,total_num:Ee,use_num:be}=Le;let xe=b>0||Te==="exercise";(0,x.useEffect)(()=>{(Le==null?void 0:Le.student_count)>0&&a(!0)},[Le]),console.log("---11",ve),(0,x.useEffect)(()=>{ve||a(!1)},[ve]);const Ce=()=>{if(Te==="exercise"&&E===1)return x.createElement(x.Fragment,null,"\u8BFE\u5802\u5185\u6709",x.createElement("span",{className:ge.orangeColor},pe),"\u540D\u5B66\u751F\u5DF2\u5728\u5176\u4ED6\u8003\u8BD5\u4E2D\u6311\u6218\u8FC7\u5176\u4E2D\u7684",x.createElement("span",{className:ge.orangeColor},be),"\u4E2A\u5B9E\u8DF5\u9879\u76EE\uFF0C",x.createElement("span",{className:ge.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(Te==="exercise"&&E===2)return x.createElement(x.Fragment,null,"\u8BFE\u5802\u5185\u6709",x.createElement("span",{className:ge.orangeColor},pe),"\u540D\u5B66\u751F\u5DF2\u5728\u8BFE\u5802\u5B9E\u9A8C\u4E2D\u6311\u6218\u8FC7\u5176\u4E2D\u7684",x.createElement("span",{className:ge.orangeColor},be),"\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:ge.redColor},"\u91CD\u590D\u53D1\u5E03\u4F1A\u5BFC\u81F4\u8FD9\u90E8\u5206\u5B66\u751F\u65E0\u6CD5\u518D\u63D0\u4EA4\u4F5C\u4E1A\u3002"));if(Te==="shixun"&&E===1)return x.createElement(x.Fragment,null,"\u8BFE\u5802\u5185\u6709",x.createElement("span",{className:ge.orangeColor},pe),"\u540D\u5B66\u751F\u5DF2\u5728\u8003\u8BD5\u4E2D\u6311\u6218\u8FC7\u8BE5\u5B9E\u8DF5\u9879\u76EE\uFF0C",x.createElement("span",{className:ge.redColor},"\u91CD\u590D\u53D1\u9001\u4F1A\u5BFC\u81F4\u8FD9\u90E8\u5206\u5B66\u751F\u65E0\u6CD5\u518D\u63D0\u4EA4\u4F5C\u4E1A\u3002"));if(Te==="shixun"&&E===2)return x.createElement(x.Fragment,null,"\u8BFE\u5802\u5185\u6709",x.createElement("span",{className:ge.orangeColor},pe),"\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:ge.redColor},"\u91CD\u590D\u53D1\u9001\u4F1A\u5BFC\u81F4\u8FD9\u90E8\u5206\u5B66\u751F\u65E0\u6CD5\u518D\u63D0\u4EA4\u4F5C\u4E1A\u3002"));if(Te==="subject"&&E===1)return x.createElement(x.Fragment,null,"\u8BFE\u5802\u5185\u6709",x.createElement("span",{className:ge.orangeColor},pe),"\u540D\u5B66\u751F\u5DF2\u5728\u8003\u8BD5\u4E2D\u6311\u6218\u8FC7\u5176\u4E2D\u7684",x.createElement("span",{className:ge.orangeColor},be),"\u4E2A\u5B9E\u8DF5\u9879\u76EE\uFF0C",x.createElement("span",{className:ge.redColor},"\u91CD\u590D\u53D1\u9001\u4F1A\u5BFC\u81F4\u8FD9\u90E8\u5206\u5B66\u751F\u65E0\u6CD5\u518D\u63D0\u4EA4\u4F5C\u4E1A\u3002"));if(Te==="subject"&&E===2)return x.createElement(x.Fragment,null,"\u8BFE\u5802\u5185\u6709 ",x.createElement("span",{className:ge.orangeColor},pe)," \u540D\u5B66\u751F\u5DF2\u5728\u8BFE\u5802\u5B9E\u9A8C\u6311\u6218\u8FC7\u5176\u4E2D\u7684 ",x.createElement("span",{className:ge.orangeColor},be)," \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:ge.redColor},"\u91CD\u590D\u53D1\u9001\u4F1A\u5BFC\u81F4\u8FD9\u90E8\u5206\u5B66\u751F\u65E0\u6CD5\u518D\u63D0\u4EA4\u4F5C\u4E1A\u3002"));if(Te==="exercisepush")return x.createElement(x.Fragment,null,"\u8BFE\u5802\u5185\u6709",x.createElement("span",{className:ge.orangeColor},pe),"\u540D\u5B66\u751F\u5DF2\u5728\u5176\u4ED6\u8003\u8BD5\u4E2D\u6311\u6218\u8FC7\u8BD5\u5377\u4E2D\u7684",x.createElement("span",{className:ge.orangeColor},be),"\u4E2A\u5B9E\u8DF5\u9879\u76EE \uFF0C",x.createElement("span",{className:ge.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(Te==="shixunpush"&&E===1)return x.createElement(x.Fragment,null,"\u8BFE\u5802\u5185\u6709",x.createElement("span",{className:ge.orangeColor},pe),"\u540D\u5B66\u751F\u5DF2\u5728\u8003\u8BD5\u4E2D\u6311\u6218\u8FC7\u5176\u4E2D\u7684",x.createElement("span",{className:ge.orangeColor},be),"\u4E2A\u5B9E\u8DF5\u9879\u76EE\uFF0C",x.createElement("span",{className:ge.redColor},"\u91CD\u590D\u53D1\u5E03\u4F1A\u5BFC\u81F4\u8FD9\u90E8\u5206\u5B66\u751F\u65E0\u6CD5\u518D\u63D0\u4EA4\u4F5C\u4E1A\u3002"));if(Te==="shixunpush"&&E===2)return x.createElement(x.Fragment,null,"\u8BFE\u5802\u5185\u6709",x.createElement("span",{className:ge.orangeColor},pe),"\u540D\u5B66\u751F\u5DF2\u5728\u8BFE\u5802\u5B9E\u9A8C\u4E2D\u6311\u6218\u8FC7",x.createElement("span",{className:ge.orangeColor},be),"\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:ge.redColor},"\u91CD\u590D\u53D1\u5E03\u4F1A\u5BFC\u81F4\u8FD9\u90E8\u5206\u5B66\u751F\u65E0\u6CD5\u518D\u63D0\u4EA4\u4F5C\u4E1A\u3002"))},Ne=()=>{if(Te==="exercise"||Te==="subject"||Te==="exercisepush"||Te==="shixunpush")return x.createElement("div",{style:{marginTop:20}},re>0&&x.createElement("div",null,x.createElement("span",{className:ge.flex},x.createElement("img",{src:we,style:{width:14}}),x.createElement("span",{className:ge.statustitle},"\u4E0D\u652F\u6301\u590D\u5236\u7684\u5B9E\u8DF5\u9879\u76EE")),x.createElement("div",{className:ge.statusbody},Te==="exercise"&&x.createElement("div",{style:{marginBottom:15}},"\u6CA1\u6709\u590D\u5236\u6743\u9650\u7684\u5B9E\u8DF5\u9879\u76EE\uFF0C",x.createElement("span",{className:ge.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"),(Te==="subject"||Te==="exercisepush")&&x.createElement("div",{style:{marginBottom:15}},"\u6CA1\u6709\u590D\u5236\u6743\u9650\u7684\u5B9E\u8DF5\u9879\u76EE\uFF0C",xe&&x.createElement("span",{className:ge.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"),Te==="shixunpush"&&x.createElement("div",{style:{marginBottom:15}},"\u6CA1\u6709\u590D\u5236\u6743\u9650\u7684\u5B9E\u8DF5\u9879\u76EE\uFF0C",xe&&x.createElement("span",{className:ge.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((Re,at)=>x.createElement("a",{href:`/shixuns/${Re.identifier}/challenges`,target:"_blank"},"\u300A",Re==null?void 0:Re.name,"\u300B",at+1!==re&&"\u3001"))))),b>0&&x.createElement("div",{style:{marginTop:20}},x.createElement("span",{className:ge.flex},x.createElement("img",{src:Fe,style:{width:14}}),x.createElement("span",{className:ge.statustitle},"\u652F\u6301\u590D\u5236\u7684\u5B9E\u8DF5\u9879\u76EE")),x.createElement("div",{className:ge.statusbody},Te==="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"),(Te==="subject"||Te==="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"),Te==="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((Re,at)=>x.createElement("a",{href:`/shixuns/${Re.identifier}/challenges`,target:"_blank"},"\u300A",Re==null?void 0:Re.name,"\u300B",at+1!==b&&"\u3001"))))));if(Te==="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(he.default,{open:ue,onCancel:()=>{a(!1)},cancelText:"\u53D6\u6D88",title:"\u63D0\u793A",width:700,centered:!0,cancelButtonProps:{style:{display:!xe&&"none"}},zIndex:1003,confirmLoading:ve,okText:xe?De:"\u6211\u77E5\u9053\u4E86",onOk:()=>ze(void 0,null,function*(){xe?yield Ke([...y,...oe]):a(!1)})},x.createElement("div",{style:{maxHeight:600,overflow:"auto"}},Ce(),Ne()))}},57444:function(mt,st,z){"use strict";z.d(st,{h:function(){return re}});var x=z(67294),ge=z(42563),he=z(22150),Fe=z(71577),we=z(4631),ze=z.n(we),se=z(71749),je=z(30483),Te=Object.defineProperty,Le=Object.defineProperties,Ke=Object.getOwnPropertyDescriptors,De=Object.getOwnPropertySymbols,ve=Object.prototype.hasOwnProperty,ue=Object.prototype.propertyIsEnumerable,a=(oe,ne,de)=>ne in oe?Te(oe,ne,{enumerable:!0,configurable:!0,writable:!0,value:de}):oe[ne]=de,y=(oe,ne)=>{for(var de in ne||(ne={}))ve.call(ne,de)&&a(oe,de,ne[de]);if(De)for(var de of De(ne))ue.call(ne,de)&&a(oe,de,ne[de]);return oe},b=(oe,ne)=>Le(oe,Ke(ne));const E=ge.default.Option,ee={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:oe,onCancel:ne})=>{const[de,pe]=(0,x.useState)("python");function Ee(xe){pe(te[xe][1])}function be(xe){oe(xe)}return x.createElement(he.default,b(y({},ee),{className:"code-block-panel",initialValues:{language:"python",content:""},onFinish:be,style:{width:500}}),x.createElement(he.default.Item,{label:"\u4EE3\u7801\u8BED\u8A00",name:"language"},x.createElement(ge.default,{getPopupContainer:xe=>xe.parentNode,onChange:Ee},Object.keys(te).map(xe=>x.createElement(E,{key:xe,value:xe},te[xe][0])))),x.createElement(he.default.Item,{label:"\u4EE3\u7801\u5185\u5BB9",name:"content",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u4EE3\u7801\u5185\u5BB9"}]},x.createElement(re,{mode:de})),x.createElement("div",{className:"flex-container flex-end"},x.createElement(Fe.ZP,{type:"primary",htmlType:"submit",style:{marginRight:10}},"\u786E\u5B9A"),x.createElement(Fe.ZP,{type:"ghost",onClick:ne},"\u53D6\u6D88")))};function re({value:oe,onChange:ne,mode:de,options:pe={}}){const Ee=(0,x.useRef)(),[be,xe]=(0,x.useState)();return(0,x.useEffect)(()=>{if(be){let Ce=function(Ne){const Re=Ne.getValue();ne&&ne(Re)};return be.on("change",Ce),()=>{be.off("change",Ce)}}},[be,ne]),(0,x.useEffect)(()=>{be&&be.setOption("mode",de)},[be,de]),(0,x.useEffect)(()=>{be&&(oe!==be.getValue()||oe==="")&&setTimeout(()=>{be.setValue(oe||"")},300)},[be,oe]),(0,x.useEffect)(()=>{if(Ee.current&&!be){const Ce=ze().fromTextArea(Ee.current,y({mode:de,lineNumbers:!0,lineWrapping:!0,autoCloseBrackets:!0,tabSize:4,autofocus:!0,autoCloseTags:!0,matchBrackets:!0,styleActiveLine:!0},pe));xe(Ce)}},[Ee.current,be]),x.createElement("div",{className:"my-codemirror-container"},x.createElement("textarea",{ref:Ee}))}},35567:function(mt,st,z){"use strict";z.d(st,{Z:function(){return Ln}});var x=z(67294),ge=z(4631),he=z.n(ge),Fe=z(91033),we=z(71749),ze=z(57341),se=z(82801),je=z(88386),Te=z(49047),Le=z(80785),Ke=z(85725),De=({value:wt="",className:Rt,showTextOnly:Ct,showLines:qn,style:Qt={}})=>{const er=(0,x.useMemo)(()=>"",[wt]);return x.createElement(x.Fragment,null,x.createElement("div",{dangerouslySetInnerHTML:{__html:er}}))},ve=z(67294),ue=Object.defineProperty,a=Object.defineProperties,y=Object.getOwnPropertyDescriptors,b=Object.getOwnPropertySymbols,E=Object.prototype.hasOwnProperty,ee=Object.prototype.propertyIsEnumerable,te=(wt,Rt,Ct)=>Rt in wt?ue(wt,Rt,{enumerable:!0,configurable:!0,writable:!0,value:Ct}):wt[Rt]=Ct,re=(wt,Rt)=>{for(var Ct in Rt||(Rt={}))E.call(Rt,Ct)&&te(wt,Ct,Rt[Ct]);if(b)for(var Ct of b(Rt))ee.call(Rt,Ct)&&te(wt,Ct,Rt[Ct]);return wt},oe=(wt,Rt)=>a(wt,y(Rt));let ne=[{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 de({onActionCallback:wt,title:Rt,icon:Ct,actionName:qn,className:Qt="",children:er}){function Zo(){wt(qn)}return ve.createElement("a",{title:Rt,className:Qt,onClick:Zo},ve.createElement("i",{className:`${Ct}`}),er)}var pe=({watch:wt,showNullButton:Rt,showNullProgramButton:Ct,onActionCallback:qn,fullScreen:Qt,insertTemp:er,hidetoolBar:Zo,extraUse:ao})=>{const rr=[...ne,{title:`${wt?"\u5173\u95ED\u5B9E\u65F6\u9884\u89C8":"\u5F00\u542F\u5B9E\u65F6\u9884\u89C8"}`,icon:`${wt?"md-iconfont icon-eye-slash":"md-iconfont icon-eye"}`,actionName:"trigger-watch"}];return ve.createElement("ul",{className:"markdown-toolbar-container"},!Zo&&rr.map((qr,Jo)=>ve.createElement("li",{key:Jo},qr.actionName?ve.createElement(de,oe(re({},qr),{onActionCallback:qn})):ve.createElement("span",{className:"v-line"}))),Rt?ve.createElement("li",null,ve.createElement(de,{icon:"md-iconfont icon-edit insert-blank",className:"btn-null",title:"\u589E\u52A0\u586B\u7A7A",actionName:"add-null-ch",onActionCallback:qn},ve.createElement("span",{className:"fill-tip"},"\u70B9\u51FB\u63D2\u5165\b\u586B\u7A7A\u9879"))):null,Ct?ve.createElement(ve.Fragment,null,ve.createElement("li",null,ve.createElement(de,{icon:"md-iconfont icon-edit insert-blank",className:"btn-null",title:"\u589E\u52A0\u586B\u7A7A",actionName:"add-signal",onActionCallback:qn},ve.createElement("span",{className:"fill-tip"},"+\u5355\u884C\u586B\u7A7A\u9879"))),ve.createElement("li",null,ve.createElement(de,{icon:"md-iconfont icon-uniE900 insert-blank",className:"btn-null",title:"\u589E\u52A0\u586B\u7A7A",actionName:"add-multiple",onActionCallback:qn},ve.createElement("span",{className:"fill-tip"},"+\u591A\u884C\u586B\u7A7A\u9879")))):null,er&&ve.createElement("li",null,ve.createElement(de,{icon:"md-iconfont icon-edit",className:"btn-null",title:"\u63D2\u5165\u6A21\u677F",actionName:`inster-template-${er}`,onActionCallback:qn},ve.createElement("span",{className:"fill-tip"},"\u63D2\u5165\u6A21\u677F"))),ao&&ve.createElement("li",null,ao),ve.createElement("li",{className:"btn-full-screen"},ve.createElement(de,{icon:`${Qt?"md-iconfont icon-shrink":"md-iconfont icon-enlarge"}`,title:Qt?"\u5173\u95ED\u5168\u5C4F":"\u5F00\u542F\u5168\u5C4F",actionName:"trigger-full-screen",onActionCallback:qn})))},Ee=z(76621),be=z(22150),xe=z(69677),Ce=z(71577),Ne=Object.defineProperty,Re=Object.defineProperties,at=Object.getOwnPropertyDescriptors,Ie=Object.getOwnPropertySymbols,Ue=Object.prototype.hasOwnProperty,Ge=Object.prototype.propertyIsEnumerable,Ve=(wt,Rt,Ct)=>Rt in wt?Ne(wt,Rt,{enumerable:!0,configurable:!0,writable:!0,value:Ct}):wt[Rt]=Ct,rt=(wt,Rt)=>{for(var Ct in Rt||(Rt={}))Ue.call(Rt,Ct)&&Ve(wt,Ct,Rt[Ct]);if(Ie)for(var Ct of Ie(Rt))Ge.call(Rt,Ct)&&Ve(wt,Ct,Rt[Ct]);return wt},gt=(wt,Rt)=>Re(wt,at(Rt));const xt={labelCol:{span:4},wrapperCol:{span:20}};var Gt=({callback:wt,onCancel:Rt})=>{function Ct(qn){wt(qn)}return x.createElement(be.default,gt(rt({},xt),{initialValues:{link:"http://",title:""},className:"link-panel",onFinish:Ct,style:{width:500}}),x.createElement(be.default.Item,{label:"\u94FE\u63A5\u5730\u5740",name:"link",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u94FE\u63A5\u5730\u5740"}]},x.createElement(xe.default,null)),x.createElement(be.default.Item,{label:"\u94FE\u63A5\u6807\u9898",name:"title",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u94FE\u63A5\u6807\u9898"}]},x.createElement(xe.default,null)),x.createElement("div",{className:"flex-container flex-end"},x.createElement(Ce.ZP,{type:"primary",htmlType:"submit",style:{marginRight:10}},"\u786E\u5B9A"),x.createElement(Ce.ZP,{type:"ghost",onClick:Rt},"\u53D6\u6D88")))},yn=z(57444),lt=z(70859),ht=z(14446),Lt=z(71230),zt=z(63205),dt=z(67294),kt=({callback:wt,onCancel:Rt})=>{const Ct=document.createElement("canvas"),qn=Ct.getContext("2d");Ct.width=1e3,Ct.height=800,qn.fillStyle="#ffffff",qn.fillRect(0,0,Ct.width,Ct.height);const Qt=Ct.toDataURL("image/png");return dt.createElement(ht.default,{open:!0,width:"100vw",style:{height:"100vh",top:0},footer:null,title:null,closable:!1},dt.createElement(Lt.Z,{style:{height:"100vh"}},dt.createElement(zt.Z,{fullWidth:!0,noAssociationId:!0,showFullTools:!0,data:{src:Qt,visible:!0,title:String(Date.now())},onOk:er=>{wt({src:er.url})},onClose:Rt})))},Ze=z(23495);function Dn(){go.CommandHandler.call(this),this._arrowKeyBehavior="move",this._pasteOffset=new go.Point(10,10),this._lastPasteOffset=new go.Point(0,0)}go.Diagram.inherit(Dn,go.CommandHandler),Dn.prototype.canAlignSelection=function(){var wt=this.diagram;return!(wt===null||wt.isReadOnly||wt.isModelReadOnly||wt.selection.count<2)},Dn.prototype.alignLeft=function(){var wt=this.diagram;wt.startTransaction("aligning left");var Rt=1/0;wt.selection.each(function(Ct){Ct instanceof go.Link||(Rt=Math.min(Ct.position.x,Rt))}),wt.selection.each(function(Ct){Ct instanceof go.Link||Ct.move(new go.Point(Rt,Ct.position.y))}),wt.commitTransaction("aligning left")},Dn.prototype.alignRight=function(){var wt=this.diagram;wt.startTransaction("aligning right");var Rt=-1/0;wt.selection.each(function(Ct){if(!(Ct instanceof go.Link)){var qn=Ct.actualBounds.x+Ct.actualBounds.width;Rt=Math.max(qn,Rt)}}),wt.selection.each(function(Ct){Ct instanceof go.Link||Ct.move(new go.Point(Rt-Ct.actualBounds.width,Ct.position.y))}),wt.commitTransaction("aligning right")},Dn.prototype.alignTop=function(){var wt=this.diagram;wt.startTransaction("alignTop");var Rt=1/0;wt.selection.each(function(Ct){Ct instanceof go.Link||(Rt=Math.min(Ct.position.y,Rt))}),wt.selection.each(function(Ct){Ct instanceof go.Link||Ct.move(new go.Point(Ct.position.x,Rt))}),wt.commitTransaction("alignTop")},Dn.prototype.alignBottom=function(){var wt=this.diagram;wt.startTransaction("aligning bottom");var Rt=-1/0;wt.selection.each(function(Ct){if(!(Ct instanceof go.Link)){var qn=Ct.actualBounds.y+Ct.actualBounds.height;Rt=Math.max(qn,Rt)}}),wt.selection.each(function(Ct){Ct instanceof go.Link||Ct.move(new go.Point(Ct.actualBounds.x,Rt-Ct.actualBounds.height))}),wt.commitTransaction("aligning bottom")},Dn.prototype.alignCenterX=function(){var wt=this.diagram,Rt=wt.selection.first();if(Rt){wt.startTransaction("aligning Center X");var Ct=Rt.actualBounds.x+Rt.actualBounds.width/2;wt.selection.each(function(qn){qn instanceof go.Link||qn.move(new go.Point(Ct-qn.actualBounds.width/2,qn.actualBounds.y))}),wt.commitTransaction("aligning Center X")}},Dn.prototype.alignCenterY=function(){var wt=this.diagram,Rt=wt.selection.first();if(Rt){wt.startTransaction("aligning Center Y");var Ct=Rt.actualBounds.y+Rt.actualBounds.height/2;wt.selection.each(function(qn){qn instanceof go.Link||qn.move(new go.Point(qn.actualBounds.x,Ct-qn.actualBounds.height/2))}),wt.commitTransaction("aligning Center Y")}},Dn.prototype.alignColumn=function(wt){var Rt=this.diagram;Rt.startTransaction("align Column"),wt===void 0&&(wt=0),wt=parseFloat(wt);var Ct=new Array;Rt.selection.each(function(ao){ao instanceof go.Link||Ct.push(ao)});for(var qn=0;qn<Ct.length-1;qn++){var Qt=Ct[qn],er=Qt.actualBounds.y+Qt.actualBounds.height+wt,Zo=Ct[qn+1];Zo.move(new go.Point(Qt.actualBounds.x,er))}Rt.commitTransaction("align Column")},Dn.prototype.alignRow=function(wt){wt===void 0&&(wt=0),wt=parseFloat(wt);var Rt=this.diagram;Rt.startTransaction("align Row");var Ct=new Array;Rt.selection.each(function(ao){ao instanceof go.Link||Ct.push(ao)});for(var qn=0;qn<Ct.length-1;qn++){var Qt=Ct[qn],er=Qt.actualBounds.x+Qt.actualBounds.width+wt,Zo=Ct[qn+1];Zo.move(new go.Point(er,Qt.actualBounds.y))}Rt.commitTransaction("align Row")},Dn.prototype.canRotate=function(wt){var Rt=this.diagram;return!(Rt===null||Rt.isReadOnly||Rt.isModelReadOnly||Rt.selection.count<1)},Dn.prototype.rotate=function(wt){wt===void 0&&(wt=90);var Rt=this.diagram;Rt.startTransaction("rotate "+wt.toString());var Rt=this.diagram;Rt.selection.each(function(Ct){Ct instanceof go.Link||Ct instanceof go.Group||(Ct.angle+=wt)}),Rt.commitTransaction("rotate "+wt.toString())},Dn.prototype.pullToFront=function(){var wt=this.diagram;wt.startTransaction("pullToFront");var Rt=new go.Map;wt.selection.each(function(Ct){Rt.set(Ct.layer,0)}),Rt.iteratorKeys.each(function(Ct){var qn=0;Ct.parts.each(function(Qt){if(!Qt.isSelected){var er=Qt.zOrder;isNaN(er)?Qt.zOrder=0:qn=Math.max(qn,er)}}),Rt.set(Ct,qn)}),wt.selection.each(function(Ct){Dn._assignZOrder(Ct,Rt.get(Ct.layer)+1)}),wt.commitTransaction("pullToFront")},Dn.prototype.pushToBack=function(){var wt=this.diagram;wt.startTransaction("pushToBack");var Rt=new go.Map;wt.selection.each(function(Ct){Rt.set(Ct.layer,0)}),Rt.iteratorKeys.each(function(Ct){var qn=0;Ct.parts.each(function(Qt){if(!Qt.isSelected){var er=Qt.zOrder;isNaN(er)?Qt.zOrder=0:qn=Math.min(qn,er)}}),Rt.set(Ct,qn)}),wt.selection.each(function(Ct){Dn._assignZOrder(Ct,Rt.get(Ct.layer)-1-Dn._findGroupDepth(Ct))}),wt.commitTransaction("pushToBack")},Dn._assignZOrder=function(wt,Rt,Ct){Ct===void 0&&(Ct=wt),wt.layer===Ct.layer&&(wt.zOrder=Rt),wt instanceof go.Group&&wt.memberParts.each(function(qn){Dn._assignZOrder(qn,Rt+1,Ct)})},Dn._findGroupDepth=function(wt){if(wt instanceof go.Group){var Rt=0;return wt.memberParts.each(function(Ct){Rt=Math.max(Rt,Dn._findGroupDepth(Ct))}),Rt+1}else return 0},Dn.prototype.doKeyDown=function(){var wt=this.diagram;if(wt!==null){var Rt=wt.lastInput;if(Rt.key==="Up"||Rt.key==="Down"||Rt.key==="Left"||Rt.key==="Right"){var Ct=this.arrowKeyBehavior;if(Ct==="none")return;if(Ct==="select"){this._arrowKeySelect();return}else if(Ct==="move"){this._arrowKeyMove();return}else if(Ct==="tree"){this._arrowKeyTree();return}}go.CommandHandler.prototype.doKeyDown.call(this)}},Dn.prototype._getAllParts=function(){var wt=new Array;return this.diagram.nodes.each(function(Rt){wt.push(Rt)}),this.diagram.parts.each(function(Rt){wt.push(Rt)}),wt},Dn.prototype._arrowKeyMove=function(){var wt=this.diagram,Rt=wt.lastInput,Ct=0,qn=0;if(Rt.control||Rt.meta)Ct=1,qn=1;else if(wt.grid!==null){var Qt=wt.grid.gridCellSize;qn=Qt.width,Ct=Qt.height}wt.startTransaction("arrowKeyMove"),wt.selection.each(function(er){Rt.key==="Up"?er.move(new go.Point(er.actualBounds.x,er.actualBounds.y-Ct)):Rt.key==="Down"?er.move(new go.Point(er.actualBounds.x,er.actualBounds.y+Ct)):Rt.key==="Left"?er.move(new go.Point(er.actualBounds.x-qn,er.actualBounds.y)):Rt.key==="Right"&&er.move(new go.Point(er.actualBounds.x+qn,er.actualBounds.y))}),wt.commitTransaction("arrowKeyMove")},Dn.prototype._arrowKeySelect=function(){var wt=this.diagram,Rt=wt.lastInput,Ct=null;Rt.key==="Up"?Ct=this._findNearestPartTowards(270):Rt.key==="Down"?Ct=this._findNearestPartTowards(90):Rt.key==="Left"?Ct=this._findNearestPartTowards(180):Rt.key==="Right"&&(Ct=this._findNearestPartTowards(0)),Ct!==null&&(Rt.shift?Ct.isSelected=!0:Rt.control||Rt.meta?Ct.isSelected=!Ct.isSelected:wt.select(Ct))},Dn.prototype._findNearestPartTowards=function(wt){var Rt=this.diagram.selection.first();if(Rt===null)return null;for(var Ct=Rt.actualBounds.center,qn=this._getAllParts(),Qt=1/0,er=Rt,Zo=0;Zo<qn.length;Zo++){var ao=qn[Zo];if(ao!==Rt&&ao.canSelect()){var rr=ao.actualBounds.center,qr=Ct.directionPoint(rr),Jo=this._angleCloseness(qr,wt);if(Jo<=45){var da=Ct.distanceSquaredPoint(rr);da*=1+Math.sin(Jo*Math.PI/180),da<Qt&&(Qt=da,er=ao)}}}return er},Dn.prototype._angleCloseness=function(wt,Rt){return Math.min(Math.abs(Rt-wt),Math.min(Math.abs(Rt+360-wt),Math.abs(Rt-360-wt)))},Dn.prototype._arrowKeyTree=function(){var wt=this.diagram,Rt=wt.selection.first();if(Rt instanceof go.Node){var Ct=wt.lastInput;if(Ct.key==="Right"){if(!Rt.isTreeLeaf)if(!Rt.isTreeExpanded)wt.commandHandler.canExpandTree(Rt)&&wt.commandHandler.expandTree(Rt);else{var qn=this._sortTreeChildrenByY(Rt).first();qn!==null&&wt.select(qn)}}else if(Ct.key==="Left")if(!Rt.isTreeLeaf&&Rt.isTreeExpanded)wt.commandHandler.canCollapseTree(Rt)&&wt.commandHandler.collapseTree(Rt);else{var Qt=Rt.findTreeParentNode();Qt!==null&&wt.select(Qt)}else if(Ct.key==="Up"){var Qt=Rt.findTreeParentNode();if(Qt!==null){var er=this._sortTreeChildrenByY(Qt),Zo=er.indexOf(Rt);if(Zo>0){for(var ao=er.elt(Zo-1);ao!==null&&ao.isTreeExpanded&&!ao.isTreeLeaf;){var rr=this._sortTreeChildrenByY(ao);ao=rr.last()}ao!==null&&wt.select(ao)}else wt.select(Qt)}}else if(Ct.key==="Down")if(Rt.isTreeExpanded&&!Rt.isTreeLeaf){var qn=this._sortTreeChildrenByY(Rt).first();qn!==null&&wt.select(qn)}else for(;Rt!==null;){var Qt=Rt.findTreeParentNode();if(Qt===null)break;var er=this._sortTreeChildrenByY(Qt),Zo=er.indexOf(Rt);if(Zo<er.length-1){wt.select(er.elt(Zo+1));break}else Rt=Qt}var qr=wt.selection.first();qr!==null&&wt.scrollToRect(qr.actualBounds)}},Dn.prototype._sortTreeChildrenByY=function(wt){var Rt=new go.List().addAll(wt.findTreeChildrenNodes());return Rt.sort(function(Ct,qn){var Qt=Ct.location,er=qn.location;return Qt.y<er.y?-1:Qt.y>er.y?1:Qt.x<er.x?-1:Qt.x>er.x?1:0}),Rt},Dn.prototype.copyToClipboard=function(wt){go.CommandHandler.prototype.copyToClipboard.call(this,wt),this._lastPasteOffset.set(this.pasteOffset)},Dn.prototype.pasteFromClipboard=function(){var wt=go.CommandHandler.prototype.pasteFromClipboard.call(this);return this.diagram.moveParts(wt,this._lastPasteOffset),this._lastPasteOffset.add(this.pasteOffset),wt},Object.defineProperty(Dn.prototype,"arrowKeyBehavior",{get:function(){return this._arrowKeyBehavior},set:function(wt){if(wt!=="move"&&wt!=="select"&&wt!=="scroll"&&wt!=="tree"&&wt!=="none")throw new Error('DrawCommandHandler.arrowKeyBehavior must be either "move", "select", "scroll", "tree", or "none", not: '+wt);this._arrowKeyBehavior=wt}}),Object.defineProperty(Dn.prototype,"pasteOffset",{get:function(){return this._pasteOffset},set:function(wt){if(!(wt instanceof go.Point))throw new Error("DrawCommandHandler.pasteOffset must be a Point, not: "+wt);this._pasteOffset.set(wt)}});var zn=Dn,Dt=z(18023),rn=z(15746),en=z(33170),Ht={myPaletteDiv:"myPaletteDiv___Xjz2I",flowChartWrp:"flowChartWrp____f45r",maxH60:"maxH60___Pd4Re"},Et=z(67294),wn=(wt,Rt,Ct)=>new Promise((qn,Qt)=>{var er=rr=>{try{ao(Ct.next(rr))}catch(qr){Qt(qr)}},Zo=rr=>{try{ao(Ct.throw(rr))}catch(qr){Qt(qr)}},ao=rr=>rr.done?qn(rr.value):Promise.resolve(rr.value).then(er,Zo);ao((Ct=Ct.apply(wt,Rt)).next())});function dn({onCancel:wt,callback:Rt}){let Ct=(0,x.useRef)(),qn=(0,x.useRef)(),Qt=(0,x.useRef)(),er=(0,x.useRef)(!1);const Zo=(0,x.useRef)(!1),[ao,rr]=(0,x.useState)(0);function qr(){const da=Ze.bx.make,Vr={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"};Ct.current=new Ze.S0(qn.current,{padding:20,grid:da(Ze.s_,"Grid",da(Ze.bn,"LineH",{stroke:"lightgray",strokeWidth:.5}),da(Ze.bn,"LineV",{stroke:"lightgray",strokeWidth:.5})),"draggingTool.isGridSnapEnabled":!0,handlesDragDropForTopLevelParts:!0,mouseDrop:ha=>{var tr=ha.diagram.commandHandler.addTopLevelParts(ha.diagram.selection,!0);tr||ha.diagram.currentTool.doCancel()},commandHandler:da(zn),"clickCreatingTool.archetypeNodeData":{text:"\u672A\u547D\u540D",fill:null,stroke:null,borderColor:"rgba(0,0,0,0)"},PartCreated:ha=>{var tr=ha.subject;tr.location=tr.location.copy().snapToGridPoint(ha.diagram.grid.gridOrigin,ha.diagram.grid.gridCellSize),setTimeout(()=>{ha.diagram.commandHandler.editTextBlock()},20)},"commandHandler.archetypeGroupData":{isGroup:!0,text:"NEW GROUP"},SelectionGrouped:ha=>{var tr=ha.subject;setTimeout(()=>{ha.diagram.commandHandler.editTextBlock()})},LinkRelinked:ha=>{var tr=ha.parameter.part;tr.invalidateConnectedLinks();var xr=ha.subject;ha.diagram.toolManager.linkingTool.isForwards?xr.toNode.invalidateConnectedLinks():xr.fromNode.invalidateConnectedLinks()},"undoManager.isEnabled":!0}),Ct.current.nodeTemplate=da(Ze.NB,"Auto",{locationSpot:Ze.z6.Center,locationObjectName:"SHAPE",desiredSize:new Ze.$u(120,60),minSize:new Ze.$u(40,40),resizable:!0,resizeCellSize:new Ze.$u(10,10),rotatable:!0},new Ze.KX("location","loc",Ze.E9.parse).makeTwoWay(Ze.E9.stringify),new Ze.KX("desiredSize","size",Ze.$u.parse).makeTwoWay(Ze.$u.stringify),da(Ze.bn,{name:"SHAPE",fill:Vr.white,cursor:"pointer",portId:"",fromLinkable:!0,toLinkable:!0,fromLinkableDuplicates:!0,toLinkableDuplicates:!0,fromSpot:Ze.z6.AllSides,toSpot:Ze.z6.AllSides},new Ze.KX("figure"),new Ze.KX("fill"),new Ze.KX("stroke","borderColor"),new Ze.KX("strokeWidth","thickness"),new Ze.KX("strokeDashArray","dash")),da(Ze.bn,{width:100,height:20,strokeWidth:0,fill:"transparent"}),da(Ze.al,{margin:1,textAlign:"center",overflow:Ze.al.OverflowEllipsis,editable:!0},new Ze.KX("text").makeTwoWay(),new Ze.KX("stroke","color"))),Ct.current.nodeTemplate.toolTip=da("ToolTip",da(Ze.s_,"Vertical",{maxSize:new Ze.$u(200,NaN)},da(Ze.al,{font:"bold 10pt sans-serif",textAlign:"center"},new Ze.KX("text")),da(Ze.al,{font:"10pt sans-serif",textAlign:"center"},new Ze.KX("text","details"))));function ft(ha,tr){var xr=(fa,eo)=>{fa.handled=!0,fa.diagram.model.commit(Oo=>{var Ni=eo.part.adornedPart,fi=new Ze.E9().setRectSpot(Ni.actualBounds,ha);fi.subtract(Ni.location),fi.scale(2,2),fi.x+=Math.sign(fi.x)*130,fi.y+=Math.sign(fi.y)*130,fi.add(Ni.location),fi.snapToGridPoint(fa.diagram.grid.gridOrigin,fa.diagram.grid.gridCellSize);var Ii=Oo.copyNodeData(Ni.data);Oo.setGroupKeyForNodeData(Ii,Oo.getGroupKeyForNodeData(Ni.data)),Oo.addNodeData(Ii);var Ol={from:Ni.key,to:Oo.getKeyForNodeData(Ii)};Oo.addLinkData(Ol);var tl=fa.diagram.findNodeForData(Ii);tl.location=fi,fa.diagram.select(tl),setTimeout(()=>{fa.diagram.commandHandler.editTextBlock()},20)})};return da(Ze.bn,{figure:tr,alignment:ha,alignmentFocus:ha.opposite(),width:ha.equals(Ze.z6.Top)||ha.equals(Ze.z6.Bottom)?25:18,height:ha.equals(Ze.z6.Top)||ha.equals(Ze.z6.Bottom)?18:25,fill:"orange",stroke:Vr.white,strokeWidth:4,mouseEnter:(fa,eo)=>eo.fill="dodgerblue",mouseLeave:(fa,eo)=>eo.fill="orange",isActionable:!0,click:xr,contextClick:xr})}function vn(ha){return da(Ze.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:(tr,xr)=>xr.fill="dodgerblue",mouseLeave:(tr,xr)=>xr.fill="orange",click:(tr,xr)=>{tr.diagram.commandHandler.showContextMenu(xr.part.adornedPart)}},ha||{})}Ct.current.nodeTemplate.selectionAdornmentTemplate=da(Ze.uz,"Spot",da(Ze.Vm,{padding:10}),ft(Ze.z6.Top,"TriangleUp"),ft(Ze.z6.Left,"TriangleLeft"),ft(Ze.z6.Right,"TriangleRight"),ft(Ze.z6.Bottom,"TriangleDown"),vn({alignment:new Ze.z6(.75,0)}));function an(ha,tr){return(xr,fa)=>{xr.handled=!0,xr.diagram.model.commit(eo=>{eo.set(fa.part.adornedPart.data,ha,tr)})}}function mn(ha,tr){return tr||(tr="color"),da(Ze.bn,{width:16,height:16,stroke:"lightgray",fill:ha,margin:1,background:"transparent",mouseEnter:(xr,fa)=>fa.stroke="dodgerblue",mouseLeave:(xr,fa)=>fa.stroke="lightgray",click:an(tr,ha),contextClick:an(tr,ha)})}function ca(){return[da("ContextMenuButton",da(Ze.s_,"Horizontal",mn(Vr.white,"fill"),mn(Vr.beige,"fill"),mn(Vr.extralightblue,"fill"),mn(Vr.extralightred,"fill"))),da("ContextMenuButton",da(Ze.s_,"Horizontal",mn(Vr.lightgray,"fill"),mn(Vr.lightgreen,"fill"),mn(Vr.lightblue,"fill"),mn(Vr.lightred,"fill")))]}function fn(){return[da("ContextMenuButton",da(Ze.s_,"Horizontal",mn(Vr.black),mn(Vr.green),mn(Vr.blue),mn(Vr.red))),da("ContextMenuButton",da(Ze.s_,"Horizontal",mn(Vr.white),mn(Vr.magenta),mn(Vr.purple),mn(Vr.orange)))]}function la(ha,tr){return tr||(tr="thickness"),da(Ze.bn,"LineH",{width:16,height:16,strokeWidth:ha,margin:1,background:"transparent",mouseEnter:(xr,fa)=>fa.background="dodgerblue",mouseLeave:(xr,fa)=>fa.background="transparent",click:an(tr,ha),contextClick:an(tr,ha)})}function Tn(ha,tr){return tr||(tr="dash"),da(Ze.bn,"LineH",{width:24,height:16,strokeWidth:2,strokeDashArray:ha,margin:1,background:"transparent",mouseEnter:(xr,fa)=>fa.background="dodgerblue",mouseLeave:(xr,fa)=>fa.background="transparent",click:an(tr,ha),contextClick:an(tr,ha)})}function Sa(){return[da("ContextMenuButton",da(Ze.s_,"Horizontal",la(1),la(2),la(3),la(4))),da("ContextMenuButton",da(Ze.s_,"Horizontal",Tn(null),Tn([2,4]),Tn([4,4])))]}function Qa(ha,tr){return tr||(tr="figure"),da(Ze.bn,{width:32,height:32,scale:.5,fill:"lightgray",figure:ha,margin:1,background:"transparent",mouseEnter:(xr,fa)=>fa.fill="dodgerblue",mouseLeave:(xr,fa)=>fa.fill="lightgray",click:an(tr,ha),contextClick:an(tr,ha)})}Ct.current.nodeTemplate.contextMenu=da("ContextMenu",da("ContextMenuButton",da(Ze.s_,"Horizontal",Qa("Rectangle"),Qa("RoundedRectangle"),Qa("Ellipse"),Qa("Diamond"))),da("ContextMenuButton",da(Ze.s_,"Horizontal",Qa("Parallelogram2"),Qa("ManualOperation"),Qa("Procedure"),Qa("Cylinder1"))),da("ContextMenuButton",da(Ze.s_,"Horizontal",Qa("Terminator"),Qa("CreateRequest"),Qa("Document"),Qa("TriangleDown"))),ca(),fn(),Sa()),Ct.current.groupTemplate=da(Ze.ZA,"Spot",{layerName:"Background",ungroupable:!0,locationSpot:Ze.z6.Center,selectionObjectName:"BODY",computesBoundsAfterDrag:!0,handlesDragDropForMembers:!0,mouseDrop:(ha,tr)=>{var xr=tr.addMembers(tr.diagram.selection,!0);xr||tr.diagram.currentTool.doCancel()},avoidable:!1},new Ze.KX("location","loc",Ze.E9.parse).makeTwoWay(Ze.E9.stringify),da(Ze.s_,"Auto",{name:"BODY"},da(Ze.bn,{parameter1:10,fill:Vr.white,strokeWidth:2,cursor:"pointer",fromLinkable:!0,toLinkable:!0,fromLinkableDuplicates:!0,toLinkableDuplicates:!0,fromSpot:Ze.z6.AllSides,toSpot:Ze.z6.AllSides},new Ze.KX("fill"),new Ze.KX("stroke","color"),new Ze.KX("strokeWidth","thickness"),new Ze.KX("strokeDashArray","dash")),da(Ze.Vm,{background:"transparent",margin:20})),da(Ze.al,{alignment:Ze.z6.Top,alignmentFocus:Ze.z6.Bottom,font:"bold 12pt sans-serif",editable:!0},new Ze.KX("text"),new Ze.KX("stroke","color"))),Ct.current.groupTemplate.selectionAdornmentTemplate=da(Ze.uz,"Spot",da(Ze.s_,"Auto",da(Ze.bn,{fill:null,stroke:"dodgerblue",strokeWidth:3}),da(Ze.Vm,{margin:1.5})),vn({alignment:Ze.z6.TopRight,alignmentFocus:Ze.z6.BottomRight})),Ct.current.groupTemplate.contextMenu=da("ContextMenu",ca(),fn(),Sa()),Ct.current.linkTemplate=da(Ze.rU,{layerName:"Foreground",routing:Ze.rU.AvoidsNodes,corner:10,fromShortLength:10,toShortLength:15,relinkableFrom:!0,relinkableTo:!0,reshapable:!0,resegmentable:!0},new Ze.KX("fromSpot","fromSpot",Ze.z6.parse),new Ze.KX("toSpot","toSpot",Ze.z6.parse),new Ze.KX("fromShortLength","dir",ha=>ha>=1?10:0),new Ze.KX("toShortLength","dir",ha=>ha>=1?10:0),new Ze.KX("points").makeTwoWay(),da(Ze.bn,{strokeWidth:2},new Ze.KX("stroke","color"),new Ze.KX("strokeWidth","thickness"),new Ze.KX("strokeDashArray","dash")),da(Ze.bn,{segmentIndex:0,segmentOffset:new Ze.E9(15,0),segmentOrientation:Ze.rU.OrientAlong,alignmentFocus:Ze.z6.Right,figure:"circle",width:10,strokeWidth:0},new Ze.KX("fill","color"),new Ze.KX("visible","dir",ha=>ha===1)),da(Ze.bn,{segmentIndex:-1,segmentOffset:new Ze.E9(-10,6),segmentOrientation:Ze.rU.OrientPlus90,alignmentFocus:Ze.z6.Right,figure:"triangle",width:12,height:12,strokeWidth:0},new Ze.KX("fill","color"),new Ze.KX("visible","dir",ha=>ha>=1),new Ze.KX("width","thickness",ha=>7+3*ha),new Ze.KX("height","thickness",ha=>7+3*ha),new Ze.KX("segmentOffset","thickness",ha=>new Ze.E9(-15,4+1.5*ha))),da(Ze.bn,{segmentIndex:0,segmentOffset:new Ze.E9(15,-6),segmentOrientation:Ze.rU.OrientMinus90,alignmentFocus:Ze.z6.Right,figure:"triangle",width:12,height:12,strokeWidth:0},new Ze.KX("fill","color"),new Ze.KX("visible","dir",ha=>ha===2),new Ze.KX("width","thickness",ha=>7+3*ha),new Ze.KX("height","thickness",ha=>7+3*ha),new Ze.KX("segmentOffset","thickness",ha=>new Ze.E9(-15,4+1.5*ha))),da(Ze.al,{alignmentFocus:new Ze.z6(0,1,-4,0),editable:!0},new Ze.KX("text").makeTwoWay(),new Ze.KX("stroke","color"))),Ct.current.linkTemplate.selectionAdornmentTemplate=da(Ze.uz,da(Ze.bn,{isPanelMain:!0,stroke:"transparent",strokeWidth:6,pathPattern:Br(2)},new Ze.KX("pathPattern","thickness",Br)),vn({alignmentFocus:new Ze.z6(0,0,-6,-4)}));function Br(ha){return da(Ze.bn,{stroke:"dodgerblue",strokeWidth:2,strokeCap:"square",geometryString:"M0 0 M4 2 H3 M4 "+(ha+4).toString()+" H3"})}function no(ha){var tr="M0 0 M8 16 M0 8 L16 8 M12 11 L16 8 L12 5";return ha===0?tr="M0 0 M16 16 M0 8 L16 8":ha===2&&(tr="M0 0 M16 16 M0 8 L16 8 M12 11 L16 8 L12 5 M4 11 L0 8 L4 5"),da(Ze.bn,{geometryString:tr,margin:2,background:"transparent",mouseEnter:(xr,fa)=>fa.background="dodgerblue",mouseLeave:(xr,fa)=>fa.background="transparent",click:an("dir",ha),contextClick:an("dir",ha)})}function No(ha){var tr=(xr,fa)=>{xr.handled=!0,xr.diagram.model.commit(eo=>{var Oo=fa.part.adornedPart;eo.set(Oo.data,ha?"toSpot":"fromSpot",Ze.z6.stringify(Ze.z6.AllSides)),(ha?Oo.toNode:Oo.fromNode).invalidateConnectedLinks()})};return da(Ze.bn,{width:12,height:12,fill:"transparent",mouseEnter:(xr,fa)=>fa.background="dodgerblue",mouseLeave:(xr,fa)=>fa.background="transparent",click:tr,contextClick:tr})}function Hn(ha,tr){var xr=0,fa=Ze.z6.RightSide;ha.equals(Ze.z6.Top)?(xr=270,fa=Ze.z6.TopSide):ha.equals(Ze.z6.Left)?(xr=180,fa=Ze.z6.LeftSide):ha.equals(Ze.z6.Bottom)&&(xr=90,fa=Ze.z6.BottomSide),tr||(xr-=180);var eo=(Oo,Ni)=>{Oo.handled=!0,Oo.diagram.model.commit(fi=>{var Ii=Ni.part.adornedPart;fi.set(Ii.data,tr?"toSpot":"fromSpot",Ze.z6.stringify(fa)),(tr?Ii.toNode:Ii.fromNode).invalidateConnectedLinks()})};return da(Ze.bn,{alignment:ha,alignmentFocus:ha.opposite(),geometryString:"M0 0 M12 12 M12 6 L1 6 L4 4 M1 6 L4 8",angle:xr,background:"transparent",mouseEnter:(Oo,Ni)=>Ni.background="dodgerblue",mouseLeave:(Oo,Ni)=>Ni.background="transparent",click:eo,contextClick:eo})}Ct.current.linkTemplate.contextMenu=da("ContextMenu",fn(),Sa(),da("ContextMenuButton",da(Ze.s_,"Horizontal",no(0),no(1),no(2))),da("ContextMenuButton",da(Ze.s_,"Horizontal",da(Ze.s_,"Spot",No(!1),Hn(Ze.z6.Top,!1),Hn(Ze.z6.Left,!1),Hn(Ze.z6.Right,!1),Hn(Ze.z6.Bottom,!1)),da(Ze.s_,"Spot",{margin:new Ze.Zt(0,0,0,2)},No(!0),Hn(Ze.z6.Top,!0),Hn(Ze.z6.Left,!0),Hn(Ze.z6.Right,!0),Hn(Ze.z6.Bottom,!0)))));const Qi=`{ "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 yi=["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 Yr(ha){return console.log("shapeName:",ha),yi.indexOf(ha)>=0}var Pi=new Ze.YI(Qt.current,{maxSelectionCount:1,linkTemplate:da(Ze.rU,{locationSpot:Ze.z6.Center,selectionAdornmentTemplate:da(Ze.uz,"Link",{locationSpot:Ze.z6.Center},da(Ze.bn,{isPanelMain:!0,fill:null,stroke:"deepskyblue",strokeWidth:0}),da(Ze.bn,{toArrow:"Standard",stroke:null}))},{routing:Ze.rU.AvoidsNodes,curve:Ze.rU.JumpOver,corner:5,toShortLength:4},new Ze.KX("points"),da(Ze.bn,{isPanelMain:!0,strokeWidth:2}),da(Ze.bn,{toArrow:"Standard",stroke:null})),model:new Ze.FJ([{text:"\u672A\u547D\u540D",size:"100 100",fill:null,stroke:"#000"},...Ze.bn.getFigureGenerators().toArray().map(ha=>({text:"\u672A\u547D\u540D",size:"100 100",figure:ha.key,fill:"white",stroke:"#666",borderColor:"#000"}))])});return Ct.current.addDiagramListener("TextEdited",function(ha){var tr;const xr=ha.subject.part;var fa=(tr=document.activeElement)==null?void 0:tr.value;typeof fa=="string"&&fa.trim()===""&&Ct.current.model.commit(function(eo){eo.set(xr.data,"text","\u672A\u547D\u540D"),Ct.current.commandHandler.stopCommand()},"increment")}),Pi.nodeTemplate=da(Ze.NB,"Auto",{locationSpot:Ze.z6.Center},new Ze.KX("location","location",Ze.E9.parse).makeTwoWay(Ze.E9.stringify),da(Ze.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 Ze.KX("stroke").makeTwoWay(),new Ze.KX("fill").makeTwoWay(),new Ze.KX("figure")),da(Ze.al,{margin:new Ze.Zt(5,5,3,5),font:"10pt sans-serif",minSize:new Ze.$u(16,16),maxSize:new Ze.$u(10,NaN),textAlign:"center",editable:!0},new Ze.KX("key").makeTwoWay())),setTimeout(()=>{Ct.current.grid=da(Ze.s_,"Grid",da(Ze.bn,"LineH",{stroke:"lightgray",strokeWidth:.5}),da(Ze.bn,"LineV",{stroke:"lightgray",strokeWidth:.5})),Ct.current.grid.visible=!0,Ct.current.grid.gridCellStroke="darkgray",Ct.current.grid.gridCellStrokeWidth=1},300),window.myDiagrams=Ct.current,Ct.current}const Jo=()=>wn(this,null,function*(){var da=Ct.current.makeImage();const Vr=yield(0,en.ZP)("/api/attachments.json",{method:"post",body:{file_type:"base64",original_filename:Date.now(),file:da.src}});Rt({src:Vr.url})});return(0,x.useEffect)(()=>(setTimeout(()=>{qr()},500),rr(ao+1),()=>{Ct.current=null}),[]),Et.createElement("div",{ref:Zo,className:er.current?`${Ht.maxH60} body-overflow-initial`:"body-overflow-initial"},Et.createElement(ht.default,{width:1200,icon:null,footer:null,closable:!0,visible:!!ao,destroyOnClose:!0,maskClosable:!1,rootClassName:"zIndex-9999",title:Et.createElement(Lt.Z,null,Et.createElement(rn.Z,{flex:1},"\u63D2\u5165\u6D41\u7A0B\u56FE"),Et.createElement(rn.Z,{onClick:()=>{var da,Vr,ft=Ct.current.selection.first();if(er.current=!er.current,document.activeElement&&ft){let vn=(Vr=(da=document.activeElement)==null?void 0:da.value)==null?void 0:Vr.trim();typeof vn=="string"&&Ct.current.model.commit(function(an){an.set(ft.data,"text",vn||"\u672A\u547D\u540D"),Ct.current.commandHandler.stopCommand()},"increment")}rr(ao+1)}},Et.createElement("span",{className:"current c-blue mr30",style:{fontWeight:400}},"\u5C55\u5F00/\u6536\u8D77"))),onCancel:wt},Et.createElement("div",{style:{width:"100%",height:"80vh",overflow:"hidden",position:"relative"},className:Ht.flowChartWrp},Et.createElement("div",{style:{display:"flex",height:"100%"}},Et.createElement("div",{style:{width:"300px",height:"100%"}},Et.createElement("div",{style:{background:"#fff",position:"relative",zIndex:12,fontSize:16,color:"#3061d0"}},"\u56FE\u5F62\u5E93"),Et.createElement("div",{style:{height:"calc(100% - 50px)"},className:Ht.myPaletteDiv,ref:Qt})),Et.createElement("div",{style:{flex:1,position:"relative"}},Et.createElement("div",{ref:qn,style:{height:"80vh"}}))),Et.createElement("div",{className:"tr"},Et.createElement(Ce.ZP,{size:"large",onClick:Jo,style:{position:"absolute",right:0,bottom:0,zIndex:8},type:"primary"},"\u4FDD\u5B58\u5230\u7F16\u8F91\u5668")))))}var Bt=dn,Bn=z(78045),Yt=z(31795);const Xt=Bn.ZP.Group,On={margin:"0 8px"};var bn=({callback:wt,onCancel:Rt})=>{function Ct(qn){wt(qn)}return x.createElement(be.default,{className:"add-table-panel",initialValues:{row:3,col:2,align:"default"},onFinish:Ct},x.createElement("div",{className:"flex-container",style:{alignItems:"baseline"}},x.createElement("span",{style:On},"\u5355\u5143\u683C\u6570\uFF1A"),x.createElement("span",{style:On},"\u884C\u6570"),x.createElement(be.default.Item,{name:"row",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u884C\u6570"}]},x.createElement(Yt.Z,null)),x.createElement("span",{style:On},"\u5217\u6570"),x.createElement(be.default.Item,{name:"col",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u5217\u6570"}]},x.createElement(Yt.Z,null))),x.createElement("div",{className:"flex-container",style:{marginTop:12,alignItems:"baseline"}},x.createElement("span",{style:On},"\u5BF9\u9F50\u65B9\u5F0F\uFF1A"),x.createElement(be.default.Item,{name:"align"},x.createElement(Xt,null,x.createElement(Bn.ZP,{value:"default"},x.createElement("i",{className:"fa fa-align-justify"})),x.createElement(Bn.ZP,{value:"left"},x.createElement("i",{className:"fa fa-align-left"})),x.createElement(Bn.ZP,{value:"center"},x.createElement("i",{className:"fa fa-align-center"})),x.createElement(Bn.ZP,{value:"right"},x.createElement("i",{className:"fa fa-align-right"}))))),x.createElement("div",{className:"flex-container flex-end"},x.createElement(Ce.ZP,{type:"primary",htmlType:"submit",style:{marginRight:10}},"\u786E\u5B9A"),x.createElement(Ce.ZP,{type:"ghost",onClick:Rt},"\u53D6\u6D88")))},Je=z(47897),He=z(61016),Xn=z.n(He),Xe=(0,x.forwardRef)(({use3d:wt,width:Rt,height:Ct,callback:qn,showSaveButton:Qt},er)=>{const Zo=(0,x.useRef)(),ao=(0,x.useRef)(),[rr,qr]=(0,x.useState)(!1),Jo=(0,x.useRef)({id:Zo,appName:"graphing",width:Rt||1e3,height:Ct||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)(()=>{ao.current=new(Xn())(Jo.current,!0),window.onload=function(){ao.current.inject("applet_container")}},[]);const da=()=>{var Vr=window.ggbApplet.getPNGBase64(1,!0,72);return qn&&qn(Vr),Vr};return(0,x.useEffect)(()=>{Jo.current.appName=rr?"3D":"graphing",ao.current.inject("applet_container")},[rr]),(0,x.useEffect)(()=>{qr(wt)},[wt]),(0,x.useImperativeHandle)(er,()=>({getImgData:da})),x.createElement(x.Fragment,null,x.createElement("div",{style:{width:"100%",height:"100%"},id:"applet_container",ref:Zo}),x.createElement(Lt.Z,{align:"middle"},x.createElement(rn.Z,{flex:1},x.createElement(Je.Z,{size:"default",checkedChildren:"\u5173\u95ED3D\u56FE\u50CF",unCheckedChildren:"\u5F00\u542F3D\u56FE\u50CF",checked:rr,onChange:Vr=>qr(Vr)})),x.createElement(rn.Z,null,x.createElement(Ce.ZP,{size:"large",onClick:da,style:{zIndex:8,marginTop:10},type:"primary"},"\u4FDD\u5B58\u5230\u7F16\u8F91\u5668"))))}),Zt=z(36527),ot=z(25934),Ye=z(2453);const bt="link",Ut="upload-image",Nt="add-flowchart",In="draw-image",Tt="add-flowchart",Kt="code-block",pt="add-table",En="------------",Jt={default:En,left:`:${En}`,center:`:${En}:`,right:`${En}:`};var xn=z(99914),Aa=(wt,Rt,Ct)=>new Promise((qn,Qt)=>{var er=rr=>{try{ao(Ct.next(rr))}catch(qr){Qt(qr)}},Zo=rr=>{try{ao(Ct.throw(rr))}catch(qr){Qt(qr)}},ao=rr=>rr.done?qn(rr.value):Promise.resolve(rr.value).then(er,Zo);ao((Ct=Ct.apply(wt,Rt)).next())});function jn(){}let ua=0;const La=1e4,on="\u2581",gn="@\u2581\u2581@",Sn="@\u2581@",Fa=`
|
|
**\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`,pa=["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 ra(wt){return/^\d+$/.test(wt)?`${wt}px`:wt}const _a=navigator.platform.toUpperCase().indexOf("MAC")>=0?"Cmd":"Ctrl",Qr={[_a+"-B"]:"bold",[_a+"-I"]:"italic"},wo={[bt]:"\u6DFB\u52A0\u94FE\u63A5",[Kt]:"\u6DFB\u52A0\u4EE3\u7801\u5757",[Ut]:"\u6DFB\u52A0\u56FE\u7247",[In]:"\u6DFB\u52A0\u753B\u56FE",[Nt]:"\u63D2\u5165\u6D41\u7A0B\u56FE",[pt]:"\u6DFB\u52A0\u8868\u683C","maths-latex":"\u6570\u5B66\u56FE\u50CF","inline-latex":"LATEX\u516C\u5F0F"};var Ln=({defaultValue:wt="",onChange:Rt,width:Ct="100%",height:qn=400,miniToolbar:Qt=!1,isFocus:er=!1,watch:Zo,insertTemp:ao,mode:rr="markdown",id:qr="markdown-editor-id",showResizeBar:Jo=!1,noStorage:da=!1,showNullButton:Vr=!1,showNullProgramButton:ft=!1,hidetoolBar:vn=!1,fullScreen:an=!1,onBlur:mn,onCMBeforeChange:ca,onFullScreen:fn,className:la="",disablePaste:Tn=!1,disabled:Sa=!1,disabledFill:Qa=!1,placeholder:Br="",values:no="",extraUse:No})=>{const[Hn,Qi]=(0,x.useState)(null),[yi,Yr]=(0,x.useState)(wt),[Pi,ha]=(0,x.useState)(Zo),[tr,xr]=(0,x.useState)(an),[fa,eo]=(0,x.useState)(""),[Oo,Ni]=(0,x.useState)(0),[fi,Ii]=(0,x.useState)(qn),[Ol,tl]=(0,x.useState)(!1),fu=(0,x.useRef)((0,ot.Z)()),ga=(0,x.useRef)(!1),lr=(0,x.useRef)(),[Ar,Ai]=(0,x.useState)(0),[ul,kl]=(0,x.useState)(0),vl=(0,x.useRef)(),hl=(0,x.useRef)(),ru=(0,x.useRef)(),Po=(0,x.useRef)(),fe=()=>Aa(void 0,null,function*(){var Mn;const jt=yield Fetch("/api/attachments/distinct_hash_val.json",{method:"post",body:{hash_val:fu.current}});(Mn=jt==null?void 0:jt.attachments)!=null&&Mn.length&&(console.log("cm:",Hn,vl),jt.attachments.map(Fn=>{Fn.content_type.indexOf("image")>-1?Hn.replaceSelection(``):Fn.content_type.indexOf("video")>-1?Hn.replaceSelection(`<video width="100%" controls src="${ENV.API_SERVER}/api/attachments/${data.id}"></video>`):Fn.content_type.indexOf("pdf")>-1?Hn.replaceSelection(`<a href="${ENV.API_SERVER}/api/attachments/${Fn.id}?type=${Fn.content_type}&disposition=inline" target="_blank">${Fn.name}</a>`):Hn.replaceSelection(`[${Fn.name}](${ENV.API_SERVER}/api/attachments/${Fn.id}?type=${Fn.content_type})`)}))});(0,x.useEffect)(()=>{const Mn=window.scrollY||window.pageYOffset;Yr(no),Hn==null||Hn.setValue(no),window.scrollTo(0,Mn)},[no]),(0,x.useEffect)(()=>{fn==null||fn(tr)},[tr]),(0,x.useEffect)(()=>{if(vl.current){let Mn=function(Fn,Rn){var Ca;if(Tn){Rn.preventDefault();return}const Ta=Rn.clipboardData;if(Ta){const Ma=Ta.types.toString(),Ja=Ta.items;if(Ma==="Files"||Ta.types.indexOf("Files")>-1){if(Rn.preventDefault(),rr=="stex")return;try{let Za=Ja[1];((Ca=Ja[0])==null?void 0:Ca.kind)==="file"&&(Za=Ja[0]);const ma=Za.getAsFile(),za=ma.name.split(".").pop();(0,lt.I)(ma,Na=>{var cr,br,oo;Na.id?((cr=ma==null?void 0:ma.type)==null?void 0:cr.indexOf("image"))>-1?jt.replaceSelection(`<img width="100%" src="/api/attachments/${Na.id}?type=${Na.content_type})" alt="" />`):((br=ma==null?void 0:ma.type)==null?void 0:br.indexOf("video"))>-1?jt.replaceSelection(`<video width="100%" controls src="/api/attachments/${Na.id}"></video>`):((oo=ma==null?void 0:ma.type)==null?void 0:oo.indexOf("pdf"))>-1?jt.replaceSelection(`<a href="/api/attachments/${Na.id}?type=${ma.type}&disposition=inline" target="_blank">${ma.name}</a>`):pa.includes(za)?jt.replaceSelection(`<a href="/api/attachments/${Na.id}?type=office&disposition=inline" target="_blank">${ma.name}</a>`):jt.replaceSelection(`[${ma.name}](/api/attachments/${Na.id}?type=${Na.content_type})`):(Na==null?void 0:Na.status)===401&&(Ye.ZP.warning((Na==null?void 0:Na.message)||"\u8BF7\u767B\u5F55\u540E\u518D\u64CD\u4F5C"),document.location.href="/user/login")})}catch(Za){Ye.ZP.warning("\u8BF7\u4F7F\u7528chrome\u6D4F\u89C8\u5668\u7C98\u8D34")}return!0}else return!0}return!0};const jt=he().fromTextArea(vl.current,{mode:rr,lineNumbers:!Qt,lineWrapping:!0,value:wt,autoCloseTags:!ft,autoCloseBrackets:!0});return jt.on("keyup",function(Fn,Rn){Rn.keyCode===8&&(Fn.getValue()==""?jt.setOption("placeholder",Br):jt.setOption("placeholder",null))}),jt.on("keydown",function(Fn,Rn){if(Rn.keyCode===8){var Ca=ke(Fn);Ca&&Rn.preventDefault()}}),er&&jt.focus(),jt.on("paste",Mn),jt.on("dragleave",function(Fn,Rn){hl.current.classList.remove("mouse-hover-md")}),Sa&&jt.on("beforeChange",function(Fn,Rn){(Rn.origin==="paste"||Rn.origin==="+input")&&Rn.cancel()}),Qi(jt),()=>{jt.off("paste",Mn)}}},[]);const ye=(0,x.useCallback)(()=>{if(hl.current)try{}catch(Mn){console.log(Mn,"---- to set md editor body height")}},[fi,hl,tr]);(0,x.useEffect)(()=>{function Mn(){let jt=new Fe.Z(Fn=>{for(let Rn of Fn)(Rn.target.offsetHeight>0||Rn.target.offsetWidth>0)&&(ye(),Hn.setSize("100%","100%"),Hn.refresh())});return jt.observe(vl.current.parentElement),jt}if(Hn){const jt=Mn();return()=>{var Fn,Rn;(Fn=vl.current)!=null&&Fn.parentElement&&jt.unobserve((Rn=vl.current)==null?void 0:Rn.parentElement)}}},[Hn,ye]),(0,x.useEffect)(()=>{if(Hn){let Mn=[];for(const[jt,Fn]of Object.entries(Qr)){let Rn={[jt]:()=>{Pe(Fn)}};Mn.push(Rn),Hn.addKeyMap(Rn)}return lr.current=setInterval(()=>{ga.current&&fe()},4e3),()=>{clearInterval(lr.current);for(let jt of Mn)Hn.removeKeyMap(jt)}}},[Hn]),(0,x.useEffect)(()=>{an!==tr&&xr(an)},[an]),(0,xn.Z)(()=>{if(!da&&Oo>0){let Mn=new Date().getTime(),jt=window.sessionStorage.getItem(qr);Mn>=Oo+La&&(!jt||jt!==yi)&&(window.sessionStorage.setItem(qr,yi),tl(!0))}},La),(0,x.useEffect)(()=>{ha(Zo)},[Hn,Zo]),(0,x.useEffect)(()=>{Hn&&er&&Hn.focus()},[Hn,er]),(0,x.useEffect)(()=>{if(Pi&&Hn){let Mn=function(Fn){let Rn=Fn.target;if(Po.current){let Ca=Rn.scrollTop/Rn.scrollHeight;Po.current.scrollTop=Po.current.scrollHeight*Ca}};const jt=Hn.getScrollerElement();return jt.addEventListener("scroll",Mn),()=>{jt.removeEventListener("scroll",Mn)}}},[Hn,Pi]),(0,x.useEffect)(()=>{if(Hn&&ca){let Mn=function(jt,Fn){ca(jt,Fn)};return Hn.on("beforeChange",Mn),()=>{Hn.off("beforeChange",Mn)}}},[Hn,ca]),(0,x.useEffect)(()=>{if(Hn&&mn){let Mn=function(){mn(Hn.getValue())};return Hn.on("blur",Mn),()=>{Hn.off("blur",Mn)}}},[Hn,mn]);function ke(Mn,jt){var Fn=Mn.getDoc(),Rn=Fn.getCursor(),Ca=Fn.getLine(Rn.line),Ta=Ca.charAt(Rn.ch-1),Ma=Ca.lastIndexOf("@\u2581@",Rn.ch),Ja=Ca.lastIndexOf("@\u2581\u2581@",Rn.ch),Za=Ma>Ja?Ma:Ja,ma=Ma>Ja?3:4;if(gn.indexOf(Ta)===-1)return null;if(console.log("change1:",jt,Mn,Ca,Rn,Za,Ma,Ja,Ta),Za>=0&&Rn.ch-Za<5){var za=Za+ma;return Fn.replaceRange("",{line:Rn.line,ch:Za},{line:Rn.line,ch:za}),{line:Rn.line,ch:za}}return null}(0,x.useEffect)(()=>{if(Hn){let Mn=function(jt,Fn){const Rn=jt.getValue();Yr(Rn),Ni(new Date().getTime()),jt.getScrollerElement().dispatchEvent(new CustomEvent("scroll")),Rt&&(ft?Rt(Rn,Cn(Rn)):Rt(Rn))};return Hn.on("change",Mn),()=>{Hn.off("change",Mn)}}},[Hn,Rt]),(0,x.useEffect)(()=>{if(Hn)if(wt==null)Hn.setValue(""),Yr("");else{const Mn=window.scrollY||window.pageYOffset;wt!==Hn.getValue()&&(Hn.setValue(wt),Yr(wt),Hn.setCursor(Sa?1:Hn.lineCount(),0),window.scrollTo(0,Mn))}},[Hn,wt]);const Pe=(0,x.useCallback)(Mn=>{const jt=Hn.getCursor(),Fn=Hn.getSelection();let Rn=Fn.split(`
|
|
`);switch(Mn){case"bold":return Hn.replaceSelection("**"+Fn+"**"),Fn===""&&Hn.setCursor(jt.line,jt.ch+2),Hn.focus();case"italic":return Hn.replaceSelection("*"+Fn+"*"),Fn===""&&Hn.setCursor(jt.line,jt.ch+1),Hn.focus();case"code":return Hn.replaceSelection("`"+Fn+"`"),Fn===""&&Hn.setCursor(jt.line,jt.ch+1),Hn.focus();case"inline-latex":return eo("inline-latex"),Hn.focus();case"latex":return Hn.replaceSelection("```latex\n"+Fn+"\n```"),Hn.setCursor(jt.line+1,Fn.length+1),Hn.focus();case"line-break":return Hn.replaceSelection(`<br/>
|
|
`),Hn.focus();case"list-ul":return Fn===""?Hn.replaceSelection("- "+Fn):Hn.replaceSelection(Rn.map(Ca=>Ca===""?"":`- ${Ca}`).join(`
|
|
`)),Hn.focus();case"list-ol":return Fn===""?Hn.replaceSelection("1. "+Fn):Hn.replaceSelection(Rn.map((Ca,Ta)=>Ca===""?"":`${Ta+1}. ${Ca}`).join(`
|
|
`)),Hn.focus();case"add-null-ch":return Fn===""&&Hn.setCursor(jt.line,jt.ch),Hn.replaceSelection(on),Hn.focus();case"add-signal":return Fn===""&&Hn.setCursor(jt.line,jt.ch),Hn.replaceSelection(Sn),Hn.focus();case"add-multiple":return Fn===""&&Hn.setCursor(jt.line,jt.ch),Hn.replaceSelection(gn),Hn.focus();case"inster-template-1":return Fn===""&&Hn.setCursor(jt.line,jt.ch),Hn.replaceSelection(Fa),Hn.focus();case"eraser":return Hn.setValue(""),Hn.focus();case"trigger-watch":return ha(!Pi),Hn.focus();case"trigger-full-screen":return xr(!tr),Hn.focus();case bt:eo(bt);return;case Kt:eo(Kt);return;case Ut:eo(Ut);return;case In:eo(In);return;case"maths-latex":eo("maths-latex");return;case Nt:eo(Nt);return;case pt:eo(pt);return;default:throw new Error}},[Hn,Pi,tr]),et=(0,x.useCallback)((Mn,jt)=>{var Fn,Rn,Ca,Ta,Ma,Ja;switch(eo(""),fa){case bt:const{title:cr,link:br}=Mn;return Hn.replaceSelection(`[${cr}](${br})`),Hn.focus();case Kt:const{language:oo,content:zo}=Mn;return Hn.replaceSelection(["```"+oo,zo,"```"].join(`
|
|
`)),Hn.focus();case"maths-latex":for(var Za=atob(Mn),ma=new Uint8Array(Za.length),za=0;za<Za.length;za++)ma[za]=Za.charCodeAt(za);var Na=new Blob([ma],{type:"image/png"});(0,lt.I)(Na,Ti=>{Ti.id?Hn.replaceSelection(``):(Ti==null?void 0:Ti.status)===401&&(document.location.href="/user/login")});break;case"inline-latex":Hn.replaceSelection("`$$"+Mn+"$$`");break;case Ut:case In:case Tt:const{src:ai,alt:ya}=Mn,ri=jt,Ji=(Ca=(Rn=(Fn=ri==null?void 0:ri.name)==null?void 0:Fn.split("."))==null?void 0:Rn.pop)==null?void 0:Ca.call(Rn);return((Ta=ri==null?void 0:ri.type)==null?void 0:Ta.indexOf("image"))>-1||!(ri!=null&&ri.type)?ri.align||ri.width?Hn.replaceSelection(`<p style="text-align:${ri.align||"initial"}"><img width="${ri.width?ri.width+"%":"initial"}" src="${ai}" alt="${ya||""}" /></p>`):Hn.replaceSelection(`<img width="100%" src="${ai}" alt="${ya||""}" />`):((Ma=ri==null?void 0:ri.type)==null?void 0:Ma.indexOf("video"))>-1?Hn.replaceSelection(`<video width="100%" controls src="${ai}"></video>`):((Ja=ri==null?void 0:ri.type)==null?void 0:Ja.indexOf("pdf"))>-1?Hn.replaceSelection(`<a href="${ai}?type=${ri.type}&disposition=inline" target="_blank">${ri.name}</a>`):pa.includes(Ji)?Hn.replaceSelection(`<a href="${ai}?type=office&disposition=inline" target="_blank">${ri.name}</a>`):Hn.replaceSelection(`[${ri.name}](${ai})`),Hn.focus();case pt:const{row:Kl,col:mu,align:Ll}=Mn;let sl=`
|
|
`;for(let Ti=0;Ti<Kl;Ti++){let Cu=[],Cl=[];for(let bu=0;bu<mu;bu++)Ti===1&&Cl.push(Jt[Ll]),Cu.push(" ");Ti===1&&(sl+=`| ${Cl.join(" | ")} |
|
|
`),sl+=`| ${Cu.join(mu===1?"":" | ")} |
|
|
`}return Hn.replaceSelection(sl+`
|
|
`),Hn.focus();default:throw new Error}},[Hn,fa]),ut=(0,x.useMemo)(()=>{switch(fa){case bt:return x.createElement(Gt,{callback:et,onCancel:St});case Kt:return x.createElement(yn.Z,{callback:et,onCancel:St});case Ut:return x.createElement(lt.Z,{callback:et,onCancel:St});case Nt:return x.createElement(Bt,{callback:et,onCancel:St});case pt:return x.createElement(bn,{callback:et,onCancel:St});case"maths-latex":return x.createElement(Xe,{showSaveButton:!0,callback:et});case"inline-latex":return x.createElement(Zt.Z,{showSaveButton:!0,callback:et});default:return null}},[fa]);function St(){eo("")}(0,x.useEffect)(()=>{if(ru.current){let Mn=function(Ma){Ca=!0,Ta=Ma.pageY},jt=function(){Ca=!1},Fn=function(Ma){if(Ca){let Ja=Ma.pageY-Ta;Ja<0&&(Ja=0),Ja>300&&(Ja=300);let Za=qn+Ja+"px";Ii(Za)}},Rn=ru.current,Ca=!1,Ta=0;return Rn.addEventListener("mousedown",Mn),document.addEventListener("mousemove",Fn),document.addEventListener("mouseup",jt),()=>{Rn.removeEventListener("mousedown",Mn),document.removeEventListener("mousemove",Fn),document.removeEventListener("mouseup",jt)}}},[Hn,ru]),(0,x.useEffect)(()=>{Ii(qn)},[qn]);const nt=ra(Ct),ct=ra(fi),vt={width:nt,height:ct},hn=(0,x.useMemo)(()=>{if(Oo){let Mn=new Date(Oo),jt=Mn.getHours(),Fn=Mn.getMinutes(),Rn=Mn.getSeconds();return jt=jt<10?"0"+jt:jt,Fn=Fn<10?"0"+Fn:Fn,Rn=Rn<10?"0"+Rn:Rn,`${jt}:${Fn}:${Rn}`}return 0},[Oo]),Cn=Mn=>{const jt=[];if(ft){let Fn=-1;Mn=Mn.replace(/(@▁▁@|@▁@)/g,function(Rn,Ca,Ta){jt.push({multiLine:Rn!==Sn})})}return jt};function oa(){window.sessionStorage.removeItem(qr),tl(!1),Ni(0)}function $n(){tl(!1),Ni(0),Hn.setValue(window.sessionStorage.getItem(qr))}(0,x.useEffect)(()=>{wo[fa]&&fa!==In&&fa!==Nt&&setTimeout(()=>{const Mn=document.getElementsByClassName("markdown-popup-form")[0],jt=window.innerWidth/2-Mn.offsetWidth/2,Fn=window.innerHeight/2-Mn.offsetHeight/2;Ai(jt),kl(Fn)},0)},[fa]);const Ia=Mn=>{Mn.preventDefault();const jt=Mn.clientX-Ar,Fn=Mn.clientY-ul;document.body.onmousemove=Rn=>{let Ca=Rn.clientX-jt,Ta=Rn.clientY-Fn;const Ma=document.getElementsByClassName("markdown-popup-form")[0],Ja=window.innerWidth-Ma.offsetWidth,Za=window.innerHeight-Ma.offsetHeight;Ca=Math.max(0,Math.min(Ca,Ja)),Ta=Math.max(0,Math.min(Ta,Za)),xa(Rn.clientX,Rn.clientY,jt,Fn)&&(Ai(Ca),kl(Ta))},document.body.onmouseup=function(){document.body.onmousemove=null}},xa=(Mn,jt,Fn,Rn)=>{const Ca=document.body.clientHeight,Ta=document.body.clientWidth;return Mn<20&&Fn>Mn||Mn>Ta-20&&Fn<Mn||jt<20&&Rn>jt||jt>Ca-20&&Rn<jt?(document.body.onmousemove=null,document.body.onmouseup=null,!1):!0};return x.createElement(x.Fragment,null,x.createElement("div",{className:"markdown-editor-wrapper",ref:hl},x.createElement("div",{className:`markdown-editor-container ${la} ${Pi?"on-preview":""} ${Qt?"mini":""} ${tr?"full-screen":""}`,style:vt},x.createElement(pe,{insertTemp:ao,watch:Pi,fullScreen:tr,showNullButton:Vr,showNullProgramButton:ft,onActionCallback:Pe,hidetoolBar:vn,extraUse:No}),x.createElement("div",{className:"markdown-editor-body"},x.createElement("div",{className:"codemirror-container"},x.createElement("textarea",{ref:vl,placeholder:Br})),Pi?x.createElement("div",{ref:Po,className:"preview-container"},rr==="stex"&&x.createElement(De,{value:yi}),rr!=="stex"&&x.createElement(Ke.Z,{disabledFill:Qa,showProgramFill:ft,value:yi})):null))),Jo?x.createElement("a",{ref:ru,className:"editor-resize"}):null,fa===In&&x.createElement(kt,{callback:et,onCancel:St}),fa===Nt&&x.createElement(Bt,{callback:et,onCancel:St}),x.createElement(Ee.Z,null,wo[fa]&&fa!==In&&fa!==Nt?x.createElement(ht.default,{maskClosable:!1,centered:!0,style:{position:"absolute",left:Ar,top:ul},title:x.createElement("div",{style:{cursor:"move"},onMouseDown:Ia},wo[fa]),open:!0,onCancel:St,footer:null,destroyOnClose:!0,width:fa===Nt?"1200px":null,height:fa===Nt?"80vh":null,className:"markdown-popup-form"},ut):null))}},70859:function(mt,st,z){"use strict";z.d(st,{Z:function(){return de},I:function(){return Ee}});var x=z(22150),ge=z(2453),he=z(69677),Fe=z(93421),we=z(31795),ze=z(78045),se=z(71577),je=z(15476),Te=z(67294),Le=z(52262),Ke=z(67294),De=Object.defineProperty,ve=Object.defineProperties,ue=Object.getOwnPropertyDescriptors,a=Object.getOwnPropertySymbols,y=Object.prototype.hasOwnProperty,b=Object.prototype.propertyIsEnumerable,E=(be,xe,Ce)=>xe in be?De(be,xe,{enumerable:!0,configurable:!0,writable:!0,value:Ce}):be[xe]=Ce,ee=(be,xe)=>{for(var Ce in xe||(xe={}))y.call(xe,Ce)&&E(be,Ce,xe[Ce]);if(a)for(var Ce of a(xe))b.call(xe,Ce)&&E(be,Ce,xe[Ce]);return be},te=(be,xe)=>ve(be,ue(xe));const{useForm:re}=x.default,oe={width:280,marginRight:10},ne={labelCol:{span:5},wrapperCol:{span:19}};var de=({callback:be,onCancel:xe})=>{const[Ce]=re();let Ne=(0,Te.useRef)();function Re(Ue){Ne.current.width=Ce.getFieldValue("width"),Ne.current.align=Ce.getFieldValue("align"),be(Ue,Ne.current)}function at(Ue,Ge){if(Ue.status===-1){ge.ZP.error(Ue.message);return}Ce.setFieldsValue({src:`/api/attachments/${Ue.id}`,type:Ge.type})}function Ie(Ue){let Ge=Ue.target.files[0];Ne.current=Ge,Ee(Ge,at)}return Ke.createElement(x.default,te(ee({form:Ce},ne),{className:"upload-image-panel",onFinish:Re,style:{width:470,overflow:"hidden"}}),Ke.createElement(x.default.Item,{label:"\u56FE\u7247\u5730\u5740",required:!0},Ke.createElement("div",{className:"flex-container"},Ke.createElement(x.default.Item,{noStyle:!0,name:"src",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u6587\u4EF6\u5730\u5740"}]},Ke.createElement(he.default,{style:oe})),Ke.createElement(pe,{onFileChange:Ie}))),Ke.createElement(x.default.Item,{label:"\u56FE\u7247\u63CF\u8FF0",name:"alt"},Ke.createElement(he.default,{style:{width:264}})),Ke.createElement(x.default.Item,{label:"\u56FE\u7247\u5BBD\u5EA6",name:"width"},Ke.createElement(Fe.Z,null,Ke.createElement(x.default.Item,{name:"width",style:{margin:0}},Ke.createElement(we.Z,{style:{width:264}})),Ke.createElement("span",{className:"ml8"},"%"))),Ke.createElement(x.default.Item,{label:"\u5BF9\u9F50\u65B9\u5F0F",name:"align"},Ke.createElement(ze.ZP.Group,{name:"align",defaultValue:1,options:[{value:"left",label:"\u5DE6\u5BF9\u9F50"},{value:"center",label:"\u5C45\u4E2D\u5BF9\u9F50"},{value:"right",label:"\u53F3\u5BF9\u9F50"}]})),Ke.createElement("aside",null,Ke.createElement(x.default.Item,{style:{textAlign:"right",position:"relative",right:-98}},Ke.createElement(se.ZP,{type:"primary",htmlType:"submit",style:{marginRight:10}},"\u786E\u5B9A"),Ke.createElement(se.ZP,{type:"default",onClick:xe},"\u53D6\u6D88"))))};function pe({onFileChange:be}){return Ke.createElement("label",{className:"upload-button",style:{cursor:"pointer"}},"\u672C\u5730\u4E0A\u4F20",Ke.createElement("input",{type:"file",onChange:be}))}function Ee(be,xe){if(!be)throw new String("\u6CA1\u6709\u6587\u4EF6");if(!(0,Le.bg)())throw ge.ZP.warning("\u8BF7\u767B\u5F55\u540E\u518D\u64CD\u4F5C"),new String("\u8BF7\u767B\u5F55\u540E\u518D\u64CD\u4F5C");let Ce=new FormData;Ce.append("editormd-image-file",be),Ce.append("file_param_name","editormd-image-file"),Ce.append("byxhr","true");var Ne=new window.XMLHttpRequest;Ne.withCredentials=!0,Ne.addEventListener("load",function(Re){xe(JSON.parse(Re.target.responseText),be)},!1),Ne.addEventListener("error",function(Re){console.error(Re)},!1),Ne.open("POST",`${je.KI}/api/attachments.json`),Ne.send(Ce)}},76621:function(mt,st,z){"use strict";z.d(st,{Z:function(){return he}});var x=z(67294),ge=z(73935);class he extends x.Component{constructor(we){super(we);const ze=window.document;this.node=ze.createElement("div"),ze.body.appendChild(this.node)}render(){const{children:we}=this.props;return(0,ge.createPortal)(we,this.node)}componentWillUnmount(){window.document.body.removeChild(this.node)}}},99914:function(mt,st,z){"use strict";z.d(st,{Z:function(){return ge}});var x=z(67294);function ge(he,Fe){const we=(0,x.useRef)();(0,x.useEffect)(()=>{we.current=he}),(0,x.useEffect)(()=>{function ze(){we.current()}if(Fe!==null){let se=setInterval(ze,Fe);return()=>clearInterval(se)}},[Fe])}},70562:function(mt,st,z){"use strict";z.d(st,{Z:function(){return Ge}});var x=z(67294),ge=z(78045),he=z(71577),Fe=z(2453),we=z(14446),ze=z(31795),se=z(71230),je=z(15746),Te=z(96074),Le=z(36295),Ke={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"},De=z(52262),ve=z(19575),ue=z(33170),a=z(35973),y=z(85725),b=z(86763),E=z(55304),ee=z(84249),te=z(67294),re=Object.defineProperty,oe=Object.defineProperties,ne=Object.getOwnPropertyDescriptors,de=Object.getOwnPropertySymbols,pe=Object.prototype.hasOwnProperty,Ee=Object.prototype.propertyIsEnumerable,be=(Ve,rt,gt)=>rt in Ve?re(Ve,rt,{enumerable:!0,configurable:!0,writable:!0,value:gt}):Ve[rt]=gt,xe=(Ve,rt)=>{for(var gt in rt||(rt={}))pe.call(rt,gt)&&be(Ve,gt,rt[gt]);if(de)for(var gt of de(rt))Ee.call(rt,gt)&&be(Ve,gt,rt[gt]);return Ve},Ce=(Ve,rt)=>oe(Ve,ne(rt)),Ne=(Ve,rt,gt)=>new Promise((xt,Gt)=>{var yn=Lt=>{try{ht(gt.next(Lt))}catch(zt){Gt(zt)}},lt=Lt=>{try{ht(gt.throw(Lt))}catch(zt){Gt(zt)}},ht=Lt=>Lt.done?xt(Lt.value):Promise.resolve(Lt.value).then(yn,lt);ht((gt=gt.apply(Ve,rt)).next())});const Re={selectOnLineNumbers:!0,readOnly:!0,minimap:{enabled:!1},scrollBeyondLastLine:!1,enableSplitViewResizing:!1,roundedSelection:!1,renderIndicators:!1,useShadows:!1};var at=(Ve=>(Ve[Ve.SET_PATH=0]="SET_PATH",Ve[Ve.GET_PASSED_CONTENT=1]="GET_PASSED_CONTENT",Ve))(at||{});function Ie(Ve,rt){switch(rt.type){case 0:return Ce(xe({},Ve),{selectedPath:rt.payload});case 1:return Ce(xe({},Ve),{passedContent:rt.payload});default:throw new Error}}var Ge=({language:Ve,dispatch:rt,shixunWorkReport:gt,v:xt,languages:Gt,classroomList:yn,autoHeight:lt,diff_code_count:ht,data:Lt})=>{const[zt,dt]=(0,x.useState)(Gt==null?void 0:Gt[0]),kt=(0,a.useParams)();return(0,x.useEffect)(()=>{dt(Gt==null?void 0:Gt[0])},[]),(0,x.useEffect)(()=>{var Ze;dt((Ze=Gt==null?void 0:Gt.filter(Dn=>Dn.language===(zt==null?void 0:zt.language)))==null?void 0:Ze[0])},[Gt]),te.createElement(te.Fragment,null,te.createElement("h2",null," ",te.createElement("span",null,xt.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")),(Gt==null?void 0:Gt.length)>1&&te.createElement(ge.ZP.Group,{defaultValue:Ve,style:{marginLeft:10},onChange:Ze=>{var Dn;xt.language=Ze.target.value,dt((Dn=Gt==null?void 0:Gt.filter(zn=>zn.language===Ze.target.value))==null?void 0:Dn[0])}},Gt==null?void 0:Gt.map(Ze=>te.createElement(ge.ZP,{value:Ze==null?void 0:Ze.language},Ze==null?void 0:Ze.language)))),(0,De.GJ)()&>!="shixunWorkReport"&&te.createElement("span",null,te.createElement("span",null,"\u5F97\u5206 ",zt==null?void 0:zt.score,"/",zt==null?void 0:zt.total_score),te.createElement(he.ZP,{style:{margin:"0px 10px"},onClick:()=>{var Ze,Dn;if(!((Dn=(Ze=yn.AssistantObject)==null?void 0:Ze.hack)!=null&&Dn.can_appraise)&&(0,De.Rm)()){Fe.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 zn=zt==null?void 0:zt.score;we.default.confirm({title:"\u8C03\u5206",content:te.createElement("div",null,te.createElement("p",null,"\u5F97\u5206\uFF1A",zt==null?void 0:zt.score,"/",zt==null?void 0:zt.total_score),te.createElement("p",null,"\u8C03\u5206\uFF1A",te.createElement(ze.Z,{min:0,max:zt==null?void 0:zt.total_score,defaultValue:zt==null?void 0:zt.score,onChange:Dt=>{zn=Dt}}))),okText:"\u786E\u8BA4",onOk:()=>Ne(void 0,null,function*(){(yield(0,ue.ZP)(`/api/courses/${kt==null?void 0:kt.coursesId}/homework_commons/update_hack_score`,{method:"put",body:{course_id:kt==null?void 0:kt.coursesId,hack_user_code_id:zt==null?void 0:zt.hack_user_id,score:zn}})).status===0&&(Fe.ZP.success("\u8C03\u5206\u6210\u529F"),rt({type:"shixunHomeworks/setActionTabs",payload:{}}),rt({type:"shixunHomeworks/getShixunWorkReports",payload:xe({},kt)}))}),cancelText:"\u53D6\u6D88"})},type:"primary"},"\u8C03\u5206"),(0,De.GJ)()&>!="shixunWorkReport"&&te.createElement(he.ZP,{onClick:()=>{var Ze;if(!((Ze=yn.AssistantObject.hack)!=null&&Ze.can_appraise)&&(0,De.Rm)()){Fe.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}rt({type:"shixunHomeworks/setActionTabs",payload:{key:"\u66F4\u6539\u70B9\u8BC4",selectArrs:{myshixun_identifier:gt.user_id,type:"1",language:zt==null?void 0:zt.language,v:xt,data:xe({},gt)}}})}},"\u70B9\u8BC4\u4EE3\u7801"))),te.createElement(Le.ZP,{height:300,language:zt==null?void 0:zt.language,value:zt!=null&&zt.code?ve.Base64.decode(zt==null?void 0:zt.code):"",autoHeight:lt,theme:"default",options:Re}),((zt==null?void 0:zt.comment)||(zt==null?void 0:zt.hidden_comment))&&te.createElement("div",null,te.createElement(se.Z,{align:"middle",style:{borderTop:"1px solid #eee"}},te.createElement(je.Z,{flex:1},te.createElement("h1",{className:Ke.title},"\u70B9\u8BC4\u5185\u5BB9")),te.createElement(je.Z,{className:"pr30"},(0,De.GJ)()&&te.createElement(he.ZP,{onClick:()=>Ne(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 Ne(this,null,function*(){(yield(0,b.gZ)({comment_id:zt==null?void 0:zt.comment_id,homeworkId:kt.homeworkId,type:"hack"})).status===0&&(Fe.ZP.success("\u5220\u9664\u6210\u529F"),rt({type:"shixunHomeworks/getShixunWorkReports",payload:xe({},kt)}))})}})})},te.createElement(ee.Z,null),"\u5220\u9664"))),te.createElement(Te.Z,{style:{margin:0}}),(zt==null?void 0:zt.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:zt==null?void 0:zt.comment})),(zt==null?void 0:zt.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:zt==null?void 0:zt.hidden_comment}))))}},52765:function(mt,st,z){"use strict";z.r(st),z.d(st,{default:function(){return xe}});var x=z(67294),ge=z(35973),he=z(66368),Fe=z(71577),we=z(28452),ze=z(52262),se=z(33170),je=z(26194),Te=z(45160),Le="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABUAAAAWCAYAAAAvg9c4AAAAAXNSR0IArs4c6QAABPdJREFUSEullWloHGUYx//vzO7sHDuzm93sZpM2l/SgRyK7xSYxrfYgbdUq6JcixXqAUrxItGAVMT1A+kH7Re1WWppa6afiAYJIi7ZB07vkIARzVJqYbJMmu90zszOzM6/MVEXQotR3mPky8/7e//N7ZuYl+J+jt7fX7/f7i/X19cU/UORemZRSZnBwsKNQKLztdrtHOI57sqGhYcbm3ROUUsoOD4++Mz9f2CtJItE0DaVSqTMWi+27Jyil1DM0NLTfsmgHpZbLhthQSmlfTU3NmkgkUvjPSSmlZGRkZI2maZ2mWdpAGBehpgnd0KBpOkzTLPn9/gei0Wjfv0JHR0cXGpq2xTDNHZTSJsu0OJNaIIRFUc07KXXdgGVZCAQCL7e0tMT/Br3ja3iRaZptlmU9YVHayhBGoAApGTpKhgHCsFCLRaRvp+yEtk9QaiEYDHy0cWPb639CbdjAwADP8/zRkmk9BYADIU4nLUqdycX5Agxdh4cXkLh5E8m5WTD2A4SAZVmEwxVnNm3a9AiJx+MrdSI8nslm25YtqlMaVi6LWab1+2IUFIB9NXQDuUwapmFAUnwYHBhAOp0Ex3nAcRx4QU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LZWeqa2o2xmKxIXvCb487Tm3fsdeDAAAAAElFTkSuQmCC",Ke=z(96074),De=z(85725),ve=z(11320),ue=(Ce,Ne,Re)=>new Promise((at,Ie)=>{var Ue=rt=>{try{Ve(Re.next(rt))}catch(gt){Ie(gt)}},Ge=rt=>{try{Ve(Re.throw(rt))}catch(gt){Ie(gt)}},Ve=rt=>rt.done?at(rt.value):Promise.resolve(rt.value).then(Ue,Ge);Ve((Re=Re.apply(Ce,Ne)).next())});const a=({user:Ce,item:Ne,getdata:Re,params:at})=>{var Ie;const Ue=(0,x.useRef)(),[Ge,Ve]=(0,x.useState)(),[rt,gt]=(0,x.useState)(!0);return(0,x.useEffect)(()=>{if(!Ue.current)return;function xt(){var yn;let lt=new ResizeObserver(ht=>{for(let Lt of ht)console.log("----",Lt,ht),Ve(Lt.target.offsetHeight>=52)});return lt.observe((yn=Ue.current)==null?void 0:yn.firstElementChild),lt}const Gt=xt();return()=>{var yn,lt;(yn=Ue.current)!=null&&yn.firstElementChild&&Gt.unobserve((lt=Ue.current)==null?void 0:lt.firstElementChild)}},[Ue.current]),x.createElement("div",{onClick:()=>{ge.history.push(`/classrooms/${at.coursesId}/program_homework/${at.categoryId}/answer/${Ne.id}/detail`)},style:{padding:"0px 20px",cursor:"pointer"}},x.createElement("div",{className:Te.Z.titles,style:{fontWeight:600,fontSize:18,color:"#000000"}},Ne.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:`${ve.Z.IMG_SERVER}/images/${Ne.author.image_url}`}),x.createElement("span",{style:{margin:"0px 12px 0px 8px"}},(Ie=Ne==null?void 0:Ne.author)==null?void 0:Ie.name),x.createElement("span",null,"\u53D1\u8868\u4E8E",Ne.created_at)),x.createElement("div",null,x.createElement("span",{style:{color:"#5F6368",cursor:"pointer"},onClick:()=>{}},"\u56DE\u590D\uFF08",(Ne==null?void 0:Ne.descendants_count)||0,"\uFF09"),(0,ze.eB)()&&x.createElement("span",{onClick:xt=>ue(void 0,null,function*(){xt.stopPropagation(),(yield(0,se.ZP)(`/api/hack_messages/${Ne.id}/update_public`,{method:"post"})).status===0&&Re()}),style:{color:"#44D7B6",cursor:"pointer",marginLeft:20}},Ne.is_public?"\u53D6\u6D88\u516C\u5F00":"\u516C\u5F00"))),x.createElement("div",{ref:Ue,style:{margin:"15px 0px",maxHeight:rt?52:"",overflow:"hidden"}},x.createElement(De.Z,{style:{color:"#434D6C",fontSize:14},value:Ne.content})),(Ne==null?void 0:Ne.hack_identifier)&&x.createElement("span",{onClick:xt=>ue(void 0,null,function*(){var Gt;if(xt.stopPropagation(),(0,ze.dE)())return;let yn=yield(0,se.ZP)(`/api/problems/${Ne==null?void 0:Ne.hack_identifier}/start.json`,{method:"get",params:{hack_user_id:(Gt=Ne==null?void 0:Ne.author)==null?void 0:Gt.id}});yn&&(window.open(`/myproblems/${yn==null?void 0:yn.identifier}?type=1`),localStorage.setItem("program_homework",[at.coursesId,at.categoryId]))}),className:Te.Z.tips},Ne==null?void 0:Ne.hack_name),Ge&&x.createElement("div",{onClick:xt=>{xt.stopPropagation(),gt(!rt)}},x.createElement(Ke.Z,{dashed:!1,className:"",style:{cursor:"pointer"}},x.createElement("a",{className:`font14 ${Te.Z.color999}`},rt?"\u9605\u8BFB\u5168\u6587 ":"\u6536\u8D77\u5168\u6587 ",x.createElement("i",{className:`iconfont font14 ${rt?"icon-jiantou9":"icon-changyongtubiao-xianxingdaochu-zhuanqu-"}`})))))};var y=(0,ge.connect)(({user:Ce})=>({user:Ce}))(a),b=Object.defineProperty,E=Object.defineProperties,ee=Object.getOwnPropertyDescriptors,te=Object.getOwnPropertySymbols,re=Object.prototype.hasOwnProperty,oe=Object.prototype.propertyIsEnumerable,ne=(Ce,Ne,Re)=>Ne in Ce?b(Ce,Ne,{enumerable:!0,configurable:!0,writable:!0,value:Re}):Ce[Ne]=Re,de=(Ce,Ne)=>{for(var Re in Ne||(Ne={}))re.call(Ne,Re)&&ne(Ce,Re,Ne[Re]);if(te)for(var Re of te(Ne))oe.call(Ne,Re)&&ne(Ce,Re,Ne[Re]);return Ce},pe=(Ce,Ne)=>E(Ce,ee(Ne)),Ee=(Ce,Ne,Re)=>new Promise((at,Ie)=>{var Ue=rt=>{try{Ve(Re.next(rt))}catch(gt){Ie(gt)}},Ge=rt=>{try{Ve(Re.throw(rt))}catch(gt){Ie(gt)}},Ve=rt=>rt.done?at(rt.value):Promise.resolve(rt.value).then(Ue,Ge);Ve((Re=Re.apply(Ce,Ne)).next())});const be=({user:Ce})=>{var Ne,Re,at,Ie;let[Ue,Ge]=(0,x.useState)(pe(de({},(0,ge.useParams)()),{page:1,per_page:10,type:1,sort_by:"",course_group:(0,ze.dE)()?[Ce.userInfo.course.course_group_id]:[]}));const[Ve,rt]=(0,x.useState)([]);(0,x.useEffect)(()=>{gt()},[]);function gt(){return Ee(this,null,function*(){let xt=yield(0,se.ZP)(`/api/homework_commons/${Ue.categoryId}/hack_messages`,{method:"get",params:pe(de({},Ue),{type:1})});rt(xt)})}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(he.default,{tabBarStyle:{padding:"0px 10px"},style:{width:"850px"},tabBarExtraContent:(0,ze.dE)()&&x.createElement(Fe.ZP,{type:"primary",style:{width:88},onClick:()=>{ge.history.push(`/classrooms/${Ue.coursesId}/program_homework/${Ue.categoryId}/answer/add`)}},"\u53D1\u8868\u7B54\u7591 "),onChange:xt=>{xt==="1"?Ue.sort_by="":Ue.sort_by="created_at",Ge(de({},Ue)),gt()}},x.createElement(he.default.TabPane,{key:"1",tab:"\u6700\u65B0\u56DE\u590D"}),x.createElement(he.default.TabPane,{key:"2",tab:"\u6700\u65B0\u53D1\u8868"})),((Ne=Ve==null?void 0:Ve.data)==null?void 0:Ne.length)<=0&&x.createElement(je.Z,{customText:"\u6682\u65E0\u8BA8\u8BBA"}),(Re=Ve==null?void 0:Ve.data)==null?void 0:Re.map(xt=>x.createElement(y,{item:xt,params:Ue,getdata:gt})),x.createElement("div",{style:{width:"100%",textAlign:"center",marginTop:10}},x.createElement(we.Z,{current:Ue.page,pageSize:Ue.per_page,total:Ve==null?void 0:Ve.count,hideOnSinglePage:!0,onChange:(xt,Gt)=>{Ue.page=xt,Ue.per_page=Gt,Ge(de({},Ue)),gt()}}))),x.createElement("div",{className:Te.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:Le})," "),(0,ze.GJ)()&&x.createElement(Fe.ZP,{type:"primary",onClick:()=>{ge.history.push(`/classrooms/${Ue.coursesId}/program_homework/${Ue.categoryId}/answer/add`)}},"\u53D1\u5E03\u5E7F\u64AD")),((at=Ve==null?void 0:Ve.radio_messages)==null?void 0:at.length)<=0&&x.createElement(je.Z,null),(Ie=Ve==null?void 0:Ve.radio_messages)==null?void 0:Ie.map(xt=>x.createElement("div",{onClick:()=>{ge.history.push(`/classrooms/${Ue.coursesId}/program_homework/${Ue.categoryId}/answer/${xt.id}/detail`)},style:{marginTop:30,cursor:"pointer"}},x.createElement("div",{className:Te.Z.title,style:{fontSize:"16px",fontWeight:600}},x.createElement("span",{style:{color:(xt==null?void 0:xt.message_type)===2?"#4C7BE6":"#E17E7E"}},(xt==null?void 0:xt.message_type)===2?"\u3010\u9898\u89E3\u3011":"\u3010\u901A\u77E5\u3011"),x.createElement("span",{title:xt.name},xt.name)),x.createElement("div",{style:{marginTop:15,color:"#5F6368"}},"\u53D1\u8868\u4E8E",xt.created_at))))))};var xe=(0,ge.connect)(({user:Ce})=>({user:Ce}))(be)},42469:function(mt,st,z){"use strict";z.d(st,{Z:function(){return pe}});var x=z(67294),ge={anchorNavigation:"anchorNavigation___qD4R0",tabs:"tabs___hVMvA",box:"box___Qz1lW",head:"head___WZZdl"},he=Object.defineProperty,Fe=Object.getOwnPropertySymbols,we=Object.prototype.hasOwnProperty,ze=Object.prototype.propertyIsEnumerable,se=(Ee,be,xe)=>be in Ee?he(Ee,be,{enumerable:!0,configurable:!0,writable:!0,value:xe}):Ee[be]=xe,je=(Ee,be)=>{for(var xe in be||(be={}))we.call(be,xe)&&se(Ee,xe,be[xe]);if(Fe)for(var xe of Fe(be))ze.call(be,xe)&&se(Ee,xe,be[xe]);return Ee};const Te=Ee=>React.createElement("svg",je({width:17,height:18,xmlns:"http://www.w3.org/2000/svg"},Ee),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 Le="data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTciIGhlaWdodD0iMTgiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGRlZnM+PGxpbmVhckdyYWRpZW50IHgxPSIxMDAlIiB5MT0iNTAlIiB4Mj0iMCUiIHkyPSI1MCUiIGlkPSJhIj48c3RvcCBzdG9wLWNvbG9yPSIjNUVDN0VBIiBvZmZzZXQ9IjAlIi8+PHN0b3Agc3RvcC1jb2xvcj0iIzMwNTVEMCIgb2Zmc2V0PSIxMDAlIi8+PC9saW5lYXJHcmFkaWVudD48L2RlZnM+PGcgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoMCAtMSkiIGZpbGw9Im5vbmUiIGZpbGwtcnVsZT0iZXZlbm9kZCI+PHBhdGggZD0ibTQuMzQyIDIuMDA1IDExLjg5NiA3LjEzOGExIDEgMCAwIDEgMCAxLjcxNEw0LjM0MiAxNy45OTVhMSAxIDAgMCAxLTEuMzc4LTEuMzYyTDYuODM0IDEwbC0zLjg3LTYuNjMzYTEgMSAwIDAgMSAxLjM3OC0xLjM2MloiIGZpbGw9InVybCgjYSkiLz48Y2lyY2xlIGZpbGw9IiMzMDYxRDAiIGN4PSIyIiBjeT0iMTAiIHI9IjIiLz48L2c+PC9zdmc+",Ke=z(66368),De=z(94184),ve=z.n(De),ue=z(67294),a=Object.defineProperty,y=Object.defineProperties,b=Object.getOwnPropertyDescriptors,E=Object.getOwnPropertySymbols,ee=Object.prototype.hasOwnProperty,te=Object.prototype.propertyIsEnumerable,re=(Ee,be,xe)=>be in Ee?a(Ee,be,{enumerable:!0,configurable:!0,writable:!0,value:xe}):Ee[be]=xe,oe=(Ee,be)=>{for(var xe in be||(be={}))ee.call(be,xe)&&re(Ee,xe,be[xe]);if(E)for(var xe of E(be))te.call(be,xe)&&re(Ee,xe,be[xe]);return Ee},ne=(Ee,be)=>y(Ee,b(be)),pe=({dataSource:Ee,className:be,style:xe})=>{const[Ce,Ne]=(0,x.useState)([]),[Re,at]=(0,x.useState)(""),Ie=(0,x.useRef)("");(0,x.useEffect)(()=>{if(Ee!=null&&Ee.length){const Ve=String(Math.random()).slice(-6),rt=Ee.map(gt=>ne(oe({},gt),{key:`${Ve}-${gt.key}`}));Ne(rt),at(rt[0].key)}},[Ee.length]);const Ue=Ve=>{at(Ve),Ie.current=Ve;const rt=document.getElementById(Ve);if(rt){const gt=rt.getBoundingClientRect().top+window.scrollY-50;window.scrollTo({top:gt,behavior:"smooth"})}},Ge=()=>{const Ve=Ce.map(gt=>document.getElementById(gt.key)),rt=window.innerHeight/2;for(const gt of Ve)if(gt){const xt=gt.getBoundingClientRect();if(xt.top>=0&&xt.top<rt){if(Ie.current===gt.id){Ie.current="";return}if(Ie.current)return;at(gt.id);break}}};return(0,x.useEffect)(()=>(window.addEventListener("scroll",Ge),()=>{window.removeEventListener("scroll",Ge)}),[Ce]),ue.createElement("div",{className:ve()(ge.anchorNavigation,be),style:xe},ue.createElement(Ke.default,{items:Ce,tabBarGutter:60,className:ge.tabs,activeKey:Re,onChange:Ue}),Ce.map(Ve=>ue.createElement("div",{key:Ve.key,id:Ve.key,className:ge.box},ue.createElement("div",{className:ge.head},ue.createElement("img",{className:"mr10",src:Le,alt:"Dot"}),Ve.label),ue.createElement("div",{className:ge.element},Ve.element))))}},98595:function(mt,st,z){"use strict";var x=z(67294),ge=z(14446),he=z(2453),Fe=z(33170),we=z(35973),ze=Object.defineProperty,se=Object.getOwnPropertySymbols,je=Object.prototype.hasOwnProperty,Te=Object.prototype.propertyIsEnumerable,Le=(a,y,b)=>y in a?ze(a,y,{enumerable:!0,configurable:!0,writable:!0,value:b}):a[y]=b,Ke=(a,y)=>{for(var b in y||(y={}))je.call(y,b)&&Le(a,b,y[b]);if(se)for(var b of se(y))Te.call(y,b)&&Le(a,b,y[b]);return a},De=(a,y)=>{var b={};for(var E in a)je.call(a,E)&&y.indexOf(E)<0&&(b[E]=a[E]);if(a!=null&&se)for(var E of se(a))y.indexOf(E)<0&&Te.call(a,E)&&(b[E]=a[E]);return b},ve=(a,y,b)=>new Promise((E,ee)=>{var te=ne=>{try{oe(b.next(ne))}catch(de){ee(de)}},re=ne=>{try{oe(b.throw(ne))}catch(de){ee(de)}},oe=ne=>ne.done?E(ne.value):Promise.resolve(ne.value).then(te,re);oe((b=b.apply(a,y)).next())});const ue=a=>{var y=a,{shixunHomeworks:b,dispatch:E}=y,ee=De(y,["shixunHomeworks","dispatch"]);const te=(0,we.useParams)();return x.createElement(ge.default,{centered:!0,title:"\u63D0\u793A",open:b.actionTabs.key==="\u6253\u56DE\u91CD\u505A",okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",onOk:()=>ve(void 0,null,function*(){(yield(0,Fe.ZP)(`/api/myshixuns/${b.actionTabs.selectArrs.myshixun_identifier}/reset_my_game.json`,{method:"GET",params:{course_id:te.coursesId}})).shixun_identifier&&(he.ZP.success("\u64CD\u4F5C\u6210\u529F"),E({type:"shixunHomeworks/setActionTabs",payload:{}}),E({type:"shixunHomeworks/getWorkList",payload:Ke({},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}))(ue)},96469:function(mt,st,z){"use strict";z.d(st,{n:function(){return Ut},Z:function(){return In}});var x=z(67294),ge=z(22150),he=z(2453),Fe=z(83062),we=z(14446),ze=z(68508),se=z(84567),je=z(71230),Te=z(15746),Le=z(69677),Ke=z(71577),De=z(85418),ve=z(9430),ue=z(78045),a=z(31795),y=z(28452),b=z(42922),E=z(53978),ee=z(33863),te=z(33463),re=z(26194),oe=z(28706),ne=z(98595),de=z(87995),pe=z(33170),Ee=z(35973),be=Object.defineProperty,xe=Object.getOwnPropertySymbols,Ce=Object.prototype.hasOwnProperty,Ne=Object.prototype.propertyIsEnumerable,Re=(Tt,Kt,pt)=>Kt in Tt?be(Tt,Kt,{enumerable:!0,configurable:!0,writable:!0,value:pt}):Tt[Kt]=pt,at=(Tt,Kt)=>{for(var pt in Kt||(Kt={}))Ce.call(Kt,pt)&&Re(Tt,pt,Kt[pt]);if(xe)for(var pt of xe(Kt))Ne.call(Kt,pt)&&Re(Tt,pt,Kt[pt]);return Tt},Ie=(Tt,Kt)=>{var pt={};for(var En in Tt)Ce.call(Tt,En)&&Kt.indexOf(En)<0&&(pt[En]=Tt[En]);if(Tt!=null&&xe)for(var En of xe(Tt))Kt.indexOf(En)<0&&Ne.call(Tt,En)&&(pt[En]=Tt[En]);return pt},Ue=(Tt,Kt,pt)=>new Promise((En,Jt)=>{var xn=ua=>{try{jn(pt.next(ua))}catch(La){Jt(La)}},Aa=ua=>{try{jn(pt.throw(ua))}catch(La){Jt(La)}},jn=ua=>ua.done?En(ua.value):Promise.resolve(ua.value).then(xn,Aa);jn((pt=pt.apply(Tt,Kt)).next())});const Ge=Tt=>{var Kt=Tt,{shixunHomeworks:pt,dispatch:En}=Kt,Jt=Ie(Kt,["shixunHomeworks","dispatch"]);const xn=(0,Ee.useParams)(),[Aa,jn]=(0,x.useState)(!0),[ua,La]=(0,x.useState)(!1),[on]=ge.default.useForm(),gn=()=>Ue(void 0,null,function*(){const Sn=on.getFieldValue();(yield(0,pe.ZP)(`/api/homework_commons/${xn.categoryId}/batch_comment.json`,{method:"post",body:{student_work_ids:[...pt.actionTabs.selectArrs],cover_all:Aa,hidden_comment:Sn.hidden_comment,comment:Sn.comment}})).status===0&&(he.ZP.success("\u8BC4\u9605\u6210\u529F"),on.resetFields(),En({type:"shixunHomeworks/setActionTabs",payload:{}}),En({type:"shixunHomeworks/getWorkList",payload:at({},pt.actionTabs.params)}))});return x.createElement(x.Fragment,null,x.createElement(we.default,{centered:!0,title:"\u4E00\u952E\u70B9\u8BC4",open:pt.actionTabs.key==="\u4E00\u952E\u70B9\u8BC4",okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",onOk:()=>Ue(void 0,null,function*(){const Sn=on.getFieldValue();JSON.stringify(Sn)==="{}"||Sn.hidden_comment===""&&Sn.comment===""?La(!0):pt.workList.partial_comment?En({type:"shixunHomeworks/setActionTabs",payload:{key:"\u4E00\u952E\u70B9\u8BC4\u786E\u8BA4",selectArrs:pt.actionTabs.selectArrs,params:pt.actionTabs.params}}):gn()}),onCancel:()=>{En({type:"shixunHomeworks/setActionTabs",payload:{}})}},x.createElement(ge.default,{form:on,onChange:()=>{ua&&La(!1)}},x.createElement("p",null,"\u5B66\u751F\u548C\u8BFE\u5802\u8001\u5E08\u53EF\u89C1"),x.createElement(ge.default.Item,{name:"comment"},x.createElement(Le.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(ge.default.Item,{name:"hidden_comment"},x.createElement(Le.default.TextArea,{placeholder:"\u8BF7\u8F93\u5165\u8BC4\u9605\u5185\u5BB9",rows:8}))),ua&&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(de.Z,{className:"c-orange mr20"}),"\u63D0\u793A"),open:pt.actionTabs.key==="\u4E00\u952E\u70B9\u8BC4\u786E\u8BA4",okText:"\u786E\u5B9A\u70B9\u8BC4",cancelText:"\u653E\u5F03\u70B9\u8BC4",onOk:()=>{gn()},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(ue.ZP.Group,{onChange:Sn=>{jn(Sn.target.value)},value:Aa},x.createElement(ue.ZP,{value:!0},"\u8986\u76D6\u5DF2\u6709\u70B9\u8BC4"),x.createElement(ue.ZP,{value:!1},"\u8DF3\u8FC7\u5DF2\u6709\u70B9\u8BC4"))))))};var Ve=(0,Ee.connect)(({shixunHomeworks:Tt})=>({shixunHomeworks:Tt}))(Ge),rt=z(86763),gt=z(52262),xt={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"},Gt=Object.getOwnPropertySymbols,yn=Object.prototype.hasOwnProperty,lt=Object.prototype.propertyIsEnumerable,ht=(Tt,Kt)=>{var pt={};for(var En in Tt)yn.call(Tt,En)&&Kt.indexOf(En)<0&&(pt[En]=Tt[En]);if(Tt!=null&&Gt)for(var En of Gt(Tt))Kt.indexOf(En)<0&<.call(Tt,En)&&(pt[En]=Tt[En]);return pt},Lt=(Tt,Kt,pt)=>new Promise((En,Jt)=>{var xn=ua=>{try{jn(pt.next(ua))}catch(La){Jt(La)}},Aa=ua=>{try{jn(pt.throw(ua))}catch(La){Jt(La)}},jn=ua=>ua.done?En(ua.value):Promise.resolve(ua.value).then(xn,Aa);jn((pt=pt.apply(Tt,Kt)).next())});const zt=Tt=>{var Kt=Tt,{shixunHomeworks:pt,dispatch:En}=Kt,Jt=ht(Kt,["shixunHomeworks","dispatch"]),xn,Aa,jn,ua;const La=(0,Ee.useParams)(),[on,gn]=(0,x.useState)(!1),[Sn,Fa]=(0,x.useState)((Aa=(xn=pt.actionTabs.selectArrs)==null?void 0:xn.data)==null?void 0:Aa.name),[pa]=ge.default.useForm();(0,x.useEffect)(()=>{var Ga,_a,Qr,wo,Ln,wt;pt.actionTabs.key==="\u66F4\u6539\u70B9\u8BC4"&&pa.setFieldsValue({comment:(_a=(Ga=pt.actionTabs.selectArrs)==null?void 0:Ga.data)==null?void 0:_a.work_comment,hidden_comment:(wo=(Qr=pt.actionTabs.selectArrs)==null?void 0:Qr.data)==null?void 0:wo.work_comment_hidden}),Fa((wt=(Ln=pt.actionTabs.selectArrs)==null?void 0:Ln.data)==null?void 0:wt.name)},[pt.actionTabs.key]);const ra=()=>Lt(void 0,null,function*(){var Ga,_a;const Qr=pa.getFieldValue();if((yield(0,pe.ZP)(`/api/student_works/${(_a=(Ga=pt.actionTabs.selectArrs)==null?void 0:Ga.data)==null?void 0:_a.homeworkId}/shixun_work_comment.json`,{method:"post",body:{hidden_comment:Qr.hidden_comment,comment:Qr.comment}})).status===0)return he.ZP.success("\u8BC4\u9605\u6210\u529F"),pa.resetFields(),En({type:"shixunHomeworks/setActionTabs",payload:{}}),En({type:"shixunHomeworks/getWorkList",payload:La})});return x.createElement(x.Fragment,null,x.createElement(we.default,{centered:!0,title:(ua=(jn=pt.actionTabs.selectArrs)==null?void 0:jn.data)!=null&&ua.work_comment_hidden?"\u66F4\u6539"+Sn+"\u70B9\u8BC4":Sn+"\u70B9\u8BC4",open:pt.actionTabs.key==="\u66F4\u6539\u70B9\u8BC4",okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",onOk:()=>Lt(void 0,null,function*(){const Ga=pa.getFieldValue();JSON.stringify(Ga)==="{}"||Ga.hidden_comment===""&&Ga.comment===""?gn(!0):ra()}),onCancel:()=>{En({type:"shixunHomeworks/setActionTabs",payload:{}})}},x.createElement(ge.default,{form:pa,onChange:()=>{on&&gn(!1)}},x.createElement("p",null,"\u5B66\u751F\u548C\u8BFE\u5802\u8001\u5E08\u53EF\u89C1"),x.createElement(ge.default.Item,{name:"comment"},x.createElement(Le.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(ge.default.Item,{name:"hidden_comment"},x.createElement(Le.default.TextArea,{placeholder:"\u8BF7\u8F93\u5165\u8BC4\u9605\u5185\u5BB9",rows:8}))),on&&x.createElement("p",{className:"c-red"},"\u8BC4\u9605\u5185\u5BB9\u81F3\u5C11\u6709\u4E00\u4E2A\u4E0D\u4E3A\u7A7A")))};var dt=(0,Ee.connect)(({shixunHomeworks:Tt})=>({shixunHomeworks:Tt}))(zt),kt=Object.getOwnPropertySymbols,Ze=Object.prototype.hasOwnProperty,Dn=Object.prototype.propertyIsEnumerable,zn=(Tt,Kt)=>{var pt={};for(var En in Tt)Ze.call(Tt,En)&&Kt.indexOf(En)<0&&(pt[En]=Tt[En]);if(Tt!=null&&kt)for(var En of kt(Tt))Kt.indexOf(En)<0&&Dn.call(Tt,En)&&(pt[En]=Tt[En]);return pt},Dt=(Tt,Kt,pt)=>new Promise((En,Jt)=>{var xn=ua=>{try{jn(pt.next(ua))}catch(La){Jt(La)}},Aa=ua=>{try{jn(pt.throw(ua))}catch(La){Jt(La)}},jn=ua=>ua.done?En(ua.value):Promise.resolve(ua.value).then(xn,Aa);jn((pt=pt.apply(Tt,Kt)).next())});const rn=Tt=>{var Kt=Tt,{shixunHomeworks:pt,dispatch:En}=Kt,Jt=zn(Kt,["shixunHomeworks","dispatch"]);const xn=(0,Ee.useParams)(),[Aa,jn]=(0,x.useState)([]),[ua,La]=(0,x.useState)([]);(0,x.useEffect)(()=>{pt.actionTabs.key==="\u8D28\u91CF\u68C0\u6D4B"&&on()},[pt.actionTabs.key]);function on(){return Dt(this,null,function*(){const Sn=yield(0,pe.ZP)(`/api/homework_commons/${xn.categoryId}/code_quality_analyses/group_list.json`,{method:"GET",params:{page:1,limit:200}});jn(Sn)})}const gn=[{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:pt.actionTabs.key==="\u8D28\u91CF\u68C0\u6D4B",width:700,okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",onOk:()=>Dt(void 0,null,function*(){const Sn=yield(0,pe.ZP)(`/api/homework_commons/${xn.categoryId}/code_quality_analyses.json`,{method:"POST",body:{group_ids:ua}});(Sn==null?void 0:Sn.status)===0&&(Ee.history.replace(`/classrooms/${xn.coursesId}/shixun_homework/${xn.categoryId}/detail?tabs=4`),window.location.reload(),En({type:"shixunHomeworks/setActionTabs",payload:{}}),La([]))}),onCancel:()=>{La([]),En({type:"shixunHomeworks/setActionTabs",payload:{}})}},x.createElement(ve.default,{rowSelection:{type:"checkbox",onChange:(Sn,Fa)=>{La([...Sn])},selectedRowKeys:ua,getCheckboxProps:Sn=>({disabled:Sn.status==="\u8FDB\u884C\u4E2D"||Sn.works_count===0})},rowKey:Sn=>Sn.key||Sn.id,scroll:{y:300},pagination:!1,columns:gn,dataSource:Aa==null?void 0:Aa.group_list})))};var en=(0,Ee.connect)(({shixunHomeworks:Tt})=>({shixunHomeworks:Tt}))(rn),Ht=z(35567),Et=z(98769),wn=Object.defineProperty,dn=Object.getOwnPropertySymbols,Bt=Object.prototype.hasOwnProperty,Bn=Object.prototype.propertyIsEnumerable,Yt=(Tt,Kt,pt)=>Kt in Tt?wn(Tt,Kt,{enumerable:!0,configurable:!0,writable:!0,value:pt}):Tt[Kt]=pt,Xt=(Tt,Kt)=>{for(var pt in Kt||(Kt={}))Bt.call(Kt,pt)&&Yt(Tt,pt,Kt[pt]);if(dn)for(var pt of dn(Kt))Bn.call(Kt,pt)&&Yt(Tt,pt,Kt[pt]);return Tt},On=(Tt,Kt,pt)=>new Promise((En,Jt)=>{var xn=ua=>{try{jn(pt.next(ua))}catch(La){Jt(La)}},Aa=ua=>{try{jn(pt.throw(ua))}catch(La){Jt(La)}},jn=ua=>ua.done?En(ua.value):Promise.resolve(ua.value).then(xn,Aa);jn((pt=pt.apply(Tt,Kt)).next())});const bn=({shixunHomeworks:Tt,dispatch:Kt,isShow:pt,setIsShow:En,item:Jt,coursesId:xn,categoryId:Aa})=>{const[jn,ua]=(0,x.useState)({page:1,limit:10}),[La,on]=(0,x.useState)([]),[gn,Sn]=(0,x.useState)(!1);(0,x.useEffect)(()=>{pt&&Fa()},[pt]);function Fa(){return On(this,null,function*(){Sn(!0);const ra=yield(0,pe.ZP)(`/api/student_works/${Jt.id}/game_details.json`,{method:"get",params:Xt({},jn)});Sn(!1),ra.status===0&&on(ra==null?void 0:ra.data)})}const pa=[{title:"\u5E8F\u53F7",dataIndex:"number",width:50,fixed:"left",ellipsis:!0,render:(ra,Ga,_a)=>x.createElement("span",{style:{color:"#000"}},jn.limit*(jn.page-1)+_a+1)},{title:"\u4EFB\u52A1\u540D\u79F0",dataIndex:"name",key:"name",ellipsis:!0,render:(ra,Ga,_a)=>x.createElement("span",{style:{color:"#000"}},ra)},{title:"\u901A\u5173\u8BE6\u60C5",dataIndex:"complete_status",key:"complete_status",ellipsis:!0,width:100,render:(ra,Ga,_a)=>x.createElement("span",null,ra==0?"\u672A\u901A\u5173":ra==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:(ra,Ga,_a)=>x.createElement("span",{style:{color:"#333"}},ra)},{title:"\u5B9E\u8BAD\u8017\u65F6",dataIndex:"time_consuming",key:"time_consuming",width:120,ellipsis:!0,render:(ra,Ga,_a)=>x.createElement("span",{style:{color:"#333"}},ra)}];return x.createElement(x.Fragment,null,x.createElement(we.default,{centered:!0,title:"\u901A\u5173\u60C5\u51B5",open:pt,width:700,footer:null,maskClosable:!1,onCancel:()=>{jn.page=1,jn.limit=10,ua(Xt({},jn)),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:Jt==null?void 0:Jt.user_name,style:{color:"#232B40"}},Jt==null?void 0:Jt.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:Jt==null?void 0:Jt.student_id,style:{color:"#232B40"}},(Jt==null?void 0:Jt.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:Jt==null?void 0:Jt.group_name,style:{color:"#232B40"}},(Jt==null?void 0:Jt.group_name)||"--"))),x.createElement(ve.default,{scroll:{y:380},columns:pa,loading:gn,style:{marginBottom:jn.limit>(La==null?void 0:La.count)?"16px":"0"},dataSource:La.games,pagination:{size:"default",showQuickJumper:!0,showSizeChanger:!0,pageSizeOptions:["10","15","50","100","200"],hideOnSinglePage:!0,pageSize:jn.limit,current:jn.page,position:["bottomRight"],onChange:(ra,Ga)=>{jn.page=ra,jn.limit=Ga,ua(Xt({},jn)),Fa()},total:La==null?void 0:La.count,showTotal:(ra,Ga)=>x.createElement("span",null,"\u5171",x.createElement("span",{style:{color:"#165DFF"}}," ",ra," "),"\u6761\u6570\u636E")}})))};var Je=(0,Ee.connect)(({shixunHomeworks:Tt})=>({shixunHomeworks:Tt}))(bn),He=z(67294),Xn=Object.defineProperty,Me=Object.getOwnPropertySymbols,Xe=Object.prototype.hasOwnProperty,Zt=Object.prototype.propertyIsEnumerable,ot=(Tt,Kt,pt)=>Kt in Tt?Xn(Tt,Kt,{enumerable:!0,configurable:!0,writable:!0,value:pt}):Tt[Kt]=pt,Ye=(Tt,Kt)=>{for(var pt in Kt||(Kt={}))Xe.call(Kt,pt)&&ot(Tt,pt,Kt[pt]);if(Me)for(var pt of Me(Kt))Zt.call(Kt,pt)&&ot(Tt,pt,Kt[pt]);return Tt},bt=(Tt,Kt,pt)=>new Promise((En,Jt)=>{var xn=ua=>{try{jn(pt.next(ua))}catch(La){Jt(La)}},Aa=ua=>{try{jn(pt.throw(ua))}catch(La){Jt(La)}},jn=ua=>ua.done?En(ua.value):Promise.resolve(ua.value).then(xn,Aa);jn((pt=pt.apply(Tt,Kt)).next())});const Ut=({value:Tt,placeholder:Kt=""})=>{if(Tt==null||Tt==="")return He.createElement("span",null,Kt);{const pt=Number(Tt);if(pt>=80)return He.createElement("span",{style:{color:"#009C0F"}},pt);if(pt<80&&pt>=60)return He.createElement("span",{style:{color:"#FA6400"}},pt);if(pt<60)return He.createElement("span",{style:{color:"#E30000"}},pt)}},Nt=({shixunHomeworks:Tt,classroomList:Kt,globalSetting:pt,loading:En,dispatch:Jt,setExportParams:xn,user:Aa})=>{var jn,ua,La,on,gn,Sn,Fa,pa,ra,Ga,_a,Qr;const wo=(0,Ee.useParams)(),[Ln,wt]=(0,x.useState)(Ye(Ye({},{page:1,limit:20,order:"work_score",b_order:"desc"}),wo)),[Rt]=ge.default.useForm(),[Ct,qn]=(0,x.useState)(),[Qt,er]=(0,x.useState)({}),[Zo,ao]=(0,x.useState)([]),[rr,qr]=(0,x.useState)(!1),[Jo,da]=(0,x.useState)([]),[Vr,ft]=(0,x.useState)(!1),[vn,an]=(0,x.useState)(),[mn,ca]=(0,x.useState)(1),[fn,la]=(0,x.useState)(),[Tn,Sa]=(0,x.useState)(),[Qa,Br]=(0,x.useState)(),[no,No]=(0,x.useState)(),[Hn,Qi]=(0,x.useState)(),[yi,Yr]=(0,x.useState)(!1),[Pi,ha]=(0,x.useState)(!1),[tr,xr]=(0,x.useState)(),fa=(0,Ee.useLocation)();(0,x.useEffect)(()=>(eo(),()=>{er([]),ao([])}),[Ln.coursesId]),(0,x.useEffect)(()=>{var ga;const lr=JSON.parse(JSON.stringify(Tt.workList));!((ga=lr==null?void 0:lr.student_works)!=null&&ga.length)&&(lr!=null&&lr.id)?(lr.student_works=[Ye({},lr)],er(lr)):(lr!=null&&lr.id&&ao([Ye(Ye({},lr),{number:"\u6211"})]),er(Ye({},lr)))},[Tt.workList]);const eo=ga=>(xn(Ye({},Ln)),Jt({type:"shixunHomeworks/getWorkList",payload:Ln}));(0,x.useEffect)(()=>{Jt({type:"user/getUserInfo",payload:{course_id:Ln.coursesId}})},[]);const Oo=()=>bt(void 0,null,function*(){const ga=yield(0,rt.Uc)({categoryId:wo.categoryId});qn(ga==null?void 0:ga.update_score)}),Ni=()=>bt(void 0,null,function*(){Jt({type:"globalSetting/setGlobalLoading",payload:{show:!0,text:"\u6210\u7EE9\u8BA1\u7B97\u4E2D\uFF0C\u8BF7\u7A0D\u5019..."}});const ga=yield(0,rt.Vs)({categoryId:wo.categoryId});Jt({type:"globalSetting/setGlobalLoading",payload:{show:!1,text:""}}),(ga==null?void 0:ga.status)===0&&(he.ZP.success(ga==null?void 0:ga.message),eo())}),fi=()=>{Ln.page=1;const ga=Object.assign({},Rt.getFieldsValue());delete Ln.course_group,delete Ln.teacher_comment,Object.keys(ga).map(function(lr){var Ar;switch(lr){case"task_status":ga[lr].includes("all")||!ga[lr].length?(delete Ln.work_status,Rt.setFieldsValue({task_status:"all"})):(Ln.work_status=ga[lr],Rt.setFieldsValue({task_status:Ln.work_status}));break;case"course_group_info":ga[lr].includes("all")||!ga[lr].length?(delete Ln.course_group,Rt.setFieldsValue({course_group_info:"all"})):(Ln.course_group=ga[lr],Rt.setFieldsValue({course_group_info:Ln.course_group}));break;case"teacher_comment":ga[lr].includes("all")||!ga[lr].length?(delete Ln.teacher_comment,Rt.setFieldsValue({teacher_comment:"all"})):(Ln.teacher_comment=((Ar=ga[lr])==null?void 0:Ar.length)===1?Number(ga[lr][0]):"",Rt.setFieldsValue({teacher_comment:ga[lr]}));break}}),eo()};(0,x.useEffect)(()=>{document.getElementById("divhe")&&document.getElementById("divhe").scrollHeight>47&&(Qi(47),Yr(!0))},[document.getElementById("divhe")]);const Ii=(ga,lr)=>{Ln.page=ga,Ln.limit=20,eo()};function Ol(){ca(1),la(""),Sa(""),Br(""),No(""),da([])}const tl=[{title:"\u5E8F\u53F7",dataIndex:"number",align:"center",width:50,fixed:"left",ellipsis:!0,render:(ga,lr,Ar)=>Ln.limit*(Ln.page-1)+Ar+1},{title:"\u59D3\u540D",dataIndex:"user_name",align:"center",width:110,fixed:"left",ellipsis:!0,render:ga=>He.createElement(Fe.Z,{placement:"bottomLeft",title:ga},He.createElement("span",{className:"current"},ga))},!(0,gt.Jd)()&&{title:"\u5B66\u53F7",dataIndex:"student_id",align:"center",sorter:!0,fixed:"left",width:100,ellipsis:!0,showSorterTooltip:!1,sortOrder:Ln.order==="student_id"?Ln.b_order==="desc"?"descend":"ascend":null,render:ga=>He.createElement(Fe.Z,{placement:"bottomLeft",title:ga||"--"},He.createElement("span",{className:"current"},ga||"--"))},{title:"\u5206\u73ED",dataIndex:"group_name",align:"center",width:100,fixed:"left",ellipsis:!0,render:(ga,lr)=>ga?He.createElement(Fe.Z,{placement:"bottom",title:ga},He.createElement("span",{className:"current"},ga)):"--"},{title:"\u4F5C\u4E1A\u72B6\u6001",dataIndex:"work_status",align:"center",width:94,ellipsis:!0,fixed:"left",sorter:!0,showSorterTooltip:!1,sortOrder:Ln.order==="work_status"?Ln.b_order==="desc"?"descend":"ascend":null,render:ga=>He.createElement(oe.lC,{status:ga})},{title:"\u5B8C\u6210\u65F6\u95F4",align:"center",dataIndex:"achieve_time",ellipsis:!0,sorter:!0,sortOrder:Ln.order==="achieve_time"?Ln.b_order==="desc"?"descend":"ascend":null,render:(ga,lr)=>He.createElement(Fe.Z,{placement:"bottomLeft",title:ga},He.createElement("span",{className:"current"},ga))},{title:"\u901A\u8FC7\u60C5\u51B5",align:"center",dataIndex:"achieve_info",ellipsis:!0,render:(ga,lr)=>He.createElement("span",{onClick:Ar=>{var Ai;Ar.stopPropagation(),(Ai=Qt.homework_status)!=null&&Ai.includes("\u5BFC\u5165")&&(xr(lr),ha(!0))}},ga||"- -")},{title:"\u6700\u7EC8\u6210\u7EE9",align:"center",dataIndex:"score",ellipsis:!0,sorter:!0,sortOrder:Ln.order==="work_score"?Ln.b_order==="desc"?"descend":"ascend":null,render:(ga,lr)=>He.createElement(Fe.Z,{title:He.createElement(He.Fragment,null,He.createElement("div",null,"\u8BD5\u9898\u5F97\u5206\uFF1A",(lr==null?void 0:lr.late_final_score)||0),He.createElement("div",null,"\u8865\u4EA4\u6263\u5206\uFF1A",(lr==null?void 0:lr.late_penalty)||0),He.createElement("div",null,"\u6700\u7EC8\u6210\u7EE9\uFF1A",(lr==null?void 0:lr.score)||0))},Ut({value:ga,placeholder:"- -"}))},{title:"\u5B8C\u6210\u65F6\u957F",dataIndex:"achieve_time_long",align:"center",sorter:!0,ellipsis:!0,sortOrder:Ln.order==="achieve_time_long"?Ln.b_order==="desc"?"descend":"ascend":null,render:(ga,lr)=>ga&&ga!="--"?He.createElement(Fe.Z,{placement:"bottom",title:ga},He.createElement("span",{className:"current"},ga)):"--"},((jn=Qt.homework_status)==null?void 0:jn.includes("\u5BFC\u5165"))&&{title:"\u8BC4\u6D4B\u6B21\u6570",dataIndex:"sum_evaluate_count",align:"center"},!((ua=Qt.homework_status)!=null&&ua.includes("\u5BFC\u5165"))&&{title:He.createElement("span",null,"\u8BC4\u9605\u72B6\u6001"),align:"center",dataIndex:"has_comment",fixed:"right",ellipsis:!0,render:ga=>ga?"\u5DF2\u8BC4\u9605":"\u672A\u8BC4\u9605"},{title:"\u64CD\u4F5C",dataInex:"action",align:"center",fixed:"right",ellipsis:!0,className:"workListTable",render:(ga,lr)=>{var Ar;return(Ar=Qt.homework_status)!=null&&Ar.includes("\u5BFC\u5165")?(0,gt.GJ)()?He.createElement("a",{onClick:Ai=>{Ai.stopPropagation(),Jt({type:"classroomList/setActionTabs",payload:{key:"\u4FEE\u6539\u6210\u7EE9",id:lr==null?void 0:lr.id,type:"normal"}})}},"\u4FEE\u6539\u6210\u7EE9"):He.createElement("a",{onClick:Ai=>{Ai.stopPropagation(),xr(lr),ha(!0)}},"\u67E5\u770B"):(0,gt.dE)()?He.createElement("div",null,(0,oe.JL)(lr==null?void 0:lr.work_status)==="\u672A\u5F00\u542F"?He.createElement("span",null,"--"):He.createElement("a",{onClick:Ai=>{var ul;if(Ai.stopPropagation(),(0,gt.Rm)()&&!((ul=Kt.AssistantObject.hack)!=null&&ul.can_view)){he.ZP.warning("\u60A8\u672A\u83B7\u53D6\u6B64\u6743\u9650\uFF0C\u9700\u5411\u8BFE\u5802\u7BA1\u7406\u5458\u7533\u8BF7\u6743\u9650\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD");return}window.open(`/classrooms/${Ln.coursesId}/program_homework/${Ln.categoryId}/${lr.id}/${lr.user_id}/comment`,"_blank")}},"\u67E5\u770B")):He.createElement("a",{target:"_blank",onClick:Ai=>{var ul,kl;if(Ai.stopPropagation(),(0,gt.Rm)()&&!((ul=Kt.AssistantObject.hack)!=null&&ul.can_view)){he.ZP.warning("\u60A8\u672A\u83B7\u53D6\u6B64\u6743\u9650\uFF0C\u9700\u5411\u8BFE\u5802\u7BA1\u7406\u5458\u7533\u8BF7\u6743\u9650\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD");return}if((kl=Aa.userInfo)!=null&&kl.professional_certification)window.open(`/classrooms/${Ln.coursesId}/program_homework/${Ln.categoryId}/${lr.id}/${lr.user_id}/comment`,"_blank");else return we.default.confirm({title:"\u63D0\u793A",centered:!0,content:He.createElement("div",{className:"tc"},"\u60A8\u9700\u8981\u53BB\u5B8C\u6210\u60A8\u7684\u804C\u4E1A\u8BA4\u8BC1\uFF0C\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD"),okText:"\u7ACB\u5373\u5B8C\u5584",cancelText:"\u7A0D\u540E\u5B8C\u5584",onOk:()=>{(0,oe.xg)("/account/certification")}}),!1}},"\u67E5\u770B\u4F5C\u4E1A")}}].filter(ga=>!!ga),fu=()=>{var ga,lr;return He.createElement(ze.default,null,He.createElement(ze.default.Item,{onClick:()=>{var Ar;if((0,gt.Rm)()&&!((Ar=Kt.AssistantObject.hack)!=null&&Ar.can_download)){he.ZP.warning("\u60A8\u672A\u83B7\u53D6\u6B64\u6743\u9650\uFF0C\u9700\u5411\u8BFE\u5802\u7BA1\u7406\u5458\u7533\u8BF7\u6743\u9650\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD");return}Jt({type:"classroomList/setActionTabs",payload:{key:"\u9009\u62E9\u73ED\u7EA7",title:"\u5BFC\u51FA\u5B66\u751F\u6210\u7EE9",course_groups:Qt==null?void 0:Qt.course_group_info,fn:()=>{(0,Et.Iy)(JSON.parse(sessionStorage.all_student_works_params),"hack_work_list")}}})},key:"1"},"\u5B66\u751F\u6210\u7EE9"),(0,gt.GJ)()&&((ga=Qt==null?void 0:Qt.student_works)==null?void 0:ga.length)>0&&!((lr=Qt==null?void 0:Qt.homework_status)!=null&&lr.includes("\u5BFC\u5165"))&&He.createElement(ze.default.Item,{key:"3",onClick:()=>{var Ar;if((0,gt.Rm)()&&!((Ar=Kt.AssistantObject.hack)!=null&&Ar.can_download)){he.ZP.warning("\u60A8\u672A\u83B7\u53D6\u6B64\u6743\u9650\uFF0C\u9700\u5411\u8BFE\u5802\u7BA1\u7406\u5458\u7533\u8BF7\u6743\u9650\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD");return}Jt({type:"classroomList/setActionTabs",payload:{key:"\u9009\u62E9\u73ED\u7EA7",title:"\u5BFC\u51FA\u7F16\u7A0B\u62A5\u544A",course_groups:Qt==null?void 0:Qt.course_group_info,fn:()=>{var Ai,ul,kl,vl;Jt({type:"shixunHomeworks/setActionTabs",payload:{key:"\u5BFC\u51FA\u7F16\u7A0B\u62A5\u544A",type:2}}),localStorage.setItem("dowolders","1"),Ee.history.push(`/classrooms/${Ln==null?void 0:Ln.coursesId}/program_homework/${Ln.categoryId}/${(ul=(Ai=Qt==null?void 0:Qt.student_works)==null?void 0:Ai[0])==null?void 0:ul.id}/${(vl=(kl=Qt==null?void 0:Qt.student_works)==null?void 0:kl[0])==null?void 0:vl.user_id}/comment`)}}})}},"\u7F16\u7A0B\u62A5\u544A"),He.createElement(ze.default.Item,{key:"2",onClick:()=>{var Ar;if((0,gt.Rm)()&&!((Ar=Kt.AssistantObject.hack)!=null&&Ar.can_download)){he.ZP.warning("\u60A8\u672A\u83B7\u53D6\u6B64\u6743\u9650\uFF0C\u9700\u5411\u8BFE\u5802\u7BA1\u7406\u5458\u7533\u8BF7\u6743\u9650\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD");return}Ee.history.push(`/classrooms/${Ln.coursesId}/exportlist/hack_work_list`)}},"\u5386\u53F2\u5BFC\u51FA"))};return He.createElement(He.Fragment,null,He.createElement("section",{className:`${xt.wrap} minH500 bg-white pl30 pr30 pt30`},((La=Qt.homework_status)==null?void 0:La.includes("\u672A\u53D1\u5E03"))&&He.createElement(re.Z,null),!((on=Qt.homework_status)!=null&&on.includes("\u672A\u53D1\u5E03"))&&He.createElement("aside",null,!(0,gt.GJ)()&&He.createElement("div",{className:"c-light-black font12"},He.createElement("span",null,"\u53D1\u5E03\u65F6\u95F4 ",Qt==null?void 0:Qt.publish_time),He.createElement("span",{className:"ml5"},"\u622A\u6B62\u65F6\u95F4 ",Qt==null?void 0:Qt.end_time),He.createElement("span",{className:"ml5"},"\u8865\u4EA4\u65F6\u95F4 ",(Qt==null?void 0:Qt.late_time)||"- -")),(0,gt.GJ)()&&He.createElement(He.Fragment,null,He.createElement(ge.default,{form:Rt,onChange:fi,initialValues:{task_status:"all",course_group_info:"all",teacher_comment:"all"}},((gn=Qt.task_status)==null?void 0:gn.length)>0&&He.createElement(ge.default.Item,{name:"task_status"},He.createElement(se.default.Group,{value:[],style:{width:"100%"}},He.createElement(je.Z,null,He.createElement(Te.Z,{className:"font14",flex:"80px"},"\u4F5C\u4E1A\u72B6\u6001:"),He.createElement(Te.Z,{flex:"80px"},He.createElement(se.default,{value:"all"},"\u5168\u90E8")),He.createElement(Te.Z,{flex:"1"},Qt.task_status&&Qt.task_status.map((ga,lr)=>He.createElement(se.default,{name:"task_status",value:ga.id},ga.name,"(",ga.count,")")))))),((Sn=Qt.course_group_info)==null?void 0:Sn.length)>0&&He.createElement(ge.default.Item,{name:"course_group_info"},He.createElement(se.default.Group,{style:{width:"100%"}},He.createElement(je.Z,null,He.createElement(Te.Z,{className:"font14",flex:"80px"},"\u5206\u73ED\u60C5\u51B5:"),He.createElement(Te.Z,{flex:"80px"},He.createElement(se.default,{value:"all"},"\u5168\u90E8")),He.createElement(Te.Z,{flex:"1",id:"divhe",style:{height:Hn+"px",overflow:"hidden"}},(Fa=Qt.course_group_info)==null?void 0:Fa.map((ga,lr)=>He.createElement(se.default,{value:ga.course_group_id},ga.group_group_name,"(",ga.count,")"))),yi&&He.createElement("span",{onClick:()=>{let ga=document.getElementById("divhe").scrollHeight;Hn>47?Qi(47):Qi(ga)},style:{color:"rgb(76, 172, 255)",cursor:"pointer",alignItems:"flex-end",display:"flex"}},Hn===47?"\u5C55\u5F00":"\u6536\u8D77",Hn===47?He.createElement(b.Z,{style:{marginBottom:"3px",marginLeft:"2px"}}):He.createElement(E.Z,{style:{marginBottom:"3px",marginLeft:"2px"}}))))),((pa=Qt.teacher_comment)==null?void 0:pa.length)>0&&He.createElement(ge.default.Item,{name:"teacher_comment"},He.createElement(se.default.Group,{style:{width:"100%"}},He.createElement(je.Z,null,He.createElement(Te.Z,{className:"font14",flex:"80px"},"\u8FFD\u52A0\u70B9\u8BC4:"),He.createElement(Te.Z,{flex:"80px"},He.createElement(se.default,{value:"all"},"\u5168\u90E8")),He.createElement(Te.Z,{flex:"1"},Qt.teacher_comment&&Qt.teacher_comment.map((ga,lr)=>He.createElement(se.default,{value:String(ga.id)},ga.name,"(",ga.count,")"))))))),He.createElement(je.Z,{align:"middle"},He.createElement(Te.Z,{flex:"1"},He.createElement(je.Z,{align:"middle"},He.createElement(Te.Z,null,He.createElement(Le.default.Search,{allowClear:!0,placeholder:"\u8BF7\u8F93\u5165\u59D3\u540D\u6216\u8005\u5B66\u53F7\u641C\u7D22",onSearch:ga=>{Ln.search=ga.trim(),Ln.page=1,eo()},style:{width:240}})),He.createElement(Te.Z,null,He.createElement("span",{className:"ml5"},He.createElement("span",{className:"c-red"},Qt.work_count),"\u4E2A\u68C0\u7D22\u7ED3\u679C\uFF08",Qt.work_count,"\u4E2A\u5B66\u751F\uFF09")))),He.createElement(Te.Z,null,(0,gt.GJ)()&&!((ra=Qt.homework_status)!=null&&ra.includes("\u5BFC\u5165"))&&He.createElement(Ke.ZP,{className:"ml10",onClick:()=>{Jt({type:"shixunHomeworks/setActionTabs",payload:{key:"\u4EE3\u7801\u67E5\u91CD",selectArrs:Qt.student_works.map(ga=>ga.id),params:Ln}})}},He.createElement("span",{className:`${xt.tr1} iconfont icon-daimachazhong`}),"\u4EE3\u7801\u67E5\u91CD"),(0,gt.GJ)()&&!((Ga=Qt.homework_status)!=null&&Ga.includes("\u5BFC\u5165"))&&He.createElement(Ke.ZP,{className:"ml10",onClick:Ni},He.createElement("i",{className:"iconfont icon-gengxinchengji font14 pr5"}),"\u66F4\u65B0\u6210\u7EE9"),(0,gt.GJ)()&&He.createElement(De.Z,{dropdownRender:fu,className:"ml10"},He.createElement(Ke.ZP,null,He.createElement(ee.Z,null),"\u5BFC\u51FA",He.createElement(te.Z,null)))))),He.createElement(je.Z,{style:{justifyContent:"end",marginTop:"5px"}},(0,gt.GJ)()&&Ct&&He.createElement("span",null,He.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")),He.createElement(ve.default,{className:`mt30 ${xt.TableDom}`,loading:En["shixunHomeworks/getWorkList"],pagination:!1,style:{cursor:"pointer"},onRow:ga=>({onClick:lr=>{var Ar,Ai;if(!((Ar=Qt.homework_status)!=null&&Ar.includes("\u5BFC\u5165"))){if((0,gt.Rm)()&&!((Ai=Kt.AssistantObject.hack)!=null&&Ai.can_view)){he.ZP.warning("\u60A8\u672A\u83B7\u53D6\u6B64\u6743\u9650\uFF0C\u9700\u5411\u8BFE\u5802\u7BA1\u7406\u5458\u7533\u8BF7\u6743\u9650\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD");return}window.open(`/classrooms/${Ln.coursesId}/program_homework/${Ln.categoryId}/${ga.id}/${ga.user_id}/comment`,"_blank")}}}),scroll:{x:1200},dataSource:Qt.student_works,columns:tl,onChange:(ga,lr,Ar)=>{Ar.field&&(Ln.order=Ar.field==="score"?"work_score":Ar.field),Ar.order||(Ln.b_order="asc"),Ar.order==="ascend"&&(Ln.b_order="asc"),Ar.order==="descend"&&(Ln.b_order="desc"),Ar.order||(Ln.b_order="asc"),eo()}}),He.createElement(Ve,null),He.createElement(dt,null),He.createElement(ne.Z,null)),He.createElement(we.default,{title:"\u4E00\u952E\u6253\u56DE\u91CD\u505A",open:rr,centered:!0,destroyOnClose:!0,forceRender:!0,width:700,onOk:()=>bt(void 0,null,function*(){if(mn===2){if(Jo.length<=0){he.ZP.info("\u8BF7\u9009\u62E9\u4F5C\u4E1A\u72B6\u6001");return}if(!no){he.ZP.info("\u8BC4\u8BED\u4E0D\u80FD\u4E3A\u7A7A");return}let ga=yield(0,pe.ZP)(`/api/homework_commons/${Ln.categoryId}/confirm_redo_modal.json`,{method:"post",body:{id:Ln.categoryId,comment:no,status:Jo}});ga.status===0&&(an(ga),qr(!1),ft(!0))}else{if(!(Qa===0||Tn===0)){if(!Qa){he.ZP.info("\u6700\u4F4E\u5206\u4E0D\u80FD\u4E3A\u7A7A");return}if(!Tn){he.ZP.info("\u6700\u9AD8\u5206\u4E0D\u80FD\u4E3A\u7A7A");return}}if(Qa>Tn){he.ZP.info("\u6700\u9AD8\u5206\u4E0D\u80FD\u5927\u4E8E\u6700\u4F4E\u5206");return}if(!no){he.ZP.info("\u8BC4\u8BED\u4E0D\u80FD\u4E3A\u7A7A");return}let ga=yield(0,pe.ZP)(`/api/homework_commons/${Ln.categoryId}/confirm_redo_modal.json`,{method:"post",body:{id:Ln.categoryId,comment:no,min_score:Qa,max_score:Tn}});ga.status===0&&(an(ga),qr(!1),ft(!0))}}),onCancel:()=>{qr(!1),Ol()}},He.createElement("div",{style:{padding:"32px"}},He.createElement("div",null,He.createElement("div",null,He.createElement("span",{style:{width:"80px"}},"\u6253\u56DE\u65B9\u5F0F\uFF1A"),He.createElement(ue.ZP.Group,{value:mn,onChange:ga=>{ca(ga.target.value)}},He.createElement(ue.ZP,{value:1},"\u6309\u6210\u7EE9\u6253\u56DE"),He.createElement(ue.ZP,{value:2},"\u6309\u4F5C\u4E1A\u72B6\u6001\u6253\u56DE"))),mn===1&&He.createElement("div",{style:{display:"flex",marginTop:"20px"}},He.createElement("span",{style:{width:"70px",textAlign:"end"}},He.createElement("span",{style:{color:"red"}},"*"),"\u6700\u4F4E\u5206\uFF1A"),He.createElement(a.Z,{min:0,max:100,value:Qa,onChange:ga=>Br(ga),style:{width:"100px"}}),He.createElement("span",{style:{width:"80px",textAlign:"end"}},He.createElement("span",{style:{color:"red"}},"*"),"\u6700\u9AD8\u5206\uFF1A"),He.createElement(a.Z,{min:0,max:100,value:Tn,onChange:ga=>Sa(ga),style:{width:"100px"}})),mn===2&&He.createElement("div",{style:{display:"flex",marginTop:"20px"}},He.createElement("span",{style:{width:"80px"}},"\u4F5C\u4E1A\u72B6\u6001\uFF1A"),He.createElement(se.default.Group,{onChange:ga=>{da([...ga])},style:{width:"100%"}},(_a=Qt.task_status)==null?void 0:_a.map((ga,lr)=>He.createElement(se.default,{name:"task_status",value:ga.id},ga.name,"(",ga.count,")")))),He.createElement("div",{style:{display:"flex",marginTop:"20px"}},He.createElement("span",{style:{width:"70px",textAlign:"end"}},He.createElement("span",{style:{color:"red"}},"*")," \u8BC4\u8BED\uFF1A"),He.createElement(Ht.Z,{className:xt.MdEditor,onChange:ga=>No(ga),placeholder:"\u8BF7\u586B\u5199\u8BC4\u8BED"}))))),He.createElement(we.default,{open:Vr,title:"\u6253\u56DE\u786E\u8BA4",onOk:()=>bt(void 0,null,function*(){mn===2?(yield(0,pe.ZP)(`/api/homework_commons/${Ln.categoryId}/batch_redo_modal.json`,{method:"post",body:{id:Ln.categoryId,comment:no,status:Jo}})).status===0&&(he.ZP.info("\u6253\u56DE\u6210\u529F"),Ol(),eo(),ft(!1)):(yield(0,pe.ZP)(`/api/homework_commons/${Ln.categoryId}/batch_redo_modal.json`,{method:"post",body:{id:Ln.categoryId,comment:no,min_score:Qa,max_score:Tn}})).status===0&&(he.ZP.info("\u6253\u56DE\u6210\u529F"),Ol(),eo(),ft(!1))}),onCancel:()=>{Ol(),ft(!1)}},He.createElement("div",{style:{padding:"32px"}},mn===1&&He.createElement("span",null,"\u786E\u8BA4\u5C06\u6210\u7EE9\u5728",Qa,"-",Tn,"\u7684\u5B66\u751F\u8FDB\u884C\u6253\u56DE\u91CD\u505A\u5417\uFF1F"),mn===2&&He.createElement("span",null,"\u786E\u8BA4\u5C06\u4F5C\u4E1A\u72B6\u6001\u4E3A",((Qr=Qt.task_status)==null?void 0:Qr.filter(ga=>Jo==null?void 0:Jo.includes(ga.id)).map(ga=>ga.name).toString())+",","\u7684\u5B66\u751F\u8FDB\u884C\u4F5C\u4E1A\u6253\u56DE\u91CD\u505A\u5417\uFF1F"),He.createElement("br",null),He.createElement("span",null,"\u8BE5\u6761\u4EF6\u4E0B\u5171\u6709",vn==null?void 0:vn.count,"\u540D\u5B66\u751F")))),He.createElement(en,null),He.createElement(Je,{isShow:Pi,setIsShow:ha,item:tr,coursesId:Ln.coursesId,categoryId:Ln.categoryId}),He.createElement("aside",{className:"tc mb50 mt30"},He.createElement(y.Z,{showQuickJumper:!0,hideOnSinglePage:!0,showSizeChanger:!1,onChange:Ii,current:Ln.page||1,defaultPageSize:20,total:Qt.work_count})))};var In=(0,Ee.connect)(({shixunHomeworks:Tt,classroomList:Kt,globalSetting:pt,loading:En,user:Jt})=>({shixunHomeworks:Tt,classroomList:Kt,globalSetting:pt,loading:En.effects,user:Jt}))(Nt)},27776:function(mt,st,z){"use strict";z.r(st),z.d(st,{default:function(){return bu}});var x=z(67294),ge=z(33170),he=z(35973),Fe=z(2453),we=z(14446),ze=z(71577),se=z(85673),je=z(83062),Te=z(66368),Le=z(9430),Ke=z(52310),De=z(28706),ve=z(85725),ue=Object.defineProperty,a=Object.getOwnPropertySymbols,y=Object.prototype.hasOwnProperty,b=Object.prototype.propertyIsEnumerable,E=(ln,Vt,_t)=>Vt in ln?ue(ln,Vt,{enumerable:!0,configurable:!0,writable:!0,value:_t}):ln[Vt]=_t,ee=(ln,Vt)=>{for(var _t in Vt||(Vt={}))y.call(Vt,_t)&&E(ln,_t,Vt[_t]);if(a)for(var _t of a(Vt))b.call(Vt,_t)&&E(ln,_t,Vt[_t]);return ln},te=(ln,Vt,_t)=>new Promise((ka,Mr)=>{var Wa=kn=>{try{mr(_t.next(kn))}catch(na){Mr(na)}},Qn=kn=>{try{mr(_t.throw(kn))}catch(na){Mr(na)}},mr=kn=>kn.done?ka(kn.value):Promise.resolve(kn.value).then(Wa,Qn);mr((_t=_t.apply(ln,Vt)).next())});const re=({shixunHomeworks:ln,dispatch:Vt})=>{const _t=(0,he.useParams)();return x.createElement(we.default,{centered:!0,title:"\u63D0\u793A",open:ln.actionTabs.key==="\u5220\u9664",okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",onOk:()=>te(void 0,null,function*(){(yield Vt({type:"shixunHomeworks/deleteReply",payload:{object_id:ln.actionTabs.selectArr.id,object_type:"journals_for_message"}})).status===0&&(Fe.ZP.success("\u5220\u9664\u6210\u529F"),Vt({type:"shixunHomeworks/setActionTabs",payload:{}}),Vt({type:"shixunHomeworks/getReplyList",payload:ee({},ln.actionTabs.params)}))}),onCancel:()=>{Vt({type:"shixunHomeworks/setActionTabs",payload:{}})}},x.createElement("p",null,"\u786E\u5B9A\u8981\u5220\u9664\u8BE5\u6761\u56DE\u590D\u5417\uFF1F"))};var oe=(0,he.connect)(({shixunHomeworks:ln})=>({shixunHomeworks:ln}))(re),ne=z(27484),de=z.n(ne),pe=z(11320),Ee=z(57953),be=z(28452),xe={flex_box_center:"flex_box_center___zN9Rd",flex_space_between:"flex_space_between___OHt3Z",flex_box_vertical_center:"flex_box_vertical_center___xzO8Q",flex_box_center_end:"flex_box_center_end___LuRwh",flex_box_column:"flex_box_column___rEgTS",bg:"bg___F3FV1",top:"top___vNhKr",desc:"desc___IlwMy",deseIconSty:"deseIconSty___gIJAj",liked:"liked___gFxXM",likedActive:"likedActive___bEcK_",reply:"reply___q4nj7",replyList:"replyList___qxCAX",comment:"comment___gIcRF",buttonEdit:"buttonEdit____8SMk",md:"md___cq_mx",maskWrap:"maskWrap___bHoew",desHead:"desHead___Njyrc",mask:"mask___o8p8v",info:"info___V66Uf",upDownSty:"upDownSty___Q_kpi"},Ce="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAALwAAAAgCAYAAACo7RKTAAAAAXNSR0IArs4c6QAAFaNJREFUeF7tXHl8XHW1/557Z5JM0yTtA9qy6dwktMVaKMncAVo2F0Rk0aeg+FCK+tzg8WRR5qYFCdA2dwou+AR9LCpSZVE+ICIi+ACfpOjcSaAthdImudMFCm0hbfZl7u/Ib5KZznJnSdqnrx97/4HOPb/zO7/zO7/fPcv3hACg+xH/NBoaXMnARwjwMeGvxNSqgFZXzSq36AOxIUk3kYcfulDdI1qPJ4iFDF7EwEJiVABoBZV9a9pFWzsnwu8g7UEN7A8NED9RX72np6cNTNOJcB8Thpl5ITHpDK4gohEA7QRaLUCtXqV89dRPx97Mnpwfqq3p4cGTBHgRMUsjPxGMqSAwAS8yaDUResD8aQCHqh7llKoL3ly/PxZxkMdBDZSqAdr9wIyVzHSZonoXVJ92j4P46E0A10OMxkZ2rt46vP1ZE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sFT/UxUKvrxv479b2A4kGuwTNE3+uI925CvKcjAQF2hmSDDhIYeU91PeTXw3uYDpDnCajq5XT42a7+qdvS1zfPK+sfHsxA5yXpVKa1jWan68GZ7Lj9uWn/CF5rbqg/iuMK58syJaqwu0dz/gaOysQNLR2PykORlDvROaVQ7h9dSluYR8GWyf7dnEL6aWvSThWkZBTJFDhCNsfLcXJ/B0aGMgBrJIQDpWKdW+tjdntWYm7e/uQ8MbD5gvjujo+K/tfnx3vtSqdvM1jEQYonYfRK+SEY2RmBp6oepJYj3tsJdoZkIJNoAPEkD0h1HRTfYTsAegGgVqh4kmadk9Mp848wioNz/vNpwNXgs9XAbz1Rh+He0+PdG86P92890enfOtPZ00FitBdQvfBWyS9AfeIW99TUM9TyV6SPCGA1yjytpbot/3zqP7jiv7cGSjL4nAPQ/ew0DA2e7HSvP1etniv/QI7sI1oNUlejwvcCTf9AsW73v/c6D853UAMJDfwN/F3Fz8TPqaAAAAAASUVORK5CYII=",Ne=z(52262),Re=z(35567),at=z(50881),Ie=z(60887),Ue=z(32339),Ge=z(96469),Ve=z(45587),rt=z(24285),gt=z(95742),xt=z(53978),Gt=z(42922),yn=Object.defineProperty,lt=Object.defineProperties,ht=Object.getOwnPropertyDescriptors,Lt=Object.getOwnPropertySymbols,zt=Object.prototype.hasOwnProperty,dt=Object.prototype.propertyIsEnumerable,kt=(ln,Vt,_t)=>Vt in ln?yn(ln,Vt,{enumerable:!0,configurable:!0,writable:!0,value:_t}):ln[Vt]=_t,Ze=(ln,Vt)=>{for(var _t in Vt||(Vt={}))zt.call(Vt,_t)&&kt(ln,_t,Vt[_t]);if(Lt)for(var _t of Lt(Vt))dt.call(Vt,_t)&&kt(ln,_t,Vt[_t]);return ln},Dn=(ln,Vt)=>lt(ln,ht(Vt)),zn=(ln,Vt,_t)=>new Promise((ka,Mr)=>{var Wa=kn=>{try{mr(_t.next(kn))}catch(na){Mr(na)}},Qn=kn=>{try{mr(_t.throw(kn))}catch(na){Mr(na)}},mr=kn=>kn.done?ka(kn.value):Promise.resolve(kn.value).then(Wa,Qn);mr((_t=_t.apply(ln,Vt)).next())});de().locale("ZH-cn");let Dt=["","\u7B80\u5355","\u4E2D\u7B49","\u56F0\u96BE"];const rn=x.createContext({}),en=()=>{const{setActivatorNodeRef:ln,listeners:Vt}=(0,x.useContext)(rn);return x.createElement(ze.ZP,Ze({type:"text",size:"small",className:xe.upDownSty,icon:x.createElement(je.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(at.Z,null)),style:{cursor:"move"},ref:ln},Vt))},Ht=ln=>{const{attributes:Vt,listeners:_t,setNodeRef:ka,setActivatorNodeRef:Mr,transform:Wa,transition:Qn,isDragging:mr}=(0,Ve.nB)({id:ln["data-row-key"]}),kn=Ze(Dn(Ze({},ln.style),{transform:rt.ux.Translate.toString(Wa),transition:Qn}),mr?{position:"relative",zIndex:100}:{}),na=(0,x.useMemo)(()=>({setActivatorNodeRef:Mr,listeners:_t}),[Mr,_t]);return x.createElement(rn.Provider,{value:na},x.createElement("tr",Ze(Dn(Ze({},ln),{ref:ka,style:kn}),Vt)))},Et=({shixunHomeworks:ln,classroomList:Vt,globalSetting:_t,user:ka,loading:Mr,dispatch:Wa})=>{var Qn,mr,kn,na;const[hr,Do]=(0,x.useState)(Dn(Ze({},(0,he.useParams)()),{page:1,per_page:10})),[sr,Hi]=(0,x.useState)([]),[$o,wr]=(0,x.useState)(-1),[oi,ba]=(0,x.useState)(""),[sa,mo]=(0,x.useState)(""),{detailLeftMenus:nl}=Vt,Ua=(0,he.useLocation)(),[Oa,Wo]=(0,x.useState)({}),{workDetail:Fl,workList:ia,workSetting:Da}=ln,[Xa,Nn]=(0,x.useState)("1"),[ja,Wn]=(0,x.useState)(!1),[Bo,to]=(0,x.useState)(!1),[io,qo]=(0,x.useState)(""),[Jr,li]=(0,x.useState)(1),ir=(0,x.useRef)(null),[Ro,Oi]=(0,x.useState)(!1);(0,x.useEffect)(()=>{ia.homework_status&&Fi()},[ia]),(0,x.useEffect)(()=>{ir.current&&(ir.current.clientHeight>200?li(2):li(4))},[sr==null?void 0:sr.description]);function Fi(){return zn(this,null,function*(){var va,nr,xo;Wn(!0);let lo=yield(0,ge.ZP)(`/api/courses/${hr.coursesId}/homework_commons/edit_hack_homework.json`,{method:"get",params:Dn(Ze({},hr),{id:hr.categoryId})});if(Hi(lo),Wn(!1),hr.defaultExpandedRowKeys=[`${(nr=(va=lo==null?void 0:lo.data)==null?void 0:va[0])==null?void 0:nr.identifier}`],lo!=null&&lo.hide_description)Nn("2");else if(Xa!="2"){if((xo=ia.homework_status)!=null&&xo.includes("\u5BFC\u5165"))return;Nn(lo!=null&&lo.description?"1":"2")}Do(Ze({},hr))})}const Gn=()=>{if(Jr===1)return{visibility:"hidden"};if(Jr===2)return{overflow:"hidden",height:"200px"};if(Jr===3)return{overflow:"initial"};if(Jr===4)return{overflow:"initial"}},Pa=va=>zn(void 0,[va],function*({active:nr,over:xo}){if(nr.id!==(xo==null?void 0:xo.id)&&(xo!=null&&xo.id)){Hi(Ei=>{var Oe;const qe=(Oe=Ei==null?void 0:Ei.data)==null?void 0:Oe.findIndex(Ft=>Ft.identifier===nr.id),tt=Ei==null?void 0:Ei.data.findIndex(Ft=>Ft.identifier===(xo==null?void 0:xo.id));return Dn(Ze({},Ei),{data:(0,gt.Rp)(Ei==null?void 0:Ei.data,qe,tt)})});let lo=yield(0,ge.ZP)(`/api/courses/${hr==null?void 0:hr.coursesId}/homework_commons/change_hack_position.json`,{method:"post",body:{id:hr==null?void 0:hr.categoryId,origin_identifier:nr==null?void 0:nr.id,target_identifier:xo==null?void 0:xo.id}});(lo==null?void 0:lo.status)==0&&(Fe.ZP.success("\u6392\u5E8F\u6210\u529F"),Fi())}}),Nr=va=>zn(void 0,null,function*(){const nr=()=>zn(void 0,null,function*(){let lo=yield(0,ge.ZP)(`/api/item_banks/${va}/copy_hack_item.json`,{method:"post"});(lo==null?void 0:lo.status)===0&&Fe.ZP.success("\u52A0\u5165\u8BD5\u9898\u5E93\u6210\u529F\uFF01")});Oi(!0);let xo=yield(0,ge.ZP)(`/api/item_banks/${va}/check_hack_item.json`,{method:"get"});(xo==null?void 0:xo.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:nr}):nr(),Oi(!1)});return x.createElement("section",{className:xe.bg},x.createElement(Ee.Z,{spinning:ja},(!(sr!=null&&sr.hide_description)||(0,Ne.GJ)())&&x.createElement("section",{className:" edu-container",style:{padding:"20px 20px 0 20px",background:"#fff",position:"relative"}},!Bo&&(0,Ne.GJ)()&&x.createElement("div",{style:{position:"absolute",zIndex:10,right:34,top:30}},(Da==null?void 0:Da.hack_edit_permission)&&x.createElement("span",{className:xe.deseIconSty,style:{marginLeft:"auto",cursor:"pointer"},onClick:()=>{to(!0)}},x.createElement(je.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:xe.deseIconSty,style:{marginLeft:"20px",cursor:"pointer"},onClick:()=>zn(void 0,null,function*(){if(!(sr!=null&&sr.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:()=>zn(void 0,null,function*(){let va=yield(0,ge.ZP)(`/api/homework_commons/${hr==null?void 0:hr.categoryId}/hide_description.json`,{method:"post",body:{status:!0}});(va==null?void 0:va.status)==0&&(Fe.ZP.success("\u9690\u85CF\u6210\u529F"),Fi())})});else{let va=yield(0,ge.ZP)(`/api/homework_commons/${hr==null?void 0:hr.categoryId}/hide_description.json`,{method:"post",body:{status:!1}});(va==null?void 0:va.status)==0&&(Fe.ZP.success("\u516C\u5F00\u6210\u529F"),Fi())}})},x.createElement(je.Z,{title:sr!=null&&sr.hide_description?"\u516C\u5F00\u8BF4\u660E":"\u9690\u85CF\u8BF4\u660E"},x.createElement("i",{className:"iconfont icon-xianshiyincang font14"}),x.createElement("span",null,sr!=null&&sr.hide_description?"\u516C\u5F00\u8BF4\u660E":"\u9690\u85CF\u8BF4\u660E")))),Bo?x.createElement(x.Fragment,null,x.createElement(Re.Z,{defaultValue:sr==null?void 0:sr.description,watch:!0,height:155,onChange:va=>{qo(va)}}),x.createElement("div",{style:{display:"flex"}},x.createElement(ze.ZP,{size:"middle",type:"primary",className:`${xe.buttonEdit} mr20`,style:{marginLeft:"auto"},htmlType:"submit",onClick:()=>zn(void 0,null,function*(){li(1);let va=yield(0,ge.ZP)(`/api/homework_commons/${hr==null?void 0:hr.categoryId}/update_description.json`,{method:"post",body:{description:io}});(va==null?void 0:va.status)==0&&(Fe.ZP.success("\u7F16\u8F91\u6210\u529F"),to(!1),Fi())})},"\u63D0\u4EA4"),x.createElement(ze.ZP,{size:"middle",type:"primary",ghost:!0,className:xe.buttonEdit,onClick:()=>{to(!1)}},"\u53D6\u6D88"))):!!(sr!=null&&sr.description)&&x.createElement("div",{ref:ir,className:xe.maskWrap,style:Gn()},x.createElement("div",{className:xe.desHead},x.createElement("img",{src:Ce,width:94})),x.createElement(ve.Z,{className:xe.md,value:(sr==null?void 0:sr.description)||""}),Jr===2&&x.createElement("div",{className:xe.mask},x.createElement("div",{onClick:()=>li(3)},"\u5C55\u5F00",x.createElement("i",{className:"iconfont icon-zhankai4"}))),Jr===3&&x.createElement("div",{className:xe.mask,style:{position:"relative",height:30,background:"transparent",paddingTop:5}},x.createElement("div",{onClick:()=>li(2)},"\u6536\u8D77",x.createElement("i",{className:"iconfont icon-shouqi5"}))))),(0,Ne.dE)()&&!!(sr!=null&&sr.group_name)&&x.createElement("div",{className:xe.info},x.createElement("img",{src:`${pe.Z.IMG_SERVER}/images/${(Qn=sr==null?void 0:sr.user)==null?void 0:Qn.image_url}`}),x.createElement("div",{className:"ml20",style:{alignItems:"start"}},x.createElement("b",null,(sr==null?void 0:sr.name)||""),x.createElement("span",{title:(sr==null?void 0:sr.group_name)||"",style:{maxWidth:"130px",overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap",wordBreak:"break-all"}},(sr==null?void 0:sr.group_name)||"")),x.createElement(je.Z,{title:x.createElement(x.Fragment,null,x.createElement("div",null,"\u8BD5\u9898\u5F97\u5206\uFF1A",(sr==null?void 0:sr.late_final_score)||0),x.createElement("div",null,"\u8865\u4EA4\u6263\u5206\uFF1A",(sr==null?void 0:sr.late_penalty)||0),x.createElement("div",null,"\u6700\u7EC8\u6210\u7EE9\uFF1A",(sr==null?void 0:sr.total_score)||0))},x.createElement("div",null,x.createElement("b",null,x.createElement(Ge.n,{value:sr==null?void 0:sr.total_score})),x.createElement("span",null,"\u603B\u6210\u7EE9"))),x.createElement("div",null,x.createElement("b",null,(sr==null?void 0:sr.total_time)||"-"),x.createElement("span",null,"\u603B\u8017\u65F6")),x.createElement("div",null,x.createElement("b",{style:{color:"#009C0F"}},sr==null?void 0:sr.pass_count),x.createElement("span",null,"\u5DF2\u901A\u8FC7\u6570")),x.createElement("div",null,x.createElement("b",{style:{color:"#FA6400"}},sr==null?void 0:sr.doing_count),x.createElement("span",null,"\u8FDB\u884C\u4E2D")),x.createElement("div",null,x.createElement("b",{style:{color:"#E30000"}},sr==null?void 0:sr.not_pass_count),x.createElement("span",null,"\u672A\u7B54\u9898\u6570"))),!((mr=ia.homework_status)!=null&&mr.includes("\u5BFC\u5165"))&&x.createElement("div",null,x.createElement("section",{className:" edu-container",style:{padding:"20px",background:"#fff"}},(0,Ne.GJ)()&&x.createElement("div",{style:{marginBottom:"10px",fontSize:"12px"}},"\u53EF\u9F20\u6807\u62D6\u62FD\u201C ",x.createElement(at.Z,null)," \u201D\u8FDB\u884C\u8BD5\u9898\u6392\u5E8F\uFF0C\u5B66\u751F\u7AEF\u5C06\u6309\u7167\u6B64\u6392\u5E8F\u5C55\u793A"),hr.defaultExpandedRowKeys&&x.createElement(Ie.LB,{modifiers:[Ue.DL],onDragEnd:Pa},x.createElement(Ve.Fo,{items:(kn=sr==null?void 0:sr.data)==null?void 0:kn.map(va=>va==null?void 0:va.identifier),strategy:Ve.qw},x.createElement(Le.default,{components:{body:{row:Ht}},dataSource:sr==null?void 0:sr.data,rowKey:va=>va==null?void 0:va.identifier,pagination:!1,expandable:{expandIcon:({expanded:va,onExpand:nr,record:xo})=>va?x.createElement(je.Z,{title:"\u6536\u8D77"},x.createElement(xt.Z,{className:xe.upDownSty,onClick:lo=>nr(xo,lo)})):x.createElement(je.Z,{title:"\u5C55\u5F00"},x.createElement(Gt.Z,{className:xe.upDownSty,onClick:lo=>nr(xo,lo)})),expandedRowRender:va=>{var nr;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",va==null?void 0:va.name),x.createElement("p",null,"\u63CF\u8FF0\uFF1A",x.createElement(ve.Z,{value:(va==null?void 0:va.description)||""})),!(0,Ne.dE)()&&x.createElement("p",null,"\u9898\u76EE\u89E3\u6790:",x.createElement(ve.Z,{style:{fontSize:"14px"},value:(va==null?void 0:va.analysis)||"\u6682\u65E0\u89E3\u6790"}))),x.createElement("div",{style:{width:"100%",textAlign:"end"}},(Da==null?void 0:Da.hack_edit_permission)&&x.createElement(ze.ZP,{className:"mt20",type:"primary",ghost:!0,onClick:()=>{window.open(`/problems/newedit/${va==null?void 0:va.identifier}?type=1`),localStorage.setItem("program_homework",[hr.coursesId,hr.categoryId])}},"\u7F16\u8F91"),(Da==null?void 0:Da.hack_edit_permission)&&((nr=sr==null?void 0:sr.homework_status)==null?void 0:nr.includes("\u672A\u53D1\u5E03"))&&x.createElement(ze.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:()=>zn(void 0,null,function*(){let xo=yield(0,ge.ZP)(`/api/problems/${va==null?void 0:va.identifier}.json`,{method:"delete"});(xo==null?void 0:xo.status)===0&&(Fe.ZP.info("\u5220\u9664\u6210\u529F"),hr.page=1,Fi())})})}},"\u5220\u9664")))},defaultExpandedRowKeys:hr.defaultExpandedRowKeys},columns:(na=[(0,Ne.GJ)()&&{key:"sort",align:"center",width:40,render:()=>x.createElement(en,null)},{title:"\u5E8F\u53F7",dataIndex:"index",ellipsis:!0,key:"index",width:55,render:(va,nr,xo)=>`${(hr.page-1)*hr.per_page+xo+1}`},{title:"\u6807\u9898",dataIndex:"name",ellipsis:!0,key:"name"},((0,Ne.dE)()||(sr==null?void 0:sr.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(va,nr,xo){return x.createElement("div",null,Dt[va])}},{title:"\u901A\u8FC7\u7387",dataIndex:"pass_rate",key:"pass_rate",width:100,ellipsis:!0},(0,Ne.dE)()&&{title:"\u5F97\u5206",dataIndex:"score",key:"score",render:va=>{let nr="",xo=Number(va);return xo>=0&&xo<=60?nr="c-red":xo>=90?nr="c-green":xo>60?nr="c-orange":nr="",x.createElement("span",{className:nr},va)}},(0,Ne.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:(va,nr)=>x.createElement("span",{style:{backgroundColor:"#ECFAF5",color:"#1B8565",overflow:"hidden",textOverflow:"ellipsis",padding:"2px 6px"}},va||"--")},(0,Ne.dE)()&&{title:"\u901A\u8FC7\u72B6\u6001",dataIndex:"finish_status",key:"finish_status",render(va){return x.createElement(x.Fragment,null,va===0&&x.createElement("span",{style:{color:"#E30000"}},"\u672A\u7B54\u9898"),va===1&&x.createElement("span",{style:{color:"#FA6400"}},"\u8FDB\u884C\u4E2D"),va===2&&x.createElement("span",{style:{color:"#009C0F"}},"\u5DF2\u901A\u8FC7"))}},{title:"\u64CD\u4F5C",dataIndex:"identifier",key:"identifier",width:(0,Ne.GJ)()?280:146,align:"right",render(va,nr,xo){return x.createElement("div",null,(0,Ne.GJ)()&&x.createElement(ze.ZP,{type:"link",style:{marginRight:"5px"},loading:Ro,onClick:()=>zn(this,null,function*(){Nr(nr==null?void 0:nr.id)})},"\u52A0\u5165\u8BD5\u9898\u5E93"),x.createElement("a",{onClick:()=>{var lo;if((0,Ne.Rm)()&&!((lo=Vt.AssistantObject.hack)!=null&&lo.can_question_eaderboard)){Fe.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/${hr.coursesId}/program_homework/${hr.categoryId}/${va}/ranking`)}},"\u6392\u884C"),x.createElement("a",{onClick:()=>zn(this,null,function*(){let lo=yield(0,ge.ZP)(`/api/problems/${nr==null?void 0:nr.identifier}/start.json`,{method:"get"});lo&&(window.open(`/myproblems/${lo==null?void 0:lo.identifier}?type=1&backUrl=/classrooms/${hr.coursesId}/program_homework/${hr.categoryId}/detail?tabs=1`),localStorage.setItem("program_homework",[hr.coursesId,hr.categoryId]))}),className:"ml20"},(0,Ne.GJ)()?"\u4F53\u9A8C":"\u8FDB\u5165\u7B54\u9898"),(Da==null?void 0:Da.hack_edit_permission)&&x.createElement("a",{className:"ml20",onClick:()=>zn(this,null,function*(){window.open(`/problems/newedit/${nr==null?void 0:nr.identifier}?type=1`),localStorage.setItem("program_homework",[hr.coursesId,hr.categoryId])})},"\u7F16\u8F91"))}}])==null?void 0:na.filter(va=>!!va)})))),x.createElement("aside",{style:{padding:"0 20px 20px 20px"}},x.createElement(be.Z,{defaultCurrent:1,total:sr==null?void 0:sr.count,hideOnSinglePage:!0,showTotal:va=>x.createElement("span",null,"\u5171",va,"\u6761"),current:hr.page||1,pageSize:hr.per_page||10,onChange:(va,nr)=>{hr.page=va,hr.per_page=nr,Do(Ze({},hr)),Fi()}})))),x.createElement(oe,null))};var wn=(0,he.connect)(({shixunHomeworks:ln,classroomList:Vt,loading:_t,user:ka,globalSetting:Mr})=>({shixunHomeworks:ln,globalSetting:Mr,classroomList:Vt,user:ka,loading:_t.effects}))(Et),dn=z(22150),Bt=z(71230),Bn=z(15746),Yt=z(69677),Xt=z(84567),On=z(26194),bn=z(67294),Je=Object.defineProperty,He=Object.getOwnPropertySymbols,Xn=Object.prototype.hasOwnProperty,Me=Object.prototype.propertyIsEnumerable,Xe=(ln,Vt,_t)=>Vt in ln?Je(ln,Vt,{enumerable:!0,configurable:!0,writable:!0,value:_t}):ln[Vt]=_t,Zt=(ln,Vt)=>{for(var _t in Vt||(Vt={}))Xn.call(Vt,_t)&&Xe(ln,_t,Vt[_t]);if(He)for(var _t of He(Vt))Me.call(Vt,_t)&&Xe(ln,_t,Vt[_t]);return ln},ot=(ln,Vt,_t)=>new Promise((ka,Mr)=>{var Wa=kn=>{try{mr(_t.next(kn))}catch(na){Mr(na)}},Qn=kn=>{try{mr(_t.throw(kn))}catch(na){Mr(na)}},mr=kn=>kn.done?ka(kn.value):Promise.resolve(kn.value).then(Wa,Qn);mr((_t=_t.apply(ln,Vt)).next())});const Ye=({shixunHomeworks:ln,loading:Vt,dispatch:_t,classroomList:ka})=>{var Mr;const Wa=(0,he.useParams)(),[Qn,mr]=(0,x.useState)(Zt(Zt({},{page:1,limit:20,group_ids:[]}),Wa)),kn=(0,he.useLocation)(),{codeReview:na}=ln,[hr,Do]=(0,x.useState)({}),[sr]=dn.default.useForm();Qn.order="code_rate",Qn.sort="desc",Qn.category=Qn.categoryId,(0,x.useEffect)(()=>{Hi(),console.log("params",Qn)},[Qn]),(0,x.useEffect)(()=>{ln.actionTabs.key==="\u6267\u884C\u4EE3\u7801\u67E5\u91CD"&&Hi()},[ln.actionTabs.key]);const Hi=()=>ot(void 0,null,function*(){(yield _t({type:"shixunHomeworks/getCodeReview",payload:Zt({},Qn)})).status===-2&&setTimeout(()=>Hi(),1500)}),$o=()=>{},wr=(ba,sa)=>{Qn.page=ba,Qn.limit=20,_t({type:"shixunHomeworks/getCodeReview",payload:Zt({},Qn)})},oi=[{title:"\u5E8F\u53F7",dataIndex:"number",render:(ba,sa,mo)=>Qn.limit*(Qn.page-1)+mo+1},{title:"\u59D3\u540D",dataIndex:"username"},{title:"\u5B66\u53F7",dataIndex:"student_id"},{title:"\u76F8\u4F3C\u5EA6",dataIndex:"code_rate",render:ba=>bn.createElement("span",{className:"c-orange"},ba)},{title:"\u64CD\u4F5C",dataInex:"action",render:(ba,sa)=>bn.createElement("div",null,bn.createElement("a",{onClick:()=>{var mo;if((0,Ne.Rm)()&&!((mo=ka.AssistantObject.hack)!=null&&mo.can_view)){Fe.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/${Qn.coursesId}/program_homework/${Qn.categoryId}/review_detail/${sa.user_id}`)}},"\u67E5\u770B"),bn.createElement("br",null))}];return bn.createElement("section",{className:"minH500 bg-white pl30 pr30 pt10"},(na==null?void 0:na.status)===-2&&bn.createElement(On.Z,{customText:"\u6B63\u5728\u8FDB\u884C\u4EE3\u7801\u67E5\u91CD\uFF0C\u8BF7\u7A0D\u5019\u3002\u67E5\u91CD\u7ED3\u675F\u540E\uFF0C\u9875\u9762\u5C06\u81EA\u52A8\u66F4\u65B0\u663E\u793A\u7ED3\u679C"}),(na==null?void 0:na.status)!==-2&&bn.createElement("div",null,bn.createElement(Bt.Z,null,bn.createElement(Bn.Z,{flex:"1"},bn.createElement("p",{className:"mt10"},"\u67E5\u91CD\u65F6\u95F4\uFF1A",na.last_review_time,bn.createElement(ze.ZP,{ghost:!0,danger:!0,style:{color:"#29BD8B",borderColor:"#29BD8B",marginLeft:10},onClick:()=>{_t({type:"shixunHomeworks/setActionTabs",payload:{key:"\u4EE3\u7801\u67E5\u91CD",params:Qn}})}},"\u4EE3\u7801\u67E5\u91CD"))),bn.createElement(Bn.Z,null,bn.createElement(Yt.default.Search,{allowClear:!0,placeholder:"\u8BF7\u8F93\u5165\u59D3\u540D\u6216\u8005\u5B66\u53F7\u641C\u7D22",onSearch:ba=>{Qn.search=ba,_t({type:"shixunHomeworks/getCodeReview",payload:Qn})},style:{width:200}}),bn.createElement("span",{className:"ml5 c-red"}))),((Mr=na.group_info)==null?void 0:Mr.length)>0&&bn.createElement(bn.Fragment,null,bn.createElement(Bt.Z,null,bn.createElement(Bn.Z,{flex:"80px",className:"font14"},"\u5206\u73ED\u60C5\u51B5:"),bn.createElement(Bn.Z,{flex:"80px"},bn.createElement(Xt.default,{checked:Qn.group_ids=="",value:"all",onChange:ba=>{delete Qn.group_ids,Qn.group_ids=[],Qn.page=1,mr(Zt({},Qn))}},"\u5168\u90E8")),bn.createElement(Bn.Z,{flex:"1"},na.group_info&&na.group_info.map((ba,sa)=>bn.createElement(Xt.default,{style:{marginLeft:0},value:ba.id,checked:Qn.group_ids.includes(ba.id),onChange:mo=>{mo.target.checked?Qn.group_ids.push(ba.id):Qn.group_ids.splice(Qn.group_ids.indexOf(ba.id),1),Qn.page=1,mr(Zt({},Qn))}},ba.name,"(",ba.members_count,")")))),bn.createElement(Bt.Z,{className:"font14 c-red mt5"},bn.createElement(Bn.Z,null,"\u672C\u9875\u4EC5\u663E\u793A\u5168\u90E8\u5DF2\u67E5\u91CD\u5206\u73ED"))),bn.createElement("p",{className:"mt10"},bn.createElement("span",{className:"c-red"},na.copy_reviews_count),"\u4E2A\u7591\u4F3C\u6284\u88AD\u4F5C\u54C1\uFF08",na.all_reviews_count,"\u4F5C\u54C1\uFF09"),bn.createElement(Le.default,{className:"mt30",loading:Vt["shixunHomeworks/getCodeReview"],pagination:!1,dataSource:na.users_reviews,columns:oi,onChange:(ba,sa,mo)=>{mo.order==="ascend"&&(Qn.b_order="asc"),mo.order==="descend"&&(Qn.b_order="desc"),mo.order||delete Qn.b_order,_t({type:"shixunHomeworks/getCodeReview",payload:Zt({},Qn)})}}),bn.createElement("aside",{className:"tc mb50 mt30"},bn.createElement(be.Z,{showSizeChanger:!1,onChange:wr,defaultCurrent:Qn.page||1,current:Qn.page||1,defaultPageSize:20,hideOnSinglePage:!0,total:na.copy_reviews_count}))))};var bt=(0,he.connect)(({shixunHomeworks:ln,classroomList:Vt,loading:_t})=>({shixunHomeworks:ln,classroomList:Vt,loading:_t.effects}))(Ye),Ut=z(42469),Nt=z(20669),In=z(42563),Tt=z(78045),Kt=z(31795),pt=z(40043),En=z(24018),Jt=z(96486),xn={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"},Aa=z(39717),jn=z(17998),ua=z(78207),La=z(92882),on=z(67294),gn=Object.defineProperty,Sn=Object.defineProperties,Fa=Object.getOwnPropertyDescriptors,pa=Object.getOwnPropertySymbols,ra=Object.prototype.hasOwnProperty,Ga=Object.prototype.propertyIsEnumerable,_a=(ln,Vt,_t)=>Vt in ln?gn(ln,Vt,{enumerable:!0,configurable:!0,writable:!0,value:_t}):ln[Vt]=_t,Qr=(ln,Vt)=>{for(var _t in Vt||(Vt={}))ra.call(Vt,_t)&&_a(ln,_t,Vt[_t]);if(pa)for(var _t of pa(Vt))Ga.call(Vt,_t)&&_a(ln,_t,Vt[_t]);return ln},wo=(ln,Vt)=>Sn(ln,Fa(Vt)),Ln=(ln,Vt,_t)=>new Promise((ka,Mr)=>{var Wa=kn=>{try{mr(_t.next(kn))}catch(na){Mr(na)}},Qn=kn=>{try{mr(_t.throw(kn))}catch(na){Mr(na)}},mr=kn=>kn.done?ka(kn.value):Promise.resolve(kn.value).then(Wa,Qn);mr((_t=_t.apply(ln,Vt)).next())});const{RangePicker:wt}=Nt.default,{Option:Rt}=In.default,Ct=({shixunHomeworks:ln,user:Vt,loading:_t,classroomList:ka,dispatch:Mr})=>{var Wa,Qn,mr,kn,na,hr,Do,sr,Hi,$o,wr,oi;const ba=(0,he.useParams)(),{workSetting:sa,workList:mo,changeData:nl}=ln,[Ua,Oa]=(0,x.useState)(!0),[Wo,Fl]=(0,x.useState)(!1);let[ia,Da]=(0,x.useState)([]),[Xa,Nn]=(0,x.useState)([]);const ja=(0,x.useRef)(!0);let[Wn,Bo]=(0,x.useState)({unified_setting:!1,publish_time:"",end_time:"",allow_late:!1,unified_late:!0,late_time:"",late_minus_score:0,penalty_type:Aa.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)(()=>(to(),()=>{Da([])}),[]);const to=()=>{Mr({type:"shixunHomeworks/getWorkSetting",payload:Qr({},ba)})};(0,x.useEffect)(()=>{var Gn,Pa;((0,Ne.G5)()||(0,Ne.Rm)()&&((Gn=ka.AssistantObject.hack)!=null&&Gn.can_late||(Pa=ka.AssistantObject.hack)!=null&&Pa.can_publish))&&Oa(!1)},[Vt,ka]),(0,x.useEffect)(()=>{if(!(sa!=null&&sa.course_id)||!ja.current)return;ja.current=!1,Object.keys(Wn).map(function(Pa){Wn[Pa]=sa[Pa]}),(!Wn.allow_late||!Wn.unified_late)&&(Wn.late_minus_score=20,Wn.penalty_type=Aa.Q.Percent),Wn.unified_setting||(Wn.unified_late=!1,Wn.unified_anonymous_comment=!1,Wn.unified_anonymous_appeal=!1),ia=JSON.parse(JSON.stringify(sa.group_settings.map(Pa=>wo(Qr({},Pa),{group_name:[Pa.group_name]})).filter(Pa=>Pa.publish_time!==null))),Xa=JSON.parse(JSON.stringify(sa.allow_late_settings.map(Pa=>wo(Qr({},Pa),{group_name:[Pa.group_name]})).filter(Pa=>Pa.late_time!==null))),Wn.difficult_settings.length===0&&(Wn.difficult_settings=[0,0,0]),Bo(Qr({},Wn));const Gn=(0,De.QE)((ia==null?void 0:ia.length)>0?ia:[]);Da([...Gn]),(Xa==null?void 0:Xa.length)<=0?Nn([{late_minus_score:20}]):Nn([...Xa])},[sa]);const io=()=>{var Gn;if(((Gn=Vt==null?void 0:Vt.userInfo)==null?void 0:Gn.user_status)===2){(0,ua.Rd)();return}const Pa=JSON.parse(JSON.stringify(Wn));if(Pa.categoryId=ba.categoryId,Wn.unified_setting||(ia=ia==null?void 0:ia.map(Nr=>{var va;if(!Nr.publish_time||!Nr.end_time)throw Fe.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(!Nr.group_name)throw Fe.ZP.error("\u8BF7\u9009\u62E9\u5206\u73ED\u540D\u79F0"),new String("\u8BF7\u9009\u62E9\u5206\u73ED\u540D\u79F0");return Nr.group_name=typeof(Nr==null?void 0:Nr.group_name)=="string"?[Nr==null?void 0:Nr.group_name]:Nr==null?void 0:Nr.group_name,Nr.group_id=(va=sa.group_settings)==null?void 0:va.filter(nr=>{var xo;return(xo=Nr==null?void 0:Nr.group_name)==null?void 0:xo.includes(nr.group_name)}).map(nr=>nr.group_id||nr.id).toString().split(","),Nr})),Pa.group_settings=ia,Wn.allow_late)if(Wn.unified_late){if(Wn.late_minus_score===null||Wn.late_minus_score===void 0||Wn.late_minus_score<0||Wn.late_minus_score>100)throw Fe.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(!Wn.late_time)throw Fe.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 Xa=Xa==null?void 0:Xa.map(Nr=>{var va,nr;if(Nr.late_minus_score===null||Nr.late_minus_score===void 0||Nr.late_minus_score<0||Nr.late_minus_score>100)throw Fe.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(!Nr.late_time)throw Fe.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(!Nr.group_name)throw Fe.ZP.error("\u8BF7\u9009\u62E9\u5206\u73ED\u540D\u79F0"),new String("\u8BF7\u9009\u62E9\u5206\u73ED\u540D\u79F0");return Nr.group_name=typeof(Nr==null?void 0:Nr.group_name)=="string"?[Nr==null?void 0:Nr.group_name]:Nr==null?void 0:Nr.group_name,Nr.group_id=(nr=(va=Nr==null?void 0:Nr.group_name)==null?void 0:va.map(xo=>{var lo,Ei;let Oe=(Ei=(lo=sa.group_settings)==null?void 0:lo.filter(qe=>(qe==null?void 0:qe.group_name)===xo))==null?void 0:Ei[0];return Oe==null?void 0:Oe.group_id}))==null?void 0:nr.toString().split(","),Nr}),Pa.allow_late_settings=Xa;Pa.send_type===1&&(Pa.difficult_settings=Pa.difficult_settings.map(Nr=>Nr||0)),qo(Pa)},qo=Gn=>{var Pa;if(Gn.total_score===null){Fe.ZP.warning("\u603B\u5206\u503C\u4E0D\u80FD\u4E3A\u7A7A");return}if(Gn!=null&&Gn.work_efficiency&&Gn.eff_score===null){Fe.ZP.warning("\u6548\u7387\u5206\u4E0D\u80FD\u4E3A\u7A7A");return}const Nr={shixun_evaluation:Gn.shixun_evaluation,challenge_settings:Gn.challenge_settings},va=()=>Ln(void 0,null,function*(){Fl(!0),(yield(0,ge.ZP)(`/api/homework_commons/${ba.categoryId}/publish_setting.json`,{method:"post",body:Qr({},Gn)})).status===0&&(Fe.ZP.success("\u66F4\u65B0\u6210\u529F"),to(),Mr({type:"shixunHomeworks/getWorkList",payload:Qr({},ba)})),Fl(!1)});!(0,Jt.isEqual)(nl,Nr)&&!((Pa=mo==null?void 0:mo.homework_status)!=null&&Pa.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:va}):va()},Jr=(Gn,Pa,Nr="group_id")=>{var va;return Pa?Pa.find(nr=>nr[Nr]===Gn):(va=sa==null?void 0:sa.group_settings)==null?void 0:va.find(nr=>nr.group_id[0]===Gn)},li=(sa==null?void 0:sa.allow_late)||(sa==null?void 0:sa.anonymous_comment),ir=Gn=>{var Pa,Nr;const va=Jr(Gn,sa==null?void 0:sa.allow_late_settings,"id"),nr=Jr(Gn,sa==null?void 0:sa.anonymous_comment_settings),xo=Jr(Gn);return(sa==null?void 0:sa.allow_late)&&va&&de()(va==null?void 0:va.late_time)<=de()()||(sa==null?void 0:sa.anonymous_comment)&&nr&&(nr==null?void 0:nr.evaluation_start)!==null||((Nr=(de()(xo==null?void 0:xo.end_time)<=de()()&&((Pa=sa==null?void 0:sa.allow_late_settings)==null?void 0:Pa.filter(lo=>lo.group_id.includes(Gn))))[0])==null?void 0:Nr.late_time)!=null},Ro=sa==null?void 0:sa.anonymous_comment,Oi=Gn=>{if(!Gn)return!1;const Pa=Jr(Gn,sa==null?void 0:sa.anonymous_comment_settings);return(sa==null?void 0:sa.anonymous_comment)&&Pa&&(Pa==null?void 0:Pa.evaluation_start)!==null},Fi=(Gn,Pa)=>{var Nr,va,nr;Mr({type:"classroomList/setActionTabs",payload:{key:"\u5206\u73ED\u53D1\u5E03-\u53D1\u5E03\u89C4\u5219\u62C6\u5206",data:Gn,index:Pa,rangePickerDisabled:Ua||(de()()<=de()((va=Jr((Nr=Gn==null?void 0:Gn.group_id)==null?void 0:Nr[0]))==null?void 0:va.publish_time)?!1:[!0,ir((nr=Gn==null?void 0:Gn.group_id)==null?void 0:nr[0])]),disabledDate:sa==null?void 0:sa.course_end_date}})};return on.createElement("section",{className:xn.form},on.createElement("div",{className:xn.title},"\u8BD5\u9898\u53D1\u5E03",on.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")),on.createElement("div",{className:xn.content},on.createElement(Tt.ZP.Group,{disabled:Ua||!((Wa=mo==null?void 0:mo.homework_status)!=null&&Wa.includes("\u672A\u53D1\u5E03"))||!((Qn=ka.AssistantObject.hack)!=null&&Qn.can_publish)&&(0,Ne.Rm)(),value:Wn.send_type,onChange:Gn=>{Wn.send_type=Gn.target.value,Bo(Object.assign({},Wn))}},on.createElement(Tt.ZP,{value:0,style:{color:"#333333"}},"\u56FA\u5B9A\u8BD5\u9898\u6A21\u5F0F"),on.createElement(Tt.ZP,{style:{marginLeft:40,color:"#333333"},value:1},"\u968F\u673A\u62BD\u9898\u6A21\u5F0F"))),Wn.send_type===1&&on.createElement("div",{className:xn.content,style:{borderTop:"1px solid #fff"}},on.createElement(Bt.Z,{style:{marginLeft:"165px"}},on.createElement(Bn.Z,{style:{color:"#333333"}},"\u7B80\u5355\u9898\u6570",on.createElement(Kt.Z,{size:"large",precision:0,disabled:Ua||!((mr=mo==null?void 0:mo.homework_status)!=null&&mr.includes("\u672A\u53D1\u5E03")),placeholder:`\u6700\u5927${Wn.difficult_count[0]||0}`,min:0,max:Wn.difficult_count[0]||0,value:Wn.difficult_settings[0],onChange:Gn=>{Wn.difficult_settings[0]=Gn,Bo(Object.assign({},Wn))},className:"ml10 mr20",style:{width:120}})),on.createElement(Bn.Z,{style:{color:"#333333"}},"\u9002\u4E2D\u9898\u6570",on.createElement(Kt.Z,{size:"large",precision:0,disabled:Ua||!((kn=mo==null?void 0:mo.homework_status)!=null&&kn.includes("\u672A\u53D1\u5E03")),placeholder:`\u6700\u5927${Wn.difficult_count[1]||0}`,min:0,max:Wn.difficult_count[1]||0,value:Wn.difficult_settings[1],onChange:Gn=>{Wn.difficult_settings[1]=Gn,Bo(Object.assign({},Wn))},className:"ml10 mr20",style:{width:120}})),on.createElement(Bn.Z,{style:{color:"#333333"}},"\u56F0\u96BE\u9898\u6570",on.createElement(Kt.Z,{size:"large",precision:0,disabled:Ua||!((na=mo==null?void 0:mo.homework_status)!=null&&na.includes("\u672A\u53D1\u5E03")),placeholder:`\u6700\u5927${Wn.difficult_count[2]||0}`,min:0,max:Wn.difficult_count[2]||0,value:Wn.difficult_settings[2],onChange:Gn=>{Wn.difficult_settings[2]=Gn,Bo(Object.assign({},Wn))},className:"ml10 mr20",style:{width:120}})))),on.createElement("div",{className:`${xn.title} mt30`},"\u4F5C\u4E1A\u53D1\u5E03",on.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")),on.createElement("div",{className:xn.content},on.createElement(Tt.ZP.Group,{disabled:Ua||!((hr=mo==null?void 0:mo.homework_status)!=null&&hr.includes("\u672A\u53D1\u5E03"))||!((Do=ka.AssistantObject.hack)!=null&&Do.can_publish)&&(0,Ne.Rm)(),value:Wn.unified_setting,onChange:Gn=>{var Pa;if(!((Pa=mo==null?void 0:mo.homework_status)!=null&&Pa.includes("\u672A\u53D1\u5E03"))){Fe.ZP.error("\u5DF2\u53D1\u5E03\uFF0C\u4E0D\u80FD\u518D\u4FEE\u6539\u7EDF\u4E00\u8BBE\u7F6E");return}if(Wn.unified_setting=!Wn.unified_setting,Wn.unified_setting||(Wn.unified_late=!1),Bo(Object.assign({},Wn)),Wn.unified_setting===!1&&ia==""){Da(ia.concat({}));return}Wn.unified_setting&&(Da([]),Nn([{late_minus_score:5}]))}},on.createElement(Tt.ZP,{value:!0,disabled:!(sa!=null&&sa.manage_all_group),style:{color:"#333333"}},"\u7EDF\u4E00\u53D1\u5E03"),on.createElement(Tt.ZP,{style:{marginLeft:70,color:"#333333"},disabled:((sr=sa==null?void 0:sa.group_settings)==null?void 0:sr.length)===0,value:!1},"\u5206\u73ED\u53D1\u5E03")),((Hi=sa==null?void 0:sa.group_settings)==null?void 0:Hi.length)===0&&on.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")),on.createElement("div",{className:xn.content,style:{borderTop:"1px solid #fff"}},Wn.unified_setting&&on.createElement(Bt.Z,{align:"middle",className:"ml25"},on.createElement(Bt.Z,{align:"middle"},on.createElement(Bn.Z,{className:"c-grey-333"},"\u53D1\u5E03\u65F6\u95F4"),on.createElement(Bn.Z,{className:"ml10"},on.createElement(Nt.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:Gn=>(0,jn.Q8)(Gn,sa==null?void 0:sa.course_end_date),disabledTime:Gn=>(0,jn.d0)(Gn),disabled:Ua||de()()>=de()(sa==null?void 0:sa.publish_time)||!(($o=ka.AssistantObject.hack)!=null&&$o.can_publish)&&(0,Ne.Rm)(),value:Wn.publish_time?de()(Wn.publish_time):"",onChange:(Gn,Pa)=>{Wn.publish_time=Pa,(Wn.end_time==""||!Wn.end_time)&&Wn.unified_setting&&(Wn.end_time=de()(Gn).add(7,"days").format("YYYY-MM-DD HH:mm:ss")),Bo(Object.assign({},Wn))}}))),on.createElement(Bt.Z,{align:"middle",style:{marginLeft:40}},on.createElement(Bn.Z,{className:"c-grey-333"},"\u622A\u6B62\u65F6\u95F4"),on.createElement(Bn.Z,{className:"ml10"},on.createElement(Nt.default,{style:{width:170},allowClear:!1,size:"large",placeholder:"\u8BF7\u9009\u62E9\u622A\u6B62\u65F6\u95F4",showTime:{format:"HH:mm",defaultValue:de()((0,De.U6)(),"HH:mm")},format:"YYYY-MM-DD HH:mm",disabled:(sa==null?void 0:sa.allow_late)&&(sa==null?void 0:sa.homework_status.includes("\u5DF2\u622A\u6B62"))||Ua||(sa==null?void 0:sa.allow_late)&&de()()>=de()(sa==null?void 0:sa.end_time)||!((wr=ka.AssistantObject.hack)!=null&&wr.can_publish)&&(0,Ne.Rm)(),disabledDate:Gn=>(0,jn.Q8)(Gn,sa==null?void 0:sa.course_end_date,Wn.publish_time),disabledTime:Gn=>(0,jn.d0)(Gn,Wn.publish_time),value:Wn.end_time?de()(Wn.end_time):"",onChange:(Gn,Pa)=>{Wn.end_time=Pa,Bo(Object.assign({},Wn))}})))),!Wn.unified_setting&&(ia==null?void 0:ia.length)>0&&on.createElement(Bt.Z,{className:"ml25"},ia&&ia.map(function(Gn,Pa){var Nr,va,nr,xo;return on.createElement(Bn.Z,{className:Pa!==0&&"mt20",span:24,key:Pa},on.createElement(Bt.Z,{gutter:[0,16]},on.createElement(Bn.Z,{span:8},on.createElement(Bt.Z,{gutter:[8,16],align:"middle"},on.createElement(Bn.Z,{style:{minWidth:85},className:"c-grey-333"},"\u53D1\u5E03\u89C4\u5219 ",Pa+1),on.createElement(Bn.Z,{flex:"1",style:{maxWidth:300}},on.createElement(In.default,{size:"large",disabled:Ua||((Nr=sa==null?void 0:sa.homework_status)!=null&&Nr.includes("\u672A\u53D1\u5E03")&&Gn.id||de()()<de()(Gn==null?void 0:Gn.publish_time)?!1:!!(Gn!=null&&Gn.publish_time)),mode:"multiple",className:`${xn.selectSty}`,style:{width:250},value:Gn.group_name,placeholder:"\u8BF7\u9009\u62E9\u5206\u73ED\u540D\u79F0",onChange:lo=>{var Ei;if(!((Ei=ka.AssistantObject.hack)!=null&&Ei.can_publish)&&(0,Ne.Rm)()){Fe.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[Pa].group_name=lo,ia[Pa].group_id=Gn.group_id;const Oe=(0,Jt.flattenDeep)(ia.map(tt=>tt.group_name)),qe=Xa.map(tt=>{let Ft=(tt==null?void 0:tt.group_name)||[];return wo(Qr({},tt),{group_name:(0,Jt.remove)(Ft,pn=>Oe.includes(pn))})});Nn(qe),Da(ia.slice())},maxTagCount:4,maxTagPlaceholder:lo=>on.createElement("div",{style:{cursor:"pointer"},onClick:()=>Fi(Gn,Pa)},"+",lo==null?void 0:lo.length)},sa.group_settings&&sa.group_settings.map(function(lo){if(!ia.map(Ei=>Ei.group_name).toString().split(",").includes(String(lo.group_name)))return on.createElement(Rt,{value:lo.group_name,key:lo.id},lo.group_name)}))))),on.createElement(Bn.Z,{span:14,style:{display:"flex",alignItems:"center"}},on.createElement(wt,{size:"large",allowClear:!1,ranges:{\u6B64\u523B:[Gn.publish_time?de()(Gn.publish_time):de()(),de()()]},disabled:Ua||(de()()<=de()((va=Jr(Gn.id))==null?void 0:va.publish_time)?!1:[!0,ir(Gn.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:lo=>(0,jn.Q8)(lo,sa==null?void 0:sa.course_end_date),disabledTime:lo=>(0,jn.d0)(lo),showTime:{format:"HH:mm",defaultValue:[de()((0,De.U6)(),"HH:mm"),de()((0,De.U6)(),"HH:mm")]},format:"YYYY-MM-DD HH:mm",value:Gn.publish_time&&[de()(Gn.publish_time),Gn.end_time?de()(Gn.end_time):void 0],onChange:(lo,Ei)=>{var Oe;if(!((Oe=ka.AssistantObject.hack)!=null&&Oe.can_publish)&&(0,Ne.Rm)()){Fe.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[Pa].publish_time=Ei[0],!Gn.end_time&&Ei[0]?ia[Pa].end_time=de()(Ei[0]).add(7,"days"):ia[Pa].end_time=Ei[1],Da([...ia])},onCalendarChange:(lo,Ei,Oe)=>{if(Ei!=null&&Ei[0]&&!Ei[1]){const qe=de()(Ei[0]).add(7,"days");ia[Pa].publish_time=Ei[0],ia[Pa].end_time=qe,Da([...ia])}}})),!Ua&&on.createElement(Bn.Z,{span:2,style:{display:"flex",alignItems:"center"}},((nr=Gn==null?void 0:Gn.group_id)==null?void 0:nr.length)>1&&on.createElement(je.Z,{title:"\u89C4\u5219\u62C6\u5206"},on.createElement("i",{className:"iconfont icon-chaifen ml10",style:{cursor:"pointer",color:"#3061d0",fontSize:14},onClick:()=>Fi(Gn,Pa)})),ia.length<((xo=sa==null?void 0:sa.group_settings)==null?void 0:xo.length)&&on.createElement(pt.Z,{className:"c-green ml10 mr10",onClick:()=>{Da(ia.concat({}))}}),((Gn==null?void 0:Gn.publish_time)&&de()()<de()(Gn==null?void 0:Gn.publish_time)||!(Gn!=null&&Gn.publish_time))&&Pa!=0&&on.createElement(En.Z,{style:{color:"#E30000"},onClick:()=>{var lo;if(!((lo=ka.AssistantObject.hack)!=null&&lo.can_publish)&&(0,Ne.Rm)()){Fe.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 Ei=(0,Jt.cloneDeep)(Xa);Ei.forEach((Oe,qe)=>{Oe.group_name&&(Oe.group_name=Oe.group_name.filter(tt=>{var Ft;return!((Ft=ia[Pa].group_name)!=null&&Ft.includes(tt))}))}),Nn(Ei),ia=ia.filter((Oe,qe)=>Pa!==qe),Da(ia.slice()),setTimeout(()=>Da(ia.slice()),10)}}))))}))),on.createElement("div",{className:`${xn.title} mt30`},"\u8865\u4EA4\u8BBE\u7F6E",on.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")),on.createElement("div",{className:xn.content},on.createElement(Bt.Z,null,on.createElement(Xt.default,{checked:Wn.allow_late,disabled:Ua||(sa==null?void 0:sa.allow_late),onChange:Gn=>{var Pa;if(!((Pa=ka.AssistantObject.hack)!=null&&Pa.can_late)&&(0,Ne.Rm)()){Fe.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}Gn.target.checked&&we.default.warning({title:"\u5F00\u542F\u8865\u4EA4\u63D0\u793A",width:480,centered:!0,content:on.createElement("div",{style:{padding:10,background:"#f5f6f9"}},on.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"),on.createElement("div",null,"2.\u8865\u4EA4\u622A\u6B62\u65F6\u95F4\u5FC5\u987B\u665A\u4E8E\u4F5C\u4E1A\u622A\u6B62\u65F6\u95F4\uFF1B"),on.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"))}),Wn.allow_late=!Wn.allow_late,Xa==""&&Nn([{late_minus_score:5}]),Bo(Object.assign({},Wn))}},on.createElement("span",{style:{fontSize:"14px"}},"\u5F00\u542F\u8865\u4EA4")))),(Wn==null?void 0:Wn.allow_late)&&on.createElement("div",{className:xn.content,style:{borderTop:"1px solid #fff",paddingLeft:54}},on.createElement("div",null,on.createElement("span",{style:{color:"#333333",marginRight:12}},"\u8865\u4EA4\u65B9\u5F0F\uFF1A"),on.createElement(Tt.ZP.Group,{disabled:Ua||(sa==null?void 0:sa.anonymous_comment)||(sa==null?void 0:sa.allow_late),value:Wn.unified_late,onChange:Gn=>{var Pa;if((0,Ne.Rm)()&&!((Pa=ka.AssistantObject.hack)!=null&&Pa.can_late)){Fe.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}Wn.unified_late=Gn.target.value,Xa==""&&!Gn.target.value&&Nn([{late_minus_score:5}]),Bo(Qr({},Wn))}},(Wn==null?void 0:Wn.unified_setting)&&on.createElement(Tt.ZP,{value:!0,style:{color:"#333333"},disabled:!(sa!=null&&sa.manage_all_group)}," \u7EDF\u4E00\u8865\u4EA4 "),((oi=sa==null?void 0:sa.group_settings)==null?void 0:oi.length)&&on.createElement(Tt.ZP,{value:!1,style:{color:"#333333"}}," \u5206\u73ED\u8865\u4EA4 "))),Wn!=null&&Wn.unified_late?on.createElement(on.Fragment,null,on.createElement(Bt.Z,{align:"middle",className:"mt25"},on.createElement(Bn.Z,{style:{color:"#333333"}},"\u8865\u4EA4\u6263\u5206:"),on.createElement(Bn.Z,{className:"ml5"},on.createElement(Aa.Z,{disabled:Ua||Ro,value:{type:Wn.penalty_type,inputValue:Wn.late_minus_score},onChange:Gn=>{var Pa;if((0,Ne.Rm)()&&!((Pa=ka.AssistantObject.hack)!=null&&Pa.can_late)){Fe.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}Bo(wo(Qr({},Wn),{late_minus_score:Gn.inputValue,penalty_type:Gn.type}))}})),on.createElement(Bn.Z,{flex:"1",className:"ml5"},on.createElement("span",{className:"c-grey-c ml10"},Wn.penalty_type===Aa.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)"))),on.createElement(Bt.Z,{align:"middle",className:"mt25"},on.createElement(Bn.Z,{style:{color:"#333333"}},"\u8865\u4EA4\u622A\u6B62\u65F6\u95F4:"),on.createElement(Bn.Z,{className:"ml5"},on.createElement(Nt.default,{size:"large",allowClear:!1,style:{width:170},placeholder:"\u8BF7\u9009\u62E9\u622A\u6B62\u65F6\u95F4",showTime:{format:"HH:mm",defaultValue:de()((0,De.U6)(),"HH:mm")},format:"YYYY-MM-DD HH:mm",disabled:Ua||Ro,value:Wn.late_time?de()(Wn.late_time):"",disabledDate:Gn=>(0,jn.Q8)(Gn,sa==null?void 0:sa.course_end_date),disabledTime:Gn=>(0,jn.d0)(Gn),onChange:(Gn,Pa)=>{var Nr;if((0,Ne.Rm)()&&!((Nr=ka.AssistantObject.hack)!=null&&Nr.can_late)){Fe.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}Wn.late_time=Pa,Bo(Object.assign({},Wn))}})),on.createElement(Bn.Z,null,on.createElement("span",{className:"c-grey-c ml10"},"(\u5B66\u751F\u201C\u5EF6\u65F6\u201D\u63D0\u4EA4\u4F5C\u54C1\u7684\u65F6\u95F4\u622A\u70B9)")))):Xa.map(function(Gn,Pa){var Nr;return on.createElement(Bn.Z,{span:24,key:Pa},on.createElement(Bt.Z,{className:"mt25",align:"middle"},on.createElement(Bn.Z,null,on.createElement("span",{style:{minWidth:85,display:"inline-block",color:"#333333"}},"\u8865\u4EA4\u89C4\u5219",Pa+1,"\uFF1A"),on.createElement(In.default,{size:"large",disabled:Ua||!((Nr=mo==null?void 0:mo.homework_status)!=null&&Nr.includes("\u672A\u53D1\u5E03"))&&Gn.id||(sa==null?void 0:sa.anonymous_comment),mode:"multiple",className:`${xn.selectSty}`,style:{width:200},value:typeof Gn.group_name=="string"?[Gn.group_name]:Gn.group_name,placeholder:"\u8BF7\u9009\u62E9\u5206\u73ED\u540D\u79F0",onChange:va=>{var nr;if((0,Ne.Rm)()&&!((nr=ka.AssistantObject.hack)!=null&&nr.can_late)){Fe.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}Xa[Pa].group_name=va,Xa[Pa].group_id=Gn.group_id,Nn(Xa.slice())}},sa.group_settings&&sa.group_settings.map(function(va){if(Wn!=null&&Wn.unified_setting&&!Xa.map(nr=>nr.group_name).toString().split(",").includes(String(va.group_name)))return on.createElement(Rt,{value:va.group_name,key:va.id},va.group_name);if(ia.map(nr=>nr.group_name).toString().split(",").includes(String(va.group_name))&&!Xa.map(nr=>nr.group_name).toString().split(",").includes(String(va.group_name)))return on.createElement(Rt,{value:va.group_name,key:va.id},va.group_name)}))),on.createElement(Bn.Z,{className:"ml20",style:{display:"flex",alignItems:"center"}},on.createElement("div",{style:{color:"#333333"}},"\u8865\u4EA4\u6263\u5206\uFF1A"),on.createElement(Aa.Z,{disabled:Ua||Oi(Gn.id),value:{type:Gn.penalty_type,inputValue:Gn.late_minus_score},onChange:va=>{var nr;if((0,Ne.Rm)()&&!((nr=ka.AssistantObject.hack)!=null&&nr.can_late)){Fe.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}Xa[Pa].late_minus_score=va.inputValue,Xa[Pa].penalty_type=va.type,Nn([...Xa])}})),on.createElement(Bn.Z,{className:"ml20"},on.createElement("span",{style:{color:"#333333"}},"\u8865\u4EA4\u622A\u6B62\u65F6\u95F4\uFF1A"),on.createElement(Nt.default,{size:"large",disabled:Ua||Oi(Gn.id),style:{width:200},showTime:{format:"HH:mm",defaultValue:de()((0,De.U6)(),"HH:mm")},placeholder:"\u8BF7\u9009\u62E9\u622A\u6B62\u65F6\u95F4",disabledDate:va=>(0,jn.Q8)(va,sa==null?void 0:sa.course_end_date),disabledTime:va=>(0,jn.d0)(va),format:"YYYY-MM-DD HH:mm",value:Gn!=null&&Gn.late_time?de()(Gn.late_time):void 0,onChange:(va,nr)=>{var xo;if((0,Ne.Rm)()&&!((xo=ka.AssistantObject.hack)!=null&&xo.can_late)){Fe.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}Xa[Pa].late_time=nr,Nn([...Xa])}})),!Ua&&on.createElement(Bn.Z,{style:{marginLeft:10}},Pa>0&&!Gn.id&&on.createElement(En.Z,{className:"mr10",style:{color:"#E30000"},onClick:()=>{Xa=Xa.filter((va,nr)=>Pa!==nr),Nn(Xa.slice()),setTimeout(()=>Nn(Xa.slice()),10)}}),on.createElement(pt.Z,{className:"c-green",onClick:()=>{var va;if((0,Ne.Rm)()&&!((va=ka.AssistantObject.hack)!=null&&va.can_late)){Fe.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(Xa.concat({penalty_type:Aa.Q.Percent,late_minus_score:20}))}}))))})),!Ua&&on.createElement(ze.ZP,{type:"primary",size:"large",style:{width:138},className:"mt30",loading:Wo,onClick:()=>io()},"\u4FDD\u5B58"),on.createElement(La.Z,{onConfirm:(Gn,Pa)=>{ia.splice(Gn,0,...Pa),ia.splice(Gn+Pa.length,1);const Nr=(0,De.QE)([...ia]);Da([...Nr])}}))};var qn=(0,he.connect)(({shixunHomeworks:ln,classroomList:Vt,user:_t,loading:ka})=>({shixunHomeworks:ln,loading:ka.effects,user:_t,classroomList:Vt}))(Ct),Qt=z(67294),er=Object.defineProperty,Zo=Object.defineProperties,ao=Object.getOwnPropertyDescriptors,rr=Object.getOwnPropertySymbols,qr=Object.prototype.hasOwnProperty,Jo=Object.prototype.propertyIsEnumerable,da=(ln,Vt,_t)=>Vt in ln?er(ln,Vt,{enumerable:!0,configurable:!0,writable:!0,value:_t}):ln[Vt]=_t,Vr=(ln,Vt)=>{for(var _t in Vt||(Vt={}))qr.call(Vt,_t)&&da(ln,_t,Vt[_t]);if(rr)for(var _t of rr(Vt))Jo.call(Vt,_t)&&da(ln,_t,Vt[_t]);return ln},ft=(ln,Vt)=>Zo(ln,ao(Vt)),vn=(ln,Vt,_t)=>new Promise((ka,Mr)=>{var Wa=kn=>{try{mr(_t.next(kn))}catch(na){Mr(na)}},Qn=kn=>{try{mr(_t.throw(kn))}catch(na){Mr(na)}},mr=kn=>kn.done?ka(kn.value):Promise.resolve(kn.value).then(Wa,Qn);mr((_t=_t.apply(ln,Vt)).next())});function an(ln,Vt){const _t=[];for(let ka=ln;ka<Vt;ka++)_t.push(ka);return _t}const mn=ln=>{let Vt=new Date;const _t=de()(ln).format("HH");if(de()(ln).isSame(de()(Vt),"day")){const ka=de()(Vt).format("HH"),Mr=de()(Vt).format("mm");return{disabledHours:()=>an(0,24).splice(1,ka*1-1),disabledMinutes:()=>(console.log("\u7981\u6B62\u65F6\u95F4\uFF1A",_t,ka),de()(ln).isSame(de()(Vt),"hour")&&_t<=ka?an(0,60).splice(0,Mr):an(60,60))}}else if(de()(ln).isSame(de()(),"day")){const ka=de()().format("HH"),Mr=de()().format("mm");return{disabledHours:()=>an(0,24).splice(0,ka),disabledMinutes:()=>_t<=ka?an(0,Mr):an(60,60)}}else return},{RangePicker:ca}=Nt.default,{Option:fn}=In.default,la=({shixunHomeworks:ln,loading:Vt,dispatch:_t})=>{const ka=(0,he.useParams)(),Mr=(0,he.useLocation)(),{workSetting:Wa,workList:Qn,changeData:mr}=ln,[kn,na]=(0,x.useState)(!0),[hr,Do]=(0,x.useState)({}),[sr,Hi]=(0,x.useState)(!1),[$o]=dn.default.useForm();let[wr,oi]=(0,x.useState)([]),[ba,sa]=(0,x.useState)([]);const[mo,nl]=(0,x.useState)([]),Ua=(0,x.useRef)(!0);let[Oa,Wo]=(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)(()=>()=>{oi([])},[]),(0,x.useEffect)(()=>{Wa!=null&&Wa.can_edit&&na(!1)},[Wa]);const Fl=()=>{_t({type:"shixunHomeworks/getWorkSetting",payload:Vr({},ka)})},ia=Nn=>Nn&&Nn<de()().startOf("day");(0,x.useEffect)(()=>{Wa!=null&&Wa.course_id&&Ua.current&&(Ua.current=!1,Object.keys(Oa).map(function(Nn){Wa[Nn]!==void 0&&(Oa[Nn]=Wa[Nn])}),(!Oa.allow_late||!Oa.unified_late)&&(Oa.late_penalty=5),wr=JSON.parse(JSON.stringify(Wa.group_settings.map(Nn=>ft(Vr({},Nn),{group_name:[Nn.group_name]})).filter(Nn=>Nn.publish_time!==null))),ba=JSON.parse(JSON.stringify(Wa.allow_late_settings.map(Nn=>ft(Vr({},Nn),{group_name:[Nn.group_name]})).filter(Nn=>Nn.rank_forbidden_start!==null))),Wo(Vr({},Oa)),console.log(Oa,Wa,"data"),oi([...wr]),(ba==null?void 0:ba.length)<=0?sa([{}]):sa([...ba]))},[Wa]);const Da=()=>{const Nn=JSON.parse(JSON.stringify(Oa));if(Nn.categoryId=ka.categoryId,Oa.unified_setting||(wr=wr==null?void 0:wr.map(ja=>{var Wn;if(!ja.publish_time||!ja.end_time)throw Fe.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(!ja.group_name)throw Fe.ZP.error("\u8BF7\u9009\u62E9\u5206\u73ED\u540D\u79F0"),new String("\u8BF7\u9009\u62E9\u5206\u73ED\u540D\u79F0");return ja.group_name=typeof(ja==null?void 0:ja.group_name)=="string"?[ja==null?void 0:ja.group_name]:ja==null?void 0:ja.group_name,ja.group_id=(Wn=Wa.group_settings)==null?void 0:Wn.filter(Bo=>{var to;return(to=ja==null?void 0:ja.group_name)==null?void 0:to.includes(Bo.group_name)}).map(Bo=>Bo.group_id||Bo.id).toString().split(","),ja})),Nn.group_settings=wr,Oa.rank_forbidden)if(Oa.unified_setting){if(!Oa.rank_forbidden_start)throw Fe.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(!Oa.rank_forbidden_end)throw Fe.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(de()(Oa.rank_forbidden_end)<de()(Oa.rank_forbidden_start))throw Fe.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 ba=ba==null?void 0:ba.map(ja=>{var Wn,Bo;if(!ja.rank_forbidden_start)throw Fe.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(!ja.rank_forbidden_end)throw Fe.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(!ja.group_name)throw Fe.ZP.error("\u8BF7\u9009\u62E9\u5206\u73ED\u540D\u79F0"),new String("\u8BF7\u9009\u62E9\u5206\u73ED\u540D\u79F0");return ja.group_name=typeof(ja==null?void 0:ja.group_name)=="string"?[ja==null?void 0:ja.group_name]:ja==null?void 0:ja.group_name,ja.group_id=(Bo=(Wn=ja==null?void 0:ja.group_name)==null?void 0:Wn.map(to=>{var io,qo;let Jr=(qo=(io=Wa.group_settings)==null?void 0:io.filter(li=>(li==null?void 0:li.group_name)===to))==null?void 0:qo[0];return Jr==null?void 0:Jr.group_id}))==null?void 0:Bo.toString().split(","),ja}),Nn.group_settingss=ba;Xa(Nn)},Xa=Nn=>{if(console.log(Nn.total_score,Nn.eff_score),Nn.total_score===null){Fe.ZP.warning("\u603B\u5206\u503C\u4E0D\u80FD\u4E3A\u7A7A");return}if(Nn!=null&&Nn.work_efficiency&&Nn.eff_score===null){Fe.ZP.warning("\u6548\u7387\u5206\u4E0D\u80FD\u4E3A\u7A7A");return}const ja={shixun_evaluation:Nn.shixun_evaluation};vn(void 0,null,function*(){Hi(!0),(yield(0,ge.ZP)(`/api/homework_commons/${ka.categoryId}/public_setting.json`,{method:"post",body:Vr({},Nn)})).status===0&&(Fe.ZP.success("\u66F4\u65B0\u6210\u529F"),Fl(),_t({type:"shixunHomeworks/getWorkList",payload:Vr({},ka)})),Hi(!1)})};return Qt.createElement("section",{className:xn.form},Qt.createElement("div",{className:xn.title},"\u516C\u5F00\u8BBE\u7F6E"),Qt.createElement("div",{className:xn.content,style:{padding:0}},Qt.createElement(Bt.Z,null,Qt.createElement(Bn.Z,{span:24,className:xn.pubColSty},Qt.createElement(Xt.default,{checked:Oa.score_open,disabled:kn,onChange:Nn=>{Oa.score_open=Nn.target.checked,Wo(Object.assign({},Oa))}},Qt.createElement("span",{className:"font14 c-grey-333"},"\u516C\u5F00\u6210\u7EE9")),Qt.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")),Qt.createElement(Bn.Z,{span:24,className:xn.pubColSty,style:{borderBottom:Oa.open_code?"none":"1px solid #fff"}},Qt.createElement(Xt.default,{checked:Oa.open_code,disabled:kn,onChange:Nn=>{Oa.open_code=Nn.target.checked,Nn.target.checked&&(Oa.open_code_type=1),Wo(Object.assign({},Oa))}},Qt.createElement("span",{className:"font14 c-grey-333"},"\u516C\u5F00\u4EE3\u7801")),Qt.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")),!!Oa.open_code&&Qt.createElement(Bn.Z,{span:24,className:xn.pubColSty},Qt.createElement(Tt.ZP.Group,{style:{marginLeft:"24px"},disabled:kn,value:Oa.open_code_type,onChange:Nn=>{Oa.open_code_type=Nn.target.value,Wo(Object.assign({},Oa))}},Qt.createElement(Tt.ZP,{value:1,style:{color:"#333333"}},"\u4F5C\u4E1A\u7ED3\u675F\u540E"),Qt.createElement(Tt.ZP,{value:0,style:{marginLeft:60,color:"#333333"}},"\u4EFB\u610F\u65F6\u95F4"))),Qt.createElement(Bn.Z,{span:24,className:xn.pubColSty,style:{borderBottom:Oa.rank_forbidden&&Oa.unified_setting||!Oa.unified_setting&&(wr==null?void 0:wr.length)>0&&Oa.rank_forbidden?"none":"1px solid #fff"}},Qt.createElement(Xt.default,{checked:Oa.rank_forbidden,disabled:kn,onChange:Nn=>{Oa.rank_forbidden=Nn.target.checked,Wo(Object.assign({},Oa))}},Qt.createElement("span",{className:"font14"},"\u5F00\u542F\u5C01\u699C")),Qt.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")),!!Oa.rank_forbidden&&Oa.unified_setting&&Qt.createElement(Bn.Z,{span:24,className:xn.pubColSty,style:{height:"50px",lineHeight:"50px"}},Qt.createElement("div",{style:{marginLeft:"24px"}},Qt.createElement(Bt.Z,{align:"middle"},Qt.createElement(Bn.Z,null,"\u5F00\u59CB\u65F6\u95F4"),Qt.createElement(Bn.Z,{className:"ml10"},Qt.createElement(Nt.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:ia,disabledTime:mn,disabled:kn||de()()>de()(Wa.rank_forbidden_start),value:Oa.rank_forbidden_start?de()(Oa.rank_forbidden_start):"",onChange:(Nn,ja)=>{Oa.rank_forbidden_start=ja,(Oa.end_time==""||!Oa.end_time)&&Oa.unified_setting&&(Oa.end_time=de()(Nn).add(1,"month").format("YYYY-MM-DD HH:mm:ss")),Wo(Object.assign({},Oa))}})),Qt.createElement(Bn.Z,{className:"ml20"},"\u622A\u6B62\u65F6\u95F4"),Qt.createElement(Bn.Z,{className:"ml10"},Qt.createElement(Nt.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:de()((0,De.U6)(),"HH:mm")},format:"YYYY-MM-DD HH:mm",disabled:kn,disabledDate:ia,value:Oa.rank_forbidden_end?de()(Oa.rank_forbidden_end):"",onChange:(Nn,ja)=>{Oa.rank_forbidden_end=ja,Wo(Object.assign({},Oa))}}))))),!Oa.unified_setting&&(wr==null?void 0:wr.length)>0&&!!Oa.rank_forbidden&&Qt.createElement(Bt.Z,{align:"middle",style:{borderBottom:"1px solid #fff",paddingBottom:"5px",width:"100%"}},ba.map(function(Nn,ja){var Wn,Bo,to,io,qo,Jr,li;return Qt.createElement(Bn.Z,{span:24,key:ja,style:{marginLeft:"24px"}},Qt.createElement(Bt.Z,{className:"mt10 ml30",align:"middle"},Qt.createElement(Bn.Z,null,Qt.createElement("span",{style:{color:"#666"}},"\u5C01\u699C\u89C4\u5219",ja+1,"\uFF1A"),Qt.createElement(In.default,{size:"large",disabled:kn||!((Wn=Qn==null?void 0:Qn.homework_status)!=null&&Wn.includes("\u672A\u53D1\u5E03"))&&Nn.id,mode:"multiple",className:xn.selectSty,style:{width:250},value:typeof Nn.group_name=="string"?[Nn.group_name]:Nn.group_name,placeholder:"\u8BF7\u9009\u62E9\u5206\u73ED\u540D\u79F0",onChange:ir=>{ba[ja].group_name=ir,ba[ja].group_id=Nn.group_id,sa(ba.slice())}},Wa.group_settings&&Wa.group_settings.map(function(ir){if(Oa!=null&&Oa.unified_setting&&!ba.map(Ro=>Ro.group_name).toString().split(",").includes(String(ir.group_name)))return Qt.createElement(fn,{value:ir.group_name,key:ir.id},ir.group_name);if(wr.map(Ro=>Ro.group_name).toString().split(",").includes(String(ir.group_name))&&!ba.map(Ro=>Ro.group_name).toString().split(",").includes(String(ir.group_name)))return Qt.createElement(fn,{value:ir.group_name,key:ir.id},ir.group_name)}))),Qt.createElement(Bn.Z,{span:15},Qt.createElement("div",{className:"ml20"},Qt.createElement(ca,{size:"large",allowClear:!1,disabled:kn||((io=(to=(Bo=Wa==null?void 0:Wa.group_settings)==null?void 0:Bo.filter(ir=>ir.id===Nn.id))==null?void 0:to[0])!=null&&io.rank_forbidden_start?de()()<de()((li=(Jr=(qo=Wa==null?void 0:Wa.group_settings)==null?void 0:qo.filter(ir=>ir.id===Nn.id))==null?void 0:Jr[0])==null?void 0:li.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:ia,disabledTime:mn,showTime:{format:"HH:mm",defaultValue:[de()((0,De.U6)(),"HH:mm"),de()((0,De.U6)(),"HH:mm")]},format:"YYYY-MM-DD HH:mm",value:Nn.rank_forbidden_start&&[de()(Nn.rank_forbidden_start),Nn.rank_forbidden_end?de()(Nn.rank_forbidden_end):void 0],onChange:(ir,Ro)=>{ba[ja].rank_forbidden_start=Ro[0],ba[ja].rank_forbidden_end=Ro[1],sa([...ba])}}))),!kn&&Qt.createElement(Bn.Z,null,Qt.createElement(pt.Z,{className:"c-green",onClick:()=>{sa(ba.concat({}))}}),ja>0&&!Nn.id&&Qt.createElement(En.Z,{className:"c-red ml10",onClick:()=>{ba=ba.filter((ir,Ro)=>ja!==Ro),sa(ba.slice()),setTimeout(()=>sa(ba.slice()),10)}}))))})),Qt.createElement(Bn.Z,{span:24,className:xn.pubColSty,style:{borderBottom:Oa.hack_analysis?"none":"1px solid #fff"}},Qt.createElement(Xt.default,{checked:Oa.hack_analysis,disabled:kn,onChange:Nn=>{Oa.hack_analysis=Nn.target.checked,Nn.target.checked&&(Oa.hack_analysis_type=2),Wo(Object.assign({},Oa))}},Qt.createElement("span",{className:"font14 c-grey-333"},"\u516C\u5F00\u89E3\u6790")),Qt.createElement("span",{className:"c-grey-666 font14"},"\uFF08\u8BBE\u7F6E\u5B66\u751F\u5728\u5B9E\u9A8C\u9875\u9762\u67E5\u770B\u8BD5\u9898\u89E3\u6790\uFF09")),!!Oa.hack_analysis&&Qt.createElement(Bn.Z,{span:24,className:xn.pubColSty},Qt.createElement(Tt.ZP.Group,{style:{marginLeft:"24px"},disabled:kn,value:Oa.hack_analysis_type,onChange:Nn=>{Oa.hack_analysis_type=Nn.target.value,Wo(Object.assign({},Oa))}},Qt.createElement(Tt.ZP,{value:2,style:{color:"#333333"}},"\u4F5C\u4E1A\u7ED3\u675F\u540E"),Qt.createElement(Tt.ZP,{style:{marginLeft:60,color:"#333333"},value:0},"\u4EFB\u610F\u65F6\u95F4"),Qt.createElement(Tt.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"))),Qt.createElement(Bn.Z,{span:24,className:xn.pubColSty,style:{borderBottom:Oa.hack_answer?"none":"1px solid #fff"}},Qt.createElement(Xt.default,{checked:Oa.hack_answer,disabled:kn,onChange:Nn=>{Oa.hack_answer=Nn.target.checked,Nn.target.checked&&(Oa.hack_answer_type=1),Wo(Object.assign({},Oa))}},Qt.createElement("span",{className:"font14 c-grey-333"},"\u516C\u5F00\u7B54\u6848")),Qt.createElement("span",{className:"c-grey-666 font14"},"\uFF08\u8BBE\u7F6E\u5B66\u751F\u5728\u5B9E\u9A8C\u9875\u9762\u67E5\u770B\u8BD5\u9898\u7B54\u6848\uFF09")),!!Oa.hack_answer&&Qt.createElement(Bn.Z,{span:24,className:xn.pubColSty},Qt.createElement(Tt.ZP.Group,{style:{marginLeft:"24px"},disabled:kn,value:Oa.hack_answer_type,onChange:Nn=>{Oa.hack_answer_type=Nn.target.value,Wo(Object.assign({},Oa))}},Qt.createElement(Tt.ZP,{value:1,style:{color:"#333333"}},"\u4F5C\u4E1A\u7ED3\u675F\u540E"),Qt.createElement(Tt.ZP,{value:0,style:{marginLeft:60,color:"#333333"}},"\u4EFB\u610F\u65F6\u95F4"))))),Qt.createElement("div",{className:`${xn.title} mt30`},"\u5B66\u751F\u5B9E\u9A8C\u62A5\u544A\u4EE3\u7801\u5C55\u793A\u8BBE\u7F6E"),Qt.createElement("div",{className:xn.content},Qt.createElement(Xt.default,{disabled:kn,checked:Oa.show_late_code,onChange:()=>{Oa.show_late_code=!Oa.show_late_code,Wo(Object.assign({},Oa))}},Qt.createElement("span",{className:"c-black"},"\u5C55\u793A\u6240\u6709\u8BC4\u6D4B\u4EE3\u7801"),Qt.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"))),!kn&&Qt.createElement(ze.ZP,{type:"primary",size:"large",style:{width:138},className:"mt30",loading:sr,onClick:()=>Da()},"\u4FDD\u5B58"))};var Tn=(0,he.connect)(({shixunHomeworks:ln,loading:Vt})=>({shixunHomeworks:ln,loading:Vt.effects}))(la),Sa=z(67294),Qa=Object.defineProperty,Br=Object.defineProperties,no=Object.getOwnPropertyDescriptors,No=Object.getOwnPropertySymbols,Hn=Object.prototype.hasOwnProperty,Qi=Object.prototype.propertyIsEnumerable,yi=(ln,Vt,_t)=>Vt in ln?Qa(ln,Vt,{enumerable:!0,configurable:!0,writable:!0,value:_t}):ln[Vt]=_t,Yr=(ln,Vt)=>{for(var _t in Vt||(Vt={}))Hn.call(Vt,_t)&&yi(ln,_t,Vt[_t]);if(No)for(var _t of No(Vt))Qi.call(Vt,_t)&&yi(ln,_t,Vt[_t]);return ln},Pi=(ln,Vt)=>Br(ln,no(Vt)),ha=(ln,Vt,_t)=>new Promise((ka,Mr)=>{var Wa=kn=>{try{mr(_t.next(kn))}catch(na){Mr(na)}},Qn=kn=>{try{mr(_t.throw(kn))}catch(na){Mr(na)}},mr=kn=>kn.done?ka(kn.value):Promise.resolve(kn.value).then(Wa,Qn);mr((_t=_t.apply(ln,Vt)).next())});const tr=({shixunHomeworks:ln,loading:Vt,dispatch:_t})=>{var ka;const Mr=(0,he.useParams)(),{workSetting:Wa,workList:Qn,changeData:mr}=ln,[kn,na]=(0,x.useState)(!0),[hr,Do]=(0,x.useState)(!1),[sr,Hi]=(0,x.useState)(!1),[$o]=dn.default.useForm();let[wr,oi]=(0,x.useState)([]),[ba,sa]=(0,x.useState)([]);const mo=!((ka=Qn==null?void 0:Qn.homework_status)!=null&&ka.includes("\u672A\u53D1\u5E03")),nl=(0,x.useRef)(!0);let[Ua,Oa]=(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)(()=>()=>{oi([])},[]),(0,x.useEffect)(()=>{Wa!=null&&Wa.can_edit&&na(!1)},[Wa]);const Wo=()=>{_t({type:"shixunHomeworks/getWorkSetting",payload:Yr({},Mr)})};(0,x.useEffect)(()=>{Wa!=null&&Wa.course_id&&nl.current&&(nl.current=!1,Object.keys(Ua).map(function(Nn){Ua[Nn]=Wa[Nn]}),(!Ua.allow_late||!Ua.unified_late)&&(Ua.late_penalty=5),wr=JSON.parse(JSON.stringify(Wa.group_settings.map(Nn=>Pi(Yr({},Nn),{group_name:[Nn.group_name]})).filter(Nn=>Nn.publish_time!==null))),ba=JSON.parse(JSON.stringify(Wa.allow_late_settings.map(Nn=>Pi(Yr({},Nn),{group_name:[Nn.group_name]})).filter(Nn=>Nn.late_time!==null))),Da(),Oa(Yr({},Ua)),oi([...wr]),sa([...ba]))},[Wa]);const Fl=()=>{const Nn=JSON.parse(JSON.stringify(Ua));ia(Nn)},ia=Nn=>{if(console.log(Nn.total_score,Nn.eff_score),Nn.total_score===null){Fe.ZP.warning("\u603B\u5206\u503C\u4E0D\u80FD\u4E3A\u7A7A");return}const ja=()=>ha(void 0,null,function*(){Do(!0),(yield(0,ge.ZP)(`/api/homework_commons/${Mr.categoryId}/hack_score_setting.json`,{method:"post",body:Yr({},Nn)})).status===0&&(Fe.ZP.success("\u66F4\u65B0\u6210\u529F"),Wo(),_t({type:"shixunHomeworks/getWorkList",payload:Yr({},Mr)})),Do(!1)});(Ua==null?void 0:Ua.hack_score_settings)!==(Wa==null?void 0:Wa.hack_score_settings)&&mo?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:ja}):ja()},Da=()=>{var Nn;const{total_score:ja}=Ua,Wn=(Nn=Ua.hack_settings)==null?void 0:Nn.length;if(!Wn)return;let Bo=0,to;switch(Ua.hack_score_settings){case 0:const io=(ja/Wn).toFixed(2);Ua.hack_settings.map((Gn,Pa)=>{Bo=Pa,Gn.hack_score=io>0?io:0}),to=(ja-io*(Wn-1)).toFixed(2),Ua.hack_settings[Bo].hack_score=to>0?to:0;break;case 1:const qo=[0,1,3,6];let Jr=0;const li=Ua.hack_settings.filter(Gn=>Gn.difficult===1).length*qo[1],ir=Ua.hack_settings.filter(Gn=>Gn.difficult===2).length*qo[2],Ro=Ua.hack_settings.filter(Gn=>Gn.difficult===3).length*qo[3],Oi=ja/(li+ir+Ro);console.log(Oi,2222),Ua.hack_settings.map((Gn,Pa)=>{Bo=Pa,Gn.hack_score=(qo[Gn.difficult]*Oi).toFixed(2),Jr=Jr+Number(Gn.hack_score)});let Fi=Ua.hack_settings[Bo].hack_score;to=(ja-Jr+Number(Fi)).toFixed(2),Ua.hack_settings[Bo].hack_score=to>0?to:0;break}},Xa=(Wa==null?void 0:Wa.send_type)===0||(Wa==null?void 0:Wa.send_type)===1&&(Ua==null?void 0:Ua.hack_score_settings)===2;return Sa.createElement("section",{className:xn.form},Sa.createElement("div",{className:xn.title},"\u5206\u503C\u8BBE\u7F6E"),Sa.createElement("div",{className:`${xn.content} mb30`},Sa.createElement(Bt.Z,{align:"middle"},Sa.createElement(Bt.Z,{align:"middle"},Sa.createElement("span",{className:"c-grey-333"},"\u603B\u5206\u503C"),Sa.createElement(Kt.Z,{min:0,className:"ml20",style:{width:220},size:"large",value:Ua.total_score,disabled:kn,onChange:Nn=>{Ua.total_score=Nn,Oa(Object.assign({},Ua)),Da()},addonAfter:"\u5206"})),Sa.createElement(Bt.Z,{align:"middle",style:{marginLeft:60}},Sa.createElement("span",{className:"c-grey-333"},"\u6D4B\u8BC4\u5355\u6B21\u62A5\u9519\u589E\u52A0\u65F6\u957F"),Sa.createElement(Kt.Z,{className:"ml20",style:{width:220},size:"large",min:0,value:Ua.punish_time,precision:0,disabled:kn,onChange:Nn=>{Ua.punish_time=Nn,Oa(Object.assign({},Ua)),Da()},addonAfter:"\u5206\u949F"})))),Sa.createElement("div",{className:xn.title},"\u6392\u884C\u699C\u65F6\u95F4\u540D\u6B21\u89C4\u5219"),Sa.createElement("div",{className:`${xn.content} mb30`},Sa.createElement(Tt.ZP.Group,{disabled:kn,value:Ua.hack_rank_rule,onChange:Nn=>{Ua.hack_rank_rule=Nn.target.value,Oa(Object.assign({},Ua))}},Sa.createElement(Tt.ZP,{value:0},Sa.createElement("span",{className:"c-black"},"\u8017\u65F6\u65F6\u957F\u4F18\u5148"),Sa.createElement("span",{className:"c-grey-666 font14"},"\uFF08\u540C\u6210\u7EE9\uFF0C\u8017\u65F6\u8D8A\u77ED\u540D\u6B21\u8D8A\u524D\uFF09")),Sa.createElement(Tt.ZP,{style:{marginLeft:40},value:1},Sa.createElement("span",{className:"c-black"},"\u5B8C\u6210\u65F6\u95F4\u70B9\u4F18\u5148"),Sa.createElement("span",{className:"c-grey-666 font14"},"\uFF08\u540C\u6210\u7EE9\uFF0C\u5B8C\u6210\u65F6\u95F4\u8D8A\u65E9\u540D\u6B21\u8D8A\u524D\uFF09")))),Sa.createElement("div",{className:xn.title},"\u8BD5\u9898\u5206\u503C"),Sa.createElement("div",{className:xn.content},Sa.createElement(Tt.ZP.Group,{value:Ua.hack_score_settings,onChange:Nn=>{Ua.hack_score_settings=Nn.target.value,Oa(Object.assign({},Ua)),Da()}},Sa.createElement(Tt.ZP,{value:0},"\u5747\u5206\u6BD4\u4F8B"),Sa.createElement(Tt.ZP,{style:{margin:"0 40px"},value:1},"\u96BE\u6613\u5EA6"),Sa.createElement(Tt.ZP,{value:2},"\u81EA\u5B9A\u4E49\u5206\u503C"))),Sa.createElement("div",{className:xn.content,style:{borderTop:"1px solid #fff"}},Sa.createElement("div",{style:{padding:"0px 20px 20px 20px"}},Ua.hack_settings&&Ua.hack_settings.map(function(Nn,ja){return Sa.createElement(Bt.Z,{key:ja,align:"middle",style:{marginTop:20}},Sa.createElement(Bn.Z,{flex:"1",className:"pr10"},Sa.createElement("span",{style:{color:"#333333"}},Nn.hack_name)),Sa.createElement(Bn.Z,{flex:"150px"},Sa.createElement(Kt.Z,{min:0,step:.1,style:{visibility:Xa?"visible":"hidden"},value:Nn.hack_score,disabled:Ua.hack_score_settings!==2,onChange:Wn=>{Ua.hack_settings[ja].hack_score=Wn;const Bo=Ua.hack_settings.reduce((to,io)=>to+Number(io.hack_score),0);Ua.total_score=Bo.toFixed(2),Oa(Yr({},Ua))},size:"large",addonAfter:"\u5206"})),Sa.createElement(Bn.Z,{className:"ml20",style:{lineHeight:"20px"}},Nn.difficult===1&&Sa.createElement("span",{className:"tag-style-border-small bg-green c-white mr10"},"\u7B80\u5355"),Nn.difficult===2&&Sa.createElement("span",{className:"tag-style-border-small bg-blue c-white mr10"},"\u9002\u4E2D"),Nn.difficult===3&&Sa.createElement("span",{className:"tag-style-border-small bg-orange c-white mr10"},"\u56F0\u96BE")))}))),!kn&&Sa.createElement(ze.ZP,{type:"primary",size:"large",style:{width:138},className:"mt30",loading:hr,onClick:()=>Fl()},"\u4FDD\u5B58"))};var xr=(0,he.connect)(({shixunHomeworks:ln,loading:Vt})=>({shixunHomeworks:ln,loading:Vt.effects}))(tr),fa=z(67294),eo=(ln,Vt,_t)=>new Promise((ka,Mr)=>{var Wa=kn=>{try{mr(_t.next(kn))}catch(na){Mr(na)}},Qn=kn=>{try{mr(_t.throw(kn))}catch(na){Mr(na)}},mr=kn=>kn.done?ka(kn.value):Promise.resolve(kn.value).then(Wa,Qn);mr((_t=_t.apply(ln,Vt)).next())});const Oo=({shixunHomeworks:ln,loading:Vt,dispatch:_t})=>{var ka,Mr;const[Wa,Qn]=(0,x.useState)(!0),[mr,kn]=(0,x.useState)(!1),[na,hr]=(0,x.useState)([]),[Do,sr]=(0,x.useState)([]),[Hi,$o]=(0,x.useState)([]),[wr,oi]=(0,x.useState)([]),[ba,sa]=(0,x.useState)(!1),[mo,nl]=(0,x.useState)(""),Ua=(0,he.useParams)();function Oa(){return eo(this,null,function*(){let ia=yield(0,ge.ZP)(`/api/homework_commons/${Ua.categoryId}/homework_common_collaborators.json`,{method:"get"});sr(ia)})}function Wo(){return eo(this,null,function*(){var ia;let Da=yield(0,ge.ZP)(`/api/courses/${Ua==null?void 0:Ua.coursesId}/teachers`,{method:"get",params:{homework_id:Ua.categoryId,limit:1e3}});(ia=Da==null?void 0:Da.teacher_list)==null||ia.map(Xa=>{Xa.key=Xa.user_id}),$o(Da==null?void 0:Da.teacher_list),oi(Da==null?void 0:Da.teacher_list)})}(0,x.useEffect)(()=>{Oa(),Wo()},[Ua]);const Fl=()=>{};return fa.createElement("section",{className:xn.form},fa.createElement(Bt.Z,{className:xn.content,style:{padding:"20px 30px",gap:20}},(ka=Do==null?void 0:Do.data)==null?void 0:ka.map(ia=>fa.createElement(Bt.Z,{align:"middle",className:`${xn.borderSty} ${mo===(ia==null?void 0:ia.id)?xn.delBorder:""}`,style:{height:"38px",borderRadius:"2px",padding:"0 12px",color:"#333333",background:"#fff"}},fa.createElement("span",{className:"c-grey-333"},ia==null?void 0:ia.real_name),(Do==null?void 0:Do.can_edit)&&fa.createElement("span",{style:{cursor:"pointer",marginLeft:"20px"},className:`iconfont icon-guanbi11 ${xn.delSty}`,onMouseEnter:()=>{nl(ia.id)},onMouseLeave:()=>{nl("")},onClick:()=>eo(void 0,null,function*(){(yield(0,ge.ZP)(`/api/homework_commons/${Ua.categoryId}/homework_common_collaborators/delete.json`,{method:"delete",body:{user_id:ia.id}})).status===0&&(Fe.ZP.info("\u5220\u9664\u6210\u529F"),Oa(),Wo())})}))),!(Do!=null&&Do.can_edit)&&!((Mr=Do==null?void 0:Do.data)!=null&&Mr.length)&&fa.createElement("span",{className:"c-grey-666"},"\u6682\u672A\u6DFB\u52A0\u534F\u4F5C\u8005"),(Do==null?void 0:Do.can_edit)&&fa.createElement(ze.ZP,{className:xn.copHover,style:{height:38,padding:"6px 15px",backgroundColor:"#fff"},type:"primary",ghost:!0,onClick:()=>kn(!0)},"\u6DFB\u52A0\u534F\u4F5C\u8005")),fa.createElement(we.default,{title:"\u6DFB\u52A0\u534F\u4F5C\u8005",open:mr,confirmLoading:ba,onCancel:()=>kn(!1),onOk:()=>eo(void 0,null,function*(){if(na.length===0){Fe.ZP.info("\u8BF7\u9009\u62E9\u534F\u4F5C\u8001\u5E08");return}sa(!0),(yield(0,ge.ZP)(`/api/homework_commons/${Ua.categoryId}/homework_common_collaborators.json`,{method:"post",body:{user_ids:na}})).status===0&&(Fe.ZP.info("\u6DFB\u52A0\u6210\u529F"),hr([]),Oa(),Wo(),kn(!1)),sa(!1)})},fa.createElement("div",null,fa.createElement("div",{style:{display:"flex"}},fa.createElement("label",{style:{width:"50px"}},"\u59D3\u540D\uFF1A")," ",fa.createElement(Yt.default.Search,{onChange:ia=>{$o(wr.filter(Da=>Da.name.indexOf(ia.target.value)>-1))}})),fa.createElement(Le.default,{style:{marginTop:"10px",height:"300px",overflow:"auto"},rowSelection:{type:"checkbox",onChange:(ia,Da)=>{hr(ia)},selectedRowKeys:na,getCheckboxProps:ia=>({disabled:ia.is_collaborator})},pagination:!1,dataSource:Hi,columns:[{title:"\u59D3\u540D",dataIndex:"name",key:"name"},{title:"\u89D2\u8272",dataIndex:"role",key:"role"}]}))))};var Ni=(0,he.connect)(({shixunHomeworks:ln,loading:Vt})=>({shixunHomeworks:ln,loading:Vt.effects}))(Oo),fi=z(67294);const Ii=[{key:"1",label:"\u53D1\u5E03\u8BBE\u7F6E",element:fi.createElement(qn,null)},{key:"2",label:"\u8BC4\u5206\u8BBE\u7F6E",element:fi.createElement(xr,null)},{key:"3",label:"\u5C55\u793A\u8BBE\u7F6E",element:fi.createElement(Tn,null)},{key:"4",label:"\u534F\u4F5C\u8BBE\u7F6E",element:fi.createElement(Ni,null)}];var tl=()=>fi.createElement(Ut.Z,{dataSource:Ii,style:{marginBottom:52}}),fu=z(246),ga=z.n(fu),lr=z(86763),Ar=z(67294),Ai=Object.defineProperty,ul=Object.defineProperties,kl=Object.getOwnPropertyDescriptors,vl=Object.getOwnPropertySymbols,hl=Object.prototype.hasOwnProperty,ru=Object.prototype.propertyIsEnumerable,Po=(ln,Vt,_t)=>Vt in ln?Ai(ln,Vt,{enumerable:!0,configurable:!0,writable:!0,value:_t}):ln[Vt]=_t,fe=(ln,Vt)=>{for(var _t in Vt||(Vt={}))hl.call(Vt,_t)&&Po(ln,_t,Vt[_t]);if(vl)for(var _t of vl(Vt))ru.call(Vt,_t)&&Po(ln,_t,Vt[_t]);return ln},ye=(ln,Vt)=>ul(ln,kl(Vt)),ke=(ln,Vt,_t)=>new Promise((ka,Mr)=>{var Wa=kn=>{try{mr(_t.next(kn))}catch(na){Mr(na)}},Qn=kn=>{try{mr(_t.throw(kn))}catch(na){Mr(na)}},mr=kn=>kn.done?ka(kn.value):Promise.resolve(kn.value).then(Wa,Qn);mr((_t=_t.apply(ln,Vt)).next())});const Pe=({shixunHomeworks:ln,loading:Vt,dispatch:_t})=>{const ka=(0,he.useParams)(),Mr=(0,he.useLocation)(),[Wa,Qn]=(0,x.useState)([]),[mr,kn]=(0,x.useState)([]),[na,hr]=(0,x.useState)(!0),[Do,sr]=(0,x.useState)(!1),[Hi,$o]=(0,x.useState)(1),[wr,oi]=(0,x.useState)([]),[ba,sa]=(0,x.useState)(!1),[mo,nl]=(0,x.useState)(!1),[Ua,Oa]=(0,x.useState)(!1);(0,x.useEffect)(()=>{ln.actionTabs.key==="\u4EE3\u7801\u67E5\u91CD"?(Wo.resetFields(),Qn([]),sa(!0),ia()):sa(!1)},[ln.actionTabs.key]);const[Wo]=dn.default.useForm();let Fl=[];const ia=()=>ke(void 0,null,function*(){var Nn;if(na&&!Do){sr(!0),$o(Hi+1);const ja=yield(0,lr.JG)(ye(fe({},ka),{page:Hi})),Wn=[...ja.group_list];ja!=null&&ja.ungroup_list&&Wn.push({id:ja==null?void 0:ja.ungroup_list.id,name:ja==null?void 0:ja.ungroup_list.name,works_count:ja==null?void 0:ja.ungroup_list.work_count,last_review_time:ja==null?void 0:ja.ungroup_list.last_review_time}),Qn([...Wa,...Wn]),sr(!1),((Nn=ja.group_list)==null?void 0:Nn.length)<10&&hr(!1)}}),Da=()=>{_t({type:"shixunHomeworks/setActionTabs",payload:{}}),nl(!1),hr(!0),sr(!1),$o(1),Qn([]),Wo.resetFields()},Xa=[{title:"",dataIndex:"id",width:280,render:(Nn,ja)=>Ar.createElement(Xt.default,{disabled:!(ja.works_count>1),value:String(ja.id)},ja.name)},{title:"\u6709\u6548\u4F5C\u54C1\u6570",dataIndex:"works_count"},{title:"\u4E0A\u6B21\u67E5\u91CD\u65F6\u95F4",dataIndex:"last_review_time",width:130}];return Ar.createElement(we.default,{centered:!0,title:"\u4EE3\u7801\u67E5\u91CD",keyboard:!1,maskClosable:!1,open:ba,okText:"\u786E\u8BA4",cancelText:"\u53D6\u6D88",width:820,bodyStyle:{minHeight:200},onOk:()=>ke(void 0,null,function*(){const Nn=Wo.getFieldValue();Oa(!0);const ja=yield(0,ge.ZP)(`/api/homework_commons/${ka.categoryId}/hack_homework_code_repeat.json`,{method:"post",body:{group_ids:[...Nn.group_ids]}});Oa(!1),ja.status===0&&(Da(),yield _t({type:"shixunHomeworks/getWorkList",payload:ln.actionTabs.params}),he.history.push(`/classrooms/${ka.coursesId}/program_homework/${ka.categoryId}/detail?tabs=2`),_t({type:"shixunHomeworks/setActionTabs",payload:{key:"\u6267\u884C\u4EE3\u7801\u67E5\u91CD"}}))}),okButtonProps:{loading:Ua},onCancel:Da},Ar.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"),ln.codeReviewCourse&&Ar.createElement(dn.default,{form:Wo,onChange:Nn=>{oi(fe({},Wo.getFieldValue()))},initialValues:{group_ids:Fl,end_time:de()(de()().add(7,"days").format("YYYY-MM-DD HH:mm"))}},Ar.createElement("div",{className:"flexd-table-header mt20"},Ar.createElement(Le.default,{pagination:!1,dataSource:[],columns:Xa})),Ar.createElement(dn.default.Item,{name:"group_ids"},Ar.createElement(Xt.default.Group,{className:"w100"},Ar.createElement("div",{style:{width:"100%",maxHeight:260,overflow:"auto"}},Ar.createElement(ga(),{initialLoad:!1,pageStart:1,threshold:20,loadMore:Nn=>{ia()},hasMore:na,useWindow:!1},Ar.createElement(Le.default,{loading:Vt.effects["shixunHomeworks/getCodeReviewCourse"],showHeader:!1,columns:Xa,dataSource:Wa,pagination:!1})))))),Ar.createElement(Bt.Z,null,Ar.createElement(Bn.Z,{className:"ml10"},Ar.createElement(Xt.default,{checked:mo,onChange:Nn=>{nl(Nn.target.checked);let ja=[];Nn.target.checked&&(ja=Wa.filter(Wn=>Wn.works_count>1).map(Wn=>Wn.id+"")),Wo.setFieldsValue({group_ids:ja})}},"\u5168\u9009"))))};var et=(0,he.connect)(({shixunHomeworks:ln,loading:Vt})=>({shixunHomeworks:ln,loading:Vt}))(Pe),ut=z(86169),St=z(12082),nt=z(41642),ct=z(93686),vt=z(98769),hn=z(9151),Cn=z(37752),oa=z(33648),$n=z(70562),Ia=z(51959),xa=Object.defineProperty,Mn=Object.defineProperties,jt=Object.getOwnPropertyDescriptors,Fn=Object.getOwnPropertySymbols,Rn=Object.prototype.hasOwnProperty,Ca=Object.prototype.propertyIsEnumerable,Ta=(ln,Vt,_t)=>Vt in ln?xa(ln,Vt,{enumerable:!0,configurable:!0,writable:!0,value:_t}):ln[Vt]=_t,Ma=(ln,Vt)=>{for(var _t in Vt||(Vt={}))Rn.call(Vt,_t)&&Ta(ln,_t,Vt[_t]);if(Fn)for(var _t of Fn(Vt))Ca.call(Vt,_t)&&Ta(ln,_t,Vt[_t]);return ln},Ja=(ln,Vt)=>Mn(ln,jt(Vt)),Za=(ln,Vt,_t)=>new Promise((ka,Mr)=>{var Wa=kn=>{try{mr(_t.next(kn))}catch(na){Mr(na)}},Qn=kn=>{try{mr(_t.throw(kn))}catch(na){Mr(na)}},mr=kn=>kn.done?ka(kn.value):Promise.resolve(kn.value).then(Wa,Qn);mr((_t=_t.apply(ln,Vt)).next())});let ma=[hn.Z,Cn.Z,oa.Z];const za=({user:ln,classroomList:Vt,shixunHomeworks:_t})=>{var ka,Mr,Wa;let[Qn,mr]=(0,x.useState)(Ma(Ja(Ma({},(0,he.useParams)()),{page:1,per_page:20,rank_type:2,search:"",course_group:(0,Ne.dE)()?[ln.userInfo.course.course_group_id]:[]}),(0,he.useParams)()));const[kn,na]=(0,x.useState)([]),[hr,Do]=(0,x.useState)([]),[sr,Hi]=(0,x.useState)([]),[$o,wr]=(0,x.useState)(!1),[oi,ba]=(0,x.useState)(!1);let[sa,mo]=(0,x.useState)([{title:"\u6392\u884C",dataIndex:"rank",width:70,fixed:"left",ellipsis:!0,sorter:(ia,Da)=>ia.rank-Da.rank,render:(ia,Da,Xa)=>ia<4?x.createElement("img",{src:ma[ia-1]}):ia},{title:"\u59D3\u540D",dataIndex:"user_name",width:80,fixed:"left",ellipsis:!0,key:"user_name",render:(ia,Da,Xa)=>x.createElement("span",null,Da.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"),ia)},{title:"\u5B66\u53F7",dataIndex:"student_id",key:"student_id",width:80,ellipsis:!0,fixed:"left",render:ia=>ia||"- -"},{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:ia=>x.createElement("span",null,ia," ",ia!="-"&&"\u9898")},{title:"\u5F97\u5206",dataIndex:"score",width:50,ellipsis:!0,fixed:"left",key:"score"}]);const[nl,Ua]=(0,x.useState)(null),Oa=()=>{var ia,Da;const Xa=((ia=document.getElementById("filterWarp"))==null?void 0:ia.clientHeight)||0,Nn=((Da=document.getElementById("pagination"))==null?void 0:Da.clientHeight)||0;return window.innerHeight-Xa-Nn-110};(0,x.useEffect)(()=>{const ia=()=>{Ua(Oa())};return window.addEventListener("resize",ia),()=>{window.removeEventListener("resize",ia)}},[]),(0,x.useEffect)(()=>{var ia,Da,Xa,Nn,ja;sa.splice(7);for(let Wn=0;Wn<((ia=kn==null?void 0:kn.question_data)==null?void 0:ia.length);Wn++){let Bo={};Bo.title=kn!=null&&kn.sent_type?x.createElement("span",null,"\u9898\u76EE"+(Wn+1)+`\uFF08${(Xa=(Da=kn==null?void 0:kn.question_data)==null?void 0:Da[Wn])==null?void 0:Xa.question_score}\uFF09`):x.createElement("a",{onClick:()=>Za(void 0,null,function*(){var to,io;let qo=yield(0,ge.ZP)(`/api/problems/${(io=(to=kn==null?void 0:kn.question_data)==null?void 0:to[Wn])==null?void 0:io.identifier}/start.json`,{method:"get"});qo&&(window.open(`/myproblems/${qo==null?void 0:qo.identifier}?type=1`),localStorage.setItem("program_homework",[Qn.coursesId,Qn.categoryId]))})},"\u9898\u76EE"+(Wn+1)+`\uFF08${(ja=(Nn=kn==null?void 0:kn.question_data)==null?void 0:Nn[Wn])==null?void 0:ja.question_score}\uFF09`),Bo.dataIndex="question_data",Bo.width=140,Bo.render=(to,io)=>{var qo,Jr,li,ir,Ro;return x.createElement("div",null,((qo=to==null?void 0:to[Wn])==null?void 0:qo.answer_question_time)&&x.createElement("div",null,x.createElement("span",{style:{cursor:"pointer"},className:"iconfont icon-shixun4 c-blue",onClick:()=>Za(void 0,null,function*(){var Oi,Fi,Gn,Pa,Nr,va,nr,xo;if((0,Ne.Rm)()&&!((Oi=Vt.AssistantObject.hack)!=null&&Oi.can_appraise)){Fe.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(!((Fi=to==null?void 0:to[Wn])!=null&&Fi.open_code)){Fe.ZP.info("\u6682\u4E0D\u5141\u8BB8\u67E5\u770B\u4EE3\u7801");return}let lo=yield(0,ge.ZP)("/api/courses/view_code.json",{method:"get",params:Ja(Ma({},Qn),{id:Qn.coursesId,homework_common_id:Qn.categoryId,hack_user_code_id:(Gn=to==null?void 0:to[Wn])==null?void 0:Gn.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",(Pa=to==null?void 0:to[Wn])==null?void 0:Pa.current_language),x.createElement("span",null,"\u8FD0\u884C\u5185\u5B58\uFF1A",(Nr=to==null?void 0:to[Wn])==null?void 0:Nr.memory,"\uFF08KB\uFF09"),x.createElement("span",null,"\u8FD0\u884C\u65F6\u957F\uFF1A",(va=to==null?void 0:to[Wn])==null?void 0:va.run_time,"\uFF08ms\uFF09"),x.createElement("span",null,"\u5F97\u5206\uFF1A",(nr=to==null?void 0:to[Wn])==null?void 0:nr.score)),content:x.createElement($n.Z,{classroomList:Vt,user:ln,languages:[{language:(xo=to==null?void 0:to[Wn])==null?void 0:xo.language,code:lo==null?void 0:lo.code}],v:to,shixunWorkReport:"shixunWorkReport",dispatch:"dispatch",autoHeight:!1,language:to.language,game_id:to.id,diff_code_count:to.diff_code_count})})})}),x.createElement("span",{style:{margin:"0px 10px"}},((Jr=to==null?void 0:to[Wn])==null?void 0:Jr.answer_question_time)||"- -"),(li=to==null?void 0:to[Wn])!=null&&li.submit_count?x.createElement(je.Z,{title:`${((ir=to==null?void 0:to[Wn])==null?void 0:ir.submit_count)||0}\u6B21\u5C1D\u8BD5\u51FA\u9519`},x.createElement("span",{style:{color:"red",marginRight:5},className:"iconfont icon-Bug"}),((Ro=to==null?void 0:to[Wn])==null?void 0:Ro.submit_count)||0):null))},sa.push(Bo)}mo([...sa])},[kn==null?void 0:kn.question_data]),(0,x.useEffect)(()=>{var ia;(ia=ln==null?void 0:ln.userInfo)!=null&&ia.course&&((0,Ne.dE)()&&(Qn.course_group=(0,Ne.dE)()?[ln.userInfo.course.course_group_id]:[],mr(Ma({},Qn))),Wo(1))},[ln==null?void 0:ln.userInfo]);function Wo(ia){return Za(this,null,function*(){var Da,Xa,Nn,ja,Wn,Bo,to;wr(!0);let io=yield(0,ge.ZP)("/api/courses/rank_list.json",{method:"get",params:Ja(Ma({},Qn),{id:Qn.coursesId,rank_type:2,homework_common_id:Qn.categoryId})});if(na(io),wr(!1),io.status!=-1&&((0,Ne.dE)()?(ia===1&&Do([(Xa=(Da=io==null?void 0:io.course_group)==null?void 0:Da[0])==null?void 0:Xa.id]),io!=null&&io.my_rank?Hi([Ma({is_me:!0},io==null?void 0:io.my_rank),...io==null?void 0:io.rank_list]):Hi([...io==null?void 0:io.rank_list])):Hi([...io==null?void 0:io.rank_list]),ia===1)){let qo={title:(io==null?void 0:io.hack_rank_rule)===0?x.createElement(je.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${io==null?void 0:io.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:(io==null?void 0:io.hack_rank_rule)===0?"finish_time":"finish_at",width:(io==null?void 0:io.hack_rank_rule)===0?80:150,ellipsis:!0,fixed:"left",key:"finish_time"};sa.push(qo);for(let Jr=0;Jr<((Nn=io==null?void 0:io.question_data)==null?void 0:Nn.length);Jr++){let li={};li.title=io!=null&&io.sent_type?x.createElement("span",null,"\u9898\u76EE"+(Jr+1)+`\uFF08${(Wn=(ja=io==null?void 0:io.question_data)==null?void 0:ja[Jr])==null?void 0:Wn.question_score}\uFF09`):x.createElement("a",{onClick:()=>Za(this,null,function*(){var ir,Ro;let Oi=yield(0,ge.ZP)(`/api/problems/${(Ro=(ir=io==null?void 0:io.question_data)==null?void 0:ir[Jr])==null?void 0:Ro.identifier}/start.json`,{method:"get"});Oi&&(window.open(`/myproblems/${Oi==null?void 0:Oi.identifier}?type=1`),localStorage.setItem("program_homework",[Qn.coursesId,Qn.categoryId]))})},"\u9898\u76EE"+(Jr+1)+`\uFF08${(to=(Bo=io==null?void 0:io.question_data)==null?void 0:Bo[Jr])==null?void 0:to.question_score}\uFF09`),li.dataIndex="question_data",li.width=140,li.render=(ir,Ro)=>{var Oi,Fi,Gn,Pa,Nr;return x.createElement("div",null,((Oi=ir==null?void 0:ir[Jr])==null?void 0:Oi.answer_question_time)&&x.createElement("div",null,x.createElement("span",{style:{cursor:"pointer"},className:"iconfont icon-shixun4 c-blue",onClick:()=>Za(this,null,function*(){var va,nr,xo,lo,Ei,Oe,qe,tt;if((0,Ne.Rm)()&&!((va=Vt.AssistantObject.hack)!=null&&va.can_view)){Fe.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(!((nr=ir==null?void 0:ir[Jr])!=null&&nr.open_code)){Fe.ZP.info("\u6682\u4E0D\u5141\u8BB8\u67E5\u770B\u4EE3\u7801");return}let Ft=yield(0,ge.ZP)("/api/courses/view_code.json",{method:"get",params:Ja(Ma({},Qn),{id:Qn.coursesId,homework_common_id:Qn.categoryId,hack_user_code_id:(xo=ir==null?void 0:ir[Jr])==null?void 0:xo.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",(lo=ir==null?void 0:ir[Jr])==null?void 0:lo.current_language),x.createElement("span",null,"\u8FD0\u884C\u5185\u5B58\uFF1A",(Ei=ir==null?void 0:ir[Jr])==null?void 0:Ei.memory,"\uFF08KB\uFF09"),x.createElement("span",null,"\u8FD0\u884C\u65F6\u957F\uFF1A",(Oe=ir==null?void 0:ir[Jr])==null?void 0:Oe.run_time,"\uFF08ms\uFF09"),x.createElement("span",null,"\u5F97\u5206\uFF1A",(qe=ir==null?void 0:ir[Jr])==null?void 0:qe.score)),content:x.createElement($n.Z,{classroomList:Vt,user:ln,languages:[{language:(tt=ir==null?void 0:ir[Jr])==null?void 0:tt.language,code:Ft==null?void 0:Ft.code}],v:ir,shixunWorkReport:"shixunWorkReport",dispatch:"dispatch",autoHeight:!1,language:ir.language,game_id:ir.id,diff_code_count:ir.diff_code_count})})})}),x.createElement("span",{style:{margin:"0px 10px"}},((Fi=ir==null?void 0:ir[Jr])==null?void 0:Fi.answer_question_time)||"- -"),(Gn=ir==null?void 0:ir[Jr])!=null&&Gn.submit_count?x.createElement(je.Z,{title:`${((Pa=ir==null?void 0:ir[Jr])==null?void 0:Pa.submit_count)||0}\u6B21\u5C1D\u8BD5\u51FA\u9519`},x.createElement("span",{style:{color:"red",marginRight:5},className:"iconfont icon-Bug"}),((Nr=ir==null?void 0:ir[Jr])==null?void 0:Nr.submit_count)||0):null))},sa.push(li)}mo([...sa])}})}console.log("----",_t,sa);const Fl=(ka=_t==null?void 0:_t.workSetting)==null?void 0:ka.hack_rank_rule;return x.createElement("div",{style:{width:1200,margin:"0px auto",minHeight:oi?"100vh":""},id:"rankingInfo"},(kn==null?void 0:kn.message)==="\u5C01\u699C\u4E2D"?x.createElement(On.Z,{customText:"\u7B54\u9898\u65F6\u95F4\u8FDB\u5165\u5012\u8BA1\u65F6\uFF0C\u6682\u65F6\u5C01\u699C\uFF0C\u8BF7\u52A0\u901F\u7ADE\u6280\u901A\u5173\u7B54\u9898"}):x.createElement("div",{style:{background:"#fff",padding:20,height:"100%",overflow:"auto"}},x.createElement("div",{id:"filterWarp"},x.createElement("div",{style:{display:"flex",justifyContent:"space-between"}},x.createElement("div",{style:{display:"flex",width:"90%"}},x.createElement("label",null,"\u5206\u73ED\u60C5\u51B5\uFF1A"),(0,Ne.GJ)()&&x.createElement("div",{style:{flex:1}},x.createElement(Xt.default.Group,{className:nt.Z.checkboxgroup,value:hr,onChange:ia=>{var Da;Qn.type===1?(Do([]),Qn.course_group=[],Qn.page=1,mr(Ma({},Qn)),Wo()):Qn.type===2?(Do(["\u5168\u90E8"]),Qn.course_group=(Da=kn==null?void 0:kn.course_group)==null?void 0:Da.map(Xa=>Xa.id),Qn.page=1,mr(Ma({},Qn)),Wo()):(Do([...ia.filter(Xa=>Xa!="\u5168\u90E8")]),Qn.course_group=ia.filter(Xa=>Xa!="\u5168\u90E8"),Qn.page=1,mr(Ma({},Qn)),Wo())}},x.createElement(Xt.default,{value:"\u5168\u90E8",style:{marginBottom:10},onChange:ia=>{ia.target.checked?Qn.type=2:Qn.type=1}},"\u5168\u90E8\u5206\u73ED"),(Mr=kn==null?void 0:kn.course_group)==null?void 0:Mr.map((ia,Da)=>x.createElement(Xt.default,{style:{marginBottom:10},onChange:Xa=>{Qn.type=3},value:ia.id},ia==null?void 0:ia.name)))),(0,Ne.dE)()&&x.createElement(Tt.ZP.Group,{style:{marginBottom:10},onChange:ia=>{ia.target.value==="\u5168\u90E8"?(Qn.course_group=[],Qn.page=1,mr(Ma({},Qn)),Wo()):(Qn.course_group=[ia.target.value],Qn.page=1,mr(Ma({},Qn)),Wo())},defaultValue:ln.userInfo.course.course_group_id},x.createElement(Tt.ZP,{value:"\u5168\u90E8",style:{marginBottom:10}},"\u5168\u90E8\u5206\u73ED"),(Wa=kn==null?void 0:kn.course_group)==null?void 0:Wa.map((ia,Da)=>x.createElement(Tt.ZP,{style:{marginBottom:10},value:ia.id},ia.name)))),x.createElement("div",{style:{color:"#3061D0",cursor:"pointer"},onClick:()=>{oi?(0,Ia.BU)():(0,Ia.Dj)(document.getElementById("rankingInfo")),ba(!oi)}},x.createElement("i",{style:{fontSize:12},className:`mr10 iconfont ${oi?"icon-tuichuquanping2":"icon-quanping2"}`}),x.createElement("span",null,oi?"\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",Fl===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,Fl===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"),Fl==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,Ne.GJ)()&&x.createElement(x.Fragment,null,x.createElement(Yt.default.Search,{className:"mr20",onSearch:ia=>{Qn.page=1,Qn.search=ia,mr(Ma({},Qn)),Wo()},placeholder:"\u8BF7\u8F93\u5165\u7528\u6237\u540D/\u5B66\u53F7\u8FDB\u884C\u641C\u7D22",style:{width:250,marginLeft:"auto"}}),x.createElement(ze.ZP,{onClick:()=>{(0,vt.VY)(Ja(Ma({},Qn),{id:Qn.coursesId,rank_type:2,homework_common_id:Qn.categoryId}))}},"\u5BFC\u51FA")))),x.createElement(Ee.Z,{spinning:$o},x.createElement(Le.default,{style:{marginTop:10},pagination:!1,scroll:{x:1200,y:oi?nl:null},rowClassName:(ia,Da)=>Da===0&&(0,Ne.dE)()&&nt.Z.tables,dataSource:sr,columns:sa})),x.createElement("div",{id:"pagination",style:{width:"100%",textAlign:"center",marginTop:10}},x.createElement(be.Z,{current:Qn.page,pageSize:Qn.per_page,total:kn==null?void 0:kn.count,showSizeChanger:!0,onChange:(ia,Da)=>{Qn.page=ia,Qn.per_page=Da,mr(Ma({},Qn)),Wo()}}))))};var Na=(0,he.connect)(({shixunHomeworks:ln,user:Vt,classroomList:_t})=>({user:Vt,shixunHomeworks:ln,classroomList:_t}))(za),cr=z(6151),br=z(58387),oo=z(17755),zo=z(44694),ai=z(52765),ya=z(67294),ri=Object.defineProperty,Ji=Object.getOwnPropertySymbols,Kl=Object.prototype.hasOwnProperty,mu=Object.prototype.propertyIsEnumerable,Ll=(ln,Vt,_t)=>Vt in ln?ri(ln,Vt,{enumerable:!0,configurable:!0,writable:!0,value:_t}):ln[Vt]=_t,sl=(ln,Vt)=>{for(var _t in Vt||(Vt={}))Kl.call(Vt,_t)&&Ll(ln,_t,Vt[_t]);if(Ji)for(var _t of Ji(Vt))mu.call(Vt,_t)&&Ll(ln,_t,Vt[_t]);return ln},Ti=(ln,Vt,_t)=>new Promise((ka,Mr)=>{var Wa=kn=>{try{mr(_t.next(kn))}catch(na){Mr(na)}},Qn=kn=>{try{mr(_t.throw(kn))}catch(na){Mr(na)}},mr=kn=>kn.done?ka(kn.value):Promise.resolve(kn.value).then(Wa,Qn);mr((_t=_t.apply(ln,Vt)).next())});let Cu=[{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 Cl=({shixunHomeworks:ln,classroomList:Vt,globalSetting:_t,user:ka,loading:Mr,dispatch:Wa})=>{var Qn,mr,kn;const na=(0,he.useParams)(),[hr]=(0,he.useSearchParams)(),[Do,sr]=(0,x.useState)(hr.get("tabs")||"0"),[Hi,$o]=(0,x.useState)({}),{workList:wr,workSetting:oi}=ln,[ba,sa]=(0,x.useState)(!1);na.category=hr.get("category_id"),na.order="work_score",na.b_order="desc",(0,x.useEffect)(()=>{(0,Ne.Rm)()&&Wa({type:"classroomList/getAssistantPermissions",payload:{course_id:na.coursesId}})},[(Qn=ka==null?void 0:ka.userInfo)==null?void 0:Qn.login]);const mo=Da=>{var Xa;if(Da==="3"&&Wa({type:"shixunHomeworks/getWorkSetting",payload:sl({},na)}),Da==="5"&&!((Xa=Vt.AssistantObject.hack)!=null&&Xa.can_exam_leaderboard)&&(0,Ne.Rm)()){Fe.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}sr(Da),Da==="0"&&Wa({type:"shixunHomeworks/getWorkList",payload:na})},nl=()=>{we.default.confirm({centered:!0,width:530,title:"\u63D0\u793A",okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",content:ya.createElement("div",{className:"tc font16"},"\u4F60\u5728\u8BE5\u5B9E\u8BAD\u7684\u5B66\u4E60\u8BB0\u5F55\u5C06\u88AB\u6E05\u7A7A\uFF0C\u65E0\u6CD5\u6062\u590D",ya.createElement("br",null),"\u662F\u5426\u786E\u8BA4\u91CD\u505A\uFF1F"),onOk:()=>Ti(void 0,null,function*(){var Da;const Xa=(Da=ln.workList)==null?void 0:Da.myshixun_identifier;(yield(0,lr.Fr)({id:Xa}))&&(Fe.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`),Wa({type:"shixunHomeworks/getWorkList",payload:Hi}))})})},Ua=Da=>{Da=Da!=null&&Da.includes(".json")?Da:`${Da}.json`,we.default.confirm({centered:!0,title:"\u63D0\u793A",okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",content:ya.createElement("div",{className:"tc font16"},"\u5B9E\u8BAD\u5DF2\u7ECF\u66F4\u65B0\u4E86\uFF0C\u6B63\u5728\u4E3A\u60A8\u91CD\u7F6E!"),onOk:()=>Ti(void 0,null,function*(){const Xa=yield(0,ct.$Q)({url:Da});if(!Xa)return;Fe.ZP.success("\u91CD\u7F6E\u6210\u529F\uFF0C\u6B63\u5728\u8FDB\u5165\u5B9E\u8DF5\u9879\u76EE\uFF01");const Nn=yield(0,ct.Ir)({id:Xa.shixun_identifier});if(Nn!=null&&Nn.game_identifier){(0,De.xg)(`/tasks/${Nn.game_identifier}?coursesId=${na.coursesId}`);return}(Nn==null?void 0:Nn.status)===2?Ua(Nn==null?void 0:Nn.message):(Nn==null?void 0:Nn.status)===3&&Oa(Nn==null?void 0:Nn.message)})})},Oa=Da=>{we.default.confirm({centered:!0,title:"\u63D0\u793A",okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",content:ya.createElement("div",{className:"tc font16"},"\u76EE\u524D\u8BE5\u5B9E\u8DF5\u9879\u76EE\u5C1A\u5728\u5185\u6D4B\u4E2D\uFF0C\u5C06\u4E8E",Da,"\u4E4B\u540E\u5F00\u653E\uFF0C\u8C22\u8C22\uFF01")})},Wo=Da=>Ti(void 0,null,function*(){Da=Da!=null&&Da.includes(".json")?Da:`${Da}.json`;const Xa=yield(0,ct.$Q)({url:Da});if(console.log(Xa,"execRes"),Xa!=null&&Xa.game_identifier){(0,De.xg)(`/tasks/${Xa.game_identifier}?coursesId=${na.coursesId}`);return}(Xa==null?void 0:Xa.status)===-3?(0,De.eF)():(Xa==null?void 0:Xa.status)===2?Ua(Xa==null?void 0:Xa.message):(Xa==null?void 0:Xa.status)===3&&Oa(Xa==null?void 0:Xa.message)}),Fl=[(0,Ne.dE)()&&{name:"\u9898\u76EE",id:"1",compontent:ya.createElement(wn,null)},{name:(0,Ne.GJ)()?"\u5B66\u751F\u5217\u8868":"\u4F5C\u4E1A\u60C5\u51B5",id:"0",compontent:ya.createElement(Ge.Z,{setExportParams:$o}),forceRender:!0},!(0,Ne.dE)()&&{name:"\u9898\u76EE",id:"1",compontent:ya.createElement(wn,null),hidden:!1},{name:"\u6392\u540D",id:"5",compontent:ya.createElement(Na,null),hidden:!1},{name:"\u4EE3\u7801\u67E5\u91CD",id:"2",compontent:ya.createElement(bt,null)},{name:"\u91CD\u505A\u8BB0\u5F55",id:"9",compontent:ya.createElement(zo.Z,null)},{name:"\u8BBE\u7F6E",id:"3",compontent:(mr=wr.homework_status)!=null&&mr.includes("\u5BFC\u5165")?ya.createElement(oo.Z,null):ya.createElement(tl,null),forceRender:!0},{name:"\u89E3\u7B54&\u8BA8\u8BBA",id:"6",compontent:ya.createElement(ai.default,null)}].filter(Da=>!!Da).filter(Da=>{var Xa,Nn;return(0,Ne.dE)()?Da.name!=="\u4EE3\u7801\u67E5\u91CD"&&Da.name!=="\u8BBE\u7F6E":(0,Ne.dE)()||((Xa=wr==null?void 0:wr.homework_status)==null?void 0:Xa[0])!=="\u5DF2\u622A\u6B62"?Da.name!=="\u8D28\u91CF\u68C0\u6D4B":!wr.code_review&&((Nn=wr==null?void 0:wr.homework_status)==null?void 0:Nn[0])!=="\u672A\u53D1\u5E03"?!0:Da.name!=="\u4EE3\u7801\u67E5\u91CD"}).filter(Da=>wr.open_code_quality_analysis?!0:Da.name!=="\u8D28\u91CF\u68C0\u6D4B").filter(Da=>{var Xa;return(Xa=wr.homework_status)!=null&&Xa.includes("\u5BFC\u5165")?(0,Ne.dE)()?["0","1"].includes(Da.id):["0","1","3"].includes(Da.id):!0}),ia=()=>{var Da,Xa,Nn,ja,Wn,Bo,to,io,qo,Jr,li;return ya.createElement("aside",{className:nt.Z.workListTabButton},(0,Ne.dE)()&&!((Da=wr.homework_status)!=null&&Da.includes("\u5BFC\u5165"))&&ya.createElement("span",{style:{fontWeight:800,color:"#0152d9",textAlign:"end",flex:1,cursor:"pointer"}},ya.createElement(ze.ZP,{onClick:()=>Ti(void 0,null,function*(){var ir;let Ro=yield(0,ge.ZP)(`/api/problems/${(ir=ln.workList)==null?void 0:ir.start_identifier}/start.json`,{method:"get"});Ro&&(window.open(`/myproblems/${Ro==null?void 0:Ro.identifier}?type=1&backUrl=/classrooms/${na.coursesId}/program_homework/${na.categoryId}/detail?tabs=1`),localStorage.setItem("program_homework",[na==null?void 0:na.coursesId,na==null?void 0:na.categoryId]))}),type:"primary"},(Xa=wr.homework_status)!=null&&Xa.includes("\u5DF2\u622A\u6B62")?"\u67E5\u770B\u4F5C\u4E1A":"\u8FDB\u5165\u7EC3\u4E60"," ")),(0,Ne.dE)()&&((Nn=ln.workList)==null?void 0:Nn.redo_work)&&ya.createElement(ze.ZP,{onClick:nl,type:"primary",icon:ya.createElement("i",{className:"iconfont icon-dahuizhongzuo3x"})},"\u91CD\u505A"),((ja=ln.workList)==null?void 0:ja.shixun_status)>1&&((Wn=ln.workList)==null?void 0:Wn.time_status)<5&&(0,Ne.dE)()&&ya.createElement(ze.ZP,{type:"primary",icon:ya.createElement("i",{className:"iconfont icon-kaiqizhong"}),onClick:()=>{var ir,Ro,Oi,Fi,Gn,Pa,Nr;(0,ua.tJ)(Wa,!0)&&((Oi=(Ro=(ir=ln.workList)==null?void 0:ir.task_operation)==null?void 0:Ro[1])!=null&&Oi.includes("/")?Wo((Gn=(Fi=ln.workList)==null?void 0:Fi.task_operation)==null?void 0:Gn[1]):(0,De.xg)(`/tasks/${(Nr=(Pa=ln.workList)==null?void 0:Pa.task_operation)==null?void 0:Nr[1]}`))}},(to=(Bo=ln.workList)==null?void 0:Bo.task_operation)==null?void 0:to[0]),((io=ln.workList)==null?void 0:io.commit_des)&&((qo=ln.workList)==null?void 0:qo.commit_des)&&ya.createElement(ze.ZP,{type:"primary",icon:ya.createElement("i",{className:"iconfont icon-tijiaozongjie"}),onClick:()=>{var ir;(0,De.xg)(`/classrooms/${na.coursesId}/shixun_homework/${na.categoryId}/${(ir=ln.workList)==null?void 0:ir.id}/commitsummary`)}},(Jr=ln.workList)==null?void 0:Jr.commit_des),(oi==null?void 0:oi.hack_edit_permission)&&((li=wr==null?void 0:wr.homework_status)==null?void 0:li[0])==="\u672A\u53D1\u5E03"&&ya.createElement(ze.ZP,{type:"primary",icon:ya.createElement("i",{className:"iconfont icon-bianji2"}),onClick:()=>{var ir;if(!((ir=Vt.AssistantObject.hack)!=null&&ir.can_create)&&(0,Ne.Rm)()){Fe.ZP.warning("\u60A8\u672A\u83B7\u53D6\u6B64\u6743\u9650\uFF0C\u9700\u5411\u8BFE\u5802\u7BA1\u7406\u5458\u7533\u8BF7\u6743\u9650\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD");return}he.history.push(`/classrooms/${na.coursesId}/program_homework/${na.categoryId}/edit`)}},"\u7F16\u8F91\u4F5C\u4E1A"),(0,Ne.GJ)()&&wr.publish_immediately&&ya.createElement(ze.ZP,{type:"primary",icon:ya.createElement("i",{className:"iconfont icon-yishezhifabushijian1"}),onClick:()=>{var ir,Ro;if(!((ir=Vt.AssistantObject.hack)!=null&&ir.can_publish)&&(0,Ne.Rm)()){Fe.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(((Ro=ka==null?void 0:ka.userInfo)==null?void 0:Ro.user_status)===2){(0,ua.Rd)();return}Wa({type:"classroomList/setActionTabs",payload:{key:"\u7ACB\u5373\u53D1\u5E03",selectArrs:[na.categoryId],selectArrsAll:[wr],params:na,detail:!0,type:2,manage_all_group:oi==null?void 0:oi.manage_all_group}})}},"\u7ACB\u5373\u53D1\u5E03"),(0,Ne.GJ)()&&wr.end_immediately&&ya.createElement(ze.ZP,{style:{background:"#0152d9",color:"#fff"},type:"primary",icon:ya.createElement("i",{className:"iconfont icon-jiezhishiyan"}),onClick:()=>{var ir;if(!((ir=Vt.AssistantObject.hack)!=null&&ir.can_stop)&&(0,Ne.Rm)()){Fe.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}Wa({type:"classroomList/setActionTabs",payload:{key:"\u7ACB\u5373\u622A\u6B62",params:na,type:2,detail:!0,selectArrs:[na.categoryId]}})}},"\u7ACB\u5373\u622A\u6B62"))};return ya.createElement("section",null,ya.createElement("div",{className:"edu-container"},wr.homework_name&&ya.createElement("section",{className:"animated fadeIn"},ya.createElement("aside",{className:"mt10"},wr.category&&ya.createElement(se.Z,{separator:">"},ya.createElement(se.Z.Item,null,ya.createElement(he.Link,{to:`/classrooms/${na==null?void 0:na.coursesId}/program_homework`},wr.course_name)),ya.createElement(se.Z.Item,null,ya.createElement(he.Link,{to:`/classrooms/${na==null?void 0:na.coursesId}/program_homework/${wr.category.main?"":wr.category.category_id}`},wr.category.category_name)),ya.createElement(se.Z.Item,null,"\u4F5C\u4E1A\u8BE6\u60C5"))),ya.createElement("aside",{className:[nt.Z.title,"mt20"].join(" ")},ya.createElement(he.Link,{to:`/classrooms/${wr.course_id}/program_homework/${wr.category.main?"":wr.category.category_id}`},ya.createElement(Ke.Z,{className:"font16 c-black"})),ya.createElement(je.Z,{title:wr.homework_name,placement:"bottom"},ya.createElement("strong",{className:"font20 ml5"},wr.homework_name)),ya.createElement(De.VV,{temporary:!0,status:wr.homework_status}))),ya.createElement("aside",{className:`mt30 relative ${nt.Z.workListTabWrap}`},ya.createElement(Te.default,{type:"card",defaultActiveKey:Do,activeKey:Do,tabBarExtraContent:(kn=wr.homework_status)!=null&&kn.includes("\u5BFC\u5165")&&(0,Ne.GJ)()?ya.createElement(ze.ZP,{icon:ya.createElement("span",{className:"iconfont icon-shixun3 translateY1"}),onClick:()=>{Wa({type:"classroomList/setActionTabs",payload:{key:"\u8865\u5145\u6210\u7EE9",name:wr==null?void 0:wr.homework_name,id:wr==null?void 0:wr.homework_id,type:"hack"}})},type:"primary"},"\u8865\u5145\u6210\u7EE9"):ia(),onChange:mo},Fl.map((Da,Xa)=>ya.createElement(Te.default.TabPane,{tab:Da.name,key:Da.id,forceRender:Da.forceRender},Da.compontent))))),ya.createElement(et,null),ya.createElement(ut.Z,{courseEndTime:wr==null?void 0:wr.course_end_date,successCallback:()=>{Wa({type:"shixunHomeworks/getWorkList",payload:sl({},na)})},visible:Vt.actionTabs.key==="\u7ACB\u5373\u622A\u6B62",homeworkIds:[na.categoryId],courseId:na.coursesId,isBatch:!1}),ya.createElement(St.Z,{courseEndTime:wr==null?void 0:wr.course_end_date}),ya.createElement(cr.Z,{onOk:()=>{Wa({type:"shixunHomeworks/getWorkList",payload:sl({},na)})}}),ya.createElement(br.Z,{onOk:()=>{Wa({type:"shixunHomeworks/getWorkList",payload:sl({},na)})}}),ya.createElement(we.default,{open:ba,title:"\u89C4\u5219\u8BF4\u660E",width:800,footer:null,onCancel:()=>{sa(!1)}},ya.createElement("p",null,"\u4E00\u3001\u7B49\u7EA7\u89C4\u5219"),ya.createElement("p",{style:{marginLeft:"10px"}},"1. \u7F3A\u9677\u7B49\u7EA7"),ya.createElement("p",{style:{marginLeft:"10px"}},ya.createElement(Le.default,{dataSource:Cu,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})),ya.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"),ya.createElement("p",{style:{marginLeft:"20px"}},"Technical Debt Ratio = \u6280\u672F\u503A\u52A1\u65F6\u95F4 / \u5F00\u53D1\u65F6\u95F4"),ya.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"),ya.createElement("p",null,"\u4E8C\u3001\u590D\u6742\u5EA6\u89C4\u5219"),ya.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"),ya.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"),ya.createElement("p",null,"\u4E09\u3001\u4EE3\u7801\u8D28\u91CF\u5206\u89C4\u5219"),ya.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"),ya.createElement("p",{style:{marginLeft:"10px"}},"\u5176\u4E2D\uFF1A"),ya.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"),ya.createElement("p",{style:{marginLeft:"10px"}},"\u6CE8\uFF1A\u5206\u6570\u4E3A\u7A7A\u7684\u4EE3\u8868\u4E0D\u652F\u6301\u7684\u6587\u4EF6\u683C\u5F0F\u3002")))};var bu=(0,he.connect)(({shixunHomeworks:ln,classroomList:Vt,loading:_t,user:ka,globalSetting:Mr})=>({classroomList:Vt,shixunHomeworks:ln,globalSetting:Mr,user:ka,loading:_t.effects}))(Cl)},12082:function(mt,st,z){"use strict";var x=z(67294),ge=z(22150),he=z(2453),Fe=z(14446),we=z(71230),ze=z(78045),se=z(31795),je=z(15746),Te=z(20669),Le=z(84567),Ke=z(27484),De=z.n(Ke),ve=z(33170),ue=z(52262),a=z(28706),y=z(35973),b=z(12317),E=z(89779),ee=z(17998),te=z(67294),re=Object.defineProperty,oe=Object.defineProperties,ne=Object.getOwnPropertyDescriptors,de=Object.getOwnPropertySymbols,pe=Object.prototype.hasOwnProperty,Ee=Object.prototype.propertyIsEnumerable,be=(Ie,Ue,Ge)=>Ue in Ie?re(Ie,Ue,{enumerable:!0,configurable:!0,writable:!0,value:Ge}):Ie[Ue]=Ge,xe=(Ie,Ue)=>{for(var Ge in Ue||(Ue={}))pe.call(Ue,Ge)&&be(Ie,Ge,Ue[Ge]);if(de)for(var Ge of de(Ue))Ee.call(Ue,Ge)&&be(Ie,Ge,Ue[Ge]);return Ie},Ce=(Ie,Ue)=>oe(Ie,ne(Ue)),Ne=(Ie,Ue)=>{var Ge={};for(var Ve in Ie)pe.call(Ie,Ve)&&Ue.indexOf(Ve)<0&&(Ge[Ve]=Ie[Ve]);if(Ie!=null&&de)for(var Ve of de(Ie))Ue.indexOf(Ve)<0&&Ee.call(Ie,Ve)&&(Ge[Ve]=Ie[Ve]);return Ge},Re=(Ie,Ue,Ge)=>new Promise((Ve,rt)=>{var gt=yn=>{try{Gt(Ge.next(yn))}catch(lt){rt(lt)}},xt=yn=>{try{Gt(Ge.throw(yn))}catch(lt){rt(lt)}},Gt=yn=>yn.done?Ve(yn.value):Promise.resolve(yn.value).then(gt,xt);Gt((Ge=Ge.apply(Ie,Ue)).next())});const at=Ie=>{var Ue=Ie,{classroomList:Ge,dispatch:Ve,courseEndTime:rt,onWindowBack:gt}=Ue,xt=Ne(Ue,["classroomList","dispatch","courseEndTime","onWindowBack"]),Gt,yn,lt,ht,Lt,zt,dt,kt,Ze,Dn,zn,Dt,rn,en,Ht,Et,wn,dn,Bt,Bn,Yt,Xt,On,bn,Je,He,Xn,Me,Xe,Zt,ot,Ye,bt,Ut,Nt,In,Tt,Kt,pt;const En=(0,y.useParams)(),[Jt]=ge.default.useForm(),[xn,Aa]=(0,x.useState)(1),[jn,ua]=(0,x.useState)([]),[La,on]=(0,x.useState)(0),[gn,Sn]=(0,x.useState)(2e3),[Fa,pa]=(0,x.useState)(!0),[ra,Ga]=(0,x.useState)(!1),[_a,Qr]=(0,x.useState)(!1),[wo,Ln]=(0,x.useState)([]),[wt,Rt]=(0,x.useState)(!0),[Ct,qn]=(0,x.useState)(!((lt=(yn=(Gt=Ge.actionTabs)==null?void 0:Gt.selectArrsAll)==null?void 0:yn[0])!=null&<.send_type));let[Qt,er]=(0,x.useState)([0,0,0]);(0,x.useEffect)(()=>{var ft,vn,an,mn,ca,fn,la,Tn,Sa,Qa,Br,no,No;if(Ge.actionTabs.key==="\u7ACB\u5373\u53D1\u5E03")if(qr(),(an=(vn=(ft=Ge.actionTabs)==null?void 0:ft.selectArrsAll)==null?void 0:vn[0])!=null&&an.can_publish?er([...(Sa=(Tn=(la=Ge.actionTabs)==null?void 0:la.selectArrsAll)==null?void 0:Tn[0])==null?void 0:Sa.difficult_count]):er([...(fn=(ca=(mn=Ge.actionTabs)==null?void 0:mn.selectArrsAll)==null?void 0:ca[0])==null?void 0:fn.difficult_settings]),qn(!((no=(Br=(Qa=Ge.actionTabs)==null?void 0:Qa.selectArrsAll)==null?void 0:Br[0])!=null&&no.send_type)),Zo(),Ge.actionTabs.type===2){const Hn=(No=Ge.actionTabs.selectArrsAll)==null?void 0:No[0];Rt(Hn.unified_setting)}else Rt(!1)},[Ge.actionTabs]),(0,x.useEffect)(()=>{if(ra){if(_a)return;Ve({type:"classroomList/setActionTabs",payload:{}}),(0,ue.GJ)()?(Ve({type:"classroomList/getClassroomTeacherCommonList",payload:Ce(xe({},Ge.actionTabs.params),{type:1})}),Ve({type:"shixunHomeworks/getWorkList",payload:xe({},En)})):Ve({type:"classroomList/getClassroomCommonList",payload:xe({},Ge.actionTabs.params)})}},[ra]);const Zo=ft=>Re(void 0,null,function*(){pa(!0);const vn=yield(0,E.c_)(Ce(xe({},En),{page:ft||xn,limit:2e4,homework_id:Ge.actionTabs.type===1?"":Ge.actionTabs.selectArrs[0]}));vn==null||vn.course_groups.map((an,mn)=>{an.key=an.id,an.title=an.name,an.disabled=an.is_published}),vn&&(ua([...vn==null?void 0:vn.course_groups]),on(vn==null?void 0:vn.course_groups_count),pa(!1),ft||Jt.setFieldsValue({publish_time:De()(De()(new Date).add(0,"days").format("YYYY-MM-DD HH:mm")),end_time:De()(De()(new Date).add(7,"days").format("YYYY-MM-DD HH:mm"))}))}),ao=()=>{(0,ue.GJ)()?Ge.actionTabs.detail?(Ve({type:"shixunHomeworks/setActionTabs",payload:{}}),Ve({type:"shixunHomeworks/getWorkList",payload:xe({},En)}),Ve({type:"shixunHomeworks/getWorkSetting",payload:xe({},En)})):Ve({type:"classroomList/getClassroomTeacherCommonList",payload:Ce(xe({},Ge.actionTabs.params),{type:5,category:Ge.actionTabs.params.categoryId})}):Ve({type:"classroomList/getClassroomCommonList",payload:xe({},Ge.actionTabs.params)})},rr=()=>Re(void 0,null,function*(){var ft,vn;if((0,ue.Rm)()&&!((ft=Ge.AssistantObject.hack)!=null&&ft.can_publish)){he.ZP.warning("\u60A8\u672A\u83B7\u53D6\u6B64\u6743\u9650\uFF0C\u9700\u5411\u8BFE\u5802\u7BA1\u7406\u5458\u7533\u8BF7\u6743\u9650\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD"),Vr(!1);return}const an=xe({},Jt.getFieldsValue());if(an.end_time<=an.publish_time){he.ZP.info("\u622A\u6B62\u65F6\u95F4\u4E0D\u80FD\u5927\u4E8E\u6216\u7B49\u4E8E\u53D1\u5E03\u65F6\u95F4"),Vr(!1);return}if((wo==null?void 0:wo.length)<=0&&!wt&&jn.length>0){he.ZP.info("\u53D1\u5E03\u73ED\u7EA7\u4E0D\u80FD\u4E3A\u7A7A"),Vr(!1);return}if(Qt.reduce((fn,la)=>fn+la)===0&&!Ct){he.ZP.info("\u7B80\u5355\u9002\u4E2D\u56F0\u96BE\u9898\u6570\u76F8\u52A0\u4E0D\u80FD\u4E3A0"),Vr(!1);return}let mn={homework_ids:[...Ge.actionTabs.selectArrs],group_ids:wo.length>0?wo.map(fn=>fn.id):(vn=Ge.detailCommonHomeworksList)==null?void 0:vn.course_groups,end_time:De()(an.end_time).format("YYYY-MM-DD HH:mm"),publish_time:De()(an.publish_time).format("YYYY-MM-DD HH:mm"),difficult_settings:Qt==null?void 0:Qt.map(fn=>fn),send_type:Ct?"0":"1",unified_setting:!wo.length};if(Vr(!0),(yield(0,ve.ZP)(`/api/courses/${En.coursesId}/homework_commons/publish_with_homework_list_position.json`,{method:"post",body:xe({},mn)})).status===0){if(Vr(!1),(0,a.L9)(["\u6559\u5B66\u8BFE\u5802","\u56FE\u6587\u4F5C\u4E1A","\u7ACB\u5373\u53D1\u5E03"]),he.ZP.success("\u53D1\u5E03\u6210\u529F"),Ve({type:"classroomList/setActionTabs",payload:{key:"\u6E05\u9664\u9009\u62E9\u6570\u636E"}}),gt){gt();return}xt.onCallback&&xt.onCallback(),ao(),localStorage.getItem("Noviceguide")==="0"||Ve({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 Vr(!1)}),qr=()=>{Aa(1),ua([]),Ln([])},Jo=La>xn*gn,[da,Vr]=(0,x.useState)(!1);return te.createElement(Fe.default,{width:600,confirmLoading:da,centered:!0,title:"\u53D1\u5E03\u4F5C\u4E1A",open:Ge.actionTabs.key==="\u7ACB\u5373\u53D1\u5E03",okText:"\u53D1\u5E03\u4F5C\u4E1A",cancelText:"\u6682\u4E0D\u53D1\u5E03",onOk:rr,onCancel:()=>{if(qr(),Ve({type:"classroomList/setActionTabs",payload:{}}),gt){gt();return}ao()}},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'),jn&&te.createElement(ge.default,{form:Jt},te.createElement("div",{style:{paddingLeft:0}},Ge.actionTabs.type===2&&te.createElement(we.Z,{style:{marginBottom:"10px"}},te.createElement("span",{className:"mr5"},"\u8BD5\u9898\u53D1\u9001:"),te.createElement(ze.ZP.Group,{value:Ct,disabled:!((zt=(Lt=(ht=Ge.actionTabs)==null?void 0:ht.selectArrsAll)==null?void 0:Lt[0])!=null&&zt.can_publish),onChange:ft=>{qn(ft.target.value)}},te.createElement(ze.ZP,{value:!0},"\u5168\u90E8\u56FA\u5B9A\u8BD5\u9898"),te.createElement(ze.ZP,{className:"ml20",value:!1},"\u968F\u673A\u62BD\u53D6"))),!Ct&&te.createElement(we.Z,{style:{marginBottom:"10px"}},te.createElement("span",{style:{marginRight:65}}),te.createElement("span",null,"\u7B80\u5355\u9898\u6570 ",te.createElement(se.Z,{value:Qt[0],onChange:ft=>{Qt[0]=ft,er([...Qt])},min:0,disabled:!((Ze=(kt=(dt=Ge.actionTabs)==null?void 0:dt.selectArrsAll)==null?void 0:kt[0])!=null&&Ze.can_publish),placeholder:`\u6700\u5927${(rn=(Dt=(zn=(Dn=Ge.actionTabs)==null?void 0:Dn.selectArrsAll)==null?void 0:zn[0])==null?void 0:Dt.difficult_count)==null?void 0:rn[0]}`,max:(wn=(Et=(Ht=(en=Ge.actionTabs)==null?void 0:en.selectArrsAll)==null?void 0:Ht[0])==null?void 0:Et.difficult_count)==null?void 0:wn[0],style:{width:60}})),te.createElement("span",{style:{margin:"0px 40px"}},"\u9002\u4E2D\u9898\u6570 ",te.createElement(se.Z,{value:Qt[1],onChange:ft=>{Qt[1]=ft,er([...Qt])},min:0,disabled:!((Bn=(Bt=(dn=Ge.actionTabs)==null?void 0:dn.selectArrsAll)==null?void 0:Bt[0])!=null&&Bn.can_publish),max:(bn=(On=(Xt=(Yt=Ge.actionTabs)==null?void 0:Yt.selectArrsAll)==null?void 0:Xt[0])==null?void 0:On.difficult_count)==null?void 0:bn[1],placeholder:`\u6700\u5927${(Me=(Xn=(He=(Je=Ge.actionTabs)==null?void 0:Je.selectArrsAll)==null?void 0:He[0])==null?void 0:Xn.difficult_count)==null?void 0:Me[1]}`,style:{width:60}})),te.createElement("span",null,"\u56F0\u96BE\u9898\u6570 ",te.createElement(se.Z,{value:Qt[2],onChange:ft=>{Qt[2]=ft,er([...Qt])},min:0,disabled:!((ot=(Zt=(Xe=Ge.actionTabs)==null?void 0:Xe.selectArrsAll)==null?void 0:Zt[0])!=null&&ot.can_publish),placeholder:`\u6700\u5927${(Nt=(Ut=(bt=(Ye=Ge.actionTabs)==null?void 0:Ye.selectArrsAll)==null?void 0:bt[0])==null?void 0:Ut.difficult_count)==null?void 0:Nt[2]}`,max:(pt=(Kt=(Tt=(In=Ge.actionTabs)==null?void 0:In.selectArrsAll)==null?void 0:Tt[0])==null?void 0:Kt.difficult_count)==null?void 0:pt[2],style:{width:60}}))),te.createElement(we.Z,{className:"mt30",align:"middle"},te.createElement(je.Z,null,te.createElement(ge.default.Item,{name:"publish_time",label:"\u53D1\u5E03\u65F6\u95F4"},te.createElement(Te.default,{style:{width:170,marginRight:"25px"},disabledDate:ft=>(0,ee.Q8)(ft,rt),disabledTime:ft=>(0,ee.d0)(ft),placeholder:"\u8BF7\u9009\u62E9\u53D1\u5E03\u65F6\u95F4",showTime:{format:"HH:mm",defaultValue:De()((0,a.U6)(),"HH:mm")},format:"YYYY-MM-DD HH:mm",allowClear:!1}))),te.createElement(je.Z,{className:"ml20"},te.createElement(ge.default.Item,{name:"end_time",label:"\u622A\u6B62\u65F6\u95F4"},te.createElement(Te.default,{style:{width:170},placeholder:"\u8BF7\u9009\u62E9\u622A\u6B62\u65F6\u95F4",showTime:{format:"HH:mm",defaultValue:De()((0,a.U6)(),"HH:mm")},disabledDate:ft=>(0,ee.Q8)(ft,rt,Jt.getFieldValue("publish_time")),disabledTime:ft=>(0,ee.d0)(ft,Jt.getFieldValue("publish_time")),format:"YYYY-MM-DD HH:mm",allowClear:!1})))),Ge.actionTabs.type===2&&te.createElement(we.Z,{style:{marginBottom:"10px"}},te.createElement("span",{className:"mr5"},"\u53D1\u5E03\u8BBE\u7F6E:"),te.createElement(ze.ZP.Group,{value:wt,onChange:ft=>{Rt(ft.target.value),Ln([])}},te.createElement(ze.ZP,{value:!0,disabled:!Ge.actionTabs.manage_all_group},"\u7EDF\u4E00\u53D1\u5E03"),te.createElement(ze.ZP,{className:"ml20",disabled:jn.length<=0,value:!1},"\u5206\u73ED\u53D1\u5E03"))),jn.length<=0&&Ge.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"')),(Ge.actionTabs.type===1||!wt)&&jn.length>0&&te.createElement("div",{style:{display:"flex",justifyContent:"space-between",marginBottom:"10px"}},te.createElement("span",{style:{flex:1}},te.createElement(Le.default,{checked:wo.length===jn.length,onChange:ft=>{wo.length===jn.length?Ln([]):Ln(jn.filter(vn=>!vn.is_published))}},"\u5168\u9009")," "),te.createElement("span",{style:{width:16}}),te.createElement("span",{style:{flex:1}},"\u5DF2\u9009\u62E9",wo.length||0,"\u4E2A\u5206\u73ED")),(Ge.actionTabs.type===1||!wt)&&jn.length>0&&te.createElement(b.Z,{data:jn,selectedRowKeys:wo,setSelectedRowKeys:Ln})))};st.Z=(0,y.connect)(({classroomList:Ie})=>({classroomList:Ie}))(at)},17998:function(mt,st,z){"use strict";z.d(st,{Q8:function(){return gt},d0:function(){return xt},w6:function(){return rt}});var x=z(67294),ge=z(20669),he=z(42563),Fe=z(2453),we=z(14446),ze=z(78045),se=z(71230),je=z(15746),Te=z(83062),Le=z(84567),Ke=z(71577),De=z(27484),ve=z.n(De),ue=z(52262),a=z(33170),y=z(96486),b=z.n(y),E=z(28706),ee=z(39886),te=z(35973),re=z(39717),oe=z(78207),ne=z(92882),de=z(96332),pe=z(93686),Ee=z(67294),be=Object.defineProperty,xe=Object.defineProperties,Ce=Object.getOwnPropertyDescriptors,Ne=Object.getOwnPropertySymbols,Re=Object.prototype.hasOwnProperty,at=Object.prototype.propertyIsEnumerable,Ie=(ht,Lt,zt)=>Lt in ht?be(ht,Lt,{enumerable:!0,configurable:!0,writable:!0,value:zt}):ht[Lt]=zt,Ue=(ht,Lt)=>{for(var zt in Lt||(Lt={}))Re.call(Lt,zt)&&Ie(ht,zt,Lt[zt]);if(Ne)for(var zt of Ne(Lt))at.call(Lt,zt)&&Ie(ht,zt,Lt[zt]);return ht},Ge=(ht,Lt)=>xe(ht,Ce(Lt)),Ve=(ht,Lt,zt)=>new Promise((dt,kt)=>{var Ze=Dt=>{try{zn(zt.next(Dt))}catch(rn){kt(rn)}},Dn=Dt=>{try{zn(zt.throw(Dt))}catch(rn){kt(rn)}},zn=Dt=>Dt.done?dt(Dt.value):Promise.resolve(Dt.value).then(Ze,Dn);zn((zt=zt.apply(ht,Lt)).next())});function rt(ht,Lt){const zt=[];for(let dt=ht;dt<Lt;dt++)zt.push(dt);return zt}const gt=(ht,Lt,zt)=>{const dt=ht<ve()().startOf("day"),kt=ht>ve()(Lt).endOf("day"),Ze=ht<ve()(zt).startOf("day");return Lt?zt?ve()()<=ve()(zt)?Ze||kt:dt||kt:ht&&dt||kt:zt&&ve()()<=ve()(zt)?Ze:dt},xt=(ht,Lt)=>{const zt=parseInt(ve()(ht).format("HH")),dt=parseInt(ve()().format("HH")),kt=parseInt(ve()().format("mm"));if(!ht)return{disabledHours:()=>rt(0,dt),disabledMinutes:()=>rt(0,kt)};if(Lt){const Ze=parseInt(ve()(Lt).format("HH")),Dn=parseInt(ve()(Lt).format("mm"));return ve()(ht).isSame(ve()(Lt),"day")?{disabledHours:()=>rt(0,Ze),disabledMinutes:()=>zt<=Ze?rt(0,Dn):[]}:void 0}if(ve()(ht).isSame(ve()(),"day"))return{disabledHours:()=>rt(0,dt),disabledMinutes:()=>ve()(ht).isSame(ve()(),"hour")&&zt<=dt?rt(0,kt):[]}},{RangePicker:Gt}=ge.default,{Option:yn}=he.default,lt=({shixunHomeworks:ht,loading:Lt,dispatch:zt,classroomList:dt,user:kt})=>{var Ze,Dn,zn,Dt,rn,en,Ht,Et,wn;const dn=(0,te.useParams)(),{workSetting:Bt,workList:Bn,shixunWorkList:Yt,headerInfo:Xt,changeData:On}=ht,[bn,Je]=(0,x.useState)(!1),[He,Xn]=(0,x.useState)(!1);let[Me,Xe]=(0,x.useState)([]),[Zt,ot]=(0,x.useState)([]),[Ye,bt]=(0,x.useState)({unified_setting:!1,publish_time:"",end_time:"",allow_late:!1,unified_late:!0,late_time:"",late_penalty:0,penalty_type:re.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[Ut,Nt]=(0,x.useState)({}),[In,Tt]=(0,x.useState)({});(0,x.useEffect)(()=>()=>{Xe([])},[]),(0,x.useEffect)(()=>{Je(!(0,ue.GJ)())},[(0,ue.GJ)()]);const Kt=()=>{zt({type:"shixunHomeworks/getWorkSetting",payload:Ue({},dn)})};(0,x.useEffect)(()=>{if(!(Bt!=null&&Bt.course_id))return;Object.keys(Ye).map(function(Sn){Ye[Sn]=Bt[Sn]}),(!Ye.allow_late||!Ye.unified_late)&&(Ye.late_penalty=20,Ye.penalty_type=re.Q.Percent),Ye.unified_setting||(Ye.unified_late=!1,Ye.unified_anonymous_comment=!1,Ye.unified_anonymous_appeal=!1),Me=JSON.parse(JSON.stringify(Bt.group_settings.map(Sn=>Ge(Ue({},Sn),{group_name:[Sn.group_name]})).filter(Sn=>Sn.publish_time!==null))),Zt=JSON.parse(JSON.stringify(Bt.allow_late_settings.map(Sn=>Ge(Ue({},Sn),{group_name:[Sn.group_name]})).filter(Sn=>Sn.late_time!==null))),bt(Ue({},Ye));const gn=(0,E.QE)((Me==null?void 0:Me.length)>0?Me:[]);Xe([...gn]),(Zt==null?void 0:Zt.length)<=0?ot([{penalty_type:re.Q.Percent,late_penalty:20}]):ot([...Zt])},[Bt]);const pt=()=>Ve(void 0,null,function*(){var gn,Sn;if(((gn=kt==null?void 0:kt.userInfo)==null?void 0:gn.user_status)===2){(0,oe.Rd)();return}const Fa=JSON.parse(JSON.stringify(Ye));if(Fa.challenge_settings.filter(ra=>!ra.hide),Fa.categoryId=dn.categoryId,(Sn=Fa.challenge_settings)!=null&&Sn.every(ra=>!ra.checked)){Fe.ZP.warning("\u5173\u5361\u4E0D\u80FD\u5168\u90E8\u8BBE\u7F6E\u4E3A\u53EF\u4E0D\u505A");return}if(console.log(Me),!Ye.unified_setting)Me=Me==null?void 0:Me.map(ra=>{var Ga;if(!ra.publish_time||!ra.end_time)throw Fe.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(!ra.group_name)throw Fe.ZP.error("\u8BF7\u9009\u62E9\u5206\u73ED\u540D\u79F0"),new String("\u8BF7\u9009\u62E9\u5206\u73ED\u540D\u79F0");return ra.group_name=typeof(ra==null?void 0:ra.group_name)=="string"?[ra==null?void 0:ra.group_name]:ra==null?void 0:ra.group_name,ra.group_id=(Ga=Bt.group_settings)==null?void 0:Ga.filter(_a=>{var Qr;return(Qr=ra==null?void 0:ra.group_name)==null?void 0:Qr.includes(_a.group_name)}).map(_a=>_a.group_id||_a.id).toString().split(","),ra});else if(!Ye.publish_time||!Ye.end_time)throw Fe.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(Fa.group_settings=Me,Ye.allow_late)if(Ye.unified_late){if(Ye.late_penalty===null||Ye.late_penalty===void 0||Ye.late_penalty<0||Ye.late_penalty>100)throw Fe.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(!Ye.late_time)throw Fe.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 Zt=Zt==null?void 0:Zt.map(ra=>{var Ga,_a;if(ra.late_penalty===null||ra.late_penalty===void 0||ra.late_penalty<0||ra.late_penalty>100)throw Fe.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(!ra.late_time)throw Fe.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(!ra.group_name)throw Fe.ZP.error("\u8BF7\u9009\u62E9\u5206\u73ED\u540D\u79F0"),new String("\u8BF7\u9009\u62E9\u5206\u73ED\u540D\u79F0");return ra.group_name=typeof(ra==null?void 0:ra.group_name)=="string"?[ra==null?void 0:ra.group_name]:ra==null?void 0:ra.group_name,ra.group_id=(_a=(Ga=ra==null?void 0:ra.group_name)==null?void 0:Ga.map(Qr=>{var wo,Ln;let wt=(Ln=(wo=Bt.group_settings)==null?void 0:wo.filter(Rt=>(Rt==null?void 0:Rt.group_name)===Qr))==null?void 0:Ln[0];return wt==null?void 0:wt.group_id}))==null?void 0:_a.toString().split(","),ra}),Fa.allow_late_settings=Zt;let pa=yield(0,pe.Tr)({homework_common_ids:[parseInt(dn.categoryId)],course_id:dn.coursesId,type:"homework_common"});(pa==null?void 0:pa.student_count)===0?En(Fa):(Tt(Fa),Nt(pa))}),En=gn=>{var Sn;if(gn.total_score===null){Fe.ZP.warning("\u603B\u5206\u503C\u4E0D\u80FD\u4E3A\u7A7A");return}if(gn!=null&&gn.work_efficiency&&gn.eff_score===null){Fe.ZP.warning("\u6548\u7387\u5206\u4E0D\u80FD\u4E3A\u7A7A");return}const Fa=gn.challenge_settings.reduce((Ga,_a)=>Ga+Number(_a.challenge_score),0);if((Fa==null?void 0:Fa.toFixed(10))!==((Sn=gn.total_score-gn.eff_score)==null?void 0:Sn.toFixed(10))){Fe.ZP.warning(`\u6548\u7387\u5206\u52A0\u5173\u5361\u4EFB\u52A1\u603B\u5206\u5FC5\u987B\u7B49\u4E8E\u603B\u5206\u503C\uFF1A${gn.total_score}\u5206`);return}const pa={shixun_evaluation:gn.shixun_evaluation,challenge_settings:gn.challenge_settings};let ra=()=>{var Ga;const _a=()=>Ve(void 0,null,function*(){Xn(!0),(yield(0,a.ZP)(`/api/homework_commons/${dn.categoryId}/publish_setting.json`,{method:"post",body:Ue({},gn)})).status===0&&(Fe.ZP.success("\u66F4\u65B0\u6210\u529F"),Kt(),zt({type:"shixunHomeworks/getShixunWorkHeadInfo",payload:Ue({},dn)})),Xn(!1)});!(0,y.isEqual)(On,pa)&&!((Ga=Xt==null?void 0:Xt.homework_status)!=null&&Ga.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:_a}):_a()};Bt!=null&&Bt.high_resources_consume&&!(Bt!=null&&Bt.high_resources_consume_permission)?zt({type:"classroomList/setActionTabs",payload:{key:"\u6388\u6743\u4F7F\u7528",id:dn.coursesId,type:"shixun",type_id:dn.categoryId,name:Bt.homework_name,fn:()=>{ra()}}}):ra()},Jt=(gn,Sn,Fa="group_id")=>{var pa;return Sn?Sn.find(ra=>ra[Fa]===gn):(pa=Bt==null?void 0:Bt.group_settings)==null?void 0:pa.find(ra=>ra.group_id[0]===gn)},xn=(Bt==null?void 0:Bt.allow_late)||(Bt==null?void 0:Bt.anonymous_comment),Aa=gn=>{var Sn,Fa;const pa=Jt(gn,Bt==null?void 0:Bt.allow_late_settings,"id"),ra=Jt(gn,Bt==null?void 0:Bt.anonymous_comment_settings),Ga=Jt(gn);return(Bt==null?void 0:Bt.allow_late)&&pa&&ve()(pa==null?void 0:pa.late_time)<=ve()()||(Bt==null?void 0:Bt.anonymous_comment)&&ra&&(ra==null?void 0:ra.evaluation_start)!==null||((Fa=(ve()(Ga==null?void 0:Ga.end_time)<=ve()()&&((Sn=Bt==null?void 0:Bt.allow_late_settings)==null?void 0:Sn.filter(_a=>_a.group_id.includes(gn))))[0])==null?void 0:Fa.late_time)!=null},jn=(0,x.useMemo)(()=>(Bt==null?void 0:Bt.allow_late)||(Bt==null?void 0:Bt.all_group_late),[Bt,Xt]),ua=Bt==null?void 0:Bt.anonymous_comment,La=gn=>{if(!gn)return!1;const Sn=Jt(gn,Bt==null?void 0:Bt.anonymous_comment_settings);return(Bt==null?void 0:Bt.anonymous_comment)&&Sn&&(Sn==null?void 0:Sn.evaluation_start)!==null},on=(gn,Sn)=>{var Fa,pa,ra;zt({type:"classroomList/setActionTabs",payload:{key:"\u5206\u73ED\u53D1\u5E03-\u53D1\u5E03\u89C4\u5219\u62C6\u5206",data:gn,index:Sn,rangePickerDisabled:bn||(ve()()<=ve()((pa=Jt((Fa=gn==null?void 0:gn.group_id)==null?void 0:Fa[0]))==null?void 0:pa.publish_time)?!1:[!0,Aa((ra=gn==null?void 0:gn.group_id)==null?void 0:ra[0])]),disabledDate:Bt==null?void 0:Bt.course_end_date}})};return Ee.createElement("section",{className:ee.Z.form},Ee.createElement("div",{className:ee.Z.title},"\u4F5C\u4E1A\u53D1\u5E03",Ee.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")),Ee.createElement("div",null,Ee.createElement("div",{style:{background:"#F6F7F9",padding:"13px 30px",display:"flex",alignItems:"center"}},Ee.createElement(ze.ZP.Group,{disabled:bn||!((Ze=Xt==null?void 0:Xt.homework_status)!=null&&Ze.includes("\u672A\u53D1\u5E03"))||(0,ue.Rm)()&&!((Dn=dt.AssistantObject.practice)!=null&&Dn.can_publish),value:Ye.unified_setting,onChange:gn=>{var Sn;if(!((Sn=Xt==null?void 0:Xt.homework_status)!=null&&Sn.includes("\u672A\u53D1\u5E03"))){Fe.ZP.error("\u5DF2\u53D1\u5E03\uFF0C\u4E0D\u80FD\u518D\u4FEE\u6539\u7EDF\u4E00\u8BBE\u7F6E");return}if(Ye.unified_setting=!Ye.unified_setting,Ye.unified_setting||(Ye.unified_late=!1,ot([{late_penalty:5}])),bt(Object.assign({},Ye)),Ye.unified_setting===!1&&Me==""){Xe(Me.concat({}));return}Ye.unified_setting&&(Xe([]),ot([{late_penalty:5}]))}},Ee.createElement(ze.ZP,{value:!0,disabled:bn||!(Bt!=null&&Bt.manage_all_group),style:{marginRight:"50px"}},"\u7EDF\u4E00\u53D1\u5E03"),Ee.createElement(ze.ZP,{disabled:bn||!((zn=Bt==null?void 0:Bt.group_settings)!=null&&zn.length),value:!1},"\u5206\u73ED\u53D1\u5E03")),((Dt=Bt==null?void 0:Bt.group_settings)==null?void 0:Dt.length)===0&&Ee.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")),Ye.unified_setting&&Ee.createElement("div",{style:{display:"flex",color:"#666666",background:"#F6F7F9",padding:"5px 30px",height:"50px",marginTop:"1px"}},Ee.createElement(se.Z,{align:"middle"},Ee.createElement(je.Z,{style:{marginLeft:"23px"}},"\u53D1\u5E03\u65F6\u95F4"),Ee.createElement(je.Z,{className:"ml10"},Ee.createElement(ge.default,{size:"large",disabled:bn||!((rn=Xt==null?void 0:Xt.homework_status)!=null&&rn.includes("\u672A\u53D1\u5E03")||(en=Xt==null?void 0:Xt.homework_status)!=null&&en.includes("\u672A\u5F00\u59CB"))||(0,ue.Rm)()&&!((Ht=dt.AssistantObject.practice)!=null&&Ht.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:gn=>gt(gn,Bt==null?void 0:Bt.course_end_date),disabledTime:gn=>xt(gn),value:Ye.publish_time?ve()(Ye.publish_time):"",onChange:(gn,Sn)=>{Ye.publish_time=Sn,(Ye.end_time==""||!Ye.end_time)&&Ye.unified_setting&&(Ye.end_time=ve()(gn).add(7,"days").format("YYYY-MM-DD HH:mm:ss")),bt(Object.assign({},Ye))}}))),Ee.createElement(se.Z,{align:"middle",className:"pl30"},Ee.createElement(je.Z,null,"\u622A\u6B62\u65F6\u95F4"),Ee.createElement(je.Z,{className:"ml10"},Ee.createElement(ge.default,{size:"large",style:{width:170},allowClear:!1,placeholder:"\u8BF7\u9009\u62E9\u622A\u6B62\u65F6\u95F4",showTime:{format:"HH:mm",defaultValue:ve()((0,E.U6)(),"HH:mm")},format:"YYYY-MM-DD HH:mm",disabled:(Bt==null?void 0:Bt.allow_late)&&(Bt==null?void 0:Bt.homework_status.includes("\u5DF2\u622A\u6B62"))||bn||(Bt==null?void 0:Bt.allow_late)&&ve()()>=ve()(Bt==null?void 0:Bt.end_time)||(0,ue.Rm)()&&!((Et=dt.AssistantObject.practice)!=null&&Et.can_publish),disabledDate:gn=>gt(gn,Bt==null?void 0:Bt.course_end_date,Ye.publish_time),disabledTime:gn=>xt(gn,Ye.publish_time),value:Ye.end_time?ve()(Ye.end_time):"",onChange:(gn,Sn)=>{Ye.end_time=Sn,bt(Object.assign({},Ye))}})))),!Ye.unified_setting&&(Me==null?void 0:Me.length)>0&&Ee.createElement(se.Z,{style:{display:"flex",color:"#666666",background:"#F6F7F9",padding:"5px 30px",marginTop:"1px"}},Me&&Me.map(function(gn,Sn){var Fa,pa,ra,Ga,_a,Qr,wo;return Ee.createElement(je.Z,{span:24,key:Sn},Ee.createElement(se.Z,{gutter:[8,16],style:{display:"flex",alignItems:"center",marginBottom:Sn==(Me==null?void 0:Me.length)-1?"0px":"10px"}},Ee.createElement("div",{style:{minWidth:85,marginRight:"15px",textAlign:"right"}},"\u53D1\u5E03\u89C4\u5219",Sn+1),Ee.createElement(he.default,{disabled:bn||((Fa=Xt==null?void 0:Xt.homework_status)!=null&&Fa.includes("\u672A\u53D1\u5E03")&&gn.id||ve()()<ve()(gn==null?void 0:gn.publish_time)?!1:!!(gn!=null&&gn.publish_time))||(0,ue.Rm)()&&!((pa=dt.AssistantObject.practice)!=null&&pa.can_publish),mode:"multiple",className:ee.Z.multiple_select,style:{width:"250px"},value:gn.group_name,placeholder:"\u8BF7\u9009\u62E9\u5206\u73ED\u540D\u79F0",onChange:Ln=>{var wt;if((0,ue.Rm)()&&!((wt=dt.AssistantObject.practice)!=null&&wt.can_publish)){Fe.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}Me[Sn].group_name=Ln,Me[Sn].group_id=gn.group_id;const Rt=(0,y.flattenDeep)(Me.map(qn=>qn.group_name)),Ct=Zt.map(qn=>{let Qt=(qn==null?void 0:qn.group_name)||[];return Ge(Ue({},qn),{group_name:(0,y.remove)(Qt,er=>Rt.includes(er))})});ot(Ct),Xe(Me.slice())},maxTagCount:4,maxTagPlaceholder:Ln=>Ee.createElement("div",{style:{cursor:"pointer"},onClick:()=>on(gn,Sn)},"+",Ln==null?void 0:Ln.length)},Bt.group_settings&&Bt.group_settings.map(function(Ln){if(!Me.map(Rt=>Rt.group_name).flat().includes(Ln.group_name))return Ee.createElement(yn,{value:Ln.group_name,key:Ln.id},Ln.group_name)})),Ee.createElement("div",{className:"ml20"},Ee.createElement(Gt,{size:"large",ranges:{\u6B64\u523B:[gn.publish_time?ve()(gn.publish_time):ve()(),ve()()]},allowClear:!1,disabled:bn||(ve()()<=ve()((Ga=Jt((ra=gn==null?void 0:gn.group_id)==null?void 0:ra[0]))==null?void 0:Ga.publish_time)?!1:[!0,Aa((_a=gn==null?void 0:gn.group_id)==null?void 0:_a[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:Ln=>gt(Ln,Bt==null?void 0:Bt.course_end_date),disabledTime:Ln=>xt(Ln),showTime:{showNow:!0,format:"HH:mm",defaultValue:[ve()((0,E.U6)(),"HH:mm"),ve()((0,E.U6)(),"HH:mm")]},format:"YYYY-MM-DD HH:mm",value:gn.publish_time&&[ve()(gn.publish_time),gn.end_time?ve()(gn.end_time):void 0],onChange:(Ln,wt)=>{var Rt;if((0,ue.Rm)()&&!((Rt=dt.AssistantObject.practice)!=null&&Rt.can_publish)){Fe.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}Me[Sn].publish_time=wt[0],!gn.end_time&&wt[0]?Me[Sn].end_time=ve()(wt[0]).add(7,"days"):Me[Sn].end_time=wt[1],Xe([...Me])},onCalendarChange:(Ln,wt,Rt)=>{if(wt!=null&&wt[0]&&!wt[1]){const Ct=ve()(wt[0]).add(7,"days");Me[Sn].publish_time=wt[0],Me[Sn].end_time=Ct,Xe([...Me])}}})),!bn&&Ee.createElement("div",{style:{display:"flex",width:"50px"}},((Qr=gn==null?void 0:gn.group_id)==null?void 0:Qr.length)>1&&Ee.createElement(Te.Z,{title:"\u89C4\u5219\u62C6\u5206"},Ee.createElement("i",{className:"iconfont icon-chaifen ml10",style:{cursor:"pointer",color:"#3061d0"},onClick:()=>on(gn,Sn)})),Me.length<((wo=Bt==null?void 0:Bt.group_settings)==null?void 0:wo.length)&&Ee.createElement("i",{className:"iconfont icon-zengjia1 ml10 mr10",style:{cursor:"pointer",color:"#00B187"},onClick:()=>{var Ln;if((0,ue.Rm)()&&!((Ln=dt.AssistantObject.practice)!=null&&Ln.can_publish)){Fe.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(Me.concat({}))}}),((gn==null?void 0:gn.publish_time)&&ve()()<ve()(gn==null?void 0:gn.publish_time)||!(gn!=null&&gn.publish_time))&&Sn!=0&&Ee.createElement("i",{className:"iconfont icon-shanjian1",style:{cursor:"pointer",color:"#E30000"},onClick:()=>{const Ln=(0,y.cloneDeep)(Zt);Ln.forEach((wt,Rt)=>{wt.group_name&&(wt.group_name=wt.group_name.filter(Ct=>{var qn;return!((qn=Me[Sn].group_name)!=null&&qn.includes(Ct))}))}),Me=Me.filter((wt,Rt)=>Sn!==Rt),ot(Ln),Xe(Me.slice()),setTimeout(()=>Xe(Me.slice()),10)}}))))}))),Ee.createElement(se.Z,null,Ee.createElement(je.Z,null,Ee.createElement("div",{className:ee.Z.title,style:{marginTop:"30px"}},"\u8865\u4EA4\u8BBE\u7F6E",Ee.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"))),Ee.createElement(je.Z,{span:24,style:{background:"#F6F7F9",padding:"13px 30px",display:"flex",alignItems:"center"}},Ee.createElement(Le.default,{checked:Ye.allow_late,disabled:bn||jn,onChange:gn=>{var Sn;if((0,ue.Rm)()&&!((Sn=dt.AssistantObject.practice)!=null&&Sn.can_late)){Fe.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}gn.target.checked&&we.default.warning({title:"\u5F00\u542F\u8865\u4EA4\u63D0\u793A",centered:!0,width:480,content:Ee.createElement("div",{style:{padding:10,background:"#f5f6f9"}},Ee.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"),Ee.createElement("div",null,"2.\u8865\u4EA4\u622A\u6B62\u65F6\u95F4\u5FC5\u987B\u665A\u4E8E\u4F5C\u4E1A\u622A\u6B62\u65F6\u95F4\uFF1B"),Ee.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"))}),Ye.allow_late=!Ye.allow_late,Zt==""&&ot([{late_penalty:5}]),bt(Object.assign({},Ye))}},Ee.createElement("strong",null,"\u5F00\u542F\u8865\u4EA4")))),(Ye==null?void 0:Ye.allow_late)&&Ee.createElement("div",{style:{background:"#F6F7F9",padding:"10px 30px",marginTop:"1px",color:"#666666"}},Ee.createElement("div",{style:{display:"flex"}},Ee.createElement("div",{style:{width:"110px",textAlign:"right"}},"\u8865\u4EA4\u65B9\u5F0F"),Ee.createElement(ze.ZP.Group,{style:{marginLeft:"20px"},disabled:bn||(Bt==null?void 0:Bt.anonymous_comment)||(Bt==null?void 0:Bt.allow_late),value:Ye.unified_late,onChange:gn=>{var Sn;if((0,ue.Rm)()&&!((Sn=dt.AssistantObject.practice)!=null&&Sn.can_late)){Fe.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}Ye.unified_late=gn.target.value,Zt==""&&!gn.target.value&&ot([{penalty_type:re.Q.Percent,late_penalty:20}]),bt(Ue({},Ye))}},(Ye==null?void 0:Ye.unified_setting)&&Ee.createElement(ze.ZP,{value:!0,disabled:!(Bt!=null&&Bt.manage_all_group),style:{marginRight:"50px"}},"\u7EDF\u4E00\u8865\u4EA4"),((wn=Bt==null?void 0:Bt.group_settings)==null?void 0:wn.length)>0&&Ee.createElement(ze.ZP,{value:!1},"\u5206\u73ED\u8865\u4EA4"))),Ye!=null&&Ye.unified_late?Ee.createElement(Ee.Fragment,null,Ee.createElement(se.Z,{align:"middle",style:{marginTop:"10px"}},Ee.createElement(je.Z,{style:{width:"110px",textAlign:"right"}},"\u8865\u4EA4\u6263\u5206"),Ee.createElement(je.Z,{className:"ml20"},Ee.createElement(re.Z,{disabled:bn||ua,value:{type:Ye.penalty_type,inputValue:Ye.late_penalty},onChange:gn=>{var Sn;if((0,ue.Rm)()&&!((Sn=dt.AssistantObject.practice)!=null&&Sn.can_late)){Fe.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}bt(Ge(Ue({},Ye),{late_penalty:gn.inputValue,penalty_type:gn.type}))}})),Ee.createElement(je.Z,{flex:"1",className:"ml5"},Ee.createElement("span",{className:"c-grey-c ml10"},Ye.penalty_type===re.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)"))),Ee.createElement(se.Z,{align:"middle",style:{marginTop:"15px"}},Ee.createElement(je.Z,{style:{width:"110px",textAlign:"right"}},"\u8865\u4EA4\u622A\u6B62\u65F6\u95F4"),Ee.createElement(je.Z,{className:"ml20"},Ee.createElement(ge.default,{size:"large",allowClear:!1,style:{width:170},placeholder:"\u8BF7\u9009\u62E9\u622A\u6B62\u65F6\u95F4",showTime:{format:"HH:mm",defaultValue:ve()((0,E.U6)(),"HH:mm")},format:"YYYY-MM-DD HH:mm",disabled:bn||ua,value:Ye.late_time?ve()(Ye.late_time):"",disabledDate:gn=>gt(gn,Bt==null?void 0:Bt.course_end_date),onChange:(gn,Sn)=>{var Fa;if((0,ue.Rm)()&&!((Fa=dt.AssistantObject.practice)!=null&&Fa.can_late)){Fe.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}Ye.late_time=Sn,bt(Object.assign({},Ye))}})))):Zt.map(function(gn,Sn){var Fa;return Ee.createElement(je.Z,{span:24,key:Sn},Ee.createElement(se.Z,{style:{display:"flex",alignItems:"center",marginTop:"10px"}},Ee.createElement("div",{style:{width:"85px",marginLeft:"27px",textAlign:"right"}},"\u8865\u4EA4\u89C4\u5219",Sn+1),Ee.createElement(he.default,{disabled:bn||!((Fa=Xt==null?void 0:Xt.homework_status)!=null&&Fa.includes("\u672A\u53D1\u5E03"))&&gn.id||(Bt==null?void 0:Bt.anonymous_comment),mode:"multiple",className:ee.Z.multiple_select,style:{width:"212px",marginLeft:"18px"},value:typeof gn.group_name=="string"?[gn.group_name]:gn.group_name,placeholder:"\u8BF7\u9009\u62E9\u5206\u73ED\u540D\u79F0",onChange:pa=>{var ra;if((0,ue.Rm)()&&!((ra=dt.AssistantObject.practice)!=null&&ra.can_late)){Fe.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}Zt[Sn].group_name=pa,Zt[Sn].group_id=gn.group_id,ot(Zt.slice())}},Bt.group_settings&&Bt.group_settings.map(function(pa){const ra=Zt.map(_a=>_a.group_name).flat(),Ga=Me.map(_a=>_a.group_name).flat();if(Ye!=null&&Ye.unified_setting){if(!ra.includes(pa.group_name))return Ee.createElement(yn,{value:pa.group_name,key:pa.id},pa.group_name)}else if(Ga.includes(pa.group_name)&&!ra.includes(pa.group_name))return Ee.createElement(yn,{value:pa.group_name,key:pa.id},pa.group_name)})),Ee.createElement("div",{className:"ml20 mr10"},"\u8865\u4EA4\u6263\u5206"),Ee.createElement(re.Z,{disabled:bn||La(gn.id),value:{type:gn.penalty_type,inputValue:gn.late_penalty},onChange:pa=>{var ra;if((0,ue.Rm)()&&!((ra=dt.AssistantObject.practice)!=null&&ra.can_late)){Fe.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}Zt[Sn].late_penalty=pa.inputValue,Zt[Sn].penalty_type=pa.type,ot([...Zt])}}),Ee.createElement("div",{className:"ml20 mr10"},"\u8865\u4EA4\u622A\u6B62\u65F6\u95F4"),Ee.createElement(ge.default,{size:"large",disabled:bn||La(gn.id),style:{width:225},showTime:{format:"HH:mm",defaultValue:ve()((0,E.U6)(),"HH:mm")},placeholder:"\u8BF7\u9009\u62E9\u622A\u6B62\u65F6\u95F4",disabledDate:pa=>gt(pa,Bt==null?void 0:Bt.course_end_date),format:"YYYY-MM-DD HH:mm",value:gn!=null&&gn.late_time?ve()(gn.late_time):void 0,onChange:(pa,ra)=>{var Ga;if((0,ue.Rm)()&&!((Ga=dt.AssistantObject.practice)!=null&&Ga.can_late)){Fe.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}Zt[Sn].late_time=ra,ot([...Zt])}}),!bn&&Ee.createElement("div",{style:{display:"flex",width:"50px"}},Ee.createElement("i",{className:"iconfont icon-zengjia1 ml10 mr10",style:{cursor:"pointer",color:"#00B187"},onClick:()=>{var pa;if((0,ue.Rm)()&&!((pa=dt.AssistantObject.practice)!=null&&pa.can_late)){Fe.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}ot(Zt.concat({penalty_type:re.Q.Percent,late_penalty:20}))}}),Sn>0&&!gn.id&&Ee.createElement("i",{className:"iconfont icon-shanjian1",style:{cursor:"pointer",color:"#E30000"},onClick:()=>{var pa;if((0,ue.Rm)()&&!((pa=dt.AssistantObject.practice)!=null&&pa.can_late)){Fe.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}Zt=Zt.filter((ra,Ga)=>Sn!==Ga),ot(Zt.slice()),setTimeout(()=>ot(Zt.slice()),10)}}))))})),!bn&&Ee.createElement(Ee.Fragment,null,Ee.createElement(Ke.ZP,{type:"primary",size:"large",loading:He,style:{width:"138px",marginTop:"30px"},onClick:()=>pt()},"\u4FDD\u5B58")),Ee.createElement(ne.Z,{onConfirm:(gn,Sn)=>{Me.splice(gn,0,...Sn),Me.splice(gn+Sn.length,1);const Fa=(0,E.QE)([...Me]);Xe([...Fa])}}),Ee.createElement(de.Z,{resdata:Ut,type:"shixun",okloading:He,oktext:(Ut==null?void 0:Ut.can_copy_num)===0?"\u786E\u5B9A":"\u4E00\u952E\u590D\u5236\u5E76\u66FF\u6362",onok:gn=>Ve(void 0,null,function*(){Xn(!0);let Sn=yield(0,a.ZP)(`/api/courses/${dn.coursesId}/batch_copy_shixuns.json`,{method:"post",body:{type:"homework_common",ids:[parseInt(dn.categoryId)]}});Xn(!1),(Sn==null?void 0:Sn.status)===0&&En(In)})}))};st.ZP=(0,te.connect)(({shixunHomeworks:ht,classroomList:Lt,loading:zt,user:dt})=>({shixunHomeworks:ht,classroomList:Lt,loading:zt.effects,user:dt}))(lt)},6151:function(mt,st,z){"use strict";var x=z(67294),ge=z(59810),he=z(22150),Fe=z(14446),we=z(2453),ze=z(9430),se=z(35973),je=z(11320),Te=z(67795),Le=z(33170),Ke=z(27484),De=z.n(Ke),ve=z(28706),ue=z(67294),a=Object.defineProperty,y=Object.getOwnPropertySymbols,b=Object.prototype.hasOwnProperty,E=Object.prototype.propertyIsEnumerable,ee=(de,pe,Ee)=>pe in de?a(de,pe,{enumerable:!0,configurable:!0,writable:!0,value:Ee}):de[pe]=Ee,te=(de,pe)=>{for(var Ee in pe||(pe={}))b.call(pe,Ee)&&ee(de,Ee,pe[Ee]);if(y)for(var Ee of y(pe))E.call(pe,Ee)&&ee(de,Ee,pe[Ee]);return de},re=(de,pe,Ee)=>new Promise((be,xe)=>{var Ce=at=>{try{Re(Ee.next(at))}catch(Ie){xe(Ie)}},Ne=at=>{try{Re(Ee.throw(at))}catch(Ie){xe(Ie)}},Re=at=>at.done?be(at.value):Promise.resolve(at.value).then(Ce,Ne);Re((Ee=Ee.apply(de,pe)).next())});const{Dragger:oe}=ge.default,ne=({classroomList:de,dispatch:pe,onOk:Ee})=>{const be=(0,se.useParams)(),[xe]=he.default.useForm(),[Ce,Ne]=(0,x.useState)(),[Re,at]=(0,x.useState)(!1),Ie={height:100,onRemove:()=>{Ne("")},accept:".xls,.xlsx",multiple:!1,maxCount:1,beforeUpload:Ue=>re(void 0,null,function*(){return Ne(Ue),!1})};return(0,x.useEffect)(()=>{xe.setFieldsValue({publish_time:De()(De()(new Date).add(0,"days").format("YYYY-MM-DD HH:mm")),end_time:De()(De()(new Date((0,ve.qd)("/"))).add(7,"days").format("YYYY-MM-DD HH:mm"))})},[]),ue.createElement(Fe.default,{centered:!0,title:"\u8865\u5145\u6210\u7EE9",open:de.actionTabs.key==="\u8865\u5145\u6210\u7EE9",okText:"\u786E\u5B9A",width:750,destroyOnClose:!0,cancelText:"\u53D6\u6D88",okButtonProps:{loading:Re},onOk:()=>re(void 0,null,function*(){xe.submit()}),onCancel:()=>{xe.resetFields(),pe({type:"classroomList/setActionTabs",payload:{}})}},ue.createElement(he.default,{form:xe,onFinish:Ue=>re(void 0,null,function*(){var Ge,Ve,rt;if(!(Ce!=null&&Ce.size)){we.ZP.info("\u8BF7\u4E0A\u4F20\u6587\u4EF6");return}at(!0);let gt=new FormData;gt.append("type",de.actionTabs.type),gt.append("file",Ce);let xt;window.location.href.indexOf("exercise")>-1?xt=`/api/exercises/${de.actionTabs.id}/supplement_score.json`:xt=`/api/homework_commons/${de.actionTabs.id}/supplement_score.json`;let Gt=yield(0,Le.ZP)(xt,{method:"post",body:gt},!0);at(!1),(Gt==null?void 0:Gt.status)===0&&(Ee(),xe.resetFields(),pe({type:"classroomList/setActionTabs",payload:{}}),((Ve=(Ge=Gt==null?void 0:Gt.data)==null?void 0:Ge.fail)==null?void 0:Ve.length)>0&&Fe.default.confirm({title:"\u5BFC\u5165\u5931\u8D25",closable:!0,icon:null,width:610,content:ue.createElement(ze.default,{pagination:!1,dataSource:(rt=Gt==null?void 0:Gt.data)==null?void 0:rt.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,ve.FH)("",je.Z.API_SERVER+`/api/courses/get_external_score_fail_data.xlsx?type=${de.actionTabs.type}`)}}))})},ue.createElement(he.default.Item,{label:"\u4F5C\u4E1A\u540D\u79F0",labelCol:{span:3},name:"name"},de.actionTabs.name),ue.createElement(he.default.Item,{style:{marginBottom:0},label:ue.createElement("div",null,ue.createElement("span",{style:{color:"#ff4d4f",marginRight:5,fontFamily:"SimSun,sans-serif"}},"*"),ue.createElement("span",null,"\u5BFC\u5165\u6587\u4EF6")),labelCol:{span:3},rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u4F5C\u4E1A\u540D\u79F0"}]},ue.createElement("div",null,ue.createElement("a",{download:"\u6A21\u7248.xlsx",className:Te.Z.downloadbutton,href:je.Z.API_SERVER+`/api/courses/down_external_score_template.json?type=${de.actionTabs.type}`},"\u4E0B\u8F7D\u6A21\u7248\u8868\u683C"),ue.createElement("span",{style:{marginLeft:10,color:"#999999"}},"\uFF08\u6839\u636E\u63D0\u793A\u4FE1\u606F\u5B8C\u5584\u8868\u683C\u5185\u5BB9\uFF09")),ue.createElement(he.default.Item,{style:{marginBottom:0}},ue.createElement(oe,te({},Ie),ue.createElement("a",{className:Te.Z.downloadbutton,style:{width:96}},"\u9009\u62E9\u6587\u4EF6"),ue.createElement("br",null),ue.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,se.connect)(({classroomList:de})=>({classroomList:de}))(ne)},44694:function(mt,st,z){"use strict";var x=z(67294),ge=z(59810),he=z(22150),Fe=z(66368),we=z(9430),ze=z(28452),se=z(35973),je=z(33170),Te=z(27484),Le=z.n(Te),Ke=z(67294),De=(a,y,b)=>new Promise((E,ee)=>{var te=ne=>{try{oe(b.next(ne))}catch(de){ee(de)}},re=ne=>{try{oe(b.throw(ne))}catch(de){ee(de)}},oe=ne=>ne.done?E(ne.value):Promise.resolve(ne.value).then(te,re);oe((b=b.apply(a,y)).next())});const{Dragger:ve}=ge.default,ue=({})=>{const a=(0,se.useParams)(),[y]=he.default.useForm(),[b,E]=(0,x.useState)(!0),[ee,te]=(0,x.useState)(!1);let[re,oe]=(0,x.useState)({type:window.location.href.indexOf("program_homework")>-1?2:1,limit:10,page:1});const ne=[{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 de(){return De(this,null,function*(){let Ee;te(!0),window.location.href.indexOf("exercise")>-1?Ee=`/api/exercises/${a==null?void 0:a.categoryId}/redo_logs.json`:Ee=`/api/homework_commons/${a==null?void 0:a.categoryId}/redo_logs.json`;let be=yield(0,je.ZP)(Ee,{method:"get",params:re});te(!1),(be==null?void 0:be.status)===0&&E(be==null?void 0:be.data)})}(0,x.useEffect)(()=>{de()},[]);let pe=[{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:(Ee,be,xe)=>{var Ce;return(Ce=ne.find(Ne=>Ne.question_type===Ee))==null?void 0:Ce.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:(Ee,be,xe)=>{var Ce;return(Ce=[{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(Ne=>Ne.id===Ee))==null?void 0:Ce.name}},{title:"\u6062\u590D\u521D\u59CB\u4EE3\u7801\u65F6\u95F4",dataIndex:"created_at",render:(Ee,be,xe)=>Le()(Ee).format("YYYY-MM-DD HH:mm:ss")}].filter(Ee=>!!Ee);return Ke.createElement("div",{style:{padding:"0px 30px",background:"#fff",paddingBottom:30}},Ke.createElement(Fe.default,{destroyInactiveTabPane:!0,onChange:Ee=>{re.type=Ee,re.page=1,re.limit=10,oe(re),de()},items:[window.location.href.indexOf("program_homework")<=-1&&{key:"1",label:"\u6253\u56DE\u91CD\u505A",children:Ke.createElement(we.default,{className:"mt20",loading:ee,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:(Ee,be,xe)=>Le()(Ee).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:Ke.createElement(we.default,{className:"mt20",loading:ee,columns:pe,dataSource:b==null?void 0:b.list,pagination:!1})}].filter(Ee=>!!Ee)}),Ke.createElement(ze.Z,{hideOnSinglePage:!0,showSizeChanger:!1,onChange:(Ee,be)=>{re.page=Ee,re.limit=be,oe(re),de()},current:re.page,total:b.count,pageSize:re.limit,style:{marginTop:20}}))};st.Z=(0,se.connect)(({classroomList:a})=>({classroomList:a}))(ue)},58387:function(mt,st,z){"use strict";var x=z(67294),ge=z(59810),he=z(22150),Fe=z(14446),we=z(31795),ze=z(35973),se=z(33170),je=z(27484),Te=z.n(je),Le=z(28706),Ke=z(67294),De=Object.defineProperty,ve=Object.defineProperties,ue=Object.getOwnPropertyDescriptors,a=Object.getOwnPropertySymbols,y=Object.prototype.hasOwnProperty,b=Object.prototype.propertyIsEnumerable,E=(de,pe,Ee)=>pe in de?De(de,pe,{enumerable:!0,configurable:!0,writable:!0,value:Ee}):de[pe]=Ee,ee=(de,pe)=>{for(var Ee in pe||(pe={}))y.call(pe,Ee)&&E(de,Ee,pe[Ee]);if(a)for(var Ee of a(pe))b.call(pe,Ee)&&E(de,Ee,pe[Ee]);return de},te=(de,pe)=>ve(de,ue(pe)),re=(de,pe,Ee)=>new Promise((be,xe)=>{var Ce=at=>{try{Re(Ee.next(at))}catch(Ie){xe(Ie)}},Ne=at=>{try{Re(Ee.throw(at))}catch(Ie){xe(Ie)}},Re=at=>at.done?be(at.value):Promise.resolve(at.value).then(Ce,Ne);Re((Ee=Ee.apply(de,pe)).next())});const{Dragger:oe}=ge.default,ne=({classroomList:de,dispatch:pe,onOk:Ee})=>{const be=(0,ze.useParams)(),[xe]=he.default.useForm(),[Ce,Ne]=(0,x.useState)(),[Re,at]=(0,x.useState)(!1),Ie={height:100,onRemove:()=>{Ne("")},accept:".xls,.xlsx",multiple:!1,beforeUpload:Ue=>re(void 0,null,function*(){return Ne(Ue),!1})};return(0,x.useEffect)(()=>{xe.setFieldsValue({publish_time:Te()(Te()(new Date).add(0,"days").format("YYYY-MM-DD HH:mm")),end_time:Te()(Te()(new Date((0,Le.qd)("/"))).add(7,"days").format("YYYY-MM-DD HH:mm"))})},[]),Ke.createElement(Fe.default,{centered:!0,title:"\u4FEE\u6539\u6210\u7EE9",open:de.actionTabs.key==="\u4FEE\u6539\u6210\u7EE9",okText:"\u786E\u5B9A",width:600,cancelText:"\u53D6\u6D88",okButtonProps:{loading:Re},onOk:()=>re(void 0,null,function*(){xe.submit()}),onCancel:()=>{xe.resetFields(),pe({type:"classroomList/setActionTabs",payload:{}})}},Ke.createElement(he.default,{form:xe,onFinish:Ue=>re(void 0,null,function*(){var Ge,Ve;console.log("---",de.actionTabs,Ue,be);let rt=((Ge=de==null?void 0:de.actionTabs)==null?void 0:Ge.type)==="exercise"?`/api/exercises/${be==null?void 0:be.category}/exercise_user/edit_score.json`:`/api/student_works/${de.actionTabs.id}/edit_score.json`;at(!0);let gt=yield(0,se.ZP)(rt,{method:"post",body:te(ee({},Ue),{exercise_user_id:((Ve=de==null?void 0:de.actionTabs)==null?void 0:Ve.type)==="exercise"?de.actionTabs.id:""})});at(!1),xe.resetFields(),pe({type:"classroomList/setActionTabs",payload:{}}),Ee()})},Ke.createElement(he.default.Item,{label:"\u6700\u7EC8\u6210\u7EE9",style:{marginBottom:0},name:"score",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u6700\u7EC8\u6210\u7EE9"}]},Ke.createElement(we.Z,{min:0,style:{width:"100%"}}))))};st.Z=(0,ze.connect)(({classroomList:de})=>({classroomList:de}))(ne)},17755:function(mt,st,z){"use strict";var x=z(67294),ge=z(59810),he=z(22150),Fe=z(71577),we=z(71230),ze=z(93421),se=z(20669),je=z(35973),Te=z(27484),Le=z.n(Te),Ke=z(17998),De=z(33170),ve=z(67294),ue=(b,E,ee)=>new Promise((te,re)=>{var oe=pe=>{try{de(ee.next(pe))}catch(Ee){re(Ee)}},ne=pe=>{try{de(ee.throw(pe))}catch(Ee){re(Ee)}},de=pe=>pe.done?te(pe.value):Promise.resolve(pe.value).then(oe,ne);de((ee=ee.apply(b,E)).next())});const{Dragger:a}=ge.default,y=({})=>{const b=(0,je.useParams)(),[E]=he.default.useForm(),[ee,te]=(0,x.useState)(!0),[re,oe]=(0,x.useState)(!1);console.log("----",b);function ne(){return ue(this,null,function*(){var de,pe;let Ee;window.location.href.indexOf("exercise")>-1?Ee=`/api/exercises/${b==null?void 0:b.categoryId}/get_time_setting.json`:Ee=`/api/homework_commons/${b==null?void 0:b.categoryId}/get_time_setting.json`;let be=yield(0,De.ZP)(Ee,{method:"get"});(be==null?void 0:be.status)===0&&E.setFieldsValue({publish_time:Le()(Le()((de=be==null?void 0:be.data)==null?void 0:de.publish_time).format("YYYY-MM-DD HH:mm")),end_time:Le()(Le()((pe=be==null?void 0:be.data)==null?void 0:pe.end_time).format("YYYY-MM-DD HH:mm"))})})}return(0,x.useEffect)(()=>{ne()},[]),ve.createElement("div",{style:{padding:"50px 30px",background:"#fff"}},ve.createElement("div",{style:{textAlign:"end"}},ee&&ve.createElement(Fe.ZP,{onClick:()=>{te(!1)}},"\u7F16\u8F91\u8BBE\u7F6E"),!ee&&ve.createElement("div",null,ve.createElement(Fe.ZP,{type:"primary",loading:re,onClick:()=>{E.submit()}},"\u63D0\u4EA4"),ve.createElement(Fe.ZP,{style:{marginLeft:20},onClick:()=>{te(!0)}},"\u53D6\u6D88"))),ve.createElement(he.default,{form:E,disabled:ee,onFinish:de=>ue(void 0,null,function*(){oe(!0),console.log("---",window.location.href);let pe;window.location.href.indexOf("exercise")>-1?pe=`/api/exercises/${b==null?void 0:b.categoryId}/time_setting.json`:pe=`/api/homework_commons/${b==null?void 0:b.categoryId}/time_setting.json`;let Ee=yield(0,De.ZP)(pe,{method:"post",body:{publish_time:Le()(de.publish_time).format("YYYY-MM-DD HH:mm"),end_time:Le()(de.end_time).format("YYYY-MM-DD HH:mm")}});oe(!1),(Ee==null?void 0:Ee.status)===0&&te(!0)})},ve.createElement(we.Z,null,ve.createElement(ze.Z,null,ve.createElement(he.default.Item,{label:"\u5F00\u59CB\u65F6\u95F4",name:"publish_time",rules:[{required:!0,message:"\u8BF7\u9009\u62E9\u5F00\u59CB\u65F6\u95F4"}]},ve.createElement(se.default,{placeholder:"\u8BF7\u9009\u62E9\u53D1\u5E03\u65F6\u95F4",showTime:{format:"HH:mm"},style:{width:260},size:"large",disabledDate:de=>(0,Ke.Q8)(de),disabledTime:de=>(0,Ke.d0)(de),allowClear:!1,format:"YYYY-MM-DD HH:mm"})),ve.createElement("span",{style:{color:"#999999",fontSize:"14px",height:40,marginBottom:8,display:"block"}},"\uFF08\u5B66\u751F\u6536\u5230\u4F5C\u4E1A\u7684\u65F6\u95F4\uFF09"))),ve.createElement(we.Z,null,ve.createElement(ze.Z,null,ve.createElement(he.default.Item,{label:"\u7ED3\u675F\u65F6\u95F4",name:"end_time",rules:[{required:!0,message:"\u8BF7\u9009\u62E9\u7ED3\u675F\u65F6\u95F4"}]},ve.createElement(se.default,{placeholder:"\u8BF7\u9009\u62E9\u53D1\u5E03\u65F6\u95F4",showTime:{format:"HH:mm"},style:{width:260},size:"large",disabledDate:de=>(0,Ke.Q8)(de,"",E.getFieldValue("publish_time")),disabledTime:de=>(0,Ke.d0)(de,E.getFieldValue("publish_time")),allowClear:!1,format:"YYYY-MM-DD HH:mm"})),ve.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,je.connect)(({classroomList:b})=>({classroomList:b}))(y)},12317:function(mt,st,z){"use strict";z.d(st,{Z:function(){return Le}});var x=z(67294),ge=z(69677),he=z(84567),Fe=z(71230),we={leftdiv:"leftdiv___aBzsX",listClass:"listClass___bxIEW",spantitle:"spantitle___v_Vc4",rightdiv:"rightdiv___xWu4M"},ze="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAbVJREFUOE+Nk79rFUEUhb+zE4OFwUD+CyGKKQQbSaMikQQ7C1tBBIsUQaJvl2Fn/cWDpAiIYJsi7YOIaCUWFoKKRhG0sbEzEImFGnev7G6yyXsxeU5159yZb87l3hG9q2WLiBO79FIwXpLp0s6cwITnQCMWrGDM43jdBckZQ0wTMdrong2R2Bxm0/98sZ8ozdcOEm5hjOC41u9Olc9ZQKySclOVkNhljCmCzjeAJM/4FbW5p+8k5tlggTtarfKxLSM6pHq4BTiL0SboaAOIi284jeP1nti+ApMEvdoEvEPMkOpJDZi1IwzwgqDh/wSsYZwk08ca4O0Qua3zW8OV5crmHg6u22EGbQ2nIbx+1IC6rrK+cYJW9gXEVrbxGUEj5bltQGJvgBapHu0LSGwCyEh1vBsQWwd4TNCDPg6uAOcImuoFlL1dJ9WNPg5uYwwRVM3MzhJmKIpjZK6e9bj4jNNpvL4QFx9wuoDXJ1r5IlH0llTtXgcXwa4SolObnYnwKnbFcfEcdJ+gpW6AtzFynuIop/Fn053u4CA5yzjO4FV9tu0Syl2S38WiSWBgD8AfoEPQ7Fb+LwIiyhxWwe2KAAAAAElFTkSuQmCC",se=z(26194),je=(Ke,De,ve)=>new Promise((ue,a)=>{var y=ee=>{try{E(ve.next(ee))}catch(te){a(te)}},b=ee=>{try{E(ve.throw(ee))}catch(te){a(te)}},E=ee=>ee.done?ue(ee.value):Promise.resolve(ee.value).then(y,b);E((ve=ve.apply(Ke,De)).next())}),Le=({data:Ke,value:De=[],handleChangePage:ve,setSelectedRowKeys:ue,selectedRowKeys:a,onChange:y=()=>{}})=>{const[b,E]=(0,x.useState)([]),[ee,te]=(0,x.useState)([]),[re,oe]=(0,x.useState)([]);let[ne,de]=(0,x.useState)(1),[pe,Ee]=(0,x.useState)();return(0,x.useEffect)(()=>{E(Ke),te([]),oe([])},[Ke]),(0,x.useEffect)(()=>{ue&&(te(a),oe(a))},[a]),x.createElement("div",{style:{display:"flex",justifyContent:"space-between"}},x.createElement("div",{className:we.leftdiv},x.createElement(ge.default.Search,{size:"middle",onChange:be=>je(void 0,null,function*(){E(Ke.filter(xe=>{var Ce;return(Ce=xe==null?void 0:xe.name)==null?void 0:Ce.includes(be.target.value)}))}),placeholder:"\u53EF\u8F93\u5165\u73ED\u7EA7\u540D\u79F0\u67E5\u8BE2"}),b.length===0&&x.createElement(se.Z,{styles:{margin:"70px auto"},customText:"\u6682\u65E0\u5206\u73ED"}),x.createElement("div",{style:{height:"85%",overflow:"auto",overflowX:"hidden"}},x.createElement(he.default.Group,{value:ee.map(be=>`${be.id}`),onChange:be=>{ue(b.filter(xe=>be.includes(`${xe.id}`)))},style:{marginTop:"10px",flexDirection:"column"}},b.map((be,xe)=>x.createElement(Fe.Z,{key:be.id,style:{marginTop:"10px",lineHeight:"24px",display:"flex",width:200}},x.createElement(he.default,{style:{display:"flex",height:"24px",alignItems:"center"},disabled:be.is_published,value:`${be.id}`},x.createElement("div",{className:we.listClass},x.createElement("span",{className:we.spantitle,style:{width:be.is_published?"108px":"170px"}},be.name),be.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(ge.default.Search,{onChange:be=>{oe(ee.filter(xe=>xe.name.includes(be.target.value)))},size:"middle",placeholder:"\u53EF\u8F93\u5165\u73ED\u7EA7\u540D\u79F0\u67E5\u8BE2"}),re.length===0&&x.createElement(se.Z,{styles:{margin:"70px auto"},customText:"\u6682\u672A\u9009\u62E9\u5206\u73ED"}),re.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}},re.map((be,xe)=>x.createElement(Fe.Z,{justify:"space-between",style:{marginTop:"10px"},key:be.id},x.createElement("div",{style:{overflow:"hidden",whiteSpace:"nowrap",textOverflow:"ellipsis",marginRight:"5px",marginLeft:"5px",width:"75%"}},be.name),x.createElement("img",{src:ze,style:{cursor:"pointer",height:"16px",marginRight:17},onClick:()=>{ue(ee.filter(Ce=>`${Ce.id}`!=`${be.id}`))}})))))))}},92882:function(mt,st,z){"use strict";z.d(st,{Z:function(){return y}});var x=z(67294),ge=z(35973),he=z(20669),Fe=z(14446),we=z(69677),ze=z(71230),se=z(15746),je={title_tooltip:"title_tooltip___LLdrn",multiple_select:"multiple_select___kDXUm",modal_con:"modal_con___ERnkW"},Te=z(27484),Le=z.n(Te),Ke=z(28706),De=z(26194),ve=z(67294);const{RangePicker:ue}=he.default,a=({dispatch:b,classroomList:E,onConfirm:ee})=>{const[te,re]=(0,x.useState)([]),[oe,ne]=(0,x.useState)([]),[de,pe]=(0,x.useState)("");(0,x.useEffect)(()=>{var xe;if(E.actionTabs.key==="\u5206\u73ED\u53D1\u5E03-\u53D1\u5E03\u89C4\u5219\u62C6\u5206"){let Ce=E.actionTabs.data;console.log("data",Ce);let Ne=(xe=Ce==null?void 0:Ce.group_name)==null?void 0:xe.map((Re,at)=>{var Ie;return{group_id:Ce==null?void 0:Ce.group_id[at],group_name:Ce==null?void 0:Ce.group_name[at],is_admin:Ce==null?void 0:Ce.is_admin,end_time:Ce==null?void 0:Ce.end_time,publish_time:Array.isArray(Ce==null?void 0:Ce.publish_time)?(Ie=Ce==null?void 0:Ce.publish_time)==null?void 0:Ie[0]:Ce==null?void 0:Ce.publish_time}});Ne&&(re([...Ne]),ne([...Ne]))}},[E.actionTabs]);const Ee=()=>{b({type:"classroomList/setActionTabs",payload:{}}),pe("")},be=xe=>{if(xe){const Ce=oe==null?void 0:oe.filter(Ne=>{var Re,at;return(at=(Re=Ne==null?void 0:Ne.group_name)==null?void 0:Re.toLowerCase())==null?void 0:at.includes(xe==null?void 0:xe.toLowerCase())});re(Ce)}else re(oe)};return ve.createElement(Fe.default,{width:980,title:ve.createElement("div",{style:{fontWeight:"bold",display:"flex"}},ve.createElement("div",null,"\u5206\u73ED\u53D1\u5E03-\u53D1\u5E03\u89C4\u5219\u62C6\u5206",ve.createElement("span",{className:je.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")),ve.createElement(we.default.Search,{allowClear:!0,placeholder:"\u8BF7\u8F93\u5165\u5173\u952E\u5B57\u8FDB\u884C\u641C\u7D22",style:{width:220,marginLeft:"60px"},value:de,onChange:xe=>{pe(xe.target.value.trim()),be(xe.target.value.trim())}})),centered:!0,maskClosable:!1,open:E.actionTabs.key==="\u5206\u73ED\u53D1\u5E03-\u53D1\u5E03\u89C4\u5219\u62C6\u5206",onCancel:()=>Ee(),onOk:()=>{var xe;ee((xe=E.actionTabs)==null?void 0:xe.index,oe),Ee()}},ve.createElement("div",{className:je.modal_con},ve.createElement(ze.Z,{style:{display:"flex",color:"#666666",padding:"5px",marginTop:"1px"}},(te==null?void 0:te.length)>0?te.map(function(xe,Ce){var Ne,Re;return ve.createElement(se.Z,{span:24,key:Ce},ve.createElement(ze.Z,{gutter:[8,16],style:{display:"flex",alignItems:"center",marginBottom:Ce==(te==null?void 0:te.length)-1?"0px":"10px"}},ve.createElement("div",{className:je.multiple_select,title:xe.group_name},xe.group_name),ve.createElement("div",{className:"ml20"},ve.createElement(ue,{size:"large",ranges:{\u6B64\u523B:[xe.publish_time?Le()(xe.publish_time):Le()(),Le()()]},allowClear:!1,disabled:(Ne=E.actionTabs)==null?void 0:Ne.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:at=>{var Ie;return(0,Ke.Q8)(at,(Ie=E.actionTabs)==null?void 0:Ie.disabledDate)},disabledTime:at=>(0,Ke.d0)(at),showTime:{showNow:!0,format:"HH:mm",defaultValue:[Le()((0,Ke.U6)(),"HH:mm"),Le()((0,Ke.U6)(),"HH:mm")]},format:"YYYY-MM-DD HH:mm",value:xe.publish_time&&[Le()(xe.publish_time),xe.end_time?Le()(xe.end_time):void 0],onChange:(at,Ie)=>{te[Ce].publish_time=Ie[0],te[Ce].end_time=Ie[1],re([...te]),oe.forEach(Ue=>{Ue.group_id===xe.group_id&&(Ue.publish_time=Ie[0],Ue.end_time=Ie[1])}),ne([...oe])}})),(Re=E.actionTabs)!=null&&Re.rangePickerDisabled?ve.createElement("i",{className:"iconfont icon-shanjian1 ml15",style:{color:"#E30000",opacity:"0.2",cursor:"not-allowed"}}):ve.createElement("i",{className:"iconfont icon-shanjian1 ml15",style:{cursor:"pointer",color:"#E30000"},onClick:()=>{te.splice(Ce,1),re([...te]),oe.forEach((at,Ie)=>{at.group_id===xe.group_id&&oe.splice(Ie,1)}),ne([...oe])}})))}):ve.createElement(De.Z,null))))};var y=(0,ge.connect)(({classroomList:b})=>({classroomList:b}))(a)},98769:function(mt,st,z){"use strict";z.d(st,{AD:function(){return at},D9:function(){return gt},Hp:function(){return ne},IM:function(){return Gt},Iy:function(){return de},KM:function(){return zn},MJ:function(){return pe},Ne:function(){return xt},ON:function(){return zt},Uj:function(){return Ze},VY:function(){return ht},YO:function(){return kt},YX:function(){return dt},Zn:function(){return a},_g:function(){return te},_k:function(){return Ve},c6:function(){return Ne},cr:function(){return y},eV:function(){return Re},fi:function(){return b},gh:function(){return xe},hS:function(){return yn},iA:function(){return E},j6:function(){return re},je:function(){return Ge},jj:function(){return oe},kS:function(){return Lt},o6:function(){return Ce},pO:function(){return Dn},rQ:function(){return Ie},sA:function(){return be},xm:function(){return rt},xo:function(){return lt},y8:function(){return Ue},yd:function(){return ee}});var x=z(89779),ge=z(35973),he=z(28706),Fe=z(2453),we=z(11320),ze=Object.defineProperty,se=Object.getOwnPropertySymbols,je=Object.prototype.hasOwnProperty,Te=Object.prototype.propertyIsEnumerable,Le=(Dt,rn,en)=>rn in Dt?ze(Dt,rn,{enumerable:!0,configurable:!0,writable:!0,value:en}):Dt[rn]=en,Ke=(Dt,rn)=>{for(var en in rn||(rn={}))je.call(rn,en)&&Le(Dt,en,rn[en]);if(se)for(var en of se(rn))Te.call(rn,en)&&Le(Dt,en,rn[en]);return Dt},De=(Dt,rn,en)=>new Promise((Ht,Et)=>{var wn=Bn=>{try{Bt(en.next(Bn))}catch(Yt){Et(Yt)}},dn=Bn=>{try{Bt(en.throw(Bn))}catch(Yt){Et(Yt)}},Bt=Bn=>Bn.done?Ht(Bn.value):Promise.resolve(Bn.value).then(wn,dn);Bt((en=en.apply(Dt,rn)).next())});const ve=()=>{(0,ge.getDvaApp)()._store.dispatch({type:"globalSetting/setGlobalLoading",payload:{show:!0,text:"\u6B63\u5728\u751F\u6210\u6587\u4EF6\uFF0C\u8BF7\u7A0D\u540E..."}})},ue=()=>{(0,ge.getDvaApp)()._store.dispatch({type:"globalSetting/setGlobalLoading",payload:{show:!1,text:""}})},a=Dt=>De(void 0,null,function*(){ve(),(yield(0,x.YR)(Ke({},Dt))).status===0&&(yield(0,he.QH)("",(0,he.NY)({url:we.Z.API_SERVER+`/api/courses/${Dt.coursesId}/export_couser_info.json`,query:Dt}))),ue()}),y=Dt=>De(void 0,null,function*(){const rn=yield(0,x.yS)(Ke({},Dt));if(rn.status===0)Fe.ZP.info("\u5BFC\u51FA\u4EFB\u52A1\u751F\u6210\u6210\u529F"),ge.history.push(`/classrooms/${Dt.coursesId}/exportlist/course_member_act_score`);else{if(rn.status===-2)return rn;rn.status===-3&&((0,ge.getDvaApp)()._store.dispatch({type:"classroomList/setActionTabs",payload:{key:"\u5BFC\u51FA\u63D0\u9192"}}),ge.history.push(`/classrooms/${Dt.coursesId}/exportlist/course_member_act_score`))}}),b=Dt=>De(void 0,null,function*(){const rn=yield(0,x.W0)(Ke({},Dt));if(rn.status===0)Fe.ZP.info("\u5BFC\u51FA\u4EFB\u52A1\u751F\u6210\u6210\u529F"),ge.history.push(`/classrooms/${Dt.coursesId}/exportlist/course_total_score`);else{if(rn.status===-4)return rn;rn.status===-3&&((0,ge.getDvaApp)()._store.dispatch({type:"classroomList/setActionTabs",payload:{key:"\u5BFC\u51FA\u63D0\u9192"}}),ge.history.push(`/classrooms/${Dt.coursesId}/exportlist/course_total_score`))}}),E=Dt=>De(void 0,null,function*(){const rn=yield(0,x.Nl)(Ke({},Dt));if(rn.status===0)Fe.ZP.info("\u5BFC\u51FA\u4EFB\u52A1\u751F\u6210\u6210\u529F"),ge.history.push(`/classrooms/${Dt.coursesId}/exportlist/course_total_exercise_and_other`);else{if(rn.status===-4)return rn;rn.status===-3&&((0,ge.getDvaApp)()._store.dispatch({type:"classroomList/setActionTabs",payload:{key:"\u5BFC\u51FA\u63D0\u9192"}}),ge.history.push(`/classrooms/${Dt.coursesId}/exportlist/course_total_exercise_and_other`))}}),ee=Dt=>De(void 0,null,function*(){const rn=yield(0,x.IU)(Ke({},Dt));if(rn.status===0)Fe.ZP.info("\u5BFC\u51FA\u4EFB\u52A1\u751F\u6210\u6210\u529F"),ge.history.push(`/classrooms/${Dt.coursesId}/exportlist/export_star_user`);else{if(rn.status===-4)return rn;rn.status===-3&&((0,ge.getDvaApp)()._store.dispatch({type:"classroomList/setActionTabs",payload:{key:"\u5BFC\u51FA\u63D0\u9192"}}),ge.history.push(`/classrooms/${Dt.coursesId}/exportlist/export_star_user`))}}),te=Dt=>De(void 0,null,function*(){const rn=yield(0,x.td)(Ke({},Dt));if(rn.status===0)Fe.ZP.info("\u5BFC\u51FA\u4EFB\u52A1\u751F\u6210\u6210\u529F"),ge.history.push(`/classrooms/${Dt.coursesId}/exportlist/course_total_exercise_and_other`);else{if(rn.status===-2)return rn;if(rn.status===-3)(0,ge.getDvaApp)()._store.dispatch({type:"classroomList/setActionTabs",payload:{key:"\u5BFC\u51FA\u63D0\u9192"}}),ge.history.push(`/classrooms/${Dt.coursesId}/exportlist/course_total_exercise_and_other`);else if(rn.status===-4)return rn}}),re=Dt=>De(void 0,null,function*(){const rn=yield(0,x.QX)(Ke({},Dt));if(rn.status===0)Fe.ZP.info("\u5BFC\u51FA\u4EFB\u52A1\u751F\u6210\u6210\u529F"),ge.history.push(`/classrooms/${Dt.coursesId}/exportlist/course_total_homework`);else{if(rn.status===-4)return rn;rn.status===-3&&((0,ge.getDvaApp)()._store.dispatch({type:"classroomList/setActionTabs",payload:{key:"\u5BFC\u51FA\u63D0\u9192"}}),ge.history.push(`/classrooms/${Dt.coursesId}/exportlist/course_total_homework`))}}),oe=(Dt,rn)=>De(void 0,null,function*(){const en=yield(0,x.o_)(Ke({},Dt));en.status===0?(Fe.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"),ge.history.push(`/classrooms/${Dt.coursesId}/exportlist/${rn}`)):en.status===-3&&((0,ge.getDvaApp)()._store.dispatch({type:"classroomList/setActionTabs",payload:{key:"\u5BFC\u51FA\u63D0\u9192"}}),ge.history.push(`/classrooms/${Dt.coursesId}/exportlist/${rn}`))}),ne=(Dt,rn)=>De(void 0,null,function*(){const en=yield(0,x.ZL)(Ke({},Dt));en.status===0?(Fe.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"),ge.history.push(`/classrooms/${Dt.coursesId}/exportlist/${rn}`)):en.status===-3&&((0,ge.getDvaApp)()._store.dispatch({type:"classroomList/setActionTabs",payload:{key:"\u5BFC\u51FA\u63D0\u9192"}}),ge.history.push(`/classrooms/${Dt.coursesId}/exportlist/${rn}`))}),de=(Dt,rn)=>De(void 0,null,function*(){const en=yield(0,x.aP)(Ke({},Dt));en.status===0?(Fe.ZP.info("\u5BFC\u51FA\u4EFB\u52A1\u751F\u6210\u6210\u529F"),ge.history.push(`/classrooms/${Dt.coursesId}/exportlist/${rn}`)):en.status===-3&&((0,ge.getDvaApp)()._store.dispatch({type:"classroomList/setActionTabs",payload:{key:"\u5BFC\u51FA\u63D0\u9192"}}),ge.history.push(`/classrooms/${Dt.coursesId}/exportlist/${rn}`))}),pe=(Dt,rn)=>De(void 0,null,function*(){const en=yield(0,x.vV)(Ke({},Dt));en.status===0?(Fe.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"),ge.history.push(`/classrooms/${Dt.coursesId}/exportlist/${rn}`)):en.status===-3&&((0,ge.getDvaApp)()._store.dispatch({type:"classroomList/setActionTabs",payload:{key:"\u5BFC\u51FA\u63D0\u9192"}}),ge.history.push(`/classrooms/${Dt.coursesId}/exportlist/${rn}`))}),Ee=Dt=>De(void 0,null,function*(){ve(),(yield exportCourseWorkListAppendix(Ke({},Dt))).status===0&&(yield downLoadFileIframe("",setUrlQuery({url:ENV.API_SERVER+`/api/homework_commons/${Dt.categoryId}/works_list.zip`,query:Dt}))),ue()}),be=Dt=>De(void 0,null,function*(){ve(),yield(0,he.QH)("",we.Z.API_SERVER+`/api/polls/${Dt.categoryId}/commit_result.xlsx`),ue()}),xe=Dt=>De(void 0,null,function*(){yield(0,he.FH)("",(0,he.NY)({url:we.Z.API_SERVER+`/api/courses/${Dt.coursesId}/attendances/export_xlsx_data.xlsx`,query:Dt}))}),Ce=Dt=>De(void 0,null,function*(){yield(0,he.FH)("",(0,he.NY)({url:we.Z.API_SERVER+`/api/courses/${Dt.coursesId}/video_study_statics.xlsx`,query:Dt}))}),Ne=Dt=>De(void 0,null,function*(){yield(0,he.FH)("",(0,he.NY)({url:we.Z.API_SERVER+`/api/courses/${Dt.coursesId}/export_video_study.xlsx`,query:Dt}))}),Re=Dt=>De(void 0,null,function*(){yield(0,he.FH)("",(0,he.NY)({url:we.Z.API_SERVER+`/api/courses/${Dt.coursesId}/export_course_students_info.xlsx`,query:Dt}))}),at=Dt=>De(void 0,null,function*(){yield(0,he.FH)("",(0,he.NY)({url:we.Z.API_SERVER+"/api/school_manages/students.xlsx",query:Dt}))}),Ie=Dt=>De(void 0,null,function*(){yield(0,he.FH)("",(0,he.NY)({url:we.Z.API_SERVER+"/api/item_banks/export.xlsx",query:Dt}))}),Ue=Dt=>De(void 0,null,function*(){yield(0,he.FH)("",(0,he.NY)({url:we.Z.API_SERVER+"/api/competitions/region_reports.xlsx",query:Dt}))}),Ge=Dt=>De(void 0,null,function*(){const rn=yield(0,x.Uy)(Ke({},Dt));rn.status===0?(Fe.ZP.info("\u5BFC\u51FA\u4EFB\u52A1\u751F\u6210\u6210\u529F"),ge.history.push(`/classrooms/${Dt.coursesId}/exportlist/exercise_score,export_exercise_users`)):rn.status===-3&&((0,ge.getDvaApp)()._store.dispatch({type:"classroomList/setActionTabs",payload:{key:"\u5BFC\u51FA\u63D0\u9192"}}),ge.history.push(`/classrooms/${Dt.coursesId}/exportlist/exercise_score,export_exercise_users`))}),Ve=Dt=>De(void 0,null,function*(){console.log("----------","\u8C03\u7528\u4E0B\u8F7D"),yield(0,he.FH)("",(0,he.NY)({url:we.Z.API_SERVER+`/api/export_records/${Dt.id}.xlsx`,query:Dt}))}),rt=Dt=>De(void 0,null,function*(){yield(0,he.FH)("",(0,he.NY)({url:we.Z.API_SERVER+"/api/ec_major_schools/0/ec_years.xlsx",query:Dt}))}),gt=Dt=>De(void 0,null,function*(){yield(0,he.FH)("",(0,he.NY)({url:we.Z.API_SERVER+`/api/courses/${Dt==null?void 0:Dt.coursesId}/${Dt.menuKey}_statistic.xlsx?${Dt.checkedList.map(rn=>`course_group_id[]=${rn}`).join("&")}`,query:Dt}))}),xt=Dt=>De(void 0,null,function*(){yield(0,he.FH)("",(0,he.NY)({url:we.Z.API_SERVER+`/api/ec_years/${Dt==null?void 0:Dt.ec_year_id}/ec_training_objectives.xlsx`,query:Dt}))}),Gt=Dt=>De(void 0,null,function*(){yield(0,he.FH)(Dt==null?void 0:Dt.name,(0,he.NY)({url:we.Z.API_SERVER+"/api/attachments/get_ecs_attachment.docx",query:Dt}))}),yn=Dt=>De(void 0,null,function*(){yield(0,he.FH)("",(0,he.NY)({url:we.Z.API_SERVER+`/api/ec_years/${Dt==null?void 0:Dt.ec_year_id}/ec_courses.xlsx`,query:Dt}))}),lt=Dt=>De(void 0,null,function*(){yield(0,he.FH)("",(0,he.NY)({url:we.Z.API_SERVER+`/api/ec_years/${Dt==null?void 0:Dt.ec_year_id}/ec_graduation_requirements.xlsx`,query:Dt}))}),ht=Dt=>De(void 0,null,function*(){yield(0,he.FH)("",(0,he.NY)({url:we.Z.API_SERVER+"/api/courses/rank_list.xlsx",query:Dt}))}),Lt=Dt=>De(void 0,null,function*(){yield(0,he.FH)("",(0,he.NY)({url:we.Z.API_SERVER+"/api/courses/question_rank_list.xlsx",query:Dt}))}),zt=Dt=>De(void 0,null,function*(){yield(0,he.FH)("",(0,he.NY)({url:we.Z.API_SERVER+`/api/examination_banks/${Dt.id}.json`,query:Dt}))}),dt=Dt=>De(void 0,null,function*(){yield(0,he.FH)("",(0,he.NY)({url:we.Z.API_SERVER+`/api/exercises/${Dt.categoryId}.json`,query:Dt}))}),kt=Dt=>De(void 0,null,function*(){yield(0,he.FH)("",(0,he.NY)({url:we.Z.API_SERVER+`/api/polls/${Dt==null?void 0:Dt.id}/commit_result.json`,query:Dt}))}),Ze=Dt=>De(void 0,null,function*(){yield(0,he.FH)("",(0,he.NY)({url:we.Z.API_SERVER+"/api/paths/get_task_pass.json",query:Dt}))}),Dn=(Dt,rn)=>De(void 0,null,function*(){yield(0,he.FH)(rn||"",(0,he.NY)({url:we.Z.API_SERVER+`/api/exercises/${Dt==null?void 0:Dt.exercise_id}/consult_exercise.json`,query:Dt}))}),zn=Dt=>De(void 0,null,function*(){yield(0,he.FH)("",(0,he.NY)({url:we.Z.API_SERVER+`/api/competitions/${Dt==null?void 0:Dt.identifier}/competition_commit_records/member_works.xlsx`,query:Dt}))})},51959:function(mt,st,z){"use strict";z.d(st,{BU:function(){return ge},Dj:function(){return x},gH:function(){return he},vp:function(){return Fe}});function x(we){try{we.mozRequestFullScreen?we.mozRequestFullScreen():we.webkitRequestFullScreen&&we.webkitRequestFullScreen()}catch(ze){console.log(ze,":e")}}function ge(){window.top.document.webkitExitFullscreen?window.top.document.webkitExitFullscreen():document.exitFullscreen?window.top.document.exitFullscreen():document.msExitFullscreen?window.top.document.msExitFullscreen():document.mozCancelFullScreen&&window.top.document.mozCancelFullScreen()}const he=()=>{if(document.webkitExitFullscreen)return"webkitfullscreenchange";if(document.exitFullscreen)return"fullscreenchange";if(document.msExitFullscreen)return"msfullscreenchange";if(document.mozCancelFullScreen)return"mozfullscreenchange"};function Fe(){var we=window.top.document.fullscreenElement||window.top.document.mozFullscreenElement||window.top.document.webkitFullscreenElement,ze=document.fullscreenEnabled||document.mozFullscreenEnabled||document.webkitFullscreenEnabled;return console.log("fullscreenElement",we),window.isFullScreen?window.isFullScreen:we!=null}},78207:function(mt,st,z){"use strict";z.d(st,{rX:function(){return re},pW:function(){return oe},gy:function(){return ne},xY:function(){return te},O5:function(){return ee},tJ:function(){return ue},o1:function(){return a},Rd:function(){return E}});var x=z(35973),ge=z(14446),he=z(96074),Fe=z(2453),we=z(52262),ze=z(28706),se=z(55304),je=z(25510),Te="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAZAAAAGQCAIAAAAP3aGbAAAABGdBTUEAALGPC/xhBQAAACBjSFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAABmJLR0QA/wD/AP+gvaeTAAAACXBIWXMAABcRAAAXEQHKJvM/AAAouElEQVR42u3de5gU1Z038HOqqu89PQPMhQHkNqCiCCK5qMRojIkXRNFERDTGNRvik5hNjPtgzEuyJLq6sq/EbEyy+u5jjBEhSEREvKyXQJRVs1FEMARhhhlgLsDAMD3T96o67x8zzPQMPTPVU12XX8/38/D4PDZdVedUd3+py6nf4UIIBgBAgeR0AwAAjEJgAQAZCCwAIAOBBQBkILAAgAwEFgCQgcACADIQWABABgILAMhAYAEAGQgsACADgQUAZCCwAIAMxfhbOedOt7a/nKUmcrbT2aIUxned8Xaa/DhMbsi2dppk8nO3ovG27XnbemTbDmE4wgIAQhBYAEAGAgsAyEBgAQAZCCwAIAOBBQBk5DGsIaedO3dWVFRY3cpVq1atXLnS4JuNj3WwgvF7tCbHZFhxe9u2dZp8Z04uHGlhxbAbKz44F/6KB2I2sCoqKqqqqqzuajgctnoTACMWoV8xTgkBgAwEFgCQgcACADIQWABABgILAMgwe5cwJ5O3jVtaWgp+z8KKW+bOPvjuwq1bMaTD+OLG2+ks2/aSSS78FTMcYQEAIQgsACADgQUAZCCwAIAMBBYAkIHAAgAyLBnW4CxnS/fb9k4r7nk7W8LBClZUQbBiYIEVI2ycnXjFIjjCAgAyEFgAQAYCCwDIQGABABkILAAgA4EFAGQU4bAGK25Fu/Besm03wm27i2/bEATbNmTbN6QoRzDkhCMsACADgQUAZCCwAIAMBBYAkIHAAgAyEFgAQIYlwxpaWlrMLG5F7Xpnpy2w7Ta8bawo4eDC6RVIf0YmufBXzCwKLIvaCgC2ceevGKeEAEAGAgsAyEBgAQAZCCwAIMPs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a8740efb.png",Ke=z(32637),De=z(67294),ve=(de,pe,Ee)=>new Promise((be,xe)=>{var Ce=at=>{try{Re(Ee.next(at))}catch(Ie){xe(Ie)}},Ne=at=>{try{Re(Ee.throw(at))}catch(Ie){xe(Ie)}},Re=at=>at.done?be(at.value):Promise.resolve(at.value).then(Ce,Ne);Re((Ee=Ee.apply(de,pe)).next())});const ue=(de,pe=!1)=>!!(a(de)&&y(pe)),a=de=>(0,we.bg)()?!0:(de({type:"user/showPopLogin",payload:{showPopLogin:!0,showClosable:!0}}),!1),y=(de=!1)=>{var pe;const{user:Ee}=(0,x.getDvaApp)()._store.getState();return(pe=Ee.userInfo)!=null&&pe.profile_completed?!0:(ge.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,ze.xg)("/account/profile/edit"),b()}}),!1)},b=()=>{ge.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=()=>{ge.default.warning({title:"\u63D0\u793A",icon:null,width:400,content:De.createElement("div",{style:{textAlign:"center"}},De.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"),De.createElement("img",{style:{border:"1px solid #D8E3E9",width:190,height:180},src:Ke}),De.createElement("div",{style:{color:"#666666",fontSize:14,marginTop:15}},"\u6DFB\u52A0\u5BA2\u670D\u4EBA\u5458\u5FAE\u4FE1\uFF0C\u83B7\u5F97\u66F4\u591A\u652F\u6301"))})},ee=()=>{var de;const{user:pe}=(0,x.getDvaApp)()._store.getState();return(de=pe.userInfo)!=null&&de.professional_certification?!0:(ge.default.confirm({title:"\u63D0\u793A",centered:!0,content:De.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,ze.xg)("/account/certification")}}),!1)},te=()=>(0,we.V9)()?!0:(ge.default.warning({centered:!0,width:530,title:"\u63D0\u793A",content:De.createElement("div",{className:"tc",style:{marginLeft:-38}},De.createElement("p",null,"\u626B\u7801\u52A0\u52A9\u6559\uFF0C\u7533\u8BF7\u64CD\u4F5C\u6743\u9650"),De.createElement("img",{src:Le,width:200})),okText:"\u6211\u77E5\u9053\u4E86",maskClosable:!0}),!1),re=(de,pe)=>de?!0:(ge.default.confirm({centered:!0,zIndex:1e4,width:530,title:"\u63D0\u793A",content:De.createElement("div",null,De.createElement("p",null,pe||"\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"),De.createElement("div",{style:{marginLeft:"110px"}},De.createElement("img",{src:Te,width:200}),De.createElement("div",{style:{marginLeft:"35px"}},"\u7FA4\u53F7\uFF1A","714336072"))),okText:"\u7ACB\u5373\u8054\u7CFB",cancelText:"\u53D6\u6D88",onOk:()=>{(0,ze.xg)("https://qm.qq.com/cgi-bin/qm/qr?k=tIyDPXUtE0yEk-MOJxhH55lTUJS-nYAM&jump_from=webapi")}}),!1),oe=de=>{ge.default.info({title:"\u8054\u7CFB\u5E73\u53F0\u8FD0\u8425",icon:null,width:615,centered:!0,content:De.createElement("div",null,De.createElement("div",null,De.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"),De.createElement(he.Z,null),De.createElement("p",{style:{color:"#666666",fontSize:12}}," ",De.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 ",De.createElement("a",null,de),"\u5929\u3002"),De.createElement("p",{style:{color:"#666666",fontSize:12}}," ",De.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")),De.createElement("div",{style:{textAlign:"center",marginTop:30}},De.createElement("img",{style:{border:"4px solid #0152d9",borderRadius:"4px"},src:je,alt:"\u4E8C\u7EF4\u7801",width:160})))})},ne=(de,pe="")=>{const{shixunsDetail:{detail:Ee}}=(0,x.getDvaApp)()._store.getState();if((Ee==null?void 0:Ee.public)===2||(Ee==null?void 0:Ee.public)===1||(Ee==null?void 0:Ee.shixun_status)===3){let be="";return(Ee==null?void 0:Ee.public)===2&&(be="\u5DF2\u516C\u5F00"),(Ee==null?void 0:Ee.public)===1&&(be="\u5F85\u5BA1\u6838"),(Ee==null?void 0:Ee.shixun_status)===3&&(be="\u5DF2\u5173\u95ED"),ge.default.info({centered:!0,icon:De.createElement(se.Z,{style:{color:"#faad14"}}),width:460,title:"\u63D0\u793A",content:De.createElement("div",{className:"tc",style:{marginLeft:-38}},De.createElement("div",{style:{display:"flex",flexDirection:"column",alignItems:"flex-start",paddingLeft:38,margin:"12px 0"}},De.createElement("span",null,"\u8BE5\u5B9E\u8DF5\u9879\u76EE\u7684\u72B6\u6001\u4E3A",be,"\uFF0C",pe,"\u3002"),De.createElement("p",null,"\u5982\u6709\u9700\u8981\uFF0C\u8BF7\u8054\u7CFB\u5E73\u53F0\u7BA1\u7406\u5458\u8FDB\u884C\u6280\u672F\u652F\u6301\u3002")),De.createElement("img",{style:{border:"4px solid #0152d9",borderRadius:"4px"},src:je,alt:"\u4E8C\u7EF4\u7801",width:160})),okText:"\u6211\u77E5\u9053\u4E86"}),!0}return(Ee==null?void 0:Ee.shixun_status)===2?(ge.default.confirm({centered:!0,icon:De.createElement(se.Z,null),title:"\u63D0\u793A",content:De.createElement("div",null,De.createElement("span",null,"\u8BE5\u5B9E\u8DF5\u9879\u76EE\u5DF2\u53D1\u5E03\uFF0C",pe,"\u3002"),De.createElement("br",null),De.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:()=>{ge.default.confirm({width:440,centered:!0,icon:De.createElement(se.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:()=>ve(void 0,null,function*(){(yield de({type:"shixunsDetail/cancelRelease",payload:{id:Ee==null?void 0:Ee.identifier}})).status!==401&&(Fe.ZP.success("\u64A4\u9500\u53D1\u5E03\u6210\u529F\u3002\u5B9E\u8BAD\u56DE\u5230\u672A\u53D1\u5E03\u7684\u72B6\u6001\u3002"),de({type:"shixunsDetail/getShixunsDetail",payload:{id:Ee==null?void 0:Ee.identifier}}),de({type:"practiceSetting/getCommonData",payload:{id:Ee==null?void 0:Ee.identifier}}))})})}}),!0):!1}},38780:function(mt,st){"use strict";function z(){const x=Object.assign({},arguments.length<=0?void 0:arguments[0]);for(let ge=1;ge<arguments.length;ge++){const he=ge<0||arguments.length<=ge?void 0:arguments[ge];he&&Object.keys(he).forEach(Fe=>{const we=he[Fe];we!==void 0&&(x[Fe]=we)})}return x}st.Z=z},66367:function(mt,st,z){"use strict";z.d(st,{F:function(){return x},Z:function(){return ge}});function x(he){return he!=null&&he===he.window}function ge(he,Fe){var we,ze;if(typeof window=="undefined")return 0;const se=Fe?"scrollTop":"scrollLeft";let je=0;return x(he)?je=he[Fe?"pageYOffset":"pageXOffset"]:he instanceof Document?je=he.documentElement[se]:(he instanceof HTMLElement||he)&&(je=he[se]),he&&!x(he)&&typeof je!="number"&&(je=(ze=((we=he.ownerDocument)!==null&&we!==void 0?we:he).documentElement)===null||ze===void 0?void 0:ze[se]),je}},57838:function(mt,st,z){"use strict";z.d(st,{Z:function(){return ge}});var x=z(67294);function ge(){const[,he]=x.useReducer(Fe=>Fe+1,0);return he}},58375:function(mt,st,z){"use strict";z.d(st,{Z:function(){return Fe}});var x=z(96523);function ge(we,ze,se,je){const Te=se-ze;return we/=je/2,we<1?Te/2*we*we*we+ze:Te/2*((we-=2)*we*we+2)+ze}var he=z(66367);function Fe(we){let ze=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const{getContainer:se=()=>window,callback:je,duration:Te=450}=ze,Le=se(),Ke=(0,he.Z)(Le,!0),De=Date.now(),ve=()=>{const a=Date.now()-De,y=ge(a>Te?Te:a,Ke,we,Te);(0,he.F)(Le)?Le.scrollTo(window.pageXOffset,y):Le instanceof Document||Le.constructor.name==="HTMLDocument"?Le.documentElement.scrollTop=y:Le.scrollTop=y,a<Te?(0,x.Z)(ve):typeof je=="function"&&je()};(0,x.Z)(ve)}},85673:function(mt,st,z){"use strict";z.d(st,{Z:function(){return at}});var x=z(94184),ge=z.n(x),he=z(37419),Fe=z(1337),we=z(67294),ze=z(96159),se=z(53124),je=z(42922),Te=z(56153);const Le=Ie=>{let{children:Ue}=Ie;const{getPrefixCls:Ge}=we.useContext(se.E_),Ve=Ge("breadcrumb");return we.createElement("li",{className:`${Ve}-separator`,"aria-hidden":"true"},Ue===""?Ue:Ue||"/")};Le.__ANT_BREADCRUMB_SEPARATOR=!0;var Ke=Le,De=function(Ie,Ue){var Ge={};for(var Ve in Ie)Object.prototype.hasOwnProperty.call(Ie,Ve)&&Ue.indexOf(Ve)<0&&(Ge[Ve]=Ie[Ve]);if(Ie!=null&&typeof Object.getOwnPropertySymbols=="function")for(var rt=0,Ve=Object.getOwnPropertySymbols(Ie);rt<Ve.length;rt++)Ue.indexOf(Ve[rt])<0&&Object.prototype.propertyIsEnumerable.call(Ie,Ve[rt])&&(Ge[Ve[rt]]=Ie[Ve[rt]]);return Ge};function ve(Ie,Ue){if(Ie.title===void 0||Ie.title===null)return null;const Ge=Object.keys(Ue).join("|");return typeof Ie.title=="object"?Ie.title:String(Ie.title).replace(new RegExp(`:(${Ge})`,"g"),(Ve,rt)=>Ue[rt]||Ve)}function ue(Ie,Ue,Ge,Ve){if(Ge==null)return null;const{className:rt,onClick:gt}=Ue,xt=De(Ue,["className","onClick"]),Gt=Object.assign(Object.assign({},(0,Fe.Z)(xt,{data:!0,aria:!0})),{onClick:gt});return Ve!==void 0?we.createElement("a",Object.assign({},Gt,{className:ge()(`${Ie}-link`,rt),href:Ve}),Ge):we.createElement("span",Object.assign({},Gt,{className:ge()(`${Ie}-link`,rt)}),Ge)}function a(Ie,Ue){return(Ve,rt,gt,xt,Gt)=>{if(Ue)return Ue(Ve,rt,gt,xt);const yn=ve(Ve,rt);return ue(Ie,Ve,yn,Gt)}}var y=function(Ie,Ue){var Ge={};for(var Ve in Ie)Object.prototype.hasOwnProperty.call(Ie,Ve)&&Ue.indexOf(Ve)<0&&(Ge[Ve]=Ie[Ve]);if(Ie!=null&&typeof Object.getOwnPropertySymbols=="function")for(var rt=0,Ve=Object.getOwnPropertySymbols(Ie);rt<Ve.length;rt++)Ue.indexOf(Ve[rt])<0&&Object.prototype.propertyIsEnumerable.call(Ie,Ve[rt])&&(Ge[Ve[rt]]=Ie[Ve[rt]]);return Ge};const b=Ie=>{const{prefixCls:Ue,separator:Ge="/",children:Ve,menu:rt,overlay:gt,dropdownProps:xt,href:Gt}=Ie,lt=(ht=>{if(rt||gt){const Lt=Object.assign({},xt);if(rt){const zt=rt||{},{items:dt}=zt,kt=y(zt,["items"]);Lt.menu=Object.assign(Object.assign({},kt),{items:dt==null?void 0:dt.map((Ze,Dn)=>{var{key:zn,title:Dt,label:rn,path:en}=Ze,Ht=y(Ze,["key","title","label","path"]);let Et=rn!=null?rn:Dt;return en&&(Et=we.createElement("a",{href:`${Gt}${en}`},Et)),Object.assign(Object.assign({},Ht),{key:zn!=null?zn:Dn,label:Et})})})}else gt&&(Lt.overlay=gt);return we.createElement(Te.Z,Object.assign({placement:"bottom"},Lt),we.createElement("span",{className:`${Ue}-overlay-link`},ht,we.createElement(je.Z,null)))}return ht})(Ve);return lt!=null?we.createElement(we.Fragment,null,we.createElement("li",null,lt),Ge&&we.createElement(Ke,null,Ge)):null},E=Ie=>{const{prefixCls:Ue,children:Ge,href:Ve}=Ie,rt=y(Ie,["prefixCls","children","href"]),{getPrefixCls:gt}=we.useContext(se.E_),xt=gt("breadcrumb",Ue);return we.createElement(b,Object.assign({},rt,{prefixCls:xt}),ue(xt,rt,Ge,Ve))};E.__ANT_BREADCRUMB_ITEM=!0;var ee=E,te=z(14747),re=z(67968),oe=z(45503);const ne=Ie=>{const{componentCls:Ue,iconCls:Ge}=Ie;return{[Ue]:Object.assign(Object.assign({},(0,te.Wf)(Ie)),{color:Ie.itemColor,fontSize:Ie.fontSize,[Ge]:{fontSize:Ie.iconFontSize},ol:{display:"flex",flexWrap:"wrap",margin:0,padding:0,listStyle:"none"},a:Object.assign({color:Ie.linkColor,transition:`color ${Ie.motionDurationMid}`,padding:`0 ${Ie.paddingXXS}px`,borderRadius:Ie.borderRadiusSM,height:Ie.lineHeight*Ie.fontSize,display:"inline-block",marginInline:-Ie.marginXXS,"&:hover":{color:Ie.linkHoverColor,backgroundColor:Ie.colorBgTextHover}},(0,te.Qy)(Ie)),"li:last-child":{color:Ie.lastItemColor},[`${Ue}-separator`]:{marginInline:Ie.separatorMargin,color:Ie.separatorColor},[`${Ue}-link`]:{[`
|
|
> ${Ge} + span,
|
|
> ${Ge} + a
|
|
`]:{marginInlineStart:Ie.marginXXS}},[`${Ue}-overlay-link`]:{borderRadius:Ie.borderRadiusSM,height:Ie.lineHeight*Ie.fontSize,display:"inline-block",padding:`0 ${Ie.paddingXXS}px`,marginInline:-Ie.marginXXS,[`> ${Ge}`]:{marginInlineStart:Ie.marginXXS,fontSize:Ie.fontSizeIcon},"&:hover":{color:Ie.linkHoverColor,backgroundColor:Ie.colorBgTextHover,a:{color:Ie.linkHoverColor}},a:{"&:hover":{backgroundColor:"transparent"}}},[`&${Ie.componentCls}-rtl`]:{direction:"rtl"}})}};var de=(0,re.Z)("Breadcrumb",Ie=>{const Ue=(0,oe.TS)(Ie,{});return[ne(Ue)]},Ie=>({itemColor:Ie.colorTextDescription,lastItemColor:Ie.colorText,iconFontSize:Ie.fontSize,linkColor:Ie.colorTextDescription,linkHoverColor:Ie.colorText,separatorColor:Ie.colorTextDescription,separatorMargin:Ie.marginXS})),pe=function(Ie,Ue){var Ge={};for(var Ve in Ie)Object.prototype.hasOwnProperty.call(Ie,Ve)&&Ue.indexOf(Ve)<0&&(Ge[Ve]=Ie[Ve]);if(Ie!=null&&typeof Object.getOwnPropertySymbols=="function")for(var rt=0,Ve=Object.getOwnPropertySymbols(Ie);rt<Ve.length;rt++)Ue.indexOf(Ve[rt])<0&&Object.prototype.propertyIsEnumerable.call(Ie,Ve[rt])&&(Ge[Ve[rt]]=Ie[Ve[rt]]);return Ge};function Ee(Ie){const{breadcrumbName:Ue,children:Ge}=Ie,Ve=pe(Ie,["breadcrumbName","children"]),rt=Object.assign({title:Ue},Ve);return Ge&&(rt.menu={items:Ge.map(gt=>{var{breadcrumbName:xt}=gt,Gt=pe(gt,["breadcrumbName"]);return Object.assign(Object.assign({},Gt),{title:xt})})}),rt}function be(Ie,Ue){return(0,we.useMemo)(()=>Ie||(Ue?Ue.map(Ee):null),[Ie,Ue])}var xe=function(Ie,Ue){var Ge={};for(var Ve in Ie)Object.prototype.hasOwnProperty.call(Ie,Ve)&&Ue.indexOf(Ve)<0&&(Ge[Ve]=Ie[Ve]);if(Ie!=null&&typeof Object.getOwnPropertySymbols=="function")for(var rt=0,Ve=Object.getOwnPropertySymbols(Ie);rt<Ve.length;rt++)Ue.indexOf(Ve[rt])<0&&Object.prototype.propertyIsEnumerable.call(Ie,Ve[rt])&&(Ge[Ve[rt]]=Ie[Ve[rt]]);return Ge};const Ce=(Ie,Ue)=>{if(Ue===void 0)return Ue;let Ge=(Ue||"").replace(/^\//,"");return Object.keys(Ie).forEach(Ve=>{Ge=Ge.replace(`:${Ve}`,Ie[Ve])}),Ge},Ne=Ie=>{const{prefixCls:Ue,separator:Ge="/",style:Ve,className:rt,rootClassName:gt,routes:xt,items:Gt,children:yn,itemRender:lt,params:ht={}}=Ie,Lt=xe(Ie,["prefixCls","separator","style","className","rootClassName","routes","items","children","itemRender","params"]),{getPrefixCls:zt,direction:dt,breadcrumb:kt}=we.useContext(se.E_);let Ze;const Dn=zt("breadcrumb",Ue),[zn,Dt]=de(Dn),rn=be(Gt,xt),en=a(Dn,lt);if(rn&&rn.length>0){const wn=[],dn=Gt||xt;Ze=rn.map((Bt,Bn)=>{const{path:Yt,key:Xt,type:On,menu:bn,overlay:Je,onClick:He,className:Xn,separator:Me,dropdownProps:Xe}=Bt,Zt=Ce(ht,Yt);Zt!==void 0&&wn.push(Zt);const ot=Xt!=null?Xt:Bn;if(On==="separator")return we.createElement(Ke,{key:ot},Me);const Ye={},bt=Bn===rn.length-1;bn?Ye.menu=bn:Je&&(Ye.overlay=Je);let{href:Ut}=Bt;return wn.length&&Zt!==void 0&&(Ut=`#/${wn.join("/")}`),we.createElement(b,Object.assign({key:ot},Ye,(0,Fe.Z)(Bt,{data:!0,aria:!0}),{className:Xn,dropdownProps:Xe,href:Ut,separator:bt?"":Ge,onClick:He,prefixCls:Dn}),en(Bt,ht,dn,wn,Ut))})}else if(yn){const wn=(0,he.Z)(yn).length;Ze=(0,he.Z)(yn).map((dn,Bt)=>{if(!dn)return dn;const Bn=Bt===wn-1;return(0,ze.Tm)(dn,{separator:Bn?"":Ge,key:Bt})})}const Ht=ge()(Dn,kt==null?void 0:kt.className,{[`${Dn}-rtl`]:dt==="rtl"},rt,gt,Dt),Et=Object.assign(Object.assign({},kt==null?void 0:kt.style),Ve);return zn(we.createElement("nav",Object.assign({className:Ht,style:Et},Lt),we.createElement("ol",null,Ze)))};Ne.Item=ee,Ne.Separator=Ke;var Re=Ne,at=Re},84567:function(mt,st,z){"use strict";z.d(st,{default:function(){return de}});var x=z(94184),ge=z.n(x),he=z(95860),Fe=z(67294),we=z(53124),ze=z(98866),se=z(65223),Te=Fe.createContext(null),Le=z(63185),Ke=z(45353),De=z(92429),ve=function(pe,Ee){var be={};for(var xe in pe)Object.prototype.hasOwnProperty.call(pe,xe)&&Ee.indexOf(xe)<0&&(be[xe]=pe[xe]);if(pe!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Ce=0,xe=Object.getOwnPropertySymbols(pe);Ce<xe.length;Ce++)Ee.indexOf(xe[Ce])<0&&Object.prototype.propertyIsEnumerable.call(pe,xe[Ce])&&(be[xe[Ce]]=pe[xe[Ce]]);return be};const ue=(pe,Ee)=>{var be;const{prefixCls:xe,className:Ce,rootClassName:Ne,children:Re,indeterminate:at=!1,style:Ie,onMouseEnter:Ue,onMouseLeave:Ge,skipGroup:Ve=!1,disabled:rt}=pe,gt=ve(pe,["prefixCls","className","rootClassName","children","indeterminate","style","onMouseEnter","onMouseLeave","skipGroup","disabled"]),{getPrefixCls:xt,direction:Gt,checkbox:yn}=Fe.useContext(we.E_),lt=Fe.useContext(Te),{isFormItemInput:ht}=Fe.useContext(se.aM),Lt=Fe.useContext(ze.Z),zt=(be=(lt==null?void 0:lt.disabled)||rt)!==null&&be!==void 0?be:Lt,dt=Fe.useRef(gt.value);Fe.useEffect(()=>{lt==null||lt.registerValue(gt.value)},[]),Fe.useEffect(()=>{if(!Ve)return gt.value!==dt.current&&(lt==null||lt.cancelValue(dt.current),lt==null||lt.registerValue(gt.value),dt.current=gt.value),()=>lt==null?void 0:lt.cancelValue(gt.value)},[gt.value]);const kt=xt("checkbox",xe),[Ze,Dn]=(0,Le.ZP)(kt),zn=Object.assign({},gt);lt&&!Ve&&(zn.onChange=function(){gt.onChange&>.onChange.apply(gt,arguments),lt.toggleOption&<.toggleOption({label:Re,value:gt.value})},zn.name=lt.name,zn.checked=lt.value.includes(gt.value));const Dt=ge()(`${kt}-wrapper`,{[`${kt}-rtl`]:Gt==="rtl",[`${kt}-wrapper-checked`]:zn.checked,[`${kt}-wrapper-disabled`]:zt,[`${kt}-wrapper-in-form-item`]:ht},yn==null?void 0:yn.className,Ce,Ne,Dn),rn=ge()({[`${kt}-indeterminate`]:at},De.A,Dn),en=at?"mixed":void 0;return Ze(Fe.createElement(Ke.Z,{component:"Checkbox",disabled:zt},Fe.createElement("label",{className:Dt,style:Object.assign(Object.assign({},yn==null?void 0:yn.style),Ie),onMouseEnter:Ue,onMouseLeave:Ge},Fe.createElement(he.Z,Object.assign({"aria-checked":en},zn,{prefixCls:kt,className:rn,disabled:zt,ref:Ee})),Re!==void 0&&Fe.createElement("span",null,Re))))};var y=Fe.forwardRef(ue),b=z(74902),E=z(10366),ee=function(pe,Ee){var be={};for(var xe in pe)Object.prototype.hasOwnProperty.call(pe,xe)&&Ee.indexOf(xe)<0&&(be[xe]=pe[xe]);if(pe!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Ce=0,xe=Object.getOwnPropertySymbols(pe);Ce<xe.length;Ce++)Ee.indexOf(xe[Ce])<0&&Object.prototype.propertyIsEnumerable.call(pe,xe[Ce])&&(be[xe[Ce]]=pe[xe[Ce]]);return be};const te=(pe,Ee)=>{const{defaultValue:be,children:xe,options:Ce=[],prefixCls:Ne,className:Re,rootClassName:at,style:Ie,onChange:Ue}=pe,Ge=ee(pe,["defaultValue","children","options","prefixCls","className","rootClassName","style","onChange"]),{getPrefixCls:Ve,direction:rt}=Fe.useContext(we.E_),[gt,xt]=Fe.useState(Ge.value||be||[]),[Gt,yn]=Fe.useState([]);Fe.useEffect(()=>{"value"in Ge&&xt(Ge.value||[])},[Ge.value]);const lt=Fe.useMemo(()=>Ce.map(Ht=>typeof Ht=="string"||typeof Ht=="number"?{label:Ht,value:Ht}:Ht),[Ce]),ht=Ht=>{yn(Et=>Et.filter(wn=>wn!==Ht))},Lt=Ht=>{yn(Et=>[].concat((0,b.Z)(Et),[Ht]))},zt=Ht=>{const Et=gt.indexOf(Ht.value),wn=(0,b.Z)(gt);Et===-1?wn.push(Ht.value):wn.splice(Et,1),"value"in Ge||xt(wn),Ue==null||Ue(wn.filter(dn=>Gt.includes(dn)).sort((dn,Bt)=>{const Bn=lt.findIndex(Xt=>Xt.value===dn),Yt=lt.findIndex(Xt=>Xt.value===Bt);return Bn-Yt}))},dt=Ve("checkbox",Ne),kt=`${dt}-group`,[Ze,Dn]=(0,Le.ZP)(dt),zn=(0,E.Z)(Ge,["value","disabled"]),Dt=Ce.length?lt.map(Ht=>Fe.createElement(y,{prefixCls:dt,key:Ht.value.toString(),disabled:"disabled"in Ht?Ht.disabled:Ge.disabled,value:Ht.value,checked:gt.includes(Ht.value),onChange:Ht.onChange,className:`${kt}-item`,style:Ht.style,title:Ht.title},Ht.label)):xe,rn={toggleOption:zt,value:gt,disabled:Ge.disabled,name:Ge.name,registerValue:Lt,cancelValue:ht},en=ge()(kt,{[`${kt}-rtl`]:rt==="rtl"},Re,at,Dn);return Ze(Fe.createElement("div",Object.assign({className:en,style:Ie},zn,{ref:Ee}),Fe.createElement(Te.Provider,{value:rn},Dt)))},re=Fe.forwardRef(te);var oe=Fe.memo(re);const ne=y;ne.Group=oe,ne.__ANT_CHECKBOX=!0;var de=ne},63185:function(mt,st,z){"use strict";z.d(st,{C2:function(){return we}});var x=z(14747),ge=z(45503),he=z(67968);const Fe=ze=>{const{checkboxCls:se}=ze,je=`${se}-wrapper`;return[{[`${se}-group`]:Object.assign(Object.assign({},(0,x.Wf)(ze)),{display:"inline-flex",flexWrap:"wrap",columnGap:ze.marginXS,[`> ${ze.antCls}-row`]:{flex:1}}),[je]:Object.assign(Object.assign({},(0,x.Wf)(ze)),{display:"inline-flex",alignItems:"baseline",cursor:"pointer","&:after":{display:"inline-block",width:0,overflow:"hidden",content:"'\\a0'"},[`& + ${je}`]:{marginInlineStart:0},[`&${je}-in-form-item`]:{'input[type="checkbox"]':{width:14,height:14}}}),[se]:Object.assign(Object.assign({},(0,x.Wf)(ze)),{position:"relative",whiteSpace:"nowrap",lineHeight:1,cursor:"pointer",borderRadius:ze.borderRadiusSM,alignSelf:"center",[`${se}-input`]:{position:"absolute",inset:0,zIndex:1,cursor:"pointer",opacity:0,margin:0,[`&:focus-visible + ${se}-inner`]:Object.assign({},(0,x.oN)(ze))},[`${se}-inner`]:{boxSizing:"border-box",position:"relative",top:0,insetInlineStart:0,display:"block",width:ze.checkboxSize,height:ze.checkboxSize,direction:"ltr",backgroundColor:ze.colorBgContainer,border:`${ze.lineWidth}px ${ze.lineType} ${ze.colorBorder}`,borderRadius:ze.borderRadiusSM,borderCollapse:"separate",transition:`all ${ze.motionDurationSlow}`,"&:after":{boxSizing:"border-box",position:"absolute",top:"50%",insetInlineStart:"21.5%",display:"table",width:ze.checkboxSize/14*5,height:ze.checkboxSize/14*8,border:`${ze.lineWidthBold}px solid ${ze.colorWhite}`,borderTop:0,borderInlineStart:0,transform:"rotate(45deg) scale(0) translate(-50%,-50%)",opacity:0,content:'""',transition:`all ${ze.motionDurationFast} ${ze.motionEaseInBack}, opacity ${ze.motionDurationFast}`}},"& + span":{paddingInlineStart:ze.paddingXS,paddingInlineEnd:ze.paddingXS}})},{[`
|
|
${je}:not(${je}-disabled),
|
|
${se}:not(${se}-disabled)
|
|
`]:{[`&:hover ${se}-inner`]:{borderColor:ze.colorPrimary}},[`${je}:not(${je}-disabled)`]:{[`&:hover ${se}-checked:not(${se}-disabled) ${se}-inner`]:{backgroundColor:ze.colorPrimaryHover,borderColor:"transparent"},[`&:hover ${se}-checked:not(${se}-disabled):after`]:{borderColor:ze.colorPrimaryHover}}},{[`${se}-checked`]:{[`${se}-inner`]:{backgroundColor:ze.colorPrimary,borderColor:ze.colorPrimary,"&:after":{opacity:1,transform:"rotate(45deg) scale(1) translate(-50%,-50%)",transition:`all ${ze.motionDurationMid} ${ze.motionEaseOutBack} ${ze.motionDurationFast}`}}},[`
|
|
${je}-checked:not(${je}-disabled),
|
|
${se}-checked:not(${se}-disabled)
|
|
`]:{[`&:hover ${se}-inner`]:{backgroundColor:ze.colorPrimaryHover,borderColor:"transparent"}}},{[se]:{"&-indeterminate":{[`${se}-inner`]:{backgroundColor:ze.colorBgContainer,borderColor:ze.colorBorder,"&:after":{top:"50%",insetInlineStart:"50%",width:ze.fontSizeLG/2,height:ze.fontSizeLG/2,backgroundColor:ze.colorPrimary,border:0,transform:"translate(-50%, -50%) scale(1)",opacity:1,content:'""'}}}}},{[`${je}-disabled`]:{cursor:"not-allowed"},[`${se}-disabled`]:{[`&, ${se}-input`]:{cursor:"not-allowed",pointerEvents:"none"},[`${se}-inner`]:{background:ze.colorBgContainerDisabled,borderColor:ze.colorBorder,"&:after":{borderColor:ze.colorTextDisabled}},"&:after":{display:"none"},"& + span":{color:ze.colorTextDisabled},[`&${se}-indeterminate ${se}-inner::after`]:{background:ze.colorTextDisabled}}}]};function we(ze,se){const je=(0,ge.TS)(se,{checkboxCls:`.${ze}`,checkboxSize:se.controlInteractiveSize});return[Fe(je)]}st.ZP=(0,he.Z)("Checkbox",(ze,se)=>{let{prefixCls:je}=se;return[we(je,ze)]})},20669:function(mt,st,z){"use strict";z.d(st,{default:function(){return _i}});var x=z(97909),ge=z.n(x),he=z(68291),Fe=z(33088),we=z.n(Fe),ze=z(26850),se=z.n(ze),je=z(23082),Te=z.n(je),Le=z(99873),Ke=z.n(Le),De=z(86625),ve=z.n(De),ue=z(40618),a=z.n(ue);ge().extend(a()),ge().extend(ve()),ge().extend(we()),ge().extend(se()),ge().extend(Te()),ge().extend(Ke()),ge().extend(function(ae,ie){var le=ie.prototype,Se=le.format;le.format=function($e){var _e=($e||"").replace("Wo","wo");return Se.bind(this)(_e)}});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(ie){var le=y[ie];return le||ie.split("_")[0]},E=function(){(0,he.ET)(!1,"Not match any format. Please help to fire a issue about this.")},ee={getNow:function(){return ge()()},getFixedDate:function(ie){return ge()(ie,["YYYY-M-DD","YYYY-MM-DD"])},getEndDate:function(ie){return ie.endOf("month")},getWeekDay:function(ie){var le=ie.locale("en");return le.weekday()+le.localeData().firstDayOfWeek()},getYear:function(ie){return ie.year()},getMonth:function(ie){return ie.month()},getDate:function(ie){return ie.date()},getHour:function(ie){return ie.hour()},getMinute:function(ie){return ie.minute()},getSecond:function(ie){return ie.second()},addYear:function(ie,le){return ie.add(le,"year")},addMonth:function(ie,le){return ie.add(le,"month")},addDate:function(ie,le){return ie.add(le,"day")},setYear:function(ie,le){return ie.year(le)},setMonth:function(ie,le){return ie.month(le)},setDate:function(ie,le){return ie.date(le)},setHour:function(ie,le){return ie.hour(le)},setMinute:function(ie,le){return ie.minute(le)},setSecond:function(ie,le){return ie.second(le)},isAfter:function(ie,le){return ie.isAfter(le)},isValidate:function(ie){return ie.isValid()},locale:{getWeekFirstDay:function(ie){return ge()().locale(b(ie)).localeData().firstDayOfWeek()},getWeekFirstDate:function(ie,le){return le.locale(b(ie)).weekday(0)},getWeek:function(ie,le){return le.locale(b(ie)).week()},getShortWeekDays:function(ie){return ge()().locale(b(ie)).localeData().weekdaysMin()},getShortMonths:function(ie){return ge()().locale(b(ie)).localeData().monthsShort()},format:function(ie,le,Se){return le.locale(b(ie)).format(Se)},parse:function(ie,le,Se){for(var Ae=b(ie),$e=0;$e<Se.length;$e+=1){var _e=Se[$e],yt=le;if(_e.includes("wo")||_e.includes("Wo")){for(var At=yt.split("-")[0],Wt=yt.split("-")[1],An=ge()(At,"YYYY").startOf("year").locale(Ae),$t=0;$t<=52;$t+=1){var qt=An.add($t,"week");if(qt.format("Wo")===Wt)return qt}return E(),null}var nn=ge()(yt,_e,!0).locale(Ae);if(nn.isValid())return nn}return le&&E(),null}}},te=ee,re=z(8745),oe=z(87462),ne=z(67294),de=z.t(ne,2),pe={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"},Ee=pe,be=z(74643),xe=function(ie,le){return ne.createElement(be.Z,(0,oe.Z)({},ie,{ref:le,icon:Ee}))},Ce=ne.forwardRef(xe),Ne={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"},Re=Ne,at=function(ie,le){return ne.createElement(be.Z,(0,oe.Z)({},ie,{ref:le,icon:Re}))},Ie=ne.forwardRef(at),Ue=z(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"},Ve=Ge,rt=function(ie,le){return ne.createElement(be.Z,(0,oe.Z)({},ie,{ref:le,icon:Ve}))},gt=ne.forwardRef(rt),xt=z(94184),Gt=z.n(xt),yn=z(15671),lt=z(43144),ht=z(97326),Lt=z(60136),zt=z(51630),dt=z(4942),kt=z(1413),Ze=z(97685),Dn=z(5663),zn=z(1337),Dt=z(92739),rn=z(7699),en=10,Ht=en*10,Et=7;function wn(ae,ie){if(!ae&&!ie)return!0;if(!ae||!ie)return!1}function dn(ae,ie,le){var Se=wn(ie,le);if(typeof Se=="boolean")return Se;var Ae=Math.floor(ae.getYear(ie)/10),$e=Math.floor(ae.getYear(le)/10);return Ae===$e}function Bt(ae,ie,le){var Se=wn(ie,le);return typeof Se=="boolean"?Se:ae.getYear(ie)===ae.getYear(le)}function Bn(ae,ie){var le=Math.floor(ae.getMonth(ie)/3);return le+1}function Yt(ae,ie,le){var Se=wn(ie,le);return typeof Se=="boolean"?Se:Bt(ae,ie,le)&&Bn(ae,ie)===Bn(ae,le)}function Xt(ae,ie,le){var Se=wn(ie,le);return typeof Se=="boolean"?Se:Bt(ae,ie,le)&&ae.getMonth(ie)===ae.getMonth(le)}function On(ae,ie,le){var Se=wn(ie,le);return typeof Se=="boolean"?Se:ae.getYear(ie)===ae.getYear(le)&&ae.getMonth(ie)===ae.getMonth(le)&&ae.getDate(ie)===ae.getDate(le)}function bn(ae,ie,le){var Se=wn(ie,le);return typeof Se=="boolean"?Se:ae.getHour(ie)===ae.getHour(le)&&ae.getMinute(ie)===ae.getMinute(le)&&ae.getSecond(ie)===ae.getSecond(le)}function Je(ae,ie,le,Se){var Ae=wn(le,Se);return typeof Ae=="boolean"?Ae:Bt(ae,le,Se)&&ae.locale.getWeek(ie,le)===ae.locale.getWeek(ie,Se)}function He(ae,ie,le){return On(ae,ie,le)&&bn(ae,ie,le)}function Xn(ae,ie,le,Se){return!ie||!le||!Se?!1:!On(ae,ie,Se)&&!On(ae,le,Se)&&ae.isAfter(Se,ie)&&ae.isAfter(le,Se)}function Me(ae,ie,le){var Se=ie.locale.getWeekFirstDay(ae),Ae=ie.setDate(le,1),$e=ie.getWeekDay(Ae),_e=ie.addDate(Ae,Se-$e);return ie.getMonth(_e)===ie.getMonth(le)&&ie.getDate(_e)>1&&(_e=ie.addDate(_e,-7)),_e}function Xe(ae,ie,le){var Se=arguments.length>3&&arguments[3]!==void 0?arguments[3]:1;switch(ie){case"year":return le.addYear(ae,Se*10);case"quarter":case"month":return le.addYear(ae,Se);default:return le.addMonth(ae,Se)}}function Zt(ae,ie){var le=ie.generateConfig,Se=ie.locale,Ae=ie.format;return typeof Ae=="function"?Ae(ae):le.locale.format(Se.locale,ae,Ae)}function ot(ae,ie){var le=ie.generateConfig,Se=ie.locale,Ae=ie.formatList;return!ae||typeof Ae[0]=="function"?null:le.locale.parse(Se.locale,ae,Ae)}function Ye(ae){var ie=ae.cellDate,le=ae.mode,Se=ae.disabledDate,Ae=ae.generateConfig;if(!Se)return!1;var $e=function(cn,It,un){for(var Zn=It;Zn<=un;){var Ea=void 0;switch(cn){case"date":{if(Ea=Ae.setDate(ie,Zn),!Se(Ea))return!1;break}case"month":{if(Ea=Ae.setMonth(ie,Zn),!Ye({cellDate:Ea,mode:"month",generateConfig:Ae,disabledDate:Se}))return!1;break}case"year":{if(Ea=Ae.setYear(ie,Zn),!Ye({cellDate:Ea,mode:"year",generateConfig:Ae,disabledDate:Se}))return!1;break}}Zn+=1}return!0};switch(le){case"date":case"week":return Se(ie);case"month":{var _e=1,yt=Ae.getDate(Ae.getEndDate(ie));return $e("date",_e,yt)}case"quarter":{var At=Math.floor(Ae.getMonth(ie)/3)*3,Wt=At+2;return $e("month",At,Wt)}case"year":return $e("month",0,11);case"decade":{var An=Ae.getYear(ie),$t=Math.floor(An/en)*en,qt=$t+en-1;return $e("year",$t,qt)}}}function bt(ae,ie){var le=ie.formatList,Se=ie.generateConfig,Ae=ie.locale;return(0,Dt.Z)(function(){if(!ae)return[[""],""];for(var $e="",_e=[],yt=0;yt<le.length;yt+=1){var At=le[yt],Wt=Zt(ae,{generateConfig:Se,locale:Ae,format:At});_e.push(Wt),yt===0&&($e=Wt)}return[_e,$e]},[ae,le,Ae],function($e,_e){return!He(Se,$e[0],_e[0])||!(0,rn.Z)($e[1],_e[1],!0)||!(0,rn.Z)($e[2],_e[2],!0)})}function Ut(ae,ie){var le=ie.formatList,Se=ie.generateConfig,Ae=ie.locale,$e=(0,ne.useState)(null),_e=(0,Ze.Z)($e,2),yt=_e[0],At=_e[1],Wt=(0,ne.useRef)(null);function An(un){var Zn=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;if(cancelAnimationFrame(Wt.current),Zn){At(un);return}Wt.current=requestAnimationFrame(function(){At(un)})}var $t=bt(yt,{formatList:le,generateConfig:Se,locale:Ae}),qt=(0,Ze.Z)($t,2),nn=qt[1];function cn(un){An(un)}function It(){var un=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1;An(null,un)}return(0,ne.useEffect)(function(){It(!0)},[ae]),(0,ne.useEffect)(function(){return function(){return cancelAnimationFrame(Wt.current)}},[]),[nn,cn,It]}var Nt=z(92389),In=z(96523),Tt=z(74902),Kt=z(48130),pt=new Map;function En(ae,ie){var le;function Se(){(0,Kt.Z)(ae)?ie():le=(0,In.Z)(function(){Se()})}return Se(),function(){In.Z.cancel(le)}}function Jt(ae,ie,le){if(pt.get(ae)&&cancelAnimationFrame(pt.get(ae)),le<=0){pt.set(ae,requestAnimationFrame(function(){ae.scrollTop=ie}));return}var Se=ie-ae.scrollTop,Ae=Se/le*10;pt.set(ae,requestAnimationFrame(function(){ae.scrollTop+=Ae,ae.scrollTop!==ie&&Jt(ae,ie,le-10)}))}function xn(ae,ie){var le=ie.onLeftRight,Se=ie.onCtrlLeftRight,Ae=ie.onUpDown,$e=ie.onPageUpDown,_e=ie.onEnter,yt=ae.which,At=ae.ctrlKey,Wt=ae.metaKey;switch(yt){case Nt.Z.LEFT:if(At||Wt){if(Se)return Se(-1),!0}else if(le)return le(-1),!0;break;case Nt.Z.RIGHT:if(At||Wt){if(Se)return Se(1),!0}else if(le)return le(1),!0;break;case Nt.Z.UP:if(Ae)return Ae(-1),!0;break;case Nt.Z.DOWN:if(Ae)return Ae(1),!0;break;case Nt.Z.PAGE_UP:if($e)return $e(-1),!0;break;case Nt.Z.PAGE_DOWN:if($e)return $e(1),!0;break;case Nt.Z.ENTER:if(_e)return _e(),!0;break}return!1}function Aa(ae,ie,le,Se){var Ae=ae;if(!Ae)switch(ie){case"time":Ae=Se?"hh:mm:ss a":"HH:mm:ss";break;case"week":Ae="gggg-wo";break;case"month":Ae="YYYY-MM";break;case"quarter":Ae="YYYY-[Q]Q";break;case"year":Ae="YYYY";break;default:Ae=le?"YYYY-MM-DD HH:mm:ss":"YYYY-MM-DD"}return Ae}function jn(ae,ie,le){var Se=ae==="time"?8:10,Ae=typeof ie=="function"?ie(le.getNow()).length:ie.length;return Math.max(Se,Ae)+2}var ua=null,La=new Set;function on(ae){return!ua&&typeof window!="undefined"&&window.addEventListener&&(ua=function(le){(0,Tt.Z)(La).forEach(function(Se){Se(le)})},window.addEventListener("mousedown",ua)),La.add(ae),function(){La.delete(ae),La.size===0&&(window.removeEventListener("mousedown",ua),ua=null)}}function gn(ae){var ie=ae.target;if(ae.composed&&ie.shadowRoot){var le;return((le=ae.composedPath)===null||le===void 0?void 0:le.call(ae)[0])||ie}return ie}var Sn=function(ie){return ie==="month"||ie==="date"?"year":ie},Fa=function(ie){return ie==="date"?"month":ie},pa=function(ie){return ie==="month"||ie==="date"?"quarter":ie},ra=function(ie){return ie==="date"?"week":ie},Ga={year:Sn,month:Fa,quarter:pa,week:ra,time:null,date:null};function _a(ae,ie){return ae.some(function(le){return le&&le.contains(ie)})}function Qr(ae){var ie=ae.open,le=ae.value,Se=ae.isClickOutside,Ae=ae.triggerOpen,$e=ae.forwardKeyDown,_e=ae.onKeyDown,yt=ae.blurToCancel,At=ae.onSubmit,Wt=ae.onCancel,An=ae.onFocus,$t=ae.onBlur,qt=ae.changeOnBlur,nn=(0,ne.useState)(!1),cn=(0,Ze.Z)(nn,2),It=cn[0],un=cn[1],Zn=(0,ne.useState)(!1),Ea=(0,Ze.Z)(Zn,2),Jn=Ea[0],Yn=Ea[1],Ha=(0,ne.useRef)(!1),Kn=(0,ne.useRef)(!1),_n=(0,ne.useRef)(!1),Sr={onMouseDown:function(){un(!0),Ae(!0)},onKeyDown:function(yr){var ur=function(){_n.current=!0};if(_e(yr,ur),!_n.current){switch(yr.which){case Nt.Z.ENTER:{ie?At()!==!1&&un(!0):Ae(!0),yr.preventDefault();return}case Nt.Z.TAB:{It&&ie&&!yr.shiftKey?(un(!1),yr.preventDefault()):!It&&ie&&!$e(yr)&&yr.shiftKey&&(un(!0),yr.preventDefault());return}case Nt.Z.ESC:{un(!0),Wt();return}}!ie&&![Nt.Z.SHIFT].includes(yr.which)?Ae(!0):It||$e(yr)}},onFocus:function(yr){un(!0),Yn(!0),An&&An(yr)},onBlur:function(yr){if(Ha.current||!Se(document.activeElement)){Ha.current=!1;return}yt?setTimeout(function(){for(var ur=document,Gr=ur.activeElement;Gr&&Gr.shadowRoot;)Gr=Gr.shadowRoot.activeElement;Se(Gr)&&Wt()},0):ie&&(Ae(!1),Kn.current&&At()),Yn(!1),$t==null||$t(yr)}};return(0,ne.useEffect)(function(){Kn.current=!1},[ie]),(0,ne.useEffect)(function(){Kn.current=!0},[le]),(0,ne.useEffect)(function(){return on(function(Ya){var yr=gn(Ya),ur=Se(yr);ie&&(ur?!qt&&(!Jn||ur)&&Ae(!1):(Ha.current=!0,(0,In.Z)(function(){Ha.current=!1})))})}),[Sr,{focused:Jn,typing:It}]}function wo(ae,ie){return ne.useMemo(function(){return ae||(ie?((0,he.ZP)(!1,"`ranges` is deprecated. Please use `presets` instead."),Object.entries(ie).map(function(le){var Se=(0,Ze.Z)(le,2),Ae=Se[0],$e=Se[1];return{label:Ae,value:$e}})):[])},[ae,ie])}var Ln=z(14075);function wt(ae){var ie=ae.valueTexts,le=ae.onTextChange,Se=ne.useState(""),Ae=(0,Ze.Z)(Se,2),$e=Ae[0],_e=Ae[1],yt=ne.useRef([]);yt.current=ie;function At(An){_e(An),le(An)}function Wt(){_e(yt.current[0])}return(0,Ln.Z)(function(){ie.every(function(An){return An!==$e})&&Wt()},[ie.join("||")]),[$e,At,Wt]}var Rt=ne.createContext({}),Ct=Rt,qn=z(71002);function Qt(ae){var ie=ae.cellRender,le=ae.monthCellRender,Se=ae.dateRender,Ae=ne.useMemo(function(){if(ie)return ie;if(!(!le&&!Se))return function($e,_e){var yt=$e;return Se&&_e.type==="date"?Se(yt,_e.today):le&&_e.type==="month"?le(yt,_e.locale):_e.originNode}},[ie,le,Se]);return Ae}function er(ae,ie){for(var le=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"0",Se=String(ae);Se.length<ie;)Se="".concat(le).concat(ae);return Se}var Zo=function(){for(var ie=arguments.length,le=new Array(ie),Se=0;Se<ie;Se++)le[Se]=arguments[Se];return le};function ao(ae){return ae==null?[]:Array.isArray(ae)?ae:[ae]}function rr(ae,ie){return ae?ae[ie]:null}function qr(ae,ie,le){var Se=[rr(ae,0),rr(ae,1)];return Se[le]=typeof ie=="function"?ie(Se[le]):ie,!Se[0]&&!Se[1]?null:Se}function Jo(ae){return typeof ae=="function"?ae():ae}function da(ae){var ie=ae.cellPrefixCls,le=ae.generateConfig,Se=ae.rangedValue,Ae=ae.hoverRangedValue,$e=ae.isInView,_e=ae.isSameCell,yt=ae.offsetCell,At=ae.today,Wt=ae.value;function An($t){var qt,nn=yt($t,-1),cn=yt($t,1),It=rr(Se,0),un=rr(Se,1),Zn=rr(Ae,0),Ea=rr(Ae,1),Jn=Xn(le,Zn,Ea,$t);function Yn(yr){return _e(It,yr)}function Ha(yr){return _e(un,yr)}var Kn=_e(Zn,$t),_n=_e(Ea,$t),Sr=(Jn||_n)&&(!$e(nn)||Ha(nn)),Ya=(Jn||Kn)&&(!$e(cn)||Yn(cn));return qt={},(0,dt.Z)(qt,"".concat(ie,"-in-view"),$e($t)),(0,dt.Z)(qt,"".concat(ie,"-in-range"),Xn(le,It,un,$t)),(0,dt.Z)(qt,"".concat(ie,"-range-start"),Yn($t)),(0,dt.Z)(qt,"".concat(ie,"-range-end"),Ha($t)),(0,dt.Z)(qt,"".concat(ie,"-range-start-single"),Yn($t)&&!un),(0,dt.Z)(qt,"".concat(ie,"-range-end-single"),Ha($t)&&!It),(0,dt.Z)(qt,"".concat(ie,"-range-start-near-hover"),Yn($t)&&(_e(nn,Zn)||Xn(le,Zn,Ea,nn))),(0,dt.Z)(qt,"".concat(ie,"-range-end-near-hover"),Ha($t)&&(_e(cn,Ea)||Xn(le,Zn,Ea,cn))),(0,dt.Z)(qt,"".concat(ie,"-range-hover"),Jn),(0,dt.Z)(qt,"".concat(ie,"-range-hover-start"),Kn),(0,dt.Z)(qt,"".concat(ie,"-range-hover-end"),_n),(0,dt.Z)(qt,"".concat(ie,"-range-hover-edge-start"),Sr),(0,dt.Z)(qt,"".concat(ie,"-range-hover-edge-end"),Ya),(0,dt.Z)(qt,"".concat(ie,"-range-hover-edge-start-near-range"),Sr&&_e(nn,un)),(0,dt.Z)(qt,"".concat(ie,"-range-hover-edge-end-near-range"),Ya&&_e(cn,It)),(0,dt.Z)(qt,"".concat(ie,"-today"),_e(At,$t)),(0,dt.Z)(qt,"".concat(ie,"-selected"),_e(Wt,$t)),qt}return An}var Vr=ne.createContext({}),ft=Vr;function vn(ae,ie,le,Se,Ae){var $e=ae.setHour(ie,le);return $e=ae.setMinute($e,Se),$e=ae.setSecond($e,Ae),$e}function an(ae,ie,le){if(!le)return ie;var Se=ie;return Se=ae.setHour(Se,ae.getHour(le)),Se=ae.setMinute(Se,ae.getMinute(le)),Se=ae.setSecond(Se,ae.getSecond(le)),Se}function mn(ae,ie,le,Se,Ae,$e){var _e=Math.floor(ae/Se)*Se;if(_e<ae)return[_e,60-Ae,60-$e];var yt=Math.floor(ie/Ae)*Ae;if(yt<ie)return[_e,yt,60-$e];var At=Math.floor(le/$e)*$e;return[_e,yt,At]}function ca(ae,ie){var le=ae.getYear(ie),Se=ae.getMonth(ie)+1,Ae=ae.getEndDate(ae.getFixedDate("".concat(le,"-").concat(Se,"-01"))),$e=ae.getDate(Ae),_e=Se<10?"0".concat(Se):"".concat(Se);return"".concat(le,"-").concat(_e,"-").concat($e)}function fn(ae){for(var ie=ae.prefixCls,le=ae.disabledDate,Se=ae.onSelect,Ae=ae.picker,$e=ae.rowNum,_e=ae.colNum,yt=ae.prefixColumn,At=ae.rowClassName,Wt=ae.baseDate,An=ae.getCellClassName,$t=ae.getCellText,qt=ae.getCellNode,nn=ae.getCellDate,cn=ae.generateConfig,It=ae.titleCell,un=ae.headerCells,Zn=ne.useContext(Ct),Ea=Zn.onDateMouseEnter,Jn=Zn.onDateMouseLeave,Yn=Zn.mode,Ha="".concat(ie,"-cell"),Kn=[],_n=0;_n<$e;_n+=1){for(var Sr=[],Ya=void 0,yr=function(){var Co,Vo=_n*_e+ur,Ur=nn(Wt,Vo),$r=Ye({cellDate:Ur,mode:Yn,disabledDate:le,generateConfig:cn});ur===0&&(Ya=Ur,yt&&Sr.push(yt(Ya)));var Dr=It&&It(Ur),Yo=ne.createElement("div",{className:"".concat(Ha,"-inner")},$t(Ur));Sr.push(ne.createElement("td",{key:ur,title:Dr,className:Gt()(Ha,(0,kt.Z)((Co={},(0,dt.Z)(Co,"".concat(Ha,"-disabled"),$r),(0,dt.Z)(Co,"".concat(Ha,"-start"),$t(Ur)===1||Ae==="year"&&Number(Dr)%10===0),(0,dt.Z)(Co,"".concat(Ha,"-end"),Dr===ca(cn,Ur)||Ae==="year"&&Number(Dr)%10===9),Co),An(Ur))),onClick:function(){$r||Se(Ur)},onMouseEnter:function(){!$r&&Ea&&Ea(Ur)},onMouseLeave:function(){!$r&&Jn&&Jn(Ur)}},qt?qt(Ur,Yo):Yo))},ur=0;ur<_e;ur+=1)yr();Kn.push(ne.createElement("tr",{key:_n,className:At&&At(Ya)},Sr))}return ne.createElement("div",{className:"".concat(ie,"-body")},ne.createElement("table",{className:"".concat(ie,"-content")},un&&ne.createElement("thead",null,ne.createElement("tr",null,un)),ne.createElement("tbody",null,Kn)))}function la(ae){var ie=ae.prefixCls,le=ae.generateConfig,Se=ae.prefixColumn,Ae=ae.locale,$e=ae.rowCount,_e=ae.viewDate,yt=ae.value,At=ae.cellRender,Wt=ae.isSameCell,An=ne.useContext(ft),$t=An.rangedValue,qt=An.hoverRangedValue,nn=Me(Ae.locale,le,_e),cn="".concat(ie,"-cell"),It=le.locale.getWeekFirstDay(Ae.locale),un=le.getNow(),Zn=[],Ea=Ae.shortWeekDays||(le.locale.getShortWeekDays?le.locale.getShortWeekDays(Ae.locale):[]);Se&&Zn.push(ne.createElement("th",{key:"empty","aria-label":"empty cell"}));for(var Jn=0;Jn<Et;Jn+=1)Zn.push(ne.createElement("th",{key:Jn},Ea[(Jn+It)%Et]));var Yn=da({cellPrefixCls:cn,today:un,value:yt,generateConfig:le,rangedValue:Se?null:$t,hoverRangedValue:Se?null:qt,isSameCell:Wt||function(Kn,_n){return On(le,Kn,_n)},isInView:function(_n){return Xt(le,_n,_e)},offsetCell:function(_n,Sr){return le.addDate(_n,Sr)}}),Ha=At?function(Kn,_n){return At(Kn,{originNode:_n,today:un,type:"date",locale:Ae})}:void 0;return ne.createElement(fn,(0,oe.Z)({},ae,{rowNum:$e,colNum:Et,baseDate:nn,getCellNode:Ha,getCellText:le.getDate,getCellClassName:Yn,getCellDate:le.addDate,titleCell:function(_n){return Zt(_n,{locale:Ae,format:"YYYY-MM-DD",generateConfig:le})},headerCells:Zn}))}var Tn=la,Sa={visibility:"hidden"};function Qa(ae){var ie=ae.prefixCls,le=ae.prevIcon,Se=le===void 0?"\u2039":le,Ae=ae.nextIcon,$e=Ae===void 0?"\u203A":Ae,_e=ae.superPrevIcon,yt=_e===void 0?"\xAB":_e,At=ae.superNextIcon,Wt=At===void 0?"\xBB":At,An=ae.onSuperPrev,$t=ae.onSuperNext,qt=ae.onPrev,nn=ae.onNext,cn=ae.children,It=ne.useContext(Ct),un=It.hideNextBtn,Zn=It.hidePrevBtn;return ne.createElement("div",{className:ie},An&&ne.createElement("button",{type:"button",onClick:An,tabIndex:-1,className:"".concat(ie,"-super-prev-btn"),style:Zn?Sa:{}},yt),qt&&ne.createElement("button",{type:"button",onClick:qt,tabIndex:-1,className:"".concat(ie,"-prev-btn"),style:Zn?Sa:{}},Se),ne.createElement("div",{className:"".concat(ie,"-view")},cn),nn&&ne.createElement("button",{type:"button",onClick:nn,tabIndex:-1,className:"".concat(ie,"-next-btn"),style:un?Sa:{}},$e),$t&&ne.createElement("button",{type:"button",onClick:$t,tabIndex:-1,className:"".concat(ie,"-super-next-btn"),style:un?Sa:{}},Wt))}var Br=Qa;function no(ae){var ie=ae.prefixCls,le=ae.generateConfig,Se=ae.locale,Ae=ae.viewDate,$e=ae.onNextMonth,_e=ae.onPrevMonth,yt=ae.onNextYear,At=ae.onPrevYear,Wt=ae.onYearClick,An=ae.onMonthClick,$t=ne.useContext(Ct),qt=$t.hideHeader;if(qt)return null;var nn="".concat(ie,"-header"),cn=Se.shortMonths||(le.locale.getShortMonths?le.locale.getShortMonths(Se.locale):[]),It=le.getMonth(Ae),un=ne.createElement("button",{type:"button",key:"year",onClick:Wt,tabIndex:-1,className:"".concat(ie,"-year-btn")},Zt(Ae,{locale:Se,format:Se.yearFormat,generateConfig:le})),Zn=ne.createElement("button",{type:"button",key:"month",onClick:An,tabIndex:-1,className:"".concat(ie,"-month-btn")},Se.monthFormat?Zt(Ae,{locale:Se,format:Se.monthFormat,generateConfig:le}):cn[It]),Ea=Se.monthBeforeYear?[Zn,un]:[un,Zn];return ne.createElement(Br,(0,oe.Z)({},ae,{prefixCls:nn,onSuperPrev:At,onPrev:_e,onNext:$e,onSuperNext:yt}),Ea)}var No=no,Hn=6;function Qi(ae){var ie=ae.prefixCls,le=ae.panelName,Se=le===void 0?"date":le,Ae=ae.keyboardConfig,$e=ae.active,_e=ae.operationRef,yt=ae.generateConfig,At=ae.value,Wt=ae.viewDate,An=ae.onViewDateChange,$t=ae.onPanelChange,qt=ae.onSelect,nn="".concat(ie,"-").concat(Se,"-panel");_e.current={onKeyDown:function(Zn){return xn(Zn,(0,kt.Z)({onLeftRight:function(Jn){qt(yt.addDate(At||Wt,Jn),"key")},onCtrlLeftRight:function(Jn){qt(yt.addYear(At||Wt,Jn),"key")},onUpDown:function(Jn){qt(yt.addDate(At||Wt,Jn*Et),"key")},onPageUpDown:function(Jn){qt(yt.addMonth(At||Wt,Jn),"key")}},Ae))}};var cn=function(Zn){var Ea=yt.addYear(Wt,Zn);An(Ea),$t(null,Ea)},It=function(Zn){var Ea=yt.addMonth(Wt,Zn);An(Ea),$t(null,Ea)};return ne.createElement("div",{className:Gt()(nn,(0,dt.Z)({},"".concat(nn,"-active"),$e))},ne.createElement(No,(0,oe.Z)({},ae,{prefixCls:ie,value:At,viewDate:Wt,onPrevYear:function(){cn(-1)},onNextYear:function(){cn(1)},onPrevMonth:function(){It(-1)},onNextMonth:function(){It(1)},onMonthClick:function(){$t("month",Wt)},onYearClick:function(){$t("year",Wt)}})),ne.createElement(Tn,(0,oe.Z)({},ae,{onSelect:function(Zn){return qt(Zn,"mouse")},prefixCls:ie,value:At,viewDate:Wt,rowCount:Hn})))}var yi=Qi;function Yr(ae){var ie=ne.useContext(Ct),le=ie.hideHeader;if(le)return null;var Se=ae.prefixCls,Ae=ae.generateConfig,$e=ae.locale,_e=ae.value,yt=ae.format,At="".concat(Se,"-header");return ne.createElement(Br,{prefixCls:At},_e?Zt(_e,{locale:$e,format:yt,generateConfig:Ae}):"\xA0")}var Pi=Yr;function ha(ae){var ie=ae.value,le=ae.generateConfig,Se=ae.disabledMinutes,Ae=ae.disabledSeconds,$e=ae.minutes,_e=ae.seconds,yt=ae.use12Hours,At=function(An,$t,qt,nn){var cn=le.getNow(),It=ie||cn,un=$t<0?le.getHour(cn):$t,Zn=qt<0?le.getMinute(cn):qt,Ea=nn<0?le.getSecond(cn):nn,Jn=Se&&Se(un);if(Jn!=null&&Jn.includes(Zn)){var Yn=$e.find(function(_n){return!Jn.includes(_n.value)});if(Yn)Zn=Yn.value;else return null}var Ha=Ae&&Ae(un,Zn);if(Ha!=null&&Ha.includes(Ea)){var Kn=_e.find(function(_n){return!Ha.includes(_n.value)});if(Kn)Ea=Kn.value;else return null}return It=vn(le,It,!yt||!An?un:un+12,Zn,Ea),It};return At}function tr(ae){var ie=ae.prefixCls,le=ae.units,Se=ae.onSelect,Ae=ae.value,$e=ae.active,_e=ae.hideDisabledOptions,yt=ae.info,At=ae.type,Wt="".concat(ie,"-cell"),An=ne.useContext(Ct),$t=An.open,qt=(0,ne.useRef)(null),nn=(0,ne.useRef)(new Map),cn=(0,ne.useRef)();return(0,ne.useLayoutEffect)(function(){var It=nn.current.get(Ae);It&&$t!==!1&&Jt(qt.current,It.offsetTop,120)},[Ae]),(0,ne.useLayoutEffect)(function(){if($t){var It=nn.current.get(Ae);It&&(cn.current=En(It,function(){Jt(qt.current,It.offsetTop,0)}))}return function(){var un;(un=cn.current)===null||un===void 0||un.call(cn)}},[$t]),ne.createElement("ul",{className:Gt()("".concat(ie,"-column"),(0,dt.Z)({},"".concat(ie,"-column-active"),$e)),ref:qt,style:{position:"relative"}},le.map(function(It){var un;return _e&&It.disabled?null:ne.createElement("li",{key:It.value,ref:function(Ea){nn.current.set(It.value,Ea)},className:Gt()(Wt,(un={},(0,dt.Z)(un,"".concat(Wt,"-disabled"),It.disabled),(0,dt.Z)(un,"".concat(Wt,"-selected"),Ae===It.value),un)),onClick:function(){It.disabled||Se(It.value)}},yt.cellRender?yt.cellRender(It.value,{today:yt.today,locale:yt.locale,originNode:ne.createElement("div",{className:"".concat(Wt,"-inner")},It.label),type:"time",subType:At}):ne.createElement("div",{className:"".concat(Wt,"-inner")},It.label))}))}var xr=tr;function fa(ae,ie){if(ae.length!==ie.length)return!0;for(var le=0;le<ae.length;le+=1)if(ae[le].disabled!==ie[le].disabled)return!0;return!1}function eo(ae,ie,le,Se){for(var Ae=[],$e=le>=1?le|0:1,_e=ae;_e<=ie;_e+=$e)Ae.push({label:er(_e,2),value:_e,disabled:(Se||[]).includes(_e)});return Ae}function Oo(ae){var ie=ae.generateConfig,le=ae.prefixCls,Se=ae.operationRef,Ae=ae.activeColumnIndex,$e=ae.value,_e=ae.showHour,yt=ae.showMinute,At=ae.showSecond,Wt=ae.use12Hours,An=ae.hourStep,$t=An===void 0?1:An,qt=ae.minuteStep,nn=qt===void 0?1:qt,cn=ae.secondStep,It=cn===void 0?1:cn,un=ae.disabledHours,Zn=ae.disabledMinutes,Ea=ae.disabledSeconds,Jn=ae.disabledTime,Yn=ae.hideDisabledOptions,Ha=ae.onSelect,Kn=ae.cellRender,_n=ae.locale,Sr=[],Ya="".concat(le,"-content"),yr="".concat(le,"-time-panel"),ur,Gr=$e?ie.getHour($e):-1,Co=Gr,Vo=$e?ie.getMinute($e):-1,Ur=$e?ie.getSecond($e):-1,$r=ie.getNow(),Dr=ne.useMemo(function(){if(Jn){var So=Jn($r);return[So.disabledHours,So.disabledMinutes,So.disabledSeconds]}return[un,Zn,Ea]},[un,Zn,Ea,Jn,$r]),Yo=(0,Ze.Z)(Dr,3),ho=Yo[0],bo=Yo[1],Bi=Yo[2],zi=eo(0,23,$t,ho&&ho()),Xi=(0,Dt.Z)(function(){return zi},zi,fa);Wt&&(ur=Co>=12,Co%=12);var xl=ne.useMemo(function(){if(!Wt)return[!1,!1];var So=[!0,!0];return Xi.forEach(function(Wi){var pi=Wi.disabled,_o=Wi.value;pi||(_o>=12?So[1]=!1:So[0]=!1)}),So},[Wt,Xi]),wi=(0,Ze.Z)(xl,2),fl=wi[0],ni=wi[1],ci=ne.useMemo(function(){return Wt?Xi.filter(ur?function(So){return So.value>=12}:function(So){return So.value<12}).map(function(So){var Wi=So.value%12,pi=Wi===0?"12":er(Wi,2);return(0,kt.Z)((0,kt.Z)({},So),{},{label:pi,value:Wi})}):Xi},[Wt,ur,Xi]),Li=eo(0,59,nn,bo&&bo(Gr)),ml=eo(0,59,It,Bi&&Bi(Gr,Vo)),yl=ha({value:$e,generateConfig:ie,disabledMinutes:bo,disabledSeconds:Bi,minutes:Li,seconds:ml,use12Hours:Wt});Se.current={onUpDown:function(Wi){var pi=Sr[Ae];if(pi)for(var _o=pi.units.findIndex(function(ql){return ql.value===pi.value}),Hr=pi.units.length,ei=1;ei<Hr;ei+=1){var Ui=pi.units[(_o+Wi*ei+Hr)%Hr];if(Ui.disabled!==!0){pi.onSelect(Ui.value);break}}}};function Ul(So,Wi,pi,_o,Hr){So!==!1&&Sr.push({node:ne.cloneElement(Wi,{prefixCls:yr,value:pi,active:Ae===Sr.length,onSelect:Hr,units:_o,hideDisabledOptions:Yn}),onSelect:Hr,value:pi,units:_o})}Ul(_e,ne.createElement(xr,{key:"hour",type:"hour",info:{today:$r,locale:_n,cellRender:Kn}}),Co,ci,function(So){Ha(yl(ur,So,Vo,Ur),"mouse")}),Ul(yt,ne.createElement(xr,{key:"minute",type:"minute",info:{today:$r,locale:_n,cellRender:Kn}}),Vo,Li,function(So){Ha(yl(ur,Co,So,Ur),"mouse")}),Ul(At,ne.createElement(xr,{key:"second",type:"second",info:{today:$r,locale:_n,cellRender:Kn}}),Ur,ml,function(So){Ha(yl(ur,Co,Vo,So),"mouse")});var Pl=-1;return typeof ur=="boolean"&&(Pl=ur?1:0),Ul(Wt===!0,ne.createElement(xr,{key:"meridiem",type:"meridiem",info:{today:$r,locale:_n,cellRender:Kn}}),Pl,[{label:"AM",value:0,disabled:fl},{label:"PM",value:1,disabled:ni}],function(So){Ha(yl(!!So,Co,Vo,Ur),"mouse")}),ne.createElement("div",{className:Ya},Sr.map(function(So){var Wi=So.node;return Wi}))}var Ni=Oo,fi=function(ie){return ie.filter(function(le){return le!==!1}).length};function Ii(ae){var ie=ae.generateConfig,le=ae.format,Se=le===void 0?"HH:mm:ss":le,Ae=ae.prefixCls,$e=ae.active,_e=ae.operationRef,yt=ae.showHour,At=ae.showMinute,Wt=ae.showSecond,An=ae.use12Hours,$t=An===void 0?!1:An,qt=ae.onSelect,nn=ae.value,cn="".concat(Ae,"-time-panel"),It=ne.useRef(),un=ne.useState(-1),Zn=(0,Ze.Z)(un,2),Ea=Zn[0],Jn=Zn[1],Yn=fi([yt,At,Wt,$t]);return _e.current={onKeyDown:function(Kn){return xn(Kn,{onLeftRight:function(Sr){Jn((Ea+Sr+Yn)%Yn)},onUpDown:function(Sr){Ea===-1?Jn(0):It.current&&It.current.onUpDown(Sr)},onEnter:function(){qt(nn||ie.getNow(),"key"),Jn(-1)}})},onBlur:function(){Jn(-1)}},ne.createElement("div",{className:Gt()(cn,(0,dt.Z)({},"".concat(cn,"-active"),$e))},ne.createElement(Pi,(0,oe.Z)({},ae,{format:Se,prefixCls:Ae})),ne.createElement(Ni,(0,oe.Z)({},ae,{prefixCls:Ae,activeColumnIndex:Ea,operationRef:It})))}var Ol=Ii,tl=Zo("date","time");function fu(ae){var ie=ae.prefixCls,le=ae.operationRef,Se=ae.generateConfig,Ae=ae.value,$e=ae.defaultValue,_e=ae.disabledTime,yt=ae.showTime,At=ae.onSelect,Wt=ae.cellRender,An="".concat(ie,"-datetime-panel"),$t=ne.useState(null),qt=(0,Ze.Z)($t,2),nn=qt[0],cn=qt[1],It=ne.useRef({}),un=ne.useRef({}),Zn=(0,qn.Z)(yt)==="object"?(0,kt.Z)({},yt):{};function Ea(Kn){var _n=tl.indexOf(nn)+Kn,Sr=tl[_n]||null;return Sr}var Jn=function(_n){un.current.onBlur&&un.current.onBlur(_n),cn(null)};le.current={onKeyDown:function(_n){if(_n.which===Nt.Z.TAB){var Sr=Ea(_n.shiftKey?-1:1);return cn(Sr),Sr&&_n.preventDefault(),!0}if(nn){var Ya=nn==="date"?It:un;return Ya.current&&Ya.current.onKeyDown&&Ya.current.onKeyDown(_n),!0}return[Nt.Z.LEFT,Nt.Z.RIGHT,Nt.Z.UP,Nt.Z.DOWN].includes(_n.which)?(cn("date"),!0):!1},onBlur:Jn,onClose:Jn};var Yn=function(_n,Sr){var Ya=_n;Sr==="date"&&!Ae&&Zn.defaultValue?(Ya=Se.setHour(Ya,Se.getHour(Zn.defaultValue)),Ya=Se.setMinute(Ya,Se.getMinute(Zn.defaultValue)),Ya=Se.setSecond(Ya,Se.getSecond(Zn.defaultValue))):Sr==="time"&&!Ae&&$e&&(Ya=Se.setYear(Ya,Se.getYear($e)),Ya=Se.setMonth(Ya,Se.getMonth($e)),Ya=Se.setDate(Ya,Se.getDate($e))),At&&At(Ya,"mouse")},Ha=_e?_e(Ae||null):{};return ne.createElement("div",{className:Gt()(An,(0,dt.Z)({},"".concat(An,"-active"),nn))},ne.createElement(yi,(0,oe.Z)({},ae,{cellRender:Wt,operationRef:It,active:nn==="date",onSelect:function(_n){Yn(an(Se,_n,!Ae&&(0,qn.Z)(yt)==="object"?yt.defaultValue:null),"date")}})),ne.createElement(Ol,(0,oe.Z)({},ae,{cellRender:Wt?function(Kn,_n){return Wt(Kn,(0,kt.Z)((0,kt.Z)({},_n),{},{type:"time"}))}:void 0,format:void 0},Zn,Ha,{disabledTime:null,defaultValue:void 0,operationRef:un,active:nn==="time",onSelect:function(_n){Yn(_n,"time")}})))}var ga=fu;function lr(ae){var ie=ae.prefixCls,le=ae.generateConfig,Se=ae.viewDate,Ae=ae.onPrevDecades,$e=ae.onNextDecades,_e=ne.useContext(Ct),yt=_e.hideHeader;if(yt)return null;var At="".concat(ie,"-header"),Wt=le.getYear(Se),An=Math.floor(Wt/Ht)*Ht,$t=An+Ht-1;return ne.createElement(Br,(0,oe.Z)({},ae,{prefixCls:At,onSuperPrev:Ae,onSuperNext:$e}),An,"-",$t)}var Ar=lr,Ai=3,ul=4;function kl(ae){var ie=en-1,le=ae.prefixCls,Se=ae.viewDate,Ae=ae.generateConfig,$e=ae.cellRender,_e=ae.locale,yt="".concat(le,"-cell"),At=Ae.getYear(Se),Wt=Math.floor(At/en)*en,An=Math.floor(At/Ht)*Ht,$t=An+Ht-1,qt=Ae.setYear(Se,An-Math.ceil((Ai*ul*en-Ht)/2)),nn=function(un){var Zn,Ea=Ae.getYear(un),Jn=Ea+ie;return Zn={},(0,dt.Z)(Zn,"".concat(yt,"-in-view"),An<=Ea&&Jn<=$t),(0,dt.Z)(Zn,"".concat(yt,"-selected"),Ea===Wt),Zn},cn=$e?function(It,un){return $e(It,{originNode:un,today:Ae.getNow(),type:"decade",locale:_e})}:void 0;return ne.createElement(fn,(0,oe.Z)({},ae,{rowNum:ul,colNum:Ai,baseDate:qt,getCellNode:cn,getCellText:function(un){var Zn=Ae.getYear(un);return"".concat(Zn,"-").concat(Zn+ie)},getCellClassName:nn,getCellDate:function(un,Zn){return Ae.addYear(un,Zn*en)}}))}var vl=kl;function hl(ae){var ie=ae.prefixCls,le=ae.onViewDateChange,Se=ae.generateConfig,Ae=ae.viewDate,$e=ae.operationRef,_e=ae.onSelect,yt=ae.onPanelChange,At="".concat(ie,"-decade-panel");$e.current={onKeyDown:function(qt){return xn(qt,{onLeftRight:function(cn){_e(Se.addYear(Ae,cn*en),"key")},onCtrlLeftRight:function(cn){_e(Se.addYear(Ae,cn*Ht),"key")},onUpDown:function(cn){_e(Se.addYear(Ae,cn*en*Ai),"key")},onEnter:function(){yt("year",Ae)}})}};var Wt=function(qt){var nn=Se.addYear(Ae,qt*Ht);le(nn),yt(null,nn)},An=function(qt){_e(qt,"mouse"),yt("year",qt)};return ne.createElement("div",{className:At},ne.createElement(Ar,(0,oe.Z)({},ae,{prefixCls:ie,onPrevDecades:function(){Wt(-1)},onNextDecades:function(){Wt(1)}})),ne.createElement(vl,(0,oe.Z)({},ae,{prefixCls:ie,onSelect:An})))}var ru=hl;function Po(ae){var ie=ae.prefixCls,le=ae.generateConfig,Se=ae.locale,Ae=ae.viewDate,$e=ae.onNextYear,_e=ae.onPrevYear,yt=ae.onYearClick,At=ne.useContext(Ct),Wt=At.hideHeader;if(Wt)return null;var An="".concat(ie,"-header");return ne.createElement(Br,(0,oe.Z)({},ae,{prefixCls:An,onSuperPrev:_e,onSuperNext:$e}),ne.createElement("button",{type:"button",onClick:yt,className:"".concat(ie,"-year-btn")},Zt(Ae,{locale:Se,format:Se.yearFormat,generateConfig:le})))}var fe=Po,ye=3,ke=4;function Pe(ae){var ie=ae.prefixCls,le=ae.locale,Se=ae.value,Ae=ae.viewDate,$e=ae.generateConfig,_e=ae.cellRender,yt=ne.useContext(ft),At=yt.rangedValue,Wt=yt.hoverRangedValue,An="".concat(ie,"-cell"),$t=da({cellPrefixCls:An,value:Se,generateConfig:$e,rangedValue:At,hoverRangedValue:Wt,isSameCell:function(un,Zn){return Xt($e,un,Zn)},isInView:function(){return!0},offsetCell:function(un,Zn){return $e.addMonth(un,Zn)}}),qt=le.shortMonths||($e.locale.getShortMonths?$e.locale.getShortMonths(le.locale):[]),nn=$e.setMonth(Ae,0),cn=_e?function(It,un){return _e(It,{originNode:un,locale:le,today:$e.getNow(),type:"month"})}:void 0;return ne.createElement(fn,(0,oe.Z)({},ae,{rowNum:ke,colNum:ye,baseDate:nn,getCellNode:cn,getCellText:function(un){return le.monthFormat?Zt(un,{locale:le,format:le.monthFormat,generateConfig:$e}):qt[$e.getMonth(un)]},getCellClassName:$t,getCellDate:$e.addMonth,titleCell:function(un){return Zt(un,{locale:le,format:"YYYY-MM",generateConfig:$e})}}))}var et=Pe;function ut(ae){var ie=ae.prefixCls,le=ae.operationRef,Se=ae.onViewDateChange,Ae=ae.generateConfig,$e=ae.value,_e=ae.viewDate,yt=ae.onPanelChange,At=ae.onSelect,Wt="".concat(ie,"-month-panel");le.current={onKeyDown:function(qt){return xn(qt,{onLeftRight:function(cn){At(Ae.addMonth($e||_e,cn),"key")},onCtrlLeftRight:function(cn){At(Ae.addYear($e||_e,cn),"key")},onUpDown:function(cn){At(Ae.addMonth($e||_e,cn*ye),"key")},onEnter:function(){yt("date",$e||_e)}})}};var An=function(qt){var nn=Ae.addYear(_e,qt);Se(nn),yt(null,nn)};return ne.createElement("div",{className:Wt},ne.createElement(fe,(0,oe.Z)({},ae,{prefixCls:ie,onPrevYear:function(){An(-1)},onNextYear:function(){An(1)},onYearClick:function(){yt("year",_e)}})),ne.createElement(et,(0,oe.Z)({},ae,{prefixCls:ie,onSelect:function(qt){At(qt,"mouse"),yt("date",qt)}})))}var St=ut;function nt(ae){var ie=ae.prefixCls,le=ae.generateConfig,Se=ae.locale,Ae=ae.viewDate,$e=ae.onNextYear,_e=ae.onPrevYear,yt=ae.onYearClick,At=ne.useContext(Ct),Wt=At.hideHeader;if(Wt)return null;var An="".concat(ie,"-header");return ne.createElement(Br,(0,oe.Z)({},ae,{prefixCls:An,onSuperPrev:_e,onSuperNext:$e}),ne.createElement("button",{type:"button",onClick:yt,className:"".concat(ie,"-year-btn")},Zt(Ae,{locale:Se,format:Se.yearFormat,generateConfig:le})))}var ct=nt,vt=4,hn=1;function Cn(ae){var ie=ae.prefixCls,le=ae.locale,Se=ae.value,Ae=ae.viewDate,$e=ae.generateConfig,_e=ae.cellRender,yt=ne.useContext(ft),At=yt.rangedValue,Wt=yt.hoverRangedValue,An="".concat(ie,"-cell"),$t=da({cellPrefixCls:An,value:Se,generateConfig:$e,rangedValue:At,hoverRangedValue:Wt,isSameCell:function(It,un){return Yt($e,It,un)},isInView:function(){return!0},offsetCell:function(It,un){return $e.addMonth(It,un*3)}}),qt=$e.setDate($e.setMonth(Ae,0),1),nn=_e?function(cn,It){return _e(cn,{originNode:It,locale:le,today:$e.getNow(),type:"quarter"})}:void 0;return ne.createElement(fn,(0,oe.Z)({},ae,{rowNum:hn,colNum:vt,baseDate:qt,getCellNode:nn,getCellText:function(It){return Zt(It,{locale:le,format:le.quarterFormat||"[Q]Q",generateConfig:$e})},getCellClassName:$t,getCellDate:function(It,un){return $e.addMonth(It,un*3)},titleCell:function(It){return Zt(It,{locale:le,format:"YYYY-[Q]Q",generateConfig:$e})}}))}var oa=Cn;function $n(ae){var ie=ae.prefixCls,le=ae.operationRef,Se=ae.onViewDateChange,Ae=ae.generateConfig,$e=ae.value,_e=ae.viewDate,yt=ae.onPanelChange,At=ae.onSelect,Wt="".concat(ie,"-quarter-panel");le.current={onKeyDown:function(qt){return xn(qt,{onLeftRight:function(cn){At(Ae.addMonth($e||_e,cn*3),"key")},onCtrlLeftRight:function(cn){At(Ae.addYear($e||_e,cn),"key")},onUpDown:function(cn){At(Ae.addYear($e||_e,cn),"key")}})}};var An=function(qt){var nn=Ae.addYear(_e,qt);Se(nn),yt(null,nn)};return ne.createElement("div",{className:Wt},ne.createElement(ct,(0,oe.Z)({},ae,{prefixCls:ie,onPrevYear:function(){An(-1)},onNextYear:function(){An(1)},onYearClick:function(){yt("year",_e)}})),ne.createElement(oa,(0,oe.Z)({},ae,{prefixCls:ie,onSelect:function(qt){At(qt,"mouse")}})))}var Ia=$n;function xa(ae){var ie=ae.prefixCls,le=ae.generateConfig,Se=ae.locale,Ae=ae.value,$e=ae.disabledDate,_e=ae.onSelect,yt=ne.useContext(ft),At=yt.rangedValue,Wt=yt.hoverRangedValue,An=ne.useContext(Ct),$t=An.onDateMouseEnter,qt=An.onDateMouseLeave,nn=(Wt==null?void 0:Wt[0])||(At==null?void 0:At[0]),cn=(Wt==null?void 0:Wt[1])||(At==null?void 0:At[1]),It="".concat(ie,"-cell"),un=function(Yn){var Ha=Ye({cellDate:Yn,mode:"week",disabledDate:$e,generateConfig:le});return ne.createElement("td",{key:"week",className:Gt()(It,"".concat(It,"-week")),onClick:function(){Ha||_e(Yn,"mouse")},onMouseEnter:function(){!Ha&&$t&&$t(Yn)},onMouseLeave:function(){!Ha&&qt&&qt(Yn)}},ne.createElement("div",{className:"".concat(It,"-inner")},le.locale.getWeek(Se.locale,Yn)))},Zn="".concat(ie,"-week-panel-row"),Ea=function(Yn){var Ha,Kn=Je(le,Se.locale,nn,Yn),_n=Je(le,Se.locale,cn,Yn);return Gt()(Zn,(Ha={},(0,dt.Z)(Ha,"".concat(Zn,"-selected"),!At&&Je(le,Se.locale,Ae,Yn)),(0,dt.Z)(Ha,"".concat(Zn,"-range-start"),Kn),(0,dt.Z)(Ha,"".concat(Zn,"-range-end"),_n),(0,dt.Z)(Ha,"".concat(Zn,"-range-hover"),!Kn&&!_n&&Xn(le,nn,cn,Yn)),Ha))};return ne.createElement(yi,(0,oe.Z)({},ae,{panelName:"week",prefixColumn:un,rowClassName:Ea,keyboardConfig:{onLeftRight:null},isSameCell:function(){return!1}}))}var Mn=xa,jt=10;function Fn(ae){var ie=ae.prefixCls,le=ae.generateConfig,Se=ae.viewDate,Ae=ae.onPrevDecade,$e=ae.onNextDecade,_e=ae.onDecadeClick,yt=ne.useContext(Ct),At=yt.hideHeader;if(At)return null;var Wt="".concat(ie,"-header"),An=le.getYear(Se),$t=Math.floor(An/jt)*jt,qt=$t+jt-1;return ne.createElement(Br,(0,oe.Z)({},ae,{prefixCls:Wt,onSuperPrev:Ae,onSuperNext:$e}),ne.createElement("button",{type:"button",onClick:_e,className:"".concat(ie,"-decade-btn")},$t,"-",qt))}var Rn=Fn,Ca=3,Ta=4;function Ma(ae){var ie=ae.prefixCls,le=ae.value,Se=ae.viewDate,Ae=ae.locale,$e=ae.generateConfig,_e=ae.cellRender,yt=ne.useContext(ft),At=yt.rangedValue,Wt=yt.hoverRangedValue,An="".concat(ie,"-cell"),$t=$e.getYear(Se),qt=Math.floor($t/jt)*jt,nn=qt+jt-1,cn=$e.setYear(Se,qt-Math.ceil((Ca*Ta-jt)/2)),It=$e.getNow(),un=function(Yn){var Ha=$e.getYear(Yn);return qt<=Ha&&Ha<=nn},Zn=da({cellPrefixCls:An,value:le,generateConfig:$e,rangedValue:At,hoverRangedValue:Wt,isSameCell:function(Yn,Ha){return Bt($e,Yn,Ha)},isInView:un,offsetCell:function(Yn,Ha){return $e.addYear(Yn,Ha)}}),Ea=_e?function(Jn,Yn){return _e(Jn,{originNode:Yn,today:It,type:"year",locale:Ae})}:void 0;return ne.createElement(fn,(0,oe.Z)({},ae,{rowNum:Ta,colNum:Ca,baseDate:cn,getCellNode:Ea,getCellText:$e.getYear,getCellClassName:Zn,getCellDate:$e.addYear,titleCell:function(Yn){return Zt(Yn,{locale:Ae,format:"YYYY",generateConfig:$e})}}))}var Ja=Ma;function Za(ae){var ie=ae.prefixCls,le=ae.operationRef,Se=ae.onViewDateChange,Ae=ae.generateConfig,$e=ae.value,_e=ae.viewDate,yt=ae.sourceMode,At=ae.onSelect,Wt=ae.onPanelChange,An="".concat(ie,"-year-panel");le.current={onKeyDown:function(nn){return xn(nn,{onLeftRight:function(It){At(Ae.addYear($e||_e,It),"key")},onCtrlLeftRight:function(It){At(Ae.addYear($e||_e,It*jt),"key")},onUpDown:function(It){At(Ae.addYear($e||_e,It*Ca),"key")},onEnter:function(){Wt(yt==="date"?"date":"month",$e||_e)}})}};var $t=function(nn){var cn=Ae.addYear(_e,nn*10);Se(cn),Wt(null,cn)};return ne.createElement("div",{className:An},ne.createElement(Rn,(0,oe.Z)({},ae,{prefixCls:ie,onPrevDecade:function(){$t(-1)},onNextDecade:function(){$t(1)},onDecadeClick:function(){Wt("decade",_e)}})),ne.createElement(Ja,(0,oe.Z)({},ae,{prefixCls:ie,onSelect:function(nn){Wt(yt==="date"?"date":"month",nn),At(nn,"mouse")}})))}var ma=Za;function za(ae,ie,le){return le?ne.createElement("div",{className:"".concat(ae,"-footer-extra")},le(ie)):null}function Na(ae){var ie=ae.prefixCls,le=ae.components,Se=le===void 0?{}:le,Ae=ae.needConfirmButton,$e=ae.onNow,_e=ae.onOk,yt=ae.okDisabled,At=ae.showNow,Wt=ae.locale,An,$t;if(Ae){var qt=Se.button||"button";$e&&At!==!1&&(An=ne.createElement("li",{className:"".concat(ie,"-now")},ne.createElement("a",{className:"".concat(ie,"-now-btn"),onClick:$e},Wt.now))),$t=Ae&&ne.createElement("li",{className:"".concat(ie,"-ok")},ne.createElement(qt,{disabled:yt,onClick:_e},Wt.ok))}return!An&&!$t?null:ne.createElement("ul",{className:"".concat(ie,"-ranges")},An,$t)}var cr=["date","month"];function br(ae){var ie,le=ae,Se=le.prefixCls,Ae=Se===void 0?"rc-picker":Se,$e=le.className,_e=le.style,yt=le.locale,At=le.generateConfig,Wt=le.value,An=le.defaultValue,$t=le.pickerValue,qt=le.defaultPickerValue,nn=le.disabledDate,cn=le.mode,It=le.picker,un=It===void 0?"date":It,Zn=le.tabIndex,Ea=Zn===void 0?0:Zn,Jn=le.showNow,Yn=le.showTime,Ha=le.showToday,Kn=le.renderExtraFooter,_n=le.hideHeader,Sr=le.onSelect,Ya=le.onChange,yr=le.onPanelChange,ur=le.onMouseDown,Gr=le.onPickerValueChange,Co=le.onOk,Vo=le.components,Ur=le.direction,$r=le.hourStep,Dr=$r===void 0?1:$r,Yo=le.minuteStep,ho=Yo===void 0?1:Yo,bo=le.secondStep,Bi=bo===void 0?1:bo,zi=le.dateRender,Xi=le.monthCellRender,xl=le.cellRender,wi=un==="date"&&!!Yn||un==="time",fl=24%Dr===0,ni=60%ho===0,ci=60%Bi===0,Li=ne.useContext(Ct),ml=Li.operationRef,yl=Li.onSelect,Ul=Li.hideRanges,Pl=Li.defaultOpenValue,So=ne.useContext(ft),Wi=So.inRange,pi=So.panelPosition,_o=So.rangedValue,Hr=So.hoverRangedValue,ei=ne.useRef({}),Ui=ne.useRef(!0),ql=(0,Dn.Z)(null,{value:Wt,defaultValue:An,postState:function(Lr){return!Lr&&Pl&&un==="time"?Pl:Lr}}),pu=(0,Ze.Z)(ql,2),Hl=pu[0],Yu=pu[1],rs=(0,Dn.Z)(null,{value:$t,defaultValue:qt||Hl,postState:function(Lr){var ti=At.getNow();if(!Lr)return ti;if(!Hl&&Yn){var ll=(0,qn.Z)(Yn)==="object"?Yn.defaultValue:An;return an(At,Array.isArray(Lr)?Lr[0]:Lr,ll||ti)}return Array.isArray(Lr)?Lr[0]:Lr}}),du=(0,Ze.Z)(rs,2),eu=du[0],Vl=du[1],yo=function(Lr){Vl(Lr),Gr&&Gr(Lr)},Mi=function(Lr){var ti=Ga[un];return ti?ti(Lr):Lr},il=(0,Dn.Z)(function(){return un==="time"?"time":Mi("date")},{value:cn}),Yl=(0,Ze.Z)(il,2),$i=Yl[0],tu=Yl[1];ne.useEffect(function(){tu(un)},[un]);var Rl=ne.useState(function(){return $i}),cu=(0,Ze.Z)(Rl,2),Su=cu[0],jl=cu[1],nu=function(Lr,ti){var ll=Mi(Lr||$i);jl($i),tu(ll),yr&&($i!==ll||He(At,eu,eu))&&yr(ti,ll)},_l=function(Lr,ti){var ll=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;($i===un||ll)&&(Yu(Lr),Sr&&Sr(Lr),yl&&yl(Lr,ti),Ya&&!He(At,Lr,Hl)&&!(nn!=null&&nn(Lr))&&Ya(Lr))},yu=function(Lr){if(cr.includes($i)){var ti,ll,Au=$i==="date";switch(Lr===Nt.Z.PAGE_UP||Lr===Nt.Z.PAGE_DOWN?ll=Au?At.addMonth:At.addYear:ll=Au?At.addDate:At.addMonth,Lr){case Nt.Z.LEFT:case Nt.Z.PAGE_UP:ti=ll(eu,-1);break;case Nt.Z.RIGHT:case Nt.Z.PAGE_DOWN:ti=ll(eu,1);break;case Nt.Z.UP:case Nt.Z.DOWN:ti=ll(eu,Number("".concat(Lr===Nt.Z.UP?"-":"").concat(Au?Et:ye)));break}if(ti)return!(nn!=null&&nn(ti))}return!0},Ru=function(Lr){if(ei.current&&ei.current.onKeyDown){var ti=!0,ll=Lr.which;if([Nt.Z.LEFT,Nt.Z.RIGHT,Nt.Z.UP,Nt.Z.DOWN,Nt.Z.PAGE_UP,Nt.Z.PAGE_DOWN,Nt.Z.ENTER].includes(ll)&&(Lr.preventDefault(),ll!==Nt.Z.ENTER&&Ea===0&&(ti=yu(ll))),ti)return ei.current.onKeyDown(Lr)}return(0,he.ZP)(!1,"Panel not correct handle keyDown event. Please help to fire issue about this."),!1},Si=function(Lr){ei.current&&ei.current.onBlur&&ei.current.onBlur(Lr)};ml&&pi!=="right"&&(ml.current={onKeyDown:Ru,onClose:function(){ei.current&&ei.current.onClose&&ei.current.onClose()}}),ne.useEffect(function(){Wt&&!Ui.current&&Vl(Wt)},[Wt]),ne.useEffect(function(){Ui.current=!1},[]);var ii,Eu=Qt({cellRender:xl,monthCellRender:Xi,dateRender:zi}),xi=(0,kt.Z)((0,kt.Z)({},ae),{},{cellRender:Eu,operationRef:ei,prefixCls:Ae,viewDate:eu,value:Hl,onViewDateChange:yo,sourceMode:Su,onPanelChange:nu,disabledDate:nn});switch(delete xi.onChange,delete xi.onSelect,$i){case"decade":ii=ne.createElement(ru,(0,oe.Z)({},xi,{onSelect:function(Lr,ti){yo(Lr),_l(Lr,ti)}}));break;case"year":ii=ne.createElement(ma,(0,oe.Z)({},xi,{onSelect:function(Lr,ti){yo(Lr),_l(Lr,ti)}}));break;case"month":ii=ne.createElement(St,(0,oe.Z)({},xi,{onSelect:function(Lr,ti){yo(Lr),_l(Lr,ti)}}));break;case"quarter":ii=ne.createElement(Ia,(0,oe.Z)({},xi,{onSelect:function(Lr,ti){yo(Lr),_l(Lr,ti)}}));break;case"week":ii=ne.createElement(Mn,(0,oe.Z)({},xi,{onSelect:function(Lr,ti){yo(Lr),_l(Lr,ti)}}));break;case"time":delete xi.showTime,ii=ne.createElement(Ol,(0,oe.Z)({},xi,(0,qn.Z)(Yn)==="object"?Yn:null,{onSelect:function(Lr,ti){yo(Lr),_l(Lr,ti)}}));break;default:Yn?ii=ne.createElement(ga,(0,oe.Z)({},xi,{onSelect:function(Lr,ti){yo(Lr),_l(Lr,ti)}})):ii=ne.createElement(yi,(0,oe.Z)({},xi,{onSelect:function(Lr,ti){yo(Lr),_l(Lr,ti)}}))}var _u,ku,Zu=function(){var Lr=At.getNow(),ti=mn(At.getHour(Lr),At.getMinute(Lr),At.getSecond(Lr),fl?Dr:1,ni?ho:1,ci?Bi:1),ll=vn(At,Lr,ti[0],ti[1],ti[2]);_l(ll,"submit")};Ul||(_u=za(Ae,$i,Kn),Yn&&$i!=="date"?ku=null:ku=Na({prefixCls:Ae,components:Vo,needConfirmButton:wi,okDisabled:!Hl||nn&&nn(Hl),locale:yt,showNow:Jn,onNow:wi&&Zu,onOk:function(){Hl&&(_l(Hl,"submit",!0),Co&&Co(Hl))}}));var xu;if(Ha&&$i==="date"&&un==="date"&&!Yn){var Xu=At.getNow(),As="".concat(Ae,"-today-btn"),os=nn&&nn(Xu);xu=ne.createElement("a",{className:Gt()(As,os&&"".concat(As,"-disabled")),"aria-disabled":os,onClick:function(){os||_l(Xu,"mouse",!0)}},yt.today)}return ne.createElement(Ct.Provider,{value:(0,kt.Z)((0,kt.Z)({},Li),{},{mode:$i,hideHeader:"hideHeader"in ae?_n:Li.hideHeader,hidePrevBtn:Wi&&pi==="right",hideNextBtn:Wi&&pi==="left"})},ne.createElement("div",{tabIndex:Ea,className:Gt()("".concat(Ae,"-panel"),$e,(ie={},(0,dt.Z)(ie,"".concat(Ae,"-panel-has-range"),_o&&_o[0]&&_o[1]),(0,dt.Z)(ie,"".concat(Ae,"-panel-has-range-hover"),Hr&&Hr[0]&&Hr[1]),(0,dt.Z)(ie,"".concat(Ae,"-panel-rtl"),Ur==="rtl"),ie)),style:_e,onKeyDown:Ru,onBlur:Si,onMouseDown:ur},ii,_u||ku||xu?ne.createElement("div",{className:"".concat(Ae,"-footer")},_u,ku,xu):null))}var oo=br,zo=z(45987),ai=z(73935);function ya(){return!!(typeof window!="undefined"&&window.document&&window.document.createElement)}var ri={};function Ji(ae,ie){}function Kl(ae,ie){}function mu(){ri={}}function Ll(ae,ie,le){!ie&&!ri[le]&&(ae(!1,le),ri[le]=!0)}function sl(ae,ie){Ll(Ji,ae,ie)}function Ti(ae,ie){Ll(Kl,ae,ie)}var Cu=null,Cl=z(49286);function bu(ae,ie,le){var Se=ne.useRef({});return(!("value"in Se.current)||le(Se.current.condition,ie))&&(Se.current.value=ae(),Se.current.condition=ie),Se.current.value}function ln(ae,ie){typeof ae=="function"?ae(ie):(0,qn.Z)(ae)==="object"&&ae&&"current"in ae&&(ae.current=ie)}function Vt(){for(var ae=arguments.length,ie=new Array(ae),le=0;le<ae;le++)ie[le]=arguments[le];var Se=ie.filter(function(Ae){return Ae});return Se.length<=1?Se[0]:function(Ae){ie.forEach(function($e){ln($e,Ae)})}}function _t(){for(var ae=arguments.length,ie=new Array(ae),le=0;le<ae;le++)ie[le]=arguments[le];return bu(function(){return Vt.apply(void 0,ie)},ie,function(Se,Ae){return Se.length===Ae.length&&Se.every(function($e,_e){return $e===Ae[_e]})})}function ka(ae){var ie,le,Se=(0,Cl.isMemo)(ae)?ae.type.type:ae.type;return!(typeof Se=="function"&&!((ie=Se.prototype)!==null&&ie!==void 0&&ie.render)||typeof ae=="function"&&!((le=ae.prototype)!==null&&le!==void 0&&le.render))}var Mr=ne.createContext(null),Wa=Mr,Qn=ya()?ne.useLayoutEffect:ne.useEffect,mr=Qn,kn=function(ie,le){var Se=React.useRef(!0);Qn(function(){if(!Se.current)return ie()},le),Qn(function(){return Se.current=!1,function(){Se.current=!0}},[])},na=[];function hr(ae,ie){var le=ne.useState(function(){if(!ya())return null;var cn=document.createElement("div");return cn}),Se=(0,Ze.Z)(le,1),Ae=Se[0],$e=ne.useRef(!1),_e=ne.useContext(Wa),yt=ne.useState(na),At=(0,Ze.Z)(yt,2),Wt=At[0],An=At[1],$t=_e||($e.current?void 0:function(cn){An(function(It){var un=[cn].concat((0,Tt.Z)(It));return un})});function qt(){Ae.parentElement||document.body.appendChild(Ae),$e.current=!0}function nn(){var cn;(cn=Ae.parentElement)===null||cn===void 0||cn.removeChild(Ae),$e.current=!1}return mr(function(){return ae?_e?_e(qt):qt():nn(),nn},[ae]),mr(function(){Wt.length&&(Wt.forEach(function(cn){return cn()}),An(na))},[Wt]),[Ae,$t]}function Do(ae,ie){if(!ae)return!1;if(ae.contains)return ae.contains(ie);for(var le=ie;le;){if(le===ae)return!0;le=le.parentNode}return!1}var sr="data-rc-order",Hi="rc-util-key",$o=new Map;function wr(){var ae=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},ie=ae.mark;return ie?ie.startsWith("data-")?ie:"data-".concat(ie):Hi}function oi(ae){if(ae.attachTo)return ae.attachTo;var ie=document.querySelector("head");return ie||document.body}function ba(ae){return ae==="queue"?"prependQueue":ae?"prepend":"append"}function sa(ae){return Array.from(($o.get(ae)||ae).children).filter(function(ie){return ie.tagName==="STYLE"})}function mo(ae){var ie=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(!ya())return null;var le=ie.csp,Se=ie.prepend,Ae=document.createElement("style");Ae.setAttribute(sr,ba(Se)),le!=null&&le.nonce&&(Ae.nonce=le==null?void 0:le.nonce),Ae.innerHTML=ae;var $e=oi(ie),_e=$e.firstChild;if(Se){if(Se==="queue"){var yt=sa($e).filter(function(At){return["prepend","prependQueue"].includes(At.getAttribute(sr))});if(yt.length)return $e.insertBefore(Ae,yt[yt.length-1].nextSibling),Ae}$e.insertBefore(Ae,_e)}else $e.appendChild(Ae);return Ae}function nl(ae){var ie=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},le=oi(ie);return sa(le).find(function(Se){return Se.getAttribute(wr(ie))===ae})}function Ua(ae){var ie=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},le=nl(ae,ie);if(le){var Se=oi(ie);Se.removeChild(le)}}function Oa(ae,ie){var le=$o.get(ae);if(!le||!Do(document,le)){var Se=mo("",ie),Ae=Se.parentNode;$o.set(ae,Ae),ae.removeChild(Se)}}function Wo(){$o.clear()}function Fl(ae,ie){var le=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},Se=oi(le);Oa(Se,le);var Ae=nl(ie,le);if(Ae){var $e,_e;if(($e=le.csp)!==null&&$e!==void 0&&$e.nonce&&Ae.nonce!==((_e=le.csp)===null||_e===void 0?void 0:_e.nonce)){var yt;Ae.nonce=(yt=le.csp)===null||yt===void 0?void 0:yt.nonce}return Ae.innerHTML!==ae&&(Ae.innerHTML=ae),Ae}var At=mo(ae,le);return At.setAttribute(wr(le),ie),At}var ia;function Da(ae){if(typeof document=="undefined")return 0;if(ae||ia===void 0){var ie=document.createElement("div");ie.style.width="100%",ie.style.height="200px";var le=document.createElement("div"),Se=le.style;Se.position="absolute",Se.top="0",Se.left="0",Se.pointerEvents="none",Se.visibility="hidden",Se.width="200px",Se.height="150px",Se.overflow="hidden",le.appendChild(ie),document.body.appendChild(le);var Ae=ie.offsetWidth;le.style.overflow="scroll";var $e=ie.offsetWidth;Ae===$e&&($e=le.clientWidth),document.body.removeChild(le),ia=Ae-$e}return ia}function Xa(ae){var ie=ae.match(/^(.*)px$/),le=Number(ie==null?void 0:ie[1]);return Number.isNaN(le)?Da():le}function Nn(ae){if(typeof document=="undefined"||!ae||!(ae instanceof Element))return{width:0,height:0};var ie=getComputedStyle(ae,"::-webkit-scrollbar"),le=ie.width,Se=ie.height;return{width:Xa(le),height:Xa(Se)}}function ja(){return document.body.scrollHeight>(window.innerHeight||document.documentElement.clientHeight)&&window.innerWidth>document.body.offsetWidth}var Wn="rc-util-locker-".concat(Date.now()),Bo=0;function to(ae){var ie=!!ae,le=ne.useState(function(){return Bo+=1,"".concat(Wn,"_").concat(Bo)}),Se=(0,Ze.Z)(le,1),Ae=Se[0];mr(function(){if(ie){var $e=Nn(document.body).width,_e=ja();Fl(`
|
|
html body {
|
|
overflow-y: hidden;
|
|
`.concat(_e?"width: calc(100% - ".concat($e,"px);"):"",`
|
|
}`),Ae)}else Ua(Ae);return function(){Ua(Ae)}},[ie,Ae])}var io=!1;function qo(ae){return typeof ae=="boolean"&&(io=ae),io}var Jr=function(ie){return ie===!1?!1:!ya()||!ie?null:typeof ie=="string"?document.querySelector(ie):typeof ie=="function"?ie():ie},li=ne.forwardRef(function(ae,ie){var le=ae.open,Se=ae.autoLock,Ae=ae.getContainer,$e=ae.debug,_e=ae.autoDestroy,yt=_e===void 0?!0:_e,At=ae.children,Wt=ne.useState(le),An=(0,Ze.Z)(Wt,2),$t=An[0],qt=An[1],nn=$t||le;ne.useEffect(function(){(yt||le)&&qt(le)},[le,yt]);var cn=ne.useState(function(){return Jr(Ae)}),It=(0,Ze.Z)(cn,2),un=It[0],Zn=It[1];ne.useEffect(function(){var Gr=Jr(Ae);Zn(Gr!=null?Gr:null)});var Ea=hr(nn&&!un,$e),Jn=(0,Ze.Z)(Ea,2),Yn=Jn[0],Ha=Jn[1],Kn=un!=null?un:Yn;to(Se&&le&&ya()&&(Kn===Yn||Kn===document.body));var _n=null;if(At&&ka(At)&&ie){var Sr=At;_n=Sr.ref}var Ya=_t(_n,ie);if(!nn||!ya()||un===void 0)return null;var yr=Kn===!1||qo(),ur=At;return ie&&(ur=ne.cloneElement(At,{ref:Ya})),ne.createElement(Wa.Provider,{value:Ha},yr?ur:(0,ai.createPortal)(ur,Kn))}),ir=li,Ro=ir,Oi=z(48555);function Fi(ae){return ae instanceof HTMLElement||ae instanceof SVGElement}function Gn(ae){return Fi(ae)?ae:ae instanceof React.Component?ReactDOM.findDOMNode(ae):null}function Pa(ae){var ie;return ae==null||(ie=ae.getRootNode)===null||ie===void 0?void 0:ie.call(ae)}function Nr(ae){return Pa(ae)instanceof ShadowRoot}function va(ae){return Nr(ae)?Pa(ae):null}var nr=z(77527);function xo(){var ae=(0,kt.Z)({},de);return ae.useId}var lo=0;function Ei(){}var Oe=xo(),qe=Oe?function(ie){var le=Oe();return ie||le}:function(ie){var le=ne.useState("ssr-id"),Se=(0,Ze.Z)(le,2),Ae=Se[0],$e=Se[1];return ne.useEffect(function(){var _e=lo;lo+=1,$e("rc_unique_".concat(_e))},[]),ie||Ae},tt=function(){if(typeof navigator=="undefined"||typeof window=="undefined")return!1;var ae=navigator.userAgent||navigator.vendor||window.opera;return/(android|bb\d+|meego).+mobile|avantgo|bada\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|iris|kindle|lge |maemo|midp|mmp|mobile.+firefox|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\/|plucker|pocket|psp|series(4|6)0|symbian|treo|up\.(browser|link)|vodafone|wap|windows ce|xda|xiino|android|ipad|playbook|silk/i.test(ae)||/1207|6310|6590|3gso|4thp|50[1-6]i|770s|802s|a wa|abac|ac(er|oo|s-)|ai(ko|rn)|al(av|ca|co)|amoi|an(ex|ny|yw)|aptu|ar(ch|go)|as(te|us)|attw|au(di|-m|r |s )|avan|be(ck|ll|nq)|bi(lb|rd)|bl(ac|az)|br(e|v)w|bumb|bw-(n|u)|c55\/|capi|ccwa|cdm-|cell|chtm|cldc|cmd-|co(mp|nd)|craw|da(it|ll|ng)|dbte|dc-s|devi|dica|dmob|do(c|p)o|ds(12|-d)|el(49|ai)|em(l2|ul)|er(ic|k0)|esl8|ez([4-7]0|os|wa|ze)|fetc|fly(-|_)|g1 u|g560|gene|gf-5|g-mo|go(\.w|od)|gr(ad|un)|haie|hcit|hd-(m|p|t)|hei-|hi(pt|ta)|hp( i|ip)|hs-c|ht(c(-| |_|a|g|p|s|t)|tp)|hu(aw|tc)|i-(20|go|ma)|i230|iac( |-|\/)|ibro|idea|ig01|ikom|im1k|inno|ipaq|iris|ja(t|v)a|jbro|jemu|jigs|kddi|keji|kgt( |\/)|klon|kpt |kwc-|kyo(c|k)|le(no|xi)|lg( g|\/(k|l|u)|50|54|-[a-w])|libw|lynx|m1-w|m3ga|m50\/|ma(te|ui|xo)|mc(01|21|ca)|m-cr|me(rc|ri)|mi(o8|oa|ts)|mmef|mo(01|02|bi|de|do|t(-| |o|v)|zz)|mt(50|p1|v )|mwbp|mywa|n10[0-2]|n20[2-3]|n30(0|2)|n50(0|2|5)|n7(0(0|1)|10)|ne((c|m)-|on|tf|wf|wg|wt)|nok(6|i)|nzph|o2im|op(ti|wv)|oran|owg1|p800|pan(a|d|t)|pdxg|pg(13|-([1-8]|c))|phil|pire|pl(ay|uc)|pn-2|po(ck|rt|se)|prox|psio|pt-g|qa-a|qc(07|12|21|32|60|-[2-7]|i-)|qtek|r380|r600|raks|rim9|ro(ve|zo)|s55\/|sa(ge|ma|mm|ms|ny|va)|sc(01|h-|oo|p-)|sdk\/|se(c(-|0|1)|47|mc|nd|ri)|sgh-|shar|sie(-|m)|sk-0|sl(45|id)|sm(al|ar|b3|it|t5)|so(ft|ny)|sp(01|h-|v-|v )|sy(01|mb)|t2(18|50)|t6(00|10|18)|ta(gt|lk)|tcl-|tdg-|tel(i|m)|tim-|t-mo|to(pl|sh)|ts(70|m-|m3|m5)|tx-9|up(\.b|g1|si)|utst|v400|v750|veri|vi(rg|te)|vk(40|5[0-3]|-v)|vm40|voda|vulc|vx(52|53|60|61|70|80|81|83|85|98)|w3c(-| )|webc|whit|wi(g |nc|nw)|wmlb|wonu|x700|yas-|your|zeto|zte-/i.test(ae==null?void 0:ae.substr(0,4))},Ft=ne.createContext(null),pn=Ft;function ea(ae){return ae?Array.isArray(ae)?ae:[ae]:[]}function aa(ae,ie,le,Se){return ne.useMemo(function(){var Ae=ea(le!=null?le:ie),$e=ea(Se!=null?Se:ie),_e=new Set(Ae),yt=new Set($e);return ae&&(_e.has("hover")&&(_e.delete("hover"),_e.add("click")),yt.has("hover")&&(yt.delete("hover"),yt.add("click"))),[_e,yt]},[ae,ie,le,Se])}function ar(){var ae=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],ie=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],le=arguments.length>2?arguments[2]:void 0;return le?ae[0]===ie[0]:ae[0]===ie[0]&&ae[1]===ie[1]}function pr(ae,ie,le,Se){for(var Ae=le.points,$e=Object.keys(ae),_e=0;_e<$e.length;_e+=1){var yt,At=$e[_e];if(ar((yt=ae[At])===null||yt===void 0?void 0:yt.points,Ae,Se))return"".concat(ie,"-placement-").concat(At)}return""}function dr(ae,ie,le,Se){return ie||(le?{motionName:"".concat(ae,"-").concat(le)}:Se?{motionName:Se}:null)}function kr(ae){return ae.ownerDocument.defaultView}function gr(ae){for(var ie=[],le=ae==null?void 0:ae.parentElement,Se=["hidden","scroll","clip","auto"];le;){var Ae=kr(le).getComputedStyle(le),$e=Ae.overflowX,_e=Ae.overflowY,yt=Ae.overflow;[$e,_e,yt].some(function(At){return Se.includes(At)})&&ie.push(le),le=le.parentElement}return ie}function Wr(ae){var ie=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1;return Number.isNaN(ae)?ie:ae}function Or(ae){return Wr(parseFloat(ae),0)}function vo(ae,ie){var le=(0,kt.Z)({},ae);return(ie||[]).forEach(function(Se){if(!(Se instanceof HTMLBodyElement||Se instanceof HTMLHtmlElement)){var Ae=kr(Se).getComputedStyle(Se),$e=Ae.overflow,_e=Ae.overflowClipMargin,yt=Ae.borderTopWidth,At=Ae.borderBottomWidth,Wt=Ae.borderLeftWidth,An=Ae.borderRightWidth,$t=Se.getBoundingClientRect(),qt=Se.offsetHeight,nn=Se.clientHeight,cn=Se.offsetWidth,It=Se.clientWidth,un=Or(yt),Zn=Or(At),Ea=Or(Wt),Jn=Or(An),Yn=Wr(Math.round($t.width/cn*1e3)/1e3),Ha=Wr(Math.round($t.height/qt*1e3)/1e3),Kn=(cn-It-Ea-Jn)*Yn,_n=(qt-nn-un-Zn)*Ha,Sr=un*Ha,Ya=Zn*Ha,yr=Ea*Yn,ur=Jn*Yn,Gr=0,Co=0;if($e==="clip"){var Vo=Or(_e);Gr=Vo*Yn,Co=Vo*Ha}var Ur=$t.x+yr-Gr,$r=$t.y+Sr-Co,Dr=Ur+$t.width+2*Gr-yr-ur-Kn,Yo=$r+$t.height+2*Co-Sr-Ya-_n;le.left=Math.max(le.left,Ur),le.top=Math.max(le.top,$r),le.right=Math.min(le.right,Dr),le.bottom=Math.min(le.bottom,Yo)}}),le}function ui(ae){var ie=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,le="".concat(ie),Se=le.match(/^(.*)\%$/);return Se?ae*(parseFloat(Se[1])/100):parseFloat(le)}function Qo(ae,ie){var le=ie||[],Se=(0,Ze.Z)(le,2),Ae=Se[0],$e=Se[1];return[ui(ae.width,Ae),ui(ae.height,$e)]}function mi(){var ae=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"";return[ae[0],ae[1]]}function Uo(ae,ie){var le=ie[0],Se=ie[1],Ae,$e;return le==="t"?$e=ae.y:le==="b"?$e=ae.y+ae.height:$e=ae.y+ae.height/2,Se==="l"?Ae=ae.x:Se==="r"?Ae=ae.x+ae.width:Ae=ae.x+ae.width/2,{x:Ae,y:$e}}function po(ae,ie){var le={t:"b",b:"t",l:"r",r:"l"};return ae.map(function(Se,Ae){return Ae===ie?le[Se]||"c":Se}).join("")}function jr(ae,ie,le,Se,Ae,$e,_e){var yt=ne.useState({ready:!1,offsetX:0,offsetY:0,offsetR:0,offsetB:0,arrowX:0,arrowY:0,scaleX:1,scaleY:1,align:Ae[Se]||{}}),At=(0,Ze.Z)(yt,2),Wt=At[0],An=At[1],$t=ne.useRef(0),qt=ne.useMemo(function(){return ie?gr(ie):[]},[ie]),nn=ne.useRef({}),cn=function(){nn.current={}};ae||cn();var It=(0,nr.Z)(function(){if(ie&&le&&ae){let ju=function(Pd,$s){var Ds=arguments.length>2&&arguments[2]!==void 0?arguments[2]:ei,Ed=ho.x+Pd,ld=ho.y+$s,Fd=Ed+ci,Dd=ld+ni,Is=Math.max(Ed,Ds.left),Bd=Math.max(ld,Ds.top),Rd=Math.min(Fd,Ds.right),so=Math.min(Dd,Ds.bottom);return Math.max(0,(Rd-Is)*(so-Bd))},Ss=function(){ll=ho.y+ii,Au=ll+ni,hs=ho.x+Si,cs=hs+ci};var Ea,Jn,Yn=ie,Ha=Yn.ownerDocument,Kn=kr(Yn),_n=Kn.getComputedStyle(Yn),Sr=_n.width,Ya=_n.height,yr=_n.position,ur=Yn.style.left,Gr=Yn.style.top,Co=Yn.style.right,Vo=Yn.style.bottom,Ur=(0,kt.Z)((0,kt.Z)({},Ae[Se]),$e),$r=Ha.createElement("div");(Ea=Yn.parentElement)===null||Ea===void 0||Ea.appendChild($r),$r.style.left="".concat(Yn.offsetLeft,"px"),$r.style.top="".concat(Yn.offsetTop,"px"),$r.style.position=yr,$r.style.height="".concat(Yn.offsetHeight,"px"),$r.style.width="".concat(Yn.offsetWidth,"px"),Yn.style.left="0",Yn.style.top="0",Yn.style.right="auto",Yn.style.bottom="auto";var Dr;if(Array.isArray(le))Dr={x:le[0],y:le[1],width:0,height:0};else{var Yo=le.getBoundingClientRect();Dr={x:Yo.x,y:Yo.y,width:Yo.width,height:Yo.height}}var ho=Yn.getBoundingClientRect(),bo=Ha.documentElement,Bi=bo.clientWidth,zi=bo.clientHeight,Xi=bo.scrollWidth,xl=bo.scrollHeight,wi=bo.scrollTop,fl=bo.scrollLeft,ni=ho.height,ci=ho.width,Li=Dr.height,ml=Dr.width,yl={left:0,top:0,right:Bi,bottom:zi},Ul={left:-fl,top:-wi,right:Xi-fl,bottom:xl-wi},Pl=Ur.htmlRegion,So="visible",Wi="visibleFirst";Pl!=="scroll"&&Pl!==Wi&&(Pl=So);var pi=Pl===Wi,_o=vo(Ul,qt),Hr=vo(yl,qt),ei=Pl===So?Hr:_o,Ui=pi?Hr:ei;Yn.style.left="auto",Yn.style.top="auto",Yn.style.right="0",Yn.style.bottom="0";var ql=Yn.getBoundingClientRect();Yn.style.left=ur,Yn.style.top=Gr,Yn.style.right=Co,Yn.style.bottom=Vo,(Jn=Yn.parentElement)===null||Jn===void 0||Jn.removeChild($r);var pu=Wr(Math.round(ci/parseFloat(Sr)*1e3)/1e3),Hl=Wr(Math.round(ni/parseFloat(Ya)*1e3)/1e3);if(pu===0||Hl===0||Fi(le)&&!(0,Kt.Z)(le))return;var Yu=Ur.offset,rs=Ur.targetOffset,du=Qo(ho,Yu),eu=(0,Ze.Z)(du,2),Vl=eu[0],yo=eu[1],Mi=Qo(Dr,rs),il=(0,Ze.Z)(Mi,2),Yl=il[0],$i=il[1];Dr.x-=Yl,Dr.y-=$i;var tu=Ur.points||[],Rl=(0,Ze.Z)(tu,2),cu=Rl[0],Su=Rl[1],jl=mi(Su),nu=mi(cu),_l=Uo(Dr,jl),yu=Uo(ho,nu),Ru=(0,kt.Z)({},Ur),Si=_l.x-yu.x+Vl,ii=_l.y-yu.y+yo,Eu=ju(Si,ii),xi=ju(Si,ii,Hr),_u=Uo(Dr,["t","l"]),ku=Uo(ho,["t","l"]),Zu=Uo(Dr,["b","r"]),xu=Uo(ho,["b","r"]),Xu=Ur.overflow||{},As=Xu.adjustX,os=Xu.adjustY,ko=Xu.shiftX,Lr=Xu.shiftY,ti=function($s){return typeof $s=="boolean"?$s:$s>=0},ll,Au,hs,cs;Ss();var Ms=ti(os),Fs=nu[0]===jl[0];if(Ms&&nu[0]==="t"&&(Au>Ui.bottom||nn.current.bt)){var Bl=ii;Fs?Bl-=ni-Li:Bl=_u.y-xu.y-yo;var Xo=ju(Si,Bl),Mu=ju(Si,Bl,Hr);Xo>Eu||Xo===Eu&&(!pi||Mu>=xi)?(nn.current.bt=!0,ii=Bl,yo=-yo,Ru.points=[po(nu,0),po(jl,0)]):nn.current.bt=!1}if(Ms&&nu[0]==="b"&&(ll<Ui.top||nn.current.tb)){var Fu=ii;Fs?Fu+=ni-Li:Fu=Zu.y-ku.y-yo;var Us=ju(Si,Fu),hd=ju(Si,Fu,Hr);Us>Eu||Us===Eu&&(!pi||hd>=xi)?(nn.current.tb=!0,ii=Fu,yo=-yo,Ru.points=[po(nu,0),po(jl,0)]):nn.current.tb=!1}var ad=ti(As),Vs=nu[1]===jl[1];if(ad&&nu[1]==="l"&&(cs>Ui.right||nn.current.rl)){var gs=Si;Vs?gs-=ci-ml:gs=_u.x-xu.x-Vl;var Ys=ju(gs,ii),pd=ju(gs,ii,Hr);Ys>Eu||Ys===Eu&&(!pi||pd>=xi)?(nn.current.rl=!0,Si=gs,Vl=-Vl,Ru.points=[po(nu,1),po(jl,1)]):nn.current.rl=!1}if(ad&&nu[1]==="r"&&(hs<Ui.left||nn.current.lr)){var ps=Si;Vs?ps+=ci-ml:ps=Zu.x-ku.x-Vl;var El=ju(ps,ii),fo=ju(ps,ii,Hr);El>Eu||El===Eu&&(!pi||fo>=xi)?(nn.current.lr=!0,Si=ps,Vl=-Vl,Ru.points=[po(nu,1),po(jl,1)]):nn.current.lr=!1}Ss();var ou=ko===!0?0:ko;typeof ou=="number"&&(hs<Hr.left&&(Si-=hs-Hr.left-Vl,Dr.x+ml<Hr.left+ou&&(Si+=Dr.x-Hr.left+ml-ou)),cs>Hr.right&&(Si-=cs-Hr.right-Vl,Dr.x>Hr.right-ou&&(Si+=Dr.x-Hr.right+ou)));var iu=Lr===!0?0:Lr;typeof iu=="number"&&(ll<Hr.top&&(ii-=ll-Hr.top-yo,Dr.y+Li<Hr.top+iu&&(ii+=Dr.y-Hr.top+Li-iu)),Au>Hr.bottom&&(ii-=Au-Hr.bottom-yo,Dr.y>Hr.bottom-iu&&(ii+=Dr.y-Hr.bottom+iu)));var Ns=ho.x+Si,Os=Ns+ci,rd=ho.y+ii,_s=rd+ni,is=Dr.x,Nd=is+ml,bd=Dr.y,wd=bd+Li,Xs=Math.max(Ns,is),Od=Math.min(Os,Nd),xd=(Xs+Od)/2,Id=xd-Ns,od=Math.max(rd,bd),id=Math.min(_s,wd),Ad=(od+id)/2,Sd=Ad-rd;_e==null||_e(ie,Ru);var Td=ql.right-ho.x-(Si+ho.width),yd=ql.bottom-ho.y-(ii+ho.height);An({ready:!0,offsetX:Si/pu,offsetY:ii/Hl,offsetR:Td/pu,offsetB:yd/Hl,arrowX:Id/pu,arrowY:Sd/Hl,scaleX:pu,scaleY:Hl,align:Ru})}}),un=function(){$t.current+=1;var Jn=$t.current;Promise.resolve().then(function(){$t.current===Jn&&It()})},Zn=function(){An(function(Jn){return(0,kt.Z)((0,kt.Z)({},Jn),{},{ready:!1})})};return(0,Ln.Z)(Zn,[Se]),(0,Ln.Z)(function(){ae||Zn()},[ae]),[Wt.ready,Wt.offsetX,Wt.offsetY,Wt.offsetR,Wt.offsetB,Wt.arrowX,Wt.arrowY,Wt.scaleX,Wt.scaleY,Wt.align,un]}function dl(ae,ie,le,Se,Ae){(0,Ln.Z)(function(){if(ae&&ie&&le){let $t=function(){Se(),Ae()};var $e=ie,_e=le,yt=gr($e),At=gr(_e),Wt=kr(_e),An=new Set([Wt].concat((0,Tt.Z)(yt),(0,Tt.Z)(At)));return An.forEach(function(qt){qt.addEventListener("scroll",$t,{passive:!0})}),Wt.addEventListener("resize",$t,{passive:!0}),Se(),function(){An.forEach(function(qt){qt.removeEventListener("scroll",$t),Wt.removeEventListener("resize",$t)})}}},[ae,ie,le])}var Vi=z(60276);function cl(ae,ie,le,Se,Ae,$e,_e,yt){var At=ne.useRef(ae),Wt=ne.useRef(!1);At.current!==ae&&(Wt.current=!0,At.current=ae),ne.useEffect(function(){var An=(0,In.Z)(function(){Wt.current=!1});return function(){In.Z.cancel(An)}},[ae]),ne.useEffect(function(){if(ie&&Se&&(!Ae||$e)){var An=function(){var yr=!1,ur=function(Vo){var Ur=Vo.target;yr=_e(Ur)},Gr=function(Vo){var Ur=Vo.target;!Wt.current&&At.current&&!yr&&!_e(Ur)&&yt(!1)};return[ur,Gr]},$t=An(),qt=(0,Ze.Z)($t,2),nn=qt[0],cn=qt[1],It=An(),un=(0,Ze.Z)(It,2),Zn=un[0],Ea=un[1],Jn=kr(Se);Jn.addEventListener("mousedown",nn,!0),Jn.addEventListener("click",cn,!0),Jn.addEventListener("contextmenu",cn,!0);var Yn=va(le);if(Yn&&(Yn.addEventListener("mousedown",Zn,!0),Yn.addEventListener("click",Ea,!0),Yn.addEventListener("contextmenu",Ea,!0)),0)var Ha,Kn,_n,Sr;return function(){Jn.removeEventListener("mousedown",nn,!0),Jn.removeEventListener("click",cn,!0),Jn.removeEventListener("contextmenu",cn,!0),Yn&&(Yn.removeEventListener("mousedown",Zn,!0),Yn.removeEventListener("click",Ea,!0),Yn.removeEventListener("contextmenu",Ea,!0))}}},[ie,le,Se,Ae,$e])}function bl(ae){return ae instanceof HTMLElement||ae instanceof SVGElement}function Xl(ae){return bl(ae)?ae:ae instanceof ne.Component?ai.findDOMNode(ae):null}function qi(ae,ie,le){var Se=React.useRef({});return(!("value"in Se.current)||le(Se.current.condition,ie))&&(Se.current.value=ae(),Se.current.condition=ie),Se.current.value}function vi(ae,ie){typeof ae=="function"?ae(ie):(0,qn.Z)(ae)==="object"&&ae&&"current"in ae&&(ae.current=ie)}function wl(){for(var ae=arguments.length,ie=new Array(ae),le=0;le<ae;le++)ie[le]=arguments[le];var Se=ie.filter(function(Ae){return Ae});return Se.length<=1?Se[0]:function(Ae){ie.forEach(function($e){vi($e,Ae)})}}function Il(){for(var ae=arguments.length,ie=new Array(ae),le=0;le<ae;le++)ie[le]=arguments[le];return useMemo(function(){return wl.apply(void 0,ie)},ie,function(Se,Ae){return Se.length===Ae.length&&Se.every(function($e,_e){return $e===Ae[_e]})})}function al(ae){var ie,le,Se=(0,Cl.isMemo)(ae)?ae.type.type:ae.type;return!(typeof Se=="function"&&!((ie=Se.prototype)!==null&&ie!==void 0&&ie.render)||typeof ae=="function"&&!((le=ae.prototype)!==null&&le!==void 0&&le.render))}function si(){return!!(typeof window!="undefined"&&window.document&&window.document.createElement)}function ji(ae,ie){var le={};return le[ae.toLowerCase()]=ie.toLowerCase(),le["Webkit".concat(ae)]="webkit".concat(ie),le["Moz".concat(ae)]="moz".concat(ie),le["ms".concat(ae)]="MS".concat(ie),le["O".concat(ae)]="o".concat(ie.toLowerCase()),le}function Ho(ae,ie){var le={animationend:ji("Animation","AnimationEnd"),transitionend:ji("Transition","TransitionEnd")};return ae&&("AnimationEvent"in ie||delete le.animationend.animation,"TransitionEvent"in ie||delete le.transitionend.transition),le}var Zl=Ho(si(),typeof window!="undefined"?window:{}),Ri={};if(si()){var Gl=document.createElement("div");Ri=Gl.style}var vu={};function $l(ae){if(vu[ae])return vu[ae];var ie=Zl[ae];if(ie)for(var le=Object.keys(ie),Se=le.length,Ae=0;Ae<Se;Ae+=1){var $e=le[Ae];if(Object.prototype.hasOwnProperty.call(ie,$e)&&$e in Ri)return vu[ae]=ie[$e],vu[ae]}return""}var Nu=$l("animationend"),Ou=$l("transitionend"),ki=!!(Nu&&Ou),Du=Nu||"animationend",Ml=Ou||"transitionend";function Ki(ae,ie){if(!ae)return null;if((0,qn.Z)(ae)==="object"){var le=ie.replace(/-\w/g,function(Se){return Se[1].toUpperCase()});return ae[le]}return"".concat(ae,"-").concat(ie)}var gl="none",hu="appear",zu="enter",$u="leave",su="none",Tl="prepare",wu="start",Ql="active",Yi="end";function Lo(ae){var ie=ne.useRef(!1),le=ne.useState(ae),Se=(0,Ze.Z)(le,2),Ae=Se[0],$e=Se[1];ne.useEffect(function(){return ie.current=!1,function(){ie.current=!0}},[]);function _e(yt,At){At&&ie.current||$e(yt)}return[Ae,_e]}var zl=function(ie){return+setTimeout(ie,16)},Bu=function(ie){return clearTimeout(ie)};typeof window!="undefined"&&"requestAnimationFrame"in window&&(zl=function(ie){return window.requestAnimationFrame(ie)},Bu=function(ie){return window.cancelAnimationFrame(ie)});var Qu=0,ls=new Map;function Ku(ae){ls.delete(ae)}var ys=function(ie){var le=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1;Qu+=1;var Se=Qu;function Ae($e){if($e===0)Ku(Se),ie();else{var _e=zl(function(){Ae($e-1)});ls.set(Se,_e)}}return Ae(le),Se};ys.cancel=function(ae){var ie=ls.get(ae);return Ku(ie),Bu(ie)};var Ts=ys,Ju=function(){var ae=ne.useRef(null);function ie(){Ts.cancel(ae.current)}function le(Se){var Ae=arguments.length>1&&arguments[1]!==void 0?arguments[1]:2;ie();var $e=Ts(function(){Ae<=1?Se({isCanceled:function(){return $e!==ae.current}}):le(Se,Ae-1)});ae.current=$e}return ne.useEffect(function(){return function(){ie()}},[]),[le,ie]},fd=si()?ne.useLayoutEffect:ne.useEffect,Gu=fd,qu=[Tl,wu,Ql,Yi],Rs=!1,ns=!0;function Qs(ae){return ae===Ql||ae===Yi}var md=function(ae,ie){var le=Lo(su),Se=(0,Ze.Z)(le,2),Ae=Se[0],$e=Se[1],_e=Ju(),yt=(0,Ze.Z)(_e,2),At=yt[0],Wt=yt[1];function An(){$e(Tl,!0)}return Gu(function(){if(Ae!==su&&Ae!==Yi){var $t=qu.indexOf(Ae),qt=qu[$t+1],nn=ie(Ae);nn===Rs?$e(qt,!0):At(function(cn){function It(){cn.isCanceled()||$e(qt,!0)}nn===!0?It():Promise.resolve(nn).then(It)})}},[ae,Ae]),ne.useEffect(function(){return function(){Wt()}},[]),[An,Ae]},ks=function(ae){var ie=(0,ne.useRef)(),le=(0,ne.useRef)(ae);le.current=ae;var Se=ne.useCallback(function(_e){le.current(_e)},[]);function Ae(_e){_e&&(_e.removeEventListener(Ml,Se),_e.removeEventListener(Du,Se))}function $e(_e){ie.current&&ie.current!==_e&&Ae(ie.current),_e&&_e!==ie.current&&(_e.addEventListener(Ml,Se),_e.addEventListener(Du,Se),ie.current=_e)}return ne.useEffect(function(){return function(){Ae(ie.current)}},[]),[$e,Ae]};function Wu(ae,ie,le,Se){var Ae=Se.motionEnter,$e=Ae===void 0?!0:Ae,_e=Se.motionAppear,yt=_e===void 0?!0:_e,At=Se.motionLeave,Wt=At===void 0?!0:At,An=Se.motionDeadline,$t=Se.motionLeaveImmediately,qt=Se.onAppearPrepare,nn=Se.onEnterPrepare,cn=Se.onLeavePrepare,It=Se.onAppearStart,un=Se.onEnterStart,Zn=Se.onLeaveStart,Ea=Se.onAppearActive,Jn=Se.onEnterActive,Yn=Se.onLeaveActive,Ha=Se.onAppearEnd,Kn=Se.onEnterEnd,_n=Se.onLeaveEnd,Sr=Se.onVisibleChanged,Ya=Lo(),yr=(0,Ze.Z)(Ya,2),ur=yr[0],Gr=yr[1],Co=Lo(gl),Vo=(0,Ze.Z)(Co,2),Ur=Vo[0],$r=Vo[1],Dr=Lo(null),Yo=(0,Ze.Z)(Dr,2),ho=Yo[0],bo=Yo[1],Bi=(0,ne.useRef)(!1),zi=(0,ne.useRef)(null);function Xi(){return le()}var xl=(0,ne.useRef)(!1);function wi(_o){var Hr=Xi();if(!(_o&&!_o.deadline&&_o.target!==Hr)){var ei=xl.current,Ui;Ur===hu&&ei?Ui=Ha==null?void 0:Ha(Hr,_o):Ur===zu&&ei?Ui=Kn==null?void 0:Kn(Hr,_o):Ur===$u&&ei&&(Ui=_n==null?void 0:_n(Hr,_o)),Ur!==gl&&ei&&Ui!==!1&&($r(gl,!0),bo(null,!0))}}var fl=ks(wi),ni=(0,Ze.Z)(fl,1),ci=ni[0],Li=ne.useMemo(function(){var _o,Hr,ei;switch(Ur){case hu:return _o={},(0,dt.Z)(_o,Tl,qt),(0,dt.Z)(_o,wu,It),(0,dt.Z)(_o,Ql,Ea),_o;case zu:return Hr={},(0,dt.Z)(Hr,Tl,nn),(0,dt.Z)(Hr,wu,un),(0,dt.Z)(Hr,Ql,Jn),Hr;case $u:return ei={},(0,dt.Z)(ei,Tl,cn),(0,dt.Z)(ei,wu,Zn),(0,dt.Z)(ei,Ql,Yn),ei;default:return{}}},[Ur]),ml=md(Ur,function(_o){if(_o===Tl){var Hr=Li[Tl];return Hr?Hr(Xi()):Rs}if(Pl in Li){var ei;bo(((ei=Li[Pl])===null||ei===void 0?void 0:ei.call(Li,Xi(),null))||null)}return Pl===Ql&&(ci(Xi()),An>0&&(clearTimeout(zi.current),zi.current=setTimeout(function(){wi({deadline:!0})},An))),ns}),yl=(0,Ze.Z)(ml,2),Ul=yl[0],Pl=yl[1],So=Qs(Pl);xl.current=So,Gu(function(){Gr(ie);var _o=Bi.current;if(Bi.current=!0,!!ae){var Hr;!_o&&ie&&yt&&(Hr=hu),_o&&ie&&$e&&(Hr=zu),(_o&&!ie&&Wt||!_o&&$t&&!ie&&Wt)&&(Hr=$u),Hr&&($r(Hr),Ul())}},[ie]),(0,ne.useEffect)(function(){(Ur===hu&&!yt||Ur===zu&&!$e||Ur===$u&&!Wt)&&$r(gl)},[yt,$e,Wt]),(0,ne.useEffect)(function(){return function(){Bi.current=!1,clearTimeout(zi.current)}},[]);var Wi=ne.useRef(!1);(0,ne.useEffect)(function(){ur&&(Wi.current=!0),ur!==void 0&&Ur===gl&&((Wi.current||ur)&&(Sr==null||Sr(ur)),Wi.current=!0)},[ur,Ur]);var pi=ho;return Li[Tl]&&Pl===wu&&(pi=(0,kt.Z)({transition:"none"},pi)),[Ur,Pl,pi,ur!=null?ur:ie]}var Ps=function(ae){(0,Lt.Z)(le,ae);var ie=(0,zt.Z)(le);function le(){return(0,yn.Z)(this,le),ie.apply(this,arguments)}return(0,lt.Z)(le,[{key:"render",value:function(){return this.props.children}}]),le}(ne.Component),vd=Ps;function fs(ae){var ie=ae;(0,qn.Z)(ae)==="object"&&(ie=ae.transitionSupport);function le(Ae){return!!(Ae.motionName&&ie)}var Se=ne.forwardRef(function(Ae,$e){var _e=Ae.visible,yt=_e===void 0?!0:_e,At=Ae.removeOnLeave,Wt=At===void 0?!0:At,An=Ae.forceRender,$t=Ae.children,qt=Ae.motionName,nn=Ae.leavedClassName,cn=Ae.eventProps,It=le(Ae),un=(0,ne.useRef)(),Zn=(0,ne.useRef)();function Ea(){try{return un.current instanceof HTMLElement?un.current:Xl(Zn.current)}catch(Dr){return null}}var Jn=Wu(It,yt,Ea,Ae),Yn=(0,Ze.Z)(Jn,4),Ha=Yn[0],Kn=Yn[1],_n=Yn[2],Sr=Yn[3],Ya=ne.useRef(Sr);Sr&&(Ya.current=!0);var yr=ne.useCallback(function(Dr){un.current=Dr,vi($e,Dr)},[$e]),ur,Gr=(0,kt.Z)((0,kt.Z)({},cn),{},{visible:yt});if(!$t)ur=null;else if(Ha===gl||!le(Ae))Sr?ur=$t((0,kt.Z)({},Gr),yr):!Wt&&Ya.current&&nn?ur=$t((0,kt.Z)((0,kt.Z)({},Gr),{},{className:nn}),yr):An||!Wt&&!nn?ur=$t((0,kt.Z)((0,kt.Z)({},Gr),{},{style:{display:"none"}}),yr):ur=null;else{var Co,Vo;Kn===Tl?Vo="prepare":Qs(Kn)?Vo="active":Kn===wu&&(Vo="start"),ur=$t((0,kt.Z)((0,kt.Z)({},Gr),{},{className:Gt()(Ki(qt,Ha),(Co={},(0,dt.Z)(Co,Ki(qt,"".concat(Ha,"-").concat(Vo)),Vo),(0,dt.Z)(Co,qt,typeof qt=="string"),Co)),style:_n}),yr)}if(ne.isValidElement(ur)&&al(ur)){var Ur=ur,$r=Ur.ref;$r||(ur=ne.cloneElement(ur,{ref:yr}))}return ne.createElement(vd,{ref:Zn},ur)});return Se.displayName="CSSMotion",Se}var Iu=fs(ki),Zs="add",Es="keep",us="remove",Wl="removed";function ol(ae){var ie;return ae&&(0,qn.Z)(ae)==="object"&&"key"in ae?ie=ae:ie={key:ae},(0,kt.Z)((0,kt.Z)({},ie),{},{key:String(ie.key)})}function Uu(){var ae=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];return ae.map(ol)}function ss(){var ae=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],ie=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],le=[],Se=0,Ae=ie.length,$e=Uu(ae),_e=Uu(ie);$e.forEach(function(Wt){for(var An=!1,$t=Se;$t<Ae;$t+=1){var qt=_e[$t];if(qt.key===Wt.key){Se<$t&&(le=le.concat(_e.slice(Se,$t).map(function(nn){return(0,kt.Z)((0,kt.Z)({},nn),{},{status:Zs})})),Se=$t),le.push((0,kt.Z)((0,kt.Z)({},qt),{},{status:Es})),Se+=1,An=!0;break}}An||le.push((0,kt.Z)((0,kt.Z)({},Wt),{},{status:us}))}),Se<Ae&&(le=le.concat(_e.slice(Se).map(function(Wt){return(0,kt.Z)((0,kt.Z)({},Wt),{},{status:Zs})})));var yt={};le.forEach(function(Wt){var An=Wt.key;yt[An]=(yt[An]||0)+1});var At=Object.keys(yt).filter(function(Wt){return yt[Wt]>1});return At.forEach(function(Wt){le=le.filter(function(An){var $t=An.key,qt=An.status;return $t!==Wt||qt!==us}),le.forEach(function(An){An.key===Wt&&(An.status=Es)})}),le}var zs=["component","children","onVisibleChanged","onAllRemoved"],Js=["status"],Ws=["eventProps","visible","children","motionName","motionAppear","motionEnter","motionLeave","motionLeaveImmediately","motionDeadline","removeOnLeave","leavedClassName","onAppearStart","onAppearActive","onAppearEnd","onEnterStart","onEnterActive","onEnterEnd","onLeaveStart","onLeaveActive","onLeaveEnd"];function es(ae){var ie=arguments.length>1&&arguments[1]!==void 0?arguments[1]:Iu,le=function(Se){(0,Lt.Z)($e,Se);var Ae=(0,zt.Z)($e);function $e(){var _e;(0,yn.Z)(this,$e);for(var yt=arguments.length,At=new Array(yt),Wt=0;Wt<yt;Wt++)At[Wt]=arguments[Wt];return _e=Ae.call.apply(Ae,[this].concat(At)),(0,dt.Z)((0,ht.Z)(_e),"state",{keyEntities:[]}),(0,dt.Z)((0,ht.Z)(_e),"removeKey",function(An){var $t=_e.state.keyEntities,qt=$t.map(function(nn){return nn.key!==An?nn:(0,kt.Z)((0,kt.Z)({},nn),{},{status:Wl})});return _e.setState({keyEntities:qt}),qt.filter(function(nn){var cn=nn.status;return cn!==Wl}).length}),_e}return(0,lt.Z)($e,[{key:"render",value:function(){var yt=this,At=this.state.keyEntities,Wt=this.props,An=Wt.component,$t=Wt.children,qt=Wt.onVisibleChanged,nn=Wt.onAllRemoved,cn=(0,zo.Z)(Wt,zs),It=An||ne.Fragment,un={};return Ws.forEach(function(Zn){un[Zn]=cn[Zn],delete cn[Zn]}),delete cn.keys,ne.createElement(It,cn,At.map(function(Zn){var Ea=Zn.status,Jn=(0,zo.Z)(Zn,Js),Yn=Ea===Zs||Ea===Es;return ne.createElement(ie,(0,oe.Z)({},un,{key:Jn.key,visible:Yn,eventProps:Jn,onVisibleChanged:function(Kn){if(qt==null||qt(Kn,{key:Jn.key}),!Kn){var _n=yt.removeKey(Jn.key);_n===0&&nn&&nn()}}}),$t)}))}}],[{key:"getDerivedStateFromProps",value:function(yt,At){var Wt=yt.keys,An=At.keyEntities,$t=Uu(Wt),qt=ss(An,$t);return{keyEntities:qt.filter(function(nn){var cn=An.find(function(It){var un=It.key;return nn.key===un});return!(cn&&cn.status===Wl&&nn.status===us)})}}}]),$e}(ne.Component);return(0,dt.Z)(le,"defaultProps",{component:"div"}),le}var Hs=es(ki),qs=Iu,ms=z(17799);function ed(ae){var ie=ae.prefixCls,le=ae.align,Se=ae.arrow,Ae=ae.arrowPos,$e=Se||{},_e=$e.className,yt=$e.content,At=Ae.x,Wt=At===void 0?0:At,An=Ae.y,$t=An===void 0?0:An,qt=ne.useRef();if(!le||!le.points)return null;var nn={position:"absolute"};if(le.autoArrow!==!1){var cn=le.points[0],It=le.points[1],un=cn[0],Zn=cn[1],Ea=It[0],Jn=It[1];un===Ea||!["t","b"].includes(un)?nn.top=$t:un==="t"?nn.top=0:nn.bottom=0,Zn===Jn||!["l","r"].includes(Zn)?nn.left=Wt:Zn==="l"?nn.left=0:nn.right=0}return ne.createElement("div",{ref:qt,className:Gt()("".concat(ie,"-arrow"),_e),style:nn},yt)}function js(ae){var ie=ae.prefixCls,le=ae.open,Se=ae.zIndex,Ae=ae.mask,$e=ae.motion;return Ae?ne.createElement(qs,(0,oe.Z)({},$e,{motionAppear:!0,visible:le,removeOnLeave:!0}),function(_e){var yt=_e.className;return ne.createElement("div",{style:{zIndex:Se},className:Gt()("".concat(ie,"-mask"),yt)})}):null}var td=ne.memo(function(ae){var ie=ae.children;return ie},function(ae,ie){return ie.cache}),ds=td,Cs=ne.forwardRef(function(ae,ie){var le=ae.popup,Se=ae.className,Ae=ae.prefixCls,$e=ae.style,_e=ae.target,yt=ae.onVisibleChanged,At=ae.open,Wt=ae.keepDom,An=ae.fresh,$t=ae.onClick,qt=ae.mask,nn=ae.arrow,cn=ae.arrowPos,It=ae.align,un=ae.motion,Zn=ae.maskMotion,Ea=ae.forceRender,Jn=ae.getPopupContainer,Yn=ae.autoDestroy,Ha=ae.portal,Kn=ae.zIndex,_n=ae.onMouseEnter,Sr=ae.onMouseLeave,Ya=ae.onPointerEnter,yr=ae.ready,ur=ae.offsetX,Gr=ae.offsetY,Co=ae.offsetR,Vo=ae.offsetB,Ur=ae.onAlign,$r=ae.onPrepare,Dr=ae.stretch,Yo=ae.targetWidth,ho=ae.targetHeight,bo=typeof le=="function"?le():le,Bi=At||Wt,zi=(Jn==null?void 0:Jn.length)>0,Xi=ne.useState(!Jn||!zi),xl=(0,Ze.Z)(Xi,2),wi=xl[0],fl=xl[1];if((0,Ln.Z)(function(){!wi&&zi&&_e&&fl(!0)},[wi,zi,_e]),!wi)return null;var ni="auto",ci={left:"-1000vw",top:"-1000vh",right:ni,bottom:ni};if(yr||!At){var Li,ml=It.points,yl=It.dynamicInset||((Li=It._experimental)===null||Li===void 0?void 0:Li.dynamicInset),Ul=yl&&ml[0][1]==="r",Pl=yl&&ml[0][0]==="b";Ul?(ci.right=Co,ci.left=ni):(ci.left=ur,ci.right=ni),Pl?(ci.bottom=Vo,ci.top=ni):(ci.top=Gr,ci.bottom=ni)}var So={};return Dr&&(Dr.includes("height")&&ho?So.height=ho:Dr.includes("minHeight")&&ho&&(So.minHeight=ho),Dr.includes("width")&&Yo?So.width=Yo:Dr.includes("minWidth")&&Yo&&(So.minWidth=Yo)),At||(So.pointerEvents="none"),ne.createElement(Ha,{open:Ea||Bi,getContainer:Jn&&function(){return Jn(_e)},autoDestroy:Yn},ne.createElement(js,{prefixCls:Ae,open:At,zIndex:Kn,mask:qt,motion:Zn}),ne.createElement(Oi.Z,{onResize:Ur,disabled:!At},function(Wi){return ne.createElement(qs,(0,oe.Z)({motionAppear:!0,motionEnter:!0,motionLeave:!0,removeOnLeave:!1,forceRender:Ea,leavedClassName:"".concat(Ae,"-hidden")},un,{onAppearPrepare:$r,onEnterPrepare:$r,visible:At,onVisibleChanged:function(_o){var Hr;un==null||(Hr=un.onVisibleChanged)===null||Hr===void 0||Hr.call(un,_o),yt(_o)}}),function(pi,_o){var Hr=pi.className,ei=pi.style,Ui=Gt()(Ae,Hr,Se);return ne.createElement("div",{ref:(0,ms.sQ)(Wi,ie,_o),className:Ui,style:(0,kt.Z)((0,kt.Z)((0,kt.Z)((0,kt.Z)({"--arrow-x":"".concat(cn.x||0,"px"),"--arrow-y":"".concat(cn.y||0,"px")},ci),So),ei),{},{boxSizing:"border-box",zIndex:Kn},$e),onMouseEnter:_n,onMouseLeave:Sr,onPointerEnter:Ya,onClick:$t},nn&&ne.createElement(ed,{prefixCls:Ae,arrow:nn,arrowPos:cn,align:It}),ne.createElement(ds,{cache:!At&&!An},bo))})}))}),bs=Cs,ws=ne.forwardRef(function(ae,ie){var le=ae.children,Se=ae.getTriggerDOMNode,Ae=(0,ms.Yr)(le),$e=ne.useCallback(function(yt){(0,ms.mH)(ie,Se?Se(yt):yt)},[Se]),_e=(0,ms.x1)($e,le.ref);return Ae?ne.cloneElement(le,{ref:_e}):le}),Ks=ws,nd=["prefixCls","children","action","showAction","hideAction","popupVisible","defaultPopupVisible","onPopupVisibleChange","afterPopupVisibleChange","mouseEnterDelay","mouseLeaveDelay","focusDelay","blurDelay","mask","maskClosable","getPopupContainer","forceRender","autoDestroy","destroyPopupOnHide","popup","popupClassName","popupStyle","popupPlacement","builtinPlacements","popupAlign","zIndex","stretch","getPopupClassNameFromAlign","fresh","alignPoint","onPopupClick","onPopupAlign","arrow","popupMotion","maskMotion","popupTransitionName","popupAnimation","maskTransitionName","maskAnimation","className","getTriggerDOMNode"];function as(){var ae=arguments.length>0&&arguments[0]!==void 0?arguments[0]:Ro,ie=ne.forwardRef(function(le,Se){var Ae=le.prefixCls,$e=Ae===void 0?"rc-trigger-popup":Ae,_e=le.children,yt=le.action,At=yt===void 0?"hover":yt,Wt=le.showAction,An=le.hideAction,$t=le.popupVisible,qt=le.defaultPopupVisible,nn=le.onPopupVisibleChange,cn=le.afterPopupVisibleChange,It=le.mouseEnterDelay,un=le.mouseLeaveDelay,Zn=un===void 0?.1:un,Ea=le.focusDelay,Jn=le.blurDelay,Yn=le.mask,Ha=le.maskClosable,Kn=Ha===void 0?!0:Ha,_n=le.getPopupContainer,Sr=le.forceRender,Ya=le.autoDestroy,yr=le.destroyPopupOnHide,ur=le.popup,Gr=le.popupClassName,Co=le.popupStyle,Vo=le.popupPlacement,Ur=le.builtinPlacements,$r=Ur===void 0?{}:Ur,Dr=le.popupAlign,Yo=le.zIndex,ho=le.stretch,bo=le.getPopupClassNameFromAlign,Bi=le.fresh,zi=le.alignPoint,Xi=le.onPopupClick,xl=le.onPopupAlign,wi=le.arrow,fl=le.popupMotion,ni=le.maskMotion,ci=le.popupTransitionName,Li=le.popupAnimation,ml=le.maskTransitionName,yl=le.maskAnimation,Ul=le.className,Pl=le.getTriggerDOMNode,So=(0,zo.Z)(le,nd),Wi=Ya||yr||!1,pi=ne.useState(!1),_o=(0,Ze.Z)(pi,2),Hr=_o[0],ei=_o[1];(0,Ln.Z)(function(){ei(tt())},[]);var Ui=ne.useRef({}),ql=ne.useContext(pn),pu=ne.useMemo(function(){return{registerSubPopup:function(Ci,lu){Ui.current[Ci]=lu,ql==null||ql.registerSubPopup(Ci,lu)}}},[ql]),Hl=qe(),Yu=ne.useState(null),rs=(0,Ze.Z)(Yu,2),du=rs[0],eu=rs[1],Vl=(0,nr.Z)(function(so){Fi(so)&&du!==so&&eu(so),ql==null||ql.registerSubPopup(Hl,so)}),yo=ne.useState(null),Mi=(0,Ze.Z)(yo,2),il=Mi[0],Yl=Mi[1],$i=(0,nr.Z)(function(so){Fi(so)&&il!==so&&Yl(so)}),tu=ne.Children.only(_e),Rl=(tu==null?void 0:tu.props)||{},cu={},Su=(0,nr.Z)(function(so){var Ci,lu,gu=il;return(gu==null?void 0:gu.contains(so))||((Ci=va(gu))===null||Ci===void 0?void 0:Ci.host)===so||so===gu||(du==null?void 0:du.contains(so))||((lu=va(du))===null||lu===void 0?void 0:lu.host)===so||so===du||Object.values(Ui.current).some(function(uu){return(uu==null?void 0:uu.contains(so))||so===uu})}),jl=dr($e,fl,Li,ci),nu=dr($e,ni,yl,ml),_l=ne.useState(qt||!1),yu=(0,Ze.Z)(_l,2),Ru=yu[0],Si=yu[1],ii=$t!=null?$t:Ru,Eu=(0,nr.Z)(function(so){$t===void 0&&Si(so)});(0,Ln.Z)(function(){Si($t||!1)},[$t]);var xi=ne.useRef(ii);xi.current=ii;var _u=(0,nr.Z)(function(so){(0,ai.flushSync)(function(){ii!==so&&(Eu(so),nn==null||nn(so))})}),ku=ne.useRef(),Zu=function(){clearTimeout(ku.current)},xu=function(Ci){var lu=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0;Zu(),lu===0?_u(Ci):ku.current=setTimeout(function(){_u(Ci)},lu*1e3)};ne.useEffect(function(){return Zu},[]);var Xu=ne.useState(!1),As=(0,Ze.Z)(Xu,2),os=As[0],ko=As[1];(0,Ln.Z)(function(so){(!so||ii)&&ko(!0)},[ii]);var Lr=ne.useState(null),ti=(0,Ze.Z)(Lr,2),ll=ti[0],Au=ti[1],hs=ne.useState([0,0]),cs=(0,Ze.Z)(hs,2),Ms=cs[0],Fs=cs[1],Bl=function(Ci){Fs([Ci.clientX,Ci.clientY])},Xo=jr(ii,du,zi?Ms:il,Vo,$r,Dr,xl),Mu=(0,Ze.Z)(Xo,11),Fu=Mu[0],Us=Mu[1],hd=Mu[2],ad=Mu[3],Vs=Mu[4],gs=Mu[5],Ys=Mu[6],pd=Mu[7],ps=Mu[8],El=Mu[9],fo=Mu[10],ou=aa(Hr,At,Wt,An),iu=(0,Ze.Z)(ou,2),Ns=iu[0],Os=iu[1],rd=Ns.has("click"),_s=Os.has("click")||Os.has("contextMenu"),is=(0,nr.Z)(function(){os||fo()}),Nd=function(){xi.current&&zi&&_s&&xu(!1)};dl(ii,il,du,is,Nd),(0,Ln.Z)(function(){is()},[Ms,Vo]),(0,Ln.Z)(function(){ii&&!($r!=null&&$r[Vo])&&is()},[JSON.stringify(Dr)]);var bd=ne.useMemo(function(){var so=pr($r,$e,El,zi);return Gt()(so,bo==null?void 0:bo(El))},[El,bo,$r,$e,zi]);ne.useImperativeHandle(Se,function(){return{forceAlign:is}});var wd=ne.useState(0),Xs=(0,Ze.Z)(wd,2),Od=Xs[0],xd=Xs[1],Id=ne.useState(0),od=(0,Ze.Z)(Id,2),id=od[0],Ad=od[1],Sd=function(){if(ho&&il){var Ci=il.getBoundingClientRect();xd(Ci.width),Ad(Ci.height)}},Td=function(){Sd(),is()},yd=function(Ci){ko(!1),fo(),cn==null||cn(Ci)},ju=function(){return new Promise(function(Ci){Sd(),Au(function(){return Ci})})};(0,Ln.Z)(function(){ll&&(fo(),ll(),Au(null))},[ll]);function Ss(so,Ci,lu,gu){cu[so]=function(uu){var ud;gu==null||gu(uu),xu(Ci,lu);for(var Ld=arguments.length,Zd=new Array(Ld>1?Ld-1:0),sd=1;sd<Ld;sd++)Zd[sd-1]=arguments[sd];(ud=Rl[so])===null||ud===void 0||ud.call.apply(ud,[Rl,uu].concat(Zd))}}(rd||_s)&&(cu.onClick=function(so){var Ci;xi.current&&_s?xu(!1):!xi.current&&rd&&(Bl(so),xu(!0));for(var lu=arguments.length,gu=new Array(lu>1?lu-1:0),uu=1;uu<lu;uu++)gu[uu-1]=arguments[uu];(Ci=Rl.onClick)===null||Ci===void 0||Ci.call.apply(Ci,[Rl,so].concat(gu))}),cl(ii,_s,il,du,Yn,Kn,Su,xu);var Pd=Ns.has("hover"),$s=Os.has("hover"),Ds,Ed;Pd&&(Ss("onMouseEnter",!0,It,function(so){Bl(so)}),Ss("onPointerEnter",!0,It,function(so){Bl(so)}),Ds=function(){(ii||os)&&xu(!0,It)},zi&&(cu.onMouseMove=function(so){var Ci;(Ci=Rl.onMouseMove)===null||Ci===void 0||Ci.call(Rl,so)})),$s&&(Ss("onMouseLeave",!1,Zn),Ss("onPointerLeave",!1,Zn),Ed=function(){xu(!1,Zn)}),Ns.has("focus")&&Ss("onFocus",!0,Ea),Os.has("focus")&&Ss("onBlur",!1,Jn),Ns.has("contextMenu")&&(cu.onContextMenu=function(so){var Ci;xi.current&&Os.has("contextMenu")?xu(!1):(Bl(so),xu(!0)),so.preventDefault();for(var lu=arguments.length,gu=new Array(lu>1?lu-1:0),uu=1;uu<lu;uu++)gu[uu-1]=arguments[uu];(Ci=Rl.onContextMenu)===null||Ci===void 0||Ci.call.apply(Ci,[Rl,so].concat(gu))}),Ul&&(cu.className=Gt()(Rl.className,Ul));var ld=(0,kt.Z)((0,kt.Z)({},Rl),cu),Fd={},Dd=["onContextMenu","onClick","onMouseDown","onTouchStart","onMouseEnter","onMouseLeave","onFocus","onBlur"];Dd.forEach(function(so){So[so]&&(Fd[so]=function(){for(var Ci,lu=arguments.length,gu=new Array(lu),uu=0;uu<lu;uu++)gu[uu]=arguments[uu];(Ci=ld[so])===null||Ci===void 0||Ci.call.apply(Ci,[ld].concat(gu)),So[so].apply(So,gu)})});var Is=ne.cloneElement(tu,(0,kt.Z)((0,kt.Z)({},ld),Fd)),Bd={x:gs,y:Ys},Rd=wi?(0,kt.Z)({},wi!==!0?wi:{}):null;return ne.createElement(ne.Fragment,null,ne.createElement(Oi.Z,{disabled:!ii,ref:$i,onResize:Td},ne.createElement(Ks,{getTriggerDOMNode:Pl},Is)),ne.createElement(pn.Provider,{value:pu},ne.createElement(bs,{portal:ae,ref:Vl,prefixCls:$e,popup:ur,className:Gt()(Gr,bd),style:Co,target:il,onMouseEnter:Ds,onMouseLeave:Ed,onPointerEnter:Ds,zIndex:Yo,open:ii,keepDom:os,fresh:Bi,onClick:Xi,mask:Yn,motion:jl,maskMotion:nu,onVisibleChanged:yd,onPrepare:ju,forceRender:Sr,autoDestroy:Wi,getPopupContainer:_n,align:El,arrow:Rd,arrowPos:Bd,ready:Fu,offsetX:Us,offsetY:hd,offsetR:ad,offsetB:Vs,onAlign:is,stretch:ho,targetWidth:Od/pd,targetHeight:id/ps})))});return ie}var Vu=as(Ro),Hu={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 xs(ae){var ie,le=ae.prefixCls,Se=ae.popupElement,Ae=ae.popupStyle,$e=ae.visible,_e=ae.dropdownClassName,yt=ae.dropdownAlign,At=ae.transitionName,Wt=ae.getPopupContainer,An=ae.children,$t=ae.range,qt=ae.popupPlacement,nn=ae.direction,cn="".concat(le,"-dropdown"),It=function(){return qt!==void 0?qt:nn==="rtl"?"bottomRight":"bottomLeft"};return ne.createElement(Vu,{showAction:[],hideAction:[],popupPlacement:It(),builtinPlacements:Hu,prefixCls:cn,popupTransitionName:At,popup:Se,popupAlign:yt,popupVisible:$e,popupClassName:Gt()(_e,(ie={},(0,dt.Z)(ie,"".concat(cn,"-range"),$t),(0,dt.Z)(ie,"".concat(cn,"-rtl"),nn==="rtl"),ie)),popupStyle:Ae,getPopupContainer:Wt},An)}var ce=xs;function me(ae){var ie=ae.prefixCls,le=ae.presets,Se=ae.onClick,Ae=ae.onHover;return le.length?ne.createElement("div",{className:"".concat(ie,"-presets")},ne.createElement("ul",null,le.map(function($e,_e){var yt=$e.label,At=$e.value;return ne.createElement("li",{key:_e,onClick:function(){return Se==null?void 0:Se(Jo(At))},onMouseEnter:function(){return Ae==null?void 0:Ae(Jo(At))},onMouseLeave:function(){return Ae==null?void 0:Ae(null)}},yt)}))):null}function Be(ae){var ie=ae.picker,le=ae.disabledHours,Se=ae.disabledMinutes,Ae=ae.disabledSeconds;ie==="time"&&(le||Se||Ae)&&warning(!1,"'disabledHours', 'disabledMinutes', 'disabledSeconds' will be removed in the next major version, please use 'disabledTime' instead.")}function We(ae,ie,le){var Se=(0,qn.Z)(ie)==="object"?ie.clearIcon:le;return Se||ne.createElement("span",{className:"".concat(ae,"-clear-btn")})}function Qe(ae){var ie,le=ae,Se=le.prefixCls,Ae=Se===void 0?"rc-picker":Se,$e=le.id,_e=le.name,yt=le.tabIndex,At=le.style,Wt=le.className,An=le.dropdownClassName,$t=le.dropdownAlign,qt=le.popupStyle,nn=le.transitionName,cn=le.generateConfig,It=le.locale,un=le.inputReadOnly,Zn=le.allowClear,Ea=le.autoFocus,Jn=le.showTime,Yn=le.picker,Ha=Yn===void 0?"date":Yn,Kn=le.format,_n=le.use12Hours,Sr=le.value,Ya=le.defaultValue,yr=le.presets,ur=le.open,Gr=le.defaultOpen,Co=le.defaultOpenValue,Vo=le.suffixIcon,Ur=le.clearIcon,$r=le.disabled,Dr=le.disabledDate,Yo=le.placeholder,ho=le.getPopupContainer,bo=le.pickerRef,Bi=le.panelRender,zi=le.onChange,Xi=le.onOpenChange,xl=le.onFocus,wi=le.onBlur,fl=le.onMouseDown,ni=le.onMouseUp,ci=le.onMouseEnter,Li=le.onMouseLeave,ml=le.onContextMenu,yl=le.onClick,Ul=le.onKeyDown,Pl=le.onSelect,So=le.direction,Wi=le.autoComplete,pi=Wi===void 0?"off":Wi,_o=le.inputRender,Hr=le.changeOnBlur,ei=ne.useRef(null),Ui=Ha==="date"&&!!Jn||Ha==="time",ql=wo(yr),pu=ao(Aa(Kn,Ha,Jn,_n)),Hl=ne.useRef(null),Yu=ne.useRef(null),rs=ne.useRef(null),du=(0,Dn.Z)(null,{value:Sr,defaultValue:Ya}),eu=(0,Ze.Z)(du,2),Vl=eu[0],yo=eu[1],Mi=ne.useState(Vl),il=(0,Ze.Z)(Mi,2),Yl=il[0],$i=il[1],tu=ne.useRef(null),Rl=(0,Dn.Z)(!1,{value:ur,defaultValue:Gr,postState:function(fo){return $r?!1:fo},onChange:function(fo){Xi&&Xi(fo),!fo&&tu.current&&tu.current.onClose&&tu.current.onClose()}}),cu=(0,Ze.Z)(Rl,2),Su=cu[0],jl=cu[1],nu=bt(Yl,{formatList:pu,generateConfig:cn,locale:It}),_l=(0,Ze.Z)(nu,2),yu=_l[0],Ru=_l[1],Si=wt({valueTexts:yu,onTextChange:function(fo){var ou=ot(fo,{locale:It,formatList:pu,generateConfig:cn});ou&&(!Dr||!Dr(ou))&&$i(ou)}}),ii=(0,Ze.Z)(Si,3),Eu=ii[0],xi=ii[1],_u=ii[2],ku=function(fo){$i(fo),yo(fo),zi&&!He(cn,Vl,fo)&&zi(fo,fo?Zt(fo,{generateConfig:cn,locale:It,format:pu[0]}):"")},Zu=function(fo){$r&&fo||jl(fo)},xu=function(fo){return Su&&tu.current&&tu.current.onKeyDown?tu.current.onKeyDown(fo):((0,he.ZP)(!1,"Picker not correct forward KeyDown operation. Please help to fire issue about this."),!1)},Xu=function(){for(var fo=arguments.length,ou=new Array(fo),iu=0;iu<fo;iu++)ou[iu]=arguments[iu];yl==null||yl.apply(void 0,ou),ei.current&&(ei.current.focus(),Zu(!0))},As=function(fo){Hr&&ku(Yl),wi==null||wi(fo)},os=Qr({blurToCancel:Ui,open:Su,value:Eu,triggerOpen:Zu,forwardKeyDown:xu,isClickOutside:function(fo){return!_a([Hl.current,Yu.current,rs.current],fo)},onSubmit:function(){return!Yl||Dr&&Dr(Yl)?!1:(ku(Yl),Zu(!1),_u(),!0)},onCancel:function(){Zu(!1),$i(Vl),_u()},onKeyDown:function(fo,ou){Ul==null||Ul(fo,ou)},onFocus:xl,onBlur:As,changeOnBlur:Hr}),ko=(0,Ze.Z)(os,2),Lr=ko[0],ti=ko[1],ll=ti.focused,Au=ti.typing;ne.useEffect(function(){Su||($i(Vl),!yu.length||yu[0]===""?xi(""):Ru!==Eu&&_u())},[Su,yu]),ne.useEffect(function(){Su||_u()},[Ha]),ne.useEffect(function(){$i(Vl)},[Vl]),bo&&(bo.current={focus:function(){var fo;(fo=ei.current)===null||fo===void 0||fo.focus()},blur:function(){var fo;(fo=ei.current)===null||fo===void 0||fo.blur()}});var hs=Ut(Eu,{formatList:pu,generateConfig:cn,locale:It}),cs=(0,Ze.Z)(hs,3),Ms=cs[0],Fs=cs[1],Bl=cs[2],Xo=(0,kt.Z)((0,kt.Z)({},ae),{},{className:void 0,style:void 0,pickerValue:void 0,onPickerValueChange:void 0,onChange:null}),Mu=ne.createElement("div",{className:"".concat(Ae,"-panel-layout")},ne.createElement(me,{prefixCls:Ae,presets:ql,onClick:function(fo){ku(fo),Zu(!1)}}),ne.createElement(oo,(0,oe.Z)({},Xo,{generateConfig:cn,className:Gt()((0,dt.Z)({},"".concat(Ae,"-panel-focused"),!Au)),value:Yl,locale:It,tabIndex:-1,onSelect:function(fo){Pl==null||Pl(fo),$i(fo)},direction:So,onPanelChange:function(fo,ou){var iu=ae.onPanelChange;Bl(!0),iu==null||iu(fo,ou)}})));Bi&&(Mu=Bi(Mu));var Fu=ne.createElement("div",{className:"".concat(Ae,"-panel-container"),ref:Hl,onMouseDown:function(fo){fo.preventDefault()}},Mu),Us;Vo&&(Us=ne.createElement("span",{className:"".concat(Ae,"-suffix"),onMouseDown:function(fo){fo.preventDefault()}},Vo));var hd=We(Ae,Zn,Ur),ad=ne.createElement("span",{onMouseDown:function(fo){fo.preventDefault(),fo.stopPropagation()},onMouseUp:function(fo){fo.preventDefault(),fo.stopPropagation(),ku(null),Zu(!1)},className:"".concat(Ae,"-clear"),role:"button"},hd),Vs=!!Zn&&Vl&&!$r,gs=(0,kt.Z)((0,kt.Z)((0,kt.Z)({id:$e,tabIndex:yt,disabled:$r,readOnly:un||typeof pu[0]=="function"||!Au,value:Ms||Eu,onChange:function(fo){xi(fo.target.value)},autoFocus:Ea,placeholder:Yo,ref:ei,title:Eu},Lr),{},{size:jn(Ha,pu[0],cn),name:_e},(0,zn.Z)(ae,{aria:!0,data:!0})),{},{autoComplete:pi}),Ys=_o?_o(gs):ne.createElement("input",gs),pd=function(fo,ou){(ou==="submit"||ou!=="key"&&!Ui)&&(ku(fo),Zu(!1))},ps=So==="rtl"?"bottomRight":"bottomLeft";return ne.createElement(Ct.Provider,{value:{operationRef:tu,hideHeader:Ha==="time",onSelect:pd,open:Su,defaultOpenValue:Co,onDateMouseEnter:Fs,onDateMouseLeave:Bl}},ne.createElement(ce,{visible:Su,popupElement:Fu,popupStyle:qt,prefixCls:Ae,dropdownClassName:An,dropdownAlign:$t,getPopupContainer:ho,transitionName:nn,popupPlacement:ps,direction:So},ne.createElement("div",{ref:rs,className:Gt()(Ae,Wt,(ie={},(0,dt.Z)(ie,"".concat(Ae,"-disabled"),$r),(0,dt.Z)(ie,"".concat(Ae,"-focused"),ll),(0,dt.Z)(ie,"".concat(Ae,"-rtl"),So==="rtl"),ie)),style:At,onMouseDown:fl,onMouseUp:ni,onMouseEnter:ci,onMouseLeave:Li,onContextMenu:ml,onClick:Xu},ne.createElement("div",{className:Gt()("".concat(Ae,"-input"),(0,dt.Z)({},"".concat(Ae,"-input-placeholder"),!!Ms)),ref:Yu},Ys,Us,Vs&&ad))))}var it=function(ae){(0,Lt.Z)(le,ae);var ie=(0,zt.Z)(le);function le(){var Se;(0,yn.Z)(this,le);for(var Ae=arguments.length,$e=new Array(Ae),_e=0;_e<Ae;_e++)$e[_e]=arguments[_e];return Se=ie.call.apply(ie,[this].concat($e)),(0,dt.Z)((0,ht.Z)(Se),"pickerRef",ne.createRef()),(0,dt.Z)((0,ht.Z)(Se),"focus",function(){Se.pickerRef.current&&Se.pickerRef.current.focus()}),(0,dt.Z)((0,ht.Z)(Se),"blur",function(){Se.pickerRef.current&&Se.pickerRef.current.blur()}),Se}return(0,lt.Z)(le,[{key:"render",value:function(){return ne.createElement(Qe,(0,oe.Z)({},this.props,{pickerRef:this.pickerRef}))}}]),le}(ne.Component),Pt=it;function Ot(ae,ie){var le=ae.picker,Se=ae.locale,Ae=ae.selectedValue,$e=ae.disabledDate,_e=ae.disabled,yt=ae.generateConfig,At=rr(Ae,0),Wt=rr(Ae,1);function An(It){return yt.locale.getWeekFirstDate(Se.locale,It)}function $t(It){var un=yt.getYear(It),Zn=yt.getMonth(It);return un*100+Zn}function qt(It){var un=yt.getYear(It),Zn=Bn(yt,It);return un*10+Zn}var nn=ne.useCallback(function(It){if(_e[0]||$e&&$e(It))return!0;if(_e[1]&&Wt)return!On(yt,It,Wt)&&yt.isAfter(It,Wt);if(!ie&&Wt)switch(le){case"quarter":return qt(It)>qt(Wt);case"month":return $t(It)>$t(Wt);case"week":return An(It)>An(Wt);default:return!On(yt,It,Wt)&&yt.isAfter(It,Wt)}return!1},[$e,_e[1],Wt,ie]),cn=ne.useCallback(function(It){if(_e[1]||$e&&$e(It))return!0;if(_e[0]&&At)return!On(yt,It,Wt)&&yt.isAfter(At,It);if(!ie&&At)switch(le){case"quarter":return qt(It)<qt(At);case"month":return $t(It)<$t(At);case"week":return An(It)<An(At);default:return!On(yt,It,At)&&yt.isAfter(At,It)}return!1},[$e,_e[0],At,ie]);return[nn,cn]}function Mt(ae,ie,le,Se,Ae,$e,_e,yt,At,Wt){var An=ne.useState(!1),$t=(0,Ze.Z)(An,2),qt=$t[0],nn=$t[1],cn=(0,Vi.useMergedState)(ae||!1,{value:ie}),It=(0,Ze.Z)(cn,2),un=It[0],Zn=It[1],Ea=(0,Vi.useMergedState)(ae||!1,{value:ie,onChange:function(Dr){Wt==null||Wt(Dr)}}),Jn=(0,Ze.Z)(Ea,2),Yn=Jn[0],Ha=Jn[1],Kn=(0,Vi.useMergedState)(0,{value:le}),_n=(0,Ze.Z)(Kn,2),Sr=_n[0],Ya=_n[1],yr=ne.useState(null),ur=(0,Ze.Z)(yr,2),Gr=ur[0],Co=ur[1];ne.useEffect(function(){Yn&&nn(!0)},[Yn]);var Vo=function(Dr){return Dr===0?1:0},Ur=(0,nr.Z)(function($r,Dr,Yo){if(Dr===!1)Ha($r);else if($r){Ya(Dr),Ha($r);var ho=Vo(Dr);!Yn||![_e,yt][ho]?Co(ho):(nn(!1),Gr!==null&&Co(null))}else if(Yo==="confirm"||Yo==="blur"&&Se){var bo=un?Vo(Dr):Gr;bo!==null&&(nn(!1),Ya(bo)),Co(null),bo!==null&&!At[bo]?(0,In.Z)(function(){var Bi,zi=[Ae,$e][bo];(Bi=zi.current)===null||Bi===void 0||Bi.focus()}):Ha(!1)}else Ha(!1),Zn(!1)});return[Yn,Sr,qt,Ur]}function tn(ae,ie,le,Se){var Ae=Xe(ae,le,Se,1);function $e(_e){return _e(ae,ie)?"same":_e(Ae,ie)?"closing":"far"}switch(le){case"year":return $e(function(_e,yt){return dn(Se,_e,yt)});case"quarter":case"month":return $e(function(_e,yt){return Bt(Se,_e,yt)});default:return $e(function(_e,yt){return Xt(Se,_e,yt)})}}function Pn(ae,ie,le,Se){var Ae=rr(ae,0),$e=rr(ae,1);if(ie===0)return Ae;if(Ae&&$e){var _e=tn(Ae,$e,le,Se);switch(_e){case"same":return Ae;case"closing":return Ae;default:return Xe($e,le,Se,-1)}}return Ae}function sn(ae){var ie=ae.values,le=ae.picker,Se=ae.defaultDates,Ae=ae.generateConfig,$e=ne.useState(function(){return[rr(Se,0),rr(Se,1)]}),_e=(0,Ze.Z)($e,2),yt=_e[0],At=_e[1],Wt=ne.useState(null),An=(0,Ze.Z)(Wt,2),$t=An[0],qt=An[1],nn=rr(ie,0),cn=rr(ie,1);function It(Zn){return yt[Zn]?yt[Zn]:rr($t,Zn)||Pn(ie,Zn,le,Ae)||nn||cn||Ae.getNow()}function un(Zn,Ea){if(Zn){var Jn=qr($t,Zn,Ea);At(qr(yt,null,Ea)||[null,null]);var Yn=(Ea+1)%2;rr(ie,Yn)||(Jn=qr(Jn,Zn,Yn)),qt(Jn)}else(nn||cn)&&qt(null)}return[It,un]}function Un(ae,ie){return ae&&ae[0]&&ae[1]&&ie.isAfter(ae[0],ae[1])?[ae[1],ae[0]]:ae}function Vn(ae,ie,le,Se){return!!(ae||Se&&Se[ie]||le[(ie+1)%2])}function ta(ae){var ie,le,Se,Ae=ae,$e=Ae.prefixCls,_e=$e===void 0?"rc-picker":$e,yt=Ae.id,At=Ae.style,Wt=Ae.className,An=Ae.popupStyle,$t=Ae.dropdownClassName,qt=Ae.transitionName,nn=Ae.dropdownAlign,cn=Ae.getPopupContainer,It=Ae.generateConfig,un=Ae.locale,Zn=Ae.placeholder,Ea=Ae.autoFocus,Jn=Ae.disabled,Yn=Ae.format,Ha=Ae.picker,Kn=Ha===void 0?"date":Ha,_n=Ae.showTime,Sr=Ae.use12Hours,Ya=Ae.separator,yr=Ya===void 0?"~":Ya,ur=Ae.value,Gr=Ae.defaultValue,Co=Ae.defaultPickerValue,Vo=Ae.open,Ur=Ae.defaultOpen,$r=Ae.disabledDate,Dr=Ae.disabledTime,Yo=Ae.dateRender,ho=Ae.monthCellRender,bo=Ae.cellRender,Bi=Ae.panelRender,zi=Ae.presets,Xi=Ae.ranges,xl=Ae.allowEmpty,wi=Ae.allowClear,fl=Ae.suffixIcon,ni=Ae.clearIcon,ci=Ae.pickerRef,Li=Ae.inputReadOnly,ml=Ae.mode,yl=Ae.renderExtraFooter,Ul=Ae.onChange,Pl=Ae.onOpenChange,So=Ae.onPanelChange,Wi=Ae.onCalendarChange,pi=Ae.onFocus,_o=Ae.onBlur,Hr=Ae.onMouseDown,ei=Ae.onMouseUp,Ui=Ae.onMouseEnter,ql=Ae.onMouseLeave,pu=Ae.onClick,Hl=Ae.onOk,Yu=Ae.onKeyDown,rs=Ae.components,du=Ae.order,eu=Ae.direction,Vl=Ae.activePickerIndex,yo=Ae.autoComplete,Mi=yo===void 0?"off":yo,il=Ae.changeOnBlur,Yl=Kn==="date"&&!!_n||Kn==="time",$i=(0,ne.useRef)(null),tu=(0,ne.useRef)(null),Rl=(0,ne.useRef)(null),cu=(0,ne.useRef)(null),Su=(0,ne.useRef)(null),jl=(0,ne.useRef)(null),nu=(0,ne.useRef)(null),_l=(0,ne.useRef)(null),yu=ao(Aa(Yn,Kn,_n,Sr)),Ru=(0,ne.useRef)(null),Si=ne.useMemo(function(){return Array.isArray(Jn)?Jn:[Jn||!1,Jn||!1]},[Jn]),ii=(0,Dn.Z)(null,{value:ur,defaultValue:Gr,postState:function(ro){return Kn==="time"&&!du?ro:Un(ro,It)}}),Eu=(0,Ze.Z)(ii,2),xi=Eu[0],_u=Eu[1],ku=sn({values:xi,picker:Kn,defaultDates:Co,generateConfig:It}),Zu=(0,Ze.Z)(ku,2),xu=Zu[0],Xu=Zu[1],As=(0,Dn.Z)(xi,{postState:function(ro){var Go=ro;if(Si[0]&&Si[1])return Go;for(var rl=0;rl<2;rl+=1)Si[rl]&&!Go&&!rr(Go,rl)&&!rr(xl,rl)&&(Go=qr(Go,It.getNow(),rl));return Go}}),os=(0,Ze.Z)(As,2),ko=os[0],Lr=os[1],ti=(0,Dn.Z)([Kn,Kn],{value:ml}),ll=(0,Ze.Z)(ti,2),Au=ll[0],hs=ll[1];(0,ne.useEffect)(function(){hs([Kn,Kn])},[Kn]);var cs=function(ro,Go){hs(ro),So&&So(Go,ro)},Ms=Mt(Ur,Vo,Vl,il,jl,nu,rr(ko,0),rr(ko,1),Si,Pl),Fs=(0,Ze.Z)(Ms,4),Bl=Fs[0],Xo=Fs[1],Mu=Fs[2],Fu=Fs[3],Us=Bl&&Xo===0,hd=Bl&&Xo===1,ad=Ot({picker:Kn,selectedValue:ko,locale:un,disabled:Si,disabledDate:$r,generateConfig:It},!Bl||Mu),Vs=(0,Ze.Z)(ad,2),gs=Vs[0],Ys=Vs[1],pd=(0,ne.useState)(0),ps=(0,Ze.Z)(pd,2),El=ps[0],fo=ps[1];(0,ne.useEffect)(function(){!Bl&&$i.current&&fo($i.current.offsetWidth)},[Bl]);function ou(el){Fu(!0,el,"open"),(0,In.Z)(function(){var ro,Go=[jl,nu][el];(ro=Go.current)===null||ro===void 0||ro.focus()},0)}function iu(el,ro){var Go=el,rl=rr(Go,0),au=rr(Go,1);rl&&au&&It.isAfter(rl,au)&&(Kn==="week"&&!Je(It,un.locale,rl,au)||Kn==="quarter"&&!Yt(It,rl,au)||Kn!=="week"&&Kn!=="quarter"&&Kn!=="time"&&!On(It,rl,au)?ro===0?(Go=[rl,null],au=null):(rl=null,Go=[null,au]):(Kn!=="time"||du!==!1)&&(Go=Un(Go,It))),Lr(Go);var Md=Go&&Go[0]?Zt(Go[0],{generateConfig:It,locale:un,format:yu[0]}):"",Bs=Go&&Go[1]?Zt(Go[1],{generateConfig:It,locale:un,format:yu[0]}):"";if(Wi){var cd={range:ro===0?"start":"end"};Wi(Go,[Md,Bs],cd)}var gd=Vn(rl,0,Si,xl),kd=Vn(au,1,Si,xl),Cd=Go===null||gd&&kd;Cd&&(_u(Go),Ul&&(!He(It,rr(xi,0),rl)||!He(It,rr(xi,1),au))&&Ul(Go,[Md,Bs]))}var Ns=function(ro){return Bl&&Ru.current&&Ru.current.onKeyDown?Ru.current.onKeyDown(ro):((0,he.ZP)(!1,"Picker not correct forward KeyDown operation. Please help to fire issue about this."),!1)},Os={formatList:yu,generateConfig:It,locale:un},rd=bt(rr(ko,0),Os),_s=(0,Ze.Z)(rd,2),is=_s[0],Nd=_s[1],bd=bt(rr(ko,1),Os),wd=(0,Ze.Z)(bd,2),Xs=wd[0],Od=wd[1],xd=function(ro,Go){var rl=ot(ro,{locale:un,formatList:yu,generateConfig:It}),au=Go===0?gs:Ys;rl&&!au(rl)&&(Lr(qr(ko,rl,Go)),Xu(rl,Go))},Id=wt({valueTexts:is,onTextChange:function(ro){return xd(ro,0)}}),od=(0,Ze.Z)(Id,3),id=od[0],Ad=od[1],Sd=od[2],Td=wt({valueTexts:Xs,onTextChange:function(ro){return xd(ro,1)}}),yd=(0,Ze.Z)(Td,3),ju=yd[0],Ss=yd[1],Pd=yd[2],$s=(0,ne.useState)(null),Ds=(0,Ze.Z)($s,2),Ed=Ds[0],ld=Ds[1],Fd=(0,ne.useState)(null),Dd=(0,Ze.Z)(Fd,2),Is=Dd[0],Bd=Dd[1],Rd=Ut(id,{formatList:yu,generateConfig:It,locale:un}),so=(0,Ze.Z)(Rd,3),Ci=so[0],lu=so[1],gu=so[2],uu=Ut(ju,{formatList:yu,generateConfig:It,locale:un}),ud=(0,Ze.Z)(uu,3),Ld=ud[0],Zd=ud[1],sd=ud[2],gc=function(ro){Bd(qr(ko,ro,Xo)),Xo===0?lu(ro):Zd(ro)},fc=function(){Bd(qr(ko,null,Xo)),Xo===0?gu():sd()},mc=ne.useState(Bl),Vd=(0,Ze.Z)(mc,2),vc=Vd[0],hc=Vd[1];ne.useEffect(function(){hc(Bl)},[Bl]);var pc=function(ro){if(il&&vc){var Go=rr(ko,Xo);Go&&iu(ko,Xo)}return _o==null?void 0:_o(ro)},Yd=function(ro,Go){return{blurToCancel:!il&&Yl,forwardKeyDown:Ns,onBlur:pc,isClickOutside:function(au){return!_a([tu.current,Rl.current,cu.current,$i.current],au)},onFocus:function(au){pi&&pi(au)},triggerOpen:function(au){au?Fu(au,ro,"open"):Fu(au,rr(ko,ro)?ro:!1,"blur")},onSubmit:function(){if(!ko||$r&&$r(ko[ro]))return!1;iu(ko,ro),Go(),Fu(!1,Xo,"confirm")},onCancel:function(){Fu(!1,ro,"cancel"),Lr(xi),Go()}}},_d={onKeyDown:function(ro,Go){Yu==null||Yu(ro,Go)},changeOnBlur:il},Sc=Qr((0,kt.Z)((0,kt.Z)({},Yd(0,Sd)),{},{open:Us,value:id},_d)),Xd=(0,Ze.Z)(Sc,2),yc=Xd[0],$d=Xd[1],Qd=$d.focused,Jd=$d.typing,Pc=Qr((0,kt.Z)((0,kt.Z)({},Yd(1,Pd)),{},{open:hd,value:ju},_d)),qd=(0,Ze.Z)(Pc,2),Ec=qd[0],ec=qd[1],tc=ec.focused,nc=ec.typing,Cc=function(ro){pu&&pu(ro),!Bl&&!jl.current.contains(ro.target)&&!nu.current.contains(ro.target)&&(Si[0]?Si[1]||ou(1):ou(0))},bc=function(ro){Hr&&Hr(ro),Bl&&(Qd||tc)&&!jl.current.contains(ro.target)&&!nu.current.contains(ro.target)&&ro.preventDefault()},wc=xi&&xi[0]?Zt(xi[0],{locale:un,format:"YYYYMMDDHHmmss",generateConfig:It}):"",xc=xi&&xi[1]?Zt(xi[1],{locale:un,format:"YYYYMMDDHHmmss",generateConfig:It}):"";(0,ne.useEffect)(function(){Bl||(Lr(xi),!is.length||is[0]===""?Ad(""):Nd!==id&&Sd(),!Xs.length||Xs[0]===""?Ss(""):Od!==ju&&Pd())},[Bl,is,Xs]),(0,ne.useEffect)(function(){Lr(xi)},[wc,xc]);var Hd=Qt({cellRender:bo,monthCellRender:ho,dateRender:Yo}),Ac=ne.useMemo(function(){if(Hd)return function(el,ro){return Hd(el,(0,kt.Z)((0,kt.Z)({},ro),{},{range:Xo?"end":"start"}))}},[Xo,Hd]);ci&&(ci.current={focus:function(){jl.current&&jl.current.focus()},blur:function(){jl.current&&jl.current.blur(),nu.current&&nu.current.blur()}});var Fc=wo(zi,Xi);function jd(){var el=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1,ro=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},Go=null;Bl&&Is&&Is[0]&&Is[1]&&It.isAfter(Is[1],Is[0])&&(Go=Is);var rl=_n;if(_n&&(0,qn.Z)(_n)==="object"&&_n.defaultValue){var au=_n.defaultValue;rl=(0,kt.Z)((0,kt.Z)({},_n),{},{defaultValue:rr(au,Xo)||void 0})}return ne.createElement(ft.Provider,{value:{inRange:!0,panelPosition:el,rangedValue:Ed||ko,hoverRangedValue:Go}},ne.createElement(oo,(0,oe.Z)({},ae,ro,{cellRender:Ac,showTime:rl,mode:Au[Xo],generateConfig:It,style:void 0,direction:eu,disabledDate:Xo===0?gs:Ys,disabledTime:function(Bs){return Dr?Dr(Bs,Xo===0?"start":"end"):!1},className:Gt()((0,dt.Z)({},"".concat(_e,"-panel-focused"),Xo===0?!Jd:!nc)),value:rr(ko,Xo),locale:un,tabIndex:-1,onPanelChange:function(Bs,cd){Xo===0&&gu(!0),Xo===1&&sd(!0),cs(qr(Au,cd,Xo),qr(ko,Bs,Xo));var gd=Bs;el==="right"&&Au[Xo]===cd&&(gd=Xe(gd,cd,It,-1)),Xu(gd,Xo)},onOk:null,onSelect:void 0,onChange:void 0,defaultValue:Xo===0?rr(ko,1):rr(ko,0)})))}var dd=0,ac=0;if(Xo&&Rl.current&&Su.current&&tu.current&&_l.current){dd=Rl.current.offsetWidth+Su.current.offsetWidth;var Dc=_l.current.offsetLeft>dd?_l.current.offsetLeft-dd:_l.current.offsetLeft,rc=tu.current.offsetWidth,oc=_l.current.offsetWidth;rc&&oc&&dd>rc-oc-(eu==="rtl"?0:Dc)&&(ac=dd)}var Bc=eu==="rtl"?{right:dd}:{left:dd};function Lc(){var el,ro=za(_e,Au[Xo],yl),Go=Na({prefixCls:_e,components:rs,needConfirmButton:Yl,okDisabled:!rr(ko,Xo)||$r&&$r(ko[Xo]),locale:un,onOk:function(){var Ls=rr(ko,Xo);Ls&&(iu(ko,Xo),Hl==null||Hl(ko),Fu(!1,Xo,"confirm"))}});if(Kn!=="time"&&!_n){var rl=xu(Xo),au=Xe(rl,Kn,It),Md=Au[Xo],Bs=Md===Kn,cd=jd(Bs?"left":!1,{pickerValue:rl,onPickerValueChange:function(Ls){Xu(Ls,Xo)}}),gd=jd("right",{pickerValue:au,onPickerValueChange:function(Ls){Xu(Xe(Ls,Kn,It,-1),Xo)}});eu==="rtl"?el=ne.createElement(ne.Fragment,null,gd,Bs&&cd):el=ne.createElement(ne.Fragment,null,cd,Bs&&gd)}else el=jd();var kd=ne.createElement("div",{className:"".concat(_e,"-panel-layout")},ne.createElement(me,{prefixCls:_e,presets:Fc,onClick:function(Ls){iu(Ls,null),Fu(!1,Xo,"preset")},onHover:function(Ls){ld(Ls)}}),ne.createElement("div",null,ne.createElement("div",{className:"".concat(_e,"-panels")},el),(ro||Go)&&ne.createElement("div",{className:"".concat(_e,"-footer")},ro,Go)));return Bi&&(kd=Bi(kd)),ne.createElement("div",{className:"".concat(_e,"-panel-container"),style:{marginLeft:ac},ref:tu,onMouseDown:function(Ls){Ls.preventDefault()}},kd)}var Mc=ne.createElement("div",{className:Gt()("".concat(_e,"-range-wrapper"),"".concat(_e,"-").concat(Kn,"-range-wrapper")),style:{minWidth:El}},ne.createElement("div",{ref:_l,className:"".concat(_e,"-range-arrow"),style:Bc}),Lc()),ic;fl&&(ic=ne.createElement("span",{className:"".concat(_e,"-suffix"),onMouseDown:function(ro){ro.preventDefault()}},fl));var Nc=We(_e,wi,ni),Oc=ne.createElement("span",{onMouseDown:function(ro){ro.preventDefault(),ro.stopPropagation()},onMouseUp:function(ro){ro.preventDefault(),ro.stopPropagation();var Go=xi;Si[0]||(Go=qr(Go,null,0)),Si[1]||(Go=qr(Go,null,1)),iu(Go,null),Fu(!1,Xo,"clear")},className:"".concat(_e,"-clear"),role:"button"},Nc),Ic=wi&&(rr(xi,0)&&!Si[0]||rr(xi,1)&&!Si[1]),lc={size:jn(Kn,yu[0],It)},Kd=0,Gd=0;Rl.current&&cu.current&&Su.current&&(Xo===0?Gd=Rl.current.offsetWidth:(Kd=dd,Gd=cu.current.offsetWidth));var Tc=eu==="rtl"?{right:Kd}:{left:Kd},Rc=function(ro,Go){var rl=qr(ko,ro,Xo);if(Go==="submit"||Go!=="key"&&!Yl){iu(rl,Xo),Xo===0?gu():sd();var au=Xo===0?1:0;Si[au]?Fu(!1,!1,"confirm"):Fu(!1,Xo,"confirm")}else Lr(rl)};return ne.createElement(Ct.Provider,{value:{operationRef:Ru,hideHeader:Kn==="time",onDateMouseEnter:gc,onDateMouseLeave:fc,hideRanges:!0,onSelect:Rc,open:Bl}},ne.createElement(ce,{visible:Bl,popupElement:Mc,popupStyle:An,prefixCls:_e,dropdownClassName:$t,dropdownAlign:nn,getPopupContainer:cn,transitionName:qt,range:!0,direction:eu},ne.createElement("div",(0,oe.Z)({ref:$i,className:Gt()(_e,"".concat(_e,"-range"),Wt,(ie={},(0,dt.Z)(ie,"".concat(_e,"-disabled"),Si[0]&&Si[1]),(0,dt.Z)(ie,"".concat(_e,"-focused"),Xo===0?Qd:tc),(0,dt.Z)(ie,"".concat(_e,"-rtl"),eu==="rtl"),ie)),style:At,onClick:Cc,onMouseEnter:Ui,onMouseLeave:ql,onMouseDown:bc,onMouseUp:ei},(0,zn.Z)(ae,{aria:!0,data:!0})),ne.createElement("div",{className:Gt()("".concat(_e,"-input"),(le={},(0,dt.Z)(le,"".concat(_e,"-input-active"),Xo===0),(0,dt.Z)(le,"".concat(_e,"-input-placeholder"),!!Ci),le)),ref:Rl},ne.createElement("input",(0,oe.Z)({id:yt,disabled:Si[0],readOnly:Li||typeof yu[0]=="function"||!Jd,value:Ci||id,onChange:function(ro){Ad(ro.target.value)},autoFocus:Ea,placeholder:rr(Zn,0)||"",ref:jl},yc,lc,{autoComplete:Mi}))),ne.createElement("div",{className:"".concat(_e,"-range-separator"),ref:Su},yr),ne.createElement("div",{className:Gt()("".concat(_e,"-input"),(Se={},(0,dt.Z)(Se,"".concat(_e,"-input-active"),Xo===1),(0,dt.Z)(Se,"".concat(_e,"-input-placeholder"),!!Ld),Se)),ref:cu},ne.createElement("input",(0,oe.Z)({disabled:Si[1],readOnly:Li||typeof yu[0]=="function"||!nc,value:Ld||ju,onChange:function(ro){Ss(ro.target.value)},placeholder:rr(Zn,1)||"",ref:nu},Ec,lc,{autoComplete:Mi}))),ne.createElement("div",{className:"".concat(_e,"-active-bar"),style:(0,kt.Z)((0,kt.Z)({},Tc),{},{width:Gd,position:"absolute"})}),ic,Ic&&Oc)))}var Ra=function(ae){(0,Lt.Z)(le,ae);var ie=(0,zt.Z)(le);function le(){var Se;(0,yn.Z)(this,le);for(var Ae=arguments.length,$e=new Array(Ae),_e=0;_e<Ae;_e++)$e[_e]=arguments[_e];return Se=ie.call.apply(ie,[this].concat($e)),(0,dt.Z)((0,ht.Z)(Se),"pickerRef",ne.createRef()),(0,dt.Z)((0,ht.Z)(Se),"focus",function(){Se.pickerRef.current&&Se.pickerRef.current.focus()}),(0,dt.Z)((0,ht.Z)(Se),"blur",function(){Se.pickerRef.current&&Se.pickerRef.current.blur()}),Se}return(0,lt.Z)(le,[{key:"render",value:function(){return ne.createElement(ta,(0,oe.Z)({},this.props,{pickerRef:this.pickerRef}))}}]),le}(ne.Component),wa=Ra,Ka=Pt,Ba=z(9708),qa=z(53124),Fr=z(98866),Zr=z(98675),Cr=z(65223),uo=z(10110),Ao=z(4173),fr=z(16516),Pr=z(84780),or=z(47673),$a=z(14747),Er=z(79511),Tr=z(80110),co=z(67771),Eo=z(33297),Ir=z(45503),Io=z(67968);const jo=(ae,ie,le,Se)=>{const{lineHeight:Ae}=ae,$e=Math.floor(le*Ae)+2,_e=Math.max((ie-$e)/2,0),yt=Math.max(ie-$e-_e,0);return{padding:`${_e}px ${Se}px ${yt}px`}},Di=ae=>{const{componentCls:ie,pickerCellCls:le,pickerCellInnerCls:Se,cellHeight:Ae,motionDurationSlow:$e,borderRadiusSM:_e,motionDurationMid:yt,cellHoverBg:At,lineWidth:Wt,lineType:An,colorPrimary:$t,cellActiveWithRangeBg:qt,colorTextLightSolid:nn,controlHeightSM:cn,cellRangeBorderColor:It,pickerCellBorderGap:un,cellHoverWithRangeBg:Zn,cellWidth:Ea,colorTextDisabled:Jn,cellBgDisabled:Yn}=ae;return{"&::before":{position:"absolute",top:"50%",insetInlineStart:0,insetInlineEnd:0,zIndex:1,height:Ae,transform:"translateY(-50%)",transition:`all ${$e}`,content:'""'},[Se]:{position:"relative",zIndex:2,display:"inline-block",minWidth:Ae,height:Ae,lineHeight:`${Ae}px`,borderRadius:_e,transition:`background ${yt}, border ${yt}`},"&-range-hover-start, &-range-hover-end":{[Se]:{borderStartEndRadius:0,borderEndEndRadius:0}},[`&:hover:not(${le}-in-view),
|
|
&:hover:not(${le}-selected):not(${le}-range-start):not(${le}-range-end):not(${le}-range-hover-start):not(${le}-range-hover-end)`]:{[Se]:{background:At}},[`&-in-view${le}-today ${Se}`]:{"&::before":{position:"absolute",top:0,insetInlineEnd:0,bottom:0,insetInlineStart:0,zIndex:1,border:`${Wt}px ${An} ${$t}`,borderRadius:_e,content:'""'}},[`&-in-view${le}-in-range`]:{position:"relative","&::before":{background:qt}},[`&-in-view${le}-selected ${Se},
|
|
&-in-view${le}-range-start ${Se},
|
|
&-in-view${le}-range-end ${Se}`]:{color:nn,background:$t},[`&-in-view${le}-range-start:not(${le}-range-start-single),
|
|
&-in-view${le}-range-end:not(${le}-range-end-single)`]:{"&::before":{background:qt}},[`&-in-view${le}-range-start::before`]:{insetInlineStart:"50%"},[`&-in-view${le}-range-end::before`]:{insetInlineEnd:"50%"},[`&-in-view${le}-range-hover-start:not(${le}-in-range):not(${le}-range-start):not(${le}-range-end),
|
|
&-in-view${le}-range-hover-end:not(${le}-in-range):not(${le}-range-start):not(${le}-range-end),
|
|
&-in-view${le}-range-hover-start${le}-range-start-single,
|
|
&-in-view${le}-range-hover-start${le}-range-start${le}-range-end${le}-range-end-near-hover,
|
|
&-in-view${le}-range-hover-end${le}-range-start${le}-range-end${le}-range-start-near-hover,
|
|
&-in-view${le}-range-hover-end${le}-range-end-single,
|
|
&-in-view${le}-range-hover:not(${le}-in-range)`]:{"&::after":{position:"absolute",top:"50%",zIndex:0,height:cn,borderTop:`${Wt}px dashed ${It}`,borderBottom:`${Wt}px dashed ${It}`,transform:"translateY(-50%)",transition:`all ${$e}`,content:'""'}},"&-range-hover-start::after,\n &-range-hover-end::after,\n &-range-hover::after":{insetInlineEnd:0,insetInlineStart:un},[`&-in-view${le}-in-range${le}-range-hover::before,
|
|
&-in-view${le}-in-range${le}-range-hover-start::before,
|
|
&-in-view${le}-in-range${le}-range-hover-end::before,
|
|
&-in-view${le}-range-start${le}-range-hover::before,
|
|
&-in-view${le}-range-end${le}-range-hover::before,
|
|
&-in-view${le}-range-start:not(${le}-range-start-single)${le}-range-hover-start::before,
|
|
&-in-view${le}-range-end:not(${le}-range-end-single)${le}-range-hover-end::before,
|
|
${ie}-panel
|
|
> :not(${ie}-date-panel)
|
|
&-in-view${le}-in-range${le}-range-hover-start::before,
|
|
${ie}-panel
|
|
> :not(${ie}-date-panel)
|
|
&-in-view${le}-in-range${le}-range-hover-end::before`]:{background:Zn},[`&-in-view${le}-range-start:not(${le}-range-start-single):not(${le}-range-end) ${Se}`]:{borderStartStartRadius:_e,borderEndStartRadius:_e,borderStartEndRadius:0,borderEndEndRadius:0},[`&-in-view${le}-range-end:not(${le}-range-end-single):not(${le}-range-start) ${Se}`]:{borderStartStartRadius:0,borderEndStartRadius:0,borderStartEndRadius:_e,borderEndEndRadius:_e},[`&-range-hover${le}-range-end::after`]:{insetInlineStart:"50%"},[`tr > &-in-view${le}-range-hover:first-child::after,
|
|
tr > &-in-view${le}-range-hover-end:first-child::after,
|
|
&-in-view${le}-start${le}-range-hover-edge-start${le}-range-hover-edge-start-near-range::after,
|
|
&-in-view${le}-range-hover-edge-start:not(${le}-range-hover-edge-start-near-range)::after,
|
|
&-in-view${le}-range-hover-start::after`]:{insetInlineStart:(Ea-Ae)/2,borderInlineStart:`${Wt}px dashed ${It}`,borderStartStartRadius:_e,borderEndStartRadius:_e},[`tr > &-in-view${le}-range-hover:last-child::after,
|
|
tr > &-in-view${le}-range-hover-start:last-child::after,
|
|
&-in-view${le}-end${le}-range-hover-edge-end${le}-range-hover-edge-end-near-range::after,
|
|
&-in-view${le}-range-hover-edge-end:not(${le}-range-hover-edge-end-near-range)::after,
|
|
&-in-view${le}-range-hover-end::after`]:{insetInlineEnd:(Ea-Ae)/2,borderInlineEnd:`${Wt}px dashed ${It}`,borderStartEndRadius:_e,borderEndEndRadius:_e},"&-disabled":{color:Jn,pointerEvents:"none",[Se]:{background:"transparent"},"&::before":{background:Yn}},[`&-disabled${le}-today ${Se}::before`]:{borderColor:Jn}}},di=ae=>{const{componentCls:ie,pickerCellCls:le,pickerCellInnerCls:Se,pickerYearMonthCellWidth:Ae,pickerControlIconSize:$e,cellWidth:_e,paddingSM:yt,paddingXS:At,paddingXXS:Wt,colorBgContainer:An,lineWidth:$t,lineType:qt,borderRadiusLG:nn,colorPrimary:cn,colorTextHeading:It,colorSplit:un,pickerControlIconBorderWidth:Zn,colorIcon:Ea,textHeight:Jn,motionDurationMid:Yn,colorIconHover:Ha,fontWeightStrong:Kn,cellHeight:_n,pickerCellPaddingVertical:Sr,colorTextDisabled:Ya,colorText:yr,fontSize:ur,cellHoverWithRangeBg:Gr,motionDurationSlow:Co,withoutTimeCellHeight:Vo,pickerQuarterPanelContentHeight:Ur,colorLink:$r,colorLinkActive:Dr,colorLinkHover:Yo,cellRangeBorderColor:ho,borderRadiusSM:bo,colorTextLightSolid:Bi,cellHoverBg:zi,timeColumnHeight:Xi,timeColumnWidth:xl,timeCellHeight:wi,controlItemBgActive:fl,marginXXS:ni,pickerDatePanelPaddingHorizontal:ci}=ae,Li=_e*7+ci*2,ml=(Li-At*2)/3-Ae-yt,yl=(Li-At*2)/4-Ae;return{[ie]:{"&-panel":{display:"inline-flex",flexDirection:"column",textAlign:"center",background:An,border:`${$t}px ${qt} ${un}`,borderRadius:nn,outline:"none","&-focused":{borderColor:cn},"&-rtl":{direction:"rtl",[`${ie}-prev-icon,
|
|
${ie}-super-prev-icon`]:{transform:"rotate(45deg)"},[`${ie}-next-icon,
|
|
${ie}-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:Li},"&-header":{display:"flex",padding:`0 ${At}px`,color:It,borderBottom:`${$t}px ${qt} ${un}`,"> *":{flex:"none"},button:{padding:0,color:Ea,lineHeight:`${Jn}px`,background:"transparent",border:0,cursor:"pointer",transition:`color ${Yn}`,fontSize:"inherit"},"> button":{minWidth:"1.6em",fontSize:ur,"&:hover":{color:Ha}},"&-view":{flex:"auto",fontWeight:Kn,lineHeight:`${Jn}px`,button:{color:"inherit",fontWeight:"inherit",verticalAlign:"top","&:not(:first-child)":{marginInlineStart:At},"&:hover":{color:cn}}}},"&-prev-icon,\n &-next-icon,\n &-super-prev-icon,\n &-super-next-icon":{position:"relative",display:"inline-block",width:$e,height:$e,"&::before":{position:"absolute",top:0,insetInlineStart:0,display:"inline-block",width:$e,height:$e,border:"0 solid currentcolor",borderBlockStartWidth:Zn,borderBlockEndWidth:0,borderInlineStartWidth:Zn,borderInlineEndWidth:0,content:'""'}},"&-super-prev-icon,\n &-super-next-icon":{"&::after":{position:"absolute",top:Math.ceil($e/2),insetInlineStart:Math.ceil($e/2),display:"inline-block",width:$e,height:$e,border:"0 solid currentcolor",borderBlockStartWidth:Zn,borderBlockEndWidth:0,borderInlineStartWidth:Zn,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:_n,fontWeight:"normal"},th:{height:_n+Sr*2,color:yr,verticalAlign:"middle"}},"&-cell":Object.assign({padding:`${Sr}px 0`,color:Ya,cursor:"pointer","&-in-view":{color:yr}},Di(ae)),[`&-date-panel ${ie}-cell-in-view${ie}-cell-in-range${ie}-cell-range-hover-start ${Se},
|
|
&-date-panel ${ie}-cell-in-view${ie}-cell-in-range${ie}-cell-range-hover-end ${Se}`]:{"&::after":{position:"absolute",top:0,bottom:0,zIndex:-1,background:Gr,transition:`all ${Co}`,content:'""'}},[`&-date-panel
|
|
${ie}-cell-in-view${ie}-cell-in-range${ie}-cell-range-hover-start
|
|
${Se}::after`]:{insetInlineEnd:-(_e-_n)/2,insetInlineStart:0},[`&-date-panel ${ie}-cell-in-view${ie}-cell-in-range${ie}-cell-range-hover-end ${Se}::after`]:{insetInlineEnd:0,insetInlineStart:-(_e-_n)/2},[`&-range-hover${ie}-range-start::after`]:{insetInlineEnd:"50%"},"&-decade-panel,\n &-year-panel,\n &-quarter-panel,\n &-month-panel":{[`${ie}-content`]:{height:Vo*4},[Se]:{padding:`0 ${At}px`}},"&-quarter-panel":{[`${ie}-content`]:{height:Ur},[`${ie}-cell-range-hover-start::after`]:{insetInlineStart:yl,borderInlineStart:`${$t}px dashed ${ho}`,[`${ie}-panel-rtl &`]:{insetInlineEnd:yl,borderInlineEnd:`${$t}px dashed ${ho}`}},[`${ie}-cell-range-hover-end::after`]:{insetInlineEnd:yl,borderInlineEnd:`${$t}px dashed ${ho}`,[`${ie}-panel-rtl &`]:{insetInlineStart:yl,borderInlineStart:`${$t}px dashed ${ho}`}}},[`&-panel ${ie}-footer`]:{borderTop:`${$t}px ${qt} ${un}`},"&-footer":{width:"min-content",minWidth:"100%",lineHeight:`${Jn-2*$t}px`,textAlign:"center","&-extra":{padding:`0 ${yt}px`,lineHeight:`${Jn-2*$t}px`,textAlign:"start","&:not(:last-child)":{borderBottom:`${$t}px ${qt} ${un}`}}},"&-now":{textAlign:"start"},"&-today-btn":{color:$r,"&:hover":{color:Yo},"&:active":{color:Dr},[`&${ie}-today-btn-disabled`]:{color:Ya,cursor:"not-allowed"}},"&-decade-panel":{[Se]:{padding:`0 ${At/2}px`},[`${ie}-cell::before`]:{display:"none"}},"&-year-panel,\n &-quarter-panel,\n &-month-panel":{[`${ie}-body`]:{padding:`0 ${At}px`},[Se]:{width:Ae},[`${ie}-cell-range-hover-start::after`]:{borderStartStartRadius:bo,borderEndStartRadius:bo,borderStartEndRadius:0,borderEndEndRadius:0,[`${ie}-panel-rtl &`]:{borderStartStartRadius:0,borderEndStartRadius:0,borderStartEndRadius:bo,borderEndEndRadius:bo}},[`${ie}-cell-range-hover-end::after`]:{borderStartStartRadius:0,borderEndStartRadius:0,borderStartEndRadius:bo,borderEndEndRadius:bo,[`${ie}-panel-rtl &`]:{borderStartStartRadius:bo,borderEndStartRadius:bo,borderStartEndRadius:0,borderEndEndRadius:0}}},"&-year-panel,\n &-month-panel":{[`${ie}-cell-range-hover-start::after`]:{insetInlineStart:ml,borderInlineStart:`${$t}px dashed ${ho}`,[`${ie}-panel-rtl &`]:{insetInlineEnd:ml,borderInlineEnd:`${$t}px dashed ${ho}`}},[`${ie}-cell-range-hover-end::after`]:{insetInlineEnd:ml,borderInlineEnd:`${$t}px dashed ${ho}`,[`${ie}-panel-rtl &`]:{insetInlineStart:ml,borderInlineStart:`${$t}px dashed ${ho}`}}},"&-week-panel":{[`${ie}-body`]:{padding:`${At}px ${yt}px`},[`${ie}-cell`]:{[`&:hover ${Se},
|
|
&-selected ${Se},
|
|
${Se}`]:{background:"transparent !important"}},"&-row":{td:{"&:before":{transition:`background ${Yn}`},"&:first-child:before":{borderStartStartRadius:bo,borderEndStartRadius:bo},"&:last-child:before":{borderStartEndRadius:bo,borderEndEndRadius:bo}},"&:hover td":{"&:before":{background:zi}},"&-range-start td,\n &-range-end td,\n &-selected td":{[`&${le}`]:{"&:before":{background:cn},[`&${ie}-cell-week`]:{color:new Pr.C(Bi).setAlpha(.5).toHexString()},[Se]:{color:Bi}}},"&-range-hover td:before":{background:fl}}},"&-date-panel":{[`${ie}-body`]:{padding:`${At}px ${ci}px`},[`${ie}-content`]:{width:_e*7,th:{width:_e,boxSizing:"border-box",padding:0}}},"&-datetime-panel":{display:"flex",[`${ie}-time-panel`]:{borderInlineStart:`${$t}px ${qt} ${un}`},[`${ie}-date-panel,
|
|
${ie}-time-panel`]:{transition:`opacity ${Co}`},"&-active":{[`${ie}-date-panel,
|
|
${ie}-time-panel`]:{opacity:.3,"&-active":{opacity:1}}}},"&-time-panel":{width:"auto",minWidth:"auto",direction:"ltr",[`${ie}-content`]:{display:"flex",flex:"auto",height:Xi},"&-column":{flex:"1 0 auto",width:xl,margin:`${Wt}px 0`,padding:0,overflowY:"hidden",textAlign:"start",listStyle:"none",transition:`background ${Yn}`,overflowX:"hidden","&::after":{display:"block",height:Xi-wi,content:'""'},"&:not(:first-child)":{borderInlineStart:`${$t}px ${qt} ${un}`},"&-active":{background:new Pr.C(fl).setAlpha(.2).toHexString()},"&:hover":{overflowY:"auto"},"> li":{margin:0,padding:0,[`&${ie}-time-panel-cell`]:{marginInline:ni,[`${ie}-time-panel-cell-inner`]:{display:"block",width:xl-2*ni,height:wi,margin:0,paddingBlock:0,paddingInlineEnd:0,paddingInlineStart:(xl-wi)/2,color:yr,lineHeight:`${wi}px`,borderRadius:bo,cursor:"pointer",transition:`background ${Yn}`,"&:hover":{background:zi}},"&-selected":{[`${ie}-time-panel-cell-inner`]:{background:fl}},"&-disabled":{[`${ie}-time-panel-cell-inner`]:{color:Ya,background:"transparent",cursor:"not-allowed"}}}}}},[`&-datetime-panel ${ie}-time-panel-column:after`]:{height:Xi-wi+Wt*2}}}},pl=ae=>{const{componentCls:ie,colorBgContainer:le,colorError:Se,errorActiveShadow:Ae,colorWarning:$e,warningActiveShadow:_e}=ae;return{[`${ie}:not(${ie}-disabled)`]:{[`&${ie}-status-error`]:{"&, &:not([disabled]):hover":{backgroundColor:le,borderColor:Se},[`&${ie}-focused, &:focus`]:Object.assign({},(0,or.M1)((0,Ir.TS)(ae,{activeBorderColor:Se,activeShadow:Ae}))),[`${ie}-active-bar`]:{background:Se}},[`&${ie}-status-warning`]:{"&, &:not([disabled]):hover":{backgroundColor:le,borderColor:$e},[`&${ie}-focused, &:focus`]:Object.assign({},(0,or.M1)((0,Ir.TS)(ae,{activeBorderColor:$e,activeShadow:_e}))),[`${ie}-active-bar`]:{background:$e}}}}},Sl=ae=>{const{componentCls:ie,antCls:le,controlHeight:Se,fontSize:Ae,paddingInline:$e,colorBgContainer:_e,lineWidth:yt,lineType:At,colorBorder:Wt,borderRadius:An,motionDurationMid:$t,colorBgContainerDisabled:qt,colorTextDisabled:nn,colorTextPlaceholder:cn,controlHeightLG:It,fontSizeLG:un,controlHeightSM:Zn,paddingInlineSM:Ea,paddingXS:Jn,marginXS:Yn,colorTextDescription:Ha,lineWidthBold:Kn,lineHeight:_n,colorPrimary:Sr,motionDurationSlow:Ya,zIndexPopup:yr,paddingXXS:ur,paddingSM:Gr,textHeight:Co,cellActiveWithRangeBg:Vo,colorPrimaryBorder:Ur,sizePopupArrow:$r,borderRadiusXS:Dr,borderRadiusOuter:Yo,colorBgElevated:ho,borderRadiusLG:bo,boxShadowSecondary:Bi,borderRadiusSM:zi,colorSplit:Xi,cellHoverBg:xl,presetsWidth:wi,presetsMaxWidth:fl,boxShadowPopoverArrow:ni,colorTextQuaternary:ci}=ae;return[{[ie]:Object.assign(Object.assign(Object.assign({},(0,$a.Wf)(ae)),jo(ae,Se,Ae,$e)),{position:"relative",display:"inline-flex",alignItems:"center",background:_e,lineHeight:1,border:`${yt}px ${At} ${Wt}`,borderRadius:An,transition:`border ${$t}, box-shadow ${$t}`,"&:hover, &-focused":Object.assign({},(0,or.pU)(ae)),"&-focused":Object.assign({},(0,or.M1)(ae)),[`&${ie}-disabled`]:{background:qt,borderColor:Wt,cursor:"not-allowed",[`${ie}-suffix`]:{color:ci}},[`&${ie}-borderless`]:{backgroundColor:"transparent !important",borderColor:"transparent !important",boxShadow:"none !important"},[`${ie}-input`]:{position:"relative",display:"inline-flex",alignItems:"center",width:"100%","> input":Object.assign(Object.assign({},(0,or.ik)(ae)),{flex:"auto",minWidth:1,height:"auto",padding:0,background:"transparent",border:0,borderRadius:0,"&:focus":{boxShadow:"none"},"&[disabled]":{background:"transparent"}}),"&:hover":{[`${ie}-clear`]:{opacity:1}},"&-placeholder":{"> input":{color:cn}}},"&-large":Object.assign(Object.assign({},jo(ae,It,un,$e)),{[`${ie}-input > input`]:{fontSize:un}}),"&-small":Object.assign({},jo(ae,Zn,Ae,Ea)),[`${ie}-suffix`]:{display:"flex",flex:"none",alignSelf:"center",marginInlineStart:Jn/2,color:nn,lineHeight:1,pointerEvents:"none","> *":{verticalAlign:"top","&:not(:last-child)":{marginInlineEnd:Yn}}},[`${ie}-clear`]:{position:"absolute",top:"50%",insetInlineEnd:0,color:nn,lineHeight:1,background:_e,transform:"translateY(-50%)",cursor:"pointer",opacity:0,transition:`opacity ${$t}, color ${$t}`,"> *":{verticalAlign:"top"},"&:hover":{color:Ha}},[`${ie}-separator`]:{position:"relative",display:"inline-block",width:"1em",height:un,color:nn,fontSize:un,verticalAlign:"top",cursor:"default",[`${ie}-focused &`]:{color:Ha},[`${ie}-range-separator &`]:{[`${ie}-disabled &`]:{cursor:"not-allowed"}}},"&-range":{position:"relative",display:"inline-flex",[`${ie}-clear`]:{insetInlineEnd:$e},"&:hover":{[`${ie}-clear`]:{opacity:1}},[`${ie}-active-bar`]:{bottom:-yt,height:Kn,marginInlineStart:$e,background:Sr,opacity:0,transition:`all ${Ya} ease-out`,pointerEvents:"none"},[`&${ie}-focused`]:{[`${ie}-active-bar`]:{opacity:1}},[`${ie}-range-separator`]:{alignItems:"center",padding:`0 ${Jn}px`,lineHeight:1},[`&${ie}-small`]:{[`${ie}-clear`]:{insetInlineEnd:Ea},[`${ie}-active-bar`]:{marginInlineStart:Ea}}},"&-dropdown":Object.assign(Object.assign(Object.assign({},(0,$a.Wf)(ae)),di(ae)),{position:"absolute",top:-9999,left:{_skip_check_:!0,value:-9999},zIndex:yr,[`&${ie}-dropdown-hidden`]:{display:"none"},[`&${ie}-dropdown-placement-bottomLeft`]:{[`${ie}-range-arrow`]:{top:0,display:"block",transform:"translateY(-100%)"}},[`&${ie}-dropdown-placement-topLeft`]:{[`${ie}-range-arrow`]:{bottom:0,display:"block",transform:"translateY(100%) rotate(180deg)"}},[`&${le}-slide-up-enter${le}-slide-up-enter-active${ie}-dropdown-placement-topLeft,
|
|
&${le}-slide-up-enter${le}-slide-up-enter-active${ie}-dropdown-placement-topRight,
|
|
&${le}-slide-up-appear${le}-slide-up-appear-active${ie}-dropdown-placement-topLeft,
|
|
&${le}-slide-up-appear${le}-slide-up-appear-active${ie}-dropdown-placement-topRight`]:{animationName:co.Qt},[`&${le}-slide-up-enter${le}-slide-up-enter-active${ie}-dropdown-placement-bottomLeft,
|
|
&${le}-slide-up-enter${le}-slide-up-enter-active${ie}-dropdown-placement-bottomRight,
|
|
&${le}-slide-up-appear${le}-slide-up-appear-active${ie}-dropdown-placement-bottomLeft,
|
|
&${le}-slide-up-appear${le}-slide-up-appear-active${ie}-dropdown-placement-bottomRight`]:{animationName:co.fJ},[`&${le}-slide-up-leave${le}-slide-up-leave-active${ie}-dropdown-placement-topLeft,
|
|
&${le}-slide-up-leave${le}-slide-up-leave-active${ie}-dropdown-placement-topRight`]:{animationName:co.ly},[`&${le}-slide-up-leave${le}-slide-up-leave-active${ie}-dropdown-placement-bottomLeft,
|
|
&${le}-slide-up-leave${le}-slide-up-leave-active${ie}-dropdown-placement-bottomRight`]:{animationName:co.Uw},[`${ie}-panel > ${ie}-time-panel`]:{paddingTop:ur},[`${ie}-ranges`]:{marginBottom:0,padding:`${ur}px ${Gr}px`,overflow:"hidden",lineHeight:`${Co-2*yt-Jn/2}px`,textAlign:"start",listStyle:"none",display:"flex",justifyContent:"space-between","> li":{display:"inline-block"},[`${ie}-preset > ${le}-tag-blue`]:{color:Sr,background:Vo,borderColor:Ur,cursor:"pointer"},[`${ie}-ok`]:{marginInlineStart:"auto"}},[`${ie}-range-wrapper`]:{display:"flex",position:"relative"},[`${ie}-range-arrow`]:Object.assign({position:"absolute",zIndex:1,display:"none",marginInlineStart:$e*1.5,transition:`left ${Ya} ease-out`},(0,Er.r)($r,Dr,Yo,ho,ni)),[`${ie}-panel-container`]:{overflow:"hidden",verticalAlign:"top",background:ho,borderRadius:bo,boxShadow:Bi,transition:`margin ${Ya}`,[`${ie}-panel-layout`]:{display:"flex",flexWrap:"nowrap",alignItems:"stretch"},[`${ie}-presets`]:{display:"flex",flexDirection:"column",minWidth:wi,maxWidth:fl,ul:{height:0,flex:"auto",listStyle:"none",overflow:"auto",margin:0,padding:Jn,borderInlineEnd:`${yt}px ${At} ${Xi}`,li:Object.assign(Object.assign({},$a.vS),{borderRadius:zi,paddingInline:Jn,paddingBlock:(Zn-Math.round(Ae*_n))/2,cursor:"pointer",transition:`all ${Ya}`,"+ li":{marginTop:Yn},"&:hover":{background:xl}})}},[`${ie}-panels`]:{display:"inline-flex",flexWrap:"nowrap",direction:"ltr",[`${ie}-panel`]:{borderWidth:`0 0 ${yt}px`},"&:last-child":{[`${ie}-panel`]:{borderWidth:0}}},[`${ie}-panel`]:{verticalAlign:"top",background:"transparent",borderRadius:0,borderWidth:0,[`${ie}-content,
|
|
table`]:{textAlign:"center"},"&-focused":{borderColor:Wt}}}}),"&-dropdown-range":{padding:`${$r*2/3}px 0`,"&-hidden":{display:"none"}},"&-rtl":{direction:"rtl",[`${ie}-separator`]:{transform:"rotate(180deg)"},[`${ie}-footer`]:{"&-extra":{direction:"rtl"}}}})},(0,co.oN)(ae,"slide-up"),(0,co.oN)(ae,"slide-down"),(0,Eo.Fm)(ae,"move-up"),(0,Eo.Fm)(ae,"move-down")]},Mo=ae=>{const{componentCls:ie,controlHeightLG:le,paddingXXS:Se,padding:Ae}=ae;return{pickerCellCls:`${ie}-cell`,pickerCellInnerCls:`${ie}-cell-inner`,pickerYearMonthCellWidth:le*1.5,pickerQuarterPanelContentHeight:le*1.4,pickerCellPaddingVertical:Se+Se/2,pickerCellBorderGap:2,pickerControlIconSize:7,pickerControlIconBorderWidth:1.5,pickerDatePanelPaddingHorizontal:Ae+Se/2}},Nl=ae=>({cellHoverBg:ae.controlItemBgHover,cellActiveWithRangeBg:ae.controlItemBgActive,cellHoverWithRangeBg:new Pr.C(ae.colorPrimary).lighten(35).toHexString(),cellRangeBorderColor:new Pr.C(ae.colorPrimary).lighten(20).toHexString(),cellBgDisabled:ae.colorBgContainerDisabled,timeColumnWidth:ae.controlHeightLG*1.4,timeColumnHeight:28*8,timeCellHeight:28,cellWidth:ae.controlHeightSM*1.5,cellHeight:ae.controlHeightSM,textHeight:ae.controlHeightLG,withoutTimeCellHeight:ae.controlHeightLG*1.65});var Va=(0,Io.Z)("DatePicker",ae=>{const ie=(0,Ir.TS)((0,or.e5)(ae),Mo(ae));return[Sl(ie),pl(ie),(0,Tr.c)(ae,{focusElCls:`${ae.componentCls}-focused`})]},ae=>Object.assign(Object.assign(Object.assign({},(0,or.TM)(ae)),Nl(ae)),{presetsWidth:120,presetsMaxWidth:200,zIndexPopup:ae.zIndexPopupBase+50}));function _r(ae,ie,le){return le!==void 0?le:ie==="year"&&ae.lang.yearPlaceholder?ae.lang.yearPlaceholder:ie==="quarter"&&ae.lang.quarterPlaceholder?ae.lang.quarterPlaceholder:ie==="month"&&ae.lang.monthPlaceholder?ae.lang.monthPlaceholder:ie==="week"&&ae.lang.weekPlaceholder?ae.lang.weekPlaceholder:ie==="time"&&ae.timePickerLocale.placeholder?ae.timePickerLocale.placeholder:ae.lang.placeholder}function Ko(ae,ie,le){return le!==void 0?le:ie==="year"&&ae.lang.yearPlaceholder?ae.lang.rangeYearPlaceholder:ie==="quarter"&&ae.lang.quarterPlaceholder?ae.lang.rangeQuarterPlaceholder:ie==="month"&&ae.lang.monthPlaceholder?ae.lang.rangeMonthPlaceholder:ie==="week"&&ae.lang.weekPlaceholder?ae.lang.rangeWeekPlaceholder:ie==="time"&&ae.timePickerLocale.placeholder?ae.timePickerLocale.rangePlaceholder:ae.lang.rangePlaceholder}function Zi(ae,ie){const le={adjustX:1,adjustY:1};switch(ie){case"bottomLeft":return{points:["tl","bl"],offset:[0,4],overflow:le};case"bottomRight":return{points:["tr","br"],offset:[0,4],overflow:le};case"topLeft":return{points:["bl","tl"],offset:[0,-4],overflow:le};case"topRight":return{points:["br","tr"],offset:[0,-4],overflow:le};default:return{points:ae==="rtl"?["tr","br"]:["tl","bl"],offset:[0,4],overflow:le}}}function vr(ae){return ae?Array.isArray(ae)?ae:[ae]:[]}function zr(ae){const{format:ie,picker:le,showHour:Se,showMinute:Ae,showSecond:$e,use12Hours:_e}=ae,yt=vr(ie)[0],At=Object.assign({},ae);return ie&&Array.isArray(ie)&&(At.format=yt),yt&&typeof yt=="string"&&(!yt.includes("s")&&$e===void 0&&(At.showSecond=!1),!yt.includes("m")&&Ae===void 0&&(At.showMinute=!1),!yt.includes("H")&&!yt.includes("h")&&!yt.includes("K")&&!yt.includes("k")&&Se===void 0&&(At.showHour=!1),(yt.includes("a")||yt.includes("A"))&&_e===void 0&&(At.use12Hours=!0)),le==="time"?At:(typeof yt=="function"&&delete At.format,{showTime:At})}function Kr(ae,ie,le){if(ae===!1)return!1;const Se={clearIcon:ie!=null?ie:le};return typeof ae=="object"?Object.assign(Object.assign({},Se),ae):Se}var Rr=z(71577);function gi(ae){return ne.createElement(Rr.ZP,Object.assign({size:"small",type:"primary"},ae))}var To={button:gi},bi=function(ae,ie){var le={};for(var Se in ae)Object.prototype.hasOwnProperty.call(ae,Se)&&ie.indexOf(Se)<0&&(le[Se]=ae[Se]);if(ae!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Ae=0,Se=Object.getOwnPropertySymbols(ae);Ae<Se.length;Ae++)ie.indexOf(Se[Ae])<0&&Object.prototype.propertyIsEnumerable.call(ae,Se[Ae])&&(le[Se[Ae]]=ae[Se[Ae]]);return le};function hi(ae){return(0,ne.forwardRef)((le,Se)=>{const{prefixCls:Ae,getPopupContainer:$e,className:_e,placement:yt,size:At,disabled:Wt,bordered:An=!0,placeholder:$t,popupClassName:qt,dropdownClassName:nn,status:cn,clearIcon:It,allowClear:un,rootClassName:Zn}=le,Ea=bi(le,["prefixCls","getPopupContainer","className","placement","size","disabled","bordered","placeholder","popupClassName","dropdownClassName","status","clearIcon","allowClear","rootClassName"]),Jn=ne.useRef(null),{getPrefixCls:Yn,direction:Ha,getPopupContainer:Kn}=(0,ne.useContext)(qa.E_),_n=Yn("picker",Ae),{compactSize:Sr,compactItemClassnames:Ya}=(0,Ao.ri)(_n,Ha),{format:yr,showTime:ur,picker:Gr}=le,Co=Yn(),[Vo,Ur]=Va(_n),$r=Object.assign(Object.assign({},ur?zr(Object.assign({format:yr,picker:Gr},ur)):{}),Gr==="time"?zr(Object.assign(Object.assign({format:yr},le),{picker:Gr})):{}),Dr=(0,Zr.Z)(ni=>{var ci;return(ci=At!=null?At:Sr)!==null&&ci!==void 0?ci:ni}),Yo=ne.useContext(Fr.Z),ho=Wt!=null?Wt:Yo,bo=(0,ne.useContext)(Cr.aM),{hasFeedback:Bi,status:zi,feedbackIcon:Xi}=bo,xl=ne.createElement(ne.Fragment,null,Gr==="time"?ne.createElement(Ie,null):ne.createElement(Ce,null),Bi&&Xi);(0,ne.useImperativeHandle)(Se,()=>({focus:()=>{var ni;return(ni=Jn.current)===null||ni===void 0?void 0:ni.focus()},blur:()=>{var ni;return(ni=Jn.current)===null||ni===void 0?void 0:ni.blur()}}));const[wi]=(0,uo.Z)("Calendar",fr.Z),fl=Object.assign(Object.assign({},wi),le.locale);return Vo(ne.createElement(wa,Object.assign({separator:ne.createElement("span",{"aria-label":"to",className:`${_n}-separator`},ne.createElement(gt,null)),disabled:ho,ref:Jn,dropdownAlign:Zi(Ha,yt),placeholder:Ko(fl,Gr,$t),suffixIcon:xl,prevIcon:ne.createElement("span",{className:`${_n}-prev-icon`}),nextIcon:ne.createElement("span",{className:`${_n}-next-icon`}),superPrevIcon:ne.createElement("span",{className:`${_n}-super-prev-icon`}),superNextIcon:ne.createElement("span",{className:`${_n}-super-next-icon`}),transitionName:`${Co}-slide-up`},Ea,$r,{className:Gt()({[`${_n}-${Dr}`]:Dr,[`${_n}-borderless`]:!An},(0,Ba.Z)(_n,(0,Ba.F)(zi,cn),Bi),Ur,Ya,_e,Zn),locale:fl.lang,prefixCls:_n,getPopupContainer:$e||Kn,generateConfig:ae,components:To,direction:Ha,dropdownClassName:Gt()(Ur,qt||nn,Zn),allowClear:Kr(un,It,ne.createElement(Ue.Z,null))})))})}var Lu=function(ae,ie){var le={};for(var Se in ae)Object.prototype.hasOwnProperty.call(ae,Se)&&ie.indexOf(Se)<0&&(le[Se]=ae[Se]);if(ae!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Ae=0,Se=Object.getOwnPropertySymbols(ae);Ae<Se.length;Ae++)ie.indexOf(Se[Ae])<0&&Object.prototype.propertyIsEnumerable.call(ae,Se[Ae])&&(le[Se[Ae]]=ae[Se[Ae]]);return le};function Pu(ae){function ie(At,Wt){const An=Wt==="TimePicker"?"timePicker":"datePicker",$t=(0,ne.forwardRef)((qt,nn)=>{const{prefixCls:cn,getPopupContainer:It,style:un,className:Zn,rootClassName:Ea,size:Jn,bordered:Yn=!0,placement:Ha,placeholder:Kn,popupClassName:_n,dropdownClassName:Sr,disabled:Ya,status:yr,clearIcon:ur,allowClear:Gr}=qt,Co=Lu(qt,["prefixCls","getPopupContainer","style","className","rootClassName","size","bordered","placement","placeholder","popupClassName","dropdownClassName","disabled","status","clearIcon","allowClear"]),{getPrefixCls:Vo,direction:Ur,getPopupContainer:$r,[An]:Dr}=(0,ne.useContext)(qa.E_),Yo=Vo("picker",cn),{compactSize:ho,compactItemClassnames:bo}=(0,Ao.ri)(Yo,Ur),Bi=ne.useRef(null),{format:zi,showTime:Xi}=qt,[xl,wi]=Va(Yo);(0,ne.useImperativeHandle)(nn,()=>({focus:()=>{var Ui;return(Ui=Bi.current)===null||Ui===void 0?void 0:Ui.focus()},blur:()=>{var Ui;return(Ui=Bi.current)===null||Ui===void 0?void 0:Ui.blur()}}));const fl={showToday:!0};let ni={};At&&(ni.picker=At);const ci=At||qt.picker;ni=Object.assign(Object.assign(Object.assign({},ni),Xi?zr(Object.assign({format:zi,picker:ci},Xi)):{}),ci==="time"?zr(Object.assign(Object.assign({format:zi},qt),{picker:ci})):{});const Li=Vo(),ml=(0,Zr.Z)(Ui=>{var ql;return(ql=Jn!=null?Jn:ho)!==null&&ql!==void 0?ql:Ui}),yl=ne.useContext(Fr.Z),Ul=Ya!=null?Ya:yl,Pl=(0,ne.useContext)(Cr.aM),{hasFeedback:So,status:Wi,feedbackIcon:pi}=Pl,_o=ne.createElement(ne.Fragment,null,ci==="time"?ne.createElement(Ie,null):ne.createElement(Ce,null),So&&pi),[Hr]=(0,uo.Z)("DatePicker",fr.Z),ei=Object.assign(Object.assign({},Hr),qt.locale);return xl(ne.createElement(Ka,Object.assign({ref:Bi,placeholder:_r(ei,ci,Kn),suffixIcon:_o,dropdownAlign:Zi(Ur,Ha),prevIcon:ne.createElement("span",{className:`${Yo}-prev-icon`}),nextIcon:ne.createElement("span",{className:`${Yo}-next-icon`}),superPrevIcon:ne.createElement("span",{className:`${Yo}-super-prev-icon`}),superNextIcon:ne.createElement("span",{className:`${Yo}-super-next-icon`}),transitionName:`${Li}-slide-up`},fl,Co,ni,{locale:ei.lang,className:Gt()({[`${Yo}-${ml}`]:ml,[`${Yo}-borderless`]:!Yn},(0,Ba.Z)(Yo,(0,Ba.F)(Wi,yr),So),wi,bo,Dr==null?void 0:Dr.className,Zn,Ea),style:Object.assign(Object.assign({},Dr==null?void 0:Dr.style),un),prefixCls:Yo,getPopupContainer:It||$r,generateConfig:ae,components:To,direction:Ur,disabled:Ul,dropdownClassName:Gt()(wi,Ea,_n||Sr),allowClear:Kr(Gr,ur,ne.createElement(Ue.Z,null))})))});return Wt&&($t.displayName=Wt),$t}const le=ie(),Se=ie("week","WeekPicker"),Ae=ie("month","MonthPicker"),$e=ie("year","YearPicker"),_e=ie("time","TimePicker"),yt=ie("quarter","QuarterPicker");return{DatePicker:le,WeekPicker:Se,MonthPicker:Ae,YearPicker:$e,TimePicker:_e,QuarterPicker:yt}}const vs=null;function Jl(ae){const{DatePicker:ie,WeekPicker:le,MonthPicker:Se,YearPicker:Ae,TimePicker:$e,QuarterPicker:_e}=Pu(ae),yt=hi(ae),At=ie;return At.WeekPicker=le,At.MonthPicker=Se,At.YearPicker=Ae,At.RangePicker=yt,At.TimePicker=$e,At.QuarterPicker=_e,At}var ts=Jl;const Dl=ts(te);function Tu(ae){const ie=Zi(ae.direction,ae.placement);return ie.overflow.adjustY=!1,ie.overflow.adjustX=!1,Object.assign(Object.assign({},ae),{dropdownAlign:ie})}const Gs=(0,re.Z)(Dl,"picker",null,Tu);Dl._InternalPanelDoNotUseOrYouWillBeFired=Gs;const Gi=(0,re.Z)(Dl.RangePicker,"picker",null,Tu);Dl._InternalRangePanelDoNotUseOrYouWillBeFired=Gi,Dl.generatePicker=ts;var _i=Dl},96074:function(mt,st,z){"use strict";z.d(st,{Z:function(){return De}});var x=z(94184),ge=z.n(x),he=z(67294),Fe=z(53124),we=z(14747),ze=z(67968),se=z(45503);const je=ve=>{const{componentCls:ue,sizePaddingEdgeHorizontal:a,colorSplit:y,lineWidth:b,textPaddingInline:E,orientationMargin:ee,verticalMarginInline:te}=ve;return{[ue]:Object.assign(Object.assign({},(0,we.Wf)(ve)),{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:`${ve.dividerHorizontalGutterMargin}px 0`},[`&-horizontal${ue}-with-text`]:{display:"flex",alignItems:"center",margin:`${ve.dividerHorizontalWithTextGutterMargin}px 0`,color:ve.colorTextHeading,fontWeight:500,fontSize:ve.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${ue}-with-text-left`]:{"&::before":{width:`${ee*100}%`},"&::after":{width:`${100-ee*100}%`}},[`&-horizontal${ue}-with-text-right`]:{"&::before":{width:`${100-ee*100}%`},"&::after":{width:`${ee*100}%`}},[`${ue}-inner-text`]:{display:"inline-block",paddingBlock:0,paddingInline:E},"&-dashed":{background:"none",borderColor:y,borderStyle:"dashed",borderWidth:`${b}px 0 0`},[`&-horizontal${ue}-with-text${ue}-dashed`]:{"&::before, &::after":{borderStyle:"dashed none none"}},[`&-vertical${ue}-dashed`]:{borderInlineStartWidth:b,borderInlineEnd:0,borderBlockStart:0,borderBlockEnd:0},[`&-plain${ue}-with-text`]:{color:ve.colorText,fontWeight:"normal",fontSize:ve.fontSize},[`&-horizontal${ue}-with-text-left${ue}-no-default-orientation-margin-left`]:{"&::before":{width:0},"&::after":{width:"100%"},[`${ue}-inner-text`]:{paddingInlineStart:a}},[`&-horizontal${ue}-with-text-right${ue}-no-default-orientation-margin-right`]:{"&::before":{width:"100%"},"&::after":{width:0},[`${ue}-inner-text`]:{paddingInlineEnd:a}}})}};var Te=(0,ze.Z)("Divider",ve=>{const ue=(0,se.TS)(ve,{dividerHorizontalWithTextGutterMargin:ve.margin,dividerHorizontalGutterMargin:ve.marginLG,sizePaddingEdgeHorizontal:0});return[je(ue)]},ve=>({textPaddingInline:"1em",orientationMargin:.05,verticalMarginInline:ve.marginXS})),Le=function(ve,ue){var a={};for(var y in ve)Object.prototype.hasOwnProperty.call(ve,y)&&ue.indexOf(y)<0&&(a[y]=ve[y]);if(ve!=null&&typeof Object.getOwnPropertySymbols=="function")for(var b=0,y=Object.getOwnPropertySymbols(ve);b<y.length;b++)ue.indexOf(y[b])<0&&Object.prototype.propertyIsEnumerable.call(ve,y[b])&&(a[y[b]]=ve[y[b]]);return a},De=ve=>{const{getPrefixCls:ue,direction:a,divider:y}=he.useContext(Fe.E_),{prefixCls:b,type:E="horizontal",orientation:ee="center",orientationMargin:te,className:re,rootClassName:oe,children:ne,dashed:de,plain:pe,style:Ee}=ve,be=Le(ve,["prefixCls","type","orientation","orientationMargin","className","rootClassName","children","dashed","plain","style"]),xe=ue("divider",b),[Ce,Ne]=Te(xe),Re=ee.length>0?`-${ee}`:ee,at=!!ne,Ie=ee==="left"&&te!=null,Ue=ee==="right"&&te!=null,Ge=ge()(xe,y==null?void 0:y.className,Ne,`${xe}-${E}`,{[`${xe}-with-text`]:at,[`${xe}-with-text${Re}`]:at,[`${xe}-dashed`]:!!de,[`${xe}-plain`]:!!pe,[`${xe}-rtl`]:a==="rtl",[`${xe}-no-default-orientation-margin-left`]:Ie,[`${xe}-no-default-orientation-margin-right`]:Ue},re,oe),Ve=he.useMemo(()=>typeof te=="number"?te:/^\d+$/.test(te)?Number(te):te,[te]),rt=Object.assign(Object.assign({},Ie&&{marginLeft:Ve}),Ue&&{marginRight:Ve});return Ce(he.createElement("div",Object.assign({className:Ge,style:Object.assign(Object.assign({},y==null?void 0:y.style),Ee)},be,{role:"separator"}),ne&&E!=="vertical"&&he.createElement("span",{className:`${xe}-inner-text`,style:rt},ne)))}},56153:function(mt,st,z){"use strict";z.d(st,{Z:function(){return Ei}});var x=z(67294),ge=z.t(x,2),he=z(91034),Fe=z(94184),we=z.n(Fe),ze=z(87462),se=z(4942),je=z(97685),Te=z(45987),Le=z(1413),Ke=z(73935);function De(){return!!(typeof window!="undefined"&&window.document&&window.document.createElement)}var ve={};function ue(Oe,qe){}function a(Oe,qe){}function y(){ve={}}function b(Oe,qe,tt){!qe&&!ve[tt]&&(Oe(!1,tt),ve[tt]=!0)}function E(Oe,qe){b(ue,Oe,qe)}function ee(Oe,qe){b(a,Oe,qe)}var te=null,re=z(71002),oe=z(12060);function ne(Oe,qe,tt){var Ft=x.useRef({});return(!("value"in Ft.current)||tt(Ft.current.condition,qe))&&(Ft.current.value=Oe(),Ft.current.condition=qe),Ft.current.value}function de(Oe,qe){typeof Oe=="function"?Oe(qe):(0,re.Z)(Oe)==="object"&&Oe&&"current"in Oe&&(Oe.current=qe)}function pe(){for(var Oe=arguments.length,qe=new Array(Oe),tt=0;tt<Oe;tt++)qe[tt]=arguments[tt];var Ft=qe.filter(function(pn){return pn});return Ft.length<=1?Ft[0]:function(pn){qe.forEach(function(ea){de(ea,pn)})}}function Ee(){for(var Oe=arguments.length,qe=new Array(Oe),tt=0;tt<Oe;tt++)qe[tt]=arguments[tt];return ne(function(){return pe.apply(void 0,qe)},qe,function(Ft,pn){return Ft.length===pn.length&&Ft.every(function(ea,aa){return ea===pn[aa]})})}function be(Oe){var qe,tt,Ft=(0,oe.isMemo)(Oe)?Oe.type.type:Oe.type;return!(typeof Ft=="function"&&!((qe=Ft.prototype)!==null&&qe!==void 0&&qe.render)||typeof Oe=="function"&&!((tt=Oe.prototype)!==null&&tt!==void 0&&tt.render))}var xe=x.createContext(null),Ce=xe,Ne=z(74902),Re=De()?x.useLayoutEffect:x.useEffect,at=Re,Ie=function(qe,tt){var Ft=React.useRef(!0);Re(function(){if(!Ft.current)return qe()},tt),Re(function(){return Ft.current=!1,function(){Ft.current=!0}},[])},Ue=[];function Ge(Oe,qe){var tt=x.useState(function(){if(!De())return null;var vo=document.createElement("div");return vo}),Ft=(0,je.Z)(tt,1),pn=Ft[0],ea=x.useRef(!1),aa=x.useContext(Ce),ar=x.useState(Ue),pr=(0,je.Z)(ar,2),dr=pr[0],kr=pr[1],gr=aa||(ea.current?void 0:function(vo){kr(function(ui){var Qo=[vo].concat((0,Ne.Z)(ui));return Qo})});function Wr(){pn.parentElement||document.body.appendChild(pn),ea.current=!0}function Or(){var vo;(vo=pn.parentElement)===null||vo===void 0||vo.removeChild(pn),ea.current=!1}return at(function(){return Oe?aa?aa(Wr):Wr():Or(),Or},[Oe]),at(function(){dr.length&&(dr.forEach(function(vo){return vo()}),kr(Ue))},[dr]),[pn,gr]}function Ve(Oe,qe){if(!Oe)return!1;if(Oe.contains)return Oe.contains(qe);for(var tt=qe;tt;){if(tt===Oe)return!0;tt=tt.parentNode}return!1}var rt="data-rc-order",gt="rc-util-key",xt=new Map;function Gt(){var Oe=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},qe=Oe.mark;return qe?qe.startsWith("data-")?qe:"data-".concat(qe):gt}function yn(Oe){if(Oe.attachTo)return Oe.attachTo;var qe=document.querySelector("head");return qe||document.body}function lt(Oe){return Oe==="queue"?"prependQueue":Oe?"prepend":"append"}function ht(Oe){return Array.from((xt.get(Oe)||Oe).children).filter(function(qe){return qe.tagName==="STYLE"})}function Lt(Oe){var qe=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(!De())return null;var tt=qe.csp,Ft=qe.prepend,pn=document.createElement("style");pn.setAttribute(rt,lt(Ft)),tt!=null&&tt.nonce&&(pn.nonce=tt==null?void 0:tt.nonce),pn.innerHTML=Oe;var ea=yn(qe),aa=ea.firstChild;if(Ft){if(Ft==="queue"){var ar=ht(ea).filter(function(pr){return["prepend","prependQueue"].includes(pr.getAttribute(rt))});if(ar.length)return ea.insertBefore(pn,ar[ar.length-1].nextSibling),pn}ea.insertBefore(pn,aa)}else ea.appendChild(pn);return pn}function zt(Oe){var qe=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},tt=yn(qe);return ht(tt).find(function(Ft){return Ft.getAttribute(Gt(qe))===Oe})}function dt(Oe){var qe=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},tt=zt(Oe,qe);if(tt){var Ft=yn(qe);Ft.removeChild(tt)}}function kt(Oe,qe){var tt=xt.get(Oe);if(!tt||!Ve(document,tt)){var Ft=Lt("",qe),pn=Ft.parentNode;xt.set(Oe,pn),Oe.removeChild(Ft)}}function Ze(){xt.clear()}function Dn(Oe,qe){var tt=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},Ft=yn(tt);kt(Ft,tt);var pn=zt(qe,tt);if(pn){var ea,aa;if((ea=tt.csp)!==null&&ea!==void 0&&ea.nonce&&pn.nonce!==((aa=tt.csp)===null||aa===void 0?void 0:aa.nonce)){var ar;pn.nonce=(ar=tt.csp)===null||ar===void 0?void 0:ar.nonce}return pn.innerHTML!==Oe&&(pn.innerHTML=Oe),pn}var pr=Lt(Oe,tt);return pr.setAttribute(Gt(tt),qe),pr}var zn;function Dt(Oe){if(typeof document=="undefined")return 0;if(Oe||zn===void 0){var qe=document.createElement("div");qe.style.width="100%",qe.style.height="200px";var tt=document.createElement("div"),Ft=tt.style;Ft.position="absolute",Ft.top="0",Ft.left="0",Ft.pointerEvents="none",Ft.visibility="hidden",Ft.width="200px",Ft.height="150px",Ft.overflow="hidden",tt.appendChild(qe),document.body.appendChild(tt);var pn=qe.offsetWidth;tt.style.overflow="scroll";var ea=qe.offsetWidth;pn===ea&&(ea=tt.clientWidth),document.body.removeChild(tt),zn=pn-ea}return zn}function rn(Oe){var qe=Oe.match(/^(.*)px$/),tt=Number(qe==null?void 0:qe[1]);return Number.isNaN(tt)?Dt():tt}function en(Oe){if(typeof document=="undefined"||!Oe||!(Oe instanceof Element))return{width:0,height:0};var qe=getComputedStyle(Oe,"::-webkit-scrollbar"),tt=qe.width,Ft=qe.height;return{width:rn(tt),height:rn(Ft)}}function Ht(){return document.body.scrollHeight>(window.innerHeight||document.documentElement.clientHeight)&&window.innerWidth>document.body.offsetWidth}var Et="rc-util-locker-".concat(Date.now()),wn=0;function dn(Oe){var qe=!!Oe,tt=x.useState(function(){return wn+=1,"".concat(Et,"_").concat(wn)}),Ft=(0,je.Z)(tt,1),pn=Ft[0];at(function(){if(qe){var ea=en(document.body).width,aa=Ht();Dn(`
|
|
html body {
|
|
overflow-y: hidden;
|
|
`.concat(aa?"width: calc(100% - ".concat(ea,"px);"):"",`
|
|
}`),pn)}else dt(pn);return function(){dt(pn)}},[qe,pn])}var Bt=!1;function Bn(Oe){return typeof Oe=="boolean"&&(Bt=Oe),Bt}var Yt=function(qe){return qe===!1?!1:!De()||!qe?null:typeof qe=="string"?document.querySelector(qe):typeof qe=="function"?qe():qe},Xt=x.forwardRef(function(Oe,qe){var tt=Oe.open,Ft=Oe.autoLock,pn=Oe.getContainer,ea=Oe.debug,aa=Oe.autoDestroy,ar=aa===void 0?!0:aa,pr=Oe.children,dr=x.useState(tt),kr=(0,je.Z)(dr,2),gr=kr[0],Wr=kr[1],Or=gr||tt;x.useEffect(function(){(ar||tt)&&Wr(tt)},[tt,ar]);var vo=x.useState(function(){return Yt(pn)}),ui=(0,je.Z)(vo,2),Qo=ui[0],mi=ui[1];x.useEffect(function(){var wl=Yt(pn);mi(wl!=null?wl:null)});var Uo=Ge(Or&&!Qo,ea),po=(0,je.Z)(Uo,2),jr=po[0],dl=po[1],Vi=Qo!=null?Qo:jr;dn(Ft&&tt&&De()&&(Vi===jr||Vi===document.body));var cl=null;if(pr&&be(pr)&&qe){var bl=pr;cl=bl.ref}var Xl=Ee(cl,qe);if(!Or||!De()||Qo===void 0)return null;var qi=Vi===!1||Bn(),vi=pr;return qe&&(vi=x.cloneElement(pr,{ref:Xl})),x.createElement(Ce.Provider,{value:dl},qi?vi:(0,Ke.createPortal)(vi,Vi))}),On=Xt,bn=On,Je=z(48555);function He(Oe){return Oe instanceof HTMLElement||Oe instanceof SVGElement}function Xn(Oe){return He(Oe)?Oe:Oe instanceof React.Component?ReactDOM.findDOMNode(Oe):null}function Me(Oe){var qe;return Oe==null||(qe=Oe.getRootNode)===null||qe===void 0?void 0:qe.call(Oe)}function Xe(Oe){return Me(Oe)instanceof ShadowRoot}function Zt(Oe){return Xe(Oe)?Me(Oe):null}function ot(Oe){var qe=x.useRef();qe.current=Oe;var tt=x.useCallback(function(){for(var Ft,pn=arguments.length,ea=new Array(pn),aa=0;aa<pn;aa++)ea[aa]=arguments[aa];return(Ft=qe.current)===null||Ft===void 0?void 0:Ft.call.apply(Ft,[qe].concat(ea))},[]);return tt}function Ye(){var Oe=(0,Le.Z)({},ge);return Oe.useId}var bt=0;function Ut(){}var Nt=Ye(),In=Nt?function(qe){var tt=Nt();return qe||tt}:function(qe){var tt=x.useState("ssr-id"),Ft=(0,je.Z)(tt,2),pn=Ft[0],ea=Ft[1];return x.useEffect(function(){var aa=bt;bt+=1,ea("rc_unique_".concat(aa))},[]),qe||pn};function Tt(){return!!(typeof window!="undefined"&&window.document&&window.document.createElement)}var Kt=Tt()?x.useLayoutEffect:x.useEffect,pt=function(qe,tt){var Ft=x.useRef(!0);Kt(function(){return qe(Ft.current)},tt),Kt(function(){return Ft.current=!1,function(){Ft.current=!0}},[])},En=function(qe,tt){pt(function(Ft){if(!Ft)return qe()},tt)},Jt=pt,xn=function(){if(typeof navigator=="undefined"||typeof window=="undefined")return!1;var Oe=navigator.userAgent||navigator.vendor||window.opera;return/(android|bb\d+|meego).+mobile|avantgo|bada\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|iris|kindle|lge |maemo|midp|mmp|mobile.+firefox|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\/|plucker|pocket|psp|series(4|6)0|symbian|treo|up\.(browser|link)|vodafone|wap|windows ce|xda|xiino|android|ipad|playbook|silk/i.test(Oe)||/1207|6310|6590|3gso|4thp|50[1-6]i|770s|802s|a wa|abac|ac(er|oo|s-)|ai(ko|rn)|al(av|ca|co)|amoi|an(ex|ny|yw)|aptu|ar(ch|go)|as(te|us)|attw|au(di|-m|r |s )|avan|be(ck|ll|nq)|bi(lb|rd)|bl(ac|az)|br(e|v)w|bumb|bw-(n|u)|c55\/|capi|ccwa|cdm-|cell|chtm|cldc|cmd-|co(mp|nd)|craw|da(it|ll|ng)|dbte|dc-s|devi|dica|dmob|do(c|p)o|ds(12|-d)|el(49|ai)|em(l2|ul)|er(ic|k0)|esl8|ez([4-7]0|os|wa|ze)|fetc|fly(-|_)|g1 u|g560|gene|gf-5|g-mo|go(\.w|od)|gr(ad|un)|haie|hcit|hd-(m|p|t)|hei-|hi(pt|ta)|hp( i|ip)|hs-c|ht(c(-| |_|a|g|p|s|t)|tp)|hu(aw|tc)|i-(20|go|ma)|i230|iac( |-|\/)|ibro|idea|ig01|ikom|im1k|inno|ipaq|iris|ja(t|v)a|jbro|jemu|jigs|kddi|keji|kgt( |\/)|klon|kpt |kwc-|kyo(c|k)|le(no|xi)|lg( g|\/(k|l|u)|50|54|-[a-w])|libw|lynx|m1-w|m3ga|m50\/|ma(te|ui|xo)|mc(01|21|ca)|m-cr|me(rc|ri)|mi(o8|oa|ts)|mmef|mo(01|02|bi|de|do|t(-| |o|v)|zz)|mt(50|p1|v )|mwbp|mywa|n10[0-2]|n20[2-3]|n30(0|2)|n50(0|2|5)|n7(0(0|1)|10)|ne((c|m)-|on|tf|wf|wg|wt)|nok(6|i)|nzph|o2im|op(ti|wv)|oran|owg1|p800|pan(a|d|t)|pdxg|pg(13|-([1-8]|c))|phil|pire|pl(ay|uc)|pn-2|po(ck|rt|se)|prox|psio|pt-g|qa-a|qc(07|12|21|32|60|-[2-7]|i-)|qtek|r380|r600|raks|rim9|ro(ve|zo)|s55\/|sa(ge|ma|mm|ms|ny|va)|sc(01|h-|oo|p-)|sdk\/|se(c(-|0|1)|47|mc|nd|ri)|sgh-|shar|sie(-|m)|sk-0|sl(45|id)|sm(al|ar|b3|it|t5)|so(ft|ny)|sp(01|h-|v-|v )|sy(01|mb)|t2(18|50)|t6(00|10|18)|ta(gt|lk)|tcl-|tdg-|tel(i|m)|tim-|t-mo|to(pl|sh)|ts(70|m-|m3|m5)|tx-9|up(\.b|g1|si)|utst|v400|v750|veri|vi(rg|te)|vk(40|5[0-3]|-v)|vm40|voda|vulc|vx(52|53|60|61|70|80|81|83|85|98)|w3c(-| )|webc|whit|wi(g |nc|nw)|wmlb|wonu|x700|yas-|your|zeto|zte-/i.test(Oe==null?void 0:Oe.substr(0,4))},Aa=x.createContext(null),jn=Aa;function ua(Oe){return Oe?Array.isArray(Oe)?Oe:[Oe]:[]}function La(Oe,qe,tt,Ft){return x.useMemo(function(){var pn=ua(tt!=null?tt:qe),ea=ua(Ft!=null?Ft:qe),aa=new Set(pn),ar=new Set(ea);return Oe&&(aa.has("hover")&&(aa.delete("hover"),aa.add("click")),ar.has("hover")&&(ar.delete("hover"),ar.add("click"))),[aa,ar]},[Oe,qe,tt,Ft])}var on=function(Oe){if(!Oe)return!1;if(Oe instanceof Element){if(Oe.offsetParent)return!0;if(Oe.getBBox){var qe=Oe.getBBox(),tt=qe.width,Ft=qe.height;if(tt||Ft)return!0}if(Oe.getBoundingClientRect){var pn=Oe.getBoundingClientRect(),ea=pn.width,aa=pn.height;if(ea||aa)return!0}}return!1};function gn(){var Oe=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],qe=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],tt=arguments.length>2?arguments[2]:void 0;return tt?Oe[0]===qe[0]:Oe[0]===qe[0]&&Oe[1]===qe[1]}function Sn(Oe,qe,tt,Ft){for(var pn=tt.points,ea=Object.keys(Oe),aa=0;aa<ea.length;aa+=1){var ar,pr=ea[aa];if(gn((ar=Oe[pr])===null||ar===void 0?void 0:ar.points,pn,Ft))return"".concat(qe,"-placement-").concat(pr)}return""}function Fa(Oe,qe,tt,Ft){return qe||(tt?{motionName:"".concat(Oe,"-").concat(tt)}:Ft?{motionName:Ft}:null)}function pa(Oe){return Oe.ownerDocument.defaultView}function ra(Oe){for(var qe=[],tt=Oe==null?void 0:Oe.parentElement,Ft=["hidden","scroll","clip","auto"];tt;){var pn=pa(tt).getComputedStyle(tt),ea=pn.overflowX,aa=pn.overflowY,ar=pn.overflow;[ea,aa,ar].some(function(pr){return Ft.includes(pr)})&&qe.push(tt),tt=tt.parentElement}return qe}function Ga(Oe){var qe=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1;return Number.isNaN(Oe)?qe:Oe}function _a(Oe){return Ga(parseFloat(Oe),0)}function Qr(Oe,qe){var tt=(0,Le.Z)({},Oe);return(qe||[]).forEach(function(Ft){if(!(Ft instanceof HTMLBodyElement||Ft instanceof HTMLHtmlElement)){var pn=pa(Ft).getComputedStyle(Ft),ea=pn.overflow,aa=pn.overflowClipMargin,ar=pn.borderTopWidth,pr=pn.borderBottomWidth,dr=pn.borderLeftWidth,kr=pn.borderRightWidth,gr=Ft.getBoundingClientRect(),Wr=Ft.offsetHeight,Or=Ft.clientHeight,vo=Ft.offsetWidth,ui=Ft.clientWidth,Qo=_a(ar),mi=_a(pr),Uo=_a(dr),po=_a(kr),jr=Ga(Math.round(gr.width/vo*1e3)/1e3),dl=Ga(Math.round(gr.height/Wr*1e3)/1e3),Vi=(vo-ui-Uo-po)*jr,cl=(Wr-Or-Qo-mi)*dl,bl=Qo*dl,Xl=mi*dl,qi=Uo*jr,vi=po*jr,wl=0,Il=0;if(ea==="clip"){var al=_a(aa);wl=al*jr,Il=al*dl}var si=gr.x+qi-wl,ji=gr.y+bl-Il,Ho=si+gr.width+2*wl-qi-vi-Vi,Zl=ji+gr.height+2*Il-bl-Xl-cl;tt.left=Math.max(tt.left,si),tt.top=Math.max(tt.top,ji),tt.right=Math.min(tt.right,Ho),tt.bottom=Math.min(tt.bottom,Zl)}}),tt}function wo(Oe){var qe=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,tt="".concat(qe),Ft=tt.match(/^(.*)\%$/);return Ft?Oe*(parseFloat(Ft[1])/100):parseFloat(tt)}function Ln(Oe,qe){var tt=qe||[],Ft=(0,je.Z)(tt,2),pn=Ft[0],ea=Ft[1];return[wo(Oe.width,pn),wo(Oe.height,ea)]}function wt(){var Oe=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"";return[Oe[0],Oe[1]]}function Rt(Oe,qe){var tt=qe[0],Ft=qe[1],pn,ea;return tt==="t"?ea=Oe.y:tt==="b"?ea=Oe.y+Oe.height:ea=Oe.y+Oe.height/2,Ft==="l"?pn=Oe.x:Ft==="r"?pn=Oe.x+Oe.width:pn=Oe.x+Oe.width/2,{x:pn,y:ea}}function Ct(Oe,qe){var tt={t:"b",b:"t",l:"r",r:"l"};return Oe.map(function(Ft,pn){return pn===qe?tt[Ft]||"c":Ft}).join("")}function qn(Oe,qe,tt,Ft,pn,ea,aa){var ar=x.useState({ready:!1,offsetX:0,offsetY:0,offsetR:0,offsetB:0,arrowX:0,arrowY:0,scaleX:1,scaleY:1,align:pn[Ft]||{}}),pr=(0,je.Z)(ar,2),dr=pr[0],kr=pr[1],gr=x.useRef(0),Wr=x.useMemo(function(){return qe?ra(qe):[]},[qe]),Or=x.useRef({}),vo=function(){Or.current={}};Oe||vo();var ui=ot(function(){if(qe&&tt&&Oe){let Tr=function(Eo,Ir){var Io=arguments.length>2&&arguments[2]!==void 0?arguments[2]:zl,jo=Ri.x+Eo,Di=Ri.y+Ir,di=jo+Ki,pl=Di+Ml,Sl=Math.max(jo,Io.left),Mo=Math.max(Di,Io.top),Nl=Math.min(di,Io.right),Va=Math.min(pl,Io.bottom);return Math.max(0,(Nl-Sl)*(Va-Mo))},co=function(){ds=Ri.y+ol,Cs=ds+Ml,bs=Ri.x+Wl,ws=bs+Ki};var Uo,po,jr=qe,dl=jr.ownerDocument,Vi=pa(jr),cl=Vi.getComputedStyle(jr),bl=cl.width,Xl=cl.height,qi=cl.position,vi=jr.style.left,wl=jr.style.top,Il=jr.style.right,al=jr.style.bottom,si=(0,Le.Z)((0,Le.Z)({},pn[Ft]),ea),ji=dl.createElement("div");(Uo=jr.parentElement)===null||Uo===void 0||Uo.appendChild(ji),ji.style.left="".concat(jr.offsetLeft,"px"),ji.style.top="".concat(jr.offsetTop,"px"),ji.style.position=qi,ji.style.height="".concat(jr.offsetHeight,"px"),ji.style.width="".concat(jr.offsetWidth,"px"),jr.style.left="0",jr.style.top="0",jr.style.right="auto",jr.style.bottom="auto";var Ho;if(Array.isArray(tt))Ho={x:tt[0],y:tt[1],width:0,height:0};else{var Zl=tt.getBoundingClientRect();Ho={x:Zl.x,y:Zl.y,width:Zl.width,height:Zl.height}}var Ri=jr.getBoundingClientRect(),Gl=dl.documentElement,vu=Gl.clientWidth,$l=Gl.clientHeight,Nu=Gl.scrollWidth,Ou=Gl.scrollHeight,ki=Gl.scrollTop,Du=Gl.scrollLeft,Ml=Ri.height,Ki=Ri.width,gl=Ho.height,hu=Ho.width,zu={left:0,top:0,right:vu,bottom:$l},$u={left:-Du,top:-ki,right:Nu-Du,bottom:Ou-ki},su=si.htmlRegion,Tl="visible",wu="visibleFirst";su!=="scroll"&&su!==wu&&(su=Tl);var Ql=su===wu,Yi=Qr($u,Wr),Lo=Qr(zu,Wr),zl=su===Tl?Lo:Yi,Bu=Ql?Lo:zl;jr.style.left="auto",jr.style.top="auto",jr.style.right="0",jr.style.bottom="0";var Qu=jr.getBoundingClientRect();jr.style.left=vi,jr.style.top=wl,jr.style.right=Il,jr.style.bottom=al,(po=jr.parentElement)===null||po===void 0||po.removeChild(ji);var ls=Ga(Math.round(Ki/parseFloat(bl)*1e3)/1e3),Ku=Ga(Math.round(Ml/parseFloat(Xl)*1e3)/1e3);if(ls===0||Ku===0||He(tt)&&!on(tt))return;var ys=si.offset,Ts=si.targetOffset,Ju=Ln(Ri,ys),fd=(0,je.Z)(Ju,2),Gu=fd[0],qu=fd[1],Rs=Ln(Ho,Ts),ns=(0,je.Z)(Rs,2),Qs=ns[0],md=ns[1];Ho.x-=Qs,Ho.y-=md;var ks=si.points||[],Wu=(0,je.Z)(ks,2),Ps=Wu[0],vd=Wu[1],fs=wt(vd),Iu=wt(Ps),Zs=Rt(Ho,fs),Es=Rt(Ri,Iu),us=(0,Le.Z)({},si),Wl=Zs.x-Es.x+Gu,ol=Zs.y-Es.y+qu,Uu=Tr(Wl,ol),ss=Tr(Wl,ol,Lo),zs=Rt(Ho,["t","l"]),Js=Rt(Ri,["t","l"]),Ws=Rt(Ho,["b","r"]),es=Rt(Ri,["b","r"]),Hs=si.overflow||{},qs=Hs.adjustX,ms=Hs.adjustY,ed=Hs.shiftX,js=Hs.shiftY,td=function(Ir){return typeof Ir=="boolean"?Ir:Ir>=0},ds,Cs,bs,ws;co();var Ks=td(ms),nd=Iu[0]===fs[0];if(Ks&&Iu[0]==="t"&&(Cs>Bu.bottom||Or.current.bt)){var as=ol;nd?as-=Ml-gl:as=zs.y-es.y-qu;var Vu=Tr(Wl,as),Hu=Tr(Wl,as,Lo);Vu>Uu||Vu===Uu&&(!Ql||Hu>=ss)?(Or.current.bt=!0,ol=as,qu=-qu,us.points=[Ct(Iu,0),Ct(fs,0)]):Or.current.bt=!1}if(Ks&&Iu[0]==="b"&&(ds<Bu.top||Or.current.tb)){var xs=ol;nd?xs+=Ml-gl:xs=Ws.y-Js.y-qu;var ce=Tr(Wl,xs),me=Tr(Wl,xs,Lo);ce>Uu||ce===Uu&&(!Ql||me>=ss)?(Or.current.tb=!0,ol=xs,qu=-qu,us.points=[Ct(Iu,0),Ct(fs,0)]):Or.current.tb=!1}var Be=td(qs),We=Iu[1]===fs[1];if(Be&&Iu[1]==="l"&&(ws>Bu.right||Or.current.rl)){var Qe=Wl;We?Qe-=Ki-hu:Qe=zs.x-es.x-Gu;var it=Tr(Qe,ol),Pt=Tr(Qe,ol,Lo);it>Uu||it===Uu&&(!Ql||Pt>=ss)?(Or.current.rl=!0,Wl=Qe,Gu=-Gu,us.points=[Ct(Iu,1),Ct(fs,1)]):Or.current.rl=!1}if(Be&&Iu[1]==="r"&&(bs<Bu.left||Or.current.lr)){var Ot=Wl;We?Ot+=Ki-hu:Ot=Ws.x-Js.x-Gu;var Mt=Tr(Ot,ol),tn=Tr(Ot,ol,Lo);Mt>Uu||Mt===Uu&&(!Ql||tn>=ss)?(Or.current.lr=!0,Wl=Ot,Gu=-Gu,us.points=[Ct(Iu,1),Ct(fs,1)]):Or.current.lr=!1}co();var Pn=ed===!0?0:ed;typeof Pn=="number"&&(bs<Lo.left&&(Wl-=bs-Lo.left-Gu,Ho.x+hu<Lo.left+Pn&&(Wl+=Ho.x-Lo.left+hu-Pn)),ws>Lo.right&&(Wl-=ws-Lo.right-Gu,Ho.x>Lo.right-Pn&&(Wl+=Ho.x-Lo.right+Pn)));var sn=js===!0?0:js;typeof sn=="number"&&(ds<Lo.top&&(ol-=ds-Lo.top-qu,Ho.y+gl<Lo.top+sn&&(ol+=Ho.y-Lo.top+gl-sn)),Cs>Lo.bottom&&(ol-=Cs-Lo.bottom-qu,Ho.y>Lo.bottom-sn&&(ol+=Ho.y-Lo.bottom+sn)));var Un=Ri.x+Wl,Vn=Un+Ki,ta=Ri.y+ol,Ra=ta+Ml,wa=Ho.x,Ka=wa+hu,Ba=Ho.y,qa=Ba+gl,Fr=Math.max(Un,wa),Zr=Math.min(Vn,Ka),Cr=(Fr+Zr)/2,uo=Cr-Un,Ao=Math.max(ta,Ba),fr=Math.min(Ra,qa),Pr=(Ao+fr)/2,or=Pr-ta;aa==null||aa(qe,us);var $a=Qu.right-Ri.x-(Wl+Ri.width),Er=Qu.bottom-Ri.y-(ol+Ri.height);kr({ready:!0,offsetX:Wl/ls,offsetY:ol/Ku,offsetR:$a/ls,offsetB:Er/Ku,arrowX:uo/ls,arrowY:or/Ku,scaleX:ls,scaleY:Ku,align:us})}}),Qo=function(){gr.current+=1;var po=gr.current;Promise.resolve().then(function(){gr.current===po&&ui()})},mi=function(){kr(function(po){return(0,Le.Z)((0,Le.Z)({},po),{},{ready:!1})})};return Jt(mi,[Ft]),Jt(function(){Oe||mi()},[Oe]),[dr.ready,dr.offsetX,dr.offsetY,dr.offsetR,dr.offsetB,dr.arrowX,dr.arrowY,dr.scaleX,dr.scaleY,dr.align,Qo]}function Qt(Oe,qe,tt,Ft,pn){Jt(function(){if(Oe&&qe&&tt){let gr=function(){Ft(),pn()};var ea=qe,aa=tt,ar=ra(ea),pr=ra(aa),dr=pa(aa),kr=new Set([dr].concat((0,Ne.Z)(ar),(0,Ne.Z)(pr)));return kr.forEach(function(Wr){Wr.addEventListener("scroll",gr,{passive:!0})}),dr.addEventListener("resize",gr,{passive:!0}),Ft(),function(){kr.forEach(function(Wr){Wr.removeEventListener("scroll",gr),dr.removeEventListener("resize",gr)})}}},[Oe,qe,tt])}function er(Oe){var qe=React.useRef(!1),tt=React.useState(Oe),Ft=_slicedToArray(tt,2),pn=Ft[0],ea=Ft[1];React.useEffect(function(){return qe.current=!1,function(){qe.current=!0}},[]);function aa(ar,pr){pr&&qe.current||ea(ar)}return[pn,aa]}function Zo(Oe){return Oe!==void 0}function ao(Oe,qe){var tt=qe||{},Ft=tt.defaultValue,pn=tt.value,ea=tt.onChange,aa=tt.postState,ar=useState(function(){return Zo(pn)?pn:Zo(Ft)?typeof Ft=="function"?Ft():Ft:typeof Oe=="function"?Oe():Oe}),pr=_slicedToArray(ar,2),dr=pr[0],kr=pr[1],gr=pn!==void 0?pn:dr,Wr=aa?aa(gr):gr,Or=useEvent(ea),vo=useState([gr]),ui=_slicedToArray(vo,2),Qo=ui[0],mi=ui[1];useLayoutUpdateEffect(function(){var po=Qo[0];dr!==po&&Or(dr,po)},[Qo]),useLayoutUpdateEffect(function(){Zo(pn)||kr(pn)},[pn]);var Uo=useEvent(function(po,jr){kr(po,jr),mi([gr],jr)});return[Wr,Uo]}var rr=z(95845);function qr(Oe,qe,tt){var Ft=x.useRef({});return(!("value"in Ft.current)||tt(Ft.current.condition,qe))&&(Ft.current.value=Oe(),Ft.current.condition=qe),Ft.current.value}function Jo(Oe,qe){typeof Oe=="function"?Oe(qe):(0,re.Z)(Oe)==="object"&&Oe&&"current"in Oe&&(Oe.current=qe)}function da(){for(var Oe=arguments.length,qe=new Array(Oe),tt=0;tt<Oe;tt++)qe[tt]=arguments[tt];var Ft=qe.filter(function(pn){return pn});return Ft.length<=1?Ft[0]:function(pn){qe.forEach(function(ea){Jo(ea,pn)})}}function Vr(){for(var Oe=arguments.length,qe=new Array(Oe),tt=0;tt<Oe;tt++)qe[tt]=arguments[tt];return qr(function(){return da.apply(void 0,qe)},qe,function(Ft,pn){return Ft.length!==pn.length||Ft.every(function(ea,aa){return ea!==pn[aa]})})}function ft(Oe){var qe,tt,Ft=(0,rr.isMemo)(Oe)?Oe.type.type:Oe.type;return!(typeof Ft=="function"&&!((qe=Ft.prototype)!==null&&qe!==void 0&&qe.render)||typeof Oe=="function"&&!((tt=Oe.prototype)!==null&&tt!==void 0&&tt.render))}function vn(Oe){return!isValidElement(Oe)||isFragment(Oe)?!1:ft(Oe)}function an(Oe,qe,tt,Ft){if(!qe.length)return tt;var pn=_toArray(qe),ea=pn[0],aa=pn.slice(1),ar;return!Oe&&typeof ea=="number"?ar=[]:Array.isArray(Oe)?ar=_toConsumableArray(Oe):ar=_objectSpread({},Oe),Ft&&tt===void 0&&aa.length===1?delete ar[ea][aa[0]]:ar[ea]=an(ar[ea],aa,tt,Ft),ar}function mn(Oe,qe,tt){var Ft=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!1;return qe.length&&Ft&&tt===void 0&&!get(Oe,qe.slice(0,-1))?Oe:an(Oe,qe,tt,Ft)}function ca(Oe){return _typeof(Oe)==="object"&&Oe!==null&&Object.getPrototypeOf(Oe)===Object.prototype}function fn(Oe){return Array.isArray(Oe)?[]:{}}var la=typeof Reflect=="undefined"?Object.keys:Reflect.ownKeys;function Tn(){for(var Oe=arguments.length,qe=new Array(Oe),tt=0;tt<Oe;tt++)qe[tt]=arguments[tt];var Ft=fn(qe[0]);return qe.forEach(function(pn){function ea(aa,ar){var pr=new Set(ar),dr=get(pn,aa),kr=Array.isArray(dr);if(kr||ca(dr)){if(!pr.has(dr)){pr.add(dr);var gr=get(Ft,aa);kr?Ft=mn(Ft,aa,[]):(!gr||_typeof(gr)!=="object")&&(Ft=mn(Ft,aa,fn(dr))),la(dr).forEach(function(Wr){ea([].concat(_toConsumableArray(aa),[Wr]),pr)})}}else Ft=mn(Ft,aa,dr)}ea([])}),Ft}var Sa={},Qa=[],Br=function(qe){Qa.push(qe)};function no(Oe,qe){if(0)var tt}function No(Oe,qe){if(0)var tt}function Hn(){Sa={}}function Qi(Oe,qe,tt){!qe&&!Sa[tt]&&(Oe(!1,tt),Sa[tt]=!0)}function yi(Oe,qe){Qi(no,Oe,qe)}function Yr(Oe,qe){Qi(No,Oe,qe)}yi.preMessage=Br,yi.resetWarned=Hn,yi.noteOnce=Yr;var Pi=null,ha=function(qe){return+setTimeout(qe,16)},tr=function(qe){return clearTimeout(qe)};typeof window!="undefined"&&"requestAnimationFrame"in window&&(ha=function(qe){return window.requestAnimationFrame(qe)},tr=function(qe){return window.cancelAnimationFrame(qe)});var xr=0,fa=new Map;function eo(Oe){fa.delete(Oe)}var Oo=function(qe){var tt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1;xr+=1;var Ft=xr;function pn(ea){if(ea===0)eo(Ft),qe();else{var aa=ha(function(){pn(ea-1)});fa.set(Ft,aa)}}return pn(tt),Ft};Oo.cancel=function(Oe){var qe=fa.get(Oe);return eo(qe),tr(qe)};var Ni=Oo;function fi(Oe,qe,tt,Ft,pn,ea,aa,ar){var pr=x.useRef(Oe),dr=x.useRef(!1);pr.current!==Oe&&(dr.current=!0,pr.current=Oe),x.useEffect(function(){var kr=Ni(function(){dr.current=!1});return function(){Ni.cancel(kr)}},[Oe]),x.useEffect(function(){if(qe&&Ft&&(!pn||ea)){var kr=function(){var qi=!1,vi=function(al){var si=al.target;qi=aa(si)},wl=function(al){var si=al.target;!dr.current&&pr.current&&!qi&&!aa(si)&&ar(!1)};return[vi,wl]},gr=kr(),Wr=(0,je.Z)(gr,2),Or=Wr[0],vo=Wr[1],ui=kr(),Qo=(0,je.Z)(ui,2),mi=Qo[0],Uo=Qo[1],po=pa(Ft);po.addEventListener("mousedown",Or,!0),po.addEventListener("click",vo,!0),po.addEventListener("contextmenu",vo,!0);var jr=Zt(tt);if(jr&&(jr.addEventListener("mousedown",mi,!0),jr.addEventListener("click",Uo,!0),jr.addEventListener("contextmenu",Uo,!0)),0)var dl,Vi,cl,bl;return function(){po.removeEventListener("mousedown",Or,!0),po.removeEventListener("click",vo,!0),po.removeEventListener("contextmenu",vo,!0),jr&&(jr.removeEventListener("mousedown",mi,!0),jr.removeEventListener("click",Uo,!0),jr.removeEventListener("contextmenu",Uo,!0))}}},[qe,tt,Ft,pn,ea])}function Ii(Oe){return Oe instanceof HTMLElement||Oe instanceof SVGElement}function Ol(Oe){return Ii(Oe)?Oe:Oe instanceof x.Component?Ke.findDOMNode(Oe):null}function tl(Oe,qe){var tt={};return tt[Oe.toLowerCase()]=qe.toLowerCase(),tt["Webkit".concat(Oe)]="webkit".concat(qe),tt["Moz".concat(Oe)]="moz".concat(qe),tt["ms".concat(Oe)]="MS".concat(qe),tt["O".concat(Oe)]="o".concat(qe.toLowerCase()),tt}function fu(Oe,qe){var tt={animationend:tl("Animation","AnimationEnd"),transitionend:tl("Transition","TransitionEnd")};return Oe&&("AnimationEvent"in qe||delete tt.animationend.animation,"TransitionEvent"in qe||delete tt.transitionend.transition),tt}var ga=fu(De(),typeof window!="undefined"?window:{}),lr={};if(De()){var Ar=document.createElement("div");lr=Ar.style}var Ai={};function ul(Oe){if(Ai[Oe])return Ai[Oe];var qe=ga[Oe];if(qe)for(var tt=Object.keys(qe),Ft=tt.length,pn=0;pn<Ft;pn+=1){var ea=tt[pn];if(Object.prototype.hasOwnProperty.call(qe,ea)&&ea in lr)return Ai[Oe]=qe[ea],Ai[Oe]}return""}var kl=ul("animationend"),vl=ul("transitionend"),hl=!!(kl&&vl),ru=kl||"animationend",Po=vl||"transitionend";function fe(Oe,qe){if(!Oe)return null;if((0,re.Z)(Oe)==="object"){var tt=qe.replace(/-\w/g,function(Ft){return Ft[1].toUpperCase()});return Oe[tt]}return"".concat(Oe,"-").concat(qe)}var ye="none",ke="appear",Pe="enter",et="leave",ut="none",St="prepare",nt="start",ct="active",vt="end";function hn(Oe){var qe=x.useRef(!1),tt=x.useState(Oe),Ft=(0,je.Z)(tt,2),pn=Ft[0],ea=Ft[1];x.useEffect(function(){return qe.current=!1,function(){qe.current=!0}},[]);function aa(ar,pr){pr&&qe.current||ea(ar)}return[pn,aa]}var Cn=function(qe){return+setTimeout(qe,16)},oa=function(qe){return clearTimeout(qe)};typeof window!="undefined"&&"requestAnimationFrame"in window&&(Cn=function(qe){return window.requestAnimationFrame(qe)},oa=function(qe){return window.cancelAnimationFrame(qe)});var $n=0,Ia=new Map;function xa(Oe){Ia.delete(Oe)}var Mn=function(qe){var tt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1;$n+=1;var Ft=$n;function pn(ea){if(ea===0)xa(Ft),qe();else{var aa=Cn(function(){pn(ea-1)});Ia.set(Ft,aa)}}return pn(tt),Ft};Mn.cancel=function(Oe){var qe=Ia.get(Oe);return xa(qe),oa(qe)};var jt=Mn,Fn=function(){var Oe=x.useRef(null);function qe(){jt.cancel(Oe.current)}function tt(Ft){var pn=arguments.length>1&&arguments[1]!==void 0?arguments[1]:2;qe();var ea=jt(function(){pn<=1?Ft({isCanceled:function(){return ea!==Oe.current}}):tt(Ft,pn-1)});Oe.current=ea}return x.useEffect(function(){return function(){qe()}},[]),[tt,qe]},Rn=De()?x.useLayoutEffect:x.useEffect,Ca=Rn,Ta=[St,nt,ct,vt],Ma=!1,Ja=!0;function Za(Oe){return Oe===ct||Oe===vt}var ma=function(Oe,qe){var tt=hn(ut),Ft=(0,je.Z)(tt,2),pn=Ft[0],ea=Ft[1],aa=Fn(),ar=(0,je.Z)(aa,2),pr=ar[0],dr=ar[1];function kr(){ea(St,!0)}return Ca(function(){if(pn!==ut&&pn!==vt){var gr=Ta.indexOf(pn),Wr=Ta[gr+1],Or=qe(pn);Or===Ma?ea(Wr,!0):pr(function(vo){function ui(){vo.isCanceled()||ea(Wr,!0)}Or===!0?ui():Promise.resolve(Or).then(ui)})}},[Oe,pn]),x.useEffect(function(){return function(){dr()}},[]),[kr,pn]},za=function(Oe){var qe=(0,x.useRef)(),tt=(0,x.useRef)(Oe);tt.current=Oe;var Ft=x.useCallback(function(aa){tt.current(aa)},[]);function pn(aa){aa&&(aa.removeEventListener(Po,Ft),aa.removeEventListener(ru,Ft))}function ea(aa){qe.current&&qe.current!==aa&&pn(qe.current),aa&&aa!==qe.current&&(aa.addEventListener(Po,Ft),aa.addEventListener(ru,Ft),qe.current=aa)}return x.useEffect(function(){return function(){pn(qe.current)}},[]),[ea,pn]};function Na(Oe,qe,tt,Ft){var pn=Ft.motionEnter,ea=pn===void 0?!0:pn,aa=Ft.motionAppear,ar=aa===void 0?!0:aa,pr=Ft.motionLeave,dr=pr===void 0?!0:pr,kr=Ft.motionDeadline,gr=Ft.motionLeaveImmediately,Wr=Ft.onAppearPrepare,Or=Ft.onEnterPrepare,vo=Ft.onLeavePrepare,ui=Ft.onAppearStart,Qo=Ft.onEnterStart,mi=Ft.onLeaveStart,Uo=Ft.onAppearActive,po=Ft.onEnterActive,jr=Ft.onLeaveActive,dl=Ft.onAppearEnd,Vi=Ft.onEnterEnd,cl=Ft.onLeaveEnd,bl=Ft.onVisibleChanged,Xl=hn(),qi=(0,je.Z)(Xl,2),vi=qi[0],wl=qi[1],Il=hn(ye),al=(0,je.Z)(Il,2),si=al[0],ji=al[1],Ho=hn(null),Zl=(0,je.Z)(Ho,2),Ri=Zl[0],Gl=Zl[1],vu=(0,x.useRef)(!1),$l=(0,x.useRef)(null);function Nu(){return tt()}var Ou=(0,x.useRef)(!1);function ki(Yi){var Lo=Nu();if(!(Yi&&!Yi.deadline&&Yi.target!==Lo)){var zl=Ou.current,Bu;si===ke&&zl?Bu=dl==null?void 0:dl(Lo,Yi):si===Pe&&zl?Bu=Vi==null?void 0:Vi(Lo,Yi):si===et&&zl&&(Bu=cl==null?void 0:cl(Lo,Yi)),si!==ye&&zl&&Bu!==!1&&(ji(ye,!0),Gl(null,!0))}}var Du=za(ki),Ml=(0,je.Z)(Du,1),Ki=Ml[0],gl=x.useMemo(function(){var Yi,Lo,zl;switch(si){case ke:return Yi={},(0,se.Z)(Yi,St,Wr),(0,se.Z)(Yi,nt,ui),(0,se.Z)(Yi,ct,Uo),Yi;case Pe:return Lo={},(0,se.Z)(Lo,St,Or),(0,se.Z)(Lo,nt,Qo),(0,se.Z)(Lo,ct,po),Lo;case et:return zl={},(0,se.Z)(zl,St,vo),(0,se.Z)(zl,nt,mi),(0,se.Z)(zl,ct,jr),zl;default:return{}}},[si]),hu=ma(si,function(Yi){if(Yi===St){var Lo=gl[St];return Lo?Lo(Nu()):Ma}if(su in gl){var zl;Gl(((zl=gl[su])===null||zl===void 0?void 0:zl.call(gl,Nu(),null))||null)}return su===ct&&(Ki(Nu()),kr>0&&(clearTimeout($l.current),$l.current=setTimeout(function(){ki({deadline:!0})},kr))),Ja}),zu=(0,je.Z)(hu,2),$u=zu[0],su=zu[1],Tl=Za(su);Ou.current=Tl,Ca(function(){wl(qe);var Yi=vu.current;if(vu.current=!0,!!Oe){var Lo;!Yi&&qe&&ar&&(Lo=ke),Yi&&qe&&ea&&(Lo=Pe),(Yi&&!qe&&dr||!Yi&&gr&&!qe&&dr)&&(Lo=et),Lo&&(ji(Lo),$u())}},[qe]),(0,x.useEffect)(function(){(si===ke&&!ar||si===Pe&&!ea||si===et&&!dr)&&ji(ye)},[ar,ea,dr]),(0,x.useEffect)(function(){return function(){vu.current=!1,clearTimeout($l.current)}},[]);var wu=x.useRef(!1);(0,x.useEffect)(function(){vi&&(wu.current=!0),vi!==void 0&&si===ye&&((wu.current||vi)&&(bl==null||bl(vi)),wu.current=!0)},[vi,si]);var Ql=Ri;return gl[St]&&su===nt&&(Ql=(0,Le.Z)({transition:"none"},Ql)),[si,su,Ql,vi!=null?vi:qe]}var cr=z(15671),br=z(43144),oo=z(60136),zo=z(51630),ai=function(Oe){(0,oo.Z)(tt,Oe);var qe=(0,zo.Z)(tt);function tt(){return(0,cr.Z)(this,tt),qe.apply(this,arguments)}return(0,br.Z)(tt,[{key:"render",value:function(){return this.props.children}}]),tt}(x.Component),ya=ai;function ri(Oe){var qe=Oe;(0,re.Z)(Oe)==="object"&&(qe=Oe.transitionSupport);function tt(pn){return!!(pn.motionName&&qe)}var Ft=x.forwardRef(function(pn,ea){var aa=pn.visible,ar=aa===void 0?!0:aa,pr=pn.removeOnLeave,dr=pr===void 0?!0:pr,kr=pn.forceRender,gr=pn.children,Wr=pn.motionName,Or=pn.leavedClassName,vo=pn.eventProps,ui=tt(pn),Qo=(0,x.useRef)(),mi=(0,x.useRef)();function Uo(){try{return Qo.current instanceof HTMLElement?Qo.current:Ol(mi.current)}catch(Ho){return null}}var po=Na(ui,ar,Uo,pn),jr=(0,je.Z)(po,4),dl=jr[0],Vi=jr[1],cl=jr[2],bl=jr[3],Xl=x.useRef(bl);bl&&(Xl.current=!0);var qi=x.useCallback(function(Ho){Qo.current=Ho,de(ea,Ho)},[ea]),vi,wl=(0,Le.Z)((0,Le.Z)({},vo),{},{visible:ar});if(!gr)vi=null;else if(dl===ye||!tt(pn))bl?vi=gr((0,Le.Z)({},wl),qi):!dr&&Xl.current&&Or?vi=gr((0,Le.Z)((0,Le.Z)({},wl),{},{className:Or}),qi):kr||!dr&&!Or?vi=gr((0,Le.Z)((0,Le.Z)({},wl),{},{style:{display:"none"}}),qi):vi=null;else{var Il,al;Vi===St?al="prepare":Za(Vi)?al="active":Vi===nt&&(al="start"),vi=gr((0,Le.Z)((0,Le.Z)({},wl),{},{className:we()(fe(Wr,dl),(Il={},(0,se.Z)(Il,fe(Wr,"".concat(dl,"-").concat(al)),al),(0,se.Z)(Il,Wr,typeof Wr=="string"),Il)),style:cl}),qi)}if(x.isValidElement(vi)&&be(vi)){var si=vi,ji=si.ref;ji||(vi=x.cloneElement(vi,{ref:qi}))}return x.createElement(ya,{ref:mi},vi)});return Ft.displayName="CSSMotion",Ft}var Ji=ri(hl),Kl=z(97326),mu="add",Ll="keep",sl="remove",Ti="removed";function Cu(Oe){var qe;return Oe&&(0,re.Z)(Oe)==="object"&&"key"in Oe?qe=Oe:qe={key:Oe},(0,Le.Z)((0,Le.Z)({},qe),{},{key:String(qe.key)})}function Cl(){var Oe=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];return Oe.map(Cu)}function bu(){var Oe=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],qe=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],tt=[],Ft=0,pn=qe.length,ea=Cl(Oe),aa=Cl(qe);ea.forEach(function(dr){for(var kr=!1,gr=Ft;gr<pn;gr+=1){var Wr=aa[gr];if(Wr.key===dr.key){Ft<gr&&(tt=tt.concat(aa.slice(Ft,gr).map(function(Or){return(0,Le.Z)((0,Le.Z)({},Or),{},{status:mu})})),Ft=gr),tt.push((0,Le.Z)((0,Le.Z)({},Wr),{},{status:Ll})),Ft+=1,kr=!0;break}}kr||tt.push((0,Le.Z)((0,Le.Z)({},dr),{},{status:sl}))}),Ft<pn&&(tt=tt.concat(aa.slice(Ft).map(function(dr){return(0,Le.Z)((0,Le.Z)({},dr),{},{status:mu})})));var ar={};tt.forEach(function(dr){var kr=dr.key;ar[kr]=(ar[kr]||0)+1});var pr=Object.keys(ar).filter(function(dr){return ar[dr]>1});return pr.forEach(function(dr){tt=tt.filter(function(kr){var gr=kr.key,Wr=kr.status;return gr!==dr||Wr!==sl}),tt.forEach(function(kr){kr.key===dr&&(kr.status=Ll)})}),tt}var ln=["component","children","onVisibleChanged","onAllRemoved"],Vt=["status"],_t=["eventProps","visible","children","motionName","motionAppear","motionEnter","motionLeave","motionLeaveImmediately","motionDeadline","removeOnLeave","leavedClassName","onAppearStart","onAppearActive","onAppearEnd","onEnterStart","onEnterActive","onEnterEnd","onLeaveStart","onLeaveActive","onLeaveEnd"];function ka(Oe){var qe=arguments.length>1&&arguments[1]!==void 0?arguments[1]:Ji,tt=function(Ft){(0,oo.Z)(ea,Ft);var pn=(0,zo.Z)(ea);function ea(){var aa;(0,cr.Z)(this,ea);for(var ar=arguments.length,pr=new Array(ar),dr=0;dr<ar;dr++)pr[dr]=arguments[dr];return aa=pn.call.apply(pn,[this].concat(pr)),(0,se.Z)((0,Kl.Z)(aa),"state",{keyEntities:[]}),(0,se.Z)((0,Kl.Z)(aa),"removeKey",function(kr){var gr=aa.state.keyEntities,Wr=gr.map(function(Or){return Or.key!==kr?Or:(0,Le.Z)((0,Le.Z)({},Or),{},{status:Ti})});return aa.setState({keyEntities:Wr}),Wr.filter(function(Or){var vo=Or.status;return vo!==Ti}).length}),aa}return(0,br.Z)(ea,[{key:"render",value:function(){var ar=this,pr=this.state.keyEntities,dr=this.props,kr=dr.component,gr=dr.children,Wr=dr.onVisibleChanged,Or=dr.onAllRemoved,vo=(0,Te.Z)(dr,ln),ui=kr||x.Fragment,Qo={};return _t.forEach(function(mi){Qo[mi]=vo[mi],delete vo[mi]}),delete vo.keys,x.createElement(ui,vo,pr.map(function(mi){var Uo=mi.status,po=(0,Te.Z)(mi,Vt),jr=Uo===mu||Uo===Ll;return x.createElement(qe,(0,ze.Z)({},Qo,{key:po.key,visible:jr,eventProps:po,onVisibleChanged:function(Vi){if(Wr==null||Wr(Vi,{key:po.key}),!Vi){var cl=ar.removeKey(po.key);cl===0&&Or&&Or()}}}),gr)}))}}],[{key:"getDerivedStateFromProps",value:function(ar,pr){var dr=ar.keys,kr=pr.keyEntities,gr=Cl(dr),Wr=bu(kr,gr);return{keyEntities:Wr.filter(function(Or){var vo=kr.find(function(ui){var Qo=ui.key;return Or.key===Qo});return!(vo&&vo.status===Ti&&Or.status===sl)})}}}]),ea}(x.Component);return(0,se.Z)(tt,"defaultProps",{component:"div"}),tt}var Mr=ka(hl),Wa=Ji;function Qn(Oe){var qe=Oe.prefixCls,tt=Oe.align,Ft=Oe.arrow,pn=Oe.arrowPos,ea=Ft||{},aa=ea.className,ar=ea.content,pr=pn.x,dr=pr===void 0?0:pr,kr=pn.y,gr=kr===void 0?0:kr,Wr=x.useRef();if(!tt||!tt.points)return null;var Or={position:"absolute"};if(tt.autoArrow!==!1){var vo=tt.points[0],ui=tt.points[1],Qo=vo[0],mi=vo[1],Uo=ui[0],po=ui[1];Qo===Uo||!["t","b"].includes(Qo)?Or.top=gr:Qo==="t"?Or.top=0:Or.bottom=0,mi===po||!["l","r"].includes(mi)?Or.left=dr:mi==="l"?Or.left=0:Or.right=0}return x.createElement("div",{ref:Wr,className:we()("".concat(qe,"-arrow"),aa),style:Or},ar)}function mr(Oe){var qe=Oe.prefixCls,tt=Oe.open,Ft=Oe.zIndex,pn=Oe.mask,ea=Oe.motion;return pn?x.createElement(Wa,(0,ze.Z)({},ea,{motionAppear:!0,visible:tt,removeOnLeave:!0}),function(aa){var ar=aa.className;return x.createElement("div",{style:{zIndex:Ft},className:we()("".concat(qe,"-mask"),ar)})}):null}var kn=x.memo(function(Oe){var qe=Oe.children;return qe},function(Oe,qe){return qe.cache}),na=kn,hr=x.forwardRef(function(Oe,qe){var tt=Oe.popup,Ft=Oe.className,pn=Oe.prefixCls,ea=Oe.style,aa=Oe.target,ar=Oe.onVisibleChanged,pr=Oe.open,dr=Oe.keepDom,kr=Oe.fresh,gr=Oe.onClick,Wr=Oe.mask,Or=Oe.arrow,vo=Oe.arrowPos,ui=Oe.align,Qo=Oe.motion,mi=Oe.maskMotion,Uo=Oe.forceRender,po=Oe.getPopupContainer,jr=Oe.autoDestroy,dl=Oe.portal,Vi=Oe.zIndex,cl=Oe.onMouseEnter,bl=Oe.onMouseLeave,Xl=Oe.onPointerEnter,qi=Oe.ready,vi=Oe.offsetX,wl=Oe.offsetY,Il=Oe.offsetR,al=Oe.offsetB,si=Oe.onAlign,ji=Oe.onPrepare,Ho=Oe.stretch,Zl=Oe.targetWidth,Ri=Oe.targetHeight,Gl=typeof tt=="function"?tt():tt,vu=pr||dr,$l=(po==null?void 0:po.length)>0,Nu=x.useState(!po||!$l),Ou=(0,je.Z)(Nu,2),ki=Ou[0],Du=Ou[1];if(Jt(function(){!ki&&$l&&aa&&Du(!0)},[ki,$l,aa]),!ki)return null;var Ml="auto",Ki={left:"-1000vw",top:"-1000vh",right:Ml,bottom:Ml};if(qi||!pr){var gl,hu=ui.points,zu=ui.dynamicInset||((gl=ui._experimental)===null||gl===void 0?void 0:gl.dynamicInset),$u=zu&&hu[0][1]==="r",su=zu&&hu[0][0]==="b";$u?(Ki.right=Il,Ki.left=Ml):(Ki.left=vi,Ki.right=Ml),su?(Ki.bottom=al,Ki.top=Ml):(Ki.top=wl,Ki.bottom=Ml)}var Tl={};return Ho&&(Ho.includes("height")&&Ri?Tl.height=Ri:Ho.includes("minHeight")&&Ri&&(Tl.minHeight=Ri),Ho.includes("width")&&Zl?Tl.width=Zl:Ho.includes("minWidth")&&Zl&&(Tl.minWidth=Zl)),pr||(Tl.pointerEvents="none"),x.createElement(dl,{open:Uo||vu,getContainer:po&&function(){return po(aa)},autoDestroy:jr},x.createElement(mr,{prefixCls:pn,open:pr,zIndex:Vi,mask:Wr,motion:mi}),x.createElement(Je.Z,{onResize:si,disabled:!pr},function(wu){return x.createElement(Wa,(0,ze.Z)({motionAppear:!0,motionEnter:!0,motionLeave:!0,removeOnLeave:!1,forceRender:Uo,leavedClassName:"".concat(pn,"-hidden")},Qo,{onAppearPrepare:ji,onEnterPrepare:ji,visible:pr,onVisibleChanged:function(Yi){var Lo;Qo==null||(Lo=Qo.onVisibleChanged)===null||Lo===void 0||Lo.call(Qo,Yi),ar(Yi)}}),function(Ql,Yi){var Lo=Ql.className,zl=Ql.style,Bu=we()(pn,Lo,Ft);return x.createElement("div",{ref:da(wu,qe,Yi),className:Bu,style:(0,Le.Z)((0,Le.Z)((0,Le.Z)((0,Le.Z)({"--arrow-x":"".concat(vo.x||0,"px"),"--arrow-y":"".concat(vo.y||0,"px")},Ki),Tl),zl),{},{boxSizing:"border-box",zIndex:Vi},ea),onMouseEnter:cl,onMouseLeave:bl,onPointerEnter:Xl,onClick:gr},Or&&x.createElement(Qn,{prefixCls:pn,arrow:Or,arrowPos:vo,align:ui}),x.createElement(na,{cache:!pr&&!kr},Gl))})}))}),Do=hr,sr=x.forwardRef(function(Oe,qe){var tt=Oe.children,Ft=Oe.getTriggerDOMNode,pn=ft(tt),ea=x.useCallback(function(ar){Jo(qe,Ft?Ft(ar):ar)},[Ft]),aa=Vr(ea,tt.ref);return pn?x.cloneElement(tt,{ref:aa}):tt}),Hi=sr,$o=["prefixCls","children","action","showAction","hideAction","popupVisible","defaultPopupVisible","onPopupVisibleChange","afterPopupVisibleChange","mouseEnterDelay","mouseLeaveDelay","focusDelay","blurDelay","mask","maskClosable","getPopupContainer","forceRender","autoDestroy","destroyPopupOnHide","popup","popupClassName","popupStyle","popupPlacement","builtinPlacements","popupAlign","zIndex","stretch","getPopupClassNameFromAlign","fresh","alignPoint","onPopupClick","onPopupAlign","arrow","popupMotion","maskMotion","popupTransitionName","popupAnimation","maskTransitionName","maskAnimation","className","getTriggerDOMNode"];function wr(){var Oe=arguments.length>0&&arguments[0]!==void 0?arguments[0]:bn,qe=x.forwardRef(function(tt,Ft){var pn=tt.prefixCls,ea=pn===void 0?"rc-trigger-popup":pn,aa=tt.children,ar=tt.action,pr=ar===void 0?"hover":ar,dr=tt.showAction,kr=tt.hideAction,gr=tt.popupVisible,Wr=tt.defaultPopupVisible,Or=tt.onPopupVisibleChange,vo=tt.afterPopupVisibleChange,ui=tt.mouseEnterDelay,Qo=tt.mouseLeaveDelay,mi=Qo===void 0?.1:Qo,Uo=tt.focusDelay,po=tt.blurDelay,jr=tt.mask,dl=tt.maskClosable,Vi=dl===void 0?!0:dl,cl=tt.getPopupContainer,bl=tt.forceRender,Xl=tt.autoDestroy,qi=tt.destroyPopupOnHide,vi=tt.popup,wl=tt.popupClassName,Il=tt.popupStyle,al=tt.popupPlacement,si=tt.builtinPlacements,ji=si===void 0?{}:si,Ho=tt.popupAlign,Zl=tt.zIndex,Ri=tt.stretch,Gl=tt.getPopupClassNameFromAlign,vu=tt.fresh,$l=tt.alignPoint,Nu=tt.onPopupClick,Ou=tt.onPopupAlign,ki=tt.arrow,Du=tt.popupMotion,Ml=tt.maskMotion,Ki=tt.popupTransitionName,gl=tt.popupAnimation,hu=tt.maskTransitionName,zu=tt.maskAnimation,$u=tt.className,su=tt.getTriggerDOMNode,Tl=(0,Te.Z)(tt,$o),wu=Xl||qi||!1,Ql=x.useState(!1),Yi=(0,je.Z)(Ql,2),Lo=Yi[0],zl=Yi[1];Jt(function(){zl(xn())},[]);var Bu=x.useRef({}),Qu=x.useContext(jn),ls=x.useMemo(function(){return{registerSubPopup:function(_r,Ko){Bu.current[_r]=Ko,Qu==null||Qu.registerSubPopup(_r,Ko)}}},[Qu]),Ku=In(),ys=x.useState(null),Ts=(0,je.Z)(ys,2),Ju=Ts[0],fd=Ts[1],Gu=ot(function(Va){He(Va)&&Ju!==Va&&fd(Va),Qu==null||Qu.registerSubPopup(Ku,Va)}),qu=x.useState(null),Rs=(0,je.Z)(qu,2),ns=Rs[0],Qs=Rs[1],md=ot(function(Va){He(Va)&&ns!==Va&&Qs(Va)}),ks=x.Children.only(aa),Wu=(ks==null?void 0:ks.props)||{},Ps={},vd=ot(function(Va){var _r,Ko,Zi=ns;return(Zi==null?void 0:Zi.contains(Va))||((_r=Zt(Zi))===null||_r===void 0?void 0:_r.host)===Va||Va===Zi||(Ju==null?void 0:Ju.contains(Va))||((Ko=Zt(Ju))===null||Ko===void 0?void 0:Ko.host)===Va||Va===Ju||Object.values(Bu.current).some(function(vr){return(vr==null?void 0:vr.contains(Va))||Va===vr})}),fs=Fa(ea,Du,gl,Ki),Iu=Fa(ea,Ml,zu,hu),Zs=x.useState(Wr||!1),Es=(0,je.Z)(Zs,2),us=Es[0],Wl=Es[1],ol=gr!=null?gr:us,Uu=ot(function(Va){gr===void 0&&Wl(Va)});Jt(function(){Wl(gr||!1)},[gr]);var ss=x.useRef(ol);ss.current=ol;var zs=ot(function(Va){(0,Ke.flushSync)(function(){ol!==Va&&(Uu(Va),Or==null||Or(Va))})}),Js=x.useRef(),Ws=function(){clearTimeout(Js.current)},es=function(_r){var Ko=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0;Ws(),Ko===0?zs(_r):Js.current=setTimeout(function(){zs(_r)},Ko*1e3)};x.useEffect(function(){return Ws},[]);var Hs=x.useState(!1),qs=(0,je.Z)(Hs,2),ms=qs[0],ed=qs[1];Jt(function(Va){(!Va||ol)&&ed(!0)},[ol]);var js=x.useState(null),td=(0,je.Z)(js,2),ds=td[0],Cs=td[1],bs=x.useState([0,0]),ws=(0,je.Z)(bs,2),Ks=ws[0],nd=ws[1],as=function(_r){nd([_r.clientX,_r.clientY])},Vu=qn(ol,Ju,$l?Ks:ns,al,ji,Ho,Ou),Hu=(0,je.Z)(Vu,11),xs=Hu[0],ce=Hu[1],me=Hu[2],Be=Hu[3],We=Hu[4],Qe=Hu[5],it=Hu[6],Pt=Hu[7],Ot=Hu[8],Mt=Hu[9],tn=Hu[10],Pn=La(Lo,pr,dr,kr),sn=(0,je.Z)(Pn,2),Un=sn[0],Vn=sn[1],ta=Un.has("click"),Ra=Vn.has("click")||Vn.has("contextMenu"),wa=ot(function(){ms||tn()}),Ka=function(){ss.current&&$l&&Ra&&es(!1)};Qt(ol,ns,Ju,wa,Ka),Jt(function(){wa()},[Ks,al]),Jt(function(){ol&&!(ji!=null&&ji[al])&&wa()},[JSON.stringify(Ho)]);var Ba=x.useMemo(function(){var Va=Sn(ji,ea,Mt,$l);return we()(Va,Gl==null?void 0:Gl(Mt))},[Mt,Gl,ji,ea,$l]);x.useImperativeHandle(Ft,function(){return{forceAlign:wa}});var qa=x.useState(0),Fr=(0,je.Z)(qa,2),Zr=Fr[0],Cr=Fr[1],uo=x.useState(0),Ao=(0,je.Z)(uo,2),fr=Ao[0],Pr=Ao[1],or=function(){if(Ri&&ns){var _r=ns.getBoundingClientRect();Cr(_r.width),Pr(_r.height)}},$a=function(){or(),wa()},Er=function(_r){ed(!1),tn(),vo==null||vo(_r)},Tr=function(){return new Promise(function(_r){or(),Cs(function(){return _r})})};Jt(function(){ds&&(tn(),ds(),Cs(null))},[ds]);function co(Va,_r,Ko,Zi){Ps[Va]=function(vr){var zr;Zi==null||Zi(vr),es(_r,Ko);for(var Kr=arguments.length,Rr=new Array(Kr>1?Kr-1:0),gi=1;gi<Kr;gi++)Rr[gi-1]=arguments[gi];(zr=Wu[Va])===null||zr===void 0||zr.call.apply(zr,[Wu,vr].concat(Rr))}}(ta||Ra)&&(Ps.onClick=function(Va){var _r;ss.current&&Ra?es(!1):!ss.current&&ta&&(as(Va),es(!0));for(var Ko=arguments.length,Zi=new Array(Ko>1?Ko-1:0),vr=1;vr<Ko;vr++)Zi[vr-1]=arguments[vr];(_r=Wu.onClick)===null||_r===void 0||_r.call.apply(_r,[Wu,Va].concat(Zi))}),fi(ol,Ra,ns,Ju,jr,Vi,vd,es);var Eo=Un.has("hover"),Ir=Vn.has("hover"),Io,jo;Eo&&(co("onMouseEnter",!0,ui,function(Va){as(Va)}),co("onPointerEnter",!0,ui,function(Va){as(Va)}),Io=function(){(ol||ms)&&es(!0,ui)},$l&&(Ps.onMouseMove=function(Va){var _r;(_r=Wu.onMouseMove)===null||_r===void 0||_r.call(Wu,Va)})),Ir&&(co("onMouseLeave",!1,mi),co("onPointerLeave",!1,mi),jo=function(){es(!1,mi)}),Un.has("focus")&&co("onFocus",!0,Uo),Vn.has("focus")&&co("onBlur",!1,po),Un.has("contextMenu")&&(Ps.onContextMenu=function(Va){var _r;ss.current&&Vn.has("contextMenu")?es(!1):(as(Va),es(!0)),Va.preventDefault();for(var Ko=arguments.length,Zi=new Array(Ko>1?Ko-1:0),vr=1;vr<Ko;vr++)Zi[vr-1]=arguments[vr];(_r=Wu.onContextMenu)===null||_r===void 0||_r.call.apply(_r,[Wu,Va].concat(Zi))}),$u&&(Ps.className=we()(Wu.className,$u));var Di=(0,Le.Z)((0,Le.Z)({},Wu),Ps),di={},pl=["onContextMenu","onClick","onMouseDown","onTouchStart","onMouseEnter","onMouseLeave","onFocus","onBlur"];pl.forEach(function(Va){Tl[Va]&&(di[Va]=function(){for(var _r,Ko=arguments.length,Zi=new Array(Ko),vr=0;vr<Ko;vr++)Zi[vr]=arguments[vr];(_r=Di[Va])===null||_r===void 0||_r.call.apply(_r,[Di].concat(Zi)),Tl[Va].apply(Tl,Zi)})});var Sl=x.cloneElement(ks,(0,Le.Z)((0,Le.Z)({},Di),di)),Mo={x:Qe,y:it},Nl=ki?(0,Le.Z)({},ki!==!0?ki:{}):null;return x.createElement(x.Fragment,null,x.createElement(Je.Z,{disabled:!ol,ref:md,onResize:$a},x.createElement(Hi,{getTriggerDOMNode:su},Sl)),x.createElement(jn.Provider,{value:ls},x.createElement(Do,{portal:Oe,ref:Gu,prefixCls:ea,popup:vi,className:we()(wl,Ba),style:Il,target:ns,onMouseEnter:Io,onMouseLeave:jo,onPointerEnter:Io,zIndex:Zl,open:ol,keepDom:ms,fresh:vu,onClick:Nu,mask:jr,motion:fs,maskMotion:Iu,onVisibleChanged:Er,onPrepare:Tr,forceRender:bl,autoDestroy:wu,getPopupContainer:cl,align:Mt,arrow:Nl,arrowPos:Mo,ready:xs,offsetX:ce,offsetY:me,offsetR:Be,offsetB:We,onAlign:wa,stretch:Ri,targetWidth:Zr/Pt,targetHeight:fr/Ot})))});return qe}var oi=wr(bn),ba={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(qe){var tt=qe.keyCode;if(qe.altKey&&!qe.ctrlKey||qe.metaKey||tt>=ba.F1&&tt<=ba.F12)return!1;switch(tt){case ba.ALT:case ba.CAPS_LOCK:case ba.CONTEXT_MENU:case ba.CTRL:case ba.DOWN:case ba.END:case ba.ESC:case ba.HOME:case ba.INSERT:case ba.LEFT:case ba.MAC_FF_META:case ba.META:case ba.NUMLOCK:case ba.NUM_CENTER:case ba.PAGE_DOWN:case ba.PAGE_UP:case ba.PAUSE:case ba.PRINT_SCREEN:case ba.RIGHT:case ba.SHIFT:case ba.UP:case ba.WIN_KEY:case ba.WIN_KEY_RIGHT:return!1;default:return!0}},isCharacterKey:function(qe){if(qe>=ba.ZERO&&qe<=ba.NINE||qe>=ba.NUM_ZERO&&qe<=ba.NUM_MULTIPLY||qe>=ba.A&&qe<=ba.Z||window.navigator.userAgent.indexOf("WebKit")!==-1&&qe===0)return!0;switch(qe){case ba.SPACE:case ba.QUESTION_MARK:case ba.NUM_PLUS:case ba.NUM_MINUS:case ba.NUM_PERIOD:case ba.NUM_DIVISION:case ba.SEMICOLON:case ba.DASH:case ba.EQUALS:case ba.COMMA:case ba.PERIOD:case ba.SLASH:case ba.APOSTROPHE:case ba.SINGLE_QUOTE:case ba.OPEN_SQUARE_BRACKET:case ba.BACKSLASH:case ba.CLOSE_SQUARE_BRACKET:return!0;default:return!1}}},sa=ba,mo=sa.ESC,nl=sa.TAB;function Ua(Oe){var qe=Oe.visible,tt=Oe.triggerRef,Ft=Oe.onVisibleChange,pn=Oe.autoFocus,ea=Oe.overlayRef,aa=x.useRef(!1),ar=function(){if(qe){var gr,Wr;(gr=tt.current)===null||gr===void 0||(Wr=gr.focus)===null||Wr===void 0||Wr.call(gr),Ft==null||Ft(!1)}},pr=function(){var gr;return(gr=ea.current)!==null&&gr!==void 0&&gr.focus?(ea.current.focus(),aa.current=!0,!0):!1},dr=function(gr){switch(gr.keyCode){case mo:ar();break;case nl:{var Wr=!1;aa.current||(Wr=pr()),Wr?gr.preventDefault():ar();break}}};x.useEffect(function(){return qe?(window.addEventListener("keydown",dr),pn&&jt(pr,3),function(){window.removeEventListener("keydown",dr),aa.current=!1}):function(){aa.current=!1}},[qe])}var Oa=(0,x.forwardRef)(function(Oe,qe){var tt=Oe.overlay,Ft=Oe.arrow,pn=Oe.prefixCls,ea=(0,x.useMemo)(function(){var ar;return typeof tt=="function"?ar=tt():ar=tt,ar},[tt]),aa=pe(qe,ea==null?void 0:ea.ref);return x.createElement(x.Fragment,null,Ft&&x.createElement("div",{className:"".concat(pn,"-arrow")}),x.cloneElement(ea,{ref:be(ea)?aa:void 0}))}),Wo=Oa,Fl={adjustX:1,adjustY:1},ia=[0,0],Da={topLeft:{points:["bl","tl"],overflow:Fl,offset:[0,-4],targetOffset:ia},top:{points:["bc","tc"],overflow:Fl,offset:[0,-4],targetOffset:ia},topRight:{points:["br","tr"],overflow:Fl,offset:[0,-4],targetOffset:ia},bottomLeft:{points:["tl","bl"],overflow:Fl,offset:[0,4],targetOffset:ia},bottom:{points:["tc","bc"],overflow:Fl,offset:[0,4],targetOffset:ia},bottomRight:{points:["tr","br"],overflow:Fl,offset:[0,4],targetOffset:ia}},Xa=Da,Nn=["arrow","prefixCls","transitionName","animation","align","placement","placements","getPopupContainer","showAction","hideAction","overlayClassName","overlayStyle","visible","trigger","autoFocus","overlay","children","onVisibleChange"];function ja(Oe,qe){var tt,Ft=Oe.arrow,pn=Ft===void 0?!1:Ft,ea=Oe.prefixCls,aa=ea===void 0?"rc-dropdown":ea,ar=Oe.transitionName,pr=Oe.animation,dr=Oe.align,kr=Oe.placement,gr=kr===void 0?"bottomLeft":kr,Wr=Oe.placements,Or=Wr===void 0?Xa:Wr,vo=Oe.getPopupContainer,ui=Oe.showAction,Qo=Oe.hideAction,mi=Oe.overlayClassName,Uo=Oe.overlayStyle,po=Oe.visible,jr=Oe.trigger,dl=jr===void 0?["hover"]:jr,Vi=Oe.autoFocus,cl=Oe.overlay,bl=Oe.children,Xl=Oe.onVisibleChange,qi=(0,Te.Z)(Oe,Nn),vi=x.useState(),wl=(0,je.Z)(vi,2),Il=wl[0],al=wl[1],si="visible"in Oe?po:Il,ji=x.useRef(null),Ho=x.useRef(null),Zl=x.useRef(null);x.useImperativeHandle(qe,function(){return ji.current});var Ri=function(Ki){al(Ki),Xl==null||Xl(Ki)};Ua({visible:si,triggerRef:Zl,onVisibleChange:Ri,autoFocus:Vi,overlayRef:Ho});var Gl=function(Ki){var gl=Oe.onOverlayClick;al(!1),gl&&gl(Ki)},vu=function(){return x.createElement(Wo,{ref:Ho,overlay:cl,prefixCls:aa,arrow:pn})},$l=function(){return typeof cl=="function"?vu:vu()},Nu=function(){var Ki=Oe.minOverlayWidthMatchTrigger,gl=Oe.alignPoint;return"minOverlayWidthMatchTrigger"in Oe?Ki:!gl},Ou=function(){var Ki=Oe.openClassName;return Ki!==void 0?Ki:"".concat(aa,"-open")},ki=x.cloneElement(bl,{className:we()((tt=bl.props)===null||tt===void 0?void 0:tt.className,si&&Ou()),ref:be(bl)?pe(Zl,bl.ref):void 0}),Du=Qo;return!Du&&dl.indexOf("contextMenu")!==-1&&(Du=["click"]),x.createElement(oi,(0,ze.Z)({builtinPlacements:Or},qi,{prefixCls:aa,ref:ji,popupClassName:we()(mi,(0,se.Z)({},"".concat(aa,"-show-arrow"),pn)),popupStyle:Uo,action:dl,showAction:ui,hideAction:Du,popupPlacement:gr,popupAlign:dr,popupTransitionName:ar,popupAnimation:pr,popupVisible:si,stretch:Nu()?"minWidth":"",popup:$l(),onPopupVisibleChange:Ri,onPopupClick:Gl,getPopupContainer:vo}),ki)}var Wn=x.forwardRef(ja),Bo=Wn,to=z(60276),io=z(5663),qo=z(10366),Jr=z(80636),li=z(8745),ir=z(96159),Ro=z(53124),Oi=z(68508),Fi=z(76529),Gn=z(46605),Pa=z(66748);const Nr=null,va=Oe=>{const{menu:qe,arrow:tt,prefixCls:Ft,children:pn,trigger:ea,disabled:aa,dropdownRender:ar,getPopupContainer:pr,overlayClassName:dr,rootClassName:kr,open:gr,onOpenChange:Wr,visible:Or,onVisibleChange:vo,mouseEnterDelay:ui=.15,mouseLeaveDelay:Qo=.1,autoAdjustOverflow:mi=!0,placement:Uo="",overlay:po,transitionName:jr}=Oe,{getPopupContainer:dl,getPrefixCls:Vi,direction:cl}=x.useContext(Ro.E_),bl=x.useMemo(()=>{const ki=Vi();return jr!==void 0?jr:Uo.includes("top")?`${ki}-slide-down`:`${ki}-slide-up`},[Vi,Uo,jr]),Xl=x.useMemo(()=>Uo?Uo.includes("Center")?Uo.slice(0,Uo.indexOf("Center")):Uo:cl==="rtl"?"bottomRight":"bottomLeft",[Uo,cl]),qi=Vi("dropdown",Ft),[vi,wl]=(0,Pa.Z)(qi),[,Il]=(0,Gn.Z)(),al=x.Children.only(pn),si=(0,ir.Tm)(al,{className:we()(`${qi}-trigger`,{[`${qi}-rtl`]:cl==="rtl"},al.props.className),disabled:aa}),ji=aa?[]:ea;let Ho;ji&&ji.includes("contextMenu")&&(Ho=!0);const[Zl,Ri]=(0,io.Z)(!1,{value:gr!=null?gr:Or}),Gl=(0,to.useEvent)(ki=>{Wr==null||Wr(ki),vo==null||vo(ki),Ri(ki)}),vu=we()(dr,kr,wl,{[`${qi}-rtl`]:cl==="rtl"}),$l=(0,Jr.Z)({arrowPointAtCenter:typeof tt=="object"&&tt.pointAtCenter,autoAdjustOverflow:mi,offset:Il.marginXXS,arrowWidth:tt?Il.sizePopupArrow:0,borderRadius:Il.borderRadius}),Nu=x.useCallback(()=>{Ri(!1)},[]),Ou=()=>{let ki;return qe!=null&&qe.items?ki=x.createElement(Oi.default,Object.assign({},qe)):typeof po=="function"?ki=po():ki=po,ar&&(ki=ar(ki)),ki=x.Children.only(typeof ki=="string"?x.createElement("span",null,ki):ki),x.createElement(Fi.J,{prefixCls:`${qi}-menu`,expandIcon:x.createElement("span",{className:`${qi}-menu-submenu-arrow`},x.createElement(he.Z,{className:`${qi}-menu-submenu-arrow-icon`})),mode:"vertical",selectable:!1,onClick:Nu,validator:Du=>{let{mode:Ml}=Du}},ki)};return vi(x.createElement(Bo,Object.assign({alignPoint:Ho},(0,qo.Z)(Oe,["rootClassName"]),{mouseEnterDelay:ui,mouseLeaveDelay:Qo,visible:Zl,builtinPlacements:$l,arrow:!!tt,overlayClassName:vu,prefixCls:qi,getPopupContainer:pr||dl,transitionName:bl,trigger:ji,overlay:Ou,placement:Xl,onVisibleChange:Gl}),si))};function nr(Oe){return Object.assign(Object.assign({},Oe),{align:{overflow:{adjustX:!1,adjustY:!1}}})}const xo=(0,li.Z)(va,"dropdown",Oe=>Oe,nr),lo=Oe=>x.createElement(xo,Object.assign({},Oe),x.createElement("span",null));va._InternalPanelDoNotUseOrYouWillBeFired=lo;var Ei=va},85418:function(mt,st,z){"use strict";z.d(st,{Z:function(){return a}});var x=z(56153),ge=z(94184),he=z.n(ge),Fe=z(67294),we=z(25877),ze=z(71577),se=z(53124),je=z(93421),Te=z(4173),Le=z(66748),Ke=function(y,b){var E={};for(var ee in y)Object.prototype.hasOwnProperty.call(y,ee)&&b.indexOf(ee)<0&&(E[ee]=y[ee]);if(y!=null&&typeof Object.getOwnPropertySymbols=="function")for(var te=0,ee=Object.getOwnPropertySymbols(y);te<ee.length;te++)b.indexOf(ee[te])<0&&Object.prototype.propertyIsEnumerable.call(y,ee[te])&&(E[ee[te]]=y[ee[te]]);return E};const De=y=>{const{getPopupContainer:b,getPrefixCls:E,direction:ee}=Fe.useContext(se.E_),{prefixCls:te,type:re="default",danger:oe,disabled:ne,loading:de,onClick:pe,htmlType:Ee,children:be,className:xe,menu:Ce,arrow:Ne,autoFocus:Re,overlay:at,trigger:Ie,align:Ue,open:Ge,onOpenChange:Ve,placement:rt,getPopupContainer:gt,href:xt,icon:Gt=Fe.createElement(we.Z,null),title:yn,buttonsRender:lt=On=>On,mouseEnterDelay:ht,mouseLeaveDelay:Lt,overlayClassName:zt,overlayStyle:dt,destroyPopupOnHide:kt,dropdownRender:Ze}=y,Dn=Ke(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"]),zn=E("dropdown",te),Dt=`${zn}-button`,[rn,en]=(0,Le.Z)(zn),Ht={menu:Ce,arrow:Ne,autoFocus:Re,align:Ue,disabled:ne,trigger:ne?[]:Ie,onOpenChange:Ve,getPopupContainer:gt||b,mouseEnterDelay:ht,mouseLeaveDelay:Lt,overlayClassName:zt,overlayStyle:dt,destroyPopupOnHide:kt,dropdownRender:Ze},{compactSize:Et,compactItemClassnames:wn}=(0,Te.ri)(zn,ee),dn=he()(Dt,wn,xe,en);"overlay"in y&&(Ht.overlay=at),"open"in y&&(Ht.open=Ge),"placement"in y?Ht.placement=rt:Ht.placement=ee==="rtl"?"bottomLeft":"bottomRight";const Bt=Fe.createElement(ze.ZP,{type:re,danger:oe,disabled:ne,loading:de,onClick:pe,htmlType:Ee,href:xt,title:yn},be),Bn=Fe.createElement(ze.ZP,{type:re,danger:oe,icon:Gt}),[Yt,Xt]=lt([Bt,Bn]);return rn(Fe.createElement(je.Z.Compact,Object.assign({className:dn,size:Et,block:!0},Dn),Yt,Fe.createElement(x.Z,Object.assign({},Ht),Xt)))};De.__ANT_BUTTON=!0;var ve=De;const ue=x.Z;ue.Button=ve;var a=ue},66748:function(mt,st,z){"use strict";z.d(st,{Z:function(){return Ke}});var x=z(14747),ge=z(67771),he=z(33297),Fe=z(50438),we=z(97414),ze=z(67968),se=z(45503),Te=De=>{const{componentCls:ve,menuCls:ue,colorError:a,colorTextLightSolid:y}=De,b=`${ue}-item`;return{[`${ve}, ${ve}-menu-submenu`]:{[`${ue} ${b}`]:{[`&${b}-danger:not(${b}-disabled)`]:{color:a,"&:hover":{color:y,backgroundColor:a}}}}}};const Le=De=>{const{componentCls:ve,menuCls:ue,zIndexPopup:a,dropdownArrowDistance:y,sizePopupArrow:b,antCls:E,iconCls:ee,motionDurationMid:te,dropdownPaddingVertical:re,fontSize:oe,dropdownEdgeChildPadding:ne,colorTextDisabled:de,fontSizeIcon:pe,controlPaddingHorizontal:Ee,colorBgElevated:be}=De;return[{[ve]:Object.assign(Object.assign({},(0,x.Wf)(De)),{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`]:{[`& > ${ee}-down, & > ${E}-btn-icon > ${ee}-down`]:{fontSize:pe}},[`${ve}-wrap`]:{position:"relative",[`${E}-btn > ${ee}-down`]:{fontSize:pe},[`${ee}-down::before`]:{transition:`transform ${te}`}},[`${ve}-wrap-open`]:{[`${ee}-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${ve}-placement-bottomLeft,
|
|
&${E}-slide-down-appear${E}-slide-down-appear-active${ve}-placement-bottomLeft,
|
|
&${E}-slide-down-enter${E}-slide-down-enter-active${ve}-placement-bottom,
|
|
&${E}-slide-down-appear${E}-slide-down-appear-active${ve}-placement-bottom,
|
|
&${E}-slide-down-enter${E}-slide-down-enter-active${ve}-placement-bottomRight,
|
|
&${E}-slide-down-appear${E}-slide-down-appear-active${ve}-placement-bottomRight`]:{animationName:ge.fJ},[`&${E}-slide-up-enter${E}-slide-up-enter-active${ve}-placement-topLeft,
|
|
&${E}-slide-up-appear${E}-slide-up-appear-active${ve}-placement-topLeft,
|
|
&${E}-slide-up-enter${E}-slide-up-enter-active${ve}-placement-top,
|
|
&${E}-slide-up-appear${E}-slide-up-appear-active${ve}-placement-top,
|
|
&${E}-slide-up-enter${E}-slide-up-enter-active${ve}-placement-topRight,
|
|
&${E}-slide-up-appear${E}-slide-up-appear-active${ve}-placement-topRight`]:{animationName:ge.Qt},[`&${E}-slide-down-leave${E}-slide-down-leave-active${ve}-placement-bottomLeft,
|
|
&${E}-slide-down-leave${E}-slide-down-leave-active${ve}-placement-bottom,
|
|
&${E}-slide-down-leave${E}-slide-down-leave-active${ve}-placement-bottomRight`]:{animationName:ge.Uw},[`&${E}-slide-up-leave${E}-slide-up-leave-active${ve}-placement-topLeft,
|
|
&${E}-slide-up-leave${E}-slide-up-leave-active${ve}-placement-top,
|
|
&${E}-slide-up-leave${E}-slide-up-leave-active${ve}-placement-topRight`]:{animationName:ge.ly}})},(0,we.ZP)(De,{colorBg:be,limitVerticalRadius:!0,arrowPlacement:{top:!0,bottom:!0}}),{[`${ve} ${ue}`]:{position:"relative",margin:0},[`${ue}-submenu-popup`]:{position:"absolute",zIndex:a,background:"transparent",boxShadow:"none",transformOrigin:"0 0","ul, li":{listStyle:"none",margin:0}},[`${ve}, ${ve}-menu-submenu`]:{[ue]:Object.assign(Object.assign({padding:ne,listStyleType:"none",backgroundColor:be,backgroundClip:"padding-box",borderRadius:De.borderRadiusLG,outline:"none",boxShadow:De.boxShadowSecondary},(0,x.Qy)(De)),{[`${ue}-item-group-title`]:{padding:`${re}px ${Ee}px`,color:De.colorTextDescription,transition:`all ${te}`},[`${ue}-item`]:{position:"relative",display:"flex",alignItems:"center"},[`${ue}-item-icon`]:{minWidth:oe,marginInlineEnd:De.marginXS,fontSize:De.fontSizeSM},[`${ue}-title-content`]:{flex:"auto","> a":{color:"inherit",transition:`all ${te}`,"&:hover":{color:"inherit"},"&::after":{position:"absolute",inset:0,content:'""'}}},[`${ue}-item, ${ue}-submenu-title`]:Object.assign(Object.assign({clear:"both",margin:0,padding:`${re}px ${Ee}px`,color:De.colorText,fontWeight:"normal",fontSize:oe,lineHeight:De.lineHeight,cursor:"pointer",transition:`all ${te}`,borderRadius:De.borderRadiusSM,"&:hover, &-active":{backgroundColor:De.controlItemBgHover}},(0,x.Qy)(De)),{"&-selected":{color:De.colorPrimary,backgroundColor:De.controlItemBgActive,"&:hover, &-active":{backgroundColor:De.controlItemBgActiveHover}},"&-disabled":{color:de,cursor:"not-allowed","&:hover":{color:de,backgroundColor:be,cursor:"not-allowed"},a:{pointerEvents:"none"}},"&-divider":{height:1,margin:`${De.marginXXS}px 0`,overflow:"hidden",lineHeight:0,backgroundColor:De.colorSplit},[`${ve}-menu-submenu-expand-icon`]:{position:"absolute",insetInlineEnd:De.paddingXS,[`${ve}-menu-submenu-arrow-icon`]:{marginInlineEnd:"0 !important",color:De.colorTextDescription,fontSize:pe,fontStyle:"normal"}}}),[`${ue}-item-group-list`]:{margin:`0 ${De.marginXS}px`,padding:0,listStyle:"none"},[`${ue}-submenu-title`]:{paddingInlineEnd:Ee+De.fontSizeSM},[`${ue}-submenu-vertical`]:{position:"relative"},[`${ue}-submenu${ue}-submenu-disabled ${ve}-menu-submenu-title`]:{[`&, ${ve}-menu-submenu-arrow-icon`]:{color:de,backgroundColor:be,cursor:"not-allowed"}},[`${ue}-submenu-selected ${ve}-menu-submenu-title`]:{color:De.colorPrimary}})}},[(0,ge.oN)(De,"slide-up"),(0,ge.oN)(De,"slide-down"),(0,he.Fm)(De,"move-up"),(0,he.Fm)(De,"move-down"),(0,Fe._y)(De,"zoom-big")]]};var Ke=(0,ze.Z)("Dropdown",(De,ve)=>{let{rootPrefixCls:ue}=ve;const{marginXXS:a,sizePopupArrow:y,controlHeight:b,fontSize:E,lineHeight:ee,paddingXXS:te,componentCls:re,borderRadiusLG:oe}=De,ne=(b-E*ee)/2,{dropdownArrowOffset:de}=(0,we.fS)({contentRadius:oe}),pe=(0,se.TS)(De,{menuCls:`${re}-menu`,rootPrefixCls:ue,dropdownArrowDistance:y/2+a,dropdownArrowOffset:de,dropdownPaddingVertical:ne,dropdownEdgeChildPadding:te});return[Le(pe),Te(pe)]},De=>({zIndexPopup:De.zIndexPopupBase+50}))},25378:function(mt,st,z){"use strict";var x=z(67294),ge=z(14075),he=z(57838),Fe=z(74443);function we(){let ze=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!0;const se=(0,x.useRef)({}),je=(0,he.Z)(),Te=(0,Fe.ZP)();return(0,ge.Z)(()=>{const Le=Te.subscribe(Ke=>{se.current=Ke,ze&&je()});return()=>Te.unsubscribe(Le)},[]),se.current}st.Z=we},71322:function(mt,st,z){"use strict";z.d(st,{D:function(){return ee},Z:function(){return oe}});var x=z(87462),ge=z(67294),he={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M912 192H328c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h584c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0 284H328c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h584c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0 284H328c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h584c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zM104 228a56 56 0 10112 0 56 56 0 10-112 0zm0 284a56 56 0 10112 0 56 56 0 10-112 0zm0 284a56 56 0 10112 0 56 56 0 10-112 0z"}}]},name:"bars",theme:"outlined"},Fe=he,we=z(74643),ze=function(de,pe){return ge.createElement(we.Z,(0,x.Z)({},de,{ref:pe,icon:Fe}))},se=ge.forwardRef(ze),je=z(22751),Te=z(91034),Le=z(94184),Ke=z.n(Le),De=z(10366),ue=ne=>!isNaN(parseFloat(ne))&&isFinite(ne),a=z(53124),y=z(84321),b=function(ne,de){var pe={};for(var Ee in ne)Object.prototype.hasOwnProperty.call(ne,Ee)&&de.indexOf(Ee)<0&&(pe[Ee]=ne[Ee]);if(ne!=null&&typeof Object.getOwnPropertySymbols=="function")for(var be=0,Ee=Object.getOwnPropertySymbols(ne);be<Ee.length;be++)de.indexOf(Ee[be])<0&&Object.prototype.propertyIsEnumerable.call(ne,Ee[be])&&(pe[Ee[be]]=ne[Ee[be]]);return pe};const E={xs:"479.98px",sm:"575.98px",md:"767.98px",lg:"991.98px",xl:"1199.98px",xxl:"1599.98px"},ee=ge.createContext({}),te=(()=>{let ne=0;return function(){let de=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"";return ne+=1,`${de}${ne}`}})();var oe=ge.forwardRef((ne,de)=>{const{prefixCls:pe,className:Ee,trigger:be,children:xe,defaultCollapsed:Ce=!1,theme:Ne="dark",style:Re={},collapsible:at=!1,reverseArrow:Ie=!1,width:Ue=200,collapsedWidth:Ge=80,zeroWidthTriggerStyle:Ve,breakpoint:rt,onCollapse:gt,onBreakpoint:xt}=ne,Gt=b(ne,["prefixCls","className","trigger","children","defaultCollapsed","theme","style","collapsible","reverseArrow","width","collapsedWidth","zeroWidthTriggerStyle","breakpoint","onCollapse","onBreakpoint"]),{siderHook:yn}=(0,ge.useContext)(y.Gs),[lt,ht]=(0,ge.useState)("collapsed"in ne?ne.collapsed:Ce),[Lt,zt]=(0,ge.useState)(!1);(0,ge.useEffect)(()=>{"collapsed"in ne&&ht(ne.collapsed)},[ne.collapsed]);const dt=(rn,en)=>{"collapsed"in ne||ht(rn),gt==null||gt(rn,en)},kt=(0,ge.useRef)();kt.current=rn=>{zt(rn.matches),xt==null||xt(rn.matches),lt!==rn.matches&&dt(rn.matches,"responsive")},(0,ge.useEffect)(()=>{function rn(Ht){return kt.current(Ht)}let en;if(typeof window!="undefined"){const{matchMedia:Ht}=window;if(Ht&&rt&&rt in E){en=Ht(`(max-width: ${E[rt]})`);try{en.addEventListener("change",rn)}catch(Et){en.addListener(rn)}rn(en)}}return()=>{try{en==null||en.removeEventListener("change",rn)}catch(Ht){en==null||en.removeListener(rn)}}},[rt]),(0,ge.useEffect)(()=>{const rn=te("ant-sider-");return yn.addSider(rn),()=>yn.removeSider(rn)},[]);const Ze=()=>{dt(!lt,"clickTrigger")},{getPrefixCls:Dn}=(0,ge.useContext)(a.E_),zn=()=>{const rn=Dn("layout-sider",pe),en=(0,De.Z)(Gt,["collapsed"]),Ht=lt?Ge:Ue,Et=ue(Ht)?`${Ht}px`:String(Ht),wn=parseFloat(String(Ge||0))===0?ge.createElement("span",{onClick:Ze,className:Ke()(`${rn}-zero-width-trigger`,`${rn}-zero-width-trigger-${Ie?"right":"left"}`),style:Ve},be||ge.createElement(se,null)):null,Bn={expanded:Ie?ge.createElement(Te.Z,null):ge.createElement(je.Z,null),collapsed:Ie?ge.createElement(je.Z,null):ge.createElement(Te.Z,null)}[lt?"collapsed":"expanded"],Yt=be!==null?wn||ge.createElement("div",{className:`${rn}-trigger`,onClick:Ze,style:{width:Et}},be||Bn):null,Xt=Object.assign(Object.assign({},Re),{flex:`0 0 ${Et}`,maxWidth:Et,minWidth:Et,width:Et}),On=Ke()(rn,`${rn}-${Ne}`,{[`${rn}-collapsed`]:!!lt,[`${rn}-has-trigger`]:at&&be!==null&&!wn,[`${rn}-below`]:!!Lt,[`${rn}-zero-width`]:parseFloat(Et)===0},Ee);return ge.createElement("aside",Object.assign({className:On},en,{style:Xt,ref:de}),ge.createElement("div",{className:`${rn}-children`},xe),at||Lt&&wn?Yt:null)},Dt=ge.useMemo(()=>({siderCollapsed:lt}),[lt]);return ge.createElement(ee.Provider,{value:Dt},zn())})},84321:function(mt,st,z){"use strict";z.d(st,{VY:function(){return te},$_:function(){return ee},h4:function(){return E},Gs:function(){return ve},ZP:function(){return re}});var x=z(74902),ge=z(94184),he=z.n(ge),Fe=z(10366),we=z(67294),ze=z(53124),se=z(67968),Te=oe=>{const{componentCls:ne,bodyBg:de,lightSiderBg:pe,lightTriggerBg:Ee,lightTriggerColor:be}=oe;return{[`${ne}-sider-light`]:{background:pe,[`${ne}-sider-trigger`]:{color:be,background:Ee},[`${ne}-sider-zero-width-trigger`]:{color:be,background:Ee,border:`1px solid ${de}`,borderInlineStart:0}}}};const Le=oe=>{const{antCls:ne,componentCls:de,colorText:pe,triggerColor:Ee,footerBg:be,triggerBg:xe,headerHeight:Ce,headerPadding:Ne,headerColor:Re,footerPadding:at,triggerHeight:Ie,zeroTriggerHeight:Ue,zeroTriggerWidth:Ge,motionDurationMid:Ve,motionDurationSlow:rt,fontSize:gt,borderRadius:xt,bodyBg:Gt,headerBg:yn,siderBg:lt}=oe;return{[de]:Object.assign(Object.assign({display:"flex",flex:"auto",flexDirection:"column",minHeight:0,background:Gt,"&, *":{boxSizing:"border-box"},[`&${de}-has-sider`]:{flexDirection:"row",[`> ${de}, > ${de}-content`]:{width:0}},[`${de}-header, &${de}-footer`]:{flex:"0 0 auto"},[`${de}-sider`]:{position:"relative",minWidth:0,background:lt,transition:`all ${Ve}, background 0s`,"&-children":{height:"100%",marginTop:-.1,paddingTop:.1,[`${ne}-menu${ne}-menu-inline-collapsed`]:{width:"auto"}},"&-has-trigger":{paddingBottom:Ie},"&-right":{order:1},"&-trigger":{position:"fixed",bottom:0,zIndex:1,height:Ie,color:Ee,lineHeight:`${Ie}px`,textAlign:"center",background:xe,cursor:"pointer",transition:`all ${Ve}`},"&-zero-width":{"> *":{overflow:"hidden"},"&-trigger":{position:"absolute",top:Ce,insetInlineEnd:-Ge,zIndex:1,width:Ge,height:Ue,color:Ee,fontSize:oe.fontSizeXL,display:"flex",alignItems:"center",justifyContent:"center",background:lt,borderStartStartRadius:0,borderStartEndRadius:xt,borderEndEndRadius:xt,borderEndStartRadius:0,cursor:"pointer",transition:`background ${rt} ease`,"&::after":{position:"absolute",inset:0,background:"transparent",transition:`all ${rt}`,content:'""'},"&:hover::after":{background:"rgba(255, 255, 255, 0.2)"},"&-right":{insetInlineStart:-Ge,borderStartStartRadius:xt,borderStartEndRadius:0,borderEndEndRadius:0,borderEndStartRadius:xt}}}}},Te(oe)),{"&-rtl":{direction:"rtl"}}),[`${de}-header`]:{height:Ce,padding:Ne,color:Re,lineHeight:`${Ce}px`,background:yn,[`${ne}-menu`]:{lineHeight:"inherit"}},[`${de}-footer`]:{padding:at,color:pe,fontSize:gt,background:be},[`${de}-content`]:{flex:"auto",minHeight:0}}};var Ke=(0,se.Z)("Layout",oe=>[Le(oe)],oe=>{const{colorBgLayout:ne,controlHeight:de,controlHeightLG:pe,colorText:Ee,controlHeightSM:be,marginXXS:xe,colorTextLightSolid:Ce,colorBgContainer:Ne}=oe,Re=pe*1.25;return{colorBgHeader:"#001529",colorBgBody:ne,colorBgTrigger:"#002140",bodyBg:ne,headerBg:"#001529",headerHeight:de*2,headerPadding:`0 ${Re}px`,headerColor:Ee,footerPadding:`${be}px ${Re}px`,footerBg:ne,siderBg:"#001529",triggerHeight:pe+xe*2,triggerBg:"#002140",triggerColor:Ce,zeroTriggerWidth:pe,zeroTriggerHeight:pe,lightSiderBg:Ne,lightTriggerBg:Ne,lightTriggerColor:Ee}},{deprecatedTokens:[["colorBgBody","bodyBg"],["colorBgHeader","headerBg"],["colorBgTrigger","triggerBg"]]}),De=function(oe,ne){var de={};for(var pe in oe)Object.prototype.hasOwnProperty.call(oe,pe)&&ne.indexOf(pe)<0&&(de[pe]=oe[pe]);if(oe!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Ee=0,pe=Object.getOwnPropertySymbols(oe);Ee<pe.length;Ee++)ne.indexOf(pe[Ee])<0&&Object.prototype.propertyIsEnumerable.call(oe,pe[Ee])&&(de[pe[Ee]]=oe[pe[Ee]]);return de};const ve=we.createContext({siderHook:{addSider:()=>null,removeSider:()=>null}});function ue(oe){let{suffixCls:ne,tagName:de,displayName:pe}=oe;return Ee=>we.forwardRef((xe,Ce)=>we.createElement(Ee,Object.assign({ref:Ce,suffixCls:ne,tagName:de},xe)))}const a=we.forwardRef((oe,ne)=>{const{prefixCls:de,suffixCls:pe,className:Ee,tagName:be}=oe,xe=De(oe,["prefixCls","suffixCls","className","tagName"]),{getPrefixCls:Ce}=we.useContext(ze.E_),Ne=Ce("layout",de),[Re,at]=Ke(Ne),Ie=pe?`${Ne}-${pe}`:Ne;return Re(we.createElement(be,Object.assign({className:he()(de||Ie,Ee,at),ref:ne},xe)))}),y=we.forwardRef((oe,ne)=>{const{direction:de}=we.useContext(ze.E_),[pe,Ee]=we.useState([]),{prefixCls:be,className:xe,rootClassName:Ce,children:Ne,hasSider:Re,tagName:at,style:Ie}=oe,Ue=De(oe,["prefixCls","className","rootClassName","children","hasSider","tagName","style"]),Ge=(0,Fe.Z)(Ue,["suffixCls"]),{getPrefixCls:Ve,layout:rt}=we.useContext(ze.E_),gt=Ve("layout",be),[xt,Gt]=Ke(gt),yn=he()(gt,{[`${gt}-has-sider`]:typeof Re=="boolean"?Re:pe.length>0,[`${gt}-rtl`]:de==="rtl"},rt==null?void 0:rt.className,xe,Ce,Gt),lt=we.useMemo(()=>({siderHook:{addSider:ht=>{Ee(Lt=>[].concat((0,x.Z)(Lt),[ht]))},removeSider:ht=>{Ee(Lt=>Lt.filter(zt=>zt!==ht))}}}),[]);return xt(we.createElement(ve.Provider,{value:lt},we.createElement(at,Object.assign({ref:ne,className:yn,style:Object.assign(Object.assign({},rt==null?void 0:rt.style),Ie)},Ge),Ne)))}),b=ue({tagName:"div",displayName:"Layout"})(y),E=ue({suffixCls:"header",tagName:"header",displayName:"Header"})(a),ee=ue({suffixCls:"footer",tagName:"footer",displayName:"Footer"})(a),te=ue({suffixCls:"content",tagName:"main",displayName:"Content"})(a);var re=b},76529:function(mt,st,z){"use strict";z.d(st,{J:function(){return ze}});var x=z(67294),ge=z(4173),he=z(60276),Fe=function(se,je){var Te={};for(var Le in se)Object.prototype.hasOwnProperty.call(se,Le)&&je.indexOf(Le)<0&&(Te[Le]=se[Le]);if(se!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Ke=0,Le=Object.getOwnPropertySymbols(se);Ke<Le.length;Ke++)je.indexOf(Le[Ke])<0&&Object.prototype.propertyIsEnumerable.call(se,Le[Ke])&&(Te[Le[Ke]]=se[Le[Ke]]);return Te};const we=x.createContext(null),ze=x.forwardRef((se,je)=>{const{children:Te}=se,Le=Fe(se,["children"]),Ke=x.useContext(we),De=x.useMemo(()=>Object.assign(Object.assign({},Ke),Le),[Ke,Le.prefixCls,Le.mode,Le.selectable]);return x.createElement(we.Provider,{value:De},x.createElement(ge.BR,null,(0,he.supportNodeRef)(Te)?x.cloneElement(Te,{ref:je}):Te))});st.Z=we},68508:function(mt,st,z){"use strict";z.d(st,{default:function(){return rn}});var x=z(52073),ge=z(67294),he=z(71322),Fe=z(94184),we=z.n(Fe),ze=z(53124),se=function(en,Ht){var Et={};for(var wn in en)Object.prototype.hasOwnProperty.call(en,wn)&&Ht.indexOf(wn)<0&&(Et[wn]=en[wn]);if(en!=null&&typeof Object.getOwnPropertySymbols=="function")for(var dn=0,wn=Object.getOwnPropertySymbols(en);dn<wn.length;dn++)Ht.indexOf(wn[dn])<0&&Object.prototype.propertyIsEnumerable.call(en,wn[dn])&&(Et[wn[dn]]=en[wn[dn]]);return Et},Te=en=>{const{prefixCls:Ht,className:Et,dashed:wn}=en,dn=se(en,["prefixCls","className","dashed"]),{getPrefixCls:Bt}=ge.useContext(ze.E_),Bn=Bt("menu",Ht),Yt=we()({[`${Bn}-item-divider-dashed`]:!!wn},Et);return ge.createElement(x.iz,Object.assign({className:Yt},dn))},Le=z(37419),Ke=z(10366),De=z(83062),ve=z(96159),a=(0,ge.createContext)({prefixCls:"",firstLevel:!0,inlineCollapsed:!1}),b=en=>{var Ht;const{className:Et,children:wn,icon:dn,title:Bt,danger:Bn}=en,{prefixCls:Yt,firstLevel:Xt,direction:On,disableMenuItemTitleTooltip:bn,inlineCollapsed:Je}=ge.useContext(a),He=Ye=>{const bt=ge.createElement("span",{className:`${Yt}-title-content`},wn);return(!dn||(0,ve.l$)(wn)&&wn.type==="span")&&wn&&Ye&&Xt&&typeof wn=="string"?ge.createElement("div",{className:`${Yt}-inline-collapsed-noicon`},wn.charAt(0)):bt},{siderCollapsed:Xn}=ge.useContext(he.D);let Me=Bt;typeof Bt=="undefined"?Me=Xt?wn:"":Bt===!1&&(Me="");const Xe={title:Me};!Xn&&!Je&&(Xe.title=null,Xe.open=!1);const Zt=(0,Le.Z)(wn).length;let ot=ge.createElement(x.ck,Object.assign({},(0,Ke.Z)(en,["title","icon","danger"]),{className:we()({[`${Yt}-item-danger`]:Bn,[`${Yt}-item-only-child`]:(dn?Zt+1:Zt)===1},Et),title:typeof Bt=="string"?Bt:void 0}),(0,ve.Tm)(dn,{className:we()((0,ve.l$)(dn)?(Ht=dn.props)===null||Ht===void 0?void 0:Ht.className:"",`${Yt}-item-icon`)}),He(Je));return bn||(ot=ge.createElement(De.Z,Object.assign({},Xe,{placement:On==="rtl"?"left":"right",overlayClassName:`${Yt}-inline-collapsed-tooltip`}),ot)),ot},ee=en=>{var Ht;const{popupClassName:Et,icon:wn,title:dn,theme:Bt}=en,Bn=ge.useContext(a),{prefixCls:Yt,inlineCollapsed:Xt,theme:On}=Bn,bn=(0,x.Xl)();let Je;if(!wn)Je=Xt&&!bn.length&&dn&&typeof dn=="string"?ge.createElement("div",{className:`${Yt}-inline-collapsed-noicon`},dn.charAt(0)):ge.createElement("span",{className:`${Yt}-title-content`},dn);else{const Xn=(0,ve.l$)(dn)&&dn.type==="span";Je=ge.createElement(ge.Fragment,null,(0,ve.Tm)(wn,{className:we()((0,ve.l$)(wn)?(Ht=wn.props)===null||Ht===void 0?void 0:Ht.className:"",`${Yt}-item-icon`)}),Xn?dn:ge.createElement("span",{className:`${Yt}-title-content`},dn))}const He=ge.useMemo(()=>Object.assign(Object.assign({},Bn),{firstLevel:!1}),[Bn]);return ge.createElement(a.Provider,{value:He},ge.createElement(x.Wd,Object.assign({},(0,Ke.Z)(en,["icon"]),{title:Je,popupClassName:we()(Yt,Et,`${Yt}-${Bt||On}`)})))},te=z(25877),re=z(60276),oe=z(33603),ne=z(76529),de=function(en,Ht){var Et={};for(var wn in en)Object.prototype.hasOwnProperty.call(en,wn)&&Ht.indexOf(wn)<0&&(Et[wn]=en[wn]);if(en!=null&&typeof Object.getOwnPropertySymbols=="function")for(var dn=0,wn=Object.getOwnPropertySymbols(en);dn<wn.length;dn++)Ht.indexOf(wn[dn])<0&&Object.prototype.propertyIsEnumerable.call(en,wn[dn])&&(Et[wn[dn]]=en[wn[dn]]);return Et};function pe(en){return(en||[]).map((Ht,Et)=>{if(Ht&&typeof Ht=="object"){const wn=Ht,{label:dn,children:Bt,key:Bn,type:Yt}=wn,Xt=de(wn,["label","children","key","type"]),On=Bn!=null?Bn:`tmp-${Et}`;return Bt||Yt==="group"?Yt==="group"?ge.createElement(x.BW,Object.assign({key:On},Xt,{title:dn}),pe(Bt)):ge.createElement(ee,Object.assign({key:On},Xt,{title:dn}),pe(Bt)):Yt==="divider"?ge.createElement(Te,Object.assign({key:On},Xt)):ge.createElement(b,Object.assign({key:On},Xt),dn)}return null}).filter(Ht=>Ht)}function Ee(en){return ge.useMemo(()=>en&&pe(en),[en])}var be=z(84780),xe=z(14747),Ce=z(33507),Ne=z(67771),Re=z(50438),at=z(67968),Ie=z(45503),Ge=en=>{const{componentCls:Ht,motionDurationSlow:Et,horizontalLineHeight:wn,colorSplit:dn,lineWidth:Bt,lineType:Bn,itemPaddingInline:Yt}=en;return{[`${Ht}-horizontal`]:{lineHeight:wn,border:0,borderBottom:`${Bt}px ${Bn} ${dn}`,boxShadow:"none","&::after":{display:"block",clear:"both",height:0,content:'"\\20"'},[`${Ht}-item, ${Ht}-submenu`]:{position:"relative",display:"inline-block",verticalAlign:"bottom",paddingInline:Yt},[`> ${Ht}-item:hover,
|
|
> ${Ht}-item-active,
|
|
> ${Ht}-submenu ${Ht}-submenu-title:hover`]:{backgroundColor:"transparent"},[`${Ht}-item, ${Ht}-submenu-title`]:{transition:[`border-color ${Et}`,`background ${Et}`].join(",")},[`${Ht}-submenu-arrow`]:{display:"none"}}}},rt=en=>{let{componentCls:Ht,menuArrowOffset:Et}=en;return{[`${Ht}-rtl`]:{direction:"rtl"},[`${Ht}-submenu-rtl`]:{transformOrigin:"100% 0"},[`${Ht}-rtl${Ht}-vertical,
|
|
${Ht}-submenu-rtl ${Ht}-vertical`]:{[`${Ht}-submenu-arrow`]:{"&::before":{transform:`rotate(-45deg) translateY(-${Et})`},"&::after":{transform:`rotate(45deg) translateY(${Et})`}}}}};const gt=en=>Object.assign({},(0,xe.oN)(en));var Gt=(en,Ht)=>{const{componentCls:Et,itemColor:wn,itemSelectedColor:dn,groupTitleColor:Bt,itemBg:Bn,subMenuItemBg:Yt,itemSelectedBg:Xt,activeBarHeight:On,activeBarWidth:bn,activeBarBorderWidth:Je,motionDurationSlow:He,motionEaseInOut:Xn,motionEaseOut:Me,itemPaddingInline:Xe,motionDurationMid:Zt,itemHoverColor:ot,lineType:Ye,colorSplit:bt,itemDisabledColor:Ut,dangerItemColor:Nt,dangerItemHoverColor:In,dangerItemSelectedColor:Tt,dangerItemActiveBg:Kt,dangerItemSelectedBg:pt,itemHoverBg:En,itemActiveBg:Jt,menuSubMenuBg:xn,horizontalItemSelectedColor:Aa,horizontalItemSelectedBg:jn,horizontalItemBorderRadius:ua,horizontalItemHoverBg:La,popupBg:on}=en;return{[`${Et}-${Ht}, ${Et}-${Ht} > ${Et}`]:{color:wn,background:Bn,[`&${Et}-root:focus-visible`]:Object.assign({},gt(en)),[`${Et}-item-group-title`]:{color:Bt},[`${Et}-submenu-selected`]:{[`> ${Et}-submenu-title`]:{color:dn}},[`${Et}-item-disabled, ${Et}-submenu-disabled`]:{color:`${Ut} !important`},[`${Et}-item:not(${Et}-item-selected):not(${Et}-submenu-selected)`]:{[`&:hover, > ${Et}-submenu-title:hover`]:{color:ot}},[`&:not(${Et}-horizontal)`]:{[`${Et}-item:not(${Et}-item-selected)`]:{"&:hover":{backgroundColor:En},"&:active":{backgroundColor:Jt}},[`${Et}-submenu-title`]:{"&:hover":{backgroundColor:En},"&:active":{backgroundColor:Jt}}},[`${Et}-item-danger`]:{color:Nt,[`&${Et}-item:hover`]:{[`&:not(${Et}-item-selected):not(${Et}-submenu-selected)`]:{color:In}},[`&${Et}-item:active`]:{background:Kt}},[`${Et}-item a`]:{"&, &:hover":{color:"inherit"}},[`${Et}-item-selected`]:{color:dn,[`&${Et}-item-danger`]:{color:Tt},"a, a:hover":{color:"inherit"}},[`& ${Et}-item-selected`]:{backgroundColor:Xt,[`&${Et}-item-danger`]:{backgroundColor:pt}},[`${Et}-item, ${Et}-submenu-title`]:{[`&:not(${Et}-item-disabled):focus-visible`]:Object.assign({},gt(en))},[`&${Et}-submenu > ${Et}`]:{backgroundColor:xn},[`&${Et}-popup > ${Et}`]:{backgroundColor:on},[`&${Et}-horizontal`]:Object.assign(Object.assign({},Ht==="dark"?{borderBottom:0}:{}),{[`> ${Et}-item, > ${Et}-submenu`]:{top:Je,marginTop:-Je,marginBottom:0,borderRadius:ua,"&::after":{position:"absolute",insetInline:Xe,bottom:0,borderBottom:`${On}px solid transparent`,transition:`border-color ${He} ${Xn}`,content:'""'},"&:hover, &-active, &-open":{background:La,"&::after":{borderBottomWidth:On,borderBottomColor:Aa}},"&-selected":{color:Aa,backgroundColor:jn,"&:hover":{backgroundColor:jn},"&::after":{borderBottomWidth:On,borderBottomColor:Aa}}}}),[`&${Et}-root`]:{[`&${Et}-inline, &${Et}-vertical`]:{borderInlineEnd:`${Je}px ${Ye} ${bt}`}},[`&${Et}-inline`]:{[`${Et}-sub${Et}-inline`]:{background:Yt},[`${Et}-item, ${Et}-submenu-title`]:Je&&bn?{width:`calc(100% + ${Je}px)`}:{},[`${Et}-item`]:{position:"relative","&::after":{position:"absolute",insetBlock:0,insetInlineEnd:0,borderInlineEnd:`${bn}px solid ${dn}`,transform:"scaleY(0.0001)",opacity:0,transition:[`transform ${Zt} ${Me}`,`opacity ${Zt} ${Me}`].join(","),content:'""'},[`&${Et}-item-danger`]:{"&::after":{borderInlineEndColor:Tt}}},[`${Et}-selected, ${Et}-item-selected`]:{"&::after":{transform:"scaleY(1)",opacity:1,transition:[`transform ${Zt} ${Xn}`,`opacity ${Zt} ${Xn}`].join(",")}}}}}};const yn=en=>{const{componentCls:Ht,itemHeight:Et,itemMarginInline:wn,padding:dn,menuArrowSize:Bt,marginXS:Bn,itemMarginBlock:Yt}=en,Xt=dn+Bt+Bn;return{[`${Ht}-item`]:{position:"relative",overflow:"hidden"},[`${Ht}-item, ${Ht}-submenu-title`]:{height:Et,lineHeight:`${Et}px`,paddingInline:dn,overflow:"hidden",textOverflow:"ellipsis",marginInline:wn,marginBlock:Yt,width:`calc(100% - ${wn*2}px)`},[`> ${Ht}-item,
|
|
> ${Ht}-submenu > ${Ht}-submenu-title`]:{height:Et,lineHeight:`${Et}px`},[`${Ht}-item-group-list ${Ht}-submenu-title,
|
|
${Ht}-submenu-title`]:{paddingInlineEnd:Xt}}};var ht=en=>{const{componentCls:Ht,iconCls:Et,itemHeight:wn,colorTextLightSolid:dn,dropdownWidth:Bt,controlHeightLG:Bn,motionDurationMid:Yt,motionEaseOut:Xt,paddingXL:On,itemMarginInline:bn,fontSizeLG:Je,motionDurationSlow:He,paddingXS:Xn,boxShadowSecondary:Me,collapsedWidth:Xe,collapsedIconSize:Zt}=en,ot={height:wn,lineHeight:`${wn}px`,listStylePosition:"inside",listStyleType:"disc"};return[{[Ht]:{"&-inline, &-vertical":Object.assign({[`&${Ht}-root`]:{boxShadow:"none"}},yn(en))},[`${Ht}-submenu-popup`]:{[`${Ht}-vertical`]:Object.assign(Object.assign({},yn(en)),{boxShadow:Me})}},{[`${Ht}-submenu-popup ${Ht}-vertical${Ht}-sub`]:{minWidth:Bt,maxHeight:`calc(100vh - ${Bn*2.5}px)`,padding:"0",overflow:"hidden",borderInlineEnd:0,"&:not([class*='-active'])":{overflowX:"hidden",overflowY:"auto"}}},{[`${Ht}-inline`]:{width:"100%",[`&${Ht}-root`]:{[`${Ht}-item, ${Ht}-submenu-title`]:{display:"flex",alignItems:"center",transition:[`border-color ${He}`,`background ${He}`,`padding ${Yt} ${Xt}`].join(","),[`> ${Ht}-title-content`]:{flex:"auto",minWidth:0,overflow:"hidden",textOverflow:"ellipsis"},"> *":{flex:"none"}}},[`${Ht}-sub${Ht}-inline`]:{padding:0,border:0,borderRadius:0,boxShadow:"none",[`& > ${Ht}-submenu > ${Ht}-submenu-title`]:ot,[`& ${Ht}-item-group-title`]:{paddingInlineStart:On}},[`${Ht}-item`]:ot}},{[`${Ht}-inline-collapsed`]:{width:Xe,[`&${Ht}-root`]:{[`${Ht}-item, ${Ht}-submenu ${Ht}-submenu-title`]:{[`> ${Ht}-inline-collapsed-noicon`]:{fontSize:Je,textAlign:"center"}}},[`> ${Ht}-item,
|
|
> ${Ht}-item-group > ${Ht}-item-group-list > ${Ht}-item,
|
|
> ${Ht}-item-group > ${Ht}-item-group-list > ${Ht}-submenu > ${Ht}-submenu-title,
|
|
> ${Ht}-submenu > ${Ht}-submenu-title`]:{insetInlineStart:0,paddingInline:`calc(50% - ${Je/2}px - ${bn}px)`,textOverflow:"clip",[`
|
|
${Ht}-submenu-arrow,
|
|
${Ht}-submenu-expand-icon
|
|
`]:{opacity:0},[`${Ht}-item-icon, ${Et}`]:{margin:0,fontSize:Zt,lineHeight:`${wn}px`,"+ span":{display:"inline-block",opacity:0}}},[`${Ht}-item-icon, ${Et}`]:{display:"inline-block"},"&-tooltip":{pointerEvents:"none",[`${Ht}-item-icon, ${Et}`]:{display:"none"},"a, a:hover":{color:dn}},[`${Ht}-item-group-title`]:Object.assign(Object.assign({},xe.vS),{paddingInline:Xn})}}]};const Lt=en=>{const{componentCls:Ht,motionDurationSlow:Et,motionDurationMid:wn,motionEaseInOut:dn,motionEaseOut:Bt,iconCls:Bn,iconSize:Yt,iconMarginInlineEnd:Xt}=en;return{[`${Ht}-item, ${Ht}-submenu-title`]:{position:"relative",display:"block",margin:0,whiteSpace:"nowrap",cursor:"pointer",transition:[`border-color ${Et}`,`background ${Et}`,`padding ${Et} ${dn}`].join(","),[`${Ht}-item-icon, ${Bn}`]:{minWidth:Yt,fontSize:Yt,transition:[`font-size ${wn} ${Bt}`,`margin ${Et} ${dn}`,`color ${Et}`].join(","),"+ span":{marginInlineStart:Xt,opacity:1,transition:[`opacity ${Et} ${dn}`,`margin ${Et}`,`color ${Et}`].join(",")}},[`${Ht}-item-icon`]:Object.assign({},(0,xe.Ro)()),[`&${Ht}-item-only-child`]:{[`> ${Bn}, > ${Ht}-item-icon`]:{marginInlineEnd:0}}},[`${Ht}-item-disabled, ${Ht}-submenu-disabled`]:{background:"none !important",cursor:"not-allowed","&::after":{borderColor:"transparent !important"},a:{color:"inherit !important"},[`> ${Ht}-submenu-title`]:{color:"inherit !important",cursor:"not-allowed"}}}},zt=en=>{const{componentCls:Ht,motionDurationSlow:Et,motionEaseInOut:wn,borderRadius:dn,menuArrowSize:Bt,menuArrowOffset:Bn}=en;return{[`${Ht}-submenu`]:{"&-expand-icon, &-arrow":{position:"absolute",top:"50%",insetInlineEnd:en.margin,width:Bt,color:"currentcolor",transform:"translateY(-50%)",transition:`transform ${Et} ${wn}, opacity ${Et}`},"&-arrow":{"&::before, &::after":{position:"absolute",width:Bt*.6,height:Bt*.15,backgroundColor:"currentcolor",borderRadius:dn,transition:[`background ${Et} ${wn}`,`transform ${Et} ${wn}`,`top ${Et} ${wn}`,`color ${Et} ${wn}`].join(","),content:'""'},"&::before":{transform:`rotate(45deg) translateY(-${Bn})`},"&::after":{transform:`rotate(-45deg) translateY(${Bn})`}}}}},dt=en=>{const{antCls:Ht,componentCls:Et,fontSize:wn,motionDurationSlow:dn,motionDurationMid:Bt,motionEaseInOut:Bn,paddingXS:Yt,padding:Xt,colorSplit:On,lineWidth:bn,zIndexPopup:Je,borderRadiusLG:He,subMenuItemBorderRadius:Xn,menuArrowSize:Me,menuArrowOffset:Xe,lineType:Zt,menuPanelMaskInset:ot,groupTitleLineHeight:Ye,groupTitleFontSize:bt}=en;return[{"":{[`${Et}`]:Object.assign(Object.assign({},(0,xe.dF)()),{"&-hidden":{display:"none"}})},[`${Et}-submenu-hidden`]:{display:"none"}},{[Et]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},(0,xe.Wf)(en)),(0,xe.dF)()),{marginBottom:0,paddingInlineStart:0,fontSize:wn,lineHeight:0,listStyle:"none",outline:"none",transition:`width ${dn} cubic-bezier(0.2, 0, 0, 1) 0s`,"ul, ol":{margin:0,padding:0,listStyle:"none"},"&-overflow":{display:"flex",[`${Et}-item`]:{flex:"none"}},[`${Et}-item, ${Et}-submenu, ${Et}-submenu-title`]:{borderRadius:en.itemBorderRadius},[`${Et}-item-group-title`]:{padding:`${Yt}px ${Xt}px`,fontSize:bt,lineHeight:Ye,transition:`all ${dn}`},[`&-horizontal ${Et}-submenu`]:{transition:[`border-color ${dn} ${Bn}`,`background ${dn} ${Bn}`].join(",")},[`${Et}-submenu, ${Et}-submenu-inline`]:{transition:[`border-color ${dn} ${Bn}`,`background ${dn} ${Bn}`,`padding ${Bt} ${Bn}`].join(",")},[`${Et}-submenu ${Et}-sub`]:{cursor:"initial",transition:[`background ${dn} ${Bn}`,`padding ${dn} ${Bn}`].join(",")},[`${Et}-title-content`]:{transition:`color ${dn}`},[`${Et}-item a`]:{"&::before":{position:"absolute",inset:0,backgroundColor:"transparent",content:'""'}},[`${Et}-item-divider`]:{overflow:"hidden",lineHeight:0,borderColor:On,borderStyle:Zt,borderWidth:0,borderTopWidth:bn,marginBlock:bn,padding:0,"&-dashed":{borderStyle:"dashed"}}}),Lt(en)),{[`${Et}-item-group`]:{[`${Et}-item-group-list`]:{margin:0,padding:0,[`${Et}-item, ${Et}-submenu-title`]:{paddingInline:`${wn*2}px ${Xt}px`}}},"&-submenu":{"&-popup":{position:"absolute",zIndex:Je,borderRadius:He,boxShadow:"none",transformOrigin:"0 0",[`&${Et}-submenu`]:{background:"transparent"},"&::before":{position:"absolute",inset:`${ot}px 0 0`,zIndex:-1,width:"100%",height:"100%",opacity:0,content:'""'}},"&-placement-rightTop::before":{top:0,insetInlineStart:ot},"\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:en.paddingXS},"\n &-placement-rightTop,\n &-placement-rightBottom\n ":{paddingInlineStart:en.paddingXS},"\n &-placement-topRight,\n &-placement-topLeft\n ":{paddingBottom:en.paddingXS},"\n &-placement-bottomRight,\n &-placement-bottomLeft\n ":{paddingTop:en.paddingXS},[`> ${Et}`]:Object.assign(Object.assign(Object.assign({borderRadius:He},Lt(en)),zt(en)),{[`${Et}-item, ${Et}-submenu > ${Et}-submenu-title`]:{borderRadius:Xn},[`${Et}-submenu-title::after`]:{transition:`transform ${dn} ${Bn}`}})}}),zt(en)),{[`&-inline-collapsed ${Et}-submenu-arrow,
|
|
&-inline ${Et}-submenu-arrow`]:{"&::before":{transform:`rotate(-45deg) translateX(${Xe})`},"&::after":{transform:`rotate(45deg) translateX(-${Xe})`}},[`${Et}-submenu-open${Et}-submenu-inline > ${Et}-submenu-title > ${Et}-submenu-arrow`]:{transform:`translateY(-${Me*.2}px)`,"&::after":{transform:`rotate(-45deg) translateX(-${Xe})`},"&::before":{transform:`rotate(45deg) translateX(${Xe})`}}})},{[`${Ht}-layout-header`]:{[Et]:{lineHeight:"inherit"}}}]};var kt=(en,Ht)=>(0,at.Z)("Menu",wn=>{if(Ht===!1)return[];const{colorBgElevated:dn,colorPrimary:Bt,colorTextLightSolid:Bn,controlHeightLG:Yt,fontSize:Xt,darkItemColor:On,darkDangerItemColor:bn,darkItemBg:Je,darkSubMenuItemBg:He,darkItemSelectedColor:Xn,darkItemSelectedBg:Me,darkDangerItemSelectedBg:Xe,darkItemHoverBg:Zt,darkGroupTitleColor:ot,darkItemHoverColor:Ye,darkItemDisabledColor:bt,darkDangerItemHoverColor:Ut,darkDangerItemSelectedColor:Nt,darkDangerItemActiveBg:In}=wn,Tt=Xt/7*5,Kt=(0,Ie.TS)(wn,{menuArrowSize:Tt,menuHorizontalHeight:Yt*1.15,menuArrowOffset:`${Tt*.25}px`,menuPanelMaskInset:-7,menuSubMenuBg:dn}),pt=(0,Ie.TS)(Kt,{itemColor:On,itemHoverColor:Ye,groupTitleColor:ot,itemSelectedColor:Xn,itemBg:Je,popupBg:Je,subMenuItemBg:He,itemActiveBg:"transparent",itemSelectedBg:Me,activeBarHeight:0,activeBarBorderWidth:0,itemHoverBg:Zt,itemDisabledColor:bt,dangerItemColor:bn,dangerItemHoverColor:Ut,dangerItemSelectedColor:Nt,dangerItemActiveBg:In,dangerItemSelectedBg:Xe,menuSubMenuBg:He,horizontalItemSelectedColor:Bn,horizontalItemSelectedBg:Bt});return[dt(Kt),Ge(Kt),ht(Kt),Gt(Kt,"light"),Gt(pt,"dark"),rt(Kt),(0,Ce.Z)(Kt),(0,Ne.oN)(Kt,"slide-up"),(0,Ne.oN)(Kt,"slide-down"),(0,Re._y)(Kt,"zoom-big")]},wn=>{const{colorPrimary:dn,colorError:Bt,colorTextDisabled:Bn,colorErrorBg:Yt,colorText:Xt,colorTextDescription:On,colorBgContainer:bn,colorFillAlter:Je,colorFillContent:He,lineWidth:Xn,lineWidthBold:Me,controlItemBgActive:Xe,colorBgTextHover:Zt,controlHeightLG:ot,lineHeight:Ye,colorBgElevated:bt,marginXXS:Ut,padding:Nt,fontSize:In,controlHeightSM:Tt,fontSizeLG:Kt,colorTextLightSolid:pt,colorErrorHover:En}=wn,Jt=new be.C(pt).setAlpha(.65).toRgbString();return{dropdownWidth:160,zIndexPopup:wn.zIndexPopupBase+50,radiusItem:wn.borderRadiusLG,itemBorderRadius:wn.borderRadiusLG,radiusSubMenuItem:wn.borderRadiusSM,subMenuItemBorderRadius:wn.borderRadiusSM,colorItemText:Xt,itemColor:Xt,colorItemTextHover:Xt,itemHoverColor:Xt,colorItemTextHoverHorizontal:dn,horizontalItemHoverColor:dn,colorGroupTitle:On,groupTitleColor:On,colorItemTextSelected:dn,itemSelectedColor:dn,colorItemTextSelectedHorizontal:dn,horizontalItemSelectedColor:dn,colorItemBg:bn,itemBg:bn,colorItemBgHover:Zt,itemHoverBg:Zt,colorItemBgActive:He,itemActiveBg:Xe,colorSubItemBg:Je,subMenuItemBg:Je,colorItemBgSelected:Xe,itemSelectedBg:Xe,colorItemBgSelectedHorizontal:"transparent",horizontalItemSelectedBg:"transparent",colorActiveBarWidth:0,activeBarWidth:0,colorActiveBarHeight:Me,activeBarHeight:Me,colorActiveBarBorderSize:Xn,activeBarBorderWidth:Xn,colorItemTextDisabled:Bn,itemDisabledColor:Bn,colorDangerItemText:Bt,dangerItemColor:Bt,colorDangerItemTextHover:Bt,dangerItemHoverColor:Bt,colorDangerItemTextSelected:Bt,dangerItemSelectedColor:Bt,colorDangerItemBgActive:Yt,dangerItemActiveBg:Yt,colorDangerItemBgSelected:Yt,dangerItemSelectedBg:Yt,itemMarginInline:wn.marginXXS,horizontalItemBorderRadius:0,horizontalItemHoverBg:"transparent",itemHeight:ot,groupTitleLineHeight:Ye,collapsedWidth:ot*2,popupBg:bt,itemMarginBlock:Ut,itemPaddingInline:Nt,horizontalLineHeight:`${ot*1.15}px`,iconSize:In,iconMarginInlineEnd:Tt-In,collapsedIconSize:Kt,groupTitleFontSize:In,darkItemDisabledColor:new be.C(pt).setAlpha(.25).toRgbString(),darkItemColor:Jt,darkDangerItemColor:Bt,darkItemBg:"#001529",darkSubMenuItemBg:"#000c17",darkItemSelectedColor:pt,darkItemSelectedBg:dn,darkDangerItemSelectedBg:Bt,darkItemHoverBg:"transparent",darkGroupTitleColor:Jt,darkItemHoverColor:pt,darkDangerItemHoverColor:En,darkDangerItemSelectedColor:pt,darkDangerItemActiveBg:Bt}},{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"]]})(en),Ze=function(en,Ht){var Et={};for(var wn in en)Object.prototype.hasOwnProperty.call(en,wn)&&Ht.indexOf(wn)<0&&(Et[wn]=en[wn]);if(en!=null&&typeof Object.getOwnPropertySymbols=="function")for(var dn=0,wn=Object.getOwnPropertySymbols(en);dn<wn.length;dn++)Ht.indexOf(wn[dn])<0&&Object.prototype.propertyIsEnumerable.call(en,wn[dn])&&(Et[wn[dn]]=en[wn[dn]]);return Et},zn=(0,ge.forwardRef)((en,Ht)=>{var Et,wn;const dn=ge.useContext(ne.Z),Bt=dn||{},{getPrefixCls:Bn,getPopupContainer:Yt,direction:Xt,menu:On}=ge.useContext(ze.E_),bn=Bn(),{prefixCls:Je,className:He,style:Xn,theme:Me="light",expandIcon:Xe,_internalDisableMenuItemTitleTooltip:Zt,inlineCollapsed:ot,siderCollapsed:Ye,items:bt,children:Ut,rootClassName:Nt,mode:In,selectable:Tt,onClick:Kt,overflowedIndicatorPopupClassName:pt}=en,En=Ze(en,["prefixCls","className","style","theme","expandIcon","_internalDisableMenuItemTitleTooltip","inlineCollapsed","siderCollapsed","items","children","rootClassName","mode","selectable","onClick","overflowedIndicatorPopupClassName"]),Jt=(0,Ke.Z)(En,["collapsedWidth"]),xn=Ee(bt)||Ut;(Et=Bt.validator)===null||Et===void 0||Et.call(Bt,{mode:In});const Aa=(0,re.useEvent)(function(){var _a;Kt==null||Kt.apply(void 0,arguments),(_a=Bt.onClick)===null||_a===void 0||_a.call(Bt)}),jn=Bt.mode||In,ua=Tt!=null?Tt:Bt.selectable,La=ge.useMemo(()=>Ye!==void 0?Ye:ot,[ot,Ye]),on={horizontal:{motionName:`${bn}-slide-up`},inline:(0,oe.Z)(bn),other:{motionName:`${bn}-zoom-big`}},gn=Bn("menu",Je||Bt.prefixCls),[Sn,Fa]=kt(gn,!dn),pa=we()(`${gn}-${Me}`,On==null?void 0:On.className,He);let ra;if(typeof Xe=="function")ra=Xe;else if(Xe===null||Xe===!1)ra=null;else if(Bt.expandIcon===null||Bt.expandIcon===!1)ra=null;else{const _a=Xe!=null?Xe:Bt.expandIcon;ra=(0,ve.Tm)(_a,{className:we()(`${gn}-submenu-expand-icon`,(0,ve.l$)(_a)?(wn=_a.props)===null||wn===void 0?void 0:wn.className:"")})}const Ga=ge.useMemo(()=>({prefixCls:gn,inlineCollapsed:La||!1,direction:Xt,firstLevel:!0,theme:Me,mode:jn,disableMenuItemTitleTooltip:Zt}),[gn,La,Xt,Zt,Me]);return Sn(ge.createElement(ne.Z.Provider,{value:null},ge.createElement(a.Provider,{value:Ga},ge.createElement(x.ZP,Object.assign({getPopupContainer:Yt,overflowedIndicator:ge.createElement(te.Z,null),overflowedIndicatorPopupClassName:we()(gn,`${gn}-${Me}`,pt),mode:jn,selectable:ua,onClick:Aa},Jt,{inlineCollapsed:La,style:Object.assign(Object.assign({},On==null?void 0:On.style),Xn),className:pa,prefixCls:gn,direction:Xt,defaultMotions:on,expandIcon:ra,ref:Ht,rootClassName:we()(Nt,Fa)}),xn))))});const Dt=(0,ge.forwardRef)((en,Ht)=>{const Et=(0,ge.useRef)(null),wn=ge.useContext(he.D);return(0,ge.useImperativeHandle)(Ht,()=>({menu:Et.current,focus:dn=>{var Bt;(Bt=Et.current)===null||Bt===void 0||Bt.focus(dn)}})),ge.createElement(zn,Object.assign({ref:Et},en,wn))});Dt.Item=b,Dt.SubMenu=ee,Dt.Divider=Te,Dt.ItemGroup=x.BW;var rn=Dt},28452:function(mt,st,z){"use strict";z.d(st,{Z:function(){return bn}});var x=z(87462),ge=z(67294),he={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M272.9 512l265.4-339.1c4.1-5.2.4-12.9-6.3-12.9h-77.3c-4.9 0-9.6 2.3-12.6 6.1L186.8 492.3a31.99 31.99 0 000 39.5l255.3 326.1c3 3.9 7.7 6.1 12.6 6.1H532c6.7 0 10.4-7.7 6.3-12.9L272.9 512zm304 0l265.4-339.1c4.1-5.2.4-12.9-6.3-12.9h-77.3c-4.9 0-9.6 2.3-12.6 6.1L490.8 492.3a31.99 31.99 0 000 39.5l255.3 326.1c3 3.9 7.7 6.1 12.6 6.1H836c6.7 0 10.4-7.7 6.3-12.9L576.9 512z"}}]},name:"double-left",theme:"outlined"},Fe=he,we=z(74643),ze=function(He,Xn){return ge.createElement(we.Z,(0,x.Z)({},He,{ref:Xn,icon:Fe}))},se=ge.forwardRef(ze),je=z(81893),Te=z(22751),Le=z(91034),Ke=z(94184),De=z.n(Ke),ve=z(4942),ue=z(1413),a=z(15671),y=z(43144),b=z(60136),E=z(51630),ee=`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`,re="".concat(ee," ").concat(te).split(/[\s\n]+/),oe="aria-",ne="data-";function de(Je,He){return Je.indexOf(He)===0}function pe(Je){var He=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,Xn;He===!1?Xn={aria:!0,data:!0,attr:!0}:He===!0?Xn={aria:!0}:Xn=(0,ue.Z)({},He);var Me={};return Object.keys(Je).forEach(function(Xe){(Xn.aria&&(Xe==="role"||de(Xe,oe))||Xn.data&&de(Xe,ne)||Xn.attr&&re.includes(Xe))&&(Me[Xe]=Je[Xe])}),Me}var Ee={ZERO:48,NINE:57,NUMPAD_ZERO:96,NUMPAD_NINE:105,BACKSPACE:8,DELETE:46,ENTER:13,ARROW_UP:38,ARROW_DOWN:40},be=Ee,xe=z(81626),Ce=function(Je){(0,b.Z)(Xn,Je);var He=(0,E.Z)(Xn);function Xn(){var Me;(0,a.Z)(this,Xn);for(var Xe=arguments.length,Zt=new Array(Xe),ot=0;ot<Xe;ot++)Zt[ot]=arguments[ot];return Me=He.call.apply(He,[this].concat(Zt)),Me.state={goInputText:""},Me.getValidValue=function(){var Ye=Me.state.goInputText;return!Ye||Number.isNaN(Ye)?void 0:Number(Ye)},Me.buildOptionText=function(Ye){return"".concat(Ye," ").concat(Me.props.locale.items_per_page)},Me.changeSize=function(Ye){Me.props.changeSize(Number(Ye))},Me.handleChange=function(Ye){Me.setState({goInputText:Ye.target.value})},Me.handleBlur=function(Ye){var bt=Me.props,Ut=bt.goButton,Nt=bt.quickGo,In=bt.rootPrefixCls,Tt=Me.state.goInputText;Ut||Tt===""||(Me.setState({goInputText:""}),!(Ye.relatedTarget&&(Ye.relatedTarget.className.indexOf("".concat(In,"-item-link"))>=0||Ye.relatedTarget.className.indexOf("".concat(In,"-item"))>=0))&&Nt(Me.getValidValue()))},Me.go=function(Ye){var bt=Me.state.goInputText;bt!==""&&(Ye.keyCode===be.ENTER||Ye.type==="click")&&(Me.setState({goInputText:""}),Me.props.quickGo(Me.getValidValue()))},Me}return(0,y.Z)(Xn,[{key:"getPageSizeOptions",value:function(){var Xe=this.props,Zt=Xe.pageSize,ot=Xe.pageSizeOptions;return ot.some(function(Ye){return Ye.toString()===Zt.toString()})?ot:ot.concat([Zt.toString()]).sort(function(Ye,bt){var Ut=Number.isNaN(Number(Ye))?0:Number(Ye),Nt=Number.isNaN(Number(bt))?0:Number(bt);return Ut-Nt})}},{key:"render",value:function(){var Xe=this,Zt=this.props,ot=Zt.pageSize,Ye=Zt.locale,bt=Zt.rootPrefixCls,Ut=Zt.changeSize,Nt=Zt.quickGo,In=Zt.goButton,Tt=Zt.selectComponentClass,Kt=Zt.buildOptionText,pt=Zt.selectPrefixCls,En=Zt.disabled,Jt=this.state.goInputText,xn="".concat(bt,"-options"),Aa=Tt,jn=null,ua=null,La=null;if(!Ut&&!Nt)return null;var on=this.getPageSizeOptions();if(Ut&&Aa){var gn=on.map(function(Sn,Fa){return ge.createElement(Aa.Option,{key:Fa,value:Sn.toString()},(Kt||Xe.buildOptionText)(Sn))});jn=ge.createElement(Aa,{disabled:En,prefixCls:pt,showSearch:!1,className:"".concat(xn,"-size-changer"),optionLabelProp:"children",popupMatchSelectWidth:!1,value:(ot||on[0]).toString(),onChange:this.changeSize,getPopupContainer:function(Fa){return Fa.parentNode},"aria-label":Ye.page_size,defaultOpen:!1},gn)}return Nt&&(In&&(La=typeof In=="boolean"?ge.createElement("button",{type:"button",onClick:this.go,onKeyUp:this.go,disabled:En,className:"".concat(xn,"-quick-jumper-button")},Ye.jump_to_confirm):ge.createElement("span",{onClick:this.go,onKeyUp:this.go},In)),ua=ge.createElement("div",{className:"".concat(xn,"-quick-jumper")},Ye.jump_to,ge.createElement("input",{disabled:En,type:"text",value:Jt,onChange:this.handleChange,onKeyUp:this.go,onBlur:this.handleBlur,"aria-label":Ye.page}),Ye.page,La)),ge.createElement("li",{className:"".concat(xn)},jn,ua)}}]),Xn}(ge.Component);Ce.defaultProps={pageSizeOptions:["10","20","50","100"]};var Ne=Ce,Re=function(He){var Xn,Me=He.rootPrefixCls,Xe=He.page,Zt=He.active,ot=He.className,Ye=He.showTitle,bt=He.onClick,Ut=He.onKeyPress,Nt=He.itemRender,In="".concat(Me,"-item"),Tt=De()(In,"".concat(In,"-").concat(Xe),(Xn={},(0,ve.Z)(Xn,"".concat(In,"-active"),Zt),(0,ve.Z)(Xn,"".concat(In,"-disabled"),!Xe),(0,ve.Z)(Xn,He.className,ot),Xn)),Kt=function(){bt(Xe)},pt=function(xn){Ut(xn,bt,Xe)},En=Nt(Xe,"page",ge.createElement("a",{rel:"nofollow"},Xe));return En?ge.createElement("li",{title:Ye?Xe.toString():null,className:Tt,onClick:Kt,onKeyPress:pt,tabIndex:0},En):null},at=Re;function Ie(){}function Ue(Je){var He=Number(Je);return typeof He=="number"&&!Number.isNaN(He)&&isFinite(He)&&Math.floor(He)===He}var Ge=function(He,Xn,Me){return Me};function Ve(Je,He,Xn){var Me=typeof Je=="undefined"?He.pageSize:Je;return Math.floor((Xn.total-1)/Me)+1}var rt=function(Je){(0,b.Z)(Xn,Je);var He=(0,E.Z)(Xn);function Xn(Me){var Xe;(0,a.Z)(this,Xn),Xe=He.call(this,Me),Xe.paginationNode=ge.createRef(),Xe.getJumpPrevPage=function(){return Math.max(1,Xe.state.current-(Xe.props.showLessItems?3:5))},Xe.getJumpNextPage=function(){return Math.min(Ve(void 0,Xe.state,Xe.props),Xe.state.current+(Xe.props.showLessItems?3:5))},Xe.getItemIcon=function(Ut,Nt){var In=Xe.props.prefixCls,Tt=Ut||ge.createElement("button",{type:"button","aria-label":Nt,className:"".concat(In,"-item-link")});return typeof Ut=="function"&&(Tt=ge.createElement(Ut,(0,ue.Z)({},Xe.props))),Tt},Xe.isValid=function(Ut){var Nt=Xe.props.total;return Ue(Ut)&&Ut!==Xe.state.current&&Ue(Nt)&&Nt>0},Xe.shouldDisplayQuickJumper=function(){var Ut=Xe.props,Nt=Ut.showQuickJumper,In=Ut.total,Tt=Xe.state.pageSize;return In<=Tt?!1:Nt},Xe.handleKeyDown=function(Ut){(Ut.keyCode===be.ARROW_UP||Ut.keyCode===be.ARROW_DOWN)&&Ut.preventDefault()},Xe.handleKeyUp=function(Ut){var Nt=Xe.getValidValue(Ut),In=Xe.state.currentInputValue;Nt!==In&&Xe.setState({currentInputValue:Nt}),Ut.keyCode===be.ENTER?Xe.handleChange(Nt):Ut.keyCode===be.ARROW_UP?Xe.handleChange(Nt-1):Ut.keyCode===be.ARROW_DOWN&&Xe.handleChange(Nt+1)},Xe.handleBlur=function(Ut){var Nt=Xe.getValidValue(Ut);Xe.handleChange(Nt)},Xe.changePageSize=function(Ut){var Nt=Xe.state.current,In=Ve(Ut,Xe.state,Xe.props);Nt=Nt>In?In:Nt,In===0&&(Nt=Xe.state.current),typeof Ut=="number"&&("pageSize"in Xe.props||Xe.setState({pageSize:Ut}),"current"in Xe.props||Xe.setState({current:Nt,currentInputValue:Nt})),Xe.props.onShowSizeChange(Nt,Ut),"onChange"in Xe.props&&Xe.props.onChange&&Xe.props.onChange(Nt,Ut)},Xe.handleChange=function(Ut){var Nt=Xe.props,In=Nt.disabled,Tt=Nt.onChange,Kt=Xe.state,pt=Kt.pageSize,En=Kt.current,Jt=Kt.currentInputValue;if(Xe.isValid(Ut)&&!In){var xn=Ve(void 0,Xe.state,Xe.props),Aa=Ut;return Ut>xn?Aa=xn:Ut<1&&(Aa=1),"current"in Xe.props||Xe.setState({current:Aa}),Aa!==Jt&&Xe.setState({currentInputValue:Aa}),Tt(Aa,pt),Aa}return En},Xe.prev=function(){Xe.hasPrev()&&Xe.handleChange(Xe.state.current-1)},Xe.next=function(){Xe.hasNext()&&Xe.handleChange(Xe.state.current+1)},Xe.jumpPrev=function(){Xe.handleChange(Xe.getJumpPrevPage())},Xe.jumpNext=function(){Xe.handleChange(Xe.getJumpNextPage())},Xe.hasPrev=function(){return Xe.state.current>1},Xe.hasNext=function(){return Xe.state.current<Ve(void 0,Xe.state,Xe.props)},Xe.runIfEnter=function(Ut,Nt){if(Ut.key==="Enter"||Ut.charCode===13){for(var In=arguments.length,Tt=new Array(In>2?In-2:0),Kt=2;Kt<In;Kt++)Tt[Kt-2]=arguments[Kt];Nt.apply(void 0,Tt)}},Xe.runIfEnterPrev=function(Ut){Xe.runIfEnter(Ut,Xe.prev)},Xe.runIfEnterNext=function(Ut){Xe.runIfEnter(Ut,Xe.next)},Xe.runIfEnterJumpPrev=function(Ut){Xe.runIfEnter(Ut,Xe.jumpPrev)},Xe.runIfEnterJumpNext=function(Ut){Xe.runIfEnter(Ut,Xe.jumpNext)},Xe.handleGoTO=function(Ut){(Ut.keyCode===be.ENTER||Ut.type==="click")&&Xe.handleChange(Xe.state.currentInputValue)},Xe.renderPrev=function(Ut){var Nt=Xe.props,In=Nt.prevIcon,Tt=Nt.itemRender,Kt=Tt(Ut,"prev",Xe.getItemIcon(In,"prev page")),pt=!Xe.hasPrev();return(0,ge.isValidElement)(Kt)?(0,ge.cloneElement)(Kt,{disabled:pt}):Kt},Xe.renderNext=function(Ut){var Nt=Xe.props,In=Nt.nextIcon,Tt=Nt.itemRender,Kt=Tt(Ut,"next",Xe.getItemIcon(In,"next page")),pt=!Xe.hasNext();return(0,ge.isValidElement)(Kt)?(0,ge.cloneElement)(Kt,{disabled:pt}):Kt};var Zt=Me.onChange!==Ie,ot="current"in Me;ot&&!Zt&&console.warn("Warning: You provided a `current` prop to a Pagination component without an `onChange` handler. This will render a read-only component.");var Ye=Me.defaultCurrent;"current"in Me&&(Ye=Me.current);var bt=Me.defaultPageSize;return"pageSize"in Me&&(bt=Me.pageSize),Ye=Math.min(Ye,Ve(bt,void 0,Me)),Xe.state={current:Ye,currentInputValue:Ye,pageSize:bt},Xe}return(0,y.Z)(Xn,[{key:"componentDidUpdate",value:function(Xe,Zt){var ot=this.props.prefixCls;if(Zt.current!==this.state.current&&this.paginationNode.current){var Ye=this.paginationNode.current.querySelector(".".concat(ot,"-item-").concat(Zt.current));if(Ye&&document.activeElement===Ye){var bt;Ye==null||(bt=Ye.blur)===null||bt===void 0||bt.call(Ye)}}}},{key:"getValidValue",value:function(Xe){var Zt=Xe.target.value,ot=Ve(void 0,this.state,this.props),Ye=this.state.currentInputValue,bt;return Zt===""?bt=Zt:Number.isNaN(Number(Zt))?bt=Ye:Zt>=ot?bt=ot:bt=Number(Zt),bt}},{key:"getShowSizeChanger",value:function(){var Xe=this.props,Zt=Xe.showSizeChanger,ot=Xe.total,Ye=Xe.totalBoundaryShowSizeChanger;return typeof Zt!="undefined"?Zt:ot>Ye}},{key:"render",value:function(){var Xe=this.props,Zt=Xe.prefixCls,ot=Xe.className,Ye=Xe.style,bt=Xe.disabled,Ut=Xe.hideOnSinglePage,Nt=Xe.total,In=Xe.locale,Tt=Xe.showQuickJumper,Kt=Xe.showLessItems,pt=Xe.showTitle,En=Xe.showTotal,Jt=Xe.simple,xn=Xe.itemRender,Aa=Xe.showPrevNextJumpers,jn=Xe.jumpPrevIcon,ua=Xe.jumpNextIcon,La=Xe.selectComponentClass,on=Xe.selectPrefixCls,gn=Xe.pageSizeOptions,Sn=this.state,Fa=Sn.current,pa=Sn.pageSize,ra=Sn.currentInputValue;if(Ut===!0&&Nt<=pa)return null;var Ga=Ve(void 0,this.state,this.props),_a=[],Qr=null,wo=null,Ln=null,wt=null,Rt=null,Ct=Tt&&Tt.goButton,qn=Kt?1:2,Qt=Fa-1>0?Fa-1:0,er=Fa+1<Ga?Fa+1:Ga,Zo=pe(this.props,{aria:!0,data:!0}),ao=En&&ge.createElement("li",{className:"".concat(Zt,"-total-text")},En(Nt,[Nt===0?0:(Fa-1)*pa+1,Fa*pa>Nt?Nt:Fa*pa]));if(Jt){Ct&&(typeof Ct=="boolean"?Rt=ge.createElement("button",{type:"button",onClick:this.handleGoTO,onKeyUp:this.handleGoTO},In.jump_to_confirm):Rt=ge.createElement("span",{onClick:this.handleGoTO,onKeyUp:this.handleGoTO},Ct),Rt=ge.createElement("li",{title:pt?"".concat(In.jump_to).concat(Fa,"/").concat(Ga):null,className:"".concat(Zt,"-simple-pager")},Rt));var rr=this.renderPrev(Qt);return ge.createElement("ul",(0,x.Z)({className:De()(Zt,"".concat(Zt,"-simple"),(0,ve.Z)({},"".concat(Zt,"-disabled"),bt),ot),style:Ye,ref:this.paginationNode},Zo),ao,rr?ge.createElement("li",{title:pt?In.prev_page:null,onClick:this.prev,tabIndex:this.hasPrev()?0:null,onKeyPress:this.runIfEnterPrev,className:De()("".concat(Zt,"-prev"),(0,ve.Z)({},"".concat(Zt,"-disabled"),!this.hasPrev())),"aria-disabled":!this.hasPrev()},rr):null,ge.createElement("li",{title:pt?"".concat(Fa,"/").concat(Ga):null,className:"".concat(Zt,"-simple-pager")},ge.createElement("input",{type:"text",value:ra,disabled:bt,onKeyDown:this.handleKeyDown,onKeyUp:this.handleKeyUp,onChange:this.handleKeyUp,onBlur:this.handleBlur,size:3}),ge.createElement("span",{className:"".concat(Zt,"-slash")},"/"),Ga),ge.createElement("li",{title:pt?In.next_page:null,onClick:this.next,tabIndex:this.hasPrev()?0:null,onKeyPress:this.runIfEnterNext,className:De()("".concat(Zt,"-next"),(0,ve.Z)({},"".concat(Zt,"-disabled"),!this.hasNext())),"aria-disabled":!this.hasNext()},this.renderNext(er)),Rt)}if(Ga<=3+qn*2){var qr={locale:In,rootPrefixCls:Zt,onClick:this.handleChange,onKeyPress:this.runIfEnter,showTitle:pt,itemRender:xn};Ga||_a.push(ge.createElement(at,(0,x.Z)({},qr,{key:"noPager",page:1,className:"".concat(Zt,"-item-disabled")})));for(var Jo=1;Jo<=Ga;Jo+=1){var da=Fa===Jo;_a.push(ge.createElement(at,(0,x.Z)({},qr,{key:Jo,page:Jo,active:da})))}}else{var Vr=Kt?In.prev_3:In.prev_5,ft=Kt?In.next_3:In.next_5,vn=xn(this.getJumpPrevPage(),"jump-prev",this.getItemIcon(jn,"prev page")),an=xn(this.getJumpNextPage(),"jump-next",this.getItemIcon(ua,"next page"));Aa&&(Qr=vn?ge.createElement("li",{title:pt?Vr:null,key:"prev",onClick:this.jumpPrev,tabIndex:0,onKeyPress:this.runIfEnterJumpPrev,className:De()("".concat(Zt,"-jump-prev"),(0,ve.Z)({},"".concat(Zt,"-jump-prev-custom-icon"),!!jn))},vn):null,wo=an?ge.createElement("li",{title:pt?ft:null,key:"next",tabIndex:0,onClick:this.jumpNext,onKeyPress:this.runIfEnterJumpNext,className:De()("".concat(Zt,"-jump-next"),(0,ve.Z)({},"".concat(Zt,"-jump-next-custom-icon"),!!ua))},an):null),wt=ge.createElement(at,{locale:In,last:!0,rootPrefixCls:Zt,onClick:this.handleChange,onKeyPress:this.runIfEnter,key:Ga,page:Ga,active:!1,showTitle:pt,itemRender:xn}),Ln=ge.createElement(at,{locale:In,rootPrefixCls:Zt,onClick:this.handleChange,onKeyPress:this.runIfEnter,key:1,page:1,active:!1,showTitle:pt,itemRender:xn});var mn=Math.max(1,Fa-qn),ca=Math.min(Fa+qn,Ga);Fa-1<=qn&&(ca=1+qn*2),Ga-Fa<=qn&&(mn=Ga-qn*2);for(var fn=mn;fn<=ca;fn+=1){var la=Fa===fn;_a.push(ge.createElement(at,{locale:In,rootPrefixCls:Zt,onClick:this.handleChange,onKeyPress:this.runIfEnter,key:fn,page:fn,active:la,showTitle:pt,itemRender:xn}))}Fa-1>=qn*2&&Fa!==3&&(_a[0]=(0,ge.cloneElement)(_a[0],{className:"".concat(Zt,"-item-after-jump-prev")}),_a.unshift(Qr)),Ga-Fa>=qn*2&&Fa!==Ga-2&&(_a[_a.length-1]=(0,ge.cloneElement)(_a[_a.length-1],{className:"".concat(Zt,"-item-before-jump-next")}),_a.push(wo)),mn!==1&&_a.unshift(Ln),ca!==Ga&&_a.push(wt)}var Tn=!this.hasPrev()||!Ga,Sa=!this.hasNext()||!Ga,Qa=this.renderPrev(Qt),Br=this.renderNext(er);return ge.createElement("ul",(0,x.Z)({className:De()(Zt,ot,(0,ve.Z)({},"".concat(Zt,"-disabled"),bt)),style:Ye,ref:this.paginationNode},Zo),ao,Qa?ge.createElement("li",{title:pt?In.prev_page:null,onClick:this.prev,tabIndex:Tn?null:0,onKeyPress:this.runIfEnterPrev,className:De()("".concat(Zt,"-prev"),(0,ve.Z)({},"".concat(Zt,"-disabled"),Tn)),"aria-disabled":Tn},Qa):null,_a,Br?ge.createElement("li",{title:pt?In.next_page:null,onClick:this.next,tabIndex:Sa?null:0,onKeyPress:this.runIfEnterNext,className:De()("".concat(Zt,"-next"),(0,ve.Z)({},"".concat(Zt,"-disabled"),Sa)),"aria-disabled":Sa},Br):null,ge.createElement(Ne,{disabled:bt,locale:In,rootPrefixCls:Zt,selectComponentClass:La,selectPrefixCls:on,changeSize:this.getShowSizeChanger()?this.changePageSize:null,current:Fa,pageSize:pa,pageSizeOptions:gn,quickGo:this.shouldDisplayQuickJumper()?this.handleChange:null,goButton:Ct}))}}],[{key:"getDerivedStateFromProps",value:function(Xe,Zt){var ot={};if("current"in Xe&&(ot.current=Xe.current,Xe.current!==Zt.current&&(ot.currentInputValue=ot.current)),"pageSize"in Xe&&Xe.pageSize!==Zt.pageSize){var Ye=Zt.current,bt=Ve(Xe.pageSize,Zt,Xe);Ye=Ye>bt?bt:Ye,"current"in Xe||(ot.current=Ye,ot.currentInputValue=Ye),ot.pageSize=Xe.pageSize}return ot}}]),Xn}(ge.Component);rt.defaultProps={defaultCurrent:1,total:0,defaultPageSize:10,onChange:Ie,className:"",selectPrefixCls:"rc-select",prefixCls:"rc-pagination",selectComponentClass:null,hideOnSinglePage:!1,showPrevNextJumpers:!0,showQuickJumper:!1,showLessItems:!1,showTitle:!0,onShowSizeChange:Ie,locale:xe.Z,style:{},itemRender:Ge,totalBoundaryShowSizeChanger:50};var gt=rt,xt=z(62906),Gt=z(53124),yn=z(98675),lt=z(25378),ht=z(10110),Lt=z(42563);const zt=Je=>ge.createElement(Lt.default,Object.assign({},Je,{showSearch:!0,size:"small"})),dt=Je=>ge.createElement(Lt.default,Object.assign({},Je,{showSearch:!0,size:"middle"}));zt.Option=Lt.default.Option,dt.Option=Lt.default.Option;var kt=z(47673),Ze=z(14747),Dn=z(67968),zn=z(45503);const Dt=Je=>{const{componentCls:He}=Je;return{[`${He}-disabled`]:{"&, &:hover":{cursor:"not-allowed",[`${He}-item-link`]:{color:Je.colorTextDisabled,cursor:"not-allowed"}},"&:focus-visible":{cursor:"not-allowed",[`${He}-item-link`]:{color:Je.colorTextDisabled,cursor:"not-allowed"}}},[`&${He}-disabled`]:{cursor:"not-allowed",[`${He}-item`]:{cursor:"not-allowed","&:hover, &:active":{backgroundColor:"transparent"},a:{color:Je.colorTextDisabled,backgroundColor:"transparent",border:"none",cursor:"not-allowed"},"&-active":{borderColor:Je.colorBorder,backgroundColor:Je.itemActiveBgDisabled,"&:hover, &:active":{backgroundColor:Je.itemActiveBgDisabled},a:{color:Je.itemActiveColorDisabled}}},[`${He}-item-link`]:{color:Je.colorTextDisabled,cursor:"not-allowed","&:hover, &:active":{backgroundColor:"transparent"},[`${He}-simple&`]:{backgroundColor:"transparent","&:hover, &:active":{backgroundColor:"transparent"}}},[`${He}-simple-pager`]:{color:Je.colorTextDisabled},[`${He}-jump-prev, ${He}-jump-next`]:{[`${He}-item-link-icon`]:{opacity:0},[`${He}-item-ellipsis`]:{opacity:1}}},[`&${He}-simple`]:{[`${He}-prev, ${He}-next`]:{[`&${He}-disabled ${He}-item-link`]:{"&:hover, &:active":{backgroundColor:"transparent"}}}}}},rn=Je=>{const{componentCls:He}=Je;return{[`&${He}-mini ${He}-total-text, &${He}-mini ${He}-simple-pager`]:{height:Je.itemSizeSM,lineHeight:`${Je.itemSizeSM}px`},[`&${He}-mini ${He}-item`]:{minWidth:Je.itemSizeSM,height:Je.itemSizeSM,margin:0,lineHeight:`${Je.itemSizeSM-2}px`},[`&${He}-mini:not(${He}-disabled) ${He}-item:not(${He}-item-active)`]:{backgroundColor:"transparent",borderColor:"transparent","&:hover":{backgroundColor:Je.colorBgTextHover},"&:active":{backgroundColor:Je.colorBgTextActive}},[`&${He}-mini ${He}-prev, &${He}-mini ${He}-next`]:{minWidth:Je.itemSizeSM,height:Je.itemSizeSM,margin:0,lineHeight:`${Je.itemSizeSM}px`},[`&${He}-mini:not(${He}-disabled)`]:{[`${He}-prev, ${He}-next`]:{[`&:hover ${He}-item-link`]:{backgroundColor:Je.colorBgTextHover},[`&:active ${He}-item-link`]:{backgroundColor:Je.colorBgTextActive},[`&${He}-disabled:hover ${He}-item-link`]:{backgroundColor:"transparent"}}},[`
|
|
&${He}-mini ${He}-prev ${He}-item-link,
|
|
&${He}-mini ${He}-next ${He}-item-link
|
|
`]:{backgroundColor:"transparent",borderColor:"transparent","&::after":{height:Je.itemSizeSM,lineHeight:`${Je.itemSizeSM}px`}},[`&${He}-mini ${He}-jump-prev, &${He}-mini ${He}-jump-next`]:{height:Je.itemSizeSM,marginInlineEnd:0,lineHeight:`${Je.itemSizeSM}px`},[`&${He}-mini ${He}-options`]:{marginInlineStart:Je.paginationMiniOptionsMarginInlineStart,"&-size-changer":{top:Je.miniOptionsSizeChangerTop},"&-quick-jumper":{height:Je.itemSizeSM,lineHeight:`${Je.itemSizeSM}px`,input:Object.assign(Object.assign({},(0,kt.x0)(Je)),{width:Je.paginationMiniQuickJumperInputWidth,height:Je.controlHeightSM})}}}},en=Je=>{const{componentCls:He}=Je;return{[`
|
|
&${He}-simple ${He}-prev,
|
|
&${He}-simple ${He}-next
|
|
`]:{height:Je.itemSizeSM,lineHeight:`${Je.itemSizeSM}px`,verticalAlign:"top",[`${He}-item-link`]:{height:Je.itemSizeSM,backgroundColor:"transparent",border:0,"&:hover":{backgroundColor:Je.colorBgTextHover},"&:active":{backgroundColor:Je.colorBgTextActive},"&::after":{height:Je.itemSizeSM,lineHeight:`${Je.itemSizeSM}px`}}},[`&${He}-simple ${He}-simple-pager`]:{display:"inline-block",height:Je.itemSizeSM,marginInlineEnd:Je.marginXS,input:{boxSizing:"border-box",height:"100%",marginInlineEnd:Je.marginXS,padding:`0 ${Je.paginationItemPaddingInline}px`,textAlign:"center",backgroundColor:Je.itemInputBg,border:`${Je.lineWidth}px ${Je.lineType} ${Je.colorBorder}`,borderRadius:Je.borderRadius,outline:"none",transition:`border-color ${Je.motionDurationMid}`,color:"inherit","&:hover":{borderColor:Je.colorPrimary},"&:focus":{borderColor:Je.colorPrimaryHover,boxShadow:`${Je.inputOutlineOffset}px 0 ${Je.controlOutlineWidth}px ${Je.controlOutline}`},"&[disabled]":{color:Je.colorTextDisabled,backgroundColor:Je.colorBgContainerDisabled,borderColor:Je.colorBorder,cursor:"not-allowed"}}}}},Ht=Je=>{const{componentCls:He}=Je;return{[`${He}-jump-prev, ${He}-jump-next`]:{outline:0,[`${He}-item-container`]:{position:"relative",[`${He}-item-link-icon`]:{color:Je.colorPrimary,fontSize:Je.fontSizeSM,opacity:0,transition:`all ${Je.motionDurationMid}`,"&-svg":{top:0,insetInlineEnd:0,bottom:0,insetInlineStart:0,margin:"auto"}},[`${He}-item-ellipsis`]:{position:"absolute",top:0,insetInlineEnd:0,bottom:0,insetInlineStart:0,display:"block",margin:"auto",color:Je.colorTextDisabled,fontFamily:"Arial, Helvetica, sans-serif",letterSpacing:Je.paginationEllipsisLetterSpacing,textAlign:"center",textIndent:Je.paginationEllipsisTextIndent,opacity:1,transition:`all ${Je.motionDurationMid}`}},"&:hover":{[`${He}-item-link-icon`]:{opacity:1},[`${He}-item-ellipsis`]:{opacity:0}}},[`
|
|
${He}-prev,
|
|
${He}-jump-prev,
|
|
${He}-jump-next
|
|
`]:{marginInlineEnd:Je.marginXS},[`
|
|
${He}-prev,
|
|
${He}-next,
|
|
${He}-jump-prev,
|
|
${He}-jump-next
|
|
`]:{display:"inline-block",minWidth:Je.itemSize,height:Je.itemSize,color:Je.colorText,fontFamily:Je.fontFamily,lineHeight:`${Je.itemSize}px`,textAlign:"center",verticalAlign:"middle",listStyle:"none",borderRadius:Je.borderRadius,cursor:"pointer",transition:`all ${Je.motionDurationMid}`},[`${He}-prev, ${He}-next`]:{fontFamily:"Arial, Helvetica, sans-serif",outline:0,button:{color:Je.colorText,cursor:"pointer",userSelect:"none"},[`${He}-item-link`]:{display:"block",width:"100%",height:"100%",padding:0,fontSize:Je.fontSizeSM,textAlign:"center",backgroundColor:"transparent",border:`${Je.lineWidth}px ${Je.lineType} transparent`,borderRadius:Je.borderRadius,outline:"none",transition:`all ${Je.motionDurationMid}`},[`&:hover ${He}-item-link`]:{backgroundColor:Je.colorBgTextHover},[`&:active ${He}-item-link`]:{backgroundColor:Je.colorBgTextActive},[`&${He}-disabled:hover`]:{[`${He}-item-link`]:{backgroundColor:"transparent"}}},[`${He}-slash`]:{marginInlineEnd:Je.paginationSlashMarginInlineEnd,marginInlineStart:Je.paginationSlashMarginInlineStart},[`${He}-options`]:{display:"inline-block",marginInlineStart:Je.margin,verticalAlign:"middle","&-size-changer.-select":{display:"inline-block",width:"auto"},"&-quick-jumper":{display:"inline-block",height:Je.controlHeight,marginInlineStart:Je.marginXS,lineHeight:`${Je.controlHeight}px`,verticalAlign:"top",input:Object.assign(Object.assign({},(0,kt.ik)(Je)),{width:Je.controlHeightLG*1.25,height:Je.controlHeight,boxSizing:"border-box",margin:0,marginInlineStart:Je.marginXS,marginInlineEnd:Je.marginXS})}}}},Et=Je=>{const{componentCls:He}=Je;return{[`${He}-item`]:{display:"inline-block",minWidth:Je.itemSize,height:Je.itemSize,marginInlineEnd:Je.marginXS,fontFamily:Je.fontFamily,lineHeight:`${Je.itemSize-2}px`,textAlign:"center",verticalAlign:"middle",listStyle:"none",backgroundColor:"transparent",border:`${Je.lineWidth}px ${Je.lineType} transparent`,borderRadius:Je.borderRadius,outline:0,cursor:"pointer",userSelect:"none",a:{display:"block",padding:`0 ${Je.paginationItemPaddingInline}px`,color:Je.colorText,"&:hover":{textDecoration:"none"}},[`&:not(${He}-item-active)`]:{"&:hover":{transition:`all ${Je.motionDurationMid}`,backgroundColor:Je.colorBgTextHover},"&:active":{backgroundColor:Je.colorBgTextActive}},"&-active":{fontWeight:Je.fontWeightStrong,backgroundColor:Je.itemActiveBg,borderColor:Je.colorPrimary,a:{color:Je.colorPrimary},"&:hover":{borderColor:Je.colorPrimaryHover},"&:hover a":{color:Je.colorPrimaryHover}}}}},wn=Je=>{const{componentCls:He}=Je;return{[He]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},(0,Ze.Wf)(Je)),{"ul, ol":{margin:0,padding:0,listStyle:"none"},"&::after":{display:"block",clear:"both",height:0,overflow:"hidden",visibility:"hidden",content:'""'},[`${He}-total-text`]:{display:"inline-block",height:Je.itemSize,marginInlineEnd:Je.marginXS,lineHeight:`${Je.itemSize-2}px`,verticalAlign:"middle"}}),Et(Je)),Ht(Je)),en(Je)),rn(Je)),Dt(Je)),{[`@media only screen and (max-width: ${Je.screenLG}px)`]:{[`${He}-item`]:{"&-after-jump-prev, &-before-jump-next":{display:"none"}}},[`@media only screen and (max-width: ${Je.screenSM}px)`]:{[`${He}-options`]:{display:"none"}}}),[`&${Je.componentCls}-rtl`]:{direction:"rtl"}}},dn=Je=>{const{componentCls:He}=Je;return{[`${He}${He}-disabled:not(${He}-mini)`]:{"&, &:hover":{[`${He}-item-link`]:{borderColor:Je.colorBorder}},"&:focus-visible":{[`${He}-item-link`]:{borderColor:Je.colorBorder}},[`${He}-item, ${He}-item-link`]:{backgroundColor:Je.colorBgContainerDisabled,borderColor:Je.colorBorder,[`&:hover:not(${He}-item-active)`]:{backgroundColor:Je.colorBgContainerDisabled,borderColor:Je.colorBorder,a:{color:Je.colorTextDisabled}},[`&${He}-item-active`]:{backgroundColor:Je.itemActiveBgDisabled}},[`${He}-prev, ${He}-next`]:{"&:hover button":{backgroundColor:Je.colorBgContainerDisabled,borderColor:Je.colorBorder,color:Je.colorTextDisabled},[`${He}-item-link`]:{backgroundColor:Je.colorBgContainerDisabled,borderColor:Je.colorBorder}}},[`${He}:not(${He}-mini)`]:{[`${He}-prev, ${He}-next`]:{"&:hover button":{borderColor:Je.colorPrimaryHover,backgroundColor:Je.itemBg},[`${He}-item-link`]:{backgroundColor:Je.itemLinkBg,borderColor:Je.colorBorder},[`&:hover ${He}-item-link`]:{borderColor:Je.colorPrimary,backgroundColor:Je.itemBg,color:Je.colorPrimary},[`&${He}-disabled`]:{[`${He}-item-link`]:{borderColor:Je.colorBorder,color:Je.colorTextDisabled}}},[`${He}-item`]:{backgroundColor:Je.itemBg,border:`${Je.lineWidth}px ${Je.lineType} ${Je.colorBorder}`,[`&:hover:not(${He}-item-active)`]:{borderColor:Je.colorPrimary,backgroundColor:Je.itemBg,a:{color:Je.colorPrimary}},"&-active":{borderColor:Je.colorPrimary}}}}},Bt=Je=>{const{componentCls:He}=Je;return{[`${He}:not(${He}-disabled)`]:{[`${He}-item`]:Object.assign({},(0,Ze.Qy)(Je)),[`${He}-jump-prev, ${He}-jump-next`]:{"&:focus-visible":Object.assign({[`${He}-item-link-icon`]:{opacity:1},[`${He}-item-ellipsis`]:{opacity:0}},(0,Ze.oN)(Je))},[`${He}-prev, ${He}-next`]:{[`&:focus-visible ${He}-item-link`]:Object.assign({},(0,Ze.oN)(Je))}}}};var Bn=(0,Dn.Z)("Pagination",Je=>{const He=(0,zn.TS)(Je,{inputOutlineOffset:0,paginationMiniOptionsMarginInlineStart:Je.marginXXS/2,paginationMiniQuickJumperInputWidth:Je.controlHeightLG*1.1,paginationItemPaddingInline:Je.marginXXS*1.5,paginationEllipsisLetterSpacing:Je.marginXXS/2,paginationSlashMarginInlineStart:Je.marginXXS,paginationSlashMarginInlineEnd:Je.marginSM,paginationEllipsisTextIndent:"0.13em"},(0,kt.e5)(Je),(0,kt.TM)(Je));return[wn(He),Bt(He),Je.wireframe&&dn(He)]},Je=>({itemBg:Je.colorBgContainer,itemSize:Je.controlHeight,itemSizeSM:Je.controlHeightSM,itemActiveBg:Je.colorBgContainer,itemLinkBg:Je.colorBgContainer,itemActiveColorDisabled:Je.colorTextDisabled,itemActiveBgDisabled:Je.controlItemBgActiveDisabled,itemInputBg:Je.colorBgContainer,miniOptionsSizeChangerTop:0})),Yt=function(Je,He){var Xn={};for(var Me in Je)Object.prototype.hasOwnProperty.call(Je,Me)&&He.indexOf(Me)<0&&(Xn[Me]=Je[Me]);if(Je!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Xe=0,Me=Object.getOwnPropertySymbols(Je);Xe<Me.length;Xe++)He.indexOf(Me[Xe])<0&&Object.prototype.propertyIsEnumerable.call(Je,Me[Xe])&&(Xn[Me[Xe]]=Je[Me[Xe]]);return Xn},On=Je=>{const{prefixCls:He,selectPrefixCls:Xn,className:Me,rootClassName:Xe,style:Zt,size:ot,locale:Ye,selectComponentClass:bt,responsive:Ut,showSizeChanger:Nt}=Je,In=Yt(Je,["prefixCls","selectPrefixCls","className","rootClassName","style","size","locale","selectComponentClass","responsive","showSizeChanger"]),{xs:Tt}=(0,lt.Z)(Ut),{getPrefixCls:Kt,direction:pt,pagination:En={}}=ge.useContext(Gt.E_),Jt=Kt("pagination",He),[xn,Aa]=Bn(Jt),jn=Nt!=null?Nt:En.showSizeChanger,ua=ge.useMemo(()=>{const Ga=ge.createElement("span",{className:`${Jt}-item-ellipsis`},"\u2022\u2022\u2022"),_a=ge.createElement("button",{className:`${Jt}-item-link`,type:"button",tabIndex:-1},pt==="rtl"?ge.createElement(Le.Z,null):ge.createElement(Te.Z,null)),Qr=ge.createElement("button",{className:`${Jt}-item-link`,type:"button",tabIndex:-1},pt==="rtl"?ge.createElement(Te.Z,null):ge.createElement(Le.Z,null)),wo=ge.createElement("a",{className:`${Jt}-item-link`},ge.createElement("div",{className:`${Jt}-item-container`},pt==="rtl"?ge.createElement(je.Z,{className:`${Jt}-item-link-icon`}):ge.createElement(se,{className:`${Jt}-item-link-icon`}),Ga)),Ln=ge.createElement("a",{className:`${Jt}-item-link`},ge.createElement("div",{className:`${Jt}-item-container`},pt==="rtl"?ge.createElement(se,{className:`${Jt}-item-link-icon`}):ge.createElement(je.Z,{className:`${Jt}-item-link-icon`}),Ga));return{prevIcon:_a,nextIcon:Qr,jumpPrevIcon:wo,jumpNextIcon:Ln}},[pt,Jt]),[La]=(0,ht.Z)("Pagination",xt.Z),on=Object.assign(Object.assign({},La),Ye),gn=(0,yn.Z)(ot),Sn=gn==="small"||!!(Tt&&!gn&&Ut),Fa=Kt("select",Xn),pa=De()({[`${Jt}-mini`]:Sn,[`${Jt}-rtl`]:pt==="rtl"},En==null?void 0:En.className,Me,Xe,Aa),ra=Object.assign(Object.assign({},En==null?void 0:En.style),Zt);return xn(ge.createElement(gt,Object.assign({},ua,In,{style:ra,prefixCls:Jt,selectPrefixCls:Fa,className:pa,selectComponentClass:bt||(Sn?zt:dt),locale:on,showSizeChanger:jn})))},bn=On},38703:function(mt,st,z){"use strict";z.d(st,{Z:function(){return Zt}});var x=z(67294),ge=z(87725),he=z(18299),Fe=z(16646),we=z(73475),ze=z(94184),se=z.n(ze),je=z(10366),Te=z(53124),Le=z(87462),Ke=z(1413),De=z(45987),ve={percent:0,prefixCls:"rc-progress",strokeColor:"#2db7f5",strokeLinecap:"round",strokeWidth:1,trailColor:"#D9D9D9",trailWidth:1,gapPosition:"bottom"},ue=function(){var Ye=(0,x.useRef)([]),bt=(0,x.useRef)(null);return(0,x.useEffect)(function(){var Ut=Date.now(),Nt=!1;Ye.current.forEach(function(In){if(In){Nt=!0;var Tt=In.style;Tt.transitionDuration=".3s, .3s, .3s, .06s",bt.current&&Ut-bt.current<100&&(Tt.transitionDuration="0s, 0s")}}),Nt&&(bt.current=Date.now())}),Ye.current},a=["className","percent","prefixCls","strokeColor","strokeLinecap","strokeWidth","style","trailColor","trailWidth","transition"],y=function(Ye){var bt=(0,Ke.Z)((0,Ke.Z)({},ve),Ye),Ut=bt.className,Nt=bt.percent,In=bt.prefixCls,Tt=bt.strokeColor,Kt=bt.strokeLinecap,pt=bt.strokeWidth,En=bt.style,Jt=bt.trailColor,xn=bt.trailWidth,Aa=bt.transition,jn=(0,De.Z)(bt,a);delete jn.gapPosition;var ua=Array.isArray(Nt)?Nt:[Nt],La=Array.isArray(Tt)?Tt:[Tt],on=ue(),gn=pt/2,Sn=100-pt/2,Fa="M ".concat(Kt==="round"?gn:0,",").concat(gn,`
|
|
L `).concat(Kt==="round"?Sn:100,",").concat(gn),pa="0 0 100 ".concat(pt),ra=0;return x.createElement("svg",(0,Le.Z)({className:se()("".concat(In,"-line"),Ut),viewBox:pa,preserveAspectRatio:"none",style:En},jn),x.createElement("path",{className:"".concat(In,"-line-trail"),d:Fa,strokeLinecap:Kt,stroke:Jt,strokeWidth:xn||pt,fillOpacity:"0"}),ua.map(function(Ga,_a){var Qr=1;switch(Kt){case"round":Qr=1-pt/100;break;case"square":Qr=1-pt/2/100;break;default:Qr=1;break}var wo={strokeDasharray:"".concat(Ga*Qr,"px, 100px"),strokeDashoffset:"-".concat(ra,"px"),transition:Aa||"stroke-dashoffset 0.3s ease 0s, stroke-dasharray .3s ease 0s, stroke 0.3s linear"},Ln=La[_a]||La[La.length-1];return ra+=Ga,x.createElement("path",{key:_a,className:"".concat(In,"-line-path"),d:Fa,strokeLinecap:Kt,stroke:Ln,strokeWidth:pt,fillOpacity:"0",ref:function(Rt){on[_a]=Rt},style:wo})}))},b=y,E=z(71002),ee=z(97685),te=z(98924),re=0,oe=(0,te.Z)();function ne(){var ot;return oe?(ot=re,re+=1):ot="TEST_OR_SSR",ot}var de=function(ot){var Ye=x.useState(),bt=(0,ee.Z)(Ye,2),Ut=bt[0],Nt=bt[1];return x.useEffect(function(){Nt("rc_progress_".concat(ne()))},[]),ot||Ut},pe=function(Ye){var bt=Ye.bg,Ut=Ye.children;return x.createElement("div",{style:{width:"100%",height:"100%",background:bt}},Ut)};function Ee(ot,Ye){return Object.keys(ot).map(function(bt){var Ut=parseFloat(bt),Nt="".concat(Math.floor(Ut*Ye),"%");return"".concat(ot[bt]," ").concat(Nt)})}var be=x.forwardRef(function(ot,Ye){var bt=ot.prefixCls,Ut=ot.color,Nt=ot.gradientId,In=ot.radius,Tt=ot.style,Kt=ot.ptg,pt=ot.strokeLinecap,En=ot.strokeWidth,Jt=ot.size,xn=ot.gapDegree,Aa=Ut&&(0,E.Z)(Ut)==="object",jn=Aa?"#FFF":void 0,ua=Jt/2,La=x.createElement("circle",{className:"".concat(bt,"-circle-path"),r:In,cx:ua,cy:ua,stroke:jn,strokeLinecap:pt,strokeWidth:En,opacity:Kt===0?0:1,style:Tt,ref:Ye});if(!Aa)return La;var on="".concat(Nt,"-conic"),gn=xn?"".concat(180+xn/2,"deg"):"0deg",Sn=Ee(Ut,(360-xn)/360),Fa=Ee(Ut,1),pa="conic-gradient(from ".concat(gn,", ").concat(Sn.join(", "),")"),ra="linear-gradient(to ".concat(xn?"bottom":"top",", ").concat(Fa.join(", "),")");return x.createElement(x.Fragment,null,x.createElement("mask",{id:on},La),x.createElement("foreignObject",{x:0,y:0,width:Jt,height:Jt,mask:"url(#".concat(on,")")},x.createElement(pe,{bg:ra},x.createElement(pe,{bg:pa}))))}),xe=be,Ce=100,Ne=function(Ye,bt,Ut,Nt,In,Tt,Kt,pt,En,Jt){var xn=arguments.length>10&&arguments[10]!==void 0?arguments[10]:0,Aa=Ut/100*360*((360-Tt)/360),jn=Tt===0?0:{bottom:0,top:180,left:90,right:-90}[Kt],ua=(100-Nt)/100*bt;En==="round"&&Nt!==100&&(ua+=Jt/2,ua>=bt&&(ua=bt-.01));var La=Ce/2;return{stroke:typeof pt=="string"?pt:void 0,strokeDasharray:"".concat(bt,"px ").concat(Ye),strokeDashoffset:ua+xn,transform:"rotate(".concat(In+Aa+jn,"deg)"),transformOrigin:"".concat(La,"px ").concat(La,"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}},Re=["id","prefixCls","steps","strokeWidth","trailWidth","gapDegree","gapPosition","trailColor","strokeLinecap","style","className","strokeColor","percent"];function at(ot){var Ye=ot!=null?ot:[];return Array.isArray(Ye)?Ye:[Ye]}var Ie=function(Ye){var bt=(0,Ke.Z)((0,Ke.Z)({},ve),Ye),Ut=bt.id,Nt=bt.prefixCls,In=bt.steps,Tt=bt.strokeWidth,Kt=bt.trailWidth,pt=bt.gapDegree,En=pt===void 0?0:pt,Jt=bt.gapPosition,xn=bt.trailColor,Aa=bt.strokeLinecap,jn=bt.style,ua=bt.className,La=bt.strokeColor,on=bt.percent,gn=(0,De.Z)(bt,Re),Sn=Ce/2,Fa=de(Ut),pa="".concat(Fa,"-gradient"),ra=Sn-Tt/2,Ga=Math.PI*2*ra,_a=En>0?90+En/2:-90,Qr=Ga*((360-En)/360),wo=(0,E.Z)(In)==="object"?In:{count:In,space:2},Ln=wo.count,wt=wo.space,Rt=at(on),Ct=at(La),qn=Ct.find(function(Jo){return Jo&&(0,E.Z)(Jo)==="object"}),Qt=qn&&(0,E.Z)(qn)==="object",er=Qt?"butt":Aa,Zo=Ne(Ga,Qr,0,100,_a,En,Jt,xn,er,Tt),ao=ue(),rr=function(){var da=0;return Rt.map(function(Vr,ft){var vn=Ct[ft]||Ct[Ct.length-1],an=Ne(Ga,Qr,da,Vr,_a,En,Jt,vn,er,Tt);return da+=Vr,x.createElement(xe,{key:ft,color:vn,ptg:Vr,radius:ra,prefixCls:Nt,gradientId:pa,style:an,strokeLinecap:er,strokeWidth:Tt,gapDegree:En,ref:function(ca){ao[ft]=ca},size:Ce})}).reverse()},qr=function(){var da=Math.round(Ln*(Rt[0]/100)),Vr=100/Ln,ft=0;return new Array(Ln).fill(null).map(function(vn,an){var mn=an<=da-1?Ct[0]:xn,ca=mn&&(0,E.Z)(mn)==="object"?"url(#".concat(pa,")"):void 0,fn=Ne(Ga,Qr,ft,Vr,_a,En,Jt,mn,"butt",Tt,wt);return ft+=(Qr-fn.strokeDashoffset+wt)*100/Qr,x.createElement("circle",{key:an,className:"".concat(Nt,"-circle-path"),r:ra,cx:Sn,cy:Sn,stroke:ca,strokeWidth:Tt,opacity:1,style:fn,ref:function(Tn){ao[an]=Tn}})})};return x.createElement("svg",(0,Le.Z)({className:se()("".concat(Nt,"-circle"),ua),viewBox:"0 0 ".concat(Ce," ").concat(Ce),style:jn,id:Ut,role:"presentation"},gn),!Ln&&x.createElement("circle",{className:"".concat(Nt,"-circle-trail"),r:ra,cx:Sn,cy:Sn,stroke:xn,strokeLinecap:er,strokeWidth:Kt||Tt,style:Zo}),Ln?qr():rr())},Ue=Ie,Ge={Line:b,Circle:Ue},Ve=z(83062),rt=z(47448);function gt(ot){return!ot||ot<0?0:ot>100?100:ot}function xt(ot){let{success:Ye,successPercent:bt}=ot,Ut=bt;return Ye&&"progress"in Ye&&(Ut=Ye.progress),Ye&&"percent"in Ye&&(Ut=Ye.percent),Ut}const Gt=ot=>{let{percent:Ye,success:bt,successPercent:Ut}=ot;const Nt=gt(xt({success:bt,successPercent:Ut}));return[Nt,gt(gt(Ye)-Nt)]},yn=ot=>{let{success:Ye={},strokeColor:bt}=ot;const{strokeColor:Ut}=Ye;return[Ut||rt.presetPrimaryColors.green,bt||null]},lt=(ot,Ye,bt)=>{var Ut,Nt,In,Tt;let Kt=-1,pt=-1;if(Ye==="step"){const En=bt.steps,Jt=bt.strokeWidth;typeof ot=="string"||typeof ot=="undefined"?(Kt=ot==="small"?2:14,pt=Jt!=null?Jt:8):typeof ot=="number"?[Kt,pt]=[ot,ot]:[Kt=14,pt=8]=ot,Kt*=En}else if(Ye==="line"){const En=bt==null?void 0:bt.strokeWidth;typeof ot=="string"||typeof ot=="undefined"?pt=En||(ot==="small"?6:8):typeof ot=="number"?[Kt,pt]=[ot,ot]:[Kt=-1,pt=8]=ot}else(Ye==="circle"||Ye==="dashboard")&&(typeof ot=="string"||typeof ot=="undefined"?[Kt,pt]=ot==="small"?[60,60]:[120,120]:typeof ot=="number"?[Kt,pt]=[ot,ot]:(Kt=(Nt=(Ut=ot[0])!==null&&Ut!==void 0?Ut:ot[1])!==null&&Nt!==void 0?Nt:120,pt=(Tt=(In=ot[0])!==null&&In!==void 0?In:ot[1])!==null&&Tt!==void 0?Tt:120));return[Kt,pt]},ht=3,Lt=ot=>ht/ot*100;var dt=ot=>{const{prefixCls:Ye,trailColor:bt=null,strokeLinecap:Ut="round",gapPosition:Nt,gapDegree:In,width:Tt=120,type:Kt,children:pt,success:En,size:Jt=Tt}=ot,[xn,Aa]=lt(Jt,"circle");let{strokeWidth:jn}=ot;jn===void 0&&(jn=Math.max(Lt(xn),6));const ua={width:xn,height:Aa,fontSize:xn*.15+6},La=x.useMemo(()=>{if(In||In===0)return In;if(Kt==="dashboard")return 75},[In,Kt]),on=Nt||Kt==="dashboard"&&"bottom"||void 0,gn=Object.prototype.toString.call(ot.strokeColor)==="[object Object]",Sn=yn({success:En,strokeColor:ot.strokeColor}),Fa=se()(`${Ye}-inner`,{[`${Ye}-circle-gradient`]:gn}),pa=x.createElement(Ue,{percent:Gt(ot),strokeWidth:jn,trailWidth:jn,strokeColor:Sn,strokeLinecap:Ut,trailColor:bt,prefixCls:Ye,gapDegree:La,gapPosition:on});return x.createElement("div",{className:Fa,style:ua},xn<=20?x.createElement(Ve.Z,{title:pt},x.createElement("span",null,pa)):x.createElement(x.Fragment,null,pa,pt))},kt=function(ot,Ye){var bt={};for(var Ut in ot)Object.prototype.hasOwnProperty.call(ot,Ut)&&Ye.indexOf(Ut)<0&&(bt[Ut]=ot[Ut]);if(ot!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Nt=0,Ut=Object.getOwnPropertySymbols(ot);Nt<Ut.length;Nt++)Ye.indexOf(Ut[Nt])<0&&Object.prototype.propertyIsEnumerable.call(ot,Ut[Nt])&&(bt[Ut[Nt]]=ot[Ut[Nt]]);return bt};const Ze=ot=>{let Ye=[];return Object.keys(ot).forEach(bt=>{const Ut=parseFloat(bt.replace(/%/g,""));isNaN(Ut)||Ye.push({key:Ut,value:ot[bt]})}),Ye=Ye.sort((bt,Ut)=>bt.key-Ut.key),Ye.map(bt=>{let{key:Ut,value:Nt}=bt;return`${Nt} ${Ut}%`}).join(", ")},Dn=(ot,Ye)=>{const{from:bt=rt.presetPrimaryColors.blue,to:Ut=rt.presetPrimaryColors.blue,direction:Nt=Ye==="rtl"?"to left":"to right"}=ot,In=kt(ot,["from","to","direction"]);if(Object.keys(In).length!==0){const Tt=Ze(In);return{backgroundImage:`linear-gradient(${Nt}, ${Tt})`}}return{backgroundImage:`linear-gradient(${Nt}, ${bt}, ${Ut})`}};var Dt=ot=>{const{prefixCls:Ye,direction:bt,percent:Ut,size:Nt,strokeWidth:In,strokeColor:Tt,strokeLinecap:Kt="round",children:pt,trailColor:En=null,success:Jt}=ot,xn=Tt&&typeof Tt!="string"?Dn(Tt,bt):{backgroundColor:Tt},Aa=Kt==="square"||Kt==="butt"?0:void 0,jn={backgroundColor:En||void 0,borderRadius:Aa},ua=Nt!=null?Nt:[-1,In||(Nt==="small"?6:8)],[La,on]=lt(ua,"line",{strokeWidth:In}),gn=Object.assign({width:`${gt(Ut)}%`,height:on,borderRadius:Aa},xn),Sn=xt(ot),Fa={width:`${gt(Sn)}%`,height:on,borderRadius:Aa,backgroundColor:Jt==null?void 0:Jt.strokeColor},pa={width:La<0?"100%":La,height:on};return x.createElement(x.Fragment,null,x.createElement("div",{className:`${Ye}-outer`,style:pa},x.createElement("div",{className:`${Ye}-inner`,style:jn},x.createElement("div",{className:`${Ye}-bg`,style:gn}),Sn!==void 0?x.createElement("div",{className:`${Ye}-success-bg`,style:Fa}):null)),pt)},en=ot=>{const{size:Ye,steps:bt,percent:Ut=0,strokeWidth:Nt=8,strokeColor:In,trailColor:Tt=null,prefixCls:Kt,children:pt}=ot,En=Math.round(bt*(Ut/100)),Jt=Ye==="small"?2:14,xn=Ye!=null?Ye:[Jt,Nt],[Aa,jn]=lt(xn,"step",{steps:bt,strokeWidth:Nt}),ua=Aa/bt,La=new Array(bt);for(let on=0;on<bt;on++){const gn=Array.isArray(In)?In[on]:In;La[on]=x.createElement("div",{key:on,className:se()(`${Kt}-steps-item`,{[`${Kt}-steps-item-active`]:on<=En-1}),style:{backgroundColor:on<=En-1?gn:Tt,width:ua,height:jn}})}return x.createElement("div",{className:`${Kt}-steps-outer`},La,pt)},Ht=z(45930),Et=z(14747),wn=z(67968),dn=z(45503);const Bt=ot=>{const Ye=ot?"100%":"-100%";return new Ht.Keyframes(`antProgress${ot?"RTL":"LTR"}Active`,{"0%":{transform:`translateX(${Ye}) scaleX(0)`,opacity:.1},"20%":{transform:`translateX(${Ye}) scaleX(0)`,opacity:.5},to:{transform:"translateX(0) scaleX(1)",opacity:0}})},Bn=ot=>{const{componentCls:Ye,iconCls:bt}=ot;return{[Ye]:Object.assign(Object.assign({},(0,Et.Wf)(ot)),{display:"inline-block","&-rtl":{direction:"rtl"},"&-line":{position:"relative",width:"100%",fontSize:ot.fontSize,marginInlineEnd:ot.marginXS,marginBottom:ot.marginXS},[`${Ye}-outer`]:{display:"inline-block",width:"100%"},[`&${Ye}-show-info`]:{[`${Ye}-outer`]:{marginInlineEnd:`calc(-2em - ${ot.marginXS}px)`,paddingInlineEnd:`calc(2em + ${ot.paddingXS}px)`}},[`${Ye}-inner`]:{position:"relative",display:"inline-block",width:"100%",overflow:"hidden",verticalAlign:"middle",backgroundColor:ot.remainingColor,borderRadius:ot.lineBorderRadius},[`${Ye}-inner:not(${Ye}-circle-gradient)`]:{[`${Ye}-circle-path`]:{stroke:ot.defaultColor}},[`${Ye}-success-bg, ${Ye}-bg`]:{position:"relative",backgroundColor:ot.defaultColor,borderRadius:ot.lineBorderRadius,transition:`all ${ot.motionDurationSlow} ${ot.motionEaseInOutCirc}`},[`${Ye}-success-bg`]:{position:"absolute",insetBlockStart:0,insetInlineStart:0,backgroundColor:ot.colorSuccess},[`${Ye}-text`]:{display:"inline-block",width:"2em",marginInlineStart:ot.marginXS,color:ot.colorText,lineHeight:1,whiteSpace:"nowrap",textAlign:"start",verticalAlign:"middle",wordBreak:"normal",[bt]:{fontSize:ot.fontSize}},[`&${Ye}-status-active`]:{[`${Ye}-bg::before`]:{position:"absolute",inset:0,backgroundColor:ot.colorBgContainer,borderRadius:ot.lineBorderRadius,opacity:0,animationName:Bt(),animationDuration:ot.progressActiveMotionDuration,animationTimingFunction:ot.motionEaseOutQuint,animationIterationCount:"infinite",content:'""'}},[`&${Ye}-rtl${Ye}-status-active`]:{[`${Ye}-bg::before`]:{animationName:Bt(!0)}},[`&${Ye}-status-exception`]:{[`${Ye}-bg`]:{backgroundColor:ot.colorError},[`${Ye}-text`]:{color:ot.colorError}},[`&${Ye}-status-exception ${Ye}-inner:not(${Ye}-circle-gradient)`]:{[`${Ye}-circle-path`]:{stroke:ot.colorError}},[`&${Ye}-status-success`]:{[`${Ye}-bg`]:{backgroundColor:ot.colorSuccess},[`${Ye}-text`]:{color:ot.colorSuccess}},[`&${Ye}-status-success ${Ye}-inner:not(${Ye}-circle-gradient)`]:{[`${Ye}-circle-path`]:{stroke:ot.colorSuccess}}})}},Yt=ot=>{const{componentCls:Ye,iconCls:bt}=ot;return{[Ye]:{[`${Ye}-circle-trail`]:{stroke:ot.remainingColor},[`&${Ye}-circle ${Ye}-inner`]:{position:"relative",lineHeight:1,backgroundColor:"transparent"},[`&${Ye}-circle ${Ye}-text`]:{position:"absolute",insetBlockStart:"50%",insetInlineStart:0,width:"100%",margin:0,padding:0,color:ot.circleTextColor,fontSize:ot.circleTextFontSize,lineHeight:1,whiteSpace:"normal",textAlign:"center",transform:"translateY(-50%)",[bt]:{fontSize:`${ot.fontSize/ot.fontSizeSM}em`}},[`${Ye}-circle&-status-exception`]:{[`${Ye}-text`]:{color:ot.colorError}},[`${Ye}-circle&-status-success`]:{[`${Ye}-text`]:{color:ot.colorSuccess}}},[`${Ye}-inline-circle`]:{lineHeight:1,[`${Ye}-inner`]:{verticalAlign:"bottom"}}}},Xt=ot=>{const{componentCls:Ye}=ot;return{[Ye]:{[`${Ye}-steps`]:{display:"inline-block","&-outer":{display:"flex",flexDirection:"row",alignItems:"center"},"&-item":{flexShrink:0,minWidth:ot.progressStepMinWidth,marginInlineEnd:ot.progressStepMarginInlineEnd,backgroundColor:ot.remainingColor,transition:`all ${ot.motionDurationSlow}`,"&-active":{backgroundColor:ot.defaultColor}}}}}},On=ot=>{const{componentCls:Ye,iconCls:bt}=ot;return{[Ye]:{[`${Ye}-small&-line, ${Ye}-small&-line ${Ye}-text ${bt}`]:{fontSize:ot.fontSizeSM}}}};var bn=(0,wn.Z)("Progress",ot=>{const Ye=ot.marginXXS/2,bt=(0,dn.TS)(ot,{progressStepMarginInlineEnd:Ye,progressStepMinWidth:Ye,progressActiveMotionDuration:"2.4s"});return[Bn(bt),Yt(bt),Xt(bt),On(bt)]},ot=>({circleTextColor:ot.colorText,defaultColor:ot.colorInfo,remainingColor:ot.colorFillSecondary,lineBorderRadius:100,circleTextFontSize:"1em"})),Je=function(ot,Ye){var bt={};for(var Ut in ot)Object.prototype.hasOwnProperty.call(ot,Ut)&&Ye.indexOf(Ut)<0&&(bt[Ut]=ot[Ut]);if(ot!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Nt=0,Ut=Object.getOwnPropertySymbols(ot);Nt<Ut.length;Nt++)Ye.indexOf(Ut[Nt])<0&&Object.prototype.propertyIsEnumerable.call(ot,Ut[Nt])&&(bt[Ut[Nt]]=ot[Ut[Nt]]);return bt};const He=null,Xn=["normal","exception","active","success"];var Xe=x.forwardRef((ot,Ye)=>{const{prefixCls:bt,className:Ut,rootClassName:Nt,steps:In,strokeColor:Tt,percent:Kt=0,size:pt="default",showInfo:En=!0,type:Jt="line",status:xn,format:Aa,style:jn}=ot,ua=Je(ot,["prefixCls","className","rootClassName","steps","strokeColor","percent","size","showInfo","type","status","format","style"]),La=x.useMemo(()=>{var Rt,Ct;const qn=xt(ot);return parseInt(qn!==void 0?(Rt=qn!=null?qn:0)===null||Rt===void 0?void 0:Rt.toString():(Ct=Kt!=null?Kt:0)===null||Ct===void 0?void 0:Ct.toString(),10)},[Kt,ot.success,ot.successPercent]),on=x.useMemo(()=>!Xn.includes(xn)&&La>=100?"success":xn||"normal",[xn,La]),{getPrefixCls:gn,direction:Sn,progress:Fa}=x.useContext(Te.E_),pa=gn("progress",bt),[ra,Ga]=bn(pa),_a=x.useMemo(()=>{if(!En)return null;const Rt=xt(ot);let Ct;const qn=Aa||(er=>`${er}%`),Qt=Jt==="line";return Aa||on!=="exception"&&on!=="success"?Ct=qn(gt(Kt),gt(Rt)):on==="exception"?Ct=Qt?x.createElement(Fe.Z,null):x.createElement(we.Z,null):on==="success"&&(Ct=Qt?x.createElement(ge.Z,null):x.createElement(he.Z,null)),x.createElement("span",{className:`${pa}-text`,title:typeof Ct=="string"?Ct:void 0},Ct)},[En,Kt,La,on,Jt,pa,Aa]),Qr=Array.isArray(Tt)?Tt[0]:Tt,wo=typeof Tt=="string"||Array.isArray(Tt)?Tt:void 0;let Ln;Jt==="line"?Ln=In?x.createElement(en,Object.assign({},ot,{strokeColor:wo,prefixCls:pa,steps:In}),_a):x.createElement(Dt,Object.assign({},ot,{strokeColor:Qr,prefixCls:pa,direction:Sn}),_a):(Jt==="circle"||Jt==="dashboard")&&(Ln=x.createElement(dt,Object.assign({},ot,{strokeColor:Qr,prefixCls:pa,progressStatus:on}),_a));const wt=se()(pa,`${pa}-status-${on}`,`${pa}-${Jt==="dashboard"&&"circle"||In&&"steps"||Jt}`,{[`${pa}-inline-circle`]:Jt==="circle"&<(pt,"circle")[0]<=20,[`${pa}-show-info`]:En,[`${pa}-${pt}`]:typeof pt=="string",[`${pa}-rtl`]:Sn==="rtl"},Fa==null?void 0:Fa.className,Ut,Nt,Ga);return ra(x.createElement("div",Object.assign({ref:Ye,style:Object.assign(Object.assign({},Fa==null?void 0:Fa.style),jn),className:wt,role:"progressbar","aria-valuenow":La},(0,je.Z)(ua,["trailColor","strokeWidth","width","gapDegree","gapPosition","strokeLinecap","success","successPercent"])),Ln))}),Zt=Xe},49867:function(mt,st,z){"use strict";z.d(st,{N:function(){return x}});const x=ge=>({color:ge.colorLink,textDecoration:"none",outline:"none",cursor:"pointer",transition:`color ${ge.motionDurationSlow}`,"&:focus, &:hover":{color:ge.colorLinkHover},"&:active":{color:ge.colorLinkActive}})},9430:function(mt,st,z){"use strict";z.d(st,{default:function(){return xs}});var x={},ge="rc-table-internal-hook",he=z(97685),Fe=z(66680),we=z(8410),ze=z(91881),se=z(67294),je=z(73935);function Te(ce){var me=se.createContext(void 0),Be=function(Qe){var it=Qe.value,Pt=Qe.children,Ot=se.useRef(it);Ot.current=it;var Mt=se.useState(function(){return{getValue:function(){return Ot.current},listeners:new Set}}),tn=(0,he.Z)(Mt,1),Pn=tn[0];return(0,we.Z)(function(){(0,je.unstable_batchedUpdates)(function(){Pn.listeners.forEach(function(sn){sn(it)})})},[it]),se.createElement(me.Provider,{value:Pn},Pt)};return{Context:me,Provider:Be,defaultValue:ce}}function Le(ce,me){var Be=(0,Fe.Z)(typeof me=="function"?me:function(sn){if(me===void 0)return sn;if(!Array.isArray(me))return sn[me];var Un={};return me.forEach(function(Vn){Un[Vn]=sn[Vn]}),Un}),We=se.useContext(ce==null?void 0:ce.Context),Qe=We||{},it=Qe.listeners,Pt=Qe.getValue,Ot=se.useRef();Ot.current=Be(We?Pt():ce==null?void 0:ce.defaultValue);var Mt=se.useState({}),tn=(0,he.Z)(Mt,2),Pn=tn[1];return(0,we.Z)(function(){if(!We)return;function sn(Un){var Vn=Be(Un);(0,ze.Z)(Ot.current,Vn,!0)||Pn({})}return it.add(sn),function(){it.delete(sn)}},[We]),Ot.current}var Ke=z(87462),De=z(42550);function ve(){var ce=se.createContext(null);function me(){return se.useContext(ce)}function Be(Qe,it){var Pt=(0,De.Yr)(Qe),Ot=function(tn,Pn){var sn=Pt?{ref:Pn}:{},Un=se.useRef(0),Vn=se.useRef(tn),ta=me();return ta!==null?se.createElement(Qe,(0,Ke.Z)({},tn,sn)):((!it||it(Vn.current,tn))&&(Un.current+=1),Vn.current=tn,se.createElement(ce.Provider,{value:Un.current},se.createElement(Qe,(0,Ke.Z)({},tn,sn))))};return Pt?se.forwardRef(Ot):Ot}function We(Qe,it){var Pt=(0,De.Yr)(Qe),Ot=function(tn,Pn){var sn=Pt?{ref:Pn}:{};return me(),se.createElement(Qe,(0,Ke.Z)({},tn,sn))};return Pt?se.memo(se.forwardRef(Ot),it):se.memo(Ot,it)}return{makeImmutable:Be,responseImmutable:We,useImmutableMark:me}}var ue=ve(),a=ue.makeImmutable,y=ue.responseImmutable,b=ue.useImmutableMark,E=ve(),ee=E.makeImmutable,te=E.responseImmutable,re=E.useImmutableMark,oe=Te(),ne=oe;function de(ce,me){var Be=se.useRef(0);Be.current+=1;var We=se.useRef(ce),Qe=[];Object.keys(ce||{}).map(function(Pt){var Ot;(ce==null?void 0:ce[Pt])!==((Ot=We.current)===null||Ot===void 0?void 0:Ot[Pt])&&Qe.push(Pt)}),We.current=ce;var it=se.useRef([]);return Qe.length&&(it.current=Qe),se.useDebugValue(Be.current),se.useDebugValue(it.current.join(", ")),me&&console.log("".concat(me,":"),Be.current,it.current),Be.current}var pe=null,Ee=se.memo(function(){var ce=de();return se.createElement("h1",null,"Render Times: ",ce)});Ee.displayName="RenderBlock";var be=z(71002),xe=z(1413),Ce=z(4942),Ne=z(94184),Re=z.n(Ne);function at(ce,me,Be){var We=se.useRef({});return(!("value"in We.current)||Be(We.current.condition,me))&&(We.current.value=ce(),We.current.condition=me),We.current.value}var Ie={},Ue=[],Ge=function(me){Ue.push(me)};function Ve(ce,me){if(0)var Be}function rt(ce,me){if(0)var Be}function gt(){Ie={}}function xt(ce,me,Be){!me&&!Ie[Be]&&(ce(!1,Be),Ie[Be]=!0)}function Gt(ce,me){xt(Ve,ce,me)}function yn(ce,me){xt(rt,ce,me)}Gt.preMessage=Ge,Gt.resetWarned=gt,Gt.noteOnce=yn;var lt=Gt;function ht(ce,me){var Be=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1,We=new Set;function Qe(it,Pt){var Ot=arguments.length>2&&arguments[2]!==void 0?arguments[2]:1,Mt=We.has(it);if(lt(!Mt,"Warning: There may be circular references"),Mt)return!1;if(it===Pt)return!0;if(Be&&Ot>1)return!1;We.add(it);var tn=Ot+1;if(Array.isArray(it)){if(!Array.isArray(Pt)||it.length!==Pt.length)return!1;for(var Pn=0;Pn<it.length;Pn++)if(!Qe(it[Pn],Pt[Pn],tn))return!1;return!0}if(it&&Pt&&(0,be.Z)(it)==="object"&&(0,be.Z)(Pt)==="object"){var sn=Object.keys(it);return sn.length!==Object.keys(Pt).length?!1:sn.every(function(Un){return Qe(it[Un],Pt[Un],tn)})}return!1}return Qe(ce,me)}var Lt=ht;function zt(ce,me){for(var Be=ce,We=0;We<me.length;We+=1){if(Be==null)return;Be=Be[me[We]]}return Be}var dt=se.createContext({renderWithProps:!1}),kt=dt,Ze="RC_TABLE_KEY";function Dn(ce){return ce==null?[]:Array.isArray(ce)?ce:[ce]}function zn(ce){var me=[],Be={};return ce.forEach(function(We){for(var Qe=We||{},it=Qe.key,Pt=Qe.dataIndex,Ot=it||Dn(Pt).join("-")||Ze;Be[Ot];)Ot="".concat(Ot,"_next");Be[Ot]=!0,me.push(Ot)}),me}function Dt(ce){return ce!=null}function rn(ce){return ce&&(0,be.Z)(ce)==="object"&&!Array.isArray(ce)&&!se.isValidElement(ce)}function en(ce,me,Be,We,Qe,it){var Pt=se.useContext(kt),Ot=re(),Mt=at(function(){if(Dt(We))return[We];var tn=me==null||me===""?[]:Array.isArray(me)?me:[me],Pn=zt(ce,tn),sn=Pn,Un=void 0;if(Qe){var Vn=Qe(Pn,ce,Be);rn(Vn)?(sn=Vn.children,Un=Vn.props,Pt.renderWithProps=!0):sn=Vn}return[sn,Un]},[Ot,ce,We,me,Qe,Be],function(tn,Pn){if(it){var sn=(0,he.Z)(tn,2),Un=sn[1],Vn=(0,he.Z)(Pn,2),ta=Vn[1];return it(ta,Un)}return Pt.renderWithProps?!0:!Lt(tn,Pn,!0)});return Mt}function Ht(ce,me,Be,We){var Qe=ce+me-1;return ce<=We&&Qe>=Be}function Et(ce,me){return Le(ne,function(Be){var We=Ht(ce,me||1,Be.hoverStartRow,Be.hoverEndRow);return[We,Be.onHover]})}var wn=function(me){var Be=me.ellipsis,We=me.rowType,Qe=me.children,it,Pt=Be===!0?{showTitle:!0}:Be;return Pt&&(Pt.showTitle||We==="header")&&(typeof Qe=="string"||typeof Qe=="number"?it=Qe.toString():se.isValidElement(Qe)&&typeof Qe.props.children=="string"&&(it=Qe.props.children)),it};function dn(ce){var me,Be,We,Qe,it,Pt,Ot,Mt,tn=ce.component,Pn=ce.children,sn=ce.ellipsis,Un=ce.scope,Vn=ce.prefixCls,ta=ce.className,Ra=ce.align,wa=ce.record,Ka=ce.render,Ba=ce.dataIndex,qa=ce.renderIndex,Fr=ce.shouldCellUpdate,Zr=ce.index,Cr=ce.rowType,uo=ce.colSpan,Ao=ce.rowSpan,fr=ce.fixLeft,Pr=ce.fixRight,or=ce.firstFixLeft,$a=ce.lastFixLeft,Er=ce.firstFixRight,Tr=ce.lastFixRight,co=ce.appendNode,Eo=ce.additionalProps,Ir=Eo===void 0?{}:Eo,Io=ce.isSticky,jo="".concat(Vn,"-cell"),Di=Le(ne,["supportSticky","allColumnsFixedLeft"]),di=Di.supportSticky,pl=Di.allColumnsFixedLeft,Sl=en(wa,Ba,qa,Pn,Ka,Fr),Mo=(0,he.Z)(Sl,2),Nl=Mo[0],Va=Mo[1],_r={},Ko=typeof fr=="number"&&di,Zi=typeof Pr=="number"&&di;Ko&&(_r.position="sticky",_r.left=fr),Zi&&(_r.position="sticky",_r.right=Pr);var vr=(me=(Be=(We=Va==null?void 0:Va.colSpan)!==null&&We!==void 0?We:Ir.colSpan)!==null&&Be!==void 0?Be:uo)!==null&&me!==void 0?me:1,zr=(Qe=(it=(Pt=Va==null?void 0:Va.rowSpan)!==null&&Pt!==void 0?Pt:Ir.rowSpan)!==null&&it!==void 0?it:Ao)!==null&&Qe!==void 0?Qe:1,Kr=Et(Zr,zr),Rr=(0,he.Z)(Kr,2),gi=Rr[0],Xr=Rr[1],To=function(Dl){var Tu;wa&&Xr(Zr,Zr+zr-1),Ir==null||(Tu=Ir.onMouseEnter)===null||Tu===void 0||Tu.call(Ir,Dl)},bi=function(Dl){var Tu;wa&&Xr(-1,-1),Ir==null||(Tu=Ir.onMouseLeave)===null||Tu===void 0||Tu.call(Ir,Dl)};if(vr===0||zr===0)return null;var hi=(Ot=Ir.title)!==null&&Ot!==void 0?Ot:wn({rowType:Cr,ellipsis:sn,children:Nl}),Lu=Re()(jo,ta,(Mt={},(0,Ce.Z)(Mt,"".concat(jo,"-fix-left"),Ko&&di),(0,Ce.Z)(Mt,"".concat(jo,"-fix-left-first"),or&&di),(0,Ce.Z)(Mt,"".concat(jo,"-fix-left-last"),$a&&di),(0,Ce.Z)(Mt,"".concat(jo,"-fix-left-all"),$a&&pl&&di),(0,Ce.Z)(Mt,"".concat(jo,"-fix-right"),Zi&&di),(0,Ce.Z)(Mt,"".concat(jo,"-fix-right-first"),Er&&di),(0,Ce.Z)(Mt,"".concat(jo,"-fix-right-last"),Tr&&di),(0,Ce.Z)(Mt,"".concat(jo,"-ellipsis"),sn),(0,Ce.Z)(Mt,"".concat(jo,"-with-append"),co),(0,Ce.Z)(Mt,"".concat(jo,"-fix-sticky"),(Ko||Zi)&&Io&&di),(0,Ce.Z)(Mt,"".concat(jo,"-row-hover"),!Va&&gi),Mt),Ir.className,Va==null?void 0:Va.className),Pu={};Ra&&(Pu.textAlign=Ra);var vs=(0,xe.Z)((0,xe.Z)((0,xe.Z)((0,xe.Z)({},_r),Ir.style),Pu),Va==null?void 0:Va.style),Jl=Nl;return(0,be.Z)(Jl)==="object"&&!Array.isArray(Jl)&&!se.isValidElement(Jl)&&(Jl=null),sn&&($a||Er)&&(Jl=se.createElement("span",{className:"".concat(jo,"-content")},Jl)),se.createElement(tn,(0,Ke.Z)({},Va,Ir,{className:Lu,style:vs,title:hi,scope:Un,onMouseEnter:To,onMouseLeave:bi,colSpan:vr!==1?vr:null,rowSpan:zr!==1?zr:null}),co,Jl)}var Bt=se.memo(dn);function Bn(ce,me,Be,We,Qe,it){var Pt=Be[ce]||{},Ot=Be[me]||{},Mt,tn;Pt.fixed==="left"?Mt=We.left[Qe==="rtl"?me:ce]:Ot.fixed==="right"&&(tn=We.right[Qe==="rtl"?ce:me]);var Pn=!1,sn=!1,Un=!1,Vn=!1,ta=Be[me+1],Ra=Be[ce-1],wa=!(it!=null&&it.children);if(Qe==="rtl"){if(Mt!==void 0){var Ka=Ra&&Ra.fixed==="left";Vn=!Ka&&wa}else if(tn!==void 0){var Ba=ta&&ta.fixed==="right";Un=!Ba&&wa}}else if(Mt!==void 0){var qa=ta&&ta.fixed==="left";Pn=!qa&&wa}else if(tn!==void 0){var Fr=Ra&&Ra.fixed==="right";sn=!Fr&&wa}return{fixLeft:Mt,fixRight:tn,lastFixLeft:Pn,firstFixRight:sn,lastFixRight:Un,firstFixLeft:Vn,isSticky:We.isSticky}}var Yt=se.createContext({}),Xt=Yt;function On(ce){var me=ce.className,Be=ce.index,We=ce.children,Qe=ce.colSpan,it=Qe===void 0?1:Qe,Pt=ce.rowSpan,Ot=ce.align,Mt=Le(ne,["prefixCls","direction"]),tn=Mt.prefixCls,Pn=Mt.direction,sn=se.useContext(Xt),Un=sn.scrollColumnIndex,Vn=sn.stickyOffsets,ta=sn.flattenColumns,Ra=sn.columns,wa=Be+it-1,Ka=wa+1===Un?it+1:it,Ba=Bn(Be,Be+Ka-1,ta,Vn,Pn,Ra==null?void 0:Ra[Be]);return se.createElement(Bt,(0,Ke.Z)({className:me,index:Be,component:"td",prefixCls:tn,record:null,dataIndex:null,align:Ot,colSpan:Ka,rowSpan:Pt,render:function(){return We}},Ba))}var bn=z(45987),Je=["children"];function He(ce){var me=ce.children,Be=(0,bn.Z)(ce,Je);return se.createElement("tr",Be,me)}function Xn(ce){var me=ce.children;return me}Xn.Row=He,Xn.Cell=On;var Me=Xn;function Xe(ce){var me=ce.children,Be=ce.stickyOffsets,We=ce.flattenColumns,Qe=ce.columns,it=Le(ne,"prefixCls"),Pt=We.length-1,Ot=We[Pt],Mt=se.useMemo(function(){return{stickyOffsets:Be,flattenColumns:We,scrollColumnIndex:Ot!=null&&Ot.scrollbar?Pt:null,columns:Qe}},[Ot,We,Pt,Be,Qe]);return se.createElement(Xt.Provider,{value:Mt},se.createElement("tfoot",{className:"".concat(it,"-summary")},me))}var Zt=te(Xe),ot=Me;function Ye(ce){var me=se.useRef();me.current=ce;var Be=se.useCallback(function(){for(var We,Qe=arguments.length,it=new Array(Qe),Pt=0;Pt<Qe;Pt++)it[Pt]=arguments[Pt];return(We=me.current)===null||We===void 0?void 0:We.call.apply(We,[me].concat(it))},[]);return Be}function bt(){return!!(typeof window!="undefined"&&window.document&&window.document.createElement)}var Ut=bt()?se.useLayoutEffect:se.useEffect,Nt=function(me,Be){var We=React.useRef(!0);Ut(function(){return me(We.current)},Be),Ut(function(){return We.current=!1,function(){We.current=!0}},[])},In=function(me,Be){Nt(function(We){if(!We)return me()},Be)},Tt=null;function Kt(ce){var me=React.useRef(!1),Be=React.useState(ce),We=_slicedToArray(Be,2),Qe=We[0],it=We[1];React.useEffect(function(){return me.current=!1,function(){me.current=!0}},[]);function Pt(Ot,Mt){Mt&&me.current||it(Ot)}return[Qe,Pt]}function pt(ce){return ce!==void 0}function En(ce,me){var Be=me||{},We=Be.defaultValue,Qe=Be.value,it=Be.onChange,Pt=Be.postState,Ot=useState(function(){return pt(Qe)?Qe:pt(We)?typeof We=="function"?We():We:typeof ce=="function"?ce():ce}),Mt=_slicedToArray(Ot,2),tn=Mt[0],Pn=Mt[1],sn=Qe!==void 0?Qe:tn,Un=Pt?Pt(sn):sn,Vn=useEvent(it),ta=useState([sn]),Ra=_slicedToArray(ta,2),wa=Ra[0],Ka=Ra[1];useLayoutUpdateEffect(function(){var qa=wa[0];tn!==qa&&Vn(tn,qa)},[wa]),useLayoutUpdateEffect(function(){pt(Qe)||Pn(Qe)},[Qe]);var Ba=useEvent(function(qa,Fr){Pn(qa,Fr),Ka([sn],Fr)});return[Un,Ba]}var Jt=z(35110);function xn(ce,me){typeof ce=="function"?ce(me):(0,be.Z)(ce)==="object"&&ce&&"current"in ce&&(ce.current=me)}function Aa(){for(var ce=arguments.length,me=new Array(ce),Be=0;Be<ce;Be++)me[Be]=arguments[Be];var We=me.filter(function(Qe){return Qe});return We.length<=1?We[0]:function(Qe){me.forEach(function(it){xn(it,Qe)})}}function jn(){for(var ce=arguments.length,me=new Array(ce),Be=0;Be<ce;Be++)me[Be]=arguments[Be];return useMemo(function(){return Aa.apply(void 0,me)},me,function(We,Qe){return We.length!==Qe.length||We.every(function(it,Pt){return it!==Qe[Pt]})})}function ua(ce){var me,Be,We=isMemo(ce)?ce.type.type:ce.type;return!(typeof We=="function"&&!((me=We.prototype)!==null&&me!==void 0&&me.render)||typeof ce=="function"&&!((Be=ce.prototype)!==null&&Be!==void 0&&Be.render))}function La(ce){return!isValidElement(ce)||isFragment(ce)?!1:ua(ce)}function on(ce,me,Be,We){if(!me.length)return Be;var Qe=_toArray(me),it=Qe[0],Pt=Qe.slice(1),Ot;return!ce&&typeof it=="number"?Ot=[]:Array.isArray(ce)?Ot=_toConsumableArray(ce):Ot=_objectSpread({},ce),We&&Be===void 0&&Pt.length===1?delete Ot[it][Pt[0]]:Ot[it]=on(Ot[it],Pt,Be,We),Ot}function gn(ce,me,Be){var We=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!1;return me.length&&We&&Be===void 0&&!get(ce,me.slice(0,-1))?ce:on(ce,me,Be,We)}function Sn(ce){return _typeof(ce)==="object"&&ce!==null&&Object.getPrototypeOf(ce)===Object.prototype}function Fa(ce){return Array.isArray(ce)?[]:{}}var pa=typeof Reflect=="undefined"?Object.keys:Reflect.ownKeys;function ra(){for(var ce=arguments.length,me=new Array(ce),Be=0;Be<ce;Be++)me[Be]=arguments[Be];var We=Fa(me[0]);return me.forEach(function(Qe){function it(Pt,Ot){var Mt=new Set(Ot),tn=get(Qe,Pt),Pn=Array.isArray(tn);if(Pn||Sn(tn)){if(!Mt.has(tn)){Mt.add(tn);var sn=get(We,Pt);Pn?We=gn(We,Pt,[]):(!sn||_typeof(sn)!=="object")&&(We=gn(We,Pt,Fa(tn))),pa(tn).forEach(function(Un){it([].concat(_toConsumableArray(Pt),[Un]),Mt)})}}else We=gn(We,Pt,tn)}it([])}),We}var Ga=z(48555),_a=function(ce){if(!ce)return!1;if(ce instanceof Element){if(ce.offsetParent)return!0;if(ce.getBBox){var me=ce.getBBox(),Be=me.width,We=me.height;if(Be||We)return!0}if(ce.getBoundingClientRect){var Qe=ce.getBoundingClientRect(),it=Qe.width,Pt=Qe.height;if(it||Pt)return!0}}return!1},Qr=function(me){if(bt()&&window.document.documentElement){var Be=Array.isArray(me)?me:[me],We=window.document.documentElement;return Be.some(function(Qe){return Qe in We.style})}return!1},wo=function(me,Be){if(!Qr(me))return!1;var We=document.createElement("div"),Qe=We.style[me];return We.style[me]=Be,We.style[me]!==Qe};function Ln(ce,me){return!Array.isArray(ce)&&me!==void 0?wo(ce,me):Qr(ce)}var wt;function Rt(ce){if(typeof document=="undefined")return 0;if(ce||wt===void 0){var me=document.createElement("div");me.style.width="100%",me.style.height="200px";var Be=document.createElement("div"),We=Be.style;We.position="absolute",We.top="0",We.left="0",We.pointerEvents="none",We.visibility="hidden",We.width="200px",We.height="150px",We.overflow="hidden",Be.appendChild(me),document.body.appendChild(Be);var Qe=me.offsetWidth;Be.style.overflow="scroll";var it=me.offsetWidth;Qe===it&&(it=Be.clientWidth),document.body.removeChild(Be),wt=Qe-it}return wt}function Ct(ce){var me=ce.match(/^(.*)px$/),Be=Number(me==null?void 0:me[1]);return Number.isNaN(Be)?Rt():Be}function qn(ce){if(typeof document=="undefined"||!ce||!(ce instanceof Element))return{width:0,height:0};var me=getComputedStyle(ce,"::-webkit-scrollbar"),Be=me.width,We=me.height;return{width:Ct(Be),height:Ct(We)}}var Qt=`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`,er=`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`,Zo="".concat(Qt," ").concat(er).split(/[\s\n]+/),ao="aria-",rr="data-";function qr(ce,me){return ce.indexOf(me)===0}function Jo(ce){var me=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,Be;me===!1?Be={aria:!0,data:!0,attr:!0}:me===!0?Be={aria:!0}:Be=(0,xe.Z)({},me);var We={};return Object.keys(ce).forEach(function(Qe){(Be.aria&&(Qe==="role"||qr(Qe,ao))||Be.data&&qr(Qe,rr)||Be.attr&&Zo.includes(Qe))&&(We[Qe]=ce[Qe])}),We}function da(ce,me,Be,We,Qe,it,Pt){ce.push({record:me,indent:Be,index:Pt});var Ot=it(me),Mt=Qe==null?void 0:Qe.has(Ot);if(me&&Array.isArray(me[We])&&Mt)for(var tn=0;tn<me[We].length;tn+=1)da(ce,me[We][tn],Be+1,We,Qe,it,tn)}function Vr(ce,me,Be,We){var Qe=se.useMemo(function(){if(Be!=null&&Be.size){for(var it=[],Pt=0;Pt<(ce==null?void 0:ce.length);Pt+=1){var Ot=ce[Pt];da(it,Ot,0,me,Be,We,Pt)}return it}return ce==null?void 0:ce.map(function(Mt,tn){return{record:Mt,indent:0,index:tn}})},[ce,me,Be,We]);return Qe}function ft(ce){var me=ce.prefixCls,Be=ce.children,We=ce.component,Qe=ce.cellComponent,it=ce.className,Pt=ce.expanded,Ot=ce.colSpan,Mt=ce.isEmpty,tn=Le(ne,["scrollbarSize","fixHeader","fixColumn","componentWidth","horizonScroll"]),Pn=tn.scrollbarSize,sn=tn.fixHeader,Un=tn.fixColumn,Vn=tn.componentWidth,ta=tn.horizonScroll,Ra=Be;return(Mt?ta&&Vn:Un)&&(Ra=se.createElement("div",{style:{width:Vn-(sn?Pn:0),position:"sticky",left:0,overflow:"hidden"},className:"".concat(me,"-expanded-row-fixed")},Ra)),se.createElement(We,{className:it,style:{display:Pt?null:"none"}},se.createElement(Bt,{component:Qe,prefixCls:me,colSpan:Ot},Ra))}var vn=ft;function an(ce,me,Be,We){var Qe=Le(ne,["prefixCls","fixedInfoList","flattenColumns","expandableType","expandRowByClick","onTriggerExpand","rowClassName","expandedRowClassName","indentSize","expandIcon","expandedRowRender","expandIconColumnIndex","expandedKeys","childrenColumnName","rowExpandable","onRow"]),it=Qe.flattenColumns,Pt=Qe.expandableType,Ot=Qe.expandedKeys,Mt=Qe.childrenColumnName,tn=Qe.onTriggerExpand,Pn=Qe.rowExpandable,sn=Qe.onRow,Un=Qe.expandRowByClick,Vn=Qe.rowClassName,ta=Pt==="nest",Ra=Pt==="row"&&(!Pn||Pn(ce)),wa=Ra||ta,Ka=Ot&&Ot.has(me),Ba=Mt&&ce&&ce[Mt],qa=Ye(tn),Fr=sn==null?void 0:sn(ce,Be),Zr=Fr==null?void 0:Fr.onClick,Cr=function(Pr){Un&&wa&&tn(ce,Pr);for(var or=arguments.length,$a=new Array(or>1?or-1:0),Er=1;Er<or;Er++)$a[Er-1]=arguments[Er];Zr==null||Zr.apply(void 0,[Pr].concat($a))},uo;typeof Vn=="string"?uo=Vn:typeof Vn=="function"&&(uo=Vn(ce,Be,We));var Ao=zn(it);return(0,xe.Z)((0,xe.Z)({},Qe),{},{columnsKey:Ao,nestExpandable:ta,expanded:Ka,hasNestChildren:Ba,record:ce,onTriggerExpand:qa,rowSupportExpand:Ra,expandable:wa,rowProps:(0,xe.Z)((0,xe.Z)({},Fr),{},{className:Re()(uo,Fr==null?void 0:Fr.className),onClick:Cr})})}function mn(ce,me,Be,We,Qe){var it=ce.record,Pt=ce.prefixCls,Ot=ce.columnsKey,Mt=ce.fixedInfoList,tn=ce.expandIconColumnIndex,Pn=ce.nestExpandable,sn=ce.indentSize,Un=ce.expandIcon,Vn=ce.expanded,ta=ce.hasNestChildren,Ra=ce.onTriggerExpand,wa=Ot[Be],Ka=Mt[Be],Ba;Be===(tn||0)&&Pn&&(Ba=se.createElement(se.Fragment,null,se.createElement("span",{style:{paddingLeft:"".concat(sn*We,"px")},className:"".concat(Pt,"-row-indent indent-level-").concat(We)}),Un({prefixCls:Pt,expanded:Vn,expandable:ta,record:it,onExpand:Ra})));var qa;return me.onCell&&(qa=me.onCell(it,Qe)),{key:wa,fixedInfo:Ka,appendCellNode:Ba,additionalCellProps:qa||{}}}function ca(ce){var me=ce.className,Be=ce.style,We=ce.record,Qe=ce.index,it=ce.renderIndex,Pt=ce.rowKey,Ot=ce.indent,Mt=Ot===void 0?0:Ot,tn=ce.rowComponent,Pn=ce.cellComponent,sn=ce.scopeCellComponent,Un=an(We,Pt,Qe,Mt),Vn=Un.prefixCls,ta=Un.flattenColumns,Ra=Un.expandedRowClassName,wa=Un.expandedRowRender,Ka=Un.rowProps,Ba=Un.expanded,qa=Un.rowSupportExpand,Fr=se.useState(!1),Zr=(0,he.Z)(Fr,2),Cr=Zr[0],uo=Zr[1];se.useEffect(function(){Ba&&uo(!0)},[Ba]);var Ao=se.createElement(tn,(0,Ke.Z)({},Ka,{"data-row-key":Pt,className:Re()(me,"".concat(Vn,"-row"),"".concat(Vn,"-row-level-").concat(Mt),Ka==null?void 0:Ka.className),style:(0,xe.Z)((0,xe.Z)({},Be),Ka==null?void 0:Ka.style)}),ta.map(function($a,Er){var Tr=$a.render,co=$a.dataIndex,Eo=$a.className,Ir=mn(Un,$a,Er,Mt,Qe),Io=Ir.key,jo=Ir.fixedInfo,Di=Ir.appendCellNode,di=Ir.additionalCellProps;return se.createElement(Bt,(0,Ke.Z)({className:Eo,ellipsis:$a.ellipsis,align:$a.align,scope:$a.rowScope,component:$a.rowScope?sn:Pn,prefixCls:Vn,key:Io,record:We,index:Qe,renderIndex:it,dataIndex:co,render:Tr,shouldCellUpdate:$a.shouldCellUpdate},jo,{appendNode:Di,additionalProps:di}))})),fr;if(qa&&(Cr||Ba)){var Pr=wa(We,Qe,Mt+1,Ba),or=Ra&&Ra(We,Qe,Mt);fr=se.createElement(vn,{expanded:Ba,className:Re()("".concat(Vn,"-expanded-row"),"".concat(Vn,"-expanded-row-level-").concat(Mt+1),or),prefixCls:Vn,component:tn,cellComponent:Pn,colSpan:ta.length,isEmpty:!1},Pr)}return se.createElement(se.Fragment,null,Ao,fr)}ca.displayName="BodyRow";var fn=te(ca);function la(ce){var me=ce.columnKey,Be=ce.onColumnResize,We=se.useRef();return se.useEffect(function(){We.current&&Be(me,We.current.offsetWidth)},[]),se.createElement(Ga.Z,{data:me},se.createElement("td",{ref:We,style:{padding:0,border:0,height:0}},se.createElement("div",{style:{height:0,overflow:"hidden"}},"\xA0")))}function Tn(ce){var me=ce.prefixCls,Be=ce.columnsKey,We=ce.onColumnResize;return se.createElement("tr",{"aria-hidden":"true",className:"".concat(me,"-measure-row"),style:{height:0,fontSize:0}},se.createElement(Ga.Z.Collection,{onBatchResize:function(it){it.forEach(function(Pt){var Ot=Pt.data,Mt=Pt.size;We(Ot,Mt.offsetWidth)})}},Be.map(function(Qe){return se.createElement(la,{key:Qe,columnKey:Qe,onColumnResize:We})})))}function Sa(ce){var me=ce.data,Be=ce.measureColumnWidth,We=Le(ne,["prefixCls","getComponent","onColumnResize","flattenColumns","getRowKey","expandedKeys","childrenColumnName","emptyNode"]),Qe=We.prefixCls,it=We.getComponent,Pt=We.onColumnResize,Ot=We.flattenColumns,Mt=We.getRowKey,tn=We.expandedKeys,Pn=We.childrenColumnName,sn=We.emptyNode,Un=Vr(me,Pn,tn,Mt),Vn=se.useRef({renderWithProps:!1}),ta=it(["body","wrapper"],"tbody"),Ra=it(["body","row"],"tr"),wa=it(["body","cell"],"td"),Ka=it(["body","cell"],"th"),Ba;me.length?Ba=Un.map(function(Fr,Zr){var Cr=Fr.record,uo=Fr.indent,Ao=Fr.index,fr=Mt(Cr,Zr);return se.createElement(fn,{key:fr,rowKey:fr,record:Cr,index:Zr,renderIndex:Ao,rowComponent:Ra,cellComponent:wa,scopeCellComponent:Ka,getRowKey:Mt,indent:uo})}):Ba=se.createElement(vn,{expanded:!0,className:"".concat(Qe,"-placeholder"),prefixCls:Qe,component:Ra,cellComponent:wa,colSpan:Ot.length,isEmpty:!0},sn);var qa=zn(Ot);return se.createElement(kt.Provider,{value:Vn.current},se.createElement(ta,{className:"".concat(Qe,"-tbody")},Be&&se.createElement(Tn,{prefixCls:Qe,columnsKey:qa,onColumnResize:Pt}),Ba))}Sa.displayName="Body";var Qa=te(Sa),Br=["expandable"],no="RC_TABLE_INTERNAL_COL_DEFINE";function No(ce){var me=ce.expandable,Be=(0,bn.Z)(ce,Br),We;return"expandable"in ce?We=(0,xe.Z)((0,xe.Z)({},Be),me):We=Be,We.showExpandColumn===!1&&(We.expandIconColumnIndex=-1),We}var Hn=["columnType"];function Qi(ce){for(var me=ce.colWidths,Be=ce.columns,We=ce.columCount,Qe=[],it=We||Be.length,Pt=!1,Ot=it-1;Ot>=0;Ot-=1){var Mt=me[Ot],tn=Be&&Be[Ot],Pn=tn&&tn[no];if(Mt||Pn||Pt){var sn=Pn||{},Un=sn.columnType,Vn=(0,bn.Z)(sn,Hn);Qe.unshift(se.createElement("col",(0,Ke.Z)({key:Ot,style:{width:Mt}},Vn))),Pt=!0}}return se.createElement("colgroup",null,Qe)}var yi=Qi,Yr=z(74902),Pi=["className","noData","columns","flattenColumns","colWidths","columCount","stickyOffsets","direction","fixHeader","stickyTopOffset","stickyBottomOffset","stickyClassName","onScroll","maxContentScroll","children"];function ha(ce,me){return(0,se.useMemo)(function(){for(var Be=[],We=0;We<me;We+=1){var Qe=ce[We];if(Qe!==void 0)Be[We]=Qe;else return null}return Be},[ce.join("_"),me])}var tr=se.forwardRef(function(ce,me){var Be=ce.className,We=ce.noData,Qe=ce.columns,it=ce.flattenColumns,Pt=ce.colWidths,Ot=ce.columCount,Mt=ce.stickyOffsets,tn=ce.direction,Pn=ce.fixHeader,sn=ce.stickyTopOffset,Un=ce.stickyBottomOffset,Vn=ce.stickyClassName,ta=ce.onScroll,Ra=ce.maxContentScroll,wa=ce.children,Ka=(0,bn.Z)(ce,Pi),Ba=Le(ne,["prefixCls","scrollbarSize","isSticky"]),qa=Ba.prefixCls,Fr=Ba.scrollbarSize,Zr=Ba.isSticky,Cr=Zr&&!Pn?0:Fr,uo=se.useRef(null),Ao=se.useCallback(function(Eo){xn(me,Eo),xn(uo,Eo)},[]);se.useEffect(function(){var Eo;function Ir(Io){var jo=Io,Di=jo.currentTarget,di=jo.deltaX;di&&(ta({currentTarget:Di,scrollLeft:Di.scrollLeft+di}),Io.preventDefault())}return(Eo=uo.current)===null||Eo===void 0||Eo.addEventListener("wheel",Ir),function(){var Io;(Io=uo.current)===null||Io===void 0||Io.removeEventListener("wheel",Ir)}},[]);var fr=se.useMemo(function(){return it.every(function(Eo){return Eo.width})},[it]),Pr=it[it.length-1],or={fixed:Pr?Pr.fixed:null,scrollbar:!0,onHeaderCell:function(){return{className:"".concat(qa,"-cell-scrollbar")}}},$a=(0,se.useMemo)(function(){return Cr?[].concat((0,Yr.Z)(Qe),[or]):Qe},[Cr,Qe]),Er=(0,se.useMemo)(function(){return Cr?[].concat((0,Yr.Z)(it),[or]):it},[Cr,it]),Tr=(0,se.useMemo)(function(){var Eo=Mt.right,Ir=Mt.left;return(0,xe.Z)((0,xe.Z)({},Mt),{},{left:tn==="rtl"?[].concat((0,Yr.Z)(Ir.map(function(Io){return Io+Cr})),[0]):Ir,right:tn==="rtl"?Eo:[].concat((0,Yr.Z)(Eo.map(function(Io){return Io+Cr})),[0]),isSticky:Zr})},[Cr,Mt,Zr]),co=ha(Pt,Ot);return se.createElement("div",{style:(0,xe.Z)({overflow:"hidden"},Zr?{top:sn,bottom:Un}:{}),ref:Ao,className:Re()(Be,(0,Ce.Z)({},Vn,!!Vn))},se.createElement("table",{style:{tableLayout:"fixed",visibility:We||co?null:"hidden"}},(!We||!Ra||fr)&&se.createElement(yi,{colWidths:co?[].concat((0,Yr.Z)(co),[Cr]):[],columCount:Ot+1,columns:Er}),wa((0,xe.Z)((0,xe.Z)({},Ka),{},{stickyOffsets:Tr,columns:$a,flattenColumns:Er}))))});tr.displayName="FixedHolder";var xr=se.memo(tr);function fa(ce){var me=ce.cells,Be=ce.stickyOffsets,We=ce.flattenColumns,Qe=ce.rowComponent,it=ce.cellComponent,Pt=ce.tdCellComponent,Ot=ce.onHeaderRow,Mt=ce.index,tn=Le(ne,["prefixCls","direction"]),Pn=tn.prefixCls,sn=tn.direction,Un;Ot&&(Un=Ot(me.map(function(ta){return ta.column}),Mt));var Vn=zn(me.map(function(ta){return ta.column}));return se.createElement(Qe,Un,me.map(function(ta,Ra){var wa=ta.column,Ka=Bn(ta.colStart,ta.colEnd,We,Be,sn,wa),Ba;return wa&&wa.onHeaderCell&&(Ba=ta.column.onHeaderCell(wa)),se.createElement(Bt,(0,Ke.Z)({},ta,{scope:wa.title?ta.colSpan>1?"colgroup":"col":null,ellipsis:wa.ellipsis,align:wa.align,component:wa.title?it:Pt,prefixCls:Pn,key:Vn[Ra]},Ka,{additionalProps:Ba,rowType:"header"}))}))}fa.displayName="HeaderRow";var eo=fa;function Oo(ce){var me=[];function Be(Pt,Ot){var Mt=arguments.length>2&&arguments[2]!==void 0?arguments[2]:0;me[Mt]=me[Mt]||[];var tn=Ot,Pn=Pt.filter(Boolean).map(function(sn){var Un={key:sn.key,className:sn.className||"",children:sn.title,column:sn,colStart:tn},Vn=1,ta=sn.children;return ta&&ta.length>0&&(Vn=Be(ta,tn,Mt+1).reduce(function(Ra,wa){return Ra+wa},0),Un.hasSubColumns=!0),"colSpan"in sn&&(Vn=sn.colSpan),"rowSpan"in sn&&(Un.rowSpan=sn.rowSpan),Un.colSpan=Vn,Un.colEnd=Un.colStart+Vn-1,me[Mt].push(Un),tn+=Vn,Vn});return Pn}Be(ce,0);for(var We=me.length,Qe=function(Ot){me[Ot].forEach(function(Mt){!("rowSpan"in Mt)&&!Mt.hasSubColumns&&(Mt.rowSpan=We-Ot)})},it=0;it<We;it+=1)Qe(it);return me}function Ni(ce){var me=ce.stickyOffsets,Be=ce.columns,We=ce.flattenColumns,Qe=ce.onHeaderRow,it=Le(ne,["prefixCls","getComponent"]),Pt=it.prefixCls,Ot=it.getComponent,Mt=se.useMemo(function(){return Oo(Be)},[Be]),tn=Ot(["header","wrapper"],"thead"),Pn=Ot(["header","row"],"tr"),sn=Ot(["header","cell"],"th"),Un=Ot(["header","cell"],"td");return se.createElement(tn,{className:"".concat(Pt,"-thead")},Mt.map(function(Vn,ta){var Ra=se.createElement(eo,{key:ta,flattenColumns:We,cells:Vn,stickyOffsets:me,rowComponent:Pn,cellComponent:sn,tdCellComponent:Un,onHeaderRow:Qe,index:ta});return Ra}))}var fi=te(Ni);function Ii(ce){var me=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},Be=[];return se.Children.forEach(ce,function(We){We==null&&!me.keepEmpty||(Array.isArray(We)?Be=Be.concat(Ii(We)):(0,Jt.isFragment)(We)&&We.props?Be=Be.concat(Ii(We.props.children,me)):Be.push(We))}),Be}function Ol(ce){var me=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";return typeof me=="number"?me:me.endsWith("%")?ce*parseFloat(me)/100:null}function tl(ce,me){return se.useMemo(function(){if(me&&me>0){var Be=0,We=0;ce.forEach(function(tn){var Pn=Ol(me,tn.width);Pn?Be+=Pn:We+=1});var Qe=me-Be,it=We,Pt=Qe/We,Ot=0,Mt=ce.map(function(tn){var Pn=(0,xe.Z)({},tn),sn=Ol(me,Pn.width);if(sn)Pn.width=sn;else{var Un=Math.floor(Pt);Pn.width=it===1?Qe:Un,Qe-=Un,it-=1}return Ot+=Pn.width,Pn});return[Mt,Ot]}return[ce,me]},[ce,me])}var fu=["children"],ga=["fixed"];function lr(ce){return Ii(ce).filter(function(me){return se.isValidElement(me)}).map(function(me){var Be=me.key,We=me.props,Qe=We.children,it=(0,bn.Z)(We,fu),Pt=(0,xe.Z)({key:Be},it);return Qe&&(Pt.children=lr(Qe)),Pt})}function Ar(ce){var me=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"key";return ce.filter(function(Be){return Be&&(0,be.Z)(Be)==="object"}).reduce(function(Be,We,Qe){var it=We.fixed,Pt=it===!0?"left":it,Ot="".concat(me,"-").concat(Qe),Mt=We.children;return Mt&&Mt.length>0?[].concat((0,Yr.Z)(Be),(0,Yr.Z)(Ar(Mt,Ot).map(function(tn){return(0,xe.Z)({fixed:Pt},tn)}))):[].concat((0,Yr.Z)(Be),[(0,xe.Z)((0,xe.Z)({key:Ot},We),{},{fixed:Pt})])},[])}function Ai(ce){for(var me=!0,Be=0;Be<ce.length;Be+=1){var We=ce[Be];if(me&&We.fixed!=="left")me=!1;else if(!me&&We.fixed==="left"){warning(!1,"Index ".concat(Be-1," of `columns` missing `fixed='left'` prop."));break}}for(var Qe=!0,it=ce.length-1;it>=0;it-=1){var Pt=ce[it];if(Qe&&Pt.fixed!=="right")Qe=!1;else if(!Qe&&Pt.fixed==="right"){warning(!1,"Index ".concat(it+1," of `columns` missing `fixed='right'` prop."));break}}}function ul(ce){return ce.map(function(me){var Be=me.fixed,We=(0,bn.Z)(me,ga),Qe=Be;return Be==="left"?Qe="right":Be==="right"&&(Qe="left"),(0,xe.Z)({fixed:Qe},We)})}function kl(ce,me){var Be=ce.prefixCls,We=ce.columns,Qe=ce.children,it=ce.expandable,Pt=ce.expandedKeys,Ot=ce.columnTitle,Mt=ce.getRowKey,tn=ce.onTriggerExpand,Pn=ce.expandIcon,sn=ce.rowExpandable,Un=ce.expandIconColumnIndex,Vn=ce.direction,ta=ce.expandRowByClick,Ra=ce.columnWidth,wa=ce.fixed,Ka=ce.scrollWidth,Ba=se.useMemo(function(){return We||lr(Qe)},[We,Qe]),qa=se.useMemo(function(){if(it){var Pr,or=Ba.slice();if(!or.includes(x)){var $a=Un||0;$a>=0&&or.splice($a,0,x)}var Er=or.indexOf(x);or=or.filter(function(Ir,Io){return Ir!==x||Io===Er});var Tr=Ba[Er],co;(wa==="left"||wa)&&!Un?co="left":(wa==="right"||wa)&&Un===Ba.length?co="right":co=Tr?Tr.fixed:null;var Eo=(Pr={},(0,Ce.Z)(Pr,no,{className:"".concat(Be,"-expand-icon-col"),columnType:"EXPAND_COLUMN"}),(0,Ce.Z)(Pr,"title",Ot),(0,Ce.Z)(Pr,"fixed",co),(0,Ce.Z)(Pr,"className","".concat(Be,"-row-expand-icon-cell")),(0,Ce.Z)(Pr,"width",Ra),(0,Ce.Z)(Pr,"render",function(Io,jo,Di){var di=Mt(jo,Di),pl=Pt.has(di),Sl=sn?sn(jo):!0,Mo=Pn({prefixCls:Be,expanded:pl,expandable:Sl,record:jo,onExpand:tn});return ta?se.createElement("span",{onClick:function(Va){return Va.stopPropagation()}},Mo):Mo}),Pr);return or.map(function(Ir){return Ir===x?Eo:Ir})}return Ba.filter(function(Ir){return Ir!==x})},[it,Ba,Mt,Pt,Pn,Vn]),Fr=se.useMemo(function(){var Pr=qa;return me&&(Pr=me(Pr)),Pr.length||(Pr=[{render:function(){return null}}]),Pr},[me,qa,Vn]),Zr=se.useMemo(function(){return Vn==="rtl"?ul(Ar(Fr)):Ar(Fr)},[Fr,Vn,Ka]),Cr=tl(Zr,Ka),uo=(0,he.Z)(Cr,2),Ao=uo[0],fr=uo[1];return[Fr,Ao,fr]}var vl=kl;function hl(ce){var me,Be=ce.prefixCls,We=ce.record,Qe=ce.onExpand,it=ce.expanded,Pt=ce.expandable,Ot="".concat(Be,"-row-expand-icon");if(!Pt)return se.createElement("span",{className:Re()(Ot,"".concat(Be,"-row-spaced"))});var Mt=function(Pn){Qe(We,Pn),Pn.stopPropagation()};return se.createElement("span",{className:Re()(Ot,(me={},(0,Ce.Z)(me,"".concat(Be,"-row-expanded"),it),(0,Ce.Z)(me,"".concat(Be,"-row-collapsed"),!it),me)),onClick:Mt})}function ru(ce,me,Be){var We=[];function Qe(it){(it||[]).forEach(function(Pt,Ot){We.push(me(Pt,Ot)),Qe(Pt[Be])})}return Qe(ce),We}function Po(ce,me,Be){var We=No(ce),Qe=We.expandIcon,it=We.expandedRowKeys,Pt=We.defaultExpandedRowKeys,Ot=We.defaultExpandAllRows,Mt=We.expandedRowRender,tn=We.onExpand,Pn=We.onExpandedRowsChange,sn=We.childrenColumnName,Un=Qe||hl,Vn=sn||"children",ta=se.useMemo(function(){return Mt?"row":ce.expandable&&ce.internalHooks===ge&&ce.expandable.__PARENT_RENDER_ICON__||me.some(function(Zr){return Zr&&(0,be.Z)(Zr)==="object"&&Zr[Vn]})?"nest":!1},[!!Mt,me]),Ra=se.useState(function(){return Pt||(Ot?ru(me,Be,Vn):[])}),wa=(0,he.Z)(Ra,2),Ka=wa[0],Ba=wa[1],qa=se.useMemo(function(){return new Set(it||Ka||[])},[it,Ka]),Fr=se.useCallback(function(Zr){var Cr=Be(Zr,me.indexOf(Zr)),uo,Ao=qa.has(Cr);Ao?(qa.delete(Cr),uo=(0,Yr.Z)(qa)):uo=[].concat((0,Yr.Z)(qa),[Cr]),Ba(uo),tn&&tn(!Ao,Zr),Pn&&Pn(uo)},[Be,qa,me,tn,Pn]);return[We,ta,qa,Un,Vn,Fr]}function fe(ce,me,Be,We){var Qe=ce.map(function(it,Pt){return Bn(Pt,Pt,ce,me,Be,We==null?void 0:We[Pt])});return at(function(){return Qe},[Qe],function(it,Pt){return!Lt(it,Pt)})}function ye(ce){var me=(0,se.useRef)(ce),Be=(0,se.useState)({}),We=(0,he.Z)(Be,2),Qe=We[1],it=(0,se.useRef)(null),Pt=(0,se.useRef)([]);function Ot(Mt){Pt.current.push(Mt);var tn=Promise.resolve();it.current=tn,tn.then(function(){if(it.current===tn){var Pn=Pt.current,sn=me.current;Pt.current=[],Pn.forEach(function(Un){me.current=Un(me.current)}),it.current=null,sn!==me.current&&Qe({})}})}return(0,se.useEffect)(function(){return function(){it.current=null}},[]),[me.current,Ot]}function ke(ce){var me=(0,se.useRef)(ce||null),Be=(0,se.useRef)();function We(){window.clearTimeout(Be.current)}function Qe(Pt){me.current=Pt,We(),Be.current=window.setTimeout(function(){me.current=null,Be.current=void 0},100)}function it(){return me.current}return(0,se.useEffect)(function(){return We},[]),[Qe,it]}function Pe(){var ce=se.useState(-1),me=(0,he.Z)(ce,2),Be=me[0],We=me[1],Qe=se.useState(-1),it=(0,he.Z)(Qe,2),Pt=it[0],Ot=it[1],Mt=se.useCallback(function(tn,Pn){We(tn),Ot(Pn)},[]);return[Be,Pt,Mt]}var et=bt()?window:null;function ut(ce,me){var Be=(0,be.Z)(ce)==="object"?ce:{},We=Be.offsetHeader,Qe=We===void 0?0:We,it=Be.offsetSummary,Pt=it===void 0?0:it,Ot=Be.offsetScroll,Mt=Ot===void 0?0:Ot,tn=Be.getContainer,Pn=tn===void 0?function(){return et}:tn,sn=Pn()||et;return se.useMemo(function(){var Un=!!ce;return{isSticky:Un,stickyClassName:Un?"".concat(me,"-sticky-holder"):"",offsetHeader:Qe,offsetSummary:Pt,offsetScroll:Mt,container:sn}},[Mt,Qe,Pt,me,sn])}function St(ce,me,Be){var We=(0,se.useMemo)(function(){for(var Qe=[],it=[],Pt=0,Ot=0,Mt=0;Mt<me;Mt+=1)if(Be==="rtl"){it[Mt]=Ot,Ot+=ce[Mt]||0;var tn=me-Mt-1;Qe[tn]=Pt,Pt+=ce[tn]||0}else{Qe[Mt]=Pt,Pt+=ce[Mt]||0;var Pn=me-Mt-1;it[Pn]=Ot,Ot+=ce[Pn]||0}return{left:Qe,right:it}},[ce,me,Be]);return We}var nt=St;function ct(ce){var me=ce.className,Be=ce.children;return se.createElement("div",{className:me},Be)}var vt=ct;function hn(ce,me,Be,We){var Qe=je.unstable_batchedUpdates?function(Pt){je.unstable_batchedUpdates(Be,Pt)}:Be;return ce!=null&&ce.addEventListener&&ce.addEventListener(me,Qe,We),{remove:function(){ce!=null&&ce.removeEventListener&&ce.removeEventListener(me,Qe,We)}}}var Cn=/margin|padding|width|height|max|min|offset/,oa={left:!0,top:!0},$n={cssFloat:1,styleFloat:1,float:1};function Ia(ce){return ce.nodeType===1?ce.ownerDocument.defaultView.getComputedStyle(ce,null):{}}function xa(ce,me,Be){if(me=me.toLowerCase(),Be==="auto"){if(me==="height")return ce.offsetHeight;if(me==="width")return ce.offsetWidth}return me in oa||(oa[me]=Cn.test(me)),oa[me]?parseFloat(Be)||0:Be}function Mn(ce,me){var Be=arguments.length,We=Ia(ce);return me=$n[me]?"cssFloat"in ce.style?"cssFloat":"styleFloat":me,Be===1?We:xa(ce,me,We[me]||ce.style[me])}function jt(ce,me,Be){var We=arguments.length;if(me=$n[me]?"cssFloat"in ce.style?"cssFloat":"styleFloat":me,We===3)return typeof Be=="number"&&Cn.test(me)&&(Be="".concat(Be,"px")),ce.style[me]=Be,Be;for(var Qe in me)me.hasOwnProperty(Qe)&&jt(ce,Qe,me[Qe]);return Ia(ce)}function Fn(ce){return ce===document.body?document.documentElement.clientWidth:ce.offsetWidth}function Rn(ce){return ce===document.body?window.innerHeight||document.documentElement.clientHeight:ce.offsetHeight}function Ca(){var ce=Math.max(document.documentElement.scrollWidth,document.body.scrollWidth),me=Math.max(document.documentElement.scrollHeight,document.body.scrollHeight);return{width:ce,height:me}}function Ta(){var ce=document.documentElement.clientWidth,me=window.innerHeight||document.documentElement.clientHeight;return{width:ce,height:me}}function Ma(){return{scrollLeft:Math.max(document.documentElement.scrollLeft,document.body.scrollLeft),scrollTop:Math.max(document.documentElement.scrollTop,document.body.scrollTop)}}function Ja(ce){var me=ce.getBoundingClientRect(),Be=document.documentElement;return{left:me.left+(window.pageXOffset||Be.scrollLeft)-(Be.clientLeft||document.body.clientLeft||0),top:me.top+(window.pageYOffset||Be.scrollTop)-(Be.clientTop||document.body.clientTop||0)}}var Za=function(me,Be){var We,Qe,it=me.scrollBodyRef,Pt=me.onScroll,Ot=me.offsetScroll,Mt=me.container,tn=Le(ne,"prefixCls"),Pn=((We=it.current)===null||We===void 0?void 0:We.scrollWidth)||0,sn=((Qe=it.current)===null||Qe===void 0?void 0:Qe.clientWidth)||0,Un=Pn&&sn*(sn/Pn),Vn=se.useRef(),ta=ye({scrollLeft:0,isHiddenScrollBar:!1}),Ra=(0,he.Z)(ta,2),wa=Ra[0],Ka=Ra[1],Ba=se.useRef({delta:0,x:0}),qa=se.useState(!1),Fr=(0,he.Z)(qa,2),Zr=Fr[0],Cr=Fr[1],uo=function(){Cr(!1)},Ao=function(Er){Er.persist(),Ba.current.delta=Er.pageX-wa.scrollLeft,Ba.current.x=0,Cr(!0),Er.preventDefault()},fr=function(Er){var Tr,co=Er||((Tr=window)===null||Tr===void 0?void 0:Tr.event),Eo=co.buttons;if(!Zr||Eo===0){Zr&&Cr(!1);return}var Ir=Ba.current.x+Er.pageX-Ba.current.x-Ba.current.delta;Ir<=0&&(Ir=0),Ir+Un>=sn&&(Ir=sn-Un),Pt({scrollLeft:Ir/sn*(Pn+2)}),Ba.current.x=Er.pageX},Pr=function(){if(it.current){var Er=Ja(it.current).top,Tr=Er+it.current.offsetHeight,co=Mt===window?document.documentElement.scrollTop+window.innerHeight:Ja(Mt).top+Mt.clientHeight;Tr-Rt()<=co||Er>=co-Ot?Ka(function(Eo){return(0,xe.Z)((0,xe.Z)({},Eo),{},{isHiddenScrollBar:!0})}):Ka(function(Eo){return(0,xe.Z)((0,xe.Z)({},Eo),{},{isHiddenScrollBar:!1})})}},or=function(Er){Ka(function(Tr){return(0,xe.Z)((0,xe.Z)({},Tr),{},{scrollLeft:Er/Pn*sn||0})})};return se.useImperativeHandle(Be,function(){return{setScrollLeft:or}}),se.useEffect(function(){var $a=hn(document.body,"mouseup",uo,!1),Er=hn(document.body,"mousemove",fr,!1);return Pr(),function(){$a.remove(),Er.remove()}},[Un,Zr]),se.useEffect(function(){var $a=hn(Mt,"scroll",Pr,!1),Er=hn(window,"resize",Pr,!1);return function(){$a.remove(),Er.remove()}},[Mt]),se.useEffect(function(){wa.isHiddenScrollBar||Ka(function($a){var Er=it.current;return Er?(0,xe.Z)((0,xe.Z)({},$a),{},{scrollLeft:Er.scrollLeft/Er.scrollWidth*Er.clientWidth}):$a})},[wa.isHiddenScrollBar]),Pn<=sn||!Un||wa.isHiddenScrollBar?null:se.createElement("div",{style:{height:Rt(),width:sn,bottom:Ot},className:"".concat(tn,"-sticky-scroll")},se.createElement("div",{onMouseDown:Ao,ref:Vn,className:Re()("".concat(tn,"-sticky-scroll-bar"),(0,Ce.Z)({},"".concat(tn,"-sticky-scroll-bar-active"),Zr)),style:{width:"".concat(Un,"px"),transform:"translate3d(".concat(wa.scrollLeft,"px, 0, 0)")}}))},ma=se.forwardRef(Za);function za(ce){return null}var Na=za;function cr(ce){return null}var br=cr,oo="rc-table",zo=[],ai={};function ya(){return"No Data"}function ri(ce){var me,Be=(0,xe.Z)({rowKey:"key",prefixCls:oo,emptyText:ya},ce),We=Be.prefixCls,Qe=Be.className,it=Be.rowClassName,Pt=Be.style,Ot=Be.data,Mt=Be.rowKey,tn=Be.scroll,Pn=Be.tableLayout,sn=Be.direction,Un=Be.title,Vn=Be.footer,ta=Be.summary,Ra=Be.caption,wa=Be.id,Ka=Be.showHeader,Ba=Be.components,qa=Be.emptyText,Fr=Be.onRow,Zr=Be.onHeaderRow,Cr=Be.internalHooks,uo=Be.transformColumns,Ao=Be.internalRefs,fr=Be.tailor,Pr=Be.sticky,or=Ot||zo,$a=!!or.length,Er=Cr===ge,Tr=se.useCallback(function(yo,Mi){return zt(Ba,yo)||Mi},[Ba]),co=se.useMemo(function(){return typeof Mt=="function"?Mt:function(yo){var Mi=yo&&yo[Mt];return Mi}},[Mt]),Eo=Tr(["body"]),Ir=Pe(),Io=(0,he.Z)(Ir,3),jo=Io[0],Di=Io[1],di=Io[2],pl=Po(Be,or,co),Sl=(0,he.Z)(pl,6),Mo=Sl[0],Nl=Sl[1],Va=Sl[2],_r=Sl[3],Ko=Sl[4],Zi=Sl[5],vr=tn==null?void 0:tn.x,zr=se.useState(0),Kr=(0,he.Z)(zr,2),Rr=Kr[0],gi=Kr[1],Xr=vl((0,xe.Z)((0,xe.Z)((0,xe.Z)({},Be),Mo),{},{expandable:!!Mo.expandedRowRender,columnTitle:Mo.columnTitle,expandedKeys:Va,getRowKey:co,onTriggerExpand:Zi,expandIcon:_r,expandIconColumnIndex:Mo.expandIconColumnIndex,direction:sn,scrollWidth:Er&&fr&&typeof vr=="number"?vr:null}),Er?uo:null),To=(0,he.Z)(Xr,3),bi=To[0],hi=To[1],Lu=To[2],Pu=Lu!=null?Lu:vr,vs=se.useMemo(function(){return{columns:bi,flattenColumns:hi}},[bi,hi]),Jl=se.useRef(),ts=se.useRef(),Dl=se.useRef(),Tu=se.useRef(),Gs=se.useRef(),Gi=se.useState(!1),_i=(0,he.Z)(Gi,2),ae=_i[0],ie=_i[1],le=se.useState(!1),Se=(0,he.Z)(le,2),Ae=Se[0],$e=Se[1],_e=ye(new Map),yt=(0,he.Z)(_e,2),At=yt[0],Wt=yt[1],An=zn(hi),$t=An.map(function(yo){return At.get(yo)}),qt=se.useMemo(function(){return $t},[$t.join("_")]),nn=nt(qt,hi.length,sn),cn=tn&&Dt(tn.y),It=tn&&Dt(Pu)||!!Mo.fixed,un=It&&hi.some(function(yo){var Mi=yo.fixed;return Mi}),Zn=se.useRef(),Ea=ut(Pr,We),Jn=Ea.isSticky,Yn=Ea.offsetHeader,Ha=Ea.offsetSummary,Kn=Ea.offsetScroll,_n=Ea.stickyClassName,Sr=Ea.container,Ya=se.useMemo(function(){return ta==null?void 0:ta(or)},[ta,or]),yr=(cn||Jn)&&se.isValidElement(Ya)&&Ya.type===Me&&Ya.props.fixed,ur,Gr,Co;cn&&(Gr={overflowY:"scroll",maxHeight:tn.y}),It&&(ur={overflowX:"auto"},cn||(Gr={overflowY:"hidden"}),Co={width:Pu===!0?"auto":Pu,minWidth:"100%"});var Vo=se.useCallback(function(yo,Mi){_a(Jl.current)&&Wt(function(il){if(il.get(yo)!==Mi){var Yl=new Map(il);return Yl.set(yo,Mi),Yl}return il})},[]),Ur=ke(null),$r=(0,he.Z)(Ur,2),Dr=$r[0],Yo=$r[1];function ho(yo,Mi){Mi&&(typeof Mi=="function"?Mi(yo):Mi.scrollLeft!==yo&&(Mi.scrollLeft=yo,Mi.scrollLeft!==yo&&setTimeout(function(){Mi.scrollLeft=yo},0)))}var bo=Ye(function(yo){var Mi=yo.currentTarget,il=yo.scrollLeft,Yl=sn==="rtl",$i=typeof il=="number"?il:Mi.scrollLeft,tu=Mi||ai;if(!Yo()||Yo()===tu){var Rl;Dr(tu),ho($i,ts.current),ho($i,Dl.current),ho($i,Gs.current),ho($i,(Rl=Zn.current)===null||Rl===void 0?void 0:Rl.setScrollLeft)}var cu=Mi||ts.current;if(cu){var Su=cu.scrollWidth,jl=cu.clientWidth;if(Su===jl){ie(!1),$e(!1);return}Yl?(ie(-$i<Su-jl),$e(-$i>0)):(ie($i>0),$e($i<Su-jl))}}),Bi=function(){It&&Dl.current?bo({currentTarget:Dl.current}):(ie(!1),$e(!1))},zi=function(Mi){var il=Mi.width;il!==Rr&&(Bi(),gi(Jl.current?Jl.current.offsetWidth:il))},Xi=se.useRef(!1);se.useEffect(function(){Xi.current&&Bi()},[It,Ot,bi.length]),se.useEffect(function(){Xi.current=!0},[]);var xl=se.useState(0),wi=(0,he.Z)(xl,2),fl=wi[0],ni=wi[1],ci=se.useState(!0),Li=(0,he.Z)(ci,2),ml=Li[0],yl=Li[1];se.useEffect(function(){(!fr||!Er)&&(Dl.current instanceof Element?ni(qn(Dl.current).width):ni(qn(Tu.current).width)),yl(Ln("position","sticky"))},[]),se.useEffect(function(){Er&&Ao&&(Ao.body.current=Dl.current)});var Ul=se.useCallback(function(yo){return se.createElement(se.Fragment,null,se.createElement(fi,yo),yr==="top"&&se.createElement(Zt,yo,Ya))},[yr,Ya]),Pl=se.useCallback(function(yo){return se.createElement(Zt,yo,Ya)},[Ya]),So=Tr(["table"],"table"),Wi=se.useMemo(function(){return Pn||(un?Pu==="max-content"?"auto":"fixed":cn||Jn||hi.some(function(yo){var Mi=yo.ellipsis;return Mi})?"fixed":"auto")},[cn,un,hi,Pn,Jn]),pi,_o={colWidths:qt,columCount:hi.length,stickyOffsets:nn,onHeaderRow:Zr,fixHeader:cn,scroll:tn},Hr=se.useMemo(function(){return $a?null:typeof qa=="function"?qa():qa},[$a,qa]),ei=se.createElement(Qa,{data:or,measureColumnWidth:cn||It||Jn}),Ui=se.createElement(yi,{colWidths:hi.map(function(yo){var Mi=yo.width;return Mi}),columns:hi}),ql=Ra!=null?se.createElement("caption",{className:"".concat(We,"-caption")},Ra):void 0,pu=Jo(Be,{data:!0}),Hl=Jo(Be,{aria:!0});if(cn||Jn){var Yu;typeof Eo=="function"?(Yu=Eo(or,{scrollbarSize:fl,ref:Dl,onScroll:bo}),_o.colWidths=hi.map(function(yo,Mi){var il=yo.width,Yl=Mi===hi.length-1?il-fl:il;return typeof Yl=="number"&&!Number.isNaN(Yl)?Yl:0})):Yu=se.createElement("div",{style:(0,xe.Z)((0,xe.Z)({},ur),Gr),onScroll:bo,ref:Dl,className:Re()("".concat(We,"-body"))},se.createElement(So,(0,Ke.Z)({style:(0,xe.Z)((0,xe.Z)({},Co),{},{tableLayout:Wi})},Hl),ql,Ui,ei,!yr&&Ya&&se.createElement(Zt,{stickyOffsets:nn,flattenColumns:hi,columns:bi},Ya)));var rs=(0,xe.Z)((0,xe.Z)((0,xe.Z)({noData:!or.length,maxContentScroll:It&&Pu==="max-content"},_o),vs),{},{direction:sn,stickyClassName:_n,onScroll:bo});pi=se.createElement(se.Fragment,null,Ka!==!1&&se.createElement(xr,(0,Ke.Z)({},rs,{stickyTopOffset:Yn,className:"".concat(We,"-header"),ref:ts}),Ul),Yu,yr&&yr!=="top"&&se.createElement(xr,(0,Ke.Z)({},rs,{stickyBottomOffset:Ha,className:"".concat(We,"-summary"),ref:Gs}),Pl),Jn&&se.createElement(ma,{ref:Zn,offsetScroll:Kn,scrollBodyRef:Dl,onScroll:bo,container:Sr}))}else pi=se.createElement("div",{style:(0,xe.Z)((0,xe.Z)({},ur),Gr),className:Re()("".concat(We,"-content")),onScroll:bo,ref:Dl},se.createElement(So,(0,Ke.Z)({style:(0,xe.Z)((0,xe.Z)({},Co),{},{tableLayout:Wi})},Hl),ql,Ui,Ka!==!1&&se.createElement(fi,(0,Ke.Z)({},_o,vs)),ei,Ya&&se.createElement(Zt,{stickyOffsets:nn,flattenColumns:hi,columns:bi},Ya)));var du=se.createElement("div",(0,Ke.Z)({className:Re()(We,Qe,(me={},(0,Ce.Z)(me,"".concat(We,"-rtl"),sn==="rtl"),(0,Ce.Z)(me,"".concat(We,"-ping-left"),ae),(0,Ce.Z)(me,"".concat(We,"-ping-right"),Ae),(0,Ce.Z)(me,"".concat(We,"-layout-fixed"),Pn==="fixed"),(0,Ce.Z)(me,"".concat(We,"-fixed-header"),cn),(0,Ce.Z)(me,"".concat(We,"-fixed-column"),un),(0,Ce.Z)(me,"".concat(We,"-scroll-horizontal"),It),(0,Ce.Z)(me,"".concat(We,"-has-fix-left"),hi[0]&&hi[0].fixed),(0,Ce.Z)(me,"".concat(We,"-has-fix-right"),hi[hi.length-1]&&hi[hi.length-1].fixed==="right"),me)),style:Pt,id:wa,ref:Jl},pu),Un&&se.createElement(vt,{className:"".concat(We,"-title")},Un(or)),se.createElement("div",{ref:Tu,className:"".concat(We,"-container")},pi),Vn&&se.createElement(vt,{className:"".concat(We,"-footer")},Vn(or)));It&&(du=se.createElement(Ga.Z,{onResize:zi},du));var eu=fe(hi,nn,sn,bi),Vl=se.useMemo(function(){return{scrollX:Pu,prefixCls:We,getComponent:Tr,scrollbarSize:fl,direction:sn,fixedInfoList:eu,isSticky:Jn,supportSticky:ml,componentWidth:Rr,fixHeader:cn,fixColumn:un,horizonScroll:It,tableLayout:Wi,rowClassName:it,expandedRowClassName:Mo.expandedRowClassName,expandIcon:_r,expandableType:Nl,expandRowByClick:Mo.expandRowByClick,expandedRowRender:Mo.expandedRowRender,onTriggerExpand:Zi,expandIconColumnIndex:Mo.expandIconColumnIndex,indentSize:Mo.indentSize,allColumnsFixedLeft:hi.every(function(yo){return yo.fixed==="left"}),emptyNode:Hr,columns:bi,flattenColumns:hi,onColumnResize:Vo,hoverStartRow:jo,hoverEndRow:Di,onHover:di,rowExpandable:Mo.rowExpandable,onRow:Fr,getRowKey:co,expandedKeys:Va,childrenColumnName:Ko}},[Pu,We,Tr,fl,sn,eu,Jn,ml,Rr,cn,un,It,Wi,it,Mo.expandedRowClassName,_r,Nl,Mo.expandRowByClick,Mo.expandedRowRender,Zi,Mo.expandIconColumnIndex,Mo.indentSize,Hr,bi,hi,Vo,jo,Di,di,Mo.rowExpandable,Fr,co,Va,Ko]);return se.createElement(ne.Provider,{value:Vl},du)}function Ji(ce){return ee(ri,ce)}var Kl=Ji();Kl.EXPAND_COLUMN=x,Kl.INTERNAL_HOOKS=ge,Kl.Column=Na,Kl.ColumnGroup=br,Kl.Summary=ot;var mu=Kl,Ll=z(73299),sl=Te(null),Ti=Te(null);function Cu(ce,me,Be){var We=me||1;return Be[ce+We]-(Be[ce]||0)}function Cl(ce){var me=ce.rowInfo,Be=ce.column,We=ce.colIndex,Qe=ce.indent,it=ce.index,Pt=ce.renderIndex,Ot=ce.record,Mt=ce.style,tn=ce.className,Pn=ce.inverse,sn=ce.getHeight,Un=Be.render,Vn=Be.dataIndex,ta=Be.className,Ra=Be.width,wa=Le(Ti,["columnsOffset"]),Ka=wa.columnsOffset,Ba=mn(me,Be,We,Qe,it),qa=Ba.key,Fr=Ba.fixedInfo,Zr=Ba.appendCellNode,Cr=Ba.additionalCellProps,uo=Cr.style,Ao=Cr.colSpan,fr=Ao===void 0?1:Ao,Pr=Cr.rowSpan,or=Pr===void 0?1:Pr,$a=We-1,Er=Cu($a,fr,Ka),Tr=fr>1?Ra-Er:0,co=(0,xe.Z)((0,xe.Z)((0,xe.Z)({},uo),Mt),{},{flex:"0 0 ".concat(Er,"px"),width:"".concat(Er,"px"),marginRight:Tr,pointerEvents:"auto"}),Eo=se.useMemo(function(){return Pn?or<=1:fr===0||or===0||or>1},[or,fr,Pn]);Eo?co.visibility="hidden":Pn&&(co.height=sn==null?void 0:sn(or));var Ir=Eo?function(){return null}:Un,Io={};return(or===0||fr===0)&&(Io.rowSpan=1,Io.colSpan=1),se.createElement(Bt,(0,Ke.Z)({className:Re()(ta,tn),ellipsis:Be.ellipsis,align:Be.align,scope:Be.rowScope,component:"div",prefixCls:me.prefixCls,key:qa,record:Ot,index:it,renderIndex:Pt,dataIndex:Vn,render:Ir,shouldCellUpdate:Be.shouldCellUpdate},Fr,{appendNode:Zr,additionalProps:(0,xe.Z)((0,xe.Z)({},Cr),{},{style:co},Io)}))}var bu=Cl,ln=["data","index","className","rowKey","style","extra","getHeight"],Vt=se.forwardRef(function(ce,me){var Be=ce.data,We=ce.index,Qe=ce.className,it=ce.rowKey,Pt=ce.style,Ot=ce.extra,Mt=ce.getHeight,tn=(0,bn.Z)(ce,ln),Pn=Be.record,sn=Be.indent,Un=Be.index,Vn=Le(ne,["prefixCls","flattenColumns","fixColumn","componentWidth","scrollX"]),ta=Vn.scrollX,Ra=Vn.flattenColumns,wa=Vn.prefixCls,Ka=Vn.fixColumn,Ba=Vn.componentWidth,qa=an(Pn,it,We,sn),Fr=qa.rowSupportExpand,Zr=qa.expanded,Cr=qa.rowProps,uo=qa.expandedRowRender,Ao=qa.expandedRowClassName,fr;if(Fr&&Zr){var Pr=uo(Pn,We,sn+1,Zr),or=Ao==null?void 0:Ao(Pn,We,sn),$a={};Ka&&($a={style:(0,Ce.Z)({},"--virtual-width","".concat(Ba,"px"))});var Er="".concat(wa,"-expanded-row-cell");fr=se.createElement("div",{className:Re()("".concat(wa,"-expanded-row"),"".concat(wa,"-expanded-row-level-").concat(sn+1),or)},se.createElement(Bt,{component:"div",prefixCls:wa,className:Re()(Er,(0,Ce.Z)({},"".concat(Er,"-fixed"),Ka)),additionalProps:$a},Pr))}var Tr=(0,xe.Z)((0,xe.Z)({},Pt),{},{width:ta});Ot&&(Tr.position="absolute",Tr.pointerEvents="none");var co=se.createElement("div",(0,Ke.Z)({},Cr,tn,{ref:Fr?null:me,className:Re()(Qe,"".concat(wa,"-row"),Cr==null?void 0:Cr.className,(0,Ce.Z)({},"".concat(wa,"-row-extra"),Ot)),style:(0,xe.Z)((0,xe.Z)({},Tr),Cr==null?void 0:Cr.style)}),Ra.map(function(Eo,Ir){return se.createElement(bu,{key:Ir,rowInfo:qa,column:Eo,colIndex:Ir,indent:sn,index:We,renderIndex:Un,record:Pn,inverse:Ot,getHeight:Mt})}));return Fr?se.createElement("div",{ref:me},co,fr):co}),_t=te(Vt),ka=_t,Mr=se.forwardRef(function(ce,me){var Be=ce.data,We=ce.onScroll,Qe=Le(ne,["flattenColumns","onColumnResize","getRowKey","prefixCls","expandedKeys","childrenColumnName","emptyNode","scrollX"]),it=Qe.flattenColumns,Pt=Qe.onColumnResize,Ot=Qe.getRowKey,Mt=Qe.expandedKeys,tn=Qe.prefixCls,Pn=Qe.childrenColumnName,sn=Qe.emptyNode,Un=Qe.scrollX,Vn=Le(sl),ta=Vn.scrollY,Ra=Vn.listItemHeight,wa=se.useRef(),Ka=Vr(Be,Pn,Mt,Ot),Ba=se.useMemo(function(){var fr=0;return it.map(function(Pr){var or=Pr.width,$a=Pr.key;return fr+=or,[$a,or,fr]})},[it]),qa=se.useMemo(function(){return Ba.map(function(fr){return fr[2]})},[Ba]);se.useEffect(function(){Ba.forEach(function(fr){var Pr=(0,he.Z)(fr,2),or=Pr[0],$a=Pr[1];Pt(or,$a)})},[Ba]),se.useImperativeHandle(me,function(){var fr={};return Object.defineProperty(fr,"scrollLeft",{get:function(){var or;return((or=wa.current)===null||or===void 0?void 0:or.getScrollInfo().x)||0},set:function(or){var $a;($a=wa.current)===null||$a===void 0||$a.scrollTo({left:or})}}),fr});var Fr=function(Pr,or){var $a,Er=($a=Ka[or])===null||$a===void 0?void 0:$a.record,Tr=Pr.onCell;if(Tr){var co,Eo=Tr(Er,or);return(co=Eo==null?void 0:Eo.rowSpan)!==null&&co!==void 0?co:1}return 1},Zr=function(Pr){var or=Pr.start,$a=Pr.end,Er=Pr.getSize,Tr=Pr.offsetY;if($a<0)return null;for(var co=it.filter(function(vr){return Fr(vr,or)===0}),Eo=or,Ir=function(zr){if(co=co.filter(function(Kr){return Fr(Kr,zr)===0}),!co.length)return Eo=zr,"break"},Io=or;Io>=0;Io-=1){var jo=Ir(Io);if(jo==="break")break}for(var Di=it.filter(function(vr){return Fr(vr,$a)!==1}),di=$a,pl=function(zr){if(Di=Di.filter(function(Kr){return Fr(Kr,zr)!==1}),!Di.length)return di=Math.max(zr-1,$a),"break"},Sl=$a;Sl<Ka.length;Sl+=1){var Mo=pl(Sl);if(Mo==="break")break}for(var Nl=[],Va=function(zr){var Kr=Ka[zr];if(!Kr)return"continue";it.some(function(Rr){return Fr(Rr,zr)>1})&&Nl.push(zr)},_r=Eo;_r<=di;_r+=1)var Ko=Va(_r);var Zi=Nl.map(function(vr){var zr=Ka[vr],Kr=Ot(zr.record,vr),Rr=function(To){var bi=vr+To-1,hi=Ot(Ka[bi].record,bi),Lu=Er(Kr,hi);return Lu.bottom-Lu.top},gi=Er(Kr);return se.createElement(ka,{key:vr,data:zr,rowKey:Kr,index:vr,style:{top:-Tr+gi.top},extra:!0,getHeight:Rr})});return Zi},Cr=se.useMemo(function(){return{columnsOffset:qa}},[qa]),uo="".concat(tn,"-tbody"),Ao;return Ka.length?Ao=se.createElement(Ll.Z,{fullHeight:!1,ref:wa,className:Re()(uo,"".concat(uo,"-virtual")),height:ta,itemHeight:Ra||24,data:Ka,itemKey:function(Pr){return Ot(Pr.record)},scrollWidth:Un,onVirtualScroll:function(Pr){var or=Pr.x;We({scrollLeft:or})},extraRender:Zr},function(fr,Pr,or){var $a=Ot(fr.record,Pr);return se.createElement(ka,(0,Ke.Z)({data:fr,rowKey:$a,index:Pr},or))}):Ao=se.createElement("div",{className:Re()("".concat(tn,"-placeholder"))},se.createElement(Bt,{component:"div",prefixCls:tn},sn)),se.createElement(Ti.Provider,{value:Cr},Ao)}),Wa=te(Mr),Qn=Wa,mr=function(me,Be){var We=Be.ref,Qe=Be.onScroll;return se.createElement(Qn,{ref:We,data:me,onScroll:Qe})},kn=100;function na(ce){var me=ce.columns,Be=ce.scroll,We=ce.prefixCls,Qe=We===void 0?oo:We,it=ce.className,Pt=ce.listItemHeight,Ot=Be||{},Mt=Ot.x,tn=Ot.y;typeof Mt!="number"&&(Mt=((me||[]).length+1)*kn),typeof tn!="number"&&(tn=500);var Pn=se.useMemo(function(){return{scrollY:tn,listItemHeight:Pt}},[tn,Pt]);return se.createElement(sl.Provider,{value:Pn},se.createElement(mu,(0,Ke.Z)({},ce,{className:Re()(it,"".concat(Qe,"-virtual")),scroll:(0,xe.Z)((0,xe.Z)({},Be),{},{x:Mt}),components:{body:mr},columns:me,internalHooks:ge,tailor:!0})))}function hr(ce){return ee(na,ce)}var Do=hr(),sr=null;function Hi(ce){return null}var $o=Hi;function wr(ce){return null}var oi=wr,ba=z(10366),sa=z(58375),mo=z(53124),nl=z(88258),Ua=z(98675),Oa=z(25378),Wo=z(24457),Fl=z(28452),ia=z(57953),Da=z(46605);function Xa(ce){return function(Be){let{prefixCls:We,onExpand:Qe,record:it,expanded:Pt,expandable:Ot}=Be;const Mt=`${We}-row-expand-icon`;return se.createElement("button",{type:"button",onClick:tn=>{Qe(it,tn),tn.stopPropagation()},className:Re()(Mt,{[`${Mt}-spaced`]:!Ot,[`${Mt}-expanded`]:Ot&&Pt,[`${Mt}-collapsed`]:Ot&&!Pt}),"aria-label":Pt?ce.collapse:ce.expand,"aria-expanded":Pt})}}var Nn=Xa;function ja(ce,me){return"key"in ce&&ce.key!==void 0&&ce.key!==null?ce.key:ce.dataIndex?Array.isArray(ce.dataIndex)?ce.dataIndex.join("."):ce.dataIndex:me}function Wn(ce,me){return me?`${me}-${ce}`:`${ce}`}function Bo(ce,me){return typeof ce=="function"?ce(me):ce}function to(ce,me){const Be=Bo(ce,me);return Object.prototype.toString.call(Be)==="[object Object]"?"":Be}var io={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"},qo=io,Jr=z(74643),li=function(me,Be){return se.createElement(Jr.Z,(0,Ke.Z)({},me,{ref:Be,icon:qo}))},ir=se.forwardRef(li),Ro=z(7699),Oi=z(57838);function Fi(ce){const me=se.useRef(ce),Be=(0,Oi.Z)();return[()=>me.current,We=>{me.current=We,Be()}]}var Gn=z(71577),Pa=z(84567),Nr=z(85418),va=z(32983),nr=z(68508),xo=z(76529),lo=z(78045),Ei=z(79870),Oe=z(72395),qe=z(69677);function tt(ce){let{value:me,onChange:Be,filterSearch:We,tablePrefixCls:Qe,locale:it}=ce;return We?se.createElement("div",{className:`${Qe}-filter-dropdown-search`},se.createElement(qe.default,{prefix:se.createElement(Oe.Z,null),placeholder:it.filterSearchPlaceholder,onChange:Be,value:me,htmlSize:1,className:`${Qe}-filter-dropdown-search-input`})):null}var Ft=tt,pn=z(92389);const ea=ce=>{const{keyCode:me}=ce;me===pn.Z.ENTER&&ce.stopPropagation()};var ar=se.forwardRef((ce,me)=>se.createElement("div",{className:ce.className,onClick:Be=>Be.stopPropagation(),onKeyDown:ea,ref:me},ce.children));function pr(ce){let me=[];return(ce||[]).forEach(Be=>{let{value:We,children:Qe}=Be;me.push(We),Qe&&(me=[].concat((0,Yr.Z)(me),(0,Yr.Z)(pr(Qe))))}),me}function dr(ce){return ce.some(me=>{let{children:Be}=me;return Be})}function kr(ce,me){return typeof me=="string"||typeof me=="number"?me==null?void 0:me.toString().toLowerCase().includes(ce.trim().toLowerCase()):!1}function gr(ce){let{filters:me,prefixCls:Be,filteredKeys:We,filterMultiple:Qe,searchValue:it,filterSearch:Pt}=ce;return me.map((Ot,Mt)=>{const tn=String(Ot.value);if(Ot.children)return{key:tn||Mt,label:Ot.text,popupClassName:`${Be}-dropdown-submenu`,children:gr({filters:Ot.children,prefixCls:Be,filteredKeys:We,filterMultiple:Qe,searchValue:it,filterSearch:Pt})};const Pn=Qe?Pa.default:lo.ZP,sn={key:Ot.value!==void 0?tn:Mt,label:se.createElement(se.Fragment,null,se.createElement(Pn,{checked:We.includes(tn)}),se.createElement("span",null,Ot.text))};return it.trim()?typeof Pt=="function"?Pt(it,Ot)?sn:null:kr(it,Ot.text)?sn:null:sn})}function Wr(ce){var me,Be;const{tablePrefixCls:We,prefixCls:Qe,column:it,dropdownPrefixCls:Pt,columnKey:Ot,filterMultiple:Mt,filterMode:tn="menu",filterSearch:Pn=!1,filterState:sn,triggerFilter:Un,locale:Vn,children:ta,getPopupContainer:Ra}=ce,{filterDropdownOpen:wa,onFilterDropdownOpenChange:Ka,filterResetToDefaultFilteredValue:Ba,defaultFilteredValue:qa,filterDropdownVisible:Fr,onFilterDropdownVisibleChange:Zr}=it,[Cr,uo]=se.useState(!1),Ao=!!(sn&&(!((me=sn.filteredKeys)===null||me===void 0)&&me.length||sn.forceFiltered)),fr=Xr=>{uo(Xr),Ka==null||Ka(Xr),Zr==null||Zr(Xr)},Pr=(Be=wa!=null?wa:Fr)!==null&&Be!==void 0?Be:Cr,or=sn==null?void 0:sn.filteredKeys,[$a,Er]=Fi(or||[]),Tr=Xr=>{let{selectedKeys:To}=Xr;Er(To)},co=(Xr,To)=>{let{node:bi,checked:hi}=To;Tr(Mt?{selectedKeys:Xr}:{selectedKeys:hi&&bi.key?[bi.key]:[]})};se.useEffect(()=>{Cr&&Tr({selectedKeys:or||[]})},[or]);const[Eo,Ir]=se.useState([]),Io=Xr=>{Ir(Xr)},[jo,Di]=se.useState(""),di=Xr=>{const{value:To}=Xr.target;Di(To)};se.useEffect(()=>{Cr||Di("")},[Cr]);const pl=Xr=>{const To=Xr&&Xr.length?Xr:null;if(To===null&&(!sn||!sn.filteredKeys)||(0,Ro.Z)(To,sn==null?void 0:sn.filteredKeys,!0))return null;Un({column:it,key:Ot,filteredKeys:To})},Sl=()=>{fr(!1),pl($a())},Mo=function(){let{confirm:Xr,closeDropdown:To}=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{confirm:!1,closeDropdown:!1};Xr&&pl([]),To&&fr(!1),Di(""),Er(Ba?(qa||[]).map(bi=>String(bi)):[])},Nl=function(){let{closeDropdown:Xr}=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{closeDropdown:!0};Xr&&fr(!1),pl($a())},Va=Xr=>{Xr&&or!==void 0&&Er(or||[]),fr(Xr),!Xr&&!it.filterDropdown&&Sl()},_r=Re()({[`${Pt}-menu-without-submenu`]:!dr(it.filters||[])}),Ko=Xr=>{if(Xr.target.checked){const To=pr(it==null?void 0:it.filters).map(bi=>String(bi));Er(To)}else Er([])},Zi=Xr=>{let{filters:To}=Xr;return(To||[]).map((bi,hi)=>{const Lu=String(bi.value),Pu={title:bi.text,key:bi.value!==void 0?Lu:hi};return bi.children&&(Pu.children=Zi({filters:bi.children})),Pu})},vr=Xr=>{var To;return Object.assign(Object.assign({},Xr),{text:Xr.title,value:Xr.key,children:((To=Xr.children)===null||To===void 0?void 0:To.map(bi=>vr(bi)))||[]})};let zr;if(typeof it.filterDropdown=="function")zr=it.filterDropdown({prefixCls:`${Pt}-custom`,setSelectedKeys:Xr=>Tr({selectedKeys:Xr}),selectedKeys:$a(),confirm:Nl,clearFilters:Mo,filters:it.filters,visible:Pr,close:()=>{fr(!1)}});else if(it.filterDropdown)zr=it.filterDropdown;else{const Xr=$a()||[],To=()=>(it.filters||[]).length===0?se.createElement(va.Z,{image:va.Z.PRESENTED_IMAGE_SIMPLE,description:Vn.filterEmptyText,imageStyle:{height:24},style:{margin:0,padding:"16px 0"}}):tn==="tree"?se.createElement(se.Fragment,null,se.createElement(Ft,{filterSearch:Pn,value:jo,onChange:di,tablePrefixCls:We,locale:Vn}),se.createElement("div",{className:`${We}-filter-dropdown-tree`},Mt?se.createElement(Pa.default,{checked:Xr.length===pr(it.filters).length,indeterminate:Xr.length>0&&Xr.length<pr(it.filters).length,className:`${We}-filter-dropdown-checkall`,onChange:Ko},Vn.filterCheckall):null,se.createElement(Ei.default,{checkable:!0,selectable:!1,blockNode:!0,multiple:Mt,checkStrictly:!Mt,className:`${Pt}-menu`,onCheck:co,checkedKeys:Xr,selectedKeys:Xr,showIcon:!1,treeData:Zi({filters:it.filters}),autoExpandParent:!0,defaultExpandAll:!0,filterTreeNode:jo.trim()?hi=>typeof Pn=="function"?Pn(jo,vr(hi)):kr(jo,hi.title):void 0}))):se.createElement(se.Fragment,null,se.createElement(Ft,{filterSearch:Pn,value:jo,onChange:di,tablePrefixCls:We,locale:Vn}),se.createElement(nr.default,{selectable:!0,multiple:Mt,prefixCls:`${Pt}-menu`,className:_r,onSelect:Tr,onDeselect:Tr,selectedKeys:Xr,getPopupContainer:Ra,openKeys:Eo,onOpenChange:Io,items:gr({filters:it.filters||[],filterSearch:Pn,prefixCls:Qe,filteredKeys:$a(),filterMultiple:Mt,searchValue:jo})})),bi=()=>Ba?(0,Ro.Z)((qa||[]).map(hi=>String(hi)),Xr,!0):Xr.length===0;zr=se.createElement(se.Fragment,null,To(),se.createElement("div",{className:`${Qe}-dropdown-btns`},se.createElement(Gn.ZP,{type:"link",size:"small",disabled:bi(),onClick:()=>Mo()},Vn.filterReset),se.createElement(Gn.ZP,{type:"primary",size:"small",onClick:Sl},Vn.filterConfirm)))}it.filterDropdown&&(zr=se.createElement(xo.J,{selectable:void 0},zr));const Kr=()=>se.createElement(ar,{className:`${Qe}-dropdown`},zr);let Rr;typeof it.filterIcon=="function"?Rr=it.filterIcon(Ao):it.filterIcon?Rr=it.filterIcon:Rr=se.createElement(ir,null);const{direction:gi}=se.useContext(mo.E_);return se.createElement("div",{className:`${Qe}-column`},se.createElement("span",{className:`${We}-column-title`},ta),se.createElement(Nr.Z,{dropdownRender:Kr,trigger:["click"],open:Pr,onOpenChange:Va,getPopupContainer:Ra,placement:gi==="rtl"?"bottomLeft":"bottomRight"},se.createElement("span",{role:"button",tabIndex:-1,className:Re()(`${Qe}-trigger`,{active:Ao}),onClick:Xr=>{Xr.stopPropagation()}},Rr)))}var Or=Wr;function vo(ce,me,Be){let We=[];return(ce||[]).forEach((Qe,it)=>{var Pt;const Ot=Wn(it,Be);if(Qe.filters||"filterDropdown"in Qe||"onFilter"in Qe)if("filteredValue"in Qe){let Mt=Qe.filteredValue;"filterDropdown"in Qe||(Mt=(Pt=Mt==null?void 0:Mt.map(String))!==null&&Pt!==void 0?Pt:Mt),We.push({column:Qe,key:ja(Qe,Ot),filteredKeys:Mt,forceFiltered:Qe.filtered})}else We.push({column:Qe,key:ja(Qe,Ot),filteredKeys:me&&Qe.defaultFilteredValue?Qe.defaultFilteredValue:void 0,forceFiltered:Qe.filtered});"children"in Qe&&(We=[].concat((0,Yr.Z)(We),(0,Yr.Z)(vo(Qe.children,me,Ot))))}),We}function ui(ce,me,Be,We,Qe,it,Pt,Ot){return Be.map((Mt,tn)=>{const Pn=Wn(tn,Ot),{filterMultiple:sn=!0,filterMode:Un,filterSearch:Vn}=Mt;let ta=Mt;if(ta.filters||ta.filterDropdown){const Ra=ja(ta,Pn),wa=We.find(Ka=>{let{key:Ba}=Ka;return Ra===Ba});ta=Object.assign(Object.assign({},ta),{title:Ka=>se.createElement(Or,{tablePrefixCls:ce,prefixCls:`${ce}-filter`,dropdownPrefixCls:me,column:ta,columnKey:Ra,filterState:wa,filterMultiple:sn,filterMode:Un,filterSearch:Vn,triggerFilter:it,locale:Qe,getPopupContainer:Pt},Bo(Mt.title,Ka))})}return"children"in ta&&(ta=Object.assign(Object.assign({},ta),{children:ui(ce,me,ta.children,We,Qe,it,Pt,Pn)})),ta})}function Qo(ce){const me={};return ce.forEach(Be=>{let{key:We,filteredKeys:Qe,column:it}=Be;const{filters:Pt,filterDropdown:Ot}=it;if(Ot)me[We]=Qe||null;else if(Array.isArray(Qe)){const Mt=pr(Pt);me[We]=Mt.filter(tn=>Qe.includes(String(tn)))}else me[We]=null}),me}function mi(ce,me){return me.reduce((Be,We)=>{const{column:{onFilter:Qe,filters:it},filteredKeys:Pt}=We;return Qe&&Pt&&Pt.length?Be.filter(Ot=>Pt.some(Mt=>{const tn=pr(it),Pn=tn.findIndex(Un=>String(Un)===String(Mt)),sn=Pn!==-1?tn[Pn]:Mt;return Qe(sn,Ot)})):Be},ce)}const Uo=ce=>ce.flatMap(me=>"children"in me?[me].concat((0,Yr.Z)(Uo(me.children||[]))):[me]);function po(ce){let{prefixCls:me,dropdownPrefixCls:Be,mergedColumns:We,onFilterChange:Qe,getPopupContainer:it,locale:Pt}=ce;const Ot=se.useMemo(()=>Uo(We||[]),[We]),[Mt,tn]=se.useState(()=>vo(Ot,!0)),Pn=se.useMemo(()=>{const ta=vo(Ot,!1);if(ta.length===0)return ta;let Ra=!0,wa=!0;if(ta.forEach(Ka=>{let{filteredKeys:Ba}=Ka;Ba!==void 0?Ra=!1:wa=!1}),Ra){const Ka=(Ot||[]).map((Ba,qa)=>ja(Ba,Wn(qa)));return Mt.filter(Ba=>{let{key:qa}=Ba;return Ka.includes(qa)}).map(Ba=>{const qa=Ot[Ka.findIndex(Fr=>Fr===Ba.key)];return Object.assign(Object.assign({},Ba),{column:Object.assign(Object.assign({},Ba.column),qa),forceFiltered:qa.filtered})})}return ta},[Ot,Mt]),sn=se.useMemo(()=>Qo(Pn),[Pn]),Un=ta=>{const Ra=Pn.filter(wa=>{let{key:Ka}=wa;return Ka!==ta.key});Ra.push(ta),tn(Ra),Qe(Qo(Ra),Ra)};return[ta=>ui(me,Be,ta,Pn,Pt,Un,it),Pn,sn]}var jr=po;function dl(ce,me,Be){const We=se.useRef({});function Qe(it){if(!We.current||We.current.data!==ce||We.current.childrenColumnName!==me||We.current.getRowKey!==Be){let Ot=function(Mt){Mt.forEach((tn,Pn)=>{const sn=Be(tn,Pn);Pt.set(sn,tn),tn&&typeof tn=="object"&&me in tn&&Ot(tn[me]||[])})};const Pt=new Map;Ot(ce),We.current={data:ce,childrenColumnName:me,kvMap:Pt,getRowKey:Be}}return We.current.kvMap.get(it)}return[Qe]}var Vi=z(38780),cl=function(ce,me){var Be={};for(var We in ce)Object.prototype.hasOwnProperty.call(ce,We)&&me.indexOf(We)<0&&(Be[We]=ce[We]);if(ce!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Qe=0,We=Object.getOwnPropertySymbols(ce);Qe<We.length;Qe++)me.indexOf(We[Qe])<0&&Object.prototype.propertyIsEnumerable.call(ce,We[Qe])&&(Be[We[Qe]]=ce[We[Qe]]);return Be};const bl=10;function Xl(ce,me){const Be={current:ce.current,pageSize:ce.pageSize};return Object.keys(me&&typeof me=="object"?me:{}).forEach(Qe=>{const it=ce[Qe];typeof it!="function"&&(Be[Qe]=it)}),Be}function qi(ce,me,Be){const We=Be&&typeof Be=="object"?Be:{},{total:Qe=0}=We,it=cl(We,["total"]),[Pt,Ot]=(0,se.useState)(()=>({current:"defaultCurrent"in it?it.defaultCurrent:1,pageSize:"defaultPageSize"in it?it.defaultPageSize:bl})),Mt=(0,Vi.Z)(Pt,it,{total:Qe>0?Qe:ce}),tn=Math.ceil((Qe||ce)/Mt.pageSize);Mt.current>tn&&(Mt.current=tn||1);const Pn=(Un,Vn)=>{Ot({current:Un!=null?Un:1,pageSize:Vn||Mt.pageSize})},sn=(Un,Vn)=>{var ta;Be&&((ta=Be.onChange)===null||ta===void 0||ta.call(Be,Un,Vn)),Pn(Un,Vn),me(Un,Vn||(Mt==null?void 0:Mt.pageSize))};return Be===!1?[{},()=>{}]:[Object.assign(Object.assign({},Mt),{onChange:sn}),Pn]}var vi=qi,wl=z(42922),Il=z(29873),al=z(97153),si=z(83898),ji=z(5663);const Ho={},Zl="SELECT_ALL",Ri="SELECT_INVERT",Gl="SELECT_NONE",vu=[],$l=(ce,me)=>{let Be=[];return(me||[]).forEach(We=>{Be.push(We),We&&typeof We=="object"&&ce in We&&(Be=[].concat((0,Yr.Z)(Be),(0,Yr.Z)($l(ce,We[ce]))))}),Be};var Ou=(ce,me)=>{const{preserveSelectedRowKeys:Be,selectedRowKeys:We,defaultSelectedRowKeys:Qe,getCheckboxProps:it,onChange:Pt,onSelect:Ot,onSelectAll:Mt,onSelectInvert:tn,onSelectNone:Pn,onSelectMultiple:sn,columnWidth:Un,type:Vn,selections:ta,fixed:Ra,renderCell:wa,hideSelectAll:Ka,checkStrictly:Ba=!0}=me||{},{prefixCls:qa,data:Fr,pageData:Zr,getRecordByKey:Cr,getRowKey:uo,expandType:Ao,childrenColumnName:fr,locale:Pr,getPopupContainer:or}=ce,[$a,Er]=(0,ji.Z)(We||Qe||vu,{value:We}),Tr=se.useRef(new Map),co=(0,se.useCallback)(vr=>{if(Be){const zr=new Map;vr.forEach(Kr=>{let Rr=Cr(Kr);!Rr&&Tr.current.has(Kr)&&(Rr=Tr.current.get(Kr)),zr.set(Kr,Rr)}),Tr.current=zr}},[Cr,Be]);se.useEffect(()=>{co($a)},[$a]);const{keyEntities:Eo}=(0,se.useMemo)(()=>{if(Ba)return{keyEntities:null};let vr=Fr;if(Be){const zr=new Set(Fr.map((Rr,gi)=>uo(Rr,gi))),Kr=Array.from(Tr.current).reduce((Rr,gi)=>{let[Xr,To]=gi;return zr.has(Xr)?Rr:Rr.concat(To)},[]);vr=[].concat((0,Yr.Z)(vr),(0,Yr.Z)(Kr))}return(0,si.I8)(vr,{externalGetKey:uo,childrenPropName:fr})},[Fr,uo,Ba,fr,Be]),Ir=(0,se.useMemo)(()=>$l(fr,Zr),[fr,Zr]),Io=(0,se.useMemo)(()=>{const vr=new Map;return Ir.forEach((zr,Kr)=>{const Rr=uo(zr,Kr),gi=(it?it(zr):null)||{};vr.set(Rr,gi)}),vr},[Ir,uo,it]),jo=(0,se.useCallback)(vr=>{var zr;return!!(!((zr=Io.get(uo(vr)))===null||zr===void 0)&&zr.disabled)},[Io,uo]),[Di,di]=(0,se.useMemo)(()=>{if(Ba)return[$a||[],[]];const{checkedKeys:vr,halfCheckedKeys:zr}=(0,al.S)($a,!0,Eo,jo);return[vr||[],zr]},[$a,Ba,Eo,jo]),pl=(0,se.useMemo)(()=>{const vr=Vn==="radio"?Di.slice(0,1):Di;return new Set(vr)},[Di,Vn]),Sl=(0,se.useMemo)(()=>Vn==="radio"?new Set:new Set(di),[di,Vn]),[Mo,Nl]=(0,se.useState)(null);se.useEffect(()=>{me||Er(vu)},[!!me]);const Va=(0,se.useCallback)((vr,zr)=>{let Kr,Rr;co(vr),Be?(Kr=vr,Rr=vr.map(gi=>Tr.current.get(gi))):(Kr=[],Rr=[],vr.forEach(gi=>{const Xr=Cr(gi);Xr!==void 0&&(Kr.push(gi),Rr.push(Xr))})),Er(Kr),Pt==null||Pt(Kr,Rr,{type:zr})},[Er,Cr,Pt,Be]),_r=(0,se.useCallback)((vr,zr,Kr,Rr)=>{if(Ot){const gi=Kr.map(Xr=>Cr(Xr));Ot(Cr(vr),zr,gi,Rr)}Va(Kr,"single")},[Ot,Cr,Va]),Ko=(0,se.useMemo)(()=>!ta||Ka?null:(ta===!0?[Zl,Ri,Gl]:ta).map(zr=>zr===Zl?{key:"all",text:Pr.selectionAll,onSelect(){Va(Fr.map((Kr,Rr)=>uo(Kr,Rr)).filter(Kr=>{const Rr=Io.get(Kr);return!(Rr!=null&&Rr.disabled)||pl.has(Kr)}),"all")}}:zr===Ri?{key:"invert",text:Pr.selectInvert,onSelect(){const Kr=new Set(pl);Zr.forEach((gi,Xr)=>{const To=uo(gi,Xr),bi=Io.get(To);bi!=null&&bi.disabled||(Kr.has(To)?Kr.delete(To):Kr.add(To))});const Rr=Array.from(Kr);tn&&tn(Rr),Va(Rr,"invert")}}:zr===Gl?{key:"none",text:Pr.selectNone,onSelect(){Pn==null||Pn(),Va(Array.from(pl).filter(Kr=>{const Rr=Io.get(Kr);return Rr==null?void 0:Rr.disabled}),"none")}}:zr).map(zr=>Object.assign(Object.assign({},zr),{onSelect:function(){for(var Kr,Rr,gi=arguments.length,Xr=new Array(gi),To=0;To<gi;To++)Xr[To]=arguments[To];(Rr=zr.onSelect)===null||Rr===void 0||(Kr=Rr).call.apply(Kr,[zr].concat(Xr)),Nl(null)}})),[ta,pl,Zr,uo,tn,Va]);return[(0,se.useCallback)(vr=>{var zr;if(!me)return vr.filter(Gi=>Gi!==Ho);let Kr=(0,Yr.Z)(vr);const Rr=new Set(pl),gi=Ir.map(uo).filter(Gi=>!Io.get(Gi).disabled),Xr=gi.every(Gi=>Rr.has(Gi)),To=gi.some(Gi=>Rr.has(Gi)),bi=()=>{const Gi=[];Xr?gi.forEach(ae=>{Rr.delete(ae),Gi.push(ae)}):gi.forEach(ae=>{Rr.has(ae)||(Rr.add(ae),Gi.push(ae))});const _i=Array.from(Rr);Mt==null||Mt(!Xr,_i.map(ae=>Cr(ae)),Gi.map(ae=>Cr(ae))),Va(_i,"all"),Nl(null)};let hi;if(Vn!=="radio"){let Gi;if(Ko){const Se={getPopupContainer:or,items:Ko.map((Ae,$e)=>{const{key:_e,text:yt,onSelect:At}=Ae;return{key:_e!=null?_e:$e,onClick:()=>{At==null||At(gi)},label:yt}})};Gi=se.createElement("div",{className:`${qa}-selection-extra`},se.createElement(Nr.Z,{menu:Se,getPopupContainer:or},se.createElement("span",null,se.createElement(wl.Z,null))))}const _i=Ir.map((Se,Ae)=>{const $e=uo(Se,Ae),_e=Io.get($e)||{};return Object.assign({checked:Rr.has($e)},_e)}).filter(Se=>{let{disabled:Ae}=Se;return Ae}),ae=!!_i.length&&_i.length===Ir.length,ie=ae&&_i.every(Se=>{let{checked:Ae}=Se;return Ae}),le=ae&&_i.some(Se=>{let{checked:Ae}=Se;return Ae});hi=!Ka&&se.createElement("div",{className:`${qa}-selection`},se.createElement(Pa.default,{checked:ae?ie:!!Ir.length&&Xr,indeterminate:ae?!ie&&le:!Xr&&To,onChange:bi,disabled:Ir.length===0||ae,"aria-label":Gi?"Custom selection":"Select all",skipGroup:!0}),Gi)}let Lu;Vn==="radio"?Lu=(Gi,_i,ae)=>{const ie=uo(_i,ae),le=Rr.has(ie);return{node:se.createElement(lo.ZP,Object.assign({},Io.get(ie),{checked:le,onClick:Se=>Se.stopPropagation(),onChange:Se=>{Rr.has(ie)||_r(ie,!0,[ie],Se.nativeEvent)}})),checked:le}}:Lu=(Gi,_i,ae)=>{var ie;const le=uo(_i,ae),Se=Rr.has(le),Ae=Sl.has(le),$e=Io.get(le);let _e;return Ao==="nest"?_e=Ae:_e=(ie=$e==null?void 0:$e.indeterminate)!==null&&ie!==void 0?ie:Ae,{node:se.createElement(Pa.default,Object.assign({},$e,{indeterminate:_e,checked:Se,skipGroup:!0,onClick:yt=>yt.stopPropagation(),onChange:yt=>{let{nativeEvent:At}=yt;const{shiftKey:Wt}=At;let An=-1,$t=-1;if(Wt&&Ba){const qt=new Set([Mo,le]);gi.some((nn,cn)=>{if(qt.has(nn))if(An===-1)An=cn;else return $t=cn,!0;return!1})}if($t!==-1&&An!==$t&&Ba){const qt=gi.slice(An,$t+1),nn=[];Se?qt.forEach(It=>{Rr.has(It)&&(nn.push(It),Rr.delete(It))}):qt.forEach(It=>{Rr.has(It)||(nn.push(It),Rr.add(It))});const cn=Array.from(Rr);sn==null||sn(!Se,cn.map(It=>Cr(It)),nn.map(It=>Cr(It))),Va(cn,"multiple")}else{const qt=Di;if(Ba){const nn=Se?(0,Il._5)(qt,le):(0,Il.L0)(qt,le);_r(le,!Se,nn,At)}else{const nn=(0,al.S)([].concat((0,Yr.Z)(qt),[le]),!0,Eo,jo),{checkedKeys:cn,halfCheckedKeys:It}=nn;let un=cn;if(Se){const Zn=new Set(cn);Zn.delete(le),un=(0,al.S)(Array.from(Zn),{checked:!1,halfCheckedKeys:It},Eo,jo).checkedKeys}_r(le,!Se,un,At)}}Nl(Se?null:le)}})),checked:Se}};const Pu=(Gi,_i,ae)=>{const{node:ie,checked:le}=Lu(Gi,_i,ae);return wa?wa(le,_i,ae,ie):ie};if(!Kr.includes(Ho))if(Kr.findIndex(Gi=>{var _i;return((_i=Gi[no])===null||_i===void 0?void 0:_i.columnType)==="EXPAND_COLUMN"})===0){const[Gi,..._i]=Kr;Kr=[Gi,Ho].concat((0,Yr.Z)(_i))}else Kr=[Ho].concat((0,Yr.Z)(Kr));const vs=Kr.indexOf(Ho);Kr=Kr.filter((Gi,_i)=>Gi!==Ho||_i===vs);const Jl=Kr[vs-1],ts=Kr[vs+1];let Dl=Ra;Dl===void 0&&((ts==null?void 0:ts.fixed)!==void 0?Dl=ts.fixed:(Jl==null?void 0:Jl.fixed)!==void 0&&(Dl=Jl.fixed)),Dl&&Jl&&((zr=Jl[no])===null||zr===void 0?void 0:zr.columnType)==="EXPAND_COLUMN"&&Jl.fixed===void 0&&(Jl.fixed=Dl);const Tu=Re()(`${qa}-selection-col`,{[`${qa}-selection-col-with-dropdown`]:ta&&Vn==="checkbox"}),Gs={fixed:Dl,width:Un,className:`${qa}-selection-column`,title:me.columnTitle||hi,render:Pu,onCell:me.onCell,[no]:{className:Tu}};return Kr.map(Gi=>Gi===Ho?Gs:Gi)},[uo,Ir,me,Di,pl,Sl,Un,Ko,Ao,Mo,Io,sn,_r,jo]),pl]},ki=z(33463),Du=z(28575),Ml=z(83062);const Ki="ascend",gl="descend";function hu(ce){return typeof ce.sorter=="object"&&typeof ce.sorter.multiple=="number"?ce.sorter.multiple:!1}function zu(ce){return typeof ce=="function"?ce:ce&&typeof ce=="object"&&ce.compare?ce.compare:!1}function $u(ce,me){return me?ce[ce.indexOf(me)+1]:ce[0]}function su(ce,me,Be){let We=[];function Qe(it,Pt){We.push({column:it,key:ja(it,Pt),multiplePriority:hu(it),sortOrder:it.sortOrder})}return(ce||[]).forEach((it,Pt)=>{const Ot=Wn(Pt,Be);it.children?("sortOrder"in it&&Qe(it,Ot),We=[].concat((0,Yr.Z)(We),(0,Yr.Z)(su(it.children,me,Ot)))):it.sorter&&("sortOrder"in it?Qe(it,Ot):me&&it.defaultSortOrder&&We.push({column:it,key:ja(it,Ot),multiplePriority:hu(it),sortOrder:it.defaultSortOrder}))}),We}function Tl(ce,me,Be,We,Qe,it,Pt,Ot){return(me||[]).map((Mt,tn)=>{const Pn=Wn(tn,Ot);let sn=Mt;if(sn.sorter){const Un=sn.sortDirections||Qe,Vn=sn.showSorterTooltip===void 0?Pt:sn.showSorterTooltip,ta=ja(sn,Pn),Ra=Be.find(Ao=>{let{key:fr}=Ao;return fr===ta}),wa=Ra?Ra.sortOrder:null,Ka=$u(Un,wa);let Ba;if(Mt.sortIcon)Ba=Mt.sortIcon({sortOrder:wa});else{const Ao=Un.includes(Ki)&&se.createElement(Du.Z,{className:Re()(`${ce}-column-sorter-up`,{active:wa===Ki})}),fr=Un.includes(gl)&&se.createElement(ki.Z,{className:Re()(`${ce}-column-sorter-down`,{active:wa===gl})});Ba=se.createElement("span",{className:Re()(`${ce}-column-sorter`,{[`${ce}-column-sorter-full`]:!!(Ao&&fr)})},se.createElement("span",{className:`${ce}-column-sorter-inner`,"aria-hidden":"true"},Ao,fr))}const{cancelSort:qa,triggerAsc:Fr,triggerDesc:Zr}=it||{};let Cr=qa;Ka===gl?Cr=Zr:Ka===Ki&&(Cr=Fr);const uo=typeof Vn=="object"?Vn:{title:Cr};sn=Object.assign(Object.assign({},sn),{className:Re()(sn.className,{[`${ce}-column-sort`]:wa}),title:Ao=>{const fr=se.createElement("div",{className:`${ce}-column-sorters`},se.createElement("span",{className:`${ce}-column-title`},Bo(Mt.title,Ao)),Ba);return Vn?se.createElement(Ml.Z,Object.assign({},uo),fr):fr},onHeaderCell:Ao=>{const fr=Mt.onHeaderCell&&Mt.onHeaderCell(Ao)||{},Pr=fr.onClick,or=fr.onKeyDown;fr.onClick=Tr=>{We({column:Mt,key:ta,sortOrder:Ka,multiplePriority:hu(Mt)}),Pr==null||Pr(Tr)},fr.onKeyDown=Tr=>{Tr.keyCode===pn.Z.ENTER&&(We({column:Mt,key:ta,sortOrder:Ka,multiplePriority:hu(Mt)}),or==null||or(Tr))};const $a=to(Mt.title,{}),Er=$a==null?void 0:$a.toString();return wa?fr["aria-sort"]=wa==="ascend"?"ascending":"descending":fr["aria-label"]=Er||"",fr.className=Re()(fr.className,`${ce}-column-has-sorters`),fr.tabIndex=0,Mt.ellipsis&&(fr.title=($a!=null?$a:"").toString()),fr}})}return"children"in sn&&(sn=Object.assign(Object.assign({},sn),{children:Tl(ce,sn.children,Be,We,Qe,it,Pt,Pn)})),sn})}function wu(ce){const{column:me,sortOrder:Be}=ce;return{column:me,order:Be,field:me.dataIndex,columnKey:me.key}}function Ql(ce){const me=ce.filter(Be=>{let{sortOrder:We}=Be;return We}).map(wu);return me.length===0&&ce.length?Object.assign(Object.assign({},wu(ce[ce.length-1])),{column:void 0}):me.length<=1?me[0]||{}:me}function Yi(ce,me,Be){const We=me.slice().sort((Pt,Ot)=>Ot.multiplePriority-Pt.multiplePriority),Qe=ce.slice(),it=We.filter(Pt=>{let{column:{sorter:Ot},sortOrder:Mt}=Pt;return zu(Ot)&&Mt});return it.length?Qe.sort((Pt,Ot)=>{for(let Mt=0;Mt<it.length;Mt+=1){const tn=it[Mt],{column:{sorter:Pn},sortOrder:sn}=tn,Un=zu(Pn);if(Un&&sn){const Vn=Un(Pt,Ot,sn);if(Vn!==0)return sn===Ki?Vn:-Vn}}return 0}).map(Pt=>{const Ot=Pt[Be];return Ot?Object.assign(Object.assign({},Pt),{[Be]:Yi(Ot,me,Be)}):Pt}):Qe}function Lo(ce){let{prefixCls:me,mergedColumns:Be,onSorterChange:We,sortDirections:Qe,tableLocale:it,showSorterTooltip:Pt}=ce;const[Ot,Mt]=se.useState(su(Be,!0)),tn=se.useMemo(()=>{let ta=!0;const Ra=su(Be,!1);if(!Ra.length)return Ot;const wa=[];function Ka(qa){ta?wa.push(qa):wa.push(Object.assign(Object.assign({},qa),{sortOrder:null}))}let Ba=null;return Ra.forEach(qa=>{Ba===null?(Ka(qa),qa.sortOrder&&(qa.multiplePriority===!1?ta=!1:Ba=!0)):(Ba&&qa.multiplePriority!==!1||(ta=!1),Ka(qa))}),wa},[Be,Ot]),Pn=se.useMemo(()=>{const ta=tn.map(Ra=>{let{column:wa,sortOrder:Ka}=Ra;return{column:wa,order:Ka}});return{sortColumns:ta,sortColumn:ta[0]&&ta[0].column,sortOrder:ta[0]&&ta[0].order}},[tn]);function sn(ta){let Ra;ta.multiplePriority===!1||!tn.length||tn[0].multiplePriority===!1?Ra=[ta]:Ra=[].concat((0,Yr.Z)(tn.filter(wa=>{let{key:Ka}=wa;return Ka!==ta.key})),[ta]),Mt(Ra),We(Ql(Ra),Ra)}return[ta=>Tl(me,ta,tn,sn,Qe,it,Pt),tn,Pn,()=>Ql(tn)]}function zl(ce,me){return ce.map(Be=>{const We=Object.assign({},Be);return We.title=Bo(Be.title,me),"children"in We&&(We.children=zl(We.children,me)),We})}function Bu(ce){return[se.useCallback(Be=>zl(Be,ce),[ce])]}var Qu=Ji((ce,me)=>{const{_renderTimes:Be}=ce,{_renderTimes:We}=me;return Be!==We}),ls=hr((ce,me)=>{const{_renderTimes:Be}=ce,{_renderTimes:We}=me;return Be!==We}),Ku=z(84780),ys=z(14747),Ts=z(67968),Ju=z(45503),Gu=ce=>{const{componentCls:me}=ce,Be=`${ce.lineWidth}px ${ce.lineType} ${ce.tableBorderColor}`,We=(Qe,it,Pt)=>({[`&${me}-${Qe}`]:{[`> ${me}-container`]:{[`> ${me}-content, > ${me}-body`]:{"\n > table > tbody > tr > th,\n > table > tbody > tr > td\n ":{[`> ${me}-expanded-row-fixed`]:{margin:`-${it}px -${Pt+ce.lineWidth}px`}}}}}});return{[`${me}-wrapper`]:{[`${me}${me}-bordered`]:Object.assign(Object.assign(Object.assign({[`> ${me}-title`]:{border:Be,borderBottom:0},[`> ${me}-container`]:{borderInlineStart:Be,borderTop:Be,[`
|
|
> ${me}-content,
|
|
> ${me}-header,
|
|
> ${me}-body,
|
|
> ${me}-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:Be},"> thead":{"> tr:not(:last-child) > th":{borderBottom:Be},"> tr > th::before":{backgroundColor:"transparent !important"}},"\n > thead > tr,\n > tbody > tr,\n > tfoot > tr\n ":{[`> ${me}-cell-fix-right-first::after`]:{borderInlineEnd:Be}},"\n > tbody > tr > th,\n > tbody > tr > td\n ":{[`> ${me}-expanded-row-fixed`]:{margin:`-${ce.tablePaddingVertical}px -${ce.tablePaddingHorizontal+ce.lineWidth}px`,"&::after":{position:"absolute",top:0,insetInlineEnd:ce.lineWidth,bottom:0,borderInlineEnd:Be,content:'""'}}}}}},[`&${me}-scroll-horizontal`]:{[`> ${me}-container > ${me}-body`]:{"> table > tbody":{[`
|
|
> tr${me}-expanded-row,
|
|
> tr${me}-placeholder
|
|
`]:{"> th, > td":{borderInlineEnd:0}}}}}},We("middle",ce.tablePaddingVerticalMiddle,ce.tablePaddingHorizontalMiddle)),We("small",ce.tablePaddingVerticalSmall,ce.tablePaddingHorizontalSmall)),{[`> ${me}-footer`]:{border:Be,borderTop:0}}),[`${me}-cell`]:{[`${me}-container:first-child`]:{borderTop:0},"&-scrollbar:not([rowspan])":{boxShadow:`0 ${ce.lineWidth}px 0 ${ce.lineWidth}px ${ce.tableHeaderBg}`}},[`${me}-bordered ${me}-cell-scrollbar`]:{borderInlineEnd:Be}}}},Rs=ce=>{const{componentCls:me}=ce;return{[`${me}-wrapper`]:{[`${me}-cell-ellipsis`]:Object.assign(Object.assign({},ys.vS),{wordBreak:"keep-all",[`
|
|
&${me}-cell-fix-left-last,
|
|
&${me}-cell-fix-right-first
|
|
`]:{overflow:"visible",[`${me}-cell-content`]:{display:"block",overflow:"hidden",textOverflow:"ellipsis"}},[`${me}-column-title`]:{overflow:"hidden",textOverflow:"ellipsis",wordBreak:"keep-all"}})}}},Qs=ce=>{const{componentCls:me}=ce;return{[`${me}-wrapper`]:{[`${me}-tbody > tr${me}-placeholder`]:{textAlign:"center",color:ce.colorTextDisabled,"\n &:hover > th,\n &:hover > td,\n ":{background:ce.colorBgContainer}}}}},md=z(49867),Wu=ce=>{const{componentCls:me,antCls:Be,controlInteractiveSize:We,motionDurationSlow:Qe,lineWidth:it,paddingXS:Pt,lineType:Ot,tableBorderColor:Mt,tableExpandIconBg:tn,tableExpandColumnWidth:Pn,borderRadius:sn,fontSize:Un,fontSizeSM:Vn,lineHeight:ta,tablePaddingVertical:Ra,tablePaddingHorizontal:wa,tableExpandedRowBg:Ka,paddingXXS:Ba}=ce,qa=We/2-it,Fr=qa*2+it*3,Zr=`${it}px ${Ot} ${Mt}`,Cr=Ba-it;return{[`${me}-wrapper`]:{[`${me}-expand-icon-col`]:{width:Pn},[`${me}-row-expand-icon-cell`]:{textAlign:"center",[`${me}-row-expand-icon`]:{display:"inline-flex",float:"none",verticalAlign:"sub"}},[`${me}-row-indent`]:{height:1,float:"left"},[`${me}-row-expand-icon`]:Object.assign(Object.assign({},(0,md.N)(ce)),{position:"relative",float:"left",boxSizing:"border-box",width:Fr,height:Fr,padding:0,color:"inherit",lineHeight:`${Fr}px`,background:tn,border:Zr,borderRadius:sn,transform:`scale(${We/Fr})`,transition:`all ${Qe}`,userSelect:"none","&:focus, &:hover, &:active":{borderColor:"currentcolor"},"&::before, &::after":{position:"absolute",background:"currentcolor",transition:`transform ${Qe} ease-out`,content:'""'},"&::before":{top:qa,insetInlineEnd:Cr,insetInlineStart:Cr,height:it},"&::after":{top:Cr,bottom:Cr,insetInlineStart:qa,width:it,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"}}),[`${me}-row-indent + ${me}-row-expand-icon`]:{marginTop:(Un*ta-it*3)/2-Math.ceil((Vn*1.4-it*3)/2),marginInlineEnd:Pt},[`tr${me}-expanded-row`]:{"&, &:hover":{"> th, > td":{background:Ka}},[`${Be}-descriptions-view`]:{display:"flex",table:{flex:"auto",width:"auto"}}},[`${me}-expanded-row-fixed`]:{position:"relative",margin:`-${Ra}px -${wa}px`,padding:`${Ra}px ${wa}px`}}}},vd=ce=>{const{componentCls:me,antCls:Be,iconCls:We,tableFilterDropdownWidth:Qe,tableFilterDropdownSearchWidth:it,paddingXXS:Pt,paddingXS:Ot,colorText:Mt,lineWidth:tn,lineType:Pn,tableBorderColor:sn,tableHeaderIconColor:Un,fontSizeSM:Vn,tablePaddingHorizontal:ta,borderRadius:Ra,motionDurationSlow:wa,colorTextDescription:Ka,colorPrimary:Ba,tableHeaderFilterActiveBg:qa,colorTextDisabled:Fr,tableFilterDropdownBg:Zr,tableFilterDropdownHeight:Cr,controlItemBgHover:uo,controlItemBgActive:Ao,boxShadowSecondary:fr,filterDropdownMenuBg:Pr}=ce,or=`${Be}-dropdown`,$a=`${me}-filter-dropdown`,Er=`${Be}-tree`,Tr=`${tn}px ${Pn} ${sn}`;return[{[`${me}-wrapper`]:{[`${me}-filter-column`]:{display:"flex",justifyContent:"space-between"},[`${me}-filter-trigger`]:{position:"relative",display:"flex",alignItems:"center",marginBlock:-Pt,marginInline:`${Pt}px ${-ta/2}px`,padding:`0 ${Pt}px`,color:Un,fontSize:Vn,borderRadius:Ra,cursor:"pointer",transition:`all ${wa}`,"&:hover":{color:Ka,background:qa},"&.active":{color:Ba}}}},{[`${Be}-dropdown`]:{[$a]:Object.assign(Object.assign({},(0,ys.Wf)(ce)),{minWidth:Qe,backgroundColor:Zr,borderRadius:Ra,boxShadow:fr,overflow:"hidden",[`${or}-menu`]:{maxHeight:Cr,overflowX:"hidden",border:0,boxShadow:"none",borderRadius:"unset",backgroundColor:Pr,"&:empty::after":{display:"block",padding:`${Ot}px 0`,color:Fr,fontSize:Vn,textAlign:"center",content:'"Not Found"'}},[`${$a}-tree`]:{paddingBlock:`${Ot}px 0`,paddingInline:Ot,[Er]:{padding:0},[`${Er}-treenode ${Er}-node-content-wrapper:hover`]:{backgroundColor:uo},[`${Er}-treenode-checkbox-checked ${Er}-node-content-wrapper`]:{"&, &:hover":{backgroundColor:Ao}}},[`${$a}-search`]:{padding:Ot,borderBottom:Tr,"&-input":{input:{minWidth:it},[We]:{color:Fr}}},[`${$a}-checkall`]:{width:"100%",marginBottom:Pt,marginInlineStart:Pt},[`${$a}-btns`]:{display:"flex",justifyContent:"space-between",padding:`${Ot-tn}px ${Ot}px`,overflow:"hidden",borderTop:Tr}})}},{[`${Be}-dropdown ${$a}, ${$a}-submenu`]:{[`${Be}-checkbox-wrapper + span`]:{paddingInlineStart:Ot,color:Mt},"> ul":{maxHeight:"calc(100vh - 130px)",overflowX:"hidden",overflowY:"auto"}}}]},Iu=ce=>{const{componentCls:me,lineWidth:Be,colorSplit:We,motionDurationSlow:Qe,zIndexTableFixed:it,tableBg:Pt,zIndexTableSticky:Ot}=ce,Mt=We;return{[`${me}-wrapper`]:{[`
|
|
${me}-cell-fix-left,
|
|
${me}-cell-fix-right
|
|
`]:{position:"sticky !important",zIndex:it,background:Pt},[`
|
|
${me}-cell-fix-left-first::after,
|
|
${me}-cell-fix-left-last::after
|
|
`]:{position:"absolute",top:0,right:{_skip_check_:!0,value:0},bottom:-Be,width:30,transform:"translateX(100%)",transition:`box-shadow ${Qe}`,content:'""',pointerEvents:"none"},[`${me}-cell-fix-left-all::after`]:{display:"none"},[`
|
|
${me}-cell-fix-right-first::after,
|
|
${me}-cell-fix-right-last::after
|
|
`]:{position:"absolute",top:0,bottom:-Be,left:{_skip_check_:!0,value:0},width:30,transform:"translateX(-100%)",transition:`box-shadow ${Qe}`,content:'""',pointerEvents:"none"},[`${me}-container`]:{"&::before, &::after":{position:"absolute",top:0,bottom:0,zIndex:Ot+1,width:30,transition:`box-shadow ${Qe}`,content:'""',pointerEvents:"none"},"&::before":{insetInlineStart:0},"&::after":{insetInlineEnd:0}},[`${me}-ping-left`]:{[`&:not(${me}-has-fix-left) ${me}-container`]:{position:"relative","&::before":{boxShadow:`inset 10px 0 8px -8px ${Mt}`}},[`
|
|
${me}-cell-fix-left-first::after,
|
|
${me}-cell-fix-left-last::after
|
|
`]:{boxShadow:`inset 10px 0 8px -8px ${Mt}`},[`${me}-cell-fix-left-last::before`]:{backgroundColor:"transparent !important"}},[`${me}-ping-right`]:{[`&:not(${me}-has-fix-right) ${me}-container`]:{position:"relative","&::after":{boxShadow:`inset -10px 0 8px -8px ${Mt}`}},[`
|
|
${me}-cell-fix-right-first::after,
|
|
${me}-cell-fix-right-last::after
|
|
`]:{boxShadow:`inset -10px 0 8px -8px ${Mt}`}}}}},Es=ce=>{const{componentCls:me,antCls:Be}=ce;return{[`${me}-wrapper`]:{[`${me}-pagination${Be}-pagination`]:{margin:`${ce.margin}px 0`},[`${me}-pagination`]:{display:"flex",flexWrap:"wrap",rowGap:ce.paddingXS,"> *":{flex:"none"},"&-left":{justifyContent:"flex-start"},"&-center":{justifyContent:"center"},"&-right":{justifyContent:"flex-end"}}}}},Wl=ce=>{const{componentCls:me,tableRadius:Be}=ce;return{[`${me}-wrapper`]:{[me]:{[`${me}-title, ${me}-header`]:{borderRadius:`${Be}px ${Be}px 0 0`},[`${me}-title + ${me}-container`]:{borderStartStartRadius:0,borderStartEndRadius:0,[`${me}-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:Be,borderStartEndRadius:Be,"table > thead > tr:first-child":{"> *:first-child":{borderStartStartRadius:Be},"> *:last-child":{borderStartEndRadius:Be}}},"&-footer":{borderRadius:`0 0 ${Be}px ${Be}px`}}}}},Uu=ce=>{const{componentCls:me}=ce;return{[`${me}-wrapper-rtl`]:{direction:"rtl",table:{direction:"rtl"},[`${me}-pagination-left`]:{justifyContent:"flex-end"},[`${me}-pagination-right`]:{justifyContent:"flex-start"},[`${me}-row-expand-icon`]:{float:"right","&::after":{transform:"rotate(-90deg)"},"&-collapsed::before":{transform:"rotate(180deg)"},"&-collapsed::after":{transform:"rotate(0deg)"}},[`${me}-container`]:{"&::before":{insetInlineStart:"unset",insetInlineEnd:0},"&::after":{insetInlineStart:0,insetInlineEnd:"unset"},[`${me}-row-indent`]:{float:"right"}}}}},zs=ce=>{const{componentCls:me,antCls:Be,iconCls:We,fontSizeIcon:Qe,padding:it,paddingXS:Pt,tableHeaderIconColor:Ot,tableHeaderIconColorHover:Mt,tableSelectionColumnWidth:tn}=ce;return{[`${me}-wrapper`]:{[`${me}-selection-col`]:{width:tn,[`&${me}-selection-col-with-dropdown`]:{width:tn+Qe+it/4}},[`${me}-bordered ${me}-selection-col`]:{width:tn+Pt*2,[`&${me}-selection-col-with-dropdown`]:{width:tn+Qe+it/4+Pt*2}},[`
|
|
table tr th${me}-selection-column,
|
|
table tr td${me}-selection-column
|
|
`]:{paddingInlineEnd:ce.paddingXS,paddingInlineStart:ce.paddingXS,textAlign:"center",[`${Be}-radio-wrapper`]:{marginInlineEnd:0}},[`table tr th${me}-selection-column${me}-cell-fix-left`]:{zIndex:ce.zIndexTableFixed+1},[`table tr th${me}-selection-column::after`]:{backgroundColor:"transparent !important"},[`${me}-selection`]:{position:"relative",display:"inline-flex",flexDirection:"column"},[`${me}-selection-extra`]:{position:"absolute",top:0,zIndex:1,cursor:"pointer",transition:`all ${ce.motionDurationSlow}`,marginInlineStart:"100%",paddingInlineStart:`${ce.tablePaddingHorizontal/4}px`,[We]:{color:Ot,fontSize:Qe,verticalAlign:"baseline","&:hover":{color:Mt}}}}}},Ws=ce=>{const{componentCls:me}=ce,Be=(We,Qe,it,Pt)=>({[`${me}${me}-${We}`]:{fontSize:Pt,[`
|
|
${me}-title,
|
|
${me}-footer,
|
|
${me}-cell,
|
|
${me}-thead > tr > th,
|
|
${me}-tbody > tr > th,
|
|
${me}-tbody > tr > td,
|
|
tfoot > tr > th,
|
|
tfoot > tr > td
|
|
`]:{padding:`${Qe}px ${it}px`},[`${me}-filter-trigger`]:{marginInlineEnd:`-${it/2}px`},[`${me}-expanded-row-fixed`]:{margin:`-${Qe}px -${it}px`},[`${me}-tbody`]:{[`${me}-wrapper:only-child ${me}`]:{marginBlock:`-${Qe}px`,marginInline:`${ce.tableExpandColumnWidth-it}px -${it}px`}},[`${me}-selection-column`]:{paddingInlineStart:`${it/4}px`}}});return{[`${me}-wrapper`]:Object.assign(Object.assign({},Be("middle",ce.tablePaddingVerticalMiddle,ce.tablePaddingHorizontalMiddle,ce.tableFontSizeMiddle)),Be("small",ce.tablePaddingVerticalSmall,ce.tablePaddingHorizontalSmall,ce.tableFontSizeSmall))}},Hs=ce=>{const{componentCls:me,marginXXS:Be,fontSizeIcon:We,tableHeaderIconColor:Qe,tableHeaderIconColorHover:it}=ce;return{[`${me}-wrapper`]:{[`${me}-thead th${me}-column-has-sorters`]:{outline:"none",cursor:"pointer",transition:`all ${ce.motionDurationSlow}`,"&:hover":{background:ce.tableHeaderSortHoverBg,"&::before":{backgroundColor:"transparent !important"}},"&:focus-visible":{color:ce.colorPrimary},[`
|
|
&${me}-cell-fix-left:hover,
|
|
&${me}-cell-fix-right:hover
|
|
`]:{background:ce.tableFixedHeaderSortActiveBg}},[`${me}-thead th${me}-column-sort`]:{background:ce.tableHeaderSortBg,"&::before":{backgroundColor:"transparent !important"}},[`td${me}-column-sort`]:{background:ce.tableBodySortBg},[`${me}-column-title`]:{position:"relative",zIndex:1,flex:1},[`${me}-column-sorters`]:{display:"flex",flex:"auto",alignItems:"center",justifyContent:"space-between","&::after":{position:"absolute",inset:0,width:"100%",height:"100%",content:'""'}},[`${me}-column-sorter`]:{marginInlineStart:Be,color:Qe,fontSize:0,transition:`color ${ce.motionDurationSlow}`,"&-inner":{display:"inline-flex",flexDirection:"column",alignItems:"center"},"&-up, &-down":{fontSize:We,"&.active":{color:ce.colorPrimary}},[`${me}-column-sorter-up + ${me}-column-sorter-down`]:{marginTop:"-0.3em"}},[`${me}-column-sorters:hover ${me}-column-sorter`]:{color:it}}}},ms=ce=>{const{componentCls:me,opacityLoading:Be,tableScrollThumbBg:We,tableScrollThumbBgHover:Qe,tableScrollThumbSize:it,tableScrollBg:Pt,zIndexTableSticky:Ot,stickyScrollBarBorderRadius:Mt}=ce,tn=`${ce.lineWidth}px ${ce.lineType} ${ce.tableBorderColor}`;return{[`${me}-wrapper`]:{[`${me}-sticky`]:{"&-holder":{position:"sticky",zIndex:Ot,background:ce.colorBgContainer},"&-scroll":{position:"sticky",bottom:0,height:`${it}px !important`,zIndex:Ot,display:"flex",alignItems:"center",background:Pt,borderTop:tn,opacity:Be,"&:hover":{transformOrigin:"center bottom"},"&-bar":{height:it,backgroundColor:We,borderRadius:Mt,transition:`all ${ce.motionDurationSlow}, transform none`,position:"absolute",bottom:0,"&:hover, &-active":{backgroundColor:Qe}}}}}}},js=ce=>{const{componentCls:me,lineWidth:Be,tableBorderColor:We}=ce,Qe=`${Be}px ${ce.lineType} ${We}`;return{[`${me}-wrapper`]:{[`${me}-summary`]:{position:"relative",zIndex:ce.zIndexTableFixed,background:ce.tableBg,"> tr":{"> th, > td":{borderBottom:Qe}}},[`div${me}-summary`]:{boxShadow:`0 -${Be}px 0 ${We}`}}}},ds=ce=>{const{componentCls:me}=ce,Be=`${ce.lineWidth}px ${ce.lineType} ${ce.tableBorderColor}`,We=`${me}-expanded-row-cell`;return{[`${me}-wrapper`]:{[`${me}-tbody-virtual`]:{[`${me}-row`]:{display:"flex",boxSizing:"border-box",width:"100%"},[`${me}-cell`]:{borderBottom:Be},[`${me}-expanded-row`]:{[`${We}${We}-fixed`]:{position:"sticky",insetInlineStart:0,overflow:"hidden",width:`calc(var(--virtual-width) - ${ce.lineWidth}px)`,borderInlineEnd:"none"}}},[`${me}-bordered`]:{[`${me}-tbody-virtual`]:{"&:after":{content:'""',insetInline:0,bottom:0,borderBottom:Be,position:"absolute"},[`${me}-cell`]:{borderInlineEnd:Be,[`&${me}-cell-fix-right-first:before`]:{content:'""',position:"absolute",insetBlock:0,insetInlineStart:-ce.lineWidth,borderInlineStart:Be}}}}}}};const Cs=ce=>{const{componentCls:me,fontWeightStrong:Be,tablePaddingVertical:We,tablePaddingHorizontal:Qe,lineWidth:it,lineType:Pt,tableBorderColor:Ot,tableFontSize:Mt,tableBg:tn,tableRadius:Pn,tableHeaderTextColor:sn,motionDurationMid:Un,tableHeaderBg:Vn,tableHeaderCellSplitColor:ta,tableRowHoverBg:Ra,tableSelectedRowBg:wa,tableSelectedRowHoverBg:Ka,tableFooterTextColor:Ba,tableFooterBg:qa,paddingContentVerticalLG:Fr}=ce,Zr=`${it}px ${Pt} ${Ot}`;return{[`${me}-wrapper`]:Object.assign(Object.assign({clear:"both",maxWidth:"100%"},(0,ys.dF)()),{[me]:Object.assign(Object.assign({},(0,ys.Wf)(ce)),{fontSize:Mt,background:tn,borderRadius:`${Pn}px ${Pn}px 0 0`}),table:{width:"100%",textAlign:"start",borderRadius:`${Pn}px ${Pn}px 0 0`,borderCollapse:"separate",borderSpacing:0},[`
|
|
${me}-cell,
|
|
${me}-thead > tr > th,
|
|
${me}-tbody > tr > th,
|
|
${me}-tbody > tr > td,
|
|
tfoot > tr > th,
|
|
tfoot > tr > td
|
|
`]:{position:"relative",padding:`${Fr}px ${Qe}px`,overflowWrap:"break-word"},[`${me}-title`]:{padding:`${We}px ${Qe}px`},[`${me}-thead`]:{"\n > tr > th,\n > tr > td\n ":{position:"relative",color:sn,fontWeight:Be,textAlign:"start",background:Vn,borderBottom:Zr,transition:`background ${Un} ease`,"&[colspan]:not([colspan='1'])":{textAlign:"center"},[`&:not(:last-child):not(${me}-selection-column):not(${me}-row-expand-icon-cell):not([colspan])::before`]:{position:"absolute",top:"50%",insetInlineEnd:0,width:1,height:"1.6em",backgroundColor:ta,transform:"translateY(-50%)",transition:`background-color ${Un}`,content:'""'}},"> tr:not(:last-child) > th[colspan]":{borderBottom:0}},[`${me}-tbody`]:{"> tr":{"> th, > td":{transition:`background ${Un}, border-color ${Un}`,borderBottom:Zr,[`
|
|
> ${me}-wrapper:only-child,
|
|
> ${me}-expanded-row-fixed > ${me}-wrapper:only-child
|
|
`]:{[me]:{marginBlock:`-${We}px`,marginInline:`${ce.tableExpandColumnWidth-Qe}px -${Qe}px`,[`${me}-tbody > tr:last-child > td`]:{borderBottom:0,"&:first-child, &:last-child":{borderRadius:0}}}}},"> th":{position:"relative",color:sn,fontWeight:Be,textAlign:"start",background:Vn,borderBottom:Zr,transition:`background ${Un} ease`},[`
|
|
&${me}-row:hover > th,
|
|
&${me}-row:hover > td,
|
|
> th${me}-cell-row-hover,
|
|
> td${me}-cell-row-hover
|
|
`]:{background:Ra},[`&${me}-row-selected`]:{"> th, > td":{background:wa},"&:hover > th, &:hover > td":{background:Ka}}}},[`${me}-footer`]:{padding:`${We}px ${Qe}px`,color:Ba,background:qa}})}};var bs=(0,Ts.Z)("Table",ce=>{const{colorTextHeading:me,colorSplit:Be,colorIcon:We,colorIconHover:Qe,opacityLoading:it,colorBgContainer:Pt,controlInteractiveSize:Ot,headerBg:Mt,headerColor:tn,headerSortActiveBg:Pn,headerSortHoverBg:sn,bodySortBg:Un,rowHoverBg:Vn,rowSelectedBg:ta,rowSelectedHoverBg:Ra,rowExpandedBg:wa,cellPaddingBlock:Ka,cellPaddingInline:Ba,cellPaddingBlockMD:qa,cellPaddingInlineMD:Fr,cellPaddingBlockSM:Zr,cellPaddingInlineSM:Cr,borderColor:uo,footerBg:Ao,footerColor:fr,headerBorderRadius:Pr,cellFontSize:or,cellFontSizeMD:$a,cellFontSizeSM:Er,headerSplitColor:Tr,fixedHeaderSortActiveBg:co,headerFilterHoverBg:Eo,filterDropdownBg:Ir,expandIconBg:Io,selectionColumnWidth:jo,stickyScrollBarBg:Di}=ce,di=new Ku.C(We),pl=new Ku.C(Qe),Sl=2,Mo=(0,Ju.TS)(ce,{tableFontSize:or,tableBg:Pt,tableRadius:Pr,tablePaddingVertical:Ka,tablePaddingHorizontal:Ba,tablePaddingVerticalMiddle:qa,tablePaddingHorizontalMiddle:Fr,tablePaddingVerticalSmall:Zr,tablePaddingHorizontalSmall:Cr,tableBorderColor:uo,tableHeaderTextColor:tn,tableHeaderBg:Mt,tableFooterTextColor:fr,tableFooterBg:Ao,tableHeaderCellSplitColor:Tr,tableHeaderSortBg:Pn,tableHeaderSortHoverBg:sn,tableHeaderIconColor:di.clone().setAlpha(di.getAlpha()*it).toRgbString(),tableHeaderIconColorHover:pl.clone().setAlpha(pl.getAlpha()*it).toRgbString(),tableBodySortBg:Un,tableFixedHeaderSortActiveBg:co,tableHeaderFilterActiveBg:Eo,tableFilterDropdownBg:Ir,tableRowHoverBg:Vn,tableSelectedRowBg:ta,tableSelectedRowHoverBg:Ra,zIndexTableFixed:Sl,zIndexTableSticky:Sl+1,tableFontSizeMiddle:$a,tableFontSizeSmall:Er,tableSelectionColumnWidth:jo,tableExpandIconBg:Io,tableExpandColumnWidth:Ot+2*ce.padding,tableExpandedRowBg:wa,tableFilterDropdownWidth:120,tableFilterDropdownHeight:264,tableFilterDropdownSearchWidth:140,tableScrollThumbSize:8,tableScrollThumbBg:Di,tableScrollThumbBgHover:me,tableScrollBg:Be});return[Cs(Mo),Es(Mo),js(Mo),Hs(Mo),vd(Mo),Gu(Mo),Wl(Mo),Wu(Mo),js(Mo),Qs(Mo),zs(Mo),Iu(Mo),ms(Mo),Rs(Mo),Ws(Mo),Uu(Mo),ds(Mo)]},ce=>{const{colorFillAlter:me,colorBgContainer:Be,colorTextHeading:We,colorFillSecondary:Qe,colorFillContent:it,controlItemBgActive:Pt,controlItemBgActiveHover:Ot,padding:Mt,paddingSM:tn,paddingXS:Pn,colorBorderSecondary:sn,borderRadiusLG:Un,fontSize:Vn,controlHeight:ta,colorTextPlaceholder:Ra}=ce,wa=new Ku.C(Qe).onBackground(Be).toHexShortString(),Ka=new Ku.C(it).onBackground(Be).toHexShortString(),Ba=new Ku.C(me).onBackground(Be).toHexShortString();return{headerBg:Ba,headerColor:We,headerSortActiveBg:wa,headerSortHoverBg:Ka,bodySortBg:Ba,rowHoverBg:Ba,rowSelectedBg:Pt,rowSelectedHoverBg:Ot,rowExpandedBg:me,cellPaddingBlock:Mt,cellPaddingInline:Mt,cellPaddingBlockMD:tn,cellPaddingInlineMD:Pn,cellPaddingBlockSM:Pn,cellPaddingInlineSM:Pn,borderColor:sn,headerBorderRadius:Un,footerBg:Ba,footerColor:We,cellFontSize:Vn,cellFontSizeMD:Vn,cellFontSizeSM:Vn,headerSplitColor:sn,fixedHeaderSortActiveBg:wa,headerFilterHoverBg:it,filterDropdownMenuBg:Be,filterDropdownBg:Be,expandIconBg:Be,selectionColumnWidth:ta,stickyScrollBarBg:Ra,stickyScrollBarBorderRadius:100}});const ws=[],Ks=(ce,me)=>{const{prefixCls:Be,className:We,rootClassName:Qe,style:it,size:Pt,bordered:Ot,dropdownPrefixCls:Mt,dataSource:tn,pagination:Pn,rowSelection:sn,rowKey:Un="key",rowClassName:Vn,columns:ta,children:Ra,childrenColumnName:wa,onChange:Ka,getPopupContainer:Ba,loading:qa,expandIcon:Fr,expandable:Zr,expandedRowRender:Cr,expandIconColumnIndex:uo,indentSize:Ao,scroll:fr,sortDirections:Pr,locale:or,showSorterTooltip:$a=!0,virtual:Er}=ce,Tr=se.useMemo(()=>ta||lr(Ra),[ta,Ra]),co=se.useMemo(()=>Tr.some(Kn=>Kn.responsive),[Tr]),Eo=(0,Oa.Z)(co),Ir=se.useMemo(()=>{const Kn=new Set(Object.keys(Eo).filter(_n=>Eo[_n]));return Tr.filter(_n=>!_n.responsive||_n.responsive.some(Sr=>Kn.has(Sr)))},[Tr,Eo]),Io=(0,ba.Z)(ce,["className","style","columns"]),{locale:jo=Wo.Z,direction:Di,table:di,renderEmpty:pl,getPrefixCls:Sl,getPopupContainer:Mo}=se.useContext(mo.E_),Nl=(0,Ua.Z)(Pt),Va=Object.assign(Object.assign({},jo.Table),or),_r=tn||ws,Ko=Sl("table",Be),Zi=Sl("dropdown",Mt),vr=Object.assign({childrenColumnName:wa,expandIconColumnIndex:uo},Zr),{childrenColumnName:zr="children"}=vr,Kr=se.useMemo(()=>_r.some(Kn=>Kn==null?void 0:Kn[zr])?"nest":Cr||Zr&&Zr.expandedRowRender?"row":null,[_r]),Rr={body:se.useRef()},gi=se.useMemo(()=>typeof Un=="function"?Un:Kn=>Kn==null?void 0:Kn[Un],[Un]),[Xr]=dl(_r,zr,gi),To={},bi=function(Kn,_n){let Sr=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;var Ya,yr,ur;const Gr=Object.assign(Object.assign({},To),Kn);Sr&&((Ya=To.resetPagination)===null||Ya===void 0||Ya.call(To),!((yr=Gr.pagination)===null||yr===void 0)&&yr.current&&(Gr.pagination.current=1),Pn&&Pn.onChange&&Pn.onChange(1,(ur=Gr.pagination)===null||ur===void 0?void 0:ur.pageSize)),fr&&fr.scrollToFirstRowOnChange!==!1&&Rr.body.current&&(0,sa.Z)(0,{getContainer:()=>Rr.body.current}),Ka==null||Ka(Gr.pagination,Gr.filters,Gr.sorter,{currentDataSource:mi(Yi(_r,Gr.sorterStates,zr),Gr.filterStates),action:_n})},hi=(Kn,_n)=>{bi({sorter:Kn,sorterStates:_n},"sort",!1)},[Lu,Pu,vs,Jl]=Lo({prefixCls:Ko,mergedColumns:Ir,onSorterChange:hi,sortDirections:Pr||["ascend","descend"],tableLocale:Va,showSorterTooltip:$a}),ts=se.useMemo(()=>Yi(_r,Pu,zr),[_r,Pu]);To.sorter=Jl(),To.sorterStates=Pu;const Dl=(Kn,_n)=>{bi({filters:Kn,filterStates:_n},"filter",!0)},[Tu,Gs,Gi]=jr({prefixCls:Ko,locale:Va,dropdownPrefixCls:Zi,mergedColumns:Ir,onFilterChange:Dl,getPopupContainer:Ba||Mo}),_i=mi(ts,Gs);To.filters=Gi,To.filterStates=Gs;const ae=se.useMemo(()=>{const Kn={};return Object.keys(Gi).forEach(_n=>{Gi[_n]!==null&&(Kn[_n]=Gi[_n])}),Object.assign(Object.assign({},vs),{filters:Kn})},[vs,Gi]),[ie]=Bu(ae),le=(Kn,_n)=>{bi({pagination:Object.assign(Object.assign({},To.pagination),{current:Kn,pageSize:_n})},"paginate")},[Se,Ae]=vi(_i.length,le,Pn);To.pagination=Pn===!1?{}:Xl(Se,Pn),To.resetPagination=Ae;const $e=se.useMemo(()=>{if(Pn===!1||!Se.pageSize)return _i;const{current:Kn=1,total:_n,pageSize:Sr=bl}=Se;return _i.length<_n?_i.length>Sr?_i.slice((Kn-1)*Sr,Kn*Sr):_i:_i.slice((Kn-1)*Sr,Kn*Sr)},[!!Pn,_i,Se&&Se.current,Se&&Se.pageSize,Se&&Se.total]),[_e,yt]=Ou({prefixCls:Ko,data:_i,pageData:$e,getRowKey:gi,getRecordByKey:Xr,expandType:Kr,childrenColumnName:zr,locale:Va,getPopupContainer:Ba||Mo},sn),At=(Kn,_n,Sr)=>{let Ya;return typeof Vn=="function"?Ya=Re()(Vn(Kn,_n,Sr)):Ya=Re()(Vn),Re()({[`${Ko}-row-selected`]:yt.has(gi(Kn,_n))},Ya)};vr.__PARENT_RENDER_ICON__=vr.expandIcon,vr.expandIcon=vr.expandIcon||Fr||Nn(Va),Kr==="nest"&&vr.expandIconColumnIndex===void 0?vr.expandIconColumnIndex=sn?1:0:vr.expandIconColumnIndex>0&&sn&&(vr.expandIconColumnIndex-=1),typeof vr.indentSize!="number"&&(vr.indentSize=typeof Ao=="number"?Ao:15);const Wt=se.useCallback(Kn=>ie(_e(Tu(Lu(Kn)))),[Lu,Tu,_e]);let An,$t;if(Pn!==!1&&(Se!=null&&Se.total)){let Kn;Se.size?Kn=Se.size:Kn=Nl==="small"||Nl==="middle"?"small":void 0;const _n=yr=>se.createElement(Fl.Z,Object.assign({},Se,{className:Re()(`${Ko}-pagination ${Ko}-pagination-${yr}`,Se.className),size:Kn})),Sr=Di==="rtl"?"left":"right",{position:Ya}=Se;if(Ya!==null&&Array.isArray(Ya)){const yr=Ya.find(Co=>Co.includes("top")),ur=Ya.find(Co=>Co.includes("bottom")),Gr=Ya.every(Co=>`${Co}`=="none");!yr&&!ur&&!Gr&&($t=_n(Sr)),yr&&(An=_n(yr.toLowerCase().replace("top",""))),ur&&($t=_n(ur.toLowerCase().replace("bottom","")))}else $t=_n(Sr)}let qt;typeof qa=="boolean"?qt={spinning:qa}:typeof qa=="object"&&(qt=Object.assign({spinning:!0},qa));const[nn,cn]=bs(Ko),[,It]=(0,Da.Z)(),un=Re()(`${Ko}-wrapper`,di==null?void 0:di.className,{[`${Ko}-wrapper-rtl`]:Di==="rtl"},We,Qe,cn),Zn=Object.assign(Object.assign({},di==null?void 0:di.style),it),Ea=or&&or.emptyText||(pl==null?void 0:pl("Table"))||se.createElement(nl.Z,{componentName:"Table"}),Jn=Er?ls:Qu,Yn={},Ha=se.useMemo(()=>{const{fontSize:Kn,lineHeight:_n,padding:Sr,paddingXS:Ya,paddingSM:yr}=It,ur=Math.floor(Kn*_n);switch(Nl){case"large":return Sr*2+ur;case"small":return Ya*2+ur;default:return yr*2+ur}},[It,Nl]);return Er&&(Yn.listItemHeight=Ha),nn(se.createElement("div",{ref:me,className:un,style:Zn},se.createElement(ia.Z,Object.assign({spinning:!1},qt),An,se.createElement(Jn,Object.assign({},Yn,Io,{columns:Ir,direction:Di,expandable:vr,prefixCls:Ko,className:Re()({[`${Ko}-middle`]:Nl==="middle",[`${Ko}-small`]:Nl==="small",[`${Ko}-bordered`]:Ot,[`${Ko}-empty`]:_r.length===0}),data:$e,rowKey:gi,rowClassName:At,emptyText:Ea,internalHooks:ge,internalRefs:Rr,transformColumns:Wt})),$t)))};var nd=se.forwardRef(Ks);const as=(ce,me)=>{const Be=se.useRef(0);return Be.current+=1,se.createElement(nd,Object.assign({},ce,{ref:me,_renderTimes:Be.current}))},Vu=se.forwardRef(as);Vu.SELECTION_COLUMN=Ho,Vu.EXPAND_COLUMN=x,Vu.SELECTION_ALL=Zl,Vu.SELECTION_INVERT=Ri,Vu.SELECTION_NONE=Gl,Vu.Column=$o,Vu.ColumnGroup=oi,Vu.Summary=ot;var Hu=Vu,xs=Hu},79870:function(mt,st,z){"use strict";z.d(st,{default:function(){return Po}});var x=z(87462),ge=z(4942),he=z(71002),Fe=z(1413),we=z(74902),ze=z(15671),se=z(43144),je=z(97326),Te=z(60136),Le=z(51630),Ke=z(94184),De=z.n(Ke),ve={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(ye){var ke=ye.keyCode;if(ye.altKey&&!ye.ctrlKey||ye.metaKey||ke>=ve.F1&&ke<=ve.F12)return!1;switch(ke){case ve.ALT:case ve.CAPS_LOCK:case ve.CONTEXT_MENU:case ve.CTRL:case ve.DOWN:case ve.END:case ve.ESC:case ve.HOME:case ve.INSERT:case ve.LEFT:case ve.MAC_FF_META:case ve.META:case ve.NUMLOCK:case ve.NUM_CENTER:case ve.PAGE_DOWN:case ve.PAGE_UP:case ve.PAUSE:case ve.PRINT_SCREEN:case ve.RIGHT:case ve.SHIFT:case ve.UP:case ve.WIN_KEY:case ve.WIN_KEY_RIGHT:return!1;default:return!0}},isCharacterKey:function(ye){if(ye>=ve.ZERO&&ye<=ve.NINE||ye>=ve.NUM_ZERO&&ye<=ve.NUM_MULTIPLY||ye>=ve.A&&ye<=ve.Z||window.navigator.userAgent.indexOf("WebKit")!==-1&&ye===0)return!0;switch(ye){case ve.SPACE:case ve.QUESTION_MARK:case ve.NUM_PLUS:case ve.NUM_MINUS:case ve.NUM_PERIOD:case ve.NUM_DIVISION:case ve.SEMICOLON:case ve.DASH:case ve.EQUALS:case ve.COMMA:case ve.PERIOD:case ve.SLASH:case ve.APOSTROPHE:case ve.SINGLE_QUOTE:case ve.OPEN_SQUARE_BRACKET:case ve.BACKSLASH:case ve.CLOSE_SQUARE_BRACKET:return!0;default:return!1}}},ue=ve,a=z(34952),y=z(72978),b=z(67294),E=z(69610);function ee(fe){var ye=fe.dropPosition,ke=fe.dropLevelOffset,Pe=fe.indent,et={pointerEvents:"none",position:"absolute",right:0,backgroundColor:"red",height:2};switch(ye){case-1:et.top=0,et.left=-ke*Pe;break;case 1:et.bottom=0,et.left=-ke*Pe;break;case 0:et.bottom=0,et.left=Pe;break}return b.createElement("div",{style:et})}var te=z(36459),re=z(97685),oe=z(45987);function ne(){return!!(typeof window!="undefined"&&window.document&&window.document.createElement)}var de=ne()?b.useLayoutEffect:b.useEffect,pe=de,Ee=function(ye,ke){var Pe=React.useRef(!0);de(function(){if(!Pe.current)return ye()},ke),de(function(){return Pe.current=!1,function(){Pe.current=!0}},[])},be=z(73299),xe=z(73935);function Ce(fe){return fe instanceof HTMLElement||fe instanceof SVGElement}function Ne(fe){return Ce(fe)?fe:fe instanceof b.Component?xe.findDOMNode(fe):null}var Re=z(28580);function at(fe,ye,ke){var Pe=React.useRef({});return(!("value"in Pe.current)||ke(Pe.current.condition,ye))&&(Pe.current.value=fe(),Pe.current.condition=ye),Pe.current.value}function Ie(fe,ye){typeof fe=="function"?fe(ye):(0,he.Z)(fe)==="object"&&fe&&"current"in fe&&(fe.current=ye)}function Ue(){for(var fe=arguments.length,ye=new Array(fe),ke=0;ke<fe;ke++)ye[ke]=arguments[ke];var Pe=ye.filter(function(et){return et});return Pe.length<=1?Pe[0]:function(et){ye.forEach(function(ut){Ie(ut,et)})}}function Ge(){for(var fe=arguments.length,ye=new Array(fe),ke=0;ke<fe;ke++)ye[ke]=arguments[ke];return useMemo(function(){return Ue.apply(void 0,ye)},ye,function(Pe,et){return Pe.length===et.length&&Pe.every(function(ut,St){return ut===et[St]})})}function Ve(fe){var ye,ke,Pe=(0,Re.isMemo)(fe)?fe.type.type:fe.type;return!(typeof Pe=="function"&&!((ye=Pe.prototype)!==null&&ye!==void 0&&ye.render)||typeof fe=="function"&&!((ke=fe.prototype)!==null&&ke!==void 0&&ke.render))}function rt(fe,ye){var ke={};return ke[fe.toLowerCase()]=ye.toLowerCase(),ke["Webkit".concat(fe)]="webkit".concat(ye),ke["Moz".concat(fe)]="moz".concat(ye),ke["ms".concat(fe)]="MS".concat(ye),ke["O".concat(fe)]="o".concat(ye.toLowerCase()),ke}function gt(fe,ye){var ke={animationend:rt("Animation","AnimationEnd"),transitionend:rt("Transition","TransitionEnd")};return fe&&("AnimationEvent"in ye||delete ke.animationend.animation,"TransitionEvent"in ye||delete ke.transitionend.transition),ke}var xt=gt(ne(),typeof window!="undefined"?window:{}),Gt={};if(ne()){var yn=document.createElement("div");Gt=yn.style}var lt={};function ht(fe){if(lt[fe])return lt[fe];var ye=xt[fe];if(ye)for(var ke=Object.keys(ye),Pe=ke.length,et=0;et<Pe;et+=1){var ut=ke[et];if(Object.prototype.hasOwnProperty.call(ye,ut)&&ut in Gt)return lt[fe]=ye[ut],lt[fe]}return""}var Lt=ht("animationend"),zt=ht("transitionend"),dt=!!(Lt&&zt),kt=Lt||"animationend",Ze=zt||"transitionend";function Dn(fe,ye){if(!fe)return null;if((0,he.Z)(fe)==="object"){var ke=ye.replace(/-\w/g,function(Pe){return Pe[1].toUpperCase()});return fe[ke]}return"".concat(fe,"-").concat(ye)}var zn="none",Dt="appear",rn="enter",en="leave",Ht="none",Et="prepare",wn="start",dn="active",Bt="end";function Bn(fe){var ye=b.useRef(!1),ke=b.useState(fe),Pe=(0,re.Z)(ke,2),et=Pe[0],ut=Pe[1];b.useEffect(function(){return ye.current=!1,function(){ye.current=!0}},[]);function St(nt,ct){ct&&ye.current||ut(nt)}return[et,St]}var Yt=function(ye){return+setTimeout(ye,16)},Xt=function(ye){return clearTimeout(ye)};typeof window!="undefined"&&"requestAnimationFrame"in window&&(Yt=function(ye){return window.requestAnimationFrame(ye)},Xt=function(ye){return window.cancelAnimationFrame(ye)});var On=0,bn=new Map;function Je(fe){bn.delete(fe)}var He=function(ye){var ke=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1;On+=1;var Pe=On;function et(ut){if(ut===0)Je(Pe),ye();else{var St=Yt(function(){et(ut-1)});bn.set(Pe,St)}}return et(ke),Pe};He.cancel=function(fe){var ye=bn.get(fe);return Je(ye),Xt(ye)};var Xn=He,Me=function(){var fe=b.useRef(null);function ye(){Xn.cancel(fe.current)}function ke(Pe){var et=arguments.length>1&&arguments[1]!==void 0?arguments[1]:2;ye();var ut=Xn(function(){et<=1?Pe({isCanceled:function(){return ut!==fe.current}}):ke(Pe,et-1)});fe.current=ut}return b.useEffect(function(){return function(){ye()}},[]),[ke,ye]},Xe=ne()?b.useLayoutEffect:b.useEffect,Zt=Xe,ot=[Et,wn,dn,Bt],Ye=!1,bt=!0;function Ut(fe){return fe===dn||fe===Bt}var Nt=function(fe,ye){var ke=Bn(Ht),Pe=(0,re.Z)(ke,2),et=Pe[0],ut=Pe[1],St=Me(),nt=(0,re.Z)(St,2),ct=nt[0],vt=nt[1];function hn(){ut(Et,!0)}return Zt(function(){if(et!==Ht&&et!==Bt){var Cn=ot.indexOf(et),oa=ot[Cn+1],$n=ye(et);$n===Ye?ut(oa,!0):ct(function(Ia){function xa(){Ia.isCanceled()||ut(oa,!0)}$n===!0?xa():Promise.resolve($n).then(xa)})}},[fe,et]),b.useEffect(function(){return function(){vt()}},[]),[hn,et]},In=function(fe){var ye=(0,b.useRef)(),ke=(0,b.useRef)(fe);ke.current=fe;var Pe=b.useCallback(function(St){ke.current(St)},[]);function et(St){St&&(St.removeEventListener(Ze,Pe),St.removeEventListener(kt,Pe))}function ut(St){ye.current&&ye.current!==St&&et(ye.current),St&&St!==ye.current&&(St.addEventListener(Ze,Pe),St.addEventListener(kt,Pe),ye.current=St)}return b.useEffect(function(){return function(){et(ye.current)}},[]),[ut,et]};function Tt(fe,ye,ke,Pe){var et=Pe.motionEnter,ut=et===void 0?!0:et,St=Pe.motionAppear,nt=St===void 0?!0:St,ct=Pe.motionLeave,vt=ct===void 0?!0:ct,hn=Pe.motionDeadline,Cn=Pe.motionLeaveImmediately,oa=Pe.onAppearPrepare,$n=Pe.onEnterPrepare,Ia=Pe.onLeavePrepare,xa=Pe.onAppearStart,Mn=Pe.onEnterStart,jt=Pe.onLeaveStart,Fn=Pe.onAppearActive,Rn=Pe.onEnterActive,Ca=Pe.onLeaveActive,Ta=Pe.onAppearEnd,Ma=Pe.onEnterEnd,Ja=Pe.onLeaveEnd,Za=Pe.onVisibleChanged,ma=Bn(),za=(0,re.Z)(ma,2),Na=za[0],cr=za[1],br=Bn(zn),oo=(0,re.Z)(br,2),zo=oo[0],ai=oo[1],ya=Bn(null),ri=(0,re.Z)(ya,2),Ji=ri[0],Kl=ri[1],mu=(0,b.useRef)(!1),Ll=(0,b.useRef)(null);function sl(){return ke()}var Ti=(0,b.useRef)(!1);function Cu(na){var hr=sl();if(!(na&&!na.deadline&&na.target!==hr)){var Do=Ti.current,sr;zo===Dt&&Do?sr=Ta==null?void 0:Ta(hr,na):zo===rn&&Do?sr=Ma==null?void 0:Ma(hr,na):zo===en&&Do&&(sr=Ja==null?void 0:Ja(hr,na)),zo!==zn&&Do&&sr!==!1&&(ai(zn,!0),Kl(null,!0))}}var Cl=In(Cu),bu=(0,re.Z)(Cl,1),ln=bu[0],Vt=b.useMemo(function(){var na,hr,Do;switch(zo){case Dt:return na={},(0,ge.Z)(na,Et,oa),(0,ge.Z)(na,wn,xa),(0,ge.Z)(na,dn,Fn),na;case rn:return hr={},(0,ge.Z)(hr,Et,$n),(0,ge.Z)(hr,wn,Mn),(0,ge.Z)(hr,dn,Rn),hr;case en:return Do={},(0,ge.Z)(Do,Et,Ia),(0,ge.Z)(Do,wn,jt),(0,ge.Z)(Do,dn,Ca),Do;default:return{}}},[zo]),_t=Nt(zo,function(na){if(na===Et){var hr=Vt[Et];return hr?hr(sl()):Ye}if(Wa in Vt){var Do;Kl(((Do=Vt[Wa])===null||Do===void 0?void 0:Do.call(Vt,sl(),null))||null)}return Wa===dn&&(ln(sl()),hn>0&&(clearTimeout(Ll.current),Ll.current=setTimeout(function(){Cu({deadline:!0})},hn))),bt}),ka=(0,re.Z)(_t,2),Mr=ka[0],Wa=ka[1],Qn=Ut(Wa);Ti.current=Qn,Zt(function(){cr(ye);var na=mu.current;if(mu.current=!0,!!fe){var hr;!na&&ye&&nt&&(hr=Dt),na&&ye&&ut&&(hr=rn),(na&&!ye&&vt||!na&&Cn&&!ye&&vt)&&(hr=en),hr&&(ai(hr),Mr())}},[ye]),(0,b.useEffect)(function(){(zo===Dt&&!nt||zo===rn&&!ut||zo===en&&!vt)&&ai(zn)},[nt,ut,vt]),(0,b.useEffect)(function(){return function(){mu.current=!1,clearTimeout(Ll.current)}},[]);var mr=b.useRef(!1);(0,b.useEffect)(function(){Na&&(mr.current=!0),Na!==void 0&&zo===zn&&((mr.current||Na)&&(Za==null||Za(Na)),mr.current=!0)},[Na,zo]);var kn=Ji;return Vt[Et]&&Wa===wn&&(kn=(0,Fe.Z)({transition:"none"},kn)),[zo,Wa,kn,Na!=null?Na:ye]}var Kt=function(fe){(0,Te.Z)(ke,fe);var ye=(0,Le.Z)(ke);function ke(){return(0,ze.Z)(this,ke),ye.apply(this,arguments)}return(0,se.Z)(ke,[{key:"render",value:function(){return this.props.children}}]),ke}(b.Component),pt=Kt;function En(fe){var ye=fe;(0,he.Z)(fe)==="object"&&(ye=fe.transitionSupport);function ke(et){return!!(et.motionName&&ye)}var Pe=b.forwardRef(function(et,ut){var St=et.visible,nt=St===void 0?!0:St,ct=et.removeOnLeave,vt=ct===void 0?!0:ct,hn=et.forceRender,Cn=et.children,oa=et.motionName,$n=et.leavedClassName,Ia=et.eventProps,xa=ke(et),Mn=(0,b.useRef)(),jt=(0,b.useRef)();function Fn(){try{return Mn.current instanceof HTMLElement?Mn.current:Ne(jt.current)}catch(ya){return null}}var Rn=Tt(xa,nt,Fn,et),Ca=(0,re.Z)(Rn,4),Ta=Ca[0],Ma=Ca[1],Ja=Ca[2],Za=Ca[3],ma=b.useRef(Za);Za&&(ma.current=!0);var za=b.useCallback(function(ya){Mn.current=ya,Ie(ut,ya)},[ut]),Na,cr=(0,Fe.Z)((0,Fe.Z)({},Ia),{},{visible:nt});if(!Cn)Na=null;else if(Ta===zn||!ke(et))Za?Na=Cn((0,Fe.Z)({},cr),za):!vt&&ma.current&&$n?Na=Cn((0,Fe.Z)((0,Fe.Z)({},cr),{},{className:$n}),za):hn||!vt&&!$n?Na=Cn((0,Fe.Z)((0,Fe.Z)({},cr),{},{style:{display:"none"}}),za):Na=null;else{var br,oo;Ma===Et?oo="prepare":Ut(Ma)?oo="active":Ma===wn&&(oo="start"),Na=Cn((0,Fe.Z)((0,Fe.Z)({},cr),{},{className:De()(Dn(oa,Ta),(br={},(0,ge.Z)(br,Dn(oa,"".concat(Ta,"-").concat(oo)),oo),(0,ge.Z)(br,oa,typeof oa=="string"),br)),style:Ja}),za)}if(b.isValidElement(Na)&&Ve(Na)){var zo=Na,ai=zo.ref;ai||(Na=b.cloneElement(Na,{ref:za}))}return b.createElement(pt,{ref:jt},Na)});return Pe.displayName="CSSMotion",Pe}var Jt=En(dt),xn="add",Aa="keep",jn="remove",ua="removed";function La(fe){var ye;return fe&&(0,he.Z)(fe)==="object"&&"key"in fe?ye=fe:ye={key:fe},(0,Fe.Z)((0,Fe.Z)({},ye),{},{key:String(ye.key)})}function on(){var fe=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];return fe.map(La)}function gn(){var fe=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],ye=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],ke=[],Pe=0,et=ye.length,ut=on(fe),St=on(ye);ut.forEach(function(vt){for(var hn=!1,Cn=Pe;Cn<et;Cn+=1){var oa=St[Cn];if(oa.key===vt.key){Pe<Cn&&(ke=ke.concat(St.slice(Pe,Cn).map(function($n){return(0,Fe.Z)((0,Fe.Z)({},$n),{},{status:xn})})),Pe=Cn),ke.push((0,Fe.Z)((0,Fe.Z)({},oa),{},{status:Aa})),Pe+=1,hn=!0;break}}hn||ke.push((0,Fe.Z)((0,Fe.Z)({},vt),{},{status:jn}))}),Pe<et&&(ke=ke.concat(St.slice(Pe).map(function(vt){return(0,Fe.Z)((0,Fe.Z)({},vt),{},{status:xn})})));var nt={};ke.forEach(function(vt){var hn=vt.key;nt[hn]=(nt[hn]||0)+1});var ct=Object.keys(nt).filter(function(vt){return nt[vt]>1});return ct.forEach(function(vt){ke=ke.filter(function(hn){var Cn=hn.key,oa=hn.status;return Cn!==vt||oa!==jn}),ke.forEach(function(hn){hn.key===vt&&(hn.status=Aa)})}),ke}var Sn=["component","children","onVisibleChanged","onAllRemoved"],Fa=["status"],pa=["eventProps","visible","children","motionName","motionAppear","motionEnter","motionLeave","motionLeaveImmediately","motionDeadline","removeOnLeave","leavedClassName","onAppearStart","onAppearActive","onAppearEnd","onEnterStart","onEnterActive","onEnterEnd","onLeaveStart","onLeaveActive","onLeaveEnd"];function ra(fe){var ye=arguments.length>1&&arguments[1]!==void 0?arguments[1]:Jt,ke=function(Pe){(0,Te.Z)(ut,Pe);var et=(0,Le.Z)(ut);function ut(){var St;(0,ze.Z)(this,ut);for(var nt=arguments.length,ct=new Array(nt),vt=0;vt<nt;vt++)ct[vt]=arguments[vt];return St=et.call.apply(et,[this].concat(ct)),(0,ge.Z)((0,je.Z)(St),"state",{keyEntities:[]}),(0,ge.Z)((0,je.Z)(St),"removeKey",function(hn){var Cn=St.state.keyEntities,oa=Cn.map(function($n){return $n.key!==hn?$n:(0,Fe.Z)((0,Fe.Z)({},$n),{},{status:ua})});return St.setState({keyEntities:oa}),oa.filter(function($n){var Ia=$n.status;return Ia!==ua}).length}),St}return(0,se.Z)(ut,[{key:"render",value:function(){var nt=this,ct=this.state.keyEntities,vt=this.props,hn=vt.component,Cn=vt.children,oa=vt.onVisibleChanged,$n=vt.onAllRemoved,Ia=(0,oe.Z)(vt,Sn),xa=hn||b.Fragment,Mn={};return pa.forEach(function(jt){Mn[jt]=Ia[jt],delete Ia[jt]}),delete Ia.keys,b.createElement(xa,Ia,ct.map(function(jt){var Fn=jt.status,Rn=(0,oe.Z)(jt,Fa),Ca=Fn===xn||Fn===Aa;return b.createElement(ye,(0,x.Z)({},Mn,{key:Rn.key,visible:Ca,eventProps:Rn,onVisibleChanged:function(Ma){if(oa==null||oa(Ma,{key:Rn.key}),!Ma){var Ja=nt.removeKey(Rn.key);Ja===0&&$n&&$n()}}}),Cn)}))}}],[{key:"getDerivedStateFromProps",value:function(nt,ct){var vt=nt.keys,hn=ct.keyEntities,Cn=on(vt),oa=gn(hn,Cn);return{keyEntities:oa.filter(function($n){var Ia=hn.find(function(xa){var Mn=xa.key;return $n.key===Mn});return!(Ia&&Ia.status===ua&&$n.status===jn)})}}}]),ut}(b.Component);return(0,ge.Z)(ke,"defaultProps",{component:"div"}),ke}var Ga=ra(dt),_a=Jt,Qr=z(56261);function wo(fe,ye){var ke=b.useState(!1),Pe=(0,re.Z)(ke,2),et=Pe[0],ut=Pe[1];b.useLayoutEffect(function(){if(et)return fe(),function(){ye()}},[et]),b.useLayoutEffect(function(){return ut(!0),function(){ut(!1)}},[])}var Ln=z(83898),wt=["className","style","motion","motionNodes","motionType","onMotionStart","onMotionEnd","active","treeNodeRequiredProps"],Rt=function(ye,ke){var Pe=ye.className,et=ye.style,ut=ye.motion,St=ye.motionNodes,nt=ye.motionType,ct=ye.onMotionStart,vt=ye.onMotionEnd,hn=ye.active,Cn=ye.treeNodeRequiredProps,oa=(0,oe.Z)(ye,wt),$n=b.useState(!0),Ia=(0,re.Z)($n,2),xa=Ia[0],Mn=Ia[1],jt=b.useContext(E.k),Fn=jt.prefixCls,Rn=St&&nt!=="hide";pe(function(){St&&Rn!==xa&&Mn(Rn)},[St]);var Ca=function(){St&&ct()},Ta=b.useRef(!1),Ma=function(){St&&!Ta.current&&(Ta.current=!0,vt())};wo(Ca,Ma);var Ja=function(ma){Rn===ma&&Ma()};return St?b.createElement(_a,(0,x.Z)({ref:ke,visible:xa},ut,{motionAppear:nt==="show",onVisibleChanged:Ja}),function(Za,ma){var za=Za.className,Na=Za.style;return b.createElement("div",{ref:ma,className:De()("".concat(Fn,"-treenode-motion"),za),style:Na},St.map(function(cr){var br=(0,x.Z)({},((0,te.Z)(cr.data),cr.data)),oo=cr.title,zo=cr.key,ai=cr.isStart,ya=cr.isEnd;delete br.children;var ri=(0,Ln.H8)(zo,Cn);return b.createElement(Qr.Z,(0,x.Z)({},br,ri,{title:oo,active:hn,data:cr.data,key:zo,isStart:ai,isEnd:ya}))}))}):b.createElement(Qr.Z,(0,x.Z)({domRef:ke,className:Pe,style:et},oa,{active:hn}))};Rt.displayName="MotionTreeNode";var Ct=b.forwardRef(Rt),qn=Ct;function Qt(){var fe=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],ye=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],ke=fe.length,Pe=ye.length;if(Math.abs(ke-Pe)!==1)return{add:!1,key:null};function et(ut,St){var nt=new Map;ut.forEach(function(vt){nt.set(vt,!0)});var ct=St.filter(function(vt){return!nt.has(vt)});return ct.length===1?ct[0]:null}return ke<Pe?{add:!0,key:et(fe,ye)}:{add:!1,key:et(ye,fe)}}function er(fe,ye,ke){var Pe=fe.findIndex(function(nt){return nt.key===ke}),et=fe[Pe+1],ut=ye.findIndex(function(nt){return nt.key===ke});if(et){var St=ye.findIndex(function(nt){return nt.key===et.key});return ye.slice(ut+1,St)}return ye.slice(ut+1)}var Zo=["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"],ao={width:0,height:0,display:"flex",overflow:"hidden",opacity:0,border:0,padding:0,margin:0},rr=function(){},qr="RC_TREE_MOTION_".concat(Math.random()),Jo={key:qr},da={key:qr,level:0,index:0,pos:"0",node:Jo,nodes:[Jo]},Vr={parent:null,children:[],pos:da.pos,data:Jo,title:null,key:qr,isStart:[],isEnd:[]};function ft(fe,ye,ke,Pe){return ye===!1||!ke?fe:fe.slice(0,Math.ceil(ke/Pe)+1)}function vn(fe){var ye=fe.key,ke=fe.pos;return(0,Ln.km)(ye,ke)}function an(fe){for(var ye=String(fe.data.key),ke=fe;ke.parent;)ke=ke.parent,ye="".concat(ke.data.key," > ").concat(ye);return ye}var mn=b.forwardRef(function(fe,ye){var ke=fe.prefixCls,Pe=fe.data,et=fe.selectable,ut=fe.checkable,St=fe.expandedKeys,nt=fe.selectedKeys,ct=fe.checkedKeys,vt=fe.loadedKeys,hn=fe.loadingKeys,Cn=fe.halfCheckedKeys,oa=fe.keyEntities,$n=fe.disabled,Ia=fe.dragging,xa=fe.dragOverNodeKey,Mn=fe.dropPosition,jt=fe.motion,Fn=fe.height,Rn=fe.itemHeight,Ca=fe.virtual,Ta=fe.focusable,Ma=fe.activeItem,Ja=fe.focused,Za=fe.tabIndex,ma=fe.onKeyDown,za=fe.onFocus,Na=fe.onBlur,cr=fe.onActiveChange,br=fe.onListChangeStart,oo=fe.onListChangeEnd,zo=(0,oe.Z)(fe,Zo),ai=b.useRef(null),ya=b.useRef(null);b.useImperativeHandle(ye,function(){return{scrollTo:function(wr){ai.current.scrollTo(wr)},getIndentWidth:function(){return ya.current.offsetWidth}}});var ri=b.useState(St),Ji=(0,re.Z)(ri,2),Kl=Ji[0],mu=Ji[1],Ll=b.useState(Pe),sl=(0,re.Z)(Ll,2),Ti=sl[0],Cu=sl[1],Cl=b.useState(Pe),bu=(0,re.Z)(Cl,2),ln=bu[0],Vt=bu[1],_t=b.useState([]),ka=(0,re.Z)(_t,2),Mr=ka[0],Wa=ka[1],Qn=b.useState(null),mr=(0,re.Z)(Qn,2),kn=mr[0],na=mr[1],hr=b.useRef(Pe);hr.current=Pe;function Do(){var $o=hr.current;Cu($o),Vt($o),Wa([]),na(null),oo()}pe(function(){mu(St);var $o=Qt(Kl,St);if($o.key!==null)if($o.add){var wr=Ti.findIndex(function(Ua){var Oa=Ua.key;return Oa===$o.key}),oi=ft(er(Ti,Pe,$o.key),Ca,Fn,Rn),ba=Ti.slice();ba.splice(wr+1,0,Vr),Vt(ba),Wa(oi),na("show")}else{var sa=Pe.findIndex(function(Ua){var Oa=Ua.key;return Oa===$o.key}),mo=ft(er(Pe,Ti,$o.key),Ca,Fn,Rn),nl=Pe.slice();nl.splice(sa+1,0,Vr),Vt(nl),Wa(mo),na("hide")}else Ti!==Pe&&(Cu(Pe),Vt(Pe))},[St,Pe]),b.useEffect(function(){Ia||Do()},[Ia]);var sr=jt?ln:Pe,Hi={expandedKeys:St,selectedKeys:nt,loadedKeys:vt,loadingKeys:hn,checkedKeys:ct,halfCheckedKeys:Cn,dragOverNodeKey:xa,dropPosition:Mn,keyEntities:oa};return b.createElement(b.Fragment,null,Ja&&Ma&&b.createElement("span",{style:ao,"aria-live":"assertive"},an(Ma)),b.createElement("div",null,b.createElement("input",{style:ao,disabled:Ta===!1||$n,tabIndex:Ta!==!1?Za:null,onKeyDown:ma,onFocus:za,onBlur:Na,value:"",onChange:rr,"aria-label":"for screen reader"})),b.createElement("div",{className:"".concat(ke,"-treenode"),"aria-hidden":!0,style:{position:"absolute",pointerEvents:"none",visibility:"hidden",height:0,overflow:"hidden",border:0,padding:0}},b.createElement("div",{className:"".concat(ke,"-indent")},b.createElement("div",{ref:ya,className:"".concat(ke,"-indent-unit")}))),b.createElement(be.Z,(0,x.Z)({},zo,{data:sr,itemKey:vn,height:Fn,fullHeight:!1,virtual:Ca,itemHeight:Rn,prefixCls:"".concat(ke,"-list"),ref:ai,onVisibleChange:function(wr,oi){var ba=new Set(wr),sa=oi.filter(function(mo){return!ba.has(mo)});sa.some(function(mo){return vn(mo)===qr})&&Do()}}),function($o){var wr=$o.pos,oi=(0,x.Z)({},((0,te.Z)($o.data),$o.data)),ba=$o.title,sa=$o.key,mo=$o.isStart,nl=$o.isEnd,Ua=(0,Ln.km)(sa,wr);delete oi.key,delete oi.children;var Oa=(0,Ln.H8)(Ua,Hi);return b.createElement(qn,(0,x.Z)({},oi,Oa,{title:ba,active:!!Ma&&sa===Ma.key,pos:wr,data:$o.data,isStart:mo,isEnd:nl,motion:jt,motionNodes:sa===qr?Mr:null,motionType:kn,onMotionStart:br,onMotionEnd:Do,treeNodeRequiredProps:Hi,onMouseMove:function(){cr(null)}}))}))});mn.displayName="NodeList";var ca=mn,fn=z(29873),la=z(97153),Tn=z(3596),Sa=10,Qa=function(fe){(0,Te.Z)(ke,fe);var ye=(0,Le.Z)(ke);function ke(){var Pe;(0,ze.Z)(this,ke);for(var et=arguments.length,ut=new Array(et),St=0;St<et;St++)ut[St]=arguments[St];return Pe=ye.call.apply(ye,[this].concat(ut)),Pe.destroyed=!1,Pe.delayedDragEnterLogic=void 0,Pe.loadingRetryTimes={},Pe.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,Ln.w$)()},Pe.dragStartMousePosition=null,Pe.dragNode=void 0,Pe.currentMouseOverDroppableNodeKey=null,Pe.listRef=b.createRef(),Pe.onNodeDragStart=function(nt,ct){var vt=Pe.state,hn=vt.expandedKeys,Cn=vt.keyEntities,oa=Pe.props.onDragStart,$n=ct.props.eventKey;Pe.dragNode=ct,Pe.dragStartMousePosition={x:nt.clientX,y:nt.clientY};var Ia=(0,fn._5)(hn,$n);Pe.setState({draggingNodeKey:$n,dragChildrenKeys:(0,fn.wA)($n,Cn),indent:Pe.listRef.current.getIndentWidth()}),Pe.setExpandedKeys(Ia),window.addEventListener("dragend",Pe.onWindowDragEnd),oa==null||oa({event:nt,node:(0,Ln.F)(ct.props)})},Pe.onNodeDragEnter=function(nt,ct){var vt=Pe.state,hn=vt.expandedKeys,Cn=vt.keyEntities,oa=vt.dragChildrenKeys,$n=vt.flattenNodes,Ia=vt.indent,xa=Pe.props,Mn=xa.onDragEnter,jt=xa.onExpand,Fn=xa.allowDrop,Rn=xa.direction,Ca=ct.props,Ta=Ca.pos,Ma=Ca.eventKey,Ja=(0,je.Z)(Pe),Za=Ja.dragNode;if(Pe.currentMouseOverDroppableNodeKey!==Ma&&(Pe.currentMouseOverDroppableNodeKey=Ma),!Za){Pe.resetDragState();return}var ma=(0,fn.OM)(nt,Za,ct,Ia,Pe.dragStartMousePosition,Fn,$n,Cn,hn,Rn),za=ma.dropPosition,Na=ma.dropLevelOffset,cr=ma.dropTargetKey,br=ma.dropContainerKey,oo=ma.dropTargetPos,zo=ma.dropAllowed,ai=ma.dragOverNodeKey;if(oa.indexOf(cr)!==-1||!zo){Pe.resetDragState();return}if(Pe.delayedDragEnterLogic||(Pe.delayedDragEnterLogic={}),Object.keys(Pe.delayedDragEnterLogic).forEach(function(ya){clearTimeout(Pe.delayedDragEnterLogic[ya])}),Za.props.eventKey!==ct.props.eventKey&&(nt.persist(),Pe.delayedDragEnterLogic[Ta]=window.setTimeout(function(){if(Pe.state.draggingNodeKey!==null){var ya=(0,we.Z)(hn),ri=(0,Tn.Z)(Cn,ct.props.eventKey);ri&&(ri.children||[]).length&&(ya=(0,fn.L0)(hn,ct.props.eventKey)),"expandedKeys"in Pe.props||Pe.setExpandedKeys(ya),jt==null||jt(ya,{node:(0,Ln.F)(ct.props),expanded:!0,nativeEvent:nt.nativeEvent})}},800)),Za.props.eventKey===cr&&Na===0){Pe.resetDragState();return}Pe.setState({dragOverNodeKey:ai,dropPosition:za,dropLevelOffset:Na,dropTargetKey:cr,dropContainerKey:br,dropTargetPos:oo,dropAllowed:zo}),Mn==null||Mn({event:nt,node:(0,Ln.F)(ct.props),expandedKeys:hn})},Pe.onNodeDragOver=function(nt,ct){var vt=Pe.state,hn=vt.dragChildrenKeys,Cn=vt.flattenNodes,oa=vt.keyEntities,$n=vt.expandedKeys,Ia=vt.indent,xa=Pe.props,Mn=xa.onDragOver,jt=xa.allowDrop,Fn=xa.direction,Rn=(0,je.Z)(Pe),Ca=Rn.dragNode;if(Ca){var Ta=(0,fn.OM)(nt,Ca,ct,Ia,Pe.dragStartMousePosition,jt,Cn,oa,$n,Fn),Ma=Ta.dropPosition,Ja=Ta.dropLevelOffset,Za=Ta.dropTargetKey,ma=Ta.dropContainerKey,za=Ta.dropAllowed,Na=Ta.dropTargetPos,cr=Ta.dragOverNodeKey;hn.indexOf(Za)!==-1||!za||(Ca.props.eventKey===Za&&Ja===0?Pe.state.dropPosition===null&&Pe.state.dropLevelOffset===null&&Pe.state.dropTargetKey===null&&Pe.state.dropContainerKey===null&&Pe.state.dropTargetPos===null&&Pe.state.dropAllowed===!1&&Pe.state.dragOverNodeKey===null||Pe.resetDragState():Ma===Pe.state.dropPosition&&Ja===Pe.state.dropLevelOffset&&Za===Pe.state.dropTargetKey&&ma===Pe.state.dropContainerKey&&Na===Pe.state.dropTargetPos&&za===Pe.state.dropAllowed&&cr===Pe.state.dragOverNodeKey||Pe.setState({dropPosition:Ma,dropLevelOffset:Ja,dropTargetKey:Za,dropContainerKey:ma,dropTargetPos:Na,dropAllowed:za,dragOverNodeKey:cr}),Mn==null||Mn({event:nt,node:(0,Ln.F)(ct.props)}))}},Pe.onNodeDragLeave=function(nt,ct){Pe.currentMouseOverDroppableNodeKey===ct.props.eventKey&&!nt.currentTarget.contains(nt.relatedTarget)&&(Pe.resetDragState(),Pe.currentMouseOverDroppableNodeKey=null);var vt=Pe.props.onDragLeave;vt==null||vt({event:nt,node:(0,Ln.F)(ct.props)})},Pe.onWindowDragEnd=function(nt){Pe.onNodeDragEnd(nt,null,!0),window.removeEventListener("dragend",Pe.onWindowDragEnd)},Pe.onNodeDragEnd=function(nt,ct){var vt=Pe.props.onDragEnd;Pe.setState({dragOverNodeKey:null}),Pe.cleanDragState(),vt==null||vt({event:nt,node:(0,Ln.F)(ct.props)}),Pe.dragNode=null,window.removeEventListener("dragend",Pe.onWindowDragEnd)},Pe.onNodeDrop=function(nt,ct){var vt,hn=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1,Cn=Pe.state,oa=Cn.dragChildrenKeys,$n=Cn.dropPosition,Ia=Cn.dropTargetKey,xa=Cn.dropTargetPos,Mn=Cn.dropAllowed;if(Mn){var jt=Pe.props.onDrop;if(Pe.setState({dragOverNodeKey:null}),Pe.cleanDragState(),Ia!==null){var Fn=(0,Fe.Z)((0,Fe.Z)({},(0,Ln.H8)(Ia,Pe.getTreeNodeRequiredProps())),{},{active:((vt=Pe.getActiveItem())===null||vt===void 0?void 0:vt.key)===Ia,data:(0,Tn.Z)(Pe.state.keyEntities,Ia).node}),Rn=oa.indexOf(Ia)!==-1;(0,y.ZP)(!Rn,"Can not drop to dragNode's children node. This is a bug of rc-tree. Please report an issue.");var Ca=(0,fn.yx)(xa),Ta={event:nt,node:(0,Ln.F)(Fn),dragNode:Pe.dragNode?(0,Ln.F)(Pe.dragNode.props):null,dragNodesKeys:[Pe.dragNode.props.eventKey].concat(oa),dropToGap:$n!==0,dropPosition:$n+Number(Ca[Ca.length-1])};hn||jt==null||jt(Ta),Pe.dragNode=null}}},Pe.cleanDragState=function(){var nt=Pe.state.draggingNodeKey;nt!==null&&Pe.setState({draggingNodeKey:null,dropPosition:null,dropContainerKey:null,dropTargetKey:null,dropLevelOffset:null,dropAllowed:!0,dragOverNodeKey:null}),Pe.dragStartMousePosition=null,Pe.currentMouseOverDroppableNodeKey=null},Pe.triggerExpandActionExpand=function(nt,ct){var vt=Pe.state,hn=vt.expandedKeys,Cn=vt.flattenNodes,oa=ct.expanded,$n=ct.key,Ia=ct.isLeaf;if(!(Ia||nt.shiftKey||nt.metaKey||nt.ctrlKey)){var xa=Cn.filter(function(jt){return jt.key===$n})[0],Mn=(0,Ln.F)((0,Fe.Z)((0,Fe.Z)({},(0,Ln.H8)($n,Pe.getTreeNodeRequiredProps())),{},{data:xa.data}));Pe.setExpandedKeys(oa?(0,fn._5)(hn,$n):(0,fn.L0)(hn,$n)),Pe.onNodeExpand(nt,Mn)}},Pe.onNodeClick=function(nt,ct){var vt=Pe.props,hn=vt.onClick,Cn=vt.expandAction;Cn==="click"&&Pe.triggerExpandActionExpand(nt,ct),hn==null||hn(nt,ct)},Pe.onNodeDoubleClick=function(nt,ct){var vt=Pe.props,hn=vt.onDoubleClick,Cn=vt.expandAction;Cn==="doubleClick"&&Pe.triggerExpandActionExpand(nt,ct),hn==null||hn(nt,ct)},Pe.onNodeSelect=function(nt,ct){var vt=Pe.state.selectedKeys,hn=Pe.state,Cn=hn.keyEntities,oa=hn.fieldNames,$n=Pe.props,Ia=$n.onSelect,xa=$n.multiple,Mn=ct.selected,jt=ct[oa.key],Fn=!Mn;Fn?xa?vt=(0,fn.L0)(vt,jt):vt=[jt]:vt=(0,fn._5)(vt,jt);var Rn=vt.map(function(Ca){var Ta=(0,Tn.Z)(Cn,Ca);return Ta?Ta.node:null}).filter(function(Ca){return Ca});Pe.setUncontrolledState({selectedKeys:vt}),Ia==null||Ia(vt,{event:"select",selected:Fn,node:ct,selectedNodes:Rn,nativeEvent:nt.nativeEvent})},Pe.onNodeCheck=function(nt,ct,vt){var hn=Pe.state,Cn=hn.keyEntities,oa=hn.checkedKeys,$n=hn.halfCheckedKeys,Ia=Pe.props,xa=Ia.checkStrictly,Mn=Ia.onCheck,jt=ct.key,Fn,Rn={event:"check",node:ct,checked:vt,nativeEvent:nt.nativeEvent};if(xa){var Ca=vt?(0,fn.L0)(oa,jt):(0,fn._5)(oa,jt),Ta=(0,fn._5)($n,jt);Fn={checked:Ca,halfChecked:Ta},Rn.checkedNodes=Ca.map(function(Na){return(0,Tn.Z)(Cn,Na)}).filter(function(Na){return Na}).map(function(Na){return Na.node}),Pe.setUncontrolledState({checkedKeys:Ca})}else{var Ma=(0,la.S)([].concat((0,we.Z)(oa),[jt]),!0,Cn),Ja=Ma.checkedKeys,Za=Ma.halfCheckedKeys;if(!vt){var ma=new Set(Ja);ma.delete(jt);var za=(0,la.S)(Array.from(ma),{checked:!1,halfCheckedKeys:Za},Cn);Ja=za.checkedKeys,Za=za.halfCheckedKeys}Fn=Ja,Rn.checkedNodes=[],Rn.checkedNodesPositions=[],Rn.halfCheckedKeys=Za,Ja.forEach(function(Na){var cr=(0,Tn.Z)(Cn,Na);if(cr){var br=cr.node,oo=cr.pos;Rn.checkedNodes.push(br),Rn.checkedNodesPositions.push({node:br,pos:oo})}}),Pe.setUncontrolledState({checkedKeys:Ja},!1,{halfCheckedKeys:Za})}Mn==null||Mn(Fn,Rn)},Pe.onNodeLoad=function(nt){var ct=nt.key,vt=new Promise(function(hn,Cn){Pe.setState(function(oa){var $n=oa.loadedKeys,Ia=$n===void 0?[]:$n,xa=oa.loadingKeys,Mn=xa===void 0?[]:xa,jt=Pe.props,Fn=jt.loadData,Rn=jt.onLoad;if(!Fn||Ia.indexOf(ct)!==-1||Mn.indexOf(ct)!==-1)return null;var Ca=Fn(nt);return Ca.then(function(){var Ta=Pe.state.loadedKeys,Ma=(0,fn.L0)(Ta,ct);Rn==null||Rn(Ma,{event:"load",node:nt}),Pe.setUncontrolledState({loadedKeys:Ma}),Pe.setState(function(Ja){return{loadingKeys:(0,fn._5)(Ja.loadingKeys,ct)}}),hn()}).catch(function(Ta){if(Pe.setState(function(Ja){return{loadingKeys:(0,fn._5)(Ja.loadingKeys,ct)}}),Pe.loadingRetryTimes[ct]=(Pe.loadingRetryTimes[ct]||0)+1,Pe.loadingRetryTimes[ct]>=Sa){var Ma=Pe.state.loadedKeys;(0,y.ZP)(!1,"Retry for `loadData` many times but still failed. No more retry."),Pe.setUncontrolledState({loadedKeys:(0,fn.L0)(Ma,ct)}),hn()}Cn(Ta)}),{loadingKeys:(0,fn.L0)(Mn,ct)}})});return vt.catch(function(){}),vt},Pe.onNodeMouseEnter=function(nt,ct){var vt=Pe.props.onMouseEnter;vt==null||vt({event:nt,node:ct})},Pe.onNodeMouseLeave=function(nt,ct){var vt=Pe.props.onMouseLeave;vt==null||vt({event:nt,node:ct})},Pe.onNodeContextMenu=function(nt,ct){var vt=Pe.props.onRightClick;vt&&(nt.preventDefault(),vt({event:nt,node:ct}))},Pe.onFocus=function(){var nt=Pe.props.onFocus;Pe.setState({focused:!0});for(var ct=arguments.length,vt=new Array(ct),hn=0;hn<ct;hn++)vt[hn]=arguments[hn];nt==null||nt.apply(void 0,vt)},Pe.onBlur=function(){var nt=Pe.props.onBlur;Pe.setState({focused:!1}),Pe.onActiveChange(null);for(var ct=arguments.length,vt=new Array(ct),hn=0;hn<ct;hn++)vt[hn]=arguments[hn];nt==null||nt.apply(void 0,vt)},Pe.getTreeNodeRequiredProps=function(){var nt=Pe.state,ct=nt.expandedKeys,vt=nt.selectedKeys,hn=nt.loadedKeys,Cn=nt.loadingKeys,oa=nt.checkedKeys,$n=nt.halfCheckedKeys,Ia=nt.dragOverNodeKey,xa=nt.dropPosition,Mn=nt.keyEntities;return{expandedKeys:ct||[],selectedKeys:vt||[],loadedKeys:hn||[],loadingKeys:Cn||[],checkedKeys:oa||[],halfCheckedKeys:$n||[],dragOverNodeKey:Ia,dropPosition:xa,keyEntities:Mn}},Pe.setExpandedKeys=function(nt){var ct=Pe.state,vt=ct.treeData,hn=ct.fieldNames,Cn=(0,Ln.oH)(vt,nt,hn);Pe.setUncontrolledState({expandedKeys:nt,flattenNodes:Cn},!0)},Pe.onNodeExpand=function(nt,ct){var vt=Pe.state.expandedKeys,hn=Pe.state,Cn=hn.listChanging,oa=hn.fieldNames,$n=Pe.props,Ia=$n.onExpand,xa=$n.loadData,Mn=ct.expanded,jt=ct[oa.key];if(!Cn){var Fn=vt.indexOf(jt),Rn=!Mn;if((0,y.ZP)(Mn&&Fn!==-1||!Mn&&Fn===-1,"Expand state not sync with index check"),Rn?vt=(0,fn.L0)(vt,jt):vt=(0,fn._5)(vt,jt),Pe.setExpandedKeys(vt),Ia==null||Ia(vt,{node:ct,expanded:Rn,nativeEvent:nt.nativeEvent}),Rn&&xa){var Ca=Pe.onNodeLoad(ct);Ca&&Ca.then(function(){var Ta=(0,Ln.oH)(Pe.state.treeData,vt,oa);Pe.setUncontrolledState({flattenNodes:Ta})}).catch(function(){var Ta=Pe.state.expandedKeys,Ma=(0,fn._5)(Ta,jt);Pe.setExpandedKeys(Ma)})}}},Pe.onListChangeStart=function(){Pe.setUncontrolledState({listChanging:!0})},Pe.onListChangeEnd=function(){setTimeout(function(){Pe.setUncontrolledState({listChanging:!1})})},Pe.onActiveChange=function(nt){var ct=Pe.state.activeKey,vt=Pe.props.onActiveChange;ct!==nt&&(Pe.setState({activeKey:nt}),nt!==null&&Pe.scrollTo({key:nt}),vt==null||vt(nt))},Pe.getActiveItem=function(){var nt=Pe.state,ct=nt.activeKey,vt=nt.flattenNodes;return ct===null?null:vt.find(function(hn){var Cn=hn.key;return Cn===ct})||null},Pe.offsetActiveKey=function(nt){var ct=Pe.state,vt=ct.flattenNodes,hn=ct.activeKey,Cn=vt.findIndex(function(Ia){var xa=Ia.key;return xa===hn});Cn===-1&&nt<0&&(Cn=vt.length),Cn=(Cn+nt+vt.length)%vt.length;var oa=vt[Cn];if(oa){var $n=oa.key;Pe.onActiveChange($n)}else Pe.onActiveChange(null)},Pe.onKeyDown=function(nt){var ct=Pe.state,vt=ct.activeKey,hn=ct.expandedKeys,Cn=ct.checkedKeys,oa=ct.fieldNames,$n=Pe.props,Ia=$n.onKeyDown,xa=$n.checkable,Mn=$n.selectable;switch(nt.which){case ue.UP:{Pe.offsetActiveKey(-1),nt.preventDefault();break}case ue.DOWN:{Pe.offsetActiveKey(1),nt.preventDefault();break}}var jt=Pe.getActiveItem();if(jt&&jt.data){var Fn=Pe.getTreeNodeRequiredProps(),Rn=jt.data.isLeaf===!1||!!(jt.data[oa.children]||[]).length,Ca=(0,Ln.F)((0,Fe.Z)((0,Fe.Z)({},(0,Ln.H8)(vt,Fn)),{},{data:jt.data,active:!0}));switch(nt.which){case ue.LEFT:{Rn&&hn.includes(vt)?Pe.onNodeExpand({},Ca):jt.parent&&Pe.onActiveChange(jt.parent.key),nt.preventDefault();break}case ue.RIGHT:{Rn&&!hn.includes(vt)?Pe.onNodeExpand({},Ca):jt.children&&jt.children.length&&Pe.onActiveChange(jt.children[0].key),nt.preventDefault();break}case ue.ENTER:case ue.SPACE:{xa&&!Ca.disabled&&Ca.checkable!==!1&&!Ca.disableCheckbox?Pe.onNodeCheck({},Ca,!Cn.includes(vt)):!xa&&Mn&&!Ca.disabled&&Ca.selectable!==!1&&Pe.onNodeSelect({},Ca);break}}}Ia==null||Ia(nt)},Pe.setUncontrolledState=function(nt){var ct=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,vt=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null;if(!Pe.destroyed){var hn=!1,Cn=!0,oa={};Object.keys(nt).forEach(function($n){if($n in Pe.props){Cn=!1;return}hn=!0,oa[$n]=nt[$n]}),hn&&(!ct||Cn)&&Pe.setState((0,Fe.Z)((0,Fe.Z)({},oa),vt))}},Pe.scrollTo=function(nt){Pe.listRef.current.scrollTo(nt)},Pe}return(0,se.Z)(ke,[{key:"componentDidMount",value:function(){this.destroyed=!1,this.onUpdated()}},{key:"componentDidUpdate",value:function(){this.onUpdated()}},{key:"onUpdated",value:function(){var et=this.props.activeKey;et!==void 0&&et!==this.state.activeKey&&(this.setState({activeKey:et}),et!==null&&this.scrollTo({key:et}))}},{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 et,ut=this.state,St=ut.focused,nt=ut.flattenNodes,ct=ut.keyEntities,vt=ut.draggingNodeKey,hn=ut.activeKey,Cn=ut.dropLevelOffset,oa=ut.dropContainerKey,$n=ut.dropTargetKey,Ia=ut.dropPosition,xa=ut.dragOverNodeKey,Mn=ut.indent,jt=this.props,Fn=jt.prefixCls,Rn=jt.className,Ca=jt.style,Ta=jt.showLine,Ma=jt.focusable,Ja=jt.tabIndex,Za=Ja===void 0?0:Ja,ma=jt.selectable,za=jt.showIcon,Na=jt.icon,cr=jt.switcherIcon,br=jt.draggable,oo=jt.checkable,zo=jt.checkStrictly,ai=jt.disabled,ya=jt.motion,ri=jt.loadData,Ji=jt.filterTreeNode,Kl=jt.height,mu=jt.itemHeight,Ll=jt.virtual,sl=jt.titleRender,Ti=jt.dropIndicatorRender,Cu=jt.onContextMenu,Cl=jt.onScroll,bu=jt.direction,ln=jt.rootClassName,Vt=jt.rootStyle,_t=(0,a.Z)(this.props,{aria:!0,data:!0}),ka;return br&&((0,he.Z)(br)==="object"?ka=br:typeof br=="function"?ka={nodeDraggable:br}:ka={}),b.createElement(E.k.Provider,{value:{prefixCls:Fn,selectable:ma,showIcon:za,icon:Na,switcherIcon:cr,draggable:ka,draggingNodeKey:vt,checkable:oo,checkStrictly:zo,disabled:ai,keyEntities:ct,dropLevelOffset:Cn,dropContainerKey:oa,dropTargetKey:$n,dropPosition:Ia,dragOverNodeKey:xa,indent:Mn,direction:bu,dropIndicatorRender:Ti,loadData:ri,filterTreeNode:Ji,titleRender:sl,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:De()(Fn,Rn,ln,(et={},(0,ge.Z)(et,"".concat(Fn,"-show-line"),Ta),(0,ge.Z)(et,"".concat(Fn,"-focused"),St),(0,ge.Z)(et,"".concat(Fn,"-active-focused"),hn!==null),et)),style:Vt},b.createElement(ca,(0,x.Z)({ref:this.listRef,prefixCls:Fn,style:Ca,data:nt,disabled:ai,selectable:ma,checkable:!!oo,motion:ya,dragging:vt!==null,height:Kl,itemHeight:mu,virtual:Ll,focusable:Ma,focused:St,tabIndex:Za,activeItem:this.getActiveItem(),onFocus:this.onFocus,onBlur:this.onBlur,onKeyDown:this.onKeyDown,onActiveChange:this.onActiveChange,onListChangeStart:this.onListChangeStart,onListChangeEnd:this.onListChangeEnd,onContextMenu:Cu,onScroll:Cl},this.getTreeNodeRequiredProps(),_t))))}}],[{key:"getDerivedStateFromProps",value:function(et,ut){var St=ut.prevProps,nt={prevProps:et};function ct(Ma){return!St&&Ma in et||St&&St[Ma]!==et[Ma]}var vt,hn=ut.fieldNames;if(ct("fieldNames")&&(hn=(0,Ln.w$)(et.fieldNames),nt.fieldNames=hn),ct("treeData")?vt=et.treeData:ct("children")&&((0,y.ZP)(!1,"`children` of Tree is deprecated. Please use `treeData` instead."),vt=(0,Ln.zn)(et.children)),vt){nt.treeData=vt;var Cn=(0,Ln.I8)(vt,{fieldNames:hn});nt.keyEntities=(0,Fe.Z)((0,ge.Z)({},qr,da),Cn.keyEntities)}var oa=nt.keyEntities||ut.keyEntities;if(ct("expandedKeys")||St&&ct("autoExpandParent"))nt.expandedKeys=et.autoExpandParent||!St&&et.defaultExpandParent?(0,fn.r7)(et.expandedKeys,oa):et.expandedKeys;else if(!St&&et.defaultExpandAll){var $n=(0,Fe.Z)({},oa);delete $n[qr],nt.expandedKeys=Object.keys($n).map(function(Ma){return $n[Ma].key})}else!St&&et.defaultExpandedKeys&&(nt.expandedKeys=et.autoExpandParent||et.defaultExpandParent?(0,fn.r7)(et.defaultExpandedKeys,oa):et.defaultExpandedKeys);if(nt.expandedKeys||delete nt.expandedKeys,vt||nt.expandedKeys){var Ia=(0,Ln.oH)(vt||ut.treeData,nt.expandedKeys||ut.expandedKeys,hn);nt.flattenNodes=Ia}if(et.selectable&&(ct("selectedKeys")?nt.selectedKeys=(0,fn.BT)(et.selectedKeys,et):!St&&et.defaultSelectedKeys&&(nt.selectedKeys=(0,fn.BT)(et.defaultSelectedKeys,et))),et.checkable){var xa;if(ct("checkedKeys")?xa=(0,fn.E6)(et.checkedKeys)||{}:!St&&et.defaultCheckedKeys?xa=(0,fn.E6)(et.defaultCheckedKeys)||{}:vt&&(xa=(0,fn.E6)(et.checkedKeys)||{checkedKeys:ut.checkedKeys,halfCheckedKeys:ut.halfCheckedKeys}),xa){var Mn=xa,jt=Mn.checkedKeys,Fn=jt===void 0?[]:jt,Rn=Mn.halfCheckedKeys,Ca=Rn===void 0?[]:Rn;if(!et.checkStrictly){var Ta=(0,la.S)(Fn,!0,oa);Fn=Ta.checkedKeys,Ca=Ta.halfCheckedKeys}nt.checkedKeys=Fn,nt.halfCheckedKeys=Ca}}return ct("loadedKeys")&&(nt.loadedKeys=et.loadedKeys),nt}}]),ke}(b.Component);Qa.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:ee,allowDrop:function(){return!0},expandAction:!1},Qa.TreeNode=Qr.Z;var Br=Qa,no=Br,No=z(73148),Hn=z(56747),Qi={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"},yi=Qi,Yr=z(74643),Pi=function(ye,ke){return b.createElement(Yr.Z,(0,x.Z)({},ye,{ref:ke,icon:yi}))},ha=b.forwardRef(Pi),tr=z(53124),xr=z(50881),fa=z(33603),eo=z(32157);const Oo=4;function Ni(fe){const{dropPosition:ye,dropLevelOffset:ke,prefixCls:Pe,indent:et,direction:ut="ltr"}=fe,St=ut==="ltr"?"left":"right",nt=ut==="ltr"?"right":"left",ct={[St]:-ke*et+Oo,[nt]:0};switch(ye){case-1:ct.top=-3;break;case 1:ct.bottom=-3;break;default:ct.bottom=-3,ct[St]=et+Oo;break}return b.createElement("div",{style:ct,className:`${Pe}-drop-indicator`})}var fi=z(99184),Ol=b.forwardRef((fe,ye)=>{const{getPrefixCls:ke,direction:Pe,virtual:et,tree:ut}=b.useContext(tr.E_),{prefixCls:St,className:nt,showIcon:ct=!1,showLine:vt,switcherIcon:hn,blockNode:Cn=!1,children:oa,checkable:$n=!1,selectable:Ia=!0,draggable:xa,motion:Mn,style:jt}=fe,Fn=ke("tree",St),Rn=ke(),Ca=Mn!=null?Mn:Object.assign(Object.assign({},(0,fa.Z)(Rn)),{motionAppear:!1}),Ta=Object.assign(Object.assign({},fe),{checkable:$n,selectable:Ia,showIcon:ct,motion:Ca,blockNode:Cn,showLine:!!vt,dropIndicatorRender:Ni}),[Ma,Ja]=(0,eo.ZP)(Fn),Za=b.useMemo(()=>{if(!xa)return!1;let za={};switch(typeof xa){case"function":za.nodeDraggable=xa;break;case"object":za=Object.assign({},xa);break;default:break}return za.icon!==!1&&(za.icon=za.icon||b.createElement(xr.Z,null)),za},[xa]),ma=za=>b.createElement(fi.Z,{prefixCls:Fn,switcherIcon:hn,treeNodeProps:za,showLine:vt});return Ma(b.createElement(no,Object.assign({itemHeight:20,ref:ye,virtual:et},Ta,{style:Object.assign(Object.assign({},ut==null?void 0:ut.style),jt),prefixCls:Fn,className:De()({[`${Fn}-icon-hide`]:!ct,[`${Fn}-block-node`]:Cn,[`${Fn}-unselectable`]:!Ia,[`${Fn}-rtl`]:Pe==="rtl"},ut==null?void 0:ut.className,nt,Ja),direction:Pe,checkable:$n&&b.createElement("span",{className:`${Fn}-checkbox-inner`}),selectable:Ia,switcherIcon:ma,draggable:Za}),oa))}),tl;(function(fe){fe[fe.None=0]="None",fe[fe.Start=1]="Start",fe[fe.End=2]="End"})(tl||(tl={}));function fu(fe,ye){function ke(Pe){const{key:et,children:ut}=Pe;ye(et,Pe)!==!1&&fu(ut||[],ye)}fe.forEach(ke)}function ga(fe){let{treeData:ye,expandedKeys:ke,startKey:Pe,endKey:et}=fe;const ut=[];let St=tl.None;if(Pe&&Pe===et)return[Pe];if(!Pe||!et)return[];function nt(ct){return ct===Pe||ct===et}return fu(ye,ct=>{if(St===tl.End)return!1;if(nt(ct)){if(ut.push(ct),St===tl.None)St=tl.Start;else if(St===tl.Start)return St=tl.End,!1}else St===tl.Start&&ut.push(ct);return ke.includes(ct)}),ut}function lr(fe,ye){const ke=(0,we.Z)(ye),Pe=[];return fu(fe,(et,ut)=>{const St=ke.indexOf(et);return St!==-1&&(Pe.push(ut),ke.splice(St,1)),!!ke.length}),Pe}var Ar=function(fe,ye){var ke={};for(var Pe in fe)Object.prototype.hasOwnProperty.call(fe,Pe)&&ye.indexOf(Pe)<0&&(ke[Pe]=fe[Pe]);if(fe!=null&&typeof Object.getOwnPropertySymbols=="function")for(var et=0,Pe=Object.getOwnPropertySymbols(fe);et<Pe.length;et++)ye.indexOf(Pe[et])<0&&Object.prototype.propertyIsEnumerable.call(fe,Pe[et])&&(ke[Pe[et]]=fe[Pe[et]]);return ke};function Ai(fe){const{isLeaf:ye,expanded:ke}=fe;return ye?b.createElement(No.Z,null):ke?b.createElement(Hn.Z,null):b.createElement(ha,null)}function ul(fe){let{treeData:ye,children:ke}=fe;return ye||(0,Ln.zn)(ke)}const kl=(fe,ye)=>{var{defaultExpandAll:ke,defaultExpandParent:Pe,defaultExpandedKeys:et}=fe,ut=Ar(fe,["defaultExpandAll","defaultExpandParent","defaultExpandedKeys"]);const St=b.useRef(),nt=b.useRef(),ct=()=>{const{keyEntities:Za}=(0,Ln.I8)(ul(ut));let ma;return ke?ma=Object.keys(Za):Pe?ma=(0,fn.r7)(ut.expandedKeys||et||[],Za):ma=ut.expandedKeys||et,ma},[vt,hn]=b.useState(ut.selectedKeys||ut.defaultSelectedKeys||[]),[Cn,oa]=b.useState(()=>ct());b.useEffect(()=>{"selectedKeys"in ut&&hn(ut.selectedKeys)},[ut.selectedKeys]),b.useEffect(()=>{"expandedKeys"in ut&&oa(ut.expandedKeys)},[ut.expandedKeys]);const $n=(Za,ma)=>{var za;return"expandedKeys"in ut||oa(Za),(za=ut.onExpand)===null||za===void 0?void 0:za.call(ut,Za,ma)},Ia=(Za,ma)=>{var za;const{multiple:Na}=ut,{node:cr,nativeEvent:br}=ma,{key:oo=""}=cr,zo=ul(ut),ai=Object.assign(Object.assign({},ma),{selected:!0}),ya=(br==null?void 0:br.ctrlKey)||(br==null?void 0:br.metaKey),ri=br==null?void 0:br.shiftKey;let Ji;Na&&ya?(Ji=Za,St.current=oo,nt.current=Ji,ai.selectedNodes=lr(zo,Ji)):Na&&ri?(Ji=Array.from(new Set([].concat((0,we.Z)(nt.current||[]),(0,we.Z)(ga({treeData:zo,expandedKeys:Cn,startKey:oo,endKey:St.current}))))),ai.selectedNodes=lr(zo,Ji)):(Ji=[oo],St.current=oo,nt.current=Ji,ai.selectedNodes=lr(zo,Ji)),(za=ut.onSelect)===null||za===void 0||za.call(ut,Ji,ai),"selectedKeys"in ut||hn(Ji)},{getPrefixCls:xa,direction:Mn}=b.useContext(tr.E_),{prefixCls:jt,className:Fn,showIcon:Rn=!0,expandAction:Ca="click"}=ut,Ta=Ar(ut,["prefixCls","className","showIcon","expandAction"]),Ma=xa("tree",jt),Ja=De()(`${Ma}-directory`,{[`${Ma}-directory-rtl`]:Mn==="rtl"},Fn);return b.createElement(Ol,Object.assign({icon:Ai,ref:ye,blockNode:!0},Ta,{showIcon:Rn,expandAction:Ca,prefixCls:Ma,className:Ja,expandedKeys:Cn,selectedKeys:vt,onSelect:Ia,onExpand:$n}))};var hl=b.forwardRef(kl);const ru=Ol;ru.DirectoryTree=hl,ru.TreeNode=Qr.Z;var Po=ru},32157:function(mt,st,z){"use strict";z.d(st,{TM:function(){return ve},Yk:function(){return De}});var x=z(45930),ge=z(63185),he=z(14747),Fe=z(33507),we=z(45503),ze=z(67968);const se=new x.Keyframes("ant-tree-node-fx-do-not-use",{"0%":{opacity:0},"100%":{opacity:1}}),je=(ue,a)=>({[`.${ue}-switcher-icon`]:{display:"inline-block",fontSize:10,verticalAlign:"baseline",svg:{transition:`transform ${a.motionDurationSlow}`}}}),Te=(ue,a)=>({[`.${ue}-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:'""'}}}),Le=(ue,a)=>{const{treeCls:y,treeNodeCls:b,treeNodePadding:E,titleHeight:ee,nodeSelectedBg:te,nodeHoverBg:re}=a,oe=a.paddingXS;return{[y]:Object.assign(Object.assign({},(0,he.Wf)(a)),{background:a.colorBgContainer,borderRadius:a.borderRadius,transition:`background-color ${a.motionDurationSlow}`,[`&${y}-rtl`]:{[`${y}-switcher`]:{"&_close":{[`${y}-switcher-icon`]:{svg:{transform:"rotate(90deg)"}}}}},[`&-focused:not(:hover):not(${y}-active-focused)`]:Object.assign({},(0,he.oN)(a)),[`${y}-list-holder-inner`]:{alignItems:"flex-start"},[`&${y}-block-node`]:{[`${y}-list-holder-inner`]:{alignItems:"stretch",[`${y}-node-content-wrapper`]:{flex:"auto"},[`${b}.dragging`]:{position:"relative","&:after":{position:"absolute",top:0,insetInlineEnd:0,bottom:E,insetInlineStart:0,border:`1px solid ${a.colorPrimary}`,opacity:0,animationName:se,animationDuration:a.motionDurationSlow,animationPlayState:"running",animationFillMode:"forwards",content:'""',pointerEvents:"none"}}}},[`${b}`]:{display:"flex",alignItems:"flex-start",padding:`0 0 ${E}px 0`,outline:"none","&-rtl":{direction:"rtl"},"&-disabled":{[`${y}-node-content-wrapper`]:{color:a.colorTextDisabled,cursor:"not-allowed","&:hover":{background:"transparent"}}},[`&-active ${y}-node-content-wrapper`]:Object.assign({},(0,he.oN)(a)),[`&:not(${b}-disabled).filter-node ${y}-title`]:{color:"inherit",fontWeight:500},"&-draggable":{[`${y}-draggable-icon`]:{flexShrink:0,width:ee,lineHeight:`${ee}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:ee}},[`${y}-draggable-icon`]:{visibility:"hidden"},[`${y}-switcher`]:Object.assign(Object.assign({},je(ue,a)),{position:"relative",flex:"none",alignSelf:"stretch",width:ee,margin:0,lineHeight:`${ee}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:ee/2,bottom:-E,marginInlineStart:-1,borderInlineEnd:`1px solid ${a.colorBorder}`,content:'""'},"&:after":{position:"absolute",width:ee/2*.8,height:ee/2,borderBottom:`1px solid ${a.colorBorder}`,content:'""'}}}),[`${y}-checkbox`]:{top:"initial",marginInlineEnd:oe},[`${y}-node-content-wrapper, ${y}-checkbox + span`]:{position:"relative",zIndex:"auto",minHeight:ee,margin:0,padding:`0 ${a.paddingXS/2}px`,color:"inherit",lineHeight:`${ee}px`,background:"transparent",borderRadius:a.borderRadius,cursor:"pointer",transition:`all ${a.motionDurationMid}, border 0s, line-height 0s, box-shadow 0s`,"&:hover":{backgroundColor:re},[`&${y}-node-selected`]:{backgroundColor:te},[`${y}-iconEle`]:{display:"inline-block",width:ee,height:ee,lineHeight:`${ee}px`,textAlign:"center",verticalAlign:"top","&:empty":{display:"none"}}},[`${y}-unselectable ${y}-node-content-wrapper:hover`]:{backgroundColor:"transparent"},[`${y}-node-content-wrapper`]:Object.assign({lineHeight:`${ee}px`,userSelect:"none"},Te(ue,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:ee/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:`${ee/2}px !important`}}}}})}},Ke=ue=>{const{treeCls:a,treeNodeCls:y,treeNodePadding:b,directoryNodeSelectedBg:E,directoryNodeSelectedColor:ee}=ue;return{[`${a}${a}-directory`]:{[y]:{position:"relative","&:before":{position:"absolute",top:0,insetInlineEnd:0,bottom:b,insetInlineStart:0,transition:`background-color ${ue.motionDurationMid}`,content:'""',pointerEvents:"none"},"&:hover":{"&:before":{background:ue.controlItemBgHover}},"> *":{zIndex:1},[`${a}-switcher`]:{transition:`color ${ue.motionDurationMid}`},[`${a}-node-content-wrapper`]:{borderRadius:0,userSelect:"none","&:hover":{background:"transparent"},[`&${a}-node-selected`]:{color:ee,background:"transparent"}},"&-selected":{"\n &:hover::before,\n &::before\n ":{background:E},[`${a}-switcher`]:{color:ee},[`${a}-node-content-wrapper`]:{color:ee,background:"transparent"}}}}}},De=(ue,a)=>{const y=`.${ue}`,b=`${y}-treenode`,E=a.paddingXS/2,ee=(0,we.TS)(a,{treeCls:y,treeNodeCls:b,treeNodePadding:E});return[Le(ue,ee),Ke(ee)]},ve=ue=>{const{controlHeightSM:a}=ue;return{titleHeight:a,nodeHoverBg:ue.controlItemBgHover,nodeSelectedBg:ue.controlItemBgActive}};st.ZP=(0,ze.Z)("Tree",(ue,a)=>{let{prefixCls:y}=a;return[{[ue.componentCls]:(0,ge.C2)(`${y}-checkbox`,ue)},De(y,ue),(0,Fe.Z)(ue)]},ue=>{const{colorTextLightSolid:a,colorPrimary:y}=ue;return Object.assign(Object.assign({},ve(ue)),{directoryNodeSelectedColor:a,directoryNodeSelectedBg:y})})},99184:function(mt,st,z){"use strict";z.d(st,{Z:function(){return y}});var x=z(87462),ge=z(67294),he={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M840.4 300H183.6c-19.7 0-30.7 20.8-18.5 35l328.4 380.8c9.4 10.9 27.5 10.9 37 0L858.9 335c12.2-14.2 1.2-35-18.5-35z"}}]},name:"caret-down",theme:"filled"},Fe=he,we=z(74643),ze=function(E,ee){return ge.createElement(we.Z,(0,x.Z)({},E,{ref:ee,icon:Fe}))},se=ge.forwardRef(ze),je=z(73148),Te=z(3407),Le=z(34182),Ke=z(74664),De=z(94184),ve=z.n(De),ue=z(96159),y=b=>{const{prefixCls:E,switcherIcon:ee,treeNodeProps:te,showLine:re}=b,{isLeaf:oe,expanded:ne,loading:de}=te;if(de)return ge.createElement(Te.Z,{className:`${E}-switcher-loading-icon`});let pe;if(re&&typeof re=="object"&&(pe=re.showLeafIcon),oe){if(!re)return null;if(typeof pe!="boolean"&&pe){const xe=typeof pe=="function"?pe(te):pe,Ce=`${E}-switcher-line-custom-icon`;return(0,ue.l$)(xe)?(0,ue.Tm)(xe,{className:ve()(xe.props.className||"",Ce)}):xe}return pe?ge.createElement(je.Z,{className:`${E}-switcher-line-icon`}):ge.createElement("span",{className:`${E}-switcher-leaf-line`})}const Ee=`${E}-switcher-icon`,be=typeof ee=="function"?ee(te):ee;return(0,ue.l$)(be)?(0,ue.Tm)(be,{className:ve()(be.props.className||"",Ee)}):be!==void 0?be:re?ne?ge.createElement(Le.Z,{className:`${E}-switcher-line-icon`}):ge.createElement(Ke.Z,{className:`${E}-switcher-line-icon`}):ge.createElement(se,{className:Ee})}},59810:function(mt,st,z){"use strict";z.d(st,{default:function(){return Vr}});var x=z(67294),ge=z(74902),he=z(94184),Fe=z.n(he),we=z(87462),ze=z(15671),se=z(43144),je=z(60136),Te=z(51630),Le=z(4942),Ke=z(45987),De=z(74165),ve=z(71002),ue=z(15861),a=z(64217);function y(ft,vn){var an="cannot ".concat(ft.method," ").concat(ft.action," ").concat(vn.status,"'"),mn=new Error(an);return mn.status=vn.status,mn.method=ft.method,mn.url=ft.action,mn}function b(ft){var vn=ft.responseText||ft.response;if(!vn)return vn;try{return JSON.parse(vn)}catch(an){return vn}}function E(ft){var vn=new XMLHttpRequest;ft.onProgress&&vn.upload&&(vn.upload.onprogress=function(fn){fn.total>0&&(fn.percent=fn.loaded/fn.total*100),ft.onProgress(fn)});var an=new FormData;ft.data&&Object.keys(ft.data).forEach(function(ca){var fn=ft.data[ca];if(Array.isArray(fn)){fn.forEach(function(la){an.append("".concat(ca,"[]"),la)});return}an.append(ca,fn)}),ft.file instanceof Blob?an.append(ft.filename,ft.file,ft.file.name):an.append(ft.filename,ft.file),vn.onerror=function(fn){ft.onError(fn)},vn.onload=function(){return vn.status<200||vn.status>=300?ft.onError(y(ft,vn),b(vn)):ft.onSuccess(b(vn),vn)},vn.open(ft.method,ft.action,!0),ft.withCredentials&&"withCredentials"in vn&&(vn.withCredentials=!0);var mn=ft.headers||{};return mn["X-Requested-With"]!==null&&vn.setRequestHeader("X-Requested-With","XMLHttpRequest"),Object.keys(mn).forEach(function(ca){mn[ca]!==null&&vn.setRequestHeader(ca,mn[ca])}),vn.send(an),{abort:function(){vn.abort()}}}var ee=+new Date,te=0;function re(){return"rc-upload-".concat(ee,"-").concat(++te)}var oe=z(80334),ne=function(ft,vn){if(ft&&vn){var an=Array.isArray(vn)?vn:vn.split(","),mn=ft.name||"",ca=ft.type||"",fn=ca.replace(/\/.*$/,"");return an.some(function(la){var Tn=la.trim();if(/^\*(\/\*)?$/.test(la))return!0;if(Tn.charAt(0)==="."){var Sa=mn.toLowerCase(),Qa=Tn.toLowerCase(),Br=[Qa];return(Qa===".jpg"||Qa===".jpeg")&&(Br=[".jpg",".jpeg"]),Br.some(function(no){return Sa.endsWith(no)})}return/\/\*$/.test(Tn)?fn===Tn.replace(/\/.*$/,""):ca===Tn?!0:/^\w+$/.test(Tn)?((0,oe.ZP)(!1,"Upload takes an invalidate 'accept' type '".concat(Tn,"'.Skip for check.")),!0):!1})}return!0};function de(ft,vn){var an=ft.createReader(),mn=[];function ca(){an.readEntries(function(fn){var la=Array.prototype.slice.apply(fn);mn=mn.concat(la);var Tn=!la.length;Tn?vn(mn):ca()})}ca()}var pe=function(vn,an,mn){var ca=function fn(la,Tn){la&&(la.path=Tn||"",la.isFile?la.file(function(Sa){mn(Sa)&&(la.fullPath&&!Sa.webkitRelativePath&&(Object.defineProperties(Sa,{webkitRelativePath:{writable:!0}}),Sa.webkitRelativePath=la.fullPath.replace(/^\//,""),Object.defineProperties(Sa,{webkitRelativePath:{writable:!1}})),an([Sa]))}):la.isDirectory&&de(la,function(Sa){Sa.forEach(function(Qa){fn(Qa,"".concat(Tn).concat(la.name,"/"))})}))};vn.forEach(function(fn){ca(fn.webkitGetAsEntry())})},Ee=pe,be=["component","prefixCls","className","disabled","id","style","multiple","accept","capture","children","directory","openFileDialogOnClick","onMouseEnter","onMouseLeave"],xe=function(ft){(0,je.Z)(an,ft);var vn=(0,Te.Z)(an);function an(){var mn;(0,ze.Z)(this,an);for(var ca=arguments.length,fn=new Array(ca),la=0;la<ca;la++)fn[la]=arguments[la];return mn=vn.call.apply(vn,[this].concat(fn)),mn.state={uid:re()},mn.reqs={},mn.fileInput=void 0,mn._isMounted=void 0,mn.onChange=function(Tn){var Sa=mn.props,Qa=Sa.accept,Br=Sa.directory,no=Tn.target.files,No=(0,ge.Z)(no).filter(function(Hn){return!Br||ne(Hn,Qa)});mn.uploadFiles(No),mn.reset()},mn.onClick=function(Tn){var Sa=mn.fileInput;if(Sa){var Qa=mn.props,Br=Qa.children,no=Qa.onClick;if(Br&&Br.type==="button"){var No=Sa.parentNode;No.focus(),No.querySelector("button").blur()}Sa.click(),no&&no(Tn)}},mn.onKeyDown=function(Tn){Tn.key==="Enter"&&mn.onClick(Tn)},mn.onFileDrop=function(Tn){var Sa=mn.props.multiple;if(Tn.preventDefault(),Tn.type!=="dragover")if(mn.props.directory)Ee(Array.prototype.slice.call(Tn.dataTransfer.items),mn.uploadFiles,function(Br){return ne(Br,mn.props.accept)});else{var Qa=(0,ge.Z)(Tn.dataTransfer.files).filter(function(Br){return ne(Br,mn.props.accept)});Sa===!1&&(Qa=Qa.slice(0,1)),mn.uploadFiles(Qa)}},mn.uploadFiles=function(Tn){var Sa=(0,ge.Z)(Tn),Qa=Sa.map(function(Br){return Br.uid=re(),mn.processFile(Br,Sa)});Promise.all(Qa).then(function(Br){var no=mn.props.onBatchStart;no==null||no(Br.map(function(No){var Hn=No.origin,Qi=No.parsedFile;return{file:Hn,parsedFile:Qi}})),Br.filter(function(No){return No.parsedFile!==null}).forEach(function(No){mn.post(No)})})},mn.processFile=function(){var Tn=(0,ue.Z)((0,De.Z)().mark(function Sa(Qa,Br){var no,No,Hn,Qi,yi,Yr,Pi,ha,tr;return(0,De.Z)().wrap(function(fa){for(;;)switch(fa.prev=fa.next){case 0:if(no=mn.props.beforeUpload,No=Qa,!no){fa.next=14;break}return fa.prev=3,fa.next=6,no(Qa,Br);case 6:No=fa.sent,fa.next=12;break;case 9:fa.prev=9,fa.t0=fa.catch(3),No=!1;case 12:if(No!==!1){fa.next=14;break}return fa.abrupt("return",{origin:Qa,parsedFile:null,action:null,data:null});case 14:if(Hn=mn.props.action,typeof Hn!="function"){fa.next=21;break}return fa.next=18,Hn(Qa);case 18:Qi=fa.sent,fa.next=22;break;case 21:Qi=Hn;case 22:if(yi=mn.props.data,typeof yi!="function"){fa.next=29;break}return fa.next=26,yi(Qa);case 26:Yr=fa.sent,fa.next=30;break;case 29:Yr=yi;case 30:return Pi=((0,ve.Z)(No)==="object"||typeof No=="string")&&No?No:Qa,Pi instanceof File?ha=Pi:ha=new File([Pi],Qa.name,{type:Qa.type}),tr=ha,tr.uid=Qa.uid,fa.abrupt("return",{origin:Qa,data:Yr,parsedFile:tr,action:Qi});case 35:case"end":return fa.stop()}},Sa,null,[[3,9]])}));return function(Sa,Qa){return Tn.apply(this,arguments)}}(),mn.saveFileInput=function(Tn){mn.fileInput=Tn},mn}return(0,se.Z)(an,[{key:"componentDidMount",value:function(){this._isMounted=!0}},{key:"componentWillUnmount",value:function(){this._isMounted=!1,this.abort()}},{key:"post",value:function(ca){var fn=this,la=ca.data,Tn=ca.origin,Sa=ca.action,Qa=ca.parsedFile;if(this._isMounted){var Br=this.props,no=Br.onStart,No=Br.customRequest,Hn=Br.name,Qi=Br.headers,yi=Br.withCredentials,Yr=Br.method,Pi=Tn.uid,ha=No||E,tr={action:Sa,filename:Hn,data:la,file:Qa,headers:Qi,withCredentials:yi,method:Yr||"post",onProgress:function(fa){var eo=fn.props.onProgress;eo==null||eo(fa,Qa)},onSuccess:function(fa,eo){var Oo=fn.props.onSuccess;Oo==null||Oo(fa,Qa,eo),delete fn.reqs[Pi]},onError:function(fa,eo){var Oo=fn.props.onError;Oo==null||Oo(fa,eo,Qa),delete fn.reqs[Pi]}};no(Tn),this.reqs[Pi]=ha(tr)}}},{key:"reset",value:function(){this.setState({uid:re()})}},{key:"abort",value:function(ca){var fn=this.reqs;if(ca){var la=ca.uid?ca.uid:ca;fn[la]&&fn[la].abort&&fn[la].abort(),delete fn[la]}else Object.keys(fn).forEach(function(Tn){fn[Tn]&&fn[Tn].abort&&fn[Tn].abort(),delete fn[Tn]})}},{key:"render",value:function(){var ca,fn=this.props,la=fn.component,Tn=fn.prefixCls,Sa=fn.className,Qa=fn.disabled,Br=fn.id,no=fn.style,No=fn.multiple,Hn=fn.accept,Qi=fn.capture,yi=fn.children,Yr=fn.directory,Pi=fn.openFileDialogOnClick,ha=fn.onMouseEnter,tr=fn.onMouseLeave,xr=(0,Ke.Z)(fn,be),fa=Fe()((ca={},(0,Le.Z)(ca,Tn,!0),(0,Le.Z)(ca,"".concat(Tn,"-disabled"),Qa),(0,Le.Z)(ca,Sa,Sa),ca)),eo=Yr?{directory:"directory",webkitdirectory:"webkitdirectory"}:{},Oo=Qa?{}:{onClick:Pi?this.onClick:function(){},onKeyDown:Pi?this.onKeyDown:function(){},onMouseEnter:ha,onMouseLeave:tr,onDrop:this.onFileDrop,onDragOver:this.onFileDrop,tabIndex:"0"};return x.createElement(la,(0,we.Z)({},Oo,{className:fa,role:"button",style:no}),x.createElement("input",(0,we.Z)({},(0,a.Z)(xr,{aria:!0,data:!0}),{id:Br,disabled:Qa,type:"file",ref:this.saveFileInput,onClick:function(fi){return fi.stopPropagation()},key:this.state.uid,style:{display:"none"},accept:Hn},eo,{multiple:No,onChange:this.onChange},Qi!=null?{capture:Qi}:{})),yi)}}]),an}(x.Component),Ce=xe;function Ne(){}var Re=function(ft){(0,je.Z)(an,ft);var vn=(0,Te.Z)(an);function an(){var mn;(0,ze.Z)(this,an);for(var ca=arguments.length,fn=new Array(ca),la=0;la<ca;la++)fn[la]=arguments[la];return mn=vn.call.apply(vn,[this].concat(fn)),mn.uploader=void 0,mn.saveUploader=function(Tn){mn.uploader=Tn},mn}return(0,se.Z)(an,[{key:"abort",value:function(ca){this.uploader.abort(ca)}},{key:"render",value:function(){return x.createElement(Ce,(0,we.Z)({},this.props,{ref:this.saveUploader}))}}]),an}(x.Component);Re.defaultProps={component:"span",prefixCls:"rc-upload",data:{},headers:{},name:"file",multipart:!1,onStart:Ne,onError:Ne,onSuccess:Ne,multiple:!1,beforeUpload:null,customRequest:null,withCredentials:!1,openFileDialogOnClick:!0};var at=Re,Ie=at,Ue=z(5663),Ge=z(73935),Ve=z(53124),rt=z(98866),gt=z(10110),xt=z(24457),Gt={icon:function(vn,an){return{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M534 352V136H232v752h560V394H576a42 42 0 01-42-42z",fill:an}},{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:vn}}]}},name:"file",theme:"twotone"},yn=Gt,lt=z(74643),ht=function(vn,an){return x.createElement(lt.Z,(0,we.Z)({},vn,{ref:an,icon:yn}))},Lt=x.forwardRef(ht),zt=z(3407),dt={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"},kt=dt,Ze=function(vn,an){return x.createElement(lt.Z,(0,we.Z)({},vn,{ref:an,icon:kt}))},Dn=x.forwardRef(Ze),zn={icon:function(vn,an){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:vn}},{tag:"path",attrs:{d:"M424.6 765.8l-150.1-178L136 752.1V792h752v-30.4L658.1 489z",fill:an}},{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:an}},{tag:"path",attrs:{d:"M276 368a28 28 0 1056 0 28 28 0 10-56 0z",fill:an}},{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:vn}}]}},name:"picture",theme:"twotone"},Dt=zn,rn=function(vn,an){return x.createElement(lt.Z,(0,we.Z)({},vn,{ref:an,icon:Dt}))},en=x.forwardRef(rn),Ht=z(38379),Et=z(57838),wn=z(33603),dn=z(96159),Bt=z(71577);function Bn(ft){return Object.assign(Object.assign({},ft),{lastModified:ft.lastModified,lastModifiedDate:ft.lastModifiedDate,name:ft.name,size:ft.size,type:ft.type,uid:ft.uid,percent:0,originFileObj:ft})}function Yt(ft,vn){const an=(0,ge.Z)(vn),mn=an.findIndex(ca=>{let{uid:fn}=ca;return fn===ft.uid});return mn===-1?an.push(ft):an[mn]=ft,an}function Xt(ft,vn){const an=ft.uid!==void 0?"uid":"name";return vn.filter(mn=>mn[an]===ft[an])[0]}function On(ft,vn){const an=ft.uid!==void 0?"uid":"name",mn=vn.filter(ca=>ca[an]!==ft[an]);return mn.length===vn.length?null:mn}const bn=function(){const vn=(arguments.length>0&&arguments[0]!==void 0?arguments[0]:"").split("/"),mn=vn[vn.length-1].split(/#|\?/)[0];return(/\.[^./\\]*$/.exec(mn)||[""])[0]},Je=ft=>ft.indexOf("image/")===0,He=ft=>{if(ft.type&&!ft.thumbUrl)return Je(ft.type);const vn=ft.thumbUrl||ft.url||"",an=bn(vn);return/^data:image\//.test(vn)||/(webp|svg|png|gif|jpg|jpeg|jfif|bmp|dpg|ico|heic|heif)$/i.test(an)?!0:!(/^data:/.test(vn)||an)},Xn=200;function Me(ft){return new Promise(vn=>{if(!ft.type||!Je(ft.type)){vn("");return}const an=document.createElement("canvas");an.width=Xn,an.height=Xn,an.style.cssText=`position: fixed; left: 0; top: 0; width: ${Xn}px; height: ${Xn}px; z-index: 9999; display: none;`,document.body.appendChild(an);const mn=an.getContext("2d"),ca=new Image;if(ca.onload=()=>{const{width:fn,height:la}=ca;let Tn=Xn,Sa=Xn,Qa=0,Br=0;fn>la?(Sa=la*(Xn/fn),Br=-(Sa-Tn)/2):(Tn=fn*(Xn/la),Qa=-(Tn-Sa)/2),mn.drawImage(ca,Qa,Br,Tn,Sa);const no=an.toDataURL();document.body.removeChild(an),window.URL.revokeObjectURL(ca.src),vn(no)},ca.crossOrigin="anonymous",ft.type.startsWith("image/svg+xml")){const fn=new FileReader;fn.onload=()=>{fn.result&&(ca.src=fn.result)},fn.readAsDataURL(ft)}else if(ft.type.startsWith("image/gif")){const fn=new FileReader;fn.onload=()=>{fn.result&&vn(fn.result)},fn.readAsDataURL(ft)}else ca.src=window.URL.createObjectURL(ft)})}var Xe=z(84249),Zt=z(90674),ot=z(99569),Ye=z(38703),bt=z(83062),Nt=x.forwardRef((ft,vn)=>{let{prefixCls:an,className:mn,style:ca,locale:fn,listType:la,file:Tn,items:Sa,progress:Qa,iconRender:Br,actionIconRender:no,itemRender:No,isImgUrl:Hn,showPreviewIcon:Qi,showRemoveIcon:yi,showDownloadIcon:Yr,previewIcon:Pi,removeIcon:ha,downloadIcon:tr,onPreview:xr,onDownload:fa,onClose:eo}=ft;var Oo,Ni;const{status:fi}=Tn,[Ii,Ol]=x.useState(fi);x.useEffect(()=>{fi!=="removed"&&Ol(fi)},[fi]);const[tl,fu]=x.useState(!1);x.useEffect(()=>{const nt=setTimeout(()=>{fu(!0)},300);return()=>{clearTimeout(nt)}},[]);const ga=Br(Tn);let lr=x.createElement("div",{className:`${an}-icon`},ga);if(la==="picture"||la==="picture-card"||la==="picture-circle")if(Ii==="uploading"||!Tn.thumbUrl&&!Tn.url){const nt=Fe()(`${an}-list-item-thumbnail`,{[`${an}-list-item-file`]:Ii!=="uploading"});lr=x.createElement("div",{className:nt},ga)}else{const nt=Hn!=null&&Hn(Tn)?x.createElement("img",{src:Tn.thumbUrl||Tn.url,alt:Tn.name,className:`${an}-list-item-image`,crossOrigin:Tn.crossOrigin}):ga,ct=Fe()(`${an}-list-item-thumbnail`,{[`${an}-list-item-file`]:Hn&&!Hn(Tn)});lr=x.createElement("a",{className:ct,onClick:vt=>xr(Tn,vt),href:Tn.url||Tn.thumbUrl,target:"_blank",rel:"noopener noreferrer"},nt)}const Ar=Fe()(`${an}-list-item`,`${an}-list-item-${Ii}`),Ai=typeof Tn.linkProps=="string"?JSON.parse(Tn.linkProps):Tn.linkProps,ul=yi?no((typeof ha=="function"?ha(Tn):ha)||x.createElement(Xe.Z,null),()=>eo(Tn),an,fn.removeFile):null,kl=Yr&&Ii==="done"?no((typeof tr=="function"?tr(Tn):tr)||x.createElement(Zt.Z,null),()=>fa(Tn),an,fn.downloadFile):null,vl=la!=="picture-card"&&la!=="picture-circle"&&x.createElement("span",{key:"download-delete",className:Fe()(`${an}-list-item-actions`,{picture:la==="picture"})},kl,ul),hl=Fe()(`${an}-list-item-name`),ru=Tn.url?[x.createElement("a",Object.assign({key:"view",target:"_blank",rel:"noopener noreferrer",className:hl,title:Tn.name},Ai,{href:Tn.url,onClick:nt=>xr(Tn,nt)}),Tn.name),vl]:[x.createElement("span",{key:"view",className:hl,onClick:nt=>xr(Tn,nt),title:Tn.name},Tn.name),vl],Po={pointerEvents:"none",opacity:.5},fe=Qi?x.createElement("a",{href:Tn.url||Tn.thumbUrl,target:"_blank",rel:"noopener noreferrer",style:Tn.url||Tn.thumbUrl?void 0:Po,onClick:nt=>xr(Tn,nt),title:fn.previewFile},typeof Pi=="function"?Pi(Tn):Pi||x.createElement(ot.Z,null)):null,ye=(la==="picture-card"||la==="picture-circle")&&Ii!=="uploading"&&x.createElement("span",{className:`${an}-list-item-actions`},fe,Ii==="done"&&kl,ul),{getPrefixCls:ke}=x.useContext(Ve.E_),Pe=ke(),et=x.createElement("div",{className:Ar},lr,ru,ye,tl&&x.createElement(Ht.default,{motionName:`${Pe}-fade`,visible:Ii==="uploading",motionDeadline:2e3},nt=>{let{className:ct}=nt;const vt="percent"in Tn?x.createElement(Ye.Z,Object.assign({},Qa,{type:"line",percent:Tn.percent,"aria-label":Tn["aria-label"],"aria-labelledby":Tn["aria-labelledby"]})):null;return x.createElement("div",{className:Fe()(`${an}-list-item-progress`,ct)},vt)})),ut=Tn.response&&typeof Tn.response=="string"?Tn.response:((Oo=Tn.error)===null||Oo===void 0?void 0:Oo.statusText)||((Ni=Tn.error)===null||Ni===void 0?void 0:Ni.message)||fn.uploadError,St=Ii==="error"?x.createElement(bt.Z,{title:ut,getPopupContainer:nt=>nt.parentNode},et):et;return x.createElement("div",{className:Fe()(`${an}-list-item-container`,mn),style:ca,ref:vn},No?No(St,Tn,Sa,{download:fa.bind(null,Tn),preview:xr.bind(null,Tn),remove:eo.bind(null,Tn)}):St)});const In=(ft,vn)=>{const{listType:an="text",previewFile:mn=Me,onPreview:ca,onDownload:fn,onRemove:la,locale:Tn,iconRender:Sa,isImageUrl:Qa=He,prefixCls:Br,items:no=[],showPreviewIcon:No=!0,showRemoveIcon:Hn=!0,showDownloadIcon:Qi=!1,removeIcon:yi,previewIcon:Yr,downloadIcon:Pi,progress:ha={size:[-1,2],showInfo:!1},appendAction:tr,appendActionVisible:xr=!0,itemRender:fa,disabled:eo}=ft,Oo=(0,Et.Z)(),[Ni,fi]=x.useState(!1);x.useEffect(()=>{an!=="picture"&&an!=="picture-card"&&an!=="picture-circle"||(no||[]).forEach(Po=>{typeof document=="undefined"||typeof window=="undefined"||!window.FileReader||!window.File||!(Po.originFileObj instanceof File||Po.originFileObj instanceof Blob)||Po.thumbUrl!==void 0||(Po.thumbUrl="",mn&&mn(Po.originFileObj).then(fe=>{Po.thumbUrl=fe||"",Oo()}))})},[an,no,mn]),x.useEffect(()=>{fi(!0)},[]);const Ii=(Po,fe)=>{if(ca)return fe==null||fe.preventDefault(),ca(Po)},Ol=Po=>{typeof fn=="function"?fn(Po):Po.url&&window.open(Po.url)},tl=Po=>{la==null||la(Po)},fu=Po=>{if(Sa)return Sa(Po,an);const fe=Po.status==="uploading",ye=Qa&&Qa(Po)?x.createElement(en,null):x.createElement(Lt,null);let ke=fe?x.createElement(zt.Z,null):x.createElement(Dn,null);return an==="picture"?ke=fe?x.createElement(zt.Z,null):ye:(an==="picture-card"||an==="picture-circle")&&(ke=fe?Tn.uploading:ye),ke},ga=(Po,fe,ye,ke)=>{const Pe={type:"text",size:"small",title:ke,onClick:et=>{fe(),(0,dn.l$)(Po)&&Po.props.onClick&&Po.props.onClick(et)},className:`${ye}-list-item-action`,disabled:eo};if((0,dn.l$)(Po)){const et=(0,dn.Tm)(Po,Object.assign(Object.assign({},Po.props),{onClick:()=>{}}));return x.createElement(Bt.ZP,Object.assign({},Pe,{icon:et}))}return x.createElement(Bt.ZP,Object.assign({},Pe),x.createElement("span",null,Po))};x.useImperativeHandle(vn,()=>({handlePreview:Ii,handleDownload:Ol}));const{getPrefixCls:lr}=x.useContext(Ve.E_),Ar=lr("upload",Br),Ai=lr(),ul=Fe()(`${Ar}-list`,`${Ar}-list-${an}`),kl=(0,ge.Z)(no.map(Po=>({key:Po.uid,file:Po})));let hl={motionDeadline:2e3,motionName:`${Ar}-${an==="picture-card"||an==="picture-circle"?"animate-inline":"animate"}`,keys:kl,motionAppear:Ni};const ru=x.useMemo(()=>{const Po=Object.assign({},(0,wn.Z)(Ai));return delete Po.onAppearEnd,delete Po.onEnterEnd,delete Po.onLeaveEnd,Po},[Ai]);return an!=="picture-card"&&an!=="picture-circle"&&(hl=Object.assign(Object.assign({},ru),hl)),x.createElement("div",{className:ul},x.createElement(Ht.CSSMotionList,Object.assign({},hl,{component:!1}),Po=>{let{key:fe,file:ye,className:ke,style:Pe}=Po;return x.createElement(Nt,{key:fe,locale:Tn,prefixCls:Ar,className:ke,style:Pe,file:ye,items:no,progress:ha,listType:an,isImgUrl:Qa,showPreviewIcon:No,showRemoveIcon:Hn,showDownloadIcon:Qi,removeIcon:yi,previewIcon:Yr,downloadIcon:Pi,iconRender:fu,actionIconRender:ga,itemRender:fa,onPreview:Ii,onDownload:Ol,onClose:tl})}),tr&&x.createElement(Ht.default,Object.assign({},hl,{visible:xr,forceRender:!0}),Po=>{let{className:fe,style:ye}=Po;return(0,dn.Tm)(tr,ke=>({className:Fe()(ke.className,fe),style:Object.assign(Object.assign(Object.assign({},ye),{pointerEvents:fe?"none":void 0}),ke.style)}))}))};var Kt=x.forwardRef(In),pt=z(14747),En=z(33507),Jt=z(67968),xn=z(45503),jn=ft=>{const{componentCls:vn,iconCls:an}=ft;return{[`${vn}-wrapper`]:{[`${vn}-drag`]:{position:"relative",width:"100%",height:"100%",textAlign:"center",background:ft.colorFillAlter,border:`${ft.lineWidth}px dashed ${ft.colorBorder}`,borderRadius:ft.borderRadiusLG,cursor:"pointer",transition:`border-color ${ft.motionDurationSlow}`,[vn]:{padding:`${ft.padding}px 0`},[`${vn}-btn`]:{display:"table",width:"100%",height:"100%",outline:"none"},[`${vn}-drag-container`]:{display:"table-cell",verticalAlign:"middle"},[`&:not(${vn}-disabled):hover`]:{borderColor:ft.colorPrimaryHover},[`p${vn}-drag-icon`]:{marginBottom:ft.margin,[an]:{color:ft.colorPrimary,fontSize:ft.uploadThumbnailSize}},[`p${vn}-text`]:{margin:`0 0 ${ft.marginXXS}px`,color:ft.colorTextHeading,fontSize:ft.fontSizeLG},[`p${vn}-hint`]:{color:ft.colorTextDescription,fontSize:ft.fontSize},[`&${vn}-disabled`]:{cursor:"not-allowed",[`p${vn}-drag-icon ${an},
|
|
p${vn}-text,
|
|
p${vn}-hint
|
|
`]:{color:ft.colorTextDisabled}}}}}},La=ft=>{const{componentCls:vn,antCls:an,iconCls:mn,fontSize:ca,lineHeight:fn}=ft,la=`${vn}-list-item`,Tn=`${la}-actions`,Sa=`${la}-action`,Qa=Math.round(ca*fn);return{[`${vn}-wrapper`]:{[`${vn}-list`]:Object.assign(Object.assign({},(0,pt.dF)()),{lineHeight:ft.lineHeight,[la]:{position:"relative",height:ft.lineHeight*ca,marginTop:ft.marginXS,fontSize:ca,display:"flex",alignItems:"center",transition:`background-color ${ft.motionDurationSlow}`,"&:hover":{backgroundColor:ft.controlItemBgHover},[`${la}-name`]:Object.assign(Object.assign({},pt.vS),{padding:`0 ${ft.paddingXS}px`,lineHeight:fn,flex:"auto",transition:`all ${ft.motionDurationSlow}`}),[Tn]:{[Sa]:{opacity:0},[`${Sa}${an}-btn-sm`]:{height:Qa,border:0,lineHeight:1,"> span":{transform:"scale(1)"}},[`
|
|
${Sa}:focus-visible,
|
|
&.picture ${Sa}
|
|
`]:{opacity:1},[mn]:{color:ft.actionsColor,transition:`all ${ft.motionDurationSlow}`},[`&:hover ${mn}`]:{color:ft.colorText}},[`${vn}-icon ${mn}`]:{color:ft.colorTextDescription,fontSize:ca},[`${la}-progress`]:{position:"absolute",bottom:-ft.uploadProgressOffset,width:"100%",paddingInlineStart:ca+ft.paddingXS,fontSize:ca,lineHeight:0,pointerEvents:"none","> div":{margin:0}}},[`${la}:hover ${Sa}`]:{opacity:1,color:ft.colorText},[`${la}-error`]:{color:ft.colorError,[`${la}-name, ${vn}-icon ${mn}`]:{color:ft.colorError},[Tn]:{[`${mn}, ${mn}:hover`]:{color:ft.colorError},[Sa]:{opacity:1}}},[`${vn}-list-item-container`]:{transition:`opacity ${ft.motionDurationSlow}, height ${ft.motionDurationSlow}`,"&::before":{display:"table",width:0,height:0,content:'""'}}})}}},on=z(45930),gn=z(16932);const Sn=new on.Keyframes("uploadAnimateInlineIn",{from:{width:0,height:0,margin:0,padding:0,opacity:0}}),Fa=new on.Keyframes("uploadAnimateInlineOut",{to:{width:0,height:0,margin:0,padding:0,opacity:0}});var ra=ft=>{const{componentCls:vn}=ft,an=`${vn}-animate-inline`;return[{[`${vn}-wrapper`]:{[`${an}-appear, ${an}-enter, ${an}-leave`]:{animationDuration:ft.motionDurationSlow,animationTimingFunction:ft.motionEaseInOutCirc,animationFillMode:"forwards"},[`${an}-appear, ${an}-enter`]:{animationName:Sn},[`${an}-leave`]:{animationName:Fa}}},{[`${vn}-wrapper`]:(0,gn.J$)(ft)},Sn,Fa]},Ga=z(47448),_a=z(84780);const Qr=ft=>{const{componentCls:vn,iconCls:an,uploadThumbnailSize:mn,uploadProgressOffset:ca}=ft,fn=`${vn}-list`,la=`${fn}-item`;return{[`${vn}-wrapper`]:{[`
|
|
${fn}${fn}-picture,
|
|
${fn}${fn}-picture-card,
|
|
${fn}${fn}-picture-circle
|
|
`]:{[la]:{position:"relative",height:mn+ft.lineWidth*2+ft.paddingXS*2,padding:ft.paddingXS,border:`${ft.lineWidth}px ${ft.lineType} ${ft.colorBorder}`,borderRadius:ft.borderRadiusLG,"&:hover":{background:"transparent"},[`${la}-thumbnail`]:Object.assign(Object.assign({},pt.vS),{width:mn,height:mn,lineHeight:`${mn+ft.paddingSM}px`,textAlign:"center",flex:"none",[an]:{fontSize:ft.fontSizeHeading2,color:ft.colorPrimary},img:{display:"block",width:"100%",height:"100%",overflow:"hidden"}}),[`${la}-progress`]:{bottom:ca,width:`calc(100% - ${ft.paddingSM*2}px)`,marginTop:0,paddingInlineStart:mn+ft.paddingXS}},[`${la}-error`]:{borderColor:ft.colorError,[`${la}-thumbnail ${an}`]:{[`svg path[fill='${Ga.blue[0]}']`]:{fill:ft.colorErrorBg},[`svg path[fill='${Ga.blue.primary}']`]:{fill:ft.colorError}}},[`${la}-uploading`]:{borderStyle:"dashed",[`${la}-name`]:{marginBottom:ca}}},[`${fn}${fn}-picture-circle ${la}`]:{[`&, &::before, ${la}-thumbnail`]:{borderRadius:"50%"}}}}},wo=ft=>{const{componentCls:vn,iconCls:an,fontSizeLG:mn,colorTextLightSolid:ca}=ft,fn=`${vn}-list`,la=`${fn}-item`,Tn=ft.uploadPicCardSize;return{[`
|
|
${vn}-wrapper${vn}-picture-card-wrapper,
|
|
${vn}-wrapper${vn}-picture-circle-wrapper
|
|
`]:Object.assign(Object.assign({},(0,pt.dF)()),{display:"inline-block",width:"100%",[`${vn}${vn}-select`]:{width:Tn,height:Tn,marginInlineEnd:ft.marginXS,marginBottom:ft.marginXS,textAlign:"center",verticalAlign:"top",backgroundColor:ft.colorFillAlter,border:`${ft.lineWidth}px dashed ${ft.colorBorder}`,borderRadius:ft.borderRadiusLG,cursor:"pointer",transition:`border-color ${ft.motionDurationSlow}`,[`> ${vn}`]:{display:"flex",alignItems:"center",justifyContent:"center",height:"100%",textAlign:"center"},[`&:not(${vn}-disabled):hover`]:{borderColor:ft.colorPrimary}},[`${fn}${fn}-picture-card, ${fn}${fn}-picture-circle`]:{[`${fn}-item-container`]:{display:"inline-block",width:Tn,height:Tn,marginBlock:`0 ${ft.marginXS}px`,marginInline:`0 ${ft.marginXS}px`,verticalAlign:"top"},"&::after":{display:"none"},[la]:{height:"100%",margin:0,"&::before":{position:"absolute",zIndex:1,width:`calc(100% - ${ft.paddingXS*2}px)`,height:`calc(100% - ${ft.paddingXS*2}px)`,backgroundColor:ft.colorBgMask,opacity:0,transition:`all ${ft.motionDurationSlow}`,content:'" "'}},[`${la}:hover`]:{[`&::before, ${la}-actions`]:{opacity:1}},[`${la}-actions`]:{position:"absolute",insetInlineStart:0,zIndex:10,width:"100%",whiteSpace:"nowrap",textAlign:"center",opacity:0,transition:`all ${ft.motionDurationSlow}`,[`${an}-eye, ${an}-download, ${an}-delete`]:{zIndex:10,width:mn,margin:`0 ${ft.marginXXS}px`,fontSize:mn,cursor:"pointer",transition:`all ${ft.motionDurationSlow}`,svg:{verticalAlign:"baseline"}}},[`${la}-actions, ${la}-actions:hover`]:{[`${an}-eye, ${an}-download, ${an}-delete`]:{color:new _a.C(ca).setAlpha(.65).toRgbString(),"&:hover":{color:ca}}},[`${la}-thumbnail, ${la}-thumbnail img`]:{position:"static",display:"block",width:"100%",height:"100%",objectFit:"contain"},[`${la}-name`]:{display:"none",textAlign:"center"},[`${la}-file + ${la}-name`]:{position:"absolute",bottom:ft.margin,display:"block",width:`calc(100% - ${ft.paddingXS*2}px)`},[`${la}-uploading`]:{[`&${la}`]:{backgroundColor:ft.colorFillAlter},[`&::before, ${an}-eye, ${an}-download, ${an}-delete`]:{display:"none"}},[`${la}-progress`]:{bottom:ft.marginXL,width:`calc(100% - ${ft.paddingXS*2}px)`,paddingInlineStart:0}}}),[`${vn}-wrapper${vn}-picture-circle-wrapper`]:{[`${vn}${vn}-select`]:{borderRadius:"50%"}}}};var wt=ft=>{const{componentCls:vn}=ft;return{[`${vn}-rtl`]:{direction:"rtl"}}};const Rt=ft=>{const{componentCls:vn,colorTextDisabled:an}=ft;return{[`${vn}-wrapper`]:Object.assign(Object.assign({},(0,pt.Wf)(ft)),{[vn]:{outline:0,"input[type='file']":{cursor:"pointer"}},[`${vn}-select`]:{display:"inline-block"},[`${vn}-disabled`]:{color:an,cursor:"not-allowed"}})}};var Ct=(0,Jt.Z)("Upload",ft=>{const{fontSizeHeading3:vn,fontSize:an,lineHeight:mn,lineWidth:ca,controlHeightLG:fn}=ft,la=Math.round(an*mn),Tn=(0,xn.TS)(ft,{uploadThumbnailSize:vn*2,uploadProgressOffset:la/2+ca,uploadPicCardSize:fn*2.55});return[Rt(Tn),jn(Tn),Qr(Tn),wo(Tn),La(Tn),ra(Tn),wt(Tn),(0,En.Z)(Tn)]},ft=>({actionsColor:ft.colorTextDescription})),qn=function(ft,vn,an,mn){function ca(fn){return fn instanceof an?fn:new an(function(la){la(fn)})}return new(an||(an=Promise))(function(fn,la){function Tn(Br){try{Qa(mn.next(Br))}catch(no){la(no)}}function Sa(Br){try{Qa(mn.throw(Br))}catch(no){la(no)}}function Qa(Br){Br.done?fn(Br.value):ca(Br.value).then(Tn,Sa)}Qa((mn=mn.apply(ft,vn||[])).next())})};const Qt=`__LIST_IGNORE_${Date.now()}__`,er=(ft,vn)=>{const{fileList:an,defaultFileList:mn,onRemove:ca,showUploadList:fn=!0,listType:la="text",onPreview:Tn,onDownload:Sa,onChange:Qa,onDrop:Br,previewFile:no,disabled:No,locale:Hn,iconRender:Qi,isImageUrl:yi,progress:Yr,prefixCls:Pi,className:ha,type:tr="select",children:xr,style:fa,itemRender:eo,maxCount:Oo,data:Ni={},multiple:fi=!1,action:Ii="",accept:Ol="",supportServerRender:tl=!0,rootClassName:fu}=ft,ga=x.useContext(rt.Z),lr=No!=null?No:ga,[Ar,Ai]=(0,Ue.Z)(mn||[],{value:an,postState:ma=>ma!=null?ma:[]}),[ul,kl]=x.useState("drop"),vl=x.useRef(null);x.useMemo(()=>{const ma=Date.now();(an||[]).forEach((za,Na)=>{!za.uid&&!Object.isFrozen(za)&&(za.uid=`__AUTO__${ma}_${Na}__`)})},[an]);const hl=(ma,za,Na)=>{let cr=(0,ge.Z)(za),br=!1;Oo===1?cr=cr.slice(-1):Oo&&(br=cr.length>Oo,cr=cr.slice(0,Oo)),(0,Ge.flushSync)(()=>{Ai(cr)});const oo={file:ma,fileList:cr};Na&&(oo.event=Na),(!br||cr.some(zo=>zo.uid===ma.uid))&&(0,Ge.flushSync)(()=>{Qa==null||Qa(oo)})},ru=(ma,za)=>qn(void 0,void 0,void 0,function*(){const{beforeUpload:Na,transformFile:cr}=ft;let br=ma;if(Na){const oo=yield Na(ma,za);if(oo===!1)return!1;if(delete ma[Qt],oo===Qt)return Object.defineProperty(ma,Qt,{value:!0,configurable:!0}),!1;typeof oo=="object"&&oo&&(br=oo)}return cr&&(br=yield cr(br)),br}),Po=ma=>{const za=ma.filter(br=>!br.file[Qt]);if(!za.length)return;const Na=za.map(br=>Bn(br.file));let cr=(0,ge.Z)(Ar);Na.forEach(br=>{cr=Yt(br,cr)}),Na.forEach((br,oo)=>{let zo=br;if(za[oo].parsedFile)br.status="uploading";else{const{originFileObj:ai}=br;let ya;try{ya=new File([ai],ai.name,{type:ai.type})}catch(ri){ya=new Blob([ai],{type:ai.type}),ya.name=ai.name,ya.lastModifiedDate=new Date,ya.lastModified=new Date().getTime()}ya.uid=br.uid,zo=ya}hl(zo,cr)})},fe=(ma,za,Na)=>{try{typeof ma=="string"&&(ma=JSON.parse(ma))}catch(oo){}if(!Xt(za,Ar))return;const cr=Bn(za);cr.status="done",cr.percent=100,cr.response=ma,cr.xhr=Na;const br=Yt(cr,Ar);hl(cr,br)},ye=(ma,za)=>{if(!Xt(za,Ar))return;const Na=Bn(za);Na.status="uploading",Na.percent=ma.percent;const cr=Yt(Na,Ar);hl(Na,cr,ma)},ke=(ma,za,Na)=>{if(!Xt(Na,Ar))return;const cr=Bn(Na);cr.error=ma,cr.response=za,cr.status="error";const br=Yt(cr,Ar);hl(cr,br)},Pe=ma=>{let za;Promise.resolve(typeof ca=="function"?ca(ma):ca).then(Na=>{var cr;if(Na===!1)return;const br=On(ma,Ar);br&&(za=Object.assign(Object.assign({},ma),{status:"removed"}),Ar==null||Ar.forEach(oo=>{const zo=za.uid!==void 0?"uid":"name";oo[zo]===za[zo]&&!Object.isFrozen(oo)&&(oo.status="removed")}),(cr=vl.current)===null||cr===void 0||cr.abort(za),hl(za,br))})},et=ma=>{kl(ma.type),ma.type==="drop"&&(Br==null||Br(ma))};x.useImperativeHandle(vn,()=>({onBatchStart:Po,onSuccess:fe,onProgress:ye,onError:ke,fileList:Ar,upload:vl.current}));const{getPrefixCls:ut,direction:St,upload:nt}=x.useContext(Ve.E_),ct=ut("upload",Pi),vt=Object.assign(Object.assign({onBatchStart:Po,onError:ke,onProgress:ye,onSuccess:fe},ft),{data:Ni,multiple:fi,action:Ii,accept:Ol,supportServerRender:tl,prefixCls:ct,disabled:lr,beforeUpload:ru,onChange:void 0});delete vt.className,delete vt.style,(!xr||lr)&&delete vt.id;const[hn,Cn]=Ct(ct),[oa]=(0,gt.Z)("Upload",xt.Z.Upload),{showRemoveIcon:$n,showPreviewIcon:Ia,showDownloadIcon:xa,removeIcon:Mn,previewIcon:jt,downloadIcon:Fn}=typeof fn=="boolean"?{}:fn,Rn=(ma,za)=>fn?x.createElement(Kt,{prefixCls:ct,listType:la,items:Ar,previewFile:no,onPreview:Tn,onDownload:Sa,onRemove:Pe,showRemoveIcon:!lr&&$n,showPreviewIcon:Ia,showDownloadIcon:xa,removeIcon:Mn,previewIcon:jt,downloadIcon:Fn,iconRender:Qi,locale:Object.assign(Object.assign({},oa),Hn),isImageUrl:yi,progress:Yr,appendAction:ma,appendActionVisible:za,itemRender:eo,disabled:lr}):ma,Ca=Fe()(`${ct}-wrapper`,ha,fu,Cn,nt==null?void 0:nt.className,{[`${ct}-rtl`]:St==="rtl",[`${ct}-picture-card-wrapper`]:la==="picture-card",[`${ct}-picture-circle-wrapper`]:la==="picture-circle"}),Ta=Object.assign(Object.assign({},nt==null?void 0:nt.style),fa);if(tr==="drag"){const ma=Fe()(Cn,ct,`${ct}-drag`,{[`${ct}-drag-uploading`]:Ar.some(za=>za.status==="uploading"),[`${ct}-drag-hover`]:ul==="dragover",[`${ct}-disabled`]:lr,[`${ct}-rtl`]:St==="rtl"});return hn(x.createElement("span",{className:Ca},x.createElement("div",{className:ma,style:Ta,onDrop:et,onDragOver:et,onDragLeave:et},x.createElement(Ie,Object.assign({},vt,{ref:vl,className:`${ct}-btn`}),x.createElement("div",{className:`${ct}-drag-container`},xr))),Rn()))}const Ma=Fe()(ct,`${ct}-select`,{[`${ct}-disabled`]:lr}),Za=(ma=>x.createElement("div",{className:Ma,style:ma},x.createElement(Ie,Object.assign({},vt,{ref:vl}))))(xr?void 0:{display:"none"});return hn(la==="picture-card"||la==="picture-circle"?x.createElement("span",{className:Ca},Rn(Za,!!xr)):x.createElement("span",{className:Ca},Za,Rn()))};var ao=x.forwardRef(er),rr=function(ft,vn){var an={};for(var mn in ft)Object.prototype.hasOwnProperty.call(ft,mn)&&vn.indexOf(mn)<0&&(an[mn]=ft[mn]);if(ft!=null&&typeof Object.getOwnPropertySymbols=="function")for(var ca=0,mn=Object.getOwnPropertySymbols(ft);ca<mn.length;ca++)vn.indexOf(mn[ca])<0&&Object.prototype.propertyIsEnumerable.call(ft,mn[ca])&&(an[mn[ca]]=ft[mn[ca]]);return an},Jo=x.forwardRef((ft,vn)=>{var{style:an,height:mn}=ft,ca=rr(ft,["style","height"]);return x.createElement(ao,Object.assign({ref:vn},ca,{type:"drag",style:Object.assign(Object.assign({},an),{height:mn})}))});const da=ao;da.Dragger=Jo,da.LIST_IGNORE=Qt;var Vr=da},97909:function(mt){(function(st,z){mt.exports=z()})(this,function(){"use strict";var st=1e3,z=6e4,x=36e5,ge="millisecond",he="second",Fe="minute",we="hour",ze="day",se="week",je="month",Te="quarter",Le="year",Ke="date",De="Invalid Date",ve=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,ue=/\[([^\]]+)]|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(be){var xe=["th","st","nd","rd"],Ce=be%100;return"["+be+(xe[(Ce-20)%10]||xe[Ce]||xe[0])+"]"}},y=function(be,xe,Ce){var Ne=String(be);return!Ne||Ne.length>=xe?be:""+Array(xe+1-Ne.length).join(Ce)+be},b={s:y,z:function(be){var xe=-be.utcOffset(),Ce=Math.abs(xe),Ne=Math.floor(Ce/60),Re=Ce%60;return(xe<=0?"+":"-")+y(Ne,2,"0")+":"+y(Re,2,"0")},m:function be(xe,Ce){if(xe.date()<Ce.date())return-be(Ce,xe);var Ne=12*(Ce.year()-xe.year())+(Ce.month()-xe.month()),Re=xe.clone().add(Ne,je),at=Ce-Re<0,Ie=xe.clone().add(Ne+(at?-1:1),je);return+(-(Ne+(Ce-Re)/(at?Re-Ie:Ie-Re))||0)},a:function(be){return be<0?Math.ceil(be)||0:Math.floor(be)},p:function(be){return{M:je,y:Le,w:se,d:ze,D:Ke,h:we,m:Fe,s:he,ms:ge,Q:Te}[be]||String(be||"").toLowerCase().replace(/s$/,"")},u:function(be){return be===void 0}},E="en",ee={};ee[E]=a;var te="$isDayjsObject",re=function(be){return be instanceof pe||!(!be||!be[te])},oe=function be(xe,Ce,Ne){var Re;if(!xe)return E;if(typeof xe=="string"){var at=xe.toLowerCase();ee[at]&&(Re=at),Ce&&(ee[at]=Ce,Re=at);var Ie=xe.split("-");if(!Re&&Ie.length>1)return be(Ie[0])}else{var Ue=xe.name;ee[Ue]=xe,Re=Ue}return!Ne&&Re&&(E=Re),Re||!Ne&&E},ne=function(be,xe){if(re(be))return be.clone();var Ce=typeof xe=="object"?xe:{};return Ce.date=be,Ce.args=arguments,new pe(Ce)},de=b;de.l=oe,de.i=re,de.w=function(be,xe){return ne(be,{locale:xe.$L,utc:xe.$u,x:xe.$x,$offset:xe.$offset})};var pe=function(){function be(Ce){this.$L=oe(Ce.locale,null,!0),this.parse(Ce),this.$x=this.$x||Ce.x||{},this[te]=!0}var xe=be.prototype;return xe.parse=function(Ce){this.$d=function(Ne){var Re=Ne.date,at=Ne.utc;if(Re===null)return new Date(NaN);if(de.u(Re))return new Date;if(Re instanceof Date)return new Date(Re);if(typeof Re=="string"&&!/Z$/i.test(Re)){var Ie=Re.match(ve);if(Ie){var Ue=Ie[2]-1||0,Ge=(Ie[7]||"0").substring(0,3);return at?new Date(Date.UTC(Ie[1],Ue,Ie[3]||1,Ie[4]||0,Ie[5]||0,Ie[6]||0,Ge)):new Date(Ie[1],Ue,Ie[3]||1,Ie[4]||0,Ie[5]||0,Ie[6]||0,Ge)}}return new Date(Re)}(Ce),this.init()},xe.init=function(){var Ce=this.$d;this.$y=Ce.getFullYear(),this.$M=Ce.getMonth(),this.$D=Ce.getDate(),this.$W=Ce.getDay(),this.$H=Ce.getHours(),this.$m=Ce.getMinutes(),this.$s=Ce.getSeconds(),this.$ms=Ce.getMilliseconds()},xe.$utils=function(){return de},xe.isValid=function(){return this.$d.toString()!==De},xe.isSame=function(Ce,Ne){var Re=ne(Ce);return this.startOf(Ne)<=Re&&Re<=this.endOf(Ne)},xe.isAfter=function(Ce,Ne){return ne(Ce)<this.startOf(Ne)},xe.isBefore=function(Ce,Ne){return this.endOf(Ne)<ne(Ce)},xe.$g=function(Ce,Ne,Re){return de.u(Ce)?this[Ne]:this.set(Re,Ce)},xe.unix=function(){return Math.floor(this.valueOf()/1e3)},xe.valueOf=function(){return this.$d.getTime()},xe.startOf=function(Ce,Ne){var Re=this,at=!!de.u(Ne)||Ne,Ie=de.p(Ce),Ue=function(lt,ht){var Lt=de.w(Re.$u?Date.UTC(Re.$y,ht,lt):new Date(Re.$y,ht,lt),Re);return at?Lt:Lt.endOf(ze)},Ge=function(lt,ht){return de.w(Re.toDate()[lt].apply(Re.toDate("s"),(at?[0,0,0,0]:[23,59,59,999]).slice(ht)),Re)},Ve=this.$W,rt=this.$M,gt=this.$D,xt="set"+(this.$u?"UTC":"");switch(Ie){case Le:return at?Ue(1,0):Ue(31,11);case je:return at?Ue(1,rt):Ue(0,rt+1);case se:var Gt=this.$locale().weekStart||0,yn=(Ve<Gt?Ve+7:Ve)-Gt;return Ue(at?gt-yn:gt+(6-yn),rt);case ze:case Ke:return Ge(xt+"Hours",0);case we:return Ge(xt+"Minutes",1);case Fe:return Ge(xt+"Seconds",2);case he:return Ge(xt+"Milliseconds",3);default:return this.clone()}},xe.endOf=function(Ce){return this.startOf(Ce,!1)},xe.$set=function(Ce,Ne){var Re,at=de.p(Ce),Ie="set"+(this.$u?"UTC":""),Ue=(Re={},Re[ze]=Ie+"Date",Re[Ke]=Ie+"Date",Re[je]=Ie+"Month",Re[Le]=Ie+"FullYear",Re[we]=Ie+"Hours",Re[Fe]=Ie+"Minutes",Re[he]=Ie+"Seconds",Re[ge]=Ie+"Milliseconds",Re)[at],Ge=at===ze?this.$D+(Ne-this.$W):Ne;if(at===je||at===Le){var Ve=this.clone().set(Ke,1);Ve.$d[Ue](Ge),Ve.init(),this.$d=Ve.set(Ke,Math.min(this.$D,Ve.daysInMonth())).$d}else Ue&&this.$d[Ue](Ge);return this.init(),this},xe.set=function(Ce,Ne){return this.clone().$set(Ce,Ne)},xe.get=function(Ce){return this[de.p(Ce)]()},xe.add=function(Ce,Ne){var Re,at=this;Ce=Number(Ce);var Ie=de.p(Ne),Ue=function(rt){var gt=ne(at);return de.w(gt.date(gt.date()+Math.round(rt*Ce)),at)};if(Ie===je)return this.set(je,this.$M+Ce);if(Ie===Le)return this.set(Le,this.$y+Ce);if(Ie===ze)return Ue(1);if(Ie===se)return Ue(7);var Ge=(Re={},Re[Fe]=z,Re[we]=x,Re[he]=st,Re)[Ie]||1,Ve=this.$d.getTime()+Ce*Ge;return de.w(Ve,this)},xe.subtract=function(Ce,Ne){return this.add(-1*Ce,Ne)},xe.format=function(Ce){var Ne=this,Re=this.$locale();if(!this.isValid())return Re.invalidDate||De;var at=Ce||"YYYY-MM-DDTHH:mm:ssZ",Ie=de.z(this),Ue=this.$H,Ge=this.$m,Ve=this.$M,rt=Re.weekdays,gt=Re.months,xt=Re.meridiem,Gt=function(ht,Lt,zt,dt){return ht&&(ht[Lt]||ht(Ne,at))||zt[Lt].slice(0,dt)},yn=function(ht){return de.s(Ue%12||12,ht,"0")},lt=xt||function(ht,Lt,zt){var dt=ht<12?"AM":"PM";return zt?dt.toLowerCase():dt};return at.replace(ue,function(ht,Lt){return Lt||function(zt){switch(zt){case"YY":return String(Ne.$y).slice(-2);case"YYYY":return de.s(Ne.$y,4,"0");case"M":return Ve+1;case"MM":return de.s(Ve+1,2,"0");case"MMM":return Gt(Re.monthsShort,Ve,gt,3);case"MMMM":return Gt(gt,Ve);case"D":return Ne.$D;case"DD":return de.s(Ne.$D,2,"0");case"d":return String(Ne.$W);case"dd":return Gt(Re.weekdaysMin,Ne.$W,rt,2);case"ddd":return Gt(Re.weekdaysShort,Ne.$W,rt,3);case"dddd":return rt[Ne.$W];case"H":return String(Ue);case"HH":return de.s(Ue,2,"0");case"h":return yn(1);case"hh":return yn(2);case"a":return lt(Ue,Ge,!0);case"A":return lt(Ue,Ge,!1);case"m":return String(Ge);case"mm":return de.s(Ge,2,"0");case"s":return String(Ne.$s);case"ss":return de.s(Ne.$s,2,"0");case"SSS":return de.s(Ne.$ms,3,"0");case"Z":return Ie}return null}(ht)||Ie.replace(":","")})},xe.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},xe.diff=function(Ce,Ne,Re){var at,Ie=this,Ue=de.p(Ne),Ge=ne(Ce),Ve=(Ge.utcOffset()-this.utcOffset())*z,rt=this-Ge,gt=function(){return de.m(Ie,Ge)};switch(Ue){case Le:at=gt()/12;break;case je:at=gt();break;case Te:at=gt()/3;break;case se:at=(rt-Ve)/6048e5;break;case ze:at=(rt-Ve)/864e5;break;case we:at=rt/x;break;case Fe:at=rt/z;break;case he:at=rt/st;break;default:at=rt}return Re?at:de.a(at)},xe.daysInMonth=function(){return this.endOf(je).$D},xe.$locale=function(){return ee[this.$L]},xe.locale=function(Ce,Ne){if(!Ce)return this.$L;var Re=this.clone(),at=oe(Ce,Ne,!0);return at&&(Re.$L=at),Re},xe.clone=function(){return de.w(this.$d,this)},xe.toDate=function(){return new Date(this.valueOf())},xe.toJSON=function(){return this.isValid()?this.toISOString():null},xe.toISOString=function(){return this.$d.toISOString()},xe.toString=function(){return this.$d.toUTCString()},be}(),Ee=pe.prototype;return ne.prototype=Ee,[["$ms",ge],["$s",he],["$m",Fe],["$H",we],["$W",ze],["$M",je],["$y",Le],["$D",Ke]].forEach(function(be){Ee[be[1]]=function(xe){return this.$g(xe,be[0],be[1])}}),ne.extend=function(be,xe){return be.$i||(be(xe,pe,ne),be.$i=!0),ne},ne.locale=oe,ne.isDayjs=re,ne.unix=function(be){return ne(1e3*be)},ne.en=ee[E],ne.Ls=ee,ne.p={},ne})},86625:function(mt){(function(st,z){mt.exports=z()})(this,function(){"use strict";return function(st,z){var x=z.prototype,ge=x.format;x.format=function(he){var Fe=this,we=this.$locale();if(!this.isValid())return ge.bind(this)(he);var ze=this.$utils(),se=(he||"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(je){switch(je){case"Q":return Math.ceil((Fe.$M+1)/3);case"Do":return we.ordinal(Fe.$D);case"gggg":return Fe.weekYear();case"GGGG":return Fe.isoWeekYear();case"wo":return we.ordinal(Fe.week(),"W");case"w":case"ww":return ze.s(Fe.week(),je==="w"?1:2,"0");case"W":case"WW":return ze.s(Fe.isoWeek(),je==="W"?1:2,"0");case"k":case"kk":return ze.s(String(Fe.$H===0?24:Fe.$H),je==="k"?1:2,"0");case"X":return Math.floor(Fe.$d.getTime()/1e3);case"x":return Fe.$d.getTime();case"z":return"["+Fe.offsetName()+"]";case"zzz":return"["+Fe.offsetName("long")+"]";default:return je}});return ge.bind(this)(se)}}})},40618:function(mt){(function(st,z){mt.exports=z()})(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"},z=/(\[[^[]*\])|([-_:/.,()\s]+)|(A|a|YYYY|YY?|MM?M?M?|Do|DD?|hh?|HH?|mm?|ss?|S{1,3}|z|ZZ?)/g,x=/\d\d/,ge=/\d\d?/,he=/\d*[^-_:/,()\s\d]+/,Fe={},we=function(De){return(De=+De)+(De>68?1900:2e3)},ze=function(De){return function(ve){this[De]=+ve}},se=[/[+-]\d\d:?(\d\d)?|Z/,function(De){(this.zone||(this.zone={})).offset=function(ve){if(!ve||ve==="Z")return 0;var ue=ve.match(/([+-]|\d\d)/g),a=60*ue[1]+(+ue[2]||0);return a===0?0:ue[0]==="+"?-a:a}(De)}],je=function(De){var ve=Fe[De];return ve&&(ve.indexOf?ve:ve.s.concat(ve.f))},Te=function(De,ve){var ue,a=Fe.meridiem;if(a){for(var y=1;y<=24;y+=1)if(De.indexOf(a(y,0,ve))>-1){ue=y>12;break}}else ue=De===(ve?"pm":"PM");return ue},Le={A:[he,function(De){this.afternoon=Te(De,!1)}],a:[he,function(De){this.afternoon=Te(De,!0)}],S:[/\d/,function(De){this.milliseconds=100*+De}],SS:[x,function(De){this.milliseconds=10*+De}],SSS:[/\d{3}/,function(De){this.milliseconds=+De}],s:[ge,ze("seconds")],ss:[ge,ze("seconds")],m:[ge,ze("minutes")],mm:[ge,ze("minutes")],H:[ge,ze("hours")],h:[ge,ze("hours")],HH:[ge,ze("hours")],hh:[ge,ze("hours")],D:[ge,ze("day")],DD:[x,ze("day")],Do:[he,function(De){var ve=Fe.ordinal,ue=De.match(/\d+/);if(this.day=ue[0],ve)for(var a=1;a<=31;a+=1)ve(a).replace(/\[|\]/g,"")===De&&(this.day=a)}],M:[ge,ze("month")],MM:[x,ze("month")],MMM:[he,function(De){var ve=je("months"),ue=(je("monthsShort")||ve.map(function(a){return a.slice(0,3)})).indexOf(De)+1;if(ue<1)throw new Error;this.month=ue%12||ue}],MMMM:[he,function(De){var ve=je("months").indexOf(De)+1;if(ve<1)throw new Error;this.month=ve%12||ve}],Y:[/[+-]?\d+/,ze("year")],YY:[x,function(De){this.year=we(De)}],YYYY:[/\d{4}/,ze("year")],Z:se,ZZ:se};function Ke(De){var ve,ue;ve=De,ue=Fe&&Fe.formats;for(var a=(De=ve.replace(/(\[[^\]]+])|(LTS?|l{1,4}|L{1,4})/g,function(oe,ne,de){var pe=de&&de.toUpperCase();return ne||ue[de]||st[de]||ue[pe].replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g,function(Ee,be,xe){return be||xe.slice(1)})})).match(z),y=a.length,b=0;b<y;b+=1){var E=a[b],ee=Le[E],te=ee&&ee[0],re=ee&&ee[1];a[b]=re?{regex:te,parser:re}:E.replace(/^\[|\]$/g,"")}return function(oe){for(var ne={},de=0,pe=0;de<y;de+=1){var Ee=a[de];if(typeof Ee=="string")pe+=Ee.length;else{var be=Ee.regex,xe=Ee.parser,Ce=oe.slice(pe),Ne=be.exec(Ce)[0];xe.call(ne,Ne),oe=oe.replace(Ne,"")}}return function(Re){var at=Re.afternoon;if(at!==void 0){var Ie=Re.hours;at?Ie<12&&(Re.hours+=12):Ie===12&&(Re.hours=0),delete Re.afternoon}}(ne),ne}}return function(De,ve,ue){ue.p.customParseFormat=!0,De&&De.parseTwoDigitYear&&(we=De.parseTwoDigitYear);var a=ve.prototype,y=a.parse;a.parse=function(b){var E=b.date,ee=b.utc,te=b.args;this.$u=ee;var re=te[1];if(typeof re=="string"){var oe=te[2]===!0,ne=te[3]===!0,de=oe||ne,pe=te[2];ne&&(pe=te[2]),Fe=this.$locale(),!oe&&pe&&(Fe=ue.Ls[pe]),this.$d=function(Ce,Ne,Re){try{if(["x","X"].indexOf(Ne)>-1)return new Date((Ne==="X"?1e3:1)*Ce);var at=Ke(Ne)(Ce),Ie=at.year,Ue=at.month,Ge=at.day,Ve=at.hours,rt=at.minutes,gt=at.seconds,xt=at.milliseconds,Gt=at.zone,yn=new Date,lt=Ge||(Ie||Ue?1:yn.getDate()),ht=Ie||yn.getFullYear(),Lt=0;Ie&&!Ue||(Lt=Ue>0?Ue-1:yn.getMonth());var zt=Ve||0,dt=rt||0,kt=gt||0,Ze=xt||0;return Gt?new Date(Date.UTC(ht,Lt,lt,zt,dt,kt,Ze+60*Gt.offset*1e3)):Re?new Date(Date.UTC(ht,Lt,lt,zt,dt,kt,Ze)):new Date(ht,Lt,lt,zt,dt,kt,Ze)}catch(Dn){return new Date("")}}(E,re,ee),this.init(),pe&&pe!==!0&&(this.$L=this.locale(pe).$L),de&&E!=this.format(re)&&(this.$d=new Date("")),Fe={}}else if(re instanceof Array)for(var Ee=re.length,be=1;be<=Ee;be+=1){te[1]=re[be-1];var xe=ue.apply(this,te);if(xe.isValid()){this.$d=xe.$d,this.$L=xe.$L,this.init();break}be===Ee&&(this.$d=new Date(""))}else y.call(this,b)}}})},26850:function(mt){(function(st,z){mt.exports=z()})(this,function(){"use strict";return function(st,z,x){var ge=z.prototype,he=function(je){return je&&(je.indexOf?je:je.s)},Fe=function(je,Te,Le,Ke,De){var ve=je.name?je:je.$locale(),ue=he(ve[Te]),a=he(ve[Le]),y=ue||a.map(function(E){return E.slice(0,Ke)});if(!De)return y;var b=ve.weekStart;return y.map(function(E,ee){return y[(ee+(b||0))%7]})},we=function(){return x.Ls[x.locale()]},ze=function(je,Te){return je.formats[Te]||function(Le){return Le.replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g,function(Ke,De,ve){return De||ve.slice(1)})}(je.formats[Te.toUpperCase()])},se=function(){var je=this;return{months:function(Te){return Te?Te.format("MMMM"):Fe(je,"months")},monthsShort:function(Te){return Te?Te.format("MMM"):Fe(je,"monthsShort","months",3)},firstDayOfWeek:function(){return je.$locale().weekStart||0},weekdays:function(Te){return Te?Te.format("dddd"):Fe(je,"weekdays")},weekdaysMin:function(Te){return Te?Te.format("dd"):Fe(je,"weekdaysMin","weekdays",2)},weekdaysShort:function(Te){return Te?Te.format("ddd"):Fe(je,"weekdaysShort","weekdays",3)},longDateFormat:function(Te){return ze(je.$locale(),Te)},meridiem:this.$locale().meridiem,ordinal:this.$locale().ordinal}};ge.localeData=function(){return se.bind(this)()},x.localeData=function(){var je=we();return{firstDayOfWeek:function(){return je.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(Te){return ze(je,Te)},meridiem:je.meridiem,ordinal:je.ordinal}},x.months=function(){return Fe(we(),"months")},x.monthsShort=function(){return Fe(we(),"monthsShort","months",3)},x.weekdays=function(je){return Fe(we(),"weekdays",null,null,je)},x.weekdaysShort=function(je){return Fe(we(),"weekdaysShort","weekdays",3,je)},x.weekdaysMin=function(je){return Fe(we(),"weekdaysMin","weekdays",2,je)}}})},23082:function(mt){(function(st,z){mt.exports=z()})(this,function(){"use strict";var st="week",z="year";return function(x,ge,he){var Fe=ge.prototype;Fe.week=function(we){if(we===void 0&&(we=null),we!==null)return this.add(7*(we-this.week()),"day");var ze=this.$locale().yearStart||1;if(this.month()===11&&this.date()>25){var se=he(this).startOf(z).add(1,z).date(ze),je=he(this).endOf(st);if(se.isBefore(je))return 1}var Te=he(this).startOf(z).date(ze).startOf(st).subtract(1,"millisecond"),Le=this.diff(Te,st,!0);return Le<0?he(this).startOf("week").week():Math.ceil(Le)},Fe.weeks=function(we){return we===void 0&&(we=null),this.week(we)}}})},99873:function(mt){(function(st,z){mt.exports=z()})(this,function(){"use strict";return function(st,z){z.prototype.weekYear=function(){var x=this.month(),ge=this.week(),he=this.year();return ge===1&&x===11?he+1:x===0&&ge>=52?he-1:he}}})},33088:function(mt){(function(st,z){mt.exports=z()})(this,function(){"use strict";return function(st,z){z.prototype.weekday=function(x){var ge=this.$locale().weekStart||0,he=this.$W,Fe=(he<ge?he+7:he)-ge;return this.$utils().u(x)?Fe:this.subtract(Fe,"day").add(x,"day")}}})},62661:function(mt,st){"use strict";var z;var x=Symbol.for("react.element"),ge=Symbol.for("react.portal"),he=Symbol.for("react.fragment"),Fe=Symbol.for("react.strict_mode"),we=Symbol.for("react.profiler"),ze=Symbol.for("react.provider"),se=Symbol.for("react.context"),je=Symbol.for("react.server_context"),Te=Symbol.for("react.forward_ref"),Le=Symbol.for("react.suspense"),Ke=Symbol.for("react.suspense_list"),De=Symbol.for("react.memo"),ve=Symbol.for("react.lazy"),ue=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 he:case we:case Fe:case Le:case Ke:return b;default:switch(b=b&&b.$$typeof,b){case je:case se:case Te:case ve:case De:case ze:return b;default:return E}}case ge:return E}}}z=se,z=ze,z=x,z=Te,z=he,z=ve,z=De,z=ge,z=we,z=Fe,z=Le,z=Ke,z=function(){return!1},z=function(){return!1},z=function(b){return y(b)===se},z=function(b){return y(b)===ze},z=function(b){return typeof b=="object"&&b!==null&&b.$$typeof===x},z=function(b){return y(b)===Te},z=function(b){return y(b)===he},z=function(b){return y(b)===ve},st.isMemo=function(b){return y(b)===De},z=function(b){return y(b)===ge},z=function(b){return y(b)===we},z=function(b){return y(b)===Fe},z=function(b){return y(b)===Le},z=function(b){return y(b)===Ke},z=function(b){return typeof b=="string"||typeof b=="function"||b===he||b===we||b===Fe||b===Le||b===Ke||b===ue||typeof b=="object"&&b!==null&&(b.$$typeof===ve||b.$$typeof===De||b.$$typeof===ze||b.$$typeof===se||b.$$typeof===Te||b.$$typeof===a||b.getModuleId!==void 0)},z=y},95845:function(mt,st,z){"use strict";mt.exports=z(62661)},72665:function(mt,st){"use strict";var z;var x=typeof Symbol=="function"&&Symbol.for,ge=x?Symbol.for("react.element"):60103,he=x?Symbol.for("react.portal"):60106,Fe=x?Symbol.for("react.fragment"):60107,we=x?Symbol.for("react.strict_mode"):60108,ze=x?Symbol.for("react.profiler"):60114,se=x?Symbol.for("react.provider"):60109,je=x?Symbol.for("react.context"):60110,Te=x?Symbol.for("react.async_mode"):60111,Le=x?Symbol.for("react.concurrent_mode"):60111,Ke=x?Symbol.for("react.forward_ref"):60112,De=x?Symbol.for("react.suspense"):60113,ve=x?Symbol.for("react.suspense_list"):60120,ue=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,ee=x?Symbol.for("react.scope"):60119;function te(oe){if(typeof oe=="object"&&oe!==null){var ne=oe.$$typeof;switch(ne){case ge:switch(oe=oe.type,oe){case Te:case Le:case Fe:case ze:case we:case De:return oe;default:switch(oe=oe&&oe.$$typeof,oe){case je:case Ke:case a:case ue:case se:return oe;default:return ne}}case he:return ne}}}function re(oe){return te(oe)===Le}z=Te,z=Le,z=je,z=se,z=ge,z=Ke,z=Fe,z=a,z=ue,z=he,z=ze,z=we,z=De,z=function(oe){return re(oe)||te(oe)===Te},z=re,z=function(oe){return te(oe)===je},z=function(oe){return te(oe)===se},z=function(oe){return typeof oe=="object"&&oe!==null&&oe.$$typeof===ge},z=function(oe){return te(oe)===Ke},z=function(oe){return te(oe)===Fe},z=function(oe){return te(oe)===a},st.isMemo=function(oe){return te(oe)===ue},z=function(oe){return te(oe)===he},z=function(oe){return te(oe)===ze},z=function(oe){return te(oe)===we},z=function(oe){return te(oe)===De},z=function(oe){return typeof oe=="string"||typeof oe=="function"||oe===Fe||oe===Le||oe===ze||oe===we||oe===De||oe===ve||typeof oe=="object"&&oe!==null&&(oe.$$typeof===a||oe.$$typeof===ue||oe.$$typeof===se||oe.$$typeof===je||oe.$$typeof===Ke||oe.$$typeof===b||oe.$$typeof===E||oe.$$typeof===ee||oe.$$typeof===y)},z=te},12060:function(mt,st,z){"use strict";mt.exports=z(72665)},15633:function(mt,st){"use strict";var z;var x=typeof Symbol=="function"&&Symbol.for,ge=x?Symbol.for("react.element"):60103,he=x?Symbol.for("react.portal"):60106,Fe=x?Symbol.for("react.fragment"):60107,we=x?Symbol.for("react.strict_mode"):60108,ze=x?Symbol.for("react.profiler"):60114,se=x?Symbol.for("react.provider"):60109,je=x?Symbol.for("react.context"):60110,Te=x?Symbol.for("react.async_mode"):60111,Le=x?Symbol.for("react.concurrent_mode"):60111,Ke=x?Symbol.for("react.forward_ref"):60112,De=x?Symbol.for("react.suspense"):60113,ve=x?Symbol.for("react.suspense_list"):60120,ue=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,ee=x?Symbol.for("react.scope"):60119;function te(oe){if(typeof oe=="object"&&oe!==null){var ne=oe.$$typeof;switch(ne){case ge:switch(oe=oe.type,oe){case Te:case Le:case Fe:case ze:case we:case De:return oe;default:switch(oe=oe&&oe.$$typeof,oe){case je:case Ke:case a:case ue:case se:return oe;default:return ne}}case he:return ne}}}function re(oe){return te(oe)===Le}z=Te,z=Le,z=je,z=se,z=ge,z=Ke,z=Fe,z=a,z=ue,z=he,z=ze,z=we,z=De,z=function(oe){return re(oe)||te(oe)===Te},z=re,z=function(oe){return te(oe)===je},z=function(oe){return te(oe)===se},z=function(oe){return typeof oe=="object"&&oe!==null&&oe.$$typeof===ge},z=function(oe){return te(oe)===Ke},z=function(oe){return te(oe)===Fe},z=function(oe){return te(oe)===a},st.isMemo=function(oe){return te(oe)===ue},z=function(oe){return te(oe)===he},z=function(oe){return te(oe)===ze},z=function(oe){return te(oe)===we},z=function(oe){return te(oe)===De},z=function(oe){return typeof oe=="string"||typeof oe=="function"||oe===Fe||oe===Le||oe===ze||oe===we||oe===De||oe===ve||typeof oe=="object"&&oe!==null&&(oe.$$typeof===a||oe.$$typeof===ue||oe.$$typeof===se||oe.$$typeof===je||oe.$$typeof===Ke||oe.$$typeof===b||oe.$$typeof===E||oe.$$typeof===ee||oe.$$typeof===y)},z=te},49286:function(mt,st,z){"use strict";mt.exports=z(15633)},56261:function(mt,st,z){"use strict";z.d(st,{Z:function(){return pe}});var x=z(87462),ge=z(4942),he=z(45987),Fe=z(1413),we=z(15671),ze=z(43144),se=z(97326),je=z(60136),Te=z(51630),Le=z(94184),Ke=z.n(Le),De=z(34952),ve=z(67294),ue=z(69610),a=function(be){for(var xe=be.prefixCls,Ce=be.level,Ne=be.isStart,Re=be.isEnd,at="".concat(xe,"-indent-unit"),Ie=[],Ue=0;Ue<Ce;Ue+=1){var Ge;Ie.push(ve.createElement("span",{key:Ue,className:Ke()(at,(Ge={},(0,ge.Z)(Ge,"".concat(at,"-start"),Ne[Ue]),(0,ge.Z)(Ge,"".concat(at,"-end"),Re[Ue]),Ge))}))}return ve.createElement("span",{"aria-hidden":"true",className:"".concat(xe,"-indent")},Ie)},y=ve.memo(a),b=z(3596),E=z(83898),ee=["eventKey","className","style","dragOver","dragOverGapTop","dragOverGapBottom","isLeaf","isStart","isEnd","expanded","selected","checked","halfChecked","loading","domRef","active","data","onMouseMove","selectable"],te="open",re="close",oe="---",ne=function(Ee){(0,je.Z)(xe,Ee);var be=(0,Te.Z)(xe);function xe(){var Ce;(0,we.Z)(this,xe);for(var Ne=arguments.length,Re=new Array(Ne),at=0;at<Ne;at++)Re[at]=arguments[at];return Ce=be.call.apply(be,[this].concat(Re)),Ce.state={dragNodeHighlight:!1},Ce.selectHandle=void 0,Ce.cacheIndent=void 0,Ce.onSelectorClick=function(Ie){var Ue=Ce.props.context.onNodeClick;Ue(Ie,(0,E.F)(Ce.props)),Ce.isSelectable()?Ce.onSelect(Ie):Ce.onCheck(Ie)},Ce.onSelectorDoubleClick=function(Ie){var Ue=Ce.props.context.onNodeDoubleClick;Ue(Ie,(0,E.F)(Ce.props))},Ce.onSelect=function(Ie){if(!Ce.isDisabled()){var Ue=Ce.props.context.onNodeSelect;Ue(Ie,(0,E.F)(Ce.props))}},Ce.onCheck=function(Ie){if(!Ce.isDisabled()){var Ue=Ce.props,Ge=Ue.disableCheckbox,Ve=Ue.checked,rt=Ce.props.context.onNodeCheck;if(!(!Ce.isCheckable()||Ge)){var gt=!Ve;rt(Ie,(0,E.F)(Ce.props),gt)}}},Ce.onMouseEnter=function(Ie){var Ue=Ce.props.context.onNodeMouseEnter;Ue(Ie,(0,E.F)(Ce.props))},Ce.onMouseLeave=function(Ie){var Ue=Ce.props.context.onNodeMouseLeave;Ue(Ie,(0,E.F)(Ce.props))},Ce.onContextMenu=function(Ie){var Ue=Ce.props.context.onNodeContextMenu;Ue(Ie,(0,E.F)(Ce.props))},Ce.onDragStart=function(Ie){var Ue=Ce.props.context.onNodeDragStart;Ie.stopPropagation(),Ce.setState({dragNodeHighlight:!0}),Ue(Ie,(0,se.Z)(Ce));try{Ie.dataTransfer.setData("text/plain","")}catch(Ge){}},Ce.onDragEnter=function(Ie){var Ue=Ce.props.context.onNodeDragEnter;Ie.preventDefault(),Ie.stopPropagation(),Ue(Ie,(0,se.Z)(Ce))},Ce.onDragOver=function(Ie){var Ue=Ce.props.context.onNodeDragOver;Ie.preventDefault(),Ie.stopPropagation(),Ue(Ie,(0,se.Z)(Ce))},Ce.onDragLeave=function(Ie){var Ue=Ce.props.context.onNodeDragLeave;Ie.stopPropagation(),Ue(Ie,(0,se.Z)(Ce))},Ce.onDragEnd=function(Ie){var Ue=Ce.props.context.onNodeDragEnd;Ie.stopPropagation(),Ce.setState({dragNodeHighlight:!1}),Ue(Ie,(0,se.Z)(Ce))},Ce.onDrop=function(Ie){var Ue=Ce.props.context.onNodeDrop;Ie.preventDefault(),Ie.stopPropagation(),Ce.setState({dragNodeHighlight:!1}),Ue(Ie,(0,se.Z)(Ce))},Ce.onExpand=function(Ie){var Ue=Ce.props,Ge=Ue.loading,Ve=Ue.context.onNodeExpand;Ge||Ve(Ie,(0,E.F)(Ce.props))},Ce.setSelectHandle=function(Ie){Ce.selectHandle=Ie},Ce.getNodeState=function(){var Ie=Ce.props.expanded;return Ce.isLeaf()?null:Ie?te:re},Ce.hasChildren=function(){var Ie=Ce.props.eventKey,Ue=Ce.props.context.keyEntities,Ge=(0,b.Z)(Ue,Ie)||{},Ve=Ge.children;return!!(Ve||[]).length},Ce.isLeaf=function(){var Ie=Ce.props,Ue=Ie.isLeaf,Ge=Ie.loaded,Ve=Ce.props.context.loadData,rt=Ce.hasChildren();return Ue===!1?!1:Ue||!Ve&&!rt||Ve&&Ge&&!rt},Ce.isDisabled=function(){var Ie=Ce.props.disabled,Ue=Ce.props.context.disabled;return!!(Ue||Ie)},Ce.isCheckable=function(){var Ie=Ce.props.checkable,Ue=Ce.props.context.checkable;return!Ue||Ie===!1?!1:Ue},Ce.syncLoadData=function(Ie){var Ue=Ie.expanded,Ge=Ie.loading,Ve=Ie.loaded,rt=Ce.props.context,gt=rt.loadData,xt=rt.onNodeLoad;Ge||gt&&Ue&&!Ce.isLeaf()&&!Ce.hasChildren()&&!Ve&&xt((0,E.F)(Ce.props))},Ce.isDraggable=function(){var Ie=Ce.props,Ue=Ie.data,Ge=Ie.context.draggable;return!!(Ge&&(!Ge.nodeDraggable||Ge.nodeDraggable(Ue)))},Ce.renderDragHandler=function(){var Ie=Ce.props.context,Ue=Ie.draggable,Ge=Ie.prefixCls;return Ue!=null&&Ue.icon?ve.createElement("span",{className:"".concat(Ge,"-draggable-icon")},Ue.icon):null},Ce.renderSwitcherIconDom=function(Ie){var Ue=Ce.props.switcherIcon,Ge=Ce.props.context.switcherIcon,Ve=Ue||Ge;return typeof Ve=="function"?Ve((0,Fe.Z)((0,Fe.Z)({},Ce.props),{},{isLeaf:Ie})):Ve},Ce.renderSwitcher=function(){var Ie=Ce.props.expanded,Ue=Ce.props.context.prefixCls;if(Ce.isLeaf()){var Ge=Ce.renderSwitcherIconDom(!0);return Ge!==!1?ve.createElement("span",{className:Ke()("".concat(Ue,"-switcher"),"".concat(Ue,"-switcher-noop"))},Ge):null}var Ve=Ke()("".concat(Ue,"-switcher"),"".concat(Ue,"-switcher_").concat(Ie?te:re)),rt=Ce.renderSwitcherIconDom(!1);return rt!==!1?ve.createElement("span",{onClick:Ce.onExpand,className:Ve},rt):null},Ce.renderCheckbox=function(){var Ie=Ce.props,Ue=Ie.checked,Ge=Ie.halfChecked,Ve=Ie.disableCheckbox,rt=Ce.props.context.prefixCls,gt=Ce.isDisabled(),xt=Ce.isCheckable();if(!xt)return null;var Gt=typeof xt!="boolean"?xt:null;return ve.createElement("span",{className:Ke()("".concat(rt,"-checkbox"),Ue&&"".concat(rt,"-checkbox-checked"),!Ue&&Ge&&"".concat(rt,"-checkbox-indeterminate"),(gt||Ve)&&"".concat(rt,"-checkbox-disabled")),onClick:Ce.onCheck},Gt)},Ce.renderIcon=function(){var Ie=Ce.props.loading,Ue=Ce.props.context.prefixCls;return ve.createElement("span",{className:Ke()("".concat(Ue,"-iconEle"),"".concat(Ue,"-icon__").concat(Ce.getNodeState()||"docu"),Ie&&"".concat(Ue,"-icon_loading"))})},Ce.renderSelector=function(){var Ie=Ce.state.dragNodeHighlight,Ue=Ce.props,Ge=Ue.title,Ve=Ge===void 0?oe:Ge,rt=Ue.selected,gt=Ue.icon,xt=Ue.loading,Gt=Ue.data,yn=Ce.props.context,lt=yn.prefixCls,ht=yn.showIcon,Lt=yn.icon,zt=yn.loadData,dt=yn.titleRender,kt=Ce.isDisabled(),Ze="".concat(lt,"-node-content-wrapper"),Dn;if(ht){var zn=gt||Lt;Dn=zn?ve.createElement("span",{className:Ke()("".concat(lt,"-iconEle"),"".concat(lt,"-icon__customize"))},typeof zn=="function"?zn(Ce.props):zn):Ce.renderIcon()}else zt&&xt&&(Dn=Ce.renderIcon());var Dt;typeof Ve=="function"?Dt=Ve(Gt):dt?Dt=dt(Gt):Dt=Ve;var rn=ve.createElement("span",{className:"".concat(lt,"-title")},Dt);return ve.createElement("span",{ref:Ce.setSelectHandle,title:typeof Ve=="string"?Ve:"",className:Ke()("".concat(Ze),"".concat(Ze,"-").concat(Ce.getNodeState()||"normal"),!kt&&(rt||Ie)&&"".concat(lt,"-node-selected")),onMouseEnter:Ce.onMouseEnter,onMouseLeave:Ce.onMouseLeave,onContextMenu:Ce.onContextMenu,onClick:Ce.onSelectorClick,onDoubleClick:Ce.onSelectorDoubleClick},Dn,rn,Ce.renderDropIndicator())},Ce.renderDropIndicator=function(){var Ie=Ce.props,Ue=Ie.disabled,Ge=Ie.eventKey,Ve=Ce.props.context,rt=Ve.draggable,gt=Ve.dropLevelOffset,xt=Ve.dropPosition,Gt=Ve.prefixCls,yn=Ve.indent,lt=Ve.dropIndicatorRender,ht=Ve.dragOverNodeKey,Lt=Ve.direction,zt=!!rt,dt=!Ue&&zt&&ht===Ge,kt=yn!=null?yn:Ce.cacheIndent;return Ce.cacheIndent=yn,dt?lt({dropPosition:xt,dropLevelOffset:gt,indent:kt,prefixCls:Gt,direction:Lt}):null},Ce}return(0,ze.Z)(xe,[{key:"componentDidMount",value:function(){this.syncLoadData(this.props)}},{key:"componentDidUpdate",value:function(){this.syncLoadData(this.props)}},{key:"isSelectable",value:function(){var Ne=this.props.selectable,Re=this.props.context.selectable;return typeof Ne=="boolean"?Ne:Re}},{key:"render",value:function(){var Ne,Re=this.props,at=Re.eventKey,Ie=Re.className,Ue=Re.style,Ge=Re.dragOver,Ve=Re.dragOverGapTop,rt=Re.dragOverGapBottom,gt=Re.isLeaf,xt=Re.isStart,Gt=Re.isEnd,yn=Re.expanded,lt=Re.selected,ht=Re.checked,Lt=Re.halfChecked,zt=Re.loading,dt=Re.domRef,kt=Re.active,Ze=Re.data,Dn=Re.onMouseMove,zn=Re.selectable,Dt=(0,he.Z)(Re,ee),rn=this.props.context,en=rn.prefixCls,Ht=rn.filterTreeNode,Et=rn.keyEntities,wn=rn.dropContainerKey,dn=rn.dropTargetKey,Bt=rn.draggingNodeKey,Bn=this.isDisabled(),Yt=(0,De.Z)(Dt,{aria:!0,data:!0}),Xt=(0,b.Z)(Et,at)||{},On=Xt.level,bn=Gt[Gt.length-1],Je=this.isDraggable(),He=!Bn&&Je,Xn=Bt===at,Me=zn!==void 0?{"aria-selected":!!zn}:void 0;return ve.createElement("div",(0,x.Z)({ref:dt,className:Ke()(Ie,"".concat(en,"-treenode"),(Ne={},(0,ge.Z)(Ne,"".concat(en,"-treenode-disabled"),Bn),(0,ge.Z)(Ne,"".concat(en,"-treenode-switcher-").concat(yn?"open":"close"),!gt),(0,ge.Z)(Ne,"".concat(en,"-treenode-checkbox-checked"),ht),(0,ge.Z)(Ne,"".concat(en,"-treenode-checkbox-indeterminate"),Lt),(0,ge.Z)(Ne,"".concat(en,"-treenode-selected"),lt),(0,ge.Z)(Ne,"".concat(en,"-treenode-loading"),zt),(0,ge.Z)(Ne,"".concat(en,"-treenode-active"),kt),(0,ge.Z)(Ne,"".concat(en,"-treenode-leaf-last"),bn),(0,ge.Z)(Ne,"".concat(en,"-treenode-draggable"),Je),(0,ge.Z)(Ne,"dragging",Xn),(0,ge.Z)(Ne,"drop-target",dn===at),(0,ge.Z)(Ne,"drop-container",wn===at),(0,ge.Z)(Ne,"drag-over",!Bn&&Ge),(0,ge.Z)(Ne,"drag-over-gap-top",!Bn&&Ve),(0,ge.Z)(Ne,"drag-over-gap-bottom",!Bn&&rt),(0,ge.Z)(Ne,"filter-node",Ht&&Ht((0,E.F)(this.props))),Ne)),style:Ue,draggable:He,"aria-grabbed":Xn,onDragStart:He?this.onDragStart:void 0,onDragEnter:Je?this.onDragEnter:void 0,onDragOver:Je?this.onDragOver:void 0,onDragLeave:Je?this.onDragLeave:void 0,onDrop:Je?this.onDrop:void 0,onDragEnd:Je?this.onDragEnd:void 0,onMouseMove:Dn},Me,Yt),ve.createElement(y,{prefixCls:en,level:On,isStart:xt,isEnd:Gt}),this.renderDragHandler(),this.renderSwitcher(),this.renderCheckbox(),this.renderSelector())}}]),xe}(ve.Component),de=function(be){return ve.createElement(ue.k.Consumer,null,function(xe){return ve.createElement(ne,(0,x.Z)({},be,{context:xe}))})};de.displayName="TreeNode",de.isTreeNode=1;var pe=de},69610:function(mt,st,z){"use strict";z.d(st,{k:function(){return ge}});var x=z(67294),ge=x.createContext(null)},29873:function(mt,st,z){"use strict";z.d(st,{BT:function(){return y},E6:function(){return ee},L0:function(){return Le},OM:function(){return a},_5:function(){return Te},r7:function(){return te},wA:function(){return De},yx:function(){return Ke}});var x=z(74902),ge=z(71002),he=z(72978),Fe=z(67294),we=z(56261),ze=z(3596),se=z(83898),je=null;function Te(re,oe){if(!re)return[];var ne=re.slice(),de=ne.indexOf(oe);return de>=0&&ne.splice(de,1),ne}function Le(re,oe){var ne=(re||[]).slice();return ne.indexOf(oe)===-1&&ne.push(oe),ne}function Ke(re){return re.split("-")}function De(re,oe){var ne=[],de=(0,ze.Z)(oe,re);function pe(){var Ee=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];Ee.forEach(function(be){var xe=be.key,Ce=be.children;ne.push(xe),pe(Ce)})}return pe(de.children),ne}function ve(re){if(re.parent){var oe=Ke(re.pos);return Number(oe[oe.length-1])===re.parent.children.length-1}return!1}function ue(re){var oe=Ke(re.pos);return Number(oe[oe.length-1])===0}function a(re,oe,ne,de,pe,Ee,be,xe,Ce,Ne){var Re,at=re.clientX,Ie=re.clientY,Ue=re.target.getBoundingClientRect(),Ge=Ue.top,Ve=Ue.height,rt=(Ne==="rtl"?-1:1)*(((pe==null?void 0:pe.x)||0)-at),gt=(rt-12)/de,xt=(0,ze.Z)(xe,ne.props.eventKey);if(Ie<Ge+Ve/2){var Gt=be.findIndex(function(rn){return rn.key===xt.key}),yn=Gt<=0?0:Gt-1,lt=be[yn].key;xt=(0,ze.Z)(xe,lt)}var ht=xt.key,Lt=xt,zt=xt.key,dt=0,kt=0;if(!Ce.includes(ht))for(var Ze=0;Ze<gt&&ve(xt);Ze+=1)xt=xt.parent,kt+=1;var Dn=oe.props.data,zn=xt.node,Dt=!0;return ue(xt)&&xt.level===0&&Ie<Ge+Ve/2&&Ee({dragNode:Dn,dropNode:zn,dropPosition:-1})&&xt.key===ne.props.eventKey?dt=-1:(Lt.children||[]).length&&Ce.includes(zt)?Ee({dragNode:Dn,dropNode:zn,dropPosition:0})?dt=0:Dt=!1:kt===0?gt>-1.5?Ee({dragNode:Dn,dropNode:zn,dropPosition:1})?dt=1:Dt=!1:Ee({dragNode:Dn,dropNode:zn,dropPosition:0})?dt=0:Ee({dragNode:Dn,dropNode:zn,dropPosition:1})?dt=1:Dt=!1:Ee({dragNode:Dn,dropNode:zn,dropPosition:1})?dt=1:Dt=!1,{dropPosition:dt,dropLevelOffset:kt,dropTargetKey:xt.key,dropTargetPos:xt.pos,dragOverNodeKey:zt,dropContainerKey:dt===0?null:((Re=xt.parent)===null||Re===void 0?void 0:Re.key)||null,dropAllowed:Dt}}function y(re,oe){if(re){var ne=oe.multiple;return ne?re.slice():re.length?[re[0]]:re}}var b=function(oe){return oe};function E(re,oe){if(!re)return[];var ne=oe||{},de=ne.processProps,pe=de===void 0?b:de,Ee=Array.isArray(re)?re:[re];return Ee.map(function(be){var xe=be.children,Ce=_objectWithoutProperties(be,je),Ne=E(xe,oe);return React.createElement(TreeNode,_extends({key:Ce.key},pe(Ce)),Ne)})}function ee(re){if(!re)return null;var oe;if(Array.isArray(re))oe={checkedKeys:re,halfCheckedKeys:void 0};else if((0,ge.Z)(re)==="object")oe={checkedKeys:re.checked||void 0,halfCheckedKeys:re.halfChecked||void 0};else return(0,he.ZP)(!1,"`checkedKeys` is not an array or an object"),null;return oe}function te(re,oe){var ne=new Set;function de(pe){if(!ne.has(pe)){var Ee=(0,ze.Z)(oe,pe);if(Ee){ne.add(pe);var be=Ee.parent,xe=Ee.node;xe.disabled||be&&de(be.key)}}}return(re||[]).forEach(function(pe){de(pe)}),(0,x.Z)(ne)}},97153:function(mt,st,z){"use strict";z.d(st,{S:function(){return se}});var x=z(72978),ge=z(3596);function he(je,Te){var Le=new Set;return je.forEach(function(Ke){Te.has(Ke)||Le.add(Ke)}),Le}function Fe(je){var Te=je||{},Le=Te.disabled,Ke=Te.disableCheckbox,De=Te.checkable;return!!(Le||Ke)||De===!1}function we(je,Te,Le,Ke){for(var De=new Set(je),ve=new Set,ue=0;ue<=Le;ue+=1){var a=Te.get(ue)||new Set;a.forEach(function(ee){var te=ee.key,re=ee.node,oe=ee.children,ne=oe===void 0?[]:oe;De.has(te)&&!Ke(re)&&ne.filter(function(de){return!Ke(de.node)}).forEach(function(de){De.add(de.key)})})}for(var y=new Set,b=Le;b>=0;b-=1){var E=Te.get(b)||new Set;E.forEach(function(ee){var te=ee.parent,re=ee.node;if(!(Ke(re)||!ee.parent||y.has(ee.parent.key))){if(Ke(ee.parent.node)){y.add(te.key);return}var oe=!0,ne=!1;(te.children||[]).filter(function(de){return!Ke(de.node)}).forEach(function(de){var pe=de.key,Ee=De.has(pe);oe&&!Ee&&(oe=!1),!ne&&(Ee||ve.has(pe))&&(ne=!0)}),oe&&De.add(te.key),ne&&ve.add(te.key),y.add(te.key)}})}return{checkedKeys:Array.from(De),halfCheckedKeys:Array.from(he(ve,De))}}function ze(je,Te,Le,Ke,De){for(var ve=new Set(je),ue=new Set(Te),a=0;a<=Ke;a+=1){var y=Le.get(a)||new Set;y.forEach(function(te){var re=te.key,oe=te.node,ne=te.children,de=ne===void 0?[]:ne;!ve.has(re)&&!ue.has(re)&&!De(oe)&&de.filter(function(pe){return!De(pe.node)}).forEach(function(pe){ve.delete(pe.key)})})}ue=new Set;for(var b=new Set,E=Ke;E>=0;E-=1){var ee=Le.get(E)||new Set;ee.forEach(function(te){var re=te.parent,oe=te.node;if(!(De(oe)||!te.parent||b.has(te.parent.key))){if(De(te.parent.node)){b.add(re.key);return}var ne=!0,de=!1;(re.children||[]).filter(function(pe){return!De(pe.node)}).forEach(function(pe){var Ee=pe.key,be=ve.has(Ee);ne&&!be&&(ne=!1),!de&&(be||ue.has(Ee))&&(de=!0)}),ne||ve.delete(re.key),de&&ue.add(re.key),b.add(re.key)}})}return{checkedKeys:Array.from(ve),halfCheckedKeys:Array.from(he(ue,ve))}}function se(je,Te,Le,Ke){var De=[],ve;Ke?ve=Ke:ve=Fe;var ue=new Set(je.filter(function(E){var ee=!!(0,ge.Z)(Le,E);return ee||De.push(E),ee})),a=new Map,y=0;Object.keys(Le).forEach(function(E){var ee=Le[E],te=ee.level,re=a.get(te);re||(re=new Set,a.set(te,re)),re.add(ee),y=Math.max(y,te)}),(0,x.ZP)(!De.length,"Tree missing follow keys: ".concat(De.slice(0,100).map(function(E){return"'".concat(E,"'")}).join(", ")));var b;return Te===!0?b=we(ue,a,y,ve):b=ze(ue,Te.halfCheckedKeys,a,y,ve),b}},3596:function(mt,st,z){"use strict";z.d(st,{Z:function(){return x}});function x(ge,he){return ge[he]}},83898:function(mt,st,z){"use strict";z.d(st,{I8:function(){return te},F:function(){return oe},zn:function(){return b},w$:function(){return a},oH:function(){return E},km:function(){return ue},H8:function(){return re}});var x=z(71002),ge=z(74902),he=z(1413),Fe=z(45987),we=z(67294),ze=z(28580);function se(ne){var de=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},pe=[];return we.Children.forEach(ne,function(Ee){Ee==null&&!de.keepEmpty||(Array.isArray(Ee)?pe=pe.concat(se(Ee)):(0,ze.isFragment)(Ee)&&Ee.props?pe=pe.concat(se(Ee.props.children,de)):pe.push(Ee))}),pe}function je(ne,de){var pe=(0,he.Z)({},ne);return Array.isArray(de)&&de.forEach(function(Ee){delete pe[Ee]}),pe}var Te=z(72978),Le=z(3596),Ke=["children"];function De(ne,de){return"".concat(ne,"-").concat(de)}function ve(ne){return ne&&ne.type&&ne.type.isTreeNode}function ue(ne,de){return ne!=null?ne:de}function a(ne){var de=ne||{},pe=de.title,Ee=de._title,be=de.key,xe=de.children,Ce=pe||"title";return{title:Ce,_title:Ee||[Ce],key:be||"key",children:xe||"children"}}function y(ne,de){var pe=new Map;function Ee(be){var xe=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";(be||[]).forEach(function(Ce){var Ne=Ce[de.key],Re=Ce[de.children];warning(Ne!=null,"Tree node must have a certain key: [".concat(xe).concat(Ne,"]"));var at=String(Ne);warning(!pe.has(at)||Ne===null||Ne===void 0,"Same 'key' exist in the Tree: ".concat(at)),pe.set(at,!0),Ee(Re,"".concat(xe).concat(at," > "))})}Ee(ne)}function b(ne){function de(pe){var Ee=se(pe);return Ee.map(function(be){if(!ve(be))return(0,Te.ZP)(!be,"Tree/TreeNode can only accept TreeNode as children."),null;var xe=be.key,Ce=be.props,Ne=Ce.children,Re=(0,Fe.Z)(Ce,Ke),at=(0,he.Z)({key:xe},Re),Ie=de(Ne);return Ie.length&&(at.children=Ie),at}).filter(function(be){return be})}return de(ne)}function E(ne,de,pe){var Ee=a(pe),be=Ee._title,xe=Ee.key,Ce=Ee.children,Ne=new Set(de===!0?[]:de),Re=[];function at(Ie){var Ue=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;return Ie.map(function(Ge,Ve){for(var rt=De(Ue?Ue.pos:"0",Ve),gt=ue(Ge[xe],rt),xt,Gt=0;Gt<be.length;Gt+=1){var yn=be[Gt];if(Ge[yn]!==void 0){xt=Ge[yn];break}}var lt=(0,he.Z)((0,he.Z)({},je(Ge,[].concat((0,ge.Z)(be),[xe,Ce]))),{},{title:xt,key:gt,parent:Ue,pos:rt,children:null,data:Ge,isStart:[].concat((0,ge.Z)(Ue?Ue.isStart:[]),[Ve===0]),isEnd:[].concat((0,ge.Z)(Ue?Ue.isEnd:[]),[Ve===Ie.length-1])});return Re.push(lt),de===!0||Ne.has(gt)?lt.children=at(Ge[Ce]||[],lt):lt.children=[],lt})}return at(ne),Re}function ee(ne,de,pe){var Ee={};(0,x.Z)(pe)==="object"?Ee=pe:Ee={externalGetKey:pe},Ee=Ee||{};var be=Ee,xe=be.childrenPropName,Ce=be.externalGetKey,Ne=be.fieldNames,Re=a(Ne),at=Re.key,Ie=Re.children,Ue=xe||Ie,Ge;Ce?typeof Ce=="string"?Ge=function(gt){return gt[Ce]}:typeof Ce=="function"&&(Ge=function(gt){return Ce(gt)}):Ge=function(gt,xt){return ue(gt[at],xt)};function Ve(rt,gt,xt,Gt){var yn=rt?rt[Ue]:ne,lt=rt?De(xt.pos,gt):"0",ht=rt?[].concat((0,ge.Z)(Gt),[rt]):[];if(rt){var Lt=Ge(rt,lt),zt={node:rt,index:gt,pos:lt,key:Lt,parentPos:xt.node?xt.pos:null,level:xt.level+1,nodes:ht};de(zt)}yn&&yn.forEach(function(dt,kt){Ve(dt,kt,{node:rt,pos:lt,level:xt?xt.level+1:-1},ht)})}Ve(null)}function te(ne){var de=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},pe=de.initWrapper,Ee=de.processEntity,be=de.onProcessFinished,xe=de.externalGetKey,Ce=de.childrenPropName,Ne=de.fieldNames,Re=arguments.length>2?arguments[2]:void 0,at=xe||Re,Ie={},Ue={},Ge={posEntities:Ie,keyEntities:Ue};return pe&&(Ge=pe(Ge)||Ge),ee(ne,function(Ve){var rt=Ve.node,gt=Ve.index,xt=Ve.pos,Gt=Ve.key,yn=Ve.parentPos,lt=Ve.level,ht=Ve.nodes,Lt={node:rt,nodes:ht,index:gt,key:Gt,pos:xt,level:lt},zt=ue(Gt,xt);Ie[xt]=Lt,Ue[zt]=Lt,Lt.parent=Ie[yn],Lt.parent&&(Lt.parent.children=Lt.parent.children||[],Lt.parent.children.push(Lt)),Ee&&Ee(Lt,Ge)},{externalGetKey:at,childrenPropName:Ce,fieldNames:Ne}),be&&be(Ge),Ge}function re(ne,de){var pe=de.expandedKeys,Ee=de.selectedKeys,be=de.loadedKeys,xe=de.loadingKeys,Ce=de.checkedKeys,Ne=de.halfCheckedKeys,Re=de.dragOverNodeKey,at=de.dropPosition,Ie=de.keyEntities,Ue=(0,Le.Z)(Ie,ne),Ge={eventKey:ne,expanded:pe.indexOf(ne)!==-1,selected:Ee.indexOf(ne)!==-1,loaded:be.indexOf(ne)!==-1,loading:xe.indexOf(ne)!==-1,checked:Ce.indexOf(ne)!==-1,halfChecked:Ne.indexOf(ne)!==-1,pos:String(Ue?Ue.pos:""),dragOver:Re===ne&&at===0,dragOverGapTop:Re===ne&&at===-1,dragOverGapBottom:Re===ne&&at===1};return Ge}function oe(ne){var de=ne.data,pe=ne.expanded,Ee=ne.selected,be=ne.checked,xe=ne.loaded,Ce=ne.loading,Ne=ne.halfChecked,Re=ne.dragOver,at=ne.dragOverGapTop,Ie=ne.dragOverGapBottom,Ue=ne.pos,Ge=ne.active,Ve=ne.eventKey,rt=(0,he.Z)((0,he.Z)({},de),{},{expanded:pe,selected:Ee,checked:be,loaded:xe,loading:Ce,halfChecked:Ne,dragOver:Re,dragOverGapTop:at,dragOverGapBottom:Ie,pos:Ue,active:Ge,key:Ve});return"props"in rt||Object.defineProperty(rt,"props",{get:function(){return(0,Te.ZP)(!1,"Second param return from event is node data instead of TreeNode instance. Please read value directly instead of reading from `props`."),ne}}),rt}},34952:function(mt,st,z){"use strict";z.d(st,{Z:function(){return je}});var x=z(1413),ge=`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`,he=`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`,Fe="".concat(ge," ").concat(he).split(/[\s\n]+/),we="aria-",ze="data-";function se(Te,Le){return Te.indexOf(Le)===0}function je(Te){var Le=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,Ke;Le===!1?Ke={aria:!0,data:!0,attr:!0}:Le===!0?Ke={aria:!0}:Ke=(0,x.Z)({},Le);var De={};return Object.keys(Te).forEach(function(ve){(Ke.aria&&(ve==="role"||se(ve,we))||Ke.data&&se(ve,ze)||Ke.attr&&Fe.includes(ve))&&(De[ve]=Te[ve])}),De}},72978:function(mt,st,z){"use strict";var x={};function ge(je,Te){}function he(je,Te){}function Fe(){x={}}function we(je,Te,Le){!Te&&!x[Le]&&(je(!1,Le),x[Le]=!0)}function ze(je,Te){we(ge,je,Te)}function se(je,Te){we(he,je,Te)}st.ZP=ze},81533:function(mt,st){"use strict";var z;var x=typeof Symbol=="function"&&Symbol.for,ge=x?Symbol.for("react.element"):60103,he=x?Symbol.for("react.portal"):60106,Fe=x?Symbol.for("react.fragment"):60107,we=x?Symbol.for("react.strict_mode"):60108,ze=x?Symbol.for("react.profiler"):60114,se=x?Symbol.for("react.provider"):60109,je=x?Symbol.for("react.context"):60110,Te=x?Symbol.for("react.async_mode"):60111,Le=x?Symbol.for("react.concurrent_mode"):60111,Ke=x?Symbol.for("react.forward_ref"):60112,De=x?Symbol.for("react.suspense"):60113,ve=x?Symbol.for("react.suspense_list"):60120,ue=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,ee=x?Symbol.for("react.scope"):60119;function te(oe){if(typeof oe=="object"&&oe!==null){var ne=oe.$$typeof;switch(ne){case ge:switch(oe=oe.type,oe){case Te:case Le:case Fe:case ze:case we:case De:return oe;default:switch(oe=oe&&oe.$$typeof,oe){case je:case Ke:case a:case ue:case se:return oe;default:return ne}}case he:return ne}}}function re(oe){return te(oe)===Le}z=Te,z=Le,z=je,z=se,z=ge,z=Ke,z=Fe,z=a,z=ue,z=he,z=ze,z=we,z=De,z=function(oe){return re(oe)||te(oe)===Te},z=re,z=function(oe){return te(oe)===je},z=function(oe){return te(oe)===se},z=function(oe){return typeof oe=="object"&&oe!==null&&oe.$$typeof===ge},z=function(oe){return te(oe)===Ke},st.isFragment=function(oe){return te(oe)===Fe},z=function(oe){return te(oe)===a},st.isMemo=function(oe){return te(oe)===ue},z=function(oe){return te(oe)===he},z=function(oe){return te(oe)===ze},z=function(oe){return te(oe)===we},z=function(oe){return te(oe)===De},z=function(oe){return typeof oe=="string"||typeof oe=="function"||oe===Fe||oe===Le||oe===ze||oe===we||oe===De||oe===ve||typeof oe=="object"&&oe!==null&&(oe.$$typeof===a||oe.$$typeof===ue||oe.$$typeof===se||oe.$$typeof===je||oe.$$typeof===Ke||oe.$$typeof===b||oe.$$typeof===E||oe.$$typeof===ee||oe.$$typeof===y)},z=te},28580:function(mt,st,z){"use strict";mt.exports=z(81533)},92389:function(mt,st){"use strict";var z={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(ge){var he=ge.keyCode;if(ge.altKey&&!ge.ctrlKey||ge.metaKey||he>=z.F1&&he<=z.F12)return!1;switch(he){case z.ALT:case z.CAPS_LOCK:case z.CONTEXT_MENU:case z.CTRL:case z.DOWN:case z.END:case z.ESC:case z.HOME:case z.INSERT:case z.LEFT:case z.MAC_FF_META:case z.META:case z.NUMLOCK:case z.NUM_CENTER:case z.PAGE_DOWN:case z.PAGE_UP:case z.PAUSE:case z.PRINT_SCREEN:case z.RIGHT:case z.SHIFT:case z.UP:case z.WIN_KEY:case z.WIN_KEY_RIGHT:return!1;default:return!0}},isCharacterKey:function(ge){if(ge>=z.ZERO&&ge<=z.NINE||ge>=z.NUM_ZERO&&ge<=z.NUM_MULTIPLY||ge>=z.A&&ge<=z.Z||window.navigator.userAgent.indexOf("WebKit")!==-1&&ge===0)return!0;switch(ge){case z.SPACE:case z.QUESTION_MARK:case z.NUM_PLUS:case z.NUM_MINUS:case z.NUM_PERIOD:case z.NUM_DIVISION:case z.SEMICOLON:case z.DASH:case z.EQUALS:case z.COMMA:case z.PERIOD:case z.SLASH:case z.APOSTROPHE:case z.SINGLE_QUOTE:case z.OPEN_SQUARE_BRACKET:case z.BACKSLASH:case z.CLOSE_SQUARE_BRACKET:return!0;default:return!1}}};st.Z=z},19575:function(mt,st,z){var x,ge;(function(he,Fe){mt.exports=Fe(he)})(typeof self!="undefined"?self:typeof window!="undefined"?window:typeof z.g!="undefined"?z.g:this,function(he){"use strict";he=he||{};var Fe=he.Base64,we="2.6.4",ze="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",se=function(Re){for(var at={},Ie=0,Ue=Re.length;Ie<Ue;Ie++)at[Re.charAt(Ie)]=Ie;return at}(ze),je=String.fromCharCode,Te=function(Re){if(Re.length<2){var at=Re.charCodeAt(0);return at<128?Re:at<2048?je(192|at>>>6)+je(128|at&63):je(224|at>>>12&15)+je(128|at>>>6&63)+je(128|at&63)}else{var at=65536+(Re.charCodeAt(0)-55296)*1024+(Re.charCodeAt(1)-56320);return je(240|at>>>18&7)+je(128|at>>>12&63)+je(128|at>>>6&63)+je(128|at&63)}},Le=/[\uD800-\uDBFF][\uDC00-\uDFFFF]|[^\x00-\x7F]/g,Ke=function(Re){return Re.replace(Le,Te)},De=function(Re){var at=[0,2,1][Re.length%3],Ie=Re.charCodeAt(0)<<16|(Re.length>1?Re.charCodeAt(1):0)<<8|(Re.length>2?Re.charCodeAt(2):0),Ue=[ze.charAt(Ie>>>18),ze.charAt(Ie>>>12&63),at>=2?"=":ze.charAt(Ie>>>6&63),at>=1?"=":ze.charAt(Ie&63)];return Ue.join("")},ve=he.btoa&&typeof he.btoa=="function"?function(Re){return he.btoa(Re)}:function(Re){if(Re.match(/[^\x00-\xFF]/))throw new RangeError("The string contains invalid characters.");return Re.replace(/[\s\S]{1,3}/g,De)},ue=function(Re){return ve(Ke(String(Re)))},a=function(Re){return Re.replace(/[+\/]/g,function(at){return at=="+"?"-":"_"}).replace(/=/g,"")},y=function(Re,at){return at?a(ue(Re)):ue(Re)},b=function(Re){return y(Re,!0)},E;he.Uint8Array&&(E=function(Re,at){for(var Ie="",Ue=0,Ge=Re.length;Ue<Ge;Ue+=3){var Ve=Re[Ue],rt=Re[Ue+1],gt=Re[Ue+2],xt=Ve<<16|rt<<8|gt;Ie+=ze.charAt(xt>>>18)+ze.charAt(xt>>>12&63)+(typeof rt!="undefined"?ze.charAt(xt>>>6&63):"=")+(typeof gt!="undefined"?ze.charAt(xt&63):"=")}return at?a(Ie):Ie});var ee=/[\xC0-\xDF][\x80-\xBF]|[\xE0-\xEF][\x80-\xBF]{2}|[\xF0-\xF7][\x80-\xBF]{3}/g,te=function(Re){switch(Re.length){case 4:var at=(7&Re.charCodeAt(0))<<18|(63&Re.charCodeAt(1))<<12|(63&Re.charCodeAt(2))<<6|63&Re.charCodeAt(3),Ie=at-65536;return je((Ie>>>10)+55296)+je((Ie&1023)+56320);case 3:return je((15&Re.charCodeAt(0))<<12|(63&Re.charCodeAt(1))<<6|63&Re.charCodeAt(2));default:return je((31&Re.charCodeAt(0))<<6|63&Re.charCodeAt(1))}},re=function(Re){return Re.replace(ee,te)},oe=function(Re){var at=Re.length,Ie=at%4,Ue=(at>0?se[Re.charAt(0)]<<18:0)|(at>1?se[Re.charAt(1)]<<12:0)|(at>2?se[Re.charAt(2)]<<6:0)|(at>3?se[Re.charAt(3)]:0),Ge=[je(Ue>>>16),je(Ue>>>8&255),je(Ue&255)];return Ge.length-=[0,0,2,1][Ie],Ge.join("")},ne=he.atob&&typeof he.atob=="function"?function(Re){return he.atob(Re)}:function(Re){return Re.replace(/\S{1,4}/g,oe)},de=function(Re){return ne(String(Re).replace(/[^A-Za-z0-9\+\/]/g,""))},pe=function(Re){return re(ne(Re))},Ee=function(Re){return String(Re).replace(/[-_]/g,function(at){return at=="-"?"+":"/"}).replace(/[^A-Za-z0-9\+\/]/g,"")},be=function(Re){return pe(Ee(Re))},xe;he.Uint8Array&&(xe=function(Re){return Uint8Array.from(de(Ee(Re)),function(at){return at.charCodeAt(0)})});var Ce=function(){var Re=he.Base64;return he.Base64=Fe,Re};if(he.Base64={VERSION:we,atob:de,btoa:ve,fromBase64:be,toBase64:y,utob:Ke,encode:y,encodeURI:b,btou:re,decode:be,noConflict:Ce,fromUint8Array:E,toUint8Array:xe},typeof Object.defineProperty=="function"){var Ne=function(Re){return{value:Re,enumerable:!1,writable:!0,configurable:!0}};he.Base64.extendString=function(){Object.defineProperty(String.prototype,"fromBase64",Ne(function(){return be(this)})),Object.defineProperty(String.prototype,"toBase64",Ne(function(Re){return y(this,Re)})),Object.defineProperty(String.prototype,"toBase64URI",Ne(function(){return y(this,!0)}))}}return he.Meteor&&(Base64=he.Base64),mt.exports?mt.exports.Base64=he.Base64:(x=[],ge=function(){return he.Base64}.apply(st,x),ge!==void 0&&(mt.exports=ge)),{Base64:he.Base64}})},46762:function(mt,st){"use strict";var z;var x=Symbol.for("react.element"),ge=Symbol.for("react.portal"),he=Symbol.for("react.fragment"),Fe=Symbol.for("react.strict_mode"),we=Symbol.for("react.profiler"),ze=Symbol.for("react.provider"),se=Symbol.for("react.context"),je=Symbol.for("react.server_context"),Te=Symbol.for("react.forward_ref"),Le=Symbol.for("react.suspense"),Ke=Symbol.for("react.suspense_list"),De=Symbol.for("react.memo"),ve=Symbol.for("react.lazy"),ue=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 he:case we:case Fe:case Le:case Ke:return b;default:switch(b=b&&b.$$typeof,b){case je:case se:case Te:case ve:case De:case ze:return b;default:return E}}case ge:return E}}}z=se,z=ze,z=x,z=Te,z=he,z=ve,z=De,z=ge,z=we,z=Fe,z=Le,z=Ke,z=function(){return!1},z=function(){return!1},z=function(b){return y(b)===se},z=function(b){return y(b)===ze},z=function(b){return typeof b=="object"&&b!==null&&b.$$typeof===x},z=function(b){return y(b)===Te},st.isFragment=function(b){return y(b)===he},z=function(b){return y(b)===ve},z=function(b){return y(b)===De},z=function(b){return y(b)===ge},z=function(b){return y(b)===we},z=function(b){return y(b)===Fe},z=function(b){return y(b)===Le},z=function(b){return y(b)===Ke},z=function(b){return typeof b=="string"||typeof b=="function"||b===he||b===we||b===Fe||b===Le||b===Ke||b===ue||typeof b=="object"&&b!==null&&(b.$$typeof===ve||b.$$typeof===De||b.$$typeof===ze||b.$$typeof===se||b.$$typeof===Te||b.$$typeof===a||b.getModuleId!==void 0)},z=y},35110:function(mt,st,z){"use strict";mt.exports=z(46762)},64217:function(mt,st,z){"use strict";z.d(st,{Z:function(){return je}});var x=z(1413),ge=`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`,he=`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`,Fe="".concat(ge," ").concat(he).split(/[\s\n]+/),we="aria-",ze="data-";function se(Te,Le){return Te.indexOf(Le)===0}function je(Te){var Le=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,Ke;Le===!1?Ke={aria:!0,data:!0,attr:!0}:Le===!0?Ke={aria:!0}:Ke=(0,x.Z)({},Le);var De={};return Object.keys(Te).forEach(function(ve){(Ke.aria&&(ve==="role"||se(ve,we))||Ke.data&&se(ve,ze)||Ke.attr&&Fe.includes(ve))&&(De[ve]=Te[ve])}),De}},57761:function(mt,st,z){"use strict";Object.defineProperty(st,"__esModule",{value:!0});var x=function(){function De(ve,ue){for(var a=0;a<ue.length;a++){var y=ue[a];y.enumerable=y.enumerable||!1,y.configurable=!0,"value"in y&&(y.writable=!0),Object.defineProperty(ve,y.key,y)}}return function(ve,ue,a){return ue&&De(ve.prototype,ue),a&&De(ve,a),ve}}(),ge=z(67294),he=ze(ge),Fe=z(45697),we=ze(Fe);function ze(De){return De&&De.__esModule?De:{default:De}}function se(De,ve){var ue={};for(var a in De)ve.indexOf(a)>=0||Object.prototype.hasOwnProperty.call(De,a)&&(ue[a]=De[a]);return ue}function je(De,ve){if(!(De instanceof ve))throw new TypeError("Cannot call a class as a function")}function Te(De,ve){if(!De)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return ve&&(typeof ve=="object"||typeof ve=="function")?ve:De}function Le(De,ve){if(typeof ve!="function"&&ve!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof ve);De.prototype=Object.create(ve&&ve.prototype,{constructor:{value:De,enumerable:!1,writable:!0,configurable:!0}}),ve&&(Object.setPrototypeOf?Object.setPrototypeOf(De,ve):De.__proto__=ve)}var Ke=function(De){Le(ve,De);function ve(ue){je(this,ve);var a=Te(this,(ve.__proto__||Object.getPrototypeOf(ve)).call(this,ue));return a.scrollListener=a.scrollListener.bind(a),a.eventListenerOptions=a.eventListenerOptions.bind(a),a.mousewheelListener=a.mousewheelListener.bind(a),a}return x(ve,[{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 ee=document.documentElement||document.body.parentNode||document.body,te=y.pageYOffset!==void 0?y.pageYOffset:ee.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,ee=y.hasMore,te=y.initialLoad,re=y.isReverse,oe=y.loader,ne=y.loadMore,de=y.pageStart,pe=y.ref,Ee=y.threshold,be=y.useCapture,xe=y.useWindow,Ce=y.getScrollParent,Ne=se(y,["children","element","hasMore","initialLoad","isReverse","loader","loadMore","pageStart","ref","threshold","useCapture","useWindow","getScrollParent"]);Ne.ref=function(at){a.scrollComponent=at,pe&&pe(at)};var Re=[b];return ee&&(oe?re?Re.unshift(oe):Re.push(oe):this.defaultLoader&&(re?Re.unshift(this.defaultLoader):Re.push(this.defaultLoader))),he.default.createElement(E,Ne,Re)}}]),ve}(ge.Component);Ke.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},Ke.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=Ke,mt.exports=st.default},246:function(mt,st,z){mt.exports=z(57761)},95742:function(mt,st,z){"use strict";z.d(st,{JN:function(){return wn},Rp:function(){return te},W8:function(){return Bn}});var x=z(87462),ge=z(97685),he=z(94334),Fe=z(15671),we=z(43144),ze=z(82963),se=z(61120),je=z(60136),Te=z(97326),Le=z(4942),Ke=z(67294),De=z(45697),ve=z.n(De),ue=z(73935),a=z(41143),y=z.n(a),b=z(74902),E=function(){function Yt(){(0,Fe.Z)(this,Yt),(0,Le.Z)(this,"refs",{})}return(0,we.Z)(Yt,[{key:"add",value:function(On,bn){this.refs[On]||(this.refs[On]=[]),this.refs[On].push(bn)}},{key:"remove",value:function(On,bn){var Je=this.getIndex(On,bn);Je!==-1&&this.refs[On].splice(Je,1)}},{key:"isActive",value:function(){return this.active}},{key:"getActive",value:function(){var On=this;return this.refs[this.active.collection].find(function(bn){var Je=bn.node;return Je.sortableInfo.index==On.active.index})}},{key:"getIndex",value:function(On,bn){return this.refs[On].indexOf(bn)}},{key:"getOrderedRefs",value:function(){var On=arguments.length>0&&arguments[0]!==void 0?arguments[0]:this.active.collection;return this.refs[On].sort(ee)}}]),Yt}();function ee(Yt,Xt){var On=Yt.node.sortableInfo.index,bn=Xt.node.sortableInfo.index;return On-bn}function te(Yt,Xt,On){return Yt=Yt.slice(),Yt.splice(On<0?Yt.length+On:On,0,Yt.splice(Xt,1)[0]),Yt}function re(Yt,Xt){return Object.keys(Yt).reduce(function(On,bn){return Xt.indexOf(bn)===-1&&(On[bn]=Yt[bn]),On},{})}var oe={end:["touchend","touchcancel","mouseup"],move:["touchmove","mousemove"],start:["touchstart","mousedown"]},ne=function(){if(typeof window=="undefined"||typeof document=="undefined")return"";var Yt=window.getComputedStyle(document.documentElement,"")||["-moz-hidden-iframe"],Xt=(Array.prototype.slice.call(Yt).join("").match(/-(moz|webkit|ms)-/)||Yt.OLink===""&&["","o"])[1];switch(Xt){case"ms":return"ms";default:return Xt&&Xt.length?Xt[0].toUpperCase()+Xt.substr(1):""}}();function de(Yt,Xt){Object.keys(Xt).forEach(function(On){Yt.style[On]=Xt[On]})}function pe(Yt,Xt){Yt.style["".concat(ne,"Transform")]=Xt==null?"":"translate3d(".concat(Xt.x,"px,").concat(Xt.y,"px,0)")}function Ee(Yt,Xt){Yt.style["".concat(ne,"TransitionDuration")]=Xt==null?"":"".concat(Xt,"ms")}function be(Yt,Xt){for(;Yt;){if(Xt(Yt))return Yt;Yt=Yt.parentNode}return null}function xe(Yt,Xt,On){return Math.max(Yt,Math.min(On,Xt))}function Ce(Yt){return Yt.substr(-2)==="px"?parseFloat(Yt):0}function Ne(Yt){var Xt=window.getComputedStyle(Yt);return{bottom:Ce(Xt.marginBottom),left:Ce(Xt.marginLeft),right:Ce(Xt.marginRight),top:Ce(Xt.marginTop)}}function Re(Yt,Xt){var On=Xt.displayName||Xt.name;return On?"".concat(Yt,"(").concat(On,")"):Yt}function at(Yt,Xt){var On=Yt.getBoundingClientRect();return{top:On.top+Xt.top,left:On.left+Xt.left}}function Ie(Yt){return Yt.touches&&Yt.touches.length?{x:Yt.touches[0].pageX,y:Yt.touches[0].pageY}:Yt.changedTouches&&Yt.changedTouches.length?{x:Yt.changedTouches[0].pageX,y:Yt.changedTouches[0].pageY}:{x:Yt.pageX,y:Yt.pageY}}function Ue(Yt){return Yt.touches&&Yt.touches.length||Yt.changedTouches&&Yt.changedTouches.length}function Ge(Yt,Xt){var On=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{left:0,top:0};if(Yt){var bn={left:On.left+Yt.offsetLeft,top:On.top+Yt.offsetTop};return Yt.parentNode===Xt?bn:Ge(Yt.parentNode,Xt,bn)}}function Ve(Yt,Xt,On){return Yt<On&&Yt>Xt?Yt-1:Yt>On&&Yt<Xt?Yt+1:Yt}function rt(Yt){var Xt=Yt.lockOffset,On=Yt.width,bn=Yt.height,Je=Xt,He=Xt,Xn="px";if(typeof Xt=="string"){var Me=/^[+-]?\d*(?:\.\d*)?(px|%)$/.exec(Xt);y()(Me!==null,'lockOffset value should be a number or a string of a number followed by "px" or "%". Given %s',Xt),Je=parseFloat(Xt),He=parseFloat(Xt),Xn=Me[1]}return y()(isFinite(Je)&&isFinite(He),"lockOffset value should be a finite. Given %s",Xt),Xn==="%"&&(Je=Je*On/100,He=He*bn/100),{x:Je,y:He}}function gt(Yt){var Xt=Yt.height,On=Yt.width,bn=Yt.lockOffset,Je=Array.isArray(bn)?bn:[bn,bn];y()(Je.length===2,"lockOffset prop of SortableContainer should be a single value or an array of exactly two values. Given %s",bn);var He=(0,ge.Z)(Je,2),Xn=He[0],Me=He[1];return[rt({height:Xt,lockOffset:Xn,width:On}),rt({height:Xt,lockOffset:Me,width:On})]}function xt(Yt){var Xt=window.getComputedStyle(Yt),On=/(auto|scroll)/,bn=["overflow","overflowX","overflowY"];return bn.find(function(Je){return On.test(Xt[Je])})}function Gt(Yt){return Yt instanceof HTMLElement?xt(Yt)?Yt:Gt(Yt.parentNode):null}function yn(Yt){var Xt=window.getComputedStyle(Yt);return Xt.display==="grid"?{x:Ce(Xt.gridColumnGap),y:Ce(Xt.gridRowGap)}:{x:0,y:0}}var lt={TAB:9,ESC:27,SPACE:32,LEFT:37,UP:38,RIGHT:39,DOWN:40},ht={Anchor:"A",Button:"BUTTON",Canvas:"CANVAS",Input:"INPUT",Option:"OPTION",Textarea:"TEXTAREA",Select:"SELECT"};function Lt(Yt){var Xt="input, textarea, select, canvas, [contenteditable]",On=Yt.querySelectorAll(Xt),bn=Yt.cloneNode(!0),Je=(0,b.Z)(bn.querySelectorAll(Xt));return Je.forEach(function(He,Xn){if(He.type!=="file"&&(He.value=On[Xn].value),He.type==="radio"&&He.name&&(He.name="__sortableClone__".concat(He.name)),He.tagName===ht.Canvas&&On[Xn].width>0&&On[Xn].height>0){var Me=He.getContext("2d");Me.drawImage(On[Xn],0,0)}}),bn}function zt(Yt){var Xt,On,bn=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{withRef:!1};return On=Xt=function(Je){_inherits(He,Je);function He(){return _classCallCheck(this,He),_possibleConstructorReturn(this,_getPrototypeOf(He).apply(this,arguments))}return _createClass(He,[{key:"componentDidMount",value:function(){var Me=findDOMNode(this);Me.sortableHandle=!0}},{key:"getWrappedInstance",value:function(){return invariant(bn.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 Me=bn.withRef?"wrappedInstance":null;return createElement(Yt,_extends({ref:Me},this.props))}}]),He}(Component),_defineProperty(Xt,"displayName",Re("sortableHandle",Yt)),On}function dt(Yt){return Yt.sortableHandle!=null}var kt=function(){function Yt(Xt,On){(0,Fe.Z)(this,Yt),this.container=Xt,this.onScrollCallback=On}return(0,we.Z)(Yt,[{key:"clear",value:function(){this.interval!=null&&(clearInterval(this.interval),this.interval=null)}},{key:"update",value:function(On){var bn=this,Je=On.translate,He=On.minTranslate,Xn=On.maxTranslate,Me=On.width,Xe=On.height,Zt={x:0,y:0},ot={x:1,y:1},Ye={x:10,y:10},bt=this.container,Ut=bt.scrollTop,Nt=bt.scrollLeft,In=bt.scrollHeight,Tt=bt.scrollWidth,Kt=bt.clientHeight,pt=bt.clientWidth,En=Ut===0,Jt=In-Ut-Kt===0,xn=Nt===0,Aa=Tt-Nt-pt===0;Je.y>=Xn.y-Xe/2&&!Jt?(Zt.y=1,ot.y=Ye.y*Math.abs((Xn.y-Xe/2-Je.y)/Xe)):Je.x>=Xn.x-Me/2&&!Aa?(Zt.x=1,ot.x=Ye.x*Math.abs((Xn.x-Me/2-Je.x)/Me)):Je.y<=He.y+Xe/2&&!En?(Zt.y=-1,ot.y=Ye.y*Math.abs((Je.y-Xe/2-He.y)/Xe)):Je.x<=He.x+Me/2&&!xn&&(Zt.x=-1,ot.x=Ye.x*Math.abs((Je.x-Me/2-He.x)/Me)),this.interval&&(this.clear(),this.isAutoScrolling=!1),(Zt.x!==0||Zt.y!==0)&&(this.interval=setInterval(function(){bn.isAutoScrolling=!0;var jn={left:ot.x*Zt.x,top:ot.y*Zt.y};bn.container.scrollTop+=jn.top,bn.container.scrollLeft+=jn.left,bn.onScrollCallback(jn)},5))}}]),Yt}();function Ze(Yt){var Xt=Yt.node;return{height:Xt.offsetHeight,width:Xt.offsetWidth}}function Dn(Yt){var Xt=[ht.Input,ht.Textarea,ht.Select,ht.Option,ht.Button];return!!(Xt.indexOf(Yt.target.tagName)!==-1||be(Yt.target,function(On){return On.contentEditable==="true"}))}var zn={axis:ve().oneOf(["x","y","xy"]),contentWindow:ve().any,disableAutoscroll:ve().bool,distance:ve().number,getContainer:ve().func,getHelperDimensions:ve().func,helperClass:ve().string,helperContainer:ve().oneOfType([ve().func,typeof HTMLElement=="undefined"?ve().any:ve().instanceOf(HTMLElement)]),hideSortableGhost:ve().bool,keyboardSortingTransitionDuration:ve().number,lockAxis:ve().string,lockOffset:ve().oneOfType([ve().number,ve().string,ve().arrayOf(ve().oneOfType([ve().number,ve().string]))]),lockToContainerEdges:ve().bool,onSortEnd:ve().func,onSortMove:ve().func,onSortOver:ve().func,onSortStart:ve().func,pressDelay:ve().number,pressThreshold:ve().number,keyCodes:ve().shape({lift:ve().arrayOf(ve().number),drop:ve().arrayOf(ve().number),cancel:ve().arrayOf(ve().number),up:ve().arrayOf(ve().number),down:ve().arrayOf(ve().number)}),shouldCancelStart:ve().func,transitionDuration:ve().number,updateBeforeSortStart:ve().func,useDragHandle:ve().bool,useWindowAsScrollContainer:ve().bool},Dt={lift:[lt.SPACE],drop:[lt.SPACE],cancel:[lt.ESC],up:[lt.UP,lt.LEFT],down:[lt.DOWN,lt.RIGHT]},rn={axis:"y",disableAutoscroll:!1,distance:0,getHelperDimensions:Ze,hideSortableGhost:!0,lockOffset:"50%",lockToContainerEdges:!1,pressDelay:0,pressThreshold:5,keyCodes:Dt,shouldCancelStart:Dn,transitionDuration:300,useWindowAsScrollContainer:!1},en=Object.keys(zn);function Ht(Yt){y()(!(Yt.distance&&Yt.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 Et(Yt,Xt){try{var On=Yt()}catch(bn){return Xt(!0,bn)}return On&&On.then?On.then(Xt.bind(null,!1),Xt.bind(null,!0)):Xt(!1,value)}function wn(Yt){var Xt,On,bn=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{withRef:!1};return On=Xt=function(Je){(0,je.Z)(He,Je);function He(Xn){var Me;return(0,Fe.Z)(this,He),Me=(0,ze.Z)(this,(0,se.Z)(He).call(this,Xn)),(0,Le.Z)((0,Te.Z)((0,Te.Z)(Me)),"state",{}),(0,Le.Z)((0,Te.Z)((0,Te.Z)(Me)),"handleStart",function(Xe){var Zt=Me.props,ot=Zt.distance,Ye=Zt.shouldCancelStart;if(!(Xe.button===2||Ye(Xe))){Me.touched=!0,Me.position=Ie(Xe);var bt=be(Xe.target,function(pt){return pt.sortableInfo!=null});if(bt&&bt.sortableInfo&&Me.nodeIsChild(bt)&&!Me.state.sorting){var Ut=Me.props.useDragHandle,Nt=bt.sortableInfo,In=Nt.index,Tt=Nt.collection,Kt=Nt.disabled;if(Kt||Ut&&!be(Xe.target,dt))return;Me.manager.active={collection:Tt,index:In},!Ue(Xe)&&Xe.target.tagName===ht.Anchor&&Xe.preventDefault(),ot||(Me.props.pressDelay===0?Me.handlePress(Xe):Me.pressTimer=setTimeout(function(){return Me.handlePress(Xe)},Me.props.pressDelay))}}}),(0,Le.Z)((0,Te.Z)((0,Te.Z)(Me)),"nodeIsChild",function(Xe){return Xe.sortableInfo.manager===Me.manager}),(0,Le.Z)((0,Te.Z)((0,Te.Z)(Me)),"handleMove",function(Xe){var Zt=Me.props,ot=Zt.distance,Ye=Zt.pressThreshold;if(!Me.state.sorting&&Me.touched&&!Me._awaitingUpdateBeforeSortStart){var bt=Ie(Xe),Ut={x:Me.position.x-bt.x,y:Me.position.y-bt.y},Nt=Math.abs(Ut.x)+Math.abs(Ut.y);Me.delta=Ut,!ot&&(!Ye||Nt>=Ye)?(clearTimeout(Me.cancelTimer),Me.cancelTimer=setTimeout(Me.cancel,0)):ot&&Nt>=ot&&Me.manager.isActive()&&Me.handlePress(Xe)}}),(0,Le.Z)((0,Te.Z)((0,Te.Z)(Me)),"handleEnd",function(){Me.touched=!1,Me.cancel()}),(0,Le.Z)((0,Te.Z)((0,Te.Z)(Me)),"cancel",function(){var Xe=Me.props.distance,Zt=Me.state.sorting;Zt||(Xe||clearTimeout(Me.pressTimer),Me.manager.active=null)}),(0,Le.Z)((0,Te.Z)((0,Te.Z)(Me)),"handlePress",function(Xe){try{var Zt=Me.manager.getActive(),ot=function(){if(Zt){var Ye=function(){var La=Jt.sortableInfo.index,on=Ne(Jt),gn=yn(Me.container),Sn=Me.scrollContainer.getBoundingClientRect(),Fa=Nt({index:La,node:Jt,collection:xn});if(Me.node=Jt,Me.margin=on,Me.gridGap=gn,Me.width=Fa.width,Me.height=Fa.height,Me.marginOffset={x:Me.margin.left+Me.margin.right+Me.gridGap.x,y:Math.max(Me.margin.top,Me.margin.bottom,Me.gridGap.y)},Me.boundingClientRect=Jt.getBoundingClientRect(),Me.containerBoundingRect=Sn,Me.index=La,Me.newIndex=La,Me.axis={x:Ut.indexOf("x")>=0,y:Ut.indexOf("y")>=0},Me.offsetEdge=Ge(Jt,Me.container),Aa?Me.initialOffset=Ie((0,he.Z)({},Xe,{pageX:Me.boundingClientRect.left,pageY:Me.boundingClientRect.top})):Me.initialOffset=Ie(Xe),Me.initialScroll={left:Me.scrollContainer.scrollLeft,top:Me.scrollContainer.scrollTop},Me.initialWindowScroll={left:window.pageXOffset,top:window.pageYOffset},Me.helper=Me.helperContainer.appendChild(Lt(Jt)),de(Me.helper,{boxSizing:"border-box",height:"".concat(Me.height,"px"),left:"".concat(Me.boundingClientRect.left-on.left,"px"),pointerEvents:"none",position:"fixed",top:"".concat(Me.boundingClientRect.top-on.top,"px"),width:"".concat(Me.width,"px")}),Aa&&Me.helper.focus(),Tt&&(Me.sortableGhost=Jt,de(Jt,{opacity:0,visibility:"hidden"})),Me.minTranslate={},Me.maxTranslate={},Aa){var pa=En?{top:0,left:0,width:Me.contentWindow.innerWidth,height:Me.contentWindow.innerHeight}:Me.containerBoundingRect,ra=pa.top,Ga=pa.left,_a=pa.width,Qr=pa.height,wo=ra+Qr,Ln=Ga+_a;Me.axis.x&&(Me.minTranslate.x=Ga-Me.boundingClientRect.left,Me.maxTranslate.x=Ln-(Me.boundingClientRect.left+Me.width)),Me.axis.y&&(Me.minTranslate.y=ra-Me.boundingClientRect.top,Me.maxTranslate.y=wo-(Me.boundingClientRect.top+Me.height))}else Me.axis.x&&(Me.minTranslate.x=(En?0:Sn.left)-Me.boundingClientRect.left-Me.width/2,Me.maxTranslate.x=(En?Me.contentWindow.innerWidth:Sn.left+Sn.width)-Me.boundingClientRect.left-Me.width/2),Me.axis.y&&(Me.minTranslate.y=(En?0:Sn.top)-Me.boundingClientRect.top-Me.height/2,Me.maxTranslate.y=(En?Me.contentWindow.innerHeight:Sn.top+Sn.height)-Me.boundingClientRect.top-Me.height/2);In&&In.split(" ").forEach(function(wt){return Me.helper.classList.add(wt)}),Me.listenerNode=Xe.touches?Jt:Me.contentWindow,Aa?(Me.listenerNode.addEventListener("wheel",Me.handleKeyEnd,!0),Me.listenerNode.addEventListener("mousedown",Me.handleKeyEnd,!0),Me.listenerNode.addEventListener("keydown",Me.handleKeyDown)):(oe.move.forEach(function(wt){return Me.listenerNode.addEventListener(wt,Me.handleSortMove,!1)}),oe.end.forEach(function(wt){return Me.listenerNode.addEventListener(wt,Me.handleSortEnd,!1)})),Me.setState({sorting:!0,sortingIndex:La}),pt&&pt({node:Jt,index:La,collection:xn,isKeySorting:Aa,nodes:Me.manager.getOrderedRefs(),helper:Me.helper},Xe),Aa&&Me.keyMove(0)},bt=Me.props,Ut=bt.axis,Nt=bt.getHelperDimensions,In=bt.helperClass,Tt=bt.hideSortableGhost,Kt=bt.updateBeforeSortStart,pt=bt.onSortStart,En=bt.useWindowAsScrollContainer,Jt=Zt.node,xn=Zt.collection,Aa=Me.manager.isKeySorting,jn=function(){if(typeof Kt=="function"){Me._awaitingUpdateBeforeSortStart=!0;var ua=Et(function(){var La=Jt.sortableInfo.index;return Promise.resolve(Kt({collection:xn,index:La,node:Jt,isKeySorting:Aa},Xe)).then(function(){})},function(La,on){if(Me._awaitingUpdateBeforeSortStart=!1,La)throw on;return on});if(ua&&ua.then)return ua.then(function(){})}}();return jn&&jn.then?jn.then(Ye):Ye(jn)}}();return Promise.resolve(ot&&ot.then?ot.then(function(){}):void 0)}catch(Ye){return Promise.reject(Ye)}}),(0,Le.Z)((0,Te.Z)((0,Te.Z)(Me)),"handleSortMove",function(Xe){var Zt=Me.props.onSortMove;typeof Xe.preventDefault=="function"&&Xe.preventDefault(),Me.updateHelperPosition(Xe),Me.animateNodes(),Me.autoscroll(),Zt&&Zt(Xe)}),(0,Le.Z)((0,Te.Z)((0,Te.Z)(Me)),"handleSortEnd",function(Xe){var Zt=Me.props,ot=Zt.hideSortableGhost,Ye=Zt.onSortEnd,bt=Me.manager,Ut=bt.active.collection,Nt=bt.isKeySorting,In=Me.manager.getOrderedRefs();Me.listenerNode&&(Nt?(Me.listenerNode.removeEventListener("wheel",Me.handleKeyEnd,!0),Me.listenerNode.removeEventListener("mousedown",Me.handleKeyEnd,!0),Me.listenerNode.removeEventListener("keydown",Me.handleKeyDown)):(oe.move.forEach(function(Jt){return Me.listenerNode.removeEventListener(Jt,Me.handleSortMove)}),oe.end.forEach(function(Jt){return Me.listenerNode.removeEventListener(Jt,Me.handleSortEnd)}))),Me.helper.parentNode.removeChild(Me.helper),ot&&Me.sortableGhost&&de(Me.sortableGhost,{opacity:"",visibility:""});for(var Tt=0,Kt=In.length;Tt<Kt;Tt++){var pt=In[Tt],En=pt.node;pt.edgeOffset=null,pt.boundingClientRect=null,pe(En,null),Ee(En,null),pt.translate=null}Me.autoScroller.clear(),Me.manager.active=null,Me.manager.isKeySorting=!1,Me.setState({sorting:!1,sortingIndex:null}),typeof Ye=="function"&&Ye({collection:Ut,newIndex:Me.newIndex,oldIndex:Me.index,isKeySorting:Nt,nodes:In},Xe),Me.touched=!1}),(0,Le.Z)((0,Te.Z)((0,Te.Z)(Me)),"autoscroll",function(){var Xe=Me.props.disableAutoscroll,Zt=Me.manager.isKeySorting;if(Xe){Me.autoScroller.clear();return}if(Zt){var ot=(0,he.Z)({},Me.translate),Ye=0,bt=0;Me.axis.x&&(ot.x=Math.min(Me.maxTranslate.x,Math.max(Me.minTranslate.x,Me.translate.x)),Ye=Me.translate.x-ot.x),Me.axis.y&&(ot.y=Math.min(Me.maxTranslate.y,Math.max(Me.minTranslate.y,Me.translate.y)),bt=Me.translate.y-ot.y),Me.translate=ot,pe(Me.helper,Me.translate),Me.scrollContainer.scrollLeft+=Ye,Me.scrollContainer.scrollTop+=bt;return}Me.autoScroller.update({height:Me.height,maxTranslate:Me.maxTranslate,minTranslate:Me.minTranslate,translate:Me.translate,width:Me.width})}),(0,Le.Z)((0,Te.Z)((0,Te.Z)(Me)),"onAutoScroll",function(Xe){Me.translate.x+=Xe.left,Me.translate.y+=Xe.top,Me.animateNodes()}),(0,Le.Z)((0,Te.Z)((0,Te.Z)(Me)),"handleKeyDown",function(Xe){var Zt=Xe.keyCode,ot=Me.props,Ye=ot.shouldCancelStart,bt=ot.keyCodes,Ut=bt===void 0?{}:bt,Nt=(0,he.Z)({},Dt,Ut);Me.manager.active&&!Me.manager.isKeySorting||!Me.manager.active&&(!Nt.lift.includes(Zt)||Ye(Xe)||!Me.isValidSortingTarget(Xe))||(Xe.stopPropagation(),Xe.preventDefault(),Nt.lift.includes(Zt)&&!Me.manager.active?Me.keyLift(Xe):Nt.drop.includes(Zt)&&Me.manager.active?Me.keyDrop(Xe):Nt.cancel.includes(Zt)?(Me.newIndex=Me.manager.active.index,Me.keyDrop(Xe)):Nt.up.includes(Zt)?Me.keyMove(-1):Nt.down.includes(Zt)&&Me.keyMove(1))}),(0,Le.Z)((0,Te.Z)((0,Te.Z)(Me)),"keyLift",function(Xe){var Zt=Xe.target,ot=be(Zt,function(Nt){return Nt.sortableInfo!=null}),Ye=ot.sortableInfo,bt=Ye.index,Ut=Ye.collection;Me.initialFocusedNode=Zt,Me.manager.isKeySorting=!0,Me.manager.active={index:bt,collection:Ut},Me.handlePress(Xe)}),(0,Le.Z)((0,Te.Z)((0,Te.Z)(Me)),"keyMove",function(Xe){var Zt=Me.manager.getOrderedRefs(),ot=Zt[Zt.length-1].node.sortableInfo.index,Ye=Me.newIndex+Xe,bt=Me.newIndex;if(!(Ye<0||Ye>ot)){Me.prevIndex=bt,Me.newIndex=Ye;var Ut=Ve(Me.newIndex,Me.prevIndex,Me.index),Nt=Zt.find(function(Aa){var jn=Aa.node;return jn.sortableInfo.index===Ut}),In=Nt.node,Tt=Me.containerScrollDelta,Kt=Nt.boundingClientRect||at(In,Tt),pt=Nt.translate||{x:0,y:0},En={top:Kt.top+pt.y-Tt.top,left:Kt.left+pt.x-Tt.left},Jt=bt<Ye,xn={x:Jt&&Me.axis.x?In.offsetWidth-Me.width:0,y:Jt&&Me.axis.y?In.offsetHeight-Me.height:0};Me.handleSortMove({pageX:En.left+xn.x,pageY:En.top+xn.y,ignoreTransition:Xe===0})}}),(0,Le.Z)((0,Te.Z)((0,Te.Z)(Me)),"keyDrop",function(Xe){Me.handleSortEnd(Xe),Me.initialFocusedNode&&Me.initialFocusedNode.focus()}),(0,Le.Z)((0,Te.Z)((0,Te.Z)(Me)),"handleKeyEnd",function(Xe){Me.manager.active&&Me.keyDrop(Xe)}),(0,Le.Z)((0,Te.Z)((0,Te.Z)(Me)),"isValidSortingTarget",function(Xe){var Zt=Me.props.useDragHandle,ot=Xe.target,Ye=be(ot,function(bt){return bt.sortableInfo!=null});return Ye&&Ye.sortableInfo&&!Ye.sortableInfo.disabled&&(Zt?dt(ot):ot.sortableInfo)}),Ht(Xn),Me.manager=new E,Me.events={end:Me.handleEnd,move:Me.handleMove,start:Me.handleStart},Me}return(0,we.Z)(He,[{key:"getChildContext",value:function(){return{manager:this.manager}}},{key:"componentDidMount",value:function(){var Me=this,Xe=this.props.useWindowAsScrollContainer,Zt=this.getContainer();Promise.resolve(Zt).then(function(ot){Me.container=ot,Me.document=Me.container.ownerDocument||document;var Ye=Me.props.contentWindow||Me.document.defaultView||window;Me.contentWindow=typeof Ye=="function"?Ye():Ye,Me.scrollContainer=Xe?Me.document.scrollingElement||Me.document.documentElement:Gt(Me.container)||Me.container,Me.autoScroller=new kt(Me.scrollContainer,Me.onAutoScroll),Object.keys(Me.events).forEach(function(bt){return oe[bt].forEach(function(Ut){return Me.container.addEventListener(Ut,Me.events[bt],!1)})}),Me.container.addEventListener("keydown",Me.handleKeyDown)})}},{key:"componentWillUnmount",value:function(){var Me=this;this.helper&&this.helper.parentNode&&this.helper.parentNode.removeChild(this.helper),this.container&&(Object.keys(this.events).forEach(function(Xe){return oe[Xe].forEach(function(Zt){return Me.container.removeEventListener(Zt,Me.events[Xe])})}),this.container.removeEventListener("keydown",this.handleKeyDown))}},{key:"updateHelperPosition",value:function(Me){var Xe=this.props,Zt=Xe.lockAxis,ot=Xe.lockOffset,Ye=Xe.lockToContainerEdges,bt=Xe.transitionDuration,Ut=Xe.keyboardSortingTransitionDuration,Nt=Ut===void 0?bt:Ut,In=this.manager.isKeySorting,Tt=Me.ignoreTransition,Kt=Ie(Me),pt={x:Kt.x-this.initialOffset.x,y:Kt.y-this.initialOffset.y};if(pt.y-=window.pageYOffset-this.initialWindowScroll.top,pt.x-=window.pageXOffset-this.initialWindowScroll.left,this.translate=pt,Ye){var En=gt({height:this.height,lockOffset:ot,width:this.width}),Jt=(0,ge.Z)(En,2),xn=Jt[0],Aa=Jt[1],jn={x:this.width/2-xn.x,y:this.height/2-xn.y},ua={x:this.width/2-Aa.x,y:this.height/2-Aa.y};pt.x=xe(this.minTranslate.x+jn.x,this.maxTranslate.x-ua.x,pt.x),pt.y=xe(this.minTranslate.y+jn.y,this.maxTranslate.y-ua.y,pt.y)}Zt==="x"?pt.y=0:Zt==="y"&&(pt.x=0),In&&Nt&&!Tt&&Ee(this.helper,Nt),pe(this.helper,pt)}},{key:"animateNodes",value:function(){var Me=this.props,Xe=Me.transitionDuration,Zt=Me.hideSortableGhost,ot=Me.onSortOver,Ye=this.containerScrollDelta,bt=this.windowScrollDelta,Ut=this.manager.getOrderedRefs(),Nt={left:this.offsetEdge.left+this.translate.x+Ye.left,top:this.offsetEdge.top+this.translate.y+Ye.top},In=this.manager.isKeySorting,Tt=this.newIndex;this.newIndex=null;for(var Kt=0,pt=Ut.length;Kt<pt;Kt++){var En=Ut[Kt].node,Jt=En.sortableInfo.index,xn=En.offsetWidth,Aa=En.offsetHeight,jn={height:this.height>Aa?Aa/2:this.height/2,width:this.width>xn?xn/2:this.width/2},ua=In&&Jt>this.index&&Jt<=Tt,La=In&&Jt<this.index&&Jt>=Tt,on={x:0,y:0},gn=Ut[Kt].edgeOffset;gn||(gn=Ge(En,this.container),Ut[Kt].edgeOffset=gn,In&&(Ut[Kt].boundingClientRect=at(En,Ye)));var Sn=Kt<Ut.length-1&&Ut[Kt+1],Fa=Kt>0&&Ut[Kt-1];if(Sn&&!Sn.edgeOffset&&(Sn.edgeOffset=Ge(Sn.node,this.container),In&&(Sn.boundingClientRect=at(Sn.node,Ye))),Jt===this.index){Zt&&(this.sortableGhost=En,de(En,{opacity:0,visibility:"hidden"}));continue}Xe&&Ee(En,Xe),this.axis.x?this.axis.y?La||Jt<this.index&&(Nt.left+bt.left-jn.width<=gn.left&&Nt.top+bt.top<=gn.top+jn.height||Nt.top+bt.top+jn.height<=gn.top)?(on.x=this.width+this.marginOffset.x,gn.left+on.x>this.containerBoundingRect.width-jn.width&&Sn&&(on.x=Sn.edgeOffset.left-gn.left,on.y=Sn.edgeOffset.top-gn.top),this.newIndex===null&&(this.newIndex=Jt)):(ua||Jt>this.index&&(Nt.left+bt.left+jn.width>=gn.left&&Nt.top+bt.top+jn.height>=gn.top||Nt.top+bt.top+jn.height>=gn.top+Aa))&&(on.x=-(this.width+this.marginOffset.x),gn.left+on.x<this.containerBoundingRect.left+jn.width&&Fa&&(on.x=Fa.edgeOffset.left-gn.left,on.y=Fa.edgeOffset.top-gn.top),this.newIndex=Jt):ua||Jt>this.index&&Nt.left+bt.left+jn.width>=gn.left?(on.x=-(this.width+this.marginOffset.x),this.newIndex=Jt):(La||Jt<this.index&&Nt.left+bt.left<=gn.left+jn.width)&&(on.x=this.width+this.marginOffset.x,this.newIndex==null&&(this.newIndex=Jt)):this.axis.y&&(ua||Jt>this.index&&Nt.top+bt.top+jn.height>=gn.top?(on.y=-(this.height+this.marginOffset.y),this.newIndex=Jt):(La||Jt<this.index&&Nt.top+bt.top<=gn.top+jn.height)&&(on.y=this.height+this.marginOffset.y,this.newIndex==null&&(this.newIndex=Jt))),pe(En,on),Ut[Kt].translate=on}this.newIndex==null&&(this.newIndex=this.index),In&&(this.newIndex=Tt);var pa=In?this.prevIndex:Tt;ot&&this.newIndex!==pa&&ot({collection:this.manager.active.collection,index:this.index,newIndex:this.newIndex,oldIndex:pa,isKeySorting:In,nodes:Ut,helper:this.helper})}},{key:"getWrappedInstance",value:function(){return y()(bn.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 Me=this.props.getContainer;return typeof Me!="function"?(0,ue.findDOMNode)(this):Me(bn.withRef?this.getWrappedInstance():void 0)}},{key:"render",value:function(){var Me=bn.withRef?"wrappedInstance":null;return(0,Ke.createElement)(Yt,(0,x.Z)({ref:Me},re(this.props,en)))}},{key:"helperContainer",get:function(){var Me=this.props.helperContainer;return typeof Me=="function"?Me():this.props.helperContainer||this.document.body}},{key:"containerScrollDelta",get:function(){var Me=this.props.useWindowAsScrollContainer;return Me?{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}}}]),He}(Ke.Component),(0,Le.Z)(Xt,"displayName",Re("sortableList",Yt)),(0,Le.Z)(Xt,"defaultProps",rn),(0,Le.Z)(Xt,"propTypes",zn),(0,Le.Z)(Xt,"childContextTypes",{manager:ve().object.isRequired}),On}var dn={index:ve().number.isRequired,collection:ve().oneOfType([ve().number,ve().string]),disabled:ve().bool},Bt=Object.keys(dn);function Bn(Yt){var Xt,On,bn=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{withRef:!1};return On=Xt=function(Je){(0,je.Z)(He,Je);function He(){return(0,Fe.Z)(this,He),(0,ze.Z)(this,(0,se.Z)(He).apply(this,arguments))}return(0,we.Z)(He,[{key:"componentDidMount",value:function(){this.register()}},{key:"componentDidUpdate",value:function(Me){this.node&&(Me.index!==this.props.index&&(this.node.sortableInfo.index=this.props.index),Me.disabled!==this.props.disabled&&(this.node.sortableInfo.disabled=this.props.disabled)),Me.collection!==this.props.collection&&(this.unregister(Me.collection),this.register())}},{key:"componentWillUnmount",value:function(){this.unregister()}},{key:"register",value:function(){var Me=this.props,Xe=Me.collection,Zt=Me.disabled,ot=Me.index,Ye=(0,ue.findDOMNode)(this);Ye.sortableInfo={collection:Xe,disabled:Zt,index:ot,manager:this.context.manager},this.node=Ye,this.ref={node:Ye},this.context.manager.add(Xe,this.ref)}},{key:"unregister",value:function(){var Me=arguments.length>0&&arguments[0]!==void 0?arguments[0]:this.props.collection;this.context.manager.remove(Me,this.ref)}},{key:"getWrappedInstance",value:function(){return y()(bn.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 Me=bn.withRef?"wrappedInstance":null;return(0,Ke.createElement)(Yt,(0,x.Z)({ref:Me},re(this.props,Bt)))}}]),He}(Ke.Component),(0,Le.Z)(Xt,"displayName",Re("sortableElement",Yt)),(0,Le.Z)(Xt,"contextTypes",{manager:ve().object.isRequired}),(0,Le.Z)(Xt,"propTypes",dn),(0,Le.Z)(Xt,"defaultProps",{collection:0}),On}},25510:function(mt){"use strict";mt.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAiwAAAIsCAYAAADRd/LpAAAgAElEQVR4Xuyda5BtVXXvV3efc+CAYBQRjaJBeWjiVVKVB0mMUV6GKv0cvVVG/XTrViUlSd0bqUoQg4KapKJW8j3mWinNx1S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DtmC2SreF4ATvHHBtTQ/cGb+VmwF6DRZWIhh8S4hv02WMcPyx0o+9eoWYPHvZ14Qk0dekbqLBZqP/ZgyZYrdcccdwWKUeg01YEGO01dZvflbC0pZl3MColP7rXIFsORSzKwAlgqaEXDLqsgrvthtkkrqqq1mPLvSSiv1r2BS6+o2YEltRyfKdRuwpLSx5wHL/Lwol112qZ155pn23f/9no0ZOzakrw8wJYCJ123U6FE2b+48W3yxxe3444+xf/rHXWxsiGWZf7AzlobZs23mK6/ajHvvs03evolNHD/Rfnveb22rrbYMW4+DFXN4rTMAACAASURBVGqRMcGFQsI3EA8Wjr4wWdwrCPYxfUBontkzTz9rl156mf3Xf33K/vbc88GSM/ktb7GJEybZE089Hd6FW2qddabZGWf8ypYKro++bcGLLDLGZs0iXgaghWtrtM187dWgvIlF6XvfPBs1t89yFLqLJYQAyZFgmNfswYcetD332sse+uv9dsghX7OtttzK1pu23vw525fuf97IEfbqrFk2iXqJlyH/zJxZ4cykMLfDP9xf7Djq6zvXmDEjbebM2TZuHGCvT6nR6b44tL48LKOw/pjZtddea8suu2z/2WM+WPXFF18Mhx/GpzV73sxdEAwWYFlllVVq5VPV7iCse7kW06EGLCkyoptlCmDJp24BLAWw5HNNB54ogKUvrqQuNX/YWcaJxrPn2LXXXWfnn3+eff3rX7fttt/e9tvv87baqqv1xUVguZvdl+skxOssvphNmjzBxuDSCAnPXrfnnn7K3jJpsr3y6hy7a8a9tunmW9gKKyxjp/7057bp299u80ZgPRltr816tS/ny2h2/mDkeD18wm6ZsG15bPg/773lllts///+b7vx8sttvfXXt403fpv956c/bRMnLWq33HyLnX7GGXb2OecEgLX/Vw+w9+32L7b88sv2Bdvi1ho9KgTPzglAaqYt9pbFwzbr2RhxQsoTdi+xM6jPwjJ6kTH24gsv2ZxwEuEIe+KJx+0jWFjuutuOPupIY4vw2mutE8DUK6+9arNxs4wwGz9pUjiRuW+3z4iQL4bOvTZnlo3AtTZqVNj2/drsWX1bwQGANtImjhvft/26b6N2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5XNOBJwpg6QMs7CB59NFHbcsttwxU1Xb4kOhtvmK84vLf2zlnnWXHH3ucTZo4ySZNmmSjx4wOwbFYENiGO2nRybbKaqvaMccdazded4Mdeeih9tijj4Wg2lN/9rOwK2jG7XfY1b//vX3xC1+28YtOsF+feaZtseWWNmvOHLvplpsDYGG30Lrrrms//elPQ06Na66+OgCWww873LbeZhs76Yc/tD/84UY78cQT7cKLLrL37/FB+++v7G9rrLGmjSADLwnm5r7WlzyMlLbs+QnpS14P7bn5pltt749+xJZdehk78sgjbOONN7IllphiL738ou237352+SWX29hRY+17J37fVnjrCvbxT37C/vDHP9riUxcPcSwrLLO8vfDC32zGXXfZx/b+t5Cw8dvHn2Brr72O3XvfvfbZfT9jq6y+in1or73sA8ThjFvEDjn8SDvzF7+2xSZOtgM//2V7/7+83/508y32fz/8vp38s1Ns1PhF7Mprr7ZVlls+ZLcdM2qMjRnLoZEcc9C3zbtvbxCRyH1gZX4aluISKjEsbUvDAljySVcASwEs+VzTgScKYGkGLH0JZV+3q6+6yn7323PtW0cfbWuvsaZt+45t+/JdjCThGnlMRtioMWNssSmL2ft2+4Cdecav7bhvHWcv/O1vtsvOO9uJP/iBjRk5xh595CG76Y832gfe///sLYsvZr88/XTbfMstQv6Tm2+91fbYfY/g/thg/fUDYFl08mS7WoDl8CNtm222thN/eJLdfPNNAbj87ne/tX9833vtawd9LcTUAFiwrMx9ffb8RGucJzSq75yiESPt7rtn2JVXXm2f/cxnbf31N7Djjv2WTZ++QThO4PUR8+yggw6ys848y5576nk79LDDbM01VrPPf+m/QgDt6musbuedf74tOXVJe+WVl+0v9/3F9tjjQ/bIww/bN446Ouyauv322+yrB+5vSy+7tG2+xWb2trdvYiNHj7RzLrzYbrjyGpsy+S22z3982j7x8U/aH2/6g/3gRyfZz375c3vLkovbTTfdbMtNmdJ3oGJIudJ34GII8OGMGfH8/DOaOCuJq1hYioWlXXFYAEs+5QpgKYAln2s68EQBLM2AhWX9vLlz7bprr7XzzzvPjv7GUb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EwAvUiYMJSb9taMiNgBIyAETAC1SBgwlJNU1oQI2AEjIARMAL1ImDCUm/bWjIjYASMgBEwAtUgYMJSTVNaECNgBIyAETAC9SJgwlJv21oyI2AEjIARMALVIGDCUk1TWhAjYASMgBEwAvUiYMJSb9taMiNgBIyAETAC1SBgwlJNU1oQI2AEjIARMAL1ImDCUm/bWjIjYASMgBEwAtUgYMJSTVNaECNgBIyAETAC9SLQSFjqFdmSGQEjYASMgBEwAqsVge1b1x12GCr/8p6D/12tQrjeRsAIGAEjYASMQN0ITAhL3WJaOiNgBIyAETACRmC1I/C/+Ryxj68oilIAAAAASUVORK5CYII="},32637:function(mt,st,z){"use strict";mt.exports=z.p+"static/AssistantCode3.a8740efb.jpeg"},36459:function(mt,st,z){"use strict";z.d(st,{Z:function(){return x}});function x(ge){if(ge==null)throw new TypeError("Cannot destructure "+ge)}}}]);
|
|
}()); |