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 Ft},Cj:function(){return eo},O1:function(){return ga},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(yt=>{var nt;return(nt=yt[et])==null?void 0:nt.call(yt,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:yt}=se(),nt=(0,he.Ld)("DndLiveRegion"),[ct,ht]=(0,x.useState)(!1);if((0,x.useEffect)(()=>{ht(!0)},[]),Te((0,x.useMemo)(()=>({onDragStart(En){let{active:ra}=En;ut(ye.onDragStart({active:ra}))},onDragMove(En){let{active:ra,over:Xn}=En;ye.onDragMove&&ut(ye.onDragMove({active:ra,over:Xn}))},onDragOver(En){let{active:ra,over:Xn}=En;ut(ye.onDragOver({active:ra,over:Xn}))},onDragEnd(En){let{active:ra,over:Xn}=En;ut(ye.onDragEnd({active:ra,over:Xn}))},onDragCancel(En){let{active:ra,over:Xn}=En;ut(ye.onDragCancel({active:ra,over:Xn}))}}),[ut,ye])),!ct)return null;const vn=x.createElement(x.Fragment,null,x.createElement(we,{id:Pe,value:et.draggable}),x.createElement(ze,{id:nt,announcement:yt}));return ke?(0,ge.createPortal)(vn,ke):vn}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 yt of Pe){const{id:nt}=yt,ct=ke.get(nt);if(ct){const ht=ee(pe(ct),et);ut.push({id:nt,data:{droppableContainer:yt,value:ht}})}}return ut.sort(re)},be=fe=>{let{collisionRect:ye,droppableRects:ke,droppableContainers:Pe}=fe;const et=ne(ye),ut=[];for(const yt of Pe){const{id:nt}=yt,ct=ke.get(nt);if(ct){const ht=ne(ct),vn=et.reduce((ra,Xn,Ia)=>ra+ee(ht[Ia],Xn),0),En=Number((vn/4).toFixed(4));ut.push({id:nt,data:{droppableContainer:yt,value:En}})}}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),yt=et-Pe,nt=ut-ke;if(Pe<et&&ke<ut){const ct=ye.width*ye.height,ht=fe.width*fe.height,vn=yt*nt,En=vn/(ct+ht-vn);return Number(En.toFixed(4))}return 0}const Ce=fe=>{let{collisionRect:ye,droppableRects:ke,droppableContainers:Pe}=fe;const et=[];for(const ut of Pe){const{id:yt}=ut,nt=ke.get(yt);if(nt){const ct=xe(nt,ye);ct>0&&et.push({id:yt,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:yt}=ut,nt=ke.get(yt);if(nt&&Ne(Pe,nt)){const ht=ne(nt).reduce((En,ra)=>En+ee(Pe,ra),0),vn=Number((ht/4).toFixed(4));et.push({id:yt,data:{droppableContainer:ut,value:vn}})}}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((yt,nt)=>Al(Fo({},yt),{top:yt.top+fe*nt.y,bottom:yt.bottom+fe*nt.y,left:yt.left+fe*nt.x,right:yt.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:yt,y:nt}=Pe,ct=fe.left-yt-(1-et)*parseFloat(ke),ht=fe.top-nt-(1-ut)*parseFloat(ke.slice(ke.indexOf(" ")+1)),vn=et?fe.width/et:fe.width,En=ut?fe.height/ut:fe.height;return{width:vn,height:En,top:ht,right:ct+vn,bottom:ht+En,left:ct}}const gt={ignoreTransform:!1};function Ft(fe,ye){ye===void 0&&(ye=gt);let ke=fe.getBoundingClientRect();if(ye.ignoreTransform){const{transform:ht,transformOrigin:vn}=(0,he.Jj)(fe).getComputedStyle(fe);ht&&(ke=rt(ke,ht,vn))}const{top:Pe,left:et,width:ut,height:yt,bottom:nt,right:ct}=ke;return{top:Pe,left:et,width:ut,height:yt,bottom:nt,right:ct}}function Ut(fe){return Ft(fe,{ignoreTransform:!0})}function Sn(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 pt(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 Mt(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&&pt(et,ut)&&ke.push(et),lt(et,ut)?ke:Pe(et.parentNode)}return fe?Pe(fe):ke}function Ht(fe){const[ye]=Mt(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 zt(fe){return(0,he.FJ)(fe)?fe.scrollX:fe.scrollLeft}function Ze(fe){return(0,he.FJ)(fe)?fe.scrollY:fe.scrollTop}function Fn(fe){return{x:zt(fe),y:Ze(fe)}}var Zn;(function(fe){fe[fe.Forward=1]="Forward",fe[fe.Backward=-1]="Backward"})(Zn||(Zn={}));function La(fe){return!he.Nq||!fe?!1:fe===document.scrollingElement}function vt(fe){const ye={x:0,y:0},ke=La(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,yt=fe.scrollTop>=Pe.y,nt=fe.scrollLeft>=Pe.x;return{isTop:et,isLeft:ut,isBottom:yt,isRight:nt,maxScroll:Pe,minScroll:ye}}const Lt={x:.2,y:.2};function Ct(fe,ye,ke,Pe,et){let{top:ut,left:yt,right:nt,bottom:ct}=ke;Pe===void 0&&(Pe=10),et===void 0&&(et=Lt);const{isTop:ht,isBottom:vn,isLeft:En,isRight:ra}=vt(fe),Xn={x:0,y:0},Ia={x:0,y:0},wa={height:ye.height*et.y,width:ye.width*et.x};return!ht&&ut<=ye.top+wa.height?(Xn.y=Zn.Backward,Ia.y=Pe*Math.abs((ye.top+wa.height-ut)/wa.height)):!vn&&ct>=ye.bottom-wa.height&&(Xn.y=Zn.Forward,Ia.y=Pe*Math.abs((ye.bottom-wa.height-ct)/wa.height)),!ra&&nt>=ye.right-wa.width?(Xn.x=Zn.Forward,Ia.x=Pe*Math.abs((ye.right-wa.width-nt)/wa.width)):!En&&yt<=ye.left+wa.width&&(Xn.x=Zn.Backward,Ia.x=Pe*Math.abs((ye.left+wa.width-yt)/wa.width)),{direction:Xn,speed:Ia}}function wt(fe){if(fe===document.scrollingElement){const{innerWidth:ut,innerHeight:yt}=window;return{top:0,left:0,right:ut,bottom:yt,width:ut,height:yt}}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 Cn(fe){return fe.reduce((ye,ke)=>(0,he.IH)(ye,Fn(ke)),E)}function sn(fe){return fe.reduce((ye,ke)=>ye+zt(ke),0)}function Nt(fe){return fe.reduce((ye,ke)=>ye+Ze(ke),0)}function On(fe,ye){if(ye===void 0&&(ye=Ft),!fe)return;const{top:ke,left:Pe,bottom:et,right:ut}=ye(fe);Ht(fe)&&(et<=0||ut<=0||ke>=window.innerHeight||Pe>=window.innerWidth)&&fe.scrollIntoView({block:"center",inline:"center"})}const Vt=[["x",["left","right"],sn],["y",["top","bottom"],Nt]];class _t{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=Mt(ke),et=Cn(Pe);this.rect=Fo({},ye),this.width=ye.width,this.height=ye.height;for(const[ut,yt,nt]of Vt)for(const ct of yt)Object.defineProperty(this,ct,{get:()=>{const ht=nt(Pe),vn=et[ut]-ht;return this.rect[ct]+vn},enumerable:!0});Object.defineProperty(this,"rect",{enumerable:!1})}}class Mn{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 _n(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 Wt={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 Mn((0,he.r3)(ke)),this.windowListeners=new Mn((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&&On(Pe),ke(E)}handleKeyDown(ye){if((0,he.vd)(ye)){const{active:ke,context:Pe,options:et}=this.props,{keyboardCodes:ut=Wt,coordinateGetter:yt=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:ht}=Pe.current,vn=ht?{x:ht.left,y:ht.top}:E;this.referenceCoordinates||(this.referenceCoordinates=vn);const En=yt(ye,{active:ke,context:Pe.current,currentCoordinates:vn});if(En){const ra=(0,he.$X)(En,vn),Xn={x:0,y:0},{scrollableAncestors:Ia}=Pe.current;for(const wa of Ia){const Bn=ye.code,{isTop:Kt,isRight:An,isLeft:Tn,isBottom:Ea,maxScroll:Ta,minScroll:Ma}=vt(wa),Ja=wt(wa),Za={x:Math.min(Bn===Xe.Right?Ja.right-Ja.width/2:Ja.right,Math.max(Bn===Xe.Right?Ja.left:Ja.left+Ja.width/2,En.x)),y:Math.min(Bn===Xe.Down?Ja.bottom-Ja.height/2:Ja.bottom,Math.max(Bn===Xe.Down?Ja.top:Ja.top+Ja.height/2,En.y))},fa=Bn===Xe.Right&&!An||Bn===Xe.Left&&!Tn,za=Bn===Xe.Down&&!Ea||Bn===Xe.Up&&!Kt;if(fa&&Za.x!==En.x){const Na=wa.scrollLeft+ra.x,cr=Bn===Xe.Right&&Na<=Ta.x||Bn===Xe.Left&&Na>=Ma.x;if(cr&&!ra.y){wa.scrollTo({left:Na,behavior:nt});return}cr?Xn.x=wa.scrollLeft-Na:Xn.x=Bn===Xe.Right?wa.scrollLeft-Ta.x:wa.scrollLeft-Ma.x,Xn.x&&wa.scrollBy({left:-Xn.x,behavior:nt});break}else if(za&&Za.y!==En.y){const Na=wa.scrollTop+ra.y,cr=Bn===Xe.Down&&Na<=Ta.y||Bn===Xe.Up&&Na>=Ma.y;if(cr&&!ra.x){wa.scrollTo({top:Na,behavior:nt});return}cr?Xn.y=wa.scrollTop-Na:Xn.y=Bn===Xe.Down?wa.scrollTop-Ta.y:wa.scrollTop-Ma.y,Xn.y&&wa.scrollBy({top:-Xn.y,behavior:nt});break}}this.handleMove(ye,(0,he.IH)((0,he.$X)(En,this.referenceCoordinates),Xn))}}}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=Wt,onActivation:et}=ye,{active:ut}=ke;const{code:yt}=fe.nativeEvent;if(Pe.start.includes(yt)){const nt=ut.activatorNode.current;return nt&&fe.target!==nt?!1:(fe.preventDefault(),et==null||et({event:fe.nativeEvent}),!0)}return!1}}];function xt(fe){return!!(fe&&"distance"in fe)}function Yt(fe){return!!(fe&&"delay"in fe)}class It{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:yt}=ut;this.props=ye,this.events=ke,this.document=(0,he.r3)(yt),this.documentListeners=new Mn(this.document),this.listeners=new Mn(Pe),this.windowListeners=new Mn((0,he.Jj)(yt)),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,_n),this.windowListeners.add(He.VisibilityChange,this.handleCancel),this.windowListeners.add(He.ContextMenu,_n),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(Yt(ke)){this.timeoutId=setTimeout(this.handleStart,ke.delay);return}if(xt(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:yt,options:{activationConstraint:nt}}=ut;if(!et)return;const ct=(ke=(0,he.DC)(ye))!=null?ke:E,ht=(0,he.$X)(et,ct);if(!Pe&&nt){if(xt(nt)){if(nt.tolerance!=null&&Je(ht,nt.tolerance))return this.handleCancel();if(Je(ht,nt.distance))return this.handleStart()}return Yt(nt)&&Je(ht,nt.tolerance)?this.handleCancel():void 0}ye.cancelable&&ye.preventDefault(),yt(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 Nn={move:{name:"pointermove"},end:{name:"pointerup"}};class kt extends It{constructor(ye){const{event:ke}=ye,Pe=(0,he.r3)(ke.target);super(ye,Nn,Pe)}}kt.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 Gt={move:{name:"mousemove"},end:{name:"mouseup"}};var St;(function(fe){fe[fe.RightClick=2]="RightClick"})(St||(St={}));class Pn extends It{constructor(ye){super(ye,Gt,(0,he.r3)(ye.event.target))}}Pn.activators=[{eventName:"onMouseDown",handler:(fe,ye)=>{let{nativeEvent:ke}=fe,{onActivation:Pe}=ye;return ke.button===St.RightClick?!1:(Pe==null||Pe({event:ke}),!0)}}];const qt={move:{name:"touchmove"},end:{name:"touchend"}};class wn extends It{constructor(ye){super(ye,qt)}static setup(){return window.addEventListener(qt.move.name,ye,{capture:!1,passive:!1}),function(){window.removeEventListener(qt.move.name,ye)};function ye(){}}}wn.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 xa;(function(fe){fe[fe.Pointer=0]="Pointer",fe[fe.DraggableRect=1]="DraggableRect"})(xa||(xa={}));var Hn;(function(fe){fe[fe.TreeOrder=0]="TreeOrder",fe[fe.ReversedTreeOrder=1]="ReversedTreeOrder"})(Hn||(Hn={}));function la(fe){let{acceleration:ye,activator:ke=xa.Pointer,canScroll:Pe,draggingRect:et,enabled:ut,interval:yt=5,order:nt=Hn.TreeOrder,pointerCoordinates:ct,scrollableAncestors:ht,scrollableAncestorRects:vn,delta:En,threshold:ra}=fe;const Xn=rn({delta:En,disabled:!ut}),[Ia,wa]=(0,he.Yz)(),Bn=(0,x.useRef)({x:0,y:0}),Kt=(0,x.useRef)({x:0,y:0}),An=(0,x.useMemo)(()=>{switch(ke){case xa.Pointer:return ct?{top:ct.y,bottom:ct.y,left:ct.x,right:ct.x}:null;case xa.DraggableRect:return et}},[ke,et,ct]),Tn=(0,x.useRef)(null),Ea=(0,x.useCallback)(()=>{const Ma=Tn.current;if(!Ma)return;const Ja=Bn.current.x*Kt.current.x,Za=Bn.current.y*Kt.current.y;Ma.scrollBy(Ja,Za)},[]),Ta=(0,x.useMemo)(()=>nt===Hn.TreeOrder?[...ht].reverse():ht,[nt,ht]);(0,x.useEffect)(()=>{if(!ut||!ht.length||!An){wa();return}for(const Ma of Ta){if((Pe==null?void 0:Pe(Ma))===!1)continue;const Ja=ht.indexOf(Ma),Za=vn[Ja];if(!Za)continue;const{direction:fa,speed:za}=Ct(Ma,Za,An,ye,ra);for(const Na of["x","y"])Xn[Na][fa[Na]]||(za[Na]=0,fa[Na]=0);if(za.x>0||za.y>0){wa(),Tn.current=Ma,Ia(Ea,yt),Bn.current=za,Kt.current=fa;return}}Bn.current={x:0,y:0},Kt.current={x:0,y:0},wa()},[ye,Ea,Pe,wa,ut,yt,JSON.stringify(An),JSON.stringify(Xn),Ia,ht,Ta,vn,JSON.stringify(ra)])}const Ba={x:{[Zn.Backward]:!1,[Zn.Forward]:!1},y:{[Zn.Backward]:!1,[Zn.Forward]:!1}};function rn(fe){let{delta:ye,disabled:ke}=fe;const Pe=(0,he.D9)(ye);return(0,he.Gj)(et=>{if(ke||!Pe||!et)return Ba;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 cn(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 pn(fe,ye){return(0,x.useMemo)(()=>fe.reduce((ke,Pe)=>{const{sensor:et}=Pe,ut=et.activators.map(yt=>({eventName:yt.eventName,handler:ye(yt.handler,Pe)}));return[...ke,...ut]},[]),[fe,ye])}var Aa;(function(fe){fe[fe.Always=0]="Always",fe[fe.BeforeDragging=1]="BeforeDragging",fe[fe.WhileDragging=2]="WhileDragging"})(Aa||(Aa={}));var ha;(function(fe){fe.Optimized="optimized"})(ha||(ha={}));const aa=new Map;function Ga(fe,ye){let{dragging:ke,dependencies:Pe,config:et}=ye;const[ut,yt]=(0,x.useState)(null),{frequency:nt,measure:ct,strategy:ht}=et,vn=(0,x.useRef)(fe),En=Bn(),ra=(0,he.Ey)(En),Xn=(0,x.useCallback)(function(Kt){Kt===void 0&&(Kt=[]),!ra.current&&yt(An=>An===null?Kt:An.concat(Kt.filter(Tn=>!An.includes(Tn))))},[ra]),Ia=(0,x.useRef)(null),wa=(0,he.Gj)(Kt=>{if(En&&!ke)return aa;if(!Kt||Kt===aa||vn.current!==fe||ut!=null){const An=new Map;for(let Tn of fe){if(!Tn)continue;if(ut&&ut.length>0&&!ut.includes(Tn.id)&&Tn.rect.current){An.set(Tn.id,Tn.rect.current);continue}const Ea=Tn.node.current,Ta=Ea?new _t(ct(Ea),Ea):null;Tn.rect.current=Ta,Ta&&An.set(Tn.id,Ta)}return An}return Kt},[fe,ut,ke,En,ct]);return(0,x.useEffect)(()=>{vn.current=fe},[fe]),(0,x.useEffect)(()=>{En||Xn()},[ke,En]),(0,x.useEffect)(()=>{ut&&ut.length>0&&yt(null)},[JSON.stringify(ut)]),(0,x.useEffect)(()=>{En||typeof nt!="number"||Ia.current!==null||(Ia.current=setTimeout(()=>{Xn(),Ia.current=null},nt))},[nt,En,Xn,...Pe]),{droppableRects:wa,measureDroppableContainers:Xn,measuringScheduled:ut!=null};function Bn(){switch(ht){case Aa.Always:return!1;case Aa.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 Dn(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 At(fe){return new _t(Ft(fe),fe)}function Zt(fe,ye,ke){ye===void 0&&(ye=At);const[Pe,et]=(0,x.useReducer)(nt,null),ut=wo({callback(ct){if(fe)for(const ht of ct){const{type:vn,target:En}=ht;if(vn==="childList"&&En instanceof HTMLElement&&En.contains(fe)){et();break}}}}),yt=Dn({callback:et});return(0,he.LI)(()=>{et(),fe?(yt==null||yt.observe(fe),ut==null||ut.observe(document.body,{childList:!0,subtree:!0})):(yt==null||yt.disconnect(),ut==null||ut.disconnect())},[fe]),Pe;function nt(ct){if(!fe)return null;if(fe.isConnected===!1){var ht;return(ht=ct!=null?ct:ke)!=null?ht:null}const vn=ye(fe);return JSON.stringify(ct)===JSON.stringify(vn)?ct:vn}}function bt(fe){const ye=_a(fe);return Ie(fe,ye)}const Jn=[];function Jt(fe){const ye=(0,x.useRef)(fe),ke=(0,he.Gj)(Pe=>fe?Pe&&Pe!==Jn&&fe&&ye.current&&fe.parentNode===ye.current.parentNode?Pe:Mt(fe):Jn,[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 yt=dt(ut.target);yt&&ke(nt=>nt?(nt.set(yt,Fn(yt)),new Map(nt)):null)},[]);return(0,x.useEffect)(()=>{const ut=Pe.current;if(fe!==ut){yt(ut);const nt=fe.map(ct=>{const ht=dt(ct);return ht?(ht.addEventListener("scroll",et,{passive:!0}),[ht,Fn(ht)]):null}).filter(ct=>ct!=null);ke(nt.length?new Map(nt):null),Pe.current=fe}return()=>{yt(fe),yt(ut)};function yt(nt){nt.forEach(ct=>{const ht=dt(ct);ht==null||ht.removeEventListener("scroll",et)})}},[et,fe]),(0,x.useMemo)(()=>fe.length?ye?Array.from(ye.values()).reduce((ut,yt)=>(0,he.IH)(ut,yt),E):Cn(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]=yt=>{ut(yt,ye)},ke},{}),[fe,ye])}function qr(fe){return(0,x.useMemo)(()=>fe?Sn(fe):null,[fe])}const Jo=[];function sa(fe,ye){ye===void 0&&(ye=Ft);const[ke]=fe,Pe=qr(ke?(0,he.Jj)(ke):null),[et,ut]=(0,x.useReducer)(nt,Jo),yt=Dn({callback:ut});return fe.length>0&&et===Jo&&ut(),(0,he.LI)(()=>{fe.length?fe.forEach(ct=>yt==null?void 0:yt.observe(ct)):(yt==null||yt.disconnect(),ut())},[fe]),et;function nt(){return fe.length?fe.map(ct=>La(ct)?Pe:new _t(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)(ht=>{for(const{target:vn}of ht)if((0,he.Re)(vn)){Pe(En=>{const ra=ye(vn);return En?Al(Fo({},En),{width:ra.width,height:ra.height}):ra});break}},[ye]),ut=Dn({callback:et}),yt=(0,x.useCallback)(ht=>{const vn=Vr(ht);ut==null||ut.disconnect(),vn&&(ut==null||ut.observe(vn)),Pe(vn?ye(vn):null)},[ye,ut]),[nt,ct]=(0,he.wm)(yt);return(0,x.useMemo)(()=>({nodeRef:nt,rect:ke,setRef:ct}),[ke,nt,ct])}const mn=[{sensor:kt,options:{}},{sensor:Ye,options:{}}],an={current:{}},fn={draggable:{measure:Ut},droppable:{measure:Ut,strategy:Aa.WhileDragging,frequency:ha.Optimized},dragOverlay:{measure:Ft}};class da 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 gn={activatorEvent:null,active:null,activeNode:null,activeNodeRect:null,collisions:null,containerNodeRect:null,draggableNodes:new Map,droppableRects:new Map,droppableContainers:new da,over:null,dragOverlay:{nodeRef:{current:null},rect:null,setRef:a},scrollableAncestors:[],scrollableAncestorRects:[],measuringConfiguration:fn,measureDroppableContainers:a,windowRect:null,measuringScheduled:!1},ia={activatorEvent:null,activators:[],active:null,activeNodeRect:null,ariaDescribedById:{draggable:""},dispatch:a,draggableNodes:new Map,over:null,measureDroppableContainers:a},In=(0,x.createContext)(ia),pa=(0,x.createContext)(gn);function Qa(){return{draggable:{active:null,initialCoordinates:{x:0,y:0},nodes:new Map,translate:{x:0,y:0}},droppable:{containers:new da}}}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 da(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 yt=new da(fe.droppable.containers);return yt.set(ke,Al(Fo({},ut),{disabled:et})),Al(Fo({},fe),{droppable:Al(Fo({},fe.droppable),{containers:yt})})}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 da(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)(In),ut=(0,he.D9)(Pe),yt=(0,he.D9)(ke==null?void 0:ke.id);return(0,x.useEffect)(()=>{if(!ye&&!Pe&&ut&&yt!=null){if(!(0,he.vd)(ut)||document.activeElement===ut.target)return;const nt=et.get(yt);if(!nt)return;const{activatorNode:ct,node:ht}=nt;if(!ct.current&&!ht.current)return;requestAnimationFrame(()=>{for(const vn of[ct.current,ht.current]){if(!vn)continue;const En=(0,he.so)(vn);if(En){En.focus();break}}})}},[Pe,ye,et,yt,ut]),null}function No(fe,ye){let et=ye,{transform:ke}=et,Pe=Wd(et,["transform"]);return fe!=null&&fe.length?fe.reduce((ut,yt)=>yt(Fo({transform:ut},Pe)),ke):ke}function Wn(fe){return(0,x.useMemo)(()=>({draggable:Fo(Fo({},fn.draggable),fe==null?void 0:fe.draggable),droppable:Fo(Fo({},fn.droppable),fe==null?void 0:fe.droppable),dragOverlay:Fo(Fo({},fn.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:yt,y:nt}=typeof et=="boolean"?{x:et,y:et}:et;(0,he.LI)(()=>{if(!yt&&!nt||!ye){ut.current=!1;return}if(ut.current||!Pe)return;const ht=ye==null?void 0:ye.node.current;if(!ht||ht.isConnected===!1)return;const vn=ke(ht),En=Ie(vn,Pe);if(yt||(En.x=0),nt||(En.y=0),ut.current=!0,Math.abs(En.x)>0||Math.abs(En.y)>0){const ra=Ht(ht);ra&&ra.scrollBy({top:En.y,left:En.x})}},[ye,yt,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:yt,accessibility:nt,autoScroll:ct=!0,children:ht,sensors:vn=mn,collisionDetection:En=Ce,measuring:ra,modifiers:Xn}=io,Ia=Wd(io,["id","accessibility","autoScroll","children","sensors","collisionDetection","measuring","modifiers"]);const wa=(0,x.useReducer)(Br,void 0,Qa),[Bn,Kt]=wa,[An,Tn]=Le(),[Ea,Ta]=(0,x.useState)(Yr.Uninitialized),Ma=Ea===Yr.Initialized,{draggable:{active:Ja,nodes:Za,translate:fa},droppable:{containers:za}}=Bn,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),[Sa,ri]=(0,x.useState)(null),Ji=(0,he.Ey)(Ia,Object.values(Ia)),Kl=(0,he.Ld)("DndDescribedBy",yt),mu=(0,x.useMemo)(()=>za.getEnabled(),[za]),Ll=Wn(ra),{droppableRects:sl,measureDroppableContainers:Ti,measuringScheduled:Cu}=Ga(mu,{dragging:Ma,dependencies:[fa.x,fa.y],config:Ll.droppable}),Cl=cn(Za,Ja),bu=(0,x.useMemo)(()=>Sa?(0,he.DC)(Sa):null,[Sa]),on=to(),Xt=Qr(Cl,Ll.draggable.measure);Qi({activeNode:Ja?Za.get(Ja):null,config:on.layoutShiftCompensation,initialRect:Xt,measure:Ll.draggable.measure});const $t=Zt(Cl,Ll.draggable.measure,Xt),ka=Zt(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),$n=ft({measure:Ll.dragOverlay.measure}),mr=(Pe=$n.nodeRef.current)!=null?Pe:Cl,Rn=Ma?(et=$n.rect)!=null?et:$t:null,ta=!!($n.nodeRef.current&&$n.rect),hr=bt(ta?null:$t),Do=qr(mr?(0,he.Jj)(mr):null),sr=Jt(Ma?Wa!=null?Wa:Cl:null),Hi=sa(sr),$o=No(Xn,{transform:{x:fa.x-hr.x,y:fa.y-hr.y,scaleX:1,scaleY:1},activatorEvent:Sa,active:br,activeNodeRect:$t,containerNodeRect:ka,draggingNodeRect:Rn,over:Mr.current.over,overlayNodeRect:$n.rect,scrollableAncestors:sr,scrollableAncestorRects:Hi,windowRect:Do}),wr=bu?(0,he.IH)(bu,fa):null,oi=er(sr),Ca=Zo(oi),ua=Zo(oi,[$t]),mo=(0,he.IH)($o,Ca),nl=Rn?Ge(Rn,$o):null,Ua=br&&nl?En({active:br,collisionRect:nl,droppableRects:sl,droppableContainers:mu,pointerCoordinates:wr}):null,Oa=de(Ua,"id"),[Wo,Fl]=(0,x.useState)(null),oa=ta?$o:(0,he.IH)($o,ua),Fa=at(oa,(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(ya){const Nr=oo.current;if(Nr==null)return;const ma=Za.get(Nr);if(!ma)return;const{onDragStart:nr}=Ji.current,xo={active:{id:Nr,data:ma.data,rect:cr}};(0,ge.unstable_batchedUpdates)(()=>{nr==null||nr(xo),Ta(Yr.Initializing),Kt({type:ue.DragStart,initialCoordinates:ya,active:Nr}),An({type:"onDragStart",event:xo})})},onMove(ya){Kt({type:ue.DragMove,coordinates:ya})},onEnd:Kn(ue.DragEnd),onCancel:Kn(ue.DragCancel)});(0,ge.unstable_batchedUpdates)(()=>{ai(Fi),ri(qo.nativeEvent)});function Kn(ya){return function(){return cc(this,null,function*(){const{active:ma,collisions:nr,over:xo,scrollAdjustedTranslate:lo}=Mr.current;let Ei=null;if(ma&&lo){const{cancelDrop:Oe}=Ji.current;Ei={activatorEvent:Oi,active:ma,collisions:nr,delta:lo,over:xo},ya===ue.DragEnd&&typeof Oe=="function"&&(yield Promise.resolve(Oe(Ei)))&&(ya=ue.DragCancel)}oo.current=null,(0,ge.unstable_batchedUpdates)(()=>{Kt({type:ya}),Ta(Yr.Uninitialized),Fl(null),ai(null),ri(null);const Oe=ya===ue.DragEnd?"onDragEnd":"onDragCancel";if(Ei){const qe=Ji.current[Oe];qe==null||qe(Ei),An({type:Oe,event:Ei})}})})}}},[Za]),Ln=(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=pn(vn,Ln);ao(vn),(0,he.LI)(()=>{$t&&Ea===Yr.Initializing&&Ta(Yr.Initialized)},[$t,Ea]),(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),An({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),Kn=Fi&&Fi.rect.current?{id:Fi.id,rect:Fi.rect.current,data:Fi.data,disabled:Fi.disabled}:null,ya={active:qo,activatorEvent:Jr,collisions:li,delta:{x:Ro.x,y:Ro.y},over:Kn};(0,ge.unstable_batchedUpdates)(()=>{Fl(Kn),Oi==null||Oi(ya),An({type:"onDragOver",event:ya})})},[Oa]),(0,he.LI)(()=>{Mr.current={activatorEvent:Sa,active:br,activeNode:Cl,collisionRect:nl,collisions:Ua,droppableRects:sl,draggableNodes:Za,draggingNode:mr,draggingNodeRect:Rn,droppableContainers:za,over:Wo,scrollableAncestors:sr,scrollAdjustedTranslate:mo},cr.current={initial:Rn,translated:nl}},[br,Cl,Ua,nl,Za,mr,Rn,sl,za,Wo,sr,mo]),la(Al(Fo({},on),{delta:fa,draggingRect:nl,pointerCoordinates:wr,scrollableAncestors:sr,scrollableAncestorRects:Hi}));const zn=(0,x.useMemo)(()=>({active:br,activeNode:Cl,activeNodeRect:$t,activatorEvent:Sa,collisions:Ua,containerNodeRect:ka,dragOverlay:$n,draggableNodes:Za,droppableContainers:za,droppableRects:sl,over:Wo,measureDroppableContainers:Ti,scrollableAncestors:sr,scrollableAncestorRects:Hi,measuringConfiguration:Ll,measuringScheduled:Cu,windowRect:Do}),[br,Cl,$t,Sa,Ua,ka,$n,Za,za,sl,Wo,Ti,sr,Hi,Ll,Cu,Do]),Bo=(0,x.useMemo)(()=>({activatorEvent:Sa,activators:ja,active:br,activeNodeRect:$t,ariaDescribedById:{draggable:Kl},dispatch:Kt,draggableNodes:Za,over:Wo,measureDroppableContainers:Ti}),[Sa,ja,br,$t,Kt,Kl,Za,Wo,Ti]);return x.createElement(je.Provider,{value:Tn},x.createElement(In.Provider,{value:Bo},x.createElement(pa.Provider,{value:zn},x.createElement(yi.Provider,{value:Fa},ht)),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}}}),va=(0,x.createContext)(null),tr="button",xr="Droppable";function ga(fe){let{id:ye,data:ke,disabled:Pe=!1,attributes:et}=fe;const ut=(0,he.Ld)(xr),{activators:yt,activatorEvent:nt,active:ct,activeNodeRect:ht,ariaDescribedById:vn,draggableNodes:En,over:ra}=(0,x.useContext)(In),{role:Xn=tr,roleDescription:Ia="draggable",tabIndex:wa=0}=et!=null?et:{},Bn=(ct==null?void 0:ct.id)===ye,Kt=(0,x.useContext)(Bn?yi:va),[An,Tn]=(0,he.wm)(),[Ea,Ta]=(0,he.wm)(),Ma=rr(yt,ye),Ja=(0,he.Ey)(ke);(0,he.LI)(()=>(En.set(ye,{id:ye,key:ut,node:An,activatorNode:Ea,data:Ja}),()=>{const fa=En.get(ye);fa&&fa.key===ut&&En.delete(ye)}),[En,ye]);const Za=(0,x.useMemo)(()=>({role:Xn,tabIndex:wa,"aria-disabled":Pe,"aria-pressed":Bn&&Xn===tr?!0:void 0,"aria-roledescription":Ia,"aria-describedby":vn.draggable}),[Pe,Xn,wa,Bn,Ia,vn.draggable]);return{active:ct,activatorEvent:nt,activeNodeRect:ht,attributes:Za,isDragging:Bn,listeners:Pe?void 0:Ma,node:An,over:ra,setNodeRef:Tn,setActivatorNodeRef:Ta,transform:Kt}}function eo(){return(0,x.useContext)(pa)}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:yt,dispatch:nt,over:ct,measureDroppableContainers:ht}=(0,x.useContext)(In),vn=(0,x.useRef)({disabled:ke}),En=(0,x.useRef)(!1),ra=(0,x.useRef)(null),Xn=(0,x.useRef)(null),{disabled:Ia,updateMeasurementsFor:wa,timeout:Bn}=Fo(Fo({},Ni),et),Kt=(0,he.Ey)(wa!=null?wa:Pe),An=(0,x.useCallback)(()=>{if(!En.current){En.current=!0;return}Xn.current!=null&&clearTimeout(Xn.current),Xn.current=setTimeout(()=>{ht(Array.isArray(Kt.current)?Kt.current:[Kt.current]),Xn.current=null},Bn)},[Bn]),Tn=Dn({callback:An,disabled:Ia||!yt}),Ea=(0,x.useCallback)((Za,fa)=>{Tn&&(fa&&(Tn.unobserve(fa),En.current=!1),Za&&Tn.observe(Za))},[Tn]),[Ta,Ma]=(0,he.wm)(Ea),Ja=(0,he.Ey)(ye);return(0,x.useEffect)(()=>{!Tn||!Ta.current||(Tn.disconnect(),En.current=!1,Tn.observe(Ta.current))},[Ta,Tn]),(0,he.LI)(()=>(nt({type:ue.RegisterDroppable,element:{id:Pe,key:ut,disabled:ke,node:Ta,rect:ra,data:Ja}}),()=>nt({type:ue.UnregisterDroppable,key:ut,id:Pe})),[Pe]),(0,x.useEffect)(()=>{ke!==vn.current.disabled&&(nt({type:ue.SetDroppableDisabled,id:Pe,key:ut,disabled:ke}),vn.current.disabled=ke)},[Pe,ut,ke,nt]),{active:yt,rect:ra,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,yt]=useState(null),nt=usePrevious(ke);return!ke&&!Pe&&nt&&et(nt),useIsomorphicLayoutEffect(()=>{if(!ut)return;const ct=Pe==null?void 0:Pe.key,ht=Pe==null?void 0:Pe.props.id;if(ct==null||ht==null){et(null);return}Promise.resolve(ye(ht,ut)).then(()=>{et(null)})},[ye,Pe,ut]),React.createElement(React.Fragment,null,ke,Pe?cloneElement(Pe,{ref:yt}):null)}const Ol={x:0,y:0,scaleX:1,scaleY:1};function tl(fe){let{children:ye}=fe;return React.createElement(In.Provider,{value:ia},React.createElement(yi.Provider,{value:Ol},ye))}const fu={position:"fixed",touchAction:"none"},ca=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:yt}=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 yt!=null&&yt.active&&ke.node.classList.add(yt.active),yt!=null&&yt.dragOverlay&&Pe.node.classList.add(yt.dragOverlay),function(){for(const[ct,ht]of Object.entries(et))ke.node.style.setProperty(ct,ht);yt!=null&&yt.active&&ke.node.classList.remove(yt.active)}})({styles:{active:{opacity:"0"}}})};function kl(fe){let{config:ye,draggableNodes:ke,droppableContainers:Pe,measuringConfiguration:et}=fe;return useEvent((ut,yt)=>{if(ye===null)return;const nt=ke.get(ut);if(!nt)return;const ct=nt.node.current;if(!ct)return;const ht=Vr(yt);if(!ht)return;const{transform:vn}=getWindow(yt).getComputedStyle(yt),En=Ve(vn);if(!En)return;const ra=typeof ye=="function"?ye:vl(ye);return On(ct,et.draggable.measure),ra({active:{id:ut,data:nt.data,node:ct,rect:et.draggable.measure(ct)},draggableNodes:ke,dragOverlay:{node:yt,rect:et.dragOverlay.measure(ht)},droppableContainers:Pe,measuringConfiguration:et,transform:En})})}function vl(fe){const{duration:ye,easing:ke,sideEffects:Pe,keyframes:et}=Fo(Fo({},ul),fe);return ut=>{let An=ut,{active:yt,dragOverlay:nt,transform:ct}=An,ht=Wd(An,["active","dragOverlay","transform"]);if(!ye)return;const vn={x:nt.rect.left-yt.rect.left,y:nt.rect.top-yt.rect.top},En={scaleX:ct.scaleX!==1?yt.rect.width*ct.scaleX/nt.rect.width:1,scaleY:ct.scaleY!==1?yt.rect.height*ct.scaleY/nt.rect.height:1},ra=Fo({x:ct.x-vn.x,y:ct.y-vn.y},En),Xn=et(Al(Fo({},ht),{active:yt,dragOverlay:nt,transform:{initial:ct,final:ra}})),[Ia]=Xn,wa=Xn[Xn.length-1];if(JSON.stringify(Ia)===JSON.stringify(wa))return;const Bn=Pe==null?void 0:Pe(Fo({active:yt,dragOverlay:nt},ht)),Kt=nt.node.animate(Xn,{duration:ye,easing:ke,fill:"forwards"});return new Promise(Tn=>{Kt.onfinish=()=>{Bn==null||Bn(),Tn()}})}}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,Ft)=>{const Ut=Ve.get(gt);return Ut&&(rt[Ft]=Ut),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:Ft,overIndex:Ut,index:Sn}=Ge;const lt=(Ve=rt[Ft])!=null?Ve:gt;if(!lt)return null;const pt=De(rt,Sn,Ft);if(Sn===Ft){const Mt=rt[Ut];return Mt?Fo({x:Ft<Ut?Mt.left+Mt.width-(lt.left+lt.width):Mt.left-lt.left,y:0},Le):null}return Sn>Ft&&Sn<=Ut?Fo({x:-lt.width-pt,y:0},Le):Sn<Ft&&Sn>=Ut?Fo({x:lt.width+pt,y:0},Le):Fo({x:0,y:0},Le)};function De(Ge,Ve,rt){const gt=Ge[Ve],Ft=Ge[Ve-1],Ut=Ge[Ve+1];return!gt||!Ft&&!Ut?0:rt<Ve?Ft?gt.left-(Ft.left+Ft.width):Ut.left-(gt.left+gt.width):Ut?Ut.left-(gt.left+gt.width):gt.left-(Ft.left+Ft.width)}const ve=Ge=>{let{rects:Ve,activeIndex:rt,overIndex:gt,index:Ft}=Ge;const Ut=Fe(Ve,gt,rt),Sn=Ve[Ft],lt=Ut[Ft];return!lt||!Sn?null:{x:lt.left-Sn.left,y:lt.top-Sn.top,scaleX:lt.width/Sn.width,scaleY:lt.height/Sn.height}},ue=Ge=>{let{activeIndex:Ve,index:rt,rects:gt,overIndex:Ft}=Ge,Ut,Sn;return rt===Ve&&(Ut=gt[rt],Sn=gt[Ft]),rt===Ft&&(Ut=gt[rt],Sn=gt[Ve]),!Sn||!Ut?null:{x:Sn.left-Ut.left,y:Sn.top-Ut.top,scaleX:Sn.width/Ut.width,scaleY:Sn.height/Ut.height}},a={scaleX:1,scaleY:1},y=Ge=>{var Ve;let{activeIndex:rt,activeNodeRect:gt,index:Ft,rects:Ut,overIndex:Sn}=Ge;const lt=(Ve=Ut[rt])!=null?Ve:gt;if(!lt)return null;if(Ft===rt){const Mt=Ut[Sn];return Mt?Fo({x:0,y:rt<Sn?Mt.top+Mt.height-(lt.top+lt.height):Mt.top-lt.top},a):null}const pt=b(Ut,Ft,rt);return Ft>rt&&Ft<=Sn?Fo({x:0,y:-lt.height-pt},a):Ft<rt&&Ft>=Sn?Fo({x:0,y:lt.height+pt},a):Fo({x:0,y:0},a)};function b(Ge,Ve,rt){const gt=Ge[Ve],Ft=Ge[Ve-1],Ut=Ge[Ve+1];return gt?rt<Ve?Ft?gt.top-(Ft.top+Ft.height):Ut?Ut.top-(gt.top+gt.height):0:Ut?Ut.top-(gt.top+gt.height):Ft?gt.top-(Ft.top+Ft.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:Ft=ve,disabled:Ut=!1}=Ge;const{active:Sn,dragOverlay:lt,droppableRects:pt,over:Mt,measureDroppableContainers:Ht}=(0,ge.Cj)(),dt=(0,he.Ld)(E,rt),zt=lt.rect!==null,Ze=(0,x.useMemo)(()=>gt.map(sn=>typeof sn=="object"&&"id"in sn?sn.id:sn),[gt]),Fn=Sn!=null,Zn=Sn?Ze.indexOf(Sn.id):-1,La=Mt?Ze.indexOf(Mt.id):-1,vt=(0,x.useRef)(Ze),Lt=!je(Ze,vt.current),Ct=La!==-1&&Zn===-1||Lt,wt=Te(Ut);(0,he.LI)(()=>{Lt&&Fn&&Ht(Ze)},[Lt,Ze,Fn,Ht]),(0,x.useEffect)(()=>{vt.current=Ze},[Ze]);const Cn=(0,x.useMemo)(()=>({activeIndex:Zn,containerId:dt,disabled:wt,disableTransforms:Ct,items:Ze,overIndex:La,useDragOverlay:zt,sortedRects:ze(Ze,pt),strategy:Ft}),[Zn,dt,wt.draggable,wt.droppable,Ct,Ze,La,pt,zt,Ft]);return x.createElement(ee.Provider,{value:Cn},Ve)}const re=Ge=>{let{id:Ve,items:rt,activeIndex:gt,overIndex:Ft}=Ge;return Fe(rt,gt,Ft).indexOf(Ve)},oe=Ge=>{let{containerId:Ve,isSorting:rt,wasDragging:gt,index:Ft,items:Ut,newIndex:Sn,previousItems:lt,previousContainerId:pt,transition:Mt}=Ge;return!Mt||!gt||lt!==Ut&&Ft===Sn?!1:rt?!0:Sn!==Ft&&Ve===pt},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:Ft}=Ge;const[Ut,Sn]=(0,x.useState)(null),lt=(0,x.useRef)(rt);return(0,he.LI)(()=>{if(!Ve&&rt!==lt.current&>.current){const pt=Ft.current;if(pt){const Mt=(0,ge.VK)(gt.current,{ignoreTransform:!0}),Ht={x:pt.left-Mt.left,y:pt.top-Mt.top,scaleX:pt.width/Mt.width,scaleY:pt.height/Mt.height};(Ht.x||Ht.y)&&Sn(Ht)}}rt!==lt.current&&(lt.current=rt)},[Ve,rt,gt,Ft]),(0,x.useEffect)(()=>{Ut&&Sn(null)},[Ut]),Ut}function xe(Ge){let{animateLayoutChanges:Ve=oe,attributes:rt,disabled:gt,data:Ft,getNewIndex:Ut=re,id:Sn,strategy:lt,resizeObserverConfig:pt,transition:Mt=ne}=Ge;const{items:Ht,containerId:dt,activeIndex:zt,disabled:Ze,disableTransforms:Fn,sortedRects:Zn,overIndex:La,useDragOverlay:vt,strategy:Lt}=(0,x.useContext)(ee),Ct=Ce(gt,Ze),wt=Ht.indexOf(Sn),Cn=(0,x.useMemo)(()=>Fo({sortable:{containerId:dt,index:wt,items:Ht}},Ft),[dt,Ft,wt,Ht]),sn=(0,x.useMemo)(()=>Ht.slice(Ht.indexOf(Sn)),[Ht,Sn]),{rect:Nt,node:On,isOver:Vt,setNodeRef:_t}=(0,ge.Zj)({id:Sn,data:Cn,disabled:Ct.droppable,resizeObserverConfig:Fo({updateMeasurementsFor:sn},pt)}),{active:Mn,activatorEvent:bn,activeNodeRect:Je,attributes:He,setNodeRef:_n,listeners:Me,isDragging:Xe,over:Wt,setActivatorNodeRef:ot,transform:Ye}=(0,ge.O1)({id:Sn,data:Cn,attributes:Fo(Fo({},Ee),rt),disabled:Ct.draggable}),xt=(0,he.HB)(_t,_n),Yt=!!Mn,It=Yt&&!Fn&&se(zt)&&se(La),Nn=!vt&&Xe,kt=Nn&&It?Ye:null,Gt=lt!=null?lt:Lt,St=It?kt!=null?kt:Gt({rects:Zn,activeNodeRect:Je,activeIndex:zt,overIndex:La,index:wt}):null,Pn=se(zt)&&se(La)?Ut({id:Sn,items:Ht,activeIndex:zt,overIndex:La}):wt,qt=Mn==null?void 0:Mn.id,wn=(0,x.useRef)({activeId:qt,items:Ht,newIndex:Pn,containerId:dt}),xa=Ht!==wn.current.items,Hn=Ve({active:Mn,containerId:dt,isDragging:Xe,isSorting:Yt,id:Sn,index:wt,items:Ht,newIndex:wn.current.newIndex,previousItems:wn.current.items,previousContainerId:wn.current.containerId,transition:Mt,wasDragging:wn.current.activeId!=null}),la=be({disabled:!Hn,index:wt,node:On,rect:Nt});return(0,x.useEffect)(()=>{Yt&&wn.current.newIndex!==Pn&&(wn.current.newIndex=Pn),dt!==wn.current.containerId&&(wn.current.containerId=dt),Ht!==wn.current.items&&(wn.current.items=Ht)},[Yt,Pn,dt,Ht]),(0,x.useEffect)(()=>{if(qt===wn.current.activeId)return;if(qt&&!wn.current.activeId){wn.current.activeId=qt;return}const rn=setTimeout(()=>{wn.current.activeId=qt},50);return()=>clearTimeout(rn)},[qt]),{active:Mn,activeIndex:zt,attributes:He,data:Cn,rect:Nt,index:wt,newIndex:Pn,items:Ht,isOver:Vt,isSorting:Yt,isDragging:Xe,listeners:Me,node:On,overIndex:La,over:Wt,setNodeRef:xt,setActivatorNodeRef:ot,setDroppableNodeRef:_t,setDraggableNodeRef:_n,transform:la!=null?la:St,transition:Ba()};function Ba(){if(la||xa&&wn.current.newIndex===wt)return pe;if(!(Nn&&!(0,he.vd)(bn)||!Mt)&&(Yt||Hn))return he.ux.Transition.toString(Al(Fo({},Mt),{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:Ft,droppableContainers:Ut,over:Sn,scrollableAncestors:lt}}=Ve;if(Re.includes(Ge.code)){if(Ge.preventDefault(),!rt||!gt)return;const pt=[];Ut.getEnabled().forEach(dt=>{if(!dt||dt!=null&&dt.disabled)return;const zt=Ft.get(dt.id);if(zt)switch(Ge.code){case KeyboardCode.Down:gt.top<zt.top&&pt.push(dt);break;case KeyboardCode.Up:gt.top>zt.top&&pt.push(dt);break;case KeyboardCode.Left:gt.left>zt.left&&pt.push(dt);break;case KeyboardCode.Right:gt.left<zt.left&&pt.push(dt);break}});const Mt=closestCorners({active:rt,collisionRect:gt,droppableRects:Ft,droppableContainers:pt,pointerCoordinates:null});let Ht=getFirstCollision(Mt,"id");if(Ht===(Sn==null?void 0:Sn.id)&&Mt.length>1&&(Ht=Mt[1].id),Ht!=null){const dt=Ut.get(rt.id),zt=Ut.get(Ht),Ze=zt?Ft.get(zt.id):null,Fn=zt==null?void 0:zt.node.current;if(Fn&&Ze&&dt&&zt){const La=getScrollableAncestors(Fn).some((sn,Nt)=>lt[Nt]!==sn),vt=Ie(dt,zt),Lt=Ue(dt,zt),Ct=La||!vt?{x:0,y:0}:{x:Lt?gt.width-Ze.width:0,y:Lt?gt.height-Ze.height:0},wt={x:Ze.left,y:Ze.top};return Ct.x&&Ct.y?wt:subtract(wt,Ct)}}}};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,Ft]of rt){const Ut=Ge[gt];Ut!=null&&(Ge[gt]=Ut+Ne*Ft)}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,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmci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ggMCAuMTU5LS4wODguMjM4TDExLjkgNC4yMmMtMS42NjItMS40MzMtNC40NjMtMS41OTItNC40NjMtMS41OTJMOC43NS4zMThDOC43NS4xNiA4LjkyNSAwIDkuMTg4IDBaIi8+PC9zdmc+"},33648: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:"#D09F18",d:"M7 4c3.899 0 7 3.141 7 7s-3.101 7-7 7-7-3.141-7-7 3.101-7 7-7Zm-.062 3c-.826 0-1.464.172-1.915.517-.4.307-.686.733-.856 1.278l-.058.21 1.908.364c.052-.383.153-.651.302-.804a.772.772 0 0 1 .58-.23c.23 0 .412.07.544.211.133.14.199.33.199.565a.88.88 0 0 1-.265.638.89.89 0 0 1-.662.27 1.35 1.35 0 0 1-.158-.012l-.104-.015-.105 1.536c.278-.085.496-.127.654-.127.298 0 .533.099.707.296.173.197.26.475.26.833 0 .352-.09.634-.27.845a.852.852 0 0 1-.677.316.862.862 0 0 1-.636-.25c-.143-.144-.254-.384-.333-.723l-.036-.177L4 12.826c.132.482.321.882.567 1.2.246.319.56.56.942.726.381.165.902.248 1.563.248.677 0 1.224-.112 1.64-.335.416-.223.735-.542.956-.955.221-.414.332-.845.332-1.296 0-.359-.067-.667-.2-.926a1.633 1.633 0 0 0-.563-.625c-.149-.099-.363-.185-.644-.259.347-.204.606-.441.778-.712a1.66 1.66 0 0 0 .257-.908 1.82 1.82 0 0 0-.634-1.42C8.571 7.189 7.886 7 6.938 7ZM4.813 0c.175 0 .35.17.437.338l1.313 2.453s-2.8.17-4.463 1.776L.088.761C0 .677 0 .592 0 .507 0 .17.263 0 .525 0Zm8.662 0c.263 0 .525.254.525.507 0 .085 0 .17-.088.254L11.9 4.483C10.238 2.96 7.437 2.79 7.437 2.79L8.75.338C8.75.17 8.925 0 9.188 0Z"}));st.Z="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxNCIgaGVpZ2h0PSIxOCI+PHBhdGggZmlsbD0iI0QwOUYxOCIgZD0iTTcgNGMzLjg5OSAwIDcgMy4xNDEgNyA3cy0zLjEwMSA3LTcgNy03LTMuMTQxLTctNyAzLjEwMS03IDctN1ptLS4wNjIgM2MtLjgyNiAwLTEuNDY0LjE3Mi0xLjkxNS41MTctLjQuMzA3LS42ODYuNzMzLS44NTYgMS4yNzhsLS4wNTguMjEgMS45MDguMzY0Yy4wNTItLjM4My4xNTMtLjY1MS4zMDItLjgwNGEuNzcyLjc3MiAwIDAgMSAuNTgtLjIzYy4yMyAwIC40MTIuMDcuNTQ0LjIxMS4xMzMuMTQuMTk5LjMzLjE5OS41NjVhLjg4Ljg4IDAgMCAxLS4yNjUuNjM4Ljg5Ljg5IDAgMCAxLS42NjIuMjcgMS4zNSAxLjM1IDAgMCAxLS4xNTgtLjAxMmwtLjEwNC0uMDE1LS4xMDUgMS41MzZjLjI3OC0uMDg1LjQ5Ni0uMTI3LjY1NC0uMTI3LjI5OCAwIC41MzMuMDk5LjcwNy4yOTYuMTczLjE5Ny4yNi40NzUuMjYuODMzIDAgLjM1Mi0uMDkuNjM0LS4yNy44NDVhLjg1Mi44NTIgMCAwIDEtLjY3Ny4zMTYuODYyLjg2MiAwIDAgMS0uNjM2LS4yNWMtLjE0My0uMTQ0LS4yNTQtLjM4NC0uMzMzLS43MjNsLS4wMzYtLjE3N0w0IDEyLjgyNmMuMTMyLjQ4Mi4zMjEuODgyLjU2NyAxLjIuMjQ2LjMxOS41Ni41Ni45NDIuNzI2LjM4MS4xNjUuOTAyLjI0OCAxLjU2My4yNDguNjc3IDAgMS4yMjQtLjExMiAxLjY0LS4zMzUuNDE2LS4yMjMuNzM1LS41NDIuOTU2LS45NTUuMjIxLS40MTQuMzMyLS44NDUuMzMyLTEuMjk2IDAtLjM1OS0uMDY3LS42NjctLjItLjkyNmExLjYzMyAxLjYzMyAwIDAgMC0uNTYzLS42MjVjLS4xNDktLjA5OS0uMzYzLS4xODUtLjY0NC0uMjU5LjM0Ny0uMjA0LjYwNi0uNDQxLjc3OC0uNzEyYTEuNjYgMS42NiAwIDAgMCAuMjU3LS45MDggMS44MiAxLjgyIDAgMCAwLS42MzQtMS40MkM4LjU3MSA3LjE4OSA3Ljg4NiA3IDYuOTM4IDdaTTQuODEzIDBjLjE3NSAwIC4zNS4xNy40MzcuMzM4bDEuMzEzIDIuNDUzcy0yLjguMTctNC40NjMgMS43NzZMLjA4OC43NjFDMCAuNjc3IDAgLjU5MiAwIC41MDcgMCAuMTcuMjYzIDAgLjUyNSAwWm04LjY2MiAwYy4yNjMgMCAuNTI1LjI1NC41MjUuNTA3IDAgLjA4NSAwIC4xNy0uMDg4LjI1NEwxMS45IDQuNDgzQzEwLjIzOCAyLjk2IDcuNDM3IDIuNzkgNy40MzcgMi43OUw4Ljc1LjMzOEM4Ljc1LjE3IDguOTI1IDAgOS4xODggMFoiLz48L3N2Zz4="},18023:function(){"use strict";function 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,Ft=Ie*xe+Ge*Ce,Ut=Ve*xe+gt*Ce,Sn=rt*xe+Ft*Ce;ne.x=Ne,ne.y=Re,de.x=Ve,de.y=rt,pe.x=Ut,pe.y=Sn,Ee.x=gt,Ee.y=Ft,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,pt){se=lt,Ft(lt,pt)},mt.setJavaCodebase=mt.setJavaCodebaseVersion=mt.isCompiledInstalled=mt.setPreCompiledScriptPath=mt.setPreCompiledResourcePath=function(){},mt.setHTML5CodebaseVersion=function(lt,pt){var Mt=parseFloat(lt);if(Mt!==NaN&&Mt<5){console.log("The GeoGebra HTML5 codebase version "+Mt+" is deprecated. Using version latest instead.");return}ze=lt,gt(lt,pt)},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 pt="auto",Mt=z.id,Ht,dt=!1,zt=0;zt<arguments.length;zt++){var Ze=arguments[zt];typeof Ze=="string"?(Ze=Ze.toLowerCase(),Ze.match(/^(prefer)?(java|html5|compiled|auto|screenshot)$/)?pt=Ze:Mt=arguments[zt]):typeof Ze=="boolean"?dt=Ze:Ze instanceof HTMLElement&&(Ht=Ze)}Fn();function Fn(){if(!we){setTimeout(Fn,200);return}pt=Ve(pt);var Zn=Ht||document.getElementById(Mt);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)&&pt==="html5"&&(delete z.width,delete z.height),ve=pt,pt==="screenshot")Re(Zn,z);else{var La=!1;z.hasOwnProperty("playButton")&&z.playButton||z.hasOwnProperty("clickToLoad")&&z.clickToLoad?La=!0:z.hasOwnProperty("playButtonAutoDecide")&&z.playButtonAutoDecide&&(La=(!ne()||lt())&&de()),La?(ve="screenshot",Ie(Zn,z,dt,pt)):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 pt=function(zt){var Ze=JSON.parse(zt),Fn=function(vt){return vt.type=="G"||vt.type=="E"},Zn=Ze.elements?Ze.elements.filter(Fn)[0]:Ze;if(!Zn||!Zn.url){Mt();return}z.fileName=Zn.url,Ee(Zn.settings||{}),x.is3D=!0;var La="https://www.geogebra.org/images/";mt.setPreviewImage(b||Zn.previewUrl,La+"GeoGebra_loading.png",La+"applet_play.png"),lt()},Mt=function(){z.onError&&z.onError(),Ut("Error: Fetching material (id "+z.material_id+") failed.",z)},Ht=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://"+Ht+"/api/proxy.php?path="+encodeURIComponent(dt),pt,Mt)};function Ee(lt){var pt=["width","height","showToolBar","showMenuBar","showAlgebraInput","allowStyleBar","showResetIcon","enableLabelDrags","enableShiftDragZoom","enableRightClick","appName"];["enableLabelDrags","enableShiftDragZoom","enableRightClick"].forEach(function(Mt){lt[Mt]=!!lt[Mt]}),pt.forEach(function(Mt){z[Mt]===void 0&<[Mt]!==void 0&&(z[Mt]=lt[Mt])}),z.showToolBarHelp===void 0&&(z.showToolBarHelp=z.showToolBar)}function be(lt,pt,Mt){var Ht=new XMLHttpRequest;Ht.open("GET",lt),Ht.onload=function(){pt(Ht.responseText)},Ht.onerror=Mt,Ht.send()}mt.isHTML5Installed=function(){return!0},mt.getLoadedAppletType=function(){return ve},mt.setPreviewImage=function(lt,pt,Mt){b=lt,E=pt,ee=Mt},mt.removeExistingApplet=function(lt,pt){var Mt;typeof lt=="string"&&(lt=document.getElementById(lt)),ve=null;var Ht=null;for(Mt=0;Mt<lt.childNodes.length;Mt++){var dt=lt.childNodes[Mt],zt=dt.className;zt==="applet_screenshot"?pt?(dt.style.display="block",ve="screenshot"):dt.style.display="none":zt!=="applet_scaler prerender"&&(lt.removeChild(dt),Ht=zt&&zt.indexOf("appletParameters")!=-1?dt.id:null,Mt--)}var Ze=z.id!==void 0?z.id:Ht,Fn=window[Ze];Fn&&typeof Fn.getBase64=="function"&&(Fn.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,pt,Mt){var Ht=document.createElement("param");Ht.setAttribute("name",pt),Ht.setAttribute("value",Mt),lt.appendChild(Ht)},Ce=function(lt){return lt&<!=="false"},Ne=function(lt,pt,Mt){oe(ue)<=4.2&&(Mt=!0);var Ht=!isRenderGGBElementEnabled&&!scriptLoadStarted;(!isRenderGGBElementEnabled&&!scriptLoadStarted||ggbHTML5LoadedCodebaseVersion!==ue||ggbHTML5LoadedCodebaseIsWebSimple&&!y)&&(Ht=!0,isRenderGGBElementEnabled=!1,scriptLoadStarted=!1);var dt=document.createElement("div");dt.classList.add("appletParameters","notranslate");var zt=pt.width,Ze=pt.height;if(pt.disableAutoScale=pt.disableAutoScale===void 0?GGBAppletUtils.isFlexibleWorksheetEditor():pt.disableAutoScale,pt.width!==void 0)if(oe(ue)<=4.4)Ce(pt.showToolBar)&&(pt.height-=7),Ce(pt.showAlgebraInput)&&(pt.height-=37),pt.width<605&&Ce(pt.showToolBar)&&(pt.width=605,zt=605);else{var Fn=100;(Ce(pt.showToolBar)||Ce(pt.showMenuBar))&&(pt.hasOwnProperty("customToolBar")&&(pt.customToolbar=pt.customToolBar),Fn=Ce(pt.showMenuBar)?245:155),zt<Fn&&(pt.width=Fn,zt=Fn)}dt.style.border="none",dt.style.display="inline-block";for(var Zn in pt)pt.hasOwnProperty(Zn)&&Zn!=="appletOnLoad"&&dt.setAttribute("data-param-"+Zn,pt[Zn]);te&&dt.setAttribute("data-param-fontscssurl",te),mt.resize=function(){GGBAppletUtils.responsiveResize(lt,pt)},window.addEventListener("resize",function(bn){mt.resize()});var La=typeof pt.appletOnLoad=="function"?pt.appletOnLoad:function(){};if(!Mt&&pt.width!==void 0){pt.hasOwnProperty("showSplash")||dt.setAttribute("data-param-showSplash","false");var vt=lt.querySelector(".applet_scaler.prerender"),Lt=vt!==null;if(Lt)var Ct=vt.querySelector(".ggb_preview");else{var Ct=Ge(zt,Ze,pt.borderColor,!1);vt=document.createElement("div"),vt.className="applet_scaler",vt.style.position="relative",vt.style.display="block",vt.style.width=zt+"px",vt.style.height=Ze+"px"}window.GGBT_spinner&&window.GGBT_spinner.attachSpinner(vt,"66%"),oe(ue)>=5?(pt.appletOnLoad=function(bn){var Je=lt.querySelector(".ggb_preview");Je&&Je.parentNode.removeChild(Je),window.GGBT_spinner&&window.GGBT_spinner.removeSpinner(vt),window.GGBT_wsf_view&&$(window).trigger("resize"),La(bn)},Lt||vt.appendChild(Ct)):dt.appendChild(Ct),vt.appendChild(dt),Lt||lt.appendChild(vt),setTimeout(function(){mt.resize()},1)}else{var wt=document.createElement("div");wt.className="applet_scaler",wt.style.position="relative",wt.style.display="block",wt.appendChild(dt),lt.appendChild(wt),pt.appletOnLoad=function(bn){mt.resize(),La(bn)}}function Cn(bn,Je){Je&&typeof Je.appletOnLoad=="function"&&typeof renderGGBElement=="function"?renderGGBElement(bn,Je.appletOnLoad):renderGGBElement(bn),Ut("GeoGebra HTML5 applet injected and rendered with previously loaded codebase.",Je)}function sn(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){Cn(He.article,He.params)}),html5AppletsToProcess=null)},oe(ue)<5&&(bn.className+=" geogebraweb")):Cn(bn,Je)}if(Ht){scriptLoadStarted=!0;for(var Nt=0;Nt<dt.childNodes.length;Nt++){var On=dt.childNodes[Nt].tagName;On==="TABLE"&&(dt.removeChild(dt.childNodes[Nt]),Nt--)}if(ggbHTML5LoadedScript!==null){var Vt=document.querySelector('script[src="'+ggbHTML5LoadedScript+'"]');Vt!=null&&Vt.parentNode.removeChild(Vt)}var _t=document.createElement("script"),Mn=function(){sn(dt,pt)};_t.src=Ke+a,ggbHTML5LoadedCodebaseIsWebSimple=y,ggbHTML5LoadedCodebaseVersion=ue,ggbHTML5LoadedScript=_t.src,Ut("GeoGebra HTML5 codebase loaded: '"+Ke+"'.",pt),!se&&(!ze||ze=="5.0")?(y?webSimple.succeeded=webSimple.succeeded||webSimple():web3d.succeeded=web3d.succeeded||web3d(),Mn()):Ke.requirejs?__webpack_require__.e(12).then(function(){var bn=[__webpack_require__(12)];Mn.apply(null,bn)}.bind(this)).catch(__webpack_require__.oe):(_t.onload=Mn,lt.appendChild(_t))}else sn(dt,pt);pt.height=Ze,pt.width=zt},Re=function(lt,pt,Mt){var Ht=Ge(pt.width,pt.height,pt.borderColor,Mt),dt=document.createElement("div");dt.style.position="relative",dt.style.display="block",dt.style.width=pt.width+"px",dt.style.height=pt.height+"px",dt.className="applet_screenshot applet_scaler"+(Mt?" applet_screenshot_play":""),dt.appendChild(Ht);var zt=GGBAppletUtils.getScale(pt,lt,Mt);Mt?(lt.appendChild(Ue()),window.GGBT_wsf_view||(lt.style.position="relative")):window.GGBT_spinner&&window.GGBT_spinner.attachSpinner(dt,"66%"),lt.appendChild(dt),zt!==1&&!isNaN(zt)&&(GGBAppletUtils.scaleElement(dt,zt),dt.style.width=pt.width+"px",dt.style.height=pt.height+"px",dt.parentNode.style.width=pt.width*zt+"px",dt.parentNode.style.height=pt.height*zt+"px"),mt.resize=function(){at(lt,Ht,dt,Mt)},window.addEventListener("resize",function(Ze){mt.resize()}),mt.resize()};function at(lt,pt,Mt,Ht){if(lt.contains(pt)){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,Ht);Mt.parentNode!==null&&(!isNaN(dt)&&dt!==1?(GGBAppletUtils.scaleElement(Mt,dt),Mt.parentNode.style.width=z.width*dt+"px",Mt.parentNode.style.height=z.height*dt+"px"):(GGBAppletUtils.scaleElement(Mt,1),Mt.parentNode.style.width=z.width+"px",Mt.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,pt){pt.appendChild(lt)};var Ie=function(lt,pt,Mt,Ht){Re(lt,pt,!0);for(var dt=function(){var Fn=[];for(Ze=0;Ze<lt.childNodes.length;Ze++)Fn.push(lt.childNodes[Ze]);if(window.GGBT_wsf_view){var Zn=window.GGBT_wsf_view.renderFullScreen(lt,pt.id),La=document.getElementById("fullscreencontainer"),vt=jQuery(lt).find(".fullscreencontent");vt.length>0?(Zn.remove(),vt.attr("id","fullscreencontent").show(),jQuery(La).append(vt),window.dispatchEvent(new Event("resize"))):Ne(Zn,pt,!1),window.GGBT_wsf_view.launchFullScreen(La)}else ve=Ht,Ne(lt,pt,!1);if(!window.GGBT_wsf_view)for(Ze=0;Ze<Fn.length;Ze++)lt.removeChild(Fn[Ze])},zt=lt.getElementsByClassName("ggb_preview_play"),Ze=0;Ze<zt.length;Ze++)zt[Ze].addEventListener("click",dt,!1),zt[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 pt='.icon-applet-play { width: 100%; height: 100%;box-sizing: border-box;position: absolute;z-index: 1001;cursor: pointer;border-width: 0px; background-color: transparent;background-repeat: no-repeat;left: 0;top: 0;background-position: center center; background-image: url("https://www.geogebra.org/images/worksheet/icon-start-applet.png");}.icon-applet-play:hover {background-image: url("https://www.geogebra.org/images/worksheet/icon-start-applet-hover.png");}',Mt=document.createElement("style");Mt.styleSheet?Mt.styleSheet.cssText=pt:Mt.appendChild(document.createTextNode(pt)),document.getElementsByTagName("head")[0].appendChild(Mt)}return lt},Ge=function(lt,pt,Mt,Ht){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=pt-2+"px",dt.style.top="0px",dt.style.left="0px",dt.style.overflow="hidden",dt.style.backgroundColor="white";var zt="lightgrey";Mt!==void 0&&(Mt==="none"?zt="transparent":zt=Mt),dt.style.border="1px solid "+zt;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 Fn,Zn,La;if(!Ht){Fn=document.createElement("img"),Fn.style.position="absolute",Fn.style.zIndex="1001",Fn.style.opacity=1,Ze.style.opacity=.3,Zn=360,Zn>lt/4*3&&(Zn=lt/4*3),La=Zn/5.8,Fn.setAttribute("src",E),Fn.setAttribute("width",Zn),Fn.setAttribute("height",La);var vt=(lt-Zn)/2,Lt=(pt-La)/2;Fn.style.left=vt+"px",Fn.style.top=Lt+"px",dt.appendChild(Fn)}}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,pt){if(ue=lt,pt){Ft(ue,!0);return}var Mt=!ge;if(Mt){var Ht=oe(ue);!isNaN(Ht)&&Ht<4.4&&(Mt=!1)}var dt,zt;window.location.protocol.substr(0,4)==="http"?dt=window.location.protocol:dt="http:";var Ze=ue.indexOf("//");Ze>0?zt=ue:Ze===0?zt=dt+ue:zt="https://www.geogebra.org/apps/5.2.814.0/";for(var Fn in rt)if(ue.slice(rt[Fn].length*-1)===rt[Fn]||ue.slice((rt[Fn].length+1)*-1)===rt[Fn]+"/"){Ft(zt,!1);return}!GGBAppletUtils.isFlexibleWorksheetEditor()&&Mt&&!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")?zt+="webSimple/":zt+="web3d/",Ft(zt,!1)},Ft=function(lt,pt){if(lt.requirejs){Ke=lt;return}lt.slice(-1)!=="/"&&(lt+="/"),Ke=lt,pt===null&&(pt=lt.indexOf("http")===-1),De=pt,a="web.nocache.js",y=!1;var Mt=Ke.split("/");Mt.length>1&&(!pt&&Mt[Mt.length-2]==="webSimple"?(a="webSimple.nocache.js",y=!0):rt.indexOf(Mt[Mt.length-2])>=0&&(a=Mt[Mt.length-2]+".nocache.js")),Mt=lt.split("/"),ue=Mt[Mt.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 Ht=parseFloat(ue);Ht!==NaN&&Ht<5&<.indexOf("geogebra.org")>=0&&(console.log("The GeoGebra HTML5 codebase version "+Ht+" is deprecated. Using version latest instead."),gt("5.0",pt))},Ut=function(lt,pt){window.console&&window.console.log&&(!pt||typeof pt.showLogging=="undefined"||pt.showLogging&&pt.showLogging!=="false")&&console.log(lt)};z.material_id!==void 0?pe(Sn):Sn();function Sn(){var lt=st;ze!==null?lt=ze:parseFloat(lt)<5&&(lt="5.0"),gt(lt,!1),se!==null&&Ft(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,Ft]=(0,x.useState)([]),[Ut,Sn]=(0,x.useState)([]),[lt,pt]=(0,x.useState)([]),[Mt,Ht]=(0,x.useState)([]),[dt,zt]=(0,x.useState)([]),[Ze,Fn]=(0,x.useState)([]),[Zn,La]=(0,x.useState)([]),[vt,Lt]=(0,x.useState)([]);(0,x.useEffect)(()=>{de?Ct():Cn()},[de]);const Ct=()=>b(void 0,null,function*(){Re(!0);const sn=yield(0,a.oR)(pe[0],{course_id:Ee});Ge(sn.no_group),be?(Fn(sn.all_course_groups),La(sn.all_course_groups)):(pt(sn.late_course_groups),Ht(sn.late_course_groups),rt(sn.submit_course_groups),Ft(sn.submit_course_groups)),Re(!1),Ce.setFieldsValue({end_time:Ke()()})}),wt=()=>b(void 0,null,function*(){const sn=Ce.getFieldsValue(),Nt=Ke()(sn.end_time).format("YYYY-MM-DD HH:mm");if((be?vt.length===0:Ut.length===0&&dt.length===0)&&!Ue){he.ZP.warning("\u8BF7\u9009\u62E9\u9700\u8981\u64CD\u4F5C\u7684\u73ED\u7EA7");return}Ie(!0);const Vt=yield(0,a.Mc)(Ee,{no_group:Ue,homework_ids:pe,group_ids:be?vt:Ut,end_time:Nt,late_group_ids:be?vt:dt});Ie(!1),Vt.status===0&&(Cn(),he.ZP.success("\u64CD\u4F5C\u6210\u529F"),ne(),te({type:"classroomList/setActionTabs",payload:{key:"\u6E05\u9664\u9009\u62E9\u6570\u636E"}}))}),Cn=()=>{Sn([]),zt([]),Ft([]),Ht([])};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:()=>wt(),onCancel:()=>{Cn(),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:sn=>(0,y.Q8)(sn,re),disabledTime:sn=>(0,y.d0)(sn),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:sn=>{La(Ze.filter(Nt=>Nt.name.indexOf(sn.target.value)>-1))}}),x.createElement(se.default,{style:{marginTop:"10px",height:"300px",overflow:"auto"},className:ue.antdTable,rowSelection:{type:"checkbox",onChange:sn=>{Lt(sn)}},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:sn=>{Ft(Ve.filter(Nt=>Nt.name.indexOf(sn.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:sn=>{Sn(sn)}},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:sn=>{Ht(lt.filter(Nt=>Nt.name.indexOf(sn.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:sn=>{zt(sn)}},rowKey:"id",pagination:!1,loading:Ne,dataSource:Mt,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 Dn}});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:At="",className:Zt,showTextOnly:bt,showLines:Jn,style:Jt={}})=>{const er=(0,x.useMemo)(()=>"",[At]);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=(At,Zt,bt)=>Zt in At?ue(At,Zt,{enumerable:!0,configurable:!0,writable:!0,value:bt}):At[Zt]=bt,re=(At,Zt)=>{for(var bt in Zt||(Zt={}))E.call(Zt,bt)&&te(At,bt,Zt[bt]);if(b)for(var bt of b(Zt))ee.call(Zt,bt)&&te(At,bt,Zt[bt]);return At},oe=(At,Zt)=>a(At,y(Zt));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:At,title:Zt,icon:bt,actionName:Jn,className:Jt="",children:er}){function Zo(){At(Jn)}return ve.createElement("a",{title:Zt,className:Jt,onClick:Zo},ve.createElement("i",{className:`${bt}`}),er)}var pe=({watch:At,showNullButton:Zt,showNullProgramButton:bt,onActionCallback:Jn,fullScreen:Jt,insertTemp:er,hidetoolBar:Zo,extraUse:ao})=>{const rr=[...ne,{title:`${At?"\u5173\u95ED\u5B9E\u65F6\u9884\u89C8":"\u5F00\u542F\u5B9E\u65F6\u9884\u89C8"}`,icon:`${At?"md-iconfont icon-eye-slash":"md-iconfont icon-eye"}`,actionName:"trigger-watch"}];return 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:Jn})):ve.createElement("span",{className:"v-line"}))),Zt?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:Jn},ve.createElement("span",{className:"fill-tip"},"\u70B9\u51FB\u63D2\u5165\b\u586B\u7A7A\u9879"))):null,bt?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:Jn},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:Jn},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:Jn},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:`${Jt?"md-iconfont icon-shrink":"md-iconfont icon-enlarge"}`,title:Jt?"\u5173\u95ED\u5168\u5C4F":"\u5F00\u542F\u5168\u5C4F",actionName:"trigger-full-screen",onActionCallback:Jn})))},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=(At,Zt,bt)=>Zt in At?Ne(At,Zt,{enumerable:!0,configurable:!0,writable:!0,value:bt}):At[Zt]=bt,rt=(At,Zt)=>{for(var bt in Zt||(Zt={}))Ue.call(Zt,bt)&&Ve(At,bt,Zt[bt]);if(Ie)for(var bt of Ie(Zt))Ge.call(Zt,bt)&&Ve(At,bt,Zt[bt]);return At},gt=(At,Zt)=>Re(At,at(Zt));const Ft={labelCol:{span:4},wrapperCol:{span:20}};var Ut=({callback:At,onCancel:Zt})=>{function bt(Jn){At(Jn)}return x.createElement(be.default,gt(rt({},Ft),{initialValues:{link:"http://",title:""},className:"link-panel",onFinish:bt,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:Zt},"\u53D6\u6D88")))},Sn=z(57444),lt=z(70859),pt=z(14446),Mt=z(71230),Ht=z(63205),dt=z(67294),zt=({callback:At,onCancel:Zt})=>{const bt=document.createElement("canvas"),Jn=bt.getContext("2d");bt.width=1e3,bt.height=800,Jn.fillStyle="#ffffff",Jn.fillRect(0,0,bt.width,bt.height);const Jt=bt.toDataURL("image/png");return dt.createElement(pt.default,{open:!0,width:"100vw",style:{height:"100vh",top:0},footer:null,title:null,closable:!1},dt.createElement(Mt.Z,{style:{height:"100vh"}},dt.createElement(Ht.Z,{fullWidth:!0,noAssociationId:!0,showFullTools:!0,data:{src:Jt,visible:!0,title:String(Date.now())},onOk:er=>{At({src:er.url})},onClose:Zt})))},Ze=z(23495);function Fn(){go.CommandHandler.call(this),this._arrowKeyBehavior="move",this._pasteOffset=new go.Point(10,10),this._lastPasteOffset=new go.Point(0,0)}go.Diagram.inherit(Fn,go.CommandHandler),Fn.prototype.canAlignSelection=function(){var At=this.diagram;return!(At===null||At.isReadOnly||At.isModelReadOnly||At.selection.count<2)},Fn.prototype.alignLeft=function(){var At=this.diagram;At.startTransaction("aligning left");var Zt=1/0;At.selection.each(function(bt){bt instanceof go.Link||(Zt=Math.min(bt.position.x,Zt))}),At.selection.each(function(bt){bt instanceof go.Link||bt.move(new go.Point(Zt,bt.position.y))}),At.commitTransaction("aligning left")},Fn.prototype.alignRight=function(){var At=this.diagram;At.startTransaction("aligning right");var Zt=-1/0;At.selection.each(function(bt){if(!(bt instanceof go.Link)){var Jn=bt.actualBounds.x+bt.actualBounds.width;Zt=Math.max(Jn,Zt)}}),At.selection.each(function(bt){bt instanceof go.Link||bt.move(new go.Point(Zt-bt.actualBounds.width,bt.position.y))}),At.commitTransaction("aligning right")},Fn.prototype.alignTop=function(){var At=this.diagram;At.startTransaction("alignTop");var Zt=1/0;At.selection.each(function(bt){bt instanceof go.Link||(Zt=Math.min(bt.position.y,Zt))}),At.selection.each(function(bt){bt instanceof go.Link||bt.move(new go.Point(bt.position.x,Zt))}),At.commitTransaction("alignTop")},Fn.prototype.alignBottom=function(){var At=this.diagram;At.startTransaction("aligning bottom");var Zt=-1/0;At.selection.each(function(bt){if(!(bt instanceof go.Link)){var Jn=bt.actualBounds.y+bt.actualBounds.height;Zt=Math.max(Jn,Zt)}}),At.selection.each(function(bt){bt instanceof go.Link||bt.move(new go.Point(bt.actualBounds.x,Zt-bt.actualBounds.height))}),At.commitTransaction("aligning bottom")},Fn.prototype.alignCenterX=function(){var At=this.diagram,Zt=At.selection.first();if(Zt){At.startTransaction("aligning Center X");var bt=Zt.actualBounds.x+Zt.actualBounds.width/2;At.selection.each(function(Jn){Jn instanceof go.Link||Jn.move(new go.Point(bt-Jn.actualBounds.width/2,Jn.actualBounds.y))}),At.commitTransaction("aligning Center X")}},Fn.prototype.alignCenterY=function(){var At=this.diagram,Zt=At.selection.first();if(Zt){At.startTransaction("aligning Center Y");var bt=Zt.actualBounds.y+Zt.actualBounds.height/2;At.selection.each(function(Jn){Jn instanceof go.Link||Jn.move(new go.Point(Jn.actualBounds.x,bt-Jn.actualBounds.height/2))}),At.commitTransaction("aligning Center Y")}},Fn.prototype.alignColumn=function(At){var Zt=this.diagram;Zt.startTransaction("align Column"),At===void 0&&(At=0),At=parseFloat(At);var bt=new Array;Zt.selection.each(function(ao){ao instanceof go.Link||bt.push(ao)});for(var Jn=0;Jn<bt.length-1;Jn++){var Jt=bt[Jn],er=Jt.actualBounds.y+Jt.actualBounds.height+At,Zo=bt[Jn+1];Zo.move(new go.Point(Jt.actualBounds.x,er))}Zt.commitTransaction("align Column")},Fn.prototype.alignRow=function(At){At===void 0&&(At=0),At=parseFloat(At);var Zt=this.diagram;Zt.startTransaction("align Row");var bt=new Array;Zt.selection.each(function(ao){ao instanceof go.Link||bt.push(ao)});for(var Jn=0;Jn<bt.length-1;Jn++){var Jt=bt[Jn],er=Jt.actualBounds.x+Jt.actualBounds.width+At,Zo=bt[Jn+1];Zo.move(new go.Point(er,Jt.actualBounds.y))}Zt.commitTransaction("align Row")},Fn.prototype.canRotate=function(At){var Zt=this.diagram;return!(Zt===null||Zt.isReadOnly||Zt.isModelReadOnly||Zt.selection.count<1)},Fn.prototype.rotate=function(At){At===void 0&&(At=90);var Zt=this.diagram;Zt.startTransaction("rotate "+At.toString());var Zt=this.diagram;Zt.selection.each(function(bt){bt instanceof go.Link||bt instanceof go.Group||(bt.angle+=At)}),Zt.commitTransaction("rotate "+At.toString())},Fn.prototype.pullToFront=function(){var At=this.diagram;At.startTransaction("pullToFront");var Zt=new go.Map;At.selection.each(function(bt){Zt.set(bt.layer,0)}),Zt.iteratorKeys.each(function(bt){var Jn=0;bt.parts.each(function(Jt){if(!Jt.isSelected){var er=Jt.zOrder;isNaN(er)?Jt.zOrder=0:Jn=Math.max(Jn,er)}}),Zt.set(bt,Jn)}),At.selection.each(function(bt){Fn._assignZOrder(bt,Zt.get(bt.layer)+1)}),At.commitTransaction("pullToFront")},Fn.prototype.pushToBack=function(){var At=this.diagram;At.startTransaction("pushToBack");var Zt=new go.Map;At.selection.each(function(bt){Zt.set(bt.layer,0)}),Zt.iteratorKeys.each(function(bt){var Jn=0;bt.parts.each(function(Jt){if(!Jt.isSelected){var er=Jt.zOrder;isNaN(er)?Jt.zOrder=0:Jn=Math.min(Jn,er)}}),Zt.set(bt,Jn)}),At.selection.each(function(bt){Fn._assignZOrder(bt,Zt.get(bt.layer)-1-Fn._findGroupDepth(bt))}),At.commitTransaction("pushToBack")},Fn._assignZOrder=function(At,Zt,bt){bt===void 0&&(bt=At),At.layer===bt.layer&&(At.zOrder=Zt),At instanceof go.Group&&At.memberParts.each(function(Jn){Fn._assignZOrder(Jn,Zt+1,bt)})},Fn._findGroupDepth=function(At){if(At instanceof go.Group){var Zt=0;return At.memberParts.each(function(bt){Zt=Math.max(Zt,Fn._findGroupDepth(bt))}),Zt+1}else return 0},Fn.prototype.doKeyDown=function(){var At=this.diagram;if(At!==null){var Zt=At.lastInput;if(Zt.key==="Up"||Zt.key==="Down"||Zt.key==="Left"||Zt.key==="Right"){var bt=this.arrowKeyBehavior;if(bt==="none")return;if(bt==="select"){this._arrowKeySelect();return}else if(bt==="move"){this._arrowKeyMove();return}else if(bt==="tree"){this._arrowKeyTree();return}}go.CommandHandler.prototype.doKeyDown.call(this)}},Fn.prototype._getAllParts=function(){var At=new Array;return this.diagram.nodes.each(function(Zt){At.push(Zt)}),this.diagram.parts.each(function(Zt){At.push(Zt)}),At},Fn.prototype._arrowKeyMove=function(){var At=this.diagram,Zt=At.lastInput,bt=0,Jn=0;if(Zt.control||Zt.meta)bt=1,Jn=1;else if(At.grid!==null){var Jt=At.grid.gridCellSize;Jn=Jt.width,bt=Jt.height}At.startTransaction("arrowKeyMove"),At.selection.each(function(er){Zt.key==="Up"?er.move(new go.Point(er.actualBounds.x,er.actualBounds.y-bt)):Zt.key==="Down"?er.move(new go.Point(er.actualBounds.x,er.actualBounds.y+bt)):Zt.key==="Left"?er.move(new go.Point(er.actualBounds.x-Jn,er.actualBounds.y)):Zt.key==="Right"&&er.move(new go.Point(er.actualBounds.x+Jn,er.actualBounds.y))}),At.commitTransaction("arrowKeyMove")},Fn.prototype._arrowKeySelect=function(){var At=this.diagram,Zt=At.lastInput,bt=null;Zt.key==="Up"?bt=this._findNearestPartTowards(270):Zt.key==="Down"?bt=this._findNearestPartTowards(90):Zt.key==="Left"?bt=this._findNearestPartTowards(180):Zt.key==="Right"&&(bt=this._findNearestPartTowards(0)),bt!==null&&(Zt.shift?bt.isSelected=!0:Zt.control||Zt.meta?bt.isSelected=!bt.isSelected:At.select(bt))},Fn.prototype._findNearestPartTowards=function(At){var Zt=this.diagram.selection.first();if(Zt===null)return null;for(var bt=Zt.actualBounds.center,Jn=this._getAllParts(),Jt=1/0,er=Zt,Zo=0;Zo<Jn.length;Zo++){var ao=Jn[Zo];if(ao!==Zt&&ao.canSelect()){var rr=ao.actualBounds.center,qr=bt.directionPoint(rr),Jo=this._angleCloseness(qr,At);if(Jo<=45){var sa=bt.distanceSquaredPoint(rr);sa*=1+Math.sin(Jo*Math.PI/180),sa<Jt&&(Jt=sa,er=ao)}}}return er},Fn.prototype._angleCloseness=function(At,Zt){return Math.min(Math.abs(Zt-At),Math.min(Math.abs(Zt+360-At),Math.abs(Zt-360-At)))},Fn.prototype._arrowKeyTree=function(){var At=this.diagram,Zt=At.selection.first();if(Zt instanceof go.Node){var bt=At.lastInput;if(bt.key==="Right"){if(!Zt.isTreeLeaf)if(!Zt.isTreeExpanded)At.commandHandler.canExpandTree(Zt)&&At.commandHandler.expandTree(Zt);else{var Jn=this._sortTreeChildrenByY(Zt).first();Jn!==null&&At.select(Jn)}}else if(bt.key==="Left")if(!Zt.isTreeLeaf&&Zt.isTreeExpanded)At.commandHandler.canCollapseTree(Zt)&&At.commandHandler.collapseTree(Zt);else{var Jt=Zt.findTreeParentNode();Jt!==null&&At.select(Jt)}else if(bt.key==="Up"){var Jt=Zt.findTreeParentNode();if(Jt!==null){var er=this._sortTreeChildrenByY(Jt),Zo=er.indexOf(Zt);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&&At.select(ao)}else At.select(Jt)}}else if(bt.key==="Down")if(Zt.isTreeExpanded&&!Zt.isTreeLeaf){var Jn=this._sortTreeChildrenByY(Zt).first();Jn!==null&&At.select(Jn)}else for(;Zt!==null;){var Jt=Zt.findTreeParentNode();if(Jt===null)break;var er=this._sortTreeChildrenByY(Jt),Zo=er.indexOf(Zt);if(Zo<er.length-1){At.select(er.elt(Zo+1));break}else Zt=Jt}var qr=At.selection.first();qr!==null&&At.scrollToRect(qr.actualBounds)}},Fn.prototype._sortTreeChildrenByY=function(At){var Zt=new go.List().addAll(At.findTreeChildrenNodes());return Zt.sort(function(bt,Jn){var Jt=bt.location,er=Jn.location;return Jt.y<er.y?-1:Jt.y>er.y?1:Jt.x<er.x?-1:Jt.x>er.x?1:0}),Zt},Fn.prototype.copyToClipboard=function(At){go.CommandHandler.prototype.copyToClipboard.call(this,At),this._lastPasteOffset.set(this.pasteOffset)},Fn.prototype.pasteFromClipboard=function(){var At=go.CommandHandler.prototype.pasteFromClipboard.call(this);return this.diagram.moveParts(At,this._lastPasteOffset),this._lastPasteOffset.add(this.pasteOffset),At},Object.defineProperty(Fn.prototype,"arrowKeyBehavior",{get:function(){return this._arrowKeyBehavior},set:function(At){if(At!=="move"&&At!=="select"&&At!=="scroll"&&At!=="tree"&&At!=="none")throw new Error('DrawCommandHandler.arrowKeyBehavior must be either "move", "select", "scroll", "tree", or "none", not: '+At);this._arrowKeyBehavior=At}}),Object.defineProperty(Fn.prototype,"pasteOffset",{get:function(){return this._pasteOffset},set:function(At){if(!(At instanceof go.Point))throw new Error("DrawCommandHandler.pasteOffset must be a Point, not: "+At);this._pasteOffset.set(At)}});var Zn=Fn,La=z(18023),vt=z(15746),Lt=z(33170),Ct={myPaletteDiv:"myPaletteDiv___Xjz2I",flowChartWrp:"flowChartWrp____f45r",maxH60:"maxH60___Pd4Re"},wt=z(67294),Cn=(At,Zt,bt)=>new Promise((Jn,Jt)=>{var er=rr=>{try{ao(bt.next(rr))}catch(qr){Jt(qr)}},Zo=rr=>{try{ao(bt.throw(rr))}catch(qr){Jt(qr)}},ao=rr=>rr.done?Jn(rr.value):Promise.resolve(rr.value).then(er,Zo);ao((bt=bt.apply(At,Zt)).next())});function sn({onCancel:At,callback:Zt}){let bt=(0,x.useRef)(),Jn=(0,x.useRef)(),Jt=(0,x.useRef)(),er=(0,x.useRef)(!1);const Zo=(0,x.useRef)(!1),[ao,rr]=(0,x.useState)(0);function qr(){const sa=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"};bt.current=new Ze.S0(Jn.current,{padding:20,grid:sa(Ze.s_,"Grid",sa(Ze.bn,"LineH",{stroke:"lightgray",strokeWidth:.5}),sa(Ze.bn,"LineV",{stroke:"lightgray",strokeWidth:.5})),"draggingTool.isGridSnapEnabled":!0,handlesDragDropForTopLevelParts:!0,mouseDrop:va=>{var tr=va.diagram.commandHandler.addTopLevelParts(va.diagram.selection,!0);tr||va.diagram.currentTool.doCancel()},commandHandler:sa(Zn),"clickCreatingTool.archetypeNodeData":{text:"\u672A\u547D\u540D",fill:null,stroke:null,borderColor:"rgba(0,0,0,0)"},PartCreated:va=>{var tr=va.subject;tr.location=tr.location.copy().snapToGridPoint(va.diagram.grid.gridOrigin,va.diagram.grid.gridCellSize),setTimeout(()=>{va.diagram.commandHandler.editTextBlock()},20)},"commandHandler.archetypeGroupData":{isGroup:!0,text:"NEW GROUP"},SelectionGrouped:va=>{var tr=va.subject;setTimeout(()=>{va.diagram.commandHandler.editTextBlock()})},LinkRelinked:va=>{var tr=va.parameter.part;tr.invalidateConnectedLinks();var xr=va.subject;va.diagram.toolManager.linkingTool.isForwards?xr.toNode.invalidateConnectedLinks():xr.fromNode.invalidateConnectedLinks()},"undoManager.isEnabled":!0}),bt.current.nodeTemplate=sa(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),sa(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")),sa(Ze.bn,{width:100,height:20,strokeWidth:0,fill:"transparent"}),sa(Ze.al,{margin:1,textAlign:"center",overflow:Ze.al.OverflowEllipsis,editable:!0},new Ze.KX("text").makeTwoWay(),new Ze.KX("stroke","color"))),bt.current.nodeTemplate.toolTip=sa("ToolTip",sa(Ze.s_,"Vertical",{maxSize:new Ze.$u(200,NaN)},sa(Ze.al,{font:"bold 10pt sans-serif",textAlign:"center"},new Ze.KX("text")),sa(Ze.al,{font:"10pt sans-serif",textAlign:"center"},new Ze.KX("text","details"))));function ft(va,tr){var xr=(ga,eo)=>{ga.handled=!0,ga.diagram.model.commit(Oo=>{var Ni=eo.part.adornedPart,fi=new Ze.E9().setRectSpot(Ni.actualBounds,va);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(ga.diagram.grid.gridOrigin,ga.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=ga.diagram.findNodeForData(Ii);tl.location=fi,ga.diagram.select(tl),setTimeout(()=>{ga.diagram.commandHandler.editTextBlock()},20)})};return sa(Ze.bn,{figure:tr,alignment:va,alignmentFocus:va.opposite(),width:va.equals(Ze.z6.Top)||va.equals(Ze.z6.Bottom)?25:18,height:va.equals(Ze.z6.Top)||va.equals(Ze.z6.Bottom)?18:25,fill:"orange",stroke:Vr.white,strokeWidth:4,mouseEnter:(ga,eo)=>eo.fill="dodgerblue",mouseLeave:(ga,eo)=>eo.fill="orange",isActionable:!0,click:xr,contextClick:xr})}function mn(va){return sa(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)}},va||{})}bt.current.nodeTemplate.selectionAdornmentTemplate=sa(Ze.uz,"Spot",sa(Ze.Vm,{padding:10}),ft(Ze.z6.Top,"TriangleUp"),ft(Ze.z6.Left,"TriangleLeft"),ft(Ze.z6.Right,"TriangleRight"),ft(Ze.z6.Bottom,"TriangleDown"),mn({alignment:new Ze.z6(.75,0)}));function an(va,tr){return(xr,ga)=>{xr.handled=!0,xr.diagram.model.commit(eo=>{eo.set(ga.part.adornedPart.data,va,tr)})}}function fn(va,tr){return tr||(tr="color"),sa(Ze.bn,{width:16,height:16,stroke:"lightgray",fill:va,margin:1,background:"transparent",mouseEnter:(xr,ga)=>ga.stroke="dodgerblue",mouseLeave:(xr,ga)=>ga.stroke="lightgray",click:an(tr,va),contextClick:an(tr,va)})}function da(){return[sa("ContextMenuButton",sa(Ze.s_,"Horizontal",fn(Vr.white,"fill"),fn(Vr.beige,"fill"),fn(Vr.extralightblue,"fill"),fn(Vr.extralightred,"fill"))),sa("ContextMenuButton",sa(Ze.s_,"Horizontal",fn(Vr.lightgray,"fill"),fn(Vr.lightgreen,"fill"),fn(Vr.lightblue,"fill"),fn(Vr.lightred,"fill")))]}function gn(){return[sa("ContextMenuButton",sa(Ze.s_,"Horizontal",fn(Vr.black),fn(Vr.green),fn(Vr.blue),fn(Vr.red))),sa("ContextMenuButton",sa(Ze.s_,"Horizontal",fn(Vr.white),fn(Vr.magenta),fn(Vr.purple),fn(Vr.orange)))]}function ia(va,tr){return tr||(tr="thickness"),sa(Ze.bn,"LineH",{width:16,height:16,strokeWidth:va,margin:1,background:"transparent",mouseEnter:(xr,ga)=>ga.background="dodgerblue",mouseLeave:(xr,ga)=>ga.background="transparent",click:an(tr,va),contextClick:an(tr,va)})}function In(va,tr){return tr||(tr="dash"),sa(Ze.bn,"LineH",{width:24,height:16,strokeWidth:2,strokeDashArray:va,margin:1,background:"transparent",mouseEnter:(xr,ga)=>ga.background="dodgerblue",mouseLeave:(xr,ga)=>ga.background="transparent",click:an(tr,va),contextClick:an(tr,va)})}function pa(){return[sa("ContextMenuButton",sa(Ze.s_,"Horizontal",ia(1),ia(2),ia(3),ia(4))),sa("ContextMenuButton",sa(Ze.s_,"Horizontal",In(null),In([2,4]),In([4,4])))]}function Qa(va,tr){return tr||(tr="figure"),sa(Ze.bn,{width:32,height:32,scale:.5,fill:"lightgray",figure:va,margin:1,background:"transparent",mouseEnter:(xr,ga)=>ga.fill="dodgerblue",mouseLeave:(xr,ga)=>ga.fill="lightgray",click:an(tr,va),contextClick:an(tr,va)})}bt.current.nodeTemplate.contextMenu=sa("ContextMenu",sa("ContextMenuButton",sa(Ze.s_,"Horizontal",Qa("Rectangle"),Qa("RoundedRectangle"),Qa("Ellipse"),Qa("Diamond"))),sa("ContextMenuButton",sa(Ze.s_,"Horizontal",Qa("Parallelogram2"),Qa("ManualOperation"),Qa("Procedure"),Qa("Cylinder1"))),sa("ContextMenuButton",sa(Ze.s_,"Horizontal",Qa("Terminator"),Qa("CreateRequest"),Qa("Document"),Qa("TriangleDown"))),da(),gn(),pa()),bt.current.groupTemplate=sa(Ze.ZA,"Spot",{layerName:"Background",ungroupable:!0,locationSpot:Ze.z6.Center,selectionObjectName:"BODY",computesBoundsAfterDrag:!0,handlesDragDropForMembers:!0,mouseDrop:(va,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),sa(Ze.s_,"Auto",{name:"BODY"},sa(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")),sa(Ze.Vm,{background:"transparent",margin:20})),sa(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"))),bt.current.groupTemplate.selectionAdornmentTemplate=sa(Ze.uz,"Spot",sa(Ze.s_,"Auto",sa(Ze.bn,{fill:null,stroke:"dodgerblue",strokeWidth:3}),sa(Ze.Vm,{margin:1.5})),mn({alignment:Ze.z6.TopRight,alignmentFocus:Ze.z6.BottomRight})),bt.current.groupTemplate.contextMenu=sa("ContextMenu",da(),gn(),pa()),bt.current.linkTemplate=sa(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",va=>va>=1?10:0),new Ze.KX("toShortLength","dir",va=>va>=1?10:0),new Ze.KX("points").makeTwoWay(),sa(Ze.bn,{strokeWidth:2},new Ze.KX("stroke","color"),new Ze.KX("strokeWidth","thickness"),new Ze.KX("strokeDashArray","dash")),sa(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",va=>va===1)),sa(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",va=>va>=1),new Ze.KX("width","thickness",va=>7+3*va),new Ze.KX("height","thickness",va=>7+3*va),new Ze.KX("segmentOffset","thickness",va=>new Ze.E9(-15,4+1.5*va))),sa(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",va=>va===2),new Ze.KX("width","thickness",va=>7+3*va),new Ze.KX("height","thickness",va=>7+3*va),new Ze.KX("segmentOffset","thickness",va=>new Ze.E9(-15,4+1.5*va))),sa(Ze.al,{alignmentFocus:new Ze.z6(0,1,-4,0),editable:!0},new Ze.KX("text").makeTwoWay(),new Ze.KX("stroke","color"))),bt.current.linkTemplate.selectionAdornmentTemplate=sa(Ze.uz,sa(Ze.bn,{isPanelMain:!0,stroke:"transparent",strokeWidth:6,pathPattern:Br(2)},new Ze.KX("pathPattern","thickness",Br)),mn({alignmentFocus:new Ze.z6(0,0,-6,-4)}));function Br(va){return sa(Ze.bn,{stroke:"dodgerblue",strokeWidth:2,strokeCap:"square",geometryString:"M0 0 M4 2 H3 M4 "+(va+4).toString()+" H3"})}function no(va){var tr="M0 0 M8 16 M0 8 L16 8 M12 11 L16 8 L12 5";return va===0?tr="M0 0 M16 16 M0 8 L16 8":va===2&&(tr="M0 0 M16 16 M0 8 L16 8 M12 11 L16 8 L12 5 M4 11 L0 8 L4 5"),sa(Ze.bn,{geometryString:tr,margin:2,background:"transparent",mouseEnter:(xr,ga)=>ga.background="dodgerblue",mouseLeave:(xr,ga)=>ga.background="transparent",click:an("dir",va),contextClick:an("dir",va)})}function No(va){var tr=(xr,ga)=>{xr.handled=!0,xr.diagram.model.commit(eo=>{var Oo=ga.part.adornedPart;eo.set(Oo.data,va?"toSpot":"fromSpot",Ze.z6.stringify(Ze.z6.AllSides)),(va?Oo.toNode:Oo.fromNode).invalidateConnectedLinks()})};return sa(Ze.bn,{width:12,height:12,fill:"transparent",mouseEnter:(xr,ga)=>ga.background="dodgerblue",mouseLeave:(xr,ga)=>ga.background="transparent",click:tr,contextClick:tr})}function Wn(va,tr){var xr=0,ga=Ze.z6.RightSide;va.equals(Ze.z6.Top)?(xr=270,ga=Ze.z6.TopSide):va.equals(Ze.z6.Left)?(xr=180,ga=Ze.z6.LeftSide):va.equals(Ze.z6.Bottom)&&(xr=90,ga=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(ga)),(tr?Ii.toNode:Ii.fromNode).invalidateConnectedLinks()})};return sa(Ze.bn,{alignment:va,alignmentFocus:va.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})}bt.current.linkTemplate.contextMenu=sa("ContextMenu",gn(),pa(),sa("ContextMenuButton",sa(Ze.s_,"Horizontal",no(0),no(1),no(2))),sa("ContextMenuButton",sa(Ze.s_,"Horizontal",sa(Ze.s_,"Spot",No(!1),Wn(Ze.z6.Top,!1),Wn(Ze.z6.Left,!1),Wn(Ze.z6.Right,!1),Wn(Ze.z6.Bottom,!1)),sa(Ze.s_,"Spot",{margin:new Ze.Zt(0,0,0,2)},No(!0),Wn(Ze.z6.Top,!0),Wn(Ze.z6.Left,!0),Wn(Ze.z6.Right,!0),Wn(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(va){return console.log("shapeName:",va),yi.indexOf(va)>=0}var Pi=new Ze.YI(Jt.current,{maxSelectionCount:1,linkTemplate:sa(Ze.rU,{locationSpot:Ze.z6.Center,selectionAdornmentTemplate:sa(Ze.uz,"Link",{locationSpot:Ze.z6.Center},sa(Ze.bn,{isPanelMain:!0,fill:null,stroke:"deepskyblue",strokeWidth:0}),sa(Ze.bn,{toArrow:"Standard",stroke:null}))},{routing:Ze.rU.AvoidsNodes,curve:Ze.rU.JumpOver,corner:5,toShortLength:4},new Ze.KX("points"),sa(Ze.bn,{isPanelMain:!0,strokeWidth:2}),sa(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(va=>({text:"\u672A\u547D\u540D",size:"100 100",figure:va.key,fill:"white",stroke:"#666",borderColor:"#000"}))])});return bt.current.addDiagramListener("TextEdited",function(va){var tr;const xr=va.subject.part;var ga=(tr=document.activeElement)==null?void 0:tr.value;typeof ga=="string"&&ga.trim()===""&&bt.current.model.commit(function(eo){eo.set(xr.data,"text","\u672A\u547D\u540D"),bt.current.commandHandler.stopCommand()},"increment")}),Pi.nodeTemplate=sa(Ze.NB,"Auto",{locationSpot:Ze.z6.Center},new Ze.KX("location","location",Ze.E9.parse).makeTwoWay(Ze.E9.stringify),sa(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")),sa(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(()=>{bt.current.grid=sa(Ze.s_,"Grid",sa(Ze.bn,"LineH",{stroke:"lightgray",strokeWidth:.5}),sa(Ze.bn,"LineV",{stroke:"lightgray",strokeWidth:.5})),bt.current.grid.visible=!0,bt.current.grid.gridCellStroke="darkgray",bt.current.grid.gridCellStrokeWidth=1},300),window.myDiagrams=bt.current,bt.current}const Jo=()=>Cn(this,null,function*(){var sa=bt.current.makeImage();const Vr=yield(0,Lt.ZP)("/api/attachments.json",{method:"post",body:{file_type:"base64",original_filename:Date.now(),file:sa.src}});Zt({src:Vr.url})});return(0,x.useEffect)(()=>(setTimeout(()=>{qr()},500),rr(ao+1),()=>{bt.current=null}),[]),wt.createElement("div",{ref:Zo,className:er.current?`${Ct.maxH60} body-overflow-initial`:"body-overflow-initial"},wt.createElement(pt.default,{width:1200,icon:null,footer:null,closable:!0,visible:!!ao,destroyOnClose:!0,maskClosable:!1,rootClassName:"zIndex-9999",title:wt.createElement(Mt.Z,null,wt.createElement(vt.Z,{flex:1},"\u63D2\u5165\u6D41\u7A0B\u56FE"),wt.createElement(vt.Z,{onClick:()=>{var sa,Vr,ft=bt.current.selection.first();if(er.current=!er.current,document.activeElement&&ft){let mn=(Vr=(sa=document.activeElement)==null?void 0:sa.value)==null?void 0:Vr.trim();typeof mn=="string"&&bt.current.model.commit(function(an){an.set(ft.data,"text",mn||"\u672A\u547D\u540D"),bt.current.commandHandler.stopCommand()},"increment")}rr(ao+1)}},wt.createElement("span",{className:"current c-blue mr30",style:{fontWeight:400}},"\u5C55\u5F00/\u6536\u8D77"))),onCancel:At},wt.createElement("div",{style:{width:"100%",height:"80vh",overflow:"hidden",position:"relative"},className:Ct.flowChartWrp},wt.createElement("div",{style:{display:"flex",height:"100%"}},wt.createElement("div",{style:{width:"300px",height:"100%"}},wt.createElement("div",{style:{background:"#fff",position:"relative",zIndex:12,fontSize:16,color:"#3061d0"}},"\u56FE\u5F62\u5E93"),wt.createElement("div",{style:{height:"calc(100% - 50px)"},className:Ct.myPaletteDiv,ref:Jt})),wt.createElement("div",{style:{flex:1,position:"relative"}},wt.createElement("div",{ref:Jn,style:{height:"80vh"}}))),wt.createElement("div",{className:"tr"},wt.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 Nt=sn,On=z(78045),Vt=z(31795);const _t=On.ZP.Group,Mn={margin:"0 8px"};var bn=({callback:At,onCancel:Zt})=>{function bt(Jn){At(Jn)}return x.createElement(be.default,{className:"add-table-panel",initialValues:{row:3,col:2,align:"default"},onFinish:bt},x.createElement("div",{className:"flex-container",style:{alignItems:"baseline"}},x.createElement("span",{style:Mn},"\u5355\u5143\u683C\u6570\uFF1A"),x.createElement("span",{style:Mn},"\u884C\u6570"),x.createElement(be.default.Item,{name:"row",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u884C\u6570"}]},x.createElement(Vt.Z,null)),x.createElement("span",{style:Mn},"\u5217\u6570"),x.createElement(be.default.Item,{name:"col",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u5217\u6570"}]},x.createElement(Vt.Z,null))),x.createElement("div",{className:"flex-container",style:{marginTop:12,alignItems:"baseline"}},x.createElement("span",{style:Mn},"\u5BF9\u9F50\u65B9\u5F0F\uFF1A"),x.createElement(be.default.Item,{name:"align"},x.createElement(_t,null,x.createElement(On.ZP,{value:"default"},x.createElement("i",{className:"fa fa-align-justify"})),x.createElement(On.ZP,{value:"left"},x.createElement("i",{className:"fa fa-align-left"})),x.createElement(On.ZP,{value:"center"},x.createElement("i",{className:"fa fa-align-center"})),x.createElement(On.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:Zt},"\u53D6\u6D88")))},Je=z(47897),He=z(61016),_n=z.n(He),Xe=(0,x.forwardRef)(({use3d:At,width:Zt,height:bt,callback:Jn,showSaveButton:Jt},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:Zt||1e3,height:bt||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(_n())(Jo.current,!0),window.onload=function(){ao.current.inject("applet_container")}},[]);const sa=()=>{var Vr=window.ggbApplet.getPNGBase64(1,!0,72);return Jn&&Jn(Vr),Vr};return(0,x.useEffect)(()=>{Jo.current.appName=rr?"3D":"graphing",ao.current.inject("applet_container")},[rr]),(0,x.useEffect)(()=>{qr(At)},[At]),(0,x.useImperativeHandle)(er,()=>({getImgData:sa})),x.createElement(x.Fragment,null,x.createElement("div",{style:{width:"100%",height:"100%"},id:"applet_container",ref:Zo}),x.createElement(Mt.Z,{align:"middle"},x.createElement(vt.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(vt.Z,null,x.createElement(Ce.ZP,{size:"large",onClick:sa,style:{zIndex:8,marginTop:10},type:"primary"},"\u4FDD\u5B58\u5230\u7F16\u8F91\u5668"))))}),Wt=z(36527),ot=z(25934),Ye=z(2453);const xt="link",Yt="upload-image",It="add-flowchart",Nn="draw-image",kt="add-flowchart",Gt="code-block",St="add-table",Pn="------------",qt={default:Pn,left:`:${Pn}`,center:`:${Pn}:`,right:`${Pn}:`};var wn=z(99914),xa=(At,Zt,bt)=>new Promise((Jn,Jt)=>{var er=rr=>{try{ao(bt.next(rr))}catch(qr){Jt(qr)}},Zo=rr=>{try{ao(bt.throw(rr))}catch(qr){Jt(qr)}},ao=rr=>rr.done?Jn(rr.value):Promise.resolve(rr.value).then(er,Zo);ao((bt=bt.apply(At,Zt)).next())});function Hn(){}let la=0;const Ba=1e4,rn="\u2581",cn="@\u2581\u2581@",pn="@\u2581@",Aa=`
|
|
**\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`,ha=["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 aa(At){return/^\d+$/.test(At)?`${At}px`:At}const _a=navigator.platform.toUpperCase().indexOf("MAC")>=0?"Cmd":"Ctrl",Qr={[_a+"-B"]:"bold",[_a+"-I"]:"italic"},wo={[xt]:"\u6DFB\u52A0\u94FE\u63A5",[Gt]:"\u6DFB\u52A0\u4EE3\u7801\u5757",[Yt]:"\u6DFB\u52A0\u56FE\u7247",[Nn]:"\u6DFB\u52A0\u753B\u56FE",[It]:"\u63D2\u5165\u6D41\u7A0B\u56FE",[St]:"\u6DFB\u52A0\u8868\u683C","maths-latex":"\u6570\u5B66\u56FE\u50CF","inline-latex":"LATEX\u516C\u5F0F"};var Dn=({defaultValue:At="",onChange:Zt,width:bt="100%",height:Jn=400,miniToolbar:Jt=!1,isFocus:er=!1,watch:Zo,insertTemp:ao,mode:rr="markdown",id:qr="markdown-editor-id",showResizeBar:Jo=!1,noStorage:sa=!1,showNullButton:Vr=!1,showNullProgramButton:ft=!1,hidetoolBar:mn=!1,fullScreen:an=!1,onBlur:fn,onCMBeforeChange:da,onFullScreen:gn,className:ia="",disablePaste:In=!1,disabled:pa=!1,disabledFill:Qa=!1,placeholder:Br="",values:no="",extraUse:No})=>{const[Wn,Qi]=(0,x.useState)(null),[yi,Yr]=(0,x.useState)(At),[Pi,va]=(0,x.useState)(Zo),[tr,xr]=(0,x.useState)(an),[ga,eo]=(0,x.useState)(""),[Oo,Ni]=(0,x.useState)(0),[fi,Ii]=(0,x.useState)(Jn),[Ol,tl]=(0,x.useState)(!1),fu=(0,x.useRef)((0,ot.Z)()),ca=(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=()=>xa(void 0,null,function*(){var Bn;const Kt=yield Fetch("/api/attachments/distinct_hash_val.json",{method:"post",body:{hash_val:fu.current}});(Bn=Kt==null?void 0:Kt.attachments)!=null&&Bn.length&&(console.log("cm:",Wn,vl),Kt.attachments.map(An=>{An.content_type.indexOf("image")>-1?Wn.replaceSelection(``):An.content_type.indexOf("video")>-1?Wn.replaceSelection(`<video width="100%" controls src="${ENV.API_SERVER}/api/attachments/${data.id}"></video>`):An.content_type.indexOf("pdf")>-1?Wn.replaceSelection(`<a href="${ENV.API_SERVER}/api/attachments/${An.id}?type=${An.content_type}&disposition=inline" target="_blank">${An.name}</a>`):Wn.replaceSelection(`[${An.name}](${ENV.API_SERVER}/api/attachments/${An.id}?type=${An.content_type})`)}))});(0,x.useEffect)(()=>{const Bn=window.scrollY||window.pageYOffset;Yr(no),Wn==null||Wn.setValue(no),window.scrollTo(0,Bn)},[no]),(0,x.useEffect)(()=>{gn==null||gn(tr)},[tr]),(0,x.useEffect)(()=>{if(vl.current){let Bn=function(An,Tn){var Ea;if(In){Tn.preventDefault();return}const Ta=Tn.clipboardData;if(Ta){const Ma=Ta.types.toString(),Ja=Ta.items;if(Ma==="Files"||Ta.types.indexOf("Files")>-1){if(Tn.preventDefault(),rr=="stex")return;try{let Za=Ja[1];((Ea=Ja[0])==null?void 0:Ea.kind)==="file"&&(Za=Ja[0]);const fa=Za.getAsFile(),za=fa.name.split(".").pop();(0,lt.I)(fa,Na=>{var cr,br,oo;Na.id?((cr=fa==null?void 0:fa.type)==null?void 0:cr.indexOf("image"))>-1?Kt.replaceSelection(`<img width="100%" src="/api/attachments/${Na.id}?type=${Na.content_type})" alt="" />`):((br=fa==null?void 0:fa.type)==null?void 0:br.indexOf("video"))>-1?Kt.replaceSelection(`<video width="100%" controls src="/api/attachments/${Na.id}"></video>`):((oo=fa==null?void 0:fa.type)==null?void 0:oo.indexOf("pdf"))>-1?Kt.replaceSelection(`<a href="/api/attachments/${Na.id}?type=${fa.type}&disposition=inline" target="_blank">${fa.name}</a>`):ha.includes(za)?Kt.replaceSelection(`<a href="/api/attachments/${Na.id}?type=office&disposition=inline" target="_blank">${fa.name}</a>`):Kt.replaceSelection(`[${fa.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 Kt=he().fromTextArea(vl.current,{mode:rr,lineNumbers:!Jt,lineWrapping:!0,value:At,autoCloseTags:!ft,autoCloseBrackets:!0});return Kt.on("keyup",function(An,Tn){Tn.keyCode===8&&(An.getValue()==""?Kt.setOption("placeholder",Br):Kt.setOption("placeholder",null))}),Kt.on("keydown",function(An,Tn){if(Tn.keyCode===8){var Ea=ke(An);Ea&&Tn.preventDefault()}}),er&&Kt.focus(),Kt.on("paste",Bn),Kt.on("dragleave",function(An,Tn){hl.current.classList.remove("mouse-hover-md")}),pa&&Kt.on("beforeChange",function(An,Tn){(Tn.origin==="paste"||Tn.origin==="+input")&&Tn.cancel()}),Qi(Kt),()=>{Kt.off("paste",Bn)}}},[]);const ye=(0,x.useCallback)(()=>{if(hl.current)try{}catch(Bn){console.log(Bn,"---- to set md editor body height")}},[fi,hl,tr]);(0,x.useEffect)(()=>{function Bn(){let Kt=new Fe.Z(An=>{for(let Tn of An)(Tn.target.offsetHeight>0||Tn.target.offsetWidth>0)&&(ye(),Wn.setSize("100%","100%"),Wn.refresh())});return Kt.observe(vl.current.parentElement),Kt}if(Wn){const Kt=Bn();return()=>{var An,Tn;(An=vl.current)!=null&&An.parentElement&&Kt.unobserve((Tn=vl.current)==null?void 0:Tn.parentElement)}}},[Wn,ye]),(0,x.useEffect)(()=>{if(Wn){let Bn=[];for(const[Kt,An]of Object.entries(Qr)){let Tn={[Kt]:()=>{Pe(An)}};Bn.push(Tn),Wn.addKeyMap(Tn)}return lr.current=setInterval(()=>{ca.current&&fe()},4e3),()=>{clearInterval(lr.current);for(let Kt of Bn)Wn.removeKeyMap(Kt)}}},[Wn]),(0,x.useEffect)(()=>{an!==tr&&xr(an)},[an]),(0,wn.Z)(()=>{if(!sa&&Oo>0){let Bn=new Date().getTime(),Kt=window.sessionStorage.getItem(qr);Bn>=Oo+Ba&&(!Kt||Kt!==yi)&&(window.sessionStorage.setItem(qr,yi),tl(!0))}},Ba),(0,x.useEffect)(()=>{va(Zo)},[Wn,Zo]),(0,x.useEffect)(()=>{Wn&&er&&Wn.focus()},[Wn,er]),(0,x.useEffect)(()=>{if(Pi&&Wn){let Bn=function(An){let Tn=An.target;if(Po.current){let Ea=Tn.scrollTop/Tn.scrollHeight;Po.current.scrollTop=Po.current.scrollHeight*Ea}};const Kt=Wn.getScrollerElement();return Kt.addEventListener("scroll",Bn),()=>{Kt.removeEventListener("scroll",Bn)}}},[Wn,Pi]),(0,x.useEffect)(()=>{if(Wn&&da){let Bn=function(Kt,An){da(Kt,An)};return Wn.on("beforeChange",Bn),()=>{Wn.off("beforeChange",Bn)}}},[Wn,da]),(0,x.useEffect)(()=>{if(Wn&&fn){let Bn=function(){fn(Wn.getValue())};return Wn.on("blur",Bn),()=>{Wn.off("blur",Bn)}}},[Wn,fn]);function ke(Bn,Kt){var An=Bn.getDoc(),Tn=An.getCursor(),Ea=An.getLine(Tn.line),Ta=Ea.charAt(Tn.ch-1),Ma=Ea.lastIndexOf("@\u2581@",Tn.ch),Ja=Ea.lastIndexOf("@\u2581\u2581@",Tn.ch),Za=Ma>Ja?Ma:Ja,fa=Ma>Ja?3:4;if(cn.indexOf(Ta)===-1)return null;if(console.log("change1:",Kt,Bn,Ea,Tn,Za,Ma,Ja,Ta),Za>=0&&Tn.ch-Za<5){var za=Za+fa;return An.replaceRange("",{line:Tn.line,ch:Za},{line:Tn.line,ch:za}),{line:Tn.line,ch:za}}return null}(0,x.useEffect)(()=>{if(Wn){let Bn=function(Kt,An){const Tn=Kt.getValue();Yr(Tn),Ni(new Date().getTime()),Kt.getScrollerElement().dispatchEvent(new CustomEvent("scroll")),Zt&&(ft?Zt(Tn,En(Tn)):Zt(Tn))};return Wn.on("change",Bn),()=>{Wn.off("change",Bn)}}},[Wn,Zt]),(0,x.useEffect)(()=>{if(Wn)if(At==null)Wn.setValue(""),Yr("");else{const Bn=window.scrollY||window.pageYOffset;At!==Wn.getValue()&&(Wn.setValue(At),Yr(At),Wn.setCursor(pa?1:Wn.lineCount(),0),window.scrollTo(0,Bn))}},[Wn,At]);const Pe=(0,x.useCallback)(Bn=>{const Kt=Wn.getCursor(),An=Wn.getSelection();let Tn=An.split(`
|
|
`);switch(Bn){case"bold":return Wn.replaceSelection("**"+An+"**"),An===""&&Wn.setCursor(Kt.line,Kt.ch+2),Wn.focus();case"italic":return Wn.replaceSelection("*"+An+"*"),An===""&&Wn.setCursor(Kt.line,Kt.ch+1),Wn.focus();case"code":return Wn.replaceSelection("`"+An+"`"),An===""&&Wn.setCursor(Kt.line,Kt.ch+1),Wn.focus();case"inline-latex":return eo("inline-latex"),Wn.focus();case"latex":return Wn.replaceSelection("```latex\n"+An+"\n```"),Wn.setCursor(Kt.line+1,An.length+1),Wn.focus();case"line-break":return Wn.replaceSelection(`<br/>
|
|
`),Wn.focus();case"list-ul":return An===""?Wn.replaceSelection("- "+An):Wn.replaceSelection(Tn.map(Ea=>Ea===""?"":`- ${Ea}`).join(`
|
|
`)),Wn.focus();case"list-ol":return An===""?Wn.replaceSelection("1. "+An):Wn.replaceSelection(Tn.map((Ea,Ta)=>Ea===""?"":`${Ta+1}. ${Ea}`).join(`
|
|
`)),Wn.focus();case"add-null-ch":return An===""&&Wn.setCursor(Kt.line,Kt.ch),Wn.replaceSelection(rn),Wn.focus();case"add-signal":return An===""&&Wn.setCursor(Kt.line,Kt.ch),Wn.replaceSelection(pn),Wn.focus();case"add-multiple":return An===""&&Wn.setCursor(Kt.line,Kt.ch),Wn.replaceSelection(cn),Wn.focus();case"inster-template-1":return An===""&&Wn.setCursor(Kt.line,Kt.ch),Wn.replaceSelection(Aa),Wn.focus();case"eraser":return Wn.setValue(""),Wn.focus();case"trigger-watch":return va(!Pi),Wn.focus();case"trigger-full-screen":return xr(!tr),Wn.focus();case xt:eo(xt);return;case Gt:eo(Gt);return;case Yt:eo(Yt);return;case Nn:eo(Nn);return;case"maths-latex":eo("maths-latex");return;case It:eo(It);return;case St:eo(St);return;default:throw new Error}},[Wn,Pi,tr]),et=(0,x.useCallback)((Bn,Kt)=>{var An,Tn,Ea,Ta,Ma,Ja;switch(eo(""),ga){case xt:const{title:cr,link:br}=Bn;return Wn.replaceSelection(`[${cr}](${br})`),Wn.focus();case Gt:const{language:oo,content:zo}=Bn;return Wn.replaceSelection(["```"+oo,zo,"```"].join(`
|
|
`)),Wn.focus();case"maths-latex":for(var Za=atob(Bn),fa=new Uint8Array(Za.length),za=0;za<Za.length;za++)fa[za]=Za.charCodeAt(za);var Na=new Blob([fa],{type:"image/png"});(0,lt.I)(Na,Ti=>{Ti.id?Wn.replaceSelection(``):(Ti==null?void 0:Ti.status)===401&&(document.location.href="/user/login")});break;case"inline-latex":Wn.replaceSelection("`$$"+Bn+"$$`");break;case Yt:case Nn:case kt:const{src:ai,alt:Sa}=Bn,ri=Kt,Ji=(Ea=(Tn=(An=ri==null?void 0:ri.name)==null?void 0:An.split("."))==null?void 0:Tn.pop)==null?void 0:Ea.call(Tn);return((Ta=ri==null?void 0:ri.type)==null?void 0:Ta.indexOf("image"))>-1||!(ri!=null&&ri.type)?ri.align||ri.width?Wn.replaceSelection(`<p style="text-align:${ri.align||"initial"}"><img width="${ri.width?ri.width+"%":"initial"}" src="${ai}" alt="${Sa||""}" /></p>`):Wn.replaceSelection(`<img width="100%" src="${ai}" alt="${Sa||""}" />`):((Ma=ri==null?void 0:ri.type)==null?void 0:Ma.indexOf("video"))>-1?Wn.replaceSelection(`<video width="100%" controls src="${ai}"></video>`):((Ja=ri==null?void 0:ri.type)==null?void 0:Ja.indexOf("pdf"))>-1?Wn.replaceSelection(`<a href="${ai}?type=${ri.type}&disposition=inline" target="_blank">${ri.name}</a>`):ha.includes(Ji)?Wn.replaceSelection(`<a href="${ai}?type=office&disposition=inline" target="_blank">${ri.name}</a>`):Wn.replaceSelection(`[${ri.name}](${ai})`),Wn.focus();case St:const{row:Kl,col:mu,align:Ll}=Bn;let sl=`
|
|
`;for(let Ti=0;Ti<Kl;Ti++){let Cu=[],Cl=[];for(let bu=0;bu<mu;bu++)Ti===1&&Cl.push(qt[Ll]),Cu.push(" ");Ti===1&&(sl+=`| ${Cl.join(" | ")} |
|
|
`),sl+=`| ${Cu.join(mu===1?"":" | ")} |
|
|
`}return Wn.replaceSelection(sl+`
|
|
`),Wn.focus();default:throw new Error}},[Wn,ga]),ut=(0,x.useMemo)(()=>{switch(ga){case xt:return x.createElement(Ut,{callback:et,onCancel:yt});case Gt:return x.createElement(Sn.Z,{callback:et,onCancel:yt});case Yt:return x.createElement(lt.Z,{callback:et,onCancel:yt});case It:return x.createElement(Nt,{callback:et,onCancel:yt});case St:return x.createElement(bn,{callback:et,onCancel:yt});case"maths-latex":return x.createElement(Xe,{showSaveButton:!0,callback:et});case"inline-latex":return x.createElement(Wt.Z,{showSaveButton:!0,callback:et});default:return null}},[ga]);function yt(){eo("")}(0,x.useEffect)(()=>{if(ru.current){let Bn=function(Ma){Ea=!0,Ta=Ma.pageY},Kt=function(){Ea=!1},An=function(Ma){if(Ea){let Ja=Ma.pageY-Ta;Ja<0&&(Ja=0),Ja>300&&(Ja=300);let Za=Jn+Ja+"px";Ii(Za)}},Tn=ru.current,Ea=!1,Ta=0;return Tn.addEventListener("mousedown",Bn),document.addEventListener("mousemove",An),document.addEventListener("mouseup",Kt),()=>{Tn.removeEventListener("mousedown",Bn),document.removeEventListener("mousemove",An),document.removeEventListener("mouseup",Kt)}}},[Wn,ru]),(0,x.useEffect)(()=>{Ii(Jn)},[Jn]);const nt=aa(bt),ct=aa(fi),ht={width:nt,height:ct},vn=(0,x.useMemo)(()=>{if(Oo){let Bn=new Date(Oo),Kt=Bn.getHours(),An=Bn.getMinutes(),Tn=Bn.getSeconds();return Kt=Kt<10?"0"+Kt:Kt,An=An<10?"0"+An:An,Tn=Tn<10?"0"+Tn:Tn,`${Kt}:${An}:${Tn}`}return 0},[Oo]),En=Bn=>{const Kt=[];if(ft){let An=-1;Bn=Bn.replace(/(@▁▁@|@▁@)/g,function(Tn,Ea,Ta){Kt.push({multiLine:Tn!==pn})})}return Kt};function ra(){window.sessionStorage.removeItem(qr),tl(!1),Ni(0)}function Xn(){tl(!1),Ni(0),Wn.setValue(window.sessionStorage.getItem(qr))}(0,x.useEffect)(()=>{wo[ga]&&ga!==Nn&&ga!==It&&setTimeout(()=>{const Bn=document.getElementsByClassName("markdown-popup-form")[0],Kt=window.innerWidth/2-Bn.offsetWidth/2,An=window.innerHeight/2-Bn.offsetHeight/2;Ai(Kt),kl(An)},0)},[ga]);const Ia=Bn=>{Bn.preventDefault();const Kt=Bn.clientX-Ar,An=Bn.clientY-ul;document.body.onmousemove=Tn=>{let Ea=Tn.clientX-Kt,Ta=Tn.clientY-An;const Ma=document.getElementsByClassName("markdown-popup-form")[0],Ja=window.innerWidth-Ma.offsetWidth,Za=window.innerHeight-Ma.offsetHeight;Ea=Math.max(0,Math.min(Ea,Ja)),Ta=Math.max(0,Math.min(Ta,Za)),wa(Tn.clientX,Tn.clientY,Kt,An)&&(Ai(Ea),kl(Ta))},document.body.onmouseup=function(){document.body.onmousemove=null}},wa=(Bn,Kt,An,Tn)=>{const Ea=document.body.clientHeight,Ta=document.body.clientWidth;return Bn<20&&An>Bn||Bn>Ta-20&&An<Bn||Kt<20&&Tn>Kt||Kt>Ea-20&&Tn<Kt?(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 ${ia} ${Pi?"on-preview":""} ${Jt?"mini":""} ${tr?"full-screen":""}`,style:ht},x.createElement(pe,{insertTemp:ao,watch:Pi,fullScreen:tr,showNullButton:Vr,showNullProgramButton:ft,onActionCallback:Pe,hidetoolBar:mn,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,ga===Nn&&x.createElement(zt,{callback:et,onCancel:yt}),ga===It&&x.createElement(Nt,{callback:et,onCancel:yt}),x.createElement(Ee.Z,null,wo[ga]&&ga!==Nn&&ga!==It?x.createElement(pt.default,{maskClosable:!1,centered:!0,style:{position:"absolute",left:Ar,top:ul},title:x.createElement("div",{style:{cursor:"move"},onMouseDown:Ia},wo[ga]),open:!0,onCancel:yt,footer:null,destroyOnClose:!0,width:ga===It?"1200px":null,height:ga===It?"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((Ft,Ut)=>{var Sn=Mt=>{try{pt(gt.next(Mt))}catch(Ht){Ut(Ht)}},lt=Mt=>{try{pt(gt.throw(Mt))}catch(Ht){Ut(Ht)}},pt=Mt=>Mt.done?Ft(Mt.value):Promise.resolve(Mt.value).then(Sn,lt);pt((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:Ft,languages:Ut,classroomList:Sn,autoHeight:lt,diff_code_count:pt,data:Mt})=>{const[Ht,dt]=(0,x.useState)(Ut==null?void 0:Ut[0]),zt=(0,a.useParams)();return(0,x.useEffect)(()=>{dt(Ut==null?void 0:Ut[0])},[]),(0,x.useEffect)(()=>{var Ze;dt((Ze=Ut==null?void 0:Ut.filter(Fn=>Fn.language===(Ht==null?void 0:Ht.language)))==null?void 0:Ze[0])},[Ut]),te.createElement(te.Fragment,null,te.createElement("h2",null," ",te.createElement("span",null,Ft.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")),(Ut==null?void 0:Ut.length)>1&&te.createElement(ge.ZP.Group,{defaultValue:Ve,style:{marginLeft:10},onChange:Ze=>{var Fn;Ft.language=Ze.target.value,dt((Fn=Ut==null?void 0:Ut.filter(Zn=>Zn.language===Ze.target.value))==null?void 0:Fn[0])}},Ut==null?void 0:Ut.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 ",Ht==null?void 0:Ht.score,"/",Ht==null?void 0:Ht.total_score),te.createElement(he.ZP,{style:{margin:"0px 10px"},onClick:()=>{var Ze,Fn;if(!((Fn=(Ze=Sn.AssistantObject)==null?void 0:Ze.hack)!=null&&Fn.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=Ht==null?void 0:Ht.score;we.default.confirm({title:"\u8C03\u5206",content:te.createElement("div",null,te.createElement("p",null,"\u5F97\u5206\uFF1A",Ht==null?void 0:Ht.score,"/",Ht==null?void 0:Ht.total_score),te.createElement("p",null,"\u8C03\u5206\uFF1A",te.createElement(ze.Z,{min:0,max:Ht==null?void 0:Ht.total_score,defaultValue:Ht==null?void 0:Ht.score,onChange:La=>{Zn=La}}))),okText:"\u786E\u8BA4",onOk:()=>Ne(void 0,null,function*(){(yield(0,ue.ZP)(`/api/courses/${zt==null?void 0:zt.coursesId}/homework_commons/update_hack_score`,{method:"put",body:{course_id:zt==null?void 0:zt.coursesId,hack_user_code_id:Ht==null?void 0:Ht.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({},zt)}))}),cancelText:"\u53D6\u6D88"})},type:"primary"},"\u8C03\u5206"),(0,De.GJ)()&>!="shixunWorkReport"&&te.createElement(he.ZP,{onClick:()=>{var Ze;if(!((Ze=Sn.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:Ht==null?void 0:Ht.language,v:Ft,data:xe({},gt)}}})}},"\u70B9\u8BC4\u4EE3\u7801"))),te.createElement(Le.ZP,{height:300,language:Ht==null?void 0:Ht.language,value:Ht!=null&&Ht.code?ve.Base64.decode(Ht==null?void 0:Ht.code):"",autoHeight:lt,theme:"default",options:Re}),((Ht==null?void 0:Ht.comment)||(Ht==null?void 0:Ht.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:Ht==null?void 0:Ht.comment_id,homeworkId:zt.homeworkId,type:"hack"})).status===0&&(Fe.ZP.success("\u5220\u9664\u6210\u529F"),rt({type:"shixunHomeworks/getShixunWorkReports",payload:xe({},zt)}))})}})})},te.createElement(ee.Z,null),"\u5220\u9664"))),te.createElement(Te.Z,{style:{margin:0}}),(Ht==null?void 0:Ht.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:Ht==null?void 0:Ht.comment})),(Ht==null?void 0:Ht.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:Ht==null?void 0:Ht.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+2IUFIB9NXQDuUwapmFAUnwYHBhAOp0Ex3nAcRx4QUA4FL62ecuWVnL01Om8V1YkXdewpMoLn6zYC4NhGLhcLng4t4OdnEognUqCIQS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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 Ft(){var Sn;let lt=new ResizeObserver(pt=>{for(let Mt of pt)console.log("----",Mt,pt),Ve(Mt.target.offsetHeight>=52)});return lt.observe((Sn=Ue.current)==null?void 0:Sn.firstElementChild),lt}const Ut=Ft();return()=>{var Sn,lt;(Sn=Ue.current)!=null&&Sn.firstElementChild&&Ut.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:Ft=>ue(void 0,null,function*(){Ft.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:Ft=>ue(void 0,null,function*(){var Ut;if(Ft.stopPropagation(),(0,ze.dE)())return;let Sn=yield(0,se.ZP)(`/api/problems/${Ne==null?void 0:Ne.hack_identifier}/start.json`,{method:"get",params:{hack_user_id:(Ut=Ne==null?void 0:Ne.author)==null?void 0:Ut.id}});Sn&&(window.open(`/myproblems/${Sn==null?void 0:Sn.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:Ft=>{Ft.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 Ft=yield(0,se.ZP)(`/api/homework_commons/${Ue.categoryId}/hack_messages`,{method:"get",params:pe(de({},Ue),{type:1})});rt(Ft)})}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:Ft=>{Ft==="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(Ft=>x.createElement(y,{item:Ft,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:(Ft,Ut)=>{Ue.page=Ft,Ue.per_page=Ut,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(Ft=>x.createElement("div",{onClick:()=>{ge.history.push(`/classrooms/${Ue.coursesId}/program_homework/${Ue.categoryId}/answer/${Ft.id}/detail`)},style:{marginTop:30,cursor:"pointer"}},x.createElement("div",{className:Te.Z.title,style:{fontSize:"16px",fontWeight:600}},x.createElement("span",{style:{color:(Ft==null?void 0:Ft.message_type)===2?"#4C7BE6":"#E17E7E"}},(Ft==null?void 0:Ft.message_type)===2?"\u3010\u9898\u89E3\u3011":"\u3010\u901A\u77E5\u3011"),x.createElement("span",{title:Ft.name},Ft.name)),x.createElement("div",{style:{marginTop:15,color:"#5F6368"}},"\u53D1\u8868\u4E8E",Ft.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 Ft=gt.getBoundingClientRect();if(Ft.top>=0&&Ft.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 Yt},Z:function(){return Nn}});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=(kt,Gt,St)=>Gt in kt?be(kt,Gt,{enumerable:!0,configurable:!0,writable:!0,value:St}):kt[Gt]=St,at=(kt,Gt)=>{for(var St in Gt||(Gt={}))Ce.call(Gt,St)&&Re(kt,St,Gt[St]);if(xe)for(var St of xe(Gt))Ne.call(Gt,St)&&Re(kt,St,Gt[St]);return kt},Ie=(kt,Gt)=>{var St={};for(var Pn in kt)Ce.call(kt,Pn)&&Gt.indexOf(Pn)<0&&(St[Pn]=kt[Pn]);if(kt!=null&&xe)for(var Pn of xe(kt))Gt.indexOf(Pn)<0&&Ne.call(kt,Pn)&&(St[Pn]=kt[Pn]);return St},Ue=(kt,Gt,St)=>new Promise((Pn,qt)=>{var wn=la=>{try{Hn(St.next(la))}catch(Ba){qt(Ba)}},xa=la=>{try{Hn(St.throw(la))}catch(Ba){qt(Ba)}},Hn=la=>la.done?Pn(la.value):Promise.resolve(la.value).then(wn,xa);Hn((St=St.apply(kt,Gt)).next())});const Ge=kt=>{var Gt=kt,{shixunHomeworks:St,dispatch:Pn}=Gt,qt=Ie(Gt,["shixunHomeworks","dispatch"]);const wn=(0,Ee.useParams)(),[xa,Hn]=(0,x.useState)(!0),[la,Ba]=(0,x.useState)(!1),[rn]=ge.default.useForm(),cn=()=>Ue(void 0,null,function*(){const pn=rn.getFieldValue();(yield(0,pe.ZP)(`/api/homework_commons/${wn.categoryId}/batch_comment.json`,{method:"post",body:{student_work_ids:[...St.actionTabs.selectArrs],cover_all:xa,hidden_comment:pn.hidden_comment,comment:pn.comment}})).status===0&&(he.ZP.success("\u8BC4\u9605\u6210\u529F"),rn.resetFields(),Pn({type:"shixunHomeworks/setActionTabs",payload:{}}),Pn({type:"shixunHomeworks/getWorkList",payload:at({},St.actionTabs.params)}))});return x.createElement(x.Fragment,null,x.createElement(we.default,{centered:!0,title:"\u4E00\u952E\u70B9\u8BC4",open:St.actionTabs.key==="\u4E00\u952E\u70B9\u8BC4",okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",onOk:()=>Ue(void 0,null,function*(){const pn=rn.getFieldValue();JSON.stringify(pn)==="{}"||pn.hidden_comment===""&&pn.comment===""?Ba(!0):St.workList.partial_comment?Pn({type:"shixunHomeworks/setActionTabs",payload:{key:"\u4E00\u952E\u70B9\u8BC4\u786E\u8BA4",selectArrs:St.actionTabs.selectArrs,params:St.actionTabs.params}}):cn()}),onCancel:()=>{Pn({type:"shixunHomeworks/setActionTabs",payload:{}})}},x.createElement(ge.default,{form:rn,onChange:()=>{la&&Ba(!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}))),la&&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:St.actionTabs.key==="\u4E00\u952E\u70B9\u8BC4\u786E\u8BA4",okText:"\u786E\u5B9A\u70B9\u8BC4",cancelText:"\u653E\u5F03\u70B9\u8BC4",onOk:()=>{cn()},onCancel:()=>{Pn({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:pn=>{Hn(pn.target.value)},value:xa},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:kt})=>({shixunHomeworks:kt}))(Ge),rt=z(86763),gt=z(52262),Ft={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"},Ut=Object.getOwnPropertySymbols,Sn=Object.prototype.hasOwnProperty,lt=Object.prototype.propertyIsEnumerable,pt=(kt,Gt)=>{var St={};for(var Pn in kt)Sn.call(kt,Pn)&&Gt.indexOf(Pn)<0&&(St[Pn]=kt[Pn]);if(kt!=null&&Ut)for(var Pn of Ut(kt))Gt.indexOf(Pn)<0&<.call(kt,Pn)&&(St[Pn]=kt[Pn]);return St},Mt=(kt,Gt,St)=>new Promise((Pn,qt)=>{var wn=la=>{try{Hn(St.next(la))}catch(Ba){qt(Ba)}},xa=la=>{try{Hn(St.throw(la))}catch(Ba){qt(Ba)}},Hn=la=>la.done?Pn(la.value):Promise.resolve(la.value).then(wn,xa);Hn((St=St.apply(kt,Gt)).next())});const Ht=kt=>{var Gt=kt,{shixunHomeworks:St,dispatch:Pn}=Gt,qt=pt(Gt,["shixunHomeworks","dispatch"]),wn,xa,Hn,la;const Ba=(0,Ee.useParams)(),[rn,cn]=(0,x.useState)(!1),[pn,Aa]=(0,x.useState)((xa=(wn=St.actionTabs.selectArrs)==null?void 0:wn.data)==null?void 0:xa.name),[ha]=ge.default.useForm();(0,x.useEffect)(()=>{var Ga,_a,Qr,wo,Dn,At;St.actionTabs.key==="\u66F4\u6539\u70B9\u8BC4"&&ha.setFieldsValue({comment:(_a=(Ga=St.actionTabs.selectArrs)==null?void 0:Ga.data)==null?void 0:_a.work_comment,hidden_comment:(wo=(Qr=St.actionTabs.selectArrs)==null?void 0:Qr.data)==null?void 0:wo.work_comment_hidden}),Aa((At=(Dn=St.actionTabs.selectArrs)==null?void 0:Dn.data)==null?void 0:At.name)},[St.actionTabs.key]);const aa=()=>Mt(void 0,null,function*(){var Ga,_a;const Qr=ha.getFieldValue();if((yield(0,pe.ZP)(`/api/student_works/${(_a=(Ga=St.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"),ha.resetFields(),Pn({type:"shixunHomeworks/setActionTabs",payload:{}}),Pn({type:"shixunHomeworks/getWorkList",payload:Ba})});return x.createElement(x.Fragment,null,x.createElement(we.default,{centered:!0,title:(la=(Hn=St.actionTabs.selectArrs)==null?void 0:Hn.data)!=null&&la.work_comment_hidden?"\u66F4\u6539"+pn+"\u70B9\u8BC4":pn+"\u70B9\u8BC4",open:St.actionTabs.key==="\u66F4\u6539\u70B9\u8BC4",okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",onOk:()=>Mt(void 0,null,function*(){const Ga=ha.getFieldValue();JSON.stringify(Ga)==="{}"||Ga.hidden_comment===""&&Ga.comment===""?cn(!0):aa()}),onCancel:()=>{Pn({type:"shixunHomeworks/setActionTabs",payload:{}})}},x.createElement(ge.default,{form:ha,onChange:()=>{rn&&cn(!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}))),rn&&x.createElement("p",{className:"c-red"},"\u8BC4\u9605\u5185\u5BB9\u81F3\u5C11\u6709\u4E00\u4E2A\u4E0D\u4E3A\u7A7A")))};var dt=(0,Ee.connect)(({shixunHomeworks:kt})=>({shixunHomeworks:kt}))(Ht),zt=Object.getOwnPropertySymbols,Ze=Object.prototype.hasOwnProperty,Fn=Object.prototype.propertyIsEnumerable,Zn=(kt,Gt)=>{var St={};for(var Pn in kt)Ze.call(kt,Pn)&&Gt.indexOf(Pn)<0&&(St[Pn]=kt[Pn]);if(kt!=null&&zt)for(var Pn of zt(kt))Gt.indexOf(Pn)<0&&Fn.call(kt,Pn)&&(St[Pn]=kt[Pn]);return St},La=(kt,Gt,St)=>new Promise((Pn,qt)=>{var wn=la=>{try{Hn(St.next(la))}catch(Ba){qt(Ba)}},xa=la=>{try{Hn(St.throw(la))}catch(Ba){qt(Ba)}},Hn=la=>la.done?Pn(la.value):Promise.resolve(la.value).then(wn,xa);Hn((St=St.apply(kt,Gt)).next())});const vt=kt=>{var Gt=kt,{shixunHomeworks:St,dispatch:Pn}=Gt,qt=Zn(Gt,["shixunHomeworks","dispatch"]);const wn=(0,Ee.useParams)(),[xa,Hn]=(0,x.useState)([]),[la,Ba]=(0,x.useState)([]);(0,x.useEffect)(()=>{St.actionTabs.key==="\u8D28\u91CF\u68C0\u6D4B"&&rn()},[St.actionTabs.key]);function rn(){return La(this,null,function*(){const pn=yield(0,pe.ZP)(`/api/homework_commons/${wn.categoryId}/code_quality_analyses/group_list.json`,{method:"GET",params:{page:1,limit:200}});Hn(pn)})}const cn=[{title:"\u5206\u73ED\u60C5\u51B5",dataIndex:"name"},{title:"\u6709\u6548\u4F5C\u54C1\u6570",dataIndex:"works_count"},{title:"\u68C0\u6D4B\u8FDB\u5EA6",dataIndex:"status"},{title:"\u4E0A\u6B21\u8BC4\u5206\u65F6\u95F4",dataIndex:"last_analysis_time"}];return x.createElement(x.Fragment,null,x.createElement(we.default,{centered:!0,title:"\u4EE3\u7801\u8D28\u91CF\u8BC4\u5206",open:St.actionTabs.key==="\u8D28\u91CF\u68C0\u6D4B",width:700,okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",onOk:()=>La(void 0,null,function*(){const pn=yield(0,pe.ZP)(`/api/homework_commons/${wn.categoryId}/code_quality_analyses.json`,{method:"POST",body:{group_ids:la}});(pn==null?void 0:pn.status)===0&&(Ee.history.replace(`/classrooms/${wn.coursesId}/shixun_homework/${wn.categoryId}/detail?tabs=4`),window.location.reload(),Pn({type:"shixunHomeworks/setActionTabs",payload:{}}),Ba([]))}),onCancel:()=>{Ba([]),Pn({type:"shixunHomeworks/setActionTabs",payload:{}})}},x.createElement(ve.default,{rowSelection:{type:"checkbox",onChange:(pn,Aa)=>{Ba([...pn])},selectedRowKeys:la,getCheckboxProps:pn=>({disabled:pn.status==="\u8FDB\u884C\u4E2D"||pn.works_count===0})},rowKey:pn=>pn.key||pn.id,scroll:{y:300},pagination:!1,columns:cn,dataSource:xa==null?void 0:xa.group_list})))};var Lt=(0,Ee.connect)(({shixunHomeworks:kt})=>({shixunHomeworks:kt}))(vt),Ct=z(35567),wt=z(98769),Cn=Object.defineProperty,sn=Object.getOwnPropertySymbols,Nt=Object.prototype.hasOwnProperty,On=Object.prototype.propertyIsEnumerable,Vt=(kt,Gt,St)=>Gt in kt?Cn(kt,Gt,{enumerable:!0,configurable:!0,writable:!0,value:St}):kt[Gt]=St,_t=(kt,Gt)=>{for(var St in Gt||(Gt={}))Nt.call(Gt,St)&&Vt(kt,St,Gt[St]);if(sn)for(var St of sn(Gt))On.call(Gt,St)&&Vt(kt,St,Gt[St]);return kt},Mn=(kt,Gt,St)=>new Promise((Pn,qt)=>{var wn=la=>{try{Hn(St.next(la))}catch(Ba){qt(Ba)}},xa=la=>{try{Hn(St.throw(la))}catch(Ba){qt(Ba)}},Hn=la=>la.done?Pn(la.value):Promise.resolve(la.value).then(wn,xa);Hn((St=St.apply(kt,Gt)).next())});const bn=({shixunHomeworks:kt,dispatch:Gt,isShow:St,setIsShow:Pn,item:qt,coursesId:wn,categoryId:xa})=>{const[Hn,la]=(0,x.useState)({page:1,limit:10}),[Ba,rn]=(0,x.useState)([]),[cn,pn]=(0,x.useState)(!1);(0,x.useEffect)(()=>{St&&Aa()},[St]);function Aa(){return Mn(this,null,function*(){pn(!0);const aa=yield(0,pe.ZP)(`/api/student_works/${qt.id}/game_details.json`,{method:"get",params:_t({},Hn)});pn(!1),aa.status===0&&rn(aa==null?void 0:aa.data)})}const ha=[{title:"\u5E8F\u53F7",dataIndex:"number",width:50,fixed:"left",ellipsis:!0,render:(aa,Ga,_a)=>x.createElement("span",{style:{color:"#000"}},Hn.limit*(Hn.page-1)+_a+1)},{title:"\u4EFB\u52A1\u540D\u79F0",dataIndex:"name",key:"name",ellipsis:!0,render:(aa,Ga,_a)=>x.createElement("span",{style:{color:"#000"}},aa)},{title:"\u901A\u5173\u8BE6\u60C5",dataIndex:"complete_status",key:"complete_status",ellipsis:!0,width:100,render:(aa,Ga,_a)=>x.createElement("span",null,aa==0?"\u672A\u901A\u5173":aa==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:(aa,Ga,_a)=>x.createElement("span",{style:{color:"#333"}},aa)},{title:"\u5B9E\u8BAD\u8017\u65F6",dataIndex:"time_consuming",key:"time_consuming",width:120,ellipsis:!0,render:(aa,Ga,_a)=>x.createElement("span",{style:{color:"#333"}},aa)}];return x.createElement(x.Fragment,null,x.createElement(we.default,{centered:!0,title:"\u901A\u5173\u60C5\u51B5",open:St,width:700,footer:null,maskClosable:!1,onCancel:()=>{Hn.page=1,Hn.limit=10,la(_t({},Hn)),Pn(!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:qt==null?void 0:qt.user_name,style:{color:"#232B40"}},qt==null?void 0:qt.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:qt==null?void 0:qt.student_id,style:{color:"#232B40"}},(qt==null?void 0:qt.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:qt==null?void 0:qt.group_name,style:{color:"#232B40"}},(qt==null?void 0:qt.group_name)||"--"))),x.createElement(ve.default,{scroll:{y:380},columns:ha,loading:cn,style:{marginBottom:Hn.limit>(Ba==null?void 0:Ba.count)?"16px":"0"},dataSource:Ba.games,pagination:{size:"default",showQuickJumper:!0,showSizeChanger:!0,pageSizeOptions:["10","15","50","100","200"],hideOnSinglePage:!0,pageSize:Hn.limit,current:Hn.page,position:["bottomRight"],onChange:(aa,Ga)=>{Hn.page=aa,Hn.limit=Ga,la(_t({},Hn)),Aa()},total:Ba==null?void 0:Ba.count,showTotal:(aa,Ga)=>x.createElement("span",null,"\u5171",x.createElement("span",{style:{color:"#165DFF"}}," ",aa," "),"\u6761\u6570\u636E")}})))};var Je=(0,Ee.connect)(({shixunHomeworks:kt})=>({shixunHomeworks:kt}))(bn),He=z(67294),_n=Object.defineProperty,Me=Object.getOwnPropertySymbols,Xe=Object.prototype.hasOwnProperty,Wt=Object.prototype.propertyIsEnumerable,ot=(kt,Gt,St)=>Gt in kt?_n(kt,Gt,{enumerable:!0,configurable:!0,writable:!0,value:St}):kt[Gt]=St,Ye=(kt,Gt)=>{for(var St in Gt||(Gt={}))Xe.call(Gt,St)&&ot(kt,St,Gt[St]);if(Me)for(var St of Me(Gt))Wt.call(Gt,St)&&ot(kt,St,Gt[St]);return kt},xt=(kt,Gt,St)=>new Promise((Pn,qt)=>{var wn=la=>{try{Hn(St.next(la))}catch(Ba){qt(Ba)}},xa=la=>{try{Hn(St.throw(la))}catch(Ba){qt(Ba)}},Hn=la=>la.done?Pn(la.value):Promise.resolve(la.value).then(wn,xa);Hn((St=St.apply(kt,Gt)).next())});const Yt=({value:kt,placeholder:Gt=""})=>{if(kt==null||kt==="")return He.createElement("span",null,Gt);{const St=Number(kt);if(St>=80)return He.createElement("span",{style:{color:"#009C0F"}},St);if(St<80&&St>=60)return He.createElement("span",{style:{color:"#FA6400"}},St);if(St<60)return He.createElement("span",{style:{color:"#E30000"}},St)}},It=({shixunHomeworks:kt,classroomList:Gt,globalSetting:St,loading:Pn,dispatch:qt,setExportParams:wn,user:xa})=>{var Hn,la,Ba,rn,cn,pn,Aa,ha,aa,Ga,_a,Qr;const wo=(0,Ee.useParams)(),[Dn,At]=(0,x.useState)(Ye(Ye({},{page:1,limit:20,order:"work_score",b_order:"desc"}),wo)),[Zt]=ge.default.useForm(),[bt,Jn]=(0,x.useState)(),[Jt,er]=(0,x.useState)({}),[Zo,ao]=(0,x.useState)([]),[rr,qr]=(0,x.useState)(!1),[Jo,sa]=(0,x.useState)([]),[Vr,ft]=(0,x.useState)(!1),[mn,an]=(0,x.useState)(),[fn,da]=(0,x.useState)(1),[gn,ia]=(0,x.useState)(),[In,pa]=(0,x.useState)(),[Qa,Br]=(0,x.useState)(),[no,No]=(0,x.useState)(),[Wn,Qi]=(0,x.useState)(),[yi,Yr]=(0,x.useState)(!1),[Pi,va]=(0,x.useState)(!1),[tr,xr]=(0,x.useState)(),ga=(0,Ee.useLocation)();(0,x.useEffect)(()=>(eo(),()=>{er([]),ao([])}),[Dn.coursesId]),(0,x.useEffect)(()=>{var ca;const lr=JSON.parse(JSON.stringify(kt.workList));!((ca=lr==null?void 0:lr.student_works)!=null&&ca.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)))},[kt.workList]);const eo=ca=>(wn(Ye({},Dn)),qt({type:"shixunHomeworks/getWorkList",payload:Dn}));(0,x.useEffect)(()=>{qt({type:"user/getUserInfo",payload:{course_id:Dn.coursesId}})},[]);const Oo=()=>xt(void 0,null,function*(){const ca=yield(0,rt.Uc)({categoryId:wo.categoryId});Jn(ca==null?void 0:ca.update_score)}),Ni=()=>xt(void 0,null,function*(){qt({type:"globalSetting/setGlobalLoading",payload:{show:!0,text:"\u6210\u7EE9\u8BA1\u7B97\u4E2D\uFF0C\u8BF7\u7A0D\u5019..."}});const ca=yield(0,rt.Vs)({categoryId:wo.categoryId});qt({type:"globalSetting/setGlobalLoading",payload:{show:!1,text:""}}),(ca==null?void 0:ca.status)===0&&(he.ZP.success(ca==null?void 0:ca.message),eo())}),fi=()=>{Dn.page=1;const ca=Object.assign({},Zt.getFieldsValue());delete Dn.course_group,delete Dn.teacher_comment,Object.keys(ca).map(function(lr){var Ar;switch(lr){case"task_status":ca[lr].includes("all")||!ca[lr].length?(delete Dn.work_status,Zt.setFieldsValue({task_status:"all"})):(Dn.work_status=ca[lr],Zt.setFieldsValue({task_status:Dn.work_status}));break;case"course_group_info":ca[lr].includes("all")||!ca[lr].length?(delete Dn.course_group,Zt.setFieldsValue({course_group_info:"all"})):(Dn.course_group=ca[lr],Zt.setFieldsValue({course_group_info:Dn.course_group}));break;case"teacher_comment":ca[lr].includes("all")||!ca[lr].length?(delete Dn.teacher_comment,Zt.setFieldsValue({teacher_comment:"all"})):(Dn.teacher_comment=((Ar=ca[lr])==null?void 0:Ar.length)===1?Number(ca[lr][0]):"",Zt.setFieldsValue({teacher_comment:ca[lr]}));break}}),eo()};(0,x.useEffect)(()=>{document.getElementById("divhe")&&document.getElementById("divhe").scrollHeight>47&&(Qi(47),Yr(!0))},[document.getElementById("divhe")]);const Ii=(ca,lr)=>{Dn.page=ca,Dn.limit=20,eo()};function Ol(){da(1),ia(""),pa(""),Br(""),No(""),sa([])}const tl=[{title:"\u5E8F\u53F7",dataIndex:"number",align:"center",width:50,fixed:"left",ellipsis:!0,render:(ca,lr,Ar)=>Dn.limit*(Dn.page-1)+Ar+1},{title:"\u59D3\u540D",dataIndex:"user_name",align:"center",width:110,fixed:"left",ellipsis:!0,render:ca=>He.createElement(Fe.Z,{placement:"bottomLeft",title:ca},He.createElement("span",{className:"current"},ca))},!(0,gt.Jd)()&&{title:"\u5B66\u53F7",dataIndex:"student_id",align:"center",sorter:!0,fixed:"left",width:100,ellipsis:!0,showSorterTooltip:!1,sortOrder:Dn.order==="student_id"?Dn.b_order==="desc"?"descend":"ascend":null,render:ca=>He.createElement(Fe.Z,{placement:"bottomLeft",title:ca||"--"},He.createElement("span",{className:"current"},ca||"--"))},{title:"\u5206\u73ED",dataIndex:"group_name",align:"center",width:100,fixed:"left",ellipsis:!0,render:(ca,lr)=>ca?He.createElement(Fe.Z,{placement:"bottom",title:ca},He.createElement("span",{className:"current"},ca)):"--"},{title:"\u4F5C\u4E1A\u72B6\u6001",dataIndex:"work_status",align:"center",width:94,ellipsis:!0,fixed:"left",sorter:!0,showSorterTooltip:!1,sortOrder:Dn.order==="work_status"?Dn.b_order==="desc"?"descend":"ascend":null,render:ca=>He.createElement(oe.lC,{status:ca})},{title:"\u5B8C\u6210\u65F6\u95F4",align:"center",dataIndex:"achieve_time",ellipsis:!0,sorter:!0,sortOrder:Dn.order==="achieve_time"?Dn.b_order==="desc"?"descend":"ascend":null,render:(ca,lr)=>He.createElement(Fe.Z,{placement:"bottomLeft",title:ca},He.createElement("span",{className:"current"},ca))},{title:"\u901A\u8FC7\u60C5\u51B5",align:"center",dataIndex:"achieve_info",ellipsis:!0,render:(ca,lr)=>He.createElement("span",{onClick:Ar=>{var Ai;Ar.stopPropagation(),(Ai=Jt.homework_status)!=null&&Ai.includes("\u5BFC\u5165")&&(xr(lr),va(!0))}},ca||"- -")},{title:"\u6700\u7EC8\u6210\u7EE9",align:"center",dataIndex:"score",ellipsis:!0,sorter:!0,sortOrder:Dn.order==="work_score"?Dn.b_order==="desc"?"descend":"ascend":null,render:(ca,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))},Yt({value:ca,placeholder:"- -"}))},{title:"\u5B8C\u6210\u65F6\u957F",dataIndex:"achieve_time_long",align:"center",sorter:!0,ellipsis:!0,sortOrder:Dn.order==="achieve_time_long"?Dn.b_order==="desc"?"descend":"ascend":null,render:(ca,lr)=>ca&&ca!="--"?He.createElement(Fe.Z,{placement:"bottom",title:ca},He.createElement("span",{className:"current"},ca)):"--"},((Hn=Jt.homework_status)==null?void 0:Hn.includes("\u5BFC\u5165"))&&{title:"\u8BC4\u6D4B\u6B21\u6570",dataIndex:"sum_evaluate_count",align:"center"},!((la=Jt.homework_status)!=null&&la.includes("\u5BFC\u5165"))&&{title:He.createElement("span",null,"\u8BC4\u9605\u72B6\u6001"),align:"center",dataIndex:"has_comment",fixed:"right",ellipsis:!0,render:ca=>ca?"\u5DF2\u8BC4\u9605":"\u672A\u8BC4\u9605"},{title:"\u64CD\u4F5C",dataInex:"action",align:"center",fixed:"right",ellipsis:!0,className:"workListTable",render:(ca,lr)=>{var Ar;return(Ar=Jt.homework_status)!=null&&Ar.includes("\u5BFC\u5165")?(0,gt.GJ)()?He.createElement("a",{onClick:Ai=>{Ai.stopPropagation(),qt({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),va(!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=Gt.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/${Dn.coursesId}/program_homework/${Dn.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=Gt.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=xa.userInfo)!=null&&kl.professional_certification)window.open(`/classrooms/${Dn.coursesId}/program_homework/${Dn.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(ca=>!!ca),fu=()=>{var ca,lr;return He.createElement(ze.default,null,He.createElement(ze.default.Item,{onClick:()=>{var Ar;if((0,gt.Rm)()&&!((Ar=Gt.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}qt({type:"classroomList/setActionTabs",payload:{key:"\u9009\u62E9\u73ED\u7EA7",title:"\u5BFC\u51FA\u5B66\u751F\u6210\u7EE9",course_groups:Jt==null?void 0:Jt.course_group_info,fn:()=>{(0,wt.Iy)(JSON.parse(sessionStorage.all_student_works_params),"hack_work_list")}}})},key:"1"},"\u5B66\u751F\u6210\u7EE9"),(0,gt.GJ)()&&((ca=Jt==null?void 0:Jt.student_works)==null?void 0:ca.length)>0&&!((lr=Jt==null?void 0:Jt.homework_status)!=null&&lr.includes("\u5BFC\u5165"))&&He.createElement(ze.default.Item,{key:"3",onClick:()=>{var Ar;if((0,gt.Rm)()&&!((Ar=Gt.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}qt({type:"classroomList/setActionTabs",payload:{key:"\u9009\u62E9\u73ED\u7EA7",title:"\u5BFC\u51FA\u7F16\u7A0B\u62A5\u544A",course_groups:Jt==null?void 0:Jt.course_group_info,fn:()=>{var Ai,ul,kl,vl;qt({type:"shixunHomeworks/setActionTabs",payload:{key:"\u5BFC\u51FA\u7F16\u7A0B\u62A5\u544A",type:2}}),localStorage.setItem("dowolders","1"),Ee.history.push(`/classrooms/${Dn==null?void 0:Dn.coursesId}/program_homework/${Dn.categoryId}/${(ul=(Ai=Jt==null?void 0:Jt.student_works)==null?void 0:Ai[0])==null?void 0:ul.id}/${(vl=(kl=Jt==null?void 0:Jt.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=Gt.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/${Dn.coursesId}/exportlist/hack_work_list`)}},"\u5386\u53F2\u5BFC\u51FA"))};return He.createElement(He.Fragment,null,He.createElement("section",{className:`${Ft.wrap} minH500 bg-white pl30 pr30 pt30`},((Ba=Jt.homework_status)==null?void 0:Ba.includes("\u672A\u53D1\u5E03"))&&He.createElement(re.Z,null),!((rn=Jt.homework_status)!=null&&rn.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 ",Jt==null?void 0:Jt.publish_time),He.createElement("span",{className:"ml5"},"\u622A\u6B62\u65F6\u95F4 ",Jt==null?void 0:Jt.end_time),He.createElement("span",{className:"ml5"},"\u8865\u4EA4\u65F6\u95F4 ",(Jt==null?void 0:Jt.late_time)||"- -")),(0,gt.GJ)()&&He.createElement(He.Fragment,null,He.createElement(ge.default,{form:Zt,onChange:fi,initialValues:{task_status:"all",course_group_info:"all",teacher_comment:"all"}},((cn=Jt.task_status)==null?void 0:cn.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"},Jt.task_status&&Jt.task_status.map((ca,lr)=>He.createElement(se.default,{name:"task_status",value:ca.id},ca.name,"(",ca.count,")")))))),((pn=Jt.course_group_info)==null?void 0:pn.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:Wn+"px",overflow:"hidden"}},(Aa=Jt.course_group_info)==null?void 0:Aa.map((ca,lr)=>He.createElement(se.default,{value:ca.course_group_id},ca.group_group_name,"(",ca.count,")"))),yi&&He.createElement("span",{onClick:()=>{let ca=document.getElementById("divhe").scrollHeight;Wn>47?Qi(47):Qi(ca)},style:{color:"rgb(76, 172, 255)",cursor:"pointer",alignItems:"flex-end",display:"flex"}},Wn===47?"\u5C55\u5F00":"\u6536\u8D77",Wn===47?He.createElement(b.Z,{style:{marginBottom:"3px",marginLeft:"2px"}}):He.createElement(E.Z,{style:{marginBottom:"3px",marginLeft:"2px"}}))))),((ha=Jt.teacher_comment)==null?void 0:ha.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"},Jt.teacher_comment&&Jt.teacher_comment.map((ca,lr)=>He.createElement(se.default,{value:String(ca.id)},ca.name,"(",ca.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:ca=>{Dn.search=ca.trim(),Dn.page=1,eo()},style:{width:240}})),He.createElement(Te.Z,null,He.createElement("span",{className:"ml5"},He.createElement("span",{className:"c-red"},Jt.work_count),"\u4E2A\u68C0\u7D22\u7ED3\u679C\uFF08",Jt.work_count,"\u4E2A\u5B66\u751F\uFF09")))),He.createElement(Te.Z,null,(0,gt.GJ)()&&!((aa=Jt.homework_status)!=null&&aa.includes("\u5BFC\u5165"))&&He.createElement(Ke.ZP,{className:"ml10",onClick:()=>{qt({type:"shixunHomeworks/setActionTabs",payload:{key:"\u4EE3\u7801\u67E5\u91CD",selectArrs:Jt.student_works.map(ca=>ca.id),params:Dn}})}},He.createElement("span",{className:`${Ft.tr1} iconfont icon-daimachazhong`}),"\u4EE3\u7801\u67E5\u91CD"),(0,gt.GJ)()&&!((Ga=Jt.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)()&&bt&&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 ${Ft.TableDom}`,loading:Pn["shixunHomeworks/getWorkList"],pagination:!1,style:{cursor:"pointer"},onRow:ca=>({onClick:lr=>{var Ar,Ai;if(!((Ar=Jt.homework_status)!=null&&Ar.includes("\u5BFC\u5165"))){if((0,gt.Rm)()&&!((Ai=Gt.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/${Dn.coursesId}/program_homework/${Dn.categoryId}/${ca.id}/${ca.user_id}/comment`,"_blank")}}}),scroll:{x:1200},dataSource:Jt.student_works,columns:tl,onChange:(ca,lr,Ar)=>{Ar.field&&(Dn.order=Ar.field==="score"?"work_score":Ar.field),Ar.order||(Dn.b_order="asc"),Ar.order==="ascend"&&(Dn.b_order="asc"),Ar.order==="descend"&&(Dn.b_order="desc"),Ar.order||(Dn.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:()=>xt(void 0,null,function*(){if(fn===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 ca=yield(0,pe.ZP)(`/api/homework_commons/${Dn.categoryId}/confirm_redo_modal.json`,{method:"post",body:{id:Dn.categoryId,comment:no,status:Jo}});ca.status===0&&(an(ca),qr(!1),ft(!0))}else{if(!(Qa===0||In===0)){if(!Qa){he.ZP.info("\u6700\u4F4E\u5206\u4E0D\u80FD\u4E3A\u7A7A");return}if(!In){he.ZP.info("\u6700\u9AD8\u5206\u4E0D\u80FD\u4E3A\u7A7A");return}}if(Qa>In){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 ca=yield(0,pe.ZP)(`/api/homework_commons/${Dn.categoryId}/confirm_redo_modal.json`,{method:"post",body:{id:Dn.categoryId,comment:no,min_score:Qa,max_score:In}});ca.status===0&&(an(ca),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:fn,onChange:ca=>{da(ca.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"))),fn===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:ca=>Br(ca),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:In,onChange:ca=>pa(ca),style:{width:"100px"}})),fn===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:ca=>{sa([...ca])},style:{width:"100%"}},(_a=Jt.task_status)==null?void 0:_a.map((ca,lr)=>He.createElement(se.default,{name:"task_status",value:ca.id},ca.name,"(",ca.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(Ct.Z,{className:Ft.MdEditor,onChange:ca=>No(ca),placeholder:"\u8BF7\u586B\u5199\u8BC4\u8BED"}))))),He.createElement(we.default,{open:Vr,title:"\u6253\u56DE\u786E\u8BA4",onOk:()=>xt(void 0,null,function*(){fn===2?(yield(0,pe.ZP)(`/api/homework_commons/${Dn.categoryId}/batch_redo_modal.json`,{method:"post",body:{id:Dn.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/${Dn.categoryId}/batch_redo_modal.json`,{method:"post",body:{id:Dn.categoryId,comment:no,min_score:Qa,max_score:In}})).status===0&&(he.ZP.info("\u6253\u56DE\u6210\u529F"),Ol(),eo(),ft(!1))}),onCancel:()=>{Ol(),ft(!1)}},He.createElement("div",{style:{padding:"32px"}},fn===1&&He.createElement("span",null,"\u786E\u8BA4\u5C06\u6210\u7EE9\u5728",Qa,"-",In,"\u7684\u5B66\u751F\u8FDB\u884C\u6253\u56DE\u91CD\u505A\u5417\uFF1F"),fn===2&&He.createElement("span",null,"\u786E\u8BA4\u5C06\u4F5C\u4E1A\u72B6\u6001\u4E3A",((Qr=Jt.task_status)==null?void 0:Qr.filter(ca=>Jo==null?void 0:Jo.includes(ca.id)).map(ca=>ca.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",mn==null?void 0:mn.count,"\u540D\u5B66\u751F")))),He.createElement(Lt,null),He.createElement(Je,{isShow:Pi,setIsShow:va,item:tr,coursesId:Dn.coursesId,categoryId:Dn.categoryId}),He.createElement("aside",{className:"tc mb50 mt30"},He.createElement(y.Z,{showQuickJumper:!0,hideOnSinglePage:!0,showSizeChanger:!1,onChange:Ii,current:Dn.page||1,defaultPageSize:20,total:Jt.work_count})))};var Nn=(0,Ee.connect)(({shixunHomeworks:kt,classroomList:Gt,globalSetting:St,loading:Pn,user:qt})=>({shixunHomeworks:kt,classroomList:Gt,globalSetting:St,loading:Pn.effects,user:qt}))(It)},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=(on,Xt,$t)=>Xt in on?ue(on,Xt,{enumerable:!0,configurable:!0,writable:!0,value:$t}):on[Xt]=$t,ee=(on,Xt)=>{for(var $t in Xt||(Xt={}))y.call(Xt,$t)&&E(on,$t,Xt[$t]);if(a)for(var $t of a(Xt))b.call(Xt,$t)&&E(on,$t,Xt[$t]);return on},te=(on,Xt,$t)=>new Promise((ka,Mr)=>{var Wa=Rn=>{try{mr($t.next(Rn))}catch(ta){Mr(ta)}},$n=Rn=>{try{mr($t.throw(Rn))}catch(ta){Mr(ta)}},mr=Rn=>Rn.done?ka(Rn.value):Promise.resolve(Rn.value).then(Wa,$n);mr(($t=$t.apply(on,Xt)).next())});const re=({shixunHomeworks:on,dispatch:Xt})=>{const $t=(0,he.useParams)();return x.createElement(we.default,{centered:!0,title:"\u63D0\u793A",open:on.actionTabs.key==="\u5220\u9664",okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",onOk:()=>te(void 0,null,function*(){(yield Xt({type:"shixunHomeworks/deleteReply",payload:{object_id:on.actionTabs.selectArr.id,object_type:"journals_for_message"}})).status===0&&(Fe.ZP.success("\u5220\u9664\u6210\u529F"),Xt({type:"shixunHomeworks/setActionTabs",payload:{}}),Xt({type:"shixunHomeworks/getReplyList",payload:ee({},on.actionTabs.params)}))}),onCancel:()=>{Xt({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:on})=>({shixunHomeworks:on}))(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/PxZxkMdBDZSqAdr9wIyVzHSZonoXVJ92j4P46E0A10OMxkZ2rt46vP1ZEn1ba8G0iMEzJWMCdTFxKxF6IcjDhJOJeR4DCgiDBPwvMVoZVMng0LTGb5+EqdoCCLEITt+cnvYb5sIZWldzwZZTShW0GN2a5roZ8SE0CBYNU3xTbh0YGZoNh/8j52AS7wia9reL8ftnfB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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),Ft=z(53978),Ut=z(42922),Sn=Object.defineProperty,lt=Object.defineProperties,pt=Object.getOwnPropertyDescriptors,Mt=Object.getOwnPropertySymbols,Ht=Object.prototype.hasOwnProperty,dt=Object.prototype.propertyIsEnumerable,zt=(on,Xt,$t)=>Xt in on?Sn(on,Xt,{enumerable:!0,configurable:!0,writable:!0,value:$t}):on[Xt]=$t,Ze=(on,Xt)=>{for(var $t in Xt||(Xt={}))Ht.call(Xt,$t)&&zt(on,$t,Xt[$t]);if(Mt)for(var $t of Mt(Xt))dt.call(Xt,$t)&&zt(on,$t,Xt[$t]);return on},Fn=(on,Xt)=>lt(on,pt(Xt)),Zn=(on,Xt,$t)=>new Promise((ka,Mr)=>{var Wa=Rn=>{try{mr($t.next(Rn))}catch(ta){Mr(ta)}},$n=Rn=>{try{mr($t.throw(Rn))}catch(ta){Mr(ta)}},mr=Rn=>Rn.done?ka(Rn.value):Promise.resolve(Rn.value).then(Wa,$n);mr(($t=$t.apply(on,Xt)).next())});de().locale("ZH-cn");let La=["","\u7B80\u5355","\u4E2D\u7B49","\u56F0\u96BE"];const vt=x.createContext({}),Lt=()=>{const{setActivatorNodeRef:on,listeners:Xt}=(0,x.useContext)(vt);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:on},Xt))},Ct=on=>{const{attributes:Xt,listeners:$t,setNodeRef:ka,setActivatorNodeRef:Mr,transform:Wa,transition:$n,isDragging:mr}=(0,Ve.nB)({id:on["data-row-key"]}),Rn=Ze(Fn(Ze({},on.style),{transform:rt.ux.Translate.toString(Wa),transition:$n}),mr?{position:"relative",zIndex:100}:{}),ta=(0,x.useMemo)(()=>({setActivatorNodeRef:Mr,listeners:$t}),[Mr,$t]);return x.createElement(vt.Provider,{value:ta},x.createElement("tr",Ze(Fn(Ze({},on),{ref:ka,style:Rn}),Xt)))},wt=({shixunHomeworks:on,classroomList:Xt,globalSetting:$t,user:ka,loading:Mr,dispatch:Wa})=>{var $n,mr,Rn,ta;const[hr,Do]=(0,x.useState)(Fn(Ze({},(0,he.useParams)()),{page:1,per_page:10})),[sr,Hi]=(0,x.useState)([]),[$o,wr]=(0,x.useState)(-1),[oi,Ca]=(0,x.useState)(""),[ua,mo]=(0,x.useState)(""),{detailLeftMenus:nl}=Xt,Ua=(0,he.useLocation)(),[Oa,Wo]=(0,x.useState)({}),{workDetail:Fl,workList:oa,workSetting:Fa}=on,[Xa,Ln]=(0,x.useState)("1"),[ja,zn]=(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)(()=>{oa.homework_status&&Fi()},[oa]),(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 ma,nr,xo;zn(!0);let lo=yield(0,ge.ZP)(`/api/courses/${hr.coursesId}/homework_commons/edit_hack_homework.json`,{method:"get",params:Fn(Ze({},hr),{id:hr.categoryId})});if(Hi(lo),zn(!1),hr.defaultExpandedRowKeys=[`${(nr=(ma=lo==null?void 0:lo.data)==null?void 0:ma[0])==null?void 0:nr.identifier}`],lo!=null&&lo.hide_description)Ln("2");else if(Xa!="2"){if((xo=oa.homework_status)!=null&&xo.includes("\u5BFC\u5165"))return;Ln(lo!=null&&lo.description?"1":"2")}Do(Ze({},hr))})}const Kn=()=>{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"}},ya=ma=>Zn(void 0,[ma],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(Bt=>Bt.identifier===nr.id),tt=Ei==null?void 0:Ei.data.findIndex(Bt=>Bt.identifier===(xo==null?void 0:xo.id));return Fn(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=ma=>Zn(void 0,null,function*(){const nr=()=>Zn(void 0,null,function*(){let lo=yield(0,ge.ZP)(`/api/item_banks/${ma}/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/${ma}/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}},(Fa==null?void 0:Fa.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 ma=yield(0,ge.ZP)(`/api/homework_commons/${hr==null?void 0:hr.categoryId}/hide_description.json`,{method:"post",body:{status:!0}});(ma==null?void 0:ma.status)==0&&(Fe.ZP.success("\u9690\u85CF\u6210\u529F"),Fi())})});else{let ma=yield(0,ge.ZP)(`/api/homework_commons/${hr==null?void 0:hr.categoryId}/hide_description.json`,{method:"post",body:{status:!1}});(ma==null?void 0:ma.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:ma=>{qo(ma)}}),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 ma=yield(0,ge.ZP)(`/api/homework_commons/${hr==null?void 0:hr.categoryId}/update_description.json`,{method:"post",body:{description:io}});(ma==null?void 0:ma.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:Kn()},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/${($n=sr==null?void 0:sr.user)==null?void 0:$n.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=oa.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:ya},x.createElement(Ve.Fo,{items:(Rn=sr==null?void 0:sr.data)==null?void 0:Rn.map(ma=>ma==null?void 0:ma.identifier),strategy:Ve.qw},x.createElement(Le.default,{components:{body:{row:Ct}},dataSource:sr==null?void 0:sr.data,rowKey:ma=>ma==null?void 0:ma.identifier,pagination:!1,expandable:{expandIcon:({expanded:ma,onExpand:nr,record:xo})=>ma?x.createElement(je.Z,{title:"\u6536\u8D77"},x.createElement(Ft.Z,{className:xe.upDownSty,onClick:lo=>nr(xo,lo)})):x.createElement(je.Z,{title:"\u5C55\u5F00"},x.createElement(Ut.Z,{className:xe.upDownSty,onClick:lo=>nr(xo,lo)})),expandedRowRender:ma=>{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",ma==null?void 0:ma.name),x.createElement("p",null,"\u63CF\u8FF0\uFF1A",x.createElement(ve.Z,{value:(ma==null?void 0:ma.description)||""})),!(0,Ne.dE)()&&x.createElement("p",null,"\u9898\u76EE\u89E3\u6790:",x.createElement(ve.Z,{style:{fontSize:"14px"},value:(ma==null?void 0:ma.analysis)||"\u6682\u65E0\u89E3\u6790"}))),x.createElement("div",{style:{width:"100%",textAlign:"end"}},(Fa==null?void 0:Fa.hack_edit_permission)&&x.createElement(ze.ZP,{className:"mt20",type:"primary",ghost:!0,onClick:()=>{window.open(`/problems/newedit/${ma==null?void 0:ma.identifier}?type=1`),localStorage.setItem("program_homework",[hr.coursesId,hr.categoryId])}},"\u7F16\u8F91"),(Fa==null?void 0:Fa.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/${ma==null?void 0:ma.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:(ta=[(0,Ne.GJ)()&&{key:"sort",align:"center",width:40,render:()=>x.createElement(Lt,null)},{title:"\u5E8F\u53F7",dataIndex:"index",ellipsis:!0,key:"index",width:55,render:(ma,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(ma,nr,xo){return x.createElement("div",null,La[ma])}},{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:ma=>{let nr="",xo=Number(ma);return xo>=0&&xo<=60?nr="c-red":xo>=90?nr="c-green":xo>60?nr="c-orange":nr="",x.createElement("span",{className:nr},ma)}},(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:(ma,nr)=>x.createElement("span",{style:{backgroundColor:"#ECFAF5",color:"#1B8565",overflow:"hidden",textOverflow:"ellipsis",padding:"2px 6px"}},ma||"--")},(0,Ne.dE)()&&{title:"\u901A\u8FC7\u72B6\u6001",dataIndex:"finish_status",key:"finish_status",render(ma){return x.createElement(x.Fragment,null,ma===0&&x.createElement("span",{style:{color:"#E30000"}},"\u672A\u7B54\u9898"),ma===1&&x.createElement("span",{style:{color:"#FA6400"}},"\u8FDB\u884C\u4E2D"),ma===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(ma,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=Xt.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}/${ma}/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"),(Fa==null?void 0:Fa.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:ta.filter(ma=>!!ma)})))),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:ma=>x.createElement("span",null,"\u5171",ma,"\u6761"),current:hr.page||1,pageSize:hr.per_page||10,onChange:(ma,nr)=>{hr.page=ma,hr.per_page=nr,Do(Ze({},hr)),Fi()}})))),x.createElement(oe,null))};var Cn=(0,he.connect)(({shixunHomeworks:on,classroomList:Xt,loading:$t,user:ka,globalSetting:Mr})=>({shixunHomeworks:on,globalSetting:Mr,classroomList:Xt,user:ka,loading:$t.effects}))(wt),sn=z(22150),Nt=z(71230),On=z(15746),Vt=z(69677),_t=z(84567),Mn=z(26194),bn=z(67294),Je=Object.defineProperty,He=Object.getOwnPropertySymbols,_n=Object.prototype.hasOwnProperty,Me=Object.prototype.propertyIsEnumerable,Xe=(on,Xt,$t)=>Xt in on?Je(on,Xt,{enumerable:!0,configurable:!0,writable:!0,value:$t}):on[Xt]=$t,Wt=(on,Xt)=>{for(var $t in Xt||(Xt={}))_n.call(Xt,$t)&&Xe(on,$t,Xt[$t]);if(He)for(var $t of He(Xt))Me.call(Xt,$t)&&Xe(on,$t,Xt[$t]);return on},ot=(on,Xt,$t)=>new Promise((ka,Mr)=>{var Wa=Rn=>{try{mr($t.next(Rn))}catch(ta){Mr(ta)}},$n=Rn=>{try{mr($t.throw(Rn))}catch(ta){Mr(ta)}},mr=Rn=>Rn.done?ka(Rn.value):Promise.resolve(Rn.value).then(Wa,$n);mr(($t=$t.apply(on,Xt)).next())});const Ye=({shixunHomeworks:on,loading:Xt,dispatch:$t,classroomList:ka})=>{var Mr;const Wa=(0,he.useParams)(),[$n,mr]=(0,x.useState)(Wt(Wt({},{page:1,limit:20,group_ids:[]}),Wa)),Rn=(0,he.useLocation)(),{codeReview:ta}=on,[hr,Do]=(0,x.useState)({}),[sr]=sn.default.useForm();$n.order="code_rate",$n.sort="desc",$n.category=$n.categoryId,(0,x.useEffect)(()=>{Hi(),console.log("params",$n)},[$n]),(0,x.useEffect)(()=>{on.actionTabs.key==="\u6267\u884C\u4EE3\u7801\u67E5\u91CD"&&Hi()},[on.actionTabs.key]);const Hi=()=>ot(void 0,null,function*(){(yield $t({type:"shixunHomeworks/getCodeReview",payload:Wt({},$n)})).status===-2&&setTimeout(()=>Hi(),1500)}),$o=()=>{},wr=(Ca,ua)=>{$n.page=Ca,$n.limit=20,$t({type:"shixunHomeworks/getCodeReview",payload:Wt({},$n)})},oi=[{title:"\u5E8F\u53F7",dataIndex:"number",render:(Ca,ua,mo)=>$n.limit*($n.page-1)+mo+1},{title:"\u59D3\u540D",dataIndex:"username"},{title:"\u5B66\u53F7",dataIndex:"student_id"},{title:"\u76F8\u4F3C\u5EA6",dataIndex:"code_rate",render:Ca=>bn.createElement("span",{className:"c-orange"},Ca)},{title:"\u64CD\u4F5C",dataInex:"action",render:(Ca,ua)=>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/${$n.coursesId}/program_homework/${$n.categoryId}/review_detail/${ua.user_id}`)}},"\u67E5\u770B"),bn.createElement("br",null))}];return bn.createElement("section",{className:"minH500 bg-white pl30 pr30 pt10"},(ta==null?void 0:ta.status)===-2&&bn.createElement(Mn.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"}),(ta==null?void 0:ta.status)!==-2&&bn.createElement("div",null,bn.createElement(Nt.Z,null,bn.createElement(On.Z,{flex:"1"},bn.createElement("p",{className:"mt10"},"\u67E5\u91CD\u65F6\u95F4\uFF1A",ta.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:$n}})}},"\u4EE3\u7801\u67E5\u91CD"))),bn.createElement(On.Z,null,bn.createElement(Vt.default.Search,{allowClear:!0,placeholder:"\u8BF7\u8F93\u5165\u59D3\u540D\u6216\u8005\u5B66\u53F7\u641C\u7D22",onSearch:Ca=>{$n.search=Ca,$t({type:"shixunHomeworks/getCodeReview",payload:$n})},style:{width:200}}),bn.createElement("span",{className:"ml5 c-red"}))),((Mr=ta.group_info)==null?void 0:Mr.length)>0&&bn.createElement(bn.Fragment,null,bn.createElement(Nt.Z,null,bn.createElement(On.Z,{flex:"80px",className:"font14"},"\u5206\u73ED\u60C5\u51B5:"),bn.createElement(On.Z,{flex:"80px"},bn.createElement(_t.default,{checked:$n.group_ids=="",value:"all",onChange:Ca=>{delete $n.group_ids,$n.group_ids=[],$n.page=1,mr(Wt({},$n))}},"\u5168\u90E8")),bn.createElement(On.Z,{flex:"1"},ta.group_info&&ta.group_info.map((Ca,ua)=>bn.createElement(_t.default,{style:{marginLeft:0},value:Ca.id,checked:$n.group_ids.includes(Ca.id),onChange:mo=>{mo.target.checked?$n.group_ids.push(Ca.id):$n.group_ids.splice($n.group_ids.indexOf(Ca.id),1),$n.page=1,mr(Wt({},$n))}},Ca.name,"(",Ca.members_count,")")))),bn.createElement(Nt.Z,{className:"font14 c-red mt5"},bn.createElement(On.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"},ta.copy_reviews_count),"\u4E2A\u7591\u4F3C\u6284\u88AD\u4F5C\u54C1\uFF08",ta.all_reviews_count,"\u4F5C\u54C1\uFF09"),bn.createElement(Le.default,{className:"mt30",loading:Xt["shixunHomeworks/getCodeReview"],pagination:!1,dataSource:ta.users_reviews,columns:oi,onChange:(Ca,ua,mo)=>{mo.order==="ascend"&&($n.b_order="asc"),mo.order==="descend"&&($n.b_order="desc"),mo.order||delete $n.b_order,$t({type:"shixunHomeworks/getCodeReview",payload:Wt({},$n)})}}),bn.createElement("aside",{className:"tc mb50 mt30"},bn.createElement(be.Z,{showSizeChanger:!1,onChange:wr,defaultCurrent:$n.page||1,current:$n.page||1,defaultPageSize:20,hideOnSinglePage:!0,total:ta.copy_reviews_count}))))};var xt=(0,he.connect)(({shixunHomeworks:on,classroomList:Xt,loading:$t})=>({shixunHomeworks:on,classroomList:Xt,loading:$t.effects}))(Ye),Yt=z(42469),It=z(20669),Nn=z(42563),kt=z(78045),Gt=z(31795),St=z(40043),Pn=z(24018),qt=z(96486),wn={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"},xa=z(39717),Hn=z(17998),la=z(78207),Ba=z(92882),rn=z(67294),cn=Object.defineProperty,pn=Object.defineProperties,Aa=Object.getOwnPropertyDescriptors,ha=Object.getOwnPropertySymbols,aa=Object.prototype.hasOwnProperty,Ga=Object.prototype.propertyIsEnumerable,_a=(on,Xt,$t)=>Xt in on?cn(on,Xt,{enumerable:!0,configurable:!0,writable:!0,value:$t}):on[Xt]=$t,Qr=(on,Xt)=>{for(var $t in Xt||(Xt={}))aa.call(Xt,$t)&&_a(on,$t,Xt[$t]);if(ha)for(var $t of ha(Xt))Ga.call(Xt,$t)&&_a(on,$t,Xt[$t]);return on},wo=(on,Xt)=>pn(on,Aa(Xt)),Dn=(on,Xt,$t)=>new Promise((ka,Mr)=>{var Wa=Rn=>{try{mr($t.next(Rn))}catch(ta){Mr(ta)}},$n=Rn=>{try{mr($t.throw(Rn))}catch(ta){Mr(ta)}},mr=Rn=>Rn.done?ka(Rn.value):Promise.resolve(Rn.value).then(Wa,$n);mr(($t=$t.apply(on,Xt)).next())});const{RangePicker:At}=It.default,{Option:Zt}=Nn.default,bt=({shixunHomeworks:on,user:Xt,loading:$t,classroomList:ka,dispatch:Mr})=>{var Wa,$n,mr,Rn,ta,hr,Do,sr,Hi,$o,wr,oi;const Ca=(0,he.useParams)(),{workSetting:ua,workList:mo,changeData:nl}=on,[Ua,Oa]=(0,x.useState)(!0),[Wo,Fl]=(0,x.useState)(!1);let[oa,Fa]=(0,x.useState)([]),[Xa,Ln]=(0,x.useState)([]);const ja=(0,x.useRef)(!0);let[zn,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:xa.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(),()=>{Fa([])}),[]);const to=()=>{Mr({type:"shixunHomeworks/getWorkSetting",payload:Qr({},Ca)})};(0,x.useEffect)(()=>{var Kn,ya;((0,Ne.G5)()||(0,Ne.Rm)()&&((Kn=ka.AssistantObject.hack)!=null&&Kn.can_late||(ya=ka.AssistantObject.hack)!=null&&ya.can_publish))&&Oa(!1)},[Xt,ka]),(0,x.useEffect)(()=>{if(!(ua!=null&&ua.course_id)||!ja.current)return;ja.current=!1,Object.keys(zn).map(function(ya){zn[ya]=ua[ya]}),(!zn.allow_late||!zn.unified_late)&&(zn.late_minus_score=20,zn.penalty_type=xa.Q.Percent),zn.unified_setting||(zn.unified_late=!1,zn.unified_anonymous_comment=!1,zn.unified_anonymous_appeal=!1),oa=JSON.parse(JSON.stringify(ua.group_settings.map(ya=>wo(Qr({},ya),{group_name:[ya.group_name]})).filter(ya=>ya.publish_time!==null))),Xa=JSON.parse(JSON.stringify(ua.allow_late_settings.map(ya=>wo(Qr({},ya),{group_name:[ya.group_name]})).filter(ya=>ya.late_time!==null))),zn.difficult_settings.length===0&&(zn.difficult_settings=[0,0,0]),Bo(Qr({},zn));const Kn=(0,De.QE)((oa==null?void 0:oa.length)>0?oa:[]);Fa([...Kn]),(Xa==null?void 0:Xa.length)<=0?Ln([{late_minus_score:20}]):Ln([...Xa])},[ua]);const io=()=>{var Kn;if(((Kn=Xt==null?void 0:Xt.userInfo)==null?void 0:Kn.user_status)===2){(0,la.Rd)();return}const ya=JSON.parse(JSON.stringify(zn));if(ya.categoryId=Ca.categoryId,zn.unified_setting||(oa=oa==null?void 0:oa.map(Nr=>{var ma;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=(ma=ua.group_settings)==null?void 0:ma.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})),ya.group_settings=oa,zn.allow_late)if(zn.unified_late){if(zn.late_minus_score===null||zn.late_minus_score===void 0||zn.late_minus_score<0||zn.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(!zn.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 ma,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=(ma=Nr==null?void 0:Nr.group_name)==null?void 0:ma.map(xo=>{var lo,Ei;let Oe=(Ei=(lo=ua.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}),ya.allow_late_settings=Xa;ya.send_type===1&&(ya.difficult_settings=ya.difficult_settings.map(Nr=>Nr||0)),qo(ya)},qo=Kn=>{var ya;if(Kn.total_score===null){Fe.ZP.warning("\u603B\u5206\u503C\u4E0D\u80FD\u4E3A\u7A7A");return}if(Kn!=null&&Kn.work_efficiency&&Kn.eff_score===null){Fe.ZP.warning("\u6548\u7387\u5206\u4E0D\u80FD\u4E3A\u7A7A");return}const Nr={shixun_evaluation:Kn.shixun_evaluation,challenge_settings:Kn.challenge_settings},ma=()=>Dn(void 0,null,function*(){Fl(!0),(yield(0,ge.ZP)(`/api/homework_commons/${Ca.categoryId}/publish_setting.json`,{method:"post",body:Qr({},Kn)})).status===0&&(Fe.ZP.success("\u66F4\u65B0\u6210\u529F"),to(),Mr({type:"shixunHomeworks/getWorkList",payload:Qr({},Ca)})),Fl(!1)});!(0,qt.isEqual)(nl,Nr)&&!((ya=mo==null?void 0:mo.homework_status)!=null&&ya.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:ma}):ma()},Jr=(Kn,ya,Nr="group_id")=>{var ma;return ya?ya.find(nr=>nr[Nr]===Kn):(ma=ua==null?void 0:ua.group_settings)==null?void 0:ma.find(nr=>nr.group_id[0]===Kn)},li=(ua==null?void 0:ua.allow_late)||(ua==null?void 0:ua.anonymous_comment),ir=Kn=>{var ya,Nr;const ma=Jr(Kn,ua==null?void 0:ua.allow_late_settings,"id"),nr=Jr(Kn,ua==null?void 0:ua.anonymous_comment_settings),xo=Jr(Kn);return(ua==null?void 0:ua.allow_late)&&ma&&de()(ma==null?void 0:ma.late_time)<=de()()||(ua==null?void 0:ua.anonymous_comment)&&nr&&(nr==null?void 0:nr.evaluation_start)!==null||((Nr=(de()(xo==null?void 0:xo.end_time)<=de()()&&((ya=ua==null?void 0:ua.allow_late_settings)==null?void 0:ya.filter(lo=>lo.group_id.includes(Kn))))[0])==null?void 0:Nr.late_time)!=null},Ro=ua==null?void 0:ua.anonymous_comment,Oi=Kn=>{if(!Kn)return!1;const ya=Jr(Kn,ua==null?void 0:ua.anonymous_comment_settings);return(ua==null?void 0:ua.anonymous_comment)&&ya&&(ya==null?void 0:ya.evaluation_start)!==null},Fi=(Kn,ya)=>{var Nr,ma,nr;Mr({type:"classroomList/setActionTabs",payload:{key:"\u5206\u73ED\u53D1\u5E03-\u53D1\u5E03\u89C4\u5219\u62C6\u5206",data:Kn,index:ya,rangePickerDisabled:Ua||(de()()<=de()((ma=Jr((Nr=Kn==null?void 0:Kn.group_id)==null?void 0:Nr[0]))==null?void 0:ma.publish_time)?!1:[!0,ir((nr=Kn==null?void 0:Kn.group_id)==null?void 0:nr[0])]),disabledDate:ua==null?void 0:ua.course_end_date}})};return rn.createElement("section",{className:wn.form},rn.createElement("div",{className:wn.title},"\u8BD5\u9898\u53D1\u5E03",rn.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")),rn.createElement("div",{className:wn.content},rn.createElement(kt.ZP.Group,{disabled:Ua||!((Wa=mo==null?void 0:mo.homework_status)!=null&&Wa.includes("\u672A\u53D1\u5E03"))||!(($n=ka.AssistantObject.hack)!=null&&$n.can_publish)&&(0,Ne.Rm)(),value:zn.send_type,onChange:Kn=>{zn.send_type=Kn.target.value,Bo(Object.assign({},zn))}},rn.createElement(kt.ZP,{value:0,style:{color:"#333333"}},"\u56FA\u5B9A\u8BD5\u9898\u6A21\u5F0F"),rn.createElement(kt.ZP,{style:{marginLeft:40,color:"#333333"},value:1},"\u968F\u673A\u62BD\u9898\u6A21\u5F0F"))),zn.send_type===1&&rn.createElement("div",{className:wn.content,style:{borderTop:"1px solid #fff"}},rn.createElement(Nt.Z,{style:{marginLeft:"165px"}},rn.createElement(On.Z,{style:{color:"#333333"}},"\u7B80\u5355\u9898\u6570",rn.createElement(Gt.Z,{size:"large",precision:0,disabled:Ua||!((mr=mo==null?void 0:mo.homework_status)!=null&&mr.includes("\u672A\u53D1\u5E03")),placeholder:`\u6700\u5927${zn.difficult_count[0]||0}`,min:0,max:zn.difficult_count[0]||0,value:zn.difficult_settings[0],onChange:Kn=>{zn.difficult_settings[0]=Kn,Bo(Object.assign({},zn))},className:"ml10 mr20",style:{width:120}})),rn.createElement(On.Z,{style:{color:"#333333"}},"\u9002\u4E2D\u9898\u6570",rn.createElement(Gt.Z,{size:"large",precision:0,disabled:Ua||!((Rn=mo==null?void 0:mo.homework_status)!=null&&Rn.includes("\u672A\u53D1\u5E03")),placeholder:`\u6700\u5927${zn.difficult_count[1]||0}`,min:0,max:zn.difficult_count[1]||0,value:zn.difficult_settings[1],onChange:Kn=>{zn.difficult_settings[1]=Kn,Bo(Object.assign({},zn))},className:"ml10 mr20",style:{width:120}})),rn.createElement(On.Z,{style:{color:"#333333"}},"\u56F0\u96BE\u9898\u6570",rn.createElement(Gt.Z,{size:"large",precision:0,disabled:Ua||!((ta=mo==null?void 0:mo.homework_status)!=null&&ta.includes("\u672A\u53D1\u5E03")),placeholder:`\u6700\u5927${zn.difficult_count[2]||0}`,min:0,max:zn.difficult_count[2]||0,value:zn.difficult_settings[2],onChange:Kn=>{zn.difficult_settings[2]=Kn,Bo(Object.assign({},zn))},className:"ml10 mr20",style:{width:120}})))),rn.createElement("div",{className:`${wn.title} mt30`},"\u4F5C\u4E1A\u53D1\u5E03",rn.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")),rn.createElement("div",{className:wn.content},rn.createElement(kt.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:zn.unified_setting,onChange:Kn=>{var ya;if(!((ya=mo==null?void 0:mo.homework_status)!=null&&ya.includes("\u672A\u53D1\u5E03"))){Fe.ZP.error("\u5DF2\u53D1\u5E03\uFF0C\u4E0D\u80FD\u518D\u4FEE\u6539\u7EDF\u4E00\u8BBE\u7F6E");return}if(zn.unified_setting=!zn.unified_setting,zn.unified_setting||(zn.unified_late=!1),Bo(Object.assign({},zn)),zn.unified_setting===!1&&oa==""){Fa(oa.concat({}));return}zn.unified_setting&&(Fa([]),Ln([{late_minus_score:5}]))}},rn.createElement(kt.ZP,{value:!0,disabled:!(ua!=null&&ua.manage_all_group),style:{color:"#333333"}},"\u7EDF\u4E00\u53D1\u5E03"),rn.createElement(kt.ZP,{style:{marginLeft:70,color:"#333333"},disabled:((sr=ua==null?void 0:ua.group_settings)==null?void 0:sr.length)===0,value:!1},"\u5206\u73ED\u53D1\u5E03")),((Hi=ua==null?void 0:ua.group_settings)==null?void 0:Hi.length)===0&&rn.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")),rn.createElement("div",{className:wn.content,style:{borderTop:"1px solid #fff"}},zn.unified_setting&&rn.createElement(Nt.Z,{align:"middle",className:"ml25"},rn.createElement(Nt.Z,{align:"middle"},rn.createElement(On.Z,{className:"c-grey-333"},"\u53D1\u5E03\u65F6\u95F4"),rn.createElement(On.Z,{className:"ml10"},rn.createElement(It.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:Kn=>(0,Hn.Q8)(Kn,ua==null?void 0:ua.course_end_date),disabledTime:Kn=>(0,Hn.d0)(Kn),disabled:Ua||de()()>=de()(ua==null?void 0:ua.publish_time)||!(($o=ka.AssistantObject.hack)!=null&&$o.can_publish)&&(0,Ne.Rm)(),value:zn.publish_time?de()(zn.publish_time):"",onChange:(Kn,ya)=>{zn.publish_time=ya,(zn.end_time==""||!zn.end_time)&&zn.unified_setting&&(zn.end_time=de()(Kn).add(7,"days").format("YYYY-MM-DD HH:mm:ss")),Bo(Object.assign({},zn))}}))),rn.createElement(Nt.Z,{align:"middle",style:{marginLeft:40}},rn.createElement(On.Z,{className:"c-grey-333"},"\u622A\u6B62\u65F6\u95F4"),rn.createElement(On.Z,{className:"ml10"},rn.createElement(It.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:(ua==null?void 0:ua.allow_late)&&(ua==null?void 0:ua.homework_status.includes("\u5DF2\u622A\u6B62"))||Ua||(ua==null?void 0:ua.allow_late)&&de()()>=de()(ua==null?void 0:ua.end_time)||!((wr=ka.AssistantObject.hack)!=null&&wr.can_publish)&&(0,Ne.Rm)(),disabledDate:Kn=>(0,Hn.Q8)(Kn,ua==null?void 0:ua.course_end_date,zn.publish_time),disabledTime:Kn=>(0,Hn.d0)(Kn,zn.publish_time),value:zn.end_time?de()(zn.end_time):"",onChange:(Kn,ya)=>{zn.end_time=ya,Bo(Object.assign({},zn))}})))),!zn.unified_setting&&(oa==null?void 0:oa.length)>0&&rn.createElement(Nt.Z,{className:"ml25"},oa&&oa.map(function(Kn,ya){var Nr,ma,nr,xo;return rn.createElement(On.Z,{className:ya!==0&&"mt20",span:24,key:ya},rn.createElement(Nt.Z,{gutter:[0,16]},rn.createElement(On.Z,{span:8},rn.createElement(Nt.Z,{gutter:[8,16],align:"middle"},rn.createElement(On.Z,{style:{minWidth:85},className:"c-grey-333"},"\u53D1\u5E03\u89C4\u5219 ",ya+1),rn.createElement(On.Z,{flex:"1",style:{maxWidth:300}},rn.createElement(Nn.default,{size:"large",disabled:Ua||((Nr=ua==null?void 0:ua.homework_status)!=null&&Nr.includes("\u672A\u53D1\u5E03")&&Kn.id||de()()<de()(Kn==null?void 0:Kn.publish_time)?!1:!!(Kn!=null&&Kn.publish_time)),mode:"multiple",className:`${wn.selectSty}`,style:{width:250},value:Kn.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}oa[ya].group_name=lo,oa[ya].group_id=Kn.group_id;const Oe=(0,qt.flattenDeep)(oa.map(tt=>tt.group_name)),qe=Xa.map(tt=>{let Bt=(tt==null?void 0:tt.group_name)||[];return wo(Qr({},tt),{group_name:(0,qt.remove)(Bt,hn=>Oe.includes(hn))})});Ln(qe),Fa(oa.slice())},maxTagCount:4,maxTagPlaceholder:lo=>rn.createElement("div",{style:{cursor:"pointer"},onClick:()=>Fi(Kn,ya)},"+",lo==null?void 0:lo.length)},ua.group_settings&&ua.group_settings.map(function(lo){if(!oa.map(Ei=>Ei.group_name).toString().split(",").includes(String(lo.group_name)))return rn.createElement(Zt,{value:lo.group_name,key:lo.id},lo.group_name)}))))),rn.createElement(On.Z,{span:14,style:{display:"flex",alignItems:"center"}},rn.createElement(At,{size:"large",allowClear:!1,ranges:{\u6B64\u523B:[Kn.publish_time?de()(Kn.publish_time):de()(),de()()]},disabled:Ua||(de()()<=de()((ma=Jr(Kn.id))==null?void 0:ma.publish_time)?!1:[!0,ir(Kn.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,Hn.Q8)(lo,ua==null?void 0:ua.course_end_date),disabledTime:lo=>(0,Hn.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:Kn.publish_time&&[de()(Kn.publish_time),Kn.end_time?de()(Kn.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}oa[ya].publish_time=Ei[0],!Kn.end_time&&Ei[0]?oa[ya].end_time=de()(Ei[0]).add(7,"days"):oa[ya].end_time=Ei[1],Fa([...oa])},onCalendarChange:(lo,Ei,Oe)=>{if(Ei!=null&&Ei[0]&&!Ei[1]){const qe=de()(Ei[0]).add(7,"days");oa[ya].publish_time=Ei[0],oa[ya].end_time=qe,Fa([...oa])}}})),!Ua&&rn.createElement(On.Z,{span:2,style:{display:"flex",alignItems:"center"}},((nr=Kn==null?void 0:Kn.group_id)==null?void 0:nr.length)>1&&rn.createElement(je.Z,{title:"\u89C4\u5219\u62C6\u5206"},rn.createElement("i",{className:"iconfont icon-chaifen ml10",style:{cursor:"pointer",color:"#3061d0",fontSize:14},onClick:()=>Fi(Kn,ya)})),oa.length<((xo=ua==null?void 0:ua.group_settings)==null?void 0:xo.length)&&rn.createElement(St.Z,{className:"c-green ml10 mr10",onClick:()=>{Fa(oa.concat({}))}}),((Kn==null?void 0:Kn.publish_time)&&de()()<de()(Kn==null?void 0:Kn.publish_time)||!(Kn!=null&&Kn.publish_time))&&ya!=0&&rn.createElement(Pn.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,qt.cloneDeep)(Xa);Ei.forEach((Oe,qe)=>{Oe.group_name&&(Oe.group_name=Oe.group_name.filter(tt=>{var Bt;return!((Bt=oa[ya].group_name)!=null&&Bt.includes(tt))}))}),Ln(Ei),oa=oa.filter((Oe,qe)=>ya!==qe),Fa(oa.slice()),setTimeout(()=>Fa(oa.slice()),10)}}))))}))),rn.createElement("div",{className:`${wn.title} mt30`},"\u8865\u4EA4\u8BBE\u7F6E",rn.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")),rn.createElement("div",{className:wn.content},rn.createElement(Nt.Z,null,rn.createElement(_t.default,{checked:zn.allow_late,disabled:Ua||(ua==null?void 0:ua.allow_late),onChange:Kn=>{var ya;if(!((ya=ka.AssistantObject.hack)!=null&&ya.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}Kn.target.checked&&we.default.warning({title:"\u5F00\u542F\u8865\u4EA4\u63D0\u793A",width:480,centered:!0,content:rn.createElement("div",{style:{padding:10,background:"#f5f6f9"}},rn.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"),rn.createElement("div",null,"2.\u8865\u4EA4\u622A\u6B62\u65F6\u95F4\u5FC5\u987B\u665A\u4E8E\u4F5C\u4E1A\u622A\u6B62\u65F6\u95F4\uFF1B"),rn.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"))}),zn.allow_late=!zn.allow_late,Xa==""&&Ln([{late_minus_score:5}]),Bo(Object.assign({},zn))}},rn.createElement("span",{style:{fontSize:"14px"}},"\u5F00\u542F\u8865\u4EA4")))),(zn==null?void 0:zn.allow_late)&&rn.createElement("div",{className:wn.content,style:{borderTop:"1px solid #fff",paddingLeft:54}},rn.createElement("div",null,rn.createElement("span",{style:{color:"#333333",marginRight:12}},"\u8865\u4EA4\u65B9\u5F0F\uFF1A"),rn.createElement(kt.ZP.Group,{disabled:Ua||(ua==null?void 0:ua.anonymous_comment)||(ua==null?void 0:ua.allow_late),value:zn.unified_late,onChange:Kn=>{var ya;if((0,Ne.Rm)()&&!((ya=ka.AssistantObject.hack)!=null&&ya.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}zn.unified_late=Kn.target.value,Xa==""&&!Kn.target.value&&Ln([{late_minus_score:5}]),Bo(Qr({},zn))}},(zn==null?void 0:zn.unified_setting)&&rn.createElement(kt.ZP,{value:!0,style:{color:"#333333"},disabled:!(ua!=null&&ua.manage_all_group)}," \u7EDF\u4E00\u8865\u4EA4 "),((oi=ua==null?void 0:ua.group_settings)==null?void 0:oi.length)&&rn.createElement(kt.ZP,{value:!1,style:{color:"#333333"}}," \u5206\u73ED\u8865\u4EA4 "))),zn!=null&&zn.unified_late?rn.createElement(rn.Fragment,null,rn.createElement(Nt.Z,{align:"middle",className:"mt25"},rn.createElement(On.Z,{style:{color:"#333333"}},"\u8865\u4EA4\u6263\u5206:"),rn.createElement(On.Z,{className:"ml5"},rn.createElement(xa.Z,{disabled:Ua||Ro,value:{type:zn.penalty_type,inputValue:zn.late_minus_score},onChange:Kn=>{var ya;if((0,Ne.Rm)()&&!((ya=ka.AssistantObject.hack)!=null&&ya.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({},zn),{late_minus_score:Kn.inputValue,penalty_type:Kn.type}))}})),rn.createElement(On.Z,{flex:"1",className:"ml5"},rn.createElement("span",{className:"c-grey-c ml10"},zn.penalty_type===xa.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)"))),rn.createElement(Nt.Z,{align:"middle",className:"mt25"},rn.createElement(On.Z,{style:{color:"#333333"}},"\u8865\u4EA4\u622A\u6B62\u65F6\u95F4:"),rn.createElement(On.Z,{className:"ml5"},rn.createElement(It.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:zn.late_time?de()(zn.late_time):"",disabledDate:Kn=>(0,Hn.Q8)(Kn,ua==null?void 0:ua.course_end_date),disabledTime:Kn=>(0,Hn.d0)(Kn),onChange:(Kn,ya)=>{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}zn.late_time=ya,Bo(Object.assign({},zn))}})),rn.createElement(On.Z,null,rn.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(Kn,ya){var Nr;return rn.createElement(On.Z,{span:24,key:ya},rn.createElement(Nt.Z,{className:"mt25",align:"middle"},rn.createElement(On.Z,null,rn.createElement("span",{style:{minWidth:85,display:"inline-block",color:"#333333"}},"\u8865\u4EA4\u89C4\u5219",ya+1,"\uFF1A"),rn.createElement(Nn.default,{size:"large",disabled:Ua||!((Nr=mo==null?void 0:mo.homework_status)!=null&&Nr.includes("\u672A\u53D1\u5E03"))&&Kn.id||(ua==null?void 0:ua.anonymous_comment),mode:"multiple",className:`${wn.selectSty}`,style:{width:200},value:typeof Kn.group_name=="string"?[Kn.group_name]:Kn.group_name,placeholder:"\u8BF7\u9009\u62E9\u5206\u73ED\u540D\u79F0",onChange:ma=>{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[ya].group_name=ma,Xa[ya].group_id=Kn.group_id,Ln(Xa.slice())}},ua.group_settings&&ua.group_settings.map(function(ma){if(zn!=null&&zn.unified_setting&&!Xa.map(nr=>nr.group_name).toString().split(",").includes(String(ma.group_name)))return rn.createElement(Zt,{value:ma.group_name,key:ma.id},ma.group_name);if(oa.map(nr=>nr.group_name).toString().split(",").includes(String(ma.group_name))&&!Xa.map(nr=>nr.group_name).toString().split(",").includes(String(ma.group_name)))return rn.createElement(Zt,{value:ma.group_name,key:ma.id},ma.group_name)}))),rn.createElement(On.Z,{className:"ml20",style:{display:"flex",alignItems:"center"}},rn.createElement("div",{style:{color:"#333333"}},"\u8865\u4EA4\u6263\u5206\uFF1A"),rn.createElement(xa.Z,{disabled:Ua||Oi(Kn.id),value:{type:Kn.penalty_type,inputValue:Kn.late_minus_score},onChange:ma=>{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[ya].late_minus_score=ma.inputValue,Xa[ya].penalty_type=ma.type,Ln([...Xa])}})),rn.createElement(On.Z,{className:"ml20"},rn.createElement("span",{style:{color:"#333333"}},"\u8865\u4EA4\u622A\u6B62\u65F6\u95F4\uFF1A"),rn.createElement(It.default,{size:"large",disabled:Ua||Oi(Kn.id),style:{width:200},showTime:{format:"HH:mm",defaultValue:de()((0,De.U6)(),"HH:mm")},placeholder:"\u8BF7\u9009\u62E9\u622A\u6B62\u65F6\u95F4",disabledDate:ma=>(0,Hn.Q8)(ma,ua==null?void 0:ua.course_end_date),disabledTime:ma=>(0,Hn.d0)(ma),format:"YYYY-MM-DD HH:mm",value:Kn!=null&&Kn.late_time?de()(Kn.late_time):void 0,onChange:(ma,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[ya].late_time=nr,Ln([...Xa])}})),!Ua&&rn.createElement(On.Z,{style:{marginLeft:10}},ya>0&&!Kn.id&&rn.createElement(Pn.Z,{className:"mr10",style:{color:"#E30000"},onClick:()=>{Xa=Xa.filter((ma,nr)=>ya!==nr),Ln(Xa.slice()),setTimeout(()=>Ln(Xa.slice()),10)}}),rn.createElement(St.Z,{className:"c-green",onClick:()=>{var ma;if((0,Ne.Rm)()&&!((ma=ka.AssistantObject.hack)!=null&&ma.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}Ln(Xa.concat({penalty_type:xa.Q.Percent,late_minus_score:20}))}}))))})),!Ua&&rn.createElement(ze.ZP,{type:"primary",size:"large",style:{width:138},className:"mt30",loading:Wo,onClick:()=>io()},"\u4FDD\u5B58"),rn.createElement(Ba.Z,{onConfirm:(Kn,ya)=>{oa.splice(Kn,0,...ya),oa.splice(Kn+ya.length,1);const Nr=(0,De.QE)([...oa]);Fa([...Nr])}}))};var Jn=(0,he.connect)(({shixunHomeworks:on,classroomList:Xt,user:$t,loading:ka})=>({shixunHomeworks:on,loading:ka.effects,user:$t,classroomList:Xt}))(bt),Jt=z(67294),er=Object.defineProperty,Zo=Object.defineProperties,ao=Object.getOwnPropertyDescriptors,rr=Object.getOwnPropertySymbols,qr=Object.prototype.hasOwnProperty,Jo=Object.prototype.propertyIsEnumerable,sa=(on,Xt,$t)=>Xt in on?er(on,Xt,{enumerable:!0,configurable:!0,writable:!0,value:$t}):on[Xt]=$t,Vr=(on,Xt)=>{for(var $t in Xt||(Xt={}))qr.call(Xt,$t)&&sa(on,$t,Xt[$t]);if(rr)for(var $t of rr(Xt))Jo.call(Xt,$t)&&sa(on,$t,Xt[$t]);return on},ft=(on,Xt)=>Zo(on,ao(Xt)),mn=(on,Xt,$t)=>new Promise((ka,Mr)=>{var Wa=Rn=>{try{mr($t.next(Rn))}catch(ta){Mr(ta)}},$n=Rn=>{try{mr($t.throw(Rn))}catch(ta){Mr(ta)}},mr=Rn=>Rn.done?ka(Rn.value):Promise.resolve(Rn.value).then(Wa,$n);mr(($t=$t.apply(on,Xt)).next())});function an(on,Xt){const $t=[];for(let ka=on;ka<Xt;ka++)$t.push(ka);return $t}const fn=on=>{let Xt=new Date;const $t=de()(on).format("HH");if(de()(on).isSame(de()(Xt),"day")){const ka=de()(Xt).format("HH"),Mr=de()(Xt).format("mm");return{disabledHours:()=>an(0,24).splice(1,ka*1-1),disabledMinutes:()=>(console.log("\u7981\u6B62\u65F6\u95F4\uFF1A",$t,ka),de()(on).isSame(de()(Xt),"hour")&&$t<=ka?an(0,60).splice(0,Mr):an(60,60))}}else if(de()(on).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:da}=It.default,{Option:gn}=Nn.default,ia=({shixunHomeworks:on,loading:Xt,dispatch:$t})=>{const ka=(0,he.useParams)(),Mr=(0,he.useLocation)(),{workSetting:Wa,workList:$n,changeData:mr}=on,[Rn,ta]=(0,x.useState)(!0),[hr,Do]=(0,x.useState)({}),[sr,Hi]=(0,x.useState)(!1),[$o]=sn.default.useForm();let[wr,oi]=(0,x.useState)([]),[Ca,ua]=(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&&ta(!1)},[Wa]);const Fl=()=>{$t({type:"shixunHomeworks/getWorkSetting",payload:Vr({},ka)})},oa=Ln=>Ln&&Ln<de()().startOf("day");(0,x.useEffect)(()=>{Wa!=null&&Wa.course_id&&Ua.current&&(Ua.current=!1,Object.keys(Oa).map(function(Ln){Wa[Ln]!==void 0&&(Oa[Ln]=Wa[Ln])}),(!Oa.allow_late||!Oa.unified_late)&&(Oa.late_penalty=5),wr=JSON.parse(JSON.stringify(Wa.group_settings.map(Ln=>ft(Vr({},Ln),{group_name:[Ln.group_name]})).filter(Ln=>Ln.publish_time!==null))),Ca=JSON.parse(JSON.stringify(Wa.allow_late_settings.map(Ln=>ft(Vr({},Ln),{group_name:[Ln.group_name]})).filter(Ln=>Ln.rank_forbidden_start!==null))),Wo(Vr({},Oa)),console.log(Oa,Wa,"data"),oi([...wr]),(Ca==null?void 0:Ca.length)<=0?ua([{}]):ua([...Ca]))},[Wa]);const Fa=()=>{const Ln=JSON.parse(JSON.stringify(Oa));if(Ln.categoryId=ka.categoryId,Oa.unified_setting||(wr=wr==null?void 0:wr.map(ja=>{var zn;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=(zn=Wa.group_settings)==null?void 0:zn.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})),Ln.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 Ca=Ca==null?void 0:Ca.map(ja=>{var zn,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=(zn=ja==null?void 0:ja.group_name)==null?void 0:zn.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}),Ln.group_settingss=Ca;Xa(Ln)},Xa=Ln=>{if(console.log(Ln.total_score,Ln.eff_score),Ln.total_score===null){Fe.ZP.warning("\u603B\u5206\u503C\u4E0D\u80FD\u4E3A\u7A7A");return}if(Ln!=null&&Ln.work_efficiency&&Ln.eff_score===null){Fe.ZP.warning("\u6548\u7387\u5206\u4E0D\u80FD\u4E3A\u7A7A");return}const ja={shixun_evaluation:Ln.shixun_evaluation};mn(void 0,null,function*(){Hi(!0),(yield(0,ge.ZP)(`/api/homework_commons/${ka.categoryId}/public_setting.json`,{method:"post",body:Vr({},Ln)})).status===0&&(Fe.ZP.success("\u66F4\u65B0\u6210\u529F"),Fl(),$t({type:"shixunHomeworks/getWorkList",payload:Vr({},ka)})),Hi(!1)})};return Jt.createElement("section",{className:wn.form},Jt.createElement("div",{className:wn.title},"\u516C\u5F00\u8BBE\u7F6E"),Jt.createElement("div",{className:wn.content,style:{padding:0}},Jt.createElement(Nt.Z,null,Jt.createElement(On.Z,{span:24,className:wn.pubColSty},Jt.createElement(_t.default,{checked:Oa.score_open,disabled:Rn,onChange:Ln=>{Oa.score_open=Ln.target.checked,Wo(Object.assign({},Oa))}},Jt.createElement("span",{className:"font14 c-grey-333"},"\u516C\u5F00\u6210\u7EE9")),Jt.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")),Jt.createElement(On.Z,{span:24,className:wn.pubColSty,style:{borderBottom:Oa.open_code?"none":"1px solid #fff"}},Jt.createElement(_t.default,{checked:Oa.open_code,disabled:Rn,onChange:Ln=>{Oa.open_code=Ln.target.checked,Ln.target.checked&&(Oa.open_code_type=1),Wo(Object.assign({},Oa))}},Jt.createElement("span",{className:"font14 c-grey-333"},"\u516C\u5F00\u4EE3\u7801")),Jt.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&&Jt.createElement(On.Z,{span:24,className:wn.pubColSty},Jt.createElement(kt.ZP.Group,{style:{marginLeft:"24px"},disabled:Rn,value:Oa.open_code_type,onChange:Ln=>{Oa.open_code_type=Ln.target.value,Wo(Object.assign({},Oa))}},Jt.createElement(kt.ZP,{value:1,style:{color:"#333333"}},"\u4F5C\u4E1A\u7ED3\u675F\u540E"),Jt.createElement(kt.ZP,{value:0,style:{marginLeft:60,color:"#333333"}},"\u4EFB\u610F\u65F6\u95F4"))),Jt.createElement(On.Z,{span:24,className:wn.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"}},Jt.createElement(_t.default,{checked:Oa.rank_forbidden,disabled:Rn,onChange:Ln=>{Oa.rank_forbidden=Ln.target.checked,Wo(Object.assign({},Oa))}},Jt.createElement("span",{className:"font14"},"\u5F00\u542F\u5C01\u699C")),Jt.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&&Jt.createElement(On.Z,{span:24,className:wn.pubColSty,style:{height:"50px",lineHeight:"50px"}},Jt.createElement("div",{style:{marginLeft:"24px"}},Jt.createElement(Nt.Z,{align:"middle"},Jt.createElement(On.Z,null,"\u5F00\u59CB\u65F6\u95F4"),Jt.createElement(On.Z,{className:"ml10"},Jt.createElement(It.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:oa,disabledTime:fn,disabled:Rn||de()()>de()(Wa.rank_forbidden_start),value:Oa.rank_forbidden_start?de()(Oa.rank_forbidden_start):"",onChange:(Ln,ja)=>{Oa.rank_forbidden_start=ja,(Oa.end_time==""||!Oa.end_time)&&Oa.unified_setting&&(Oa.end_time=de()(Ln).add(1,"month").format("YYYY-MM-DD HH:mm:ss")),Wo(Object.assign({},Oa))}})),Jt.createElement(On.Z,{className:"ml20"},"\u622A\u6B62\u65F6\u95F4"),Jt.createElement(On.Z,{className:"ml10"},Jt.createElement(It.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:Rn,disabledDate:oa,value:Oa.rank_forbidden_end?de()(Oa.rank_forbidden_end):"",onChange:(Ln,ja)=>{Oa.rank_forbidden_end=ja,Wo(Object.assign({},Oa))}}))))),!Oa.unified_setting&&(wr==null?void 0:wr.length)>0&&!!Oa.rank_forbidden&&Jt.createElement(Nt.Z,{align:"middle",style:{borderBottom:"1px solid #fff",paddingBottom:"5px",width:"100%"}},Ca.map(function(Ln,ja){var zn,Bo,to,io,qo,Jr,li;return Jt.createElement(On.Z,{span:24,key:ja,style:{marginLeft:"24px"}},Jt.createElement(Nt.Z,{className:"mt10 ml30",align:"middle"},Jt.createElement(On.Z,null,Jt.createElement("span",{style:{color:"#666"}},"\u5C01\u699C\u89C4\u5219",ja+1,"\uFF1A"),Jt.createElement(Nn.default,{size:"large",disabled:Rn||!((zn=$n==null?void 0:$n.homework_status)!=null&&zn.includes("\u672A\u53D1\u5E03"))&&Ln.id,mode:"multiple",className:wn.selectSty,style:{width:250},value:typeof Ln.group_name=="string"?[Ln.group_name]:Ln.group_name,placeholder:"\u8BF7\u9009\u62E9\u5206\u73ED\u540D\u79F0",onChange:ir=>{Ca[ja].group_name=ir,Ca[ja].group_id=Ln.group_id,ua(Ca.slice())}},Wa.group_settings&&Wa.group_settings.map(function(ir){if(Oa!=null&&Oa.unified_setting&&!Ca.map(Ro=>Ro.group_name).toString().split(",").includes(String(ir.group_name)))return Jt.createElement(gn,{value:ir.group_name,key:ir.id},ir.group_name);if(wr.map(Ro=>Ro.group_name).toString().split(",").includes(String(ir.group_name))&&!Ca.map(Ro=>Ro.group_name).toString().split(",").includes(String(ir.group_name)))return Jt.createElement(gn,{value:ir.group_name,key:ir.id},ir.group_name)}))),Jt.createElement(On.Z,{span:15},Jt.createElement("div",{className:"ml20"},Jt.createElement(da,{size:"large",allowClear:!1,disabled:Rn||((io=(to=(Bo=Wa==null?void 0:Wa.group_settings)==null?void 0:Bo.filter(ir=>ir.id===Ln.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===Ln.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:oa,disabledTime:fn,showTime:{format:"HH:mm",defaultValue:[de()((0,De.U6)(),"HH:mm"),de()((0,De.U6)(),"HH:mm")]},format:"YYYY-MM-DD HH:mm",value:Ln.rank_forbidden_start&&[de()(Ln.rank_forbidden_start),Ln.rank_forbidden_end?de()(Ln.rank_forbidden_end):void 0],onChange:(ir,Ro)=>{Ca[ja].rank_forbidden_start=Ro[0],Ca[ja].rank_forbidden_end=Ro[1],ua([...Ca])}}))),!Rn&&Jt.createElement(On.Z,null,Jt.createElement(St.Z,{className:"c-green",onClick:()=>{ua(Ca.concat({}))}}),ja>0&&!Ln.id&&Jt.createElement(Pn.Z,{className:"c-red ml10",onClick:()=>{Ca=Ca.filter((ir,Ro)=>ja!==Ro),ua(Ca.slice()),setTimeout(()=>ua(Ca.slice()),10)}}))))})),Jt.createElement(On.Z,{span:24,className:wn.pubColSty,style:{borderBottom:Oa.hack_analysis?"none":"1px solid #fff"}},Jt.createElement(_t.default,{checked:Oa.hack_analysis,disabled:Rn,onChange:Ln=>{Oa.hack_analysis=Ln.target.checked,Ln.target.checked&&(Oa.hack_analysis_type=2),Wo(Object.assign({},Oa))}},Jt.createElement("span",{className:"font14 c-grey-333"},"\u516C\u5F00\u89E3\u6790")),Jt.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&&Jt.createElement(On.Z,{span:24,className:wn.pubColSty},Jt.createElement(kt.ZP.Group,{style:{marginLeft:"24px"},disabled:Rn,value:Oa.hack_analysis_type,onChange:Ln=>{Oa.hack_analysis_type=Ln.target.value,Wo(Object.assign({},Oa))}},Jt.createElement(kt.ZP,{value:2,style:{color:"#333333"}},"\u4F5C\u4E1A\u7ED3\u675F\u540E"),Jt.createElement(kt.ZP,{style:{marginLeft:60,color:"#333333"},value:0},"\u4EFB\u610F\u65F6\u95F4"),Jt.createElement(kt.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"))),Jt.createElement(On.Z,{span:24,className:wn.pubColSty,style:{borderBottom:Oa.hack_answer?"none":"1px solid #fff"}},Jt.createElement(_t.default,{checked:Oa.hack_answer,disabled:Rn,onChange:Ln=>{Oa.hack_answer=Ln.target.checked,Ln.target.checked&&(Oa.hack_answer_type=1),Wo(Object.assign({},Oa))}},Jt.createElement("span",{className:"font14 c-grey-333"},"\u516C\u5F00\u7B54\u6848")),Jt.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&&Jt.createElement(On.Z,{span:24,className:wn.pubColSty},Jt.createElement(kt.ZP.Group,{style:{marginLeft:"24px"},disabled:Rn,value:Oa.hack_answer_type,onChange:Ln=>{Oa.hack_answer_type=Ln.target.value,Wo(Object.assign({},Oa))}},Jt.createElement(kt.ZP,{value:1,style:{color:"#333333"}},"\u4F5C\u4E1A\u7ED3\u675F\u540E"),Jt.createElement(kt.ZP,{value:0,style:{marginLeft:60,color:"#333333"}},"\u4EFB\u610F\u65F6\u95F4"))))),Jt.createElement("div",{className:`${wn.title} mt30`},"\u5B66\u751F\u5B9E\u9A8C\u62A5\u544A\u4EE3\u7801\u5C55\u793A\u8BBE\u7F6E"),Jt.createElement("div",{className:wn.content},Jt.createElement(_t.default,{disabled:Rn,checked:Oa.show_late_code,onChange:()=>{Oa.show_late_code=!Oa.show_late_code,Wo(Object.assign({},Oa))}},Jt.createElement("span",{className:"c-black"},"\u5C55\u793A\u6240\u6709\u8BC4\u6D4B\u4EE3\u7801"),Jt.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"))),!Rn&&Jt.createElement(ze.ZP,{type:"primary",size:"large",style:{width:138},className:"mt30",loading:sr,onClick:()=>Fa()},"\u4FDD\u5B58"))};var In=(0,he.connect)(({shixunHomeworks:on,loading:Xt})=>({shixunHomeworks:on,loading:Xt.effects}))(ia),pa=z(67294),Qa=Object.defineProperty,Br=Object.defineProperties,no=Object.getOwnPropertyDescriptors,No=Object.getOwnPropertySymbols,Wn=Object.prototype.hasOwnProperty,Qi=Object.prototype.propertyIsEnumerable,yi=(on,Xt,$t)=>Xt in on?Qa(on,Xt,{enumerable:!0,configurable:!0,writable:!0,value:$t}):on[Xt]=$t,Yr=(on,Xt)=>{for(var $t in Xt||(Xt={}))Wn.call(Xt,$t)&&yi(on,$t,Xt[$t]);if(No)for(var $t of No(Xt))Qi.call(Xt,$t)&&yi(on,$t,Xt[$t]);return on},Pi=(on,Xt)=>Br(on,no(Xt)),va=(on,Xt,$t)=>new Promise((ka,Mr)=>{var Wa=Rn=>{try{mr($t.next(Rn))}catch(ta){Mr(ta)}},$n=Rn=>{try{mr($t.throw(Rn))}catch(ta){Mr(ta)}},mr=Rn=>Rn.done?ka(Rn.value):Promise.resolve(Rn.value).then(Wa,$n);mr(($t=$t.apply(on,Xt)).next())});const tr=({shixunHomeworks:on,loading:Xt,dispatch:$t})=>{var ka;const Mr=(0,he.useParams)(),{workSetting:Wa,workList:$n,changeData:mr}=on,[Rn,ta]=(0,x.useState)(!0),[hr,Do]=(0,x.useState)(!1),[sr,Hi]=(0,x.useState)(!1),[$o]=sn.default.useForm();let[wr,oi]=(0,x.useState)([]),[Ca,ua]=(0,x.useState)([]);const mo=!((ka=$n==null?void 0:$n.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&&ta(!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(Ln){Ua[Ln]=Wa[Ln]}),(!Ua.allow_late||!Ua.unified_late)&&(Ua.late_penalty=5),wr=JSON.parse(JSON.stringify(Wa.group_settings.map(Ln=>Pi(Yr({},Ln),{group_name:[Ln.group_name]})).filter(Ln=>Ln.publish_time!==null))),Ca=JSON.parse(JSON.stringify(Wa.allow_late_settings.map(Ln=>Pi(Yr({},Ln),{group_name:[Ln.group_name]})).filter(Ln=>Ln.late_time!==null))),Fa(),Oa(Yr({},Ua)),oi([...wr]),ua([...Ca]))},[Wa]);const Fl=()=>{const Ln=JSON.parse(JSON.stringify(Ua));oa(Ln)},oa=Ln=>{if(console.log(Ln.total_score,Ln.eff_score),Ln.total_score===null){Fe.ZP.warning("\u603B\u5206\u503C\u4E0D\u80FD\u4E3A\u7A7A");return}const ja=()=>va(void 0,null,function*(){Do(!0),(yield(0,ge.ZP)(`/api/homework_commons/${Mr.categoryId}/hack_score_setting.json`,{method:"post",body:Yr({},Ln)})).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()},Fa=()=>{var Ln;const{total_score:ja}=Ua,zn=(Ln=Ua.hack_settings)==null?void 0:Ln.length;if(!zn)return;let Bo=0,to;switch(Ua.hack_score_settings){case 0:const io=(ja/zn).toFixed(2);Ua.hack_settings.map((Kn,ya)=>{Bo=ya,Kn.hack_score=io>0?io:0}),to=(ja-io*(zn-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(Kn=>Kn.difficult===1).length*qo[1],ir=Ua.hack_settings.filter(Kn=>Kn.difficult===2).length*qo[2],Ro=Ua.hack_settings.filter(Kn=>Kn.difficult===3).length*qo[3],Oi=ja/(li+ir+Ro);console.log(Oi,2222),Ua.hack_settings.map((Kn,ya)=>{Bo=ya,Kn.hack_score=(qo[Kn.difficult]*Oi).toFixed(2),Jr=Jr+Number(Kn.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 pa.createElement("section",{className:wn.form},pa.createElement("div",{className:wn.title},"\u5206\u503C\u8BBE\u7F6E"),pa.createElement("div",{className:`${wn.content} mb30`},pa.createElement(Nt.Z,{align:"middle"},pa.createElement(Nt.Z,{align:"middle"},pa.createElement("span",{className:"c-grey-333"},"\u603B\u5206\u503C"),pa.createElement(Gt.Z,{min:0,className:"ml20",style:{width:220},size:"large",value:Ua.total_score,disabled:Rn,onChange:Ln=>{Ua.total_score=Ln,Oa(Object.assign({},Ua)),Fa()},addonAfter:"\u5206"})),pa.createElement(Nt.Z,{align:"middle",style:{marginLeft:60}},pa.createElement("span",{className:"c-grey-333"},"\u6D4B\u8BC4\u5355\u6B21\u62A5\u9519\u589E\u52A0\u65F6\u957F"),pa.createElement(Gt.Z,{className:"ml20",style:{width:220},size:"large",min:0,value:Ua.punish_time,precision:0,disabled:Rn,onChange:Ln=>{Ua.punish_time=Ln,Oa(Object.assign({},Ua)),Fa()},addonAfter:"\u5206\u949F"})))),pa.createElement("div",{className:wn.title},"\u6392\u884C\u699C\u65F6\u95F4\u540D\u6B21\u89C4\u5219"),pa.createElement("div",{className:`${wn.content} mb30`},pa.createElement(kt.ZP.Group,{disabled:Rn,value:Ua.hack_rank_rule,onChange:Ln=>{Ua.hack_rank_rule=Ln.target.value,Oa(Object.assign({},Ua))}},pa.createElement(kt.ZP,{value:0},pa.createElement("span",{className:"c-black"},"\u8017\u65F6\u65F6\u957F\u4F18\u5148"),pa.createElement("span",{className:"c-grey-666 font14"},"\uFF08\u540C\u6210\u7EE9\uFF0C\u8017\u65F6\u8D8A\u77ED\u540D\u6B21\u8D8A\u524D\uFF09")),pa.createElement(kt.ZP,{style:{marginLeft:40},value:1},pa.createElement("span",{className:"c-black"},"\u5B8C\u6210\u65F6\u95F4\u70B9\u4F18\u5148"),pa.createElement("span",{className:"c-grey-666 font14"},"\uFF08\u540C\u6210\u7EE9\uFF0C\u5B8C\u6210\u65F6\u95F4\u8D8A\u65E9\u540D\u6B21\u8D8A\u524D\uFF09")))),pa.createElement("div",{className:wn.title},"\u8BD5\u9898\u5206\u503C"),pa.createElement("div",{className:wn.content},pa.createElement(kt.ZP.Group,{value:Ua.hack_score_settings,onChange:Ln=>{Ua.hack_score_settings=Ln.target.value,Oa(Object.assign({},Ua)),Fa()}},pa.createElement(kt.ZP,{value:0},"\u5747\u5206\u6BD4\u4F8B"),pa.createElement(kt.ZP,{style:{margin:"0 40px"},value:1},"\u96BE\u6613\u5EA6"),pa.createElement(kt.ZP,{value:2},"\u81EA\u5B9A\u4E49\u5206\u503C"))),pa.createElement("div",{className:wn.content,style:{borderTop:"1px solid #fff"}},pa.createElement("div",{style:{padding:"0px 20px 20px 20px"}},Ua.hack_settings&&Ua.hack_settings.map(function(Ln,ja){return pa.createElement(Nt.Z,{key:ja,align:"middle",style:{marginTop:20}},pa.createElement(On.Z,{flex:"1",className:"pr10"},pa.createElement("span",{style:{color:"#333333"}},Ln.hack_name)),pa.createElement(On.Z,{flex:"150px"},pa.createElement(Gt.Z,{min:0,step:.1,style:{visibility:Xa?"visible":"hidden"},value:Ln.hack_score,disabled:Ua.hack_score_settings!==2,onChange:zn=>{Ua.hack_settings[ja].hack_score=zn;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"})),pa.createElement(On.Z,{className:"ml20",style:{lineHeight:"20px"}},Ln.difficult===1&&pa.createElement("span",{className:"tag-style-border-small bg-green c-white mr10"},"\u7B80\u5355"),Ln.difficult===2&&pa.createElement("span",{className:"tag-style-border-small bg-blue c-white mr10"},"\u9002\u4E2D"),Ln.difficult===3&&pa.createElement("span",{className:"tag-style-border-small bg-orange c-white mr10"},"\u56F0\u96BE")))}))),!Rn&&pa.createElement(ze.ZP,{type:"primary",size:"large",style:{width:138},className:"mt30",loading:hr,onClick:()=>Fl()},"\u4FDD\u5B58"))};var xr=(0,he.connect)(({shixunHomeworks:on,loading:Xt})=>({shixunHomeworks:on,loading:Xt.effects}))(tr),ga=z(67294),eo=(on,Xt,$t)=>new Promise((ka,Mr)=>{var Wa=Rn=>{try{mr($t.next(Rn))}catch(ta){Mr(ta)}},$n=Rn=>{try{mr($t.throw(Rn))}catch(ta){Mr(ta)}},mr=Rn=>Rn.done?ka(Rn.value):Promise.resolve(Rn.value).then(Wa,$n);mr(($t=$t.apply(on,Xt)).next())});const Oo=({shixunHomeworks:on,loading:Xt,dispatch:$t})=>{var ka,Mr;const[Wa,$n]=(0,x.useState)(!0),[mr,Rn]=(0,x.useState)(!1),[ta,hr]=(0,x.useState)([]),[Do,sr]=(0,x.useState)([]),[Hi,$o]=(0,x.useState)([]),[wr,oi]=(0,x.useState)([]),[Ca,ua]=(0,x.useState)(!1),[mo,nl]=(0,x.useState)(""),Ua=(0,he.useParams)();function Oa(){return eo(this,null,function*(){let oa=yield(0,ge.ZP)(`/api/homework_commons/${Ua.categoryId}/homework_common_collaborators.json`,{method:"get"});sr(oa)})}function Wo(){return eo(this,null,function*(){var oa;let Fa=yield(0,ge.ZP)(`/api/courses/${Ua==null?void 0:Ua.coursesId}/teachers`,{method:"get",params:{homework_id:Ua.categoryId,limit:1e3}});(oa=Fa==null?void 0:Fa.teacher_list)==null||oa.map(Xa=>{Xa.key=Xa.user_id}),$o(Fa==null?void 0:Fa.teacher_list),oi(Fa==null?void 0:Fa.teacher_list)})}(0,x.useEffect)(()=>{Oa(),Wo()},[Ua]);const Fl=()=>{};return ga.createElement("section",{className:wn.form},ga.createElement(Nt.Z,{className:wn.content,style:{padding:"20px 30px",gap:20}},(ka=Do==null?void 0:Do.data)==null?void 0:ka.map(oa=>ga.createElement(Nt.Z,{align:"middle",className:`${wn.borderSty} ${mo===(oa==null?void 0:oa.id)?wn.delBorder:""}`,style:{height:"38px",borderRadius:"2px",padding:"0 12px",color:"#333333",background:"#fff"}},ga.createElement("span",{className:"c-grey-333"},oa==null?void 0:oa.real_name),(Do==null?void 0:Do.can_edit)&&ga.createElement("span",{style:{cursor:"pointer",marginLeft:"20px"},className:`iconfont icon-guanbi11 ${wn.delSty}`,onMouseEnter:()=>{nl(oa.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:oa.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)&&ga.createElement("span",{className:"c-grey-666"},"\u6682\u672A\u6DFB\u52A0\u534F\u4F5C\u8005"),(Do==null?void 0:Do.can_edit)&&ga.createElement(ze.ZP,{className:wn.copHover,style:{height:38,padding:"6px 15px",backgroundColor:"#fff"},type:"primary",ghost:!0,onClick:()=>Rn(!0)},"\u6DFB\u52A0\u534F\u4F5C\u8005")),ga.createElement(we.default,{title:"\u6DFB\u52A0\u534F\u4F5C\u8005",open:mr,confirmLoading:Ca,onCancel:()=>Rn(!1),onOk:()=>eo(void 0,null,function*(){if(ta.length===0){Fe.ZP.info("\u8BF7\u9009\u62E9\u534F\u4F5C\u8001\u5E08");return}ua(!0),(yield(0,ge.ZP)(`/api/homework_commons/${Ua.categoryId}/homework_common_collaborators.json`,{method:"post",body:{user_ids:ta}})).status===0&&(Fe.ZP.info("\u6DFB\u52A0\u6210\u529F"),hr([]),Oa(),Wo(),Rn(!1)),ua(!1)})},ga.createElement("div",null,ga.createElement("div",{style:{display:"flex"}},ga.createElement("label",{style:{width:"50px"}},"\u59D3\u540D\uFF1A")," ",ga.createElement(Vt.default.Search,{onChange:oa=>{$o(wr.filter(Fa=>Fa.name.indexOf(oa.target.value)>-1))}})),ga.createElement(Le.default,{style:{marginTop:"10px",height:"300px",overflow:"auto"},rowSelection:{type:"checkbox",onChange:(oa,Fa)=>{hr(oa)},selectedRowKeys:ta,getCheckboxProps:oa=>({disabled:oa.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:on,loading:Xt})=>({shixunHomeworks:on,loading:Xt.effects}))(Oo),fi=z(67294);const Ii=[{key:"1",label:"\u53D1\u5E03\u8BBE\u7F6E",element:fi.createElement(Jn,null)},{key:"2",label:"\u8BC4\u5206\u8BBE\u7F6E",element:fi.createElement(xr,null)},{key:"3",label:"\u5C55\u793A\u8BBE\u7F6E",element:fi.createElement(In,null)},{key:"4",label:"\u534F\u4F5C\u8BBE\u7F6E",element:fi.createElement(Ni,null)}];var tl=()=>fi.createElement(Yt.Z,{dataSource:Ii,style:{marginBottom:52}}),fu=z(246),ca=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=(on,Xt,$t)=>Xt in on?Ai(on,Xt,{enumerable:!0,configurable:!0,writable:!0,value:$t}):on[Xt]=$t,fe=(on,Xt)=>{for(var $t in Xt||(Xt={}))hl.call(Xt,$t)&&Po(on,$t,Xt[$t]);if(vl)for(var $t of vl(Xt))ru.call(Xt,$t)&&Po(on,$t,Xt[$t]);return on},ye=(on,Xt)=>ul(on,kl(Xt)),ke=(on,Xt,$t)=>new Promise((ka,Mr)=>{var Wa=Rn=>{try{mr($t.next(Rn))}catch(ta){Mr(ta)}},$n=Rn=>{try{mr($t.throw(Rn))}catch(ta){Mr(ta)}},mr=Rn=>Rn.done?ka(Rn.value):Promise.resolve(Rn.value).then(Wa,$n);mr(($t=$t.apply(on,Xt)).next())});const Pe=({shixunHomeworks:on,loading:Xt,dispatch:$t})=>{const ka=(0,he.useParams)(),Mr=(0,he.useLocation)(),[Wa,$n]=(0,x.useState)([]),[mr,Rn]=(0,x.useState)([]),[ta,hr]=(0,x.useState)(!0),[Do,sr]=(0,x.useState)(!1),[Hi,$o]=(0,x.useState)(1),[wr,oi]=(0,x.useState)([]),[Ca,ua]=(0,x.useState)(!1),[mo,nl]=(0,x.useState)(!1),[Ua,Oa]=(0,x.useState)(!1);(0,x.useEffect)(()=>{on.actionTabs.key==="\u4EE3\u7801\u67E5\u91CD"?(Wo.resetFields(),$n([]),ua(!0),oa()):ua(!1)},[on.actionTabs.key]);const[Wo]=sn.default.useForm();let Fl=[];const oa=()=>ke(void 0,null,function*(){var Ln;if(ta&&!Do){sr(!0),$o(Hi+1);const ja=yield(0,lr.JG)(ye(fe({},ka),{page:Hi})),zn=[...ja.group_list];ja!=null&&ja.ungroup_list&&zn.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}),$n([...Wa,...zn]),sr(!1),((Ln=ja.group_list)==null?void 0:Ln.length)<10&&hr(!1)}}),Fa=()=>{$t({type:"shixunHomeworks/setActionTabs",payload:{}}),nl(!1),hr(!0),sr(!1),$o(1),$n([]),Wo.resetFields()},Xa=[{title:"",dataIndex:"id",width:280,render:(Ln,ja)=>Ar.createElement(_t.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:Ca,okText:"\u786E\u8BA4",cancelText:"\u53D6\u6D88",width:820,bodyStyle:{minHeight:200},onOk:()=>ke(void 0,null,function*(){const Ln=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:[...Ln.group_ids]}});Oa(!1),ja.status===0&&(Fa(),yield $t({type:"shixunHomeworks/getWorkList",payload:on.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:Fa},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"),on.codeReviewCourse&&Ar.createElement(sn.default,{form:Wo,onChange:Ln=>{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(sn.default.Item,{name:"group_ids"},Ar.createElement(_t.default.Group,{className:"w100"},Ar.createElement("div",{style:{width:"100%",maxHeight:260,overflow:"auto"}},Ar.createElement(ca(),{initialLoad:!1,pageStart:1,threshold:20,loadMore:Ln=>{oa()},hasMore:ta,useWindow:!1},Ar.createElement(Le.default,{loading:Xt.effects["shixunHomeworks/getCodeReviewCourse"],showHeader:!1,columns:Xa,dataSource:Wa,pagination:!1})))))),Ar.createElement(Nt.Z,null,Ar.createElement(On.Z,{className:"ml10"},Ar.createElement(_t.default,{checked:mo,onChange:Ln=>{nl(Ln.target.checked);let ja=[];Ln.target.checked&&(ja=Wa.filter(zn=>zn.works_count>1).map(zn=>zn.id+"")),Wo.setFieldsValue({group_ids:ja})}},"\u5168\u9009"))))};var et=(0,he.connect)(({shixunHomeworks:on,loading:Xt})=>({shixunHomeworks:on,loading:Xt}))(Pe),ut=z(86169),yt=z(12082),nt=z(41642),ct=z(93686),ht=z(98769),vn=z(9151),En=z(37752),ra=z(33648),Xn=z(70562),Ia=z(51959),wa=Object.defineProperty,Bn=Object.defineProperties,Kt=Object.getOwnPropertyDescriptors,An=Object.getOwnPropertySymbols,Tn=Object.prototype.hasOwnProperty,Ea=Object.prototype.propertyIsEnumerable,Ta=(on,Xt,$t)=>Xt in on?wa(on,Xt,{enumerable:!0,configurable:!0,writable:!0,value:$t}):on[Xt]=$t,Ma=(on,Xt)=>{for(var $t in Xt||(Xt={}))Tn.call(Xt,$t)&&Ta(on,$t,Xt[$t]);if(An)for(var $t of An(Xt))Ea.call(Xt,$t)&&Ta(on,$t,Xt[$t]);return on},Ja=(on,Xt)=>Bn(on,Kt(Xt)),Za=(on,Xt,$t)=>new Promise((ka,Mr)=>{var Wa=Rn=>{try{mr($t.next(Rn))}catch(ta){Mr(ta)}},$n=Rn=>{try{mr($t.throw(Rn))}catch(ta){Mr(ta)}},mr=Rn=>Rn.done?ka(Rn.value):Promise.resolve(Rn.value).then(Wa,$n);mr(($t=$t.apply(on,Xt)).next())});let fa=[vn.Z,En.Z,ra.Z];const za=({user:on,classroomList:Xt,shixunHomeworks:$t})=>{var ka,Mr,Wa;let[$n,mr]=(0,x.useState)(Ma(Ja(Ma({},(0,he.useParams)()),{page:1,per_page:20,rank_type:2,search:"",course_group:(0,Ne.dE)()?[on.userInfo.course.course_group_id]:[]}),(0,he.useParams)()));const[Rn,ta]=(0,x.useState)([]),[hr,Do]=(0,x.useState)([]),[sr,Hi]=(0,x.useState)([]),[$o,wr]=(0,x.useState)(!1),[oi,Ca]=(0,x.useState)(!1);let[ua,mo]=(0,x.useState)([{title:"\u6392\u884C",dataIndex:"rank",width:70,fixed:"left",ellipsis:!0,sorter:(oa,Fa)=>oa.rank-Fa.rank,render:(oa,Fa,Xa)=>oa<4?x.createElement("img",{src:fa[oa-1]}):oa},{title:"\u59D3\u540D",dataIndex:"user_name",width:80,fixed:"left",ellipsis:!0,key:"user_name",render:(oa,Fa,Xa)=>x.createElement("span",null,Fa.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"),oa)},{title:"\u5B66\u53F7",dataIndex:"student_id",key:"student_id",width:80,ellipsis:!0,fixed:"left",render:oa=>oa||"- -"},{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:oa=>x.createElement("span",null,oa," ",oa!="-"&&"\u9898")},{title:"\u5F97\u5206",dataIndex:"score",width:50,ellipsis:!0,fixed:"left",key:"score"}]);const[nl,Ua]=(0,x.useState)(null),Oa=()=>{var oa,Fa;const Xa=((oa=document.getElementById("filterWarp"))==null?void 0:oa.clientHeight)||0,Ln=((Fa=document.getElementById("pagination"))==null?void 0:Fa.clientHeight)||0;return window.innerHeight-Xa-Ln-110};(0,x.useEffect)(()=>{const oa=()=>{Ua(Oa())};return window.addEventListener("resize",oa),()=>{window.removeEventListener("resize",oa)}},[]),(0,x.useEffect)(()=>{var oa,Fa,Xa,Ln,ja;ua.splice(7);for(let zn=0;zn<((oa=Rn==null?void 0:Rn.question_data)==null?void 0:oa.length);zn++){let Bo={};Bo.title=Rn!=null&&Rn.sent_type?x.createElement("span",null,"\u9898\u76EE"+(zn+1)+`\uFF08${(Xa=(Fa=Rn==null?void 0:Rn.question_data)==null?void 0:Fa[zn])==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=Rn==null?void 0:Rn.question_data)==null?void 0:to[zn])==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",[$n.coursesId,$n.categoryId]))})},"\u9898\u76EE"+(zn+1)+`\uFF08${(ja=(Ln=Rn==null?void 0:Rn.question_data)==null?void 0:Ln[zn])==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[zn])==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,Kn,ya,Nr,ma,nr,xo;if((0,Ne.Rm)()&&!((Oi=Xt.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[zn])!=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({},$n),{id:$n.coursesId,homework_common_id:$n.categoryId,hack_user_code_id:(Kn=to==null?void 0:to[zn])==null?void 0:Kn.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",(ya=to==null?void 0:to[zn])==null?void 0:ya.current_language),x.createElement("span",null,"\u8FD0\u884C\u5185\u5B58\uFF1A",(Nr=to==null?void 0:to[zn])==null?void 0:Nr.memory,"\uFF08KB\uFF09"),x.createElement("span",null,"\u8FD0\u884C\u65F6\u957F\uFF1A",(ma=to==null?void 0:to[zn])==null?void 0:ma.run_time,"\uFF08ms\uFF09"),x.createElement("span",null,"\u5F97\u5206\uFF1A",(nr=to==null?void 0:to[zn])==null?void 0:nr.score)),content:x.createElement(Xn.Z,{classroomList:Xt,user:on,languages:[{language:(xo=to==null?void 0:to[zn])==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[zn])==null?void 0:Jr.answer_question_time)||"- -"),(li=to==null?void 0:to[zn])!=null&&li.submit_count?x.createElement(je.Z,{title:`${((ir=to==null?void 0:to[zn])==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[zn])==null?void 0:Ro.submit_count)||0):null))},ua.push(Bo)}mo([...ua])},[Rn==null?void 0:Rn.question_data]),(0,x.useEffect)(()=>{var oa;(oa=on==null?void 0:on.userInfo)!=null&&oa.course&&((0,Ne.dE)()&&($n.course_group=(0,Ne.dE)()?[on.userInfo.course.course_group_id]:[],mr(Ma({},$n))),Wo(1))},[on==null?void 0:on.userInfo]);function Wo(oa){return Za(this,null,function*(){var Fa,Xa,Ln,ja,zn,Bo,to;wr(!0);let io=yield(0,ge.ZP)("/api/courses/rank_list.json",{method:"get",params:Ja(Ma({},$n),{id:$n.coursesId,rank_type:2,homework_common_id:$n.categoryId})});if(ta(io),wr(!1),io.status!=-1&&((0,Ne.dE)()?(oa===1&&Do([(Xa=(Fa=io==null?void 0:io.course_group)==null?void 0:Fa[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]),oa===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"};ua.push(qo);for(let Jr=0;Jr<((Ln=io==null?void 0:io.question_data)==null?void 0:Ln.length);Jr++){let li={};li.title=io!=null&&io.sent_type?x.createElement("span",null,"\u9898\u76EE"+(Jr+1)+`\uFF08${(zn=(ja=io==null?void 0:io.question_data)==null?void 0:ja[Jr])==null?void 0:zn.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",[$n.coursesId,$n.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,Kn,ya,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 ma,nr,xo,lo,Ei,Oe,qe,tt;if((0,Ne.Rm)()&&!((ma=Xt.AssistantObject.hack)!=null&&ma.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 Bt=yield(0,ge.ZP)("/api/courses/view_code.json",{method:"get",params:Ja(Ma({},$n),{id:$n.coursesId,homework_common_id:$n.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(Xn.Z,{classroomList:Xt,user:on,languages:[{language:(tt=ir==null?void 0:ir[Jr])==null?void 0:tt.language,code:Bt==null?void 0:Bt.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)||"- -"),(Kn=ir==null?void 0:ir[Jr])!=null&&Kn.submit_count?x.createElement(je.Z,{title:`${((ya=ir==null?void 0:ir[Jr])==null?void 0:ya.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))},ua.push(li)}mo([...ua])}})}console.log("----",$t,ua);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"},(Rn==null?void 0:Rn.message)==="\u5C01\u699C\u4E2D"?x.createElement(Mn.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(_t.default.Group,{className:nt.Z.checkboxgroup,value:hr,onChange:oa=>{var Fa;$n.type===1?(Do([]),$n.course_group=[],$n.page=1,mr(Ma({},$n)),Wo()):$n.type===2?(Do(["\u5168\u90E8"]),$n.course_group=(Fa=Rn==null?void 0:Rn.course_group)==null?void 0:Fa.map(Xa=>Xa.id),$n.page=1,mr(Ma({},$n)),Wo()):(Do([...oa.filter(Xa=>Xa!="\u5168\u90E8")]),$n.course_group=oa.filter(Xa=>Xa!="\u5168\u90E8"),$n.page=1,mr(Ma({},$n)),Wo())}},x.createElement(_t.default,{value:"\u5168\u90E8",style:{marginBottom:10},onChange:oa=>{oa.target.checked?$n.type=2:$n.type=1}},"\u5168\u90E8\u5206\u73ED"),(Mr=Rn==null?void 0:Rn.course_group)==null?void 0:Mr.map((oa,Fa)=>x.createElement(_t.default,{style:{marginBottom:10},onChange:Xa=>{$n.type=3},value:oa.id},oa==null?void 0:oa.name)))),(0,Ne.dE)()&&x.createElement(kt.ZP.Group,{style:{marginBottom:10},onChange:oa=>{oa.target.value==="\u5168\u90E8"?($n.course_group=[],$n.page=1,mr(Ma({},$n)),Wo()):($n.course_group=[oa.target.value],$n.page=1,mr(Ma({},$n)),Wo())},defaultValue:on.userInfo.course.course_group_id},x.createElement(kt.ZP,{value:"\u5168\u90E8",style:{marginBottom:10}},"\u5168\u90E8\u5206\u73ED"),(Wa=Rn==null?void 0:Rn.course_group)==null?void 0:Wa.map((oa,Fa)=>x.createElement(kt.ZP,{style:{marginBottom:10},value:oa.id},oa.name)))),x.createElement("div",{style:{color:"#3061D0",cursor:"pointer"},onClick:()=>{oi?(0,Ia.BU)():(0,Ia.Dj)(document.getElementById("rankingInfo")),Ca(!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(Vt.default.Search,{className:"mr20",onSearch:oa=>{$n.page=1,$n.search=oa,mr(Ma({},$n)),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,ht.VY)(Ja(Ma({},$n),{id:$n.coursesId,rank_type:2,homework_common_id:$n.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:(oa,Fa)=>Fa===0&&(0,Ne.dE)()&&nt.Z.tables,dataSource:sr,columns:ua})),x.createElement("div",{id:"pagination",style:{width:"100%",textAlign:"center",marginTop:10}},x.createElement(be.Z,{current:$n.page,pageSize:$n.per_page,total:Rn==null?void 0:Rn.count,showSizeChanger:!0,onChange:(oa,Fa)=>{$n.page=oa,$n.per_page=Fa,mr(Ma({},$n)),Wo()}}))))};var Na=(0,he.connect)(({shixunHomeworks:on,user:Xt,classroomList:$t})=>({user:Xt,shixunHomeworks:on,classroomList:$t}))(za),cr=z(6151),br=z(58387),oo=z(17755),zo=z(44694),ai=z(52765),Sa=z(67294),ri=Object.defineProperty,Ji=Object.getOwnPropertySymbols,Kl=Object.prototype.hasOwnProperty,mu=Object.prototype.propertyIsEnumerable,Ll=(on,Xt,$t)=>Xt in on?ri(on,Xt,{enumerable:!0,configurable:!0,writable:!0,value:$t}):on[Xt]=$t,sl=(on,Xt)=>{for(var $t in Xt||(Xt={}))Kl.call(Xt,$t)&&Ll(on,$t,Xt[$t]);if(Ji)for(var $t of Ji(Xt))mu.call(Xt,$t)&&Ll(on,$t,Xt[$t]);return on},Ti=(on,Xt,$t)=>new Promise((ka,Mr)=>{var Wa=Rn=>{try{mr($t.next(Rn))}catch(ta){Mr(ta)}},$n=Rn=>{try{mr($t.throw(Rn))}catch(ta){Mr(ta)}},mr=Rn=>Rn.done?ka(Rn.value):Promise.resolve(Rn.value).then(Wa,$n);mr(($t=$t.apply(on,Xt)).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:on,classroomList:Xt,globalSetting:$t,user:ka,loading:Mr,dispatch:Wa})=>{var $n,mr,Rn;const ta=(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}=on,[Ca,ua]=(0,x.useState)(!1);ta.category=hr.get("category_id"),ta.order="work_score",ta.b_order="desc",(0,x.useEffect)(()=>{(0,Ne.Rm)()&&Wa({type:"classroomList/getAssistantPermissions",payload:{course_id:ta.coursesId}})},[($n=ka==null?void 0:ka.userInfo)==null?void 0:$n.login]);const mo=Fa=>{var Xa;if(Fa==="3"&&Wa({type:"shixunHomeworks/getWorkSetting",payload:sl({},ta)}),Fa==="5"&&!((Xa=Xt.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(Fa),Fa==="0"&&Wa({type:"shixunHomeworks/getWorkList",payload:ta})},nl=()=>{we.default.confirm({centered:!0,width:530,title:"\u63D0\u793A",okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",content:Sa.createElement("div",{className:"tc font16"},"\u4F60\u5728\u8BE5\u5B9E\u8BAD\u7684\u5B66\u4E60\u8BB0\u5F55\u5C06\u88AB\u6E05\u7A7A\uFF0C\u65E0\u6CD5\u6062\u590D",Sa.createElement("br",null),"\u662F\u5426\u786E\u8BA4\u91CD\u505A\uFF1F"),onOk:()=>Ti(void 0,null,function*(){var Fa;const Xa=(Fa=on.workList)==null?void 0:Fa.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=Fa=>{Fa=Fa!=null&&Fa.includes(".json")?Fa:`${Fa}.json`,we.default.confirm({centered:!0,title:"\u63D0\u793A",okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",content:Sa.createElement("div",{className:"tc font16"},"\u5B9E\u8BAD\u5DF2\u7ECF\u66F4\u65B0\u4E86\uFF0C\u6B63\u5728\u4E3A\u60A8\u91CD\u7F6E!"),onOk:()=>Ti(void 0,null,function*(){const Xa=yield(0,ct.$Q)({url:Fa});if(!Xa)return;Fe.ZP.success("\u91CD\u7F6E\u6210\u529F\uFF0C\u6B63\u5728\u8FDB\u5165\u5B9E\u8DF5\u9879\u76EE\uFF01");const Ln=yield(0,ct.Ir)({id:Xa.shixun_identifier});if(Ln!=null&&Ln.game_identifier){(0,De.xg)(`/tasks/${Ln.game_identifier}?coursesId=${ta.coursesId}`);return}(Ln==null?void 0:Ln.status)===2?Ua(Ln==null?void 0:Ln.message):(Ln==null?void 0:Ln.status)===3&&Oa(Ln==null?void 0:Ln.message)})})},Oa=Fa=>{we.default.confirm({centered:!0,title:"\u63D0\u793A",okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",content:Sa.createElement("div",{className:"tc font16"},"\u76EE\u524D\u8BE5\u5B9E\u8DF5\u9879\u76EE\u5C1A\u5728\u5185\u6D4B\u4E2D\uFF0C\u5C06\u4E8E",Fa,"\u4E4B\u540E\u5F00\u653E\uFF0C\u8C22\u8C22\uFF01")})},Wo=Fa=>Ti(void 0,null,function*(){Fa=Fa!=null&&Fa.includes(".json")?Fa:`${Fa}.json`;const Xa=yield(0,ct.$Q)({url:Fa});if(console.log(Xa,"execRes"),Xa!=null&&Xa.game_identifier){(0,De.xg)(`/tasks/${Xa.game_identifier}?coursesId=${ta.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:Sa.createElement(Cn,null)},{name:(0,Ne.GJ)()?"\u5B66\u751F\u5217\u8868":"\u4F5C\u4E1A\u60C5\u51B5",id:"0",compontent:Sa.createElement(Ge.Z,{setExportParams:$o}),forceRender:!0},!(0,Ne.dE)()&&{name:"\u9898\u76EE",id:"1",compontent:Sa.createElement(Cn,null),hidden:!1},{name:"\u6392\u540D",id:"5",compontent:Sa.createElement(Na,null),hidden:!1},{name:"\u4EE3\u7801\u67E5\u91CD",id:"2",compontent:Sa.createElement(xt,null)},{name:"\u91CD\u505A\u8BB0\u5F55",id:"9",compontent:Sa.createElement(zo.Z,null)},{name:"\u8BBE\u7F6E",id:"3",compontent:(mr=wr.homework_status)!=null&&mr.includes("\u5BFC\u5165")?Sa.createElement(oo.Z,null):Sa.createElement(tl,null),forceRender:!0},{name:"\u89E3\u7B54&\u8BA8\u8BBA",id:"6",compontent:Sa.createElement(ai.default,null)}].filter(Fa=>!!Fa).filter(Fa=>{var Xa,Ln;return(0,Ne.dE)()?Fa.name!=="\u4EE3\u7801\u67E5\u91CD"&&Fa.name!=="\u8BBE\u7F6E":(0,Ne.dE)()||((Xa=wr==null?void 0:wr.homework_status)==null?void 0:Xa[0])!=="\u5DF2\u622A\u6B62"?Fa.name!=="\u8D28\u91CF\u68C0\u6D4B":!wr.code_review&&((Ln=wr==null?void 0:wr.homework_status)==null?void 0:Ln[0])!=="\u672A\u53D1\u5E03"?!0:Fa.name!=="\u4EE3\u7801\u67E5\u91CD"}).filter(Fa=>wr.open_code_quality_analysis?!0:Fa.name!=="\u8D28\u91CF\u68C0\u6D4B").filter(Fa=>{var Xa;return(Xa=wr.homework_status)!=null&&Xa.includes("\u5BFC\u5165")?(0,Ne.dE)()?["0","1"].includes(Fa.id):["0","1","3"].includes(Fa.id):!0}),oa=()=>{var Fa,Xa,Ln,ja,zn,Bo,to,io,qo,Jr,li;return Sa.createElement("aside",{className:nt.Z.workListTabButton},(0,Ne.dE)()&&!((Fa=wr.homework_status)!=null&&Fa.includes("\u5BFC\u5165"))&&Sa.createElement("span",{style:{fontWeight:800,color:"#0152d9",textAlign:"end",flex:1,cursor:"pointer"}},Sa.createElement(ze.ZP,{onClick:()=>Ti(void 0,null,function*(){var ir;let Ro=yield(0,ge.ZP)(`/api/problems/${(ir=on.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/${ta.coursesId}/program_homework/${ta.categoryId}/detail?tabs=1`),localStorage.setItem("program_homework",[ta==null?void 0:ta.coursesId,ta==null?void 0:ta.categoryId]))}),type:"primary"},(Xa=wr.homework_status)!=null&&Xa.includes("\u5DF2\u622A\u6B62")?"\u67E5\u770B\u4F5C\u4E1A":"\u8FDB\u5165\u7EC3\u4E60"," ")),(0,Ne.dE)()&&((Ln=on.workList)==null?void 0:Ln.redo_work)&&Sa.createElement(ze.ZP,{onClick:nl,type:"primary",icon:Sa.createElement("i",{className:"iconfont icon-dahuizhongzuo3x"})},"\u91CD\u505A"),((ja=on.workList)==null?void 0:ja.shixun_status)>1&&((zn=on.workList)==null?void 0:zn.time_status)<5&&(0,Ne.dE)()&&Sa.createElement(ze.ZP,{type:"primary",icon:Sa.createElement("i",{className:"iconfont icon-kaiqizhong"}),onClick:()=>{var ir,Ro,Oi,Fi,Kn,ya,Nr;(0,la.tJ)(Wa,!0)&&((Oi=(Ro=(ir=on.workList)==null?void 0:ir.task_operation)==null?void 0:Ro[1])!=null&&Oi.includes("/")?Wo((Kn=(Fi=on.workList)==null?void 0:Fi.task_operation)==null?void 0:Kn[1]):(0,De.xg)(`/tasks/${(Nr=(ya=on.workList)==null?void 0:ya.task_operation)==null?void 0:Nr[1]}`))}},(to=(Bo=on.workList)==null?void 0:Bo.task_operation)==null?void 0:to[0]),((io=on.workList)==null?void 0:io.commit_des)&&((qo=on.workList)==null?void 0:qo.commit_des)&&Sa.createElement(ze.ZP,{type:"primary",icon:Sa.createElement("i",{className:"iconfont icon-tijiaozongjie"}),onClick:()=>{var ir;(0,De.xg)(`/classrooms/${ta.coursesId}/shixun_homework/${ta.categoryId}/${(ir=on.workList)==null?void 0:ir.id}/commitsummary`)}},(Jr=on.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"&&Sa.createElement(ze.ZP,{type:"primary",icon:Sa.createElement("i",{className:"iconfont icon-bianji2"}),onClick:()=>{var ir;if(!((ir=Xt.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/${ta.coursesId}/program_homework/${ta.categoryId}/edit`)}},"\u7F16\u8F91\u4F5C\u4E1A"),(0,Ne.GJ)()&&wr.publish_immediately&&Sa.createElement(ze.ZP,{type:"primary",icon:Sa.createElement("i",{className:"iconfont icon-yishezhifabushijian1"}),onClick:()=>{var ir,Ro;if(!((ir=Xt.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,la.Rd)();return}Wa({type:"classroomList/setActionTabs",payload:{key:"\u7ACB\u5373\u53D1\u5E03",selectArrs:[ta.categoryId],selectArrsAll:[wr],params:ta,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&&Sa.createElement(ze.ZP,{style:{background:"#0152d9",color:"#fff"},type:"primary",icon:Sa.createElement("i",{className:"iconfont icon-jiezhishiyan"}),onClick:()=>{var ir;if(!((ir=Xt.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:ta,type:2,detail:!0,selectArrs:[ta.categoryId]}})}},"\u7ACB\u5373\u622A\u6B62"))};return Sa.createElement("section",null,Sa.createElement("div",{className:"edu-container"},wr.homework_name&&Sa.createElement("section",{className:"animated fadeIn"},Sa.createElement("aside",{className:"mt10"},wr.category&&Sa.createElement(se.Z,{separator:">"},Sa.createElement(se.Z.Item,null,Sa.createElement(he.Link,{to:`/classrooms/${ta==null?void 0:ta.coursesId}/program_homework`},wr.course_name)),Sa.createElement(se.Z.Item,null,Sa.createElement(he.Link,{to:`/classrooms/${ta==null?void 0:ta.coursesId}/program_homework/${wr.category.main?"":wr.category.category_id}`},wr.category.category_name)),Sa.createElement(se.Z.Item,null,"\u4F5C\u4E1A\u8BE6\u60C5"))),Sa.createElement("aside",{className:[nt.Z.title,"mt20"].join(" ")},Sa.createElement(he.Link,{to:`/classrooms/${wr.course_id}/program_homework/${wr.category.main?"":wr.category.category_id}`},Sa.createElement(Ke.Z,{className:"font16 c-black"})),Sa.createElement(je.Z,{title:wr.homework_name,placement:"bottom"},Sa.createElement("strong",{className:"font20 ml5"},wr.homework_name)),Sa.createElement(De.VV,{temporary:!0,status:wr.homework_status}))),Sa.createElement("aside",{className:`mt30 relative ${nt.Z.workListTabWrap}`},Sa.createElement(Te.default,{type:"card",defaultActiveKey:Do,activeKey:Do,tabBarExtraContent:(Rn=wr.homework_status)!=null&&Rn.includes("\u5BFC\u5165")&&(0,Ne.GJ)()?Sa.createElement(ze.ZP,{icon:Sa.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"):oa(),onChange:mo},Fl.map((Fa,Xa)=>Sa.createElement(Te.default.TabPane,{tab:Fa.name,key:Fa.id,forceRender:Fa.forceRender},Fa.compontent))))),Sa.createElement(et,null),Sa.createElement(ut.Z,{courseEndTime:wr==null?void 0:wr.course_end_date,successCallback:()=>{Wa({type:"shixunHomeworks/getWorkList",payload:sl({},ta)})},visible:Xt.actionTabs.key==="\u7ACB\u5373\u622A\u6B62",homeworkIds:[ta.categoryId],courseId:ta.coursesId,isBatch:!1}),Sa.createElement(yt.Z,{courseEndTime:wr==null?void 0:wr.course_end_date}),Sa.createElement(cr.Z,{onOk:()=>{Wa({type:"shixunHomeworks/getWorkList",payload:sl({},ta)})}}),Sa.createElement(br.Z,{onOk:()=>{Wa({type:"shixunHomeworks/getWorkList",payload:sl({},ta)})}}),Sa.createElement(we.default,{open:Ca,title:"\u89C4\u5219\u8BF4\u660E",width:800,footer:null,onCancel:()=>{ua(!1)}},Sa.createElement("p",null,"\u4E00\u3001\u7B49\u7EA7\u89C4\u5219"),Sa.createElement("p",{style:{marginLeft:"10px"}},"1. \u7F3A\u9677\u7B49\u7EA7"),Sa.createElement("p",{style:{marginLeft:"10px"}},Sa.createElement(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})),Sa.createElement("p",{style:{marginLeft:"10px"}},"\u6CE8\uFF1A\u4EE3\u7801\u89C4\u8303\u8BC4\u4F30\u89C4\u5219\u4E2D\u6570\u503C\u6765\u6E90\u4E3A\u8BA1\u7B97\u6280\u672F\u503A\u52A1\u65F6\u95F4\u5360\u5F00\u53D1\u6240\u6709\u4EE3\u7801\u6240\u9700\u8981\u7684\u65F6\u95F4\u7684\u6BD4\u4F8B\uFF08Technical Debt Ratio\uFF09"),Sa.createElement("p",{style:{marginLeft:"20px"}},"Technical Debt Ratio = \u6280\u672F\u503A\u52A1\u65F6\u95F4 / \u5F00\u53D1\u65F6\u95F4"),Sa.createElement("p",{style:{marginLeft:"20px"}},"\u6280\u672F\u503A\u52A1\u65F6\u95F4\u4E3A\u4FEE\u590D\u6240\u6709\u95EE\u9898\u6240\u9700\u8981\u7684\u65F6\u95F4\u3002"),Sa.createElement("p",null,"\u4E8C\u3001\u590D\u6742\u5EA6\u89C4\u5219"),Sa.createElement("p",{style:{marginLeft:"10px"}},"\u6839\u636E\u4EE3\u7801\u8DEF\u5F84\u6570\u8BA1\u7B97\u7684\u6570\u503C\uFF0C\u6BCF\u5F53\u4E00\u4E2A\u51FD\u6570\u7684\u63A7\u5236\u6D41\u5206\u53C9\u65F6\uFF0C\u590D\u6742\u5EA6\u8BA1\u6570\u5668\u5C31\u4F1A\u81EA\u589E\u4E00\u3002"),Sa.createElement("p",{style:{marginLeft:"10px"}},"\u6BCF\u4E2A\u7A0B\u5E8F\u8BED\u8A00\u7684\u5173\u952E\u5B57\u5BF9\u5E94\u7684\u590D\u6742\u5EA6\u6570\u636E\u4E0D\u540C\uFF0C\u4F46\u6BCF\u4E2A\u51FD\u6570\u7684\u6700\u5C0F\u590D\u6742\u5EA6\u4E3A1\u3002\uFF08\u7279\u5B9A\u8BED\u8A00\u7684\u8BE6\u7EC6\u6570\u636E\u7565\uFF09"),Sa.createElement("p",null,"\u4E09\u3001\u4EE3\u7801\u8D28\u91CF\u5206\u89C4\u5219"),Sa.createElement("p",{style:{marginLeft:"10px"}},"\u4EE3\u7801\u8D28\u91CF\u5206 = 0.5*\u7F3A\u9677\u5206\u6570 + 0.3*\u6F0F\u6D1E\u5206\u6570 + 0.2*\u4EE3\u7801\u89C4\u8303\u6027\u5206\u6570"),Sa.createElement("p",{style:{marginLeft:"10px"}},"\u5176\u4E2D\uFF1A"),Sa.createElement("p",{style:{marginLeft:"10px"}},"\u7F3A\u9677/\u6F0F\u6D1E/\u4EE3\u7801\u89C4\u8303\u6027\u5206\u6570\u8BA1\u7B97\u89C4\u5219\u4E3A\uFF1A100 - 100 *((100*\u5D29\u6E83\u6570 + 5*\u4E25\u91CD\u6570 + 3*\u4E3B\u8981\u6570 + 1*\u6B21\u6570\uFF09/ \u4EE3\u7801\u884C\u6570\uFF09"),Sa.createElement("p",{style:{marginLeft:"10px"}},"\u6CE8\uFF1A\u5206\u6570\u4E3A\u7A7A\u7684\u4EE3\u8868\u4E0D\u652F\u6301\u7684\u6587\u4EF6\u683C\u5F0F\u3002")))};var bu=(0,he.connect)(({shixunHomeworks:on,classroomList:Xt,loading:$t,user:ka,globalSetting:Mr})=>({classroomList:Xt,shixunHomeworks:on,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=Sn=>{try{Ut(Ge.next(Sn))}catch(lt){rt(lt)}},Ft=Sn=>{try{Ut(Ge.throw(Sn))}catch(lt){rt(lt)}},Ut=Sn=>Sn.done?Ve(Sn.value):Promise.resolve(Sn.value).then(gt,Ft);Ut((Ge=Ge.apply(Ie,Ue)).next())});const at=Ie=>{var Ue=Ie,{classroomList:Ge,dispatch:Ve,courseEndTime:rt,onWindowBack:gt}=Ue,Ft=Ne(Ue,["classroomList","dispatch","courseEndTime","onWindowBack"]),Ut,Sn,lt,pt,Mt,Ht,dt,zt,Ze,Fn,Zn,La,vt,Lt,Ct,wt,Cn,sn,Nt,On,Vt,_t,Mn,bn,Je,He,_n,Me,Xe,Wt,ot,Ye,xt,Yt,It,Nn,kt,Gt,St;const Pn=(0,y.useParams)(),[qt]=ge.default.useForm(),[wn,xa]=(0,x.useState)(1),[Hn,la]=(0,x.useState)([]),[Ba,rn]=(0,x.useState)(0),[cn,pn]=(0,x.useState)(2e3),[Aa,ha]=(0,x.useState)(!0),[aa,Ga]=(0,x.useState)(!1),[_a,Qr]=(0,x.useState)(!1),[wo,Dn]=(0,x.useState)([]),[At,Zt]=(0,x.useState)(!0),[bt,Jn]=(0,x.useState)(!((lt=(Sn=(Ut=Ge.actionTabs)==null?void 0:Ut.selectArrsAll)==null?void 0:Sn[0])!=null&<.send_type));let[Jt,er]=(0,x.useState)([0,0,0]);(0,x.useEffect)(()=>{var ft,mn,an,fn,da,gn,ia,In,pa,Qa,Br,no,No;if(Ge.actionTabs.key==="\u7ACB\u5373\u53D1\u5E03")if(qr(),(an=(mn=(ft=Ge.actionTabs)==null?void 0:ft.selectArrsAll)==null?void 0:mn[0])!=null&&an.can_publish?er([...(pa=(In=(ia=Ge.actionTabs)==null?void 0:ia.selectArrsAll)==null?void 0:In[0])==null?void 0:pa.difficult_count]):er([...(gn=(da=(fn=Ge.actionTabs)==null?void 0:fn.selectArrsAll)==null?void 0:da[0])==null?void 0:gn.difficult_settings]),Jn(!((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 Wn=(No=Ge.actionTabs.selectArrsAll)==null?void 0:No[0];Zt(Wn.unified_setting)}else Zt(!1)},[Ge.actionTabs]),(0,x.useEffect)(()=>{if(aa){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({},Pn)})):Ve({type:"classroomList/getClassroomCommonList",payload:xe({},Ge.actionTabs.params)})}},[aa]);const Zo=ft=>Re(void 0,null,function*(){ha(!0);const mn=yield(0,E.c_)(Ce(xe({},Pn),{page:ft||wn,limit:2e4,homework_id:Ge.actionTabs.type===1?"":Ge.actionTabs.selectArrs[0]}));mn==null||mn.course_groups.map((an,fn)=>{an.key=an.id,an.title=an.name,an.disabled=an.is_published}),mn&&(la([...mn==null?void 0:mn.course_groups]),rn(mn==null?void 0:mn.course_groups_count),ha(!1),ft||qt.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({},Pn)}),Ve({type:"shixunHomeworks/getWorkSetting",payload:xe({},Pn)})):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,mn;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({},qt.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&&!At&&Hn.length>0){he.ZP.info("\u53D1\u5E03\u73ED\u7EA7\u4E0D\u80FD\u4E3A\u7A7A"),Vr(!1);return}if(Jt.reduce((gn,ia)=>gn+ia)===0&&!bt){he.ZP.info("\u7B80\u5355\u9002\u4E2D\u56F0\u96BE\u9898\u6570\u76F8\u52A0\u4E0D\u80FD\u4E3A0"),Vr(!1);return}let fn={homework_ids:[...Ge.actionTabs.selectArrs],group_ids:wo.length>0?wo.map(gn=>gn.id):(mn=Ge.detailCommonHomeworksList)==null?void 0:mn.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:Jt==null?void 0:Jt.map(gn=>gn),send_type:bt?"0":"1",unified_setting:!wo.length};if(Vr(!0),(yield(0,ve.ZP)(`/api/courses/${Pn.coursesId}/homework_commons/publish_with_homework_list_position.json`,{method:"post",body:xe({},fn)})).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}Ft.onCallback&&Ft.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=()=>{xa(1),la([]),Dn([])},Jo=Ba>wn*cn,[sa,Vr]=(0,x.useState)(!1);return te.createElement(Fe.default,{width:600,confirmLoading:sa,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'),Hn&&te.createElement(ge.default,{form:qt},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:bt,disabled:!((Ht=(Mt=(pt=Ge.actionTabs)==null?void 0:pt.selectArrsAll)==null?void 0:Mt[0])!=null&&Ht.can_publish),onChange:ft=>{Jn(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"))),!bt&&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:Jt[0],onChange:ft=>{Jt[0]=ft,er([...Jt])},min:0,disabled:!((Ze=(zt=(dt=Ge.actionTabs)==null?void 0:dt.selectArrsAll)==null?void 0:zt[0])!=null&&Ze.can_publish),placeholder:`\u6700\u5927${(vt=(La=(Zn=(Fn=Ge.actionTabs)==null?void 0:Fn.selectArrsAll)==null?void 0:Zn[0])==null?void 0:La.difficult_count)==null?void 0:vt[0]}`,max:(Cn=(wt=(Ct=(Lt=Ge.actionTabs)==null?void 0:Lt.selectArrsAll)==null?void 0:Ct[0])==null?void 0:wt.difficult_count)==null?void 0:Cn[0],style:{width:60}})),te.createElement("span",{style:{margin:"0px 40px"}},"\u9002\u4E2D\u9898\u6570 ",te.createElement(se.Z,{value:Jt[1],onChange:ft=>{Jt[1]=ft,er([...Jt])},min:0,disabled:!((On=(Nt=(sn=Ge.actionTabs)==null?void 0:sn.selectArrsAll)==null?void 0:Nt[0])!=null&&On.can_publish),max:(bn=(Mn=(_t=(Vt=Ge.actionTabs)==null?void 0:Vt.selectArrsAll)==null?void 0:_t[0])==null?void 0:Mn.difficult_count)==null?void 0:bn[1],placeholder:`\u6700\u5927${(Me=(_n=(He=(Je=Ge.actionTabs)==null?void 0:Je.selectArrsAll)==null?void 0:He[0])==null?void 0:_n.difficult_count)==null?void 0:Me[1]}`,style:{width:60}})),te.createElement("span",null,"\u56F0\u96BE\u9898\u6570 ",te.createElement(se.Z,{value:Jt[2],onChange:ft=>{Jt[2]=ft,er([...Jt])},min:0,disabled:!((ot=(Wt=(Xe=Ge.actionTabs)==null?void 0:Xe.selectArrsAll)==null?void 0:Wt[0])!=null&&ot.can_publish),placeholder:`\u6700\u5927${(It=(Yt=(xt=(Ye=Ge.actionTabs)==null?void 0:Ye.selectArrsAll)==null?void 0:xt[0])==null?void 0:Yt.difficult_count)==null?void 0:It[2]}`,max:(St=(Gt=(kt=(Nn=Ge.actionTabs)==null?void 0:Nn.selectArrsAll)==null?void 0:kt[0])==null?void 0:Gt.difficult_count)==null?void 0:St[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,qt.getFieldValue("publish_time")),disabledTime:ft=>(0,ee.d0)(ft,qt.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:At,onChange:ft=>{Zt(ft.target.value),Dn([])}},te.createElement(ze.ZP,{value:!0,disabled:!Ge.actionTabs.manage_all_group},"\u7EDF\u4E00\u53D1\u5E03"),te.createElement(ze.ZP,{className:"ml20",disabled:Hn.length<=0,value:!1},"\u5206\u73ED\u53D1\u5E03"))),Hn.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||!At)&&Hn.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===Hn.length,onChange:ft=>{wo.length===Hn.length?Dn([]):Dn(Hn.filter(mn=>!mn.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||!At)&&Hn.length>0&&te.createElement(b.Z,{data:Hn,selectedRowKeys:wo,setSelectedRowKeys:Dn})))};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 Ft},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=(pt,Mt,Ht)=>Mt in pt?be(pt,Mt,{enumerable:!0,configurable:!0,writable:!0,value:Ht}):pt[Mt]=Ht,Ue=(pt,Mt)=>{for(var Ht in Mt||(Mt={}))Re.call(Mt,Ht)&&Ie(pt,Ht,Mt[Ht]);if(Ne)for(var Ht of Ne(Mt))at.call(Mt,Ht)&&Ie(pt,Ht,Mt[Ht]);return pt},Ge=(pt,Mt)=>xe(pt,Ce(Mt)),Ve=(pt,Mt,Ht)=>new Promise((dt,zt)=>{var Ze=La=>{try{Zn(Ht.next(La))}catch(vt){zt(vt)}},Fn=La=>{try{Zn(Ht.throw(La))}catch(vt){zt(vt)}},Zn=La=>La.done?dt(La.value):Promise.resolve(La.value).then(Ze,Fn);Zn((Ht=Ht.apply(pt,Mt)).next())});function rt(pt,Mt){const Ht=[];for(let dt=pt;dt<Mt;dt++)Ht.push(dt);return Ht}const gt=(pt,Mt,Ht)=>{const dt=pt<ve()().startOf("day"),zt=pt>ve()(Mt).endOf("day"),Ze=pt<ve()(Ht).startOf("day");return Mt?Ht?ve()()<=ve()(Ht)?Ze||zt:dt||zt:pt&&dt||zt:Ht&&ve()()<=ve()(Ht)?Ze:dt},Ft=(pt,Mt)=>{const Ht=parseInt(ve()(pt).format("HH")),dt=parseInt(ve()().format("HH")),zt=parseInt(ve()().format("mm"));if(!pt)return{disabledHours:()=>rt(0,dt),disabledMinutes:()=>rt(0,zt)};if(Mt){const Ze=parseInt(ve()(Mt).format("HH")),Fn=parseInt(ve()(Mt).format("mm"));return ve()(pt).isSame(ve()(Mt),"day")?{disabledHours:()=>rt(0,Ze),disabledMinutes:()=>Ht<=Ze?rt(0,Fn):[]}:void 0}if(ve()(pt).isSame(ve()(),"day"))return{disabledHours:()=>rt(0,dt),disabledMinutes:()=>ve()(pt).isSame(ve()(),"hour")&&Ht<=dt?rt(0,zt):[]}},{RangePicker:Ut}=ge.default,{Option:Sn}=he.default,lt=({shixunHomeworks:pt,loading:Mt,dispatch:Ht,classroomList:dt,user:zt})=>{var Ze,Fn,Zn,La,vt,Lt,Ct,wt,Cn;const sn=(0,te.useParams)(),{workSetting:Nt,workList:On,shixunWorkList:Vt,headerInfo:_t,changeData:Mn}=pt,[bn,Je]=(0,x.useState)(!1),[He,_n]=(0,x.useState)(!1);let[Me,Xe]=(0,x.useState)([]),[Wt,ot]=(0,x.useState)([]),[Ye,xt]=(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[Yt,It]=(0,x.useState)({}),[Nn,kt]=(0,x.useState)({});(0,x.useEffect)(()=>()=>{Xe([])},[]),(0,x.useEffect)(()=>{Je(!(0,ue.GJ)())},[(0,ue.GJ)()]);const Gt=()=>{Ht({type:"shixunHomeworks/getWorkSetting",payload:Ue({},sn)})};(0,x.useEffect)(()=>{if(!(Nt!=null&&Nt.course_id))return;Object.keys(Ye).map(function(pn){Ye[pn]=Nt[pn]}),(!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(Nt.group_settings.map(pn=>Ge(Ue({},pn),{group_name:[pn.group_name]})).filter(pn=>pn.publish_time!==null))),Wt=JSON.parse(JSON.stringify(Nt.allow_late_settings.map(pn=>Ge(Ue({},pn),{group_name:[pn.group_name]})).filter(pn=>pn.late_time!==null))),xt(Ue({},Ye));const cn=(0,E.QE)((Me==null?void 0:Me.length)>0?Me:[]);Xe([...cn]),(Wt==null?void 0:Wt.length)<=0?ot([{penalty_type:re.Q.Percent,late_penalty:20}]):ot([...Wt])},[Nt]);const St=()=>Ve(void 0,null,function*(){var cn,pn;if(((cn=zt==null?void 0:zt.userInfo)==null?void 0:cn.user_status)===2){(0,oe.Rd)();return}const Aa=JSON.parse(JSON.stringify(Ye));if(Aa.challenge_settings.filter(aa=>!aa.hide),Aa.categoryId=sn.categoryId,(pn=Aa.challenge_settings)!=null&&pn.every(aa=>!aa.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(aa=>{var Ga;if(!aa.publish_time||!aa.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(!aa.group_name)throw Fe.ZP.error("\u8BF7\u9009\u62E9\u5206\u73ED\u540D\u79F0"),new String("\u8BF7\u9009\u62E9\u5206\u73ED\u540D\u79F0");return aa.group_name=typeof(aa==null?void 0:aa.group_name)=="string"?[aa==null?void 0:aa.group_name]:aa==null?void 0:aa.group_name,aa.group_id=(Ga=Nt.group_settings)==null?void 0:Ga.filter(_a=>{var Qr;return(Qr=aa==null?void 0:aa.group_name)==null?void 0:Qr.includes(_a.group_name)}).map(_a=>_a.group_id||_a.id).toString().split(","),aa});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(Aa.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 Wt=Wt==null?void 0:Wt.map(aa=>{var Ga,_a;if(aa.late_penalty===null||aa.late_penalty===void 0||aa.late_penalty<0||aa.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(!aa.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(!aa.group_name)throw Fe.ZP.error("\u8BF7\u9009\u62E9\u5206\u73ED\u540D\u79F0"),new String("\u8BF7\u9009\u62E9\u5206\u73ED\u540D\u79F0");return aa.group_name=typeof(aa==null?void 0:aa.group_name)=="string"?[aa==null?void 0:aa.group_name]:aa==null?void 0:aa.group_name,aa.group_id=(_a=(Ga=aa==null?void 0:aa.group_name)==null?void 0:Ga.map(Qr=>{var wo,Dn;let At=(Dn=(wo=Nt.group_settings)==null?void 0:wo.filter(Zt=>(Zt==null?void 0:Zt.group_name)===Qr))==null?void 0:Dn[0];return At==null?void 0:At.group_id}))==null?void 0:_a.toString().split(","),aa}),Aa.allow_late_settings=Wt;let ha=yield(0,pe.Tr)({homework_common_ids:[parseInt(sn.categoryId)],course_id:sn.coursesId,type:"homework_common"});(ha==null?void 0:ha.student_count)===0?Pn(Aa):(kt(Aa),It(ha))}),Pn=cn=>{var pn;if(cn.total_score===null){Fe.ZP.warning("\u603B\u5206\u503C\u4E0D\u80FD\u4E3A\u7A7A");return}if(cn!=null&&cn.work_efficiency&&cn.eff_score===null){Fe.ZP.warning("\u6548\u7387\u5206\u4E0D\u80FD\u4E3A\u7A7A");return}const Aa=cn.challenge_settings.reduce((Ga,_a)=>Ga+Number(_a.challenge_score),0);if((Aa==null?void 0:Aa.toFixed(10))!==((pn=cn.total_score-cn.eff_score)==null?void 0:pn.toFixed(10))){Fe.ZP.warning(`\u6548\u7387\u5206\u52A0\u5173\u5361\u4EFB\u52A1\u603B\u5206\u5FC5\u987B\u7B49\u4E8E\u603B\u5206\u503C\uFF1A${cn.total_score}\u5206`);return}const ha={shixun_evaluation:cn.shixun_evaluation,challenge_settings:cn.challenge_settings};let aa=()=>{var Ga;const _a=()=>Ve(void 0,null,function*(){_n(!0),(yield(0,a.ZP)(`/api/homework_commons/${sn.categoryId}/publish_setting.json`,{method:"post",body:Ue({},cn)})).status===0&&(Fe.ZP.success("\u66F4\u65B0\u6210\u529F"),Gt(),Ht({type:"shixunHomeworks/getShixunWorkHeadInfo",payload:Ue({},sn)})),_n(!1)});!(0,y.isEqual)(Mn,ha)&&!((Ga=_t==null?void 0:_t.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()};Nt!=null&&Nt.high_resources_consume&&!(Nt!=null&&Nt.high_resources_consume_permission)?Ht({type:"classroomList/setActionTabs",payload:{key:"\u6388\u6743\u4F7F\u7528",id:sn.coursesId,type:"shixun",type_id:sn.categoryId,name:Nt.homework_name,fn:()=>{aa()}}}):aa()},qt=(cn,pn,Aa="group_id")=>{var ha;return pn?pn.find(aa=>aa[Aa]===cn):(ha=Nt==null?void 0:Nt.group_settings)==null?void 0:ha.find(aa=>aa.group_id[0]===cn)},wn=(Nt==null?void 0:Nt.allow_late)||(Nt==null?void 0:Nt.anonymous_comment),xa=cn=>{var pn,Aa;const ha=qt(cn,Nt==null?void 0:Nt.allow_late_settings,"id"),aa=qt(cn,Nt==null?void 0:Nt.anonymous_comment_settings),Ga=qt(cn);return(Nt==null?void 0:Nt.allow_late)&&ha&&ve()(ha==null?void 0:ha.late_time)<=ve()()||(Nt==null?void 0:Nt.anonymous_comment)&&aa&&(aa==null?void 0:aa.evaluation_start)!==null||((Aa=(ve()(Ga==null?void 0:Ga.end_time)<=ve()()&&((pn=Nt==null?void 0:Nt.allow_late_settings)==null?void 0:pn.filter(_a=>_a.group_id.includes(cn))))[0])==null?void 0:Aa.late_time)!=null},Hn=(0,x.useMemo)(()=>(Nt==null?void 0:Nt.allow_late)||(Nt==null?void 0:Nt.all_group_late),[Nt,_t]),la=Nt==null?void 0:Nt.anonymous_comment,Ba=cn=>{if(!cn)return!1;const pn=qt(cn,Nt==null?void 0:Nt.anonymous_comment_settings);return(Nt==null?void 0:Nt.anonymous_comment)&&pn&&(pn==null?void 0:pn.evaluation_start)!==null},rn=(cn,pn)=>{var Aa,ha,aa;Ht({type:"classroomList/setActionTabs",payload:{key:"\u5206\u73ED\u53D1\u5E03-\u53D1\u5E03\u89C4\u5219\u62C6\u5206",data:cn,index:pn,rangePickerDisabled:bn||(ve()()<=ve()((ha=qt((Aa=cn==null?void 0:cn.group_id)==null?void 0:Aa[0]))==null?void 0:ha.publish_time)?!1:[!0,xa((aa=cn==null?void 0:cn.group_id)==null?void 0:aa[0])]),disabledDate:Nt==null?void 0:Nt.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=_t==null?void 0:_t.homework_status)!=null&&Ze.includes("\u672A\u53D1\u5E03"))||(0,ue.Rm)()&&!((Fn=dt.AssistantObject.practice)!=null&&Fn.can_publish),value:Ye.unified_setting,onChange:cn=>{var pn;if(!((pn=_t==null?void 0:_t.homework_status)!=null&&pn.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}])),xt(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||!(Nt!=null&&Nt.manage_all_group),style:{marginRight:"50px"}},"\u7EDF\u4E00\u53D1\u5E03"),Ee.createElement(ze.ZP,{disabled:bn||!((Zn=Nt==null?void 0:Nt.group_settings)!=null&&Zn.length),value:!1},"\u5206\u73ED\u53D1\u5E03")),((La=Nt==null?void 0:Nt.group_settings)==null?void 0:La.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||!((vt=_t==null?void 0:_t.homework_status)!=null&&vt.includes("\u672A\u53D1\u5E03")||(Lt=_t==null?void 0:_t.homework_status)!=null&&Lt.includes("\u672A\u5F00\u59CB"))||(0,ue.Rm)()&&!((Ct=dt.AssistantObject.practice)!=null&&Ct.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:cn=>gt(cn,Nt==null?void 0:Nt.course_end_date),disabledTime:cn=>Ft(cn),value:Ye.publish_time?ve()(Ye.publish_time):"",onChange:(cn,pn)=>{Ye.publish_time=pn,(Ye.end_time==""||!Ye.end_time)&&Ye.unified_setting&&(Ye.end_time=ve()(cn).add(7,"days").format("YYYY-MM-DD HH:mm:ss")),xt(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:(Nt==null?void 0:Nt.allow_late)&&(Nt==null?void 0:Nt.homework_status.includes("\u5DF2\u622A\u6B62"))||bn||(Nt==null?void 0:Nt.allow_late)&&ve()()>=ve()(Nt==null?void 0:Nt.end_time)||(0,ue.Rm)()&&!((wt=dt.AssistantObject.practice)!=null&&wt.can_publish),disabledDate:cn=>gt(cn,Nt==null?void 0:Nt.course_end_date,Ye.publish_time),disabledTime:cn=>Ft(cn,Ye.publish_time),value:Ye.end_time?ve()(Ye.end_time):"",onChange:(cn,pn)=>{Ye.end_time=pn,xt(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(cn,pn){var Aa,ha,aa,Ga,_a,Qr,wo;return Ee.createElement(je.Z,{span:24,key:pn},Ee.createElement(se.Z,{gutter:[8,16],style:{display:"flex",alignItems:"center",marginBottom:pn==(Me==null?void 0:Me.length)-1?"0px":"10px"}},Ee.createElement("div",{style:{minWidth:85,marginRight:"15px",textAlign:"right"}},"\u53D1\u5E03\u89C4\u5219",pn+1),Ee.createElement(he.default,{disabled:bn||((Aa=_t==null?void 0:_t.homework_status)!=null&&Aa.includes("\u672A\u53D1\u5E03")&&cn.id||ve()()<ve()(cn==null?void 0:cn.publish_time)?!1:!!(cn!=null&&cn.publish_time))||(0,ue.Rm)()&&!((ha=dt.AssistantObject.practice)!=null&&ha.can_publish),mode:"multiple",className:ee.Z.multiple_select,style:{width:"250px"},value:cn.group_name,placeholder:"\u8BF7\u9009\u62E9\u5206\u73ED\u540D\u79F0",onChange:Dn=>{var At;if((0,ue.Rm)()&&!((At=dt.AssistantObject.practice)!=null&&At.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[pn].group_name=Dn,Me[pn].group_id=cn.group_id;const Zt=(0,y.flattenDeep)(Me.map(Jn=>Jn.group_name)),bt=Wt.map(Jn=>{let Jt=(Jn==null?void 0:Jn.group_name)||[];return Ge(Ue({},Jn),{group_name:(0,y.remove)(Jt,er=>Zt.includes(er))})});ot(bt),Xe(Me.slice())},maxTagCount:4,maxTagPlaceholder:Dn=>Ee.createElement("div",{style:{cursor:"pointer"},onClick:()=>rn(cn,pn)},"+",Dn==null?void 0:Dn.length)},Nt.group_settings&&Nt.group_settings.map(function(Dn){if(!Me.map(Zt=>Zt.group_name).flat().includes(Dn.group_name))return Ee.createElement(Sn,{value:Dn.group_name,key:Dn.id},Dn.group_name)})),Ee.createElement("div",{className:"ml20"},Ee.createElement(Ut,{size:"large",ranges:{\u6B64\u523B:[cn.publish_time?ve()(cn.publish_time):ve()(),ve()()]},allowClear:!1,disabled:bn||(ve()()<=ve()((Ga=qt((aa=cn==null?void 0:cn.group_id)==null?void 0:aa[0]))==null?void 0:Ga.publish_time)?!1:[!0,xa((_a=cn==null?void 0:cn.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:Dn=>gt(Dn,Nt==null?void 0:Nt.course_end_date),disabledTime:Dn=>Ft(Dn),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:cn.publish_time&&[ve()(cn.publish_time),cn.end_time?ve()(cn.end_time):void 0],onChange:(Dn,At)=>{var Zt;if((0,ue.Rm)()&&!((Zt=dt.AssistantObject.practice)!=null&&Zt.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[pn].publish_time=At[0],!cn.end_time&&At[0]?Me[pn].end_time=ve()(At[0]).add(7,"days"):Me[pn].end_time=At[1],Xe([...Me])},onCalendarChange:(Dn,At,Zt)=>{if(At!=null&&At[0]&&!At[1]){const bt=ve()(At[0]).add(7,"days");Me[pn].publish_time=At[0],Me[pn].end_time=bt,Xe([...Me])}}})),!bn&&Ee.createElement("div",{style:{display:"flex",width:"50px"}},((Qr=cn==null?void 0:cn.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:()=>rn(cn,pn)})),Me.length<((wo=Nt==null?void 0:Nt.group_settings)==null?void 0:wo.length)&&Ee.createElement("i",{className:"iconfont icon-zengjia1 ml10 mr10",style:{cursor:"pointer",color:"#00B187"},onClick:()=>{var Dn;if((0,ue.Rm)()&&!((Dn=dt.AssistantObject.practice)!=null&&Dn.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({}))}}),((cn==null?void 0:cn.publish_time)&&ve()()<ve()(cn==null?void 0:cn.publish_time)||!(cn!=null&&cn.publish_time))&&pn!=0&&Ee.createElement("i",{className:"iconfont icon-shanjian1",style:{cursor:"pointer",color:"#E30000"},onClick:()=>{const Dn=(0,y.cloneDeep)(Wt);Dn.forEach((At,Zt)=>{At.group_name&&(At.group_name=At.group_name.filter(bt=>{var Jn;return!((Jn=Me[pn].group_name)!=null&&Jn.includes(bt))}))}),Me=Me.filter((At,Zt)=>pn!==Zt),ot(Dn),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||Hn,onChange:cn=>{var pn;if((0,ue.Rm)()&&!((pn=dt.AssistantObject.practice)!=null&&pn.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}cn.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,Wt==""&&ot([{late_penalty:5}]),xt(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||(Nt==null?void 0:Nt.anonymous_comment)||(Nt==null?void 0:Nt.allow_late),value:Ye.unified_late,onChange:cn=>{var pn;if((0,ue.Rm)()&&!((pn=dt.AssistantObject.practice)!=null&&pn.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=cn.target.value,Wt==""&&!cn.target.value&&ot([{penalty_type:re.Q.Percent,late_penalty:20}]),xt(Ue({},Ye))}},(Ye==null?void 0:Ye.unified_setting)&&Ee.createElement(ze.ZP,{value:!0,disabled:!(Nt!=null&&Nt.manage_all_group),style:{marginRight:"50px"}},"\u7EDF\u4E00\u8865\u4EA4"),((Cn=Nt==null?void 0:Nt.group_settings)==null?void 0:Cn.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||la,value:{type:Ye.penalty_type,inputValue:Ye.late_penalty},onChange:cn=>{var pn;if((0,ue.Rm)()&&!((pn=dt.AssistantObject.practice)!=null&&pn.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}xt(Ge(Ue({},Ye),{late_penalty:cn.inputValue,penalty_type:cn.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||la,value:Ye.late_time?ve()(Ye.late_time):"",disabledDate:cn=>gt(cn,Nt==null?void 0:Nt.course_end_date),onChange:(cn,pn)=>{var Aa;if((0,ue.Rm)()&&!((Aa=dt.AssistantObject.practice)!=null&&Aa.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=pn,xt(Object.assign({},Ye))}})))):Wt.map(function(cn,pn){var Aa;return Ee.createElement(je.Z,{span:24,key:pn},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",pn+1),Ee.createElement(he.default,{disabled:bn||!((Aa=_t==null?void 0:_t.homework_status)!=null&&Aa.includes("\u672A\u53D1\u5E03"))&&cn.id||(Nt==null?void 0:Nt.anonymous_comment),mode:"multiple",className:ee.Z.multiple_select,style:{width:"212px",marginLeft:"18px"},value:typeof cn.group_name=="string"?[cn.group_name]:cn.group_name,placeholder:"\u8BF7\u9009\u62E9\u5206\u73ED\u540D\u79F0",onChange:ha=>{var aa;if((0,ue.Rm)()&&!((aa=dt.AssistantObject.practice)!=null&&aa.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}Wt[pn].group_name=ha,Wt[pn].group_id=cn.group_id,ot(Wt.slice())}},Nt.group_settings&&Nt.group_settings.map(function(ha){const aa=Wt.map(_a=>_a.group_name).flat(),Ga=Me.map(_a=>_a.group_name).flat();if(Ye!=null&&Ye.unified_setting){if(!aa.includes(ha.group_name))return Ee.createElement(Sn,{value:ha.group_name,key:ha.id},ha.group_name)}else if(Ga.includes(ha.group_name)&&!aa.includes(ha.group_name))return Ee.createElement(Sn,{value:ha.group_name,key:ha.id},ha.group_name)})),Ee.createElement("div",{className:"ml20 mr10"},"\u8865\u4EA4\u6263\u5206"),Ee.createElement(re.Z,{disabled:bn||Ba(cn.id),value:{type:cn.penalty_type,inputValue:cn.late_penalty},onChange:ha=>{var aa;if((0,ue.Rm)()&&!((aa=dt.AssistantObject.practice)!=null&&aa.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}Wt[pn].late_penalty=ha.inputValue,Wt[pn].penalty_type=ha.type,ot([...Wt])}}),Ee.createElement("div",{className:"ml20 mr10"},"\u8865\u4EA4\u622A\u6B62\u65F6\u95F4"),Ee.createElement(ge.default,{size:"large",disabled:bn||Ba(cn.id),style:{width:225},showTime:{format:"HH:mm",defaultValue:ve()((0,E.U6)(),"HH:mm")},placeholder:"\u8BF7\u9009\u62E9\u622A\u6B62\u65F6\u95F4",disabledDate:ha=>gt(ha,Nt==null?void 0:Nt.course_end_date),format:"YYYY-MM-DD HH:mm",value:cn!=null&&cn.late_time?ve()(cn.late_time):void 0,onChange:(ha,aa)=>{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}Wt[pn].late_time=aa,ot([...Wt])}}),!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 ha;if((0,ue.Rm)()&&!((ha=dt.AssistantObject.practice)!=null&&ha.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(Wt.concat({penalty_type:re.Q.Percent,late_penalty:20}))}}),pn>0&&!cn.id&&Ee.createElement("i",{className:"iconfont icon-shanjian1",style:{cursor:"pointer",color:"#E30000"},onClick:()=>{var ha;if((0,ue.Rm)()&&!((ha=dt.AssistantObject.practice)!=null&&ha.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}Wt=Wt.filter((aa,Ga)=>pn!==Ga),ot(Wt.slice()),setTimeout(()=>ot(Wt.slice()),10)}}))))})),!bn&&Ee.createElement(Ee.Fragment,null,Ee.createElement(Ke.ZP,{type:"primary",size:"large",loading:He,style:{width:"138px",marginTop:"30px"},onClick:()=>St()},"\u4FDD\u5B58")),Ee.createElement(ne.Z,{onConfirm:(cn,pn)=>{Me.splice(cn,0,...pn),Me.splice(cn+pn.length,1);const Aa=(0,E.QE)([...Me]);Xe([...Aa])}}),Ee.createElement(de.Z,{resdata:Yt,type:"shixun",okloading:He,oktext:(Yt==null?void 0:Yt.can_copy_num)===0?"\u786E\u5B9A":"\u4E00\u952E\u590D\u5236\u5E76\u66FF\u6362",onok:cn=>Ve(void 0,null,function*(){_n(!0);let pn=yield(0,a.ZP)(`/api/courses/${sn.coursesId}/batch_copy_shixuns.json`,{method:"post",body:{type:"homework_common",ids:[parseInt(sn.categoryId)]}});_n(!1),(pn==null?void 0:pn.status)===0&&Pn(Nn)})}))};st.ZP=(0,te.connect)(({shixunHomeworks:pt,classroomList:Mt,loading:Ht,user:dt})=>({shixunHomeworks:pt,classroomList:Mt,loading:Ht.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 Ft;window.location.href.indexOf("exercise")>-1?Ft=`/api/exercises/${de.actionTabs.id}/supplement_score.json`:Ft=`/api/homework_commons/${de.actionTabs.id}/supplement_score.json`;let Ut=yield(0,Le.ZP)(Ft,{method:"post",body:gt},!0);at(!1),(Ut==null?void 0:Ut.status)===0&&(Ee(),xe.resetFields(),pe({type:"classroomList/setActionTabs",payload:{}}),((Ve=(Ge=Ut==null?void 0:Ut.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=Ut==null?void 0:Ut.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},E5:function(){return La},Hp:function(){return ne},IM:function(){return Ut},Iy:function(){return de},KM:function(){return Zn},MJ:function(){return pe},Ne:function(){return Ft},ON:function(){return Ht},Uj:function(){return Ze},VY:function(){return pt},YO:function(){return zt},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 Sn},iA:function(){return E},j6:function(){return re},je:function(){return Ge},jj:function(){return oe},kS:function(){return Mt},o6:function(){return Ce},pO:function(){return Fn},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=(vt,Lt,Ct)=>Lt in vt?ze(vt,Lt,{enumerable:!0,configurable:!0,writable:!0,value:Ct}):vt[Lt]=Ct,Ke=(vt,Lt)=>{for(var Ct in Lt||(Lt={}))je.call(Lt,Ct)&&Le(vt,Ct,Lt[Ct]);if(se)for(var Ct of se(Lt))Te.call(Lt,Ct)&&Le(vt,Ct,Lt[Ct]);return vt},De=(vt,Lt,Ct)=>new Promise((wt,Cn)=>{var sn=Vt=>{try{On(Ct.next(Vt))}catch(_t){Cn(_t)}},Nt=Vt=>{try{On(Ct.throw(Vt))}catch(_t){Cn(_t)}},On=Vt=>Vt.done?wt(Vt.value):Promise.resolve(Vt.value).then(sn,Nt);On((Ct=Ct.apply(vt,Lt)).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=vt=>De(void 0,null,function*(){ve(),(yield(0,x.YR)(Ke({},vt))).status===0&&(yield(0,he.QH)("",(0,he.NY)({url:we.Z.API_SERVER+`/api/courses/${vt.coursesId}/export_couser_info.json`,query:vt}))),ue()}),y=vt=>De(void 0,null,function*(){const Lt=yield(0,x.yS)(Ke({},vt));if(Lt.status===0)Fe.ZP.info("\u5BFC\u51FA\u4EFB\u52A1\u751F\u6210\u6210\u529F"),ge.history.push(`/classrooms/${vt.coursesId}/exportlist/course_member_act_score`);else{if(Lt.status===-2)return Lt;Lt.status===-3&&((0,ge.getDvaApp)()._store.dispatch({type:"classroomList/setActionTabs",payload:{key:"\u5BFC\u51FA\u63D0\u9192"}}),ge.history.push(`/classrooms/${vt.coursesId}/exportlist/course_member_act_score`))}}),b=vt=>De(void 0,null,function*(){const Lt=yield(0,x.W0)(Ke({},vt));if(Lt.status===0)Fe.ZP.info("\u5BFC\u51FA\u4EFB\u52A1\u751F\u6210\u6210\u529F"),ge.history.push(`/classrooms/${vt.coursesId}/exportlist/course_total_score`);else{if(Lt.status===-4)return Lt;Lt.status===-3&&((0,ge.getDvaApp)()._store.dispatch({type:"classroomList/setActionTabs",payload:{key:"\u5BFC\u51FA\u63D0\u9192"}}),ge.history.push(`/classrooms/${vt.coursesId}/exportlist/course_total_score`))}}),E=vt=>De(void 0,null,function*(){const Lt=yield(0,x.Nl)(Ke({},vt));if(Lt.status===0)Fe.ZP.info("\u5BFC\u51FA\u4EFB\u52A1\u751F\u6210\u6210\u529F"),ge.history.push(`/classrooms/${vt.coursesId}/exportlist/course_total_exercise_and_other`);else{if(Lt.status===-4)return Lt;Lt.status===-3&&((0,ge.getDvaApp)()._store.dispatch({type:"classroomList/setActionTabs",payload:{key:"\u5BFC\u51FA\u63D0\u9192"}}),ge.history.push(`/classrooms/${vt.coursesId}/exportlist/course_total_exercise_and_other`))}}),ee=vt=>De(void 0,null,function*(){const Lt=yield(0,x.IU)(Ke({},vt));if(Lt.status===0)Fe.ZP.info("\u5BFC\u51FA\u4EFB\u52A1\u751F\u6210\u6210\u529F"),ge.history.push(`/classrooms/${vt.coursesId}/exportlist/export_star_user`);else{if(Lt.status===-4)return Lt;Lt.status===-3&&((0,ge.getDvaApp)()._store.dispatch({type:"classroomList/setActionTabs",payload:{key:"\u5BFC\u51FA\u63D0\u9192"}}),ge.history.push(`/classrooms/${vt.coursesId}/exportlist/export_star_user`))}}),te=vt=>De(void 0,null,function*(){const Lt=yield(0,x.td)(Ke({},vt));if(Lt.status===0)Fe.ZP.info("\u5BFC\u51FA\u4EFB\u52A1\u751F\u6210\u6210\u529F"),ge.history.push(`/classrooms/${vt.coursesId}/exportlist/course_total_exercise_and_other`);else{if(Lt.status===-2)return Lt;if(Lt.status===-3)(0,ge.getDvaApp)()._store.dispatch({type:"classroomList/setActionTabs",payload:{key:"\u5BFC\u51FA\u63D0\u9192"}}),ge.history.push(`/classrooms/${vt.coursesId}/exportlist/course_total_exercise_and_other`);else if(Lt.status===-4)return Lt}}),re=vt=>De(void 0,null,function*(){const Lt=yield(0,x.QX)(Ke({},vt));if(Lt.status===0)Fe.ZP.info("\u5BFC\u51FA\u4EFB\u52A1\u751F\u6210\u6210\u529F"),ge.history.push(`/classrooms/${vt.coursesId}/exportlist/course_total_homework`);else{if(Lt.status===-4)return Lt;Lt.status===-3&&((0,ge.getDvaApp)()._store.dispatch({type:"classroomList/setActionTabs",payload:{key:"\u5BFC\u51FA\u63D0\u9192"}}),ge.history.push(`/classrooms/${vt.coursesId}/exportlist/course_total_homework`))}}),oe=(vt,Lt)=>De(void 0,null,function*(){const Ct=yield(0,x.o_)(Ke({},vt));Ct.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/${vt.coursesId}/exportlist/${Lt}`)):Ct.status===-3&&((0,ge.getDvaApp)()._store.dispatch({type:"classroomList/setActionTabs",payload:{key:"\u5BFC\u51FA\u63D0\u9192"}}),ge.history.push(`/classrooms/${vt.coursesId}/exportlist/${Lt}`))}),ne=(vt,Lt)=>De(void 0,null,function*(){const Ct=yield(0,x.ZL)(Ke({},vt));Ct.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/${vt.coursesId}/exportlist/${Lt}`)):Ct.status===-3&&((0,ge.getDvaApp)()._store.dispatch({type:"classroomList/setActionTabs",payload:{key:"\u5BFC\u51FA\u63D0\u9192"}}),ge.history.push(`/classrooms/${vt.coursesId}/exportlist/${Lt}`))}),de=(vt,Lt)=>De(void 0,null,function*(){const Ct=yield(0,x.aP)(Ke({},vt));Ct.status===0?(Fe.ZP.info("\u5BFC\u51FA\u4EFB\u52A1\u751F\u6210\u6210\u529F"),ge.history.push(`/classrooms/${vt.coursesId}/exportlist/${Lt}`)):Ct.status===-3&&((0,ge.getDvaApp)()._store.dispatch({type:"classroomList/setActionTabs",payload:{key:"\u5BFC\u51FA\u63D0\u9192"}}),ge.history.push(`/classrooms/${vt.coursesId}/exportlist/${Lt}`))}),pe=(vt,Lt)=>De(void 0,null,function*(){const Ct=yield(0,x.vV)(Ke({},vt));Ct.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/${vt.coursesId}/exportlist/${Lt}`)):Ct.status===-3&&((0,ge.getDvaApp)()._store.dispatch({type:"classroomList/setActionTabs",payload:{key:"\u5BFC\u51FA\u63D0\u9192"}}),ge.history.push(`/classrooms/${vt.coursesId}/exportlist/${Lt}`))}),Ee=vt=>De(void 0,null,function*(){ve(),(yield exportCourseWorkListAppendix(Ke({},vt))).status===0&&(yield downLoadFileIframe("",setUrlQuery({url:ENV.API_SERVER+`/api/homework_commons/${vt.categoryId}/works_list.zip`,query:vt}))),ue()}),be=vt=>De(void 0,null,function*(){ve(),yield(0,he.QH)("",we.Z.API_SERVER+`/api/polls/${vt.categoryId}/commit_result.xlsx`),ue()}),xe=vt=>De(void 0,null,function*(){yield(0,he.FH)("",(0,he.NY)({url:we.Z.API_SERVER+`/api/courses/${vt.coursesId}/attendances/export_xlsx_data.xlsx`,query:vt}))}),Ce=vt=>De(void 0,null,function*(){yield(0,he.FH)("",(0,he.NY)({url:we.Z.API_SERVER+`/api/courses/${vt.coursesId}/video_study_statics.xlsx`,query:vt}))}),Ne=vt=>De(void 0,null,function*(){yield(0,he.FH)("",(0,he.NY)({url:we.Z.API_SERVER+`/api/courses/${vt.coursesId}/export_video_study.xlsx`,query:vt}))}),Re=vt=>De(void 0,null,function*(){yield(0,he.FH)("",(0,he.NY)({url:we.Z.API_SERVER+`/api/courses/${vt.coursesId}/export_course_students_info.xlsx`,query:vt}))}),at=vt=>De(void 0,null,function*(){yield(0,he.FH)("",(0,he.NY)({url:we.Z.API_SERVER+"/api/school_manages/students.xlsx",query:vt}))}),Ie=vt=>De(void 0,null,function*(){yield(0,he.FH)("",(0,he.NY)({url:we.Z.API_SERVER+"/api/item_banks/export.xlsx",query:vt}))}),Ue=vt=>De(void 0,null,function*(){yield(0,he.FH)("",(0,he.NY)({url:we.Z.API_SERVER+"/api/competitions/region_reports.xlsx",query:vt}))}),Ge=vt=>De(void 0,null,function*(){const Lt=yield(0,x.Uy)(Ke({},vt));Lt.status===0?(Fe.ZP.info("\u5BFC\u51FA\u4EFB\u52A1\u751F\u6210\u6210\u529F"),ge.history.push(`/classrooms/${vt.coursesId}/exportlist/exercise_score,export_exercise_users`)):Lt.status===-3&&((0,ge.getDvaApp)()._store.dispatch({type:"classroomList/setActionTabs",payload:{key:"\u5BFC\u51FA\u63D0\u9192"}}),ge.history.push(`/classrooms/${vt.coursesId}/exportlist/exercise_score,export_exercise_users`))}),Ve=vt=>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/${vt.id}.xlsx`,query:vt}))}),rt=vt=>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:vt}))}),gt=vt=>De(void 0,null,function*(){yield(0,he.FH)("",(0,he.NY)({url:we.Z.API_SERVER+`/api/courses/${vt==null?void 0:vt.coursesId}/${vt.menuKey}_statistic.xlsx?${vt.checkedList.map(Lt=>`course_group_id[]=${Lt}`).join("&")}`,query:vt}))}),Ft=vt=>De(void 0,null,function*(){yield(0,he.FH)("",(0,he.NY)({url:we.Z.API_SERVER+`/api/ec_years/${vt==null?void 0:vt.ec_year_id}/ec_training_objectives.xlsx`,query:vt}))}),Ut=vt=>De(void 0,null,function*(){yield(0,he.FH)(vt==null?void 0:vt.name,(0,he.NY)({url:we.Z.API_SERVER+"/api/attachments/get_ecs_attachment.docx",query:vt}))}),Sn=vt=>De(void 0,null,function*(){yield(0,he.FH)("",(0,he.NY)({url:we.Z.API_SERVER+`/api/ec_years/${vt==null?void 0:vt.ec_year_id}/ec_courses.xlsx`,query:vt}))}),lt=vt=>De(void 0,null,function*(){yield(0,he.FH)("",(0,he.NY)({url:we.Z.API_SERVER+`/api/ec_years/${vt==null?void 0:vt.ec_year_id}/ec_graduation_requirements.xlsx`,query:vt}))}),pt=vt=>De(void 0,null,function*(){yield(0,he.FH)("",(0,he.NY)({url:we.Z.API_SERVER+"/api/courses/rank_list.xlsx",query:vt}))}),Mt=vt=>De(void 0,null,function*(){yield(0,he.FH)("",(0,he.NY)({url:we.Z.API_SERVER+"/api/courses/question_rank_list.xlsx",query:vt}))}),Ht=vt=>De(void 0,null,function*(){yield(0,he.FH)("",(0,he.NY)({url:we.Z.API_SERVER+`/api/examination_banks/${vt.id}.json`,query:vt}))}),dt=vt=>De(void 0,null,function*(){yield(0,he.FH)("",(0,he.NY)({url:we.Z.API_SERVER+`/api/exercises/${vt.categoryId}.json`,query:vt}))}),zt=vt=>De(void 0,null,function*(){yield(0,he.FH)("",(0,he.NY)({url:we.Z.API_SERVER+`/api/polls/${vt==null?void 0:vt.id}/commit_result.json`,query:vt}))}),Ze=vt=>De(void 0,null,function*(){yield(0,he.FH)("",(0,he.NY)({url:we.Z.API_SERVER+"/api/paths/get_task_pass.json",query:vt}))}),Fn=(vt,Lt)=>De(void 0,null,function*(){yield(0,he.FH)(Lt||"",(0,he.NY)({url:we.Z.API_SERVER+`/api/exercises/${vt==null?void 0:vt.exercise_id}/consult_exercise.json`,query:vt}))}),Zn=vt=>De(void 0,null,function*(){yield(0,he.FH)("",(0,he.NY)({url:we.Z.API_SERVER+`/api/competitions/${vt==null?void 0:vt.identifier}/competition_commit_records/member_works.xlsx`,query:vt}))}),La=vt=>De(void 0,null,function*(){yield(0,he.FH)("",(0,he.NY)({url:we.Z.API_SERVER+"/api/annual_statistics/export.xlsx",query:vt}))})},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/xhBQAAACBjSFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAA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VGkxytjyAyQ1ZcdvYtjoEVgyAoDLbhbPrNF7LxHiTbCvI4WydjIHgCAsAyEBgAQAZCCwAIAOBBQBkILAAgAwEFgCQkcewBioPvlsxAMK2u/gunHPB5OJWjJ+wbeSKs1u3YnHqRT5whAUAZCCwAIAMBBYAkIHAAgAyEFgAQAYCCwDIMFutYefOnRUVFVa3ctWqVStXrjT4ZtsqK+RE5Ql7K1BpvAtHmdhWI8S2QhcWDWswG1gVFRVVVVVWtCxbOBy2ehMA4H44JQQAMhBYAEAGAgsAyEBgAQAZCCwAIMOSSShM3tFsaWkp+J1HZx+RN75O23pkRWEGk5wdEWJFN0023mTdEWfH9xjvZl5whAUAZCCwAIAMBBYAkIHAAgAyEFgAQAYCCwDIsGRYg7NIP99vRd+tKDlg2zutYLxJzk7/Ydv+dOEcKwPBERYAkIHAAgAyEFgAQAYCCwDIQGABABkILAAgowiHNYzk4QJWPEzvwm7mZEVlBZP1Epwd65CTbSMYLBq5giMsACADgQUAZCCwAIAMBBYAkIHAAgAyEFgAQIYlwxpaWlrMLG5yBgrbSvfbVnKASsED25j8iE2u0/jiJsc6uLBWhLPrZBYFVsHnvAEAYDglBABCEFgAQAYCCwDIQGABABlmL7qvWrUqHA5b3cotW7bYszsAwM24FXeIbUPl0XPbahsY76ZtU3W48+64ma0bZ9tnZFtdB9tKoQwEp4QAQAYCCwDIQGABABkILAAgA4EFAGQgsACAjDyGNQAAOAtHWABABgILAMhAYAEAGQgsACADgQUAZCCwAIAMBBYAkIHAAgAyEFgAQAYCCwDIQGABABkILAAgA4EFAGQgsACAjP8Prqme11Be/zoAAAAASUVORK5CYII=",Le=z.p+"static/newqrcode.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,Ft=De(Ue,["className","onClick"]),Ut=Object.assign(Object.assign({},(0,Fe.Z)(Ft,{data:!0,aria:!0})),{onClick:gt});return Ve!==void 0?we.createElement("a",Object.assign({},Ut,{className:ge()(`${Ie}-link`,rt),href:Ve}),Ge):we.createElement("span",Object.assign({},Ut,{className:ge()(`${Ie}-link`,rt)}),Ge)}function a(Ie,Ue){return(Ve,rt,gt,Ft,Ut)=>{if(Ue)return Ue(Ve,rt,gt,Ft);const Sn=ve(Ve,rt);return ue(Ie,Ve,Sn,Ut)}}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:Ft,href:Ut}=Ie,lt=(pt=>{if(rt||gt){const Mt=Object.assign({},Ft);if(rt){const Ht=rt||{},{items:dt}=Ht,zt=y(Ht,["items"]);Mt.menu=Object.assign(Object.assign({},zt),{items:dt==null?void 0:dt.map((Ze,Fn)=>{var{key:Zn,title:La,label:vt,path:Lt}=Ze,Ct=y(Ze,["key","title","label","path"]);let wt=vt!=null?vt:La;return Lt&&(wt=we.createElement("a",{href:`${Ut}${Lt}`},wt)),Object.assign(Object.assign({},Ct),{key:Zn!=null?Zn:Fn,label:wt})})})}else gt&&(Mt.overlay=gt);return we.createElement(Te.Z,Object.assign({placement:"bottom"},Mt),we.createElement("span",{className:`${Ue}-overlay-link`},pt,we.createElement(je.Z,null)))}return pt})(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_),Ft=gt("breadcrumb",Ue);return we.createElement(b,Object.assign({},rt,{prefixCls:Ft}),ue(Ft,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:Ft}=gt,Ut=pe(gt,["breadcrumbName"]);return Object.assign(Object.assign({},Ut),{title:Ft})})}),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:Ft,items:Ut,children:Sn,itemRender:lt,params:pt={}}=Ie,Mt=xe(Ie,["prefixCls","separator","style","className","rootClassName","routes","items","children","itemRender","params"]),{getPrefixCls:Ht,direction:dt,breadcrumb:zt}=we.useContext(se.E_);let Ze;const Fn=Ht("breadcrumb",Ue),[Zn,La]=de(Fn),vt=be(Ut,Ft),Lt=a(Fn,lt);if(vt&&vt.length>0){const Cn=[],sn=Ut||Ft;Ze=vt.map((Nt,On)=>{const{path:Vt,key:_t,type:Mn,menu:bn,overlay:Je,onClick:He,className:_n,separator:Me,dropdownProps:Xe}=Nt,Wt=Ce(pt,Vt);Wt!==void 0&&Cn.push(Wt);const ot=_t!=null?_t:On;if(Mn==="separator")return we.createElement(Ke,{key:ot},Me);const Ye={},xt=On===vt.length-1;bn?Ye.menu=bn:Je&&(Ye.overlay=Je);let{href:Yt}=Nt;return Cn.length&&Wt!==void 0&&(Yt=`#/${Cn.join("/")}`),we.createElement(b,Object.assign({key:ot},Ye,(0,Fe.Z)(Nt,{data:!0,aria:!0}),{className:_n,dropdownProps:Xe,href:Yt,separator:xt?"":Ge,onClick:He,prefixCls:Fn}),Lt(Nt,pt,sn,Cn,Yt))})}else if(Sn){const Cn=(0,he.Z)(Sn).length;Ze=(0,he.Z)(Sn).map((sn,Nt)=>{if(!sn)return sn;const On=Nt===Cn-1;return(0,ze.Tm)(sn,{separator:On?"":Ge,key:Nt})})}const Ct=ge()(Fn,zt==null?void 0:zt.className,{[`${Fn}-rtl`]:dt==="rtl"},rt,gt,La),wt=Object.assign(Object.assign({},zt==null?void 0:zt.style),Ve);return Zn(we.createElement("nav",Object.assign({className:Ct,style:wt},Mt),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:Ft,direction:Ut,checkbox:Sn}=Fe.useContext(we.E_),lt=Fe.useContext(Te),{isFormItemInput:pt}=Fe.useContext(se.aM),Mt=Fe.useContext(ze.Z),Ht=(be=(lt==null?void 0:lt.disabled)||rt)!==null&&be!==void 0?be:Mt,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 zt=Ft("checkbox",xe),[Ze,Fn]=(0,Le.ZP)(zt),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 La=ge()(`${zt}-wrapper`,{[`${zt}-rtl`]:Ut==="rtl",[`${zt}-wrapper-checked`]:Zn.checked,[`${zt}-wrapper-disabled`]:Ht,[`${zt}-wrapper-in-form-item`]:pt},Sn==null?void 0:Sn.className,Ce,Ne,Fn),vt=ge()({[`${zt}-indeterminate`]:at},De.A,Fn),Lt=at?"mixed":void 0;return Ze(Fe.createElement(Ke.Z,{component:"Checkbox",disabled:Ht},Fe.createElement("label",{className:La,style:Object.assign(Object.assign({},Sn==null?void 0:Sn.style),Ie),onMouseEnter:Ue,onMouseLeave:Ge},Fe.createElement(he.Z,Object.assign({"aria-checked":Lt},Zn,{prefixCls:zt,className:vt,disabled:Ht,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,Ft]=Fe.useState(Ge.value||be||[]),[Ut,Sn]=Fe.useState([]);Fe.useEffect(()=>{"value"in Ge&&Ft(Ge.value||[])},[Ge.value]);const lt=Fe.useMemo(()=>Ce.map(Ct=>typeof Ct=="string"||typeof Ct=="number"?{label:Ct,value:Ct}:Ct),[Ce]),pt=Ct=>{Sn(wt=>wt.filter(Cn=>Cn!==Ct))},Mt=Ct=>{Sn(wt=>[].concat((0,b.Z)(wt),[Ct]))},Ht=Ct=>{const wt=gt.indexOf(Ct.value),Cn=(0,b.Z)(gt);wt===-1?Cn.push(Ct.value):Cn.splice(wt,1),"value"in Ge||Ft(Cn),Ue==null||Ue(Cn.filter(sn=>Ut.includes(sn)).sort((sn,Nt)=>{const On=lt.findIndex(_t=>_t.value===sn),Vt=lt.findIndex(_t=>_t.value===Nt);return On-Vt}))},dt=Ve("checkbox",Ne),zt=`${dt}-group`,[Ze,Fn]=(0,Le.ZP)(dt),Zn=(0,E.Z)(Ge,["value","disabled"]),La=Ce.length?lt.map(Ct=>Fe.createElement(y,{prefixCls:dt,key:Ct.value.toString(),disabled:"disabled"in Ct?Ct.disabled:Ge.disabled,value:Ct.value,checked:gt.includes(Ct.value),onChange:Ct.onChange,className:`${zt}-item`,style:Ct.style,title:Ct.title},Ct.label)):xe,vt={toggleOption:Ht,value:gt,disabled:Ge.disabled,name:Ge.name,registerValue:Mt,cancelValue:pt},Lt=ge()(zt,{[`${zt}-rtl`]:rt==="rtl"},Re,at,Fn);return Ze(Fe.createElement("div",Object.assign({className:Lt,style:Ie},Zn,{ref:Ee}),Fe.createElement(Te.Provider,{value:vt},La)))},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],Pt=le;if(_e.includes("wo")||_e.includes("Wo")){for(var Dt=Pt.split("-")[0],jt=Pt.split("-")[1],xn=ge()(Dt,"YYYY").startOf("year").locale(Ae),Qt=0;Qt<=52;Qt+=1){var en=xn.add(Qt,"week");if(en.format("Wo")===jt)return en}return E(),null}var nn=ge()(Pt,_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),Ft=z(94184),Ut=z.n(Ft),Sn=z(15671),lt=z(43144),pt=z(97326),Mt=z(60136),Ht=z(51630),dt=z(4942),zt=z(1413),Ze=z(97685),Fn=z(5663),Zn=z(1337),La=z(92739),vt=z(7699),Lt=10,Ct=Lt*10,wt=7;function Cn(ae,ie){if(!ae&&!ie)return!0;if(!ae||!ie)return!1}function sn(ae,ie,le){var Se=Cn(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 Nt(ae,ie,le){var Se=Cn(ie,le);return typeof Se=="boolean"?Se:ae.getYear(ie)===ae.getYear(le)}function On(ae,ie){var le=Math.floor(ae.getMonth(ie)/3);return le+1}function Vt(ae,ie,le){var Se=Cn(ie,le);return typeof Se=="boolean"?Se:Nt(ae,ie,le)&&On(ae,ie)===On(ae,le)}function _t(ae,ie,le){var Se=Cn(ie,le);return typeof Se=="boolean"?Se:Nt(ae,ie,le)&&ae.getMonth(ie)===ae.getMonth(le)}function Mn(ae,ie,le){var Se=Cn(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=Cn(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=Cn(le,Se);return typeof Ae=="boolean"?Ae:Nt(ae,le,Se)&&ae.locale.getWeek(ie,le)===ae.locale.getWeek(ie,Se)}function He(ae,ie,le){return Mn(ae,ie,le)&&bn(ae,ie,le)}function _n(ae,ie,le,Se){return!ie||!le||!Se?!1:!Mn(ae,ie,Se)&&!Mn(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 Wt(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(dn,Rt,ln){for(var kn=Rt;kn<=ln;){var Pa=void 0;switch(dn){case"date":{if(Pa=Ae.setDate(ie,kn),!Se(Pa))return!1;break}case"month":{if(Pa=Ae.setMonth(ie,kn),!Ye({cellDate:Pa,mode:"month",generateConfig:Ae,disabledDate:Se}))return!1;break}case"year":{if(Pa=Ae.setYear(ie,kn),!Ye({cellDate:Pa,mode:"year",generateConfig:Ae,disabledDate:Se}))return!1;break}}kn+=1}return!0};switch(le){case"date":case"week":return Se(ie);case"month":{var _e=1,Pt=Ae.getDate(Ae.getEndDate(ie));return $e("date",_e,Pt)}case"quarter":{var Dt=Math.floor(Ae.getMonth(ie)/3)*3,jt=Dt+2;return $e("month",Dt,jt)}case"year":return $e("month",0,11);case"decade":{var xn=Ae.getYear(ie),Qt=Math.floor(xn/Lt)*Lt,en=Qt+Lt-1;return $e("year",Qt,en)}}}function xt(ae,ie){var le=ie.formatList,Se=ie.generateConfig,Ae=ie.locale;return(0,La.Z)(function(){if(!ae)return[[""],""];for(var $e="",_e=[],Pt=0;Pt<le.length;Pt+=1){var Dt=le[Pt],jt=Wt(ae,{generateConfig:Se,locale:Ae,format:Dt});_e.push(jt),Pt===0&&($e=jt)}return[_e,$e]},[ae,le,Ae],function($e,_e){return!He(Se,$e[0],_e[0])||!(0,vt.Z)($e[1],_e[1],!0)||!(0,vt.Z)($e[2],_e[2],!0)})}function Yt(ae,ie){var le=ie.formatList,Se=ie.generateConfig,Ae=ie.locale,$e=(0,ne.useState)(null),_e=(0,Ze.Z)($e,2),Pt=_e[0],Dt=_e[1],jt=(0,ne.useRef)(null);function xn(ln){var kn=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;if(cancelAnimationFrame(jt.current),kn){Dt(ln);return}jt.current=requestAnimationFrame(function(){Dt(ln)})}var Qt=xt(Pt,{formatList:le,generateConfig:Se,locale:Ae}),en=(0,Ze.Z)(Qt,2),nn=en[1];function dn(ln){xn(ln)}function Rt(){var ln=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1;xn(null,ln)}return(0,ne.useEffect)(function(){Rt(!0)},[ae]),(0,ne.useEffect)(function(){return function(){return cancelAnimationFrame(jt.current)}},[]),[nn,dn,Rt]}var It=z(92389),Nn=z(96523),kt=z(74902),Gt=z(48130),St=new Map;function Pn(ae,ie){var le;function Se(){(0,Gt.Z)(ae)?ie():le=(0,Nn.Z)(function(){Se()})}return Se(),function(){Nn.Z.cancel(le)}}function qt(ae,ie,le){if(St.get(ae)&&cancelAnimationFrame(St.get(ae)),le<=0){St.set(ae,requestAnimationFrame(function(){ae.scrollTop=ie}));return}var Se=ie-ae.scrollTop,Ae=Se/le*10;St.set(ae,requestAnimationFrame(function(){ae.scrollTop+=Ae,ae.scrollTop!==ie&&qt(ae,ie,le-10)}))}function wn(ae,ie){var le=ie.onLeftRight,Se=ie.onCtrlLeftRight,Ae=ie.onUpDown,$e=ie.onPageUpDown,_e=ie.onEnter,Pt=ae.which,Dt=ae.ctrlKey,jt=ae.metaKey;switch(Pt){case It.Z.LEFT:if(Dt||jt){if(Se)return Se(-1),!0}else if(le)return le(-1),!0;break;case It.Z.RIGHT:if(Dt||jt){if(Se)return Se(1),!0}else if(le)return le(1),!0;break;case It.Z.UP:if(Ae)return Ae(-1),!0;break;case It.Z.DOWN:if(Ae)return Ae(1),!0;break;case It.Z.PAGE_UP:if($e)return $e(-1),!0;break;case It.Z.PAGE_DOWN:if($e)return $e(1),!0;break;case It.Z.ENTER:if(_e)return _e(),!0;break}return!1}function xa(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 Hn(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 la=null,Ba=new Set;function rn(ae){return!la&&typeof window!="undefined"&&window.addEventListener&&(la=function(le){(0,kt.Z)(Ba).forEach(function(Se){Se(le)})},window.addEventListener("mousedown",la)),Ba.add(ae),function(){Ba.delete(ae),Ba.size===0&&(window.removeEventListener("mousedown",la),la=null)}}function cn(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 pn=function(ie){return ie==="month"||ie==="date"?"year":ie},Aa=function(ie){return ie==="date"?"month":ie},ha=function(ie){return ie==="month"||ie==="date"?"quarter":ie},aa=function(ie){return ie==="date"?"week":ie},Ga={year:pn,month:Aa,quarter:ha,week:aa,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,Pt=ae.blurToCancel,Dt=ae.onSubmit,jt=ae.onCancel,xn=ae.onFocus,Qt=ae.onBlur,en=ae.changeOnBlur,nn=(0,ne.useState)(!1),dn=(0,Ze.Z)(nn,2),Rt=dn[0],ln=dn[1],kn=(0,ne.useState)(!1),Pa=(0,Ze.Z)(kn,2),Qn=Pa[0],Vn=Pa[1],Ha=(0,ne.useRef)(!1),jn=(0,ne.useRef)(!1),Yn=(0,ne.useRef)(!1),Sr={onMouseDown:function(){ln(!0),Ae(!0)},onKeyDown:function(yr){var ur=function(){Yn.current=!0};if(_e(yr,ur),!Yn.current){switch(yr.which){case It.Z.ENTER:{ie?Dt()!==!1&&ln(!0):Ae(!0),yr.preventDefault();return}case It.Z.TAB:{Rt&&ie&&!yr.shiftKey?(ln(!1),yr.preventDefault()):!Rt&&ie&&!$e(yr)&&yr.shiftKey&&(ln(!0),yr.preventDefault());return}case It.Z.ESC:{ln(!0),jt();return}}!ie&&![It.Z.SHIFT].includes(yr.which)?Ae(!0):Rt||$e(yr)}},onFocus:function(yr){ln(!0),Vn(!0),xn&&xn(yr)},onBlur:function(yr){if(Ha.current||!Se(document.activeElement)){Ha.current=!1;return}Pt?setTimeout(function(){for(var ur=document,Gr=ur.activeElement;Gr&&Gr.shadowRoot;)Gr=Gr.shadowRoot.activeElement;Se(Gr)&&jt()},0):ie&&(Ae(!1),jn.current&&Dt()),Vn(!1),Qt==null||Qt(yr)}};return(0,ne.useEffect)(function(){jn.current=!1},[ie]),(0,ne.useEffect)(function(){jn.current=!0},[le]),(0,ne.useEffect)(function(){return rn(function(Ya){var yr=cn(Ya),ur=Se(yr);ie&&(ur?!en&&(!Qn||ur)&&Ae(!1):(Ha.current=!0,(0,Nn.Z)(function(){Ha.current=!1})))})}),[Sr,{focused:Qn,typing:Rt}]}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 Dn=z(14075);function At(ae){var ie=ae.valueTexts,le=ae.onTextChange,Se=ne.useState(""),Ae=(0,Ze.Z)(Se,2),$e=Ae[0],_e=Ae[1],Pt=ne.useRef([]);Pt.current=ie;function Dt(xn){_e(xn),le(xn)}function jt(){_e(Pt.current[0])}return(0,Dn.Z)(function(){ie.every(function(xn){return xn!==$e})&&jt()},[ie.join("||")]),[$e,Dt,jt]}var Zt=ne.createContext({}),bt=Zt,Jn=z(71002);function Jt(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 Pt=$e;return Se&&_e.type==="date"?Se(Pt,_e.today):le&&_e.type==="month"?le(Pt,_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 sa(ae){var ie=ae.cellPrefixCls,le=ae.generateConfig,Se=ae.rangedValue,Ae=ae.hoverRangedValue,$e=ae.isInView,_e=ae.isSameCell,Pt=ae.offsetCell,Dt=ae.today,jt=ae.value;function xn(Qt){var en,nn=Pt(Qt,-1),dn=Pt(Qt,1),Rt=rr(Se,0),ln=rr(Se,1),kn=rr(Ae,0),Pa=rr(Ae,1),Qn=_n(le,kn,Pa,Qt);function Vn(yr){return _e(Rt,yr)}function Ha(yr){return _e(ln,yr)}var jn=_e(kn,Qt),Yn=_e(Pa,Qt),Sr=(Qn||Yn)&&(!$e(nn)||Ha(nn)),Ya=(Qn||jn)&&(!$e(dn)||Vn(dn));return en={},(0,dt.Z)(en,"".concat(ie,"-in-view"),$e(Qt)),(0,dt.Z)(en,"".concat(ie,"-in-range"),_n(le,Rt,ln,Qt)),(0,dt.Z)(en,"".concat(ie,"-range-start"),Vn(Qt)),(0,dt.Z)(en,"".concat(ie,"-range-end"),Ha(Qt)),(0,dt.Z)(en,"".concat(ie,"-range-start-single"),Vn(Qt)&&!ln),(0,dt.Z)(en,"".concat(ie,"-range-end-single"),Ha(Qt)&&!Rt),(0,dt.Z)(en,"".concat(ie,"-range-start-near-hover"),Vn(Qt)&&(_e(nn,kn)||_n(le,kn,Pa,nn))),(0,dt.Z)(en,"".concat(ie,"-range-end-near-hover"),Ha(Qt)&&(_e(dn,Pa)||_n(le,kn,Pa,dn))),(0,dt.Z)(en,"".concat(ie,"-range-hover"),Qn),(0,dt.Z)(en,"".concat(ie,"-range-hover-start"),jn),(0,dt.Z)(en,"".concat(ie,"-range-hover-end"),Yn),(0,dt.Z)(en,"".concat(ie,"-range-hover-edge-start"),Sr),(0,dt.Z)(en,"".concat(ie,"-range-hover-edge-end"),Ya),(0,dt.Z)(en,"".concat(ie,"-range-hover-edge-start-near-range"),Sr&&_e(nn,ln)),(0,dt.Z)(en,"".concat(ie,"-range-hover-edge-end-near-range"),Ya&&_e(dn,Rt)),(0,dt.Z)(en,"".concat(ie,"-today"),_e(Dt,Qt)),(0,dt.Z)(en,"".concat(ie,"-selected"),_e(jt,Qt)),en}return xn}var Vr=ne.createContext({}),ft=Vr;function mn(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 fn(ae,ie,le,Se,Ae,$e){var _e=Math.floor(ae/Se)*Se;if(_e<ae)return[_e,60-Ae,60-$e];var Pt=Math.floor(ie/Ae)*Ae;if(Pt<ie)return[_e,Pt,60-$e];var Dt=Math.floor(le/$e)*$e;return[_e,Pt,Dt]}function da(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 gn(ae){for(var ie=ae.prefixCls,le=ae.disabledDate,Se=ae.onSelect,Ae=ae.picker,$e=ae.rowNum,_e=ae.colNum,Pt=ae.prefixColumn,Dt=ae.rowClassName,jt=ae.baseDate,xn=ae.getCellClassName,Qt=ae.getCellText,en=ae.getCellNode,nn=ae.getCellDate,dn=ae.generateConfig,Rt=ae.titleCell,ln=ae.headerCells,kn=ne.useContext(bt),Pa=kn.onDateMouseEnter,Qn=kn.onDateMouseLeave,Vn=kn.mode,Ha="".concat(ie,"-cell"),jn=[],Yn=0;Yn<$e;Yn+=1){for(var Sr=[],Ya=void 0,yr=function(){var Co,Vo=Yn*_e+ur,Ur=nn(jt,Vo),$r=Ye({cellDate:Ur,mode:Vn,disabledDate:le,generateConfig:dn});ur===0&&(Ya=Ur,Pt&&Sr.push(Pt(Ya)));var Dr=Rt&&Rt(Ur),Yo=ne.createElement("div",{className:"".concat(Ha,"-inner")},Qt(Ur));Sr.push(ne.createElement("td",{key:ur,title:Dr,className:Ut()(Ha,(0,zt.Z)((Co={},(0,dt.Z)(Co,"".concat(Ha,"-disabled"),$r),(0,dt.Z)(Co,"".concat(Ha,"-start"),Qt(Ur)===1||Ae==="year"&&Number(Dr)%10===0),(0,dt.Z)(Co,"".concat(Ha,"-end"),Dr===da(dn,Ur)||Ae==="year"&&Number(Dr)%10===9),Co),xn(Ur))),onClick:function(){$r||Se(Ur)},onMouseEnter:function(){!$r&&Pa&&Pa(Ur)},onMouseLeave:function(){!$r&&Qn&&Qn(Ur)}},en?en(Ur,Yo):Yo))},ur=0;ur<_e;ur+=1)yr();jn.push(ne.createElement("tr",{key:Yn,className:Dt&&Dt(Ya)},Sr))}return ne.createElement("div",{className:"".concat(ie,"-body")},ne.createElement("table",{className:"".concat(ie,"-content")},ln&&ne.createElement("thead",null,ne.createElement("tr",null,ln)),ne.createElement("tbody",null,jn)))}function ia(ae){var ie=ae.prefixCls,le=ae.generateConfig,Se=ae.prefixColumn,Ae=ae.locale,$e=ae.rowCount,_e=ae.viewDate,Pt=ae.value,Dt=ae.cellRender,jt=ae.isSameCell,xn=ne.useContext(ft),Qt=xn.rangedValue,en=xn.hoverRangedValue,nn=Me(Ae.locale,le,_e),dn="".concat(ie,"-cell"),Rt=le.locale.getWeekFirstDay(Ae.locale),ln=le.getNow(),kn=[],Pa=Ae.shortWeekDays||(le.locale.getShortWeekDays?le.locale.getShortWeekDays(Ae.locale):[]);Se&&kn.push(ne.createElement("th",{key:"empty","aria-label":"empty cell"}));for(var Qn=0;Qn<wt;Qn+=1)kn.push(ne.createElement("th",{key:Qn},Pa[(Qn+Rt)%wt]));var Vn=sa({cellPrefixCls:dn,today:ln,value:Pt,generateConfig:le,rangedValue:Se?null:Qt,hoverRangedValue:Se?null:en,isSameCell:jt||function(jn,Yn){return Mn(le,jn,Yn)},isInView:function(Yn){return _t(le,Yn,_e)},offsetCell:function(Yn,Sr){return le.addDate(Yn,Sr)}}),Ha=Dt?function(jn,Yn){return Dt(jn,{originNode:Yn,today:ln,type:"date",locale:Ae})}:void 0;return ne.createElement(gn,(0,oe.Z)({},ae,{rowNum:$e,colNum:wt,baseDate:nn,getCellNode:Ha,getCellText:le.getDate,getCellClassName:Vn,getCellDate:le.addDate,titleCell:function(Yn){return Wt(Yn,{locale:Ae,format:"YYYY-MM-DD",generateConfig:le})},headerCells:kn}))}var In=ia,pa={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,Pt=_e===void 0?"\xAB":_e,Dt=ae.superNextIcon,jt=Dt===void 0?"\xBB":Dt,xn=ae.onSuperPrev,Qt=ae.onSuperNext,en=ae.onPrev,nn=ae.onNext,dn=ae.children,Rt=ne.useContext(bt),ln=Rt.hideNextBtn,kn=Rt.hidePrevBtn;return ne.createElement("div",{className:ie},xn&&ne.createElement("button",{type:"button",onClick:xn,tabIndex:-1,className:"".concat(ie,"-super-prev-btn"),style:kn?pa:{}},Pt),en&&ne.createElement("button",{type:"button",onClick:en,tabIndex:-1,className:"".concat(ie,"-prev-btn"),style:kn?pa:{}},Se),ne.createElement("div",{className:"".concat(ie,"-view")},dn),nn&&ne.createElement("button",{type:"button",onClick:nn,tabIndex:-1,className:"".concat(ie,"-next-btn"),style:ln?pa:{}},$e),Qt&&ne.createElement("button",{type:"button",onClick:Qt,tabIndex:-1,className:"".concat(ie,"-super-next-btn"),style:ln?pa:{}},jt))}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,Pt=ae.onNextYear,Dt=ae.onPrevYear,jt=ae.onYearClick,xn=ae.onMonthClick,Qt=ne.useContext(bt),en=Qt.hideHeader;if(en)return null;var nn="".concat(ie,"-header"),dn=Se.shortMonths||(le.locale.getShortMonths?le.locale.getShortMonths(Se.locale):[]),Rt=le.getMonth(Ae),ln=ne.createElement("button",{type:"button",key:"year",onClick:jt,tabIndex:-1,className:"".concat(ie,"-year-btn")},Wt(Ae,{locale:Se,format:Se.yearFormat,generateConfig:le})),kn=ne.createElement("button",{type:"button",key:"month",onClick:xn,tabIndex:-1,className:"".concat(ie,"-month-btn")},Se.monthFormat?Wt(Ae,{locale:Se,format:Se.monthFormat,generateConfig:le}):dn[Rt]),Pa=Se.monthBeforeYear?[kn,ln]:[ln,kn];return ne.createElement(Br,(0,oe.Z)({},ae,{prefixCls:nn,onSuperPrev:Dt,onPrev:_e,onNext:$e,onSuperNext:Pt}),Pa)}var No=no,Wn=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,Pt=ae.generateConfig,Dt=ae.value,jt=ae.viewDate,xn=ae.onViewDateChange,Qt=ae.onPanelChange,en=ae.onSelect,nn="".concat(ie,"-").concat(Se,"-panel");_e.current={onKeyDown:function(kn){return wn(kn,(0,zt.Z)({onLeftRight:function(Qn){en(Pt.addDate(Dt||jt,Qn),"key")},onCtrlLeftRight:function(Qn){en(Pt.addYear(Dt||jt,Qn),"key")},onUpDown:function(Qn){en(Pt.addDate(Dt||jt,Qn*wt),"key")},onPageUpDown:function(Qn){en(Pt.addMonth(Dt||jt,Qn),"key")}},Ae))}};var dn=function(kn){var Pa=Pt.addYear(jt,kn);xn(Pa),Qt(null,Pa)},Rt=function(kn){var Pa=Pt.addMonth(jt,kn);xn(Pa),Qt(null,Pa)};return ne.createElement("div",{className:Ut()(nn,(0,dt.Z)({},"".concat(nn,"-active"),$e))},ne.createElement(No,(0,oe.Z)({},ae,{prefixCls:ie,value:Dt,viewDate:jt,onPrevYear:function(){dn(-1)},onNextYear:function(){dn(1)},onPrevMonth:function(){Rt(-1)},onNextMonth:function(){Rt(1)},onMonthClick:function(){Qt("month",jt)},onYearClick:function(){Qt("year",jt)}})),ne.createElement(In,(0,oe.Z)({},ae,{onSelect:function(kn){return en(kn,"mouse")},prefixCls:ie,value:Dt,viewDate:jt,rowCount:Wn})))}var yi=Qi;function Yr(ae){var ie=ne.useContext(bt),le=ie.hideHeader;if(le)return null;var Se=ae.prefixCls,Ae=ae.generateConfig,$e=ae.locale,_e=ae.value,Pt=ae.format,Dt="".concat(Se,"-header");return ne.createElement(Br,{prefixCls:Dt},_e?Wt(_e,{locale:$e,format:Pt,generateConfig:Ae}):"\xA0")}var Pi=Yr;function va(ae){var ie=ae.value,le=ae.generateConfig,Se=ae.disabledMinutes,Ae=ae.disabledSeconds,$e=ae.minutes,_e=ae.seconds,Pt=ae.use12Hours,Dt=function(xn,Qt,en,nn){var dn=le.getNow(),Rt=ie||dn,ln=Qt<0?le.getHour(dn):Qt,kn=en<0?le.getMinute(dn):en,Pa=nn<0?le.getSecond(dn):nn,Qn=Se&&Se(ln);if(Qn!=null&&Qn.includes(kn)){var Vn=$e.find(function(Yn){return!Qn.includes(Yn.value)});if(Vn)kn=Vn.value;else return null}var Ha=Ae&&Ae(ln,kn);if(Ha!=null&&Ha.includes(Pa)){var jn=_e.find(function(Yn){return!Ha.includes(Yn.value)});if(jn)Pa=jn.value;else return null}return Rt=mn(le,Rt,!Pt||!xn?ln:ln+12,kn,Pa),Rt};return Dt}function tr(ae){var ie=ae.prefixCls,le=ae.units,Se=ae.onSelect,Ae=ae.value,$e=ae.active,_e=ae.hideDisabledOptions,Pt=ae.info,Dt=ae.type,jt="".concat(ie,"-cell"),xn=ne.useContext(bt),Qt=xn.open,en=(0,ne.useRef)(null),nn=(0,ne.useRef)(new Map),dn=(0,ne.useRef)();return(0,ne.useLayoutEffect)(function(){var Rt=nn.current.get(Ae);Rt&&Qt!==!1&&qt(en.current,Rt.offsetTop,120)},[Ae]),(0,ne.useLayoutEffect)(function(){if(Qt){var Rt=nn.current.get(Ae);Rt&&(dn.current=Pn(Rt,function(){qt(en.current,Rt.offsetTop,0)}))}return function(){var ln;(ln=dn.current)===null||ln===void 0||ln.call(dn)}},[Qt]),ne.createElement("ul",{className:Ut()("".concat(ie,"-column"),(0,dt.Z)({},"".concat(ie,"-column-active"),$e)),ref:en,style:{position:"relative"}},le.map(function(Rt){var ln;return _e&&Rt.disabled?null:ne.createElement("li",{key:Rt.value,ref:function(Pa){nn.current.set(Rt.value,Pa)},className:Ut()(jt,(ln={},(0,dt.Z)(ln,"".concat(jt,"-disabled"),Rt.disabled),(0,dt.Z)(ln,"".concat(jt,"-selected"),Ae===Rt.value),ln)),onClick:function(){Rt.disabled||Se(Rt.value)}},Pt.cellRender?Pt.cellRender(Rt.value,{today:Pt.today,locale:Pt.locale,originNode:ne.createElement("div",{className:"".concat(jt,"-inner")},Rt.label),type:"time",subType:Dt}):ne.createElement("div",{className:"".concat(jt,"-inner")},Rt.label))}))}var xr=tr;function ga(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,Pt=ae.showMinute,Dt=ae.showSecond,jt=ae.use12Hours,xn=ae.hourStep,Qt=xn===void 0?1:xn,en=ae.minuteStep,nn=en===void 0?1:en,dn=ae.secondStep,Rt=dn===void 0?1:dn,ln=ae.disabledHours,kn=ae.disabledMinutes,Pa=ae.disabledSeconds,Qn=ae.disabledTime,Vn=ae.hideDisabledOptions,Ha=ae.onSelect,jn=ae.cellRender,Yn=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(Qn){var So=Qn($r);return[So.disabledHours,So.disabledMinutes,So.disabledSeconds]}return[ln,kn,Pa]},[ln,kn,Pa,Qn,$r]),Yo=(0,Ze.Z)(Dr,3),ho=Yo[0],bo=Yo[1],Bi=Yo[2],zi=eo(0,23,Qt,ho&&ho()),Xi=(0,La.Z)(function(){return zi},zi,ga);jt&&(ur=Co>=12,Co%=12);var xl=ne.useMemo(function(){if(!jt)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},[jt,Xi]),wi=(0,Ze.Z)(xl,2),fl=wi[0],ni=wi[1],ci=ne.useMemo(function(){return jt?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,zt.Z)((0,zt.Z)({},So),{},{label:pi,value:Wi})}):Xi},[jt,ur,Xi]),Li=eo(0,59,nn,bo&&bo(Gr)),ml=eo(0,59,Rt,Bi&&Bi(Gr,Vo)),yl=va({value:$e,generateConfig:ie,disabledMinutes:bo,disabledSeconds:Bi,minutes:Li,seconds:ml,use12Hours:jt});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:Vn}),onSelect:Hr,value:pi,units:_o})}Ul(_e,ne.createElement(xr,{key:"hour",type:"hour",info:{today:$r,locale:Yn,cellRender:jn}}),Co,ci,function(So){Ha(yl(ur,So,Vo,Ur),"mouse")}),Ul(Pt,ne.createElement(xr,{key:"minute",type:"minute",info:{today:$r,locale:Yn,cellRender:jn}}),Vo,Li,function(So){Ha(yl(ur,Co,So,Ur),"mouse")}),Ul(Dt,ne.createElement(xr,{key:"second",type:"second",info:{today:$r,locale:Yn,cellRender:jn}}),Ur,ml,function(So){Ha(yl(ur,Co,Vo,So),"mouse")});var Pl=-1;return typeof ur=="boolean"&&(Pl=ur?1:0),Ul(jt===!0,ne.createElement(xr,{key:"meridiem",type:"meridiem",info:{today:$r,locale:Yn,cellRender:jn}}),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,Pt=ae.showHour,Dt=ae.showMinute,jt=ae.showSecond,xn=ae.use12Hours,Qt=xn===void 0?!1:xn,en=ae.onSelect,nn=ae.value,dn="".concat(Ae,"-time-panel"),Rt=ne.useRef(),ln=ne.useState(-1),kn=(0,Ze.Z)(ln,2),Pa=kn[0],Qn=kn[1],Vn=fi([Pt,Dt,jt,Qt]);return _e.current={onKeyDown:function(jn){return wn(jn,{onLeftRight:function(Sr){Qn((Pa+Sr+Vn)%Vn)},onUpDown:function(Sr){Pa===-1?Qn(0):Rt.current&&Rt.current.onUpDown(Sr)},onEnter:function(){en(nn||ie.getNow(),"key"),Qn(-1)}})},onBlur:function(){Qn(-1)}},ne.createElement("div",{className:Ut()(dn,(0,dt.Z)({},"".concat(dn,"-active"),$e))},ne.createElement(Pi,(0,oe.Z)({},ae,{format:Se,prefixCls:Ae})),ne.createElement(Ni,(0,oe.Z)({},ae,{prefixCls:Ae,activeColumnIndex:Pa,operationRef:Rt})))}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,Pt=ae.showTime,Dt=ae.onSelect,jt=ae.cellRender,xn="".concat(ie,"-datetime-panel"),Qt=ne.useState(null),en=(0,Ze.Z)(Qt,2),nn=en[0],dn=en[1],Rt=ne.useRef({}),ln=ne.useRef({}),kn=(0,Jn.Z)(Pt)==="object"?(0,zt.Z)({},Pt):{};function Pa(jn){var Yn=tl.indexOf(nn)+jn,Sr=tl[Yn]||null;return Sr}var Qn=function(Yn){ln.current.onBlur&&ln.current.onBlur(Yn),dn(null)};le.current={onKeyDown:function(Yn){if(Yn.which===It.Z.TAB){var Sr=Pa(Yn.shiftKey?-1:1);return dn(Sr),Sr&&Yn.preventDefault(),!0}if(nn){var Ya=nn==="date"?Rt:ln;return Ya.current&&Ya.current.onKeyDown&&Ya.current.onKeyDown(Yn),!0}return[It.Z.LEFT,It.Z.RIGHT,It.Z.UP,It.Z.DOWN].includes(Yn.which)?(dn("date"),!0):!1},onBlur:Qn,onClose:Qn};var Vn=function(Yn,Sr){var Ya=Yn;Sr==="date"&&!Ae&&kn.defaultValue?(Ya=Se.setHour(Ya,Se.getHour(kn.defaultValue)),Ya=Se.setMinute(Ya,Se.getMinute(kn.defaultValue)),Ya=Se.setSecond(Ya,Se.getSecond(kn.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))),Dt&&Dt(Ya,"mouse")},Ha=_e?_e(Ae||null):{};return ne.createElement("div",{className:Ut()(xn,(0,dt.Z)({},"".concat(xn,"-active"),nn))},ne.createElement(yi,(0,oe.Z)({},ae,{cellRender:jt,operationRef:Rt,active:nn==="date",onSelect:function(Yn){Vn(an(Se,Yn,!Ae&&(0,Jn.Z)(Pt)==="object"?Pt.defaultValue:null),"date")}})),ne.createElement(Ol,(0,oe.Z)({},ae,{cellRender:jt?function(jn,Yn){return jt(jn,(0,zt.Z)((0,zt.Z)({},Yn),{},{type:"time"}))}:void 0,format:void 0},kn,Ha,{disabledTime:null,defaultValue:void 0,operationRef:ln,active:nn==="time",onSelect:function(Yn){Vn(Yn,"time")}})))}var ca=fu;function lr(ae){var ie=ae.prefixCls,le=ae.generateConfig,Se=ae.viewDate,Ae=ae.onPrevDecades,$e=ae.onNextDecades,_e=ne.useContext(bt),Pt=_e.hideHeader;if(Pt)return null;var Dt="".concat(ie,"-header"),jt=le.getYear(Se),xn=Math.floor(jt/Ct)*Ct,Qt=xn+Ct-1;return ne.createElement(Br,(0,oe.Z)({},ae,{prefixCls:Dt,onSuperPrev:Ae,onSuperNext:$e}),xn,"-",Qt)}var Ar=lr,Ai=3,ul=4;function kl(ae){var ie=Lt-1,le=ae.prefixCls,Se=ae.viewDate,Ae=ae.generateConfig,$e=ae.cellRender,_e=ae.locale,Pt="".concat(le,"-cell"),Dt=Ae.getYear(Se),jt=Math.floor(Dt/Lt)*Lt,xn=Math.floor(Dt/Ct)*Ct,Qt=xn+Ct-1,en=Ae.setYear(Se,xn-Math.ceil((Ai*ul*Lt-Ct)/2)),nn=function(ln){var kn,Pa=Ae.getYear(ln),Qn=Pa+ie;return kn={},(0,dt.Z)(kn,"".concat(Pt,"-in-view"),xn<=Pa&&Qn<=Qt),(0,dt.Z)(kn,"".concat(Pt,"-selected"),Pa===jt),kn},dn=$e?function(Rt,ln){return $e(Rt,{originNode:ln,today:Ae.getNow(),type:"decade",locale:_e})}:void 0;return ne.createElement(gn,(0,oe.Z)({},ae,{rowNum:ul,colNum:Ai,baseDate:en,getCellNode:dn,getCellText:function(ln){var kn=Ae.getYear(ln);return"".concat(kn,"-").concat(kn+ie)},getCellClassName:nn,getCellDate:function(ln,kn){return Ae.addYear(ln,kn*Lt)}}))}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,Pt=ae.onPanelChange,Dt="".concat(ie,"-decade-panel");$e.current={onKeyDown:function(en){return wn(en,{onLeftRight:function(dn){_e(Se.addYear(Ae,dn*Lt),"key")},onCtrlLeftRight:function(dn){_e(Se.addYear(Ae,dn*Ct),"key")},onUpDown:function(dn){_e(Se.addYear(Ae,dn*Lt*Ai),"key")},onEnter:function(){Pt("year",Ae)}})}};var jt=function(en){var nn=Se.addYear(Ae,en*Ct);le(nn),Pt(null,nn)},xn=function(en){_e(en,"mouse"),Pt("year",en)};return ne.createElement("div",{className:Dt},ne.createElement(Ar,(0,oe.Z)({},ae,{prefixCls:ie,onPrevDecades:function(){jt(-1)},onNextDecades:function(){jt(1)}})),ne.createElement(vl,(0,oe.Z)({},ae,{prefixCls:ie,onSelect:xn})))}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,Pt=ae.onYearClick,Dt=ne.useContext(bt),jt=Dt.hideHeader;if(jt)return null;var xn="".concat(ie,"-header");return ne.createElement(Br,(0,oe.Z)({},ae,{prefixCls:xn,onSuperPrev:_e,onSuperNext:$e}),ne.createElement("button",{type:"button",onClick:Pt,className:"".concat(ie,"-year-btn")},Wt(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,Pt=ne.useContext(ft),Dt=Pt.rangedValue,jt=Pt.hoverRangedValue,xn="".concat(ie,"-cell"),Qt=sa({cellPrefixCls:xn,value:Se,generateConfig:$e,rangedValue:Dt,hoverRangedValue:jt,isSameCell:function(ln,kn){return _t($e,ln,kn)},isInView:function(){return!0},offsetCell:function(ln,kn){return $e.addMonth(ln,kn)}}),en=le.shortMonths||($e.locale.getShortMonths?$e.locale.getShortMonths(le.locale):[]),nn=$e.setMonth(Ae,0),dn=_e?function(Rt,ln){return _e(Rt,{originNode:ln,locale:le,today:$e.getNow(),type:"month"})}:void 0;return ne.createElement(gn,(0,oe.Z)({},ae,{rowNum:ke,colNum:ye,baseDate:nn,getCellNode:dn,getCellText:function(ln){return le.monthFormat?Wt(ln,{locale:le,format:le.monthFormat,generateConfig:$e}):en[$e.getMonth(ln)]},getCellClassName:Qt,getCellDate:$e.addMonth,titleCell:function(ln){return Wt(ln,{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,Pt=ae.onPanelChange,Dt=ae.onSelect,jt="".concat(ie,"-month-panel");le.current={onKeyDown:function(en){return wn(en,{onLeftRight:function(dn){Dt(Ae.addMonth($e||_e,dn),"key")},onCtrlLeftRight:function(dn){Dt(Ae.addYear($e||_e,dn),"key")},onUpDown:function(dn){Dt(Ae.addMonth($e||_e,dn*ye),"key")},onEnter:function(){Pt("date",$e||_e)}})}};var xn=function(en){var nn=Ae.addYear(_e,en);Se(nn),Pt(null,nn)};return ne.createElement("div",{className:jt},ne.createElement(fe,(0,oe.Z)({},ae,{prefixCls:ie,onPrevYear:function(){xn(-1)},onNextYear:function(){xn(1)},onYearClick:function(){Pt("year",_e)}})),ne.createElement(et,(0,oe.Z)({},ae,{prefixCls:ie,onSelect:function(en){Dt(en,"mouse"),Pt("date",en)}})))}var yt=ut;function nt(ae){var ie=ae.prefixCls,le=ae.generateConfig,Se=ae.locale,Ae=ae.viewDate,$e=ae.onNextYear,_e=ae.onPrevYear,Pt=ae.onYearClick,Dt=ne.useContext(bt),jt=Dt.hideHeader;if(jt)return null;var xn="".concat(ie,"-header");return ne.createElement(Br,(0,oe.Z)({},ae,{prefixCls:xn,onSuperPrev:_e,onSuperNext:$e}),ne.createElement("button",{type:"button",onClick:Pt,className:"".concat(ie,"-year-btn")},Wt(Ae,{locale:Se,format:Se.yearFormat,generateConfig:le})))}var ct=nt,ht=4,vn=1;function En(ae){var ie=ae.prefixCls,le=ae.locale,Se=ae.value,Ae=ae.viewDate,$e=ae.generateConfig,_e=ae.cellRender,Pt=ne.useContext(ft),Dt=Pt.rangedValue,jt=Pt.hoverRangedValue,xn="".concat(ie,"-cell"),Qt=sa({cellPrefixCls:xn,value:Se,generateConfig:$e,rangedValue:Dt,hoverRangedValue:jt,isSameCell:function(Rt,ln){return Vt($e,Rt,ln)},isInView:function(){return!0},offsetCell:function(Rt,ln){return $e.addMonth(Rt,ln*3)}}),en=$e.setDate($e.setMonth(Ae,0),1),nn=_e?function(dn,Rt){return _e(dn,{originNode:Rt,locale:le,today:$e.getNow(),type:"quarter"})}:void 0;return ne.createElement(gn,(0,oe.Z)({},ae,{rowNum:vn,colNum:ht,baseDate:en,getCellNode:nn,getCellText:function(Rt){return Wt(Rt,{locale:le,format:le.quarterFormat||"[Q]Q",generateConfig:$e})},getCellClassName:Qt,getCellDate:function(Rt,ln){return $e.addMonth(Rt,ln*3)},titleCell:function(Rt){return Wt(Rt,{locale:le,format:"YYYY-[Q]Q",generateConfig:$e})}}))}var ra=En;function Xn(ae){var ie=ae.prefixCls,le=ae.operationRef,Se=ae.onViewDateChange,Ae=ae.generateConfig,$e=ae.value,_e=ae.viewDate,Pt=ae.onPanelChange,Dt=ae.onSelect,jt="".concat(ie,"-quarter-panel");le.current={onKeyDown:function(en){return wn(en,{onLeftRight:function(dn){Dt(Ae.addMonth($e||_e,dn*3),"key")},onCtrlLeftRight:function(dn){Dt(Ae.addYear($e||_e,dn),"key")},onUpDown:function(dn){Dt(Ae.addYear($e||_e,dn),"key")}})}};var xn=function(en){var nn=Ae.addYear(_e,en);Se(nn),Pt(null,nn)};return ne.createElement("div",{className:jt},ne.createElement(ct,(0,oe.Z)({},ae,{prefixCls:ie,onPrevYear:function(){xn(-1)},onNextYear:function(){xn(1)},onYearClick:function(){Pt("year",_e)}})),ne.createElement(ra,(0,oe.Z)({},ae,{prefixCls:ie,onSelect:function(en){Dt(en,"mouse")}})))}var Ia=Xn;function wa(ae){var ie=ae.prefixCls,le=ae.generateConfig,Se=ae.locale,Ae=ae.value,$e=ae.disabledDate,_e=ae.onSelect,Pt=ne.useContext(ft),Dt=Pt.rangedValue,jt=Pt.hoverRangedValue,xn=ne.useContext(bt),Qt=xn.onDateMouseEnter,en=xn.onDateMouseLeave,nn=(jt==null?void 0:jt[0])||(Dt==null?void 0:Dt[0]),dn=(jt==null?void 0:jt[1])||(Dt==null?void 0:Dt[1]),Rt="".concat(ie,"-cell"),ln=function(Vn){var Ha=Ye({cellDate:Vn,mode:"week",disabledDate:$e,generateConfig:le});return ne.createElement("td",{key:"week",className:Ut()(Rt,"".concat(Rt,"-week")),onClick:function(){Ha||_e(Vn,"mouse")},onMouseEnter:function(){!Ha&&Qt&&Qt(Vn)},onMouseLeave:function(){!Ha&&en&&en(Vn)}},ne.createElement("div",{className:"".concat(Rt,"-inner")},le.locale.getWeek(Se.locale,Vn)))},kn="".concat(ie,"-week-panel-row"),Pa=function(Vn){var Ha,jn=Je(le,Se.locale,nn,Vn),Yn=Je(le,Se.locale,dn,Vn);return Ut()(kn,(Ha={},(0,dt.Z)(Ha,"".concat(kn,"-selected"),!Dt&&Je(le,Se.locale,Ae,Vn)),(0,dt.Z)(Ha,"".concat(kn,"-range-start"),jn),(0,dt.Z)(Ha,"".concat(kn,"-range-end"),Yn),(0,dt.Z)(Ha,"".concat(kn,"-range-hover"),!jn&&!Yn&&_n(le,nn,dn,Vn)),Ha))};return ne.createElement(yi,(0,oe.Z)({},ae,{panelName:"week",prefixColumn:ln,rowClassName:Pa,keyboardConfig:{onLeftRight:null},isSameCell:function(){return!1}}))}var Bn=wa,Kt=10;function An(ae){var ie=ae.prefixCls,le=ae.generateConfig,Se=ae.viewDate,Ae=ae.onPrevDecade,$e=ae.onNextDecade,_e=ae.onDecadeClick,Pt=ne.useContext(bt),Dt=Pt.hideHeader;if(Dt)return null;var jt="".concat(ie,"-header"),xn=le.getYear(Se),Qt=Math.floor(xn/Kt)*Kt,en=Qt+Kt-1;return ne.createElement(Br,(0,oe.Z)({},ae,{prefixCls:jt,onSuperPrev:Ae,onSuperNext:$e}),ne.createElement("button",{type:"button",onClick:_e,className:"".concat(ie,"-decade-btn")},Qt,"-",en))}var Tn=An,Ea=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,Pt=ne.useContext(ft),Dt=Pt.rangedValue,jt=Pt.hoverRangedValue,xn="".concat(ie,"-cell"),Qt=$e.getYear(Se),en=Math.floor(Qt/Kt)*Kt,nn=en+Kt-1,dn=$e.setYear(Se,en-Math.ceil((Ea*Ta-Kt)/2)),Rt=$e.getNow(),ln=function(Vn){var Ha=$e.getYear(Vn);return en<=Ha&&Ha<=nn},kn=sa({cellPrefixCls:xn,value:le,generateConfig:$e,rangedValue:Dt,hoverRangedValue:jt,isSameCell:function(Vn,Ha){return Nt($e,Vn,Ha)},isInView:ln,offsetCell:function(Vn,Ha){return $e.addYear(Vn,Ha)}}),Pa=_e?function(Qn,Vn){return _e(Qn,{originNode:Vn,today:Rt,type:"year",locale:Ae})}:void 0;return ne.createElement(gn,(0,oe.Z)({},ae,{rowNum:Ta,colNum:Ea,baseDate:dn,getCellNode:Pa,getCellText:$e.getYear,getCellClassName:kn,getCellDate:$e.addYear,titleCell:function(Vn){return Wt(Vn,{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,Pt=ae.sourceMode,Dt=ae.onSelect,jt=ae.onPanelChange,xn="".concat(ie,"-year-panel");le.current={onKeyDown:function(nn){return wn(nn,{onLeftRight:function(Rt){Dt(Ae.addYear($e||_e,Rt),"key")},onCtrlLeftRight:function(Rt){Dt(Ae.addYear($e||_e,Rt*Kt),"key")},onUpDown:function(Rt){Dt(Ae.addYear($e||_e,Rt*Ea),"key")},onEnter:function(){jt(Pt==="date"?"date":"month",$e||_e)}})}};var Qt=function(nn){var dn=Ae.addYear(_e,nn*10);Se(dn),jt(null,dn)};return ne.createElement("div",{className:xn},ne.createElement(Tn,(0,oe.Z)({},ae,{prefixCls:ie,onPrevDecade:function(){Qt(-1)},onNextDecade:function(){Qt(1)},onDecadeClick:function(){jt("decade",_e)}})),ne.createElement(Ja,(0,oe.Z)({},ae,{prefixCls:ie,onSelect:function(nn){jt(Pt==="date"?"date":"month",nn),Dt(nn,"mouse")}})))}var fa=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,Pt=ae.okDisabled,Dt=ae.showNow,jt=ae.locale,xn,Qt;if(Ae){var en=Se.button||"button";$e&&Dt!==!1&&(xn=ne.createElement("li",{className:"".concat(ie,"-now")},ne.createElement("a",{className:"".concat(ie,"-now-btn"),onClick:$e},jt.now))),Qt=Ae&&ne.createElement("li",{className:"".concat(ie,"-ok")},ne.createElement(en,{disabled:Pt,onClick:_e},jt.ok))}return!xn&&!Qt?null:ne.createElement("ul",{className:"".concat(ie,"-ranges")},xn,Qt)}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,Pt=le.locale,Dt=le.generateConfig,jt=le.value,xn=le.defaultValue,Qt=le.pickerValue,en=le.defaultPickerValue,nn=le.disabledDate,dn=le.mode,Rt=le.picker,ln=Rt===void 0?"date":Rt,kn=le.tabIndex,Pa=kn===void 0?0:kn,Qn=le.showNow,Vn=le.showTime,Ha=le.showToday,jn=le.renderExtraFooter,Yn=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=ln==="date"&&!!Vn||ln==="time",fl=24%Dr===0,ni=60%ho===0,ci=60%Bi===0,Li=ne.useContext(bt),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,Fn.Z)(null,{value:jt,defaultValue:xn,postState:function(Lr){return!Lr&&Pl&&ln==="time"?Pl:Lr}}),pu=(0,Ze.Z)(ql,2),Hl=pu[0],Yu=pu[1],rs=(0,Fn.Z)(null,{value:Qt,defaultValue:en||Hl,postState:function(Lr){var ti=Dt.getNow();if(!Lr)return ti;if(!Hl&&Vn){var ll=(0,Jn.Z)(Vn)==="object"?Vn.defaultValue:xn;return an(Dt,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[ln];return ti?ti(Lr):Lr},il=(0,Fn.Z)(function(){return ln==="time"?"time":Mi("date")},{value:dn}),Yl=(0,Ze.Z)(il,2),$i=Yl[0],tu=Yl[1];ne.useEffect(function(){tu(ln)},[ln]);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(Dt,eu,eu))&&yr(ti,ll)},_l=function(Lr,ti){var ll=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;($i===ln||ll)&&(Yu(Lr),Sr&&Sr(Lr),yl&&yl(Lr,ti),Ya&&!He(Dt,Lr,Hl)&&!(nn!=null&&nn(Lr))&&Ya(Lr))},yu=function(Lr){if(cr.includes($i)){var ti,ll,Au=$i==="date";switch(Lr===It.Z.PAGE_UP||Lr===It.Z.PAGE_DOWN?ll=Au?Dt.addMonth:Dt.addYear:ll=Au?Dt.addDate:Dt.addMonth,Lr){case It.Z.LEFT:case It.Z.PAGE_UP:ti=ll(eu,-1);break;case It.Z.RIGHT:case It.Z.PAGE_DOWN:ti=ll(eu,1);break;case It.Z.UP:case It.Z.DOWN:ti=ll(eu,Number("".concat(Lr===It.Z.UP?"-":"").concat(Au?wt: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([It.Z.LEFT,It.Z.RIGHT,It.Z.UP,It.Z.DOWN,It.Z.PAGE_UP,It.Z.PAGE_DOWN,It.Z.ENTER].includes(ll)&&(Lr.preventDefault(),ll!==It.Z.ENTER&&Pa===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(){jt&&!Ui.current&&Vl(jt)},[jt]),ne.useEffect(function(){Ui.current=!1},[]);var ii,Eu=Jt({cellRender:xl,monthCellRender:Xi,dateRender:zi}),xi=(0,zt.Z)((0,zt.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(fa,(0,oe.Z)({},xi,{onSelect:function(Lr,ti){yo(Lr),_l(Lr,ti)}}));break;case"month":ii=ne.createElement(yt,(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(Bn,(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,Jn.Z)(Vn)==="object"?Vn:null,{onSelect:function(Lr,ti){yo(Lr),_l(Lr,ti)}}));break;default:Vn?ii=ne.createElement(ca,(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=Dt.getNow(),ti=fn(Dt.getHour(Lr),Dt.getMinute(Lr),Dt.getSecond(Lr),fl?Dr:1,ni?ho:1,ci?Bi:1),ll=mn(Dt,Lr,ti[0],ti[1],ti[2]);_l(ll,"submit")};Ul||(_u=za(Ae,$i,jn),Vn&&$i!=="date"?ku=null:ku=Na({prefixCls:Ae,components:Vo,needConfirmButton:wi,okDisabled:!Hl||nn&&nn(Hl),locale:Pt,showNow:Qn,onNow:wi&&Zu,onOk:function(){Hl&&(_l(Hl,"submit",!0),Co&&Co(Hl))}}));var xu;if(Ha&&$i==="date"&&ln==="date"&&!Vn){var Xu=Dt.getNow(),As="".concat(Ae,"-today-btn"),os=nn&&nn(Xu);xu=ne.createElement("a",{className:Ut()(As,os&&"".concat(As,"-disabled")),"aria-disabled":os,onClick:function(){os||_l(Xu,"mouse",!0)}},Pt.today)}return ne.createElement(bt.Provider,{value:(0,zt.Z)((0,zt.Z)({},Li),{},{mode:$i,hideHeader:"hideHeader"in ae?Yn:Li.hideHeader,hidePrevBtn:Wi&&pi==="right",hideNextBtn:Wi&&pi==="left"})},ne.createElement("div",{tabIndex:Pa,className:Ut()("".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 Sa(){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 on(ae,ie){typeof ae=="function"?ae(ie):(0,Jn.Z)(ae)==="object"&&ae&&"current"in ae&&(ae.current=ie)}function Xt(){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){on($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 Xt.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,$n=Sa()?ne.useLayoutEffect:ne.useEffect,mr=$n,Rn=function(ie,le){var Se=React.useRef(!0);$n(function(){if(!Se.current)return ie()},le),$n(function(){return Se.current=!1,function(){Se.current=!0}},[])},ta=[];function hr(ae,ie){var le=ne.useState(function(){if(!Sa())return null;var dn=document.createElement("div");return dn}),Se=(0,Ze.Z)(le,1),Ae=Se[0],$e=ne.useRef(!1),_e=ne.useContext(Wa),Pt=ne.useState(ta),Dt=(0,Ze.Z)(Pt,2),jt=Dt[0],xn=Dt[1],Qt=_e||($e.current?void 0:function(dn){xn(function(Rt){var ln=[dn].concat((0,kt.Z)(Rt));return ln})});function en(){Ae.parentElement||document.body.appendChild(Ae),$e.current=!0}function nn(){var dn;(dn=Ae.parentElement)===null||dn===void 0||dn.removeChild(Ae),$e.current=!1}return mr(function(){return ae?_e?_e(en):en():nn(),nn},[ae]),mr(function(){jt.length&&(jt.forEach(function(dn){return dn()}),xn(ta))},[jt]),[Ae,Qt]}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 Ca(ae){return ae==="queue"?"prependQueue":ae?"prepend":"append"}function ua(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(!Sa())return null;var le=ie.csp,Se=ie.prepend,Ae=document.createElement("style");Ae.setAttribute(sr,Ca(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 Pt=ua($e).filter(function(Dt){return["prepend","prependQueue"].includes(Dt.getAttribute(sr))});if(Pt.length)return $e.insertBefore(Ae,Pt[Pt.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 ua(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 Pt;Ae.nonce=(Pt=le.csp)===null||Pt===void 0?void 0:Pt.nonce}return Ae.innerHTML!==ae&&(Ae.innerHTML=ae),Ae}var Dt=mo(ae,le);return Dt.setAttribute(wr(le),ie),Dt}var oa;function Fa(ae){if(typeof document=="undefined")return 0;if(ae||oa===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),oa=Ae-$e}return oa}function Xa(ae){var ie=ae.match(/^(.*)px$/),le=Number(ie==null?void 0:ie[1]);return Number.isNaN(le)?Fa():le}function Ln(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 zn="rc-util-locker-".concat(Date.now()),Bo=0;function to(ae){var ie=!!ae,le=ne.useState(function(){return Bo+=1,"".concat(zn,"_").concat(Bo)}),Se=(0,Ze.Z)(le,1),Ae=Se[0];mr(function(){if(ie){var $e=Ln(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:!Sa()||!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,Pt=_e===void 0?!0:_e,Dt=ae.children,jt=ne.useState(le),xn=(0,Ze.Z)(jt,2),Qt=xn[0],en=xn[1],nn=Qt||le;ne.useEffect(function(){(Pt||le)&&en(le)},[le,Pt]);var dn=ne.useState(function(){return Jr(Ae)}),Rt=(0,Ze.Z)(dn,2),ln=Rt[0],kn=Rt[1];ne.useEffect(function(){var Gr=Jr(Ae);kn(Gr!=null?Gr:null)});var Pa=hr(nn&&!ln,$e),Qn=(0,Ze.Z)(Pa,2),Vn=Qn[0],Ha=Qn[1],jn=ln!=null?ln:Vn;to(Se&&le&&Sa()&&(jn===Vn||jn===document.body));var Yn=null;if(Dt&&ka(Dt)&&ie){var Sr=Dt;Yn=Sr.ref}var Ya=$t(Yn,ie);if(!nn||!Sa()||ln===void 0)return null;var yr=jn===!1||qo(),ur=Dt;return ie&&(ur=ne.cloneElement(Dt,{ref:Ya})),ne.createElement(Wa.Provider,{value:Ha},yr?ur:(0,ai.createPortal)(ur,jn))}),ir=li,Ro=ir,Oi=z(48555);function Fi(ae){return ae instanceof HTMLElement||ae instanceof SVGElement}function Kn(ae){return Fi(ae)?ae:ae instanceof React.Component?ReactDOM.findDOMNode(ae):null}function ya(ae){var ie;return ae==null||(ie=ae.getRootNode)===null||ie===void 0?void 0:ie.call(ae)}function Nr(ae){return ya(ae)instanceof ShadowRoot}function ma(ae){return Nr(ae)?ya(ae):null}var nr=z(77527);function xo(){var ae=(0,zt.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))},Bt=ne.createContext(null),hn=Bt;function qn(ae){return ae?Array.isArray(ae)?ae:[ae]:[]}function na(ae,ie,le,Se){return ne.useMemo(function(){var Ae=qn(le!=null?le:ie),$e=qn(Se!=null?Se:ie),_e=new Set(Ae),Pt=new Set($e);return ae&&(_e.has("hover")&&(_e.delete("hover"),_e.add("click")),Pt.has("hover")&&(Pt.delete("hover"),Pt.add("click"))),[_e,Pt]},[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 Pt,Dt=$e[_e];if(ar((Pt=ae[Dt])===null||Pt===void 0?void 0:Pt.points,Ae,Se))return"".concat(ie,"-placement-").concat(Dt)}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,Pt=Ae.overflow;[$e,_e,Pt].some(function(Dt){return Se.includes(Dt)})&&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,zt.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,Pt=Ae.borderTopWidth,Dt=Ae.borderBottomWidth,jt=Ae.borderLeftWidth,xn=Ae.borderRightWidth,Qt=Se.getBoundingClientRect(),en=Se.offsetHeight,nn=Se.clientHeight,dn=Se.offsetWidth,Rt=Se.clientWidth,ln=Or(Pt),kn=Or(Dt),Pa=Or(jt),Qn=Or(xn),Vn=Wr(Math.round(Qt.width/dn*1e3)/1e3),Ha=Wr(Math.round(Qt.height/en*1e3)/1e3),jn=(dn-Rt-Pa-Qn)*Vn,Yn=(en-nn-ln-kn)*Ha,Sr=ln*Ha,Ya=kn*Ha,yr=Pa*Vn,ur=Qn*Vn,Gr=0,Co=0;if($e==="clip"){var Vo=Or(_e);Gr=Vo*Vn,Co=Vo*Ha}var Ur=Qt.x+yr-Gr,$r=Qt.y+Sr-Co,Dr=Ur+Qt.width+2*Gr-yr-ur-jn,Yo=$r+Qt.height+2*Co-Sr-Ya-Yn;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 Pt=ne.useState({ready:!1,offsetX:0,offsetY:0,offsetR:0,offsetB:0,arrowX:0,arrowY:0,scaleX:1,scaleY:1,align:Ae[Se]||{}}),Dt=(0,Ze.Z)(Pt,2),jt=Dt[0],xn=Dt[1],Qt=ne.useRef(0),en=ne.useMemo(function(){return ie?gr(ie):[]},[ie]),nn=ne.useRef({}),dn=function(){nn.current={}};ae||dn();var Rt=(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 Pa,Qn,Vn=ie,Ha=Vn.ownerDocument,jn=kr(Vn),Yn=jn.getComputedStyle(Vn),Sr=Yn.width,Ya=Yn.height,yr=Yn.position,ur=Vn.style.left,Gr=Vn.style.top,Co=Vn.style.right,Vo=Vn.style.bottom,Ur=(0,zt.Z)((0,zt.Z)({},Ae[Se]),$e),$r=Ha.createElement("div");(Pa=Vn.parentElement)===null||Pa===void 0||Pa.appendChild($r),$r.style.left="".concat(Vn.offsetLeft,"px"),$r.style.top="".concat(Vn.offsetTop,"px"),$r.style.position=yr,$r.style.height="".concat(Vn.offsetHeight,"px"),$r.style.width="".concat(Vn.offsetWidth,"px"),Vn.style.left="0",Vn.style.top="0",Vn.style.right="auto",Vn.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=Vn.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,en),Hr=vo(yl,en),ei=Pl===So?Hr:_o,Ui=pi?Hr:ei;Vn.style.left="auto",Vn.style.top="auto",Vn.style.right="0",Vn.style.bottom="0";var ql=Vn.getBoundingClientRect();Vn.style.left=ur,Vn.style.top=Gr,Vn.style.right=Co,Vn.style.bottom=Vo,(Qn=Vn.parentElement)===null||Qn===void 0||Qn.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,Gt.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,zt.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);xn({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})}}),ln=function(){Qt.current+=1;var Qn=Qt.current;Promise.resolve().then(function(){Qt.current===Qn&&Rt()})},kn=function(){xn(function(Qn){return(0,zt.Z)((0,zt.Z)({},Qn),{},{ready:!1})})};return(0,Dn.Z)(kn,[Se]),(0,Dn.Z)(function(){ae||kn()},[ae]),[jt.ready,jt.offsetX,jt.offsetY,jt.offsetR,jt.offsetB,jt.arrowX,jt.arrowY,jt.scaleX,jt.scaleY,jt.align,ln]}function dl(ae,ie,le,Se,Ae){(0,Dn.Z)(function(){if(ae&&ie&&le){let Qt=function(){Se(),Ae()};var $e=ie,_e=le,Pt=gr($e),Dt=gr(_e),jt=kr(_e),xn=new Set([jt].concat((0,kt.Z)(Pt),(0,kt.Z)(Dt)));return xn.forEach(function(en){en.addEventListener("scroll",Qt,{passive:!0})}),jt.addEventListener("resize",Qt,{passive:!0}),Se(),function(){xn.forEach(function(en){en.removeEventListener("scroll",Qt),jt.removeEventListener("resize",Qt)})}}},[ae,ie,le])}var Vi=z(60276);function cl(ae,ie,le,Se,Ae,$e,_e,Pt){var Dt=ne.useRef(ae),jt=ne.useRef(!1);Dt.current!==ae&&(jt.current=!0,Dt.current=ae),ne.useEffect(function(){var xn=(0,Nn.Z)(function(){jt.current=!1});return function(){Nn.Z.cancel(xn)}},[ae]),ne.useEffect(function(){if(ie&&Se&&(!Ae||$e)){var xn=function(){var yr=!1,ur=function(Vo){var Ur=Vo.target;yr=_e(Ur)},Gr=function(Vo){var Ur=Vo.target;!jt.current&&Dt.current&&!yr&&!_e(Ur)&&Pt(!1)};return[ur,Gr]},Qt=xn(),en=(0,Ze.Z)(Qt,2),nn=en[0],dn=en[1],Rt=xn(),ln=(0,Ze.Z)(Rt,2),kn=ln[0],Pa=ln[1],Qn=kr(Se);Qn.addEventListener("mousedown",nn,!0),Qn.addEventListener("click",dn,!0),Qn.addEventListener("contextmenu",dn,!0);var Vn=ma(le);if(Vn&&(Vn.addEventListener("mousedown",kn,!0),Vn.addEventListener("click",Pa,!0),Vn.addEventListener("contextmenu",Pa,!0)),0)var Ha,jn,Yn,Sr;return function(){Qn.removeEventListener("mousedown",nn,!0),Qn.removeEventListener("click",dn,!0),Qn.removeEventListener("contextmenu",dn,!0),Vn&&(Vn.removeEventListener("mousedown",kn,!0),Vn.removeEventListener("click",Pa,!0),Vn.removeEventListener("contextmenu",Pa,!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,Jn.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,Jn.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(Pt,Dt){Dt&&ie.current||$e(Pt)}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(),Pt=(0,Ze.Z)(_e,2),Dt=Pt[0],jt=Pt[1];function xn(){$e(Tl,!0)}return Gu(function(){if(Ae!==su&&Ae!==Yi){var Qt=qu.indexOf(Ae),en=qu[Qt+1],nn=ie(Ae);nn===Rs?$e(en,!0):Dt(function(dn){function Rt(){dn.isCanceled()||$e(en,!0)}nn===!0?Rt():Promise.resolve(nn).then(Rt)})}},[ae,Ae]),ne.useEffect(function(){return function(){jt()}},[]),[xn,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,Pt=_e===void 0?!0:_e,Dt=Se.motionLeave,jt=Dt===void 0?!0:Dt,xn=Se.motionDeadline,Qt=Se.motionLeaveImmediately,en=Se.onAppearPrepare,nn=Se.onEnterPrepare,dn=Se.onLeavePrepare,Rt=Se.onAppearStart,ln=Se.onEnterStart,kn=Se.onLeaveStart,Pa=Se.onAppearActive,Qn=Se.onEnterActive,Vn=Se.onLeaveActive,Ha=Se.onAppearEnd,jn=Se.onEnterEnd,Yn=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=jn==null?void 0:jn(Hr,_o):Ur===$u&&ei&&(Ui=Yn==null?void 0:Yn(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,en),(0,dt.Z)(_o,wu,Rt),(0,dt.Z)(_o,Ql,Pa),_o;case zu:return Hr={},(0,dt.Z)(Hr,Tl,nn),(0,dt.Z)(Hr,wu,ln),(0,dt.Z)(Hr,Ql,Qn),Hr;case $u:return ei={},(0,dt.Z)(ei,Tl,dn),(0,dt.Z)(ei,wu,kn),(0,dt.Z)(ei,Ql,Vn),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()),xn>0&&(clearTimeout(zi.current),zi.current=setTimeout(function(){wi({deadline:!0})},xn))),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&&Pt&&(Hr=hu),_o&&ie&&$e&&(Hr=zu),(_o&&!ie&&jt||!_o&&Qt&&!ie&&jt)&&(Hr=$u),Hr&&($r(Hr),Ul())}},[ie]),(0,ne.useEffect)(function(){(Ur===hu&&!Pt||Ur===zu&&!$e||Ur===$u&&!jt)&&$r(gl)},[Pt,$e,jt]),(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,zt.Z)({transition:"none"},pi)),[Ur,Pl,pi,ur!=null?ur:ie]}var Ps=function(ae){(0,Mt.Z)(le,ae);var ie=(0,Ht.Z)(le);function le(){return(0,Sn.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,Jn.Z)(ae)==="object"&&(ie=ae.transitionSupport);function le(Ae){return!!(Ae.motionName&&ie)}var Se=ne.forwardRef(function(Ae,$e){var _e=Ae.visible,Pt=_e===void 0?!0:_e,Dt=Ae.removeOnLeave,jt=Dt===void 0?!0:Dt,xn=Ae.forceRender,Qt=Ae.children,en=Ae.motionName,nn=Ae.leavedClassName,dn=Ae.eventProps,Rt=le(Ae),ln=(0,ne.useRef)(),kn=(0,ne.useRef)();function Pa(){try{return ln.current instanceof HTMLElement?ln.current:Xl(kn.current)}catch(Dr){return null}}var Qn=Wu(Rt,Pt,Pa,Ae),Vn=(0,Ze.Z)(Qn,4),Ha=Vn[0],jn=Vn[1],Yn=Vn[2],Sr=Vn[3],Ya=ne.useRef(Sr);Sr&&(Ya.current=!0);var yr=ne.useCallback(function(Dr){ln.current=Dr,vi($e,Dr)},[$e]),ur,Gr=(0,zt.Z)((0,zt.Z)({},dn),{},{visible:Pt});if(!Qt)ur=null;else if(Ha===gl||!le(Ae))Sr?ur=Qt((0,zt.Z)({},Gr),yr):!jt&&Ya.current&&nn?ur=Qt((0,zt.Z)((0,zt.Z)({},Gr),{},{className:nn}),yr):xn||!jt&&!nn?ur=Qt((0,zt.Z)((0,zt.Z)({},Gr),{},{style:{display:"none"}}),yr):ur=null;else{var Co,Vo;jn===Tl?Vo="prepare":Qs(jn)?Vo="active":jn===wu&&(Vo="start"),ur=Qt((0,zt.Z)((0,zt.Z)({},Gr),{},{className:Ut()(Ki(en,Ha),(Co={},(0,dt.Z)(Co,Ki(en,"".concat(Ha,"-").concat(Vo)),Vo),(0,dt.Z)(Co,en,typeof en=="string"),Co)),style:Yn}),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:kn},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,Jn.Z)(ae)==="object"&&"key"in ae?ie=ae:ie={key:ae},(0,zt.Z)((0,zt.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(jt){for(var xn=!1,Qt=Se;Qt<Ae;Qt+=1){var en=_e[Qt];if(en.key===jt.key){Se<Qt&&(le=le.concat(_e.slice(Se,Qt).map(function(nn){return(0,zt.Z)((0,zt.Z)({},nn),{},{status:Zs})})),Se=Qt),le.push((0,zt.Z)((0,zt.Z)({},en),{},{status:Es})),Se+=1,xn=!0;break}}xn||le.push((0,zt.Z)((0,zt.Z)({},jt),{},{status:us}))}),Se<Ae&&(le=le.concat(_e.slice(Se).map(function(jt){return(0,zt.Z)((0,zt.Z)({},jt),{},{status:Zs})})));var Pt={};le.forEach(function(jt){var xn=jt.key;Pt[xn]=(Pt[xn]||0)+1});var Dt=Object.keys(Pt).filter(function(jt){return Pt[jt]>1});return Dt.forEach(function(jt){le=le.filter(function(xn){var Qt=xn.key,en=xn.status;return Qt!==jt||en!==us}),le.forEach(function(xn){xn.key===jt&&(xn.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,Mt.Z)($e,Se);var Ae=(0,Ht.Z)($e);function $e(){var _e;(0,Sn.Z)(this,$e);for(var Pt=arguments.length,Dt=new Array(Pt),jt=0;jt<Pt;jt++)Dt[jt]=arguments[jt];return _e=Ae.call.apply(Ae,[this].concat(Dt)),(0,dt.Z)((0,pt.Z)(_e),"state",{keyEntities:[]}),(0,dt.Z)((0,pt.Z)(_e),"removeKey",function(xn){var Qt=_e.state.keyEntities,en=Qt.map(function(nn){return nn.key!==xn?nn:(0,zt.Z)((0,zt.Z)({},nn),{},{status:Wl})});return _e.setState({keyEntities:en}),en.filter(function(nn){var dn=nn.status;return dn!==Wl}).length}),_e}return(0,lt.Z)($e,[{key:"render",value:function(){var Pt=this,Dt=this.state.keyEntities,jt=this.props,xn=jt.component,Qt=jt.children,en=jt.onVisibleChanged,nn=jt.onAllRemoved,dn=(0,zo.Z)(jt,zs),Rt=xn||ne.Fragment,ln={};return Ws.forEach(function(kn){ln[kn]=dn[kn],delete dn[kn]}),delete dn.keys,ne.createElement(Rt,dn,Dt.map(function(kn){var Pa=kn.status,Qn=(0,zo.Z)(kn,Js),Vn=Pa===Zs||Pa===Es;return ne.createElement(ie,(0,oe.Z)({},ln,{key:Qn.key,visible:Vn,eventProps:Qn,onVisibleChanged:function(jn){if(en==null||en(jn,{key:Qn.key}),!jn){var Yn=Pt.removeKey(Qn.key);Yn===0&&nn&&nn()}}}),Qt)}))}}],[{key:"getDerivedStateFromProps",value:function(Pt,Dt){var jt=Pt.keys,xn=Dt.keyEntities,Qt=Uu(jt),en=ss(xn,Qt);return{keyEntities:en.filter(function(nn){var dn=xn.find(function(Rt){var ln=Rt.key;return nn.key===ln});return!(dn&&dn.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,Pt=$e.content,Dt=Ae.x,jt=Dt===void 0?0:Dt,xn=Ae.y,Qt=xn===void 0?0:xn,en=ne.useRef();if(!le||!le.points)return null;var nn={position:"absolute"};if(le.autoArrow!==!1){var dn=le.points[0],Rt=le.points[1],ln=dn[0],kn=dn[1],Pa=Rt[0],Qn=Rt[1];ln===Pa||!["t","b"].includes(ln)?nn.top=Qt:ln==="t"?nn.top=0:nn.bottom=0,kn===Qn||!["l","r"].includes(kn)?nn.left=jt:kn==="l"?nn.left=0:nn.right=0}return ne.createElement("div",{ref:en,className:Ut()("".concat(ie,"-arrow"),_e),style:nn},Pt)}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 Pt=_e.className;return ne.createElement("div",{style:{zIndex:Se},className:Ut()("".concat(ie,"-mask"),Pt)})}):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,Pt=ae.onVisibleChanged,Dt=ae.open,jt=ae.keepDom,xn=ae.fresh,Qt=ae.onClick,en=ae.mask,nn=ae.arrow,dn=ae.arrowPos,Rt=ae.align,ln=ae.motion,kn=ae.maskMotion,Pa=ae.forceRender,Qn=ae.getPopupContainer,Vn=ae.autoDestroy,Ha=ae.portal,jn=ae.zIndex,Yn=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=Dt||jt,zi=(Qn==null?void 0:Qn.length)>0,Xi=ne.useState(!Qn||!zi),xl=(0,Ze.Z)(Xi,2),wi=xl[0],fl=xl[1];if((0,Dn.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||!Dt){var Li,ml=Rt.points,yl=Rt.dynamicInset||((Li=Rt._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)),Dt||(So.pointerEvents="none"),ne.createElement(Ha,{open:Pa||Bi,getContainer:Qn&&function(){return Qn(_e)},autoDestroy:Vn},ne.createElement(js,{prefixCls:Ae,open:Dt,zIndex:jn,mask:en,motion:kn}),ne.createElement(Oi.Z,{onResize:Ur,disabled:!Dt},function(Wi){return ne.createElement(qs,(0,oe.Z)({motionAppear:!0,motionEnter:!0,motionLeave:!0,removeOnLeave:!1,forceRender:Pa,leavedClassName:"".concat(Ae,"-hidden")},ln,{onAppearPrepare:$r,onEnterPrepare:$r,visible:Dt,onVisibleChanged:function(_o){var Hr;ln==null||(Hr=ln.onVisibleChanged)===null||Hr===void 0||Hr.call(ln,_o),Pt(_o)}}),function(pi,_o){var Hr=pi.className,ei=pi.style,Ui=Ut()(Ae,Hr,Se);return ne.createElement("div",{ref:(0,ms.sQ)(Wi,ie,_o),className:Ui,style:(0,zt.Z)((0,zt.Z)((0,zt.Z)((0,zt.Z)({"--arrow-x":"".concat(dn.x||0,"px"),"--arrow-y":"".concat(dn.y||0,"px")},ci),So),ei),{},{boxSizing:"border-box",zIndex:jn},$e),onMouseEnter:Yn,onMouseLeave:Sr,onPointerEnter:Ya,onClick:Qt},nn&&ne.createElement(ed,{prefixCls:Ae,arrow:nn,arrowPos:dn,align:Rt}),ne.createElement(ds,{cache:!Dt&&!xn},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(Pt){(0,ms.mH)(ie,Se?Se(Pt):Pt)},[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,Pt=le.action,Dt=Pt===void 0?"hover":Pt,jt=le.showAction,xn=le.hideAction,Qt=le.popupVisible,en=le.defaultPopupVisible,nn=le.onPopupVisibleChange,dn=le.afterPopupVisibleChange,Rt=le.mouseEnterDelay,ln=le.mouseLeaveDelay,kn=ln===void 0?.1:ln,Pa=le.focusDelay,Qn=le.blurDelay,Vn=le.mask,Ha=le.maskClosable,jn=Ha===void 0?!0:Ha,Yn=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,Dn.Z)(function(){ei(tt())},[]);var Ui=ne.useRef({}),ql=ne.useContext(hn),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=ma(gu))===null||Ci===void 0?void 0:Ci.host)===so||so===gu||(du==null?void 0:du.contains(so))||((lu=ma(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(en||!1),yu=(0,Ze.Z)(_l,2),Ru=yu[0],Si=yu[1],ii=Qt!=null?Qt:Ru,Eu=(0,nr.Z)(function(so){Qt===void 0&&Si(so)});(0,Dn.Z)(function(){Si(Qt||!1)},[Qt]);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,Dn.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=na(Hr,Dt,jt,xn),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,Dn.Z)(function(){is()},[Ms,Vo]),(0,Dn.Z)(function(){ii&&!($r!=null&&$r[Vo])&&is()},[JSON.stringify(Dr)]);var bd=ne.useMemo(function(){var so=pr($r,$e,El,zi);return Ut()(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(),dn==null||dn(Ci)},ju=function(){return new Promise(function(Ci){Sd(),Au(function(){return Ci})})};(0,Dn.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,Vn,jn,Su,xu);var Pd=Ns.has("hover"),$s=Os.has("hover"),Ds,Ed;Pd&&(Ss("onMouseEnter",!0,Rt,function(so){Bl(so)}),Ss("onPointerEnter",!0,Rt,function(so){Bl(so)}),Ds=function(){(ii||os)&&xu(!0,Rt)},zi&&(cu.onMouseMove=function(so){var Ci;(Ci=Rl.onMouseMove)===null||Ci===void 0||Ci.call(Rl,so)})),$s&&(Ss("onMouseLeave",!1,kn),Ss("onPointerLeave",!1,kn),Ed=function(){xu(!1,kn)}),Ns.has("focus")&&Ss("onFocus",!0,Pa),Os.has("focus")&&Ss("onBlur",!1,Qn),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=Ut()(Rl.className,Ul));var ld=(0,zt.Z)((0,zt.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,zt.Z)((0,zt.Z)({},ld),Fd)),Bd={x:gs,y:Ys},Rd=wi?(0,zt.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(hn.Provider,{value:pu},ne.createElement(bs,{portal:ae,ref:Vl,prefixCls:$e,popup:ur,className:Ut()(Gr,bd),style:Co,target:il,onMouseEnter:Ds,onMouseLeave:Ed,onPointerEnter:Ds,zIndex:Yo,open:ii,keepDom:os,fresh:Bi,onClick:Xi,mask:Vn,motion:jl,maskMotion:nu,onVisibleChanged:yd,onPrepare:ju,forceRender:Sr,autoDestroy:Wi,getPopupContainer:Yn,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,Pt=ae.dropdownAlign,Dt=ae.transitionName,jt=ae.getPopupContainer,xn=ae.children,Qt=ae.range,en=ae.popupPlacement,nn=ae.direction,dn="".concat(le,"-dropdown"),Rt=function(){return en!==void 0?en:nn==="rtl"?"bottomRight":"bottomLeft"};return ne.createElement(Vu,{showAction:[],hideAction:[],popupPlacement:Rt(),builtinPlacements:Hu,prefixCls:dn,popupTransitionName:Dt,popup:Se,popupAlign:Pt,popupVisible:$e,popupClassName:Ut()(_e,(ie={},(0,dt.Z)(ie,"".concat(dn,"-range"),Qt),(0,dt.Z)(ie,"".concat(dn,"-rtl"),nn==="rtl"),ie)),popupStyle:Ae,getPopupContainer:jt},xn)}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 Pt=$e.label,Dt=$e.value;return ne.createElement("li",{key:_e,onClick:function(){return Se==null?void 0:Se(Jo(Dt))},onMouseEnter:function(){return Ae==null?void 0:Ae(Jo(Dt))},onMouseLeave:function(){return Ae==null?void 0:Ae(null)}},Pt)}))):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,Jn.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,Pt=le.tabIndex,Dt=le.style,jt=le.className,xn=le.dropdownClassName,Qt=le.dropdownAlign,en=le.popupStyle,nn=le.transitionName,dn=le.generateConfig,Rt=le.locale,ln=le.inputReadOnly,kn=le.allowClear,Pa=le.autoFocus,Qn=le.showTime,Vn=le.picker,Ha=Vn===void 0?"date":Vn,jn=le.format,Yn=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"&&!!Qn||Ha==="time",ql=wo(yr),pu=ao(xa(jn,Ha,Qn,Yn)),Hl=ne.useRef(null),Yu=ne.useRef(null),rs=ne.useRef(null),du=(0,Fn.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,Fn.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=xt(Yl,{formatList:pu,generateConfig:dn,locale:Rt}),_l=(0,Ze.Z)(nu,2),yu=_l[0],Ru=_l[1],Si=At({valueTexts:yu,onTextChange:function(fo){var ou=ot(fo,{locale:Rt,formatList:pu,generateConfig:dn});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(dn,Vl,fo)&&zi(fo,fo?Wt(fo,{generateConfig:dn,locale:Rt,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=Yt(Eu,{formatList:pu,generateConfig:dn,locale:Rt}),cs=(0,Ze.Z)(hs,3),Ms=cs[0],Fs=cs[1],Bl=cs[2],Xo=(0,zt.Z)((0,zt.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:dn,className:Ut()((0,dt.Z)({},"".concat(Ae,"-panel-focused"),!Au)),value:Yl,locale:Rt,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,kn,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=!!kn&&Vl&&!$r,gs=(0,zt.Z)((0,zt.Z)((0,zt.Z)({id:$e,tabIndex:Pt,disabled:$r,readOnly:ln||typeof pu[0]=="function"||!Au,value:Ms||Eu,onChange:function(fo){xi(fo.target.value)},autoFocus:Pa,placeholder:Yo,ref:ei,title:Eu},Lr),{},{size:Hn(Ha,pu[0],dn),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(bt.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:en,prefixCls:Ae,dropdownClassName:xn,dropdownAlign:Qt,getPopupContainer:ho,transitionName:nn,popupPlacement:ps,direction:So},ne.createElement("div",{ref:rs,className:Ut()(Ae,jt,(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:Dt,onMouseDown:fl,onMouseUp:ni,onMouseEnter:ci,onMouseLeave:Li,onContextMenu:ml,onClick:Xu},ne.createElement("div",{className:Ut()("".concat(Ae,"-input"),(0,dt.Z)({},"".concat(Ae,"-input-placeholder"),!!Ms)),ref:Yu},Ys,Us,Vs&&ad))))}var it=function(ae){(0,Mt.Z)(le,ae);var ie=(0,Ht.Z)(le);function le(){var Se;(0,Sn.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,pt.Z)(Se),"pickerRef",ne.createRef()),(0,dt.Z)((0,pt.Z)(Se),"focus",function(){Se.pickerRef.current&&Se.pickerRef.current.focus()}),(0,dt.Z)((0,pt.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),Et=it;function Tt(ae,ie){var le=ae.picker,Se=ae.locale,Ae=ae.selectedValue,$e=ae.disabledDate,_e=ae.disabled,Pt=ae.generateConfig,Dt=rr(Ae,0),jt=rr(Ae,1);function xn(Rt){return Pt.locale.getWeekFirstDate(Se.locale,Rt)}function Qt(Rt){var ln=Pt.getYear(Rt),kn=Pt.getMonth(Rt);return ln*100+kn}function en(Rt){var ln=Pt.getYear(Rt),kn=On(Pt,Rt);return ln*10+kn}var nn=ne.useCallback(function(Rt){if(_e[0]||$e&&$e(Rt))return!0;if(_e[1]&&jt)return!Mn(Pt,Rt,jt)&&Pt.isAfter(Rt,jt);if(!ie&&jt)switch(le){case"quarter":return en(Rt)>en(jt);case"month":return Qt(Rt)>Qt(jt);case"week":return xn(Rt)>xn(jt);default:return!Mn(Pt,Rt,jt)&&Pt.isAfter(Rt,jt)}return!1},[$e,_e[1],jt,ie]),dn=ne.useCallback(function(Rt){if(_e[1]||$e&&$e(Rt))return!0;if(_e[0]&&Dt)return!Mn(Pt,Rt,jt)&&Pt.isAfter(Dt,Rt);if(!ie&&Dt)switch(le){case"quarter":return en(Rt)<en(Dt);case"month":return Qt(Rt)<Qt(Dt);case"week":return xn(Rt)<xn(Dt);default:return!Mn(Pt,Rt,Dt)&&Pt.isAfter(Dt,Rt)}return!1},[$e,_e[0],Dt,ie]);return[nn,dn]}function Ot(ae,ie,le,Se,Ae,$e,_e,Pt,Dt,jt){var xn=ne.useState(!1),Qt=(0,Ze.Z)(xn,2),en=Qt[0],nn=Qt[1],dn=(0,Vi.useMergedState)(ae||!1,{value:ie}),Rt=(0,Ze.Z)(dn,2),ln=Rt[0],kn=Rt[1],Pa=(0,Vi.useMergedState)(ae||!1,{value:ie,onChange:function(Dr){jt==null||jt(Dr)}}),Qn=(0,Ze.Z)(Pa,2),Vn=Qn[0],Ha=Qn[1],jn=(0,Vi.useMergedState)(0,{value:le}),Yn=(0,Ze.Z)(jn,2),Sr=Yn[0],Ya=Yn[1],yr=ne.useState(null),ur=(0,Ze.Z)(yr,2),Gr=ur[0],Co=ur[1];ne.useEffect(function(){Vn&&nn(!0)},[Vn]);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);!Vn||![_e,Pt][ho]?Co(ho):(nn(!1),Gr!==null&&Co(null))}else if(Yo==="confirm"||Yo==="blur"&&Se){var bo=ln?Vo(Dr):Gr;bo!==null&&(nn(!1),Ya(bo)),Co(null),bo!==null&&!Dt[bo]?(0,Nn.Z)(function(){var Bi,zi=[Ae,$e][bo];(Bi=zi.current)===null||Bi===void 0||Bi.focus()}):Ha(!1)}else Ha(!1),kn(!1)});return[Vn,Sr,en,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,Pt){return sn(Se,_e,Pt)});case"quarter":case"month":return $e(function(_e,Pt){return Nt(Se,_e,Pt)});default:return $e(function(_e,Pt){return _t(Se,_e,Pt)})}}function yn(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 un(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),Pt=_e[0],Dt=_e[1],jt=ne.useState(null),xn=(0,Ze.Z)(jt,2),Qt=xn[0],en=xn[1],nn=rr(ie,0),dn=rr(ie,1);function Rt(kn){return Pt[kn]?Pt[kn]:rr(Qt,kn)||yn(ie,kn,le,Ae)||nn||dn||Ae.getNow()}function ln(kn,Pa){if(kn){var Qn=qr(Qt,kn,Pa);Dt(qr(Pt,null,Pa)||[null,null]);var Vn=(Pa+1)%2;rr(ie,Vn)||(Qn=qr(Qn,kn,Vn)),en(Qn)}else(nn||dn)&&en(null)}return[Rt,ln]}function Gn(ae,ie){return ae&&ae[0]&&ae[1]&&ie.isAfter(ae[0],ae[1])?[ae[1],ae[0]]:ae}function Un(ae,ie,le,Se){return!!(ae||Se&&Se[ie]||le[(ie+1)%2])}function ea(ae){var ie,le,Se,Ae=ae,$e=Ae.prefixCls,_e=$e===void 0?"rc-picker":$e,Pt=Ae.id,Dt=Ae.style,jt=Ae.className,xn=Ae.popupStyle,Qt=Ae.dropdownClassName,en=Ae.transitionName,nn=Ae.dropdownAlign,dn=Ae.getPopupContainer,Rt=Ae.generateConfig,ln=Ae.locale,kn=Ae.placeholder,Pa=Ae.autoFocus,Qn=Ae.disabled,Vn=Ae.format,Ha=Ae.picker,jn=Ha===void 0?"date":Ha,Yn=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=jn==="date"&&!!Yn||jn==="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(xa(Vn,jn,Yn,Sr)),Ru=(0,ne.useRef)(null),Si=ne.useMemo(function(){return Array.isArray(Qn)?Qn:[Qn||!1,Qn||!1]},[Qn]),ii=(0,Fn.Z)(null,{value:ur,defaultValue:Gr,postState:function(ro){return jn==="time"&&!du?ro:Gn(ro,Rt)}}),Eu=(0,Ze.Z)(ii,2),xi=Eu[0],_u=Eu[1],ku=un({values:xi,picker:jn,defaultDates:Co,generateConfig:Rt}),Zu=(0,Ze.Z)(ku,2),xu=Zu[0],Xu=Zu[1],As=(0,Fn.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,Rt.getNow(),rl));return Go}}),os=(0,Ze.Z)(As,2),ko=os[0],Lr=os[1],ti=(0,Fn.Z)([jn,jn],{value:ml}),ll=(0,Ze.Z)(ti,2),Au=ll[0],hs=ll[1];(0,ne.useEffect)(function(){hs([jn,jn])},[jn]);var cs=function(ro,Go){hs(ro),So&&So(Go,ro)},Ms=Ot(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=Tt({picker:jn,selectedValue:ko,locale:ln,disabled:Si,disabledDate:$r,generateConfig:Rt},!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,Nn.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&&Rt.isAfter(rl,au)&&(jn==="week"&&!Je(Rt,ln.locale,rl,au)||jn==="quarter"&&!Vt(Rt,rl,au)||jn!=="week"&&jn!=="quarter"&&jn!=="time"&&!Mn(Rt,rl,au)?ro===0?(Go=[rl,null],au=null):(rl=null,Go=[null,au]):(jn!=="time"||du!==!1)&&(Go=Gn(Go,Rt))),Lr(Go);var Md=Go&&Go[0]?Wt(Go[0],{generateConfig:Rt,locale:ln,format:yu[0]}):"",Bs=Go&&Go[1]?Wt(Go[1],{generateConfig:Rt,locale:ln,format:yu[0]}):"";if(Wi){var cd={range:ro===0?"start":"end"};Wi(Go,[Md,Bs],cd)}var gd=Un(rl,0,Si,xl),kd=Un(au,1,Si,xl),Cd=Go===null||gd&&kd;Cd&&(_u(Go),Ul&&(!He(Rt,rr(xi,0),rl)||!He(Rt,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:Rt,locale:ln},rd=xt(rr(ko,0),Os),_s=(0,Ze.Z)(rd,2),is=_s[0],Nd=_s[1],bd=xt(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:ln,formatList:yu,generateConfig:Rt}),au=Go===0?gs:Ys;rl&&!au(rl)&&(Lr(qr(ko,rl,Go)),Xu(rl,Go))},Id=At({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=At({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=Yt(id,{formatList:yu,generateConfig:Rt,locale:ln}),so=(0,Ze.Z)(Rd,3),Ci=so[0],lu=so[1],gu=so[2],uu=Yt(ju,{formatList:yu,generateConfig:Rt,locale:ln}),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,zt.Z)((0,zt.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,zt.Z)((0,zt.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]?Wt(xi[0],{locale:ln,format:"YYYYMMDDHHmmss",generateConfig:Rt}):"",xc=xi&&xi[1]?Wt(xi[1],{locale:ln,format:"YYYYMMDDHHmmss",generateConfig:Rt}):"";(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=Jt({cellRender:bo,monthCellRender:ho,dateRender:Yo}),Ac=ne.useMemo(function(){if(Hd)return function(el,ro){return Hd(el,(0,zt.Z)((0,zt.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]&&Rt.isAfter(Is[1],Is[0])&&(Go=Is);var rl=Yn;if(Yn&&(0,Jn.Z)(Yn)==="object"&&Yn.defaultValue){var au=Yn.defaultValue;rl=(0,zt.Z)((0,zt.Z)({},Yn),{},{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:Rt,style:void 0,direction:eu,disabledDate:Xo===0?gs:Ys,disabledTime:function(Bs){return Dr?Dr(Bs,Xo===0?"start":"end"):!1},className:Ut()((0,dt.Z)({},"".concat(_e,"-panel-focused"),Xo===0?!Jd:!nc)),value:rr(ko,Xo),locale:ln,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,Rt,-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:ln,onOk:function(){var Ls=rr(ko,Xo);Ls&&(iu(ko,Xo),Hl==null||Hl(ko),Fu(!1,Xo,"confirm"))}});if(jn!=="time"&&!Yn){var rl=xu(Xo),au=Xe(rl,jn,Rt),Md=Au[Xo],Bs=Md===jn,cd=jd(Bs?"left":!1,{pickerValue:rl,onPickerValueChange:function(Ls){Xu(Ls,Xo)}}),gd=jd("right",{pickerValue:au,onPickerValueChange:function(Ls){Xu(Xe(Ls,jn,Rt,-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:Ut()("".concat(_e,"-range-wrapper"),"".concat(_e,"-").concat(jn,"-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:Hn(jn,yu[0],Rt)},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(bt.Provider,{value:{operationRef:Ru,hideHeader:jn==="time",onDateMouseEnter:gc,onDateMouseLeave:fc,hideRanges:!0,onSelect:Rc,open:Bl}},ne.createElement(ce,{visible:Bl,popupElement:Mc,popupStyle:xn,prefixCls:_e,dropdownClassName:Qt,dropdownAlign:nn,getPopupContainer:dn,transitionName:en,range:!0,direction:eu},ne.createElement("div",(0,oe.Z)({ref:$i,className:Ut()(_e,"".concat(_e,"-range"),jt,(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:Dt,onClick:Cc,onMouseEnter:Ui,onMouseLeave:ql,onMouseDown:bc,onMouseUp:ei},(0,Zn.Z)(ae,{aria:!0,data:!0})),ne.createElement("div",{className:Ut()("".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:Pt,disabled:Si[0],readOnly:Li||typeof yu[0]=="function"||!Jd,value:Ci||id,onChange:function(ro){Ad(ro.target.value)},autoFocus:Pa,placeholder:rr(kn,0)||"",ref:jl},yc,lc,{autoComplete:Mi}))),ne.createElement("div",{className:"".concat(_e,"-range-separator"),ref:Su},yr),ne.createElement("div",{className:Ut()("".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(kn,1)||"",ref:nu},Ec,lc,{autoComplete:Mi}))),ne.createElement("div",{className:"".concat(_e,"-active-bar"),style:(0,zt.Z)((0,zt.Z)({},Tc),{},{width:Gd,position:"absolute"})}),ic,Ic&&Oc)))}var Ra=function(ae){(0,Mt.Z)(le,ae);var ie=(0,Ht.Z)(le);function le(){var Se;(0,Sn.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,pt.Z)(Se),"pickerRef",ne.createRef()),(0,dt.Z)((0,pt.Z)(Se),"focus",function(){Se.pickerRef.current&&Se.pickerRef.current.focus()}),(0,dt.Z)((0,pt.Z)(Se),"blur",function(){Se.pickerRef.current&&Se.pickerRef.current.blur()}),Se}return(0,lt.Z)(le,[{key:"render",value:function(){return ne.createElement(ea,(0,oe.Z)({},this.props,{pickerRef:this.pickerRef}))}}]),le}(ne.Component),ba=Ra,Ka=Et,Da=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),Pt=Math.max(ie-$e-_e,0);return{padding:`${_e}px ${Se}px ${Pt}px`}},Di=ae=>{const{componentCls:ie,pickerCellCls:le,pickerCellInnerCls:Se,cellHeight:Ae,motionDurationSlow:$e,borderRadiusSM:_e,motionDurationMid:Pt,cellHoverBg:Dt,lineWidth:jt,lineType:xn,colorPrimary:Qt,cellActiveWithRangeBg:en,colorTextLightSolid:nn,controlHeightSM:dn,cellRangeBorderColor:Rt,pickerCellBorderGap:ln,cellHoverWithRangeBg:kn,cellWidth:Pa,colorTextDisabled:Qn,cellBgDisabled:Vn}=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 ${Pt}, border ${Pt}`},"&-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:Dt}},[`&-in-view${le}-today ${Se}`]:{"&::before":{position:"absolute",top:0,insetInlineEnd:0,bottom:0,insetInlineStart:0,zIndex:1,border:`${jt}px ${xn} ${Qt}`,borderRadius:_e,content:'""'}},[`&-in-view${le}-in-range`]:{position:"relative","&::before":{background:en}},[`&-in-view${le}-selected ${Se},
|
|
&-in-view${le}-range-start ${Se},
|
|
&-in-view${le}-range-end ${Se}`]:{color:nn,background:Qt},[`&-in-view${le}-range-start:not(${le}-range-start-single),
|
|
&-in-view${le}-range-end:not(${le}-range-end-single)`]:{"&::before":{background:en}},[`&-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:dn,borderTop:`${jt}px dashed ${Rt}`,borderBottom:`${jt}px dashed ${Rt}`,transform:"translateY(-50%)",transition:`all ${$e}`,content:'""'}},"&-range-hover-start::after,\n &-range-hover-end::after,\n &-range-hover::after":{insetInlineEnd:0,insetInlineStart:ln},[`&-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:kn},[`&-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:(Pa-Ae)/2,borderInlineStart:`${jt}px dashed ${Rt}`,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:(Pa-Ae)/2,borderInlineEnd:`${jt}px dashed ${Rt}`,borderStartEndRadius:_e,borderEndEndRadius:_e},"&-disabled":{color:Qn,pointerEvents:"none",[Se]:{background:"transparent"},"&::before":{background:Vn}},[`&-disabled${le}-today ${Se}::before`]:{borderColor:Qn}}},di=ae=>{const{componentCls:ie,pickerCellCls:le,pickerCellInnerCls:Se,pickerYearMonthCellWidth:Ae,pickerControlIconSize:$e,cellWidth:_e,paddingSM:Pt,paddingXS:Dt,paddingXXS:jt,colorBgContainer:xn,lineWidth:Qt,lineType:en,borderRadiusLG:nn,colorPrimary:dn,colorTextHeading:Rt,colorSplit:ln,pickerControlIconBorderWidth:kn,colorIcon:Pa,textHeight:Qn,motionDurationMid:Vn,colorIconHover:Ha,fontWeightStrong:jn,cellHeight:Yn,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-Dt*2)/3-Ae-Pt,yl=(Li-Dt*2)/4-Ae;return{[ie]:{"&-panel":{display:"inline-flex",flexDirection:"column",textAlign:"center",background:xn,border:`${Qt}px ${en} ${ln}`,borderRadius:nn,outline:"none","&-focused":{borderColor:dn},"&-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 ${Dt}px`,color:Rt,borderBottom:`${Qt}px ${en} ${ln}`,"> *":{flex:"none"},button:{padding:0,color:Pa,lineHeight:`${Qn}px`,background:"transparent",border:0,cursor:"pointer",transition:`color ${Vn}`,fontSize:"inherit"},"> button":{minWidth:"1.6em",fontSize:ur,"&:hover":{color:Ha}},"&-view":{flex:"auto",fontWeight:jn,lineHeight:`${Qn}px`,button:{color:"inherit",fontWeight:"inherit",verticalAlign:"top","&:not(:first-child)":{marginInlineStart:Dt},"&:hover":{color:dn}}}},"&-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:kn,borderBlockEndWidth:0,borderInlineStartWidth:kn,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:kn,borderBlockEndWidth:0,borderInlineStartWidth:kn,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:Yn,fontWeight:"normal"},th:{height:Yn+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-Yn)/2,insetInlineStart:0},[`&-date-panel ${ie}-cell-in-view${ie}-cell-in-range${ie}-cell-range-hover-end ${Se}::after`]:{insetInlineEnd:0,insetInlineStart:-(_e-Yn)/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 ${Dt}px`}},"&-quarter-panel":{[`${ie}-content`]:{height:Ur},[`${ie}-cell-range-hover-start::after`]:{insetInlineStart:yl,borderInlineStart:`${Qt}px dashed ${ho}`,[`${ie}-panel-rtl &`]:{insetInlineEnd:yl,borderInlineEnd:`${Qt}px dashed ${ho}`}},[`${ie}-cell-range-hover-end::after`]:{insetInlineEnd:yl,borderInlineEnd:`${Qt}px dashed ${ho}`,[`${ie}-panel-rtl &`]:{insetInlineStart:yl,borderInlineStart:`${Qt}px dashed ${ho}`}}},[`&-panel ${ie}-footer`]:{borderTop:`${Qt}px ${en} ${ln}`},"&-footer":{width:"min-content",minWidth:"100%",lineHeight:`${Qn-2*Qt}px`,textAlign:"center","&-extra":{padding:`0 ${Pt}px`,lineHeight:`${Qn-2*Qt}px`,textAlign:"start","&:not(:last-child)":{borderBottom:`${Qt}px ${en} ${ln}`}}},"&-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 ${Dt/2}px`},[`${ie}-cell::before`]:{display:"none"}},"&-year-panel,\n &-quarter-panel,\n &-month-panel":{[`${ie}-body`]:{padding:`0 ${Dt}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:`${Qt}px dashed ${ho}`,[`${ie}-panel-rtl &`]:{insetInlineEnd:ml,borderInlineEnd:`${Qt}px dashed ${ho}`}},[`${ie}-cell-range-hover-end::after`]:{insetInlineEnd:ml,borderInlineEnd:`${Qt}px dashed ${ho}`,[`${ie}-panel-rtl &`]:{insetInlineStart:ml,borderInlineStart:`${Qt}px dashed ${ho}`}}},"&-week-panel":{[`${ie}-body`]:{padding:`${Dt}px ${Pt}px`},[`${ie}-cell`]:{[`&:hover ${Se},
|
|
&-selected ${Se},
|
|
${Se}`]:{background:"transparent !important"}},"&-row":{td:{"&:before":{transition:`background ${Vn}`},"&: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:dn},[`&${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:`${Dt}px ${ci}px`},[`${ie}-content`]:{width:_e*7,th:{width:_e,boxSizing:"border-box",padding:0}}},"&-datetime-panel":{display:"flex",[`${ie}-time-panel`]:{borderInlineStart:`${Qt}px ${en} ${ln}`},[`${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:`${jt}px 0`,padding:0,overflowY:"hidden",textAlign:"start",listStyle:"none",transition:`background ${Vn}`,overflowX:"hidden","&::after":{display:"block",height:Xi-wi,content:'""'},"&:not(:first-child)":{borderInlineStart:`${Qt}px ${en} ${ln}`},"&-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 ${Vn}`,"&: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+jt*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:Pt,lineType:Dt,colorBorder:jt,borderRadius:xn,motionDurationMid:Qt,colorBgContainerDisabled:en,colorTextDisabled:nn,colorTextPlaceholder:dn,controlHeightLG:Rt,fontSizeLG:ln,controlHeightSM:kn,paddingInlineSM:Pa,paddingXS:Qn,marginXS:Vn,colorTextDescription:Ha,lineWidthBold:jn,lineHeight:Yn,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:`${Pt}px ${Dt} ${jt}`,borderRadius:xn,transition:`border ${Qt}, box-shadow ${Qt}`,"&:hover, &-focused":Object.assign({},(0,or.pU)(ae)),"&-focused":Object.assign({},(0,or.M1)(ae)),[`&${ie}-disabled`]:{background:en,borderColor:jt,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:dn}}},"&-large":Object.assign(Object.assign({},jo(ae,Rt,ln,$e)),{[`${ie}-input > input`]:{fontSize:ln}}),"&-small":Object.assign({},jo(ae,kn,Ae,Pa)),[`${ie}-suffix`]:{display:"flex",flex:"none",alignSelf:"center",marginInlineStart:Qn/2,color:nn,lineHeight:1,pointerEvents:"none","> *":{verticalAlign:"top","&:not(:last-child)":{marginInlineEnd:Vn}}},[`${ie}-clear`]:{position:"absolute",top:"50%",insetInlineEnd:0,color:nn,lineHeight:1,background:_e,transform:"translateY(-50%)",cursor:"pointer",opacity:0,transition:`opacity ${Qt}, color ${Qt}`,"> *":{verticalAlign:"top"},"&:hover":{color:Ha}},[`${ie}-separator`]:{position:"relative",display:"inline-block",width:"1em",height:ln,color:nn,fontSize:ln,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:-Pt,height:jn,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 ${Qn}px`,lineHeight:1},[`&${ie}-small`]:{[`${ie}-clear`]:{insetInlineEnd:Pa},[`${ie}-active-bar`]:{marginInlineStart:Pa}}},"&-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*Pt-Qn/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:Qn,borderInlineEnd:`${Pt}px ${Dt} ${Xi}`,li:Object.assign(Object.assign({},$a.vS),{borderRadius:zi,paddingInline:Qn,paddingBlock:(kn-Math.round(Ae*Yn))/2,cursor:"pointer",transition:`all ${Ya}`,"+ li":{marginTop:Vn},"&:hover":{background:xl}})}},[`${ie}-panels`]:{display:"inline-flex",flexWrap:"nowrap",direction:"ltr",[`${ie}-panel`]:{borderWidth:`0 0 ${Pt}px`},"&:last-child":{[`${ie}-panel`]:{borderWidth:0}}},[`${ie}-panel`]:{verticalAlign:"top",background:"transparent",borderRadius:0,borderWidth:0,[`${ie}-content,
|
|
table`]:{textAlign:"center"},"&-focused":{borderColor:jt}}}}),"&-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,Pt=vr(ie)[0],Dt=Object.assign({},ae);return ie&&Array.isArray(ie)&&(Dt.format=Pt),Pt&&typeof Pt=="string"&&(!Pt.includes("s")&&$e===void 0&&(Dt.showSecond=!1),!Pt.includes("m")&&Ae===void 0&&(Dt.showMinute=!1),!Pt.includes("H")&&!Pt.includes("h")&&!Pt.includes("K")&&!Pt.includes("k")&&Se===void 0&&(Dt.showHour=!1),(Pt.includes("a")||Pt.includes("A"))&&_e===void 0&&(Dt.use12Hours=!0)),le==="time"?Dt:(typeof Pt=="function"&&delete Dt.format,{showTime:Dt})}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:Pt,size:Dt,disabled:jt,bordered:xn=!0,placeholder:Qt,popupClassName:en,dropdownClassName:nn,status:dn,clearIcon:Rt,allowClear:ln,rootClassName:kn}=le,Pa=bi(le,["prefixCls","getPopupContainer","className","placement","size","disabled","bordered","placeholder","popupClassName","dropdownClassName","status","clearIcon","allowClear","rootClassName"]),Qn=ne.useRef(null),{getPrefixCls:Vn,direction:Ha,getPopupContainer:jn}=(0,ne.useContext)(qa.E_),Yn=Vn("picker",Ae),{compactSize:Sr,compactItemClassnames:Ya}=(0,Ao.ri)(Yn,Ha),{format:yr,showTime:ur,picker:Gr}=le,Co=Vn(),[Vo,Ur]=Va(Yn),$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=Dt!=null?Dt:Sr)!==null&&ci!==void 0?ci:ni}),Yo=ne.useContext(Fr.Z),ho=jt!=null?jt: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=Qn.current)===null||ni===void 0?void 0:ni.focus()},blur:()=>{var ni;return(ni=Qn.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(ba,Object.assign({separator:ne.createElement("span",{"aria-label":"to",className:`${Yn}-separator`},ne.createElement(gt,null)),disabled:ho,ref:Qn,dropdownAlign:Zi(Ha,Pt),placeholder:Ko(fl,Gr,Qt),suffixIcon:xl,prevIcon:ne.createElement("span",{className:`${Yn}-prev-icon`}),nextIcon:ne.createElement("span",{className:`${Yn}-next-icon`}),superPrevIcon:ne.createElement("span",{className:`${Yn}-super-prev-icon`}),superNextIcon:ne.createElement("span",{className:`${Yn}-super-next-icon`}),transitionName:`${Co}-slide-up`},Pa,$r,{className:Ut()({[`${Yn}-${Dr}`]:Dr,[`${Yn}-borderless`]:!xn},(0,Da.Z)(Yn,(0,Da.F)(zi,dn),Bi),Ur,Ya,_e,kn),locale:fl.lang,prefixCls:Yn,getPopupContainer:$e||jn,generateConfig:ae,components:To,direction:Ha,dropdownClassName:Ut()(Ur,en||nn,kn),allowClear:Kr(ln,Rt,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(Dt,jt){const xn=jt==="TimePicker"?"timePicker":"datePicker",Qt=(0,ne.forwardRef)((en,nn)=>{const{prefixCls:dn,getPopupContainer:Rt,style:ln,className:kn,rootClassName:Pa,size:Qn,bordered:Vn=!0,placement:Ha,placeholder:jn,popupClassName:Yn,dropdownClassName:Sr,disabled:Ya,status:yr,clearIcon:ur,allowClear:Gr}=en,Co=Lu(en,["prefixCls","getPopupContainer","style","className","rootClassName","size","bordered","placement","placeholder","popupClassName","dropdownClassName","disabled","status","clearIcon","allowClear"]),{getPrefixCls:Vo,direction:Ur,getPopupContainer:$r,[xn]:Dr}=(0,ne.useContext)(qa.E_),Yo=Vo("picker",dn),{compactSize:ho,compactItemClassnames:bo}=(0,Ao.ri)(Yo,Ur),Bi=ne.useRef(null),{format:zi,showTime:Xi}=en,[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={};Dt&&(ni.picker=Dt);const ci=Dt||en.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},en),{picker:ci})):{});const Li=Vo(),ml=(0,Zr.Z)(Ui=>{var ql;return(ql=Qn!=null?Qn: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),en.locale);return xl(ne.createElement(Ka,Object.assign({ref:Bi,placeholder:_r(ei,ci,jn),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:Ut()({[`${Yo}-${ml}`]:ml,[`${Yo}-borderless`]:!Vn},(0,Da.Z)(Yo,(0,Da.F)(Wi,yr),So),wi,bo,Dr==null?void 0:Dr.className,kn,Pa),style:Object.assign(Object.assign({},Dr==null?void 0:Dr.style),ln),prefixCls:Yo,getPopupContainer:Rt||$r,generateConfig:ae,components:To,direction:Ur,disabled:Ul,dropdownClassName:Ut()(wi,Pa,Yn||Sr),allowClear:Kr(Gr,ur,ne.createElement(Ue.Z,null))})))});return jt&&(Qt.displayName=jt),Qt}const le=ie(),Se=ie("week","WeekPicker"),Ae=ie("month","MonthPicker"),$e=ie("year","YearPicker"),_e=ie("time","TimePicker"),Pt=ie("quarter","QuarterPicker");return{DatePicker:le,WeekPicker:Se,MonthPicker:Ae,YearPicker:$e,TimePicker:_e,QuarterPicker:Pt}}const vs=null;function Jl(ae){const{DatePicker:ie,WeekPicker:le,MonthPicker:Se,YearPicker:Ae,TimePicker:$e,QuarterPicker:_e}=Pu(ae),Pt=hi(ae),Dt=ie;return Dt.WeekPicker=le,Dt.MonthPicker=Se,Dt.YearPicker=Ae,Dt.RangePicker=Pt,Dt.TimePicker=$e,Dt.QuarterPicker=_e,Dt}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 Bt=x.useRef({});return(!("value"in Bt.current)||tt(Bt.current.condition,qe))&&(Bt.current.value=Oe(),Bt.current.condition=qe),Bt.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 Bt=qe.filter(function(hn){return hn});return Bt.length<=1?Bt[0]:function(hn){qe.forEach(function(qn){de(qn,hn)})}}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(Bt,hn){return Bt.length===hn.length&&Bt.every(function(qn,na){return qn===hn[na]})})}function be(Oe){var qe,tt,Bt=(0,oe.isMemo)(Oe)?Oe.type.type:Oe.type;return!(typeof Bt=="function"&&!((qe=Bt.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 Bt=React.useRef(!0);Re(function(){if(!Bt.current)return qe()},tt),Re(function(){return Bt.current=!1,function(){Bt.current=!0}},[])},Ue=[];function Ge(Oe,qe){var tt=x.useState(function(){if(!De())return null;var vo=document.createElement("div");return vo}),Bt=(0,je.Z)(tt,1),hn=Bt[0],qn=x.useRef(!1),na=x.useContext(Ce),ar=x.useState(Ue),pr=(0,je.Z)(ar,2),dr=pr[0],kr=pr[1],gr=na||(qn.current?void 0:function(vo){kr(function(ui){var Qo=[vo].concat((0,Ne.Z)(ui));return Qo})});function Wr(){hn.parentElement||document.body.appendChild(hn),qn.current=!0}function Or(){var vo;(vo=hn.parentElement)===null||vo===void 0||vo.removeChild(hn),qn.current=!1}return at(function(){return Oe?na?na(Wr):Wr():Or(),Or},[Oe]),at(function(){dr.length&&(dr.forEach(function(vo){return vo()}),kr(Ue))},[dr]),[hn,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",Ft=new Map;function Ut(){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 Sn(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 pt(Oe){return Array.from((Ft.get(Oe)||Oe).children).filter(function(qe){return qe.tagName==="STYLE"})}function Mt(Oe){var qe=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(!De())return null;var tt=qe.csp,Bt=qe.prepend,hn=document.createElement("style");hn.setAttribute(rt,lt(Bt)),tt!=null&&tt.nonce&&(hn.nonce=tt==null?void 0:tt.nonce),hn.innerHTML=Oe;var qn=Sn(qe),na=qn.firstChild;if(Bt){if(Bt==="queue"){var ar=pt(qn).filter(function(pr){return["prepend","prependQueue"].includes(pr.getAttribute(rt))});if(ar.length)return qn.insertBefore(hn,ar[ar.length-1].nextSibling),hn}qn.insertBefore(hn,na)}else qn.appendChild(hn);return hn}function Ht(Oe){var qe=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},tt=Sn(qe);return pt(tt).find(function(Bt){return Bt.getAttribute(Ut(qe))===Oe})}function dt(Oe){var qe=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},tt=Ht(Oe,qe);if(tt){var Bt=Sn(qe);Bt.removeChild(tt)}}function zt(Oe,qe){var tt=Ft.get(Oe);if(!tt||!Ve(document,tt)){var Bt=Mt("",qe),hn=Bt.parentNode;Ft.set(Oe,hn),Oe.removeChild(Bt)}}function Ze(){Ft.clear()}function Fn(Oe,qe){var tt=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},Bt=Sn(tt);zt(Bt,tt);var hn=Ht(qe,tt);if(hn){var qn,na;if((qn=tt.csp)!==null&&qn!==void 0&&qn.nonce&&hn.nonce!==((na=tt.csp)===null||na===void 0?void 0:na.nonce)){var ar;hn.nonce=(ar=tt.csp)===null||ar===void 0?void 0:ar.nonce}return hn.innerHTML!==Oe&&(hn.innerHTML=Oe),hn}var pr=Mt(Oe,tt);return pr.setAttribute(Ut(tt),qe),pr}var Zn;function La(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"),Bt=tt.style;Bt.position="absolute",Bt.top="0",Bt.left="0",Bt.pointerEvents="none",Bt.visibility="hidden",Bt.width="200px",Bt.height="150px",Bt.overflow="hidden",tt.appendChild(qe),document.body.appendChild(tt);var hn=qe.offsetWidth;tt.style.overflow="scroll";var qn=qe.offsetWidth;hn===qn&&(qn=tt.clientWidth),document.body.removeChild(tt),Zn=hn-qn}return Zn}function vt(Oe){var qe=Oe.match(/^(.*)px$/),tt=Number(qe==null?void 0:qe[1]);return Number.isNaN(tt)?La():tt}function Lt(Oe){if(typeof document=="undefined"||!Oe||!(Oe instanceof Element))return{width:0,height:0};var qe=getComputedStyle(Oe,"::-webkit-scrollbar"),tt=qe.width,Bt=qe.height;return{width:vt(tt),height:vt(Bt)}}function Ct(){return document.body.scrollHeight>(window.innerHeight||document.documentElement.clientHeight)&&window.innerWidth>document.body.offsetWidth}var wt="rc-util-locker-".concat(Date.now()),Cn=0;function sn(Oe){var qe=!!Oe,tt=x.useState(function(){return Cn+=1,"".concat(wt,"_").concat(Cn)}),Bt=(0,je.Z)(tt,1),hn=Bt[0];at(function(){if(qe){var qn=Lt(document.body).width,na=Ct();Fn(`
|
|
html body {
|
|
overflow-y: hidden;
|
|
`.concat(na?"width: calc(100% - ".concat(qn,"px);"):"",`
|
|
}`),hn)}else dt(hn);return function(){dt(hn)}},[qe,hn])}var Nt=!1;function On(Oe){return typeof Oe=="boolean"&&(Nt=Oe),Nt}var Vt=function(qe){return qe===!1?!1:!De()||!qe?null:typeof qe=="string"?document.querySelector(qe):typeof qe=="function"?qe():qe},_t=x.forwardRef(function(Oe,qe){var tt=Oe.open,Bt=Oe.autoLock,hn=Oe.getContainer,qn=Oe.debug,na=Oe.autoDestroy,ar=na===void 0?!0:na,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 Vt(hn)}),ui=(0,je.Z)(vo,2),Qo=ui[0],mi=ui[1];x.useEffect(function(){var wl=Vt(hn);mi(wl!=null?wl:null)});var Uo=Ge(Or&&!Qo,qn),po=(0,je.Z)(Uo,2),jr=po[0],dl=po[1],Vi=Qo!=null?Qo:jr;sn(Bt&&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||On(),vi=pr;return qe&&(vi=x.cloneElement(pr,{ref:Xl})),x.createElement(Ce.Provider,{value:dl},qi?vi:(0,Ke.createPortal)(vi,Vi))}),Mn=_t,bn=Mn,Je=z(48555);function He(Oe){return Oe instanceof HTMLElement||Oe instanceof SVGElement}function _n(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 Wt(Oe){return Xe(Oe)?Me(Oe):null}function ot(Oe){var qe=x.useRef();qe.current=Oe;var tt=x.useCallback(function(){for(var Bt,hn=arguments.length,qn=new Array(hn),na=0;na<hn;na++)qn[na]=arguments[na];return(Bt=qe.current)===null||Bt===void 0?void 0:Bt.call.apply(Bt,[qe].concat(qn))},[]);return tt}function Ye(){var Oe=(0,Le.Z)({},ge);return Oe.useId}var xt=0;function Yt(){}var It=Ye(),Nn=It?function(qe){var tt=It();return qe||tt}:function(qe){var tt=x.useState("ssr-id"),Bt=(0,je.Z)(tt,2),hn=Bt[0],qn=Bt[1];return x.useEffect(function(){var na=xt;xt+=1,qn("rc_unique_".concat(na))},[]),qe||hn};function kt(){return!!(typeof window!="undefined"&&window.document&&window.document.createElement)}var Gt=kt()?x.useLayoutEffect:x.useEffect,St=function(qe,tt){var Bt=x.useRef(!0);Gt(function(){return qe(Bt.current)},tt),Gt(function(){return Bt.current=!1,function(){Bt.current=!0}},[])},Pn=function(qe,tt){St(function(Bt){if(!Bt)return qe()},tt)},qt=St,wn=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))},xa=x.createContext(null),Hn=xa;function la(Oe){return Oe?Array.isArray(Oe)?Oe:[Oe]:[]}function Ba(Oe,qe,tt,Bt){return x.useMemo(function(){var hn=la(tt!=null?tt:qe),qn=la(Bt!=null?Bt:qe),na=new Set(hn),ar=new Set(qn);return Oe&&(na.has("hover")&&(na.delete("hover"),na.add("click")),ar.has("hover")&&(ar.delete("hover"),ar.add("click"))),[na,ar]},[Oe,qe,tt,Bt])}var rn=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,Bt=qe.height;if(tt||Bt)return!0}if(Oe.getBoundingClientRect){var hn=Oe.getBoundingClientRect(),qn=hn.width,na=hn.height;if(qn||na)return!0}}return!1};function cn(){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 pn(Oe,qe,tt,Bt){for(var hn=tt.points,qn=Object.keys(Oe),na=0;na<qn.length;na+=1){var ar,pr=qn[na];if(cn((ar=Oe[pr])===null||ar===void 0?void 0:ar.points,hn,Bt))return"".concat(qe,"-placement-").concat(pr)}return""}function Aa(Oe,qe,tt,Bt){return qe||(tt?{motionName:"".concat(Oe,"-").concat(tt)}:Bt?{motionName:Bt}:null)}function ha(Oe){return Oe.ownerDocument.defaultView}function aa(Oe){for(var qe=[],tt=Oe==null?void 0:Oe.parentElement,Bt=["hidden","scroll","clip","auto"];tt;){var hn=ha(tt).getComputedStyle(tt),qn=hn.overflowX,na=hn.overflowY,ar=hn.overflow;[qn,na,ar].some(function(pr){return Bt.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(Bt){if(!(Bt instanceof HTMLBodyElement||Bt instanceof HTMLHtmlElement)){var hn=ha(Bt).getComputedStyle(Bt),qn=hn.overflow,na=hn.overflowClipMargin,ar=hn.borderTopWidth,pr=hn.borderBottomWidth,dr=hn.borderLeftWidth,kr=hn.borderRightWidth,gr=Bt.getBoundingClientRect(),Wr=Bt.offsetHeight,Or=Bt.clientHeight,vo=Bt.offsetWidth,ui=Bt.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(qn==="clip"){var al=_a(na);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),Bt=tt.match(/^(.*)\%$/);return Bt?Oe*(parseFloat(Bt[1])/100):parseFloat(tt)}function Dn(Oe,qe){var tt=qe||[],Bt=(0,je.Z)(tt,2),hn=Bt[0],qn=Bt[1];return[wo(Oe.width,hn),wo(Oe.height,qn)]}function At(){var Oe=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"";return[Oe[0],Oe[1]]}function Zt(Oe,qe){var tt=qe[0],Bt=qe[1],hn,qn;return tt==="t"?qn=Oe.y:tt==="b"?qn=Oe.y+Oe.height:qn=Oe.y+Oe.height/2,Bt==="l"?hn=Oe.x:Bt==="r"?hn=Oe.x+Oe.width:hn=Oe.x+Oe.width/2,{x:hn,y:qn}}function bt(Oe,qe){var tt={t:"b",b:"t",l:"r",r:"l"};return Oe.map(function(Bt,hn){return hn===qe?tt[Bt]||"c":Bt}).join("")}function Jn(Oe,qe,tt,Bt,hn,qn,na){var ar=x.useState({ready:!1,offsetX:0,offsetY:0,offsetR:0,offsetB:0,arrowX:0,arrowY:0,scaleX:1,scaleY:1,align:hn[Bt]||{}}),pr=(0,je.Z)(ar,2),dr=pr[0],kr=pr[1],gr=x.useRef(0),Wr=x.useMemo(function(){return qe?aa(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=ha(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)({},hn[Bt]),qn),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)&&!rn(tt))return;var ys=si.offset,Ts=si.targetOffset,Ju=Dn(Ri,ys),fd=(0,je.Z)(Ju,2),Gu=fd[0],qu=fd[1],Rs=Dn(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=At(vd),Iu=At(Ps),Zs=Zt(Ho,fs),Es=Zt(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=Zt(Ho,["t","l"]),Js=Zt(Ri,["t","l"]),Ws=Zt(Ho,["b","r"]),es=Zt(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=[bt(Iu,0),bt(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=[bt(Iu,0),bt(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),Et=Tr(Qe,ol,Lo);it>Uu||it===Uu&&(!Ql||Et>=ss)?(Or.current.rl=!0,Wl=Qe,Gu=-Gu,us.points=[bt(Iu,1),bt(fs,1)]):Or.current.rl=!1}if(Be&&Iu[1]==="r"&&(bs<Bu.left||Or.current.lr)){var Tt=Wl;We?Tt+=Ki-hu:Tt=Ws.x-Js.x-Gu;var Ot=Tr(Tt,ol),tn=Tr(Tt,ol,Lo);Ot>Uu||Ot===Uu&&(!Ql||tn>=ss)?(Or.current.lr=!0,Wl=Tt,Gu=-Gu,us.points=[bt(Iu,1),bt(fs,1)]):Or.current.lr=!1}co();var yn=ed===!0?0:ed;typeof yn=="number"&&(bs<Lo.left&&(Wl-=bs-Lo.left-Gu,Ho.x+hu<Lo.left+yn&&(Wl+=Ho.x-Lo.left+hu-yn)),ws>Lo.right&&(Wl-=ws-Lo.right-Gu,Ho.x>Lo.right-yn&&(Wl+=Ho.x-Lo.right+yn)));var un=js===!0?0:js;typeof un=="number"&&(ds<Lo.top&&(ol-=ds-Lo.top-qu,Ho.y+gl<Lo.top+un&&(ol+=Ho.y-Lo.top+gl-un)),Cs>Lo.bottom&&(ol-=Cs-Lo.bottom-qu,Ho.y>Lo.bottom-un&&(ol+=Ho.y-Lo.bottom+un)));var Gn=Ri.x+Wl,Un=Gn+Ki,ea=Ri.y+ol,Ra=ea+Ml,ba=Ho.x,Ka=ba+hu,Da=Ho.y,qa=Da+gl,Fr=Math.max(Gn,ba),Zr=Math.min(Un,Ka),Cr=(Fr+Zr)/2,uo=Cr-Gn,Ao=Math.max(ea,Da),fr=Math.min(Ra,qa),Pr=(Ao+fr)/2,or=Pr-ea;na==null||na(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 qt(mi,[Bt]),qt(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 Jt(Oe,qe,tt,Bt,hn){qt(function(){if(Oe&&qe&&tt){let gr=function(){Bt(),hn()};var qn=qe,na=tt,ar=aa(qn),pr=aa(na),dr=ha(na),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}),Bt(),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),Bt=_slicedToArray(tt,2),hn=Bt[0],qn=Bt[1];React.useEffect(function(){return qe.current=!1,function(){qe.current=!0}},[]);function na(ar,pr){pr&&qe.current||qn(ar)}return[hn,na]}function Zo(Oe){return Oe!==void 0}function ao(Oe,qe){var tt=qe||{},Bt=tt.defaultValue,hn=tt.value,qn=tt.onChange,na=tt.postState,ar=useState(function(){return Zo(hn)?hn:Zo(Bt)?typeof Bt=="function"?Bt():Bt:typeof Oe=="function"?Oe():Oe}),pr=_slicedToArray(ar,2),dr=pr[0],kr=pr[1],gr=hn!==void 0?hn:dr,Wr=na?na(gr):gr,Or=useEvent(qn),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(hn)||kr(hn)},[hn]);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 Bt=x.useRef({});return(!("value"in Bt.current)||tt(Bt.current.condition,qe))&&(Bt.current.value=Oe(),Bt.current.condition=qe),Bt.current.value}function Jo(Oe,qe){typeof Oe=="function"?Oe(qe):(0,re.Z)(Oe)==="object"&&Oe&&"current"in Oe&&(Oe.current=qe)}function sa(){for(var Oe=arguments.length,qe=new Array(Oe),tt=0;tt<Oe;tt++)qe[tt]=arguments[tt];var Bt=qe.filter(function(hn){return hn});return Bt.length<=1?Bt[0]:function(hn){qe.forEach(function(qn){Jo(qn,hn)})}}function Vr(){for(var Oe=arguments.length,qe=new Array(Oe),tt=0;tt<Oe;tt++)qe[tt]=arguments[tt];return qr(function(){return sa.apply(void 0,qe)},qe,function(Bt,hn){return Bt.length!==hn.length||Bt.every(function(qn,na){return qn!==hn[na]})})}function ft(Oe){var qe,tt,Bt=(0,rr.isMemo)(Oe)?Oe.type.type:Oe.type;return!(typeof Bt=="function"&&!((qe=Bt.prototype)!==null&&qe!==void 0&&qe.render)||typeof Oe=="function"&&!((tt=Oe.prototype)!==null&&tt!==void 0&&tt.render))}function mn(Oe){return!isValidElement(Oe)||isFragment(Oe)?!1:ft(Oe)}function an(Oe,qe,tt,Bt){if(!qe.length)return tt;var hn=_toArray(qe),qn=hn[0],na=hn.slice(1),ar;return!Oe&&typeof qn=="number"?ar=[]:Array.isArray(Oe)?ar=_toConsumableArray(Oe):ar=_objectSpread({},Oe),Bt&&tt===void 0&&na.length===1?delete ar[qn][na[0]]:ar[qn]=an(ar[qn],na,tt,Bt),ar}function fn(Oe,qe,tt){var Bt=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!1;return qe.length&&Bt&&tt===void 0&&!get(Oe,qe.slice(0,-1))?Oe:an(Oe,qe,tt,Bt)}function da(Oe){return _typeof(Oe)==="object"&&Oe!==null&&Object.getPrototypeOf(Oe)===Object.prototype}function gn(Oe){return Array.isArray(Oe)?[]:{}}var ia=typeof Reflect=="undefined"?Object.keys:Reflect.ownKeys;function In(){for(var Oe=arguments.length,qe=new Array(Oe),tt=0;tt<Oe;tt++)qe[tt]=arguments[tt];var Bt=gn(qe[0]);return qe.forEach(function(hn){function qn(na,ar){var pr=new Set(ar),dr=get(hn,na),kr=Array.isArray(dr);if(kr||da(dr)){if(!pr.has(dr)){pr.add(dr);var gr=get(Bt,na);kr?Bt=fn(Bt,na,[]):(!gr||_typeof(gr)!=="object")&&(Bt=fn(Bt,na,gn(dr))),ia(dr).forEach(function(Wr){qn([].concat(_toConsumableArray(na),[Wr]),pr)})}}else Bt=fn(Bt,na,dr)}qn([])}),Bt}var pa={},Qa=[],Br=function(qe){Qa.push(qe)};function no(Oe,qe){if(0)var tt}function No(Oe,qe){if(0)var tt}function Wn(){pa={}}function Qi(Oe,qe,tt){!qe&&!pa[tt]&&(Oe(!1,tt),pa[tt]=!0)}function yi(Oe,qe){Qi(no,Oe,qe)}function Yr(Oe,qe){Qi(No,Oe,qe)}yi.preMessage=Br,yi.resetWarned=Wn,yi.noteOnce=Yr;var Pi=null,va=function(qe){return+setTimeout(qe,16)},tr=function(qe){return clearTimeout(qe)};typeof window!="undefined"&&"requestAnimationFrame"in window&&(va=function(qe){return window.requestAnimationFrame(qe)},tr=function(qe){return window.cancelAnimationFrame(qe)});var xr=0,ga=new Map;function eo(Oe){ga.delete(Oe)}var Oo=function(qe){var tt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1;xr+=1;var Bt=xr;function hn(qn){if(qn===0)eo(Bt),qe();else{var na=va(function(){hn(qn-1)});ga.set(Bt,na)}}return hn(tt),Bt};Oo.cancel=function(Oe){var qe=ga.get(Oe);return eo(qe),tr(qe)};var Ni=Oo;function fi(Oe,qe,tt,Bt,hn,qn,na,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&&Bt&&(!hn||qn)){var kr=function(){var qi=!1,vi=function(al){var si=al.target;qi=na(si)},wl=function(al){var si=al.target;!dr.current&&pr.current&&!qi&&!na(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=ha(Bt);po.addEventListener("mousedown",Or,!0),po.addEventListener("click",vo,!0),po.addEventListener("contextmenu",vo,!0);var jr=Wt(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,Bt,hn,qn])}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 ca=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=ca[Oe];if(qe)for(var tt=Object.keys(qe),Bt=tt.length,hn=0;hn<Bt;hn+=1){var qn=tt[hn];if(Object.prototype.hasOwnProperty.call(qe,qn)&&qn in lr)return Ai[Oe]=qe[qn],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(Bt){return Bt[1].toUpperCase()});return Oe[tt]}return"".concat(Oe,"-").concat(qe)}var ye="none",ke="appear",Pe="enter",et="leave",ut="none",yt="prepare",nt="start",ct="active",ht="end";function vn(Oe){var qe=x.useRef(!1),tt=x.useState(Oe),Bt=(0,je.Z)(tt,2),hn=Bt[0],qn=Bt[1];x.useEffect(function(){return qe.current=!1,function(){qe.current=!0}},[]);function na(ar,pr){pr&&qe.current||qn(ar)}return[hn,na]}var En=function(qe){return+setTimeout(qe,16)},ra=function(qe){return clearTimeout(qe)};typeof window!="undefined"&&"requestAnimationFrame"in window&&(En=function(qe){return window.requestAnimationFrame(qe)},ra=function(qe){return window.cancelAnimationFrame(qe)});var Xn=0,Ia=new Map;function wa(Oe){Ia.delete(Oe)}var Bn=function(qe){var tt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1;Xn+=1;var Bt=Xn;function hn(qn){if(qn===0)wa(Bt),qe();else{var na=En(function(){hn(qn-1)});Ia.set(Bt,na)}}return hn(tt),Bt};Bn.cancel=function(Oe){var qe=Ia.get(Oe);return wa(qe),ra(qe)};var Kt=Bn,An=function(){var Oe=x.useRef(null);function qe(){Kt.cancel(Oe.current)}function tt(Bt){var hn=arguments.length>1&&arguments[1]!==void 0?arguments[1]:2;qe();var qn=Kt(function(){hn<=1?Bt({isCanceled:function(){return qn!==Oe.current}}):tt(Bt,hn-1)});Oe.current=qn}return x.useEffect(function(){return function(){qe()}},[]),[tt,qe]},Tn=De()?x.useLayoutEffect:x.useEffect,Ea=Tn,Ta=[yt,nt,ct,ht],Ma=!1,Ja=!0;function Za(Oe){return Oe===ct||Oe===ht}var fa=function(Oe,qe){var tt=vn(ut),Bt=(0,je.Z)(tt,2),hn=Bt[0],qn=Bt[1],na=An(),ar=(0,je.Z)(na,2),pr=ar[0],dr=ar[1];function kr(){qn(yt,!0)}return Ea(function(){if(hn!==ut&&hn!==ht){var gr=Ta.indexOf(hn),Wr=Ta[gr+1],Or=qe(hn);Or===Ma?qn(Wr,!0):pr(function(vo){function ui(){vo.isCanceled()||qn(Wr,!0)}Or===!0?ui():Promise.resolve(Or).then(ui)})}},[Oe,hn]),x.useEffect(function(){return function(){dr()}},[]),[kr,hn]},za=function(Oe){var qe=(0,x.useRef)(),tt=(0,x.useRef)(Oe);tt.current=Oe;var Bt=x.useCallback(function(na){tt.current(na)},[]);function hn(na){na&&(na.removeEventListener(Po,Bt),na.removeEventListener(ru,Bt))}function qn(na){qe.current&&qe.current!==na&&hn(qe.current),na&&na!==qe.current&&(na.addEventListener(Po,Bt),na.addEventListener(ru,Bt),qe.current=na)}return x.useEffect(function(){return function(){hn(qe.current)}},[]),[qn,hn]};function Na(Oe,qe,tt,Bt){var hn=Bt.motionEnter,qn=hn===void 0?!0:hn,na=Bt.motionAppear,ar=na===void 0?!0:na,pr=Bt.motionLeave,dr=pr===void 0?!0:pr,kr=Bt.motionDeadline,gr=Bt.motionLeaveImmediately,Wr=Bt.onAppearPrepare,Or=Bt.onEnterPrepare,vo=Bt.onLeavePrepare,ui=Bt.onAppearStart,Qo=Bt.onEnterStart,mi=Bt.onLeaveStart,Uo=Bt.onAppearActive,po=Bt.onEnterActive,jr=Bt.onLeaveActive,dl=Bt.onAppearEnd,Vi=Bt.onEnterEnd,cl=Bt.onLeaveEnd,bl=Bt.onVisibleChanged,Xl=vn(),qi=(0,je.Z)(Xl,2),vi=qi[0],wl=qi[1],Il=vn(ye),al=(0,je.Z)(Il,2),si=al[0],ji=al[1],Ho=vn(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,yt,Wr),(0,se.Z)(Yi,nt,ui),(0,se.Z)(Yi,ct,Uo),Yi;case Pe:return Lo={},(0,se.Z)(Lo,yt,Or),(0,se.Z)(Lo,nt,Qo),(0,se.Z)(Lo,ct,po),Lo;case et:return zl={},(0,se.Z)(zl,yt,vo),(0,se.Z)(zl,nt,mi),(0,se.Z)(zl,ct,jr),zl;default:return{}}},[si]),hu=fa(si,function(Yi){if(Yi===yt){var Lo=gl[yt];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,Ea(function(){wl(qe);var Yi=vu.current;if(vu.current=!0,!!Oe){var Lo;!Yi&&qe&&ar&&(Lo=ke),Yi&&qe&&qn&&(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&&!qn||si===et&&!dr)&&ji(ye)},[ar,qn,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[yt]&&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),Sa=ai;function ri(Oe){var qe=Oe;(0,re.Z)(Oe)==="object"&&(qe=Oe.transitionSupport);function tt(hn){return!!(hn.motionName&&qe)}var Bt=x.forwardRef(function(hn,qn){var na=hn.visible,ar=na===void 0?!0:na,pr=hn.removeOnLeave,dr=pr===void 0?!0:pr,kr=hn.forceRender,gr=hn.children,Wr=hn.motionName,Or=hn.leavedClassName,vo=hn.eventProps,ui=tt(hn),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,hn),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(qn,Ho)},[qn]),vi,wl=(0,Le.Z)((0,Le.Z)({},vo),{},{visible:ar});if(!gr)vi=null;else if(dl===ye||!tt(hn))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===yt?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(Sa,{ref:mi},vi)});return Bt.displayName="CSSMotion",Bt}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=[],Bt=0,hn=qe.length,qn=Cl(Oe),na=Cl(qe);qn.forEach(function(dr){for(var kr=!1,gr=Bt;gr<hn;gr+=1){var Wr=na[gr];if(Wr.key===dr.key){Bt<gr&&(tt=tt.concat(na.slice(Bt,gr).map(function(Or){return(0,Le.Z)((0,Le.Z)({},Or),{},{status:mu})})),Bt=gr),tt.push((0,Le.Z)((0,Le.Z)({},Wr),{},{status:Ll})),Bt+=1,kr=!0;break}}kr||tt.push((0,Le.Z)((0,Le.Z)({},dr),{},{status:sl}))}),Bt<hn&&(tt=tt.concat(na.slice(Bt).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 on=["component","children","onVisibleChanged","onAllRemoved"],Xt=["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(Bt){(0,oo.Z)(qn,Bt);var hn=(0,zo.Z)(qn);function qn(){var na;(0,cr.Z)(this,qn);for(var ar=arguments.length,pr=new Array(ar),dr=0;dr<ar;dr++)pr[dr]=arguments[dr];return na=hn.call.apply(hn,[this].concat(pr)),(0,se.Z)((0,Kl.Z)(na),"state",{keyEntities:[]}),(0,se.Z)((0,Kl.Z)(na),"removeKey",function(kr){var gr=na.state.keyEntities,Wr=gr.map(function(Or){return Or.key!==kr?Or:(0,Le.Z)((0,Le.Z)({},Or),{},{status:Ti})});return na.setState({keyEntities:Wr}),Wr.filter(function(Or){var vo=Or.status;return vo!==Ti}).length}),na}return(0,br.Z)(qn,[{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,on),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,Xt),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)})}}}]),qn}(x.Component);return(0,se.Z)(tt,"defaultProps",{component:"div"}),tt}var Mr=ka(hl),Wa=Ji;function $n(Oe){var qe=Oe.prefixCls,tt=Oe.align,Bt=Oe.arrow,hn=Oe.arrowPos,qn=Bt||{},na=qn.className,ar=qn.content,pr=hn.x,dr=pr===void 0?0:pr,kr=hn.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"),na),style:Or},ar)}function mr(Oe){var qe=Oe.prefixCls,tt=Oe.open,Bt=Oe.zIndex,hn=Oe.mask,qn=Oe.motion;return hn?x.createElement(Wa,(0,ze.Z)({},qn,{motionAppear:!0,visible:tt,removeOnLeave:!0}),function(na){var ar=na.className;return x.createElement("div",{style:{zIndex:Bt},className:we()("".concat(qe,"-mask"),ar)})}):null}var Rn=x.memo(function(Oe){var qe=Oe.children;return qe},function(Oe,qe){return qe.cache}),ta=Rn,hr=x.forwardRef(function(Oe,qe){var tt=Oe.popup,Bt=Oe.className,hn=Oe.prefixCls,qn=Oe.style,na=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(qt(function(){!ki&&$l&&na&&Du(!0)},[ki,$l,na]),!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(na)},autoDestroy:jr},x.createElement(mr,{prefixCls:hn,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(hn,"-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()(hn,Lo,Bt);return x.createElement("div",{ref:sa(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},qn),onMouseEnter:cl,onMouseLeave:bl,onPointerEnter:Xl,onClick:gr},Or&&x.createElement($n,{prefixCls:hn,arrow:Or,arrowPos:vo,align:ui}),x.createElement(ta,{cache:!pr&&!kr},Gl))})}))}),Do=hr,sr=x.forwardRef(function(Oe,qe){var tt=Oe.children,Bt=Oe.getTriggerDOMNode,hn=ft(tt),qn=x.useCallback(function(ar){Jo(qe,Bt?Bt(ar):ar)},[Bt]),na=Vr(qn,tt.ref);return hn?x.cloneElement(tt,{ref:na}):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,Bt){var hn=tt.prefixCls,qn=hn===void 0?"rc-trigger-popup":hn,na=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];qt(function(){zl(wn())},[]);var Bu=x.useRef({}),Qu=x.useContext(Hn),ls=x.useMemo(function(){return{registerSubPopup:function(_r,Ko){Bu.current[_r]=Ko,Qu==null||Qu.registerSubPopup(_r,Ko)}}},[Qu]),Ku=Nn(),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(na),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=Wt(Zi))===null||_r===void 0?void 0:_r.host)===Va||Va===Zi||(Ju==null?void 0:Ju.contains(Va))||((Ko=Wt(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=Aa(qn,Du,gl,Ki),Iu=Aa(qn,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)});qt(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];qt(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=Jn(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],Et=Hu[7],Tt=Hu[8],Ot=Hu[9],tn=Hu[10],yn=Ba(Lo,pr,dr,kr),un=(0,je.Z)(yn,2),Gn=un[0],Un=un[1],ea=Gn.has("click"),Ra=Un.has("click")||Un.has("contextMenu"),ba=ot(function(){ms||tn()}),Ka=function(){ss.current&&$l&&Ra&&es(!1)};Jt(ol,ns,Ju,ba,Ka),qt(function(){ba()},[Ks,al]),qt(function(){ol&&!(ji!=null&&ji[al])&&ba()},[JSON.stringify(Ho)]);var Da=x.useMemo(function(){var Va=pn(ji,qn,Ot,$l);return we()(Va,Gl==null?void 0:Gl(Ot))},[Ot,Gl,ji,qn,$l]);x.useImperativeHandle(Bt,function(){return{forceAlign:ba}});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(),ba()},Er=function(_r){ed(!1),tn(),vo==null||vo(_r)},Tr=function(){return new Promise(function(_r){or(),Cs(function(){return _r})})};qt(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))}}(ea||Ra)&&(Ps.onClick=function(Va){var _r;ss.current&&Ra?es(!1):!ss.current&&ea&&(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=Gn.has("hover"),Ir=Un.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)}),Gn.has("focus")&&co("onFocus",!0,Uo),Un.has("focus")&&co("onBlur",!1,po),Gn.has("contextMenu")&&(Ps.onContextMenu=function(Va){var _r;ss.current&&Un.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(Hn.Provider,{value:ls},x.createElement(Do,{portal:Oe,ref:Gu,prefixCls:qn,popup:vi,className:we()(wl,Da),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:Ot,arrow:Nl,arrowPos:Mo,ready:xs,offsetX:ce,offsetY:me,offsetR:Be,offsetB:We,onAlign:ba,stretch:Ri,targetWidth:Zr/Et,targetHeight:fr/Tt})))});return qe}var oi=wr(bn),Ca={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>=Ca.F1&&tt<=Ca.F12)return!1;switch(tt){case Ca.ALT:case Ca.CAPS_LOCK:case Ca.CONTEXT_MENU:case Ca.CTRL:case Ca.DOWN:case Ca.END:case Ca.ESC:case Ca.HOME:case Ca.INSERT:case Ca.LEFT:case Ca.MAC_FF_META:case Ca.META:case Ca.NUMLOCK:case Ca.NUM_CENTER:case Ca.PAGE_DOWN:case Ca.PAGE_UP:case Ca.PAUSE:case Ca.PRINT_SCREEN:case Ca.RIGHT:case Ca.SHIFT:case Ca.UP:case Ca.WIN_KEY:case Ca.WIN_KEY_RIGHT:return!1;default:return!0}},isCharacterKey:function(qe){if(qe>=Ca.ZERO&&qe<=Ca.NINE||qe>=Ca.NUM_ZERO&&qe<=Ca.NUM_MULTIPLY||qe>=Ca.A&&qe<=Ca.Z||window.navigator.userAgent.indexOf("WebKit")!==-1&&qe===0)return!0;switch(qe){case Ca.SPACE:case Ca.QUESTION_MARK:case Ca.NUM_PLUS:case Ca.NUM_MINUS:case Ca.NUM_PERIOD:case Ca.NUM_DIVISION:case Ca.SEMICOLON:case Ca.DASH:case Ca.EQUALS:case Ca.COMMA:case Ca.PERIOD:case Ca.SLASH:case Ca.APOSTROPHE:case Ca.SINGLE_QUOTE:case Ca.OPEN_SQUARE_BRACKET:case Ca.BACKSLASH:case Ca.CLOSE_SQUARE_BRACKET:return!0;default:return!1}}},ua=Ca,mo=ua.ESC,nl=ua.TAB;function Ua(Oe){var qe=Oe.visible,tt=Oe.triggerRef,Bt=Oe.onVisibleChange,hn=Oe.autoFocus,qn=Oe.overlayRef,na=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),Bt==null||Bt(!1)}},pr=function(){var gr;return(gr=qn.current)!==null&&gr!==void 0&&gr.focus?(qn.current.focus(),na.current=!0,!0):!1},dr=function(gr){switch(gr.keyCode){case mo:ar();break;case nl:{var Wr=!1;na.current||(Wr=pr()),Wr?gr.preventDefault():ar();break}}};x.useEffect(function(){return qe?(window.addEventListener("keydown",dr),hn&&Kt(pr,3),function(){window.removeEventListener("keydown",dr),na.current=!1}):function(){na.current=!1}},[qe])}var Oa=(0,x.forwardRef)(function(Oe,qe){var tt=Oe.overlay,Bt=Oe.arrow,hn=Oe.prefixCls,qn=(0,x.useMemo)(function(){var ar;return typeof tt=="function"?ar=tt():ar=tt,ar},[tt]),na=pe(qe,qn==null?void 0:qn.ref);return x.createElement(x.Fragment,null,Bt&&x.createElement("div",{className:"".concat(hn,"-arrow")}),x.cloneElement(qn,{ref:be(qn)?na:void 0}))}),Wo=Oa,Fl={adjustX:1,adjustY:1},oa=[0,0],Fa={topLeft:{points:["bl","tl"],overflow:Fl,offset:[0,-4],targetOffset:oa},top:{points:["bc","tc"],overflow:Fl,offset:[0,-4],targetOffset:oa},topRight:{points:["br","tr"],overflow:Fl,offset:[0,-4],targetOffset:oa},bottomLeft:{points:["tl","bl"],overflow:Fl,offset:[0,4],targetOffset:oa},bottom:{points:["tc","bc"],overflow:Fl,offset:[0,4],targetOffset:oa},bottomRight:{points:["tr","br"],overflow:Fl,offset:[0,4],targetOffset:oa}},Xa=Fa,Ln=["arrow","prefixCls","transitionName","animation","align","placement","placements","getPopupContainer","showAction","hideAction","overlayClassName","overlayStyle","visible","trigger","autoFocus","overlay","children","onVisibleChange"];function ja(Oe,qe){var tt,Bt=Oe.arrow,hn=Bt===void 0?!1:Bt,qn=Oe.prefixCls,na=qn===void 0?"rc-dropdown":qn,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,Ln),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:na,arrow:hn})},$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(na,"-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:na,ref:ji,popupClassName:we()(mi,(0,se.Z)({},"".concat(na,"-show-arrow"),hn)),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 zn=x.forwardRef(ja),Bo=zn,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),Kn=z(46605),ya=z(66748);const Nr=null,ma=Oe=>{const{menu:qe,arrow:tt,prefixCls:Bt,children:hn,trigger:qn,disabled:na,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",Bt),[vi,wl]=(0,ya.Z)(qi),[,Il]=(0,Kn.Z)(),al=x.Children.only(hn),si=(0,ir.Tm)(al,{className:we()(`${qi}-trigger`,{[`${qi}-rtl`]:cl==="rtl"},al.props.className),disabled:na}),ji=na?[]:qn;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)(ma,"dropdown",Oe=>Oe,nr),lo=Oe=>x.createElement(xo,Object.assign({},Oe),x.createElement("span",null));ma._InternalPanelDoNotUseOrYouWillBeFired=lo;var Ei=ma},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:Ft,icon:Ut=Fe.createElement(we.Z,null),title:Sn,buttonsRender:lt=Mn=>Mn,mouseEnterDelay:pt,mouseLeaveDelay:Mt,overlayClassName:Ht,overlayStyle:dt,destroyPopupOnHide:zt,dropdownRender:Ze}=y,Fn=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),La=`${Zn}-button`,[vt,Lt]=(0,Le.Z)(Zn),Ct={menu:Ce,arrow:Ne,autoFocus:Re,align:Ue,disabled:ne,trigger:ne?[]:Ie,onOpenChange:Ve,getPopupContainer:gt||b,mouseEnterDelay:pt,mouseLeaveDelay:Mt,overlayClassName:Ht,overlayStyle:dt,destroyPopupOnHide:zt,dropdownRender:Ze},{compactSize:wt,compactItemClassnames:Cn}=(0,Te.ri)(Zn,ee),sn=he()(La,Cn,xe,Lt);"overlay"in y&&(Ct.overlay=at),"open"in y&&(Ct.open=Ge),"placement"in y?Ct.placement=rt:Ct.placement=ee==="rtl"?"bottomLeft":"bottomRight";const Nt=Fe.createElement(ze.ZP,{type:re,danger:oe,disabled:ne,loading:de,onClick:pe,htmlType:Ee,href:Ft,title:Sn},be),On=Fe.createElement(ze.ZP,{type:re,danger:oe,icon:Ut}),[Vt,_t]=lt([Nt,On]);return vt(Fe.createElement(je.Z.Compact,Object.assign({className:sn,size:wt,block:!0},Fn),Vt,Fe.createElement(x.Z,Object.assign({},Ct),_t)))};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:Ft}=ne,Ut=b(ne,["prefixCls","className","trigger","children","defaultCollapsed","theme","style","collapsible","reverseArrow","width","collapsedWidth","zeroWidthTriggerStyle","breakpoint","onCollapse","onBreakpoint"]),{siderHook:Sn}=(0,ge.useContext)(y.Gs),[lt,pt]=(0,ge.useState)("collapsed"in ne?ne.collapsed:Ce),[Mt,Ht]=(0,ge.useState)(!1);(0,ge.useEffect)(()=>{"collapsed"in ne&&pt(ne.collapsed)},[ne.collapsed]);const dt=(vt,Lt)=>{"collapsed"in ne||pt(vt),gt==null||gt(vt,Lt)},zt=(0,ge.useRef)();zt.current=vt=>{Ht(vt.matches),Ft==null||Ft(vt.matches),lt!==vt.matches&&dt(vt.matches,"responsive")},(0,ge.useEffect)(()=>{function vt(Ct){return zt.current(Ct)}let Lt;if(typeof window!="undefined"){const{matchMedia:Ct}=window;if(Ct&&rt&&rt in E){Lt=Ct(`(max-width: ${E[rt]})`);try{Lt.addEventListener("change",vt)}catch(wt){Lt.addListener(vt)}vt(Lt)}}return()=>{try{Lt==null||Lt.removeEventListener("change",vt)}catch(Ct){Lt==null||Lt.removeListener(vt)}}},[rt]),(0,ge.useEffect)(()=>{const vt=te("ant-sider-");return Sn.addSider(vt),()=>Sn.removeSider(vt)},[]);const Ze=()=>{dt(!lt,"clickTrigger")},{getPrefixCls:Fn}=(0,ge.useContext)(a.E_),Zn=()=>{const vt=Fn("layout-sider",pe),Lt=(0,De.Z)(Ut,["collapsed"]),Ct=lt?Ge:Ue,wt=ue(Ct)?`${Ct}px`:String(Ct),Cn=parseFloat(String(Ge||0))===0?ge.createElement("span",{onClick:Ze,className:Ke()(`${vt}-zero-width-trigger`,`${vt}-zero-width-trigger-${Ie?"right":"left"}`),style:Ve},be||ge.createElement(se,null)):null,On={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"],Vt=be!==null?Cn||ge.createElement("div",{className:`${vt}-trigger`,onClick:Ze,style:{width:wt}},be||On):null,_t=Object.assign(Object.assign({},Re),{flex:`0 0 ${wt}`,maxWidth:wt,minWidth:wt,width:wt}),Mn=Ke()(vt,`${vt}-${Ne}`,{[`${vt}-collapsed`]:!!lt,[`${vt}-has-trigger`]:at&&be!==null&&!Cn,[`${vt}-below`]:!!Mt,[`${vt}-zero-width`]:parseFloat(wt)===0},Ee);return ge.createElement("aside",Object.assign({className:Mn},Lt,{style:_t,ref:de}),ge.createElement("div",{className:`${vt}-children`},xe),at||Mt&&Cn?Vt:null)},La=ge.useMemo(()=>({siderCollapsed:lt}),[lt]);return ge.createElement(ee.Provider,{value:La},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:Ft,bodyBg:Ut,headerBg:Sn,siderBg:lt}=oe;return{[de]:Object.assign(Object.assign({display:"flex",flex:"auto",flexDirection:"column",minHeight:0,background:Ut,"&, *":{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:Ft,borderEndEndRadius:Ft,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:Ft,borderStartEndRadius:0,borderEndEndRadius:0,borderEndStartRadius:Ft}}}}},Te(oe)),{"&-rtl":{direction:"rtl"}}),[`${de}-header`]:{height:Ce,padding:Ne,color:Re,lineHeight:`${Ce}px`,background:Sn,[`${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),[Ft,Ut]=Ke(gt),Sn=he()(gt,{[`${gt}-has-sider`]:typeof Re=="boolean"?Re:pe.length>0,[`${gt}-rtl`]:de==="rtl"},rt==null?void 0:rt.className,xe,Ce,Ut),lt=we.useMemo(()=>({siderHook:{addSider:pt=>{Ee(Mt=>[].concat((0,x.Z)(Mt),[pt]))},removeSider:pt=>{Ee(Mt=>Mt.filter(Ht=>Ht!==pt))}}}),[]);return Ft(we.createElement(ve.Provider,{value:lt},we.createElement(at,Object.assign({ref:ne,className:Sn,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 vt}});var x=z(52073),ge=z(67294),he=z(71322),Fe=z(94184),we=z.n(Fe),ze=z(53124),se=function(Lt,Ct){var wt={};for(var Cn in Lt)Object.prototype.hasOwnProperty.call(Lt,Cn)&&Ct.indexOf(Cn)<0&&(wt[Cn]=Lt[Cn]);if(Lt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var sn=0,Cn=Object.getOwnPropertySymbols(Lt);sn<Cn.length;sn++)Ct.indexOf(Cn[sn])<0&&Object.prototype.propertyIsEnumerable.call(Lt,Cn[sn])&&(wt[Cn[sn]]=Lt[Cn[sn]]);return wt},Te=Lt=>{const{prefixCls:Ct,className:wt,dashed:Cn}=Lt,sn=se(Lt,["prefixCls","className","dashed"]),{getPrefixCls:Nt}=ge.useContext(ze.E_),On=Nt("menu",Ct),Vt=we()({[`${On}-item-divider-dashed`]:!!Cn},wt);return ge.createElement(x.iz,Object.assign({className:Vt},sn))},Le=z(37419),Ke=z(10366),De=z(83062),ve=z(96159),a=(0,ge.createContext)({prefixCls:"",firstLevel:!0,inlineCollapsed:!1}),b=Lt=>{var Ct;const{className:wt,children:Cn,icon:sn,title:Nt,danger:On}=Lt,{prefixCls:Vt,firstLevel:_t,direction:Mn,disableMenuItemTitleTooltip:bn,inlineCollapsed:Je}=ge.useContext(a),He=Ye=>{const xt=ge.createElement("span",{className:`${Vt}-title-content`},Cn);return(!sn||(0,ve.l$)(Cn)&&Cn.type==="span")&&Cn&&Ye&&_t&&typeof Cn=="string"?ge.createElement("div",{className:`${Vt}-inline-collapsed-noicon`},Cn.charAt(0)):xt},{siderCollapsed:_n}=ge.useContext(he.D);let Me=Nt;typeof Nt=="undefined"?Me=_t?Cn:"":Nt===!1&&(Me="");const Xe={title:Me};!_n&&!Je&&(Xe.title=null,Xe.open=!1);const Wt=(0,Le.Z)(Cn).length;let ot=ge.createElement(x.ck,Object.assign({},(0,Ke.Z)(Lt,["title","icon","danger"]),{className:we()({[`${Vt}-item-danger`]:On,[`${Vt}-item-only-child`]:(sn?Wt+1:Wt)===1},wt),title:typeof Nt=="string"?Nt:void 0}),(0,ve.Tm)(sn,{className:we()((0,ve.l$)(sn)?(Ct=sn.props)===null||Ct===void 0?void 0:Ct.className:"",`${Vt}-item-icon`)}),He(Je));return bn||(ot=ge.createElement(De.Z,Object.assign({},Xe,{placement:Mn==="rtl"?"left":"right",overlayClassName:`${Vt}-inline-collapsed-tooltip`}),ot)),ot},ee=Lt=>{var Ct;const{popupClassName:wt,icon:Cn,title:sn,theme:Nt}=Lt,On=ge.useContext(a),{prefixCls:Vt,inlineCollapsed:_t,theme:Mn}=On,bn=(0,x.Xl)();let Je;if(!Cn)Je=_t&&!bn.length&&sn&&typeof sn=="string"?ge.createElement("div",{className:`${Vt}-inline-collapsed-noicon`},sn.charAt(0)):ge.createElement("span",{className:`${Vt}-title-content`},sn);else{const _n=(0,ve.l$)(sn)&&sn.type==="span";Je=ge.createElement(ge.Fragment,null,(0,ve.Tm)(Cn,{className:we()((0,ve.l$)(Cn)?(Ct=Cn.props)===null||Ct===void 0?void 0:Ct.className:"",`${Vt}-item-icon`)}),_n?sn:ge.createElement("span",{className:`${Vt}-title-content`},sn))}const He=ge.useMemo(()=>Object.assign(Object.assign({},On),{firstLevel:!1}),[On]);return ge.createElement(a.Provider,{value:He},ge.createElement(x.Wd,Object.assign({},(0,Ke.Z)(Lt,["icon"]),{title:Je,popupClassName:we()(Vt,wt,`${Vt}-${Nt||Mn}`)})))},te=z(25877),re=z(60276),oe=z(33603),ne=z(76529),de=function(Lt,Ct){var wt={};for(var Cn in Lt)Object.prototype.hasOwnProperty.call(Lt,Cn)&&Ct.indexOf(Cn)<0&&(wt[Cn]=Lt[Cn]);if(Lt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var sn=0,Cn=Object.getOwnPropertySymbols(Lt);sn<Cn.length;sn++)Ct.indexOf(Cn[sn])<0&&Object.prototype.propertyIsEnumerable.call(Lt,Cn[sn])&&(wt[Cn[sn]]=Lt[Cn[sn]]);return wt};function pe(Lt){return(Lt||[]).map((Ct,wt)=>{if(Ct&&typeof Ct=="object"){const Cn=Ct,{label:sn,children:Nt,key:On,type:Vt}=Cn,_t=de(Cn,["label","children","key","type"]),Mn=On!=null?On:`tmp-${wt}`;return Nt||Vt==="group"?Vt==="group"?ge.createElement(x.BW,Object.assign({key:Mn},_t,{title:sn}),pe(Nt)):ge.createElement(ee,Object.assign({key:Mn},_t,{title:sn}),pe(Nt)):Vt==="divider"?ge.createElement(Te,Object.assign({key:Mn},_t)):ge.createElement(b,Object.assign({key:Mn},_t),sn)}return null}).filter(Ct=>Ct)}function Ee(Lt){return ge.useMemo(()=>Lt&&pe(Lt),[Lt])}var be=z(84780),xe=z(14747),Ce=z(33507),Ne=z(67771),Re=z(50438),at=z(67968),Ie=z(45503),Ge=Lt=>{const{componentCls:Ct,motionDurationSlow:wt,horizontalLineHeight:Cn,colorSplit:sn,lineWidth:Nt,lineType:On,itemPaddingInline:Vt}=Lt;return{[`${Ct}-horizontal`]:{lineHeight:Cn,border:0,borderBottom:`${Nt}px ${On} ${sn}`,boxShadow:"none","&::after":{display:"block",clear:"both",height:0,content:'"\\20"'},[`${Ct}-item, ${Ct}-submenu`]:{position:"relative",display:"inline-block",verticalAlign:"bottom",paddingInline:Vt},[`> ${Ct}-item:hover,
|
|
> ${Ct}-item-active,
|
|
> ${Ct}-submenu ${Ct}-submenu-title:hover`]:{backgroundColor:"transparent"},[`${Ct}-item, ${Ct}-submenu-title`]:{transition:[`border-color ${wt}`,`background ${wt}`].join(",")},[`${Ct}-submenu-arrow`]:{display:"none"}}}},rt=Lt=>{let{componentCls:Ct,menuArrowOffset:wt}=Lt;return{[`${Ct}-rtl`]:{direction:"rtl"},[`${Ct}-submenu-rtl`]:{transformOrigin:"100% 0"},[`${Ct}-rtl${Ct}-vertical,
|
|
${Ct}-submenu-rtl ${Ct}-vertical`]:{[`${Ct}-submenu-arrow`]:{"&::before":{transform:`rotate(-45deg) translateY(-${wt})`},"&::after":{transform:`rotate(45deg) translateY(${wt})`}}}}};const gt=Lt=>Object.assign({},(0,xe.oN)(Lt));var Ut=(Lt,Ct)=>{const{componentCls:wt,itemColor:Cn,itemSelectedColor:sn,groupTitleColor:Nt,itemBg:On,subMenuItemBg:Vt,itemSelectedBg:_t,activeBarHeight:Mn,activeBarWidth:bn,activeBarBorderWidth:Je,motionDurationSlow:He,motionEaseInOut:_n,motionEaseOut:Me,itemPaddingInline:Xe,motionDurationMid:Wt,itemHoverColor:ot,lineType:Ye,colorSplit:xt,itemDisabledColor:Yt,dangerItemColor:It,dangerItemHoverColor:Nn,dangerItemSelectedColor:kt,dangerItemActiveBg:Gt,dangerItemSelectedBg:St,itemHoverBg:Pn,itemActiveBg:qt,menuSubMenuBg:wn,horizontalItemSelectedColor:xa,horizontalItemSelectedBg:Hn,horizontalItemBorderRadius:la,horizontalItemHoverBg:Ba,popupBg:rn}=Lt;return{[`${wt}-${Ct}, ${wt}-${Ct} > ${wt}`]:{color:Cn,background:On,[`&${wt}-root:focus-visible`]:Object.assign({},gt(Lt)),[`${wt}-item-group-title`]:{color:Nt},[`${wt}-submenu-selected`]:{[`> ${wt}-submenu-title`]:{color:sn}},[`${wt}-item-disabled, ${wt}-submenu-disabled`]:{color:`${Yt} !important`},[`${wt}-item:not(${wt}-item-selected):not(${wt}-submenu-selected)`]:{[`&:hover, > ${wt}-submenu-title:hover`]:{color:ot}},[`&:not(${wt}-horizontal)`]:{[`${wt}-item:not(${wt}-item-selected)`]:{"&:hover":{backgroundColor:Pn},"&:active":{backgroundColor:qt}},[`${wt}-submenu-title`]:{"&:hover":{backgroundColor:Pn},"&:active":{backgroundColor:qt}}},[`${wt}-item-danger`]:{color:It,[`&${wt}-item:hover`]:{[`&:not(${wt}-item-selected):not(${wt}-submenu-selected)`]:{color:Nn}},[`&${wt}-item:active`]:{background:Gt}},[`${wt}-item a`]:{"&, &:hover":{color:"inherit"}},[`${wt}-item-selected`]:{color:sn,[`&${wt}-item-danger`]:{color:kt},"a, a:hover":{color:"inherit"}},[`& ${wt}-item-selected`]:{backgroundColor:_t,[`&${wt}-item-danger`]:{backgroundColor:St}},[`${wt}-item, ${wt}-submenu-title`]:{[`&:not(${wt}-item-disabled):focus-visible`]:Object.assign({},gt(Lt))},[`&${wt}-submenu > ${wt}`]:{backgroundColor:wn},[`&${wt}-popup > ${wt}`]:{backgroundColor:rn},[`&${wt}-horizontal`]:Object.assign(Object.assign({},Ct==="dark"?{borderBottom:0}:{}),{[`> ${wt}-item, > ${wt}-submenu`]:{top:Je,marginTop:-Je,marginBottom:0,borderRadius:la,"&::after":{position:"absolute",insetInline:Xe,bottom:0,borderBottom:`${Mn}px solid transparent`,transition:`border-color ${He} ${_n}`,content:'""'},"&:hover, &-active, &-open":{background:Ba,"&::after":{borderBottomWidth:Mn,borderBottomColor:xa}},"&-selected":{color:xa,backgroundColor:Hn,"&:hover":{backgroundColor:Hn},"&::after":{borderBottomWidth:Mn,borderBottomColor:xa}}}}),[`&${wt}-root`]:{[`&${wt}-inline, &${wt}-vertical`]:{borderInlineEnd:`${Je}px ${Ye} ${xt}`}},[`&${wt}-inline`]:{[`${wt}-sub${wt}-inline`]:{background:Vt},[`${wt}-item, ${wt}-submenu-title`]:Je&&bn?{width:`calc(100% + ${Je}px)`}:{},[`${wt}-item`]:{position:"relative","&::after":{position:"absolute",insetBlock:0,insetInlineEnd:0,borderInlineEnd:`${bn}px solid ${sn}`,transform:"scaleY(0.0001)",opacity:0,transition:[`transform ${Wt} ${Me}`,`opacity ${Wt} ${Me}`].join(","),content:'""'},[`&${wt}-item-danger`]:{"&::after":{borderInlineEndColor:kt}}},[`${wt}-selected, ${wt}-item-selected`]:{"&::after":{transform:"scaleY(1)",opacity:1,transition:[`transform ${Wt} ${_n}`,`opacity ${Wt} ${_n}`].join(",")}}}}}};const Sn=Lt=>{const{componentCls:Ct,itemHeight:wt,itemMarginInline:Cn,padding:sn,menuArrowSize:Nt,marginXS:On,itemMarginBlock:Vt}=Lt,_t=sn+Nt+On;return{[`${Ct}-item`]:{position:"relative",overflow:"hidden"},[`${Ct}-item, ${Ct}-submenu-title`]:{height:wt,lineHeight:`${wt}px`,paddingInline:sn,overflow:"hidden",textOverflow:"ellipsis",marginInline:Cn,marginBlock:Vt,width:`calc(100% - ${Cn*2}px)`},[`> ${Ct}-item,
|
|
> ${Ct}-submenu > ${Ct}-submenu-title`]:{height:wt,lineHeight:`${wt}px`},[`${Ct}-item-group-list ${Ct}-submenu-title,
|
|
${Ct}-submenu-title`]:{paddingInlineEnd:_t}}};var pt=Lt=>{const{componentCls:Ct,iconCls:wt,itemHeight:Cn,colorTextLightSolid:sn,dropdownWidth:Nt,controlHeightLG:On,motionDurationMid:Vt,motionEaseOut:_t,paddingXL:Mn,itemMarginInline:bn,fontSizeLG:Je,motionDurationSlow:He,paddingXS:_n,boxShadowSecondary:Me,collapsedWidth:Xe,collapsedIconSize:Wt}=Lt,ot={height:Cn,lineHeight:`${Cn}px`,listStylePosition:"inside",listStyleType:"disc"};return[{[Ct]:{"&-inline, &-vertical":Object.assign({[`&${Ct}-root`]:{boxShadow:"none"}},Sn(Lt))},[`${Ct}-submenu-popup`]:{[`${Ct}-vertical`]:Object.assign(Object.assign({},Sn(Lt)),{boxShadow:Me})}},{[`${Ct}-submenu-popup ${Ct}-vertical${Ct}-sub`]:{minWidth:Nt,maxHeight:`calc(100vh - ${On*2.5}px)`,padding:"0",overflow:"hidden",borderInlineEnd:0,"&:not([class*='-active'])":{overflowX:"hidden",overflowY:"auto"}}},{[`${Ct}-inline`]:{width:"100%",[`&${Ct}-root`]:{[`${Ct}-item, ${Ct}-submenu-title`]:{display:"flex",alignItems:"center",transition:[`border-color ${He}`,`background ${He}`,`padding ${Vt} ${_t}`].join(","),[`> ${Ct}-title-content`]:{flex:"auto",minWidth:0,overflow:"hidden",textOverflow:"ellipsis"},"> *":{flex:"none"}}},[`${Ct}-sub${Ct}-inline`]:{padding:0,border:0,borderRadius:0,boxShadow:"none",[`& > ${Ct}-submenu > ${Ct}-submenu-title`]:ot,[`& ${Ct}-item-group-title`]:{paddingInlineStart:Mn}},[`${Ct}-item`]:ot}},{[`${Ct}-inline-collapsed`]:{width:Xe,[`&${Ct}-root`]:{[`${Ct}-item, ${Ct}-submenu ${Ct}-submenu-title`]:{[`> ${Ct}-inline-collapsed-noicon`]:{fontSize:Je,textAlign:"center"}}},[`> ${Ct}-item,
|
|
> ${Ct}-item-group > ${Ct}-item-group-list > ${Ct}-item,
|
|
> ${Ct}-item-group > ${Ct}-item-group-list > ${Ct}-submenu > ${Ct}-submenu-title,
|
|
> ${Ct}-submenu > ${Ct}-submenu-title`]:{insetInlineStart:0,paddingInline:`calc(50% - ${Je/2}px - ${bn}px)`,textOverflow:"clip",[`
|
|
${Ct}-submenu-arrow,
|
|
${Ct}-submenu-expand-icon
|
|
`]:{opacity:0},[`${Ct}-item-icon, ${wt}`]:{margin:0,fontSize:Wt,lineHeight:`${Cn}px`,"+ span":{display:"inline-block",opacity:0}}},[`${Ct}-item-icon, ${wt}`]:{display:"inline-block"},"&-tooltip":{pointerEvents:"none",[`${Ct}-item-icon, ${wt}`]:{display:"none"},"a, a:hover":{color:sn}},[`${Ct}-item-group-title`]:Object.assign(Object.assign({},xe.vS),{paddingInline:_n})}}]};const Mt=Lt=>{const{componentCls:Ct,motionDurationSlow:wt,motionDurationMid:Cn,motionEaseInOut:sn,motionEaseOut:Nt,iconCls:On,iconSize:Vt,iconMarginInlineEnd:_t}=Lt;return{[`${Ct}-item, ${Ct}-submenu-title`]:{position:"relative",display:"block",margin:0,whiteSpace:"nowrap",cursor:"pointer",transition:[`border-color ${wt}`,`background ${wt}`,`padding ${wt} ${sn}`].join(","),[`${Ct}-item-icon, ${On}`]:{minWidth:Vt,fontSize:Vt,transition:[`font-size ${Cn} ${Nt}`,`margin ${wt} ${sn}`,`color ${wt}`].join(","),"+ span":{marginInlineStart:_t,opacity:1,transition:[`opacity ${wt} ${sn}`,`margin ${wt}`,`color ${wt}`].join(",")}},[`${Ct}-item-icon`]:Object.assign({},(0,xe.Ro)()),[`&${Ct}-item-only-child`]:{[`> ${On}, > ${Ct}-item-icon`]:{marginInlineEnd:0}}},[`${Ct}-item-disabled, ${Ct}-submenu-disabled`]:{background:"none !important",cursor:"not-allowed","&::after":{borderColor:"transparent !important"},a:{color:"inherit !important"},[`> ${Ct}-submenu-title`]:{color:"inherit !important",cursor:"not-allowed"}}}},Ht=Lt=>{const{componentCls:Ct,motionDurationSlow:wt,motionEaseInOut:Cn,borderRadius:sn,menuArrowSize:Nt,menuArrowOffset:On}=Lt;return{[`${Ct}-submenu`]:{"&-expand-icon, &-arrow":{position:"absolute",top:"50%",insetInlineEnd:Lt.margin,width:Nt,color:"currentcolor",transform:"translateY(-50%)",transition:`transform ${wt} ${Cn}, opacity ${wt}`},"&-arrow":{"&::before, &::after":{position:"absolute",width:Nt*.6,height:Nt*.15,backgroundColor:"currentcolor",borderRadius:sn,transition:[`background ${wt} ${Cn}`,`transform ${wt} ${Cn}`,`top ${wt} ${Cn}`,`color ${wt} ${Cn}`].join(","),content:'""'},"&::before":{transform:`rotate(45deg) translateY(-${On})`},"&::after":{transform:`rotate(-45deg) translateY(${On})`}}}}},dt=Lt=>{const{antCls:Ct,componentCls:wt,fontSize:Cn,motionDurationSlow:sn,motionDurationMid:Nt,motionEaseInOut:On,paddingXS:Vt,padding:_t,colorSplit:Mn,lineWidth:bn,zIndexPopup:Je,borderRadiusLG:He,subMenuItemBorderRadius:_n,menuArrowSize:Me,menuArrowOffset:Xe,lineType:Wt,menuPanelMaskInset:ot,groupTitleLineHeight:Ye,groupTitleFontSize:xt}=Lt;return[{"":{[`${wt}`]:Object.assign(Object.assign({},(0,xe.dF)()),{"&-hidden":{display:"none"}})},[`${wt}-submenu-hidden`]:{display:"none"}},{[wt]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},(0,xe.Wf)(Lt)),(0,xe.dF)()),{marginBottom:0,paddingInlineStart:0,fontSize:Cn,lineHeight:0,listStyle:"none",outline:"none",transition:`width ${sn} cubic-bezier(0.2, 0, 0, 1) 0s`,"ul, ol":{margin:0,padding:0,listStyle:"none"},"&-overflow":{display:"flex",[`${wt}-item`]:{flex:"none"}},[`${wt}-item, ${wt}-submenu, ${wt}-submenu-title`]:{borderRadius:Lt.itemBorderRadius},[`${wt}-item-group-title`]:{padding:`${Vt}px ${_t}px`,fontSize:xt,lineHeight:Ye,transition:`all ${sn}`},[`&-horizontal ${wt}-submenu`]:{transition:[`border-color ${sn} ${On}`,`background ${sn} ${On}`].join(",")},[`${wt}-submenu, ${wt}-submenu-inline`]:{transition:[`border-color ${sn} ${On}`,`background ${sn} ${On}`,`padding ${Nt} ${On}`].join(",")},[`${wt}-submenu ${wt}-sub`]:{cursor:"initial",transition:[`background ${sn} ${On}`,`padding ${sn} ${On}`].join(",")},[`${wt}-title-content`]:{transition:`color ${sn}`},[`${wt}-item a`]:{"&::before":{position:"absolute",inset:0,backgroundColor:"transparent",content:'""'}},[`${wt}-item-divider`]:{overflow:"hidden",lineHeight:0,borderColor:Mn,borderStyle:Wt,borderWidth:0,borderTopWidth:bn,marginBlock:bn,padding:0,"&-dashed":{borderStyle:"dashed"}}}),Mt(Lt)),{[`${wt}-item-group`]:{[`${wt}-item-group-list`]:{margin:0,padding:0,[`${wt}-item, ${wt}-submenu-title`]:{paddingInline:`${Cn*2}px ${_t}px`}}},"&-submenu":{"&-popup":{position:"absolute",zIndex:Je,borderRadius:He,boxShadow:"none",transformOrigin:"0 0",[`&${wt}-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:Lt.paddingXS},"\n &-placement-rightTop,\n &-placement-rightBottom\n ":{paddingInlineStart:Lt.paddingXS},"\n &-placement-topRight,\n &-placement-topLeft\n ":{paddingBottom:Lt.paddingXS},"\n &-placement-bottomRight,\n &-placement-bottomLeft\n ":{paddingTop:Lt.paddingXS},[`> ${wt}`]:Object.assign(Object.assign(Object.assign({borderRadius:He},Mt(Lt)),Ht(Lt)),{[`${wt}-item, ${wt}-submenu > ${wt}-submenu-title`]:{borderRadius:_n},[`${wt}-submenu-title::after`]:{transition:`transform ${sn} ${On}`}})}}),Ht(Lt)),{[`&-inline-collapsed ${wt}-submenu-arrow,
|
|
&-inline ${wt}-submenu-arrow`]:{"&::before":{transform:`rotate(-45deg) translateX(${Xe})`},"&::after":{transform:`rotate(45deg) translateX(-${Xe})`}},[`${wt}-submenu-open${wt}-submenu-inline > ${wt}-submenu-title > ${wt}-submenu-arrow`]:{transform:`translateY(-${Me*.2}px)`,"&::after":{transform:`rotate(-45deg) translateX(-${Xe})`},"&::before":{transform:`rotate(45deg) translateX(${Xe})`}}})},{[`${Ct}-layout-header`]:{[wt]:{lineHeight:"inherit"}}}]};var zt=(Lt,Ct)=>(0,at.Z)("Menu",Cn=>{if(Ct===!1)return[];const{colorBgElevated:sn,colorPrimary:Nt,colorTextLightSolid:On,controlHeightLG:Vt,fontSize:_t,darkItemColor:Mn,darkDangerItemColor:bn,darkItemBg:Je,darkSubMenuItemBg:He,darkItemSelectedColor:_n,darkItemSelectedBg:Me,darkDangerItemSelectedBg:Xe,darkItemHoverBg:Wt,darkGroupTitleColor:ot,darkItemHoverColor:Ye,darkItemDisabledColor:xt,darkDangerItemHoverColor:Yt,darkDangerItemSelectedColor:It,darkDangerItemActiveBg:Nn}=Cn,kt=_t/7*5,Gt=(0,Ie.TS)(Cn,{menuArrowSize:kt,menuHorizontalHeight:Vt*1.15,menuArrowOffset:`${kt*.25}px`,menuPanelMaskInset:-7,menuSubMenuBg:sn}),St=(0,Ie.TS)(Gt,{itemColor:Mn,itemHoverColor:Ye,groupTitleColor:ot,itemSelectedColor:_n,itemBg:Je,popupBg:Je,subMenuItemBg:He,itemActiveBg:"transparent",itemSelectedBg:Me,activeBarHeight:0,activeBarBorderWidth:0,itemHoverBg:Wt,itemDisabledColor:xt,dangerItemColor:bn,dangerItemHoverColor:Yt,dangerItemSelectedColor:It,dangerItemActiveBg:Nn,dangerItemSelectedBg:Xe,menuSubMenuBg:He,horizontalItemSelectedColor:On,horizontalItemSelectedBg:Nt});return[dt(Gt),Ge(Gt),pt(Gt),Ut(Gt,"light"),Ut(St,"dark"),rt(Gt),(0,Ce.Z)(Gt),(0,Ne.oN)(Gt,"slide-up"),(0,Ne.oN)(Gt,"slide-down"),(0,Re._y)(Gt,"zoom-big")]},Cn=>{const{colorPrimary:sn,colorError:Nt,colorTextDisabled:On,colorErrorBg:Vt,colorText:_t,colorTextDescription:Mn,colorBgContainer:bn,colorFillAlter:Je,colorFillContent:He,lineWidth:_n,lineWidthBold:Me,controlItemBgActive:Xe,colorBgTextHover:Wt,controlHeightLG:ot,lineHeight:Ye,colorBgElevated:xt,marginXXS:Yt,padding:It,fontSize:Nn,controlHeightSM:kt,fontSizeLG:Gt,colorTextLightSolid:St,colorErrorHover:Pn}=Cn,qt=new be.C(St).setAlpha(.65).toRgbString();return{dropdownWidth:160,zIndexPopup:Cn.zIndexPopupBase+50,radiusItem:Cn.borderRadiusLG,itemBorderRadius:Cn.borderRadiusLG,radiusSubMenuItem:Cn.borderRadiusSM,subMenuItemBorderRadius:Cn.borderRadiusSM,colorItemText:_t,itemColor:_t,colorItemTextHover:_t,itemHoverColor:_t,colorItemTextHoverHorizontal:sn,horizontalItemHoverColor:sn,colorGroupTitle:Mn,groupTitleColor:Mn,colorItemTextSelected:sn,itemSelectedColor:sn,colorItemTextSelectedHorizontal:sn,horizontalItemSelectedColor:sn,colorItemBg:bn,itemBg:bn,colorItemBgHover:Wt,itemHoverBg:Wt,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:_n,activeBarBorderWidth:_n,colorItemTextDisabled:On,itemDisabledColor:On,colorDangerItemText:Nt,dangerItemColor:Nt,colorDangerItemTextHover:Nt,dangerItemHoverColor:Nt,colorDangerItemTextSelected:Nt,dangerItemSelectedColor:Nt,colorDangerItemBgActive:Vt,dangerItemActiveBg:Vt,colorDangerItemBgSelected:Vt,dangerItemSelectedBg:Vt,itemMarginInline:Cn.marginXXS,horizontalItemBorderRadius:0,horizontalItemHoverBg:"transparent",itemHeight:ot,groupTitleLineHeight:Ye,collapsedWidth:ot*2,popupBg:xt,itemMarginBlock:Yt,itemPaddingInline:It,horizontalLineHeight:`${ot*1.15}px`,iconSize:Nn,iconMarginInlineEnd:kt-Nn,collapsedIconSize:Gt,groupTitleFontSize:Nn,darkItemDisabledColor:new be.C(St).setAlpha(.25).toRgbString(),darkItemColor:qt,darkDangerItemColor:Nt,darkItemBg:"#001529",darkSubMenuItemBg:"#000c17",darkItemSelectedColor:St,darkItemSelectedBg:sn,darkDangerItemSelectedBg:Nt,darkItemHoverBg:"transparent",darkGroupTitleColor:qt,darkItemHoverColor:St,darkDangerItemHoverColor:Pn,darkDangerItemSelectedColor:St,darkDangerItemActiveBg:Nt}},{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"]]})(Lt),Ze=function(Lt,Ct){var wt={};for(var Cn in Lt)Object.prototype.hasOwnProperty.call(Lt,Cn)&&Ct.indexOf(Cn)<0&&(wt[Cn]=Lt[Cn]);if(Lt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var sn=0,Cn=Object.getOwnPropertySymbols(Lt);sn<Cn.length;sn++)Ct.indexOf(Cn[sn])<0&&Object.prototype.propertyIsEnumerable.call(Lt,Cn[sn])&&(wt[Cn[sn]]=Lt[Cn[sn]]);return wt},Zn=(0,ge.forwardRef)((Lt,Ct)=>{var wt,Cn;const sn=ge.useContext(ne.Z),Nt=sn||{},{getPrefixCls:On,getPopupContainer:Vt,direction:_t,menu:Mn}=ge.useContext(ze.E_),bn=On(),{prefixCls:Je,className:He,style:_n,theme:Me="light",expandIcon:Xe,_internalDisableMenuItemTitleTooltip:Wt,inlineCollapsed:ot,siderCollapsed:Ye,items:xt,children:Yt,rootClassName:It,mode:Nn,selectable:kt,onClick:Gt,overflowedIndicatorPopupClassName:St}=Lt,Pn=Ze(Lt,["prefixCls","className","style","theme","expandIcon","_internalDisableMenuItemTitleTooltip","inlineCollapsed","siderCollapsed","items","children","rootClassName","mode","selectable","onClick","overflowedIndicatorPopupClassName"]),qt=(0,Ke.Z)(Pn,["collapsedWidth"]),wn=Ee(xt)||Yt;(wt=Nt.validator)===null||wt===void 0||wt.call(Nt,{mode:Nn});const xa=(0,re.useEvent)(function(){var _a;Gt==null||Gt.apply(void 0,arguments),(_a=Nt.onClick)===null||_a===void 0||_a.call(Nt)}),Hn=Nt.mode||Nn,la=kt!=null?kt:Nt.selectable,Ba=ge.useMemo(()=>Ye!==void 0?Ye:ot,[ot,Ye]),rn={horizontal:{motionName:`${bn}-slide-up`},inline:(0,oe.Z)(bn),other:{motionName:`${bn}-zoom-big`}},cn=On("menu",Je||Nt.prefixCls),[pn,Aa]=zt(cn,!sn),ha=we()(`${cn}-${Me}`,Mn==null?void 0:Mn.className,He);let aa;if(typeof Xe=="function")aa=Xe;else if(Xe===null||Xe===!1)aa=null;else if(Nt.expandIcon===null||Nt.expandIcon===!1)aa=null;else{const _a=Xe!=null?Xe:Nt.expandIcon;aa=(0,ve.Tm)(_a,{className:we()(`${cn}-submenu-expand-icon`,(0,ve.l$)(_a)?(Cn=_a.props)===null||Cn===void 0?void 0:Cn.className:"")})}const Ga=ge.useMemo(()=>({prefixCls:cn,inlineCollapsed:Ba||!1,direction:_t,firstLevel:!0,theme:Me,mode:Hn,disableMenuItemTitleTooltip:Wt}),[cn,Ba,_t,Wt,Me]);return pn(ge.createElement(ne.Z.Provider,{value:null},ge.createElement(a.Provider,{value:Ga},ge.createElement(x.ZP,Object.assign({getPopupContainer:Vt,overflowedIndicator:ge.createElement(te.Z,null),overflowedIndicatorPopupClassName:we()(cn,`${cn}-${Me}`,St),mode:Hn,selectable:la,onClick:xa},qt,{inlineCollapsed:Ba,style:Object.assign(Object.assign({},Mn==null?void 0:Mn.style),_n),className:ha,prefixCls:cn,direction:_t,defaultMotions:rn,expandIcon:aa,ref:Ct,rootClassName:we()(It,Aa)}),wn))))});const La=(0,ge.forwardRef)((Lt,Ct)=>{const wt=(0,ge.useRef)(null),Cn=ge.useContext(he.D);return(0,ge.useImperativeHandle)(Ct,()=>({menu:wt.current,focus:sn=>{var Nt;(Nt=wt.current)===null||Nt===void 0||Nt.focus(sn)}})),ge.createElement(Zn,Object.assign({ref:wt},Lt,Cn))});La.Item=b,La.SubMenu=ee,La.Divider=Te,La.ItemGroup=x.BW;var vt=La},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,_n){return ge.createElement(we.Z,(0,x.Z)({},He,{ref:_n,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,_n;He===!1?_n={aria:!0,data:!0,attr:!0}:He===!0?_n={aria:!0}:_n=(0,ue.Z)({},He);var Me={};return Object.keys(Je).forEach(function(Xe){(_n.aria&&(Xe==="role"||de(Xe,oe))||_n.data&&de(Xe,ne)||_n.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)(_n,Je);var He=(0,E.Z)(_n);function _n(){var Me;(0,a.Z)(this,_n);for(var Xe=arguments.length,Wt=new Array(Xe),ot=0;ot<Xe;ot++)Wt[ot]=arguments[ot];return Me=He.call.apply(He,[this].concat(Wt)),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 xt=Me.props,Yt=xt.goButton,It=xt.quickGo,Nn=xt.rootPrefixCls,kt=Me.state.goInputText;Yt||kt===""||(Me.setState({goInputText:""}),!(Ye.relatedTarget&&(Ye.relatedTarget.className.indexOf("".concat(Nn,"-item-link"))>=0||Ye.relatedTarget.className.indexOf("".concat(Nn,"-item"))>=0))&&It(Me.getValidValue()))},Me.go=function(Ye){var xt=Me.state.goInputText;xt!==""&&(Ye.keyCode===be.ENTER||Ye.type==="click")&&(Me.setState({goInputText:""}),Me.props.quickGo(Me.getValidValue()))},Me}return(0,y.Z)(_n,[{key:"getPageSizeOptions",value:function(){var Xe=this.props,Wt=Xe.pageSize,ot=Xe.pageSizeOptions;return ot.some(function(Ye){return Ye.toString()===Wt.toString()})?ot:ot.concat([Wt.toString()]).sort(function(Ye,xt){var Yt=Number.isNaN(Number(Ye))?0:Number(Ye),It=Number.isNaN(Number(xt))?0:Number(xt);return Yt-It})}},{key:"render",value:function(){var Xe=this,Wt=this.props,ot=Wt.pageSize,Ye=Wt.locale,xt=Wt.rootPrefixCls,Yt=Wt.changeSize,It=Wt.quickGo,Nn=Wt.goButton,kt=Wt.selectComponentClass,Gt=Wt.buildOptionText,St=Wt.selectPrefixCls,Pn=Wt.disabled,qt=this.state.goInputText,wn="".concat(xt,"-options"),xa=kt,Hn=null,la=null,Ba=null;if(!Yt&&!It)return null;var rn=this.getPageSizeOptions();if(Yt&&xa){var cn=rn.map(function(pn,Aa){return ge.createElement(xa.Option,{key:Aa,value:pn.toString()},(Gt||Xe.buildOptionText)(pn))});Hn=ge.createElement(xa,{disabled:Pn,prefixCls:St,showSearch:!1,className:"".concat(wn,"-size-changer"),optionLabelProp:"children",popupMatchSelectWidth:!1,value:(ot||rn[0]).toString(),onChange:this.changeSize,getPopupContainer:function(Aa){return Aa.parentNode},"aria-label":Ye.page_size,defaultOpen:!1},cn)}return It&&(Nn&&(Ba=typeof Nn=="boolean"?ge.createElement("button",{type:"button",onClick:this.go,onKeyUp:this.go,disabled:Pn,className:"".concat(wn,"-quick-jumper-button")},Ye.jump_to_confirm):ge.createElement("span",{onClick:this.go,onKeyUp:this.go},Nn)),la=ge.createElement("div",{className:"".concat(wn,"-quick-jumper")},Ye.jump_to,ge.createElement("input",{disabled:Pn,type:"text",value:qt,onChange:this.handleChange,onKeyUp:this.go,onBlur:this.handleBlur,"aria-label":Ye.page}),Ye.page,Ba)),ge.createElement("li",{className:"".concat(wn)},Hn,la)}}]),_n}(ge.Component);Ce.defaultProps={pageSizeOptions:["10","20","50","100"]};var Ne=Ce,Re=function(He){var _n,Me=He.rootPrefixCls,Xe=He.page,Wt=He.active,ot=He.className,Ye=He.showTitle,xt=He.onClick,Yt=He.onKeyPress,It=He.itemRender,Nn="".concat(Me,"-item"),kt=De()(Nn,"".concat(Nn,"-").concat(Xe),(_n={},(0,ve.Z)(_n,"".concat(Nn,"-active"),Wt),(0,ve.Z)(_n,"".concat(Nn,"-disabled"),!Xe),(0,ve.Z)(_n,He.className,ot),_n)),Gt=function(){xt(Xe)},St=function(wn){Yt(wn,xt,Xe)},Pn=It(Xe,"page",ge.createElement("a",{rel:"nofollow"},Xe));return Pn?ge.createElement("li",{title:Ye?Xe.toString():null,className:kt,onClick:Gt,onKeyPress:St,tabIndex:0},Pn):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,_n,Me){return Me};function Ve(Je,He,_n){var Me=typeof Je=="undefined"?He.pageSize:Je;return Math.floor((_n.total-1)/Me)+1}var rt=function(Je){(0,b.Z)(_n,Je);var He=(0,E.Z)(_n);function _n(Me){var Xe;(0,a.Z)(this,_n),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(Yt,It){var Nn=Xe.props.prefixCls,kt=Yt||ge.createElement("button",{type:"button","aria-label":It,className:"".concat(Nn,"-item-link")});return typeof Yt=="function"&&(kt=ge.createElement(Yt,(0,ue.Z)({},Xe.props))),kt},Xe.isValid=function(Yt){var It=Xe.props.total;return Ue(Yt)&&Yt!==Xe.state.current&&Ue(It)&&It>0},Xe.shouldDisplayQuickJumper=function(){var Yt=Xe.props,It=Yt.showQuickJumper,Nn=Yt.total,kt=Xe.state.pageSize;return Nn<=kt?!1:It},Xe.handleKeyDown=function(Yt){(Yt.keyCode===be.ARROW_UP||Yt.keyCode===be.ARROW_DOWN)&&Yt.preventDefault()},Xe.handleKeyUp=function(Yt){var It=Xe.getValidValue(Yt),Nn=Xe.state.currentInputValue;It!==Nn&&Xe.setState({currentInputValue:It}),Yt.keyCode===be.ENTER?Xe.handleChange(It):Yt.keyCode===be.ARROW_UP?Xe.handleChange(It-1):Yt.keyCode===be.ARROW_DOWN&&Xe.handleChange(It+1)},Xe.handleBlur=function(Yt){var It=Xe.getValidValue(Yt);Xe.handleChange(It)},Xe.changePageSize=function(Yt){var It=Xe.state.current,Nn=Ve(Yt,Xe.state,Xe.props);It=It>Nn?Nn:It,Nn===0&&(It=Xe.state.current),typeof Yt=="number"&&("pageSize"in Xe.props||Xe.setState({pageSize:Yt}),"current"in Xe.props||Xe.setState({current:It,currentInputValue:It})),Xe.props.onShowSizeChange(It,Yt),"onChange"in Xe.props&&Xe.props.onChange&&Xe.props.onChange(It,Yt)},Xe.handleChange=function(Yt){var It=Xe.props,Nn=It.disabled,kt=It.onChange,Gt=Xe.state,St=Gt.pageSize,Pn=Gt.current,qt=Gt.currentInputValue;if(Xe.isValid(Yt)&&!Nn){var wn=Ve(void 0,Xe.state,Xe.props),xa=Yt;return Yt>wn?xa=wn:Yt<1&&(xa=1),"current"in Xe.props||Xe.setState({current:xa}),xa!==qt&&Xe.setState({currentInputValue:xa}),kt(xa,St),xa}return Pn},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(Yt,It){if(Yt.key==="Enter"||Yt.charCode===13){for(var Nn=arguments.length,kt=new Array(Nn>2?Nn-2:0),Gt=2;Gt<Nn;Gt++)kt[Gt-2]=arguments[Gt];It.apply(void 0,kt)}},Xe.runIfEnterPrev=function(Yt){Xe.runIfEnter(Yt,Xe.prev)},Xe.runIfEnterNext=function(Yt){Xe.runIfEnter(Yt,Xe.next)},Xe.runIfEnterJumpPrev=function(Yt){Xe.runIfEnter(Yt,Xe.jumpPrev)},Xe.runIfEnterJumpNext=function(Yt){Xe.runIfEnter(Yt,Xe.jumpNext)},Xe.handleGoTO=function(Yt){(Yt.keyCode===be.ENTER||Yt.type==="click")&&Xe.handleChange(Xe.state.currentInputValue)},Xe.renderPrev=function(Yt){var It=Xe.props,Nn=It.prevIcon,kt=It.itemRender,Gt=kt(Yt,"prev",Xe.getItemIcon(Nn,"prev page")),St=!Xe.hasPrev();return(0,ge.isValidElement)(Gt)?(0,ge.cloneElement)(Gt,{disabled:St}):Gt},Xe.renderNext=function(Yt){var It=Xe.props,Nn=It.nextIcon,kt=It.itemRender,Gt=kt(Yt,"next",Xe.getItemIcon(Nn,"next page")),St=!Xe.hasNext();return(0,ge.isValidElement)(Gt)?(0,ge.cloneElement)(Gt,{disabled:St}):Gt};var Wt=Me.onChange!==Ie,ot="current"in Me;ot&&!Wt&&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 xt=Me.defaultPageSize;return"pageSize"in Me&&(xt=Me.pageSize),Ye=Math.min(Ye,Ve(xt,void 0,Me)),Xe.state={current:Ye,currentInputValue:Ye,pageSize:xt},Xe}return(0,y.Z)(_n,[{key:"componentDidUpdate",value:function(Xe,Wt){var ot=this.props.prefixCls;if(Wt.current!==this.state.current&&this.paginationNode.current){var Ye=this.paginationNode.current.querySelector(".".concat(ot,"-item-").concat(Wt.current));if(Ye&&document.activeElement===Ye){var xt;Ye==null||(xt=Ye.blur)===null||xt===void 0||xt.call(Ye)}}}},{key:"getValidValue",value:function(Xe){var Wt=Xe.target.value,ot=Ve(void 0,this.state,this.props),Ye=this.state.currentInputValue,xt;return Wt===""?xt=Wt:Number.isNaN(Number(Wt))?xt=Ye:Wt>=ot?xt=ot:xt=Number(Wt),xt}},{key:"getShowSizeChanger",value:function(){var Xe=this.props,Wt=Xe.showSizeChanger,ot=Xe.total,Ye=Xe.totalBoundaryShowSizeChanger;return typeof Wt!="undefined"?Wt:ot>Ye}},{key:"render",value:function(){var Xe=this.props,Wt=Xe.prefixCls,ot=Xe.className,Ye=Xe.style,xt=Xe.disabled,Yt=Xe.hideOnSinglePage,It=Xe.total,Nn=Xe.locale,kt=Xe.showQuickJumper,Gt=Xe.showLessItems,St=Xe.showTitle,Pn=Xe.showTotal,qt=Xe.simple,wn=Xe.itemRender,xa=Xe.showPrevNextJumpers,Hn=Xe.jumpPrevIcon,la=Xe.jumpNextIcon,Ba=Xe.selectComponentClass,rn=Xe.selectPrefixCls,cn=Xe.pageSizeOptions,pn=this.state,Aa=pn.current,ha=pn.pageSize,aa=pn.currentInputValue;if(Yt===!0&&It<=ha)return null;var Ga=Ve(void 0,this.state,this.props),_a=[],Qr=null,wo=null,Dn=null,At=null,Zt=null,bt=kt&&kt.goButton,Jn=Gt?1:2,Jt=Aa-1>0?Aa-1:0,er=Aa+1<Ga?Aa+1:Ga,Zo=pe(this.props,{aria:!0,data:!0}),ao=Pn&&ge.createElement("li",{className:"".concat(Wt,"-total-text")},Pn(It,[It===0?0:(Aa-1)*ha+1,Aa*ha>It?It:Aa*ha]));if(qt){bt&&(typeof bt=="boolean"?Zt=ge.createElement("button",{type:"button",onClick:this.handleGoTO,onKeyUp:this.handleGoTO},Nn.jump_to_confirm):Zt=ge.createElement("span",{onClick:this.handleGoTO,onKeyUp:this.handleGoTO},bt),Zt=ge.createElement("li",{title:St?"".concat(Nn.jump_to).concat(Aa,"/").concat(Ga):null,className:"".concat(Wt,"-simple-pager")},Zt));var rr=this.renderPrev(Jt);return ge.createElement("ul",(0,x.Z)({className:De()(Wt,"".concat(Wt,"-simple"),(0,ve.Z)({},"".concat(Wt,"-disabled"),xt),ot),style:Ye,ref:this.paginationNode},Zo),ao,rr?ge.createElement("li",{title:St?Nn.prev_page:null,onClick:this.prev,tabIndex:this.hasPrev()?0:null,onKeyPress:this.runIfEnterPrev,className:De()("".concat(Wt,"-prev"),(0,ve.Z)({},"".concat(Wt,"-disabled"),!this.hasPrev())),"aria-disabled":!this.hasPrev()},rr):null,ge.createElement("li",{title:St?"".concat(Aa,"/").concat(Ga):null,className:"".concat(Wt,"-simple-pager")},ge.createElement("input",{type:"text",value:aa,disabled:xt,onKeyDown:this.handleKeyDown,onKeyUp:this.handleKeyUp,onChange:this.handleKeyUp,onBlur:this.handleBlur,size:3}),ge.createElement("span",{className:"".concat(Wt,"-slash")},"/"),Ga),ge.createElement("li",{title:St?Nn.next_page:null,onClick:this.next,tabIndex:this.hasPrev()?0:null,onKeyPress:this.runIfEnterNext,className:De()("".concat(Wt,"-next"),(0,ve.Z)({},"".concat(Wt,"-disabled"),!this.hasNext())),"aria-disabled":!this.hasNext()},this.renderNext(er)),Zt)}if(Ga<=3+Jn*2){var qr={locale:Nn,rootPrefixCls:Wt,onClick:this.handleChange,onKeyPress:this.runIfEnter,showTitle:St,itemRender:wn};Ga||_a.push(ge.createElement(at,(0,x.Z)({},qr,{key:"noPager",page:1,className:"".concat(Wt,"-item-disabled")})));for(var Jo=1;Jo<=Ga;Jo+=1){var sa=Aa===Jo;_a.push(ge.createElement(at,(0,x.Z)({},qr,{key:Jo,page:Jo,active:sa})))}}else{var Vr=Gt?Nn.prev_3:Nn.prev_5,ft=Gt?Nn.next_3:Nn.next_5,mn=wn(this.getJumpPrevPage(),"jump-prev",this.getItemIcon(Hn,"prev page")),an=wn(this.getJumpNextPage(),"jump-next",this.getItemIcon(la,"next page"));xa&&(Qr=mn?ge.createElement("li",{title:St?Vr:null,key:"prev",onClick:this.jumpPrev,tabIndex:0,onKeyPress:this.runIfEnterJumpPrev,className:De()("".concat(Wt,"-jump-prev"),(0,ve.Z)({},"".concat(Wt,"-jump-prev-custom-icon"),!!Hn))},mn):null,wo=an?ge.createElement("li",{title:St?ft:null,key:"next",tabIndex:0,onClick:this.jumpNext,onKeyPress:this.runIfEnterJumpNext,className:De()("".concat(Wt,"-jump-next"),(0,ve.Z)({},"".concat(Wt,"-jump-next-custom-icon"),!!la))},an):null),At=ge.createElement(at,{locale:Nn,last:!0,rootPrefixCls:Wt,onClick:this.handleChange,onKeyPress:this.runIfEnter,key:Ga,page:Ga,active:!1,showTitle:St,itemRender:wn}),Dn=ge.createElement(at,{locale:Nn,rootPrefixCls:Wt,onClick:this.handleChange,onKeyPress:this.runIfEnter,key:1,page:1,active:!1,showTitle:St,itemRender:wn});var fn=Math.max(1,Aa-Jn),da=Math.min(Aa+Jn,Ga);Aa-1<=Jn&&(da=1+Jn*2),Ga-Aa<=Jn&&(fn=Ga-Jn*2);for(var gn=fn;gn<=da;gn+=1){var ia=Aa===gn;_a.push(ge.createElement(at,{locale:Nn,rootPrefixCls:Wt,onClick:this.handleChange,onKeyPress:this.runIfEnter,key:gn,page:gn,active:ia,showTitle:St,itemRender:wn}))}Aa-1>=Jn*2&&Aa!==3&&(_a[0]=(0,ge.cloneElement)(_a[0],{className:"".concat(Wt,"-item-after-jump-prev")}),_a.unshift(Qr)),Ga-Aa>=Jn*2&&Aa!==Ga-2&&(_a[_a.length-1]=(0,ge.cloneElement)(_a[_a.length-1],{className:"".concat(Wt,"-item-before-jump-next")}),_a.push(wo)),fn!==1&&_a.unshift(Dn),da!==Ga&&_a.push(At)}var In=!this.hasPrev()||!Ga,pa=!this.hasNext()||!Ga,Qa=this.renderPrev(Jt),Br=this.renderNext(er);return ge.createElement("ul",(0,x.Z)({className:De()(Wt,ot,(0,ve.Z)({},"".concat(Wt,"-disabled"),xt)),style:Ye,ref:this.paginationNode},Zo),ao,Qa?ge.createElement("li",{title:St?Nn.prev_page:null,onClick:this.prev,tabIndex:In?null:0,onKeyPress:this.runIfEnterPrev,className:De()("".concat(Wt,"-prev"),(0,ve.Z)({},"".concat(Wt,"-disabled"),In)),"aria-disabled":In},Qa):null,_a,Br?ge.createElement("li",{title:St?Nn.next_page:null,onClick:this.next,tabIndex:pa?null:0,onKeyPress:this.runIfEnterNext,className:De()("".concat(Wt,"-next"),(0,ve.Z)({},"".concat(Wt,"-disabled"),pa)),"aria-disabled":pa},Br):null,ge.createElement(Ne,{disabled:xt,locale:Nn,rootPrefixCls:Wt,selectComponentClass:Ba,selectPrefixCls:rn,changeSize:this.getShowSizeChanger()?this.changePageSize:null,current:Aa,pageSize:ha,pageSizeOptions:cn,quickGo:this.shouldDisplayQuickJumper()?this.handleChange:null,goButton:bt}))}}],[{key:"getDerivedStateFromProps",value:function(Xe,Wt){var ot={};if("current"in Xe&&(ot.current=Xe.current,Xe.current!==Wt.current&&(ot.currentInputValue=ot.current)),"pageSize"in Xe&&Xe.pageSize!==Wt.pageSize){var Ye=Wt.current,xt=Ve(Xe.pageSize,Wt,Xe);Ye=Ye>xt?xt:Ye,"current"in Xe||(ot.current=Ye,ot.currentInputValue=Ye),ot.pageSize=Xe.pageSize}return ot}}]),_n}(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,Ft=z(62906),Ut=z(53124),Sn=z(98675),lt=z(25378),pt=z(10110),Mt=z(42563);const Ht=Je=>ge.createElement(Mt.default,Object.assign({},Je,{showSearch:!0,size:"small"})),dt=Je=>ge.createElement(Mt.default,Object.assign({},Je,{showSearch:!0,size:"middle"}));Ht.Option=Mt.default.Option,dt.Option=Mt.default.Option;var zt=z(47673),Ze=z(14747),Fn=z(67968),Zn=z(45503);const La=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"}}}}}},vt=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,zt.x0)(Je)),{width:Je.paginationMiniQuickJumperInputWidth,height:Je.controlHeightSM})}}}},Lt=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"}}}}},Ct=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,zt.ik)(Je)),{width:Je.controlHeightLG*1.25,height:Je.controlHeight,boxSizing:"border-box",margin:0,marginInlineStart:Je.marginXS,marginInlineEnd:Je.marginXS})}}}},wt=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}}}}},Cn=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"}}),wt(Je)),Ct(Je)),Lt(Je)),vt(Je)),La(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"}}},sn=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}}}}},Nt=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 On=(0,Fn.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,zt.e5)(Je),(0,zt.TM)(Je));return[Cn(He),Nt(He),Je.wireframe&&sn(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})),Vt=function(Je,He){var _n={};for(var Me in Je)Object.prototype.hasOwnProperty.call(Je,Me)&&He.indexOf(Me)<0&&(_n[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])&&(_n[Me[Xe]]=Je[Me[Xe]]);return _n},Mn=Je=>{const{prefixCls:He,selectPrefixCls:_n,className:Me,rootClassName:Xe,style:Wt,size:ot,locale:Ye,selectComponentClass:xt,responsive:Yt,showSizeChanger:It}=Je,Nn=Vt(Je,["prefixCls","selectPrefixCls","className","rootClassName","style","size","locale","selectComponentClass","responsive","showSizeChanger"]),{xs:kt}=(0,lt.Z)(Yt),{getPrefixCls:Gt,direction:St,pagination:Pn={}}=ge.useContext(Ut.E_),qt=Gt("pagination",He),[wn,xa]=On(qt),Hn=It!=null?It:Pn.showSizeChanger,la=ge.useMemo(()=>{const Ga=ge.createElement("span",{className:`${qt}-item-ellipsis`},"\u2022\u2022\u2022"),_a=ge.createElement("button",{className:`${qt}-item-link`,type:"button",tabIndex:-1},St==="rtl"?ge.createElement(Le.Z,null):ge.createElement(Te.Z,null)),Qr=ge.createElement("button",{className:`${qt}-item-link`,type:"button",tabIndex:-1},St==="rtl"?ge.createElement(Te.Z,null):ge.createElement(Le.Z,null)),wo=ge.createElement("a",{className:`${qt}-item-link`},ge.createElement("div",{className:`${qt}-item-container`},St==="rtl"?ge.createElement(je.Z,{className:`${qt}-item-link-icon`}):ge.createElement(se,{className:`${qt}-item-link-icon`}),Ga)),Dn=ge.createElement("a",{className:`${qt}-item-link`},ge.createElement("div",{className:`${qt}-item-container`},St==="rtl"?ge.createElement(se,{className:`${qt}-item-link-icon`}):ge.createElement(je.Z,{className:`${qt}-item-link-icon`}),Ga));return{prevIcon:_a,nextIcon:Qr,jumpPrevIcon:wo,jumpNextIcon:Dn}},[St,qt]),[Ba]=(0,pt.Z)("Pagination",Ft.Z),rn=Object.assign(Object.assign({},Ba),Ye),cn=(0,Sn.Z)(ot),pn=cn==="small"||!!(kt&&!cn&&Yt),Aa=Gt("select",_n),ha=De()({[`${qt}-mini`]:pn,[`${qt}-rtl`]:St==="rtl"},Pn==null?void 0:Pn.className,Me,Xe,xa),aa=Object.assign(Object.assign({},Pn==null?void 0:Pn.style),Wt);return wn(ge.createElement(gt,Object.assign({},la,Nn,{style:aa,prefixCls:qt,selectPrefixCls:Aa,className:ha,selectComponentClass:xt||(pn?Ht:dt),locale:rn,showSizeChanger:Hn})))},bn=Mn},38703:function(mt,st,z){"use strict";z.d(st,{Z:function(){return Wt}});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)([]),xt=(0,x.useRef)(null);return(0,x.useEffect)(function(){var Yt=Date.now(),It=!1;Ye.current.forEach(function(Nn){if(Nn){It=!0;var kt=Nn.style;kt.transitionDuration=".3s, .3s, .3s, .06s",xt.current&&Yt-xt.current<100&&(kt.transitionDuration="0s, 0s")}}),It&&(xt.current=Date.now())}),Ye.current},a=["className","percent","prefixCls","strokeColor","strokeLinecap","strokeWidth","style","trailColor","trailWidth","transition"],y=function(Ye){var xt=(0,Ke.Z)((0,Ke.Z)({},ve),Ye),Yt=xt.className,It=xt.percent,Nn=xt.prefixCls,kt=xt.strokeColor,Gt=xt.strokeLinecap,St=xt.strokeWidth,Pn=xt.style,qt=xt.trailColor,wn=xt.trailWidth,xa=xt.transition,Hn=(0,De.Z)(xt,a);delete Hn.gapPosition;var la=Array.isArray(It)?It:[It],Ba=Array.isArray(kt)?kt:[kt],rn=ue(),cn=St/2,pn=100-St/2,Aa="M ".concat(Gt==="round"?cn:0,",").concat(cn,`
|
|
L `).concat(Gt==="round"?pn:100,",").concat(cn),ha="0 0 100 ".concat(St),aa=0;return x.createElement("svg",(0,Le.Z)({className:se()("".concat(Nn,"-line"),Yt),viewBox:ha,preserveAspectRatio:"none",style:Pn},Hn),x.createElement("path",{className:"".concat(Nn,"-line-trail"),d:Aa,strokeLinecap:Gt,stroke:qt,strokeWidth:wn||St,fillOpacity:"0"}),la.map(function(Ga,_a){var Qr=1;switch(Gt){case"round":Qr=1-St/100;break;case"square":Qr=1-St/2/100;break;default:Qr=1;break}var wo={strokeDasharray:"".concat(Ga*Qr,"px, 100px"),strokeDashoffset:"-".concat(aa,"px"),transition:xa||"stroke-dashoffset 0.3s ease 0s, stroke-dasharray .3s ease 0s, stroke 0.3s linear"},Dn=Ba[_a]||Ba[Ba.length-1];return aa+=Ga,x.createElement("path",{key:_a,className:"".concat(Nn,"-line-path"),d:Aa,strokeLinecap:Gt,stroke:Dn,strokeWidth:St,fillOpacity:"0",ref:function(Zt){rn[_a]=Zt},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(),xt=(0,ee.Z)(Ye,2),Yt=xt[0],It=xt[1];return x.useEffect(function(){It("rc_progress_".concat(ne()))},[]),ot||Yt},pe=function(Ye){var xt=Ye.bg,Yt=Ye.children;return x.createElement("div",{style:{width:"100%",height:"100%",background:xt}},Yt)};function Ee(ot,Ye){return Object.keys(ot).map(function(xt){var Yt=parseFloat(xt),It="".concat(Math.floor(Yt*Ye),"%");return"".concat(ot[xt]," ").concat(It)})}var be=x.forwardRef(function(ot,Ye){var xt=ot.prefixCls,Yt=ot.color,It=ot.gradientId,Nn=ot.radius,kt=ot.style,Gt=ot.ptg,St=ot.strokeLinecap,Pn=ot.strokeWidth,qt=ot.size,wn=ot.gapDegree,xa=Yt&&(0,E.Z)(Yt)==="object",Hn=xa?"#FFF":void 0,la=qt/2,Ba=x.createElement("circle",{className:"".concat(xt,"-circle-path"),r:Nn,cx:la,cy:la,stroke:Hn,strokeLinecap:St,strokeWidth:Pn,opacity:Gt===0?0:1,style:kt,ref:Ye});if(!xa)return Ba;var rn="".concat(It,"-conic"),cn=wn?"".concat(180+wn/2,"deg"):"0deg",pn=Ee(Yt,(360-wn)/360),Aa=Ee(Yt,1),ha="conic-gradient(from ".concat(cn,", ").concat(pn.join(", "),")"),aa="linear-gradient(to ".concat(wn?"bottom":"top",", ").concat(Aa.join(", "),")");return x.createElement(x.Fragment,null,x.createElement("mask",{id:rn},Ba),x.createElement("foreignObject",{x:0,y:0,width:qt,height:qt,mask:"url(#".concat(rn,")")},x.createElement(pe,{bg:aa},x.createElement(pe,{bg:ha}))))}),xe=be,Ce=100,Ne=function(Ye,xt,Yt,It,Nn,kt,Gt,St,Pn,qt){var wn=arguments.length>10&&arguments[10]!==void 0?arguments[10]:0,xa=Yt/100*360*((360-kt)/360),Hn=kt===0?0:{bottom:0,top:180,left:90,right:-90}[Gt],la=(100-It)/100*xt;Pn==="round"&&It!==100&&(la+=qt/2,la>=xt&&(la=xt-.01));var Ba=Ce/2;return{stroke:typeof St=="string"?St:void 0,strokeDasharray:"".concat(xt,"px ").concat(Ye),strokeDashoffset:la+wn,transform:"rotate(".concat(Nn+xa+Hn,"deg)"),transformOrigin:"".concat(Ba,"px ").concat(Ba,"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 xt=(0,Ke.Z)((0,Ke.Z)({},ve),Ye),Yt=xt.id,It=xt.prefixCls,Nn=xt.steps,kt=xt.strokeWidth,Gt=xt.trailWidth,St=xt.gapDegree,Pn=St===void 0?0:St,qt=xt.gapPosition,wn=xt.trailColor,xa=xt.strokeLinecap,Hn=xt.style,la=xt.className,Ba=xt.strokeColor,rn=xt.percent,cn=(0,De.Z)(xt,Re),pn=Ce/2,Aa=de(Yt),ha="".concat(Aa,"-gradient"),aa=pn-kt/2,Ga=Math.PI*2*aa,_a=Pn>0?90+Pn/2:-90,Qr=Ga*((360-Pn)/360),wo=(0,E.Z)(Nn)==="object"?Nn:{count:Nn,space:2},Dn=wo.count,At=wo.space,Zt=at(rn),bt=at(Ba),Jn=bt.find(function(Jo){return Jo&&(0,E.Z)(Jo)==="object"}),Jt=Jn&&(0,E.Z)(Jn)==="object",er=Jt?"butt":xa,Zo=Ne(Ga,Qr,0,100,_a,Pn,qt,wn,er,kt),ao=ue(),rr=function(){var sa=0;return Zt.map(function(Vr,ft){var mn=bt[ft]||bt[bt.length-1],an=Ne(Ga,Qr,sa,Vr,_a,Pn,qt,mn,er,kt);return sa+=Vr,x.createElement(xe,{key:ft,color:mn,ptg:Vr,radius:aa,prefixCls:It,gradientId:ha,style:an,strokeLinecap:er,strokeWidth:kt,gapDegree:Pn,ref:function(da){ao[ft]=da},size:Ce})}).reverse()},qr=function(){var sa=Math.round(Dn*(Zt[0]/100)),Vr=100/Dn,ft=0;return new Array(Dn).fill(null).map(function(mn,an){var fn=an<=sa-1?bt[0]:wn,da=fn&&(0,E.Z)(fn)==="object"?"url(#".concat(ha,")"):void 0,gn=Ne(Ga,Qr,ft,Vr,_a,Pn,qt,fn,"butt",kt,At);return ft+=(Qr-gn.strokeDashoffset+At)*100/Qr,x.createElement("circle",{key:an,className:"".concat(It,"-circle-path"),r:aa,cx:pn,cy:pn,stroke:da,strokeWidth:kt,opacity:1,style:gn,ref:function(In){ao[an]=In}})})};return x.createElement("svg",(0,Le.Z)({className:se()("".concat(It,"-circle"),la),viewBox:"0 0 ".concat(Ce," ").concat(Ce),style:Hn,id:Yt,role:"presentation"},cn),!Dn&&x.createElement("circle",{className:"".concat(It,"-circle-trail"),r:aa,cx:pn,cy:pn,stroke:wn,strokeLinecap:er,strokeWidth:Gt||kt,style:Zo}),Dn?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 Ft(ot){let{success:Ye,successPercent:xt}=ot,Yt=xt;return Ye&&"progress"in Ye&&(Yt=Ye.progress),Ye&&"percent"in Ye&&(Yt=Ye.percent),Yt}const Ut=ot=>{let{percent:Ye,success:xt,successPercent:Yt}=ot;const It=gt(Ft({success:xt,successPercent:Yt}));return[It,gt(gt(Ye)-It)]},Sn=ot=>{let{success:Ye={},strokeColor:xt}=ot;const{strokeColor:Yt}=Ye;return[Yt||rt.presetPrimaryColors.green,xt||null]},lt=(ot,Ye,xt)=>{var Yt,It,Nn,kt;let Gt=-1,St=-1;if(Ye==="step"){const Pn=xt.steps,qt=xt.strokeWidth;typeof ot=="string"||typeof ot=="undefined"?(Gt=ot==="small"?2:14,St=qt!=null?qt:8):typeof ot=="number"?[Gt,St]=[ot,ot]:[Gt=14,St=8]=ot,Gt*=Pn}else if(Ye==="line"){const Pn=xt==null?void 0:xt.strokeWidth;typeof ot=="string"||typeof ot=="undefined"?St=Pn||(ot==="small"?6:8):typeof ot=="number"?[Gt,St]=[ot,ot]:[Gt=-1,St=8]=ot}else(Ye==="circle"||Ye==="dashboard")&&(typeof ot=="string"||typeof ot=="undefined"?[Gt,St]=ot==="small"?[60,60]:[120,120]:typeof ot=="number"?[Gt,St]=[ot,ot]:(Gt=(It=(Yt=ot[0])!==null&&Yt!==void 0?Yt:ot[1])!==null&&It!==void 0?It:120,St=(kt=(Nn=ot[0])!==null&&Nn!==void 0?Nn:ot[1])!==null&&kt!==void 0?kt:120));return[Gt,St]},pt=3,Mt=ot=>pt/ot*100;var dt=ot=>{const{prefixCls:Ye,trailColor:xt=null,strokeLinecap:Yt="round",gapPosition:It,gapDegree:Nn,width:kt=120,type:Gt,children:St,success:Pn,size:qt=kt}=ot,[wn,xa]=lt(qt,"circle");let{strokeWidth:Hn}=ot;Hn===void 0&&(Hn=Math.max(Mt(wn),6));const la={width:wn,height:xa,fontSize:wn*.15+6},Ba=x.useMemo(()=>{if(Nn||Nn===0)return Nn;if(Gt==="dashboard")return 75},[Nn,Gt]),rn=It||Gt==="dashboard"&&"bottom"||void 0,cn=Object.prototype.toString.call(ot.strokeColor)==="[object Object]",pn=Sn({success:Pn,strokeColor:ot.strokeColor}),Aa=se()(`${Ye}-inner`,{[`${Ye}-circle-gradient`]:cn}),ha=x.createElement(Ue,{percent:Ut(ot),strokeWidth:Hn,trailWidth:Hn,strokeColor:pn,strokeLinecap:Yt,trailColor:xt,prefixCls:Ye,gapDegree:Ba,gapPosition:rn});return x.createElement("div",{className:Aa,style:la},wn<=20?x.createElement(Ve.Z,{title:St},x.createElement("span",null,ha)):x.createElement(x.Fragment,null,ha,St))},zt=function(ot,Ye){var xt={};for(var Yt in ot)Object.prototype.hasOwnProperty.call(ot,Yt)&&Ye.indexOf(Yt)<0&&(xt[Yt]=ot[Yt]);if(ot!=null&&typeof Object.getOwnPropertySymbols=="function")for(var It=0,Yt=Object.getOwnPropertySymbols(ot);It<Yt.length;It++)Ye.indexOf(Yt[It])<0&&Object.prototype.propertyIsEnumerable.call(ot,Yt[It])&&(xt[Yt[It]]=ot[Yt[It]]);return xt};const Ze=ot=>{let Ye=[];return Object.keys(ot).forEach(xt=>{const Yt=parseFloat(xt.replace(/%/g,""));isNaN(Yt)||Ye.push({key:Yt,value:ot[xt]})}),Ye=Ye.sort((xt,Yt)=>xt.key-Yt.key),Ye.map(xt=>{let{key:Yt,value:It}=xt;return`${It} ${Yt}%`}).join(", ")},Fn=(ot,Ye)=>{const{from:xt=rt.presetPrimaryColors.blue,to:Yt=rt.presetPrimaryColors.blue,direction:It=Ye==="rtl"?"to left":"to right"}=ot,Nn=zt(ot,["from","to","direction"]);if(Object.keys(Nn).length!==0){const kt=Ze(Nn);return{backgroundImage:`linear-gradient(${It}, ${kt})`}}return{backgroundImage:`linear-gradient(${It}, ${xt}, ${Yt})`}};var La=ot=>{const{prefixCls:Ye,direction:xt,percent:Yt,size:It,strokeWidth:Nn,strokeColor:kt,strokeLinecap:Gt="round",children:St,trailColor:Pn=null,success:qt}=ot,wn=kt&&typeof kt!="string"?Fn(kt,xt):{backgroundColor:kt},xa=Gt==="square"||Gt==="butt"?0:void 0,Hn={backgroundColor:Pn||void 0,borderRadius:xa},la=It!=null?It:[-1,Nn||(It==="small"?6:8)],[Ba,rn]=lt(la,"line",{strokeWidth:Nn}),cn=Object.assign({width:`${gt(Yt)}%`,height:rn,borderRadius:xa},wn),pn=Ft(ot),Aa={width:`${gt(pn)}%`,height:rn,borderRadius:xa,backgroundColor:qt==null?void 0:qt.strokeColor},ha={width:Ba<0?"100%":Ba,height:rn};return x.createElement(x.Fragment,null,x.createElement("div",{className:`${Ye}-outer`,style:ha},x.createElement("div",{className:`${Ye}-inner`,style:Hn},x.createElement("div",{className:`${Ye}-bg`,style:cn}),pn!==void 0?x.createElement("div",{className:`${Ye}-success-bg`,style:Aa}):null)),St)},Lt=ot=>{const{size:Ye,steps:xt,percent:Yt=0,strokeWidth:It=8,strokeColor:Nn,trailColor:kt=null,prefixCls:Gt,children:St}=ot,Pn=Math.round(xt*(Yt/100)),qt=Ye==="small"?2:14,wn=Ye!=null?Ye:[qt,It],[xa,Hn]=lt(wn,"step",{steps:xt,strokeWidth:It}),la=xa/xt,Ba=new Array(xt);for(let rn=0;rn<xt;rn++){const cn=Array.isArray(Nn)?Nn[rn]:Nn;Ba[rn]=x.createElement("div",{key:rn,className:se()(`${Gt}-steps-item`,{[`${Gt}-steps-item-active`]:rn<=Pn-1}),style:{backgroundColor:rn<=Pn-1?cn:kt,width:la,height:Hn}})}return x.createElement("div",{className:`${Gt}-steps-outer`},Ba,St)},Ct=z(45930),wt=z(14747),Cn=z(67968),sn=z(45503);const Nt=ot=>{const Ye=ot?"100%":"-100%";return new Ct.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}})},On=ot=>{const{componentCls:Ye,iconCls:xt}=ot;return{[Ye]:Object.assign(Object.assign({},(0,wt.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",[xt]:{fontSize:ot.fontSize}},[`&${Ye}-status-active`]:{[`${Ye}-bg::before`]:{position:"absolute",inset:0,backgroundColor:ot.colorBgContainer,borderRadius:ot.lineBorderRadius,opacity:0,animationName:Nt(),animationDuration:ot.progressActiveMotionDuration,animationTimingFunction:ot.motionEaseOutQuint,animationIterationCount:"infinite",content:'""'}},[`&${Ye}-rtl${Ye}-status-active`]:{[`${Ye}-bg::before`]:{animationName:Nt(!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}}})}},Vt=ot=>{const{componentCls:Ye,iconCls:xt}=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%)",[xt]:{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"}}}},_t=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}}}}}},Mn=ot=>{const{componentCls:Ye,iconCls:xt}=ot;return{[Ye]:{[`${Ye}-small&-line, ${Ye}-small&-line ${Ye}-text ${xt}`]:{fontSize:ot.fontSizeSM}}}};var bn=(0,Cn.Z)("Progress",ot=>{const Ye=ot.marginXXS/2,xt=(0,sn.TS)(ot,{progressStepMarginInlineEnd:Ye,progressStepMinWidth:Ye,progressActiveMotionDuration:"2.4s"});return[On(xt),Vt(xt),_t(xt),Mn(xt)]},ot=>({circleTextColor:ot.colorText,defaultColor:ot.colorInfo,remainingColor:ot.colorFillSecondary,lineBorderRadius:100,circleTextFontSize:"1em"})),Je=function(ot,Ye){var xt={};for(var Yt in ot)Object.prototype.hasOwnProperty.call(ot,Yt)&&Ye.indexOf(Yt)<0&&(xt[Yt]=ot[Yt]);if(ot!=null&&typeof Object.getOwnPropertySymbols=="function")for(var It=0,Yt=Object.getOwnPropertySymbols(ot);It<Yt.length;It++)Ye.indexOf(Yt[It])<0&&Object.prototype.propertyIsEnumerable.call(ot,Yt[It])&&(xt[Yt[It]]=ot[Yt[It]]);return xt};const He=null,_n=["normal","exception","active","success"];var Xe=x.forwardRef((ot,Ye)=>{const{prefixCls:xt,className:Yt,rootClassName:It,steps:Nn,strokeColor:kt,percent:Gt=0,size:St="default",showInfo:Pn=!0,type:qt="line",status:wn,format:xa,style:Hn}=ot,la=Je(ot,["prefixCls","className","rootClassName","steps","strokeColor","percent","size","showInfo","type","status","format","style"]),Ba=x.useMemo(()=>{var Zt,bt;const Jn=Ft(ot);return parseInt(Jn!==void 0?(Zt=Jn!=null?Jn:0)===null||Zt===void 0?void 0:Zt.toString():(bt=Gt!=null?Gt:0)===null||bt===void 0?void 0:bt.toString(),10)},[Gt,ot.success,ot.successPercent]),rn=x.useMemo(()=>!_n.includes(wn)&&Ba>=100?"success":wn||"normal",[wn,Ba]),{getPrefixCls:cn,direction:pn,progress:Aa}=x.useContext(Te.E_),ha=cn("progress",xt),[aa,Ga]=bn(ha),_a=x.useMemo(()=>{if(!Pn)return null;const Zt=Ft(ot);let bt;const Jn=xa||(er=>`${er}%`),Jt=qt==="line";return xa||rn!=="exception"&&rn!=="success"?bt=Jn(gt(Gt),gt(Zt)):rn==="exception"?bt=Jt?x.createElement(Fe.Z,null):x.createElement(we.Z,null):rn==="success"&&(bt=Jt?x.createElement(ge.Z,null):x.createElement(he.Z,null)),x.createElement("span",{className:`${ha}-text`,title:typeof bt=="string"?bt:void 0},bt)},[Pn,Gt,Ba,rn,qt,ha,xa]),Qr=Array.isArray(kt)?kt[0]:kt,wo=typeof kt=="string"||Array.isArray(kt)?kt:void 0;let Dn;qt==="line"?Dn=Nn?x.createElement(Lt,Object.assign({},ot,{strokeColor:wo,prefixCls:ha,steps:Nn}),_a):x.createElement(La,Object.assign({},ot,{strokeColor:Qr,prefixCls:ha,direction:pn}),_a):(qt==="circle"||qt==="dashboard")&&(Dn=x.createElement(dt,Object.assign({},ot,{strokeColor:Qr,prefixCls:ha,progressStatus:rn}),_a));const At=se()(ha,`${ha}-status-${rn}`,`${ha}-${qt==="dashboard"&&"circle"||Nn&&"steps"||qt}`,{[`${ha}-inline-circle`]:qt==="circle"&<(St,"circle")[0]<=20,[`${ha}-show-info`]:Pn,[`${ha}-${St}`]:typeof St=="string",[`${ha}-rtl`]:pn==="rtl"},Aa==null?void 0:Aa.className,Yt,It,Ga);return aa(x.createElement("div",Object.assign({ref:Ye,style:Object.assign(Object.assign({},Aa==null?void 0:Aa.style),Hn),className:At,role:"progressbar","aria-valuenow":Ba},(0,je.Z)(la,["trailColor","strokeWidth","width","gapDegree","gapPosition","strokeLinecap","success","successPercent"])),Dn))}),Wt=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,Et=Qe.children,Tt=se.useRef(it);Tt.current=it;var Ot=se.useState(function(){return{getValue:function(){return Tt.current},listeners:new Set}}),tn=(0,he.Z)(Ot,1),yn=tn[0];return(0,we.Z)(function(){(0,je.unstable_batchedUpdates)(function(){yn.listeners.forEach(function(un){un(it)})})},[it]),se.createElement(me.Provider,{value:yn},Et)};return{Context:me,Provider:Be,defaultValue:ce}}function Le(ce,me){var Be=(0,Fe.Z)(typeof me=="function"?me:function(un){if(me===void 0)return un;if(!Array.isArray(me))return un[me];var Gn={};return me.forEach(function(Un){Gn[Un]=un[Un]}),Gn}),We=se.useContext(ce==null?void 0:ce.Context),Qe=We||{},it=Qe.listeners,Et=Qe.getValue,Tt=se.useRef();Tt.current=Be(We?Et():ce==null?void 0:ce.defaultValue);var Ot=se.useState({}),tn=(0,he.Z)(Ot,2),yn=tn[1];return(0,we.Z)(function(){if(!We)return;function un(Gn){var Un=Be(Gn);(0,ze.Z)(Tt.current,Un,!0)||yn({})}return it.add(un),function(){it.delete(un)}},[We]),Tt.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 Et=(0,De.Yr)(Qe),Tt=function(tn,yn){var un=Et?{ref:yn}:{},Gn=se.useRef(0),Un=se.useRef(tn),ea=me();return ea!==null?se.createElement(Qe,(0,Ke.Z)({},tn,un)):((!it||it(Un.current,tn))&&(Gn.current+=1),Un.current=tn,se.createElement(ce.Provider,{value:Gn.current},se.createElement(Qe,(0,Ke.Z)({},tn,un))))};return Et?se.forwardRef(Tt):Tt}function We(Qe,it){var Et=(0,De.Yr)(Qe),Tt=function(tn,yn){var un=Et?{ref:yn}:{};return me(),se.createElement(Qe,(0,Ke.Z)({},tn,un))};return Et?se.memo(se.forwardRef(Tt),it):se.memo(Tt,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(Et){var Tt;(ce==null?void 0:ce[Et])!==((Tt=We.current)===null||Tt===void 0?void 0:Tt[Et])&&Qe.push(Et)}),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 Ft(ce,me,Be){!me&&!Ie[Be]&&(ce(!1,Be),Ie[Be]=!0)}function Ut(ce,me){Ft(Ve,ce,me)}function Sn(ce,me){Ft(rt,ce,me)}Ut.preMessage=Ge,Ut.resetWarned=gt,Ut.noteOnce=Sn;var lt=Ut;function pt(ce,me){var Be=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1,We=new Set;function Qe(it,Et){var Tt=arguments.length>2&&arguments[2]!==void 0?arguments[2]:1,Ot=We.has(it);if(lt(!Ot,"Warning: There may be circular references"),Ot)return!1;if(it===Et)return!0;if(Be&&Tt>1)return!1;We.add(it);var tn=Tt+1;if(Array.isArray(it)){if(!Array.isArray(Et)||it.length!==Et.length)return!1;for(var yn=0;yn<it.length;yn++)if(!Qe(it[yn],Et[yn],tn))return!1;return!0}if(it&&Et&&(0,be.Z)(it)==="object"&&(0,be.Z)(Et)==="object"){var un=Object.keys(it);return un.length!==Object.keys(Et).length?!1:un.every(function(Gn){return Qe(it[Gn],Et[Gn],tn)})}return!1}return Qe(ce,me)}var Mt=pt;function Ht(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}),zt=dt,Ze="RC_TABLE_KEY";function Fn(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,Et=Qe.dataIndex,Tt=it||Fn(Et).join("-")||Ze;Be[Tt];)Tt="".concat(Tt,"_next");Be[Tt]=!0,me.push(Tt)}),me}function La(ce){return ce!=null}function vt(ce){return ce&&(0,be.Z)(ce)==="object"&&!Array.isArray(ce)&&!se.isValidElement(ce)}function Lt(ce,me,Be,We,Qe,it){var Et=se.useContext(zt),Tt=re(),Ot=at(function(){if(La(We))return[We];var tn=me==null||me===""?[]:Array.isArray(me)?me:[me],yn=Ht(ce,tn),un=yn,Gn=void 0;if(Qe){var Un=Qe(yn,ce,Be);vt(Un)?(un=Un.children,Gn=Un.props,Et.renderWithProps=!0):un=Un}return[un,Gn]},[Tt,ce,We,me,Qe,Be],function(tn,yn){if(it){var un=(0,he.Z)(tn,2),Gn=un[1],Un=(0,he.Z)(yn,2),ea=Un[1];return it(ea,Gn)}return Et.renderWithProps?!0:!Mt(tn,yn,!0)});return Ot}function Ct(ce,me,Be,We){var Qe=ce+me-1;return ce<=We&&Qe>=Be}function wt(ce,me){return Le(ne,function(Be){var We=Ct(ce,me||1,Be.hoverStartRow,Be.hoverEndRow);return[We,Be.onHover]})}var Cn=function(me){var Be=me.ellipsis,We=me.rowType,Qe=me.children,it,Et=Be===!0?{showTitle:!0}:Be;return Et&&(Et.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 sn(ce){var me,Be,We,Qe,it,Et,Tt,Ot,tn=ce.component,yn=ce.children,un=ce.ellipsis,Gn=ce.scope,Un=ce.prefixCls,ea=ce.className,Ra=ce.align,ba=ce.record,Ka=ce.render,Da=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(Un,"-cell"),Di=Le(ne,["supportSticky","allColumnsFixedLeft"]),di=Di.supportSticky,pl=Di.allColumnsFixedLeft,Sl=Lt(ba,Da,qa,yn,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=(Et=Va==null?void 0:Va.rowSpan)!==null&&Et!==void 0?Et:Ir.rowSpan)!==null&&it!==void 0?it:Ao)!==null&&Qe!==void 0?Qe:1,Kr=wt(Zr,zr),Rr=(0,he.Z)(Kr,2),gi=Rr[0],Xr=Rr[1],To=function(Dl){var Tu;ba&&Xr(Zr,Zr+zr-1),Ir==null||(Tu=Ir.onMouseEnter)===null||Tu===void 0||Tu.call(Ir,Dl)},bi=function(Dl){var Tu;ba&&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=(Tt=Ir.title)!==null&&Tt!==void 0?Tt:Cn({rowType:Cr,ellipsis:un,children:Nl}),Lu=Re()(jo,ea,(Ot={},(0,Ce.Z)(Ot,"".concat(jo,"-fix-left"),Ko&&di),(0,Ce.Z)(Ot,"".concat(jo,"-fix-left-first"),or&&di),(0,Ce.Z)(Ot,"".concat(jo,"-fix-left-last"),$a&&di),(0,Ce.Z)(Ot,"".concat(jo,"-fix-left-all"),$a&&pl&&di),(0,Ce.Z)(Ot,"".concat(jo,"-fix-right"),Zi&&di),(0,Ce.Z)(Ot,"".concat(jo,"-fix-right-first"),Er&&di),(0,Ce.Z)(Ot,"".concat(jo,"-fix-right-last"),Tr&&di),(0,Ce.Z)(Ot,"".concat(jo,"-ellipsis"),un),(0,Ce.Z)(Ot,"".concat(jo,"-with-append"),co),(0,Ce.Z)(Ot,"".concat(jo,"-fix-sticky"),(Ko||Zi)&&Io&&di),(0,Ce.Z)(Ot,"".concat(jo,"-row-hover"),!Va&&gi),Ot),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),un&&($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:Gn,onMouseEnter:To,onMouseLeave:bi,colSpan:vr!==1?vr:null,rowSpan:zr!==1?zr:null}),co,Jl)}var Nt=se.memo(sn);function On(ce,me,Be,We,Qe,it){var Et=Be[ce]||{},Tt=Be[me]||{},Ot,tn;Et.fixed==="left"?Ot=We.left[Qe==="rtl"?me:ce]:Tt.fixed==="right"&&(tn=We.right[Qe==="rtl"?ce:me]);var yn=!1,un=!1,Gn=!1,Un=!1,ea=Be[me+1],Ra=Be[ce-1],ba=!(it!=null&&it.children);if(Qe==="rtl"){if(Ot!==void 0){var Ka=Ra&&Ra.fixed==="left";Un=!Ka&&ba}else if(tn!==void 0){var Da=ea&&ea.fixed==="right";Gn=!Da&&ba}}else if(Ot!==void 0){var qa=ea&&ea.fixed==="left";yn=!qa&&ba}else if(tn!==void 0){var Fr=Ra&&Ra.fixed==="right";un=!Fr&&ba}return{fixLeft:Ot,fixRight:tn,lastFixLeft:yn,firstFixRight:un,lastFixRight:Gn,firstFixLeft:Un,isSticky:We.isSticky}}var Vt=se.createContext({}),_t=Vt;function Mn(ce){var me=ce.className,Be=ce.index,We=ce.children,Qe=ce.colSpan,it=Qe===void 0?1:Qe,Et=ce.rowSpan,Tt=ce.align,Ot=Le(ne,["prefixCls","direction"]),tn=Ot.prefixCls,yn=Ot.direction,un=se.useContext(_t),Gn=un.scrollColumnIndex,Un=un.stickyOffsets,ea=un.flattenColumns,Ra=un.columns,ba=Be+it-1,Ka=ba+1===Gn?it+1:it,Da=On(Be,Be+Ka-1,ea,Un,yn,Ra==null?void 0:Ra[Be]);return se.createElement(Nt,(0,Ke.Z)({className:me,index:Be,component:"td",prefixCls:tn,record:null,dataIndex:null,align:Tt,colSpan:Ka,rowSpan:Et,render:function(){return We}},Da))}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 _n(ce){var me=ce.children;return me}_n.Row=He,_n.Cell=Mn;var Me=_n;function Xe(ce){var me=ce.children,Be=ce.stickyOffsets,We=ce.flattenColumns,Qe=ce.columns,it=Le(ne,"prefixCls"),Et=We.length-1,Tt=We[Et],Ot=se.useMemo(function(){return{stickyOffsets:Be,flattenColumns:We,scrollColumnIndex:Tt!=null&&Tt.scrollbar?Et:null,columns:Qe}},[Tt,We,Et,Be,Qe]);return se.createElement(_t.Provider,{value:Ot},se.createElement("tfoot",{className:"".concat(it,"-summary")},me))}var Wt=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),Et=0;Et<Qe;Et++)it[Et]=arguments[Et];return(We=me.current)===null||We===void 0?void 0:We.call.apply(We,[me].concat(it))},[]);return Be}function xt(){return!!(typeof window!="undefined"&&window.document&&window.document.createElement)}var Yt=xt()?se.useLayoutEffect:se.useEffect,It=function(me,Be){var We=React.useRef(!0);Yt(function(){return me(We.current)},Be),Yt(function(){return We.current=!1,function(){We.current=!0}},[])},Nn=function(me,Be){It(function(We){if(!We)return me()},Be)},kt=null;function Gt(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 Et(Tt,Ot){Ot&&me.current||it(Tt)}return[Qe,Et]}function St(ce){return ce!==void 0}function Pn(ce,me){var Be=me||{},We=Be.defaultValue,Qe=Be.value,it=Be.onChange,Et=Be.postState,Tt=useState(function(){return St(Qe)?Qe:St(We)?typeof We=="function"?We():We:typeof ce=="function"?ce():ce}),Ot=_slicedToArray(Tt,2),tn=Ot[0],yn=Ot[1],un=Qe!==void 0?Qe:tn,Gn=Et?Et(un):un,Un=useEvent(it),ea=useState([un]),Ra=_slicedToArray(ea,2),ba=Ra[0],Ka=Ra[1];useLayoutUpdateEffect(function(){var qa=ba[0];tn!==qa&&Un(tn,qa)},[ba]),useLayoutUpdateEffect(function(){St(Qe)||yn(Qe)},[Qe]);var Da=useEvent(function(qa,Fr){yn(qa,Fr),Ka([un],Fr)});return[Gn,Da]}var qt=z(35110);function wn(ce,me){typeof ce=="function"?ce(me):(0,be.Z)(ce)==="object"&&ce&&"current"in ce&&(ce.current=me)}function xa(){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){wn(it,Qe)})}}function Hn(){for(var ce=arguments.length,me=new Array(ce),Be=0;Be<ce;Be++)me[Be]=arguments[Be];return useMemo(function(){return xa.apply(void 0,me)},me,function(We,Qe){return We.length!==Qe.length||We.every(function(it,Et){return it!==Qe[Et]})})}function la(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 Ba(ce){return!isValidElement(ce)||isFragment(ce)?!1:la(ce)}function rn(ce,me,Be,We){if(!me.length)return Be;var Qe=_toArray(me),it=Qe[0],Et=Qe.slice(1),Tt;return!ce&&typeof it=="number"?Tt=[]:Array.isArray(ce)?Tt=_toConsumableArray(ce):Tt=_objectSpread({},ce),We&&Be===void 0&&Et.length===1?delete Tt[it][Et[0]]:Tt[it]=rn(Tt[it],Et,Be,We),Tt}function cn(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:rn(ce,me,Be,We)}function pn(ce){return _typeof(ce)==="object"&&ce!==null&&Object.getPrototypeOf(ce)===Object.prototype}function Aa(ce){return Array.isArray(ce)?[]:{}}var ha=typeof Reflect=="undefined"?Object.keys:Reflect.ownKeys;function aa(){for(var ce=arguments.length,me=new Array(ce),Be=0;Be<ce;Be++)me[Be]=arguments[Be];var We=Aa(me[0]);return me.forEach(function(Qe){function it(Et,Tt){var Ot=new Set(Tt),tn=get(Qe,Et),yn=Array.isArray(tn);if(yn||pn(tn)){if(!Ot.has(tn)){Ot.add(tn);var un=get(We,Et);yn?We=cn(We,Et,[]):(!un||_typeof(un)!=="object")&&(We=cn(We,Et,Aa(tn))),ha(tn).forEach(function(Gn){it([].concat(_toConsumableArray(Et),[Gn]),Ot)})}}else We=cn(We,Et,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,Et=Qe.height;if(it||Et)return!0}}return!1},Qr=function(me){if(xt()&&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 Dn(ce,me){return!Array.isArray(ce)&&me!==void 0?wo(ce,me):Qr(ce)}var At;function Zt(ce){if(typeof document=="undefined")return 0;if(ce||At===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),At=Qe-it}return At}function bt(ce){var me=ce.match(/^(.*)px$/),Be=Number(me==null?void 0:me[1]);return Number.isNaN(Be)?Zt():Be}function Jn(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:bt(Be),height:bt(We)}}var Jt=`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(Jt," ").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 sa(ce,me,Be,We,Qe,it,Et){ce.push({record:me,indent:Be,index:Et});var Tt=it(me),Ot=Qe==null?void 0:Qe.has(Tt);if(me&&Array.isArray(me[We])&&Ot)for(var tn=0;tn<me[We].length;tn+=1)sa(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=[],Et=0;Et<(ce==null?void 0:ce.length);Et+=1){var Tt=ce[Et];sa(it,Tt,0,me,Be,We,Et)}return it}return ce==null?void 0:ce.map(function(Ot,tn){return{record:Ot,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,Et=ce.expanded,Tt=ce.colSpan,Ot=ce.isEmpty,tn=Le(ne,["scrollbarSize","fixHeader","fixColumn","componentWidth","horizonScroll"]),yn=tn.scrollbarSize,un=tn.fixHeader,Gn=tn.fixColumn,Un=tn.componentWidth,ea=tn.horizonScroll,Ra=Be;return(Ot?ea&&Un:Gn)&&(Ra=se.createElement("div",{style:{width:Un-(un?yn:0),position:"sticky",left:0,overflow:"hidden"},className:"".concat(me,"-expanded-row-fixed")},Ra)),se.createElement(We,{className:it,style:{display:Et?null:"none"}},se.createElement(Nt,{component:Qe,prefixCls:me,colSpan:Tt},Ra))}var mn=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,Et=Qe.expandableType,Tt=Qe.expandedKeys,Ot=Qe.childrenColumnName,tn=Qe.onTriggerExpand,yn=Qe.rowExpandable,un=Qe.onRow,Gn=Qe.expandRowByClick,Un=Qe.rowClassName,ea=Et==="nest",Ra=Et==="row"&&(!yn||yn(ce)),ba=Ra||ea,Ka=Tt&&Tt.has(me),Da=Ot&&ce&&ce[Ot],qa=Ye(tn),Fr=un==null?void 0:un(ce,Be),Zr=Fr==null?void 0:Fr.onClick,Cr=function(Pr){Gn&&ba&&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 Un=="string"?uo=Un:typeof Un=="function"&&(uo=Un(ce,Be,We));var Ao=Zn(it);return(0,xe.Z)((0,xe.Z)({},Qe),{},{columnsKey:Ao,nestExpandable:ea,expanded:Ka,hasNestChildren:Da,record:ce,onTriggerExpand:qa,rowSupportExpand:Ra,expandable:ba,rowProps:(0,xe.Z)((0,xe.Z)({},Fr),{},{className:Re()(uo,Fr==null?void 0:Fr.className),onClick:Cr})})}function fn(ce,me,Be,We,Qe){var it=ce.record,Et=ce.prefixCls,Tt=ce.columnsKey,Ot=ce.fixedInfoList,tn=ce.expandIconColumnIndex,yn=ce.nestExpandable,un=ce.indentSize,Gn=ce.expandIcon,Un=ce.expanded,ea=ce.hasNestChildren,Ra=ce.onTriggerExpand,ba=Tt[Be],Ka=Ot[Be],Da;Be===(tn||0)&&yn&&(Da=se.createElement(se.Fragment,null,se.createElement("span",{style:{paddingLeft:"".concat(un*We,"px")},className:"".concat(Et,"-row-indent indent-level-").concat(We)}),Gn({prefixCls:Et,expanded:Un,expandable:ea,record:it,onExpand:Ra})));var qa;return me.onCell&&(qa=me.onCell(it,Qe)),{key:ba,fixedInfo:Ka,appendCellNode:Da,additionalCellProps:qa||{}}}function da(ce){var me=ce.className,Be=ce.style,We=ce.record,Qe=ce.index,it=ce.renderIndex,Et=ce.rowKey,Tt=ce.indent,Ot=Tt===void 0?0:Tt,tn=ce.rowComponent,yn=ce.cellComponent,un=ce.scopeCellComponent,Gn=an(We,Et,Qe,Ot),Un=Gn.prefixCls,ea=Gn.flattenColumns,Ra=Gn.expandedRowClassName,ba=Gn.expandedRowRender,Ka=Gn.rowProps,Da=Gn.expanded,qa=Gn.rowSupportExpand,Fr=se.useState(!1),Zr=(0,he.Z)(Fr,2),Cr=Zr[0],uo=Zr[1];se.useEffect(function(){Da&&uo(!0)},[Da]);var Ao=se.createElement(tn,(0,Ke.Z)({},Ka,{"data-row-key":Et,className:Re()(me,"".concat(Un,"-row"),"".concat(Un,"-row-level-").concat(Ot),Ka==null?void 0:Ka.className),style:(0,xe.Z)((0,xe.Z)({},Be),Ka==null?void 0:Ka.style)}),ea.map(function($a,Er){var Tr=$a.render,co=$a.dataIndex,Eo=$a.className,Ir=fn(Gn,$a,Er,Ot,Qe),Io=Ir.key,jo=Ir.fixedInfo,Di=Ir.appendCellNode,di=Ir.additionalCellProps;return se.createElement(Nt,(0,Ke.Z)({className:Eo,ellipsis:$a.ellipsis,align:$a.align,scope:$a.rowScope,component:$a.rowScope?un:yn,prefixCls:Un,key:Io,record:We,index:Qe,renderIndex:it,dataIndex:co,render:Tr,shouldCellUpdate:$a.shouldCellUpdate},jo,{appendNode:Di,additionalProps:di}))})),fr;if(qa&&(Cr||Da)){var Pr=ba(We,Qe,Ot+1,Da),or=Ra&&Ra(We,Qe,Ot);fr=se.createElement(mn,{expanded:Da,className:Re()("".concat(Un,"-expanded-row"),"".concat(Un,"-expanded-row-level-").concat(Ot+1),or),prefixCls:Un,component:tn,cellComponent:yn,colSpan:ea.length,isEmpty:!1},Pr)}return se.createElement(se.Fragment,null,Ao,fr)}da.displayName="BodyRow";var gn=te(da);function ia(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 In(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(Et){var Tt=Et.data,Ot=Et.size;We(Tt,Ot.offsetWidth)})}},Be.map(function(Qe){return se.createElement(ia,{key:Qe,columnKey:Qe,onColumnResize:We})})))}function pa(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,Et=We.onColumnResize,Tt=We.flattenColumns,Ot=We.getRowKey,tn=We.expandedKeys,yn=We.childrenColumnName,un=We.emptyNode,Gn=Vr(me,yn,tn,Ot),Un=se.useRef({renderWithProps:!1}),ea=it(["body","wrapper"],"tbody"),Ra=it(["body","row"],"tr"),ba=it(["body","cell"],"td"),Ka=it(["body","cell"],"th"),Da;me.length?Da=Gn.map(function(Fr,Zr){var Cr=Fr.record,uo=Fr.indent,Ao=Fr.index,fr=Ot(Cr,Zr);return se.createElement(gn,{key:fr,rowKey:fr,record:Cr,index:Zr,renderIndex:Ao,rowComponent:Ra,cellComponent:ba,scopeCellComponent:Ka,getRowKey:Ot,indent:uo})}):Da=se.createElement(mn,{expanded:!0,className:"".concat(Qe,"-placeholder"),prefixCls:Qe,component:Ra,cellComponent:ba,colSpan:Tt.length,isEmpty:!0},un);var qa=Zn(Tt);return se.createElement(zt.Provider,{value:Un.current},se.createElement(ea,{className:"".concat(Qe,"-tbody")},Be&&se.createElement(In,{prefixCls:Qe,columnsKey:qa,onColumnResize:Et}),Da))}pa.displayName="Body";var Qa=te(pa),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 Wn=["columnType"];function Qi(ce){for(var me=ce.colWidths,Be=ce.columns,We=ce.columCount,Qe=[],it=We||Be.length,Et=!1,Tt=it-1;Tt>=0;Tt-=1){var Ot=me[Tt],tn=Be&&Be[Tt],yn=tn&&tn[no];if(Ot||yn||Et){var un=yn||{},Gn=un.columnType,Un=(0,bn.Z)(un,Wn);Qe.unshift(se.createElement("col",(0,Ke.Z)({key:Tt,style:{width:Ot}},Un))),Et=!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 va(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,Et=ce.colWidths,Tt=ce.columCount,Ot=ce.stickyOffsets,tn=ce.direction,yn=ce.fixHeader,un=ce.stickyTopOffset,Gn=ce.stickyBottomOffset,Un=ce.stickyClassName,ea=ce.onScroll,Ra=ce.maxContentScroll,ba=ce.children,Ka=(0,bn.Z)(ce,Pi),Da=Le(ne,["prefixCls","scrollbarSize","isSticky"]),qa=Da.prefixCls,Fr=Da.scrollbarSize,Zr=Da.isSticky,Cr=Zr&&!yn?0:Fr,uo=se.useRef(null),Ao=se.useCallback(function(Eo){wn(me,Eo),wn(uo,Eo)},[]);se.useEffect(function(){var Eo;function Ir(Io){var jo=Io,Di=jo.currentTarget,di=jo.deltaX;di&&(ea({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=Ot.right,Ir=Ot.left;return(0,xe.Z)((0,xe.Z)({},Ot),{},{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,Ot,Zr]),co=va(Et,Tt);return se.createElement("div",{style:(0,xe.Z)({overflow:"hidden"},Zr?{top:un,bottom:Gn}:{}),ref:Ao,className:Re()(Be,(0,Ce.Z)({},Un,!!Un))},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:Tt+1,columns:Er}),ba((0,xe.Z)((0,xe.Z)({},Ka),{},{stickyOffsets:Tr,columns:$a,flattenColumns:Er}))))});tr.displayName="FixedHolder";var xr=se.memo(tr);function ga(ce){var me=ce.cells,Be=ce.stickyOffsets,We=ce.flattenColumns,Qe=ce.rowComponent,it=ce.cellComponent,Et=ce.tdCellComponent,Tt=ce.onHeaderRow,Ot=ce.index,tn=Le(ne,["prefixCls","direction"]),yn=tn.prefixCls,un=tn.direction,Gn;Tt&&(Gn=Tt(me.map(function(ea){return ea.column}),Ot));var Un=Zn(me.map(function(ea){return ea.column}));return se.createElement(Qe,Gn,me.map(function(ea,Ra){var ba=ea.column,Ka=On(ea.colStart,ea.colEnd,We,Be,un,ba),Da;return ba&&ba.onHeaderCell&&(Da=ea.column.onHeaderCell(ba)),se.createElement(Nt,(0,Ke.Z)({},ea,{scope:ba.title?ea.colSpan>1?"colgroup":"col":null,ellipsis:ba.ellipsis,align:ba.align,component:ba.title?it:Et,prefixCls:yn,key:Un[Ra]},Ka,{additionalProps:Da,rowType:"header"}))}))}ga.displayName="HeaderRow";var eo=ga;function Oo(ce){var me=[];function Be(Et,Tt){var Ot=arguments.length>2&&arguments[2]!==void 0?arguments[2]:0;me[Ot]=me[Ot]||[];var tn=Tt,yn=Et.filter(Boolean).map(function(un){var Gn={key:un.key,className:un.className||"",children:un.title,column:un,colStart:tn},Un=1,ea=un.children;return ea&&ea.length>0&&(Un=Be(ea,tn,Ot+1).reduce(function(Ra,ba){return Ra+ba},0),Gn.hasSubColumns=!0),"colSpan"in un&&(Un=un.colSpan),"rowSpan"in un&&(Gn.rowSpan=un.rowSpan),Gn.colSpan=Un,Gn.colEnd=Gn.colStart+Un-1,me[Ot].push(Gn),tn+=Un,Un});return yn}Be(ce,0);for(var We=me.length,Qe=function(Tt){me[Tt].forEach(function(Ot){!("rowSpan"in Ot)&&!Ot.hasSubColumns&&(Ot.rowSpan=We-Tt)})},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"]),Et=it.prefixCls,Tt=it.getComponent,Ot=se.useMemo(function(){return Oo(Be)},[Be]),tn=Tt(["header","wrapper"],"thead"),yn=Tt(["header","row"],"tr"),un=Tt(["header","cell"],"th"),Gn=Tt(["header","cell"],"td");return se.createElement(tn,{className:"".concat(Et,"-thead")},Ot.map(function(Un,ea){var Ra=se.createElement(eo,{key:ea,flattenColumns:We,cells:Un,stickyOffsets:me,rowComponent:yn,cellComponent:un,tdCellComponent:Gn,onHeaderRow:Qe,index:ea});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,qt.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 yn=Ol(me,tn.width);yn?Be+=yn:We+=1});var Qe=me-Be,it=We,Et=Qe/We,Tt=0,Ot=ce.map(function(tn){var yn=(0,xe.Z)({},tn),un=Ol(me,yn.width);if(un)yn.width=un;else{var Gn=Math.floor(Et);yn.width=it===1?Qe:Gn,Qe-=Gn,it-=1}return Tt+=yn.width,yn});return[Ot,Tt]}return[ce,me]},[ce,me])}var fu=["children"],ca=["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),Et=(0,xe.Z)({key:Be},it);return Qe&&(Et.children=lr(Qe)),Et})}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,Et=it===!0?"left":it,Tt="".concat(me,"-").concat(Qe),Ot=We.children;return Ot&&Ot.length>0?[].concat((0,Yr.Z)(Be),(0,Yr.Z)(Ar(Ot,Tt).map(function(tn){return(0,xe.Z)({fixed:Et},tn)}))):[].concat((0,Yr.Z)(Be),[(0,xe.Z)((0,xe.Z)({key:Tt},We),{},{fixed:Et})])},[])}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 Et=ce[it];if(Qe&&Et.fixed!=="right")Qe=!1;else if(!Qe&&Et.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,ca),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,Et=ce.expandedKeys,Tt=ce.columnTitle,Ot=ce.getRowKey,tn=ce.onTriggerExpand,yn=ce.expandIcon,un=ce.rowExpandable,Gn=ce.expandIconColumnIndex,Un=ce.direction,ea=ce.expandRowByClick,Ra=ce.columnWidth,ba=ce.fixed,Ka=ce.scrollWidth,Da=se.useMemo(function(){return We||lr(Qe)},[We,Qe]),qa=se.useMemo(function(){if(it){var Pr,or=Da.slice();if(!or.includes(x)){var $a=Gn||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=Da[Er],co;(ba==="left"||ba)&&!Gn?co="left":(ba==="right"||ba)&&Gn===Da.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",Tt),(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=Ot(jo,Di),pl=Et.has(di),Sl=un?un(jo):!0,Mo=yn({prefixCls:Be,expanded:pl,expandable:Sl,record:jo,onExpand:tn});return ea?se.createElement("span",{onClick:function(Va){return Va.stopPropagation()}},Mo):Mo}),Pr);return or.map(function(Ir){return Ir===x?Eo:Ir})}return Da.filter(function(Ir){return Ir!==x})},[it,Da,Ot,Et,yn,Un]),Fr=se.useMemo(function(){var Pr=qa;return me&&(Pr=me(Pr)),Pr.length||(Pr=[{render:function(){return null}}]),Pr},[me,qa,Un]),Zr=se.useMemo(function(){return Un==="rtl"?ul(Ar(Fr)):Ar(Fr)},[Fr,Un,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,Et=ce.expandable,Tt="".concat(Be,"-row-expand-icon");if(!Et)return se.createElement("span",{className:Re()(Tt,"".concat(Be,"-row-spaced"))});var Ot=function(yn){Qe(We,yn),yn.stopPropagation()};return se.createElement("span",{className:Re()(Tt,(me={},(0,Ce.Z)(me,"".concat(Be,"-row-expanded"),it),(0,Ce.Z)(me,"".concat(Be,"-row-collapsed"),!it),me)),onClick:Ot})}function ru(ce,me,Be){var We=[];function Qe(it){(it||[]).forEach(function(Et,Tt){We.push(me(Et,Tt)),Qe(Et[Be])})}return Qe(ce),We}function Po(ce,me,Be){var We=No(ce),Qe=We.expandIcon,it=We.expandedRowKeys,Et=We.defaultExpandedRowKeys,Tt=We.defaultExpandAllRows,Ot=We.expandedRowRender,tn=We.onExpand,yn=We.onExpandedRowsChange,un=We.childrenColumnName,Gn=Qe||hl,Un=un||"children",ea=se.useMemo(function(){return Ot?"row":ce.expandable&&ce.internalHooks===ge&&ce.expandable.__PARENT_RENDER_ICON__||me.some(function(Zr){return Zr&&(0,be.Z)(Zr)==="object"&&Zr[Un]})?"nest":!1},[!!Ot,me]),Ra=se.useState(function(){return Et||(Tt?ru(me,Be,Un):[])}),ba=(0,he.Z)(Ra,2),Ka=ba[0],Da=ba[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]),Da(uo),tn&&tn(!Ao,Zr),yn&&yn(uo)},[Be,qa,me,tn,yn]);return[We,ea,qa,Gn,Un,Fr]}function fe(ce,me,Be,We){var Qe=ce.map(function(it,Et){return On(Et,Et,ce,me,Be,We==null?void 0:We[Et])});return at(function(){return Qe},[Qe],function(it,Et){return!Mt(it,Et)})}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),Et=(0,se.useRef)([]);function Tt(Ot){Et.current.push(Ot);var tn=Promise.resolve();it.current=tn,tn.then(function(){if(it.current===tn){var yn=Et.current,un=me.current;Et.current=[],yn.forEach(function(Gn){me.current=Gn(me.current)}),it.current=null,un!==me.current&&Qe({})}})}return(0,se.useEffect)(function(){return function(){it.current=null}},[]),[me.current,Tt]}function ke(ce){var me=(0,se.useRef)(ce||null),Be=(0,se.useRef)();function We(){window.clearTimeout(Be.current)}function Qe(Et){me.current=Et,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),Et=it[0],Tt=it[1],Ot=se.useCallback(function(tn,yn){We(tn),Tt(yn)},[]);return[Be,Et,Ot]}var et=xt()?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,Et=it===void 0?0:it,Tt=Be.offsetScroll,Ot=Tt===void 0?0:Tt,tn=Be.getContainer,yn=tn===void 0?function(){return et}:tn,un=yn()||et;return se.useMemo(function(){var Gn=!!ce;return{isSticky:Gn,stickyClassName:Gn?"".concat(me,"-sticky-holder"):"",offsetHeader:Qe,offsetSummary:Et,offsetScroll:Ot,container:un}},[Ot,Qe,Et,me,un])}function yt(ce,me,Be){var We=(0,se.useMemo)(function(){for(var Qe=[],it=[],Et=0,Tt=0,Ot=0;Ot<me;Ot+=1)if(Be==="rtl"){it[Ot]=Tt,Tt+=ce[Ot]||0;var tn=me-Ot-1;Qe[tn]=Et,Et+=ce[tn]||0}else{Qe[Ot]=Et,Et+=ce[Ot]||0;var yn=me-Ot-1;it[yn]=Tt,Tt+=ce[yn]||0}return{left:Qe,right:it}},[ce,me,Be]);return We}var nt=yt;function ct(ce){var me=ce.className,Be=ce.children;return se.createElement("div",{className:me},Be)}var ht=ct;function vn(ce,me,Be,We){var Qe=je.unstable_batchedUpdates?function(Et){je.unstable_batchedUpdates(Be,Et)}:Be;return ce!=null&&ce.addEventListener&&ce.addEventListener(me,Qe,We),{remove:function(){ce!=null&&ce.removeEventListener&&ce.removeEventListener(me,Qe,We)}}}var En=/margin|padding|width|height|max|min|offset/,ra={left:!0,top:!0},Xn={cssFloat:1,styleFloat:1,float:1};function Ia(ce){return ce.nodeType===1?ce.ownerDocument.defaultView.getComputedStyle(ce,null):{}}function wa(ce,me,Be){if(me=me.toLowerCase(),Be==="auto"){if(me==="height")return ce.offsetHeight;if(me==="width")return ce.offsetWidth}return me in ra||(ra[me]=En.test(me)),ra[me]?parseFloat(Be)||0:Be}function Bn(ce,me){var Be=arguments.length,We=Ia(ce);return me=Xn[me]?"cssFloat"in ce.style?"cssFloat":"styleFloat":me,Be===1?We:wa(ce,me,We[me]||ce.style[me])}function Kt(ce,me,Be){var We=arguments.length;if(me=Xn[me]?"cssFloat"in ce.style?"cssFloat":"styleFloat":me,We===3)return typeof Be=="number"&&En.test(me)&&(Be="".concat(Be,"px")),ce.style[me]=Be,Be;for(var Qe in me)me.hasOwnProperty(Qe)&&Kt(ce,Qe,me[Qe]);return Ia(ce)}function An(ce){return ce===document.body?document.documentElement.clientWidth:ce.offsetWidth}function Tn(ce){return ce===document.body?window.innerHeight||document.documentElement.clientHeight:ce.offsetHeight}function Ea(){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,Et=me.onScroll,Tt=me.offsetScroll,Ot=me.container,tn=Le(ne,"prefixCls"),yn=((We=it.current)===null||We===void 0?void 0:We.scrollWidth)||0,un=((Qe=it.current)===null||Qe===void 0?void 0:Qe.clientWidth)||0,Gn=yn&&un*(un/yn),Un=se.useRef(),ea=ye({scrollLeft:0,isHiddenScrollBar:!1}),Ra=(0,he.Z)(ea,2),ba=Ra[0],Ka=Ra[1],Da=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(),Da.current.delta=Er.pageX-ba.scrollLeft,Da.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=Da.current.x+Er.pageX-Da.current.x-Da.current.delta;Ir<=0&&(Ir=0),Ir+Gn>=un&&(Ir=un-Gn),Et({scrollLeft:Ir/un*(yn+2)}),Da.current.x=Er.pageX},Pr=function(){if(it.current){var Er=Ja(it.current).top,Tr=Er+it.current.offsetHeight,co=Ot===window?document.documentElement.scrollTop+window.innerHeight:Ja(Ot).top+Ot.clientHeight;Tr-Zt()<=co||Er>=co-Tt?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/yn*un||0})})};return se.useImperativeHandle(Be,function(){return{setScrollLeft:or}}),se.useEffect(function(){var $a=vn(document.body,"mouseup",uo,!1),Er=vn(document.body,"mousemove",fr,!1);return Pr(),function(){$a.remove(),Er.remove()}},[Gn,Zr]),se.useEffect(function(){var $a=vn(Ot,"scroll",Pr,!1),Er=vn(window,"resize",Pr,!1);return function(){$a.remove(),Er.remove()}},[Ot]),se.useEffect(function(){ba.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})},[ba.isHiddenScrollBar]),yn<=un||!Gn||ba.isHiddenScrollBar?null:se.createElement("div",{style:{height:Zt(),width:un,bottom:Tt},className:"".concat(tn,"-sticky-scroll")},se.createElement("div",{onMouseDown:Ao,ref:Un,className:Re()("".concat(tn,"-sticky-scroll-bar"),(0,Ce.Z)({},"".concat(tn,"-sticky-scroll-bar-active"),Zr)),style:{width:"".concat(Gn,"px"),transform:"translate3d(".concat(ba.scrollLeft,"px, 0, 0)")}}))},fa=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 Sa(){return"No Data"}function ri(ce){var me,Be=(0,xe.Z)({rowKey:"key",prefixCls:oo,emptyText:Sa},ce),We=Be.prefixCls,Qe=Be.className,it=Be.rowClassName,Et=Be.style,Tt=Be.data,Ot=Be.rowKey,tn=Be.scroll,yn=Be.tableLayout,un=Be.direction,Gn=Be.title,Un=Be.footer,ea=Be.summary,Ra=Be.caption,ba=Be.id,Ka=Be.showHeader,Da=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=Tt||zo,$a=!!or.length,Er=Cr===ge,Tr=se.useCallback(function(yo,Mi){return Ht(Da,yo)||Mi},[Da]),co=se.useMemo(function(){return typeof Ot=="function"?Ot:function(yo){var Mi=yo&&yo[Ot];return Mi}},[Ot]),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:un,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),Pt=(0,he.Z)(_e,2),Dt=Pt[0],jt=Pt[1],xn=Zn(hi),Qt=xn.map(function(yo){return Dt.get(yo)}),en=se.useMemo(function(){return Qt},[Qt.join("_")]),nn=nt(en,hi.length,un),dn=tn&&La(tn.y),Rt=tn&&La(Pu)||!!Mo.fixed,ln=Rt&&hi.some(function(yo){var Mi=yo.fixed;return Mi}),kn=se.useRef(),Pa=ut(Pr,We),Qn=Pa.isSticky,Vn=Pa.offsetHeader,Ha=Pa.offsetSummary,jn=Pa.offsetScroll,Yn=Pa.stickyClassName,Sr=Pa.container,Ya=se.useMemo(function(){return ea==null?void 0:ea(or)},[ea,or]),yr=(dn||Qn)&&se.isValidElement(Ya)&&Ya.type===Me&&Ya.props.fixed,ur,Gr,Co;dn&&(Gr={overflowY:"scroll",maxHeight:tn.y}),Rt&&(ur={overflowX:"auto"},dn||(Gr={overflowY:"hidden"}),Co={width:Pu===!0?"auto":Pu,minWidth:"100%"});var Vo=se.useCallback(function(yo,Mi){_a(Jl.current)&&jt(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=un==="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=kn.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(){Rt&&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()},[Rt,Tt,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(Jn(Dl.current).width):ni(Jn(Tu.current).width)),yl(Dn("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(Wt,yo,Ya))},[yr,Ya]),Pl=se.useCallback(function(yo){return se.createElement(Wt,yo,Ya)},[Ya]),So=Tr(["table"],"table"),Wi=se.useMemo(function(){return yn||(ln?Pu==="max-content"?"auto":"fixed":dn||Qn||hi.some(function(yo){var Mi=yo.ellipsis;return Mi})?"fixed":"auto")},[dn,ln,hi,yn,Qn]),pi,_o={colWidths:en,columCount:hi.length,stickyOffsets:nn,onHeaderRow:Zr,fixHeader:dn,scroll:tn},Hr=se.useMemo(function(){return $a?null:typeof qa=="function"?qa():qa},[$a,qa]),ei=se.createElement(Qa,{data:or,measureColumnWidth:dn||Rt||Qn}),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(dn||Qn){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(Wt,{stickyOffsets:nn,flattenColumns:hi,columns:bi},Ya)));var rs=(0,xe.Z)((0,xe.Z)((0,xe.Z)({noData:!or.length,maxContentScroll:Rt&&Pu==="max-content"},_o),vs),{},{direction:un,stickyClassName:Yn,onScroll:bo});pi=se.createElement(se.Fragment,null,Ka!==!1&&se.createElement(xr,(0,Ke.Z)({},rs,{stickyTopOffset:Vn,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),Qn&&se.createElement(fa,{ref:kn,offsetScroll:jn,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(Wt,{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"),un==="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"),yn==="fixed"),(0,Ce.Z)(me,"".concat(We,"-fixed-header"),dn),(0,Ce.Z)(me,"".concat(We,"-fixed-column"),ln),(0,Ce.Z)(me,"".concat(We,"-scroll-horizontal"),Rt),(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:Et,id:ba,ref:Jl},pu),Gn&&se.createElement(ht,{className:"".concat(We,"-title")},Gn(or)),se.createElement("div",{ref:Tu,className:"".concat(We,"-container")},pi),Un&&se.createElement(ht,{className:"".concat(We,"-footer")},Un(or)));Rt&&(du=se.createElement(Ga.Z,{onResize:zi},du));var eu=fe(hi,nn,un,bi),Vl=se.useMemo(function(){return{scrollX:Pu,prefixCls:We,getComponent:Tr,scrollbarSize:fl,direction:un,fixedInfoList:eu,isSticky:Qn,supportSticky:ml,componentWidth:Rr,fixHeader:dn,fixColumn:ln,horizonScroll:Rt,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,un,eu,Qn,ml,Rr,dn,ln,Rt,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,Et=ce.renderIndex,Tt=ce.record,Ot=ce.style,tn=ce.className,yn=ce.inverse,un=ce.getHeight,Gn=Be.render,Un=Be.dataIndex,ea=Be.className,Ra=Be.width,ba=Le(Ti,["columnsOffset"]),Ka=ba.columnsOffset,Da=fn(me,Be,We,Qe,it),qa=Da.key,Fr=Da.fixedInfo,Zr=Da.appendCellNode,Cr=Da.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),Ot),{},{flex:"0 0 ".concat(Er,"px"),width:"".concat(Er,"px"),marginRight:Tr,pointerEvents:"auto"}),Eo=se.useMemo(function(){return yn?or<=1:fr===0||or===0||or>1},[or,fr,yn]);Eo?co.visibility="hidden":yn&&(co.height=un==null?void 0:un(or));var Ir=Eo?function(){return null}:Gn,Io={};return(or===0||fr===0)&&(Io.rowSpan=1,Io.colSpan=1),se.createElement(Nt,(0,Ke.Z)({className:Re()(ea,tn),ellipsis:Be.ellipsis,align:Be.align,scope:Be.rowScope,component:"div",prefixCls:me.prefixCls,key:qa,record:Tt,index:it,renderIndex:Et,dataIndex:Un,render:Ir,shouldCellUpdate:Be.shouldCellUpdate},Fr,{appendNode:Zr,additionalProps:(0,xe.Z)((0,xe.Z)({},Cr),{},{style:co},Io)}))}var bu=Cl,on=["data","index","className","rowKey","style","extra","getHeight"],Xt=se.forwardRef(function(ce,me){var Be=ce.data,We=ce.index,Qe=ce.className,it=ce.rowKey,Et=ce.style,Tt=ce.extra,Ot=ce.getHeight,tn=(0,bn.Z)(ce,on),yn=Be.record,un=Be.indent,Gn=Be.index,Un=Le(ne,["prefixCls","flattenColumns","fixColumn","componentWidth","scrollX"]),ea=Un.scrollX,Ra=Un.flattenColumns,ba=Un.prefixCls,Ka=Un.fixColumn,Da=Un.componentWidth,qa=an(yn,it,We,un),Fr=qa.rowSupportExpand,Zr=qa.expanded,Cr=qa.rowProps,uo=qa.expandedRowRender,Ao=qa.expandedRowClassName,fr;if(Fr&&Zr){var Pr=uo(yn,We,un+1,Zr),or=Ao==null?void 0:Ao(yn,We,un),$a={};Ka&&($a={style:(0,Ce.Z)({},"--virtual-width","".concat(Da,"px"))});var Er="".concat(ba,"-expanded-row-cell");fr=se.createElement("div",{className:Re()("".concat(ba,"-expanded-row"),"".concat(ba,"-expanded-row-level-").concat(un+1),or)},se.createElement(Nt,{component:"div",prefixCls:ba,className:Re()(Er,(0,Ce.Z)({},"".concat(Er,"-fixed"),Ka)),additionalProps:$a},Pr))}var Tr=(0,xe.Z)((0,xe.Z)({},Et),{},{width:ea});Tt&&(Tr.position="absolute",Tr.pointerEvents="none");var co=se.createElement("div",(0,Ke.Z)({},Cr,tn,{ref:Fr?null:me,className:Re()(Qe,"".concat(ba,"-row"),Cr==null?void 0:Cr.className,(0,Ce.Z)({},"".concat(ba,"-row-extra"),Tt)),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:un,index:We,renderIndex:Gn,record:yn,inverse:Tt,getHeight:Ot})}));return Fr?se.createElement("div",{ref:me},co,fr):co}),$t=te(Xt),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,Et=Qe.onColumnResize,Tt=Qe.getRowKey,Ot=Qe.expandedKeys,tn=Qe.prefixCls,yn=Qe.childrenColumnName,un=Qe.emptyNode,Gn=Qe.scrollX,Un=Le(sl),ea=Un.scrollY,Ra=Un.listItemHeight,ba=se.useRef(),Ka=Vr(Be,yn,Ot,Tt),Da=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 Da.map(function(fr){return fr[2]})},[Da]);se.useEffect(function(){Da.forEach(function(fr){var Pr=(0,he.Z)(fr,2),or=Pr[0],$a=Pr[1];Et(or,$a)})},[Da]),se.useImperativeHandle(me,function(){var fr={};return Object.defineProperty(fr,"scrollLeft",{get:function(){var or;return((or=ba.current)===null||or===void 0?void 0:or.getScrollInfo().x)||0},set:function(or){var $a;($a=ba.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=Tt(zr.record,vr),Rr=function(To){var bi=vr+To-1,hi=Tt(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:ba,className:Re()(uo,"".concat(uo,"-virtual")),height:ea,itemHeight:Ra||24,data:Ka,itemKey:function(Pr){return Tt(Pr.record)},scrollWidth:Gn,onVirtualScroll:function(Pr){var or=Pr.x;We({scrollLeft:or})},extraRender:Zr},function(fr,Pr,or){var $a=Tt(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(Nt,{component:"div",prefixCls:tn},un)),se.createElement(Ti.Provider,{value:Cr},Ao)}),Wa=te(Mr),$n=Wa,mr=function(me,Be){var We=Be.ref,Qe=Be.onScroll;return se.createElement($n,{ref:We,data:me,onScroll:Qe})},Rn=100;function ta(ce){var me=ce.columns,Be=ce.scroll,We=ce.prefixCls,Qe=We===void 0?oo:We,it=ce.className,Et=ce.listItemHeight,Tt=Be||{},Ot=Tt.x,tn=Tt.y;typeof Ot!="number"&&(Ot=((me||[]).length+1)*Rn),typeof tn!="number"&&(tn=500);var yn=se.useMemo(function(){return{scrollY:tn,listItemHeight:Et}},[tn,Et]);return se.createElement(sl.Provider,{value:yn},se.createElement(mu,(0,Ke.Z)({},ce,{className:Re()(it,"".concat(Qe,"-virtual")),scroll:(0,xe.Z)((0,xe.Z)({},Be),{},{x:Ot}),components:{body:mr},columns:me,internalHooks:ge,tailor:!0})))}function hr(ce){return ee(ta,ce)}var Do=hr(),sr=null;function Hi(ce){return null}var $o=Hi;function wr(ce){return null}var oi=wr,Ca=z(10366),ua=z(58375),mo=z(53124),nl=z(88258),Ua=z(98675),Oa=z(25378),Wo=z(24457),Fl=z(28452),oa=z(57953),Fa=z(46605);function Xa(ce){return function(Be){let{prefixCls:We,onExpand:Qe,record:it,expanded:Et,expandable:Tt}=Be;const Ot=`${We}-row-expand-icon`;return se.createElement("button",{type:"button",onClick:tn=>{Qe(it,tn),tn.stopPropagation()},className:Re()(Ot,{[`${Ot}-spaced`]:!Tt,[`${Ot}-expanded`]:Tt&&Et,[`${Ot}-collapsed`]:Tt&&!Et}),"aria-label":Et?ce.collapse:ce.expand,"aria-expanded":Et})}}var Ln=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 zn(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 Kn=z(71577),ya=z(84567),Nr=z(85418),ma=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 Bt=tt,hn=z(92389);const qn=ce=>{const{keyCode:me}=ce;me===hn.Z.ENTER&&ce.stopPropagation()};var ar=se.forwardRef((ce,me)=>se.createElement("div",{className:ce.className,onClick:Be=>Be.stopPropagation(),onKeyDown:qn,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:Et}=ce;return me.map((Tt,Ot)=>{const tn=String(Tt.value);if(Tt.children)return{key:tn||Ot,label:Tt.text,popupClassName:`${Be}-dropdown-submenu`,children:gr({filters:Tt.children,prefixCls:Be,filteredKeys:We,filterMultiple:Qe,searchValue:it,filterSearch:Et})};const yn=Qe?ya.default:lo.ZP,un={key:Tt.value!==void 0?tn:Ot,label:se.createElement(se.Fragment,null,se.createElement(yn,{checked:We.includes(tn)}),se.createElement("span",null,Tt.text))};return it.trim()?typeof Et=="function"?Et(it,Tt)?un:null:kr(it,Tt.text)?un:null:un})}function Wr(ce){var me,Be;const{tablePrefixCls:We,prefixCls:Qe,column:it,dropdownPrefixCls:Et,columnKey:Tt,filterMultiple:Ot,filterMode:tn="menu",filterSearch:yn=!1,filterState:un,triggerFilter:Gn,locale:Un,children:ea,getPopupContainer:Ra}=ce,{filterDropdownOpen:ba,onFilterDropdownOpenChange:Ka,filterResetToDefaultFilteredValue:Da,defaultFilteredValue:qa,filterDropdownVisible:Fr,onFilterDropdownVisibleChange:Zr}=it,[Cr,uo]=se.useState(!1),Ao=!!(un&&(!((me=un.filteredKeys)===null||me===void 0)&&me.length||un.forceFiltered)),fr=Xr=>{uo(Xr),Ka==null||Ka(Xr),Zr==null||Zr(Xr)},Pr=(Be=ba!=null?ba:Fr)!==null&&Be!==void 0?Be:Cr,or=un==null?void 0:un.filteredKeys,[$a,Er]=Fi(or||[]),Tr=Xr=>{let{selectedKeys:To}=Xr;Er(To)},co=(Xr,To)=>{let{node:bi,checked:hi}=To;Tr(Ot?{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&&(!un||!un.filteredKeys)||(0,Ro.Z)(To,un==null?void 0:un.filteredKeys,!0))return null;Gn({column:it,key:Tt,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(Da?(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()({[`${Et}-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:`${Et}-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(ma.Z,{image:ma.Z.PRESENTED_IMAGE_SIMPLE,description:Un.filterEmptyText,imageStyle:{height:24},style:{margin:0,padding:"16px 0"}}):tn==="tree"?se.createElement(se.Fragment,null,se.createElement(Bt,{filterSearch:yn,value:jo,onChange:di,tablePrefixCls:We,locale:Un}),se.createElement("div",{className:`${We}-filter-dropdown-tree`},Ot?se.createElement(ya.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},Un.filterCheckall):null,se.createElement(Ei.default,{checkable:!0,selectable:!1,blockNode:!0,multiple:Ot,checkStrictly:!Ot,className:`${Et}-menu`,onCheck:co,checkedKeys:Xr,selectedKeys:Xr,showIcon:!1,treeData:Zi({filters:it.filters}),autoExpandParent:!0,defaultExpandAll:!0,filterTreeNode:jo.trim()?hi=>typeof yn=="function"?yn(jo,vr(hi)):kr(jo,hi.title):void 0}))):se.createElement(se.Fragment,null,se.createElement(Bt,{filterSearch:yn,value:jo,onChange:di,tablePrefixCls:We,locale:Un}),se.createElement(nr.default,{selectable:!0,multiple:Ot,prefixCls:`${Et}-menu`,className:_r,onSelect:Tr,onDeselect:Tr,selectedKeys:Xr,getPopupContainer:Ra,openKeys:Eo,onOpenChange:Io,items:gr({filters:it.filters||[],filterSearch:yn,prefixCls:Qe,filteredKeys:$a(),filterMultiple:Ot,searchValue:jo})})),bi=()=>Da?(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(Kn.ZP,{type:"link",size:"small",disabled:bi(),onClick:()=>Mo()},Un.filterReset),se.createElement(Kn.ZP,{type:"primary",size:"small",onClick:Sl},Un.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`},ea),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 Et;const Tt=zn(it,Be);if(Qe.filters||"filterDropdown"in Qe||"onFilter"in Qe)if("filteredValue"in Qe){let Ot=Qe.filteredValue;"filterDropdown"in Qe||(Ot=(Et=Ot==null?void 0:Ot.map(String))!==null&&Et!==void 0?Et:Ot),We.push({column:Qe,key:ja(Qe,Tt),filteredKeys:Ot,forceFiltered:Qe.filtered})}else We.push({column:Qe,key:ja(Qe,Tt),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,Tt))))}),We}function ui(ce,me,Be,We,Qe,it,Et,Tt){return Be.map((Ot,tn)=>{const yn=zn(tn,Tt),{filterMultiple:un=!0,filterMode:Gn,filterSearch:Un}=Ot;let ea=Ot;if(ea.filters||ea.filterDropdown){const Ra=ja(ea,yn),ba=We.find(Ka=>{let{key:Da}=Ka;return Ra===Da});ea=Object.assign(Object.assign({},ea),{title:Ka=>se.createElement(Or,{tablePrefixCls:ce,prefixCls:`${ce}-filter`,dropdownPrefixCls:me,column:ea,columnKey:Ra,filterState:ba,filterMultiple:un,filterMode:Gn,filterSearch:Un,triggerFilter:it,locale:Qe,getPopupContainer:Et},Bo(Ot.title,Ka))})}return"children"in ea&&(ea=Object.assign(Object.assign({},ea),{children:ui(ce,me,ea.children,We,Qe,it,Et,yn)})),ea})}function Qo(ce){const me={};return ce.forEach(Be=>{let{key:We,filteredKeys:Qe,column:it}=Be;const{filters:Et,filterDropdown:Tt}=it;if(Tt)me[We]=Qe||null;else if(Array.isArray(Qe)){const Ot=pr(Et);me[We]=Ot.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:Et}=We;return Qe&&Et&&Et.length?Be.filter(Tt=>Et.some(Ot=>{const tn=pr(it),yn=tn.findIndex(Gn=>String(Gn)===String(Ot)),un=yn!==-1?tn[yn]:Ot;return Qe(un,Tt)})):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:Et}=ce;const Tt=se.useMemo(()=>Uo(We||[]),[We]),[Ot,tn]=se.useState(()=>vo(Tt,!0)),yn=se.useMemo(()=>{const ea=vo(Tt,!1);if(ea.length===0)return ea;let Ra=!0,ba=!0;if(ea.forEach(Ka=>{let{filteredKeys:Da}=Ka;Da!==void 0?Ra=!1:ba=!1}),Ra){const Ka=(Tt||[]).map((Da,qa)=>ja(Da,zn(qa)));return Ot.filter(Da=>{let{key:qa}=Da;return Ka.includes(qa)}).map(Da=>{const qa=Tt[Ka.findIndex(Fr=>Fr===Da.key)];return Object.assign(Object.assign({},Da),{column:Object.assign(Object.assign({},Da.column),qa),forceFiltered:qa.filtered})})}return ea},[Tt,Ot]),un=se.useMemo(()=>Qo(yn),[yn]),Gn=ea=>{const Ra=yn.filter(ba=>{let{key:Ka}=ba;return Ka!==ea.key});Ra.push(ea),tn(Ra),Qe(Qo(Ra),Ra)};return[ea=>ui(me,Be,ea,yn,Et,Gn,it),yn,un]}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 Tt=function(Ot){Ot.forEach((tn,yn)=>{const un=Be(tn,yn);Et.set(un,tn),tn&&typeof tn=="object"&&me in tn&&Tt(tn[me]||[])})};const Et=new Map;Tt(ce),We.current={data:ce,childrenColumnName:me,kvMap:Et,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"]),[Et,Tt]=(0,se.useState)(()=>({current:"defaultCurrent"in it?it.defaultCurrent:1,pageSize:"defaultPageSize"in it?it.defaultPageSize:bl})),Ot=(0,Vi.Z)(Et,it,{total:Qe>0?Qe:ce}),tn=Math.ceil((Qe||ce)/Ot.pageSize);Ot.current>tn&&(Ot.current=tn||1);const yn=(Gn,Un)=>{Tt({current:Gn!=null?Gn:1,pageSize:Un||Ot.pageSize})},un=(Gn,Un)=>{var ea;Be&&((ea=Be.onChange)===null||ea===void 0||ea.call(Be,Gn,Un)),yn(Gn,Un),me(Gn,Un||(Ot==null?void 0:Ot.pageSize))};return Be===!1?[{},()=>{}]:[Object.assign(Object.assign({},Ot),{onChange:un}),yn]}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:Et,onSelect:Tt,onSelectAll:Ot,onSelectInvert:tn,onSelectNone:yn,onSelectMultiple:un,columnWidth:Gn,type:Un,selections:ea,fixed:Ra,renderCell:ba,hideSelectAll:Ka,checkStrictly:Da=!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(Da)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,Da,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(Da)return[$a||[],[]];const{checkedKeys:vr,halfCheckedKeys:zr}=(0,al.S)($a,!0,Eo,jo);return[vr||[],zr]},[$a,Da,Eo,jo]),pl=(0,se.useMemo)(()=>{const vr=Un==="radio"?Di.slice(0,1):Di;return new Set(vr)},[Di,Un]),Sl=(0,se.useMemo)(()=>Un==="radio"?new Set:new Set(di),[di,Un]),[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),Et==null||Et(Kr,Rr,{type:zr})},[Er,Cr,Et,Be]),_r=(0,se.useCallback)((vr,zr,Kr,Rr)=>{if(Tt){const gi=Kr.map(Xr=>Cr(Xr));Tt(Cr(vr),zr,gi,Rr)}Va(Kr,"single")},[Tt,Cr,Va]),Ko=(0,se.useMemo)(()=>!ea||Ka?null:(ea===!0?[Zl,Ri,Gl]:ea).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(){yn==null||yn(),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)}})),[ea,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);Ot==null||Ot(!Xr,_i.map(ae=>Cr(ae)),Gi.map(ae=>Cr(ae))),Va(_i,"all"),Nl(null)};let hi;if(Un!=="radio"){let Gi;if(Ko){const Se={getPopupContainer:or,items:Ko.map((Ae,$e)=>{const{key:_e,text:Pt,onSelect:Dt}=Ae;return{key:_e!=null?_e:$e,onClick:()=>{Dt==null||Dt(gi)},label:Pt}})};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(ya.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;Un==="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(ya.default,Object.assign({},$e,{indeterminate:_e,checked:Se,skipGroup:!0,onClick:Pt=>Pt.stopPropagation(),onChange:Pt=>{let{nativeEvent:Dt}=Pt;const{shiftKey:jt}=Dt;let xn=-1,Qt=-1;if(jt&&Da){const en=new Set([Mo,le]);gi.some((nn,dn)=>{if(en.has(nn))if(xn===-1)xn=dn;else return Qt=dn,!0;return!1})}if(Qt!==-1&&xn!==Qt&&Da){const en=gi.slice(xn,Qt+1),nn=[];Se?en.forEach(Rt=>{Rr.has(Rt)&&(nn.push(Rt),Rr.delete(Rt))}):en.forEach(Rt=>{Rr.has(Rt)||(nn.push(Rt),Rr.add(Rt))});const dn=Array.from(Rr);un==null||un(!Se,dn.map(Rt=>Cr(Rt)),nn.map(Rt=>Cr(Rt))),Va(dn,"multiple")}else{const en=Di;if(Da){const nn=Se?(0,Il._5)(en,le):(0,Il.L0)(en,le);_r(le,!Se,nn,Dt)}else{const nn=(0,al.S)([].concat((0,Yr.Z)(en),[le]),!0,Eo,jo),{checkedKeys:dn,halfCheckedKeys:Rt}=nn;let ln=dn;if(Se){const kn=new Set(dn);kn.delete(le),ln=(0,al.S)(Array.from(kn),{checked:!1,halfCheckedKeys:Rt},Eo,jo).checkedKeys}_r(le,!Se,ln,Dt)}}Nl(Se?null:le)}})),checked:Se}};const Pu=(Gi,_i,ae)=>{const{node:ie,checked:le}=Lu(Gi,_i,ae);return ba?ba(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`]:ea&&Un==="checkbox"}),Gs={fixed:Dl,width:Gn,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,Gn,Ko,Ao,Mo,Io,un,_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,Et){We.push({column:it,key:ja(it,Et),multiplePriority:hu(it),sortOrder:it.sortOrder})}return(ce||[]).forEach((it,Et)=>{const Tt=zn(Et,Be);it.children?("sortOrder"in it&&Qe(it,Tt),We=[].concat((0,Yr.Z)(We),(0,Yr.Z)(su(it.children,me,Tt)))):it.sorter&&("sortOrder"in it?Qe(it,Tt):me&&it.defaultSortOrder&&We.push({column:it,key:ja(it,Tt),multiplePriority:hu(it),sortOrder:it.defaultSortOrder}))}),We}function Tl(ce,me,Be,We,Qe,it,Et,Tt){return(me||[]).map((Ot,tn)=>{const yn=zn(tn,Tt);let un=Ot;if(un.sorter){const Gn=un.sortDirections||Qe,Un=un.showSorterTooltip===void 0?Et:un.showSorterTooltip,ea=ja(un,yn),Ra=Be.find(Ao=>{let{key:fr}=Ao;return fr===ea}),ba=Ra?Ra.sortOrder:null,Ka=$u(Gn,ba);let Da;if(Ot.sortIcon)Da=Ot.sortIcon({sortOrder:ba});else{const Ao=Gn.includes(Ki)&&se.createElement(Du.Z,{className:Re()(`${ce}-column-sorter-up`,{active:ba===Ki})}),fr=Gn.includes(gl)&&se.createElement(ki.Z,{className:Re()(`${ce}-column-sorter-down`,{active:ba===gl})});Da=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 Un=="object"?Un:{title:Cr};un=Object.assign(Object.assign({},un),{className:Re()(un.className,{[`${ce}-column-sort`]:ba}),title:Ao=>{const fr=se.createElement("div",{className:`${ce}-column-sorters`},se.createElement("span",{className:`${ce}-column-title`},Bo(Ot.title,Ao)),Da);return Un?se.createElement(Ml.Z,Object.assign({},uo),fr):fr},onHeaderCell:Ao=>{const fr=Ot.onHeaderCell&&Ot.onHeaderCell(Ao)||{},Pr=fr.onClick,or=fr.onKeyDown;fr.onClick=Tr=>{We({column:Ot,key:ea,sortOrder:Ka,multiplePriority:hu(Ot)}),Pr==null||Pr(Tr)},fr.onKeyDown=Tr=>{Tr.keyCode===hn.Z.ENTER&&(We({column:Ot,key:ea,sortOrder:Ka,multiplePriority:hu(Ot)}),or==null||or(Tr))};const $a=to(Ot.title,{}),Er=$a==null?void 0:$a.toString();return ba?fr["aria-sort"]=ba==="ascend"?"ascending":"descending":fr["aria-label"]=Er||"",fr.className=Re()(fr.className,`${ce}-column-has-sorters`),fr.tabIndex=0,Ot.ellipsis&&(fr.title=($a!=null?$a:"").toString()),fr}})}return"children"in un&&(un=Object.assign(Object.assign({},un),{children:Tl(ce,un.children,Be,We,Qe,it,Et,yn)})),un})}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((Et,Tt)=>Tt.multiplePriority-Et.multiplePriority),Qe=ce.slice(),it=We.filter(Et=>{let{column:{sorter:Tt},sortOrder:Ot}=Et;return zu(Tt)&&Ot});return it.length?Qe.sort((Et,Tt)=>{for(let Ot=0;Ot<it.length;Ot+=1){const tn=it[Ot],{column:{sorter:yn},sortOrder:un}=tn,Gn=zu(yn);if(Gn&&un){const Un=Gn(Et,Tt,un);if(Un!==0)return un===Ki?Un:-Un}}return 0}).map(Et=>{const Tt=Et[Be];return Tt?Object.assign(Object.assign({},Et),{[Be]:Yi(Tt,me,Be)}):Et}):Qe}function Lo(ce){let{prefixCls:me,mergedColumns:Be,onSorterChange:We,sortDirections:Qe,tableLocale:it,showSorterTooltip:Et}=ce;const[Tt,Ot]=se.useState(su(Be,!0)),tn=se.useMemo(()=>{let ea=!0;const Ra=su(Be,!1);if(!Ra.length)return Tt;const ba=[];function Ka(qa){ea?ba.push(qa):ba.push(Object.assign(Object.assign({},qa),{sortOrder:null}))}let Da=null;return Ra.forEach(qa=>{Da===null?(Ka(qa),qa.sortOrder&&(qa.multiplePriority===!1?ea=!1:Da=!0)):(Da&&qa.multiplePriority!==!1||(ea=!1),Ka(qa))}),ba},[Be,Tt]),yn=se.useMemo(()=>{const ea=tn.map(Ra=>{let{column:ba,sortOrder:Ka}=Ra;return{column:ba,order:Ka}});return{sortColumns:ea,sortColumn:ea[0]&&ea[0].column,sortOrder:ea[0]&&ea[0].order}},[tn]);function un(ea){let Ra;ea.multiplePriority===!1||!tn.length||tn[0].multiplePriority===!1?Ra=[ea]:Ra=[].concat((0,Yr.Z)(tn.filter(ba=>{let{key:Ka}=ba;return Ka!==ea.key})),[ea]),Ot(Ra),We(Ql(Ra),Ra)}return[ea=>Tl(me,ea,tn,un,Qe,it,Et),tn,yn,()=>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,Et)=>({[`&${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 -${Et+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:Et,lineType:Tt,tableBorderColor:Ot,tableExpandIconBg:tn,tableExpandColumnWidth:yn,borderRadius:un,fontSize:Gn,fontSizeSM:Un,lineHeight:ea,tablePaddingVertical:Ra,tablePaddingHorizontal:ba,tableExpandedRowBg:Ka,paddingXXS:Da}=ce,qa=We/2-it,Fr=qa*2+it*3,Zr=`${it}px ${Tt} ${Ot}`,Cr=Da-it;return{[`${me}-wrapper`]:{[`${me}-expand-icon-col`]:{width:yn},[`${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:un,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:(Gn*ea-it*3)/2-Math.ceil((Un*1.4-it*3)/2),marginInlineEnd:Et},[`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 -${ba}px`,padding:`${Ra}px ${ba}px`}}}},vd=ce=>{const{componentCls:me,antCls:Be,iconCls:We,tableFilterDropdownWidth:Qe,tableFilterDropdownSearchWidth:it,paddingXXS:Et,paddingXS:Tt,colorText:Ot,lineWidth:tn,lineType:yn,tableBorderColor:un,tableHeaderIconColor:Gn,fontSizeSM:Un,tablePaddingHorizontal:ea,borderRadius:Ra,motionDurationSlow:ba,colorTextDescription:Ka,colorPrimary:Da,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 ${yn} ${un}`;return[{[`${me}-wrapper`]:{[`${me}-filter-column`]:{display:"flex",justifyContent:"space-between"},[`${me}-filter-trigger`]:{position:"relative",display:"flex",alignItems:"center",marginBlock:-Et,marginInline:`${Et}px ${-ea/2}px`,padding:`0 ${Et}px`,color:Gn,fontSize:Un,borderRadius:Ra,cursor:"pointer",transition:`all ${ba}`,"&:hover":{color:Ka,background:qa},"&.active":{color:Da}}}},{[`${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:`${Tt}px 0`,color:Fr,fontSize:Un,textAlign:"center",content:'"Not Found"'}},[`${$a}-tree`]:{paddingBlock:`${Tt}px 0`,paddingInline:Tt,[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:Tt,borderBottom:Tr,"&-input":{input:{minWidth:it},[We]:{color:Fr}}},[`${$a}-checkall`]:{width:"100%",marginBottom:Et,marginInlineStart:Et},[`${$a}-btns`]:{display:"flex",justifyContent:"space-between",padding:`${Tt-tn}px ${Tt}px`,overflow:"hidden",borderTop:Tr}})}},{[`${Be}-dropdown ${$a}, ${$a}-submenu`]:{[`${Be}-checkbox-wrapper + span`]:{paddingInlineStart:Tt,color:Ot},"> ul":{maxHeight:"calc(100vh - 130px)",overflowX:"hidden",overflowY:"auto"}}}]},Iu=ce=>{const{componentCls:me,lineWidth:Be,colorSplit:We,motionDurationSlow:Qe,zIndexTableFixed:it,tableBg:Et,zIndexTableSticky:Tt}=ce,Ot=We;return{[`${me}-wrapper`]:{[`
|
|
${me}-cell-fix-left,
|
|
${me}-cell-fix-right
|
|
`]:{position:"sticky !important",zIndex:it,background:Et},[`
|
|
${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:Tt+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 ${Ot}`}},[`
|
|
${me}-cell-fix-left-first::after,
|
|
${me}-cell-fix-left-last::after
|
|
`]:{boxShadow:`inset 10px 0 8px -8px ${Ot}`},[`${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 ${Ot}`}},[`
|
|
${me}-cell-fix-right-first::after,
|
|
${me}-cell-fix-right-last::after
|
|
`]:{boxShadow:`inset -10px 0 8px -8px ${Ot}`}}}}},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:Et,tableHeaderIconColor:Tt,tableHeaderIconColorHover:Ot,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+Et*2,[`&${me}-selection-col-with-dropdown`]:{width:tn+Qe+it/4+Et*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:Tt,fontSize:Qe,verticalAlign:"baseline","&:hover":{color:Ot}}}}}},Ws=ce=>{const{componentCls:me}=ce,Be=(We,Qe,it,Et)=>({[`${me}${me}-${We}`]:{fontSize:Et,[`
|
|
${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:Et,zIndexTableSticky:Tt,stickyScrollBarBorderRadius:Ot}=ce,tn=`${ce.lineWidth}px ${ce.lineType} ${ce.tableBorderColor}`;return{[`${me}-wrapper`]:{[`${me}-sticky`]:{"&-holder":{position:"sticky",zIndex:Tt,background:ce.colorBgContainer},"&-scroll":{position:"sticky",bottom:0,height:`${it}px !important`,zIndex:Tt,display:"flex",alignItems:"center",background:Et,borderTop:tn,opacity:Be,"&:hover":{transformOrigin:"center bottom"},"&-bar":{height:it,backgroundColor:We,borderRadius:Ot,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:Et,tableBorderColor:Tt,tableFontSize:Ot,tableBg:tn,tableRadius:yn,tableHeaderTextColor:un,motionDurationMid:Gn,tableHeaderBg:Un,tableHeaderCellSplitColor:ea,tableRowHoverBg:Ra,tableSelectedRowBg:ba,tableSelectedRowHoverBg:Ka,tableFooterTextColor:Da,tableFooterBg:qa,paddingContentVerticalLG:Fr}=ce,Zr=`${it}px ${Et} ${Tt}`;return{[`${me}-wrapper`]:Object.assign(Object.assign({clear:"both",maxWidth:"100%"},(0,ys.dF)()),{[me]:Object.assign(Object.assign({},(0,ys.Wf)(ce)),{fontSize:Ot,background:tn,borderRadius:`${yn}px ${yn}px 0 0`}),table:{width:"100%",textAlign:"start",borderRadius:`${yn}px ${yn}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:un,fontWeight:Be,textAlign:"start",background:Un,borderBottom:Zr,transition:`background ${Gn} 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:ea,transform:"translateY(-50%)",transition:`background-color ${Gn}`,content:'""'}},"> tr:not(:last-child) > th[colspan]":{borderBottom:0}},[`${me}-tbody`]:{"> tr":{"> th, > td":{transition:`background ${Gn}, border-color ${Gn}`,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:un,fontWeight:Be,textAlign:"start",background:Un,borderBottom:Zr,transition:`background ${Gn} 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:ba},"&:hover > th, &:hover > td":{background:Ka}}}},[`${me}-footer`]:{padding:`${We}px ${Qe}px`,color:Da,background:qa}})}};var bs=(0,Ts.Z)("Table",ce=>{const{colorTextHeading:me,colorSplit:Be,colorIcon:We,colorIconHover:Qe,opacityLoading:it,colorBgContainer:Et,controlInteractiveSize:Tt,headerBg:Ot,headerColor:tn,headerSortActiveBg:yn,headerSortHoverBg:un,bodySortBg:Gn,rowHoverBg:Un,rowSelectedBg:ea,rowSelectedHoverBg:Ra,rowExpandedBg:ba,cellPaddingBlock:Ka,cellPaddingInline:Da,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:Et,tableRadius:Pr,tablePaddingVertical:Ka,tablePaddingHorizontal:Da,tablePaddingVerticalMiddle:qa,tablePaddingHorizontalMiddle:Fr,tablePaddingVerticalSmall:Zr,tablePaddingHorizontalSmall:Cr,tableBorderColor:uo,tableHeaderTextColor:tn,tableHeaderBg:Ot,tableFooterTextColor:fr,tableFooterBg:Ao,tableHeaderCellSplitColor:Tr,tableHeaderSortBg:yn,tableHeaderSortHoverBg:un,tableHeaderIconColor:di.clone().setAlpha(di.getAlpha()*it).toRgbString(),tableHeaderIconColorHover:pl.clone().setAlpha(pl.getAlpha()*it).toRgbString(),tableBodySortBg:Gn,tableFixedHeaderSortActiveBg:co,tableHeaderFilterActiveBg:Eo,tableFilterDropdownBg:Ir,tableRowHoverBg:Un,tableSelectedRowBg:ea,tableSelectedRowHoverBg:Ra,zIndexTableFixed:Sl,zIndexTableSticky:Sl+1,tableFontSizeMiddle:$a,tableFontSizeSmall:Er,tableSelectionColumnWidth:jo,tableExpandIconBg:Io,tableExpandColumnWidth:Tt+2*ce.padding,tableExpandedRowBg:ba,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:Et,controlItemBgActiveHover:Tt,padding:Ot,paddingSM:tn,paddingXS:yn,colorBorderSecondary:un,borderRadiusLG:Gn,fontSize:Un,controlHeight:ea,colorTextPlaceholder:Ra}=ce,ba=new Ku.C(Qe).onBackground(Be).toHexShortString(),Ka=new Ku.C(it).onBackground(Be).toHexShortString(),Da=new Ku.C(me).onBackground(Be).toHexShortString();return{headerBg:Da,headerColor:We,headerSortActiveBg:ba,headerSortHoverBg:Ka,bodySortBg:Da,rowHoverBg:Da,rowSelectedBg:Et,rowSelectedHoverBg:Tt,rowExpandedBg:me,cellPaddingBlock:Ot,cellPaddingInline:Ot,cellPaddingBlockMD:tn,cellPaddingInlineMD:yn,cellPaddingBlockSM:yn,cellPaddingInlineSM:yn,borderColor:un,headerBorderRadius:Gn,footerBg:Da,footerColor:We,cellFontSize:Un,cellFontSizeMD:Un,cellFontSizeSM:Un,headerSplitColor:un,fixedHeaderSortActiveBg:ba,headerFilterHoverBg:it,filterDropdownMenuBg:Be,filterDropdownBg:Be,expandIconBg:Be,selectionColumnWidth:ea,stickyScrollBarBg:Ra,stickyScrollBarBorderRadius:100}});const ws=[],Ks=(ce,me)=>{const{prefixCls:Be,className:We,rootClassName:Qe,style:it,size:Et,bordered:Tt,dropdownPrefixCls:Ot,dataSource:tn,pagination:yn,rowSelection:un,rowKey:Gn="key",rowClassName:Un,columns:ea,children:Ra,childrenColumnName:ba,onChange:Ka,getPopupContainer:Da,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(()=>ea||lr(Ra),[ea,Ra]),co=se.useMemo(()=>Tr.some(jn=>jn.responsive),[Tr]),Eo=(0,Oa.Z)(co),Ir=se.useMemo(()=>{const jn=new Set(Object.keys(Eo).filter(Yn=>Eo[Yn]));return Tr.filter(Yn=>!Yn.responsive||Yn.responsive.some(Sr=>jn.has(Sr)))},[Tr,Eo]),Io=(0,Ca.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)(Et),Va=Object.assign(Object.assign({},jo.Table),or),_r=tn||ws,Ko=Sl("table",Be),Zi=Sl("dropdown",Ot),vr=Object.assign({childrenColumnName:ba,expandIconColumnIndex:uo},Zr),{childrenColumnName:zr="children"}=vr,Kr=se.useMemo(()=>_r.some(jn=>jn==null?void 0:jn[zr])?"nest":Cr||Zr&&Zr.expandedRowRender?"row":null,[_r]),Rr={body:se.useRef()},gi=se.useMemo(()=>typeof Gn=="function"?Gn:jn=>jn==null?void 0:jn[Gn],[Gn]),[Xr]=dl(_r,zr,gi),To={},bi=function(jn,Yn){let Sr=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;var Ya,yr,ur;const Gr=Object.assign(Object.assign({},To),jn);Sr&&((Ya=To.resetPagination)===null||Ya===void 0||Ya.call(To),!((yr=Gr.pagination)===null||yr===void 0)&&yr.current&&(Gr.pagination.current=1),yn&&yn.onChange&&yn.onChange(1,(ur=Gr.pagination)===null||ur===void 0?void 0:ur.pageSize)),fr&&fr.scrollToFirstRowOnChange!==!1&&Rr.body.current&&(0,ua.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:Yn})},hi=(jn,Yn)=>{bi({sorter:jn,sorterStates:Yn},"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=(jn,Yn)=>{bi({filters:jn,filterStates:Yn},"filter",!0)},[Tu,Gs,Gi]=jr({prefixCls:Ko,locale:Va,dropdownPrefixCls:Zi,mergedColumns:Ir,onFilterChange:Dl,getPopupContainer:Da||Mo}),_i=mi(ts,Gs);To.filters=Gi,To.filterStates=Gs;const ae=se.useMemo(()=>{const jn={};return Object.keys(Gi).forEach(Yn=>{Gi[Yn]!==null&&(jn[Yn]=Gi[Yn])}),Object.assign(Object.assign({},vs),{filters:jn})},[vs,Gi]),[ie]=Bu(ae),le=(jn,Yn)=>{bi({pagination:Object.assign(Object.assign({},To.pagination),{current:jn,pageSize:Yn})},"paginate")},[Se,Ae]=vi(_i.length,le,yn);To.pagination=yn===!1?{}:Xl(Se,yn),To.resetPagination=Ae;const $e=se.useMemo(()=>{if(yn===!1||!Se.pageSize)return _i;const{current:jn=1,total:Yn,pageSize:Sr=bl}=Se;return _i.length<Yn?_i.length>Sr?_i.slice((jn-1)*Sr,jn*Sr):_i:_i.slice((jn-1)*Sr,jn*Sr)},[!!yn,_i,Se&&Se.current,Se&&Se.pageSize,Se&&Se.total]),[_e,Pt]=Ou({prefixCls:Ko,data:_i,pageData:$e,getRowKey:gi,getRecordByKey:Xr,expandType:Kr,childrenColumnName:zr,locale:Va,getPopupContainer:Da||Mo},un),Dt=(jn,Yn,Sr)=>{let Ya;return typeof Un=="function"?Ya=Re()(Un(jn,Yn,Sr)):Ya=Re()(Un),Re()({[`${Ko}-row-selected`]:Pt.has(gi(jn,Yn))},Ya)};vr.__PARENT_RENDER_ICON__=vr.expandIcon,vr.expandIcon=vr.expandIcon||Fr||Ln(Va),Kr==="nest"&&vr.expandIconColumnIndex===void 0?vr.expandIconColumnIndex=un?1:0:vr.expandIconColumnIndex>0&&un&&(vr.expandIconColumnIndex-=1),typeof vr.indentSize!="number"&&(vr.indentSize=typeof Ao=="number"?Ao:15);const jt=se.useCallback(jn=>ie(_e(Tu(Lu(jn)))),[Lu,Tu,_e]);let xn,Qt;if(yn!==!1&&(Se!=null&&Se.total)){let jn;Se.size?jn=Se.size:jn=Nl==="small"||Nl==="middle"?"small":void 0;const Yn=yr=>se.createElement(Fl.Z,Object.assign({},Se,{className:Re()(`${Ko}-pagination ${Ko}-pagination-${yr}`,Se.className),size:jn})),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&&(Qt=Yn(Sr)),yr&&(xn=Yn(yr.toLowerCase().replace("top",""))),ur&&(Qt=Yn(ur.toLowerCase().replace("bottom","")))}else Qt=Yn(Sr)}let en;typeof qa=="boolean"?en={spinning:qa}:typeof qa=="object"&&(en=Object.assign({spinning:!0},qa));const[nn,dn]=bs(Ko),[,Rt]=(0,Fa.Z)(),ln=Re()(`${Ko}-wrapper`,di==null?void 0:di.className,{[`${Ko}-wrapper-rtl`]:Di==="rtl"},We,Qe,dn),kn=Object.assign(Object.assign({},di==null?void 0:di.style),it),Pa=or&&or.emptyText||(pl==null?void 0:pl("Table"))||se.createElement(nl.Z,{componentName:"Table"}),Qn=Er?ls:Qu,Vn={},Ha=se.useMemo(()=>{const{fontSize:jn,lineHeight:Yn,padding:Sr,paddingXS:Ya,paddingSM:yr}=Rt,ur=Math.floor(jn*Yn);switch(Nl){case"large":return Sr*2+ur;case"small":return Ya*2+ur;default:return yr*2+ur}},[Rt,Nl]);return Er&&(Vn.listItemHeight=Ha),nn(se.createElement("div",{ref:me,className:ln,style:kn},se.createElement(oa.Z,Object.assign({spinning:!1},en),xn,se.createElement(Qn,Object.assign({},Vn,Io,{columns:Ir,direction:Di,expandable:vr,prefixCls:Ko,className:Re()({[`${Ko}-middle`]:Nl==="middle",[`${Ko}-small`]:Nl==="small",[`${Ko}-bordered`]:Tt,[`${Ko}-empty`]:_r.length===0}),data:$e,rowKey:gi,rowClassName:Dt,emptyText:Pa,internalHooks:ge,internalRefs:Rr,transformColumns:jt})),Qt)))};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,yt){return ut===et[yt]})})}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 Ft=gt(ne(),typeof window!="undefined"?window:{}),Ut={};if(ne()){var Sn=document.createElement("div");Ut=Sn.style}var lt={};function pt(fe){if(lt[fe])return lt[fe];var ye=Ft[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 Ut)return lt[fe]=ye[ut],lt[fe]}return""}var Mt=pt("animationend"),Ht=pt("transitionend"),dt=!!(Mt&&Ht),zt=Mt||"animationend",Ze=Ht||"transitionend";function Fn(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",La="appear",vt="enter",Lt="leave",Ct="none",wt="prepare",Cn="start",sn="active",Nt="end";function On(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 yt(nt,ct){ct&&ye.current||ut(nt)}return[et,yt]}var Vt=function(ye){return+setTimeout(ye,16)},_t=function(ye){return clearTimeout(ye)};typeof window!="undefined"&&"requestAnimationFrame"in window&&(Vt=function(ye){return window.requestAnimationFrame(ye)},_t=function(ye){return window.cancelAnimationFrame(ye)});var Mn=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;Mn+=1;var Pe=Mn;function et(ut){if(ut===0)Je(Pe),ye();else{var yt=Vt(function(){et(ut-1)});bn.set(Pe,yt)}}return et(ke),Pe};He.cancel=function(fe){var ye=bn.get(fe);return Je(ye),_t(ye)};var _n=He,Me=function(){var fe=b.useRef(null);function ye(){_n.cancel(fe.current)}function ke(Pe){var et=arguments.length>1&&arguments[1]!==void 0?arguments[1]:2;ye();var ut=_n(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,Wt=Xe,ot=[wt,Cn,sn,Nt],Ye=!1,xt=!0;function Yt(fe){return fe===sn||fe===Nt}var It=function(fe,ye){var ke=On(Ct),Pe=(0,re.Z)(ke,2),et=Pe[0],ut=Pe[1],yt=Me(),nt=(0,re.Z)(yt,2),ct=nt[0],ht=nt[1];function vn(){ut(wt,!0)}return Wt(function(){if(et!==Ct&&et!==Nt){var En=ot.indexOf(et),ra=ot[En+1],Xn=ye(et);Xn===Ye?ut(ra,!0):ct(function(Ia){function wa(){Ia.isCanceled()||ut(ra,!0)}Xn===!0?wa():Promise.resolve(Xn).then(wa)})}},[fe,et]),b.useEffect(function(){return function(){ht()}},[]),[vn,et]},Nn=function(fe){var ye=(0,b.useRef)(),ke=(0,b.useRef)(fe);ke.current=fe;var Pe=b.useCallback(function(yt){ke.current(yt)},[]);function et(yt){yt&&(yt.removeEventListener(Ze,Pe),yt.removeEventListener(zt,Pe))}function ut(yt){ye.current&&ye.current!==yt&&et(ye.current),yt&&yt!==ye.current&&(yt.addEventListener(Ze,Pe),yt.addEventListener(zt,Pe),ye.current=yt)}return b.useEffect(function(){return function(){et(ye.current)}},[]),[ut,et]};function kt(fe,ye,ke,Pe){var et=Pe.motionEnter,ut=et===void 0?!0:et,yt=Pe.motionAppear,nt=yt===void 0?!0:yt,ct=Pe.motionLeave,ht=ct===void 0?!0:ct,vn=Pe.motionDeadline,En=Pe.motionLeaveImmediately,ra=Pe.onAppearPrepare,Xn=Pe.onEnterPrepare,Ia=Pe.onLeavePrepare,wa=Pe.onAppearStart,Bn=Pe.onEnterStart,Kt=Pe.onLeaveStart,An=Pe.onAppearActive,Tn=Pe.onEnterActive,Ea=Pe.onLeaveActive,Ta=Pe.onAppearEnd,Ma=Pe.onEnterEnd,Ja=Pe.onLeaveEnd,Za=Pe.onVisibleChanged,fa=On(),za=(0,re.Z)(fa,2),Na=za[0],cr=za[1],br=On(Zn),oo=(0,re.Z)(br,2),zo=oo[0],ai=oo[1],Sa=On(null),ri=(0,re.Z)(Sa,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(ta){var hr=sl();if(!(ta&&!ta.deadline&&ta.target!==hr)){var Do=Ti.current,sr;zo===La&&Do?sr=Ta==null?void 0:Ta(hr,ta):zo===vt&&Do?sr=Ma==null?void 0:Ma(hr,ta):zo===Lt&&Do&&(sr=Ja==null?void 0:Ja(hr,ta)),zo!==Zn&&Do&&sr!==!1&&(ai(Zn,!0),Kl(null,!0))}}var Cl=Nn(Cu),bu=(0,re.Z)(Cl,1),on=bu[0],Xt=b.useMemo(function(){var ta,hr,Do;switch(zo){case La:return ta={},(0,ge.Z)(ta,wt,ra),(0,ge.Z)(ta,Cn,wa),(0,ge.Z)(ta,sn,An),ta;case vt:return hr={},(0,ge.Z)(hr,wt,Xn),(0,ge.Z)(hr,Cn,Bn),(0,ge.Z)(hr,sn,Tn),hr;case Lt:return Do={},(0,ge.Z)(Do,wt,Ia),(0,ge.Z)(Do,Cn,Kt),(0,ge.Z)(Do,sn,Ea),Do;default:return{}}},[zo]),$t=It(zo,function(ta){if(ta===wt){var hr=Xt[wt];return hr?hr(sl()):Ye}if(Wa in Xt){var Do;Kl(((Do=Xt[Wa])===null||Do===void 0?void 0:Do.call(Xt,sl(),null))||null)}return Wa===sn&&(on(sl()),vn>0&&(clearTimeout(Ll.current),Ll.current=setTimeout(function(){Cu({deadline:!0})},vn))),xt}),ka=(0,re.Z)($t,2),Mr=ka[0],Wa=ka[1],$n=Yt(Wa);Ti.current=$n,Wt(function(){cr(ye);var ta=mu.current;if(mu.current=!0,!!fe){var hr;!ta&&ye&&nt&&(hr=La),ta&&ye&&ut&&(hr=vt),(ta&&!ye&&ht||!ta&&En&&!ye&&ht)&&(hr=Lt),hr&&(ai(hr),Mr())}},[ye]),(0,b.useEffect)(function(){(zo===La&&!nt||zo===vt&&!ut||zo===Lt&&!ht)&&ai(Zn)},[nt,ut,ht]),(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 Rn=Ji;return Xt[wt]&&Wa===Cn&&(Rn=(0,Fe.Z)({transition:"none"},Rn)),[zo,Wa,Rn,Na!=null?Na:ye]}var Gt=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),St=Gt;function Pn(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 yt=et.visible,nt=yt===void 0?!0:yt,ct=et.removeOnLeave,ht=ct===void 0?!0:ct,vn=et.forceRender,En=et.children,ra=et.motionName,Xn=et.leavedClassName,Ia=et.eventProps,wa=ke(et),Bn=(0,b.useRef)(),Kt=(0,b.useRef)();function An(){try{return Bn.current instanceof HTMLElement?Bn.current:Ne(Kt.current)}catch(Sa){return null}}var Tn=kt(wa,nt,An,et),Ea=(0,re.Z)(Tn,4),Ta=Ea[0],Ma=Ea[1],Ja=Ea[2],Za=Ea[3],fa=b.useRef(Za);Za&&(fa.current=!0);var za=b.useCallback(function(Sa){Bn.current=Sa,Ie(ut,Sa)},[ut]),Na,cr=(0,Fe.Z)((0,Fe.Z)({},Ia),{},{visible:nt});if(!En)Na=null;else if(Ta===Zn||!ke(et))Za?Na=En((0,Fe.Z)({},cr),za):!ht&&fa.current&&Xn?Na=En((0,Fe.Z)((0,Fe.Z)({},cr),{},{className:Xn}),za):vn||!ht&&!Xn?Na=En((0,Fe.Z)((0,Fe.Z)({},cr),{},{style:{display:"none"}}),za):Na=null;else{var br,oo;Ma===wt?oo="prepare":Yt(Ma)?oo="active":Ma===Cn&&(oo="start"),Na=En((0,Fe.Z)((0,Fe.Z)({},cr),{},{className:De()(Fn(ra,Ta),(br={},(0,ge.Z)(br,Fn(ra,"".concat(Ta,"-").concat(oo)),oo),(0,ge.Z)(br,ra,typeof ra=="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(St,{ref:Kt},Na)});return Pe.displayName="CSSMotion",Pe}var qt=Pn(dt),wn="add",xa="keep",Hn="remove",la="removed";function Ba(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 rn(){var fe=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];return fe.map(Ba)}function cn(){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=rn(fe),yt=rn(ye);ut.forEach(function(ht){for(var vn=!1,En=Pe;En<et;En+=1){var ra=yt[En];if(ra.key===ht.key){Pe<En&&(ke=ke.concat(yt.slice(Pe,En).map(function(Xn){return(0,Fe.Z)((0,Fe.Z)({},Xn),{},{status:wn})})),Pe=En),ke.push((0,Fe.Z)((0,Fe.Z)({},ra),{},{status:xa})),Pe+=1,vn=!0;break}}vn||ke.push((0,Fe.Z)((0,Fe.Z)({},ht),{},{status:Hn}))}),Pe<et&&(ke=ke.concat(yt.slice(Pe).map(function(ht){return(0,Fe.Z)((0,Fe.Z)({},ht),{},{status:wn})})));var nt={};ke.forEach(function(ht){var vn=ht.key;nt[vn]=(nt[vn]||0)+1});var ct=Object.keys(nt).filter(function(ht){return nt[ht]>1});return ct.forEach(function(ht){ke=ke.filter(function(vn){var En=vn.key,ra=vn.status;return En!==ht||ra!==Hn}),ke.forEach(function(vn){vn.key===ht&&(vn.status=xa)})}),ke}var pn=["component","children","onVisibleChanged","onAllRemoved"],Aa=["status"],ha=["eventProps","visible","children","motionName","motionAppear","motionEnter","motionLeave","motionLeaveImmediately","motionDeadline","removeOnLeave","leavedClassName","onAppearStart","onAppearActive","onAppearEnd","onEnterStart","onEnterActive","onEnterEnd","onLeaveStart","onLeaveActive","onLeaveEnd"];function aa(fe){var ye=arguments.length>1&&arguments[1]!==void 0?arguments[1]:qt,ke=function(Pe){(0,Te.Z)(ut,Pe);var et=(0,Le.Z)(ut);function ut(){var yt;(0,ze.Z)(this,ut);for(var nt=arguments.length,ct=new Array(nt),ht=0;ht<nt;ht++)ct[ht]=arguments[ht];return yt=et.call.apply(et,[this].concat(ct)),(0,ge.Z)((0,je.Z)(yt),"state",{keyEntities:[]}),(0,ge.Z)((0,je.Z)(yt),"removeKey",function(vn){var En=yt.state.keyEntities,ra=En.map(function(Xn){return Xn.key!==vn?Xn:(0,Fe.Z)((0,Fe.Z)({},Xn),{},{status:la})});return yt.setState({keyEntities:ra}),ra.filter(function(Xn){var Ia=Xn.status;return Ia!==la}).length}),yt}return(0,se.Z)(ut,[{key:"render",value:function(){var nt=this,ct=this.state.keyEntities,ht=this.props,vn=ht.component,En=ht.children,ra=ht.onVisibleChanged,Xn=ht.onAllRemoved,Ia=(0,oe.Z)(ht,pn),wa=vn||b.Fragment,Bn={};return ha.forEach(function(Kt){Bn[Kt]=Ia[Kt],delete Ia[Kt]}),delete Ia.keys,b.createElement(wa,Ia,ct.map(function(Kt){var An=Kt.status,Tn=(0,oe.Z)(Kt,Aa),Ea=An===wn||An===xa;return b.createElement(ye,(0,x.Z)({},Bn,{key:Tn.key,visible:Ea,eventProps:Tn,onVisibleChanged:function(Ma){if(ra==null||ra(Ma,{key:Tn.key}),!Ma){var Ja=nt.removeKey(Tn.key);Ja===0&&Xn&&Xn()}}}),En)}))}}],[{key:"getDerivedStateFromProps",value:function(nt,ct){var ht=nt.keys,vn=ct.keyEntities,En=rn(ht),ra=cn(vn,En);return{keyEntities:ra.filter(function(Xn){var Ia=vn.find(function(wa){var Bn=wa.key;return Xn.key===Bn});return!(Ia&&Ia.status===la&&Xn.status===Hn)})}}}]),ut}(b.Component);return(0,ge.Z)(ke,"defaultProps",{component:"div"}),ke}var Ga=aa(dt),_a=qt,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 Dn=z(83898),At=["className","style","motion","motionNodes","motionType","onMotionStart","onMotionEnd","active","treeNodeRequiredProps"],Zt=function(ye,ke){var Pe=ye.className,et=ye.style,ut=ye.motion,yt=ye.motionNodes,nt=ye.motionType,ct=ye.onMotionStart,ht=ye.onMotionEnd,vn=ye.active,En=ye.treeNodeRequiredProps,ra=(0,oe.Z)(ye,At),Xn=b.useState(!0),Ia=(0,re.Z)(Xn,2),wa=Ia[0],Bn=Ia[1],Kt=b.useContext(E.k),An=Kt.prefixCls,Tn=yt&&nt!=="hide";pe(function(){yt&&Tn!==wa&&Bn(Tn)},[yt]);var Ea=function(){yt&&ct()},Ta=b.useRef(!1),Ma=function(){yt&&!Ta.current&&(Ta.current=!0,ht())};wo(Ea,Ma);var Ja=function(fa){Tn===fa&&Ma()};return yt?b.createElement(_a,(0,x.Z)({ref:ke,visible:wa},ut,{motionAppear:nt==="show",onVisibleChanged:Ja}),function(Za,fa){var za=Za.className,Na=Za.style;return b.createElement("div",{ref:fa,className:De()("".concat(An,"-treenode-motion"),za),style:Na},yt.map(function(cr){var br=(0,x.Z)({},((0,te.Z)(cr.data),cr.data)),oo=cr.title,zo=cr.key,ai=cr.isStart,Sa=cr.isEnd;delete br.children;var ri=(0,Dn.H8)(zo,En);return b.createElement(Qr.Z,(0,x.Z)({},br,ri,{title:oo,active:vn,data:cr.data,key:zo,isStart:ai,isEnd:Sa}))}))}):b.createElement(Qr.Z,(0,x.Z)({domRef:ke,className:Pe,style:et},ra,{active:vn}))};Zt.displayName="MotionTreeNode";var bt=b.forwardRef(Zt),Jn=bt;function Jt(){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,yt){var nt=new Map;ut.forEach(function(ht){nt.set(ht,!0)});var ct=yt.filter(function(ht){return!nt.has(ht)});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 yt=ye.findIndex(function(nt){return nt.key===et.key});return ye.slice(ut+1,yt)}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},sa={key:qr,level:0,index:0,pos:"0",node:Jo,nodes:[Jo]},Vr={parent:null,children:[],pos:sa.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 mn(fe){var ye=fe.key,ke=fe.pos;return(0,Dn.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 fn=b.forwardRef(function(fe,ye){var ke=fe.prefixCls,Pe=fe.data,et=fe.selectable,ut=fe.checkable,yt=fe.expandedKeys,nt=fe.selectedKeys,ct=fe.checkedKeys,ht=fe.loadedKeys,vn=fe.loadingKeys,En=fe.halfCheckedKeys,ra=fe.keyEntities,Xn=fe.disabled,Ia=fe.dragging,wa=fe.dragOverNodeKey,Bn=fe.dropPosition,Kt=fe.motion,An=fe.height,Tn=fe.itemHeight,Ea=fe.virtual,Ta=fe.focusable,Ma=fe.activeItem,Ja=fe.focused,Za=fe.tabIndex,fa=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),Sa=b.useRef(null);b.useImperativeHandle(ye,function(){return{scrollTo:function(wr){ai.current.scrollTo(wr)},getIndentWidth:function(){return Sa.current.offsetWidth}}});var ri=b.useState(yt),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),on=bu[0],Xt=bu[1],$t=b.useState([]),ka=(0,re.Z)($t,2),Mr=ka[0],Wa=ka[1],$n=b.useState(null),mr=(0,re.Z)($n,2),Rn=mr[0],ta=mr[1],hr=b.useRef(Pe);hr.current=Pe;function Do(){var $o=hr.current;Cu($o),Xt($o),Wa([]),ta(null),oo()}pe(function(){mu(yt);var $o=Jt(Kl,yt);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),Ea,An,Tn),Ca=Ti.slice();Ca.splice(wr+1,0,Vr),Xt(Ca),Wa(oi),ta("show")}else{var ua=Pe.findIndex(function(Ua){var Oa=Ua.key;return Oa===$o.key}),mo=ft(er(Pe,Ti,$o.key),Ea,An,Tn),nl=Pe.slice();nl.splice(ua+1,0,Vr),Xt(nl),Wa(mo),ta("hide")}else Ti!==Pe&&(Cu(Pe),Xt(Pe))},[yt,Pe]),b.useEffect(function(){Ia||Do()},[Ia]);var sr=Kt?on:Pe,Hi={expandedKeys:yt,selectedKeys:nt,loadedKeys:ht,loadingKeys:vn,checkedKeys:ct,halfCheckedKeys:En,dragOverNodeKey:wa,dropPosition:Bn,keyEntities:ra};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||Xn,tabIndex:Ta!==!1?Za:null,onKeyDown:fa,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:Sa,className:"".concat(ke,"-indent-unit")}))),b.createElement(be.Z,(0,x.Z)({},zo,{data:sr,itemKey:mn,height:An,fullHeight:!1,virtual:Ea,itemHeight:Tn,prefixCls:"".concat(ke,"-list"),ref:ai,onVisibleChange:function(wr,oi){var Ca=new Set(wr),ua=oi.filter(function(mo){return!Ca.has(mo)});ua.some(function(mo){return mn(mo)===qr})&&Do()}}),function($o){var wr=$o.pos,oi=(0,x.Z)({},((0,te.Z)($o.data),$o.data)),Ca=$o.title,ua=$o.key,mo=$o.isStart,nl=$o.isEnd,Ua=(0,Dn.km)(ua,wr);delete oi.key,delete oi.children;var Oa=(0,Dn.H8)(Ua,Hi);return b.createElement(Jn,(0,x.Z)({},oi,Oa,{title:Ca,active:!!Ma&&ua===Ma.key,pos:wr,data:$o.data,isStart:mo,isEnd:nl,motion:Kt,motionNodes:ua===qr?Mr:null,motionType:Rn,onMotionStart:br,onMotionEnd:Do,treeNodeRequiredProps:Hi,onMouseMove:function(){cr(null)}}))}))});fn.displayName="NodeList";var da=fn,gn=z(29873),ia=z(97153),In=z(3596),pa=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),yt=0;yt<et;yt++)ut[yt]=arguments[yt];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,Dn.w$)()},Pe.dragStartMousePosition=null,Pe.dragNode=void 0,Pe.currentMouseOverDroppableNodeKey=null,Pe.listRef=b.createRef(),Pe.onNodeDragStart=function(nt,ct){var ht=Pe.state,vn=ht.expandedKeys,En=ht.keyEntities,ra=Pe.props.onDragStart,Xn=ct.props.eventKey;Pe.dragNode=ct,Pe.dragStartMousePosition={x:nt.clientX,y:nt.clientY};var Ia=(0,gn._5)(vn,Xn);Pe.setState({draggingNodeKey:Xn,dragChildrenKeys:(0,gn.wA)(Xn,En),indent:Pe.listRef.current.getIndentWidth()}),Pe.setExpandedKeys(Ia),window.addEventListener("dragend",Pe.onWindowDragEnd),ra==null||ra({event:nt,node:(0,Dn.F)(ct.props)})},Pe.onNodeDragEnter=function(nt,ct){var ht=Pe.state,vn=ht.expandedKeys,En=ht.keyEntities,ra=ht.dragChildrenKeys,Xn=ht.flattenNodes,Ia=ht.indent,wa=Pe.props,Bn=wa.onDragEnter,Kt=wa.onExpand,An=wa.allowDrop,Tn=wa.direction,Ea=ct.props,Ta=Ea.pos,Ma=Ea.eventKey,Ja=(0,je.Z)(Pe),Za=Ja.dragNode;if(Pe.currentMouseOverDroppableNodeKey!==Ma&&(Pe.currentMouseOverDroppableNodeKey=Ma),!Za){Pe.resetDragState();return}var fa=(0,gn.OM)(nt,Za,ct,Ia,Pe.dragStartMousePosition,An,Xn,En,vn,Tn),za=fa.dropPosition,Na=fa.dropLevelOffset,cr=fa.dropTargetKey,br=fa.dropContainerKey,oo=fa.dropTargetPos,zo=fa.dropAllowed,ai=fa.dragOverNodeKey;if(ra.indexOf(cr)!==-1||!zo){Pe.resetDragState();return}if(Pe.delayedDragEnterLogic||(Pe.delayedDragEnterLogic={}),Object.keys(Pe.delayedDragEnterLogic).forEach(function(Sa){clearTimeout(Pe.delayedDragEnterLogic[Sa])}),Za.props.eventKey!==ct.props.eventKey&&(nt.persist(),Pe.delayedDragEnterLogic[Ta]=window.setTimeout(function(){if(Pe.state.draggingNodeKey!==null){var Sa=(0,we.Z)(vn),ri=(0,In.Z)(En,ct.props.eventKey);ri&&(ri.children||[]).length&&(Sa=(0,gn.L0)(vn,ct.props.eventKey)),"expandedKeys"in Pe.props||Pe.setExpandedKeys(Sa),Kt==null||Kt(Sa,{node:(0,Dn.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}),Bn==null||Bn({event:nt,node:(0,Dn.F)(ct.props),expandedKeys:vn})},Pe.onNodeDragOver=function(nt,ct){var ht=Pe.state,vn=ht.dragChildrenKeys,En=ht.flattenNodes,ra=ht.keyEntities,Xn=ht.expandedKeys,Ia=ht.indent,wa=Pe.props,Bn=wa.onDragOver,Kt=wa.allowDrop,An=wa.direction,Tn=(0,je.Z)(Pe),Ea=Tn.dragNode;if(Ea){var Ta=(0,gn.OM)(nt,Ea,ct,Ia,Pe.dragStartMousePosition,Kt,En,ra,Xn,An),Ma=Ta.dropPosition,Ja=Ta.dropLevelOffset,Za=Ta.dropTargetKey,fa=Ta.dropContainerKey,za=Ta.dropAllowed,Na=Ta.dropTargetPos,cr=Ta.dragOverNodeKey;vn.indexOf(Za)!==-1||!za||(Ea.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&&fa===Pe.state.dropContainerKey&&Na===Pe.state.dropTargetPos&&za===Pe.state.dropAllowed&&cr===Pe.state.dragOverNodeKey||Pe.setState({dropPosition:Ma,dropLevelOffset:Ja,dropTargetKey:Za,dropContainerKey:fa,dropTargetPos:Na,dropAllowed:za,dragOverNodeKey:cr}),Bn==null||Bn({event:nt,node:(0,Dn.F)(ct.props)}))}},Pe.onNodeDragLeave=function(nt,ct){Pe.currentMouseOverDroppableNodeKey===ct.props.eventKey&&!nt.currentTarget.contains(nt.relatedTarget)&&(Pe.resetDragState(),Pe.currentMouseOverDroppableNodeKey=null);var ht=Pe.props.onDragLeave;ht==null||ht({event:nt,node:(0,Dn.F)(ct.props)})},Pe.onWindowDragEnd=function(nt){Pe.onNodeDragEnd(nt,null,!0),window.removeEventListener("dragend",Pe.onWindowDragEnd)},Pe.onNodeDragEnd=function(nt,ct){var ht=Pe.props.onDragEnd;Pe.setState({dragOverNodeKey:null}),Pe.cleanDragState(),ht==null||ht({event:nt,node:(0,Dn.F)(ct.props)}),Pe.dragNode=null,window.removeEventListener("dragend",Pe.onWindowDragEnd)},Pe.onNodeDrop=function(nt,ct){var ht,vn=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1,En=Pe.state,ra=En.dragChildrenKeys,Xn=En.dropPosition,Ia=En.dropTargetKey,wa=En.dropTargetPos,Bn=En.dropAllowed;if(Bn){var Kt=Pe.props.onDrop;if(Pe.setState({dragOverNodeKey:null}),Pe.cleanDragState(),Ia!==null){var An=(0,Fe.Z)((0,Fe.Z)({},(0,Dn.H8)(Ia,Pe.getTreeNodeRequiredProps())),{},{active:((ht=Pe.getActiveItem())===null||ht===void 0?void 0:ht.key)===Ia,data:(0,In.Z)(Pe.state.keyEntities,Ia).node}),Tn=ra.indexOf(Ia)!==-1;(0,y.ZP)(!Tn,"Can not drop to dragNode's children node. This is a bug of rc-tree. Please report an issue.");var Ea=(0,gn.yx)(wa),Ta={event:nt,node:(0,Dn.F)(An),dragNode:Pe.dragNode?(0,Dn.F)(Pe.dragNode.props):null,dragNodesKeys:[Pe.dragNode.props.eventKey].concat(ra),dropToGap:Xn!==0,dropPosition:Xn+Number(Ea[Ea.length-1])};vn||Kt==null||Kt(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 ht=Pe.state,vn=ht.expandedKeys,En=ht.flattenNodes,ra=ct.expanded,Xn=ct.key,Ia=ct.isLeaf;if(!(Ia||nt.shiftKey||nt.metaKey||nt.ctrlKey)){var wa=En.filter(function(Kt){return Kt.key===Xn})[0],Bn=(0,Dn.F)((0,Fe.Z)((0,Fe.Z)({},(0,Dn.H8)(Xn,Pe.getTreeNodeRequiredProps())),{},{data:wa.data}));Pe.setExpandedKeys(ra?(0,gn._5)(vn,Xn):(0,gn.L0)(vn,Xn)),Pe.onNodeExpand(nt,Bn)}},Pe.onNodeClick=function(nt,ct){var ht=Pe.props,vn=ht.onClick,En=ht.expandAction;En==="click"&&Pe.triggerExpandActionExpand(nt,ct),vn==null||vn(nt,ct)},Pe.onNodeDoubleClick=function(nt,ct){var ht=Pe.props,vn=ht.onDoubleClick,En=ht.expandAction;En==="doubleClick"&&Pe.triggerExpandActionExpand(nt,ct),vn==null||vn(nt,ct)},Pe.onNodeSelect=function(nt,ct){var ht=Pe.state.selectedKeys,vn=Pe.state,En=vn.keyEntities,ra=vn.fieldNames,Xn=Pe.props,Ia=Xn.onSelect,wa=Xn.multiple,Bn=ct.selected,Kt=ct[ra.key],An=!Bn;An?wa?ht=(0,gn.L0)(ht,Kt):ht=[Kt]:ht=(0,gn._5)(ht,Kt);var Tn=ht.map(function(Ea){var Ta=(0,In.Z)(En,Ea);return Ta?Ta.node:null}).filter(function(Ea){return Ea});Pe.setUncontrolledState({selectedKeys:ht}),Ia==null||Ia(ht,{event:"select",selected:An,node:ct,selectedNodes:Tn,nativeEvent:nt.nativeEvent})},Pe.onNodeCheck=function(nt,ct,ht){var vn=Pe.state,En=vn.keyEntities,ra=vn.checkedKeys,Xn=vn.halfCheckedKeys,Ia=Pe.props,wa=Ia.checkStrictly,Bn=Ia.onCheck,Kt=ct.key,An,Tn={event:"check",node:ct,checked:ht,nativeEvent:nt.nativeEvent};if(wa){var Ea=ht?(0,gn.L0)(ra,Kt):(0,gn._5)(ra,Kt),Ta=(0,gn._5)(Xn,Kt);An={checked:Ea,halfChecked:Ta},Tn.checkedNodes=Ea.map(function(Na){return(0,In.Z)(En,Na)}).filter(function(Na){return Na}).map(function(Na){return Na.node}),Pe.setUncontrolledState({checkedKeys:Ea})}else{var Ma=(0,ia.S)([].concat((0,we.Z)(ra),[Kt]),!0,En),Ja=Ma.checkedKeys,Za=Ma.halfCheckedKeys;if(!ht){var fa=new Set(Ja);fa.delete(Kt);var za=(0,ia.S)(Array.from(fa),{checked:!1,halfCheckedKeys:Za},En);Ja=za.checkedKeys,Za=za.halfCheckedKeys}An=Ja,Tn.checkedNodes=[],Tn.checkedNodesPositions=[],Tn.halfCheckedKeys=Za,Ja.forEach(function(Na){var cr=(0,In.Z)(En,Na);if(cr){var br=cr.node,oo=cr.pos;Tn.checkedNodes.push(br),Tn.checkedNodesPositions.push({node:br,pos:oo})}}),Pe.setUncontrolledState({checkedKeys:Ja},!1,{halfCheckedKeys:Za})}Bn==null||Bn(An,Tn)},Pe.onNodeLoad=function(nt){var ct=nt.key,ht=new Promise(function(vn,En){Pe.setState(function(ra){var Xn=ra.loadedKeys,Ia=Xn===void 0?[]:Xn,wa=ra.loadingKeys,Bn=wa===void 0?[]:wa,Kt=Pe.props,An=Kt.loadData,Tn=Kt.onLoad;if(!An||Ia.indexOf(ct)!==-1||Bn.indexOf(ct)!==-1)return null;var Ea=An(nt);return Ea.then(function(){var Ta=Pe.state.loadedKeys,Ma=(0,gn.L0)(Ta,ct);Tn==null||Tn(Ma,{event:"load",node:nt}),Pe.setUncontrolledState({loadedKeys:Ma}),Pe.setState(function(Ja){return{loadingKeys:(0,gn._5)(Ja.loadingKeys,ct)}}),vn()}).catch(function(Ta){if(Pe.setState(function(Ja){return{loadingKeys:(0,gn._5)(Ja.loadingKeys,ct)}}),Pe.loadingRetryTimes[ct]=(Pe.loadingRetryTimes[ct]||0)+1,Pe.loadingRetryTimes[ct]>=pa){var Ma=Pe.state.loadedKeys;(0,y.ZP)(!1,"Retry for `loadData` many times but still failed. No more retry."),Pe.setUncontrolledState({loadedKeys:(0,gn.L0)(Ma,ct)}),vn()}En(Ta)}),{loadingKeys:(0,gn.L0)(Bn,ct)}})});return ht.catch(function(){}),ht},Pe.onNodeMouseEnter=function(nt,ct){var ht=Pe.props.onMouseEnter;ht==null||ht({event:nt,node:ct})},Pe.onNodeMouseLeave=function(nt,ct){var ht=Pe.props.onMouseLeave;ht==null||ht({event:nt,node:ct})},Pe.onNodeContextMenu=function(nt,ct){var ht=Pe.props.onRightClick;ht&&(nt.preventDefault(),ht({event:nt,node:ct}))},Pe.onFocus=function(){var nt=Pe.props.onFocus;Pe.setState({focused:!0});for(var ct=arguments.length,ht=new Array(ct),vn=0;vn<ct;vn++)ht[vn]=arguments[vn];nt==null||nt.apply(void 0,ht)},Pe.onBlur=function(){var nt=Pe.props.onBlur;Pe.setState({focused:!1}),Pe.onActiveChange(null);for(var ct=arguments.length,ht=new Array(ct),vn=0;vn<ct;vn++)ht[vn]=arguments[vn];nt==null||nt.apply(void 0,ht)},Pe.getTreeNodeRequiredProps=function(){var nt=Pe.state,ct=nt.expandedKeys,ht=nt.selectedKeys,vn=nt.loadedKeys,En=nt.loadingKeys,ra=nt.checkedKeys,Xn=nt.halfCheckedKeys,Ia=nt.dragOverNodeKey,wa=nt.dropPosition,Bn=nt.keyEntities;return{expandedKeys:ct||[],selectedKeys:ht||[],loadedKeys:vn||[],loadingKeys:En||[],checkedKeys:ra||[],halfCheckedKeys:Xn||[],dragOverNodeKey:Ia,dropPosition:wa,keyEntities:Bn}},Pe.setExpandedKeys=function(nt){var ct=Pe.state,ht=ct.treeData,vn=ct.fieldNames,En=(0,Dn.oH)(ht,nt,vn);Pe.setUncontrolledState({expandedKeys:nt,flattenNodes:En},!0)},Pe.onNodeExpand=function(nt,ct){var ht=Pe.state.expandedKeys,vn=Pe.state,En=vn.listChanging,ra=vn.fieldNames,Xn=Pe.props,Ia=Xn.onExpand,wa=Xn.loadData,Bn=ct.expanded,Kt=ct[ra.key];if(!En){var An=ht.indexOf(Kt),Tn=!Bn;if((0,y.ZP)(Bn&&An!==-1||!Bn&&An===-1,"Expand state not sync with index check"),Tn?ht=(0,gn.L0)(ht,Kt):ht=(0,gn._5)(ht,Kt),Pe.setExpandedKeys(ht),Ia==null||Ia(ht,{node:ct,expanded:Tn,nativeEvent:nt.nativeEvent}),Tn&&wa){var Ea=Pe.onNodeLoad(ct);Ea&&Ea.then(function(){var Ta=(0,Dn.oH)(Pe.state.treeData,ht,ra);Pe.setUncontrolledState({flattenNodes:Ta})}).catch(function(){var Ta=Pe.state.expandedKeys,Ma=(0,gn._5)(Ta,Kt);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,ht=Pe.props.onActiveChange;ct!==nt&&(Pe.setState({activeKey:nt}),nt!==null&&Pe.scrollTo({key:nt}),ht==null||ht(nt))},Pe.getActiveItem=function(){var nt=Pe.state,ct=nt.activeKey,ht=nt.flattenNodes;return ct===null?null:ht.find(function(vn){var En=vn.key;return En===ct})||null},Pe.offsetActiveKey=function(nt){var ct=Pe.state,ht=ct.flattenNodes,vn=ct.activeKey,En=ht.findIndex(function(Ia){var wa=Ia.key;return wa===vn});En===-1&&nt<0&&(En=ht.length),En=(En+nt+ht.length)%ht.length;var ra=ht[En];if(ra){var Xn=ra.key;Pe.onActiveChange(Xn)}else Pe.onActiveChange(null)},Pe.onKeyDown=function(nt){var ct=Pe.state,ht=ct.activeKey,vn=ct.expandedKeys,En=ct.checkedKeys,ra=ct.fieldNames,Xn=Pe.props,Ia=Xn.onKeyDown,wa=Xn.checkable,Bn=Xn.selectable;switch(nt.which){case ue.UP:{Pe.offsetActiveKey(-1),nt.preventDefault();break}case ue.DOWN:{Pe.offsetActiveKey(1),nt.preventDefault();break}}var Kt=Pe.getActiveItem();if(Kt&&Kt.data){var An=Pe.getTreeNodeRequiredProps(),Tn=Kt.data.isLeaf===!1||!!(Kt.data[ra.children]||[]).length,Ea=(0,Dn.F)((0,Fe.Z)((0,Fe.Z)({},(0,Dn.H8)(ht,An)),{},{data:Kt.data,active:!0}));switch(nt.which){case ue.LEFT:{Tn&&vn.includes(ht)?Pe.onNodeExpand({},Ea):Kt.parent&&Pe.onActiveChange(Kt.parent.key),nt.preventDefault();break}case ue.RIGHT:{Tn&&!vn.includes(ht)?Pe.onNodeExpand({},Ea):Kt.children&&Kt.children.length&&Pe.onActiveChange(Kt.children[0].key),nt.preventDefault();break}case ue.ENTER:case ue.SPACE:{wa&&!Ea.disabled&&Ea.checkable!==!1&&!Ea.disableCheckbox?Pe.onNodeCheck({},Ea,!En.includes(ht)):!wa&&Bn&&!Ea.disabled&&Ea.selectable!==!1&&Pe.onNodeSelect({},Ea);break}}}Ia==null||Ia(nt)},Pe.setUncontrolledState=function(nt){var ct=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,ht=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null;if(!Pe.destroyed){var vn=!1,En=!0,ra={};Object.keys(nt).forEach(function(Xn){if(Xn in Pe.props){En=!1;return}vn=!0,ra[Xn]=nt[Xn]}),vn&&(!ct||En)&&Pe.setState((0,Fe.Z)((0,Fe.Z)({},ra),ht))}},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,yt=ut.focused,nt=ut.flattenNodes,ct=ut.keyEntities,ht=ut.draggingNodeKey,vn=ut.activeKey,En=ut.dropLevelOffset,ra=ut.dropContainerKey,Xn=ut.dropTargetKey,Ia=ut.dropPosition,wa=ut.dragOverNodeKey,Bn=ut.indent,Kt=this.props,An=Kt.prefixCls,Tn=Kt.className,Ea=Kt.style,Ta=Kt.showLine,Ma=Kt.focusable,Ja=Kt.tabIndex,Za=Ja===void 0?0:Ja,fa=Kt.selectable,za=Kt.showIcon,Na=Kt.icon,cr=Kt.switcherIcon,br=Kt.draggable,oo=Kt.checkable,zo=Kt.checkStrictly,ai=Kt.disabled,Sa=Kt.motion,ri=Kt.loadData,Ji=Kt.filterTreeNode,Kl=Kt.height,mu=Kt.itemHeight,Ll=Kt.virtual,sl=Kt.titleRender,Ti=Kt.dropIndicatorRender,Cu=Kt.onContextMenu,Cl=Kt.onScroll,bu=Kt.direction,on=Kt.rootClassName,Xt=Kt.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:An,selectable:fa,showIcon:za,icon:Na,switcherIcon:cr,draggable:ka,draggingNodeKey:ht,checkable:oo,checkStrictly:zo,disabled:ai,keyEntities:ct,dropLevelOffset:En,dropContainerKey:ra,dropTargetKey:Xn,dropPosition:Ia,dragOverNodeKey:wa,indent:Bn,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()(An,Tn,on,(et={},(0,ge.Z)(et,"".concat(An,"-show-line"),Ta),(0,ge.Z)(et,"".concat(An,"-focused"),yt),(0,ge.Z)(et,"".concat(An,"-active-focused"),vn!==null),et)),style:Xt},b.createElement(da,(0,x.Z)({ref:this.listRef,prefixCls:An,style:Ea,data:nt,disabled:ai,selectable:fa,checkable:!!oo,motion:Sa,dragging:ht!==null,height:Kl,itemHeight:mu,virtual:Ll,focusable:Ma,focused:yt,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 yt=ut.prevProps,nt={prevProps:et};function ct(Ma){return!yt&&Ma in et||yt&&yt[Ma]!==et[Ma]}var ht,vn=ut.fieldNames;if(ct("fieldNames")&&(vn=(0,Dn.w$)(et.fieldNames),nt.fieldNames=vn),ct("treeData")?ht=et.treeData:ct("children")&&((0,y.ZP)(!1,"`children` of Tree is deprecated. Please use `treeData` instead."),ht=(0,Dn.zn)(et.children)),ht){nt.treeData=ht;var En=(0,Dn.I8)(ht,{fieldNames:vn});nt.keyEntities=(0,Fe.Z)((0,ge.Z)({},qr,sa),En.keyEntities)}var ra=nt.keyEntities||ut.keyEntities;if(ct("expandedKeys")||yt&&ct("autoExpandParent"))nt.expandedKeys=et.autoExpandParent||!yt&&et.defaultExpandParent?(0,gn.r7)(et.expandedKeys,ra):et.expandedKeys;else if(!yt&&et.defaultExpandAll){var Xn=(0,Fe.Z)({},ra);delete Xn[qr],nt.expandedKeys=Object.keys(Xn).map(function(Ma){return Xn[Ma].key})}else!yt&&et.defaultExpandedKeys&&(nt.expandedKeys=et.autoExpandParent||et.defaultExpandParent?(0,gn.r7)(et.defaultExpandedKeys,ra):et.defaultExpandedKeys);if(nt.expandedKeys||delete nt.expandedKeys,ht||nt.expandedKeys){var Ia=(0,Dn.oH)(ht||ut.treeData,nt.expandedKeys||ut.expandedKeys,vn);nt.flattenNodes=Ia}if(et.selectable&&(ct("selectedKeys")?nt.selectedKeys=(0,gn.BT)(et.selectedKeys,et):!yt&&et.defaultSelectedKeys&&(nt.selectedKeys=(0,gn.BT)(et.defaultSelectedKeys,et))),et.checkable){var wa;if(ct("checkedKeys")?wa=(0,gn.E6)(et.checkedKeys)||{}:!yt&&et.defaultCheckedKeys?wa=(0,gn.E6)(et.defaultCheckedKeys)||{}:ht&&(wa=(0,gn.E6)(et.checkedKeys)||{checkedKeys:ut.checkedKeys,halfCheckedKeys:ut.halfCheckedKeys}),wa){var Bn=wa,Kt=Bn.checkedKeys,An=Kt===void 0?[]:Kt,Tn=Bn.halfCheckedKeys,Ea=Tn===void 0?[]:Tn;if(!et.checkStrictly){var Ta=(0,ia.S)(An,!0,ra);An=Ta.checkedKeys,Ea=Ta.halfCheckedKeys}nt.checkedKeys=An,nt.halfCheckedKeys=Ea}}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),Wn=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}))},va=b.forwardRef(Pi),tr=z(53124),xr=z(50881),ga=z(33603),eo=z(32157);const Oo=4;function Ni(fe){const{dropPosition:ye,dropLevelOffset:ke,prefixCls:Pe,indent:et,direction:ut="ltr"}=fe,yt=ut==="ltr"?"left":"right",nt=ut==="ltr"?"right":"left",ct={[yt]:-ke*et+Oo,[nt]:0};switch(ye){case-1:ct.top=-3;break;case 1:ct.bottom=-3;break;default:ct.bottom=-3,ct[yt]=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:yt,className:nt,showIcon:ct=!1,showLine:ht,switcherIcon:vn,blockNode:En=!1,children:ra,checkable:Xn=!1,selectable:Ia=!0,draggable:wa,motion:Bn,style:Kt}=fe,An=ke("tree",yt),Tn=ke(),Ea=Bn!=null?Bn:Object.assign(Object.assign({},(0,ga.Z)(Tn)),{motionAppear:!1}),Ta=Object.assign(Object.assign({},fe),{checkable:Xn,selectable:Ia,showIcon:ct,motion:Ea,blockNode:En,showLine:!!ht,dropIndicatorRender:Ni}),[Ma,Ja]=(0,eo.ZP)(An),Za=b.useMemo(()=>{if(!wa)return!1;let za={};switch(typeof wa){case"function":za.nodeDraggable=wa;break;case"object":za=Object.assign({},wa);break;default:break}return za.icon!==!1&&(za.icon=za.icon||b.createElement(xr.Z,null)),za},[wa]),fa=za=>b.createElement(fi.Z,{prefixCls:An,switcherIcon:vn,treeNodeProps:za,showLine:ht});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),Kt),prefixCls:An,className:De()({[`${An}-icon-hide`]:!ct,[`${An}-block-node`]:En,[`${An}-unselectable`]:!Ia,[`${An}-rtl`]:Pe==="rtl"},ut==null?void 0:ut.className,nt,Ja),direction:Pe,checkable:Xn&&b.createElement("span",{className:`${An}-checkbox-inner`}),selectable:Ia,switcherIcon:fa,draggable:Za}),ra))}),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 ca(fe){let{treeData:ye,expandedKeys:ke,startKey:Pe,endKey:et}=fe;const ut=[];let yt=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(yt===tl.End)return!1;if(nt(ct)){if(ut.push(ct),yt===tl.None)yt=tl.Start;else if(yt===tl.Start)return yt=tl.End,!1}else yt===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 yt=ke.indexOf(et);return yt!==-1&&(Pe.push(ut),ke.splice(yt,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(Wn.Z,null):b.createElement(va,null)}function ul(fe){let{treeData:ye,children:ke}=fe;return ye||(0,Dn.zn)(ke)}const kl=(fe,ye)=>{var{defaultExpandAll:ke,defaultExpandParent:Pe,defaultExpandedKeys:et}=fe,ut=Ar(fe,["defaultExpandAll","defaultExpandParent","defaultExpandedKeys"]);const yt=b.useRef(),nt=b.useRef(),ct=()=>{const{keyEntities:Za}=(0,Dn.I8)(ul(ut));let fa;return ke?fa=Object.keys(Za):Pe?fa=(0,gn.r7)(ut.expandedKeys||et||[],Za):fa=ut.expandedKeys||et,fa},[ht,vn]=b.useState(ut.selectedKeys||ut.defaultSelectedKeys||[]),[En,ra]=b.useState(()=>ct());b.useEffect(()=>{"selectedKeys"in ut&&vn(ut.selectedKeys)},[ut.selectedKeys]),b.useEffect(()=>{"expandedKeys"in ut&&ra(ut.expandedKeys)},[ut.expandedKeys]);const Xn=(Za,fa)=>{var za;return"expandedKeys"in ut||ra(Za),(za=ut.onExpand)===null||za===void 0?void 0:za.call(ut,Za,fa)},Ia=(Za,fa)=>{var za;const{multiple:Na}=ut,{node:cr,nativeEvent:br}=fa,{key:oo=""}=cr,zo=ul(ut),ai=Object.assign(Object.assign({},fa),{selected:!0}),Sa=(br==null?void 0:br.ctrlKey)||(br==null?void 0:br.metaKey),ri=br==null?void 0:br.shiftKey;let Ji;Na&&Sa?(Ji=Za,yt.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)(ca({treeData:zo,expandedKeys:En,startKey:oo,endKey:yt.current}))))),ai.selectedNodes=lr(zo,Ji)):(Ji=[oo],yt.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||vn(Ji)},{getPrefixCls:wa,direction:Bn}=b.useContext(tr.E_),{prefixCls:Kt,className:An,showIcon:Tn=!0,expandAction:Ea="click"}=ut,Ta=Ar(ut,["prefixCls","className","showIcon","expandAction"]),Ma=wa("tree",Kt),Ja=De()(`${Ma}-directory`,{[`${Ma}-directory-rtl`]:Bn==="rtl"},An);return b.createElement(Ol,Object.assign({icon:Ai,ref:ye,blockNode:!0},Ta,{showIcon:Tn,expandAction:Ea,prefixCls:Ma,className:Ja,expandedKeys:En,selectedKeys:ht,onSelect:Ia,onExpand:Xn}))};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,mn){var an="cannot ".concat(ft.method," ").concat(ft.action," ").concat(mn.status,"'"),fn=new Error(an);return fn.status=mn.status,fn.method=ft.method,fn.url=ft.action,fn}function b(ft){var mn=ft.responseText||ft.response;if(!mn)return mn;try{return JSON.parse(mn)}catch(an){return mn}}function E(ft){var mn=new XMLHttpRequest;ft.onProgress&&mn.upload&&(mn.upload.onprogress=function(gn){gn.total>0&&(gn.percent=gn.loaded/gn.total*100),ft.onProgress(gn)});var an=new FormData;ft.data&&Object.keys(ft.data).forEach(function(da){var gn=ft.data[da];if(Array.isArray(gn)){gn.forEach(function(ia){an.append("".concat(da,"[]"),ia)});return}an.append(da,gn)}),ft.file instanceof Blob?an.append(ft.filename,ft.file,ft.file.name):an.append(ft.filename,ft.file),mn.onerror=function(gn){ft.onError(gn)},mn.onload=function(){return mn.status<200||mn.status>=300?ft.onError(y(ft,mn),b(mn)):ft.onSuccess(b(mn),mn)},mn.open(ft.method,ft.action,!0),ft.withCredentials&&"withCredentials"in mn&&(mn.withCredentials=!0);var fn=ft.headers||{};return fn["X-Requested-With"]!==null&&mn.setRequestHeader("X-Requested-With","XMLHttpRequest"),Object.keys(fn).forEach(function(da){fn[da]!==null&&mn.setRequestHeader(da,fn[da])}),mn.send(an),{abort:function(){mn.abort()}}}var ee=+new Date,te=0;function re(){return"rc-upload-".concat(ee,"-").concat(++te)}var oe=z(80334),ne=function(ft,mn){if(ft&&mn){var an=Array.isArray(mn)?mn:mn.split(","),fn=ft.name||"",da=ft.type||"",gn=da.replace(/\/.*$/,"");return an.some(function(ia){var In=ia.trim();if(/^\*(\/\*)?$/.test(ia))return!0;if(In.charAt(0)==="."){var pa=fn.toLowerCase(),Qa=In.toLowerCase(),Br=[Qa];return(Qa===".jpg"||Qa===".jpeg")&&(Br=[".jpg",".jpeg"]),Br.some(function(no){return pa.endsWith(no)})}return/\/\*$/.test(In)?gn===In.replace(/\/.*$/,""):da===In?!0:/^\w+$/.test(In)?((0,oe.ZP)(!1,"Upload takes an invalidate 'accept' type '".concat(In,"'.Skip for check.")),!0):!1})}return!0};function de(ft,mn){var an=ft.createReader(),fn=[];function da(){an.readEntries(function(gn){var ia=Array.prototype.slice.apply(gn);fn=fn.concat(ia);var In=!ia.length;In?mn(fn):da()})}da()}var pe=function(mn,an,fn){var da=function gn(ia,In){ia&&(ia.path=In||"",ia.isFile?ia.file(function(pa){fn(pa)&&(ia.fullPath&&!pa.webkitRelativePath&&(Object.defineProperties(pa,{webkitRelativePath:{writable:!0}}),pa.webkitRelativePath=ia.fullPath.replace(/^\//,""),Object.defineProperties(pa,{webkitRelativePath:{writable:!1}})),an([pa]))}):ia.isDirectory&&de(ia,function(pa){pa.forEach(function(Qa){gn(Qa,"".concat(In).concat(ia.name,"/"))})}))};mn.forEach(function(gn){da(gn.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 mn=(0,Te.Z)(an);function an(){var fn;(0,ze.Z)(this,an);for(var da=arguments.length,gn=new Array(da),ia=0;ia<da;ia++)gn[ia]=arguments[ia];return fn=mn.call.apply(mn,[this].concat(gn)),fn.state={uid:re()},fn.reqs={},fn.fileInput=void 0,fn._isMounted=void 0,fn.onChange=function(In){var pa=fn.props,Qa=pa.accept,Br=pa.directory,no=In.target.files,No=(0,ge.Z)(no).filter(function(Wn){return!Br||ne(Wn,Qa)});fn.uploadFiles(No),fn.reset()},fn.onClick=function(In){var pa=fn.fileInput;if(pa){var Qa=fn.props,Br=Qa.children,no=Qa.onClick;if(Br&&Br.type==="button"){var No=pa.parentNode;No.focus(),No.querySelector("button").blur()}pa.click(),no&&no(In)}},fn.onKeyDown=function(In){In.key==="Enter"&&fn.onClick(In)},fn.onFileDrop=function(In){var pa=fn.props.multiple;if(In.preventDefault(),In.type!=="dragover")if(fn.props.directory)Ee(Array.prototype.slice.call(In.dataTransfer.items),fn.uploadFiles,function(Br){return ne(Br,fn.props.accept)});else{var Qa=(0,ge.Z)(In.dataTransfer.files).filter(function(Br){return ne(Br,fn.props.accept)});pa===!1&&(Qa=Qa.slice(0,1)),fn.uploadFiles(Qa)}},fn.uploadFiles=function(In){var pa=(0,ge.Z)(In),Qa=pa.map(function(Br){return Br.uid=re(),fn.processFile(Br,pa)});Promise.all(Qa).then(function(Br){var no=fn.props.onBatchStart;no==null||no(Br.map(function(No){var Wn=No.origin,Qi=No.parsedFile;return{file:Wn,parsedFile:Qi}})),Br.filter(function(No){return No.parsedFile!==null}).forEach(function(No){fn.post(No)})})},fn.processFile=function(){var In=(0,ue.Z)((0,De.Z)().mark(function pa(Qa,Br){var no,No,Wn,Qi,yi,Yr,Pi,va,tr;return(0,De.Z)().wrap(function(ga){for(;;)switch(ga.prev=ga.next){case 0:if(no=fn.props.beforeUpload,No=Qa,!no){ga.next=14;break}return ga.prev=3,ga.next=6,no(Qa,Br);case 6:No=ga.sent,ga.next=12;break;case 9:ga.prev=9,ga.t0=ga.catch(3),No=!1;case 12:if(No!==!1){ga.next=14;break}return ga.abrupt("return",{origin:Qa,parsedFile:null,action:null,data:null});case 14:if(Wn=fn.props.action,typeof Wn!="function"){ga.next=21;break}return ga.next=18,Wn(Qa);case 18:Qi=ga.sent,ga.next=22;break;case 21:Qi=Wn;case 22:if(yi=fn.props.data,typeof yi!="function"){ga.next=29;break}return ga.next=26,yi(Qa);case 26:Yr=ga.sent,ga.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?va=Pi:va=new File([Pi],Qa.name,{type:Qa.type}),tr=va,tr.uid=Qa.uid,ga.abrupt("return",{origin:Qa,data:Yr,parsedFile:tr,action:Qi});case 35:case"end":return ga.stop()}},pa,null,[[3,9]])}));return function(pa,Qa){return In.apply(this,arguments)}}(),fn.saveFileInput=function(In){fn.fileInput=In},fn}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(da){var gn=this,ia=da.data,In=da.origin,pa=da.action,Qa=da.parsedFile;if(this._isMounted){var Br=this.props,no=Br.onStart,No=Br.customRequest,Wn=Br.name,Qi=Br.headers,yi=Br.withCredentials,Yr=Br.method,Pi=In.uid,va=No||E,tr={action:pa,filename:Wn,data:ia,file:Qa,headers:Qi,withCredentials:yi,method:Yr||"post",onProgress:function(ga){var eo=gn.props.onProgress;eo==null||eo(ga,Qa)},onSuccess:function(ga,eo){var Oo=gn.props.onSuccess;Oo==null||Oo(ga,Qa,eo),delete gn.reqs[Pi]},onError:function(ga,eo){var Oo=gn.props.onError;Oo==null||Oo(ga,eo,Qa),delete gn.reqs[Pi]}};no(In),this.reqs[Pi]=va(tr)}}},{key:"reset",value:function(){this.setState({uid:re()})}},{key:"abort",value:function(da){var gn=this.reqs;if(da){var ia=da.uid?da.uid:da;gn[ia]&&gn[ia].abort&&gn[ia].abort(),delete gn[ia]}else Object.keys(gn).forEach(function(In){gn[In]&&gn[In].abort&&gn[In].abort(),delete gn[In]})}},{key:"render",value:function(){var da,gn=this.props,ia=gn.component,In=gn.prefixCls,pa=gn.className,Qa=gn.disabled,Br=gn.id,no=gn.style,No=gn.multiple,Wn=gn.accept,Qi=gn.capture,yi=gn.children,Yr=gn.directory,Pi=gn.openFileDialogOnClick,va=gn.onMouseEnter,tr=gn.onMouseLeave,xr=(0,Ke.Z)(gn,be),ga=Fe()((da={},(0,Le.Z)(da,In,!0),(0,Le.Z)(da,"".concat(In,"-disabled"),Qa),(0,Le.Z)(da,pa,pa),da)),eo=Yr?{directory:"directory",webkitdirectory:"webkitdirectory"}:{},Oo=Qa?{}:{onClick:Pi?this.onClick:function(){},onKeyDown:Pi?this.onKeyDown:function(){},onMouseEnter:va,onMouseLeave:tr,onDrop:this.onFileDrop,onDragOver:this.onFileDrop,tabIndex:"0"};return x.createElement(ia,(0,we.Z)({},Oo,{className:ga,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:Wn},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 mn=(0,Te.Z)(an);function an(){var fn;(0,ze.Z)(this,an);for(var da=arguments.length,gn=new Array(da),ia=0;ia<da;ia++)gn[ia]=arguments[ia];return fn=mn.call.apply(mn,[this].concat(gn)),fn.uploader=void 0,fn.saveUploader=function(In){fn.uploader=In},fn}return(0,se.Z)(an,[{key:"abort",value:function(da){this.uploader.abort(da)}},{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),Ft=z(24457),Ut={icon:function(mn,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:mn}}]}},name:"file",theme:"twotone"},Sn=Ut,lt=z(74643),pt=function(mn,an){return x.createElement(lt.Z,(0,we.Z)({},mn,{ref:an,icon:Sn}))},Mt=x.forwardRef(pt),Ht=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"},zt=dt,Ze=function(mn,an){return x.createElement(lt.Z,(0,we.Z)({},mn,{ref:an,icon:zt}))},Fn=x.forwardRef(Ze),Zn={icon:function(mn,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:mn}},{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:mn}}]}},name:"picture",theme:"twotone"},La=Zn,vt=function(mn,an){return x.createElement(lt.Z,(0,we.Z)({},mn,{ref:an,icon:La}))},Lt=x.forwardRef(vt),Ct=z(38379),wt=z(57838),Cn=z(33603),sn=z(96159),Nt=z(71577);function On(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 Vt(ft,mn){const an=(0,ge.Z)(mn),fn=an.findIndex(da=>{let{uid:gn}=da;return gn===ft.uid});return fn===-1?an.push(ft):an[fn]=ft,an}function _t(ft,mn){const an=ft.uid!==void 0?"uid":"name";return mn.filter(fn=>fn[an]===ft[an])[0]}function Mn(ft,mn){const an=ft.uid!==void 0?"uid":"name",fn=mn.filter(da=>da[an]!==ft[an]);return fn.length===mn.length?null:fn}const bn=function(){const mn=(arguments.length>0&&arguments[0]!==void 0?arguments[0]:"").split("/"),fn=mn[mn.length-1].split(/#|\?/)[0];return(/\.[^./\\]*$/.exec(fn)||[""])[0]},Je=ft=>ft.indexOf("image/")===0,He=ft=>{if(ft.type&&!ft.thumbUrl)return Je(ft.type);const mn=ft.thumbUrl||ft.url||"",an=bn(mn);return/^data:image\//.test(mn)||/(webp|svg|png|gif|jpg|jpeg|jfif|bmp|dpg|ico|heic|heif)$/i.test(an)?!0:!(/^data:/.test(mn)||an)},_n=200;function Me(ft){return new Promise(mn=>{if(!ft.type||!Je(ft.type)){mn("");return}const an=document.createElement("canvas");an.width=_n,an.height=_n,an.style.cssText=`position: fixed; left: 0; top: 0; width: ${_n}px; height: ${_n}px; z-index: 9999; display: none;`,document.body.appendChild(an);const fn=an.getContext("2d"),da=new Image;if(da.onload=()=>{const{width:gn,height:ia}=da;let In=_n,pa=_n,Qa=0,Br=0;gn>ia?(pa=ia*(_n/gn),Br=-(pa-In)/2):(In=gn*(_n/ia),Qa=-(In-pa)/2),fn.drawImage(da,Qa,Br,In,pa);const no=an.toDataURL();document.body.removeChild(an),window.URL.revokeObjectURL(da.src),mn(no)},da.crossOrigin="anonymous",ft.type.startsWith("image/svg+xml")){const gn=new FileReader;gn.onload=()=>{gn.result&&(da.src=gn.result)},gn.readAsDataURL(ft)}else if(ft.type.startsWith("image/gif")){const gn=new FileReader;gn.onload=()=>{gn.result&&mn(gn.result)},gn.readAsDataURL(ft)}else da.src=window.URL.createObjectURL(ft)})}var Xe=z(84249),Wt=z(90674),ot=z(99569),Ye=z(38703),xt=z(83062),It=x.forwardRef((ft,mn)=>{let{prefixCls:an,className:fn,style:da,locale:gn,listType:ia,file:In,items:pa,progress:Qa,iconRender:Br,actionIconRender:no,itemRender:No,isImgUrl:Wn,showPreviewIcon:Qi,showRemoveIcon:yi,showDownloadIcon:Yr,previewIcon:Pi,removeIcon:va,downloadIcon:tr,onPreview:xr,onDownload:ga,onClose:eo}=ft;var Oo,Ni;const{status:fi}=In,[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 ca=Br(In);let lr=x.createElement("div",{className:`${an}-icon`},ca);if(ia==="picture"||ia==="picture-card"||ia==="picture-circle")if(Ii==="uploading"||!In.thumbUrl&&!In.url){const nt=Fe()(`${an}-list-item-thumbnail`,{[`${an}-list-item-file`]:Ii!=="uploading"});lr=x.createElement("div",{className:nt},ca)}else{const nt=Wn!=null&&Wn(In)?x.createElement("img",{src:In.thumbUrl||In.url,alt:In.name,className:`${an}-list-item-image`,crossOrigin:In.crossOrigin}):ca,ct=Fe()(`${an}-list-item-thumbnail`,{[`${an}-list-item-file`]:Wn&&!Wn(In)});lr=x.createElement("a",{className:ct,onClick:ht=>xr(In,ht),href:In.url||In.thumbUrl,target:"_blank",rel:"noopener noreferrer"},nt)}const Ar=Fe()(`${an}-list-item`,`${an}-list-item-${Ii}`),Ai=typeof In.linkProps=="string"?JSON.parse(In.linkProps):In.linkProps,ul=yi?no((typeof va=="function"?va(In):va)||x.createElement(Xe.Z,null),()=>eo(In),an,gn.removeFile):null,kl=Yr&&Ii==="done"?no((typeof tr=="function"?tr(In):tr)||x.createElement(Wt.Z,null),()=>ga(In),an,gn.downloadFile):null,vl=ia!=="picture-card"&&ia!=="picture-circle"&&x.createElement("span",{key:"download-delete",className:Fe()(`${an}-list-item-actions`,{picture:ia==="picture"})},kl,ul),hl=Fe()(`${an}-list-item-name`),ru=In.url?[x.createElement("a",Object.assign({key:"view",target:"_blank",rel:"noopener noreferrer",className:hl,title:In.name},Ai,{href:In.url,onClick:nt=>xr(In,nt)}),In.name),vl]:[x.createElement("span",{key:"view",className:hl,onClick:nt=>xr(In,nt),title:In.name},In.name),vl],Po={pointerEvents:"none",opacity:.5},fe=Qi?x.createElement("a",{href:In.url||In.thumbUrl,target:"_blank",rel:"noopener noreferrer",style:In.url||In.thumbUrl?void 0:Po,onClick:nt=>xr(In,nt),title:gn.previewFile},typeof Pi=="function"?Pi(In):Pi||x.createElement(ot.Z,null)):null,ye=(ia==="picture-card"||ia==="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(Ct.default,{motionName:`${Pe}-fade`,visible:Ii==="uploading",motionDeadline:2e3},nt=>{let{className:ct}=nt;const ht="percent"in In?x.createElement(Ye.Z,Object.assign({},Qa,{type:"line",percent:In.percent,"aria-label":In["aria-label"],"aria-labelledby":In["aria-labelledby"]})):null;return x.createElement("div",{className:Fe()(`${an}-list-item-progress`,ct)},ht)})),ut=In.response&&typeof In.response=="string"?In.response:((Oo=In.error)===null||Oo===void 0?void 0:Oo.statusText)||((Ni=In.error)===null||Ni===void 0?void 0:Ni.message)||gn.uploadError,yt=Ii==="error"?x.createElement(xt.Z,{title:ut,getPopupContainer:nt=>nt.parentNode},et):et;return x.createElement("div",{className:Fe()(`${an}-list-item-container`,fn),style:da,ref:mn},No?No(yt,In,pa,{download:ga.bind(null,In),preview:xr.bind(null,In),remove:eo.bind(null,In)}):yt)});const Nn=(ft,mn)=>{const{listType:an="text",previewFile:fn=Me,onPreview:da,onDownload:gn,onRemove:ia,locale:In,iconRender:pa,isImageUrl:Qa=He,prefixCls:Br,items:no=[],showPreviewIcon:No=!0,showRemoveIcon:Wn=!0,showDownloadIcon:Qi=!1,removeIcon:yi,previewIcon:Yr,downloadIcon:Pi,progress:va={size:[-1,2],showInfo:!1},appendAction:tr,appendActionVisible:xr=!0,itemRender:ga,disabled:eo}=ft,Oo=(0,wt.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="",fn&&fn(Po.originFileObj).then(fe=>{Po.thumbUrl=fe||"",Oo()}))})},[an,no,fn]),x.useEffect(()=>{fi(!0)},[]);const Ii=(Po,fe)=>{if(da)return fe==null||fe.preventDefault(),da(Po)},Ol=Po=>{typeof gn=="function"?gn(Po):Po.url&&window.open(Po.url)},tl=Po=>{ia==null||ia(Po)},fu=Po=>{if(pa)return pa(Po,an);const fe=Po.status==="uploading",ye=Qa&&Qa(Po)?x.createElement(Lt,null):x.createElement(Mt,null);let ke=fe?x.createElement(Ht.Z,null):x.createElement(Fn,null);return an==="picture"?ke=fe?x.createElement(Ht.Z,null):ye:(an==="picture-card"||an==="picture-circle")&&(ke=fe?In.uploading:ye),ke},ca=(Po,fe,ye,ke)=>{const Pe={type:"text",size:"small",title:ke,onClick:et=>{fe(),(0,sn.l$)(Po)&&Po.props.onClick&&Po.props.onClick(et)},className:`${ye}-list-item-action`,disabled:eo};if((0,sn.l$)(Po)){const et=(0,sn.Tm)(Po,Object.assign(Object.assign({},Po.props),{onClick:()=>{}}));return x.createElement(Nt.ZP,Object.assign({},Pe,{icon:et}))}return x.createElement(Nt.ZP,Object.assign({},Pe),x.createElement("span",null,Po))};x.useImperativeHandle(mn,()=>({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,Cn.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(Ct.CSSMotionList,Object.assign({},hl,{component:!1}),Po=>{let{key:fe,file:ye,className:ke,style:Pe}=Po;return x.createElement(It,{key:fe,locale:In,prefixCls:Ar,className:ke,style:Pe,file:ye,items:no,progress:va,listType:an,isImgUrl:Qa,showPreviewIcon:No,showRemoveIcon:Wn,showDownloadIcon:Qi,removeIcon:yi,previewIcon:Yr,downloadIcon:Pi,iconRender:fu,actionIconRender:ca,itemRender:ga,onPreview:Ii,onDownload:Ol,onClose:tl})}),tr&&x.createElement(Ct.default,Object.assign({},hl,{visible:xr,forceRender:!0}),Po=>{let{className:fe,style:ye}=Po;return(0,sn.Tm)(tr,ke=>({className:Fe()(ke.className,fe),style:Object.assign(Object.assign(Object.assign({},ye),{pointerEvents:fe?"none":void 0}),ke.style)}))}))};var Gt=x.forwardRef(Nn),St=z(14747),Pn=z(33507),qt=z(67968),wn=z(45503),Hn=ft=>{const{componentCls:mn,iconCls:an}=ft;return{[`${mn}-wrapper`]:{[`${mn}-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}`,[mn]:{padding:`${ft.padding}px 0`},[`${mn}-btn`]:{display:"table",width:"100%",height:"100%",outline:"none"},[`${mn}-drag-container`]:{display:"table-cell",verticalAlign:"middle"},[`&:not(${mn}-disabled):hover`]:{borderColor:ft.colorPrimaryHover},[`p${mn}-drag-icon`]:{marginBottom:ft.margin,[an]:{color:ft.colorPrimary,fontSize:ft.uploadThumbnailSize}},[`p${mn}-text`]:{margin:`0 0 ${ft.marginXXS}px`,color:ft.colorTextHeading,fontSize:ft.fontSizeLG},[`p${mn}-hint`]:{color:ft.colorTextDescription,fontSize:ft.fontSize},[`&${mn}-disabled`]:{cursor:"not-allowed",[`p${mn}-drag-icon ${an},
|
|
p${mn}-text,
|
|
p${mn}-hint
|
|
`]:{color:ft.colorTextDisabled}}}}}},Ba=ft=>{const{componentCls:mn,antCls:an,iconCls:fn,fontSize:da,lineHeight:gn}=ft,ia=`${mn}-list-item`,In=`${ia}-actions`,pa=`${ia}-action`,Qa=Math.round(da*gn);return{[`${mn}-wrapper`]:{[`${mn}-list`]:Object.assign(Object.assign({},(0,St.dF)()),{lineHeight:ft.lineHeight,[ia]:{position:"relative",height:ft.lineHeight*da,marginTop:ft.marginXS,fontSize:da,display:"flex",alignItems:"center",transition:`background-color ${ft.motionDurationSlow}`,"&:hover":{backgroundColor:ft.controlItemBgHover},[`${ia}-name`]:Object.assign(Object.assign({},St.vS),{padding:`0 ${ft.paddingXS}px`,lineHeight:gn,flex:"auto",transition:`all ${ft.motionDurationSlow}`}),[In]:{[pa]:{opacity:0},[`${pa}${an}-btn-sm`]:{height:Qa,border:0,lineHeight:1,"> span":{transform:"scale(1)"}},[`
|
|
${pa}:focus-visible,
|
|
&.picture ${pa}
|
|
`]:{opacity:1},[fn]:{color:ft.actionsColor,transition:`all ${ft.motionDurationSlow}`},[`&:hover ${fn}`]:{color:ft.colorText}},[`${mn}-icon ${fn}`]:{color:ft.colorTextDescription,fontSize:da},[`${ia}-progress`]:{position:"absolute",bottom:-ft.uploadProgressOffset,width:"100%",paddingInlineStart:da+ft.paddingXS,fontSize:da,lineHeight:0,pointerEvents:"none","> div":{margin:0}}},[`${ia}:hover ${pa}`]:{opacity:1,color:ft.colorText},[`${ia}-error`]:{color:ft.colorError,[`${ia}-name, ${mn}-icon ${fn}`]:{color:ft.colorError},[In]:{[`${fn}, ${fn}:hover`]:{color:ft.colorError},[pa]:{opacity:1}}},[`${mn}-list-item-container`]:{transition:`opacity ${ft.motionDurationSlow}, height ${ft.motionDurationSlow}`,"&::before":{display:"table",width:0,height:0,content:'""'}}})}}},rn=z(45930),cn=z(16932);const pn=new rn.Keyframes("uploadAnimateInlineIn",{from:{width:0,height:0,margin:0,padding:0,opacity:0}}),Aa=new rn.Keyframes("uploadAnimateInlineOut",{to:{width:0,height:0,margin:0,padding:0,opacity:0}});var aa=ft=>{const{componentCls:mn}=ft,an=`${mn}-animate-inline`;return[{[`${mn}-wrapper`]:{[`${an}-appear, ${an}-enter, ${an}-leave`]:{animationDuration:ft.motionDurationSlow,animationTimingFunction:ft.motionEaseInOutCirc,animationFillMode:"forwards"},[`${an}-appear, ${an}-enter`]:{animationName:pn},[`${an}-leave`]:{animationName:Aa}}},{[`${mn}-wrapper`]:(0,cn.J$)(ft)},pn,Aa]},Ga=z(47448),_a=z(84780);const Qr=ft=>{const{componentCls:mn,iconCls:an,uploadThumbnailSize:fn,uploadProgressOffset:da}=ft,gn=`${mn}-list`,ia=`${gn}-item`;return{[`${mn}-wrapper`]:{[`
|
|
${gn}${gn}-picture,
|
|
${gn}${gn}-picture-card,
|
|
${gn}${gn}-picture-circle
|
|
`]:{[ia]:{position:"relative",height:fn+ft.lineWidth*2+ft.paddingXS*2,padding:ft.paddingXS,border:`${ft.lineWidth}px ${ft.lineType} ${ft.colorBorder}`,borderRadius:ft.borderRadiusLG,"&:hover":{background:"transparent"},[`${ia}-thumbnail`]:Object.assign(Object.assign({},St.vS),{width:fn,height:fn,lineHeight:`${fn+ft.paddingSM}px`,textAlign:"center",flex:"none",[an]:{fontSize:ft.fontSizeHeading2,color:ft.colorPrimary},img:{display:"block",width:"100%",height:"100%",overflow:"hidden"}}),[`${ia}-progress`]:{bottom:da,width:`calc(100% - ${ft.paddingSM*2}px)`,marginTop:0,paddingInlineStart:fn+ft.paddingXS}},[`${ia}-error`]:{borderColor:ft.colorError,[`${ia}-thumbnail ${an}`]:{[`svg path[fill='${Ga.blue[0]}']`]:{fill:ft.colorErrorBg},[`svg path[fill='${Ga.blue.primary}']`]:{fill:ft.colorError}}},[`${ia}-uploading`]:{borderStyle:"dashed",[`${ia}-name`]:{marginBottom:da}}},[`${gn}${gn}-picture-circle ${ia}`]:{[`&, &::before, ${ia}-thumbnail`]:{borderRadius:"50%"}}}}},wo=ft=>{const{componentCls:mn,iconCls:an,fontSizeLG:fn,colorTextLightSolid:da}=ft,gn=`${mn}-list`,ia=`${gn}-item`,In=ft.uploadPicCardSize;return{[`
|
|
${mn}-wrapper${mn}-picture-card-wrapper,
|
|
${mn}-wrapper${mn}-picture-circle-wrapper
|
|
`]:Object.assign(Object.assign({},(0,St.dF)()),{display:"inline-block",width:"100%",[`${mn}${mn}-select`]:{width:In,height:In,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}`,[`> ${mn}`]:{display:"flex",alignItems:"center",justifyContent:"center",height:"100%",textAlign:"center"},[`&:not(${mn}-disabled):hover`]:{borderColor:ft.colorPrimary}},[`${gn}${gn}-picture-card, ${gn}${gn}-picture-circle`]:{[`${gn}-item-container`]:{display:"inline-block",width:In,height:In,marginBlock:`0 ${ft.marginXS}px`,marginInline:`0 ${ft.marginXS}px`,verticalAlign:"top"},"&::after":{display:"none"},[ia]:{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:'" "'}},[`${ia}:hover`]:{[`&::before, ${ia}-actions`]:{opacity:1}},[`${ia}-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:fn,margin:`0 ${ft.marginXXS}px`,fontSize:fn,cursor:"pointer",transition:`all ${ft.motionDurationSlow}`,svg:{verticalAlign:"baseline"}}},[`${ia}-actions, ${ia}-actions:hover`]:{[`${an}-eye, ${an}-download, ${an}-delete`]:{color:new _a.C(da).setAlpha(.65).toRgbString(),"&:hover":{color:da}}},[`${ia}-thumbnail, ${ia}-thumbnail img`]:{position:"static",display:"block",width:"100%",height:"100%",objectFit:"contain"},[`${ia}-name`]:{display:"none",textAlign:"center"},[`${ia}-file + ${ia}-name`]:{position:"absolute",bottom:ft.margin,display:"block",width:`calc(100% - ${ft.paddingXS*2}px)`},[`${ia}-uploading`]:{[`&${ia}`]:{backgroundColor:ft.colorFillAlter},[`&::before, ${an}-eye, ${an}-download, ${an}-delete`]:{display:"none"}},[`${ia}-progress`]:{bottom:ft.marginXL,width:`calc(100% - ${ft.paddingXS*2}px)`,paddingInlineStart:0}}}),[`${mn}-wrapper${mn}-picture-circle-wrapper`]:{[`${mn}${mn}-select`]:{borderRadius:"50%"}}}};var At=ft=>{const{componentCls:mn}=ft;return{[`${mn}-rtl`]:{direction:"rtl"}}};const Zt=ft=>{const{componentCls:mn,colorTextDisabled:an}=ft;return{[`${mn}-wrapper`]:Object.assign(Object.assign({},(0,St.Wf)(ft)),{[mn]:{outline:0,"input[type='file']":{cursor:"pointer"}},[`${mn}-select`]:{display:"inline-block"},[`${mn}-disabled`]:{color:an,cursor:"not-allowed"}})}};var bt=(0,qt.Z)("Upload",ft=>{const{fontSizeHeading3:mn,fontSize:an,lineHeight:fn,lineWidth:da,controlHeightLG:gn}=ft,ia=Math.round(an*fn),In=(0,wn.TS)(ft,{uploadThumbnailSize:mn*2,uploadProgressOffset:ia/2+da,uploadPicCardSize:gn*2.55});return[Zt(In),Hn(In),Qr(In),wo(In),Ba(In),aa(In),At(In),(0,Pn.Z)(In)]},ft=>({actionsColor:ft.colorTextDescription})),Jn=function(ft,mn,an,fn){function da(gn){return gn instanceof an?gn:new an(function(ia){ia(gn)})}return new(an||(an=Promise))(function(gn,ia){function In(Br){try{Qa(fn.next(Br))}catch(no){ia(no)}}function pa(Br){try{Qa(fn.throw(Br))}catch(no){ia(no)}}function Qa(Br){Br.done?gn(Br.value):da(Br.value).then(In,pa)}Qa((fn=fn.apply(ft,mn||[])).next())})};const Jt=`__LIST_IGNORE_${Date.now()}__`,er=(ft,mn)=>{const{fileList:an,defaultFileList:fn,onRemove:da,showUploadList:gn=!0,listType:ia="text",onPreview:In,onDownload:pa,onChange:Qa,onDrop:Br,previewFile:no,disabled:No,locale:Wn,iconRender:Qi,isImageUrl:yi,progress:Yr,prefixCls:Pi,className:va,type:tr="select",children:xr,style:ga,itemRender:eo,maxCount:Oo,data:Ni={},multiple:fi=!1,action:Ii="",accept:Ol="",supportServerRender:tl=!0,rootClassName:fu}=ft,ca=x.useContext(rt.Z),lr=No!=null?No:ca,[Ar,Ai]=(0,Ue.Z)(fn||[],{value:an,postState:fa=>fa!=null?fa:[]}),[ul,kl]=x.useState("drop"),vl=x.useRef(null);x.useMemo(()=>{const fa=Date.now();(an||[]).forEach((za,Na)=>{!za.uid&&!Object.isFrozen(za)&&(za.uid=`__AUTO__${fa}_${Na}__`)})},[an]);const hl=(fa,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:fa,fileList:cr};Na&&(oo.event=Na),(!br||cr.some(zo=>zo.uid===fa.uid))&&(0,Ge.flushSync)(()=>{Qa==null||Qa(oo)})},ru=(fa,za)=>Jn(void 0,void 0,void 0,function*(){const{beforeUpload:Na,transformFile:cr}=ft;let br=fa;if(Na){const oo=yield Na(fa,za);if(oo===!1)return!1;if(delete fa[Jt],oo===Jt)return Object.defineProperty(fa,Jt,{value:!0,configurable:!0}),!1;typeof oo=="object"&&oo&&(br=oo)}return cr&&(br=yield cr(br)),br}),Po=fa=>{const za=fa.filter(br=>!br.file[Jt]);if(!za.length)return;const Na=za.map(br=>On(br.file));let cr=(0,ge.Z)(Ar);Na.forEach(br=>{cr=Vt(br,cr)}),Na.forEach((br,oo)=>{let zo=br;if(za[oo].parsedFile)br.status="uploading";else{const{originFileObj:ai}=br;let Sa;try{Sa=new File([ai],ai.name,{type:ai.type})}catch(ri){Sa=new Blob([ai],{type:ai.type}),Sa.name=ai.name,Sa.lastModifiedDate=new Date,Sa.lastModified=new Date().getTime()}Sa.uid=br.uid,zo=Sa}hl(zo,cr)})},fe=(fa,za,Na)=>{try{typeof fa=="string"&&(fa=JSON.parse(fa))}catch(oo){}if(!_t(za,Ar))return;const cr=On(za);cr.status="done",cr.percent=100,cr.response=fa,cr.xhr=Na;const br=Vt(cr,Ar);hl(cr,br)},ye=(fa,za)=>{if(!_t(za,Ar))return;const Na=On(za);Na.status="uploading",Na.percent=fa.percent;const cr=Vt(Na,Ar);hl(Na,cr,fa)},ke=(fa,za,Na)=>{if(!_t(Na,Ar))return;const cr=On(Na);cr.error=fa,cr.response=za,cr.status="error";const br=Vt(cr,Ar);hl(cr,br)},Pe=fa=>{let za;Promise.resolve(typeof da=="function"?da(fa):da).then(Na=>{var cr;if(Na===!1)return;const br=Mn(fa,Ar);br&&(za=Object.assign(Object.assign({},fa),{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=fa=>{kl(fa.type),fa.type==="drop"&&(Br==null||Br(fa))};x.useImperativeHandle(mn,()=>({onBatchStart:Po,onSuccess:fe,onProgress:ye,onError:ke,fileList:Ar,upload:vl.current}));const{getPrefixCls:ut,direction:yt,upload:nt}=x.useContext(Ve.E_),ct=ut("upload",Pi),ht=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 ht.className,delete ht.style,(!xr||lr)&&delete ht.id;const[vn,En]=bt(ct),[ra]=(0,gt.Z)("Upload",Ft.Z.Upload),{showRemoveIcon:Xn,showPreviewIcon:Ia,showDownloadIcon:wa,removeIcon:Bn,previewIcon:Kt,downloadIcon:An}=typeof gn=="boolean"?{}:gn,Tn=(fa,za)=>gn?x.createElement(Gt,{prefixCls:ct,listType:ia,items:Ar,previewFile:no,onPreview:In,onDownload:pa,onRemove:Pe,showRemoveIcon:!lr&&Xn,showPreviewIcon:Ia,showDownloadIcon:wa,removeIcon:Bn,previewIcon:Kt,downloadIcon:An,iconRender:Qi,locale:Object.assign(Object.assign({},ra),Wn),isImageUrl:yi,progress:Yr,appendAction:fa,appendActionVisible:za,itemRender:eo,disabled:lr}):fa,Ea=Fe()(`${ct}-wrapper`,va,fu,En,nt==null?void 0:nt.className,{[`${ct}-rtl`]:yt==="rtl",[`${ct}-picture-card-wrapper`]:ia==="picture-card",[`${ct}-picture-circle-wrapper`]:ia==="picture-circle"}),Ta=Object.assign(Object.assign({},nt==null?void 0:nt.style),ga);if(tr==="drag"){const fa=Fe()(En,ct,`${ct}-drag`,{[`${ct}-drag-uploading`]:Ar.some(za=>za.status==="uploading"),[`${ct}-drag-hover`]:ul==="dragover",[`${ct}-disabled`]:lr,[`${ct}-rtl`]:yt==="rtl"});return vn(x.createElement("span",{className:Ea},x.createElement("div",{className:fa,style:Ta,onDrop:et,onDragOver:et,onDragLeave:et},x.createElement(Ie,Object.assign({},ht,{ref:vl,className:`${ct}-btn`}),x.createElement("div",{className:`${ct}-drag-container`},xr))),Tn()))}const Ma=Fe()(ct,`${ct}-select`,{[`${ct}-disabled`]:lr}),Za=(fa=>x.createElement("div",{className:Ma,style:fa},x.createElement(Ie,Object.assign({},ht,{ref:vl}))))(xr?void 0:{display:"none"});return vn(ia==="picture-card"||ia==="picture-circle"?x.createElement("span",{className:Ea},Tn(Za,!!xr)):x.createElement("span",{className:Ea},Za,Tn()))};var ao=x.forwardRef(er),rr=function(ft,mn){var an={};for(var fn in ft)Object.prototype.hasOwnProperty.call(ft,fn)&&mn.indexOf(fn)<0&&(an[fn]=ft[fn]);if(ft!=null&&typeof Object.getOwnPropertySymbols=="function")for(var da=0,fn=Object.getOwnPropertySymbols(ft);da<fn.length;da++)mn.indexOf(fn[da])<0&&Object.prototype.propertyIsEnumerable.call(ft,fn[da])&&(an[fn[da]]=ft[fn[da]]);return an},Jo=x.forwardRef((ft,mn)=>{var{style:an,height:fn}=ft,da=rr(ft,["style","height"]);return x.createElement(ao,Object.assign({ref:mn},da,{type:"drag",style:Object.assign(Object.assign({},an),{height:fn})}))});const sa=ao;sa.Dragger=Jo,sa.LIST_IGNORE=Jt;var Vr=sa},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,pt){var Mt=de.w(Re.$u?Date.UTC(Re.$y,pt,lt):new Date(Re.$y,pt,lt),Re);return at?Mt:Mt.endOf(ze)},Ge=function(lt,pt){return de.w(Re.toDate()[lt].apply(Re.toDate("s"),(at?[0,0,0,0]:[23,59,59,999]).slice(pt)),Re)},Ve=this.$W,rt=this.$M,gt=this.$D,Ft="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 Ut=this.$locale().weekStart||0,Sn=(Ve<Ut?Ve+7:Ve)-Ut;return Ue(at?gt-Sn:gt+(6-Sn),rt);case ze:case Ke:return Ge(Ft+"Hours",0);case we:return Ge(Ft+"Minutes",1);case Fe:return Ge(Ft+"Seconds",2);case he:return Ge(Ft+"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,Ft=Re.meridiem,Ut=function(pt,Mt,Ht,dt){return pt&&(pt[Mt]||pt(Ne,at))||Ht[Mt].slice(0,dt)},Sn=function(pt){return de.s(Ue%12||12,pt,"0")},lt=Ft||function(pt,Mt,Ht){var dt=pt<12?"AM":"PM";return Ht?dt.toLowerCase():dt};return at.replace(ue,function(pt,Mt){return Mt||function(Ht){switch(Ht){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 Ut(Re.monthsShort,Ve,gt,3);case"MMMM":return Ut(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 Ut(Re.weekdaysMin,Ne.$W,rt,2);case"ddd":return Ut(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 Sn(1);case"hh":return Sn(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}(pt)||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,Ft=at.milliseconds,Ut=at.zone,Sn=new Date,lt=Ge||(Ie||Ue?1:Sn.getDate()),pt=Ie||Sn.getFullYear(),Mt=0;Ie&&!Ue||(Mt=Ue>0?Ue-1:Sn.getMonth());var Ht=Ve||0,dt=rt||0,zt=gt||0,Ze=Ft||0;return Ut?new Date(Date.UTC(pt,Mt,lt,Ht,dt,zt,Ze+60*Ut.offset*1e3)):Re?new Date(Date.UTC(pt,Mt,lt,Ht,dt,zt,Ze)):new Date(pt,Mt,lt,Ht,dt,zt,Ze)}catch(Fn){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,Ft=rt.onNodeLoad;Ge||gt&&Ue&&!Ce.isLeaf()&&!Ce.hasChildren()&&!Ve&&Ft((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(),Ft=Ce.isCheckable();if(!Ft)return null;var Ut=typeof Ft!="boolean"?Ft: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},Ut)},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,Ft=Ue.loading,Ut=Ue.data,Sn=Ce.props.context,lt=Sn.prefixCls,pt=Sn.showIcon,Mt=Sn.icon,Ht=Sn.loadData,dt=Sn.titleRender,zt=Ce.isDisabled(),Ze="".concat(lt,"-node-content-wrapper"),Fn;if(pt){var Zn=gt||Mt;Fn=Zn?ve.createElement("span",{className:Ke()("".concat(lt,"-iconEle"),"".concat(lt,"-icon__customize"))},typeof Zn=="function"?Zn(Ce.props):Zn):Ce.renderIcon()}else Ht&&Ft&&(Fn=Ce.renderIcon());var La;typeof Ve=="function"?La=Ve(Ut):dt?La=dt(Ut):La=Ve;var vt=ve.createElement("span",{className:"".concat(lt,"-title")},La);return ve.createElement("span",{ref:Ce.setSelectHandle,title:typeof Ve=="string"?Ve:"",className:Ke()("".concat(Ze),"".concat(Ze,"-").concat(Ce.getNodeState()||"normal"),!zt&&(rt||Ie)&&"".concat(lt,"-node-selected")),onMouseEnter:Ce.onMouseEnter,onMouseLeave:Ce.onMouseLeave,onContextMenu:Ce.onContextMenu,onClick:Ce.onSelectorClick,onDoubleClick:Ce.onSelectorDoubleClick},Fn,vt,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,Ft=Ve.dropPosition,Ut=Ve.prefixCls,Sn=Ve.indent,lt=Ve.dropIndicatorRender,pt=Ve.dragOverNodeKey,Mt=Ve.direction,Ht=!!rt,dt=!Ue&&Ht&&pt===Ge,zt=Sn!=null?Sn:Ce.cacheIndent;return Ce.cacheIndent=Sn,dt?lt({dropPosition:Ft,dropLevelOffset:gt,indent:zt,prefixCls:Ut,direction:Mt}):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,Ft=Re.isStart,Ut=Re.isEnd,Sn=Re.expanded,lt=Re.selected,pt=Re.checked,Mt=Re.halfChecked,Ht=Re.loading,dt=Re.domRef,zt=Re.active,Ze=Re.data,Fn=Re.onMouseMove,Zn=Re.selectable,La=(0,he.Z)(Re,ee),vt=this.props.context,Lt=vt.prefixCls,Ct=vt.filterTreeNode,wt=vt.keyEntities,Cn=vt.dropContainerKey,sn=vt.dropTargetKey,Nt=vt.draggingNodeKey,On=this.isDisabled(),Vt=(0,De.Z)(La,{aria:!0,data:!0}),_t=(0,b.Z)(wt,at)||{},Mn=_t.level,bn=Ut[Ut.length-1],Je=this.isDraggable(),He=!On&&Je,_n=Nt===at,Me=Zn!==void 0?{"aria-selected":!!Zn}:void 0;return ve.createElement("div",(0,x.Z)({ref:dt,className:Ke()(Ie,"".concat(Lt,"-treenode"),(Ne={},(0,ge.Z)(Ne,"".concat(Lt,"-treenode-disabled"),On),(0,ge.Z)(Ne,"".concat(Lt,"-treenode-switcher-").concat(Sn?"open":"close"),!gt),(0,ge.Z)(Ne,"".concat(Lt,"-treenode-checkbox-checked"),pt),(0,ge.Z)(Ne,"".concat(Lt,"-treenode-checkbox-indeterminate"),Mt),(0,ge.Z)(Ne,"".concat(Lt,"-treenode-selected"),lt),(0,ge.Z)(Ne,"".concat(Lt,"-treenode-loading"),Ht),(0,ge.Z)(Ne,"".concat(Lt,"-treenode-active"),zt),(0,ge.Z)(Ne,"".concat(Lt,"-treenode-leaf-last"),bn),(0,ge.Z)(Ne,"".concat(Lt,"-treenode-draggable"),Je),(0,ge.Z)(Ne,"dragging",_n),(0,ge.Z)(Ne,"drop-target",sn===at),(0,ge.Z)(Ne,"drop-container",Cn===at),(0,ge.Z)(Ne,"drag-over",!On&&Ge),(0,ge.Z)(Ne,"drag-over-gap-top",!On&&Ve),(0,ge.Z)(Ne,"drag-over-gap-bottom",!On&&rt),(0,ge.Z)(Ne,"filter-node",Ct&&Ct((0,E.F)(this.props))),Ne)),style:Ue,draggable:He,"aria-grabbed":_n,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:Fn},Me,Vt),ve.createElement(y,{prefixCls:Lt,level:Mn,isStart:Ft,isEnd:Ut}),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,Ft=(0,ze.Z)(xe,ne.props.eventKey);if(Ie<Ge+Ve/2){var Ut=be.findIndex(function(vt){return vt.key===Ft.key}),Sn=Ut<=0?0:Ut-1,lt=be[Sn].key;Ft=(0,ze.Z)(xe,lt)}var pt=Ft.key,Mt=Ft,Ht=Ft.key,dt=0,zt=0;if(!Ce.includes(pt))for(var Ze=0;Ze<gt&&ve(Ft);Ze+=1)Ft=Ft.parent,zt+=1;var Fn=oe.props.data,Zn=Ft.node,La=!0;return ue(Ft)&&Ft.level===0&&Ie<Ge+Ve/2&&Ee({dragNode:Fn,dropNode:Zn,dropPosition:-1})&&Ft.key===ne.props.eventKey?dt=-1:(Mt.children||[]).length&&Ce.includes(Ht)?Ee({dragNode:Fn,dropNode:Zn,dropPosition:0})?dt=0:La=!1:zt===0?gt>-1.5?Ee({dragNode:Fn,dropNode:Zn,dropPosition:1})?dt=1:La=!1:Ee({dragNode:Fn,dropNode:Zn,dropPosition:0})?dt=0:Ee({dragNode:Fn,dropNode:Zn,dropPosition:1})?dt=1:La=!1:Ee({dragNode:Fn,dropNode:Zn,dropPosition:1})?dt=1:La=!1,{dropPosition:dt,dropLevelOffset:zt,dropTargetKey:Ft.key,dropTargetPos:Ft.pos,dragOverNodeKey:Ht,dropContainerKey:dt===0?null:((Re=Ft.parent)===null||Re===void 0?void 0:Re.key)||null,dropAllowed:La}}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),Ft,Ut=0;Ut<be.length;Ut+=1){var Sn=be[Ut];if(Ge[Sn]!==void 0){Ft=Ge[Sn];break}}var lt=(0,he.Z)((0,he.Z)({},je(Ge,[].concat((0,ge.Z)(be),[xe,Ce]))),{},{title:Ft,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,Ft){return ue(gt[at],Ft)};function Ve(rt,gt,Ft,Ut){var Sn=rt?rt[Ue]:ne,lt=rt?De(Ft.pos,gt):"0",pt=rt?[].concat((0,ge.Z)(Ut),[rt]):[];if(rt){var Mt=Ge(rt,lt),Ht={node:rt,index:gt,pos:lt,key:Mt,parentPos:Ft.node?Ft.pos:null,level:Ft.level+1,nodes:pt};de(Ht)}Sn&&Sn.forEach(function(dt,zt){Ve(dt,zt,{node:rt,pos:lt,level:Ft?Ft.level+1:-1},pt)})}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,Ft=Ve.pos,Ut=Ve.key,Sn=Ve.parentPos,lt=Ve.level,pt=Ve.nodes,Mt={node:rt,nodes:pt,index:gt,key:Ut,pos:Ft,level:lt},Ht=ue(Ut,Ft);Ie[Ft]=Mt,Ue[Ht]=Mt,Mt.parent=Ie[Sn],Mt.parent&&(Mt.parent.children=Mt.parent.children||[],Mt.parent.children.push(Mt)),Ee&&Ee(Mt,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],Ft=Ve<<16|rt<<8|gt;Ie+=ze.charAt(Ft>>>18)+ze.charAt(Ft>>>12&63)+(typeof rt!="undefined"?ze.charAt(Ft>>>6&63):"=")+(typeof gt!="undefined"?ze.charAt(Ft&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 Cn},Rp:function(){return te},W8:function(){return On}});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 Vt(){(0,Fe.Z)(this,Vt),(0,Le.Z)(this,"refs",{})}return(0,we.Z)(Vt,[{key:"add",value:function(Mn,bn){this.refs[Mn]||(this.refs[Mn]=[]),this.refs[Mn].push(bn)}},{key:"remove",value:function(Mn,bn){var Je=this.getIndex(Mn,bn);Je!==-1&&this.refs[Mn].splice(Je,1)}},{key:"isActive",value:function(){return this.active}},{key:"getActive",value:function(){var Mn=this;return this.refs[this.active.collection].find(function(bn){var Je=bn.node;return Je.sortableInfo.index==Mn.active.index})}},{key:"getIndex",value:function(Mn,bn){return this.refs[Mn].indexOf(bn)}},{key:"getOrderedRefs",value:function(){var Mn=arguments.length>0&&arguments[0]!==void 0?arguments[0]:this.active.collection;return this.refs[Mn].sort(ee)}}]),Vt}();function ee(Vt,_t){var Mn=Vt.node.sortableInfo.index,bn=_t.node.sortableInfo.index;return Mn-bn}function te(Vt,_t,Mn){return Vt=Vt.slice(),Vt.splice(Mn<0?Vt.length+Mn:Mn,0,Vt.splice(_t,1)[0]),Vt}function re(Vt,_t){return Object.keys(Vt).reduce(function(Mn,bn){return _t.indexOf(bn)===-1&&(Mn[bn]=Vt[bn]),Mn},{})}var oe={end:["touchend","touchcancel","mouseup"],move:["touchmove","mousemove"],start:["touchstart","mousedown"]},ne=function(){if(typeof window=="undefined"||typeof document=="undefined")return"";var Vt=window.getComputedStyle(document.documentElement,"")||["-moz-hidden-iframe"],_t=(Array.prototype.slice.call(Vt).join("").match(/-(moz|webkit|ms)-/)||Vt.OLink===""&&["","o"])[1];switch(_t){case"ms":return"ms";default:return _t&&_t.length?_t[0].toUpperCase()+_t.substr(1):""}}();function de(Vt,_t){Object.keys(_t).forEach(function(Mn){Vt.style[Mn]=_t[Mn]})}function pe(Vt,_t){Vt.style["".concat(ne,"Transform")]=_t==null?"":"translate3d(".concat(_t.x,"px,").concat(_t.y,"px,0)")}function Ee(Vt,_t){Vt.style["".concat(ne,"TransitionDuration")]=_t==null?"":"".concat(_t,"ms")}function be(Vt,_t){for(;Vt;){if(_t(Vt))return Vt;Vt=Vt.parentNode}return null}function xe(Vt,_t,Mn){return Math.max(Vt,Math.min(Mn,_t))}function Ce(Vt){return Vt.substr(-2)==="px"?parseFloat(Vt):0}function Ne(Vt){var _t=window.getComputedStyle(Vt);return{bottom:Ce(_t.marginBottom),left:Ce(_t.marginLeft),right:Ce(_t.marginRight),top:Ce(_t.marginTop)}}function Re(Vt,_t){var Mn=_t.displayName||_t.name;return Mn?"".concat(Vt,"(").concat(Mn,")"):Vt}function at(Vt,_t){var Mn=Vt.getBoundingClientRect();return{top:Mn.top+_t.top,left:Mn.left+_t.left}}function Ie(Vt){return Vt.touches&&Vt.touches.length?{x:Vt.touches[0].pageX,y:Vt.touches[0].pageY}:Vt.changedTouches&&Vt.changedTouches.length?{x:Vt.changedTouches[0].pageX,y:Vt.changedTouches[0].pageY}:{x:Vt.pageX,y:Vt.pageY}}function Ue(Vt){return Vt.touches&&Vt.touches.length||Vt.changedTouches&&Vt.changedTouches.length}function Ge(Vt,_t){var Mn=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{left:0,top:0};if(Vt){var bn={left:Mn.left+Vt.offsetLeft,top:Mn.top+Vt.offsetTop};return Vt.parentNode===_t?bn:Ge(Vt.parentNode,_t,bn)}}function Ve(Vt,_t,Mn){return Vt<Mn&&Vt>_t?Vt-1:Vt>Mn&&Vt<_t?Vt+1:Vt}function rt(Vt){var _t=Vt.lockOffset,Mn=Vt.width,bn=Vt.height,Je=_t,He=_t,_n="px";if(typeof _t=="string"){var Me=/^[+-]?\d*(?:\.\d*)?(px|%)$/.exec(_t);y()(Me!==null,'lockOffset value should be a number or a string of a number followed by "px" or "%". Given %s',_t),Je=parseFloat(_t),He=parseFloat(_t),_n=Me[1]}return y()(isFinite(Je)&&isFinite(He),"lockOffset value should be a finite. Given %s",_t),_n==="%"&&(Je=Je*Mn/100,He=He*bn/100),{x:Je,y:He}}function gt(Vt){var _t=Vt.height,Mn=Vt.width,bn=Vt.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),_n=He[0],Me=He[1];return[rt({height:_t,lockOffset:_n,width:Mn}),rt({height:_t,lockOffset:Me,width:Mn})]}function Ft(Vt){var _t=window.getComputedStyle(Vt),Mn=/(auto|scroll)/,bn=["overflow","overflowX","overflowY"];return bn.find(function(Je){return Mn.test(_t[Je])})}function Ut(Vt){return Vt instanceof HTMLElement?Ft(Vt)?Vt:Ut(Vt.parentNode):null}function Sn(Vt){var _t=window.getComputedStyle(Vt);return _t.display==="grid"?{x:Ce(_t.gridColumnGap),y:Ce(_t.gridRowGap)}:{x:0,y:0}}var lt={TAB:9,ESC:27,SPACE:32,LEFT:37,UP:38,RIGHT:39,DOWN:40},pt={Anchor:"A",Button:"BUTTON",Canvas:"CANVAS",Input:"INPUT",Option:"OPTION",Textarea:"TEXTAREA",Select:"SELECT"};function Mt(Vt){var _t="input, textarea, select, canvas, [contenteditable]",Mn=Vt.querySelectorAll(_t),bn=Vt.cloneNode(!0),Je=(0,b.Z)(bn.querySelectorAll(_t));return Je.forEach(function(He,_n){if(He.type!=="file"&&(He.value=Mn[_n].value),He.type==="radio"&&He.name&&(He.name="__sortableClone__".concat(He.name)),He.tagName===pt.Canvas&&Mn[_n].width>0&&Mn[_n].height>0){var Me=He.getContext("2d");Me.drawImage(Mn[_n],0,0)}}),bn}function Ht(Vt){var _t,Mn,bn=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{withRef:!1};return Mn=_t=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(Vt,_extends({ref:Me},this.props))}}]),He}(Component),_defineProperty(_t,"displayName",Re("sortableHandle",Vt)),Mn}function dt(Vt){return Vt.sortableHandle!=null}var zt=function(){function Vt(_t,Mn){(0,Fe.Z)(this,Vt),this.container=_t,this.onScrollCallback=Mn}return(0,we.Z)(Vt,[{key:"clear",value:function(){this.interval!=null&&(clearInterval(this.interval),this.interval=null)}},{key:"update",value:function(Mn){var bn=this,Je=Mn.translate,He=Mn.minTranslate,_n=Mn.maxTranslate,Me=Mn.width,Xe=Mn.height,Wt={x:0,y:0},ot={x:1,y:1},Ye={x:10,y:10},xt=this.container,Yt=xt.scrollTop,It=xt.scrollLeft,Nn=xt.scrollHeight,kt=xt.scrollWidth,Gt=xt.clientHeight,St=xt.clientWidth,Pn=Yt===0,qt=Nn-Yt-Gt===0,wn=It===0,xa=kt-It-St===0;Je.y>=_n.y-Xe/2&&!qt?(Wt.y=1,ot.y=Ye.y*Math.abs((_n.y-Xe/2-Je.y)/Xe)):Je.x>=_n.x-Me/2&&!xa?(Wt.x=1,ot.x=Ye.x*Math.abs((_n.x-Me/2-Je.x)/Me)):Je.y<=He.y+Xe/2&&!Pn?(Wt.y=-1,ot.y=Ye.y*Math.abs((Je.y-Xe/2-He.y)/Xe)):Je.x<=He.x+Me/2&&!wn&&(Wt.x=-1,ot.x=Ye.x*Math.abs((Je.x-Me/2-He.x)/Me)),this.interval&&(this.clear(),this.isAutoScrolling=!1),(Wt.x!==0||Wt.y!==0)&&(this.interval=setInterval(function(){bn.isAutoScrolling=!0;var Hn={left:ot.x*Wt.x,top:ot.y*Wt.y};bn.container.scrollTop+=Hn.top,bn.container.scrollLeft+=Hn.left,bn.onScrollCallback(Hn)},5))}}]),Vt}();function Ze(Vt){var _t=Vt.node;return{height:_t.offsetHeight,width:_t.offsetWidth}}function Fn(Vt){var _t=[pt.Input,pt.Textarea,pt.Select,pt.Option,pt.Button];return!!(_t.indexOf(Vt.target.tagName)!==-1||be(Vt.target,function(Mn){return Mn.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},La={lift:[lt.SPACE],drop:[lt.SPACE],cancel:[lt.ESC],up:[lt.UP,lt.LEFT],down:[lt.DOWN,lt.RIGHT]},vt={axis:"y",disableAutoscroll:!1,distance:0,getHelperDimensions:Ze,hideSortableGhost:!0,lockOffset:"50%",lockToContainerEdges:!1,pressDelay:0,pressThreshold:5,keyCodes:La,shouldCancelStart:Fn,transitionDuration:300,useWindowAsScrollContainer:!1},Lt=Object.keys(Zn);function Ct(Vt){y()(!(Vt.distance&&Vt.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 wt(Vt,_t){try{var Mn=Vt()}catch(bn){return _t(!0,bn)}return Mn&&Mn.then?Mn.then(_t.bind(null,!1),_t.bind(null,!0)):_t(!1,value)}function Cn(Vt){var _t,Mn,bn=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{withRef:!1};return Mn=_t=function(Je){(0,je.Z)(He,Je);function He(_n){var Me;return(0,Fe.Z)(this,He),Me=(0,ze.Z)(this,(0,se.Z)(He).call(this,_n)),(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 Wt=Me.props,ot=Wt.distance,Ye=Wt.shouldCancelStart;if(!(Xe.button===2||Ye(Xe))){Me.touched=!0,Me.position=Ie(Xe);var xt=be(Xe.target,function(St){return St.sortableInfo!=null});if(xt&&xt.sortableInfo&&Me.nodeIsChild(xt)&&!Me.state.sorting){var Yt=Me.props.useDragHandle,It=xt.sortableInfo,Nn=It.index,kt=It.collection,Gt=It.disabled;if(Gt||Yt&&!be(Xe.target,dt))return;Me.manager.active={collection:kt,index:Nn},!Ue(Xe)&&Xe.target.tagName===pt.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 Wt=Me.props,ot=Wt.distance,Ye=Wt.pressThreshold;if(!Me.state.sorting&&Me.touched&&!Me._awaitingUpdateBeforeSortStart){var xt=Ie(Xe),Yt={x:Me.position.x-xt.x,y:Me.position.y-xt.y},It=Math.abs(Yt.x)+Math.abs(Yt.y);Me.delta=Yt,!ot&&(!Ye||It>=Ye)?(clearTimeout(Me.cancelTimer),Me.cancelTimer=setTimeout(Me.cancel,0)):ot&&It>=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,Wt=Me.state.sorting;Wt||(Xe||clearTimeout(Me.pressTimer),Me.manager.active=null)}),(0,Le.Z)((0,Te.Z)((0,Te.Z)(Me)),"handlePress",function(Xe){try{var Wt=Me.manager.getActive(),ot=function(){if(Wt){var Ye=function(){var Ba=qt.sortableInfo.index,rn=Ne(qt),cn=Sn(Me.container),pn=Me.scrollContainer.getBoundingClientRect(),Aa=It({index:Ba,node:qt,collection:wn});if(Me.node=qt,Me.margin=rn,Me.gridGap=cn,Me.width=Aa.width,Me.height=Aa.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=qt.getBoundingClientRect(),Me.containerBoundingRect=pn,Me.index=Ba,Me.newIndex=Ba,Me.axis={x:Yt.indexOf("x")>=0,y:Yt.indexOf("y")>=0},Me.offsetEdge=Ge(qt,Me.container),xa?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(Mt(qt)),de(Me.helper,{boxSizing:"border-box",height:"".concat(Me.height,"px"),left:"".concat(Me.boundingClientRect.left-rn.left,"px"),pointerEvents:"none",position:"fixed",top:"".concat(Me.boundingClientRect.top-rn.top,"px"),width:"".concat(Me.width,"px")}),xa&&Me.helper.focus(),kt&&(Me.sortableGhost=qt,de(qt,{opacity:0,visibility:"hidden"})),Me.minTranslate={},Me.maxTranslate={},xa){var ha=Pn?{top:0,left:0,width:Me.contentWindow.innerWidth,height:Me.contentWindow.innerHeight}:Me.containerBoundingRect,aa=ha.top,Ga=ha.left,_a=ha.width,Qr=ha.height,wo=aa+Qr,Dn=Ga+_a;Me.axis.x&&(Me.minTranslate.x=Ga-Me.boundingClientRect.left,Me.maxTranslate.x=Dn-(Me.boundingClientRect.left+Me.width)),Me.axis.y&&(Me.minTranslate.y=aa-Me.boundingClientRect.top,Me.maxTranslate.y=wo-(Me.boundingClientRect.top+Me.height))}else Me.axis.x&&(Me.minTranslate.x=(Pn?0:pn.left)-Me.boundingClientRect.left-Me.width/2,Me.maxTranslate.x=(Pn?Me.contentWindow.innerWidth:pn.left+pn.width)-Me.boundingClientRect.left-Me.width/2),Me.axis.y&&(Me.minTranslate.y=(Pn?0:pn.top)-Me.boundingClientRect.top-Me.height/2,Me.maxTranslate.y=(Pn?Me.contentWindow.innerHeight:pn.top+pn.height)-Me.boundingClientRect.top-Me.height/2);Nn&&Nn.split(" ").forEach(function(At){return Me.helper.classList.add(At)}),Me.listenerNode=Xe.touches?qt:Me.contentWindow,xa?(Me.listenerNode.addEventListener("wheel",Me.handleKeyEnd,!0),Me.listenerNode.addEventListener("mousedown",Me.handleKeyEnd,!0),Me.listenerNode.addEventListener("keydown",Me.handleKeyDown)):(oe.move.forEach(function(At){return Me.listenerNode.addEventListener(At,Me.handleSortMove,!1)}),oe.end.forEach(function(At){return Me.listenerNode.addEventListener(At,Me.handleSortEnd,!1)})),Me.setState({sorting:!0,sortingIndex:Ba}),St&&St({node:qt,index:Ba,collection:wn,isKeySorting:xa,nodes:Me.manager.getOrderedRefs(),helper:Me.helper},Xe),xa&&Me.keyMove(0)},xt=Me.props,Yt=xt.axis,It=xt.getHelperDimensions,Nn=xt.helperClass,kt=xt.hideSortableGhost,Gt=xt.updateBeforeSortStart,St=xt.onSortStart,Pn=xt.useWindowAsScrollContainer,qt=Wt.node,wn=Wt.collection,xa=Me.manager.isKeySorting,Hn=function(){if(typeof Gt=="function"){Me._awaitingUpdateBeforeSortStart=!0;var la=wt(function(){var Ba=qt.sortableInfo.index;return Promise.resolve(Gt({collection:wn,index:Ba,node:qt,isKeySorting:xa},Xe)).then(function(){})},function(Ba,rn){if(Me._awaitingUpdateBeforeSortStart=!1,Ba)throw rn;return rn});if(la&&la.then)return la.then(function(){})}}();return Hn&&Hn.then?Hn.then(Ye):Ye(Hn)}}();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 Wt=Me.props.onSortMove;typeof Xe.preventDefault=="function"&&Xe.preventDefault(),Me.updateHelperPosition(Xe),Me.animateNodes(),Me.autoscroll(),Wt&&Wt(Xe)}),(0,Le.Z)((0,Te.Z)((0,Te.Z)(Me)),"handleSortEnd",function(Xe){var Wt=Me.props,ot=Wt.hideSortableGhost,Ye=Wt.onSortEnd,xt=Me.manager,Yt=xt.active.collection,It=xt.isKeySorting,Nn=Me.manager.getOrderedRefs();Me.listenerNode&&(It?(Me.listenerNode.removeEventListener("wheel",Me.handleKeyEnd,!0),Me.listenerNode.removeEventListener("mousedown",Me.handleKeyEnd,!0),Me.listenerNode.removeEventListener("keydown",Me.handleKeyDown)):(oe.move.forEach(function(qt){return Me.listenerNode.removeEventListener(qt,Me.handleSortMove)}),oe.end.forEach(function(qt){return Me.listenerNode.removeEventListener(qt,Me.handleSortEnd)}))),Me.helper.parentNode.removeChild(Me.helper),ot&&Me.sortableGhost&&de(Me.sortableGhost,{opacity:"",visibility:""});for(var kt=0,Gt=Nn.length;kt<Gt;kt++){var St=Nn[kt],Pn=St.node;St.edgeOffset=null,St.boundingClientRect=null,pe(Pn,null),Ee(Pn,null),St.translate=null}Me.autoScroller.clear(),Me.manager.active=null,Me.manager.isKeySorting=!1,Me.setState({sorting:!1,sortingIndex:null}),typeof Ye=="function"&&Ye({collection:Yt,newIndex:Me.newIndex,oldIndex:Me.index,isKeySorting:It,nodes:Nn},Xe),Me.touched=!1}),(0,Le.Z)((0,Te.Z)((0,Te.Z)(Me)),"autoscroll",function(){var Xe=Me.props.disableAutoscroll,Wt=Me.manager.isKeySorting;if(Xe){Me.autoScroller.clear();return}if(Wt){var ot=(0,he.Z)({},Me.translate),Ye=0,xt=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)),xt=Me.translate.y-ot.y),Me.translate=ot,pe(Me.helper,Me.translate),Me.scrollContainer.scrollLeft+=Ye,Me.scrollContainer.scrollTop+=xt;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 Wt=Xe.keyCode,ot=Me.props,Ye=ot.shouldCancelStart,xt=ot.keyCodes,Yt=xt===void 0?{}:xt,It=(0,he.Z)({},La,Yt);Me.manager.active&&!Me.manager.isKeySorting||!Me.manager.active&&(!It.lift.includes(Wt)||Ye(Xe)||!Me.isValidSortingTarget(Xe))||(Xe.stopPropagation(),Xe.preventDefault(),It.lift.includes(Wt)&&!Me.manager.active?Me.keyLift(Xe):It.drop.includes(Wt)&&Me.manager.active?Me.keyDrop(Xe):It.cancel.includes(Wt)?(Me.newIndex=Me.manager.active.index,Me.keyDrop(Xe)):It.up.includes(Wt)?Me.keyMove(-1):It.down.includes(Wt)&&Me.keyMove(1))}),(0,Le.Z)((0,Te.Z)((0,Te.Z)(Me)),"keyLift",function(Xe){var Wt=Xe.target,ot=be(Wt,function(It){return It.sortableInfo!=null}),Ye=ot.sortableInfo,xt=Ye.index,Yt=Ye.collection;Me.initialFocusedNode=Wt,Me.manager.isKeySorting=!0,Me.manager.active={index:xt,collection:Yt},Me.handlePress(Xe)}),(0,Le.Z)((0,Te.Z)((0,Te.Z)(Me)),"keyMove",function(Xe){var Wt=Me.manager.getOrderedRefs(),ot=Wt[Wt.length-1].node.sortableInfo.index,Ye=Me.newIndex+Xe,xt=Me.newIndex;if(!(Ye<0||Ye>ot)){Me.prevIndex=xt,Me.newIndex=Ye;var Yt=Ve(Me.newIndex,Me.prevIndex,Me.index),It=Wt.find(function(xa){var Hn=xa.node;return Hn.sortableInfo.index===Yt}),Nn=It.node,kt=Me.containerScrollDelta,Gt=It.boundingClientRect||at(Nn,kt),St=It.translate||{x:0,y:0},Pn={top:Gt.top+St.y-kt.top,left:Gt.left+St.x-kt.left},qt=xt<Ye,wn={x:qt&&Me.axis.x?Nn.offsetWidth-Me.width:0,y:qt&&Me.axis.y?Nn.offsetHeight-Me.height:0};Me.handleSortMove({pageX:Pn.left+wn.x,pageY:Pn.top+wn.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 Wt=Me.props.useDragHandle,ot=Xe.target,Ye=be(ot,function(xt){return xt.sortableInfo!=null});return Ye&&Ye.sortableInfo&&!Ye.sortableInfo.disabled&&(Wt?dt(ot):ot.sortableInfo)}),Ct(_n),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,Wt=this.getContainer();Promise.resolve(Wt).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:Ut(Me.container)||Me.container,Me.autoScroller=new zt(Me.scrollContainer,Me.onAutoScroll),Object.keys(Me.events).forEach(function(xt){return oe[xt].forEach(function(Yt){return Me.container.addEventListener(Yt,Me.events[xt],!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(Wt){return Me.container.removeEventListener(Wt,Me.events[Xe])})}),this.container.removeEventListener("keydown",this.handleKeyDown))}},{key:"updateHelperPosition",value:function(Me){var Xe=this.props,Wt=Xe.lockAxis,ot=Xe.lockOffset,Ye=Xe.lockToContainerEdges,xt=Xe.transitionDuration,Yt=Xe.keyboardSortingTransitionDuration,It=Yt===void 0?xt:Yt,Nn=this.manager.isKeySorting,kt=Me.ignoreTransition,Gt=Ie(Me),St={x:Gt.x-this.initialOffset.x,y:Gt.y-this.initialOffset.y};if(St.y-=window.pageYOffset-this.initialWindowScroll.top,St.x-=window.pageXOffset-this.initialWindowScroll.left,this.translate=St,Ye){var Pn=gt({height:this.height,lockOffset:ot,width:this.width}),qt=(0,ge.Z)(Pn,2),wn=qt[0],xa=qt[1],Hn={x:this.width/2-wn.x,y:this.height/2-wn.y},la={x:this.width/2-xa.x,y:this.height/2-xa.y};St.x=xe(this.minTranslate.x+Hn.x,this.maxTranslate.x-la.x,St.x),St.y=xe(this.minTranslate.y+Hn.y,this.maxTranslate.y-la.y,St.y)}Wt==="x"?St.y=0:Wt==="y"&&(St.x=0),Nn&&It&&!kt&&Ee(this.helper,It),pe(this.helper,St)}},{key:"animateNodes",value:function(){var Me=this.props,Xe=Me.transitionDuration,Wt=Me.hideSortableGhost,ot=Me.onSortOver,Ye=this.containerScrollDelta,xt=this.windowScrollDelta,Yt=this.manager.getOrderedRefs(),It={left:this.offsetEdge.left+this.translate.x+Ye.left,top:this.offsetEdge.top+this.translate.y+Ye.top},Nn=this.manager.isKeySorting,kt=this.newIndex;this.newIndex=null;for(var Gt=0,St=Yt.length;Gt<St;Gt++){var Pn=Yt[Gt].node,qt=Pn.sortableInfo.index,wn=Pn.offsetWidth,xa=Pn.offsetHeight,Hn={height:this.height>xa?xa/2:this.height/2,width:this.width>wn?wn/2:this.width/2},la=Nn&&qt>this.index&&qt<=kt,Ba=Nn&&qt<this.index&&qt>=kt,rn={x:0,y:0},cn=Yt[Gt].edgeOffset;cn||(cn=Ge(Pn,this.container),Yt[Gt].edgeOffset=cn,Nn&&(Yt[Gt].boundingClientRect=at(Pn,Ye)));var pn=Gt<Yt.length-1&&Yt[Gt+1],Aa=Gt>0&&Yt[Gt-1];if(pn&&!pn.edgeOffset&&(pn.edgeOffset=Ge(pn.node,this.container),Nn&&(pn.boundingClientRect=at(pn.node,Ye))),qt===this.index){Wt&&(this.sortableGhost=Pn,de(Pn,{opacity:0,visibility:"hidden"}));continue}Xe&&Ee(Pn,Xe),this.axis.x?this.axis.y?Ba||qt<this.index&&(It.left+xt.left-Hn.width<=cn.left&&It.top+xt.top<=cn.top+Hn.height||It.top+xt.top+Hn.height<=cn.top)?(rn.x=this.width+this.marginOffset.x,cn.left+rn.x>this.containerBoundingRect.width-Hn.width&&pn&&(rn.x=pn.edgeOffset.left-cn.left,rn.y=pn.edgeOffset.top-cn.top),this.newIndex===null&&(this.newIndex=qt)):(la||qt>this.index&&(It.left+xt.left+Hn.width>=cn.left&&It.top+xt.top+Hn.height>=cn.top||It.top+xt.top+Hn.height>=cn.top+xa))&&(rn.x=-(this.width+this.marginOffset.x),cn.left+rn.x<this.containerBoundingRect.left+Hn.width&&Aa&&(rn.x=Aa.edgeOffset.left-cn.left,rn.y=Aa.edgeOffset.top-cn.top),this.newIndex=qt):la||qt>this.index&&It.left+xt.left+Hn.width>=cn.left?(rn.x=-(this.width+this.marginOffset.x),this.newIndex=qt):(Ba||qt<this.index&&It.left+xt.left<=cn.left+Hn.width)&&(rn.x=this.width+this.marginOffset.x,this.newIndex==null&&(this.newIndex=qt)):this.axis.y&&(la||qt>this.index&&It.top+xt.top+Hn.height>=cn.top?(rn.y=-(this.height+this.marginOffset.y),this.newIndex=qt):(Ba||qt<this.index&&It.top+xt.top<=cn.top+Hn.height)&&(rn.y=this.height+this.marginOffset.y,this.newIndex==null&&(this.newIndex=qt))),pe(Pn,rn),Yt[Gt].translate=rn}this.newIndex==null&&(this.newIndex=this.index),Nn&&(this.newIndex=kt);var ha=Nn?this.prevIndex:kt;ot&&this.newIndex!==ha&&ot({collection:this.manager.active.collection,index:this.index,newIndex:this.newIndex,oldIndex:ha,isKeySorting:Nn,nodes:Yt,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)(Vt,(0,x.Z)({ref:Me},re(this.props,Lt)))}},{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)(_t,"displayName",Re("sortableList",Vt)),(0,Le.Z)(_t,"defaultProps",vt),(0,Le.Z)(_t,"propTypes",Zn),(0,Le.Z)(_t,"childContextTypes",{manager:ve().object.isRequired}),Mn}var sn={index:ve().number.isRequired,collection:ve().oneOfType([ve().number,ve().string]),disabled:ve().bool},Nt=Object.keys(sn);function On(Vt){var _t,Mn,bn=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{withRef:!1};return Mn=_t=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,Wt=Me.disabled,ot=Me.index,Ye=(0,ue.findDOMNode)(this);Ye.sortableInfo={collection:Xe,disabled:Wt,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)(Vt,(0,x.Z)({ref:Me},re(this.props,Nt)))}}]),He}(Ke.Component),(0,Le.Z)(_t,"displayName",Re("sortableElement",Vt)),(0,Le.Z)(_t,"contextTypes",{manager:ve().object.isRequired}),(0,Le.Z)(_t,"propTypes",sn),(0,Le.Z)(_t,"defaultProps",{collection:0}),Mn}},25510:function(mt){"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N82c2XNtypQlgmVz3333s8023sQmLDJ6vqWC+vtTwPThIawrI4m7mWcjidEJATEAlTEhcV24yBsT0MbscAbSAw89YHt9aC+774H77JBDDw2ZgjdYfwObM3den0to1CgbiYUIT1Kf4aTPUjTidZsza7aNCX6qPuCFKWXeq6/ZSE6dDtmC2SreF4ATvHHBtTQ/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+32L7b88sv2Bdvi1ho9K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3brLX+y478JPSbaN75xtG280UZhq/deH/mwzXx1pu20y062yz/ubBPfsqjtt+8X7MmHH7X11p5m//Otb9vqq69tN15/rZ140g/sxz/7ic0dO9Le99732YYbTLcVll/epq21tm20ySbzdzD17S9iy7cy7gZXyPw5UABLASztisMCWPIpVwBLASz5XNOBJwpg6QMs7CB59NFHbcsttwxU1Xb4kOhtvmK84vLf2zlnnWXHH3ucTZo4ySZNmmSjx4wOwbFYENiGO2nRybbKaqvaMccdazded4Mdeeih9tijj4Wg2lN/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+xWb2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yI2AEjIARMALVIGDCUk1TWhAjYASMgBEwAvUiYMJSb9taMiNgBIyAETAC1SBgwlJNU1oQI2AEjIARMAL1ImDCUm/bWjIjYASMgBEwAtUgYMJSTVNaECNgBIyAETAC9SJgwlJv21oyI2AEjIARMALVIGDCUk1TWhAjYASMgBEwAvUiYMJSb9taMiNgBIyAETAC1SBgwlJNU1oQI2AEjIARMAL1ImDCUm/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)}}}]);
|
|
}()); |