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.
276 lines
1.1 MiB
276 lines
1.1 MiB
!(function(){var Hu=Object.defineProperty,ju=Object.defineProperties;var Gu=Object.getOwnPropertyDescriptors;var iu=Object.getOwnPropertySymbols;var Du=Object.prototype.hasOwnProperty,Bu=Object.prototype.propertyIsEnumerable;var yu=Math.pow,Fu=(bt,yt,te)=>yt in bt?Hu(bt,yt,{enumerable:!0,configurable:!0,writable:!0,value:te}):bt[yt]=te,_r=(bt,yt)=>{for(var te in yt||(yt={}))Du.call(yt,te)&&Fu(bt,te,yt[te]);if(iu)for(var te of iu(yt))Bu.call(yt,te)&&Fu(bt,te,yt[te]);return bt},li=(bt,yt)=>ju(bt,Gu(yt));var lu=(bt,yt)=>{var te={};for(var z in bt)Du.call(bt,z)&&yt.indexOf(z)<0&&(te[z]=bt[z]);if(bt!=null&&iu)for(var z of iu(bt))yt.indexOf(z)<0&&Bu.call(bt,z)&&(te[z]=bt[z]);return te};var Au=(bt,yt,te)=>new Promise((z,se)=>{var ve=Ne=>{try{be(te.next(Ne))}catch(ie){se(ie)}},Ie=Ne=>{try{be(te.throw(Ne))}catch(ie){se(ie)}},be=Ne=>Ne.done?z(Ne.value):Promise.resolve(Ne.value).then(ve,Ie);be((te=te.apply(bt,yt)).next())});(self.webpackChunk=self.webpackChunk||[]).push([[3951],{27812:function(bt,yt,te){"use strict";te.d(yt,{Z:function(){return et}});var z=te(67711),se=te(59301),ve={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M872 474H286.9l350.2-304c5.6-4.9 2.2-14-5.2-14h-88.5c-3.9 0-7.6 1.4-10.5 3.9L155 487.8a31.96 31.96 0 000 48.3L535.1 866c1.5 1.3 3.3 2 5.2 2h91.5c7.4 0 10.8-9.2 5.2-14L286.9 550H872c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8z"}}]},name:"arrow-left",theme:"outlined"},Ie=ve,be=te(7657),Ne=function(ke,Ze){return se.createElement(be.Z,(0,z.Z)({},ke,{ref:Ze,icon:Ie}))},ie=se.forwardRef(Ne),et=ie},89489:function(bt,yt,te){"use strict";te.d(yt,{Z:function(){return et}});var z=te(67711),se=te(59301),ve={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M840.4 300H183.6c-19.7 0-30.7 20.8-18.5 35l328.4 380.8c9.4 10.9 27.5 10.9 37 0L858.9 335c12.2-14.2 1.2-35-18.5-35z"}}]},name:"caret-down",theme:"outlined"},Ie=ve,be=te(7657),Ne=function(ke,Ze){return se.createElement(be.Z,(0,z.Z)({},ke,{ref:Ze,icon:Ie}))},ie=se.forwardRef(Ne),et=ie},59477:function(bt,yt,te){"use strict";te.d(yt,{Z:function(){return et}});var z=te(67711),se=te(59301),ve={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M858.9 689L530.5 308.2c-9.4-10.9-27.5-10.9-37 0L165.1 689c-12.2 14.2-1.2 35 18.5 35h656.8c19.7 0 30.7-20.8 18.5-35z"}}]},name:"caret-up",theme:"outlined"},Ie=ve,be=te(7657),Ne=function(ke,Ze){return se.createElement(be.Z,(0,z.Z)({},ke,{ref:Ze,icon:Ie}))},ie=se.forwardRef(Ne),et=ie},26227:function(bt,yt,te){"use strict";te.d(yt,{Z:function(){return et}});var z=te(67711),se=te(59301),ve={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M360 184h-8c4.4 0 8-3.6 8-8v8h304v-8c0 4.4 3.6 8 8 8h-8v72h72v-80c0-35.3-28.7-64-64-64H352c-35.3 0-64 28.7-64 64v80h72v-72zm504 72H160c-17.7 0-32 14.3-32 32v32c0 4.4 3.6 8 8 8h60.4l24.7 523c1.6 34.1 29.8 61 63.9 61h454c34.2 0 62.3-26.8 63.9-61l24.7-523H888c4.4 0 8-3.6 8-8v-32c0-17.7-14.3-32-32-32zM731.3 840H292.7l-24.2-512h487l-24.2 512z"}}]},name:"delete",theme:"outlined"},Ie=ve,be=te(7657),Ne=function(ke,Ze){return se.createElement(be.Z,(0,z.Z)({},ke,{ref:Ze,icon:Ie}))},ie=se.forwardRef(Ne),et=ie},67921:function(bt,yt,te){"use strict";te.d(yt,{Z:function(){return et}});var z=te(67711),se=te(59301),ve={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"defs",attrs:{},children:[{tag:"style",attrs:{}}]},{tag:"path",attrs:{d:"M632 698.3l141.9-112a8 8 0 000-12.6L632 461.7c-5.3-4.2-13-.4-13 6.3v76H295c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h324v76c0 6.7 7.8 10.4 13 6.3zm261.3-405L730.7 130.7c-7.5-7.5-16.7-13-26.7-16V112H144c-17.7 0-32 14.3-32 32v278c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8V184h136v136c0 17.7 14.3 32 32 32h320c17.7 0 32-14.3 32-32V205.8l136 136V422c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-83.5c0-17-6.7-33.2-18.7-45.2zM640 288H384V184h256v104zm264 436h-56c-4.4 0-8 3.6-8 8v108H184V732c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v148c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V732c0-4.4-3.6-8-8-8z"}}]},name:"delivered-procedure",theme:"outlined"},Ie=ve,be=te(7657),Ne=function(ke,Ze){return se.createElement(be.Z,(0,z.Z)({},ke,{ref:Ze,icon:Ie}))},ie=se.forwardRef(Ne),et=ie},49198:function(bt,yt,te){"use strict";te.d(yt,{Z:function(){return et}});var z=te(67711),se=te(59301),ve={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M533.2 492.3L277.9 166.1c-3-3.9-7.7-6.1-12.6-6.1H188c-6.7 0-10.4 7.7-6.3 12.9L447.1 512 181.7 851.1A7.98 7.98 0 00188 864h77.3c4.9 0 9.6-2.3 12.6-6.1l255.3-326.1c9.1-11.7 9.1-27.9 0-39.5zm304 0L581.9 166.1c-3-3.9-7.7-6.1-12.6-6.1H492c-6.7 0-10.4 7.7-6.3 12.9L751.1 512 485.7 851.1A7.98 7.98 0 00492 864h77.3c4.9 0 9.6-2.3 12.6-6.1l255.3-326.1c9.1-11.7 9.1-27.9 0-39.5z"}}]},name:"double-right",theme:"outlined"},Ie=ve,be=te(7657),Ne=function(ke,Ze){return se.createElement(be.Z,(0,z.Z)({},ke,{ref:Ze,icon:Ie}))},ie=se.forwardRef(Ne),et=ie},41464:function(bt,yt,te){"use strict";te.d(yt,{Z:function(){return et}});var z=te(67711),se=te(59301),ve={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M505.7 661a8 8 0 0012.6 0l112-141.7c4.1-5.2.4-12.9-6.3-12.9h-74.1V168c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v338.3H400c-6.7 0-10.4 7.7-6.3 12.9l112 141.8zM878 626h-60c-4.4 0-8 3.6-8 8v154H214V634c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v198c0 17.7 14.3 32 32 32h684c17.7 0 32-14.3 32-32V634c0-4.4-3.6-8-8-8z"}}]},name:"download",theme:"outlined"},Ie=ve,be=te(7657),Ne=function(ke,Ze){return se.createElement(be.Z,(0,z.Z)({},ke,{ref:Ze,icon:Ie}))},ie=se.forwardRef(Ne),et=ie},87169:function(bt,yt,te){"use strict";te.d(yt,{Z:function(){return et}});var z=te(67711),se=te(59301),ve={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z"}},{tag:"path",attrs:{d:"M464 688a48 48 0 1096 0 48 48 0 10-96 0zm24-112h48c4.4 0 8-3.6 8-8V296c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v272c0 4.4 3.6 8 8 8z"}}]},name:"exclamation-circle",theme:"outlined"},Ie=ve,be=te(7657),Ne=function(ke,Ze){return se.createElement(be.Z,(0,z.Z)({},ke,{ref:Ze,icon:Ie}))},ie=se.forwardRef(Ne),et=ie},52671:function(bt,yt,te){"use strict";te.d(yt,{Z:function(){return et}});var z=te(67711),se=te(59301),ve={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M854.6 288.6L639.4 73.4c-6-6-14.1-9.4-22.6-9.4H192c-17.7 0-32 14.3-32 32v832c0 17.7 14.3 32 32 32h640c17.7 0 32-14.3 32-32V311.3c0-8.5-3.4-16.7-9.4-22.7zM790.2 326H602V137.8L790.2 326zm1.8 562H232V136h302v216a42 42 0 0042 42h216v494z"}}]},name:"file",theme:"outlined"},Ie=ve,be=te(7657),Ne=function(ke,Ze){return se.createElement(be.Z,(0,z.Z)({},ke,{ref:Ze,icon:Ie}))},ie=se.forwardRef(Ne),et=ie},8657:function(bt,yt,te){"use strict";te.d(yt,{Z:function(){return et}});var z=te(67711),se=te(59301),ve={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M928 444H820V330.4c0-17.7-14.3-32-32-32H473L355.7 186.2a8.15 8.15 0 00-5.5-2.2H96c-17.7 0-32 14.3-32 32v592c0 17.7 14.3 32 32 32h698c13 0 24.8-7.9 29.7-20l134-332c1.5-3.8 2.3-7.9 2.3-12 0-17.7-14.3-32-32-32zM136 256h188.5l119.6 114.4H748V444H238c-13 0-24.8 7.9-29.7 20L136 643.2V256zm635.3 512H159l103.3-256h612.4L771.3 768z"}}]},name:"folder-open",theme:"outlined"},Ie=ve,be=te(7657),Ne=function(ke,Ze){return se.createElement(be.Z,(0,z.Z)({},ke,{ref:Ze,icon:Ie}))},ie=se.forwardRef(Ne),et=ie},56082:function(bt,yt,te){"use strict";te.d(yt,{Z:function(){return et}});var z=te(67711),se=te(59301),ve={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M300 276.5a56 56 0 1056-97 56 56 0 00-56 97zm0 284a56 56 0 1056-97 56 56 0 00-56 97zM640 228a56 56 0 10112 0 56 56 0 00-112 0zm0 284a56 56 0 10112 0 56 56 0 00-112 0zM300 844.5a56 56 0 1056-97 56 56 0 00-56 97zM640 796a56 56 0 10112 0 56 56 0 00-112 0z"}}]},name:"holder",theme:"outlined"},Ie=ve,be=te(7657),Ne=function(ke,Ze){return se.createElement(be.Z,(0,z.Z)({},ke,{ref:Ze,icon:Ie}))},ie=se.forwardRef(Ne),et=ie},33853:function(bt,yt,te){"use strict";te.d(yt,{Z:function(){return et}});var z=te(67711),se=te(59301),ve={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M724 218.3V141c0-6.7-7.7-10.4-12.9-6.3L260.3 486.8a31.86 31.86 0 000 50.3l450.8 352.1c5.3 4.1 12.9.4 12.9-6.3v-77.3c0-4.9-2.3-9.6-6.1-12.6l-360-281 360-281.1c3.8-3 6.1-7.7 6.1-12.6z"}}]},name:"left",theme:"outlined"},Ie=ve,be=te(7657),Ne=function(ke,Ze){return se.createElement(be.Z,(0,z.Z)({},ke,{ref:Ze,icon:Ie}))},ie=se.forwardRef(Ne),et=ie},12893:function(bt,yt,te){"use strict";te.d(yt,{Z:function(){return et}});var z=te(67711),se=te(59301),ve={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M696 480H328c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8h368c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8z"}},{tag:"path",attrs:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z"}}]},name:"minus-circle",theme:"outlined"},Ie=ve,be=te(7657),Ne=function(ke,Ze){return se.createElement(be.Z,(0,z.Z)({},ke,{ref:Ze,icon:Ie}))},ie=se.forwardRef(Ne),et=ie},15075:function(bt,yt,te){"use strict";te.d(yt,{Z:function(){return et}});var z=te(67711),se=te(59301),ve={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M328 544h368c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8H328c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8z"}},{tag:"path",attrs:{d:"M880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zm-40 728H184V184h656v656z"}}]},name:"minus-square",theme:"outlined"},Ie=ve,be=te(7657),Ne=function(ke,Ze){return se.createElement(be.Z,(0,z.Z)({},ke,{ref:Ze,icon:Ie}))},ie=se.forwardRef(Ne),et=ie},32134:function(bt,yt,te){"use strict";te.d(yt,{Z:function(){return et}});var z=te(67711),se=te(59301),ve={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M696 480H544V328c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v152H328c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8h152v152c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V544h152c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8z"}},{tag:"path",attrs:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z"}}]},name:"plus-circle",theme:"outlined"},Ie=ve,be=te(7657),Ne=function(ke,Ze){return se.createElement(be.Z,(0,z.Z)({},ke,{ref:Ze,icon:Ie}))},ie=se.forwardRef(Ne),et=ie},43531:function(bt,yt,te){"use strict";te.d(yt,{Z:function(){return et}});var z=te(67711),se=te(59301),ve={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M328 544h152v152c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V544h152c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8H544V328c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v152H328c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8z"}},{tag:"path",attrs:{d:"M880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zm-40 728H184V184h656v656z"}}]},name:"plus-square",theme:"outlined"},Ie=ve,be=te(7657),Ne=function(ke,Ze){return se.createElement(be.Z,(0,z.Z)({},ke,{ref:Ze,icon:Ie}))},ie=se.forwardRef(Ne),et=ie},38819:function(bt,yt,te){"use strict";te.d(yt,{Z:function(){return et}});var z=te(67711),se=te(59301),ve={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M765.7 486.8L314.9 134.7A7.97 7.97 0 00302 141v77.3c0 4.9 2.3 9.6 6.1 12.6l360 281.1-360 281.1c-3.9 3-6.1 7.7-6.1 12.6V883c0 6.7 7.7 10.4 12.9 6.3l450.8-352.1a31.96 31.96 0 000-50.4z"}}]},name:"right",theme:"outlined"},Ie=ve,be=te(7657),Ne=function(ke,Ze){return se.createElement(be.Z,(0,z.Z)({},ke,{ref:Ze,icon:Ie}))},ie=se.forwardRef(Ne),et=ie},87954:function(bt,yt,te){"use strict";te.d(yt,{LB:function(){return Mo},g4:function(){return ut},we:function(){return dt},pE:function(){return fe},VK:function(){return vt},Cj:function(){return jr},O1:function(){return pa},Zj:function(){return po},VT:function(){return y}});var z=te(59301),se=te(4676),ve=te(35241);const Ie={display:"none"};function be(Ce){let{id:Re,value:Ye}=Ce;return z.createElement("div",{id:Re,style:Ie},Ye)}function Ne(Ce){let{id:Re,announcement:Ye,ariaLiveType:Ct="assertive"}=Ce;const Qt={position:"fixed",top:0,left:0,width:1,height:1,margin:-1,border:0,padding:0,overflow:"hidden",clip:"rect(0 0 0 0)",clipPath:"inset(100%)",whiteSpace:"nowrap"};return z.createElement("div",{id:Re,style:Qt,role:"status","aria-live":Ct,"aria-atomic":!0},Ye)}function ie(){const[Ce,Re]=(0,z.useState)("");return{announce:(0,z.useCallback)(Ct=>{Ct!=null&&Re(Ct)},[]),announcement:Ce}}const et=(0,z.createContext)(null);function He(Ce){const Re=(0,z.useContext)(et);(0,z.useEffect)(()=>{if(!Re)throw new Error("useDndMonitor must be used within a children of <DndContext>");return Re(Ce)},[Ce,Re])}function ke(){const[Ce]=(0,z.useState)(()=>new Set),Re=(0,z.useCallback)(Ct=>(Ce.add(Ct),()=>Ce.delete(Ct)),[Ce]);return[(0,z.useCallback)(Ct=>{let{type:Qt,event:qt}=Ct;Ce.forEach(xn=>{var Dn;return(Dn=xn[Qt])==null?void 0:Dn.call(xn,qt)})},[Ce]),Re]}const Ze={draggable:`
|
|
To pick up a draggable item, press the space bar.
|
|
While dragging, use the arrow keys to move the item.
|
|
Press space again to drop the item in its new position, or press escape to cancel.
|
|
`},Me={onDragStart(Ce){let{active:Re}=Ce;return"Picked up draggable item "+Re.id+"."},onDragOver(Ce){let{active:Re,over:Ye}=Ce;return Ye?"Draggable item "+Re.id+" was moved over droppable area "+Ye.id+".":"Draggable item "+Re.id+" is no longer over a droppable area."},onDragEnd(Ce){let{active:Re,over:Ye}=Ce;return Ye?"Draggable item "+Re.id+" was dropped over droppable area "+Ye.id:"Draggable item "+Re.id+" was dropped."},onDragCancel(Ce){let{active:Re}=Ce;return"Dragging was cancelled. Draggable item "+Re.id+" was dropped."}};function ye(Ce){let{announcements:Re=Me,container:Ye,hiddenTextDescribedById:Ct,screenReaderInstructions:Qt=Ze}=Ce;const{announce:qt,announcement:xn}=ie(),Dn=(0,ve.Ld)("DndLiveRegion"),[Qn,Pa]=(0,z.useState)(!1);if((0,z.useEffect)(()=>{Pa(!0)},[]),He((0,z.useMemo)(()=>({onDragStart(ga){let{active:Or}=ga;qt(Re.onDragStart({active:Or}))},onDragMove(ga){let{active:Or,over:Mr}=ga;Re.onDragMove&&qt(Re.onDragMove({active:Or,over:Mr}))},onDragOver(ga){let{active:Or,over:Mr}=ga;qt(Re.onDragOver({active:Or,over:Mr}))},onDragEnd(ga){let{active:Or,over:Mr}=ga;qt(Re.onDragEnd({active:Or,over:Mr}))},onDragCancel(ga){let{active:Or,over:Mr}=ga;qt(Re.onDragCancel({active:Or,over:Mr}))}}),[qt,Re])),!Qn)return null;const Ca=z.createElement(z.Fragment,null,z.createElement(be,{id:Ct,value:Qt.draggable}),z.createElement(Ne,{id:Dn,announcement:xn}));return Ye?(0,se.createPortal)(Ca,Ye):Ca}var re;(function(Ce){Ce.DragStart="dragStart",Ce.DragMove="dragMove",Ce.DragEnd="dragEnd",Ce.DragCancel="dragCancel",Ce.DragOver="dragOver",Ce.RegisterDroppable="registerDroppable",Ce.SetDroppableDisabled="setDroppableDisabled",Ce.UnregisterDroppable="unregisterDroppable"})(re||(re={}));function a(){}function y(Ce,Re){return(0,z.useMemo)(()=>({sensor:Ce,options:Re!=null?Re:{}}),[Ce,Re])}function b(){for(var Ce=arguments.length,Re=new Array(Ce),Ye=0;Ye<Ce;Ye++)Re[Ye]=arguments[Ye];return useMemo(()=>[...Re].filter(Ct=>Ct!=null),[...Re])}const E=Object.freeze({x:0,y:0});function x(Ce,Re){return Math.sqrt(Math.pow(Ce.x-Re.x,2)+Math.pow(Ce.y-Re.y,2))}function ee(Ce,Re){const Ye=getEventCoordinates(Ce);if(!Ye)return"0 0";const Ct={x:(Ye.x-Re.left)/Re.width*100,y:(Ye.y-Re.top)/Re.height*100};return Ct.x+"% "+Ct.y+"%"}function ne(Ce,Re){let{data:{value:Ye}}=Ce,{data:{value:Ct}}=Re;return Ye-Ct}function oe(Ce,Re){let{data:{value:Ye}}=Ce,{data:{value:Ct}}=Re;return Ct-Ye}function ae(Ce){let{left:Re,top:Ye,height:Ct,width:Qt}=Ce;return[{x:Re,y:Ye},{x:Re+Qt,y:Ye},{x:Re,y:Ye+Ct},{x:Re+Qt,y:Ye+Ct}]}function ue(Ce,Re){if(!Ce||Ce.length===0)return null;const[Ye]=Ce;return Re?Ye[Re]:Ye}function me(Ce,Re,Ye){return Re===void 0&&(Re=Ce.left),Ye===void 0&&(Ye=Ce.top),{x:Re+Ce.width*.5,y:Ye+Ce.height*.5}}const fe=Ce=>{let{collisionRect:Re,droppableRects:Ye,droppableContainers:Ct}=Ce;const Qt=me(Re,Re.left,Re.top),qt=[];for(const xn of Ct){const{id:Dn}=xn,Qn=Ye.get(Dn);if(Qn){const Pa=x(me(Qn),Qt);qt.push({id:Dn,data:{droppableContainer:xn,value:Pa}})}}return qt.sort(ne)},Pe=Ce=>{let{collisionRect:Re,droppableRects:Ye,droppableContainers:Ct}=Ce;const Qt=ae(Re),qt=[];for(const xn of Ct){const{id:Dn}=xn,Qn=Ye.get(Dn);if(Qn){const Pa=ae(Qn),Ca=Qt.reduce((Or,Mr,Ro)=>Or+x(Pa[Ro],Mr),0),ga=Number((Ca/4).toFixed(4));qt.push({id:Dn,data:{droppableContainer:xn,value:ga}})}}return qt.sort(ne)};function xe(Ce,Re){const Ye=Math.max(Re.top,Ce.top),Ct=Math.max(Re.left,Ce.left),Qt=Math.min(Re.left+Re.width,Ce.left+Ce.width),qt=Math.min(Re.top+Re.height,Ce.top+Ce.height),xn=Qt-Ct,Dn=qt-Ye;if(Ct<Qt&&Ye<qt){const Qn=Re.width*Re.height,Pa=Ce.width*Ce.height,Ca=xn*Dn,ga=Ca/(Qn+Pa-Ca);return Number(ga.toFixed(4))}return 0}const Ee=Ce=>{let{collisionRect:Re,droppableRects:Ye,droppableContainers:Ct}=Ce;const Qt=[];for(const qt of Ct){const{id:xn}=qt,Dn=Ye.get(xn);if(Dn){const Qn=xe(Dn,Re);Qn>0&&Qt.push({id:xn,data:{droppableContainer:qt,value:Qn}})}}return Qt.sort(oe)};function De(Ce,Re){const{top:Ye,left:Ct,bottom:Qt,right:qt}=Re;return Ye<=Ce.y&&Ce.y<=Qt&&Ct<=Ce.x&&Ce.x<=qt}const ze=Ce=>{let{droppableContainers:Re,droppableRects:Ye,pointerCoordinates:Ct}=Ce;if(!Ct)return[];const Qt=[];for(const qt of Re){const{id:xn}=qt,Dn=Ye.get(xn);if(Dn&&De(Ct,Dn)){const Pa=ae(Dn).reduce((ga,Or)=>ga+x(Ct,Or),0),Ca=Number((Pa/4).toFixed(4));Qt.push({id:xn,data:{droppableContainer:qt,value:Ca}})}}return Qt.sort(ne)};function ft(Ce,Re,Ye){return li(_r({},Ce),{scaleX:Re&&Ye?Re.width/Ye.width:1,scaleY:Re&&Ye?Re.height/Ye.height:1})}function Be(Ce,Re){return Ce&&Re?{x:Ce.left-Re.left,y:Ce.top-Re.top}:E}function Ue(Ce){return function(Ye){for(var Ct=arguments.length,Qt=new Array(Ct>1?Ct-1:0),qt=1;qt<Ct;qt++)Qt[qt-1]=arguments[qt];return Qt.reduce((xn,Dn)=>li(_r({},xn),{top:xn.top+Ce*Dn.y,bottom:xn.bottom+Ce*Dn.y,left:xn.left+Ce*Dn.x,right:xn.right+Ce*Dn.x}),_r({},Ye))}}const Ge=Ue(1);function Ke(Ce){if(Ce.startsWith("matrix3d(")){const Re=Ce.slice(9,-1).split(/, /);return{x:+Re[12],y:+Re[13],scaleX:+Re[0],scaleY:+Re[5]}}else if(Ce.startsWith("matrix(")){const Re=Ce.slice(7,-1).split(/, /);return{x:+Re[4],y:+Re[5],scaleX:+Re[0],scaleY:+Re[3]}}return null}function rt(Ce,Re,Ye){const Ct=Ke(Re);if(!Ct)return Ce;const{scaleX:Qt,scaleY:qt,x:xn,y:Dn}=Ct,Qn=Ce.left-xn-(1-Qt)*parseFloat(Ye),Pa=Ce.top-Dn-(1-qt)*parseFloat(Ye.slice(Ye.indexOf(" ")+1)),Ca=Qt?Ce.width/Qt:Ce.width,ga=qt?Ce.height/qt:Ce.height;return{width:Ca,height:ga,top:Pa,right:Qn+Ca,bottom:Pa+ga,left:Qn}}const nt={ignoreTransform:!1};function vt(Ce,Re){Re===void 0&&(Re=nt);let Ye=Ce.getBoundingClientRect();if(Re.ignoreTransform){const{transform:Pa,transformOrigin:Ca}=(0,ve.Jj)(Ce).getComputedStyle(Ce);Pa&&(Ye=rt(Ye,Pa,Ca))}const{top:Ct,left:Qt,width:qt,height:xn,bottom:Dn,right:Qn}=Ye;return{top:Ct,left:Qt,width:qt,height:xn,bottom:Dn,right:Qn}}function Tt(Ce){return vt(Ce,{ignoreTransform:!0})}function Yt(Ce){const Re=Ce.innerWidth,Ye=Ce.innerHeight;return{top:0,left:0,right:Re,bottom:Ye,width:Re,height:Ye}}function Xe(Ce,Re){return Re===void 0&&(Re=(0,ve.Jj)(Ce).getComputedStyle(Ce)),Re.position==="fixed"}function st(Ce,Re){Re===void 0&&(Re=(0,ve.Jj)(Ce).getComputedStyle(Ce));const Ye=/(auto|scroll|overlay)/;return["overflow","overflowX","overflowY"].some(Qt=>{const qt=Re[Qt];return typeof qt=="string"?Ye.test(qt):!1})}function Lt(Ce,Re){const Ye=[];function Ct(Qt){if(Re!=null&&Ye.length>=Re||!Qt)return Ye;if((0,ve.qk)(Qt)&&Qt.scrollingElement!=null&&!Ye.includes(Qt.scrollingElement))return Ye.push(Qt.scrollingElement),Ye;if(!(0,ve.Re)(Qt)||(0,ve.vZ)(Qt)||Ye.includes(Qt))return Ye;const qt=(0,ve.Jj)(Ce).getComputedStyle(Qt);return Qt!==Ce&&st(Qt,qt)&&Ye.push(Qt),Xe(Qt,qt)?Ye:Ct(Qt.parentNode)}return Ce?Ct(Ce):Ye}function It(Ce){const[Re]=Lt(Ce,1);return Re!=null?Re:null}function St(Ce){return!ve.Nq||!Ce?null:(0,ve.FJ)(Ce)?Ce:(0,ve.UG)(Ce)?(0,ve.qk)(Ce)||Ce===(0,ve.r3)(Ce).scrollingElement?window:(0,ve.Re)(Ce)?Ce:null:null}function dn(Ce){return(0,ve.FJ)(Ce)?Ce.scrollX:Ce.scrollLeft}function Fe(Ce){return(0,ve.FJ)(Ce)?Ce.scrollY:Ce.scrollTop}function Xt(Ce){return{x:dn(Ce),y:Fe(Ce)}}var Kt;(function(Ce){Ce[Ce.Forward=1]="Forward",Ce[Ce.Backward=-1]="Backward"})(Kt||(Kt={}));function jn(Ce){return!ve.Nq||!Ce?!1:Ce===document.scrollingElement}function Pt(Ce){const Re={x:0,y:0},Ye=jn(Ce)?{height:window.innerHeight,width:window.innerWidth}:{height:Ce.clientHeight,width:Ce.clientWidth},Ct={x:Ce.scrollWidth-Ye.width,y:Ce.scrollHeight-Ye.height},Qt=Ce.scrollTop<=Re.y,qt=Ce.scrollLeft<=Re.x,xn=Ce.scrollTop>=Ct.y,Dn=Ce.scrollLeft>=Ct.x;return{isTop:Qt,isLeft:qt,isBottom:xn,isRight:Dn,maxScroll:Ct,minScroll:Re}}const qe={x:.2,y:.2};function lt(Ce,Re,Ye,Ct,Qt){let{top:qt,left:xn,right:Dn,bottom:Qn}=Ye;Ct===void 0&&(Ct=10),Qt===void 0&&(Qt=qe);const{isTop:Pa,isBottom:Ca,isLeft:ga,isRight:Or}=Pt(Ce),Mr={x:0,y:0},Ro={x:0,y:0},Ur={height:Re.height*Qt.y,width:Re.width*Qt.x};return!Pa&&qt<=Re.top+Ur.height?(Mr.y=Kt.Backward,Ro.y=Ct*Math.abs((Re.top+Ur.height-qt)/Ur.height)):!Ca&&Qn>=Re.bottom-Ur.height&&(Mr.y=Kt.Forward,Ro.y=Ct*Math.abs((Re.bottom-Ur.height-Qn)/Ur.height)),!Or&&Dn>=Re.right-Ur.width?(Mr.x=Kt.Forward,Ro.x=Ct*Math.abs((Re.right-Ur.width-Dn)/Ur.width)):!ga&&xn<=Re.left+Ur.width&&(Mr.x=Kt.Backward,Ro.x=Ct*Math.abs((Re.left+Ur.width-xn)/Ur.width)),{direction:Mr,speed:Ro}}function it(Ce){if(Ce===document.scrollingElement){const{innerWidth:qt,innerHeight:xn}=window;return{top:0,left:0,right:qt,bottom:xn,width:qt,height:xn}}const{top:Re,left:Ye,right:Ct,bottom:Qt}=Ce.getBoundingClientRect();return{top:Re,left:Ye,right:Ct,bottom:Qt,width:Ce.clientWidth,height:Ce.clientHeight}}function Oe(Ce){return Ce.reduce((Re,Ye)=>(0,ve.IH)(Re,Xt(Ye)),E)}function pt(Ce){return Ce.reduce((Re,Ye)=>Re+dn(Ye),0)}function gt(Ce){return Ce.reduce((Re,Ye)=>Re+Fe(Ye),0)}function Le(Ce,Re){if(Re===void 0&&(Re=vt),!Ce)return;const{top:Ye,left:Ct,bottom:Qt,right:qt}=Re(Ce);It(Ce)&&(Qt<=0||qt<=0||Ye>=window.innerHeight||Ct>=window.innerWidth)&&Ce.scrollIntoView({block:"center",inline:"center"})}const he=[["x",["left","right"],pt],["y",["top","bottom"],gt]];class je{constructor(Re,Ye){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 Ct=Lt(Ye),Qt=Oe(Ct);this.rect=_r({},Re),this.width=Re.width,this.height=Re.height;for(const[qt,xn,Dn]of he)for(const Qn of xn)Object.defineProperty(this,Qn,{get:()=>{const Pa=Dn(Ct),Ca=Qt[qt]-Pa;return this.rect[Qn]+Ca},enumerable:!0});Object.defineProperty(this,"rect",{enumerable:!1})}}class We{constructor(Re){this.target=void 0,this.listeners=[],this.removeAll=()=>{this.listeners.forEach(Ye=>{var Ct;return(Ct=this.target)==null?void 0:Ct.removeEventListener(...Ye)})},this.target=Re}add(Re,Ye,Ct){var Qt;(Qt=this.target)==null||Qt.addEventListener(Re,Ye,Ct),this.listeners.push([Re,Ye,Ct])}}function we(Ce){const{EventTarget:Re}=(0,ve.Jj)(Ce);return Ce instanceof Re?Ce:(0,ve.r3)(Ce)}function mt(Ce,Re){const Ye=Math.abs(Ce.x),Ct=Math.abs(Ce.y);return typeof Re=="number"?Math.sqrt(yu(Ye,2)+yu(Ct,2))>Re:"x"in Re&&"y"in Re?Ye>Re.x&&Ct>Re.y:"x"in Re?Ye>Re.x:"y"in Re?Ct>Re.y:!1}var Je;(function(Ce){Ce.Click="click",Ce.DragStart="dragstart",Ce.Keydown="keydown",Ce.ContextMenu="contextmenu",Ce.Resize="resize",Ce.SelectionChange="selectionchange",Ce.VisibilityChange="visibilitychange"})(Je||(Je={}));function jt(Ce){Ce.preventDefault()}function Se(Ce){Ce.stopPropagation()}var ut;(function(Ce){Ce.Space="Space",Ce.Down="ArrowDown",Ce.Right="ArrowRight",Ce.Left="ArrowLeft",Ce.Up="ArrowUp",Ce.Esc="Escape",Ce.Enter="Enter",Ce.Tab="Tab"})(ut||(ut={}));const wt={start:[ut.Space,ut.Enter],cancel:[ut.Esc],end:[ut.Space,ut.Enter,ut.Tab]},Ae=(Ce,Re)=>{let{currentCoordinates:Ye}=Re;switch(Ce.code){case ut.Right:return li(_r({},Ye),{x:Ye.x+25});case ut.Left:return li(_r({},Ye),{x:Ye.x-25});case ut.Down:return li(_r({},Ye),{y:Ye.y+25});case ut.Up:return li(_r({},Ye),{y:Ye.y-25})}};class _e{constructor(Re){this.props=void 0,this.autoScrollEnabled=!1,this.referenceCoordinates=void 0,this.listeners=void 0,this.windowListeners=void 0,this.props=Re;const{event:{target:Ye}}=Re;this.props=Re,this.listeners=new We((0,ve.r3)(Ye)),this.windowListeners=new We((0,ve.Jj)(Ye)),this.handleKeyDown=this.handleKeyDown.bind(this),this.handleCancel=this.handleCancel.bind(this),this.attach()}attach(){this.handleStart(),this.windowListeners.add(Je.Resize,this.handleCancel),this.windowListeners.add(Je.VisibilityChange,this.handleCancel),setTimeout(()=>this.listeners.add(Je.Keydown,this.handleKeyDown))}handleStart(){const{activeNode:Re,onStart:Ye}=this.props,Ct=Re.node.current;Ct&&Le(Ct),Ye(E)}handleKeyDown(Re){if((0,ve.vd)(Re)){const{active:Ye,context:Ct,options:Qt}=this.props,{keyboardCodes:qt=wt,coordinateGetter:xn=Ae,scrollBehavior:Dn="smooth"}=Qt,{code:Qn}=Re;if(qt.end.includes(Qn)){this.handleEnd(Re);return}if(qt.cancel.includes(Qn)){this.handleCancel(Re);return}const{collisionRect:Pa}=Ct.current,Ca=Pa?{x:Pa.left,y:Pa.top}:E;this.referenceCoordinates||(this.referenceCoordinates=Ca);const ga=xn(Re,{active:Ye,context:Ct.current,currentCoordinates:Ca});if(ga){const Or=(0,ve.$X)(ga,Ca),Mr={x:0,y:0},{scrollableAncestors:Ro}=Ct.current;for(const Ur of Ro){const la=Re.code,{isTop:Yn,isRight:oa,isLeft:ra,isBottom:Nr,maxScroll:Zr,minScroll:hr}=Pt(Ur),xr=it(Ur),kr={x:Math.min(la===ut.Right?xr.right-xr.width/2:xr.right,Math.max(la===ut.Right?xr.left:xr.left+xr.width/2,ga.x)),y:Math.min(la===ut.Down?xr.bottom-xr.height/2:xr.bottom,Math.max(la===ut.Down?xr.top:xr.top+xr.height/2,ga.y))},ho=la===ut.Right&&!oa||la===ut.Left&&!ra,ti=la===ut.Down&&!Nr||la===ut.Up&&!Yn;if(ho&&kr.x!==ga.x){const yo=Ur.scrollLeft+Or.x,Rr=la===ut.Right&&yo<=Zr.x||la===ut.Left&&yo>=hr.x;if(Rr&&!Or.y){Ur.scrollTo({left:yo,behavior:Dn});return}Rr?Mr.x=Ur.scrollLeft-yo:Mr.x=la===ut.Right?Ur.scrollLeft-Zr.x:Ur.scrollLeft-hr.x,Mr.x&&Ur.scrollBy({left:-Mr.x,behavior:Dn});break}else if(ti&&kr.y!==ga.y){const yo=Ur.scrollTop+Or.y,Rr=la===ut.Down&&yo<=Zr.y||la===ut.Up&&yo>=hr.y;if(Rr&&!Or.x){Ur.scrollTo({top:yo,behavior:Dn});return}Rr?Mr.y=Ur.scrollTop-yo:Mr.y=la===ut.Down?Ur.scrollTop-Zr.y:Ur.scrollTop-hr.y,Mr.y&&Ur.scrollBy({top:-Mr.y,behavior:Dn});break}}this.handleMove(Re,(0,ve.IH)((0,ve.$X)(ga,this.referenceCoordinates),Mr))}}}handleMove(Re,Ye){const{onMove:Ct}=this.props;Re.preventDefault(),Ct(Ye)}handleEnd(Re){const{onEnd:Ye}=this.props;Re.preventDefault(),this.detach(),Ye()}handleCancel(Re){const{onCancel:Ye}=this.props;Re.preventDefault(),this.detach(),Ye()}detach(){this.listeners.removeAll(),this.windowListeners.removeAll()}}_e.activators=[{eventName:"onKeyDown",handler:(Ce,Re,Ye)=>{let{keyboardCodes:Ct=wt,onActivation:Qt}=Re,{active:qt}=Ye;const{code:xn}=Ce.nativeEvent;if(Ct.start.includes(xn)){const Dn=qt.activatorNode.current;return Dn&&Ce.target!==Dn?!1:(Ce.preventDefault(),Qt==null||Qt({event:Ce.nativeEvent}),!0)}return!1}}];function ct(Ce){return!!(Ce&&"distance"in Ce)}function Ft(Ce){return!!(Ce&&"delay"in Ce)}class zt{constructor(Re,Ye,Ct){var Qt;Ct===void 0&&(Ct=we(Re.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=Re,this.events=Ye;const{event:qt}=Re,{target:xn}=qt;this.props=Re,this.events=Ye,this.document=(0,ve.r3)(xn),this.documentListeners=new We(this.document),this.listeners=new We(Ct),this.windowListeners=new We((0,ve.Jj)(xn)),this.initialCoordinates=(Qt=(0,ve.DC)(qt))!=null?Qt: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:Re,props:{options:{activationConstraint:Ye,bypassActivationConstraint:Ct}}}=this;if(this.listeners.add(Re.move.name,this.handleMove,{passive:!1}),this.listeners.add(Re.end.name,this.handleEnd),Re.cancel&&this.listeners.add(Re.cancel.name,this.handleCancel),this.windowListeners.add(Je.Resize,this.handleCancel),this.windowListeners.add(Je.DragStart,jt),this.windowListeners.add(Je.VisibilityChange,this.handleCancel),this.windowListeners.add(Je.ContextMenu,jt),this.documentListeners.add(Je.Keydown,this.handleKeydown),Ye){if(Ct!=null&&Ct({event:this.props.event,activeNode:this.props.activeNode,options:this.props.options}))return this.handleStart();if(Ft(Ye)){this.timeoutId=setTimeout(this.handleStart,Ye.delay),this.handlePending(Ye);return}if(ct(Ye)){this.handlePending(Ye);return}}this.handleStart()}detach(){this.listeners.removeAll(),this.windowListeners.removeAll(),setTimeout(this.documentListeners.removeAll,50),this.timeoutId!==null&&(clearTimeout(this.timeoutId),this.timeoutId=null)}handlePending(Re,Ye){const{active:Ct,onPending:Qt}=this.props;Qt(Ct,Re,this.initialCoordinates,Ye)}handleStart(){const{initialCoordinates:Re}=this,{onStart:Ye}=this.props;Re&&(this.activated=!0,this.documentListeners.add(Je.Click,Se,{capture:!0}),this.removeTextSelection(),this.documentListeners.add(Je.SelectionChange,this.removeTextSelection),Ye(Re))}handleMove(Re){var Ye;const{activated:Ct,initialCoordinates:Qt,props:qt}=this,{onMove:xn,options:{activationConstraint:Dn}}=qt;if(!Qt)return;const Qn=(Ye=(0,ve.DC)(Re))!=null?Ye:E,Pa=(0,ve.$X)(Qt,Qn);if(!Ct&&Dn){if(ct(Dn)){if(Dn.tolerance!=null&&mt(Pa,Dn.tolerance))return this.handleCancel();if(mt(Pa,Dn.distance))return this.handleStart()}if(Ft(Dn)&&mt(Pa,Dn.tolerance))return this.handleCancel();this.handlePending(Dn,Pa);return}Re.cancelable&&Re.preventDefault(),xn(Qn)}handleEnd(){const{onAbort:Re,onEnd:Ye}=this.props;this.detach(),this.activated||Re(this.props.active),Ye()}handleCancel(){const{onAbort:Re,onCancel:Ye}=this.props;this.detach(),this.activated||Re(this.props.active),Ye()}handleKeydown(Re){Re.code===ut.Esc&&this.handleCancel()}removeTextSelection(){var Re;(Re=this.document.getSelection())==null||Re.removeAllRanges()}}const fn={cancel:{name:"pointercancel"},move:{name:"pointermove"},end:{name:"pointerup"}};class dt extends zt{constructor(Re){const{event:Ye}=Re,Ct=(0,ve.r3)(Ye.target);super(Re,fn,Ct)}}dt.activators=[{eventName:"onPointerDown",handler:(Ce,Re)=>{let{nativeEvent:Ye}=Ce,{onActivation:Ct}=Re;return!Ye.isPrimary||Ye.button!==0?!1:(Ct==null||Ct({event:Ye}),!0)}}];const Bt={move:{name:"mousemove"},end:{name:"mouseup"}};var Et;(function(Ce){Ce[Ce.RightClick=2]="RightClick"})(Et||(Et={}));class tn extends zt{constructor(Re){super(Re,Bt,(0,ve.r3)(Re.event.target))}}tn.activators=[{eventName:"onMouseDown",handler:(Ce,Re)=>{let{nativeEvent:Ye}=Ce,{onActivation:Ct}=Re;return Ye.button===Et.RightClick?!1:(Ct==null||Ct({event:Ye}),!0)}}];const Vt={cancel:{name:"touchcancel"},move:{name:"touchmove"},end:{name:"touchend"}};class sn extends zt{constructor(Re){super(Re,Vt)}static setup(){return window.addEventListener(Vt.move.name,Re,{capture:!1,passive:!1}),function(){window.removeEventListener(Vt.move.name,Re)};function Re(){}}}sn.activators=[{eventName:"onTouchStart",handler:(Ce,Re)=>{let{nativeEvent:Ye}=Ce,{onActivation:Ct}=Re;const{touches:Qt}=Ye;return Qt.length>1?!1:(Ct==null||Ct({event:Ye}),!0)}}];var Un;(function(Ce){Ce[Ce.Pointer=0]="Pointer",Ce[Ce.DraggableRect=1]="DraggableRect"})(Un||(Un={}));var pn;(function(Ce){Ce[Ce.TreeOrder=0]="TreeOrder",Ce[Ce.ReversedTreeOrder=1]="ReversedTreeOrder"})(pn||(pn={}));function rn(Ce){let{acceleration:Re,activator:Ye=Un.Pointer,canScroll:Ct,draggingRect:Qt,enabled:qt,interval:xn=5,order:Dn=pn.TreeOrder,pointerCoordinates:Qn,scrollableAncestors:Pa,scrollableAncestorRects:Ca,delta:ga,threshold:Or}=Ce;const Mr=_t({delta:ga,disabled:!qt}),[Ro,Ur]=(0,ve.Yz)(),la=(0,z.useRef)({x:0,y:0}),Yn=(0,z.useRef)({x:0,y:0}),oa=(0,z.useMemo)(()=>{switch(Ye){case Un.Pointer:return Qn?{top:Qn.y,bottom:Qn.y,left:Qn.x,right:Qn.x}:null;case Un.DraggableRect:return Qt}},[Ye,Qt,Qn]),ra=(0,z.useRef)(null),Nr=(0,z.useCallback)(()=>{const hr=ra.current;if(!hr)return;const xr=la.current.x*Yn.current.x,kr=la.current.y*Yn.current.y;hr.scrollBy(xr,kr)},[]),Zr=(0,z.useMemo)(()=>Dn===pn.TreeOrder?[...Pa].reverse():Pa,[Dn,Pa]);(0,z.useEffect)(()=>{if(!qt||!Pa.length||!oa){Ur();return}for(const hr of Zr){if((Ct==null?void 0:Ct(hr))===!1)continue;const xr=Pa.indexOf(hr),kr=Ca[xr];if(!kr)continue;const{direction:ho,speed:ti}=lt(hr,kr,oa,Re,Or);for(const yo of["x","y"])Mr[yo][ho[yo]]||(ti[yo]=0,ho[yo]=0);if(ti.x>0||ti.y>0){Ur(),ra.current=hr,Ro(Nr,xn),la.current=ti,Yn.current=ho;return}}la.current={x:0,y:0},Yn.current={x:0,y:0},Ur()},[Re,Nr,Ct,Ur,qt,xn,JSON.stringify(oa),JSON.stringify(Mr),Ro,Pa,Zr,Ca,JSON.stringify(Or)])}const $n={x:{[Kt.Backward]:!1,[Kt.Forward]:!1},y:{[Kt.Backward]:!1,[Kt.Forward]:!1}};function _t(Ce){let{delta:Re,disabled:Ye}=Ce;const Ct=(0,ve.D9)(Re);return(0,ve.Gj)(Qt=>{if(Ye||!Ct||!Qt)return $n;const qt={x:Math.sign(Re.x-Ct.x),y:Math.sign(Re.y-Ct.y)};return{x:{[Kt.Backward]:Qt.x[Kt.Backward]||qt.x===-1,[Kt.Forward]:Qt.x[Kt.Forward]||qt.x===1},y:{[Kt.Backward]:Qt.y[Kt.Backward]||qt.y===-1,[Kt.Forward]:Qt.y[Kt.Forward]||qt.y===1}}},[Ye,Re,Ct])}function kt(Ce,Re){const Ye=Re!=null?Ce.get(Re):void 0,Ct=Ye?Ye.node.current:null;return(0,ve.Gj)(Qt=>{var qt;return Re==null?null:(qt=Ct!=null?Ct:Qt)!=null?qt:null},[Ct,Re])}function Jt(Ce,Re){return(0,z.useMemo)(()=>Ce.reduce((Ye,Ct)=>{const{sensor:Qt}=Ct,qt=Qt.activators.map(xn=>({eventName:xn.eventName,handler:Re(xn.handler,Ct)}));return[...Ye,...qt]},[]),[Ce,Re])}var Ea;(function(Ce){Ce[Ce.Always=0]="Always",Ce[Ce.BeforeDragging=1]="BeforeDragging",Ce[Ce.WhileDragging=2]="WhileDragging"})(Ea||(Ea={}));var qn;(function(Ce){Ce.Optimized="optimized"})(qn||(qn={}));const Rn=new Map;function Ga(Ce,Re){let{dragging:Ye,dependencies:Ct,config:Qt}=Re;const[qt,xn]=(0,z.useState)(null),{frequency:Dn,measure:Qn,strategy:Pa}=Qt,Ca=(0,z.useRef)(Ce),ga=la(),Or=(0,ve.Ey)(ga),Mr=(0,z.useCallback)(function(Yn){Yn===void 0&&(Yn=[]),!Or.current&&xn(oa=>oa===null?Yn:oa.concat(Yn.filter(ra=>!oa.includes(ra))))},[Or]),Ro=(0,z.useRef)(null),Ur=(0,ve.Gj)(Yn=>{if(ga&&!Ye)return Rn;if(!Yn||Yn===Rn||Ca.current!==Ce||qt!=null){const oa=new Map;for(let ra of Ce){if(!ra)continue;if(qt&&qt.length>0&&!qt.includes(ra.id)&&ra.rect.current){oa.set(ra.id,ra.rect.current);continue}const Nr=ra.node.current,Zr=Nr?new je(Qn(Nr),Nr):null;ra.rect.current=Zr,Zr&&oa.set(ra.id,Zr)}return oa}return Yn},[Ce,qt,Ye,ga,Qn]);return(0,z.useEffect)(()=>{Ca.current=Ce},[Ce]),(0,z.useEffect)(()=>{ga||Mr()},[Ye,ga]),(0,z.useEffect)(()=>{qt&&qt.length>0&&xn(null)},[JSON.stringify(qt)]),(0,z.useEffect)(()=>{ga||typeof Dn!="number"||Ro.current!==null||(Ro.current=setTimeout(()=>{Mr(),Ro.current=null},Dn))},[Dn,ga,Mr,...Ct]),{droppableRects:Ur,measureDroppableContainers:Mr,measuringScheduled:qt!=null};function la(){switch(Pa){case Ea.Always:return!1;case Ea.BeforeDragging:return Ye;default:return!Ye}}}function La(Ce,Re){return(0,ve.Gj)(Ye=>Ce?Ye||(typeof Re=="function"?Re(Ce):Ce):null,[Re,Ce])}function Ar(Ce,Re){return La(Ce,Re)}function Cr(Ce){let{callback:Re,disabled:Ye}=Ce;const Ct=(0,ve.zX)(Re),Qt=(0,z.useMemo)(()=>{if(Ye||typeof window=="undefined"||typeof window.MutationObserver=="undefined")return;const{MutationObserver:qt}=window;return new qt(Ct)},[Ct,Ye]);return(0,z.useEffect)(()=>()=>Qt==null?void 0:Qt.disconnect(),[Qt]),Qt}function Qa(Ce){let{callback:Re,disabled:Ye}=Ce;const Ct=(0,ve.zX)(Re),Qt=(0,z.useMemo)(()=>{if(Ye||typeof window=="undefined"||typeof window.ResizeObserver=="undefined")return;const{ResizeObserver:qt}=window;return new qt(Ct)},[Ye]);return(0,z.useEffect)(()=>()=>Qt==null?void 0:Qt.disconnect(),[Qt]),Qt}function tt(Ce){return new je(vt(Ce),Ce)}function Rt(Ce,Re,Ye){Re===void 0&&(Re=tt);const[Ct,Qt]=(0,z.useState)(null);function qt(){Qt(Qn=>{if(!Ce)return null;if(Ce.isConnected===!1){var Pa;return(Pa=Qn!=null?Qn:Ye)!=null?Pa:null}const Ca=Re(Ce);return JSON.stringify(Qn)===JSON.stringify(Ca)?Qn:Ca})}const xn=Cr({callback(Qn){if(Ce)for(const Pa of Qn){const{type:Ca,target:ga}=Pa;if(Ca==="childList"&&ga instanceof HTMLElement&&ga.contains(Ce)){qt();break}}}}),Dn=Qa({callback:qt});return(0,ve.LI)(()=>{qt(),Ce?(Dn==null||Dn.observe(Ce),xn==null||xn.observe(document.body,{childList:!0,subtree:!0})):(Dn==null||Dn.disconnect(),xn==null||xn.disconnect())},[Ce]),Ct}function Dt(Ce){const Re=La(Ce);return Be(Ce,Re)}const Zn=[];function cn(Ce){const Re=(0,z.useRef)(Ce),Ye=(0,ve.Gj)(Ct=>Ce?Ct&&Ct!==Zn&&Ce&&Re.current&&Ce.parentNode===Re.current.parentNode?Ct:Lt(Ce):Zn,[Ce]);return(0,z.useEffect)(()=>{Re.current=Ce},[Ce]),Ye}function On(Ce){const[Re,Ye]=(0,z.useState)(null),Ct=(0,z.useRef)(Ce),Qt=(0,z.useCallback)(qt=>{const xn=St(qt.target);xn&&Ye(Dn=>Dn?(Dn.set(xn,Xt(xn)),new Map(Dn)):null)},[]);return(0,z.useEffect)(()=>{const qt=Ct.current;if(Ce!==qt){xn(qt);const Dn=Ce.map(Qn=>{const Pa=St(Qn);return Pa?(Pa.addEventListener("scroll",Qt,{passive:!0}),[Pa,Xt(Pa)]):null}).filter(Qn=>Qn!=null);Ye(Dn.length?new Map(Dn):null),Ct.current=Ce}return()=>{xn(Ce),xn(qt)};function xn(Dn){Dn.forEach(Qn=>{const Pa=St(Qn);Pa==null||Pa.removeEventListener("scroll",Qt)})}},[Qt,Ce]),(0,z.useMemo)(()=>Ce.length?Re?Array.from(Re.values()).reduce((qt,xn)=>(0,ve.IH)(qt,xn),E):Oe(Ce):E,[Ce,Re])}function Xr(Ce,Re){Re===void 0&&(Re=[]);const Ye=(0,z.useRef)(null);return(0,z.useEffect)(()=>{Ye.current=null},Re),(0,z.useEffect)(()=>{const Ct=Ce!==E;Ct&&!Ye.current&&(Ye.current=Ce),!Ct&&Ye.current&&(Ye.current=null)},[Ce]),Ye.current?(0,ve.$X)(Ce,Ye.current):E}function Er(Ce){(0,z.useEffect)(()=>{if(!ve.Nq)return;const Re=Ce.map(Ye=>{let{sensor:Ct}=Ye;return Ct.setup==null?void 0:Ct.setup()});return()=>{for(const Ye of Re)Ye==null||Ye()}},Ce.map(Re=>{let{sensor:Ye}=Re;return Ye}))}function Kr(Ce,Re){return(0,z.useMemo)(()=>Ce.reduce((Ye,Ct)=>{let{eventName:Qt,handler:qt}=Ct;return Ye[Qt]=xn=>{qt(xn,Re)},Ye},{}),[Ce,Re])}function oo(Ce){return(0,z.useMemo)(()=>Ce?Yt(Ce):null,[Ce])}const Xa=[];function In(Ce,Re){Re===void 0&&(Re=vt);const[Ye]=Ce,Ct=oo(Ye?(0,ve.Jj)(Ye):null),[Qt,qt]=(0,z.useState)(Xa);function xn(){qt(()=>Ce.length?Ce.map(Qn=>jn(Qn)?Ct:new je(Re(Qn),Qn)):Xa)}const Dn=Qa({callback:xn});return(0,ve.LI)(()=>{Dn==null||Dn.disconnect(),xn(),Ce.forEach(Qn=>Dn==null?void 0:Dn.observe(Qn))},[Ce]),Qt}function ur(Ce){if(!Ce)return null;if(Ce.children.length>1)return Ce;const Re=Ce.children[0];return(0,ve.Re)(Re)?Re:Ce}function nr(Ce){let{measure:Re}=Ce;const[Ye,Ct]=(0,z.useState)(null),Qt=(0,z.useCallback)(Pa=>{for(const{target:Ca}of Pa)if((0,ve.Re)(Ca)){Ct(ga=>{const Or=Re(Ca);return ga?li(_r({},ga),{width:Or.width,height:Or.height}):Or});break}},[Re]),qt=Qa({callback:Qt}),xn=(0,z.useCallback)(Pa=>{const Ca=ur(Pa);qt==null||qt.disconnect(),Ca&&(qt==null||qt.observe(Ca)),Ct(Ca?Re(Ca):null)},[Re,qt]),[Dn,Qn]=(0,ve.wm)(xn);return(0,z.useMemo)(()=>({nodeRef:Dn,rect:Ye,setRef:Qn}),[Ye,Dn,Qn])}const sr=[{sensor:dt,options:{}},{sensor:_e,options:{}}],er={current:{}},ht={draggable:{measure:Tt},droppable:{measure:Tt,strategy:Ea.WhileDragging,frequency:qn.Optimized},dragOverlay:{measure:vt}};class en extends Map{get(Re){var Ye;return Re!=null&&(Ye=super.get(Re))!=null?Ye:void 0}toArray(){return Array.from(this.values())}getEnabled(){return this.toArray().filter(Re=>{let{disabled:Ye}=Re;return!Ye})}getNodeFor(Re){var Ye,Ct;return(Ye=(Ct=this.get(Re))==null?void 0:Ct.node.current)!=null?Ye:void 0}}const nn={activatorEvent:null,active:null,activeNode:null,activeNodeRect:null,collisions:null,containerNodeRect:null,draggableNodes:new Map,droppableRects:new Map,droppableContainers:new en,over:null,dragOverlay:{nodeRef:{current:null},rect:null,setRef:a},scrollableAncestors:[],scrollableAncestorRects:[],measuringConfiguration:ht,measureDroppableContainers:a,windowRect:null,measuringScheduled:!1},yn={activatorEvent:null,activators:[],active:null,activeNodeRect:null,ariaDescribedById:{draggable:""},dispatch:a,draggableNodes:new Map,over:null,measureDroppableContainers:a},Tn=(0,z.createContext)(yn),mn=(0,z.createContext)(nn);function Nn(){return{draggable:{active:null,initialCoordinates:{x:0,y:0},nodes:new Map,translate:{x:0,y:0}},droppable:{containers:new en}}}function En(Ce,Re){switch(Re.type){case re.DragStart:return li(_r({},Ce),{draggable:li(_r({},Ce.draggable),{initialCoordinates:Re.initialCoordinates,active:Re.active})});case re.DragMove:return Ce.draggable.active==null?Ce:li(_r({},Ce),{draggable:li(_r({},Ce.draggable),{translate:{x:Re.coordinates.x-Ce.draggable.initialCoordinates.x,y:Re.coordinates.y-Ce.draggable.initialCoordinates.y}})});case re.DragEnd:case re.DragCancel:return li(_r({},Ce),{draggable:li(_r({},Ce.draggable),{active:null,initialCoordinates:{x:0,y:0},translate:{x:0,y:0}})});case re.RegisterDroppable:{const{element:Ye}=Re,{id:Ct}=Ye,Qt=new en(Ce.droppable.containers);return Qt.set(Ct,Ye),li(_r({},Ce),{droppable:li(_r({},Ce.droppable),{containers:Qt})})}case re.SetDroppableDisabled:{const{id:Ye,key:Ct,disabled:Qt}=Re,qt=Ce.droppable.containers.get(Ye);if(!qt||Ct!==qt.key)return Ce;const xn=new en(Ce.droppable.containers);return xn.set(Ye,li(_r({},qt),{disabled:Qt})),li(_r({},Ce),{droppable:li(_r({},Ce.droppable),{containers:xn})})}case re.UnregisterDroppable:{const{id:Ye,key:Ct}=Re,Qt=Ce.droppable.containers.get(Ye);if(!Qt||Ct!==Qt.key)return Ce;const qt=new en(Ce.droppable.containers);return qt.delete(Ye),li(_r({},Ce),{droppable:li(_r({},Ce.droppable),{containers:qt})})}default:return Ce}}function ar(Ce){let{disabled:Re}=Ce;const{active:Ye,activatorEvent:Ct,draggableNodes:Qt}=(0,z.useContext)(Tn),qt=(0,ve.D9)(Ct),xn=(0,ve.D9)(Ye==null?void 0:Ye.id);return(0,z.useEffect)(()=>{if(!Re&&!Ct&&qt&&xn!=null){if(!(0,ve.vd)(qt)||document.activeElement===qt.target)return;const Dn=Qt.get(xn);if(!Dn)return;const{activatorNode:Qn,node:Pa}=Dn;if(!Qn.current&&!Pa.current)return;requestAnimationFrame(()=>{for(const Ca of[Qn.current,Pa.current]){if(!Ca)continue;const ga=(0,ve.so)(Ca);if(ga){ga.focus();break}}})}},[Ct,Re,Qt,xn,qt]),null}function Ra(Ce,Re){let Qt=Re,{transform:Ye}=Qt,Ct=lu(Qt,["transform"]);return Ce!=null&&Ce.length?Ce.reduce((qt,xn)=>xn(_r({transform:qt},Ct)),Ye):Ye}function gn(Ce){return(0,z.useMemo)(()=>({draggable:_r(_r({},ht.draggable),Ce==null?void 0:Ce.draggable),droppable:_r(_r({},ht.droppable),Ce==null?void 0:Ce.droppable),dragOverlay:_r(_r({},ht.dragOverlay),Ce==null?void 0:Ce.dragOverlay)}),[Ce==null?void 0:Ce.draggable,Ce==null?void 0:Ce.droppable,Ce==null?void 0:Ce.dragOverlay])}function io(Ce){let{activeNode:Re,measure:Ye,initialRect:Ct,config:Qt=!0}=Ce;const qt=(0,z.useRef)(!1),{x:xn,y:Dn}=typeof Qt=="boolean"?{x:Qt,y:Qt}:Qt;(0,ve.LI)(()=>{if(!xn&&!Dn||!Re){qt.current=!1;return}if(qt.current||!Ct)return;const Pa=Re==null?void 0:Re.node.current;if(!Pa||Pa.isConnected===!1)return;const Ca=Ye(Pa),ga=Be(Ca,Ct);if(xn||(ga.x=0),Dn||(ga.y=0),qt.current=!0,Math.abs(ga.x)>0||Math.abs(ga.y)>0){const Or=It(Pa);Or&&Or.scrollBy({top:ga.y,left:ga.x})}},[Re,xn,Dn,Ct,Ye])}const to=(0,z.createContext)(li(_r({},E),{scaleX:1,scaleY:1}));var no;(function(Ce){Ce[Ce.Uninitialized=0]="Uninitialized",Ce[Ce.Initializing=1]="Initializing",Ce[Ce.Initialized=2]="Initialized"})(no||(no={}));const Mo=(0,z.memo)(function(Re){var Ye,Ct,Qt,qt;let Jo=Re,{id:xn,accessibility:Dn,autoScroll:Qn=!0,children:Pa,sensors:Ca=sr,collisionDetection:ga=Ee,measuring:Or,modifiers:Mr}=Jo,Ro=lu(Jo,["id","accessibility","autoScroll","children","sensors","collisionDetection","measuring","modifiers"]);const Ur=(0,z.useReducer)(En,void 0,Nn),[la,Yn]=Ur,[oa,ra]=ke(),[Nr,Zr]=(0,z.useState)(no.Uninitialized),hr=Nr===no.Initialized,{draggable:{active:xr,nodes:kr,translate:ho},droppable:{containers:ti}}=la,yo=xr!=null?kr.get(xr):null,Rr=(0,z.useRef)({initial:null,translated:null}),ro=(0,z.useMemo)(()=>{var fr;return xr!=null?{id:xr,data:(fr=yo==null?void 0:yo.data)!=null?fr:er,rect:Rr}:null},[xr,yo]),Fo=(0,z.useRef)(null),[vo,Eo]=(0,z.useState)(null),[sa,jo]=(0,z.useState)(null),wi=(0,ve.Ey)(Ro,Object.values(Ro)),Zi=(0,ve.Ld)("DndDescribedBy",xn),nl=(0,z.useMemo)(()=>ti.getEnabled(),[ti]),Xi=gn(Or),{droppableRects:zi,measureDroppableContainers:Fi,measuringScheduled:ul}=Ga(nl,{dragging:hr,dependencies:[ho.x,ho.y],config:Xi.droppable}),_i=kt(kr,xr),rl=(0,z.useMemo)(()=>sa?(0,ve.DC)(sa):null,[sa]),Ut=Tr(),Ht=Ar(_i,Xi.draggable.measure);io({activeNode:xr!=null?kr.get(xr):null,config:Ut.layoutShiftCompensation,initialRect:Ht,measure:Xi.draggable.measure});const Zt=Rt(_i,Xi.draggable.measure,Ht),ba=Rt(_i?_i.parentElement:null),Va=(0,z.useRef)({activatorEvent:null,active:null,activeNode:_i,collisionRect:null,collisions:null,droppableRects:zi,draggableNodes:kr,draggingNode:null,draggingNodeRect:null,droppableContainers:ti,over:null,scrollableAncestors:[],scrollAdjustedTranslate:null}),Fa=ti.getNodeFor((Ye=Va.current.over)==null?void 0:Ye.id),Mn=nr({measure:Xi.dragOverlay.measure}),Ua=(Ct=Mn.nodeRef.current)!=null?Ct:_i,vn=hr?(Qt=Mn.rect)!=null?Qt:Zt:null,Za=!!(Mn.nodeRef.current&&Mn.rect),Da=Dt(Za?null:Zt),Io=oo(Ua?(0,ve.Jj)(Ua):null),Ma=cn(hr?Fa!=null?Fa:_i:null),$o=In(Ma),Si=Ra(Mr,{transform:{x:ho.x-Da.x,y:ho.y-Da.y,scaleX:1,scaleY:1},activatorEvent:sa,active:ro,activeNodeRect:Zt,containerNodeRect:ba,draggingNodeRect:vn,over:Va.current.over,overlayNodeRect:Mn.rect,scrollableAncestors:Ma,scrollableAncestorRects:$o,windowRect:Io}),Ko=rl?(0,ve.IH)(rl,ho):null,Sr=On(Ma),Pr=Xr(Sr),Xn=Xr(Sr,[Zt]),ao=(0,ve.IH)(Si,Pr),oi=vn?Ge(vn,Si):null,ha=ro&&oi?ga({active:ro,collisionRect:oi,droppableRects:zi,droppableContainers:nl,pointerCoordinates:Ko}):null,ca=ue(ha,"id"),[eo,Ai]=(0,z.useState)(null),kn=Za?Si:(0,ve.IH)(Si,Xn),tr=ft(kn,(qt=eo==null?void 0:eo.rect)!=null?qt:null,Zt),aa=(0,z.useRef)(null),an=(0,z.useCallback)((fr,So)=>{let{sensor:Ha,options:Yr}=So;if(Fo.current==null)return;const mo=kr.get(Fo.current);if(!mo)return;const Do=fr.nativeEvent,Sn=new Ha({active:Fo.current,activeNode:mo,event:Do,options:Yr,context:Va,onAbort(Oa){if(!kr.get(Oa))return;const{onDragAbort:ya}=wi.current,wr={id:Oa};ya==null||ya(wr),oa({type:"onDragAbort",event:wr})},onPending(Oa,Hn,ya,wr){if(!kr.get(Oa))return;const{onDragPending:Co}=wi.current,qo={id:Oa,constraint:Hn,initialCoordinates:ya,offset:wr};Co==null||Co(qo),oa({type:"onDragPending",event:qo})},onStart(Oa){const Hn=Fo.current;if(Hn==null)return;const ya=kr.get(Hn);if(!ya)return;const{onDragStart:wr}=wi.current,Fr={activatorEvent:Do,active:{id:Hn,data:ya.data,rect:Rr}};(0,se.unstable_batchedUpdates)(()=>{wr==null||wr(Fr),Zr(no.Initializing),Yn({type:re.DragStart,initialCoordinates:Oa,active:Hn}),oa({type:"onDragStart",event:Fr}),Eo(aa.current),jo(Do)})},onMove(Oa){Yn({type:re.DragMove,coordinates:Oa})},onEnd:na(re.DragEnd),onCancel:na(re.DragCancel)});aa.current=Sn;function na(Oa){return function(){return Au(this,null,function*(){const{active:ya,collisions:wr,over:Fr,scrollAdjustedTranslate:Co}=Va.current;let qo=null;if(ya&&Co){const{cancelDrop:Di}=wi.current;qo={activatorEvent:Do,active:ya,collisions:wr,delta:Co,over:Fr},Oa===re.DragEnd&&typeof Di=="function"&&(yield Promise.resolve(Di(qo)))&&(Oa=re.DragCancel)}Fo.current=null,(0,se.unstable_batchedUpdates)(()=>{Yn({type:Oa}),Zr(no.Uninitialized),Ai(null),Eo(null),jo(null),aa.current=null;const Di=Oa===re.DragEnd?"onDragEnd":"onDragCancel";if(qo){const Hi=wi.current[Di];Hi==null||Hi(qo),oa({type:Di,event:qo})}})})}}},[kr]),Vn=(0,z.useCallback)((fr,So)=>(Ha,Yr)=>{const mo=Ha.nativeEvent,Do=kr.get(Yr);if(Fo.current!==null||!Do||mo.dndKit||mo.defaultPrevented)return;const Sn={active:Do};fr(Ha,So.options,Sn)===!0&&(mo.dndKit={capturedBy:So.sensor},Fo.current=Yr,an(Ha,So))},[kr,an]),bn=Jt(Ca,Vn);Er(Ca),(0,ve.LI)(()=>{Zt&&Nr===no.Initializing&&Zr(no.Initialized)},[Zt,Nr]),(0,z.useEffect)(()=>{const{onDragMove:fr}=wi.current,{active:So,activatorEvent:Ha,collisions:Yr,over:mo}=Va.current;if(!So||!Ha)return;const Do={active:So,activatorEvent:Ha,collisions:Yr,delta:{x:ao.x,y:ao.y},over:mo};(0,se.unstable_batchedUpdates)(()=>{fr==null||fr(Do),oa({type:"onDragMove",event:Do})})},[ao.x,ao.y]),(0,z.useEffect)(()=>{const{active:fr,activatorEvent:So,collisions:Ha,droppableContainers:Yr,scrollAdjustedTranslate:mo}=Va.current;if(!fr||Fo.current==null||!So||!mo)return;const{onDragOver:Do}=wi.current,Sn=Yr.get(ca),na=Sn&&Sn.rect.current?{id:Sn.id,rect:Sn.rect.current,data:Sn.data,disabled:Sn.disabled}:null,Oa={active:fr,activatorEvent:So,collisions:Ha,delta:{x:mo.x,y:mo.y},over:na};(0,se.unstable_batchedUpdates)(()=>{Ai(na),Do==null||Do(Oa),oa({type:"onDragOver",event:Oa})})},[ca]),(0,ve.LI)(()=>{Va.current={activatorEvent:sa,active:ro,activeNode:_i,collisionRect:oi,collisions:ha,droppableRects:zi,draggableNodes:kr,draggingNode:Ua,draggingNodeRect:vn,droppableContainers:ti,over:eo,scrollableAncestors:Ma,scrollAdjustedTranslate:ao},Rr.current={initial:vn,translated:oi}},[ro,_i,ha,oi,kr,Ua,vn,zi,ti,eo,Ma,ao]),rn(li(_r({},Ut),{delta:ho,draggingRect:oi,pointerCoordinates:Ko,scrollableAncestors:Ma,scrollableAncestorRects:$o}));const $r=(0,z.useMemo)(()=>({active:ro,activeNode:_i,activeNodeRect:Zt,activatorEvent:sa,collisions:ha,containerNodeRect:ba,dragOverlay:Mn,draggableNodes:kr,droppableContainers:ti,droppableRects:zi,over:eo,measureDroppableContainers:Fi,scrollableAncestors:Ma,scrollableAncestorRects:$o,measuringConfiguration:Xi,measuringScheduled:ul,windowRect:Io}),[ro,_i,Zt,sa,ha,ba,Mn,kr,ti,zi,eo,Fi,Ma,$o,Xi,ul,Io]),mr=(0,z.useMemo)(()=>({activatorEvent:sa,activators:bn,active:ro,activeNodeRect:Zt,ariaDescribedById:{draggable:Zi},dispatch:Yn,draggableNodes:kr,over:eo,measureDroppableContainers:Fi}),[sa,bn,ro,Zt,Yn,Zi,kr,eo,Fi]);return z.createElement(et.Provider,{value:ra},z.createElement(Tn.Provider,{value:mr},z.createElement(mn.Provider,{value:$r},z.createElement(to.Provider,{value:tr},Pa)),z.createElement(ar,{disabled:(Dn==null?void 0:Dn.restoreFocus)===!1})),z.createElement(ye,li(_r({},Dn),{hiddenTextDescribedById:Zi})));function Tr(){const fr=(vo==null?void 0:vo.autoScrollEnabled)===!1,So=typeof Qn=="object"?Qn.enabled===!1:Qn===!1,Ha=hr&&!fr&&!So;return typeof Qn=="object"?li(_r({},Qn),{enabled:Ha}):{enabled:Ha}}}),ea=(0,z.createContext)(null),Aa="button",dr="Draggable";function pa(Ce){let{id:Re,data:Ye,disabled:Ct=!1,attributes:Qt}=Ce;const qt=(0,ve.Ld)(dr),{activators:xn,activatorEvent:Dn,active:Qn,activeNodeRect:Pa,ariaDescribedById:Ca,draggableNodes:ga,over:Or}=(0,z.useContext)(Tn),{role:Mr=Aa,roleDescription:Ro="draggable",tabIndex:Ur=0}=Qt!=null?Qt:{},la=(Qn==null?void 0:Qn.id)===Re,Yn=(0,z.useContext)(la?to:ea),[oa,ra]=(0,ve.wm)(),[Nr,Zr]=(0,ve.wm)(),hr=Kr(xn,Re),xr=(0,ve.Ey)(Ye);(0,ve.LI)(()=>(ga.set(Re,{id:Re,key:qt,node:oa,activatorNode:Nr,data:xr}),()=>{const ho=ga.get(Re);ho&&ho.key===qt&&ga.delete(Re)}),[ga,Re]);const kr=(0,z.useMemo)(()=>({role:Mr,tabIndex:Ur,"aria-disabled":Ct,"aria-pressed":la&&Mr===Aa?!0:void 0,"aria-roledescription":Ro,"aria-describedby":Ca.draggable}),[Ct,Mr,Ur,la,Ro,Ca.draggable]);return{active:Qn,activatorEvent:Dn,activeNodeRect:Pa,attributes:kr,isDragging:la,listeners:Ct?void 0:hr,node:oa,over:Or,setNodeRef:ra,setActivatorNodeRef:Zr,transform:Yn}}function jr(){return(0,z.useContext)(mn)}const Ir="Droppable",br={timeout:25};function po(Ce){let{data:Re,disabled:Ye=!1,id:Ct,resizeObserverConfig:Qt}=Ce;const qt=(0,ve.Ld)(Ir),{active:xn,dispatch:Dn,over:Qn,measureDroppableContainers:Pa}=(0,z.useContext)(Tn),Ca=(0,z.useRef)({disabled:Ye}),ga=(0,z.useRef)(!1),Or=(0,z.useRef)(null),Mr=(0,z.useRef)(null),{disabled:Ro,updateMeasurementsFor:Ur,timeout:la}=_r(_r({},br),Qt),Yn=(0,ve.Ey)(Ur!=null?Ur:Ct),oa=(0,z.useCallback)(()=>{if(!ga.current){ga.current=!0;return}Mr.current!=null&&clearTimeout(Mr.current),Mr.current=setTimeout(()=>{Pa(Array.isArray(Yn.current)?Yn.current:[Yn.current]),Mr.current=null},la)},[la]),ra=Qa({callback:oa,disabled:Ro||!xn}),Nr=(0,z.useCallback)((kr,ho)=>{ra&&(ho&&(ra.unobserve(ho),ga.current=!1),kr&&ra.observe(kr))},[ra]),[Zr,hr]=(0,ve.wm)(Nr),xr=(0,ve.Ey)(Re);return(0,z.useEffect)(()=>{!ra||!Zr.current||(ra.disconnect(),ga.current=!1,ra.observe(Zr.current))},[Zr,ra]),(0,z.useEffect)(()=>(Dn({type:re.RegisterDroppable,element:{id:Ct,key:qt,disabled:Ye,node:Zr,rect:Or,data:xr}}),()=>Dn({type:re.UnregisterDroppable,key:qt,id:Ct})),[Ct]),(0,z.useEffect)(()=>{Ye!==Ca.current.disabled&&(Dn({type:re.SetDroppableDisabled,id:Ct,key:qt,disabled:Ye}),Ca.current.disabled=Ye)},[Ct,qt,Ye,Dn]),{active:xn,rect:Or,isOver:(Qn==null?void 0:Qn.id)===Ct,node:Zr,over:Qn,setNodeRef:hr}}function Lo(Ce){let{animation:Re,children:Ye}=Ce;const[Ct,Qt]=useState(null),[qt,xn]=useState(null),Dn=usePrevious(Ye);return!Ye&&!Ct&&Dn&&Qt(Dn),useIsomorphicLayoutEffect(()=>{if(!qt)return;const Qn=Ct==null?void 0:Ct.key,Pa=Ct==null?void 0:Ct.props.id;if(Qn==null||Pa==null){Qt(null);return}Promise.resolve(Re(Pa,qt)).then(()=>{Qt(null)})},[Re,Ct,qt]),React.createElement(React.Fragment,null,Ye,Ct?cloneElement(Ct,{ref:xn}):null)}const Oi={x:0,y:0,scaleX:1,scaleY:1};function vi(Ce){let{children:Re}=Ce;return React.createElement(Tn.Provider,{value:yn},React.createElement(to.Provider,{value:Oi},Re))}const Ei={position:"fixed",touchAction:"none"},$i=Ce=>isKeyboardEvent(Ce)?"transform 250ms ease":void 0,_n=null,xo={duration:250,easing:"ease",keyframes:Ce=>{let{transform:{initial:Re,final:Ye}}=Ce;return[{transform:ve.ux.Transform.toString(Re)},{transform:ve.ux.Transform.toString(Ye)}]},sideEffects:(Ce=>Re=>{let{active:Ye,dragOverlay:Ct}=Re;const Qt={},{styles:qt,className:xn}=Ce;if(qt!=null&&qt.active)for(const[Dn,Qn]of Object.entries(qt.active))Qn!==void 0&&(Qt[Dn]=Ye.node.style.getPropertyValue(Dn),Ye.node.style.setProperty(Dn,Qn));if(qt!=null&&qt.dragOverlay)for(const[Dn,Qn]of Object.entries(qt.dragOverlay))Qn!==void 0&&Ct.node.style.setProperty(Dn,Qn);return xn!=null&&xn.active&&Ye.node.classList.add(xn.active),xn!=null&&xn.dragOverlay&&Ct.node.classList.add(xn.dragOverlay),function(){for(const[Qn,Pa]of Object.entries(Qt))Ye.node.style.setProperty(Qn,Pa);xn!=null&&xn.active&&Ye.node.classList.remove(xn.active)}})({styles:{active:{opacity:"0"}}})};function wo(Ce){let{config:Re,draggableNodes:Ye,droppableContainers:Ct,measuringConfiguration:Qt}=Ce;return useEvent((qt,xn)=>{if(Re===null)return;const Dn=Ye.get(qt);if(!Dn)return;const Qn=Dn.node.current;if(!Qn)return;const Pa=ur(xn);if(!Pa)return;const{transform:Ca}=getWindow(xn).getComputedStyle(xn),ga=Ke(Ca);if(!ga)return;const Or=typeof Re=="function"?Re:ui(Re);return Le(Qn,Qt.draggable.measure),Or({active:{id:qt,data:Dn.data,node:Qn,rect:Qt.draggable.measure(Qn)},draggableNodes:Ye,dragOverlay:{node:xn,rect:Qt.dragOverlay.measure(Pa)},droppableContainers:Ct,measuringConfiguration:Qt,transform:ga})})}function ui(Ce){const{duration:Re,easing:Ye,sideEffects:Ct,keyframes:Qt}=_r(_r({},xo),Ce);return qt=>{let oa=qt,{active:xn,dragOverlay:Dn,transform:Qn}=oa,Pa=lu(oa,["active","dragOverlay","transform"]);if(!Re)return;const Ca={x:Dn.rect.left-xn.rect.left,y:Dn.rect.top-xn.rect.top},ga={scaleX:Qn.scaleX!==1?xn.rect.width*Qn.scaleX/Dn.rect.width:1,scaleY:Qn.scaleY!==1?xn.rect.height*Qn.scaleY/Dn.rect.height:1},Or=_r({x:Qn.x-Ca.x,y:Qn.y-Ca.y},ga),Mr=Qt(li(_r({},Pa),{active:xn,dragOverlay:Dn,transform:{initial:Qn,final:Or}})),[Ro]=Mr,Ur=Mr[Mr.length-1];if(JSON.stringify(Ro)===JSON.stringify(Ur))return;const la=Ct==null?void 0:Ct(_r({active:xn,dragOverlay:Dn},Pa)),Yn=Dn.node.animate(Mr,{duration:Re,easing:Ye,fill:"forwards"});return new Promise(ra=>{Yn.onfinish=()=>{la==null||la(),ra()}})}}let Bi=0;function Yi(Ce){return useMemo(()=>{if(Ce!=null)return Bi++,Bi},[Ce])}const Mi=null},18257:function(bt,yt,te){"use strict";te.d(yt,{DL:function(){return ie}});var z=te(35241);function se(ke){return Ze=>{let{transform:Me}=Ze;return li(_r({},Me),{x:Math.ceil(Me.x/ke)*ke,y:Math.ceil(Me.y/ke)*ke})}}const ve=ke=>{let{transform:Ze}=ke;return li(_r({},Ze),{y:0})};function Ie(ke,Ze,Me){const ye=_r({},ke);return Ze.top+ke.y<=Me.top?ye.y=Me.top-Ze.top:Ze.bottom+ke.y>=Me.top+Me.height&&(ye.y=Me.top+Me.height-Ze.bottom),Ze.left+ke.x<=Me.left?ye.x=Me.left-Ze.left:Ze.right+ke.x>=Me.left+Me.width&&(ye.x=Me.left+Me.width-Ze.right),ye}const be=ke=>{let{containerNodeRect:Ze,draggingNodeRect:Me,transform:ye}=ke;return!Me||!Ze?ye:Ie(ye,Me,Ze)},Ne=ke=>{let{draggingNodeRect:Ze,transform:Me,scrollableAncestorRects:ye}=ke;const re=ye[0];return!Ze||!re?Me:Ie(Me,Ze,re)},ie=ke=>{let{transform:Ze}=ke;return li(_r({},Ze),{x:0})},et=ke=>{let{transform:Ze,draggingNodeRect:Me,windowRect:ye}=ke;return!Me||!ye?Ze:Ie(Ze,Me,ye)},He=ke=>{let{activatorEvent:Ze,draggingNodeRect:Me,transform:ye}=ke;if(Me&&Ze){const re=getEventCoordinates(Ze);if(!re)return ye;const a=re.x-Me.left,y=re.y-Me.top;return li(_r({},ye),{x:ye.x+a-Me.width/2,y:ye.y+y-Me.height/2})}return ye}},19719:function(bt,yt,te){"use strict";te.d(yt,{Fo:function(){return ee},PG:function(){return Ze},Rp:function(){return Ie},nB:function(){return xe},qw:function(){return y}});var z=te(59301),se=te(87954),ve=te(35241);function Ie(Ge,Ke,rt){const nt=Ge.slice();return nt.splice(rt<0?nt.length+rt:rt,0,nt.splice(Ke,1)[0]),nt}function be(Ge,Ke,rt){const nt=Ge.slice();return nt[Ke]=Ge[rt],nt[rt]=Ge[Ke],nt}function Ne(Ge,Ke){return Ge.reduce((rt,nt,vt)=>{const Tt=Ke.get(nt);return Tt&&(rt[vt]=Tt),rt},Array(Ge.length))}function ie(Ge){return Ge!==null&&Ge>=0}function et(Ge,Ke){if(Ge===Ke)return!0;if(Ge.length!==Ke.length)return!1;for(let rt=0;rt<Ge.length;rt++)if(Ge[rt]!==Ke[rt])return!1;return!0}function He(Ge){return typeof Ge=="boolean"?{draggable:Ge,droppable:Ge}:Ge}const ke={scaleX:1,scaleY:1},Ze=Ge=>{var Ke;let{rects:rt,activeNodeRect:nt,activeIndex:vt,overIndex:Tt,index:Yt}=Ge;const Xe=(Ke=rt[vt])!=null?Ke:nt;if(!Xe)return null;const st=Me(rt,Yt,vt);if(Yt===vt){const Lt=rt[Tt];return Lt?_r({x:vt<Tt?Lt.left+Lt.width-(Xe.left+Xe.width):Lt.left-Xe.left,y:0},ke):null}return Yt>vt&&Yt<=Tt?_r({x:-Xe.width-st,y:0},ke):Yt<vt&&Yt>=Tt?_r({x:Xe.width+st,y:0},ke):_r({x:0,y:0},ke)};function Me(Ge,Ke,rt){const nt=Ge[Ke],vt=Ge[Ke-1],Tt=Ge[Ke+1];return!nt||!vt&&!Tt?0:rt<Ke?vt?nt.left-(vt.left+vt.width):Tt.left-(nt.left+nt.width):Tt?Tt.left-(nt.left+nt.width):nt.left-(vt.left+vt.width)}const ye=Ge=>{let{rects:Ke,activeIndex:rt,overIndex:nt,index:vt}=Ge;const Tt=Ie(Ke,nt,rt),Yt=Ke[vt],Xe=Tt[vt];return!Xe||!Yt?null:{x:Xe.left-Yt.left,y:Xe.top-Yt.top,scaleX:Xe.width/Yt.width,scaleY:Xe.height/Yt.height}},re=Ge=>{let{activeIndex:Ke,index:rt,rects:nt,overIndex:vt}=Ge,Tt,Yt;return rt===Ke&&(Tt=nt[rt],Yt=nt[vt]),rt===vt&&(Tt=nt[rt],Yt=nt[Ke]),!Yt||!Tt?null:{x:Yt.left-Tt.left,y:Yt.top-Tt.top,scaleX:Yt.width/Tt.width,scaleY:Yt.height/Tt.height}},a={scaleX:1,scaleY:1},y=Ge=>{var Ke;let{activeIndex:rt,activeNodeRect:nt,index:vt,rects:Tt,overIndex:Yt}=Ge;const Xe=(Ke=Tt[rt])!=null?Ke:nt;if(!Xe)return null;if(vt===rt){const Lt=Tt[Yt];return Lt?_r({x:0,y:rt<Yt?Lt.top+Lt.height-(Xe.top+Xe.height):Lt.top-Xe.top},a):null}const st=b(Tt,vt,rt);return vt>rt&&vt<=Yt?_r({x:0,y:-Xe.height-st},a):vt<rt&&vt>=Yt?_r({x:0,y:Xe.height+st},a):_r({x:0,y:0},a)};function b(Ge,Ke,rt){const nt=Ge[Ke],vt=Ge[Ke-1],Tt=Ge[Ke+1];return nt?rt<Ke?vt?nt.top-(vt.top+vt.height):Tt?Tt.top-(nt.top+nt.height):0:Tt?Tt.top-(nt.top+nt.height):vt?nt.top-(vt.top+vt.height):0:0}const E="Sortable",x=z.createContext({activeIndex:-1,containerId:E,disableTransforms:!1,items:[],overIndex:-1,useDragOverlay:!1,sortedRects:[],strategy:ye,disabled:{draggable:!1,droppable:!1}});function ee(Ge){let{children:Ke,id:rt,items:nt,strategy:vt=ye,disabled:Tt=!1}=Ge;const{active:Yt,dragOverlay:Xe,droppableRects:st,over:Lt,measureDroppableContainers:It}=(0,se.Cj)(),St=(0,ve.Ld)(E,rt),dn=Xe.rect!==null,Fe=(0,z.useMemo)(()=>nt.map(pt=>typeof pt=="object"&&"id"in pt?pt.id:pt),[nt]),Xt=Yt!=null,Kt=Yt?Fe.indexOf(Yt.id):-1,jn=Lt?Fe.indexOf(Lt.id):-1,Pt=(0,z.useRef)(Fe),qe=!et(Fe,Pt.current),lt=jn!==-1&&Kt===-1||qe,it=He(Tt);(0,ve.LI)(()=>{qe&&Xt&&It(Fe)},[qe,Fe,Xt,It]),(0,z.useEffect)(()=>{Pt.current=Fe},[Fe]);const Oe=(0,z.useMemo)(()=>({activeIndex:Kt,containerId:St,disabled:it,disableTransforms:lt,items:Fe,overIndex:jn,useDragOverlay:dn,sortedRects:Ne(Fe,st),strategy:vt}),[Kt,St,it.draggable,it.droppable,lt,Fe,jn,st,dn,vt]);return z.createElement(x.Provider,{value:Oe},Ke)}const ne=Ge=>{let{id:Ke,items:rt,activeIndex:nt,overIndex:vt}=Ge;return Ie(rt,nt,vt).indexOf(Ke)},oe=Ge=>{let{containerId:Ke,isSorting:rt,wasDragging:nt,index:vt,items:Tt,newIndex:Yt,previousItems:Xe,previousContainerId:st,transition:Lt}=Ge;return!Lt||!nt||Xe!==Tt&&vt===Yt?!1:rt?!0:Yt!==vt&&Ke===st},ae={duration:200,easing:"ease"},ue="transform",me=ve.ux.Transition.toString({property:ue,duration:0,easing:"linear"}),fe={roleDescription:"sortable"};function Pe(Ge){let{disabled:Ke,index:rt,node:nt,rect:vt}=Ge;const[Tt,Yt]=(0,z.useState)(null),Xe=(0,z.useRef)(rt);return(0,ve.LI)(()=>{if(!Ke&&rt!==Xe.current&&nt.current){const st=vt.current;if(st){const Lt=(0,se.VK)(nt.current,{ignoreTransform:!0}),It={x:st.left-Lt.left,y:st.top-Lt.top,scaleX:st.width/Lt.width,scaleY:st.height/Lt.height};(It.x||It.y)&&Yt(It)}}rt!==Xe.current&&(Xe.current=rt)},[Ke,rt,nt,vt]),(0,z.useEffect)(()=>{Tt&&Yt(null)},[Tt]),Tt}function xe(Ge){let{animateLayoutChanges:Ke=oe,attributes:rt,disabled:nt,data:vt,getNewIndex:Tt=ne,id:Yt,strategy:Xe,resizeObserverConfig:st,transition:Lt=ae}=Ge;const{items:It,containerId:St,activeIndex:dn,disabled:Fe,disableTransforms:Xt,sortedRects:Kt,overIndex:jn,useDragOverlay:Pt,strategy:qe}=(0,z.useContext)(x),lt=Ee(nt,Fe),it=It.indexOf(Yt),Oe=(0,z.useMemo)(()=>_r({sortable:{containerId:St,index:it,items:It}},vt),[St,vt,it,It]),pt=(0,z.useMemo)(()=>It.slice(It.indexOf(Yt)),[It,Yt]),{rect:gt,node:Le,isOver:he,setNodeRef:je}=(0,se.Zj)({id:Yt,data:Oe,disabled:lt.droppable,resizeObserverConfig:_r({updateMeasurementsFor:pt},st)}),{active:We,activatorEvent:we,activeNodeRect:mt,attributes:Je,setNodeRef:jt,listeners:Se,isDragging:ut,over:wt,setActivatorNodeRef:Ae,transform:_e}=(0,se.O1)({id:Yt,data:Oe,attributes:_r(_r({},fe),rt),disabled:lt.draggable}),ct=(0,ve.HB)(je,jt),Ft=!!We,zt=Ft&&!Xt&&ie(dn)&&ie(jn),fn=!Pt&&ut,dt=fn&&zt?_e:null,Bt=Xe!=null?Xe:qe,Et=zt?dt!=null?dt:Bt({rects:Kt,activeNodeRect:mt,activeIndex:dn,overIndex:jn,index:it}):null,tn=ie(dn)&&ie(jn)?Tt({id:Yt,items:It,activeIndex:dn,overIndex:jn}):it,Vt=We==null?void 0:We.id,sn=(0,z.useRef)({activeId:Vt,items:It,newIndex:tn,containerId:St}),Un=It!==sn.current.items,pn=Ke({active:We,containerId:St,isDragging:ut,isSorting:Ft,id:Yt,index:it,items:It,newIndex:sn.current.newIndex,previousItems:sn.current.items,previousContainerId:sn.current.containerId,transition:Lt,wasDragging:sn.current.activeId!=null}),rn=Pe({disabled:!pn,index:it,node:Le,rect:gt});return(0,z.useEffect)(()=>{Ft&&sn.current.newIndex!==tn&&(sn.current.newIndex=tn),St!==sn.current.containerId&&(sn.current.containerId=St),It!==sn.current.items&&(sn.current.items=It)},[Ft,tn,St,It]),(0,z.useEffect)(()=>{if(Vt===sn.current.activeId)return;if(Vt&&!sn.current.activeId){sn.current.activeId=Vt;return}const _t=setTimeout(()=>{sn.current.activeId=Vt},50);return()=>clearTimeout(_t)},[Vt]),{active:We,activeIndex:dn,attributes:Je,data:Oe,rect:gt,index:it,newIndex:tn,items:It,isOver:he,isSorting:Ft,isDragging:ut,listeners:Se,node:Le,overIndex:jn,over:wt,setNodeRef:ct,setActivatorNodeRef:Ae,setDroppableNodeRef:je,setDraggableNodeRef:jt,transform:rn!=null?rn:Et,transition:$n()};function $n(){if(rn||Un&&sn.current.newIndex===it)return me;if(!(fn&&!(0,ve.vd)(we)||!Lt)&&(Ft||pn))return ve.ux.Transition.toString(li(_r({},Lt),{property:ue}))}}function Ee(Ge,Ke){var rt,nt;return typeof Ge=="boolean"?{draggable:Ge,droppable:!1}:{draggable:(rt=Ge==null?void 0:Ge.draggable)!=null?rt:Ke.draggable,droppable:(nt=Ge==null?void 0:Ge.droppable)!=null?nt:Ke.droppable}}function De(Ge){if(!Ge)return!1;const Ke=Ge.data.current;return!!(Ke&&"sortable"in Ke&&typeof Ke.sortable=="object"&&"containerId"in Ke.sortable&&"items"in Ke.sortable&&"index"in Ke.sortable)}const ze=[se.g4.Down,se.g4.Right,se.g4.Up,se.g4.Left],ft=(Ge,Ke)=>{let{context:{active:rt,collisionRect:nt,droppableRects:vt,droppableContainers:Tt,over:Yt,scrollableAncestors:Xe}}=Ke;if(ze.includes(Ge.code)){if(Ge.preventDefault(),!rt||!nt)return;const st=[];Tt.getEnabled().forEach(St=>{if(!St||St!=null&&St.disabled)return;const dn=vt.get(St.id);if(dn)switch(Ge.code){case KeyboardCode.Down:nt.top<dn.top&&st.push(St);break;case KeyboardCode.Up:nt.top>dn.top&&st.push(St);break;case KeyboardCode.Left:nt.left>dn.left&&st.push(St);break;case KeyboardCode.Right:nt.left<dn.left&&st.push(St);break}});const Lt=closestCorners({active:rt,collisionRect:nt,droppableRects:vt,droppableContainers:st,pointerCoordinates:null});let It=getFirstCollision(Lt,"id");if(It===(Yt==null?void 0:Yt.id)&&Lt.length>1&&(It=Lt[1].id),It!=null){const St=Tt.get(rt.id),dn=Tt.get(It),Fe=dn?vt.get(dn.id):null,Xt=dn==null?void 0:dn.node.current;if(Xt&&Fe&&St&&dn){const jn=getScrollableAncestors(Xt).some((pt,gt)=>Xe[gt]!==pt),Pt=Be(St,dn),qe=Ue(St,dn),lt=jn||!Pt?{x:0,y:0}:{x:qe?nt.width-Fe.width:0,y:qe?nt.height-Fe.height:0},it={x:Fe.left,y:Fe.top};return lt.x&<.y?it:subtract(it,lt)}}}};function Be(Ge,Ke){return!De(Ge)||!De(Ke)?!1:Ge.data.current.sortable.containerId===Ke.data.current.sortable.containerId}function Ue(Ge,Ke){return!De(Ge)||!De(Ke)||!Be(Ge,Ke)?!1:Ge.data.current.sortable.index<Ke.data.current.sortable.index}},35241:function(bt,yt,te){"use strict";te.d(yt,{$X:function(){return oe},D9:function(){return b},DC:function(){return fe},Ey:function(){return re},FJ:function(){return Ie},Gj:function(){return a},HB:function(){return se},IH:function(){return ne},Jj:function(){return Ne},LI:function(){return Ze},Ld:function(){return x},Nq:function(){return ve},Re:function(){return et},UG:function(){return be},Yz:function(){return ye},qk:function(){return ie},r3:function(){return ke},so:function(){return Ee},ux:function(){return Pe},vZ:function(){return He},vd:function(){return ue},wm:function(){return y},zX:function(){return Me}});var z=te(59301);function se(){for(var De=arguments.length,ze=new Array(De),ft=0;ft<De;ft++)ze[ft]=arguments[ft];return(0,z.useMemo)(()=>Be=>{ze.forEach(Ue=>Ue(Be))},ze)}const ve=typeof window!="undefined"&&typeof window.document!="undefined"&&typeof window.document.createElement!="undefined";function Ie(De){const ze=Object.prototype.toString.call(De);return ze==="[object Window]"||ze==="[object global]"}function be(De){return"nodeType"in De}function Ne(De){var ze,ft;return De?Ie(De)?De:be(De)&&(ze=(ft=De.ownerDocument)==null?void 0:ft.defaultView)!=null?ze:window:window}function ie(De){const{Document:ze}=Ne(De);return De instanceof ze}function et(De){return Ie(De)?!1:De instanceof Ne(De).HTMLElement}function He(De){return De instanceof Ne(De).SVGElement}function ke(De){return De?Ie(De)?De.document:be(De)?ie(De)?De:et(De)||He(De)?De.ownerDocument:document:document:document}const Ze=ve?z.useLayoutEffect:z.useEffect;function Me(De){const ze=(0,z.useRef)(De);return Ze(()=>{ze.current=De}),(0,z.useCallback)(function(){for(var ft=arguments.length,Be=new Array(ft),Ue=0;Ue<ft;Ue++)Be[Ue]=arguments[Ue];return ze.current==null?void 0:ze.current(...Be)},[])}function ye(){const De=(0,z.useRef)(null),ze=(0,z.useCallback)((Be,Ue)=>{De.current=setInterval(Be,Ue)},[]),ft=(0,z.useCallback)(()=>{De.current!==null&&(clearInterval(De.current),De.current=null)},[]);return[ze,ft]}function re(De,ze){ze===void 0&&(ze=[De]);const ft=(0,z.useRef)(De);return Ze(()=>{ft.current!==De&&(ft.current=De)},ze),ft}function a(De,ze){const ft=(0,z.useRef)();return(0,z.useMemo)(()=>{const Be=De(ft.current);return ft.current=Be,Be},[...ze])}function y(De){const ze=Me(De),ft=(0,z.useRef)(null),Be=(0,z.useCallback)(Ue=>{Ue!==ft.current&&(ze==null||ze(Ue,ft.current)),ft.current=Ue},[]);return[ft,Be]}function b(De){const ze=(0,z.useRef)();return(0,z.useEffect)(()=>{ze.current=De},[De]),ze.current}let E={};function x(De,ze){return(0,z.useMemo)(()=>{if(ze)return ze;const ft=E[De]==null?0:E[De]+1;return E[De]=ft,De+"-"+ft},[De,ze])}function ee(De){return function(ze){for(var ft=arguments.length,Be=new Array(ft>1?ft-1:0),Ue=1;Ue<ft;Ue++)Be[Ue-1]=arguments[Ue];return Be.reduce((Ge,Ke)=>{const rt=Object.entries(Ke);for(const[nt,vt]of rt){const Tt=Ge[nt];Tt!=null&&(Ge[nt]=Tt+De*vt)}return Ge},_r({},ze))}}const ne=ee(1),oe=ee(-1);function ae(De){return"clientX"in De&&"clientY"in De}function ue(De){if(!De)return!1;const{KeyboardEvent:ze}=Ne(De.target);return ze&&De instanceof ze}function me(De){if(!De)return!1;const{TouchEvent:ze}=Ne(De.target);return ze&&De instanceof ze}function fe(De){if(me(De)){if(De.touches&&De.touches.length){const{clientX:ze,clientY:ft}=De.touches[0];return{x:ze,y:ft}}else if(De.changedTouches&&De.changedTouches.length){const{clientX:ze,clientY:ft}=De.changedTouches[0];return{x:ze,y:ft}}}return ae(De)?{x:De.clientX,y:De.clientY}:null}const Pe=Object.freeze({Translate:{toString(De){if(!De)return;const{x:ze,y:ft}=De;return"translate3d("+(ze?Math.round(ze):0)+"px, "+(ft?Math.round(ft):0)+"px, 0)"}},Scale:{toString(De){if(!De)return;const{scaleX:ze,scaleY:ft}=De;return"scaleX("+ze+") scaleY("+ft+")"}},Transform:{toString(De){if(De)return[Pe.Translate.toString(De),Pe.Scale.toString(De)].join(" ")}},Transition:{toString(De){let{property:ze,duration:ft,easing:Be}=De;return ze+" "+ft+"ms "+Be}}}),xe="a,frame,iframe,input:not([type=hidden]):not(:disabled),select:not(:disabled),textarea:not(:disabled),button:not(:disabled),*[tabindex]";function Ee(De){return De.matches(xe)?De:De.querySelector(xe)}},21697:function(bt,yt){"use strict";yt.Z={lists:"lists___xhHyq",item:"item___pWJAA",children:"children___sDG61",diamond:"diamond___FwgzD",button:"button___WPN6r",mathWrap:"mathWrap___FmnMJ",mathFillWrap:"mathFillWrap___PmY3H"}},16408:function(bt,yt){"use strict";yt.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"}},23505:function(bt,yt){"use strict";yt.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"}},69063:function(bt,yt){"use strict";yt.Z={flex_box_center:"flex_box_center___IBr6x",flex_space_between:"flex_space_between___n2Iz0",flex_box_vertical_center:"flex_box_vertical_center___1umwO",flex_box_center_end:"flex_box_center_end___SRZYb",flex_box_column:"flex_box_column___b90Da",form:"form___V3fAH",title_icon:"title_icon____uDZy",title:"title___RxKwK",content:"content___vFT5m",pubColSty:"pubColSty___dfLkL",selectSty:"selectSty____Wuek",borderSty:"borderSty___EuFYV",delSty:"delSty___AdEeI",delBorder:"delBorder___vcTJc",copHover:"copHover___JVVXI",multiple_select:"multiple_select___ZMPhl",work_checkbox_group:"work_checkbox_group___sGLxY"}},5295:function(bt,yt){"use strict";yt.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"}},9859:function(bt,yt,te){"use strict";var z=te(59301),se=Object.defineProperty,ve=Object.getOwnPropertySymbols,Ie=Object.prototype.hasOwnProperty,be=Object.prototype.propertyIsEnumerable,Ne=(He,ke,Ze)=>ke in He?se(He,ke,{enumerable:!0,configurable:!0,writable:!0,value:Ze}):He[ke]=Ze,ie=(He,ke)=>{for(var Ze in ke||(ke={}))Ie.call(ke,Ze)&&Ne(He,Ze,ke[Ze]);if(ve)for(var Ze of ve(ke))be.call(ke,Ze)&&Ne(He,Ze,ke[Ze]);return He};const et=He=>React.createElement("svg",ie({xmlns:"http://www.w3.org/2000/svg",width:14,height:18},He),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"}));yt.Z="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxNCIgaGVpZ2h0PSIxOCI+PHBhdGggZmlsbD0iI0Y3QjUwMCIgZD0iTTcgNGMzLjg5OSAwIDcgMy4xNDEgNyA3cy0zLjEwMSA3LTcgNy03LTMuMTQxLTctNyAzLjEwMS03IDctN1ptMSAzSDYuMzk1YTMuNTAxIDMuNTAxIDAgMCAxLS44NTcgMS4yNDVjLS4zMi4yOTQtLjc1Mi41NTEtMS4yOTcuNzcyTDQgOS4xMDlWMTAuOWMuNDQ4LS4xNTQuODItLjMxNSAxLjExNy0uNDgzLjIyMi0uMTI2LjQ1LS4yODIuNjg1LS40NjZsLjIzNi0uMTk0VjE1SDhWN1pNNC44MTIgMGMuMTc1IDAgLjM1LjE2LjQzOC4zMThsMS4zMTMgMi4zMDlzLTIuOC4xNi00LjQ2MyAxLjY3MkwuMDg4LjcxNkMwIC42MzYgMCAuNTU3IDAgLjQ3OCAwIC4xNTkuMjYzIDAgLjUyNSAwWm04LjY2MyAwYy4yNjMgMCAuNTI1LjIzOS41MjUuNDc4IDAgLjA4IDAgLjE1OS0uMDg4LjIzOEwxMS45IDQuMjJjLTEuNjYyLTEuNDMzLTQuNDYzLTEuNTkyLTQuNDYzLTEuNTkyTDguNzUuMzE4QzguNzUuMTYgOC45MjUgMCA5LjE4OCAwWiIvPjwvc3ZnPg=="},60885:function(bt,yt,te){"use strict";var z=te(59301),se=Object.defineProperty,ve=Object.getOwnPropertySymbols,Ie=Object.prototype.hasOwnProperty,be=Object.prototype.propertyIsEnumerable,Ne=(He,ke,Ze)=>ke in He?se(He,ke,{enumerable:!0,configurable:!0,writable:!0,value:Ze}):He[ke]=Ze,ie=(He,ke)=>{for(var Ze in ke||(ke={}))Ie.call(ke,Ze)&&Ne(He,Ze,ke[Ze]);if(ve)for(var Ze of ve(ke))be.call(ke,Ze)&&Ne(He,Ze,ke[Ze]);return He};const et=He=>React.createElement("svg",ie({xmlns:"http://www.w3.org/2000/svg",width:14,height:18},He),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"}));yt.Z="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxNCIgaGVpZ2h0PSIxOCI+PHBhdGggZmlsbD0iI0I5QzRDRiIgZD0iTTcgNGMzLjg5OSAwIDcgMy4xNDEgNyA3cy0zLjEwMSA3LTcgNy03LTMuMTQxLTctNyAzLjEwMS03IDctN1ptLjA1IDNjLS42NzUgMC0xLjIwMy4wOTItMS41ODQuMjc2YTIuMDU2IDIuMDU2IDAgMCAwLS44ODcuNzk0Yy0uMTguMjk2LS4zMS42OTEtLjM5NCAxLjE4NmwtLjAzOC4yNTUgMi4wMDQuMTc3Yy4wNTUtLjQ0My4xNjQtLjc1My4zMjYtLjkyOGEuODE0LjgxNCAwIDAgMSAuNjI2LS4yNjMuODEuODEgMCAwIDEgLjYxMS4yNTVjLjE2Mi4xNy4yNDMuMzc1LjI0My42MTQgMCAuMjIyLS4wODEuNDU2LS4yNDUuNzAzLS4xNjQuMjQ3LS41MzkuNjA4LTEuMTI0IDEuMDg0LS45Ni43NzYtMS42MTMgMS40NS0xLjk2MiAyLjAyYTQuMzYzIDQuMzYzIDAgMCAwLS41ODggMS41NTJMNCAxNWg2di0xLjc4MUg2Ljg3N2MuMTg0LS4xOTcuMzQzLS4zNTYuNDc5LS40NzguMTM2LS4xMjIuNDA1LS4zMzQuODA4LS42MzguNjc3LS41MjMgMS4xNDUtMS4wMDIgMS40MDEtMS40MzguMjU3LS40MzcuMzg2LS44OTUuMzg2LTEuMzc0IDAtLjQ1LS4xMTItLjg1OC0uMzM2LTEuMjJhMi4wNDMgMi4wNDMgMCAwIDAtLjkyNC0uODA4QzguMzAxIDcuMDg4IDcuNzUzIDcgNy4wNSA3Wk00LjgxMiAwYy4xNzUgMCAuMzUuMTYuNDM3LjMxOGwxLjMxMyAyLjMwOXMtMi44LjE2LTQuNDYzIDEuNjcyTC4wODguNzE2QzAgLjYzNiAwIC41NTcgMCAuNDc4IDAgLjE1OS4yNjMgMCAuNTI1IDBabTguNjYyIDBjLjI2MyAwIC41MjUuMjM5LjUyNS40NzggMCAuMDggMCAuMTU5LS4wODguMjM4TDExLjkgNC4yMmMtMS42NjItMS40MzMtNC40NjMtMS41OTItNC40NjMtMS41OTJMOC43NS4zMThDOC43NS4xNiA4LjkyNSAwIDkuMTg4IDBaIi8+PC9zdmc+"},20463:function(bt,yt,te){"use strict";var z=te(59301),se=Object.defineProperty,ve=Object.getOwnPropertySymbols,Ie=Object.prototype.hasOwnProperty,be=Object.prototype.propertyIsEnumerable,Ne=(He,ke,Ze)=>ke in He?se(He,ke,{enumerable:!0,configurable:!0,writable:!0,value:Ze}):He[ke]=Ze,ie=(He,ke)=>{for(var Ze in ke||(ke={}))Ie.call(ke,Ze)&&Ne(He,Ze,ke[Ze]);if(ve)for(var Ze of ve(ke))be.call(ke,Ze)&&Ne(He,Ze,ke[Ze]);return He};const et=He=>React.createElement("svg",ie({xmlns:"http://www.w3.org/2000/svg",width:14,height:18},He),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"}));yt.Z="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxNCIgaGVpZ2h0PSIxOCI+PHBhdGggZmlsbD0iI0QwOUYxOCIgZD0iTTcgNGMzLjg5OSAwIDcgMy4xNDEgNyA3cy0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MS44MiAxLjgyIDAgMCAwLS42MzQtMS40MkM4LjU3MSA3LjE4OSA3Ljg4NiA3IDYuOTM4IDdaTTQuODEzIDBjLjE3NSAwIC4zNS4xNy40MzcuMzM4bDEuMzEzIDIuNDUzcy0yLjguMTctNC40NjMgMS43NzZMLjA4OC43NjFDMCAuNjc3IDAgLjU5MiAwIC41MDcgMCAuMTcuMjYzIDAgLjUyNSAwWm04LjY2MiAwYy4yNjMgMCAuNTI1LjI1NC41MjUuNTA3IDAgLjA4NSAwIC4xNy0uMDg4LjI1NEwxMS45IDQuNDgzQzEwLjIzOCAyLjk2IDcuNDM3IDIuNzkgNy40MzcgMi43OUw4Ljc1LjMzOEM4Ljc1LjE3IDguOTI1IDAgOS4xODggMFoiLz48L3N2Zz4="},20397:function(){"use strict";function bt(re,a,y,b){y===void 0&&(y=0),b===void 0&&(b=1/0),this._name=re,this._defaultValue=a,this._minimum=y,this._maximum=b}Object.defineProperty(bt.prototype,"name",{get:function(){return this._name},set:function(re){if(typeof re!="string"||re==="")throw new Error("Shape name must be a valid string.");this._name=re}}),Object.defineProperty(bt.prototype,"defaultValue",{get:function(){return this._defaultValue},set:function(re){if(typeof re!="number"||isNaN(re))throw new Error("The default value must be a real number, not: "+re);this._defaultValue=re}}),Object.defineProperty(bt.prototype,"minimum",{get:function(){return this._minimum},set:function(re){if(typeof re!="number"||isNaN(re))throw new Error("Minimum must be a real number, not: "+re);this._minimum=re}}),Object.defineProperty(bt.prototype,"maximum",{get:function(){return this._maximum},set:function(re){if(typeof re!="number"||isNaN(re))throw new Error("Maximum must be a real number, not: "+re);this._maximum=re}}),go.Shape._FigureParameters={},go.Shape.getFigureParameter=function(re,a){var y=go.Shape._FigureParameters[re];return y?y[a]:null},go.Shape.setFigureParameter=function(re,a,y){if(!(y instanceof bt))throw new Error("Third argument to Shape.setFigureParameter is not FigureParameter: "+y);if(y.defaultValue<y.minimum||y.defaultValue>y.maximum)throw new Error("defaultValue must be between minimum and maximum, not: "+y.defaultValue);var b=go.Shape._FigureParameters[re];b||(b=[],go.Shape._FigureParameters[re]=b),b[a]=y};var yt=[];function te(re,a){var y=yt.pop();return y===void 0?new go.Point(re,a):(y.x=re,y.y=a,y)}function z(){var re=yt.pop();return re===void 0?new go.Point:re}function se(re){yt.push(re)}function ve(re,a,y,b,E,x,ee,ne,oe){oe||(oe=new go.Point);var ae=re-y,ue=E-ee,me=NaN,fe=NaN;if(ae===0)if(ue===0)re===y&&(me=re,fe=a);else{var Pe=(x-ne)/ue,xe=x-Pe*E;me=re,fe=Pe*me+xe}else if(ue===0){var Ee=(a-b)/ae,De=a-Ee*re;me=E,fe=Ee*me+De}else{var Ee=(a-b)/ae,Pe=(x-ne)/ue,De=a-Ee*re,xe=x-Pe*E;me=(xe-De)/(Ee-Pe),fe=Ee*me+De}return oe.x=me,oe.y=fe,oe}function Ie(re,a,y,b,E,x,ee,ne,oe,ae,ue,me,fe,Pe){var xe=1-oe,Ee=oe,De=re*xe+y*Ee,ze=a*xe+b*Ee,ft=y*xe+E*Ee,Be=b*xe+x*Ee,Ue=E*xe+ee*Ee,Ge=x*xe+ne*Ee,Ke=De*xe+ft*Ee,rt=ze*xe+Be*Ee,nt=ft*xe+Ue*Ee,vt=Be*xe+Ge*Ee,Tt=Ke*xe+nt*Ee,Yt=rt*xe+vt*Ee;ae.x=De,ae.y=ze,ue.x=Ke,ue.y=rt,me.x=Tt,me.y=Yt,fe.x=nt,fe.y=vt,Pe.x=Ue,Pe.y=Ge}var be=new go.Spot(.156,.156),Ne=new go.Spot(.844,.844),ie=4*((Math.sqrt(2)-1)/3);go.Shape.setFigureParameter("RoundedRectangle",0,new bt("CornerRounding",5)),go.Shape.defineFigureGenerator("RoundedRectangle",function(re,a,y){var b=re?re.parameter1:NaN;(isNaN(b)||b<0)&&(b=5),b=Math.min(b,a/3),b=Math.min(b,y/3);var E=b*ie,x=new go.Geometry().add(new go.PathFigure(b,0,!0).add(new go.PathSegment(go.PathSegment.Line,a-b,0)).add(new go.PathSegment(go.PathSegment.Bezier,a,b,a-E,0,a,E)).add(new go.PathSegment(go.PathSegment.Line,a,y-b)).add(new go.PathSegment(go.PathSegment.Bezier,a-b,y,a,y-E,a-E,y)).add(new go.PathSegment(go.PathSegment.Line,b,y)).add(new go.PathSegment(go.PathSegment.Bezier,0,y-b,E,y,0,y-E)).add(new go.PathSegment(go.PathSegment.Line,0,b)).add(new go.PathSegment(go.PathSegment.Bezier,b,0,0,E,E,0).close()));return E>1&&(x.spot1=new go.Spot(0,0,E,E),x.spot2=new go.Spot(1,1,-E,-E)),x}),go.Shape.defineFigureGenerator("Border","RoundedRectangle"),go.Shape.defineFigureGenerator("TriangleRight",function(re,a,y){return new go.Geometry().add(new go.PathFigure(0,0).add(new go.PathSegment(go.PathSegment.Line,a,.5*y)).add(new go.PathSegment(go.PathSegment.Line,0,y).close())).setSpots(0,.25,.5,.75)}),go.Shape.defineFigureGenerator("TriangleDown",function(re,a,y){return new go.Geometry().add(new go.PathFigure(0,0).add(new go.PathSegment(go.PathSegment.Line,a,0)).add(new go.PathSegment(go.PathSegment.Line,.5*a,y).close())).setSpots(.25,0,.75,.5)}),go.Shape.defineFigureGenerator("TriangleLeft",function(re,a,y){return new go.Geometry().add(new go.PathFigure(a,y).add(new go.PathSegment(go.PathSegment.Line,0,.5*y)).add(new go.PathSegment(go.PathSegment.Line,a,0).close())).setSpots(.5,.25,1,.75)}),go.Shape.defineFigureGenerator("TriangleUp",function(re,a,y){return new go.Geometry().add(new go.PathFigure(a,y).add(new go.PathSegment(go.PathSegment.Line,0,y)).add(new go.PathSegment(go.PathSegment.Line,.5*a,0).close())).setSpots(.25,.5,.75,1)}),go.Shape.defineFigureGenerator("Triangle","TriangleUp"),go.Shape.defineFigureGenerator("Diamond",function(re,a,y){return new go.Geometry().add(new go.PathFigure(.5*a,0).add(new go.PathSegment(go.PathSegment.Line,0,.5*y)).add(new go.PathSegment(go.PathSegment.Line,.5*a,y)).add(new go.PathSegment(go.PathSegment.Line,a,.5*y).close())).setSpots(.25,.25,.75,.75)}),go.Shape.defineFigureGenerator("LineH",function(re,a,y){var b=new go.Geometry(go.Geometry.Line);return b.startX=0,b.startY=y/2,b.endX=a,b.endY=y/2,b}),go.Shape.defineFigureGenerator("LineV",function(re,a,y){var b=new go.Geometry(go.Geometry.Line);return b.startX=a/2,b.startY=0,b.endX=a/2,b.endY=y,b}),go.Shape.defineFigureGenerator("BarH","Rectangle"),go.Shape.defineFigureGenerator("BarV","Rectangle"),go.Shape.defineFigureGenerator("MinusLine","LineH"),go.Shape.defineFigureGenerator("PlusLine",function(re,a,y){return new go.Geometry().add(new go.PathFigure(0,y/2,!1).add(new go.PathSegment(go.PathSegment.Line,a,y/2)).add(new go.PathSegment(go.PathSegment.Move,a/2,0)).add(new go.PathSegment(go.PathSegment.Line,a/2,y)))}),go.Shape.defineFigureGenerator("XLine",function(re,a,y){return new go.Geometry().add(new go.PathFigure(0,y,!1).add(new go.PathSegment(go.PathSegment.Line,a,0)).add(new go.PathSegment(go.PathSegment.Move,0,0)).add(new go.PathSegment(go.PathSegment.Line,a,y)))}),go.Shape.defineFigureGenerator("LineRight",function(re,a,y){return new go.Geometry().add(new go.PathFigure(.25*a,0,!1).add(new go.PathSegment(go.PathSegment.Line,.75*a,.5*y)).add(new go.PathSegment(go.PathSegment.Line,.25*a,y)))}),go.Shape.defineFigureGenerator("LineDown",function(re,a,y){return new go.Geometry().add(new go.PathFigure(0,.25*y,!1).add(new go.PathSegment(go.PathSegment.Line,.5*a,.75*y)).add(new go.PathSegment(go.PathSegment.Line,a,.25*y)))}),go.Shape.defineFigureGenerator("LineLeft",function(re,a,y){return new go.Geometry().add(new go.PathFigure(.75*a,0,!1).add(new go.PathSegment(go.PathSegment.Line,.25*a,.5*y)).add(new go.PathSegment(go.PathSegment.Line,.75*a,y)))}),go.Shape.defineFigureGenerator("LineUp",function(re,a,y){return new go.Geometry().add(new go.PathFigure(0,.75*y,!1).add(new go.PathSegment(go.PathSegment.Line,.5*a,.25*y)).add(new go.PathSegment(go.PathSegment.Line,a,.75*y)))}),go.Shape.defineFigureGenerator("AsteriskLine",function(re,a,y){var b=.2/Math.SQRT2;return new go.Geometry().add(new go.PathFigure(b*a,(1-b)*y,!1).add(new go.PathSegment(go.PathSegment.Line,(1-b)*a,b*y)).add(new go.PathSegment(go.PathSegment.Move,b*a,b*y)).add(new go.PathSegment(go.PathSegment.Line,(1-b)*a,(1-b)*y)).add(new go.PathSegment(go.PathSegment.Move,0,y/2)).add(new go.PathSegment(go.PathSegment.Line,a,y/2)).add(new go.PathSegment(go.PathSegment.Move,a/2,0)).add(new go.PathSegment(go.PathSegment.Line,a/2,y)))}),go.Shape.defineFigureGenerator("CircleLine",function(re,a,y){var b=a/2,E=new go.Geometry().add(new go.PathFigure(a,a/2,!1).add(new go.PathSegment(go.PathSegment.Arc,0,360,b,b,b,b).close()));return E.spot1=be,E.spot2=Ne,E.defaultStretch=go.GraphObject.Uniform,E}),go.Shape.defineFigureGenerator("Line1",function(re,a,y){var b=new go.Geometry(go.Geometry.Line);return b.startX=0,b.startY=0,b.endX=a,b.endY=y,b}),go.Shape.defineFigureGenerator("Line2",function(re,a,y){var b=new go.Geometry(go.Geometry.Line);return b.startX=a,b.startY=0,b.endX=0,b.endY=y,b}),go.Shape.defineFigureGenerator("Curve1",function(re,a,y){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Bezier,a,y,ie*a,0,a,(1-ie)*y)))}),go.Shape.defineFigureGenerator("Curve2",function(re,a,y){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Bezier,a,y,0,ie*y,(1-ie)*a,y)))}),go.Shape.defineFigureGenerator("Curve3",function(re,a,y){return new go.Geometry().add(new go.PathFigure(a,0,!1).add(new go.PathSegment(go.PathSegment.Bezier,0,y,a,ie*y,ie*a,y)))}),go.Shape.defineFigureGenerator("Curve4",function(re,a,y){return new go.Geometry().add(new go.PathFigure(a,0,!1).add(new go.PathSegment(go.PathSegment.Bezier,0,y,(1-ie)*a,0,0,(1-ie)*y)))}),go.Shape.defineFigureGenerator("TriangleDownLeft",function(re,a,y){return new go.Geometry().add(new go.PathFigure(0,0,!0).add(new go.PathSegment(go.PathSegment.Line,a,y)).add(new go.PathSegment(go.PathSegment.Line,0,y).close())).setSpots(0,.5,.5,1)}),go.Shape.defineFigureGenerator("TriangleDownRight",function(re,a,y){return new go.Geometry().add(new go.PathFigure(a,0,!0).add(new go.PathSegment(go.PathSegment.Line,a,y)).add(new go.PathSegment(go.PathSegment.Line,0,y).close())).setSpots(.5,.5,1,1)}),go.Shape.defineFigureGenerator("TriangleUpLeft",function(re,a,y){return new go.Geometry().add(new go.PathFigure(0,0,!0).add(new go.PathSegment(go.PathSegment.Line,a,0)).add(new go.PathSegment(go.PathSegment.Line,0,y).close())).setSpots(0,0,.5,.5)}),go.Shape.defineFigureGenerator("TriangleUpRight",function(re,a,y){return new go.Geometry().add(new go.PathFigure(0,0,!0).add(new go.PathSegment(go.PathSegment.Line,a,0)).add(new go.PathSegment(go.PathSegment.Line,a,y).close())).setSpots(.5,0,1,.5)}),go.Shape.defineFigureGenerator("RightTriangle","TriangleDownLeft"),go.Shape.setFigureParameter("Parallelogram1",0,new bt("Indent",.1,-.99,.99)),go.Shape.defineFigureGenerator("Parallelogram1",function(re,a,y){var b=re?re.parameter1:NaN;isNaN(b)?b=.1:b<-1?b=-1:b>1&&(b=1);var E=Math.abs(b)*a;if(b===0){var x=new go.Geometry(go.Geometry.Rectangle);return x.startX=0,x.startY=0,x.endX=a,x.endY=y,x}else{var x=new go.Geometry;return b>0?x.add(new go.PathFigure(E,0).add(new go.PathSegment(go.PathSegment.Line,a,0)).add(new go.PathSegment(go.PathSegment.Line,a-E,y)).add(new go.PathSegment(go.PathSegment.Line,0,y).close())):x.add(new go.PathFigure(0,0).add(new go.PathSegment(go.PathSegment.Line,a-E,0)).add(new go.PathSegment(go.PathSegment.Line,a,y)).add(new go.PathSegment(go.PathSegment.Line,E,y).close())),E<a/2&&x.setSpots(E/a,0,(a-E)/a,1),x}}),go.Shape.defineFigureGenerator("Parallelogram","Parallelogram1"),go.Shape.setFigureParameter("Parallelogram2",0,new bt("Indent",10,-1/0,1/0)),go.Shape.defineFigureGenerator("Parallelogram2",function(re,a,y){var b=re?re.parameter1:NaN;isNaN(b)?b=10:b<-a?b=-a:b>a&&(b=a);var E=Math.abs(b);if(b===0){var x=new go.Geometry(go.Geometry.Rectangle);return x.startX=0,x.startY=0,x.endX=a,x.endY=y,x}else{var x=new go.Geometry;return b>0?x.add(new go.PathFigure(E,0).add(new go.PathSegment(go.PathSegment.Line,a,0)).add(new go.PathSegment(go.PathSegment.Line,a-E,y)).add(new go.PathSegment(go.PathSegment.Line,0,y).close())):x.add(new go.PathFigure(0,0).add(new go.PathSegment(go.PathSegment.Line,a-E,0)).add(new go.PathSegment(go.PathSegment.Line,a,y)).add(new go.PathSegment(go.PathSegment.Line,E,y).close())),E<a/2&&x.setSpots(E/a,0,(a-E)/a,1),x}}),go.Shape.setFigureParameter("Trapezoid1",0,new bt("Indent",.2,-.99,.99)),go.Shape.defineFigureGenerator("Trapezoid1",function(re,a,y){var b=re?re.parameter1:NaN;isNaN(b)?b=.2:b<.5?b=-.5:b>.5&&(b=.5);var E=Math.abs(b)*a;if(b===0){var x=new go.Geometry(go.Geometry.Rectangle);return x.startX=0,x.startY=0,x.endX=a,x.endY=y,x}else{var x=new go.Geometry;return b>0?x.add(new go.PathFigure(E,0).add(new go.PathSegment(go.PathSegment.Line,a-E,0)).add(new go.PathSegment(go.PathSegment.Line,a,y)).add(new go.PathSegment(go.PathSegment.Line,0,y).close())):x.add(new go.PathFigure(0,0).add(new go.PathSegment(go.PathSegment.Line,a,0)).add(new go.PathSegment(go.PathSegment.Line,a-E,y)).add(new go.PathSegment(go.PathSegment.Line,E,y).close())),E<a/2&&x.setSpots(E/a,0,(a-E)/a,1),x}}),go.Shape.defineFigureGenerator("Trapezoid","Trapezoid1"),go.Shape.setFigureParameter("Trapezoid2",0,new bt("Indent",20,-1/0,1/0)),go.Shape.defineFigureGenerator("Trapezoid2",function(re,a,y){var b=re?re.parameter1:NaN;isNaN(b)?b=20:b<-a?b=-a/2:b>a&&(b=a/2);var E=Math.abs(b);if(b===0){var x=new go.Geometry(go.Geometry.Rectangle);return x.startX=0,x.startY=0,x.endX=a,x.endY=y,x}else{var x=new go.Geometry;return b>0?x.add(new go.PathFigure(E,0).add(new go.PathSegment(go.PathSegment.Line,a-E,0)).add(new go.PathSegment(go.PathSegment.Line,a,y)).add(new go.PathSegment(go.PathSegment.Line,0,y).close())):x.add(new go.PathFigure(0,0).add(new go.PathSegment(go.PathSegment.Line,a,0)).add(new go.PathSegment(go.PathSegment.Line,a-E,y)).add(new go.PathSegment(go.PathSegment.Line,E,y).close())),E<a/2&&x.setSpots(E/a,0,(a-E)/a,1),x}}),go.Shape.setFigureParameter("ManualOperation",0,new bt("Indent",10,-1/0,1/0)),go.Shape.defineFigureGenerator("ManualOperation",function(re,a,y){var b=re?re.parameter1:NaN;isNaN(b)?b=10:b<-a?b=-a/2:b>a&&(b=a/2);var E=Math.abs(b);if(b===0){var x=new go.Geometry(go.Geometry.Rectangle);return x.startX=0,x.startY=0,x.endX=a,x.endY=y,x}else{var x=new go.Geometry;return b>0?x.add(new go.PathFigure(0,0).add(new go.PathSegment(go.PathSegment.Line,a,0)).add(new go.PathSegment(go.PathSegment.Line,a-E,y)).add(new go.PathSegment(go.PathSegment.Line,E,y).close())):x.add(new go.PathFigure(E,0).add(new go.PathSegment(go.PathSegment.Line,a-E,0)).add(new go.PathSegment(go.PathSegment.Line,a,y)).add(new go.PathSegment(go.PathSegment.Line,0,y).close())),E<a/2&&x.setSpots(E/a,0,(a-E)/a,1),x}});var et=[];function He(){var re=et.pop();return re===void 0?[]:re}function ke(re){re.length=0,et.push(re)}function Ze(re){for(var a=He(),y=.5,b=.5,E=Math.PI*1.5,x=0,ee=0;ee<re;ee++)x=2*Math.PI/re*ee+E,a[ee]=new go.Point(b+y*Math.cos(x),b+y*Math.sin(x));return a.push(a[0]),a}function Me(re){var a=ye(re),y=He();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 ke(a),y}function ye(re){for(var a=Ze(re),y=He(),b=Math.floor(a.length/2),E=a.length-1,x=re%2===0?2:1,ee=0;ee<E;ee++){var ne=a[ee],oe=a[ee+1],ae=a[(b+ee-1)%E],ue=a[(b+ee+x)%E];y[ee*2]=ne,y[ee*2+1]=ve(ne.x,ne.y,ae.x,ae.y,oe.x,oe.y,ue.x,ue.y,new go.Point)}return y[y.length]=y[0],ke(a),y}go.Shape.defineFigureGenerator("Pentagon",function(re,a,y){var b=Ze(5),E=new go.Geometry,x=new go.PathFigure(b[0].x*a,b[0].y*y,!0);E.add(x);for(var ee=1;ee<5;ee++)x.add(new go.PathSegment(go.PathSegment.Line,b[ee].x*a,b[ee].y*y));return x.add(new go.PathSegment(go.PathSegment.Line,b[0].x*a,b[0].y*y).close()),ke(b),E.spot1=new go.Spot(.2,.22),E.spot2=new go.Spot(.8,.9),E}),go.Shape.defineFigureGenerator("Hexagon",function(re,a,y){var b=Ze(6),E=new go.Geometry,x=new go.PathFigure(b[0].x*a,b[0].y*y,!0);E.add(x);for(var ee=1;ee<6;ee++)x.add(new go.PathSegment(go.PathSegment.Line,b[ee].x*a,b[ee].y*y));return x.add(new go.PathSegment(go.PathSegment.Line,b[0].x*a,b[0].y*y).close()),ke(b),E.spot1=new go.Spot(.07,.25),E.spot2=new go.Spot(.93,.75),E}),go.Shape.defineFigureGenerator("Heptagon",function(re,a,y){var b=Ze(7),E=new go.Geometry,x=new go.PathFigure(b[0].x*a,b[0].y*y,!0);E.add(x);for(var ee=1;ee<7;ee++)x.add(new go.PathSegment(go.PathSegment.Line,b[ee].x*a,b[ee].y*y));return x.add(new go.PathSegment(go.PathSegment.Line,b[0].x*a,b[0].y*y).close()),ke(b),E.spot1=new go.Spot(.2,.15),E.spot2=new go.Spot(.8,.85),E}),go.Shape.defineFigureGenerator("Octagon",function(re,a,y){var b=Ze(8),E=new go.Geometry,x=new go.PathFigure(b[0].x*a,b[0].y*y,!0);E.add(x);for(var ee=1;ee<8;ee++)x.add(new go.PathSegment(go.PathSegment.Line,b[ee].x*a,b[ee].y*y));return x.add(new go.PathSegment(go.PathSegment.Line,b[0].x*a,b[0].y*y).close()),ke(b),E.spot1=new go.Spot(.15,.15),E.spot2=new go.Spot(.85,.85),E}),go.Shape.defineFigureGenerator("Nonagon",function(re,a,y){var b=Ze(9),E=new go.Geometry,x=new go.PathFigure(b[0].x*a,b[0].y*y,!0);E.add(x);for(var ee=1;ee<9;ee++)x.add(new go.PathSegment(go.PathSegment.Line,b[ee].x*a,b[ee].y*y));return x.add(new go.PathSegment(go.PathSegment.Line,b[0].x*a,b[0].y*y).close()),ke(b),E.spot1=new go.Spot(.17,.13),E.spot2=new go.Spot(.82,.82),E}),go.Shape.defineFigureGenerator("Decagon",function(re,a,y){var b=Ze(10),E=new go.Geometry,x=new go.PathFigure(b[0].x*a,b[0].y*y,!0);E.add(x);for(var ee=1;ee<10;ee++)x.add(new go.PathSegment(go.PathSegment.Line,b[ee].x*a,b[ee].y*y));return x.add(new go.PathSegment(go.PathSegment.Line,b[0].x*a,b[0].y*y).close()),ke(b),E.spot1=new go.Spot(.16,.16),E.spot2=new go.Spot(.84,.84),E}),go.Shape.defineFigureGenerator("Dodecagon",function(re,a,y){var b=Ze(12),E=new go.Geometry,x=new go.PathFigure(b[0].x*a,b[0].y*y,!0);E.add(x);for(var ee=1;ee<12;ee++)x.add(new go.PathSegment(go.PathSegment.Line,b[ee].x*a,b[ee].y*y));return x.add(new go.PathSegment(go.PathSegment.Line,b[0].x*a,b[0].y*y).close()),ke(b),E.spot1=new go.Spot(.16,.16),E.spot2=new go.Spot(.84,.84),E}),go.Shape.defineFigureGenerator("FivePointedStar",function(re,a,y){var b=ye(5),E=new go.Geometry,x=new go.PathFigure(b[0].x*a,b[0].y*y,!0);E.add(x);for(var ee=1;ee<10;ee++)x.add(new go.PathSegment(go.PathSegment.Line,b[ee].x*a,b[ee].y*y));return x.add(new go.PathSegment(go.PathSegment.Line,b[0].x*a,b[0].y*y).close()),ke(b),E.spot1=new go.Spot(.266,.333),E.spot2=new go.Spot(.733,.733),E}),go.Shape.defineFigureGenerator("SixPointedStar",function(re,a,y){var b=ye(6),E=new go.Geometry,x=new go.PathFigure(b[0].x*a,b[0].y*y,!0);E.add(x);for(var ee=1;ee<12;ee++)x.add(new go.PathSegment(go.PathSegment.Line,b[ee].x*a,b[ee].y*y));return x.add(new go.PathSegment(go.PathSegment.Line,b[0].x*a,b[0].y*y).close()),ke(b),E.spot1=new go.Spot(.17,.25),E.spot2=new go.Spot(.83,.75),E}),go.Shape.defineFigureGenerator("SevenPointedStar",function(re,a,y){var b=ye(7),E=new go.Geometry,x=new go.PathFigure(b[0].x*a,b[0].y*y,!0);E.add(x);for(var ee=1;ee<14;ee++)x.add(new go.PathSegment(go.PathSegment.Line,b[ee].x*a,b[ee].y*y));return x.add(new go.PathSegment(go.PathSegment.Line,b[0].x*a,b[0].y*y).close()),ke(b),E.spot1=new go.Spot(.222,.277),E.spot2=new go.Spot(.777,.666),E}),go.Shape.defineFigureGenerator("EightPointedStar",function(re,a,y){var b=ye(8),E=new go.Geometry,x=new go.PathFigure(b[0].x*a,b[0].y*y,!0);E.add(x);for(var ee=1;ee<16;ee++)x.add(new go.PathSegment(go.PathSegment.Line,b[ee].x*a,b[ee].y*y));return x.add(new go.PathSegment(go.PathSegment.Line,b[0].x*a,b[0].y*y).close()),ke(b),E.spot1=new go.Spot(.25,.25),E.spot2=new go.Spot(.75,.75),E}),go.Shape.defineFigureGenerator("NinePointedStar",function(re,a,y){var b=ye(9),E=new go.Geometry,x=new go.PathFigure(b[0].x*a,b[0].y*y,!0);E.add(x);for(var ee=1;ee<18;ee++)x.add(new go.PathSegment(go.PathSegment.Line,b[ee].x*a,b[ee].y*y));return x.add(new go.PathSegment(go.PathSegment.Line,b[0].x*a,b[0].y*y).close()),ke(b),E.spot1=new go.Spot(.222,.277),E.spot2=new go.Spot(.777,.666),E}),go.Shape.defineFigureGenerator("TenPointedStar",function(re,a,y){var b=ye(10),E=new go.Geometry,x=new go.PathFigure(b[0].x*a,b[0].y*y,!0);E.add(x);for(var ee=1;ee<20;ee++)x.add(new go.PathSegment(go.PathSegment.Line,b[ee].x*a,b[ee].y*y));return x.add(new go.PathSegment(go.PathSegment.Line,b[0].x*a,b[0].y*y).close()),ke(b),E.spot1=new go.Spot(.281,.261),E.spot2=new go.Spot(.723,.748),E}),go.Shape.defineFigureGenerator("FivePointedBurst",function(re,a,y){var b=Me(5),E=new go.Geometry,x=new go.PathFigure(b[0].x*a,b[0].y*y,!0);E.add(x);for(var ee=1;ee<b.length;ee+=3)x.add(new go.PathSegment(go.PathSegment.Bezier,b[ee+2].x*a,b[ee+2].y*y,b[ee].x*a,b[ee].y*y,b[ee+1].x*a,b[ee+1].y*y));return x.segments.last().close(),ke(b),E.spot1=new go.Spot(.222,.277),E.spot2=new go.Spot(.777,.777),E}),go.Shape.defineFigureGenerator("SixPointedBurst",function(re,a,y){var b=Me(6),E=new go.Geometry,x=new go.PathFigure(b[0].x*a,b[0].y*y,!0);E.add(x);for(var ee=1;ee<b.length;ee+=3)x.add(new go.PathSegment(go.PathSegment.Bezier,b[ee+2].x*a,b[ee+2].y*y,b[ee].x*a,b[ee].y*y,b[ee+1].x*a,b[ee+1].y*y));return x.segments.last().close(),ke(b),E.spot1=new go.Spot(.17,.222),E.spot2=new go.Spot(.833,.777),E}),go.Shape.defineFigureGenerator("SevenPointedBurst",function(re,a,y){var b=Me(7),E=new go.Geometry,x=new go.PathFigure(b[0].x*a,b[0].y*y,!0);E.add(x);for(var ee=1;ee<b.length;ee+=3)x.add(new go.PathSegment(go.PathSegment.Bezier,b[ee+2].x*a,b[ee+2].y*y,b[ee].x*a,b[ee].y*y,b[ee+1].x*a,b[ee+1].y*y));return x.segments.last().close(),ke(b),E.spot1=new go.Spot(.222,.222),E.spot2=new go.Spot(.777,.777),E}),go.Shape.defineFigureGenerator("EightPointedBurst",function(re,a,y){var b=Me(8),E=new go.Geometry,x=new go.PathFigure(b[0].x*a,b[0].y*y,!0);E.add(x);for(var ee=1;ee<b.length;ee+=3)x.add(new go.PathSegment(go.PathSegment.Bezier,b[ee+2].x*a,b[ee+2].y*y,b[ee].x*a,b[ee].y*y,b[ee+1].x*a,b[ee+1].y*y));return x.segments.last().close(),ke(b),E.spot1=new go.Spot(.222,.222),E.spot2=new go.Spot(.777,.777),E}),go.Shape.defineFigureGenerator("NinePointedBurst",function(re,a,y){var b=Me(9),E=new go.Geometry,x=new go.PathFigure(b[0].x*a,b[0].y*y,!0);E.add(x);for(var ee=1;ee<b.length;ee+=3)x.add(new go.PathSegment(go.PathSegment.Bezier,b[ee+2].x*a,b[ee+2].y*y,b[ee].x*a,b[ee].y*y,b[ee+1].x*a,b[ee+1].y*y));return x.segments.last().close(),ke(b),E.spot1=new go.Spot(.222,.222),E.spot2=new go.Spot(.777,.777),E}),go.Shape.defineFigureGenerator("TenPointedBurst",function(re,a,y){var b=Me(10),E=new go.Geometry,x=new go.PathFigure(b[0].x*a,b[0].y*y,!0);E.add(x);for(var ee=1;ee<b.length;ee+=3)x.add(new go.PathSegment(go.PathSegment.Bezier,b[ee+2].x*a,b[ee+2].y*y,b[ee].x*a,b[ee].y*y,b[ee+1].x*a,b[ee+1].y*y));return x.segments.last().close(),ke(b),E.spot1=new go.Spot(.222,.222),E.spot2=new go.Spot(.777,.777),E}),go.Shape.setFigureParameter("FramedRectangle",0,new bt("ThicknessX",8)),go.Shape.setFigureParameter("FramedRectangle",1,new bt("ThicknessY",8)),go.Shape.defineFigureGenerator("FramedRectangle",function(re,a,y){var b=re?re.parameter1:NaN,E=re?re.parameter2:NaN;isNaN(b)&&(b=8),isNaN(E)&&(E=8);var x=new go.Geometry,ee=new go.PathFigure(0,0,!0);return x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,a,0)),ee.add(new go.PathSegment(go.PathSegment.Line,a,y)),ee.add(new go.PathSegment(go.PathSegment.Line,0,y).close()),b<a/2&&E<y/2&&(ee.add(new go.PathSegment(go.PathSegment.Move,b,E)),ee.add(new go.PathSegment(go.PathSegment.Line,b,y-E)),ee.add(new go.PathSegment(go.PathSegment.Line,a-b,y-E)),ee.add(new go.PathSegment(go.PathSegment.Line,a-b,E).close())),x.setSpots(0,0,1,1,b,E,-b,-E),x}),go.Shape.setFigureParameter("Ring",0,new bt("Thickness",8)),go.Shape.defineFigureGenerator("Ring",function(re,a,y){var b=re?re.parameter1:NaN;(isNaN(b)||b<0)&&(b=8);var E=a/2,x=new go.Geometry,ee=new go.PathFigure(a,a/2,!0);x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Arc,0,360,E,E,E,E).close());var ne=Math.max(E-b,0);return ne>0&&(ee.add(new go.PathSegment(go.PathSegment.Move,a/2+ne,a/2)),ee.add(new go.PathSegment(go.PathSegment.Arc,0,-360,E,E,ne,ne).close())),x.spot1=be,x.spot2=Ne,x.defaultStretch=go.GraphObject.Uniform,x}),go.Shape.defineFigureGenerator("Cloud",function(re,a,y){return new go.Geometry().add(new go.PathFigure(.08034461*a,.1944299*y,!0).add(new go.PathSegment(go.PathSegment.Bezier,.2008615*a,.05349299*y,-.09239631*a,.07836421*y,.1406031*a,-.0542823*y)).add(new go.PathSegment(go.PathSegment.Bezier,.4338609*a,.074219*y,.2450511*a,-.00697547*y,.3776197*a,-.01112067*y)).add(new go.PathSegment(go.PathSegment.Bezier,.6558228*a,.07004196*y,.4539471*a,0,.6066018*a,-.02526587*y)).add(new go.PathSegment(go.PathSegment.Bezier,.8921095*a,.08370865*y,.6914277*a,-.01904177*y,.8921095*a,-.01220843*y)).add(new go.PathSegment(go.PathSegment.Bezier,.9147671*a,.3194596*y,1.036446*a,.04105738*y,1.020377*a,.3022052*y)).add(new go.PathSegment(go.PathSegment.Bezier,.9082935*a,.562044*y,1.04448*a,.360238*y,.992256*a,.5219009*y)).add(new go.PathSegment(go.PathSegment.Bezier,.9212406*a,.8217117*y,1.032337*a,.5771781*y,1.018411*a,.8120651*y)).add(new go.PathSegment(go.PathSegment.Bezier,.7592566*a,.9156953*y,1.028411*a,.9571472*y,.8556702*a,1.052487*y)).add(new go.PathSegment(go.PathSegment.Bezier,.5101666*a,.9310455*y,.7431877*a,1.009325*y,.5624123*a,1.021761*y)).add(new go.PathSegment(go.PathSegment.Bezier,.2609328*a,.9344623*y,.4820677*a,1.031761*y,.3030112*a,1.002796*y)).add(new go.PathSegment(go.PathSegment.Bezier,.08034461*a,.870098*y,.2329994*a,1.01518*y,.03213784*a,1.01518*y)).add(new go.PathSegment(go.PathSegment.Bezier,.06829292*a,.6545475*y,-.02812061*a,.9032597*y,-.01205169*a,.6835638*y)).add(new go.PathSegment(go.PathSegment.Bezier,.06427569*a,.4265613*y,-.01812061*a,.6089503*y,-.00606892*a,.4555777*y)).add(new go.PathSegment(go.PathSegment.Bezier,.08034461*a,.1944299*y,-.01606892*a,.3892545*y,-.01205169*a,.1944299*y))).setSpots(.1,.1,.9,.9)}),go.Shape.defineFigureGenerator("StopSign",function(re,a,y){var b=1/(Math.SQRT2+2);return new go.Geometry().add(new go.PathFigure(b*a,0,!0).add(new go.PathSegment(go.PathSegment.Line,(1-b)*a,0)).add(new go.PathSegment(go.PathSegment.Line,a,b*y)).add(new go.PathSegment(go.PathSegment.Line,a,(1-b)*y)).add(new go.PathSegment(go.PathSegment.Line,(1-b)*a,y)).add(new go.PathSegment(go.PathSegment.Line,b*a,y)).add(new go.PathSegment(go.PathSegment.Line,0,(1-b)*y)).add(new go.PathSegment(go.PathSegment.Line,0,b*y).close())).setSpots(b/2,b/2,1-b/2,1-b/2)}),go.Shape.setFigureParameter("Pie",0,new bt("Start",0,-360,360)),go.Shape.setFigureParameter("Pie",1,new bt("Sweep",315,-360,360)),go.Shape.defineFigureGenerator("Pie",function(re,a,y){var b=re?re.parameter1:NaN,E=re?re.parameter2:NaN;isNaN(b)&&(b=0),isNaN(E)&&(E=315);var x=b%360;x<0&&(x+=360);var ee=E%360,ne=Math.min(a,y)/2;return new go.Geometry().add(new go.PathFigure(ne,ne).add(new go.PathSegment(go.PathSegment.Arc,x,ee,ne,ne,ne,ne).close()))}),go.Shape.defineFigureGenerator("PiePiece",function(re,a,y){var b=ie/Math.SQRT2*.5,E=Math.SQRT2/2,x=1-Math.SQRT2/2;return new go.Geometry().add(new go.PathFigure(a,y,!0).add(new go.PathSegment(go.PathSegment.Bezier,E*a,x*y,a,(1-b)*y,(E+b)*a,(x+b)*y)).add(new go.PathSegment(go.PathSegment.Line,0,y).close()))}),go.Shape.setFigureParameter("ThickCross",0,new bt("Thickness",30)),go.Shape.defineFigureGenerator("ThickCross",function(re,a,y){var b=re?re.parameter1:NaN;(isNaN(b)||b<0)&&(b=30);var E=Math.min(b,a)/2,x=a/2,ee=y/2;return new go.Geometry().add(new go.PathFigure(x-E,0,!0).add(new go.PathSegment(go.PathSegment.Line,x+E,0)).add(new go.PathSegment(go.PathSegment.Line,x+E,ee-E)).add(new go.PathSegment(go.PathSegment.Line,a,ee-E)).add(new go.PathSegment(go.PathSegment.Line,a,ee+E)).add(new go.PathSegment(go.PathSegment.Line,x+E,ee+E)).add(new go.PathSegment(go.PathSegment.Line,x+E,y)).add(new go.PathSegment(go.PathSegment.Line,x-E,y)).add(new go.PathSegment(go.PathSegment.Line,x-E,ee+E)).add(new go.PathSegment(go.PathSegment.Line,0,ee+E)).add(new go.PathSegment(go.PathSegment.Line,0,ee-E)).add(new go.PathSegment(go.PathSegment.Line,x-E,ee-E).close()))}),go.Shape.setFigureParameter("ThinCross",0,new bt("Thickness",10)),go.Shape.defineFigureGenerator("ThinCross",function(re,a,y){var b=re?re.parameter1:NaN;(isNaN(b)||b<0)&&(b=10);var E=Math.min(b,a)/2,x=a/2,ee=y/2;return new go.Geometry().add(new go.PathFigure(x-E,0,!0).add(new go.PathSegment(go.PathSegment.Line,x+E,0)).add(new go.PathSegment(go.PathSegment.Line,x+E,ee-E)).add(new go.PathSegment(go.PathSegment.Line,a,ee-E)).add(new go.PathSegment(go.PathSegment.Line,a,ee+E)).add(new go.PathSegment(go.PathSegment.Line,x+E,ee+E)).add(new go.PathSegment(go.PathSegment.Line,x+E,y)).add(new go.PathSegment(go.PathSegment.Line,x-E,y)).add(new go.PathSegment(go.PathSegment.Line,x-E,ee+E)).add(new go.PathSegment(go.PathSegment.Line,0,ee+E)).add(new go.PathSegment(go.PathSegment.Line,0,ee-E)).add(new go.PathSegment(go.PathSegment.Line,x-E,ee-E).close()))}),go.Shape.setFigureParameter("ThickX",0,new bt("Thickness",30)),go.Shape.defineFigureGenerator("ThickX",function(re,a,y){var b=re?re.parameter1:NaN;if((isNaN(b)||b<0)&&(b=30),a===0||y===0){var E=new go.Geometry(go.Geometry.Rectangle);return E.startX=0,E.startY=0,E.endX=a,E.endY=y,E}else{var x=a/2,ee=y/2,ne=Math.atan2(y,a),oe=b-Math.min(Math.cos(ne)*b/2,x),ae=b-Math.min(Math.sin(ne)*b/2,ee),E=new go.Geometry,ue=new go.PathFigure(oe,0,!0);return E.add(ue),ue.add(new go.PathSegment(go.PathSegment.Line,x,.2*y)),ue.add(new go.PathSegment(go.PathSegment.Line,a-oe,0)),ue.add(new go.PathSegment(go.PathSegment.Line,a,ae)),ue.add(new go.PathSegment(go.PathSegment.Line,.8*a,ee)),ue.add(new go.PathSegment(go.PathSegment.Line,a,y-ae)),ue.add(new go.PathSegment(go.PathSegment.Line,a-oe,y)),ue.add(new go.PathSegment(go.PathSegment.Line,x,.8*y)),ue.add(new go.PathSegment(go.PathSegment.Line,oe,y)),ue.add(new go.PathSegment(go.PathSegment.Line,0,y-ae)),ue.add(new go.PathSegment(go.PathSegment.Line,.2*a,ee)),ue.add(new go.PathSegment(go.PathSegment.Line,0,ae).close()),E}}),go.Shape.setFigureParameter("ThinX",0,new bt("Thickness",10)),go.Shape.defineFigureGenerator("ThinX",function(re,a,y){var b=re?re.parameter1:NaN;(isNaN(b)||b<0)&&(b=10);var E=new go.Geometry,x=new go.PathFigure(.1*a,0,!0);return E.add(x),x.add(new go.PathSegment(go.PathSegment.Line,.5*a,.4*y)),x.add(new go.PathSegment(go.PathSegment.Line,.9*a,0)),x.add(new go.PathSegment(go.PathSegment.Line,a,.1*y)),x.add(new go.PathSegment(go.PathSegment.Line,.6*a,.5*y)),x.add(new go.PathSegment(go.PathSegment.Line,a,.9*y)),x.add(new go.PathSegment(go.PathSegment.Line,.9*a,y)),x.add(new go.PathSegment(go.PathSegment.Line,.5*a,.6*y)),x.add(new go.PathSegment(go.PathSegment.Line,.1*a,y)),x.add(new go.PathSegment(go.PathSegment.Line,0,.9*y)),x.add(new go.PathSegment(go.PathSegment.Line,.4*a,.5*y)),x.add(new go.PathSegment(go.PathSegment.Line,0,.1*y).close()),E}),go.Shape.setFigureParameter("SquareIBeam",0,new bt("BeamWidth",.2,.1,.9)),go.Shape.defineFigureGenerator("SquareIBeam",function(re,a,y){var b=re?re.parameter1:NaN;isNaN(b)&&(b=.2);var E=new go.Geometry,x=new go.PathFigure(0,0,!0);return E.add(x),x.add(new go.PathSegment(go.PathSegment.Line,a,0)),x.add(new go.PathSegment(go.PathSegment.Line,a,b*y)),x.add(new go.PathSegment(go.PathSegment.Line,(.5+b/2)*a,b*y)),x.add(new go.PathSegment(go.PathSegment.Line,(.5+b/2)*a,(1-b)*y)),x.add(new go.PathSegment(go.PathSegment.Line,a,(1-b)*y)),x.add(new go.PathSegment(go.PathSegment.Line,a,y)),x.add(new go.PathSegment(go.PathSegment.Line,0,y)),x.add(new go.PathSegment(go.PathSegment.Line,0,(1-b)*y)),x.add(new go.PathSegment(go.PathSegment.Line,(.5-b/2)*a,(1-b)*y)),x.add(new go.PathSegment(go.PathSegment.Line,(.5-b/2)*a,b*y)),x.add(new go.PathSegment(go.PathSegment.Line,0,b*y).close()),E}),go.Shape.setFigureParameter("RoundedIBeam",0,new bt("Curviness",.5,.05,.65)),go.Shape.defineFigureGenerator("RoundedIBeam",function(re,a,y){var b=re?re.parameter1:NaN;isNaN(b)&&(b=.5);var E=new go.Geometry,x=new go.PathFigure(0,0,!0);return E.add(x),x.add(new go.PathSegment(go.PathSegment.Line,a,0)),x.add(new go.PathSegment(go.PathSegment.Bezier,a,y,Math.abs(1-b)*a,.25*y,Math.abs(1-b)*a,.75*y)),x.add(new go.PathSegment(go.PathSegment.Line,0,y)),x.add(new go.PathSegment(go.PathSegment.Bezier,0,0,b*a,.75*y,b*a,.25*y).close()),E}),go.Shape.defineFigureGenerator("HalfEllipse",function(re,a,y){return new go.Geometry().add(new go.PathFigure(0,0,!0).add(new go.PathSegment(go.PathSegment.Bezier,a,.5*y,ie*a,0,a,(.5-ie/2)*y)).add(new go.PathSegment(go.PathSegment.Bezier,0,y,a,(.5+ie/2)*y,ie*a,y).close())).setSpots(0,.156,.844,.844)}),go.Shape.defineFigureGenerator("Crescent",function(re,a,y){return new go.Geometry().add(new go.PathFigure(0,0,!0).add(new go.PathSegment(go.PathSegment.Bezier,0,y,a,0,a,y)).add(new go.PathSegment(go.PathSegment.Bezier,0,0,.5*a,.75*y,.5*a,.25*y).close())).setSpots(.311,.266,.744,.744)}),go.Shape.defineFigureGenerator("Heart",function(re,a,y){return new go.Geometry().add(new go.PathFigure(.5*a,y,!0).add(new go.PathSegment(go.PathSegment.Bezier,0,.3*y,.1*a,.8*y,0,.5*y)).add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.3*y,0,0,.45*a,0)).add(new go.PathSegment(go.PathSegment.Bezier,a,.3*y,.55*a,0,a,0)).add(new go.PathSegment(go.PathSegment.Bezier,.5*a,y,a,.5*y,.9*a,.8*y).close())).setSpots(.14,.29,.86,.78)}),go.Shape.defineFigureGenerator("Spade",function(re,a,y){return new go.Geometry().add(new go.PathFigure(.5*a,0,!0).add(new go.PathSegment(go.PathSegment.Line,.51*a,.01*y)).add(new go.PathSegment(go.PathSegment.Bezier,a,.5*y,.6*a,.2*y,a,.25*y)).add(new go.PathSegment(go.PathSegment.Bezier,.55*a,.7*y,a,.8*y,.6*a,.8*y)).add(new go.PathSegment(go.PathSegment.Bezier,.75*a,y,.5*a,.75*y,.55*a,.95*y)).add(new go.PathSegment(go.PathSegment.Line,.25*a,y)).add(new go.PathSegment(go.PathSegment.Bezier,.45*a,.7*y,.45*a,.95*y,.5*a,.75*y)).add(new go.PathSegment(go.PathSegment.Bezier,0,.5*y,.4*a,.8*y,0,.8*y)).add(new go.PathSegment(go.PathSegment.Bezier,.49*a,.01*y,0,.25*y,.4*a,.2*y).close())).setSpots(.14,.26,.86,.78)}),go.Shape.defineFigureGenerator("Club",function(re,a,y){var b=new go.Geometry,E=new go.PathFigure(.4*a,.6*y,!0);b.add(E),E.add(new go.PathSegment(go.PathSegment.Bezier,.15*a,y,.5*a,.75*y,.45*a,.95*y)),E.add(new go.PathSegment(go.PathSegment.Line,.85*a,y)),E.add(new go.PathSegment(go.PathSegment.Bezier,.6*a,.6*y,.55*a,.95*y,.5*a,.75*y));var x=.2,ee=.3,ne=0,oe=x*ie;return E.add(new go.PathSegment(go.PathSegment.Bezier,(.5+ee)*a,(.5+x+ne)*y,(.5-x+ee)*a,(.5+oe+ne)*y,(.5-oe+ee)*a,(.5+x+ne)*y)),E.add(new go.PathSegment(go.PathSegment.Bezier,(1-.5+x+ee)*a,(.5+ne)*y,(.5+oe+ee)*a,(.5+x+ne)*y,(.5+x+ee)*a,(.5+oe+ne)*y)),E.add(new go.PathSegment(go.PathSegment.Bezier,(.5+ee)*a,(.5-x+ne)*y,(1-.5+x+ee)*a,(.5-oe+ne)*y,(.5+oe+ee)*a,(.5-x+ne)*y)),E.add(new go.PathSegment(go.PathSegment.Bezier,.65*a,.36771243*y,(.5-oe+ee)*a,(.5-x+ne)*y,(.5-x+ee+.05)*a,(.5-oe+ne-.02)*y)),x=.2,ee=0,ne=-.3,oe=x*ie,E.add(new go.PathSegment(go.PathSegment.Bezier,(1-.5+x+ee)*a,(.5+ne)*y,(.5+oe+ee)*a,(.5+x+ne)*y,(.5+x+ee)*a,(.5+oe+ne)*y)),E.add(new go.PathSegment(go.PathSegment.Bezier,(.5+ee)*a,(.5-x+ne)*y,(1-.5+x+ee)*a,(.5-oe+ne)*y,(.5+oe+ee)*a,(.5-x+ne)*y)),E.add(new go.PathSegment(go.PathSegment.Bezier,(.5-x+ee)*a,(.5+ne)*y,(.5-oe+ee)*a,(.5-x+ne)*y,(.5-x+ee)*a,(.5-oe+ne)*y)),E.add(new go.PathSegment(go.PathSegment.Bezier,(.5-oe+ee)*a,(.5+x+ne)*y,(.5-x+ee)*a,(.5+oe+ne)*y,(.5-oe+ee)*a,(.5+x+ne)*y)),x=.2,ee=-.3,ne=0,oe=x*ie,E.add(new go.PathSegment(go.PathSegment.Bezier,(.5+ee)*a,(.5-x+ne)*y,(1-.5+x+ee-.05)*a,(.5-oe+ne-.02)*y,(.5+oe+ee)*a,(.5-x+ne)*y)),E.add(new go.PathSegment(go.PathSegment.Bezier,(.5-x+ee)*a,(.5+ne)*y,(.5-oe+ee)*a,(.5-x+ne)*y,(.5-x+ee)*a,(.5-oe+ne)*y)),E.add(new go.PathSegment(go.PathSegment.Bezier,(.5+ee)*a,(.5+x+ne)*y,(.5-x+ee)*a,(.5+oe+ne)*y,(.5-oe+ee)*a,(.5+x+ne)*y)),E.add(new go.PathSegment(go.PathSegment.Bezier,.4*a,.6*y,(.5+oe+ee)*a,(.5+x+ne)*y,(.5+x+ee)*a,(.5+oe+ne)*y).close()),b.setSpots(.06,.33,.93,.68),b}),go.Shape.defineFigureGenerator("YinYang",function(re,a,y){var b=new go.Geometry,E=new go.PathFigure(a*.5,0,!0);b.add(E),E.add(new go.PathSegment(go.PathSegment.Arc,270,180,a*.5,a*.5,a*.5,a*.5)),E.add(new go.PathSegment(go.PathSegment.Arc,90,-180,a*.5,a*.75,a*.25,a*.25)),E.add(new go.PathSegment(go.PathSegment.Arc,90,180,a*.5,a*.25,a*.25,a*.25));var x=.1,ee=.5,ne=.25;return E.add(new go.PathSegment(go.PathSegment.Move,(ee+x)*a,ne*y)),E.add(new go.PathSegment(go.PathSegment.Arc,0,-360,a*ee,y*ne,x*a,x*a).close()),E=new go.PathFigure(a*.5,0,!1),b.add(E),E.add(new go.PathSegment(go.PathSegment.Arc,270,-180,a*.5,a*.5,a*.5,a*.5)),ne=.75,E=new go.PathFigure((ee+x)*a,ne*y,!0),b.add(E),E.add(new go.PathSegment(go.PathSegment.Arc,0,360,a*ee,y*ne,x*a,x*a).close()),b.defaultStretch=go.GraphObject.Uniform,b}),go.Shape.defineFigureGenerator("Peace",function(re,a,y){var b=.8535533905932737,E=.5*a,x=.5*y;return new go.Geometry().add(new go.PathFigure(E,0,!1).add(new go.PathSegment(go.PathSegment.Arc,270,360,E,x,E,x)).add(new go.PathSegment(go.PathSegment.Line,E,y)).add(new go.PathSegment(go.PathSegment.Move,E,x)).add(new go.PathSegment(go.PathSegment.Line,(1-b)*a,b*y)).add(new go.PathSegment(go.PathSegment.Move,E,x)).add(new go.PathSegment(go.PathSegment.Line,b*a,b*y)))}),go.Shape.defineFigureGenerator("NotAllowed",function(re,a,y){var b=new go.Geometry,E=ie*.5,x=.5,ee=.5,ne=.5,oe=new go.PathFigure(ee*a,(ne-x)*y);b.add(oe),oe.add(new go.PathSegment(go.PathSegment.Bezier,(ee-x)*a,ne*y,(ee-E)*a,(ne-x)*y,(ee-x)*a,(ne-E)*y)),oe.add(new go.PathSegment(go.PathSegment.Bezier,ee*a,(ne+x)*y,(ee-x)*a,(ne+E)*y,(ee-E)*a,(ne+x)*y)),oe.add(new go.PathSegment(go.PathSegment.Bezier,(ee+x)*a,ne*y,(ee+E)*a,(ne+x)*y,(ee+x)*a,(ne+E)*y)),oe.add(new go.PathSegment(go.PathSegment.Bezier,ee*a,(ne-x)*y,(ee+x)*a,(ne-E)*y,(ee+E)*a,(ne-x)*y)),x=.4,E=ie*.4;var ae=z(),ue=z(),me=z(),fe=z();Ie(ee,ne-x,ee+E,ne-x,ee+x,ne-E,ee+x,ne,.42,ae,ue,me,fe,fe);var Pe=z(),xe=z(),Ee=z();Ie(ee,ne-x,ee+E,ne-x,ee+x,ne-E,ee+x,ne,.58,fe,fe,Ee,Pe,xe);var De=z(),ze=z(),ft=z();Ie(ee,ne+x,ee-E,ne+x,ee-x,ne+E,ee-x,ne,.42,De,ze,ft,fe,fe);var Be=z(),Ue=z(),Ge=z();return Ie(ee,ne+x,ee-E,ne+x,ee-x,ne+E,ee-x,ne,.58,fe,fe,Ge,Be,Ue),oe.add(new go.PathSegment(go.PathSegment.Move,Ge.x*a,Ge.y*y)),oe.add(new go.PathSegment(go.PathSegment.Bezier,(ee-x)*a,ne*y,Be.x*a,Be.y*y,Ue.x*a,Ue.y*y)),oe.add(new go.PathSegment(go.PathSegment.Bezier,ee*a,(ne-x)*y,(ee-x)*a,(ne-E)*y,(ee-E)*a,(ne-x)*y)),oe.add(new go.PathSegment(go.PathSegment.Bezier,me.x*a,me.y*y,ae.x*a,ae.y*y,ue.x*a,ue.y*y)),oe.add(new go.PathSegment(go.PathSegment.Line,Ge.x*a,Ge.y*y).close()),oe.add(new go.PathSegment(go.PathSegment.Move,ft.x*a,ft.y*y)),oe.add(new go.PathSegment(go.PathSegment.Line,Ee.x*a,Ee.y*y)),oe.add(new go.PathSegment(go.PathSegment.Bezier,(ee+x)*a,ne*y,Pe.x*a,Pe.y*y,xe.x*a,xe.y*y)),oe.add(new go.PathSegment(go.PathSegment.Bezier,ee*a,(ne+x)*y,(ee+x)*a,(ne+E)*y,(ee+E)*a,(ne+x)*y)),oe.add(new go.PathSegment(go.PathSegment.Bezier,ft.x*a,ft.y*y,De.x*a,De.y*y,ze.x*a,ze.y*y).close()),se(ae),se(ue),se(me),se(fe),se(Pe),se(xe),se(Ee),se(De),se(ze),se(ft),se(Be),se(Ue),se(Ge),b.defaultStretch=go.GraphObject.Uniform,b}),go.Shape.defineFigureGenerator("Fragile",function(re,a,y){return new go.Geometry().add(new go.PathFigure(0,0,!0).add(new go.PathSegment(go.PathSegment.Line,.25*a,0)).add(new go.PathSegment(go.PathSegment.Line,.2*a,.15*y)).add(new go.PathSegment(go.PathSegment.Line,.3*a,.25*y)).add(new go.PathSegment(go.PathSegment.Line,.29*a,.33*y)).add(new go.PathSegment(go.PathSegment.Line,.35*a,.25*y)).add(new go.PathSegment(go.PathSegment.Line,.3*a,.15*y)).add(new go.PathSegment(go.PathSegment.Line,.4*a,0)).add(new go.PathSegment(go.PathSegment.Line,a,0)).add(new go.PathSegment(go.PathSegment.Bezier,.55*a,.5*y,a,.25*y,.75*a,.5*y)).add(new go.PathSegment(go.PathSegment.Line,.55*a,.9*y)).add(new go.PathSegment(go.PathSegment.Line,.7*a,.9*y)).add(new go.PathSegment(go.PathSegment.Line,.7*a,y)).add(new go.PathSegment(go.PathSegment.Line,.3*a,y)).add(new go.PathSegment(go.PathSegment.Line,.3*a,.9*y)).add(new go.PathSegment(go.PathSegment.Line,.45*a,.9*y)).add(new go.PathSegment(go.PathSegment.Line,.45*a,.5*y)).add(new go.PathSegment(go.PathSegment.Bezier,0,0,.25*a,.5*y,0,.25*y).close()))}),go.Shape.setFigureParameter("HourGlass",0,new bt("Thickness",30)),go.Shape.defineFigureGenerator("HourGlass",function(re,a,y){var b=re?re.parameter1:NaN;(isNaN(b)||b<0)&&(b=30),b>a&&(b=a);var E=(a-b)/2,x=E+b;return new go.Geometry().add(new go.PathFigure(x,.5*y).add(new go.PathSegment(go.PathSegment.Line,a,y)).add(new go.PathSegment(go.PathSegment.Line,0,y)).add(new go.PathSegment(go.PathSegment.Line,E,.5*y)).add(new go.PathSegment(go.PathSegment.Line,0,0)).add(new go.PathSegment(go.PathSegment.Line,a,0).close()))}),go.Shape.defineFigureGenerator("Lightning",function(re,a,y){return new go.Geometry().add(new go.PathFigure(0,.55*y).add(new go.PathSegment(go.PathSegment.Line,.6*a,0)).add(new go.PathSegment(go.PathSegment.Line,.3*a,.45*y)).add(new go.PathSegment(go.PathSegment.Line,a,.45*y)).add(new go.PathSegment(go.PathSegment.Line,.4*a,y)).add(new go.PathSegment(go.PathSegment.Line,.7*a,.55*y).close()))}),go.Shape.defineFigureGenerator("GenderMale",function(re,a,y){var b=new go.Geometry,E=ie*.4,x=.4,ee=.5,ne=.5,oe=z(),ae=z(),ue=z(),me=z(),fe=new go.PathFigure((ee-x)*a,ne*y,!1);b.add(fe),fe.add(new go.PathSegment(go.PathSegment.Bezier,ee*a,(ne-x)*y,(ee-x)*a,(ne-E)*y,(ee-E)*a,(ne-x)*y)),Ie(ee,ne-x,ee+E,ne-x,ee+x,ne-E,ee+x,ne,.44,ue,me,ae,oe,oe),fe.add(new go.PathSegment(go.PathSegment.Bezier,ae.x*a,ae.y*y,ue.x*a,ue.y*y,me.x*a,me.y*y));var Pe=te(ae.x,ae.y);Ie(ee,ne-x,ee+E,ne-x,ee+x,ne-E,ee+x,ne,.56,oe,oe,ae,ue,me);var xe=te(ae.x,ae.y);fe.add(new go.PathSegment(go.PathSegment.Line,(Pe.x*.1+.95*.9)*a,Pe.y*.1*y)),fe.add(new go.PathSegment(go.PathSegment.Line,.85*a,Pe.y*.1*y)),fe.add(new go.PathSegment(go.PathSegment.Line,.85*a,0)),fe.add(new go.PathSegment(go.PathSegment.Line,a,0)),fe.add(new go.PathSegment(go.PathSegment.Line,a,.15*y)),fe.add(new go.PathSegment(go.PathSegment.Line,(xe.x*.1+.9)*a,.15*y)),fe.add(new go.PathSegment(go.PathSegment.Line,(xe.x*.1+.9)*a,(xe.y*.1+.05*.9)*y)),fe.add(new go.PathSegment(go.PathSegment.Line,xe.x*a,xe.y*y)),fe.add(new go.PathSegment(go.PathSegment.Bezier,(ee+x)*a,ne*y,ue.x*a,ue.y*y,me.x*a,me.y*y)),fe.add(new go.PathSegment(go.PathSegment.Bezier,ee*a,(ne+x)*y,(ee+x)*a,(ne+E)*y,(ee+E)*a,(ne+x)*y)),fe.add(new go.PathSegment(go.PathSegment.Bezier,(ee-x)*a,ne*y,(ee-E)*a,(ne+x)*y,(ee-x)*a,(ne+E)*y)),x=.35,E=ie*.35;var Ee=new go.PathFigure(ee*a,(ne-x)*y,!1);b.add(Ee),Ee.add(new go.PathSegment(go.PathSegment.Bezier,(ee-x)*a,ne*y,(ee-E)*a,(ne-x)*y,(ee-x)*a,(ne-E)*y)),Ee.add(new go.PathSegment(go.PathSegment.Bezier,ee*a,(ne+x)*y,(ee-x)*a,(ne+E)*y,(ee-E)*a,(ne+x)*y)),Ee.add(new go.PathSegment(go.PathSegment.Bezier,(ee+x)*a,ne*y,(ee+E)*a,(ne+x)*y,(ee+x)*a,(ne+E)*y)),Ee.add(new go.PathSegment(go.PathSegment.Bezier,ee*a,(ne-x)*y,(ee+x)*a,(ne-E)*y,(ee+E)*a,(ne-x)*y));var De=new go.PathFigure((ee-x)*a,ne*y,!1);return b.add(De),se(oe),se(ae),se(ue),se(me),se(Pe),se(xe),b.spot1=new go.Spot(.202,.257),b.spot2=new go.Spot(.792,.739),b.defaultStretch=go.GraphObject.Uniform,b}),go.Shape.defineFigureGenerator("GenderFemale",function(re,a,y){var b=new go.Geometry,E=.375,x=0,ee=-.125,ne=E*ie,oe=new go.PathFigure((.525+x)*a,(.5+E+ee)*y,!1);b.add(oe),oe.add(new go.PathSegment(go.PathSegment.Bezier,(1-.5+E+x)*a,(.5+ee)*y,(.5+ne+x)*a,(.5+E+ee)*y,(.5+E+x)*a,(.5+ne+ee)*y)),oe.add(new go.PathSegment(go.PathSegment.Bezier,(.5+x)*a,(.5-E+ee)*y,(1-.5+E+x)*a,(.5-ne+ee)*y,(.5+ne+x)*a,(.5-E+ee)*y)),oe.add(new go.PathSegment(go.PathSegment.Bezier,(.5-E+x)*a,(.5+ee)*y,(.5-ne+x)*a,(.5-E+ee)*y,(.5-E+x)*a,(.5-ne+ee)*y)),oe.add(new go.PathSegment(go.PathSegment.Bezier,(.475+x)*a,(.5+E+ee)*y,(.5-E+x)*a,(.5+ne+ee)*y,(.5-ne+x)*a,(.5+E+ee)*y)),oe.add(new go.PathSegment(go.PathSegment.Line,.475*a,.85*y)),oe.add(new go.PathSegment(go.PathSegment.Line,.425*a,.85*y)),oe.add(new go.PathSegment(go.PathSegment.Line,.425*a,.9*y)),oe.add(new go.PathSegment(go.PathSegment.Line,.475*a,.9*y)),oe.add(new go.PathSegment(go.PathSegment.Line,.475*a,y)),oe.add(new go.PathSegment(go.PathSegment.Line,.525*a,y)),oe.add(new go.PathSegment(go.PathSegment.Line,.525*a,.9*y)),oe.add(new go.PathSegment(go.PathSegment.Line,.575*a,.9*y)),oe.add(new go.PathSegment(go.PathSegment.Line,.575*a,.85*y)),oe.add(new go.PathSegment(go.PathSegment.Line,.525*a,.85*y).close()),E=.325,x=0,ee=-.125,ne=E*ie;var oe=new go.PathFigure((1-.5+E+x)*a,(.5+ee)*y,!1);b.add(oe),oe.add(new go.PathSegment(go.PathSegment.Bezier,(.5+x)*a,(.5+E+ee)*y,(.5+E+x)*a,(.5+ne+ee)*y,(.5+ne+x)*a,(.5+E+ee)*y)),oe.add(new go.PathSegment(go.PathSegment.Bezier,(.5-E+x)*a,(.5+ee)*y,(.5-ne+x)*a,(.5+E+ee)*y,(.5-E+x)*a,(.5+ne+ee)*y)),oe.add(new go.PathSegment(go.PathSegment.Bezier,(.5+x)*a,(.5-E+ee)*y,(.5-E+x)*a,(.5-ne+ee)*y,(.5-ne+x)*a,(.5-E+ee)*y)),oe.add(new go.PathSegment(go.PathSegment.Bezier,(1-.5+E+x)*a,(.5+ee)*y,(.5+ne+x)*a,(.5-E+ee)*y,(1-.5+E+x)*a,(.5-ne+ee)*y));var oe=new go.PathFigure((.525+x)*a,(.5+E+ee)*y,!1);return b.add(oe),b.spot1=new go.Spot(.232,.136),b.spot2=new go.Spot(.682,.611),b.defaultStretch=go.GraphObject.Uniform,b}),go.Shape.defineFigureGenerator("LogicImplies",function(re,a,y){var b=re?re.parameter1:NaN;return isNaN(b)&&(b=.2),new go.Geometry().add(new go.PathFigure((1-b)*a,0,!1).add(new go.PathSegment(go.PathSegment.Line,a,.5*y)).add(new go.PathSegment(go.PathSegment.Line,(1-b)*a,y)).add(new go.PathSegment(go.PathSegment.Move,0,.5*y)).add(new go.PathSegment(go.PathSegment.Line,a,.5*y))).setSpots(0,0,.8,.5)}),go.Shape.defineFigureGenerator("LogicIff",function(re,a,y){var b=re?re.parameter1:NaN;return isNaN(b)&&(b=.2),new go.Geometry().add(new go.PathFigure((1-b)*a,0,!1).add(new go.PathSegment(go.PathSegment.Line,a,.5*y)).add(new go.PathSegment(go.PathSegment.Line,(1-b)*a,y)).add(new go.PathSegment(go.PathSegment.Move,0,.5*y)).add(new go.PathSegment(go.PathSegment.Line,a,.5*y)).add(new go.PathSegment(go.PathSegment.Move,b*a,0)).add(new go.PathSegment(go.PathSegment.Line,0,.5*y)).add(new go.PathSegment(go.PathSegment.Line,b*a,y))).setSpots(.2,0,.8,.5)}),go.Shape.defineFigureGenerator("LogicNot",function(re,a,y){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Line,a,0)).add(new go.PathSegment(go.PathSegment.Line,a,y)))}),go.Shape.defineFigureGenerator("LogicAnd",function(re,a,y){return new go.Geometry().add(new go.PathFigure(0,y,!1).add(new go.PathSegment(go.PathSegment.Line,.5*a,0)).add(new go.PathSegment(go.PathSegment.Line,a,y))).setSpots(.25,.5,.75,1)}),go.Shape.defineFigureGenerator("LogicOr",function(re,a,y){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Line,.5*a,y)).add(new go.PathSegment(go.PathSegment.Line,a,0))).setSpots(.219,0,.78,.409)}),go.Shape.defineFigureGenerator("LogicXor",function(re,a,y){var b=new go.Geometry().add(new go.PathFigure(.5*a,0,!1).add(new go.PathSegment(go.PathSegment.Line,.5*a,y)).add(new go.PathSegment(go.PathSegment.Move,0,.5*y)).add(new go.PathSegment(go.PathSegment.Line,a,.5*y)).add(new go.PathSegment(go.PathSegment.Arc,0,360,.5*a,.5*y,.5*a,.5*y)));return b.defaultStretch=go.GraphObject.Uniform,b}),go.Shape.defineFigureGenerator("LogicTruth",function(re,a,y){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Line,a,0)).add(new go.PathSegment(go.PathSegment.Move,.5*a,0)).add(new go.PathSegment(go.PathSegment.Line,.5*a,y)))}),go.Shape.defineFigureGenerator("LogicFalsity",function(re,a,y){return new go.Geometry().add(new go.PathFigure(0,y,!1).add(new go.PathSegment(go.PathSegment.Line,a,y)).add(new go.PathSegment(go.PathSegment.Move,.5*a,y)).add(new go.PathSegment(go.PathSegment.Line,.5*a,0)))}),go.Shape.defineFigureGenerator("LogicThereExists",function(re,a,y){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Line,a,0)).add(new go.PathSegment(go.PathSegment.Line,a,.5*y)).add(new go.PathSegment(go.PathSegment.Line,0,.5*y)).add(new go.PathSegment(go.PathSegment.Move,a,.5*y)).add(new go.PathSegment(go.PathSegment.Line,a,y)).add(new go.PathSegment(go.PathSegment.Line,0,y)))}),go.Shape.defineFigureGenerator("LogicForAll",function(re,a,y){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Line,.5*a,y)).add(new go.PathSegment(go.PathSegment.Line,a,0)).add(new go.PathSegment(go.PathSegment.Move,.25*a,.5*y)).add(new go.PathSegment(go.PathSegment.Line,.75*a,.5*y))).setSpots(.25,0,.75,.5)}),go.Shape.defineFigureGenerator("LogicIsDefinedAs",function(re,a,y){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Line,a,0)).add(new go.PathSegment(go.PathSegment.Move,0,.5*y)).add(new go.PathSegment(go.PathSegment.Line,a,.5*y)).add(new go.PathSegment(go.PathSegment.Move,0,y)).add(new go.PathSegment(go.PathSegment.Line,a,y))).setSpots(.01,.01,.99,.49)}),go.Shape.defineFigureGenerator("LogicIntersect",function(re,a,y){var b=.5;return new go.Geometry().add(new go.PathFigure(0,y,!1).add(new go.PathSegment(go.PathSegment.Line,0,b*y)).add(new go.PathSegment(go.PathSegment.Arc,180,180,b*a,b*y,b*a,b*y)).add(new go.PathSegment(go.PathSegment.Line,a,y))).setSpots(0,.5,1,1)}),go.Shape.defineFigureGenerator("LogicUnion",function(re,a,y){var b=.5;return new go.Geometry().add(new go.PathFigure(a,0,!1).add(new go.PathSegment(go.PathSegment.Line,a,b*y)).add(new go.PathSegment(go.PathSegment.Arc,0,180,b*a,b*y,b*a,b*y)).add(new go.PathSegment(go.PathSegment.Line,0,0))).setSpots(0,0,1,.5)}),go.Shape.setFigureParameter("Arrow",0,new bt("ArrowheadWidth",.3,.01,.99)),go.Shape.setFigureParameter("Arrow",1,new bt("TailHeight",.3,.01,.99)),go.Shape.defineFigureGenerator("Arrow",function(re,a,y){var b=re?re.parameter1:NaN;isNaN(b)&&(b=.3);var E=re?re.parameter2:NaN;isNaN(E)&&(E=.3);var x=(1-b)*a,ee=(.5-E/2)*y,ne=(.5+E/2)*y,oe=new go.Geometry,ae=new go.PathFigure(0,ee,!0);oe.add(ae),ae.add(new go.PathSegment(go.PathSegment.Line,x,ee)),ae.add(new go.PathSegment(go.PathSegment.Line,x,0)),ae.add(new go.PathSegment(go.PathSegment.Line,a,.5*y)),ae.add(new go.PathSegment(go.PathSegment.Line,x,y)),ae.add(new go.PathSegment(go.PathSegment.Line,x,ne)),ae.add(new go.PathSegment(go.PathSegment.Line,0,ne).close()),oe.spot1=new go.Spot(0,ee/y);var ue=ve(0,ne/y,1,ne/y,x/a,1,1,.5,z());return oe.spot2=new go.Spot(ue.x,ue.y),se(ue),oe}),go.Shape.setFigureParameter("Arrow2",0,new bt("ArrowheadWidth",30)),go.Shape.setFigureParameter("Arrow2",0,new bt("TailHeight",30)),go.Shape.defineFigureGenerator("Arrow2",function(re,a,y){var b=re?re.parameter1:NaN;isNaN(b)&&(b=30),b>a&&(b=a);var E=re?re.parameter2:NaN;isNaN(E)&&(E=30),E=Math.min(E,y/2);var x=a-b,ee=(y-E)/2,ne=ee+E,oe=new go.Geometry,ae=new go.PathFigure(0,ee,!0);oe.add(ae),ae.add(new go.PathSegment(go.PathSegment.Line,x,ee)),ae.add(new go.PathSegment(go.PathSegment.Line,x,0)),ae.add(new go.PathSegment(go.PathSegment.Line,a,.5*y)),ae.add(new go.PathSegment(go.PathSegment.Line,x,y)),ae.add(new go.PathSegment(go.PathSegment.Line,x,ne)),ae.add(new go.PathSegment(go.PathSegment.Line,0,ne).close()),oe.spot1=new go.Spot(0,ee/y);var ue=ve(0,ne/y,1,ne/y,x/a,1,1,.5,z());return oe.spot2=new go.Spot(ue.x,ue.y),se(ue),oe}),go.Shape.defineFigureGenerator("Chevron",function(re,a,y){var b=new go.Geometry,E=new go.PathFigure(0,0,!0);return b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.5*a,0)),E.add(new go.PathSegment(go.PathSegment.Line,a,.5*y)),E.add(new go.PathSegment(go.PathSegment.Line,.5*a,y)),E.add(new go.PathSegment(go.PathSegment.Line,0,y)),E.add(new go.PathSegment(go.PathSegment.Line,.5*a,.5*y).close()),b}),go.Shape.defineFigureGenerator("DoubleArrow",function(re,a,y){var b=new go.Geometry,E=new go.PathFigure(0,0,!0);return b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.3*a,.214*y)),E.add(new go.PathSegment(go.PathSegment.Line,.3*a,0)),E.add(new go.PathSegment(go.PathSegment.Line,1*a,.5*y)),E.add(new go.PathSegment(go.PathSegment.Line,.3*a,1*y)),E.add(new go.PathSegment(go.PathSegment.Line,.3*a,.786*y)),E.add(new go.PathSegment(go.PathSegment.Line,0,1*y).close()),b}),go.Shape.setFigureParameter("DoubleEndArrow",0,new bt("ConnecterHeight",.3,.01,.99)),go.Shape.defineFigureGenerator("DoubleEndArrow",function(re,a,y){var b=re?re.parameter1:NaN;isNaN(b)&&(b=.3);var E=(.5-b/2)*y,x=(.5+b/2)*y,ee=new go.Geometry,ne=new go.PathFigure(a,.5*y,!0);ee.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,.7*a,y)),ne.add(new go.PathSegment(go.PathSegment.Line,.7*a,x)),ne.add(new go.PathSegment(go.PathSegment.Line,.3*a,x)),ne.add(new go.PathSegment(go.PathSegment.Line,.3*a,y)),ne.add(new go.PathSegment(go.PathSegment.Line,0,.5*y)),ne.add(new go.PathSegment(go.PathSegment.Line,.3*a,0)),ne.add(new go.PathSegment(go.PathSegment.Line,.3*a,E)),ne.add(new go.PathSegment(go.PathSegment.Line,.7*a,E)),ne.add(new go.PathSegment(go.PathSegment.Line,.7*a,0).close());var oe=ve(0,.5,.3,0,0,E/y,.1,E/y,z());return ee.spot1=new go.Spot(oe.x,oe.y),oe=ve(.7,1,1,.5,0,x/y,1,x/y,oe),ee.spot2=new go.Spot(oe.x,oe.y),se(oe),ee}),go.Shape.setFigureParameter("DoubleEndArrow2",0,new bt("ConnecterHeight",40)),go.Shape.setFigureParameter("DoubleEndArrow2",1,new bt("ArrowHeight",100)),go.Shape.defineFigureGenerator("DoubleEndArrow2",function(re,a,y){var b=re?re.parameter1:NaN;isNaN(b)&&(b=40);var E=re?re.parameter2:NaN;isNaN(E)&&(E=100);var x=(y-b)/2,ee=x+b,ne=(y-E)/2,oe=ne+E;(b>y||E>y)&&(E>b?(b=b*y/E,x=(y-b)/2,ee=x+b,ne=0,oe=y):(x=0,ee=y,ne=0,oe=y));var ae=new go.Geometry,ue=new go.PathFigure(a,.5*y,!0);ae.add(ue),ue.add(new go.PathSegment(go.PathSegment.Line,.7*a,oe)),ue.add(new go.PathSegment(go.PathSegment.Line,.7*a,ee)),ue.add(new go.PathSegment(go.PathSegment.Line,.3*a,ee)),ue.add(new go.PathSegment(go.PathSegment.Line,.3*a,oe)),ue.add(new go.PathSegment(go.PathSegment.Line,0,.5*y)),ue.add(new go.PathSegment(go.PathSegment.Line,.3*a,ne)),ue.add(new go.PathSegment(go.PathSegment.Line,.3*a,x)),ue.add(new go.PathSegment(go.PathSegment.Line,.7*a,x)),ue.add(new go.PathSegment(go.PathSegment.Line,.7*a,ne).close());var me=ve(0,.5,.3,ne/y,0,x/y,1,x/y,z());return ae.spot1=new go.Spot(me.x,me.y),me=ve(.7,oe/y,1,.5,0,ee/y,1,ee/y,me),ae.spot2=new go.Spot(me.x,me.y),se(me),ae}),go.Shape.setFigureParameter("IBeamArrow",0,new bt("ConnectorHeight",.7,.51,.97)),go.Shape.defineFigureGenerator("IBeamArrow",function(re,a,y){var b=re?re.parameter1:NaN;isNaN(b)&&(b=.3);var E=(.5-b/2)*y,x=(.5+b/2)*y,ee=new go.Geometry,ne=new go.PathFigure(a,.5*y,!0);ee.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,.7*a,y)),ne.add(new go.PathSegment(go.PathSegment.Line,.7*a,x)),ne.add(new go.PathSegment(go.PathSegment.Line,.2*a,x)),ne.add(new go.PathSegment(go.PathSegment.Line,.2*a,y)),ne.add(new go.PathSegment(go.PathSegment.Line,0,y)),ne.add(new go.PathSegment(go.PathSegment.Line,0,0)),ne.add(new go.PathSegment(go.PathSegment.Line,.2*a,0)),ne.add(new go.PathSegment(go.PathSegment.Line,.2*a,E)),ne.add(new go.PathSegment(go.PathSegment.Line,.7*a,E)),ne.add(new go.PathSegment(go.PathSegment.Line,.7*a,0).close()),ee.spot1=new go.Spot(0,E/y);var oe=ve(.7,1,1,.5,0,x/y,1,x/y,z());return ee.spot2=new go.Spot(oe.x,oe.y),se(oe),ee}),go.Shape.setFigureParameter("IBeamArrow2",0,new bt("ConnectorHeight",40)),go.Shape.setFigureParameter("IBeamArrow2",1,new bt("BeamArrowHeight",100)),go.Shape.defineFigureGenerator("IBeamArrow2",function(re,a,y){var b=re?re.parameter1:NaN;isNaN(b)&&(b=40);var E=re?re.parameter2:NaN;isNaN(E)&&(E=100);var x=(y-b)/2,ee=x+b,ne=(y-E)/2,oe=ne+E;(b>y||E>y)&&(E>b?(b=b*y/E,x=(y-b)/2,ee=x+b,ne=0,oe=y):(x=0,ee=y,ne=0,oe=y));var ae=new go.Geometry,ue=new go.PathFigure(a,.5*y,!0);ae.add(ue),ue.add(new go.PathSegment(go.PathSegment.Line,.7*a,oe)),ue.add(new go.PathSegment(go.PathSegment.Line,.7*a,ee)),ue.add(new go.PathSegment(go.PathSegment.Line,.2*a,ee)),ue.add(new go.PathSegment(go.PathSegment.Line,.2*a,oe)),ue.add(new go.PathSegment(go.PathSegment.Line,0,oe)),ue.add(new go.PathSegment(go.PathSegment.Line,0,ne)),ue.add(new go.PathSegment(go.PathSegment.Line,.2*a,ne)),ue.add(new go.PathSegment(go.PathSegment.Line,.2*a,x)),ue.add(new go.PathSegment(go.PathSegment.Line,.7*a,x)),ue.add(new go.PathSegment(go.PathSegment.Line,.7*a,ne).close()),ae.spot1=new go.Spot(0,x/y);var me=ve(.7,oe/y,1,.5,0,ee/y,1,ee/y,z());return ae.spot2=new go.Spot(me.x,me.y),se(me),ae}),go.Shape.setFigureParameter("Pointer",0,new bt("BackPoint",.1,0,.2)),go.Shape.defineFigureGenerator("Pointer",function(re,a,y){var b=re?re.parameter1:NaN;isNaN(b)&&(b=.1);var E=new go.Geometry,x=new go.PathFigure(a,.5*y,!0);E.add(x),x.add(new go.PathSegment(go.PathSegment.Line,0,y)),x.add(new go.PathSegment(go.PathSegment.Line,b*a,.5*y)),x.add(new go.PathSegment(go.PathSegment.Line,0,0).close()),E.spot1=new go.Spot(b,.35);var ee=ve(.2,.65,1,.65,0,1,1,.5,z());return E.spot2=new go.Spot(ee.x,ee.y),se(ee),E}),go.Shape.setFigureParameter("RoundedPointer",0,new bt("RoundedEdge",.3,0,.5)),go.Shape.defineFigureGenerator("RoundedPointer",function(re,a,y){var b=re?re.parameter1:NaN;isNaN(b)&&(b=.3);var E=new go.Geometry,x=new go.PathFigure(a,.5*y,!0);E.add(x),x.add(new go.PathSegment(go.PathSegment.Line,0,y)),x.add(new go.PathSegment(go.PathSegment.Bezier,0,0,b*a,.75*y,b*a,.25*y).close()),E.spot1=new go.Spot(b,.35);var ee=ve(0,.65,1,.65,0,1,1,.5,z());return E.spot2=new go.Spot(ee.x,ee.y),se(ee),E}),go.Shape.setFigureParameter("SplitEndArrow",0,new bt("TailHeight",.4,.01,.99)),go.Shape.defineFigureGenerator("SplitEndArrow",function(re,a,y){var b=re?re.parameter1:NaN;isNaN(b)&&(b=.4);var E=(.5-b/2)*y,x=(.5+b/2)*y,ee=new go.Geometry,ne=new go.PathFigure(a,.5*y,!0);ee.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,.7*a,y)),ne.add(new go.PathSegment(go.PathSegment.Line,.7*a,x)),ne.add(new go.PathSegment(go.PathSegment.Line,0,x)),ne.add(new go.PathSegment(go.PathSegment.Line,.2*a,.5*y)),ne.add(new go.PathSegment(go.PathSegment.Line,0,E)),ne.add(new go.PathSegment(go.PathSegment.Line,.7*a,E)),ne.add(new go.PathSegment(go.PathSegment.Line,.7*a,0).close()),ee.spot1=new go.Spot(.2,.3);var oe=ve(.7,1,1,.5,0,x/y,1,x/y,z());return ee.spot2=new go.Spot(oe.x,oe.y),se(oe),ee}),go.Shape.setFigureParameter("SplitEndArrow2",0,new bt("TailThickness",50)),go.Shape.defineFigureGenerator("SplitEndArrow2",function(re,a,y){var b=re?re.parameter1:NaN;isNaN(b)&&(b=50);var E=(y-b)/2,x=E+b;b>y&&(E=0,x=y);var ee=new go.Geometry,ne=new go.PathFigure(a,.5*y,!0);ee.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,.7*a,y)),ne.add(new go.PathSegment(go.PathSegment.Line,.7*a,x)),ne.add(new go.PathSegment(go.PathSegment.Line,0,x)),ne.add(new go.PathSegment(go.PathSegment.Line,.2*a,.5*y)),ne.add(new go.PathSegment(go.PathSegment.Line,0,E)),ne.add(new go.PathSegment(go.PathSegment.Line,.7*a,E)),ne.add(new go.PathSegment(go.PathSegment.Line,.7*a,0).close()),ee.spot1=new go.Spot(.2,E/y);var oe=ve(.7,1,1,.5,0,x/y,1,x/y,z());return ee.spot2=new go.Spot(oe.x,oe.y),se(oe),ee}),go.Shape.setFigureParameter("SquareArrow",0,new bt("ArrowPoint",.7,.2,.9)),go.Shape.defineFigureGenerator("SquareArrow",function(re,a,y){var b=re?re.parameter1:NaN;isNaN(b)&&(b=.7);var E=new go.Geometry,x=new go.PathFigure(a,.5*y,!0);return E.add(x),x.add(new go.PathSegment(go.PathSegment.Line,b*a,y)),x.add(new go.PathSegment(go.PathSegment.Line,0,y)),x.add(new go.PathSegment(go.PathSegment.Line,0,0)),x.add(new go.PathSegment(go.PathSegment.Line,b*a,0).close()),E.spot1=go.Spot.TopLeft,E.spot2=new go.Spot(b,1),E}),go.Shape.defineFigureGenerator("Cone1",function(re,a,y){var b=new go.Geometry,E=ie*.5,x=ie*.1,ee=new go.PathFigure(0,.9*y,!0);return b.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,.5*a,0)),ee.add(new go.PathSegment(go.PathSegment.Line,a,.9*y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,y,a,(.9+x)*y,(.5+E)*a,y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,0,.9*y,(.5-E)*a,y,0,(.9+x)*y).close()),b.spot1=new go.Spot(.25,.5),b.spot2=new go.Spot(.75,.97),b}),go.Shape.defineFigureGenerator("Cone2",function(re,a,y){var b=new go.Geometry,E=new go.PathFigure(0,.9*y,!0);b.add(E),E.add(new go.PathSegment(go.PathSegment.Bezier,a,.9*y,(1-.85/.9)*a,y,.85/.9*a,y)),E.add(new go.PathSegment(go.PathSegment.Line,.5*a,0)),E.add(new go.PathSegment(go.PathSegment.Line,0,.9*y).close());var x=new go.PathFigure(0,.9*y,!1);return b.add(x),x.add(new go.PathSegment(go.PathSegment.Bezier,a,.9*y,(1-.85/.9)*a,.8*y,.85/.9*a,.8*y)),b.spot1=new go.Spot(.25,.5),b.spot2=new go.Spot(.75,.82),b}),go.Shape.defineFigureGenerator("Cube1",function(re,a,y){var b=new go.Geometry,E=new go.PathFigure(.5*a,y,!0);b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,a,.85*y)),E.add(new go.PathSegment(go.PathSegment.Line,a,.15*y)),E.add(new go.PathSegment(go.PathSegment.Line,.5*a,0)),E.add(new go.PathSegment(go.PathSegment.Line,0,.15*y)),E.add(new go.PathSegment(go.PathSegment.Line,0,.85*y).close());var x=new go.PathFigure(.5*a,y,!1);return b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,.5*a,.3*y)),x.add(new go.PathSegment(go.PathSegment.Line,0,.15*y)),x.add(new go.PathSegment(go.PathSegment.Move,.5*a,.3*y)),x.add(new go.PathSegment(go.PathSegment.Line,a,.15*y)),b.spot1=new go.Spot(0,.3),b.spot2=new go.Spot(.5,.85),b}),go.Shape.defineFigureGenerator("Cube2",function(re,a,y){var b=new go.Geometry,E=new go.PathFigure(0,.3*y,!0);b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,0,y)),E.add(new go.PathSegment(go.PathSegment.Line,.7*a,y)),E.add(new go.PathSegment(go.PathSegment.Line,a,.7*y)),E.add(new go.PathSegment(go.PathSegment.Line,a,0)),E.add(new go.PathSegment(go.PathSegment.Line,.3*a,0).close());var x=new go.PathFigure(0,.3*y,!1);return b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,.7*a,.3*y)),x.add(new go.PathSegment(go.PathSegment.Line,a,0)),x.add(new go.PathSegment(go.PathSegment.Move,.7*a,.3*y)),x.add(new go.PathSegment(go.PathSegment.Line,.7*a,y)),b.spot1=new go.Spot(0,.3),b.spot2=new go.Spot(.7,1),b}),go.Shape.defineFigureGenerator("Cylinder1",function(re,a,y){var b=re?re.parameter1:NaN;isNaN(b)&&(b=5),b=Math.min(b,y/3);var E=new go.Geometry,x=ie*.5,ee=new go.PathFigure(0,b,!0);E.add(ee),ee.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,0,0,ie*b,(.5-x)*a,0)),ee.add(new go.PathSegment(go.PathSegment.Bezier,1*a,b,(.5+x)*a,0,1*a,ie*b)),ee.add(new go.PathSegment(go.PathSegment.Line,a,y-b)),ee.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,1*y,1*a,y-ie*b,(.5+x)*a,1*y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,0,y-b,(.5-x)*a,1*y,0,y-ie*b)),ee.add(new go.PathSegment(go.PathSegment.Line,0,b));var ne=new go.PathFigure(a,b,!1);return E.add(ne),ne.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,2*b,1*a,2*b-ie*b,(.5+x)*a,2*b)),ne.add(new go.PathSegment(go.PathSegment.Bezier,0,b,(.5-x)*a,2*b,0,2*b-ie*b)),E.spot1=new go.Spot(0,0,0,2*b),E.spot2=new go.Spot(1,1),E}),go.Shape.defineFigureGenerator("Cylinder2",function(re,a,y){var b=re?re.parameter1:NaN;isNaN(b)&&(b=5),b=Math.min(b,y/3);var E=new go.Geometry,x=ie*.5,ee=new go.PathFigure(0,y-b,!0);E.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,0,b)),ee.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,0,0,ie*b,(.5-x)*a,0)),ee.add(new go.PathSegment(go.PathSegment.Bezier,a,b,(.5+x)*a,0,a,ie*b)),ee.add(new go.PathSegment(go.PathSegment.Line,a,y-b)),ee.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,y,a,y-ie*b,(.5+x)*a,y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,0,y-b,(.5-x)*a,y,0,y-ie*b));var ne=new go.PathFigure(0,y-b,!1);return E.add(ne),ne.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,y-2*b,0,y-b-ie*b,(.5-x)*a,y-2*b)),ne.add(new go.PathSegment(go.PathSegment.Bezier,a,y-b,(.5+x)*a,y-2*b,a,y-b-ie*b)),E.spot1=new go.Spot(0,0),E.spot2=new go.Spot(1,1,0,-2*b),E}),go.Shape.defineFigureGenerator("Cylinder3",function(re,a,y){var b=re?re.parameter1:NaN;isNaN(b)&&(b=5),b=Math.min(b,a/3);var E=new go.Geometry,x=ie*.5,ee=new go.PathFigure(b,0,!0);E.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,a-b,0)),ee.add(new go.PathSegment(go.PathSegment.Bezier,a,.5*y,a-ie*b,0,a,(.5-x)*y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,a-b,y,a,(.5+x)*y,a-ie*b,y)),ee.add(new go.PathSegment(go.PathSegment.Line,b,y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,0,.5*y,ie*b,y,0,(.5+x)*y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,b,0,0,(.5-x)*y,ie*b,0));var ne=new go.PathFigure(b,0,!1);return E.add(ne),ne.add(new go.PathSegment(go.PathSegment.Bezier,2*b,.5*y,b+ie*b,0,2*b,(.5-x)*y)),ne.add(new go.PathSegment(go.PathSegment.Bezier,b,y,2*b,(.5+x)*y,b+ie*b,y)),E.spot1=new go.Spot(0,0,2*b,0),E.spot2=new go.Spot(1,1),E}),go.Shape.defineFigureGenerator("Cylinder4",function(re,a,y){var b=re?re.parameter1:NaN;isNaN(b)&&(b=5),b=Math.min(b,a/3);var E=new go.Geometry,x=ie*.5,ee=new go.PathFigure(a-b,0,!0);E.add(ee),ee.add(new go.PathSegment(go.PathSegment.Bezier,a,.5*y,a-ie*b,0,a,(.5-x)*y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,a-b,y,a,(.5+x)*y,a-ie*b,y)),ee.add(new go.PathSegment(go.PathSegment.Line,b,y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,0,.5*y,ie*b,y,0,(.5+x)*y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,b,0,0,(.5-x)*y,ie*b,0)),ee.add(new go.PathSegment(go.PathSegment.Line,a-b,0));var ne=new go.PathFigure(a-b,0,!1);return E.add(ne),ne.add(new go.PathSegment(go.PathSegment.Bezier,a-2*b,.5*y,a-b-ie*b,0,a-2*b,(.5-x)*y)),ne.add(new go.PathSegment(go.PathSegment.Bezier,a-b,y,a-2*b,(.5+x)*y,a-b-ie*b,y)),E.spot1=new go.Spot(0,0),E.spot2=new go.Spot(1,1,-2*b,0),E}),go.Shape.defineFigureGenerator("Prism1",function(re,a,y){var b=new go.Geometry,E=new go.PathFigure(.25*a,.25*y,!0);b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.75*a,0)),E.add(new go.PathSegment(go.PathSegment.Line,a,.5*y)),E.add(new go.PathSegment(go.PathSegment.Line,.5*a,y)),E.add(new go.PathSegment(go.PathSegment.Line,0,y).close());var x=new go.PathFigure(.25*a,.25*y,!1);return b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,.5*a,y)),b.spot1=new go.Spot(.408,.172),b.spot2=new go.Spot(.833,.662),b}),go.Shape.defineFigureGenerator("Prism2",function(re,a,y){var b=new go.Geometry,E=new go.PathFigure(0,.25*y,!0);b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.75*a,0)),E.add(new go.PathSegment(go.PathSegment.Line,a,.25*y)),E.add(new go.PathSegment(go.PathSegment.Line,.75*a,.75*y)),E.add(new go.PathSegment(go.PathSegment.Line,0,y).close());var x=new go.PathFigure(0,y,!1);return b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,.25*a,.5*y)),x.add(new go.PathSegment(go.PathSegment.Line,a,.25*y)),x.add(new go.PathSegment(go.PathSegment.Move,0,.25*y)),x.add(new go.PathSegment(go.PathSegment.Line,.25*a,.5*y)),b.spot1=new go.Spot(.25,.5),b.spot2=new go.Spot(.75,.75),b}),go.Shape.defineFigureGenerator("Pyramid1",function(re,a,y){var b=new go.Geometry,E=new go.PathFigure(.5*a,0,!0);b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,a,.75*y)),E.add(new go.PathSegment(go.PathSegment.Line,.5*a,y)),E.add(new go.PathSegment(go.PathSegment.Line,0,.75*y).close());var x=new go.PathFigure(.5*a,0,!1);return b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,.5*a,y)),b.spot1=new go.Spot(.25,.367),b.spot2=new go.Spot(.75,.875),b}),go.Shape.defineFigureGenerator("Pyramid2",function(re,a,y){var b=new go.Geometry,E=new go.PathFigure(.5*a,0,!0);b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,a,.85*y)),E.add(new go.PathSegment(go.PathSegment.Line,.5*a,y)),E.add(new go.PathSegment(go.PathSegment.Line,0,.85*y).close());var x=new go.PathFigure(.5*a,0,!1);return b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,.5*a,.7*y)),x.add(new go.PathSegment(go.PathSegment.Line,0,.85*y)),x.add(new go.PathSegment(go.PathSegment.Move,.5*a,.7*y)),x.add(new go.PathSegment(go.PathSegment.Line,a,.85*y)),b.spot1=new go.Spot(.25,.367),b.spot2=new go.Spot(.75,.875),b}),go.Shape.defineFigureGenerator("Actor",function(re,a,y){var b=new go.Geometry,E=.2,x=.1,ee=ie*E,ne=ie*x,oe=.5,ae=.1,ue=new go.PathFigure(oe*a,(ae+x)*y,!0);b.add(ue),ue.add(new go.PathSegment(go.PathSegment.Bezier,(oe-E)*a,ae*y,(oe-ee)*a,(ae+x)*y,(oe-E)*a,(ae+ne)*y)),ue.add(new go.PathSegment(go.PathSegment.Bezier,oe*a,(ae-x)*y,(oe-E)*a,(ae-ne)*y,(oe-ee)*a,(ae-x)*y)),ue.add(new go.PathSegment(go.PathSegment.Bezier,(oe+E)*a,ae*y,(oe+ee)*a,(ae-x)*y,(oe+E)*a,(ae-ne)*y)),ue.add(new go.PathSegment(go.PathSegment.Bezier,oe*a,(ae+x)*y,(oe+E)*a,(ae+ne)*y,(oe+ee)*a,(ae+x)*y));var me=.05,fe=ie*me;oe=.05,ae=.25;var Pe=new go.PathFigure(.5*a,.2*y,!0);return b.add(Pe),Pe.add(new go.PathSegment(go.PathSegment.Line,.95*a,.2*y)),oe=.95,ae=.25,Pe.add(new go.PathSegment(go.PathSegment.Bezier,(oe+me)*a,ae*y,(oe+fe)*a,(ae-me)*y,(oe+me)*a,(ae-fe)*y)),Pe.add(new go.PathSegment(go.PathSegment.Line,a,.6*y)),Pe.add(new go.PathSegment(go.PathSegment.Line,.85*a,.6*y)),Pe.add(new go.PathSegment(go.PathSegment.Line,.85*a,.35*y)),me=.025,fe=ie*me,oe=.825,ae=.35,Pe.add(new go.PathSegment(go.PathSegment.Bezier,oe*a,(ae-me)*y,(oe+me)*a,(ae-fe)*y,(oe+fe)*a,(ae-me)*y)),Pe.add(new go.PathSegment(go.PathSegment.Bezier,(oe-me)*a,ae*y,(oe-fe)*a,(ae-me)*y,(oe-me)*a,(ae-fe)*y)),Pe.add(new go.PathSegment(go.PathSegment.Line,.8*a,y)),Pe.add(new go.PathSegment(go.PathSegment.Line,.55*a,y)),Pe.add(new go.PathSegment(go.PathSegment.Line,.55*a,.7*y)),me=.05,fe=ie*me,oe=.5,ae=.7,Pe.add(new go.PathSegment(go.PathSegment.Bezier,oe*a,(ae-me)*y,(oe+me)*a,(ae-fe)*y,(oe+fe)*a,(ae-me)*y)),Pe.add(new go.PathSegment(go.PathSegment.Bezier,(oe-me)*a,ae*y,(oe-fe)*a,(ae-me)*y,(oe-me)*a,(ae-fe)*y)),Pe.add(new go.PathSegment(go.PathSegment.Line,.45*a,y)),Pe.add(new go.PathSegment(go.PathSegment.Line,.2*a,y)),Pe.add(new go.PathSegment(go.PathSegment.Line,.2*a,.35*y)),me=.025,fe=ie*me,oe=.175,ae=.35,Pe.add(new go.PathSegment(go.PathSegment.Bezier,oe*a,(ae-me)*y,(oe+me)*a,(ae-fe)*y,(oe+fe)*a,(ae-me)*y)),Pe.add(new go.PathSegment(go.PathSegment.Bezier,(oe-me)*a,ae*y,(oe-fe)*a,(ae-me)*y,(oe-me)*a,(ae-fe)*y)),Pe.add(new go.PathSegment(go.PathSegment.Line,.15*a,.6*y)),Pe.add(new go.PathSegment(go.PathSegment.Line,0,.6*y)),Pe.add(new go.PathSegment(go.PathSegment.Line,0,.25*y)),me=.05,fe=ie*me,oe=.05,ae=.25,Pe.add(new go.PathSegment(go.PathSegment.Bezier,oe*a,(ae-me)*y,(oe-me)*a,(ae-fe)*y,(oe-fe)*a,(ae-me)*y)),Pe.add(new go.PathSegment(go.PathSegment.Line,.5*a,.2*y)),b.spot1=new go.Spot(.2,.2),b.spot2=new go.Spot(.8,.65),b}),go.Shape.setFigureParameter("Card",0,new bt("CornerCutoutSize",.2,.1,.9)),go.Shape.defineFigureGenerator("Card",function(re,a,y){var b=re?re.parameter1:NaN;isNaN(b)&&(b=.2);var E=new go.Geometry,x=new go.PathFigure(a,0,!0);return E.add(x),x.add(new go.PathSegment(go.PathSegment.Line,a,y)),x.add(new go.PathSegment(go.PathSegment.Line,0,y)),x.add(new go.PathSegment(go.PathSegment.Line,0,b*y)),x.add(new go.PathSegment(go.PathSegment.Line,b*a,0).close()),E.spot1=new go.Spot(0,b),E.spot2=go.Spot.BottomRight,E}),go.Shape.defineFigureGenerator("Collate",function(re,a,y){var b=new go.Geometry,E=new go.PathFigure(.5*a,.5*y,!0);b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,0,0)),E.add(new go.PathSegment(go.PathSegment.Line,a,0)),E.add(new go.PathSegment(go.PathSegment.Line,.5*a,.5*y));var x=new go.PathFigure(.5*a,.5*y,!0);return b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,a,y)),x.add(new go.PathSegment(go.PathSegment.Line,0,y)),x.add(new go.PathSegment(go.PathSegment.Line,.5*a,.5*y)),b.spot1=new go.Spot(.25,0),b.spot2=new go.Spot(.75,.25),b}),go.Shape.defineFigureGenerator("CreateRequest",function(re,a,y){var b=new go.Geometry,E=re?re.parameter1:NaN;isNaN(E)&&(E=.1);var x=new go.PathFigure(0,0,!0);b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,a,0)),x.add(new go.PathSegment(go.PathSegment.Line,a,y)),x.add(new go.PathSegment(go.PathSegment.Line,0,y).close());var ee=new go.PathFigure(0,E*y,!1);return b.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,a,E*y)),ee.add(new go.PathSegment(go.PathSegment.Move,0,(1-E)*y)),ee.add(new go.PathSegment(go.PathSegment.Line,a,(1-E)*y)),b}),go.Shape.defineFigureGenerator("Database",function(re,a,y){var b=new go.Geometry,E=ie*.5,x=ie*.1,ee=new go.PathFigure(a,.1*y,!0);b.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,a,.9*y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,y,a,(.9+x)*y,(.5+E)*a,y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,0,.9*y,(.5-E)*a,y,0,(.9+x)*y)),ee.add(new go.PathSegment(go.PathSegment.Line,0,.1*y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,0,0,(.1-x)*y,(.5-E)*a,0)),ee.add(new go.PathSegment(go.PathSegment.Bezier,a,.1*y,(.5+E)*a,0,a,(.1-x)*y));var ne=new go.PathFigure(a,.1*y,!1);return b.add(ne),ne.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.2*y,a,(.1+x)*y,(.5+E)*a,.2*y)),ne.add(new go.PathSegment(go.PathSegment.Bezier,0,.1*y,(.5-E)*a,.2*y,0,(.1+x)*y)),ne.add(new go.PathSegment(go.PathSegment.Move,a,.2*y)),ne.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.3*y,a,(.2+x)*y,(.5+E)*a,.3*y)),ne.add(new go.PathSegment(go.PathSegment.Bezier,0,.2*y,(.5-E)*a,.3*y,0,(.2+x)*y)),ne.add(new go.PathSegment(go.PathSegment.Move,a,.3*y)),ne.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.4*y,a,(.3+x)*y,(.5+E)*a,.4*y)),ne.add(new go.PathSegment(go.PathSegment.Bezier,0,.3*y,(.5-E)*a,.4*y,0,(.3+x)*y)),b.spot1=new go.Spot(0,.4),b.spot2=new go.Spot(1,.9),b}),go.Shape.defineFigureGenerator("DataStorage",function(re,a,y){var b=new go.Geometry,E=new go.PathFigure(0,0,!0);return b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.75*a,0)),E.add(new go.PathSegment(go.PathSegment.Bezier,.75*a,y,a,0,a,y)),E.add(new go.PathSegment(go.PathSegment.Line,0,y)),E.add(new go.PathSegment(go.PathSegment.Bezier,0,0,.25*a,.9*y,.25*a,.1*y).close()),b.spot1=new go.Spot(.226,0),b.spot2=new go.Spot(.81,1),b}),go.Shape.defineFigureGenerator("DiskStorage",function(re,a,y){var b=new go.Geometry,E=ie*.5,x=ie*.1,ee=new go.PathFigure(a,.1*y,!0);b.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,a,.9*y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,y,a,(.9+x)*y,(.5+E)*a,y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,0,.9*y,(.5-E)*a,y,0,(.9+x)*y)),ee.add(new go.PathSegment(go.PathSegment.Line,0,.1*y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,0,0,(.1-x)*y,(.5-E)*a,0)),ee.add(new go.PathSegment(go.PathSegment.Bezier,a,.1*y,(.5+E)*a,0,a,(.1-x)*y));var ne=new go.PathFigure(a,.1*y,!1);return b.add(ne),ne.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.2*y,a,(.1+x)*y,(.5+E)*a,.2*y)),ne.add(new go.PathSegment(go.PathSegment.Bezier,0,.1*y,(.5-E)*a,.2*y,0,(.1+x)*y)),ne.add(new go.PathSegment(go.PathSegment.Move,a,.2*y)),ne.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.3*y,a,(.2+x)*y,(.5+E)*a,.3*y)),ne.add(new go.PathSegment(go.PathSegment.Bezier,0,.2*y,(.5-E)*a,.3*y,0,(.2+x)*y)),b.spot1=new go.Spot(0,.3),b.spot2=new go.Spot(1,.9),b}),go.Shape.defineFigureGenerator("Display",function(re,a,y){var b=new go.Geometry,E=new go.PathFigure(.25*a,0,!0);return b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.75*a,0)),E.add(new go.PathSegment(go.PathSegment.Bezier,.75*a,y,a,0,a,y)),E.add(new go.PathSegment(go.PathSegment.Line,.25*a,y)),E.add(new go.PathSegment(go.PathSegment.Line,0,.5*y).close()),b.spot1=new go.Spot(.25,0),b.spot2=new go.Spot(.75,1),b}),go.Shape.defineFigureGenerator("DividedEvent",function(re,a,y){var b=new go.Geometry,E=re?re.parameter1:NaN;isNaN(E)?E=.2:E<.15&&(E=.15);var x=ie*.2,ee=new go.PathFigure(0,.2*y,!0);b.add(ee),ee.add(new go.PathSegment(go.PathSegment.Bezier,.2*a,0,0,(.2-x)*y,(.2-x)*a,0)),ee.add(new go.PathSegment(go.PathSegment.Line,.8*a,0)),ee.add(new go.PathSegment(go.PathSegment.Bezier,a,.2*y,(.8+x)*a,0,a,(.2-x)*y)),ee.add(new go.PathSegment(go.PathSegment.Line,a,.8*y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,.8*a,y,a,(.8+x)*y,(.8+x)*a,y)),ee.add(new go.PathSegment(go.PathSegment.Line,.2*a,y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,0,.8*y,(.2-x)*a,y,0,(.8+x)*y)),ee.add(new go.PathSegment(go.PathSegment.Line,0,.2*y));var ne=new go.PathFigure(0,E*y,!1);return b.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,a,E*y)),b}),go.Shape.defineFigureGenerator("DividedProcess",function(re,a,y){var b=new go.Geometry,E=re?re.parameter1:NaN;(isNaN(E)||E<.1)&&(E=.1);var x=new go.PathFigure(0,0,!0);b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,a,0)),x.add(new go.PathSegment(go.PathSegment.Line,a,y)),x.add(new go.PathSegment(go.PathSegment.Line,0,y).close());var ee=new go.PathFigure(0,E*y,!1);return b.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,a,E*y)),b}),go.Shape.defineFigureGenerator("Document",function(re,a,y){var b=new go.Geometry;y=y/.8;var E=new go.PathFigure(0,.7*y,!0);return b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,0,0)),E.add(new go.PathSegment(go.PathSegment.Line,a,0)),E.add(new go.PathSegment(go.PathSegment.Line,a,.7*y)),E.add(new go.PathSegment(go.PathSegment.Bezier,0,.7*y,.5*a,.4*y,.5*a,y).close()),b.spot1=go.Spot.TopLeft,b.spot2=new go.Spot(1,.6),b}),go.Shape.defineFigureGenerator("ExternalOrganization",function(re,a,y){var b=new go.Geometry,E=re?re.parameter1:NaN;(isNaN(E)||E<.2)&&(E=.2);var x=new go.PathFigure(0,0,!0);b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,a,0)),x.add(new go.PathSegment(go.PathSegment.Line,a,y)),x.add(new go.PathSegment(go.PathSegment.Line,0,y).close());var ee=new go.PathFigure(E*a,0,!1);return b.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,0,E*y)),ee.add(new go.PathSegment(go.PathSegment.Move,a,E*y)),ee.add(new go.PathSegment(go.PathSegment.Line,(1-E)*a,0)),ee.add(new go.PathSegment(go.PathSegment.Move,0,(1-E)*y)),ee.add(new go.PathSegment(go.PathSegment.Line,E*a,y)),ee.add(new go.PathSegment(go.PathSegment.Move,(1-E)*a,y)),ee.add(new go.PathSegment(go.PathSegment.Line,a,(1-E)*y)),b}),go.Shape.defineFigureGenerator("ExternalProcess",function(re,a,y){var b=new go.Geometry,E=new go.PathFigure(.5*a,0,!0);b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,a,.5*y)),E.add(new go.PathSegment(go.PathSegment.Line,.5*a,y)),E.add(new go.PathSegment(go.PathSegment.Line,0,.5*y).close());var x=new go.PathFigure(.1*a,.4*y,!1);return b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,.1*a,.6*y)),x.add(new go.PathSegment(go.PathSegment.Move,.9*a,.6*y)),x.add(new go.PathSegment(go.PathSegment.Line,.9*a,.4*y)),x.add(new go.PathSegment(go.PathSegment.Move,.6*a,.1*y)),x.add(new go.PathSegment(go.PathSegment.Line,.4*a,.1*y)),x.add(new go.PathSegment(go.PathSegment.Move,.4*a,.9*y)),x.add(new go.PathSegment(go.PathSegment.Line,.6*a,.9*y)),b.spot1=new go.Spot(.25,.25),b.spot2=new go.Spot(.75,.75),b}),go.Shape.defineFigureGenerator("File",function(re,a,y){var b=new go.Geometry,E=new go.PathFigure(0,0,!0);b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.75*a,0)),E.add(new go.PathSegment(go.PathSegment.Line,a,.25*y)),E.add(new go.PathSegment(go.PathSegment.Line,a,y)),E.add(new go.PathSegment(go.PathSegment.Line,0,y).close());var x=new go.PathFigure(.75*a,0,!1);return b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,.75*a,.25*y)),x.add(new go.PathSegment(go.PathSegment.Line,a,.25*y)),b.spot1=new go.Spot(0,.25),b.spot2=go.Spot.BottomRight,b}),go.Shape.defineFigureGenerator("Interrupt",function(re,a,y){var b=new go.Geometry,E=new go.PathFigure(a,.5*y,!0);b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,0,y)),E.add(new go.PathSegment(go.PathSegment.Line,0,0)),E.add(new go.PathSegment(go.PathSegment.Line,a,.5*y));var x=new go.PathFigure(a,.5*y,!1);b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,a,y));var ee=new go.PathFigure(a,.5*y,!1);return b.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,a,0)),b.spot1=new go.Spot(0,.25),b.spot2=new go.Spot(.5,.75),b}),go.Shape.defineFigureGenerator("InternalStorage",function(re,a,y){var b=new go.Geometry,E=re?re.parameter1:NaN,x=re?re.parameter2:NaN;isNaN(E)&&(E=.1),isNaN(x)&&(x=.1);var ee=new go.PathFigure(0,0,!0);b.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,a,0)),ee.add(new go.PathSegment(go.PathSegment.Line,a,y)),ee.add(new go.PathSegment(go.PathSegment.Line,0,y).close());var ne=new go.PathFigure(E*a,0,!1);return b.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,E*a,y)),ne.add(new go.PathSegment(go.PathSegment.Move,0,x*y)),ne.add(new go.PathSegment(go.PathSegment.Line,a,x*y)),b}),go.Shape.defineFigureGenerator("Junction",function(re,a,y){var b=new go.Geometry,E=1/Math.SQRT2,x=(1-1/Math.SQRT2)/2,ee=ie*.5,ne=.5,oe=new go.PathFigure(a,ne*y,!0);b.add(oe),oe.add(new go.PathSegment(go.PathSegment.Bezier,ne*a,y,a,(ne+ee)*y,(ne+ee)*a,y)),oe.add(new go.PathSegment(go.PathSegment.Bezier,0,ne*y,(ne-ee)*a,y,0,(ne+ee)*y)),oe.add(new go.PathSegment(go.PathSegment.Bezier,ne*a,0,0,(ne-ee)*y,(ne-ee)*a,0)),oe.add(new go.PathSegment(go.PathSegment.Bezier,a,ne*y,(ne+ee)*a,0,a,(ne-ee)*y));var ae=new go.PathFigure((x+E)*a,(x+E)*y,!1);return b.add(ae),ae.add(new go.PathSegment(go.PathSegment.Line,x*a,x*y)),ae.add(new go.PathSegment(go.PathSegment.Move,x*a,(x+E)*y)),ae.add(new go.PathSegment(go.PathSegment.Line,(x+E)*a,x*y)),b}),go.Shape.defineFigureGenerator("LinedDocument",function(re,a,y){var b=new go.Geometry;y=y/.8;var E=new go.PathFigure(0,.7*y,!0);b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,0,0)),E.add(new go.PathSegment(go.PathSegment.Line,a,0)),E.add(new go.PathSegment(go.PathSegment.Line,a,.7*y)),E.add(new go.PathSegment(go.PathSegment.Bezier,0,.7*y,.5*a,.4*y,.5*a,y).close());var x=new go.PathFigure(.1*a,0,!1);return b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,.1*a,.75*y)),b.spot1=new go.Spot(.1,0),b.spot2=new go.Spot(1,.6),b}),go.Shape.defineFigureGenerator("LoopLimit",function(re,a,y){var b=new go.Geometry,E=new go.PathFigure(0,y,!0);return b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,0,.25*y)),E.add(new go.PathSegment(go.PathSegment.Line,.25*a,0)),E.add(new go.PathSegment(go.PathSegment.Line,.75*a,0)),E.add(new go.PathSegment(go.PathSegment.Line,a,.25*y)),E.add(new go.PathSegment(go.PathSegment.Line,a,y).close()),b.spot1=new go.Spot(0,.25),b.spot2=go.Spot.BottomRight,b}),go.Shape.defineFigureGenerator("MagneticTape",function(re,a,y){var b=new go.Geometry,E=ie*.5,x=.5,ee=new go.PathFigure(.5*a,y,!0);return b.add(ee),ee.add(new go.PathSegment(go.PathSegment.Bezier,0,x*y,(x-E)*a,y,0,(x+E)*y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,x*a,0,0,(x-E)*y,(x-E)*a,0)),ee.add(new go.PathSegment(go.PathSegment.Bezier,a,x*y,(x+E)*a,0,a,(x-E)*y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,(x+.1)*a,.9*y,a,(x+E)*y,(x+E)*a,.9*y)),ee.add(new go.PathSegment(go.PathSegment.Line,a,.9*y)),ee.add(new go.PathSegment(go.PathSegment.Line,a,y)),ee.add(new go.PathSegment(go.PathSegment.Line,.5*a,y)),b.spot1=new go.Spot(.15,.15),b.spot2=new go.Spot(.85,.8),b}),go.Shape.defineFigureGenerator("ManualInput",function(re,a,y){var b=new go.Geometry,E=new go.PathFigure(a,0,!0);return b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,a,y)),E.add(new go.PathSegment(go.PathSegment.Line,0,y)),E.add(new go.PathSegment(go.PathSegment.Line,0,.25*y).close()),b.spot1=new go.Spot(0,.25),b.spot2=go.Spot.BottomRight,b}),go.Shape.defineFigureGenerator("MessageFromUser",function(re,a,y){var b=new go.Geometry,E=re?re.parameter1:NaN;isNaN(E)&&(E=.7);var x=new go.PathFigure(0,0,!0);return b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,a,0)),x.add(new go.PathSegment(go.PathSegment.Line,E*a,.5*y)),x.add(new go.PathSegment(go.PathSegment.Line,a,y)),x.add(new go.PathSegment(go.PathSegment.Line,0,y).close()),b.spot1=go.Spot.TopLeft,b}),go.Shape.defineFigureGenerator("MicroformProcessing",function(re,a,y){var b=new go.Geometry,E=re?re.parameter1:NaN;isNaN(E)&&(E=.25);var x=new go.PathFigure(0,0,!0);return b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,.5*a,E*y)),x.add(new go.PathSegment(go.PathSegment.Line,a,0)),x.add(new go.PathSegment(go.PathSegment.Line,a,y)),x.add(new go.PathSegment(go.PathSegment.Line,.5*a,(1-E)*y)),x.add(new go.PathSegment(go.PathSegment.Line,0,y).close()),b}),go.Shape.defineFigureGenerator("MicroformRecording",function(re,a,y){var b=new go.Geometry,E=new go.PathFigure(0,0,!0);return b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.75*a,.25*y)),E.add(new go.PathSegment(go.PathSegment.Line,a,.15*y)),E.add(new go.PathSegment(go.PathSegment.Line,a,.85*y)),E.add(new go.PathSegment(go.PathSegment.Line,.75*a,.75*y)),E.add(new go.PathSegment(go.PathSegment.Line,0,y).close()),b.spot1=new go.Spot(0,.25),b.spot2=new go.Spot(1,.75),b}),go.Shape.defineFigureGenerator("MultiDocument",function(re,a,y){var b=new go.Geometry;y=y/.8;var E=new go.PathFigure(a,0,!0);b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,a,.5*y)),E.add(new go.PathSegment(go.PathSegment.Bezier,.9*a,.44*y,.96*a,.47*y,.93*a,.45*y)),E.add(new go.PathSegment(go.PathSegment.Line,.9*a,.6*y)),E.add(new go.PathSegment(go.PathSegment.Bezier,.8*a,.54*y,.86*a,.57*y,.83*a,.55*y)),E.add(new go.PathSegment(go.PathSegment.Line,.8*a,.7*y)),E.add(new go.PathSegment(go.PathSegment.Bezier,0,.7*y,.4*a,.4*y,.4*a,y)),E.add(new go.PathSegment(go.PathSegment.Line,0,.2*y)),E.add(new go.PathSegment(go.PathSegment.Line,.1*a,.2*y)),E.add(new go.PathSegment(go.PathSegment.Line,.1*a,.1*y)),E.add(new go.PathSegment(go.PathSegment.Line,.2*a,.1*y)),E.add(new go.PathSegment(go.PathSegment.Line,.2*a,0).close());var x=new go.PathFigure(.1*a,.2*y,!1);return b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,.8*a,.2*y)),x.add(new go.PathSegment(go.PathSegment.Line,.8*a,.54*y)),x.add(new go.PathSegment(go.PathSegment.Move,.2*a,.1*y)),x.add(new go.PathSegment(go.PathSegment.Line,.9*a,.1*y)),x.add(new go.PathSegment(go.PathSegment.Line,.9*a,.44*y)),b.spot1=new go.Spot(0,.25),b.spot2=new go.Spot(.8,.77),b}),go.Shape.defineFigureGenerator("MultiProcess",function(re,a,y){var b=new go.Geometry,E=new go.PathFigure(.1*a,.1*y,!0);b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.2*a,.1*y)),E.add(new go.PathSegment(go.PathSegment.Line,.2*a,0)),E.add(new go.PathSegment(go.PathSegment.Line,a,0)),E.add(new go.PathSegment(go.PathSegment.Line,a,.8*y)),E.add(new go.PathSegment(go.PathSegment.Line,.9*a,.8*y)),E.add(new go.PathSegment(go.PathSegment.Line,.9*a,.9*y)),E.add(new go.PathSegment(go.PathSegment.Line,.8*a,.9*y)),E.add(new go.PathSegment(go.PathSegment.Line,.8*a,y)),E.add(new go.PathSegment(go.PathSegment.Line,0,y)),E.add(new go.PathSegment(go.PathSegment.Line,0,.2*y)),E.add(new go.PathSegment(go.PathSegment.Line,.1*a,.2*y).close());var x=new go.PathFigure(.2*a,.1*y,!1);return b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,.9*a,.1*y)),x.add(new go.PathSegment(go.PathSegment.Line,.9*a,.8*y)),x.add(new go.PathSegment(go.PathSegment.Move,.1*a,.2*y)),x.add(new go.PathSegment(go.PathSegment.Line,.8*a,.2*y)),x.add(new go.PathSegment(go.PathSegment.Line,.8*a,.9*y)),b.spot1=new go.Spot(0,.2),b.spot2=new go.Spot(.8,1),b}),go.Shape.defineFigureGenerator("OfflineStorage",function(re,a,y){var b=new go.Geometry,E=re?re.parameter1:NaN;isNaN(E)&&(E=.1);var x=1-E,ee=new go.PathFigure(0,0,!0);b.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,a,0)),ee.add(new go.PathSegment(go.PathSegment.Line,.5*a,y).close());var ne=new go.PathFigure(.5*E*a,E*y,!1);return b.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,(1-.5*E)*a,E*y)),b}),go.Shape.defineFigureGenerator("OffPageConnector",function(re,a,y){var b=new go.Geometry,E=new go.PathFigure(0,0,!0);return b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.75*a,0)),E.add(new go.PathSegment(go.PathSegment.Line,a,.5*y)),E.add(new go.PathSegment(go.PathSegment.Line,.75*a,y)),E.add(new go.PathSegment(go.PathSegment.Line,0,y).close()),b.spot1=go.Spot.TopLeft,b.spot2=new go.Spot(.75,1),b}),go.Shape.defineFigureGenerator("Or",function(re,a,y){var b=new go.Geometry,E=ie*.5,x=.5,ee=new go.PathFigure(a,x*y,!0);b.add(ee),ee.add(new go.PathSegment(go.PathSegment.Bezier,x*a,y,a,(x+E)*y,(x+E)*a,y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,0,x*y,(x-E)*a,y,0,(x+E)*y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,x*a,0,0,(x-E)*y,(x-E)*a,0)),ee.add(new go.PathSegment(go.PathSegment.Bezier,a,x*y,(x+E)*a,0,a,(x-E)*y));var ne=new go.PathFigure(a,.5*y,!1);return b.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,0,.5*y)),ne.add(new go.PathSegment(go.PathSegment.Move,.5*a,y)),ne.add(new go.PathSegment(go.PathSegment.Line,.5*a,0)),b}),go.Shape.defineFigureGenerator("PaperTape",function(re,a,y){var b=new go.Geometry;y=y/.8;var E=new go.PathFigure(0,.7*y,!0);return b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,0,.3*y)),E.add(new go.PathSegment(go.PathSegment.Bezier,a,.3*y,.5*a,.6*y,.5*a,0)),E.add(new go.PathSegment(go.PathSegment.Line,a,.7*y)),E.add(new go.PathSegment(go.PathSegment.Bezier,0,.7*y,.5*a,.4*y,.5*a,y).close()),b.spot1=new go.Spot(0,.49),b.spot2=new go.Spot(1,.75),b}),go.Shape.defineFigureGenerator("PrimitiveFromCall",function(re,a,y){var b=new go.Geometry,E=re?re.parameter1:NaN,x=re?re.parameter2:NaN;isNaN(E)&&(E=.1),isNaN(x)&&(x=.3);var ee=new go.PathFigure(0,0,!0);return b.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,a,0)),ee.add(new go.PathSegment(go.PathSegment.Line,(1-x)*a,.5*y)),ee.add(new go.PathSegment(go.PathSegment.Line,a,y)),ee.add(new go.PathSegment(go.PathSegment.Line,0,y).close()),b}),go.Shape.defineFigureGenerator("PrimitiveToCall",function(re,a,y){var b=new go.Geometry,E=re?re.parameter1:NaN,x=re?re.parameter2:NaN;isNaN(E)&&(E=.1),isNaN(x)&&(x=.3);var ee=new go.PathFigure(0,0,!0);return b.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,(1-x)*a,0)),ee.add(new go.PathSegment(go.PathSegment.Line,a,.5*y)),ee.add(new go.PathSegment(go.PathSegment.Line,(1-x)*a,y)),ee.add(new go.PathSegment(go.PathSegment.Line,0,y).close()),b}),go.Shape.defineFigureGenerator("Procedure",function(re,a,y){var b=new go.Geometry,E=re?re.parameter1:NaN;isNaN(E)&&(E=.1);var x=new go.PathFigure(0,0,!0);b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,a,0)),x.add(new go.PathSegment(go.PathSegment.Line,a,y)),x.add(new go.PathSegment(go.PathSegment.Line,0,y).close());var ee=new go.PathFigure((1-E)*a,0,!1);return b.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,(1-E)*a,y)),ee.add(new go.PathSegment(go.PathSegment.Move,E*a,0)),ee.add(new go.PathSegment(go.PathSegment.Line,E*a,y)),b}),go.Shape.defineFigureGenerator("Process",function(re,a,y){var b=new go.Geometry,E=re?re.parameter1:NaN;isNaN(E)&&(E=.1);var x=new go.PathFigure(0,0,!0);b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,a,0)),x.add(new go.PathSegment(go.PathSegment.Line,a,y)),x.add(new go.PathSegment(go.PathSegment.Line,0,y).close());var ee=new go.PathFigure(E*a,0,!1);return b.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,E*a,y)),b.spot2=go.Spot.BottomRight,b}),go.Shape.defineFigureGenerator("Sort",function(re,a,y){var b=new go.Geometry,E=new go.PathFigure(.5*a,0,!0);b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,a,.5*y)),E.add(new go.PathSegment(go.PathSegment.Line,.5*a,y)),E.add(new go.PathSegment(go.PathSegment.Line,0,.5*y).close());var x=new go.PathFigure(0,.5*y,!1);return b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,a,.5*y)),b.spot1=new go.Spot(.25,.25),b.spot2=new go.Spot(.75,.5),b}),go.Shape.defineFigureGenerator("Start",function(re,a,y){var b=new go.Geometry,E=re?re.parameter1:NaN;isNaN(E)&&(E=.25);var x=new go.PathFigure(E*a,0,!0);b.add(x),x.add(new go.PathSegment(go.PathSegment.Arc,270,180,.75*a,.5*y,.25*a,.5*y)),x.add(new go.PathSegment(go.PathSegment.Arc,90,180,.25*a,.5*y,.25*a,.5*y));var ee=new go.PathFigure(E*a,0,!1);return b.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,E*a,y)),ee.add(new go.PathSegment(go.PathSegment.Move,(1-E)*a,0)),ee.add(new go.PathSegment(go.PathSegment.Line,(1-E)*a,y)),b.spot1=new go.Spot(E,0),b.spot2=new go.Spot(1-E,1),b}),go.Shape.defineFigureGenerator("Terminator",function(re,a,y){var b=new go.Geometry,E=new go.PathFigure(.25*a,0,!0);return b.add(E),E.add(new go.PathSegment(go.PathSegment.Arc,270,180,.75*a,.5*y,.25*a,.5*y)),E.add(new go.PathSegment(go.PathSegment.Arc,90,180,.25*a,.5*y,.25*a,.5*y)),b.spot1=new go.Spot(.23,0),b.spot2=new go.Spot(.77,1),b}),go.Shape.defineFigureGenerator("TransmittalTape",function(re,a,y){var b=new go.Geometry,E=re?re.parameter1:NaN;isNaN(E)&&(E=.1);var x=new go.PathFigure(0,0,!0);return b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,a,0)),x.add(new go.PathSegment(go.PathSegment.Line,a,y)),x.add(new go.PathSegment(go.PathSegment.Line,.75*a,(1-E)*y)),x.add(new go.PathSegment(go.PathSegment.Line,0,(1-E)*y).close()),b.spot1=go.Spot.TopLeft,b}),go.Shape.defineFigureGenerator("AndGate",function(re,a,y){var b=new go.Geometry,E=ie*.5,x=new go.PathFigure(0,0,!0);return b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,.5*a,0)),x.add(new go.PathSegment(go.PathSegment.Bezier,a,.5*y,(.5+E)*a,0,a,(.5-E)*y)),x.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,y,a,(.5+E)*y,(.5+E)*a,y)),x.add(new go.PathSegment(go.PathSegment.Line,0,y).close()),b.spot1=go.Spot.TopLeft,b.spot2=new go.Spot(.55,1),b}),go.Shape.defineFigureGenerator("Buffer",function(re,a,y){var b=new go.Geometry,E=new go.PathFigure(0,0,!0);return b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,a,.5*y)),E.add(new go.PathSegment(go.PathSegment.Line,0,y).close()),b.spot1=new go.Spot(0,.25),b.spot2=new go.Spot(.5,.75),b}),go.Shape.defineFigureGenerator("Clock",function(re,a,y){var b=new go.Geometry,E=ie*.5,x=.5,ee=new go.PathFigure(a,x*y,!0);b.add(ee),ee.add(new go.PathSegment(go.PathSegment.Bezier,x*a,y,a,(x+E)*y,(x+E)*a,y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,0,x*y,(x-E)*a,y,0,(x+E)*y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,x*a,0,0,(x-E)*y,(x-E)*a,0)),ee.add(new go.PathSegment(go.PathSegment.Bezier,a,x*y,(x+E)*a,0,a,(x-E)*y));var ne=new go.PathFigure(a,x*y,!1);b.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,a,x*y));var oe=new go.PathFigure(.8*a,.75*y,!1);return b.add(oe),oe.add(new go.PathSegment(go.PathSegment.Line,.8*a,.25*y)),oe.add(new go.PathSegment(go.PathSegment.Line,.6*a,.25*y)),oe.add(new go.PathSegment(go.PathSegment.Line,.6*a,.75*y)),oe.add(new go.PathSegment(go.PathSegment.Line,.4*a,.75*y)),oe.add(new go.PathSegment(go.PathSegment.Line,.4*a,.25*y)),oe.add(new go.PathSegment(go.PathSegment.Line,.2*a,.25*y)),oe.add(new go.PathSegment(go.PathSegment.Line,.2*a,.75*y)),b}),go.Shape.defineFigureGenerator("Ground",function(re,a,y){var b=new go.Geometry,E=new go.PathFigure(.5*a,0,!1);return b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.5*a,.4*y)),E.add(new go.PathSegment(go.PathSegment.Move,.2*a,.6*y)),E.add(new go.PathSegment(go.PathSegment.Line,.8*a,.6*y)),E.add(new go.PathSegment(go.PathSegment.Move,.3*a,.8*y)),E.add(new go.PathSegment(go.PathSegment.Line,.7*a,.8*y)),E.add(new go.PathSegment(go.PathSegment.Move,.4*a,y)),E.add(new go.PathSegment(go.PathSegment.Line,.6*a,y)),b}),go.Shape.defineFigureGenerator("Inverter",function(re,a,y){var b=new go.Geometry,E=ie*.1,x=.1,ee=.9,ne=.5,oe=new go.PathFigure(.8*a,.5*y,!0);b.add(oe),oe.add(new go.PathSegment(go.PathSegment.Line,0,y)),oe.add(new go.PathSegment(go.PathSegment.Line,0,0)),oe.add(new go.PathSegment(go.PathSegment.Line,.8*a,.5*y));var ae=new go.PathFigure((ee+x)*a,ne*y,!0);return b.add(ae),ae.add(new go.PathSegment(go.PathSegment.Bezier,ee*a,(ne+x)*y,(ee+x)*a,(ne+E)*y,(ee+E)*a,(ne+x)*y)),ae.add(new go.PathSegment(go.PathSegment.Bezier,(ee-x)*a,ne*y,(ee-E)*a,(ne+x)*y,(ee-x)*a,(ne+E)*y)),ae.add(new go.PathSegment(go.PathSegment.Bezier,ee*a,(ne-x)*y,(ee-x)*a,(ne-E)*y,(ee-E)*a,(ne-x)*y)),ae.add(new go.PathSegment(go.PathSegment.Bezier,(ee+x)*a,ne*y,(ee+E)*a,(ne-x)*y,(ee+x)*a,(ne-E)*y)),b.spot1=new go.Spot(0,.25),b.spot2=new go.Spot(.4,.75),b}),go.Shape.defineFigureGenerator("NandGate",function(re,a,y){var b=new go.Geometry,E=ie*.5,x=ie*.4,ee=ie*.1,ne=.1,oe=.9,ae=.5,ue=new go.PathFigure(.8*a,.5*y,!0);b.add(ue),ue.add(new go.PathSegment(go.PathSegment.Bezier,.4*a,y,.8*a,(.5+x)*y,(.4+E)*a,y)),ue.add(new go.PathSegment(go.PathSegment.Line,0,y)),ue.add(new go.PathSegment(go.PathSegment.Line,0,0)),ue.add(new go.PathSegment(go.PathSegment.Line,.4*a,0)),ue.add(new go.PathSegment(go.PathSegment.Bezier,.8*a,.5*y,(.4+E)*a,0,.8*a,(.5-x)*y));var me=new go.PathFigure((oe+ne)*a,ae*y,!0);return b.add(me),me.add(new go.PathSegment(go.PathSegment.Bezier,oe*a,(ae+ne)*y,(oe+ne)*a,(ae+ee)*y,(oe+ee)*a,(ae+ne)*y)),me.add(new go.PathSegment(go.PathSegment.Bezier,(oe-ne)*a,ae*y,(oe-ee)*a,(ae+ne)*y,(oe-ne)*a,(ae+ee)*y)),me.add(new go.PathSegment(go.PathSegment.Bezier,oe*a,(ae-ne)*y,(oe-ne)*a,(ae-ee)*y,(oe-ee)*a,(ae-ne)*y)),me.add(new go.PathSegment(go.PathSegment.Bezier,(oe+ne)*a,ae*y,(oe+ee)*a,(ae-ne)*y,(oe+ne)*a,(ae-ee)*y)),b.spot1=new go.Spot(0,.05),b.spot2=new go.Spot(.55,.95),b}),go.Shape.defineFigureGenerator("NorGate",function(re,a,y){var b=new go.Geometry,E=.5,x=ie*E,ee=0,ne=.5,oe=new go.PathFigure(.8*a,.5*y,!0);b.add(oe),oe.add(new go.PathSegment(go.PathSegment.Bezier,0,y,.7*a,(ne+x)*y,(ee+x)*a,(ne+E)*y)),oe.add(new go.PathSegment(go.PathSegment.Bezier,0,0,.25*a,.75*y,.25*a,.25*y)),oe.add(new go.PathSegment(go.PathSegment.Bezier,.8*a,.5*y,(ee+x)*a,(ne-E)*y,.7*a,(ne-x)*y)),E=.1,x=ie*.1,ee=.9,ne=.5;var ae=new go.PathFigure((ee-E)*a,ne*y,!0);return b.add(ae),ae.add(new go.PathSegment(go.PathSegment.Bezier,ee*a,(ne-E)*y,(ee-E)*a,(ne-x)*y,(ee-x)*a,(ne-E)*y)),ae.add(new go.PathSegment(go.PathSegment.Bezier,(ee+E)*a,ne*y,(ee+x)*a,(ne-E)*y,(ee+E)*a,(ne-x)*y)),ae.add(new go.PathSegment(go.PathSegment.Bezier,ee*a,(ne+E)*y,(ee+E)*a,(ne+x)*y,(ee+x)*a,(ne+E)*y)),ae.add(new go.PathSegment(go.PathSegment.Bezier,(ee-E)*a,ne*y,(ee-x)*a,(ne+E)*y,(ee-E)*a,(ne+x)*y)),b.spot1=new go.Spot(.2,.25),b.spot2=new go.Spot(.6,.75),b}),go.Shape.defineFigureGenerator("OrGate",function(re,a,y){var b=new go.Geometry,E=.5,x=ie*E,ee=0,ne=.5,oe=new go.PathFigure(0,0,!0);return b.add(oe),oe.add(new go.PathSegment(go.PathSegment.Bezier,a,.5*y,(ee+x+x)*a,(ne-E)*y,.8*a,(ne-x)*y)),oe.add(new go.PathSegment(go.PathSegment.Bezier,0,y,.8*a,(ne+x)*y,(ee+x+x)*a,(ne+E)*y)),oe.add(new go.PathSegment(go.PathSegment.Bezier,0,0,.25*a,.75*y,.25*a,.25*y).close()),b.spot1=new go.Spot(.2,.25),b.spot2=new go.Spot(.75,.75),b}),go.Shape.defineFigureGenerator("XnorGate",function(re,a,y){var b=new go.Geometry,E=.5,x=ie*E,ee=.2,ne=.5,oe=new go.PathFigure(.1*a,0,!1);b.add(oe),oe.add(new go.PathSegment(go.PathSegment.Bezier,.1*a,y,.35*a,.25*y,.35*a,.75*y));var ae=new go.PathFigure(.8*a,.5*y,!0);b.add(ae),ae.add(new go.PathSegment(go.PathSegment.Bezier,.2*a,y,.7*a,(ne+x)*y,(ee+x)*a,(ne+E)*y)),ae.add(new go.PathSegment(go.PathSegment.Bezier,.2*a,0,.45*a,.75*y,.45*a,.25*y)),ae.add(new go.PathSegment(go.PathSegment.Bezier,.8*a,.5*y,(ee+x)*a,(ne-E)*y,.7*a,(ne-x)*y)),E=.1,x=ie*.1,ee=.9,ne=.5;var ue=new go.PathFigure((ee-E)*a,ne*y,!0);return b.add(ue),ue.add(new go.PathSegment(go.PathSegment.Bezier,ee*a,(ne-E)*y,(ee-E)*a,(ne-x)*y,(ee-x)*a,(ne-E)*y)),ue.add(new go.PathSegment(go.PathSegment.Bezier,(ee+E)*a,ne*y,(ee+x)*a,(ne-E)*y,(ee+E)*a,(ne-x)*y)),ue.add(new go.PathSegment(go.PathSegment.Bezier,ee*a,(ne+E)*y,(ee+E)*a,(ne+x)*y,(ee+x)*a,(ne+E)*y)),ue.add(new go.PathSegment(go.PathSegment.Bezier,(ee-E)*a,ne*y,(ee-x)*a,(ne+E)*y,(ee-E)*a,(ne+x)*y)),b.spot1=new go.Spot(.4,.25),b.spot2=new go.Spot(.65,.75),b}),go.Shape.defineFigureGenerator("XorGate",function(re,a,y){var b=new go.Geometry,E=.5,x=ie*E,ee=.2,ne=.5,oe=new go.PathFigure(.1*a,0,!1);b.add(oe),oe.add(new go.PathSegment(go.PathSegment.Bezier,.1*a,y,.35*a,.25*y,.35*a,.75*y));var ae=new go.PathFigure(.2*a,0,!0);return b.add(ae),ae.add(new go.PathSegment(go.PathSegment.Bezier,a,.5*y,(ee+x)*a,(ne-E)*y,.9*a,(ne-x)*y)),ae.add(new go.PathSegment(go.PathSegment.Bezier,.2*a,y,.9*a,(ne+x)*y,(ee+x)*a,(ne+E)*y)),ae.add(new go.PathSegment(go.PathSegment.Bezier,.2*a,0,.45*a,.75*y,.45*a,.25*y).close()),b.spot1=new go.Spot(.4,.25),b.spot2=new go.Spot(.8,.75),b}),go.Shape.defineFigureGenerator("Capacitor",function(re,a,y){var b=new go.Geometry,E=new go.PathFigure(0,0,!1);return b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,0,y)),E.add(new go.PathSegment(go.PathSegment.Move,a,0)),E.add(new go.PathSegment(go.PathSegment.Line,a,y)),b}),go.Shape.defineFigureGenerator("Resistor",function(re,a,y){var b=new go.Geometry,E=new go.PathFigure(0,.5*y,!1);return b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.1*a,0)),E.add(new go.PathSegment(go.PathSegment.Line,.2*a,y)),E.add(new go.PathSegment(go.PathSegment.Line,.3*a,0)),E.add(new go.PathSegment(go.PathSegment.Line,.4*a,y)),E.add(new go.PathSegment(go.PathSegment.Line,.5*a,0)),E.add(new go.PathSegment(go.PathSegment.Line,.6*a,y)),E.add(new go.PathSegment(go.PathSegment.Line,.7*a,.5*y)),b}),go.Shape.defineFigureGenerator("Inductor",function(re,a,y){var b=new go.Geometry,E=ie*.1,x=.1,ee=.1,ne=.5,oe=new go.PathFigure((ee-E*.5)*a,y,!1);return b.add(oe),oe.add(new go.PathSegment(go.PathSegment.Bezier,(ee+x)*a,0,(ee-E)*a,y,(ee-x)*a,0)),ee=.3,oe.add(new go.PathSegment(go.PathSegment.Bezier,ee*a,y,(ee+x)*a,0,(ee+E)*a,y)),oe.add(new go.PathSegment(go.PathSegment.Bezier,(ee+x)*a,0,(ee-E)*a,y,(ee-x)*a,0)),ee=.5,oe.add(new go.PathSegment(go.PathSegment.Bezier,ee*a,y,(ee+x)*a,0,(ee+E)*a,y)),oe.add(new go.PathSegment(go.PathSegment.Bezier,(ee+x)*a,0,(ee-E)*a,y,(ee-x)*a,0)),ee=.7,oe.add(new go.PathSegment(go.PathSegment.Bezier,ee*a,y,(ee+x)*a,0,(ee+E)*a,y)),oe.add(new go.PathSegment(go.PathSegment.Bezier,(ee+x)*a,0,(ee-E)*a,y,(ee-x)*a,0)),ee=.9,oe.add(new go.PathSegment(go.PathSegment.Bezier,(ee+E*.5)*a,y,(ee+x)*a,0,(ee+E)*a,y)),b}),go.Shape.defineFigureGenerator("ACvoltageSource",function(re,a,y){var b=new go.Geometry,E=ie*.5,x=.5,ee=.5,ne=.5,oe=new go.PathFigure((ee-x)*a,ne*y,!1);return b.add(oe),oe.add(new go.PathSegment(go.PathSegment.Bezier,ee*a,(ne-x)*y,(ee-x)*a,(ne-E)*y,(ee-E)*a,(ne-x)*y)),oe.add(new go.PathSegment(go.PathSegment.Bezier,(ee+x)*a,ne*y,(ee+E)*a,(ne-x)*y,(ee+x)*a,(ne-E)*y)),oe.add(new go.PathSegment(go.PathSegment.Bezier,ee*a,(ne+x)*y,(ee+x)*a,(ne+E)*y,(ee+E)*a,(ne+x)*y)),oe.add(new go.PathSegment(go.PathSegment.Bezier,(ee-x)*a,ne*y,(ee-E)*a,(ne+x)*y,(ee-x)*a,(ne+E)*y)),oe.add(new go.PathSegment(go.PathSegment.Move,(ee-x+.1)*a,ne*y)),oe.add(new go.PathSegment(go.PathSegment.Bezier,(ee+x-.1)*a,ne*y,ee*a,(ne-x)*y,ee*a,(ne+x)*y)),b}),go.Shape.defineFigureGenerator("DCvoltageSource",function(re,a,y){var b=new go.Geometry,E=new go.PathFigure(0,.75*y,!1);return b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,0,.25*y)),E.add(new go.PathSegment(go.PathSegment.Move,a,0)),E.add(new go.PathSegment(go.PathSegment.Line,a,y)),b}),go.Shape.defineFigureGenerator("Diode",function(re,a,y){var b=new go.Geometry,E=new go.PathFigure(a,0,!1);return b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,a,.5*y)),E.add(new go.PathSegment(go.PathSegment.Line,0,y)),E.add(new go.PathSegment(go.PathSegment.Line,0,0)),E.add(new go.PathSegment(go.PathSegment.Line,a,.5*y)),E.add(new go.PathSegment(go.PathSegment.Line,a,y)),b.spot1=new go.Spot(0,.25),b.spot2=new go.Spot(.5,.75),b}),go.Shape.defineFigureGenerator("Wifi",function(re,a,y){var b=new go.Geometry,E=a,x=y;a=a*.38,y=y*.6;var ee=ie*.8,ne=.8,oe=0,ae=.5,ue=(E-a)/2,me=(x-y)/2,fe=new go.PathFigure(oe*a+ue,(ae+ne)*y+me,!0);b.add(fe),fe.add(new go.PathSegment(go.PathSegment.Bezier,(oe-ne)*a+ue,ae*y+me,(oe-ee)*a+ue,(ae+ne)*y+me,(oe-ne)*a+ue,(ae+ee)*y+me)),fe.add(new go.PathSegment(go.PathSegment.Bezier,oe*a+ue,(ae-ne)*y+me,(oe-ne)*a+ue,(ae-ee)*y+me,(oe-ee)*a+ue,(ae-ne)*y+me)),fe.add(new go.PathSegment(go.PathSegment.Bezier,(oe-ne+ee*.5)*a+ue,ae*y+me,oe*a+ue,(ae-ne)*y+me,(oe-ne+ee*.5)*a+ue,(ae-ee)*y+me)),fe.add(new go.PathSegment(go.PathSegment.Bezier,oe*a+ue,(ae+ne)*y+me,(oe-ne+ee*.5)*a+ue,(ae+ee)*y+me,oe*a+ue,(ae+ne)*y+me).close()),ee=ie*.4,ne=.4,oe=.2,ae=.5;var Pe=new go.PathFigure(oe*a+ue,(ae+ne)*y+me,!0);b.add(Pe),Pe.add(new go.PathSegment(go.PathSegment.Bezier,(oe-ne)*a+ue,ae*y+me,(oe-ee)*a+ue,(ae+ne)*y+me,(oe-ne)*a+ue,(ae+ee)*y+me)),Pe.add(new go.PathSegment(go.PathSegment.Bezier,oe*a+ue,(ae-ne)*y+me,(oe-ne)*a+ue,(ae-ee)*y+me,(oe-ee)*a+ue,(ae-ne)*y+me)),Pe.add(new go.PathSegment(go.PathSegment.Bezier,(oe-ne+ee*.5)*a+ue,ae*y+me,oe*a+ue,(ae-ne)*y+me,(oe-ne+ee*.5)*a+ue,(ae-ee)*y+me)),Pe.add(new go.PathSegment(go.PathSegment.Bezier,oe*a+ue,(ae+ne)*y+me,(oe-ne+ee*.5)*a+ue,(ae+ee)*y+me,oe*a+ue,(ae+ne)*y+me).close()),ee=ie*.2,ne=.2,oe=.5,ae=.5;var xe=new go.PathFigure((oe-ne)*a+ue,ae*y+me,!0);b.add(xe),xe.add(new go.PathSegment(go.PathSegment.Bezier,oe*a+ue,(ae-ne)*y+me,(oe-ne)*a+ue,(ae-ee)*y+me,(oe-ee)*a+ue,(ae-ne)*y+me)),xe.add(new go.PathSegment(go.PathSegment.Bezier,(oe+ne)*a+ue,ae*y+me,(oe+ee)*a+ue,(ae-ne)*y+me,(oe+ne)*a+ue,(ae-ee)*y+me)),xe.add(new go.PathSegment(go.PathSegment.Bezier,oe*a+ue,(ae+ne)*y+me,(oe+ne)*a+ue,(ae+ee)*y+me,(oe+ee)*a+ue,(ae+ne)*y+me)),xe.add(new go.PathSegment(go.PathSegment.Bezier,(oe-ne)*a+ue,ae*y+me,(oe-ee)*a+ue,(ae+ne)*y+me,(oe-ne)*a+ue,(ae+ee)*y+me)),ee=ie*.4,ne=.4,oe=.8,ae=.5;var Ee=new go.PathFigure(oe*a+ue,(ae-ne)*y+me,!0);b.add(Ee),Ee.add(new go.PathSegment(go.PathSegment.Bezier,(oe+ne)*a+ue,ae*y+me,(oe+ee)*a+ue,(ae-ne)*y+me,(oe+ne)*a+ue,(ae-ee)*y+me)),Ee.add(new go.PathSegment(go.PathSegment.Bezier,oe*a+ue,(ae+ne)*y+me,(oe+ne)*a+ue,(ae+ee)*y+me,(oe+ee)*a+ue,(ae+ne)*y+me)),Ee.add(new go.PathSegment(go.PathSegment.Bezier,(oe+ne-ee*.5)*a+ue,ae*y+me,oe*a+ue,(ae+ne)*y+me,(oe+ne-ee*.5)*a+ue,(ae+ee)*y+me)),Ee.add(new go.PathSegment(go.PathSegment.Bezier,oe*a+ue,(ae-ne)*y+me,(oe+ne-ee*.5)*a+ue,(ae-ee)*y+me,oe*a+ue,(ae-ne)*y+me).close()),ee=ie*.8,ne=.8,oe=1,ae=.5;var De=new go.PathFigure(oe*a+ue,(ae-ne)*y+me,!0);return b.add(De),De.add(new go.PathSegment(go.PathSegment.Bezier,(oe+ne)*a+ue,ae*y+me,(oe+ee)*a+ue,(ae-ne)*y+me,(oe+ne)*a+ue,(ae-ee)*y+me)),De.add(new go.PathSegment(go.PathSegment.Bezier,oe*a+ue,(ae+ne)*y+me,(oe+ne)*a+ue,(ae+ee)*y+me,(oe+ee)*a+ue,(ae+ne)*y+me)),De.add(new go.PathSegment(go.PathSegment.Bezier,(oe+ne-ee*.5)*a+ue,ae*y+me,oe*a+ue,(ae+ne)*y+me,(oe+ne-ee*.5)*a+ue,(ae+ee)*y+me)),De.add(new go.PathSegment(go.PathSegment.Bezier,oe*a+ue,(ae-ne)*y+me,(oe+ne-ee*.5)*a+ue,(ae-ee)*y+me,oe*a+ue,(ae-ne)*y+me).close()),b}),go.Shape.defineFigureGenerator("Email",function(re,a,y){var b=new go.Geometry,E=new go.PathFigure(0,0,!0);b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,a,0)),E.add(new go.PathSegment(go.PathSegment.Line,a,y)),E.add(new go.PathSegment(go.PathSegment.Line,0,y)),E.add(new go.PathSegment(go.PathSegment.Line,0,0).close());var x=new go.PathFigure(0,0,!1);return b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,.5*a,.6*y)),x.add(new go.PathSegment(go.PathSegment.Line,a,0)),x.add(new go.PathSegment(go.PathSegment.Move,0,y)),x.add(new go.PathSegment(go.PathSegment.Line,.45*a,.54*y)),x.add(new go.PathSegment(go.PathSegment.Move,a,y)),x.add(new go.PathSegment(go.PathSegment.Line,.55*a,.54*y)),b}),go.Shape.defineFigureGenerator("Ethernet",function(re,a,y){var b=new go.Geometry,E=new go.PathFigure(.35*a,0,!0);b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.65*a,0)),E.add(new go.PathSegment(go.PathSegment.Line,.65*a,.4*y)),E.add(new go.PathSegment(go.PathSegment.Line,.35*a,.4*y)),E.add(new go.PathSegment(go.PathSegment.Line,.35*a,0).close());var x=new go.PathFigure(.1*a,y,!0,!0);b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,.4*a,y)),x.add(new go.PathSegment(go.PathSegment.Line,.4*a,.6*y)),x.add(new go.PathSegment(go.PathSegment.Line,.1*a,.6*y)),x.add(new go.PathSegment(go.PathSegment.Line,.1*a,y).close());var ee=new go.PathFigure(.6*a,y,!0,!0);b.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,.9*a,y)),ee.add(new go.PathSegment(go.PathSegment.Line,.9*a,.6*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.6*a,.6*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.6*a,y).close());var ne=new go.PathFigure(0,.5*y,!1);return b.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,a,.5*y)),ne.add(new go.PathSegment(go.PathSegment.Move,.5*a,.5*y)),ne.add(new go.PathSegment(go.PathSegment.Line,.5*a,.4*y)),ne.add(new go.PathSegment(go.PathSegment.Move,.75*a,.5*y)),ne.add(new go.PathSegment(go.PathSegment.Line,.75*a,.6*y)),ne.add(new go.PathSegment(go.PathSegment.Move,.25*a,.5*y)),ne.add(new go.PathSegment(go.PathSegment.Line,.25*a,.6*y)),b}),go.Shape.defineFigureGenerator("Power",function(re,a,y){var b=new go.Geometry,E=ie*.4,x=.4,ee=.5,ne=.5,oe=z(),ae=z(),ue=z(),me=z();Ie(ee,ne-x,ee+E,ne-x,ee+x,ne-E,ee+x,ne,.5,oe,oe,ae,ue,me);var fe=te(ae.x,ae.y),Pe=new go.PathFigure(ae.x*a,ae.y*y,!0);b.add(Pe),Pe.add(new go.PathSegment(go.PathSegment.Bezier,(ee+x)*a,ne*y,ue.x*a,ue.y*y,me.x*a,me.y*y)),Pe.add(new go.PathSegment(go.PathSegment.Bezier,ee*a,(ne+x)*y,(ee+x)*a,(ne+E)*y,(ee+E)*a,(ne+x)*y)),Pe.add(new go.PathSegment(go.PathSegment.Bezier,(ee-x)*a,ne*y,(ee-E)*a,(ne+x)*y,(ee-x)*a,(ne+E)*y)),Ie(ee-x,ne,ee-x,ne-E,ee-E,ne-x,ee,ne-x,.5,ue,me,ae,oe,oe),Pe.add(new go.PathSegment(go.PathSegment.Bezier,ae.x*a,ae.y*y,ue.x*a,ue.y*y,me.x*a,me.y*y)),E=ie*.3,x=.3,Ie(ee-x,ne,ee-x,ne-E,ee-E,ne-x,ee,ne-x,.5,ue,me,ae,oe,oe),Pe.add(new go.PathSegment(go.PathSegment.Line,ae.x*a,ae.y*y)),Pe.add(new go.PathSegment(go.PathSegment.Bezier,(ee-x)*a,ne*y,me.x*a,me.y*y,ue.x*a,ue.y*y)),Pe.add(new go.PathSegment(go.PathSegment.Bezier,ee*a,(ne+x)*y,(ee-x)*a,(ne+E)*y,(ee-E)*a,(ne+x)*y)),Pe.add(new go.PathSegment(go.PathSegment.Bezier,(ee+x)*a,ne*y,(ee+E)*a,(ne+x)*y,(ee+x)*a,(ne+E)*y)),Ie(ee,ne-x,ee+E,ne-x,ee+x,ne-E,ee+x,ne,.5,oe,oe,ae,ue,me),Pe.add(new go.PathSegment(go.PathSegment.Bezier,ae.x*a,ae.y*y,me.x*a,me.y*y,ue.x*a,ue.y*y).close());var Pe=new go.PathFigure(.45*a,0,!0);return b.add(Pe),Pe.add(new go.PathSegment(go.PathSegment.Line,.45*a,.5*y)),Pe.add(new go.PathSegment(go.PathSegment.Line,.55*a,.5*y)),Pe.add(new go.PathSegment(go.PathSegment.Line,.55*a,0).close()),se(oe),se(ae),se(ue),se(me),se(fe),b.spot1=new go.Spot(.25,.45),b.spot2=new go.Spot(.75,.8),b}),go.Shape.defineFigureGenerator("Fallout",function(re,a,y){var b=new go.Geometry,E=new go.PathFigure(0,y/2,!0);b.add(E),E.add(new go.PathSegment(go.PathSegment.Arc,180,360,a/2,y/2,a/2,y/2));function x(ee,ne,oe){ee.add(new go.PathSegment(go.PathSegment.Move,(.3+ne)*a,(.8+oe)*y)),ee.add(new go.PathSegment(go.PathSegment.Line,(.5+ne)*a,(.5+oe)*y)),ee.add(new go.PathSegment(go.PathSegment.Line,(.1+ne)*a,(.5+oe)*y)),ee.add(new go.PathSegment(go.PathSegment.Line,(.3+ne)*a,(.8+oe)*y).close())}return x(E,0,0),x(E,.4,0),x(E,.2,-.3),b}),go.Shape.defineFigureGenerator("IrritationHazard",function(re,a,y){var b=new go.Geometry,E=new go.PathFigure(.2*a,0,!0);return b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.5*a,.3*y)),E.add(new go.PathSegment(go.PathSegment.Line,.8*a,0)),E.add(new go.PathSegment(go.PathSegment.Line,a,.2*y)),E.add(new go.PathSegment(go.PathSegment.Line,.7*a,.5*y)),E.add(new go.PathSegment(go.PathSegment.Line,a,.8*y)),E.add(new go.PathSegment(go.PathSegment.Line,.8*a,y)),E.add(new go.PathSegment(go.PathSegment.Line,.5*a,.7*y)),E.add(new go.PathSegment(go.PathSegment.Line,.2*a,y)),E.add(new go.PathSegment(go.PathSegment.Line,0,.8*y)),E.add(new go.PathSegment(go.PathSegment.Line,.3*a,.5*y)),E.add(new go.PathSegment(go.PathSegment.Line,0,.2*y).close()),b.spot1=new go.Spot(.3,.3),b.spot2=new go.Spot(.7,.7),b}),go.Shape.defineFigureGenerator("ElectricalHazard",function(re,a,y){var b=new go.Geometry,E=new go.PathFigure(.37*a,0,!0);return b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.5*a,.11*y)),E.add(new go.PathSegment(go.PathSegment.Line,.77*a,.04*y)),E.add(new go.PathSegment(go.PathSegment.Line,.33*a,.49*y)),E.add(new go.PathSegment(go.PathSegment.Line,a,.37*y)),E.add(new go.PathSegment(go.PathSegment.Line,.63*a,.86*y)),E.add(new go.PathSegment(go.PathSegment.Line,.77*a,.91*y)),E.add(new go.PathSegment(go.PathSegment.Line,.34*a,y)),E.add(new go.PathSegment(go.PathSegment.Line,.34*a,.78*y)),E.add(new go.PathSegment(go.PathSegment.Line,.44*a,.8*y)),E.add(new go.PathSegment(go.PathSegment.Line,.65*a,.56*y)),E.add(new go.PathSegment(go.PathSegment.Line,0,.68*y).close()),b}),go.Shape.defineFigureGenerator("FireHazard",function(re,a,y){var b=new go.Geometry,E=new go.PathFigure(.1*a,y,!0);return b.add(E),E.add(new go.PathSegment(go.PathSegment.Bezier,.29*a,0,-.25*a,.63*y,.45*a,.44*y)),E.add(new go.PathSegment(go.PathSegment.Bezier,.51*a,.42*y,.48*a,.17*y,.54*a,.35*y)),E.add(new go.PathSegment(go.PathSegment.Bezier,.59*a,.18*y,.59*a,.29*y,.58*a,.28*y)),E.add(new go.PathSegment(go.PathSegment.Bezier,.75*a,.6*y,.8*a,.34*y,.88*a,.43*y)),E.add(new go.PathSegment(go.PathSegment.Bezier,.88*a,.31*y,.87*a,.48*y,.88*a,.43*y)),E.add(new go.PathSegment(go.PathSegment.Bezier,.9*a,y,1.17*a,.76*y,.82*a,.8*y).close()),b.spot1=new go.Spot(.07,.445),b.spot2=new go.Spot(.884,.958),b}),go.Shape.defineFigureGenerator("BpmnActivityLoop",function(re,a,y){var b=new go.Geometry,E=.5,x=0,ee=0,ne=E*ie,oe=.4*Math.SQRT2/2+.5,ae=.5-.5*Math.SQRT2/2,ue=1,me=.5,fe=.5,Pe=0,xe=new go.PathFigure(oe*a,(1-ae)*y,!1);return b.add(xe),xe.add(new go.PathSegment(go.PathSegment.Bezier,ue*a,me*y,ue*a,.7*y,ue*a,me*y)),xe.add(new go.PathSegment(go.PathSegment.Bezier,(fe+x)*a,(Pe+x)*y,(.5+E+x)*a,(.5-ne+x)*y,(.5+ne+x)*a,(.5-E+x)*y)),xe.add(new go.PathSegment(go.PathSegment.Bezier,(.5-E+x)*a,(.5+ee)*y,(.5-ne+x)*a,(.5-E+ee)*y,(.5-E+x)*a,(.5-ne+ee)*y)),xe.add(new go.PathSegment(go.PathSegment.Bezier,(.35+x)*a,.9*y,(.5-E+x)*a,(.5+ne+ee)*y,(.5-ne+x)*a,.9*y)),xe.add(new go.PathSegment(go.PathSegment.Move,(.25+x)*a,.8*y)),xe.add(new go.PathSegment(go.PathSegment.Line,(.35+x)*a,.9*y)),xe.add(new go.PathSegment(go.PathSegment.Line,(.2+x)*a,.95*y)),b}),go.Shape.defineFigureGenerator("BpmnActivityParallel",function(re,a,y){var b=new go.Geometry,E=new go.PathFigure(0,0,!1);return b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,0,y)),E.add(new go.PathSegment(go.PathSegment.Move,.5*a,0)),E.add(new go.PathSegment(go.PathSegment.Line,.5*a,y)),E.add(new go.PathSegment(go.PathSegment.Move,a,0)),E.add(new go.PathSegment(go.PathSegment.Line,a,y)),b}),go.Shape.defineFigureGenerator("BpmnActivitySequential",function(re,a,y){var b=new go.Geometry,E=new go.PathFigure(0,0,!1);return b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,a,0)),E.add(new go.PathSegment(go.PathSegment.Move,0,.5*y)),E.add(new go.PathSegment(go.PathSegment.Line,a,.5*y)),E.add(new go.PathSegment(go.PathSegment.Move,0,y)),E.add(new go.PathSegment(go.PathSegment.Line,a,y)),b}),go.Shape.defineFigureGenerator("BpmnActivityAdHoc",function(re,a,y){var b=new go.Geometry,E=new go.PathFigure(0,0,!1);b.add(E);var x=new go.PathFigure(a,y,!1);b.add(x);var ee=new go.PathFigure(0,.5*y,!1);return b.add(ee),ee.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.5*y,.2*a,.35*y,.3*a,.35*y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,a,.5*y,.7*a,.65*y,.8*a,.65*y)),b}),go.Shape.defineFigureGenerator("BpmnActivityCompensation",function(re,a,y){var b=new go.Geometry,E=new go.PathFigure(0,.5*y,!0);return b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.5*a,0)),E.add(new go.PathSegment(go.PathSegment.Line,.5*a,.5*y)),E.add(new go.PathSegment(go.PathSegment.Line,a,y)),E.add(new go.PathSegment(go.PathSegment.Line,a,0)),E.add(new go.PathSegment(go.PathSegment.Line,.5*a,.5*y)),E.add(new go.PathSegment(go.PathSegment.Line,.5*a,y).close()),b}),go.Shape.defineFigureGenerator("BpmnTaskMessage",function(re,a,y){var b=new go.Geometry,E=new go.PathFigure(0,.2*y,!0);b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,a,.2*y)),E.add(new go.PathSegment(go.PathSegment.Line,a,.8*y)),E.add(new go.PathSegment(go.PathSegment.Line,0,.8*y)),E.add(new go.PathSegment(go.PathSegment.Line,0,.8*y).close());var E=new go.PathFigure(0,.2*y,!1);return b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.5*a,.5*y)),E.add(new go.PathSegment(go.PathSegment.Line,a,.2*y)),b}),go.Shape.defineFigureGenerator("BpmnTaskScript",function(re,a,y){var b=new go.Geometry,E=new go.PathFigure(.7*a,y,!0);b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.3*a,y)),E.add(new go.PathSegment(go.PathSegment.Bezier,.3*a,0,.6*a,.5*y,0,.5*y)),E.add(new go.PathSegment(go.PathSegment.Line,.7*a,0)),E.add(new go.PathSegment(go.PathSegment.Bezier,.7*a,y,.4*a,.5*y,a,.5*y).close());var x=new go.PathFigure(.45*a,.73*y,!1);return b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,.7*a,.73*y)),x.add(new go.PathSegment(go.PathSegment.Move,.38*a,.5*y)),x.add(new go.PathSegment(go.PathSegment.Line,.63*a,.5*y)),x.add(new go.PathSegment(go.PathSegment.Move,.31*a,.27*y)),x.add(new go.PathSegment(go.PathSegment.Line,.56*a,.27*y)),b}),go.Shape.defineFigureGenerator("BpmnTaskUser",function(re,a,y){var b=new go.Geometry,E=new go.PathFigure(0,0,!1);b.add(E);var x=new go.PathFigure(.335*a,(1-.555)*y,!0);b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,.335*a,(1-.405)*y)),x.add(new go.PathSegment(go.PathSegment.Line,(1-.335)*a,(1-.405)*y)),x.add(new go.PathSegment(go.PathSegment.Line,(1-.335)*a,(1-.555)*y)),x.add(new go.PathSegment(go.PathSegment.Bezier,a,.68*y,(1-.12)*a,.46*y,(1-.02)*a,.54*y)),x.add(new go.PathSegment(go.PathSegment.Line,a,y)),x.add(new go.PathSegment(go.PathSegment.Line,0,y)),x.add(new go.PathSegment(go.PathSegment.Line,0,.68*y)),x.add(new go.PathSegment(go.PathSegment.Bezier,.335*a,(1-.555)*y,.02*a,.54*y,.12*a,.46*y)),x.add(new go.PathSegment(go.PathSegment.Line,.365*a,(1-.595)*y));var ee=.5-.285,ne=.5,oe=ee,ae=Math.PI/4,ue=4*(1-Math.cos(ae))/(3*Math.sin(ae)),me=ue*.5,fe=ee,Pe=ee,xe=ue*fe,Ee=ue*Pe;x.add(new go.PathSegment(go.PathSegment.Bezier,(ne-fe)*a,oe*y,(ne-(xe+fe)/2)*a,(oe+(Pe+Ee)/2)*y,(ne-fe)*a,(oe+Ee)*y)),x.add(new go.PathSegment(go.PathSegment.Bezier,ne*a,(oe-Pe)*y,(ne-fe)*a,(oe-Ee)*y,(ne-xe)*a,(oe-Pe)*y)),x.add(new go.PathSegment(go.PathSegment.Bezier,(ne+fe)*a,oe*y,(ne+xe)*a,(oe-Pe)*y,(ne+fe)*a,(oe-Ee)*y)),x.add(new go.PathSegment(go.PathSegment.Bezier,(1-.365)*a,(1-.595)*y,(ne+fe)*a,(oe+Ee)*y,(ne+(xe+fe)/2)*a,(oe+(Pe+Ee)/2)*y)),x.add(new go.PathSegment(go.PathSegment.Line,(1-.365)*a,(1-.595)*y)),x.add(new go.PathSegment(go.PathSegment.Line,(1-.335)*a,(1-.555)*y)),x.add(new go.PathSegment(go.PathSegment.Line,(1-.335)*a,(1-.405)*y)),x.add(new go.PathSegment(go.PathSegment.Line,.335*a,(1-.405)*y));var De=new go.PathFigure(.2*a,y,!1);b.add(De),De.add(new go.PathSegment(go.PathSegment.Line,.2*a,.8*y));var ze=new go.PathFigure(.8*a,y,!1);return b.add(ze),ze.add(new go.PathSegment(go.PathSegment.Line,.8*a,.8*y)),b}),go.Shape.defineFigureGenerator("BpmnEventConditional",function(re,a,y){var b=new go.Geometry,E=new go.PathFigure(.1*a,0,!0);b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.9*a,0)),E.add(new go.PathSegment(go.PathSegment.Line,.9*a,y)),E.add(new go.PathSegment(go.PathSegment.Line,.1*a,y).close());var x=new go.PathFigure(.2*a,.2*y,!1);return b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,.8*a,.2*y)),x.add(new go.PathSegment(go.PathSegment.Move,.2*a,.4*y)),x.add(new go.PathSegment(go.PathSegment.Line,.8*a,.4*y)),x.add(new go.PathSegment(go.PathSegment.Move,.2*a,.6*y)),x.add(new go.PathSegment(go.PathSegment.Line,.8*a,.6*y)),x.add(new go.PathSegment(go.PathSegment.Move,.2*a,.8*y)),x.add(new go.PathSegment(go.PathSegment.Line,.8*a,.8*y)),b}),go.Shape.defineFigureGenerator("BpmnEventError",function(re,a,y){var b=new go.Geometry,E=new go.PathFigure(0,y,!0);return b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.33*a,0)),E.add(new go.PathSegment(go.PathSegment.Line,.66*a,.5*y)),E.add(new go.PathSegment(go.PathSegment.Line,a,0)),E.add(new go.PathSegment(go.PathSegment.Line,.66*a,y)),E.add(new go.PathSegment(go.PathSegment.Line,.33*a,.5*y).close()),b}),go.Shape.defineFigureGenerator("BpmnEventEscalation",function(re,a,y){var b=new go.Geometry,E=new go.PathFigure(0,0,!1);b.add(E);var x=new go.PathFigure(a,y,!1);b.add(x);var ee=new go.PathFigure(.1*a,y,!0);return b.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,.5*a,0)),ee.add(new go.PathSegment(go.PathSegment.Line,.9*a,y)),ee.add(new go.PathSegment(go.PathSegment.Line,.5*a,.5*y).close()),b}),go.Shape.defineFigureGenerator("Caution",function(re,a,y){var b=new go.Geometry,E=new go.PathFigure(.05*a,y,!0);b.add(E),E.add(new go.PathSegment(go.PathSegment.Bezier,.1*a,.8*y,0,y,0,y)),E.add(new go.PathSegment(go.PathSegment.Line,.45*a,.1*y)),E.add(new go.PathSegment(go.PathSegment.Bezier,.55*a,.1*y,.5*a,0,.5*a,0)),E.add(new go.PathSegment(go.PathSegment.Line,.95*a,.9*y)),E.add(new go.PathSegment(go.PathSegment.Bezier,.9*a,y,a,y,a,y)),E.add(new go.PathSegment(go.PathSegment.Line,.05*a,y));var x=.05;return E.add(new go.PathSegment(go.PathSegment.Move,(.5-x)*a,.875*y)),E.add(new go.PathSegment(go.PathSegment.Arc,180,-360,.5*a,.875*y,x*a,x*y)),E.add(new go.PathSegment(go.PathSegment.Move,.5*a,.75*y)),E.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.325*y,.575*a,.725*y,.625*a,.375*y)),E.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.75*y,.375*a,.375*y,.425*a,.725*y)),b}),go.Shape.defineFigureGenerator("Recycle",function(re,a,y){var b=new go.Geometry,E=new go.PathFigure(.45*a,.95*y,!1);b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.2*a,.95*y)),E.add(new go.PathSegment(go.PathSegment.Bezier,.185*a,.85*y,.17*a,.95*y,.15*a,.9*y)),E.add(new go.PathSegment(go.PathSegment.Line,.235*a,.75*y)),E.add(new go.PathSegment(go.PathSegment.Line,.3*a,.625*y)),E.add(new go.PathSegment(go.PathSegment.Line,.35*a,.65*y)),E.add(new go.PathSegment(go.PathSegment.Line,.275*a,.45*y)),E.add(new go.PathSegment(go.PathSegment.Line,.05*a,.45*y)),E.add(new go.PathSegment(go.PathSegment.Line,.1*a,.5*y)),E.add(new go.PathSegment(go.PathSegment.Line,.05*a,.575*y)),E.add(new go.PathSegment(go.PathSegment.Bezier,.1875*a,.95*y,0,.675*y,0,.7*y)),E.add(new go.PathSegment(go.PathSegment.Move,.45*a,.95*y)),E.add(new go.PathSegment(go.PathSegment.Line,.45*a,.775*y)),E.add(new go.PathSegment(go.PathSegment.Line,.22*a,.775*y));var x=new go.PathFigure(.475*a,.2*y,!1);b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,.4*a,.4*y)),x.add(new go.PathSegment(go.PathSegment.Line,.225*a,.3*y)),x.add(new go.PathSegment(go.PathSegment.Line,.275*a,.175*y)),x.add(new go.PathSegment(go.PathSegment.Line,.325*a,.05*y)),x.add(new go.PathSegment(go.PathSegment.Bezier,.4*a,.05*y,.35*a,0,.375*a,0)),x.add(new go.PathSegment(go.PathSegment.Line,.575*a,.375*y)),x.add(new go.PathSegment(go.PathSegment.Line,.525*a,.4*y)),x.add(new go.PathSegment(go.PathSegment.Line,.75*a,.475*y)),x.add(new go.PathSegment(go.PathSegment.Line,.85*a,.315*y)),x.add(new go.PathSegment(go.PathSegment.Line,.8*a,.32*y)),x.add(new go.PathSegment(go.PathSegment.Line,.65*a,.05*y)),x.add(new go.PathSegment(go.PathSegment.Bezier,.575*a,0,.65*a,.05*y,.625*a,0)),x.add(new go.PathSegment(go.PathSegment.Line,.38*a,.0105*y));var ee=new go.PathFigure(.675*a,.575*y,!1);return b.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,.875*a,.525*y)),ee.add(new go.PathSegment(go.PathSegment.Line,a,.775*y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,.85*a,.95*y,a,.8*y,a,.85*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.65*a,.95*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.65*a,y)),ee.add(new go.PathSegment(go.PathSegment.Line,.55*a,.85*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.65*a,.725*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.65*a,.775*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.7*a,.775*y)),ee.add(new go.PathSegment(go.PathSegment.Line,a,.775*y)),ee.add(new go.PathSegment(go.PathSegment.Move,.675*a,.575*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.775*a,.775*y)),b}),go.Shape.defineFigureGenerator("BpmnEventTimer",function(re,a,y){var b=new go.Geometry,E=.5,x=ie*.5,ee=new go.PathFigure(a,E*y,!0);b.add(ee),ee.add(new go.PathSegment(go.PathSegment.Bezier,E*a,y,a,(E+x)*y,(E+x)*a,y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,0,E*y,(E-x)*a,y,0,(E+x)*y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,E*a,0,0,(E-x)*y,(E-x)*a,0)),ee.add(new go.PathSegment(go.PathSegment.Bezier,a,E*y,(E+x)*a,0,a,(E-x)*y));var ne=new go.PathFigure(E*a,0,!1);return b.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,E*a,.15*y)),ne.add(new go.PathSegment(go.PathSegment.Move,E*a,y)),ne.add(new go.PathSegment(go.PathSegment.Line,E*a,.85*y)),ne.add(new go.PathSegment(go.PathSegment.Move,0,E*y)),ne.add(new go.PathSegment(go.PathSegment.Line,.15*a,E*y)),ne.add(new go.PathSegment(go.PathSegment.Move,a,E*y)),ne.add(new go.PathSegment(go.PathSegment.Line,.85*a,E*y)),ne.add(new go.PathSegment(go.PathSegment.Move,E*a,E*y)),ne.add(new go.PathSegment(go.PathSegment.Line,.58*a,.1*y)),ne.add(new go.PathSegment(go.PathSegment.Move,E*a,E*y)),ne.add(new go.PathSegment(go.PathSegment.Line,.78*a,.54*y)),b}),go.Shape.defineFigureGenerator("Package",function(re,a,y){var b=new go.Geometry,E=new go.PathFigure(0,.15*y,!0);b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,a,.15*y)),E.add(new go.PathSegment(go.PathSegment.Line,a,y)),E.add(new go.PathSegment(go.PathSegment.Line,0,y).close());var x=new go.PathFigure(0,.15*y,!0);return b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,0,0)),x.add(new go.PathSegment(go.PathSegment.Line,.6*a,0)),x.add(new go.PathSegment(go.PathSegment.Line,.65*a,.15*y).close()),b.spot1=new go.Spot(0,.1),b.spot2=new go.Spot(1,1),b}),go.Shape.defineFigureGenerator("Class",function(re,a,y){var b=new go.Geometry,E=new go.PathFigure(0,0,!0);b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,a,0)),E.add(new go.PathSegment(go.PathSegment.Line,a,y)),E.add(new go.PathSegment(go.PathSegment.Line,0,y)),E.add(new go.PathSegment(go.PathSegment.Line,0,0).close());var x=new go.PathFigure(0,.2*y,!1);b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,a,.2*y).close());var ee=new go.PathFigure(0,.5*y,!1);return b.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,a,.5*y).close()),b}),go.Shape.defineFigureGenerator("Component",function(re,a,y){var b=new go.Geometry,E=new go.PathFigure(a,y,!0);b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,a,0)),E.add(new go.PathSegment(go.PathSegment.Line,.15*a,0)),E.add(new go.PathSegment(go.PathSegment.Line,.15*a,y)),E.add(new go.PathSegment(go.PathSegment.Line,a,y).close());var x=new go.PathFigure(0,.2*y,!0);b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,.45*a,.2*y)),x.add(new go.PathSegment(go.PathSegment.Line,.45*a,.4*y)),x.add(new go.PathSegment(go.PathSegment.Line,0,.4*y)),x.add(new go.PathSegment(go.PathSegment.Line,0,.2*y).close());var ee=new go.PathFigure(0,.6*y,!0);return b.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,.45*a,.6*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.45*a,.8*y)),ee.add(new go.PathSegment(go.PathSegment.Line,0,.8*y)),ee.add(new go.PathSegment(go.PathSegment.Line,0,.6*y).close()),b}),go.Shape.defineFigureGenerator("Boat Shipment",function(re,a,y){var b=new go.Geometry,E=new go.PathFigure(.15*a,.6*y,!0);b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.15*a,.6*y)),E.add(new go.PathSegment(go.PathSegment.Line,0,.6*y)),E.add(new go.PathSegment(go.PathSegment.Line,.15*a,y)),E.add(new go.PathSegment(go.PathSegment.Line,.85*a,y)),E.add(new go.PathSegment(go.PathSegment.Line,a,.6*y)),E.add(new go.PathSegment(go.PathSegment.Line,.85*a,.6*y)),E.add(new go.PathSegment(go.PathSegment.Line,.5*a,0)),E.add(new go.PathSegment(go.PathSegment.Line,.15*a,.6*y));var x=new go.PathFigure(.15*a,.6*y,!1);return b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,.85*a,.6*y)),b}),go.Shape.defineFigureGenerator("Customer/Supplier",function(re,a,y){var b=new go.Geometry,E=new go.PathFigure(a,y,!0);return b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,a,0)),E.add(new go.PathSegment(go.PathSegment.Line,.66*a,.33*y)),E.add(new go.PathSegment(go.PathSegment.Line,.66*a,0)),E.add(new go.PathSegment(go.PathSegment.Line,.33*a,.33*y)),E.add(new go.PathSegment(go.PathSegment.Line,.33*a,0)),E.add(new go.PathSegment(go.PathSegment.Line,0,.33*y)),E.add(new go.PathSegment(go.PathSegment.Line,0,y)),E.add(new go.PathSegment(go.PathSegment.Line,a,y).close()),b}),go.Shape.defineFigureGenerator("Workcell",function(re,a,y){var b=new go.Geometry,E=new go.PathFigure(0,y,!0);return b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,0,0)),E.add(new go.PathSegment(go.PathSegment.Line,a,0)),E.add(new go.PathSegment(go.PathSegment.Line,a,y)),E.add(new go.PathSegment(go.PathSegment.Line,.65*a,y)),E.add(new go.PathSegment(go.PathSegment.Line,.65*a,.4*y)),E.add(new go.PathSegment(go.PathSegment.Line,.35*a,.4*y)),E.add(new go.PathSegment(go.PathSegment.Line,.35*a,y)),E.add(new go.PathSegment(go.PathSegment.Line,0,y).close()),b}),go.Shape.defineFigureGenerator("Supermarket",function(re,a,y){var b=new go.Geometry,E=new go.PathFigure(0,0,!1);return b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,a,0)),E.add(new go.PathSegment(go.PathSegment.Line,a,.33*y)),E.add(new go.PathSegment(go.PathSegment.Line,0,.33*y)),E.add(new go.PathSegment(go.PathSegment.Move,a,.33*y)),E.add(new go.PathSegment(go.PathSegment.Line,a,.66*y)),E.add(new go.PathSegment(go.PathSegment.Line,0,.66*y)),E.add(new go.PathSegment(go.PathSegment.Move,a,.66*y)),E.add(new go.PathSegment(go.PathSegment.Line,a,y)),E.add(new go.PathSegment(go.PathSegment.Line,0,y)),b}),go.Shape.defineFigureGenerator("TruckShipment",function(re,a,y){var b=new go.Geometry,E=new go.PathFigure(0,0,!0);b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.6*a,0)),E.add(new go.PathSegment(go.PathSegment.Line,.6*a,.8*y)),E.add(new go.PathSegment(go.PathSegment.Line,0,.8*y)),E.add(new go.PathSegment(go.PathSegment.Line,0,0).close());var x=new go.PathFigure(a,.8*y,!0);b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,a,.4*y)),x.add(new go.PathSegment(go.PathSegment.Line,.6*a,.4*y)),x.add(new go.PathSegment(go.PathSegment.Line,.6*a,.8*y)),x.add(new go.PathSegment(go.PathSegment.Line,a,.8*y).close());var ee=.1,ne=ie*.1,oe=.2,ae=.9,ue=new go.PathFigure((oe-ee)*a,ae*y,!0);b.add(ue),ue.add(new go.PathSegment(go.PathSegment.Bezier,oe*a,(ae-ee)*y,(oe-ee)*a,(ae-ne)*y,(oe-ne)*a,(ae-ee)*y)),ue.add(new go.PathSegment(go.PathSegment.Bezier,(oe+ee)*a,ae*y,(oe+ne)*a,(ae-ee)*y,(oe+ee)*a,(ae-ne)*y)),ue.add(new go.PathSegment(go.PathSegment.Bezier,oe*a,(ae+ee)*y,(oe+ee)*a,(ae+ne)*y,(oe+ne)*a,(ae+ee)*y)),ue.add(new go.PathSegment(go.PathSegment.Bezier,(oe-ee)*a,ae*y,(oe-ne)*a,(ae+ee)*y,(oe-ee)*a,(ae+ne)*y).close()),ee=.1,ne=ie*.1,oe=.8,ae=.9;var me=new go.PathFigure((oe-ee)*a,ae*y,!0);return b.add(me),me.add(new go.PathSegment(go.PathSegment.Bezier,oe*a,(ae-ee)*y,(oe-ee)*a,(ae-ne)*y,(oe-ne)*a,(ae-ee)*y)),me.add(new go.PathSegment(go.PathSegment.Bezier,(oe+ee)*a,ae*y,(oe+ne)*a,(ae-ee)*y,(oe+ee)*a,(ae-ne)*y)),me.add(new go.PathSegment(go.PathSegment.Bezier,oe*a,(ae+ee)*y,(oe+ee)*a,(ae+ne)*y,(oe+ne)*a,(ae+ee)*y)),me.add(new go.PathSegment(go.PathSegment.Bezier,(oe-ee)*a,ae*y,(oe-ne)*a,(ae+ee)*y,(oe-ee)*a,(ae+ne)*y).close()),b}),go.Shape.defineFigureGenerator("KanbanPost",function(re,a,y){var b=new go.Geometry,E=new go.PathFigure(.2*a,0,!1);return b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.2*a,.5*y)),E.add(new go.PathSegment(go.PathSegment.Line,.8*a,.5*y)),E.add(new go.PathSegment(go.PathSegment.Line,.8*a,0)),E.add(new go.PathSegment(go.PathSegment.Move,.5*a,.5*y)),E.add(new go.PathSegment(go.PathSegment.Line,.5*a,y)),E.add(new go.PathSegment(go.PathSegment.Line,.2*a,y)),E.add(new go.PathSegment(go.PathSegment.Move,.5*a,y)),E.add(new go.PathSegment(go.PathSegment.Line,.8*a,y)),b}),go.Shape.defineFigureGenerator("Forklift",function(re,a,y){var b=new go.Geometry,E=new go.PathFigure(0,0,!0);b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,0,.5*y)),E.add(new go.PathSegment(go.PathSegment.Line,.5*a,.5*y)),E.add(new go.PathSegment(go.PathSegment.Line,.4*a,0)),E.add(new go.PathSegment(go.PathSegment.Line,0,0));var x=new go.PathFigure(0,.5*y,!0);b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,0,.8*y)),x.add(new go.PathSegment(go.PathSegment.Line,.5*a,.8*y)),x.add(new go.PathSegment(go.PathSegment.Line,.5*a,.5*y)),x.add(new go.PathSegment(go.PathSegment.Line,0,.5*y));var ee=new go.PathFigure(.5*a,.8*y,!0);b.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,.5*a,.1*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.55*a,.1*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.55*a,.8*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.5*a,.8*y));var ne=new go.PathFigure(.5*a,.7*y,!1);b.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,a,.7*y));var oe=.1,ae=ie*.1,ue=.1,me=.9,fe=new go.PathFigure((ue-oe)*a,me*y,!0);b.add(fe),fe.add(new go.PathSegment(go.PathSegment.Bezier,ue*a,(me-oe)*y,(ue-oe)*a,(me-ae)*y,(ue-ae)*a,(me-oe)*y)),fe.add(new go.PathSegment(go.PathSegment.Bezier,(ue+oe)*a,me*y,(ue+ae)*a,(me-oe)*y,(ue+oe)*a,(me-ae)*y)),fe.add(new go.PathSegment(go.PathSegment.Bezier,ue*a,(me+oe)*y,(ue+oe)*a,(me+ae)*y,(ue+ae)*a,(me+oe)*y)),fe.add(new go.PathSegment(go.PathSegment.Bezier,(ue-oe)*a,me*y,(ue-ae)*a,(me+oe)*y,(ue-oe)*a,(me+ae)*y)),oe=.1,ae=ie*.1,ue=.4,me=.9;var Pe=new go.PathFigure((ue-oe)*a,me*y,!0);return b.add(Pe),Pe.add(new go.PathSegment(go.PathSegment.Bezier,ue*a,(me-oe)*y,(ue-oe)*a,(me-ae)*y,(ue-ae)*a,(me-oe)*y)),Pe.add(new go.PathSegment(go.PathSegment.Bezier,(ue+oe)*a,me*y,(ue+ae)*a,(me-oe)*y,(ue+oe)*a,(me-ae)*y)),Pe.add(new go.PathSegment(go.PathSegment.Bezier,ue*a,(me+oe)*y,(ue+oe)*a,(me+ae)*y,(ue+ae)*a,(me+oe)*y)),Pe.add(new go.PathSegment(go.PathSegment.Bezier,(ue-oe)*a,me*y,(ue-ae)*a,(me+oe)*y,(ue-oe)*a,(me+ae)*y)),b}),go.Shape.defineFigureGenerator("RailShipment",function(re,a,y){var b=new go.Geometry,E=new go.PathFigure(.1*a,.4*y,!0);b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.45*a,.4*y)),E.add(new go.PathSegment(go.PathSegment.Line,.45*a,.9*y)),E.add(new go.PathSegment(go.PathSegment.Line,.1*a,.9*y)),E.add(new go.PathSegment(go.PathSegment.Line,.1*a,.4*y).close());var x=new go.PathFigure(.45*a,.7*y,!1);b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,.55*a,.7*y));var ee=new go.PathFigure(.55*a,.4*y,!0);b.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,.9*a,.4*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.9*a,.9*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.55*a,.9*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.55*a,.4*y).close());var ue=.05,me=ie*.05,fe=.175,Pe=.95,ne=new go.PathFigure((fe-ue)*a,Pe*y,!0);b.add(ne),ne.add(new go.PathSegment(go.PathSegment.Bezier,fe*a,(Pe-ue)*y,(fe-ue)*a,(Pe-me)*y,(fe-me)*a,(Pe-ue)*y)),ne.add(new go.PathSegment(go.PathSegment.Bezier,(fe+ue)*a,Pe*y,(fe+me)*a,(Pe-ue)*y,(fe+ue)*a,(Pe-me)*y)),ne.add(new go.PathSegment(go.PathSegment.Bezier,fe*a,(Pe+ue)*y,(fe+ue)*a,(Pe+me)*y,(fe+me)*a,(Pe+ue)*y)),ne.add(new go.PathSegment(go.PathSegment.Bezier,(fe-ue)*a,Pe*y,(fe-me)*a,(Pe+ue)*y,(fe-ue)*a,(Pe+me)*y));var ue=.05,me=ie*.05,fe=.375,Pe=.95,oe=new go.PathFigure((fe-ue)*a,Pe*y,!0);b.add(oe),oe.add(new go.PathSegment(go.PathSegment.Bezier,fe*a,(Pe-ue)*y,(fe-ue)*a,(Pe-me)*y,(fe-me)*a,(Pe-ue)*y)),oe.add(new go.PathSegment(go.PathSegment.Bezier,(fe+ue)*a,Pe*y,(fe+me)*a,(Pe-ue)*y,(fe+ue)*a,(Pe-me)*y)),oe.add(new go.PathSegment(go.PathSegment.Bezier,fe*a,(Pe+ue)*y,(fe+ue)*a,(Pe+me)*y,(fe+me)*a,(Pe+ue)*y)),oe.add(new go.PathSegment(go.PathSegment.Bezier,(fe-ue)*a,Pe*y,(fe-me)*a,(Pe+ue)*y,(fe-ue)*a,(Pe+me)*y));var ue=.05,me=ie*.05,fe=.625,Pe=.95,ae=new go.PathFigure((fe-ue)*a,Pe*y,!0);b.add(ae),ae.add(new go.PathSegment(go.PathSegment.Bezier,fe*a,(Pe-ue)*y,(fe-ue)*a,(Pe-me)*y,(fe-me)*a,(Pe-ue)*y)),ae.add(new go.PathSegment(go.PathSegment.Bezier,(fe+ue)*a,Pe*y,(fe+me)*a,(Pe-ue)*y,(fe+ue)*a,(Pe-me)*y)),ae.add(new go.PathSegment(go.PathSegment.Bezier,fe*a,(Pe+ue)*y,(fe+ue)*a,(Pe+me)*y,(fe+me)*a,(Pe+ue)*y)),ae.add(new go.PathSegment(go.PathSegment.Bezier,(fe-ue)*a,Pe*y,(fe-me)*a,(Pe+ue)*y,(fe-ue)*a,(Pe+me)*y));var ue=.05,me=ie*.05,fe=.825,Pe=.95,xe=new go.PathFigure((fe-ue)*a,Pe*y,!0);b.add(xe),xe.add(new go.PathSegment(go.PathSegment.Bezier,fe*a,(Pe-ue)*y,(fe-ue)*a,(Pe-me)*y,(fe-me)*a,(Pe-ue)*y)),xe.add(new go.PathSegment(go.PathSegment.Bezier,(fe+ue)*a,Pe*y,(fe+me)*a,(Pe-ue)*y,(fe+ue)*a,(Pe-me)*y)),xe.add(new go.PathSegment(go.PathSegment.Bezier,fe*a,(Pe+ue)*y,(fe+ue)*a,(Pe+me)*y,(fe+me)*a,(Pe+ue)*y)),xe.add(new go.PathSegment(go.PathSegment.Bezier,(fe-ue)*a,Pe*y,(fe-me)*a,(Pe+ue)*y,(fe-ue)*a,(Pe+me)*y).close());var Ee=new go.PathFigure(0,y,!1);return b.add(Ee),Ee.add(new go.PathSegment(go.PathSegment.Line,a,y).close()),b}),go.Shape.defineFigureGenerator("Warehouse",function(re,a,y){var b=new go.Geometry,E=new go.PathFigure(0,0,!0);b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,a,0)),E.add(new go.PathSegment(go.PathSegment.Line,a,y)),E.add(new go.PathSegment(go.PathSegment.Line,0,y)),E.add(new go.PathSegment(go.PathSegment.Line,0,0).close());var x=new go.PathFigure(0,.2*y,!1);b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,a,.2*y).close());var ee=new go.PathFigure(.15*a,y,!0);b.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,.15*a,.5*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.4*a,.5*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.4*a,y)),ee.add(new go.PathSegment(go.PathSegment.Line,.15*a,y).close());var ne=.05,oe=ie*.05,ae=.35,ue=.775,me=new go.PathFigure((ae-ne)*a,ue*y,!0);return b.add(me),me.add(new go.PathSegment(go.PathSegment.Bezier,ae*a,(ue-ne)*y,(ae-ne)*a,(ue-oe)*y,(ae-oe)*a,(ue-ne)*y)),me.add(new go.PathSegment(go.PathSegment.Bezier,(ae+ne)*a,ue*y,(ae+oe)*a,(ue-ne)*y,(ae+ne)*a,(ue-oe)*y)),me.add(new go.PathSegment(go.PathSegment.Bezier,ae*a,(ue+ne)*y,(ae+ne)*a,(ue+oe)*y,(ae+oe)*a,(ue+ne)*y)),me.add(new go.PathSegment(go.PathSegment.Bezier,(ae-ne)*a,ue*y,(ae-oe)*a,(ue+ne)*y,(ae-ne)*a,(ue+oe)*y).close()),b}),go.Shape.defineFigureGenerator("ControlCenter",function(re,a,y){var b=new go.Geometry,E=new go.PathFigure(0,y,!0);return b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,0,.8*y)),E.add(new go.PathSegment(go.PathSegment.Line,.1*a,.8*y)),E.add(new go.PathSegment(go.PathSegment.Line,.1*a,0)),E.add(new go.PathSegment(go.PathSegment.Line,.9*a,0)),E.add(new go.PathSegment(go.PathSegment.Line,.9*a,.8*y)),E.add(new go.PathSegment(go.PathSegment.Line,a,.8*y)),E.add(new go.PathSegment(go.PathSegment.Line,a,y)),E.add(new go.PathSegment(go.PathSegment.Line,0,y)),E.add(new go.PathSegment(go.PathSegment.Move,.1*a,.8*y)),E.add(new go.PathSegment(go.PathSegment.Line,.9*a,.8*y).close()),b}),go.Shape.defineFigureGenerator("Bluetooth",function(re,a,y){var b=new go.Geometry,E=new go.PathFigure(0,.75*y,!1);return b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,0,.75*y)),E.add(new go.PathSegment(go.PathSegment.Line,a,.25*y)),E.add(new go.PathSegment(go.PathSegment.Line,.5*a,0)),E.add(new go.PathSegment(go.PathSegment.Line,.5*a,y)),E.add(new go.PathSegment(go.PathSegment.Line,a,.75*y)),E.add(new go.PathSegment(go.PathSegment.Line,0,.25*y)),b}),go.Shape.defineFigureGenerator("Bookmark",function(re,a,y){var b=new go.Geometry,E=new go.PathFigure(0,0,!0);return b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,0,y)),E.add(new go.PathSegment(go.PathSegment.Line,.5*a,.6*y)),E.add(new go.PathSegment(go.PathSegment.Line,a,y)),E.add(new go.PathSegment(go.PathSegment.Line,a,0)),E.add(new go.PathSegment(go.PathSegment.Line,0,0)),E.add(new go.PathSegment(go.PathSegment.Move,.2*a,.2*y)),E.add(new go.PathSegment(go.PathSegment.Line,.8*a,.2*y)),E.add(new go.PathSegment(go.PathSegment.Move,.2*a,.4*y)),E.add(new go.PathSegment(go.PathSegment.Line,.8*a,.4*y)),b}),go.Shape.defineFigureGenerator("Bookmark",function(re,a,y){var b=new go.Geometry,E=new go.PathFigure(0,0,!0);return b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,0,y)),E.add(new go.PathSegment(go.PathSegment.Line,.5*a,.6*y)),E.add(new go.PathSegment(go.PathSegment.Line,a,y)),E.add(new go.PathSegment(go.PathSegment.Line,a,0)),E.add(new go.PathSegment(go.PathSegment.Line,0,0)),E.add(new go.PathSegment(go.PathSegment.Move,.2*a,.2*y)),E.add(new go.PathSegment(go.PathSegment.Line,.8*a,.2*y)),E.add(new go.PathSegment(go.PathSegment.Move,.2*a,.4*y)),E.add(new go.PathSegment(go.PathSegment.Line,.8*a,.4*y)),b}),go.Shape.defineFigureGenerator("Globe",function(re,a,y){var b=new go.Geometry,E=new go.PathFigure(.5*a,0,!1);return b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.5*a,y)),E.add(new go.PathSegment(go.PathSegment.Move,0,.5*y)),E.add(new go.PathSegment(go.PathSegment.Line,a,.5*y)),E.add(new go.PathSegment(go.PathSegment.Move,.5*a,0)),E.add(new go.PathSegment(go.PathSegment.Bezier,a,.5*y,.75*a,0,a,.25*y)),E.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,y,a,.75*y,.75*a,y)),E.add(new go.PathSegment(go.PathSegment.Bezier,0,.5*y,.25*a,y,0,.75*y)),E.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,0,0,.25*y,.25*a,0)),E.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,y,.15*a,.25*y,.15*a,.75*y)),E.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,0,.85*a,.75*y,.85*a,.25*y)),E.add(new go.PathSegment(go.PathSegment.Move,.1675*a,.15*y)),E.add(new go.PathSegment(go.PathSegment.Bezier,.8325*a,.15*y,.35*a,.3*y,.65*a,.3*y)),E.add(new go.PathSegment(go.PathSegment.Move,.1675*a,.85*y)),E.add(new go.PathSegment(go.PathSegment.Bezier,.8325*a,.85*y,.35*a,.7*y,.65*a,.7*y)),b}),go.Shape.defineFigureGenerator("Wave",function(re,a,y){var b=new go.Geometry,E=new go.PathFigure(0,.25*y,!1);return b.add(E),E.add(new go.PathSegment(go.PathSegment.Bezier,.3*a,.25*y,.1*a,0,.2*a,0)),E.add(new go.PathSegment(go.PathSegment.Bezier,.7*a,.25*y,.425*a,.5*y,.575*a,.5*y)),E.add(new go.PathSegment(go.PathSegment.Bezier,a,.25*y,.8*a,0,.9*a,0)),E.add(new go.PathSegment(go.PathSegment.Line,a,.75*y)),E.add(new go.PathSegment(go.PathSegment.Move,0,.25*y)),E.add(new go.PathSegment(go.PathSegment.Line,0,.75*y)),E.add(new go.PathSegment(go.PathSegment.Bezier,.3*a,.75*y,.1*a,.5*y,.2*a,.5*y)),E.add(new go.PathSegment(go.PathSegment.Bezier,.7*a,.75*y,.425*a,y,.575*a,y)),E.add(new go.PathSegment(go.PathSegment.Bezier,a,.75*y,.8*a,.5*y,.9*a,.5*y)),b}),go.Shape.defineFigureGenerator("Operator",function(re,a,y){var b=new go.Geometry,E=.3,x=ie*.3,ee=.5,ne=.7,oe=new go.PathFigure((ee-E)*a,ne*y,!0);b.add(oe),oe.add(new go.PathSegment(go.PathSegment.Bezier,ee*a,(ne-E)*y,(ee-E)*a,(ne-x)*y,(ee-x)*a,(ne-E)*y)),oe.add(new go.PathSegment(go.PathSegment.Bezier,(ee+E)*a,ne*y,(ee+x)*a,(ne-E)*y,(ee+E)*a,(ne-x)*y)),oe.add(new go.PathSegment(go.PathSegment.Bezier,ee*a,(ne+E)*y,(ee+E)*a,(ne+x)*y,(ee+x)*a,(ne+E)*y)),oe.add(new go.PathSegment(go.PathSegment.Bezier,(ee-E)*a,ne*y,(ee-x)*a,(ne+E)*y,(ee-E)*a,(ne+x)*y));var ae=new go.PathFigure(0,.7*y,!1);return b.add(ae),ae.add(new go.PathSegment(go.PathSegment.Bezier,a,.7*y,0,0,a,0)),b}),go.Shape.defineFigureGenerator("TripleFanBlades",function(re,a,y){var b=new go.Geometry,E=new go.PathFigure(.5*a,0,!0);return b.add(E),E.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.65*y,.65*a,.3*y,.65*a,.5*y)),E.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,0,.35*a,.5*y,.35*a,.3*y)),E.add(new go.PathSegment(go.PathSegment.Move,.5*a,.65*y)),E.add(new go.PathSegment(go.PathSegment.Bezier,0,y,.3*a,.6*y,.1*a,.8*y)),E.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.65*y,.2*a,y,.35*a,.95*y)),E.add(new go.PathSegment(go.PathSegment.Move,.5*a,.65*y)),E.add(new go.PathSegment(go.PathSegment.Bezier,a,y,.7*a,.6*y,.9*a,.8*y)),E.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.65*y,.8*a,y,.65*a,.95*y)),b}),go.Shape.defineFigureGenerator("CentrifugalPump",function(re,a,y){var b=new go.Geometry,E=new go.PathFigure(a,0,!0);return b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.4*a,0)),E.add(new go.PathSegment(go.PathSegment.Bezier,0,.5*y,0,.075*y,0,.5*y)),E.add(new go.PathSegment(go.PathSegment.Bezier,.4*a,y,0,y,.4*a,y)),E.add(new go.PathSegment(go.PathSegment.Bezier,.8*a,.4*y,.8*a,y,.85*a,.6*y)),E.add(new go.PathSegment(go.PathSegment.Line,a,.4*y)),E.add(new go.PathSegment(go.PathSegment.Line,a,0)),b}),go.Shape.defineFigureGenerator("Battery",function(re,a,y){var b=new go.Geometry,E=new go.PathFigure(0,y,!0);b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,0,.1*y)),E.add(new go.PathSegment(go.PathSegment.Line,a,.1*y)),E.add(new go.PathSegment(go.PathSegment.Line,a,y)),E.add(new go.PathSegment(go.PathSegment.Line,0,y)),E.add(new go.PathSegment(go.PathSegment.Move,.4*a,.1*y)),E.add(new go.PathSegment(go.PathSegment.Line,.4*a,0)),E.add(new go.PathSegment(go.PathSegment.Line,.6*a,0)),E.add(new go.PathSegment(go.PathSegment.Line,.6*a,.1*y));var x=new go.PathFigure(0,.6*y,!1);return b.add(x),x.add(new go.PathSegment(go.PathSegment.Move,0,.4*y)),x.add(new go.PathSegment(go.PathSegment.Line,a,.4*y)),b}),go.Shape.defineFigureGenerator("Delete",function(re,a,y){var b=new go.Geometry,E=.5,x=ie*.5,ee=.5,ne=.5,oe=new go.PathFigure((ee-E)*a,ne*y,!0);b.add(oe),oe.add(new go.PathSegment(go.PathSegment.Bezier,ee*a,(ne-E)*y,(ee-E)*a,(ne-x)*y,(ee-x)*a,(ne-E)*y)),oe.add(new go.PathSegment(go.PathSegment.Bezier,(ee+E)*a,ne*y,(ee+x)*a,(ne-E)*y,(ee+E)*a,(ne-x)*y)),oe.add(new go.PathSegment(go.PathSegment.Bezier,ee*a,(ne+E)*y,(ee+E)*a,(ne+x)*y,(ee+x)*a,(ne+E)*y)),oe.add(new go.PathSegment(go.PathSegment.Bezier,(ee-E)*a,ne*y,(ee-x)*a,(ne+E)*y,(ee-E)*a,(ne+x)*y));var ae=new go.PathFigure(.15*a,.5*y,!1);return b.add(ae),ae.add(new go.PathSegment(go.PathSegment.Line,.85*a,.5*y)),b}),go.Shape.defineFigureGenerator("Flag",function(re,a,y){var b=new go.Geometry,E=new go.PathFigure(0,.1*y,!0);return b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,0,y)),E.add(new go.PathSegment(go.PathSegment.Move,0,.1*y)),E.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.1*y,.15*a,0,.35*a,0)),E.add(new go.PathSegment(go.PathSegment.Bezier,a,.1*y,.65*a,.2*y,.85*a,.2*y)),E.add(new go.PathSegment(go.PathSegment.Line,a,.5*y)),E.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.5*y,.85*a,.6*y,.65*a,.6*y)),E.add(new go.PathSegment(go.PathSegment.Bezier,0,.5*y,.35*a,.4*y,.15*a,.4*y).close()),b}),go.Shape.defineFigureGenerator("Help",function(re,a,y){var b=new go.Geometry,E=.5,x=ie*.5,ee=.5,ne=.5,oe=new go.PathFigure((ee-E)*a,ne*y,!1);b.add(oe),oe.add(new go.PathSegment(go.PathSegment.Bezier,ee*a,(ne-E)*y,(ee-E)*a,(ne-x)*y,(ee-x)*a,(ne-E)*y)),oe.add(new go.PathSegment(go.PathSegment.Bezier,(ee+E)*a,ne*y,(ee+x)*a,(ne-E)*y,(ee+E)*a,(ne-x)*y)),oe.add(new go.PathSegment(go.PathSegment.Bezier,ee*a,(ne+E)*y,(ee+E)*a,(ne+x)*y,(ee+x)*a,(ne+E)*y)),oe.add(new go.PathSegment(go.PathSegment.Bezier,(ee-E)*a,ne*y,(ee-x)*a,(ne+E)*y,(ee-E)*a,(ne+x)*y).close()),E=.05,x=ie*.05,ee=.5,ne=.8;var ae=new go.PathFigure((ee-E)*a,ne*y,!1);return b.add(ae),ae.add(new go.PathSegment(go.PathSegment.Bezier,ee*a,(ne-E)*y,(ee-E)*a,(ne-x)*y,(ee-x)*a,(ne-E)*y)),ae.add(new go.PathSegment(go.PathSegment.Bezier,(ee+E)*a,ne*y,(ee+x)*a,(ne-E)*y,(ee+E)*a,(ne-x)*y)),ae.add(new go.PathSegment(go.PathSegment.Bezier,ee*a,(ne+E)*y,(ee+E)*a,(ne+x)*y,(ee+x)*a,(ne+E)*y)),ae.add(new go.PathSegment(go.PathSegment.Bezier,(ee-E)*a,ne*y,(ee-x)*a,(ne+E)*y,(ee-E)*a,(ne+x)*y).close()),ae.add(new go.PathSegment(go.PathSegment.Move,.5*a,.7*y)),ae.add(new go.PathSegment(go.PathSegment.Line,.5*a,.5*y)),ae.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.2*y,.75*a,.475*y,.75*a,.225*y)),ae.add(new go.PathSegment(go.PathSegment.Bezier,.3*a,.35*y,.4*a,.2*y,.3*a,.25*y)),b}),go.Shape.defineFigureGenerator("Location",function(re,a,y){return new go.Geometry().add(new go.PathFigure(.5*a,y,!0).add(new go.PathSegment(go.PathSegment.Line,.75*a,.5*y)).add(new go.PathSegment(go.PathSegment.Bezier,.5*a,0,.975*a,.025*y,.5*a,0)).add(new go.PathSegment(go.PathSegment.Bezier,.25*a,.5*y,.5*a,0,.025*a,.025*y).close()).add(new go.PathSegment(go.PathSegment.Move,.5*a,.2*y)).add(new go.PathSegment(go.PathSegment.Arc,270,360,.5*a,.3*y,.1*a,.1*y).close()))}),go.Shape.defineFigureGenerator("Lock",function(re,a,y){var b=new go.Geometry,E=new go.PathFigure(0,.5*y,!0);b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,0,y)),E.add(new go.PathSegment(go.PathSegment.Line,a,y)),E.add(new go.PathSegment(go.PathSegment.Line,a,.5*y)),E.add(new go.PathSegment(go.PathSegment.Line,0,.5*y));var x=new go.PathFigure(.2*a,.5*y,!1);return b.add(x),x.add(new go.PathSegment(go.PathSegment.Move,.2*a,.5*y)),x.add(new go.PathSegment(go.PathSegment.Line,.2*a,.3*y)),x.add(new go.PathSegment(go.PathSegment.Bezier,.8*a,.3*y,.25*a,0,.75*a,0)),x.add(new go.PathSegment(go.PathSegment.Line,.8*a,.5*y)),x.add(new go.PathSegment(go.PathSegment.Line,.8*a,.3*y)),b}),go.Shape.defineFigureGenerator("Unlocked",function(re,a,y){var b=new go.Geometry,E=new go.PathFigure(0,.5*y,!0);b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,0,y)),E.add(new go.PathSegment(go.PathSegment.Line,a,y)),E.add(new go.PathSegment(go.PathSegment.Line,a,.5*y)),E.add(new go.PathSegment(go.PathSegment.Line,0,.5*y));var x=new go.PathFigure(.2*a,.5*y,!1);return b.add(x),x.add(new go.PathSegment(go.PathSegment.Move,.2*a,.5*y)),x.add(new go.PathSegment(go.PathSegment.Line,.2*a,.3*y)),x.add(new go.PathSegment(go.PathSegment.Bezier,.8*a,.3*y,.25*a,0,.75*a,0)),x.add(new go.PathSegment(go.PathSegment.Line,.8*a,.35*y)),b}),go.Shape.defineFigureGenerator("Gear",function(re,a,y){return new go.Geometry().add(new go.PathFigure(.9375*a,.56246875*y,!0).add(new go.PathSegment(go.PathSegment.Line,.9375*a,.4375*y)).add(new go.PathSegment(go.PathSegment.Line,.80621875*a,.4375*y)).add(new go.PathSegment(go.PathSegment.Bezier,.763*a,.3316875*y,.79840625*a,.39915625*y,.7834375*a,.3635*y)).add(new go.PathSegment(go.PathSegment.Line,.8566875*a,.23796875*y)).add(new go.PathSegment(go.PathSegment.Line,.76825*a,.14959375*y)).add(new go.PathSegment(go.PathSegment.Line,.67596875*a,.24184375*y)).add(new go.PathSegment(go.PathSegment.Bezier,.5625*a,.19378125*y,.64228125*a,.2188125*y,.603875*a,.2021875*y)).add(new go.PathSegment(go.PathSegment.Line,.5625*a,.0625*y)).add(new go.PathSegment(go.PathSegment.Line,.4375*a,.0625*y)).add(new go.PathSegment(go.PathSegment.Line,.4375*a,.19378125*y)).add(new go.PathSegment(go.PathSegment.Bezier,.32775*a,.239375*y,.39759375*a,.20190625*y,.36053125*a,.2176875*y)).add(new go.PathSegment(go.PathSegment.Line,.2379375*a,.14959375*y)).add(new go.PathSegment(go.PathSegment.Line,.14953125*a,.2379375*y)).add(new go.PathSegment(go.PathSegment.Line,.23934375*a,.3278125*y)).add(new go.PathSegment(go.PathSegment.Bezier,.19378125*a,.4375*y,.21765625*a,.36059375*y,.201875*a,.397625*y)).add(new go.PathSegment(go.PathSegment.Line,.0625*a,.4375*y)).add(new go.PathSegment(go.PathSegment.Line,.0625*a,.5625*y)).add(new go.PathSegment(go.PathSegment.Line,.1938125*a,.5625*y)).add(new go.PathSegment(go.PathSegment.Bezier,.241875*a,.67596875*y,.20221875*a,.603875*y,.21884375*a,.64228125*y)).add(new go.PathSegment(go.PathSegment.Line,.1495625*a,.76825*y)).add(new go.PathSegment(go.PathSegment.Line,.238*a,.8566875*y)).add(new go.PathSegment(go.PathSegment.Line,.3316875*a,.76296875*y)).add(new go.PathSegment(go.PathSegment.Bezier,.43753125*a,.80621875*y,.36353125*a,.78340625*y,.3991875*a,.79840625*y)).add(new go.PathSegment(go.PathSegment.Line,.43753125*a,.9375*y)).add(new go.PathSegment(go.PathSegment.Line,.5625*a,.9375*y)).add(new go.PathSegment(go.PathSegment.Line,.5625*a,.80621875*y)).add(new go.PathSegment(go.PathSegment.Bezier,.67225*a,.760625*y,.602375*a,.79809375*y,.63946875*a,.78234375*y)).add(new go.PathSegment(go.PathSegment.Line,.76828125*a,.8566875*y)).add(new go.PathSegment(go.PathSegment.Line,.85671875*a,.76825*y)).add(new go.PathSegment(go.PathSegment.Line,.76065625*a,.67221875*y)).add(new go.PathSegment(go.PathSegment.Bezier,.80621875*a,.56246875*y,.78234375*a,.63940625*y,.798125*a,.602375*y)).add(new go.PathSegment(go.PathSegment.Line,.9375*a,.56246875*y).close()).add(new go.PathSegment(go.PathSegment.Move,.5*a,.6*y)).add(new go.PathSegment(go.PathSegment.Arc,90,360,.5*a,.5*y,.1*a,.1*y).close()))}),go.Shape.defineFigureGenerator("Hand",function(re,a,y){var b=new go.Geometry,E=new go.PathFigure(0,.5*y,!0);return b.add(E),E.add(new go.PathSegment(go.PathSegment.Bezier,.1*a,.3*y,0,.375*y,.05*a,.325*y)),E.add(new go.PathSegment(go.PathSegment.Bezier,.45*a,.075*y,.3*a,.225*y,.4*a,.175*y)),E.add(new go.PathSegment(go.PathSegment.Bezier,.525*a,.075*y,.46*a,.05*y,.525*a,.05*y)),E.add(new go.PathSegment(go.PathSegment.Bezier,.3*a,.4*y,.525*a,.275*y,.475*a,.325*y)),E.add(new go.PathSegment(go.PathSegment.Line,.9*a,.4*y)),E.add(new go.PathSegment(go.PathSegment.Bezier,.9*a,.55*y,a,.4*y,a,.55*y)),E.add(new go.PathSegment(go.PathSegment.Line,.425*a,.55*y)),E.add(new go.PathSegment(go.PathSegment.Line,.6*a,.55*y)),E.add(new go.PathSegment(go.PathSegment.Bezier,.6*a,.7*y,.675*a,.55*y,.675*a,.7*y)),E.add(new go.PathSegment(go.PathSegment.Line,.4*a,.7*y)),E.add(new go.PathSegment(go.PathSegment.Line,.575*a,.7*y)),E.add(new go.PathSegment(go.PathSegment.Bezier,.575*a,.85*y,.65*a,.7*y,.65*a,.85*y)),E.add(new go.PathSegment(go.PathSegment.Line,.4*a,.85*y)),E.add(new go.PathSegment(go.PathSegment.Line,.525*a,.85*y)),E.add(new go.PathSegment(go.PathSegment.Bezier,.535*a,y,.61*a,.85*y,.61*a,y)),E.add(new go.PathSegment(go.PathSegment.Bezier,0,.9*y,.435*a,y,0,y).close()),b}),go.Shape.defineFigureGenerator("Map",function(re,a,y){var b=new go.Geometry,E=new go.PathFigure(0,.2*y,!0);return b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.25*a,0)),E.add(new go.PathSegment(go.PathSegment.Line,.5*a,.2*y)),E.add(new go.PathSegment(go.PathSegment.Line,.75*a,0)),E.add(new go.PathSegment(go.PathSegment.Line,a,.2*y)),E.add(new go.PathSegment(go.PathSegment.Line,a,y)),E.add(new go.PathSegment(go.PathSegment.Line,.75*a,.8*y)),E.add(new go.PathSegment(go.PathSegment.Line,.5*a,y)),E.add(new go.PathSegment(go.PathSegment.Line,.25*a,.8*y)),E.add(new go.PathSegment(go.PathSegment.Line,0,y).close()),E.add(new go.PathSegment(go.PathSegment.Move,.25*a,0)),E.add(new go.PathSegment(go.PathSegment.Line,.25*a,.8*y)),E.add(new go.PathSegment(go.PathSegment.Move,.5*a,.2*y)),E.add(new go.PathSegment(go.PathSegment.Line,.5*a,y)),E.add(new go.PathSegment(go.PathSegment.Move,.75*a,0)),E.add(new go.PathSegment(go.PathSegment.Line,.75*a,.8*y)),b}),go.Shape.defineFigureGenerator("Eject",function(re,a,y){var b=new go.Geometry,E=new go.PathFigure(0,y,!0);b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,a,y)),E.add(new go.PathSegment(go.PathSegment.Line,a,y*.7)),E.add(new go.PathSegment(go.PathSegment.Line,0,y*.7).close());var x=new go.PathFigure(0,y*.6,!0);return b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,a,.6*y)),x.add(new go.PathSegment(go.PathSegment.Line,.5*a,0).close()),b}),go.Shape.defineFigureGenerator("Pencil",function(re,a,y){return new go.Geometry().add(new go.PathFigure(0,0,!0).add(new go.PathSegment(go.PathSegment.Line,.2*a,.1*y)).add(new go.PathSegment(go.PathSegment.Line,a,.9*y)).add(new go.PathSegment(go.PathSegment.Line,.9*a,y)).add(new go.PathSegment(go.PathSegment.Line,.1*a,.2*y).close()))}),go.Shape.defineFigureGenerator("Building",function(re,a,y){var b=new go.Geometry,E=new go.PathFigure(a*1,y*1,!1);b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,0,y*1)),E.add(new go.PathSegment(go.PathSegment.Line,0,y*.85)),E.add(new go.PathSegment(go.PathSegment.Line,.046*a,y*.85)),E.add(new go.PathSegment(go.PathSegment.Line,.046*a,y*.45)),E.add(new go.PathSegment(go.PathSegment.Line,0,y*.45)),E.add(new go.PathSegment(go.PathSegment.Line,0,y*.3)),E.add(new go.PathSegment(go.PathSegment.Line,.046*a,y*.3)),E.add(new go.PathSegment(go.PathSegment.Line,.5*a,y*0)),E.add(new go.PathSegment(go.PathSegment.Line,(1-.046)*a,y*.3)),E.add(new go.PathSegment(go.PathSegment.Line,a,y*.3)),E.add(new go.PathSegment(go.PathSegment.Line,a,y*.45)),E.add(new go.PathSegment(go.PathSegment.Line,(1-.046)*a,y*.45)),E.add(new go.PathSegment(go.PathSegment.Line,(1-.046)*a,y*.85)),E.add(new go.PathSegment(go.PathSegment.Line,a,y*.85).close());var x=new go.PathFigure(.126*a,.85*y,!1);b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,.126*a,.45*y)),x.add(new go.PathSegment(go.PathSegment.Line,.322*a,.45*y)),x.add(new go.PathSegment(go.PathSegment.Line,.322*a,.85*y).close());var ee=new go.PathFigure(.402*a,.85*y,!1);b.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,.402*a,.45*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.598*a,.45*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.598*a,.85*y).close());var ne=new go.PathFigure(.678*a,.85*y,!1);b.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,.678*a,.45*y)),ne.add(new go.PathSegment(go.PathSegment.Line,.874*a,.45*y)),ne.add(new go.PathSegment(go.PathSegment.Line,.874*a,.85*y).close());var oe=new go.PathFigure(.5*a,.1*y,!1);return b.add(oe),oe.add(new go.PathSegment(go.PathSegment.Line,(.046+.15)*a,.3*y)),oe.add(new go.PathSegment(go.PathSegment.Line,(1-(.046+.15))*a,.3*y).close()),b}),go.Shape.defineFigureGenerator("Staircase",function(re,a,y){var b=new go.Geometry,E=new go.PathFigure(0,y*1,!0);return b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,a*.2,y*1)),E.add(new go.PathSegment(go.PathSegment.Line,a*.2,y*.8)),E.add(new go.PathSegment(go.PathSegment.Line,a*.4,y*.8)),E.add(new go.PathSegment(go.PathSegment.Line,a*.4,y*.6)),E.add(new go.PathSegment(go.PathSegment.Line,a*.6,y*.6)),E.add(new go.PathSegment(go.PathSegment.Line,a*.6,y*.4)),E.add(new go.PathSegment(go.PathSegment.Line,a*.8,y*.4)),E.add(new go.PathSegment(go.PathSegment.Line,a*.8,y*.2)),E.add(new go.PathSegment(go.PathSegment.Line,a*1,y*.2)),E.add(new go.PathSegment(go.PathSegment.Line,a*1,y*.15)),E.add(new go.PathSegment(go.PathSegment.Line,a*.75,y*.15)),E.add(new go.PathSegment(go.PathSegment.Line,a*.75,y*.35)),E.add(new go.PathSegment(go.PathSegment.Line,a*.55,y*.35)),E.add(new go.PathSegment(go.PathSegment.Line,a*.55,y*.55)),E.add(new go.PathSegment(go.PathSegment.Line,a*.35,y*.55)),E.add(new go.PathSegment(go.PathSegment.Line,a*.35,y*.75)),E.add(new go.PathSegment(go.PathSegment.Line,a*.15,y*.75)),E.add(new go.PathSegment(go.PathSegment.Line,a*.15,y*.95)),E.add(new go.PathSegment(go.PathSegment.Line,0,y*.95).close()),b}),go.Shape.defineFigureGenerator("5Bars",function(re,a,y){var b=new go.Geometry,E=new go.PathFigure(0,y*1,!0);b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,a*.184,y*1)),E.add(new go.PathSegment(go.PathSegment.Line,a*.184,y*(1-.184)).close());var x=new go.PathFigure(a*.204,y,!0);b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,a*.204,y*(1-.184))),x.add(new go.PathSegment(go.PathSegment.Line,a*.388,y*(1-.184*2))),x.add(new go.PathSegment(go.PathSegment.Line,a*.388,y*1).close());var ee=new go.PathFigure(a*.408,y,!0);b.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,a*.408,y*(1-.184*2))),ee.add(new go.PathSegment(go.PathSegment.Line,a*.592,y*(1-.184*3))),ee.add(new go.PathSegment(go.PathSegment.Line,a*.592,y*1).close());var ne=new go.PathFigure(a*.612,y,!0);b.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,a*.612,y*(1-.184*3))),ne.add(new go.PathSegment(go.PathSegment.Line,a*.796,y*(1-.184*4))),ne.add(new go.PathSegment(go.PathSegment.Line,a*.796,y*1).close());var oe=new go.PathFigure(a*.816,y,!0);return b.add(oe),oe.add(new go.PathSegment(go.PathSegment.Line,a*.816,y*(1-.184*4))),oe.add(new go.PathSegment(go.PathSegment.Line,a*1,y*(1-.184*5))),oe.add(new go.PathSegment(go.PathSegment.Line,a*1,y*1).close()),b}),go.Shape.defineFigureGenerator("PC",function(re,a,y){var b=new go.Geometry,E=new go.PathFigure(0,0,!0);b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,0,y*1)),E.add(new go.PathSegment(go.PathSegment.Line,a*.3,y*1)),E.add(new go.PathSegment(go.PathSegment.Line,a*.3,0).close());var x=new go.PathFigure(a*.055,.07*y,!0);b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,a*.245,y*.07)),x.add(new go.PathSegment(go.PathSegment.Line,a*.245,y*.1)),x.add(new go.PathSegment(go.PathSegment.Line,a*.055,y*.1).close());var ee=new go.PathFigure(a*.055,.13*y,!0);b.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,a*.245,y*.13)),ee.add(new go.PathSegment(go.PathSegment.Line,a*.245,y*.16)),ee.add(new go.PathSegment(go.PathSegment.Line,a*.055,y*.16).close());var ne=new go.PathFigure(a*.055,.18*y,!0);b.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,a*.245,y*.18)),ne.add(new go.PathSegment(go.PathSegment.Line,a*.245,y*.21)),ne.add(new go.PathSegment(go.PathSegment.Line,a*.055,y*.21).close());var oe=new go.PathFigure(a*1,0,!0);return b.add(oe),oe.add(new go.PathSegment(go.PathSegment.Line,a*.4,0)),oe.add(new go.PathSegment(go.PathSegment.Line,a*.4,y*.65)),oe.add(new go.PathSegment(go.PathSegment.Line,a*1,y*.65).close()),b}),go.Shape.defineFigureGenerator("Plane",function(re,a,y){var b=new go.Geometry,E=new go.PathFigure(.55*a,y,!0);return b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.5*a,.6*y)),E.add(new go.PathSegment(go.PathSegment.Line,.4*a,.7*y)),E.add(new go.PathSegment(go.PathSegment.Line,.1*a,.475*y)),E.add(new go.PathSegment(go.PathSegment.Bezier,.35*a,.525*y,0,.4*y,.225*a,.45*y)),E.add(new go.PathSegment(go.PathSegment.Line,.4*a,.475*y)),E.add(new go.PathSegment(go.PathSegment.Line,.15*a,.35*y)),E.add(new go.PathSegment(go.PathSegment.Line,.2*a,.325*y)),E.add(new go.PathSegment(go.PathSegment.Line,.6*a,.325*y)),E.add(new go.PathSegment(go.PathSegment.Line,.85*a,.1*y)),E.add(new go.PathSegment(go.PathSegment.Bezier,.9*a,.2*y,.975*a,0,a,.08*y)),E.add(new go.PathSegment(go.PathSegment.Line,.7*a,.45*y)),E.add(new go.PathSegment(go.PathSegment.Line,.6*a,.95*y)),E.add(new go.PathSegment(go.PathSegment.Line,.55*a,y).close()),b}),go.Shape.defineFigureGenerator("Key",function(re,a,y){var b=new go.Geometry,E=new go.PathFigure(a*1,y*.5,!0);return b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,a*.9,.4*y)),E.add(new go.PathSegment(go.PathSegment.Line,a*.5,.4*y)),E.add(new go.PathSegment(go.PathSegment.Line,a*.5,.35*y)),E.add(new go.PathSegment(go.PathSegment.Line,a*.45,.35*y)),E.add(new go.PathSegment(go.PathSegment.Line,a*.3,.2*y)),E.add(new go.PathSegment(go.PathSegment.Line,a*.15,.2*y)),E.add(new go.PathSegment(go.PathSegment.Line,0,.35*y)),E.add(new go.PathSegment(go.PathSegment.Line,0,.65*y)),E.add(new go.PathSegment(go.PathSegment.Line,a*.15,.8*y)),E.add(new go.PathSegment(go.PathSegment.Line,a*.3,.8*y)),E.add(new go.PathSegment(go.PathSegment.Line,a*.45,.65*y)),E.add(new go.PathSegment(go.PathSegment.Line,a*.5,.65*y)),E.add(new go.PathSegment(go.PathSegment.Line,a*.5,.6*y)),E.add(new go.PathSegment(go.PathSegment.Line,a*.6,.6*y)),E.add(new go.PathSegment(go.PathSegment.Line,a*.65,.55*y)),E.add(new go.PathSegment(go.PathSegment.Line,a*.7,.6*y)),E.add(new go.PathSegment(go.PathSegment.Line,a*.75,.55*y)),E.add(new go.PathSegment(go.PathSegment.Line,a*.8,.6*y)),E.add(new go.PathSegment(go.PathSegment.Line,a*.85,.575*y)),E.add(new go.PathSegment(go.PathSegment.Line,a*.9,.6*y).close()),E.add(new go.PathSegment(go.PathSegment.Move,.17*a,.425*y)),E.add(new go.PathSegment(go.PathSegment.Arc,270,360,.17*a,.5*y,.075*a,.075*y).close()),b}),go.Shape.defineFigureGenerator("FilmTape",function(re,a,y){var b=new go.Geometry,E=new go.PathFigure(0,0,!1);b.add(E),E.add(new go.PathSegment(go.PathSegment.Arc,270,180,a*0,a*.3,a*.055)),E.add(new go.PathSegment(go.PathSegment.Line,0,y*1)),E.add(new go.PathSegment(go.PathSegment.Line,a*.08,y*1)),E.add(new go.PathSegment(go.PathSegment.Line,a*.08,y*.95)),E.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*1),y*.95)),E.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*1),y*1)),E.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*2),y*1)),E.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*2),y*.95)),E.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*3),y*.95)),E.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*3),y*1)),E.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*4),y*1)),E.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*4),y*.95)),E.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*5),y*.95)),E.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*5),y*1)),E.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*6),y*1)),E.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*6),y*.95)),E.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*7),y*.95)),E.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*7),y*1)),E.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*8),y*1)),E.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*8),y*.95)),E.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*9),y*.95)),E.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*9),y*1)),E.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*10),y*1)),E.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*10),y*.95)),E.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*11),y*.95)),E.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*11),y*1)),E.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*12),y*1)),E.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*12),y*.95)),E.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*13),y*.95)),E.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*13),y*1)),E.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*14),y*1)),E.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*14),y*.95)),E.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*15),y*.95)),E.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*15),y*1)),E.add(new go.PathSegment(go.PathSegment.Line,a*1,y*1)),E.add(new go.PathSegment(go.PathSegment.Line,a*1,y*1));var x=new go.PathFigure(0,0,!1);b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,a*1,y*0)),x.add(new go.PathSegment(go.PathSegment.Arc,270,-180,a*1,a*.3,a*.055)),x.add(new go.PathSegment(go.PathSegment.Line,a*1,y*1));var ee=new go.PathFigure(a*.11,y*.1,!1);b.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,a*(.11+.24133333*1+.028*0),y*.1)),ee.add(new go.PathSegment(go.PathSegment.Line,a*(.11+.24133333*1+.028*0),y*.8)),ee.add(new go.PathSegment(go.PathSegment.Line,a*.11,y*.8).close());var ne=new go.PathFigure(a*(.11+.24133333*1+.028*1),y*.1,!1);b.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,a*(.11+.24133333*2+.028*1),y*.1)),ne.add(new go.PathSegment(go.PathSegment.Line,a*(.11+.24133333*2+.028*1),y*.8)),ne.add(new go.PathSegment(go.PathSegment.Line,a*(.11+.24133333*1+.028*1),y*.8).close());var oe=new go.PathFigure(a*(.11+.24133333*2+.028*2),y*.1,!1);return b.add(oe),oe.add(new go.PathSegment(go.PathSegment.Line,a*(.11+.24133333*3+.028*2),y*.1)),oe.add(new go.PathSegment(go.PathSegment.Line,a*(.11+.24133333*3+.028*2),y*.8)),oe.add(new go.PathSegment(go.PathSegment.Line,a*(.11+.24133333*2+.028*2),y*.8).close()),b}),go.Shape.defineFigureGenerator("FloppyDisk",function(re,a,y){var b=new go.Geometry,E=8,x=E*ie,ee=new go.PathFigure(E,0,!1);b.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,a*.86,0)),ee.add(new go.PathSegment(go.PathSegment.Line,a*1,y*.14)),ee.add(new go.PathSegment(go.PathSegment.Line,a,y-E)),ee.add(new go.PathSegment(go.PathSegment.Bezier,a-E,y,a,y-x,a-x,y)),ee.add(new go.PathSegment(go.PathSegment.Line,E,y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,0,y-E,x,y,0,y-x)),ee.add(new go.PathSegment(go.PathSegment.Line,0,E)),ee.add(new go.PathSegment(go.PathSegment.Bezier,E,0,0,x,x,0).close());var ne=new go.PathFigure(a*.83,0,!1);b.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,a*.83,y*.3)),ne.add(new go.PathSegment(go.PathSegment.Line,a*.17,y*.3)),ne.add(new go.PathSegment(go.PathSegment.Line,a*.17,y*0).close());var oe=new go.PathFigure(a*.83,y*1,!1);b.add(oe),oe.add(new go.PathSegment(go.PathSegment.Line,a*.83,y*.5)),oe.add(new go.PathSegment(go.PathSegment.Line,a*.17,y*.5)),oe.add(new go.PathSegment(go.PathSegment.Line,a*.17,y*1).close());var ae=new go.PathFigure(a*.78,y*.05,!1);return b.add(ae),ae.add(new go.PathSegment(go.PathSegment.Line,a*.66,y*.05)),ae.add(new go.PathSegment(go.PathSegment.Line,a*.66,y*.25)),ae.add(new go.PathSegment(go.PathSegment.Line,a*.78,y*.25).close()),b}),go.Shape.defineFigureGenerator("SpeechBubble",function(re,a,y){var b=re?re.parameter1:NaN;(isNaN(b)||b<0)&&(b=15),b=Math.min(b,a/3),b=Math.min(b,y/3);var E=b*ie,x=y*.8,ee=new go.Geometry,ne=new go.PathFigure(b,0,!0);return ee.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,a-b,0)),ne.add(new go.PathSegment(go.PathSegment.Bezier,a,b,a-E,0,a,E)),ne.add(new go.PathSegment(go.PathSegment.Line,a,x-b)),ne.add(new go.PathSegment(go.PathSegment.Bezier,a-b,x,a,x-E,a-E,x)),ne.add(new go.PathSegment(go.PathSegment.Line,a*.7,x)),ne.add(new go.PathSegment(go.PathSegment.Line,a*.7,y)),ne.add(new go.PathSegment(go.PathSegment.Line,a*.55,x)),ne.add(new go.PathSegment(go.PathSegment.Line,b,x)),ne.add(new go.PathSegment(go.PathSegment.Bezier,0,x-b,E,x,0,x-E)),ne.add(new go.PathSegment(go.PathSegment.Line,0,b)),ne.add(new go.PathSegment(go.PathSegment.Bezier,b,0,0,E,E,0).close()),E>1?(ee.spot1=new go.Spot(0,0,E,E),ee.spot2=new go.Spot(1,.8,-E,-E)):(ee.spot1=go.Spot.TopLeft,ee.spot2=new go.Spot(1,.8)),ee}),go.Shape.defineFigureGenerator("Repeat",function(re,a,y){var b=new go.Geometry,E=new go.PathFigure(a*0,y*.45,!0);b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,a*.25,y*0)),E.add(new go.PathSegment(go.PathSegment.Line,a*.5,y*.45)),E.add(new go.PathSegment(go.PathSegment.Line,a*.3,y*.45)),E.add(new go.PathSegment(go.PathSegment.Line,a*.3,y*.9)),E.add(new go.PathSegment(go.PathSegment.Line,a*.6,y*.9)),E.add(new go.PathSegment(go.PathSegment.Line,a*.65,y*1)),E.add(new go.PathSegment(go.PathSegment.Line,a*.2,y*1)),E.add(new go.PathSegment(go.PathSegment.Line,a*.2,y*.45).close());var x=new go.PathFigure(a*1,y*.55,!0);return b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,a*.75,y*1)),x.add(new go.PathSegment(go.PathSegment.Line,a*.5,y*.55)),x.add(new go.PathSegment(go.PathSegment.Line,a*.7,y*.55)),x.add(new go.PathSegment(go.PathSegment.Line,a*.7,y*.1)),x.add(new go.PathSegment(go.PathSegment.Line,a*.4,y*.1)),x.add(new go.PathSegment(go.PathSegment.Line,a*.35,y*0)),x.add(new go.PathSegment(go.PathSegment.Line,a*.8,y*0)),x.add(new go.PathSegment(go.PathSegment.Line,a*.8,y*.55).close()),b}),go.Shape.defineFigureGenerator("Windows",function(re,a,y){return new go.Geometry().add(new go.PathFigure(0,0,!0).add(new go.PathSegment(go.PathSegment.Line,a,0)).add(new go.PathSegment(go.PathSegment.Line,a,y)).add(new go.PathSegment(go.PathSegment.Line,0,y).close()).add(new go.PathSegment(go.PathSegment.Move,.4*a,.4*y)).add(new go.PathSegment(go.PathSegment.Line,.4*a,.8*y)).add(new go.PathSegment(go.PathSegment.Line,.9*a,.8*y)).add(new go.PathSegment(go.PathSegment.Line,.9*a,.4*y).close()).add(new go.PathSegment(go.PathSegment.Move,.2*a,.1*y)).add(new go.PathSegment(go.PathSegment.Line,.2*a,.6*y)).add(new go.PathSegment(go.PathSegment.Line,.7*a,.6*y)).add(new go.PathSegment(go.PathSegment.Line,.7*a,.1*y).close()).add(new go.PathSegment(go.PathSegment.Move,.1*a,.6*y)).add(new go.PathSegment(go.PathSegment.Line,.1*a,.9*y)).add(new go.PathSegment(go.PathSegment.Line,.5*a,.9*y)).add(new go.PathSegment(go.PathSegment.Line,.5*a,.6*y).close()))}),go.Shape.defineFigureGenerator("Terminal",function(re,a,y){var b=new go.Geometry,E=new go.PathFigure(a*0,y*.1,!1);b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,a*1,y*.1)),E.add(new go.PathSegment(go.PathSegment.Line,a*1,y*.9)),E.add(new go.PathSegment(go.PathSegment.Line,a*0,y*.9).close());var x=new go.PathFigure(a*.1,y*.2,!0);b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,a*.1,y*.25)),x.add(new go.PathSegment(go.PathSegment.Line,a*.22,y*.285)),x.add(new go.PathSegment(go.PathSegment.Line,a*.1,y*.32)),x.add(new go.PathSegment(go.PathSegment.Line,a*.1,y*.37)),x.add(new go.PathSegment(go.PathSegment.Line,a*.275,y*.32)),x.add(new go.PathSegment(go.PathSegment.Line,a*.275,y*.25).close());var ee=new go.PathFigure(a*.28,y*.37,!0);return b.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,a*.45,y*.37)),ee.add(new go.PathSegment(go.PathSegment.Line,a*.45,y*.41)),ee.add(new go.PathSegment(go.PathSegment.Line,a*.28,y*.41).close()),b}),go.Shape.defineFigureGenerator("Beaker",function(re,a,y){var b=new go.Geometry,E=15,x=E*ie,ee=new go.PathFigure(a*.62,y*.475,!0);return b.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,a,y-E)),ee.add(new go.PathSegment(go.PathSegment.Bezier,a-E,y,a,y-x,a-x,y)),ee.add(new go.PathSegment(go.PathSegment.Line,E,y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,0,y-E,x,y,0,y-x)),ee.add(new go.PathSegment(go.PathSegment.Line,a*.38,y*.475)),ee.add(new go.PathSegment(go.PathSegment.Line,a*.38,y*.03)),ee.add(new go.PathSegment(go.PathSegment.Line,a*.36,y*0)),ee.add(new go.PathSegment(go.PathSegment.Line,a*.64,y*0)),ee.add(new go.PathSegment(go.PathSegment.Line,a*.62,y*.03).close()),x>1?(b.spot1=new go.Spot(0,0,x,x),b.spot2=new go.Spot(1,1,-x,-x)):(b.spot1=go.Spot.TopLeft,b.spot2=go.Spot.BottomRight),b}),go.Shape.defineFigureGenerator("Download",function(re,a,y){var b=new go.Geometry,E=new go.PathFigure(a*0,y*1,!0);b.add(E);var x=.1/.3;E.add(new go.PathSegment(go.PathSegment.Line,a*1,y*1)),E.add(new go.PathSegment(go.PathSegment.Line,a*1,y*(1-x))),E.add(new go.PathSegment(go.PathSegment.Line,a*.8,y*0)),E.add(new go.PathSegment(go.PathSegment.Line,a*.66,y*0)),E.add(new go.PathSegment(go.PathSegment.Line,a*.66,y*.055)),E.add(new go.PathSegment(go.PathSegment.Line,a*.755,y*.055)),E.add(new go.PathSegment(go.PathSegment.Line,a*.93,y*(1-x))),E.add(new go.PathSegment(go.PathSegment.Line,a*.64,y*(1-x))),E.add(new go.PathSegment(go.PathSegment.Line,a*.61,y*.75)),E.add(new go.PathSegment(go.PathSegment.Line,a*.5,y*.75)),E.add(new go.PathSegment(go.PathSegment.Line,a*.39,y*.75)),E.add(new go.PathSegment(go.PathSegment.Line,a*.36,y*(1-x))),E.add(new go.PathSegment(go.PathSegment.Line,a*.07,y*(1-x))),E.add(new go.PathSegment(go.PathSegment.Line,a*(1-.755),y*.055)),E.add(new go.PathSegment(go.PathSegment.Line,a*(1-.66),y*.055)),E.add(new go.PathSegment(go.PathSegment.Line,a*(1-.66),y*0)),E.add(new go.PathSegment(go.PathSegment.Line,a*(1-.8),y*0)),E.add(new go.PathSegment(go.PathSegment.Line,a*0,y*(1-x)).close());var ee=new go.PathFigure(a*.4,y*0,!0);return b.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,a*.4,y*.44)),ee.add(new go.PathSegment(go.PathSegment.Line,a*.26,y*.44)),ee.add(new go.PathSegment(go.PathSegment.Line,a*.5,y*.66)),ee.add(new go.PathSegment(go.PathSegment.Line,a*(1-.26),y*.44)),ee.add(new go.PathSegment(go.PathSegment.Line,a*.6,y*.44)),ee.add(new go.PathSegment(go.PathSegment.Line,a*.6,y*0).close()),b}),go.Shape.defineFigureGenerator("Bin",function(re,a,y){var b=new go.Geometry,E=new go.PathFigure(a*0,y*1,!0);b.add(E);var x=.1/.3;return E.add(new go.PathSegment(go.PathSegment.Line,a*1,y*1)),E.add(new go.PathSegment(go.PathSegment.Line,a*1,y*(1-x))),E.add(new go.PathSegment(go.PathSegment.Line,a*.8,y*0)),E.add(new go.PathSegment(go.PathSegment.Line,a*.66,y*0)),E.add(new go.PathSegment(go.PathSegment.Line,a*.66,y*.055)),E.add(new go.PathSegment(go.PathSegment.Line,a*.755,y*.055)),E.add(new go.PathSegment(go.PathSegment.Line,a*.93,y*(1-x))),E.add(new go.PathSegment(go.PathSegment.Line,a*.64,y*(1-x))),E.add(new go.PathSegment(go.PathSegment.Line,a*.61,y*.75)),E.add(new go.PathSegment(go.PathSegment.Line,a*.5,y*.75)),E.add(new go.PathSegment(go.PathSegment.Line,a*.39,y*.75)),E.add(new go.PathSegment(go.PathSegment.Line,a*.36,y*(1-x))),E.add(new go.PathSegment(go.PathSegment.Line,a*.07,y*(1-x))),E.add(new go.PathSegment(go.PathSegment.Line,a*(1-.755),y*.055)),E.add(new go.PathSegment(go.PathSegment.Line,a*(1-.66),y*.055)),E.add(new go.PathSegment(go.PathSegment.Line,a*(1-.66),y*0)),E.add(new go.PathSegment(go.PathSegment.Line,a*(1-.8),y*0)),E.add(new go.PathSegment(go.PathSegment.Line,a*0,y*(1-x)).close()),b}),go.Shape.defineFigureGenerator("Upload",function(re,a,y){var b=new go.Geometry,E=new go.PathFigure(a*0,y*1,!0);b.add(E);var x=.1/.3;E.add(new go.PathSegment(go.PathSegment.Line,a*1,y*1)),E.add(new go.PathSegment(go.PathSegment.Line,a*1,y*(1-x))),E.add(new go.PathSegment(go.PathSegment.Line,a*.8,y*0)),E.add(new go.PathSegment(go.PathSegment.Line,a*.66,y*0)),E.add(new go.PathSegment(go.PathSegment.Line,a*.66,y*.055)),E.add(new go.PathSegment(go.PathSegment.Line,a*.755,y*.055)),E.add(new go.PathSegment(go.PathSegment.Line,a*.93,y*(1-x))),E.add(new go.PathSegment(go.PathSegment.Line,a*.64,y*(1-x))),E.add(new go.PathSegment(go.PathSegment.Line,a*.61,y*.75)),E.add(new go.PathSegment(go.PathSegment.Line,a*.5,y*.75)),E.add(new go.PathSegment(go.PathSegment.Line,a*.39,y*.75)),E.add(new go.PathSegment(go.PathSegment.Line,a*.36,y*(1-x))),E.add(new go.PathSegment(go.PathSegment.Line,a*.07,y*(1-x))),E.add(new go.PathSegment(go.PathSegment.Line,a*(1-.755),y*.055)),E.add(new go.PathSegment(go.PathSegment.Line,a*(1-.66),y*.055)),E.add(new go.PathSegment(go.PathSegment.Line,a*(1-.66),y*0)),E.add(new go.PathSegment(go.PathSegment.Line,a*(1-.8),y*0)),E.add(new go.PathSegment(go.PathSegment.Line,a*0,y*(1-x)).close());var ee=new go.PathFigure(a*.5,y*0,!0);return b.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,a*.26,y*.25)),ee.add(new go.PathSegment(go.PathSegment.Line,a*.4,y*.25)),ee.add(new go.PathSegment(go.PathSegment.Line,a*.4,y*.63)),ee.add(new go.PathSegment(go.PathSegment.Line,a*.6,y*.63)),ee.add(new go.PathSegment(go.PathSegment.Line,a*.6,y*.25)),ee.add(new go.PathSegment(go.PathSegment.Line,a*.74,y*.25).close()),b}),go.Shape.defineFigureGenerator("EmptyDrink",function(re,a,y){var b=new go.Geometry,E=new go.PathFigure(a*.15,y*0,!1);return b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,a*.85,y*0)),E.add(new go.PathSegment(go.PathSegment.Line,a*.7,y*1)),E.add(new go.PathSegment(go.PathSegment.Line,a*.3,y*1).close()),b}),go.Shape.defineFigureGenerator("Drink",function(re,a,y){var b=new go.Geometry,E=new go.PathFigure(a*.15,y*0,!1);b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,a*.85,y*0)),E.add(new go.PathSegment(go.PathSegment.Line,a*.7,y*1)),E.add(new go.PathSegment(go.PathSegment.Line,a*.3,y*1).close());var x=new go.PathFigure(a*.235,y*.28,!0);return b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,a*.765,y*.28)),x.add(new go.PathSegment(go.PathSegment.Line,a*.655,y*.97)),x.add(new go.PathSegment(go.PathSegment.Line,a*.345,y*.97).close()),b}),go.Shape.defineFigureGenerator("4Arrows",function(re,a,y){var b=new go.Geometry,E=new go.PathFigure(a*.5,y*0,!0);return b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,a*.65,y*.25)),E.add(new go.PathSegment(go.PathSegment.Line,a*.55,y*.25)),E.add(new go.PathSegment(go.PathSegment.Line,a*.55,y*.45)),E.add(new go.PathSegment(go.PathSegment.Line,a*.75,y*.45)),E.add(new go.PathSegment(go.PathSegment.Line,a*.75,y*.35)),E.add(new go.PathSegment(go.PathSegment.Line,a*1,y*.5)),E.add(new go.PathSegment(go.PathSegment.Line,a*.75,y*.65)),E.add(new go.PathSegment(go.PathSegment.Line,a*.75,y*.55)),E.add(new go.PathSegment(go.PathSegment.Line,a*.55,y*.55)),E.add(new go.PathSegment(go.PathSegment.Line,a*.55,y*.75)),E.add(new go.PathSegment(go.PathSegment.Line,a*.65,y*.75)),E.add(new go.PathSegment(go.PathSegment.Line,a*.5,y*1)),E.add(new go.PathSegment(go.PathSegment.Line,a*.35,y*.75)),E.add(new go.PathSegment(go.PathSegment.Line,a*.45,y*.75)),E.add(new go.PathSegment(go.PathSegment.Line,a*.45,y*.55)),E.add(new go.PathSegment(go.PathSegment.Line,a*.25,y*.55)),E.add(new go.PathSegment(go.PathSegment.Line,a*.25,y*.65)),E.add(new go.PathSegment(go.PathSegment.Line,a*0,y*.5)),E.add(new go.PathSegment(go.PathSegment.Line,a*.25,y*.35)),E.add(new go.PathSegment(go.PathSegment.Line,a*.25,y*.45)),E.add(new go.PathSegment(go.PathSegment.Line,a*.45,y*.45)),E.add(new go.PathSegment(go.PathSegment.Line,a*.45,y*.25)),E.add(new go.PathSegment(go.PathSegment.Line,a*.35,y*.25).close()),b}),go.Shape.defineFigureGenerator("Connector","Ellipse"),go.Shape.defineFigureGenerator("Alternative","TriangleUp"),go.Shape.defineFigureGenerator("Merge","TriangleUp"),go.Shape.defineFigureGenerator("Decision","Diamond"),go.Shape.defineFigureGenerator("DataTransmissions","Hexagon"),go.Shape.defineFigureGenerator("Gate","Crescent"),go.Shape.defineFigureGenerator("Delay","HalfEllipse"),go.Shape.defineFigureGenerator("Input","Parallelogram1"),go.Shape.defineFigureGenerator("ManualLoop","ManualOperation"),go.Shape.defineFigureGenerator("ISOProcess","Chevron"),go.Shape.defineFigureGenerator("MessageToUser","SquareArrow"),go.Shape.defineFigureGenerator("MagneticData","Cylinder1"),go.Shape.defineFigureGenerator("DirectData","Cylinder4"),go.Shape.defineFigureGenerator("StoredData","DataStorage"),go.Shape.defineFigureGenerator("SequentialData","MagneticTape"),go.Shape.defineFigureGenerator("Subroutine","Procedure")},11081: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 bt={},yt="5.0",te={},z=null,se=!1,ve=!1,Ie=null,be=!1,Ne=null,ie=null,et=0;et<arguments.length;et++){var He=arguments[et];if(He!==null)switch(typeof He){case"number":yt=He.toFixed(1);break;case"string":He.match(new RegExp("^[0-9]\\.[0-9]+$"))?yt=He:Ie=He;break;case"object":typeof He.is3D!="undefined"?z=He:te=He;break;case"boolean":se=He,ve=!0;break}}z===null&&(z={is3D:!1,AV:!1,SV:!1,CV:!1,EV2:!1,CP:!1,PC:!1,DA:!1,FI:!1,PV:!1,macro:!1},te.material_id!==void 0&&!ve&&(se=!0)),Ie!==null&&te.id===void 0&&(te.id=Ie);var ke="",Ze="",Me=!1,ye=null,re=null,a=null,y=!1,b=null,E=null,x=null,ee=null,ne=null;te.height!==void 0&&(te.height=Math.round(te.height)),te.width!==void 0&&(te.width=Math.round(te.width));var oe=function(Xe){return parseFloat(Xe)>4?parseFloat(Xe):5};bt.setHTML5Codebase=function(Xe,st){ie=Xe,vt(Xe,st)},bt.setJavaCodebase=bt.setJavaCodebaseVersion=bt.isCompiledInstalled=bt.setPreCompiledScriptPath=bt.setPreCompiledResourcePath=function(){},bt.setHTML5CodebaseVersion=function(Xe,st){var Lt=parseFloat(Xe);if(Lt!==NaN&&Lt<5){console.log("The GeoGebra HTML5 codebase version "+Lt+" is deprecated. Using version latest instead.");return}Ne=Xe,nt(Xe,st)},bt.getHTML5CodebaseVersion=function(){return re},bt.getParameters=function(){return te},bt.setFontsCSSURL=function(Xe){ee=Xe},bt.setGiacJSURL=function(Xe){},bt.setJNLPFile=function(Xe){ke=Xe},bt.setJNLPBaseDir=function(Xe){},bt.inject=function(){function Xe(){return window.frameElement&&window.frameElement.getAttribute("data-singleton")}for(var st="auto",Lt=te.id,It,St=!1,dn=0;dn<arguments.length;dn++){var Fe=arguments[dn];typeof Fe=="string"?(Fe=Fe.toLowerCase(),Fe.match(/^(prefer)?(java|html5|compiled|auto|screenshot)$/)?st=Fe:Lt=arguments[dn]):typeof Fe=="boolean"?St=Fe:Fe instanceof HTMLElement&&(It=Fe)}Xt();function Xt(){if(!be){setTimeout(Xt,200);return}st=Ke(st);var Kt=It||document.getElementById(Lt);if(!Kt){console.log("possibly bug on ajax loading? ");return}if(bt.removeExistingApplet(Kt,!1),te.width===void 0&&Kt.clientWidth&&(te.width=Kt.clientWidth),te.height===void 0&&Kt.clientHeight&&(te.height=Kt.clientHeight),!(te.width&&te.height)&&st==="html5"&&(delete te.width,delete te.height),ye=st,st==="screenshot")ze(Kt,te);else{var jn=!1;te.hasOwnProperty("playButton")&&te.playButton||te.hasOwnProperty("clickToLoad")&&te.clickToLoad?jn=!0:te.hasOwnProperty("playButtonAutoDecide")&&te.playButtonAutoDecide&&(jn=(!ae()||Xe())&&ue()),jn?(ye="screenshot",Be(Kt,te,St,st)):De(Kt,te,St)}}};function ae(){try{return window.self!==window.top}catch(Xe){return!0}}function ue(){return te.hasOwnProperty("screenshotGenerator")&&te.screenshotGenerator?!1:Math.max(screen.width,screen.height)<800}bt.getViews=function(){return z},bt.isJavaInstalled=function(){return!1};var me=function(Xe){var st=function(dn){var Fe=JSON.parse(dn),Xt=function(Pt){return Pt.type=="G"||Pt.type=="E"},Kt=Fe.elements?Fe.elements.filter(Xt)[0]:Fe;if(!Kt||!Kt.url){Lt();return}te.fileName=Kt.url,fe(Kt.settings||{}),z.is3D=!0;var jn="https://www.geogebra.org/images/";bt.setPreviewImage(b||Kt.previewUrl,jn+"GeoGebra_loading.png",jn+"applet_play.png"),Xe()},Lt=function(){te.onError&&te.onError(),Tt("Error: Fetching material (id "+te.material_id+") failed.",te)},It=location.host.match(/(www|stage|beta|groot|alpha).geogebra.(org|net)/)?location.host:"www.geogebra.org",St="/materials/"+te.material_id+"?scope=basic";Pe("https://"+It+"/api/proxy.php?path="+encodeURIComponent(St),st,Lt)};function fe(Xe){var st=["width","height","showToolBar","showMenuBar","showAlgebraInput","allowStyleBar","showResetIcon","enableLabelDrags","enableShiftDragZoom","enableRightClick","appName"];["enableLabelDrags","enableShiftDragZoom","enableRightClick"].forEach(function(Lt){Xe[Lt]=!!Xe[Lt]}),st.forEach(function(Lt){te[Lt]===void 0&&Xe[Lt]!==void 0&&(te[Lt]=Xe[Lt])}),te.showToolBarHelp===void 0&&(te.showToolBarHelp=te.showToolBar)}function Pe(Xe,st,Lt){var It=new XMLHttpRequest;It.open("GET",Xe),It.onload=function(){st(It.responseText)},It.onerror=Lt,It.send()}bt.isHTML5Installed=function(){return!0},bt.getLoadedAppletType=function(){return ye},bt.setPreviewImage=function(Xe,st,Lt){b=Xe,E=st,x=Lt},bt.removeExistingApplet=function(Xe,st){var Lt;typeof Xe=="string"&&(Xe=document.getElementById(Xe)),ye=null;var It=null;for(Lt=0;Lt<Xe.childNodes.length;Lt++){var St=Xe.childNodes[Lt],dn=St.className;dn==="applet_screenshot"?st?(St.style.display="block",ye="screenshot"):St.style.display="none":dn!=="applet_scaler prerender"&&(Xe.removeChild(St),It=dn&&dn.indexOf("appletParameters")!=-1?St.id:null,Lt--)}var Fe=te.id!==void 0?te.id:It,Xt=window[Fe];Xt&&typeof Xt.getBase64=="function"&&(Xt.remove(),window[Fe]=null)},bt.refreshHitPoints=function(){if(oe(ggbHTML5LoadedCodebaseVersion)>=5)return!0;var Xe=bt.getAppletObject();return Xe&&typeof Xe.recalculateEnvironments=="function"?(Xe.recalculateEnvironments(),!0):!1},bt.startAnimation=function(){var Xe=bt.getAppletObject();return Xe&&typeof Xe.startAnimation=="function"?(Xe.startAnimation(),!0):!1},bt.stopAnimation=function(){var Xe=bt.getAppletObject();return Xe&&typeof Xe.stopAnimation=="function"?(Xe.stopAnimation(),!0):!1},bt.getAppletObject=function(){var Xe=te.id!==void 0?te.id:"ggbApplet";return window[Xe]},bt.resize=function(){};var xe=function(Xe,st,Lt){var It=document.createElement("param");It.setAttribute("name",st),It.setAttribute("value",Lt),Xe.appendChild(It)},Ee=function(Xe){return Xe&&Xe!=="false"},De=function(Xe,st,Lt){oe(re)<=4.2&&(Lt=!0);var It=!isRenderGGBElementEnabled&&!scriptLoadStarted;(!isRenderGGBElementEnabled&&!scriptLoadStarted||ggbHTML5LoadedCodebaseVersion!==re||ggbHTML5LoadedCodebaseIsWebSimple&&!y)&&(It=!0,isRenderGGBElementEnabled=!1,scriptLoadStarted=!1);var St=document.createElement("div");St.classList.add("appletParameters","notranslate");var dn=st.width,Fe=st.height;if(st.disableAutoScale=st.disableAutoScale===void 0?GGBAppletUtils.isFlexibleWorksheetEditor():st.disableAutoScale,st.width!==void 0)if(oe(re)<=4.4)Ee(st.showToolBar)&&(st.height-=7),Ee(st.showAlgebraInput)&&(st.height-=37),st.width<605&&Ee(st.showToolBar)&&(st.width=605,dn=605);else{var Xt=100;(Ee(st.showToolBar)||Ee(st.showMenuBar))&&(st.hasOwnProperty("customToolBar")&&(st.customToolbar=st.customToolBar),Xt=Ee(st.showMenuBar)?245:155),dn<Xt&&(st.width=Xt,dn=Xt)}St.style.border="none",St.style.display="inline-block";for(var Kt in st)st.hasOwnProperty(Kt)&&Kt!=="appletOnLoad"&&St.setAttribute("data-param-"+Kt,st[Kt]);ee&&St.setAttribute("data-param-fontscssurl",ee),bt.resize=function(){GGBAppletUtils.responsiveResize(Xe,st)},window.addEventListener("resize",function(we){bt.resize()});var jn=typeof st.appletOnLoad=="function"?st.appletOnLoad:function(){};if(!Lt&&st.width!==void 0){st.hasOwnProperty("showSplash")||St.setAttribute("data-param-showSplash","false");var Pt=Xe.querySelector(".applet_scaler.prerender"),qe=Pt!==null;if(qe)var lt=Pt.querySelector(".ggb_preview");else{var lt=Ge(dn,Fe,st.borderColor,!1);Pt=document.createElement("div"),Pt.className="applet_scaler",Pt.style.position="relative",Pt.style.display="block",Pt.style.width=dn+"px",Pt.style.height=Fe+"px"}window.GGBT_spinner&&window.GGBT_spinner.attachSpinner(Pt,"66%"),oe(re)>=5?(st.appletOnLoad=function(we){var mt=Xe.querySelector(".ggb_preview");mt&&mt.parentNode.removeChild(mt),window.GGBT_spinner&&window.GGBT_spinner.removeSpinner(Pt),window.GGBT_wsf_view&&$(window).trigger("resize"),jn(we)},qe||Pt.appendChild(lt)):St.appendChild(lt),Pt.appendChild(St),qe||Xe.appendChild(Pt),setTimeout(function(){bt.resize()},1)}else{var it=document.createElement("div");it.className="applet_scaler",it.style.position="relative",it.style.display="block",it.appendChild(St),Xe.appendChild(it),st.appletOnLoad=function(we){bt.resize(),jn(we)}}function Oe(we,mt){mt&&typeof mt.appletOnLoad=="function"&&typeof renderGGBElement=="function"?renderGGBElement(we,mt.appletOnLoad):renderGGBElement(we),Tt("GeoGebra HTML5 applet injected and rendered with previously loaded codebase.",mt)}function pt(we,mt){typeof renderGGBElement=="undefined"?(html5AppletsToProcess===null&&(html5AppletsToProcess=[]),html5AppletsToProcess.push({article:we,params:mt}),window.renderGGBElementReady=function(){isRenderGGBElementEnabled=!0,html5AppletsToProcess!==null&&html5AppletsToProcess.length&&(html5AppletsToProcess.forEach(function(Je){Oe(Je.article,Je.params)}),html5AppletsToProcess=null)},oe(re)<5&&(we.className+=" geogebraweb")):Oe(we,mt)}if(It){scriptLoadStarted=!0;for(var gt=0;gt<St.childNodes.length;gt++){var Le=St.childNodes[gt].tagName;Le==="TABLE"&&(St.removeChild(St.childNodes[gt]),gt--)}if(ggbHTML5LoadedScript!==null){var he=document.querySelector('script[src="'+ggbHTML5LoadedScript+'"]');he!=null&&he.parentNode.removeChild(he)}var je=document.createElement("script"),We=function(){pt(St,st)};je.src=Ze+a,ggbHTML5LoadedCodebaseIsWebSimple=y,ggbHTML5LoadedCodebaseVersion=re,ggbHTML5LoadedScript=je.src,Tt("GeoGebra HTML5 codebase loaded: '"+Ze+"'.",st),!ie&&(!Ne||Ne=="5.0")?(y?webSimple.succeeded=webSimple.succeeded||webSimple():web3d.succeeded=web3d.succeeded||web3d(),We()):Ze.requirejs?__webpack_require__.e(981).then(function(){var we=[__webpack_require__(60981)];We.apply(null,we)}.bind(this)).catch(__webpack_require__.oe):(je.onload=We,Xe.appendChild(je))}else pt(St,st);st.height=Fe,st.width=dn},ze=function(Xe,st,Lt){var It=Ge(st.width,st.height,st.borderColor,Lt),St=document.createElement("div");St.style.position="relative",St.style.display="block",St.style.width=st.width+"px",St.style.height=st.height+"px",St.className="applet_screenshot applet_scaler"+(Lt?" applet_screenshot_play":""),St.appendChild(It);var dn=GGBAppletUtils.getScale(st,Xe,Lt);Lt?(Xe.appendChild(Ue()),window.GGBT_wsf_view||(Xe.style.position="relative")):window.GGBT_spinner&&window.GGBT_spinner.attachSpinner(St,"66%"),Xe.appendChild(St),dn!==1&&!isNaN(dn)&&(GGBAppletUtils.scaleElement(St,dn),St.style.width=st.width+"px",St.style.height=st.height+"px",St.parentNode.style.width=st.width*dn+"px",St.parentNode.style.height=st.height*dn+"px"),bt.resize=function(){ft(Xe,It,St,Lt)},window.addEventListener("resize",function(Fe){bt.resize()}),bt.resize()};function ft(Xe,st,Lt,It){if(Xe.contains(st)){if(typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()){if(Xe.id!=="fullscreencontent")return;window.GGBT_wsf_view.setCloseBtnPosition(Xe)}var St=GGBAppletUtils.getScale(te,Xe,It);Lt.parentNode!==null&&(!isNaN(St)&&St!==1?(GGBAppletUtils.scaleElement(Lt,St),Lt.parentNode.style.width=te.width*St+"px",Lt.parentNode.style.height=te.height*St+"px"):(GGBAppletUtils.scaleElement(Lt,1),Lt.parentNode.style.width=te.width+"px",Lt.parentNode.style.height=te.height+"px")),typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()&&GGBAppletUtils.positionCenter(Xe),typeof window.GGBT_ws_header_footer=="object"&&window.GGBT_ws_header_footer.setWsScrollerHeight()}}bt.onExitFullscreen=function(Xe,st){st.appendChild(Xe)};var Be=function(Xe,st,Lt,It){ze(Xe,st,!0);for(var St=function(){var Xt=[];for(Fe=0;Fe<Xe.childNodes.length;Fe++)Xt.push(Xe.childNodes[Fe]);if(window.GGBT_wsf_view){var Kt=window.GGBT_wsf_view.renderFullScreen(Xe,st.id),jn=document.getElementById("fullscreencontainer"),Pt=jQuery(Xe).find(".fullscreencontent");Pt.length>0?(Kt.remove(),Pt.attr("id","fullscreencontent").show(),jQuery(jn).append(Pt),window.dispatchEvent(new Event("resize"))):De(Kt,st,!1),window.GGBT_wsf_view.launchFullScreen(jn)}else ye=It,De(Xe,st,!1);if(!window.GGBT_wsf_view)for(Fe=0;Fe<Xt.length;Fe++)Xe.removeChild(Xt[Fe])},dn=Xe.getElementsByClassName("ggb_preview_play"),Fe=0;Fe<dn.length;Fe++)dn[Fe].addEventListener("click",St,!1),dn[Fe].addEventListener("ontouchstart",St,!1);typeof window.ggbAppletPlayerOnload=="function"&&window.ggbAppletPlayerOnload(Xe),ue()&&window.GGBT_wsf_view&&$(".wsf-element-fullscreen-button").remove()},Ue=function(){var Xe=document.createElement("div");if(Xe.className="ggb_preview_play icon-applet-play",!window.GGBT_wsf_view){var st='.icon-applet-play { width: 100%; height: 100%;box-sizing: border-box;position: absolute;z-index: 1001;cursor: pointer;border-width: 0px; background-color: transparent;background-repeat: no-repeat;left: 0;top: 0;background-position: center center; background-image: url("https://www.geogebra.org/images/worksheet/icon-start-applet.png");}.icon-applet-play:hover {background-image: url("https://www.geogebra.org/images/worksheet/icon-start-applet-hover.png");}',Lt=document.createElement("style");Lt.styleSheet?Lt.styleSheet.cssText=st:Lt.appendChild(document.createTextNode(st)),document.getElementsByTagName("head")[0].appendChild(Lt)}return Xe},Ge=function(Xe,st,Lt,It){var St=document.createElement("div");St.className="ggb_preview",St.style.position="absolute",St.style.zIndex="90",St.style.width=Xe-2+"px",St.style.height=st-2+"px",St.style.top="0px",St.style.left="0px",St.style.overflow="hidden",St.style.backgroundColor="white";var dn="lightgrey";Lt!==void 0&&(Lt==="none"?dn="transparent":dn=Lt),St.style.border="1px solid "+dn;var Fe=document.createElement("img");if(Fe.style.position="relative",Fe.style.zIndex="1000",Fe.style.top="-1px",Fe.style.left="-1px",b!==null&&Fe.setAttribute("src",b),Fe.style.opacity=.7,E!==null){var Xt,Kt,jn;if(!It){Xt=document.createElement("img"),Xt.style.position="absolute",Xt.style.zIndex="1001",Xt.style.opacity=1,Fe.style.opacity=.3,Kt=360,Kt>Xe/4*3&&(Kt=Xe/4*3),jn=Kt/5.8,Xt.setAttribute("src",E),Xt.setAttribute("width",Kt),Xt.setAttribute("height",jn);var Pt=(Xe-Kt)/2,qe=(st-jn)/2;Xt.style.left=Pt+"px",Xt.style.top=qe+"px",St.appendChild(Xt)}}return St.appendChild(Fe),St},Ke=function(Xe){return Xe=Xe.toLowerCase(),Xe==="html5"||Xe==="screenshot"?Xe:"html5"},rt=["web","webSimple","web3d","tablet","tablet3d","phone"],nt=function(Xe,st){if(re=Xe,st){vt(re,!0);return}var Lt=!se;if(Lt){var It=oe(re);!isNaN(It)&&It<4.4&&(Lt=!1)}var St,dn;window.location.protocol.substr(0,4)==="http"?St=window.location.protocol:St="http:";var Fe=re.indexOf("//");Fe>0?dn=re:Fe===0?dn=St+re:dn="https://www.geogebra.org/apps/5.2.814.0/";for(var Xt in rt)if(re.slice(rt[Xt].length*-1)===rt[Xt]||re.slice((rt[Xt].length+1)*-1)===rt[Xt]+"/"){vt(dn,!1);return}!GGBAppletUtils.isFlexibleWorksheetEditor()&&Lt&&!z.is3D&&!z.AV&&!z.SV&&!z.CV&&!z.EV2&&!z.CP&&!z.PC&&!z.DA&&!z.FI&&!z.PV&&!Ee(te.showToolBar)&&!Ee(te.showMenuBar)&&!Ee(te.showAlgebraInput)&&!Ee(te.enableRightClick)&&(!te.appName||te.appName=="classic")?dn+="webSimple/":dn+="web3d/",vt(dn,!1)},vt=function(Xe,st){if(Xe.requirejs){Ze=Xe;return}Xe.slice(-1)!=="/"&&(Xe+="/"),Ze=Xe,st===null&&(st=Xe.indexOf("http")===-1),Me=st,a="web.nocache.js",y=!1;var Lt=Ze.split("/");Lt.length>1&&(!st&&Lt[Lt.length-2]==="webSimple"?(a="webSimple.nocache.js",y=!0):rt.indexOf(Lt[Lt.length-2])>=0&&(a=Lt[Lt.length-2]+".nocache.js")),Lt=Xe.split("/"),re=Lt[Lt.length-3],re.substr(0,4)==="test"?re=re.substr(4,1)+"."+re.substr(5,1):(re.substr(0,3)==="war"||re.substr(0,4)==="beta")&&(re="5.0");var It=parseFloat(re);It!==NaN&&It<5&&Xe.indexOf("geogebra.org")>=0&&(console.log("The GeoGebra HTML5 codebase version "+It+" is deprecated. Using version latest instead."),nt("5.0",st))},Tt=function(Xe,st){window.console&&window.console.log&&(!st||typeof st.showLogging=="undefined"||st.showLogging&&st.showLogging!=="false")&&console.log(Xe)};te.material_id!==void 0?me(Yt):Yt();function Yt(){var Xe=yt;Ne!==null?Xe=Ne:parseFloat(Xe)<5&&(Xe="5.0"),nt(Xe,!1),ie!==null&&vt(ie,Me),be=!0}return bt},GGBAppletUtils=function(){"use strict";function bt(){return window.GGBT_wsf_edit!==void 0}function yt(be,Ne){Ne!=1?(be.style.transformOrigin="0% 0% 0px",be.style.webkitTransformOrigin="0% 0% 0px",be.style.transform="scale("+Ne+","+Ne+")",be.style.webkitTransform="scale("+Ne+","+Ne+")",be.style.maxWidth="initial",be.querySelector(".ggb_preview")!==null&&(be.querySelector(".ggb_preview").style.maxWidth="initial"),be.querySelectorAll(".ggb_preview img")[0]!==void 0&&(be.querySelectorAll(".ggb_preview img")[0].style.maxWidth="initial"),be.querySelectorAll(".ggb_preview img")[1]!==void 0&&(be.querySelectorAll(".ggb_preview img")[1].style.maxWidth="initial")):(be.style.transform="none",be.style.webkitTransform="none")}function te(be,Ne,ie,et,He,ke){var Ze=null;if(ke!=null&&ke!="")for(var Me=be.parentNode;Me!=null;)if((" "+Me.className+" ").indexOf(" "+ke+" ")>-1){Ze=Me;break}else Me=Me.parentNode;var ye=0,re=0,a=0,y=0,b=0,E=0,x=0;if(Ze)ye=Ze.offsetWidth,re=Math.max(et?Ze.offsetWidth:0,Ze.offsetHeight);else{if(window.innerWidth&&document.documentElement.clientWidth?(ye=Math.min(window.innerWidth,document.documentElement.clientWidth),re=Math.min(window.innerHeight,document.documentElement.clientHeight),a=ye):(ye=window.innerWidth,re=window.innerHeight,a=window.innerWidth),be){var ee=be.getBoundingClientRect();ee.left>0&&ee.left<=ye&&(He===void 0||!He)&&(document.dir==="rtl"?(b=ye-ee.width-ee.left,E=a<=480?10:30):(E=ee.left,b=a<=480?10:30),y=E+b)}if(be&&typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()){var ne=be.getBoundingClientRect();window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionRight"?(y=40,x=0):window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionTop"&&(y=0,x=40)}}return be&&((ie===void 0||!ie)&&Ne>0&&Ne+y<ye?ye=Ne:ye-=y,typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()&&(ie===void 0||!ie)&&(re-=x)),{width:ye,height:re}}function z(be,Ne,ie,et,He){if(be.isScreenshoGenerator)return 1;var ke=et!==void 0&&et,Ze=be.noScaleMargin!=null&&be.noScaleMargin,Me=function(ne){return ne&&ne!=="false"},ye=Me(be.autoHeight),re=te(Ne,be.width,ie,ye,ke&&window.GGBT_wsf_view||Ze,He),a=parseInt(re.width),y=be.width,b=be.height;if(y===void 0){var E=Ne.querySelector(".appletParameters");E&&(y=E.offsetWidth,b=E.offsetHeight)}var x=a/y,ee=ke?1:re.height/b;return ie!==void 0&&!ie&&(x=Math.min(1,x),ee=Math.min(1,ee)),Math.min(x,ee)}function se(be,Ne,ie){var et=1,He,ke=!1;if(be.hasOwnProperty("allowUpscale")&&(ke=be.allowUpscale),be.hasOwnProperty("scale")&&(et=parseFloat(be.scale),(isNaN(et)||et===null||et===0)&&(et=1),et>1&&(ke=!0)),Ne&&typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()&&(ke=!0),!(be.hasOwnProperty("disableAutoScale")&&be.disableAutoScale))He=z(be,Ne,ke,ie,be.scaleContainerClass);else return et;return ke&&(!be.hasOwnProperty("scale")||et===1)?He:Math.min(et,He)}function ve(be){var Ne=Math.min(window.innerWidth,document.documentElement.clientWidth),ie=Math.min(window.innerHeight,document.documentElement.clientHeight),et=be.getBoundingClientRect(),He=(Ne-et.width)/2,ke=(ie-et.height)/2;ke<0&&(ke=0),be.style.position="relative",window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionRight"?(He<40?be.style.left="40px":be.style.left=He+"px",be.style.top=ke+"px"):window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionTop"&&(ke<40?be.style.top="40px":be.style.top=ke+"px",be.style.left=He+"px")}function Ie(be,Ne){var ie=be.querySelector(".appletParameters");if(ie){if(typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()){if(Ne.id!==ie.getAttribute("data-param-id"))return;window.GGBT_wsf_view.setCloseBtnPosition(be)}if(ie.parentElement&&/fullscreen/.test(ie.parentElement.className))return;var et=se(Ne,be);bt()&&ie.setAttribute("data-param-scale",et);for(var He=null,ke=0;ke<be.childNodes.length;ke++)if(be.childNodes[ke].className!==void 0&&be.childNodes[ke].className.match(/^applet_scaler/)){He=be.childNodes[ke];break}if(He!==null&&He.querySelector(".noscale")!==null)return;var Ze=Ne.id!==void 0?Ne.id:"ggbApplet",Me=window[Ze];(Me==null||!Me.recalculateEnvironments)&&He!==null&&!He.className.match(/fullscreen/)&&(He.parentNode.style.transform="",!isNaN(et)&&et!==1?(He.parentNode.style.width=Ne.width*et+"px",He.parentNode.style.height=Ne.height*et+"px",yt(He,et)):(yt(He,1),He.parentNode.style.width=Ne.width+"px",He.parentNode.style.height=Ne.height+"px")),typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()&&ve(be),window.GGBT_wsf_view&&!window.GGBT_wsf_view.isFullscreen()&&window.GGBT_wsf_general.adjustContentToResize($(ie).parents(".content-added-content"))}}return{responsiveResize:Ie,isFlexibleWorksheetEditor:bt,positionCenter:ve,getScale:se,scaleElement:yt}}();__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 bt=n.location.search;return bt.indexOf(J)!=-1||bt.indexOf(K)!=-1}function q(bt,yt){}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(bt){var yt=s[L].bindings;s[L].bindings=function(){for(var te=yt?yt():{},z=bt[webModule.__softPermutationId],se=O;se<z.length;se++){var ve=z[se];te[ve[O]]=ve[P]}return te}};var t;function u(){return v(),t}function v(){if(!t){var bt=o.createElement(Q);if(bt.id=L,bt.style.cssText=R+S,bt.tabIndex=-1,o.body.appendChild(bt),t=bt.contentWindow.document,navigator.userAgent.indexOf(T)==-1){t.open();var yt=document.compatMode==U?V:W;t.write(yt+X),t.close()}}}function w(bt){function yt(z){function se(){return typeof o.readyState==Y?typeof o.body!=Y&&o.body!=null:/loaded|complete/.test(o.readyState)}var ve=se();if(ve){z();return}function Ie(){if(!ve){if(!se())return;ve=!0,z(),o.removeEventListener&&o.removeEventListener(Z,Ie,!1),be&&clearInterval(be)}}o.addEventListener&&o.addEventListener(Z,Ie,!1);var be=setInterval(function(){Ie()},$)}function te(z){var se=u(),ve=se.body,Ie=se.createElement(_);Ie.language=ab,Ie.crossOrigin=W,Ie.src=z,webModule.__errFn&&(Ie.onerror=function(){webModule.__errFn(L,new Error(bb+z))}),ve.appendChild(Ie)}yt(function(){te(bt)})}webModule.__startLoadingFragment=function(bt){return C(bt)},webModule.__installRunAsyncCode=function(bt){var yt=u(),te=yt.body,z=yt.createElement(_);z.language=ab,z.text=bt,te.appendChild(z),te.removeChild(z)};function A(){for(var c={},d,e,f=o.getElementsByTagName(fb),g=O,h=f.length;g<h;++g){var i=f[g],j=i.getAttribute(gb),k;if(j){if(j=j.replace(hb,W),j.indexOf(ib)>=O)continue;if(j==jb){if(k=i.getAttribute(kb),k){var l,m=k.indexOf(lb);m>=O?(j=k.substring(O,m),l=k.substring(m+P)):(j=k,l=W),c[j]=l}}else if(j==mb){if(k=i.getAttribute(kb),k)try{d=eval(k)}catch(bt){alert(nb+k+ob)}}else if(j==pb&&(k=i.getAttribute(kb),k))try{e=eval(k)}catch(bt){alert(nb+k+qb)}}}__gwt_getMetaProperty=function(bt){var yt=c[bt];return yt==null?null:yt},r=d,webModule.__errFn=e}function B(){function bt(be){var Ne=be.lastIndexOf(rb);Ne==-1&&(Ne=be.length);var ie=be.indexOf(sb);ie==-1&&(ie=be.length);var et=be.lastIndexOf(tb,Math.min(ie,Ne));return et>=O?be.substring(O,et+P):W}function yt(be){if(!be.match(/^\w+:\/\//)){var Ne=o.createElement(ub);Ne.src=be+vb,be=bt(Ne.src)}return be}function te(){var be=__gwt_getMetaProperty(wb);return be!=null?be:W}function z(){for(var be=o.getElementsByTagName(_),Ne=O;Ne<be.length;++Ne)if(be[Ne].src.indexOf(xb)!=-1)return bt(be[Ne].src);return W}function se(){var be=o.getElementsByTagName(yb);return be.length>O?be[be.length-P].href:W}function ve(){var be=o.location;return be.href==be.protocol+zb+be.host+be.pathname+be.search+be.hash}var Ie=te();return Ie==W&&(Ie=z()),Ie==W&&(Ie=se()),Ie==W&&ve()&&(Ie=bt(o.location.href)),Ie=yt(Ie),Ie}function C(bt){return bt.match(/^\//)||bt.match(/^[a-zA-Z]+:\/\//)?bt:webModule.__moduleBase+bt}function D(){var bt=[],yt=O,te=[],z=[];function se(be){var Ne=z[be](),ie=te[be];if(Ne in ie)return Ne;var et=[];for(var He in ie)et[ie[He]]=He;throw r&&r(be,et,Ne),null}if(__gwt_isKnownPropertyValue=function(be,Ne){return Ne in te[be]},webModule.__getPropMap=function(){var be={};for(var Ne in te)te.hasOwnProperty(Ne)&&(be[Ne]=se(Ne));return be},webModule.__computePropValue=se,n.__gwt_activeModules[L].bindings=webModule.__getPropMap,p())return C(Bb);var ve;try{ve=Cb;var Ie=ve.indexOf(Db);Ie!=-1&&(yt=parseInt(ve.substring(Ie+P),$),ve=ve.substring(O,Ie))}catch(be){}return webModule.__softPermutationId=yt,C(ve+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})()},67303:function(bt,yt,te){"use strict";te.d(yt,{Ax:function(){return Ie},Ds:function(){return be},KI:function(){return ie},SI:function(){return ve},f1:function(){return se}});var z=te(90524);function se(et){let He=!0;if(et.length>0){for(let ke=0;ke<et.length;ke++)if(et[ke].compile_success==0||!et[ke].compile_success){He=!1;break}}else He=!1;return He}function ve(et,He=""){let ke=[];for(let Ze=0;Ze<et.length;Ze++){let Me=et[Ze],ye=He?`${He}/${Me.name}`:`${Me.name}`;ke.push({title:Me.name,type:Me.type,isLeaf:Me.type!=="tree",key:ye})}return ke}function Ie(et,He,ke){for(let Ze=0;Ze<et.length;Ze++){let Me=et[Ze];if(Me.key===He){Me.children=ke;break}Me.children&&Ie(Me.children,He,ke)}return et}function be(et,He,ke){let Ze;return function(){let Me=this,ye=arguments,re=function(){Ze=null,ke||et.apply(Me,ye)},a=ke&&!Ze;clearTimeout(Ze),Ze=setTimeout(re,He),a&&et.apply(Me,ye)}}const Ne=!0,ie=z.Z.API_SERVER},77579:function(bt,yt,te){"use strict";te.d(yt,{Z:function(){return x}});var z=te(59301),se=te(78241),ve=te(8591),Ie=te(43418),be=te(5083),Ne=te(92832),ie=te(1710),et=te(95237),He=te(43604),ke=te(61186),Ze=te.n(ke),Me=te(49661),ye=te(76560),re={tips:"tips___e8J4O",homeworkType:"homeworkType___ZjN2X",antdTable:"antdTable___amDdp",modalWrapper:"modalWrapper___XPojI"},a=te(64948),y=te(69577),b=(ee,ne,oe)=>new Promise((ae,ue)=>{var me=xe=>{try{Pe(oe.next(xe))}catch(Ee){ue(Ee)}},fe=xe=>{try{Pe(oe.throw(xe))}catch(Ee){ue(Ee)}},Pe=xe=>xe.done?ae(xe.value):Promise.resolve(xe.value).then(me,fe);Pe((oe=oe.apply(ee,ne)).next())});const E=({dispatch:ee,courseEndTime:ne,classroomList:oe,successCallback:ae=()=>{},visible:ue,homeworkIds:me,courseId:fe,isBatch:Pe,shixunHomeworks:xe})=>{const[Ee]=se.default.useForm(),[De,ze]=(0,z.useState)(!1),[ft,Be]=(0,z.useState)(!1),[Ue,Ge]=(0,z.useState)(!1),[Ke,rt]=(0,z.useState)([]),[nt,vt]=(0,z.useState)([]),[Tt,Yt]=(0,z.useState)([]),[Xe,st]=(0,z.useState)([]),[Lt,It]=(0,z.useState)([]),[St,dn]=(0,z.useState)([]),[Fe,Xt]=(0,z.useState)([]),[Kt,jn]=(0,z.useState)([]),[Pt,qe]=(0,z.useState)([]);(0,z.useEffect)(()=>{ue?lt():Oe()},[ue]);const lt=()=>b(void 0,null,function*(){ze(!0);const pt=yield(0,a.oR)(me[0],{course_id:fe});Ge(pt.no_group),Pe?(Xt(pt.all_course_groups),jn(pt.all_course_groups)):(st(pt.late_course_groups),It(pt.late_course_groups),rt(pt.submit_course_groups),vt(pt.submit_course_groups)),ze(!1),Ee.setFieldsValue({end_time:Ze()()})}),it=()=>b(void 0,null,function*(){const pt=Ee.getFieldsValue(),gt=Ze()(pt.end_time).format("YYYY-MM-DD HH:mm");if((Pe?Pt.length===0:Tt.length===0&&St.length===0)&&!Ue){ve.ZP.warning("\u8BF7\u9009\u62E9\u9700\u8981\u64CD\u4F5C\u7684\u73ED\u7EA7");return}Be(!0);const he=yield(0,a.Mc)(fe,{no_group:Ue,homework_ids:me,group_ids:Pe?Pt:Tt,end_time:gt,late_group_ids:Pe?Pt:St});Be(!1),he.status===0&&(Oe(),ve.ZP.success("\u64CD\u4F5C\u6210\u529F"),ae(),ee({type:"classroomList/setActionTabs",payload:{key:"\u6E05\u9664\u9009\u62E9\u6570\u636E"}}))}),Oe=()=>{Yt([]),dn([]),vt([]),It([])};return z.createElement(Ie.default,{centered:!0,title:"\u7ACB\u5373\u622A\u6B62",className:re.modalWrapper,width:Pe||Ue?520:760,open:ue,confirmLoading:ft,destroyOnClose:!0,okText:"\u622A\u6B62",cancelText:"\u53D6\u6D88",onOk:()=>it(),onCancel:()=>{Oe(),ee({type:"classroomList/setActionTabs",payload:{}})}},z.createElement("div",{className:re.tips},z.createElement("div",null,"1\u3001\u622A\u6B62\u540E\u5B66\u751F\u4E0D\u80FD\u518D\u63D0\u4EA4\u4F5C\u4E1A\u3002"),z.createElement("div",null,"2\u3001\u672C\u64CD\u4F5C\u53EA\u5BF9\u201C\u63D0\u4EA4\u4E2D\u201D\u3001\u201C\u8865\u4EA4\u4E2D\u201D\u7684\u4F5C\u4E1A\u6709\u6548\u3002")),z.createElement(se.default,{form:Ee,layout:"vertical"},z.createElement(se.default.Item,{name:"end_time",label:"\u622A\u6B62\u65F6\u95F4"},z.createElement(be.default,{style:{width:"100%"},disabledDate:pt=>(0,y.Q8)(pt,ne),disabledTime:pt=>(0,y.d0)(pt),placeholder:"\u8BF7\u9009\u62E9\u7ED3\u675F\u65F6\u95F4",showTime:{format:"HH:mm",defaultValue:Ze()((0,Me.U6)(),"HH:mm")},format:"YYYY-MM-DD HH:mm",allowClear:!1}))),!Ue&&z.createElement(z.Fragment,null,Pe?z.createElement("div",null,z.createElement(Ne.default,{placeholder:"\u641C\u7D22\u73ED\u7EA7",onChange:pt=>{jn(Fe.filter(gt=>gt.name.indexOf(pt.target.value)>-1))}}),z.createElement(ie.default,{style:{marginTop:"10px",height:"300px",overflow:"auto"},className:re.antdTable,rowSelection:{type:"checkbox",onChange:pt=>{qe(pt)}},rowKey:"id",pagination:!1,dataSource:Kt,loading:De,columns:[{title:"\u73ED\u7EA7",dataIndex:"name"}]})):z.createElement(et.Z,{gutter:24},z.createElement(He.Z,{span:14},z.createElement("div",{className:re.homeworkType},"\u4F5C\u4E1A\u622A\u6B62"),z.createElement(Ne.default,{placeholder:"\u641C\u7D22\u73ED\u7EA7",onChange:pt=>{vt(Ke.filter(gt=>gt.name.indexOf(pt.target.value)>-1))}}),z.createElement("div",{className:re.tableWrapper},z.createElement(ie.default,{style:{marginTop:"10px",height:"260px",overflow:"auto"},className:re.antdTable,rowSelection:{type:"checkbox",onChange:pt=>{Yt(pt)}},rowKey:"id",pagination:!1,dataSource:nt,loading:De,columns:[{title:"\u73ED\u7EA7",dataIndex:"name",ellipsis:!0},{title:"\u53D1\u5E03\u65F6\u95F4",dataIndex:"publish_time"},{title:"\u622A\u6B62\u65F6\u95F4",dataIndex:"end_time"}]}))),z.createElement(He.Z,{flex:10,style:{maxWidth:"280px"}},z.createElement("div",{className:re.homeworkType},"\u8865\u4EA4\u622A\u6B62"),z.createElement(Ne.default,{placeholder:"\u641C\u7D22\u73ED\u7EA7",onChange:pt=>{It(Xe.filter(gt=>gt.name.indexOf(pt.target.value)>-1))}}),z.createElement("div",{className:re.tableWrapper},z.createElement(ie.default,{style:{marginTop:"10px",height:"260px",overflow:"auto",maxWidth:"280px"},className:re.antdTable,rowSelection:{type:"checkbox",onChange:pt=>{dn(pt)}},rowKey:"id",pagination:!1,loading:De,dataSource:Lt,columns:[{title:"\u73ED\u7EA7",dataIndex:"name",ellipsis:!0,width:120},{title:"\u622A\u6B62\u65F6\u95F4",dataIndex:"late_time"}]}))))))};var x=(0,ye.connect)(({shixunHomeworks:ee,classroomList:ne})=>({shixunHomeworks:ee,classroomList:ne}))(E)},6077:function(bt,yt,te){"use strict";te.d(yt,{Z:function(){return Ze}});var z=te(59301),se={imageDimensions:"imageDimensions___a7crR",img:"img___Kroat",fullWidth:"fullWidth___c492T"},ve=te(92310),Ie=te.n(ve),be=te(71418),Ne=te(2859),ie=te(82093),et=te(49661),He=(Me,ye,re)=>new Promise((a,y)=>{var b=ee=>{try{x(re.next(ee))}catch(ne){y(ne)}},E=ee=>{try{x(re.throw(ee))}catch(ne){y(ne)}},x=ee=>ee.done?a(ee.value):Promise.resolve(ee.value).then(b,E);x((re=re.apply(Me,ye)).next())}),Ze=({data:Me,className:ye,fullWidth:re,style:a={},onClose:y,onOk:b,showFullTools:E,noAssociationId:x})=>{const ee=(0,z.useRef)(null),ne=(0,z.useRef)(null),oe=(0,z.useRef)(null),ae=(0,z.useRef)(null),[ue,me]=(0,z.useState)(!1),[fe,Pe]=(0,z.useState)("\u6B63\u5728\u52A0\u8F7D\u4E2D");(0,z.useEffect)(()=>{oe.current||(oe.current=document.createElement("style"),document.head.appendChild(oe.current)),Me!=null&&Me.visible?(document.body.setAttribute("data-custom","y-hidden"),oe.current.innerHTML=" html { overflow-y: hidden; }",Me!=null&&Me.src&&xe()):(document.body.removeAttribute("data-custom"),oe.current&&(document.head.removeChild(oe.current),oe.current=null))},[Me==null?void 0:Me.visible]);const xe=()=>He(void 0,null,function*(){me(!0),Pe("\u6B63\u5728\u52A0\u8F7D\u4E2D");const Be=yield(0,et.ZJ)(Me==null?void 0:Me.src);ee.current.src="",ee.current.src=Be,ee.current.onload=function(){ft()},me(!1),Pe("")}),Ee=()=>{document.body.removeAttribute("data-custom"),oe.current.innerHTML=" ",y()},De=Be=>He(void 0,null,function*(){me(!0),Pe("\u6B63\u5728\u4FDD\u5B58\u4E2D");const Ue=yield(0,ie.ZP)("/api/attachments.json",{method:"post",body:{file_type:"base64",original_filename:Me.title,file:Be.dataUrl}});Ue!=null&&Ue.id&&!x?(yield(0,ie.ZP)(`/api/attachments/${Me.id}/add_subitem.json`,{method:"post",body:{subitem_id:Ue==null?void 0:Ue.id,settings:JSON.stringify(Be.state)}})).status===0&&b():Ue!=null&&Ue.id&&b(Ue),document.body.removeAttribute("data-custom"),oe.current.innerHTML=" ",me(!1),Pe("")}),ze=()=>{const Be=document.querySelector('a[href="https://markerjs.com/"]');Be&&Be.parentNode&&(Be.parentNode.style.display="none"),[{name:'[data-action="select"]',title:"\u9009\u62E9"},{name:'[data-action="delete"]',title:"\u5220\u9664\u5143\u7D20"},{name:'[data-action="undo"]',title:"\u64A4\u9500"},{name:'[data-type-name="FrameMarker"]',title:"\u77E9\u5F62"},{name:'[data-type-name="FreehandMarker"]',title:"\u753B\u7EBF"},{name:'[data-type-name="ArrowMarker"]',title:"\u7BAD\u5934"},{name:'[data-type-name="TextMarker"]',title:"\u6587\u672C"},{name:'[data-type-name="EllipseMarker"]',title:"\u692D\u5706"},{name:'[data-type-name="HighlightMarker"]',title:"\u65B9\u5757"},{name:'[data-type-name="CalloutMarker"]',title:"\u6CE8\u91CA"},{name:'[data-action="render"]',title:"\u4FDD\u5B58"},{name:'[data-action="close"]',title:"\u9000\u51FA"}].forEach(Ge=>{const Ke=document.querySelector(Ge.name);Ke&&Ke.setAttribute("title",Ge.title)})},ft=()=>{ne.current=new Ne.hP(ee.current),ne.current.targetRoot=ae.current,ne.current.addEventListener("render",De),ne.current.addEventListener("beforeclose",Ee),E&&(ne.current.availableMarkerTypes=ne.current.ALL_MARKER_TYPES,ne.current.uiStyleSettings.redoButtonVisible=!0,ne.current.uiStyleSettings.notesButtonVisible=!0,ne.current.uiStyleSettings.zoomButtonVisible=!0,ne.current.uiStyleSettings.zoomOutButtonVisible=!0,ne.current.uiStyleSettings.clearButtonVisible=!0),window.markerArea=ne.current.uiStyleSettings,ne.current.show(),Me!=null&&Me.snapshotData&&ne.current.restoreState(Me.snapshotData),setTimeout(()=>{window.scrollTo(0,0),ze()},300)};return z.createElement(z.Fragment,null,(Me==null?void 0:Me.visible)&&z.createElement(be.Z,{spinning:ue,tip:fe,style:{position:"absolute"}},z.createElement("div",{ref:ae,className:Ie()(se.imageDimensions,ye,re?se.fullWidth:""),style:a},z.createElement("img",{className:se.img,ref:ee}))))}},88615:function(bt,yt,te){"use strict";var z=te(59301),se=te(95237),ve=te(43604),Ie=te(99313),be=te(3113),Ne=te(7664),ie=te(21697),et=te(48136),He=te(59301);const ke=(0,z.forwardRef)(({callback:Ze,showSaveButton:Me,value:ye=""},re)=>{const a=(0,z.useRef)(),y=[{name:"\u5206\u6570\u5F97\u5206",value:"\\frac{x}{y}",children:[{name:"\u5206\u6570 Fractions",data:[{value:"\\frac{a}{b}"},{value:"x\\tfrac{x}{a} "},{value:"\\mathrm{d}t"},{value:"\\partial t"},{value:"\\frac{\\partial y}{\\partial x}"},{value:"\\nabla\\psi"},{value:"\\frac{\\partial^2}{\\partial x_1\\partial x_2}y"},{value:"\\cfrac{1}{a + \\cfrac{7}{b + \\cfrac{2}{9}}} = c"}]},{name:"\u5BFC\u6570 Derivative",data:[{value:"\\dot{a} "},{value:"\\ddot{a}"},{value:"{f}^{\\prime}"},{value:"{f}^{\\prime\\prime}"},{value:"{f}^{(n)}"}]},{name:"\u6A21\u7B97\u672F Modular arithmetic",data:[{value:"a \\bmod b"},{value:"a \\equiv b \\pmod{m} "},{value:"\\gcd(m, n) "},{value:"\\operatorname{lcm}(m, n) "}]}]},{name:"\u6839\u5F0F\u89D2\u6807",value:"\\sqrt{x}",children:[{name:"\u6839\u5F0F Radicals",data:[{value:"\\sqrt{x}"},{value:"\\sqrt[y]{x}"}]},{name:"\u4E0A\u4E0B\u6807 Sub&Super",data:[{value:"x^{a}"},{value:"x_{a}"},{value:"x_{a}^{b} "},{value:"_{a}^{b} x"},{value:"x_{a}^{b} "}]},{name:"\u91CD\u97F3\u7B26\u53CA\u5176\u4ED6 Accents and Others",data:[{value:"\\hat{a} "},{value:"\\sqrt[y]{x}"},{value:"\\check{} "},{value:"\\grave{a} "},{value:"\\acute{a}"},{value:"\\tilde{a}"},{value:"\\breve{a}"},{value:"\\bar{a}"},{value:"\\vec{a}"},{value:"\\not{a}"},{value:"\\widetilde{abc}"},{value:"\\widehat{abc}"},{value:"\\overleftarrow{abc} "},{value:"\\overrightarrow{abc}"},{value:"\\overline{abc}"},{value:"\\underline{abc}"},{value:"\\overbrace{abc}"},{value:"\\underbrace{abc}"},{value:"\\overset{a}{abc}"},{value:"\\underset{a}{abc} \\stackrel\\frown{ab}"},{value:"\\overline{ab} "},{value:"\\overleftrightarrow{ab}"},{value:"\\overset{a}{\\leftarrow}"},{value:"\\overset{a}{\\rightarrow}"},{value:"\\xleftarrow[abc]{a}"},{value:"\\xrightarrow[abc]{a} "}]}]},{name:"\u6781\u9650\u5BF9\u6570",value:"\\lim_{x \\to 0}",children:[{name:"\u6781\u9650 Limits",data:[{value:"\\lim a"},{value:"\\lim_{x \\to 0}"},{value:"\\lim_{x \\to \\infty}"},{value:"\\max_b{a}"},{value:"\\min_a{b}"}]},{name:"\u5BF9\u6570\u6307\u6570 Logarithms and exponentials",data:[{value:"\\log_{a}{b}"},{value:"\\lg_{a}{b}"},{value:"\\ln_{a}{b}"},{value:"\\exp a"}]},{name:"\u754C\u9650 Bounds",data:[{value:"\\min x"},{value:"\\sup t"},{value:"\\inf s"},{value:"\\lim u"},{value:"\\limsup w"},{value:"\\dim p"},{value:"\\ker\\phi "}]}]},{name:"\u4E09\u89D2\u51FD\u6570",value:"\\sin a",children:[{name:"\u4E09\u89D2\u51FD\u6570 Trigonometric functions",data:[{value:"\\sin a"},{value:"\\cos a"},{value:"\\tan a"},{value:"\\cot a "},{value:"\\sec a "},{value:"\\csc a "}]},{name:"\u53CD\u4E09\u89D2\u51FD\u6570 Inverse trigonometric functions",data:[{value:"\\sin^{-1}"},{value:"\\cos^{-1}"},{value:"\\tan^{-1}"},{value:"\\cot^{-1}"},{value:"\\sec^{-1}"},{value:"\\csc^{-1}"},{value:"\\arcsin a"},{value:"\\arccos a"},{value:"\\arctan a"},{value:"\\operatorname{arccot} a"},{value:"\\operatorname{arcsec} a"},{value:"\\operatorname{arccsc} a"}]},{name:"\u53CC\u66F2\u51FD\u6570 Hyperblic functions",data:[{value:"\\sinh a"},{value:"\\cosh a"},{value:"\\tanh a"},{value:"\\coth a"},{value:"\\operatorname{sech} a"},{value:"\\operatorname{csch} a"}]},{name:"\u53CD\u53CC\u66F2\u51FD\u6570 Inverse hyperbolic functions",data:[{value:"\\sinh^{-1}"},{value:"a\\cosh^{-1} a"},{value:"\\tanh^{-1} a"},{value:"\\coth^{-1} a"},{value:"\\operatorname{sech}^{-1} a"},{value:"\\operatorname{csch}^{-1} a"}]}]},{name:"\u79EF\u5206\u8FD0\u7B97",value:"\\int_{a}^{b}",children:[{name:"\u79EF\u5206 Integral",data:[{value:"\\int"},{value:"\\int_{a}^{b}"},{value:"\\int\\limits_{a}^{b}"}]},{name:"\u53CC\u91CD\u79EF\u5206 Double integral",data:[{value:"\\iint"},{value:"\\iint_{a}^{b} "},{value:"\\iint\\limits_{a}^{b} "}]},{name:"\u4E09\u91CD\u79EF\u5206 Triple integral",data:[{value:"\\iiint"},{value:"\\iiint_{a}^{b}"},{value:"\\iiint\\limits_{a}^{b} "}]},{name:"\u66F2\u7EBF\u79EF\u5206 Closed line or path integral",data:[{value:"\\oint"},{value:"\\oint_{a}^{b} "}]}]},{name:"\u5927\u578B\u8FD0\u7B97",value:"\\sum_{a}^{b}",children:[{name:"\u6C42\u548C Summation",data:[{value:"\\sum"},{value:"\\sum_{a}^{b}"},{value:"{\\textstyle \\sum_{a}^{b}} "}]},{name:"\u4E58\u79EF\u4F59\u79EF Product and coproduct",data:[{value:"\\prod"},{value:"\\prod_{a}^{b}"},{value:"{\\textstyle \\prod_{a}^{b}}"},{value:"\\coprod"},{value:"\\coprod_{a}^{b}"},{value:"{\\textstyle \\coprod_{a}^{b}} "}]},{name:"\u5E76\u96C6\u4EA4\u96C6 Union and intersection",data:[{value:"\\bigcup"},{value:"\\bigcup_{a}^{b}"},{value:"{\\textstyle \\bigcup_{a}^{b}}"},{value:"\\bigcap"},{value:"\\bigcap_{a}^{b}"}]},{name:"\u6790\u53D6\u5408\u53D6 Disjunction and conjunction",data:[{value:"\\bigvee"},{value:"\\bigvee_{a}^{b}"},{value:"\\bigwedge"},{value:"\\bigwedge_{a}^{b}"}]}]},{name:"\u62EC\u53F7\u53D6\u6574",value:"\\left [ \\left ( \\right ) \\right ] ",children:[{name:"\u62EC\u53F7 Brackets",data:[{value:"\\left ( \\right )"},{value:"\\left [ \\right ]"},{value:"\\left \\langle \\right \\rangle "},{value:"\\left | \\right | "},{value:"\\left \\lfloor \\right \\rfloor "},{value:"\\left \\lceil \\right \\rceil "}]}]}],b=[{name:"\u4EE3\u6570",value:"\\sqrt{a^2+b^2}",children:[{data:[{value:"\\left(x-1\\right)\\left(x+3\\right) "},{value:"\\sqrt{a^2+b^2}"},{value:"\\left ( \\frac{a}{b}\\right )^{n}= \\frac{a^{n}}{b^{n}}"},{value:"\\frac{a}{b}\\pm \\frac{c}{d}= \\frac{ad \\pm bc}{bd} "},{value:"\\frac{x^{2}}{a^{2}}-\\frac{y^{2}}{b^{2}}=1 "},{value:"\\frac{1}{\\sqrt{a}}=\\frac{\\sqrt{a}}{a},a\\ge 0\\frac{1}{\\sqrt{a}}=\\frac{\\sqrt{a}}{a},a\\ge 0 "},{value:"\\sqrt[n]{a^{n}}=\\left ( \\sqrt[n]{a}\\right )^{n} "},{value:"x ={-b \\pm \\sqrt{b^2-4ac}\\over 2a} "},{value:"y-y_{1}=k \\left( x-x_{1}\\right) "},{value:`\\left\\{\\begin{matrix} \r
|
|
x=a + r\\text{cos}\\theta \\ \r
|
|
y=b + r\\text{sin}\\theta \r
|
|
\\end{matrix}\\right. `},{value:`\\begin{array}{l} \r
|
|
\\text{\u5BF9\u4E8E\u65B9\u7A0B\u5F62\u5982\uFF1A}x^{3}-1=0 \\ \r
|
|
\\text{\u8BBE}\\text{:}\\omega =\\frac{-1+\\sqrt{3}i}{2} \\ \r
|
|
x_{1}=1,x_{2}= \\omega =\\frac{-1+\\sqrt{3}i}{2} \\ \r
|
|
x_{3}= \\omega ^{2}=\\frac{-1-\\sqrt{3}i}{2} \r
|
|
\\end{array} `},{value:`\\begin{array}{l} \r
|
|
a\\mathop{{x}}\\nolimits^{{2}}+bx+c=0 \\ \r
|
|
\\Delta =\\mathop{{b}}\\nolimits^{{2}}-4ac \\ \r
|
|
\\left\\{\\begin{matrix} \r
|
|
\\Delta \\gt 0\\text{\u65B9\u7A0B\u6709\u4E24\u4E2A\u4E0D\u76F8\u7B49\u7684\u5B9E\u6839} \\ \r
|
|
\\Delta = 0\\text{\u65B9\u7A0B\u6709\u4E24\u4E2A\u76F8\u7B49\u7684\u5B9E\u6839} \\ \r
|
|
\\Delta \\lt 0\\text{\u65B9\u7A0B\u65E0\u5B9E\u6839} \r
|
|
\\end{matrix}\\right. \r
|
|
\\end{array} `},{value:`\\begin{array}{l} \r
|
|
a\\mathop{{x}}\\nolimits^{{2}}+bx+c=0 \\ \r
|
|
\\Delta =\\mathop{{b}}\\nolimits^{{2}}-4ac \\ \r
|
|
\\mathop{{x}}\\nolimits_{{1,2}}=\\frac{{-b \\pm \r
|
|
\\sqrt{{\\mathop{{b}}\\nolimits^{{2}}-4ac}}}}{{2a}} \\ \r
|
|
\\mathop{{x}}\\nolimits_{{1}}+\\mathop{{x}}\\nolimits_{{2}}=-\\frac{{b}}{{a}} \\ \r
|
|
\\mathop{{x}}\\nolimits_{{1}}\\mathop{{x}}\\nolimits_{{2}}=\\frac{{c}}{{a}} \r
|
|
\\end{array} `}]}]},{name:"\u51E0\u4F55",value:"\\Delta A B C ",children:[{data:[{value:"\\Delta A B C "},{value:"a \\parallel c,b \\parallel c \\Rightarrow a \\parallel b "},{value:"l \\perp \\beta ,l \\subset \\alpha \\Rightarrow \\alpha \\perp \\beta"},{value:`\\left.\\begin{matrix} \r
|
|
a \\perp \\alpha \\ \r
|
|
b \\perp \\alpha \r
|
|
\\end{matrix}\\right\\}\\Rightarrow a \\parallel b`},{value:"P \\in \\alpha ,P \\in \\beta , \\alpha \\cap \\beta =l \\Rightarrow P \\in l "},{value:`\\alpha \\perp \\beta , \\alpha \\cap \\beta =l,a \\subset \\alpha ,a \\perp l \r
|
|
\\Rightarrow a \\perp \\beta `},{value:`\\left.\\begin{matrix} \r
|
|
a \\subset \\beta ,b \\subset \\beta ,a \\cap b=P \\ \r
|
|
a \\parallel \\partial ,b \\parallel \\partial \r
|
|
\\end{matrix}\\right\\}\\Rightarrow \\beta \\parallel \\alpha `},{value:"\\alpha \\parallel \\beta , \\gamma \\cap \\alpha =a, \\gamma \\cap \\beta =b \\Rightarrow a \\parallel b "},{value:"A \\in l,B \\in l,A \\in \\alpha ,B \\in \\alpha \\Rightarrow l \\subset \\alpha "},{value:`\\left.\\begin{matrix} \r
|
|
m \\subset \\alpha ,n \\subset \\alpha ,m \\cap n=P \\ \r
|
|
a \\perp m,a \\perp n \r
|
|
\\end{matrix}\\right\\}\\Rightarrow a \\perp \\alpha `},{value:`\\begin{array}{c} \r
|
|
\\text{\u76F4\u89D2\u4E09\u89D2\u5F62\u4E2D,\u76F4\u89D2\u8FB9\u957Fa,b,\u659C\u8FB9\u8FB9\u957Fc} \\ \r
|
|
a^{2}+b^{2}=c^{2} \r
|
|
\\end{array}`}]}]},{name:"\u4E0D\u7B49\u5F0F",value:"a > b",children:[{data:[{value:"a > b,b > c \\Rightarrow a > c "},{value:"a > b,c > d \\Rightarrow a+c > b+d "},{value:"a > b > 0,c > d > 0 \\Rightarrow ac bd "},{value:`\\begin{array}{c} \r
|
|
a \\gt b,c \\gt 0 \\Rightarrow ac \\gt bc \\ \r
|
|
a \\gt b,c \\lt 0 \\Rightarrow ac \\lt bc \r
|
|
\\end{array}`},{value:"\\left | a-b \\right | \\geqslant \\left | a \\right | -\\left | b \\right | "},{value:"-\\left | a \\right |\\leq a\\leqslant \\left | a \\right | "},{value:"\\left | a \\right |\\leqslant b \\Rightarrow -b \\leqslant a \\leqslant \\left | b \\right | "},{value:"\\left | a+b \\right | \\leqslant \\left | a \\right | + \\left | b \\right | "},{value:`\\begin{array}{c} \r
|
|
a \\gt b \\gt 0,n \\in N^{\\ast},n \\gt 1 \\ \r
|
|
\\Rightarrow a^{n}\\gt b^{n}, \\sqrt[n]{a}\\gt \\sqrt[n]{b} \r
|
|
\\end{array}`},{value:`\\left( \\sum_{k=1}^n a_k b_k \\right)^{\\!\\!2}\\leq \r
|
|
\\left( \\sum_{k=1}^n a_k^2 \\right) \\left( \\sum_{k=1}^n b_k^2 \\right) `},{value:`\\begin{array}{c} \r
|
|
a,b \\in R^{+} \\ \r
|
|
\\Rightarrow \\frac{a+b}{{2}}\\ge \\sqrt{ab} \\ \r
|
|
\\left( \\text{\u5F53\u4E14\u4EC5\u5F53}a=b\\text{\u65F6\u53D6\u201C}=\\text{\u201D\u53F7}\\right) \r
|
|
\\end{array}`},{value:`\\begin{array}{c} \r
|
|
a,b \\in R \\ \r
|
|
\\Rightarrow a^{2}+b^{2}\\gt 2ab \\ \r
|
|
\\left( \\text{\u5F53\u4E14\u4EC5\u5F53}a=b\\text{\u65F6\u53D6\u201C}=\\text{\u201D\u53F7}\\right) \r
|
|
\\end{array}`},{value:`\\begin{array}{c} \r
|
|
H_{n}=\\frac{n}{\\sum \\limits_{i=1}^{n}\\frac{1}{x_{i}}}= \\frac{n}{\\frac{1}{x_{1}}+ \\frac{1}{x_{2}}+ \\cdots + \\frac{1}{x_{n}}} \\ G_{n}=\\sqrt[n]{\\prod \\limits_{i=1}^{n}x_{i}}= \\sqrt[n]{x_{1}x_{2}\\cdots x_{n}} \\ A_{n}=\\frac{1}{n}\\sum \\limits_{i=1}^{n}x_{i}=\\frac{x_{1}+ x_{2}+ \\cdots + x_{n}}{n} \\ Q_{n}=\\sqrt{\\sum \\limits_{i=1}^{n}x_{i}^{2}}= \\sqrt{\\frac{x_{1}^{2}+ x_{2}^{2}+ \\cdots + x_{n}^{2}}{n}} \\ H_{n}\\leq G_{n}\\leq A_{n}\\leq Q_{n} \r
|
|
\\end{array}`}]}]},{name:"\u79EF\u5206",value:"\\frac{\\mathrm{d}\\partial}{\\partial x}",children:[{data:[{value:"\\frac{\\mathrm{d}}{\\mathrm{d}x}x^n=nx^{n-1} "},{value:"\\frac{\\mathrm{d}}{\\mathrm{d}x}e^{ax}=a\\,e^{ax} "},{value:"\\frac{\\mathrm{d}}{\\mathrm{d}x}\\ln(x)=\\frac{1}{x} "},{value:"\\frac{\\mathrm{d}}{\\mathrm{d}x}\\sin x=\\cos x "},{value:"\\frac{\\mathrm{d}}{\\mathrm{d}x}\\cos x=-\\sin x "},{value:"\\int k\\mathrm{d}x = kx+C "},{value:"\\frac{\\mathrm{d}}{\\mathrm{d}x}\\tan x=\\sec^2 x "},{value:"\\frac{\\mathrm{d}}{\\mathrm{d}x}\\cot x=-\\csc^2 x "},{value:"\\int \\frac{1}{x}\\mathrm{d}x= \\ln \\left| x \\right| +C "},{value:"\\int \\frac{1}{\\sqrt{1-x^{2}}}\\mathrm{d}x= \\arcsin x +C "},{value:"\\int \\frac{1}{1+x^{2}}\\mathrm{d}x= \\arctan x +C "},{value:"\\int u \\frac{\\mathrm{d}v}{\\mathrm{d}x}\\,\\mathrm{d}x=uv-\\int \\frac{\\mathrm{d}u}{\\mathrm{d}x}v\\,\\mathrm{d}x "},{value:"f(x) = \\int_{-\\infty}^\\infty \\hat f(x)\\xi\\,e^{2 \\pi i \\xi x} \\,\\mathrm{d}\\xi "},{value:"\\int x^{\\mu}\\mathrm{d}x=\\frac{x^{\\mu +1}}{\\mu +1}+C, \\left({\\mu \\neq -1}\\right) "}]}]},{name:"\u4E09\u89D2",value:"e^{i \\theta}",children:[{name:"\u6C42\u548C Summation",data:[{value:"e^{i \\theta} "},{value:"\\left(\\frac{\\pi}{2}-\\theta \\right ) "},{value:"\\text{sin}^{2}\\frac{\\alpha}{2}=\\frac{1- \\text{cos}\\alpha}{2} "},{value:"\\text{cos}^{2}\\frac{\\alpha}{2}=\\frac{1+ \\text{cos}\\alpha}{2} "},{value:"\\text{tan}\\frac{\\alpha}{2}=\\frac{\\text{sin}\\alpha}{1+ \\text{cos}\\alpha} "},{value:"\\sin \\alpha + \\sin \\beta =2 \\sin \\frac{\\alpha + \\beta}{2}\\cos \\frac{\\alpha - \\beta}{2} "},{value:"\\sin \\alpha - \\sin \\beta =2 \\cos \\frac{\\alpha + \\beta}{2}\\sin \\frac{\\alpha - \\beta}{2} "},{value:"\\cos \\alpha + \\cos \\beta =2 \\cos \\frac{\\alpha + \\beta}{2}\\cos \\frac{\\alpha - \\beta}{2} "},{value:"\\cos \\alpha - \\cos \\beta =-2\\sin \\frac{\\alpha + \\beta}{2}\\sin \\frac{\\alpha - \\beta}{2} "},{value:"a^{2}=b^{2}+c^{2}-2bc\\cos A "},{value:"\\frac{\\sin A}{a}=\\frac{\\sin B}{b}=\\frac{\\sin C}{c}=\\frac{1}{2R} "},{value:"\\sin \\left ( \\frac{\\pi}{2}-\\alpha \\right ) = \\cos \\alpha "},{value:"\\sin \\left ( \\frac{\\pi}{2}+\\alpha \\right ) = \\cos \\alpha "}]}]},{name:"\u7EDF\u8BA1",value:"C_{r}^{n}",children:[{data:[{value:"C_{r}^{n} "},{value:"\\frac{n!}{r!(n-r)!} "},{value:"\\sum_{i=1}^{n}{X_i} "},{value:"\\sum_{i=1}^{n}{X_i^2} "},{value:"X_1, \\cdots,X_n "},{value:"\\frac{x-\\mu}{\\sigma} "},{value:"\\sum_{i=1}^{n}{(X_i - \\overline{X})^2} "},{value:`\\begin{array}{c} \r
|
|
\\text{\u82E5}P \\left( AB \\right) =P \\left( A \\right) P \\left( B \\right) \\\\ \r
|
|
\\text{\u5219}P \\left( A \\left| B\\right. \\right) =P \\left({B}\\right) \r
|
|
\\end{array}`},{value:"P(E) ={n \\choose k}p^k (1-p)^{n-k} "},{value:"P \\left( A \\right) = \\lim \\limits_{n \\to \\infty}f_{n}\\left ( A \\right ) "},{value:"P \\left( \\bigcup \\limits_{i=1}^{+ \\infty}A_{i}\\right) = \\prod \\limits_{i=1}^{+ \\infty}P{\\left( A_{i}\\right)} "},{value:`\\begin{array}{c} \r
|
|
P \\left( \\emptyset \\right) =0 \\\\ \r
|
|
P \\left( S \\right) =1 \r
|
|
\\end{array}`},{value:`\\begin{array}{c} \r
|
|
\\forall A \\in S \\\\ \r
|
|
P \\left( A \\right) \\ge 0 \r
|
|
\\end{array}`},{value:"P \\left( \\bigcup \\limits_{i=1}^{n}A_{i}\\right) = \\prod \\limits_{i=1}^{n}P \\left( A_{i}\\right) "},{value:`\\begin{array}{c} \r
|
|
S= \\binom{N}{n},A_{k}=\\binom{M}{k}\\cdot \\binom{N-M}{n-k} \\\\ \r
|
|
P\\left ( A_{k}\\right ) = \\frac{\\binom{M}{k}\\cdot \\binom{N-M}{n-k}}{\\binom{N}{n}} \r
|
|
\\end{array}`},{value:`\\begin{array}{c} \r
|
|
P_{n}=n! \\\\ \r
|
|
A_{n}^{k}=\\frac{n!}{\\left( n-k \\left) !\\right. \\right.} \r
|
|
\\end{array}`}]}]}],E=ne=>{a.current.setValue(a.current.getValue()+" "+ne.value+" ")},x=[{key:"1",label:"\u5FEB\u6377\u6A21\u677F",children:He.createElement(se.Z,{className:ie.Z.lists,gutter:[10,10]},y.map((ne,oe)=>He.createElement(ve.Z,{flex:"110px",className:ie.Z.item},He.createElement("div",null,He.createElement(Ne.Z,{value:`$$${ne.value}$$`}),ne.name),He.createElement("div",{className:ie.Z.children},ne.children.map((ae,ue)=>He.createElement("div",{key:ue},He.createElement("h1",null,ae.name),He.createElement(se.Z,{gutter:[10,10]},ae.data.map((me,fe)=>He.createElement(ve.Z,{key:fe,onClick:()=>E(me),className:ie.Z.diamond},He.createElement(Ne.Z,{value:"`$$"+me.value+"$$`"}))))))))))},{key:"2",label:"\u516C\u5F0F\u6A21\u677F",children:He.createElement(se.Z,{className:ie.Z.lists,gutter:[10,10]},b.map((ne,oe)=>He.createElement(ve.Z,{flex:"110px",className:ie.Z.item},He.createElement("div",null,He.createElement(Ne.Z,{value:"`$$"+ne.value+"$$`"}),ne.name),He.createElement("div",{className:ie.Z.children},ne.children.map((ae,ue)=>He.createElement("div",{key:ue},ae.name&&He.createElement("h1",null,ae.name),He.createElement(se.Z,{gutter:[10,10]},ae.data.map((me,fe)=>He.createElement(ve.Z,{key:fe,onClick:()=>E(me),className:ie.Z.diamond},He.createElement(Ne.Z,{value:"`$$"+me.value+"$$`"}))))))))))}],ee=()=>{var ne=document.createElement("div");ne.innerHTML=a.current.getValue();var oe=ne.innerText;return Ze&&Ze(oe),oe};return(0,z.useImperativeHandle)(re,()=>({getData:ee})),He.createElement("div",{className:ie.Z.mathWrap},He.createElement(Ie.default,{defaultActiveKey:"1",items:x}),He.createElement("math-field",{locale:"zh_cn",className:ie.Z.mathField,placeholder:"\u8BF7\u6253\u5F00\u952E\u76D8\uFF0C\u8F93\u5165\u516C\u5F0F",ref:a,style:{width:800,marginTop:30,fontSize:18}},ye||""),Me&&He.createElement("div",{className:ie.Z.button},He.createElement(be.ZP,{size:"large",onClick:ee,style:{zIndex:8,marginTop:10},type:"primary"},"\u4FDD\u5B58\u5230\u7F16\u8F91\u5668")))});yt.Z=ke},2748:function(bt,yt,te){"use strict";te.d(yt,{Q:function(){return Ne}});var z=te(59301),se=te(57809),ve=te(5112),Ie=te(5871),be=te(59301),Ne=(et=>(et[et.Number=1]="Number",et[et.Percent=2]="Percent",et))(Ne||{});const ie=({value:et,onChange:He,disabled:ke,hidePercentOption:Ze=!1,percentType:Me="select"})=>{const ye=(0,z.useMemo)(()=>Ze?1:2,[Ze]),[re,a]=(0,z.useState)(ye);console.log(re);const y=E=>et.type===1?`${E}\u5206`:`${E}%`,b=(0,z.useCallback)(E=>{if(re===1){const x=E.replace("\u5206","");return isNaN(parseInt(x,10))?0:x}else return E.replace("%","")},[re]);return(0,z.useEffect)(()=>{a(et.type)},[et]),be.createElement("div",{style:{display:"flex",alignItems:"center"}},Me=="select"&&be.createElement(se.default,{size:"large",onChange:E=>{a(E),He({type:E,inputValue:E===1?5:20})},value:re||ye,style:{width:100},options:Ze?[{label:"\u5206\u503C",value:1}]:[{label:"\u767E\u5206\u6BD4",value:2},{label:"\u5206\u503C",value:1}],disabled:ke}),Me=="radio"&&be.createElement(ve.ZP.Group,{size:"large",onChange:E=>{const x=E.target.value;a(x),He({type:x,inputValue:x===1?5:20})},value:re||ye,disabled:ke},!Ze&&be.createElement(ve.ZP,{value:2,style:{marginRight:"50px"}},"\u767E\u5206\u6BD4\u6263\u5206"),be.createElement(ve.ZP,{value:1},"\u56FA\u5B9A\u5206\u503C")),Me=="radio"&&be.createElement("div",{style:{marginRight:"10px",color:"#000000"}},et.type==2?"\u6263\u9664\u8865\u4EA4\u9636\u6BB5\u5F97\u5206\u7684":"\u6263\u9664\u603B\u6210\u7EE9\u7684"),be.createElement(Ie.Z,{size:"large",disabled:ke,value:et.inputValue,style:{width:"120px"},parser:b,addonAfter:et.type===1?"\u5206":"%",max:re===2?100:Number.MAX_SAFE_INTEGER,min:0,precision:0,onChange:E=>{He({type:re,inputValue:E})}}),Me=="radio"&&et.type==2&&be.createElement("div",{style:{marginLeft:"10px",color:"#000000"}},"\u5206\u6570"))};yt.Z=ie},6681:function(bt,yt,te){"use strict";te.d(yt,{Z:function(){return et}});var z=te(59301),se={flex_box_center:"flex_box_center___rQJfc",flex_space_between:"flex_space_between___MDW24",flex_box_vertical_center:"flex_box_vertical_center___RZbAv",flex_box_center_end:"flex_box_center_end___ILhJA",flex_box_column:"flex_box_column___Fmij7",orangeColor:"orangeColor___U5vU6",redColor:"redColor___qYa6X",statustitle:"statustitle___pTBLm",statusbody:"statusbody___qUPQx",flex:"flex___VtL45"},ve=te(43418),Ie="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAA4AAAAPCAYAAADUFP50AAAAAXNSR0IArs4c6QAAAUFJREFUOE+V0ktKw1AUxvH/rVqIxT4wkgwEUSmK4APRBfiYCKU7cOZEBOkadAMZiwhuwJETBQciFRTtwJkPBLW2BRGrRanU9kpN2sSYiGaWc/PjuznnCN2Qh8AkPo+AzXxKLLiPhW7ICtDqB4GzQkqM/huGFZgZcDCBBDaaicsTMKbZH2xfwdY5/ICAEGSasC0AwRYblj+gKkENwfy4WS9V4LHsgsk49EZteJKHdBa6w7AybdZzr3D64ILxGKjtNrx9gfsSRBSYtf6xZh1/u+qQClrIhtdFuHmGvhisJcz65RPsZl2Jc/3QE7FhpgDHuT80x2+O9cR1K/GiCDt3rkQ/+Ns43gDFD0YVmHIuQGOOmiGTARhxwkGd1cZ7Vwd0OppWr3911StpcV++Iwn67q/kyBMuHchErcqwFxT1XZXsfQJqo2zI6kdI4QAAAABJRU5ErkJggg==",be="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAA4AAAAOCAYAAAAfSC3RAAAAAXNSR0IArs4c6QAAAW1JREFUOE+dkj1IQmEUht9z/blp4VQEjS39eW+oSCFCpFCI4BiKFGWWQUSrCjVVg+lQNJZQDZGNTm1B4NTibS3n2lo0wuqEN8i/a0HfeN7v+d73nO+QJEcKAJzQPAwCnSpKNtoqkyRHqgDrtUFAb6Rnedx43KgT6O5P0GQijFiNLe/Sy3/B8g+YTIRRrb5jP32JYNADr8eOldU0RJEqVlm8r1kyuA/AIEB10OWy4vBgA4ryCIdjCJlMDmfn1zAY6EmyGY/UrAwrgGATWKsn4mGEQl4Uiw+YX9hT73aZiEcl8eMbZAGA0AT6/ZPY3Ykiny/A55tA7uoGqdQFBD2VbDbDugoSTTEj3gTGYgG8Vt7UeG63hNkZJ7a2s+gw1XqPnf5REKhkt4kxNakO08ycbOtRC/7FcakCwNTJ0WwmDI+1LUCZZDkSYGa5Eewf0G0KAnprNYtFQHdPbZhNS1cmLafF5bUTJsyBSVMHPm+/ADTrfrtCH68WAAAAAElFTkSuQmCC",Ne=(He,ke,Ze)=>new Promise((Me,ye)=>{var re=b=>{try{y(Ze.next(b))}catch(E){ye(E)}},a=b=>{try{y(Ze.throw(b))}catch(E){ye(E)}},y=b=>b.done?Me(b.value):Promise.resolve(b.value).then(re,a);y((Ze=Ze.apply(He,ke)).next())}),et=({type:He,resdata:ke,onok:Ze,oktext:Me,okloading:ye})=>{const[re,a]=(0,z.useState)(!1),{can_copy_list:y,can_copy_num:b,challenge_type:E,course_data_list:x,no_copy_list:ee,no_copy_num:ne,no_use_list:oe,no_use_num:ae,repeat_shixun_num:ue,student_count:me,total_num:fe,use_num:Pe}=ke;let xe=b>0||He==="exercise";(0,z.useEffect)(()=>{(ke==null?void 0:ke.student_count)>0&&a(!0)},[ke]),console.log("---11",ye),(0,z.useEffect)(()=>{ye||a(!1)},[ye]);const Ee=()=>{if(He==="exercise"&&E===1)return z.createElement(z.Fragment,null,"\u8BFE\u5802\u5185\u6709",z.createElement("span",{className:se.orangeColor},me),"\u540D\u5B66\u751F\u5DF2\u5728\u5176\u4ED6\u8003\u8BD5\u4E2D\u6311\u6218\u8FC7\u5176\u4E2D\u7684",z.createElement("span",{className:se.orangeColor},Pe),"\u4E2A\u5B9E\u8DF5\u9879\u76EE\uFF0C",z.createElement("span",{className:se.redColor},"\u91CD\u590D\u53D1\u9001\u4F1A\u5BFC\u81F4\u8FD9\u90E8\u5206\u5B66\u751F\u65E0\u6CD5\u4F5C\u7B54\u5DF2\u6311\u6218\u8FC7\u7684\u5B9E\u8BAD\u9898\u3002"));if(He==="exercise"&&E===2)return z.createElement(z.Fragment,null,"\u8BFE\u5802\u5185\u6709",z.createElement("span",{className:se.orangeColor},me),"\u540D\u5B66\u751F\u5DF2\u5728\u8BFE\u5802\u5B9E\u9A8C\u4E2D\u6311\u6218\u8FC7\u5176\u4E2D\u7684",z.createElement("span",{className:se.orangeColor},Pe),"\u4E2A\u5B9E\u8DF5\u9879\u76EE\uFF0C\u4E14\u4F5C\u4E1A\u5DF2\u5F00\u542F\u201C\u4F5C\u4E1A\u622A\u6B62\u540E\u4E0D\u5141\u8BB8\u5B66\u751F\u7F16\u8F91\u4EE3\u7801\u201D\u8BBE\u7F6E\u9879\uFF0C",z.createElement("span",{className:se.redColor},"\u91CD\u590D\u53D1\u5E03\u4F1A\u5BFC\u81F4\u8FD9\u90E8\u5206\u5B66\u751F\u65E0\u6CD5\u518D\u63D0\u4EA4\u4F5C\u4E1A\u3002"));if(He==="shixun"&&E===1)return z.createElement(z.Fragment,null,"\u8BFE\u5802\u5185\u6709",z.createElement("span",{className:se.orangeColor},me),"\u540D\u5B66\u751F\u5DF2\u5728\u8003\u8BD5\u4E2D\u6311\u6218\u8FC7\u8BE5\u5B9E\u8DF5\u9879\u76EE\uFF0C",z.createElement("span",{className:se.redColor},"\u91CD\u590D\u53D1\u9001\u4F1A\u5BFC\u81F4\u8FD9\u90E8\u5206\u5B66\u751F\u65E0\u6CD5\u518D\u63D0\u4EA4\u4F5C\u4E1A\u3002"));if(He==="shixun"&&E===2)return z.createElement(z.Fragment,null,"\u8BFE\u5802\u5185\u6709",z.createElement("span",{className:se.orangeColor},me),"\u540D\u5B66\u751F\u5DF2\u5728\u8BFE\u5802\u5B9E\u9A8C\u4E2D\u6311\u6218\u8FC7\u8BE5\u5B9E\u8DF5\u9879\u76EE\uFF0C\u4E14\u4F5C\u4E1A\u5DF2\u5F00\u542F\u201C\u4F5C\u4E1A\u622A\u6B62\u540E\u4E0D\u5141\u8BB8\u5B66\u751F\u7F16\u8F91\u4EE3\u7801\u201D\u8BBE\u7F6E\u9879\uFF0C",z.createElement("span",{className:se.redColor},"\u91CD\u590D\u53D1\u9001\u4F1A\u5BFC\u81F4\u8FD9\u90E8\u5206\u5B66\u751F\u65E0\u6CD5\u518D\u63D0\u4EA4\u4F5C\u4E1A\u3002"));if(He==="subject"&&E===1)return z.createElement(z.Fragment,null,"\u8BFE\u5802\u5185\u6709",z.createElement("span",{className:se.orangeColor},me),"\u540D\u5B66\u751F\u5DF2\u5728\u8003\u8BD5\u4E2D\u6311\u6218\u8FC7\u5176\u4E2D\u7684",z.createElement("span",{className:se.orangeColor},Pe),"\u4E2A\u5B9E\u8DF5\u9879\u76EE\uFF0C",z.createElement("span",{className:se.redColor},"\u91CD\u590D\u53D1\u9001\u4F1A\u5BFC\u81F4\u8FD9\u90E8\u5206\u5B66\u751F\u65E0\u6CD5\u518D\u63D0\u4EA4\u4F5C\u4E1A\u3002"));if(He==="subject"&&E===2)return z.createElement(z.Fragment,null,"\u8BFE\u5802\u5185\u6709 ",z.createElement("span",{className:se.orangeColor},me)," \u540D\u5B66\u751F\u5DF2\u5728\u8BFE\u5802\u5B9E\u9A8C\u6311\u6218\u8FC7\u5176\u4E2D\u7684 ",z.createElement("span",{className:se.orangeColor},Pe)," \u4E2A\u5B9E\u8DF5\u9879\u76EE\uFF0C\u4E14\u4F5C\u4E1A\u5DF2\u5F00\u542F\u201C\u4F5C\u4E1A\u622A\u6B62\u540E\u4E0D\u5141\u8BB8\u5B66\u751F\u7F16\u8F91\u4EE3\u7801\u201D\u8BBE\u7F6E\u9879\uFF0C",z.createElement("span",{className:se.redColor},"\u91CD\u590D\u53D1\u9001\u4F1A\u5BFC\u81F4\u8FD9\u90E8\u5206\u5B66\u751F\u65E0\u6CD5\u518D\u63D0\u4EA4\u4F5C\u4E1A\u3002"));if(He==="exercisepush")return z.createElement(z.Fragment,null,"\u8BFE\u5802\u5185\u6709",z.createElement("span",{className:se.orangeColor},me),"\u540D\u5B66\u751F\u5DF2\u5728\u5176\u4ED6\u8003\u8BD5\u4E2D\u6311\u6218\u8FC7\u8BD5\u5377\u4E2D\u7684",z.createElement("span",{className:se.orangeColor},Pe),"\u4E2A\u5B9E\u8DF5\u9879\u76EE \uFF0C",z.createElement("span",{className:se.redColor},"\u91CD\u590D\u53D1\u5E03\u4F1A\u5BFC\u81F4\u8FD9\u90E8\u5206\u5B66\u751F\u65E0\u6CD5\u5728\u5F53\u524D\u8003\u8BD5\u4E2D\u8FDB\u884C\u4F5C\u7B54\u3002"));if(He==="shixunpush"&&E===1)return z.createElement(z.Fragment,null,"\u8BFE\u5802\u5185\u6709",z.createElement("span",{className:se.orangeColor},me),"\u540D\u5B66\u751F\u5DF2\u5728\u8003\u8BD5\u4E2D\u6311\u6218\u8FC7\u5176\u4E2D\u7684",z.createElement("span",{className:se.orangeColor},Pe),"\u4E2A\u5B9E\u8DF5\u9879\u76EE\uFF0C",z.createElement("span",{className:se.redColor},"\u91CD\u590D\u53D1\u5E03\u4F1A\u5BFC\u81F4\u8FD9\u90E8\u5206\u5B66\u751F\u65E0\u6CD5\u518D\u63D0\u4EA4\u4F5C\u4E1A\u3002"));if(He==="shixunpush"&&E===2)return z.createElement(z.Fragment,null,"\u8BFE\u5802\u5185\u6709",z.createElement("span",{className:se.orangeColor},me),"\u540D\u5B66\u751F\u5DF2\u5728\u8BFE\u5802\u5B9E\u9A8C\u4E2D\u6311\u6218\u8FC7",z.createElement("span",{className:se.orangeColor},Pe),"\u4E2A\u5B9E\u8DF5\u9879\u76EE\uFF0C\u4E14\u4F5C\u4E1A\u5DF2\u5F00\u542F\u201C\u4F5C\u4E1A\u622A\u6B62\u540E\u4E0D\u5141\u8BB8\u5B66\u751F\u7F16\u8F91\u4EE3\u7801\u201D\u8BBE\u7F6E\u9879\uFF0C",z.createElement("span",{className:se.redColor},"\u91CD\u590D\u53D1\u5E03\u4F1A\u5BFC\u81F4\u8FD9\u90E8\u5206\u5B66\u751F\u65E0\u6CD5\u518D\u63D0\u4EA4\u4F5C\u4E1A\u3002"))},De=()=>{if(He==="exercise"||He==="subject"||He==="exercisepush"||He==="shixunpush")return z.createElement("div",{style:{marginTop:20}},ne>0&&z.createElement("div",null,z.createElement("span",{className:se.flex},z.createElement("img",{src:be,style:{width:14}}),z.createElement("span",{className:se.statustitle},"\u4E0D\u652F\u6301\u590D\u5236\u7684\u5B9E\u8DF5\u9879\u76EE")),z.createElement("div",{className:se.statusbody},He==="exercise"&&z.createElement("div",{style:{marginBottom:15}},"\u6CA1\u6709\u590D\u5236\u6743\u9650\u7684\u5B9E\u8DF5\u9879\u76EE\uFF0C",z.createElement("span",{className:se.redColor},"\u4EE5\u4E0B\u8BD5\u9898\u5C06\u4E0D\u4F1A\u88AB\u53D1\u9001\u81F3\u8BFE\u5802\u4E2D\u3002"),"\u60A8\u4E5F\u53EF\u4EE5\u8054\u7CFB\u9879\u76EE\u521B\u5EFA\u8005\u5F00\u542F\u590D\u5236\u6743\u9650\u6216\u8005\u8054\u7CFB\u5E73\u53F0\u6559\u7814\u52A9\u7406\u8FDB\u884C\u534F\u52A9\u3002"),(He==="subject"||He==="exercisepush")&&z.createElement("div",{style:{marginBottom:15}},"\u6CA1\u6709\u590D\u5236\u6743\u9650\u7684\u5B9E\u8DF5\u9879\u76EE\uFF0C",xe&&z.createElement("span",{className:se.redColor},"\u4E00\u952E\u590D\u5236\u4E0D\u4F1A\u590D\u5236\u6B64\u90E8\u5206\u9879\u76EE\u3002"),"\u60A8\u53EF\u4EE5\u8054\u7CFB\u9879\u76EE\u521B\u5EFA\u8005\u5F00\u542F\u590D\u5236\u6743\u9650\u6216\u8005\u8054\u7CFB\u5E73\u53F0\u6559\u7814\u52A9\u7406\u8FDB\u884C\u534F\u52A9\u3002"),He==="shixunpush"&&z.createElement("div",{style:{marginBottom:15}},"\u6CA1\u6709\u590D\u5236\u6743\u9650\u7684\u5B9E\u8DF5\u9879\u76EE\uFF0C",xe&&z.createElement("span",{className:se.redColor},"\u4E00\u952E\u590D\u5236\u4E0D\u4F1A\u590D\u5236\u6B64\u90E8\u5206\u9879\u76EE\u3002"),"\u5EFA\u8BAE\u60A8\u91CD\u65B0\u9009\u62E9\u5B9E\u8DF5\u9879\u76EE\u518D\u53D1\u5E03\u4F5C\u4E1A\uFF0C\u4E5F\u53EF\u8054\u7CFB\u9879\u76EE\u521B\u5EFA\u8005\u5F00\u542F\u590D\u5236\u6743\u9650\u6216\u8054\u7CFB\u5E73\u53F0\u6559\u7814\u52A9\u7406\u8FDB\u884C\u534F\u52A9\u3002"),z.createElement("div",null,ee==null?void 0:ee.map((ze,ft)=>z.createElement("a",{href:`/shixuns/${ze.identifier}/challenges`,target:"_blank"},"\u300A",ze==null?void 0:ze.name,"\u300B",ft+1!==ne&&"\u3001"))))),b>0&&z.createElement("div",{style:{marginTop:20}},z.createElement("span",{className:se.flex},z.createElement("img",{src:Ie,style:{width:14}}),z.createElement("span",{className:se.statustitle},"\u652F\u6301\u590D\u5236\u7684\u5B9E\u8DF5\u9879\u76EE")),z.createElement("div",{className:se.statusbody},He==="exercise"&&z.createElement("div",{style:{marginBottom:15}},"\u5EFA\u8BAE\u60A8\u4E00\u952E\u590D\u5236\u5E76\u66FF\u6362\u8BD5\u9898\uFF08\u5C06\u590D\u5236\u5E76\u521B\u5EFA\u4E00\u4E2A\u65B0\u7684\u9879\u76EE\u66FF\u6362\u8BD5\u5377\u4E2D\u7684\u539F\u8BD5\u9898\uFF0C\u4E0D\u4F1A\u590D\u5236\u5B66\u751F\u7684\u6311\u6218\u8BB0\u5F55\uFF0C\u65B0\u7684\u9879\u76EE\u652F\u6301\u8FDB\u884C\u7F16\u8F91\u5E76\u4E0E\u539F\u9879\u76EE\u4FE1\u606F\u4E92\u4E0D\u5F71\u54CD\uFF09\u3002"),(He==="subject"||He==="exercisepush")&&z.createElement("div",{style:{marginBottom:15}},"\u5EFA\u8BAE\u60A8\u4E00\u952E\u590D\u5236\u5E76\u53D1\u9001\uFF08\u5C06\u590D\u5236\u5E76\u521B\u5EFA\u4E00\u4E2A\u65B0\u7684\u9879\u76EE\uFF0C\u4E0D\u4F1A\u590D\u5236\u5B66\u751F\u7684\u6311\u6218\u8BB0\u5F55\uFF0C\u65B0\u7684\u9879\u76EE\u652F\u6301\u8FDB\u884C\u7F16\u8F91\u5E76\u4E0E\u539F\u9879\u76EE\u4FE1\u606F\u4E92\u4E0D\u5F71\u54CD\uFF09\u3002"),He==="shixunpush"&&z.createElement("div",{style:{marginBottom:15}},"\u5EFA\u8BAE\u60A8\u4E00\u952E\u590D\u5236\u5E76\u66FF\u6362\u8BD5\u9898\uFF08\u5C06\u590D\u5236\u5E76\u521B\u5EFA\u4E00\u4E2A\u65B0\u7684\u9879\u76EE\u66FF\u6362\u5F53\u524D\u4F5C\u4E1A\u4E2D\u7684\u5B9E\u8DF5\u9879\u76EE\uFF0C\u4E0D\u4F1A\u590D\u5236\u5B66\u751F\u7684\u6311\u6218\u8BB0\u5F55\uFF0C\u65B0\u7684\u9879\u76EE\u652F\u6301\u8FDB\u884C\u7F16\u8F91\u5E76\u4E0E\u539F\u9879\u76EE\u4FE1\u606F\u4E92\u4E0D\u5F71\u54CD\uFF09\u3002"),z.createElement("div",null,y==null?void 0:y.map((ze,ft)=>z.createElement("a",{href:`/shixuns/${ze.identifier}/challenges`,target:"_blank"},"\u300A",ze==null?void 0:ze.name,"\u300B",ft+1!==b&&"\u3001"))))));if(He==="shixun")return z.createElement("div",{style:{marginTop:20}},b>0?"\u8BE5\u9879\u76EE\u652F\u6301\u590D\u5236\uFF0C\u5EFA\u8BAE\u60A8\u4E00\u952E\u590D\u5236\u5E76\u53D1\u9001\uFF08\u5C06\u590D\u5236\u5E76\u521B\u5EFA\u4E00\u4E2A\u65B0\u7684\u9879\u76EE\uFF0C\u4E0D\u4F1A\u590D\u5236\u5B66\u751F\u7684\u6311\u6218\u8BB0\u5F55\uFF0C\u65B0\u7684\u9879\u76EE\u652F\u6301\u8FDB\u884C\u7F16\u8F91\u5E76\u4E0E\u539F\u9879\u76EE\u4FE1\u606F\u4E92\u4E0D\u5F71\u54CD\uFF09\u3002":"\u8BE5\u9879\u76EE\u4E0D\u652F\u6301\u590D\u5236\uFF0C\u60A8\u53EF\u4EE5\u8054\u7CFB\u9879\u76EE\u521B\u5EFA\u8005\u5F00\u542F\u590D\u5236\u6743\u9650\u6216\u8005\u8054\u7CFB\u5E73\u53F0\u6559\u7814\u52A9\u7406\u8FDB\u884C\u534F\u52A9\u3002")};return z.createElement(ve.default,{open:re,onCancel:()=>{a(!1)},cancelText:"\u53D6\u6D88",title:"\u63D0\u793A",width:700,centered:!0,cancelButtonProps:{style:{display:!xe&&"none"}},zIndex:1003,confirmLoading:ye,okText:xe?Me:"\u6211\u77E5\u9053\u4E86",onOk:()=>Ne(void 0,null,function*(){xe?yield Ze([...y,...oe]):a(!1)})},z.createElement("div",{style:{maxHeight:600,overflow:"auto"}},Ee(),De()))}},44905:function(bt,yt,te){"use strict";te.d(yt,{h:function(){return ne}});var z=te(59301),se=te(57809),ve=te(78241),Ie=te(3113),be=te(89780),Ne=te.n(be),ie=te(66543),et=te(59598),He=Object.defineProperty,ke=Object.defineProperties,Ze=Object.getOwnPropertyDescriptors,Me=Object.getOwnPropertySymbols,ye=Object.prototype.hasOwnProperty,re=Object.prototype.propertyIsEnumerable,a=(oe,ae,ue)=>ae in oe?He(oe,ae,{enumerable:!0,configurable:!0,writable:!0,value:ue}):oe[ae]=ue,y=(oe,ae)=>{for(var ue in ae||(ae={}))ye.call(ae,ue)&&a(oe,ue,ae[ue]);if(Me)for(var ue of Me(ae))re.call(ae,ue)&&a(oe,ue,ae[ue]);return oe},b=(oe,ae)=>ke(oe,Ze(ae));const E=se.default.Option,x={labelCol:{span:4},wrapperCol:{span:20}},ee={asp:["ASP","vbscript"],actionscript:["ActionScript(3.0)/Flash/Flex","clike"],bash:["Bash/Bat","shell"],css:["CSS","css"],c:["C","clike"],cpp:["C++","clike"],csharp:["C#","clike"],coffeescript:["CoffeeScript","coffeescript"],d:["D","d"],dart:["Dart","dart"],delphi:["Delphi/Pascal","pascal"],erlang:["Erlang","erlang"],go:["Golang","go"],groovy:["Groovy","groovy"],html:["HTML","text/html"],java:["Java","clike"],json:["JSON","text/json"],javascript:["Javascript","javascript"],lua:["Lua","lua"],less:["LESS","css"],markdown:["Markdown","gfm"],"objective-c":["Objective-C","clike"],php:["PHP","php"],perl:["Perl","perl"],python:["Python","python"],r:["R","r"],rst:["reStructedText","rst"],ruby:["Ruby","ruby"],sql:["SQL","sql"],sass:["SASS/SCSS","sass"],shell:["Shell","shell"],scala:["Scala","clike"],swift:["Swift","clike"],vb:["VB/VBScript","vb"],xml:["XML","text/xml"],yaml:["YAML","yaml"]};yt.Z=({callback:oe,onCancel:ae})=>{const[ue,me]=(0,z.useState)("python");function fe(xe){me(ee[xe][1])}function Pe(xe){oe(xe)}return z.createElement(ve.default,b(y({},x),{className:"code-block-panel",initialValues:{language:"python",content:""},onFinish:Pe,style:{width:500}}),z.createElement(ve.default.Item,{label:"\u4EE3\u7801\u8BED\u8A00",name:"language"},z.createElement(se.default,{getPopupContainer:xe=>xe.parentNode,onChange:fe},Object.keys(ee).map(xe=>z.createElement(E,{key:xe,value:xe},ee[xe][0])))),z.createElement(ve.default.Item,{label:"\u4EE3\u7801\u5185\u5BB9",name:"content",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u4EE3\u7801\u5185\u5BB9"}]},z.createElement(ne,{mode:ue})),z.createElement("div",{className:"flex-container flex-end"},z.createElement(Ie.ZP,{type:"primary",htmlType:"submit",style:{marginRight:10}},"\u786E\u5B9A"),z.createElement(Ie.ZP,{type:"ghost",onClick:ae},"\u53D6\u6D88")))};function ne({value:oe,onChange:ae,mode:ue,options:me={}}){const fe=(0,z.useRef)(),[Pe,xe]=(0,z.useState)();return(0,z.useEffect)(()=>{if(Pe){let Ee=function(De){const ze=De.getValue();ae&&ae(ze)};return Pe.on("change",Ee),()=>{Pe.off("change",Ee)}}},[Pe,ae]),(0,z.useEffect)(()=>{Pe&&Pe.setOption("mode",ue)},[Pe,ue]),(0,z.useEffect)(()=>{Pe&&(oe!==Pe.getValue()||oe==="")&&setTimeout(()=>{Pe.setValue(oe||"")},300)},[Pe,oe]),(0,z.useEffect)(()=>{if(fe.current&&!Pe){const Ee=Ne().fromTextArea(fe.current,y({mode:ue,lineNumbers:!0,lineWrapping:!0,autoCloseBrackets:!0,tabSize:4,autofocus:!0,autoCloseTags:!0,matchBrackets:!0,styleActiveLine:!0},me));xe(Ee)}},[fe.current,Pe]),z.createElement("div",{className:"my-codemirror-container"},z.createElement("textarea",{ref:fe}))}},89389:function(bt,yt,te){"use strict";te.d(yt,{Z:function(){return Qa}});var z=te(59301),se=te(89780),ve=te.n(se),Ie=te(76374),be=te(66543),Ne=te(6313),ie=te(25717),et=te(99498),He=te(25419),ke=te(67549),Ze=te(7664),Me=({value:tt="",className:Rt,showTextOnly:Dt,showLines:Zn,style:cn={}})=>{const On=(0,z.useMemo)(()=>"",[tt]);return z.createElement(z.Fragment,null,z.createElement("div",{dangerouslySetInnerHTML:{__html:On}}))},ye=te(59301),re=Object.defineProperty,a=Object.defineProperties,y=Object.getOwnPropertyDescriptors,b=Object.getOwnPropertySymbols,E=Object.prototype.hasOwnProperty,x=Object.prototype.propertyIsEnumerable,ee=(tt,Rt,Dt)=>Rt in tt?re(tt,Rt,{enumerable:!0,configurable:!0,writable:!0,value:Dt}):tt[Rt]=Dt,ne=(tt,Rt)=>{for(var Dt in Rt||(Rt={}))E.call(Rt,Dt)&&ee(tt,Dt,Rt[Dt]);if(b)for(var Dt of b(Rt))x.call(Rt,Dt)&&ee(tt,Dt,Rt[Dt]);return tt},oe=(tt,Rt)=>a(tt,y(Rt));let ae=[{title:"\u7C97\u4F53",icon:"md-iconfont icon-bold",actionName:"bold"},{title:"\u659C\u4F53",icon:"md-iconfont icon-italic",actionName:"italic"},"|",{title:"\u65E0\u5E8F\u5217\u8868",icon:"md-iconfont icon-unorder-list",actionName:"list-ul"},{title:"\u6709\u5E8F\u5217\u8868",icon:"md-iconfont icon-order-list",actionName:"list-ol"},"|",{title:"\u884C\u5185\u4EE3\u7801",icon:"md-iconfont icon-code",actionName:"code"},{title:"\u4EE3\u7801\u5757\uFF08\u591A\u8BED\u8A00\u98CE\u683C\uFF09",icon:"md-iconfont icon-file-code",actionName:"code-block"},{title:"\u94FE\u63A5",icon:"md-iconfont icon-link",actionName:"link"},"|",{title:"\u884C\u5185\u516C\u5F0F",icon:"md-iconfont icon-sum",actionName:"inline-latex"},{title:"\u6570\u5B66\u56FE\u50CF",icon:"iconfont icon-shuxuetuxiang2",actionName:"maths-latex"},{title:"\u591A\u884C\u516C\u5F0F",icon:"iconfont icon-jisuan1",actionName:"latex"},"|",{title:"\u6DFB\u52A0\u56FE\u7247",icon:"md-iconfont icon-picture",actionName:"upload-image"},{title:"\u63D2\u5165\u753B\u56FE",icon:"iconfont icon-sheji",actionName:"draw-image"},{title:"\u63D2\u5165\u6D41\u7A0B\u56FE",icon:"iconfont icon-liucheng",actionName:"add-flowchart"},{title:"\u8868\u683C",icon:"md-iconfont icon-table",actionName:"add-table"},"|",{title:"\u6362\u884C",icon:"md-iconfont icon-minus",actionName:"line-break"},{title:"\u6E05\u7A7A",icon:"md-iconfont icon-eraser",actionName:"eraser"}];function ue({onActionCallback:tt,title:Rt,icon:Dt,actionName:Zn,className:cn="",children:On}){function Xr(){tt(Zn)}return ye.createElement("a",{title:Rt,className:cn,onClick:Xr},ye.createElement("i",{className:`${Dt}`}),On)}var me=({watch:tt,showNullButton:Rt,showNullProgramButton:Dt,onActionCallback:Zn,fullScreen:cn,insertTemp:On,hidetoolBar:Xr,extraUse:Er})=>{const Kr=[...ae,{title:`${tt?"\u5173\u95ED\u5B9E\u65F6\u9884\u89C8":"\u5F00\u542F\u5B9E\u65F6\u9884\u89C8"}`,icon:`${tt?"md-iconfont icon-eye-slash":"md-iconfont icon-eye"}`,actionName:"trigger-watch"}];return ye.createElement("ul",{className:"markdown-toolbar-container"},!Xr&&Kr.map((oo,Xa)=>ye.createElement("li",{key:Xa},oo.actionName?ye.createElement(ue,oe(ne({},oo),{onActionCallback:Zn})):ye.createElement("span",{className:"v-line"}))),Rt?ye.createElement("li",null,ye.createElement(ue,{icon:"md-iconfont icon-edit insert-blank",className:"btn-null",title:"\u589E\u52A0\u586B\u7A7A",actionName:"add-null-ch",onActionCallback:Zn},ye.createElement("span",{className:"fill-tip"},"\u70B9\u51FB\u63D2\u5165\b\u586B\u7A7A\u9879"))):null,Dt?ye.createElement(ye.Fragment,null,ye.createElement("li",null,ye.createElement(ue,{icon:"md-iconfont icon-edit insert-blank",className:"btn-null",title:"\u589E\u52A0\u586B\u7A7A",actionName:"add-signal",onActionCallback:Zn},ye.createElement("span",{className:"fill-tip"},"+\u5355\u884C\u586B\u7A7A\u9879"))),ye.createElement("li",null,ye.createElement(ue,{icon:"md-iconfont icon-uniE900 insert-blank",className:"btn-null",title:"\u589E\u52A0\u586B\u7A7A",actionName:"add-multiple",onActionCallback:Zn},ye.createElement("span",{className:"fill-tip"},"+\u591A\u884C\u586B\u7A7A\u9879")))):null,On&&ye.createElement("li",null,ye.createElement(ue,{icon:"md-iconfont icon-edit",className:"btn-null",title:"\u63D2\u5165\u6A21\u677F",actionName:`inster-template-${On}`,onActionCallback:Zn},ye.createElement("span",{className:"fill-tip"},"\u63D2\u5165\u6A21\u677F"))),Er&&ye.createElement("li",null,Er),ye.createElement("li",{className:"btn-full-screen"},ye.createElement(ue,{icon:`${cn?"md-iconfont icon-shrink":"md-iconfont icon-enlarge"}`,title:cn?"\u5173\u95ED\u5168\u5C4F":"\u5F00\u542F\u5168\u5C4F",actionName:"trigger-full-screen",onActionCallback:Zn})))},fe=te(75790),Pe=te(78241),xe=te(92832),Ee=te(3113),De=Object.defineProperty,ze=Object.defineProperties,ft=Object.getOwnPropertyDescriptors,Be=Object.getOwnPropertySymbols,Ue=Object.prototype.hasOwnProperty,Ge=Object.prototype.propertyIsEnumerable,Ke=(tt,Rt,Dt)=>Rt in tt?De(tt,Rt,{enumerable:!0,configurable:!0,writable:!0,value:Dt}):tt[Rt]=Dt,rt=(tt,Rt)=>{for(var Dt in Rt||(Rt={}))Ue.call(Rt,Dt)&&Ke(tt,Dt,Rt[Dt]);if(Be)for(var Dt of Be(Rt))Ge.call(Rt,Dt)&&Ke(tt,Dt,Rt[Dt]);return tt},nt=(tt,Rt)=>ze(tt,ft(Rt));const vt={labelCol:{span:4},wrapperCol:{span:20}};var Tt=({callback:tt,onCancel:Rt})=>{function Dt(Zn){tt(Zn)}return z.createElement(Pe.default,nt(rt({},vt),{initialValues:{link:"http://",title:""},className:"link-panel",onFinish:Dt,style:{width:500}}),z.createElement(Pe.default.Item,{label:"\u94FE\u63A5\u5730\u5740",name:"link",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u94FE\u63A5\u5730\u5740"}]},z.createElement(xe.default,null)),z.createElement(Pe.default.Item,{label:"\u94FE\u63A5\u6807\u9898",name:"title",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u94FE\u63A5\u6807\u9898"}]},z.createElement(xe.default,null)),z.createElement("div",{className:"flex-container flex-end"},z.createElement(Ee.ZP,{type:"primary",htmlType:"submit",style:{marginRight:10}},"\u786E\u5B9A"),z.createElement(Ee.ZP,{type:"ghost",onClick:Rt},"\u53D6\u6D88")))},Yt=te(44905),Xe=te(45596),st=te(43418),Lt=te(95237),It=te(6077),St=te(59301),dn=({callback:tt,onCancel:Rt})=>{const Dt=document.createElement("canvas"),Zn=Dt.getContext("2d");Dt.width=1e3,Dt.height=800,Zn.fillStyle="#ffffff",Zn.fillRect(0,0,Dt.width,Dt.height);const cn=Dt.toDataURL("image/png");return St.createElement(st.default,{open:!0,width:"100vw",style:{height:"100vh",top:0},footer:null,title:null,closable:!1},St.createElement(Lt.Z,{style:{height:"100vh"}},St.createElement(It.Z,{fullWidth:!0,noAssociationId:!0,showFullTools:!0,data:{src:cn,visible:!0,title:String(Date.now())},onOk:On=>{tt({src:On.url})},onClose:Rt})))},Fe=te(12378);function Xt(){go.CommandHandler.call(this),this._arrowKeyBehavior="move",this._pasteOffset=new go.Point(10,10),this._lastPasteOffset=new go.Point(0,0)}go.Diagram.inherit(Xt,go.CommandHandler),Xt.prototype.canAlignSelection=function(){var tt=this.diagram;return!(tt===null||tt.isReadOnly||tt.isModelReadOnly||tt.selection.count<2)},Xt.prototype.alignLeft=function(){var tt=this.diagram;tt.startTransaction("aligning left");var Rt=1/0;tt.selection.each(function(Dt){Dt instanceof go.Link||(Rt=Math.min(Dt.position.x,Rt))}),tt.selection.each(function(Dt){Dt instanceof go.Link||Dt.move(new go.Point(Rt,Dt.position.y))}),tt.commitTransaction("aligning left")},Xt.prototype.alignRight=function(){var tt=this.diagram;tt.startTransaction("aligning right");var Rt=-1/0;tt.selection.each(function(Dt){if(!(Dt instanceof go.Link)){var Zn=Dt.actualBounds.x+Dt.actualBounds.width;Rt=Math.max(Zn,Rt)}}),tt.selection.each(function(Dt){Dt instanceof go.Link||Dt.move(new go.Point(Rt-Dt.actualBounds.width,Dt.position.y))}),tt.commitTransaction("aligning right")},Xt.prototype.alignTop=function(){var tt=this.diagram;tt.startTransaction("alignTop");var Rt=1/0;tt.selection.each(function(Dt){Dt instanceof go.Link||(Rt=Math.min(Dt.position.y,Rt))}),tt.selection.each(function(Dt){Dt instanceof go.Link||Dt.move(new go.Point(Dt.position.x,Rt))}),tt.commitTransaction("alignTop")},Xt.prototype.alignBottom=function(){var tt=this.diagram;tt.startTransaction("aligning bottom");var Rt=-1/0;tt.selection.each(function(Dt){if(!(Dt instanceof go.Link)){var Zn=Dt.actualBounds.y+Dt.actualBounds.height;Rt=Math.max(Zn,Rt)}}),tt.selection.each(function(Dt){Dt instanceof go.Link||Dt.move(new go.Point(Dt.actualBounds.x,Rt-Dt.actualBounds.height))}),tt.commitTransaction("aligning bottom")},Xt.prototype.alignCenterX=function(){var tt=this.diagram,Rt=tt.selection.first();if(Rt){tt.startTransaction("aligning Center X");var Dt=Rt.actualBounds.x+Rt.actualBounds.width/2;tt.selection.each(function(Zn){Zn instanceof go.Link||Zn.move(new go.Point(Dt-Zn.actualBounds.width/2,Zn.actualBounds.y))}),tt.commitTransaction("aligning Center X")}},Xt.prototype.alignCenterY=function(){var tt=this.diagram,Rt=tt.selection.first();if(Rt){tt.startTransaction("aligning Center Y");var Dt=Rt.actualBounds.y+Rt.actualBounds.height/2;tt.selection.each(function(Zn){Zn instanceof go.Link||Zn.move(new go.Point(Zn.actualBounds.x,Dt-Zn.actualBounds.height/2))}),tt.commitTransaction("aligning Center Y")}},Xt.prototype.alignColumn=function(tt){var Rt=this.diagram;Rt.startTransaction("align Column"),tt===void 0&&(tt=0),tt=parseFloat(tt);var Dt=new Array;Rt.selection.each(function(Er){Er instanceof go.Link||Dt.push(Er)});for(var Zn=0;Zn<Dt.length-1;Zn++){var cn=Dt[Zn],On=cn.actualBounds.y+cn.actualBounds.height+tt,Xr=Dt[Zn+1];Xr.move(new go.Point(cn.actualBounds.x,On))}Rt.commitTransaction("align Column")},Xt.prototype.alignRow=function(tt){tt===void 0&&(tt=0),tt=parseFloat(tt);var Rt=this.diagram;Rt.startTransaction("align Row");var Dt=new Array;Rt.selection.each(function(Er){Er instanceof go.Link||Dt.push(Er)});for(var Zn=0;Zn<Dt.length-1;Zn++){var cn=Dt[Zn],On=cn.actualBounds.x+cn.actualBounds.width+tt,Xr=Dt[Zn+1];Xr.move(new go.Point(On,cn.actualBounds.y))}Rt.commitTransaction("align Row")},Xt.prototype.canRotate=function(tt){var Rt=this.diagram;return!(Rt===null||Rt.isReadOnly||Rt.isModelReadOnly||Rt.selection.count<1)},Xt.prototype.rotate=function(tt){tt===void 0&&(tt=90);var Rt=this.diagram;Rt.startTransaction("rotate "+tt.toString());var Rt=this.diagram;Rt.selection.each(function(Dt){Dt instanceof go.Link||Dt instanceof go.Group||(Dt.angle+=tt)}),Rt.commitTransaction("rotate "+tt.toString())},Xt.prototype.pullToFront=function(){var tt=this.diagram;tt.startTransaction("pullToFront");var Rt=new go.Map;tt.selection.each(function(Dt){Rt.set(Dt.layer,0)}),Rt.iteratorKeys.each(function(Dt){var Zn=0;Dt.parts.each(function(cn){if(!cn.isSelected){var On=cn.zOrder;isNaN(On)?cn.zOrder=0:Zn=Math.max(Zn,On)}}),Rt.set(Dt,Zn)}),tt.selection.each(function(Dt){Xt._assignZOrder(Dt,Rt.get(Dt.layer)+1)}),tt.commitTransaction("pullToFront")},Xt.prototype.pushToBack=function(){var tt=this.diagram;tt.startTransaction("pushToBack");var Rt=new go.Map;tt.selection.each(function(Dt){Rt.set(Dt.layer,0)}),Rt.iteratorKeys.each(function(Dt){var Zn=0;Dt.parts.each(function(cn){if(!cn.isSelected){var On=cn.zOrder;isNaN(On)?cn.zOrder=0:Zn=Math.min(Zn,On)}}),Rt.set(Dt,Zn)}),tt.selection.each(function(Dt){Xt._assignZOrder(Dt,Rt.get(Dt.layer)-1-Xt._findGroupDepth(Dt))}),tt.commitTransaction("pushToBack")},Xt._assignZOrder=function(tt,Rt,Dt){Dt===void 0&&(Dt=tt),tt.layer===Dt.layer&&(tt.zOrder=Rt),tt instanceof go.Group&&tt.memberParts.each(function(Zn){Xt._assignZOrder(Zn,Rt+1,Dt)})},Xt._findGroupDepth=function(tt){if(tt instanceof go.Group){var Rt=0;return tt.memberParts.each(function(Dt){Rt=Math.max(Rt,Xt._findGroupDepth(Dt))}),Rt+1}else return 0},Xt.prototype.doKeyDown=function(){var tt=this.diagram;if(tt!==null){var Rt=tt.lastInput;if(Rt.key==="Up"||Rt.key==="Down"||Rt.key==="Left"||Rt.key==="Right"){var Dt=this.arrowKeyBehavior;if(Dt==="none")return;if(Dt==="select"){this._arrowKeySelect();return}else if(Dt==="move"){this._arrowKeyMove();return}else if(Dt==="tree"){this._arrowKeyTree();return}}go.CommandHandler.prototype.doKeyDown.call(this)}},Xt.prototype._getAllParts=function(){var tt=new Array;return this.diagram.nodes.each(function(Rt){tt.push(Rt)}),this.diagram.parts.each(function(Rt){tt.push(Rt)}),tt},Xt.prototype._arrowKeyMove=function(){var tt=this.diagram,Rt=tt.lastInput,Dt=0,Zn=0;if(Rt.control||Rt.meta)Dt=1,Zn=1;else if(tt.grid!==null){var cn=tt.grid.gridCellSize;Zn=cn.width,Dt=cn.height}tt.startTransaction("arrowKeyMove"),tt.selection.each(function(On){Rt.key==="Up"?On.move(new go.Point(On.actualBounds.x,On.actualBounds.y-Dt)):Rt.key==="Down"?On.move(new go.Point(On.actualBounds.x,On.actualBounds.y+Dt)):Rt.key==="Left"?On.move(new go.Point(On.actualBounds.x-Zn,On.actualBounds.y)):Rt.key==="Right"&&On.move(new go.Point(On.actualBounds.x+Zn,On.actualBounds.y))}),tt.commitTransaction("arrowKeyMove")},Xt.prototype._arrowKeySelect=function(){var tt=this.diagram,Rt=tt.lastInput,Dt=null;Rt.key==="Up"?Dt=this._findNearestPartTowards(270):Rt.key==="Down"?Dt=this._findNearestPartTowards(90):Rt.key==="Left"?Dt=this._findNearestPartTowards(180):Rt.key==="Right"&&(Dt=this._findNearestPartTowards(0)),Dt!==null&&(Rt.shift?Dt.isSelected=!0:Rt.control||Rt.meta?Dt.isSelected=!Dt.isSelected:tt.select(Dt))},Xt.prototype._findNearestPartTowards=function(tt){var Rt=this.diagram.selection.first();if(Rt===null)return null;for(var Dt=Rt.actualBounds.center,Zn=this._getAllParts(),cn=1/0,On=Rt,Xr=0;Xr<Zn.length;Xr++){var Er=Zn[Xr];if(Er!==Rt&&Er.canSelect()){var Kr=Er.actualBounds.center,oo=Dt.directionPoint(Kr),Xa=this._angleCloseness(oo,tt);if(Xa<=45){var In=Dt.distanceSquaredPoint(Kr);In*=1+Math.sin(Xa*Math.PI/180),In<cn&&(cn=In,On=Er)}}}return On},Xt.prototype._angleCloseness=function(tt,Rt){return Math.min(Math.abs(Rt-tt),Math.min(Math.abs(Rt+360-tt),Math.abs(Rt-360-tt)))},Xt.prototype._arrowKeyTree=function(){var tt=this.diagram,Rt=tt.selection.first();if(Rt instanceof go.Node){var Dt=tt.lastInput;if(Dt.key==="Right"){if(!Rt.isTreeLeaf)if(!Rt.isTreeExpanded)tt.commandHandler.canExpandTree(Rt)&&tt.commandHandler.expandTree(Rt);else{var Zn=this._sortTreeChildrenByY(Rt).first();Zn!==null&&tt.select(Zn)}}else if(Dt.key==="Left")if(!Rt.isTreeLeaf&&Rt.isTreeExpanded)tt.commandHandler.canCollapseTree(Rt)&&tt.commandHandler.collapseTree(Rt);else{var cn=Rt.findTreeParentNode();cn!==null&&tt.select(cn)}else if(Dt.key==="Up"){var cn=Rt.findTreeParentNode();if(cn!==null){var On=this._sortTreeChildrenByY(cn),Xr=On.indexOf(Rt);if(Xr>0){for(var Er=On.elt(Xr-1);Er!==null&&Er.isTreeExpanded&&!Er.isTreeLeaf;){var Kr=this._sortTreeChildrenByY(Er);Er=Kr.last()}Er!==null&&tt.select(Er)}else tt.select(cn)}}else if(Dt.key==="Down")if(Rt.isTreeExpanded&&!Rt.isTreeLeaf){var Zn=this._sortTreeChildrenByY(Rt).first();Zn!==null&&tt.select(Zn)}else for(;Rt!==null;){var cn=Rt.findTreeParentNode();if(cn===null)break;var On=this._sortTreeChildrenByY(cn),Xr=On.indexOf(Rt);if(Xr<On.length-1){tt.select(On.elt(Xr+1));break}else Rt=cn}var oo=tt.selection.first();oo!==null&&tt.scrollToRect(oo.actualBounds)}},Xt.prototype._sortTreeChildrenByY=function(tt){var Rt=new go.List().addAll(tt.findTreeChildrenNodes());return Rt.sort(function(Dt,Zn){var cn=Dt.location,On=Zn.location;return cn.y<On.y?-1:cn.y>On.y?1:cn.x<On.x?-1:cn.x>On.x?1:0}),Rt},Xt.prototype.copyToClipboard=function(tt){go.CommandHandler.prototype.copyToClipboard.call(this,tt),this._lastPasteOffset.set(this.pasteOffset)},Xt.prototype.pasteFromClipboard=function(){var tt=go.CommandHandler.prototype.pasteFromClipboard.call(this);return this.diagram.moveParts(tt,this._lastPasteOffset),this._lastPasteOffset.add(this.pasteOffset),tt},Object.defineProperty(Xt.prototype,"arrowKeyBehavior",{get:function(){return this._arrowKeyBehavior},set:function(tt){if(tt!=="move"&&tt!=="select"&&tt!=="scroll"&&tt!=="tree"&&tt!=="none")throw new Error('DrawCommandHandler.arrowKeyBehavior must be either "move", "select", "scroll", "tree", or "none", not: '+tt);this._arrowKeyBehavior=tt}}),Object.defineProperty(Xt.prototype,"pasteOffset",{get:function(){return this._pasteOffset},set:function(tt){if(!(tt instanceof go.Point))throw new Error("DrawCommandHandler.pasteOffset must be a Point, not: "+tt);this._pasteOffset.set(tt)}});var Kt=Xt,jn=te(20397),Pt=te(43604),qe=te(82093),lt={myPaletteDiv:"myPaletteDiv___Xjz2I",flowChartWrp:"flowChartWrp____f45r",maxH60:"maxH60___Pd4Re"},it=te(59301),Oe=(tt,Rt,Dt)=>new Promise((Zn,cn)=>{var On=Kr=>{try{Er(Dt.next(Kr))}catch(oo){cn(oo)}},Xr=Kr=>{try{Er(Dt.throw(Kr))}catch(oo){cn(oo)}},Er=Kr=>Kr.done?Zn(Kr.value):Promise.resolve(Kr.value).then(On,Xr);Er((Dt=Dt.apply(tt,Rt)).next())});function pt({onCancel:tt,callback:Rt}){let Dt=(0,z.useRef)(),Zn=(0,z.useRef)(),cn=(0,z.useRef)(),On=(0,z.useRef)(!1);const Xr=(0,z.useRef)(!1),[Er,Kr]=(0,z.useState)(0);function oo(){const In=Fe.bx.make,ur={red:"#ff3333",blue:"#3358ff",green:"#25ad23",magenta:"#d533ff",purple:"#7d33ff",orange:"#ff6233",brown:"#8e571e",white:"#ffffff",black:"#000000",beige:"#fffcd5",extralightblue:"#d5ebff",extralightred:"#f2dfe0",lightblue:"#a5d2fa",lightgray:"#cccccc",lightgreen:"#b3e6b3",lightred:"#fcbbbd"};Dt.current=new Fe.S0(Zn.current,{padding:20,grid:In(Fe.s_,"Grid",In(Fe.bn,"LineH",{stroke:"lightgray",strokeWidth:.5}),In(Fe.bn,"LineV",{stroke:"lightgray",strokeWidth:.5})),"draggingTool.isGridSnapEnabled":!0,handlesDragDropForTopLevelParts:!0,mouseDrop:ea=>{var Aa=ea.diagram.commandHandler.addTopLevelParts(ea.diagram.selection,!0);Aa||ea.diagram.currentTool.doCancel()},commandHandler:In(Kt),"clickCreatingTool.archetypeNodeData":{text:"\u672A\u547D\u540D",fill:null,stroke:null,borderColor:"rgba(0,0,0,0)"},PartCreated:ea=>{var Aa=ea.subject;Aa.location=Aa.location.copy().snapToGridPoint(ea.diagram.grid.gridOrigin,ea.diagram.grid.gridCellSize),setTimeout(()=>{ea.diagram.commandHandler.editTextBlock()},20)},"commandHandler.archetypeGroupData":{isGroup:!0,text:"NEW GROUP"},SelectionGrouped:ea=>{var Aa=ea.subject;setTimeout(()=>{ea.diagram.commandHandler.editTextBlock()})},LinkRelinked:ea=>{var Aa=ea.parameter.part;Aa.invalidateConnectedLinks();var dr=ea.subject;ea.diagram.toolManager.linkingTool.isForwards?dr.toNode.invalidateConnectedLinks():dr.fromNode.invalidateConnectedLinks()},"undoManager.isEnabled":!0}),Dt.current.nodeTemplate=In(Fe.NB,"Auto",{locationSpot:Fe.z6.Center,locationObjectName:"SHAPE",desiredSize:new Fe.$u(120,60),minSize:new Fe.$u(40,40),resizable:!0,resizeCellSize:new Fe.$u(10,10),rotatable:!0},new Fe.KX("location","loc",Fe.E9.parse).makeTwoWay(Fe.E9.stringify),new Fe.KX("desiredSize","size",Fe.$u.parse).makeTwoWay(Fe.$u.stringify),In(Fe.bn,{name:"SHAPE",fill:ur.white,cursor:"pointer",portId:"",fromLinkable:!0,toLinkable:!0,fromLinkableDuplicates:!0,toLinkableDuplicates:!0,fromSpot:Fe.z6.AllSides,toSpot:Fe.z6.AllSides},new Fe.KX("figure"),new Fe.KX("fill"),new Fe.KX("stroke","borderColor"),new Fe.KX("strokeWidth","thickness"),new Fe.KX("strokeDashArray","dash")),In(Fe.bn,{width:100,height:20,strokeWidth:0,fill:"transparent"}),In(Fe.al,{margin:1,textAlign:"center",overflow:Fe.al.OverflowEllipsis,editable:!0},new Fe.KX("text").makeTwoWay(),new Fe.KX("stroke","color"))),Dt.current.nodeTemplate.toolTip=In("ToolTip",In(Fe.s_,"Vertical",{maxSize:new Fe.$u(200,NaN)},In(Fe.al,{font:"bold 10pt sans-serif",textAlign:"center"},new Fe.KX("text")),In(Fe.al,{font:"10pt sans-serif",textAlign:"center"},new Fe.KX("text","details"))));function nr(ea,Aa){var dr=(pa,jr)=>{pa.handled=!0,pa.diagram.model.commit(Ir=>{var br=jr.part.adornedPart,po=new Fe.E9().setRectSpot(br.actualBounds,ea);po.subtract(br.location),po.scale(2,2),po.x+=Math.sign(po.x)*130,po.y+=Math.sign(po.y)*130,po.add(br.location),po.snapToGridPoint(pa.diagram.grid.gridOrigin,pa.diagram.grid.gridCellSize);var Lo=Ir.copyNodeData(br.data);Ir.setGroupKeyForNodeData(Lo,Ir.getGroupKeyForNodeData(br.data)),Ir.addNodeData(Lo);var Oi={from:br.key,to:Ir.getKeyForNodeData(Lo)};Ir.addLinkData(Oi);var vi=pa.diagram.findNodeForData(Lo);vi.location=po,pa.diagram.select(vi),setTimeout(()=>{pa.diagram.commandHandler.editTextBlock()},20)})};return In(Fe.bn,{figure:Aa,alignment:ea,alignmentFocus:ea.opposite(),width:ea.equals(Fe.z6.Top)||ea.equals(Fe.z6.Bottom)?25:18,height:ea.equals(Fe.z6.Top)||ea.equals(Fe.z6.Bottom)?18:25,fill:"orange",stroke:ur.white,strokeWidth:4,mouseEnter:(pa,jr)=>jr.fill="dodgerblue",mouseLeave:(pa,jr)=>jr.fill="orange",isActionable:!0,click:dr,contextClick:dr})}function sr(ea){return In(Fe.bn,{fill:"orange",stroke:"rgba(0, 0, 0, 0)",strokeWidth:15,background:"transparent",geometryString:"F1 M0 0 b 0 360 -4 0 4 z M10 0 b 0 360 -4 0 4 z M20 0 b 0 360 -4 0 4",isActionable:!0,cursor:"context-menu",mouseEnter:(Aa,dr)=>dr.fill="dodgerblue",mouseLeave:(Aa,dr)=>dr.fill="orange",click:(Aa,dr)=>{Aa.diagram.commandHandler.showContextMenu(dr.part.adornedPart)}},ea||{})}Dt.current.nodeTemplate.selectionAdornmentTemplate=In(Fe.uz,"Spot",In(Fe.Vm,{padding:10}),nr(Fe.z6.Top,"TriangleUp"),nr(Fe.z6.Left,"TriangleLeft"),nr(Fe.z6.Right,"TriangleRight"),nr(Fe.z6.Bottom,"TriangleDown"),sr({alignment:new Fe.z6(.75,0)}));function er(ea,Aa){return(dr,pa)=>{dr.handled=!0,dr.diagram.model.commit(jr=>{jr.set(pa.part.adornedPart.data,ea,Aa)})}}function ht(ea,Aa){return Aa||(Aa="color"),In(Fe.bn,{width:16,height:16,stroke:"lightgray",fill:ea,margin:1,background:"transparent",mouseEnter:(dr,pa)=>pa.stroke="dodgerblue",mouseLeave:(dr,pa)=>pa.stroke="lightgray",click:er(Aa,ea),contextClick:er(Aa,ea)})}function en(){return[In("ContextMenuButton",In(Fe.s_,"Horizontal",ht(ur.white,"fill"),ht(ur.beige,"fill"),ht(ur.extralightblue,"fill"),ht(ur.extralightred,"fill"))),In("ContextMenuButton",In(Fe.s_,"Horizontal",ht(ur.lightgray,"fill"),ht(ur.lightgreen,"fill"),ht(ur.lightblue,"fill"),ht(ur.lightred,"fill")))]}function nn(){return[In("ContextMenuButton",In(Fe.s_,"Horizontal",ht(ur.black),ht(ur.green),ht(ur.blue),ht(ur.red))),In("ContextMenuButton",In(Fe.s_,"Horizontal",ht(ur.white),ht(ur.magenta),ht(ur.purple),ht(ur.orange)))]}function yn(ea,Aa){return Aa||(Aa="thickness"),In(Fe.bn,"LineH",{width:16,height:16,strokeWidth:ea,margin:1,background:"transparent",mouseEnter:(dr,pa)=>pa.background="dodgerblue",mouseLeave:(dr,pa)=>pa.background="transparent",click:er(Aa,ea),contextClick:er(Aa,ea)})}function Tn(ea,Aa){return Aa||(Aa="dash"),In(Fe.bn,"LineH",{width:24,height:16,strokeWidth:2,strokeDashArray:ea,margin:1,background:"transparent",mouseEnter:(dr,pa)=>pa.background="dodgerblue",mouseLeave:(dr,pa)=>pa.background="transparent",click:er(Aa,ea),contextClick:er(Aa,ea)})}function mn(){return[In("ContextMenuButton",In(Fe.s_,"Horizontal",yn(1),yn(2),yn(3),yn(4))),In("ContextMenuButton",In(Fe.s_,"Horizontal",Tn(null),Tn([2,4]),Tn([4,4])))]}function Nn(ea,Aa){return Aa||(Aa="figure"),In(Fe.bn,{width:32,height:32,scale:.5,fill:"lightgray",figure:ea,margin:1,background:"transparent",mouseEnter:(dr,pa)=>pa.fill="dodgerblue",mouseLeave:(dr,pa)=>pa.fill="lightgray",click:er(Aa,ea),contextClick:er(Aa,ea)})}Dt.current.nodeTemplate.contextMenu=In("ContextMenu",In("ContextMenuButton",In(Fe.s_,"Horizontal",Nn("Rectangle"),Nn("RoundedRectangle"),Nn("Ellipse"),Nn("Diamond"))),In("ContextMenuButton",In(Fe.s_,"Horizontal",Nn("Parallelogram2"),Nn("ManualOperation"),Nn("Procedure"),Nn("Cylinder1"))),In("ContextMenuButton",In(Fe.s_,"Horizontal",Nn("Terminator"),Nn("CreateRequest"),Nn("Document"),Nn("TriangleDown"))),en(),nn(),mn()),Dt.current.groupTemplate=In(Fe.ZA,"Spot",{layerName:"Background",ungroupable:!0,locationSpot:Fe.z6.Center,selectionObjectName:"BODY",computesBoundsAfterDrag:!0,handlesDragDropForMembers:!0,mouseDrop:(ea,Aa)=>{var dr=Aa.addMembers(Aa.diagram.selection,!0);dr||Aa.diagram.currentTool.doCancel()},avoidable:!1},new Fe.KX("location","loc",Fe.E9.parse).makeTwoWay(Fe.E9.stringify),In(Fe.s_,"Auto",{name:"BODY"},In(Fe.bn,{parameter1:10,fill:ur.white,strokeWidth:2,cursor:"pointer",fromLinkable:!0,toLinkable:!0,fromLinkableDuplicates:!0,toLinkableDuplicates:!0,fromSpot:Fe.z6.AllSides,toSpot:Fe.z6.AllSides},new Fe.KX("fill"),new Fe.KX("stroke","color"),new Fe.KX("strokeWidth","thickness"),new Fe.KX("strokeDashArray","dash")),In(Fe.Vm,{background:"transparent",margin:20})),In(Fe.al,{alignment:Fe.z6.Top,alignmentFocus:Fe.z6.Bottom,font:"bold 12pt sans-serif",editable:!0},new Fe.KX("text"),new Fe.KX("stroke","color"))),Dt.current.groupTemplate.selectionAdornmentTemplate=In(Fe.uz,"Spot",In(Fe.s_,"Auto",In(Fe.bn,{fill:null,stroke:"dodgerblue",strokeWidth:3}),In(Fe.Vm,{margin:1.5})),sr({alignment:Fe.z6.TopRight,alignmentFocus:Fe.z6.BottomRight})),Dt.current.groupTemplate.contextMenu=In("ContextMenu",en(),nn(),mn()),Dt.current.linkTemplate=In(Fe.rU,{layerName:"Foreground",routing:Fe.rU.AvoidsNodes,corner:10,fromShortLength:10,toShortLength:15,relinkableFrom:!0,relinkableTo:!0,reshapable:!0,resegmentable:!0},new Fe.KX("fromSpot","fromSpot",Fe.z6.parse),new Fe.KX("toSpot","toSpot",Fe.z6.parse),new Fe.KX("fromShortLength","dir",ea=>ea>=1?10:0),new Fe.KX("toShortLength","dir",ea=>ea>=1?10:0),new Fe.KX("points").makeTwoWay(),In(Fe.bn,{strokeWidth:2},new Fe.KX("stroke","color"),new Fe.KX("strokeWidth","thickness"),new Fe.KX("strokeDashArray","dash")),In(Fe.bn,{segmentIndex:0,segmentOffset:new Fe.E9(15,0),segmentOrientation:Fe.rU.OrientAlong,alignmentFocus:Fe.z6.Right,figure:"circle",width:10,strokeWidth:0},new Fe.KX("fill","color"),new Fe.KX("visible","dir",ea=>ea===1)),In(Fe.bn,{segmentIndex:-1,segmentOffset:new Fe.E9(-10,6),segmentOrientation:Fe.rU.OrientPlus90,alignmentFocus:Fe.z6.Right,figure:"triangle",width:12,height:12,strokeWidth:0},new Fe.KX("fill","color"),new Fe.KX("visible","dir",ea=>ea>=1),new Fe.KX("width","thickness",ea=>7+3*ea),new Fe.KX("height","thickness",ea=>7+3*ea),new Fe.KX("segmentOffset","thickness",ea=>new Fe.E9(-15,4+1.5*ea))),In(Fe.bn,{segmentIndex:0,segmentOffset:new Fe.E9(15,-6),segmentOrientation:Fe.rU.OrientMinus90,alignmentFocus:Fe.z6.Right,figure:"triangle",width:12,height:12,strokeWidth:0},new Fe.KX("fill","color"),new Fe.KX("visible","dir",ea=>ea===2),new Fe.KX("width","thickness",ea=>7+3*ea),new Fe.KX("height","thickness",ea=>7+3*ea),new Fe.KX("segmentOffset","thickness",ea=>new Fe.E9(-15,4+1.5*ea))),In(Fe.al,{alignmentFocus:new Fe.z6(0,1,-4,0),editable:!0},new Fe.KX("text").makeTwoWay(),new Fe.KX("stroke","color"))),Dt.current.linkTemplate.selectionAdornmentTemplate=In(Fe.uz,In(Fe.bn,{isPanelMain:!0,stroke:"transparent",strokeWidth:6,pathPattern:En(2)},new Fe.KX("pathPattern","thickness",En)),sr({alignmentFocus:new Fe.z6(0,0,-6,-4)}));function En(ea){return In(Fe.bn,{stroke:"dodgerblue",strokeWidth:2,strokeCap:"square",geometryString:"M0 0 M4 2 H3 M4 "+(ea+4).toString()+" H3"})}function ar(ea){var Aa="M0 0 M8 16 M0 8 L16 8 M12 11 L16 8 L12 5";return ea===0?Aa="M0 0 M16 16 M0 8 L16 8":ea===2&&(Aa="M0 0 M16 16 M0 8 L16 8 M12 11 L16 8 L12 5 M4 11 L0 8 L4 5"),In(Fe.bn,{geometryString:Aa,margin:2,background:"transparent",mouseEnter:(dr,pa)=>pa.background="dodgerblue",mouseLeave:(dr,pa)=>pa.background="transparent",click:er("dir",ea),contextClick:er("dir",ea)})}function Ra(ea){var Aa=(dr,pa)=>{dr.handled=!0,dr.diagram.model.commit(jr=>{var Ir=pa.part.adornedPart;jr.set(Ir.data,ea?"toSpot":"fromSpot",Fe.z6.stringify(Fe.z6.AllSides)),(ea?Ir.toNode:Ir.fromNode).invalidateConnectedLinks()})};return In(Fe.bn,{width:12,height:12,fill:"transparent",mouseEnter:(dr,pa)=>pa.background="dodgerblue",mouseLeave:(dr,pa)=>pa.background="transparent",click:Aa,contextClick:Aa})}function gn(ea,Aa){var dr=0,pa=Fe.z6.RightSide;ea.equals(Fe.z6.Top)?(dr=270,pa=Fe.z6.TopSide):ea.equals(Fe.z6.Left)?(dr=180,pa=Fe.z6.LeftSide):ea.equals(Fe.z6.Bottom)&&(dr=90,pa=Fe.z6.BottomSide),Aa||(dr-=180);var jr=(Ir,br)=>{Ir.handled=!0,Ir.diagram.model.commit(po=>{var Lo=br.part.adornedPart;po.set(Lo.data,Aa?"toSpot":"fromSpot",Fe.z6.stringify(pa)),(Aa?Lo.toNode:Lo.fromNode).invalidateConnectedLinks()})};return In(Fe.bn,{alignment:ea,alignmentFocus:ea.opposite(),geometryString:"M0 0 M12 12 M12 6 L1 6 L4 4 M1 6 L4 8",angle:dr,background:"transparent",mouseEnter:(Ir,br)=>br.background="dodgerblue",mouseLeave:(Ir,br)=>br.background="transparent",click:jr,contextClick:jr})}Dt.current.linkTemplate.contextMenu=In("ContextMenu",nn(),mn(),In("ContextMenuButton",In(Fe.s_,"Horizontal",ar(0),ar(1),ar(2))),In("ContextMenuButton",In(Fe.s_,"Horizontal",In(Fe.s_,"Spot",Ra(!1),gn(Fe.z6.Top,!1),gn(Fe.z6.Left,!1),gn(Fe.z6.Right,!1),gn(Fe.z6.Bottom,!1)),In(Fe.s_,"Spot",{margin:new Fe.Zt(0,0,0,2)},Ra(!0),gn(Fe.z6.Top,!0),gn(Fe.z6.Left,!0),gn(Fe.z6.Right,!0),gn(Fe.z6.Bottom,!0)))));const io=`{ "class": "GraphLinksModel",
|
|
"nodeDataArray": [
|
|
{"text":"Find Problem","key":-9,"loc":"-20 -140","color":"#3358ff","fill":"white","figure":"Procedure","thickness":3},
|
|
{"text":"What do we want?","key":-10,"loc":"-65 -324.305","group":-16,"figure":"Ellipse","fill":"white"},
|
|
{"text":"What do our users want?","key":-11,"loc":"105 -334.305","group":-20,"figure":"Ellipse","fill":"#ffffff","color":"black"},
|
|
{"text":"Meetings","key":-12,"loc":"-65 -444.305","group":-16,"figure":"TriangleDown","fill":"#ffffff"},
|
|
{"text":"Reviews","key":-13,"loc":"105 -454.305","group":-20,"figure":"TriangleDown","fill":"#ffffff","color":"black"},
|
|
{"text":"Can we solve it?","key":-14,"loc":"190 -140","color":"#7d33ff","fill":"#ffffff","figure":"Diamond","size":"140 80","thickness":3},
|
|
{"isGroup":true,"text":"Internal","key":-16,"loc":"-65 -384.305","fill":"#d5ebff","dash":null,"thickness":1,"group":-22},
|
|
{"isGroup":true,"text":"External","key":-20,"loc":"105 -394.305","fill":"#d5ebff","dash":null,"thickness":1,"group":-22},
|
|
{"isGroup":true,"text":"Sources","key":-22,"loc":"20 -400","fill":"#a5d2fa","dash":[4,4],"color":"#3358ff"}
|
|
],
|
|
"linkDataArray": [
|
|
{"from":-12,"to":-10,"points":[-65,-414.305,-65,-404.305,-65,-384.305,-65,-384.305,-65,-364.305,-65,-354.305],"dash":null,"dir":1},
|
|
{"from":-13,"to":-11,"points":[105,-424.305,105,-414.305,105,-394.305,105,-394.305,105,-374.305,105,-364.305],"dash":null,"color":"#000000","dir":1},
|
|
{"from":-10,"to":-9,"points":[-65,-294.305,-65,-284.305,-65,-232.1525,-40,-232.1525,-40,-180,-40,-170],"dir":2,"dash":[4,4]},
|
|
{"from":-11,"to":-9,"points":[105,-304.305,105,-294.305,105,-237.1525,0,-237.1525,0,-180,0,-170],"dash":[4,4],"dir":2},
|
|
{"from":-9,"to":-14,"points":[40,-150,58,-150,80,-150,80,-153.33333333333331,102,-153.33333333333331,120,-153.33333333333331],"dir":1,"color":"#3358ff"},
|
|
{"from":-14,"to":-9,"points":[190,-100,190,-90,-20,-90,-20,-95,-20,-100,-20,-110],"fromSpot":"BottomSide","toSpot":"BottomSide","text":"No","color":"#ff3333","thickness":2,"dir":1},
|
|
{"from":-9,"to":-14,"points":[40,-130,58,-130,80,-130,80,-126.66666666666666,102,-126.66666666666666,120,-126.66666666666666]}
|
|
]}`;var to=["Rectangle","Square","RoundedRectangle","Border","Ellipse","Circle","TriangleRight","TriangleDown","TriangleLeft","TriangleUp","Triangle","Diamond","LineH","LineV","None","BarH","BarV","MinusLine","PlusLine","XLine","LineRight","LineDown","LineLeft","LineUp"];function no(ea){return console.log("shapeName:",ea),to.indexOf(ea)>=0}var Mo=new Fe.YI(cn.current,{maxSelectionCount:1,linkTemplate:In(Fe.rU,{locationSpot:Fe.z6.Center,selectionAdornmentTemplate:In(Fe.uz,"Link",{locationSpot:Fe.z6.Center},In(Fe.bn,{isPanelMain:!0,fill:null,stroke:"deepskyblue",strokeWidth:0}),In(Fe.bn,{toArrow:"Standard",stroke:null}))},{routing:Fe.rU.AvoidsNodes,curve:Fe.rU.JumpOver,corner:5,toShortLength:4},new Fe.KX("points"),In(Fe.bn,{isPanelMain:!0,strokeWidth:2}),In(Fe.bn,{toArrow:"Standard",stroke:null})),model:new Fe.FJ([{text:"\u672A\u547D\u540D",size:"100 100",fill:null,stroke:"#000"},...Fe.bn.getFigureGenerators().toArray().map(ea=>({text:"\u672A\u547D\u540D",size:"100 100",figure:ea.key,fill:"white",stroke:"#666",borderColor:"#000"}))])});return Dt.current.addDiagramListener("TextEdited",function(ea){var Aa;const dr=ea.subject.part;var pa=(Aa=document.activeElement)==null?void 0:Aa.value;typeof pa=="string"&&pa.trim()===""&&Dt.current.model.commit(function(jr){jr.set(dr.data,"text","\u672A\u547D\u540D"),Dt.current.commandHandler.stopCommand()},"increment")}),Mo.nodeTemplate=In(Fe.NB,"Auto",{locationSpot:Fe.z6.Center},new Fe.KX("location","location",Fe.E9.parse).makeTwoWay(Fe.E9.stringify),In(Fe.bn,"Circle",{fill:"white",stroke:"gray",strokeWidth:2,width:20,height:20,portId:"",fromLinkable:!0,toLinkable:!0,fromLinkableDuplicates:!0,toLinkableDuplicates:!0,fromLinkableSelfNode:!0,toLinkableSelfNode:!0},new Fe.KX("stroke").makeTwoWay(),new Fe.KX("fill").makeTwoWay(),new Fe.KX("figure")),In(Fe.al,{margin:new Fe.Zt(5,5,3,5),font:"10pt sans-serif",minSize:new Fe.$u(16,16),maxSize:new Fe.$u(10,NaN),textAlign:"center",editable:!0},new Fe.KX("key").makeTwoWay())),setTimeout(()=>{Dt.current.grid=In(Fe.s_,"Grid",In(Fe.bn,"LineH",{stroke:"lightgray",strokeWidth:.5}),In(Fe.bn,"LineV",{stroke:"lightgray",strokeWidth:.5})),Dt.current.grid.visible=!0,Dt.current.grid.gridCellStroke="darkgray",Dt.current.grid.gridCellStrokeWidth=1},300),window.myDiagrams=Dt.current,Dt.current}const Xa=()=>Oe(this,null,function*(){var In=Dt.current.makeImage();const ur=yield(0,qe.ZP)("/api/attachments.json",{method:"post",body:{file_type:"base64",original_filename:Date.now(),file:In.src}});Rt({src:ur.url})});return(0,z.useEffect)(()=>(setTimeout(()=>{oo()},500),Kr(Er+1),()=>{Dt.current=null}),[]),it.createElement("div",{ref:Xr,className:On.current?`${lt.maxH60} body-overflow-initial`:"body-overflow-initial"},it.createElement(st.default,{width:1200,icon:null,footer:null,closable:!0,visible:!!Er,destroyOnClose:!0,maskClosable:!1,rootClassName:"zIndex-9999",title:it.createElement(Lt.Z,null,it.createElement(Pt.Z,{flex:1},"\u63D2\u5165\u6D41\u7A0B\u56FE"),it.createElement(Pt.Z,{onClick:()=>{var In,ur,nr=Dt.current.selection.first();if(On.current=!On.current,document.activeElement&&nr){let sr=(ur=(In=document.activeElement)==null?void 0:In.value)==null?void 0:ur.trim();typeof sr=="string"&&Dt.current.model.commit(function(er){er.set(nr.data,"text",sr||"\u672A\u547D\u540D"),Dt.current.commandHandler.stopCommand()},"increment")}Kr(Er+1)}},it.createElement("span",{className:"current c-blue mr30",style:{fontWeight:400}},"\u5C55\u5F00/\u6536\u8D77"))),onCancel:tt},it.createElement("div",{style:{width:"100%",height:"80vh",overflow:"hidden",position:"relative"},className:lt.flowChartWrp},it.createElement("div",{style:{display:"flex",height:"100%"}},it.createElement("div",{style:{width:"300px",height:"100%"}},it.createElement("div",{style:{background:"#fff",position:"relative",zIndex:12,fontSize:16,color:"#3061d0"}},"\u56FE\u5F62\u5E93"),it.createElement("div",{style:{height:"calc(100% - 50px)"},className:lt.myPaletteDiv,ref:cn})),it.createElement("div",{style:{flex:1,position:"relative"}},it.createElement("div",{ref:Zn,style:{height:"80vh"}}))),it.createElement("div",{className:"tr"},it.createElement(Ee.ZP,{size:"large",onClick:Xa,style:{position:"absolute",right:0,bottom:0,zIndex:8},type:"primary"},"\u4FDD\u5B58\u5230\u7F16\u8F91\u5668")))))}var gt=pt,Le=te(5112),he=te(5871);const je=Le.ZP.Group,We={margin:"0 8px"};var we=({callback:tt,onCancel:Rt})=>{function Dt(Zn){tt(Zn)}return z.createElement(Pe.default,{className:"add-table-panel",initialValues:{row:3,col:2,align:"default"},onFinish:Dt},z.createElement("div",{className:"flex-container",style:{alignItems:"baseline"}},z.createElement("span",{style:We},"\u5355\u5143\u683C\u6570\uFF1A"),z.createElement("span",{style:We},"\u884C\u6570"),z.createElement(Pe.default.Item,{name:"row",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u884C\u6570"}]},z.createElement(he.Z,null)),z.createElement("span",{style:We},"\u5217\u6570"),z.createElement(Pe.default.Item,{name:"col",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u5217\u6570"}]},z.createElement(he.Z,null))),z.createElement("div",{className:"flex-container",style:{marginTop:12,alignItems:"baseline"}},z.createElement("span",{style:We},"\u5BF9\u9F50\u65B9\u5F0F\uFF1A"),z.createElement(Pe.default.Item,{name:"align"},z.createElement(je,null,z.createElement(Le.ZP,{value:"default"},z.createElement("i",{className:"fa fa-align-justify"})),z.createElement(Le.ZP,{value:"left"},z.createElement("i",{className:"fa fa-align-left"})),z.createElement(Le.ZP,{value:"center"},z.createElement("i",{className:"fa fa-align-center"})),z.createElement(Le.ZP,{value:"right"},z.createElement("i",{className:"fa fa-align-right"}))))),z.createElement("div",{className:"flex-container flex-end"},z.createElement(Ee.ZP,{type:"primary",htmlType:"submit",style:{marginRight:10}},"\u786E\u5B9A"),z.createElement(Ee.ZP,{type:"ghost",onClick:Rt},"\u53D6\u6D88")))},mt=te(78673),Je=te(11081),jt=te.n(Je),ut=(0,z.forwardRef)(({use3d:tt,width:Rt,height:Dt,callback:Zn,showSaveButton:cn},On)=>{const Xr=(0,z.useRef)(),Er=(0,z.useRef)(),[Kr,oo]=(0,z.useState)(!1),Xa=(0,z.useRef)({id:Xr,appName:"graphing",width:Rt||1e3,height:Dt||600,showToolBar:!0,showMenuBar:!0,allowStyleBar:!0,showAlgebraInput:!0,enableLabelDrags:!1,enableShiftDragZoom:!0,showToolBarHelp:!1,errorDialogsActive:!0,showTutorialLink:!0,showLogging:!0,useBrowserForJS:!1});(0,z.useEffect)(()=>{Er.current=new(jt())(Xa.current,!0),window.onload=function(){Er.current.inject("applet_container")}},[]);const In=()=>{var ur=window.ggbApplet.getPNGBase64(1,!0,72);return Zn&&Zn(ur),ur};return(0,z.useEffect)(()=>{Xa.current.appName=Kr?"3D":"graphing",Er.current.inject("applet_container")},[Kr]),(0,z.useEffect)(()=>{oo(tt)},[tt]),(0,z.useImperativeHandle)(On,()=>({getImgData:In})),z.createElement(z.Fragment,null,z.createElement("div",{style:{width:"100%",height:"100%"},id:"applet_container",ref:Xr}),z.createElement(Lt.Z,{align:"middle"},z.createElement(Pt.Z,{flex:1},z.createElement(mt.Z,{size:"default",checkedChildren:"\u5173\u95ED3D\u56FE\u50CF",unCheckedChildren:"\u5F00\u542F3D\u56FE\u50CF",checked:Kr,onChange:ur=>oo(ur)})),z.createElement(Pt.Z,null,z.createElement(Ee.ZP,{size:"large",onClick:In,style:{zIndex:8,marginTop:10},type:"primary"},"\u4FDD\u5B58\u5230\u7F16\u8F91\u5668"))))}),wt=te(88615),Ae=te(1012),_e=te(8591);const ct="link",Ft="upload-image",zt="add-flowchart",fn="draw-image",dt="add-flowchart",Bt="code-block",Et="add-table",tn="------------",Vt={default:tn,left:`:${tn}`,center:`:${tn}:`,right:`${tn}:`};var sn=te(17904),Un=(tt,Rt,Dt)=>new Promise((Zn,cn)=>{var On=Kr=>{try{Er(Dt.next(Kr))}catch(oo){cn(oo)}},Xr=Kr=>{try{Er(Dt.throw(Kr))}catch(oo){cn(oo)}},Er=Kr=>Kr.done?Zn(Kr.value):Promise.resolve(Kr.value).then(On,Xr);Er((Dt=Dt.apply(tt,Rt)).next())});function pn(){}let rn=0;const $n=1e4,_t="\u2581",kt="@\u2581\u2581@",Jt="@\u2581@",Ea=`
|
|
**\u6A21\u677F\u6807\u9898**
|
|
\u6A21\u677F\u6B63\u6587\u5185\u5BB9\uFF0C\u53EF\u8F93\u5165\u6587\u672C\u5185\u5BB9\u548C\u7C98\u8D34\u56FE\u7247\u7B49\u64CD\u4F5C`,qn=["pptm","pptx","ppt","pot","pps","ppa","potx","ppsx","ppam","pptm","potm","ppsm","doc","docx","dot","dotx","docm","dotm","xls","xlsx","csv","xlt","xla","xltx","xlsm","xltm","xlam","xlsb"];function Rn(tt){return/^\d+$/.test(tt)?`${tt}px`:tt}const La=navigator.platform.toUpperCase().indexOf("MAC")>=0?"Cmd":"Ctrl",Ar={[La+"-B"]:"bold",[La+"-I"]:"italic"},Cr={[ct]:"\u6DFB\u52A0\u94FE\u63A5",[Bt]:"\u6DFB\u52A0\u4EE3\u7801\u5757",[Ft]:"\u6DFB\u52A0\u56FE\u7247",[fn]:"\u6DFB\u52A0\u753B\u56FE",[zt]:"\u63D2\u5165\u6D41\u7A0B\u56FE",[Et]:"\u6DFB\u52A0\u8868\u683C","maths-latex":"\u6570\u5B66\u56FE\u50CF","inline-latex":"LATEX\u516C\u5F0F"};var Qa=({defaultValue:tt="",onChange:Rt,width:Dt="100%",height:Zn=400,miniToolbar:cn=!1,isFocus:On=!1,watch:Xr,insertTemp:Er,mode:Kr="markdown",id:oo="markdown-editor-id",showResizeBar:Xa=!1,noStorage:In=!1,showNullButton:ur=!1,showNullProgramButton:nr=!1,hidetoolBar:sr=!1,fullScreen:er=!1,onBlur:ht,onCMBeforeChange:en,onFullScreen:nn,className:yn="",disablePaste:Tn=!1,disabled:mn=!1,disabledFill:Nn=!1,placeholder:En="",values:ar="",extraUse:Ra})=>{const[gn,io]=(0,z.useState)(null),[to,no]=(0,z.useState)(tt),[Mo,ea]=(0,z.useState)(Xr),[Aa,dr]=(0,z.useState)(er),[pa,jr]=(0,z.useState)(""),[Ir,br]=(0,z.useState)(0),[po,Lo]=(0,z.useState)(Zn),[Oi,vi]=(0,z.useState)(!1),Ei=(0,z.useRef)((0,Ae.Z)()),$i=(0,z.useRef)(!1),_n=(0,z.useRef)(),[Ia,co]=(0,z.useState)(0),[xo,wo]=(0,z.useState)(0),ui=(0,z.useRef)(),Bi=(0,z.useRef)(),Yi=(0,z.useRef)(),Mi=(0,z.useRef)(),Ce=()=>Un(void 0,null,function*(){var la;const Yn=yield Fetch("/api/attachments/distinct_hash_val.json",{method:"post",body:{hash_val:Ei.current}});(la=Yn==null?void 0:Yn.attachments)!=null&&la.length&&(console.log("cm:",gn,ui),Yn.attachments.map(oa=>{oa.content_type.indexOf("image")>-1?gn.replaceSelection(``):oa.content_type.indexOf("video")>-1?gn.replaceSelection(`<video width="100%" controls src="${ENV.API_SERVER}/api/attachments/${data.id}"></video>`):oa.content_type.indexOf("pdf")>-1?gn.replaceSelection(`<a href="${ENV.API_SERVER}/api/attachments/${oa.id}?type=${oa.content_type}&disposition=inline" target="_blank">${oa.name}</a>`):gn.replaceSelection(`[${oa.name}](${ENV.API_SERVER}/api/attachments/${oa.id}?type=${oa.content_type})`)}))});(0,z.useEffect)(()=>{const la=window.scrollY||window.pageYOffset;no(ar),gn==null||gn.setValue(ar),window.scrollTo(0,la)},[ar]),(0,z.useEffect)(()=>{nn==null||nn(Aa)},[Aa]),(0,z.useEffect)(()=>{if(ui.current){let la=function(oa,ra){var Nr;if(Tn){ra.preventDefault();return}const Zr=ra.clipboardData;if(Zr){const hr=Zr.types.toString(),xr=Zr.items;if(hr==="Files"||Zr.types.indexOf("Files")>-1){if(ra.preventDefault(),Kr=="stex")return;try{let kr=xr[1];((Nr=xr[0])==null?void 0:Nr.kind)==="file"&&(kr=xr[0]);const ho=kr.getAsFile(),ti=ho.name.split(".").pop();(0,Xe.I)(ho,yo=>{var Rr,ro,Fo;yo.id?((Rr=ho==null?void 0:ho.type)==null?void 0:Rr.indexOf("image"))>-1?Yn.replaceSelection(`<img width="100%" src="/api/attachments/${yo.id}?type=${yo.content_type})" alt="" />`):((ro=ho==null?void 0:ho.type)==null?void 0:ro.indexOf("video"))>-1?Yn.replaceSelection(`<video width="100%" controls src="/api/attachments/${yo.id}"></video>`):((Fo=ho==null?void 0:ho.type)==null?void 0:Fo.indexOf("pdf"))>-1?Yn.replaceSelection(`<a href="/api/attachments/${yo.id}?type=${ho.type}&disposition=inline" target="_blank">${ho.name}</a>`):qn.includes(ti)?Yn.replaceSelection(`<a href="/api/attachments/${yo.id}?type=office&disposition=inline" target="_blank">${ho.name}</a>`):Yn.replaceSelection(`[${ho.name}](/api/attachments/${yo.id}?type=${yo.content_type})`):(yo==null?void 0:yo.status)===401&&(_e.ZP.warning((yo==null?void 0:yo.message)||"\u8BF7\u767B\u5F55\u540E\u518D\u64CD\u4F5C"),document.location.href="/user/login")})}catch(kr){_e.ZP.warning("\u8BF7\u4F7F\u7528chrome\u6D4F\u89C8\u5668\u7C98\u8D34")}return!0}else return!0}return!0};const Yn=ve().fromTextArea(ui.current,{mode:Kr,lineNumbers:!cn,lineWrapping:!0,value:tt,autoCloseTags:!nr,autoCloseBrackets:!0});return Yn.on("keyup",function(oa,ra){ra.keyCode===8&&(oa.getValue()==""?Yn.setOption("placeholder",En):Yn.setOption("placeholder",null))}),Yn.on("keydown",function(oa,ra){if(ra.keyCode===8){var Nr=Ye(oa);Nr&&ra.preventDefault()}}),On&&Yn.focus(),Yn.on("paste",la),Yn.on("dragleave",function(oa,ra){Bi.current.classList.remove("mouse-hover-md")}),mn&&Yn.on("beforeChange",function(oa,ra){(ra.origin==="paste"||ra.origin==="+input")&&ra.cancel()}),io(Yn),()=>{Yn.off("paste",la)}}},[]);const Re=(0,z.useCallback)(()=>{if(Bi.current)try{}catch(la){console.log(la,"---- to set md editor body height")}},[po,Bi,Aa]);(0,z.useEffect)(()=>{function la(){let Yn=new Ie.Z(oa=>{for(let ra of oa)(ra.target.offsetHeight>0||ra.target.offsetWidth>0)&&(Re(),gn.setSize("100%","100%"),gn.refresh())});return Yn.observe(ui.current.parentElement),Yn}if(gn){const Yn=la();return()=>{var oa,ra;(oa=ui.current)!=null&&oa.parentElement&&Yn.unobserve((ra=ui.current)==null?void 0:ra.parentElement)}}},[gn,Re]),(0,z.useEffect)(()=>{if(gn){let la=[];for(const[Yn,oa]of Object.entries(Ar)){let ra={[Yn]:()=>{Ct(oa)}};la.push(ra),gn.addKeyMap(ra)}return _n.current=setInterval(()=>{$i.current&&Ce()},4e3),()=>{clearInterval(_n.current);for(let Yn of la)gn.removeKeyMap(Yn)}}},[gn]),(0,z.useEffect)(()=>{er!==Aa&&dr(er)},[er]),(0,sn.Z)(()=>{if(!In&&Ir>0){let la=new Date().getTime(),Yn=window.sessionStorage.getItem(oo);la>=Ir+$n&&(!Yn||Yn!==to)&&(window.sessionStorage.setItem(oo,to),vi(!0))}},$n),(0,z.useEffect)(()=>{ea(Xr)},[gn,Xr]),(0,z.useEffect)(()=>{gn&&On&&gn.focus()},[gn,On]),(0,z.useEffect)(()=>{if(Mo&&gn){let la=function(oa){let ra=oa.target;if(Mi.current){let Nr=ra.scrollTop/ra.scrollHeight;Mi.current.scrollTop=Mi.current.scrollHeight*Nr}};const Yn=gn.getScrollerElement();return Yn.addEventListener("scroll",la),()=>{Yn.removeEventListener("scroll",la)}}},[gn,Mo]),(0,z.useEffect)(()=>{if(gn&&en){let la=function(Yn,oa){en(Yn,oa)};return gn.on("beforeChange",la),()=>{gn.off("beforeChange",la)}}},[gn,en]),(0,z.useEffect)(()=>{if(gn&&ht){let la=function(){ht(gn.getValue())};return gn.on("blur",la),()=>{gn.off("blur",la)}}},[gn,ht]);function Ye(la,Yn){var oa=la.getDoc(),ra=oa.getCursor(),Nr=oa.getLine(ra.line),Zr=Nr.charAt(ra.ch-1),hr=Nr.lastIndexOf("@\u2581@",ra.ch),xr=Nr.lastIndexOf("@\u2581\u2581@",ra.ch),kr=hr>xr?hr:xr,ho=hr>xr?3:4;if(kt.indexOf(Zr)===-1)return null;if(console.log("change1:",Yn,la,Nr,ra,kr,hr,xr,Zr),kr>=0&&ra.ch-kr<5){var ti=kr+ho;return oa.replaceRange("",{line:ra.line,ch:kr},{line:ra.line,ch:ti}),{line:ra.line,ch:ti}}return null}(0,z.useEffect)(()=>{if(gn){let la=function(Yn,oa){const ra=Yn.getValue();no(ra),br(new Date().getTime()),Yn.getScrollerElement().dispatchEvent(new CustomEvent("scroll")),Rt&&(nr?Rt(ra,ga(ra)):Rt(ra))};return gn.on("change",la),()=>{gn.off("change",la)}}},[gn,Rt]),(0,z.useEffect)(()=>{if(gn)if(tt==null)gn.setValue(""),no("");else{const la=window.scrollY||window.pageYOffset;tt!==gn.getValue()&&(gn.setValue(tt),no(tt),gn.setCursor(mn?1:gn.lineCount(),0),window.scrollTo(0,la))}},[gn,tt]);const Ct=(0,z.useCallback)(la=>{const Yn=gn.getCursor(),oa=gn.getSelection();let ra=oa.split(`
|
|
`);switch(la){case"bold":return gn.replaceSelection("**"+oa+"**"),oa===""&&gn.setCursor(Yn.line,Yn.ch+2),gn.focus();case"italic":return gn.replaceSelection("*"+oa+"*"),oa===""&&gn.setCursor(Yn.line,Yn.ch+1),gn.focus();case"code":return gn.replaceSelection("`"+oa+"`"),oa===""&&gn.setCursor(Yn.line,Yn.ch+1),gn.focus();case"inline-latex":return jr("inline-latex"),gn.focus();case"latex":return gn.replaceSelection("```latex\n"+oa+"\n```"),gn.setCursor(Yn.line+1,oa.length+1),gn.focus();case"line-break":return gn.replaceSelection(`<br/>
|
|
`),gn.focus();case"list-ul":return oa===""?gn.replaceSelection("- "+oa):gn.replaceSelection(ra.map(Nr=>Nr===""?"":`- ${Nr}`).join(`
|
|
`)),gn.focus();case"list-ol":return oa===""?gn.replaceSelection("1. "+oa):gn.replaceSelection(ra.map((Nr,Zr)=>Nr===""?"":`${Zr+1}. ${Nr}`).join(`
|
|
`)),gn.focus();case"add-null-ch":return oa===""&&gn.setCursor(Yn.line,Yn.ch),gn.replaceSelection(_t),gn.focus();case"add-signal":return oa===""&&gn.setCursor(Yn.line,Yn.ch),gn.replaceSelection(Jt),gn.focus();case"add-multiple":return oa===""&&gn.setCursor(Yn.line,Yn.ch),gn.replaceSelection(kt),gn.focus();case"inster-template-1":return oa===""&&gn.setCursor(Yn.line,Yn.ch),gn.replaceSelection(Ea),gn.focus();case"eraser":return gn.setValue(""),gn.focus();case"trigger-watch":return ea(!Mo),gn.focus();case"trigger-full-screen":return dr(!Aa),gn.focus();case ct:jr(ct);return;case Bt:jr(Bt);return;case Ft:jr(Ft);return;case fn:jr(fn);return;case"maths-latex":jr("maths-latex");return;case zt:jr(zt);return;case Et:jr(Et);return;default:throw new Error}},[gn,Mo,Aa]),Qt=(0,z.useCallback)((la,Yn)=>{var oa,ra,Nr,Zr,hr,xr;switch(jr(""),pa){case ct:const{title:Rr,link:ro}=la;return gn.replaceSelection(`[${Rr}](${ro})`),gn.focus();case Bt:const{language:Fo,content:vo}=la;return gn.replaceSelection(["```"+Fo,vo,"```"].join(`
|
|
`)),gn.focus();case"maths-latex":for(var kr=atob(la),ho=new Uint8Array(kr.length),ti=0;ti<kr.length;ti++)ho[ti]=kr.charCodeAt(ti);var yo=new Blob([ho],{type:"image/png"});(0,Xe.I)(yo,Fi=>{Fi.id?gn.replaceSelection(``):(Fi==null?void 0:Fi.status)===401&&(document.location.href="/user/login")});break;case"inline-latex":gn.replaceSelection("`$$"+la+"$$`");break;case Ft:case fn:case dt:const{src:Eo,alt:sa}=la,jo=Yn,wi=(Nr=(ra=(oa=jo==null?void 0:jo.name)==null?void 0:oa.split("."))==null?void 0:ra.pop)==null?void 0:Nr.call(ra);return((Zr=jo==null?void 0:jo.type)==null?void 0:Zr.indexOf("image"))>-1||!(jo!=null&&jo.type)?jo.align||jo.width?gn.replaceSelection(`<p style="text-align:${jo.align||"initial"}"><img width="${jo.width?jo.width+"%":"initial"}" src="${Eo}" alt="${sa||""}" /></p>`):gn.replaceSelection(`<img width="100%" src="${Eo}" alt="${sa||""}" />`):((hr=jo==null?void 0:jo.type)==null?void 0:hr.indexOf("video"))>-1?gn.replaceSelection(`<video width="100%" controls src="${Eo}"></video>`):((xr=jo==null?void 0:jo.type)==null?void 0:xr.indexOf("pdf"))>-1?gn.replaceSelection(`<a href="${Eo}?type=${jo.type}&disposition=inline" target="_blank">${jo.name}</a>`):qn.includes(wi)?gn.replaceSelection(`<a href="${Eo}?type=office&disposition=inline" target="_blank">${jo.name}</a>`):gn.replaceSelection(`[${jo.name}](${Eo})`),gn.focus();case Et:const{row:Zi,col:nl,align:Xi}=la;let zi=`
|
|
`;for(let Fi=0;Fi<Zi;Fi++){let ul=[],_i=[];for(let rl=0;rl<nl;rl++)Fi===1&&_i.push(Vt[Xi]),ul.push(" ");Fi===1&&(zi+=`| ${_i.join(" | ")} |
|
|
`),zi+=`| ${ul.join(nl===1?"":" | ")} |
|
|
`}return gn.replaceSelection(zi+`
|
|
`),gn.focus();default:throw new Error}},[gn,pa]),qt=(0,z.useMemo)(()=>{switch(pa){case ct:return z.createElement(Tt,{callback:Qt,onCancel:xn});case Bt:return z.createElement(Yt.Z,{callback:Qt,onCancel:xn});case Ft:return z.createElement(Xe.Z,{callback:Qt,onCancel:xn});case zt:return z.createElement(gt,{callback:Qt,onCancel:xn});case Et:return z.createElement(we,{callback:Qt,onCancel:xn});case"maths-latex":return z.createElement(ut,{showSaveButton:!0,callback:Qt});case"inline-latex":return z.createElement(wt.Z,{showSaveButton:!0,callback:Qt});default:return null}},[pa]);function xn(){jr("")}(0,z.useEffect)(()=>{if(Yi.current){let la=function(hr){Nr=!0,Zr=hr.pageY},Yn=function(){Nr=!1},oa=function(hr){if(Nr){let xr=hr.pageY-Zr;xr<0&&(xr=0),xr>300&&(xr=300);let kr=Zn+xr+"px";Lo(kr)}},ra=Yi.current,Nr=!1,Zr=0;return ra.addEventListener("mousedown",la),document.addEventListener("mousemove",oa),document.addEventListener("mouseup",Yn),()=>{ra.removeEventListener("mousedown",la),document.removeEventListener("mousemove",oa),document.removeEventListener("mouseup",Yn)}}},[gn,Yi]),(0,z.useEffect)(()=>{Lo(Zn)},[Zn]);const Dn=Rn(Dt),Qn=Rn(po),Pa={width:Dn,height:Qn},Ca=(0,z.useMemo)(()=>{if(Ir){let la=new Date(Ir),Yn=la.getHours(),oa=la.getMinutes(),ra=la.getSeconds();return Yn=Yn<10?"0"+Yn:Yn,oa=oa<10?"0"+oa:oa,ra=ra<10?"0"+ra:ra,`${Yn}:${oa}:${ra}`}return 0},[Ir]),ga=la=>{const Yn=[];if(nr){let oa=-1;la=la.replace(/(@▁▁@|@▁@)/g,function(ra,Nr,Zr){Yn.push({multiLine:ra!==Jt})})}return Yn};function Or(){window.sessionStorage.removeItem(oo),vi(!1),br(0)}function Mr(){vi(!1),br(0),gn.setValue(window.sessionStorage.getItem(oo))}(0,z.useEffect)(()=>{Cr[pa]&&pa!==fn&&pa!==zt&&setTimeout(()=>{const la=document.getElementsByClassName("markdown-popup-form")[0],Yn=window.innerWidth/2-la.offsetWidth/2,oa=window.innerHeight/2-la.offsetHeight/2;co(Yn),wo(oa)},0)},[pa]);const Ro=la=>{la.preventDefault();const Yn=la.clientX-Ia,oa=la.clientY-xo;document.body.onmousemove=ra=>{let Nr=ra.clientX-Yn,Zr=ra.clientY-oa;const hr=document.getElementsByClassName("markdown-popup-form")[0],xr=window.innerWidth-hr.offsetWidth,kr=window.innerHeight-hr.offsetHeight;Nr=Math.max(0,Math.min(Nr,xr)),Zr=Math.max(0,Math.min(Zr,kr)),Ur(ra.clientX,ra.clientY,Yn,oa)&&(co(Nr),wo(Zr))},document.body.onmouseup=function(){document.body.onmousemove=null}},Ur=(la,Yn,oa,ra)=>{const Nr=document.body.clientHeight,Zr=document.body.clientWidth;return la<20&&oa>la||la>Zr-20&&oa<la||Yn<20&&ra>Yn||Yn>Nr-20&&ra<Yn?(document.body.onmousemove=null,document.body.onmouseup=null,!1):!0};return z.createElement(z.Fragment,null,z.createElement("div",{className:"markdown-editor-wrapper",ref:Bi},z.createElement("div",{className:`markdown-editor-container ${yn} ${Mo?"on-preview":""} ${cn?"mini":""} ${Aa?"full-screen":""}`,style:Pa},z.createElement(me,{insertTemp:Er,watch:Mo,fullScreen:Aa,showNullButton:ur,showNullProgramButton:nr,onActionCallback:Ct,hidetoolBar:sr,extraUse:Ra}),z.createElement("div",{className:"markdown-editor-body"},z.createElement("div",{className:"codemirror-container"},z.createElement("textarea",{ref:ui,placeholder:En})),Mo?z.createElement("div",{ref:Mi,className:"preview-container"},Kr==="stex"&&z.createElement(Me,{value:to}),Kr!=="stex"&&z.createElement(Ze.Z,{disabledFill:Nn,showProgramFill:nr,value:to})):null))),Xa?z.createElement("a",{ref:Yi,className:"editor-resize"}):null,pa===fn&&z.createElement(dn,{callback:Qt,onCancel:xn}),pa===zt&&z.createElement(gt,{callback:Qt,onCancel:xn}),z.createElement(fe.Z,null,Cr[pa]&&pa!==fn&&pa!==zt?z.createElement(st.default,{maskClosable:!1,centered:!0,style:{position:"absolute",left:Ia,top:xo},title:z.createElement("div",{style:{cursor:"move"},onMouseDown:Ro},Cr[pa]),open:!0,onCancel:xn,footer:null,destroyOnClose:!0,width:pa===zt?"1200px":null,height:pa===zt?"80vh":null,className:"markdown-popup-form"},qt):null))}},45596:function(bt,yt,te){"use strict";te.d(yt,{Z:function(){return ue},I:function(){return fe}});var z=te(78241),se=te(8591),ve=te(92832),Ie=te(81327),be=te(5871),Ne=te(5112),ie=te(3113),et=te(67303),He=te(59301),ke=te(34055),Ze=te(59301),Me=Object.defineProperty,ye=Object.defineProperties,re=Object.getOwnPropertyDescriptors,a=Object.getOwnPropertySymbols,y=Object.prototype.hasOwnProperty,b=Object.prototype.propertyIsEnumerable,E=(Pe,xe,Ee)=>xe in Pe?Me(Pe,xe,{enumerable:!0,configurable:!0,writable:!0,value:Ee}):Pe[xe]=Ee,x=(Pe,xe)=>{for(var Ee in xe||(xe={}))y.call(xe,Ee)&&E(Pe,Ee,xe[Ee]);if(a)for(var Ee of a(xe))b.call(xe,Ee)&&E(Pe,Ee,xe[Ee]);return Pe},ee=(Pe,xe)=>ye(Pe,re(xe));const{useForm:ne}=z.default,oe={width:280,marginRight:10},ae={labelCol:{span:5},wrapperCol:{span:19}};var ue=({callback:Pe,onCancel:xe})=>{const[Ee]=ne();let De=(0,He.useRef)();function ze(Ue){De.current.width=Ee.getFieldValue("width"),De.current.align=Ee.getFieldValue("align"),Pe(Ue,De.current)}function ft(Ue,Ge){if(Ue.status===-1){se.ZP.error(Ue.message);return}Ee.setFieldsValue({src:`/api/attachments/${Ue.id}`,type:Ge.type})}function Be(Ue){let Ge=Ue.target.files[0];De.current=Ge,fe(Ge,ft)}return Ze.createElement(z.default,ee(x({form:Ee},ae),{className:"upload-image-panel",onFinish:ze,style:{width:470,overflow:"hidden"}}),Ze.createElement(z.default.Item,{label:"\u56FE\u7247\u5730\u5740",required:!0},Ze.createElement("div",{className:"flex-container"},Ze.createElement(z.default.Item,{noStyle:!0,name:"src",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u6587\u4EF6\u5730\u5740"}]},Ze.createElement(ve.default,{style:oe})),Ze.createElement(me,{onFileChange:Be}))),Ze.createElement(z.default.Item,{label:"\u56FE\u7247\u63CF\u8FF0",name:"alt"},Ze.createElement(ve.default,{style:{width:264}})),Ze.createElement(z.default.Item,{label:"\u56FE\u7247\u5BBD\u5EA6",name:"width"},Ze.createElement(Ie.Z,null,Ze.createElement(z.default.Item,{name:"width",style:{margin:0}},Ze.createElement(be.Z,{style:{width:264}})),Ze.createElement("span",{className:"ml8"},"%"))),Ze.createElement(z.default.Item,{label:"\u5BF9\u9F50\u65B9\u5F0F",name:"align"},Ze.createElement(Ne.ZP.Group,{name:"align",defaultValue:1,options:[{value:"left",label:"\u5DE6\u5BF9\u9F50"},{value:"center",label:"\u5C45\u4E2D\u5BF9\u9F50"},{value:"right",label:"\u53F3\u5BF9\u9F50"}]})),Ze.createElement("aside",null,Ze.createElement(z.default.Item,{style:{textAlign:"right",position:"relative",right:-98}},Ze.createElement(ie.ZP,{type:"primary",htmlType:"submit",style:{marginRight:10}},"\u786E\u5B9A"),Ze.createElement(ie.ZP,{type:"default",onClick:xe},"\u53D6\u6D88"))))};function me({onFileChange:Pe}){return Ze.createElement("label",{className:"upload-button",style:{cursor:"pointer"}},"\u672C\u5730\u4E0A\u4F20",Ze.createElement("input",{type:"file",onChange:Pe}))}function fe(Pe,xe){if(!Pe)throw new String("\u6CA1\u6709\u6587\u4EF6");if(!(0,ke.bg)())throw se.ZP.warning("\u8BF7\u767B\u5F55\u540E\u518D\u64CD\u4F5C"),new String("\u8BF7\u767B\u5F55\u540E\u518D\u64CD\u4F5C");let Ee=new FormData;Ee.append("editormd-image-file",Pe),Ee.append("file_param_name","editormd-image-file"),Ee.append("byxhr","true");var De=new window.XMLHttpRequest;De.withCredentials=!0,De.addEventListener("load",function(ze){xe(JSON.parse(ze.target.responseText),Pe)},!1),De.addEventListener("error",function(ze){console.error(ze)},!1),De.open("POST",`${et.KI}/api/attachments.json`),De.send(Ee)}},75790:function(bt,yt,te){"use strict";te.d(yt,{Z:function(){return ve}});var z=te(59301),se=te(4676);class ve extends z.Component{constructor(be){super(be);const Ne=window.document;this.node=Ne.createElement("div"),Ne.body.appendChild(this.node)}render(){const{children:be}=this.props;return(0,se.createPortal)(be,this.node)}componentWillUnmount(){window.document.body.removeChild(this.node)}}},17904:function(bt,yt,te){"use strict";te.d(yt,{Z:function(){return se}});var z=te(59301);function se(ve,Ie){const be=(0,z.useRef)();(0,z.useEffect)(()=>{be.current=ve}),(0,z.useEffect)(()=>{function Ne(){be.current()}if(Ie!==null){let ie=setInterval(Ne,Ie);return()=>clearInterval(ie)}},[Ie])}},47914:function(bt,yt,te){"use strict";te.d(yt,{Z:function(){return Ge}});var z=te(59301),se=te(5112),ve=te(3113),Ie=te(8591),be=te(43418),Ne=te(5871),ie=te(95237),et=te(43604),He=te(28103),ke=te(51124),Ze={flex_box_center:"flex_box_center___eijRq",flex_space_between:"flex_space_between___R4Vev",flex_box_vertical_center:"flex_box_vertical_center___j8R6g",flex_box_center_end:"flex_box_center_end___eB0cz",flex_box_column:"flex_box_column___b9VdU",md:"md___tcpb2",title:"title___dVHM9"},Me=te(34055),ye=te(24334),re=te(82093),a=te(76560),y=te(7664),b=te(45278),E=te(87169),x=te(26227),ee=te(59301),ne=Object.defineProperty,oe=Object.defineProperties,ae=Object.getOwnPropertyDescriptors,ue=Object.getOwnPropertySymbols,me=Object.prototype.hasOwnProperty,fe=Object.prototype.propertyIsEnumerable,Pe=(Ke,rt,nt)=>rt in Ke?ne(Ke,rt,{enumerable:!0,configurable:!0,writable:!0,value:nt}):Ke[rt]=nt,xe=(Ke,rt)=>{for(var nt in rt||(rt={}))me.call(rt,nt)&&Pe(Ke,nt,rt[nt]);if(ue)for(var nt of ue(rt))fe.call(rt,nt)&&Pe(Ke,nt,rt[nt]);return Ke},Ee=(Ke,rt)=>oe(Ke,ae(rt)),De=(Ke,rt,nt)=>new Promise((vt,Tt)=>{var Yt=Lt=>{try{st(nt.next(Lt))}catch(It){Tt(It)}},Xe=Lt=>{try{st(nt.throw(Lt))}catch(It){Tt(It)}},st=Lt=>Lt.done?vt(Lt.value):Promise.resolve(Lt.value).then(Yt,Xe);st((nt=nt.apply(Ke,rt)).next())});const ze={selectOnLineNumbers:!0,readOnly:!0,minimap:{enabled:!1},scrollBeyondLastLine:!1,enableSplitViewResizing:!1,roundedSelection:!1,renderIndicators:!1,useShadows:!1};var ft=(Ke=>(Ke[Ke.SET_PATH=0]="SET_PATH",Ke[Ke.GET_PASSED_CONTENT=1]="GET_PASSED_CONTENT",Ke))(ft||{});function Be(Ke,rt){switch(rt.type){case 0:return Ee(xe({},Ke),{selectedPath:rt.payload});case 1:return Ee(xe({},Ke),{passedContent:rt.payload});default:throw new Error}}var Ge=({language:Ke,dispatch:rt,shixunWorkReport:nt,v:vt,languages:Tt,classroomList:Yt,autoHeight:Xe,diff_code_count:st,data:Lt})=>{const[It,St]=(0,z.useState)(Tt==null?void 0:Tt[0]),dn=(0,a.useParams)();return(0,z.useEffect)(()=>{St(Tt==null?void 0:Tt[0])},[]),(0,z.useEffect)(()=>{var Fe;St((Fe=Tt==null?void 0:Tt.filter(Xt=>Xt.language===(It==null?void 0:It.language)))==null?void 0:Fe[0])},[Tt]),ee.createElement(ee.Fragment,null,ee.createElement("h2",null," ",ee.createElement("span",null,vt.is_finish?ee.createElement("span",null,"\u6700\u540E\u901A\u5173\u4EE3\u7801",ee.createElement("span",{className:"ml5 font12 c-grey-999"},"\u901A\u8FC7\u4E86\u672C\u9898\uFF0C\u5728\u4F5C\u4E1A\u65F6\u95F4\u5185\u6700\u540E\u4E00\u6B21\u63D0\u4EA4\u7684\u901A\u5173\u4EE3\u7801")):ee.createElement("span",null,"\u6700\u65B0\u4EE3\u7801",ee.createElement("span",{className:"ml5 font12 c-grey-999"},"\u672A\u901A\u8FC7\u672C\u9898\uFF0C\u5C55\u793A\u6700\u65B0\u7F16\u5199\u7684\u4EE3\u7801\u8BE6\u60C5")),(Tt==null?void 0:Tt.length)>1&&ee.createElement(se.ZP.Group,{defaultValue:Ke,style:{marginLeft:10},onChange:Fe=>{var Xt;vt.language=Fe.target.value,St((Xt=Tt==null?void 0:Tt.filter(Kt=>Kt.language===Fe.target.value))==null?void 0:Xt[0])}},Tt==null?void 0:Tt.map(Fe=>ee.createElement(se.ZP,{value:Fe==null?void 0:Fe.language},Fe==null?void 0:Fe.language)))),(0,Me.GJ)()&&nt!="shixunWorkReport"&&ee.createElement("span",null,ee.createElement("span",null,"\u5F97\u5206 ",It==null?void 0:It.score,"/",It==null?void 0:It.total_score),ee.createElement(ve.ZP,{style:{margin:"0px 10px"},onClick:()=>{var Fe,Xt;if(!((Xt=(Fe=Yt.AssistantObject)==null?void 0:Fe.hack)!=null&&Xt.can_appraise)&&(0,Me.Rm)()){Ie.ZP.warning("\u60A8\u672A\u83B7\u53D6\u6B64\u6743\u9650\uFF0C\u9700\u5411\u8BFE\u5802\u7BA1\u7406\u5458\u7533\u8BF7\u6743\u9650\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD");return}let Kt=It==null?void 0:It.score;be.default.confirm({title:"\u8C03\u5206",content:ee.createElement("div",null,ee.createElement("p",null,"\u5F97\u5206\uFF1A",It==null?void 0:It.score,"/",It==null?void 0:It.total_score),ee.createElement("p",null,"\u8C03\u5206\uFF1A",ee.createElement(Ne.Z,{min:0,max:It==null?void 0:It.total_score,defaultValue:It==null?void 0:It.score,onChange:jn=>{Kt=jn}}))),okText:"\u786E\u8BA4",onOk:()=>De(void 0,null,function*(){(yield(0,re.ZP)(`/api/courses/${dn==null?void 0:dn.coursesId}/homework_commons/update_hack_score`,{method:"put",body:{course_id:dn==null?void 0:dn.coursesId,hack_user_code_id:It==null?void 0:It.hack_user_id,score:Kt}})).status===0&&(Ie.ZP.success("\u8C03\u5206\u6210\u529F"),rt({type:"shixunHomeworks/setActionTabs",payload:{}}),rt({type:"shixunHomeworks/getShixunWorkReports",payload:xe({},dn)}))}),cancelText:"\u53D6\u6D88"})},type:"primary"},"\u8C03\u5206"),(0,Me.GJ)()&&nt!="shixunWorkReport"&&ee.createElement(ve.ZP,{onClick:()=>{var Fe;if(!((Fe=Yt.AssistantObject.hack)!=null&&Fe.can_appraise)&&(0,Me.Rm)()){Ie.ZP.warning("\u60A8\u672A\u83B7\u53D6\u6B64\u6743\u9650\uFF0C\u9700\u5411\u8BFE\u5802\u7BA1\u7406\u5458\u7533\u8BF7\u6743\u9650\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD");return}rt({type:"shixunHomeworks/setActionTabs",payload:{key:"\u66F4\u6539\u70B9\u8BC4",selectArrs:{myshixun_identifier:nt.user_id,type:"1",language:It==null?void 0:It.language,v:vt,data:xe({},nt)}}})}},"\u70B9\u8BC4\u4EE3\u7801"))),ee.createElement(ke.ZP,{height:300,language:It==null?void 0:It.language,value:It!=null&&It.code?ye.Base64.decode(It==null?void 0:It.code):"",autoHeight:Xe,theme:"default",options:ze}),((It==null?void 0:It.comment)||(It==null?void 0:It.hidden_comment))&&ee.createElement("div",null,ee.createElement(ie.Z,{align:"middle",style:{borderTop:"1px solid #eee"}},ee.createElement(et.Z,{flex:1},ee.createElement("h1",{className:Ze.title},"\u70B9\u8BC4\u5185\u5BB9")),ee.createElement(et.Z,{className:"pr30"},(0,Me.GJ)()&&ee.createElement(ve.ZP,{onClick:()=>De(void 0,null,function*(){be.default.confirm({centered:!0,okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",title:"\u63D0\u793A",icon:ee.createElement(E.Z,null),content:"\u662F\u5426\u786E\u8BA4\u5220\u9664\uFF1F",onOk(){return De(this,null,function*(){(yield(0,b.gZ)({comment_id:It==null?void 0:It.comment_id,homeworkId:dn.homeworkId,type:"hack"})).status===0&&(Ie.ZP.success("\u5220\u9664\u6210\u529F"),rt({type:"shixunHomeworks/getShixunWorkReports",payload:xe({},dn)}))})}})})},ee.createElement(x.Z,null),"\u5220\u9664"))),ee.createElement(He.Z,{style:{margin:0}}),(It==null?void 0:It.comment)&&ee.createElement("aside",{className:"pl30 pr30 mt20"},ee.createElement("span",{className:"c-light-black font12"},"# \u5B66\u751F\u548C\u8BFE\u5802\u8001\u5E08\u53EF\u89C1"),ee.createElement("br",null),ee.createElement(y.Z,{value:It==null?void 0:It.comment})),(It==null?void 0:It.hidden_comment)&&ee.createElement("aside",{className:"pl30 pr30 mt20"},ee.createElement("span",{className:"c-light-black font12"},"# \u4EC5\u8BFE\u5802\u8001\u5E08\u53EF\u89C1"),ee.createElement("br",null),ee.createElement(y.Z,{value:It==null?void 0:It.hidden_comment}))))}},3237:function(bt,yt,te){"use strict";te.r(yt),te.d(yt,{default:function(){return xe}});var z=te(59301),se=te(76560),ve=te(99313),Ie=te(3113),be=te(58421),Ne=te(34055),ie=te(82093),et=te(57884),He=te(16408),ke="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABUAAAAWCAYAAAAvg9c4AAAAAXNSR0IArs4c6QAABPdJREFUSEullWloHGUYx//vzO7sHDuzm93sZpM2l/SgRyK7xSYxrfYgbdUq6JcixXqAUrxItGAVMT1A+kH7Re1WWppa6afiAYJIi7ZB07vkIARzVJqYbJMmu90zszOzM6/MVEXQotR3mPky8/7e//N7ZuYl+J+jt7fX7/f7i/X19cU/UORemZRSZnBwsKNQKLztdrtHOI57sqGhYcbm3ROUUsoOD4++Mz9f2CtJItE0DaVSqTMWi+27Jyil1DM0NLTfsmgHpZbLhthQSmlfTU3NmkgkUvjPSSmlZGRkZI2maZ2mWdpAGBehpgnd0KBpOkzTLPn9/gei0Wjfv0JHR0cXGpq2xTDNHZTSJsu0OJNaIIRFUc07KXXdgGVZCAQCL7e0tMT/Br3ja3iRaZptlmU9YVHayhBGoAApGTpKhgHCsFCLRaRvp+yEtk9QaiEYDHy0cWPb639CbdjAwADP8/zRkmk9BYADIU4nLUqdycX5Agxdh4cXkLh5E8m5WTD2A4SAZVmEwxVnNm3a9AiJx+MrdSI8nslm25YtqlMaVi6LWab1+2IUFIB9NXQDuUwapmFAUnwYHBhAOp0Ex3nAcRx4QUA4FL62ecuWVnL01Om8V1YkXdewpMoLn6zYC4NhGLhcLng4t4OdnEognUqCIQSSJOPipYvI5gsQBBGyV4KiyAgFgz83N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new Promise((ft,Be)=>{var Ue=rt=>{try{Ke(ze.next(rt))}catch(nt){Be(nt)}},Ge=rt=>{try{Ke(ze.throw(rt))}catch(nt){Be(nt)}},Ke=rt=>rt.done?ft(rt.value):Promise.resolve(rt.value).then(Ue,Ge);Ke((ze=ze.apply(Ee,De)).next())});const a=({user:Ee,item:De,getdata:ze,params:ft})=>{var Be;const Ue=(0,z.useRef)(),[Ge,Ke]=(0,z.useState)(),[rt,nt]=(0,z.useState)(!0);return(0,z.useEffect)(()=>{if(!Ue.current)return;function vt(){var Yt;let Xe=new ResizeObserver(st=>{for(let Lt of st)console.log("----",Lt,st),Ke(Lt.target.offsetHeight>=52)});return Xe.observe((Yt=Ue.current)==null?void 0:Yt.firstElementChild),Xe}const Tt=vt();return()=>{var Yt,Xe;(Yt=Ue.current)!=null&&Yt.firstElementChild&&Tt.unobserve((Xe=Ue.current)==null?void 0:Xe.firstElementChild)}},[Ue.current]),z.createElement("div",{onClick:()=>{se.history.push(`/classrooms/${ft.coursesId}/program_homework/${ft.categoryId}/answer/${De.id}/detail`)},style:{padding:"0px 20px",cursor:"pointer"}},z.createElement("div",{className:He.Z.titles,style:{fontWeight:600,fontSize:18,color:"#000000"}},De.name),z.createElement("div",{style:{display:"flex",marginTop:10}},z.createElement("div",{style:{flex:1,display:"flex",alignItems:"center",color:"#5F6368"}},z.createElement("img",{style:{width:24,borderRadius:50},src:`${ye.Z.IMG_SERVER}/images/${De.author.image_url}`}),z.createElement("span",{style:{margin:"0px 12px 0px 8px"}},(Be=De==null?void 0:De.author)==null?void 0:Be.name),z.createElement("span",null,"\u53D1\u8868\u4E8E",De.created_at)),z.createElement("div",null,z.createElement("span",{style:{color:"#5F6368",cursor:"pointer"},onClick:()=>{}},"\u56DE\u590D\uFF08",(De==null?void 0:De.descendants_count)||0,"\uFF09"),(0,Ne.eB)()&&z.createElement("span",{onClick:vt=>re(void 0,null,function*(){vt.stopPropagation(),(yield(0,ie.ZP)(`/api/hack_messages/${De.id}/update_public`,{method:"post"})).status===0&&ze()}),style:{color:"#44D7B6",cursor:"pointer",marginLeft:20}},De.is_public?"\u53D6\u6D88\u516C\u5F00":"\u516C\u5F00"))),z.createElement("div",{ref:Ue,style:{margin:"15px 0px",maxHeight:rt?52:"",overflow:"hidden"}},z.createElement(Me.Z,{style:{color:"#434D6C",fontSize:14},value:De.content})),(De==null?void 0:De.hack_identifier)&&z.createElement("span",{onClick:vt=>re(void 0,null,function*(){var Tt;if(vt.stopPropagation(),(0,Ne.dE)())return;let Yt=yield(0,ie.ZP)(`/api/problems/${De==null?void 0:De.hack_identifier}/start.json`,{method:"get",params:{hack_user_id:(Tt=De==null?void 0:De.author)==null?void 0:Tt.id}});Yt&&(window.open(`/myproblems/${Yt==null?void 0:Yt.identifier}?type=1`),localStorage.setItem("program_homework",[ft.coursesId,ft.categoryId]))}),className:He.Z.tips},De==null?void 0:De.hack_name),Ge&&z.createElement("div",{onClick:vt=>{vt.stopPropagation(),nt(!rt)}},z.createElement(Ze.Z,{dashed:!1,className:"",style:{cursor:"pointer"}},z.createElement("a",{className:`font14 ${He.Z.color999}`},rt?"\u9605\u8BFB\u5168\u6587 ":"\u6536\u8D77\u5168\u6587 ",z.createElement("i",{className:`iconfont font14 ${rt?"icon-jiantou9":"icon-changyongtubiao-xianxingdaochu-zhuanqu-"}`})))))};var y=(0,se.connect)(({user:Ee})=>({user:Ee}))(a),b=Object.defineProperty,E=Object.defineProperties,x=Object.getOwnPropertyDescriptors,ee=Object.getOwnPropertySymbols,ne=Object.prototype.hasOwnProperty,oe=Object.prototype.propertyIsEnumerable,ae=(Ee,De,ze)=>De in Ee?b(Ee,De,{enumerable:!0,configurable:!0,writable:!0,value:ze}):Ee[De]=ze,ue=(Ee,De)=>{for(var ze in De||(De={}))ne.call(De,ze)&&ae(Ee,ze,De[ze]);if(ee)for(var ze of ee(De))oe.call(De,ze)&&ae(Ee,ze,De[ze]);return Ee},me=(Ee,De)=>E(Ee,x(De)),fe=(Ee,De,ze)=>new Promise((ft,Be)=>{var Ue=rt=>{try{Ke(ze.next(rt))}catch(nt){Be(nt)}},Ge=rt=>{try{Ke(ze.throw(rt))}catch(nt){Be(nt)}},Ke=rt=>rt.done?ft(rt.value):Promise.resolve(rt.value).then(Ue,Ge);Ke((ze=ze.apply(Ee,De)).next())});const Pe=({user:Ee})=>{var De,ze,ft,Be;let[Ue,Ge]=(0,z.useState)(me(ue({},(0,se.useParams)()),{page:1,per_page:10,type:1,sort_by:"",course_group:(0,Ne.dE)()?[Ee.userInfo.course.course_group_id]:[]}));const[Ke,rt]=(0,z.useState)([]);(0,z.useEffect)(()=>{nt()},[]);function nt(){return fe(this,null,function*(){let vt=yield(0,ie.ZP)(`/api/homework_commons/${Ue.categoryId}/hack_messages`,{method:"get",params:me(ue({},Ue),{type:1})});rt(vt)})}return z.createElement("div",{style:{width:1200,margin:"0px auto"}},z.createElement("div",{style:{marginTop:10,display:"flex"}},z.createElement("div",{style:{flex:1,marginRight:30,background:"#fff"}},z.createElement(ve.default,{tabBarStyle:{padding:"0px 10px"},style:{width:"850px"},tabBarExtraContent:(0,Ne.dE)()&&z.createElement(Ie.ZP,{type:"primary",style:{width:88},onClick:()=>{se.history.push(`/classrooms/${Ue.coursesId}/program_homework/${Ue.categoryId}/answer/add`)}},"\u53D1\u8868\u7B54\u7591 "),onChange:vt=>{vt==="1"?Ue.sort_by="":Ue.sort_by="created_at",Ge(ue({},Ue)),nt()}},z.createElement(ve.default.TabPane,{key:"1",tab:"\u6700\u65B0\u56DE\u590D"}),z.createElement(ve.default.TabPane,{key:"2",tab:"\u6700\u65B0\u53D1\u8868"})),((De=Ke==null?void 0:Ke.data)==null?void 0:De.length)<=0&&z.createElement(et.Z,{customText:"\u6682\u65E0\u8BA8\u8BBA"}),(ze=Ke==null?void 0:Ke.data)==null?void 0:ze.map(vt=>z.createElement(y,{item:vt,params:Ue,getdata:nt})),z.createElement("div",{style:{width:"100%",textAlign:"center",marginTop:10}},z.createElement(be.Z,{current:Ue.page,pageSize:Ue.per_page,total:Ke==null?void 0:Ke.count,hideOnSinglePage:!0,onChange:(vt,Tt)=>{Ue.page=vt,Ue.per_page=Tt,Ge(ue({},Ue)),nt()}}))),z.createElement("div",{className:He.Z.right,style:{width:300,height:"100%"}},z.createElement("div",{style:{display:"flex"}},z.createElement("div",{style:{flex:1,display:"flex",alignItems:"center"}},z.createElement("span",{style:{marginRight:3,fontSize:20,fontWeight:600,color:"#000"}},"\u5E7F\u64AD"),z.createElement("img",{width:21,src:ke})," "),(0,Ne.GJ)()&&z.createElement(Ie.ZP,{type:"primary",onClick:()=>{se.history.push(`/classrooms/${Ue.coursesId}/program_homework/${Ue.categoryId}/answer/add`)}},"\u53D1\u5E03\u5E7F\u64AD")),((ft=Ke==null?void 0:Ke.radio_messages)==null?void 0:ft.length)<=0&&z.createElement(et.Z,null),(Be=Ke==null?void 0:Ke.radio_messages)==null?void 0:Be.map(vt=>z.createElement("div",{onClick:()=>{se.history.push(`/classrooms/${Ue.coursesId}/program_homework/${Ue.categoryId}/answer/${vt.id}/detail`)},style:{marginTop:30,cursor:"pointer"}},z.createElement("div",{className:He.Z.title,style:{fontSize:"16px",fontWeight:600}},z.createElement("span",{style:{color:(vt==null?void 0:vt.message_type)===2?"#4C7BE6":"#E17E7E"}},(vt==null?void 0:vt.message_type)===2?"\u3010\u9898\u89E3\u3011":"\u3010\u901A\u77E5\u3011"),z.createElement("span",{title:vt.name},vt.name)),z.createElement("div",{style:{marginTop:15,color:"#5F6368"}},"\u53D1\u8868\u4E8E",vt.created_at))))))};var xe=(0,se.connect)(({user:Ee})=>({user:Ee}))(Pe)},26162:function(bt,yt,te){"use strict";te.d(yt,{Z:function(){return me}});var z=te(59301),se={anchorNavigation:"anchorNavigation___qD4R0",tabs:"tabs___hVMvA",box:"box___Qz1lW",head:"head___WZZdl"},ve=Object.defineProperty,Ie=Object.getOwnPropertySymbols,be=Object.prototype.hasOwnProperty,Ne=Object.prototype.propertyIsEnumerable,ie=(fe,Pe,xe)=>Pe in fe?ve(fe,Pe,{enumerable:!0,configurable:!0,writable:!0,value:xe}):fe[Pe]=xe,et=(fe,Pe)=>{for(var xe in Pe||(Pe={}))be.call(Pe,xe)&&ie(fe,xe,Pe[xe]);if(Ie)for(var xe of Ie(Pe))Ne.call(Pe,xe)&&ie(fe,xe,Pe[xe]);return fe};const He=fe=>React.createElement("svg",et({width:17,height:18,xmlns:"http://www.w3.org/2000/svg"},fe),React.createElement("title",null,"\u88C5\u9970\u70B9"),React.createElement("defs",null,React.createElement("linearGradient",{x1:"100%",y1:"50%",x2:"0%",y2:"50%",id:"dot_svg__a"},React.createElement("stop",{stopColor:"#5EC7EA",offset:"0%"}),React.createElement("stop",{stopColor:"#3055D0",offset:"100%"}))),React.createElement("g",{transform:"translate(0 -1)",fill:"none",fillRule:"evenodd"},React.createElement("path",{d:"m4.342 2.005 11.896 7.138a1 1 0 0 1 0 1.714L4.342 17.995a1 1 0 0 1-1.378-1.362L6.834 10l-3.87-6.633a1 1 0 0 1 1.378-1.362Z",fill:"url(#dot_svg__a)"}),React.createElement("circle",{fill:"#3061D0",cx:2,cy:10,r:2})));var ke="data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTciIGhlaWdodD0iMTgiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGRlZnM+PGxpbmVhckdyYWRpZW50IHgxPSIxMDAlIiB5MT0iNTAlIiB4Mj0iMCUiIHkyPSI1MCUiIGlkPSJhIj48c3RvcCBzdG9wLWNvbG9yPSIjNUVDN0VBIiBvZmZzZXQ9IjAlIi8+PHN0b3Agc3RvcC1jb2xvcj0iIzMwNTVEMCIgb2Zmc2V0PSIxMDAlIi8+PC9saW5lYXJHcmFkaWVudD48L2RlZnM+PGcgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoMCAtMSkiIGZpbGw9Im5vbmUiIGZpbGwtcnVsZT0iZXZlbm9kZCI+PHBhdGggZD0ibTQuMzQyIDIuMDA1IDExLjg5NiA3LjEzOGExIDEgMCAwIDEgMCAxLjcxNEw0LjM0MiAxNy45OTVhMSAxIDAgMCAxLTEuMzc4LTEuMzYyTDYuODM0IDEwbC0zLjg3LTYuNjMzYTEgMSAwIDAgMSAxLjM3OC0xLjM2MloiIGZpbGw9InVybCgjYSkiLz48Y2lyY2xlIGZpbGw9IiMzMDYxRDAiIGN4PSIyIiBjeT0iMTAiIHI9IjIiLz48L2c+PC9zdmc+",Ze=te(99313),Me=te(92310),ye=te.n(Me),re=te(59301),a=Object.defineProperty,y=Object.defineProperties,b=Object.getOwnPropertyDescriptors,E=Object.getOwnPropertySymbols,x=Object.prototype.hasOwnProperty,ee=Object.prototype.propertyIsEnumerable,ne=(fe,Pe,xe)=>Pe in fe?a(fe,Pe,{enumerable:!0,configurable:!0,writable:!0,value:xe}):fe[Pe]=xe,oe=(fe,Pe)=>{for(var xe in Pe||(Pe={}))x.call(Pe,xe)&&ne(fe,xe,Pe[xe]);if(E)for(var xe of E(Pe))ee.call(Pe,xe)&&ne(fe,xe,Pe[xe]);return fe},ae=(fe,Pe)=>y(fe,b(Pe)),me=({dataSource:fe,className:Pe,style:xe})=>{const[Ee,De]=(0,z.useState)([]),[ze,ft]=(0,z.useState)(""),Be=(0,z.useRef)("");(0,z.useEffect)(()=>{if(fe!=null&&fe.length){const Ke=String(Math.random()).slice(-6),rt=fe.map(nt=>ae(oe({},nt),{key:`${Ke}-${nt.key}`}));De(rt),ft(rt[0].key)}},[fe.length]);const Ue=Ke=>{ft(Ke),Be.current=Ke;const rt=document.getElementById(Ke);if(rt){const nt=rt.getBoundingClientRect().top+window.scrollY-50;window.scrollTo({top:nt,behavior:"smooth"})}},Ge=()=>{const Ke=Ee.map(nt=>document.getElementById(nt.key)),rt=window.innerHeight/2;for(const nt of Ke)if(nt){const vt=nt.getBoundingClientRect();if(vt.top>=0&&vt.top<rt){if(Be.current===nt.id){Be.current="";return}if(Be.current)return;ft(nt.id);break}}};return(0,z.useEffect)(()=>(window.addEventListener("scroll",Ge),()=>{window.removeEventListener("scroll",Ge)}),[Ee]),re.createElement("div",{className:ye()(se.anchorNavigation,Pe),style:xe},re.createElement(Ze.default,{items:Ee,tabBarGutter:60,className:se.tabs,activeKey:ze,onChange:Ue}),Ee.map(Ke=>re.createElement("div",{key:Ke.key,id:Ke.key,className:se.box},re.createElement("div",{className:se.head},re.createElement("img",{className:"mr10",src:ke,alt:"Dot"}),Ke.label),re.createElement("div",{className:se.element},Ke.element))))}},50377:function(bt,yt,te){"use strict";var z=te(59301),se=te(43418),ve=te(8591),Ie=te(82093),be=te(76560),Ne=Object.defineProperty,ie=Object.getOwnPropertySymbols,et=Object.prototype.hasOwnProperty,He=Object.prototype.propertyIsEnumerable,ke=(a,y,b)=>y in a?Ne(a,y,{enumerable:!0,configurable:!0,writable:!0,value:b}):a[y]=b,Ze=(a,y)=>{for(var b in y||(y={}))et.call(y,b)&&ke(a,b,y[b]);if(ie)for(var b of ie(y))He.call(y,b)&&ke(a,b,y[b]);return a},Me=(a,y)=>{var b={};for(var E in a)et.call(a,E)&&y.indexOf(E)<0&&(b[E]=a[E]);if(a!=null&&ie)for(var E of ie(a))y.indexOf(E)<0&&He.call(a,E)&&(b[E]=a[E]);return b},ye=(a,y,b)=>new Promise((E,x)=>{var ee=ae=>{try{oe(b.next(ae))}catch(ue){x(ue)}},ne=ae=>{try{oe(b.throw(ae))}catch(ue){x(ue)}},oe=ae=>ae.done?E(ae.value):Promise.resolve(ae.value).then(ee,ne);oe((b=b.apply(a,y)).next())});const re=a=>{var y=a,{shixunHomeworks:b,dispatch:E}=y,x=Me(y,["shixunHomeworks","dispatch"]);const ee=(0,be.useParams)();return z.createElement(se.default,{centered:!0,title:"\u63D0\u793A",open:b.actionTabs.key==="\u6253\u56DE\u91CD\u505A",okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",onOk:()=>ye(void 0,null,function*(){(yield(0,Ie.ZP)(`/api/myshixuns/${b.actionTabs.selectArrs.myshixun_identifier}/reset_my_game.json`,{method:"GET",params:{course_id:ee.coursesId}})).shixun_identifier&&(ve.ZP.success("\u64CD\u4F5C\u6210\u529F"),E({type:"shixunHomeworks/setActionTabs",payload:{}}),E({type:"shixunHomeworks/getWorkList",payload:Ze({},b.actionTabs.params)}))}),onCancel:()=>{E({type:"shixunHomeworks/setActionTabs",payload:{}})}},z.createElement("p",null,"\u8BE5\u4F5C\u4E1A\u5C06\u88AB\u6253\u56DE\u91CD\u505A\uFF0C\u5B66\u751F\u5B9E\u8BAD\u8BB0\u5F55\u5C06\u88AB\u6E05\u7A7A!"),z.createElement("p",null,"\u786E\u5B9A\u6253\u56DE?"))};yt.Z=(0,be.connect)(({shixunHomeworks:a})=>({shixunHomeworks:a}))(re)},61934:function(bt,yt,te){"use strict";te.d(yt,{n:function(){return Ft},Z:function(){return fn}});var z=te(59301),se=te(78241),ve=te(8591),Ie=te(6848),be=te(43418),Ne=te(20834),ie=te(24905),et=te(95237),He=te(43604),ke=te(92832),Ze=te(3113),Me=te(38854),ye=te(1710),re=te(5112),a=te(5871),y=te(58421),b=te(84105),E=te(87395),x=te(67921),ee=te(89489),ne=te(57884),oe=te(49661),ae=te(50377),ue=te(96512),me=te(82093),fe=te(76560),Pe=Object.defineProperty,xe=Object.getOwnPropertySymbols,Ee=Object.prototype.hasOwnProperty,De=Object.prototype.propertyIsEnumerable,ze=(dt,Bt,Et)=>Bt in dt?Pe(dt,Bt,{enumerable:!0,configurable:!0,writable:!0,value:Et}):dt[Bt]=Et,ft=(dt,Bt)=>{for(var Et in Bt||(Bt={}))Ee.call(Bt,Et)&&ze(dt,Et,Bt[Et]);if(xe)for(var Et of xe(Bt))De.call(Bt,Et)&&ze(dt,Et,Bt[Et]);return dt},Be=(dt,Bt)=>{var Et={};for(var tn in dt)Ee.call(dt,tn)&&Bt.indexOf(tn)<0&&(Et[tn]=dt[tn]);if(dt!=null&&xe)for(var tn of xe(dt))Bt.indexOf(tn)<0&&De.call(dt,tn)&&(Et[tn]=dt[tn]);return Et},Ue=(dt,Bt,Et)=>new Promise((tn,Vt)=>{var sn=rn=>{try{pn(Et.next(rn))}catch($n){Vt($n)}},Un=rn=>{try{pn(Et.throw(rn))}catch($n){Vt($n)}},pn=rn=>rn.done?tn(rn.value):Promise.resolve(rn.value).then(sn,Un);pn((Et=Et.apply(dt,Bt)).next())});const Ge=dt=>{var Bt=dt,{shixunHomeworks:Et,dispatch:tn}=Bt,Vt=Be(Bt,["shixunHomeworks","dispatch"]);const sn=(0,fe.useParams)(),[Un,pn]=(0,z.useState)(!0),[rn,$n]=(0,z.useState)(!1),[_t]=se.default.useForm(),kt=()=>Ue(void 0,null,function*(){const Jt=_t.getFieldValue();(yield(0,me.ZP)(`/api/homework_commons/${sn.categoryId}/batch_comment.json`,{method:"post",body:{student_work_ids:[...Et.actionTabs.selectArrs],cover_all:Un,hidden_comment:Jt.hidden_comment,comment:Jt.comment}})).status===0&&(ve.ZP.success("\u8BC4\u9605\u6210\u529F"),_t.resetFields(),tn({type:"shixunHomeworks/setActionTabs",payload:{}}),tn({type:"shixunHomeworks/getWorkList",payload:ft({},Et.actionTabs.params)}))});return z.createElement(z.Fragment,null,z.createElement(be.default,{centered:!0,title:"\u4E00\u952E\u70B9\u8BC4",open:Et.actionTabs.key==="\u4E00\u952E\u70B9\u8BC4",okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",onOk:()=>Ue(void 0,null,function*(){const Jt=_t.getFieldValue();JSON.stringify(Jt)==="{}"||Jt.hidden_comment===""&&Jt.comment===""?$n(!0):Et.workList.partial_comment?tn({type:"shixunHomeworks/setActionTabs",payload:{key:"\u4E00\u952E\u70B9\u8BC4\u786E\u8BA4",selectArrs:Et.actionTabs.selectArrs,params:Et.actionTabs.params}}):kt()}),onCancel:()=>{tn({type:"shixunHomeworks/setActionTabs",payload:{}})}},z.createElement(se.default,{form:_t,onChange:()=>{rn&&$n(!1)}},z.createElement("p",null,"\u5B66\u751F\u548C\u8BFE\u5802\u8001\u5E08\u53EF\u89C1"),z.createElement(se.default.Item,{name:"comment"},z.createElement(ke.default.TextArea,{placeholder:"\u8BF7\u8F93\u5165\u8BC4\u9605\u5185\u5BB9",rows:8})),z.createElement("p",null,"\u4EC5\u8BFE\u5802\u8001\u5E08\u53EF\u89C1"),z.createElement(se.default.Item,{name:"hidden_comment"},z.createElement(ke.default.TextArea,{placeholder:"\u8BF7\u8F93\u5165\u8BC4\u9605\u5185\u5BB9",rows:8}))),rn&&z.createElement("p",{className:"c-red"},"\u8BC4\u9605\u5185\u5BB9\u81F3\u5C11\u6709\u4E00\u4E2A\u4E0D\u4E3A\u7A7A")),z.createElement(be.default,{centered:!0,title:z.createElement("span",null,z.createElement(ue.Z,{className:"c-orange mr20"}),"\u63D0\u793A"),open:Et.actionTabs.key==="\u4E00\u952E\u70B9\u8BC4\u786E\u8BA4",okText:"\u786E\u5B9A\u70B9\u8BC4",cancelText:"\u653E\u5F03\u70B9\u8BC4",onOk:()=>{kt()},onCancel:()=>{tn({type:"shixunHomeworks/setActionTabs",payload:{}})},width:400},z.createElement("div",{className:"tc"},z.createElement("p",null,"\u90E8\u5206\u5B66\u751F\u5DF2\u6709\u70B9\u8BC4\u5185\u5BB9\uFF0C\u662F\u5426\u8986\u76D6\u5DF2\u6709\u70B9\u8BC4\u5185\u5BB9\uFF1F"),z.createElement("p",null,z.createElement(re.ZP.Group,{onChange:Jt=>{pn(Jt.target.value)},value:Un},z.createElement(re.ZP,{value:!0},"\u8986\u76D6\u5DF2\u6709\u70B9\u8BC4"),z.createElement(re.ZP,{value:!1},"\u8DF3\u8FC7\u5DF2\u6709\u70B9\u8BC4"))))))};var Ke=(0,fe.connect)(({shixunHomeworks:dt})=>({shixunHomeworks:dt}))(Ge),rt=te(45278),nt=te(34055),vt={wrap:"wrap___altfw",maxWidth70:"maxWidth70___Q4NoO",maxWidth80:"maxWidth80___lwsmt",maxWidth100:"maxWidth100___Wnsw8",maxWidth110:"maxWidth110___zQh0P",maxWidth120:"maxWidth120___gjwfa",reviewStatusTooltip:"reviewStatusTooltip___um7Rt",color32C:"color32C___GIjgW",MdEditor:"MdEditor___OuyKH",tr1:"tr1___nwwbX",TableDom:"TableDom___pl59W"},Tt=Object.getOwnPropertySymbols,Yt=Object.prototype.hasOwnProperty,Xe=Object.prototype.propertyIsEnumerable,st=(dt,Bt)=>{var Et={};for(var tn in dt)Yt.call(dt,tn)&&Bt.indexOf(tn)<0&&(Et[tn]=dt[tn]);if(dt!=null&&Tt)for(var tn of Tt(dt))Bt.indexOf(tn)<0&&Xe.call(dt,tn)&&(Et[tn]=dt[tn]);return Et},Lt=(dt,Bt,Et)=>new Promise((tn,Vt)=>{var sn=rn=>{try{pn(Et.next(rn))}catch($n){Vt($n)}},Un=rn=>{try{pn(Et.throw(rn))}catch($n){Vt($n)}},pn=rn=>rn.done?tn(rn.value):Promise.resolve(rn.value).then(sn,Un);pn((Et=Et.apply(dt,Bt)).next())});const It=dt=>{var Bt=dt,{shixunHomeworks:Et,dispatch:tn}=Bt,Vt=st(Bt,["shixunHomeworks","dispatch"]),sn,Un,pn,rn;const $n=(0,fe.useParams)(),[_t,kt]=(0,z.useState)(!1),[Jt,Ea]=(0,z.useState)((Un=(sn=Et.actionTabs.selectArrs)==null?void 0:sn.data)==null?void 0:Un.name),[qn]=se.default.useForm();(0,z.useEffect)(()=>{var Ga,La,Ar,Cr,Qa,tt;Et.actionTabs.key==="\u66F4\u6539\u70B9\u8BC4"&&qn.setFieldsValue({comment:(La=(Ga=Et.actionTabs.selectArrs)==null?void 0:Ga.data)==null?void 0:La.work_comment,hidden_comment:(Cr=(Ar=Et.actionTabs.selectArrs)==null?void 0:Ar.data)==null?void 0:Cr.work_comment_hidden}),Ea((tt=(Qa=Et.actionTabs.selectArrs)==null?void 0:Qa.data)==null?void 0:tt.name)},[Et.actionTabs.key]);const Rn=()=>Lt(void 0,null,function*(){var Ga,La;const Ar=qn.getFieldValue();if((yield(0,me.ZP)(`/api/student_works/${(La=(Ga=Et.actionTabs.selectArrs)==null?void 0:Ga.data)==null?void 0:La.homeworkId}/shixun_work_comment.json`,{method:"post",body:{hidden_comment:Ar.hidden_comment,comment:Ar.comment}})).status===0)return ve.ZP.success("\u8BC4\u9605\u6210\u529F"),qn.resetFields(),tn({type:"shixunHomeworks/setActionTabs",payload:{}}),tn({type:"shixunHomeworks/getWorkList",payload:$n})});return z.createElement(z.Fragment,null,z.createElement(be.default,{centered:!0,title:(rn=(pn=Et.actionTabs.selectArrs)==null?void 0:pn.data)!=null&&rn.work_comment_hidden?"\u66F4\u6539"+Jt+"\u70B9\u8BC4":Jt+"\u70B9\u8BC4",open:Et.actionTabs.key==="\u66F4\u6539\u70B9\u8BC4",okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",onOk:()=>Lt(void 0,null,function*(){const Ga=qn.getFieldValue();JSON.stringify(Ga)==="{}"||Ga.hidden_comment===""&&Ga.comment===""?kt(!0):Rn()}),onCancel:()=>{tn({type:"shixunHomeworks/setActionTabs",payload:{}})}},z.createElement(se.default,{form:qn,onChange:()=>{_t&&kt(!1)}},z.createElement("p",null,"\u5B66\u751F\u548C\u8BFE\u5802\u8001\u5E08\u53EF\u89C1"),z.createElement(se.default.Item,{name:"comment"},z.createElement(ke.default.TextArea,{placeholder:"\u8BF7\u8F93\u5165\u8BC4\u9605\u5185\u5BB9",rows:8})),z.createElement("p",null,"\u4EC5\u8BFE\u5802\u8001\u5E08\u53EF\u89C1"),z.createElement(se.default.Item,{name:"hidden_comment"},z.createElement(ke.default.TextArea,{placeholder:"\u8BF7\u8F93\u5165\u8BC4\u9605\u5185\u5BB9",rows:8}))),_t&&z.createElement("p",{className:"c-red"},"\u8BC4\u9605\u5185\u5BB9\u81F3\u5C11\u6709\u4E00\u4E2A\u4E0D\u4E3A\u7A7A")))};var St=(0,fe.connect)(({shixunHomeworks:dt})=>({shixunHomeworks:dt}))(It),dn=Object.getOwnPropertySymbols,Fe=Object.prototype.hasOwnProperty,Xt=Object.prototype.propertyIsEnumerable,Kt=(dt,Bt)=>{var Et={};for(var tn in dt)Fe.call(dt,tn)&&Bt.indexOf(tn)<0&&(Et[tn]=dt[tn]);if(dt!=null&&dn)for(var tn of dn(dt))Bt.indexOf(tn)<0&&Xt.call(dt,tn)&&(Et[tn]=dt[tn]);return Et},jn=(dt,Bt,Et)=>new Promise((tn,Vt)=>{var sn=rn=>{try{pn(Et.next(rn))}catch($n){Vt($n)}},Un=rn=>{try{pn(Et.throw(rn))}catch($n){Vt($n)}},pn=rn=>rn.done?tn(rn.value):Promise.resolve(rn.value).then(sn,Un);pn((Et=Et.apply(dt,Bt)).next())});const Pt=dt=>{var Bt=dt,{shixunHomeworks:Et,dispatch:tn}=Bt,Vt=Kt(Bt,["shixunHomeworks","dispatch"]);const sn=(0,fe.useParams)(),[Un,pn]=(0,z.useState)([]),[rn,$n]=(0,z.useState)([]);(0,z.useEffect)(()=>{Et.actionTabs.key==="\u8D28\u91CF\u68C0\u6D4B"&&_t()},[Et.actionTabs.key]);function _t(){return jn(this,null,function*(){const Jt=yield(0,me.ZP)(`/api/homework_commons/${sn.categoryId}/code_quality_analyses/group_list.json`,{method:"GET",params:{page:1,limit:200}});pn(Jt)})}const kt=[{title:"\u5206\u73ED\u60C5\u51B5",dataIndex:"name"},{title:"\u6709\u6548\u4F5C\u54C1\u6570",dataIndex:"works_count"},{title:"\u68C0\u6D4B\u8FDB\u5EA6",dataIndex:"status"},{title:"\u4E0A\u6B21\u8BC4\u5206\u65F6\u95F4",dataIndex:"last_analysis_time"}];return z.createElement(z.Fragment,null,z.createElement(be.default,{centered:!0,title:"\u4EE3\u7801\u8D28\u91CF\u8BC4\u5206",open:Et.actionTabs.key==="\u8D28\u91CF\u68C0\u6D4B",width:700,okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",onOk:()=>jn(void 0,null,function*(){const Jt=yield(0,me.ZP)(`/api/homework_commons/${sn.categoryId}/code_quality_analyses.json`,{method:"POST",body:{group_ids:rn}});(Jt==null?void 0:Jt.status)===0&&(fe.history.replace(`/classrooms/${sn.coursesId}/shixun_homework/${sn.categoryId}/detail?tabs=4`),window.location.reload(),tn({type:"shixunHomeworks/setActionTabs",payload:{}}),$n([]))}),onCancel:()=>{$n([]),tn({type:"shixunHomeworks/setActionTabs",payload:{}})}},z.createElement(ye.default,{rowSelection:{type:"checkbox",onChange:(Jt,Ea)=>{$n([...Jt])},selectedRowKeys:rn,getCheckboxProps:Jt=>({disabled:Jt.status==="\u8FDB\u884C\u4E2D"||Jt.works_count===0})},rowKey:Jt=>Jt.key||Jt.id,scroll:{y:300},pagination:!1,columns:kt,dataSource:Un==null?void 0:Un.group_list})))};var qe=(0,fe.connect)(({shixunHomeworks:dt})=>({shixunHomeworks:dt}))(Pt),lt=te(89389),it=te(30975),Oe=Object.defineProperty,pt=Object.getOwnPropertySymbols,gt=Object.prototype.hasOwnProperty,Le=Object.prototype.propertyIsEnumerable,he=(dt,Bt,Et)=>Bt in dt?Oe(dt,Bt,{enumerable:!0,configurable:!0,writable:!0,value:Et}):dt[Bt]=Et,je=(dt,Bt)=>{for(var Et in Bt||(Bt={}))gt.call(Bt,Et)&&he(dt,Et,Bt[Et]);if(pt)for(var Et of pt(Bt))Le.call(Bt,Et)&&he(dt,Et,Bt[Et]);return dt},We=(dt,Bt,Et)=>new Promise((tn,Vt)=>{var sn=rn=>{try{pn(Et.next(rn))}catch($n){Vt($n)}},Un=rn=>{try{pn(Et.throw(rn))}catch($n){Vt($n)}},pn=rn=>rn.done?tn(rn.value):Promise.resolve(rn.value).then(sn,Un);pn((Et=Et.apply(dt,Bt)).next())});const we=({shixunHomeworks:dt,dispatch:Bt,isShow:Et,setIsShow:tn,item:Vt,coursesId:sn,categoryId:Un})=>{const[pn,rn]=(0,z.useState)({page:1,limit:10}),[$n,_t]=(0,z.useState)([]),[kt,Jt]=(0,z.useState)(!1);(0,z.useEffect)(()=>{Et&&Ea()},[Et]);function Ea(){return We(this,null,function*(){Jt(!0);const Rn=yield(0,me.ZP)(`/api/student_works/${Vt.id}/game_details.json`,{method:"get",params:je({},pn)});Jt(!1),Rn.status===0&&_t(Rn==null?void 0:Rn.data)})}const qn=[{title:"\u5E8F\u53F7",dataIndex:"number",width:50,fixed:"left",ellipsis:!0,render:(Rn,Ga,La)=>z.createElement("span",{style:{color:"#000"}},pn.limit*(pn.page-1)+La+1)},{title:"\u4EFB\u52A1\u540D\u79F0",dataIndex:"name",key:"name",ellipsis:!0,render:(Rn,Ga,La)=>z.createElement("span",{style:{color:"#000"}},Rn)},{title:"\u901A\u5173\u8BE6\u60C5",dataIndex:"complete_status",key:"complete_status",ellipsis:!0,width:100,render:(Rn,Ga,La)=>z.createElement("span",null,Rn==0?"\u672A\u901A\u5173":Rn==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:(Rn,Ga,La)=>z.createElement("span",{style:{color:"#333"}},Rn)},{title:"\u5B9E\u8BAD\u8017\u65F6",dataIndex:"time_consuming",key:"time_consuming",width:120,ellipsis:!0,render:(Rn,Ga,La)=>z.createElement("span",{style:{color:"#333"}},Rn)}];return z.createElement(z.Fragment,null,z.createElement(be.default,{centered:!0,title:"\u901A\u5173\u60C5\u51B5",open:Et,width:700,footer:null,maskClosable:!1,onCancel:()=>{pn.page=1,pn.limit=10,rn(je({},pn)),tn(!1)}},z.createElement("div",{style:{display:"flex",justifyContent:"flex-start",alignItems:"center",marginBottom:"20px"}},z.createElement("div",{style:{maxWidth:"200px",textOverflow:"ellipsis",whiteSpace:"nowrap",overflow:"hidden",WebkitLineClamp:1}},z.createElement("span",{style:{color:"#666",marginRight:"10px"}},"\u5B66\u751F\u59D3\u540D"),z.createElement("span",{title:Vt==null?void 0:Vt.user_name,style:{color:"#232B40"}},Vt==null?void 0:Vt.user_name)),z.createElement("div",{style:{marginLeft:"50px",marginRight:"50px",maxWidth:"180px",textOverflow:"ellipsis",whiteSpace:"nowrap",overflow:"hidden",WebkitLineClamp:1}},z.createElement("span",{style:{color:"#666",marginRight:"10px"}},"\u5B66\u53F7"),z.createElement("span",{title:Vt==null?void 0:Vt.student_id,style:{color:"#232B40"}},(Vt==null?void 0:Vt.student_id)||"--")),z.createElement("div",{style:{maxWidth:"200px",textOverflow:"ellipsis",whiteSpace:"nowrap",overflow:"hidden",WebkitLineClamp:1}},z.createElement("span",{style:{color:"#666",marginRight:"10px"}},"\u73ED\u7EA7"),z.createElement("span",{title:Vt==null?void 0:Vt.group_name,style:{color:"#232B40"}},(Vt==null?void 0:Vt.group_name)||"--"))),z.createElement(ye.default,{scroll:{y:380},columns:qn,loading:kt,style:{marginBottom:pn.limit>($n==null?void 0:$n.count)?"16px":"0"},dataSource:$n.games,pagination:{size:"default",showQuickJumper:!0,showSizeChanger:!0,pageSizeOptions:["10","15","50","100","200"],hideOnSinglePage:!0,pageSize:pn.limit,current:pn.page,position:["bottomRight"],onChange:(Rn,Ga)=>{pn.page=Rn,pn.limit=Ga,rn(je({},pn)),Ea()},total:$n==null?void 0:$n.count,showTotal:(Rn,Ga)=>z.createElement("span",null,"\u5171",z.createElement("span",{style:{color:"#165DFF"}}," ",Rn," "),"\u6761\u6570\u636E")}})))};var mt=(0,fe.connect)(({shixunHomeworks:dt})=>({shixunHomeworks:dt}))(we),Je=te(59301),jt=Object.defineProperty,Se=Object.getOwnPropertySymbols,ut=Object.prototype.hasOwnProperty,wt=Object.prototype.propertyIsEnumerable,Ae=(dt,Bt,Et)=>Bt in dt?jt(dt,Bt,{enumerable:!0,configurable:!0,writable:!0,value:Et}):dt[Bt]=Et,_e=(dt,Bt)=>{for(var Et in Bt||(Bt={}))ut.call(Bt,Et)&&Ae(dt,Et,Bt[Et]);if(Se)for(var Et of Se(Bt))wt.call(Bt,Et)&&Ae(dt,Et,Bt[Et]);return dt},ct=(dt,Bt,Et)=>new Promise((tn,Vt)=>{var sn=rn=>{try{pn(Et.next(rn))}catch($n){Vt($n)}},Un=rn=>{try{pn(Et.throw(rn))}catch($n){Vt($n)}},pn=rn=>rn.done?tn(rn.value):Promise.resolve(rn.value).then(sn,Un);pn((Et=Et.apply(dt,Bt)).next())});const Ft=({value:dt,placeholder:Bt=""})=>{if(dt==null||dt==="")return Je.createElement("span",null,Bt);{const Et=Number(dt);if(Et>=80)return Je.createElement("span",{style:{color:"#009C0F"}},Et);if(Et<80&&Et>=60)return Je.createElement("span",{style:{color:"#FA6400"}},Et);if(Et<60)return Je.createElement("span",{style:{color:"#E30000"}},Et)}},zt=({shixunHomeworks:dt,classroomList:Bt,globalSetting:Et,loading:tn,dispatch:Vt,setExportParams:sn,user:Un})=>{var pn,rn,$n,_t,kt,Jt,Ea,qn,Rn,Ga,La,Ar,Cr;const Qa=(0,fe.useParams)(),[tt,Rt]=(0,z.useState)(_e(_e({},{page:1,limit:20,order:"work_score",b_order:"desc"}),Qa)),[Dt]=se.default.useForm(),[Zn,cn]=(0,z.useState)(),[On,Xr]=(0,z.useState)({}),[Er,Kr]=(0,z.useState)([]),[oo,Xa]=(0,z.useState)(!1),[In,ur]=(0,z.useState)([]),[nr,sr]=(0,z.useState)(!1),[er,ht]=(0,z.useState)(),[en,nn]=(0,z.useState)(1),[yn,Tn]=(0,z.useState)(),[mn,Nn]=(0,z.useState)(),[En,ar]=(0,z.useState)(),[Ra,gn]=(0,z.useState)(),[io,to]=(0,z.useState)(),[no,Mo]=(0,z.useState)(!1),[ea,Aa]=(0,z.useState)(!1),[dr,pa]=(0,z.useState)(),jr=(0,fe.useLocation)();(0,z.useEffect)(()=>(Ir(),()=>{Xr([]),Kr([])}),[tt.coursesId]),(0,z.useEffect)(()=>{var _n;const Ia=JSON.parse(JSON.stringify(dt.workList));!((_n=Ia==null?void 0:Ia.student_works)!=null&&_n.length)&&(Ia!=null&&Ia.id)?(Ia.student_works=[_e({},Ia)],Xr(Ia)):(Ia!=null&&Ia.id&&Kr([_e(_e({},Ia),{number:"\u6211"})]),Xr(_e({},Ia)))},[dt.workList]);const Ir=_n=>(sn(_e({},tt)),Vt({type:"shixunHomeworks/getWorkList",payload:tt}));(0,z.useEffect)(()=>{Vt({type:"user/getUserInfo",payload:{course_id:tt.coursesId}})},[]);const br=()=>ct(void 0,null,function*(){const _n=yield(0,rt.Uc)({categoryId:Qa.categoryId});cn(_n==null?void 0:_n.update_score)}),po=()=>ct(void 0,null,function*(){Vt({type:"globalSetting/setGlobalLoading",payload:{show:!0,text:"\u6210\u7EE9\u8BA1\u7B97\u4E2D\uFF0C\u8BF7\u7A0D\u5019..."}});const _n=yield(0,rt.Vs)({categoryId:Qa.categoryId});Vt({type:"globalSetting/setGlobalLoading",payload:{show:!1,text:""}}),(_n==null?void 0:_n.status)===0&&(ve.ZP.success(_n==null?void 0:_n.message),Ir())}),Lo=()=>{tt.page=1;const _n=Object.assign({},Dt.getFieldsValue());delete tt.course_group,delete tt.teacher_comment,Object.keys(_n).map(function(Ia){var co;switch(Ia){case"task_status":_n[Ia].includes("all")||!_n[Ia].length?(delete tt.work_status,Dt.setFieldsValue({task_status:"all"})):(tt.work_status=_n[Ia],Dt.setFieldsValue({task_status:tt.work_status}));break;case"course_group_info":_n[Ia].includes("all")||!_n[Ia].length?(delete tt.course_group,Dt.setFieldsValue({course_group_info:"all"})):(tt.course_group=_n[Ia],Dt.setFieldsValue({course_group_info:tt.course_group}));break;case"teacher_comment":_n[Ia].includes("all")||!_n[Ia].length?(delete tt.teacher_comment,Dt.setFieldsValue({teacher_comment:"all"})):(tt.teacher_comment=((co=_n[Ia])==null?void 0:co.length)===1?Number(_n[Ia][0]):"",Dt.setFieldsValue({teacher_comment:_n[Ia]}));break}}),Ir()};(0,z.useEffect)(()=>{document.getElementById("divhe")&&document.getElementById("divhe").scrollHeight>47&&(to(47),Mo(!0))},[document.getElementById("divhe")]);const Oi=(_n,Ia)=>{tt.page=_n,tt.limit=20,Ir()};function vi(){nn(1),Tn(""),Nn(""),ar(""),gn(""),ur([])}const Ei=[{title:"\u5E8F\u53F7",dataIndex:"number",align:"center",width:50,fixed:"left",ellipsis:!0,render:(_n,Ia,co)=>tt.limit*(tt.page-1)+co+1},{title:"\u59D3\u540D",dataIndex:"user_name",align:"center",width:110,fixed:"left",ellipsis:!0,render:_n=>Je.createElement(Ie.Z,{placement:"bottomLeft",title:_n},Je.createElement("span",{className:"current"},_n))},!(0,nt.Jd)()&&{title:"\u5B66\u53F7",dataIndex:"student_id",align:"center",sorter:!0,fixed:"left",width:100,ellipsis:!0,showSorterTooltip:!1,sortOrder:tt.order==="student_id"?tt.b_order==="desc"?"descend":"ascend":null,render:_n=>Je.createElement(Ie.Z,{placement:"bottomLeft",title:_n||"--"},Je.createElement("span",{className:"current"},_n||"--"))},{title:"\u5206\u73ED",dataIndex:"group_name",align:"center",width:100,fixed:"left",ellipsis:!0,render:(_n,Ia)=>_n?Je.createElement(Ie.Z,{placement:"bottom",title:_n},Je.createElement("span",{className:"current"},_n)):"--"},{title:"\u4F5C\u4E1A\u72B6\u6001",dataIndex:"work_status",align:"center",width:94,ellipsis:!0,fixed:"left",sorter:!0,showSorterTooltip:!1,sortOrder:tt.order==="work_status"?tt.b_order==="desc"?"descend":"ascend":null,render:_n=>Je.createElement(oe.lC,{status:_n})},{title:"\u5B8C\u6210\u65F6\u95F4",align:"center",dataIndex:"achieve_time",ellipsis:!0,sorter:!0,sortOrder:tt.order==="achieve_time"?tt.b_order==="desc"?"descend":"ascend":null,render:(_n,Ia)=>Je.createElement(Ie.Z,{placement:"bottomLeft",title:_n},Je.createElement("span",{className:"current"},_n))},{title:"\u901A\u8FC7\u60C5\u51B5",align:"center",dataIndex:"achieve_info",ellipsis:!0,render:(_n,Ia)=>Je.createElement("span",{onClick:co=>{var xo;co.stopPropagation(),(xo=On.homework_status)!=null&&xo.includes("\u5BFC\u5165")&&(pa(Ia),Aa(!0))}},_n||"- -")},{title:"\u6700\u7EC8\u6210\u7EE9",align:"center",dataIndex:"score",ellipsis:!0,sorter:!0,sortOrder:tt.order==="work_score"?tt.b_order==="desc"?"descend":"ascend":null,render:(_n,Ia)=>Je.createElement(Ie.Z,{title:Je.createElement(Je.Fragment,null,Je.createElement("div",null,"\u8BD5\u9898\u5F97\u5206\uFF1A",(Ia==null?void 0:Ia.late_final_score)||0),Je.createElement("div",null,"\u8865\u4EA4\u6263\u5206\uFF1A",(Ia==null?void 0:Ia.late_penalty)||0),Je.createElement("div",null,"\u6700\u7EC8\u6210\u7EE9\uFF1A",(Ia==null?void 0:Ia.score)||0))},Ft({value:_n,placeholder:"- -"}))},{title:"\u5B8C\u6210\u65F6\u957F",dataIndex:"achieve_time_long",align:"center",sorter:!0,ellipsis:!0,sortOrder:tt.order==="achieve_time_long"?tt.b_order==="desc"?"descend":"ascend":null,render:(_n,Ia)=>_n&&_n!="--"?Je.createElement(Ie.Z,{placement:"bottom",title:_n},Je.createElement("span",{className:"current"},_n)):"--"},((pn=On.homework_status)==null?void 0:pn.includes("\u5BFC\u5165"))&&{title:"\u8BC4\u6D4B\u6B21\u6570",dataIndex:"sum_evaluate_count",align:"center"},!((rn=On.homework_status)!=null&&rn.includes("\u5BFC\u5165"))&&{title:Je.createElement("span",null,"\u8BC4\u9605\u72B6\u6001"),align:"center",dataIndex:"has_comment",fixed:"right",ellipsis:!0,render:_n=>_n?"\u5DF2\u8BC4\u9605":"\u672A\u8BC4\u9605"},{title:"\u64CD\u4F5C",dataInex:"action",align:"center",fixed:"right",ellipsis:!0,className:"workListTable",render:(_n,Ia)=>{var co;return(co=On.homework_status)!=null&&co.includes("\u5BFC\u5165")?(0,nt.GJ)()?Je.createElement("a",{onClick:xo=>{xo.stopPropagation(),Vt({type:"classroomList/setActionTabs",payload:{key:"\u4FEE\u6539\u6210\u7EE9",id:Ia==null?void 0:Ia.id,type:"normal"}})}},"\u4FEE\u6539\u6210\u7EE9"):Je.createElement("a",{onClick:xo=>{xo.stopPropagation(),pa(Ia),Aa(!0)}},"\u67E5\u770B"):(0,nt.dE)()?Je.createElement("div",null,(0,oe.JL)(Ia==null?void 0:Ia.work_status)==="\u672A\u5F00\u542F"?Je.createElement("span",null,"--"):Je.createElement("a",{onClick:xo=>{var wo;if(xo.stopPropagation(),(0,nt.Rm)()&&!((wo=Bt.AssistantObject.hack)!=null&&wo.can_view)){ve.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/${tt.coursesId}/program_homework/${tt.categoryId}/${Ia.id}/${Ia.user_id}/comment`,"_blank")}},"\u67E5\u770B")):Je.createElement("a",{target:"_blank",onClick:xo=>{var wo,ui;if(xo.stopPropagation(),(0,nt.Rm)()&&!((wo=Bt.AssistantObject.hack)!=null&&wo.can_view)){ve.ZP.warning("\u60A8\u672A\u83B7\u53D6\u6B64\u6743\u9650\uFF0C\u9700\u5411\u8BFE\u5802\u7BA1\u7406\u5458\u7533\u8BF7\u6743\u9650\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD");return}if((ui=Un.userInfo)!=null&&ui.professional_certification)window.open(`/classrooms/${tt.coursesId}/program_homework/${tt.categoryId}/${Ia.id}/${Ia.user_id}/comment`,"_blank");else return be.default.confirm({title:"\u63D0\u793A",centered:!0,content:Je.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(_n=>!!_n),$i=()=>{var _n,Ia;return Je.createElement(Ne.default,null,Je.createElement(Ne.default.Item,{onClick:()=>{var co;if((0,nt.Rm)()&&!((co=Bt.AssistantObject.hack)!=null&&co.can_download)){ve.ZP.warning("\u60A8\u672A\u83B7\u53D6\u6B64\u6743\u9650\uFF0C\u9700\u5411\u8BFE\u5802\u7BA1\u7406\u5458\u7533\u8BF7\u6743\u9650\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD");return}Vt({type:"classroomList/setActionTabs",payload:{key:"\u9009\u62E9\u73ED\u7EA7",title:"\u5BFC\u51FA\u5B66\u751F\u6210\u7EE9",course_groups:On==null?void 0:On.course_group_info,fn:()=>{(0,it.Iy)(JSON.parse(sessionStorage.all_student_works_params),"hack_work_list")}}})},key:"1"},"\u5B66\u751F\u6210\u7EE9"),(0,nt.GJ)()&&((_n=On==null?void 0:On.student_works)==null?void 0:_n.length)>0&&!((Ia=On==null?void 0:On.homework_status)!=null&&Ia.includes("\u5BFC\u5165"))&&Je.createElement(Ne.default.Item,{key:"3",onClick:()=>{var co;if((0,nt.Rm)()&&!((co=Bt.AssistantObject.hack)!=null&&co.can_download)){ve.ZP.warning("\u60A8\u672A\u83B7\u53D6\u6B64\u6743\u9650\uFF0C\u9700\u5411\u8BFE\u5802\u7BA1\u7406\u5458\u7533\u8BF7\u6743\u9650\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD");return}Vt({type:"classroomList/setActionTabs",payload:{key:"\u9009\u62E9\u73ED\u7EA7",title:"\u5BFC\u51FA\u7F16\u7A0B\u62A5\u544A",course_groups:On==null?void 0:On.course_group_info,fn:()=>{var xo,wo,ui,Bi;Vt({type:"shixunHomeworks/setActionTabs",payload:{key:"\u5BFC\u51FA\u7F16\u7A0B\u62A5\u544A",type:2}}),localStorage.setItem("dowolders","1"),fe.history.push(`/classrooms/${tt==null?void 0:tt.coursesId}/program_homework/${tt.categoryId}/${(wo=(xo=On==null?void 0:On.student_works)==null?void 0:xo[0])==null?void 0:wo.id}/${(Bi=(ui=On==null?void 0:On.student_works)==null?void 0:ui[0])==null?void 0:Bi.user_id}/comment`)}}})}},"\u7F16\u7A0B\u62A5\u544A"),Je.createElement(Ne.default.Item,{key:"2",onClick:()=>{var co;if((0,nt.Rm)()&&!((co=Bt.AssistantObject.hack)!=null&&co.can_download)){ve.ZP.warning("\u60A8\u672A\u83B7\u53D6\u6B64\u6743\u9650\uFF0C\u9700\u5411\u8BFE\u5802\u7BA1\u7406\u5458\u7533\u8BF7\u6743\u9650\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD");return}fe.history.push(`/classrooms/${tt.coursesId}/exportlist/hack_work_list`)}},"\u5386\u53F2\u5BFC\u51FA"))};return Je.createElement(Je.Fragment,null,Je.createElement("section",{className:`${vt.wrap} minH500 bg-white pl30 pr30 pt30`},(($n=On.homework_status)==null?void 0:$n.includes("\u672A\u53D1\u5E03"))&&Je.createElement(ne.Z,null),!((_t=On.homework_status)!=null&&_t.includes("\u672A\u53D1\u5E03"))&&Je.createElement("aside",null,!(0,nt.GJ)()&&Je.createElement("div",{className:"c-light-black font12"},Je.createElement("span",null,"\u53D1\u5E03\u65F6\u95F4 ",On==null?void 0:On.publish_time),Je.createElement("span",{className:"ml5"},"\u622A\u6B62\u65F6\u95F4 ",On==null?void 0:On.end_time),Je.createElement("span",{className:"ml5"},"\u8865\u4EA4\u65F6\u95F4 ",(On==null?void 0:On.late_time)||"- -")),(0,nt.GJ)()&&Je.createElement(Je.Fragment,null,Je.createElement(se.default,{form:Dt,onChange:Lo,initialValues:{task_status:"all",course_group_info:"all",teacher_comment:"all"}},((kt=On.task_status)==null?void 0:kt.length)>0&&Je.createElement(se.default.Item,{name:"task_status"},Je.createElement(ie.default.Group,{value:[],style:{width:"100%"}},Je.createElement(et.Z,null,Je.createElement(He.Z,{className:"font14",flex:"80px"},"\u4F5C\u4E1A\u72B6\u6001:"),Je.createElement(He.Z,{flex:"80px"},Je.createElement(ie.default,{value:"all"},"\u5168\u90E8")),Je.createElement(He.Z,{flex:"1"},On.task_status&&On.task_status.map((_n,Ia)=>Je.createElement(ie.default,{name:"task_status",value:_n.id},_n.name,"(",_n.count,")")))))),((Jt=On.course_group_info)==null?void 0:Jt.length)>0&&Je.createElement(se.default.Item,{name:"course_group_info"},Je.createElement(ie.default.Group,{style:{width:"100%"}},Je.createElement(et.Z,null,Je.createElement(He.Z,{className:"font14",flex:"80px"},"\u5206\u73ED\u60C5\u51B5:"),Je.createElement(He.Z,{flex:"80px"},Je.createElement(ie.default,{value:"all"},"\u5168\u90E8")),Je.createElement(He.Z,{flex:"1",id:"divhe",style:{height:io+"px",overflow:"hidden"}},(Ea=On.course_group_info)==null?void 0:Ea.map((_n,Ia)=>Je.createElement(ie.default,{value:_n.course_group_id},_n.group_group_name,"(",_n.count,")"))),no&&Je.createElement("span",{onClick:()=>{let _n=document.getElementById("divhe").scrollHeight;io>47?to(47):to(_n)},style:{color:"rgb(76, 172, 255)",cursor:"pointer",alignItems:"flex-end",display:"flex"}},io===47?"\u5C55\u5F00":"\u6536\u8D77",io===47?Je.createElement(b.Z,{style:{marginBottom:"3px",marginLeft:"2px"}}):Je.createElement(E.Z,{style:{marginBottom:"3px",marginLeft:"2px"}}))))),((qn=On.teacher_comment)==null?void 0:qn.length)>0&&Je.createElement(se.default.Item,{name:"teacher_comment"},Je.createElement(ie.default.Group,{style:{width:"100%"}},Je.createElement(et.Z,null,Je.createElement(He.Z,{className:"font14",flex:"80px"},"\u8FFD\u52A0\u70B9\u8BC4:"),Je.createElement(He.Z,{flex:"80px"},Je.createElement(ie.default,{value:"all"},"\u5168\u90E8")),Je.createElement(He.Z,{flex:"1"},On.teacher_comment&&On.teacher_comment.map((_n,Ia)=>Je.createElement(ie.default,{value:String(_n.id)},_n.name,"(",_n.count,")"))))))),Je.createElement(et.Z,{align:"middle"},Je.createElement(He.Z,{flex:"1"},Je.createElement(et.Z,{align:"middle"},Je.createElement(He.Z,null,Je.createElement(ke.default.Search,{allowClear:!0,placeholder:"\u8BF7\u8F93\u5165\u59D3\u540D\u6216\u8005\u5B66\u53F7\u641C\u7D22",onSearch:_n=>{tt.search=_n.trim(),tt.page=1,Ir()},style:{width:240}})),Je.createElement(He.Z,null,Je.createElement("span",{className:"ml5"},Je.createElement("span",{className:"c-red"},On.work_count),"\u4E2A\u68C0\u7D22\u7ED3\u679C\uFF08",On.work_count,"\u4E2A\u5B66\u751F\uFF09")))),Je.createElement(He.Z,null,(0,nt.GJ)()&&!((Rn=On.homework_status)!=null&&Rn.includes("\u5BFC\u5165"))&&!((Ga=Et==null?void 0:Et.setting)!=null&&Ga.hide_code_repeat)&&Je.createElement(Ze.ZP,{className:"ml10",onClick:()=>{Vt({type:"shixunHomeworks/setActionTabs",payload:{key:"\u4EE3\u7801\u67E5\u91CD",selectArrs:On.student_works.map(_n=>_n.id),params:tt}})}},Je.createElement("span",{className:`${vt.tr1} iconfont icon-daimachazhong`}),"\u4EE3\u7801\u67E5\u91CD"),(0,nt.GJ)()&&!((La=On.homework_status)!=null&&La.includes("\u5BFC\u5165"))&&Je.createElement(Ze.ZP,{className:"ml10",onClick:po},Je.createElement("i",{className:"iconfont icon-gengxinchengji font14 pr5"}),"\u66F4\u65B0\u6210\u7EE9"),(0,nt.GJ)()&&Je.createElement(Me.Z,{dropdownRender:$i,className:"ml10"},Je.createElement(Ze.ZP,null,Je.createElement(x.Z,null),"\u5BFC\u51FA",Je.createElement(ee.Z,null)))))),Je.createElement(et.Z,{style:{justifyContent:"end",marginTop:"5px"}},(0,nt.GJ)()&&Zn&&Je.createElement("span",null,Je.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")),Je.createElement(ye.default,{className:`mt30 ${vt.TableDom}`,loading:tn["shixunHomeworks/getWorkList"],pagination:!1,style:{cursor:"pointer"},onRow:_n=>({onClick:Ia=>{var co,xo;if(!((co=On.homework_status)!=null&&co.includes("\u5BFC\u5165"))){if((0,nt.Rm)()&&!((xo=Bt.AssistantObject.hack)!=null&&xo.can_view)){ve.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/${tt.coursesId}/program_homework/${tt.categoryId}/${_n.id}/${_n.user_id}/comment`,"_blank")}}}),scroll:{x:1200},dataSource:On.student_works,columns:Ei,onChange:(_n,Ia,co)=>{co.field&&(tt.order=co.field==="score"?"work_score":co.field),co.order||(tt.b_order="asc"),co.order==="ascend"&&(tt.b_order="asc"),co.order==="descend"&&(tt.b_order="desc"),co.order||(tt.b_order="asc"),Ir()}}),Je.createElement(Ke,null),Je.createElement(St,null),Je.createElement(ae.Z,null)),Je.createElement(be.default,{title:"\u4E00\u952E\u6253\u56DE\u91CD\u505A",open:oo,centered:!0,destroyOnClose:!0,forceRender:!0,width:700,onOk:()=>ct(void 0,null,function*(){if(en===2){if(In.length<=0){ve.ZP.info("\u8BF7\u9009\u62E9\u4F5C\u4E1A\u72B6\u6001");return}if(!Ra){ve.ZP.info("\u8BC4\u8BED\u4E0D\u80FD\u4E3A\u7A7A");return}let _n=yield(0,me.ZP)(`/api/homework_commons/${tt.categoryId}/confirm_redo_modal.json`,{method:"post",body:{id:tt.categoryId,comment:Ra,status:In}});_n.status===0&&(ht(_n),Xa(!1),sr(!0))}else{if(!(En===0||mn===0)){if(!En){ve.ZP.info("\u6700\u4F4E\u5206\u4E0D\u80FD\u4E3A\u7A7A");return}if(!mn){ve.ZP.info("\u6700\u9AD8\u5206\u4E0D\u80FD\u4E3A\u7A7A");return}}if(En>mn){ve.ZP.info("\u6700\u9AD8\u5206\u4E0D\u80FD\u5927\u4E8E\u6700\u4F4E\u5206");return}if(!Ra){ve.ZP.info("\u8BC4\u8BED\u4E0D\u80FD\u4E3A\u7A7A");return}let _n=yield(0,me.ZP)(`/api/homework_commons/${tt.categoryId}/confirm_redo_modal.json`,{method:"post",body:{id:tt.categoryId,comment:Ra,min_score:En,max_score:mn}});_n.status===0&&(ht(_n),Xa(!1),sr(!0))}}),onCancel:()=>{Xa(!1),vi()}},Je.createElement("div",{style:{padding:"32px"}},Je.createElement("div",null,Je.createElement("div",null,Je.createElement("span",{style:{width:"80px"}},"\u6253\u56DE\u65B9\u5F0F\uFF1A"),Je.createElement(re.ZP.Group,{value:en,onChange:_n=>{nn(_n.target.value)}},Je.createElement(re.ZP,{value:1},"\u6309\u6210\u7EE9\u6253\u56DE"),Je.createElement(re.ZP,{value:2},"\u6309\u4F5C\u4E1A\u72B6\u6001\u6253\u56DE"))),en===1&&Je.createElement("div",{style:{display:"flex",marginTop:"20px"}},Je.createElement("span",{style:{width:"70px",textAlign:"end"}},Je.createElement("span",{style:{color:"red"}},"*"),"\u6700\u4F4E\u5206\uFF1A"),Je.createElement(a.Z,{min:0,max:100,value:En,onChange:_n=>ar(_n),style:{width:"100px"}}),Je.createElement("span",{style:{width:"80px",textAlign:"end"}},Je.createElement("span",{style:{color:"red"}},"*"),"\u6700\u9AD8\u5206\uFF1A"),Je.createElement(a.Z,{min:0,max:100,value:mn,onChange:_n=>Nn(_n),style:{width:"100px"}})),en===2&&Je.createElement("div",{style:{display:"flex",marginTop:"20px"}},Je.createElement("span",{style:{width:"80px"}},"\u4F5C\u4E1A\u72B6\u6001\uFF1A"),Je.createElement(ie.default.Group,{onChange:_n=>{ur([..._n])},style:{width:"100%"}},(Ar=On.task_status)==null?void 0:Ar.map((_n,Ia)=>Je.createElement(ie.default,{name:"task_status",value:_n.id},_n.name,"(",_n.count,")")))),Je.createElement("div",{style:{display:"flex",marginTop:"20px"}},Je.createElement("span",{style:{width:"70px",textAlign:"end"}},Je.createElement("span",{style:{color:"red"}},"*")," \u8BC4\u8BED\uFF1A"),Je.createElement(lt.Z,{className:vt.MdEditor,onChange:_n=>gn(_n),placeholder:"\u8BF7\u586B\u5199\u8BC4\u8BED"}))))),Je.createElement(be.default,{open:nr,title:"\u6253\u56DE\u786E\u8BA4",onOk:()=>ct(void 0,null,function*(){en===2?(yield(0,me.ZP)(`/api/homework_commons/${tt.categoryId}/batch_redo_modal.json`,{method:"post",body:{id:tt.categoryId,comment:Ra,status:In}})).status===0&&(ve.ZP.info("\u6253\u56DE\u6210\u529F"),vi(),Ir(),sr(!1)):(yield(0,me.ZP)(`/api/homework_commons/${tt.categoryId}/batch_redo_modal.json`,{method:"post",body:{id:tt.categoryId,comment:Ra,min_score:En,max_score:mn}})).status===0&&(ve.ZP.info("\u6253\u56DE\u6210\u529F"),vi(),Ir(),sr(!1))}),onCancel:()=>{vi(),sr(!1)}},Je.createElement("div",{style:{padding:"32px"}},en===1&&Je.createElement("span",null,"\u786E\u8BA4\u5C06\u6210\u7EE9\u5728",En,"-",mn,"\u7684\u5B66\u751F\u8FDB\u884C\u6253\u56DE\u91CD\u505A\u5417\uFF1F"),en===2&&Je.createElement("span",null,"\u786E\u8BA4\u5C06\u4F5C\u4E1A\u72B6\u6001\u4E3A",((Cr=On.task_status)==null?void 0:Cr.filter(_n=>In==null?void 0:In.includes(_n.id)).map(_n=>_n.name).toString())+",","\u7684\u5B66\u751F\u8FDB\u884C\u4F5C\u4E1A\u6253\u56DE\u91CD\u505A\u5417\uFF1F"),Je.createElement("br",null),Je.createElement("span",null,"\u8BE5\u6761\u4EF6\u4E0B\u5171\u6709",er==null?void 0:er.count,"\u540D\u5B66\u751F")))),Je.createElement(qe,null),Je.createElement(mt,{isShow:ea,setIsShow:Aa,item:dr,coursesId:tt.coursesId,categoryId:tt.categoryId}),Je.createElement("aside",{className:"tc mb50 mt30"},Je.createElement(y.Z,{showQuickJumper:!0,hideOnSinglePage:!0,showSizeChanger:!1,onChange:Oi,current:tt.page||1,defaultPageSize:20,total:On.work_count})))};var fn=(0,fe.connect)(({shixunHomeworks:dt,classroomList:Bt,globalSetting:Et,loading:tn,user:Vt})=>({shixunHomeworks:dt,classroomList:Bt,globalSetting:Et,loading:tn.effects,user:Vt}))(zt)},93931:function(bt,yt,te){"use strict";te.r(yt),te.d(yt,{default:function(){return rl}});var z=te(59301),se=te(82093),ve=te(76560),Ie=te(8591),be=te(43418),Ne=te(3113),ie=te(66104),et=te(6848),He=te(99313),ke=te(1710),Ze=te(27812),Me=te(49661),ye=te(7664),re=Object.defineProperty,a=Object.getOwnPropertySymbols,y=Object.prototype.hasOwnProperty,b=Object.prototype.propertyIsEnumerable,E=(Ut,Ht,Zt)=>Ht in Ut?re(Ut,Ht,{enumerable:!0,configurable:!0,writable:!0,value:Zt}):Ut[Ht]=Zt,x=(Ut,Ht)=>{for(var Zt in Ht||(Ht={}))y.call(Ht,Zt)&&E(Ut,Zt,Ht[Zt]);if(a)for(var Zt of a(Ht))b.call(Ht,Zt)&&E(Ut,Zt,Ht[Zt]);return Ut},ee=(Ut,Ht,Zt)=>new Promise((ba,Va)=>{var Fa=vn=>{try{Ua(Zt.next(vn))}catch(Za){Va(Za)}},Mn=vn=>{try{Ua(Zt.throw(vn))}catch(Za){Va(Za)}},Ua=vn=>vn.done?ba(vn.value):Promise.resolve(vn.value).then(Fa,Mn);Ua((Zt=Zt.apply(Ut,Ht)).next())});const ne=({shixunHomeworks:Ut,dispatch:Ht})=>{const Zt=(0,ve.useParams)();return z.createElement(be.default,{centered:!0,title:"\u63D0\u793A",open:Ut.actionTabs.key==="\u5220\u9664",okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",onOk:()=>ee(void 0,null,function*(){(yield Ht({type:"shixunHomeworks/deleteReply",payload:{object_id:Ut.actionTabs.selectArr.id,object_type:"journals_for_message"}})).status===0&&(Ie.ZP.success("\u5220\u9664\u6210\u529F"),Ht({type:"shixunHomeworks/setActionTabs",payload:{}}),Ht({type:"shixunHomeworks/getReplyList",payload:x({},Ut.actionTabs.params)}))}),onCancel:()=>{Ht({type:"shixunHomeworks/setActionTabs",payload:{}})}},z.createElement("p",null,"\u786E\u5B9A\u8981\u5220\u9664\u8BE5\u6761\u56DE\u590D\u5417\uFF1F"))};var oe=(0,ve.connect)(({shixunHomeworks:Ut})=>({shixunHomeworks:Ut}))(ne),ae=te(61186),ue=te.n(ae),me=te(90524),fe=te(71418),Pe=te(58421),xe={flex_box_center:"flex_box_center___zN9Rd",flex_space_between:"flex_space_between___OHt3Z",flex_box_vertical_center:"flex_box_vertical_center___xzO8Q",flex_box_center_end:"flex_box_center_end___LuRwh",flex_box_column:"flex_box_column___rEgTS",bg:"bg___F3FV1",top:"top___vNhKr",desc:"desc___IlwMy",deseIconSty:"deseIconSty___gIJAj",liked:"liked___gFxXM",likedActive:"likedActive___bEcK_",reply:"reply___q4nj7",replyList:"replyList___qxCAX",comment:"comment___gIcRF",buttonEdit:"buttonEdit____8SMk",md:"md___cq_mx",maskWrap:"maskWrap___bHoew",desHead:"desHead___Njyrc",mask:"mask___o8p8v",info:"info___V66Uf",upDownSty:"upDownSty___Q_kpi"},Ee="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAALwAAAAgCAYAAACo7RKTAAAAAXNSR0IArs4c6QAAFaNJREFUeF7tXHl8XHW1/557Z5JM0yTtA9qy6dwktMVaKMncAVo2F0Rk0aeg+FCK+tzg8WRR5qYFCdA2dwou+AR9LCpSZVE+ICIi+ACfpOjcSaAthdImudMFCm0hbfZl7u/Ib5KZznJnSdqnrx97/4HOPb/zO7/zO7/fPcv3hACg+xH/NBoaXMnARwjwMeGvxNSqgFZXzSq36AOxIUk3kYcfulDdI1qPJ4iFDF7EwEJiVABoBZV9a9pFWzsnwu8g7UEN7A8NED9RX72np6cNTNOJcB8Thpl5ITHpDK4gohEA7QRaLUCtXqV89dRPx97Mnpwfqq3p4cGTBHgRMUsjPxGMqSAwAS8yaDUResD8aQCHqh7llKoL3ly/PxZxkMdBDZSqAdr9wIyVzHSZonoXVJ92j4P46E0A10OMxkZ2rt46vP1ZEn1ba8G0iMEzJWMCdTFxKxF6IcjDhJOJeR4DCgiDBPwvMVoZVMng0LTGb5+EqdoCCLEITt+cnvYb5sIZWldzwZZTShW0GN2a5roZ8SE0CBYNU3xTbh0YGZoNh/8j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iuMK58syJaqwu0dz/gaOysQNLR2PykORlDvROaVQ7h9dSluYR8GWyf7dnEL6aWvSThWkZBTJFDhCNsfLcXJ/B0aGMgBrJIQDpWKdW+tjdntWYm7e/uQ8MbD5gvjujo+K/tfnx3vtSqdvM1jEQYonYfRK+SEY2RmBp6oepJYj3tsJdoZkIJNoAPEkD0h1HRTfYTsAegGgVqh4kmadk9Mp848wioNz/vNpwNXgs9XAbz1Rh+He0+PdG86P92890enfOtPZ00FitBdQvfBWyS9AfeIW99TUM9TyV6SPCGA1yjytpbot/3zqP7jiv7cGSjL4nAPQ/ew0DA2e7HSvP1etniv/QI7sI1oNUlejwvcCTf9AsW73v/c6D853UAMJDfwN/F3Fz8TPqaAAAAAASUVORK5CYII=",De=te(34055),ze=te(89389),ft=te(56082),Be=te(87954),Ue=te(18257),Ge=te(61934),Ke=te(19719),rt=te(35241),nt=te(44589),vt=te(87395),Tt=te(84105),Yt=Object.defineProperty,Xe=Object.defineProperties,st=Object.getOwnPropertyDescriptors,Lt=Object.getOwnPropertySymbols,It=Object.prototype.hasOwnProperty,St=Object.prototype.propertyIsEnumerable,dn=(Ut,Ht,Zt)=>Ht in Ut?Yt(Ut,Ht,{enumerable:!0,configurable:!0,writable:!0,value:Zt}):Ut[Ht]=Zt,Fe=(Ut,Ht)=>{for(var Zt in Ht||(Ht={}))It.call(Ht,Zt)&&dn(Ut,Zt,Ht[Zt]);if(Lt)for(var Zt of Lt(Ht))St.call(Ht,Zt)&&dn(Ut,Zt,Ht[Zt]);return Ut},Xt=(Ut,Ht)=>Xe(Ut,st(Ht)),Kt=(Ut,Ht,Zt)=>new Promise((ba,Va)=>{var Fa=vn=>{try{Ua(Zt.next(vn))}catch(Za){Va(Za)}},Mn=vn=>{try{Ua(Zt.throw(vn))}catch(Za){Va(Za)}},Ua=vn=>vn.done?ba(vn.value):Promise.resolve(vn.value).then(Fa,Mn);Ua((Zt=Zt.apply(Ut,Ht)).next())});ue().locale("ZH-cn");let jn=["","\u7B80\u5355","\u4E2D\u7B49","\u56F0\u96BE"];const Pt=z.createContext({}),qe=()=>{const{setActivatorNodeRef:Ut,listeners:Ht}=(0,z.useContext)(Pt);return z.createElement(Ne.ZP,Fe({type:"text",size:"small",className:xe.upDownSty,icon:z.createElement(et.Z,{title:"\u53EF\u9F20\u6807\u62D6\u62FD\u8FDB\u884C\u8BD5\u9898\u6392\u5E8F\uFF0C\u5B66\u751F\u7AEF\u5C06\u6309\u7167\u6B64\u6392\u5E8F\u5C55\u793A"},z.createElement(ft.Z,null)),style:{cursor:"move"},ref:Ut},Ht))},lt=Ut=>{const{attributes:Ht,listeners:Zt,setNodeRef:ba,setActivatorNodeRef:Va,transform:Fa,transition:Mn,isDragging:Ua}=(0,Ke.nB)({id:Ut["data-row-key"]}),vn=Fe(Xt(Fe({},Ut.style),{transform:rt.ux.Translate.toString(Fa),transition:Mn}),Ua?{position:"relative",zIndex:100}:{}),Za=(0,z.useMemo)(()=>({setActivatorNodeRef:Va,listeners:Zt}),[Va,Zt]);return z.createElement(Pt.Provider,{value:Za},z.createElement("tr",Fe(Xt(Fe({},Ut),{ref:ba,style:vn}),Ht)))},it=({shixunHomeworks:Ut,classroomList:Ht,globalSetting:Zt,user:ba,loading:Va,dispatch:Fa})=>{var Mn,Ua,vn,Za;const[Da,Io]=(0,z.useState)(Xt(Fe({},(0,ve.useParams)()),{page:1,per_page:10})),[Ma,$o]=(0,z.useState)([]),[Si,Ko]=(0,z.useState)(-1),[Sr,Pr]=(0,z.useState)(""),[Xn,ao]=(0,z.useState)(""),{detailLeftMenus:oi}=Ht,ha=(0,ve.useLocation)(),[ca,eo]=(0,z.useState)({}),{workDetail:Ai,workList:kn,workSetting:tr}=Ut,[aa,an]=(0,z.useState)("1"),[Vn,bn]=(0,z.useState)(!1),[$r,mr]=(0,z.useState)(!1),[Tr,Jo]=(0,z.useState)(""),[fr,So]=(0,z.useState)(1),Ha=(0,z.useRef)(null),[Yr,mo]=(0,z.useState)(!1);(0,z.useEffect)(()=>{kn.homework_status&&Do()},[kn]),(0,z.useEffect)(()=>{Ha.current&&(Ha.current.clientHeight>200?So(2):So(4))},[Ma==null?void 0:Ma.description]);function Do(){return Kt(this,null,function*(){var Hn,ya,wr;bn(!0);let Fr=yield(0,se.ZP)(`/api/courses/${Da.coursesId}/homework_commons/edit_hack_homework.json`,{method:"get",params:Xt(Fe({},Da),{id:Da.categoryId})});if($o(Fr),bn(!1),Da.defaultExpandedRowKeys=[`${(ya=(Hn=Fr==null?void 0:Fr.data)==null?void 0:Hn[0])==null?void 0:ya.identifier}`],Fr!=null&&Fr.hide_description)an("2");else if(aa!="2"){if((wr=kn.homework_status)!=null&&wr.includes("\u5BFC\u5165"))return;an(Fr!=null&&Fr.description?"1":"2")}Io(Fe({},Da))})}const Sn=()=>{if(fr===1)return{visibility:"hidden"};if(fr===2)return{overflow:"hidden",height:"200px"};if(fr===3)return{overflow:"initial"};if(fr===4)return{overflow:"initial"}},na=Hn=>Kt(void 0,[Hn],function*({active:ya,over:wr}){if(ya.id!==(wr==null?void 0:wr.id)&&(wr!=null&&wr.id)){$o(Co=>{var qo;const Di=(qo=Co==null?void 0:Co.data)==null?void 0:qo.findIndex(qi=>qi.identifier===ya.id),Hi=Co==null?void 0:Co.data.findIndex(qi=>qi.identifier===(wr==null?void 0:wr.id));return Xt(Fe({},Co),{data:(0,nt.Rp)(Co==null?void 0:Co.data,Di,Hi)})});let Fr=yield(0,se.ZP)(`/api/courses/${Da==null?void 0:Da.coursesId}/homework_commons/change_hack_position.json`,{method:"post",body:{id:Da==null?void 0:Da.categoryId,origin_identifier:ya==null?void 0:ya.id,target_identifier:wr==null?void 0:wr.id}});(Fr==null?void 0:Fr.status)==0&&(Ie.ZP.success("\u6392\u5E8F\u6210\u529F"),Do())}}),Oa=Hn=>Kt(void 0,null,function*(){const ya=()=>Kt(void 0,null,function*(){let Fr=yield(0,se.ZP)(`/api/item_banks/${Hn}/copy_hack_item.json`,{method:"post"});(Fr==null?void 0:Fr.status)===0&&Ie.ZP.success("\u52A0\u5165\u8BD5\u9898\u5E93\u6210\u529F\uFF01")});mo(!0);let wr=yield(0,se.ZP)(`/api/item_banks/${Hn}/check_hack_item.json`,{method:"get"});(wr==null?void 0:wr.status)===-20?be.default.confirm({icon:null,centered:!0,closable:!0,okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",title:"\u52A0\u5165\u8BD5\u9898\u5E93\u63D0\u793A",content:"\u8BE5\u8BD5\u9898\u5728\u8BD5\u9898\u5E93\u4E2D\u5DF2\u5B58\u5728\uFF0C\u8BF7\u786E\u8BA4\u662F\u5426\u52A0\u5165\u8BD5\u9898\u5E93\uFF1F",onOk:ya}):ya(),mo(!1)});return z.createElement("section",{className:xe.bg},z.createElement(fe.Z,{spinning:Vn},(!(Ma!=null&&Ma.hide_description)||(0,De.GJ)())&&z.createElement("section",{className:" edu-container",style:{padding:"20px 20px 0 20px",background:"#fff",position:"relative"}},!$r&&(0,De.GJ)()&&z.createElement("div",{style:{position:"absolute",zIndex:10,right:34,top:30}},(tr==null?void 0:tr.hack_edit_permission)&&z.createElement("span",{className:xe.deseIconSty,style:{marginLeft:"auto",cursor:"pointer"},onClick:()=>{mr(!0)}},z.createElement(et.Z,{title:"\u7F16\u8F91\u8BF4\u660E"},z.createElement("i",{className:"iconfont icon-bianji-moren font14"}),z.createElement("span",null,"\u7F16\u8F91\u8BF4\u660E"))),z.createElement("span",{className:xe.deseIconSty,style:{marginLeft:"20px",cursor:"pointer"},onClick:()=>Kt(void 0,null,function*(){if(!(Ma!=null&&Ma.hide_description))be.default.confirm({centered:!0,okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",title:"\u63D0\u793A",content:"\u9690\u85CF\u540E\uFF0C\u5B66\u751F\u7AEF\u5C06\u9690\u85CF\u4F5C\u4E1A\u8BF4\u660E\u6A21\u5757",onOk:()=>Kt(void 0,null,function*(){let Hn=yield(0,se.ZP)(`/api/homework_commons/${Da==null?void 0:Da.categoryId}/hide_description.json`,{method:"post",body:{status:!0}});(Hn==null?void 0:Hn.status)==0&&(Ie.ZP.success("\u9690\u85CF\u6210\u529F"),Do())})});else{let Hn=yield(0,se.ZP)(`/api/homework_commons/${Da==null?void 0:Da.categoryId}/hide_description.json`,{method:"post",body:{status:!1}});(Hn==null?void 0:Hn.status)==0&&(Ie.ZP.success("\u516C\u5F00\u6210\u529F"),Do())}})},z.createElement(et.Z,{title:Ma!=null&&Ma.hide_description?"\u516C\u5F00\u8BF4\u660E":"\u9690\u85CF\u8BF4\u660E"},z.createElement("i",{className:"iconfont icon-xianshiyincang font14"}),z.createElement("span",null,Ma!=null&&Ma.hide_description?"\u516C\u5F00\u8BF4\u660E":"\u9690\u85CF\u8BF4\u660E")))),$r?z.createElement(z.Fragment,null,z.createElement(ze.Z,{defaultValue:Ma==null?void 0:Ma.description,watch:!0,height:155,onChange:Hn=>{Jo(Hn)}}),z.createElement("div",{style:{display:"flex"}},z.createElement(Ne.ZP,{size:"middle",type:"primary",className:`${xe.buttonEdit} mr20`,style:{marginLeft:"auto"},htmlType:"submit",onClick:()=>Kt(void 0,null,function*(){So(1);let Hn=yield(0,se.ZP)(`/api/homework_commons/${Da==null?void 0:Da.categoryId}/update_description.json`,{method:"post",body:{description:Tr}});(Hn==null?void 0:Hn.status)==0&&(Ie.ZP.success("\u7F16\u8F91\u6210\u529F"),mr(!1),Do())})},"\u63D0\u4EA4"),z.createElement(Ne.ZP,{size:"middle",type:"primary",ghost:!0,className:xe.buttonEdit,onClick:()=>{mr(!1)}},"\u53D6\u6D88"))):!!(Ma!=null&&Ma.description)&&z.createElement("div",{ref:Ha,className:xe.maskWrap,style:Sn()},z.createElement("div",{className:xe.desHead},z.createElement("img",{src:Ee,width:94})),z.createElement(ye.Z,{className:xe.md,value:(Ma==null?void 0:Ma.description)||""}),fr===2&&z.createElement("div",{className:xe.mask},z.createElement("div",{onClick:()=>So(3)},"\u5C55\u5F00",z.createElement("i",{className:"iconfont icon-zhankai4"}))),fr===3&&z.createElement("div",{className:xe.mask,style:{position:"relative",height:30,background:"transparent",paddingTop:5}},z.createElement("div",{onClick:()=>So(2)},"\u6536\u8D77",z.createElement("i",{className:"iconfont icon-shouqi5"}))))),(0,De.dE)()&&!!(Ma!=null&&Ma.group_name)&&z.createElement("div",{className:xe.info},z.createElement("img",{src:`${me.Z.IMG_SERVER}/images/${(Mn=Ma==null?void 0:Ma.user)==null?void 0:Mn.image_url}`}),z.createElement("div",{className:"ml20",style:{alignItems:"start"}},z.createElement("b",null,(Ma==null?void 0:Ma.name)||""),z.createElement("span",{title:(Ma==null?void 0:Ma.group_name)||"",style:{maxWidth:"130px",overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap",wordBreak:"break-all"}},(Ma==null?void 0:Ma.group_name)||"")),z.createElement(et.Z,{title:z.createElement(z.Fragment,null,z.createElement("div",null,"\u8BD5\u9898\u5F97\u5206\uFF1A",(Ma==null?void 0:Ma.late_final_score)||0),z.createElement("div",null,"\u8865\u4EA4\u6263\u5206\uFF1A",(Ma==null?void 0:Ma.late_penalty)||0),z.createElement("div",null,"\u6700\u7EC8\u6210\u7EE9\uFF1A",(Ma==null?void 0:Ma.total_score)||0))},z.createElement("div",null,z.createElement("b",null,z.createElement(Ge.n,{value:Ma==null?void 0:Ma.total_score})),z.createElement("span",null,"\u603B\u6210\u7EE9"))),z.createElement("div",null,z.createElement("b",null,(Ma==null?void 0:Ma.total_time)||"-"),z.createElement("span",null,"\u603B\u8017\u65F6")),z.createElement("div",null,z.createElement("b",{style:{color:"#009C0F"}},Ma==null?void 0:Ma.pass_count),z.createElement("span",null,"\u5DF2\u901A\u8FC7\u6570")),z.createElement("div",null,z.createElement("b",{style:{color:"#FA6400"}},Ma==null?void 0:Ma.doing_count),z.createElement("span",null,"\u8FDB\u884C\u4E2D")),z.createElement("div",null,z.createElement("b",{style:{color:"#E30000"}},Ma==null?void 0:Ma.not_pass_count),z.createElement("span",null,"\u672A\u7B54\u9898\u6570"))),!((Ua=kn.homework_status)!=null&&Ua.includes("\u5BFC\u5165"))&&z.createElement("div",null,z.createElement("section",{className:" edu-container",style:{padding:"20px",background:"#fff"}},(0,De.GJ)()&&z.createElement("div",{style:{marginBottom:"10px",fontSize:"12px"}},"\u53EF\u9F20\u6807\u62D6\u62FD\u201C ",z.createElement(ft.Z,null)," \u201D\u8FDB\u884C\u8BD5\u9898\u6392\u5E8F\uFF0C\u5B66\u751F\u7AEF\u5C06\u6309\u7167\u6B64\u6392\u5E8F\u5C55\u793A"),Da.defaultExpandedRowKeys&&z.createElement(Be.LB,{modifiers:[Ue.DL],onDragEnd:na},z.createElement(Ke.Fo,{items:(vn=Ma==null?void 0:Ma.data)==null?void 0:vn.map(Hn=>Hn==null?void 0:Hn.identifier),strategy:Ke.qw},z.createElement(ke.default,{components:{body:{row:lt}},dataSource:Ma==null?void 0:Ma.data,rowKey:Hn=>Hn==null?void 0:Hn.identifier,pagination:!1,expandable:{expandIcon:({expanded:Hn,onExpand:ya,record:wr})=>Hn?z.createElement(et.Z,{title:"\u6536\u8D77"},z.createElement(vt.Z,{className:xe.upDownSty,onClick:Fr=>ya(wr,Fr)})):z.createElement(et.Z,{title:"\u5C55\u5F00"},z.createElement(Tt.Z,{className:xe.upDownSty,onClick:Fr=>ya(wr,Fr)})),expandedRowRender:Hn=>{var ya;return z.createElement("div",{style:{padding:"10px 0px 10px 48px",borderRadius:2}},z.createElement("div",{style:{overflow:"auto",maxHeight:300}},z.createElement("p",null,"\u9898\u76EE\uFF1A",Hn==null?void 0:Hn.name),z.createElement("p",null,"\u63CF\u8FF0\uFF1A",z.createElement(ye.Z,{value:(Hn==null?void 0:Hn.description)||""})),!(0,De.dE)()&&z.createElement("p",null,"\u9898\u76EE\u89E3\u6790:",z.createElement(ye.Z,{style:{fontSize:"14px"},value:(Hn==null?void 0:Hn.analysis)||"\u6682\u65E0\u89E3\u6790"}))),z.createElement("div",{style:{width:"100%",textAlign:"end"}},(tr==null?void 0:tr.hack_edit_permission)&&z.createElement(Ne.ZP,{className:"mt20",type:"primary",ghost:!0,onClick:()=>{window.open(`/problems/newedit/${Hn==null?void 0:Hn.identifier}?type=1`),localStorage.setItem("program_homework",[Da.coursesId,Da.categoryId])}},"\u7F16\u8F91"),(tr==null?void 0:tr.hack_edit_permission)&&((ya=Ma==null?void 0:Ma.homework_status)==null?void 0:ya.includes("\u672A\u53D1\u5E03"))&&z.createElement(Ne.ZP,{className:"mt20",type:"primary",style:{marginLeft:20},ghost:!0,onClick:()=>{be.default.confirm({title:"\u63D0\u793A",content:"\u662F\u5426\u786E\u8BA4\u5220\u9664",okText:"\u786E\u8BA4",cancelText:"\u53D6\u6D88",onOk:()=>Kt(void 0,null,function*(){let wr=yield(0,se.ZP)(`/api/problems/${Hn==null?void 0:Hn.identifier}.json`,{method:"delete"});(wr==null?void 0:wr.status)===0&&(Ie.ZP.info("\u5220\u9664\u6210\u529F"),Da.page=1,Do())})})}},"\u5220\u9664")))},defaultExpandedRowKeys:Da.defaultExpandedRowKeys},columns:(Za=[(0,De.GJ)()&&{key:"sort",align:"center",width:40,render:()=>z.createElement(qe,null)},{title:"\u5E8F\u53F7",dataIndex:"index",ellipsis:!0,key:"index",width:55,render:(Hn,ya,wr)=>`${(Da.page-1)*Da.per_page+wr+1}`},{title:"\u6807\u9898",dataIndex:"name",ellipsis:!0,key:"name"},((0,De.dE)()||(Ma==null?void 0:Ma.show_score))&&{title:"\u5206\u503C",dataIndex:"hack_score",key:"hack_score",width:100},{title:"\u96BE\u5EA6",dataIndex:"difficult",key:"difficult",width:100,ellipsis:!0,render(Hn,ya,wr){return z.createElement("div",null,jn[Hn])}},{title:"\u901A\u8FC7\u7387",dataIndex:"pass_rate",key:"pass_rate",width:100,ellipsis:!0},(0,De.dE)()&&{title:"\u5F97\u5206",dataIndex:"score",key:"score",render:Hn=>{let ya="",wr=Number(Hn);return wr>=0&&wr<=60?ya="c-red":wr>=90?ya="c-green":wr>60?ya="c-orange":ya="",z.createElement("span",{className:ya},Hn)}},(0,De.dE)()&&{title:"\u8017\u65F6",dataIndex:"time",key:"time",ellipsis:!0,width:100},{title:"\u77E5\u8BC6\u70B9",dataIndex:"tag_discipline",ellipsis:!0,key:"tag_discipline",width:200,render:(Hn,ya)=>z.createElement("span",{style:{backgroundColor:"#ECFAF5",color:"#1B8565",overflow:"hidden",textOverflow:"ellipsis",padding:"2px 6px"}},Hn||"--")},(0,De.dE)()&&{title:"\u901A\u8FC7\u72B6\u6001",dataIndex:"finish_status",key:"finish_status",render(Hn){return z.createElement(z.Fragment,null,Hn===0&&z.createElement("span",{style:{color:"#E30000"}},"\u672A\u7B54\u9898"),Hn===1&&z.createElement("span",{style:{color:"#FA6400"}},"\u8FDB\u884C\u4E2D"),Hn===2&&z.createElement("span",{style:{color:"#009C0F"}},"\u5DF2\u901A\u8FC7"))}},{title:"\u64CD\u4F5C",dataIndex:"identifier",key:"identifier",width:(0,De.GJ)()?280:146,align:"right",render(Hn,ya,wr){return z.createElement("div",null,(0,De.GJ)()&&z.createElement(Ne.ZP,{type:"link",style:{marginRight:"5px"},loading:Yr,onClick:()=>Kt(this,null,function*(){Oa(ya==null?void 0:ya.id)})},"\u52A0\u5165\u8BD5\u9898\u5E93"),z.createElement("a",{onClick:()=>{var Fr;if((0,De.Rm)()&&!((Fr=Ht.AssistantObject.hack)!=null&&Fr.can_question_eaderboard)){Ie.ZP.warning("\u60A8\u672A\u83B7\u53D6\u6B64\u6743\u9650\uFF0C\u9700\u5411\u8BFE\u5802\u7BA1\u7406\u5458\u7533\u8BF7\u6743\u9650\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD");return}window.open(`/classrooms/${Da.coursesId}/program_homework/${Da.categoryId}/${Hn}/ranking`)}},"\u6392\u884C"),z.createElement("a",{onClick:()=>Kt(this,null,function*(){let Fr=yield(0,se.ZP)(`/api/problems/${ya==null?void 0:ya.identifier}/start.json`,{method:"get"});Fr&&(window.open(`/myproblems/${Fr==null?void 0:Fr.identifier}?type=1&backUrl=/classrooms/${Da.coursesId}/program_homework/${Da.categoryId}/detail?tabs=1`),localStorage.setItem("program_homework",[Da.coursesId,Da.categoryId]))}),className:"ml20"},(0,De.GJ)()?"\u4F53\u9A8C":"\u8FDB\u5165\u7B54\u9898"),(tr==null?void 0:tr.hack_edit_permission)&&z.createElement("a",{className:"ml20",onClick:()=>Kt(this,null,function*(){window.open(`/problems/newedit/${ya==null?void 0:ya.identifier}?type=1`),localStorage.setItem("program_homework",[Da.coursesId,Da.categoryId])})},"\u7F16\u8F91"))}}])==null?void 0:Za.filter(Hn=>!!Hn)})))),z.createElement("aside",{style:{padding:"0 20px 20px 20px"}},z.createElement(Pe.Z,{defaultCurrent:1,total:Ma==null?void 0:Ma.count,hideOnSinglePage:!0,showTotal:Hn=>z.createElement("span",null,"\u5171",Hn,"\u6761"),current:Da.page||1,pageSize:Da.per_page||10,onChange:(Hn,ya)=>{Da.page=Hn,Da.per_page=ya,Io(Fe({},Da)),Do()}})))),z.createElement(oe,null))};var Oe=(0,ve.connect)(({shixunHomeworks:Ut,classroomList:Ht,loading:Zt,user:ba,globalSetting:Va})=>({shixunHomeworks:Ut,globalSetting:Va,classroomList:Ht,user:ba,loading:Zt.effects}))(it),pt=te(78241),gt=te(95237),Le=te(43604),he=te(92832),je=te(24905),We=te(57884),we=te(59301),mt=Object.defineProperty,Je=Object.getOwnPropertySymbols,jt=Object.prototype.hasOwnProperty,Se=Object.prototype.propertyIsEnumerable,ut=(Ut,Ht,Zt)=>Ht in Ut?mt(Ut,Ht,{enumerable:!0,configurable:!0,writable:!0,value:Zt}):Ut[Ht]=Zt,wt=(Ut,Ht)=>{for(var Zt in Ht||(Ht={}))jt.call(Ht,Zt)&&ut(Ut,Zt,Ht[Zt]);if(Je)for(var Zt of Je(Ht))Se.call(Ht,Zt)&&ut(Ut,Zt,Ht[Zt]);return Ut},Ae=(Ut,Ht,Zt)=>new Promise((ba,Va)=>{var Fa=vn=>{try{Ua(Zt.next(vn))}catch(Za){Va(Za)}},Mn=vn=>{try{Ua(Zt.throw(vn))}catch(Za){Va(Za)}},Ua=vn=>vn.done?ba(vn.value):Promise.resolve(vn.value).then(Fa,Mn);Ua((Zt=Zt.apply(Ut,Ht)).next())});const _e=({shixunHomeworks:Ut,loading:Ht,dispatch:Zt,classroomList:ba})=>{var Va;const Fa=(0,ve.useParams)(),[Mn,Ua]=(0,z.useState)(wt(wt({},{page:1,limit:20,group_ids:[]}),Fa)),vn=(0,ve.useLocation)(),{codeReview:Za}=Ut,[Da,Io]=(0,z.useState)({}),[Ma]=pt.default.useForm();Mn.order="code_rate",Mn.sort="desc",Mn.category=Mn.categoryId,(0,z.useEffect)(()=>{$o(),console.log("params",Mn)},[Mn]),(0,z.useEffect)(()=>{Ut.actionTabs.key==="\u6267\u884C\u4EE3\u7801\u67E5\u91CD"&&$o()},[Ut.actionTabs.key]);const $o=()=>Ae(void 0,null,function*(){(yield Zt({type:"shixunHomeworks/getCodeReview",payload:wt({},Mn)})).status===-2&&setTimeout(()=>$o(),1500)}),Si=()=>{},Ko=(Pr,Xn)=>{Mn.page=Pr,Mn.limit=20,Zt({type:"shixunHomeworks/getCodeReview",payload:wt({},Mn)})},Sr=[{title:"\u5E8F\u53F7",dataIndex:"number",render:(Pr,Xn,ao)=>Mn.limit*(Mn.page-1)+ao+1},{title:"\u59D3\u540D",dataIndex:"username"},{title:"\u5B66\u53F7",dataIndex:"student_id"},{title:"\u76F8\u4F3C\u5EA6",dataIndex:"code_rate",render:Pr=>we.createElement("span",{className:"c-orange"},Pr)},{title:"\u64CD\u4F5C",dataInex:"action",render:(Pr,Xn)=>we.createElement("div",null,we.createElement("a",{onClick:()=>{var ao;if((0,De.Rm)()&&!((ao=ba.AssistantObject.hack)!=null&&ao.can_view)){Ie.ZP.warning("\u60A8\u672A\u83B7\u53D6\u6B64\u6743\u9650\uFF0C\u9700\u5411\u8BFE\u5802\u7BA1\u7406\u5458\u7533\u8BF7\u6743\u9650\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD");return}window.open(`/classrooms/${Mn.coursesId}/program_homework/${Mn.categoryId}/review_detail/${Xn.user_id}`)}},"\u67E5\u770B"),we.createElement("br",null))}];return we.createElement("section",{className:"minH500 bg-white pl30 pr30 pt10"},(Za==null?void 0:Za.status)===-2&&we.createElement(We.Z,{customText:"\u6B63\u5728\u8FDB\u884C\u4EE3\u7801\u67E5\u91CD\uFF0C\u8BF7\u7A0D\u5019\u3002\u67E5\u91CD\u7ED3\u675F\u540E\uFF0C\u9875\u9762\u5C06\u81EA\u52A8\u66F4\u65B0\u663E\u793A\u7ED3\u679C"}),(Za==null?void 0:Za.status)!==-2&&we.createElement("div",null,we.createElement(gt.Z,null,we.createElement(Le.Z,{flex:"1"},we.createElement("p",{className:"mt10"},"\u67E5\u91CD\u65F6\u95F4\uFF1A",Za.last_review_time,we.createElement(Ne.ZP,{ghost:!0,danger:!0,style:{color:"#29BD8B",borderColor:"#29BD8B",marginLeft:10},onClick:()=>{Zt({type:"shixunHomeworks/setActionTabs",payload:{key:"\u4EE3\u7801\u67E5\u91CD",params:Mn}})}},"\u4EE3\u7801\u67E5\u91CD"))),we.createElement(Le.Z,null,we.createElement(he.default.Search,{allowClear:!0,placeholder:"\u8BF7\u8F93\u5165\u59D3\u540D\u6216\u8005\u5B66\u53F7\u641C\u7D22",onSearch:Pr=>{Mn.search=Pr,Zt({type:"shixunHomeworks/getCodeReview",payload:Mn})},style:{width:200}}),we.createElement("span",{className:"ml5 c-red"}))),((Va=Za.group_info)==null?void 0:Va.length)>0&&we.createElement(we.Fragment,null,we.createElement(gt.Z,null,we.createElement(Le.Z,{flex:"80px",className:"font14"},"\u5206\u73ED\u60C5\u51B5:"),we.createElement(Le.Z,{flex:"80px"},we.createElement(je.default,{checked:Mn.group_ids=="",value:"all",onChange:Pr=>{delete Mn.group_ids,Mn.group_ids=[],Mn.page=1,Ua(wt({},Mn))}},"\u5168\u90E8")),we.createElement(Le.Z,{flex:"1"},Za.group_info&&Za.group_info.map((Pr,Xn)=>we.createElement(je.default,{style:{marginLeft:0},value:Pr.id,checked:Mn.group_ids.includes(Pr.id),onChange:ao=>{ao.target.checked?Mn.group_ids.push(Pr.id):Mn.group_ids.splice(Mn.group_ids.indexOf(Pr.id),1),Mn.page=1,Ua(wt({},Mn))}},Pr.name,"(",Pr.members_count,")")))),we.createElement(gt.Z,{className:"font14 c-red mt5"},we.createElement(Le.Z,null,"\u672C\u9875\u4EC5\u663E\u793A\u5168\u90E8\u5DF2\u67E5\u91CD\u5206\u73ED"))),we.createElement("p",{className:"mt10"},we.createElement("span",{className:"c-red"},Za.copy_reviews_count),"\u4E2A\u7591\u4F3C\u6284\u88AD\u4F5C\u54C1\uFF08",Za.all_reviews_count,"\u4F5C\u54C1\uFF09"),we.createElement(ke.default,{className:"mt30",loading:Ht["shixunHomeworks/getCodeReview"],pagination:!1,dataSource:Za.users_reviews,columns:Sr,onChange:(Pr,Xn,ao)=>{ao.order==="ascend"&&(Mn.b_order="asc"),ao.order==="descend"&&(Mn.b_order="desc"),ao.order||delete Mn.b_order,Zt({type:"shixunHomeworks/getCodeReview",payload:wt({},Mn)})}}),we.createElement("aside",{className:"tc mb50 mt30"},we.createElement(Pe.Z,{showSizeChanger:!1,onChange:Ko,defaultCurrent:Mn.page||1,current:Mn.page||1,defaultPageSize:20,hideOnSinglePage:!0,total:Za.copy_reviews_count}))))};var ct=(0,ve.connect)(({shixunHomeworks:Ut,classroomList:Ht,loading:Zt})=>({shixunHomeworks:Ut,classroomList:Ht,loading:Zt.effects}))(_e),Ft=te(26162),zt=te(5083),fn=te(57809),dt=te(5112),Bt=te(5871),Et=te(32134),tn=te(12893),Vt=te(89392),sn={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"},Un=te(2748),pn=te(69577),rn=te(23869),$n=te(97202),_t=te(59301),kt=Object.defineProperty,Jt=Object.defineProperties,Ea=Object.getOwnPropertyDescriptors,qn=Object.getOwnPropertySymbols,Rn=Object.prototype.hasOwnProperty,Ga=Object.prototype.propertyIsEnumerable,La=(Ut,Ht,Zt)=>Ht in Ut?kt(Ut,Ht,{enumerable:!0,configurable:!0,writable:!0,value:Zt}):Ut[Ht]=Zt,Ar=(Ut,Ht)=>{for(var Zt in Ht||(Ht={}))Rn.call(Ht,Zt)&&La(Ut,Zt,Ht[Zt]);if(qn)for(var Zt of qn(Ht))Ga.call(Ht,Zt)&&La(Ut,Zt,Ht[Zt]);return Ut},Cr=(Ut,Ht)=>Jt(Ut,Ea(Ht)),Qa=(Ut,Ht,Zt)=>new Promise((ba,Va)=>{var Fa=vn=>{try{Ua(Zt.next(vn))}catch(Za){Va(Za)}},Mn=vn=>{try{Ua(Zt.throw(vn))}catch(Za){Va(Za)}},Ua=vn=>vn.done?ba(vn.value):Promise.resolve(vn.value).then(Fa,Mn);Ua((Zt=Zt.apply(Ut,Ht)).next())});const{RangePicker:tt}=zt.default,{Option:Rt}=fn.default,Dt=({shixunHomeworks:Ut,user:Ht,loading:Zt,classroomList:ba,dispatch:Va})=>{var Fa,Mn,Ua,vn,Za,Da,Io,Ma,$o,Si,Ko,Sr;const Pr=(0,ve.useParams)(),{workSetting:Xn,workList:ao,changeData:oi}=Ut,[ha,ca]=(0,z.useState)(!0),[eo,Ai]=(0,z.useState)(!1);let[kn,tr]=(0,z.useState)([]),[aa,an]=(0,z.useState)([]);const Vn=(0,z.useRef)(!0);let[bn,$r]=(0,z.useState)({unified_setting:!1,publish_time:"",end_time:"",allow_late:!1,unified_late:!0,late_time:"",late_minus_score:0,penalty_type:Un.Q.Percent,challenge_settings:[],work_efficiency:!1,shixun_evaluation:"",answer_open_evaluation:!1,answer_public:!1,score_open:!1,comment_public:!0,total_score:"",eff_score:0,send_type:void 0,difficult_count:[],difficult_settings:[],late_penalty:0});(0,z.useEffect)(()=>(mr(),()=>{tr([])}),[]);const mr=()=>{Va({type:"shixunHomeworks/getWorkSetting",payload:Ar({},Pr)})};(0,z.useEffect)(()=>{var Sn,na;((0,De.G5)()||(0,De.Rm)()&&((Sn=ba.AssistantObject.hack)!=null&&Sn.can_late||(na=ba.AssistantObject.hack)!=null&&na.can_publish))&&ca(!1)},[Ht,ba]),(0,z.useEffect)(()=>{if(!(Xn!=null&&Xn.course_id)||!Vn.current)return;Vn.current=!1,Object.keys(bn).map(function(na){bn[na]=Xn[na]}),(!bn.allow_late||!bn.unified_late)&&(bn.late_minus_score=20,bn.penalty_type=Un.Q.Percent),bn.unified_setting||(bn.unified_late=!1,bn.unified_anonymous_comment=!1,bn.unified_anonymous_appeal=!1),kn=JSON.parse(JSON.stringify(Xn.group_settings.map(na=>Cr(Ar({},na),{group_name:[na.group_name]})).filter(na=>na.publish_time!==null))),aa=JSON.parse(JSON.stringify(Xn.allow_late_settings.map(na=>Cr(Ar({},na),{group_name:[na.group_name]})).filter(na=>na.late_time!==null))),bn.difficult_settings.length===0&&(bn.difficult_settings=[0,0,0]),$r(Ar({},bn));const Sn=(0,Me.QE)((kn==null?void 0:kn.length)>0?kn:[]);tr([...Sn]),(aa==null?void 0:aa.length)<=0?an([{late_minus_score:20}]):an([...aa])},[Xn]);const Tr=()=>{var Sn;if(((Sn=Ht==null?void 0:Ht.userInfo)==null?void 0:Sn.user_status)===2){(0,rn.Rd)();return}const na=JSON.parse(JSON.stringify(bn));if(na.categoryId=Pr.categoryId,bn.unified_setting||(kn=kn==null?void 0:kn.map(Oa=>{var Hn;if(!Oa.publish_time||!Oa.end_time)throw Ie.ZP.error("\u8BF7\u628A\u53D1\u5E03\u65F6\u95F4\u586B\u5199\u5B8C\u6574"),new String("\u8BF7\u628A\u53D1\u5E03\u65F6\u95F4\u586B\u5199\u5B8C\u6574");if(!Oa.group_name)throw Ie.ZP.error("\u8BF7\u9009\u62E9\u5206\u73ED\u540D\u79F0"),new String("\u8BF7\u9009\u62E9\u5206\u73ED\u540D\u79F0");return Oa.group_name=typeof(Oa==null?void 0:Oa.group_name)=="string"?[Oa==null?void 0:Oa.group_name]:Oa==null?void 0:Oa.group_name,Oa.group_id=(Hn=Xn.group_settings)==null?void 0:Hn.filter(ya=>{var wr;return(wr=Oa==null?void 0:Oa.group_name)==null?void 0:wr.includes(ya.group_name)}).map(ya=>ya.group_id||ya.id).toString().split(","),Oa})),na.group_settings=kn,bn.allow_late)if(bn.unified_late){if(bn.late_minus_score===null||bn.late_minus_score===void 0||bn.late_minus_score<0||bn.late_minus_score>100)throw Ie.ZP.error("\u8FDF\u4EA4\u6263\u5206\u586B\u5199\u533A\u95F4\u4E3A0~100"),new String("\u8FDF\u4EA4\u6263\u5206\u586B\u5199\u533A\u95F4\u4E3A0~100");if(!bn.late_time)throw Ie.ZP.error("\u8BF7\u628A\u622A\u6B62\u65F6\u95F4\u586B\u5199\u5B8C\u6574"),new String("\u8BF7\u628A\u622A\u6B62\u65F6\u95F4\u586B\u5199\u5B8C\u6574")}else aa=aa==null?void 0:aa.map(Oa=>{var Hn,ya;if(Oa.late_minus_score===null||Oa.late_minus_score===void 0||Oa.late_minus_score<0||Oa.late_minus_score>100)throw Ie.ZP.error("\u8FDF\u4EA4\u6263\u5206\u586B\u5199\u533A\u95F4\u4E3A0~100"),new String("\u8FDF\u4EA4\u6263\u5206\u586B\u5199\u533A\u95F4\u4E3A0~100");if(!Oa.late_time)throw Ie.ZP.error("\u8BF7\u628A\u622A\u6B62\u65F6\u95F4\u586B\u5199\u5B8C\u6574"),new String("\u8BF7\u628A\u622A\u6B62\u65F6\u95F4\u586B\u5199\u5B8C\u6574");if(!Oa.group_name)throw Ie.ZP.error("\u8BF7\u9009\u62E9\u5206\u73ED\u540D\u79F0"),new String("\u8BF7\u9009\u62E9\u5206\u73ED\u540D\u79F0");return Oa.group_name=typeof(Oa==null?void 0:Oa.group_name)=="string"?[Oa==null?void 0:Oa.group_name]:Oa==null?void 0:Oa.group_name,Oa.group_id=(ya=(Hn=Oa==null?void 0:Oa.group_name)==null?void 0:Hn.map(wr=>{var Fr,Co;let qo=(Co=(Fr=Xn.group_settings)==null?void 0:Fr.filter(Di=>(Di==null?void 0:Di.group_name)===wr))==null?void 0:Co[0];return qo==null?void 0:qo.group_id}))==null?void 0:ya.toString().split(","),Oa}),na.allow_late_settings=aa;na.send_type===1&&(na.difficult_settings=na.difficult_settings.map(Oa=>Oa||0)),Jo(na)},Jo=Sn=>{var na;if(Sn.total_score===null){Ie.ZP.warning("\u603B\u5206\u503C\u4E0D\u80FD\u4E3A\u7A7A");return}if(Sn!=null&&Sn.work_efficiency&&Sn.eff_score===null){Ie.ZP.warning("\u6548\u7387\u5206\u4E0D\u80FD\u4E3A\u7A7A");return}const Oa={shixun_evaluation:Sn.shixun_evaluation,challenge_settings:Sn.challenge_settings},Hn=()=>Qa(void 0,null,function*(){Ai(!0),(yield(0,se.ZP)(`/api/homework_commons/${Pr.categoryId}/publish_setting.json`,{method:"post",body:Ar({},Sn)})).status===0&&(Ie.ZP.success("\u66F4\u65B0\u6210\u529F"),mr(),Va({type:"shixunHomeworks/getWorkList",payload:Ar({},Pr)})),Ai(!1)});!(0,Vt.isEqual)(oi,Oa)&&!((na=ao==null?void 0:ao.homework_status)!=null&&na.includes("\u672A\u53D1\u5E03"))?be.default.confirm({title:"\u66F4\u65B0\u6210\u7EE9",content:"\u60A8\u6539\u52A8\u4E86\u672C\u6B21\u4F5C\u4E1A\u7684\u5173\u5361\u5F97\u5206\u8BBE\u7F6E\uFF0C\u8FD9\u53EF\u80FD\u5BFC\u81F4\u5DF2\u5B8C\u6210\u4F5C\u4E1A\u7684\u5B66\u751F\u7684\u6210\u7EE9\u4EA7\u751F\u9519\u8BEF\u3002\u70B9\u51FB\u201C\u786E\u5B9A\u201D\u6309\u94AE\u5C06\u4FDD\u5B58\u6700\u65B0\u8BBE\u7F6E\u5E76\u6309\u6700\u65B0\u8BBE\u7F6E\u66F4\u65B0\u5168\u73ED\u6210\u7EE9\u3002",okText:"\u786E\u8BA4",cancelText:"\u53D6\u6D88",onOk:Hn}):Hn()},fr=(Sn,na,Oa="group_id")=>{var Hn;return na?na.find(ya=>ya[Oa]===Sn):(Hn=Xn==null?void 0:Xn.group_settings)==null?void 0:Hn.find(ya=>ya.group_id[0]===Sn)},So=(Xn==null?void 0:Xn.allow_late)||(Xn==null?void 0:Xn.anonymous_comment),Ha=Sn=>{var na,Oa;const Hn=fr(Sn,Xn==null?void 0:Xn.allow_late_settings,"id"),ya=fr(Sn,Xn==null?void 0:Xn.anonymous_comment_settings),wr=fr(Sn);return(Xn==null?void 0:Xn.allow_late)&&Hn&&ue()(Hn==null?void 0:Hn.late_time)<=ue()()||(Xn==null?void 0:Xn.anonymous_comment)&&ya&&(ya==null?void 0:ya.evaluation_start)!==null||((Oa=(ue()(wr==null?void 0:wr.end_time)<=ue()()&&((na=Xn==null?void 0:Xn.allow_late_settings)==null?void 0:na.filter(Fr=>Fr.group_id.includes(Sn))))[0])==null?void 0:Oa.late_time)!=null},Yr=Xn==null?void 0:Xn.anonymous_comment,mo=Sn=>{if(!Sn)return!1;const na=fr(Sn,Xn==null?void 0:Xn.anonymous_comment_settings);return(Xn==null?void 0:Xn.anonymous_comment)&&na&&(na==null?void 0:na.evaluation_start)!==null},Do=(Sn,na)=>{var Oa,Hn,ya;Va({type:"classroomList/setActionTabs",payload:{key:"\u5206\u73ED\u53D1\u5E03-\u53D1\u5E03\u89C4\u5219\u62C6\u5206",data:Sn,index:na,rangePickerDisabled:ha||(ue()()<=ue()((Hn=fr((Oa=Sn==null?void 0:Sn.group_id)==null?void 0:Oa[0]))==null?void 0:Hn.publish_time)?!1:[!0,Ha((ya=Sn==null?void 0:Sn.group_id)==null?void 0:ya[0])]),disabledDate:Xn==null?void 0:Xn.course_end_date}})};return _t.createElement("section",{className:sn.form},_t.createElement("div",{className:sn.title},"\u8BD5\u9898\u53D1\u5E03",_t.createElement("span",{className:"c-grey-666 font14",style:{fontWeight:400}},"\uFF08\u4F5C\u4E1A\u4E00\u65E6\u53D1\u5E03\u540E\u4E0D\u53EF\u53D8\u66F4\u8BD5\u9898\u53D1\u5E03\u6A21\u5F0F\uFF09")),_t.createElement("div",{className:sn.content},_t.createElement(dt.ZP.Group,{disabled:ha||!((Fa=ao==null?void 0:ao.homework_status)!=null&&Fa.includes("\u672A\u53D1\u5E03"))||!((Mn=ba.AssistantObject.hack)!=null&&Mn.can_publish)&&(0,De.Rm)(),value:bn.send_type,onChange:Sn=>{bn.send_type=Sn.target.value,$r(Object.assign({},bn))}},_t.createElement(dt.ZP,{value:0,style:{color:"#333333"}},"\u56FA\u5B9A\u8BD5\u9898\u6A21\u5F0F"),_t.createElement(dt.ZP,{style:{marginLeft:40,color:"#333333"},value:1},"\u968F\u673A\u62BD\u9898\u6A21\u5F0F"))),bn.send_type===1&&_t.createElement("div",{className:sn.content,style:{borderTop:"1px solid #fff"}},_t.createElement(gt.Z,{style:{marginLeft:"165px"}},_t.createElement(Le.Z,{style:{color:"#333333"}},"\u7B80\u5355\u9898\u6570",_t.createElement(Bt.Z,{size:"large",precision:0,disabled:ha||!((Ua=ao==null?void 0:ao.homework_status)!=null&&Ua.includes("\u672A\u53D1\u5E03")),placeholder:`\u6700\u5927${bn.difficult_count[0]||0}`,min:0,max:bn.difficult_count[0]||0,value:bn.difficult_settings[0],onChange:Sn=>{bn.difficult_settings[0]=Sn,$r(Object.assign({},bn))},className:"ml10 mr20",style:{width:120}})),_t.createElement(Le.Z,{style:{color:"#333333"}},"\u9002\u4E2D\u9898\u6570",_t.createElement(Bt.Z,{size:"large",precision:0,disabled:ha||!((vn=ao==null?void 0:ao.homework_status)!=null&&vn.includes("\u672A\u53D1\u5E03")),placeholder:`\u6700\u5927${bn.difficult_count[1]||0}`,min:0,max:bn.difficult_count[1]||0,value:bn.difficult_settings[1],onChange:Sn=>{bn.difficult_settings[1]=Sn,$r(Object.assign({},bn))},className:"ml10 mr20",style:{width:120}})),_t.createElement(Le.Z,{style:{color:"#333333"}},"\u56F0\u96BE\u9898\u6570",_t.createElement(Bt.Z,{size:"large",precision:0,disabled:ha||!((Za=ao==null?void 0:ao.homework_status)!=null&&Za.includes("\u672A\u53D1\u5E03")),placeholder:`\u6700\u5927${bn.difficult_count[2]||0}`,min:0,max:bn.difficult_count[2]||0,value:bn.difficult_settings[2],onChange:Sn=>{bn.difficult_settings[2]=Sn,$r(Object.assign({},bn))},className:"ml10 mr20",style:{width:120}})))),_t.createElement("div",{className:`${sn.title} mt30`},"\u4F5C\u4E1A\u53D1\u5E03",_t.createElement("span",{className:"c-grey-666 font14",style:{fontWeight:400}},"\uFF08\u4F5C\u4E1A\u4E00\u65E6\u53D1\u5E03\u540E\u4E0D\u53EF\u53D8\u66F4\u4F5C\u4E1A\u53D1\u5E03\u65B9\u5F0F\uFF09")),_t.createElement("div",{className:sn.content},_t.createElement(dt.ZP.Group,{disabled:ha||!((Da=ao==null?void 0:ao.homework_status)!=null&&Da.includes("\u672A\u53D1\u5E03"))||!((Io=ba.AssistantObject.hack)!=null&&Io.can_publish)&&(0,De.Rm)(),value:bn.unified_setting,onChange:Sn=>{var na;if(!((na=ao==null?void 0:ao.homework_status)!=null&&na.includes("\u672A\u53D1\u5E03"))){Ie.ZP.error("\u5DF2\u53D1\u5E03\uFF0C\u4E0D\u80FD\u518D\u4FEE\u6539\u7EDF\u4E00\u8BBE\u7F6E");return}if(bn.unified_setting=!bn.unified_setting,bn.unified_setting||(bn.unified_late=!1),$r(Object.assign({},bn)),bn.unified_setting===!1&&kn==""){tr(kn.concat({}));return}bn.unified_setting&&(tr([]),an([{late_minus_score:5}]))}},_t.createElement(dt.ZP,{value:!0,disabled:!(Xn!=null&&Xn.manage_all_group),style:{color:"#333333"}},"\u7EDF\u4E00\u53D1\u5E03"),_t.createElement(dt.ZP,{style:{marginLeft:70,color:"#333333"},disabled:((Ma=Xn==null?void 0:Xn.group_settings)==null?void 0:Ma.length)===0,value:!1},"\u5206\u73ED\u53D1\u5E03")),(($o=Xn==null?void 0:Xn.group_settings)==null?void 0:$o.length)===0&&_t.createElement("p",{style:{marginLeft:"14px",color:"rgba(0, 0, 0, 0.25)"}},"\uFF08\u672C\u8BFE\u5802\u65E0\u5206\u73ED\uFF0C\u4EC5\u652F\u6301\u9009\u62E9\u201C\u7EDF\u4E00\u53D1\u5E03\u201C\uFF09")),_t.createElement("div",{className:sn.content,style:{borderTop:"1px solid #fff"}},bn.unified_setting&&_t.createElement(gt.Z,{align:"middle",className:"ml25"},_t.createElement(gt.Z,{align:"middle"},_t.createElement(Le.Z,{className:"c-grey-333"},"\u53D1\u5E03\u65F6\u95F4"),_t.createElement(Le.Z,{className:"ml10"},_t.createElement(zt.default,{style:{width:170},placeholder:"\u8BF7\u9009\u62E9\u53D1\u5E03\u65F6\u95F4",showTime:{format:"HH:mm"},allowClear:!1,size:"large",format:"YYYY-MM-DD HH:mm",disabledDate:Sn=>(0,pn.Q8)(Sn,Xn==null?void 0:Xn.course_end_date),disabledTime:Sn=>(0,pn.d0)(Sn),disabled:ha||ue()()>=ue()(Xn==null?void 0:Xn.publish_time)||!((Si=ba.AssistantObject.hack)!=null&&Si.can_publish)&&(0,De.Rm)(),value:bn.publish_time?ue()(bn.publish_time):"",onChange:(Sn,na)=>{bn.publish_time=na,(bn.end_time==""||!bn.end_time)&&bn.unified_setting&&(bn.end_time=ue()(Sn).add(7,"days").format("YYYY-MM-DD HH:mm:ss")),$r(Object.assign({},bn))}}))),_t.createElement(gt.Z,{align:"middle",style:{marginLeft:40}},_t.createElement(Le.Z,{className:"c-grey-333"},"\u622A\u6B62\u65F6\u95F4"),_t.createElement(Le.Z,{className:"ml10"},_t.createElement(zt.default,{style:{width:170},allowClear:!1,size:"large",placeholder:"\u8BF7\u9009\u62E9\u622A\u6B62\u65F6\u95F4",showTime:{format:"HH:mm",defaultValue:ue()((0,Me.U6)(),"HH:mm")},format:"YYYY-MM-DD HH:mm",disabled:(Xn==null?void 0:Xn.allow_late)&&(Xn==null?void 0:Xn.homework_status.includes("\u5DF2\u622A\u6B62"))||ha||(Xn==null?void 0:Xn.allow_late)&&ue()()>=ue()(Xn==null?void 0:Xn.end_time)||!((Ko=ba.AssistantObject.hack)!=null&&Ko.can_publish)&&(0,De.Rm)(),disabledDate:Sn=>(0,pn.Q8)(Sn,Xn==null?void 0:Xn.course_end_date,bn.publish_time),disabledTime:Sn=>(0,pn.d0)(Sn,bn.publish_time),value:bn.end_time?ue()(bn.end_time):"",onChange:(Sn,na)=>{bn.end_time=na,$r(Object.assign({},bn))}})))),!bn.unified_setting&&(kn==null?void 0:kn.length)>0&&_t.createElement(gt.Z,{className:"ml25"},kn&&kn.map(function(Sn,na){var Oa,Hn,ya,wr;return _t.createElement(Le.Z,{className:na!==0&&"mt20",span:24,key:na},_t.createElement(gt.Z,{gutter:[0,16]},_t.createElement(Le.Z,{span:8},_t.createElement(gt.Z,{gutter:[8,16],align:"middle"},_t.createElement(Le.Z,{style:{minWidth:85},className:"c-grey-333"},"\u53D1\u5E03\u89C4\u5219 ",na+1),_t.createElement(Le.Z,{flex:"1",style:{maxWidth:300}},_t.createElement(fn.default,{size:"large",disabled:ha||((Oa=Xn==null?void 0:Xn.homework_status)!=null&&Oa.includes("\u672A\u53D1\u5E03")&&Sn.id||ue()()<ue()(Sn==null?void 0:Sn.publish_time)?!1:!!(Sn!=null&&Sn.publish_time)),mode:"multiple",className:`${sn.selectSty}`,style:{width:250},value:Sn.group_name,placeholder:"\u8BF7\u9009\u62E9\u5206\u73ED\u540D\u79F0",onChange:Fr=>{var Co;if(!((Co=ba.AssistantObject.hack)!=null&&Co.can_publish)&&(0,De.Rm)()){Ie.ZP.warning("\u60A8\u672A\u83B7\u53D6\u6B64\u6743\u9650\uFF0C\u9700\u5411\u8BFE\u5802\u7BA1\u7406\u5458\u7533\u8BF7\u6743\u9650\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD");return}kn[na].group_name=Fr,kn[na].group_id=Sn.group_id;const qo=(0,Vt.flattenDeep)(kn.map(Hi=>Hi.group_name)),Di=aa.map(Hi=>{let qi=(Hi==null?void 0:Hi.group_name)||[];return Cr(Ar({},Hi),{group_name:(0,Vt.remove)(qi,wl=>qo.includes(wl))})});an(Di),tr(kn.slice())},maxTagCount:4,maxTagPlaceholder:Fr=>_t.createElement("div",{style:{cursor:"pointer"},onClick:()=>Do(Sn,na)},"+",Fr==null?void 0:Fr.length)},Xn.group_settings&&Xn.group_settings.map(function(Fr){if(!kn.map(Co=>Co.group_name).toString().split(",").includes(String(Fr.group_name)))return _t.createElement(Rt,{value:Fr.group_name,key:Fr.id},Fr.group_name)}))))),_t.createElement(Le.Z,{span:14,style:{display:"flex",alignItems:"center"}},_t.createElement(tt,{size:"large",allowClear:!1,ranges:{\u6B64\u523B:[Sn.publish_time?ue()(Sn.publish_time):ue()(),ue()()]},disabled:ha||(ue()()<=ue()((Hn=fr(Sn.id))==null?void 0:Hn.publish_time)?!1:[!0,Ha(Sn.id)]),style:{width:605,marginLeft:10},placeholder:["\u53D1\u5E03\u65F6\u95F4\uFF08\u5B66\u751F\u6536\u5230\u4F5C\u4E1A\u65F6\u95F4\uFF09","\u622A\u6B62\u65F6\u95F4\uFF08\u5B66\u751F\u201C\u6309\u65F6\u201D\u63D0\u4EA4\u4F5C\u54C1\u65F6\u95F4\u622A\u70B9\uFF09"],disabledDate:Fr=>(0,pn.Q8)(Fr,Xn==null?void 0:Xn.course_end_date),disabledTime:Fr=>(0,pn.d0)(Fr),showTime:{format:"HH:mm",defaultValue:[ue()((0,Me.U6)(),"HH:mm"),ue()((0,Me.U6)(),"HH:mm")]},format:"YYYY-MM-DD HH:mm",value:Sn.publish_time&&[ue()(Sn.publish_time),Sn.end_time?ue()(Sn.end_time):void 0],onChange:(Fr,Co)=>{var qo;if(!((qo=ba.AssistantObject.hack)!=null&&qo.can_publish)&&(0,De.Rm)()){Ie.ZP.warning("\u60A8\u672A\u83B7\u53D6\u6B64\u6743\u9650\uFF0C\u9700\u5411\u8BFE\u5802\u7BA1\u7406\u5458\u7533\u8BF7\u6743\u9650\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD");return}kn[na].publish_time=Co[0],!Sn.end_time&&Co[0]?kn[na].end_time=ue()(Co[0]).add(7,"days"):kn[na].end_time=Co[1],tr([...kn])},onCalendarChange:(Fr,Co,qo)=>{if(Co!=null&&Co[0]&&!Co[1]){const Di=ue()(Co[0]).add(7,"days");kn[na].publish_time=Co[0],kn[na].end_time=Di,tr([...kn])}}})),!ha&&_t.createElement(Le.Z,{span:2,style:{display:"flex",alignItems:"center"}},((ya=Sn==null?void 0:Sn.group_id)==null?void 0:ya.length)>1&&_t.createElement(et.Z,{title:"\u89C4\u5219\u62C6\u5206"},_t.createElement("i",{className:"iconfont icon-chaifen ml10",style:{cursor:"pointer",color:"#3061d0",fontSize:14},onClick:()=>Do(Sn,na)})),kn.length<((wr=Xn==null?void 0:Xn.group_settings)==null?void 0:wr.length)&&_t.createElement(Et.Z,{className:"c-green ml10 mr10",onClick:()=>{tr(kn.concat({}))}}),((Sn==null?void 0:Sn.publish_time)&&ue()()<ue()(Sn==null?void 0:Sn.publish_time)||!(Sn!=null&&Sn.publish_time))&&na!=0&&_t.createElement(tn.Z,{style:{color:"#E30000"},onClick:()=>{var Fr;if(!((Fr=ba.AssistantObject.hack)!=null&&Fr.can_publish)&&(0,De.Rm)()){Ie.ZP.warning("\u60A8\u672A\u83B7\u53D6\u6B64\u6743\u9650\uFF0C\u9700\u5411\u8BFE\u5802\u7BA1\u7406\u5458\u7533\u8BF7\u6743\u9650\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD");return}const Co=(0,Vt.cloneDeep)(aa);Co.forEach((qo,Di)=>{qo.group_name&&(qo.group_name=qo.group_name.filter(Hi=>{var qi;return!((qi=kn[na].group_name)!=null&&qi.includes(Hi))}))}),an(Co),kn=kn.filter((qo,Di)=>na!==Di),tr(kn.slice()),setTimeout(()=>tr(kn.slice()),10)}}))))}))),_t.createElement("div",{className:`${sn.title} mt30`},"\u8865\u4EA4\u8BBE\u7F6E",_t.createElement("span",{className:"c-grey-666 font14",style:{fontWeight:400}},"\uFF08\u53EF\u5BF9\u5728\u4F5C\u4E1A\u53D1\u5E03\u65F6\u95F4\u8303\u56F4\u5185\u672A\u5B8C\u6210\u4F5C\u4E1A\u7684\u5B66\u751F\uFF0C\u5EF6\u957F\u65F6\u95F4\u8FDB\u884C\u8865\u4EA4\uFF09")),_t.createElement("div",{className:sn.content},_t.createElement(gt.Z,null,_t.createElement(je.default,{checked:bn.allow_late,disabled:ha||(Xn==null?void 0:Xn.allow_late),onChange:Sn=>{var na;if(!((na=ba.AssistantObject.hack)!=null&&na.can_late)&&(0,De.Rm)()){Ie.ZP.warning("\u60A8\u672A\u83B7\u53D6\u6B64\u6743\u9650\uFF0C\u9700\u5411\u8BFE\u5802\u7BA1\u7406\u5458\u7533\u8BF7\u6743\u9650\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD");return}Sn.target.checked&&be.default.warning({title:"\u5F00\u542F\u8865\u4EA4\u63D0\u793A",width:480,centered:!0,content:_t.createElement("div",{style:{padding:10,background:"#f5f6f9"}},_t.createElement("div",null,"1.\u5F00\u542F\u8865\u4EA4\u540E\u4E0D\u53EF\u5173\u95ED\uFF0C\u8865\u4EA4\u65B9\u5F0F\u63D0\u4EA4\u4FDD\u5B58\u540E\u4E0D\u53EF\u4FEE\u6539\uFF1B"),_t.createElement("div",null,"2.\u8865\u4EA4\u622A\u6B62\u65F6\u95F4\u5FC5\u987B\u665A\u4E8E\u4F5C\u4E1A\u622A\u6B62\u65F6\u95F4\uFF1B"),_t.createElement("div",null,"3.\u73ED\u7EA7\u9636\u6BB5\u8FDB\u5165\u201C\u8865\u4EA4\u4E2D\u201D\u5219\u4E0D\u53EF\u53D8\u66F4\u4F5C\u4E1A\u622A\u6B62\u65F6\u95F4\u3002"))}),bn.allow_late=!bn.allow_late,aa==""&&an([{late_minus_score:5}]),$r(Object.assign({},bn))}},_t.createElement("span",{style:{fontSize:"14px"}},"\u5F00\u542F\u8865\u4EA4")))),(bn==null?void 0:bn.allow_late)&&_t.createElement("div",{className:sn.content,style:{borderTop:"1px solid #fff",paddingLeft:54}},_t.createElement("div",null,_t.createElement("span",{style:{color:"#333333",marginRight:12}},"\u8865\u4EA4\u65B9\u5F0F\uFF1A"),_t.createElement(dt.ZP.Group,{disabled:ha||(Xn==null?void 0:Xn.anonymous_comment)||(Xn==null?void 0:Xn.allow_late),value:bn.unified_late,onChange:Sn=>{var na;if((0,De.Rm)()&&!((na=ba.AssistantObject.hack)!=null&&na.can_late)){Ie.ZP.warning("\u60A8\u672A\u83B7\u53D6\u6B64\u6743\u9650\uFF0C\u9700\u5411\u8BFE\u5802\u7BA1\u7406\u5458\u7533\u8BF7\u6743\u9650\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD");return}bn.unified_late=Sn.target.value,aa==""&&!Sn.target.value&&an([{late_minus_score:5}]),$r(Ar({},bn))}},(bn==null?void 0:bn.unified_setting)&&_t.createElement(dt.ZP,{value:!0,style:{color:"#333333"},disabled:!(Xn!=null&&Xn.manage_all_group)}," \u7EDF\u4E00\u8865\u4EA4 "),((Sr=Xn==null?void 0:Xn.group_settings)==null?void 0:Sr.length)&&_t.createElement(dt.ZP,{value:!1,style:{color:"#333333"}}," \u5206\u73ED\u8865\u4EA4 "))),bn!=null&&bn.unified_late?_t.createElement(_t.Fragment,null,_t.createElement(gt.Z,{align:"middle",className:"mt25"},_t.createElement(Le.Z,{style:{color:"#333333"}},"\u8865\u4EA4\u6263\u5206:"),_t.createElement(Le.Z,{className:"ml5"},_t.createElement(Un.Z,{disabled:ha||Yr,value:{type:bn.penalty_type,inputValue:bn.late_minus_score},onChange:Sn=>{var na;if((0,De.Rm)()&&!((na=ba.AssistantObject.hack)!=null&&na.can_late)){Ie.ZP.warning("\u60A8\u672A\u83B7\u53D6\u6B64\u6743\u9650\uFF0C\u9700\u5411\u8BFE\u5802\u7BA1\u7406\u5458\u7533\u8BF7\u6743\u9650\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD");return}$r(Cr(Ar({},bn),{late_minus_score:Sn.inputValue,penalty_type:Sn.type}))}})),_t.createElement(Le.Z,{flex:"1",className:"ml5"},_t.createElement("span",{className:"c-grey-c ml10"},bn.penalty_type===Un.Q.Number?"(\u8865\u4EA4\u65F6\u6309\u7167\u5B66\u751F\u603B\u6210\u7EE9\u6263\u5206)":"(\u5B66\u751F\u6700\u7EC8\u5F97\u5206=\u8865\u4EA4\u524D\u5F97\u5206+\u8865\u4EA4\u9636\u6BB5\u589E\u52A0\u7684\u5206\u503C*\uFF08100%-\u767E\u5206\u6BD4%\uFF09)"))),_t.createElement(gt.Z,{align:"middle",className:"mt25"},_t.createElement(Le.Z,{style:{color:"#333333"}},"\u8865\u4EA4\u622A\u6B62\u65F6\u95F4:"),_t.createElement(Le.Z,{className:"ml5"},_t.createElement(zt.default,{size:"large",allowClear:!1,style:{width:170},placeholder:"\u8BF7\u9009\u62E9\u622A\u6B62\u65F6\u95F4",showTime:{format:"HH:mm",defaultValue:ue()((0,Me.U6)(),"HH:mm")},format:"YYYY-MM-DD HH:mm",disabled:ha||Yr,value:bn.late_time?ue()(bn.late_time):"",disabledDate:Sn=>(0,pn.Q8)(Sn,Xn==null?void 0:Xn.course_end_date),disabledTime:Sn=>(0,pn.d0)(Sn),onChange:(Sn,na)=>{var Oa;if((0,De.Rm)()&&!((Oa=ba.AssistantObject.hack)!=null&&Oa.can_late)){Ie.ZP.warning("\u60A8\u672A\u83B7\u53D6\u6B64\u6743\u9650\uFF0C\u9700\u5411\u8BFE\u5802\u7BA1\u7406\u5458\u7533\u8BF7\u6743\u9650\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD");return}bn.late_time=na,$r(Object.assign({},bn))}})),_t.createElement(Le.Z,null,_t.createElement("span",{className:"c-grey-c ml10"},"(\u5B66\u751F\u201C\u5EF6\u65F6\u201D\u63D0\u4EA4\u4F5C\u54C1\u7684\u65F6\u95F4\u622A\u70B9)")))):aa.map(function(Sn,na){var Oa;return _t.createElement(Le.Z,{span:24,key:na},_t.createElement(gt.Z,{className:"mt25",align:"middle"},_t.createElement(Le.Z,null,_t.createElement("span",{style:{minWidth:85,display:"inline-block",color:"#333333"}},"\u8865\u4EA4\u89C4\u5219",na+1,"\uFF1A"),_t.createElement(fn.default,{size:"large",disabled:ha||!((Oa=ao==null?void 0:ao.homework_status)!=null&&Oa.includes("\u672A\u53D1\u5E03"))&&Sn.id||(Xn==null?void 0:Xn.anonymous_comment),mode:"multiple",className:`${sn.selectSty}`,style:{width:200},value:typeof Sn.group_name=="string"?[Sn.group_name]:Sn.group_name,placeholder:"\u8BF7\u9009\u62E9\u5206\u73ED\u540D\u79F0",onChange:Hn=>{var ya;if((0,De.Rm)()&&!((ya=ba.AssistantObject.hack)!=null&&ya.can_late)){Ie.ZP.warning("\u60A8\u672A\u83B7\u53D6\u6B64\u6743\u9650\uFF0C\u9700\u5411\u8BFE\u5802\u7BA1\u7406\u5458\u7533\u8BF7\u6743\u9650\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD");return}aa[na].group_name=Hn,aa[na].group_id=Sn.group_id,an(aa.slice())}},Xn.group_settings&&Xn.group_settings.map(function(Hn){if(bn!=null&&bn.unified_setting&&!aa.map(ya=>ya.group_name).toString().split(",").includes(String(Hn.group_name)))return _t.createElement(Rt,{value:Hn.group_name,key:Hn.id},Hn.group_name);if(kn.map(ya=>ya.group_name).toString().split(",").includes(String(Hn.group_name))&&!aa.map(ya=>ya.group_name).toString().split(",").includes(String(Hn.group_name)))return _t.createElement(Rt,{value:Hn.group_name,key:Hn.id},Hn.group_name)}))),_t.createElement(Le.Z,{className:"ml20",style:{display:"flex",alignItems:"center"}},_t.createElement("div",{style:{color:"#333333"}},"\u8865\u4EA4\u6263\u5206\uFF1A"),_t.createElement(Un.Z,{disabled:ha||mo(Sn.id),value:{type:Sn.penalty_type,inputValue:Sn.late_minus_score},onChange:Hn=>{var ya;if((0,De.Rm)()&&!((ya=ba.AssistantObject.hack)!=null&&ya.can_late)){Ie.ZP.warning("\u60A8\u672A\u83B7\u53D6\u6B64\u6743\u9650\uFF0C\u9700\u5411\u8BFE\u5802\u7BA1\u7406\u5458\u7533\u8BF7\u6743\u9650\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD");return}aa[na].late_minus_score=Hn.inputValue,aa[na].penalty_type=Hn.type,an([...aa])}})),_t.createElement(Le.Z,{className:"ml20"},_t.createElement("span",{style:{color:"#333333"}},"\u8865\u4EA4\u622A\u6B62\u65F6\u95F4\uFF1A"),_t.createElement(zt.default,{size:"large",disabled:ha||mo(Sn.id),style:{width:200},showTime:{format:"HH:mm",defaultValue:ue()((0,Me.U6)(),"HH:mm")},placeholder:"\u8BF7\u9009\u62E9\u622A\u6B62\u65F6\u95F4",disabledDate:Hn=>(0,pn.Q8)(Hn,Xn==null?void 0:Xn.course_end_date),disabledTime:Hn=>(0,pn.d0)(Hn),format:"YYYY-MM-DD HH:mm",value:Sn!=null&&Sn.late_time?ue()(Sn.late_time):void 0,onChange:(Hn,ya)=>{var wr;if((0,De.Rm)()&&!((wr=ba.AssistantObject.hack)!=null&&wr.can_late)){Ie.ZP.warning("\u60A8\u672A\u83B7\u53D6\u6B64\u6743\u9650\uFF0C\u9700\u5411\u8BFE\u5802\u7BA1\u7406\u5458\u7533\u8BF7\u6743\u9650\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD");return}aa[na].late_time=ya,an([...aa])}})),!ha&&_t.createElement(Le.Z,{style:{marginLeft:10}},na>0&&!Sn.id&&_t.createElement(tn.Z,{className:"mr10",style:{color:"#E30000"},onClick:()=>{aa=aa.filter((Hn,ya)=>na!==ya),an(aa.slice()),setTimeout(()=>an(aa.slice()),10)}}),_t.createElement(Et.Z,{className:"c-green",onClick:()=>{var Hn;if((0,De.Rm)()&&!((Hn=ba.AssistantObject.hack)!=null&&Hn.can_late)){Ie.ZP.warning("\u60A8\u672A\u83B7\u53D6\u6B64\u6743\u9650\uFF0C\u9700\u5411\u8BFE\u5802\u7BA1\u7406\u5458\u7533\u8BF7\u6743\u9650\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD");return}an(aa.concat({penalty_type:Un.Q.Percent,late_minus_score:20}))}}))))})),!ha&&_t.createElement(Ne.ZP,{type:"primary",size:"large",style:{width:138},className:"mt30",loading:eo,onClick:()=>Tr()},"\u4FDD\u5B58"),_t.createElement($n.Z,{onConfirm:(Sn,na)=>{kn.splice(Sn,0,...na),kn.splice(Sn+na.length,1);const Oa=(0,Me.QE)([...kn]);tr([...Oa])}}))};var Zn=(0,ve.connect)(({shixunHomeworks:Ut,classroomList:Ht,user:Zt,loading:ba})=>({shixunHomeworks:Ut,loading:ba.effects,user:Zt,classroomList:Ht}))(Dt),cn=te(59301),On=Object.defineProperty,Xr=Object.defineProperties,Er=Object.getOwnPropertyDescriptors,Kr=Object.getOwnPropertySymbols,oo=Object.prototype.hasOwnProperty,Xa=Object.prototype.propertyIsEnumerable,In=(Ut,Ht,Zt)=>Ht in Ut?On(Ut,Ht,{enumerable:!0,configurable:!0,writable:!0,value:Zt}):Ut[Ht]=Zt,ur=(Ut,Ht)=>{for(var Zt in Ht||(Ht={}))oo.call(Ht,Zt)&&In(Ut,Zt,Ht[Zt]);if(Kr)for(var Zt of Kr(Ht))Xa.call(Ht,Zt)&&In(Ut,Zt,Ht[Zt]);return Ut},nr=(Ut,Ht)=>Xr(Ut,Er(Ht)),sr=(Ut,Ht,Zt)=>new Promise((ba,Va)=>{var Fa=vn=>{try{Ua(Zt.next(vn))}catch(Za){Va(Za)}},Mn=vn=>{try{Ua(Zt.throw(vn))}catch(Za){Va(Za)}},Ua=vn=>vn.done?ba(vn.value):Promise.resolve(vn.value).then(Fa,Mn);Ua((Zt=Zt.apply(Ut,Ht)).next())});function er(Ut,Ht){const Zt=[];for(let ba=Ut;ba<Ht;ba++)Zt.push(ba);return Zt}const ht=Ut=>{let Ht=new Date;const Zt=ue()(Ut).format("HH");if(ue()(Ut).isSame(ue()(Ht),"day")){const ba=ue()(Ht).format("HH"),Va=ue()(Ht).format("mm");return{disabledHours:()=>er(0,24).splice(1,ba*1-1),disabledMinutes:()=>(console.log("\u7981\u6B62\u65F6\u95F4\uFF1A",Zt,ba),ue()(Ut).isSame(ue()(Ht),"hour")&&Zt<=ba?er(0,60).splice(0,Va):er(60,60))}}else if(ue()(Ut).isSame(ue()(),"day")){const ba=ue()().format("HH"),Va=ue()().format("mm");return{disabledHours:()=>er(0,24).splice(0,ba),disabledMinutes:()=>Zt<=ba?er(0,Va):er(60,60)}}else return},{RangePicker:en}=zt.default,{Option:nn}=fn.default,yn=({shixunHomeworks:Ut,loading:Ht,dispatch:Zt})=>{const ba=(0,ve.useParams)(),Va=(0,ve.useLocation)(),{workSetting:Fa,workList:Mn,changeData:Ua}=Ut,[vn,Za]=(0,z.useState)(!0),[Da,Io]=(0,z.useState)({}),[Ma,$o]=(0,z.useState)(!1),[Si]=pt.default.useForm();let[Ko,Sr]=(0,z.useState)([]),[Pr,Xn]=(0,z.useState)([]);const[ao,oi]=(0,z.useState)([]),ha=(0,z.useRef)(!0);let[ca,eo]=(0,z.useState)({unified_setting:!1,publish_time:"",end_time:"",allow_late:!1,unified_late:!0,late_time:"",late_penalty:0,challenge_settings:[],work_efficiency:!1,shixun_evaluation:"",answer_open_evaluation:!1,answer_public:!1,score_open:!1,open_code:!1,rank_forbidden:!1,hack_analysis:!1,hack_answer:!1,open_code_type:void 0,hack_analysis_type:2,hack_answer_type:1,comment_public:!0,total_score:"",eff_score:0,rank_forbidden_start:"",rank_forbidden_end:"",show_late_code:!0});(0,z.useEffect)(()=>()=>{Sr([])},[]),(0,z.useEffect)(()=>{Fa!=null&&Fa.can_edit&&Za(!1)},[Fa]);const Ai=()=>{Zt({type:"shixunHomeworks/getWorkSetting",payload:ur({},ba)})},kn=an=>an&&an<ue()().startOf("day");(0,z.useEffect)(()=>{Fa!=null&&Fa.course_id&&ha.current&&(ha.current=!1,Object.keys(ca).map(function(an){Fa[an]!==void 0&&(ca[an]=Fa[an])}),(!ca.allow_late||!ca.unified_late)&&(ca.late_penalty=5),Ko=JSON.parse(JSON.stringify(Fa.group_settings.map(an=>nr(ur({},an),{group_name:[an.group_name]})).filter(an=>an.publish_time!==null))),Pr=JSON.parse(JSON.stringify(Fa.allow_late_settings.map(an=>nr(ur({},an),{group_name:[an.group_name]})).filter(an=>an.rank_forbidden_start!==null))),eo(ur({},ca)),console.log(ca,Fa,"data"),Sr([...Ko]),(Pr==null?void 0:Pr.length)<=0?Xn([{}]):Xn([...Pr]))},[Fa]);const tr=()=>{const an=JSON.parse(JSON.stringify(ca));if(an.categoryId=ba.categoryId,ca.unified_setting||(Ko=Ko==null?void 0:Ko.map(Vn=>{var bn;if(!Vn.publish_time||!Vn.end_time)throw Ie.ZP.error("\u8BF7\u628A\u5F00\u59CB\u65F6\u95F4\u586B\u5199\u5B8C\u6574"),new String("\u8BF7\u628A\u5F00\u59CB\u65F6\u95F4\u586B\u5199\u5B8C\u6574");if(!Vn.group_name)throw Ie.ZP.error("\u8BF7\u9009\u62E9\u5206\u73ED\u540D\u79F0"),new String("\u8BF7\u9009\u62E9\u5206\u73ED\u540D\u79F0");return Vn.group_name=typeof(Vn==null?void 0:Vn.group_name)=="string"?[Vn==null?void 0:Vn.group_name]:Vn==null?void 0:Vn.group_name,Vn.group_id=(bn=Fa.group_settings)==null?void 0:bn.filter($r=>{var mr;return(mr=Vn==null?void 0:Vn.group_name)==null?void 0:mr.includes($r.group_name)}).map($r=>$r.group_id||$r.id).toString().split(","),Vn})),an.group_settings=Ko,ca.rank_forbidden)if(ca.unified_setting){if(!ca.rank_forbidden_start)throw Ie.ZP.error("\u8BF7\u628A\u5F00\u59CB\u65F6\u95F4\u586B\u5199\u5B8C\u6574"),new String("\u8BF7\u628A\u5F00\u59CB\u65F6\u95F4\u586B\u5199\u5B8C\u6574");if(!ca.rank_forbidden_end)throw Ie.ZP.error("\u8BF7\u628A\u622A\u6B62\u65F6\u95F4\u586B\u5199\u5B8C\u6574"),new String("\u8BF7\u628A\u622A\u6B62\u65F6\u95F4\u586B\u5199\u5B8C\u6574");if(ue()(ca.rank_forbidden_end)<ue()(ca.rank_forbidden_start))throw Ie.ZP.error("\u622A\u6B62\u65F6\u95F4\u4E0D\u80FD\u65E9\u4E8E\u5F00\u59CB\u65F6\u95F4"),new String("\u622A\u6B62\u65F6\u95F4\u4E0D\u80FD\u65E9\u4E8E\u5F00\u59CB\u65F6\u95F4")}else Pr=Pr==null?void 0:Pr.map(Vn=>{var bn,$r;if(!Vn.rank_forbidden_start)throw Ie.ZP.error("\u8BF7\u628A\u5F00\u59CB\u65F6\u95F4\u586B\u5199\u5B8C\u6574"),new String("\u8BF7\u628A\u5F00\u59CB\u65F6\u95F4\u586B\u5199\u5B8C\u6574");if(!Vn.rank_forbidden_end)throw Ie.ZP.error("\u8BF7\u628A\u622A\u6B62\u65F6\u95F4\u586B\u5199\u5B8C\u6574"),new String("\u8BF7\u628A\u622A\u6B62\u65F6\u95F4\u586B\u5199\u5B8C\u6574");if(!Vn.group_name)throw Ie.ZP.error("\u8BF7\u9009\u62E9\u5206\u73ED\u540D\u79F0"),new String("\u8BF7\u9009\u62E9\u5206\u73ED\u540D\u79F0");return Vn.group_name=typeof(Vn==null?void 0:Vn.group_name)=="string"?[Vn==null?void 0:Vn.group_name]:Vn==null?void 0:Vn.group_name,Vn.group_id=($r=(bn=Vn==null?void 0:Vn.group_name)==null?void 0:bn.map(mr=>{var Tr,Jo;let fr=(Jo=(Tr=Fa.group_settings)==null?void 0:Tr.filter(So=>(So==null?void 0:So.group_name)===mr))==null?void 0:Jo[0];return fr==null?void 0:fr.group_id}))==null?void 0:$r.toString().split(","),Vn}),an.group_settingss=Pr;aa(an)},aa=an=>{if(console.log(an.total_score,an.eff_score),an.total_score===null){Ie.ZP.warning("\u603B\u5206\u503C\u4E0D\u80FD\u4E3A\u7A7A");return}if(an!=null&&an.work_efficiency&&an.eff_score===null){Ie.ZP.warning("\u6548\u7387\u5206\u4E0D\u80FD\u4E3A\u7A7A");return}const Vn={shixun_evaluation:an.shixun_evaluation};sr(void 0,null,function*(){$o(!0),(yield(0,se.ZP)(`/api/homework_commons/${ba.categoryId}/public_setting.json`,{method:"post",body:ur({},an)})).status===0&&(Ie.ZP.success("\u66F4\u65B0\u6210\u529F"),Ai(),Zt({type:"shixunHomeworks/getWorkList",payload:ur({},ba)})),$o(!1)})};return cn.createElement("section",{className:sn.form},cn.createElement("div",{className:sn.title},"\u516C\u5F00\u8BBE\u7F6E"),cn.createElement("div",{className:sn.content,style:{padding:0}},cn.createElement(gt.Z,null,cn.createElement(Le.Z,{span:24,className:sn.pubColSty},cn.createElement(je.default,{checked:ca.score_open,disabled:vn,onChange:an=>{ca.score_open=an.target.checked,eo(Object.assign({},ca))}},cn.createElement("span",{className:"font14 c-grey-333"},"\u516C\u5F00\u6210\u7EE9")),cn.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")),cn.createElement(Le.Z,{span:24,className:sn.pubColSty,style:{borderBottom:ca.open_code?"none":"1px solid #fff"}},cn.createElement(je.default,{checked:ca.open_code,disabled:vn,onChange:an=>{ca.open_code=an.target.checked,an.target.checked&&(ca.open_code_type=1),eo(Object.assign({},ca))}},cn.createElement("span",{className:"font14 c-grey-333"},"\u516C\u5F00\u4EE3\u7801")),cn.createElement("span",{className:"c-grey-666 font14"},"\uFF08\u8BBE\u7F6E\u5B66\u751F\u53EF\u5728\u6392\u884C\u699C\u4E2D\u67E5\u770B\u4ED6\u4EBA\u8BD5\u9898\u901A\u8FC7\u4EE3\u7801\u8BE6\u60C5\uFF09")),!!ca.open_code&&cn.createElement(Le.Z,{span:24,className:sn.pubColSty},cn.createElement(dt.ZP.Group,{style:{marginLeft:"24px"},disabled:vn,value:ca.open_code_type,onChange:an=>{ca.open_code_type=an.target.value,eo(Object.assign({},ca))}},cn.createElement(dt.ZP,{value:1,style:{color:"#333333"}},"\u4F5C\u4E1A\u7ED3\u675F\u540E"),cn.createElement(dt.ZP,{value:0,style:{marginLeft:60,color:"#333333"}},"\u4EFB\u610F\u65F6\u95F4"))),cn.createElement(Le.Z,{span:24,className:sn.pubColSty,style:{borderBottom:ca.rank_forbidden&&ca.unified_setting||!ca.unified_setting&&(Ko==null?void 0:Ko.length)>0&&ca.rank_forbidden?"none":"1px solid #fff"}},cn.createElement(je.default,{checked:ca.rank_forbidden,disabled:vn,onChange:an=>{ca.rank_forbidden=an.target.checked,eo(Object.assign({},ca))}},cn.createElement("span",{className:"font14"},"\u5F00\u542F\u5C01\u699C")),cn.createElement("span",{className:"c-grey-666 font14"},"\uFF08\u8BBE\u7F6E\u5B66\u751F\u4E0D\u53EF\u67E5\u770B\u6392\u884C\u699C\u4FE1\u606F\u7684\u65F6\u95F4\u6BB5\uFF09")),!!ca.rank_forbidden&&ca.unified_setting&&cn.createElement(Le.Z,{span:24,className:sn.pubColSty,style:{height:"50px",lineHeight:"50px"}},cn.createElement("div",{style:{marginLeft:"24px"}},cn.createElement(gt.Z,{align:"middle"},cn.createElement(Le.Z,null,"\u5F00\u59CB\u65F6\u95F4"),cn.createElement(Le.Z,{className:"ml10"},cn.createElement(zt.default,{size:"large",style:{width:370},placeholder:"\u8BF7\u9009\u62E9\u5F00\u59CB\u65F6\u95F4\uFF08\u5B66\u751F\u770B\u4E0D\u5230\u6392\u884C\u699C\u7684\u5F00\u59CB\u65F6\u95F4\uFF09",showTime:{format:"HH:mm"},allowClear:!1,format:"YYYY-MM-DD HH:mm",disabledDate:kn,disabledTime:ht,disabled:vn||ue()()>ue()(Fa.rank_forbidden_start),value:ca.rank_forbidden_start?ue()(ca.rank_forbidden_start):"",onChange:(an,Vn)=>{ca.rank_forbidden_start=Vn,(ca.end_time==""||!ca.end_time)&&ca.unified_setting&&(ca.end_time=ue()(an).add(1,"month").format("YYYY-MM-DD HH:mm:ss")),eo(Object.assign({},ca))}})),cn.createElement(Le.Z,{className:"ml20"},"\u622A\u6B62\u65F6\u95F4"),cn.createElement(Le.Z,{className:"ml10"},cn.createElement(zt.default,{size:"large",style:{width:370},allowClear:!1,placeholder:"\u8BF7\u9009\u62E9\u622A\u6B62\u65F6\u95F4\uFF08\u5B66\u751F\u770B\u4E0D\u5230\u6392\u884C\u699C\u7684\u7ED3\u675F\u65F6\u95F4\uFF09",showTime:{format:"HH:mm",defaultValue:ue()((0,Me.U6)(),"HH:mm")},format:"YYYY-MM-DD HH:mm",disabled:vn,disabledDate:kn,value:ca.rank_forbidden_end?ue()(ca.rank_forbidden_end):"",onChange:(an,Vn)=>{ca.rank_forbidden_end=Vn,eo(Object.assign({},ca))}}))))),!ca.unified_setting&&(Ko==null?void 0:Ko.length)>0&&!!ca.rank_forbidden&&cn.createElement(gt.Z,{align:"middle",style:{borderBottom:"1px solid #fff",paddingBottom:"5px",width:"100%"}},Pr.map(function(an,Vn){var bn,$r,mr,Tr,Jo,fr,So;return cn.createElement(Le.Z,{span:24,key:Vn,style:{marginLeft:"24px"}},cn.createElement(gt.Z,{className:"mt10 ml30",align:"middle"},cn.createElement(Le.Z,null,cn.createElement("span",{style:{color:"#666"}},"\u5C01\u699C\u89C4\u5219",Vn+1,"\uFF1A"),cn.createElement(fn.default,{size:"large",disabled:vn||!((bn=Mn==null?void 0:Mn.homework_status)!=null&&bn.includes("\u672A\u53D1\u5E03"))&&an.id,mode:"multiple",className:sn.selectSty,style:{width:250},value:typeof an.group_name=="string"?[an.group_name]:an.group_name,placeholder:"\u8BF7\u9009\u62E9\u5206\u73ED\u540D\u79F0",onChange:Ha=>{Pr[Vn].group_name=Ha,Pr[Vn].group_id=an.group_id,Xn(Pr.slice())}},Fa.group_settings&&Fa.group_settings.map(function(Ha){if(ca!=null&&ca.unified_setting&&!Pr.map(Yr=>Yr.group_name).toString().split(",").includes(String(Ha.group_name)))return cn.createElement(nn,{value:Ha.group_name,key:Ha.id},Ha.group_name);if(Ko.map(Yr=>Yr.group_name).toString().split(",").includes(String(Ha.group_name))&&!Pr.map(Yr=>Yr.group_name).toString().split(",").includes(String(Ha.group_name)))return cn.createElement(nn,{value:Ha.group_name,key:Ha.id},Ha.group_name)}))),cn.createElement(Le.Z,{span:15},cn.createElement("div",{className:"ml20"},cn.createElement(en,{size:"large",allowClear:!1,disabled:vn||((Tr=(mr=($r=Fa==null?void 0:Fa.group_settings)==null?void 0:$r.filter(Ha=>Ha.id===an.id))==null?void 0:mr[0])!=null&&Tr.rank_forbidden_start?ue()()<ue()((So=(fr=(Jo=Fa==null?void 0:Fa.group_settings)==null?void 0:Jo.filter(Ha=>Ha.id===an.id))==null?void 0:fr[0])==null?void 0:So.rank_forbidden_start)?!1:[!0,!1]:!1),style:{width:635},placeholder:["\u5F00\u59CB\u65F6\u95F4\uFF08\u5B66\u751F\u770B\u4E0D\u5230\u6392\u884C\u699C\u7684\u5F00\u59CB\u65F6\u95F4\uFF09","\u7ED3\u675F\u65F6\u95F4\uFF08\u5B66\u751F\u770B\u4E0D\u5230\u6392\u884C\u699C\u7684\u7ED3\u675F\u65F6\u95F4\uFF09"],disabledDate:kn,disabledTime:ht,showTime:{format:"HH:mm",defaultValue:[ue()((0,Me.U6)(),"HH:mm"),ue()((0,Me.U6)(),"HH:mm")]},format:"YYYY-MM-DD HH:mm",value:an.rank_forbidden_start&&[ue()(an.rank_forbidden_start),an.rank_forbidden_end?ue()(an.rank_forbidden_end):void 0],onChange:(Ha,Yr)=>{Pr[Vn].rank_forbidden_start=Yr[0],Pr[Vn].rank_forbidden_end=Yr[1],Xn([...Pr])}}))),!vn&&cn.createElement(Le.Z,null,cn.createElement(Et.Z,{className:"c-green",onClick:()=>{Xn(Pr.concat({}))}}),Vn>0&&!an.id&&cn.createElement(tn.Z,{className:"c-red ml10",onClick:()=>{Pr=Pr.filter((Ha,Yr)=>Vn!==Yr),Xn(Pr.slice()),setTimeout(()=>Xn(Pr.slice()),10)}}))))})),cn.createElement(Le.Z,{span:24,className:sn.pubColSty,style:{borderBottom:ca.hack_analysis?"none":"1px solid #fff"}},cn.createElement(je.default,{checked:ca.hack_analysis,disabled:vn,onChange:an=>{ca.hack_analysis=an.target.checked,an.target.checked&&(ca.hack_analysis_type=2),eo(Object.assign({},ca))}},cn.createElement("span",{className:"font14 c-grey-333"},"\u516C\u5F00\u89E3\u6790")),cn.createElement("span",{className:"c-grey-666 font14"},"\uFF08\u8BBE\u7F6E\u5B66\u751F\u5728\u5B9E\u9A8C\u9875\u9762\u67E5\u770B\u8BD5\u9898\u89E3\u6790\uFF09")),!!ca.hack_analysis&&cn.createElement(Le.Z,{span:24,className:sn.pubColSty},cn.createElement(dt.ZP.Group,{style:{marginLeft:"24px"},disabled:vn,value:ca.hack_analysis_type,onChange:an=>{ca.hack_analysis_type=an.target.value,eo(Object.assign({},ca))}},cn.createElement(dt.ZP,{value:2,style:{color:"#333333"}},"\u4F5C\u4E1A\u7ED3\u675F\u540E"),cn.createElement(dt.ZP,{style:{marginLeft:60,color:"#333333"},value:0},"\u4EFB\u610F\u65F6\u95F4"),cn.createElement(dt.ZP,{style:{marginLeft:60,color:"#333333"},value:1},"\u5B66\u751F\u901A\u8FC7\u7B54\u9898\u540E/\u672A\u901A\u8FC7\u7684\u5B66\u751F\u4F5C\u4E1A\u622A\u6B62\u540E"))),cn.createElement(Le.Z,{span:24,className:sn.pubColSty,style:{borderBottom:ca.hack_answer?"none":"1px solid #fff"}},cn.createElement(je.default,{checked:ca.hack_answer,disabled:vn,onChange:an=>{ca.hack_answer=an.target.checked,an.target.checked&&(ca.hack_answer_type=1),eo(Object.assign({},ca))}},cn.createElement("span",{className:"font14 c-grey-333"},"\u516C\u5F00\u7B54\u6848")),cn.createElement("span",{className:"c-grey-666 font14"},"\uFF08\u8BBE\u7F6E\u5B66\u751F\u5728\u5B9E\u9A8C\u9875\u9762\u67E5\u770B\u8BD5\u9898\u7B54\u6848\uFF09")),!!ca.hack_answer&&cn.createElement(Le.Z,{span:24,className:sn.pubColSty},cn.createElement(dt.ZP.Group,{style:{marginLeft:"24px"},disabled:vn,value:ca.hack_answer_type,onChange:an=>{ca.hack_answer_type=an.target.value,eo(Object.assign({},ca))}},cn.createElement(dt.ZP,{value:1,style:{color:"#333333"}},"\u4F5C\u4E1A\u7ED3\u675F\u540E"),cn.createElement(dt.ZP,{value:0,style:{marginLeft:60,color:"#333333"}},"\u4EFB\u610F\u65F6\u95F4"))))),cn.createElement("div",{className:`${sn.title} mt30`},"\u5B66\u751F\u5B9E\u9A8C\u62A5\u544A\u4EE3\u7801\u5C55\u793A\u8BBE\u7F6E"),cn.createElement("div",{className:sn.content},cn.createElement(je.default,{disabled:vn,checked:ca.show_late_code,onChange:()=>{ca.show_late_code=!ca.show_late_code,eo(Object.assign({},ca))}},cn.createElement("span",{className:"c-black"},"\u5C55\u793A\u6240\u6709\u8BC4\u6D4B\u4EE3\u7801"),cn.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"))),!vn&&cn.createElement(Ne.ZP,{type:"primary",size:"large",style:{width:138},className:"mt30",loading:Ma,onClick:()=>tr()},"\u4FDD\u5B58"))};var Tn=(0,ve.connect)(({shixunHomeworks:Ut,loading:Ht})=>({shixunHomeworks:Ut,loading:Ht.effects}))(yn),mn=te(59301),Nn=Object.defineProperty,En=Object.defineProperties,ar=Object.getOwnPropertyDescriptors,Ra=Object.getOwnPropertySymbols,gn=Object.prototype.hasOwnProperty,io=Object.prototype.propertyIsEnumerable,to=(Ut,Ht,Zt)=>Ht in Ut?Nn(Ut,Ht,{enumerable:!0,configurable:!0,writable:!0,value:Zt}):Ut[Ht]=Zt,no=(Ut,Ht)=>{for(var Zt in Ht||(Ht={}))gn.call(Ht,Zt)&&to(Ut,Zt,Ht[Zt]);if(Ra)for(var Zt of Ra(Ht))io.call(Ht,Zt)&&to(Ut,Zt,Ht[Zt]);return Ut},Mo=(Ut,Ht)=>En(Ut,ar(Ht)),ea=(Ut,Ht,Zt)=>new Promise((ba,Va)=>{var Fa=vn=>{try{Ua(Zt.next(vn))}catch(Za){Va(Za)}},Mn=vn=>{try{Ua(Zt.throw(vn))}catch(Za){Va(Za)}},Ua=vn=>vn.done?ba(vn.value):Promise.resolve(vn.value).then(Fa,Mn);Ua((Zt=Zt.apply(Ut,Ht)).next())});const Aa=({shixunHomeworks:Ut,loading:Ht,dispatch:Zt})=>{var ba;const Va=(0,ve.useParams)(),{workSetting:Fa,workList:Mn,changeData:Ua}=Ut,[vn,Za]=(0,z.useState)(!0),[Da,Io]=(0,z.useState)(!1),[Ma,$o]=(0,z.useState)(!1),[Si]=pt.default.useForm();let[Ko,Sr]=(0,z.useState)([]),[Pr,Xn]=(0,z.useState)([]);const ao=!((ba=Mn==null?void 0:Mn.homework_status)!=null&&ba.includes("\u672A\u53D1\u5E03")),oi=(0,z.useRef)(!0);let[ha,ca]=(0,z.useState)({unified_setting:!1,publish_time:"",end_time:"",allow_late:!1,unified_late:!0,late_time:"",late_penalty:0,challenge_settings:[],work_efficiency:!1,shixun_evaluation:"",answer_open_evaluation:!1,answer_public:!1,score_open:!1,comment_public:!0,total_score:"",eff_score:0,is_onpage_time:!0,training_time_rules:1,hack_settings:[],punish_time:void 0,hack_score_settings:void 0,hack_rank_rule:0});(0,z.useEffect)(()=>()=>{Sr([])},[]),(0,z.useEffect)(()=>{Fa!=null&&Fa.can_edit&&Za(!1)},[Fa]);const eo=()=>{Zt({type:"shixunHomeworks/getWorkSetting",payload:no({},Va)})};(0,z.useEffect)(()=>{Fa!=null&&Fa.course_id&&oi.current&&(oi.current=!1,Object.keys(ha).map(function(an){ha[an]=Fa[an]}),(!ha.allow_late||!ha.unified_late)&&(ha.late_penalty=5),Ko=JSON.parse(JSON.stringify(Fa.group_settings.map(an=>Mo(no({},an),{group_name:[an.group_name]})).filter(an=>an.publish_time!==null))),Pr=JSON.parse(JSON.stringify(Fa.allow_late_settings.map(an=>Mo(no({},an),{group_name:[an.group_name]})).filter(an=>an.late_time!==null))),tr(),ca(no({},ha)),Sr([...Ko]),Xn([...Pr]))},[Fa]);const Ai=()=>{const an=JSON.parse(JSON.stringify(ha));kn(an)},kn=an=>{if(console.log(an.total_score,an.eff_score),an.total_score===null){Ie.ZP.warning("\u603B\u5206\u503C\u4E0D\u80FD\u4E3A\u7A7A");return}const Vn=()=>ea(void 0,null,function*(){Io(!0),(yield(0,se.ZP)(`/api/homework_commons/${Va.categoryId}/hack_score_setting.json`,{method:"post",body:no({},an)})).status===0&&(Ie.ZP.success("\u66F4\u65B0\u6210\u529F"),eo(),Zt({type:"shixunHomeworks/getWorkList",payload:no({},Va)})),Io(!1)});(ha==null?void 0:ha.hack_score_settings)!==(Fa==null?void 0:Fa.hack_score_settings)&&ao?be.default.confirm({title:"\u66F4\u65B0\u6210\u7EE9",content:"\u60A8\u6539\u52A8\u4E86\u672C\u6B21\u4F5C\u4E1A\u7684\u5F97\u5206\u8BBE\u7F6E\uFF0C\u8FD9\u53EF\u80FD\u5BFC\u81F4\u5DF2\u5B8C\u6210\u4F5C\u4E1A\u7684\u5B66\u751F\u7684\u6210\u7EE9\u4EA7\u751F\u9519\u8BEF\u3002\u70B9\u51FB\u201C\u786E\u5B9A\u201D\u6309\u94AE\u5C06\u4FDD\u5B58\u6700\u65B0\u8BBE\u7F6E\u5E76\u6309\u6700\u65B0\u8BBE\u7F6E\u66F4\u65B0\u5168\u73ED\u6210\u7EE9\u3002",okText:"\u786E\u8BA4",cancelText:"\u53D6\u6D88",onOk:Vn}):Vn()},tr=()=>{var an;const{total_score:Vn}=ha,bn=(an=ha.hack_settings)==null?void 0:an.length;if(!bn)return;let $r=0,mr;switch(ha.hack_score_settings){case 0:const Tr=(Vn/bn).toFixed(2);ha.hack_settings.map((Sn,na)=>{$r=na,Sn.hack_score=Tr>0?Tr:0}),mr=(Vn-Tr*(bn-1)).toFixed(2),ha.hack_settings[$r].hack_score=mr>0?mr:0;break;case 1:const Jo=[0,1,3,6];let fr=0;const So=ha.hack_settings.filter(Sn=>Sn.difficult===1).length*Jo[1],Ha=ha.hack_settings.filter(Sn=>Sn.difficult===2).length*Jo[2],Yr=ha.hack_settings.filter(Sn=>Sn.difficult===3).length*Jo[3],mo=Vn/(So+Ha+Yr);console.log(mo,2222),ha.hack_settings.map((Sn,na)=>{$r=na,Sn.hack_score=(Jo[Sn.difficult]*mo).toFixed(2),fr=fr+Number(Sn.hack_score)});let Do=ha.hack_settings[$r].hack_score;mr=(Vn-fr+Number(Do)).toFixed(2),ha.hack_settings[$r].hack_score=mr>0?mr:0;break}},aa=(Fa==null?void 0:Fa.send_type)===0||(Fa==null?void 0:Fa.send_type)===1&&(ha==null?void 0:ha.hack_score_settings)===2;return mn.createElement("section",{className:sn.form},mn.createElement("div",{className:sn.title},"\u5206\u503C\u8BBE\u7F6E"),mn.createElement("div",{className:`${sn.content} mb30`},mn.createElement(gt.Z,{align:"middle"},mn.createElement(gt.Z,{align:"middle"},mn.createElement("span",{className:"c-grey-333"},"\u603B\u5206\u503C"),mn.createElement(Bt.Z,{min:0,className:"ml20",style:{width:220},size:"large",value:ha.total_score,disabled:vn,onChange:an=>{ha.total_score=an,ca(Object.assign({},ha)),tr()},addonAfter:"\u5206"})),mn.createElement(gt.Z,{align:"middle",style:{marginLeft:60}},mn.createElement("span",{className:"c-grey-333"},"\u6D4B\u8BC4\u5355\u6B21\u62A5\u9519\u589E\u52A0\u65F6\u957F"),mn.createElement(Bt.Z,{className:"ml20",style:{width:220},size:"large",min:0,value:ha.punish_time,precision:0,disabled:vn,onChange:an=>{ha.punish_time=an,ca(Object.assign({},ha)),tr()},addonAfter:"\u5206\u949F"})))),mn.createElement("div",{className:sn.title},"\u6392\u884C\u699C\u65F6\u95F4\u540D\u6B21\u89C4\u5219"),mn.createElement("div",{className:`${sn.content} mb30`},mn.createElement(dt.ZP.Group,{disabled:vn,value:ha.hack_rank_rule,onChange:an=>{ha.hack_rank_rule=an.target.value,ca(Object.assign({},ha))}},mn.createElement(dt.ZP,{value:0},mn.createElement("span",{className:"c-black"},"\u8017\u65F6\u65F6\u957F\u4F18\u5148"),mn.createElement("span",{className:"c-grey-666 font14"},"\uFF08\u540C\u6210\u7EE9\uFF0C\u8017\u65F6\u8D8A\u77ED\u540D\u6B21\u8D8A\u524D\uFF09")),mn.createElement(dt.ZP,{style:{marginLeft:40},value:1},mn.createElement("span",{className:"c-black"},"\u5B8C\u6210\u65F6\u95F4\u70B9\u4F18\u5148"),mn.createElement("span",{className:"c-grey-666 font14"},"\uFF08\u540C\u6210\u7EE9\uFF0C\u5B8C\u6210\u65F6\u95F4\u8D8A\u65E9\u540D\u6B21\u8D8A\u524D\uFF09")))),mn.createElement("div",{className:sn.title},"\u8BD5\u9898\u5206\u503C"),mn.createElement("div",{className:sn.content},mn.createElement(dt.ZP.Group,{value:ha.hack_score_settings,onChange:an=>{ha.hack_score_settings=an.target.value,ca(Object.assign({},ha)),tr()}},mn.createElement(dt.ZP,{value:0},"\u5747\u5206\u6BD4\u4F8B"),mn.createElement(dt.ZP,{style:{margin:"0 40px"},value:1},"\u96BE\u6613\u5EA6"),mn.createElement(dt.ZP,{value:2},"\u81EA\u5B9A\u4E49\u5206\u503C"))),mn.createElement("div",{className:sn.content,style:{borderTop:"1px solid #fff"}},mn.createElement("div",{style:{padding:"0px 20px 20px 20px"}},ha.hack_settings&&ha.hack_settings.map(function(an,Vn){return mn.createElement(gt.Z,{key:Vn,align:"middle",style:{marginTop:20}},mn.createElement(Le.Z,{flex:"1",className:"pr10"},mn.createElement("span",{style:{color:"#333333"}},an.hack_name)),mn.createElement(Le.Z,{flex:"150px"},mn.createElement(Bt.Z,{min:0,step:.1,style:{visibility:aa?"visible":"hidden"},value:an.hack_score,disabled:ha.hack_score_settings!==2,onChange:bn=>{ha.hack_settings[Vn].hack_score=bn;const $r=ha.hack_settings.reduce((mr,Tr)=>mr+Number(Tr.hack_score),0);ha.total_score=$r.toFixed(2),ca(no({},ha))},size:"large",addonAfter:"\u5206"})),mn.createElement(Le.Z,{className:"ml20",style:{lineHeight:"20px"}},an.difficult===1&&mn.createElement("span",{className:"tag-style-border-small bg-green c-white mr10"},"\u7B80\u5355"),an.difficult===2&&mn.createElement("span",{className:"tag-style-border-small bg-blue c-white mr10"},"\u9002\u4E2D"),an.difficult===3&&mn.createElement("span",{className:"tag-style-border-small bg-orange c-white mr10"},"\u56F0\u96BE")))}))),!vn&&mn.createElement(Ne.ZP,{type:"primary",size:"large",style:{width:138},className:"mt30",loading:Da,onClick:()=>Ai()},"\u4FDD\u5B58"))};var dr=(0,ve.connect)(({shixunHomeworks:Ut,loading:Ht})=>({shixunHomeworks:Ut,loading:Ht.effects}))(Aa),pa=te(59301),jr=(Ut,Ht,Zt)=>new Promise((ba,Va)=>{var Fa=vn=>{try{Ua(Zt.next(vn))}catch(Za){Va(Za)}},Mn=vn=>{try{Ua(Zt.throw(vn))}catch(Za){Va(Za)}},Ua=vn=>vn.done?ba(vn.value):Promise.resolve(vn.value).then(Fa,Mn);Ua((Zt=Zt.apply(Ut,Ht)).next())});const Ir=({shixunHomeworks:Ut,loading:Ht,dispatch:Zt})=>{var ba,Va;const[Fa,Mn]=(0,z.useState)(!0),[Ua,vn]=(0,z.useState)(!1),[Za,Da]=(0,z.useState)([]),[Io,Ma]=(0,z.useState)([]),[$o,Si]=(0,z.useState)([]),[Ko,Sr]=(0,z.useState)([]),[Pr,Xn]=(0,z.useState)(!1),[ao,oi]=(0,z.useState)(""),ha=(0,ve.useParams)();function ca(){return jr(this,null,function*(){let kn=yield(0,se.ZP)(`/api/homework_commons/${ha.categoryId}/homework_common_collaborators.json`,{method:"get"});Ma(kn)})}function eo(){return jr(this,null,function*(){var kn;let tr=yield(0,se.ZP)(`/api/courses/${ha==null?void 0:ha.coursesId}/teachers`,{method:"get",params:{homework_id:ha.categoryId,limit:1e3}});(kn=tr==null?void 0:tr.teacher_list)==null||kn.map(aa=>{aa.key=aa.user_id}),Si(tr==null?void 0:tr.teacher_list),Sr(tr==null?void 0:tr.teacher_list)})}(0,z.useEffect)(()=>{ca(),eo()},[ha]);const Ai=()=>{};return pa.createElement("section",{className:sn.form},pa.createElement(gt.Z,{className:sn.content,style:{padding:"20px 30px",gap:20}},(ba=Io==null?void 0:Io.data)==null?void 0:ba.map(kn=>pa.createElement(gt.Z,{align:"middle",className:`${sn.borderSty} ${ao===(kn==null?void 0:kn.id)?sn.delBorder:""}`,style:{height:"38px",borderRadius:"2px",padding:"0 12px",color:"#333333",background:"#fff"}},pa.createElement("span",{className:"c-grey-333"},kn==null?void 0:kn.real_name),(Io==null?void 0:Io.can_edit)&&pa.createElement("span",{style:{cursor:"pointer",marginLeft:"20px"},className:`iconfont icon-guanbi11 ${sn.delSty}`,onMouseEnter:()=>{oi(kn.id)},onMouseLeave:()=>{oi("")},onClick:()=>jr(void 0,null,function*(){(yield(0,se.ZP)(`/api/homework_commons/${ha.categoryId}/homework_common_collaborators/delete.json`,{method:"delete",body:{user_id:kn.id}})).status===0&&(Ie.ZP.info("\u5220\u9664\u6210\u529F"),ca(),eo())})}))),!(Io!=null&&Io.can_edit)&&!((Va=Io==null?void 0:Io.data)!=null&&Va.length)&&pa.createElement("span",{className:"c-grey-666"},"\u6682\u672A\u6DFB\u52A0\u534F\u4F5C\u8005"),(Io==null?void 0:Io.can_edit)&&pa.createElement(Ne.ZP,{className:sn.copHover,style:{height:38,padding:"6px 15px",backgroundColor:"#fff"},type:"primary",ghost:!0,onClick:()=>vn(!0)},"\u6DFB\u52A0\u534F\u4F5C\u8005")),pa.createElement(be.default,{title:"\u6DFB\u52A0\u534F\u4F5C\u8005",open:Ua,confirmLoading:Pr,onCancel:()=>vn(!1),onOk:()=>jr(void 0,null,function*(){if(Za.length===0){Ie.ZP.info("\u8BF7\u9009\u62E9\u534F\u4F5C\u8001\u5E08");return}Xn(!0),(yield(0,se.ZP)(`/api/homework_commons/${ha.categoryId}/homework_common_collaborators.json`,{method:"post",body:{user_ids:Za}})).status===0&&(Ie.ZP.info("\u6DFB\u52A0\u6210\u529F"),Da([]),ca(),eo(),vn(!1)),Xn(!1)})},pa.createElement("div",null,pa.createElement("div",{style:{display:"flex"}},pa.createElement("label",{style:{width:"50px"}},"\u59D3\u540D\uFF1A")," ",pa.createElement(he.default.Search,{onChange:kn=>{Si(Ko.filter(tr=>tr.name.indexOf(kn.target.value)>-1))}})),pa.createElement(ke.default,{style:{marginTop:"10px",height:"300px",overflow:"auto"},rowSelection:{type:"checkbox",onChange:(kn,tr)=>{Da(kn)},selectedRowKeys:Za,getCheckboxProps:kn=>({disabled:kn.is_collaborator})},pagination:!1,dataSource:$o,columns:[{title:"\u59D3\u540D",dataIndex:"name",key:"name"},{title:"\u89D2\u8272",dataIndex:"role",key:"role"}]}))))};var br=(0,ve.connect)(({shixunHomeworks:Ut,loading:Ht})=>({shixunHomeworks:Ut,loading:Ht.effects}))(Ir),po=te(59301);const Lo=[{key:"1",label:"\u53D1\u5E03\u8BBE\u7F6E",element:po.createElement(Zn,null)},{key:"2",label:"\u8BC4\u5206\u8BBE\u7F6E",element:po.createElement(dr,null)},{key:"3",label:"\u5C55\u793A\u8BBE\u7F6E",element:po.createElement(Tn,null)},{key:"4",label:"\u534F\u4F5C\u8BBE\u7F6E",element:po.createElement(br,null)}];var vi=()=>po.createElement(Ft.Z,{dataSource:Lo,style:{marginBottom:52}}),Ei=te(26724),$i=te.n(Ei),_n=te(45278),Ia=te(59301),co=Object.defineProperty,xo=Object.defineProperties,wo=Object.getOwnPropertyDescriptors,ui=Object.getOwnPropertySymbols,Bi=Object.prototype.hasOwnProperty,Yi=Object.prototype.propertyIsEnumerable,Mi=(Ut,Ht,Zt)=>Ht in Ut?co(Ut,Ht,{enumerable:!0,configurable:!0,writable:!0,value:Zt}):Ut[Ht]=Zt,Ce=(Ut,Ht)=>{for(var Zt in Ht||(Ht={}))Bi.call(Ht,Zt)&&Mi(Ut,Zt,Ht[Zt]);if(ui)for(var Zt of ui(Ht))Yi.call(Ht,Zt)&&Mi(Ut,Zt,Ht[Zt]);return Ut},Re=(Ut,Ht)=>xo(Ut,wo(Ht)),Ye=(Ut,Ht,Zt)=>new Promise((ba,Va)=>{var Fa=vn=>{try{Ua(Zt.next(vn))}catch(Za){Va(Za)}},Mn=vn=>{try{Ua(Zt.throw(vn))}catch(Za){Va(Za)}},Ua=vn=>vn.done?ba(vn.value):Promise.resolve(vn.value).then(Fa,Mn);Ua((Zt=Zt.apply(Ut,Ht)).next())});const Ct=({shixunHomeworks:Ut,loading:Ht,dispatch:Zt})=>{const ba=(0,ve.useParams)(),Va=(0,ve.useLocation)(),[Fa,Mn]=(0,z.useState)([]),[Ua,vn]=(0,z.useState)([]),[Za,Da]=(0,z.useState)(!0),[Io,Ma]=(0,z.useState)(!1),[$o,Si]=(0,z.useState)(1),[Ko,Sr]=(0,z.useState)([]),[Pr,Xn]=(0,z.useState)(!1),[ao,oi]=(0,z.useState)(!1),[ha,ca]=(0,z.useState)(!1);(0,z.useEffect)(()=>{Ut.actionTabs.key==="\u4EE3\u7801\u67E5\u91CD"?(eo.resetFields(),Mn([]),Xn(!0),kn()):Xn(!1)},[Ut.actionTabs.key]);const[eo]=pt.default.useForm();let Ai=[];const kn=()=>Ye(void 0,null,function*(){var an;if(Za&&!Io){Ma(!0),Si($o+1);const Vn=yield(0,_n.JG)(Re(Ce({},ba),{page:$o})),bn=[...Vn.group_list];Vn!=null&&Vn.ungroup_list&&bn.push({id:Vn==null?void 0:Vn.ungroup_list.id,name:Vn==null?void 0:Vn.ungroup_list.name,works_count:Vn==null?void 0:Vn.ungroup_list.work_count,last_review_time:Vn==null?void 0:Vn.ungroup_list.last_review_time}),Mn([...Fa,...bn]),Ma(!1),((an=Vn.group_list)==null?void 0:an.length)<10&&Da(!1)}}),tr=()=>{Zt({type:"shixunHomeworks/setActionTabs",payload:{}}),oi(!1),Da(!0),Ma(!1),Si(1),Mn([]),eo.resetFields()},aa=[{title:"",dataIndex:"id",width:280,render:(an,Vn)=>Ia.createElement(je.default,{disabled:!(Vn.works_count>1),value:String(Vn.id)},Vn.name)},{title:"\u6709\u6548\u4F5C\u54C1\u6570",dataIndex:"works_count"},{title:"\u4E0A\u6B21\u67E5\u91CD\u65F6\u95F4",dataIndex:"last_review_time",width:130}];return Ia.createElement(be.default,{centered:!0,title:"\u4EE3\u7801\u67E5\u91CD",keyboard:!1,maskClosable:!1,open:Pr,okText:"\u786E\u8BA4",cancelText:"\u53D6\u6D88",width:820,bodyStyle:{minHeight:200},onOk:()=>Ye(void 0,null,function*(){const an=eo.getFieldValue();ca(!0);const Vn=yield(0,se.ZP)(`/api/homework_commons/${ba.categoryId}/hack_homework_code_repeat.json`,{method:"post",body:{group_ids:[...an.group_ids]}});ca(!1),Vn.status===0&&(tr(),yield Zt({type:"shixunHomeworks/getWorkList",payload:Ut.actionTabs.params}),ve.history.push(`/classrooms/${ba.coursesId}/program_homework/${ba.categoryId}/detail?tabs=2`),Zt({type:"shixunHomeworks/setActionTabs",payload:{key:"\u6267\u884C\u4EE3\u7801\u67E5\u91CD"}}))}),okButtonProps:{loading:ha},onCancel:tr},Ia.createElement("div",null,"\u8BF7\u6CE8\u610F\uFF1A\u5728\u6267\u884C\u4EE3\u7801\u67E5\u91CD\u64CD\u4F5C\u540E\uFF0C\u82E5\u5B66\u751F\u63D0\u4EA4\u65B0\u7684\u4F5C\u54C1\u4EE3\u7801\uFF0C\u65B0\u4F5C\u54C1\u4EE3\u7801\u4E0D\u8BA1\u5165\u672C\u6B21\u67E5\u91CD\u7ED3\u679C\u3002"),Ut.codeReviewCourse&&Ia.createElement(pt.default,{form:eo,onChange:an=>{Sr(Ce({},eo.getFieldValue()))},initialValues:{group_ids:Ai,end_time:ue()(ue()().add(7,"days").format("YYYY-MM-DD HH:mm"))}},Ia.createElement("div",{className:"flexd-table-header mt20"},Ia.createElement(ke.default,{pagination:!1,dataSource:[],columns:aa})),Ia.createElement(pt.default.Item,{name:"group_ids"},Ia.createElement(je.default.Group,{className:"w100"},Ia.createElement("div",{style:{width:"100%",maxHeight:260,overflow:"auto"}},Ia.createElement($i(),{initialLoad:!1,pageStart:1,threshold:20,loadMore:an=>{kn()},hasMore:Za,useWindow:!1},Ia.createElement(ke.default,{loading:Ht.effects["shixunHomeworks/getCodeReviewCourse"],showHeader:!1,columns:aa,dataSource:Fa,pagination:!1})))))),Ia.createElement(gt.Z,null,Ia.createElement(Le.Z,{className:"ml10"},Ia.createElement(je.default,{checked:ao,onChange:an=>{oi(an.target.checked);let Vn=[];an.target.checked&&(Vn=Fa.filter(bn=>bn.works_count>1).map(bn=>bn.id+"")),eo.setFieldsValue({group_ids:Vn})}},"\u5168\u9009"))))};var Qt=(0,ve.connect)(({shixunHomeworks:Ut,loading:Ht})=>({shixunHomeworks:Ut,loading:Ht}))(Ct),qt=te(77579),xn=te(90823),Dn=te(23505),Qn=te(67135),Pa=te(30975),Ca=te(9859),ga=te(60885),Or=te(20463),Mr=te(47914),Ro=te(2610),Ur=Object.defineProperty,la=Object.defineProperties,Yn=Object.getOwnPropertyDescriptors,oa=Object.getOwnPropertySymbols,ra=Object.prototype.hasOwnProperty,Nr=Object.prototype.propertyIsEnumerable,Zr=(Ut,Ht,Zt)=>Ht in Ut?Ur(Ut,Ht,{enumerable:!0,configurable:!0,writable:!0,value:Zt}):Ut[Ht]=Zt,hr=(Ut,Ht)=>{for(var Zt in Ht||(Ht={}))ra.call(Ht,Zt)&&Zr(Ut,Zt,Ht[Zt]);if(oa)for(var Zt of oa(Ht))Nr.call(Ht,Zt)&&Zr(Ut,Zt,Ht[Zt]);return Ut},xr=(Ut,Ht)=>la(Ut,Yn(Ht)),kr=(Ut,Ht,Zt)=>new Promise((ba,Va)=>{var Fa=vn=>{try{Ua(Zt.next(vn))}catch(Za){Va(Za)}},Mn=vn=>{try{Ua(Zt.throw(vn))}catch(Za){Va(Za)}},Ua=vn=>vn.done?ba(vn.value):Promise.resolve(vn.value).then(Fa,Mn);Ua((Zt=Zt.apply(Ut,Ht)).next())});let ho=[Ca.Z,ga.Z,Or.Z];const ti=({user:Ut,classroomList:Ht,shixunHomeworks:Zt})=>{var ba,Va,Fa;let[Mn,Ua]=(0,z.useState)(hr(xr(hr({},(0,ve.useParams)()),{page:1,per_page:20,rank_type:2,search:"",course_group:(0,De.dE)()?[Ut.userInfo.course.course_group_id]:[]}),(0,ve.useParams)()));const[vn,Za]=(0,z.useState)([]),[Da,Io]=(0,z.useState)([]),[Ma,$o]=(0,z.useState)([]),[Si,Ko]=(0,z.useState)(!1),[Sr,Pr]=(0,z.useState)(!1);let[Xn,ao]=(0,z.useState)([{title:"\u6392\u884C",dataIndex:"rank",width:70,fixed:"left",ellipsis:!0,sorter:(kn,tr)=>kn.rank-tr.rank,render:(kn,tr,aa)=>kn<4?z.createElement("img",{src:ho[kn-1]}):kn},{title:"\u59D3\u540D",dataIndex:"user_name",width:80,fixed:"left",ellipsis:!0,key:"user_name",render:(kn,tr,aa)=>z.createElement("span",null,tr.is_me&&z.createElement("span",{style:{display:"inline-block",fontSize:12,color:"#CA7720",background:"rgba(255, 181, 56, 0.36)",borderRadius:2,width:16,height:16,textAlign:"center",lineHeight:"16px",transform:"translateY(-1px)"}},"\u6211"),kn)},{title:"\u5B66\u53F7",dataIndex:"student_id",key:"student_id",width:80,ellipsis:!0,fixed:"left",render:kn=>kn||"- -"},{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:kn=>z.createElement("span",null,kn," ",kn!="-"&&"\u9898")},{title:"\u5F97\u5206",dataIndex:"score",width:50,ellipsis:!0,fixed:"left",key:"score"}]);const[oi,ha]=(0,z.useState)(null),ca=()=>{var kn,tr;const aa=((kn=document.getElementById("filterWarp"))==null?void 0:kn.clientHeight)||0,an=((tr=document.getElementById("pagination"))==null?void 0:tr.clientHeight)||0;return window.innerHeight-aa-an-110};(0,z.useEffect)(()=>{const kn=()=>{ha(ca())};return window.addEventListener("resize",kn),()=>{window.removeEventListener("resize",kn)}},[]),(0,z.useEffect)(()=>{var kn,tr,aa,an,Vn;Xn.splice(7);for(let bn=0;bn<((kn=vn==null?void 0:vn.question_data)==null?void 0:kn.length);bn++){let $r={};$r.title=vn!=null&&vn.sent_type?z.createElement("span",null,"\u9898\u76EE"+(bn+1)+`\uFF08${(aa=(tr=vn==null?void 0:vn.question_data)==null?void 0:tr[bn])==null?void 0:aa.question_score}\uFF09`):z.createElement("a",{onClick:()=>kr(void 0,null,function*(){var mr,Tr;let Jo=yield(0,se.ZP)(`/api/problems/${(Tr=(mr=vn==null?void 0:vn.question_data)==null?void 0:mr[bn])==null?void 0:Tr.identifier}/start.json`,{method:"get"});Jo&&(window.open(`/myproblems/${Jo==null?void 0:Jo.identifier}?type=1`),localStorage.setItem("program_homework",[Mn.coursesId,Mn.categoryId]))})},"\u9898\u76EE"+(bn+1)+`\uFF08${(Vn=(an=vn==null?void 0:vn.question_data)==null?void 0:an[bn])==null?void 0:Vn.question_score}\uFF09`),$r.dataIndex="question_data",$r.width=140,$r.render=(mr,Tr)=>{var Jo,fr,So,Ha,Yr;return z.createElement("div",null,((Jo=mr==null?void 0:mr[bn])==null?void 0:Jo.answer_question_time)&&z.createElement("div",null,z.createElement("span",{style:{cursor:"pointer"},className:"iconfont icon-shixun4 c-blue",onClick:()=>kr(void 0,null,function*(){var mo,Do,Sn,na,Oa,Hn,ya,wr;if((0,De.Rm)()&&!((mo=Ht.AssistantObject.hack)!=null&&mo.can_appraise)){Ie.ZP.warning("\u60A8\u672A\u83B7\u53D6\u6B64\u6743\u9650\uFF0C\u9700\u5411\u8BFE\u5802\u7BA1\u7406\u5458\u7533\u8BF7\u6743\u9650\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD");return}if(!((Do=mr==null?void 0:mr[bn])!=null&&Do.open_code)){Ie.ZP.info("\u6682\u4E0D\u5141\u8BB8\u67E5\u770B\u4EE3\u7801");return}let Fr=yield(0,se.ZP)("/api/courses/view_code.json",{method:"get",params:xr(hr({},Mn),{id:Mn.coursesId,homework_common_id:Mn.categoryId,hack_user_code_id:(Sn=mr==null?void 0:mr[bn])==null?void 0:Sn.hack_user_code_id})});be.default.warning({icon:null,width:800,title:z.createElement("div",null,z.createElement("span",null,"\u4EE3\u7801"),z.createElement("span",null,"\u4F7F\u7528\u8BED\u8A00\uFF1A",(na=mr==null?void 0:mr[bn])==null?void 0:na.current_language),z.createElement("span",null,"\u8FD0\u884C\u5185\u5B58\uFF1A",(Oa=mr==null?void 0:mr[bn])==null?void 0:Oa.memory,"\uFF08KB\uFF09"),z.createElement("span",null,"\u8FD0\u884C\u65F6\u957F\uFF1A",(Hn=mr==null?void 0:mr[bn])==null?void 0:Hn.run_time,"\uFF08ms\uFF09"),z.createElement("span",null,"\u5F97\u5206\uFF1A",(ya=mr==null?void 0:mr[bn])==null?void 0:ya.score)),content:z.createElement(Mr.Z,{classroomList:Ht,user:Ut,languages:[{language:(wr=mr==null?void 0:mr[bn])==null?void 0:wr.language,code:Fr==null?void 0:Fr.code}],v:mr,shixunWorkReport:"shixunWorkReport",dispatch:"dispatch",autoHeight:!1,language:mr.language,game_id:mr.id,diff_code_count:mr.diff_code_count})})})}),z.createElement("span",{style:{margin:"0px 10px"}},((fr=mr==null?void 0:mr[bn])==null?void 0:fr.answer_question_time)||"- -"),(So=mr==null?void 0:mr[bn])!=null&&So.submit_count?z.createElement(et.Z,{title:`${((Ha=mr==null?void 0:mr[bn])==null?void 0:Ha.submit_count)||0}\u6B21\u5C1D\u8BD5\u51FA\u9519`},z.createElement("span",{style:{color:"red",marginRight:5},className:"iconfont icon-Bug"}),((Yr=mr==null?void 0:mr[bn])==null?void 0:Yr.submit_count)||0):null))},Xn.push($r)}ao([...Xn])},[vn==null?void 0:vn.question_data]),(0,z.useEffect)(()=>{var kn;(kn=Ut==null?void 0:Ut.userInfo)!=null&&kn.course&&((0,De.dE)()&&(Mn.course_group=(0,De.dE)()?[Ut.userInfo.course.course_group_id]:[],Ua(hr({},Mn))),eo(1))},[Ut==null?void 0:Ut.userInfo]);function eo(kn){return kr(this,null,function*(){var tr,aa,an,Vn,bn,$r,mr;Ko(!0);let Tr=yield(0,se.ZP)("/api/courses/rank_list.json",{method:"get",params:xr(hr({},Mn),{id:Mn.coursesId,rank_type:2,homework_common_id:Mn.categoryId})});if(Za(Tr),Ko(!1),Tr.status!=-1&&((0,De.dE)()?(kn===1&&Io([(aa=(tr=Tr==null?void 0:Tr.course_group)==null?void 0:tr[0])==null?void 0:aa.id]),Tr!=null&&Tr.my_rank?$o([hr({is_me:!0},Tr==null?void 0:Tr.my_rank),...Tr==null?void 0:Tr.rank_list]):$o([...Tr==null?void 0:Tr.rank_list])):$o([...Tr==null?void 0:Tr.rank_list]),kn===1)){let Jo={title:(Tr==null?void 0:Tr.hack_rank_rule)===0?z.createElement(et.Z,{title:`\u603B\u8017\u65F6\u65F6\u4E3A\u505A\u9898\u901A\u8FC7\u65F6\u957F\u548C\u7F5A\u65F6\u65F6\u957F\u7684\u603B\u548C\uFF0C
|
|
\u7F5A\u65F6\u65F6\u957F=\u8BC4\u6D4B\u51FA\u9519\u6B21\u6570X\u8BBE\u7F6E\u7684\u7F5A\u65F6\uFF08\u5F53\u524D\u4E3A${Tr==null?void 0:Tr.punish_time}\u5206\uFF09`},z.createElement("span",{style:{marginRight:3}},"\u603B\u8017\u65F6")," ",z.createElement("span",{style:{fontSize:"14px"},className:"iconfont icon-tishixiaowenhao c-blue"})):"\u5B8C\u6210\u65F6\u95F4",dataIndex:(Tr==null?void 0:Tr.hack_rank_rule)===0?"finish_time":"finish_at",width:(Tr==null?void 0:Tr.hack_rank_rule)===0?80:150,ellipsis:!0,fixed:"left",key:"finish_time"};Xn.push(Jo);for(let fr=0;fr<((an=Tr==null?void 0:Tr.question_data)==null?void 0:an.length);fr++){let So={};So.title=Tr!=null&&Tr.sent_type?z.createElement("span",null,"\u9898\u76EE"+(fr+1)+`\uFF08${(bn=(Vn=Tr==null?void 0:Tr.question_data)==null?void 0:Vn[fr])==null?void 0:bn.question_score}\uFF09`):z.createElement("a",{onClick:()=>kr(this,null,function*(){var Ha,Yr;let mo=yield(0,se.ZP)(`/api/problems/${(Yr=(Ha=Tr==null?void 0:Tr.question_data)==null?void 0:Ha[fr])==null?void 0:Yr.identifier}/start.json`,{method:"get"});mo&&(window.open(`/myproblems/${mo==null?void 0:mo.identifier}?type=1`),localStorage.setItem("program_homework",[Mn.coursesId,Mn.categoryId]))})},"\u9898\u76EE"+(fr+1)+`\uFF08${(mr=($r=Tr==null?void 0:Tr.question_data)==null?void 0:$r[fr])==null?void 0:mr.question_score}\uFF09`),So.dataIndex="question_data",So.width=140,So.render=(Ha,Yr)=>{var mo,Do,Sn,na,Oa;return z.createElement("div",null,((mo=Ha==null?void 0:Ha[fr])==null?void 0:mo.answer_question_time)&&z.createElement("div",null,z.createElement("span",{style:{cursor:"pointer"},className:"iconfont icon-shixun4 c-blue",onClick:()=>kr(this,null,function*(){var Hn,ya,wr,Fr,Co,qo,Di,Hi;if((0,De.Rm)()&&!((Hn=Ht.AssistantObject.hack)!=null&&Hn.can_view)){Ie.ZP.warning("\u60A8\u672A\u83B7\u53D6\u6B64\u6743\u9650\uFF0C\u9700\u5411\u8BFE\u5802\u7BA1\u7406\u5458\u7533\u8BF7\u6743\u9650\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD");return}if(!((ya=Ha==null?void 0:Ha[fr])!=null&&ya.open_code)){Ie.ZP.info("\u6682\u4E0D\u5141\u8BB8\u67E5\u770B\u4EE3\u7801");return}let qi=yield(0,se.ZP)("/api/courses/view_code.json",{method:"get",params:xr(hr({},Mn),{id:Mn.coursesId,homework_common_id:Mn.categoryId,hack_user_code_id:(wr=Ha==null?void 0:Ha[fr])==null?void 0:wr.hack_user_code_id})});be.default.warning({icon:null,width:800,title:z.createElement("div",null,z.createElement("span",null,"\u4EE3\u7801"),z.createElement("span",null,"\u4F7F\u7528\u8BED\u8A00\uFF1A",(Fr=Ha==null?void 0:Ha[fr])==null?void 0:Fr.current_language),z.createElement("span",null,"\u8FD0\u884C\u5185\u5B58\uFF1A",(Co=Ha==null?void 0:Ha[fr])==null?void 0:Co.memory,"\uFF08KB\uFF09"),z.createElement("span",null,"\u8FD0\u884C\u65F6\u957F\uFF1A",(qo=Ha==null?void 0:Ha[fr])==null?void 0:qo.run_time,"\uFF08ms\uFF09"),z.createElement("span",null,"\u5F97\u5206\uFF1A",(Di=Ha==null?void 0:Ha[fr])==null?void 0:Di.score)),content:z.createElement(Mr.Z,{classroomList:Ht,user:Ut,languages:[{language:(Hi=Ha==null?void 0:Ha[fr])==null?void 0:Hi.language,code:qi==null?void 0:qi.code}],v:Ha,shixunWorkReport:"shixunWorkReport",dispatch:"dispatch",autoHeight:!1,language:Ha.language,game_id:Ha.id,diff_code_count:Ha.diff_code_count})})})}),z.createElement("span",{style:{margin:"0px 10px"}},((Do=Ha==null?void 0:Ha[fr])==null?void 0:Do.answer_question_time)||"- -"),(Sn=Ha==null?void 0:Ha[fr])!=null&&Sn.submit_count?z.createElement(et.Z,{title:`${((na=Ha==null?void 0:Ha[fr])==null?void 0:na.submit_count)||0}\u6B21\u5C1D\u8BD5\u51FA\u9519`},z.createElement("span",{style:{color:"red",marginRight:5},className:"iconfont icon-Bug"}),((Oa=Ha==null?void 0:Ha[fr])==null?void 0:Oa.submit_count)||0):null))},Xn.push(So)}ao([...Xn])}})}console.log("----",Zt,Xn);const Ai=(ba=Zt==null?void 0:Zt.workSetting)==null?void 0:ba.hack_rank_rule;return z.createElement("div",{style:{width:1200,margin:"0px auto",minHeight:Sr?"100vh":""},id:"rankingInfo"},(vn==null?void 0:vn.message)==="\u5C01\u699C\u4E2D"?z.createElement(We.Z,{customText:"\u7B54\u9898\u65F6\u95F4\u8FDB\u5165\u5012\u8BA1\u65F6\uFF0C\u6682\u65F6\u5C01\u699C\uFF0C\u8BF7\u52A0\u901F\u7ADE\u6280\u901A\u5173\u7B54\u9898"}):z.createElement("div",{style:{background:"#fff",padding:20,height:"100%",overflow:"auto"}},z.createElement("div",{id:"filterWarp"},z.createElement("div",{style:{display:"flex",justifyContent:"space-between"}},z.createElement("div",{style:{display:"flex",width:"90%"}},z.createElement("label",null,"\u5206\u73ED\u60C5\u51B5\uFF1A"),(0,De.GJ)()&&z.createElement("div",{style:{flex:1}},z.createElement(je.default.Group,{className:Dn.Z.checkboxgroup,value:Da,onChange:kn=>{var tr;Mn.type===1?(Io([]),Mn.course_group=[],Mn.page=1,Ua(hr({},Mn)),eo()):Mn.type===2?(Io(["\u5168\u90E8"]),Mn.course_group=(tr=vn==null?void 0:vn.course_group)==null?void 0:tr.map(aa=>aa.id),Mn.page=1,Ua(hr({},Mn)),eo()):(Io([...kn.filter(aa=>aa!="\u5168\u90E8")]),Mn.course_group=kn.filter(aa=>aa!="\u5168\u90E8"),Mn.page=1,Ua(hr({},Mn)),eo())}},z.createElement(je.default,{value:"\u5168\u90E8",style:{marginBottom:10},onChange:kn=>{kn.target.checked?Mn.type=2:Mn.type=1}},"\u5168\u90E8\u5206\u73ED"),(Va=vn==null?void 0:vn.course_group)==null?void 0:Va.map((kn,tr)=>z.createElement(je.default,{style:{marginBottom:10},onChange:aa=>{Mn.type=3},value:kn.id},kn==null?void 0:kn.name)))),(0,De.dE)()&&z.createElement(dt.ZP.Group,{style:{marginBottom:10},onChange:kn=>{kn.target.value==="\u5168\u90E8"?(Mn.course_group=[],Mn.page=1,Ua(hr({},Mn)),eo()):(Mn.course_group=[kn.target.value],Mn.page=1,Ua(hr({},Mn)),eo())},defaultValue:Ut.userInfo.course.course_group_id},z.createElement(dt.ZP,{value:"\u5168\u90E8",style:{marginBottom:10}},"\u5168\u90E8\u5206\u73ED"),(Fa=vn==null?void 0:vn.course_group)==null?void 0:Fa.map((kn,tr)=>z.createElement(dt.ZP,{style:{marginBottom:10},value:kn.id},kn.name)))),z.createElement("div",{style:{color:"#3061D0",cursor:"pointer"},onClick:()=>{Sr?(0,Ro.BU)():(0,Ro.Dj)(document.getElementById("rankingInfo")),Pr(!Sr)}},z.createElement("i",{style:{fontSize:12},className:`mr10 iconfont ${Sr?"icon-tuichuquanping2":"icon-quanping2"}`}),z.createElement("span",null,Sr?"\u9000\u51FA\u5168\u5C4F":"\u5168\u5C4F\u5C55\u793A"))),z.createElement("div",{style:{width:"100%",display:"flex",justifyContent:"space-between",marginTop:10}},z.createElement("span",{style:{fontSize:14,color:"#B1BACD"}},"\u6392\u884C\u89C4\u5219\uFF1A",Ai===0?"\u4F5C\u4E1A\u65F6\u95F4\u6BB5\u4E4B\u5916\u7684\u63D0\u4EA4\u4E0D\u8BA1\u5165\u6392\u884C\u3002\u5F53\u524D\u6309\u5B9E\u9645\u5B9E\u9A8C\u65F6\u957F\u4F18\u5148\uFF0C\u540C\u901A\u8FC7\u9898\u6570\u4E0B\u65F6\u957F\u77ED\u540D\u6B21\u9760\u524D\u3002":"\u4F5C\u4E1A\u65F6\u95F4\u6BB5\u4E4B\u5916\u7684\u63D0\u4EA4\u4E0D\u8BA1\u5165\u6392\u884C\u3002\u5F53\u524D\u6309\u5B8C\u6210\u65F6\u95F4\u5148\u540E\u4F18\u5148\uFF0C\u540C\u901A\u8FC7\u9898\u6570\u4E0B\u5B8C\u6210\u65F6\u95F4\u8D8A\u65E9\u540D\u6B21\u9760\u524D\u3002"," ",z.createElement("a",{onClick:()=>{be.default.warning({title:"\u8BA1\u5206\u89C4\u5219",width:500,content:z.createElement("div",null,Ai===0&&z.createElement("p",null,"\u6392\u540D\u89C4\u5219\uFF1A\u7ECF\u5178ACM\u89C4\u5219"),z.createElement("p",null,"AC\uFF08\u901A\u8FC7\u9898\u76EE\uFF09\u8D8A\u591A\uFF0C\u6392\u540D\u8D8A\u9760\u524D\u3002"),z.createElement("p",null,"AC\u76F8\u540C\uFF0C\u603B\u7528\u65F6\u8D8A\u5C11\uFF0C\u6392\u540D\u8D8A\u9760\u524D\u3002"),Ai==0&&z.createElement(z.Fragment,null,z.createElement("p",null,"\u603B\u7528\u65F6=\u2211\uFF08\u6BCF\u4E00\u4E2A\u9898\u76EE\u7684\u7528\u65F6\uFF09"),z.createElement("p",null,"\u6BCF\u4E00\u4E2A\u9898\u76EE\u7684\u7528\u65F6=\u6BD4\u8D5B\u5F00\u59CB\u5230\u63D0\u4EA4\u88AB\u901A\u8FC7\u7684\u65F6\u95F4+\u7F5A\u65F6"),z.createElement("p",null,"\u7F5A\u65F6=\uFF08\u901A\u8FC7\u524D\uFF09\u9519\u8BEF\u4EE3\u7801\u63D0\u4EA4\u6B21\u6570*\u6BCF\u6B21\u7F5A\u65F6"),z.createElement("p",null,"\u4E0D\u7B97\u7F5A\u65F6\u7684\u60C5\u51B5\uFF1A\u6CA1\u6709\u901A\u8FC7\u7684\u9898\u76EE\u3001\uFF08\u7CFB\u7EDF\uFF09\u5185\u90E8\u9519\u8BEF\u3001\u7F16\u8BD1\u9519\u8BEF")))})}},"\u70B9\u51FB\u67E5\u770B\u8BA1\u5206\u89C4\u5219")),(0,De.GJ)()&&z.createElement(z.Fragment,null,z.createElement(he.default.Search,{className:"mr20",onSearch:kn=>{Mn.page=1,Mn.search=kn,Ua(hr({},Mn)),eo()},placeholder:"\u8BF7\u8F93\u5165\u7528\u6237\u540D/\u5B66\u53F7\u8FDB\u884C\u641C\u7D22",style:{width:250,marginLeft:"auto"}}),z.createElement(Ne.ZP,{onClick:()=>{(0,Pa.VY)(xr(hr({},Mn),{id:Mn.coursesId,rank_type:2,homework_common_id:Mn.categoryId}))}},"\u5BFC\u51FA")))),z.createElement(fe.Z,{spinning:Si},z.createElement(ke.default,{style:{marginTop:10},pagination:!1,scroll:{x:1200,y:Sr?oi:null},rowClassName:(kn,tr)=>tr===0&&(0,De.dE)()&&Dn.Z.tables,dataSource:Ma,columns:Xn})),z.createElement("div",{id:"pagination",style:{width:"100%",textAlign:"center",marginTop:10}},z.createElement(Pe.Z,{current:Mn.page,pageSize:Mn.per_page,total:vn==null?void 0:vn.count,showSizeChanger:!0,onChange:(kn,tr)=>{Mn.page=kn,Mn.per_page=tr,Ua(hr({},Mn)),eo()}}))))};var yo=(0,ve.connect)(({shixunHomeworks:Ut,user:Ht,classroomList:Zt})=>({user:Ht,shixunHomeworks:Ut,classroomList:Zt}))(ti),Rr=te(37521),ro=te(56731),Fo=te(4835),vo=te(59659),Eo=te(3237),sa=te(59301),jo=Object.defineProperty,wi=Object.getOwnPropertySymbols,Zi=Object.prototype.hasOwnProperty,nl=Object.prototype.propertyIsEnumerable,Xi=(Ut,Ht,Zt)=>Ht in Ut?jo(Ut,Ht,{enumerable:!0,configurable:!0,writable:!0,value:Zt}):Ut[Ht]=Zt,zi=(Ut,Ht)=>{for(var Zt in Ht||(Ht={}))Zi.call(Ht,Zt)&&Xi(Ut,Zt,Ht[Zt]);if(wi)for(var Zt of wi(Ht))nl.call(Ht,Zt)&&Xi(Ut,Zt,Ht[Zt]);return Ut},Fi=(Ut,Ht,Zt)=>new Promise((ba,Va)=>{var Fa=vn=>{try{Ua(Zt.next(vn))}catch(Za){Va(Za)}},Mn=vn=>{try{Ua(Zt.throw(vn))}catch(Za){Va(Za)}},Ua=vn=>vn.done?ba(vn.value):Promise.resolve(vn.value).then(Fa,Mn);Ua((Zt=Zt.apply(Ut,Ht)).next())});let ul=[{live:"A",gz:"0\u4E2A\u9519\u8BEF",ld:"0\u4E2A\u6F0F\u6D1E",gf:"0 - 5%"},{live:"B",gz:"\u81F3\u5C111\u4E2A\u6B21\u8981\u9519\u8BEF",ld:"\u81F3\u5C111\u4E2A\u6B21\u8981\u6F0F\u6D1E",gf:"6% - 10%"},{live:"C",gz:"\u81F3\u5C111\u4E2A\u4E3B\u8981\u9519\u8BEF",ld:"\u81F3\u5C111\u4E2A\u4E3B\u8981\u6F0F\u6D1E",gf:"11% - 20%"},{live:"D",gz:"\u81F3\u5C111\u4E2A\u4E25\u91CD\u9519\u8BEF",ld:"\u81F3\u5C111\u4E2A\u4E25\u91CD\u6F0F\u6D1E",gf:"21% - 50%"},{live:"E",gz:"\u81F3\u5C111\u4E2A\u5D29\u6E83\u9519\u8BEF",ld:"\u81F3\u5C111\u4E2A\u5D29\u6E83\u6F0F\u6D1E",gf:"\u8D85\u8FC750%"}];const _i=({shixunHomeworks:Ut,classroomList:Ht,globalSetting:Zt,user:ba,loading:Va,dispatch:Fa})=>{var Mn,Ua,vn,Za;const Da=(0,ve.useParams)(),[Io]=(0,ve.useSearchParams)(),[Ma,$o]=(0,z.useState)(Io.get("tabs")||"0"),[Si,Ko]=(0,z.useState)({}),{workList:Sr,workSetting:Pr}=Ut,[Xn,ao]=(0,z.useState)(!1);Da.category=Io.get("category_id"),Da.order="work_score",Da.b_order="desc",(0,z.useEffect)(()=>{(0,De.Rm)()&&Fa({type:"classroomList/getAssistantPermissions",payload:{course_id:Da.coursesId}})},[(Mn=ba==null?void 0:ba.userInfo)==null?void 0:Mn.login]);const oi=aa=>{var an;if(aa==="3"&&Fa({type:"shixunHomeworks/getWorkSetting",payload:zi({},Da)}),aa==="5"&&!((an=Ht.AssistantObject.hack)!=null&&an.can_exam_leaderboard)&&(0,De.Rm)()){Ie.ZP.warning("\u60A8\u672A\u83B7\u53D6\u6B64\u6743\u9650\uFF0C\u9700\u5411\u8BFE\u5802\u7BA1\u7406\u5458\u7533\u8BF7\u6743\u9650\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD");return}$o(aa),aa==="0"&&Fa({type:"shixunHomeworks/getWorkList",payload:Da})},ha=()=>{be.default.confirm({centered:!0,width:530,title:"\u63D0\u793A",okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",content:sa.createElement("div",{className:"tc font16"},"\u4F60\u5728\u8BE5\u5B9E\u8BAD\u7684\u5B66\u4E60\u8BB0\u5F55\u5C06\u88AB\u6E05\u7A7A\uFF0C\u65E0\u6CD5\u6062\u590D",sa.createElement("br",null),"\u662F\u5426\u786E\u8BA4\u91CD\u505A\uFF1F"),onOk:()=>Fi(void 0,null,function*(){var aa;const an=(aa=Ut.workList)==null?void 0:aa.myshixun_identifier;(yield(0,_n.Fr)({id:an}))&&(Ie.ZP.info(`\u5DF2\u6E05\u7A7A\u672C\u5B9E\u8BAD\u7684\u5B66\u4E60\u8BB0\u5F55
|
|
|
|
\u8BF7\u70B9\u51FB\u201C\u5F00\u542F\u6311\u6218\u201D\u91CD\u505A\u8BFE\u7A0B\u5B9E\u9A8C`),Fa({type:"shixunHomeworks/getWorkList",payload:Si}))})})},ca=aa=>{aa=aa!=null&&aa.includes(".json")?aa:`${aa}.json`,be.default.confirm({centered:!0,title:"\u63D0\u793A",okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",content:sa.createElement("div",{className:"tc font16"},"\u5B9E\u8BAD\u5DF2\u7ECF\u66F4\u65B0\u4E86\uFF0C\u6B63\u5728\u4E3A\u60A8\u91CD\u7F6E!"),onOk:()=>Fi(void 0,null,function*(){const an=yield(0,Qn.$Q)({url:aa});if(!an)return;Ie.ZP.success("\u91CD\u7F6E\u6210\u529F\uFF0C\u6B63\u5728\u8FDB\u5165\u5B9E\u8DF5\u9879\u76EE\uFF01");const Vn=yield(0,Qn.Ir)({id:an.shixun_identifier});if(Vn!=null&&Vn.game_identifier){(0,Me.xg)(`/tasks/${Vn.game_identifier}?coursesId=${Da.coursesId}`);return}(Vn==null?void 0:Vn.status)===2?ca(Vn==null?void 0:Vn.message):(Vn==null?void 0:Vn.status)===3&&eo(Vn==null?void 0:Vn.message)})})},eo=aa=>{be.default.confirm({centered:!0,title:"\u63D0\u793A",okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",content:sa.createElement("div",{className:"tc font16"},"\u76EE\u524D\u8BE5\u5B9E\u8DF5\u9879\u76EE\u5C1A\u5728\u5185\u6D4B\u4E2D\uFF0C\u5C06\u4E8E",aa,"\u4E4B\u540E\u5F00\u653E\uFF0C\u8C22\u8C22\uFF01")})},Ai=aa=>Fi(void 0,null,function*(){aa=aa!=null&&aa.includes(".json")?aa:`${aa}.json`;const an=yield(0,Qn.$Q)({url:aa});if(console.log(an,"execRes"),an!=null&&an.game_identifier){(0,Me.xg)(`/tasks/${an.game_identifier}?coursesId=${Da.coursesId}`);return}(an==null?void 0:an.status)===-3?(0,Me.eF)():(an==null?void 0:an.status)===2?ca(an==null?void 0:an.message):(an==null?void 0:an.status)===3&&eo(an==null?void 0:an.message)}),kn=[(0,De.dE)()&&{name:"\u9898\u76EE",id:"1",compontent:sa.createElement(Oe,null)},{name:(0,De.GJ)()?"\u5B66\u751F\u5217\u8868":"\u4F5C\u4E1A\u60C5\u51B5",id:"0",compontent:sa.createElement(Ge.Z,{setExportParams:Ko}),forceRender:!0},!(0,De.dE)()&&{name:"\u9898\u76EE",id:"1",compontent:sa.createElement(Oe,null),hidden:!1},{name:"\u6392\u540D",id:"5",compontent:sa.createElement(yo,null),hidden:!1},{name:"\u4EE3\u7801\u67E5\u91CD",id:"2",compontent:sa.createElement(ct,null),hidden:(Ua=Zt==null?void 0:Zt.setting)==null?void 0:Ua.hide_code_repeat},{name:"\u91CD\u505A\u8BB0\u5F55",id:"9",compontent:sa.createElement(vo.Z,null)},{name:"\u8BBE\u7F6E",id:"3",compontent:(vn=Sr.homework_status)!=null&&vn.includes("\u5BFC\u5165")?sa.createElement(Fo.Z,null):sa.createElement(vi,null),forceRender:!0},{name:"\u89E3\u7B54&\u8BA8\u8BBA",id:"6",compontent:sa.createElement(Eo.default,null)}].filter(aa=>!!aa).filter(aa=>{var an,Vn;return(0,De.dE)()?aa.name!=="\u4EE3\u7801\u67E5\u91CD"&&aa.name!=="\u8BBE\u7F6E":(0,De.dE)()||((an=Sr==null?void 0:Sr.homework_status)==null?void 0:an[0])!=="\u5DF2\u622A\u6B62"?aa.name!=="\u8D28\u91CF\u68C0\u6D4B":!Sr.code_review&&((Vn=Sr==null?void 0:Sr.homework_status)==null?void 0:Vn[0])!=="\u672A\u53D1\u5E03"?!0:aa.name!=="\u4EE3\u7801\u67E5\u91CD"}).filter(aa=>Sr.open_code_quality_analysis?!0:aa.name!=="\u8D28\u91CF\u68C0\u6D4B").filter(aa=>{var an;return(an=Sr.homework_status)!=null&&an.includes("\u5BFC\u5165")?(0,De.dE)()?["0","1"].includes(aa.id):["0","1","3"].includes(aa.id):!0}).filter(aa=>!(aa!=null&&aa.hidden)),tr=()=>{var aa,an,Vn,bn,$r,mr,Tr,Jo,fr,So,Ha;return sa.createElement("aside",{className:Dn.Z.workListTabButton},(0,De.dE)()&&!((aa=Sr.homework_status)!=null&&aa.includes("\u5BFC\u5165"))&&sa.createElement("span",{style:{fontWeight:800,color:"#0152d9",textAlign:"end",flex:1,cursor:"pointer"}},sa.createElement(Ne.ZP,{onClick:()=>Fi(void 0,null,function*(){var Yr;let mo=yield(0,se.ZP)(`/api/problems/${(Yr=Ut.workList)==null?void 0:Yr.start_identifier}/start.json`,{method:"get"});mo&&(window.open(`/myproblems/${mo==null?void 0:mo.identifier}?type=1&backUrl=/classrooms/${Da.coursesId}/program_homework/${Da.categoryId}/detail?tabs=1`),localStorage.setItem("program_homework",[Da==null?void 0:Da.coursesId,Da==null?void 0:Da.categoryId]))}),type:"primary"},(an=Sr.homework_status)!=null&&an.includes("\u5DF2\u622A\u6B62")?"\u67E5\u770B\u4F5C\u4E1A":"\u8FDB\u5165\u7EC3\u4E60"," ")),(0,De.dE)()&&((Vn=Ut.workList)==null?void 0:Vn.redo_work)&&sa.createElement(Ne.ZP,{onClick:ha,type:"primary",icon:sa.createElement("i",{className:"iconfont icon-dahuizhongzuo3x"})},"\u91CD\u505A"),((bn=Ut.workList)==null?void 0:bn.shixun_status)>1&&(($r=Ut.workList)==null?void 0:$r.time_status)<5&&(0,De.dE)()&&sa.createElement(Ne.ZP,{type:"primary",icon:sa.createElement("i",{className:"iconfont icon-kaiqizhong"}),onClick:()=>{var Yr,mo,Do,Sn,na,Oa,Hn;(0,rn.tJ)(Fa,!0)&&((Do=(mo=(Yr=Ut.workList)==null?void 0:Yr.task_operation)==null?void 0:mo[1])!=null&&Do.includes("/")?Ai((na=(Sn=Ut.workList)==null?void 0:Sn.task_operation)==null?void 0:na[1]):(0,Me.xg)(`/tasks/${(Hn=(Oa=Ut.workList)==null?void 0:Oa.task_operation)==null?void 0:Hn[1]}`))}},(Tr=(mr=Ut.workList)==null?void 0:mr.task_operation)==null?void 0:Tr[0]),((Jo=Ut.workList)==null?void 0:Jo.commit_des)&&((fr=Ut.workList)==null?void 0:fr.commit_des)&&sa.createElement(Ne.ZP,{type:"primary",icon:sa.createElement("i",{className:"iconfont icon-tijiaozongjie"}),onClick:()=>{var Yr;(0,Me.xg)(`/classrooms/${Da.coursesId}/shixun_homework/${Da.categoryId}/${(Yr=Ut.workList)==null?void 0:Yr.id}/commitsummary`)}},(So=Ut.workList)==null?void 0:So.commit_des),(Pr==null?void 0:Pr.hack_edit_permission)&&((Ha=Sr==null?void 0:Sr.homework_status)==null?void 0:Ha[0])==="\u672A\u53D1\u5E03"&&sa.createElement(Ne.ZP,{type:"primary",icon:sa.createElement("i",{className:"iconfont icon-bianji2"}),onClick:()=>{var Yr;if(!((Yr=Ht.AssistantObject.hack)!=null&&Yr.can_create)&&(0,De.Rm)()){Ie.ZP.warning("\u60A8\u672A\u83B7\u53D6\u6B64\u6743\u9650\uFF0C\u9700\u5411\u8BFE\u5802\u7BA1\u7406\u5458\u7533\u8BF7\u6743\u9650\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD");return}ve.history.push(`/classrooms/${Da.coursesId}/program_homework/${Da.categoryId}/edit`)}},"\u7F16\u8F91\u4F5C\u4E1A"),(0,De.GJ)()&&Sr.publish_immediately&&sa.createElement(Ne.ZP,{type:"primary",icon:sa.createElement("i",{className:"iconfont icon-yishezhifabushijian1"}),onClick:()=>{var Yr,mo;if(!((Yr=Ht.AssistantObject.hack)!=null&&Yr.can_publish)&&(0,De.Rm)()){Ie.ZP.warning("\u60A8\u672A\u83B7\u53D6\u6B64\u6743\u9650\uFF0C\u9700\u5411\u8BFE\u5802\u7BA1\u7406\u5458\u7533\u8BF7\u6743\u9650\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD");return}if(((mo=ba==null?void 0:ba.userInfo)==null?void 0:mo.user_status)===2){(0,rn.Rd)();return}Fa({type:"classroomList/setActionTabs",payload:{key:"\u7ACB\u5373\u53D1\u5E03",selectArrs:[Da.categoryId],selectArrsAll:[Sr],params:Da,detail:!0,type:2,manage_all_group:Pr==null?void 0:Pr.manage_all_group}})}},"\u7ACB\u5373\u53D1\u5E03"),(0,De.GJ)()&&Sr.end_immediately&&sa.createElement(Ne.ZP,{style:{background:"#0152d9",color:"#fff"},type:"primary",icon:sa.createElement("i",{className:"iconfont icon-jiezhishiyan"}),onClick:()=>{var Yr;if(!((Yr=Ht.AssistantObject.hack)!=null&&Yr.can_stop)&&(0,De.Rm)()){Ie.ZP.warning("\u60A8\u672A\u83B7\u53D6\u6B64\u6743\u9650\uFF0C\u9700\u5411\u8BFE\u5802\u7BA1\u7406\u5458\u7533\u8BF7\u6743\u9650\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD");return}Fa({type:"classroomList/setActionTabs",payload:{key:"\u7ACB\u5373\u622A\u6B62",params:Da,type:2,detail:!0,selectArrs:[Da.categoryId]}})}},"\u7ACB\u5373\u622A\u6B62"))};return sa.createElement("section",null,sa.createElement("div",{className:"edu-container"},Sr.homework_name&&sa.createElement("section",{className:"animated fadeIn"},sa.createElement("aside",{className:"mt10"},Sr.category&&sa.createElement(ie.Z,{separator:">"},sa.createElement(ie.Z.Item,null,sa.createElement(ve.Link,{to:`/classrooms/${Da==null?void 0:Da.coursesId}/program_homework`},Sr.course_name)),sa.createElement(ie.Z.Item,null,sa.createElement(ve.Link,{to:`/classrooms/${Da==null?void 0:Da.coursesId}/program_homework/${Sr.category.main?"":Sr.category.category_id}`},Sr.category.category_name)),sa.createElement(ie.Z.Item,null,"\u4F5C\u4E1A\u8BE6\u60C5"))),sa.createElement("aside",{className:[Dn.Z.title,"mt20"].join(" ")},sa.createElement(ve.Link,{to:`/classrooms/${Sr.course_id}/program_homework/${Sr.category.main?"":Sr.category.category_id}`},sa.createElement(Ze.Z,{className:"font16 c-black"})),sa.createElement(et.Z,{title:Sr.homework_name,placement:"bottom"},sa.createElement("strong",{className:"font20 ml5"},Sr.homework_name)),sa.createElement(Me.VV,{temporary:!0,status:Sr.homework_status}))),sa.createElement("aside",{className:`mt30 relative ${Dn.Z.workListTabWrap}`},sa.createElement(He.default,{type:"card",defaultActiveKey:Ma,activeKey:Ma,tabBarExtraContent:(Za=Sr.homework_status)!=null&&Za.includes("\u5BFC\u5165")&&(0,De.GJ)()?sa.createElement(Ne.ZP,{icon:sa.createElement("span",{className:"iconfont icon-shixun3 translateY1"}),onClick:()=>{Fa({type:"classroomList/setActionTabs",payload:{key:"\u8865\u5145\u6210\u7EE9",name:Sr==null?void 0:Sr.homework_name,id:Sr==null?void 0:Sr.homework_id,type:"hack"}})},type:"primary"},"\u8865\u5145\u6210\u7EE9"):tr(),onChange:oi},kn.map((aa,an)=>sa.createElement(He.default.TabPane,{tab:aa.name,key:aa.id,forceRender:aa.forceRender},aa.compontent))))),sa.createElement(Qt,null),sa.createElement(qt.Z,{courseEndTime:Sr==null?void 0:Sr.course_end_date,successCallback:()=>{Fa({type:"shixunHomeworks/getWorkList",payload:zi({},Da)})},visible:Ht.actionTabs.key==="\u7ACB\u5373\u622A\u6B62",homeworkIds:[Da.categoryId],courseId:Da.coursesId,isBatch:!1}),sa.createElement(xn.Z,{courseEndTime:Sr==null?void 0:Sr.course_end_date}),sa.createElement(Rr.Z,{onOk:()=>{Fa({type:"shixunHomeworks/getWorkList",payload:zi({},Da)})}}),sa.createElement(ro.Z,{onOk:()=>{Fa({type:"shixunHomeworks/getWorkList",payload:zi({},Da)})}}),sa.createElement(be.default,{open:Xn,title:"\u89C4\u5219\u8BF4\u660E",width:800,footer:null,onCancel:()=>{ao(!1)}},sa.createElement("p",null,"\u4E00\u3001\u7B49\u7EA7\u89C4\u5219"),sa.createElement("p",{style:{marginLeft:"10px"}},"1. \u7F3A\u9677\u7B49\u7EA7"),sa.createElement("p",{style:{marginLeft:"10px"}},sa.createElement(ke.default,{dataSource:ul,columns:[{title:"\u7B49\u7EA7",dataIndex:"live"},{title:"\u7F3A\u9677\u8BC4\u4F30\u89C4\u5219",dataIndex:"gz"},{title:"\u6F0F\u6D1E\u8BC4\u4F30\u89C4\u5219",dataIndex:"ld"},{title:"\u4EE3\u7801\u89C4\u8303\u8BC4\u4F30\u89C4\u5219",dataIndex:"gf"}],pagination:!1})),sa.createElement("p",{style:{marginLeft:"10px"}},"\u6CE8\uFF1A\u4EE3\u7801\u89C4\u8303\u8BC4\u4F30\u89C4\u5219\u4E2D\u6570\u503C\u6765\u6E90\u4E3A\u8BA1\u7B97\u6280\u672F\u503A\u52A1\u65F6\u95F4\u5360\u5F00\u53D1\u6240\u6709\u4EE3\u7801\u6240\u9700\u8981\u7684\u65F6\u95F4\u7684\u6BD4\u4F8B\uFF08Technical Debt Ratio\uFF09"),sa.createElement("p",{style:{marginLeft:"20px"}},"Technical Debt Ratio = \u6280\u672F\u503A\u52A1\u65F6\u95F4 / \u5F00\u53D1\u65F6\u95F4"),sa.createElement("p",{style:{marginLeft:"20px"}},"\u6280\u672F\u503A\u52A1\u65F6\u95F4\u4E3A\u4FEE\u590D\u6240\u6709\u95EE\u9898\u6240\u9700\u8981\u7684\u65F6\u95F4\u3002"),sa.createElement("p",null,"\u4E8C\u3001\u590D\u6742\u5EA6\u89C4\u5219"),sa.createElement("p",{style:{marginLeft:"10px"}},"\u6839\u636E\u4EE3\u7801\u8DEF\u5F84\u6570\u8BA1\u7B97\u7684\u6570\u503C\uFF0C\u6BCF\u5F53\u4E00\u4E2A\u51FD\u6570\u7684\u63A7\u5236\u6D41\u5206\u53C9\u65F6\uFF0C\u590D\u6742\u5EA6\u8BA1\u6570\u5668\u5C31\u4F1A\u81EA\u589E\u4E00\u3002"),sa.createElement("p",{style:{marginLeft:"10px"}},"\u6BCF\u4E2A\u7A0B\u5E8F\u8BED\u8A00\u7684\u5173\u952E\u5B57\u5BF9\u5E94\u7684\u590D\u6742\u5EA6\u6570\u636E\u4E0D\u540C\uFF0C\u4F46\u6BCF\u4E2A\u51FD\u6570\u7684\u6700\u5C0F\u590D\u6742\u5EA6\u4E3A1\u3002\uFF08\u7279\u5B9A\u8BED\u8A00\u7684\u8BE6\u7EC6\u6570\u636E\u7565\uFF09"),sa.createElement("p",null,"\u4E09\u3001\u4EE3\u7801\u8D28\u91CF\u5206\u89C4\u5219"),sa.createElement("p",{style:{marginLeft:"10px"}},"\u4EE3\u7801\u8D28\u91CF\u5206 = 0.5*\u7F3A\u9677\u5206\u6570 + 0.3*\u6F0F\u6D1E\u5206\u6570 + 0.2*\u4EE3\u7801\u89C4\u8303\u6027\u5206\u6570"),sa.createElement("p",{style:{marginLeft:"10px"}},"\u5176\u4E2D\uFF1A"),sa.createElement("p",{style:{marginLeft:"10px"}},"\u7F3A\u9677/\u6F0F\u6D1E/\u4EE3\u7801\u89C4\u8303\u6027\u5206\u6570\u8BA1\u7B97\u89C4\u5219\u4E3A\uFF1A100 - 100 *((100*\u5D29\u6E83\u6570 + 5*\u4E25\u91CD\u6570 + 3*\u4E3B\u8981\u6570 + 1*\u6B21\u6570\uFF09/ \u4EE3\u7801\u884C\u6570\uFF09"),sa.createElement("p",{style:{marginLeft:"10px"}},"\u6CE8\uFF1A\u5206\u6570\u4E3A\u7A7A\u7684\u4EE3\u8868\u4E0D\u652F\u6301\u7684\u6587\u4EF6\u683C\u5F0F\u3002")))};var rl=(0,ve.connect)(({shixunHomeworks:Ut,classroomList:Ht,loading:Zt,user:ba,globalSetting:Va})=>({classroomList:Ht,shixunHomeworks:Ut,globalSetting:Va,user:ba,loading:Zt.effects}))(_i)},90823:function(bt,yt,te){"use strict";var z=te(59301),se=te(78241),ve=te(8591),Ie=te(43418),be=te(95237),Ne=te(5112),ie=te(5871),et=te(43604),He=te(5083),ke=te(24905),Ze=te(61186),Me=te.n(Ze),ye=te(82093),re=te(34055),a=te(49661),y=te(76560),b=te(62787),E=te(64948),x=te(69577),ee=te(59301),ne=Object.defineProperty,oe=Object.defineProperties,ae=Object.getOwnPropertyDescriptors,ue=Object.getOwnPropertySymbols,me=Object.prototype.hasOwnProperty,fe=Object.prototype.propertyIsEnumerable,Pe=(Be,Ue,Ge)=>Ue in Be?ne(Be,Ue,{enumerable:!0,configurable:!0,writable:!0,value:Ge}):Be[Ue]=Ge,xe=(Be,Ue)=>{for(var Ge in Ue||(Ue={}))me.call(Ue,Ge)&&Pe(Be,Ge,Ue[Ge]);if(ue)for(var Ge of ue(Ue))fe.call(Ue,Ge)&&Pe(Be,Ge,Ue[Ge]);return Be},Ee=(Be,Ue)=>oe(Be,ae(Ue)),De=(Be,Ue)=>{var Ge={};for(var Ke in Be)me.call(Be,Ke)&&Ue.indexOf(Ke)<0&&(Ge[Ke]=Be[Ke]);if(Be!=null&&ue)for(var Ke of ue(Be))Ue.indexOf(Ke)<0&&fe.call(Be,Ke)&&(Ge[Ke]=Be[Ke]);return Ge},ze=(Be,Ue,Ge)=>new Promise((Ke,rt)=>{var nt=Yt=>{try{Tt(Ge.next(Yt))}catch(Xe){rt(Xe)}},vt=Yt=>{try{Tt(Ge.throw(Yt))}catch(Xe){rt(Xe)}},Tt=Yt=>Yt.done?Ke(Yt.value):Promise.resolve(Yt.value).then(nt,vt);Tt((Ge=Ge.apply(Be,Ue)).next())});const ft=Be=>{var Ue=Be,{classroomList:Ge,dispatch:Ke,courseEndTime:rt,onWindowBack:nt}=Ue,vt=De(Ue,["classroomList","dispatch","courseEndTime","onWindowBack"]),Tt,Yt,Xe,st,Lt,It,St,dn,Fe,Xt,Kt,jn,Pt,qe,lt,it,Oe,pt,gt,Le,he,je,We,we,mt,Je,jt,Se,ut,wt,Ae,_e,ct,Ft,zt,fn,dt,Bt,Et;const tn=(0,y.useParams)(),[Vt]=se.default.useForm(),[sn,Un]=(0,z.useState)(1),[pn,rn]=(0,z.useState)([]),[$n,_t]=(0,z.useState)(0),[kt,Jt]=(0,z.useState)(2e3),[Ea,qn]=(0,z.useState)(!0),[Rn,Ga]=(0,z.useState)(!1),[La,Ar]=(0,z.useState)(!1),[Cr,Qa]=(0,z.useState)([]),[tt,Rt]=(0,z.useState)(!0),[Dt,Zn]=(0,z.useState)(!((Xe=(Yt=(Tt=Ge.actionTabs)==null?void 0:Tt.selectArrsAll)==null?void 0:Yt[0])!=null&&Xe.send_type));let[cn,On]=(0,z.useState)([0,0,0]);(0,z.useEffect)(()=>{var nr,sr,er,ht,en,nn,yn,Tn,mn,Nn,En,ar,Ra;if(Ge.actionTabs.key==="\u7ACB\u5373\u53D1\u5E03")if(oo(),(er=(sr=(nr=Ge.actionTabs)==null?void 0:nr.selectArrsAll)==null?void 0:sr[0])!=null&&er.can_publish?On([...(mn=(Tn=(yn=Ge.actionTabs)==null?void 0:yn.selectArrsAll)==null?void 0:Tn[0])==null?void 0:mn.difficult_count]):On([...(nn=(en=(ht=Ge.actionTabs)==null?void 0:ht.selectArrsAll)==null?void 0:en[0])==null?void 0:nn.difficult_settings]),Zn(!((ar=(En=(Nn=Ge.actionTabs)==null?void 0:Nn.selectArrsAll)==null?void 0:En[0])!=null&&ar.send_type)),Xr(),Ge.actionTabs.type===2){const gn=(Ra=Ge.actionTabs.selectArrsAll)==null?void 0:Ra[0];Rt(gn.unified_setting)}else Rt(!1)},[Ge.actionTabs]),(0,z.useEffect)(()=>{if(Rn){if(La)return;Ke({type:"classroomList/setActionTabs",payload:{}}),(0,re.GJ)()?(Ke({type:"classroomList/getClassroomTeacherCommonList",payload:Ee(xe({},Ge.actionTabs.params),{type:1})}),Ke({type:"shixunHomeworks/getWorkList",payload:xe({},tn)})):Ke({type:"classroomList/getClassroomCommonList",payload:xe({},Ge.actionTabs.params)})}},[Rn]);const Xr=nr=>ze(void 0,null,function*(){qn(!0);const sr=yield(0,E.c_)(Ee(xe({},tn),{page:nr||sn,limit:2e4,homework_id:Ge.actionTabs.type===1?"":Ge.actionTabs.selectArrs[0]}));sr==null||sr.course_groups.map((er,ht)=>{er.key=er.id,er.title=er.name,er.disabled=er.is_published}),sr&&(rn([...sr==null?void 0:sr.course_groups]),_t(sr==null?void 0:sr.course_groups_count),qn(!1),nr||Vt.setFieldsValue({publish_time:Me()(Me()(new Date).add(0,"days").format("YYYY-MM-DD HH:mm")),end_time:Me()(Me()(new Date).add(7,"days").format("YYYY-MM-DD HH:mm"))}))}),Er=()=>{(0,re.GJ)()?Ge.actionTabs.detail?(Ke({type:"shixunHomeworks/setActionTabs",payload:{}}),Ke({type:"shixunHomeworks/getWorkList",payload:xe({},tn)}),Ke({type:"shixunHomeworks/getWorkSetting",payload:xe({},tn)})):Ke({type:"classroomList/getClassroomTeacherCommonList",payload:Ee(xe({},Ge.actionTabs.params),{type:5,category:Ge.actionTabs.params.categoryId})}):Ke({type:"classroomList/getClassroomCommonList",payload:xe({},Ge.actionTabs.params)})},Kr=()=>ze(void 0,null,function*(){var nr,sr;if((0,re.Rm)()&&!((nr=Ge.AssistantObject.hack)!=null&&nr.can_publish)){ve.ZP.warning("\u60A8\u672A\u83B7\u53D6\u6B64\u6743\u9650\uFF0C\u9700\u5411\u8BFE\u5802\u7BA1\u7406\u5458\u7533\u8BF7\u6743\u9650\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD"),ur(!1);return}const er=xe({},Vt.getFieldsValue());if(er.end_time<=er.publish_time){ve.ZP.info("\u622A\u6B62\u65F6\u95F4\u4E0D\u80FD\u5927\u4E8E\u6216\u7B49\u4E8E\u53D1\u5E03\u65F6\u95F4"),ur(!1);return}if((Cr==null?void 0:Cr.length)<=0&&!tt&&pn.length>0){ve.ZP.info("\u53D1\u5E03\u73ED\u7EA7\u4E0D\u80FD\u4E3A\u7A7A"),ur(!1);return}if(cn.reduce((nn,yn)=>nn+yn)===0&&!Dt){ve.ZP.info("\u7B80\u5355\u9002\u4E2D\u56F0\u96BE\u9898\u6570\u76F8\u52A0\u4E0D\u80FD\u4E3A0"),ur(!1);return}let ht={homework_ids:[...Ge.actionTabs.selectArrs],group_ids:Cr.length>0?Cr.map(nn=>nn.id):(sr=Ge.detailCommonHomeworksList)==null?void 0:sr.course_groups,end_time:Me()(er.end_time).format("YYYY-MM-DD HH:mm"),publish_time:Me()(er.publish_time).format("YYYY-MM-DD HH:mm"),difficult_settings:cn==null?void 0:cn.map(nn=>nn),send_type:Dt?"0":"1",unified_setting:!Cr.length};if(ur(!0),(yield(0,ye.ZP)(`/api/courses/${tn.coursesId}/homework_commons/publish_with_homework_list_position.json`,{method:"post",body:xe({},ht)})).status===0){if(ur(!1),(0,a.L9)(["\u6559\u5B66\u8BFE\u5802","\u56FE\u6587\u4F5C\u4E1A","\u7ACB\u5373\u53D1\u5E03"]),ve.ZP.success("\u53D1\u5E03\u6210\u529F"),Ke({type:"classroomList/setActionTabs",payload:{key:"\u6E05\u9664\u9009\u62E9\u6570\u636E"}}),nt){nt();return}vt.onCallback&&vt.onCallback(),Er(),localStorage.getItem("Noviceguide")==="0"||Ke({type:"shixunHomeworks/setActionTabs",payload:{key:"\u5E95\u90E8\u5F39\u7A97",type:13,text:ee.createElement("div",null,"\u6700\u540E\uFF0C\u54B1\u4EEC\u7ED9\u6559\u5B66\u8BFE\u5802\u6DFB\u52A0\u4E00\u540D\u5B66\u751F~\u70B9\u51FB\u201C\u6DFB\u52A0\u5B66\u751F\u201D\uFF0C\u5728\u5F39\u7A97\u9875\u9762\u4E2D\u8F93\u5165\u5E76\u641C\u7D22\u5B66\u751F\u59D3\u540D\uFF0C\u70B9\u51FB\u201C\u786E\u5B9A\u201D\u5C31\u53EF\u4EE5\u4E3A\u60A8\u7684\u8BFE\u5802\u6DFB\u52A0\u7B2C\u4E00\u4F4D\u5B66\u751F\u5566~")}})}else ur(!1)}),oo=()=>{Un(1),rn([]),Qa([])},Xa=$n>sn*kt,[In,ur]=(0,z.useState)(!1);return ee.createElement(Ie.default,{width:600,confirmLoading:In,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:Kr,onCancel:()=>{if(oo(),Ke({type:"classroomList/setActionTabs",payload:{}}),nt){nt();return}Er()}},ee.createElement("p",{className:"tc"},"\u5B66\u751F\u5C06\u7ACB\u5373\u6536\u5230\u4F5C\u4E1A",ee.createElement("br",null),'\u672C\u64CD\u4F5C\u53EA\u5BF9"\u672A\u53D1\u5E03"\u7684\u4F5C\u4E1A\u6709\u6548'),pn&&ee.createElement(se.default,{form:Vt},ee.createElement("div",{style:{paddingLeft:0}},Ge.actionTabs.type===2&&ee.createElement(be.Z,{style:{marginBottom:"10px"}},ee.createElement("span",{className:"mr5"},"\u8BD5\u9898\u53D1\u9001:"),ee.createElement(Ne.ZP.Group,{value:Dt,disabled:!((It=(Lt=(st=Ge.actionTabs)==null?void 0:st.selectArrsAll)==null?void 0:Lt[0])!=null&&It.can_publish),onChange:nr=>{Zn(nr.target.value)}},ee.createElement(Ne.ZP,{value:!0},"\u5168\u90E8\u56FA\u5B9A\u8BD5\u9898"),ee.createElement(Ne.ZP,{className:"ml20",value:!1},"\u968F\u673A\u62BD\u53D6"))),!Dt&&ee.createElement(be.Z,{style:{marginBottom:"10px"}},ee.createElement("span",{style:{marginRight:65}}),ee.createElement("span",null,"\u7B80\u5355\u9898\u6570 ",ee.createElement(ie.Z,{value:cn[0],onChange:nr=>{cn[0]=nr,On([...cn])},min:0,disabled:!((Fe=(dn=(St=Ge.actionTabs)==null?void 0:St.selectArrsAll)==null?void 0:dn[0])!=null&&Fe.can_publish),placeholder:`\u6700\u5927${(Pt=(jn=(Kt=(Xt=Ge.actionTabs)==null?void 0:Xt.selectArrsAll)==null?void 0:Kt[0])==null?void 0:jn.difficult_count)==null?void 0:Pt[0]}`,max:(Oe=(it=(lt=(qe=Ge.actionTabs)==null?void 0:qe.selectArrsAll)==null?void 0:lt[0])==null?void 0:it.difficult_count)==null?void 0:Oe[0],style:{width:60}})),ee.createElement("span",{style:{margin:"0px 40px"}},"\u9002\u4E2D\u9898\u6570 ",ee.createElement(ie.Z,{value:cn[1],onChange:nr=>{cn[1]=nr,On([...cn])},min:0,disabled:!((Le=(gt=(pt=Ge.actionTabs)==null?void 0:pt.selectArrsAll)==null?void 0:gt[0])!=null&&Le.can_publish),max:(we=(We=(je=(he=Ge.actionTabs)==null?void 0:he.selectArrsAll)==null?void 0:je[0])==null?void 0:We.difficult_count)==null?void 0:we[1],placeholder:`\u6700\u5927${(Se=(jt=(Je=(mt=Ge.actionTabs)==null?void 0:mt.selectArrsAll)==null?void 0:Je[0])==null?void 0:jt.difficult_count)==null?void 0:Se[1]}`,style:{width:60}})),ee.createElement("span",null,"\u56F0\u96BE\u9898\u6570 ",ee.createElement(ie.Z,{value:cn[2],onChange:nr=>{cn[2]=nr,On([...cn])},min:0,disabled:!((Ae=(wt=(ut=Ge.actionTabs)==null?void 0:ut.selectArrsAll)==null?void 0:wt[0])!=null&&Ae.can_publish),placeholder:`\u6700\u5927${(zt=(Ft=(ct=(_e=Ge.actionTabs)==null?void 0:_e.selectArrsAll)==null?void 0:ct[0])==null?void 0:Ft.difficult_count)==null?void 0:zt[2]}`,max:(Et=(Bt=(dt=(fn=Ge.actionTabs)==null?void 0:fn.selectArrsAll)==null?void 0:dt[0])==null?void 0:Bt.difficult_count)==null?void 0:Et[2],style:{width:60}}))),ee.createElement(be.Z,{className:"mt30",align:"middle"},ee.createElement(et.Z,null,ee.createElement(se.default.Item,{name:"publish_time",label:"\u53D1\u5E03\u65F6\u95F4"},ee.createElement(He.default,{style:{width:170,marginRight:"25px"},disabledDate:nr=>(0,x.Q8)(nr,rt),disabledTime:nr=>(0,x.d0)(nr),placeholder:"\u8BF7\u9009\u62E9\u53D1\u5E03\u65F6\u95F4",showTime:{format:"HH:mm",defaultValue:Me()((0,a.U6)(),"HH:mm")},format:"YYYY-MM-DD HH:mm",allowClear:!1}))),ee.createElement(et.Z,{className:"ml20"},ee.createElement(se.default.Item,{name:"end_time",label:"\u622A\u6B62\u65F6\u95F4"},ee.createElement(He.default,{style:{width:170},placeholder:"\u8BF7\u9009\u62E9\u622A\u6B62\u65F6\u95F4",showTime:{format:"HH:mm",defaultValue:Me()((0,a.U6)(),"HH:mm")},disabledDate:nr=>(0,x.Q8)(nr,rt,Vt.getFieldValue("publish_time")),disabledTime:nr=>(0,x.d0)(nr,Vt.getFieldValue("publish_time")),format:"YYYY-MM-DD HH:mm",allowClear:!1})))),Ge.actionTabs.type===2&&ee.createElement(be.Z,{style:{marginBottom:"10px"}},ee.createElement("span",{className:"mr5"},"\u53D1\u5E03\u8BBE\u7F6E:"),ee.createElement(Ne.ZP.Group,{value:tt,onChange:nr=>{Rt(nr.target.value),Qa([])}},ee.createElement(Ne.ZP,{value:!0,disabled:!Ge.actionTabs.manage_all_group},"\u7EDF\u4E00\u53D1\u5E03"),ee.createElement(Ne.ZP,{className:"ml20",disabled:pn.length<=0,value:!1},"\u5206\u73ED\u53D1\u5E03"))),pn.length<=0&&Ge.actionTabs.type===2&&ee.createElement("span",{style:{marginLeft:"65px",color:"rgba(0, 0, 0, 0.25)"}},'\u8BFE\u5802\u65E0\u5206\u73ED\uFF0C\u4EC5\u652F\u6301\u9009\u62E9\u201C\u7EDF\u4E00\u53D1\u5E03"')),(Ge.actionTabs.type===1||!tt)&&pn.length>0&&ee.createElement("div",{style:{display:"flex",justifyContent:"space-between",marginBottom:"10px"}},ee.createElement("span",{style:{flex:1}},ee.createElement(ke.default,{checked:Cr.length===pn.length,onChange:nr=>{Cr.length===pn.length?Qa([]):Qa(pn.filter(sr=>!sr.is_published))}},"\u5168\u9009")," "),ee.createElement("span",{style:{width:16}}),ee.createElement("span",{style:{flex:1}},"\u5DF2\u9009\u62E9",Cr.length||0,"\u4E2A\u5206\u73ED")),(Ge.actionTabs.type===1||!tt)&&pn.length>0&&ee.createElement(b.Z,{data:pn,selectedRowKeys:Cr,setSelectedRowKeys:Qa})))};yt.Z=(0,y.connect)(({classroomList:Be})=>({classroomList:Be}))(ft)},69577:function(bt,yt,te){"use strict";te.d(yt,{Q8:function(){return nt},d0:function(){return vt},w6:function(){return rt}});var z=te(59301),se=te(5083),ve=te(57809),Ie=te(8591),be=te(43418),Ne=te(5112),ie=te(95237),et=te(43604),He=te(6848),ke=te(24905),Ze=te(3113),Me=te(61186),ye=te.n(Me),re=te(34055),a=te(82093),y=te(89392),b=te.n(y),E=te(49661),x=te(69063),ee=te(76560),ne=te(2748),oe=te(23869),ae=te(97202),ue=te(6681),me=te(67135),fe=te(59301),Pe=Object.defineProperty,xe=Object.defineProperties,Ee=Object.getOwnPropertyDescriptors,De=Object.getOwnPropertySymbols,ze=Object.prototype.hasOwnProperty,ft=Object.prototype.propertyIsEnumerable,Be=(st,Lt,It)=>Lt in st?Pe(st,Lt,{enumerable:!0,configurable:!0,writable:!0,value:It}):st[Lt]=It,Ue=(st,Lt)=>{for(var It in Lt||(Lt={}))ze.call(Lt,It)&&Be(st,It,Lt[It]);if(De)for(var It of De(Lt))ft.call(Lt,It)&&Be(st,It,Lt[It]);return st},Ge=(st,Lt)=>xe(st,Ee(Lt)),Ke=(st,Lt,It)=>new Promise((St,dn)=>{var Fe=jn=>{try{Kt(It.next(jn))}catch(Pt){dn(Pt)}},Xt=jn=>{try{Kt(It.throw(jn))}catch(Pt){dn(Pt)}},Kt=jn=>jn.done?St(jn.value):Promise.resolve(jn.value).then(Fe,Xt);Kt((It=It.apply(st,Lt)).next())});function rt(st,Lt){const It=[];for(let St=st;St<Lt;St++)It.push(St);return It}const nt=(st,Lt,It)=>{const St=st<ye()().startOf("day"),dn=st>ye()(Lt).endOf("day"),Fe=st<ye()(It).startOf("day");return Lt?It?ye()()<=ye()(It)?Fe||dn:St||dn:st&&St||dn:It&&ye()()<=ye()(It)?Fe:St},vt=(st,Lt)=>{const It=parseInt(ye()(st).format("HH")),St=parseInt(ye()().format("HH")),dn=parseInt(ye()().format("mm"));if(!st)return{disabledHours:()=>rt(0,St),disabledMinutes:()=>rt(0,dn)};if(Lt){const Fe=parseInt(ye()(Lt).format("HH")),Xt=parseInt(ye()(Lt).format("mm"));return ye()(st).isSame(ye()(Lt),"day")?{disabledHours:()=>rt(0,Fe),disabledMinutes:()=>It<=Fe?rt(0,Xt):[]}:void 0}if(ye()(st).isSame(ye()(),"day"))return{disabledHours:()=>rt(0,St),disabledMinutes:()=>ye()(st).isSame(ye()(),"hour")&&It<=St?rt(0,dn):[]}},{RangePicker:Tt}=se.default,{Option:Yt}=ve.default,Xe=({shixunHomeworks:st,loading:Lt,dispatch:It,classroomList:St,user:dn})=>{var Fe,Xt,Kt,jn,Pt,qe,lt,it,Oe;const pt=(0,ee.useParams)(),{workSetting:gt,workList:Le,shixunWorkList:he,headerInfo:je,changeData:We}=st,[we,mt]=(0,z.useState)(!1),[Je,jt]=(0,z.useState)(!1);let[Se,ut]=(0,z.useState)([]),[wt,Ae]=(0,z.useState)([]),[_e,ct]=(0,z.useState)({unified_setting:!1,publish_time:"",end_time:"",allow_late:!1,unified_late:!0,late_time:"",late_penalty:0,penalty_type:ne.Q.Percent,challenge_settings:[],work_efficiency:!1,shixun_evaluation:"",answer_open_evaluation:!1,answer_public:!1,score_open:!1,comment_public:!0,total_score:"",eff_score:0,action_analysis:!1,work_end_forbid_evaluate:!1});const[Ft,zt]=(0,z.useState)({}),[fn,dt]=(0,z.useState)({});(0,z.useEffect)(()=>()=>{ut([])},[]),(0,z.useEffect)(()=>{mt(!(0,re.GJ)())},[(0,re.GJ)()]);const Bt=()=>{It({type:"shixunHomeworks/getWorkSetting",payload:Ue({},pt)})};(0,z.useEffect)(()=>{if(!(gt!=null&>.course_id))return;Object.keys(_e).map(function(Jt){_e[Jt]=gt[Jt]}),(!_e.allow_late||!_e.unified_late)&&(_e.late_penalty=20,_e.penalty_type=ne.Q.Percent),_e.unified_setting||(_e.unified_late=!1,_e.unified_anonymous_comment=!1,_e.unified_anonymous_appeal=!1),Se=JSON.parse(JSON.stringify(gt.group_settings.map(Jt=>Ge(Ue({},Jt),{group_name:[Jt.group_name]})).filter(Jt=>Jt.publish_time!==null))),wt=JSON.parse(JSON.stringify(gt.allow_late_settings.map(Jt=>Ge(Ue({},Jt),{group_name:[Jt.group_name]})).filter(Jt=>Jt.late_time!==null))),ct(Ue({},_e));const kt=(0,E.QE)((Se==null?void 0:Se.length)>0?Se:[]);ut([...kt]),(wt==null?void 0:wt.length)<=0?Ae([{penalty_type:ne.Q.Percent,late_penalty:20}]):Ae([...wt])},[gt]);const Et=()=>Ke(void 0,null,function*(){var kt,Jt;if(((kt=dn==null?void 0:dn.userInfo)==null?void 0:kt.user_status)===2){(0,oe.Rd)();return}const Ea=JSON.parse(JSON.stringify(_e));if(Ea.challenge_settings.filter(Rn=>!Rn.hide),Ea.categoryId=pt.categoryId,(Jt=Ea.challenge_settings)!=null&&Jt.every(Rn=>!Rn.checked)){Ie.ZP.warning("\u5173\u5361\u4E0D\u80FD\u5168\u90E8\u8BBE\u7F6E\u4E3A\u53EF\u4E0D\u505A");return}if(console.log(Se),!_e.unified_setting)Se=Se==null?void 0:Se.map(Rn=>{var Ga;if(!Rn.publish_time||!Rn.end_time)throw Ie.ZP.error("\u8BF7\u628A\u53D1\u5E03\u65F6\u95F4\u586B\u5199\u5B8C\u6574"),new String("\u8BF7\u628A\u53D1\u5E03\u65F6\u95F4\u586B\u5199\u5B8C\u6574");if(!Rn.group_name)throw Ie.ZP.error("\u8BF7\u9009\u62E9\u5206\u73ED\u540D\u79F0"),new String("\u8BF7\u9009\u62E9\u5206\u73ED\u540D\u79F0");return Rn.group_name=typeof(Rn==null?void 0:Rn.group_name)=="string"?[Rn==null?void 0:Rn.group_name]:Rn==null?void 0:Rn.group_name,Rn.group_id=(Ga=gt.group_settings)==null?void 0:Ga.filter(La=>{var Ar;return(Ar=Rn==null?void 0:Rn.group_name)==null?void 0:Ar.includes(La.group_name)}).map(La=>La.group_id||La.id).toString().split(","),Rn});else if(!_e.publish_time||!_e.end_time)throw Ie.ZP.error("\u53D1\u5E03\u622A\u6B62\u65F6\u95F4\u4E0D\u80FD\u4E3A\u7A7A"),new String("\u53D1\u5E03\u622A\u6B62\u65F6\u95F4\u4E0D\u80FD\u4E3A\u7A7A");if(Ea.group_settings=Se,_e.allow_late)if(_e.unified_late){if(_e.late_penalty===null||_e.late_penalty===void 0||_e.late_penalty<0||_e.late_penalty>100)throw Ie.ZP.error("\u8FDF\u4EA4\u6263\u5206\u586B\u5199\u533A\u95F4\u4E3A0~100"),new String("\u8FDF\u4EA4\u6263\u5206\u586B\u5199\u533A\u95F4\u4E3A0~100");if(!_e.late_time)throw Ie.ZP.error("\u8BF7\u628A\u622A\u6B62\u65F6\u95F4\u586B\u5199\u5B8C\u6574"),new String("\u8BF7\u628A\u622A\u6B62\u65F6\u95F4\u586B\u5199\u5B8C\u6574")}else wt=wt==null?void 0:wt.map(Rn=>{var Ga,La;if(Rn.late_penalty===null||Rn.late_penalty===void 0||Rn.late_penalty<0||Rn.late_penalty>100)throw Ie.ZP.error("\u8FDF\u4EA4\u6263\u5206\u586B\u5199\u533A\u95F4\u4E3A0~100"),new String("\u8FDF\u4EA4\u6263\u5206\u586B\u5199\u533A\u95F4\u4E3A0~100");if(!Rn.late_time)throw Ie.ZP.error("\u8BF7\u628A\u622A\u6B62\u65F6\u95F4\u586B\u5199\u5B8C\u6574"),new String("\u8BF7\u628A\u622A\u6B62\u65F6\u95F4\u586B\u5199\u5B8C\u6574");if(!Rn.group_name)throw Ie.ZP.error("\u8BF7\u9009\u62E9\u5206\u73ED\u540D\u79F0"),new String("\u8BF7\u9009\u62E9\u5206\u73ED\u540D\u79F0");return Rn.group_name=typeof(Rn==null?void 0:Rn.group_name)=="string"?[Rn==null?void 0:Rn.group_name]:Rn==null?void 0:Rn.group_name,Rn.group_id=(La=(Ga=Rn==null?void 0:Rn.group_name)==null?void 0:Ga.map(Ar=>{var Cr,Qa;let tt=(Qa=(Cr=gt.group_settings)==null?void 0:Cr.filter(Rt=>(Rt==null?void 0:Rt.group_name)===Ar))==null?void 0:Qa[0];return tt==null?void 0:tt.group_id}))==null?void 0:La.toString().split(","),Rn}),Ea.allow_late_settings=wt;let qn=yield(0,me.Tr)({homework_common_ids:[parseInt(pt.categoryId)],course_id:pt.coursesId,type:"homework_common"});(qn==null?void 0:qn.student_count)===0?tn(Ea):(dt(Ea),zt(qn))}),tn=kt=>{var Jt;if(kt.total_score===null){Ie.ZP.warning("\u603B\u5206\u503C\u4E0D\u80FD\u4E3A\u7A7A");return}if(kt!=null&&kt.work_efficiency&&kt.eff_score===null){Ie.ZP.warning("\u6548\u7387\u5206\u4E0D\u80FD\u4E3A\u7A7A");return}const Ea=kt.challenge_settings.reduce((Ga,La)=>Ga+Number(La.challenge_score),0);if((Ea==null?void 0:Ea.toFixed(10))!==((Jt=kt.total_score-kt.eff_score)==null?void 0:Jt.toFixed(10))){Ie.ZP.warning(`\u6548\u7387\u5206\u52A0\u5173\u5361\u4EFB\u52A1\u603B\u5206\u5FC5\u987B\u7B49\u4E8E\u603B\u5206\u503C\uFF1A${kt.total_score}\u5206`);return}const qn={shixun_evaluation:kt.shixun_evaluation,challenge_settings:kt.challenge_settings};let Rn=()=>{var Ga;const La=()=>Ke(void 0,null,function*(){jt(!0),(yield(0,a.ZP)(`/api/homework_commons/${pt.categoryId}/publish_setting.json`,{method:"post",body:Ue({},kt)})).status===0&&(Ie.ZP.success("\u66F4\u65B0\u6210\u529F"),Bt(),It({type:"shixunHomeworks/getShixunWorkHeadInfo",payload:Ue({},pt)})),jt(!1)});!(0,y.isEqual)(We,qn)&&!((Ga=je==null?void 0:je.homework_status)!=null&&Ga.includes("\u672A\u53D1\u5E03"))?be.default.confirm({title:"\u66F4\u65B0\u6210\u7EE9",content:"\u60A8\u6539\u52A8\u4E86\u672C\u6B21\u4F5C\u4E1A\u7684\u5173\u5361\u5F97\u5206\u8BBE\u7F6E\uFF0C\u8FD9\u53EF\u80FD\u5BFC\u81F4\u5DF2\u5B8C\u6210\u4F5C\u4E1A\u7684\u5B66\u751F\u7684\u6210\u7EE9\u4EA7\u751F\u9519\u8BEF\u3002\u70B9\u51FB\u201C\u786E\u5B9A\u201D\u6309\u94AE\u5C06\u4FDD\u5B58\u6700\u65B0\u8BBE\u7F6E\u5E76\u6309\u6700\u65B0\u8BBE\u7F6E\u66F4\u65B0\u5168\u73ED\u6210\u7EE9\u3002",okText:"\u786E\u8BA4",cancelText:"\u53D6\u6D88",onOk:La}):La()};gt!=null&>.high_resources_consume&&!(gt!=null&>.high_resources_consume_permission)?It({type:"classroomList/setActionTabs",payload:{key:"\u6388\u6743\u4F7F\u7528",id:pt.coursesId,type:"shixun",type_id:pt.categoryId,name:gt.homework_name,fn:()=>{Rn()}}}):Rn()},Vt=(kt,Jt,Ea="group_id")=>{var qn;return Jt?Jt.find(Rn=>Rn[Ea]===kt):(qn=gt==null?void 0:gt.group_settings)==null?void 0:qn.find(Rn=>Rn.group_id[0]===kt)},sn=(gt==null?void 0:gt.allow_late)||(gt==null?void 0:gt.anonymous_comment),Un=kt=>{var Jt,Ea;const qn=Vt(kt,gt==null?void 0:gt.allow_late_settings,"id"),Rn=Vt(kt,gt==null?void 0:gt.anonymous_comment_settings),Ga=Vt(kt);return(gt==null?void 0:gt.allow_late)&&qn&&ye()(qn==null?void 0:qn.late_time)<=ye()()||(gt==null?void 0:gt.anonymous_comment)&&Rn&&(Rn==null?void 0:Rn.evaluation_start)!==null||((Ea=(ye()(Ga==null?void 0:Ga.end_time)<=ye()()&&((Jt=gt==null?void 0:gt.allow_late_settings)==null?void 0:Jt.filter(La=>La.group_id.includes(kt))))[0])==null?void 0:Ea.late_time)!=null},pn=(0,z.useMemo)(()=>(gt==null?void 0:gt.allow_late)||(gt==null?void 0:gt.all_group_late),[gt,je]),rn=gt==null?void 0:gt.anonymous_comment,$n=kt=>{if(!kt)return!1;const Jt=Vt(kt,gt==null?void 0:gt.anonymous_comment_settings);return(gt==null?void 0:gt.anonymous_comment)&&Jt&&(Jt==null?void 0:Jt.evaluation_start)!==null},_t=(kt,Jt)=>{var Ea,qn,Rn;It({type:"classroomList/setActionTabs",payload:{key:"\u5206\u73ED\u53D1\u5E03-\u53D1\u5E03\u89C4\u5219\u62C6\u5206",data:kt,index:Jt,rangePickerDisabled:we||(ye()()<=ye()((qn=Vt((Ea=kt==null?void 0:kt.group_id)==null?void 0:Ea[0]))==null?void 0:qn.publish_time)?!1:[!0,Un((Rn=kt==null?void 0:kt.group_id)==null?void 0:Rn[0])]),disabledDate:gt==null?void 0:gt.course_end_date}})};return fe.createElement("section",{className:x.Z.form},fe.createElement("div",{className:x.Z.title},"\u4F5C\u4E1A\u53D1\u5E03",fe.createElement("span",{className:"c-grey-666 font14",style:{fontWeight:400}},"\uFF08\u4F5C\u4E1A\u4E00\u65E6\u53D1\u5E03\u540E\u4E0D\u53EF\u53D8\u66F4\u8BD5\u9898\u53D1\u5E03\u6A21\u5F0F\uFF09")),fe.createElement("div",null,fe.createElement("div",{style:{background:"#F6F7F9",padding:"13px 30px",display:"flex",alignItems:"center"}},fe.createElement(Ne.ZP.Group,{disabled:we||!((Fe=je==null?void 0:je.homework_status)!=null&&Fe.includes("\u672A\u53D1\u5E03"))||(0,re.Rm)()&&!((Xt=St.AssistantObject.practice)!=null&&Xt.can_publish),value:_e.unified_setting,onChange:kt=>{var Jt;if(!((Jt=je==null?void 0:je.homework_status)!=null&&Jt.includes("\u672A\u53D1\u5E03"))){Ie.ZP.error("\u5DF2\u53D1\u5E03\uFF0C\u4E0D\u80FD\u518D\u4FEE\u6539\u7EDF\u4E00\u8BBE\u7F6E");return}if(_e.unified_setting=!_e.unified_setting,_e.unified_setting||(_e.unified_late=!1,Ae([{late_penalty:5}])),ct(Object.assign({},_e)),_e.unified_setting===!1&&Se==""){ut(Se.concat({}));return}_e.unified_setting&&(ut([]),Ae([{late_penalty:5}]))}},fe.createElement(Ne.ZP,{value:!0,disabled:we||!(gt!=null&>.manage_all_group),style:{marginRight:"50px"}},"\u7EDF\u4E00\u53D1\u5E03"),fe.createElement(Ne.ZP,{disabled:we||!((Kt=gt==null?void 0:gt.group_settings)!=null&&Kt.length),value:!1},"\u5206\u73ED\u53D1\u5E03")),((jn=gt==null?void 0:gt.group_settings)==null?void 0:jn.length)===0&&fe.createElement("div",{style:{color:"rgba(0, 0, 0, 0.25)",height:"22px"}},"\uFF08\u672C\u8BFE\u5802\u65E0\u5206\u73ED\uFF0C\u4EC5\u652F\u6301\u9009\u62E9\u201C\u7EDF\u4E00\u53D1\u5E03\u201C\uFF09")),_e.unified_setting&&fe.createElement("div",{style:{display:"flex",color:"#666666",background:"#F6F7F9",padding:"5px 30px",height:"50px",marginTop:"1px"}},fe.createElement(ie.Z,{align:"middle"},fe.createElement(et.Z,{style:{marginLeft:"23px"}},"\u53D1\u5E03\u65F6\u95F4"),fe.createElement(et.Z,{className:"ml10"},fe.createElement(se.default,{size:"large",disabled:we||!((Pt=je==null?void 0:je.homework_status)!=null&&Pt.includes("\u672A\u53D1\u5E03")||(qe=je==null?void 0:je.homework_status)!=null&&qe.includes("\u672A\u5F00\u59CB"))||(0,re.Rm)()&&!((lt=St.AssistantObject.practice)!=null&<.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:kt=>nt(kt,gt==null?void 0:gt.course_end_date),disabledTime:kt=>vt(kt),value:_e.publish_time?ye()(_e.publish_time):"",onChange:(kt,Jt)=>{_e.publish_time=Jt,(_e.end_time==""||!_e.end_time)&&_e.unified_setting&&(_e.end_time=ye()(kt).add(7,"days").format("YYYY-MM-DD HH:mm:ss")),ct(Object.assign({},_e))}}))),fe.createElement(ie.Z,{align:"middle",className:"pl30"},fe.createElement(et.Z,null,"\u622A\u6B62\u65F6\u95F4"),fe.createElement(et.Z,{className:"ml10"},fe.createElement(se.default,{size:"large",style:{width:170},allowClear:!1,placeholder:"\u8BF7\u9009\u62E9\u622A\u6B62\u65F6\u95F4",showTime:{format:"HH:mm",defaultValue:ye()((0,E.U6)(),"HH:mm")},format:"YYYY-MM-DD HH:mm",disabled:(gt==null?void 0:gt.allow_late)&&(gt==null?void 0:gt.homework_status.includes("\u5DF2\u622A\u6B62"))||we||(gt==null?void 0:gt.allow_late)&&ye()()>=ye()(gt==null?void 0:gt.end_time)||(0,re.Rm)()&&!((it=St.AssistantObject.practice)!=null&&it.can_publish),disabledDate:kt=>nt(kt,gt==null?void 0:gt.course_end_date,_e.publish_time),disabledTime:kt=>vt(kt,_e.publish_time),value:_e.end_time?ye()(_e.end_time):"",onChange:(kt,Jt)=>{_e.end_time=Jt,ct(Object.assign({},_e))}})))),!_e.unified_setting&&(Se==null?void 0:Se.length)>0&&fe.createElement(ie.Z,{style:{display:"flex",color:"#666666",background:"#F6F7F9",padding:"5px 30px",marginTop:"1px"}},Se&&Se.map(function(kt,Jt){var Ea,qn,Rn,Ga,La,Ar,Cr;return fe.createElement(et.Z,{span:24,key:Jt},fe.createElement(ie.Z,{gutter:[8,16],style:{display:"flex",alignItems:"center",marginBottom:Jt==(Se==null?void 0:Se.length)-1?"0px":"10px"}},fe.createElement("div",{style:{minWidth:85,marginRight:"15px",textAlign:"right"}},"\u53D1\u5E03\u89C4\u5219",Jt+1),fe.createElement(ve.default,{disabled:we||((Ea=je==null?void 0:je.homework_status)!=null&&Ea.includes("\u672A\u53D1\u5E03")&&kt.id||ye()()<ye()(kt==null?void 0:kt.publish_time)?!1:!!(kt!=null&&kt.publish_time))||(0,re.Rm)()&&!((qn=St.AssistantObject.practice)!=null&&qn.can_publish),mode:"multiple",className:x.Z.multiple_select,style:{width:"250px"},value:kt.group_name,placeholder:"\u8BF7\u9009\u62E9\u5206\u73ED\u540D\u79F0",onChange:Qa=>{var tt;if((0,re.Rm)()&&!((tt=St.AssistantObject.practice)!=null&&tt.can_publish)){Ie.ZP.warning("\u60A8\u672A\u83B7\u53D6\u6B64\u6743\u9650\uFF0C\u9700\u5411\u8BFE\u5802\u7BA1\u7406\u5458\u7533\u8BF7\u6743\u9650\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD");return}Se[Jt].group_name=Qa,Se[Jt].group_id=kt.group_id;const Rt=(0,y.flattenDeep)(Se.map(Zn=>Zn.group_name)),Dt=wt.map(Zn=>{let cn=(Zn==null?void 0:Zn.group_name)||[];return Ge(Ue({},Zn),{group_name:(0,y.remove)(cn,On=>Rt.includes(On))})});Ae(Dt),ut(Se.slice())},maxTagCount:4,maxTagPlaceholder:Qa=>fe.createElement("div",{style:{cursor:"pointer"},onClick:()=>_t(kt,Jt)},"+",Qa==null?void 0:Qa.length)},gt.group_settings&>.group_settings.map(function(Qa){if(!Se.map(Rt=>Rt.group_name).flat().includes(Qa.group_name))return fe.createElement(Yt,{value:Qa.group_name,key:Qa.id},Qa.group_name)})),fe.createElement("div",{className:"ml20"},fe.createElement(Tt,{size:"large",ranges:{\u6B64\u523B:[kt.publish_time?ye()(kt.publish_time):ye()(),ye()()]},allowClear:!1,disabled:we||(ye()()<=ye()((Ga=Vt((Rn=kt==null?void 0:kt.group_id)==null?void 0:Rn[0]))==null?void 0:Ga.publish_time)?!1:[!0,Un((La=kt==null?void 0:kt.group_id)==null?void 0:La[0])]),style:{width:605},placeholder:["\u53D1\u5E03\u65F6\u95F4\uFF08\u5B66\u751F\u6536\u5230\u4F5C\u4E1A\u65F6\u95F4\uFF09","\u622A\u6B62\u65F6\u95F4\uFF08\u5B66\u751F\u201C\u6309\u65F6\u201D\u63D0\u4EA4\u4F5C\u54C1\u65F6\u95F4\u622A\u70B9\uFF09"],disabledDate:Qa=>nt(Qa,gt==null?void 0:gt.course_end_date),disabledTime:Qa=>vt(Qa),showTime:{showNow:!0,format:"HH:mm",defaultValue:[ye()((0,E.U6)(),"HH:mm"),ye()((0,E.U6)(),"HH:mm")]},format:"YYYY-MM-DD HH:mm",value:kt.publish_time&&[ye()(kt.publish_time),kt.end_time?ye()(kt.end_time):void 0],onChange:(Qa,tt)=>{var Rt;if((0,re.Rm)()&&!((Rt=St.AssistantObject.practice)!=null&&Rt.can_publish)){Ie.ZP.warning("\u60A8\u672A\u83B7\u53D6\u6B64\u6743\u9650\uFF0C\u9700\u5411\u8BFE\u5802\u7BA1\u7406\u5458\u7533\u8BF7\u6743\u9650\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD");return}Se[Jt].publish_time=tt[0],!kt.end_time&&tt[0]?Se[Jt].end_time=ye()(tt[0]).add(7,"days"):Se[Jt].end_time=tt[1],ut([...Se])},onCalendarChange:(Qa,tt,Rt)=>{if(tt!=null&&tt[0]&&!tt[1]){const Dt=ye()(tt[0]).add(7,"days");Se[Jt].publish_time=tt[0],Se[Jt].end_time=Dt,ut([...Se])}}})),!we&&fe.createElement("div",{style:{display:"flex",width:"50px"}},((Ar=kt==null?void 0:kt.group_id)==null?void 0:Ar.length)>1&&fe.createElement(He.Z,{title:"\u89C4\u5219\u62C6\u5206"},fe.createElement("i",{className:"iconfont icon-chaifen ml10",style:{cursor:"pointer",color:"#3061d0"},onClick:()=>_t(kt,Jt)})),Se.length<((Cr=gt==null?void 0:gt.group_settings)==null?void 0:Cr.length)&&fe.createElement("i",{className:"iconfont icon-zengjia1 ml10 mr10",style:{cursor:"pointer",color:"#00B187"},onClick:()=>{var Qa;if((0,re.Rm)()&&!((Qa=St.AssistantObject.practice)!=null&&Qa.can_publish)){Ie.ZP.warning("\u60A8\u672A\u83B7\u53D6\u6B64\u6743\u9650\uFF0C\u9700\u5411\u8BFE\u5802\u7BA1\u7406\u5458\u7533\u8BF7\u6743\u9650\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD");return}ut(Se.concat({}))}}),((kt==null?void 0:kt.publish_time)&&ye()()<ye()(kt==null?void 0:kt.publish_time)||!(kt!=null&&kt.publish_time))&&Jt!=0&&fe.createElement("i",{className:"iconfont icon-shanjian1",style:{cursor:"pointer",color:"#E30000"},onClick:()=>{const Qa=(0,y.cloneDeep)(wt);Qa.forEach((tt,Rt)=>{tt.group_name&&(tt.group_name=tt.group_name.filter(Dt=>{var Zn;return!((Zn=Se[Jt].group_name)!=null&&Zn.includes(Dt))}))}),Se=Se.filter((tt,Rt)=>Jt!==Rt),Ae(Qa),ut(Se.slice()),setTimeout(()=>ut(Se.slice()),10)}}))))}))),fe.createElement(ie.Z,null,fe.createElement(et.Z,null,fe.createElement("div",{className:x.Z.title,style:{marginTop:"30px"}},"\u8865\u4EA4\u8BBE\u7F6E",fe.createElement("span",{className:"c-grey-666 font14",style:{fontWeight:400}},"\uFF08\u53EF\u5BF9\u5728\u4F5C\u4E1A\u53D1\u5E03\u65F6\u95F4\u8303\u56F4\u5185\u672A\u5B8C\u6210\u4F5C\u4E1A\u7684\u5B66\u751F\uFF0C\u5EF6\u957F\u65F6\u95F4\u8FDB\u884C\u8865\u4EA4\uFF09"))),fe.createElement(et.Z,{span:24,style:{background:"#F6F7F9",padding:"13px 30px",display:"flex",alignItems:"center"}},fe.createElement(ke.default,{checked:_e.allow_late,disabled:we||pn,onChange:kt=>{var Jt;if((0,re.Rm)()&&!((Jt=St.AssistantObject.practice)!=null&&Jt.can_late)){Ie.ZP.warning("\u60A8\u672A\u83B7\u53D6\u6B64\u6743\u9650\uFF0C\u9700\u5411\u8BFE\u5802\u7BA1\u7406\u5458\u7533\u8BF7\u6743\u9650\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD");return}kt.target.checked&&be.default.warning({title:"\u5F00\u542F\u8865\u4EA4\u63D0\u793A",centered:!0,width:480,content:fe.createElement("div",{style:{padding:10,background:"#f5f6f9"}},fe.createElement("div",null,"1.\u5F00\u542F\u8865\u4EA4\u540E\u4E0D\u53EF\u5173\u95ED\uFF0C\u8865\u4EA4\u65B9\u5F0F\u63D0\u4EA4\u4FDD\u5B58\u540E\u4E0D\u53EF\u4FEE\u6539\uFF1B"),fe.createElement("div",null,"2.\u8865\u4EA4\u622A\u6B62\u65F6\u95F4\u5FC5\u987B\u665A\u4E8E\u4F5C\u4E1A\u622A\u6B62\u65F6\u95F4\uFF1B"),fe.createElement("div",null,"3.\u73ED\u7EA7\u9636\u6BB5\u8FDB\u5165\u201C\u8865\u4EA4\u4E2D\u201D\u5219\u4E0D\u53EF\u53D8\u66F4\u4F5C\u4E1A\u622A\u6B62\u65F6\u95F4\u3002"))}),_e.allow_late=!_e.allow_late,wt==""&&Ae([{late_penalty:5}]),ct(Object.assign({},_e))}},fe.createElement("strong",null,"\u5F00\u542F\u8865\u4EA4")))),(_e==null?void 0:_e.allow_late)&&fe.createElement("div",{style:{background:"#F6F7F9",padding:"10px 30px",marginTop:"1px",color:"#666666"}},fe.createElement("div",{style:{display:"flex"}},fe.createElement("div",{style:{width:"110px",textAlign:"right"}},"\u8865\u4EA4\u65B9\u5F0F"),fe.createElement(Ne.ZP.Group,{style:{marginLeft:"20px"},disabled:we||(gt==null?void 0:gt.anonymous_comment)||(gt==null?void 0:gt.allow_late),value:_e.unified_late,onChange:kt=>{var Jt;if((0,re.Rm)()&&!((Jt=St.AssistantObject.practice)!=null&&Jt.can_late)){Ie.ZP.warning("\u60A8\u672A\u83B7\u53D6\u6B64\u6743\u9650\uFF0C\u9700\u5411\u8BFE\u5802\u7BA1\u7406\u5458\u7533\u8BF7\u6743\u9650\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD");return}_e.unified_late=kt.target.value,wt==""&&!kt.target.value&&Ae([{penalty_type:ne.Q.Percent,late_penalty:20}]),ct(Ue({},_e))}},(_e==null?void 0:_e.unified_setting)&&fe.createElement(Ne.ZP,{value:!0,disabled:!(gt!=null&>.manage_all_group),style:{marginRight:"50px"}},"\u7EDF\u4E00\u8865\u4EA4"),((Oe=gt==null?void 0:gt.group_settings)==null?void 0:Oe.length)>0&&fe.createElement(Ne.ZP,{value:!1},"\u5206\u73ED\u8865\u4EA4"))),_e!=null&&_e.unified_late?fe.createElement(fe.Fragment,null,fe.createElement(ie.Z,{align:"middle",style:{marginTop:"10px"}},fe.createElement(et.Z,{style:{width:"110px",textAlign:"right"}},"\u8865\u4EA4\u6263\u5206"),fe.createElement(et.Z,{className:"ml20"},fe.createElement(ne.Z,{disabled:we||rn,value:{type:_e.penalty_type,inputValue:_e.late_penalty},onChange:kt=>{var Jt;if((0,re.Rm)()&&!((Jt=St.AssistantObject.practice)!=null&&Jt.can_late)){Ie.ZP.warning("\u60A8\u672A\u83B7\u53D6\u6B64\u6743\u9650\uFF0C\u9700\u5411\u7BA1\u7406\u5458\u7533\u8BF7\u6743\u9650\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD");return}ct(Ge(Ue({},_e),{late_penalty:kt.inputValue,penalty_type:kt.type}))}})),fe.createElement(et.Z,{flex:"1",className:"ml5"},fe.createElement("span",{className:"c-grey-c ml10"},_e.penalty_type===ne.Q.Number?"(\u8865\u4EA4\u65F6\u6309\u7167\u5B66\u751F\u603B\u6210\u7EE9\u6263\u5206)":"(\u5B66\u751F\u6700\u7EC8\u5F97\u5206=\u8865\u4EA4\u524D\u5F97\u5206+\u8865\u4EA4\u9636\u6BB5\u589E\u52A0\u7684\u5206\u503C*\uFF08100%-\u767E\u5206\u6BD4%\uFF09)"))),fe.createElement(ie.Z,{align:"middle",style:{marginTop:"15px"}},fe.createElement(et.Z,{style:{width:"110px",textAlign:"right"}},"\u8865\u4EA4\u622A\u6B62\u65F6\u95F4"),fe.createElement(et.Z,{className:"ml20"},fe.createElement(se.default,{size:"large",allowClear:!1,style:{width:170},placeholder:"\u8BF7\u9009\u62E9\u622A\u6B62\u65F6\u95F4",showTime:{format:"HH:mm",defaultValue:ye()((0,E.U6)(),"HH:mm")},format:"YYYY-MM-DD HH:mm",disabled:we||rn,value:_e.late_time?ye()(_e.late_time):"",disabledDate:kt=>nt(kt,gt==null?void 0:gt.course_end_date),onChange:(kt,Jt)=>{var Ea;if((0,re.Rm)()&&!((Ea=St.AssistantObject.practice)!=null&&Ea.can_late)){Ie.ZP.warning("\u60A8\u672A\u83B7\u53D6\u6B64\u6743\u9650\uFF0C\u9700\u5411\u8BFE\u5802\u7BA1\u7406\u5458\u7533\u8BF7\u6743\u9650\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD");return}_e.late_time=Jt,ct(Object.assign({},_e))}})))):wt.map(function(kt,Jt){var Ea;return fe.createElement(et.Z,{span:24,key:Jt},fe.createElement(ie.Z,{style:{display:"flex",alignItems:"center",marginTop:"10px"}},fe.createElement("div",{style:{width:"85px",marginLeft:"27px",textAlign:"right"}},"\u8865\u4EA4\u89C4\u5219",Jt+1),fe.createElement(ve.default,{disabled:we||!((Ea=je==null?void 0:je.homework_status)!=null&&Ea.includes("\u672A\u53D1\u5E03"))&&kt.id||(gt==null?void 0:gt.anonymous_comment),mode:"multiple",className:x.Z.multiple_select,style:{width:"212px",marginLeft:"18px"},value:typeof kt.group_name=="string"?[kt.group_name]:kt.group_name,placeholder:"\u8BF7\u9009\u62E9\u5206\u73ED\u540D\u79F0",onChange:qn=>{var Rn;if((0,re.Rm)()&&!((Rn=St.AssistantObject.practice)!=null&&Rn.can_late)){Ie.ZP.warning("\u60A8\u672A\u83B7\u53D6\u6B64\u6743\u9650\uFF0C\u9700\u5411\u8BFE\u5802\u7BA1\u7406\u5458\u7533\u8BF7\u6743\u9650\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD");return}wt[Jt].group_name=qn,wt[Jt].group_id=kt.group_id,Ae(wt.slice())}},gt.group_settings&>.group_settings.map(function(qn){const Rn=wt.map(La=>La.group_name).flat(),Ga=Se.map(La=>La.group_name).flat();if(_e!=null&&_e.unified_setting){if(!Rn.includes(qn.group_name))return fe.createElement(Yt,{value:qn.group_name,key:qn.id},qn.group_name)}else if(Ga.includes(qn.group_name)&&!Rn.includes(qn.group_name))return fe.createElement(Yt,{value:qn.group_name,key:qn.id},qn.group_name)})),fe.createElement("div",{className:"ml20 mr10"},"\u8865\u4EA4\u6263\u5206"),fe.createElement(ne.Z,{disabled:we||$n(kt.id),value:{type:kt.penalty_type,inputValue:kt.late_penalty},onChange:qn=>{var Rn;if((0,re.Rm)()&&!((Rn=St.AssistantObject.practice)!=null&&Rn.can_late)){Ie.ZP.warning("\u60A8\u672A\u83B7\u53D6\u6B64\u6743\u9650\uFF0C\u9700\u5411\u8BFE\u5802\u7BA1\u7406\u5458\u7533\u8BF7\u6743\u9650\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD");return}wt[Jt].late_penalty=qn.inputValue,wt[Jt].penalty_type=qn.type,Ae([...wt])}}),fe.createElement("div",{className:"ml20 mr10"},"\u8865\u4EA4\u622A\u6B62\u65F6\u95F4"),fe.createElement(se.default,{size:"large",disabled:we||$n(kt.id),style:{width:225},showTime:{format:"HH:mm",defaultValue:ye()((0,E.U6)(),"HH:mm")},placeholder:"\u8BF7\u9009\u62E9\u622A\u6B62\u65F6\u95F4",disabledDate:qn=>nt(qn,gt==null?void 0:gt.course_end_date),format:"YYYY-MM-DD HH:mm",value:kt!=null&&kt.late_time?ye()(kt.late_time):void 0,onChange:(qn,Rn)=>{var Ga;if((0,re.Rm)()&&!((Ga=St.AssistantObject.practice)!=null&&Ga.can_late)){Ie.ZP.warning("\u60A8\u672A\u83B7\u53D6\u6B64\u6743\u9650\uFF0C\u9700\u5411\u8BFE\u5802\u7BA1\u7406\u5458\u7533\u8BF7\u6743\u9650\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD");return}wt[Jt].late_time=Rn,Ae([...wt])}}),!we&&fe.createElement("div",{style:{display:"flex",width:"50px"}},fe.createElement("i",{className:"iconfont icon-zengjia1 ml10 mr10",style:{cursor:"pointer",color:"#00B187"},onClick:()=>{var qn;if((0,re.Rm)()&&!((qn=St.AssistantObject.practice)!=null&&qn.can_late)){Ie.ZP.warning("\u60A8\u672A\u83B7\u53D6\u6B64\u6743\u9650\uFF0C\u9700\u5411\u8BFE\u5802\u7BA1\u7406\u5458\u7533\u8BF7\u6743\u9650\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD");return}Ae(wt.concat({penalty_type:ne.Q.Percent,late_penalty:20}))}}),Jt>0&&!kt.id&&fe.createElement("i",{className:"iconfont icon-shanjian1",style:{cursor:"pointer",color:"#E30000"},onClick:()=>{var qn;if((0,re.Rm)()&&!((qn=St.AssistantObject.practice)!=null&&qn.can_late)){Ie.ZP.warning("\u60A8\u672A\u83B7\u53D6\u6B64\u6743\u9650\uFF0C\u9700\u5411\u8BFE\u5802\u7BA1\u7406\u5458\u7533\u8BF7\u6743\u9650\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD");return}wt=wt.filter((Rn,Ga)=>Jt!==Ga),Ae(wt.slice()),setTimeout(()=>Ae(wt.slice()),10)}}))))})),!we&&fe.createElement(fe.Fragment,null,fe.createElement(Ze.ZP,{type:"primary",size:"large",loading:Je,style:{width:"138px",marginTop:"30px"},onClick:()=>Et()},"\u4FDD\u5B58")),fe.createElement(ae.Z,{onConfirm:(kt,Jt)=>{Se.splice(kt,0,...Jt),Se.splice(kt+Jt.length,1);const Ea=(0,E.QE)([...Se]);ut([...Ea])}}),fe.createElement(ue.Z,{resdata:Ft,type:"shixun",okloading:Je,oktext:(Ft==null?void 0:Ft.can_copy_num)===0?"\u786E\u5B9A":"\u4E00\u952E\u590D\u5236\u5E76\u66FF\u6362",onok:kt=>Ke(void 0,null,function*(){jt(!0);let Jt=yield(0,a.ZP)(`/api/courses/${pt.coursesId}/batch_copy_shixuns.json`,{method:"post",body:{type:"homework_common",ids:[parseInt(pt.categoryId)]}});jt(!1),(Jt==null?void 0:Jt.status)===0&&tn(fn)})}))};yt.ZP=(0,ee.connect)(({shixunHomeworks:st,classroomList:Lt,loading:It,user:St})=>({shixunHomeworks:st,classroomList:Lt,loading:It.effects,user:St}))(Xe)},37521:function(bt,yt,te){"use strict";var z=te(59301),se=te(54580),ve=te(78241),Ie=te(43418),be=te(8591),Ne=te(1710),ie=te(76560),et=te(90524),He=te(5295),ke=te(82093),Ze=te(61186),Me=te.n(Ze),ye=te(49661),re=te(59301),a=Object.defineProperty,y=Object.getOwnPropertySymbols,b=Object.prototype.hasOwnProperty,E=Object.prototype.propertyIsEnumerable,x=(ue,me,fe)=>me in ue?a(ue,me,{enumerable:!0,configurable:!0,writable:!0,value:fe}):ue[me]=fe,ee=(ue,me)=>{for(var fe in me||(me={}))b.call(me,fe)&&x(ue,fe,me[fe]);if(y)for(var fe of y(me))E.call(me,fe)&&x(ue,fe,me[fe]);return ue},ne=(ue,me,fe)=>new Promise((Pe,xe)=>{var Ee=ft=>{try{ze(fe.next(ft))}catch(Be){xe(Be)}},De=ft=>{try{ze(fe.throw(ft))}catch(Be){xe(Be)}},ze=ft=>ft.done?Pe(ft.value):Promise.resolve(ft.value).then(Ee,De);ze((fe=fe.apply(ue,me)).next())});const{Dragger:oe}=se.default,ae=({classroomList:ue,dispatch:me,onOk:fe})=>{const Pe=(0,ie.useParams)(),[xe]=ve.default.useForm(),[Ee,De]=(0,z.useState)(),[ze,ft]=(0,z.useState)(!1),Be={height:100,onRemove:()=>{De("")},accept:".xls,.xlsx",multiple:!1,maxCount:1,beforeUpload:Ue=>ne(void 0,null,function*(){return De(Ue),!1})};return(0,z.useEffect)(()=>{xe.setFieldsValue({publish_time:Me()(Me()(new Date).add(0,"days").format("YYYY-MM-DD HH:mm")),end_time:Me()(Me()(new Date((0,ye.qd)("/"))).add(7,"days").format("YYYY-MM-DD HH:mm"))})},[]),re.createElement(Ie.default,{centered:!0,title:"\u8865\u5145\u6210\u7EE9",open:ue.actionTabs.key==="\u8865\u5145\u6210\u7EE9",okText:"\u786E\u5B9A",width:750,destroyOnClose:!0,cancelText:"\u53D6\u6D88",okButtonProps:{loading:ze},onOk:()=>ne(void 0,null,function*(){xe.submit()}),onCancel:()=>{xe.resetFields(),me({type:"classroomList/setActionTabs",payload:{}})}},re.createElement(ve.default,{form:xe,onFinish:Ue=>ne(void 0,null,function*(){var Ge,Ke,rt;if(!(Ee!=null&&Ee.size)){be.ZP.info("\u8BF7\u4E0A\u4F20\u6587\u4EF6");return}ft(!0);let nt=new FormData;nt.append("type",ue.actionTabs.type),nt.append("file",Ee);let vt;window.location.href.indexOf("exercise")>-1?vt=`/api/exercises/${ue.actionTabs.id}/supplement_score.json`:vt=`/api/homework_commons/${ue.actionTabs.id}/supplement_score.json`;let Tt=yield(0,ke.ZP)(vt,{method:"post",body:nt},!0);ft(!1),(Tt==null?void 0:Tt.status)===0&&(fe(),xe.resetFields(),me({type:"classroomList/setActionTabs",payload:{}}),((Ke=(Ge=Tt==null?void 0:Tt.data)==null?void 0:Ge.fail)==null?void 0:Ke.length)>0&&Ie.default.confirm({title:"\u5BFC\u5165\u5931\u8D25",closable:!0,icon:null,width:610,content:re.createElement(Ne.default,{pagination:!1,dataSource:(rt=Tt==null?void 0:Tt.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,ye.FH)("",et.Z.API_SERVER+`/api/courses/get_external_score_fail_data.xlsx?type=${ue.actionTabs.type}`)}}))})},re.createElement(ve.default.Item,{label:"\u4F5C\u4E1A\u540D\u79F0",labelCol:{span:3},name:"name"},ue.actionTabs.name),re.createElement(ve.default.Item,{style:{marginBottom:0},label:re.createElement("div",null,re.createElement("span",{style:{color:"#ff4d4f",marginRight:5,fontFamily:"SimSun,sans-serif"}},"*"),re.createElement("span",null,"\u5BFC\u5165\u6587\u4EF6")),labelCol:{span:3},rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u4F5C\u4E1A\u540D\u79F0"}]},re.createElement("div",null,re.createElement("a",{download:"\u6A21\u7248.xlsx",className:He.Z.downloadbutton,href:et.Z.API_SERVER+`/api/courses/down_external_score_template.json?type=${ue.actionTabs.type}`},"\u4E0B\u8F7D\u6A21\u7248\u8868\u683C"),re.createElement("span",{style:{marginLeft:10,color:"#999999"}},"\uFF08\u6839\u636E\u63D0\u793A\u4FE1\u606F\u5B8C\u5584\u8868\u683C\u5185\u5BB9\uFF09")),re.createElement(ve.default.Item,{style:{marginBottom:0}},re.createElement(oe,ee({},Be),re.createElement("a",{className:He.Z.downloadbutton,style:{width:96}},"\u9009\u62E9\u6587\u4EF6"),re.createElement("br",null),re.createElement("span",{style:{color:"#999999"}},"\u4E0B\u8F7D\u6A21\u677F\u5E76\u5B8C\u5584\u4FE1\u606F\u540E\uFF0C\u53EF\u5C06\u6587\u4EF6\u62D6\u66F3\u81F3\u6B64\u5904\u4E0A\u4F20\u3002\u652F\u6301\u683C\u5F0F\uFF1A.xls\u3001.xlsx"))))))};yt.Z=(0,ie.connect)(({classroomList:ue})=>({classroomList:ue}))(ae)},59659:function(bt,yt,te){"use strict";var z=te(59301),se=te(54580),ve=te(78241),Ie=te(99313),be=te(1710),Ne=te(58421),ie=te(76560),et=te(82093),He=te(61186),ke=te.n(He),Ze=te(59301),Me=(a,y,b)=>new Promise((E,x)=>{var ee=ae=>{try{oe(b.next(ae))}catch(ue){x(ue)}},ne=ae=>{try{oe(b.throw(ae))}catch(ue){x(ue)}},oe=ae=>ae.done?E(ae.value):Promise.resolve(ae.value).then(ee,ne);oe((b=b.apply(a,y)).next())});const{Dragger:ye}=se.default,re=({})=>{const a=(0,ie.useParams)(),[y]=ve.default.useForm(),[b,E]=(0,z.useState)(!0),[x,ee]=(0,z.useState)(!1);let[ne,oe]=(0,z.useState)({type:window.location.href.indexOf("program_homework")>-1?2:1,limit:10,page:1});const ae=[{name:"\u5168\u90E8",value:"",question_type:0},{name:"\u5355\u9009\u9898",value:"SINGLE",question_type:0},{name:"\u591A\u9009\u9898",value:"MULTIPLE",question_type:1},{name:"\u5224\u65AD\u9898",value:"JUDGMENT",question_type:2},{name:"\u586B\u7A7A\u9898",value:"COMPLETION",question_type:3},{name:"\u7B80\u7B54\u9898",value:"SUBJECTIVE",question_type:4},{name:"\u5B9E\u8BAD\u9898",value:"SHIXUN",question_type:5},{name:"\u7F16\u7A0B\u9898",value:"PROGRAM",question_type:6},{name:"\u7EC4\u5408\u9898",value:"COMBINATION",question_type:7},{name:"\u7A0B\u5E8F\u586B\u7A7A\u9898",value:"BPROGRAM",question_type:8}];function ue(){return Me(this,null,function*(){let fe;ee(!0),window.location.href.indexOf("exercise")>-1?fe=`/api/exercises/${a==null?void 0:a.categoryId}/redo_logs.json`:fe=`/api/homework_commons/${a==null?void 0:a.categoryId}/redo_logs.json`;let Pe=yield(0,et.ZP)(fe,{method:"get",params:ne});ee(!1),(Pe==null?void 0:Pe.status)===0&&E(Pe==null?void 0:Pe.data)})}(0,z.useEffect)(()=>{ue()},[]);let me=[{title:"\u59D3\u540D",dataIndex:"user_name"},{title:"\u5B66\u53F7",dataIndex:"student_id"},{title:"\u73ED\u7EA7",dataIndex:"course_group_name"},window.location.href.indexOf("exercise")>-1&&{title:"\u9898\u578B",dataIndex:"question_type",render:(fe,Pe,xe)=>{var Ee;return(Ee=ae.find(De=>De.question_type===fe))==null?void 0:Ee.name}},window.location.href.indexOf("exercise")>-1&&{title:"\u8BD5\u9898\u540D\u79F0",dataIndex:"question_name"},window.location.href.indexOf("exercise")>-1&&{title:"\u5173\u5361\u540D\u79F0",dataIndex:"challenge_name"},window.location.href.indexOf("exercise")<=-1&&{title:"\u4EFB\u52A1\u540D\u79F0",dataIndex:"task_name",width:"40%"},{title:"\u64CD\u4F5C",dataIndex:"redo_type",render:(fe,Pe,xe)=>{var Ee;return(Ee=[{id:1,name:"\u6253\u56DE\u91CD\u505A"},{id:2,name:"\u6062\u590D\u521D\u59CB\u4EE3\u7801"},{id:3,name:"\u91CD\u7F6E\u4EE3\u7801\u4ED3\u5E93"}].find(De=>De.id===fe))==null?void 0:Ee.name}},{title:"\u6062\u590D\u521D\u59CB\u4EE3\u7801\u65F6\u95F4",dataIndex:"created_at",render:(fe,Pe,xe)=>ke()(fe).format("YYYY-MM-DD HH:mm:ss")}].filter(fe=>!!fe);return Ze.createElement("div",{style:{padding:"0px 30px",background:"#fff",paddingBottom:30}},Ze.createElement(Ie.default,{destroyInactiveTabPane:!0,onChange:fe=>{ne.type=fe,ne.page=1,ne.limit=10,oe(ne),ue()},items:[window.location.href.indexOf("program_homework")<=-1&&{key:"1",label:"\u6253\u56DE\u91CD\u505A",children:Ze.createElement(be.default,{className:"mt20",loading:x,columns:[{title:"\u59D3\u540D",dataIndex:"user_name"},{title:"\u5B66\u53F7",dataIndex:"student_id"},{title:"\u73ED\u7EA7",dataIndex:"course_group_name"},{title:"\u6253\u56DE\u91CD\u505A\u65F6\u95F4",dataIndex:"created_at",render:(fe,Pe,xe)=>ke()(fe).format("YYYY-MM-DD HH:mm:ss")},{title:"\u64CD\u4F5C\u4EBA",dataIndex:"operator"}],dataSource:b==null?void 0:b.list,pagination:!1})},{key:"2",label:"\u91CD\u7F6E\u4EE3\u7801",children:Ze.createElement(be.default,{className:"mt20",loading:x,columns:me,dataSource:b==null?void 0:b.list,pagination:!1})}].filter(fe=>!!fe)}),Ze.createElement(Ne.Z,{hideOnSinglePage:!0,showSizeChanger:!1,onChange:(fe,Pe)=>{ne.page=fe,ne.limit=Pe,oe(ne),ue()},current:ne.page,total:b.count,pageSize:ne.limit,style:{marginTop:20}}))};yt.Z=(0,ie.connect)(({classroomList:a})=>({classroomList:a}))(re)},56731:function(bt,yt,te){"use strict";var z=te(59301),se=te(54580),ve=te(78241),Ie=te(43418),be=te(5871),Ne=te(76560),ie=te(82093),et=te(61186),He=te.n(et),ke=te(49661),Ze=te(59301),Me=Object.defineProperty,ye=Object.defineProperties,re=Object.getOwnPropertyDescriptors,a=Object.getOwnPropertySymbols,y=Object.prototype.hasOwnProperty,b=Object.prototype.propertyIsEnumerable,E=(ue,me,fe)=>me in ue?Me(ue,me,{enumerable:!0,configurable:!0,writable:!0,value:fe}):ue[me]=fe,x=(ue,me)=>{for(var fe in me||(me={}))y.call(me,fe)&&E(ue,fe,me[fe]);if(a)for(var fe of a(me))b.call(me,fe)&&E(ue,fe,me[fe]);return ue},ee=(ue,me)=>ye(ue,re(me)),ne=(ue,me,fe)=>new Promise((Pe,xe)=>{var Ee=ft=>{try{ze(fe.next(ft))}catch(Be){xe(Be)}},De=ft=>{try{ze(fe.throw(ft))}catch(Be){xe(Be)}},ze=ft=>ft.done?Pe(ft.value):Promise.resolve(ft.value).then(Ee,De);ze((fe=fe.apply(ue,me)).next())});const{Dragger:oe}=se.default,ae=({classroomList:ue,dispatch:me,onOk:fe})=>{const Pe=(0,Ne.useParams)(),[xe]=ve.default.useForm(),[Ee,De]=(0,z.useState)(),[ze,ft]=(0,z.useState)(!1),Be={height:100,onRemove:()=>{De("")},accept:".xls,.xlsx",multiple:!1,beforeUpload:Ue=>ne(void 0,null,function*(){return De(Ue),!1})};return(0,z.useEffect)(()=>{xe.setFieldsValue({publish_time:He()(He()(new Date).add(0,"days").format("YYYY-MM-DD HH:mm")),end_time:He()(He()(new Date((0,ke.qd)("/"))).add(7,"days").format("YYYY-MM-DD HH:mm"))})},[]),Ze.createElement(Ie.default,{centered:!0,title:"\u4FEE\u6539\u6210\u7EE9",open:ue.actionTabs.key==="\u4FEE\u6539\u6210\u7EE9",okText:"\u786E\u5B9A",width:600,cancelText:"\u53D6\u6D88",okButtonProps:{loading:ze},onOk:()=>ne(void 0,null,function*(){xe.submit()}),onCancel:()=>{xe.resetFields(),me({type:"classroomList/setActionTabs",payload:{}})}},Ze.createElement(ve.default,{form:xe,onFinish:Ue=>ne(void 0,null,function*(){var Ge,Ke;console.log("---",ue.actionTabs,Ue,Pe);let rt=((Ge=ue==null?void 0:ue.actionTabs)==null?void 0:Ge.type)==="exercise"?`/api/exercises/${Pe==null?void 0:Pe.category}/exercise_user/edit_score.json`:`/api/student_works/${ue.actionTabs.id}/edit_score.json`;ft(!0);let nt=yield(0,ie.ZP)(rt,{method:"post",body:ee(x({},Ue),{exercise_user_id:((Ke=ue==null?void 0:ue.actionTabs)==null?void 0:Ke.type)==="exercise"?ue.actionTabs.id:""})});ft(!1),xe.resetFields(),me({type:"classroomList/setActionTabs",payload:{}}),fe()})},Ze.createElement(ve.default.Item,{label:"\u6700\u7EC8\u6210\u7EE9",style:{marginBottom:0},name:"score",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u6700\u7EC8\u6210\u7EE9"}]},Ze.createElement(be.Z,{min:0,style:{width:"100%"}}))))};yt.Z=(0,Ne.connect)(({classroomList:ue})=>({classroomList:ue}))(ae)},4835:function(bt,yt,te){"use strict";var z=te(59301),se=te(54580),ve=te(78241),Ie=te(3113),be=te(95237),Ne=te(81327),ie=te(5083),et=te(76560),He=te(61186),ke=te.n(He),Ze=te(69577),Me=te(82093),ye=te(59301),re=(b,E,x)=>new Promise((ee,ne)=>{var oe=me=>{try{ue(x.next(me))}catch(fe){ne(fe)}},ae=me=>{try{ue(x.throw(me))}catch(fe){ne(fe)}},ue=me=>me.done?ee(me.value):Promise.resolve(me.value).then(oe,ae);ue((x=x.apply(b,E)).next())});const{Dragger:a}=se.default,y=({})=>{const b=(0,et.useParams)(),[E]=ve.default.useForm(),[x,ee]=(0,z.useState)(!0),[ne,oe]=(0,z.useState)(!1);console.log("----",b);function ae(){return re(this,null,function*(){var ue,me;let fe;window.location.href.indexOf("exercise")>-1?fe=`/api/exercises/${b==null?void 0:b.categoryId}/get_time_setting.json`:fe=`/api/homework_commons/${b==null?void 0:b.categoryId}/get_time_setting.json`;let Pe=yield(0,Me.ZP)(fe,{method:"get"});(Pe==null?void 0:Pe.status)===0&&E.setFieldsValue({publish_time:ke()(ke()((ue=Pe==null?void 0:Pe.data)==null?void 0:ue.publish_time).format("YYYY-MM-DD HH:mm")),end_time:ke()(ke()((me=Pe==null?void 0:Pe.data)==null?void 0:me.end_time).format("YYYY-MM-DD HH:mm"))})})}return(0,z.useEffect)(()=>{ae()},[]),ye.createElement("div",{style:{padding:"50px 30px",background:"#fff"}},ye.createElement("div",{style:{textAlign:"end"}},x&&ye.createElement(Ie.ZP,{onClick:()=>{ee(!1)}},"\u7F16\u8F91\u8BBE\u7F6E"),!x&&ye.createElement("div",null,ye.createElement(Ie.ZP,{type:"primary",loading:ne,onClick:()=>{E.submit()}},"\u63D0\u4EA4"),ye.createElement(Ie.ZP,{style:{marginLeft:20},onClick:()=>{ee(!0)}},"\u53D6\u6D88"))),ye.createElement(ve.default,{form:E,disabled:x,onFinish:ue=>re(void 0,null,function*(){oe(!0),console.log("---",window.location.href);let me;window.location.href.indexOf("exercise")>-1?me=`/api/exercises/${b==null?void 0:b.categoryId}/time_setting.json`:me=`/api/homework_commons/${b==null?void 0:b.categoryId}/time_setting.json`;let fe=yield(0,Me.ZP)(me,{method:"post",body:{publish_time:ke()(ue.publish_time).format("YYYY-MM-DD HH:mm"),end_time:ke()(ue.end_time).format("YYYY-MM-DD HH:mm")}});oe(!1),(fe==null?void 0:fe.status)===0&&ee(!0)})},ye.createElement(be.Z,null,ye.createElement(Ne.Z,null,ye.createElement(ve.default.Item,{label:"\u5F00\u59CB\u65F6\u95F4",name:"publish_time",rules:[{required:!0,message:"\u8BF7\u9009\u62E9\u5F00\u59CB\u65F6\u95F4"}]},ye.createElement(ie.default,{placeholder:"\u8BF7\u9009\u62E9\u53D1\u5E03\u65F6\u95F4",showTime:{format:"HH:mm"},style:{width:260},size:"large",disabledDate:ue=>(0,Ze.Q8)(ue),disabledTime:ue=>(0,Ze.d0)(ue),allowClear:!1,format:"YYYY-MM-DD HH:mm"})),ye.createElement("span",{style:{color:"#999999",fontSize:"14px",height:40,marginBottom:8,display:"block"}},"\uFF08\u5B66\u751F\u6536\u5230\u4F5C\u4E1A\u7684\u65F6\u95F4\uFF09"))),ye.createElement(be.Z,null,ye.createElement(Ne.Z,null,ye.createElement(ve.default.Item,{label:"\u7ED3\u675F\u65F6\u95F4",name:"end_time",rules:[{required:!0,message:"\u8BF7\u9009\u62E9\u7ED3\u675F\u65F6\u95F4"}]},ye.createElement(ie.default,{placeholder:"\u8BF7\u9009\u62E9\u53D1\u5E03\u65F6\u95F4",showTime:{format:"HH:mm"},style:{width:260},size:"large",disabledDate:ue=>(0,Ze.Q8)(ue,"",E.getFieldValue("publish_time")),disabledTime:ue=>(0,Ze.d0)(ue,E.getFieldValue("publish_time")),allowClear:!1,format:"YYYY-MM-DD HH:mm"})),ye.createElement("span",{style:{color:"#999999",fontSize:"14px",height:40,marginBottom:8,display:"block"}},"\uFF08\u5B66\u751F\u201C\u6309\u65F6\u201D\u63D0\u4EA4\u4F5C\u54C1\u7684\u65F6\u95F4\u622A\u70B9\uFF09")))))};yt.Z=(0,et.connect)(({classroomList:b})=>({classroomList:b}))(y)},62787:function(bt,yt,te){"use strict";te.d(yt,{Z:function(){return ke}});var z=te(59301),se=te(92832),ve=te(24905),Ie=te(95237),be={leftdiv:"leftdiv___aBzsX",listClass:"listClass___bxIEW",spantitle:"spantitle___v_Vc4",rightdiv:"rightdiv___xWu4M"},Ne="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAbVJREFUOE+Nk79rFUEUhb+zE4OFwUD+CyGKKQQbSaMikQQ7C1tBBIsUQaJvl2Fn/cWDpAiIYJsi7YOIaCUWFoKKRhG0sbEzEImFGnev7G6yyXsxeU5159yZb87l3hG9q2WLiBO79FIwXpLp0s6cwITnQCMWrGDM43jdBckZQ0wTMdrong2R2Bxm0/98sZ8ozdcOEm5hjOC41u9Olc9ZQKySclOVkNhljCmCzjeAJM/4FbW5p+8k5tlggTtarfKxLSM6pHq4BTiL0SboaAOIi284jeP1nti+ApMEvdoEvEPMkOpJDZi1IwzwgqDh/wSsYZwk08ca4O0Qua3zW8OV5crmHg6u22EGbQ2nIbx+1IC6rrK+cYJW9gXEVrbxGUEj5bltQGJvgBapHu0LSGwCyEh1vBsQWwd4TNCDPg6uAOcImuoFlL1dJ9WNPg5uYwwRVM3MzhJmKIpjZK6e9bj4jNNpvL4QFx9wuoDXJ1r5IlH0llTtXgcXwa4SolObnYnwKnbFcfEcdJ+gpW6AtzFynuIop/Fn053u4CA5yzjO4FV9tu0Syl2S38WiSWBgD8AfoEPQ7Fb+LwIiyhxWwe2KAAAAAElFTkSuQmCC",ie=te(57884),et=(Ze,Me,ye)=>new Promise((re,a)=>{var y=x=>{try{E(ye.next(x))}catch(ee){a(ee)}},b=x=>{try{E(ye.throw(x))}catch(ee){a(ee)}},E=x=>x.done?re(x.value):Promise.resolve(x.value).then(y,b);E((ye=ye.apply(Ze,Me)).next())}),ke=({data:Ze,value:Me=[],handleChangePage:ye,setSelectedRowKeys:re,selectedRowKeys:a,onChange:y=()=>{}})=>{const[b,E]=(0,z.useState)([]),[x,ee]=(0,z.useState)([]),[ne,oe]=(0,z.useState)([]);let[ae,ue]=(0,z.useState)(1),[me,fe]=(0,z.useState)();return(0,z.useEffect)(()=>{E(Ze),ee([]),oe([])},[Ze]),(0,z.useEffect)(()=>{re&&(ee(a),oe(a))},[a]),z.createElement("div",{style:{display:"flex",justifyContent:"space-between"}},z.createElement("div",{className:be.leftdiv},z.createElement(se.default.Search,{size:"middle",onChange:Pe=>et(void 0,null,function*(){E(Ze.filter(xe=>{var Ee;return(Ee=xe==null?void 0:xe.name)==null?void 0:Ee.includes(Pe.target.value)}))}),placeholder:"\u53EF\u8F93\u5165\u73ED\u7EA7\u540D\u79F0\u67E5\u8BE2"}),b.length===0&&z.createElement(ie.Z,{styles:{margin:"70px auto"},customText:"\u6682\u65E0\u5206\u73ED"}),z.createElement("div",{style:{height:"85%",overflow:"auto",overflowX:"hidden"}},z.createElement(ve.default.Group,{value:x.map(Pe=>`${Pe.id}`),onChange:Pe=>{re(b.filter(xe=>Pe.includes(`${xe.id}`)))},style:{marginTop:"10px",flexDirection:"column"}},b.map((Pe,xe)=>z.createElement(Ie.Z,{key:Pe.id,style:{marginTop:"10px",lineHeight:"24px",display:"flex",width:200}},z.createElement(ve.default,{style:{display:"flex",height:"24px",alignItems:"center"},disabled:Pe.is_published,value:`${Pe.id}`},z.createElement("div",{className:be.listClass},z.createElement("span",{className:be.spantitle,style:{width:Pe.is_published?"108px":"170px"}},Pe.name),Pe.is_published&&z.createElement("span",{style:{width:"52px",height:"24px",background:"#B8B8B8",borderRadius:"13px",color:"white",lineHeight:"24px",textAlign:"center",display:"inline-block"}},"\u5DF2\u53D1\u5E03")))))))),z.createElement("div",{className:be.rightdiv},z.createElement(se.default.Search,{onChange:Pe=>{oe(x.filter(xe=>xe.name.includes(Pe.target.value)))},size:"middle",placeholder:"\u53EF\u8F93\u5165\u73ED\u7EA7\u540D\u79F0\u67E5\u8BE2"}),ne.length===0&&z.createElement(ie.Z,{styles:{margin:"70px auto"},customText:"\u6682\u672A\u9009\u62E9\u5206\u73ED"}),ne.length>0&&z.createElement("div",{style:{marginTop:"10px",height:"85%",overflow:"hidden",position:"relative"}},z.createElement("div",{style:{overflowX:"hidden",overflowY:"scroll",position:"absolute",left:0,top:0,right:-17,bottom:0}},ne.map((Pe,xe)=>z.createElement(Ie.Z,{justify:"space-between",style:{marginTop:"10px"},key:Pe.id},z.createElement("div",{style:{overflow:"hidden",whiteSpace:"nowrap",textOverflow:"ellipsis",marginRight:"5px",marginLeft:"5px",width:"75%"}},Pe.name),z.createElement("img",{src:Ne,style:{cursor:"pointer",height:"16px",marginRight:17},onClick:()=>{re(x.filter(Ee=>`${Ee.id}`!=`${Pe.id}`))}})))))))}},97202:function(bt,yt,te){"use strict";te.d(yt,{Z:function(){return y}});var z=te(59301),se=te(76560),ve=te(5083),Ie=te(43418),be=te(92832),Ne=te(95237),ie=te(43604),et={title_tooltip:"title_tooltip___LLdrn",multiple_select:"multiple_select___kDXUm",modal_con:"modal_con___ERnkW"},He=te(61186),ke=te.n(He),Ze=te(49661),Me=te(57884),ye=te(59301);const{RangePicker:re}=ve.default,a=({dispatch:b,classroomList:E,onConfirm:x})=>{const[ee,ne]=(0,z.useState)([]),[oe,ae]=(0,z.useState)([]),[ue,me]=(0,z.useState)("");(0,z.useEffect)(()=>{var xe;if(E.actionTabs.key==="\u5206\u73ED\u53D1\u5E03-\u53D1\u5E03\u89C4\u5219\u62C6\u5206"){let Ee=E.actionTabs.data;console.log("data",Ee);let De=(xe=Ee==null?void 0:Ee.group_name)==null?void 0:xe.map((ze,ft)=>{var Be;return{group_id:Ee==null?void 0:Ee.group_id[ft],group_name:Ee==null?void 0:Ee.group_name[ft],is_admin:Ee==null?void 0:Ee.is_admin,end_time:Ee==null?void 0:Ee.end_time,publish_time:Array.isArray(Ee==null?void 0:Ee.publish_time)?(Be=Ee==null?void 0:Ee.publish_time)==null?void 0:Be[0]:Ee==null?void 0:Ee.publish_time}});De&&(ne([...De]),ae([...De]))}},[E.actionTabs]);const fe=()=>{b({type:"classroomList/setActionTabs",payload:{}}),me("")},Pe=xe=>{if(xe){const Ee=oe==null?void 0:oe.filter(De=>{var ze,ft;return(ft=(ze=De==null?void 0:De.group_name)==null?void 0:ze.toLowerCase())==null?void 0:ft.includes(xe==null?void 0:xe.toLowerCase())});ne(Ee)}else ne(oe)};return ye.createElement(Ie.default,{width:980,title:ye.createElement("div",{style:{fontWeight:"bold",display:"flex"}},ye.createElement("div",null,"\u5206\u73ED\u53D1\u5E03-\u53D1\u5E03\u89C4\u5219\u62C6\u5206",ye.createElement("span",{className:et.title_tooltip},"\uFF08\u5F53\u5206\u73ED\u53D1\u5E03\u65F6\u95F4\u548C\u622A\u6B62\u65F6\u95F4\u4E0D\u76F8\u540C\u65F6\u5019\uFF0C\u73ED\u7EA7\u81EA\u52A8\u62C6\u5206\u51FA\u53BB\u65B0\u8D77\u89C4\u5219\uFF09")),ye.createElement(be.default.Search,{allowClear:!0,placeholder:"\u8BF7\u8F93\u5165\u5173\u952E\u5B57\u8FDB\u884C\u641C\u7D22",style:{width:220,marginLeft:"60px"},value:ue,onChange:xe=>{me(xe.target.value.trim()),Pe(xe.target.value.trim())}})),centered:!0,maskClosable:!1,open:E.actionTabs.key==="\u5206\u73ED\u53D1\u5E03-\u53D1\u5E03\u89C4\u5219\u62C6\u5206",onCancel:()=>fe(),onOk:()=>{var xe;x((xe=E.actionTabs)==null?void 0:xe.index,oe),fe()}},ye.createElement("div",{className:et.modal_con},ye.createElement(Ne.Z,{style:{display:"flex",color:"#666666",padding:"5px",marginTop:"1px"}},(ee==null?void 0:ee.length)>0?ee.map(function(xe,Ee){var De,ze;return ye.createElement(ie.Z,{span:24,key:Ee},ye.createElement(Ne.Z,{gutter:[8,16],style:{display:"flex",alignItems:"center",marginBottom:Ee==(ee==null?void 0:ee.length)-1?"0px":"10px"}},ye.createElement("div",{className:et.multiple_select,title:xe.group_name},xe.group_name),ye.createElement("div",{className:"ml20"},ye.createElement(re,{size:"large",ranges:{\u6B64\u523B:[xe.publish_time?ke()(xe.publish_time):ke()(),ke()()]},allowClear:!1,disabled:(De=E.actionTabs)==null?void 0:De.rangePickerDisabled,style:{width:600},placeholder:["\u53D1\u5E03\u65F6\u95F4\uFF08\u5B66\u751F\u6536\u5230\u4F5C\u4E1A\u65F6\u95F4\uFF09","\u622A\u6B62\u65F6\u95F4\uFF08\u5B66\u751F\u201C\u6309\u65F6\u201D\u63D0\u4EA4\u4F5C\u54C1\u65F6\u95F4\u622A\u70B9\uFF09"],disabledDate:ft=>{var Be;return(0,Ze.Q8)(ft,(Be=E.actionTabs)==null?void 0:Be.disabledDate)},disabledTime:ft=>(0,Ze.d0)(ft),showTime:{showNow:!0,format:"HH:mm",defaultValue:[ke()((0,Ze.U6)(),"HH:mm"),ke()((0,Ze.U6)(),"HH:mm")]},format:"YYYY-MM-DD HH:mm",value:xe.publish_time&&[ke()(xe.publish_time),xe.end_time?ke()(xe.end_time):void 0],onChange:(ft,Be)=>{ee[Ee].publish_time=Be[0],ee[Ee].end_time=Be[1],ne([...ee]),oe.forEach(Ue=>{Ue.group_id===xe.group_id&&(Ue.publish_time=Be[0],Ue.end_time=Be[1])}),ae([...oe])}})),(ze=E.actionTabs)!=null&&ze.rangePickerDisabled?ye.createElement("i",{className:"iconfont icon-shanjian1 ml15",style:{color:"#E30000",opacity:"0.2",cursor:"not-allowed"}}):ye.createElement("i",{className:"iconfont icon-shanjian1 ml15",style:{cursor:"pointer",color:"#E30000"},onClick:()=>{ee.splice(Ee,1),ne([...ee]),oe.forEach((ft,Be)=>{ft.group_id===xe.group_id&&oe.splice(Be,1)}),ae([...oe])}})))}):ye.createElement(Me.Z,null))))};var y=(0,se.connect)(({classroomList:b})=>({classroomList:b}))(a)},30975:function(bt,yt,te){"use strict";te.d(yt,{AD:function(){return ft},D9:function(){return nt},Hp:function(){return ae},IM:function(){return Tt},Iy:function(){return ue},KM:function(){return jn},KU:function(){return Lt},MJ:function(){return me},Ne:function(){return vt},ON:function(){return St},Uj:function(){return Xt},VY:function(){return st},YO:function(){return Fe},YX:function(){return dn},Zn:function(){return a},_g:function(){return ee},_k:function(){return Ke},c6:function(){return De},cr:function(){return y},eV:function(){return ze},fi:function(){return b},gh:function(){return xe},hS:function(){return Yt},iA:function(){return E},j6:function(){return ne},je:function(){return Ge},jj:function(){return oe},kS:function(){return It},o6:function(){return Ee},pO:function(){return Kt},rQ:function(){return Be},sA:function(){return Pe},xm:function(){return rt},xo:function(){return Xe},y8:function(){return Ue},yd:function(){return x}});var z=te(64948),se=te(76560),ve=te(49661),Ie=te(8591),be=te(90524),Ne=Object.defineProperty,ie=Object.getOwnPropertySymbols,et=Object.prototype.hasOwnProperty,He=Object.prototype.propertyIsEnumerable,ke=(Pt,qe,lt)=>qe in Pt?Ne(Pt,qe,{enumerable:!0,configurable:!0,writable:!0,value:lt}):Pt[qe]=lt,Ze=(Pt,qe)=>{for(var lt in qe||(qe={}))et.call(qe,lt)&&ke(Pt,lt,qe[lt]);if(ie)for(var lt of ie(qe))He.call(qe,lt)&&ke(Pt,lt,qe[lt]);return Pt},Me=(Pt,qe,lt)=>new Promise((it,Oe)=>{var pt=he=>{try{Le(lt.next(he))}catch(je){Oe(je)}},gt=he=>{try{Le(lt.throw(he))}catch(je){Oe(je)}},Le=he=>he.done?it(he.value):Promise.resolve(he.value).then(pt,gt);Le((lt=lt.apply(Pt,qe)).next())});const ye=()=>{(0,se.getDvaApp)()._store.dispatch({type:"globalSetting/setGlobalLoading",payload:{show:!0,text:"\u6B63\u5728\u751F\u6210\u6587\u4EF6\uFF0C\u8BF7\u7A0D\u540E..."}})},re=()=>{(0,se.getDvaApp)()._store.dispatch({type:"globalSetting/setGlobalLoading",payload:{show:!1,text:""}})},a=Pt=>Me(void 0,null,function*(){ye(),(yield(0,z.YR)(Ze({},Pt))).status===0&&(yield(0,ve.QH)("",(0,ve.NY)({url:be.Z.API_SERVER+`/api/courses/${Pt.coursesId}/export_couser_info.json`,query:Pt}))),re()}),y=Pt=>Me(void 0,null,function*(){const qe=yield(0,z.yS)(Ze({},Pt));if(qe.status===0)Ie.ZP.info("\u5BFC\u51FA\u4EFB\u52A1\u751F\u6210\u6210\u529F"),se.history.push(`/classrooms/${Pt.coursesId}/exportlist/course_member_act_score`);else{if(qe.status===-2)return qe;qe.status===-3&&((0,se.getDvaApp)()._store.dispatch({type:"classroomList/setActionTabs",payload:{key:"\u5BFC\u51FA\u63D0\u9192"}}),se.history.push(`/classrooms/${Pt.coursesId}/exportlist/course_member_act_score`))}}),b=Pt=>Me(void 0,null,function*(){const qe=yield(0,z.W0)(Ze({},Pt));if(qe.status===0)Ie.ZP.info("\u5BFC\u51FA\u4EFB\u52A1\u751F\u6210\u6210\u529F"),se.history.push(`/classrooms/${Pt.coursesId}/exportlist/course_total_score`);else{if(qe.status===-4)return qe;qe.status===-3&&((0,se.getDvaApp)()._store.dispatch({type:"classroomList/setActionTabs",payload:{key:"\u5BFC\u51FA\u63D0\u9192"}}),se.history.push(`/classrooms/${Pt.coursesId}/exportlist/course_total_score`))}}),E=Pt=>Me(void 0,null,function*(){const qe=yield(0,z.Nl)(Ze({},Pt));if(qe.status===0)Ie.ZP.info("\u5BFC\u51FA\u4EFB\u52A1\u751F\u6210\u6210\u529F"),se.history.push(`/classrooms/${Pt.coursesId}/exportlist/course_total_exercise_and_other`);else{if(qe.status===-4)return qe;qe.status===-3&&((0,se.getDvaApp)()._store.dispatch({type:"classroomList/setActionTabs",payload:{key:"\u5BFC\u51FA\u63D0\u9192"}}),se.history.push(`/classrooms/${Pt.coursesId}/exportlist/course_total_exercise_and_other`))}}),x=Pt=>Me(void 0,null,function*(){const qe=yield(0,z.IU)(Ze({},Pt));if(qe.status===0)Ie.ZP.info("\u5BFC\u51FA\u4EFB\u52A1\u751F\u6210\u6210\u529F"),se.history.push(`/classrooms/${Pt.coursesId}/exportlist/export_star_user`);else{if(qe.status===-4)return qe;qe.status===-3&&((0,se.getDvaApp)()._store.dispatch({type:"classroomList/setActionTabs",payload:{key:"\u5BFC\u51FA\u63D0\u9192"}}),se.history.push(`/classrooms/${Pt.coursesId}/exportlist/export_star_user`))}}),ee=Pt=>Me(void 0,null,function*(){const qe=yield(0,z.td)(Ze({},Pt));if(qe.status===0)Ie.ZP.info("\u5BFC\u51FA\u4EFB\u52A1\u751F\u6210\u6210\u529F"),se.history.push(`/classrooms/${Pt.coursesId}/exportlist/course_total_exercise_and_other`);else{if(qe.status===-2)return qe;if(qe.status===-3)(0,se.getDvaApp)()._store.dispatch({type:"classroomList/setActionTabs",payload:{key:"\u5BFC\u51FA\u63D0\u9192"}}),se.history.push(`/classrooms/${Pt.coursesId}/exportlist/course_total_exercise_and_other`);else if(qe.status===-4)return qe}}),ne=Pt=>Me(void 0,null,function*(){const qe=yield(0,z.QX)(Ze({},Pt));if(qe.status===0)Ie.ZP.info("\u5BFC\u51FA\u4EFB\u52A1\u751F\u6210\u6210\u529F"),se.history.push(`/classrooms/${Pt.coursesId}/exportlist/course_total_homework`);else{if(qe.status===-4)return qe;qe.status===-3&&((0,se.getDvaApp)()._store.dispatch({type:"classroomList/setActionTabs",payload:{key:"\u5BFC\u51FA\u63D0\u9192"}}),se.history.push(`/classrooms/${Pt.coursesId}/exportlist/course_total_homework`))}}),oe=(Pt,qe)=>Me(void 0,null,function*(){const lt=yield(0,z.o_)(Ze({},Pt));lt.status===0?(Ie.ZP.info("\u5BFC\u51FA\u4EFB\u52A1\u751F\u6210\u6210\u529F\uFF01\u5BFC\u51FA\u540E\u6587\u4EF6\u4FDD\u5B58\u65F6\u95F4\u4E3A7\u5929\uFF0C\u8BF7\u53CA\u65F6\u4E0B\u8F7D"),se.history.push(`/classrooms/${Pt.coursesId}/exportlist/${qe}`)):lt.status===-3&&((0,se.getDvaApp)()._store.dispatch({type:"classroomList/setActionTabs",payload:{key:"\u5BFC\u51FA\u63D0\u9192"}}),se.history.push(`/classrooms/${Pt.coursesId}/exportlist/${qe}`))}),ae=(Pt,qe)=>Me(void 0,null,function*(){const lt=yield(0,z.ZL)(Ze({},Pt));lt.status===0?(Ie.ZP.info("\u5BFC\u51FA\u4EFB\u52A1\u751F\u6210\u6210\u529F\uFF01\u5BFC\u51FA\u540E\u6587\u4EF6\u4FDD\u5B58\u65F6\u95F4\u4E3A7\u5929\uFF0C\u8BF7\u53CA\u65F6\u4E0B\u8F7D"),se.history.push(`/classrooms/${Pt.coursesId}/exportlist/${qe}`)):lt.status===-3&&((0,se.getDvaApp)()._store.dispatch({type:"classroomList/setActionTabs",payload:{key:"\u5BFC\u51FA\u63D0\u9192"}}),se.history.push(`/classrooms/${Pt.coursesId}/exportlist/${qe}`))}),ue=(Pt,qe)=>Me(void 0,null,function*(){const lt=yield(0,z.aP)(Ze({},Pt));lt.status===0?(Ie.ZP.info("\u5BFC\u51FA\u4EFB\u52A1\u751F\u6210\u6210\u529F"),se.history.push(`/classrooms/${Pt.coursesId}/exportlist/${qe}`)):lt.status===-3&&((0,se.getDvaApp)()._store.dispatch({type:"classroomList/setActionTabs",payload:{key:"\u5BFC\u51FA\u63D0\u9192"}}),se.history.push(`/classrooms/${Pt.coursesId}/exportlist/${qe}`))}),me=(Pt,qe)=>Me(void 0,null,function*(){const lt=yield(0,z.vV)(Ze({},Pt));lt.status===0?(Ie.ZP.info("\u5BFC\u51FA\u4EFB\u52A1\u751F\u6210\u6210\u529F\uFF01\u5BFC\u51FA\u540E\u6587\u4EF6\u4FDD\u5B58\u65F6\u95F4\u4E3A7\u5929\uFF0C\u8BF7\u53CA\u65F6\u4E0B\u8F7D"),se.history.push(`/classrooms/${Pt.coursesId}/exportlist/${qe}`)):lt.status===-3&&((0,se.getDvaApp)()._store.dispatch({type:"classroomList/setActionTabs",payload:{key:"\u5BFC\u51FA\u63D0\u9192"}}),se.history.push(`/classrooms/${Pt.coursesId}/exportlist/${qe}`))}),fe=Pt=>Me(void 0,null,function*(){ye(),(yield exportCourseWorkListAppendix(Ze({},Pt))).status===0&&(yield downLoadFileIframe("",setUrlQuery({url:ENV.API_SERVER+`/api/homework_commons/${Pt.categoryId}/works_list.zip`,query:Pt}))),re()}),Pe=Pt=>Me(void 0,null,function*(){ye(),yield(0,ve.QH)("",be.Z.API_SERVER+`/api/polls/${Pt.categoryId}/commit_result.xlsx`),re()}),xe=Pt=>Me(void 0,null,function*(){yield(0,ve.FH)("",(0,ve.NY)({url:be.Z.API_SERVER+`/api/courses/${Pt.coursesId}/attendances/export_xlsx_data.xlsx`,query:Pt}))}),Ee=Pt=>Me(void 0,null,function*(){yield(0,ve.FH)("",(0,ve.NY)({url:be.Z.API_SERVER+`/api/courses/${Pt.coursesId}/video_study_statics.xlsx`,query:Pt}))}),De=Pt=>Me(void 0,null,function*(){yield(0,ve.FH)("",(0,ve.NY)({url:be.Z.API_SERVER+`/api/courses/${Pt.coursesId}/export_video_study.xlsx`,query:Pt}))}),ze=Pt=>Me(void 0,null,function*(){yield(0,ve.FH)("",(0,ve.NY)({url:be.Z.API_SERVER+`/api/courses/${Pt.coursesId}/export_course_students_info.xlsx`,query:Pt}))}),ft=Pt=>Me(void 0,null,function*(){yield(0,ve.FH)("",(0,ve.NY)({url:be.Z.API_SERVER+"/api/school_manages/students.xlsx",query:Pt}))}),Be=Pt=>Me(void 0,null,function*(){yield(0,ve.FH)("",(0,ve.NY)({url:be.Z.API_SERVER+"/api/item_banks/export.xlsx",query:Pt}))}),Ue=Pt=>Me(void 0,null,function*(){yield(0,ve.FH)("",(0,ve.NY)({url:be.Z.API_SERVER+"/api/competitions/region_reports.xlsx",query:Pt}))}),Ge=Pt=>Me(void 0,null,function*(){const qe=yield(0,z.Uy)(Ze({},Pt));qe.status===0?(Ie.ZP.info("\u5BFC\u51FA\u4EFB\u52A1\u751F\u6210\u6210\u529F"),se.history.push(`/classrooms/${Pt.coursesId}/exportlist/exercise_score,export_exercise_users`)):qe.status===-3&&((0,se.getDvaApp)()._store.dispatch({type:"classroomList/setActionTabs",payload:{key:"\u5BFC\u51FA\u63D0\u9192"}}),se.history.push(`/classrooms/${Pt.coursesId}/exportlist/exercise_score,export_exercise_users`))}),Ke=Pt=>Me(void 0,null,function*(){console.log("----------","\u8C03\u7528\u4E0B\u8F7D"),yield(0,ve.FH)("",(0,ve.NY)({url:be.Z.API_SERVER+`/api/export_records/${Pt.id}.xlsx`,query:Pt}))}),rt=Pt=>Me(void 0,null,function*(){yield(0,ve.FH)("",(0,ve.NY)({url:be.Z.API_SERVER+"/api/ec_major_schools/0/ec_years.xlsx",query:Pt}))}),nt=Pt=>Me(void 0,null,function*(){yield(0,ve.FH)("",(0,ve.NY)({url:be.Z.API_SERVER+`/api/courses/${Pt==null?void 0:Pt.coursesId}/${Pt.menuKey}_statistic.xlsx?${Pt.checkedList.map(qe=>`course_group_id[]=${qe}`).join("&")}`,query:Pt}))}),vt=Pt=>Me(void 0,null,function*(){yield(0,ve.FH)("",(0,ve.NY)({url:be.Z.API_SERVER+`/api/ec_years/${Pt==null?void 0:Pt.ec_year_id}/ec_training_objectives.xlsx`,query:Pt}))}),Tt=Pt=>Me(void 0,null,function*(){yield(0,ve.FH)(Pt==null?void 0:Pt.name,(0,ve.NY)({url:be.Z.API_SERVER+"/api/attachments/get_ecs_attachment.docx",query:Pt}))}),Yt=Pt=>Me(void 0,null,function*(){yield(0,ve.FH)("",(0,ve.NY)({url:be.Z.API_SERVER+`/api/ec_years/${Pt==null?void 0:Pt.ec_year_id}/ec_courses.xlsx`,query:Pt}))}),Xe=Pt=>Me(void 0,null,function*(){yield(0,ve.FH)("",(0,ve.NY)({url:be.Z.API_SERVER+`/api/ec_years/${Pt==null?void 0:Pt.ec_year_id}/ec_graduation_requirements.xlsx`,query:Pt}))}),st=Pt=>Me(void 0,null,function*(){yield(0,ve.FH)("",(0,ve.NY)({url:be.Z.API_SERVER+"/api/courses/rank_list.xlsx",query:Pt}))}),Lt=Pt=>Me(void 0,null,function*(){yield(0,ve.FH)("",(0,ve.NY)({url:be.Z.API_SERVER+`/api/exercises/${Pt.categoryId}/rank_list.xlsx`,query:Pt}))}),It=Pt=>Me(void 0,null,function*(){yield(0,ve.FH)("",(0,ve.NY)({url:be.Z.API_SERVER+"/api/courses/question_rank_list.xlsx",query:Pt}))}),St=Pt=>Me(void 0,null,function*(){yield(0,ve.FH)("",(0,ve.NY)({url:be.Z.API_SERVER+`/api/examination_banks/${Pt.id}.json`,query:Pt}))}),dn=Pt=>Me(void 0,null,function*(){yield(0,ve.FH)("",(0,ve.NY)({url:be.Z.API_SERVER+`/api/exercises/${Pt.categoryId}.json`,query:Pt}))}),Fe=Pt=>Me(void 0,null,function*(){yield(0,ve.FH)("",(0,ve.NY)({url:be.Z.API_SERVER+`/api/polls/${Pt==null?void 0:Pt.id}/commit_result.json`,query:Pt}))}),Xt=Pt=>Me(void 0,null,function*(){yield(0,ve.FH)("",(0,ve.NY)({url:be.Z.API_SERVER+"/api/paths/get_task_pass.json",query:Pt}))}),Kt=(Pt,qe)=>Me(void 0,null,function*(){yield(0,ve.FH)(qe||"",(0,ve.NY)({url:be.Z.API_SERVER+`/api/exercises/${Pt==null?void 0:Pt.exercise_id}/consult_exercise.json`,query:Pt}))}),jn=Pt=>Me(void 0,null,function*(){yield(0,ve.FH)("",(0,ve.NY)({url:be.Z.API_SERVER+`/api/competitions/${Pt==null?void 0:Pt.identifier}/competition_commit_records/member_works.xlsx`,query:Pt}))})},2610:function(bt,yt,te){"use strict";te.d(yt,{BU:function(){return se},Dj:function(){return z},gH:function(){return ve},vp:function(){return Ie}});function z(be){try{be.mozRequestFullScreen?be.mozRequestFullScreen():be.webkitRequestFullScreen&&be.webkitRequestFullScreen()}catch(Ne){console.log(Ne,":e")}}function se(){window.top.document.webkitExitFullscreen?window.top.document.webkitExitFullscreen():document.exitFullscreen?window.top.document.exitFullscreen():document.msExitFullscreen?window.top.document.msExitFullscreen():document.mozCancelFullScreen&&window.top.document.mozCancelFullScreen()}const ve=()=>{if(document.webkitExitFullscreen)return"webkitfullscreenchange";if(document.exitFullscreen)return"fullscreenchange";if(document.msExitFullscreen)return"msfullscreenchange";if(document.mozCancelFullScreen)return"mozfullscreenchange"};function Ie(){var be=window.top.document.fullscreenElement||window.top.document.mozFullscreenElement||window.top.document.webkitFullscreenElement,Ne=document.fullscreenEnabled||document.mozFullscreenEnabled||document.webkitFullscreenEnabled;return console.log("fullscreenElement",be),window.isFullScreen?window.isFullScreen:be!=null}},23869:function(bt,yt,te){"use strict";te.d(yt,{rX:function(){return ne},pW:function(){return oe},gy:function(){return ae},xY:function(){return ee},O5:function(){return x},tJ:function(){return re},o1:function(){return a},Rd:function(){return E}});var z=te(76560),se=te(43418),ve=te(28103),Ie=te(8591),be=te(34055),Ne=te(49661),ie=te(87169),et=te(25510),He="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAALQAAAC0CAYAAAA9zQYyAAAAAXNSR0IArs4c6QAAQABJREFUeAHsvQuQp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ukjEqYazBu7NvmdiTIbdbLBzSIezzHnFva310//r4zv1XfmF+8I+vP3/ey4FOAlfrvHKFvlr2emq9BC4ngU5fcjnEHrqXwCxKoFfoWSyVnqepJdAr9NSi6xFnUQK9Qs9iqfQ8TS2BXqGnFl2POIsS6BV6Fkul52lqCfQKPbXoesRZlECv0LNYKj1PU0ugV+ipRdcjzqIEeoWexVLpeZpaAr1CTy26HnEWJdAr9CyWSs/T1BLoFXpq0fWIsyiBXqFnsVR6nqaWQK/QU4uuR5xFCfQKPYul0vM0tQR6hZ5adD3iLEqgV+hZLJWep6kl0Cv01KLrEWdRAr1Cz2Kp9DxNLYFeoacWXY84ixLoFXoWS6XnaWoJ9Ao9teh6xFmUwP8BvOeeqRbgzD0AAAAASUVORK5CYII=",ke=te.p+"static/newqrcode.a8740efb.png",Ze=te(32637),Me=te(59301),ye=(ue,me,fe)=>new Promise((Pe,xe)=>{var Ee=ft=>{try{ze(fe.next(ft))}catch(Be){xe(Be)}},De=ft=>{try{ze(fe.throw(ft))}catch(Be){xe(Be)}},ze=ft=>ft.done?Pe(ft.value):Promise.resolve(ft.value).then(Ee,De);ze((fe=fe.apply(ue,me)).next())});const re=(ue,me=!1)=>!!(a(ue)&&y(me)),a=ue=>(0,be.bg)()?!0:(ue({type:"user/showPopLogin",payload:{showPopLogin:!0,showClosable:!0}}),!1),y=(ue=!1)=>{var me;const{user:fe}=(0,z.getDvaApp)()._store.getState();return(me=fe.userInfo)!=null&&me.profile_completed?!0:(se.default.confirm({title:"\u63D0\u793A",width:530,centered:!0,content:"\u60A8\u9700\u8981\u53BB\u5B8C\u5584\u60A8\u7684\u4E2A\u4EBA\u8D44\u6599\uFF0C\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD",okText:"\u7ACB\u5373\u5B8C\u5584",cancelText:"\u7A0D\u540E\u5B8C\u5584",onOk:()=>{(0,Ne.xg)("/account/profile/edit"),b()}}),!1)},b=()=>{se.default.success({title:"\u63D0\u793A",width:430,closable:!0,centered:!0,content:"\u5DF2\u5B8C\u5584\u4E2A\u4EBA\u8D44\u6599\uFF1F\u8BF7\u5237\u65B0\u9875\u9762",okText:"\u7ACB\u5373\u5237\u65B0",icon:null,onOk:()=>{location.reload()}})},E=()=>{se.default.warning({title:"\u63D0\u793A",icon:null,width:400,content:Me.createElement("div",{style:{textAlign:"center"}},Me.createElement("div",{style:{color:"#191919",fontSize:14,marginBottom:15,textAlign:"left"}},"\u8001\u5E08\u60A8\u597D\uFF0C\u60A8\u7684\u8BFE\u5802\u8BD5\u7528\u671F\u5DF2\u7ED3\u675F\uFF0C\u76F8\u5173\u529F\u80FD\u88AB\u9650\u5236\u3002 \u5982\u9700\u7EE7\u7EED\u4F7F\u7528\uFF0C\u8BF7\u5C3D\u5FEB\u5BF9\u63A5\u4EBA\u5DE5\u652F\u6301\uFF01"),Me.createElement("img",{style:{border:"1px solid #D8E3E9",width:190,height:180},src:Ze}),Me.createElement("div",{style:{color:"#666666",fontSize:14,marginTop:15}},"\u6DFB\u52A0\u5BA2\u670D\u4EBA\u5458\u5FAE\u4FE1\uFF0C\u83B7\u5F97\u66F4\u591A\u652F\u6301"))})},x=()=>{var ue;const{user:me}=(0,z.getDvaApp)()._store.getState();return(ue=me.userInfo)!=null&&ue.professional_certification?!0:(se.default.confirm({title:"\u63D0\u793A",centered:!0,content:Me.createElement("div",{className:"tc"},"\u60A8\u9700\u8981\u53BB\u5B8C\u6210\u60A8\u7684\u804C\u4E1A\u8BA4\u8BC1\uFF0C\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD"),okText:"\u7ACB\u5373\u5B8C\u5584",cancelText:"\u7A0D\u540E\u5B8C\u5584",onOk:()=>{(0,Ne.xg)("/account/certification")}}),!1)},ee=()=>(0,be.V9)()?!0:(se.default.warning({centered:!0,width:530,title:"\u63D0\u793A",content:Me.createElement("div",{className:"tc",style:{marginLeft:-38}},Me.createElement("p",null,"\u626B\u7801\u52A0\u52A9\u6559\uFF0C\u7533\u8BF7\u64CD\u4F5C\u6743\u9650"),Me.createElement("img",{src:ke,width:200})),okText:"\u6211\u77E5\u9053\u4E86",maskClosable:!0}),!1),ne=(ue,me)=>ue?!0:(se.default.confirm({centered:!0,zIndex:1e4,width:530,title:"\u63D0\u793A",content:Me.createElement("div",null,Me.createElement("p",null,me||"\u8BE5\u5B9E\u8DF5\u8D44\u6E90\u9700\u6388\u6743\u540E\u624D\u53EF\u4F7F\u7528\u3002 \u60A8\u53EF\u4EE5\u5728QQ\u670D\u52A1\u7FA4\u5411\u7BA1\u7406\u5458\u7533\u8BF7\uFF0C\u83B7\u5F97\u7EE7\u7EED\u64CD\u4F5C\u7684\u6743\u9650\u3002"),Me.createElement("div",{style:{marginLeft:"110px"}},Me.createElement("img",{src:He,width:200}),Me.createElement("div",{style:{marginLeft:"35px"}},"\u7FA4\u53F7\uFF1A","714336072"))),okText:"\u7ACB\u5373\u8054\u7CFB",cancelText:"\u53D6\u6D88",onOk:()=>{(0,Ne.xg)("https://qm.qq.com/cgi-bin/qm/qr?k=tIyDPXUtE0yEk-MOJxhH55lTUJS-nYAM&jump_from=webapi")}}),!1),oe=ue=>{se.default.info({title:"\u8054\u7CFB\u5E73\u53F0\u8FD0\u8425",icon:null,width:615,centered:!0,content:Me.createElement("div",null,Me.createElement("div",null,Me.createElement("p",{style:{color:"#191919",fontWeight:400,fontSize:14}},"\u201C\u4FDD\u5B58\u5B9E\u9A8C\u4E34\u65F6\u6570\u636E\u201D\u529F\u80FD\u4E3A\u4ED8\u8D39\u529F\u80FD\uFF0C\u8BF7\u8054\u7CFB\u5E73\u53F0\u8FD0\u8425\u8FDB\u884C\u5F00\u901A\u3002"),Me.createElement(ve.Z,null),Me.createElement("p",{style:{color:"#666666",fontSize:12}}," ",Me.createElement("span",{style:{display:"inline-flex",width:14,height:14,borderRadius:2,background:"#F3F3F3",justifyContent:"center",color:"#666666",fontSize:12,lineHeight:"14px",marginRight:8}},"1")," \u56E0\u5E73\u53F0\u7684\u5B9E\u9A8C\u6570\u636E\u50A8\u5B58\u5BB9\u91CF\u548C\u6210\u672C\u6D88\u8017\u8F83\u5927\uFF0C\u5B9E\u8DF5\u9879\u76EE\u9ED8\u8BA4\u4FDD\u5B58\u5B9E\u9A8C\u73AF\u5883\u4E2D\u4E34\u65F6\u6570\u636E ",Me.createElement("a",null,ue),"\u5929\u3002"),Me.createElement("p",{style:{color:"#666666",fontSize:12}}," ",Me.createElement("span",{style:{display:"inline-flex",width:14,height:14,borderRadius:2,background:"#F3F3F3",justifyContent:"center",color:"#666666",fontSize:12,lineHeight:"14px",marginRight:8}},"2"),"\u82E5\u60A8\u9700\u8981\u4E2A\u6027\u5316\u7684\u6570\u636E\u4FDD\u5B58\u5468\u671F\u670D\u52A1\uFF0C\u6211\u4EEC\u53EF\u4EE5\u63D0\u4F9B\u76F8\u5173\u6280\u672F\u652F\u6301\uFF0C\u5E76\u6839\u636E\u60A8\u7684\u9700\u6C42\u6536\u53D6\u5B9A\u5236\u8D39\u7528\u3002")),Me.createElement("div",{style:{textAlign:"center",marginTop:30}},Me.createElement("img",{style:{border:"4px solid #0152d9",borderRadius:"4px"},src:et,alt:"\u4E8C\u7EF4\u7801",width:160})))})},ae=(ue,me="")=>{const{shixunsDetail:{detail:fe}}=(0,z.getDvaApp)()._store.getState();if((fe==null?void 0:fe.public)===2||(fe==null?void 0:fe.public)===1||(fe==null?void 0:fe.shixun_status)===3){let Pe="";return(fe==null?void 0:fe.public)===2&&(Pe="\u5DF2\u516C\u5F00"),(fe==null?void 0:fe.public)===1&&(Pe="\u5F85\u5BA1\u6838"),(fe==null?void 0:fe.shixun_status)===3&&(Pe="\u5DF2\u5173\u95ED"),se.default.info({centered:!0,icon:Me.createElement(ie.Z,{style:{color:"#faad14"}}),width:460,title:"\u63D0\u793A",content:Me.createElement("div",{className:"tc",style:{marginLeft:-38}},Me.createElement("div",{style:{display:"flex",flexDirection:"column",alignItems:"flex-start",paddingLeft:38,margin:"12px 0"}},Me.createElement("span",null,"\u8BE5\u5B9E\u8DF5\u9879\u76EE\u7684\u72B6\u6001\u4E3A",Pe,"\uFF0C",me,"\u3002"),Me.createElement("p",null,"\u5982\u6709\u9700\u8981\uFF0C\u8BF7\u8054\u7CFB\u5E73\u53F0\u7BA1\u7406\u5458\u8FDB\u884C\u6280\u672F\u652F\u6301\u3002")),Me.createElement("img",{style:{border:"4px solid #0152d9",borderRadius:"4px"},src:et,alt:"\u4E8C\u7EF4\u7801",width:160})),okText:"\u6211\u77E5\u9053\u4E86"}),!0}return(fe==null?void 0:fe.shixun_status)===2?(se.default.confirm({centered:!0,icon:Me.createElement(ie.Z,null),title:"\u63D0\u793A",content:Me.createElement("div",null,Me.createElement("span",null,"\u8BE5\u5B9E\u8DF5\u9879\u76EE\u5DF2\u53D1\u5E03\uFF0C",me,"\u3002"),Me.createElement("br",null),Me.createElement("span",null,"\u5982\u6709\u9700\u8981\uFF0C\u60A8\u53EF\u4EE5\u64A4\u9500\u53D1\u5E03\u540E\uFF0C\u518D\u8FDB\u884C\u64CD\u4F5C\u3002")),okText:"\u64A4\u9500\u53D1\u5E03",cancelText:"\u53D6\u6D88",onOk:()=>{se.default.confirm({width:440,centered:!0,icon:Me.createElement(ie.Z,{style:{color:"#faad14"}}),title:"\u63D0\u793A",content:"\u64A4\u9500\u53D1\u5E03\u540E\uFF0C\u5B66\u5458\u5C06\u65E0\u6CD5\u8FDB\u884C\u7EC3\u4E60\u3002\u662F\u5426\u786E\u8BA4\u64A4\u9500\u53D1\u5E03\uFF1F",okText:"\u786E\u5B9A\u64A4\u9500\u53D1\u5E03",cancelText:"\u53D6\u6D88",onOk:()=>ye(void 0,null,function*(){(yield ue({type:"shixunsDetail/cancelRelease",payload:{id:fe==null?void 0:fe.identifier}})).status!==401&&(Ie.ZP.success("\u64A4\u9500\u53D1\u5E03\u6210\u529F\u3002\u5B9E\u8BAD\u56DE\u5230\u672A\u53D1\u5E03\u7684\u72B6\u6001\u3002"),ue({type:"shixunsDetail/getShixunsDetail",payload:{id:fe==null?void 0:fe.identifier}}),ue({type:"practiceSetting/getCommonData",payload:{id:fe==null?void 0:fe.identifier}}))})})}}),!0):!1}},50371:function(bt,yt){"use strict";function te(){const z=Object.assign({},arguments.length<=0?void 0:arguments[0]);for(let se=1;se<arguments.length;se++){const ve=se<0||arguments.length<=se?void 0:arguments[se];ve&&Object.keys(ve).forEach(Ie=>{const be=ve[Ie];be!==void 0&&(z[Ie]=be)})}return z}yt.Z=te},13845:function(bt,yt,te){"use strict";te.d(yt,{F:function(){return z},Z:function(){return se}});function z(ve){return ve!=null&&ve===ve.window}function se(ve,Ie){var be,Ne;if(typeof window=="undefined")return 0;const ie=Ie?"scrollTop":"scrollLeft";let et=0;return z(ve)?et=ve[Ie?"pageYOffset":"pageXOffset"]:ve instanceof Document?et=ve.documentElement[ie]:(ve instanceof HTMLElement||ve)&&(et=ve[ie]),ve&&!z(ve)&&typeof et!="number"&&(et=(Ne=((be=ve.ownerDocument)!==null&&be!==void 0?be:ve).documentElement)===null||Ne===void 0?void 0:Ne[ie]),et}},56762:function(bt,yt,te){"use strict";te.d(yt,{Z:function(){return se}});var z=te(59301);function se(){const[,ve]=z.useReducer(Ie=>Ie+1,0);return ve}},68031:function(bt,yt,te){"use strict";te.d(yt,{Z:function(){return Ie}});var z=te(16089);function se(be,Ne,ie,et){const He=ie-Ne;return be/=et/2,be<1?He/2*be*be*be+Ne:He/2*((be-=2)*be*be+2)+Ne}var ve=te(13845);function Ie(be){let Ne=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const{getContainer:ie=()=>window,callback:et,duration:He=450}=Ne,ke=ie(),Ze=(0,ve.Z)(ke,!0),Me=Date.now(),ye=()=>{const a=Date.now()-Me,y=se(a>He?He:a,Ze,be,He);(0,ve.F)(ke)?ke.scrollTo(window.pageXOffset,y):ke instanceof Document||ke.constructor.name==="HTMLDocument"?ke.documentElement.scrollTop=y:ke.scrollTop=y,a<He?(0,z.Z)(ye):typeof et=="function"&&et()};(0,z.Z)(ye)}},66104:function(bt,yt,te){"use strict";te.d(yt,{Z:function(){return ft}});var z=te(92310),se=te.n(z),ve=te(11592),Ie=te(26112),be=te(59301),Ne=te(92343),ie=te(36355),et=te(84105),He=te(91857);const ke=Be=>{let{children:Ue}=Be;const{getPrefixCls:Ge}=be.useContext(ie.E_),Ke=Ge("breadcrumb");return be.createElement("li",{className:`${Ke}-separator`,"aria-hidden":"true"},Ue===""?Ue:Ue||"/")};ke.__ANT_BREADCRUMB_SEPARATOR=!0;var Ze=ke,Me=function(Be,Ue){var Ge={};for(var Ke in Be)Object.prototype.hasOwnProperty.call(Be,Ke)&&Ue.indexOf(Ke)<0&&(Ge[Ke]=Be[Ke]);if(Be!=null&&typeof Object.getOwnPropertySymbols=="function")for(var rt=0,Ke=Object.getOwnPropertySymbols(Be);rt<Ke.length;rt++)Ue.indexOf(Ke[rt])<0&&Object.prototype.propertyIsEnumerable.call(Be,Ke[rt])&&(Ge[Ke[rt]]=Be[Ke[rt]]);return Ge};function ye(Be,Ue){if(Be.title===void 0||Be.title===null)return null;const Ge=Object.keys(Ue).join("|");return typeof Be.title=="object"?Be.title:String(Be.title).replace(new RegExp(`:(${Ge})`,"g"),(Ke,rt)=>Ue[rt]||Ke)}function re(Be,Ue,Ge,Ke){if(Ge==null)return null;const{className:rt,onClick:nt}=Ue,vt=Me(Ue,["className","onClick"]),Tt=Object.assign(Object.assign({},(0,Ie.Z)(vt,{data:!0,aria:!0})),{onClick:nt});return Ke!==void 0?be.createElement("a",Object.assign({},Tt,{className:se()(`${Be}-link`,rt),href:Ke}),Ge):be.createElement("span",Object.assign({},Tt,{className:se()(`${Be}-link`,rt)}),Ge)}function a(Be,Ue){return(Ke,rt,nt,vt,Tt)=>{if(Ue)return Ue(Ke,rt,nt,vt);const Yt=ye(Ke,rt);return re(Be,Ke,Yt,Tt)}}var y=function(Be,Ue){var Ge={};for(var Ke in Be)Object.prototype.hasOwnProperty.call(Be,Ke)&&Ue.indexOf(Ke)<0&&(Ge[Ke]=Be[Ke]);if(Be!=null&&typeof Object.getOwnPropertySymbols=="function")for(var rt=0,Ke=Object.getOwnPropertySymbols(Be);rt<Ke.length;rt++)Ue.indexOf(Ke[rt])<0&&Object.prototype.propertyIsEnumerable.call(Be,Ke[rt])&&(Ge[Ke[rt]]=Be[Ke[rt]]);return Ge};const b=Be=>{const{prefixCls:Ue,separator:Ge="/",children:Ke,menu:rt,overlay:nt,dropdownProps:vt,href:Tt}=Be,Xe=(st=>{if(rt||nt){const Lt=Object.assign({},vt);if(rt){const It=rt||{},{items:St}=It,dn=y(It,["items"]);Lt.menu=Object.assign(Object.assign({},dn),{items:St==null?void 0:St.map((Fe,Xt)=>{var{key:Kt,title:jn,label:Pt,path:qe}=Fe,lt=y(Fe,["key","title","label","path"]);let it=Pt!=null?Pt:jn;return qe&&(it=be.createElement("a",{href:`${Tt}${qe}`},it)),Object.assign(Object.assign({},lt),{key:Kt!=null?Kt:Xt,label:it})})})}else nt&&(Lt.overlay=nt);return be.createElement(He.Z,Object.assign({placement:"bottom"},Lt),be.createElement("span",{className:`${Ue}-overlay-link`},st,be.createElement(et.Z,null)))}return st})(Ke);return Xe!=null?be.createElement(be.Fragment,null,be.createElement("li",null,Xe),Ge&&be.createElement(Ze,null,Ge)):null},E=Be=>{const{prefixCls:Ue,children:Ge,href:Ke}=Be,rt=y(Be,["prefixCls","children","href"]),{getPrefixCls:nt}=be.useContext(ie.E_),vt=nt("breadcrumb",Ue);return be.createElement(b,Object.assign({},rt,{prefixCls:vt}),re(vt,rt,Ge,Ke))};E.__ANT_BREADCRUMB_ITEM=!0;var x=E,ee=te(17313),ne=te(83116),oe=te(37613);const ae=Be=>{const{componentCls:Ue,iconCls:Ge}=Be;return{[Ue]:Object.assign(Object.assign({},(0,ee.Wf)(Be)),{color:Be.itemColor,fontSize:Be.fontSize,[Ge]:{fontSize:Be.iconFontSize},ol:{display:"flex",flexWrap:"wrap",margin:0,padding:0,listStyle:"none"},a:Object.assign({color:Be.linkColor,transition:`color ${Be.motionDurationMid}`,padding:`0 ${Be.paddingXXS}px`,borderRadius:Be.borderRadiusSM,height:Be.lineHeight*Be.fontSize,display:"inline-block",marginInline:-Be.marginXXS,"&:hover":{color:Be.linkHoverColor,backgroundColor:Be.colorBgTextHover}},(0,ee.Qy)(Be)),"li:last-child":{color:Be.lastItemColor},[`${Ue}-separator`]:{marginInline:Be.separatorMargin,color:Be.separatorColor},[`${Ue}-link`]:{[`
|
|
> ${Ge} + span,
|
|
> ${Ge} + a
|
|
`]:{marginInlineStart:Be.marginXXS}},[`${Ue}-overlay-link`]:{borderRadius:Be.borderRadiusSM,height:Be.lineHeight*Be.fontSize,display:"inline-block",padding:`0 ${Be.paddingXXS}px`,marginInline:-Be.marginXXS,[`> ${Ge}`]:{marginInlineStart:Be.marginXXS,fontSize:Be.fontSizeIcon},"&:hover":{color:Be.linkHoverColor,backgroundColor:Be.colorBgTextHover,a:{color:Be.linkHoverColor}},a:{"&:hover":{backgroundColor:"transparent"}}},[`&${Be.componentCls}-rtl`]:{direction:"rtl"}})}};var ue=(0,ne.Z)("Breadcrumb",Be=>{const Ue=(0,oe.TS)(Be,{});return[ae(Ue)]},Be=>({itemColor:Be.colorTextDescription,lastItemColor:Be.colorText,iconFontSize:Be.fontSize,linkColor:Be.colorTextDescription,linkHoverColor:Be.colorText,separatorColor:Be.colorTextDescription,separatorMargin:Be.marginXS})),me=function(Be,Ue){var Ge={};for(var Ke in Be)Object.prototype.hasOwnProperty.call(Be,Ke)&&Ue.indexOf(Ke)<0&&(Ge[Ke]=Be[Ke]);if(Be!=null&&typeof Object.getOwnPropertySymbols=="function")for(var rt=0,Ke=Object.getOwnPropertySymbols(Be);rt<Ke.length;rt++)Ue.indexOf(Ke[rt])<0&&Object.prototype.propertyIsEnumerable.call(Be,Ke[rt])&&(Ge[Ke[rt]]=Be[Ke[rt]]);return Ge};function fe(Be){const{breadcrumbName:Ue,children:Ge}=Be,Ke=me(Be,["breadcrumbName","children"]),rt=Object.assign({title:Ue},Ke);return Ge&&(rt.menu={items:Ge.map(nt=>{var{breadcrumbName:vt}=nt,Tt=me(nt,["breadcrumbName"]);return Object.assign(Object.assign({},Tt),{title:vt})})}),rt}function Pe(Be,Ue){return(0,be.useMemo)(()=>Be||(Ue?Ue.map(fe):null),[Be,Ue])}var xe=function(Be,Ue){var Ge={};for(var Ke in Be)Object.prototype.hasOwnProperty.call(Be,Ke)&&Ue.indexOf(Ke)<0&&(Ge[Ke]=Be[Ke]);if(Be!=null&&typeof Object.getOwnPropertySymbols=="function")for(var rt=0,Ke=Object.getOwnPropertySymbols(Be);rt<Ke.length;rt++)Ue.indexOf(Ke[rt])<0&&Object.prototype.propertyIsEnumerable.call(Be,Ke[rt])&&(Ge[Ke[rt]]=Be[Ke[rt]]);return Ge};const Ee=(Be,Ue)=>{if(Ue===void 0)return Ue;let Ge=(Ue||"").replace(/^\//,"");return Object.keys(Be).forEach(Ke=>{Ge=Ge.replace(`:${Ke}`,Be[Ke])}),Ge},De=Be=>{const{prefixCls:Ue,separator:Ge="/",style:Ke,className:rt,rootClassName:nt,routes:vt,items:Tt,children:Yt,itemRender:Xe,params:st={}}=Be,Lt=xe(Be,["prefixCls","separator","style","className","rootClassName","routes","items","children","itemRender","params"]),{getPrefixCls:It,direction:St,breadcrumb:dn}=be.useContext(ie.E_);let Fe;const Xt=It("breadcrumb",Ue),[Kt,jn]=ue(Xt),Pt=Pe(Tt,vt),qe=a(Xt,Xe);if(Pt&&Pt.length>0){const Oe=[],pt=Tt||vt;Fe=Pt.map((gt,Le)=>{const{path:he,key:je,type:We,menu:we,overlay:mt,onClick:Je,className:jt,separator:Se,dropdownProps:ut}=gt,wt=Ee(st,he);wt!==void 0&&Oe.push(wt);const Ae=je!=null?je:Le;if(We==="separator")return be.createElement(Ze,{key:Ae},Se);const _e={},ct=Le===Pt.length-1;we?_e.menu=we:mt&&(_e.overlay=mt);let{href:Ft}=gt;return Oe.length&&wt!==void 0&&(Ft=`#/${Oe.join("/")}`),be.createElement(b,Object.assign({key:Ae},_e,(0,Ie.Z)(gt,{data:!0,aria:!0}),{className:jt,dropdownProps:ut,href:Ft,separator:ct?"":Ge,onClick:Je,prefixCls:Xt}),qe(gt,st,pt,Oe,Ft))})}else if(Yt){const Oe=(0,ve.Z)(Yt).length;Fe=(0,ve.Z)(Yt).map((pt,gt)=>{if(!pt)return pt;const Le=gt===Oe-1;return(0,Ne.Tm)(pt,{separator:Le?"":Ge,key:gt})})}const lt=se()(Xt,dn==null?void 0:dn.className,{[`${Xt}-rtl`]:St==="rtl"},rt,nt,jn),it=Object.assign(Object.assign({},dn==null?void 0:dn.style),Ke);return Kt(be.createElement("nav",Object.assign({className:lt,style:it},Lt),be.createElement("ol",null,Fe)))};De.Item=x,De.Separator=Ze;var ze=De,ft=ze},24905:function(bt,yt,te){"use strict";te.d(yt,{default:function(){return ue}});var z=te(92310),se=te.n(z),ve=te(5630),Ie=te(59301),be=te(36355),Ne=te(1684),ie=te(32441),He=Ie.createContext(null),ke=te(98447),Ze=te(14088),Me=te(4572),ye=function(me,fe){var Pe={};for(var xe in me)Object.prototype.hasOwnProperty.call(me,xe)&&fe.indexOf(xe)<0&&(Pe[xe]=me[xe]);if(me!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Ee=0,xe=Object.getOwnPropertySymbols(me);Ee<xe.length;Ee++)fe.indexOf(xe[Ee])<0&&Object.prototype.propertyIsEnumerable.call(me,xe[Ee])&&(Pe[xe[Ee]]=me[xe[Ee]]);return Pe};const re=(me,fe)=>{var Pe;const{prefixCls:xe,className:Ee,rootClassName:De,children:ze,indeterminate:ft=!1,style:Be,onMouseEnter:Ue,onMouseLeave:Ge,skipGroup:Ke=!1,disabled:rt}=me,nt=ye(me,["prefixCls","className","rootClassName","children","indeterminate","style","onMouseEnter","onMouseLeave","skipGroup","disabled"]),{getPrefixCls:vt,direction:Tt,checkbox:Yt}=Ie.useContext(be.E_),Xe=Ie.useContext(He),{isFormItemInput:st}=Ie.useContext(ie.aM),Lt=Ie.useContext(Ne.Z),It=(Pe=(Xe==null?void 0:Xe.disabled)||rt)!==null&&Pe!==void 0?Pe:Lt,St=Ie.useRef(nt.value);Ie.useEffect(()=>{Xe==null||Xe.registerValue(nt.value)},[]),Ie.useEffect(()=>{if(!Ke)return nt.value!==St.current&&(Xe==null||Xe.cancelValue(St.current),Xe==null||Xe.registerValue(nt.value),St.current=nt.value),()=>Xe==null?void 0:Xe.cancelValue(nt.value)},[nt.value]);const dn=vt("checkbox",xe),[Fe,Xt]=(0,ke.ZP)(dn),Kt=Object.assign({},nt);Xe&&!Ke&&(Kt.onChange=function(){nt.onChange&&nt.onChange.apply(nt,arguments),Xe.toggleOption&&Xe.toggleOption({label:ze,value:nt.value})},Kt.name=Xe.name,Kt.checked=Xe.value.includes(nt.value));const jn=se()(`${dn}-wrapper`,{[`${dn}-rtl`]:Tt==="rtl",[`${dn}-wrapper-checked`]:Kt.checked,[`${dn}-wrapper-disabled`]:It,[`${dn}-wrapper-in-form-item`]:st},Yt==null?void 0:Yt.className,Ee,De,Xt),Pt=se()({[`${dn}-indeterminate`]:ft},Me.A,Xt),qe=ft?"mixed":void 0;return Fe(Ie.createElement(Ze.Z,{component:"Checkbox",disabled:It},Ie.createElement("label",{className:jn,style:Object.assign(Object.assign({},Yt==null?void 0:Yt.style),Be),onMouseEnter:Ue,onMouseLeave:Ge},Ie.createElement(ve.Z,Object.assign({"aria-checked":qe},Kt,{prefixCls:dn,className:Pt,disabled:It,ref:fe})),ze!==void 0&&Ie.createElement("span",null,ze))))};var y=Ie.forwardRef(re),b=te(15142),E=te(2738),x=function(me,fe){var Pe={};for(var xe in me)Object.prototype.hasOwnProperty.call(me,xe)&&fe.indexOf(xe)<0&&(Pe[xe]=me[xe]);if(me!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Ee=0,xe=Object.getOwnPropertySymbols(me);Ee<xe.length;Ee++)fe.indexOf(xe[Ee])<0&&Object.prototype.propertyIsEnumerable.call(me,xe[Ee])&&(Pe[xe[Ee]]=me[xe[Ee]]);return Pe};const ee=(me,fe)=>{const{defaultValue:Pe,children:xe,options:Ee=[],prefixCls:De,className:ze,rootClassName:ft,style:Be,onChange:Ue}=me,Ge=x(me,["defaultValue","children","options","prefixCls","className","rootClassName","style","onChange"]),{getPrefixCls:Ke,direction:rt}=Ie.useContext(be.E_),[nt,vt]=Ie.useState(Ge.value||Pe||[]),[Tt,Yt]=Ie.useState([]);Ie.useEffect(()=>{"value"in Ge&&vt(Ge.value||[])},[Ge.value]);const Xe=Ie.useMemo(()=>Ee.map(lt=>typeof lt=="string"||typeof lt=="number"?{label:lt,value:lt}:lt),[Ee]),st=lt=>{Yt(it=>it.filter(Oe=>Oe!==lt))},Lt=lt=>{Yt(it=>[].concat((0,b.Z)(it),[lt]))},It=lt=>{const it=nt.indexOf(lt.value),Oe=(0,b.Z)(nt);it===-1?Oe.push(lt.value):Oe.splice(it,1),"value"in Ge||vt(Oe),Ue==null||Ue(Oe.filter(pt=>Tt.includes(pt)).sort((pt,gt)=>{const Le=Xe.findIndex(je=>je.value===pt),he=Xe.findIndex(je=>je.value===gt);return Le-he}))},St=Ke("checkbox",De),dn=`${St}-group`,[Fe,Xt]=(0,ke.ZP)(St),Kt=(0,E.Z)(Ge,["value","disabled"]),jn=Ee.length?Xe.map(lt=>Ie.createElement(y,{prefixCls:St,key:lt.value.toString(),disabled:"disabled"in lt?lt.disabled:Ge.disabled,value:lt.value,checked:nt.includes(lt.value),onChange:lt.onChange,className:`${dn}-item`,style:lt.style,title:lt.title},lt.label)):xe,Pt={toggleOption:It,value:nt,disabled:Ge.disabled,name:Ge.name,registerValue:Lt,cancelValue:st},qe=se()(dn,{[`${dn}-rtl`]:rt==="rtl"},ze,ft,Xt);return Fe(Ie.createElement("div",Object.assign({className:qe,style:Be},Kt,{ref:fe}),Ie.createElement(He.Provider,{value:Pt},jn)))},ne=Ie.forwardRef(ee);var oe=Ie.memo(ne);const ae=y;ae.Group=oe,ae.__ANT_CHECKBOX=!0;var ue=ae},98447:function(bt,yt,te){"use strict";te.d(yt,{C2:function(){return be}});var z=te(17313),se=te(37613),ve=te(83116);const Ie=Ne=>{const{checkboxCls:ie}=Ne,et=`${ie}-wrapper`;return[{[`${ie}-group`]:Object.assign(Object.assign({},(0,z.Wf)(Ne)),{display:"inline-flex",flexWrap:"wrap",columnGap:Ne.marginXS,[`> ${Ne.antCls}-row`]:{flex:1}}),[et]:Object.assign(Object.assign({},(0,z.Wf)(Ne)),{display:"inline-flex",alignItems:"baseline",cursor:"pointer","&:after":{display:"inline-block",width:0,overflow:"hidden",content:"'\\a0'"},[`& + ${et}`]:{marginInlineStart:0},[`&${et}-in-form-item`]:{'input[type="checkbox"]':{width:14,height:14}}}),[ie]:Object.assign(Object.assign({},(0,z.Wf)(Ne)),{position:"relative",whiteSpace:"nowrap",lineHeight:1,cursor:"pointer",borderRadius:Ne.borderRadiusSM,alignSelf:"center",[`${ie}-input`]:{position:"absolute",inset:0,zIndex:1,cursor:"pointer",opacity:0,margin:0,[`&:focus-visible + ${ie}-inner`]:Object.assign({},(0,z.oN)(Ne))},[`${ie}-inner`]:{boxSizing:"border-box",position:"relative",top:0,insetInlineStart:0,display:"block",width:Ne.checkboxSize,height:Ne.checkboxSize,direction:"ltr",backgroundColor:Ne.colorBgContainer,border:`${Ne.lineWidth}px ${Ne.lineType} ${Ne.colorBorder}`,borderRadius:Ne.borderRadiusSM,borderCollapse:"separate",transition:`all ${Ne.motionDurationSlow}`,"&:after":{boxSizing:"border-box",position:"absolute",top:"50%",insetInlineStart:"21.5%",display:"table",width:Ne.checkboxSize/14*5,height:Ne.checkboxSize/14*8,border:`${Ne.lineWidthBold}px solid ${Ne.colorWhite}`,borderTop:0,borderInlineStart:0,transform:"rotate(45deg) scale(0) translate(-50%,-50%)",opacity:0,content:'""',transition:`all ${Ne.motionDurationFast} ${Ne.motionEaseInBack}, opacity ${Ne.motionDurationFast}`}},"& + span":{paddingInlineStart:Ne.paddingXS,paddingInlineEnd:Ne.paddingXS}})},{[`
|
|
${et}:not(${et}-disabled),
|
|
${ie}:not(${ie}-disabled)
|
|
`]:{[`&:hover ${ie}-inner`]:{borderColor:Ne.colorPrimary}},[`${et}:not(${et}-disabled)`]:{[`&:hover ${ie}-checked:not(${ie}-disabled) ${ie}-inner`]:{backgroundColor:Ne.colorPrimaryHover,borderColor:"transparent"},[`&:hover ${ie}-checked:not(${ie}-disabled):after`]:{borderColor:Ne.colorPrimaryHover}}},{[`${ie}-checked`]:{[`${ie}-inner`]:{backgroundColor:Ne.colorPrimary,borderColor:Ne.colorPrimary,"&:after":{opacity:1,transform:"rotate(45deg) scale(1) translate(-50%,-50%)",transition:`all ${Ne.motionDurationMid} ${Ne.motionEaseOutBack} ${Ne.motionDurationFast}`}}},[`
|
|
${et}-checked:not(${et}-disabled),
|
|
${ie}-checked:not(${ie}-disabled)
|
|
`]:{[`&:hover ${ie}-inner`]:{backgroundColor:Ne.colorPrimaryHover,borderColor:"transparent"}}},{[ie]:{"&-indeterminate":{[`${ie}-inner`]:{backgroundColor:Ne.colorBgContainer,borderColor:Ne.colorBorder,"&:after":{top:"50%",insetInlineStart:"50%",width:Ne.fontSizeLG/2,height:Ne.fontSizeLG/2,backgroundColor:Ne.colorPrimary,border:0,transform:"translate(-50%, -50%) scale(1)",opacity:1,content:'""'}}}}},{[`${et}-disabled`]:{cursor:"not-allowed"},[`${ie}-disabled`]:{[`&, ${ie}-input`]:{cursor:"not-allowed",pointerEvents:"none"},[`${ie}-inner`]:{background:Ne.colorBgContainerDisabled,borderColor:Ne.colorBorder,"&:after":{borderColor:Ne.colorTextDisabled}},"&:after":{display:"none"},"& + span":{color:Ne.colorTextDisabled},[`&${ie}-indeterminate ${ie}-inner::after`]:{background:Ne.colorTextDisabled}}}]};function be(Ne,ie){const et=(0,se.TS)(ie,{checkboxCls:`.${Ne}`,checkboxSize:ie.controlInteractiveSize});return[Ie(et)]}yt.ZP=(0,ve.Z)("Checkbox",(Ne,ie)=>{let{prefixCls:et}=ie;return[be(et,Ne)]})},5083:function(bt,yt,te){"use strict";te.d(yt,{default:function(){return su}});var z=te(61186),se=te.n(z),ve=te(48736),Ie=te(90111),be=te.n(Ie),Ne=te(58319),ie=te.n(Ne),et=te(23250),He=te.n(et),ke=te(74959),Ze=te.n(ke),Me=te(10238),ye=te.n(Me),re=te(33656),a=te.n(re);se().extend(a()),se().extend(ye()),se().extend(be()),se().extend(ie()),se().extend(He()),se().extend(Ze()),se().extend(function(le,de){var ge=de.prototype,$e=ge.format;ge.format=function(Mt){var xt=(Mt||"").replace("Wo","wo");return $e.bind(this)(xt)}});var y={bn_BD:"bn-bd",by_BY:"be",en_GB:"en-gb",en_US:"en",fr_BE:"fr",fr_CA:"fr-ca",hy_AM:"hy-am",kmr_IQ:"ku",nl_BE:"nl-be",pt_BR:"pt-br",zh_CN:"zh-cn",zh_HK:"zh-hk",zh_TW:"zh-tw"},b=function(de){var ge=y[de];return ge||de.split("_")[0]},E=function(){(0,ve.ET)(!1,"Not match any format. Please help to fire a issue about this.")},x={getNow:function(){return se()()},getFixedDate:function(de){return se()(de,["YYYY-M-DD","YYYY-MM-DD"])},getEndDate:function(de){return de.endOf("month")},getWeekDay:function(de){var ge=de.locale("en");return ge.weekday()+ge.localeData().firstDayOfWeek()},getYear:function(de){return de.year()},getMonth:function(de){return de.month()},getDate:function(de){return de.date()},getHour:function(de){return de.hour()},getMinute:function(de){return de.minute()},getSecond:function(de){return de.second()},addYear:function(de,ge){return de.add(ge,"year")},addMonth:function(de,ge){return de.add(ge,"month")},addDate:function(de,ge){return de.add(ge,"day")},setYear:function(de,ge){return de.year(ge)},setMonth:function(de,ge){return de.month(ge)},setDate:function(de,ge){return de.date(ge)},setHour:function(de,ge){return de.hour(ge)},setMinute:function(de,ge){return de.minute(ge)},setSecond:function(de,ge){return de.second(ge)},isAfter:function(de,ge){return de.isAfter(ge)},isValidate:function(de){return de.isValid()},locale:{getWeekFirstDay:function(de){return se()().locale(b(de)).localeData().firstDayOfWeek()},getWeekFirstDate:function(de,ge){return ge.locale(b(de)).weekday(0)},getWeek:function(de,ge){return ge.locale(b(de)).week()},getShortWeekDays:function(de){return se()().locale(b(de)).localeData().weekdaysMin()},getShortMonths:function(de){return se()().locale(b(de)).localeData().monthsShort()},format:function(de,ge,$e){return ge.locale(b(de)).format($e)},parse:function(de,ge,$e){for(var Qe=b(de),Mt=0;Mt<$e.length;Mt+=1){var xt=$e[Mt],un=ge;if(xt.includes("wo")||xt.includes("Wo")){for(var on=un.split("-")[0],hn=un.split("-")[1],ia=se()(on,"YYYY").startOf("year").locale(Qe),Bn=0;Bn<=52;Bn+=1){var Ln=ia.add(Bn,"week");if(Ln.format("Wo")===hn)return Ln}return E(),null}var Gn=se()(un,xt,!0).locale(Qe);if(Gn.isValid())return Gn}return ge&&E(),null}}},ee=x,ne=te(53487),oe=te(67711),ae=te(59301),ue={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M880 184H712v-64c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v64H384v-64c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v64H144c-17.7 0-32 14.3-32 32v664c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V216c0-17.7-14.3-32-32-32zm-40 656H184V460h656v380zM184 392V256h128v48c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-48h256v48c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-48h128v136H184z"}}]},name:"calendar",theme:"outlined"},me=ue,fe=te(7657),Pe=function(de,ge){return ae.createElement(fe.Z,(0,oe.Z)({},de,{ref:ge,icon:me}))},xe=ae.forwardRef(Pe),Ee=xe,De={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z"}},{tag:"path",attrs:{d:"M686.7 638.6L544.1 535.5V288c0-4.4-3.6-8-8-8H488c-4.4 0-8 3.6-8 8v275.4c0 2.6 1.2 5 3.3 6.5l165.4 120.6c3.6 2.6 8.6 1.8 11.2-1.7l28.6-39c2.6-3.7 1.8-8.7-1.8-11.2z"}}]},name:"clock-circle",theme:"outlined"},ze=De,ft=function(de,ge){return ae.createElement(fe.Z,(0,oe.Z)({},de,{ref:ge,icon:ze}))},Be=ae.forwardRef(ft),Ue=Be,Ge=te(19248),Ke={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"},rt=Ke,nt=function(de,ge){return ae.createElement(fe.Z,(0,oe.Z)({},de,{ref:ge,icon:rt}))},vt=ae.forwardRef(nt),Tt=vt,Yt=te(92310),Xe=te.n(Yt),st=te(42573),Lt=te(58698),It=te(62437),St=te(74700),dn=te(45080),Fe=te(52873),Xt=te(98506),Kt=te(16886),jn=te(18929),Pt=te(26112),qe=te(80547),lt=te(13697),it=10,Oe=it*10,pt=7;function gt(le,de){if(!le&&!de)return!0;if(!le||!de)return!1}function Le(le,de,ge){var $e=gt(de,ge);if(typeof $e=="boolean")return $e;var Qe=Math.floor(le.getYear(de)/10),Mt=Math.floor(le.getYear(ge)/10);return Qe===Mt}function he(le,de,ge){var $e=gt(de,ge);return typeof $e=="boolean"?$e:le.getYear(de)===le.getYear(ge)}function je(le,de){var ge=Math.floor(le.getMonth(de)/3);return ge+1}function We(le,de,ge){var $e=gt(de,ge);return typeof $e=="boolean"?$e:he(le,de,ge)&&je(le,de)===je(le,ge)}function we(le,de,ge){var $e=gt(de,ge);return typeof $e=="boolean"?$e:he(le,de,ge)&&le.getMonth(de)===le.getMonth(ge)}function mt(le,de,ge){var $e=gt(de,ge);return typeof $e=="boolean"?$e:le.getYear(de)===le.getYear(ge)&&le.getMonth(de)===le.getMonth(ge)&&le.getDate(de)===le.getDate(ge)}function Je(le,de,ge){var $e=gt(de,ge);return typeof $e=="boolean"?$e:le.getHour(de)===le.getHour(ge)&&le.getMinute(de)===le.getMinute(ge)&&le.getSecond(de)===le.getSecond(ge)}function jt(le,de,ge,$e){var Qe=gt(ge,$e);return typeof Qe=="boolean"?Qe:he(le,ge,$e)&&le.locale.getWeek(de,ge)===le.locale.getWeek(de,$e)}function Se(le,de,ge){return mt(le,de,ge)&&Je(le,de,ge)}function ut(le,de,ge,$e){return!de||!ge||!$e?!1:!mt(le,de,$e)&&!mt(le,ge,$e)&&le.isAfter($e,de)&&le.isAfter(ge,$e)}function wt(le,de,ge){var $e=de.locale.getWeekFirstDay(le),Qe=de.setDate(ge,1),Mt=de.getWeekDay(Qe),xt=de.addDate(Qe,$e-Mt);return de.getMonth(xt)===de.getMonth(ge)&&de.getDate(xt)>1&&(xt=de.addDate(xt,-7)),xt}function Ae(le,de,ge){var $e=arguments.length>3&&arguments[3]!==void 0?arguments[3]:1;switch(de){case"year":return ge.addYear(le,$e*10);case"quarter":case"month":return ge.addYear(le,$e);default:return ge.addMonth(le,$e)}}function _e(le,de){var ge=de.generateConfig,$e=de.locale,Qe=de.format;return typeof Qe=="function"?Qe(le):ge.locale.format($e.locale,le,Qe)}function ct(le,de){var ge=de.generateConfig,$e=de.locale,Qe=de.formatList;return!le||typeof Qe[0]=="function"?null:ge.locale.parse($e.locale,le,Qe)}function Ft(le){var de=le.cellDate,ge=le.mode,$e=le.disabledDate,Qe=le.generateConfig;if(!$e)return!1;var Mt=function(Kn,ln,wn){for(var Jn=ln;Jn<=wn;){var Ta=void 0;switch(Kn){case"date":{if(Ta=Qe.setDate(de,Jn),!$e(Ta))return!1;break}case"month":{if(Ta=Qe.setMonth(de,Jn),!Ft({cellDate:Ta,mode:"month",generateConfig:Qe,disabledDate:$e}))return!1;break}case"year":{if(Ta=Qe.setYear(de,Jn),!Ft({cellDate:Ta,mode:"year",generateConfig:Qe,disabledDate:$e}))return!1;break}}Jn+=1}return!0};switch(ge){case"date":case"week":return $e(de);case"month":{var xt=1,un=Qe.getDate(Qe.getEndDate(de));return Mt("date",xt,un)}case"quarter":{var on=Math.floor(Qe.getMonth(de)/3)*3,hn=on+2;return Mt("month",on,hn)}case"year":return Mt("month",0,11);case"decade":{var ia=Qe.getYear(de),Bn=Math.floor(ia/it)*it,Ln=Bn+it-1;return Mt("year",Bn,Ln)}}}function zt(le,de){var ge=de.formatList,$e=de.generateConfig,Qe=de.locale;return(0,qe.Z)(function(){if(!le)return[[""],""];for(var Mt="",xt=[],un=0;un<ge.length;un+=1){var on=ge[un],hn=_e(le,{generateConfig:$e,locale:Qe,format:on});xt.push(hn),un===0&&(Mt=hn)}return[xt,Mt]},[le,ge,Qe],function(Mt,xt){return!Se($e,Mt[0],xt[0])||!(0,lt.Z)(Mt[1],xt[1],!0)||!(0,lt.Z)(Mt[2],xt[2],!0)})}function fn(le,de){var ge=de.formatList,$e=de.generateConfig,Qe=de.locale,Mt=(0,ae.useState)(null),xt=(0,Kt.Z)(Mt,2),un=xt[0],on=xt[1],hn=(0,ae.useRef)(null);function ia(wn){var Jn=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;if(cancelAnimationFrame(hn.current),Jn){on(wn);return}hn.current=requestAnimationFrame(function(){on(wn)})}var Bn=zt(un,{formatList:ge,generateConfig:$e,locale:Qe}),Ln=(0,Kt.Z)(Bn,2),Gn=Ln[1];function Kn(wn){ia(wn)}function ln(){var wn=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1;ia(null,wn)}return(0,ae.useEffect)(function(){ln(!0)},[le]),(0,ae.useEffect)(function(){return function(){return cancelAnimationFrame(hn.current)}},[]),[Gn,Kn,ln]}var dt=te(10228),Bt=te(16089),Et=te(15142),tn=te(29194),Vt=new Map;function sn(le,de){var ge;function $e(){(0,tn.Z)(le)?de():ge=(0,Bt.Z)(function(){$e()})}return $e(),function(){Bt.Z.cancel(ge)}}function Un(le,de,ge){if(Vt.get(le)&&cancelAnimationFrame(Vt.get(le)),ge<=0){Vt.set(le,requestAnimationFrame(function(){le.scrollTop=de}));return}var $e=de-le.scrollTop,Qe=$e/ge*10;Vt.set(le,requestAnimationFrame(function(){le.scrollTop+=Qe,le.scrollTop!==de&&Un(le,de,ge-10)}))}function pn(le,de){var ge=de.onLeftRight,$e=de.onCtrlLeftRight,Qe=de.onUpDown,Mt=de.onPageUpDown,xt=de.onEnter,un=le.which,on=le.ctrlKey,hn=le.metaKey;switch(un){case dt.Z.LEFT:if(on||hn){if($e)return $e(-1),!0}else if(ge)return ge(-1),!0;break;case dt.Z.RIGHT:if(on||hn){if($e)return $e(1),!0}else if(ge)return ge(1),!0;break;case dt.Z.UP:if(Qe)return Qe(-1),!0;break;case dt.Z.DOWN:if(Qe)return Qe(1),!0;break;case dt.Z.PAGE_UP:if(Mt)return Mt(-1),!0;break;case dt.Z.PAGE_DOWN:if(Mt)return Mt(1),!0;break;case dt.Z.ENTER:if(xt)return xt(),!0;break}return!1}function rn(le,de,ge,$e){var Qe=le;if(!Qe)switch(de){case"time":Qe=$e?"hh:mm:ss a":"HH:mm:ss";break;case"week":Qe="gggg-wo";break;case"month":Qe="YYYY-MM";break;case"quarter":Qe="YYYY-[Q]Q";break;case"year":Qe="YYYY";break;default:Qe=ge?"YYYY-MM-DD HH:mm:ss":"YYYY-MM-DD"}return Qe}function $n(le,de,ge){var $e=le==="time"?8:10,Qe=typeof de=="function"?de(ge.getNow()).length:de.length;return Math.max($e,Qe)+2}var _t=null,kt=new Set;function Jt(le){return!_t&&typeof window!="undefined"&&window.addEventListener&&(_t=function(ge){(0,Et.Z)(kt).forEach(function($e){$e(ge)})},window.addEventListener("mousedown",_t)),kt.add(le),function(){kt.delete(le),kt.size===0&&(window.removeEventListener("mousedown",_t),_t=null)}}function Ea(le){var de=le.target;if(le.composed&&de.shadowRoot){var ge;return((ge=le.composedPath)===null||ge===void 0?void 0:ge.call(le)[0])||de}return de}var qn=function(de){return de==="month"||de==="date"?"year":de},Rn=function(de){return de==="date"?"month":de},Ga=function(de){return de==="month"||de==="date"?"quarter":de},La=function(de){return de==="date"?"week":de},Ar={year:qn,month:Rn,quarter:Ga,week:La,time:null,date:null};function Cr(le,de){return le.some(function(ge){return ge&&ge.contains(de)})}function Qa(le){var de=le.open,ge=le.value,$e=le.isClickOutside,Qe=le.triggerOpen,Mt=le.forwardKeyDown,xt=le.onKeyDown,un=le.blurToCancel,on=le.onSubmit,hn=le.onCancel,ia=le.onFocus,Bn=le.onBlur,Ln=le.changeOnBlur,Gn=(0,ae.useState)(!1),Kn=(0,Kt.Z)(Gn,2),ln=Kn[0],wn=Kn[1],Jn=(0,ae.useState)(!1),Ta=(0,Kt.Z)(Jn,2),Ba=Ta[0],za=Ta[1],$a=(0,ae.useRef)(!1),ja=(0,ae.useRef)(!1),xa=(0,ae.useRef)(!1),so={onMouseDown:function(){wn(!0),Qe(!0)},onKeyDown:function(fo){var Oo=function(){xa.current=!0};if(xt(fo,Oo),!xa.current){switch(fo.which){case dt.Z.ENTER:{de?on()!==!1&&wn(!0):Qe(!0),fo.preventDefault();return}case dt.Z.TAB:{ln&&de&&!fo.shiftKey?(wn(!1),fo.preventDefault()):!ln&&de&&!Mt(fo)&&fo.shiftKey&&(wn(!0),fo.preventDefault());return}case dt.Z.ESC:{wn(!0),hn();return}}!de&&![dt.Z.SHIFT].includes(fo.which)?Qe(!0):ln||Mt(fo)}},onFocus:function(fo){wn(!0),za(!0),ia&&ia(fo)},onBlur:function(fo){if($a.current||!$e(document.activeElement)){$a.current=!1;return}un?setTimeout(function(){for(var Oo=document,Wo=Oo.activeElement;Wo&&Wo.shadowRoot;)Wo=Wo.shadowRoot.activeElement;$e(Wo)&&hn()},0):de&&(Qe(!1),ja.current&&on()),za(!1),Bn==null||Bn(fo)}};return(0,ae.useEffect)(function(){ja.current=!1},[de]),(0,ae.useEffect)(function(){ja.current=!0},[ge]),(0,ae.useEffect)(function(){return Jt(function(Hr){var fo=Ea(Hr),Oo=$e(fo);de&&(Oo?!Ln&&(!Ba||Oo)&&Qe(!1):($a.current=!0,(0,Bt.Z)(function(){$a.current=!1})))})}),[so,{focused:Ba,typing:ln}]}function tt(le,de){return ae.useMemo(function(){return le||(de?((0,ve.ZP)(!1,"`ranges` is deprecated. Please use `presets` instead."),Object.entries(de).map(function(ge){var $e=(0,Kt.Z)(ge,2),Qe=$e[0],Mt=$e[1];return{label:Qe,value:Mt}})):[])},[le,de])}var Rt=te(34280);function Dt(le){var de=le.valueTexts,ge=le.onTextChange,$e=ae.useState(""),Qe=(0,Kt.Z)($e,2),Mt=Qe[0],xt=Qe[1],un=ae.useRef([]);un.current=de;function on(ia){xt(ia),ge(ia)}function hn(){xt(un.current[0])}return(0,Rt.Z)(function(){de.every(function(ia){return ia!==Mt})&&hn()},[de.join("||")]),[Mt,on,hn]}var Zn=ae.createContext({}),cn=Zn,On=te(26420);function Xr(le){var de=le.cellRender,ge=le.monthCellRender,$e=le.dateRender,Qe=ae.useMemo(function(){if(de)return de;if(!(!ge&&!$e))return function(Mt,xt){var un=Mt;return $e&&xt.type==="date"?$e(un,xt.today):ge&&xt.type==="month"?ge(un,xt.locale):xt.originNode}},[de,ge,$e]);return Qe}function Er(le,de){for(var ge=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"0",$e=String(le);$e.length<de;)$e="".concat(ge).concat(le);return $e}var Kr=function(){for(var de=arguments.length,ge=new Array(de),$e=0;$e<de;$e++)ge[$e]=arguments[$e];return ge};function oo(le){return le==null?[]:Array.isArray(le)?le:[le]}function Xa(le,de){return le?le[de]:null}function In(le,de,ge){var $e=[Xa(le,0),Xa(le,1)];return $e[ge]=typeof de=="function"?de($e[ge]):de,!$e[0]&&!$e[1]?null:$e}function ur(le){return typeof le=="function"?le():le}function nr(le){var de=le.cellPrefixCls,ge=le.generateConfig,$e=le.rangedValue,Qe=le.hoverRangedValue,Mt=le.isInView,xt=le.isSameCell,un=le.offsetCell,on=le.today,hn=le.value;function ia(Bn){var Ln,Gn=un(Bn,-1),Kn=un(Bn,1),ln=Xa($e,0),wn=Xa($e,1),Jn=Xa(Qe,0),Ta=Xa(Qe,1),Ba=ut(ge,Jn,Ta,Bn);function za(fo){return xt(ln,fo)}function $a(fo){return xt(wn,fo)}var ja=xt(Jn,Bn),xa=xt(Ta,Bn),so=(Ba||xa)&&(!Mt(Gn)||$a(Gn)),Hr=(Ba||ja)&&(!Mt(Kn)||za(Kn));return Ln={},(0,Fe.Z)(Ln,"".concat(de,"-in-view"),Mt(Bn)),(0,Fe.Z)(Ln,"".concat(de,"-in-range"),ut(ge,ln,wn,Bn)),(0,Fe.Z)(Ln,"".concat(de,"-range-start"),za(Bn)),(0,Fe.Z)(Ln,"".concat(de,"-range-end"),$a(Bn)),(0,Fe.Z)(Ln,"".concat(de,"-range-start-single"),za(Bn)&&!wn),(0,Fe.Z)(Ln,"".concat(de,"-range-end-single"),$a(Bn)&&!ln),(0,Fe.Z)(Ln,"".concat(de,"-range-start-near-hover"),za(Bn)&&(xt(Gn,Jn)||ut(ge,Jn,Ta,Gn))),(0,Fe.Z)(Ln,"".concat(de,"-range-end-near-hover"),$a(Bn)&&(xt(Kn,Ta)||ut(ge,Jn,Ta,Kn))),(0,Fe.Z)(Ln,"".concat(de,"-range-hover"),Ba),(0,Fe.Z)(Ln,"".concat(de,"-range-hover-start"),ja),(0,Fe.Z)(Ln,"".concat(de,"-range-hover-end"),xa),(0,Fe.Z)(Ln,"".concat(de,"-range-hover-edge-start"),so),(0,Fe.Z)(Ln,"".concat(de,"-range-hover-edge-end"),Hr),(0,Fe.Z)(Ln,"".concat(de,"-range-hover-edge-start-near-range"),so&&xt(Gn,wn)),(0,Fe.Z)(Ln,"".concat(de,"-range-hover-edge-end-near-range"),Hr&&xt(Kn,ln)),(0,Fe.Z)(Ln,"".concat(de,"-today"),xt(on,Bn)),(0,Fe.Z)(Ln,"".concat(de,"-selected"),xt(hn,Bn)),Ln}return ia}var sr=ae.createContext({}),er=sr;function ht(le,de,ge,$e,Qe){var Mt=le.setHour(de,ge);return Mt=le.setMinute(Mt,$e),Mt=le.setSecond(Mt,Qe),Mt}function en(le,de,ge){if(!ge)return de;var $e=de;return $e=le.setHour($e,le.getHour(ge)),$e=le.setMinute($e,le.getMinute(ge)),$e=le.setSecond($e,le.getSecond(ge)),$e}function nn(le,de,ge,$e,Qe,Mt){var xt=Math.floor(le/$e)*$e;if(xt<le)return[xt,60-Qe,60-Mt];var un=Math.floor(de/Qe)*Qe;if(un<de)return[xt,un,60-Mt];var on=Math.floor(ge/Mt)*Mt;return[xt,un,on]}function yn(le,de){var ge=le.getYear(de),$e=le.getMonth(de)+1,Qe=le.getEndDate(le.getFixedDate("".concat(ge,"-").concat($e,"-01"))),Mt=le.getDate(Qe),xt=$e<10?"0".concat($e):"".concat($e);return"".concat(ge,"-").concat(xt,"-").concat(Mt)}function Tn(le){for(var de=le.prefixCls,ge=le.disabledDate,$e=le.onSelect,Qe=le.picker,Mt=le.rowNum,xt=le.colNum,un=le.prefixColumn,on=le.rowClassName,hn=le.baseDate,ia=le.getCellClassName,Bn=le.getCellText,Ln=le.getCellNode,Gn=le.getCellDate,Kn=le.generateConfig,ln=le.titleCell,wn=le.headerCells,Jn=ae.useContext(cn),Ta=Jn.onDateMouseEnter,Ba=Jn.onDateMouseLeave,za=Jn.mode,$a="".concat(de,"-cell"),ja=[],xa=0;xa<Mt;xa+=1){for(var so=[],Hr=void 0,fo=function(){var ni,mi=xa*xt+Oo,Go=Gn(hn,mi),bo=Ft({cellDate:Go,mode:za,disabledDate:ge,generateConfig:Kn});Oo===0&&(Hr=Go,un&&so.push(un(Hr)));var Bo=ln&&ln(Go),Yo=ae.createElement("div",{className:"".concat($a,"-inner")},Bn(Go));so.push(ae.createElement("td",{key:Oo,title:Bo,className:Xe()($a,(0,Xt.Z)((ni={},(0,Fe.Z)(ni,"".concat($a,"-disabled"),bo),(0,Fe.Z)(ni,"".concat($a,"-start"),Bn(Go)===1||Qe==="year"&&Number(Bo)%10===0),(0,Fe.Z)(ni,"".concat($a,"-end"),Bo===yn(Kn,Go)||Qe==="year"&&Number(Bo)%10===9),ni),ia(Go))),onClick:function(){bo||$e(Go)},onMouseEnter:function(){!bo&&Ta&&Ta(Go)},onMouseLeave:function(){!bo&&Ba&&Ba(Go)}},Ln?Ln(Go,Yo):Yo))},Oo=0;Oo<xt;Oo+=1)fo();ja.push(ae.createElement("tr",{key:xa,className:on&&on(Hr)},so))}return ae.createElement("div",{className:"".concat(de,"-body")},ae.createElement("table",{className:"".concat(de,"-content")},wn&&ae.createElement("thead",null,ae.createElement("tr",null,wn)),ae.createElement("tbody",null,ja)))}function mn(le){var de=le.prefixCls,ge=le.generateConfig,$e=le.prefixColumn,Qe=le.locale,Mt=le.rowCount,xt=le.viewDate,un=le.value,on=le.cellRender,hn=le.isSameCell,ia=ae.useContext(er),Bn=ia.rangedValue,Ln=ia.hoverRangedValue,Gn=wt(Qe.locale,ge,xt),Kn="".concat(de,"-cell"),ln=ge.locale.getWeekFirstDay(Qe.locale),wn=ge.getNow(),Jn=[],Ta=Qe.shortWeekDays||(ge.locale.getShortWeekDays?ge.locale.getShortWeekDays(Qe.locale):[]);$e&&Jn.push(ae.createElement("th",{key:"empty","aria-label":"empty cell"}));for(var Ba=0;Ba<pt;Ba+=1)Jn.push(ae.createElement("th",{key:Ba},Ta[(Ba+ln)%pt]));var za=nr({cellPrefixCls:Kn,today:wn,value:un,generateConfig:ge,rangedValue:$e?null:Bn,hoverRangedValue:$e?null:Ln,isSameCell:hn||function(ja,xa){return mt(ge,ja,xa)},isInView:function(xa){return we(ge,xa,xt)},offsetCell:function(xa,so){return ge.addDate(xa,so)}}),$a=on?function(ja,xa){return on(ja,{originNode:xa,today:wn,type:"date",locale:Qe})}:void 0;return ae.createElement(Tn,(0,oe.Z)({},le,{rowNum:Mt,colNum:pt,baseDate:Gn,getCellNode:$a,getCellText:ge.getDate,getCellClassName:za,getCellDate:ge.addDate,titleCell:function(xa){return _e(xa,{locale:Qe,format:"YYYY-MM-DD",generateConfig:ge})},headerCells:Jn}))}var Nn=mn,En={visibility:"hidden"};function ar(le){var de=le.prefixCls,ge=le.prevIcon,$e=ge===void 0?"\u2039":ge,Qe=le.nextIcon,Mt=Qe===void 0?"\u203A":Qe,xt=le.superPrevIcon,un=xt===void 0?"\xAB":xt,on=le.superNextIcon,hn=on===void 0?"\xBB":on,ia=le.onSuperPrev,Bn=le.onSuperNext,Ln=le.onPrev,Gn=le.onNext,Kn=le.children,ln=ae.useContext(cn),wn=ln.hideNextBtn,Jn=ln.hidePrevBtn;return ae.createElement("div",{className:de},ia&&ae.createElement("button",{type:"button",onClick:ia,tabIndex:-1,className:"".concat(de,"-super-prev-btn"),style:Jn?En:{}},un),Ln&&ae.createElement("button",{type:"button",onClick:Ln,tabIndex:-1,className:"".concat(de,"-prev-btn"),style:Jn?En:{}},$e),ae.createElement("div",{className:"".concat(de,"-view")},Kn),Gn&&ae.createElement("button",{type:"button",onClick:Gn,tabIndex:-1,className:"".concat(de,"-next-btn"),style:wn?En:{}},Mt),Bn&&ae.createElement("button",{type:"button",onClick:Bn,tabIndex:-1,className:"".concat(de,"-super-next-btn"),style:wn?En:{}},hn))}var Ra=ar;function gn(le){var de=le.prefixCls,ge=le.generateConfig,$e=le.locale,Qe=le.viewDate,Mt=le.onNextMonth,xt=le.onPrevMonth,un=le.onNextYear,on=le.onPrevYear,hn=le.onYearClick,ia=le.onMonthClick,Bn=ae.useContext(cn),Ln=Bn.hideHeader;if(Ln)return null;var Gn="".concat(de,"-header"),Kn=$e.shortMonths||(ge.locale.getShortMonths?ge.locale.getShortMonths($e.locale):[]),ln=ge.getMonth(Qe),wn=ae.createElement("button",{type:"button",key:"year",onClick:hn,tabIndex:-1,className:"".concat(de,"-year-btn")},_e(Qe,{locale:$e,format:$e.yearFormat,generateConfig:ge})),Jn=ae.createElement("button",{type:"button",key:"month",onClick:ia,tabIndex:-1,className:"".concat(de,"-month-btn")},$e.monthFormat?_e(Qe,{locale:$e,format:$e.monthFormat,generateConfig:ge}):Kn[ln]),Ta=$e.monthBeforeYear?[Jn,wn]:[wn,Jn];return ae.createElement(Ra,(0,oe.Z)({},le,{prefixCls:Gn,onSuperPrev:on,onPrev:xt,onNext:Mt,onSuperNext:un}),Ta)}var io=gn,to=6;function no(le){var de=le.prefixCls,ge=le.panelName,$e=ge===void 0?"date":ge,Qe=le.keyboardConfig,Mt=le.active,xt=le.operationRef,un=le.generateConfig,on=le.value,hn=le.viewDate,ia=le.onViewDateChange,Bn=le.onPanelChange,Ln=le.onSelect,Gn="".concat(de,"-").concat($e,"-panel");xt.current={onKeyDown:function(Jn){return pn(Jn,(0,Xt.Z)({onLeftRight:function(Ba){Ln(un.addDate(on||hn,Ba),"key")},onCtrlLeftRight:function(Ba){Ln(un.addYear(on||hn,Ba),"key")},onUpDown:function(Ba){Ln(un.addDate(on||hn,Ba*pt),"key")},onPageUpDown:function(Ba){Ln(un.addMonth(on||hn,Ba),"key")}},Qe))}};var Kn=function(Jn){var Ta=un.addYear(hn,Jn);ia(Ta),Bn(null,Ta)},ln=function(Jn){var Ta=un.addMonth(hn,Jn);ia(Ta),Bn(null,Ta)};return ae.createElement("div",{className:Xe()(Gn,(0,Fe.Z)({},"".concat(Gn,"-active"),Mt))},ae.createElement(io,(0,oe.Z)({},le,{prefixCls:de,value:on,viewDate:hn,onPrevYear:function(){Kn(-1)},onNextYear:function(){Kn(1)},onPrevMonth:function(){ln(-1)},onNextMonth:function(){ln(1)},onMonthClick:function(){Bn("month",hn)},onYearClick:function(){Bn("year",hn)}})),ae.createElement(Nn,(0,oe.Z)({},le,{onSelect:function(Jn){return Ln(Jn,"mouse")},prefixCls:de,value:on,viewDate:hn,rowCount:to})))}var Mo=no;function ea(le){var de=ae.useContext(cn),ge=de.hideHeader;if(ge)return null;var $e=le.prefixCls,Qe=le.generateConfig,Mt=le.locale,xt=le.value,un=le.format,on="".concat($e,"-header");return ae.createElement(Ra,{prefixCls:on},xt?_e(xt,{locale:Mt,format:un,generateConfig:Qe}):"\xA0")}var Aa=ea;function dr(le){var de=le.value,ge=le.generateConfig,$e=le.disabledMinutes,Qe=le.disabledSeconds,Mt=le.minutes,xt=le.seconds,un=le.use12Hours,on=function(ia,Bn,Ln,Gn){var Kn=ge.getNow(),ln=de||Kn,wn=Bn<0?ge.getHour(Kn):Bn,Jn=Ln<0?ge.getMinute(Kn):Ln,Ta=Gn<0?ge.getSecond(Kn):Gn,Ba=$e&&$e(wn);if(Ba!=null&&Ba.includes(Jn)){var za=Mt.find(function(xa){return!Ba.includes(xa.value)});if(za)Jn=za.value;else return null}var $a=Qe&&Qe(wn,Jn);if($a!=null&&$a.includes(Ta)){var ja=xt.find(function(xa){return!$a.includes(xa.value)});if(ja)Ta=ja.value;else return null}return ln=ht(ge,ln,!un||!ia?wn:wn+12,Jn,Ta),ln};return on}function pa(le){var de=le.prefixCls,ge=le.units,$e=le.onSelect,Qe=le.value,Mt=le.active,xt=le.hideDisabledOptions,un=le.info,on=le.type,hn="".concat(de,"-cell"),ia=ae.useContext(cn),Bn=ia.open,Ln=(0,ae.useRef)(null),Gn=(0,ae.useRef)(new Map),Kn=(0,ae.useRef)();return(0,ae.useLayoutEffect)(function(){var ln=Gn.current.get(Qe);ln&&Bn!==!1&&Un(Ln.current,ln.offsetTop,120)},[Qe]),(0,ae.useLayoutEffect)(function(){if(Bn){var ln=Gn.current.get(Qe);ln&&(Kn.current=sn(ln,function(){Un(Ln.current,ln.offsetTop,0)}))}return function(){var wn;(wn=Kn.current)===null||wn===void 0||wn.call(Kn)}},[Bn]),ae.createElement("ul",{className:Xe()("".concat(de,"-column"),(0,Fe.Z)({},"".concat(de,"-column-active"),Mt)),ref:Ln,style:{position:"relative"}},ge.map(function(ln){var wn;return xt&&ln.disabled?null:ae.createElement("li",{key:ln.value,ref:function(Ta){Gn.current.set(ln.value,Ta)},className:Xe()(hn,(wn={},(0,Fe.Z)(wn,"".concat(hn,"-disabled"),ln.disabled),(0,Fe.Z)(wn,"".concat(hn,"-selected"),Qe===ln.value),wn)),onClick:function(){ln.disabled||$e(ln.value)}},un.cellRender?un.cellRender(ln.value,{today:un.today,locale:un.locale,originNode:ae.createElement("div",{className:"".concat(hn,"-inner")},ln.label),type:"time",subType:on}):ae.createElement("div",{className:"".concat(hn,"-inner")},ln.label))}))}var jr=pa;function Ir(le,de){if(le.length!==de.length)return!0;for(var ge=0;ge<le.length;ge+=1)if(le[ge].disabled!==de[ge].disabled)return!0;return!1}function br(le,de,ge,$e){for(var Qe=[],Mt=ge>=1?ge|0:1,xt=le;xt<=de;xt+=Mt)Qe.push({label:Er(xt,2),value:xt,disabled:($e||[]).includes(xt)});return Qe}function po(le){var de=le.generateConfig,ge=le.prefixCls,$e=le.operationRef,Qe=le.activeColumnIndex,Mt=le.value,xt=le.showHour,un=le.showMinute,on=le.showSecond,hn=le.use12Hours,ia=le.hourStep,Bn=ia===void 0?1:ia,Ln=le.minuteStep,Gn=Ln===void 0?1:Ln,Kn=le.secondStep,ln=Kn===void 0?1:Kn,wn=le.disabledHours,Jn=le.disabledMinutes,Ta=le.disabledSeconds,Ba=le.disabledTime,za=le.hideDisabledOptions,$a=le.onSelect,ja=le.cellRender,xa=le.locale,so=[],Hr="".concat(ge,"-content"),fo="".concat(ge,"-time-panel"),Oo,Wo=Mt?de.getHour(Mt):-1,ni=Wo,mi=Mt?de.getMinute(Mt):-1,Go=Mt?de.getSecond(Mt):-1,bo=de.getNow(),Bo=ae.useMemo(function(){if(Ba){var Gt=Ba(bo);return[Gt.disabledHours,Gt.disabledMinutes,Gt.disabledSeconds]}return[wn,Jn,Ta]},[wn,Jn,Ta,Ba,bo]),Yo=(0,Kt.Z)(Bo,3),ai=Yo[0],To=Yo[1],_o=Yo[2],Li=br(0,23,Bn,ai&&ai()),Ci=(0,qe.Z)(function(){return Li},Li,Ir);hn&&(Oo=ni>=12,ni%=12);var ce=ae.useMemo(function(){if(!hn)return[!1,!1];var Gt=[!0,!0];return Ci.forEach(function(Wt){var Cn=Wt.disabled,Pn=Wt.value;Cn||(Pn>=12?Gt[1]=!1:Gt[0]=!1)}),Gt},[hn,Ci]),pe=(0,Kt.Z)(ce,2),Te=pe[0],Ve=pe[1],at=ae.useMemo(function(){return hn?Ci.filter(Oo?function(Gt){return Gt.value>=12}:function(Gt){return Gt.value<12}).map(function(Gt){var Wt=Gt.value%12,Cn=Wt===0?"12":Er(Wt,2);return(0,Xt.Z)((0,Xt.Z)({},Gt),{},{label:Cn,value:Wt})}):Ci},[hn,Oo,Ci]),ot=br(0,59,Gn,To&&To(Wo)),Nt=br(0,59,ln,_o&&_o(Wo,mi)),Ot=dr({value:Mt,generateConfig:de,disabledMinutes:To,disabledSeconds:_o,minutes:ot,seconds:Nt,use12Hours:hn});$e.current={onUpDown:function(Wt){var Cn=so[Qe];if(Cn)for(var Pn=Cn.units.findIndex(function(ua){return ua.value===Cn.value}),Fn=Cn.units.length,Wn=1;Wn<Fn;Wn+=1){var zn=Cn.units[(Pn+Wt*Wn+Fn)%Fn];if(zn.disabled!==!0){Cn.onSelect(zn.value);break}}}};function At(Gt,Wt,Cn,Pn,Fn){Gt!==!1&&so.push({node:ae.cloneElement(Wt,{prefixCls:fo,value:Cn,active:Qe===so.length,onSelect:Fn,units:Pn,hideDisabledOptions:za}),onSelect:Fn,value:Cn,units:Pn})}At(xt,ae.createElement(jr,{key:"hour",type:"hour",info:{today:bo,locale:xa,cellRender:ja}}),ni,at,function(Gt){$a(Ot(Oo,Gt,mi,Go),"mouse")}),At(un,ae.createElement(jr,{key:"minute",type:"minute",info:{today:bo,locale:xa,cellRender:ja}}),mi,ot,function(Gt){$a(Ot(Oo,ni,Gt,Go),"mouse")}),At(on,ae.createElement(jr,{key:"second",type:"second",info:{today:bo,locale:xa,cellRender:ja}}),Go,Nt,function(Gt){$a(Ot(Oo,ni,mi,Gt),"mouse")});var $t=-1;return typeof Oo=="boolean"&&($t=Oo?1:0),At(hn===!0,ae.createElement(jr,{key:"meridiem",type:"meridiem",info:{today:bo,locale:xa,cellRender:ja}}),$t,[{label:"AM",value:0,disabled:Te},{label:"PM",value:1,disabled:Ve}],function(Gt){$a(Ot(!!Gt,ni,mi,Go),"mouse")}),ae.createElement("div",{className:Hr},so.map(function(Gt){var Wt=Gt.node;return Wt}))}var Lo=po,Oi=function(de){return de.filter(function(ge){return ge!==!1}).length};function vi(le){var de=le.generateConfig,ge=le.format,$e=ge===void 0?"HH:mm:ss":ge,Qe=le.prefixCls,Mt=le.active,xt=le.operationRef,un=le.showHour,on=le.showMinute,hn=le.showSecond,ia=le.use12Hours,Bn=ia===void 0?!1:ia,Ln=le.onSelect,Gn=le.value,Kn="".concat(Qe,"-time-panel"),ln=ae.useRef(),wn=ae.useState(-1),Jn=(0,Kt.Z)(wn,2),Ta=Jn[0],Ba=Jn[1],za=Oi([un,on,hn,Bn]);return xt.current={onKeyDown:function(ja){return pn(ja,{onLeftRight:function(so){Ba((Ta+so+za)%za)},onUpDown:function(so){Ta===-1?Ba(0):ln.current&&ln.current.onUpDown(so)},onEnter:function(){Ln(Gn||de.getNow(),"key"),Ba(-1)}})},onBlur:function(){Ba(-1)}},ae.createElement("div",{className:Xe()(Kn,(0,Fe.Z)({},"".concat(Kn,"-active"),Mt))},ae.createElement(Aa,(0,oe.Z)({},le,{format:$e,prefixCls:Qe})),ae.createElement(Lo,(0,oe.Z)({},le,{prefixCls:Qe,activeColumnIndex:Ta,operationRef:ln})))}var Ei=vi,$i=Kr("date","time");function _n(le){var de=le.prefixCls,ge=le.operationRef,$e=le.generateConfig,Qe=le.value,Mt=le.defaultValue,xt=le.disabledTime,un=le.showTime,on=le.onSelect,hn=le.cellRender,ia="".concat(de,"-datetime-panel"),Bn=ae.useState(null),Ln=(0,Kt.Z)(Bn,2),Gn=Ln[0],Kn=Ln[1],ln=ae.useRef({}),wn=ae.useRef({}),Jn=(0,On.Z)(un)==="object"?(0,Xt.Z)({},un):{};function Ta(ja){var xa=$i.indexOf(Gn)+ja,so=$i[xa]||null;return so}var Ba=function(xa){wn.current.onBlur&&wn.current.onBlur(xa),Kn(null)};ge.current={onKeyDown:function(xa){if(xa.which===dt.Z.TAB){var so=Ta(xa.shiftKey?-1:1);return Kn(so),so&&xa.preventDefault(),!0}if(Gn){var Hr=Gn==="date"?ln:wn;return Hr.current&&Hr.current.onKeyDown&&Hr.current.onKeyDown(xa),!0}return[dt.Z.LEFT,dt.Z.RIGHT,dt.Z.UP,dt.Z.DOWN].includes(xa.which)?(Kn("date"),!0):!1},onBlur:Ba,onClose:Ba};var za=function(xa,so){var Hr=xa;so==="date"&&!Qe&&Jn.defaultValue?(Hr=$e.setHour(Hr,$e.getHour(Jn.defaultValue)),Hr=$e.setMinute(Hr,$e.getMinute(Jn.defaultValue)),Hr=$e.setSecond(Hr,$e.getSecond(Jn.defaultValue))):so==="time"&&!Qe&&Mt&&(Hr=$e.setYear(Hr,$e.getYear(Mt)),Hr=$e.setMonth(Hr,$e.getMonth(Mt)),Hr=$e.setDate(Hr,$e.getDate(Mt))),on&&on(Hr,"mouse")},$a=xt?xt(Qe||null):{};return ae.createElement("div",{className:Xe()(ia,(0,Fe.Z)({},"".concat(ia,"-active"),Gn))},ae.createElement(Mo,(0,oe.Z)({},le,{cellRender:hn,operationRef:ln,active:Gn==="date",onSelect:function(xa){za(en($e,xa,!Qe&&(0,On.Z)(un)==="object"?un.defaultValue:null),"date")}})),ae.createElement(Ei,(0,oe.Z)({},le,{cellRender:hn?function(ja,xa){return hn(ja,(0,Xt.Z)((0,Xt.Z)({},xa),{},{type:"time"}))}:void 0,format:void 0},Jn,$a,{disabledTime:null,defaultValue:void 0,operationRef:wn,active:Gn==="time",onSelect:function(xa){za(xa,"time")}})))}var Ia=_n;function co(le){var de=le.prefixCls,ge=le.generateConfig,$e=le.viewDate,Qe=le.onPrevDecades,Mt=le.onNextDecades,xt=ae.useContext(cn),un=xt.hideHeader;if(un)return null;var on="".concat(de,"-header"),hn=ge.getYear($e),ia=Math.floor(hn/Oe)*Oe,Bn=ia+Oe-1;return ae.createElement(Ra,(0,oe.Z)({},le,{prefixCls:on,onSuperPrev:Qe,onSuperNext:Mt}),ia,"-",Bn)}var xo=co,wo=3,ui=4;function Bi(le){var de=it-1,ge=le.prefixCls,$e=le.viewDate,Qe=le.generateConfig,Mt=le.cellRender,xt=le.locale,un="".concat(ge,"-cell"),on=Qe.getYear($e),hn=Math.floor(on/it)*it,ia=Math.floor(on/Oe)*Oe,Bn=ia+Oe-1,Ln=Qe.setYear($e,ia-Math.ceil((wo*ui*it-Oe)/2)),Gn=function(wn){var Jn,Ta=Qe.getYear(wn),Ba=Ta+de;return Jn={},(0,Fe.Z)(Jn,"".concat(un,"-in-view"),ia<=Ta&&Ba<=Bn),(0,Fe.Z)(Jn,"".concat(un,"-selected"),Ta===hn),Jn},Kn=Mt?function(ln,wn){return Mt(ln,{originNode:wn,today:Qe.getNow(),type:"decade",locale:xt})}:void 0;return ae.createElement(Tn,(0,oe.Z)({},le,{rowNum:ui,colNum:wo,baseDate:Ln,getCellNode:Kn,getCellText:function(wn){var Jn=Qe.getYear(wn);return"".concat(Jn,"-").concat(Jn+de)},getCellClassName:Gn,getCellDate:function(wn,Jn){return Qe.addYear(wn,Jn*it)}}))}var Yi=Bi;function Mi(le){var de=le.prefixCls,ge=le.onViewDateChange,$e=le.generateConfig,Qe=le.viewDate,Mt=le.operationRef,xt=le.onSelect,un=le.onPanelChange,on="".concat(de,"-decade-panel");Mt.current={onKeyDown:function(Ln){return pn(Ln,{onLeftRight:function(Kn){xt($e.addYear(Qe,Kn*it),"key")},onCtrlLeftRight:function(Kn){xt($e.addYear(Qe,Kn*Oe),"key")},onUpDown:function(Kn){xt($e.addYear(Qe,Kn*it*wo),"key")},onEnter:function(){un("year",Qe)}})}};var hn=function(Ln){var Gn=$e.addYear(Qe,Ln*Oe);ge(Gn),un(null,Gn)},ia=function(Ln){xt(Ln,"mouse"),un("year",Ln)};return ae.createElement("div",{className:on},ae.createElement(xo,(0,oe.Z)({},le,{prefixCls:de,onPrevDecades:function(){hn(-1)},onNextDecades:function(){hn(1)}})),ae.createElement(Yi,(0,oe.Z)({},le,{prefixCls:de,onSelect:ia})))}var Ce=Mi;function Re(le){var de=le.prefixCls,ge=le.generateConfig,$e=le.locale,Qe=le.viewDate,Mt=le.onNextYear,xt=le.onPrevYear,un=le.onYearClick,on=ae.useContext(cn),hn=on.hideHeader;if(hn)return null;var ia="".concat(de,"-header");return ae.createElement(Ra,(0,oe.Z)({},le,{prefixCls:ia,onSuperPrev:xt,onSuperNext:Mt}),ae.createElement("button",{type:"button",onClick:un,className:"".concat(de,"-year-btn")},_e(Qe,{locale:$e,format:$e.yearFormat,generateConfig:ge})))}var Ye=Re,Ct=3,Qt=4;function qt(le){var de=le.prefixCls,ge=le.locale,$e=le.value,Qe=le.viewDate,Mt=le.generateConfig,xt=le.cellRender,un=ae.useContext(er),on=un.rangedValue,hn=un.hoverRangedValue,ia="".concat(de,"-cell"),Bn=nr({cellPrefixCls:ia,value:$e,generateConfig:Mt,rangedValue:on,hoverRangedValue:hn,isSameCell:function(wn,Jn){return we(Mt,wn,Jn)},isInView:function(){return!0},offsetCell:function(wn,Jn){return Mt.addMonth(wn,Jn)}}),Ln=ge.shortMonths||(Mt.locale.getShortMonths?Mt.locale.getShortMonths(ge.locale):[]),Gn=Mt.setMonth(Qe,0),Kn=xt?function(ln,wn){return xt(ln,{originNode:wn,locale:ge,today:Mt.getNow(),type:"month"})}:void 0;return ae.createElement(Tn,(0,oe.Z)({},le,{rowNum:Qt,colNum:Ct,baseDate:Gn,getCellNode:Kn,getCellText:function(wn){return ge.monthFormat?_e(wn,{locale:ge,format:ge.monthFormat,generateConfig:Mt}):Ln[Mt.getMonth(wn)]},getCellClassName:Bn,getCellDate:Mt.addMonth,titleCell:function(wn){return _e(wn,{locale:ge,format:"YYYY-MM",generateConfig:Mt})}}))}var xn=qt;function Dn(le){var de=le.prefixCls,ge=le.operationRef,$e=le.onViewDateChange,Qe=le.generateConfig,Mt=le.value,xt=le.viewDate,un=le.onPanelChange,on=le.onSelect,hn="".concat(de,"-month-panel");ge.current={onKeyDown:function(Ln){return pn(Ln,{onLeftRight:function(Kn){on(Qe.addMonth(Mt||xt,Kn),"key")},onCtrlLeftRight:function(Kn){on(Qe.addYear(Mt||xt,Kn),"key")},onUpDown:function(Kn){on(Qe.addMonth(Mt||xt,Kn*Ct),"key")},onEnter:function(){un("date",Mt||xt)}})}};var ia=function(Ln){var Gn=Qe.addYear(xt,Ln);$e(Gn),un(null,Gn)};return ae.createElement("div",{className:hn},ae.createElement(Ye,(0,oe.Z)({},le,{prefixCls:de,onPrevYear:function(){ia(-1)},onNextYear:function(){ia(1)},onYearClick:function(){un("year",xt)}})),ae.createElement(xn,(0,oe.Z)({},le,{prefixCls:de,onSelect:function(Ln){on(Ln,"mouse"),un("date",Ln)}})))}var Qn=Dn;function Pa(le){var de=le.prefixCls,ge=le.generateConfig,$e=le.locale,Qe=le.viewDate,Mt=le.onNextYear,xt=le.onPrevYear,un=le.onYearClick,on=ae.useContext(cn),hn=on.hideHeader;if(hn)return null;var ia="".concat(de,"-header");return ae.createElement(Ra,(0,oe.Z)({},le,{prefixCls:ia,onSuperPrev:xt,onSuperNext:Mt}),ae.createElement("button",{type:"button",onClick:un,className:"".concat(de,"-year-btn")},_e(Qe,{locale:$e,format:$e.yearFormat,generateConfig:ge})))}var Ca=Pa,ga=4,Or=1;function Mr(le){var de=le.prefixCls,ge=le.locale,$e=le.value,Qe=le.viewDate,Mt=le.generateConfig,xt=le.cellRender,un=ae.useContext(er),on=un.rangedValue,hn=un.hoverRangedValue,ia="".concat(de,"-cell"),Bn=nr({cellPrefixCls:ia,value:$e,generateConfig:Mt,rangedValue:on,hoverRangedValue:hn,isSameCell:function(ln,wn){return We(Mt,ln,wn)},isInView:function(){return!0},offsetCell:function(ln,wn){return Mt.addMonth(ln,wn*3)}}),Ln=Mt.setDate(Mt.setMonth(Qe,0),1),Gn=xt?function(Kn,ln){return xt(Kn,{originNode:ln,locale:ge,today:Mt.getNow(),type:"quarter"})}:void 0;return ae.createElement(Tn,(0,oe.Z)({},le,{rowNum:Or,colNum:ga,baseDate:Ln,getCellNode:Gn,getCellText:function(ln){return _e(ln,{locale:ge,format:ge.quarterFormat||"[Q]Q",generateConfig:Mt})},getCellClassName:Bn,getCellDate:function(ln,wn){return Mt.addMonth(ln,wn*3)},titleCell:function(ln){return _e(ln,{locale:ge,format:"YYYY-[Q]Q",generateConfig:Mt})}}))}var Ro=Mr;function Ur(le){var de=le.prefixCls,ge=le.operationRef,$e=le.onViewDateChange,Qe=le.generateConfig,Mt=le.value,xt=le.viewDate,un=le.onPanelChange,on=le.onSelect,hn="".concat(de,"-quarter-panel");ge.current={onKeyDown:function(Ln){return pn(Ln,{onLeftRight:function(Kn){on(Qe.addMonth(Mt||xt,Kn*3),"key")},onCtrlLeftRight:function(Kn){on(Qe.addYear(Mt||xt,Kn),"key")},onUpDown:function(Kn){on(Qe.addYear(Mt||xt,Kn),"key")}})}};var ia=function(Ln){var Gn=Qe.addYear(xt,Ln);$e(Gn),un(null,Gn)};return ae.createElement("div",{className:hn},ae.createElement(Ca,(0,oe.Z)({},le,{prefixCls:de,onPrevYear:function(){ia(-1)},onNextYear:function(){ia(1)},onYearClick:function(){un("year",xt)}})),ae.createElement(Ro,(0,oe.Z)({},le,{prefixCls:de,onSelect:function(Ln){on(Ln,"mouse")}})))}var la=Ur;function Yn(le){var de=le.prefixCls,ge=le.generateConfig,$e=le.locale,Qe=le.value,Mt=le.disabledDate,xt=le.onSelect,un=ae.useContext(er),on=un.rangedValue,hn=un.hoverRangedValue,ia=ae.useContext(cn),Bn=ia.onDateMouseEnter,Ln=ia.onDateMouseLeave,Gn=(hn==null?void 0:hn[0])||(on==null?void 0:on[0]),Kn=(hn==null?void 0:hn[1])||(on==null?void 0:on[1]),ln="".concat(de,"-cell"),wn=function(za){var $a=Ft({cellDate:za,mode:"week",disabledDate:Mt,generateConfig:ge});return ae.createElement("td",{key:"week",className:Xe()(ln,"".concat(ln,"-week")),onClick:function(){$a||xt(za,"mouse")},onMouseEnter:function(){!$a&&Bn&&Bn(za)},onMouseLeave:function(){!$a&&Ln&&Ln(za)}},ae.createElement("div",{className:"".concat(ln,"-inner")},ge.locale.getWeek($e.locale,za)))},Jn="".concat(de,"-week-panel-row"),Ta=function(za){var $a,ja=jt(ge,$e.locale,Gn,za),xa=jt(ge,$e.locale,Kn,za);return Xe()(Jn,($a={},(0,Fe.Z)($a,"".concat(Jn,"-selected"),!on&&jt(ge,$e.locale,Qe,za)),(0,Fe.Z)($a,"".concat(Jn,"-range-start"),ja),(0,Fe.Z)($a,"".concat(Jn,"-range-end"),xa),(0,Fe.Z)($a,"".concat(Jn,"-range-hover"),!ja&&!xa&&ut(ge,Gn,Kn,za)),$a))};return ae.createElement(Mo,(0,oe.Z)({},le,{panelName:"week",prefixColumn:wn,rowClassName:Ta,keyboardConfig:{onLeftRight:null},isSameCell:function(){return!1}}))}var oa=Yn,ra=10;function Nr(le){var de=le.prefixCls,ge=le.generateConfig,$e=le.viewDate,Qe=le.onPrevDecade,Mt=le.onNextDecade,xt=le.onDecadeClick,un=ae.useContext(cn),on=un.hideHeader;if(on)return null;var hn="".concat(de,"-header"),ia=ge.getYear($e),Bn=Math.floor(ia/ra)*ra,Ln=Bn+ra-1;return ae.createElement(Ra,(0,oe.Z)({},le,{prefixCls:hn,onSuperPrev:Qe,onSuperNext:Mt}),ae.createElement("button",{type:"button",onClick:xt,className:"".concat(de,"-decade-btn")},Bn,"-",Ln))}var Zr=Nr,hr=3,xr=4;function kr(le){var de=le.prefixCls,ge=le.value,$e=le.viewDate,Qe=le.locale,Mt=le.generateConfig,xt=le.cellRender,un=ae.useContext(er),on=un.rangedValue,hn=un.hoverRangedValue,ia="".concat(de,"-cell"),Bn=Mt.getYear($e),Ln=Math.floor(Bn/ra)*ra,Gn=Ln+ra-1,Kn=Mt.setYear($e,Ln-Math.ceil((hr*xr-ra)/2)),ln=Mt.getNow(),wn=function(za){var $a=Mt.getYear(za);return Ln<=$a&&$a<=Gn},Jn=nr({cellPrefixCls:ia,value:ge,generateConfig:Mt,rangedValue:on,hoverRangedValue:hn,isSameCell:function(za,$a){return he(Mt,za,$a)},isInView:wn,offsetCell:function(za,$a){return Mt.addYear(za,$a)}}),Ta=xt?function(Ba,za){return xt(Ba,{originNode:za,today:ln,type:"year",locale:Qe})}:void 0;return ae.createElement(Tn,(0,oe.Z)({},le,{rowNum:xr,colNum:hr,baseDate:Kn,getCellNode:Ta,getCellText:Mt.getYear,getCellClassName:Jn,getCellDate:Mt.addYear,titleCell:function(za){return _e(za,{locale:Qe,format:"YYYY",generateConfig:Mt})}}))}var ho=kr;function ti(le){var de=le.prefixCls,ge=le.operationRef,$e=le.onViewDateChange,Qe=le.generateConfig,Mt=le.value,xt=le.viewDate,un=le.sourceMode,on=le.onSelect,hn=le.onPanelChange,ia="".concat(de,"-year-panel");ge.current={onKeyDown:function(Gn){return pn(Gn,{onLeftRight:function(ln){on(Qe.addYear(Mt||xt,ln),"key")},onCtrlLeftRight:function(ln){on(Qe.addYear(Mt||xt,ln*ra),"key")},onUpDown:function(ln){on(Qe.addYear(Mt||xt,ln*hr),"key")},onEnter:function(){hn(un==="date"?"date":"month",Mt||xt)}})}};var Bn=function(Gn){var Kn=Qe.addYear(xt,Gn*10);$e(Kn),hn(null,Kn)};return ae.createElement("div",{className:ia},ae.createElement(Zr,(0,oe.Z)({},le,{prefixCls:de,onPrevDecade:function(){Bn(-1)},onNextDecade:function(){Bn(1)},onDecadeClick:function(){hn("decade",xt)}})),ae.createElement(ho,(0,oe.Z)({},le,{prefixCls:de,onSelect:function(Gn){hn(un==="date"?"date":"month",Gn),on(Gn,"mouse")}})))}var yo=ti;function Rr(le,de,ge){return ge?ae.createElement("div",{className:"".concat(le,"-footer-extra")},ge(de)):null}function ro(le){var de=le.prefixCls,ge=le.components,$e=ge===void 0?{}:ge,Qe=le.needConfirmButton,Mt=le.onNow,xt=le.onOk,un=le.okDisabled,on=le.showNow,hn=le.locale,ia,Bn;if(Qe){var Ln=$e.button||"button";Mt&&on!==!1&&(ia=ae.createElement("li",{className:"".concat(de,"-now")},ae.createElement("a",{className:"".concat(de,"-now-btn"),onClick:Mt},hn.now))),Bn=Qe&&ae.createElement("li",{className:"".concat(de,"-ok")},ae.createElement(Ln,{disabled:un,onClick:xt},hn.ok))}return!ia&&!Bn?null:ae.createElement("ul",{className:"".concat(de,"-ranges")},ia,Bn)}var Fo=["date","month"];function vo(le){var de,ge=le,$e=ge.prefixCls,Qe=$e===void 0?"rc-picker":$e,Mt=ge.className,xt=ge.style,un=ge.locale,on=ge.generateConfig,hn=ge.value,ia=ge.defaultValue,Bn=ge.pickerValue,Ln=ge.defaultPickerValue,Gn=ge.disabledDate,Kn=ge.mode,ln=ge.picker,wn=ln===void 0?"date":ln,Jn=ge.tabIndex,Ta=Jn===void 0?0:Jn,Ba=ge.showNow,za=ge.showTime,$a=ge.showToday,ja=ge.renderExtraFooter,xa=ge.hideHeader,so=ge.onSelect,Hr=ge.onChange,fo=ge.onPanelChange,Oo=ge.onMouseDown,Wo=ge.onPickerValueChange,ni=ge.onOk,mi=ge.components,Go=ge.direction,bo=ge.hourStep,Bo=bo===void 0?1:bo,Yo=ge.minuteStep,ai=Yo===void 0?1:Yo,To=ge.secondStep,_o=To===void 0?1:To,Li=ge.dateRender,Ci=ge.monthCellRender,ce=ge.cellRender,pe=wn==="date"&&!!za||wn==="time",Te=24%Bo===0,Ve=60%ai===0,at=60%_o===0,ot=ae.useContext(cn),Nt=ot.operationRef,Ot=ot.onSelect,At=ot.hideRanges,$t=ot.defaultOpenValue,Gt=ae.useContext(er),Wt=Gt.inRange,Cn=Gt.panelPosition,Pn=Gt.rangedValue,Fn=Gt.hoverRangedValue,Wn=ae.useRef({}),zn=ae.useRef(!0),ua=(0,jn.Z)(null,{value:hn,defaultValue:ia,postState:function(An){return!An&&$t&&wn==="time"?$t:An}}),ta=(0,Kt.Z)(ua,2),ma=ta[0],Ya=ta[1],rr=(0,jn.Z)(null,{value:Bn,defaultValue:Ln||ma,postState:function(An){var va=on.getNow();if(!An)return va;if(!ma&&za){var Br=(0,On.Z)(za)==="object"?za.defaultValue:ia;return en(on,Array.isArray(An)?An[0]:An,Br||va)}return Array.isArray(An)?An[0]:An}}),ka=(0,Kt.Z)(rr,2),Ja=ka[0],Dr=ka[1],Sa=function(An){Dr(An),Wo&&Wo(An)},_a=function(An){var va=Ar[wn];return va?va(An):An},wa=(0,jn.Z)(function(){return wn==="time"?"time":_a("date")},{value:Kn}),da=(0,Kt.Z)(wa,2),fa=da[0],qa=da[1];ae.useEffect(function(){qa(wn)},[wn]);var Gr=ae.useState(function(){return fa}),Lr=(0,Kt.Z)(Gr,2),Ka=Lr[0],zr=Lr[1],Wr=function(An,va){var Br=_a(An||fa);zr(fa),qa(Br),fo&&(fa!==Br||Se(on,Ja,Ja))&&fo(va,Br)},Jr=function(An,va){var Br=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;(fa===wn||Br)&&(Ya(An),so&&so(An),Ot&&Ot(An,va),Hr&&!Se(on,An,ma)&&!(Gn!=null&&Gn(An))&&Hr(An))},Vr=function(An){if(Fo.includes(fa)){var va,Br,Qr=fa==="date";switch(An===dt.Z.PAGE_UP||An===dt.Z.PAGE_DOWN?Br=Qr?on.addMonth:on.addYear:Br=Qr?on.addDate:on.addMonth,An){case dt.Z.LEFT:case dt.Z.PAGE_UP:va=Br(Ja,-1);break;case dt.Z.RIGHT:case dt.Z.PAGE_DOWN:va=Br(Ja,1);break;case dt.Z.UP:case dt.Z.DOWN:va=Br(Ja,Number("".concat(An===dt.Z.UP?"-":"").concat(Qr?pt:Ct)));break}if(va)return!(Gn!=null&&Gn(va))}return!0},Vo=function(An){if(Wn.current&&Wn.current.onKeyDown){var va=!0,Br=An.which;if([dt.Z.LEFT,dt.Z.RIGHT,dt.Z.UP,dt.Z.DOWN,dt.Z.PAGE_UP,dt.Z.PAGE_DOWN,dt.Z.ENTER].includes(Br)&&(An.preventDefault(),Br!==dt.Z.ENTER&&Ta===0&&(va=Vr(Br))),va)return Wn.current.onKeyDown(An)}return(0,ve.ZP)(!1,"Panel not correct handle keyDown event. Please help to fire issue about this."),!1},lo=function(An){Wn.current&&Wn.current.onBlur&&Wn.current.onBlur(An)};Nt&&Cn!=="right"&&(Nt.current={onKeyDown:Vo,onClose:function(){Wn.current&&Wn.current.onClose&&Wn.current.onClose()}}),ae.useEffect(function(){hn&&!zn.current&&Dr(hn)},[hn]),ae.useEffect(function(){zn.current=!1},[]);var vr,ei=Xr({cellRender:ce,monthCellRender:Ci,dateRender:Li}),cr=(0,Xt.Z)((0,Xt.Z)({},le),{},{cellRender:ei,operationRef:Wn,prefixCls:Qe,viewDate:Ja,value:ma,onViewDateChange:Sa,sourceMode:Ka,onPanelChange:Wr,disabledDate:Gn});switch(delete cr.onChange,delete cr.onSelect,fa){case"decade":vr=ae.createElement(Ce,(0,oe.Z)({},cr,{onSelect:function(An,va){Sa(An),Jr(An,va)}}));break;case"year":vr=ae.createElement(yo,(0,oe.Z)({},cr,{onSelect:function(An,va){Sa(An),Jr(An,va)}}));break;case"month":vr=ae.createElement(Qn,(0,oe.Z)({},cr,{onSelect:function(An,va){Sa(An),Jr(An,va)}}));break;case"quarter":vr=ae.createElement(la,(0,oe.Z)({},cr,{onSelect:function(An,va){Sa(An),Jr(An,va)}}));break;case"week":vr=ae.createElement(oa,(0,oe.Z)({},cr,{onSelect:function(An,va){Sa(An),Jr(An,va)}}));break;case"time":delete cr.showTime,vr=ae.createElement(Ei,(0,oe.Z)({},cr,(0,On.Z)(za)==="object"?za:null,{onSelect:function(An,va){Sa(An),Jr(An,va)}}));break;default:za?vr=ae.createElement(Ia,(0,oe.Z)({},cr,{onSelect:function(An,va){Sa(An),Jr(An,va)}})):vr=ae.createElement(Mo,(0,oe.Z)({},cr,{onSelect:function(An,va){Sa(An),Jr(An,va)}}))}var ko,Ao,fi=function(){var An=on.getNow(),va=nn(on.getHour(An),on.getMinute(An),on.getSecond(An),Te?Bo:1,Ve?ai:1,at?_o:1),Br=ht(on,An,va[0],va[1],va[2]);Jr(Br,"submit")};At||(ko=Rr(Qe,fa,ja),za&&fa!=="date"?Ao=null:Ao=ro({prefixCls:Qe,components:mi,needConfirmButton:pe,okDisabled:!ma||Gn&&Gn(ma),locale:un,showNow:Ba,onNow:pe&&fi,onOk:function(){ma&&(Jr(ma,"submit",!0),ni&&ni(ma))}}));var gr;if($a&&fa==="date"&&wn==="date"&&!za){var or=on.getNow(),ir="".concat(Qe,"-today-btn"),Wa=Gn&&Gn(or);gr=ae.createElement("a",{className:Xe()(ir,Wa&&"".concat(ir,"-disabled")),"aria-disabled":Wa,onClick:function(){Wa||Jr(or,"mouse",!0)}},un.today)}return ae.createElement(cn.Provider,{value:(0,Xt.Z)((0,Xt.Z)({},ot),{},{mode:fa,hideHeader:"hideHeader"in le?xa:ot.hideHeader,hidePrevBtn:Wt&&Cn==="right",hideNextBtn:Wt&&Cn==="left"})},ae.createElement("div",{tabIndex:Ta,className:Xe()("".concat(Qe,"-panel"),Mt,(de={},(0,Fe.Z)(de,"".concat(Qe,"-panel-has-range"),Pn&&Pn[0]&&Pn[1]),(0,Fe.Z)(de,"".concat(Qe,"-panel-has-range-hover"),Fn&&Fn[0]&&Fn[1]),(0,Fe.Z)(de,"".concat(Qe,"-panel-rtl"),Go==="rtl"),de)),style:xt,onKeyDown:Vo,onBlur:lo,onMouseDown:Oo},vr,ko||Ao||gr?ae.createElement("div",{className:"".concat(Qe,"-footer")},ko,Ao,gr):null))}var Eo=vo,sa=te(35593),jo={bottomLeft:{points:["tl","bl"],offset:[0,4],overflow:{adjustX:1,adjustY:1}},bottomRight:{points:["tr","br"],offset:[0,4],overflow:{adjustX:1,adjustY:1}},topLeft:{points:["bl","tl"],offset:[0,-4],overflow:{adjustX:0,adjustY:1}},topRight:{points:["br","tr"],offset:[0,-4],overflow:{adjustX:0,adjustY:1}}};function wi(le){var de,ge=le.prefixCls,$e=le.popupElement,Qe=le.popupStyle,Mt=le.visible,xt=le.dropdownClassName,un=le.dropdownAlign,on=le.transitionName,hn=le.getPopupContainer,ia=le.children,Bn=le.range,Ln=le.popupPlacement,Gn=le.direction,Kn="".concat(ge,"-dropdown"),ln=function(){return Ln!==void 0?Ln:Gn==="rtl"?"bottomRight":"bottomLeft"};return ae.createElement(sa.Z,{showAction:[],hideAction:[],popupPlacement:ln(),builtinPlacements:jo,prefixCls:Kn,popupTransitionName:on,popup:$e,popupAlign:un,popupVisible:Mt,popupClassName:Xe()(xt,(de={},(0,Fe.Z)(de,"".concat(Kn,"-range"),Bn),(0,Fe.Z)(de,"".concat(Kn,"-rtl"),Gn==="rtl"),de)),popupStyle:Qe,getPopupContainer:hn},ia)}var Zi=wi;function nl(le){var de=le.prefixCls,ge=le.presets,$e=le.onClick,Qe=le.onHover;return ge.length?ae.createElement("div",{className:"".concat(de,"-presets")},ae.createElement("ul",null,ge.map(function(Mt,xt){var un=Mt.label,on=Mt.value;return ae.createElement("li",{key:xt,onClick:function(){return $e==null?void 0:$e(ur(on))},onMouseEnter:function(){return Qe==null?void 0:Qe(ur(on))},onMouseLeave:function(){return Qe==null?void 0:Qe(null)}},un)}))):null}function Xi(le){var de=le.picker,ge=le.disabledHours,$e=le.disabledMinutes,Qe=le.disabledSeconds;de==="time"&&(ge||$e||Qe)&&warning(!1,"'disabledHours', 'disabledMinutes', 'disabledSeconds' will be removed in the next major version, please use 'disabledTime' instead.")}function zi(le,de,ge){var $e=(0,On.Z)(de)==="object"?de.clearIcon:ge;return $e||ae.createElement("span",{className:"".concat(le,"-clear-btn")})}function Fi(le){var de,ge=le,$e=ge.prefixCls,Qe=$e===void 0?"rc-picker":$e,Mt=ge.id,xt=ge.name,un=ge.tabIndex,on=ge.style,hn=ge.className,ia=ge.dropdownClassName,Bn=ge.dropdownAlign,Ln=ge.popupStyle,Gn=ge.transitionName,Kn=ge.generateConfig,ln=ge.locale,wn=ge.inputReadOnly,Jn=ge.allowClear,Ta=ge.autoFocus,Ba=ge.showTime,za=ge.picker,$a=za===void 0?"date":za,ja=ge.format,xa=ge.use12Hours,so=ge.value,Hr=ge.defaultValue,fo=ge.presets,Oo=ge.open,Wo=ge.defaultOpen,ni=ge.defaultOpenValue,mi=ge.suffixIcon,Go=ge.clearIcon,bo=ge.disabled,Bo=ge.disabledDate,Yo=ge.placeholder,ai=ge.getPopupContainer,To=ge.pickerRef,_o=ge.panelRender,Li=ge.onChange,Ci=ge.onOpenChange,ce=ge.onFocus,pe=ge.onBlur,Te=ge.onMouseDown,Ve=ge.onMouseUp,at=ge.onMouseEnter,ot=ge.onMouseLeave,Nt=ge.onContextMenu,Ot=ge.onClick,At=ge.onKeyDown,$t=ge.onSelect,Gt=ge.direction,Wt=ge.autoComplete,Cn=Wt===void 0?"off":Wt,Pn=ge.inputRender,Fn=ge.changeOnBlur,Wn=ae.useRef(null),zn=$a==="date"&&!!Ba||$a==="time",ua=tt(fo),ta=oo(rn(ja,$a,Ba,xa)),ma=ae.useRef(null),Ya=ae.useRef(null),rr=ae.useRef(null),ka=(0,jn.Z)(null,{value:so,defaultValue:Hr}),Ja=(0,Kt.Z)(ka,2),Dr=Ja[0],Sa=Ja[1],_a=ae.useState(Dr),wa=(0,Kt.Z)(_a,2),da=wa[0],fa=wa[1],qa=ae.useRef(null),Gr=(0,jn.Z)(!1,{value:Oo,defaultValue:Wo,postState:function(pr){return bo?!1:pr},onChange:function(pr){Ci&&Ci(pr),!pr&&qa.current&&qa.current.onClose&&qa.current.onClose()}}),Lr=(0,Kt.Z)(Gr,2),Ka=Lr[0],zr=Lr[1],Wr=zt(da,{formatList:ta,generateConfig:Kn,locale:ln}),Jr=(0,Kt.Z)(Wr,2),Vr=Jr[0],Vo=Jr[1],lo=Dt({valueTexts:Vr,onTextChange:function(pr){var hi=ct(pr,{locale:ln,formatList:ta,generateConfig:Kn});hi&&(!Bo||!Bo(hi))&&fa(hi)}}),vr=(0,Kt.Z)(lo,3),ei=vr[0],cr=vr[1],ko=vr[2],Ao=function(pr){fa(pr),Sa(pr),Li&&!Se(Kn,Dr,pr)&&Li(pr,pr?_e(pr,{generateConfig:Kn,locale:ln,format:ta[0]}):"")},fi=function(pr){bo&&pr||zr(pr)},gr=function(pr){return Ka&&qa.current&&qa.current.onKeyDown?qa.current.onKeyDown(pr):((0,ve.ZP)(!1,"Picker not correct forward KeyDown operation. Please help to fire issue about this."),!1)},or=function(){for(var pr=arguments.length,hi=new Array(pr),Ti=0;Ti<pr;Ti++)hi[Ti]=arguments[Ti];Ot==null||Ot.apply(void 0,hi),Wn.current&&(Wn.current.focus(),fi(!0))},ir=function(pr){Fn&&Ao(da),pe==null||pe(pr)},Wa=Qa({blurToCancel:zn,open:Ka,value:ei,triggerOpen:fi,forwardKeyDown:gr,isClickOutside:function(pr){return!Cr([ma.current,Ya.current,rr.current],pr)},onSubmit:function(){return!da||Bo&&Bo(da)?!1:(Ao(da),fi(!1),ko(),!0)},onCancel:function(){fi(!1),fa(Dr),ko()},onKeyDown:function(pr,hi){At==null||At(pr,hi)},onFocus:ce,onBlur:ir,changeOnBlur:Fn}),Na=(0,Kt.Z)(Wa,2),An=Na[0],va=Na[1],Br=va.focused,Qr=va.typing;ae.useEffect(function(){Ka||(fa(Dr),!Vr.length||Vr[0]===""?cr(""):Vo!==ei&&ko())},[Ka,Vr]),ae.useEffect(function(){Ka||ko()},[$a]),ae.useEffect(function(){fa(Dr)},[Dr]),To&&(To.current={focus:function(){var pr;(pr=Wn.current)===null||pr===void 0||pr.focus()},blur:function(){var pr;(pr=Wn.current)===null||pr===void 0||pr.blur()}});var Ni=fn(ei,{formatList:ta,generateConfig:Kn,locale:ln}),bi=(0,Kt.Z)(Ni,3),Ji=bi[0],si=bi[1],ri=bi[2],lr=(0,Xt.Z)((0,Xt.Z)({},le),{},{className:void 0,style:void 0,pickerValue:void 0,onPickerValueChange:void 0,onChange:null}),Ri=ae.createElement("div",{className:"".concat(Qe,"-panel-layout")},ae.createElement(nl,{prefixCls:Qe,presets:ua,onClick:function(pr){Ao(pr),fi(!1)}}),ae.createElement(Eo,(0,oe.Z)({},lr,{generateConfig:Kn,className:Xe()((0,Fe.Z)({},"".concat(Qe,"-panel-focused"),!Qr)),value:da,locale:ln,tabIndex:-1,onSelect:function(pr){$t==null||$t(pr),fa(pr)},direction:Gt,onPanelChange:function(pr,hi){var Ti=le.onPanelChange;ri(!0),Ti==null||Ti(pr,hi)}})));_o&&(Ri=_o(Ri));var ji=ae.createElement("div",{className:"".concat(Qe,"-panel-container"),ref:ma,onMouseDown:function(pr){pr.preventDefault()}},Ri),No;mi&&(No=ae.createElement("span",{className:"".concat(Qe,"-suffix"),onMouseDown:function(pr){pr.preventDefault()}},mi));var Zo=zi(Qe,Jn,Go),ii=ae.createElement("span",{onMouseDown:function(pr){pr.preventDefault(),pr.stopPropagation()},onMouseUp:function(pr){pr.preventDefault(),pr.stopPropagation(),Ao(null),fi(!1)},className:"".concat(Qe,"-clear"),role:"button"},Zo),Pi=!!Jn&&Dr&&!bo,pi=(0,Xt.Z)((0,Xt.Z)((0,Xt.Z)({id:Mt,tabIndex:un,disabled:bo,readOnly:wn||typeof ta[0]=="function"||!Qr,value:Ji||ei,onChange:function(pr){cr(pr.target.value)},autoFocus:Ta,placeholder:Yo,ref:Wn,title:ei},An),{},{size:$n($a,ta[0],Kn),name:xt},(0,Pt.Z)(le,{aria:!0,data:!0})),{},{autoComplete:Cn}),uo=Pn?Pn(pi):ae.createElement("input",pi),Gi=function(pr,hi){(hi==="submit"||hi!=="key"&&!zn)&&(Ao(pr),fi(!1))},Ii=Gt==="rtl"?"bottomRight":"bottomLeft";return ae.createElement(cn.Provider,{value:{operationRef:qa,hideHeader:$a==="time",onSelect:Gi,open:Ka,defaultOpenValue:ni,onDateMouseEnter:si,onDateMouseLeave:ri}},ae.createElement(Zi,{visible:Ka,popupElement:ji,popupStyle:Ln,prefixCls:Qe,dropdownClassName:ia,dropdownAlign:Bn,getPopupContainer:ai,transitionName:Gn,popupPlacement:Ii,direction:Gt},ae.createElement("div",{ref:rr,className:Xe()(Qe,hn,(de={},(0,Fe.Z)(de,"".concat(Qe,"-disabled"),bo),(0,Fe.Z)(de,"".concat(Qe,"-focused"),Br),(0,Fe.Z)(de,"".concat(Qe,"-rtl"),Gt==="rtl"),de)),style:on,onMouseDown:Te,onMouseUp:Ve,onMouseEnter:at,onMouseLeave:ot,onContextMenu:Nt,onClick:or},ae.createElement("div",{className:Xe()("".concat(Qe,"-input"),(0,Fe.Z)({},"".concat(Qe,"-input-placeholder"),!!Ji)),ref:Ya},uo,No,Pi&&ii))))}var ul=function(le){(0,St.Z)(ge,le);var de=(0,dn.Z)(ge);function ge(){var $e;(0,st.Z)(this,ge);for(var Qe=arguments.length,Mt=new Array(Qe),xt=0;xt<Qe;xt++)Mt[xt]=arguments[xt];return $e=de.call.apply(de,[this].concat(Mt)),(0,Fe.Z)((0,It.Z)($e),"pickerRef",ae.createRef()),(0,Fe.Z)((0,It.Z)($e),"focus",function(){$e.pickerRef.current&&$e.pickerRef.current.focus()}),(0,Fe.Z)((0,It.Z)($e),"blur",function(){$e.pickerRef.current&&$e.pickerRef.current.blur()}),$e}return(0,Lt.Z)(ge,[{key:"render",value:function(){return ae.createElement(Fi,(0,oe.Z)({},this.props,{pickerRef:this.pickerRef}))}}]),ge}(ae.Component),_i=ul;function rl(le,de){var ge=le.picker,$e=le.locale,Qe=le.selectedValue,Mt=le.disabledDate,xt=le.disabled,un=le.generateConfig,on=Xa(Qe,0),hn=Xa(Qe,1);function ia(ln){return un.locale.getWeekFirstDate($e.locale,ln)}function Bn(ln){var wn=un.getYear(ln),Jn=un.getMonth(ln);return wn*100+Jn}function Ln(ln){var wn=un.getYear(ln),Jn=je(un,ln);return wn*10+Jn}var Gn=ae.useCallback(function(ln){if(xt[0]||Mt&&Mt(ln))return!0;if(xt[1]&&hn)return!mt(un,ln,hn)&&un.isAfter(ln,hn);if(!de&&hn)switch(ge){case"quarter":return Ln(ln)>Ln(hn);case"month":return Bn(ln)>Bn(hn);case"week":return ia(ln)>ia(hn);default:return!mt(un,ln,hn)&&un.isAfter(ln,hn)}return!1},[Mt,xt[1],hn,de]),Kn=ae.useCallback(function(ln){if(xt[1]||Mt&&Mt(ln))return!0;if(xt[0]&&on)return!mt(un,ln,hn)&&un.isAfter(on,ln);if(!de&&on)switch(ge){case"quarter":return Ln(ln)<Ln(on);case"month":return Bn(ln)<Bn(on);case"week":return ia(ln)<ia(on);default:return!mt(un,ln,on)&&un.isAfter(on,ln)}return!1},[Mt,xt[0],on,de]);return[Gn,Kn]}var Ut=te(70425),Ht=te(6089);function Zt(le,de,ge,$e,Qe,Mt,xt,un,on,hn){var ia=ae.useState(!1),Bn=(0,Kt.Z)(ia,2),Ln=Bn[0],Gn=Bn[1],Kn=(0,Ut.useMergedState)(le||!1,{value:de}),ln=(0,Kt.Z)(Kn,2),wn=ln[0],Jn=ln[1],Ta=(0,Ut.useMergedState)(le||!1,{value:de,onChange:function(Bo){hn==null||hn(Bo)}}),Ba=(0,Kt.Z)(Ta,2),za=Ba[0],$a=Ba[1],ja=(0,Ut.useMergedState)(0,{value:ge}),xa=(0,Kt.Z)(ja,2),so=xa[0],Hr=xa[1],fo=ae.useState(null),Oo=(0,Kt.Z)(fo,2),Wo=Oo[0],ni=Oo[1];ae.useEffect(function(){za&&Gn(!0)},[za]);var mi=function(Bo){return Bo===0?1:0},Go=(0,Ht.Z)(function(bo,Bo,Yo){if(Bo===!1)$a(bo);else if(bo){Hr(Bo),$a(bo);var ai=mi(Bo);!za||![xt,un][ai]?ni(ai):(Gn(!1),Wo!==null&&ni(null))}else if(Yo==="confirm"||Yo==="blur"&&$e){var To=wn?mi(Bo):Wo;To!==null&&(Gn(!1),Hr(To)),ni(null),To!==null&&!on[To]?(0,Bt.Z)(function(){var _o,Li=[Qe,Mt][To];(_o=Li.current)===null||_o===void 0||_o.focus()}):$a(!1)}else $a(!1),Jn(!1)});return[za,so,Ln,Go]}function ba(le,de,ge,$e){var Qe=Ae(le,ge,$e,1);function Mt(xt){return xt(le,de)?"same":xt(Qe,de)?"closing":"far"}switch(ge){case"year":return Mt(function(xt,un){return Le($e,xt,un)});case"quarter":case"month":return Mt(function(xt,un){return he($e,xt,un)});default:return Mt(function(xt,un){return we($e,xt,un)})}}function Va(le,de,ge,$e){var Qe=Xa(le,0),Mt=Xa(le,1);if(de===0)return Qe;if(Qe&&Mt){var xt=ba(Qe,Mt,ge,$e);switch(xt){case"same":return Qe;case"closing":return Qe;default:return Ae(Mt,ge,$e,-1)}}return Qe}function Fa(le){var de=le.values,ge=le.picker,$e=le.defaultDates,Qe=le.generateConfig,Mt=ae.useState(function(){return[Xa($e,0),Xa($e,1)]}),xt=(0,Kt.Z)(Mt,2),un=xt[0],on=xt[1],hn=ae.useState(null),ia=(0,Kt.Z)(hn,2),Bn=ia[0],Ln=ia[1],Gn=Xa(de,0),Kn=Xa(de,1);function ln(Jn){return un[Jn]?un[Jn]:Xa(Bn,Jn)||Va(de,Jn,ge,Qe)||Gn||Kn||Qe.getNow()}function wn(Jn,Ta){if(Jn){var Ba=In(Bn,Jn,Ta);on(In(un,null,Ta)||[null,null]);var za=(Ta+1)%2;Xa(de,za)||(Ba=In(Ba,Jn,za)),Ln(Ba)}else(Gn||Kn)&&Ln(null)}return[ln,wn]}function Mn(le,de){return le&&le[0]&&le[1]&&de.isAfter(le[0],le[1])?[le[1],le[0]]:le}function Ua(le,de,ge,$e){return!!(le||$e&&$e[de]||ge[(de+1)%2])}function vn(le){var de,ge,$e,Qe=le,Mt=Qe.prefixCls,xt=Mt===void 0?"rc-picker":Mt,un=Qe.id,on=Qe.style,hn=Qe.className,ia=Qe.popupStyle,Bn=Qe.dropdownClassName,Ln=Qe.transitionName,Gn=Qe.dropdownAlign,Kn=Qe.getPopupContainer,ln=Qe.generateConfig,wn=Qe.locale,Jn=Qe.placeholder,Ta=Qe.autoFocus,Ba=Qe.disabled,za=Qe.format,$a=Qe.picker,ja=$a===void 0?"date":$a,xa=Qe.showTime,so=Qe.use12Hours,Hr=Qe.separator,fo=Hr===void 0?"~":Hr,Oo=Qe.value,Wo=Qe.defaultValue,ni=Qe.defaultPickerValue,mi=Qe.open,Go=Qe.defaultOpen,bo=Qe.disabledDate,Bo=Qe.disabledTime,Yo=Qe.dateRender,ai=Qe.monthCellRender,To=Qe.cellRender,_o=Qe.panelRender,Li=Qe.presets,Ci=Qe.ranges,ce=Qe.allowEmpty,pe=Qe.allowClear,Te=Qe.suffixIcon,Ve=Qe.clearIcon,at=Qe.pickerRef,ot=Qe.inputReadOnly,Nt=Qe.mode,Ot=Qe.renderExtraFooter,At=Qe.onChange,$t=Qe.onOpenChange,Gt=Qe.onPanelChange,Wt=Qe.onCalendarChange,Cn=Qe.onFocus,Pn=Qe.onBlur,Fn=Qe.onMouseDown,Wn=Qe.onMouseUp,zn=Qe.onMouseEnter,ua=Qe.onMouseLeave,ta=Qe.onClick,ma=Qe.onOk,Ya=Qe.onKeyDown,rr=Qe.components,ka=Qe.order,Ja=Qe.direction,Dr=Qe.activePickerIndex,Sa=Qe.autoComplete,_a=Sa===void 0?"off":Sa,wa=Qe.changeOnBlur,da=ja==="date"&&!!xa||ja==="time",fa=(0,ae.useRef)(null),qa=(0,ae.useRef)(null),Gr=(0,ae.useRef)(null),Lr=(0,ae.useRef)(null),Ka=(0,ae.useRef)(null),zr=(0,ae.useRef)(null),Wr=(0,ae.useRef)(null),Jr=(0,ae.useRef)(null),Vr=oo(rn(za,ja,xa,so)),Vo=(0,ae.useRef)(null),lo=ae.useMemo(function(){return Array.isArray(Ba)?Ba:[Ba||!1,Ba||!1]},[Ba]),vr=(0,jn.Z)(null,{value:Oo,defaultValue:Wo,postState:function(yr){return ja==="time"&&!ka?yr:Mn(yr,ln)}}),ei=(0,Kt.Z)(vr,2),cr=ei[0],ko=ei[1],Ao=Fa({values:cr,picker:ja,defaultDates:ni,generateConfig:ln}),fi=(0,Kt.Z)(Ao,2),gr=fi[0],or=fi[1],ir=(0,jn.Z)(cr,{postState:function(yr){var qr=yr;if(lo[0]&&lo[1])return qr;for(var Xo=0;Xo<2;Xo+=1)lo[Xo]&&!qr&&!Xa(qr,Xo)&&!Xa(ce,Xo)&&(qr=In(qr,ln.getNow(),Xo));return qr}}),Wa=(0,Kt.Z)(ir,2),Na=Wa[0],An=Wa[1],va=(0,jn.Z)([ja,ja],{value:Nt}),Br=(0,Kt.Z)(va,2),Qr=Br[0],Ni=Br[1];(0,ae.useEffect)(function(){Ni([ja,ja])},[ja]);var bi=function(yr,qr){Ni(yr),Gt&&Gt(qr,yr)},Ji=Zt(Go,mi,Dr,wa,zr,Wr,Xa(Na,0),Xa(Na,1),lo,$t),si=(0,Kt.Z)(Ji,4),ri=si[0],lr=si[1],Ri=si[2],ji=si[3],No=ri&&lr===0,Zo=ri&&lr===1,ii=rl({picker:ja,selectedValue:Na,locale:wn,disabled:lo,disabledDate:bo,generateConfig:ln},!ri||Ri),Pi=(0,Kt.Z)(ii,2),pi=Pi[0],uo=Pi[1],Gi=(0,ae.useState)(0),Ii=(0,Kt.Z)(Gi,2),zo=Ii[0],pr=Ii[1];(0,ae.useEffect)(function(){!ri&&fa.current&&pr(fa.current.offsetWidth)},[ri]);function hi(Uo){ji(!0,Uo,"open"),(0,Bt.Z)(function(){var yr,qr=[zr,Wr][Uo];(yr=qr.current)===null||yr===void 0||yr.focus()},0)}function Ti(Uo,yr){var qr=Uo,Xo=Xa(qr,0),xi=Xa(qr,1);Xo&&xi&&ln.isAfter(Xo,xi)&&(ja==="week"&&!jt(ln,wn.locale,Xo,xi)||ja==="quarter"&&!We(ln,Xo,xi)||ja!=="week"&&ja!=="quarter"&&ja!=="time"&&!mt(ln,Xo,xi)?yr===0?(qr=[Xo,null],xi=null):(Xo=null,qr=[null,xi]):(ja!=="time"||ka!==!1)&&(qr=Mn(qr,ln))),An(qr);var Ml=qr&&qr[0]?_e(qr[0],{generateConfig:ln,locale:wn,format:Vr[0]}):"",gl=qr&&qr[1]?_e(qr[1],{generateConfig:ln,locale:wn,format:Vr[0]}):"";if(Wt){var yl={range:yr===0?"start":"end"};Wt(qr,[Ml,gl],yl)}var El=Ua(Xo,0,lo,ce),Jl=Ua(xi,1,lo,ce),xl=qr===null||El&&Jl;xl&&(ko(qr),At&&(!Se(ln,Xa(cr,0),Xo)||!Se(ln,Xa(cr,1),xi))&&At(qr,[Ml,gl]))}var sl=function(yr){return ri&&Vo.current&&Vo.current.onKeyDown?Vo.current.onKeyDown(yr):((0,ve.ZP)(!1,"Picker not correct forward KeyDown operation. Please help to fire issue about this."),!1)},el={formatList:Vr,generateConfig:ln,locale:wn},Qi=zt(Xa(Na,0),el),Wi=(0,Kt.Z)(Qi,2),yi=Wi[0],gi=Wi[1],ol=zt(Xa(Na,1),el),fl=(0,Kt.Z)(ol,2),al=fl[0],il=fl[1],Cl=function(yr,qr){var Xo=ct(yr,{locale:wn,formatList:Vr,generateConfig:ln}),xi=qr===0?pi:uo;Xo&&!xi(Xo)&&(An(In(Na,Xo,qr)),or(Xo,qr))},Rl=Dt({valueTexts:yi,onTextChange:function(yr){return Cl(yr,0)}}),Po=(0,Kt.Z)(Rl,3),Qo=Po[0],ki=Po[1],di=Po[2],Vi=Dt({valueTexts:al,onTextChange:function(yr){return Cl(yr,1)}}),Ui=(0,Kt.Z)(Vi,3),Ki=Ui[0],ll=Ui[1],Tl=Ui[2],du=(0,ae.useState)(null),kl=(0,Kt.Z)(du,2),cu=kl[0],ql=kl[1],Dl=(0,ae.useState)(null),pl=(0,Kt.Z)(Dl,2),hl=pl[0],eu=pl[1],tu=fn(Qo,{formatList:Vr,generateConfig:ln,locale:wn}),Zl=(0,Kt.Z)(tu,3),zl=Zl[0],Bl=Zl[1],Al=Zl[2],gu=fn(Ki,{formatList:Vr,generateConfig:ln,locale:wn}),Ll=(0,Kt.Z)(gu,3),_l=Ll[0],mu=Ll[1],Hl=Ll[2],fu=function(yr){eu(In(Na,yr,lr)),lr===0?Bl(yr):mu(yr)},nu=function(){eu(In(Na,null,lr)),lr===0?Al():Hl()},Ol=ae.useState(ri),Nl=(0,Kt.Z)(Ol,2),jl=Nl[0],au=Nl[1];ae.useEffect(function(){au(ri)},[ri]);var ru=function(yr){if(wa&&jl){var qr=Xa(Na,lr);qr&&Ti(Na,lr)}return Pn==null?void 0:Pn(yr)},Gl=function(yr,qr){return{blurToCancel:!wa&&da,forwardKeyDown:sl,onBlur:ru,isClickOutside:function(xi){return!Cr([qa.current,Gr.current,Lr.current,fa.current],xi)},onFocus:function(xi){Cn&&Cn(xi)},triggerOpen:function(xi){xi?ji(xi,yr,"open"):ji(xi,Xa(Na,yr)?yr:!1,"blur")},onSubmit:function(){if(!Na||bo&&bo(Na[yr]))return!1;Ti(Na,yr),qr(),ji(!1,lr,"confirm")},onCancel:function(){ji(!1,yr,"cancel"),An(cr),qr()}}},Kl={onKeyDown:function(yr,qr){Ya==null||Ya(yr,qr)},changeOnBlur:wa},pu=Qa((0,Xt.Z)((0,Xt.Z)({},Gl(0,di)),{},{open:No,value:Qo},Kl)),Wl=(0,Kt.Z)(pu,2),Vl=Wl[0],Ul=Wl[1],Il=Ul.focused,$l=Ul.typing,hu=Qa((0,Xt.Z)((0,Xt.Z)({},Gl(1,Tl)),{},{open:Zo,value:Ki},Kl)),Ho=(0,Kt.Z)(hu,2),ci=Ho[0],tl=Ho[1],dl=tl.focused,cl=tl.typing,ou=function(yr){ta&&ta(yr),!ri&&!zr.current.contains(yr.target)&&!Wr.current.contains(yr.target)&&(lo[0]?lo[1]||hi(1):hi(0))},Yl=function(yr){Fn&&Fn(yr),ri&&(Il||dl)&&!zr.current.contains(yr.target)&&!Wr.current.contains(yr.target)&&yr.preventDefault()},Ql=cr&&cr[0]?_e(cr[0],{locale:wn,format:"YYYYMMDDHHmmss",generateConfig:ln}):"",Xl=cr&&cr[1]?_e(cr[1],{locale:wn,format:"YYYYMMDDHHmmss",generateConfig:ln}):"";(0,ae.useEffect)(function(){ri||(An(cr),!yi.length||yi[0]===""?ki(""):gi!==Qo&&di(),!al.length||al[0]===""?ll(""):il!==Ki&&Tl())},[ri,yi,al]),(0,ae.useEffect)(function(){An(cr)},[Ql,Xl]);var bl=Xr({cellRender:To,monthCellRender:ai,dateRender:Yo}),Lu=ae.useMemo(function(){if(bl)return function(Uo,yr){return bl(Uo,(0,Xt.Z)((0,Xt.Z)({},yr),{},{range:lr?"end":"start"}))}},[lr,bl]);at&&(at.current={focus:function(){zr.current&&zr.current.focus()},blur:function(){zr.current&&zr.current.blur(),Wr.current&&Wr.current.blur()}});var Ou=tt(Li,Ci);function vu(){var Uo=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1,yr=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},qr=null;ri&&hl&&hl[0]&&hl[1]&&ln.isAfter(hl[1],hl[0])&&(qr=hl);var Xo=xa;if(xa&&(0,On.Z)(xa)==="object"&&xa.defaultValue){var xi=xa.defaultValue;Xo=(0,Xt.Z)((0,Xt.Z)({},xa),{},{defaultValue:Xa(xi,lr)||void 0})}return ae.createElement(er.Provider,{value:{inRange:!0,panelPosition:Uo,rangedValue:cu||Na,hoverRangedValue:qr}},ae.createElement(Eo,(0,oe.Z)({},le,yr,{cellRender:Lu,showTime:Xo,mode:Qr[lr],generateConfig:ln,style:void 0,direction:Ja,disabledDate:lr===0?pi:uo,disabledTime:function(gl){return Bo?Bo(gl,lr===0?"start":"end"):!1},className:Xe()((0,Fe.Z)({},"".concat(xt,"-panel-focused"),lr===0?!$l:!cl)),value:Xa(Na,lr),locale:wn,tabIndex:-1,onPanelChange:function(gl,yl){lr===0&&Al(!0),lr===1&&Hl(!0),bi(In(Qr,yl,lr),In(Na,gl,lr));var El=gl;Uo==="right"&&Qr[lr]===yl&&(El=Ae(El,yl,ln,-1)),or(El,lr)},onOk:null,onSelect:void 0,onChange:void 0,defaultValue:lr===0?Xa(Na,1):Xa(Na,0)})))}var Pl=0,Eu=0;if(lr&&Gr.current&&Ka.current&&qa.current&&Jr.current){Pl=Gr.current.offsetWidth+Ka.current.offsetWidth;var Nu=Jr.current.offsetLeft>Pl?Jr.current.offsetLeft-Pl:Jr.current.offsetLeft,Cu=qa.current.offsetWidth,bu=Jr.current.offsetWidth;Cu&&bu&&Pl>Cu-bu-(Ja==="rtl"?0:Nu)&&(Eu=Pl)}var Iu=Ja==="rtl"?{right:Pl}:{left:Pl};function Mu(){var Uo,yr=Rr(xt,Qr[lr],Ot),qr=ro({prefixCls:xt,components:rr,needConfirmButton:da,okDisabled:!Xa(Na,lr)||bo&&bo(Na[lr]),locale:wn,onOk:function(){var ml=Xa(Na,lr);ml&&(Ti(Na,lr),ma==null||ma(Na),ji(!1,lr,"confirm"))}});if(ja!=="time"&&!xa){var Xo=gr(lr),xi=Ae(Xo,ja,ln),Ml=Qr[lr],gl=Ml===ja,yl=vu(gl?"left":!1,{pickerValue:Xo,onPickerValueChange:function(ml){or(ml,lr)}}),El=vu("right",{pickerValue:xi,onPickerValueChange:function(ml){or(Ae(ml,ja,ln,-1),lr)}});Ja==="rtl"?Uo=ae.createElement(ae.Fragment,null,El,gl&&yl):Uo=ae.createElement(ae.Fragment,null,yl,gl&&El)}else Uo=vu();var Jl=ae.createElement("div",{className:"".concat(xt,"-panel-layout")},ae.createElement(nl,{prefixCls:xt,presets:Ou,onClick:function(ml){Ti(ml,null),ji(!1,lr,"preset")},onHover:function(ml){ql(ml)}}),ae.createElement("div",null,ae.createElement("div",{className:"".concat(xt,"-panels")},Uo),(yr||qr)&&ae.createElement("div",{className:"".concat(xt,"-footer")},yr,qr)));return _o&&(Jl=_o(Jl)),ae.createElement("div",{className:"".concat(xt,"-panel-container"),style:{marginLeft:Eu},ref:qa,onMouseDown:function(ml){ml.preventDefault()}},Jl)}var Ru=ae.createElement("div",{className:Xe()("".concat(xt,"-range-wrapper"),"".concat(xt,"-").concat(ja,"-range-wrapper")),style:{minWidth:zo}},ae.createElement("div",{ref:Jr,className:"".concat(xt,"-range-arrow"),style:Iu}),Mu()),xu;Te&&(xu=ae.createElement("span",{className:"".concat(xt,"-suffix"),onMouseDown:function(yr){yr.preventDefault()}},Te));var Tu=zi(xt,pe,Ve),ku=ae.createElement("span",{onMouseDown:function(yr){yr.preventDefault(),yr.stopPropagation()},onMouseUp:function(yr){yr.preventDefault(),yr.stopPropagation();var qr=cr;lo[0]||(qr=In(qr,null,0)),lo[1]||(qr=In(qr,null,1)),Ti(qr,null),ji(!1,lr,"clear")},className:"".concat(xt,"-clear"),role:"button"},Tu),Zu=pe&&(Xa(cr,0)&&!lo[0]||Xa(cr,1)&&!lo[1]),wu={size:$n(ja,Vr[0],ln)},Su=0,Pu=0;Gr.current&&Lr.current&&Ka.current&&(lr===0?Pu=Gr.current.offsetWidth:(Su=Pl,Pu=Lr.current.offsetWidth));var zu=Ja==="rtl"?{right:Su}:{left:Su},_u=function(yr,qr){var Xo=In(Na,yr,lr);if(qr==="submit"||qr!=="key"&&!da){Ti(Xo,lr),lr===0?Al():Hl();var xi=lr===0?1:0;lo[xi]?ji(!1,!1,"confirm"):ji(!1,lr,"confirm")}else An(Xo)};return ae.createElement(cn.Provider,{value:{operationRef:Vo,hideHeader:ja==="time",onDateMouseEnter:fu,onDateMouseLeave:nu,hideRanges:!0,onSelect:_u,open:ri}},ae.createElement(Zi,{visible:ri,popupElement:Ru,popupStyle:ia,prefixCls:xt,dropdownClassName:Bn,dropdownAlign:Gn,getPopupContainer:Kn,transitionName:Ln,range:!0,direction:Ja},ae.createElement("div",(0,oe.Z)({ref:fa,className:Xe()(xt,"".concat(xt,"-range"),hn,(de={},(0,Fe.Z)(de,"".concat(xt,"-disabled"),lo[0]&&lo[1]),(0,Fe.Z)(de,"".concat(xt,"-focused"),lr===0?Il:dl),(0,Fe.Z)(de,"".concat(xt,"-rtl"),Ja==="rtl"),de)),style:on,onClick:ou,onMouseEnter:zn,onMouseLeave:ua,onMouseDown:Yl,onMouseUp:Wn},(0,Pt.Z)(le,{aria:!0,data:!0})),ae.createElement("div",{className:Xe()("".concat(xt,"-input"),(ge={},(0,Fe.Z)(ge,"".concat(xt,"-input-active"),lr===0),(0,Fe.Z)(ge,"".concat(xt,"-input-placeholder"),!!zl),ge)),ref:Gr},ae.createElement("input",(0,oe.Z)({id:un,disabled:lo[0],readOnly:ot||typeof Vr[0]=="function"||!$l,value:zl||Qo,onChange:function(yr){ki(yr.target.value)},autoFocus:Ta,placeholder:Xa(Jn,0)||"",ref:zr},Vl,wu,{autoComplete:_a}))),ae.createElement("div",{className:"".concat(xt,"-range-separator"),ref:Ka},fo),ae.createElement("div",{className:Xe()("".concat(xt,"-input"),($e={},(0,Fe.Z)($e,"".concat(xt,"-input-active"),lr===1),(0,Fe.Z)($e,"".concat(xt,"-input-placeholder"),!!_l),$e)),ref:Lr},ae.createElement("input",(0,oe.Z)({disabled:lo[1],readOnly:ot||typeof Vr[0]=="function"||!cl,value:_l||Ki,onChange:function(yr){ll(yr.target.value)},placeholder:Xa(Jn,1)||"",ref:Wr},ci,wu,{autoComplete:_a}))),ae.createElement("div",{className:"".concat(xt,"-active-bar"),style:(0,Xt.Z)((0,Xt.Z)({},zu),{},{width:Pu,position:"absolute"})}),xu,Zu&&ku)))}var Za=function(le){(0,St.Z)(ge,le);var de=(0,dn.Z)(ge);function ge(){var $e;(0,st.Z)(this,ge);for(var Qe=arguments.length,Mt=new Array(Qe),xt=0;xt<Qe;xt++)Mt[xt]=arguments[xt];return $e=de.call.apply(de,[this].concat(Mt)),(0,Fe.Z)((0,It.Z)($e),"pickerRef",ae.createRef()),(0,Fe.Z)((0,It.Z)($e),"focus",function(){$e.pickerRef.current&&$e.pickerRef.current.focus()}),(0,Fe.Z)((0,It.Z)($e),"blur",function(){$e.pickerRef.current&&$e.pickerRef.current.blur()}),$e}return(0,Lt.Z)(ge,[{key:"render",value:function(){return ae.createElement(vn,(0,oe.Z)({},this.props,{pickerRef:this.pickerRef}))}}]),ge}(ae.Component),Da=Za,Io=_i,Ma=te(19080),$o=te(36355),Si=te(1684),Ko=te(19716),Sr=te(32441),Pr=te(9763),Xn=te(33234),ao=te(48183),oi=te(64993),ha=te(9937),ca=te(17313),eo=te(47585),Ai=te(74207),kn=te(13826),tr=te(92899),aa=te(37613),an=te(83116);const Vn=(le,de,ge,$e)=>{const{lineHeight:Qe}=le,Mt=Math.floor(ge*Qe)+2,xt=Math.max((de-Mt)/2,0),un=Math.max(de-Mt-xt,0);return{padding:`${xt}px ${$e}px ${un}px`}},bn=le=>{const{componentCls:de,pickerCellCls:ge,pickerCellInnerCls:$e,cellHeight:Qe,motionDurationSlow:Mt,borderRadiusSM:xt,motionDurationMid:un,cellHoverBg:on,lineWidth:hn,lineType:ia,colorPrimary:Bn,cellActiveWithRangeBg:Ln,colorTextLightSolid:Gn,controlHeightSM:Kn,cellRangeBorderColor:ln,pickerCellBorderGap:wn,cellHoverWithRangeBg:Jn,cellWidth:Ta,colorTextDisabled:Ba,cellBgDisabled:za}=le;return{"&::before":{position:"absolute",top:"50%",insetInlineStart:0,insetInlineEnd:0,zIndex:1,height:Qe,transform:"translateY(-50%)",transition:`all ${Mt}`,content:'""'},[$e]:{position:"relative",zIndex:2,display:"inline-block",minWidth:Qe,height:Qe,lineHeight:`${Qe}px`,borderRadius:xt,transition:`background ${un}, border ${un}`},"&-range-hover-start, &-range-hover-end":{[$e]:{borderStartEndRadius:0,borderEndEndRadius:0}},[`&:hover:not(${ge}-in-view),
|
|
&:hover:not(${ge}-selected):not(${ge}-range-start):not(${ge}-range-end):not(${ge}-range-hover-start):not(${ge}-range-hover-end)`]:{[$e]:{background:on}},[`&-in-view${ge}-today ${$e}`]:{"&::before":{position:"absolute",top:0,insetInlineEnd:0,bottom:0,insetInlineStart:0,zIndex:1,border:`${hn}px ${ia} ${Bn}`,borderRadius:xt,content:'""'}},[`&-in-view${ge}-in-range`]:{position:"relative","&::before":{background:Ln}},[`&-in-view${ge}-selected ${$e},
|
|
&-in-view${ge}-range-start ${$e},
|
|
&-in-view${ge}-range-end ${$e}`]:{color:Gn,background:Bn},[`&-in-view${ge}-range-start:not(${ge}-range-start-single),
|
|
&-in-view${ge}-range-end:not(${ge}-range-end-single)`]:{"&::before":{background:Ln}},[`&-in-view${ge}-range-start::before`]:{insetInlineStart:"50%"},[`&-in-view${ge}-range-end::before`]:{insetInlineEnd:"50%"},[`&-in-view${ge}-range-hover-start:not(${ge}-in-range):not(${ge}-range-start):not(${ge}-range-end),
|
|
&-in-view${ge}-range-hover-end:not(${ge}-in-range):not(${ge}-range-start):not(${ge}-range-end),
|
|
&-in-view${ge}-range-hover-start${ge}-range-start-single,
|
|
&-in-view${ge}-range-hover-start${ge}-range-start${ge}-range-end${ge}-range-end-near-hover,
|
|
&-in-view${ge}-range-hover-end${ge}-range-start${ge}-range-end${ge}-range-start-near-hover,
|
|
&-in-view${ge}-range-hover-end${ge}-range-end-single,
|
|
&-in-view${ge}-range-hover:not(${ge}-in-range)`]:{"&::after":{position:"absolute",top:"50%",zIndex:0,height:Kn,borderTop:`${hn}px dashed ${ln}`,borderBottom:`${hn}px dashed ${ln}`,transform:"translateY(-50%)",transition:`all ${Mt}`,content:'""'}},"&-range-hover-start::after,\n &-range-hover-end::after,\n &-range-hover::after":{insetInlineEnd:0,insetInlineStart:wn},[`&-in-view${ge}-in-range${ge}-range-hover::before,
|
|
&-in-view${ge}-in-range${ge}-range-hover-start::before,
|
|
&-in-view${ge}-in-range${ge}-range-hover-end::before,
|
|
&-in-view${ge}-range-start${ge}-range-hover::before,
|
|
&-in-view${ge}-range-end${ge}-range-hover::before,
|
|
&-in-view${ge}-range-start:not(${ge}-range-start-single)${ge}-range-hover-start::before,
|
|
&-in-view${ge}-range-end:not(${ge}-range-end-single)${ge}-range-hover-end::before,
|
|
${de}-panel
|
|
> :not(${de}-date-panel)
|
|
&-in-view${ge}-in-range${ge}-range-hover-start::before,
|
|
${de}-panel
|
|
> :not(${de}-date-panel)
|
|
&-in-view${ge}-in-range${ge}-range-hover-end::before`]:{background:Jn},[`&-in-view${ge}-range-start:not(${ge}-range-start-single):not(${ge}-range-end) ${$e}`]:{borderStartStartRadius:xt,borderEndStartRadius:xt,borderStartEndRadius:0,borderEndEndRadius:0},[`&-in-view${ge}-range-end:not(${ge}-range-end-single):not(${ge}-range-start) ${$e}`]:{borderStartStartRadius:0,borderEndStartRadius:0,borderStartEndRadius:xt,borderEndEndRadius:xt},[`&-range-hover${ge}-range-end::after`]:{insetInlineStart:"50%"},[`tr > &-in-view${ge}-range-hover:first-child::after,
|
|
tr > &-in-view${ge}-range-hover-end:first-child::after,
|
|
&-in-view${ge}-start${ge}-range-hover-edge-start${ge}-range-hover-edge-start-near-range::after,
|
|
&-in-view${ge}-range-hover-edge-start:not(${ge}-range-hover-edge-start-near-range)::after,
|
|
&-in-view${ge}-range-hover-start::after`]:{insetInlineStart:(Ta-Qe)/2,borderInlineStart:`${hn}px dashed ${ln}`,borderStartStartRadius:xt,borderEndStartRadius:xt},[`tr > &-in-view${ge}-range-hover:last-child::after,
|
|
tr > &-in-view${ge}-range-hover-start:last-child::after,
|
|
&-in-view${ge}-end${ge}-range-hover-edge-end${ge}-range-hover-edge-end-near-range::after,
|
|
&-in-view${ge}-range-hover-edge-end:not(${ge}-range-hover-edge-end-near-range)::after,
|
|
&-in-view${ge}-range-hover-end::after`]:{insetInlineEnd:(Ta-Qe)/2,borderInlineEnd:`${hn}px dashed ${ln}`,borderStartEndRadius:xt,borderEndEndRadius:xt},"&-disabled":{color:Ba,pointerEvents:"none",[$e]:{background:"transparent"},"&::before":{background:za}},[`&-disabled${ge}-today ${$e}::before`]:{borderColor:Ba}}},$r=le=>{const{componentCls:de,pickerCellCls:ge,pickerCellInnerCls:$e,pickerYearMonthCellWidth:Qe,pickerControlIconSize:Mt,cellWidth:xt,paddingSM:un,paddingXS:on,paddingXXS:hn,colorBgContainer:ia,lineWidth:Bn,lineType:Ln,borderRadiusLG:Gn,colorPrimary:Kn,colorTextHeading:ln,colorSplit:wn,pickerControlIconBorderWidth:Jn,colorIcon:Ta,textHeight:Ba,motionDurationMid:za,colorIconHover:$a,fontWeightStrong:ja,cellHeight:xa,pickerCellPaddingVertical:so,colorTextDisabled:Hr,colorText:fo,fontSize:Oo,cellHoverWithRangeBg:Wo,motionDurationSlow:ni,withoutTimeCellHeight:mi,pickerQuarterPanelContentHeight:Go,colorLink:bo,colorLinkActive:Bo,colorLinkHover:Yo,cellRangeBorderColor:ai,borderRadiusSM:To,colorTextLightSolid:_o,cellHoverBg:Li,timeColumnHeight:Ci,timeColumnWidth:ce,timeCellHeight:pe,controlItemBgActive:Te,marginXXS:Ve,pickerDatePanelPaddingHorizontal:at}=le,ot=xt*7+at*2,Nt=(ot-on*2)/3-Qe-un,Ot=(ot-on*2)/4-Qe;return{[de]:{"&-panel":{display:"inline-flex",flexDirection:"column",textAlign:"center",background:ia,border:`${Bn}px ${Ln} ${wn}`,borderRadius:Gn,outline:"none","&-focused":{borderColor:Kn},"&-rtl":{direction:"rtl",[`${de}-prev-icon,
|
|
${de}-super-prev-icon`]:{transform:"rotate(45deg)"},[`${de}-next-icon,
|
|
${de}-super-next-icon`]:{transform:"rotate(-135deg)"}}},"&-decade-panel,\n &-year-panel,\n &-quarter-panel,\n &-month-panel,\n &-week-panel,\n &-date-panel,\n &-time-panel":{display:"flex",flexDirection:"column",width:ot},"&-header":{display:"flex",padding:`0 ${on}px`,color:ln,borderBottom:`${Bn}px ${Ln} ${wn}`,"> *":{flex:"none"},button:{padding:0,color:Ta,lineHeight:`${Ba}px`,background:"transparent",border:0,cursor:"pointer",transition:`color ${za}`,fontSize:"inherit"},"> button":{minWidth:"1.6em",fontSize:Oo,"&:hover":{color:$a}},"&-view":{flex:"auto",fontWeight:ja,lineHeight:`${Ba}px`,button:{color:"inherit",fontWeight:"inherit",verticalAlign:"top","&:not(:first-child)":{marginInlineStart:on},"&:hover":{color:Kn}}}},"&-prev-icon,\n &-next-icon,\n &-super-prev-icon,\n &-super-next-icon":{position:"relative",display:"inline-block",width:Mt,height:Mt,"&::before":{position:"absolute",top:0,insetInlineStart:0,display:"inline-block",width:Mt,height:Mt,border:"0 solid currentcolor",borderBlockStartWidth:Jn,borderBlockEndWidth:0,borderInlineStartWidth:Jn,borderInlineEndWidth:0,content:'""'}},"&-super-prev-icon,\n &-super-next-icon":{"&::after":{position:"absolute",top:Math.ceil(Mt/2),insetInlineStart:Math.ceil(Mt/2),display:"inline-block",width:Mt,height:Mt,border:"0 solid currentcolor",borderBlockStartWidth:Jn,borderBlockEndWidth:0,borderInlineStartWidth:Jn,borderInlineEndWidth:0,content:'""'}},"&-prev-icon,\n &-super-prev-icon":{transform:"rotate(-45deg)"},"&-next-icon,\n &-super-next-icon":{transform:"rotate(135deg)"},"&-content":{width:"100%",tableLayout:"fixed",borderCollapse:"collapse","th, td":{position:"relative",minWidth:xa,fontWeight:"normal"},th:{height:xa+so*2,color:fo,verticalAlign:"middle"}},"&-cell":Object.assign({padding:`${so}px 0`,color:Hr,cursor:"pointer","&-in-view":{color:fo}},bn(le)),[`&-date-panel ${de}-cell-in-view${de}-cell-in-range${de}-cell-range-hover-start ${$e},
|
|
&-date-panel ${de}-cell-in-view${de}-cell-in-range${de}-cell-range-hover-end ${$e}`]:{"&::after":{position:"absolute",top:0,bottom:0,zIndex:-1,background:Wo,transition:`all ${ni}`,content:'""'}},[`&-date-panel
|
|
${de}-cell-in-view${de}-cell-in-range${de}-cell-range-hover-start
|
|
${$e}::after`]:{insetInlineEnd:-(xt-xa)/2,insetInlineStart:0},[`&-date-panel ${de}-cell-in-view${de}-cell-in-range${de}-cell-range-hover-end ${$e}::after`]:{insetInlineEnd:0,insetInlineStart:-(xt-xa)/2},[`&-range-hover${de}-range-start::after`]:{insetInlineEnd:"50%"},"&-decade-panel,\n &-year-panel,\n &-quarter-panel,\n &-month-panel":{[`${de}-content`]:{height:mi*4},[$e]:{padding:`0 ${on}px`}},"&-quarter-panel":{[`${de}-content`]:{height:Go},[`${de}-cell-range-hover-start::after`]:{insetInlineStart:Ot,borderInlineStart:`${Bn}px dashed ${ai}`,[`${de}-panel-rtl &`]:{insetInlineEnd:Ot,borderInlineEnd:`${Bn}px dashed ${ai}`}},[`${de}-cell-range-hover-end::after`]:{insetInlineEnd:Ot,borderInlineEnd:`${Bn}px dashed ${ai}`,[`${de}-panel-rtl &`]:{insetInlineStart:Ot,borderInlineStart:`${Bn}px dashed ${ai}`}}},[`&-panel ${de}-footer`]:{borderTop:`${Bn}px ${Ln} ${wn}`},"&-footer":{width:"min-content",minWidth:"100%",lineHeight:`${Ba-2*Bn}px`,textAlign:"center","&-extra":{padding:`0 ${un}px`,lineHeight:`${Ba-2*Bn}px`,textAlign:"start","&:not(:last-child)":{borderBottom:`${Bn}px ${Ln} ${wn}`}}},"&-now":{textAlign:"start"},"&-today-btn":{color:bo,"&:hover":{color:Yo},"&:active":{color:Bo},[`&${de}-today-btn-disabled`]:{color:Hr,cursor:"not-allowed"}},"&-decade-panel":{[$e]:{padding:`0 ${on/2}px`},[`${de}-cell::before`]:{display:"none"}},"&-year-panel,\n &-quarter-panel,\n &-month-panel":{[`${de}-body`]:{padding:`0 ${on}px`},[$e]:{width:Qe},[`${de}-cell-range-hover-start::after`]:{borderStartStartRadius:To,borderEndStartRadius:To,borderStartEndRadius:0,borderEndEndRadius:0,[`${de}-panel-rtl &`]:{borderStartStartRadius:0,borderEndStartRadius:0,borderStartEndRadius:To,borderEndEndRadius:To}},[`${de}-cell-range-hover-end::after`]:{borderStartStartRadius:0,borderEndStartRadius:0,borderStartEndRadius:To,borderEndEndRadius:To,[`${de}-panel-rtl &`]:{borderStartStartRadius:To,borderEndStartRadius:To,borderStartEndRadius:0,borderEndEndRadius:0}}},"&-year-panel,\n &-month-panel":{[`${de}-cell-range-hover-start::after`]:{insetInlineStart:Nt,borderInlineStart:`${Bn}px dashed ${ai}`,[`${de}-panel-rtl &`]:{insetInlineEnd:Nt,borderInlineEnd:`${Bn}px dashed ${ai}`}},[`${de}-cell-range-hover-end::after`]:{insetInlineEnd:Nt,borderInlineEnd:`${Bn}px dashed ${ai}`,[`${de}-panel-rtl &`]:{insetInlineStart:Nt,borderInlineStart:`${Bn}px dashed ${ai}`}}},"&-week-panel":{[`${de}-body`]:{padding:`${on}px ${un}px`},[`${de}-cell`]:{[`&:hover ${$e},
|
|
&-selected ${$e},
|
|
${$e}`]:{background:"transparent !important"}},"&-row":{td:{"&:before":{transition:`background ${za}`},"&:first-child:before":{borderStartStartRadius:To,borderEndStartRadius:To},"&:last-child:before":{borderStartEndRadius:To,borderEndEndRadius:To}},"&:hover td":{"&:before":{background:Li}},"&-range-start td,\n &-range-end td,\n &-selected td":{[`&${ge}`]:{"&:before":{background:Kn},[`&${de}-cell-week`]:{color:new oi.C(_o).setAlpha(.5).toHexString()},[$e]:{color:_o}}},"&-range-hover td:before":{background:Te}}},"&-date-panel":{[`${de}-body`]:{padding:`${on}px ${at}px`},[`${de}-content`]:{width:xt*7,th:{width:xt,boxSizing:"border-box",padding:0}}},"&-datetime-panel":{display:"flex",[`${de}-time-panel`]:{borderInlineStart:`${Bn}px ${Ln} ${wn}`},[`${de}-date-panel,
|
|
${de}-time-panel`]:{transition:`opacity ${ni}`},"&-active":{[`${de}-date-panel,
|
|
${de}-time-panel`]:{opacity:.3,"&-active":{opacity:1}}}},"&-time-panel":{width:"auto",minWidth:"auto",direction:"ltr",[`${de}-content`]:{display:"flex",flex:"auto",height:Ci},"&-column":{flex:"1 0 auto",width:ce,margin:`${hn}px 0`,padding:0,overflowY:"hidden",textAlign:"start",listStyle:"none",transition:`background ${za}`,overflowX:"hidden","&::after":{display:"block",height:Ci-pe,content:'""'},"&:not(:first-child)":{borderInlineStart:`${Bn}px ${Ln} ${wn}`},"&-active":{background:new oi.C(Te).setAlpha(.2).toHexString()},"&:hover":{overflowY:"auto"},"> li":{margin:0,padding:0,[`&${de}-time-panel-cell`]:{marginInline:Ve,[`${de}-time-panel-cell-inner`]:{display:"block",width:ce-2*Ve,height:pe,margin:0,paddingBlock:0,paddingInlineEnd:0,paddingInlineStart:(ce-pe)/2,color:fo,lineHeight:`${pe}px`,borderRadius:To,cursor:"pointer",transition:`background ${za}`,"&:hover":{background:Li}},"&-selected":{[`${de}-time-panel-cell-inner`]:{background:Te}},"&-disabled":{[`${de}-time-panel-cell-inner`]:{color:Hr,background:"transparent",cursor:"not-allowed"}}}}}},[`&-datetime-panel ${de}-time-panel-column:after`]:{height:Ci-pe+hn*2}}}},mr=le=>{const{componentCls:de,colorBgContainer:ge,colorError:$e,errorActiveShadow:Qe,colorWarning:Mt,warningActiveShadow:xt}=le;return{[`${de}:not(${de}-disabled)`]:{[`&${de}-status-error`]:{"&, &:not([disabled]):hover":{backgroundColor:ge,borderColor:$e},[`&${de}-focused, &:focus`]:Object.assign({},(0,ha.M1)((0,aa.TS)(le,{activeBorderColor:$e,activeShadow:Qe}))),[`${de}-active-bar`]:{background:$e}},[`&${de}-status-warning`]:{"&, &:not([disabled]):hover":{backgroundColor:ge,borderColor:Mt},[`&${de}-focused, &:focus`]:Object.assign({},(0,ha.M1)((0,aa.TS)(le,{activeBorderColor:Mt,activeShadow:xt}))),[`${de}-active-bar`]:{background:Mt}}}}},Tr=le=>{const{componentCls:de,antCls:ge,controlHeight:$e,fontSize:Qe,paddingInline:Mt,colorBgContainer:xt,lineWidth:un,lineType:on,colorBorder:hn,borderRadius:ia,motionDurationMid:Bn,colorBgContainerDisabled:Ln,colorTextDisabled:Gn,colorTextPlaceholder:Kn,controlHeightLG:ln,fontSizeLG:wn,controlHeightSM:Jn,paddingInlineSM:Ta,paddingXS:Ba,marginXS:za,colorTextDescription:$a,lineWidthBold:ja,lineHeight:xa,colorPrimary:so,motionDurationSlow:Hr,zIndexPopup:fo,paddingXXS:Oo,paddingSM:Wo,textHeight:ni,cellActiveWithRangeBg:mi,colorPrimaryBorder:Go,sizePopupArrow:bo,borderRadiusXS:Bo,borderRadiusOuter:Yo,colorBgElevated:ai,borderRadiusLG:To,boxShadowSecondary:_o,borderRadiusSM:Li,colorSplit:Ci,cellHoverBg:ce,presetsWidth:pe,presetsMaxWidth:Te,boxShadowPopoverArrow:Ve,colorTextQuaternary:at}=le;return[{[de]:Object.assign(Object.assign(Object.assign({},(0,ca.Wf)(le)),Vn(le,$e,Qe,Mt)),{position:"relative",display:"inline-flex",alignItems:"center",background:xt,lineHeight:1,border:`${un}px ${on} ${hn}`,borderRadius:ia,transition:`border ${Bn}, box-shadow ${Bn}`,"&:hover, &-focused":Object.assign({},(0,ha.pU)(le)),"&-focused":Object.assign({},(0,ha.M1)(le)),[`&${de}-disabled`]:{background:Ln,borderColor:hn,cursor:"not-allowed",[`${de}-suffix`]:{color:at}},[`&${de}-borderless`]:{backgroundColor:"transparent !important",borderColor:"transparent !important",boxShadow:"none !important"},[`${de}-input`]:{position:"relative",display:"inline-flex",alignItems:"center",width:"100%","> input":Object.assign(Object.assign({},(0,ha.ik)(le)),{flex:"auto",minWidth:1,height:"auto",padding:0,background:"transparent",border:0,borderRadius:0,"&:focus":{boxShadow:"none"},"&[disabled]":{background:"transparent"}}),"&:hover":{[`${de}-clear`]:{opacity:1}},"&-placeholder":{"> input":{color:Kn}}},"&-large":Object.assign(Object.assign({},Vn(le,ln,wn,Mt)),{[`${de}-input > input`]:{fontSize:wn}}),"&-small":Object.assign({},Vn(le,Jn,Qe,Ta)),[`${de}-suffix`]:{display:"flex",flex:"none",alignSelf:"center",marginInlineStart:Ba/2,color:Gn,lineHeight:1,pointerEvents:"none","> *":{verticalAlign:"top","&:not(:last-child)":{marginInlineEnd:za}}},[`${de}-clear`]:{position:"absolute",top:"50%",insetInlineEnd:0,color:Gn,lineHeight:1,background:xt,transform:"translateY(-50%)",cursor:"pointer",opacity:0,transition:`opacity ${Bn}, color ${Bn}`,"> *":{verticalAlign:"top"},"&:hover":{color:$a}},[`${de}-separator`]:{position:"relative",display:"inline-block",width:"1em",height:wn,color:Gn,fontSize:wn,verticalAlign:"top",cursor:"default",[`${de}-focused &`]:{color:$a},[`${de}-range-separator &`]:{[`${de}-disabled &`]:{cursor:"not-allowed"}}},"&-range":{position:"relative",display:"inline-flex",[`${de}-clear`]:{insetInlineEnd:Mt},"&:hover":{[`${de}-clear`]:{opacity:1}},[`${de}-active-bar`]:{bottom:-un,height:ja,marginInlineStart:Mt,background:so,opacity:0,transition:`all ${Hr} ease-out`,pointerEvents:"none"},[`&${de}-focused`]:{[`${de}-active-bar`]:{opacity:1}},[`${de}-range-separator`]:{alignItems:"center",padding:`0 ${Ba}px`,lineHeight:1},[`&${de}-small`]:{[`${de}-clear`]:{insetInlineEnd:Ta},[`${de}-active-bar`]:{marginInlineStart:Ta}}},"&-dropdown":Object.assign(Object.assign(Object.assign({},(0,ca.Wf)(le)),$r(le)),{position:"absolute",top:-9999,left:{_skip_check_:!0,value:-9999},zIndex:fo,[`&${de}-dropdown-hidden`]:{display:"none"},[`&${de}-dropdown-placement-bottomLeft`]:{[`${de}-range-arrow`]:{top:0,display:"block",transform:"translateY(-100%)"}},[`&${de}-dropdown-placement-topLeft`]:{[`${de}-range-arrow`]:{bottom:0,display:"block",transform:"translateY(100%) rotate(180deg)"}},[`&${ge}-slide-up-enter${ge}-slide-up-enter-active${de}-dropdown-placement-topLeft,
|
|
&${ge}-slide-up-enter${ge}-slide-up-enter-active${de}-dropdown-placement-topRight,
|
|
&${ge}-slide-up-appear${ge}-slide-up-appear-active${de}-dropdown-placement-topLeft,
|
|
&${ge}-slide-up-appear${ge}-slide-up-appear-active${de}-dropdown-placement-topRight`]:{animationName:kn.Qt},[`&${ge}-slide-up-enter${ge}-slide-up-enter-active${de}-dropdown-placement-bottomLeft,
|
|
&${ge}-slide-up-enter${ge}-slide-up-enter-active${de}-dropdown-placement-bottomRight,
|
|
&${ge}-slide-up-appear${ge}-slide-up-appear-active${de}-dropdown-placement-bottomLeft,
|
|
&${ge}-slide-up-appear${ge}-slide-up-appear-active${de}-dropdown-placement-bottomRight`]:{animationName:kn.fJ},[`&${ge}-slide-up-leave${ge}-slide-up-leave-active${de}-dropdown-placement-topLeft,
|
|
&${ge}-slide-up-leave${ge}-slide-up-leave-active${de}-dropdown-placement-topRight`]:{animationName:kn.ly},[`&${ge}-slide-up-leave${ge}-slide-up-leave-active${de}-dropdown-placement-bottomLeft,
|
|
&${ge}-slide-up-leave${ge}-slide-up-leave-active${de}-dropdown-placement-bottomRight`]:{animationName:kn.Uw},[`${de}-panel > ${de}-time-panel`]:{paddingTop:Oo},[`${de}-ranges`]:{marginBottom:0,padding:`${Oo}px ${Wo}px`,overflow:"hidden",lineHeight:`${ni-2*un-Ba/2}px`,textAlign:"start",listStyle:"none",display:"flex",justifyContent:"space-between","> li":{display:"inline-block"},[`${de}-preset > ${ge}-tag-blue`]:{color:so,background:mi,borderColor:Go,cursor:"pointer"},[`${de}-ok`]:{marginInlineStart:"auto"}},[`${de}-range-wrapper`]:{display:"flex",position:"relative"},[`${de}-range-arrow`]:Object.assign({position:"absolute",zIndex:1,display:"none",marginInlineStart:Mt*1.5,transition:`left ${Hr} ease-out`},(0,eo.r)(bo,Bo,Yo,ai,Ve)),[`${de}-panel-container`]:{overflow:"hidden",verticalAlign:"top",background:ai,borderRadius:To,boxShadow:_o,transition:`margin ${Hr}`,[`${de}-panel-layout`]:{display:"flex",flexWrap:"nowrap",alignItems:"stretch"},[`${de}-presets`]:{display:"flex",flexDirection:"column",minWidth:pe,maxWidth:Te,ul:{height:0,flex:"auto",listStyle:"none",overflow:"auto",margin:0,padding:Ba,borderInlineEnd:`${un}px ${on} ${Ci}`,li:Object.assign(Object.assign({},ca.vS),{borderRadius:Li,paddingInline:Ba,paddingBlock:(Jn-Math.round(Qe*xa))/2,cursor:"pointer",transition:`all ${Hr}`,"+ li":{marginTop:za},"&:hover":{background:ce}})}},[`${de}-panels`]:{display:"inline-flex",flexWrap:"nowrap",direction:"ltr",[`${de}-panel`]:{borderWidth:`0 0 ${un}px`},"&:last-child":{[`${de}-panel`]:{borderWidth:0}}},[`${de}-panel`]:{verticalAlign:"top",background:"transparent",borderRadius:0,borderWidth:0,[`${de}-content,
|
|
table`]:{textAlign:"center"},"&-focused":{borderColor:hn}}}}),"&-dropdown-range":{padding:`${bo*2/3}px 0`,"&-hidden":{display:"none"}},"&-rtl":{direction:"rtl",[`${de}-separator`]:{transform:"rotate(180deg)"},[`${de}-footer`]:{"&-extra":{direction:"rtl"}}}})},(0,kn.oN)(le,"slide-up"),(0,kn.oN)(le,"slide-down"),(0,tr.Fm)(le,"move-up"),(0,tr.Fm)(le,"move-down")]},Jo=le=>{const{componentCls:de,controlHeightLG:ge,paddingXXS:$e,padding:Qe}=le;return{pickerCellCls:`${de}-cell`,pickerCellInnerCls:`${de}-cell-inner`,pickerYearMonthCellWidth:ge*1.5,pickerQuarterPanelContentHeight:ge*1.4,pickerCellPaddingVertical:$e+$e/2,pickerCellBorderGap:2,pickerControlIconSize:7,pickerControlIconBorderWidth:1.5,pickerDatePanelPaddingHorizontal:Qe+$e/2}},fr=le=>({cellHoverBg:le.controlItemBgHover,cellActiveWithRangeBg:le.controlItemBgActive,cellHoverWithRangeBg:new oi.C(le.colorPrimary).lighten(35).toHexString(),cellRangeBorderColor:new oi.C(le.colorPrimary).lighten(20).toHexString(),cellBgDisabled:le.colorBgContainerDisabled,timeColumnWidth:le.controlHeightLG*1.4,timeColumnHeight:28*8,timeCellHeight:28,cellWidth:le.controlHeightSM*1.5,cellHeight:le.controlHeightSM,textHeight:le.controlHeightLG,withoutTimeCellHeight:le.controlHeightLG*1.65});var So=(0,an.Z)("DatePicker",le=>{const de=(0,aa.TS)((0,ha.e5)(le),Jo(le));return[Tr(de),mr(de),(0,Ai.c)(le,{focusElCls:`${le.componentCls}-focused`})]},le=>Object.assign(Object.assign(Object.assign({},(0,ha.TM)(le)),fr(le)),{presetsWidth:120,presetsMaxWidth:200,zIndexPopup:le.zIndexPopupBase+50}));function Ha(le,de,ge){return ge!==void 0?ge:de==="year"&&le.lang.yearPlaceholder?le.lang.yearPlaceholder:de==="quarter"&&le.lang.quarterPlaceholder?le.lang.quarterPlaceholder:de==="month"&&le.lang.monthPlaceholder?le.lang.monthPlaceholder:de==="week"&&le.lang.weekPlaceholder?le.lang.weekPlaceholder:de==="time"&&le.timePickerLocale.placeholder?le.timePickerLocale.placeholder:le.lang.placeholder}function Yr(le,de,ge){return ge!==void 0?ge:de==="year"&&le.lang.yearPlaceholder?le.lang.rangeYearPlaceholder:de==="quarter"&&le.lang.quarterPlaceholder?le.lang.rangeQuarterPlaceholder:de==="month"&&le.lang.monthPlaceholder?le.lang.rangeMonthPlaceholder:de==="week"&&le.lang.weekPlaceholder?le.lang.rangeWeekPlaceholder:de==="time"&&le.timePickerLocale.placeholder?le.timePickerLocale.rangePlaceholder:le.lang.rangePlaceholder}function mo(le,de){const ge={adjustX:1,adjustY:1};switch(de){case"bottomLeft":return{points:["tl","bl"],offset:[0,4],overflow:ge};case"bottomRight":return{points:["tr","br"],offset:[0,4],overflow:ge};case"topLeft":return{points:["bl","tl"],offset:[0,-4],overflow:ge};case"topRight":return{points:["br","tr"],offset:[0,-4],overflow:ge};default:return{points:le==="rtl"?["tr","br"]:["tl","bl"],offset:[0,4],overflow:ge}}}function Do(le){return le?Array.isArray(le)?le:[le]:[]}function Sn(le){const{format:de,picker:ge,showHour:$e,showMinute:Qe,showSecond:Mt,use12Hours:xt}=le,un=Do(de)[0],on=Object.assign({},le);return de&&Array.isArray(de)&&(on.format=un),un&&typeof un=="string"&&(!un.includes("s")&&Mt===void 0&&(on.showSecond=!1),!un.includes("m")&&Qe===void 0&&(on.showMinute=!1),!un.includes("H")&&!un.includes("h")&&!un.includes("K")&&!un.includes("k")&&$e===void 0&&(on.showHour=!1),(un.includes("a")||un.includes("A"))&&xt===void 0&&(on.use12Hours=!0)),ge==="time"?on:(typeof un=="function"&&delete on.format,{showTime:on})}function na(le,de,ge){if(le===!1)return!1;const $e={clearIcon:de!=null?de:ge};return typeof le=="object"?Object.assign(Object.assign({},$e),le):$e}var Oa=te(3113);function Hn(le){return ae.createElement(Oa.ZP,Object.assign({size:"small",type:"primary"},le))}var wr={button:Hn},Fr=function(le,de){var ge={};for(var $e in le)Object.prototype.hasOwnProperty.call(le,$e)&&de.indexOf($e)<0&&(ge[$e]=le[$e]);if(le!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Qe=0,$e=Object.getOwnPropertySymbols(le);Qe<$e.length;Qe++)de.indexOf($e[Qe])<0&&Object.prototype.propertyIsEnumerable.call(le,$e[Qe])&&(ge[$e[Qe]]=le[$e[Qe]]);return ge};function Co(le){return(0,ae.forwardRef)((ge,$e)=>{const{prefixCls:Qe,getPopupContainer:Mt,className:xt,placement:un,size:on,disabled:hn,bordered:ia=!0,placeholder:Bn,popupClassName:Ln,dropdownClassName:Gn,status:Kn,clearIcon:ln,allowClear:wn,rootClassName:Jn}=ge,Ta=Fr(ge,["prefixCls","getPopupContainer","className","placement","size","disabled","bordered","placeholder","popupClassName","dropdownClassName","status","clearIcon","allowClear","rootClassName"]),Ba=ae.useRef(null),{getPrefixCls:za,direction:$a,getPopupContainer:ja}=(0,ae.useContext)($o.E_),xa=za("picker",Qe),{compactSize:so,compactItemClassnames:Hr}=(0,Xn.ri)(xa,$a),{format:fo,showTime:Oo,picker:Wo}=ge,ni=za(),[mi,Go]=So(xa),bo=Object.assign(Object.assign({},Oo?Sn(Object.assign({format:fo,picker:Wo},Oo)):{}),Wo==="time"?Sn(Object.assign(Object.assign({format:fo},ge),{picker:Wo})):{}),Bo=(0,Ko.Z)(Ve=>{var at;return(at=on!=null?on:so)!==null&&at!==void 0?at:Ve}),Yo=ae.useContext(Si.Z),ai=hn!=null?hn:Yo,To=(0,ae.useContext)(Sr.aM),{hasFeedback:_o,status:Li,feedbackIcon:Ci}=To,ce=ae.createElement(ae.Fragment,null,Wo==="time"?ae.createElement(Ue,null):ae.createElement(Ee,null),_o&&Ci);(0,ae.useImperativeHandle)($e,()=>({focus:()=>{var Ve;return(Ve=Ba.current)===null||Ve===void 0?void 0:Ve.focus()},blur:()=>{var Ve;return(Ve=Ba.current)===null||Ve===void 0?void 0:Ve.blur()}}));const[pe]=(0,Pr.Z)("Calendar",ao.Z),Te=Object.assign(Object.assign({},pe),ge.locale);return mi(ae.createElement(Da,Object.assign({separator:ae.createElement("span",{"aria-label":"to",className:`${xa}-separator`},ae.createElement(Tt,null)),disabled:ai,ref:Ba,dropdownAlign:mo($a,un),placeholder:Yr(Te,Wo,Bn),suffixIcon:ce,prevIcon:ae.createElement("span",{className:`${xa}-prev-icon`}),nextIcon:ae.createElement("span",{className:`${xa}-next-icon`}),superPrevIcon:ae.createElement("span",{className:`${xa}-super-prev-icon`}),superNextIcon:ae.createElement("span",{className:`${xa}-super-next-icon`}),transitionName:`${ni}-slide-up`},Ta,bo,{className:Xe()({[`${xa}-${Bo}`]:Bo,[`${xa}-borderless`]:!ia},(0,Ma.Z)(xa,(0,Ma.F)(Li,Kn),_o),Go,Hr,xt,Jn),locale:Te.lang,prefixCls:xa,getPopupContainer:Mt||ja,generateConfig:le,components:wr,direction:$a,dropdownClassName:Xe()(Go,Ln||Gn,Jn),allowClear:na(wn,ln,ae.createElement(Ge.Z,null))})))})}var qo=function(le,de){var ge={};for(var $e in le)Object.prototype.hasOwnProperty.call(le,$e)&&de.indexOf($e)<0&&(ge[$e]=le[$e]);if(le!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Qe=0,$e=Object.getOwnPropertySymbols(le);Qe<$e.length;Qe++)de.indexOf($e[Qe])<0&&Object.prototype.propertyIsEnumerable.call(le,$e[Qe])&&(ge[$e[Qe]]=le[$e[Qe]]);return ge};function Di(le){function de(on,hn){const ia=hn==="TimePicker"?"timePicker":"datePicker",Bn=(0,ae.forwardRef)((Ln,Gn)=>{const{prefixCls:Kn,getPopupContainer:ln,style:wn,className:Jn,rootClassName:Ta,size:Ba,bordered:za=!0,placement:$a,placeholder:ja,popupClassName:xa,dropdownClassName:so,disabled:Hr,status:fo,clearIcon:Oo,allowClear:Wo}=Ln,ni=qo(Ln,["prefixCls","getPopupContainer","style","className","rootClassName","size","bordered","placement","placeholder","popupClassName","dropdownClassName","disabled","status","clearIcon","allowClear"]),{getPrefixCls:mi,direction:Go,getPopupContainer:bo,[ia]:Bo}=(0,ae.useContext)($o.E_),Yo=mi("picker",Kn),{compactSize:ai,compactItemClassnames:To}=(0,Xn.ri)(Yo,Go),_o=ae.useRef(null),{format:Li,showTime:Ci}=Ln,[ce,pe]=So(Yo);(0,ae.useImperativeHandle)(Gn,()=>({focus:()=>{var zn;return(zn=_o.current)===null||zn===void 0?void 0:zn.focus()},blur:()=>{var zn;return(zn=_o.current)===null||zn===void 0?void 0:zn.blur()}}));const Te={showToday:!0};let Ve={};on&&(Ve.picker=on);const at=on||Ln.picker;Ve=Object.assign(Object.assign(Object.assign({},Ve),Ci?Sn(Object.assign({format:Li,picker:at},Ci)):{}),at==="time"?Sn(Object.assign(Object.assign({format:Li},Ln),{picker:at})):{});const ot=mi(),Nt=(0,Ko.Z)(zn=>{var ua;return(ua=Ba!=null?Ba:ai)!==null&&ua!==void 0?ua:zn}),Ot=ae.useContext(Si.Z),At=Hr!=null?Hr:Ot,$t=(0,ae.useContext)(Sr.aM),{hasFeedback:Gt,status:Wt,feedbackIcon:Cn}=$t,Pn=ae.createElement(ae.Fragment,null,at==="time"?ae.createElement(Ue,null):ae.createElement(Ee,null),Gt&&Cn),[Fn]=(0,Pr.Z)("DatePicker",ao.Z),Wn=Object.assign(Object.assign({},Fn),Ln.locale);return ce(ae.createElement(Io,Object.assign({ref:_o,placeholder:Ha(Wn,at,ja),suffixIcon:Pn,dropdownAlign:mo(Go,$a),prevIcon:ae.createElement("span",{className:`${Yo}-prev-icon`}),nextIcon:ae.createElement("span",{className:`${Yo}-next-icon`}),superPrevIcon:ae.createElement("span",{className:`${Yo}-super-prev-icon`}),superNextIcon:ae.createElement("span",{className:`${Yo}-super-next-icon`}),transitionName:`${ot}-slide-up`},Te,ni,Ve,{locale:Wn.lang,className:Xe()({[`${Yo}-${Nt}`]:Nt,[`${Yo}-borderless`]:!za},(0,Ma.Z)(Yo,(0,Ma.F)(Wt,fo),Gt),pe,To,Bo==null?void 0:Bo.className,Jn,Ta),style:Object.assign(Object.assign({},Bo==null?void 0:Bo.style),wn),prefixCls:Yo,getPopupContainer:ln||bo,generateConfig:le,components:wr,direction:Go,disabled:At,dropdownClassName:Xe()(pe,Ta,xa||so),allowClear:na(Wo,Oo,ae.createElement(Ge.Z,null))})))});return hn&&(Bn.displayName=hn),Bn}const ge=de(),$e=de("week","WeekPicker"),Qe=de("month","MonthPicker"),Mt=de("year","YearPicker"),xt=de("time","TimePicker"),un=de("quarter","QuarterPicker");return{DatePicker:ge,WeekPicker:$e,MonthPicker:Qe,YearPicker:Mt,TimePicker:xt,QuarterPicker:un}}const Hi=null;function qi(le){const{DatePicker:de,WeekPicker:ge,MonthPicker:$e,YearPicker:Qe,TimePicker:Mt,QuarterPicker:xt}=Di(le),un=Co(le),on=de;return on.WeekPicker=ge,on.MonthPicker=$e,on.YearPicker=Qe,on.RangePicker=un,on.TimePicker=Mt,on.QuarterPicker=xt,on}var wl=qi;const vl=wl(ee);function Sl(le){const de=mo(le.direction,le.placement);return de.overflow.adjustY=!1,de.overflow.adjustX=!1,Object.assign(Object.assign({},le),{dropdownAlign:de})}const Fl=(0,ne.Z)(vl,"picker",null,Sl);vl._InternalPanelDoNotUseOrYouWillBeFired=Fl;const uu=(0,ne.Z)(vl.RangePicker,"picker",null,Sl);vl._InternalRangePanelDoNotUseOrYouWillBeFired=uu,vl.generatePicker=wl;var su=vl},28103:function(bt,yt,te){"use strict";te.d(yt,{Z:function(){return Me}});var z=te(92310),se=te.n(z),ve=te(59301),Ie=te(36355),be=te(17313),Ne=te(83116),ie=te(37613);const et=ye=>{const{componentCls:re,sizePaddingEdgeHorizontal:a,colorSplit:y,lineWidth:b,textPaddingInline:E,orientationMargin:x,verticalMarginInline:ee}=ye;return{[re]:Object.assign(Object.assign({},(0,be.Wf)(ye)),{borderBlockStart:`${b}px solid ${y}`,"&-vertical":{position:"relative",top:"-0.06em",display:"inline-block",height:"0.9em",marginInline:ee,marginBlock:0,verticalAlign:"middle",borderTop:0,borderInlineStart:`${b}px solid ${y}`},"&-horizontal":{display:"flex",clear:"both",width:"100%",minWidth:"100%",margin:`${ye.dividerHorizontalGutterMargin}px 0`},[`&-horizontal${re}-with-text`]:{display:"flex",alignItems:"center",margin:`${ye.dividerHorizontalWithTextGutterMargin}px 0`,color:ye.colorTextHeading,fontWeight:500,fontSize:ye.fontSizeLG,whiteSpace:"nowrap",textAlign:"center",borderBlockStart:`0 ${y}`,"&::before, &::after":{position:"relative",width:"50%",borderBlockStart:`${b}px solid transparent`,borderBlockStartColor:"inherit",borderBlockEnd:0,transform:"translateY(50%)",content:"''"}},[`&-horizontal${re}-with-text-left`]:{"&::before":{width:`${x*100}%`},"&::after":{width:`${100-x*100}%`}},[`&-horizontal${re}-with-text-right`]:{"&::before":{width:`${100-x*100}%`},"&::after":{width:`${x*100}%`}},[`${re}-inner-text`]:{display:"inline-block",paddingBlock:0,paddingInline:E},"&-dashed":{background:"none",borderColor:y,borderStyle:"dashed",borderWidth:`${b}px 0 0`},[`&-horizontal${re}-with-text${re}-dashed`]:{"&::before, &::after":{borderStyle:"dashed none none"}},[`&-vertical${re}-dashed`]:{borderInlineStartWidth:b,borderInlineEnd:0,borderBlockStart:0,borderBlockEnd:0},[`&-plain${re}-with-text`]:{color:ye.colorText,fontWeight:"normal",fontSize:ye.fontSize},[`&-horizontal${re}-with-text-left${re}-no-default-orientation-margin-left`]:{"&::before":{width:0},"&::after":{width:"100%"},[`${re}-inner-text`]:{paddingInlineStart:a}},[`&-horizontal${re}-with-text-right${re}-no-default-orientation-margin-right`]:{"&::before":{width:"100%"},"&::after":{width:0},[`${re}-inner-text`]:{paddingInlineEnd:a}}})}};var He=(0,Ne.Z)("Divider",ye=>{const re=(0,ie.TS)(ye,{dividerHorizontalWithTextGutterMargin:ye.margin,dividerHorizontalGutterMargin:ye.marginLG,sizePaddingEdgeHorizontal:0});return[et(re)]},ye=>({textPaddingInline:"1em",orientationMargin:.05,verticalMarginInline:ye.marginXS})),ke=function(ye,re){var a={};for(var y in ye)Object.prototype.hasOwnProperty.call(ye,y)&&re.indexOf(y)<0&&(a[y]=ye[y]);if(ye!=null&&typeof Object.getOwnPropertySymbols=="function")for(var b=0,y=Object.getOwnPropertySymbols(ye);b<y.length;b++)re.indexOf(y[b])<0&&Object.prototype.propertyIsEnumerable.call(ye,y[b])&&(a[y[b]]=ye[y[b]]);return a},Me=ye=>{const{getPrefixCls:re,direction:a,divider:y}=ve.useContext(Ie.E_),{prefixCls:b,type:E="horizontal",orientation:x="center",orientationMargin:ee,className:ne,rootClassName:oe,children:ae,dashed:ue,plain:me,style:fe}=ye,Pe=ke(ye,["prefixCls","type","orientation","orientationMargin","className","rootClassName","children","dashed","plain","style"]),xe=re("divider",b),[Ee,De]=He(xe),ze=x.length>0?`-${x}`:x,ft=!!ae,Be=x==="left"&&ee!=null,Ue=x==="right"&&ee!=null,Ge=se()(xe,y==null?void 0:y.className,De,`${xe}-${E}`,{[`${xe}-with-text`]:ft,[`${xe}-with-text${ze}`]:ft,[`${xe}-dashed`]:!!ue,[`${xe}-plain`]:!!me,[`${xe}-rtl`]:a==="rtl",[`${xe}-no-default-orientation-margin-left`]:Be,[`${xe}-no-default-orientation-margin-right`]:Ue},ne,oe),Ke=ve.useMemo(()=>typeof ee=="number"?ee:/^\d+$/.test(ee)?Number(ee):ee,[ee]),rt=Object.assign(Object.assign({},Be&&{marginLeft:Ke}),Ue&&{marginRight:Ke});return Ee(ve.createElement("div",Object.assign({className:Ge,style:Object.assign(Object.assign({},y==null?void 0:y.style),fe)},Pe,{role:"separator"}),ae&&E!=="vertical"&&ve.createElement("span",{className:`${xe}-inner-text`,style:rt},ae)))}},91857:function(bt,yt,te){"use strict";var z=te(59301),se=te(38819),ve=te(92310),Ie=te.n(ve),be=te(31561),Ne=te(70425),ie=te(18929),et=te(2738),He=te(79676),ke=te(53487),Ze=te(92343),Me=te(36355),ye=te(20834),re=te(40875),a=te(88088),y=te(47211);const b=null,E=oe=>{const{menu:ae,arrow:ue,prefixCls:me,children:fe,trigger:Pe,disabled:xe,dropdownRender:Ee,getPopupContainer:De,overlayClassName:ze,rootClassName:ft,open:Be,onOpenChange:Ue,visible:Ge,onVisibleChange:Ke,mouseEnterDelay:rt=.15,mouseLeaveDelay:nt=.1,autoAdjustOverflow:vt=!0,placement:Tt="",overlay:Yt,transitionName:Xe}=oe,{getPopupContainer:st,getPrefixCls:Lt,direction:It}=z.useContext(Me.E_),St=z.useMemo(()=>{const we=Lt();return Xe!==void 0?Xe:Tt.includes("top")?`${we}-slide-down`:`${we}-slide-up`},[Lt,Tt,Xe]),dn=z.useMemo(()=>Tt?Tt.includes("Center")?Tt.slice(0,Tt.indexOf("Center")):Tt:It==="rtl"?"bottomRight":"bottomLeft",[Tt,It]),Fe=Lt("dropdown",me),[Xt,Kt]=(0,y.Z)(Fe),[,jn]=(0,a.Z)(),Pt=z.Children.only(fe),qe=(0,Ze.Tm)(Pt,{className:Ie()(`${Fe}-trigger`,{[`${Fe}-rtl`]:It==="rtl"},Pt.props.className),disabled:xe}),lt=xe?[]:Pe;let it;lt&<.includes("contextMenu")&&(it=!0);const[Oe,pt]=(0,ie.Z)(!1,{value:Be!=null?Be:Ge}),gt=(0,Ne.useEvent)(we=>{Ue==null||Ue(we),Ke==null||Ke(we),pt(we)}),Le=Ie()(ze,ft,Kt,{[`${Fe}-rtl`]:It==="rtl"}),he=(0,He.Z)({arrowPointAtCenter:typeof ue=="object"&&ue.pointAtCenter,autoAdjustOverflow:vt,offset:jn.marginXXS,arrowWidth:ue?jn.sizePopupArrow:0,borderRadius:jn.borderRadius}),je=z.useCallback(()=>{pt(!1)},[]),We=()=>{let we;return ae!=null&&ae.items?we=z.createElement(ye.default,Object.assign({},ae)):typeof Yt=="function"?we=Yt():we=Yt,Ee&&(we=Ee(we)),we=z.Children.only(typeof we=="string"?z.createElement("span",null,we):we),z.createElement(re.J,{prefixCls:`${Fe}-menu`,expandIcon:z.createElement("span",{className:`${Fe}-menu-submenu-arrow`},z.createElement(se.Z,{className:`${Fe}-menu-submenu-arrow-icon`})),mode:"vertical",selectable:!1,onClick:je,validator:mt=>{let{mode:Je}=mt}},we)};return Xt(z.createElement(be.Z,Object.assign({alignPoint:it},(0,et.Z)(oe,["rootClassName"]),{mouseEnterDelay:rt,mouseLeaveDelay:nt,visible:Oe,builtinPlacements:he,arrow:!!ue,overlayClassName:Le,prefixCls:Fe,getPopupContainer:De||st,transitionName:St,trigger:lt,overlay:We,placement:dn,onVisibleChange:gt}),qe))};function x(oe){return Object.assign(Object.assign({},oe),{align:{overflow:{adjustX:!1,adjustY:!1}}})}const ee=(0,ke.Z)(E,"dropdown",oe=>oe,x),ne=oe=>z.createElement(ee,Object.assign({},oe),z.createElement("span",null));E._InternalPanelDoNotUseOrYouWillBeFired=ne,yt.Z=E},38854:function(bt,yt,te){"use strict";te.d(yt,{Z:function(){return a}});var z=te(91857),se=te(92310),ve=te.n(se),Ie=te(59301),be=te(18785),Ne=te(3113),ie=te(36355),et=te(81327),He=te(33234),ke=te(47211),Ze=function(y,b){var E={};for(var x in y)Object.prototype.hasOwnProperty.call(y,x)&&b.indexOf(x)<0&&(E[x]=y[x]);if(y!=null&&typeof Object.getOwnPropertySymbols=="function")for(var ee=0,x=Object.getOwnPropertySymbols(y);ee<x.length;ee++)b.indexOf(x[ee])<0&&Object.prototype.propertyIsEnumerable.call(y,x[ee])&&(E[x[ee]]=y[x[ee]]);return E};const Me=y=>{const{getPopupContainer:b,getPrefixCls:E,direction:x}=Ie.useContext(ie.E_),{prefixCls:ee,type:ne="default",danger:oe,disabled:ae,loading:ue,onClick:me,htmlType:fe,children:Pe,className:xe,menu:Ee,arrow:De,autoFocus:ze,overlay:ft,trigger:Be,align:Ue,open:Ge,onOpenChange:Ke,placement:rt,getPopupContainer:nt,href:vt,icon:Tt=Ie.createElement(be.Z,null),title:Yt,buttonsRender:Xe=We=>We,mouseEnterDelay:st,mouseLeaveDelay:Lt,overlayClassName:It,overlayStyle:St,destroyPopupOnHide:dn,dropdownRender:Fe}=y,Xt=Ze(y,["prefixCls","type","danger","disabled","loading","onClick","htmlType","children","className","menu","arrow","autoFocus","overlay","trigger","align","open","onOpenChange","placement","getPopupContainer","href","icon","title","buttonsRender","mouseEnterDelay","mouseLeaveDelay","overlayClassName","overlayStyle","destroyPopupOnHide","dropdownRender"]),Kt=E("dropdown",ee),jn=`${Kt}-button`,[Pt,qe]=(0,ke.Z)(Kt),lt={menu:Ee,arrow:De,autoFocus:ze,align:Ue,disabled:ae,trigger:ae?[]:Be,onOpenChange:Ke,getPopupContainer:nt||b,mouseEnterDelay:st,mouseLeaveDelay:Lt,overlayClassName:It,overlayStyle:St,destroyPopupOnHide:dn,dropdownRender:Fe},{compactSize:it,compactItemClassnames:Oe}=(0,He.ri)(Kt,x),pt=ve()(jn,Oe,xe,qe);"overlay"in y&&(lt.overlay=ft),"open"in y&&(lt.open=Ge),"placement"in y?lt.placement=rt:lt.placement=x==="rtl"?"bottomLeft":"bottomRight";const gt=Ie.createElement(Ne.ZP,{type:ne,danger:oe,disabled:ae,loading:ue,onClick:me,htmlType:fe,href:vt,title:Yt},Pe),Le=Ie.createElement(Ne.ZP,{type:ne,danger:oe,icon:Tt}),[he,je]=Xe([gt,Le]);return Pt(Ie.createElement(et.Z.Compact,Object.assign({className:pt,size:it,block:!0},Xt),he,Ie.createElement(z.Z,Object.assign({},lt),je)))};Me.__ANT_BUTTON=!0;var ye=Me;const re=z.Z;re.Button=ye;var a=re},47211:function(bt,yt,te){"use strict";te.d(yt,{Z:function(){return Ze}});var z=te(17313),se=te(13826),ve=te(92899),Ie=te(29878),be=te(19447),Ne=te(83116),ie=te(37613),He=Me=>{const{componentCls:ye,menuCls:re,colorError:a,colorTextLightSolid:y}=Me,b=`${re}-item`;return{[`${ye}, ${ye}-menu-submenu`]:{[`${re} ${b}`]:{[`&${b}-danger:not(${b}-disabled)`]:{color:a,"&:hover":{color:y,backgroundColor:a}}}}}};const ke=Me=>{const{componentCls:ye,menuCls:re,zIndexPopup:a,dropdownArrowDistance:y,sizePopupArrow:b,antCls:E,iconCls:x,motionDurationMid:ee,dropdownPaddingVertical:ne,fontSize:oe,dropdownEdgeChildPadding:ae,colorTextDisabled:ue,fontSizeIcon:me,controlPaddingHorizontal:fe,colorBgElevated:Pe}=Me;return[{[ye]:Object.assign(Object.assign({},(0,z.Wf)(Me)),{position:"absolute",top:-9999,left:{_skip_check_:!0,value:-9999},zIndex:a,display:"block","&::before":{position:"absolute",insetBlock:-y+b/2,zIndex:-9999,opacity:1e-4,content:'""'},[`&-trigger${E}-btn`]:{[`& > ${x}-down, & > ${E}-btn-icon > ${x}-down`]:{fontSize:me}},[`${ye}-wrap`]:{position:"relative",[`${E}-btn > ${x}-down`]:{fontSize:me},[`${x}-down::before`]:{transition:`transform ${ee}`}},[`${ye}-wrap-open`]:{[`${x}-down::before`]:{transform:"rotate(180deg)"}},"\n &-hidden,\n &-menu-hidden,\n &-menu-submenu-hidden\n ":{display:"none"},[`&${E}-slide-down-enter${E}-slide-down-enter-active${ye}-placement-bottomLeft,
|
|
&${E}-slide-down-appear${E}-slide-down-appear-active${ye}-placement-bottomLeft,
|
|
&${E}-slide-down-enter${E}-slide-down-enter-active${ye}-placement-bottom,
|
|
&${E}-slide-down-appear${E}-slide-down-appear-active${ye}-placement-bottom,
|
|
&${E}-slide-down-enter${E}-slide-down-enter-active${ye}-placement-bottomRight,
|
|
&${E}-slide-down-appear${E}-slide-down-appear-active${ye}-placement-bottomRight`]:{animationName:se.fJ},[`&${E}-slide-up-enter${E}-slide-up-enter-active${ye}-placement-topLeft,
|
|
&${E}-slide-up-appear${E}-slide-up-appear-active${ye}-placement-topLeft,
|
|
&${E}-slide-up-enter${E}-slide-up-enter-active${ye}-placement-top,
|
|
&${E}-slide-up-appear${E}-slide-up-appear-active${ye}-placement-top,
|
|
&${E}-slide-up-enter${E}-slide-up-enter-active${ye}-placement-topRight,
|
|
&${E}-slide-up-appear${E}-slide-up-appear-active${ye}-placement-topRight`]:{animationName:se.Qt},[`&${E}-slide-down-leave${E}-slide-down-leave-active${ye}-placement-bottomLeft,
|
|
&${E}-slide-down-leave${E}-slide-down-leave-active${ye}-placement-bottom,
|
|
&${E}-slide-down-leave${E}-slide-down-leave-active${ye}-placement-bottomRight`]:{animationName:se.Uw},[`&${E}-slide-up-leave${E}-slide-up-leave-active${ye}-placement-topLeft,
|
|
&${E}-slide-up-leave${E}-slide-up-leave-active${ye}-placement-top,
|
|
&${E}-slide-up-leave${E}-slide-up-leave-active${ye}-placement-topRight`]:{animationName:se.ly}})},(0,be.ZP)(Me,{colorBg:Pe,limitVerticalRadius:!0,arrowPlacement:{top:!0,bottom:!0}}),{[`${ye} ${re}`]:{position:"relative",margin:0},[`${re}-submenu-popup`]:{position:"absolute",zIndex:a,background:"transparent",boxShadow:"none",transformOrigin:"0 0","ul, li":{listStyle:"none",margin:0}},[`${ye}, ${ye}-menu-submenu`]:{[re]:Object.assign(Object.assign({padding:ae,listStyleType:"none",backgroundColor:Pe,backgroundClip:"padding-box",borderRadius:Me.borderRadiusLG,outline:"none",boxShadow:Me.boxShadowSecondary},(0,z.Qy)(Me)),{[`${re}-item-group-title`]:{padding:`${ne}px ${fe}px`,color:Me.colorTextDescription,transition:`all ${ee}`},[`${re}-item`]:{position:"relative",display:"flex",alignItems:"center"},[`${re}-item-icon`]:{minWidth:oe,marginInlineEnd:Me.marginXS,fontSize:Me.fontSizeSM},[`${re}-title-content`]:{flex:"auto","> a":{color:"inherit",transition:`all ${ee}`,"&:hover":{color:"inherit"},"&::after":{position:"absolute",inset:0,content:'""'}}},[`${re}-item, ${re}-submenu-title`]:Object.assign(Object.assign({clear:"both",margin:0,padding:`${ne}px ${fe}px`,color:Me.colorText,fontWeight:"normal",fontSize:oe,lineHeight:Me.lineHeight,cursor:"pointer",transition:`all ${ee}`,borderRadius:Me.borderRadiusSM,"&:hover, &-active":{backgroundColor:Me.controlItemBgHover}},(0,z.Qy)(Me)),{"&-selected":{color:Me.colorPrimary,backgroundColor:Me.controlItemBgActive,"&:hover, &-active":{backgroundColor:Me.controlItemBgActiveHover}},"&-disabled":{color:ue,cursor:"not-allowed","&:hover":{color:ue,backgroundColor:Pe,cursor:"not-allowed"},a:{pointerEvents:"none"}},"&-divider":{height:1,margin:`${Me.marginXXS}px 0`,overflow:"hidden",lineHeight:0,backgroundColor:Me.colorSplit},[`${ye}-menu-submenu-expand-icon`]:{position:"absolute",insetInlineEnd:Me.paddingXS,[`${ye}-menu-submenu-arrow-icon`]:{marginInlineEnd:"0 !important",color:Me.colorTextDescription,fontSize:me,fontStyle:"normal"}}}),[`${re}-item-group-list`]:{margin:`0 ${Me.marginXS}px`,padding:0,listStyle:"none"},[`${re}-submenu-title`]:{paddingInlineEnd:fe+Me.fontSizeSM},[`${re}-submenu-vertical`]:{position:"relative"},[`${re}-submenu${re}-submenu-disabled ${ye}-menu-submenu-title`]:{[`&, ${ye}-menu-submenu-arrow-icon`]:{color:ue,backgroundColor:Pe,cursor:"not-allowed"}},[`${re}-submenu-selected ${ye}-menu-submenu-title`]:{color:Me.colorPrimary}})}},[(0,se.oN)(Me,"slide-up"),(0,se.oN)(Me,"slide-down"),(0,ve.Fm)(Me,"move-up"),(0,ve.Fm)(Me,"move-down"),(0,Ie._y)(Me,"zoom-big")]]};var Ze=(0,Ne.Z)("Dropdown",(Me,ye)=>{let{rootPrefixCls:re}=ye;const{marginXXS:a,sizePopupArrow:y,controlHeight:b,fontSize:E,lineHeight:x,paddingXXS:ee,componentCls:ne,borderRadiusLG:oe}=Me,ae=(b-E*x)/2,{dropdownArrowOffset:ue}=(0,be.fS)({contentRadius:oe}),me=(0,ie.TS)(Me,{menuCls:`${ne}-menu`,rootPrefixCls:re,dropdownArrowDistance:y/2+a,dropdownArrowOffset:ue,dropdownPaddingVertical:ae,dropdownEdgeChildPadding:ee});return[ke(me),He(me)]},Me=>({zIndexPopup:Me.zIndexPopupBase+50}))},8628:function(bt,yt,te){"use strict";var z=te(59301),se=te(34280),ve=te(56762),Ie=te(69507);function be(){let Ne=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!0;const ie=(0,z.useRef)({}),et=(0,ve.Z)(),He=(0,Ie.ZP)();return(0,se.Z)(()=>{const ke=He.subscribe(Ze=>{ie.current=Ze,Ne&&et()});return()=>He.unsubscribe(ke)},[]),ie.current}yt.Z=be},45818:function(bt,yt,te){"use strict";te.d(yt,{D:function(){return ee},Z:function(){return ae}});var z=te(67711),se=te(59301),ve={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M912 192H328c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h584c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0 284H328c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h584c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0 284H328c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h584c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zM104 228a56 56 0 10112 0 56 56 0 10-112 0zm0 284a56 56 0 10112 0 56 56 0 10-112 0zm0 284a56 56 0 10112 0 56 56 0 10-112 0z"}}]},name:"bars",theme:"outlined"},Ie=ve,be=te(7657),Ne=function(me,fe){return se.createElement(be.Z,(0,z.Z)({},me,{ref:fe,icon:Ie}))},ie=se.forwardRef(Ne),et=ie,He=te(33853),ke=te(38819),Ze=te(92310),Me=te.n(Ze),ye=te(2738),a=ue=>!isNaN(parseFloat(ue))&&isFinite(ue),y=te(36355),b=te(84966),E=function(ue,me){var fe={};for(var Pe in ue)Object.prototype.hasOwnProperty.call(ue,Pe)&&me.indexOf(Pe)<0&&(fe[Pe]=ue[Pe]);if(ue!=null&&typeof Object.getOwnPropertySymbols=="function")for(var xe=0,Pe=Object.getOwnPropertySymbols(ue);xe<Pe.length;xe++)me.indexOf(Pe[xe])<0&&Object.prototype.propertyIsEnumerable.call(ue,Pe[xe])&&(fe[Pe[xe]]=ue[Pe[xe]]);return fe};const x={xs:"479.98px",sm:"575.98px",md:"767.98px",lg:"991.98px",xl:"1199.98px",xxl:"1599.98px"},ee=se.createContext({}),ne=(()=>{let ue=0;return function(){let me=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"";return ue+=1,`${me}${ue}`}})();var ae=se.forwardRef((ue,me)=>{const{prefixCls:fe,className:Pe,trigger:xe,children:Ee,defaultCollapsed:De=!1,theme:ze="dark",style:ft={},collapsible:Be=!1,reverseArrow:Ue=!1,width:Ge=200,collapsedWidth:Ke=80,zeroWidthTriggerStyle:rt,breakpoint:nt,onCollapse:vt,onBreakpoint:Tt}=ue,Yt=E(ue,["prefixCls","className","trigger","children","defaultCollapsed","theme","style","collapsible","reverseArrow","width","collapsedWidth","zeroWidthTriggerStyle","breakpoint","onCollapse","onBreakpoint"]),{siderHook:Xe}=(0,se.useContext)(b.Gs),[st,Lt]=(0,se.useState)("collapsed"in ue?ue.collapsed:De),[It,St]=(0,se.useState)(!1);(0,se.useEffect)(()=>{"collapsed"in ue&&Lt(ue.collapsed)},[ue.collapsed]);const dn=(qe,lt)=>{"collapsed"in ue||Lt(qe),vt==null||vt(qe,lt)},Fe=(0,se.useRef)();Fe.current=qe=>{St(qe.matches),Tt==null||Tt(qe.matches),st!==qe.matches&&dn(qe.matches,"responsive")},(0,se.useEffect)(()=>{function qe(it){return Fe.current(it)}let lt;if(typeof window!="undefined"){const{matchMedia:it}=window;if(it&&nt&&nt in x){lt=it(`(max-width: ${x[nt]})`);try{lt.addEventListener("change",qe)}catch(Oe){lt.addListener(qe)}qe(lt)}}return()=>{try{lt==null||lt.removeEventListener("change",qe)}catch(it){lt==null||lt.removeListener(qe)}}},[nt]),(0,se.useEffect)(()=>{const qe=ne("ant-sider-");return Xe.addSider(qe),()=>Xe.removeSider(qe)},[]);const Xt=()=>{dn(!st,"clickTrigger")},{getPrefixCls:Kt}=(0,se.useContext)(y.E_),jn=()=>{const qe=Kt("layout-sider",fe),lt=(0,ye.Z)(Yt,["collapsed"]),it=st?Ke:Ge,Oe=a(it)?`${it}px`:String(it),pt=parseFloat(String(Ke||0))===0?se.createElement("span",{onClick:Xt,className:Me()(`${qe}-zero-width-trigger`,`${qe}-zero-width-trigger-${Ue?"right":"left"}`),style:rt},xe||se.createElement(et,null)):null,he={expanded:Ue?se.createElement(ke.Z,null):se.createElement(He.Z,null),collapsed:Ue?se.createElement(He.Z,null):se.createElement(ke.Z,null)}[st?"collapsed":"expanded"],je=xe!==null?pt||se.createElement("div",{className:`${qe}-trigger`,onClick:Xt,style:{width:Oe}},xe||he):null,We=Object.assign(Object.assign({},ft),{flex:`0 0 ${Oe}`,maxWidth:Oe,minWidth:Oe,width:Oe}),we=Me()(qe,`${qe}-${ze}`,{[`${qe}-collapsed`]:!!st,[`${qe}-has-trigger`]:Be&&xe!==null&&!pt,[`${qe}-below`]:!!It,[`${qe}-zero-width`]:parseFloat(Oe)===0},Pe);return se.createElement("aside",Object.assign({className:we},lt,{style:We,ref:me}),se.createElement("div",{className:`${qe}-children`},Ee),Be||It&&pt?je:null)},Pt=se.useMemo(()=>({siderCollapsed:st}),[st]);return se.createElement(ee.Provider,{value:Pt},jn())})},84966:function(bt,yt,te){"use strict";te.d(yt,{VY:function(){return ee},$_:function(){return x},h4:function(){return E},Gs:function(){return ye},ZP:function(){return ne}});var z=te(15142),se=te(92310),ve=te.n(se),Ie=te(2738),be=te(59301),Ne=te(36355),ie=te(83116),He=oe=>{const{componentCls:ae,bodyBg:ue,lightSiderBg:me,lightTriggerBg:fe,lightTriggerColor:Pe}=oe;return{[`${ae}-sider-light`]:{background:me,[`${ae}-sider-trigger`]:{color:Pe,background:fe},[`${ae}-sider-zero-width-trigger`]:{color:Pe,background:fe,border:`1px solid ${ue}`,borderInlineStart:0}}}};const ke=oe=>{const{antCls:ae,componentCls:ue,colorText:me,triggerColor:fe,footerBg:Pe,triggerBg:xe,headerHeight:Ee,headerPadding:De,headerColor:ze,footerPadding:ft,triggerHeight:Be,zeroTriggerHeight:Ue,zeroTriggerWidth:Ge,motionDurationMid:Ke,motionDurationSlow:rt,fontSize:nt,borderRadius:vt,bodyBg:Tt,headerBg:Yt,siderBg:Xe}=oe;return{[ue]:Object.assign(Object.assign({display:"flex",flex:"auto",flexDirection:"column",minHeight:0,background:Tt,"&, *":{boxSizing:"border-box"},[`&${ue}-has-sider`]:{flexDirection:"row",[`> ${ue}, > ${ue}-content`]:{width:0}},[`${ue}-header, &${ue}-footer`]:{flex:"0 0 auto"},[`${ue}-sider`]:{position:"relative",minWidth:0,background:Xe,transition:`all ${Ke}, background 0s`,"&-children":{height:"100%",marginTop:-.1,paddingTop:.1,[`${ae}-menu${ae}-menu-inline-collapsed`]:{width:"auto"}},"&-has-trigger":{paddingBottom:Be},"&-right":{order:1},"&-trigger":{position:"fixed",bottom:0,zIndex:1,height:Be,color:fe,lineHeight:`${Be}px`,textAlign:"center",background:xe,cursor:"pointer",transition:`all ${Ke}`},"&-zero-width":{"> *":{overflow:"hidden"},"&-trigger":{position:"absolute",top:Ee,insetInlineEnd:-Ge,zIndex:1,width:Ge,height:Ue,color:fe,fontSize:oe.fontSizeXL,display:"flex",alignItems:"center",justifyContent:"center",background:Xe,borderStartStartRadius:0,borderStartEndRadius:vt,borderEndEndRadius:vt,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:vt,borderStartEndRadius:0,borderEndEndRadius:0,borderEndStartRadius:vt}}}}},He(oe)),{"&-rtl":{direction:"rtl"}}),[`${ue}-header`]:{height:Ee,padding:De,color:ze,lineHeight:`${Ee}px`,background:Yt,[`${ae}-menu`]:{lineHeight:"inherit"}},[`${ue}-footer`]:{padding:ft,color:me,fontSize:nt,background:Pe},[`${ue}-content`]:{flex:"auto",minHeight:0}}};var Ze=(0,ie.Z)("Layout",oe=>[ke(oe)],oe=>{const{colorBgLayout:ae,controlHeight:ue,controlHeightLG:me,colorText:fe,controlHeightSM:Pe,marginXXS:xe,colorTextLightSolid:Ee,colorBgContainer:De}=oe,ze=me*1.25;return{colorBgHeader:"#001529",colorBgBody:ae,colorBgTrigger:"#002140",bodyBg:ae,headerBg:"#001529",headerHeight:ue*2,headerPadding:`0 ${ze}px`,headerColor:fe,footerPadding:`${Pe}px ${ze}px`,footerBg:ae,siderBg:"#001529",triggerHeight:me+xe*2,triggerBg:"#002140",triggerColor:Ee,zeroTriggerWidth:me,zeroTriggerHeight:me,lightSiderBg:De,lightTriggerBg:De,lightTriggerColor:fe}},{deprecatedTokens:[["colorBgBody","bodyBg"],["colorBgHeader","headerBg"],["colorBgTrigger","triggerBg"]]}),Me=function(oe,ae){var ue={};for(var me in oe)Object.prototype.hasOwnProperty.call(oe,me)&&ae.indexOf(me)<0&&(ue[me]=oe[me]);if(oe!=null&&typeof Object.getOwnPropertySymbols=="function")for(var fe=0,me=Object.getOwnPropertySymbols(oe);fe<me.length;fe++)ae.indexOf(me[fe])<0&&Object.prototype.propertyIsEnumerable.call(oe,me[fe])&&(ue[me[fe]]=oe[me[fe]]);return ue};const ye=be.createContext({siderHook:{addSider:()=>null,removeSider:()=>null}});function re(oe){let{suffixCls:ae,tagName:ue,displayName:me}=oe;return fe=>be.forwardRef((xe,Ee)=>be.createElement(fe,Object.assign({ref:Ee,suffixCls:ae,tagName:ue},xe)))}const a=be.forwardRef((oe,ae)=>{const{prefixCls:ue,suffixCls:me,className:fe,tagName:Pe}=oe,xe=Me(oe,["prefixCls","suffixCls","className","tagName"]),{getPrefixCls:Ee}=be.useContext(Ne.E_),De=Ee("layout",ue),[ze,ft]=Ze(De),Be=me?`${De}-${me}`:De;return ze(be.createElement(Pe,Object.assign({className:ve()(ue||Be,fe,ft),ref:ae},xe)))}),y=be.forwardRef((oe,ae)=>{const{direction:ue}=be.useContext(Ne.E_),[me,fe]=be.useState([]),{prefixCls:Pe,className:xe,rootClassName:Ee,children:De,hasSider:ze,tagName:ft,style:Be}=oe,Ue=Me(oe,["prefixCls","className","rootClassName","children","hasSider","tagName","style"]),Ge=(0,Ie.Z)(Ue,["suffixCls"]),{getPrefixCls:Ke,layout:rt}=be.useContext(Ne.E_),nt=Ke("layout",Pe),[vt,Tt]=Ze(nt),Yt=ve()(nt,{[`${nt}-has-sider`]:typeof ze=="boolean"?ze:me.length>0,[`${nt}-rtl`]:ue==="rtl"},rt==null?void 0:rt.className,xe,Ee,Tt),Xe=be.useMemo(()=>({siderHook:{addSider:st=>{fe(Lt=>[].concat((0,z.Z)(Lt),[st]))},removeSider:st=>{fe(Lt=>Lt.filter(It=>It!==st))}}}),[]);return vt(be.createElement(ye.Provider,{value:Xe},be.createElement(ft,Object.assign({ref:ae,className:Yt,style:Object.assign(Object.assign({},rt==null?void 0:rt.style),Be)},Ge),De)))}),b=re({tagName:"div",displayName:"Layout"})(y),E=re({suffixCls:"header",tagName:"header",displayName:"Header"})(a),x=re({suffixCls:"footer",tagName:"footer",displayName:"Footer"})(a),ee=re({suffixCls:"content",tagName:"main",displayName:"Content"})(a);var ne=b},40875:function(bt,yt,te){"use strict";te.d(yt,{J:function(){return Ne}});var z=te(59301),se=te(33234),ve=te(70425),Ie=function(ie,et){var He={};for(var ke in ie)Object.prototype.hasOwnProperty.call(ie,ke)&&et.indexOf(ke)<0&&(He[ke]=ie[ke]);if(ie!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Ze=0,ke=Object.getOwnPropertySymbols(ie);Ze<ke.length;Ze++)et.indexOf(ke[Ze])<0&&Object.prototype.propertyIsEnumerable.call(ie,ke[Ze])&&(He[ke[Ze]]=ie[ke[Ze]]);return He};const be=z.createContext(null),Ne=z.forwardRef((ie,et)=>{const{children:He}=ie,ke=Ie(ie,["children"]),Ze=z.useContext(be),Me=z.useMemo(()=>Object.assign(Object.assign({},Ze),ke),[Ze,ke.prefixCls,ke.mode,ke.selectable]);return z.createElement(be.Provider,{value:Me},z.createElement(se.BR,null,(0,ve.supportNodeRef)(He)?z.cloneElement(He,{ref:et}):He))});yt.Z=be},20834:function(bt,yt,te){"use strict";te.d(yt,{default:function(){return Pt}});var z=te(15285),se=te(59301),ve=te(45818),Ie=te(92310),be=te.n(Ie),Ne=te(36355),ie=function(qe,lt){var it={};for(var Oe in qe)Object.prototype.hasOwnProperty.call(qe,Oe)&<.indexOf(Oe)<0&&(it[Oe]=qe[Oe]);if(qe!=null&&typeof Object.getOwnPropertySymbols=="function")for(var pt=0,Oe=Object.getOwnPropertySymbols(qe);pt<Oe.length;pt++)lt.indexOf(Oe[pt])<0&&Object.prototype.propertyIsEnumerable.call(qe,Oe[pt])&&(it[Oe[pt]]=qe[Oe[pt]]);return it},He=qe=>{const{prefixCls:lt,className:it,dashed:Oe}=qe,pt=ie(qe,["prefixCls","className","dashed"]),{getPrefixCls:gt}=se.useContext(Ne.E_),Le=gt("menu",lt),he=be()({[`${Le}-item-divider-dashed`]:!!Oe},it);return se.createElement(z.iz,Object.assign({className:he},pt))},ke=te(11592),Ze=te(2738),Me=te(6848),ye=te(92343),a=(0,se.createContext)({prefixCls:"",firstLevel:!0,inlineCollapsed:!1}),b=qe=>{var lt;const{className:it,children:Oe,icon:pt,title:gt,danger:Le}=qe,{prefixCls:he,firstLevel:je,direction:We,disableMenuItemTitleTooltip:we,inlineCollapsed:mt}=se.useContext(a),Je=_e=>{const ct=se.createElement("span",{className:`${he}-title-content`},Oe);return(!pt||(0,ye.l$)(Oe)&&Oe.type==="span")&&Oe&&_e&&je&&typeof Oe=="string"?se.createElement("div",{className:`${he}-inline-collapsed-noicon`},Oe.charAt(0)):ct},{siderCollapsed:jt}=se.useContext(ve.D);let Se=gt;typeof gt=="undefined"?Se=je?Oe:"":gt===!1&&(Se="");const ut={title:Se};!jt&&!mt&&(ut.title=null,ut.open=!1);const wt=(0,ke.Z)(Oe).length;let Ae=se.createElement(z.ck,Object.assign({},(0,Ze.Z)(qe,["title","icon","danger"]),{className:be()({[`${he}-item-danger`]:Le,[`${he}-item-only-child`]:(pt?wt+1:wt)===1},it),title:typeof gt=="string"?gt:void 0}),(0,ye.Tm)(pt,{className:be()((0,ye.l$)(pt)?(lt=pt.props)===null||lt===void 0?void 0:lt.className:"",`${he}-item-icon`)}),Je(mt));return we||(Ae=se.createElement(Me.Z,Object.assign({},ut,{placement:We==="rtl"?"left":"right",overlayClassName:`${he}-inline-collapsed-tooltip`}),Ae)),Ae},x=qe=>{var lt;const{popupClassName:it,icon:Oe,title:pt,theme:gt}=qe,Le=se.useContext(a),{prefixCls:he,inlineCollapsed:je,theme:We}=Le,we=(0,z.Xl)();let mt;if(!Oe)mt=je&&!we.length&&pt&&typeof pt=="string"?se.createElement("div",{className:`${he}-inline-collapsed-noicon`},pt.charAt(0)):se.createElement("span",{className:`${he}-title-content`},pt);else{const jt=(0,ye.l$)(pt)&&pt.type==="span";mt=se.createElement(se.Fragment,null,(0,ye.Tm)(Oe,{className:be()((0,ye.l$)(Oe)?(lt=Oe.props)===null||lt===void 0?void 0:lt.className:"",`${he}-item-icon`)}),jt?pt:se.createElement("span",{className:`${he}-title-content`},pt))}const Je=se.useMemo(()=>Object.assign(Object.assign({},Le),{firstLevel:!1}),[Le]);return se.createElement(a.Provider,{value:Je},se.createElement(z.Wd,Object.assign({},(0,Ze.Z)(qe,["icon"]),{title:mt,popupClassName:be()(he,it,`${he}-${gt||We}`)})))},ee=te(18785),ne=te(70425),oe=te(62892),ae=te(40875),ue=function(qe,lt){var it={};for(var Oe in qe)Object.prototype.hasOwnProperty.call(qe,Oe)&<.indexOf(Oe)<0&&(it[Oe]=qe[Oe]);if(qe!=null&&typeof Object.getOwnPropertySymbols=="function")for(var pt=0,Oe=Object.getOwnPropertySymbols(qe);pt<Oe.length;pt++)lt.indexOf(Oe[pt])<0&&Object.prototype.propertyIsEnumerable.call(qe,Oe[pt])&&(it[Oe[pt]]=qe[Oe[pt]]);return it};function me(qe){return(qe||[]).map((lt,it)=>{if(lt&&typeof lt=="object"){const Oe=lt,{label:pt,children:gt,key:Le,type:he}=Oe,je=ue(Oe,["label","children","key","type"]),We=Le!=null?Le:`tmp-${it}`;return gt||he==="group"?he==="group"?se.createElement(z.BW,Object.assign({key:We},je,{title:pt}),me(gt)):se.createElement(x,Object.assign({key:We},je,{title:pt}),me(gt)):he==="divider"?se.createElement(He,Object.assign({key:We},je)):se.createElement(b,Object.assign({key:We},je),pt)}return null}).filter(lt=>lt)}function fe(qe){return se.useMemo(()=>qe&&me(qe),[qe])}var Pe=te(64993),xe=te(17313),Ee=te(8378),De=te(13826),ze=te(29878),ft=te(83116),Be=te(37613),Ge=qe=>{const{componentCls:lt,motionDurationSlow:it,horizontalLineHeight:Oe,colorSplit:pt,lineWidth:gt,lineType:Le,itemPaddingInline:he}=qe;return{[`${lt}-horizontal`]:{lineHeight:Oe,border:0,borderBottom:`${gt}px ${Le} ${pt}`,boxShadow:"none","&::after":{display:"block",clear:"both",height:0,content:'"\\20"'},[`${lt}-item, ${lt}-submenu`]:{position:"relative",display:"inline-block",verticalAlign:"bottom",paddingInline:he},[`> ${lt}-item:hover,
|
|
> ${lt}-item-active,
|
|
> ${lt}-submenu ${lt}-submenu-title:hover`]:{backgroundColor:"transparent"},[`${lt}-item, ${lt}-submenu-title`]:{transition:[`border-color ${it}`,`background ${it}`].join(",")},[`${lt}-submenu-arrow`]:{display:"none"}}}},rt=qe=>{let{componentCls:lt,menuArrowOffset:it}=qe;return{[`${lt}-rtl`]:{direction:"rtl"},[`${lt}-submenu-rtl`]:{transformOrigin:"100% 0"},[`${lt}-rtl${lt}-vertical,
|
|
${lt}-submenu-rtl ${lt}-vertical`]:{[`${lt}-submenu-arrow`]:{"&::before":{transform:`rotate(-45deg) translateY(-${it})`},"&::after":{transform:`rotate(45deg) translateY(${it})`}}}}};const nt=qe=>Object.assign({},(0,xe.oN)(qe));var Tt=(qe,lt)=>{const{componentCls:it,itemColor:Oe,itemSelectedColor:pt,groupTitleColor:gt,itemBg:Le,subMenuItemBg:he,itemSelectedBg:je,activeBarHeight:We,activeBarWidth:we,activeBarBorderWidth:mt,motionDurationSlow:Je,motionEaseInOut:jt,motionEaseOut:Se,itemPaddingInline:ut,motionDurationMid:wt,itemHoverColor:Ae,lineType:_e,colorSplit:ct,itemDisabledColor:Ft,dangerItemColor:zt,dangerItemHoverColor:fn,dangerItemSelectedColor:dt,dangerItemActiveBg:Bt,dangerItemSelectedBg:Et,itemHoverBg:tn,itemActiveBg:Vt,menuSubMenuBg:sn,horizontalItemSelectedColor:Un,horizontalItemSelectedBg:pn,horizontalItemBorderRadius:rn,horizontalItemHoverBg:$n,popupBg:_t}=qe;return{[`${it}-${lt}, ${it}-${lt} > ${it}`]:{color:Oe,background:Le,[`&${it}-root:focus-visible`]:Object.assign({},nt(qe)),[`${it}-item-group-title`]:{color:gt},[`${it}-submenu-selected`]:{[`> ${it}-submenu-title`]:{color:pt}},[`${it}-item-disabled, ${it}-submenu-disabled`]:{color:`${Ft} !important`},[`${it}-item:not(${it}-item-selected):not(${it}-submenu-selected)`]:{[`&:hover, > ${it}-submenu-title:hover`]:{color:Ae}},[`&:not(${it}-horizontal)`]:{[`${it}-item:not(${it}-item-selected)`]:{"&:hover":{backgroundColor:tn},"&:active":{backgroundColor:Vt}},[`${it}-submenu-title`]:{"&:hover":{backgroundColor:tn},"&:active":{backgroundColor:Vt}}},[`${it}-item-danger`]:{color:zt,[`&${it}-item:hover`]:{[`&:not(${it}-item-selected):not(${it}-submenu-selected)`]:{color:fn}},[`&${it}-item:active`]:{background:Bt}},[`${it}-item a`]:{"&, &:hover":{color:"inherit"}},[`${it}-item-selected`]:{color:pt,[`&${it}-item-danger`]:{color:dt},"a, a:hover":{color:"inherit"}},[`& ${it}-item-selected`]:{backgroundColor:je,[`&${it}-item-danger`]:{backgroundColor:Et}},[`${it}-item, ${it}-submenu-title`]:{[`&:not(${it}-item-disabled):focus-visible`]:Object.assign({},nt(qe))},[`&${it}-submenu > ${it}`]:{backgroundColor:sn},[`&${it}-popup > ${it}`]:{backgroundColor:_t},[`&${it}-horizontal`]:Object.assign(Object.assign({},lt==="dark"?{borderBottom:0}:{}),{[`> ${it}-item, > ${it}-submenu`]:{top:mt,marginTop:-mt,marginBottom:0,borderRadius:rn,"&::after":{position:"absolute",insetInline:ut,bottom:0,borderBottom:`${We}px solid transparent`,transition:`border-color ${Je} ${jt}`,content:'""'},"&:hover, &-active, &-open":{background:$n,"&::after":{borderBottomWidth:We,borderBottomColor:Un}},"&-selected":{color:Un,backgroundColor:pn,"&:hover":{backgroundColor:pn},"&::after":{borderBottomWidth:We,borderBottomColor:Un}}}}),[`&${it}-root`]:{[`&${it}-inline, &${it}-vertical`]:{borderInlineEnd:`${mt}px ${_e} ${ct}`}},[`&${it}-inline`]:{[`${it}-sub${it}-inline`]:{background:he},[`${it}-item, ${it}-submenu-title`]:mt&&we?{width:`calc(100% + ${mt}px)`}:{},[`${it}-item`]:{position:"relative","&::after":{position:"absolute",insetBlock:0,insetInlineEnd:0,borderInlineEnd:`${we}px solid ${pt}`,transform:"scaleY(0.0001)",opacity:0,transition:[`transform ${wt} ${Se}`,`opacity ${wt} ${Se}`].join(","),content:'""'},[`&${it}-item-danger`]:{"&::after":{borderInlineEndColor:dt}}},[`${it}-selected, ${it}-item-selected`]:{"&::after":{transform:"scaleY(1)",opacity:1,transition:[`transform ${wt} ${jt}`,`opacity ${wt} ${jt}`].join(",")}}}}}};const Yt=qe=>{const{componentCls:lt,itemHeight:it,itemMarginInline:Oe,padding:pt,menuArrowSize:gt,marginXS:Le,itemMarginBlock:he}=qe,je=pt+gt+Le;return{[`${lt}-item`]:{position:"relative",overflow:"hidden"},[`${lt}-item, ${lt}-submenu-title`]:{height:it,lineHeight:`${it}px`,paddingInline:pt,overflow:"hidden",textOverflow:"ellipsis",marginInline:Oe,marginBlock:he,width:`calc(100% - ${Oe*2}px)`},[`> ${lt}-item,
|
|
> ${lt}-submenu > ${lt}-submenu-title`]:{height:it,lineHeight:`${it}px`},[`${lt}-item-group-list ${lt}-submenu-title,
|
|
${lt}-submenu-title`]:{paddingInlineEnd:je}}};var st=qe=>{const{componentCls:lt,iconCls:it,itemHeight:Oe,colorTextLightSolid:pt,dropdownWidth:gt,controlHeightLG:Le,motionDurationMid:he,motionEaseOut:je,paddingXL:We,itemMarginInline:we,fontSizeLG:mt,motionDurationSlow:Je,paddingXS:jt,boxShadowSecondary:Se,collapsedWidth:ut,collapsedIconSize:wt}=qe,Ae={height:Oe,lineHeight:`${Oe}px`,listStylePosition:"inside",listStyleType:"disc"};return[{[lt]:{"&-inline, &-vertical":Object.assign({[`&${lt}-root`]:{boxShadow:"none"}},Yt(qe))},[`${lt}-submenu-popup`]:{[`${lt}-vertical`]:Object.assign(Object.assign({},Yt(qe)),{boxShadow:Se})}},{[`${lt}-submenu-popup ${lt}-vertical${lt}-sub`]:{minWidth:gt,maxHeight:`calc(100vh - ${Le*2.5}px)`,padding:"0",overflow:"hidden",borderInlineEnd:0,"&:not([class*='-active'])":{overflowX:"hidden",overflowY:"auto"}}},{[`${lt}-inline`]:{width:"100%",[`&${lt}-root`]:{[`${lt}-item, ${lt}-submenu-title`]:{display:"flex",alignItems:"center",transition:[`border-color ${Je}`,`background ${Je}`,`padding ${he} ${je}`].join(","),[`> ${lt}-title-content`]:{flex:"auto",minWidth:0,overflow:"hidden",textOverflow:"ellipsis"},"> *":{flex:"none"}}},[`${lt}-sub${lt}-inline`]:{padding:0,border:0,borderRadius:0,boxShadow:"none",[`& > ${lt}-submenu > ${lt}-submenu-title`]:Ae,[`& ${lt}-item-group-title`]:{paddingInlineStart:We}},[`${lt}-item`]:Ae}},{[`${lt}-inline-collapsed`]:{width:ut,[`&${lt}-root`]:{[`${lt}-item, ${lt}-submenu ${lt}-submenu-title`]:{[`> ${lt}-inline-collapsed-noicon`]:{fontSize:mt,textAlign:"center"}}},[`> ${lt}-item,
|
|
> ${lt}-item-group > ${lt}-item-group-list > ${lt}-item,
|
|
> ${lt}-item-group > ${lt}-item-group-list > ${lt}-submenu > ${lt}-submenu-title,
|
|
> ${lt}-submenu > ${lt}-submenu-title`]:{insetInlineStart:0,paddingInline:`calc(50% - ${mt/2}px - ${we}px)`,textOverflow:"clip",[`
|
|
${lt}-submenu-arrow,
|
|
${lt}-submenu-expand-icon
|
|
`]:{opacity:0},[`${lt}-item-icon, ${it}`]:{margin:0,fontSize:wt,lineHeight:`${Oe}px`,"+ span":{display:"inline-block",opacity:0}}},[`${lt}-item-icon, ${it}`]:{display:"inline-block"},"&-tooltip":{pointerEvents:"none",[`${lt}-item-icon, ${it}`]:{display:"none"},"a, a:hover":{color:pt}},[`${lt}-item-group-title`]:Object.assign(Object.assign({},xe.vS),{paddingInline:jt})}}]};const Lt=qe=>{const{componentCls:lt,motionDurationSlow:it,motionDurationMid:Oe,motionEaseInOut:pt,motionEaseOut:gt,iconCls:Le,iconSize:he,iconMarginInlineEnd:je}=qe;return{[`${lt}-item, ${lt}-submenu-title`]:{position:"relative",display:"block",margin:0,whiteSpace:"nowrap",cursor:"pointer",transition:[`border-color ${it}`,`background ${it}`,`padding ${it} ${pt}`].join(","),[`${lt}-item-icon, ${Le}`]:{minWidth:he,fontSize:he,transition:[`font-size ${Oe} ${gt}`,`margin ${it} ${pt}`,`color ${it}`].join(","),"+ span":{marginInlineStart:je,opacity:1,transition:[`opacity ${it} ${pt}`,`margin ${it}`,`color ${it}`].join(",")}},[`${lt}-item-icon`]:Object.assign({},(0,xe.Ro)()),[`&${lt}-item-only-child`]:{[`> ${Le}, > ${lt}-item-icon`]:{marginInlineEnd:0}}},[`${lt}-item-disabled, ${lt}-submenu-disabled`]:{background:"none !important",cursor:"not-allowed","&::after":{borderColor:"transparent !important"},a:{color:"inherit !important"},[`> ${lt}-submenu-title`]:{color:"inherit !important",cursor:"not-allowed"}}}},It=qe=>{const{componentCls:lt,motionDurationSlow:it,motionEaseInOut:Oe,borderRadius:pt,menuArrowSize:gt,menuArrowOffset:Le}=qe;return{[`${lt}-submenu`]:{"&-expand-icon, &-arrow":{position:"absolute",top:"50%",insetInlineEnd:qe.margin,width:gt,color:"currentcolor",transform:"translateY(-50%)",transition:`transform ${it} ${Oe}, opacity ${it}`},"&-arrow":{"&::before, &::after":{position:"absolute",width:gt*.6,height:gt*.15,backgroundColor:"currentcolor",borderRadius:pt,transition:[`background ${it} ${Oe}`,`transform ${it} ${Oe}`,`top ${it} ${Oe}`,`color ${it} ${Oe}`].join(","),content:'""'},"&::before":{transform:`rotate(45deg) translateY(-${Le})`},"&::after":{transform:`rotate(-45deg) translateY(${Le})`}}}}},St=qe=>{const{antCls:lt,componentCls:it,fontSize:Oe,motionDurationSlow:pt,motionDurationMid:gt,motionEaseInOut:Le,paddingXS:he,padding:je,colorSplit:We,lineWidth:we,zIndexPopup:mt,borderRadiusLG:Je,subMenuItemBorderRadius:jt,menuArrowSize:Se,menuArrowOffset:ut,lineType:wt,menuPanelMaskInset:Ae,groupTitleLineHeight:_e,groupTitleFontSize:ct}=qe;return[{"":{[`${it}`]:Object.assign(Object.assign({},(0,xe.dF)()),{"&-hidden":{display:"none"}})},[`${it}-submenu-hidden`]:{display:"none"}},{[it]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},(0,xe.Wf)(qe)),(0,xe.dF)()),{marginBottom:0,paddingInlineStart:0,fontSize:Oe,lineHeight:0,listStyle:"none",outline:"none",transition:`width ${pt} cubic-bezier(0.2, 0, 0, 1) 0s`,"ul, ol":{margin:0,padding:0,listStyle:"none"},"&-overflow":{display:"flex",[`${it}-item`]:{flex:"none"}},[`${it}-item, ${it}-submenu, ${it}-submenu-title`]:{borderRadius:qe.itemBorderRadius},[`${it}-item-group-title`]:{padding:`${he}px ${je}px`,fontSize:ct,lineHeight:_e,transition:`all ${pt}`},[`&-horizontal ${it}-submenu`]:{transition:[`border-color ${pt} ${Le}`,`background ${pt} ${Le}`].join(",")},[`${it}-submenu, ${it}-submenu-inline`]:{transition:[`border-color ${pt} ${Le}`,`background ${pt} ${Le}`,`padding ${gt} ${Le}`].join(",")},[`${it}-submenu ${it}-sub`]:{cursor:"initial",transition:[`background ${pt} ${Le}`,`padding ${pt} ${Le}`].join(",")},[`${it}-title-content`]:{transition:`color ${pt}`},[`${it}-item a`]:{"&::before":{position:"absolute",inset:0,backgroundColor:"transparent",content:'""'}},[`${it}-item-divider`]:{overflow:"hidden",lineHeight:0,borderColor:We,borderStyle:wt,borderWidth:0,borderTopWidth:we,marginBlock:we,padding:0,"&-dashed":{borderStyle:"dashed"}}}),Lt(qe)),{[`${it}-item-group`]:{[`${it}-item-group-list`]:{margin:0,padding:0,[`${it}-item, ${it}-submenu-title`]:{paddingInline:`${Oe*2}px ${je}px`}}},"&-submenu":{"&-popup":{position:"absolute",zIndex:mt,borderRadius:Je,boxShadow:"none",transformOrigin:"0 0",[`&${it}-submenu`]:{background:"transparent"},"&::before":{position:"absolute",inset:`${Ae}px 0 0`,zIndex:-1,width:"100%",height:"100%",opacity:0,content:'""'}},"&-placement-rightTop::before":{top:0,insetInlineStart:Ae},"\n &-placement-leftTop,\n &-placement-bottomRight,\n ":{transformOrigin:"100% 0"},"\n &-placement-leftBottom,\n &-placement-topRight,\n ":{transformOrigin:"100% 100%"},"\n &-placement-rightBottom,\n &-placement-topLeft,\n ":{transformOrigin:"0 100%"},"\n &-placement-bottomLeft,\n &-placement-rightTop,\n ":{transformOrigin:"0 0"},"\n &-placement-leftTop,\n &-placement-leftBottom\n ":{paddingInlineEnd:qe.paddingXS},"\n &-placement-rightTop,\n &-placement-rightBottom\n ":{paddingInlineStart:qe.paddingXS},"\n &-placement-topRight,\n &-placement-topLeft\n ":{paddingBottom:qe.paddingXS},"\n &-placement-bottomRight,\n &-placement-bottomLeft\n ":{paddingTop:qe.paddingXS},[`> ${it}`]:Object.assign(Object.assign(Object.assign({borderRadius:Je},Lt(qe)),It(qe)),{[`${it}-item, ${it}-submenu > ${it}-submenu-title`]:{borderRadius:jt},[`${it}-submenu-title::after`]:{transition:`transform ${pt} ${Le}`}})}}),It(qe)),{[`&-inline-collapsed ${it}-submenu-arrow,
|
|
&-inline ${it}-submenu-arrow`]:{"&::before":{transform:`rotate(-45deg) translateX(${ut})`},"&::after":{transform:`rotate(45deg) translateX(-${ut})`}},[`${it}-submenu-open${it}-submenu-inline > ${it}-submenu-title > ${it}-submenu-arrow`]:{transform:`translateY(-${Se*.2}px)`,"&::after":{transform:`rotate(-45deg) translateX(-${ut})`},"&::before":{transform:`rotate(45deg) translateX(${ut})`}}})},{[`${lt}-layout-header`]:{[it]:{lineHeight:"inherit"}}}]};var dn=(qe,lt)=>(0,ft.Z)("Menu",Oe=>{if(lt===!1)return[];const{colorBgElevated:pt,colorPrimary:gt,colorTextLightSolid:Le,controlHeightLG:he,fontSize:je,darkItemColor:We,darkDangerItemColor:we,darkItemBg:mt,darkSubMenuItemBg:Je,darkItemSelectedColor:jt,darkItemSelectedBg:Se,darkDangerItemSelectedBg:ut,darkItemHoverBg:wt,darkGroupTitleColor:Ae,darkItemHoverColor:_e,darkItemDisabledColor:ct,darkDangerItemHoverColor:Ft,darkDangerItemSelectedColor:zt,darkDangerItemActiveBg:fn}=Oe,dt=je/7*5,Bt=(0,Be.TS)(Oe,{menuArrowSize:dt,menuHorizontalHeight:he*1.15,menuArrowOffset:`${dt*.25}px`,menuPanelMaskInset:-7,menuSubMenuBg:pt}),Et=(0,Be.TS)(Bt,{itemColor:We,itemHoverColor:_e,groupTitleColor:Ae,itemSelectedColor:jt,itemBg:mt,popupBg:mt,subMenuItemBg:Je,itemActiveBg:"transparent",itemSelectedBg:Se,activeBarHeight:0,activeBarBorderWidth:0,itemHoverBg:wt,itemDisabledColor:ct,dangerItemColor:we,dangerItemHoverColor:Ft,dangerItemSelectedColor:zt,dangerItemActiveBg:fn,dangerItemSelectedBg:ut,menuSubMenuBg:Je,horizontalItemSelectedColor:Le,horizontalItemSelectedBg:gt});return[St(Bt),Ge(Bt),st(Bt),Tt(Bt,"light"),Tt(Et,"dark"),rt(Bt),(0,Ee.Z)(Bt),(0,De.oN)(Bt,"slide-up"),(0,De.oN)(Bt,"slide-down"),(0,ze._y)(Bt,"zoom-big")]},Oe=>{const{colorPrimary:pt,colorError:gt,colorTextDisabled:Le,colorErrorBg:he,colorText:je,colorTextDescription:We,colorBgContainer:we,colorFillAlter:mt,colorFillContent:Je,lineWidth:jt,lineWidthBold:Se,controlItemBgActive:ut,colorBgTextHover:wt,controlHeightLG:Ae,lineHeight:_e,colorBgElevated:ct,marginXXS:Ft,padding:zt,fontSize:fn,controlHeightSM:dt,fontSizeLG:Bt,colorTextLightSolid:Et,colorErrorHover:tn}=Oe,Vt=new Pe.C(Et).setAlpha(.65).toRgbString();return{dropdownWidth:160,zIndexPopup:Oe.zIndexPopupBase+50,radiusItem:Oe.borderRadiusLG,itemBorderRadius:Oe.borderRadiusLG,radiusSubMenuItem:Oe.borderRadiusSM,subMenuItemBorderRadius:Oe.borderRadiusSM,colorItemText:je,itemColor:je,colorItemTextHover:je,itemHoverColor:je,colorItemTextHoverHorizontal:pt,horizontalItemHoverColor:pt,colorGroupTitle:We,groupTitleColor:We,colorItemTextSelected:pt,itemSelectedColor:pt,colorItemTextSelectedHorizontal:pt,horizontalItemSelectedColor:pt,colorItemBg:we,itemBg:we,colorItemBgHover:wt,itemHoverBg:wt,colorItemBgActive:Je,itemActiveBg:ut,colorSubItemBg:mt,subMenuItemBg:mt,colorItemBgSelected:ut,itemSelectedBg:ut,colorItemBgSelectedHorizontal:"transparent",horizontalItemSelectedBg:"transparent",colorActiveBarWidth:0,activeBarWidth:0,colorActiveBarHeight:Se,activeBarHeight:Se,colorActiveBarBorderSize:jt,activeBarBorderWidth:jt,colorItemTextDisabled:Le,itemDisabledColor:Le,colorDangerItemText:gt,dangerItemColor:gt,colorDangerItemTextHover:gt,dangerItemHoverColor:gt,colorDangerItemTextSelected:gt,dangerItemSelectedColor:gt,colorDangerItemBgActive:he,dangerItemActiveBg:he,colorDangerItemBgSelected:he,dangerItemSelectedBg:he,itemMarginInline:Oe.marginXXS,horizontalItemBorderRadius:0,horizontalItemHoverBg:"transparent",itemHeight:Ae,groupTitleLineHeight:_e,collapsedWidth:Ae*2,popupBg:ct,itemMarginBlock:Ft,itemPaddingInline:zt,horizontalLineHeight:`${Ae*1.15}px`,iconSize:fn,iconMarginInlineEnd:dt-fn,collapsedIconSize:Bt,groupTitleFontSize:fn,darkItemDisabledColor:new Pe.C(Et).setAlpha(.25).toRgbString(),darkItemColor:Vt,darkDangerItemColor:gt,darkItemBg:"#001529",darkSubMenuItemBg:"#000c17",darkItemSelectedColor:Et,darkItemSelectedBg:pt,darkDangerItemSelectedBg:gt,darkItemHoverBg:"transparent",darkGroupTitleColor:Vt,darkItemHoverColor:Et,darkDangerItemHoverColor:tn,darkDangerItemSelectedColor:Et,darkDangerItemActiveBg:gt}},{deprecatedTokens:[["colorGroupTitle","groupTitleColor"],["radiusItem","itemBorderRadius"],["radiusSubMenuItem","subMenuItemBorderRadius"],["colorItemText","itemColor"],["colorItemTextHover","itemHoverColor"],["colorItemTextHoverHorizontal","horizontalItemHoverColor"],["colorItemTextSelected","itemSelectedColor"],["colorItemTextSelectedHorizontal","horizontalItemSelectedColor"],["colorItemTextDisabled","itemDisabledColor"],["colorDangerItemText","dangerItemColor"],["colorDangerItemTextHover","dangerItemHoverColor"],["colorDangerItemTextSelected","dangerItemSelectedColor"],["colorDangerItemBgActive","dangerItemActiveBg"],["colorDangerItemBgSelected","dangerItemSelectedBg"],["colorItemBg","itemBg"],["colorItemBgHover","itemHoverBg"],["colorSubItemBg","subMenuItemBg"],["colorItemBgActive","itemActiveBg"],["colorItemBgSelectedHorizontal","horizontalItemSelectedBg"],["colorActiveBarWidth","activeBarWidth"],["colorActiveBarHeight","activeBarHeight"],["colorActiveBarBorderSize","activeBarBorderWidth"],["colorItemBgSelected","itemSelectedBg"]]})(qe),Fe=function(qe,lt){var it={};for(var Oe in qe)Object.prototype.hasOwnProperty.call(qe,Oe)&<.indexOf(Oe)<0&&(it[Oe]=qe[Oe]);if(qe!=null&&typeof Object.getOwnPropertySymbols=="function")for(var pt=0,Oe=Object.getOwnPropertySymbols(qe);pt<Oe.length;pt++)lt.indexOf(Oe[pt])<0&&Object.prototype.propertyIsEnumerable.call(qe,Oe[pt])&&(it[Oe[pt]]=qe[Oe[pt]]);return it},Kt=(0,se.forwardRef)((qe,lt)=>{var it,Oe;const pt=se.useContext(ae.Z),gt=pt||{},{getPrefixCls:Le,getPopupContainer:he,direction:je,menu:We}=se.useContext(Ne.E_),we=Le(),{prefixCls:mt,className:Je,style:jt,theme:Se="light",expandIcon:ut,_internalDisableMenuItemTitleTooltip:wt,inlineCollapsed:Ae,siderCollapsed:_e,items:ct,children:Ft,rootClassName:zt,mode:fn,selectable:dt,onClick:Bt,overflowedIndicatorPopupClassName:Et}=qe,tn=Fe(qe,["prefixCls","className","style","theme","expandIcon","_internalDisableMenuItemTitleTooltip","inlineCollapsed","siderCollapsed","items","children","rootClassName","mode","selectable","onClick","overflowedIndicatorPopupClassName"]),Vt=(0,Ze.Z)(tn,["collapsedWidth"]),sn=fe(ct)||Ft;(it=gt.validator)===null||it===void 0||it.call(gt,{mode:fn});const Un=(0,ne.useEvent)(function(){var La;Bt==null||Bt.apply(void 0,arguments),(La=gt.onClick)===null||La===void 0||La.call(gt)}),pn=gt.mode||fn,rn=dt!=null?dt:gt.selectable,$n=se.useMemo(()=>_e!==void 0?_e:Ae,[Ae,_e]),_t={horizontal:{motionName:`${we}-slide-up`},inline:(0,oe.Z)(we),other:{motionName:`${we}-zoom-big`}},kt=Le("menu",mt||gt.prefixCls),[Jt,Ea]=dn(kt,!pt),qn=be()(`${kt}-${Se}`,We==null?void 0:We.className,Je);let Rn;if(typeof ut=="function")Rn=ut;else if(ut===null||ut===!1)Rn=null;else if(gt.expandIcon===null||gt.expandIcon===!1)Rn=null;else{const La=ut!=null?ut:gt.expandIcon;Rn=(0,ye.Tm)(La,{className:be()(`${kt}-submenu-expand-icon`,(0,ye.l$)(La)?(Oe=La.props)===null||Oe===void 0?void 0:Oe.className:"")})}const Ga=se.useMemo(()=>({prefixCls:kt,inlineCollapsed:$n||!1,direction:je,firstLevel:!0,theme:Se,mode:pn,disableMenuItemTitleTooltip:wt}),[kt,$n,je,wt,Se]);return Jt(se.createElement(ae.Z.Provider,{value:null},se.createElement(a.Provider,{value:Ga},se.createElement(z.ZP,Object.assign({getPopupContainer:he,overflowedIndicator:se.createElement(ee.Z,null),overflowedIndicatorPopupClassName:be()(kt,`${kt}-${Se}`,Et),mode:pn,selectable:rn,onClick:Un},Vt,{inlineCollapsed:$n,style:Object.assign(Object.assign({},We==null?void 0:We.style),jt),className:qn,prefixCls:kt,direction:je,defaultMotions:_t,expandIcon:Rn,ref:lt,rootClassName:be()(zt,Ea)}),sn))))});const jn=(0,se.forwardRef)((qe,lt)=>{const it=(0,se.useRef)(null),Oe=se.useContext(ve.D);return(0,se.useImperativeHandle)(lt,()=>({menu:it.current,focus:pt=>{var gt;(gt=it.current)===null||gt===void 0||gt.focus(pt)}})),se.createElement(Kt,Object.assign({ref:it},qe,Oe))});jn.Item=b,jn.SubMenu=x,jn.Divider=He,jn.ItemGroup=z.BW;var Pt=jn},58421:function(bt,yt,te){"use strict";te.d(yt,{Z:function(){return gt}});var z=te(67711),se=te(59301),ve={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M272.9 512l265.4-339.1c4.1-5.2.4-12.9-6.3-12.9h-77.3c-4.9 0-9.6 2.3-12.6 6.1L186.8 492.3a31.99 31.99 0 000 39.5l255.3 326.1c3 3.9 7.7 6.1 12.6 6.1H532c6.7 0 10.4-7.7 6.3-12.9L272.9 512zm304 0l265.4-339.1c4.1-5.2.4-12.9-6.3-12.9h-77.3c-4.9 0-9.6 2.3-12.6 6.1L490.8 492.3a31.99 31.99 0 000 39.5l255.3 326.1c3 3.9 7.7 6.1 12.6 6.1H836c6.7 0 10.4-7.7 6.3-12.9L576.9 512z"}}]},name:"double-left",theme:"outlined"},Ie=ve,be=te(7657),Ne=function(he,je){return se.createElement(be.Z,(0,z.Z)({},he,{ref:je,icon:Ie}))},ie=se.forwardRef(Ne),et=ie,He=te(49198),ke=te(33853),Ze=te(38819),Me=te(92310),ye=te.n(Me),re=te(52873),a=te(98506),y=te(42573),b=te(58698),E=te(74700),x=te(45080),ee=te(26112),ne={ZERO:48,NINE:57,NUMPAD_ZERO:96,NUMPAD_NINE:105,BACKSPACE:8,DELETE:46,ENTER:13,ARROW_UP:38,ARROW_DOWN:40},oe=ne,ae=te(91735),ue=function(Le){(0,E.Z)(je,Le);var he=(0,x.Z)(je);function je(){var We;(0,y.Z)(this,je);for(var we=arguments.length,mt=new Array(we),Je=0;Je<we;Je++)mt[Je]=arguments[Je];return We=he.call.apply(he,[this].concat(mt)),We.state={goInputText:""},We.getValidValue=function(){var jt=We.state.goInputText;return!jt||Number.isNaN(jt)?void 0:Number(jt)},We.buildOptionText=function(jt){return"".concat(jt," ").concat(We.props.locale.items_per_page)},We.changeSize=function(jt){We.props.changeSize(Number(jt))},We.handleChange=function(jt){We.setState({goInputText:jt.target.value})},We.handleBlur=function(jt){var Se=We.props,ut=Se.goButton,wt=Se.quickGo,Ae=Se.rootPrefixCls,_e=We.state.goInputText;ut||_e===""||(We.setState({goInputText:""}),!(jt.relatedTarget&&(jt.relatedTarget.className.indexOf("".concat(Ae,"-item-link"))>=0||jt.relatedTarget.className.indexOf("".concat(Ae,"-item"))>=0))&&wt(We.getValidValue()))},We.go=function(jt){var Se=We.state.goInputText;Se!==""&&(jt.keyCode===oe.ENTER||jt.type==="click")&&(We.setState({goInputText:""}),We.props.quickGo(We.getValidValue()))},We}return(0,b.Z)(je,[{key:"getPageSizeOptions",value:function(){var we=this.props,mt=we.pageSize,Je=we.pageSizeOptions;return Je.some(function(jt){return jt.toString()===mt.toString()})?Je:Je.concat([mt.toString()]).sort(function(jt,Se){var ut=Number.isNaN(Number(jt))?0:Number(jt),wt=Number.isNaN(Number(Se))?0:Number(Se);return ut-wt})}},{key:"render",value:function(){var we=this,mt=this.props,Je=mt.pageSize,jt=mt.locale,Se=mt.rootPrefixCls,ut=mt.changeSize,wt=mt.quickGo,Ae=mt.goButton,_e=mt.selectComponentClass,ct=mt.buildOptionText,Ft=mt.selectPrefixCls,zt=mt.disabled,fn=this.state.goInputText,dt="".concat(Se,"-options"),Bt=_e,Et=null,tn=null,Vt=null;if(!ut&&!wt)return null;var sn=this.getPageSizeOptions();if(ut&&Bt){var Un=sn.map(function(pn,rn){return se.createElement(Bt.Option,{key:rn,value:pn.toString()},(ct||we.buildOptionText)(pn))});Et=se.createElement(Bt,{disabled:zt,prefixCls:Ft,showSearch:!1,className:"".concat(dt,"-size-changer"),optionLabelProp:"children",popupMatchSelectWidth:!1,value:(Je||sn[0]).toString(),onChange:this.changeSize,getPopupContainer:function(rn){return rn.parentNode},"aria-label":jt.page_size,defaultOpen:!1},Un)}return wt&&(Ae&&(Vt=typeof Ae=="boolean"?se.createElement("button",{type:"button",onClick:this.go,onKeyUp:this.go,disabled:zt,className:"".concat(dt,"-quick-jumper-button")},jt.jump_to_confirm):se.createElement("span",{onClick:this.go,onKeyUp:this.go},Ae)),tn=se.createElement("div",{className:"".concat(dt,"-quick-jumper")},jt.jump_to,se.createElement("input",{disabled:zt,type:"text",value:fn,onChange:this.handleChange,onKeyUp:this.go,onBlur:this.handleBlur,"aria-label":jt.page}),jt.page,Vt)),se.createElement("li",{className:"".concat(dt)},Et,tn)}}]),je}(se.Component);ue.defaultProps={pageSizeOptions:["10","20","50","100"]};var me=ue,fe=function(he){var je,We=he.rootPrefixCls,we=he.page,mt=he.active,Je=he.className,jt=he.showTitle,Se=he.onClick,ut=he.onKeyPress,wt=he.itemRender,Ae="".concat(We,"-item"),_e=ye()(Ae,"".concat(Ae,"-").concat(we),(je={},(0,re.Z)(je,"".concat(Ae,"-active"),mt),(0,re.Z)(je,"".concat(Ae,"-disabled"),!we),(0,re.Z)(je,he.className,Je),je)),ct=function(){Se(we)},Ft=function(dt){ut(dt,Se,we)},zt=wt(we,"page",se.createElement("a",{rel:"nofollow"},we));return zt?se.createElement("li",{title:jt?we.toString():null,className:_e,onClick:ct,onKeyPress:Ft,tabIndex:0},zt):null},Pe=fe;function xe(){}function Ee(Le){var he=Number(Le);return typeof he=="number"&&!Number.isNaN(he)&&isFinite(he)&&Math.floor(he)===he}var De=function(he,je,We){return We};function ze(Le,he,je){var We=typeof Le=="undefined"?he.pageSize:Le;return Math.floor((je.total-1)/We)+1}var ft=function(Le){(0,E.Z)(je,Le);var he=(0,x.Z)(je);function je(We){var we;(0,y.Z)(this,je),we=he.call(this,We),we.paginationNode=se.createRef(),we.getJumpPrevPage=function(){return Math.max(1,we.state.current-(we.props.showLessItems?3:5))},we.getJumpNextPage=function(){return Math.min(ze(void 0,we.state,we.props),we.state.current+(we.props.showLessItems?3:5))},we.getItemIcon=function(ut,wt){var Ae=we.props.prefixCls,_e=ut||se.createElement("button",{type:"button","aria-label":wt,className:"".concat(Ae,"-item-link")});return typeof ut=="function"&&(_e=se.createElement(ut,(0,a.Z)({},we.props))),_e},we.isValid=function(ut){var wt=we.props.total;return Ee(ut)&&ut!==we.state.current&&Ee(wt)&&wt>0},we.shouldDisplayQuickJumper=function(){var ut=we.props,wt=ut.showQuickJumper,Ae=ut.total,_e=we.state.pageSize;return Ae<=_e?!1:wt},we.handleKeyDown=function(ut){(ut.keyCode===oe.ARROW_UP||ut.keyCode===oe.ARROW_DOWN)&&ut.preventDefault()},we.handleKeyUp=function(ut){var wt=we.getValidValue(ut),Ae=we.state.currentInputValue;wt!==Ae&&we.setState({currentInputValue:wt}),ut.keyCode===oe.ENTER?we.handleChange(wt):ut.keyCode===oe.ARROW_UP?we.handleChange(wt-1):ut.keyCode===oe.ARROW_DOWN&&we.handleChange(wt+1)},we.handleBlur=function(ut){var wt=we.getValidValue(ut);we.handleChange(wt)},we.changePageSize=function(ut){var wt=we.state.current,Ae=ze(ut,we.state,we.props);wt=wt>Ae?Ae:wt,Ae===0&&(wt=we.state.current),typeof ut=="number"&&("pageSize"in we.props||we.setState({pageSize:ut}),"current"in we.props||we.setState({current:wt,currentInputValue:wt})),we.props.onShowSizeChange(wt,ut),"onChange"in we.props&&we.props.onChange&&we.props.onChange(wt,ut)},we.handleChange=function(ut){var wt=we.props,Ae=wt.disabled,_e=wt.onChange,ct=we.state,Ft=ct.pageSize,zt=ct.current,fn=ct.currentInputValue;if(we.isValid(ut)&&!Ae){var dt=ze(void 0,we.state,we.props),Bt=ut;return ut>dt?Bt=dt:ut<1&&(Bt=1),"current"in we.props||we.setState({current:Bt}),Bt!==fn&&we.setState({currentInputValue:Bt}),_e(Bt,Ft),Bt}return zt},we.prev=function(){we.hasPrev()&&we.handleChange(we.state.current-1)},we.next=function(){we.hasNext()&&we.handleChange(we.state.current+1)},we.jumpPrev=function(){we.handleChange(we.getJumpPrevPage())},we.jumpNext=function(){we.handleChange(we.getJumpNextPage())},we.hasPrev=function(){return we.state.current>1},we.hasNext=function(){return we.state.current<ze(void 0,we.state,we.props)},we.runIfEnter=function(ut,wt){if(ut.key==="Enter"||ut.charCode===13){for(var Ae=arguments.length,_e=new Array(Ae>2?Ae-2:0),ct=2;ct<Ae;ct++)_e[ct-2]=arguments[ct];wt.apply(void 0,_e)}},we.runIfEnterPrev=function(ut){we.runIfEnter(ut,we.prev)},we.runIfEnterNext=function(ut){we.runIfEnter(ut,we.next)},we.runIfEnterJumpPrev=function(ut){we.runIfEnter(ut,we.jumpPrev)},we.runIfEnterJumpNext=function(ut){we.runIfEnter(ut,we.jumpNext)},we.handleGoTO=function(ut){(ut.keyCode===oe.ENTER||ut.type==="click")&&we.handleChange(we.state.currentInputValue)},we.renderPrev=function(ut){var wt=we.props,Ae=wt.prevIcon,_e=wt.itemRender,ct=_e(ut,"prev",we.getItemIcon(Ae,"prev page")),Ft=!we.hasPrev();return(0,se.isValidElement)(ct)?(0,se.cloneElement)(ct,{disabled:Ft}):ct},we.renderNext=function(ut){var wt=we.props,Ae=wt.nextIcon,_e=wt.itemRender,ct=_e(ut,"next",we.getItemIcon(Ae,"next page")),Ft=!we.hasNext();return(0,se.isValidElement)(ct)?(0,se.cloneElement)(ct,{disabled:Ft}):ct};var mt=We.onChange!==xe,Je="current"in We;Je&&!mt&&console.warn("Warning: You provided a `current` prop to a Pagination component without an `onChange` handler. This will render a read-only component.");var jt=We.defaultCurrent;"current"in We&&(jt=We.current);var Se=We.defaultPageSize;return"pageSize"in We&&(Se=We.pageSize),jt=Math.min(jt,ze(Se,void 0,We)),we.state={current:jt,currentInputValue:jt,pageSize:Se},we}return(0,b.Z)(je,[{key:"componentDidUpdate",value:function(we,mt){var Je=this.props.prefixCls;if(mt.current!==this.state.current&&this.paginationNode.current){var jt=this.paginationNode.current.querySelector(".".concat(Je,"-item-").concat(mt.current));if(jt&&document.activeElement===jt){var Se;jt==null||(Se=jt.blur)===null||Se===void 0||Se.call(jt)}}}},{key:"getValidValue",value:function(we){var mt=we.target.value,Je=ze(void 0,this.state,this.props),jt=this.state.currentInputValue,Se;return mt===""?Se=mt:Number.isNaN(Number(mt))?Se=jt:mt>=Je?Se=Je:Se=Number(mt),Se}},{key:"getShowSizeChanger",value:function(){var we=this.props,mt=we.showSizeChanger,Je=we.total,jt=we.totalBoundaryShowSizeChanger;return typeof mt!="undefined"?mt:Je>jt}},{key:"render",value:function(){var we=this.props,mt=we.prefixCls,Je=we.className,jt=we.style,Se=we.disabled,ut=we.hideOnSinglePage,wt=we.total,Ae=we.locale,_e=we.showQuickJumper,ct=we.showLessItems,Ft=we.showTitle,zt=we.showTotal,fn=we.simple,dt=we.itemRender,Bt=we.showPrevNextJumpers,Et=we.jumpPrevIcon,tn=we.jumpNextIcon,Vt=we.selectComponentClass,sn=we.selectPrefixCls,Un=we.pageSizeOptions,pn=this.state,rn=pn.current,$n=pn.pageSize,_t=pn.currentInputValue;if(ut===!0&&wt<=$n)return null;var kt=ze(void 0,this.state,this.props),Jt=[],Ea=null,qn=null,Rn=null,Ga=null,La=null,Ar=_e&&_e.goButton,Cr=ct?1:2,Qa=rn-1>0?rn-1:0,tt=rn+1<kt?rn+1:kt,Rt=(0,ee.Z)(this.props,{aria:!0,data:!0}),Dt=zt&&se.createElement("li",{className:"".concat(mt,"-total-text")},zt(wt,[wt===0?0:(rn-1)*$n+1,rn*$n>wt?wt:rn*$n]));if(fn){Ar&&(typeof Ar=="boolean"?La=se.createElement("button",{type:"button",onClick:this.handleGoTO,onKeyUp:this.handleGoTO},Ae.jump_to_confirm):La=se.createElement("span",{onClick:this.handleGoTO,onKeyUp:this.handleGoTO},Ar),La=se.createElement("li",{title:Ft?"".concat(Ae.jump_to).concat(rn,"/").concat(kt):null,className:"".concat(mt,"-simple-pager")},La));var Zn=this.renderPrev(Qa);return se.createElement("ul",(0,z.Z)({className:ye()(mt,"".concat(mt,"-simple"),(0,re.Z)({},"".concat(mt,"-disabled"),Se),Je),style:jt,ref:this.paginationNode},Rt),Dt,Zn?se.createElement("li",{title:Ft?Ae.prev_page:null,onClick:this.prev,tabIndex:this.hasPrev()?0:null,onKeyPress:this.runIfEnterPrev,className:ye()("".concat(mt,"-prev"),(0,re.Z)({},"".concat(mt,"-disabled"),!this.hasPrev())),"aria-disabled":!this.hasPrev()},Zn):null,se.createElement("li",{title:Ft?"".concat(rn,"/").concat(kt):null,className:"".concat(mt,"-simple-pager")},se.createElement("input",{type:"text",value:_t,disabled:Se,onKeyDown:this.handleKeyDown,onKeyUp:this.handleKeyUp,onChange:this.handleKeyUp,onBlur:this.handleBlur,size:3}),se.createElement("span",{className:"".concat(mt,"-slash")},"/"),kt),se.createElement("li",{title:Ft?Ae.next_page:null,onClick:this.next,tabIndex:this.hasPrev()?0:null,onKeyPress:this.runIfEnterNext,className:ye()("".concat(mt,"-next"),(0,re.Z)({},"".concat(mt,"-disabled"),!this.hasNext())),"aria-disabled":!this.hasNext()},this.renderNext(tt)),La)}if(kt<=3+Cr*2){var cn={locale:Ae,rootPrefixCls:mt,onClick:this.handleChange,onKeyPress:this.runIfEnter,showTitle:Ft,itemRender:dt};kt||Jt.push(se.createElement(Pe,(0,z.Z)({},cn,{key:"noPager",page:1,className:"".concat(mt,"-item-disabled")})));for(var On=1;On<=kt;On+=1){var Xr=rn===On;Jt.push(se.createElement(Pe,(0,z.Z)({},cn,{key:On,page:On,active:Xr})))}}else{var Er=ct?Ae.prev_3:Ae.prev_5,Kr=ct?Ae.next_3:Ae.next_5,oo=dt(this.getJumpPrevPage(),"jump-prev",this.getItemIcon(Et,"prev page")),Xa=dt(this.getJumpNextPage(),"jump-next",this.getItemIcon(tn,"next page"));Bt&&(Ea=oo?se.createElement("li",{title:Ft?Er:null,key:"prev",onClick:this.jumpPrev,tabIndex:0,onKeyPress:this.runIfEnterJumpPrev,className:ye()("".concat(mt,"-jump-prev"),(0,re.Z)({},"".concat(mt,"-jump-prev-custom-icon"),!!Et))},oo):null,qn=Xa?se.createElement("li",{title:Ft?Kr:null,key:"next",tabIndex:0,onClick:this.jumpNext,onKeyPress:this.runIfEnterJumpNext,className:ye()("".concat(mt,"-jump-next"),(0,re.Z)({},"".concat(mt,"-jump-next-custom-icon"),!!tn))},Xa):null),Ga=se.createElement(Pe,{locale:Ae,last:!0,rootPrefixCls:mt,onClick:this.handleChange,onKeyPress:this.runIfEnter,key:kt,page:kt,active:!1,showTitle:Ft,itemRender:dt}),Rn=se.createElement(Pe,{locale:Ae,rootPrefixCls:mt,onClick:this.handleChange,onKeyPress:this.runIfEnter,key:1,page:1,active:!1,showTitle:Ft,itemRender:dt});var In=Math.max(1,rn-Cr),ur=Math.min(rn+Cr,kt);rn-1<=Cr&&(ur=1+Cr*2),kt-rn<=Cr&&(In=kt-Cr*2);for(var nr=In;nr<=ur;nr+=1){var sr=rn===nr;Jt.push(se.createElement(Pe,{locale:Ae,rootPrefixCls:mt,onClick:this.handleChange,onKeyPress:this.runIfEnter,key:nr,page:nr,active:sr,showTitle:Ft,itemRender:dt}))}rn-1>=Cr*2&&rn!==3&&(Jt[0]=(0,se.cloneElement)(Jt[0],{className:"".concat(mt,"-item-after-jump-prev")}),Jt.unshift(Ea)),kt-rn>=Cr*2&&rn!==kt-2&&(Jt[Jt.length-1]=(0,se.cloneElement)(Jt[Jt.length-1],{className:"".concat(mt,"-item-before-jump-next")}),Jt.push(qn)),In!==1&&Jt.unshift(Rn),ur!==kt&&Jt.push(Ga)}var er=!this.hasPrev()||!kt,ht=!this.hasNext()||!kt,en=this.renderPrev(Qa),nn=this.renderNext(tt);return se.createElement("ul",(0,z.Z)({className:ye()(mt,Je,(0,re.Z)({},"".concat(mt,"-disabled"),Se)),style:jt,ref:this.paginationNode},Rt),Dt,en?se.createElement("li",{title:Ft?Ae.prev_page:null,onClick:this.prev,tabIndex:er?null:0,onKeyPress:this.runIfEnterPrev,className:ye()("".concat(mt,"-prev"),(0,re.Z)({},"".concat(mt,"-disabled"),er)),"aria-disabled":er},en):null,Jt,nn?se.createElement("li",{title:Ft?Ae.next_page:null,onClick:this.next,tabIndex:ht?null:0,onKeyPress:this.runIfEnterNext,className:ye()("".concat(mt,"-next"),(0,re.Z)({},"".concat(mt,"-disabled"),ht)),"aria-disabled":ht},nn):null,se.createElement(me,{disabled:Se,locale:Ae,rootPrefixCls:mt,selectComponentClass:Vt,selectPrefixCls:sn,changeSize:this.getShowSizeChanger()?this.changePageSize:null,current:rn,pageSize:$n,pageSizeOptions:Un,quickGo:this.shouldDisplayQuickJumper()?this.handleChange:null,goButton:Ar}))}}],[{key:"getDerivedStateFromProps",value:function(we,mt){var Je={};if("current"in we&&(Je.current=we.current,we.current!==mt.current&&(Je.currentInputValue=Je.current)),"pageSize"in we&&we.pageSize!==mt.pageSize){var jt=mt.current,Se=ze(we.pageSize,mt,we);jt=jt>Se?Se:jt,"current"in we||(Je.current=jt,Je.currentInputValue=jt),Je.pageSize=we.pageSize}return Je}}]),je}(se.Component);ft.defaultProps={defaultCurrent:1,total:0,defaultPageSize:10,onChange:xe,className:"",selectPrefixCls:"rc-select",prefixCls:"rc-pagination",selectComponentClass:null,hideOnSinglePage:!1,showPrevNextJumpers:!0,showQuickJumper:!1,showLessItems:!1,showTitle:!0,onShowSizeChange:xe,locale:ae.Z,style:{},itemRender:De,totalBoundaryShowSizeChanger:50};var Be=ft,Ue=te(22075),Ge=te(36355),Ke=te(19716),rt=te(8628),nt=te(9763),vt=te(57809);const Tt=Le=>se.createElement(vt.default,Object.assign({},Le,{showSearch:!0,size:"small"})),Yt=Le=>se.createElement(vt.default,Object.assign({},Le,{showSearch:!0,size:"middle"}));Tt.Option=vt.default.Option,Yt.Option=vt.default.Option;var Xe=te(9937),st=te(17313),Lt=te(83116),It=te(37613);const St=Le=>{const{componentCls:he}=Le;return{[`${he}-disabled`]:{"&, &:hover":{cursor:"not-allowed",[`${he}-item-link`]:{color:Le.colorTextDisabled,cursor:"not-allowed"}},"&:focus-visible":{cursor:"not-allowed",[`${he}-item-link`]:{color:Le.colorTextDisabled,cursor:"not-allowed"}}},[`&${he}-disabled`]:{cursor:"not-allowed",[`${he}-item`]:{cursor:"not-allowed","&:hover, &:active":{backgroundColor:"transparent"},a:{color:Le.colorTextDisabled,backgroundColor:"transparent",border:"none",cursor:"not-allowed"},"&-active":{borderColor:Le.colorBorder,backgroundColor:Le.itemActiveBgDisabled,"&:hover, &:active":{backgroundColor:Le.itemActiveBgDisabled},a:{color:Le.itemActiveColorDisabled}}},[`${he}-item-link`]:{color:Le.colorTextDisabled,cursor:"not-allowed","&:hover, &:active":{backgroundColor:"transparent"},[`${he}-simple&`]:{backgroundColor:"transparent","&:hover, &:active":{backgroundColor:"transparent"}}},[`${he}-simple-pager`]:{color:Le.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"}}}}}},dn=Le=>{const{componentCls:he}=Le;return{[`&${he}-mini ${he}-total-text, &${he}-mini ${he}-simple-pager`]:{height:Le.itemSizeSM,lineHeight:`${Le.itemSizeSM}px`},[`&${he}-mini ${he}-item`]:{minWidth:Le.itemSizeSM,height:Le.itemSizeSM,margin:0,lineHeight:`${Le.itemSizeSM-2}px`},[`&${he}-mini:not(${he}-disabled) ${he}-item:not(${he}-item-active)`]:{backgroundColor:"transparent",borderColor:"transparent","&:hover":{backgroundColor:Le.colorBgTextHover},"&:active":{backgroundColor:Le.colorBgTextActive}},[`&${he}-mini ${he}-prev, &${he}-mini ${he}-next`]:{minWidth:Le.itemSizeSM,height:Le.itemSizeSM,margin:0,lineHeight:`${Le.itemSizeSM}px`},[`&${he}-mini:not(${he}-disabled)`]:{[`${he}-prev, ${he}-next`]:{[`&:hover ${he}-item-link`]:{backgroundColor:Le.colorBgTextHover},[`&:active ${he}-item-link`]:{backgroundColor:Le.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:Le.itemSizeSM,lineHeight:`${Le.itemSizeSM}px`}},[`&${he}-mini ${he}-jump-prev, &${he}-mini ${he}-jump-next`]:{height:Le.itemSizeSM,marginInlineEnd:0,lineHeight:`${Le.itemSizeSM}px`},[`&${he}-mini ${he}-options`]:{marginInlineStart:Le.paginationMiniOptionsMarginInlineStart,"&-size-changer":{top:Le.miniOptionsSizeChangerTop},"&-quick-jumper":{height:Le.itemSizeSM,lineHeight:`${Le.itemSizeSM}px`,input:Object.assign(Object.assign({},(0,Xe.x0)(Le)),{width:Le.paginationMiniQuickJumperInputWidth,height:Le.controlHeightSM})}}}},Fe=Le=>{const{componentCls:he}=Le;return{[`
|
|
&${he}-simple ${he}-prev,
|
|
&${he}-simple ${he}-next
|
|
`]:{height:Le.itemSizeSM,lineHeight:`${Le.itemSizeSM}px`,verticalAlign:"top",[`${he}-item-link`]:{height:Le.itemSizeSM,backgroundColor:"transparent",border:0,"&:hover":{backgroundColor:Le.colorBgTextHover},"&:active":{backgroundColor:Le.colorBgTextActive},"&::after":{height:Le.itemSizeSM,lineHeight:`${Le.itemSizeSM}px`}}},[`&${he}-simple ${he}-simple-pager`]:{display:"inline-block",height:Le.itemSizeSM,marginInlineEnd:Le.marginXS,input:{boxSizing:"border-box",height:"100%",marginInlineEnd:Le.marginXS,padding:`0 ${Le.paginationItemPaddingInline}px`,textAlign:"center",backgroundColor:Le.itemInputBg,border:`${Le.lineWidth}px ${Le.lineType} ${Le.colorBorder}`,borderRadius:Le.borderRadius,outline:"none",transition:`border-color ${Le.motionDurationMid}`,color:"inherit","&:hover":{borderColor:Le.colorPrimary},"&:focus":{borderColor:Le.colorPrimaryHover,boxShadow:`${Le.inputOutlineOffset}px 0 ${Le.controlOutlineWidth}px ${Le.controlOutline}`},"&[disabled]":{color:Le.colorTextDisabled,backgroundColor:Le.colorBgContainerDisabled,borderColor:Le.colorBorder,cursor:"not-allowed"}}}}},Xt=Le=>{const{componentCls:he}=Le;return{[`${he}-jump-prev, ${he}-jump-next`]:{outline:0,[`${he}-item-container`]:{position:"relative",[`${he}-item-link-icon`]:{color:Le.colorPrimary,fontSize:Le.fontSizeSM,opacity:0,transition:`all ${Le.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:Le.colorTextDisabled,fontFamily:"Arial, Helvetica, sans-serif",letterSpacing:Le.paginationEllipsisLetterSpacing,textAlign:"center",textIndent:Le.paginationEllipsisTextIndent,opacity:1,transition:`all ${Le.motionDurationMid}`}},"&:hover":{[`${he}-item-link-icon`]:{opacity:1},[`${he}-item-ellipsis`]:{opacity:0}}},[`
|
|
${he}-prev,
|
|
${he}-jump-prev,
|
|
${he}-jump-next
|
|
`]:{marginInlineEnd:Le.marginXS},[`
|
|
${he}-prev,
|
|
${he}-next,
|
|
${he}-jump-prev,
|
|
${he}-jump-next
|
|
`]:{display:"inline-block",minWidth:Le.itemSize,height:Le.itemSize,color:Le.colorText,fontFamily:Le.fontFamily,lineHeight:`${Le.itemSize}px`,textAlign:"center",verticalAlign:"middle",listStyle:"none",borderRadius:Le.borderRadius,cursor:"pointer",transition:`all ${Le.motionDurationMid}`},[`${he}-prev, ${he}-next`]:{fontFamily:"Arial, Helvetica, sans-serif",outline:0,button:{color:Le.colorText,cursor:"pointer",userSelect:"none"},[`${he}-item-link`]:{display:"block",width:"100%",height:"100%",padding:0,fontSize:Le.fontSizeSM,textAlign:"center",backgroundColor:"transparent",border:`${Le.lineWidth}px ${Le.lineType} transparent`,borderRadius:Le.borderRadius,outline:"none",transition:`all ${Le.motionDurationMid}`},[`&:hover ${he}-item-link`]:{backgroundColor:Le.colorBgTextHover},[`&:active ${he}-item-link`]:{backgroundColor:Le.colorBgTextActive},[`&${he}-disabled:hover`]:{[`${he}-item-link`]:{backgroundColor:"transparent"}}},[`${he}-slash`]:{marginInlineEnd:Le.paginationSlashMarginInlineEnd,marginInlineStart:Le.paginationSlashMarginInlineStart},[`${he}-options`]:{display:"inline-block",marginInlineStart:Le.margin,verticalAlign:"middle","&-size-changer.-select":{display:"inline-block",width:"auto"},"&-quick-jumper":{display:"inline-block",height:Le.controlHeight,marginInlineStart:Le.marginXS,lineHeight:`${Le.controlHeight}px`,verticalAlign:"top",input:Object.assign(Object.assign({},(0,Xe.ik)(Le)),{width:Le.controlHeightLG*1.25,height:Le.controlHeight,boxSizing:"border-box",margin:0,marginInlineStart:Le.marginXS,marginInlineEnd:Le.marginXS})}}}},Kt=Le=>{const{componentCls:he}=Le;return{[`${he}-item`]:{display:"inline-block",minWidth:Le.itemSize,height:Le.itemSize,marginInlineEnd:Le.marginXS,fontFamily:Le.fontFamily,lineHeight:`${Le.itemSize-2}px`,textAlign:"center",verticalAlign:"middle",listStyle:"none",backgroundColor:"transparent",border:`${Le.lineWidth}px ${Le.lineType} transparent`,borderRadius:Le.borderRadius,outline:0,cursor:"pointer",userSelect:"none",a:{display:"block",padding:`0 ${Le.paginationItemPaddingInline}px`,color:Le.colorText,"&:hover":{textDecoration:"none"}},[`&:not(${he}-item-active)`]:{"&:hover":{transition:`all ${Le.motionDurationMid}`,backgroundColor:Le.colorBgTextHover},"&:active":{backgroundColor:Le.colorBgTextActive}},"&-active":{fontWeight:Le.fontWeightStrong,backgroundColor:Le.itemActiveBg,borderColor:Le.colorPrimary,a:{color:Le.colorPrimary},"&:hover":{borderColor:Le.colorPrimaryHover},"&:hover a":{color:Le.colorPrimaryHover}}}}},jn=Le=>{const{componentCls:he}=Le;return{[he]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},(0,st.Wf)(Le)),{"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:Le.itemSize,marginInlineEnd:Le.marginXS,lineHeight:`${Le.itemSize-2}px`,verticalAlign:"middle"}}),Kt(Le)),Xt(Le)),Fe(Le)),dn(Le)),St(Le)),{[`@media only screen and (max-width: ${Le.screenLG}px)`]:{[`${he}-item`]:{"&-after-jump-prev, &-before-jump-next":{display:"none"}}},[`@media only screen and (max-width: ${Le.screenSM}px)`]:{[`${he}-options`]:{display:"none"}}}),[`&${Le.componentCls}-rtl`]:{direction:"rtl"}}},Pt=Le=>{const{componentCls:he}=Le;return{[`${he}${he}-disabled:not(${he}-mini)`]:{"&, &:hover":{[`${he}-item-link`]:{borderColor:Le.colorBorder}},"&:focus-visible":{[`${he}-item-link`]:{borderColor:Le.colorBorder}},[`${he}-item, ${he}-item-link`]:{backgroundColor:Le.colorBgContainerDisabled,borderColor:Le.colorBorder,[`&:hover:not(${he}-item-active)`]:{backgroundColor:Le.colorBgContainerDisabled,borderColor:Le.colorBorder,a:{color:Le.colorTextDisabled}},[`&${he}-item-active`]:{backgroundColor:Le.itemActiveBgDisabled}},[`${he}-prev, ${he}-next`]:{"&:hover button":{backgroundColor:Le.colorBgContainerDisabled,borderColor:Le.colorBorder,color:Le.colorTextDisabled},[`${he}-item-link`]:{backgroundColor:Le.colorBgContainerDisabled,borderColor:Le.colorBorder}}},[`${he}:not(${he}-mini)`]:{[`${he}-prev, ${he}-next`]:{"&:hover button":{borderColor:Le.colorPrimaryHover,backgroundColor:Le.itemBg},[`${he}-item-link`]:{backgroundColor:Le.itemLinkBg,borderColor:Le.colorBorder},[`&:hover ${he}-item-link`]:{borderColor:Le.colorPrimary,backgroundColor:Le.itemBg,color:Le.colorPrimary},[`&${he}-disabled`]:{[`${he}-item-link`]:{borderColor:Le.colorBorder,color:Le.colorTextDisabled}}},[`${he}-item`]:{backgroundColor:Le.itemBg,border:`${Le.lineWidth}px ${Le.lineType} ${Le.colorBorder}`,[`&:hover:not(${he}-item-active)`]:{borderColor:Le.colorPrimary,backgroundColor:Le.itemBg,a:{color:Le.colorPrimary}},"&-active":{borderColor:Le.colorPrimary}}}}},qe=Le=>{const{componentCls:he}=Le;return{[`${he}:not(${he}-disabled)`]:{[`${he}-item`]:Object.assign({},(0,st.Qy)(Le)),[`${he}-jump-prev, ${he}-jump-next`]:{"&:focus-visible":Object.assign({[`${he}-item-link-icon`]:{opacity:1},[`${he}-item-ellipsis`]:{opacity:0}},(0,st.oN)(Le))},[`${he}-prev, ${he}-next`]:{[`&:focus-visible ${he}-item-link`]:Object.assign({},(0,st.oN)(Le))}}}};var lt=(0,Lt.Z)("Pagination",Le=>{const he=(0,It.TS)(Le,{inputOutlineOffset:0,paginationMiniOptionsMarginInlineStart:Le.marginXXS/2,paginationMiniQuickJumperInputWidth:Le.controlHeightLG*1.1,paginationItemPaddingInline:Le.marginXXS*1.5,paginationEllipsisLetterSpacing:Le.marginXXS/2,paginationSlashMarginInlineStart:Le.marginXXS,paginationSlashMarginInlineEnd:Le.marginSM,paginationEllipsisTextIndent:"0.13em"},(0,Xe.e5)(Le),(0,Xe.TM)(Le));return[jn(he),qe(he),Le.wireframe&&Pt(he)]},Le=>({itemBg:Le.colorBgContainer,itemSize:Le.controlHeight,itemSizeSM:Le.controlHeightSM,itemActiveBg:Le.colorBgContainer,itemLinkBg:Le.colorBgContainer,itemActiveColorDisabled:Le.colorTextDisabled,itemActiveBgDisabled:Le.controlItemBgActiveDisabled,itemInputBg:Le.colorBgContainer,miniOptionsSizeChangerTop:0})),it=function(Le,he){var je={};for(var We in Le)Object.prototype.hasOwnProperty.call(Le,We)&&he.indexOf(We)<0&&(je[We]=Le[We]);if(Le!=null&&typeof Object.getOwnPropertySymbols=="function")for(var we=0,We=Object.getOwnPropertySymbols(Le);we<We.length;we++)he.indexOf(We[we])<0&&Object.prototype.propertyIsEnumerable.call(Le,We[we])&&(je[We[we]]=Le[We[we]]);return je},pt=Le=>{const{prefixCls:he,selectPrefixCls:je,className:We,rootClassName:we,style:mt,size:Je,locale:jt,selectComponentClass:Se,responsive:ut,showSizeChanger:wt}=Le,Ae=it(Le,["prefixCls","selectPrefixCls","className","rootClassName","style","size","locale","selectComponentClass","responsive","showSizeChanger"]),{xs:_e}=(0,rt.Z)(ut),{getPrefixCls:ct,direction:Ft,pagination:zt={}}=se.useContext(Ge.E_),fn=ct("pagination",he),[dt,Bt]=lt(fn),Et=wt!=null?wt:zt.showSizeChanger,tn=se.useMemo(()=>{const kt=se.createElement("span",{className:`${fn}-item-ellipsis`},"\u2022\u2022\u2022"),Jt=se.createElement("button",{className:`${fn}-item-link`,type:"button",tabIndex:-1},Ft==="rtl"?se.createElement(Ze.Z,null):se.createElement(ke.Z,null)),Ea=se.createElement("button",{className:`${fn}-item-link`,type:"button",tabIndex:-1},Ft==="rtl"?se.createElement(ke.Z,null):se.createElement(Ze.Z,null)),qn=se.createElement("a",{className:`${fn}-item-link`},se.createElement("div",{className:`${fn}-item-container`},Ft==="rtl"?se.createElement(He.Z,{className:`${fn}-item-link-icon`}):se.createElement(et,{className:`${fn}-item-link-icon`}),kt)),Rn=se.createElement("a",{className:`${fn}-item-link`},se.createElement("div",{className:`${fn}-item-container`},Ft==="rtl"?se.createElement(et,{className:`${fn}-item-link-icon`}):se.createElement(He.Z,{className:`${fn}-item-link-icon`}),kt));return{prevIcon:Jt,nextIcon:Ea,jumpPrevIcon:qn,jumpNextIcon:Rn}},[Ft,fn]),[Vt]=(0,nt.Z)("Pagination",Ue.Z),sn=Object.assign(Object.assign({},Vt),jt),Un=(0,Ke.Z)(Je),pn=Un==="small"||!!(_e&&!Un&&ut),rn=ct("select",je),$n=ye()({[`${fn}-mini`]:pn,[`${fn}-rtl`]:Ft==="rtl"},zt==null?void 0:zt.className,We,we,Bt),_t=Object.assign(Object.assign({},zt==null?void 0:zt.style),mt);return dt(se.createElement(Be,Object.assign({},tn,Ae,{style:_t,prefixCls:fn,selectPrefixCls:rn,className:$n,selectComponentClass:Se||(pn?Tt:Yt),locale:sn,showSizeChanger:Et})))},gt=pt},93948:function(bt,yt,te){"use strict";te.d(yt,{Z:function(){return wt}});var z=te(59301),se=te(29679),ve=te(40001),Ie=te(19248),be=te(99267),Ne=te(92310),ie=te.n(Ne),et=te(2738),He=te(36355),ke=te(67711),Ze=te(98506),Me=te(33346),ye={percent:0,prefixCls:"rc-progress",strokeColor:"#2db7f5",strokeLinecap:"round",strokeWidth:1,trailColor:"#D9D9D9",trailWidth:1,gapPosition:"bottom"},re=function(){var _e=(0,z.useRef)([]),ct=(0,z.useRef)(null);return(0,z.useEffect)(function(){var Ft=Date.now(),zt=!1;_e.current.forEach(function(fn){if(fn){zt=!0;var dt=fn.style;dt.transitionDuration=".3s, .3s, .3s, .06s",ct.current&&Ft-ct.current<100&&(dt.transitionDuration="0s, 0s")}}),zt&&(ct.current=Date.now())}),_e.current},a=["className","percent","prefixCls","strokeColor","strokeLinecap","strokeWidth","style","trailColor","trailWidth","transition"],y=function(_e){var ct=(0,Ze.Z)((0,Ze.Z)({},ye),_e),Ft=ct.className,zt=ct.percent,fn=ct.prefixCls,dt=ct.strokeColor,Bt=ct.strokeLinecap,Et=ct.strokeWidth,tn=ct.style,Vt=ct.trailColor,sn=ct.trailWidth,Un=ct.transition,pn=(0,Me.Z)(ct,a);delete pn.gapPosition;var rn=Array.isArray(zt)?zt:[zt],$n=Array.isArray(dt)?dt:[dt],_t=re(),kt=Et/2,Jt=100-Et/2,Ea="M ".concat(Bt==="round"?kt:0,",").concat(kt,`
|
|
L `).concat(Bt==="round"?Jt:100,",").concat(kt),qn="0 0 100 ".concat(Et),Rn=0;return z.createElement("svg",(0,ke.Z)({className:ie()("".concat(fn,"-line"),Ft),viewBox:qn,preserveAspectRatio:"none",style:tn},pn),z.createElement("path",{className:"".concat(fn,"-line-trail"),d:Ea,strokeLinecap:Bt,stroke:Vt,strokeWidth:sn||Et,fillOpacity:"0"}),rn.map(function(Ga,La){var Ar=1;switch(Bt){case"round":Ar=1-Et/100;break;case"square":Ar=1-Et/2/100;break;default:Ar=1;break}var Cr={strokeDasharray:"".concat(Ga*Ar,"px, 100px"),strokeDashoffset:"-".concat(Rn,"px"),transition:Un||"stroke-dashoffset 0.3s ease 0s, stroke-dasharray .3s ease 0s, stroke 0.3s linear"},Qa=$n[La]||$n[$n.length-1];return Rn+=Ga,z.createElement("path",{key:La,className:"".concat(fn,"-line-path"),d:Ea,strokeLinecap:Bt,stroke:Qa,strokeWidth:Et,fillOpacity:"0",ref:function(Rt){_t[La]=Rt},style:Cr})}))},b=y,E=te(26420),x=te(16886),ee=te(47273),ne=0,oe=(0,ee.Z)();function ae(){var Ae;return oe?(Ae=ne,ne+=1):Ae="TEST_OR_SSR",Ae}var ue=function(Ae){var _e=z.useState(),ct=(0,x.Z)(_e,2),Ft=ct[0],zt=ct[1];return z.useEffect(function(){zt("rc_progress_".concat(ae()))},[]),Ae||Ft},me=function(_e){var ct=_e.bg,Ft=_e.children;return z.createElement("div",{style:{width:"100%",height:"100%",background:ct}},Ft)};function fe(Ae,_e){return Object.keys(Ae).map(function(ct){var Ft=parseFloat(ct),zt="".concat(Math.floor(Ft*_e),"%");return"".concat(Ae[ct]," ").concat(zt)})}var Pe=z.forwardRef(function(Ae,_e){var ct=Ae.prefixCls,Ft=Ae.color,zt=Ae.gradientId,fn=Ae.radius,dt=Ae.style,Bt=Ae.ptg,Et=Ae.strokeLinecap,tn=Ae.strokeWidth,Vt=Ae.size,sn=Ae.gapDegree,Un=Ft&&(0,E.Z)(Ft)==="object",pn=Un?"#FFF":void 0,rn=Vt/2,$n=z.createElement("circle",{className:"".concat(ct,"-circle-path"),r:fn,cx:rn,cy:rn,stroke:pn,strokeLinecap:Et,strokeWidth:tn,opacity:Bt===0?0:1,style:dt,ref:_e});if(!Un)return $n;var _t="".concat(zt,"-conic"),kt=sn?"".concat(180+sn/2,"deg"):"0deg",Jt=fe(Ft,(360-sn)/360),Ea=fe(Ft,1),qn="conic-gradient(from ".concat(kt,", ").concat(Jt.join(", "),")"),Rn="linear-gradient(to ".concat(sn?"bottom":"top",", ").concat(Ea.join(", "),")");return z.createElement(z.Fragment,null,z.createElement("mask",{id:_t},$n),z.createElement("foreignObject",{x:0,y:0,width:Vt,height:Vt,mask:"url(#".concat(_t,")")},z.createElement(me,{bg:Rn},z.createElement(me,{bg:qn}))))}),xe=Pe,Ee=100,De=function(_e,ct,Ft,zt,fn,dt,Bt,Et,tn,Vt){var sn=arguments.length>10&&arguments[10]!==void 0?arguments[10]:0,Un=Ft/100*360*((360-dt)/360),pn=dt===0?0:{bottom:0,top:180,left:90,right:-90}[Bt],rn=(100-zt)/100*ct;tn==="round"&&zt!==100&&(rn+=Vt/2,rn>=ct&&(rn=ct-.01));var $n=Ee/2;return{stroke:typeof Et=="string"?Et:void 0,strokeDasharray:"".concat(ct,"px ").concat(_e),strokeDashoffset:rn+sn,transform:"rotate(".concat(fn+Un+pn,"deg)"),transformOrigin:"".concat($n,"px ").concat($n,"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}},ze=["id","prefixCls","steps","strokeWidth","trailWidth","gapDegree","gapPosition","trailColor","strokeLinecap","style","className","strokeColor","percent"];function ft(Ae){var _e=Ae!=null?Ae:[];return Array.isArray(_e)?_e:[_e]}var Be=function(_e){var ct=(0,Ze.Z)((0,Ze.Z)({},ye),_e),Ft=ct.id,zt=ct.prefixCls,fn=ct.steps,dt=ct.strokeWidth,Bt=ct.trailWidth,Et=ct.gapDegree,tn=Et===void 0?0:Et,Vt=ct.gapPosition,sn=ct.trailColor,Un=ct.strokeLinecap,pn=ct.style,rn=ct.className,$n=ct.strokeColor,_t=ct.percent,kt=(0,Me.Z)(ct,ze),Jt=Ee/2,Ea=ue(Ft),qn="".concat(Ea,"-gradient"),Rn=Jt-dt/2,Ga=Math.PI*2*Rn,La=tn>0?90+tn/2:-90,Ar=Ga*((360-tn)/360),Cr=(0,E.Z)(fn)==="object"?fn:{count:fn,space:2},Qa=Cr.count,tt=Cr.space,Rt=ft(_t),Dt=ft($n),Zn=Dt.find(function(Xa){return Xa&&(0,E.Z)(Xa)==="object"}),cn=Zn&&(0,E.Z)(Zn)==="object",On=cn?"butt":Un,Xr=De(Ga,Ar,0,100,La,tn,Vt,sn,On,dt),Er=re(),Kr=function(){var In=0;return Rt.map(function(ur,nr){var sr=Dt[nr]||Dt[Dt.length-1],er=De(Ga,Ar,In,ur,La,tn,Vt,sr,On,dt);return In+=ur,z.createElement(xe,{key:nr,color:sr,ptg:ur,radius:Rn,prefixCls:zt,gradientId:qn,style:er,strokeLinecap:On,strokeWidth:dt,gapDegree:tn,ref:function(en){Er[nr]=en},size:Ee})}).reverse()},oo=function(){var In=Math.round(Qa*(Rt[0]/100)),ur=100/Qa,nr=0;return new Array(Qa).fill(null).map(function(sr,er){var ht=er<=In-1?Dt[0]:sn,en=ht&&(0,E.Z)(ht)==="object"?"url(#".concat(qn,")"):void 0,nn=De(Ga,Ar,nr,ur,La,tn,Vt,ht,"butt",dt,tt);return nr+=(Ar-nn.strokeDashoffset+tt)*100/Ar,z.createElement("circle",{key:er,className:"".concat(zt,"-circle-path"),r:Rn,cx:Jt,cy:Jt,stroke:en,strokeWidth:dt,opacity:1,style:nn,ref:function(Tn){Er[er]=Tn}})})};return z.createElement("svg",(0,ke.Z)({className:ie()("".concat(zt,"-circle"),rn),viewBox:"0 0 ".concat(Ee," ").concat(Ee),style:pn,id:Ft,role:"presentation"},kt),!Qa&&z.createElement("circle",{className:"".concat(zt,"-circle-trail"),r:Rn,cx:Jt,cy:Jt,stroke:sn,strokeLinecap:On,strokeWidth:Bt||dt,style:Xr}),Qa?oo():Kr())},Ue=Be,Ge={Line:b,Circle:Ue},Ke=te(6848),rt=te(30071);function nt(Ae){return!Ae||Ae<0?0:Ae>100?100:Ae}function vt(Ae){let{success:_e,successPercent:ct}=Ae,Ft=ct;return _e&&"progress"in _e&&(Ft=_e.progress),_e&&"percent"in _e&&(Ft=_e.percent),Ft}const Tt=Ae=>{let{percent:_e,success:ct,successPercent:Ft}=Ae;const zt=nt(vt({success:ct,successPercent:Ft}));return[zt,nt(nt(_e)-zt)]},Yt=Ae=>{let{success:_e={},strokeColor:ct}=Ae;const{strokeColor:Ft}=_e;return[Ft||rt.presetPrimaryColors.green,ct||null]},Xe=(Ae,_e,ct)=>{var Ft,zt,fn,dt;let Bt=-1,Et=-1;if(_e==="step"){const tn=ct.steps,Vt=ct.strokeWidth;typeof Ae=="string"||typeof Ae=="undefined"?(Bt=Ae==="small"?2:14,Et=Vt!=null?Vt:8):typeof Ae=="number"?[Bt,Et]=[Ae,Ae]:[Bt=14,Et=8]=Ae,Bt*=tn}else if(_e==="line"){const tn=ct==null?void 0:ct.strokeWidth;typeof Ae=="string"||typeof Ae=="undefined"?Et=tn||(Ae==="small"?6:8):typeof Ae=="number"?[Bt,Et]=[Ae,Ae]:[Bt=-1,Et=8]=Ae}else(_e==="circle"||_e==="dashboard")&&(typeof Ae=="string"||typeof Ae=="undefined"?[Bt,Et]=Ae==="small"?[60,60]:[120,120]:typeof Ae=="number"?[Bt,Et]=[Ae,Ae]:(Bt=(zt=(Ft=Ae[0])!==null&&Ft!==void 0?Ft:Ae[1])!==null&&zt!==void 0?zt:120,Et=(dt=(fn=Ae[0])!==null&&fn!==void 0?fn:Ae[1])!==null&&dt!==void 0?dt:120));return[Bt,Et]},st=3,Lt=Ae=>st/Ae*100;var St=Ae=>{const{prefixCls:_e,trailColor:ct=null,strokeLinecap:Ft="round",gapPosition:zt,gapDegree:fn,width:dt=120,type:Bt,children:Et,success:tn,size:Vt=dt}=Ae,[sn,Un]=Xe(Vt,"circle");let{strokeWidth:pn}=Ae;pn===void 0&&(pn=Math.max(Lt(sn),6));const rn={width:sn,height:Un,fontSize:sn*.15+6},$n=z.useMemo(()=>{if(fn||fn===0)return fn;if(Bt==="dashboard")return 75},[fn,Bt]),_t=zt||Bt==="dashboard"&&"bottom"||void 0,kt=Object.prototype.toString.call(Ae.strokeColor)==="[object Object]",Jt=Yt({success:tn,strokeColor:Ae.strokeColor}),Ea=ie()(`${_e}-inner`,{[`${_e}-circle-gradient`]:kt}),qn=z.createElement(Ue,{percent:Tt(Ae),strokeWidth:pn,trailWidth:pn,strokeColor:Jt,strokeLinecap:Ft,trailColor:ct,prefixCls:_e,gapDegree:$n,gapPosition:_t});return z.createElement("div",{className:Ea,style:rn},sn<=20?z.createElement(Ke.Z,{title:Et},z.createElement("span",null,qn)):z.createElement(z.Fragment,null,qn,Et))},dn=function(Ae,_e){var ct={};for(var Ft in Ae)Object.prototype.hasOwnProperty.call(Ae,Ft)&&_e.indexOf(Ft)<0&&(ct[Ft]=Ae[Ft]);if(Ae!=null&&typeof Object.getOwnPropertySymbols=="function")for(var zt=0,Ft=Object.getOwnPropertySymbols(Ae);zt<Ft.length;zt++)_e.indexOf(Ft[zt])<0&&Object.prototype.propertyIsEnumerable.call(Ae,Ft[zt])&&(ct[Ft[zt]]=Ae[Ft[zt]]);return ct};const Fe=Ae=>{let _e=[];return Object.keys(Ae).forEach(ct=>{const Ft=parseFloat(ct.replace(/%/g,""));isNaN(Ft)||_e.push({key:Ft,value:Ae[ct]})}),_e=_e.sort((ct,Ft)=>ct.key-Ft.key),_e.map(ct=>{let{key:Ft,value:zt}=ct;return`${zt} ${Ft}%`}).join(", ")},Xt=(Ae,_e)=>{const{from:ct=rt.presetPrimaryColors.blue,to:Ft=rt.presetPrimaryColors.blue,direction:zt=_e==="rtl"?"to left":"to right"}=Ae,fn=dn(Ae,["from","to","direction"]);if(Object.keys(fn).length!==0){const dt=Fe(fn);return{backgroundImage:`linear-gradient(${zt}, ${dt})`}}return{backgroundImage:`linear-gradient(${zt}, ${ct}, ${Ft})`}};var jn=Ae=>{const{prefixCls:_e,direction:ct,percent:Ft,size:zt,strokeWidth:fn,strokeColor:dt,strokeLinecap:Bt="round",children:Et,trailColor:tn=null,success:Vt}=Ae,sn=dt&&typeof dt!="string"?Xt(dt,ct):{backgroundColor:dt},Un=Bt==="square"||Bt==="butt"?0:void 0,pn={backgroundColor:tn||void 0,borderRadius:Un},rn=zt!=null?zt:[-1,fn||(zt==="small"?6:8)],[$n,_t]=Xe(rn,"line",{strokeWidth:fn}),kt=Object.assign({width:`${nt(Ft)}%`,height:_t,borderRadius:Un},sn),Jt=vt(Ae),Ea={width:`${nt(Jt)}%`,height:_t,borderRadius:Un,backgroundColor:Vt==null?void 0:Vt.strokeColor},qn={width:$n<0?"100%":$n,height:_t};return z.createElement(z.Fragment,null,z.createElement("div",{className:`${_e}-outer`,style:qn},z.createElement("div",{className:`${_e}-inner`,style:pn},z.createElement("div",{className:`${_e}-bg`,style:kt}),Jt!==void 0?z.createElement("div",{className:`${_e}-success-bg`,style:Ea}):null)),Et)},qe=Ae=>{const{size:_e,steps:ct,percent:Ft=0,strokeWidth:zt=8,strokeColor:fn,trailColor:dt=null,prefixCls:Bt,children:Et}=Ae,tn=Math.round(ct*(Ft/100)),Vt=_e==="small"?2:14,sn=_e!=null?_e:[Vt,zt],[Un,pn]=Xe(sn,"step",{steps:ct,strokeWidth:zt}),rn=Un/ct,$n=new Array(ct);for(let _t=0;_t<ct;_t++){const kt=Array.isArray(fn)?fn[_t]:fn;$n[_t]=z.createElement("div",{key:_t,className:ie()(`${Bt}-steps-item`,{[`${Bt}-steps-item-active`]:_t<=tn-1}),style:{backgroundColor:_t<=tn-1?kt:dt,width:rn,height:pn}})}return z.createElement("div",{className:`${Bt}-steps-outer`},$n,Et)},lt=te(36237),it=te(17313),Oe=te(83116),pt=te(37613);const gt=Ae=>{const _e=Ae?"100%":"-100%";return new lt.Keyframes(`antProgress${Ae?"RTL":"LTR"}Active`,{"0%":{transform:`translateX(${_e}) scaleX(0)`,opacity:.1},"20%":{transform:`translateX(${_e}) scaleX(0)`,opacity:.5},to:{transform:"translateX(0) scaleX(1)",opacity:0}})},Le=Ae=>{const{componentCls:_e,iconCls:ct}=Ae;return{[_e]:Object.assign(Object.assign({},(0,it.Wf)(Ae)),{display:"inline-block","&-rtl":{direction:"rtl"},"&-line":{position:"relative",width:"100%",fontSize:Ae.fontSize,marginInlineEnd:Ae.marginXS,marginBottom:Ae.marginXS},[`${_e}-outer`]:{display:"inline-block",width:"100%"},[`&${_e}-show-info`]:{[`${_e}-outer`]:{marginInlineEnd:`calc(-2em - ${Ae.marginXS}px)`,paddingInlineEnd:`calc(2em + ${Ae.paddingXS}px)`}},[`${_e}-inner`]:{position:"relative",display:"inline-block",width:"100%",overflow:"hidden",verticalAlign:"middle",backgroundColor:Ae.remainingColor,borderRadius:Ae.lineBorderRadius},[`${_e}-inner:not(${_e}-circle-gradient)`]:{[`${_e}-circle-path`]:{stroke:Ae.defaultColor}},[`${_e}-success-bg, ${_e}-bg`]:{position:"relative",backgroundColor:Ae.defaultColor,borderRadius:Ae.lineBorderRadius,transition:`all ${Ae.motionDurationSlow} ${Ae.motionEaseInOutCirc}`},[`${_e}-success-bg`]:{position:"absolute",insetBlockStart:0,insetInlineStart:0,backgroundColor:Ae.colorSuccess},[`${_e}-text`]:{display:"inline-block",width:"2em",marginInlineStart:Ae.marginXS,color:Ae.colorText,lineHeight:1,whiteSpace:"nowrap",textAlign:"start",verticalAlign:"middle",wordBreak:"normal",[ct]:{fontSize:Ae.fontSize}},[`&${_e}-status-active`]:{[`${_e}-bg::before`]:{position:"absolute",inset:0,backgroundColor:Ae.colorBgContainer,borderRadius:Ae.lineBorderRadius,opacity:0,animationName:gt(),animationDuration:Ae.progressActiveMotionDuration,animationTimingFunction:Ae.motionEaseOutQuint,animationIterationCount:"infinite",content:'""'}},[`&${_e}-rtl${_e}-status-active`]:{[`${_e}-bg::before`]:{animationName:gt(!0)}},[`&${_e}-status-exception`]:{[`${_e}-bg`]:{backgroundColor:Ae.colorError},[`${_e}-text`]:{color:Ae.colorError}},[`&${_e}-status-exception ${_e}-inner:not(${_e}-circle-gradient)`]:{[`${_e}-circle-path`]:{stroke:Ae.colorError}},[`&${_e}-status-success`]:{[`${_e}-bg`]:{backgroundColor:Ae.colorSuccess},[`${_e}-text`]:{color:Ae.colorSuccess}},[`&${_e}-status-success ${_e}-inner:not(${_e}-circle-gradient)`]:{[`${_e}-circle-path`]:{stroke:Ae.colorSuccess}}})}},he=Ae=>{const{componentCls:_e,iconCls:ct}=Ae;return{[_e]:{[`${_e}-circle-trail`]:{stroke:Ae.remainingColor},[`&${_e}-circle ${_e}-inner`]:{position:"relative",lineHeight:1,backgroundColor:"transparent"},[`&${_e}-circle ${_e}-text`]:{position:"absolute",insetBlockStart:"50%",insetInlineStart:0,width:"100%",margin:0,padding:0,color:Ae.circleTextColor,fontSize:Ae.circleTextFontSize,lineHeight:1,whiteSpace:"normal",textAlign:"center",transform:"translateY(-50%)",[ct]:{fontSize:`${Ae.fontSize/Ae.fontSizeSM}em`}},[`${_e}-circle&-status-exception`]:{[`${_e}-text`]:{color:Ae.colorError}},[`${_e}-circle&-status-success`]:{[`${_e}-text`]:{color:Ae.colorSuccess}}},[`${_e}-inline-circle`]:{lineHeight:1,[`${_e}-inner`]:{verticalAlign:"bottom"}}}},je=Ae=>{const{componentCls:_e}=Ae;return{[_e]:{[`${_e}-steps`]:{display:"inline-block","&-outer":{display:"flex",flexDirection:"row",alignItems:"center"},"&-item":{flexShrink:0,minWidth:Ae.progressStepMinWidth,marginInlineEnd:Ae.progressStepMarginInlineEnd,backgroundColor:Ae.remainingColor,transition:`all ${Ae.motionDurationSlow}`,"&-active":{backgroundColor:Ae.defaultColor}}}}}},We=Ae=>{const{componentCls:_e,iconCls:ct}=Ae;return{[_e]:{[`${_e}-small&-line, ${_e}-small&-line ${_e}-text ${ct}`]:{fontSize:Ae.fontSizeSM}}}};var we=(0,Oe.Z)("Progress",Ae=>{const _e=Ae.marginXXS/2,ct=(0,pt.TS)(Ae,{progressStepMarginInlineEnd:_e,progressStepMinWidth:_e,progressActiveMotionDuration:"2.4s"});return[Le(ct),he(ct),je(ct),We(ct)]},Ae=>({circleTextColor:Ae.colorText,defaultColor:Ae.colorInfo,remainingColor:Ae.colorFillSecondary,lineBorderRadius:100,circleTextFontSize:"1em"})),mt=function(Ae,_e){var ct={};for(var Ft in Ae)Object.prototype.hasOwnProperty.call(Ae,Ft)&&_e.indexOf(Ft)<0&&(ct[Ft]=Ae[Ft]);if(Ae!=null&&typeof Object.getOwnPropertySymbols=="function")for(var zt=0,Ft=Object.getOwnPropertySymbols(Ae);zt<Ft.length;zt++)_e.indexOf(Ft[zt])<0&&Object.prototype.propertyIsEnumerable.call(Ae,Ft[zt])&&(ct[Ft[zt]]=Ae[Ft[zt]]);return ct};const Je=null,jt=["normal","exception","active","success"];var ut=z.forwardRef((Ae,_e)=>{const{prefixCls:ct,className:Ft,rootClassName:zt,steps:fn,strokeColor:dt,percent:Bt=0,size:Et="default",showInfo:tn=!0,type:Vt="line",status:sn,format:Un,style:pn}=Ae,rn=mt(Ae,["prefixCls","className","rootClassName","steps","strokeColor","percent","size","showInfo","type","status","format","style"]),$n=z.useMemo(()=>{var Rt,Dt;const Zn=vt(Ae);return parseInt(Zn!==void 0?(Rt=Zn!=null?Zn:0)===null||Rt===void 0?void 0:Rt.toString():(Dt=Bt!=null?Bt:0)===null||Dt===void 0?void 0:Dt.toString(),10)},[Bt,Ae.success,Ae.successPercent]),_t=z.useMemo(()=>!jt.includes(sn)&&$n>=100?"success":sn||"normal",[sn,$n]),{getPrefixCls:kt,direction:Jt,progress:Ea}=z.useContext(He.E_),qn=kt("progress",ct),[Rn,Ga]=we(qn),La=z.useMemo(()=>{if(!tn)return null;const Rt=vt(Ae);let Dt;const Zn=Un||(On=>`${On}%`),cn=Vt==="line";return Un||_t!=="exception"&&_t!=="success"?Dt=Zn(nt(Bt),nt(Rt)):_t==="exception"?Dt=cn?z.createElement(Ie.Z,null):z.createElement(be.Z,null):_t==="success"&&(Dt=cn?z.createElement(se.Z,null):z.createElement(ve.Z,null)),z.createElement("span",{className:`${qn}-text`,title:typeof Dt=="string"?Dt:void 0},Dt)},[tn,Bt,$n,_t,Vt,qn,Un]),Ar=Array.isArray(dt)?dt[0]:dt,Cr=typeof dt=="string"||Array.isArray(dt)?dt:void 0;let Qa;Vt==="line"?Qa=fn?z.createElement(qe,Object.assign({},Ae,{strokeColor:Cr,prefixCls:qn,steps:fn}),La):z.createElement(jn,Object.assign({},Ae,{strokeColor:Ar,prefixCls:qn,direction:Jt}),La):(Vt==="circle"||Vt==="dashboard")&&(Qa=z.createElement(St,Object.assign({},Ae,{strokeColor:Ar,prefixCls:qn,progressStatus:_t}),La));const tt=ie()(qn,`${qn}-status-${_t}`,`${qn}-${Vt==="dashboard"&&"circle"||fn&&"steps"||Vt}`,{[`${qn}-inline-circle`]:Vt==="circle"&&Xe(Et,"circle")[0]<=20,[`${qn}-show-info`]:tn,[`${qn}-${Et}`]:typeof Et=="string",[`${qn}-rtl`]:Jt==="rtl"},Ea==null?void 0:Ea.className,Ft,zt,Ga);return Rn(z.createElement("div",Object.assign({ref:_e,style:Object.assign(Object.assign({},Ea==null?void 0:Ea.style),pn),className:tt,role:"progressbar","aria-valuenow":$n},(0,et.Z)(rn,["trailColor","strokeWidth","width","gapDegree","gapPosition","strokeLinecap","success","successPercent"])),Qa))}),wt=ut},15969:function(bt,yt,te){"use strict";te.d(yt,{N:function(){return z}});const z=se=>({color:se.colorLink,textDecoration:"none",outline:"none",cursor:"pointer",transition:`color ${se.motionDurationSlow}`,"&:focus, &:hover":{color:se.colorLinkHover},"&:active":{color:se.colorLinkActive}})},1710:function(bt,yt,te){"use strict";te.d(yt,{default:function(){return Ci}});var z={},se="rc-table-internal-hook",ve=te(16886),Ie=te(6089),be=te(34280),Ne=te(13697),ie=te(59301),et=te(4676);function He(ce){var pe=ie.createContext(void 0),Te=function(at){var ot=at.value,Nt=at.children,Ot=ie.useRef(ot);Ot.current=ot;var At=ie.useState(function(){return{getValue:function(){return Ot.current},listeners:new Set}}),$t=(0,ve.Z)(At,1),Gt=$t[0];return(0,be.Z)(function(){(0,et.unstable_batchedUpdates)(function(){Gt.listeners.forEach(function(Wt){Wt(ot)})})},[ot]),ie.createElement(pe.Provider,{value:Gt},Nt)};return{Context:pe,Provider:Te,defaultValue:ce}}function ke(ce,pe){var Te=(0,Ie.Z)(typeof pe=="function"?pe:function(Wt){if(pe===void 0)return Wt;if(!Array.isArray(pe))return Wt[pe];var Cn={};return pe.forEach(function(Pn){Cn[Pn]=Wt[Pn]}),Cn}),Ve=ie.useContext(ce==null?void 0:ce.Context),at=Ve||{},ot=at.listeners,Nt=at.getValue,Ot=ie.useRef();Ot.current=Te(Ve?Nt():ce==null?void 0:ce.defaultValue);var At=ie.useState({}),$t=(0,ve.Z)(At,2),Gt=$t[1];return(0,be.Z)(function(){if(!Ve)return;function Wt(Cn){var Pn=Te(Cn);(0,Ne.Z)(Ot.current,Pn,!0)||Gt({})}return ot.add(Wt),function(){ot.delete(Wt)}},[Ve]),Ot.current}var Ze=te(67711),Me=te(8654);function ye(){var ce=ie.createContext(null);function pe(){return ie.useContext(ce)}function Te(at,ot){var Nt=(0,Me.Yr)(at),Ot=function($t,Gt){var Wt=Nt?{ref:Gt}:{},Cn=ie.useRef(0),Pn=ie.useRef($t),Fn=pe();return Fn!==null?ie.createElement(at,(0,Ze.Z)({},$t,Wt)):((!ot||ot(Pn.current,$t))&&(Cn.current+=1),Pn.current=$t,ie.createElement(ce.Provider,{value:Cn.current},ie.createElement(at,(0,Ze.Z)({},$t,Wt))))};return Nt?ie.forwardRef(Ot):Ot}function Ve(at,ot){var Nt=(0,Me.Yr)(at),Ot=function($t,Gt){var Wt=Nt?{ref:Gt}:{};return pe(),ie.createElement(at,(0,Ze.Z)({},$t,Wt))};return Nt?ie.memo(ie.forwardRef(Ot),ot):ie.memo(Ot,ot)}return{makeImmutable:Te,responseImmutable:Ve,useImmutableMark:pe}}var re=ye(),a=re.makeImmutable,y=re.responseImmutable,b=re.useImmutableMark,E=ye(),x=E.makeImmutable,ee=E.responseImmutable,ne=E.useImmutableMark,oe=He(),ae=oe;function ue(ce,pe){var Te=ie.useRef(0);Te.current+=1;var Ve=ie.useRef(ce),at=[];Object.keys(ce||{}).map(function(Nt){var Ot;(ce==null?void 0:ce[Nt])!==((Ot=Ve.current)===null||Ot===void 0?void 0:Ot[Nt])&&at.push(Nt)}),Ve.current=ce;var ot=ie.useRef([]);return at.length&&(ot.current=at),ie.useDebugValue(Te.current),ie.useDebugValue(ot.current.join(", ")),pe&&console.log("".concat(pe,":"),Te.current,ot.current),Te.current}var me=null,fe=ie.memo(function(){var ce=ue();return ie.createElement("h1",null,"Render Times: ",ce)});fe.displayName="RenderBlock";var Pe=te(26420),xe=te(98506),Ee=te(52873),De=te(92310),ze=te.n(De),ft=te(80547),Be=te(97938),Ue=te(48736),Ge=ie.createContext({renderWithProps:!1}),Ke=Ge,rt="RC_TABLE_KEY";function nt(ce){return ce==null?[]:Array.isArray(ce)?ce:[ce]}function vt(ce){var pe=[],Te={};return ce.forEach(function(Ve){for(var at=Ve||{},ot=at.key,Nt=at.dataIndex,Ot=ot||nt(Nt).join("-")||rt;Te[Ot];)Ot="".concat(Ot,"_next");Te[Ot]=!0,pe.push(Ot)}),pe}function Tt(ce){return ce!=null}function Yt(ce){return ce&&(0,Pe.Z)(ce)==="object"&&!Array.isArray(ce)&&!ie.isValidElement(ce)}function Xe(ce,pe,Te,Ve,at,ot){var Nt=ie.useContext(Ke),Ot=ne(),At=(0,ft.Z)(function(){if(Tt(Ve))return[Ve];var $t=pe==null||pe===""?[]:Array.isArray(pe)?pe:[pe],Gt=(0,Be.Z)(ce,$t),Wt=Gt,Cn=void 0;if(at){var Pn=at(Gt,ce,Te);Yt(Pn)?(Wt=Pn.children,Cn=Pn.props,Nt.renderWithProps=!0):Wt=Pn}return[Wt,Cn]},[Ot,ce,Ve,pe,at,Te],function($t,Gt){if(ot){var Wt=(0,ve.Z)($t,2),Cn=Wt[1],Pn=(0,ve.Z)(Gt,2),Fn=Pn[1];return ot(Fn,Cn)}return Nt.renderWithProps?!0:!(0,Ne.Z)($t,Gt,!0)});return At}function st(ce,pe,Te,Ve){var at=ce+pe-1;return ce<=Ve&&at>=Te}function Lt(ce,pe){return ke(ae,function(Te){var Ve=st(ce,pe||1,Te.hoverStartRow,Te.hoverEndRow);return[Ve,Te.onHover]})}var It=function(pe){var Te=pe.ellipsis,Ve=pe.rowType,at=pe.children,ot,Nt=Te===!0?{showTitle:!0}:Te;return Nt&&(Nt.showTitle||Ve==="header")&&(typeof at=="string"||typeof at=="number"?ot=at.toString():ie.isValidElement(at)&&typeof at.props.children=="string"&&(ot=at.props.children)),ot};function St(ce){var pe,Te,Ve,at,ot,Nt,Ot,At,$t=ce.component,Gt=ce.children,Wt=ce.ellipsis,Cn=ce.scope,Pn=ce.prefixCls,Fn=ce.className,Wn=ce.align,zn=ce.record,ua=ce.render,ta=ce.dataIndex,ma=ce.renderIndex,Ya=ce.shouldCellUpdate,rr=ce.index,ka=ce.rowType,Ja=ce.colSpan,Dr=ce.rowSpan,Sa=ce.fixLeft,_a=ce.fixRight,wa=ce.firstFixLeft,da=ce.lastFixLeft,fa=ce.firstFixRight,qa=ce.lastFixRight,Gr=ce.appendNode,Lr=ce.additionalProps,Ka=Lr===void 0?{}:Lr,zr=ce.isSticky,Wr="".concat(Pn,"-cell"),Jr=ke(ae,["supportSticky","allColumnsFixedLeft"]),Vr=Jr.supportSticky,Vo=Jr.allColumnsFixedLeft,lo=Xe(zn,ta,ma,Gt,ua,Ya),vr=(0,ve.Z)(lo,2),ei=vr[0],cr=vr[1],ko={},Ao=typeof Sa=="number"&&Vr,fi=typeof _a=="number"&&Vr;Ao&&(ko.position="sticky",ko.left=Sa),fi&&(ko.position="sticky",ko.right=_a);var gr=(pe=(Te=(Ve=cr==null?void 0:cr.colSpan)!==null&&Ve!==void 0?Ve:Ka.colSpan)!==null&&Te!==void 0?Te:Ja)!==null&&pe!==void 0?pe:1,or=(at=(ot=(Nt=cr==null?void 0:cr.rowSpan)!==null&&Nt!==void 0?Nt:Ka.rowSpan)!==null&&ot!==void 0?ot:Dr)!==null&&at!==void 0?at:1,ir=Lt(rr,or),Wa=(0,ve.Z)(ir,2),Na=Wa[0],An=Wa[1],va=function(lr){var Ri;zn&&An(rr,rr+or-1),Ka==null||(Ri=Ka.onMouseEnter)===null||Ri===void 0||Ri.call(Ka,lr)},Br=function(lr){var Ri;zn&&An(-1,-1),Ka==null||(Ri=Ka.onMouseLeave)===null||Ri===void 0||Ri.call(Ka,lr)};if(gr===0||or===0)return null;var Qr=(Ot=Ka.title)!==null&&Ot!==void 0?Ot:It({rowType:ka,ellipsis:Wt,children:ei}),Ni=ze()(Wr,Fn,(At={},(0,Ee.Z)(At,"".concat(Wr,"-fix-left"),Ao&&Vr),(0,Ee.Z)(At,"".concat(Wr,"-fix-left-first"),wa&&Vr),(0,Ee.Z)(At,"".concat(Wr,"-fix-left-last"),da&&Vr),(0,Ee.Z)(At,"".concat(Wr,"-fix-left-all"),da&&Vo&&Vr),(0,Ee.Z)(At,"".concat(Wr,"-fix-right"),fi&&Vr),(0,Ee.Z)(At,"".concat(Wr,"-fix-right-first"),fa&&Vr),(0,Ee.Z)(At,"".concat(Wr,"-fix-right-last"),qa&&Vr),(0,Ee.Z)(At,"".concat(Wr,"-ellipsis"),Wt),(0,Ee.Z)(At,"".concat(Wr,"-with-append"),Gr),(0,Ee.Z)(At,"".concat(Wr,"-fix-sticky"),(Ao||fi)&&zr&&Vr),(0,Ee.Z)(At,"".concat(Wr,"-row-hover"),!cr&&Na),At),Ka.className,cr==null?void 0:cr.className),bi={};Wn&&(bi.textAlign=Wn);var Ji=(0,xe.Z)((0,xe.Z)((0,xe.Z)((0,xe.Z)({},ko),Ka.style),bi),cr==null?void 0:cr.style),si=ei;return(0,Pe.Z)(si)==="object"&&!Array.isArray(si)&&!ie.isValidElement(si)&&(si=null),Wt&&(da||fa)&&(si=ie.createElement("span",{className:"".concat(Wr,"-content")},si)),ie.createElement($t,(0,Ze.Z)({},cr,Ka,{className:Ni,style:Ji,title:Qr,scope:Cn,onMouseEnter:va,onMouseLeave:Br,colSpan:gr!==1?gr:null,rowSpan:or!==1?or:null}),Gr,si)}var dn=ie.memo(St);function Fe(ce,pe,Te,Ve,at,ot){var Nt=Te[ce]||{},Ot=Te[pe]||{},At,$t;Nt.fixed==="left"?At=Ve.left[at==="rtl"?pe:ce]:Ot.fixed==="right"&&($t=Ve.right[at==="rtl"?ce:pe]);var Gt=!1,Wt=!1,Cn=!1,Pn=!1,Fn=Te[pe+1],Wn=Te[ce-1],zn=!(ot!=null&&ot.children);if(at==="rtl"){if(At!==void 0){var ua=Wn&&Wn.fixed==="left";Pn=!ua&&zn}else if($t!==void 0){var ta=Fn&&Fn.fixed==="right";Cn=!ta&&zn}}else if(At!==void 0){var ma=Fn&&Fn.fixed==="left";Gt=!ma&&zn}else if($t!==void 0){var Ya=Wn&&Wn.fixed==="right";Wt=!Ya&&zn}return{fixLeft:At,fixRight:$t,lastFixLeft:Gt,firstFixRight:Wt,lastFixRight:Cn,firstFixLeft:Pn,isSticky:Ve.isSticky}}var Xt=ie.createContext({}),Kt=Xt;function jn(ce){var pe=ce.className,Te=ce.index,Ve=ce.children,at=ce.colSpan,ot=at===void 0?1:at,Nt=ce.rowSpan,Ot=ce.align,At=ke(ae,["prefixCls","direction"]),$t=At.prefixCls,Gt=At.direction,Wt=ie.useContext(Kt),Cn=Wt.scrollColumnIndex,Pn=Wt.stickyOffsets,Fn=Wt.flattenColumns,Wn=Wt.columns,zn=Te+ot-1,ua=zn+1===Cn?ot+1:ot,ta=Fe(Te,Te+ua-1,Fn,Pn,Gt,Wn==null?void 0:Wn[Te]);return ie.createElement(dn,(0,Ze.Z)({className:pe,index:Te,component:"td",prefixCls:$t,record:null,dataIndex:null,align:Ot,colSpan:ua,rowSpan:Nt,render:function(){return Ve}},ta))}var Pt=te(33346),qe=["children"];function lt(ce){var pe=ce.children,Te=(0,Pt.Z)(ce,qe);return ie.createElement("tr",Te,pe)}function it(ce){var pe=ce.children;return pe}it.Row=lt,it.Cell=jn;var Oe=it;function pt(ce){var pe=ce.children,Te=ce.stickyOffsets,Ve=ce.flattenColumns,at=ce.columns,ot=ke(ae,"prefixCls"),Nt=Ve.length-1,Ot=Ve[Nt],At=ie.useMemo(function(){return{stickyOffsets:Te,flattenColumns:Ve,scrollColumnIndex:Ot!=null&&Ot.scrollbar?Nt:null,columns:at}},[Ot,Ve,Nt,Te,at]);return ie.createElement(Kt.Provider,{value:At},ie.createElement("tfoot",{className:"".concat(ot,"-summary")},pe))}var gt=ee(pt),Le=Oe,he=te(70425),je=te(29301),We=te(29194),we=te(24514),mt=te(75152),Je=te(26112);function jt(ce,pe,Te,Ve,at,ot,Nt){ce.push({record:pe,indent:Te,index:Nt});var Ot=ot(pe),At=at==null?void 0:at.has(Ot);if(pe&&Array.isArray(pe[Ve])&&At)for(var $t=0;$t<pe[Ve].length;$t+=1)jt(ce,pe[Ve][$t],Te+1,Ve,at,ot,$t)}function Se(ce,pe,Te,Ve){var at=ie.useMemo(function(){if(Te!=null&&Te.size){for(var ot=[],Nt=0;Nt<(ce==null?void 0:ce.length);Nt+=1){var Ot=ce[Nt];jt(ot,Ot,0,pe,Te,Ve,Nt)}return ot}return ce==null?void 0:ce.map(function(At,$t){return{record:At,indent:0,index:$t}})},[ce,pe,Te,Ve]);return at}function ut(ce){var pe=ce.prefixCls,Te=ce.children,Ve=ce.component,at=ce.cellComponent,ot=ce.className,Nt=ce.expanded,Ot=ce.colSpan,At=ce.isEmpty,$t=ke(ae,["scrollbarSize","fixHeader","fixColumn","componentWidth","horizonScroll"]),Gt=$t.scrollbarSize,Wt=$t.fixHeader,Cn=$t.fixColumn,Pn=$t.componentWidth,Fn=$t.horizonScroll,Wn=Te;return(At?Fn&&Pn:Cn)&&(Wn=ie.createElement("div",{style:{width:Pn-(Wt?Gt:0),position:"sticky",left:0,overflow:"hidden"},className:"".concat(pe,"-expanded-row-fixed")},Wn)),ie.createElement(Ve,{className:ot,style:{display:Nt?null:"none"}},ie.createElement(dn,{component:at,prefixCls:pe,colSpan:Ot},Wn))}var wt=ut;function Ae(ce,pe,Te,Ve){var at=ke(ae,["prefixCls","fixedInfoList","flattenColumns","expandableType","expandRowByClick","onTriggerExpand","rowClassName","expandedRowClassName","indentSize","expandIcon","expandedRowRender","expandIconColumnIndex","expandedKeys","childrenColumnName","rowExpandable","onRow"]),ot=at.flattenColumns,Nt=at.expandableType,Ot=at.expandedKeys,At=at.childrenColumnName,$t=at.onTriggerExpand,Gt=at.rowExpandable,Wt=at.onRow,Cn=at.expandRowByClick,Pn=at.rowClassName,Fn=Nt==="nest",Wn=Nt==="row"&&(!Gt||Gt(ce)),zn=Wn||Fn,ua=Ot&&Ot.has(pe),ta=At&&ce&&ce[At],ma=(0,he.useEvent)($t),Ya=Wt==null?void 0:Wt(ce,Te),rr=Ya==null?void 0:Ya.onClick,ka=function(_a){Cn&&zn&&$t(ce,_a);for(var wa=arguments.length,da=new Array(wa>1?wa-1:0),fa=1;fa<wa;fa++)da[fa-1]=arguments[fa];rr==null||rr.apply(void 0,[_a].concat(da))},Ja;typeof Pn=="string"?Ja=Pn:typeof Pn=="function"&&(Ja=Pn(ce,Te,Ve));var Dr=vt(ot);return(0,xe.Z)((0,xe.Z)({},at),{},{columnsKey:Dr,nestExpandable:Fn,expanded:ua,hasNestChildren:ta,record:ce,onTriggerExpand:ma,rowSupportExpand:Wn,expandable:zn,rowProps:(0,xe.Z)((0,xe.Z)({},Ya),{},{className:ze()(Ja,Ya==null?void 0:Ya.className),onClick:ka})})}function _e(ce,pe,Te,Ve,at){var ot=ce.record,Nt=ce.prefixCls,Ot=ce.columnsKey,At=ce.fixedInfoList,$t=ce.expandIconColumnIndex,Gt=ce.nestExpandable,Wt=ce.indentSize,Cn=ce.expandIcon,Pn=ce.expanded,Fn=ce.hasNestChildren,Wn=ce.onTriggerExpand,zn=Ot[Te],ua=At[Te],ta;Te===($t||0)&&Gt&&(ta=ie.createElement(ie.Fragment,null,ie.createElement("span",{style:{paddingLeft:"".concat(Wt*Ve,"px")},className:"".concat(Nt,"-row-indent indent-level-").concat(Ve)}),Cn({prefixCls:Nt,expanded:Pn,expandable:Fn,record:ot,onExpand:Wn})));var ma;return pe.onCell&&(ma=pe.onCell(ot,at)),{key:zn,fixedInfo:ua,appendCellNode:ta,additionalCellProps:ma||{}}}function ct(ce){var pe=ce.className,Te=ce.style,Ve=ce.record,at=ce.index,ot=ce.renderIndex,Nt=ce.rowKey,Ot=ce.indent,At=Ot===void 0?0:Ot,$t=ce.rowComponent,Gt=ce.cellComponent,Wt=ce.scopeCellComponent,Cn=Ae(Ve,Nt,at,At),Pn=Cn.prefixCls,Fn=Cn.flattenColumns,Wn=Cn.expandedRowClassName,zn=Cn.expandedRowRender,ua=Cn.rowProps,ta=Cn.expanded,ma=Cn.rowSupportExpand,Ya=ie.useState(!1),rr=(0,ve.Z)(Ya,2),ka=rr[0],Ja=rr[1];ie.useEffect(function(){ta&&Ja(!0)},[ta]);var Dr=ie.createElement($t,(0,Ze.Z)({},ua,{"data-row-key":Nt,className:ze()(pe,"".concat(Pn,"-row"),"".concat(Pn,"-row-level-").concat(At),ua==null?void 0:ua.className),style:(0,xe.Z)((0,xe.Z)({},Te),ua==null?void 0:ua.style)}),Fn.map(function(da,fa){var qa=da.render,Gr=da.dataIndex,Lr=da.className,Ka=_e(Cn,da,fa,At,at),zr=Ka.key,Wr=Ka.fixedInfo,Jr=Ka.appendCellNode,Vr=Ka.additionalCellProps;return ie.createElement(dn,(0,Ze.Z)({className:Lr,ellipsis:da.ellipsis,align:da.align,scope:da.rowScope,component:da.rowScope?Wt:Gt,prefixCls:Pn,key:zr,record:Ve,index:at,renderIndex:ot,dataIndex:Gr,render:qa,shouldCellUpdate:da.shouldCellUpdate},Wr,{appendNode:Jr,additionalProps:Vr}))})),Sa;if(ma&&(ka||ta)){var _a=zn(Ve,at,At+1,ta),wa=Wn&&Wn(Ve,at,At);Sa=ie.createElement(wt,{expanded:ta,className:ze()("".concat(Pn,"-expanded-row"),"".concat(Pn,"-expanded-row-level-").concat(At+1),wa),prefixCls:Pn,component:$t,cellComponent:Gt,colSpan:Fn.length,isEmpty:!1},_a)}return ie.createElement(ie.Fragment,null,Dr,Sa)}ct.displayName="BodyRow";var Ft=ee(ct);function zt(ce){var pe=ce.columnKey,Te=ce.onColumnResize,Ve=ie.useRef();return ie.useEffect(function(){Ve.current&&Te(pe,Ve.current.offsetWidth)},[]),ie.createElement(je.Z,{data:pe},ie.createElement("td",{ref:Ve,style:{padding:0,border:0,height:0}},ie.createElement("div",{style:{height:0,overflow:"hidden"}},"\xA0")))}function fn(ce){var pe=ce.prefixCls,Te=ce.columnsKey,Ve=ce.onColumnResize;return ie.createElement("tr",{"aria-hidden":"true",className:"".concat(pe,"-measure-row"),style:{height:0,fontSize:0}},ie.createElement(je.Z.Collection,{onBatchResize:function(ot){ot.forEach(function(Nt){var Ot=Nt.data,At=Nt.size;Ve(Ot,At.offsetWidth)})}},Te.map(function(at){return ie.createElement(zt,{key:at,columnKey:at,onColumnResize:Ve})})))}function dt(ce){var pe=ce.data,Te=ce.measureColumnWidth,Ve=ke(ae,["prefixCls","getComponent","onColumnResize","flattenColumns","getRowKey","expandedKeys","childrenColumnName","emptyNode"]),at=Ve.prefixCls,ot=Ve.getComponent,Nt=Ve.onColumnResize,Ot=Ve.flattenColumns,At=Ve.getRowKey,$t=Ve.expandedKeys,Gt=Ve.childrenColumnName,Wt=Ve.emptyNode,Cn=Se(pe,Gt,$t,At),Pn=ie.useRef({renderWithProps:!1}),Fn=ot(["body","wrapper"],"tbody"),Wn=ot(["body","row"],"tr"),zn=ot(["body","cell"],"td"),ua=ot(["body","cell"],"th"),ta;pe.length?ta=Cn.map(function(Ya,rr){var ka=Ya.record,Ja=Ya.indent,Dr=Ya.index,Sa=At(ka,rr);return ie.createElement(Ft,{key:Sa,rowKey:Sa,record:ka,index:rr,renderIndex:Dr,rowComponent:Wn,cellComponent:zn,scopeCellComponent:ua,getRowKey:At,indent:Ja})}):ta=ie.createElement(wt,{expanded:!0,className:"".concat(at,"-placeholder"),prefixCls:at,component:Wn,cellComponent:zn,colSpan:Ot.length,isEmpty:!0},Wt);var ma=vt(Ot);return ie.createElement(Ke.Provider,{value:Pn.current},ie.createElement(Fn,{className:"".concat(at,"-tbody")},Te&&ie.createElement(fn,{prefixCls:at,columnsKey:ma,onColumnResize:Nt}),ta))}dt.displayName="Body";var Bt=ee(dt),Et=["expandable"],tn="RC_TABLE_INTERNAL_COL_DEFINE";function Vt(ce){var pe=ce.expandable,Te=(0,Pt.Z)(ce,Et),Ve;return"expandable"in ce?Ve=(0,xe.Z)((0,xe.Z)({},Te),pe):Ve=Te,Ve.showExpandColumn===!1&&(Ve.expandIconColumnIndex=-1),Ve}var sn=["columnType"];function Un(ce){for(var pe=ce.colWidths,Te=ce.columns,Ve=ce.columCount,at=[],ot=Ve||Te.length,Nt=!1,Ot=ot-1;Ot>=0;Ot-=1){var At=pe[Ot],$t=Te&&Te[Ot],Gt=$t&&$t[tn];if(At||Gt||Nt){var Wt=Gt||{},Cn=Wt.columnType,Pn=(0,Pt.Z)(Wt,sn);at.unshift(ie.createElement("col",(0,Ze.Z)({key:Ot,style:{width:At}},Pn))),Nt=!0}}return ie.createElement("colgroup",null,at)}var pn=Un,rn=te(15142),$n=["className","noData","columns","flattenColumns","colWidths","columCount","stickyOffsets","direction","fixHeader","stickyTopOffset","stickyBottomOffset","stickyClassName","onScroll","maxContentScroll","children"];function _t(ce,pe){return(0,ie.useMemo)(function(){for(var Te=[],Ve=0;Ve<pe;Ve+=1){var at=ce[Ve];if(at!==void 0)Te[Ve]=at;else return null}return Te},[ce.join("_"),pe])}var kt=ie.forwardRef(function(ce,pe){var Te=ce.className,Ve=ce.noData,at=ce.columns,ot=ce.flattenColumns,Nt=ce.colWidths,Ot=ce.columCount,At=ce.stickyOffsets,$t=ce.direction,Gt=ce.fixHeader,Wt=ce.stickyTopOffset,Cn=ce.stickyBottomOffset,Pn=ce.stickyClassName,Fn=ce.onScroll,Wn=ce.maxContentScroll,zn=ce.children,ua=(0,Pt.Z)(ce,$n),ta=ke(ae,["prefixCls","scrollbarSize","isSticky"]),ma=ta.prefixCls,Ya=ta.scrollbarSize,rr=ta.isSticky,ka=rr&&!Gt?0:Ya,Ja=ie.useRef(null),Dr=ie.useCallback(function(Lr){(0,Me.mH)(pe,Lr),(0,Me.mH)(Ja,Lr)},[]);ie.useEffect(function(){var Lr;function Ka(zr){var Wr=zr,Jr=Wr.currentTarget,Vr=Wr.deltaX;Vr&&(Fn({currentTarget:Jr,scrollLeft:Jr.scrollLeft+Vr}),zr.preventDefault())}return(Lr=Ja.current)===null||Lr===void 0||Lr.addEventListener("wheel",Ka),function(){var zr;(zr=Ja.current)===null||zr===void 0||zr.removeEventListener("wheel",Ka)}},[]);var Sa=ie.useMemo(function(){return ot.every(function(Lr){return Lr.width})},[ot]),_a=ot[ot.length-1],wa={fixed:_a?_a.fixed:null,scrollbar:!0,onHeaderCell:function(){return{className:"".concat(ma,"-cell-scrollbar")}}},da=(0,ie.useMemo)(function(){return ka?[].concat((0,rn.Z)(at),[wa]):at},[ka,at]),fa=(0,ie.useMemo)(function(){return ka?[].concat((0,rn.Z)(ot),[wa]):ot},[ka,ot]),qa=(0,ie.useMemo)(function(){var Lr=At.right,Ka=At.left;return(0,xe.Z)((0,xe.Z)({},At),{},{left:$t==="rtl"?[].concat((0,rn.Z)(Ka.map(function(zr){return zr+ka})),[0]):Ka,right:$t==="rtl"?Lr:[].concat((0,rn.Z)(Lr.map(function(zr){return zr+ka})),[0]),isSticky:rr})},[ka,At,rr]),Gr=_t(Nt,Ot);return ie.createElement("div",{style:(0,xe.Z)({overflow:"hidden"},rr?{top:Wt,bottom:Cn}:{}),ref:Dr,className:ze()(Te,(0,Ee.Z)({},Pn,!!Pn))},ie.createElement("table",{style:{tableLayout:"fixed",visibility:Ve||Gr?null:"hidden"}},(!Ve||!Wn||Sa)&&ie.createElement(pn,{colWidths:Gr?[].concat((0,rn.Z)(Gr),[ka]):[],columCount:Ot+1,columns:fa}),zn((0,xe.Z)((0,xe.Z)({},ua),{},{stickyOffsets:qa,columns:da,flattenColumns:fa}))))});kt.displayName="FixedHolder";var Jt=ie.memo(kt);function Ea(ce){var pe=ce.cells,Te=ce.stickyOffsets,Ve=ce.flattenColumns,at=ce.rowComponent,ot=ce.cellComponent,Nt=ce.tdCellComponent,Ot=ce.onHeaderRow,At=ce.index,$t=ke(ae,["prefixCls","direction"]),Gt=$t.prefixCls,Wt=$t.direction,Cn;Ot&&(Cn=Ot(pe.map(function(Fn){return Fn.column}),At));var Pn=vt(pe.map(function(Fn){return Fn.column}));return ie.createElement(at,Cn,pe.map(function(Fn,Wn){var zn=Fn.column,ua=Fe(Fn.colStart,Fn.colEnd,Ve,Te,Wt,zn),ta;return zn&&zn.onHeaderCell&&(ta=Fn.column.onHeaderCell(zn)),ie.createElement(dn,(0,Ze.Z)({},Fn,{scope:zn.title?Fn.colSpan>1?"colgroup":"col":null,ellipsis:zn.ellipsis,align:zn.align,component:zn.title?ot:Nt,prefixCls:Gt,key:Pn[Wn]},ua,{additionalProps:ta,rowType:"header"}))}))}Ea.displayName="HeaderRow";var qn=Ea;function Rn(ce){var pe=[];function Te(Nt,Ot){var At=arguments.length>2&&arguments[2]!==void 0?arguments[2]:0;pe[At]=pe[At]||[];var $t=Ot,Gt=Nt.filter(Boolean).map(function(Wt){var Cn={key:Wt.key,className:Wt.className||"",children:Wt.title,column:Wt,colStart:$t},Pn=1,Fn=Wt.children;return Fn&&Fn.length>0&&(Pn=Te(Fn,$t,At+1).reduce(function(Wn,zn){return Wn+zn},0),Cn.hasSubColumns=!0),"colSpan"in Wt&&(Pn=Wt.colSpan),"rowSpan"in Wt&&(Cn.rowSpan=Wt.rowSpan),Cn.colSpan=Pn,Cn.colEnd=Cn.colStart+Pn-1,pe[At].push(Cn),$t+=Pn,Pn});return Gt}Te(ce,0);for(var Ve=pe.length,at=function(Ot){pe[Ot].forEach(function(At){!("rowSpan"in At)&&!At.hasSubColumns&&(At.rowSpan=Ve-Ot)})},ot=0;ot<Ve;ot+=1)at(ot);return pe}function Ga(ce){var pe=ce.stickyOffsets,Te=ce.columns,Ve=ce.flattenColumns,at=ce.onHeaderRow,ot=ke(ae,["prefixCls","getComponent"]),Nt=ot.prefixCls,Ot=ot.getComponent,At=ie.useMemo(function(){return Rn(Te)},[Te]),$t=Ot(["header","wrapper"],"thead"),Gt=Ot(["header","row"],"tr"),Wt=Ot(["header","cell"],"th"),Cn=Ot(["header","cell"],"td");return ie.createElement($t,{className:"".concat(Nt,"-thead")},At.map(function(Pn,Fn){var Wn=ie.createElement(qn,{key:Fn,flattenColumns:Ve,cells:Pn,stickyOffsets:pe,rowComponent:Gt,cellComponent:Wt,tdCellComponent:Cn,onHeaderRow:at,index:Fn});return Wn}))}var La=ee(Ga),Ar=te(11592);function Cr(ce){var pe=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";return typeof pe=="number"?pe:pe.endsWith("%")?ce*parseFloat(pe)/100:null}function Qa(ce,pe){return ie.useMemo(function(){if(pe&&pe>0){var Te=0,Ve=0;ce.forEach(function($t){var Gt=Cr(pe,$t.width);Gt?Te+=Gt:Ve+=1});var at=pe-Te,ot=Ve,Nt=at/Ve,Ot=0,At=ce.map(function($t){var Gt=(0,xe.Z)({},$t),Wt=Cr(pe,Gt.width);if(Wt)Gt.width=Wt;else{var Cn=Math.floor(Nt);Gt.width=ot===1?at:Cn,at-=Cn,ot-=1}return Ot+=Gt.width,Gt});return[At,Ot]}return[ce,pe]},[ce,pe])}var tt=["children"],Rt=["fixed"];function Dt(ce){return(0,Ar.Z)(ce).filter(function(pe){return ie.isValidElement(pe)}).map(function(pe){var Te=pe.key,Ve=pe.props,at=Ve.children,ot=(0,Pt.Z)(Ve,tt),Nt=(0,xe.Z)({key:Te},ot);return at&&(Nt.children=Dt(at)),Nt})}function Zn(ce){var pe=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"key";return ce.filter(function(Te){return Te&&(0,Pe.Z)(Te)==="object"}).reduce(function(Te,Ve,at){var ot=Ve.fixed,Nt=ot===!0?"left":ot,Ot="".concat(pe,"-").concat(at),At=Ve.children;return At&&At.length>0?[].concat((0,rn.Z)(Te),(0,rn.Z)(Zn(At,Ot).map(function($t){return(0,xe.Z)({fixed:Nt},$t)}))):[].concat((0,rn.Z)(Te),[(0,xe.Z)((0,xe.Z)({key:Ot},Ve),{},{fixed:Nt})])},[])}function cn(ce){for(var pe=!0,Te=0;Te<ce.length;Te+=1){var Ve=ce[Te];if(pe&&Ve.fixed!=="left")pe=!1;else if(!pe&&Ve.fixed==="left"){warning(!1,"Index ".concat(Te-1," of `columns` missing `fixed='left'` prop."));break}}for(var at=!0,ot=ce.length-1;ot>=0;ot-=1){var Nt=ce[ot];if(at&&Nt.fixed!=="right")at=!1;else if(!at&&Nt.fixed==="right"){warning(!1,"Index ".concat(ot+1," of `columns` missing `fixed='right'` prop."));break}}}function On(ce){return ce.map(function(pe){var Te=pe.fixed,Ve=(0,Pt.Z)(pe,Rt),at=Te;return Te==="left"?at="right":Te==="right"&&(at="left"),(0,xe.Z)({fixed:at},Ve)})}function Xr(ce,pe){var Te=ce.prefixCls,Ve=ce.columns,at=ce.children,ot=ce.expandable,Nt=ce.expandedKeys,Ot=ce.columnTitle,At=ce.getRowKey,$t=ce.onTriggerExpand,Gt=ce.expandIcon,Wt=ce.rowExpandable,Cn=ce.expandIconColumnIndex,Pn=ce.direction,Fn=ce.expandRowByClick,Wn=ce.columnWidth,zn=ce.fixed,ua=ce.scrollWidth,ta=ie.useMemo(function(){return Ve||Dt(at)},[Ve,at]),ma=ie.useMemo(function(){if(ot){var _a,wa=ta.slice();if(!wa.includes(z)){var da=Cn||0;da>=0&&wa.splice(da,0,z)}var fa=wa.indexOf(z);wa=wa.filter(function(Ka,zr){return Ka!==z||zr===fa});var qa=ta[fa],Gr;(zn==="left"||zn)&&!Cn?Gr="left":(zn==="right"||zn)&&Cn===ta.length?Gr="right":Gr=qa?qa.fixed:null;var Lr=(_a={},(0,Ee.Z)(_a,tn,{className:"".concat(Te,"-expand-icon-col"),columnType:"EXPAND_COLUMN"}),(0,Ee.Z)(_a,"title",Ot),(0,Ee.Z)(_a,"fixed",Gr),(0,Ee.Z)(_a,"className","".concat(Te,"-row-expand-icon-cell")),(0,Ee.Z)(_a,"width",Wn),(0,Ee.Z)(_a,"render",function(zr,Wr,Jr){var Vr=At(Wr,Jr),Vo=Nt.has(Vr),lo=Wt?Wt(Wr):!0,vr=Gt({prefixCls:Te,expanded:Vo,expandable:lo,record:Wr,onExpand:$t});return Fn?ie.createElement("span",{onClick:function(cr){return cr.stopPropagation()}},vr):vr}),_a);return wa.map(function(Ka){return Ka===z?Lr:Ka})}return ta.filter(function(Ka){return Ka!==z})},[ot,ta,At,Nt,Gt,Pn]),Ya=ie.useMemo(function(){var _a=ma;return pe&&(_a=pe(_a)),_a.length||(_a=[{render:function(){return null}}]),_a},[pe,ma,Pn]),rr=ie.useMemo(function(){return Pn==="rtl"?On(Zn(Ya)):Zn(Ya)},[Ya,Pn,ua]),ka=Qa(rr,ua),Ja=(0,ve.Z)(ka,2),Dr=Ja[0],Sa=Ja[1];return[Ya,Dr,Sa]}var Er=Xr;function Kr(ce){var pe,Te=ce.prefixCls,Ve=ce.record,at=ce.onExpand,ot=ce.expanded,Nt=ce.expandable,Ot="".concat(Te,"-row-expand-icon");if(!Nt)return ie.createElement("span",{className:ze()(Ot,"".concat(Te,"-row-spaced"))});var At=function(Gt){at(Ve,Gt),Gt.stopPropagation()};return ie.createElement("span",{className:ze()(Ot,(pe={},(0,Ee.Z)(pe,"".concat(Te,"-row-expanded"),ot),(0,Ee.Z)(pe,"".concat(Te,"-row-collapsed"),!ot),pe)),onClick:At})}function oo(ce,pe,Te){var Ve=[];function at(ot){(ot||[]).forEach(function(Nt,Ot){Ve.push(pe(Nt,Ot)),at(Nt[Te])})}return at(ce),Ve}function Xa(ce,pe,Te){var Ve=Vt(ce),at=Ve.expandIcon,ot=Ve.expandedRowKeys,Nt=Ve.defaultExpandedRowKeys,Ot=Ve.defaultExpandAllRows,At=Ve.expandedRowRender,$t=Ve.onExpand,Gt=Ve.onExpandedRowsChange,Wt=Ve.childrenColumnName,Cn=at||Kr,Pn=Wt||"children",Fn=ie.useMemo(function(){return At?"row":ce.expandable&&ce.internalHooks===se&&ce.expandable.__PARENT_RENDER_ICON__||pe.some(function(rr){return rr&&(0,Pe.Z)(rr)==="object"&&rr[Pn]})?"nest":!1},[!!At,pe]),Wn=ie.useState(function(){return Nt||(Ot?oo(pe,Te,Pn):[])}),zn=(0,ve.Z)(Wn,2),ua=zn[0],ta=zn[1],ma=ie.useMemo(function(){return new Set(ot||ua||[])},[ot,ua]),Ya=ie.useCallback(function(rr){var ka=Te(rr,pe.indexOf(rr)),Ja,Dr=ma.has(ka);Dr?(ma.delete(ka),Ja=(0,rn.Z)(ma)):Ja=[].concat((0,rn.Z)(ma),[ka]),ta(Ja),$t&&$t(!Dr,rr),Gt&&Gt(Ja)},[Te,ma,pe,$t,Gt]);return[Ve,Fn,ma,Cn,Pn,Ya]}function In(ce,pe,Te,Ve){var at=ce.map(function(ot,Nt){return Fe(Nt,Nt,ce,pe,Te,Ve==null?void 0:Ve[Nt])});return(0,ft.Z)(function(){return at},[at],function(ot,Nt){return!(0,Ne.Z)(ot,Nt)})}function ur(ce){var pe=(0,ie.useRef)(ce),Te=(0,ie.useState)({}),Ve=(0,ve.Z)(Te,2),at=Ve[1],ot=(0,ie.useRef)(null),Nt=(0,ie.useRef)([]);function Ot(At){Nt.current.push(At);var $t=Promise.resolve();ot.current=$t,$t.then(function(){if(ot.current===$t){var Gt=Nt.current,Wt=pe.current;Nt.current=[],Gt.forEach(function(Cn){pe.current=Cn(pe.current)}),ot.current=null,Wt!==pe.current&&at({})}})}return(0,ie.useEffect)(function(){return function(){ot.current=null}},[]),[pe.current,Ot]}function nr(ce){var pe=(0,ie.useRef)(ce||null),Te=(0,ie.useRef)();function Ve(){window.clearTimeout(Te.current)}function at(Nt){pe.current=Nt,Ve(),Te.current=window.setTimeout(function(){pe.current=null,Te.current=void 0},100)}function ot(){return pe.current}return(0,ie.useEffect)(function(){return Ve},[]),[at,ot]}function sr(){var ce=ie.useState(-1),pe=(0,ve.Z)(ce,2),Te=pe[0],Ve=pe[1],at=ie.useState(-1),ot=(0,ve.Z)(at,2),Nt=ot[0],Ot=ot[1],At=ie.useCallback(function($t,Gt){Ve($t),Ot(Gt)},[]);return[Te,Nt,At]}var er=te(47273),ht=(0,er.Z)()?window:null;function en(ce,pe){var Te=(0,Pe.Z)(ce)==="object"?ce:{},Ve=Te.offsetHeader,at=Ve===void 0?0:Ve,ot=Te.offsetSummary,Nt=ot===void 0?0:ot,Ot=Te.offsetScroll,At=Ot===void 0?0:Ot,$t=Te.getContainer,Gt=$t===void 0?function(){return ht}:$t,Wt=Gt()||ht;return ie.useMemo(function(){var Cn=!!ce;return{isSticky:Cn,stickyClassName:Cn?"".concat(pe,"-sticky-holder"):"",offsetHeader:at,offsetSummary:Nt,offsetScroll:At,container:Wt}},[At,at,Nt,pe,Wt])}function nn(ce,pe,Te){var Ve=(0,ie.useMemo)(function(){for(var at=[],ot=[],Nt=0,Ot=0,At=0;At<pe;At+=1)if(Te==="rtl"){ot[At]=Ot,Ot+=ce[At]||0;var $t=pe-At-1;at[$t]=Nt,Nt+=ce[$t]||0}else{at[At]=Nt,Nt+=ce[At]||0;var Gt=pe-At-1;ot[Gt]=Ot,Ot+=ce[Gt]||0}return{left:at,right:ot}},[ce,pe,Te]);return Ve}var yn=nn;function Tn(ce){var pe=ce.className,Te=ce.children;return ie.createElement("div",{className:pe},Te)}var mn=Tn,Nn=te(8224),En=te(55468),ar=function(pe,Te){var Ve,at,ot=pe.scrollBodyRef,Nt=pe.onScroll,Ot=pe.offsetScroll,At=pe.container,$t=ke(ae,"prefixCls"),Gt=((Ve=ot.current)===null||Ve===void 0?void 0:Ve.scrollWidth)||0,Wt=((at=ot.current)===null||at===void 0?void 0:at.clientWidth)||0,Cn=Gt&&Wt*(Wt/Gt),Pn=ie.useRef(),Fn=ur({scrollLeft:0,isHiddenScrollBar:!1}),Wn=(0,ve.Z)(Fn,2),zn=Wn[0],ua=Wn[1],ta=ie.useRef({delta:0,x:0}),ma=ie.useState(!1),Ya=(0,ve.Z)(ma,2),rr=Ya[0],ka=Ya[1],Ja=function(){ka(!1)},Dr=function(fa){fa.persist(),ta.current.delta=fa.pageX-zn.scrollLeft,ta.current.x=0,ka(!0),fa.preventDefault()},Sa=function(fa){var qa,Gr=fa||((qa=window)===null||qa===void 0?void 0:qa.event),Lr=Gr.buttons;if(!rr||Lr===0){rr&&ka(!1);return}var Ka=ta.current.x+fa.pageX-ta.current.x-ta.current.delta;Ka<=0&&(Ka=0),Ka+Cn>=Wt&&(Ka=Wt-Cn),Nt({scrollLeft:Ka/Wt*(Gt+2)}),ta.current.x=fa.pageX},_a=function(){if(ot.current){var fa=(0,En.os)(ot.current).top,qa=fa+ot.current.offsetHeight,Gr=At===window?document.documentElement.scrollTop+window.innerHeight:(0,En.os)(At).top+At.clientHeight;qa-(0,mt.Z)()<=Gr||fa>=Gr-Ot?ua(function(Lr){return(0,xe.Z)((0,xe.Z)({},Lr),{},{isHiddenScrollBar:!0})}):ua(function(Lr){return(0,xe.Z)((0,xe.Z)({},Lr),{},{isHiddenScrollBar:!1})})}},wa=function(fa){ua(function(qa){return(0,xe.Z)((0,xe.Z)({},qa),{},{scrollLeft:fa/Gt*Wt||0})})};return ie.useImperativeHandle(Te,function(){return{setScrollLeft:wa}}),ie.useEffect(function(){var da=(0,Nn.Z)(document.body,"mouseup",Ja,!1),fa=(0,Nn.Z)(document.body,"mousemove",Sa,!1);return _a(),function(){da.remove(),fa.remove()}},[Cn,rr]),ie.useEffect(function(){var da=(0,Nn.Z)(At,"scroll",_a,!1),fa=(0,Nn.Z)(window,"resize",_a,!1);return function(){da.remove(),fa.remove()}},[At]),ie.useEffect(function(){zn.isHiddenScrollBar||ua(function(da){var fa=ot.current;return fa?(0,xe.Z)((0,xe.Z)({},da),{},{scrollLeft:fa.scrollLeft/fa.scrollWidth*fa.clientWidth}):da})},[zn.isHiddenScrollBar]),Gt<=Wt||!Cn||zn.isHiddenScrollBar?null:ie.createElement("div",{style:{height:(0,mt.Z)(),width:Wt,bottom:Ot},className:"".concat($t,"-sticky-scroll")},ie.createElement("div",{onMouseDown:Dr,ref:Pn,className:ze()("".concat($t,"-sticky-scroll-bar"),(0,Ee.Z)({},"".concat($t,"-sticky-scroll-bar-active"),rr)),style:{width:"".concat(Cn,"px"),transform:"translate3d(".concat(zn.scrollLeft,"px, 0, 0)")}}))},Ra=ie.forwardRef(ar);function gn(ce){return null}var io=gn;function to(ce){return null}var no=to,Mo="rc-table",ea=[],Aa={};function dr(){return"No Data"}function pa(ce){var pe,Te=(0,xe.Z)({rowKey:"key",prefixCls:Mo,emptyText:dr},ce),Ve=Te.prefixCls,at=Te.className,ot=Te.rowClassName,Nt=Te.style,Ot=Te.data,At=Te.rowKey,$t=Te.scroll,Gt=Te.tableLayout,Wt=Te.direction,Cn=Te.title,Pn=Te.footer,Fn=Te.summary,Wn=Te.caption,zn=Te.id,ua=Te.showHeader,ta=Te.components,ma=Te.emptyText,Ya=Te.onRow,rr=Te.onHeaderRow,ka=Te.internalHooks,Ja=Te.transformColumns,Dr=Te.internalRefs,Sa=Te.tailor,_a=Te.sticky,wa=Ot||ea,da=!!wa.length,fa=ka===se,qa=ie.useCallback(function(Ho,ci){return(0,Be.Z)(ta,Ho)||ci},[ta]),Gr=ie.useMemo(function(){return typeof At=="function"?At:function(Ho){var ci=Ho&&Ho[At];return ci}},[At]),Lr=qa(["body"]),Ka=sr(),zr=(0,ve.Z)(Ka,3),Wr=zr[0],Jr=zr[1],Vr=zr[2],Vo=Xa(Te,wa,Gr),lo=(0,ve.Z)(Vo,6),vr=lo[0],ei=lo[1],cr=lo[2],ko=lo[3],Ao=lo[4],fi=lo[5],gr=$t==null?void 0:$t.x,or=ie.useState(0),ir=(0,ve.Z)(or,2),Wa=ir[0],Na=ir[1],An=Er((0,xe.Z)((0,xe.Z)((0,xe.Z)({},Te),vr),{},{expandable:!!vr.expandedRowRender,columnTitle:vr.columnTitle,expandedKeys:cr,getRowKey:Gr,onTriggerExpand:fi,expandIcon:ko,expandIconColumnIndex:vr.expandIconColumnIndex,direction:Wt,scrollWidth:fa&&Sa&&typeof gr=="number"?gr:null}),fa?Ja:null),va=(0,ve.Z)(An,3),Br=va[0],Qr=va[1],Ni=va[2],bi=Ni!=null?Ni:gr,Ji=ie.useMemo(function(){return{columns:Br,flattenColumns:Qr}},[Br,Qr]),si=ie.useRef(),ri=ie.useRef(),lr=ie.useRef(),Ri=ie.useRef(),ji=ie.useRef(),No=ie.useState(!1),Zo=(0,ve.Z)(No,2),ii=Zo[0],Pi=Zo[1],pi=ie.useState(!1),uo=(0,ve.Z)(pi,2),Gi=uo[0],Ii=uo[1],zo=ur(new Map),pr=(0,ve.Z)(zo,2),hi=pr[0],Ti=pr[1],sl=vt(Qr),el=sl.map(function(Ho){return hi.get(Ho)}),Qi=ie.useMemo(function(){return el},[el.join("_")]),Wi=yn(Qi,Qr.length,Wt),yi=$t&&Tt($t.y),gi=$t&&Tt(bi)||!!vr.fixed,ol=gi&&Qr.some(function(Ho){var ci=Ho.fixed;return ci}),fl=ie.useRef(),al=en(_a,Ve),il=al.isSticky,Cl=al.offsetHeader,Rl=al.offsetSummary,Po=al.offsetScroll,Qo=al.stickyClassName,ki=al.container,di=ie.useMemo(function(){return Fn==null?void 0:Fn(wa)},[Fn,wa]),Vi=(yi||il)&&ie.isValidElement(di)&&di.type===Oe&&di.props.fixed,Ui,Ki,ll;yi&&(Ki={overflowY:"scroll",maxHeight:$t.y}),gi&&(Ui={overflowX:"auto"},yi||(Ki={overflowY:"hidden"}),ll={width:bi===!0?"auto":bi,minWidth:"100%"});var Tl=ie.useCallback(function(Ho,ci){(0,We.Z)(si.current)&&Ti(function(tl){if(tl.get(Ho)!==ci){var dl=new Map(tl);return dl.set(Ho,ci),dl}return tl})},[]),du=nr(null),kl=(0,ve.Z)(du,2),cu=kl[0],ql=kl[1];function Dl(Ho,ci){ci&&(typeof ci=="function"?ci(Ho):ci.scrollLeft!==Ho&&(ci.scrollLeft=Ho,ci.scrollLeft!==Ho&&setTimeout(function(){ci.scrollLeft=Ho},0)))}var pl=(0,Ie.Z)(function(Ho){var ci=Ho.currentTarget,tl=Ho.scrollLeft,dl=Wt==="rtl",cl=typeof tl=="number"?tl:ci.scrollLeft,ou=ci||Aa;if(!ql()||ql()===ou){var Yl;cu(ou),Dl(cl,ri.current),Dl(cl,lr.current),Dl(cl,ji.current),Dl(cl,(Yl=fl.current)===null||Yl===void 0?void 0:Yl.setScrollLeft)}var Ql=ci||ri.current;if(Ql){var Xl=Ql.scrollWidth,bl=Ql.clientWidth;if(Xl===bl){Pi(!1),Ii(!1);return}dl?(Pi(-cl<Xl-bl),Ii(-cl>0)):(Pi(cl>0),Ii(cl<Xl-bl))}}),hl=function(){gi&&lr.current?pl({currentTarget:lr.current}):(Pi(!1),Ii(!1))},eu=function(ci){var tl=ci.width;tl!==Wa&&(hl(),Na(si.current?si.current.offsetWidth:tl))},tu=ie.useRef(!1);ie.useEffect(function(){tu.current&&hl()},[gi,Ot,Br.length]),ie.useEffect(function(){tu.current=!0},[]);var Zl=ie.useState(0),zl=(0,ve.Z)(Zl,2),Bl=zl[0],Al=zl[1],gu=ie.useState(!0),Ll=(0,ve.Z)(gu,2),_l=Ll[0],mu=Ll[1];ie.useEffect(function(){(!Sa||!fa)&&(lr.current instanceof Element?Al((0,mt.o)(lr.current).width):Al((0,mt.o)(Ri.current).width)),mu((0,we.G)("position","sticky"))},[]),ie.useEffect(function(){fa&&Dr&&(Dr.body.current=lr.current)});var Hl=ie.useCallback(function(Ho){return ie.createElement(ie.Fragment,null,ie.createElement(La,Ho),Vi==="top"&&ie.createElement(gt,Ho,di))},[Vi,di]),fu=ie.useCallback(function(Ho){return ie.createElement(gt,Ho,di)},[di]),nu=qa(["table"],"table"),Ol=ie.useMemo(function(){return Gt||(ol?bi==="max-content"?"auto":"fixed":yi||il||Qr.some(function(Ho){var ci=Ho.ellipsis;return ci})?"fixed":"auto")},[yi,ol,Qr,Gt,il]),Nl,jl={colWidths:Qi,columCount:Qr.length,stickyOffsets:Wi,onHeaderRow:rr,fixHeader:yi,scroll:$t},au=ie.useMemo(function(){return da?null:typeof ma=="function"?ma():ma},[da,ma]),ru=ie.createElement(Bt,{data:wa,measureColumnWidth:yi||gi||il}),Gl=ie.createElement(pn,{colWidths:Qr.map(function(Ho){var ci=Ho.width;return ci}),columns:Qr}),Kl=Wn!=null?ie.createElement("caption",{className:"".concat(Ve,"-caption")},Wn):void 0,pu=(0,Je.Z)(Te,{data:!0}),Wl=(0,Je.Z)(Te,{aria:!0});if(yi||il){var Vl;typeof Lr=="function"?(Vl=Lr(wa,{scrollbarSize:Bl,ref:lr,onScroll:pl}),jl.colWidths=Qr.map(function(Ho,ci){var tl=Ho.width,dl=ci===Qr.length-1?tl-Bl:tl;return typeof dl=="number"&&!Number.isNaN(dl)?dl:0})):Vl=ie.createElement("div",{style:(0,xe.Z)((0,xe.Z)({},Ui),Ki),onScroll:pl,ref:lr,className:ze()("".concat(Ve,"-body"))},ie.createElement(nu,(0,Ze.Z)({style:(0,xe.Z)((0,xe.Z)({},ll),{},{tableLayout:Ol})},Wl),Kl,Gl,ru,!Vi&&di&&ie.createElement(gt,{stickyOffsets:Wi,flattenColumns:Qr,columns:Br},di)));var Ul=(0,xe.Z)((0,xe.Z)((0,xe.Z)({noData:!wa.length,maxContentScroll:gi&&bi==="max-content"},jl),Ji),{},{direction:Wt,stickyClassName:Qo,onScroll:pl});Nl=ie.createElement(ie.Fragment,null,ua!==!1&&ie.createElement(Jt,(0,Ze.Z)({},Ul,{stickyTopOffset:Cl,className:"".concat(Ve,"-header"),ref:ri}),Hl),Vl,Vi&&Vi!=="top"&&ie.createElement(Jt,(0,Ze.Z)({},Ul,{stickyBottomOffset:Rl,className:"".concat(Ve,"-summary"),ref:ji}),fu),il&&ie.createElement(Ra,{ref:fl,offsetScroll:Po,scrollBodyRef:lr,onScroll:pl,container:ki}))}else Nl=ie.createElement("div",{style:(0,xe.Z)((0,xe.Z)({},Ui),Ki),className:ze()("".concat(Ve,"-content")),onScroll:pl,ref:lr},ie.createElement(nu,(0,Ze.Z)({style:(0,xe.Z)((0,xe.Z)({},ll),{},{tableLayout:Ol})},Wl),Kl,Gl,ua!==!1&&ie.createElement(La,(0,Ze.Z)({},jl,Ji)),ru,di&&ie.createElement(gt,{stickyOffsets:Wi,flattenColumns:Qr,columns:Br},di)));var Il=ie.createElement("div",(0,Ze.Z)({className:ze()(Ve,at,(pe={},(0,Ee.Z)(pe,"".concat(Ve,"-rtl"),Wt==="rtl"),(0,Ee.Z)(pe,"".concat(Ve,"-ping-left"),ii),(0,Ee.Z)(pe,"".concat(Ve,"-ping-right"),Gi),(0,Ee.Z)(pe,"".concat(Ve,"-layout-fixed"),Gt==="fixed"),(0,Ee.Z)(pe,"".concat(Ve,"-fixed-header"),yi),(0,Ee.Z)(pe,"".concat(Ve,"-fixed-column"),ol),(0,Ee.Z)(pe,"".concat(Ve,"-scroll-horizontal"),gi),(0,Ee.Z)(pe,"".concat(Ve,"-has-fix-left"),Qr[0]&&Qr[0].fixed),(0,Ee.Z)(pe,"".concat(Ve,"-has-fix-right"),Qr[Qr.length-1]&&Qr[Qr.length-1].fixed==="right"),pe)),style:Nt,id:zn,ref:si},pu),Cn&&ie.createElement(mn,{className:"".concat(Ve,"-title")},Cn(wa)),ie.createElement("div",{ref:Ri,className:"".concat(Ve,"-container")},Nl),Pn&&ie.createElement(mn,{className:"".concat(Ve,"-footer")},Pn(wa)));gi&&(Il=ie.createElement(je.Z,{onResize:eu},Il));var $l=In(Qr,Wi,Wt,Br),hu=ie.useMemo(function(){return{scrollX:bi,prefixCls:Ve,getComponent:qa,scrollbarSize:Bl,direction:Wt,fixedInfoList:$l,isSticky:il,supportSticky:_l,componentWidth:Wa,fixHeader:yi,fixColumn:ol,horizonScroll:gi,tableLayout:Ol,rowClassName:ot,expandedRowClassName:vr.expandedRowClassName,expandIcon:ko,expandableType:ei,expandRowByClick:vr.expandRowByClick,expandedRowRender:vr.expandedRowRender,onTriggerExpand:fi,expandIconColumnIndex:vr.expandIconColumnIndex,indentSize:vr.indentSize,allColumnsFixedLeft:Qr.every(function(Ho){return Ho.fixed==="left"}),emptyNode:au,columns:Br,flattenColumns:Qr,onColumnResize:Tl,hoverStartRow:Wr,hoverEndRow:Jr,onHover:Vr,rowExpandable:vr.rowExpandable,onRow:Ya,getRowKey:Gr,expandedKeys:cr,childrenColumnName:Ao}},[bi,Ve,qa,Bl,Wt,$l,il,_l,Wa,yi,ol,gi,Ol,ot,vr.expandedRowClassName,ko,ei,vr.expandRowByClick,vr.expandedRowRender,fi,vr.expandIconColumnIndex,vr.indentSize,au,Br,Qr,Tl,Wr,Jr,Vr,vr.rowExpandable,Ya,Gr,cr,Ao]);return ie.createElement(ae.Provider,{value:hu},Il)}function jr(ce){return x(pa,ce)}var Ir=jr();Ir.EXPAND_COLUMN=z,Ir.INTERNAL_HOOKS=se,Ir.Column=io,Ir.ColumnGroup=no,Ir.Summary=Le;var br=Ir,po=te(6790),Lo=He(null),Oi=He(null);function vi(ce,pe,Te){var Ve=pe||1;return Te[ce+Ve]-(Te[ce]||0)}function Ei(ce){var pe=ce.rowInfo,Te=ce.column,Ve=ce.colIndex,at=ce.indent,ot=ce.index,Nt=ce.renderIndex,Ot=ce.record,At=ce.style,$t=ce.className,Gt=ce.inverse,Wt=ce.getHeight,Cn=Te.render,Pn=Te.dataIndex,Fn=Te.className,Wn=Te.width,zn=ke(Oi,["columnsOffset"]),ua=zn.columnsOffset,ta=_e(pe,Te,Ve,at,ot),ma=ta.key,Ya=ta.fixedInfo,rr=ta.appendCellNode,ka=ta.additionalCellProps,Ja=ka.style,Dr=ka.colSpan,Sa=Dr===void 0?1:Dr,_a=ka.rowSpan,wa=_a===void 0?1:_a,da=Ve-1,fa=vi(da,Sa,ua),qa=Sa>1?Wn-fa:0,Gr=(0,xe.Z)((0,xe.Z)((0,xe.Z)({},Ja),At),{},{flex:"0 0 ".concat(fa,"px"),width:"".concat(fa,"px"),marginRight:qa,pointerEvents:"auto"}),Lr=ie.useMemo(function(){return Gt?wa<=1:Sa===0||wa===0||wa>1},[wa,Sa,Gt]);Lr?Gr.visibility="hidden":Gt&&(Gr.height=Wt==null?void 0:Wt(wa));var Ka=Lr?function(){return null}:Cn,zr={};return(wa===0||Sa===0)&&(zr.rowSpan=1,zr.colSpan=1),ie.createElement(dn,(0,Ze.Z)({className:ze()(Fn,$t),ellipsis:Te.ellipsis,align:Te.align,scope:Te.rowScope,component:"div",prefixCls:pe.prefixCls,key:ma,record:Ot,index:ot,renderIndex:Nt,dataIndex:Pn,render:Ka,shouldCellUpdate:Te.shouldCellUpdate},Ya,{appendNode:rr,additionalProps:(0,xe.Z)((0,xe.Z)({},ka),{},{style:Gr},zr)}))}var $i=Ei,_n=["data","index","className","rowKey","style","extra","getHeight"],Ia=ie.forwardRef(function(ce,pe){var Te=ce.data,Ve=ce.index,at=ce.className,ot=ce.rowKey,Nt=ce.style,Ot=ce.extra,At=ce.getHeight,$t=(0,Pt.Z)(ce,_n),Gt=Te.record,Wt=Te.indent,Cn=Te.index,Pn=ke(ae,["prefixCls","flattenColumns","fixColumn","componentWidth","scrollX"]),Fn=Pn.scrollX,Wn=Pn.flattenColumns,zn=Pn.prefixCls,ua=Pn.fixColumn,ta=Pn.componentWidth,ma=Ae(Gt,ot,Ve,Wt),Ya=ma.rowSupportExpand,rr=ma.expanded,ka=ma.rowProps,Ja=ma.expandedRowRender,Dr=ma.expandedRowClassName,Sa;if(Ya&&rr){var _a=Ja(Gt,Ve,Wt+1,rr),wa=Dr==null?void 0:Dr(Gt,Ve,Wt),da={};ua&&(da={style:(0,Ee.Z)({},"--virtual-width","".concat(ta,"px"))});var fa="".concat(zn,"-expanded-row-cell");Sa=ie.createElement("div",{className:ze()("".concat(zn,"-expanded-row"),"".concat(zn,"-expanded-row-level-").concat(Wt+1),wa)},ie.createElement(dn,{component:"div",prefixCls:zn,className:ze()(fa,(0,Ee.Z)({},"".concat(fa,"-fixed"),ua)),additionalProps:da},_a))}var qa=(0,xe.Z)((0,xe.Z)({},Nt),{},{width:Fn});Ot&&(qa.position="absolute",qa.pointerEvents="none");var Gr=ie.createElement("div",(0,Ze.Z)({},ka,$t,{ref:Ya?null:pe,className:ze()(at,"".concat(zn,"-row"),ka==null?void 0:ka.className,(0,Ee.Z)({},"".concat(zn,"-row-extra"),Ot)),style:(0,xe.Z)((0,xe.Z)({},qa),ka==null?void 0:ka.style)}),Wn.map(function(Lr,Ka){return ie.createElement($i,{key:Ka,rowInfo:ma,column:Lr,colIndex:Ka,indent:Wt,index:Ve,renderIndex:Cn,record:Gt,inverse:Ot,getHeight:At})}));return Ya?ie.createElement("div",{ref:pe},Gr,Sa):Gr}),co=ee(Ia),xo=co,wo=ie.forwardRef(function(ce,pe){var Te=ce.data,Ve=ce.onScroll,at=ke(ae,["flattenColumns","onColumnResize","getRowKey","prefixCls","expandedKeys","childrenColumnName","emptyNode","scrollX"]),ot=at.flattenColumns,Nt=at.onColumnResize,Ot=at.getRowKey,At=at.expandedKeys,$t=at.prefixCls,Gt=at.childrenColumnName,Wt=at.emptyNode,Cn=at.scrollX,Pn=ke(Lo),Fn=Pn.scrollY,Wn=Pn.listItemHeight,zn=ie.useRef(),ua=Se(Te,Gt,At,Ot),ta=ie.useMemo(function(){var Sa=0;return ot.map(function(_a){var wa=_a.width,da=_a.key;return Sa+=wa,[da,wa,Sa]})},[ot]),ma=ie.useMemo(function(){return ta.map(function(Sa){return Sa[2]})},[ta]);ie.useEffect(function(){ta.forEach(function(Sa){var _a=(0,ve.Z)(Sa,2),wa=_a[0],da=_a[1];Nt(wa,da)})},[ta]),ie.useImperativeHandle(pe,function(){var Sa={};return Object.defineProperty(Sa,"scrollLeft",{get:function(){var wa;return((wa=zn.current)===null||wa===void 0?void 0:wa.getScrollInfo().x)||0},set:function(wa){var da;(da=zn.current)===null||da===void 0||da.scrollTo({left:wa})}}),Sa});var Ya=function(_a,wa){var da,fa=(da=ua[wa])===null||da===void 0?void 0:da.record,qa=_a.onCell;if(qa){var Gr,Lr=qa(fa,wa);return(Gr=Lr==null?void 0:Lr.rowSpan)!==null&&Gr!==void 0?Gr:1}return 1},rr=function(_a){var wa=_a.start,da=_a.end,fa=_a.getSize,qa=_a.offsetY;if(da<0)return null;for(var Gr=ot.filter(function(gr){return Ya(gr,wa)===0}),Lr=wa,Ka=function(or){if(Gr=Gr.filter(function(ir){return Ya(ir,or)===0}),!Gr.length)return Lr=or,"break"},zr=wa;zr>=0;zr-=1){var Wr=Ka(zr);if(Wr==="break")break}for(var Jr=ot.filter(function(gr){return Ya(gr,da)!==1}),Vr=da,Vo=function(or){if(Jr=Jr.filter(function(ir){return Ya(ir,or)!==1}),!Jr.length)return Vr=Math.max(or-1,da),"break"},lo=da;lo<ua.length;lo+=1){var vr=Vo(lo);if(vr==="break")break}for(var ei=[],cr=function(or){var ir=ua[or];if(!ir)return"continue";ot.some(function(Wa){return Ya(Wa,or)>1})&&ei.push(or)},ko=Lr;ko<=Vr;ko+=1)var Ao=cr(ko);var fi=ei.map(function(gr){var or=ua[gr],ir=Ot(or.record,gr),Wa=function(va){var Br=gr+va-1,Qr=Ot(ua[Br].record,Br),Ni=fa(ir,Qr);return Ni.bottom-Ni.top},Na=fa(ir);return ie.createElement(xo,{key:gr,data:or,rowKey:ir,index:gr,style:{top:-qa+Na.top},extra:!0,getHeight:Wa})});return fi},ka=ie.useMemo(function(){return{columnsOffset:ma}},[ma]),Ja="".concat($t,"-tbody"),Dr;return ua.length?Dr=ie.createElement(po.Z,{fullHeight:!1,ref:zn,className:ze()(Ja,"".concat(Ja,"-virtual")),height:Fn,itemHeight:Wn||24,data:ua,itemKey:function(_a){return Ot(_a.record)},scrollWidth:Cn,onVirtualScroll:function(_a){var wa=_a.x;Ve({scrollLeft:wa})},extraRender:rr},function(Sa,_a,wa){var da=Ot(Sa.record,_a);return ie.createElement(xo,(0,Ze.Z)({data:Sa,rowKey:da,index:_a},wa))}):Dr=ie.createElement("div",{className:ze()("".concat($t,"-placeholder"))},ie.createElement(dn,{component:"div",prefixCls:$t},Wt)),ie.createElement(Oi.Provider,{value:ka},Dr)}),ui=ee(wo),Bi=ui,Yi=function(pe,Te){var Ve=Te.ref,at=Te.onScroll;return ie.createElement(Bi,{ref:Ve,data:pe,onScroll:at})},Mi=100;function Ce(ce){var pe=ce.columns,Te=ce.scroll,Ve=ce.prefixCls,at=Ve===void 0?Mo:Ve,ot=ce.className,Nt=ce.listItemHeight,Ot=Te||{},At=Ot.x,$t=Ot.y;typeof At!="number"&&(At=((pe||[]).length+1)*Mi),typeof $t!="number"&&($t=500);var Gt=ie.useMemo(function(){return{scrollY:$t,listItemHeight:Nt}},[$t,Nt]);return ie.createElement(Lo.Provider,{value:Gt},ie.createElement(br,(0,Ze.Z)({},ce,{className:ze()(ot,"".concat(at,"-virtual")),scroll:(0,xe.Z)((0,xe.Z)({},Te),{},{x:At}),components:{body:Yi},columns:pe,internalHooks:se,tailor:!0})))}function Re(ce){return x(Ce,ce)}var Ye=Re(),Ct=null;function Qt(ce){return null}var qt=Qt;function xn(ce){return null}var Dn=xn,Qn=te(2738),Pa=te(68031),Ca=te(36355),ga=te(93891),Or=te(19716),Mr=te(8628),Ro=te(31724),Ur=te(58421),la=te(71418),Yn=te(88088);function oa(ce){return function(Te){let{prefixCls:Ve,onExpand:at,record:ot,expanded:Nt,expandable:Ot}=Te;const At=`${Ve}-row-expand-icon`;return ie.createElement("button",{type:"button",onClick:$t=>{at(ot,$t),$t.stopPropagation()},className:ze()(At,{[`${At}-spaced`]:!Ot,[`${At}-expanded`]:Ot&&Nt,[`${At}-collapsed`]:Ot&&!Nt}),"aria-label":Nt?ce.collapse:ce.expand,"aria-expanded":Nt})}}var ra=oa;function Nr(ce,pe){return"key"in ce&&ce.key!==void 0&&ce.key!==null?ce.key:ce.dataIndex?Array.isArray(ce.dataIndex)?ce.dataIndex.join("."):ce.dataIndex:pe}function Zr(ce,pe){return pe?`${pe}-${ce}`:`${ce}`}function hr(ce,pe){return typeof ce=="function"?ce(pe):ce}function xr(ce,pe){const Te=hr(ce,pe);return Object.prototype.toString.call(Te)==="[object Object]"?"":Te}var kr={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M349 838c0 17.7 14.2 32 31.8 32h262.4c17.6 0 31.8-14.3 31.8-32V642H349v196zm531.1-684H143.9c-24.5 0-39.8 26.7-27.5 48l221.3 376h348.8l221.3-376c12.1-21.3-3.2-48-27.7-48z"}}]},name:"filter",theme:"filled"},ho=kr,ti=te(7657),yo=function(pe,Te){return ie.createElement(ti.Z,(0,Ze.Z)({},pe,{ref:Te,icon:ho}))},Rr=ie.forwardRef(yo),ro=Rr,Fo=te(56762);function vo(ce){const pe=ie.useRef(ce),Te=(0,Fo.Z)();return[()=>pe.current,Ve=>{pe.current=Ve,Te()}]}var Eo=te(3113),sa=te(24905),jo=te(38854),wi=te(64165),Zi=te(20834),nl=te(40875),Xi=te(5112),zi=te(17574),Fi=te(47472),ul=te(92832);function _i(ce){let{value:pe,onChange:Te,filterSearch:Ve,tablePrefixCls:at,locale:ot}=ce;return Ve?ie.createElement("div",{className:`${at}-filter-dropdown-search`},ie.createElement(ul.default,{prefix:ie.createElement(Fi.Z,null),placeholder:ot.filterSearchPlaceholder,onChange:Te,value:pe,htmlSize:1,className:`${at}-filter-dropdown-search-input`})):null}var rl=_i,Ut=te(10228);const Ht=ce=>{const{keyCode:pe}=ce;pe===Ut.Z.ENTER&&ce.stopPropagation()};var ba=ie.forwardRef((ce,pe)=>ie.createElement("div",{className:ce.className,onClick:Te=>Te.stopPropagation(),onKeyDown:Ht,ref:pe},ce.children));function Va(ce){let pe=[];return(ce||[]).forEach(Te=>{let{value:Ve,children:at}=Te;pe.push(Ve),at&&(pe=[].concat((0,rn.Z)(pe),(0,rn.Z)(Va(at))))}),pe}function Fa(ce){return ce.some(pe=>{let{children:Te}=pe;return Te})}function Mn(ce,pe){return typeof pe=="string"||typeof pe=="number"?pe==null?void 0:pe.toString().toLowerCase().includes(ce.trim().toLowerCase()):!1}function Ua(ce){let{filters:pe,prefixCls:Te,filteredKeys:Ve,filterMultiple:at,searchValue:ot,filterSearch:Nt}=ce;return pe.map((Ot,At)=>{const $t=String(Ot.value);if(Ot.children)return{key:$t||At,label:Ot.text,popupClassName:`${Te}-dropdown-submenu`,children:Ua({filters:Ot.children,prefixCls:Te,filteredKeys:Ve,filterMultiple:at,searchValue:ot,filterSearch:Nt})};const Gt=at?sa.default:Xi.ZP,Wt={key:Ot.value!==void 0?$t:At,label:ie.createElement(ie.Fragment,null,ie.createElement(Gt,{checked:Ve.includes($t)}),ie.createElement("span",null,Ot.text))};return ot.trim()?typeof Nt=="function"?Nt(ot,Ot)?Wt:null:Mn(ot,Ot.text)?Wt:null:Wt})}function vn(ce){var pe,Te;const{tablePrefixCls:Ve,prefixCls:at,column:ot,dropdownPrefixCls:Nt,columnKey:Ot,filterMultiple:At,filterMode:$t="menu",filterSearch:Gt=!1,filterState:Wt,triggerFilter:Cn,locale:Pn,children:Fn,getPopupContainer:Wn}=ce,{filterDropdownOpen:zn,onFilterDropdownOpenChange:ua,filterResetToDefaultFilteredValue:ta,defaultFilteredValue:ma,filterDropdownVisible:Ya,onFilterDropdownVisibleChange:rr}=ot,[ka,Ja]=ie.useState(!1),Dr=!!(Wt&&(!((pe=Wt.filteredKeys)===null||pe===void 0)&&pe.length||Wt.forceFiltered)),Sa=An=>{Ja(An),ua==null||ua(An),rr==null||rr(An)},_a=(Te=zn!=null?zn:Ya)!==null&&Te!==void 0?Te:ka,wa=Wt==null?void 0:Wt.filteredKeys,[da,fa]=vo(wa||[]),qa=An=>{let{selectedKeys:va}=An;fa(va)},Gr=(An,va)=>{let{node:Br,checked:Qr}=va;qa(At?{selectedKeys:An}:{selectedKeys:Qr&&Br.key?[Br.key]:[]})};ie.useEffect(()=>{ka&&qa({selectedKeys:wa||[]})},[wa]);const[Lr,Ka]=ie.useState([]),zr=An=>{Ka(An)},[Wr,Jr]=ie.useState(""),Vr=An=>{const{value:va}=An.target;Jr(va)};ie.useEffect(()=>{ka||Jr("")},[ka]);const Vo=An=>{const va=An&&An.length?An:null;if(va===null&&(!Wt||!Wt.filteredKeys)||(0,Ne.Z)(va,Wt==null?void 0:Wt.filteredKeys,!0))return null;Cn({column:ot,key:Ot,filteredKeys:va})},lo=()=>{Sa(!1),Vo(da())},vr=function(){let{confirm:An,closeDropdown:va}=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{confirm:!1,closeDropdown:!1};An&&Vo([]),va&&Sa(!1),Jr(""),fa(ta?(ma||[]).map(Br=>String(Br)):[])},ei=function(){let{closeDropdown:An}=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{closeDropdown:!0};An&&Sa(!1),Vo(da())},cr=An=>{An&&wa!==void 0&&fa(wa||[]),Sa(An),!An&&!ot.filterDropdown&&lo()},ko=ze()({[`${Nt}-menu-without-submenu`]:!Fa(ot.filters||[])}),Ao=An=>{if(An.target.checked){const va=Va(ot==null?void 0:ot.filters).map(Br=>String(Br));fa(va)}else fa([])},fi=An=>{let{filters:va}=An;return(va||[]).map((Br,Qr)=>{const Ni=String(Br.value),bi={title:Br.text,key:Br.value!==void 0?Ni:Qr};return Br.children&&(bi.children=fi({filters:Br.children})),bi})},gr=An=>{var va;return Object.assign(Object.assign({},An),{text:An.title,value:An.key,children:((va=An.children)===null||va===void 0?void 0:va.map(Br=>gr(Br)))||[]})};let or;if(typeof ot.filterDropdown=="function")or=ot.filterDropdown({prefixCls:`${Nt}-custom`,setSelectedKeys:An=>qa({selectedKeys:An}),selectedKeys:da(),confirm:ei,clearFilters:vr,filters:ot.filters,visible:_a,close:()=>{Sa(!1)}});else if(ot.filterDropdown)or=ot.filterDropdown;else{const An=da()||[],va=()=>(ot.filters||[]).length===0?ie.createElement(wi.Z,{image:wi.Z.PRESENTED_IMAGE_SIMPLE,description:Pn.filterEmptyText,imageStyle:{height:24},style:{margin:0,padding:"16px 0"}}):$t==="tree"?ie.createElement(ie.Fragment,null,ie.createElement(rl,{filterSearch:Gt,value:Wr,onChange:Vr,tablePrefixCls:Ve,locale:Pn}),ie.createElement("div",{className:`${Ve}-filter-dropdown-tree`},At?ie.createElement(sa.default,{checked:An.length===Va(ot.filters).length,indeterminate:An.length>0&&An.length<Va(ot.filters).length,className:`${Ve}-filter-dropdown-checkall`,onChange:Ao},Pn.filterCheckall):null,ie.createElement(zi.default,{checkable:!0,selectable:!1,blockNode:!0,multiple:At,checkStrictly:!At,className:`${Nt}-menu`,onCheck:Gr,checkedKeys:An,selectedKeys:An,showIcon:!1,treeData:fi({filters:ot.filters}),autoExpandParent:!0,defaultExpandAll:!0,filterTreeNode:Wr.trim()?Qr=>typeof Gt=="function"?Gt(Wr,gr(Qr)):Mn(Wr,Qr.title):void 0}))):ie.createElement(ie.Fragment,null,ie.createElement(rl,{filterSearch:Gt,value:Wr,onChange:Vr,tablePrefixCls:Ve,locale:Pn}),ie.createElement(Zi.default,{selectable:!0,multiple:At,prefixCls:`${Nt}-menu`,className:ko,onSelect:qa,onDeselect:qa,selectedKeys:An,getPopupContainer:Wn,openKeys:Lr,onOpenChange:zr,items:Ua({filters:ot.filters||[],filterSearch:Gt,prefixCls:at,filteredKeys:da(),filterMultiple:At,searchValue:Wr})})),Br=()=>ta?(0,Ne.Z)((ma||[]).map(Qr=>String(Qr)),An,!0):An.length===0;or=ie.createElement(ie.Fragment,null,va(),ie.createElement("div",{className:`${at}-dropdown-btns`},ie.createElement(Eo.ZP,{type:"link",size:"small",disabled:Br(),onClick:()=>vr()},Pn.filterReset),ie.createElement(Eo.ZP,{type:"primary",size:"small",onClick:lo},Pn.filterConfirm)))}ot.filterDropdown&&(or=ie.createElement(nl.J,{selectable:void 0},or));const ir=()=>ie.createElement(ba,{className:`${at}-dropdown`},or);let Wa;typeof ot.filterIcon=="function"?Wa=ot.filterIcon(Dr):ot.filterIcon?Wa=ot.filterIcon:Wa=ie.createElement(ro,null);const{direction:Na}=ie.useContext(Ca.E_);return ie.createElement("div",{className:`${at}-column`},ie.createElement("span",{className:`${Ve}-column-title`},Fn),ie.createElement(jo.Z,{dropdownRender:ir,trigger:["click"],open:_a,onOpenChange:cr,getPopupContainer:Wn,placement:Na==="rtl"?"bottomLeft":"bottomRight"},ie.createElement("span",{role:"button",tabIndex:-1,className:ze()(`${at}-trigger`,{active:Dr}),onClick:An=>{An.stopPropagation()}},Wa)))}var Za=vn;function Da(ce,pe,Te){let Ve=[];return(ce||[]).forEach((at,ot)=>{var Nt;const Ot=Zr(ot,Te);if(at.filters||"filterDropdown"in at||"onFilter"in at)if("filteredValue"in at){let At=at.filteredValue;"filterDropdown"in at||(At=(Nt=At==null?void 0:At.map(String))!==null&&Nt!==void 0?Nt:At),Ve.push({column:at,key:Nr(at,Ot),filteredKeys:At,forceFiltered:at.filtered})}else Ve.push({column:at,key:Nr(at,Ot),filteredKeys:pe&&at.defaultFilteredValue?at.defaultFilteredValue:void 0,forceFiltered:at.filtered});"children"in at&&(Ve=[].concat((0,rn.Z)(Ve),(0,rn.Z)(Da(at.children,pe,Ot))))}),Ve}function Io(ce,pe,Te,Ve,at,ot,Nt,Ot){return Te.map((At,$t)=>{const Gt=Zr($t,Ot),{filterMultiple:Wt=!0,filterMode:Cn,filterSearch:Pn}=At;let Fn=At;if(Fn.filters||Fn.filterDropdown){const Wn=Nr(Fn,Gt),zn=Ve.find(ua=>{let{key:ta}=ua;return Wn===ta});Fn=Object.assign(Object.assign({},Fn),{title:ua=>ie.createElement(Za,{tablePrefixCls:ce,prefixCls:`${ce}-filter`,dropdownPrefixCls:pe,column:Fn,columnKey:Wn,filterState:zn,filterMultiple:Wt,filterMode:Cn,filterSearch:Pn,triggerFilter:ot,locale:at,getPopupContainer:Nt},hr(At.title,ua))})}return"children"in Fn&&(Fn=Object.assign(Object.assign({},Fn),{children:Io(ce,pe,Fn.children,Ve,at,ot,Nt,Gt)})),Fn})}function Ma(ce){const pe={};return ce.forEach(Te=>{let{key:Ve,filteredKeys:at,column:ot}=Te;const{filters:Nt,filterDropdown:Ot}=ot;if(Ot)pe[Ve]=at||null;else if(Array.isArray(at)){const At=Va(Nt);pe[Ve]=At.filter($t=>at.includes(String($t)))}else pe[Ve]=null}),pe}function $o(ce,pe){return pe.reduce((Te,Ve)=>{const{column:{onFilter:at,filters:ot},filteredKeys:Nt}=Ve;return at&&Nt&&Nt.length?Te.filter(Ot=>Nt.some(At=>{const $t=Va(ot),Gt=$t.findIndex(Cn=>String(Cn)===String(At)),Wt=Gt!==-1?$t[Gt]:At;return at(Wt,Ot)})):Te},ce)}const Si=ce=>ce.flatMap(pe=>"children"in pe?[pe].concat((0,rn.Z)(Si(pe.children||[]))):[pe]);function Ko(ce){let{prefixCls:pe,dropdownPrefixCls:Te,mergedColumns:Ve,onFilterChange:at,getPopupContainer:ot,locale:Nt}=ce;const Ot=ie.useMemo(()=>Si(Ve||[]),[Ve]),[At,$t]=ie.useState(()=>Da(Ot,!0)),Gt=ie.useMemo(()=>{const Fn=Da(Ot,!1);if(Fn.length===0)return Fn;let Wn=!0,zn=!0;if(Fn.forEach(ua=>{let{filteredKeys:ta}=ua;ta!==void 0?Wn=!1:zn=!1}),Wn){const ua=(Ot||[]).map((ta,ma)=>Nr(ta,Zr(ma)));return At.filter(ta=>{let{key:ma}=ta;return ua.includes(ma)}).map(ta=>{const ma=Ot[ua.findIndex(Ya=>Ya===ta.key)];return Object.assign(Object.assign({},ta),{column:Object.assign(Object.assign({},ta.column),ma),forceFiltered:ma.filtered})})}return Fn},[Ot,At]),Wt=ie.useMemo(()=>Ma(Gt),[Gt]),Cn=Fn=>{const Wn=Gt.filter(zn=>{let{key:ua}=zn;return ua!==Fn.key});Wn.push(Fn),$t(Wn),at(Ma(Wn),Wn)};return[Fn=>Io(pe,Te,Fn,Gt,Nt,Cn,ot),Gt,Wt]}var Sr=Ko;function Pr(ce,pe,Te){const Ve=ie.useRef({});function at(ot){if(!Ve.current||Ve.current.data!==ce||Ve.current.childrenColumnName!==pe||Ve.current.getRowKey!==Te){let Ot=function(At){At.forEach(($t,Gt)=>{const Wt=Te($t,Gt);Nt.set(Wt,$t),$t&&typeof $t=="object"&&pe in $t&&Ot($t[pe]||[])})};const Nt=new Map;Ot(ce),Ve.current={data:ce,childrenColumnName:pe,kvMap:Nt,getRowKey:Te}}return Ve.current.kvMap.get(ot)}return[at]}var Xn=te(50371),ao=function(ce,pe){var Te={};for(var Ve in ce)Object.prototype.hasOwnProperty.call(ce,Ve)&&pe.indexOf(Ve)<0&&(Te[Ve]=ce[Ve]);if(ce!=null&&typeof Object.getOwnPropertySymbols=="function")for(var at=0,Ve=Object.getOwnPropertySymbols(ce);at<Ve.length;at++)pe.indexOf(Ve[at])<0&&Object.prototype.propertyIsEnumerable.call(ce,Ve[at])&&(Te[Ve[at]]=ce[Ve[at]]);return Te};const oi=10;function ha(ce,pe){const Te={current:ce.current,pageSize:ce.pageSize};return Object.keys(pe&&typeof pe=="object"?pe:{}).forEach(at=>{const ot=ce[at];typeof ot!="function"&&(Te[at]=ot)}),Te}function ca(ce,pe,Te){const Ve=Te&&typeof Te=="object"?Te:{},{total:at=0}=Ve,ot=ao(Ve,["total"]),[Nt,Ot]=(0,ie.useState)(()=>({current:"defaultCurrent"in ot?ot.defaultCurrent:1,pageSize:"defaultPageSize"in ot?ot.defaultPageSize:oi})),At=(0,Xn.Z)(Nt,ot,{total:at>0?at:ce}),$t=Math.ceil((at||ce)/At.pageSize);At.current>$t&&(At.current=$t||1);const Gt=(Cn,Pn)=>{Ot({current:Cn!=null?Cn:1,pageSize:Pn||At.pageSize})},Wt=(Cn,Pn)=>{var Fn;Te&&((Fn=Te.onChange)===null||Fn===void 0||Fn.call(Te,Cn,Pn)),Gt(Cn,Pn),pe(Cn,Pn||(At==null?void 0:At.pageSize))};return Te===!1?[{},()=>{}]:[Object.assign(Object.assign({},At),{onChange:Wt}),Gt]}var eo=ca,Ai=te(84105),kn=te(35654),tr=te(90782),aa=te(71430),an=te(18929);const Vn={},bn="SELECT_ALL",$r="SELECT_INVERT",mr="SELECT_NONE",Tr=[],Jo=(ce,pe)=>{let Te=[];return(pe||[]).forEach(Ve=>{Te.push(Ve),Ve&&typeof Ve=="object"&&ce in Ve&&(Te=[].concat((0,rn.Z)(Te),(0,rn.Z)(Jo(ce,Ve[ce]))))}),Te};var So=(ce,pe)=>{const{preserveSelectedRowKeys:Te,selectedRowKeys:Ve,defaultSelectedRowKeys:at,getCheckboxProps:ot,onChange:Nt,onSelect:Ot,onSelectAll:At,onSelectInvert:$t,onSelectNone:Gt,onSelectMultiple:Wt,columnWidth:Cn,type:Pn,selections:Fn,fixed:Wn,renderCell:zn,hideSelectAll:ua,checkStrictly:ta=!0}=pe||{},{prefixCls:ma,data:Ya,pageData:rr,getRecordByKey:ka,getRowKey:Ja,expandType:Dr,childrenColumnName:Sa,locale:_a,getPopupContainer:wa}=ce,[da,fa]=(0,an.Z)(Ve||at||Tr,{value:Ve}),qa=ie.useRef(new Map),Gr=(0,ie.useCallback)(gr=>{if(Te){const or=new Map;gr.forEach(ir=>{let Wa=ka(ir);!Wa&&qa.current.has(ir)&&(Wa=qa.current.get(ir)),or.set(ir,Wa)}),qa.current=or}},[ka,Te]);ie.useEffect(()=>{Gr(da)},[da]);const{keyEntities:Lr}=(0,ie.useMemo)(()=>{if(ta)return{keyEntities:null};let gr=Ya;if(Te){const or=new Set(Ya.map((Wa,Na)=>Ja(Wa,Na))),ir=Array.from(qa.current).reduce((Wa,Na)=>{let[An,va]=Na;return or.has(An)?Wa:Wa.concat(va)},[]);gr=[].concat((0,rn.Z)(gr),(0,rn.Z)(ir))}return(0,aa.I8)(gr,{externalGetKey:Ja,childrenPropName:Sa})},[Ya,Ja,ta,Sa,Te]),Ka=(0,ie.useMemo)(()=>Jo(Sa,rr),[Sa,rr]),zr=(0,ie.useMemo)(()=>{const gr=new Map;return Ka.forEach((or,ir)=>{const Wa=Ja(or,ir),Na=(ot?ot(or):null)||{};gr.set(Wa,Na)}),gr},[Ka,Ja,ot]),Wr=(0,ie.useCallback)(gr=>{var or;return!!(!((or=zr.get(Ja(gr)))===null||or===void 0)&&or.disabled)},[zr,Ja]),[Jr,Vr]=(0,ie.useMemo)(()=>{if(ta)return[da||[],[]];const{checkedKeys:gr,halfCheckedKeys:or}=(0,tr.S)(da,!0,Lr,Wr);return[gr||[],or]},[da,ta,Lr,Wr]),Vo=(0,ie.useMemo)(()=>{const gr=Pn==="radio"?Jr.slice(0,1):Jr;return new Set(gr)},[Jr,Pn]),lo=(0,ie.useMemo)(()=>Pn==="radio"?new Set:new Set(Vr),[Vr,Pn]),[vr,ei]=(0,ie.useState)(null);ie.useEffect(()=>{pe||fa(Tr)},[!!pe]);const cr=(0,ie.useCallback)((gr,or)=>{let ir,Wa;Gr(gr),Te?(ir=gr,Wa=gr.map(Na=>qa.current.get(Na))):(ir=[],Wa=[],gr.forEach(Na=>{const An=ka(Na);An!==void 0&&(ir.push(Na),Wa.push(An))})),fa(ir),Nt==null||Nt(ir,Wa,{type:or})},[fa,ka,Nt,Te]),ko=(0,ie.useCallback)((gr,or,ir,Wa)=>{if(Ot){const Na=ir.map(An=>ka(An));Ot(ka(gr),or,Na,Wa)}cr(ir,"single")},[Ot,ka,cr]),Ao=(0,ie.useMemo)(()=>!Fn||ua?null:(Fn===!0?[bn,$r,mr]:Fn).map(or=>or===bn?{key:"all",text:_a.selectionAll,onSelect(){cr(Ya.map((ir,Wa)=>Ja(ir,Wa)).filter(ir=>{const Wa=zr.get(ir);return!(Wa!=null&&Wa.disabled)||Vo.has(ir)}),"all")}}:or===$r?{key:"invert",text:_a.selectInvert,onSelect(){const ir=new Set(Vo);rr.forEach((Na,An)=>{const va=Ja(Na,An),Br=zr.get(va);Br!=null&&Br.disabled||(ir.has(va)?ir.delete(va):ir.add(va))});const Wa=Array.from(ir);$t&&$t(Wa),cr(Wa,"invert")}}:or===mr?{key:"none",text:_a.selectNone,onSelect(){Gt==null||Gt(),cr(Array.from(Vo).filter(ir=>{const Wa=zr.get(ir);return Wa==null?void 0:Wa.disabled}),"none")}}:or).map(or=>Object.assign(Object.assign({},or),{onSelect:function(){for(var ir,Wa,Na=arguments.length,An=new Array(Na),va=0;va<Na;va++)An[va]=arguments[va];(Wa=or.onSelect)===null||Wa===void 0||(ir=Wa).call.apply(ir,[or].concat(An)),ei(null)}})),[Fn,Vo,rr,Ja,$t,cr]);return[(0,ie.useCallback)(gr=>{var or;if(!pe)return gr.filter(No=>No!==Vn);let ir=(0,rn.Z)(gr);const Wa=new Set(Vo),Na=Ka.map(Ja).filter(No=>!zr.get(No).disabled),An=Na.every(No=>Wa.has(No)),va=Na.some(No=>Wa.has(No)),Br=()=>{const No=[];An?Na.forEach(ii=>{Wa.delete(ii),No.push(ii)}):Na.forEach(ii=>{Wa.has(ii)||(Wa.add(ii),No.push(ii))});const Zo=Array.from(Wa);At==null||At(!An,Zo.map(ii=>ka(ii)),No.map(ii=>ka(ii))),cr(Zo,"all"),ei(null)};let Qr;if(Pn!=="radio"){let No;if(Ao){const uo={getPopupContainer:wa,items:Ao.map((Gi,Ii)=>{const{key:zo,text:pr,onSelect:hi}=Gi;return{key:zo!=null?zo:Ii,onClick:()=>{hi==null||hi(Na)},label:pr}})};No=ie.createElement("div",{className:`${ma}-selection-extra`},ie.createElement(jo.Z,{menu:uo,getPopupContainer:wa},ie.createElement("span",null,ie.createElement(Ai.Z,null))))}const Zo=Ka.map((uo,Gi)=>{const Ii=Ja(uo,Gi),zo=zr.get(Ii)||{};return Object.assign({checked:Wa.has(Ii)},zo)}).filter(uo=>{let{disabled:Gi}=uo;return Gi}),ii=!!Zo.length&&Zo.length===Ka.length,Pi=ii&&Zo.every(uo=>{let{checked:Gi}=uo;return Gi}),pi=ii&&Zo.some(uo=>{let{checked:Gi}=uo;return Gi});Qr=!ua&&ie.createElement("div",{className:`${ma}-selection`},ie.createElement(sa.default,{checked:ii?Pi:!!Ka.length&&An,indeterminate:ii?!Pi&&pi:!An&&va,onChange:Br,disabled:Ka.length===0||ii,"aria-label":No?"Custom selection":"Select all",skipGroup:!0}),No)}let Ni;Pn==="radio"?Ni=(No,Zo,ii)=>{const Pi=Ja(Zo,ii),pi=Wa.has(Pi);return{node:ie.createElement(Xi.ZP,Object.assign({},zr.get(Pi),{checked:pi,onClick:uo=>uo.stopPropagation(),onChange:uo=>{Wa.has(Pi)||ko(Pi,!0,[Pi],uo.nativeEvent)}})),checked:pi}}:Ni=(No,Zo,ii)=>{var Pi;const pi=Ja(Zo,ii),uo=Wa.has(pi),Gi=lo.has(pi),Ii=zr.get(pi);let zo;return Dr==="nest"?zo=Gi:zo=(Pi=Ii==null?void 0:Ii.indeterminate)!==null&&Pi!==void 0?Pi:Gi,{node:ie.createElement(sa.default,Object.assign({},Ii,{indeterminate:zo,checked:uo,skipGroup:!0,onClick:pr=>pr.stopPropagation(),onChange:pr=>{let{nativeEvent:hi}=pr;const{shiftKey:Ti}=hi;let sl=-1,el=-1;if(Ti&&ta){const Qi=new Set([vr,pi]);Na.some((Wi,yi)=>{if(Qi.has(Wi))if(sl===-1)sl=yi;else return el=yi,!0;return!1})}if(el!==-1&&sl!==el&&ta){const Qi=Na.slice(sl,el+1),Wi=[];uo?Qi.forEach(gi=>{Wa.has(gi)&&(Wi.push(gi),Wa.delete(gi))}):Qi.forEach(gi=>{Wa.has(gi)||(Wi.push(gi),Wa.add(gi))});const yi=Array.from(Wa);Wt==null||Wt(!uo,yi.map(gi=>ka(gi)),Wi.map(gi=>ka(gi))),cr(yi,"multiple")}else{const Qi=Jr;if(ta){const Wi=uo?(0,kn._5)(Qi,pi):(0,kn.L0)(Qi,pi);ko(pi,!uo,Wi,hi)}else{const Wi=(0,tr.S)([].concat((0,rn.Z)(Qi),[pi]),!0,Lr,Wr),{checkedKeys:yi,halfCheckedKeys:gi}=Wi;let ol=yi;if(uo){const fl=new Set(yi);fl.delete(pi),ol=(0,tr.S)(Array.from(fl),{checked:!1,halfCheckedKeys:gi},Lr,Wr).checkedKeys}ko(pi,!uo,ol,hi)}}ei(uo?null:pi)}})),checked:uo}};const bi=(No,Zo,ii)=>{const{node:Pi,checked:pi}=Ni(No,Zo,ii);return zn?zn(pi,Zo,ii,Pi):Pi};if(!ir.includes(Vn))if(ir.findIndex(No=>{var Zo;return((Zo=No[tn])===null||Zo===void 0?void 0:Zo.columnType)==="EXPAND_COLUMN"})===0){const[No,...Zo]=ir;ir=[No,Vn].concat((0,rn.Z)(Zo))}else ir=[Vn].concat((0,rn.Z)(ir));const Ji=ir.indexOf(Vn);ir=ir.filter((No,Zo)=>No!==Vn||Zo===Ji);const si=ir[Ji-1],ri=ir[Ji+1];let lr=Wn;lr===void 0&&((ri==null?void 0:ri.fixed)!==void 0?lr=ri.fixed:(si==null?void 0:si.fixed)!==void 0&&(lr=si.fixed)),lr&&si&&((or=si[tn])===null||or===void 0?void 0:or.columnType)==="EXPAND_COLUMN"&&si.fixed===void 0&&(si.fixed=lr);const Ri=ze()(`${ma}-selection-col`,{[`${ma}-selection-col-with-dropdown`]:Fn&&Pn==="checkbox"}),ji={fixed:lr,width:Cn,className:`${ma}-selection-column`,title:pe.columnTitle||Qr,render:bi,onCell:pe.onCell,[tn]:{className:Ri}};return ir.map(No=>No===Vn?ji:No)},[Ja,Ka,pe,Jr,Vo,lo,Cn,Ao,Dr,vr,zr,Wt,ko,Wr]),Vo]},Ha=te(89489),Yr=te(59477),mo=te(6848);const Do="ascend",Sn="descend";function na(ce){return typeof ce.sorter=="object"&&typeof ce.sorter.multiple=="number"?ce.sorter.multiple:!1}function Oa(ce){return typeof ce=="function"?ce:ce&&typeof ce=="object"&&ce.compare?ce.compare:!1}function Hn(ce,pe){return pe?ce[ce.indexOf(pe)+1]:ce[0]}function ya(ce,pe,Te){let Ve=[];function at(ot,Nt){Ve.push({column:ot,key:Nr(ot,Nt),multiplePriority:na(ot),sortOrder:ot.sortOrder})}return(ce||[]).forEach((ot,Nt)=>{const Ot=Zr(Nt,Te);ot.children?("sortOrder"in ot&&at(ot,Ot),Ve=[].concat((0,rn.Z)(Ve),(0,rn.Z)(ya(ot.children,pe,Ot)))):ot.sorter&&("sortOrder"in ot?at(ot,Ot):pe&&ot.defaultSortOrder&&Ve.push({column:ot,key:Nr(ot,Ot),multiplePriority:na(ot),sortOrder:ot.defaultSortOrder}))}),Ve}function wr(ce,pe,Te,Ve,at,ot,Nt,Ot){return(pe||[]).map((At,$t)=>{const Gt=Zr($t,Ot);let Wt=At;if(Wt.sorter){const Cn=Wt.sortDirections||at,Pn=Wt.showSorterTooltip===void 0?Nt:Wt.showSorterTooltip,Fn=Nr(Wt,Gt),Wn=Te.find(Dr=>{let{key:Sa}=Dr;return Sa===Fn}),zn=Wn?Wn.sortOrder:null,ua=Hn(Cn,zn);let ta;if(At.sortIcon)ta=At.sortIcon({sortOrder:zn});else{const Dr=Cn.includes(Do)&&ie.createElement(Yr.Z,{className:ze()(`${ce}-column-sorter-up`,{active:zn===Do})}),Sa=Cn.includes(Sn)&&ie.createElement(Ha.Z,{className:ze()(`${ce}-column-sorter-down`,{active:zn===Sn})});ta=ie.createElement("span",{className:ze()(`${ce}-column-sorter`,{[`${ce}-column-sorter-full`]:!!(Dr&&Sa)})},ie.createElement("span",{className:`${ce}-column-sorter-inner`,"aria-hidden":"true"},Dr,Sa))}const{cancelSort:ma,triggerAsc:Ya,triggerDesc:rr}=ot||{};let ka=ma;ua===Sn?ka=rr:ua===Do&&(ka=Ya);const Ja=typeof Pn=="object"?Pn:{title:ka};Wt=Object.assign(Object.assign({},Wt),{className:ze()(Wt.className,{[`${ce}-column-sort`]:zn}),title:Dr=>{const Sa=ie.createElement("div",{className:`${ce}-column-sorters`},ie.createElement("span",{className:`${ce}-column-title`},hr(At.title,Dr)),ta);return Pn?ie.createElement(mo.Z,Object.assign({},Ja),Sa):Sa},onHeaderCell:Dr=>{const Sa=At.onHeaderCell&&At.onHeaderCell(Dr)||{},_a=Sa.onClick,wa=Sa.onKeyDown;Sa.onClick=qa=>{Ve({column:At,key:Fn,sortOrder:ua,multiplePriority:na(At)}),_a==null||_a(qa)},Sa.onKeyDown=qa=>{qa.keyCode===Ut.Z.ENTER&&(Ve({column:At,key:Fn,sortOrder:ua,multiplePriority:na(At)}),wa==null||wa(qa))};const da=xr(At.title,{}),fa=da==null?void 0:da.toString();return zn?Sa["aria-sort"]=zn==="ascend"?"ascending":"descending":Sa["aria-label"]=fa||"",Sa.className=ze()(Sa.className,`${ce}-column-has-sorters`),Sa.tabIndex=0,At.ellipsis&&(Sa.title=(da!=null?da:"").toString()),Sa}})}return"children"in Wt&&(Wt=Object.assign(Object.assign({},Wt),{children:wr(ce,Wt.children,Te,Ve,at,ot,Nt,Gt)})),Wt})}function Fr(ce){const{column:pe,sortOrder:Te}=ce;return{column:pe,order:Te,field:pe.dataIndex,columnKey:pe.key}}function Co(ce){const pe=ce.filter(Te=>{let{sortOrder:Ve}=Te;return Ve}).map(Fr);return pe.length===0&&ce.length?Object.assign(Object.assign({},Fr(ce[ce.length-1])),{column:void 0}):pe.length<=1?pe[0]||{}:pe}function qo(ce,pe,Te){const Ve=pe.slice().sort((Nt,Ot)=>Ot.multiplePriority-Nt.multiplePriority),at=ce.slice(),ot=Ve.filter(Nt=>{let{column:{sorter:Ot},sortOrder:At}=Nt;return Oa(Ot)&&At});return ot.length?at.sort((Nt,Ot)=>{for(let At=0;At<ot.length;At+=1){const $t=ot[At],{column:{sorter:Gt},sortOrder:Wt}=$t,Cn=Oa(Gt);if(Cn&&Wt){const Pn=Cn(Nt,Ot,Wt);if(Pn!==0)return Wt===Do?Pn:-Pn}}return 0}).map(Nt=>{const Ot=Nt[Te];return Ot?Object.assign(Object.assign({},Nt),{[Te]:qo(Ot,pe,Te)}):Nt}):at}function Di(ce){let{prefixCls:pe,mergedColumns:Te,onSorterChange:Ve,sortDirections:at,tableLocale:ot,showSorterTooltip:Nt}=ce;const[Ot,At]=ie.useState(ya(Te,!0)),$t=ie.useMemo(()=>{let Fn=!0;const Wn=ya(Te,!1);if(!Wn.length)return Ot;const zn=[];function ua(ma){Fn?zn.push(ma):zn.push(Object.assign(Object.assign({},ma),{sortOrder:null}))}let ta=null;return Wn.forEach(ma=>{ta===null?(ua(ma),ma.sortOrder&&(ma.multiplePriority===!1?Fn=!1:ta=!0)):(ta&&ma.multiplePriority!==!1||(Fn=!1),ua(ma))}),zn},[Te,Ot]),Gt=ie.useMemo(()=>{const Fn=$t.map(Wn=>{let{column:zn,sortOrder:ua}=Wn;return{column:zn,order:ua}});return{sortColumns:Fn,sortColumn:Fn[0]&&Fn[0].column,sortOrder:Fn[0]&&Fn[0].order}},[$t]);function Wt(Fn){let Wn;Fn.multiplePriority===!1||!$t.length||$t[0].multiplePriority===!1?Wn=[Fn]:Wn=[].concat((0,rn.Z)($t.filter(zn=>{let{key:ua}=zn;return ua!==Fn.key})),[Fn]),At(Wn),Ve(Co(Wn),Wn)}return[Fn=>wr(pe,Fn,$t,Wt,at,ot,Nt),$t,Gt,()=>Co($t)]}function Hi(ce,pe){return ce.map(Te=>{const Ve=Object.assign({},Te);return Ve.title=hr(Te.title,pe),"children"in Ve&&(Ve.children=Hi(Ve.children,pe)),Ve})}function qi(ce){return[ie.useCallback(Te=>Hi(Te,ce),[ce])]}var wl=jr((ce,pe)=>{const{_renderTimes:Te}=ce,{_renderTimes:Ve}=pe;return Te!==Ve}),vl=Re((ce,pe)=>{const{_renderTimes:Te}=ce,{_renderTimes:Ve}=pe;return Te!==Ve}),Sl=te(64993),Fl=te(17313),uu=te(83116),su=te(37613),de=ce=>{const{componentCls:pe}=ce,Te=`${ce.lineWidth}px ${ce.lineType} ${ce.tableBorderColor}`,Ve=(at,ot,Nt)=>({[`&${pe}-${at}`]:{[`> ${pe}-container`]:{[`> ${pe}-content, > ${pe}-body`]:{"\n > table > tbody > tr > th,\n > table > tbody > tr > td\n ":{[`> ${pe}-expanded-row-fixed`]:{margin:`-${ot}px -${Nt+ce.lineWidth}px`}}}}}});return{[`${pe}-wrapper`]:{[`${pe}${pe}-bordered`]:Object.assign(Object.assign(Object.assign({[`> ${pe}-title`]:{border:Te,borderBottom:0},[`> ${pe}-container`]:{borderInlineStart:Te,borderTop:Te,[`
|
|
> ${pe}-content,
|
|
> ${pe}-header,
|
|
> ${pe}-body,
|
|
> ${pe}-summary
|
|
`]:{"> table":{"\n > thead > tr > th,\n > thead > tr > td,\n > tbody > tr > th,\n > tbody > tr > td,\n > tfoot > tr > th,\n > tfoot > tr > td\n ":{borderInlineEnd:Te},"> thead":{"> tr:not(:last-child) > th":{borderBottom:Te},"> tr > th::before":{backgroundColor:"transparent !important"}},"\n > thead > tr,\n > tbody > tr,\n > tfoot > tr\n ":{[`> ${pe}-cell-fix-right-first::after`]:{borderInlineEnd:Te}},"\n > tbody > tr > th,\n > tbody > tr > td\n ":{[`> ${pe}-expanded-row-fixed`]:{margin:`-${ce.tablePaddingVertical}px -${ce.tablePaddingHorizontal+ce.lineWidth}px`,"&::after":{position:"absolute",top:0,insetInlineEnd:ce.lineWidth,bottom:0,borderInlineEnd:Te,content:'""'}}}}}},[`&${pe}-scroll-horizontal`]:{[`> ${pe}-container > ${pe}-body`]:{"> table > tbody":{[`
|
|
> tr${pe}-expanded-row,
|
|
> tr${pe}-placeholder
|
|
`]:{"> th, > td":{borderInlineEnd:0}}}}}},Ve("middle",ce.tablePaddingVerticalMiddle,ce.tablePaddingHorizontalMiddle)),Ve("small",ce.tablePaddingVerticalSmall,ce.tablePaddingHorizontalSmall)),{[`> ${pe}-footer`]:{border:Te,borderTop:0}}),[`${pe}-cell`]:{[`${pe}-container:first-child`]:{borderTop:0},"&-scrollbar:not([rowspan])":{boxShadow:`0 ${ce.lineWidth}px 0 ${ce.lineWidth}px ${ce.tableHeaderBg}`}},[`${pe}-bordered ${pe}-cell-scrollbar`]:{borderInlineEnd:Te}}}},$e=ce=>{const{componentCls:pe}=ce;return{[`${pe}-wrapper`]:{[`${pe}-cell-ellipsis`]:Object.assign(Object.assign({},Fl.vS),{wordBreak:"keep-all",[`
|
|
&${pe}-cell-fix-left-last,
|
|
&${pe}-cell-fix-right-first
|
|
`]:{overflow:"visible",[`${pe}-cell-content`]:{display:"block",overflow:"hidden",textOverflow:"ellipsis"}},[`${pe}-column-title`]:{overflow:"hidden",textOverflow:"ellipsis",wordBreak:"keep-all"}})}}},Mt=ce=>{const{componentCls:pe}=ce;return{[`${pe}-wrapper`]:{[`${pe}-tbody > tr${pe}-placeholder`]:{textAlign:"center",color:ce.colorTextDisabled,"\n &:hover > th,\n &:hover > td,\n ":{background:ce.colorBgContainer}}}}},xt=te(15969),on=ce=>{const{componentCls:pe,antCls:Te,controlInteractiveSize:Ve,motionDurationSlow:at,lineWidth:ot,paddingXS:Nt,lineType:Ot,tableBorderColor:At,tableExpandIconBg:$t,tableExpandColumnWidth:Gt,borderRadius:Wt,fontSize:Cn,fontSizeSM:Pn,lineHeight:Fn,tablePaddingVertical:Wn,tablePaddingHorizontal:zn,tableExpandedRowBg:ua,paddingXXS:ta}=ce,ma=Ve/2-ot,Ya=ma*2+ot*3,rr=`${ot}px ${Ot} ${At}`,ka=ta-ot;return{[`${pe}-wrapper`]:{[`${pe}-expand-icon-col`]:{width:Gt},[`${pe}-row-expand-icon-cell`]:{textAlign:"center",[`${pe}-row-expand-icon`]:{display:"inline-flex",float:"none",verticalAlign:"sub"}},[`${pe}-row-indent`]:{height:1,float:"left"},[`${pe}-row-expand-icon`]:Object.assign(Object.assign({},(0,xt.N)(ce)),{position:"relative",float:"left",boxSizing:"border-box",width:Ya,height:Ya,padding:0,color:"inherit",lineHeight:`${Ya}px`,background:$t,border:rr,borderRadius:Wt,transform:`scale(${Ve/Ya})`,transition:`all ${at}`,userSelect:"none","&:focus, &:hover, &:active":{borderColor:"currentcolor"},"&::before, &::after":{position:"absolute",background:"currentcolor",transition:`transform ${at} ease-out`,content:'""'},"&::before":{top:ma,insetInlineEnd:ka,insetInlineStart:ka,height:ot},"&::after":{top:ka,bottom:ka,insetInlineStart:ma,width:ot,transform:"rotate(90deg)"},"&-collapsed::before":{transform:"rotate(-180deg)"},"&-collapsed::after":{transform:"rotate(0deg)"},"&-spaced":{"&::before, &::after":{display:"none",content:"none"},background:"transparent",border:0,visibility:"hidden"}}),[`${pe}-row-indent + ${pe}-row-expand-icon`]:{marginTop:(Cn*Fn-ot*3)/2-Math.ceil((Pn*1.4-ot*3)/2),marginInlineEnd:Nt},[`tr${pe}-expanded-row`]:{"&, &:hover":{"> th, > td":{background:ua}},[`${Te}-descriptions-view`]:{display:"flex",table:{flex:"auto",width:"auto"}}},[`${pe}-expanded-row-fixed`]:{position:"relative",margin:`-${Wn}px -${zn}px`,padding:`${Wn}px ${zn}px`}}}},ia=ce=>{const{componentCls:pe,antCls:Te,iconCls:Ve,tableFilterDropdownWidth:at,tableFilterDropdownSearchWidth:ot,paddingXXS:Nt,paddingXS:Ot,colorText:At,lineWidth:$t,lineType:Gt,tableBorderColor:Wt,tableHeaderIconColor:Cn,fontSizeSM:Pn,tablePaddingHorizontal:Fn,borderRadius:Wn,motionDurationSlow:zn,colorTextDescription:ua,colorPrimary:ta,tableHeaderFilterActiveBg:ma,colorTextDisabled:Ya,tableFilterDropdownBg:rr,tableFilterDropdownHeight:ka,controlItemBgHover:Ja,controlItemBgActive:Dr,boxShadowSecondary:Sa,filterDropdownMenuBg:_a}=ce,wa=`${Te}-dropdown`,da=`${pe}-filter-dropdown`,fa=`${Te}-tree`,qa=`${$t}px ${Gt} ${Wt}`;return[{[`${pe}-wrapper`]:{[`${pe}-filter-column`]:{display:"flex",justifyContent:"space-between"},[`${pe}-filter-trigger`]:{position:"relative",display:"flex",alignItems:"center",marginBlock:-Nt,marginInline:`${Nt}px ${-Fn/2}px`,padding:`0 ${Nt}px`,color:Cn,fontSize:Pn,borderRadius:Wn,cursor:"pointer",transition:`all ${zn}`,"&:hover":{color:ua,background:ma},"&.active":{color:ta}}}},{[`${Te}-dropdown`]:{[da]:Object.assign(Object.assign({},(0,Fl.Wf)(ce)),{minWidth:at,backgroundColor:rr,borderRadius:Wn,boxShadow:Sa,overflow:"hidden",[`${wa}-menu`]:{maxHeight:ka,overflowX:"hidden",border:0,boxShadow:"none",borderRadius:"unset",backgroundColor:_a,"&:empty::after":{display:"block",padding:`${Ot}px 0`,color:Ya,fontSize:Pn,textAlign:"center",content:'"Not Found"'}},[`${da}-tree`]:{paddingBlock:`${Ot}px 0`,paddingInline:Ot,[fa]:{padding:0},[`${fa}-treenode ${fa}-node-content-wrapper:hover`]:{backgroundColor:Ja},[`${fa}-treenode-checkbox-checked ${fa}-node-content-wrapper`]:{"&, &:hover":{backgroundColor:Dr}}},[`${da}-search`]:{padding:Ot,borderBottom:qa,"&-input":{input:{minWidth:ot},[Ve]:{color:Ya}}},[`${da}-checkall`]:{width:"100%",marginBottom:Nt,marginInlineStart:Nt},[`${da}-btns`]:{display:"flex",justifyContent:"space-between",padding:`${Ot-$t}px ${Ot}px`,overflow:"hidden",borderTop:qa}})}},{[`${Te}-dropdown ${da}, ${da}-submenu`]:{[`${Te}-checkbox-wrapper + span`]:{paddingInlineStart:Ot,color:At},"> ul":{maxHeight:"calc(100vh - 130px)",overflowX:"hidden",overflowY:"auto"}}}]},Ln=ce=>{const{componentCls:pe,lineWidth:Te,colorSplit:Ve,motionDurationSlow:at,zIndexTableFixed:ot,tableBg:Nt,zIndexTableSticky:Ot}=ce,At=Ve;return{[`${pe}-wrapper`]:{[`
|
|
${pe}-cell-fix-left,
|
|
${pe}-cell-fix-right
|
|
`]:{position:"sticky !important",zIndex:ot,background:Nt},[`
|
|
${pe}-cell-fix-left-first::after,
|
|
${pe}-cell-fix-left-last::after
|
|
`]:{position:"absolute",top:0,right:{_skip_check_:!0,value:0},bottom:-Te,width:30,transform:"translateX(100%)",transition:`box-shadow ${at}`,content:'""',pointerEvents:"none"},[`${pe}-cell-fix-left-all::after`]:{display:"none"},[`
|
|
${pe}-cell-fix-right-first::after,
|
|
${pe}-cell-fix-right-last::after
|
|
`]:{position:"absolute",top:0,bottom:-Te,left:{_skip_check_:!0,value:0},width:30,transform:"translateX(-100%)",transition:`box-shadow ${at}`,content:'""',pointerEvents:"none"},[`${pe}-container`]:{"&::before, &::after":{position:"absolute",top:0,bottom:0,zIndex:Ot+1,width:30,transition:`box-shadow ${at}`,content:'""',pointerEvents:"none"},"&::before":{insetInlineStart:0},"&::after":{insetInlineEnd:0}},[`${pe}-ping-left`]:{[`&:not(${pe}-has-fix-left) ${pe}-container`]:{position:"relative","&::before":{boxShadow:`inset 10px 0 8px -8px ${At}`}},[`
|
|
${pe}-cell-fix-left-first::after,
|
|
${pe}-cell-fix-left-last::after
|
|
`]:{boxShadow:`inset 10px 0 8px -8px ${At}`},[`${pe}-cell-fix-left-last::before`]:{backgroundColor:"transparent !important"}},[`${pe}-ping-right`]:{[`&:not(${pe}-has-fix-right) ${pe}-container`]:{position:"relative","&::after":{boxShadow:`inset -10px 0 8px -8px ${At}`}},[`
|
|
${pe}-cell-fix-right-first::after,
|
|
${pe}-cell-fix-right-last::after
|
|
`]:{boxShadow:`inset -10px 0 8px -8px ${At}`}}}}},Kn=ce=>{const{componentCls:pe,antCls:Te}=ce;return{[`${pe}-wrapper`]:{[`${pe}-pagination${Te}-pagination`]:{margin:`${ce.margin}px 0`},[`${pe}-pagination`]:{display:"flex",flexWrap:"wrap",rowGap:ce.paddingXS,"> *":{flex:"none"},"&-left":{justifyContent:"flex-start"},"&-center":{justifyContent:"center"},"&-right":{justifyContent:"flex-end"}}}}},wn=ce=>{const{componentCls:pe,tableRadius:Te}=ce;return{[`${pe}-wrapper`]:{[pe]:{[`${pe}-title, ${pe}-header`]:{borderRadius:`${Te}px ${Te}px 0 0`},[`${pe}-title + ${pe}-container`]:{borderStartStartRadius:0,borderStartEndRadius:0,[`${pe}-header, table`]:{borderRadius:0},"table > thead > tr:first-child":{"th:first-child, th:last-child, td:first-child, td:last-child":{borderRadius:0}}},"&-container":{borderStartStartRadius:Te,borderStartEndRadius:Te,"table > thead > tr:first-child":{"> *:first-child":{borderStartStartRadius:Te},"> *:last-child":{borderStartEndRadius:Te}}},"&-footer":{borderRadius:`0 0 ${Te}px ${Te}px`}}}}},Ta=ce=>{const{componentCls:pe}=ce;return{[`${pe}-wrapper-rtl`]:{direction:"rtl",table:{direction:"rtl"},[`${pe}-pagination-left`]:{justifyContent:"flex-end"},[`${pe}-pagination-right`]:{justifyContent:"flex-start"},[`${pe}-row-expand-icon`]:{float:"right","&::after":{transform:"rotate(-90deg)"},"&-collapsed::before":{transform:"rotate(180deg)"},"&-collapsed::after":{transform:"rotate(0deg)"}},[`${pe}-container`]:{"&::before":{insetInlineStart:"unset",insetInlineEnd:0},"&::after":{insetInlineStart:0,insetInlineEnd:"unset"},[`${pe}-row-indent`]:{float:"right"}}}}},za=ce=>{const{componentCls:pe,antCls:Te,iconCls:Ve,fontSizeIcon:at,padding:ot,paddingXS:Nt,tableHeaderIconColor:Ot,tableHeaderIconColorHover:At,tableSelectionColumnWidth:$t}=ce;return{[`${pe}-wrapper`]:{[`${pe}-selection-col`]:{width:$t,[`&${pe}-selection-col-with-dropdown`]:{width:$t+at+ot/4}},[`${pe}-bordered ${pe}-selection-col`]:{width:$t+Nt*2,[`&${pe}-selection-col-with-dropdown`]:{width:$t+at+ot/4+Nt*2}},[`
|
|
table tr th${pe}-selection-column,
|
|
table tr td${pe}-selection-column
|
|
`]:{paddingInlineEnd:ce.paddingXS,paddingInlineStart:ce.paddingXS,textAlign:"center",[`${Te}-radio-wrapper`]:{marginInlineEnd:0}},[`table tr th${pe}-selection-column${pe}-cell-fix-left`]:{zIndex:ce.zIndexTableFixed+1},[`table tr th${pe}-selection-column::after`]:{backgroundColor:"transparent !important"},[`${pe}-selection`]:{position:"relative",display:"inline-flex",flexDirection:"column"},[`${pe}-selection-extra`]:{position:"absolute",top:0,zIndex:1,cursor:"pointer",transition:`all ${ce.motionDurationSlow}`,marginInlineStart:"100%",paddingInlineStart:`${ce.tablePaddingHorizontal/4}px`,[Ve]:{color:Ot,fontSize:at,verticalAlign:"baseline","&:hover":{color:At}}}}}},ja=ce=>{const{componentCls:pe}=ce,Te=(Ve,at,ot,Nt)=>({[`${pe}${pe}-${Ve}`]:{fontSize:Nt,[`
|
|
${pe}-title,
|
|
${pe}-footer,
|
|
${pe}-cell,
|
|
${pe}-thead > tr > th,
|
|
${pe}-tbody > tr > th,
|
|
${pe}-tbody > tr > td,
|
|
tfoot > tr > th,
|
|
tfoot > tr > td
|
|
`]:{padding:`${at}px ${ot}px`},[`${pe}-filter-trigger`]:{marginInlineEnd:`-${ot/2}px`},[`${pe}-expanded-row-fixed`]:{margin:`-${at}px -${ot}px`},[`${pe}-tbody`]:{[`${pe}-wrapper:only-child ${pe}`]:{marginBlock:`-${at}px`,marginInline:`${ce.tableExpandColumnWidth-ot}px -${ot}px`}},[`${pe}-selection-column`]:{paddingInlineStart:`${ot/4}px`}}});return{[`${pe}-wrapper`]:Object.assign(Object.assign({},Te("middle",ce.tablePaddingVerticalMiddle,ce.tablePaddingHorizontalMiddle,ce.tableFontSizeMiddle)),Te("small",ce.tablePaddingVerticalSmall,ce.tablePaddingHorizontalSmall,ce.tableFontSizeSmall))}},so=ce=>{const{componentCls:pe,marginXXS:Te,fontSizeIcon:Ve,tableHeaderIconColor:at,tableHeaderIconColorHover:ot}=ce;return{[`${pe}-wrapper`]:{[`${pe}-thead th${pe}-column-has-sorters`]:{outline:"none",cursor:"pointer",transition:`all ${ce.motionDurationSlow}`,"&:hover":{background:ce.tableHeaderSortHoverBg,"&::before":{backgroundColor:"transparent !important"}},"&:focus-visible":{color:ce.colorPrimary},[`
|
|
&${pe}-cell-fix-left:hover,
|
|
&${pe}-cell-fix-right:hover
|
|
`]:{background:ce.tableFixedHeaderSortActiveBg}},[`${pe}-thead th${pe}-column-sort`]:{background:ce.tableHeaderSortBg,"&::before":{backgroundColor:"transparent !important"}},[`td${pe}-column-sort`]:{background:ce.tableBodySortBg},[`${pe}-column-title`]:{position:"relative",zIndex:1,flex:1},[`${pe}-column-sorters`]:{display:"flex",flex:"auto",alignItems:"center",justifyContent:"space-between","&::after":{position:"absolute",inset:0,width:"100%",height:"100%",content:'""'}},[`${pe}-column-sorter`]:{marginInlineStart:Te,color:at,fontSize:0,transition:`color ${ce.motionDurationSlow}`,"&-inner":{display:"inline-flex",flexDirection:"column",alignItems:"center"},"&-up, &-down":{fontSize:Ve,"&.active":{color:ce.colorPrimary}},[`${pe}-column-sorter-up + ${pe}-column-sorter-down`]:{marginTop:"-0.3em"}},[`${pe}-column-sorters:hover ${pe}-column-sorter`]:{color:ot}}}},fo=ce=>{const{componentCls:pe,opacityLoading:Te,tableScrollThumbBg:Ve,tableScrollThumbBgHover:at,tableScrollThumbSize:ot,tableScrollBg:Nt,zIndexTableSticky:Ot,stickyScrollBarBorderRadius:At}=ce,$t=`${ce.lineWidth}px ${ce.lineType} ${ce.tableBorderColor}`;return{[`${pe}-wrapper`]:{[`${pe}-sticky`]:{"&-holder":{position:"sticky",zIndex:Ot,background:ce.colorBgContainer},"&-scroll":{position:"sticky",bottom:0,height:`${ot}px !important`,zIndex:Ot,display:"flex",alignItems:"center",background:Nt,borderTop:$t,opacity:Te,"&:hover":{transformOrigin:"center bottom"},"&-bar":{height:ot,backgroundColor:Ve,borderRadius:At,transition:`all ${ce.motionDurationSlow}, transform none`,position:"absolute",bottom:0,"&:hover, &-active":{backgroundColor:at}}}}}}},Wo=ce=>{const{componentCls:pe,lineWidth:Te,tableBorderColor:Ve}=ce,at=`${Te}px ${ce.lineType} ${Ve}`;return{[`${pe}-wrapper`]:{[`${pe}-summary`]:{position:"relative",zIndex:ce.zIndexTableFixed,background:ce.tableBg,"> tr":{"> th, > td":{borderBottom:at}}},[`div${pe}-summary`]:{boxShadow:`0 -${Te}px 0 ${Ve}`}}}},mi=ce=>{const{componentCls:pe}=ce,Te=`${ce.lineWidth}px ${ce.lineType} ${ce.tableBorderColor}`,Ve=`${pe}-expanded-row-cell`;return{[`${pe}-wrapper`]:{[`${pe}-tbody-virtual`]:{[`${pe}-row`]:{display:"flex",boxSizing:"border-box",width:"100%"},[`${pe}-cell`]:{borderBottom:Te},[`${pe}-expanded-row`]:{[`${Ve}${Ve}-fixed`]:{position:"sticky",insetInlineStart:0,overflow:"hidden",width:`calc(var(--virtual-width) - ${ce.lineWidth}px)`,borderInlineEnd:"none"}}},[`${pe}-bordered`]:{[`${pe}-tbody-virtual`]:{"&:after":{content:'""',insetInline:0,bottom:0,borderBottom:Te,position:"absolute"},[`${pe}-cell`]:{borderInlineEnd:Te,[`&${pe}-cell-fix-right-first:before`]:{content:'""',position:"absolute",insetBlock:0,insetInlineStart:-ce.lineWidth,borderInlineStart:Te}}}}}}};const Go=ce=>{const{componentCls:pe,fontWeightStrong:Te,tablePaddingVertical:Ve,tablePaddingHorizontal:at,lineWidth:ot,lineType:Nt,tableBorderColor:Ot,tableFontSize:At,tableBg:$t,tableRadius:Gt,tableHeaderTextColor:Wt,motionDurationMid:Cn,tableHeaderBg:Pn,tableHeaderCellSplitColor:Fn,tableRowHoverBg:Wn,tableSelectedRowBg:zn,tableSelectedRowHoverBg:ua,tableFooterTextColor:ta,tableFooterBg:ma,paddingContentVerticalLG:Ya}=ce,rr=`${ot}px ${Nt} ${Ot}`;return{[`${pe}-wrapper`]:Object.assign(Object.assign({clear:"both",maxWidth:"100%"},(0,Fl.dF)()),{[pe]:Object.assign(Object.assign({},(0,Fl.Wf)(ce)),{fontSize:At,background:$t,borderRadius:`${Gt}px ${Gt}px 0 0`}),table:{width:"100%",textAlign:"start",borderRadius:`${Gt}px ${Gt}px 0 0`,borderCollapse:"separate",borderSpacing:0},[`
|
|
${pe}-cell,
|
|
${pe}-thead > tr > th,
|
|
${pe}-tbody > tr > th,
|
|
${pe}-tbody > tr > td,
|
|
tfoot > tr > th,
|
|
tfoot > tr > td
|
|
`]:{position:"relative",padding:`${Ya}px ${at}px`,overflowWrap:"break-word"},[`${pe}-title`]:{padding:`${Ve}px ${at}px`},[`${pe}-thead`]:{"\n > tr > th,\n > tr > td\n ":{position:"relative",color:Wt,fontWeight:Te,textAlign:"start",background:Pn,borderBottom:rr,transition:`background ${Cn} ease`,"&[colspan]:not([colspan='1'])":{textAlign:"center"},[`&:not(:last-child):not(${pe}-selection-column):not(${pe}-row-expand-icon-cell):not([colspan])::before`]:{position:"absolute",top:"50%",insetInlineEnd:0,width:1,height:"1.6em",backgroundColor:Fn,transform:"translateY(-50%)",transition:`background-color ${Cn}`,content:'""'}},"> tr:not(:last-child) > th[colspan]":{borderBottom:0}},[`${pe}-tbody`]:{"> tr":{"> th, > td":{transition:`background ${Cn}, border-color ${Cn}`,borderBottom:rr,[`
|
|
> ${pe}-wrapper:only-child,
|
|
> ${pe}-expanded-row-fixed > ${pe}-wrapper:only-child
|
|
`]:{[pe]:{marginBlock:`-${Ve}px`,marginInline:`${ce.tableExpandColumnWidth-at}px -${at}px`,[`${pe}-tbody > tr:last-child > td`]:{borderBottom:0,"&:first-child, &:last-child":{borderRadius:0}}}}},"> th":{position:"relative",color:Wt,fontWeight:Te,textAlign:"start",background:Pn,borderBottom:rr,transition:`background ${Cn} ease`},[`
|
|
&${pe}-row:hover > th,
|
|
&${pe}-row:hover > td,
|
|
> th${pe}-cell-row-hover,
|
|
> td${pe}-cell-row-hover
|
|
`]:{background:Wn},[`&${pe}-row-selected`]:{"> th, > td":{background:zn},"&:hover > th, &:hover > td":{background:ua}}}},[`${pe}-footer`]:{padding:`${Ve}px ${at}px`,color:ta,background:ma}})}};var bo=(0,uu.Z)("Table",ce=>{const{colorTextHeading:pe,colorSplit:Te,colorIcon:Ve,colorIconHover:at,opacityLoading:ot,colorBgContainer:Nt,controlInteractiveSize:Ot,headerBg:At,headerColor:$t,headerSortActiveBg:Gt,headerSortHoverBg:Wt,bodySortBg:Cn,rowHoverBg:Pn,rowSelectedBg:Fn,rowSelectedHoverBg:Wn,rowExpandedBg:zn,cellPaddingBlock:ua,cellPaddingInline:ta,cellPaddingBlockMD:ma,cellPaddingInlineMD:Ya,cellPaddingBlockSM:rr,cellPaddingInlineSM:ka,borderColor:Ja,footerBg:Dr,footerColor:Sa,headerBorderRadius:_a,cellFontSize:wa,cellFontSizeMD:da,cellFontSizeSM:fa,headerSplitColor:qa,fixedHeaderSortActiveBg:Gr,headerFilterHoverBg:Lr,filterDropdownBg:Ka,expandIconBg:zr,selectionColumnWidth:Wr,stickyScrollBarBg:Jr}=ce,Vr=new Sl.C(Ve),Vo=new Sl.C(at),lo=2,vr=(0,su.TS)(ce,{tableFontSize:wa,tableBg:Nt,tableRadius:_a,tablePaddingVertical:ua,tablePaddingHorizontal:ta,tablePaddingVerticalMiddle:ma,tablePaddingHorizontalMiddle:Ya,tablePaddingVerticalSmall:rr,tablePaddingHorizontalSmall:ka,tableBorderColor:Ja,tableHeaderTextColor:$t,tableHeaderBg:At,tableFooterTextColor:Sa,tableFooterBg:Dr,tableHeaderCellSplitColor:qa,tableHeaderSortBg:Gt,tableHeaderSortHoverBg:Wt,tableHeaderIconColor:Vr.clone().setAlpha(Vr.getAlpha()*ot).toRgbString(),tableHeaderIconColorHover:Vo.clone().setAlpha(Vo.getAlpha()*ot).toRgbString(),tableBodySortBg:Cn,tableFixedHeaderSortActiveBg:Gr,tableHeaderFilterActiveBg:Lr,tableFilterDropdownBg:Ka,tableRowHoverBg:Pn,tableSelectedRowBg:Fn,tableSelectedRowHoverBg:Wn,zIndexTableFixed:lo,zIndexTableSticky:lo+1,tableFontSizeMiddle:da,tableFontSizeSmall:fa,tableSelectionColumnWidth:Wr,tableExpandIconBg:zr,tableExpandColumnWidth:Ot+2*ce.padding,tableExpandedRowBg:zn,tableFilterDropdownWidth:120,tableFilterDropdownHeight:264,tableFilterDropdownSearchWidth:140,tableScrollThumbSize:8,tableScrollThumbBg:Jr,tableScrollThumbBgHover:pe,tableScrollBg:Te});return[Go(vr),Kn(vr),Wo(vr),so(vr),ia(vr),de(vr),wn(vr),on(vr),Wo(vr),Mt(vr),za(vr),Ln(vr),fo(vr),$e(vr),ja(vr),Ta(vr),mi(vr)]},ce=>{const{colorFillAlter:pe,colorBgContainer:Te,colorTextHeading:Ve,colorFillSecondary:at,colorFillContent:ot,controlItemBgActive:Nt,controlItemBgActiveHover:Ot,padding:At,paddingSM:$t,paddingXS:Gt,colorBorderSecondary:Wt,borderRadiusLG:Cn,fontSize:Pn,controlHeight:Fn,colorTextPlaceholder:Wn}=ce,zn=new Sl.C(at).onBackground(Te).toHexShortString(),ua=new Sl.C(ot).onBackground(Te).toHexShortString(),ta=new Sl.C(pe).onBackground(Te).toHexShortString();return{headerBg:ta,headerColor:Ve,headerSortActiveBg:zn,headerSortHoverBg:ua,bodySortBg:ta,rowHoverBg:ta,rowSelectedBg:Nt,rowSelectedHoverBg:Ot,rowExpandedBg:pe,cellPaddingBlock:At,cellPaddingInline:At,cellPaddingBlockMD:$t,cellPaddingInlineMD:Gt,cellPaddingBlockSM:Gt,cellPaddingInlineSM:Gt,borderColor:Wt,headerBorderRadius:Cn,footerBg:ta,footerColor:Ve,cellFontSize:Pn,cellFontSizeMD:Pn,cellFontSizeSM:Pn,headerSplitColor:Wt,fixedHeaderSortActiveBg:zn,headerFilterHoverBg:ot,filterDropdownMenuBg:Te,filterDropdownBg:Te,expandIconBg:Te,selectionColumnWidth:Fn,stickyScrollBarBg:Wn,stickyScrollBarBorderRadius:100}});const Bo=[],Yo=(ce,pe)=>{const{prefixCls:Te,className:Ve,rootClassName:at,style:ot,size:Nt,bordered:Ot,dropdownPrefixCls:At,dataSource:$t,pagination:Gt,rowSelection:Wt,rowKey:Cn="key",rowClassName:Pn,columns:Fn,children:Wn,childrenColumnName:zn,onChange:ua,getPopupContainer:ta,loading:ma,expandIcon:Ya,expandable:rr,expandedRowRender:ka,expandIconColumnIndex:Ja,indentSize:Dr,scroll:Sa,sortDirections:_a,locale:wa,showSorterTooltip:da=!0,virtual:fa}=ce,qa=ie.useMemo(()=>Fn||Dt(Wn),[Fn,Wn]),Gr=ie.useMemo(()=>qa.some(Po=>Po.responsive),[qa]),Lr=(0,Mr.Z)(Gr),Ka=ie.useMemo(()=>{const Po=new Set(Object.keys(Lr).filter(Qo=>Lr[Qo]));return qa.filter(Qo=>!Qo.responsive||Qo.responsive.some(ki=>Po.has(ki)))},[qa,Lr]),zr=(0,Qn.Z)(ce,["className","style","columns"]),{locale:Wr=Ro.Z,direction:Jr,table:Vr,renderEmpty:Vo,getPrefixCls:lo,getPopupContainer:vr}=ie.useContext(Ca.E_),ei=(0,Or.Z)(Nt),cr=Object.assign(Object.assign({},Wr.Table),wa),ko=$t||Bo,Ao=lo("table",Te),fi=lo("dropdown",At),gr=Object.assign({childrenColumnName:zn,expandIconColumnIndex:Ja},rr),{childrenColumnName:or="children"}=gr,ir=ie.useMemo(()=>ko.some(Po=>Po==null?void 0:Po[or])?"nest":ka||rr&&rr.expandedRowRender?"row":null,[ko]),Wa={body:ie.useRef()},Na=ie.useMemo(()=>typeof Cn=="function"?Cn:Po=>Po==null?void 0:Po[Cn],[Cn]),[An]=Pr(ko,or,Na),va={},Br=function(Po,Qo){let ki=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;var di,Vi,Ui;const Ki=Object.assign(Object.assign({},va),Po);ki&&((di=va.resetPagination)===null||di===void 0||di.call(va),!((Vi=Ki.pagination)===null||Vi===void 0)&&Vi.current&&(Ki.pagination.current=1),Gt&&Gt.onChange&&Gt.onChange(1,(Ui=Ki.pagination)===null||Ui===void 0?void 0:Ui.pageSize)),Sa&&Sa.scrollToFirstRowOnChange!==!1&&Wa.body.current&&(0,Pa.Z)(0,{getContainer:()=>Wa.body.current}),ua==null||ua(Ki.pagination,Ki.filters,Ki.sorter,{currentDataSource:$o(qo(ko,Ki.sorterStates,or),Ki.filterStates),action:Qo})},Qr=(Po,Qo)=>{Br({sorter:Po,sorterStates:Qo},"sort",!1)},[Ni,bi,Ji,si]=Di({prefixCls:Ao,mergedColumns:Ka,onSorterChange:Qr,sortDirections:_a||["ascend","descend"],tableLocale:cr,showSorterTooltip:da}),ri=ie.useMemo(()=>qo(ko,bi,or),[ko,bi]);va.sorter=si(),va.sorterStates=bi;const lr=(Po,Qo)=>{Br({filters:Po,filterStates:Qo},"filter",!0)},[Ri,ji,No]=Sr({prefixCls:Ao,locale:cr,dropdownPrefixCls:fi,mergedColumns:Ka,onFilterChange:lr,getPopupContainer:ta||vr}),Zo=$o(ri,ji);va.filters=No,va.filterStates=ji;const ii=ie.useMemo(()=>{const Po={};return Object.keys(No).forEach(Qo=>{No[Qo]!==null&&(Po[Qo]=No[Qo])}),Object.assign(Object.assign({},Ji),{filters:Po})},[Ji,No]),[Pi]=qi(ii),pi=(Po,Qo)=>{Br({pagination:Object.assign(Object.assign({},va.pagination),{current:Po,pageSize:Qo})},"paginate")},[uo,Gi]=eo(Zo.length,pi,Gt);va.pagination=Gt===!1?{}:ha(uo,Gt),va.resetPagination=Gi;const Ii=ie.useMemo(()=>{if(Gt===!1||!uo.pageSize)return Zo;const{current:Po=1,total:Qo,pageSize:ki=oi}=uo;return Zo.length<Qo?Zo.length>ki?Zo.slice((Po-1)*ki,Po*ki):Zo:Zo.slice((Po-1)*ki,Po*ki)},[!!Gt,Zo,uo&&uo.current,uo&&uo.pageSize,uo&&uo.total]),[zo,pr]=So({prefixCls:Ao,data:Zo,pageData:Ii,getRowKey:Na,getRecordByKey:An,expandType:ir,childrenColumnName:or,locale:cr,getPopupContainer:ta||vr},Wt),hi=(Po,Qo,ki)=>{let di;return typeof Pn=="function"?di=ze()(Pn(Po,Qo,ki)):di=ze()(Pn),ze()({[`${Ao}-row-selected`]:pr.has(Na(Po,Qo))},di)};gr.__PARENT_RENDER_ICON__=gr.expandIcon,gr.expandIcon=gr.expandIcon||Ya||ra(cr),ir==="nest"&&gr.expandIconColumnIndex===void 0?gr.expandIconColumnIndex=Wt?1:0:gr.expandIconColumnIndex>0&&Wt&&(gr.expandIconColumnIndex-=1),typeof gr.indentSize!="number"&&(gr.indentSize=typeof Dr=="number"?Dr:15);const Ti=ie.useCallback(Po=>Pi(zo(Ri(Ni(Po)))),[Ni,Ri,zo]);let sl,el;if(Gt!==!1&&(uo!=null&&uo.total)){let Po;uo.size?Po=uo.size:Po=ei==="small"||ei==="middle"?"small":void 0;const Qo=Vi=>ie.createElement(Ur.Z,Object.assign({},uo,{className:ze()(`${Ao}-pagination ${Ao}-pagination-${Vi}`,uo.className),size:Po})),ki=Jr==="rtl"?"left":"right",{position:di}=uo;if(di!==null&&Array.isArray(di)){const Vi=di.find(ll=>ll.includes("top")),Ui=di.find(ll=>ll.includes("bottom")),Ki=di.every(ll=>`${ll}`=="none");!Vi&&!Ui&&!Ki&&(el=Qo(ki)),Vi&&(sl=Qo(Vi.toLowerCase().replace("top",""))),Ui&&(el=Qo(Ui.toLowerCase().replace("bottom","")))}else el=Qo(ki)}let Qi;typeof ma=="boolean"?Qi={spinning:ma}:typeof ma=="object"&&(Qi=Object.assign({spinning:!0},ma));const[Wi,yi]=bo(Ao),[,gi]=(0,Yn.Z)(),ol=ze()(`${Ao}-wrapper`,Vr==null?void 0:Vr.className,{[`${Ao}-wrapper-rtl`]:Jr==="rtl"},Ve,at,yi),fl=Object.assign(Object.assign({},Vr==null?void 0:Vr.style),ot),al=wa&&wa.emptyText||(Vo==null?void 0:Vo("Table"))||ie.createElement(ga.Z,{componentName:"Table"}),il=fa?vl:wl,Cl={},Rl=ie.useMemo(()=>{const{fontSize:Po,lineHeight:Qo,padding:ki,paddingXS:di,paddingSM:Vi}=gi,Ui=Math.floor(Po*Qo);switch(ei){case"large":return ki*2+Ui;case"small":return di*2+Ui;default:return Vi*2+Ui}},[gi,ei]);return fa&&(Cl.listItemHeight=Rl),Wi(ie.createElement("div",{ref:pe,className:ol,style:fl},ie.createElement(la.Z,Object.assign({spinning:!1},Qi),sl,ie.createElement(il,Object.assign({},Cl,zr,{columns:Ka,direction:Jr,expandable:gr,prefixCls:Ao,className:ze()({[`${Ao}-middle`]:ei==="middle",[`${Ao}-small`]:ei==="small",[`${Ao}-bordered`]:Ot,[`${Ao}-empty`]:ko.length===0}),data:Ii,rowKey:Na,rowClassName:hi,emptyText:al,internalHooks:se,internalRefs:Wa,transformColumns:Ti})),el)))};var ai=ie.forwardRef(Yo);const To=(ce,pe)=>{const Te=ie.useRef(0);return Te.current+=1,ie.createElement(ai,Object.assign({},ce,{ref:pe,_renderTimes:Te.current}))},_o=ie.forwardRef(To);_o.SELECTION_COLUMN=Vn,_o.EXPAND_COLUMN=z,_o.SELECTION_ALL=bn,_o.SELECTION_INVERT=$r,_o.SELECTION_NONE=mr,_o.Column=qt,_o.ColumnGroup=Dn,_o.Summary=Le;var Li=_o,Ci=Li},17574:function(bt,yt,te){"use strict";te.d(yt,{default:function(){return rt}});var z=te(32223),se=te(15142),ve=te(52671),Ie=te(8657),be=te(67711),Ne=te(59301),ie={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M880 298.4H521L403.7 186.2a8.15 8.15 0 00-5.5-2.2H144c-17.7 0-32 14.3-32 32v592c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V330.4c0-17.7-14.3-32-32-32zM840 768H184V256h188.5l119.6 114.4H840V768z"}}]},name:"folder",theme:"outlined"},et=ie,He=te(7657),ke=function(vt,Tt){return Ne.createElement(He.Z,(0,be.Z)({},vt,{ref:Tt,icon:et}))},Ze=Ne.forwardRef(ke),Me=Ze,ye=te(92310),re=te.n(ye),a=te(35654),y=te(71430),b=te(36355),E=te(56082),x=te(62892),ee=te(20648);const ne=4;function oe(nt){const{dropPosition:vt,dropLevelOffset:Tt,prefixCls:Yt,indent:Xe,direction:st="ltr"}=nt,Lt=st==="ltr"?"left":"right",It=st==="ltr"?"right":"left",St={[Lt]:-Tt*Xe+ne,[It]:0};switch(vt){case-1:St.top=-3;break;case 1:St.bottom=-3;break;default:St.bottom=-3,St[Lt]=Xe+ne;break}return Ne.createElement("div",{style:St,className:`${Yt}-drop-indicator`})}var ae=te(71997),me=Ne.forwardRef((nt,vt)=>{const{getPrefixCls:Tt,direction:Yt,virtual:Xe,tree:st}=Ne.useContext(b.E_),{prefixCls:Lt,className:It,showIcon:St=!1,showLine:dn,switcherIcon:Fe,blockNode:Xt=!1,children:Kt,checkable:jn=!1,selectable:Pt=!0,draggable:qe,motion:lt,style:it}=nt,Oe=Tt("tree",Lt),pt=Tt(),gt=lt!=null?lt:Object.assign(Object.assign({},(0,x.Z)(pt)),{motionAppear:!1}),Le=Object.assign(Object.assign({},nt),{checkable:jn,selectable:Pt,showIcon:St,motion:gt,blockNode:Xt,showLine:!!dn,dropIndicatorRender:oe}),[he,je]=(0,ee.ZP)(Oe),We=Ne.useMemo(()=>{if(!qe)return!1;let mt={};switch(typeof qe){case"function":mt.nodeDraggable=qe;break;case"object":mt=Object.assign({},qe);break;default:break}return mt.icon!==!1&&(mt.icon=mt.icon||Ne.createElement(E.Z,null)),mt},[qe]),we=mt=>Ne.createElement(ae.Z,{prefixCls:Oe,switcherIcon:Fe,treeNodeProps:mt,showLine:dn});return he(Ne.createElement(z.Z,Object.assign({itemHeight:20,ref:vt,virtual:Xe},Le,{style:Object.assign(Object.assign({},st==null?void 0:st.style),it),prefixCls:Oe,className:re()({[`${Oe}-icon-hide`]:!St,[`${Oe}-block-node`]:Xt,[`${Oe}-unselectable`]:!Pt,[`${Oe}-rtl`]:Yt==="rtl"},st==null?void 0:st.className,It,je),direction:Yt,checkable:jn&&Ne.createElement("span",{className:`${Oe}-checkbox-inner`}),selectable:Pt,switcherIcon:we,draggable:We}),Kt))}),fe;(function(nt){nt[nt.None=0]="None",nt[nt.Start=1]="Start",nt[nt.End=2]="End"})(fe||(fe={}));function Pe(nt,vt){function Tt(Yt){const{key:Xe,children:st}=Yt;vt(Xe,Yt)!==!1&&Pe(st||[],vt)}nt.forEach(Tt)}function xe(nt){let{treeData:vt,expandedKeys:Tt,startKey:Yt,endKey:Xe}=nt;const st=[];let Lt=fe.None;if(Yt&&Yt===Xe)return[Yt];if(!Yt||!Xe)return[];function It(St){return St===Yt||St===Xe}return Pe(vt,St=>{if(Lt===fe.End)return!1;if(It(St)){if(st.push(St),Lt===fe.None)Lt=fe.Start;else if(Lt===fe.Start)return Lt=fe.End,!1}else Lt===fe.Start&&st.push(St);return Tt.includes(St)}),st}function Ee(nt,vt){const Tt=(0,se.Z)(vt),Yt=[];return Pe(nt,(Xe,st)=>{const Lt=Tt.indexOf(Xe);return Lt!==-1&&(Yt.push(st),Tt.splice(Lt,1)),!!Tt.length}),Yt}var De=function(nt,vt){var Tt={};for(var Yt in nt)Object.prototype.hasOwnProperty.call(nt,Yt)&&vt.indexOf(Yt)<0&&(Tt[Yt]=nt[Yt]);if(nt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Xe=0,Yt=Object.getOwnPropertySymbols(nt);Xe<Yt.length;Xe++)vt.indexOf(Yt[Xe])<0&&Object.prototype.propertyIsEnumerable.call(nt,Yt[Xe])&&(Tt[Yt[Xe]]=nt[Yt[Xe]]);return Tt};function ze(nt){const{isLeaf:vt,expanded:Tt}=nt;return vt?Ne.createElement(ve.Z,null):Tt?Ne.createElement(Ie.Z,null):Ne.createElement(Me,null)}function ft(nt){let{treeData:vt,children:Tt}=nt;return vt||(0,y.zn)(Tt)}const Be=(nt,vt)=>{var{defaultExpandAll:Tt,defaultExpandParent:Yt,defaultExpandedKeys:Xe}=nt,st=De(nt,["defaultExpandAll","defaultExpandParent","defaultExpandedKeys"]);const Lt=Ne.useRef(),It=Ne.useRef(),St=()=>{const{keyEntities:We}=(0,y.I8)(ft(st));let we;return Tt?we=Object.keys(We):Yt?we=(0,a.r7)(st.expandedKeys||Xe||[],We):we=st.expandedKeys||Xe,we},[dn,Fe]=Ne.useState(st.selectedKeys||st.defaultSelectedKeys||[]),[Xt,Kt]=Ne.useState(()=>St());Ne.useEffect(()=>{"selectedKeys"in st&&Fe(st.selectedKeys)},[st.selectedKeys]),Ne.useEffect(()=>{"expandedKeys"in st&&Kt(st.expandedKeys)},[st.expandedKeys]);const jn=(We,we)=>{var mt;return"expandedKeys"in st||Kt(We),(mt=st.onExpand)===null||mt===void 0?void 0:mt.call(st,We,we)},Pt=(We,we)=>{var mt;const{multiple:Je}=st,{node:jt,nativeEvent:Se}=we,{key:ut=""}=jt,wt=ft(st),Ae=Object.assign(Object.assign({},we),{selected:!0}),_e=(Se==null?void 0:Se.ctrlKey)||(Se==null?void 0:Se.metaKey),ct=Se==null?void 0:Se.shiftKey;let Ft;Je&&_e?(Ft=We,Lt.current=ut,It.current=Ft,Ae.selectedNodes=Ee(wt,Ft)):Je&&ct?(Ft=Array.from(new Set([].concat((0,se.Z)(It.current||[]),(0,se.Z)(xe({treeData:wt,expandedKeys:Xt,startKey:ut,endKey:Lt.current}))))),Ae.selectedNodes=Ee(wt,Ft)):(Ft=[ut],Lt.current=ut,It.current=Ft,Ae.selectedNodes=Ee(wt,Ft)),(mt=st.onSelect)===null||mt===void 0||mt.call(st,Ft,Ae),"selectedKeys"in st||Fe(Ft)},{getPrefixCls:qe,direction:lt}=Ne.useContext(b.E_),{prefixCls:it,className:Oe,showIcon:pt=!0,expandAction:gt="click"}=st,Le=De(st,["prefixCls","className","showIcon","expandAction"]),he=qe("tree",it),je=re()(`${he}-directory`,{[`${he}-directory-rtl`]:lt==="rtl"},Oe);return Ne.createElement(me,Object.assign({icon:ze,ref:vt,blockNode:!0},Le,{showIcon:pt,expandAction:gt,prefixCls:he,className:je,expandedKeys:Xt,selectedKeys:dn,onSelect:Pt,onExpand:jn}))};var Ge=Ne.forwardRef(Be);const Ke=me;Ke.DirectoryTree=Ge,Ke.TreeNode=z.O;var rt=Ke},20648:function(bt,yt,te){"use strict";te.d(yt,{TM:function(){return ye},Yk:function(){return Me}});var z=te(36237),se=te(98447),ve=te(17313),Ie=te(8378),be=te(37613),Ne=te(83116);const ie=new z.Keyframes("ant-tree-node-fx-do-not-use",{"0%":{opacity:0},"100%":{opacity:1}}),et=(re,a)=>({[`.${re}-switcher-icon`]:{display:"inline-block",fontSize:10,verticalAlign:"baseline",svg:{transition:`transform ${a.motionDurationSlow}`}}}),He=(re,a)=>({[`.${re}-drop-indicator`]:{position:"absolute",zIndex:1,height:2,backgroundColor:a.colorPrimary,borderRadius:1,pointerEvents:"none","&:after":{position:"absolute",top:-3,insetInlineStart:-6,width:8,height:8,backgroundColor:"transparent",border:`${a.lineWidthBold}px solid ${a.colorPrimary}`,borderRadius:"50%",content:'""'}}}),ke=(re,a)=>{const{treeCls:y,treeNodeCls:b,treeNodePadding:E,titleHeight:x,nodeSelectedBg:ee,nodeHoverBg:ne}=a,oe=a.paddingXS;return{[y]:Object.assign(Object.assign({},(0,ve.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,ve.oN)(a)),[`${y}-list-holder-inner`]:{alignItems:"flex-start"},[`&${y}-block-node`]:{[`${y}-list-holder-inner`]:{alignItems:"stretch",[`${y}-node-content-wrapper`]:{flex:"auto"},[`${b}.dragging`]:{position:"relative","&:after":{position:"absolute",top:0,insetInlineEnd:0,bottom:E,insetInlineStart:0,border:`1px solid ${a.colorPrimary}`,opacity:0,animationName:ie,animationDuration:a.motionDurationSlow,animationPlayState:"running",animationFillMode:"forwards",content:'""',pointerEvents:"none"}}}},[`${b}`]:{display:"flex",alignItems:"flex-start",padding:`0 0 ${E}px 0`,outline:"none","&-rtl":{direction:"rtl"},"&-disabled":{[`${y}-node-content-wrapper`]:{color:a.colorTextDisabled,cursor:"not-allowed","&:hover":{background:"transparent"}}},[`&-active ${y}-node-content-wrapper`]:Object.assign({},(0,ve.oN)(a)),[`&:not(${b}-disabled).filter-node ${y}-title`]:{color:"inherit",fontWeight:500},"&-draggable":{[`${y}-draggable-icon`]:{flexShrink:0,width:x,lineHeight:`${x}px`,textAlign:"center",visibility:"visible",opacity:.2,transition:`opacity ${a.motionDurationSlow}`,[`${b}:hover &`]:{opacity:.45}},[`&${b}-disabled`]:{[`${y}-draggable-icon`]:{visibility:"hidden"}}}},[`${y}-indent`]:{alignSelf:"stretch",whiteSpace:"nowrap",userSelect:"none","&-unit":{display:"inline-block",width:x}},[`${y}-draggable-icon`]:{visibility:"hidden"},[`${y}-switcher`]:Object.assign(Object.assign({},et(re,a)),{position:"relative",flex:"none",alignSelf:"stretch",width:x,margin:0,lineHeight:`${x}px`,textAlign:"center",cursor:"pointer",userSelect:"none","&-noop":{cursor:"default"},"&_close":{[`${y}-switcher-icon`]:{svg:{transform:"rotate(-90deg)"}}},"&-loading-icon":{color:a.colorPrimary},"&-leaf-line":{position:"relative",zIndex:1,display:"inline-block",width:"100%",height:"100%","&:before":{position:"absolute",top:0,insetInlineEnd:x/2,bottom:-E,marginInlineStart:-1,borderInlineEnd:`1px solid ${a.colorBorder}`,content:'""'},"&:after":{position:"absolute",width:x/2*.8,height:x/2,borderBottom:`1px solid ${a.colorBorder}`,content:'""'}}}),[`${y}-checkbox`]:{top:"initial",marginInlineEnd:oe},[`${y}-node-content-wrapper, ${y}-checkbox + span`]:{position:"relative",zIndex:"auto",minHeight:x,margin:0,padding:`0 ${a.paddingXS/2}px`,color:"inherit",lineHeight:`${x}px`,background:"transparent",borderRadius:a.borderRadius,cursor:"pointer",transition:`all ${a.motionDurationMid}, border 0s, line-height 0s, box-shadow 0s`,"&:hover":{backgroundColor:ne},[`&${y}-node-selected`]:{backgroundColor:ee},[`${y}-iconEle`]:{display:"inline-block",width:x,height:x,lineHeight:`${x}px`,textAlign:"center",verticalAlign:"top","&:empty":{display:"none"}}},[`${y}-unselectable ${y}-node-content-wrapper:hover`]:{backgroundColor:"transparent"},[`${y}-node-content-wrapper`]:Object.assign({lineHeight:`${x}px`,userSelect:"none"},He(re,a)),[`${b}.drop-container`]:{"> [draggable]":{boxShadow:`0 0 0 2px ${a.colorPrimary}`}},"&-show-line":{[`${y}-indent`]:{"&-unit":{position:"relative",height:"100%","&:before":{position:"absolute",top:0,insetInlineEnd:x/2,bottom:-E,borderInlineEnd:`1px solid ${a.colorBorder}`,content:'""'},"&-end":{"&:before":{display:"none"}}}},[`${y}-switcher`]:{background:"transparent","&-line-icon":{verticalAlign:"-0.15em"}}},[`${b}-leaf-last`]:{[`${y}-switcher`]:{"&-leaf-line":{"&:before":{top:"auto !important",bottom:"auto !important",height:`${x/2}px !important`}}}}})}},Ze=re=>{const{treeCls:a,treeNodeCls:y,treeNodePadding:b,directoryNodeSelectedBg:E,directoryNodeSelectedColor:x}=re;return{[`${a}${a}-directory`]:{[y]:{position:"relative","&:before":{position:"absolute",top:0,insetInlineEnd:0,bottom:b,insetInlineStart:0,transition:`background-color ${re.motionDurationMid}`,content:'""',pointerEvents:"none"},"&:hover":{"&:before":{background:re.controlItemBgHover}},"> *":{zIndex:1},[`${a}-switcher`]:{transition:`color ${re.motionDurationMid}`},[`${a}-node-content-wrapper`]:{borderRadius:0,userSelect:"none","&:hover":{background:"transparent"},[`&${a}-node-selected`]:{color:x,background:"transparent"}},"&-selected":{"\n &:hover::before,\n &::before\n ":{background:E},[`${a}-switcher`]:{color:x},[`${a}-node-content-wrapper`]:{color:x,background:"transparent"}}}}}},Me=(re,a)=>{const y=`.${re}`,b=`${y}-treenode`,E=a.paddingXS/2,x=(0,be.TS)(a,{treeCls:y,treeNodeCls:b,treeNodePadding:E});return[ke(re,x),Ze(x)]},ye=re=>{const{controlHeightSM:a}=re;return{titleHeight:a,nodeHoverBg:re.controlItemBgHover,nodeSelectedBg:re.controlItemBgActive}};yt.ZP=(0,Ne.Z)("Tree",(re,a)=>{let{prefixCls:y}=a;return[{[re.componentCls]:(0,se.C2)(`${y}-checkbox`,re)},Me(y,re),(0,Ie.Z)(re)]},re=>{const{colorTextLightSolid:a,colorPrimary:y}=re;return Object.assign(Object.assign({},ye(re)),{directoryNodeSelectedColor:a,directoryNodeSelectedBg:y})})},71997:function(bt,yt,te){"use strict";te.d(yt,{Z:function(){return b}});var z=te(67711),se=te(59301),ve={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M840.4 300H183.6c-19.7 0-30.7 20.8-18.5 35l328.4 380.8c9.4 10.9 27.5 10.9 37 0L858.9 335c12.2-14.2 1.2-35-18.5-35z"}}]},name:"caret-down",theme:"filled"},Ie=ve,be=te(7657),Ne=function(x,ee){return se.createElement(be.Z,(0,z.Z)({},x,{ref:ee,icon:Ie}))},ie=se.forwardRef(Ne),et=ie,He=te(52671),ke=te(58617),Ze=te(15075),Me=te(43531),ye=te(92310),re=te.n(ye),a=te(92343),b=E=>{const{prefixCls:x,switcherIcon:ee,treeNodeProps:ne,showLine:oe}=E,{isLeaf:ae,expanded:ue,loading:me}=ne;if(me)return se.createElement(ke.Z,{className:`${x}-switcher-loading-icon`});let fe;if(oe&&typeof oe=="object"&&(fe=oe.showLeafIcon),ae){if(!oe)return null;if(typeof fe!="boolean"&&fe){const Ee=typeof fe=="function"?fe(ne):fe,De=`${x}-switcher-line-custom-icon`;return(0,a.l$)(Ee)?(0,a.Tm)(Ee,{className:re()(Ee.props.className||"",De)}):Ee}return fe?se.createElement(He.Z,{className:`${x}-switcher-line-icon`}):se.createElement("span",{className:`${x}-switcher-leaf-line`})}const Pe=`${x}-switcher-icon`,xe=typeof ee=="function"?ee(ne):ee;return(0,a.l$)(xe)?(0,a.Tm)(xe,{className:re()(xe.props.className||"",Pe)}):xe!==void 0?xe:oe?ue?se.createElement(Ze.Z,{className:`${x}-switcher-line-icon`}):se.createElement(Me.Z,{className:`${x}-switcher-line-icon`}):se.createElement(et,{className:Pe})}},54580:function(bt,yt,te){"use strict";te.d(yt,{default:function(){return er}});var z=te(59301),se=te(15142),ve=te(92310),Ie=te.n(ve),be=te(67711),Ne=te(42573),ie=te(58698),et=te(74700),He=te(45080),ke=te(52873),Ze=te(33346),Me=te(77910),ye=te(26420),re=te(51343),a=te(26112);function y(ht,en){var nn="cannot ".concat(ht.method," ").concat(ht.action," ").concat(en.status,"'"),yn=new Error(nn);return yn.status=en.status,yn.method=ht.method,yn.url=ht.action,yn}function b(ht){var en=ht.responseText||ht.response;if(!en)return en;try{return JSON.parse(en)}catch(nn){return en}}function E(ht){var en=new XMLHttpRequest;ht.onProgress&&en.upload&&(en.upload.onprogress=function(mn){mn.total>0&&(mn.percent=mn.loaded/mn.total*100),ht.onProgress(mn)});var nn=new FormData;ht.data&&Object.keys(ht.data).forEach(function(Tn){var mn=ht.data[Tn];if(Array.isArray(mn)){mn.forEach(function(Nn){nn.append("".concat(Tn,"[]"),Nn)});return}nn.append(Tn,mn)}),ht.file instanceof Blob?nn.append(ht.filename,ht.file,ht.file.name):nn.append(ht.filename,ht.file),en.onerror=function(mn){ht.onError(mn)},en.onload=function(){return en.status<200||en.status>=300?ht.onError(y(ht,en),b(en)):ht.onSuccess(b(en),en)},en.open(ht.method,ht.action,!0),ht.withCredentials&&"withCredentials"in en&&(en.withCredentials=!0);var yn=ht.headers||{};return yn["X-Requested-With"]!==null&&en.setRequestHeader("X-Requested-With","XMLHttpRequest"),Object.keys(yn).forEach(function(Tn){yn[Tn]!==null&&en.setRequestHeader(Tn,yn[Tn])}),en.send(nn),{abort:function(){en.abort()}}}var x=+new Date,ee=0;function ne(){return"rc-upload-".concat(x,"-").concat(++ee)}var oe=te(48736),ae=function(ht,en){if(ht&&en){var nn=Array.isArray(en)?en:en.split(","),yn=ht.name||"",Tn=ht.type||"",mn=Tn.replace(/\/.*$/,"");return nn.some(function(Nn){var En=Nn.trim();if(/^\*(\/\*)?$/.test(Nn))return!0;if(En.charAt(0)==="."){var ar=yn.toLowerCase(),Ra=En.toLowerCase(),gn=[Ra];return(Ra===".jpg"||Ra===".jpeg")&&(gn=[".jpg",".jpeg"]),gn.some(function(io){return ar.endsWith(io)})}return/\/\*$/.test(En)?mn===En.replace(/\/.*$/,""):Tn===En?!0:/^\w+$/.test(En)?((0,oe.ZP)(!1,"Upload takes an invalidate 'accept' type '".concat(En,"'.Skip for check.")),!0):!1})}return!0};function ue(ht,en){var nn=ht.createReader(),yn=[];function Tn(){nn.readEntries(function(mn){var Nn=Array.prototype.slice.apply(mn);yn=yn.concat(Nn);var En=!Nn.length;En?en(yn):Tn()})}Tn()}var me=function(en,nn,yn){var Tn=function mn(Nn,En){Nn&&(Nn.path=En||"",Nn.isFile?Nn.file(function(ar){yn(ar)&&(Nn.fullPath&&!ar.webkitRelativePath&&(Object.defineProperties(ar,{webkitRelativePath:{writable:!0}}),ar.webkitRelativePath=Nn.fullPath.replace(/^\//,""),Object.defineProperties(ar,{webkitRelativePath:{writable:!1}})),nn([ar]))}):Nn.isDirectory&&ue(Nn,function(ar){ar.forEach(function(Ra){mn(Ra,"".concat(En).concat(Nn.name,"/"))})}))};en.forEach(function(mn){Tn(mn.webkitGetAsEntry())})},fe=me,Pe=["component","prefixCls","className","disabled","id","style","multiple","accept","capture","children","directory","openFileDialogOnClick","onMouseEnter","onMouseLeave"],xe=function(ht){(0,et.Z)(nn,ht);var en=(0,He.Z)(nn);function nn(){var yn;(0,Ne.Z)(this,nn);for(var Tn=arguments.length,mn=new Array(Tn),Nn=0;Nn<Tn;Nn++)mn[Nn]=arguments[Nn];return yn=en.call.apply(en,[this].concat(mn)),yn.state={uid:ne()},yn.reqs={},yn.fileInput=void 0,yn._isMounted=void 0,yn.onChange=function(En){var ar=yn.props,Ra=ar.accept,gn=ar.directory,io=En.target.files,to=(0,se.Z)(io).filter(function(no){return!gn||ae(no,Ra)});yn.uploadFiles(to),yn.reset()},yn.onClick=function(En){var ar=yn.fileInput;if(ar){var Ra=En.target,gn=yn.props.onClick;if(Ra&&Ra.tagName==="BUTTON"){var io=ar.parentNode;io.focus(),Ra.blur()}ar.click(),gn&&gn(En)}},yn.onKeyDown=function(En){En.key==="Enter"&&yn.onClick(En)},yn.onFileDrop=function(En){var ar=yn.props.multiple;if(En.preventDefault(),En.type!=="dragover")if(yn.props.directory)fe(Array.prototype.slice.call(En.dataTransfer.items),yn.uploadFiles,function(gn){return ae(gn,yn.props.accept)});else{var Ra=(0,se.Z)(En.dataTransfer.files).filter(function(gn){return ae(gn,yn.props.accept)});ar===!1&&(Ra=Ra.slice(0,1)),yn.uploadFiles(Ra)}},yn.uploadFiles=function(En){var ar=(0,se.Z)(En),Ra=ar.map(function(gn){return gn.uid=ne(),yn.processFile(gn,ar)});Promise.all(Ra).then(function(gn){var io=yn.props.onBatchStart;io==null||io(gn.map(function(to){var no=to.origin,Mo=to.parsedFile;return{file:no,parsedFile:Mo}})),gn.filter(function(to){return to.parsedFile!==null}).forEach(function(to){yn.post(to)})})},yn.processFile=function(){var En=(0,re.Z)((0,Me.Z)().mark(function ar(Ra,gn){var io,to,no,Mo,ea,Aa,dr,pa,jr;return(0,Me.Z)().wrap(function(br){for(;;)switch(br.prev=br.next){case 0:if(io=yn.props.beforeUpload,to=Ra,!io){br.next=14;break}return br.prev=3,br.next=6,io(Ra,gn);case 6:to=br.sent,br.next=12;break;case 9:br.prev=9,br.t0=br.catch(3),to=!1;case 12:if(to!==!1){br.next=14;break}return br.abrupt("return",{origin:Ra,parsedFile:null,action:null,data:null});case 14:if(no=yn.props.action,typeof no!="function"){br.next=21;break}return br.next=18,no(Ra);case 18:Mo=br.sent,br.next=22;break;case 21:Mo=no;case 22:if(ea=yn.props.data,typeof ea!="function"){br.next=29;break}return br.next=26,ea(Ra);case 26:Aa=br.sent,br.next=30;break;case 29:Aa=ea;case 30:return dr=((0,ye.Z)(to)==="object"||typeof to=="string")&&to?to:Ra,dr instanceof File?pa=dr:pa=new File([dr],Ra.name,{type:Ra.type}),jr=pa,jr.uid=Ra.uid,br.abrupt("return",{origin:Ra,data:Aa,parsedFile:jr,action:Mo});case 35:case"end":return br.stop()}},ar,null,[[3,9]])}));return function(ar,Ra){return En.apply(this,arguments)}}(),yn.saveFileInput=function(En){yn.fileInput=En},yn}return(0,ie.Z)(nn,[{key:"componentDidMount",value:function(){this._isMounted=!0}},{key:"componentWillUnmount",value:function(){this._isMounted=!1,this.abort()}},{key:"post",value:function(Tn){var mn=this,Nn=Tn.data,En=Tn.origin,ar=Tn.action,Ra=Tn.parsedFile;if(this._isMounted){var gn=this.props,io=gn.onStart,to=gn.customRequest,no=gn.name,Mo=gn.headers,ea=gn.withCredentials,Aa=gn.method,dr=En.uid,pa=to||E,jr={action:ar,filename:no,data:Nn,file:Ra,headers:Mo,withCredentials:ea,method:Aa||"post",onProgress:function(br){var po=mn.props.onProgress;po==null||po(br,Ra)},onSuccess:function(br,po){var Lo=mn.props.onSuccess;Lo==null||Lo(br,Ra,po),delete mn.reqs[dr]},onError:function(br,po){var Lo=mn.props.onError;Lo==null||Lo(br,po,Ra),delete mn.reqs[dr]}};io(En),this.reqs[dr]=pa(jr)}}},{key:"reset",value:function(){this.setState({uid:ne()})}},{key:"abort",value:function(Tn){var mn=this.reqs;if(Tn){var Nn=Tn.uid?Tn.uid:Tn;mn[Nn]&&mn[Nn].abort&&mn[Nn].abort(),delete mn[Nn]}else Object.keys(mn).forEach(function(En){mn[En]&&mn[En].abort&&mn[En].abort(),delete mn[En]})}},{key:"render",value:function(){var Tn=this.props,mn=Tn.component,Nn=Tn.prefixCls,En=Tn.className,ar=Tn.disabled,Ra=Tn.id,gn=Tn.style,io=Tn.multiple,to=Tn.accept,no=Tn.capture,Mo=Tn.children,ea=Tn.directory,Aa=Tn.openFileDialogOnClick,dr=Tn.onMouseEnter,pa=Tn.onMouseLeave,jr=(0,Ze.Z)(Tn,Pe),Ir=Ie()((0,ke.Z)((0,ke.Z)((0,ke.Z)({},Nn,!0),"".concat(Nn,"-disabled"),ar),En,En)),br=ea?{directory:"directory",webkitdirectory:"webkitdirectory"}:{},po=ar?{}:{onClick:Aa?this.onClick:function(){},onKeyDown:Aa?this.onKeyDown:function(){},onMouseEnter:dr,onMouseLeave:pa,onDrop:this.onFileDrop,onDragOver:this.onFileDrop,tabIndex:"0"};return z.createElement(mn,(0,be.Z)({},po,{className:Ir,role:"button",style:gn}),z.createElement("input",(0,be.Z)({},(0,a.Z)(jr,{aria:!0,data:!0}),{id:Ra,disabled:ar,type:"file",ref:this.saveFileInput,onClick:function(Oi){return Oi.stopPropagation()},key:this.state.uid,style:{display:"none"},accept:to},br,{multiple:io,onChange:this.onChange},no!=null?{capture:no}:{})),Mo)}}]),nn}(z.Component),Ee=xe;function De(){}var ze=function(ht){(0,et.Z)(nn,ht);var en=(0,He.Z)(nn);function nn(){var yn;(0,Ne.Z)(this,nn);for(var Tn=arguments.length,mn=new Array(Tn),Nn=0;Nn<Tn;Nn++)mn[Nn]=arguments[Nn];return yn=en.call.apply(en,[this].concat(mn)),yn.uploader=void 0,yn.saveUploader=function(En){yn.uploader=En},yn}return(0,ie.Z)(nn,[{key:"abort",value:function(Tn){this.uploader.abort(Tn)}},{key:"render",value:function(){return z.createElement(Ee,(0,be.Z)({},this.props,{ref:this.saveUploader}))}}]),nn}(z.Component);ze.defaultProps={component:"span",prefixCls:"rc-upload",data:{},headers:{},name:"file",multipart:!1,onStart:De,onError:De,onSuccess:De,multiple:!1,beforeUpload:null,customRequest:null,withCredentials:!1,openFileDialogOnClick:!0};var ft=ze,Be=ft,Ue=te(18929),Ge=te(4676),Ke=te(36355),rt=te(1684),nt=te(9763),vt=te(31724),Tt={icon:function(en,nn){return{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M534 352V136H232v752h560V394H576a42 42 0 01-42-42z",fill:nn}},{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:en}}]}},name:"file",theme:"twotone"},Yt=Tt,Xe=te(7657),st=function(en,nn){return z.createElement(Xe.Z,(0,be.Z)({},en,{ref:nn,icon:Yt}))},Lt=z.forwardRef(st),It=Lt,St=te(58617),dn={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M779.3 196.6c-94.2-94.2-247.6-94.2-341.7 0l-261 260.8c-1.7 1.7-2.6 4-2.6 6.4s.9 4.7 2.6 6.4l36.9 36.9a9 9 0 0012.7 0l261-260.8c32.4-32.4 75.5-50.2 121.3-50.2s88.9 17.8 121.2 50.2c32.4 32.4 50.2 75.5 50.2 121.2 0 45.8-17.8 88.8-50.2 121.2l-266 265.9-43.1 43.1c-40.3 40.3-105.8 40.3-146.1 0-19.5-19.5-30.2-45.4-30.2-73s10.7-53.5 30.2-73l263.9-263.8c6.7-6.6 15.5-10.3 24.9-10.3h.1c9.4 0 18.1 3.7 24.7 10.3 6.7 6.7 10.3 15.5 10.3 24.9 0 9.3-3.7 18.1-10.3 24.7L372.4 653c-1.7 1.7-2.6 4-2.6 6.4s.9 4.7 2.6 6.4l36.9 36.9a9 9 0 0012.7 0l215.6-215.6c19.9-19.9 30.8-46.3 30.8-74.4s-11-54.6-30.8-74.4c-41.1-41.1-107.9-41-149 0L463 364 224.8 602.1A172.22 172.22 0 00174 724.8c0 46.3 18.1 89.8 50.8 122.5 33.9 33.8 78.3 50.7 122.7 50.7 44.4 0 88.8-16.9 122.6-50.7l309.2-309C824.8 492.7 850 432 850 367.5c.1-64.6-25.1-125.3-70.7-170.9z"}}]},name:"paper-clip",theme:"outlined"},Fe=dn,Xt=function(en,nn){return z.createElement(Xe.Z,(0,be.Z)({},en,{ref:nn,icon:Fe}))},Kt=z.forwardRef(Xt),jn=Kt,Pt={icon:function(en,nn){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:en}},{tag:"path",attrs:{d:"M424.6 765.8l-150.1-178L136 752.1V792h752v-30.4L658.1 489z",fill:nn}},{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:nn}},{tag:"path",attrs:{d:"M276 368a28 28 0 1056 0 28 28 0 10-56 0z",fill:nn}},{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:en}}]}},name:"picture",theme:"twotone"},qe=Pt,lt=function(en,nn){return z.createElement(Xe.Z,(0,be.Z)({},en,{ref:nn,icon:qe}))},it=z.forwardRef(lt),Oe=it,pt=te(77900),gt=te(56762),Le=te(62892),he=te(92343),je=te(3113);function We(ht){return Object.assign(Object.assign({},ht),{lastModified:ht.lastModified,lastModifiedDate:ht.lastModifiedDate,name:ht.name,size:ht.size,type:ht.type,uid:ht.uid,percent:0,originFileObj:ht})}function we(ht,en){const nn=(0,se.Z)(en),yn=nn.findIndex(Tn=>{let{uid:mn}=Tn;return mn===ht.uid});return yn===-1?nn.push(ht):nn[yn]=ht,nn}function mt(ht,en){const nn=ht.uid!==void 0?"uid":"name";return en.filter(yn=>yn[nn]===ht[nn])[0]}function Je(ht,en){const nn=ht.uid!==void 0?"uid":"name",yn=en.filter(Tn=>Tn[nn]!==ht[nn]);return yn.length===en.length?null:yn}const jt=function(){const en=(arguments.length>0&&arguments[0]!==void 0?arguments[0]:"").split("/"),yn=en[en.length-1].split(/#|\?/)[0];return(/\.[^./\\]*$/.exec(yn)||[""])[0]},Se=ht=>ht.indexOf("image/")===0,ut=ht=>{if(ht.type&&!ht.thumbUrl)return Se(ht.type);const en=ht.thumbUrl||ht.url||"",nn=jt(en);return/^data:image\//.test(en)||/(webp|svg|png|gif|jpg|jpeg|jfif|bmp|dpg|ico|heic|heif)$/i.test(nn)?!0:!(/^data:/.test(en)||nn)},wt=200;function Ae(ht){return new Promise(en=>{if(!ht.type||!Se(ht.type)){en("");return}const nn=document.createElement("canvas");nn.width=wt,nn.height=wt,nn.style.cssText=`position: fixed; left: 0; top: 0; width: ${wt}px; height: ${wt}px; z-index: 9999; display: none;`,document.body.appendChild(nn);const yn=nn.getContext("2d"),Tn=new Image;if(Tn.onload=()=>{const{width:mn,height:Nn}=Tn;let En=wt,ar=wt,Ra=0,gn=0;mn>Nn?(ar=Nn*(wt/mn),gn=-(ar-En)/2):(En=mn*(wt/Nn),Ra=-(En-ar)/2),yn.drawImage(Tn,Ra,gn,En,ar);const io=nn.toDataURL();document.body.removeChild(nn),window.URL.revokeObjectURL(Tn.src),en(io)},Tn.crossOrigin="anonymous",ht.type.startsWith("image/svg+xml")){const mn=new FileReader;mn.onload=()=>{mn.result&&(Tn.src=mn.result)},mn.readAsDataURL(ht)}else if(ht.type.startsWith("image/gif")){const mn=new FileReader;mn.onload=()=>{mn.result&&en(mn.result)},mn.readAsDataURL(ht)}else Tn.src=window.URL.createObjectURL(ht)})}var _e=te(26227),ct=te(41464),Ft=te(15277),zt=te(93948),fn=te(6848),Bt=z.forwardRef((ht,en)=>{let{prefixCls:nn,className:yn,style:Tn,locale:mn,listType:Nn,file:En,items:ar,progress:Ra,iconRender:gn,actionIconRender:io,itemRender:to,isImgUrl:no,showPreviewIcon:Mo,showRemoveIcon:ea,showDownloadIcon:Aa,previewIcon:dr,removeIcon:pa,downloadIcon:jr,onPreview:Ir,onDownload:br,onClose:po}=ht;var Lo,Oi;const{status:vi}=En,[Ei,$i]=z.useState(vi);z.useEffect(()=>{vi!=="removed"&&$i(vi)},[vi]);const[_n,Ia]=z.useState(!1);z.useEffect(()=>{const Ca=setTimeout(()=>{Ia(!0)},300);return()=>{clearTimeout(Ca)}},[]);const co=gn(En);let xo=z.createElement("div",{className:`${nn}-icon`},co);if(Nn==="picture"||Nn==="picture-card"||Nn==="picture-circle")if(Ei==="uploading"||!En.thumbUrl&&!En.url){const Ca=Ie()(`${nn}-list-item-thumbnail`,{[`${nn}-list-item-file`]:Ei!=="uploading"});xo=z.createElement("div",{className:Ca},co)}else{const Ca=no!=null&&no(En)?z.createElement("img",{src:En.thumbUrl||En.url,alt:En.name,className:`${nn}-list-item-image`,crossOrigin:En.crossOrigin}):co,ga=Ie()(`${nn}-list-item-thumbnail`,{[`${nn}-list-item-file`]:no&&!no(En)});xo=z.createElement("a",{className:ga,onClick:Or=>Ir(En,Or),href:En.url||En.thumbUrl,target:"_blank",rel:"noopener noreferrer"},Ca)}const wo=Ie()(`${nn}-list-item`,`${nn}-list-item-${Ei}`),ui=typeof En.linkProps=="string"?JSON.parse(En.linkProps):En.linkProps,Bi=ea?io((typeof pa=="function"?pa(En):pa)||z.createElement(_e.Z,null),()=>po(En),nn,mn.removeFile):null,Yi=Aa&&Ei==="done"?io((typeof jr=="function"?jr(En):jr)||z.createElement(ct.Z,null),()=>br(En),nn,mn.downloadFile):null,Mi=Nn!=="picture-card"&&Nn!=="picture-circle"&&z.createElement("span",{key:"download-delete",className:Ie()(`${nn}-list-item-actions`,{picture:Nn==="picture"})},Yi,Bi),Ce=Ie()(`${nn}-list-item-name`),Re=En.url?[z.createElement("a",Object.assign({key:"view",target:"_blank",rel:"noopener noreferrer",className:Ce,title:En.name},ui,{href:En.url,onClick:Ca=>Ir(En,Ca)}),En.name),Mi]:[z.createElement("span",{key:"view",className:Ce,onClick:Ca=>Ir(En,Ca),title:En.name},En.name),Mi],Ye={pointerEvents:"none",opacity:.5},Ct=Mo?z.createElement("a",{href:En.url||En.thumbUrl,target:"_blank",rel:"noopener noreferrer",style:En.url||En.thumbUrl?void 0:Ye,onClick:Ca=>Ir(En,Ca),title:mn.previewFile},typeof dr=="function"?dr(En):dr||z.createElement(Ft.Z,null)):null,Qt=(Nn==="picture-card"||Nn==="picture-circle")&&Ei!=="uploading"&&z.createElement("span",{className:`${nn}-list-item-actions`},Ct,Ei==="done"&&Yi,Bi),{getPrefixCls:qt}=z.useContext(Ke.E_),xn=qt(),Dn=z.createElement("div",{className:wo},xo,Re,Qt,_n&&z.createElement(pt.default,{motionName:`${xn}-fade`,visible:Ei==="uploading",motionDeadline:2e3},Ca=>{let{className:ga}=Ca;const Or="percent"in En?z.createElement(zt.Z,Object.assign({},Ra,{type:"line",percent:En.percent,"aria-label":En["aria-label"],"aria-labelledby":En["aria-labelledby"]})):null;return z.createElement("div",{className:Ie()(`${nn}-list-item-progress`,ga)},Or)})),Qn=En.response&&typeof En.response=="string"?En.response:((Lo=En.error)===null||Lo===void 0?void 0:Lo.statusText)||((Oi=En.error)===null||Oi===void 0?void 0:Oi.message)||mn.uploadError,Pa=Ei==="error"?z.createElement(fn.Z,{title:Qn,getPopupContainer:Ca=>Ca.parentNode},Dn):Dn;return z.createElement("div",{className:Ie()(`${nn}-list-item-container`,yn),style:Tn,ref:en},to?to(Pa,En,ar,{download:br.bind(null,En),preview:Ir.bind(null,En),remove:po.bind(null,En)}):Pa)});const Et=(ht,en)=>{const{listType:nn="text",previewFile:yn=Ae,onPreview:Tn,onDownload:mn,onRemove:Nn,locale:En,iconRender:ar,isImageUrl:Ra=ut,prefixCls:gn,items:io=[],showPreviewIcon:to=!0,showRemoveIcon:no=!0,showDownloadIcon:Mo=!1,removeIcon:ea,previewIcon:Aa,downloadIcon:dr,progress:pa={size:[-1,2],showInfo:!1},appendAction:jr,appendActionVisible:Ir=!0,itemRender:br,disabled:po}=ht,Lo=(0,gt.Z)(),[Oi,vi]=z.useState(!1);z.useEffect(()=>{nn!=="picture"&&nn!=="picture-card"&&nn!=="picture-circle"||(io||[]).forEach(Ye=>{typeof document=="undefined"||typeof window=="undefined"||!window.FileReader||!window.File||!(Ye.originFileObj instanceof File||Ye.originFileObj instanceof Blob)||Ye.thumbUrl!==void 0||(Ye.thumbUrl="",yn&&yn(Ye.originFileObj).then(Ct=>{Ye.thumbUrl=Ct||"",Lo()}))})},[nn,io,yn]),z.useEffect(()=>{vi(!0)},[]);const Ei=(Ye,Ct)=>{if(Tn)return Ct==null||Ct.preventDefault(),Tn(Ye)},$i=Ye=>{typeof mn=="function"?mn(Ye):Ye.url&&window.open(Ye.url)},_n=Ye=>{Nn==null||Nn(Ye)},Ia=Ye=>{if(ar)return ar(Ye,nn);const Ct=Ye.status==="uploading",Qt=Ra&&Ra(Ye)?z.createElement(Oe,null):z.createElement(It,null);let qt=Ct?z.createElement(St.Z,null):z.createElement(jn,null);return nn==="picture"?qt=Ct?z.createElement(St.Z,null):Qt:(nn==="picture-card"||nn==="picture-circle")&&(qt=Ct?En.uploading:Qt),qt},co=(Ye,Ct,Qt,qt)=>{const xn={type:"text",size:"small",title:qt,onClick:Dn=>{Ct(),(0,he.l$)(Ye)&&Ye.props.onClick&&Ye.props.onClick(Dn)},className:`${Qt}-list-item-action`,disabled:po};if((0,he.l$)(Ye)){const Dn=(0,he.Tm)(Ye,Object.assign(Object.assign({},Ye.props),{onClick:()=>{}}));return z.createElement(je.ZP,Object.assign({},xn,{icon:Dn}))}return z.createElement(je.ZP,Object.assign({},xn),z.createElement("span",null,Ye))};z.useImperativeHandle(en,()=>({handlePreview:Ei,handleDownload:$i}));const{getPrefixCls:xo}=z.useContext(Ke.E_),wo=xo("upload",gn),ui=xo(),Bi=Ie()(`${wo}-list`,`${wo}-list-${nn}`),Yi=(0,se.Z)(io.map(Ye=>({key:Ye.uid,file:Ye})));let Ce={motionDeadline:2e3,motionName:`${wo}-${nn==="picture-card"||nn==="picture-circle"?"animate-inline":"animate"}`,keys:Yi,motionAppear:Oi};const Re=z.useMemo(()=>{const Ye=Object.assign({},(0,Le.Z)(ui));return delete Ye.onAppearEnd,delete Ye.onEnterEnd,delete Ye.onLeaveEnd,Ye},[ui]);return nn!=="picture-card"&&nn!=="picture-circle"&&(Ce=Object.assign(Object.assign({},Re),Ce)),z.createElement("div",{className:Bi},z.createElement(pt.CSSMotionList,Object.assign({},Ce,{component:!1}),Ye=>{let{key:Ct,file:Qt,className:qt,style:xn}=Ye;return z.createElement(Bt,{key:Ct,locale:En,prefixCls:wo,className:qt,style:xn,file:Qt,items:io,progress:pa,listType:nn,isImgUrl:Ra,showPreviewIcon:to,showRemoveIcon:no,showDownloadIcon:Mo,removeIcon:ea,previewIcon:Aa,downloadIcon:dr,iconRender:Ia,actionIconRender:co,itemRender:br,onPreview:Ei,onDownload:$i,onClose:_n})}),jr&&z.createElement(pt.default,Object.assign({},Ce,{visible:Ir,forceRender:!0}),Ye=>{let{className:Ct,style:Qt}=Ye;return(0,he.Tm)(jr,qt=>({className:Ie()(qt.className,Ct),style:Object.assign(Object.assign(Object.assign({},Qt),{pointerEvents:Ct?"none":void 0}),qt.style)}))}))};var Vt=z.forwardRef(Et),sn=te(17313),Un=te(8378),pn=te(83116),rn=te(37613),_t=ht=>{const{componentCls:en,iconCls:nn}=ht;return{[`${en}-wrapper`]:{[`${en}-drag`]:{position:"relative",width:"100%",height:"100%",textAlign:"center",background:ht.colorFillAlter,border:`${ht.lineWidth}px dashed ${ht.colorBorder}`,borderRadius:ht.borderRadiusLG,cursor:"pointer",transition:`border-color ${ht.motionDurationSlow}`,[en]:{padding:`${ht.padding}px 0`},[`${en}-btn`]:{display:"table",width:"100%",height:"100%",outline:"none"},[`${en}-drag-container`]:{display:"table-cell",verticalAlign:"middle"},[`&:not(${en}-disabled):hover`]:{borderColor:ht.colorPrimaryHover},[`p${en}-drag-icon`]:{marginBottom:ht.margin,[nn]:{color:ht.colorPrimary,fontSize:ht.uploadThumbnailSize}},[`p${en}-text`]:{margin:`0 0 ${ht.marginXXS}px`,color:ht.colorTextHeading,fontSize:ht.fontSizeLG},[`p${en}-hint`]:{color:ht.colorTextDescription,fontSize:ht.fontSize},[`&${en}-disabled`]:{cursor:"not-allowed",[`p${en}-drag-icon ${nn},
|
|
p${en}-text,
|
|
p${en}-hint
|
|
`]:{color:ht.colorTextDisabled}}}}}},Jt=ht=>{const{componentCls:en,antCls:nn,iconCls:yn,fontSize:Tn,lineHeight:mn}=ht,Nn=`${en}-list-item`,En=`${Nn}-actions`,ar=`${Nn}-action`,Ra=Math.round(Tn*mn);return{[`${en}-wrapper`]:{[`${en}-list`]:Object.assign(Object.assign({},(0,sn.dF)()),{lineHeight:ht.lineHeight,[Nn]:{position:"relative",height:ht.lineHeight*Tn,marginTop:ht.marginXS,fontSize:Tn,display:"flex",alignItems:"center",transition:`background-color ${ht.motionDurationSlow}`,"&:hover":{backgroundColor:ht.controlItemBgHover},[`${Nn}-name`]:Object.assign(Object.assign({},sn.vS),{padding:`0 ${ht.paddingXS}px`,lineHeight:mn,flex:"auto",transition:`all ${ht.motionDurationSlow}`}),[En]:{[ar]:{opacity:0},[`${ar}${nn}-btn-sm`]:{height:Ra,border:0,lineHeight:1,"> span":{transform:"scale(1)"}},[`
|
|
${ar}:focus-visible,
|
|
&.picture ${ar}
|
|
`]:{opacity:1},[yn]:{color:ht.actionsColor,transition:`all ${ht.motionDurationSlow}`},[`&:hover ${yn}`]:{color:ht.colorText}},[`${en}-icon ${yn}`]:{color:ht.colorTextDescription,fontSize:Tn},[`${Nn}-progress`]:{position:"absolute",bottom:-ht.uploadProgressOffset,width:"100%",paddingInlineStart:Tn+ht.paddingXS,fontSize:Tn,lineHeight:0,pointerEvents:"none","> div":{margin:0}}},[`${Nn}:hover ${ar}`]:{opacity:1,color:ht.colorText},[`${Nn}-error`]:{color:ht.colorError,[`${Nn}-name, ${en}-icon ${yn}`]:{color:ht.colorError},[En]:{[`${yn}, ${yn}:hover`]:{color:ht.colorError},[ar]:{opacity:1}}},[`${en}-list-item-container`]:{transition:`opacity ${ht.motionDurationSlow}, height ${ht.motionDurationSlow}`,"&::before":{display:"table",width:0,height:0,content:'""'}}})}}},Ea=te(36237),qn=te(1950);const Rn=new Ea.Keyframes("uploadAnimateInlineIn",{from:{width:0,height:0,margin:0,padding:0,opacity:0}}),Ga=new Ea.Keyframes("uploadAnimateInlineOut",{to:{width:0,height:0,margin:0,padding:0,opacity:0}});var Ar=ht=>{const{componentCls:en}=ht,nn=`${en}-animate-inline`;return[{[`${en}-wrapper`]:{[`${nn}-appear, ${nn}-enter, ${nn}-leave`]:{animationDuration:ht.motionDurationSlow,animationTimingFunction:ht.motionEaseInOutCirc,animationFillMode:"forwards"},[`${nn}-appear, ${nn}-enter`]:{animationName:Rn},[`${nn}-leave`]:{animationName:Ga}}},{[`${en}-wrapper`]:(0,qn.J$)(ht)},Rn,Ga]},Cr=te(30071),Qa=te(64993);const tt=ht=>{const{componentCls:en,iconCls:nn,uploadThumbnailSize:yn,uploadProgressOffset:Tn}=ht,mn=`${en}-list`,Nn=`${mn}-item`;return{[`${en}-wrapper`]:{[`
|
|
${mn}${mn}-picture,
|
|
${mn}${mn}-picture-card,
|
|
${mn}${mn}-picture-circle
|
|
`]:{[Nn]:{position:"relative",height:yn+ht.lineWidth*2+ht.paddingXS*2,padding:ht.paddingXS,border:`${ht.lineWidth}px ${ht.lineType} ${ht.colorBorder}`,borderRadius:ht.borderRadiusLG,"&:hover":{background:"transparent"},[`${Nn}-thumbnail`]:Object.assign(Object.assign({},sn.vS),{width:yn,height:yn,lineHeight:`${yn+ht.paddingSM}px`,textAlign:"center",flex:"none",[nn]:{fontSize:ht.fontSizeHeading2,color:ht.colorPrimary},img:{display:"block",width:"100%",height:"100%",overflow:"hidden"}}),[`${Nn}-progress`]:{bottom:Tn,width:`calc(100% - ${ht.paddingSM*2}px)`,marginTop:0,paddingInlineStart:yn+ht.paddingXS}},[`${Nn}-error`]:{borderColor:ht.colorError,[`${Nn}-thumbnail ${nn}`]:{[`svg path[fill='${Cr.blue[0]}']`]:{fill:ht.colorErrorBg},[`svg path[fill='${Cr.blue.primary}']`]:{fill:ht.colorError}}},[`${Nn}-uploading`]:{borderStyle:"dashed",[`${Nn}-name`]:{marginBottom:Tn}}},[`${mn}${mn}-picture-circle ${Nn}`]:{[`&, &::before, ${Nn}-thumbnail`]:{borderRadius:"50%"}}}}},Rt=ht=>{const{componentCls:en,iconCls:nn,fontSizeLG:yn,colorTextLightSolid:Tn}=ht,mn=`${en}-list`,Nn=`${mn}-item`,En=ht.uploadPicCardSize;return{[`
|
|
${en}-wrapper${en}-picture-card-wrapper,
|
|
${en}-wrapper${en}-picture-circle-wrapper
|
|
`]:Object.assign(Object.assign({},(0,sn.dF)()),{display:"inline-block",width:"100%",[`${en}${en}-select`]:{width:En,height:En,marginInlineEnd:ht.marginXS,marginBottom:ht.marginXS,textAlign:"center",verticalAlign:"top",backgroundColor:ht.colorFillAlter,border:`${ht.lineWidth}px dashed ${ht.colorBorder}`,borderRadius:ht.borderRadiusLG,cursor:"pointer",transition:`border-color ${ht.motionDurationSlow}`,[`> ${en}`]:{display:"flex",alignItems:"center",justifyContent:"center",height:"100%",textAlign:"center"},[`&:not(${en}-disabled):hover`]:{borderColor:ht.colorPrimary}},[`${mn}${mn}-picture-card, ${mn}${mn}-picture-circle`]:{[`${mn}-item-container`]:{display:"inline-block",width:En,height:En,marginBlock:`0 ${ht.marginXS}px`,marginInline:`0 ${ht.marginXS}px`,verticalAlign:"top"},"&::after":{display:"none"},[Nn]:{height:"100%",margin:0,"&::before":{position:"absolute",zIndex:1,width:`calc(100% - ${ht.paddingXS*2}px)`,height:`calc(100% - ${ht.paddingXS*2}px)`,backgroundColor:ht.colorBgMask,opacity:0,transition:`all ${ht.motionDurationSlow}`,content:'" "'}},[`${Nn}:hover`]:{[`&::before, ${Nn}-actions`]:{opacity:1}},[`${Nn}-actions`]:{position:"absolute",insetInlineStart:0,zIndex:10,width:"100%",whiteSpace:"nowrap",textAlign:"center",opacity:0,transition:`all ${ht.motionDurationSlow}`,[`${nn}-eye, ${nn}-download, ${nn}-delete`]:{zIndex:10,width:yn,margin:`0 ${ht.marginXXS}px`,fontSize:yn,cursor:"pointer",transition:`all ${ht.motionDurationSlow}`,svg:{verticalAlign:"baseline"}}},[`${Nn}-actions, ${Nn}-actions:hover`]:{[`${nn}-eye, ${nn}-download, ${nn}-delete`]:{color:new Qa.C(Tn).setAlpha(.65).toRgbString(),"&:hover":{color:Tn}}},[`${Nn}-thumbnail, ${Nn}-thumbnail img`]:{position:"static",display:"block",width:"100%",height:"100%",objectFit:"contain"},[`${Nn}-name`]:{display:"none",textAlign:"center"},[`${Nn}-file + ${Nn}-name`]:{position:"absolute",bottom:ht.margin,display:"block",width:`calc(100% - ${ht.paddingXS*2}px)`},[`${Nn}-uploading`]:{[`&${Nn}`]:{backgroundColor:ht.colorFillAlter},[`&::before, ${nn}-eye, ${nn}-download, ${nn}-delete`]:{display:"none"}},[`${Nn}-progress`]:{bottom:ht.marginXL,width:`calc(100% - ${ht.paddingXS*2}px)`,paddingInlineStart:0}}}),[`${en}-wrapper${en}-picture-circle-wrapper`]:{[`${en}${en}-select`]:{borderRadius:"50%"}}}};var Zn=ht=>{const{componentCls:en}=ht;return{[`${en}-rtl`]:{direction:"rtl"}}};const cn=ht=>{const{componentCls:en,colorTextDisabled:nn}=ht;return{[`${en}-wrapper`]:Object.assign(Object.assign({},(0,sn.Wf)(ht)),{[en]:{outline:0,"input[type='file']":{cursor:"pointer"}},[`${en}-select`]:{display:"inline-block"},[`${en}-disabled`]:{color:nn,cursor:"not-allowed"}})}};var On=(0,pn.Z)("Upload",ht=>{const{fontSizeHeading3:en,fontSize:nn,lineHeight:yn,lineWidth:Tn,controlHeightLG:mn}=ht,Nn=Math.round(nn*yn),En=(0,rn.TS)(ht,{uploadThumbnailSize:en*2,uploadProgressOffset:Nn/2+Tn,uploadPicCardSize:mn*2.55});return[cn(En),_t(En),tt(En),Rt(En),Jt(En),Ar(En),Zn(En),(0,Un.Z)(En)]},ht=>({actionsColor:ht.colorTextDescription})),Xr=function(ht,en,nn,yn){function Tn(mn){return mn instanceof nn?mn:new nn(function(Nn){Nn(mn)})}return new(nn||(nn=Promise))(function(mn,Nn){function En(gn){try{Ra(yn.next(gn))}catch(io){Nn(io)}}function ar(gn){try{Ra(yn.throw(gn))}catch(io){Nn(io)}}function Ra(gn){gn.done?mn(gn.value):Tn(gn.value).then(En,ar)}Ra((yn=yn.apply(ht,en||[])).next())})};const Er=`__LIST_IGNORE_${Date.now()}__`,Kr=(ht,en)=>{const{fileList:nn,defaultFileList:yn,onRemove:Tn,showUploadList:mn=!0,listType:Nn="text",onPreview:En,onDownload:ar,onChange:Ra,onDrop:gn,previewFile:io,disabled:to,locale:no,iconRender:Mo,isImageUrl:ea,progress:Aa,prefixCls:dr,className:pa,type:jr="select",children:Ir,style:br,itemRender:po,maxCount:Lo,data:Oi={},multiple:vi=!1,action:Ei="",accept:$i="",supportServerRender:_n=!0,rootClassName:Ia}=ht,co=z.useContext(rt.Z),xo=to!=null?to:co,[wo,ui]=(0,Ue.Z)(yn||[],{value:nn,postState:Rr=>Rr!=null?Rr:[]}),[Bi,Yi]=z.useState("drop"),Mi=z.useRef(null);z.useMemo(()=>{const Rr=Date.now();(nn||[]).forEach((ro,Fo)=>{!ro.uid&&!Object.isFrozen(ro)&&(ro.uid=`__AUTO__${Rr}_${Fo}__`)})},[nn]);const Ce=(Rr,ro,Fo)=>{let vo=(0,se.Z)(ro),Eo=!1;Lo===1?vo=vo.slice(-1):Lo&&(Eo=vo.length>Lo,vo=vo.slice(0,Lo)),(0,Ge.flushSync)(()=>{ui(vo)});const sa={file:Rr,fileList:vo};Fo&&(sa.event=Fo),(!Eo||vo.some(jo=>jo.uid===Rr.uid))&&(0,Ge.flushSync)(()=>{Ra==null||Ra(sa)})},Re=(Rr,ro)=>Xr(void 0,void 0,void 0,function*(){const{beforeUpload:Fo,transformFile:vo}=ht;let Eo=Rr;if(Fo){const sa=yield Fo(Rr,ro);if(sa===!1)return!1;if(delete Rr[Er],sa===Er)return Object.defineProperty(Rr,Er,{value:!0,configurable:!0}),!1;typeof sa=="object"&&sa&&(Eo=sa)}return vo&&(Eo=yield vo(Eo)),Eo}),Ye=Rr=>{const ro=Rr.filter(Eo=>!Eo.file[Er]);if(!ro.length)return;const Fo=ro.map(Eo=>We(Eo.file));let vo=(0,se.Z)(wo);Fo.forEach(Eo=>{vo=we(Eo,vo)}),Fo.forEach((Eo,sa)=>{let jo=Eo;if(ro[sa].parsedFile)Eo.status="uploading";else{const{originFileObj:wi}=Eo;let Zi;try{Zi=new File([wi],wi.name,{type:wi.type})}catch(nl){Zi=new Blob([wi],{type:wi.type}),Zi.name=wi.name,Zi.lastModifiedDate=new Date,Zi.lastModified=new Date().getTime()}Zi.uid=Eo.uid,jo=Zi}Ce(jo,vo)})},Ct=(Rr,ro,Fo)=>{try{typeof Rr=="string"&&(Rr=JSON.parse(Rr))}catch(sa){}if(!mt(ro,wo))return;const vo=We(ro);vo.status="done",vo.percent=100,vo.response=Rr,vo.xhr=Fo;const Eo=we(vo,wo);Ce(vo,Eo)},Qt=(Rr,ro)=>{if(!mt(ro,wo))return;const Fo=We(ro);Fo.status="uploading",Fo.percent=Rr.percent;const vo=we(Fo,wo);Ce(Fo,vo,Rr)},qt=(Rr,ro,Fo)=>{if(!mt(Fo,wo))return;const vo=We(Fo);vo.error=Rr,vo.response=ro,vo.status="error";const Eo=we(vo,wo);Ce(vo,Eo)},xn=Rr=>{let ro;Promise.resolve(typeof Tn=="function"?Tn(Rr):Tn).then(Fo=>{var vo;if(Fo===!1)return;const Eo=Je(Rr,wo);Eo&&(ro=Object.assign(Object.assign({},Rr),{status:"removed"}),wo==null||wo.forEach(sa=>{const jo=ro.uid!==void 0?"uid":"name";sa[jo]===ro[jo]&&!Object.isFrozen(sa)&&(sa.status="removed")}),(vo=Mi.current)===null||vo===void 0||vo.abort(ro),Ce(ro,Eo))})},Dn=Rr=>{Yi(Rr.type),Rr.type==="drop"&&(gn==null||gn(Rr))};z.useImperativeHandle(en,()=>({onBatchStart:Ye,onSuccess:Ct,onProgress:Qt,onError:qt,fileList:wo,upload:Mi.current}));const{getPrefixCls:Qn,direction:Pa,upload:Ca}=z.useContext(Ke.E_),ga=Qn("upload",dr),Or=Object.assign(Object.assign({onBatchStart:Ye,onError:qt,onProgress:Qt,onSuccess:Ct},ht),{data:Oi,multiple:vi,action:Ei,accept:$i,supportServerRender:_n,prefixCls:ga,disabled:xo,beforeUpload:Re,onChange:void 0});delete Or.className,delete Or.style,(!Ir||xo)&&delete Or.id;const[Mr,Ro]=On(ga),[Ur]=(0,nt.Z)("Upload",vt.Z.Upload),{showRemoveIcon:la,showPreviewIcon:Yn,showDownloadIcon:oa,removeIcon:ra,previewIcon:Nr,downloadIcon:Zr}=typeof mn=="boolean"?{}:mn,hr=(Rr,ro)=>mn?z.createElement(Vt,{prefixCls:ga,listType:Nn,items:wo,previewFile:io,onPreview:En,onDownload:ar,onRemove:xn,showRemoveIcon:!xo&&la,showPreviewIcon:Yn,showDownloadIcon:oa,removeIcon:ra,previewIcon:Nr,downloadIcon:Zr,iconRender:Mo,locale:Object.assign(Object.assign({},Ur),no),isImageUrl:ea,progress:Aa,appendAction:Rr,appendActionVisible:ro,itemRender:po,disabled:xo}):Rr,xr=Ie()(`${ga}-wrapper`,pa,Ia,Ro,Ca==null?void 0:Ca.className,{[`${ga}-rtl`]:Pa==="rtl",[`${ga}-picture-card-wrapper`]:Nn==="picture-card",[`${ga}-picture-circle-wrapper`]:Nn==="picture-circle"}),kr=Object.assign(Object.assign({},Ca==null?void 0:Ca.style),br);if(jr==="drag"){const Rr=Ie()(Ro,ga,`${ga}-drag`,{[`${ga}-drag-uploading`]:wo.some(ro=>ro.status==="uploading"),[`${ga}-drag-hover`]:Bi==="dragover",[`${ga}-disabled`]:xo,[`${ga}-rtl`]:Pa==="rtl"});return Mr(z.createElement("span",{className:xr},z.createElement("div",{className:Rr,style:kr,onDrop:Dn,onDragOver:Dn,onDragLeave:Dn},z.createElement(Be,Object.assign({},Or,{ref:Mi,className:`${ga}-btn`}),z.createElement("div",{className:`${ga}-drag-container`},Ir))),hr()))}const ho=Ie()(ga,`${ga}-select`,{[`${ga}-disabled`]:xo}),yo=(Rr=>z.createElement("div",{className:ho,style:Rr},z.createElement(Be,Object.assign({},Or,{ref:Mi}))))(Ir?void 0:{display:"none"});return Mr(Nn==="picture-card"||Nn==="picture-circle"?z.createElement("span",{className:xr},hr(yo,!!Ir)):z.createElement("span",{className:xr},yo,hr()))};var Xa=z.forwardRef(Kr),In=function(ht,en){var nn={};for(var yn in ht)Object.prototype.hasOwnProperty.call(ht,yn)&&en.indexOf(yn)<0&&(nn[yn]=ht[yn]);if(ht!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Tn=0,yn=Object.getOwnPropertySymbols(ht);Tn<yn.length;Tn++)en.indexOf(yn[Tn])<0&&Object.prototype.propertyIsEnumerable.call(ht,yn[Tn])&&(nn[yn[Tn]]=ht[yn[Tn]]);return nn},nr=z.forwardRef((ht,en)=>{var{style:nn,height:yn}=ht,Tn=In(ht,["style","height"]);return z.createElement(Xa,Object.assign({ref:en},Tn,{type:"drag",style:Object.assign(Object.assign({},nn),{height:yn})}))});const sr=Xa;sr.Dragger=nr,sr.LIST_IGNORE=Er;var er=sr},24334:function(bt,yt,te){var z,se;(function(ve,Ie){bt.exports=Ie(ve)})(typeof self!="undefined"?self:typeof window!="undefined"?window:typeof te.g!="undefined"?te.g:this,function(ve){"use strict";ve=ve||{};var Ie=ve.Base64,be="2.6.4",Ne="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",ie=function(ze){for(var ft={},Be=0,Ue=ze.length;Be<Ue;Be++)ft[ze.charAt(Be)]=Be;return ft}(Ne),et=String.fromCharCode,He=function(ze){if(ze.length<2){var ft=ze.charCodeAt(0);return ft<128?ze:ft<2048?et(192|ft>>>6)+et(128|ft&63):et(224|ft>>>12&15)+et(128|ft>>>6&63)+et(128|ft&63)}else{var ft=65536+(ze.charCodeAt(0)-55296)*1024+(ze.charCodeAt(1)-56320);return et(240|ft>>>18&7)+et(128|ft>>>12&63)+et(128|ft>>>6&63)+et(128|ft&63)}},ke=/[\uD800-\uDBFF][\uDC00-\uDFFFF]|[^\x00-\x7F]/g,Ze=function(ze){return ze.replace(ke,He)},Me=function(ze){var ft=[0,2,1][ze.length%3],Be=ze.charCodeAt(0)<<16|(ze.length>1?ze.charCodeAt(1):0)<<8|(ze.length>2?ze.charCodeAt(2):0),Ue=[Ne.charAt(Be>>>18),Ne.charAt(Be>>>12&63),ft>=2?"=":Ne.charAt(Be>>>6&63),ft>=1?"=":Ne.charAt(Be&63)];return Ue.join("")},ye=ve.btoa&&typeof ve.btoa=="function"?function(ze){return ve.btoa(ze)}:function(ze){if(ze.match(/[^\x00-\xFF]/))throw new RangeError("The string contains invalid characters.");return ze.replace(/[\s\S]{1,3}/g,Me)},re=function(ze){return ye(Ze(String(ze)))},a=function(ze){return ze.replace(/[+\/]/g,function(ft){return ft=="+"?"-":"_"}).replace(/=/g,"")},y=function(ze,ft){return ft?a(re(ze)):re(ze)},b=function(ze){return y(ze,!0)},E;ve.Uint8Array&&(E=function(ze,ft){for(var Be="",Ue=0,Ge=ze.length;Ue<Ge;Ue+=3){var Ke=ze[Ue],rt=ze[Ue+1],nt=ze[Ue+2],vt=Ke<<16|rt<<8|nt;Be+=Ne.charAt(vt>>>18)+Ne.charAt(vt>>>12&63)+(typeof rt!="undefined"?Ne.charAt(vt>>>6&63):"=")+(typeof nt!="undefined"?Ne.charAt(vt&63):"=")}return ft?a(Be):Be});var x=/[\xC0-\xDF][\x80-\xBF]|[\xE0-\xEF][\x80-\xBF]{2}|[\xF0-\xF7][\x80-\xBF]{3}/g,ee=function(ze){switch(ze.length){case 4:var ft=(7&ze.charCodeAt(0))<<18|(63&ze.charCodeAt(1))<<12|(63&ze.charCodeAt(2))<<6|63&ze.charCodeAt(3),Be=ft-65536;return et((Be>>>10)+55296)+et((Be&1023)+56320);case 3:return et((15&ze.charCodeAt(0))<<12|(63&ze.charCodeAt(1))<<6|63&ze.charCodeAt(2));default:return et((31&ze.charCodeAt(0))<<6|63&ze.charCodeAt(1))}},ne=function(ze){return ze.replace(x,ee)},oe=function(ze){var ft=ze.length,Be=ft%4,Ue=(ft>0?ie[ze.charAt(0)]<<18:0)|(ft>1?ie[ze.charAt(1)]<<12:0)|(ft>2?ie[ze.charAt(2)]<<6:0)|(ft>3?ie[ze.charAt(3)]:0),Ge=[et(Ue>>>16),et(Ue>>>8&255),et(Ue&255)];return Ge.length-=[0,0,2,1][Be],Ge.join("")},ae=ve.atob&&typeof ve.atob=="function"?function(ze){return ve.atob(ze)}:function(ze){return ze.replace(/\S{1,4}/g,oe)},ue=function(ze){return ae(String(ze).replace(/[^A-Za-z0-9\+\/]/g,""))},me=function(ze){return ne(ae(ze))},fe=function(ze){return String(ze).replace(/[-_]/g,function(ft){return ft=="-"?"+":"/"}).replace(/[^A-Za-z0-9\+\/]/g,"")},Pe=function(ze){return me(fe(ze))},xe;ve.Uint8Array&&(xe=function(ze){return Uint8Array.from(ue(fe(ze)),function(ft){return ft.charCodeAt(0)})});var Ee=function(){var ze=ve.Base64;return ve.Base64=Ie,ze};if(ve.Base64={VERSION:be,atob:ue,btoa:ye,fromBase64:Pe,toBase64:y,utob:Ze,encode:y,encodeURI:b,btou:ne,decode:Pe,noConflict:Ee,fromUint8Array:E,toUint8Array:xe},typeof Object.defineProperty=="function"){var De=function(ze){return{value:ze,enumerable:!1,writable:!0,configurable:!0}};ve.Base64.extendString=function(){Object.defineProperty(String.prototype,"fromBase64",De(function(){return Pe(this)})),Object.defineProperty(String.prototype,"toBase64",De(function(ze){return y(this,ze)})),Object.defineProperty(String.prototype,"toBase64URI",De(function(){return y(this,!0)}))}}return ve.Meteor&&(Base64=ve.Base64),bt.exports?bt.exports.Base64=ve.Base64:(z=[],se=function(){return ve.Base64}.apply(yt,z),se!==void 0&&(bt.exports=se)),{Base64:ve.Base64}})},39417:function(bt,yt,te){"use strict";te.d(yt,{Z:function(){return me}});var z=te(67711),se=te(52873),ve=te(33346),Ie=te(98506),be=te(42573),Ne=te(58698),ie=te(62437),et=te(74700),He=te(45080),ke=te(92310),Ze=te.n(ke),Me=te(26112),ye=te(59301),re=te(39378),a=function(Pe){for(var xe=Pe.prefixCls,Ee=Pe.level,De=Pe.isStart,ze=Pe.isEnd,ft="".concat(xe,"-indent-unit"),Be=[],Ue=0;Ue<Ee;Ue+=1){var Ge;Be.push(ye.createElement("span",{key:Ue,className:Ze()(ft,(Ge={},(0,se.Z)(Ge,"".concat(ft,"-start"),De[Ue]),(0,se.Z)(Ge,"".concat(ft,"-end"),ze[Ue]),Ge))}))}return ye.createElement("span",{"aria-hidden":"true",className:"".concat(xe,"-indent")},Be)},y=ye.memo(a),b=te(67841),E=te(71430),x=["eventKey","className","style","dragOver","dragOverGapTop","dragOverGapBottom","isLeaf","isStart","isEnd","expanded","selected","checked","halfChecked","loading","domRef","active","data","onMouseMove","selectable"],ee="open",ne="close",oe="---",ae=function(fe){(0,et.Z)(xe,fe);var Pe=(0,He.Z)(xe);function xe(){var Ee;(0,be.Z)(this,xe);for(var De=arguments.length,ze=new Array(De),ft=0;ft<De;ft++)ze[ft]=arguments[ft];return Ee=Pe.call.apply(Pe,[this].concat(ze)),Ee.state={dragNodeHighlight:!1},Ee.selectHandle=void 0,Ee.cacheIndent=void 0,Ee.onSelectorClick=function(Be){var Ue=Ee.props.context.onNodeClick;Ue(Be,(0,E.F)(Ee.props)),Ee.isSelectable()?Ee.onSelect(Be):Ee.onCheck(Be)},Ee.onSelectorDoubleClick=function(Be){var Ue=Ee.props.context.onNodeDoubleClick;Ue(Be,(0,E.F)(Ee.props))},Ee.onSelect=function(Be){if(!Ee.isDisabled()){var Ue=Ee.props.context.onNodeSelect;Ue(Be,(0,E.F)(Ee.props))}},Ee.onCheck=function(Be){if(!Ee.isDisabled()){var Ue=Ee.props,Ge=Ue.disableCheckbox,Ke=Ue.checked,rt=Ee.props.context.onNodeCheck;if(!(!Ee.isCheckable()||Ge)){var nt=!Ke;rt(Be,(0,E.F)(Ee.props),nt)}}},Ee.onMouseEnter=function(Be){var Ue=Ee.props.context.onNodeMouseEnter;Ue(Be,(0,E.F)(Ee.props))},Ee.onMouseLeave=function(Be){var Ue=Ee.props.context.onNodeMouseLeave;Ue(Be,(0,E.F)(Ee.props))},Ee.onContextMenu=function(Be){var Ue=Ee.props.context.onNodeContextMenu;Ue(Be,(0,E.F)(Ee.props))},Ee.onDragStart=function(Be){var Ue=Ee.props.context.onNodeDragStart;Be.stopPropagation(),Ee.setState({dragNodeHighlight:!0}),Ue(Be,(0,ie.Z)(Ee));try{Be.dataTransfer.setData("text/plain","")}catch(Ge){}},Ee.onDragEnter=function(Be){var Ue=Ee.props.context.onNodeDragEnter;Be.preventDefault(),Be.stopPropagation(),Ue(Be,(0,ie.Z)(Ee))},Ee.onDragOver=function(Be){var Ue=Ee.props.context.onNodeDragOver;Be.preventDefault(),Be.stopPropagation(),Ue(Be,(0,ie.Z)(Ee))},Ee.onDragLeave=function(Be){var Ue=Ee.props.context.onNodeDragLeave;Be.stopPropagation(),Ue(Be,(0,ie.Z)(Ee))},Ee.onDragEnd=function(Be){var Ue=Ee.props.context.onNodeDragEnd;Be.stopPropagation(),Ee.setState({dragNodeHighlight:!1}),Ue(Be,(0,ie.Z)(Ee))},Ee.onDrop=function(Be){var Ue=Ee.props.context.onNodeDrop;Be.preventDefault(),Be.stopPropagation(),Ee.setState({dragNodeHighlight:!1}),Ue(Be,(0,ie.Z)(Ee))},Ee.onExpand=function(Be){var Ue=Ee.props,Ge=Ue.loading,Ke=Ue.context.onNodeExpand;Ge||Ke(Be,(0,E.F)(Ee.props))},Ee.setSelectHandle=function(Be){Ee.selectHandle=Be},Ee.getNodeState=function(){var Be=Ee.props.expanded;return Ee.isLeaf()?null:Be?ee:ne},Ee.hasChildren=function(){var Be=Ee.props.eventKey,Ue=Ee.props.context.keyEntities,Ge=(0,b.Z)(Ue,Be)||{},Ke=Ge.children;return!!(Ke||[]).length},Ee.isLeaf=function(){var Be=Ee.props,Ue=Be.isLeaf,Ge=Be.loaded,Ke=Ee.props.context.loadData,rt=Ee.hasChildren();return Ue===!1?!1:Ue||!Ke&&!rt||Ke&&Ge&&!rt},Ee.isDisabled=function(){var Be=Ee.props.disabled,Ue=Ee.props.context.disabled;return!!(Ue||Be)},Ee.isCheckable=function(){var Be=Ee.props.checkable,Ue=Ee.props.context.checkable;return!Ue||Be===!1?!1:Ue},Ee.syncLoadData=function(Be){var Ue=Be.expanded,Ge=Be.loading,Ke=Be.loaded,rt=Ee.props.context,nt=rt.loadData,vt=rt.onNodeLoad;Ge||nt&&Ue&&!Ee.isLeaf()&&!Ee.hasChildren()&&!Ke&&vt((0,E.F)(Ee.props))},Ee.isDraggable=function(){var Be=Ee.props,Ue=Be.data,Ge=Be.context.draggable;return!!(Ge&&(!Ge.nodeDraggable||Ge.nodeDraggable(Ue)))},Ee.renderDragHandler=function(){var Be=Ee.props.context,Ue=Be.draggable,Ge=Be.prefixCls;return Ue!=null&&Ue.icon?ye.createElement("span",{className:"".concat(Ge,"-draggable-icon")},Ue.icon):null},Ee.renderSwitcherIconDom=function(Be){var Ue=Ee.props.switcherIcon,Ge=Ee.props.context.switcherIcon,Ke=Ue||Ge;return typeof Ke=="function"?Ke((0,Ie.Z)((0,Ie.Z)({},Ee.props),{},{isLeaf:Be})):Ke},Ee.renderSwitcher=function(){var Be=Ee.props.expanded,Ue=Ee.props.context.prefixCls;if(Ee.isLeaf()){var Ge=Ee.renderSwitcherIconDom(!0);return Ge!==!1?ye.createElement("span",{className:Ze()("".concat(Ue,"-switcher"),"".concat(Ue,"-switcher-noop"))},Ge):null}var Ke=Ze()("".concat(Ue,"-switcher"),"".concat(Ue,"-switcher_").concat(Be?ee:ne)),rt=Ee.renderSwitcherIconDom(!1);return rt!==!1?ye.createElement("span",{onClick:Ee.onExpand,className:Ke},rt):null},Ee.renderCheckbox=function(){var Be=Ee.props,Ue=Be.checked,Ge=Be.halfChecked,Ke=Be.disableCheckbox,rt=Ee.props.context.prefixCls,nt=Ee.isDisabled(),vt=Ee.isCheckable();if(!vt)return null;var Tt=typeof vt!="boolean"?vt:null;return ye.createElement("span",{className:Ze()("".concat(rt,"-checkbox"),Ue&&"".concat(rt,"-checkbox-checked"),!Ue&&Ge&&"".concat(rt,"-checkbox-indeterminate"),(nt||Ke)&&"".concat(rt,"-checkbox-disabled")),onClick:Ee.onCheck},Tt)},Ee.renderIcon=function(){var Be=Ee.props.loading,Ue=Ee.props.context.prefixCls;return ye.createElement("span",{className:Ze()("".concat(Ue,"-iconEle"),"".concat(Ue,"-icon__").concat(Ee.getNodeState()||"docu"),Be&&"".concat(Ue,"-icon_loading"))})},Ee.renderSelector=function(){var Be=Ee.state.dragNodeHighlight,Ue=Ee.props,Ge=Ue.title,Ke=Ge===void 0?oe:Ge,rt=Ue.selected,nt=Ue.icon,vt=Ue.loading,Tt=Ue.data,Yt=Ee.props.context,Xe=Yt.prefixCls,st=Yt.showIcon,Lt=Yt.icon,It=Yt.loadData,St=Yt.titleRender,dn=Ee.isDisabled(),Fe="".concat(Xe,"-node-content-wrapper"),Xt;if(st){var Kt=nt||Lt;Xt=Kt?ye.createElement("span",{className:Ze()("".concat(Xe,"-iconEle"),"".concat(Xe,"-icon__customize"))},typeof Kt=="function"?Kt(Ee.props):Kt):Ee.renderIcon()}else It&&vt&&(Xt=Ee.renderIcon());var jn;typeof Ke=="function"?jn=Ke(Tt):St?jn=St(Tt):jn=Ke;var Pt=ye.createElement("span",{className:"".concat(Xe,"-title")},jn);return ye.createElement("span",{ref:Ee.setSelectHandle,title:typeof Ke=="string"?Ke:"",className:Ze()("".concat(Fe),"".concat(Fe,"-").concat(Ee.getNodeState()||"normal"),!dn&&(rt||Be)&&"".concat(Xe,"-node-selected")),onMouseEnter:Ee.onMouseEnter,onMouseLeave:Ee.onMouseLeave,onContextMenu:Ee.onContextMenu,onClick:Ee.onSelectorClick,onDoubleClick:Ee.onSelectorDoubleClick},Xt,Pt,Ee.renderDropIndicator())},Ee.renderDropIndicator=function(){var Be=Ee.props,Ue=Be.disabled,Ge=Be.eventKey,Ke=Ee.props.context,rt=Ke.draggable,nt=Ke.dropLevelOffset,vt=Ke.dropPosition,Tt=Ke.prefixCls,Yt=Ke.indent,Xe=Ke.dropIndicatorRender,st=Ke.dragOverNodeKey,Lt=Ke.direction,It=!!rt,St=!Ue&&It&&st===Ge,dn=Yt!=null?Yt:Ee.cacheIndent;return Ee.cacheIndent=Yt,St?Xe({dropPosition:vt,dropLevelOffset:nt,indent:dn,prefixCls:Tt,direction:Lt}):null},Ee}return(0,Ne.Z)(xe,[{key:"componentDidMount",value:function(){this.syncLoadData(this.props)}},{key:"componentDidUpdate",value:function(){this.syncLoadData(this.props)}},{key:"isSelectable",value:function(){var De=this.props.selectable,ze=this.props.context.selectable;return typeof De=="boolean"?De:ze}},{key:"render",value:function(){var De,ze=this.props,ft=ze.eventKey,Be=ze.className,Ue=ze.style,Ge=ze.dragOver,Ke=ze.dragOverGapTop,rt=ze.dragOverGapBottom,nt=ze.isLeaf,vt=ze.isStart,Tt=ze.isEnd,Yt=ze.expanded,Xe=ze.selected,st=ze.checked,Lt=ze.halfChecked,It=ze.loading,St=ze.domRef,dn=ze.active,Fe=ze.data,Xt=ze.onMouseMove,Kt=ze.selectable,jn=(0,ve.Z)(ze,x),Pt=this.props.context,qe=Pt.prefixCls,lt=Pt.filterTreeNode,it=Pt.keyEntities,Oe=Pt.dropContainerKey,pt=Pt.dropTargetKey,gt=Pt.draggingNodeKey,Le=this.isDisabled(),he=(0,Me.Z)(jn,{aria:!0,data:!0}),je=(0,b.Z)(it,ft)||{},We=je.level,we=Tt[Tt.length-1],mt=this.isDraggable(),Je=!Le&&mt,jt=gt===ft,Se=Kt!==void 0?{"aria-selected":!!Kt}:void 0;return ye.createElement("div",(0,z.Z)({ref:St,className:Ze()(Be,"".concat(qe,"-treenode"),(De={},(0,se.Z)(De,"".concat(qe,"-treenode-disabled"),Le),(0,se.Z)(De,"".concat(qe,"-treenode-switcher-").concat(Yt?"open":"close"),!nt),(0,se.Z)(De,"".concat(qe,"-treenode-checkbox-checked"),st),(0,se.Z)(De,"".concat(qe,"-treenode-checkbox-indeterminate"),Lt),(0,se.Z)(De,"".concat(qe,"-treenode-selected"),Xe),(0,se.Z)(De,"".concat(qe,"-treenode-loading"),It),(0,se.Z)(De,"".concat(qe,"-treenode-active"),dn),(0,se.Z)(De,"".concat(qe,"-treenode-leaf-last"),we),(0,se.Z)(De,"".concat(qe,"-treenode-draggable"),mt),(0,se.Z)(De,"dragging",jt),(0,se.Z)(De,"drop-target",pt===ft),(0,se.Z)(De,"drop-container",Oe===ft),(0,se.Z)(De,"drag-over",!Le&&Ge),(0,se.Z)(De,"drag-over-gap-top",!Le&&Ke),(0,se.Z)(De,"drag-over-gap-bottom",!Le&&rt),(0,se.Z)(De,"filter-node",lt&<((0,E.F)(this.props))),De)),style:Ue,draggable:Je,"aria-grabbed":jt,onDragStart:Je?this.onDragStart:void 0,onDragEnter:mt?this.onDragEnter:void 0,onDragOver:mt?this.onDragOver:void 0,onDragLeave:mt?this.onDragLeave:void 0,onDrop:mt?this.onDrop:void 0,onDragEnd:mt?this.onDragEnd:void 0,onMouseMove:Xt},Se,he),ye.createElement(y,{prefixCls:qe,level:We,isStart:vt,isEnd:Tt}),this.renderDragHandler(),this.renderSwitcher(),this.renderCheckbox(),this.renderSelector())}}]),xe}(ye.Component),ue=function(Pe){return ye.createElement(re.k.Consumer,null,function(xe){return ye.createElement(ae,(0,z.Z)({},Pe,{context:xe}))})};ue.displayName="TreeNode",ue.isTreeNode=1;var me=ue},39378:function(bt,yt,te){"use strict";te.d(yt,{k:function(){return se}});var z=te(59301),se=z.createContext(null)},32223:function(bt,yt,te){"use strict";te.d(yt,{O:function(){return me.Z},Z:function(){return Pt}});var z=te(67711),se=te(52873),ve=te(26420),Ie=te(98506),be=te(15142),Ne=te(42573),ie=te(58698),et=te(62437),He=te(74700),ke=te(45080),Ze=te(92310),Me=te.n(Ze),ye=te(10228),re=te(26112),a=te(48736),y=te(59301),b=te(39378);function E(qe){var lt=qe.dropPosition,it=qe.dropLevelOffset,Oe=qe.indent,pt={pointerEvents:"none",position:"absolute",right:0,backgroundColor:"red",height:2};switch(lt){case-1:pt.top=0,pt.left=-it*Oe;break;case 1:pt.bottom=0,pt.left=-it*Oe;break;case 0:pt.bottom=0,pt.left=Oe;break}return y.createElement("div",{style:pt})}function x(qe){if(qe==null)throw new TypeError("Cannot destructure "+qe)}var ee=te(16886),ne=te(33346),oe=te(34280),ae=te(6790),ue=te(77900),me=te(39417);function fe(qe,lt){var it=y.useState(!1),Oe=(0,ee.Z)(it,2),pt=Oe[0],gt=Oe[1];y.useLayoutEffect(function(){if(pt)return qe(),function(){lt()}},[pt]),y.useLayoutEffect(function(){return gt(!0),function(){gt(!1)}},[])}var Pe=te(71430),xe=["className","style","motion","motionNodes","motionType","onMotionStart","onMotionEnd","active","treeNodeRequiredProps"],Ee=function(lt,it){var Oe=lt.className,pt=lt.style,gt=lt.motion,Le=lt.motionNodes,he=lt.motionType,je=lt.onMotionStart,We=lt.onMotionEnd,we=lt.active,mt=lt.treeNodeRequiredProps,Je=(0,ne.Z)(lt,xe),jt=y.useState(!0),Se=(0,ee.Z)(jt,2),ut=Se[0],wt=Se[1],Ae=y.useContext(b.k),_e=Ae.prefixCls,ct=Le&&he!=="hide";(0,oe.Z)(function(){Le&&ct!==ut&&wt(ct)},[Le]);var Ft=function(){Le&&je()},zt=y.useRef(!1),fn=function(){Le&&!zt.current&&(zt.current=!0,We())};fe(Ft,fn);var dt=function(Et){ct===Et&&fn()};return Le?y.createElement(ue.default,(0,z.Z)({ref:it,visible:ut},gt,{motionAppear:he==="show",onVisibleChanged:dt}),function(Bt,Et){var tn=Bt.className,Vt=Bt.style;return y.createElement("div",{ref:Et,className:Me()("".concat(_e,"-treenode-motion"),tn),style:Vt},Le.map(function(sn){var Un=(0,z.Z)({},(x(sn.data),sn.data)),pn=sn.title,rn=sn.key,$n=sn.isStart,_t=sn.isEnd;delete Un.children;var kt=(0,Pe.H8)(rn,mt);return y.createElement(me.Z,(0,z.Z)({},Un,kt,{title:pn,active:we,data:sn.data,key:rn,isStart:$n,isEnd:_t}))}))}):y.createElement(me.Z,(0,z.Z)({domRef:it,className:Oe,style:pt},Je,{active:we}))};Ee.displayName="MotionTreeNode";var De=y.forwardRef(Ee),ze=De;function ft(){var qe=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],lt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],it=qe.length,Oe=lt.length;if(Math.abs(it-Oe)!==1)return{add:!1,key:null};function pt(gt,Le){var he=new Map;gt.forEach(function(We){he.set(We,!0)});var je=Le.filter(function(We){return!he.has(We)});return je.length===1?je[0]:null}return it<Oe?{add:!0,key:pt(qe,lt)}:{add:!1,key:pt(lt,qe)}}function Be(qe,lt,it){var Oe=qe.findIndex(function(he){return he.key===it}),pt=qe[Oe+1],gt=lt.findIndex(function(he){return he.key===it});if(pt){var Le=lt.findIndex(function(he){return he.key===pt.key});return lt.slice(gt+1,Le)}return lt.slice(gt+1)}var Ue=["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"],Ge={width:0,height:0,display:"flex",overflow:"hidden",opacity:0,border:0,padding:0,margin:0},Ke=function(){},rt="RC_TREE_MOTION_".concat(Math.random()),nt={key:rt},vt={key:rt,level:0,index:0,pos:"0",node:nt,nodes:[nt]},Tt={parent:null,children:[],pos:vt.pos,data:nt,title:null,key:rt,isStart:[],isEnd:[]};function Yt(qe,lt,it,Oe){return lt===!1||!it?qe:qe.slice(0,Math.ceil(it/Oe)+1)}function Xe(qe){var lt=qe.key,it=qe.pos;return(0,Pe.km)(lt,it)}function st(qe){for(var lt=String(qe.data.key),it=qe;it.parent;)it=it.parent,lt="".concat(it.data.key," > ").concat(lt);return lt}var Lt=y.forwardRef(function(qe,lt){var it=qe.prefixCls,Oe=qe.data,pt=qe.selectable,gt=qe.checkable,Le=qe.expandedKeys,he=qe.selectedKeys,je=qe.checkedKeys,We=qe.loadedKeys,we=qe.loadingKeys,mt=qe.halfCheckedKeys,Je=qe.keyEntities,jt=qe.disabled,Se=qe.dragging,ut=qe.dragOverNodeKey,wt=qe.dropPosition,Ae=qe.motion,_e=qe.height,ct=qe.itemHeight,Ft=qe.virtual,zt=qe.focusable,fn=qe.activeItem,dt=qe.focused,Bt=qe.tabIndex,Et=qe.onKeyDown,tn=qe.onFocus,Vt=qe.onBlur,sn=qe.onActiveChange,Un=qe.onListChangeStart,pn=qe.onListChangeEnd,rn=(0,ne.Z)(qe,Ue),$n=y.useRef(null),_t=y.useRef(null);y.useImperativeHandle(lt,function(){return{scrollTo:function(er){$n.current.scrollTo(er)},getIndentWidth:function(){return _t.current.offsetWidth}}});var kt=y.useState(Le),Jt=(0,ee.Z)(kt,2),Ea=Jt[0],qn=Jt[1],Rn=y.useState(Oe),Ga=(0,ee.Z)(Rn,2),La=Ga[0],Ar=Ga[1],Cr=y.useState(Oe),Qa=(0,ee.Z)(Cr,2),tt=Qa[0],Rt=Qa[1],Dt=y.useState([]),Zn=(0,ee.Z)(Dt,2),cn=Zn[0],On=Zn[1],Xr=y.useState(null),Er=(0,ee.Z)(Xr,2),Kr=Er[0],oo=Er[1],Xa=y.useRef(Oe);Xa.current=Oe;function In(){var sr=Xa.current;Ar(sr),Rt(sr),On([]),oo(null),pn()}(0,oe.Z)(function(){qn(Le);var sr=ft(Ea,Le);if(sr.key!==null)if(sr.add){var er=La.findIndex(function(mn){var Nn=mn.key;return Nn===sr.key}),ht=Yt(Be(La,Oe,sr.key),Ft,_e,ct),en=La.slice();en.splice(er+1,0,Tt),Rt(en),On(ht),oo("show")}else{var nn=Oe.findIndex(function(mn){var Nn=mn.key;return Nn===sr.key}),yn=Yt(Be(Oe,La,sr.key),Ft,_e,ct),Tn=Oe.slice();Tn.splice(nn+1,0,Tt),Rt(Tn),On(yn),oo("hide")}else La!==Oe&&(Ar(Oe),Rt(Oe))},[Le,Oe]),y.useEffect(function(){Se||In()},[Se]);var ur=Ae?tt:Oe,nr={expandedKeys:Le,selectedKeys:he,loadedKeys:We,loadingKeys:we,checkedKeys:je,halfCheckedKeys:mt,dragOverNodeKey:ut,dropPosition:wt,keyEntities:Je};return y.createElement(y.Fragment,null,dt&&fn&&y.createElement("span",{style:Ge,"aria-live":"assertive"},st(fn)),y.createElement("div",null,y.createElement("input",{style:Ge,disabled:zt===!1||jt,tabIndex:zt!==!1?Bt:null,onKeyDown:Et,onFocus:tn,onBlur:Vt,value:"",onChange:Ke,"aria-label":"for screen reader"})),y.createElement("div",{className:"".concat(it,"-treenode"),"aria-hidden":!0,style:{position:"absolute",pointerEvents:"none",visibility:"hidden",height:0,overflow:"hidden",border:0,padding:0}},y.createElement("div",{className:"".concat(it,"-indent")},y.createElement("div",{ref:_t,className:"".concat(it,"-indent-unit")}))),y.createElement(ae.Z,(0,z.Z)({},rn,{data:ur,itemKey:Xe,height:_e,fullHeight:!1,virtual:Ft,itemHeight:ct,prefixCls:"".concat(it,"-list"),ref:$n,onVisibleChange:function(er,ht){var en=new Set(er),nn=ht.filter(function(yn){return!en.has(yn)});nn.some(function(yn){return Xe(yn)===rt})&&In()}}),function(sr){var er=sr.pos,ht=(0,z.Z)({},(x(sr.data),sr.data)),en=sr.title,nn=sr.key,yn=sr.isStart,Tn=sr.isEnd,mn=(0,Pe.km)(nn,er);delete ht.key,delete ht.children;var Nn=(0,Pe.H8)(mn,nr);return y.createElement(ze,(0,z.Z)({},ht,Nn,{title:en,active:!!fn&&nn===fn.key,pos:er,data:sr.data,isStart:yn,isEnd:Tn,motion:Ae,motionNodes:nn===rt?cn:null,motionType:Kr,onMotionStart:Un,onMotionEnd:In,treeNodeRequiredProps:nr,onMouseMove:function(){sn(null)}}))}))});Lt.displayName="NodeList";var It=Lt,St=te(35654),dn=te(90782),Fe=te(67841),Xt=10,Kt=function(qe){(0,He.Z)(it,qe);var lt=(0,ke.Z)(it);function it(){var Oe;(0,Ne.Z)(this,it);for(var pt=arguments.length,gt=new Array(pt),Le=0;Le<pt;Le++)gt[Le]=arguments[Le];return Oe=lt.call.apply(lt,[this].concat(gt)),Oe.destroyed=!1,Oe.delayedDragEnterLogic=void 0,Oe.loadingRetryTimes={},Oe.state={keyEntities:{},indent:null,selectedKeys:[],checkedKeys:[],halfCheckedKeys:[],loadedKeys:[],loadingKeys:[],expandedKeys:[],draggingNodeKey:null,dragChildrenKeys:[],dropTargetKey:null,dropPosition:null,dropContainerKey:null,dropLevelOffset:null,dropTargetPos:null,dropAllowed:!0,dragOverNodeKey:null,treeData:[],flattenNodes:[],focused:!1,activeKey:null,listChanging:!1,prevProps:null,fieldNames:(0,Pe.w$)()},Oe.dragStartMousePosition=null,Oe.dragNode=void 0,Oe.currentMouseOverDroppableNodeKey=null,Oe.listRef=y.createRef(),Oe.onNodeDragStart=function(he,je){var We=Oe.state,we=We.expandedKeys,mt=We.keyEntities,Je=Oe.props.onDragStart,jt=je.props.eventKey;Oe.dragNode=je,Oe.dragStartMousePosition={x:he.clientX,y:he.clientY};var Se=(0,St._5)(we,jt);Oe.setState({draggingNodeKey:jt,dragChildrenKeys:(0,St.wA)(jt,mt),indent:Oe.listRef.current.getIndentWidth()}),Oe.setExpandedKeys(Se),window.addEventListener("dragend",Oe.onWindowDragEnd),Je==null||Je({event:he,node:(0,Pe.F)(je.props)})},Oe.onNodeDragEnter=function(he,je){var We=Oe.state,we=We.expandedKeys,mt=We.keyEntities,Je=We.dragChildrenKeys,jt=We.flattenNodes,Se=We.indent,ut=Oe.props,wt=ut.onDragEnter,Ae=ut.onExpand,_e=ut.allowDrop,ct=ut.direction,Ft=je.props,zt=Ft.pos,fn=Ft.eventKey,dt=(0,et.Z)(Oe),Bt=dt.dragNode;if(Oe.currentMouseOverDroppableNodeKey!==fn&&(Oe.currentMouseOverDroppableNodeKey=fn),!Bt){Oe.resetDragState();return}var Et=(0,St.OM)(he,Bt,je,Se,Oe.dragStartMousePosition,_e,jt,mt,we,ct),tn=Et.dropPosition,Vt=Et.dropLevelOffset,sn=Et.dropTargetKey,Un=Et.dropContainerKey,pn=Et.dropTargetPos,rn=Et.dropAllowed,$n=Et.dragOverNodeKey;if(Je.indexOf(sn)!==-1||!rn){Oe.resetDragState();return}if(Oe.delayedDragEnterLogic||(Oe.delayedDragEnterLogic={}),Object.keys(Oe.delayedDragEnterLogic).forEach(function(_t){clearTimeout(Oe.delayedDragEnterLogic[_t])}),Bt.props.eventKey!==je.props.eventKey&&(he.persist(),Oe.delayedDragEnterLogic[zt]=window.setTimeout(function(){if(Oe.state.draggingNodeKey!==null){var _t=(0,be.Z)(we),kt=(0,Fe.Z)(mt,je.props.eventKey);kt&&(kt.children||[]).length&&(_t=(0,St.L0)(we,je.props.eventKey)),"expandedKeys"in Oe.props||Oe.setExpandedKeys(_t),Ae==null||Ae(_t,{node:(0,Pe.F)(je.props),expanded:!0,nativeEvent:he.nativeEvent})}},800)),Bt.props.eventKey===sn&&Vt===0){Oe.resetDragState();return}Oe.setState({dragOverNodeKey:$n,dropPosition:tn,dropLevelOffset:Vt,dropTargetKey:sn,dropContainerKey:Un,dropTargetPos:pn,dropAllowed:rn}),wt==null||wt({event:he,node:(0,Pe.F)(je.props),expandedKeys:we})},Oe.onNodeDragOver=function(he,je){var We=Oe.state,we=We.dragChildrenKeys,mt=We.flattenNodes,Je=We.keyEntities,jt=We.expandedKeys,Se=We.indent,ut=Oe.props,wt=ut.onDragOver,Ae=ut.allowDrop,_e=ut.direction,ct=(0,et.Z)(Oe),Ft=ct.dragNode;if(Ft){var zt=(0,St.OM)(he,Ft,je,Se,Oe.dragStartMousePosition,Ae,mt,Je,jt,_e),fn=zt.dropPosition,dt=zt.dropLevelOffset,Bt=zt.dropTargetKey,Et=zt.dropContainerKey,tn=zt.dropAllowed,Vt=zt.dropTargetPos,sn=zt.dragOverNodeKey;we.indexOf(Bt)!==-1||!tn||(Ft.props.eventKey===Bt&&dt===0?Oe.state.dropPosition===null&&Oe.state.dropLevelOffset===null&&Oe.state.dropTargetKey===null&&Oe.state.dropContainerKey===null&&Oe.state.dropTargetPos===null&&Oe.state.dropAllowed===!1&&Oe.state.dragOverNodeKey===null||Oe.resetDragState():fn===Oe.state.dropPosition&&dt===Oe.state.dropLevelOffset&&Bt===Oe.state.dropTargetKey&&Et===Oe.state.dropContainerKey&&Vt===Oe.state.dropTargetPos&&tn===Oe.state.dropAllowed&&sn===Oe.state.dragOverNodeKey||Oe.setState({dropPosition:fn,dropLevelOffset:dt,dropTargetKey:Bt,dropContainerKey:Et,dropTargetPos:Vt,dropAllowed:tn,dragOverNodeKey:sn}),wt==null||wt({event:he,node:(0,Pe.F)(je.props)}))}},Oe.onNodeDragLeave=function(he,je){Oe.currentMouseOverDroppableNodeKey===je.props.eventKey&&!he.currentTarget.contains(he.relatedTarget)&&(Oe.resetDragState(),Oe.currentMouseOverDroppableNodeKey=null);var We=Oe.props.onDragLeave;We==null||We({event:he,node:(0,Pe.F)(je.props)})},Oe.onWindowDragEnd=function(he){Oe.onNodeDragEnd(he,null,!0),window.removeEventListener("dragend",Oe.onWindowDragEnd)},Oe.onNodeDragEnd=function(he,je){var We=Oe.props.onDragEnd;Oe.setState({dragOverNodeKey:null}),Oe.cleanDragState(),We==null||We({event:he,node:(0,Pe.F)(je.props)}),Oe.dragNode=null,window.removeEventListener("dragend",Oe.onWindowDragEnd)},Oe.onNodeDrop=function(he,je){var We,we=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1,mt=Oe.state,Je=mt.dragChildrenKeys,jt=mt.dropPosition,Se=mt.dropTargetKey,ut=mt.dropTargetPos,wt=mt.dropAllowed;if(wt){var Ae=Oe.props.onDrop;if(Oe.setState({dragOverNodeKey:null}),Oe.cleanDragState(),Se!==null){var _e=(0,Ie.Z)((0,Ie.Z)({},(0,Pe.H8)(Se,Oe.getTreeNodeRequiredProps())),{},{active:((We=Oe.getActiveItem())===null||We===void 0?void 0:We.key)===Se,data:(0,Fe.Z)(Oe.state.keyEntities,Se).node}),ct=Je.indexOf(Se)!==-1;(0,a.ZP)(!ct,"Can not drop to dragNode's children node. This is a bug of rc-tree. Please report an issue.");var Ft=(0,St.yx)(ut),zt={event:he,node:(0,Pe.F)(_e),dragNode:Oe.dragNode?(0,Pe.F)(Oe.dragNode.props):null,dragNodesKeys:[Oe.dragNode.props.eventKey].concat(Je),dropToGap:jt!==0,dropPosition:jt+Number(Ft[Ft.length-1])};we||Ae==null||Ae(zt),Oe.dragNode=null}}},Oe.cleanDragState=function(){var he=Oe.state.draggingNodeKey;he!==null&&Oe.setState({draggingNodeKey:null,dropPosition:null,dropContainerKey:null,dropTargetKey:null,dropLevelOffset:null,dropAllowed:!0,dragOverNodeKey:null}),Oe.dragStartMousePosition=null,Oe.currentMouseOverDroppableNodeKey=null},Oe.triggerExpandActionExpand=function(he,je){var We=Oe.state,we=We.expandedKeys,mt=We.flattenNodes,Je=je.expanded,jt=je.key,Se=je.isLeaf;if(!(Se||he.shiftKey||he.metaKey||he.ctrlKey)){var ut=mt.filter(function(Ae){return Ae.key===jt})[0],wt=(0,Pe.F)((0,Ie.Z)((0,Ie.Z)({},(0,Pe.H8)(jt,Oe.getTreeNodeRequiredProps())),{},{data:ut.data}));Oe.setExpandedKeys(Je?(0,St._5)(we,jt):(0,St.L0)(we,jt)),Oe.onNodeExpand(he,wt)}},Oe.onNodeClick=function(he,je){var We=Oe.props,we=We.onClick,mt=We.expandAction;mt==="click"&&Oe.triggerExpandActionExpand(he,je),we==null||we(he,je)},Oe.onNodeDoubleClick=function(he,je){var We=Oe.props,we=We.onDoubleClick,mt=We.expandAction;mt==="doubleClick"&&Oe.triggerExpandActionExpand(he,je),we==null||we(he,je)},Oe.onNodeSelect=function(he,je){var We=Oe.state.selectedKeys,we=Oe.state,mt=we.keyEntities,Je=we.fieldNames,jt=Oe.props,Se=jt.onSelect,ut=jt.multiple,wt=je.selected,Ae=je[Je.key],_e=!wt;_e?ut?We=(0,St.L0)(We,Ae):We=[Ae]:We=(0,St._5)(We,Ae);var ct=We.map(function(Ft){var zt=(0,Fe.Z)(mt,Ft);return zt?zt.node:null}).filter(function(Ft){return Ft});Oe.setUncontrolledState({selectedKeys:We}),Se==null||Se(We,{event:"select",selected:_e,node:je,selectedNodes:ct,nativeEvent:he.nativeEvent})},Oe.onNodeCheck=function(he,je,We){var we=Oe.state,mt=we.keyEntities,Je=we.checkedKeys,jt=we.halfCheckedKeys,Se=Oe.props,ut=Se.checkStrictly,wt=Se.onCheck,Ae=je.key,_e,ct={event:"check",node:je,checked:We,nativeEvent:he.nativeEvent};if(ut){var Ft=We?(0,St.L0)(Je,Ae):(0,St._5)(Je,Ae),zt=(0,St._5)(jt,Ae);_e={checked:Ft,halfChecked:zt},ct.checkedNodes=Ft.map(function(Vt){return(0,Fe.Z)(mt,Vt)}).filter(function(Vt){return Vt}).map(function(Vt){return Vt.node}),Oe.setUncontrolledState({checkedKeys:Ft})}else{var fn=(0,dn.S)([].concat((0,be.Z)(Je),[Ae]),!0,mt),dt=fn.checkedKeys,Bt=fn.halfCheckedKeys;if(!We){var Et=new Set(dt);Et.delete(Ae);var tn=(0,dn.S)(Array.from(Et),{checked:!1,halfCheckedKeys:Bt},mt);dt=tn.checkedKeys,Bt=tn.halfCheckedKeys}_e=dt,ct.checkedNodes=[],ct.checkedNodesPositions=[],ct.halfCheckedKeys=Bt,dt.forEach(function(Vt){var sn=(0,Fe.Z)(mt,Vt);if(sn){var Un=sn.node,pn=sn.pos;ct.checkedNodes.push(Un),ct.checkedNodesPositions.push({node:Un,pos:pn})}}),Oe.setUncontrolledState({checkedKeys:dt},!1,{halfCheckedKeys:Bt})}wt==null||wt(_e,ct)},Oe.onNodeLoad=function(he){var je=he.key,We=new Promise(function(we,mt){Oe.setState(function(Je){var jt=Je.loadedKeys,Se=jt===void 0?[]:jt,ut=Je.loadingKeys,wt=ut===void 0?[]:ut,Ae=Oe.props,_e=Ae.loadData,ct=Ae.onLoad;if(!_e||Se.indexOf(je)!==-1||wt.indexOf(je)!==-1)return null;var Ft=_e(he);return Ft.then(function(){var zt=Oe.state.loadedKeys,fn=(0,St.L0)(zt,je);ct==null||ct(fn,{event:"load",node:he}),Oe.setUncontrolledState({loadedKeys:fn}),Oe.setState(function(dt){return{loadingKeys:(0,St._5)(dt.loadingKeys,je)}}),we()}).catch(function(zt){if(Oe.setState(function(dt){return{loadingKeys:(0,St._5)(dt.loadingKeys,je)}}),Oe.loadingRetryTimes[je]=(Oe.loadingRetryTimes[je]||0)+1,Oe.loadingRetryTimes[je]>=Xt){var fn=Oe.state.loadedKeys;(0,a.ZP)(!1,"Retry for `loadData` many times but still failed. No more retry."),Oe.setUncontrolledState({loadedKeys:(0,St.L0)(fn,je)}),we()}mt(zt)}),{loadingKeys:(0,St.L0)(wt,je)}})});return We.catch(function(){}),We},Oe.onNodeMouseEnter=function(he,je){var We=Oe.props.onMouseEnter;We==null||We({event:he,node:je})},Oe.onNodeMouseLeave=function(he,je){var We=Oe.props.onMouseLeave;We==null||We({event:he,node:je})},Oe.onNodeContextMenu=function(he,je){var We=Oe.props.onRightClick;We&&(he.preventDefault(),We({event:he,node:je}))},Oe.onFocus=function(){var he=Oe.props.onFocus;Oe.setState({focused:!0});for(var je=arguments.length,We=new Array(je),we=0;we<je;we++)We[we]=arguments[we];he==null||he.apply(void 0,We)},Oe.onBlur=function(){var he=Oe.props.onBlur;Oe.setState({focused:!1}),Oe.onActiveChange(null);for(var je=arguments.length,We=new Array(je),we=0;we<je;we++)We[we]=arguments[we];he==null||he.apply(void 0,We)},Oe.getTreeNodeRequiredProps=function(){var he=Oe.state,je=he.expandedKeys,We=he.selectedKeys,we=he.loadedKeys,mt=he.loadingKeys,Je=he.checkedKeys,jt=he.halfCheckedKeys,Se=he.dragOverNodeKey,ut=he.dropPosition,wt=he.keyEntities;return{expandedKeys:je||[],selectedKeys:We||[],loadedKeys:we||[],loadingKeys:mt||[],checkedKeys:Je||[],halfCheckedKeys:jt||[],dragOverNodeKey:Se,dropPosition:ut,keyEntities:wt}},Oe.setExpandedKeys=function(he){var je=Oe.state,We=je.treeData,we=je.fieldNames,mt=(0,Pe.oH)(We,he,we);Oe.setUncontrolledState({expandedKeys:he,flattenNodes:mt},!0)},Oe.onNodeExpand=function(he,je){var We=Oe.state.expandedKeys,we=Oe.state,mt=we.listChanging,Je=we.fieldNames,jt=Oe.props,Se=jt.onExpand,ut=jt.loadData,wt=je.expanded,Ae=je[Je.key];if(!mt){var _e=We.indexOf(Ae),ct=!wt;if((0,a.ZP)(wt&&_e!==-1||!wt&&_e===-1,"Expand state not sync with index check"),ct?We=(0,St.L0)(We,Ae):We=(0,St._5)(We,Ae),Oe.setExpandedKeys(We),Se==null||Se(We,{node:je,expanded:ct,nativeEvent:he.nativeEvent}),ct&&ut){var Ft=Oe.onNodeLoad(je);Ft&&Ft.then(function(){var zt=(0,Pe.oH)(Oe.state.treeData,We,Je);Oe.setUncontrolledState({flattenNodes:zt})}).catch(function(){var zt=Oe.state.expandedKeys,fn=(0,St._5)(zt,Ae);Oe.setExpandedKeys(fn)})}}},Oe.onListChangeStart=function(){Oe.setUncontrolledState({listChanging:!0})},Oe.onListChangeEnd=function(){setTimeout(function(){Oe.setUncontrolledState({listChanging:!1})})},Oe.onActiveChange=function(he){var je=Oe.state.activeKey,We=Oe.props.onActiveChange;je!==he&&(Oe.setState({activeKey:he}),he!==null&&Oe.scrollTo({key:he}),We==null||We(he))},Oe.getActiveItem=function(){var he=Oe.state,je=he.activeKey,We=he.flattenNodes;return je===null?null:We.find(function(we){var mt=we.key;return mt===je})||null},Oe.offsetActiveKey=function(he){var je=Oe.state,We=je.flattenNodes,we=je.activeKey,mt=We.findIndex(function(Se){var ut=Se.key;return ut===we});mt===-1&&he<0&&(mt=We.length),mt=(mt+he+We.length)%We.length;var Je=We[mt];if(Je){var jt=Je.key;Oe.onActiveChange(jt)}else Oe.onActiveChange(null)},Oe.onKeyDown=function(he){var je=Oe.state,We=je.activeKey,we=je.expandedKeys,mt=je.checkedKeys,Je=je.fieldNames,jt=Oe.props,Se=jt.onKeyDown,ut=jt.checkable,wt=jt.selectable;switch(he.which){case ye.Z.UP:{Oe.offsetActiveKey(-1),he.preventDefault();break}case ye.Z.DOWN:{Oe.offsetActiveKey(1),he.preventDefault();break}}var Ae=Oe.getActiveItem();if(Ae&&Ae.data){var _e=Oe.getTreeNodeRequiredProps(),ct=Ae.data.isLeaf===!1||!!(Ae.data[Je.children]||[]).length,Ft=(0,Pe.F)((0,Ie.Z)((0,Ie.Z)({},(0,Pe.H8)(We,_e)),{},{data:Ae.data,active:!0}));switch(he.which){case ye.Z.LEFT:{ct&&we.includes(We)?Oe.onNodeExpand({},Ft):Ae.parent&&Oe.onActiveChange(Ae.parent.key),he.preventDefault();break}case ye.Z.RIGHT:{ct&&!we.includes(We)?Oe.onNodeExpand({},Ft):Ae.children&&Ae.children.length&&Oe.onActiveChange(Ae.children[0].key),he.preventDefault();break}case ye.Z.ENTER:case ye.Z.SPACE:{ut&&!Ft.disabled&&Ft.checkable!==!1&&!Ft.disableCheckbox?Oe.onNodeCheck({},Ft,!mt.includes(We)):!ut&&wt&&!Ft.disabled&&Ft.selectable!==!1&&Oe.onNodeSelect({},Ft);break}}}Se==null||Se(he)},Oe.setUncontrolledState=function(he){var je=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,We=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null;if(!Oe.destroyed){var we=!1,mt=!0,Je={};Object.keys(he).forEach(function(jt){if(jt in Oe.props){mt=!1;return}we=!0,Je[jt]=he[jt]}),we&&(!je||mt)&&Oe.setState((0,Ie.Z)((0,Ie.Z)({},Je),We))}},Oe.scrollTo=function(he){Oe.listRef.current.scrollTo(he)},Oe}return(0,ie.Z)(it,[{key:"componentDidMount",value:function(){this.destroyed=!1,this.onUpdated()}},{key:"componentDidUpdate",value:function(){this.onUpdated()}},{key:"onUpdated",value:function(){var pt=this.props.activeKey;pt!==void 0&&pt!==this.state.activeKey&&(this.setState({activeKey:pt}),pt!==null&&this.scrollTo({key:pt}))}},{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 pt,gt=this.state,Le=gt.focused,he=gt.flattenNodes,je=gt.keyEntities,We=gt.draggingNodeKey,we=gt.activeKey,mt=gt.dropLevelOffset,Je=gt.dropContainerKey,jt=gt.dropTargetKey,Se=gt.dropPosition,ut=gt.dragOverNodeKey,wt=gt.indent,Ae=this.props,_e=Ae.prefixCls,ct=Ae.className,Ft=Ae.style,zt=Ae.showLine,fn=Ae.focusable,dt=Ae.tabIndex,Bt=dt===void 0?0:dt,Et=Ae.selectable,tn=Ae.showIcon,Vt=Ae.icon,sn=Ae.switcherIcon,Un=Ae.draggable,pn=Ae.checkable,rn=Ae.checkStrictly,$n=Ae.disabled,_t=Ae.motion,kt=Ae.loadData,Jt=Ae.filterTreeNode,Ea=Ae.height,qn=Ae.itemHeight,Rn=Ae.virtual,Ga=Ae.titleRender,La=Ae.dropIndicatorRender,Ar=Ae.onContextMenu,Cr=Ae.onScroll,Qa=Ae.direction,tt=Ae.rootClassName,Rt=Ae.rootStyle,Dt=(0,re.Z)(this.props,{aria:!0,data:!0}),Zn;return Un&&((0,ve.Z)(Un)==="object"?Zn=Un:typeof Un=="function"?Zn={nodeDraggable:Un}:Zn={}),y.createElement(b.k.Provider,{value:{prefixCls:_e,selectable:Et,showIcon:tn,icon:Vt,switcherIcon:sn,draggable:Zn,draggingNodeKey:We,checkable:pn,checkStrictly:rn,disabled:$n,keyEntities:je,dropLevelOffset:mt,dropContainerKey:Je,dropTargetKey:jt,dropPosition:Se,dragOverNodeKey:ut,indent:wt,direction:Qa,dropIndicatorRender:La,loadData:kt,filterTreeNode:Jt,titleRender:Ga,onNodeClick:this.onNodeClick,onNodeDoubleClick:this.onNodeDoubleClick,onNodeExpand:this.onNodeExpand,onNodeSelect:this.onNodeSelect,onNodeCheck:this.onNodeCheck,onNodeLoad:this.onNodeLoad,onNodeMouseEnter:this.onNodeMouseEnter,onNodeMouseLeave:this.onNodeMouseLeave,onNodeContextMenu:this.onNodeContextMenu,onNodeDragStart:this.onNodeDragStart,onNodeDragEnter:this.onNodeDragEnter,onNodeDragOver:this.onNodeDragOver,onNodeDragLeave:this.onNodeDragLeave,onNodeDragEnd:this.onNodeDragEnd,onNodeDrop:this.onNodeDrop}},y.createElement("div",{role:"tree",className:Me()(_e,ct,tt,(pt={},(0,se.Z)(pt,"".concat(_e,"-show-line"),zt),(0,se.Z)(pt,"".concat(_e,"-focused"),Le),(0,se.Z)(pt,"".concat(_e,"-active-focused"),we!==null),pt)),style:Rt},y.createElement(It,(0,z.Z)({ref:this.listRef,prefixCls:_e,style:Ft,data:he,disabled:$n,selectable:Et,checkable:!!pn,motion:_t,dragging:We!==null,height:Ea,itemHeight:qn,virtual:Rn,focusable:fn,focused:Le,tabIndex:Bt,activeItem:this.getActiveItem(),onFocus:this.onFocus,onBlur:this.onBlur,onKeyDown:this.onKeyDown,onActiveChange:this.onActiveChange,onListChangeStart:this.onListChangeStart,onListChangeEnd:this.onListChangeEnd,onContextMenu:Ar,onScroll:Cr},this.getTreeNodeRequiredProps(),Dt))))}}],[{key:"getDerivedStateFromProps",value:function(pt,gt){var Le=gt.prevProps,he={prevProps:pt};function je(fn){return!Le&&fn in pt||Le&&Le[fn]!==pt[fn]}var We,we=gt.fieldNames;if(je("fieldNames")&&(we=(0,Pe.w$)(pt.fieldNames),he.fieldNames=we),je("treeData")?We=pt.treeData:je("children")&&((0,a.ZP)(!1,"`children` of Tree is deprecated. Please use `treeData` instead."),We=(0,Pe.zn)(pt.children)),We){he.treeData=We;var mt=(0,Pe.I8)(We,{fieldNames:we});he.keyEntities=(0,Ie.Z)((0,se.Z)({},rt,vt),mt.keyEntities)}var Je=he.keyEntities||gt.keyEntities;if(je("expandedKeys")||Le&&je("autoExpandParent"))he.expandedKeys=pt.autoExpandParent||!Le&&pt.defaultExpandParent?(0,St.r7)(pt.expandedKeys,Je):pt.expandedKeys;else if(!Le&&pt.defaultExpandAll){var jt=(0,Ie.Z)({},Je);delete jt[rt],he.expandedKeys=Object.keys(jt).map(function(fn){return jt[fn].key})}else!Le&&pt.defaultExpandedKeys&&(he.expandedKeys=pt.autoExpandParent||pt.defaultExpandParent?(0,St.r7)(pt.defaultExpandedKeys,Je):pt.defaultExpandedKeys);if(he.expandedKeys||delete he.expandedKeys,We||he.expandedKeys){var Se=(0,Pe.oH)(We||gt.treeData,he.expandedKeys||gt.expandedKeys,we);he.flattenNodes=Se}if(pt.selectable&&(je("selectedKeys")?he.selectedKeys=(0,St.BT)(pt.selectedKeys,pt):!Le&&pt.defaultSelectedKeys&&(he.selectedKeys=(0,St.BT)(pt.defaultSelectedKeys,pt))),pt.checkable){var ut;if(je("checkedKeys")?ut=(0,St.E6)(pt.checkedKeys)||{}:!Le&&pt.defaultCheckedKeys?ut=(0,St.E6)(pt.defaultCheckedKeys)||{}:We&&(ut=(0,St.E6)(pt.checkedKeys)||{checkedKeys:gt.checkedKeys,halfCheckedKeys:gt.halfCheckedKeys}),ut){var wt=ut,Ae=wt.checkedKeys,_e=Ae===void 0?[]:Ae,ct=wt.halfCheckedKeys,Ft=ct===void 0?[]:ct;if(!pt.checkStrictly){var zt=(0,dn.S)(_e,!0,Je);_e=zt.checkedKeys,Ft=zt.halfCheckedKeys}he.checkedKeys=_e,he.halfCheckedKeys=Ft}}return je("loadedKeys")&&(he.loadedKeys=pt.loadedKeys),he}}]),it}(y.Component);Kt.defaultProps={prefixCls:"rc-tree",showLine:!1,showIcon:!0,selectable:!0,multiple:!1,checkable:!1,disabled:!1,checkStrictly:!1,draggable:!1,defaultExpandParent:!0,autoExpandParent:!1,defaultExpandAll:!1,defaultExpandedKeys:[],defaultCheckedKeys:[],defaultSelectedKeys:[],dropIndicatorRender:E,allowDrop:function(){return!0},expandAction:!1},Kt.TreeNode=me.Z;var jn=Kt,Pt=jn},35654:function(bt,yt,te){"use strict";te.d(yt,{BT:function(){return y},E6:function(){return x},L0:function(){return ke},OM:function(){return a},_5:function(){return He},r7:function(){return ee},wA:function(){return Me},yx:function(){return Ze}});var z=te(15142),se=te(26420),ve=te(48736),Ie=te(59301),be=te(39417),Ne=te(67841),ie=te(71430),et=null;function He(ne,oe){if(!ne)return[];var ae=ne.slice(),ue=ae.indexOf(oe);return ue>=0&&ae.splice(ue,1),ae}function ke(ne,oe){var ae=(ne||[]).slice();return ae.indexOf(oe)===-1&&ae.push(oe),ae}function Ze(ne){return ne.split("-")}function Me(ne,oe){var ae=[],ue=(0,Ne.Z)(oe,ne);function me(){var fe=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];fe.forEach(function(Pe){var xe=Pe.key,Ee=Pe.children;ae.push(xe),me(Ee)})}return me(ue.children),ae}function ye(ne){if(ne.parent){var oe=Ze(ne.pos);return Number(oe[oe.length-1])===ne.parent.children.length-1}return!1}function re(ne){var oe=Ze(ne.pos);return Number(oe[oe.length-1])===0}function a(ne,oe,ae,ue,me,fe,Pe,xe,Ee,De){var ze,ft=ne.clientX,Be=ne.clientY,Ue=ne.target.getBoundingClientRect(),Ge=Ue.top,Ke=Ue.height,rt=(De==="rtl"?-1:1)*(((me==null?void 0:me.x)||0)-ft),nt=(rt-12)/ue,vt=(0,Ne.Z)(xe,ae.props.eventKey);if(Be<Ge+Ke/2){var Tt=Pe.findIndex(function(Pt){return Pt.key===vt.key}),Yt=Tt<=0?0:Tt-1,Xe=Pe[Yt].key;vt=(0,Ne.Z)(xe,Xe)}var st=vt.key,Lt=vt,It=vt.key,St=0,dn=0;if(!Ee.includes(st))for(var Fe=0;Fe<nt&&ye(vt);Fe+=1)vt=vt.parent,dn+=1;var Xt=oe.props.data,Kt=vt.node,jn=!0;return re(vt)&&vt.level===0&&Be<Ge+Ke/2&&fe({dragNode:Xt,dropNode:Kt,dropPosition:-1})&&vt.key===ae.props.eventKey?St=-1:(Lt.children||[]).length&&Ee.includes(It)?fe({dragNode:Xt,dropNode:Kt,dropPosition:0})?St=0:jn=!1:dn===0?nt>-1.5?fe({dragNode:Xt,dropNode:Kt,dropPosition:1})?St=1:jn=!1:fe({dragNode:Xt,dropNode:Kt,dropPosition:0})?St=0:fe({dragNode:Xt,dropNode:Kt,dropPosition:1})?St=1:jn=!1:fe({dragNode:Xt,dropNode:Kt,dropPosition:1})?St=1:jn=!1,{dropPosition:St,dropLevelOffset:dn,dropTargetKey:vt.key,dropTargetPos:vt.pos,dragOverNodeKey:It,dropContainerKey:St===0?null:((ze=vt.parent)===null||ze===void 0?void 0:ze.key)||null,dropAllowed:jn}}function y(ne,oe){if(ne){var ae=oe.multiple;return ae?ne.slice():ne.length?[ne[0]]:ne}}var b=function(oe){return oe};function E(ne,oe){if(!ne)return[];var ae=oe||{},ue=ae.processProps,me=ue===void 0?b:ue,fe=Array.isArray(ne)?ne:[ne];return fe.map(function(Pe){var xe=Pe.children,Ee=_objectWithoutProperties(Pe,et),De=E(xe,oe);return React.createElement(TreeNode,_extends({key:Ee.key},me(Ee)),De)})}function x(ne){if(!ne)return null;var oe;if(Array.isArray(ne))oe={checkedKeys:ne,halfCheckedKeys:void 0};else if((0,se.Z)(ne)==="object")oe={checkedKeys:ne.checked||void 0,halfCheckedKeys:ne.halfChecked||void 0};else return(0,ve.ZP)(!1,"`checkedKeys` is not an array or an object"),null;return oe}function ee(ne,oe){var ae=new Set;function ue(me){if(!ae.has(me)){var fe=(0,Ne.Z)(oe,me);if(fe){ae.add(me);var Pe=fe.parent,xe=fe.node;xe.disabled||Pe&&ue(Pe.key)}}}return(ne||[]).forEach(function(me){ue(me)}),(0,z.Z)(ae)}},90782:function(bt,yt,te){"use strict";te.d(yt,{S:function(){return ie}});var z=te(48736),se=te(67841);function ve(et,He){var ke=new Set;return et.forEach(function(Ze){He.has(Ze)||ke.add(Ze)}),ke}function Ie(et){var He=et||{},ke=He.disabled,Ze=He.disableCheckbox,Me=He.checkable;return!!(ke||Ze)||Me===!1}function be(et,He,ke,Ze){for(var Me=new Set(et),ye=new Set,re=0;re<=ke;re+=1){var a=He.get(re)||new Set;a.forEach(function(x){var ee=x.key,ne=x.node,oe=x.children,ae=oe===void 0?[]:oe;Me.has(ee)&&!Ze(ne)&&ae.filter(function(ue){return!Ze(ue.node)}).forEach(function(ue){Me.add(ue.key)})})}for(var y=new Set,b=ke;b>=0;b-=1){var E=He.get(b)||new Set;E.forEach(function(x){var ee=x.parent,ne=x.node;if(!(Ze(ne)||!x.parent||y.has(x.parent.key))){if(Ze(x.parent.node)){y.add(ee.key);return}var oe=!0,ae=!1;(ee.children||[]).filter(function(ue){return!Ze(ue.node)}).forEach(function(ue){var me=ue.key,fe=Me.has(me);oe&&!fe&&(oe=!1),!ae&&(fe||ye.has(me))&&(ae=!0)}),oe&&Me.add(ee.key),ae&&ye.add(ee.key),y.add(ee.key)}})}return{checkedKeys:Array.from(Me),halfCheckedKeys:Array.from(ve(ye,Me))}}function Ne(et,He,ke,Ze,Me){for(var ye=new Set(et),re=new Set(He),a=0;a<=Ze;a+=1){var y=ke.get(a)||new Set;y.forEach(function(ee){var ne=ee.key,oe=ee.node,ae=ee.children,ue=ae===void 0?[]:ae;!ye.has(ne)&&!re.has(ne)&&!Me(oe)&&ue.filter(function(me){return!Me(me.node)}).forEach(function(me){ye.delete(me.key)})})}re=new Set;for(var b=new Set,E=Ze;E>=0;E-=1){var x=ke.get(E)||new Set;x.forEach(function(ee){var ne=ee.parent,oe=ee.node;if(!(Me(oe)||!ee.parent||b.has(ee.parent.key))){if(Me(ee.parent.node)){b.add(ne.key);return}var ae=!0,ue=!1;(ne.children||[]).filter(function(me){return!Me(me.node)}).forEach(function(me){var fe=me.key,Pe=ye.has(fe);ae&&!Pe&&(ae=!1),!ue&&(Pe||re.has(fe))&&(ue=!0)}),ae||ye.delete(ne.key),ue&&re.add(ne.key),b.add(ne.key)}})}return{checkedKeys:Array.from(ye),halfCheckedKeys:Array.from(ve(re,ye))}}function ie(et,He,ke,Ze){var Me=[],ye;Ze?ye=Ze:ye=Ie;var re=new Set(et.filter(function(E){var x=!!(0,se.Z)(ke,E);return x||Me.push(E),x})),a=new Map,y=0;Object.keys(ke).forEach(function(E){var x=ke[E],ee=x.level,ne=a.get(ee);ne||(ne=new Set,a.set(ee,ne)),ne.add(x),y=Math.max(y,ee)}),(0,z.ZP)(!Me.length,"Tree missing follow keys: ".concat(Me.slice(0,100).map(function(E){return"'".concat(E,"'")}).join(", ")));var b;return He===!0?b=be(re,a,y,ye):b=Ne(re,He.halfCheckedKeys,a,y,ye),b}},67841:function(bt,yt,te){"use strict";te.d(yt,{Z:function(){return z}});function z(se,ve){return se[ve]}},71430:function(bt,yt,te){"use strict";te.d(yt,{F:function(){return ee},H8:function(){return x},I8:function(){return E},km:function(){return Me},oH:function(){return y},w$:function(){return ye},zn:function(){return a}});var z=te(26420),se=te(15142),ve=te(98506),Ie=te(33346),be=te(11592),Ne=te(2738),ie=te(48736),et=te(67841),He=["children"];function ke(ne,oe){return"".concat(ne,"-").concat(oe)}function Ze(ne){return ne&&ne.type&&ne.type.isTreeNode}function Me(ne,oe){return ne!=null?ne:oe}function ye(ne){var oe=ne||{},ae=oe.title,ue=oe._title,me=oe.key,fe=oe.children,Pe=ae||"title";return{title:Pe,_title:ue||[Pe],key:me||"key",children:fe||"children"}}function re(ne,oe){var ae=new Map;function ue(me){var fe=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";(me||[]).forEach(function(Pe){var xe=Pe[oe.key],Ee=Pe[oe.children];warning(xe!=null,"Tree node must have a certain key: [".concat(fe).concat(xe,"]"));var De=String(xe);warning(!ae.has(De)||xe===null||xe===void 0,"Same 'key' exist in the Tree: ".concat(De)),ae.set(De,!0),ue(Ee,"".concat(fe).concat(De," > "))})}ue(ne)}function a(ne){function oe(ae){var ue=(0,be.Z)(ae);return ue.map(function(me){if(!Ze(me))return(0,ie.ZP)(!me,"Tree/TreeNode can only accept TreeNode as children."),null;var fe=me.key,Pe=me.props,xe=Pe.children,Ee=(0,Ie.Z)(Pe,He),De=(0,ve.Z)({key:fe},Ee),ze=oe(xe);return ze.length&&(De.children=ze),De}).filter(function(me){return me})}return oe(ne)}function y(ne,oe,ae){var ue=ye(ae),me=ue._title,fe=ue.key,Pe=ue.children,xe=new Set(oe===!0?[]:oe),Ee=[];function De(ze){var ft=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;return ze.map(function(Be,Ue){for(var Ge=ke(ft?ft.pos:"0",Ue),Ke=Me(Be[fe],Ge),rt,nt=0;nt<me.length;nt+=1){var vt=me[nt];if(Be[vt]!==void 0){rt=Be[vt];break}}var Tt=(0,ve.Z)((0,ve.Z)({},(0,Ne.Z)(Be,[].concat((0,se.Z)(me),[fe,Pe]))),{},{title:rt,key:Ke,parent:ft,pos:Ge,children:null,data:Be,isStart:[].concat((0,se.Z)(ft?ft.isStart:[]),[Ue===0]),isEnd:[].concat((0,se.Z)(ft?ft.isEnd:[]),[Ue===ze.length-1])});return Ee.push(Tt),oe===!0||xe.has(Ke)?Tt.children=De(Be[Pe]||[],Tt):Tt.children=[],Tt})}return De(ne),Ee}function b(ne,oe,ae){var ue={};(0,z.Z)(ae)==="object"?ue=ae:ue={externalGetKey:ae},ue=ue||{};var me=ue,fe=me.childrenPropName,Pe=me.externalGetKey,xe=me.fieldNames,Ee=ye(xe),De=Ee.key,ze=Ee.children,ft=fe||ze,Be;Pe?typeof Pe=="string"?Be=function(Ke){return Ke[Pe]}:typeof Pe=="function"&&(Be=function(Ke){return Pe(Ke)}):Be=function(Ke,rt){return Me(Ke[De],rt)};function Ue(Ge,Ke,rt,nt){var vt=Ge?Ge[ft]:ne,Tt=Ge?ke(rt.pos,Ke):"0",Yt=Ge?[].concat((0,se.Z)(nt),[Ge]):[];if(Ge){var Xe=Be(Ge,Tt),st={node:Ge,index:Ke,pos:Tt,key:Xe,parentPos:rt.node?rt.pos:null,level:rt.level+1,nodes:Yt};oe(st)}vt&&vt.forEach(function(Lt,It){Ue(Lt,It,{node:Ge,pos:Tt,level:rt?rt.level+1:-1},Yt)})}Ue(null)}function E(ne){var oe=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},ae=oe.initWrapper,ue=oe.processEntity,me=oe.onProcessFinished,fe=oe.externalGetKey,Pe=oe.childrenPropName,xe=oe.fieldNames,Ee=arguments.length>2?arguments[2]:void 0,De=fe||Ee,ze={},ft={},Be={posEntities:ze,keyEntities:ft};return ae&&(Be=ae(Be)||Be),b(ne,function(Ue){var Ge=Ue.node,Ke=Ue.index,rt=Ue.pos,nt=Ue.key,vt=Ue.parentPos,Tt=Ue.level,Yt=Ue.nodes,Xe={node:Ge,nodes:Yt,index:Ke,key:nt,pos:rt,level:Tt},st=Me(nt,rt);ze[rt]=Xe,ft[st]=Xe,Xe.parent=ze[vt],Xe.parent&&(Xe.parent.children=Xe.parent.children||[],Xe.parent.children.push(Xe)),ue&&ue(Xe,Be)},{externalGetKey:De,childrenPropName:Pe,fieldNames:xe}),me&&me(Be),Be}function x(ne,oe){var ae=oe.expandedKeys,ue=oe.selectedKeys,me=oe.loadedKeys,fe=oe.loadingKeys,Pe=oe.checkedKeys,xe=oe.halfCheckedKeys,Ee=oe.dragOverNodeKey,De=oe.dropPosition,ze=oe.keyEntities,ft=(0,et.Z)(ze,ne),Be={eventKey:ne,expanded:ae.indexOf(ne)!==-1,selected:ue.indexOf(ne)!==-1,loaded:me.indexOf(ne)!==-1,loading:fe.indexOf(ne)!==-1,checked:Pe.indexOf(ne)!==-1,halfChecked:xe.indexOf(ne)!==-1,pos:String(ft?ft.pos:""),dragOver:Ee===ne&&De===0,dragOverGapTop:Ee===ne&&De===-1,dragOverGapBottom:Ee===ne&&De===1};return Be}function ee(ne){var oe=ne.data,ae=ne.expanded,ue=ne.selected,me=ne.checked,fe=ne.loaded,Pe=ne.loading,xe=ne.halfChecked,Ee=ne.dragOver,De=ne.dragOverGapTop,ze=ne.dragOverGapBottom,ft=ne.pos,Be=ne.active,Ue=ne.eventKey,Ge=(0,ve.Z)((0,ve.Z)({},oe),{},{expanded:ae,selected:ue,checked:me,loaded:fe,loading:Pe,halfChecked:xe,dragOver:Ee,dragOverGapTop:De,dragOverGapBottom:ze,pos:ft,active:Be,key:Ue});return"props"in Ge||Object.defineProperty(Ge,"props",{get:function(){return(0,ie.ZP)(!1,"Second param return from event is node data instead of TreeNode instance. Please read value directly instead of reading from `props`."),ne}}),Ge}},8224:function(bt,yt,te){"use strict";te.d(yt,{Z:function(){return se}});var z=te(4676);function se(ve,Ie,be,Ne){var ie=z.unstable_batchedUpdates?function(He){z.unstable_batchedUpdates(be,He)}:be;return ve!=null&&ve.addEventListener&&ve.addEventListener(Ie,ie,Ne),{remove:function(){ve!=null&&ve.removeEventListener&&ve.removeEventListener(Ie,ie,Ne)}}}},55468:function(bt,yt,te){"use strict";te.d(yt,{g1:function(){return Ze},os:function(){return ye}});var z=/margin|padding|width|height|max|min|offset/,se={left:!0,top:!0},ve={cssFloat:1,styleFloat:1,float:1};function Ie(re){return re.nodeType===1?re.ownerDocument.defaultView.getComputedStyle(re,null):{}}function be(re,a,y){if(a=a.toLowerCase(),y==="auto"){if(a==="height")return re.offsetHeight;if(a==="width")return re.offsetWidth}return a in se||(se[a]=z.test(a)),se[a]?parseFloat(y)||0:y}function Ne(re,a){var y=arguments.length,b=Ie(re);return a=ve[a]?"cssFloat"in re.style?"cssFloat":"styleFloat":a,y===1?b:be(re,a,b[a]||re.style[a])}function ie(re,a,y){var b=arguments.length;if(a=ve[a]?"cssFloat"in re.style?"cssFloat":"styleFloat":a,b===3)return typeof y=="number"&&z.test(a)&&(y="".concat(y,"px")),re.style[a]=y,y;for(var E in a)a.hasOwnProperty(E)&&ie(re,E,a[E]);return Ie(re)}function et(re){return re===document.body?document.documentElement.clientWidth:re.offsetWidth}function He(re){return re===document.body?window.innerHeight||document.documentElement.clientHeight:re.offsetHeight}function ke(){var re=Math.max(document.documentElement.scrollWidth,document.body.scrollWidth),a=Math.max(document.documentElement.scrollHeight,document.body.scrollHeight);return{width:re,height:a}}function Ze(){var re=document.documentElement.clientWidth,a=window.innerHeight||document.documentElement.clientHeight;return{width:re,height:a}}function Me(){return{scrollLeft:Math.max(document.documentElement.scrollLeft,document.body.scrollLeft),scrollTop:Math.max(document.documentElement.scrollTop,document.body.scrollTop)}}function ye(re){var a=re.getBoundingClientRect(),y=document.documentElement;return{left:a.left+(window.pageXOffset||y.scrollLeft)-(y.clientLeft||document.body.clientLeft||0),top:a.top+(window.pageYOffset||y.scrollTop)-(y.clientTop||document.body.clientTop||0)}}},24514:function(bt,yt,te){"use strict";te.d(yt,{G:function(){return Ie}});var z=te(47273),se=function(Ne){if((0,z.Z)()&&window.document.documentElement){var ie=Array.isArray(Ne)?Ne:[Ne],et=window.document.documentElement;return ie.some(function(He){return He in et.style})}return!1},ve=function(Ne,ie){if(!se(Ne))return!1;var et=document.createElement("div"),He=et.style[Ne];return et.style[Ne]=ie,et.style[Ne]!==He};function Ie(be,Ne){return!Array.isArray(be)&&Ne!==void 0?ve(be,Ne):se(be)}},51581:function(bt,yt,te){"use strict";Object.defineProperty(yt,"__esModule",{value:!0});var z=function(){function Me(ye,re){for(var a=0;a<re.length;a++){var y=re[a];y.enumerable=y.enumerable||!1,y.configurable=!0,"value"in y&&(y.writable=!0),Object.defineProperty(ye,y.key,y)}}return function(ye,re,a){return re&&Me(ye.prototype,re),a&&Me(ye,a),ye}}(),se=te(59301),ve=Ne(se),Ie=te(12708),be=Ne(Ie);function Ne(Me){return Me&&Me.__esModule?Me:{default:Me}}function ie(Me,ye){var re={};for(var a in Me)ye.indexOf(a)>=0||Object.prototype.hasOwnProperty.call(Me,a)&&(re[a]=Me[a]);return re}function et(Me,ye){if(!(Me instanceof ye))throw new TypeError("Cannot call a class as a function")}function He(Me,ye){if(!Me)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return ye&&(typeof ye=="object"||typeof ye=="function")?ye:Me}function ke(Me,ye){if(typeof ye!="function"&&ye!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof ye);Me.prototype=Object.create(ye&&ye.prototype,{constructor:{value:Me,enumerable:!1,writable:!0,configurable:!0}}),ye&&(Object.setPrototypeOf?Object.setPrototypeOf(Me,ye):Me.__proto__=ye)}var Ze=function(Me){ke(ye,Me);function ye(re){et(this,ye);var a=He(this,(ye.__proto__||Object.getPrototypeOf(ye)).call(this,re));return a.scrollListener=a.scrollListener.bind(a),a.eventListenerOptions=a.eventListenerOptions.bind(a),a.mousewheelListener=a.mousewheelListener.bind(a),a}return z(ye,[{key:"componentDidMount",value:function(){this.pageLoaded=this.props.pageStart,this.options=this.eventListenerOptions(),this.attachScrollListener()}},{key:"componentDidUpdate",value:function(){if(this.props.isReverse&&this.loadMore){var a=this.getParentElement(this.scrollComponent);a.scrollTop=a.scrollHeight-this.beforeScrollHeight+this.beforeScrollTop,this.loadMore=!1}this.attachScrollListener()}},{key:"componentWillUnmount",value:function(){this.detachScrollListener(),this.detachMousewheelListener()}},{key:"isPassiveSupported",value:function(){var a=!1,y={get passive(){a=!0}};try{document.addEventListener("test",null,y),document.removeEventListener("test",null,y)}catch(b){}return a}},{key:"eventListenerOptions",value:function(){var a=this.props.useCapture;return this.isPassiveSupported()&&(a={useCapture:this.props.useCapture,passive:!0}),a}},{key:"setDefaultLoader",value:function(a){this.defaultLoader=a}},{key:"detachMousewheelListener",value:function(){var a=window;this.props.useWindow===!1&&(a=this.scrollComponent.parentNode),a.removeEventListener("mousewheel",this.mousewheelListener,this.options?this.options:this.props.useCapture)}},{key:"detachScrollListener",value:function(){var a=window;this.props.useWindow===!1&&(a=this.getParentElement(this.scrollComponent)),a.removeEventListener("scroll",this.scrollListener,this.options?this.options:this.props.useCapture),a.removeEventListener("resize",this.scrollListener,this.options?this.options:this.props.useCapture)}},{key:"getParentElement",value:function(a){var y=this.props.getScrollParent&&this.props.getScrollParent();return y!=null?y:a&&a.parentNode}},{key:"filterProps",value:function(a){return a}},{key:"attachScrollListener",value:function(){var a=this.getParentElement(this.scrollComponent);if(!(!this.props.hasMore||!a)){var y=window;this.props.useWindow===!1&&(y=a),y.addEventListener("mousewheel",this.mousewheelListener,this.options?this.options:this.props.useCapture),y.addEventListener("scroll",this.scrollListener,this.options?this.options:this.props.useCapture),y.addEventListener("resize",this.scrollListener,this.options?this.options:this.props.useCapture),this.props.initialLoad&&this.scrollListener()}}},{key:"mousewheelListener",value:function(a){a.deltaY===1&&!this.isPassiveSupported()&&a.preventDefault()}},{key:"scrollListener",value:function(){var a=this.scrollComponent,y=window,b=this.getParentElement(a),E=void 0;if(this.props.useWindow){var x=document.documentElement||document.body.parentNode||document.body,ee=y.pageYOffset!==void 0?y.pageYOffset:x.scrollTop;this.props.isReverse?E=ee:E=this.calculateOffset(a,ee)}else this.props.isReverse?E=b.scrollTop:E=a.scrollHeight-b.scrollTop-b.clientHeight;E<Number(this.props.threshold)&&a&&a.offsetParent!==null&&(this.detachScrollListener(),this.beforeScrollHeight=b.scrollHeight,this.beforeScrollTop=b.scrollTop,typeof this.props.loadMore=="function"&&(this.props.loadMore(this.pageLoaded+=1),this.loadMore=!0))}},{key:"calculateOffset",value:function(a,y){return a?this.calculateTopPosition(a)+(a.offsetHeight-y-window.innerHeight):0}},{key:"calculateTopPosition",value:function(a){return a?a.offsetTop+this.calculateTopPosition(a.offsetParent):0}},{key:"render",value:function(){var a=this,y=this.filterProps(this.props),b=y.children,E=y.element,x=y.hasMore,ee=y.initialLoad,ne=y.isReverse,oe=y.loader,ae=y.loadMore,ue=y.pageStart,me=y.ref,fe=y.threshold,Pe=y.useCapture,xe=y.useWindow,Ee=y.getScrollParent,De=ie(y,["children","element","hasMore","initialLoad","isReverse","loader","loadMore","pageStart","ref","threshold","useCapture","useWindow","getScrollParent"]);De.ref=function(ft){a.scrollComponent=ft,me&&me(ft)};var ze=[b];return x&&(oe?ne?ze.unshift(oe):ze.push(oe):this.defaultLoader&&(ne?ze.unshift(this.defaultLoader):ze.push(this.defaultLoader))),ve.default.createElement(E,De,ze)}}]),ye}(se.Component);Ze.propTypes={children:be.default.node.isRequired,element:be.default.node,hasMore:be.default.bool,initialLoad:be.default.bool,isReverse:be.default.bool,loader:be.default.node,loadMore:be.default.func.isRequired,pageStart:be.default.number,ref:be.default.func,getScrollParent:be.default.func,threshold:be.default.number,useCapture:be.default.bool,useWindow:be.default.bool},Ze.defaultProps={element:"div",hasMore:!1,initialLoad:!0,pageStart:0,ref:null,threshold:250,useWindow:!0,isReverse:!1,useCapture:!1,loader:null,getScrollParent:null},yt.default=Ze,bt.exports=yt.default},26724:function(bt,yt,te){bt.exports=te(51581)},44589:function(bt,yt,te){"use strict";te.d(yt,{JN:function(){return Oe},Rp:function(){return ee},W8:function(){return Le}});var z=te(67711),se=te(16886),ve=te(19456),Ie=te(42573),be=te(58698),Ne=te(43011),ie=te(20456),et=te(74700),He=te(62437),ke=te(52873),Ze=te(59301),Me=te(12708),ye=te.n(Me),re=te(4676),a=te(44520),y=te.n(a),b=te(15142),E=function(){function he(){(0,Ie.Z)(this,he),(0,ke.Z)(this,"refs",{})}return(0,be.Z)(he,[{key:"add",value:function(We,we){this.refs[We]||(this.refs[We]=[]),this.refs[We].push(we)}},{key:"remove",value:function(We,we){var mt=this.getIndex(We,we);mt!==-1&&this.refs[We].splice(mt,1)}},{key:"isActive",value:function(){return this.active}},{key:"getActive",value:function(){var We=this;return this.refs[this.active.collection].find(function(we){var mt=we.node;return mt.sortableInfo.index==We.active.index})}},{key:"getIndex",value:function(We,we){return this.refs[We].indexOf(we)}},{key:"getOrderedRefs",value:function(){var We=arguments.length>0&&arguments[0]!==void 0?arguments[0]:this.active.collection;return this.refs[We].sort(x)}}]),he}();function x(he,je){var We=he.node.sortableInfo.index,we=je.node.sortableInfo.index;return We-we}function ee(he,je,We){return he=he.slice(),he.splice(We<0?he.length+We:We,0,he.splice(je,1)[0]),he}function ne(he,je){return Object.keys(he).reduce(function(We,we){return je.indexOf(we)===-1&&(We[we]=he[we]),We},{})}var oe={end:["touchend","touchcancel","mouseup"],move:["touchmove","mousemove"],start:["touchstart","mousedown"]},ae=function(){if(typeof window=="undefined"||typeof document=="undefined")return"";var he=window.getComputedStyle(document.documentElement,"")||["-moz-hidden-iframe"],je=(Array.prototype.slice.call(he).join("").match(/-(moz|webkit|ms)-/)||he.OLink===""&&["","o"])[1];switch(je){case"ms":return"ms";default:return je&&je.length?je[0].toUpperCase()+je.substr(1):""}}();function ue(he,je){Object.keys(je).forEach(function(We){he.style[We]=je[We]})}function me(he,je){he.style["".concat(ae,"Transform")]=je==null?"":"translate3d(".concat(je.x,"px,").concat(je.y,"px,0)")}function fe(he,je){he.style["".concat(ae,"TransitionDuration")]=je==null?"":"".concat(je,"ms")}function Pe(he,je){for(;he;){if(je(he))return he;he=he.parentNode}return null}function xe(he,je,We){return Math.max(he,Math.min(We,je))}function Ee(he){return he.substr(-2)==="px"?parseFloat(he):0}function De(he){var je=window.getComputedStyle(he);return{bottom:Ee(je.marginBottom),left:Ee(je.marginLeft),right:Ee(je.marginRight),top:Ee(je.marginTop)}}function ze(he,je){var We=je.displayName||je.name;return We?"".concat(he,"(").concat(We,")"):he}function ft(he,je){var We=he.getBoundingClientRect();return{top:We.top+je.top,left:We.left+je.left}}function Be(he){return he.touches&&he.touches.length?{x:he.touches[0].pageX,y:he.touches[0].pageY}:he.changedTouches&&he.changedTouches.length?{x:he.changedTouches[0].pageX,y:he.changedTouches[0].pageY}:{x:he.pageX,y:he.pageY}}function Ue(he){return he.touches&&he.touches.length||he.changedTouches&&he.changedTouches.length}function Ge(he,je){var We=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{left:0,top:0};if(he){var we={left:We.left+he.offsetLeft,top:We.top+he.offsetTop};return he.parentNode===je?we:Ge(he.parentNode,je,we)}}function Ke(he,je,We){return he<We&&he>je?he-1:he>We&&he<je?he+1:he}function rt(he){var je=he.lockOffset,We=he.width,we=he.height,mt=je,Je=je,jt="px";if(typeof je=="string"){var Se=/^[+-]?\d*(?:\.\d*)?(px|%)$/.exec(je);y()(Se!==null,'lockOffset value should be a number or a string of a number followed by "px" or "%". Given %s',je),mt=parseFloat(je),Je=parseFloat(je),jt=Se[1]}return y()(isFinite(mt)&&isFinite(Je),"lockOffset value should be a finite. Given %s",je),jt==="%"&&(mt=mt*We/100,Je=Je*we/100),{x:mt,y:Je}}function nt(he){var je=he.height,We=he.width,we=he.lockOffset,mt=Array.isArray(we)?we:[we,we];y()(mt.length===2,"lockOffset prop of SortableContainer should be a single value or an array of exactly two values. Given %s",we);var Je=(0,se.Z)(mt,2),jt=Je[0],Se=Je[1];return[rt({height:je,lockOffset:jt,width:We}),rt({height:je,lockOffset:Se,width:We})]}function vt(he){var je=window.getComputedStyle(he),We=/(auto|scroll)/,we=["overflow","overflowX","overflowY"];return we.find(function(mt){return We.test(je[mt])})}function Tt(he){return he instanceof HTMLElement?vt(he)?he:Tt(he.parentNode):null}function Yt(he){var je=window.getComputedStyle(he);return je.display==="grid"?{x:Ee(je.gridColumnGap),y:Ee(je.gridRowGap)}:{x:0,y:0}}var Xe={TAB:9,ESC:27,SPACE:32,LEFT:37,UP:38,RIGHT:39,DOWN:40},st={Anchor:"A",Button:"BUTTON",Canvas:"CANVAS",Input:"INPUT",Option:"OPTION",Textarea:"TEXTAREA",Select:"SELECT"};function Lt(he){var je="input, textarea, select, canvas, [contenteditable]",We=he.querySelectorAll(je),we=he.cloneNode(!0),mt=(0,b.Z)(we.querySelectorAll(je));return mt.forEach(function(Je,jt){if(Je.type!=="file"&&(Je.value=We[jt].value),Je.type==="radio"&&Je.name&&(Je.name="__sortableClone__".concat(Je.name)),Je.tagName===st.Canvas&&We[jt].width>0&&We[jt].height>0){var Se=Je.getContext("2d");Se.drawImage(We[jt],0,0)}}),we}function It(he){var je,We,we=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{withRef:!1};return We=je=function(mt){_inherits(Je,mt);function Je(){return _classCallCheck(this,Je),_possibleConstructorReturn(this,_getPrototypeOf(Je).apply(this,arguments))}return _createClass(Je,[{key:"componentDidMount",value:function(){var Se=findDOMNode(this);Se.sortableHandle=!0}},{key:"getWrappedInstance",value:function(){return invariant(we.withRef,"To access the wrapped instance, you need to pass in {withRef: true} as the second argument of the SortableHandle() call"),this.refs.wrappedInstance}},{key:"render",value:function(){var Se=we.withRef?"wrappedInstance":null;return createElement(he,_extends({ref:Se},this.props))}}]),Je}(Component),_defineProperty(je,"displayName",ze("sortableHandle",he)),We}function St(he){return he.sortableHandle!=null}var dn=function(){function he(je,We){(0,Ie.Z)(this,he),this.container=je,this.onScrollCallback=We}return(0,be.Z)(he,[{key:"clear",value:function(){this.interval!=null&&(clearInterval(this.interval),this.interval=null)}},{key:"update",value:function(We){var we=this,mt=We.translate,Je=We.minTranslate,jt=We.maxTranslate,Se=We.width,ut=We.height,wt={x:0,y:0},Ae={x:1,y:1},_e={x:10,y:10},ct=this.container,Ft=ct.scrollTop,zt=ct.scrollLeft,fn=ct.scrollHeight,dt=ct.scrollWidth,Bt=ct.clientHeight,Et=ct.clientWidth,tn=Ft===0,Vt=fn-Ft-Bt===0,sn=zt===0,Un=dt-zt-Et===0;mt.y>=jt.y-ut/2&&!Vt?(wt.y=1,Ae.y=_e.y*Math.abs((jt.y-ut/2-mt.y)/ut)):mt.x>=jt.x-Se/2&&!Un?(wt.x=1,Ae.x=_e.x*Math.abs((jt.x-Se/2-mt.x)/Se)):mt.y<=Je.y+ut/2&&!tn?(wt.y=-1,Ae.y=_e.y*Math.abs((mt.y-ut/2-Je.y)/ut)):mt.x<=Je.x+Se/2&&!sn&&(wt.x=-1,Ae.x=_e.x*Math.abs((mt.x-Se/2-Je.x)/Se)),this.interval&&(this.clear(),this.isAutoScrolling=!1),(wt.x!==0||wt.y!==0)&&(this.interval=setInterval(function(){we.isAutoScrolling=!0;var pn={left:Ae.x*wt.x,top:Ae.y*wt.y};we.container.scrollTop+=pn.top,we.container.scrollLeft+=pn.left,we.onScrollCallback(pn)},5))}}]),he}();function Fe(he){var je=he.node;return{height:je.offsetHeight,width:je.offsetWidth}}function Xt(he){var je=[st.Input,st.Textarea,st.Select,st.Option,st.Button];return!!(je.indexOf(he.target.tagName)!==-1||Pe(he.target,function(We){return We.contentEditable==="true"}))}var Kt={axis:ye().oneOf(["x","y","xy"]),contentWindow:ye().any,disableAutoscroll:ye().bool,distance:ye().number,getContainer:ye().func,getHelperDimensions:ye().func,helperClass:ye().string,helperContainer:ye().oneOfType([ye().func,typeof HTMLElement=="undefined"?ye().any:ye().instanceOf(HTMLElement)]),hideSortableGhost:ye().bool,keyboardSortingTransitionDuration:ye().number,lockAxis:ye().string,lockOffset:ye().oneOfType([ye().number,ye().string,ye().arrayOf(ye().oneOfType([ye().number,ye().string]))]),lockToContainerEdges:ye().bool,onSortEnd:ye().func,onSortMove:ye().func,onSortOver:ye().func,onSortStart:ye().func,pressDelay:ye().number,pressThreshold:ye().number,keyCodes:ye().shape({lift:ye().arrayOf(ye().number),drop:ye().arrayOf(ye().number),cancel:ye().arrayOf(ye().number),up:ye().arrayOf(ye().number),down:ye().arrayOf(ye().number)}),shouldCancelStart:ye().func,transitionDuration:ye().number,updateBeforeSortStart:ye().func,useDragHandle:ye().bool,useWindowAsScrollContainer:ye().bool},jn={lift:[Xe.SPACE],drop:[Xe.SPACE],cancel:[Xe.ESC],up:[Xe.UP,Xe.LEFT],down:[Xe.DOWN,Xe.RIGHT]},Pt={axis:"y",disableAutoscroll:!1,distance:0,getHelperDimensions:Fe,hideSortableGhost:!0,lockOffset:"50%",lockToContainerEdges:!1,pressDelay:0,pressThreshold:5,keyCodes:jn,shouldCancelStart:Xt,transitionDuration:300,useWindowAsScrollContainer:!1},qe=Object.keys(Kt);function lt(he){y()(!(he.distance&&he.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 it(he,je){try{var We=he()}catch(we){return je(!0,we)}return We&&We.then?We.then(je.bind(null,!1),je.bind(null,!0)):je(!1,value)}function Oe(he){var je,We,we=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{withRef:!1};return We=je=function(mt){(0,et.Z)(Je,mt);function Je(jt){var Se;return(0,Ie.Z)(this,Je),Se=(0,Ne.Z)(this,(0,ie.Z)(Je).call(this,jt)),(0,ke.Z)((0,He.Z)((0,He.Z)(Se)),"state",{}),(0,ke.Z)((0,He.Z)((0,He.Z)(Se)),"handleStart",function(ut){var wt=Se.props,Ae=wt.distance,_e=wt.shouldCancelStart;if(!(ut.button===2||_e(ut))){Se.touched=!0,Se.position=Be(ut);var ct=Pe(ut.target,function(Et){return Et.sortableInfo!=null});if(ct&&ct.sortableInfo&&Se.nodeIsChild(ct)&&!Se.state.sorting){var Ft=Se.props.useDragHandle,zt=ct.sortableInfo,fn=zt.index,dt=zt.collection,Bt=zt.disabled;if(Bt||Ft&&!Pe(ut.target,St))return;Se.manager.active={collection:dt,index:fn},!Ue(ut)&&ut.target.tagName===st.Anchor&&ut.preventDefault(),Ae||(Se.props.pressDelay===0?Se.handlePress(ut):Se.pressTimer=setTimeout(function(){return Se.handlePress(ut)},Se.props.pressDelay))}}}),(0,ke.Z)((0,He.Z)((0,He.Z)(Se)),"nodeIsChild",function(ut){return ut.sortableInfo.manager===Se.manager}),(0,ke.Z)((0,He.Z)((0,He.Z)(Se)),"handleMove",function(ut){var wt=Se.props,Ae=wt.distance,_e=wt.pressThreshold;if(!Se.state.sorting&&Se.touched&&!Se._awaitingUpdateBeforeSortStart){var ct=Be(ut),Ft={x:Se.position.x-ct.x,y:Se.position.y-ct.y},zt=Math.abs(Ft.x)+Math.abs(Ft.y);Se.delta=Ft,!Ae&&(!_e||zt>=_e)?(clearTimeout(Se.cancelTimer),Se.cancelTimer=setTimeout(Se.cancel,0)):Ae&&zt>=Ae&&Se.manager.isActive()&&Se.handlePress(ut)}}),(0,ke.Z)((0,He.Z)((0,He.Z)(Se)),"handleEnd",function(){Se.touched=!1,Se.cancel()}),(0,ke.Z)((0,He.Z)((0,He.Z)(Se)),"cancel",function(){var ut=Se.props.distance,wt=Se.state.sorting;wt||(ut||clearTimeout(Se.pressTimer),Se.manager.active=null)}),(0,ke.Z)((0,He.Z)((0,He.Z)(Se)),"handlePress",function(ut){try{var wt=Se.manager.getActive(),Ae=function(){if(wt){var _e=function(){var $n=Vt.sortableInfo.index,_t=De(Vt),kt=Yt(Se.container),Jt=Se.scrollContainer.getBoundingClientRect(),Ea=zt({index:$n,node:Vt,collection:sn});if(Se.node=Vt,Se.margin=_t,Se.gridGap=kt,Se.width=Ea.width,Se.height=Ea.height,Se.marginOffset={x:Se.margin.left+Se.margin.right+Se.gridGap.x,y:Math.max(Se.margin.top,Se.margin.bottom,Se.gridGap.y)},Se.boundingClientRect=Vt.getBoundingClientRect(),Se.containerBoundingRect=Jt,Se.index=$n,Se.newIndex=$n,Se.axis={x:Ft.indexOf("x")>=0,y:Ft.indexOf("y")>=0},Se.offsetEdge=Ge(Vt,Se.container),Un?Se.initialOffset=Be((0,ve.Z)({},ut,{pageX:Se.boundingClientRect.left,pageY:Se.boundingClientRect.top})):Se.initialOffset=Be(ut),Se.initialScroll={left:Se.scrollContainer.scrollLeft,top:Se.scrollContainer.scrollTop},Se.initialWindowScroll={left:window.pageXOffset,top:window.pageYOffset},Se.helper=Se.helperContainer.appendChild(Lt(Vt)),ue(Se.helper,{boxSizing:"border-box",height:"".concat(Se.height,"px"),left:"".concat(Se.boundingClientRect.left-_t.left,"px"),pointerEvents:"none",position:"fixed",top:"".concat(Se.boundingClientRect.top-_t.top,"px"),width:"".concat(Se.width,"px")}),Un&&Se.helper.focus(),dt&&(Se.sortableGhost=Vt,ue(Vt,{opacity:0,visibility:"hidden"})),Se.minTranslate={},Se.maxTranslate={},Un){var qn=tn?{top:0,left:0,width:Se.contentWindow.innerWidth,height:Se.contentWindow.innerHeight}:Se.containerBoundingRect,Rn=qn.top,Ga=qn.left,La=qn.width,Ar=qn.height,Cr=Rn+Ar,Qa=Ga+La;Se.axis.x&&(Se.minTranslate.x=Ga-Se.boundingClientRect.left,Se.maxTranslate.x=Qa-(Se.boundingClientRect.left+Se.width)),Se.axis.y&&(Se.minTranslate.y=Rn-Se.boundingClientRect.top,Se.maxTranslate.y=Cr-(Se.boundingClientRect.top+Se.height))}else Se.axis.x&&(Se.minTranslate.x=(tn?0:Jt.left)-Se.boundingClientRect.left-Se.width/2,Se.maxTranslate.x=(tn?Se.contentWindow.innerWidth:Jt.left+Jt.width)-Se.boundingClientRect.left-Se.width/2),Se.axis.y&&(Se.minTranslate.y=(tn?0:Jt.top)-Se.boundingClientRect.top-Se.height/2,Se.maxTranslate.y=(tn?Se.contentWindow.innerHeight:Jt.top+Jt.height)-Se.boundingClientRect.top-Se.height/2);fn&&fn.split(" ").forEach(function(tt){return Se.helper.classList.add(tt)}),Se.listenerNode=ut.touches?Vt:Se.contentWindow,Un?(Se.listenerNode.addEventListener("wheel",Se.handleKeyEnd,!0),Se.listenerNode.addEventListener("mousedown",Se.handleKeyEnd,!0),Se.listenerNode.addEventListener("keydown",Se.handleKeyDown)):(oe.move.forEach(function(tt){return Se.listenerNode.addEventListener(tt,Se.handleSortMove,!1)}),oe.end.forEach(function(tt){return Se.listenerNode.addEventListener(tt,Se.handleSortEnd,!1)})),Se.setState({sorting:!0,sortingIndex:$n}),Et&&Et({node:Vt,index:$n,collection:sn,isKeySorting:Un,nodes:Se.manager.getOrderedRefs(),helper:Se.helper},ut),Un&&Se.keyMove(0)},ct=Se.props,Ft=ct.axis,zt=ct.getHelperDimensions,fn=ct.helperClass,dt=ct.hideSortableGhost,Bt=ct.updateBeforeSortStart,Et=ct.onSortStart,tn=ct.useWindowAsScrollContainer,Vt=wt.node,sn=wt.collection,Un=Se.manager.isKeySorting,pn=function(){if(typeof Bt=="function"){Se._awaitingUpdateBeforeSortStart=!0;var rn=it(function(){var $n=Vt.sortableInfo.index;return Promise.resolve(Bt({collection:sn,index:$n,node:Vt,isKeySorting:Un},ut)).then(function(){})},function($n,_t){if(Se._awaitingUpdateBeforeSortStart=!1,$n)throw _t;return _t});if(rn&&rn.then)return rn.then(function(){})}}();return pn&&pn.then?pn.then(_e):_e(pn)}}();return Promise.resolve(Ae&&Ae.then?Ae.then(function(){}):void 0)}catch(_e){return Promise.reject(_e)}}),(0,ke.Z)((0,He.Z)((0,He.Z)(Se)),"handleSortMove",function(ut){var wt=Se.props.onSortMove;typeof ut.preventDefault=="function"&&ut.preventDefault(),Se.updateHelperPosition(ut),Se.animateNodes(),Se.autoscroll(),wt&&wt(ut)}),(0,ke.Z)((0,He.Z)((0,He.Z)(Se)),"handleSortEnd",function(ut){var wt=Se.props,Ae=wt.hideSortableGhost,_e=wt.onSortEnd,ct=Se.manager,Ft=ct.active.collection,zt=ct.isKeySorting,fn=Se.manager.getOrderedRefs();Se.listenerNode&&(zt?(Se.listenerNode.removeEventListener("wheel",Se.handleKeyEnd,!0),Se.listenerNode.removeEventListener("mousedown",Se.handleKeyEnd,!0),Se.listenerNode.removeEventListener("keydown",Se.handleKeyDown)):(oe.move.forEach(function(Vt){return Se.listenerNode.removeEventListener(Vt,Se.handleSortMove)}),oe.end.forEach(function(Vt){return Se.listenerNode.removeEventListener(Vt,Se.handleSortEnd)}))),Se.helper.parentNode.removeChild(Se.helper),Ae&&Se.sortableGhost&&ue(Se.sortableGhost,{opacity:"",visibility:""});for(var dt=0,Bt=fn.length;dt<Bt;dt++){var Et=fn[dt],tn=Et.node;Et.edgeOffset=null,Et.boundingClientRect=null,me(tn,null),fe(tn,null),Et.translate=null}Se.autoScroller.clear(),Se.manager.active=null,Se.manager.isKeySorting=!1,Se.setState({sorting:!1,sortingIndex:null}),typeof _e=="function"&&_e({collection:Ft,newIndex:Se.newIndex,oldIndex:Se.index,isKeySorting:zt,nodes:fn},ut),Se.touched=!1}),(0,ke.Z)((0,He.Z)((0,He.Z)(Se)),"autoscroll",function(){var ut=Se.props.disableAutoscroll,wt=Se.manager.isKeySorting;if(ut){Se.autoScroller.clear();return}if(wt){var Ae=(0,ve.Z)({},Se.translate),_e=0,ct=0;Se.axis.x&&(Ae.x=Math.min(Se.maxTranslate.x,Math.max(Se.minTranslate.x,Se.translate.x)),_e=Se.translate.x-Ae.x),Se.axis.y&&(Ae.y=Math.min(Se.maxTranslate.y,Math.max(Se.minTranslate.y,Se.translate.y)),ct=Se.translate.y-Ae.y),Se.translate=Ae,me(Se.helper,Se.translate),Se.scrollContainer.scrollLeft+=_e,Se.scrollContainer.scrollTop+=ct;return}Se.autoScroller.update({height:Se.height,maxTranslate:Se.maxTranslate,minTranslate:Se.minTranslate,translate:Se.translate,width:Se.width})}),(0,ke.Z)((0,He.Z)((0,He.Z)(Se)),"onAutoScroll",function(ut){Se.translate.x+=ut.left,Se.translate.y+=ut.top,Se.animateNodes()}),(0,ke.Z)((0,He.Z)((0,He.Z)(Se)),"handleKeyDown",function(ut){var wt=ut.keyCode,Ae=Se.props,_e=Ae.shouldCancelStart,ct=Ae.keyCodes,Ft=ct===void 0?{}:ct,zt=(0,ve.Z)({},jn,Ft);Se.manager.active&&!Se.manager.isKeySorting||!Se.manager.active&&(!zt.lift.includes(wt)||_e(ut)||!Se.isValidSortingTarget(ut))||(ut.stopPropagation(),ut.preventDefault(),zt.lift.includes(wt)&&!Se.manager.active?Se.keyLift(ut):zt.drop.includes(wt)&&Se.manager.active?Se.keyDrop(ut):zt.cancel.includes(wt)?(Se.newIndex=Se.manager.active.index,Se.keyDrop(ut)):zt.up.includes(wt)?Se.keyMove(-1):zt.down.includes(wt)&&Se.keyMove(1))}),(0,ke.Z)((0,He.Z)((0,He.Z)(Se)),"keyLift",function(ut){var wt=ut.target,Ae=Pe(wt,function(zt){return zt.sortableInfo!=null}),_e=Ae.sortableInfo,ct=_e.index,Ft=_e.collection;Se.initialFocusedNode=wt,Se.manager.isKeySorting=!0,Se.manager.active={index:ct,collection:Ft},Se.handlePress(ut)}),(0,ke.Z)((0,He.Z)((0,He.Z)(Se)),"keyMove",function(ut){var wt=Se.manager.getOrderedRefs(),Ae=wt[wt.length-1].node.sortableInfo.index,_e=Se.newIndex+ut,ct=Se.newIndex;if(!(_e<0||_e>Ae)){Se.prevIndex=ct,Se.newIndex=_e;var Ft=Ke(Se.newIndex,Se.prevIndex,Se.index),zt=wt.find(function(Un){var pn=Un.node;return pn.sortableInfo.index===Ft}),fn=zt.node,dt=Se.containerScrollDelta,Bt=zt.boundingClientRect||ft(fn,dt),Et=zt.translate||{x:0,y:0},tn={top:Bt.top+Et.y-dt.top,left:Bt.left+Et.x-dt.left},Vt=ct<_e,sn={x:Vt&&Se.axis.x?fn.offsetWidth-Se.width:0,y:Vt&&Se.axis.y?fn.offsetHeight-Se.height:0};Se.handleSortMove({pageX:tn.left+sn.x,pageY:tn.top+sn.y,ignoreTransition:ut===0})}}),(0,ke.Z)((0,He.Z)((0,He.Z)(Se)),"keyDrop",function(ut){Se.handleSortEnd(ut),Se.initialFocusedNode&&Se.initialFocusedNode.focus()}),(0,ke.Z)((0,He.Z)((0,He.Z)(Se)),"handleKeyEnd",function(ut){Se.manager.active&&Se.keyDrop(ut)}),(0,ke.Z)((0,He.Z)((0,He.Z)(Se)),"isValidSortingTarget",function(ut){var wt=Se.props.useDragHandle,Ae=ut.target,_e=Pe(Ae,function(ct){return ct.sortableInfo!=null});return _e&&_e.sortableInfo&&!_e.sortableInfo.disabled&&(wt?St(Ae):Ae.sortableInfo)}),lt(jt),Se.manager=new E,Se.events={end:Se.handleEnd,move:Se.handleMove,start:Se.handleStart},Se}return(0,be.Z)(Je,[{key:"getChildContext",value:function(){return{manager:this.manager}}},{key:"componentDidMount",value:function(){var Se=this,ut=this.props.useWindowAsScrollContainer,wt=this.getContainer();Promise.resolve(wt).then(function(Ae){Se.container=Ae,Se.document=Se.container.ownerDocument||document;var _e=Se.props.contentWindow||Se.document.defaultView||window;Se.contentWindow=typeof _e=="function"?_e():_e,Se.scrollContainer=ut?Se.document.scrollingElement||Se.document.documentElement:Tt(Se.container)||Se.container,Se.autoScroller=new dn(Se.scrollContainer,Se.onAutoScroll),Object.keys(Se.events).forEach(function(ct){return oe[ct].forEach(function(Ft){return Se.container.addEventListener(Ft,Se.events[ct],!1)})}),Se.container.addEventListener("keydown",Se.handleKeyDown)})}},{key:"componentWillUnmount",value:function(){var Se=this;this.helper&&this.helper.parentNode&&this.helper.parentNode.removeChild(this.helper),this.container&&(Object.keys(this.events).forEach(function(ut){return oe[ut].forEach(function(wt){return Se.container.removeEventListener(wt,Se.events[ut])})}),this.container.removeEventListener("keydown",this.handleKeyDown))}},{key:"updateHelperPosition",value:function(Se){var ut=this.props,wt=ut.lockAxis,Ae=ut.lockOffset,_e=ut.lockToContainerEdges,ct=ut.transitionDuration,Ft=ut.keyboardSortingTransitionDuration,zt=Ft===void 0?ct:Ft,fn=this.manager.isKeySorting,dt=Se.ignoreTransition,Bt=Be(Se),Et={x:Bt.x-this.initialOffset.x,y:Bt.y-this.initialOffset.y};if(Et.y-=window.pageYOffset-this.initialWindowScroll.top,Et.x-=window.pageXOffset-this.initialWindowScroll.left,this.translate=Et,_e){var tn=nt({height:this.height,lockOffset:Ae,width:this.width}),Vt=(0,se.Z)(tn,2),sn=Vt[0],Un=Vt[1],pn={x:this.width/2-sn.x,y:this.height/2-sn.y},rn={x:this.width/2-Un.x,y:this.height/2-Un.y};Et.x=xe(this.minTranslate.x+pn.x,this.maxTranslate.x-rn.x,Et.x),Et.y=xe(this.minTranslate.y+pn.y,this.maxTranslate.y-rn.y,Et.y)}wt==="x"?Et.y=0:wt==="y"&&(Et.x=0),fn&&zt&&!dt&&fe(this.helper,zt),me(this.helper,Et)}},{key:"animateNodes",value:function(){var Se=this.props,ut=Se.transitionDuration,wt=Se.hideSortableGhost,Ae=Se.onSortOver,_e=this.containerScrollDelta,ct=this.windowScrollDelta,Ft=this.manager.getOrderedRefs(),zt={left:this.offsetEdge.left+this.translate.x+_e.left,top:this.offsetEdge.top+this.translate.y+_e.top},fn=this.manager.isKeySorting,dt=this.newIndex;this.newIndex=null;for(var Bt=0,Et=Ft.length;Bt<Et;Bt++){var tn=Ft[Bt].node,Vt=tn.sortableInfo.index,sn=tn.offsetWidth,Un=tn.offsetHeight,pn={height:this.height>Un?Un/2:this.height/2,width:this.width>sn?sn/2:this.width/2},rn=fn&&Vt>this.index&&Vt<=dt,$n=fn&&Vt<this.index&&Vt>=dt,_t={x:0,y:0},kt=Ft[Bt].edgeOffset;kt||(kt=Ge(tn,this.container),Ft[Bt].edgeOffset=kt,fn&&(Ft[Bt].boundingClientRect=ft(tn,_e)));var Jt=Bt<Ft.length-1&&Ft[Bt+1],Ea=Bt>0&&Ft[Bt-1];if(Jt&&!Jt.edgeOffset&&(Jt.edgeOffset=Ge(Jt.node,this.container),fn&&(Jt.boundingClientRect=ft(Jt.node,_e))),Vt===this.index){wt&&(this.sortableGhost=tn,ue(tn,{opacity:0,visibility:"hidden"}));continue}ut&&fe(tn,ut),this.axis.x?this.axis.y?$n||Vt<this.index&&(zt.left+ct.left-pn.width<=kt.left&&zt.top+ct.top<=kt.top+pn.height||zt.top+ct.top+pn.height<=kt.top)?(_t.x=this.width+this.marginOffset.x,kt.left+_t.x>this.containerBoundingRect.width-pn.width&&Jt&&(_t.x=Jt.edgeOffset.left-kt.left,_t.y=Jt.edgeOffset.top-kt.top),this.newIndex===null&&(this.newIndex=Vt)):(rn||Vt>this.index&&(zt.left+ct.left+pn.width>=kt.left&&zt.top+ct.top+pn.height>=kt.top||zt.top+ct.top+pn.height>=kt.top+Un))&&(_t.x=-(this.width+this.marginOffset.x),kt.left+_t.x<this.containerBoundingRect.left+pn.width&&Ea&&(_t.x=Ea.edgeOffset.left-kt.left,_t.y=Ea.edgeOffset.top-kt.top),this.newIndex=Vt):rn||Vt>this.index&&zt.left+ct.left+pn.width>=kt.left?(_t.x=-(this.width+this.marginOffset.x),this.newIndex=Vt):($n||Vt<this.index&&zt.left+ct.left<=kt.left+pn.width)&&(_t.x=this.width+this.marginOffset.x,this.newIndex==null&&(this.newIndex=Vt)):this.axis.y&&(rn||Vt>this.index&&zt.top+ct.top+pn.height>=kt.top?(_t.y=-(this.height+this.marginOffset.y),this.newIndex=Vt):($n||Vt<this.index&&zt.top+ct.top<=kt.top+pn.height)&&(_t.y=this.height+this.marginOffset.y,this.newIndex==null&&(this.newIndex=Vt))),me(tn,_t),Ft[Bt].translate=_t}this.newIndex==null&&(this.newIndex=this.index),fn&&(this.newIndex=dt);var qn=fn?this.prevIndex:dt;Ae&&this.newIndex!==qn&&Ae({collection:this.manager.active.collection,index:this.index,newIndex:this.newIndex,oldIndex:qn,isKeySorting:fn,nodes:Ft,helper:this.helper})}},{key:"getWrappedInstance",value:function(){return y()(we.withRef,"To access the wrapped instance, you need to pass in {withRef: true} as the second argument of the SortableContainer() call"),this.refs.wrappedInstance}},{key:"getContainer",value:function(){var Se=this.props.getContainer;return typeof Se!="function"?(0,re.findDOMNode)(this):Se(we.withRef?this.getWrappedInstance():void 0)}},{key:"render",value:function(){var Se=we.withRef?"wrappedInstance":null;return(0,Ze.createElement)(he,(0,z.Z)({ref:Se},ne(this.props,qe)))}},{key:"helperContainer",get:function(){var Se=this.props.helperContainer;return typeof Se=="function"?Se():this.props.helperContainer||this.document.body}},{key:"containerScrollDelta",get:function(){var Se=this.props.useWindowAsScrollContainer;return Se?{left:0,top:0}:{left:this.scrollContainer.scrollLeft-this.initialScroll.left,top:this.scrollContainer.scrollTop-this.initialScroll.top}}},{key:"windowScrollDelta",get:function(){return{left:this.contentWindow.pageXOffset-this.initialWindowScroll.left,top:this.contentWindow.pageYOffset-this.initialWindowScroll.top}}}]),Je}(Ze.Component),(0,ke.Z)(je,"displayName",ze("sortableList",he)),(0,ke.Z)(je,"defaultProps",Pt),(0,ke.Z)(je,"propTypes",Kt),(0,ke.Z)(je,"childContextTypes",{manager:ye().object.isRequired}),We}var pt={index:ye().number.isRequired,collection:ye().oneOfType([ye().number,ye().string]),disabled:ye().bool},gt=Object.keys(pt);function Le(he){var je,We,we=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{withRef:!1};return We=je=function(mt){(0,et.Z)(Je,mt);function Je(){return(0,Ie.Z)(this,Je),(0,Ne.Z)(this,(0,ie.Z)(Je).apply(this,arguments))}return(0,be.Z)(Je,[{key:"componentDidMount",value:function(){this.register()}},{key:"componentDidUpdate",value:function(Se){this.node&&(Se.index!==this.props.index&&(this.node.sortableInfo.index=this.props.index),Se.disabled!==this.props.disabled&&(this.node.sortableInfo.disabled=this.props.disabled)),Se.collection!==this.props.collection&&(this.unregister(Se.collection),this.register())}},{key:"componentWillUnmount",value:function(){this.unregister()}},{key:"register",value:function(){var Se=this.props,ut=Se.collection,wt=Se.disabled,Ae=Se.index,_e=(0,re.findDOMNode)(this);_e.sortableInfo={collection:ut,disabled:wt,index:Ae,manager:this.context.manager},this.node=_e,this.ref={node:_e},this.context.manager.add(ut,this.ref)}},{key:"unregister",value:function(){var Se=arguments.length>0&&arguments[0]!==void 0?arguments[0]:this.props.collection;this.context.manager.remove(Se,this.ref)}},{key:"getWrappedInstance",value:function(){return y()(we.withRef,"To access the wrapped instance, you need to pass in {withRef: true} as the second argument of the SortableElement() call"),this.refs.wrappedInstance}},{key:"render",value:function(){var Se=we.withRef?"wrappedInstance":null;return(0,Ze.createElement)(he,(0,z.Z)({ref:Se},ne(this.props,gt)))}}]),Je}(Ze.Component),(0,ke.Z)(je,"displayName",ze("sortableElement",he)),(0,ke.Z)(je,"contextTypes",{manager:ye().object.isRequired}),(0,ke.Z)(je,"propTypes",pt),(0,ke.Z)(je,"defaultProps",{collection:0}),We}},25510:function(bt){"use strict";bt.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAALQAAAC0CAYAAAA9zQYyAAAAAXNSR0IArs4c6QAAQABJREFUeAHsvQuQpclVmJn3We+qfkxPT89oRqN5SKPRC0mgAQRYCwgkh2ExAWvDrrVrwOBl14shYh/GRBB2EF4CdlnvbmAvsGxgWEd4l2WNsYEwMkIYCQnYkQYhZvQYzUgzPdM908/qet26z/2+k3/ee6u6qrtrpkciOiqr/vvnn3ny5MmTJ0+efPz510ajUSMdukMO3CIcqN8i5TgsxiEHggOHAn0oCLcUBw4F+paqzsPCHAr0oQzcUhw4FOhbqjoPC3Mo0IcycEtx4FCgb6nqPCzMoUAfysAtxYFDgb6lqvOwMIcCfSgDtxQHDgX6lqrOw8IcCvShDNxSHDgU6FuqOg8LcyjQhzJwS3HgUKBvqeo8LMyhQB/KwC3FgUOBvqWq87AwhwJ9KAO3FAcOBfqWqs7DwhwK9KEM3FIcOBToW6o6DwtzKNCHMnBLceBQoG+p6jwszKFAH8rALcWBQ4G+parzsDCHAn0oA7cUB5pf6tJ85PmtRwbL7btGKY3mUj6VbDBIaThItepxTGK9kQDLrkY8h5jxPEiNxs7TzHrdVAvYBnGAR+wYBOR7OPOb4B8DV6mn01RxBoW3O8YmjsXUGNU2t7/w2uPzHxtHHHq+aByofSnPtvu1Mxs/NN9q/WR9ptVq9VNqDYapV0upFhc/O1yR5enwIRI9DPiU6txrSHmN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