|
|
!(function(){var sc=Object.defineProperty,uc=Object.defineProperties;var cc=Object.getOwnPropertyDescriptors;var Eu=Object.getOwnPropertySymbols;var Gu=Object.prototype.hasOwnProperty,Xu=Object.prototype.propertyIsEnumerable;var Tu=Math.pow,Yu=(Yn,mn,z)=>mn in Yn?sc(Yn,mn,{enumerable:!0,configurable:!0,writable:!0,value:z}):Yn[mn]=z,xi=(Yn,mn)=>{for(var z in mn||(mn={}))Gu.call(mn,z)&&Yu(Yn,z,mn[z]);if(Eu)for(var z of Eu(mn))Xu.call(mn,z)&&Yu(Yn,z,mn[z]);return Yn},Da=(Yn,mn)=>uc(Yn,cc(mn));var wu=(Yn,mn)=>{var z={};for(var b in Yn)Gu.call(Yn,b)&&mn.indexOf(b)<0&&(z[b]=Yn[b]);if(Yn!=null&&Eu)for(var b of Eu(Yn))mn.indexOf(b)<0&&Xu.call(Yn,b)&&(z[b]=Yn[b]);return z};var $u=(Yn,mn,z)=>new Promise((b,Ce)=>{var de=xe=>{try{Oe(z.next(xe))}catch(Ae){Ce(Ae)}},rt=xe=>{try{Oe(z.throw(xe))}catch(Ae){Ce(Ae)}},Oe=xe=>xe.done?b(xe.value):Promise.resolve(xe.value).then(de,rt);Oe((z=z.apply(Yn,mn)).next())});(self.webpackChunk=self.webpackChunk||[]).push([[4030],{89489:function(Yn,mn,z){"use strict";z.d(mn,{Z:function(){return Ve}});var b=z(60499),Ce=z(59301),de={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"},rt=de,Oe=z(7657),xe=function(fe,Ge){return Ce.createElement(Oe.Z,(0,b.Z)({},fe,{ref:Ge,icon:rt}))},Ae=Ce.forwardRef(xe),Ve=Ae},59477:function(Yn,mn,z){"use strict";z.d(mn,{Z:function(){return Ve}});var b=z(60499),Ce=z(59301),de={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"},rt=de,Oe=z(7657),xe=function(fe,Ge){return Ce.createElement(Oe.Z,(0,b.Z)({},fe,{ref:Ge,icon:rt}))},Ae=Ce.forwardRef(xe),Ve=Ae},40001:function(Yn,mn,z){"use strict";z.d(mn,{Z:function(){return Ve}});var b=z(60499),Ce=z(59301),de={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M912 190h-69.9c-9.8 0-19.1 4.5-25.1 12.2L404.7 724.5 207 474a32 32 0 00-25.1-12.2H112c-6.7 0-10.4 7.7-6.3 12.9l273.9 347c12.8 16.2 37.4 16.2 50.3 0l488.4-618.9c4.1-5.1.4-12.8-6.3-12.8z"}}]},name:"check",theme:"outlined"},rt=de,Oe=z(7657),xe=function(fe,Ge){return Ce.createElement(Oe.Z,(0,b.Z)({},fe,{ref:Ge,icon:rt}))},Ae=Ce.forwardRef(xe),Ve=Ae},49198:function(Yn,mn,z){"use strict";z.d(mn,{Z:function(){return Ve}});var b=z(60499),Ce=z(59301),de={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"},rt=de,Oe=z(7657),xe=function(fe,Ge){return Ce.createElement(Oe.Z,(0,b.Z)({},fe,{ref:Ge,icon:rt}))},Ae=Ce.forwardRef(xe),Ve=Ae},87169:function(Yn,mn,z){"use strict";z.d(mn,{Z:function(){return Ve}});var b=z(60499),Ce=z(59301),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:"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"},rt=de,Oe=z(7657),xe=function(fe,Ge){return Ce.createElement(Oe.Z,(0,b.Z)({},fe,{ref:Ge,icon:rt}))},Ae=Ce.forwardRef(xe),Ve=Ae},73331:function(Yn,mn,z){"use strict";z.d(mn,{Z:function(){return Ve}});var b=z(60499),Ce=z(59301),de={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M942.2 486.2Q889.47 375.11 816.7 305l-50.88 50.88C807.31 395.53 843.45 447.4 874.7 512 791.5 684.2 673.4 766 512 766q-72.67 0-133.87-22.38L323 798.75Q408 838 512 838q288.3 0 430.2-300.3a60.29 60.29 0 000-51.5zm-63.57-320.64L836 122.88a8 8 0 00-11.32 0L715.31 232.2Q624.86 186 512 186q-288.3 0-430.2 300.3a60.3 60.3 0 000 51.5q56.69 119.4 136.5 191.41L112.48 835a8 8 0 000 11.31L155.17 889a8 8 0 0011.31 0l712.15-712.12a8 8 0 000-11.32zM149.3 512C232.6 339.8 350.7 258 512 258c54.54 0 104.13 9.36 149.12 28.39l-70.3 70.3a176 176 0 00-238.13 238.13l-83.42 83.42C223.1 637.49 183.3 582.28 149.3 512zm246.7 0a112.11 112.11 0 01146.2-106.69L401.31 546.2A112 112 0 01396 512z"}},{tag:"path",attrs:{d:"M508 624c-3.46 0-6.87-.16-10.25-.47l-52.82 52.82a176.09 176.09 0 00227.42-227.42l-52.82 52.82c.31 3.38.47 6.79.47 10.25a111.94 111.94 0 01-112 112z"}}]},name:"eye-invisible",theme:"outlined"},rt=de,Oe=z(7657),xe=function(fe,Ge){return Ce.createElement(Oe.Z,(0,b.Z)({},fe,{ref:Ge,icon:rt}))},Ae=Ce.forwardRef(xe),Ve=Ae},15277:function(Yn,mn,z){"use strict";z.d(mn,{Z:function(){return Ve}});var b=z(60499),Ce=z(59301),de={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M942.2 486.2C847.4 286.5 704.1 186 512 186c-192.2 0-335.4 100.5-430.2 300.3a60.3 60.3 0 000 51.5C176.6 737.5 319.9 838 512 838c192.2 0 335.4-100.5 430.2-300.3 7.7-16.2 7.7-35 0-51.5zM512 766c-161.3 0-279.4-81.8-362.7-254C232.6 339.8 350.7 258 512 258c161.3 0 279.4 81.8 362.7 254C791.5 684.2 673.4 766 512 766zm-4-430c-97.2 0-176 78.8-176 176s78.8 176 176 176 176-78.8 176-176-78.8-176-176-176zm0 288c-61.9 0-112-50.1-112-112s50.1-112 112-112 112 50.1 112 112-50.1 112-112 112z"}}]},name:"eye",theme:"outlined"},rt=de,Oe=z(7657),xe=function(fe,Ge){return Ce.createElement(Oe.Z,(0,b.Z)({},fe,{ref:Ge,icon:rt}))},Ae=Ce.forwardRef(xe),Ve=Ae},52671:function(Yn,mn,z){"use strict";z.d(mn,{Z:function(){return Ve}});var b=z(60499),Ce=z(59301),de={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"},rt=de,Oe=z(7657),xe=function(fe,Ge){return Ce.createElement(Oe.Z,(0,b.Z)({},fe,{ref:Ge,icon:rt}))},Ae=Ce.forwardRef(xe),Ve=Ae},8657:function(Yn,mn,z){"use strict";z.d(mn,{Z:function(){return Ve}});var b=z(60499),Ce=z(59301),de={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"},rt=de,Oe=z(7657),xe=function(fe,Ge){return Ce.createElement(Oe.Z,(0,b.Z)({},fe,{ref:Ge,icon:rt}))},Ae=Ce.forwardRef(xe),Ve=Ae},56082:function(Yn,mn,z){"use strict";z.d(mn,{Z:function(){return Ve}});var b=z(60499),Ce=z(59301),de={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"},rt=de,Oe=z(7657),xe=function(fe,Ge){return Ce.createElement(Oe.Z,(0,b.Z)({},fe,{ref:Ge,icon:rt}))},Ae=Ce.forwardRef(xe),Ve=Ae},33853:function(Yn,mn,z){"use strict";z.d(mn,{Z:function(){return Ve}});var b=z(60499),Ce=z(59301),de={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"},rt=de,Oe=z(7657),xe=function(fe,Ge){return Ce.createElement(Oe.Z,(0,b.Z)({},fe,{ref:Ge,icon:rt}))},Ae=Ce.forwardRef(xe),Ve=Ae},15075:function(Yn,mn,z){"use strict";z.d(mn,{Z:function(){return Ve}});var b=z(60499),Ce=z(59301),de={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"},rt=de,Oe=z(7657),xe=function(fe,Ge){return Ce.createElement(Oe.Z,(0,b.Z)({},fe,{ref:Ge,icon:rt}))},Ae=Ce.forwardRef(xe),Ve=Ae},43531:function(Yn,mn,z){"use strict";z.d(mn,{Z:function(){return Ve}});var b=z(60499),Ce=z(59301),de={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"},rt=de,Oe=z(7657),xe=function(fe,Ge){return Ce.createElement(Oe.Z,(0,b.Z)({},fe,{ref:Ge,icon:rt}))},Ae=Ce.forwardRef(xe),Ve=Ae},61485:function(Yn,mn,z){"use strict";z.d(mn,{Z:function(){return Ve}});var b=z(60499),Ce=z(59301),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:"M623.6 316.7C593.6 290.4 554 276 512 276s-81.6 14.5-111.6 40.7C369.2 344 352 380.7 352 420v7.6c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V420c0-44.1 43.1-80 96-80s96 35.9 96 80c0 31.1-22 59.6-56.1 72.7-21.2 8.1-39.2 22.3-52.1 40.9-13.1 19-19.9 41.8-19.9 64.9V620c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8v-22.7a48.3 48.3 0 0130.9-44.8c59-22.7 97.1-74.7 97.1-132.5.1-39.3-17.1-76-48.3-103.3zM472 732a40 40 0 1080 0 40 40 0 10-80 0z"}}]},name:"question-circle",theme:"outlined"},rt=de,Oe=z(7657),xe=function(fe,Ge){return Ce.createElement(Oe.Z,(0,b.Z)({},fe,{ref:Ge,icon:rt}))},Ae=Ce.forwardRef(xe),Ve=Ae},47472:function(Yn,mn,z){"use strict";z.d(mn,{Z:function(){return Ve}});var b=z(60499),Ce=z(59301),de={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M909.6 854.5L649.9 594.8C690.2 542.7 712 479 712 412c0-80.2-31.3-155.4-87.9-212.1-56.6-56.7-132-87.9-212.1-87.9s-155.5 31.3-212.1 87.9C143.2 256.5 112 331.8 112 412c0 80.1 31.3 155.5 87.9 212.1C256.5 680.8 331.8 712 412 712c67 0 130.6-21.8 182.7-62l259.7 259.6a8.2 8.2 0 0011.6 0l43.6-43.5a8.2 8.2 0 000-11.6zM570.4 570.4C528 612.7 471.8 636 412 636s-116-23.3-158.4-65.6C211.3 528 188 471.8 188 412s23.3-116.1 65.6-158.4C296 211.3 352.2 188 412 188s116.1 23.2 158.4 65.6S636 352.2 636 412s-23.3 116.1-65.6 158.4z"}}]},name:"search",theme:"outlined"},rt=de,Oe=z(7657),xe=function(fe,Ge){return Ce.createElement(Oe.Z,(0,b.Z)({},fe,{ref:Ge,icon:rt}))},Ae=Ce.forwardRef(xe),Ve=Ae},87395:function(Yn,mn,z){"use strict";z.d(mn,{Z:function(){return Ve}});var b=z(60499),Ce=z(59301),de={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M890.5 755.3L537.9 269.2c-12.8-17.6-39-17.6-51.7 0L133.5 755.3A8 8 0 00140 768h75c5.1 0 9.9-2.5 12.9-6.6L512 369.8l284.1 391.6c3 4.1 7.8 6.6 12.9 6.6h75c6.5 0 10.3-7.4 6.5-12.7z"}}]},name:"up",theme:"outlined"},rt=de,Oe=z(7657),xe=function(fe,Ge){return Ce.createElement(Oe.Z,(0,b.Z)({},fe,{ref:Ge,icon:rt}))},Ae=Ce.forwardRef(xe),Ve=Ae},87954:function(Yn,mn,z){"use strict";z.d(mn,{LB:function(){return Br},y9:function(){return ii},g4:function(){return Ht},we:function(){return xn},pE:function(){return Qe},VK:function(){return At},Cj:function(){return Xr},O1:function(){return Jr},Zj:function(){return ur},VT:function(){return je},Dy:function(){return We}});var b=z(59301),Ce=z(4676),de=z(35241);const rt={display:"none"};function Oe(Le){let{id:nt,value:Ot}=Le;return b.createElement("div",{id:nt,style:rt},Ot)}function xe(Le){let{id:nt,announcement:Ot,ariaLiveType:sn="assertive"}=Le;const hn={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 b.createElement("div",{id:nt,style:hn,role:"status","aria-live":sn,"aria-atomic":!0},Ot)}function Ae(){const[Le,nt]=(0,b.useState)("");return{announce:(0,b.useCallback)(sn=>{sn!=null&&nt(sn)},[]),announcement:Le}}const Ve=(0,b.createContext)(null);function Be(Le){const nt=(0,b.useContext)(Ve);(0,b.useEffect)(()=>{if(!nt)throw new Error("useDndMonitor must be used within a children of <DndContext>");return nt(Le)},[Le,nt])}function fe(){const[Le]=(0,b.useState)(()=>new Set),nt=(0,b.useCallback)(sn=>(Le.add(sn),()=>Le.delete(sn)),[Le]);return[(0,b.useCallback)(sn=>{let{type:hn,event:Tt}=sn;Le.forEach(it=>{var Ft;return(Ft=it[hn])==null?void 0:Ft.call(it,Tt)})},[Le]),nt]}const Ge={draggable:`
|
|
|
To pick up a draggable item, press the space bar.
|
|
|
While dragging, use the arrow keys to move the item.
|
|
|
Press space again to drop the item in its new position, or press escape to cancel.
|
|
|
`},be={onDragStart(Le){let{active:nt}=Le;return"Picked up draggable item "+nt.id+"."},onDragOver(Le){let{active:nt,over:Ot}=Le;return Ot?"Draggable item "+nt.id+" was moved over droppable area "+Ot.id+".":"Draggable item "+nt.id+" is no longer over a droppable area."},onDragEnd(Le){let{active:nt,over:Ot}=Le;return Ot?"Draggable item "+nt.id+" was dropped over droppable area "+Ot.id:"Draggable item "+nt.id+" was dropped."},onDragCancel(Le){let{active:nt}=Le;return"Dragging was cancelled. Draggable item "+nt.id+" was dropped."}};function vt(Le){let{announcements:nt=be,container:Ot,hiddenTextDescribedById:sn,screenReaderInstructions:hn=Ge}=Le;const{announce:Tt,announcement:it}=Ae(),Ft=(0,de.Ld)("DndLiveRegion"),[en,On]=(0,b.useState)(!1);if((0,b.useEffect)(()=>{On(!0)},[]),Be((0,b.useMemo)(()=>({onDragStart(Dn){let{active:jn}=Dn;Tt(nt.onDragStart({active:jn}))},onDragMove(Dn){let{active:jn,over:$n}=Dn;nt.onDragMove&&Tt(nt.onDragMove({active:jn,over:$n}))},onDragOver(Dn){let{active:jn,over:$n}=Dn;Tt(nt.onDragOver({active:jn,over:$n}))},onDragEnd(Dn){let{active:jn,over:$n}=Dn;Tt(nt.onDragEnd({active:jn,over:$n}))},onDragCancel(Dn){let{active:jn,over:$n}=Dn;Tt(nt.onDragCancel({active:jn,over:$n}))}}),[Tt,nt])),!en)return null;const Wn=b.createElement(b.Fragment,null,b.createElement(Oe,{id:sn,value:hn.draggable}),b.createElement(xe,{id:Ft,announcement:it}));return Ot?(0,Ce.createPortal)(Wn,Ot):Wn}var Je;(function(Le){Le.DragStart="dragStart",Le.DragMove="dragMove",Le.DragEnd="dragEnd",Le.DragCancel="dragCancel",Le.DragOver="dragOver",Le.RegisterDroppable="registerDroppable",Le.SetDroppableDisabled="setDroppableDisabled",Le.UnregisterDroppable="unregisterDroppable"})(Je||(Je={}));function tt(){}function je(Le,nt){return(0,b.useMemo)(()=>({sensor:Le,options:nt!=null?nt:{}}),[Le,nt])}function We(){for(var Le=arguments.length,nt=new Array(Le),Ot=0;Ot<Le;Ot++)nt[Ot]=arguments[Ot];return(0,b.useMemo)(()=>[...nt].filter(sn=>sn!=null),[...nt])}const ot=Object.freeze({x:0,y:0});function Mt(Le,nt){return Math.sqrt(Math.pow(Le.x-nt.x,2)+Math.pow(Le.y-nt.y,2))}function Ut(Le,nt){const Ot=(0,de.DC)(Le);if(!Ot)return"0 0";const sn={x:(Ot.x-nt.left)/nt.width*100,y:(Ot.y-nt.top)/nt.height*100};return sn.x+"% "+sn.y+"%"}function se(Le,nt){let{data:{value:Ot}}=Le,{data:{value:sn}}=nt;return Ot-sn}function Me(Le,nt){let{data:{value:Ot}}=Le,{data:{value:sn}}=nt;return sn-Ot}function st(Le){let{left:nt,top:Ot,height:sn,width:hn}=Le;return[{x:nt,y:Ot},{x:nt+hn,y:Ot},{x:nt,y:Ot+sn},{x:nt+hn,y:Ot+sn}]}function mt(Le,nt){if(!Le||Le.length===0)return null;const[Ot]=Le;return nt?Ot[nt]:Ot}function kt(Le,nt,Ot){return nt===void 0&&(nt=Le.left),Ot===void 0&&(Ot=Le.top),{x:nt+Le.width*.5,y:Ot+Le.height*.5}}const Qe=Le=>{let{collisionRect:nt,droppableRects:Ot,droppableContainers:sn}=Le;const hn=kt(nt,nt.left,nt.top),Tt=[];for(const it of sn){const{id:Ft}=it,en=Ot.get(Ft);if(en){const On=Mt(kt(en),hn);Tt.push({id:Ft,data:{droppableContainer:it,value:On}})}}return Tt.sort(se)},ut=Le=>{let{collisionRect:nt,droppableRects:Ot,droppableContainers:sn}=Le;const hn=st(nt),Tt=[];for(const it of sn){const{id:Ft}=it,en=Ot.get(Ft);if(en){const On=st(en),Wn=hn.reduce((jn,$n,Cr)=>jn+Mt(On[Cr],$n),0),Dn=Number((Wn/4).toFixed(4));Tt.push({id:Ft,data:{droppableContainer:it,value:Dn}})}}return Tt.sort(se)};function dt(Le,nt){const Ot=Math.max(nt.top,Le.top),sn=Math.max(nt.left,Le.left),hn=Math.min(nt.left+nt.width,Le.left+Le.width),Tt=Math.min(nt.top+nt.height,Le.top+Le.height),it=hn-sn,Ft=Tt-Ot;if(sn<hn&&Ot<Tt){const en=nt.width*nt.height,On=Le.width*Le.height,Wn=it*Ft,Dn=Wn/(en+On-Wn);return Number(Dn.toFixed(4))}return 0}const Fe=Le=>{let{collisionRect:nt,droppableRects:Ot,droppableContainers:sn}=Le;const hn=[];for(const Tt of sn){const{id:it}=Tt,Ft=Ot.get(it);if(Ft){const en=dt(Ft,nt);en>0&&hn.push({id:it,data:{droppableContainer:Tt,value:en}})}}return hn.sort(Me)};function Ze(Le,nt){const{top:Ot,left:sn,bottom:hn,right:Tt}=nt;return Ot<=Le.y&&Le.y<=hn&&sn<=Le.x&&Le.x<=Tt}const Se=Le=>{let{droppableContainers:nt,droppableRects:Ot,pointerCoordinates:sn}=Le;if(!sn)return[];const hn=[];for(const Tt of nt){const{id:it}=Tt,Ft=Ot.get(it);if(Ft&&Ze(sn,Ft)){const On=st(Ft).reduce((Dn,jn)=>Dn+Mt(sn,jn),0),Wn=Number((On/4).toFixed(4));hn.push({id:it,data:{droppableContainer:Tt,value:Wn}})}}return hn.sort(se)};function ue(Le,nt,Ot){return Da(xi({},Le),{scaleX:nt&&Ot?nt.width/Ot.width:1,scaleY:nt&&Ot?nt.height/Ot.height:1})}function gt(Le,nt){return Le&&nt?{x:Le.left-nt.left,y:Le.top-nt.top}:ot}function He(Le){return function(Ot){for(var sn=arguments.length,hn=new Array(sn>1?sn-1:0),Tt=1;Tt<sn;Tt++)hn[Tt-1]=arguments[Tt];return hn.reduce((it,Ft)=>Da(xi({},it),{top:it.top+Le*Ft.y,bottom:it.bottom+Le*Ft.y,left:it.left+Le*Ft.x,right:it.right+Le*Ft.x}),xi({},Ot))}}const ke=He(1);function Nt(Le){if(Le.startsWith("matrix3d(")){const nt=Le.slice(9,-1).split(/, /);return{x:+nt[12],y:+nt[13],scaleX:+nt[0],scaleY:+nt[5]}}else if(Le.startsWith("matrix(")){const nt=Le.slice(7,-1).split(/, /);return{x:+nt[4],y:+nt[5],scaleX:+nt[0],scaleY:+nt[3]}}return null}function De(Le,nt,Ot){const sn=Nt(nt);if(!sn)return Le;const{scaleX:hn,scaleY:Tt,x:it,y:Ft}=sn,en=Le.left-it-(1-hn)*parseFloat(Ot),On=Le.top-Ft-(1-Tt)*parseFloat(Ot.slice(Ot.indexOf(" ")+1)),Wn=hn?Le.width/hn:Le.width,Dn=Tt?Le.height/Tt:Le.height;return{width:Wn,height:Dn,top:On,right:en+Wn,bottom:On+Dn,left:en}}const ve={ignoreTransform:!1};function At(Le,nt){nt===void 0&&(nt=ve);let Ot=Le.getBoundingClientRect();if(nt.ignoreTransform){const{transform:On,transformOrigin:Wn}=(0,de.Jj)(Le).getComputedStyle(Le);On&&(Ot=De(Ot,On,Wn))}const{top:sn,left:hn,width:Tt,height:it,bottom:Ft,right:en}=Ot;return{top:sn,left:hn,width:Tt,height:it,bottom:Ft,right:en}}function Gt(Le){return At(Le,{ignoreTransform:!0})}function Wt(Le){const nt=Le.innerWidth,Ot=Le.innerHeight;return{top:0,left:0,right:nt,bottom:Ot,width:nt,height:Ot}}function pe(Le,nt){return nt===void 0&&(nt=(0,de.Jj)(Le).getComputedStyle(Le)),nt.position==="fixed"}function Re(Le,nt){nt===void 0&&(nt=(0,de.Jj)(Le).getComputedStyle(Le));const Ot=/(auto|scroll|overlay)/;return["overflow","overflowX","overflowY"].some(hn=>{const Tt=nt[hn];return typeof Tt=="string"?Ot.test(Tt):!1})}function Ue(Le,nt){const Ot=[];function sn(hn){if(nt!=null&&Ot.length>=nt||!hn)return Ot;if((0,de.qk)(hn)&&hn.scrollingElement!=null&&!Ot.includes(hn.scrollingElement))return Ot.push(hn.scrollingElement),Ot;if(!(0,de.Re)(hn)||(0,de.vZ)(hn)||Ot.includes(hn))return Ot;const Tt=(0,de.Jj)(Le).getComputedStyle(hn);return hn!==Le&&Re(hn,Tt)&&Ot.push(hn),pe(hn,Tt)?Ot:sn(hn.parentNode)}return Le?sn(Le):Ot}function Jt(Le){const[nt]=Ue(Le,1);return nt!=null?nt:null}function et(Le){return!de.Nq||!Le?null:(0,de.FJ)(Le)?Le:(0,de.UG)(Le)?(0,de.qk)(Le)||Le===(0,de.r3)(Le).scrollingElement?window:(0,de.Re)(Le)?Le:null:null}function jt(Le){return(0,de.FJ)(Le)?Le.scrollX:Le.scrollLeft}function ct(Le){return(0,de.FJ)(Le)?Le.scrollY:Le.scrollTop}function dn(Le){return{x:jt(Le),y:ct(Le)}}var bt;(function(Le){Le[Le.Forward=1]="Forward",Le[Le.Backward=-1]="Backward"})(bt||(bt={}));function le(Le){return!de.Nq||!Le?!1:Le===document.scrollingElement}function ne(Le){const nt={x:0,y:0},Ot=le(Le)?{height:window.innerHeight,width:window.innerWidth}:{height:Le.clientHeight,width:Le.clientWidth},sn={x:Le.scrollWidth-Ot.width,y:Le.scrollHeight-Ot.height},hn=Le.scrollTop<=nt.y,Tt=Le.scrollLeft<=nt.x,it=Le.scrollTop>=sn.y,Ft=Le.scrollLeft>=sn.x;return{isTop:hn,isLeft:Tt,isBottom:it,isRight:Ft,maxScroll:sn,minScroll:nt}}const te={x:.2,y:.2};function ae(Le,nt,Ot,sn,hn){let{top:Tt,left:it,right:Ft,bottom:en}=Ot;sn===void 0&&(sn=10),hn===void 0&&(hn=te);const{isTop:On,isBottom:Wn,isLeft:Dn,isRight:jn}=ne(Le),$n={x:0,y:0},Cr={x:0,y:0},br={height:nt.height*hn.y,width:nt.width*hn.x};return!On&&Tt<=nt.top+br.height?($n.y=bt.Backward,Cr.y=sn*Math.abs((nt.top+br.height-Tt)/br.height)):!Wn&&en>=nt.bottom-br.height&&($n.y=bt.Forward,Cr.y=sn*Math.abs((nt.bottom-br.height-en)/br.height)),!jn&&Ft>=nt.right-br.width?($n.x=bt.Forward,Cr.x=sn*Math.abs((nt.right-br.width-Ft)/br.width)):!Dn&&it<=nt.left+br.width&&($n.x=bt.Backward,Cr.x=sn*Math.abs((nt.left+br.width-it)/br.width)),{direction:$n,speed:Cr}}function he(Le){if(Le===document.scrollingElement){const{innerWidth:Tt,innerHeight:it}=window;return{top:0,left:0,right:Tt,bottom:it,width:Tt,height:it}}const{top:nt,left:Ot,right:sn,bottom:hn}=Le.getBoundingClientRect();return{top:nt,left:Ot,right:sn,bottom:hn,width:Le.clientWidth,height:Le.clientHeight}}function re(Le){return Le.reduce((nt,Ot)=>(0,de.IH)(nt,dn(Ot)),ot)}function ce(Le){return Le.reduce((nt,Ot)=>nt+jt(Ot),0)}function Pe(Le){return Le.reduce((nt,Ot)=>nt+ct(Ot),0)}function lt(Le,nt){if(nt===void 0&&(nt=At),!Le)return;const{top:Ot,left:sn,bottom:hn,right:Tt}=nt(Le);Jt(Le)&&(hn<=0||Tt<=0||Ot>=window.innerHeight||sn>=window.innerWidth)&&Le.scrollIntoView({block:"center",inline:"center"})}const $e=[["x",["left","right"],ce],["y",["top","bottom"],Pe]];class Ie{constructor(nt,Ot){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 sn=Ue(Ot),hn=re(sn);this.rect=xi({},nt),this.width=nt.width,this.height=nt.height;for(const[Tt,it,Ft]of $e)for(const en of it)Object.defineProperty(this,en,{get:()=>{const On=Ft(sn),Wn=hn[Tt]-On;return this.rect[en]+Wn},enumerable:!0});Object.defineProperty(this,"rect",{enumerable:!1})}}class ht{constructor(nt){this.target=void 0,this.listeners=[],this.removeAll=()=>{this.listeners.forEach(Ot=>{var sn;return(sn=this.target)==null?void 0:sn.removeEventListener(...Ot)})},this.target=nt}add(nt,Ot,sn){var hn;(hn=this.target)==null||hn.addEventListener(nt,Ot,sn),this.listeners.push([nt,Ot,sn])}}function Et(Le){const{EventTarget:nt}=(0,de.Jj)(Le);return Le instanceof nt?Le:(0,de.r3)(Le)}function Rt(Le,nt){const Ot=Math.abs(Le.x),sn=Math.abs(Le.y);return typeof nt=="number"?Math.sqrt(Tu(Ot,2)+Tu(sn,2))>nt:"x"in nt&&"y"in nt?Ot>nt.x&&sn>nt.y:"x"in nt?Ot>nt.x:"y"in nt?sn>nt.y:!1}var Te;(function(Le){Le.Click="click",Le.DragStart="dragstart",Le.Keydown="keydown",Le.ContextMenu="contextmenu",Le.Resize="resize",Le.SelectionChange="selectionchange",Le.VisibilityChange="visibilitychange"})(Te||(Te={}));function Ke(Le){Le.preventDefault()}function yn(Le){Le.stopPropagation()}var Ht;(function(Le){Le.Space="Space",Le.Down="ArrowDown",Le.Right="ArrowRight",Le.Left="ArrowLeft",Le.Up="ArrowUp",Le.Esc="Escape",Le.Enter="Enter",Le.Tab="Tab"})(Ht||(Ht={}));const bn={start:[Ht.Space,Ht.Enter],cancel:[Ht.Esc],end:[Ht.Space,Ht.Enter,Ht.Tab]},fn=(Le,nt)=>{let{currentCoordinates:Ot}=nt;switch(Le.code){case Ht.Right:return Da(xi({},Ot),{x:Ot.x+25});case Ht.Left:return Da(xi({},Ot),{x:Ot.x-25});case Ht.Down:return Da(xi({},Ot),{y:Ot.y+25});case Ht.Up:return Da(xi({},Ot),{y:Ot.y-25})}};class Xt{constructor(nt){this.props=void 0,this.autoScrollEnabled=!1,this.referenceCoordinates=void 0,this.listeners=void 0,this.windowListeners=void 0,this.props=nt;const{event:{target:Ot}}=nt;this.props=nt,this.listeners=new ht((0,de.r3)(Ot)),this.windowListeners=new ht((0,de.Jj)(Ot)),this.handleKeyDown=this.handleKeyDown.bind(this),this.handleCancel=this.handleCancel.bind(this),this.attach()}attach(){this.handleStart(),this.windowListeners.add(Te.Resize,this.handleCancel),this.windowListeners.add(Te.VisibilityChange,this.handleCancel),setTimeout(()=>this.listeners.add(Te.Keydown,this.handleKeyDown))}handleStart(){const{activeNode:nt,onStart:Ot}=this.props,sn=nt.node.current;sn&<(sn),Ot(ot)}handleKeyDown(nt){if((0,de.vd)(nt)){const{active:Ot,context:sn,options:hn}=this.props,{keyboardCodes:Tt=bn,coordinateGetter:it=fn,scrollBehavior:Ft="smooth"}=hn,{code:en}=nt;if(Tt.end.includes(en)){this.handleEnd(nt);return}if(Tt.cancel.includes(en)){this.handleCancel(nt);return}const{collisionRect:On}=sn.current,Wn=On?{x:On.left,y:On.top}:ot;this.referenceCoordinates||(this.referenceCoordinates=Wn);const Dn=it(nt,{active:Ot,context:sn.current,currentCoordinates:Wn});if(Dn){const jn=(0,de.$X)(Dn,Wn),$n={x:0,y:0},{scrollableAncestors:Cr}=sn.current;for(const br of Cr){const zr=nt.code,{isTop:Qr,isRight:yo,isLeft:io,isBottom:Io,maxScroll:co,minScroll:fo}=ne(br),bo=he(br),Bo={x:Math.min(zr===Ht.Right?bo.right-bo.width/2:bo.right,Math.max(zr===Ht.Right?bo.left:bo.left+bo.width/2,Dn.x)),y:Math.min(zr===Ht.Down?bo.bottom-bo.height/2:bo.bottom,Math.max(zr===Ht.Down?bo.top:bo.top+bo.height/2,Dn.y))},ri=zr===Ht.Right&&!yo||zr===Ht.Left&&!io,Si=zr===Ht.Down&&!Io||zr===Ht.Up&&!Qr;if(ri&&Bo.x!==Dn.x){const bi=br.scrollLeft+jn.x,Ki=zr===Ht.Right&&bi<=co.x||zr===Ht.Left&&bi>=fo.x;if(Ki&&!jn.y){br.scrollTo({left:bi,behavior:Ft});return}Ki?$n.x=br.scrollLeft-bi:$n.x=zr===Ht.Right?br.scrollLeft-co.x:br.scrollLeft-fo.x,$n.x&&br.scrollBy({left:-$n.x,behavior:Ft});break}else if(Si&&Bo.y!==Dn.y){const bi=br.scrollTop+jn.y,Ki=zr===Ht.Down&&bi<=co.y||zr===Ht.Up&&bi>=fo.y;if(Ki&&!jn.x){br.scrollTo({top:bi,behavior:Ft});return}Ki?$n.y=br.scrollTop-bi:$n.y=zr===Ht.Down?br.scrollTop-co.y:br.scrollTop-fo.y,$n.y&&br.scrollBy({top:-$n.y,behavior:Ft});break}}this.handleMove(nt,(0,de.IH)((0,de.$X)(Dn,this.referenceCoordinates),$n))}}}handleMove(nt,Ot){const{onMove:sn}=this.props;nt.preventDefault(),sn(Ot)}handleEnd(nt){const{onEnd:Ot}=this.props;nt.preventDefault(),this.detach(),Ot()}handleCancel(nt){const{onCancel:Ot}=this.props;nt.preventDefault(),this.detach(),Ot()}detach(){this.listeners.removeAll(),this.windowListeners.removeAll()}}Xt.activators=[{eventName:"onKeyDown",handler:(Le,nt,Ot)=>{let{keyboardCodes:sn=bn,onActivation:hn}=nt,{active:Tt}=Ot;const{code:it}=Le.nativeEvent;if(sn.start.includes(it)){const Ft=Tt.activatorNode.current;return Ft&&Le.target!==Ft?!1:(Le.preventDefault(),hn==null||hn({event:Le.nativeEvent}),!0)}return!1}}];function on(Le){return!!(Le&&"distance"in Le)}function gn(Le){return!!(Le&&"delay"in Le)}class ft{constructor(nt,Ot,sn){var hn;sn===void 0&&(sn=Et(nt.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=nt,this.events=Ot;const{event:Tt}=nt,{target:it}=Tt;this.props=nt,this.events=Ot,this.document=(0,de.r3)(it),this.documentListeners=new ht(this.document),this.listeners=new ht(sn),this.windowListeners=new ht((0,de.Jj)(it)),this.initialCoordinates=(hn=(0,de.DC)(Tt))!=null?hn:ot,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:nt,props:{options:{activationConstraint:Ot,bypassActivationConstraint:sn}}}=this;if(this.listeners.add(nt.move.name,this.handleMove,{passive:!1}),this.listeners.add(nt.end.name,this.handleEnd),nt.cancel&&this.listeners.add(nt.cancel.name,this.handleCancel),this.windowListeners.add(Te.Resize,this.handleCancel),this.windowListeners.add(Te.DragStart,Ke),this.windowListeners.add(Te.VisibilityChange,this.handleCancel),this.windowListeners.add(Te.ContextMenu,Ke),this.documentListeners.add(Te.Keydown,this.handleKeydown),Ot){if(sn!=null&&sn({event:this.props.event,activeNode:this.props.activeNode,options:this.props.options}))return this.handleStart();if(gn(Ot)){this.timeoutId=setTimeout(this.handleStart,Ot.delay),this.handlePending(Ot);return}if(on(Ot)){this.handlePending(Ot);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(nt,Ot){const{active:sn,onPending:hn}=this.props;hn(sn,nt,this.initialCoordinates,Ot)}handleStart(){const{initialCoordinates:nt}=this,{onStart:Ot}=this.props;nt&&(this.activated=!0,this.documentListeners.add(Te.Click,yn,{capture:!0}),this.removeTextSelection(),this.documentListeners.add(Te.SelectionChange,this.removeTextSelection),Ot(nt))}handleMove(nt){var Ot;const{activated:sn,initialCoordinates:hn,props:Tt}=this,{onMove:it,options:{activationConstraint:Ft}}=Tt;if(!hn)return;const en=(Ot=(0,de.DC)(nt))!=null?Ot:ot,On=(0,de.$X)(hn,en);if(!sn&&Ft){if(on(Ft)){if(Ft.tolerance!=null&&Rt(On,Ft.tolerance))return this.handleCancel();if(Rt(On,Ft.distance))return this.handleStart()}if(gn(Ft)&&Rt(On,Ft.tolerance))return this.handleCancel();this.handlePending(Ft,On);return}nt.cancelable&&nt.preventDefault(),it(en)}handleEnd(){const{onAbort:nt,onEnd:Ot}=this.props;this.detach(),this.activated||nt(this.props.active),Ot()}handleCancel(){const{onAbort:nt,onCancel:Ot}=this.props;this.detach(),this.activated||nt(this.props.active),Ot()}handleKeydown(nt){nt.code===Ht.Esc&&this.handleCancel()}removeTextSelection(){var nt;(nt=this.document.getSelection())==null||nt.removeAllRanges()}}const Yt={cancel:{name:"pointercancel"},move:{name:"pointermove"},end:{name:"pointerup"}};class xn extends ft{constructor(nt){const{event:Ot}=nt,sn=(0,de.r3)(Ot.target);super(nt,Yt,sn)}}xn.activators=[{eventName:"onPointerDown",handler:(Le,nt)=>{let{nativeEvent:Ot}=Le,{onActivation:sn}=nt;return!Ot.isPrimary||Ot.button!==0?!1:(sn==null||sn({event:Ot}),!0)}}];const St={move:{name:"mousemove"},end:{name:"mouseup"}};var _e;(function(Le){Le[Le.RightClick=2]="RightClick"})(_e||(_e={}));class Vt extends ft{constructor(nt){super(nt,St,(0,de.r3)(nt.event.target))}}Vt.activators=[{eventName:"onMouseDown",handler:(Le,nt)=>{let{nativeEvent:Ot}=Le,{onActivation:sn}=nt;return Ot.button===_e.RightClick?!1:(sn==null||sn({event:Ot}),!0)}}];const tn={cancel:{name:"touchcancel"},move:{name:"touchmove"},end:{name:"touchend"}};class un extends ft{constructor(nt){super(nt,tn)}static setup(){return window.addEventListener(tn.move.name,nt,{capture:!1,passive:!1}),function(){window.removeEventListener(tn.move.name,nt)};function nt(){}}}un.activators=[{eventName:"onTouchStart",handler:(Le,nt)=>{let{nativeEvent:Ot}=Le,{onActivation:sn}=nt;const{touches:hn}=Ot;return hn.length>1?!1:(sn==null||sn({event:Ot}),!0)}}];var Tn;(function(Le){Le[Le.Pointer=0]="Pointer",Le[Le.DraggableRect=1]="DraggableRect"})(Tn||(Tn={}));var qn;(function(Le){Le[Le.TreeOrder=0]="TreeOrder",Le[Le.ReversedTreeOrder=1]="ReversedTreeOrder"})(qn||(qn={}));function mr(Le){let{acceleration:nt,activator:Ot=Tn.Pointer,canScroll:sn,draggingRect:hn,enabled:Tt,interval:it=5,order:Ft=qn.TreeOrder,pointerCoordinates:en,scrollableAncestors:On,scrollableAncestorRects:Wn,delta:Dn,threshold:jn}=Le;const $n=Jn({delta:Dn,disabled:!Tt}),[Cr,br]=(0,de.Yz)(),zr=(0,b.useRef)({x:0,y:0}),Qr=(0,b.useRef)({x:0,y:0}),yo=(0,b.useMemo)(()=>{switch(Ot){case Tn.Pointer:return en?{top:en.y,bottom:en.y,left:en.x,right:en.x}:null;case Tn.DraggableRect:return hn}},[Ot,hn,en]),io=(0,b.useRef)(null),Io=(0,b.useCallback)(()=>{const fo=io.current;if(!fo)return;const bo=zr.current.x*Qr.current.x,Bo=zr.current.y*Qr.current.y;fo.scrollBy(bo,Bo)},[]),co=(0,b.useMemo)(()=>Ft===qn.TreeOrder?[...On].reverse():On,[Ft,On]);(0,b.useEffect)(()=>{if(!Tt||!On.length||!yo){br();return}for(const fo of co){if((sn==null?void 0:sn(fo))===!1)continue;const bo=On.indexOf(fo),Bo=Wn[bo];if(!Bo)continue;const{direction:ri,speed:Si}=ae(fo,Bo,yo,nt,jn);for(const bi of["x","y"])$n[bi][ri[bi]]||(Si[bi]=0,ri[bi]=0);if(Si.x>0||Si.y>0){br(),io.current=fo,Cr(Io,it),zr.current=Si,Qr.current=ri;return}}zr.current={x:0,y:0},Qr.current={x:0,y:0},br()},[nt,Io,sn,br,Tt,it,JSON.stringify(yo),JSON.stringify($n),Cr,On,co,Wn,JSON.stringify(jn)])}const vr={x:{[bt.Backward]:!1,[bt.Forward]:!1},y:{[bt.Backward]:!1,[bt.Forward]:!1}};function Jn(Le){let{delta:nt,disabled:Ot}=Le;const sn=(0,de.D9)(nt);return(0,de.Gj)(hn=>{if(Ot||!sn||!hn)return vr;const Tt={x:Math.sign(nt.x-sn.x),y:Math.sign(nt.y-sn.y)};return{x:{[bt.Backward]:hn.x[bt.Backward]||Tt.x===-1,[bt.Forward]:hn.x[bt.Forward]||Tt.x===1},y:{[bt.Backward]:hn.y[bt.Backward]||Tt.y===-1,[bt.Forward]:hn.y[bt.Forward]||Tt.y===1}}},[Ot,nt,sn])}function dr(Le,nt){const Ot=nt!=null?Le.get(nt):void 0,sn=Ot?Ot.node.current:null;return(0,de.Gj)(hn=>{var Tt;return nt==null?null:(Tt=sn!=null?sn:hn)!=null?Tt:null},[sn,nt])}function _t(Le,nt){return(0,b.useMemo)(()=>Le.reduce((Ot,sn)=>{const{sensor:hn}=sn,Tt=hn.activators.map(it=>({eventName:it.eventName,handler:nt(it.handler,sn)}));return[...Ot,...Tt]},[]),[Le,nt])}var zt;(function(Le){Le[Le.Always=0]="Always",Le[Le.BeforeDragging=1]="BeforeDragging",Le[Le.WhileDragging=2]="WhileDragging"})(zt||(zt={}));var Sn;(function(Le){Le.Optimized="optimized"})(Sn||(Sn={}));const wn=new Map;function vn(Le,nt){let{dragging:Ot,dependencies:sn,config:hn}=nt;const[Tt,it]=(0,b.useState)(null),{frequency:Ft,measure:en,strategy:On}=hn,Wn=(0,b.useRef)(Le),Dn=zr(),jn=(0,de.Ey)(Dn),$n=(0,b.useCallback)(function(Qr){Qr===void 0&&(Qr=[]),!jn.current&&it(yo=>yo===null?Qr:yo.concat(Qr.filter(io=>!yo.includes(io))))},[jn]),Cr=(0,b.useRef)(null),br=(0,de.Gj)(Qr=>{if(Dn&&!Ot)return wn;if(!Qr||Qr===wn||Wn.current!==Le||Tt!=null){const yo=new Map;for(let io of Le){if(!io)continue;if(Tt&&Tt.length>0&&!Tt.includes(io.id)&&io.rect.current){yo.set(io.id,io.rect.current);continue}const Io=io.node.current,co=Io?new Ie(en(Io),Io):null;io.rect.current=co,co&&yo.set(io.id,co)}return yo}return Qr},[Le,Tt,Ot,Dn,en]);return(0,b.useEffect)(()=>{Wn.current=Le},[Le]),(0,b.useEffect)(()=>{Dn||$n()},[Ot,Dn]),(0,b.useEffect)(()=>{Tt&&Tt.length>0&&it(null)},[JSON.stringify(Tt)]),(0,b.useEffect)(()=>{Dn||typeof Ft!="number"||Cr.current!==null||(Cr.current=setTimeout(()=>{$n(),Cr.current=null},Ft))},[Ft,Dn,$n,...sn]),{droppableRects:br,measureDroppableContainers:$n,measuringScheduled:Tt!=null};function zr(){switch(On){case zt.Always:return!1;case zt.BeforeDragging:return Ot;default:return!Ot}}}function Rn(Le,nt){return(0,de.Gj)(Ot=>Le?Ot||(typeof nt=="function"?nt(Le):Le):null,[nt,Le])}function Bt(Le,nt){return Rn(Le,nt)}function ln(Le){let{callback:nt,disabled:Ot}=Le;const sn=(0,de.zX)(nt),hn=(0,b.useMemo)(()=>{if(Ot||typeof window=="undefined"||typeof window.MutationObserver=="undefined")return;const{MutationObserver:Tt}=window;return new Tt(sn)},[sn,Ot]);return(0,b.useEffect)(()=>()=>hn==null?void 0:hn.disconnect(),[hn]),hn}function Zt(Le){let{callback:nt,disabled:Ot}=Le;const sn=(0,de.zX)(nt),hn=(0,b.useMemo)(()=>{if(Ot||typeof window=="undefined"||typeof window.ResizeObserver=="undefined")return;const{ResizeObserver:Tt}=window;return new Tt(sn)},[Ot]);return(0,b.useEffect)(()=>()=>hn==null?void 0:hn.disconnect(),[hn]),hn}function pn(Le){return new Ie(At(Le),Le)}function cn(Le,nt,Ot){nt===void 0&&(nt=pn);const[sn,hn]=(0,b.useState)(null);function Tt(){hn(en=>{if(!Le)return null;if(Le.isConnected===!1){var On;return(On=en!=null?en:Ot)!=null?On:null}const Wn=nt(Le);return JSON.stringify(en)===JSON.stringify(Wn)?en:Wn})}const it=ln({callback(en){if(Le)for(const On of en){const{type:Wn,target:Dn}=On;if(Wn==="childList"&&Dn instanceof HTMLElement&&Dn.contains(Le)){Tt();break}}}}),Ft=Zt({callback:Tt});return(0,de.LI)(()=>{Tt(),Le?(Ft==null||Ft.observe(Le),it==null||it.observe(document.body,{childList:!0,subtree:!0})):(Ft==null||Ft.disconnect(),it==null||it.disconnect())},[Le]),sn}function zn(Le){const nt=Rn(Le);return gt(Le,nt)}const Ln=[];function rr(Le){const nt=(0,b.useRef)(Le),Ot=(0,de.Gj)(sn=>Le?sn&&sn!==Ln&&Le&&nt.current&&Le.parentNode===nt.current.parentNode?sn:Ue(Le):Ln,[Le]);return(0,b.useEffect)(()=>{nt.current=Le},[Le]),Ot}function _n(Le){const[nt,Ot]=(0,b.useState)(null),sn=(0,b.useRef)(Le),hn=(0,b.useCallback)(Tt=>{const it=et(Tt.target);it&&Ot(Ft=>Ft?(Ft.set(it,dn(it)),new Map(Ft)):null)},[]);return(0,b.useEffect)(()=>{const Tt=sn.current;if(Le!==Tt){it(Tt);const Ft=Le.map(en=>{const On=et(en);return On?(On.addEventListener("scroll",hn,{passive:!0}),[On,dn(On)]):null}).filter(en=>en!=null);Ot(Ft.length?new Map(Ft):null),sn.current=Le}return()=>{it(Le),it(Tt)};function it(Ft){Ft.forEach(en=>{const On=et(en);On==null||On.removeEventListener("scroll",hn)})}},[hn,Le]),(0,b.useMemo)(()=>Le.length?nt?Array.from(nt.values()).reduce((Tt,it)=>(0,de.IH)(Tt,it),ot):re(Le):ot,[Le,nt])}function rn(Le,nt){nt===void 0&&(nt=[]);const Ot=(0,b.useRef)(null);return(0,b.useEffect)(()=>{Ot.current=null},nt),(0,b.useEffect)(()=>{const sn=Le!==ot;sn&&!Ot.current&&(Ot.current=Le),!sn&&Ot.current&&(Ot.current=null)},[Le]),Ot.current?(0,de.$X)(Le,Ot.current):ot}function Fn(Le){(0,b.useEffect)(()=>{if(!de.Nq)return;const nt=Le.map(Ot=>{let{sensor:sn}=Ot;return sn.setup==null?void 0:sn.setup()});return()=>{for(const Ot of nt)Ot==null||Ot()}},Le.map(nt=>{let{sensor:Ot}=nt;return Ot}))}function nn(Le,nt){return(0,b.useMemo)(()=>Le.reduce((Ot,sn)=>{let{eventName:hn,handler:Tt}=sn;return Ot[hn]=it=>{Tt(it,nt)},Ot},{}),[Le,nt])}function er(Le){return(0,b.useMemo)(()=>Le?Wt(Le):null,[Le])}const It=[];function Qt(Le,nt){nt===void 0&&(nt=At);const[Ot]=Le,sn=er(Ot?(0,de.Jj)(Ot):null),[hn,Tt]=(0,b.useState)(It);function it(){Tt(()=>Le.length?Le.map(en=>le(en)?sn:new Ie(nt(en),en)):It)}const Ft=Zt({callback:it});return(0,de.LI)(()=>{Ft==null||Ft.disconnect(),it(),Le.forEach(en=>Ft==null?void 0:Ft.observe(en))},[Le]),hn}function ze(Le){if(!Le)return null;if(Le.children.length>1)return Le;const nt=Le.children[0];return(0,de.Re)(nt)?nt:Le}function yt(Le){let{measure:nt}=Le;const[Ot,sn]=(0,b.useState)(null),hn=(0,b.useCallback)(On=>{for(const{target:Wn}of On)if((0,de.Re)(Wn)){sn(Dn=>{const jn=nt(Wn);return Dn?Da(xi({},Dn),{width:jn.width,height:jn.height}):jn});break}},[nt]),Tt=Zt({callback:hn}),it=(0,b.useCallback)(On=>{const Wn=ze(On);Tt==null||Tt.disconnect(),Wn&&(Tt==null||Tt.observe(Wn)),sn(Wn?nt(Wn):null)},[nt,Tt]),[Ft,en]=(0,de.wm)(it);return(0,b.useMemo)(()=>({nodeRef:Ft,rect:Ot,setRef:en}),[Ot,Ft,en])}const Ye=[{sensor:xn,options:{}},{sensor:Xt,options:{}}],Ct={current:{}},qt={draggable:{measure:Gt},droppable:{measure:Gt,strategy:zt.WhileDragging,frequency:Sn.Optimized},dragOverlay:{measure:At}};class nr extends Map{get(nt){var Ot;return nt!=null&&(Ot=super.get(nt))!=null?Ot:void 0}toArray(){return Array.from(this.values())}getEnabled(){return this.toArray().filter(nt=>{let{disabled:Ot}=nt;return!Ot})}getNodeFor(nt){var Ot,sn;return(Ot=(sn=this.get(nt))==null?void 0:sn.node.current)!=null?Ot:void 0}}const ar={activatorEvent:null,active:null,activeNode:null,activeNodeRect:null,collisions:null,containerNodeRect:null,draggableNodes:new Map,droppableRects:new Map,droppableContainers:new nr,over:null,dragOverlay:{nodeRef:{current:null},rect:null,setRef:tt},scrollableAncestors:[],scrollableAncestorRects:[],measuringConfiguration:qt,measureDroppableContainers:tt,windowRect:null,measuringScheduled:!1},pt={activatorEvent:null,activators:[],active:null,activeNodeRect:null,ariaDescribedById:{draggable:""},dispatch:tt,draggableNodes:new Map,over:null,measureDroppableContainers:tt},xt=(0,b.createContext)(pt),Pt=(0,b.createContext)(ar);function Kt(){return{draggable:{active:null,initialCoordinates:{x:0,y:0},nodes:new Map,translate:{x:0,y:0}},droppable:{containers:new nr}}}function In(Le,nt){switch(nt.type){case Je.DragStart:return Da(xi({},Le),{draggable:Da(xi({},Le.draggable),{initialCoordinates:nt.initialCoordinates,active:nt.active})});case Je.DragMove:return Le.draggable.active==null?Le:Da(xi({},Le),{draggable:Da(xi({},Le.draggable),{translate:{x:nt.coordinates.x-Le.draggable.initialCoordinates.x,y:nt.coordinates.y-Le.draggable.initialCoordinates.y}})});case Je.DragEnd:case Je.DragCancel:return Da(xi({},Le),{draggable:Da(xi({},Le.draggable),{active:null,initialCoordinates:{x:0,y:0},translate:{x:0,y:0}})});case Je.RegisterDroppable:{const{element:Ot}=nt,{id:sn}=Ot,hn=new nr(Le.droppable.containers);return hn.set(sn,Ot),Da(xi({},Le),{droppable:Da(xi({},Le.droppable),{containers:hn})})}case Je.SetDroppableDisabled:{const{id:Ot,key:sn,disabled:hn}=nt,Tt=Le.droppable.containers.get(Ot);if(!Tt||sn!==Tt.key)return Le;const it=new nr(Le.droppable.containers);return it.set(Ot,Da(xi({},Tt),{disabled:hn})),Da(xi({},Le),{droppable:Da(xi({},Le.droppable),{containers:it})})}case Je.UnregisterDroppable:{const{id:Ot,key:sn}=nt,hn=Le.droppable.containers.get(Ot);if(!hn||sn!==hn.key)return Le;const Tt=new nr(Le.droppable.containers);return Tt.delete(Ot),Da(xi({},Le),{droppable:Da(xi({},Le.droppable),{containers:Tt})})}default:return Le}}function Zn(Le){let{disabled:nt}=Le;const{active:Ot,activatorEvent:sn,draggableNodes:hn}=(0,b.useContext)(xt),Tt=(0,de.D9)(sn),it=(0,de.D9)(Ot==null?void 0:Ot.id);return(0,b.useEffect)(()=>{if(!nt&&!sn&&Tt&&it!=null){if(!(0,de.vd)(Tt)||document.activeElement===Tt.target)return;const Ft=hn.get(it);if(!Ft)return;const{activatorNode:en,node:On}=Ft;if(!en.current&&!On.current)return;requestAnimationFrame(()=>{for(const Wn of[en.current,On.current]){if(!Wn)continue;const Dn=(0,de.so)(Wn);if(Dn){Dn.focus();break}}})}},[sn,nt,hn,it,Tt]),null}function kn(Le,nt){let hn=nt,{transform:Ot}=hn,sn=wu(hn,["transform"]);return Le!=null&&Le.length?Le.reduce((Tt,it)=>it(xi({transform:Tt},sn)),Ot):Ot}function Un(Le){return(0,b.useMemo)(()=>({draggable:xi(xi({},qt.draggable),Le==null?void 0:Le.draggable),droppable:xi(xi({},qt.droppable),Le==null?void 0:Le.droppable),dragOverlay:xi(xi({},qt.dragOverlay),Le==null?void 0:Le.dragOverlay)}),[Le==null?void 0:Le.draggable,Le==null?void 0:Le.droppable,Le==null?void 0:Le.dragOverlay])}function pr(Le){let{activeNode:nt,measure:Ot,initialRect:sn,config:hn=!0}=Le;const Tt=(0,b.useRef)(!1),{x:it,y:Ft}=typeof hn=="boolean"?{x:hn,y:hn}:hn;(0,de.LI)(()=>{if(!it&&!Ft||!nt){Tt.current=!1;return}if(Tt.current||!sn)return;const On=nt==null?void 0:nt.node.current;if(!On||On.isConnected===!1)return;const Wn=Ot(On),Dn=gt(Wn,sn);if(it||(Dn.x=0),Ft||(Dn.y=0),Tt.current=!0,Math.abs(Dn.x)>0||Math.abs(Dn.y)>0){const jn=Jt(On);jn&&jn.scrollBy({top:Dn.y,left:Dn.x})}},[nt,it,Ft,sn,Ot])}const Ar=(0,b.createContext)(Da(xi({},ot),{scaleX:1,scaleY:1}));var Vr;(function(Le){Le[Le.Uninitialized=0]="Uninitialized",Le[Le.Initializing=1]="Initializing",Le[Le.Initialized=2]="Initialized"})(Vr||(Vr={}));const Br=(0,b.memo)(function(nt){var Ot,sn,hn,Tt;let is=nt,{id:it,accessibility:Ft,autoScroll:en=!0,children:On,sensors:Wn=Ye,collisionDetection:Dn=Fe,measuring:jn,modifiers:$n}=is,Cr=wu(is,["id","accessibility","autoScroll","children","sensors","collisionDetection","measuring","modifiers"]);const br=(0,b.useReducer)(In,void 0,Kt),[zr,Qr]=br,[yo,io]=fe(),[Io,co]=(0,b.useState)(Vr.Uninitialized),fo=Io===Vr.Initialized,{draggable:{active:bo,nodes:Bo,translate:ri},droppable:{containers:Si}}=zr,bi=bo!=null?Bo.get(bo):null,Ki=(0,b.useRef)({initial:null,translated:null}),zo=(0,b.useMemo)(()=>{var Ja;return bo!=null?{id:bo,data:(Ja=bi==null?void 0:bi.data)!=null?Ja:Ct,rect:Ki}:null},[bo,bi]),Mo=(0,b.useRef)(null),[zi,Wi]=(0,b.useState)(null),[Xi,za]=(0,b.useState)(null),Pa=(0,de.Ey)(Cr,Object.values(Cr)),Ta=(0,de.Ld)("DndDescribedBy",it),Ba=(0,b.useMemo)(()=>Si.getEnabled(),[Si]),Ui=Un(jn),{droppableRects:Fa,measureDroppableContainers:ul,measuringScheduled:Qa}=vn(Ba,{dragging:fo,dependencies:[ri.x,ri.y],config:Ui.droppable}),Qi=dr(Bo,bo),Nl=(0,b.useMemo)(()=>Xi?(0,de.DC)(Xi):null,[Xi]),El=_l(),hi=Bt(Qi,Ui.draggable.measure);pr({activeNode:bo!=null?Bo.get(bo):null,config:El.layoutShiftCompensation,initialRect:hi,measure:Ui.draggable.measure});const mi=cn(Qi,Ui.draggable.measure,hi),wo=cn(Qi?Qi.parentElement:null),ho=(0,b.useRef)({activatorEvent:null,active:null,activeNode:Qi,collisionRect:null,collisions:null,droppableRects:Fa,draggableNodes:Bo,draggingNode:null,draggingNodeRect:null,droppableContainers:Si,over:null,scrollableAncestors:[],scrollAdjustedTranslate:null}),To=Si.getNodeFor((Ot=ho.current.over)==null?void 0:Ot.id),si=yt({measure:Ui.dragOverlay.measure}),da=(sn=si.nodeRef.current)!=null?sn:Qi,Ri=fo?(hn=si.rect)!=null?hn:mi:null,Li=!!(si.nodeRef.current&&si.rect),Oi=zn(Li?null:mi),pa=er(da?(0,de.Jj)(da):null),Ea=rr(fo?To!=null?To:Qi:null),Oa=Qt(Ea),Ya=kn($n,{transform:{x:ri.x-Oi.x,y:ri.y-Oi.y,scaleX:1,scaleY:1},activatorEvent:Xi,active:zo,activeNodeRect:mi,containerNodeRect:wo,draggingNodeRect:Ri,over:ho.current.over,overlayNodeRect:si.rect,scrollableAncestors:Ea,scrollableAncestorRects:Oa,windowRect:pa}),Ii=Nl?(0,de.IH)(Nl,ri):null,Ga=_n(Ea),wl=rn(Ga),cl=rn(Ga,[mi]),el=(0,de.IH)(Ya,wl),Xa=Ri?ke(Ri,Ya):null,Al=zo&&Xa?Dn({active:zo,collisionRect:Xa,droppableRects:Fa,droppableContainers:Ba,pointerCoordinates:Ii}):null,xl=mt(Al,"id"),[Hl,Yl]=(0,b.useState)(null),as=Li?Ya:(0,de.IH)(Ya,cl),ns=ue(as,(Tt=Hl==null?void 0:Hl.rect)!=null?Tt:null,mi),Cs=(0,b.useRef)(null),rs=(0,b.useCallback)((Ja,$a)=>{let{sensor:fa,options:Hi}=$a;if(Mo.current==null)return;const Ci=Bo.get(Mo.current);if(!Ci)return;const sa=Ja.nativeEvent,Ma=new fa({active:Mo.current,activeNode:Ci,event:sa,options:Hi,context:ho,onAbort(_i){if(!Bo.get(_i))return;const{onDragAbort:Ka}=Pa.current,nl={id:_i};Ka==null||Ka(nl),yo({type:"onDragAbort",event:nl})},onPending(_i,tl,Ka,nl){if(!Bo.get(_i))return;const{onDragPending:rl}=Pa.current,ol={id:_i,constraint:tl,initialCoordinates:Ka,offset:nl};rl==null||rl(ol),yo({type:"onDragPending",event:ol})},onStart(_i){const tl=Mo.current;if(tl==null)return;const Ka=Bo.get(tl);if(!Ka)return;const{onDragStart:nl}=Pa.current,_a={activatorEvent:sa,active:{id:tl,data:Ka.data,rect:Ki}};(0,Ce.unstable_batchedUpdates)(()=>{nl==null||nl(_a),co(Vr.Initializing),Qr({type:Je.DragStart,initialCoordinates:_i,active:tl}),yo({type:"onDragStart",event:_a}),Wi(Cs.current),za(sa)})},onMove(_i){Qr({type:Je.DragMove,coordinates:_i})},onEnd:wa(Je.DragEnd),onCancel:wa(Je.DragCancel)});Cs.current=Ma;function wa(_i){return function(){return $u(this,null,function*(){const{active:Ka,collisions:nl,over:_a,scrollAdjustedTranslate:rl}=ho.current;let ol=null;if(Ka&&rl){const{cancelDrop:kl}=Pa.current;ol={activatorEvent:sa,active:Ka,collisions:nl,delta:rl,over:_a},_i===Je.DragEnd&&typeof kl=="function"&&(yield Promise.resolve(kl(ol)))&&(_i=Je.DragCancel)}Mo.current=null,(0,Ce.unstable_batchedUpdates)(()=>{Qr({type:_i}),co(Vr.Uninitialized),Yl(null),Wi(null),za(null),Cs.current=null;const kl=_i===Je.DragEnd?"onDragEnd":"onDragCancel";if(ol){const ls=Pa.current[kl];ls==null||ls(ol),yo({type:kl,event:ol})}})})}}},[Bo]),Dl=(0,b.useCallback)((Ja,$a)=>(fa,Hi)=>{const Ci=fa.nativeEvent,sa=Bo.get(Hi);if(Mo.current!==null||!sa||Ci.dndKit||Ci.defaultPrevented)return;const Ma={active:sa};Ja(fa,$a.options,Ma)===!0&&(Ci.dndKit={capturedBy:$a.sensor},Mo.current=Hi,rs(fa,$a))},[Bo,rs]),Gl=_t(Wn,Dl);Fn(Wn),(0,de.LI)(()=>{mi&&Io===Vr.Initializing&&co(Vr.Initialized)},[mi,Io]),(0,b.useEffect)(()=>{const{onDragMove:Ja}=Pa.current,{active:$a,activatorEvent:fa,collisions:Hi,over:Ci}=ho.current;if(!$a||!fa)return;const sa={active:$a,activatorEvent:fa,collisions:Hi,delta:{x:el.x,y:el.y},over:Ci};(0,Ce.unstable_batchedUpdates)(()=>{Ja==null||Ja(sa),yo({type:"onDragMove",event:sa})})},[el.x,el.y]),(0,b.useEffect)(()=>{const{active:Ja,activatorEvent:$a,collisions:fa,droppableContainers:Hi,scrollAdjustedTranslate:Ci}=ho.current;if(!Ja||Mo.current==null||!$a||!Ci)return;const{onDragOver:sa}=Pa.current,Ma=Hi.get(xl),wa=Ma&&Ma.rect.current?{id:Ma.id,rect:Ma.rect.current,data:Ma.data,disabled:Ma.disabled}:null,_i={active:Ja,activatorEvent:$a,collisions:fa,delta:{x:Ci.x,y:Ci.y},over:wa};(0,Ce.unstable_batchedUpdates)(()=>{Yl(wa),sa==null||sa(_i),yo({type:"onDragOver",event:_i})})},[xl]),(0,de.LI)(()=>{ho.current={activatorEvent:Xi,active:zo,activeNode:Qi,collisionRect:Xa,collisions:Al,droppableRects:Fa,draggableNodes:Bo,draggingNode:da,draggingNodeRect:Ri,droppableContainers:Si,over:Hl,scrollableAncestors:Ea,scrollAdjustedTranslate:el},Ki.current={initial:Ri,translated:Xa}},[zo,Qi,Al,Xa,Bo,da,Ri,Fa,Si,Hl,Ea,el]),mr(Da(xi({},El),{delta:ri,draggingRect:Xa,pointerCoordinates:Ii,scrollableAncestors:Ea,scrollableAncestorRects:Oa}));const os=(0,b.useMemo)(()=>({active:zo,activeNode:Qi,activeNodeRect:mi,activatorEvent:Xi,collisions:Al,containerNodeRect:wo,dragOverlay:si,draggableNodes:Bo,droppableContainers:Si,droppableRects:Fa,over:Hl,measureDroppableContainers:ul,scrollableAncestors:Ea,scrollableAncestorRects:Oa,measuringConfiguration:Ui,measuringScheduled:Qa,windowRect:pa}),[zo,Qi,mi,Xi,Al,wo,si,Bo,Si,Fa,Hl,ul,Ea,Oa,Ui,Qa,pa]),hs=(0,b.useMemo)(()=>({activatorEvent:Xi,activators:Gl,active:zo,activeNodeRect:mi,ariaDescribedById:{draggable:Ta},dispatch:Qr,draggableNodes:Bo,over:Hl,measureDroppableContainers:ul}),[Xi,Gl,zo,mi,Qr,Ta,Bo,Hl,ul]);return b.createElement(Ve.Provider,{value:io},b.createElement(xt.Provider,{value:hs},b.createElement(Pt.Provider,{value:os},b.createElement(Ar.Provider,{value:ns},On)),b.createElement(Zn,{disabled:(Ft==null?void 0:Ft.restoreFocus)===!1})),b.createElement(vt,Da(xi({},Ft),{hiddenTextDescribedById:Ta})));function _l(){const Ja=(zi==null?void 0:zi.autoScrollEnabled)===!1,$a=typeof en=="object"?en.enabled===!1:en===!1,fa=fo&&!Ja&&!$a;return typeof en=="object"?Da(xi({},en),{enabled:fa}):{enabled:fa}}}),fr=(0,b.createContext)(null),Pr="button",kr="Draggable";function Jr(Le){let{id:nt,data:Ot,disabled:sn=!1,attributes:hn}=Le;const Tt=(0,de.Ld)(kr),{activators:it,activatorEvent:Ft,active:en,activeNodeRect:On,ariaDescribedById:Wn,draggableNodes:Dn,over:jn}=(0,b.useContext)(xt),{role:$n=Pr,roleDescription:Cr="draggable",tabIndex:br=0}=hn!=null?hn:{},zr=(en==null?void 0:en.id)===nt,Qr=(0,b.useContext)(zr?Ar:fr),[yo,io]=(0,de.wm)(),[Io,co]=(0,de.wm)(),fo=nn(it,nt),bo=(0,de.Ey)(Ot);(0,de.LI)(()=>(Dn.set(nt,{id:nt,key:Tt,node:yo,activatorNode:Io,data:bo}),()=>{const ri=Dn.get(nt);ri&&ri.key===Tt&&Dn.delete(nt)}),[Dn,nt]);const Bo=(0,b.useMemo)(()=>({role:$n,tabIndex:br,"aria-disabled":sn,"aria-pressed":zr&&$n===Pr?!0:void 0,"aria-roledescription":Cr,"aria-describedby":Wn.draggable}),[sn,$n,br,zr,Cr,Wn.draggable]);return{active:en,activatorEvent:Ft,activeNodeRect:On,attributes:Bo,isDragging:zr,listeners:sn?void 0:fo,node:yo,over:jn,setNodeRef:io,setActivatorNodeRef:co,transform:Qr}}function Xr(){return(0,b.useContext)(Pt)}const vo="Droppable",yr={timeout:25};function ur(Le){let{data:nt,disabled:Ot=!1,id:sn,resizeObserverConfig:hn}=Le;const Tt=(0,de.Ld)(vo),{active:it,dispatch:Ft,over:en,measureDroppableContainers:On}=(0,b.useContext)(xt),Wn=(0,b.useRef)({disabled:Ot}),Dn=(0,b.useRef)(!1),jn=(0,b.useRef)(null),$n=(0,b.useRef)(null),{disabled:Cr,updateMeasurementsFor:br,timeout:zr}=xi(xi({},yr),hn),Qr=(0,de.Ey)(br!=null?br:sn),yo=(0,b.useCallback)(()=>{if(!Dn.current){Dn.current=!0;return}$n.current!=null&&clearTimeout($n.current),$n.current=setTimeout(()=>{On(Array.isArray(Qr.current)?Qr.current:[Qr.current]),$n.current=null},zr)},[zr]),io=Zt({callback:yo,disabled:Cr||!it}),Io=(0,b.useCallback)((Bo,ri)=>{io&&(ri&&(io.unobserve(ri),Dn.current=!1),Bo&&io.observe(Bo))},[io]),[co,fo]=(0,de.wm)(Io),bo=(0,de.Ey)(nt);return(0,b.useEffect)(()=>{!io||!co.current||(io.disconnect(),Dn.current=!1,io.observe(co.current))},[co,io]),(0,b.useEffect)(()=>(Ft({type:Je.RegisterDroppable,element:{id:sn,key:Tt,disabled:Ot,node:co,rect:jn,data:bo}}),()=>Ft({type:Je.UnregisterDroppable,key:Tt,id:sn})),[sn]),(0,b.useEffect)(()=>{Ot!==Wn.current.disabled&&(Ft({type:Je.SetDroppableDisabled,id:sn,key:Tt,disabled:Ot}),Wn.current.disabled=Ot)},[sn,Tt,Ot,Ft]),{active:it,rect:jn,isOver:(en==null?void 0:en.id)===sn,node:co,over:en,setNodeRef:fo}}function gr(Le){let{animation:nt,children:Ot}=Le;const[sn,hn]=(0,b.useState)(null),[Tt,it]=(0,b.useState)(null),Ft=(0,de.D9)(Ot);return!Ot&&!sn&&Ft&&hn(Ft),(0,de.LI)(()=>{if(!Tt)return;const en=sn==null?void 0:sn.key,On=sn==null?void 0:sn.props.id;if(en==null||On==null){hn(null);return}Promise.resolve(nt(On,Tt)).then(()=>{hn(null)})},[nt,sn,Tt]),b.createElement(b.Fragment,null,Ot,sn?(0,b.cloneElement)(sn,{ref:it}):null)}const no={x:0,y:0,scaleX:1,scaleY:1};function Kr(Le){let{children:nt}=Le;return b.createElement(xt.Provider,{value:pt},b.createElement(Ar.Provider,{value:no},nt))}const wr={position:"fixed",touchAction:"none"},Rr=Le=>(0,de.vd)(Le)?"transform 250ms ease":void 0,mo=(0,b.forwardRef)((Le,nt)=>{let{as:Ot,activatorEvent:sn,adjustScale:hn,children:Tt,className:it,rect:Ft,style:en,transform:On,transition:Wn=Rr}=Le;if(!Ft)return null;const Dn=hn?On:Da(xi({},On),{scaleX:1,scaleY:1}),jn=xi(Da(xi({},wr),{width:Ft.width,height:Ft.height,top:Ft.top,left:Ft.left,transform:de.ux.Transform.toString(Dn),transformOrigin:hn&&sn?Ut(sn,Ft):void 0,transition:typeof Wn=="function"?Wn(sn):Wn}),en);return b.createElement(Ot,{className:it,style:jn,ref:nt},Tt)}),eo={duration:250,easing:"ease",keyframes:Le=>{let{transform:{initial:nt,final:Ot}}=Le;return[{transform:de.ux.Transform.toString(nt)},{transform:de.ux.Transform.toString(Ot)}]},sideEffects:(Le=>nt=>{let{active:Ot,dragOverlay:sn}=nt;const hn={},{styles:Tt,className:it}=Le;if(Tt!=null&&Tt.active)for(const[Ft,en]of Object.entries(Tt.active))en!==void 0&&(hn[Ft]=Ot.node.style.getPropertyValue(Ft),Ot.node.style.setProperty(Ft,en));if(Tt!=null&&Tt.dragOverlay)for(const[Ft,en]of Object.entries(Tt.dragOverlay))en!==void 0&&sn.node.style.setProperty(Ft,en);return it!=null&&it.active&&Ot.node.classList.add(it.active),it!=null&&it.dragOverlay&&sn.node.classList.add(it.dragOverlay),function(){for(const[en,On]of Object.entries(hn))Ot.node.style.setProperty(en,On);it!=null&&it.active&&Ot.node.classList.remove(it.active)}})({styles:{active:{opacity:"0"}}})};function ko(Le){let{config:nt,draggableNodes:Ot,droppableContainers:sn,measuringConfiguration:hn}=Le;return(0,de.zX)((Tt,it)=>{if(nt===null)return;const Ft=Ot.get(Tt);if(!Ft)return;const en=Ft.node.current;if(!en)return;const On=ze(it);if(!On)return;const{transform:Wn}=(0,de.Jj)(it).getComputedStyle(it),Dn=Nt(Wn);if(!Dn)return;const jn=typeof nt=="function"?nt:_o(nt);return lt(en,hn.draggable.measure),jn({active:{id:Tt,data:Ft.data,node:en,rect:hn.draggable.measure(en)},draggableNodes:Ot,dragOverlay:{node:it,rect:hn.dragOverlay.measure(On)},droppableContainers:sn,measuringConfiguration:hn,transform:Dn})})}function _o(Le){const{duration:nt,easing:Ot,sideEffects:sn,keyframes:hn}=xi(xi({},eo),Le);return Tt=>{let yo=Tt,{active:it,dragOverlay:Ft,transform:en}=yo,On=wu(yo,["active","dragOverlay","transform"]);if(!nt)return;const Wn={x:Ft.rect.left-it.rect.left,y:Ft.rect.top-it.rect.top},Dn={scaleX:en.scaleX!==1?it.rect.width*en.scaleX/Ft.rect.width:1,scaleY:en.scaleY!==1?it.rect.height*en.scaleY/Ft.rect.height:1},jn=xi({x:en.x-Wn.x,y:en.y-Wn.y},Dn),$n=hn(Da(xi({},On),{active:it,dragOverlay:Ft,transform:{initial:en,final:jn}})),[Cr]=$n,br=$n[$n.length-1];if(JSON.stringify(Cr)===JSON.stringify(br))return;const zr=sn==null?void 0:sn(xi({active:it,dragOverlay:Ft},On)),Qr=Ft.node.animate($n,{duration:nt,easing:Ot,fill:"forwards"});return new Promise(io=>{Qr.onfinish=()=>{zr==null||zr(),io()}})}}let qo=0;function Lo(Le){return(0,b.useMemo)(()=>{if(Le!=null)return qo++,qo},[Le])}const ii=b.memo(Le=>{let{adjustScale:nt=!1,children:Ot,dropAnimation:sn,style:hn,transition:Tt,modifiers:it,wrapperElement:Ft="div",className:en,zIndex:On=999}=Le;const{activatorEvent:Wn,active:Dn,activeNodeRect:jn,containerNodeRect:$n,draggableNodes:Cr,droppableContainers:br,dragOverlay:zr,over:Qr,measuringConfiguration:yo,scrollableAncestors:io,scrollableAncestorRects:Io,windowRect:co}=Xr(),fo=(0,b.useContext)(Ar),bo=Lo(Dn==null?void 0:Dn.id),Bo=kn(it,{activatorEvent:Wn,active:Dn,activeNodeRect:jn,containerNodeRect:$n,draggingNodeRect:zr.rect,over:Qr,overlayNodeRect:zr.rect,scrollableAncestors:io,scrollableAncestorRects:Io,transform:fo,windowRect:co}),ri=Rn(jn),Si=ko({config:sn,draggableNodes:Cr,droppableContainers:br,measuringConfiguration:yo}),bi=ri?zr.setRef:void 0;return b.createElement(Kr,null,b.createElement(gr,{animation:Si},Dn&&bo?b.createElement(mo,{key:bo,id:Dn.id,ref:bi,as:Ft,activatorEvent:Wn,adjustScale:nt,className:en,transition:Tt,rect:ri,style:xi({zIndex:On},hn),transform:Bo},Ot):null))})},18257:function(Yn,mn,z){"use strict";z.d(mn,{DL:function(){return Ae}});var b=z(35241);function Ce(fe){return Ge=>{let{transform:be}=Ge;return Da(xi({},be),{x:Math.ceil(be.x/fe)*fe,y:Math.ceil(be.y/fe)*fe})}}const de=fe=>{let{transform:Ge}=fe;return Da(xi({},Ge),{y:0})};function rt(fe,Ge,be){const vt=xi({},fe);return Ge.top+fe.y<=be.top?vt.y=be.top-Ge.top:Ge.bottom+fe.y>=be.top+be.height&&(vt.y=be.top+be.height-Ge.bottom),Ge.left+fe.x<=be.left?vt.x=be.left-Ge.left:Ge.right+fe.x>=be.left+be.width&&(vt.x=be.left+be.width-Ge.right),vt}const Oe=fe=>{let{containerNodeRect:Ge,draggingNodeRect:be,transform:vt}=fe;return!be||!Ge?vt:rt(vt,be,Ge)},xe=fe=>{let{draggingNodeRect:Ge,transform:be,scrollableAncestorRects:vt}=fe;const Je=vt[0];return!Ge||!Je?be:rt(be,Ge,Je)},Ae=fe=>{let{transform:Ge}=fe;return Da(xi({},Ge),{x:0})},Ve=fe=>{let{transform:Ge,draggingNodeRect:be,windowRect:vt}=fe;return!be||!vt?Ge:rt(Ge,be,vt)},Be=fe=>{let{activatorEvent:Ge,draggingNodeRect:be,transform:vt}=fe;if(be&&Ge){const Je=getEventCoordinates(Ge);if(!Je)return vt;const tt=Je.x-be.left,je=Je.y-be.top;return Da(xi({},vt),{x:vt.x+tt-be.width/2,y:vt.y+je-be.height/2})}return vt}},19719:function(Yn,mn,z){"use strict";z.d(mn,{Fo:function(){return Ut},Rp:function(){return rt},U2:function(){return vt},nB:function(){return dt},qw:function(){return je}});var b=z(59301),Ce=z(87954),de=z(35241);function rt(ke,Nt,De){const ve=ke.slice();return ve.splice(De<0?ve.length+De:De,0,ve.splice(Nt,1)[0]),ve}function Oe(ke,Nt,De){const ve=ke.slice();return ve[Nt]=ke[De],ve[De]=ke[Nt],ve}function xe(ke,Nt){return ke.reduce((De,ve,At)=>{const Gt=Nt.get(ve);return Gt&&(De[At]=Gt),De},Array(ke.length))}function Ae(ke){return ke!==null&&ke>=0}function Ve(ke,Nt){if(ke===Nt)return!0;if(ke.length!==Nt.length)return!1;for(let De=0;De<ke.length;De++)if(ke[De]!==Nt[De])return!1;return!0}function Be(ke){return typeof ke=="boolean"?{draggable:ke,droppable:ke}:ke}const fe={scaleX:1,scaleY:1},Ge=ke=>{var Nt;let{rects:De,activeNodeRect:ve,activeIndex:At,overIndex:Gt,index:Wt}=ke;const pe=(Nt=De[At])!=null?Nt:ve;if(!pe)return null;const Re=be(De,Wt,At);if(Wt===At){const Ue=De[Gt];return Ue?xi({x:At<Gt?Ue.left+Ue.width-(pe.left+pe.width):Ue.left-pe.left,y:0},fe):null}return Wt>At&&Wt<=Gt?xi({x:-pe.width-Re,y:0},fe):Wt<At&&Wt>=Gt?xi({x:pe.width+Re,y:0},fe):xi({x:0,y:0},fe)};function be(ke,Nt,De){const ve=ke[Nt],At=ke[Nt-1],Gt=ke[Nt+1];return!ve||!At&&!Gt?0:De<Nt?At?ve.left-(At.left+At.width):Gt.left-(ve.left+ve.width):Gt?Gt.left-(ve.left+ve.width):ve.left-(At.left+At.width)}const vt=ke=>{let{rects:Nt,activeIndex:De,overIndex:ve,index:At}=ke;const Gt=rt(Nt,ve,De),Wt=Nt[At],pe=Gt[At];return!pe||!Wt?null:{x:pe.left-Wt.left,y:pe.top-Wt.top,scaleX:pe.width/Wt.width,scaleY:pe.height/Wt.height}},Je=ke=>{let{activeIndex:Nt,index:De,rects:ve,overIndex:At}=ke,Gt,Wt;return De===Nt&&(Gt=ve[De],Wt=ve[At]),De===At&&(Gt=ve[De],Wt=ve[Nt]),!Wt||!Gt?null:{x:Wt.left-Gt.left,y:Wt.top-Gt.top,scaleX:Wt.width/Gt.width,scaleY:Wt.height/Gt.height}},tt={scaleX:1,scaleY:1},je=ke=>{var Nt;let{activeIndex:De,activeNodeRect:ve,index:At,rects:Gt,overIndex:Wt}=ke;const pe=(Nt=Gt[De])!=null?Nt:ve;if(!pe)return null;if(At===De){const Ue=Gt[Wt];return Ue?xi({x:0,y:De<Wt?Ue.top+Ue.height-(pe.top+pe.height):Ue.top-pe.top},tt):null}const Re=We(Gt,At,De);return At>De&&At<=Wt?xi({x:0,y:-pe.height-Re},tt):At<De&&At>=Wt?xi({x:0,y:pe.height+Re},tt):xi({x:0,y:0},tt)};function We(ke,Nt,De){const ve=ke[Nt],At=ke[Nt-1],Gt=ke[Nt+1];return ve?De<Nt?At?ve.top-(At.top+At.height):Gt?Gt.top-(ve.top+ve.height):0:Gt?Gt.top-(ve.top+ve.height):At?ve.top-(At.top+At.height):0:0}const ot="Sortable",Mt=b.createContext({activeIndex:-1,containerId:ot,disableTransforms:!1,items:[],overIndex:-1,useDragOverlay:!1,sortedRects:[],strategy:vt,disabled:{draggable:!1,droppable:!1}});function Ut(ke){let{children:Nt,id:De,items:ve,strategy:At=vt,disabled:Gt=!1}=ke;const{active:Wt,dragOverlay:pe,droppableRects:Re,over:Ue,measureDroppableContainers:Jt}=(0,Ce.Cj)(),et=(0,de.Ld)(ot,De),jt=pe.rect!==null,ct=(0,b.useMemo)(()=>ve.map(ce=>typeof ce=="object"&&"id"in ce?ce.id:ce),[ve]),dn=Wt!=null,bt=Wt?ct.indexOf(Wt.id):-1,le=Ue?ct.indexOf(Ue.id):-1,ne=(0,b.useRef)(ct),te=!Ve(ct,ne.current),ae=le!==-1&&bt===-1||te,he=Be(Gt);(0,de.LI)(()=>{te&&dn&&Jt(ct)},[te,ct,dn,Jt]),(0,b.useEffect)(()=>{ne.current=ct},[ct]);const re=(0,b.useMemo)(()=>({activeIndex:bt,containerId:et,disabled:he,disableTransforms:ae,items:ct,overIndex:le,useDragOverlay:jt,sortedRects:xe(ct,Re),strategy:At}),[bt,et,he.draggable,he.droppable,ae,ct,le,Re,jt,At]);return b.createElement(Mt.Provider,{value:re},Nt)}const se=ke=>{let{id:Nt,items:De,activeIndex:ve,overIndex:At}=ke;return rt(De,ve,At).indexOf(Nt)},Me=ke=>{let{containerId:Nt,isSorting:De,wasDragging:ve,index:At,items:Gt,newIndex:Wt,previousItems:pe,previousContainerId:Re,transition:Ue}=ke;return!Ue||!ve||pe!==Gt&&At===Wt?!1:De?!0:Wt!==At&&Nt===Re},st={duration:200,easing:"ease"},mt="transform",kt=de.ux.Transition.toString({property:mt,duration:0,easing:"linear"}),Qe={roleDescription:"sortable"};function ut(ke){let{disabled:Nt,index:De,node:ve,rect:At}=ke;const[Gt,Wt]=(0,b.useState)(null),pe=(0,b.useRef)(De);return(0,de.LI)(()=>{if(!Nt&&De!==pe.current&&ve.current){const Re=At.current;if(Re){const Ue=(0,Ce.VK)(ve.current,{ignoreTransform:!0}),Jt={x:Re.left-Ue.left,y:Re.top-Ue.top,scaleX:Re.width/Ue.width,scaleY:Re.height/Ue.height};(Jt.x||Jt.y)&&Wt(Jt)}}De!==pe.current&&(pe.current=De)},[Nt,De,ve,At]),(0,b.useEffect)(()=>{Gt&&Wt(null)},[Gt]),Gt}function dt(ke){let{animateLayoutChanges:Nt=Me,attributes:De,disabled:ve,data:At,getNewIndex:Gt=se,id:Wt,strategy:pe,resizeObserverConfig:Re,transition:Ue=st}=ke;const{items:Jt,containerId:et,activeIndex:jt,disabled:ct,disableTransforms:dn,sortedRects:bt,overIndex:le,useDragOverlay:ne,strategy:te}=(0,b.useContext)(Mt),ae=Fe(ve,ct),he=Jt.indexOf(Wt),re=(0,b.useMemo)(()=>xi({sortable:{containerId:et,index:he,items:Jt}},At),[et,At,he,Jt]),ce=(0,b.useMemo)(()=>Jt.slice(Jt.indexOf(Wt)),[Jt,Wt]),{rect:Pe,node:lt,isOver:$e,setNodeRef:Ie}=(0,Ce.Zj)({id:Wt,data:re,disabled:ae.droppable,resizeObserverConfig:xi({updateMeasurementsFor:ce},Re)}),{active:ht,activatorEvent:Et,activeNodeRect:Rt,attributes:Te,setNodeRef:Ke,listeners:yn,isDragging:Ht,over:bn,setActivatorNodeRef:fn,transform:Xt}=(0,Ce.O1)({id:Wt,data:re,attributes:xi(xi({},Qe),De),disabled:ae.draggable}),on=(0,de.HB)(Ie,Ke),gn=!!ht,ft=gn&&!dn&&Ae(jt)&&Ae(le),Yt=!ne&&Ht,xn=Yt&&ft?Xt:null,St=pe!=null?pe:te,_e=ft?xn!=null?xn:St({rects:bt,activeNodeRect:Rt,activeIndex:jt,overIndex:le,index:he}):null,Vt=Ae(jt)&&Ae(le)?Gt({id:Wt,items:Jt,activeIndex:jt,overIndex:le}):he,tn=ht==null?void 0:ht.id,un=(0,b.useRef)({activeId:tn,items:Jt,newIndex:Vt,containerId:et}),Tn=Jt!==un.current.items,qn=Nt({active:ht,containerId:et,isDragging:Ht,isSorting:gn,id:Wt,index:he,items:Jt,newIndex:un.current.newIndex,previousItems:un.current.items,previousContainerId:un.current.containerId,transition:Ue,wasDragging:un.current.activeId!=null}),mr=ut({disabled:!qn,index:he,node:lt,rect:Pe});return(0,b.useEffect)(()=>{gn&&un.current.newIndex!==Vt&&(un.current.newIndex=Vt),et!==un.current.containerId&&(un.current.containerId=et),Jt!==un.current.items&&(un.current.items=Jt)},[gn,Vt,et,Jt]),(0,b.useEffect)(()=>{if(tn===un.current.activeId)return;if(tn&&!un.current.activeId){un.current.activeId=tn;return}const Jn=setTimeout(()=>{un.current.activeId=tn},50);return()=>clearTimeout(Jn)},[tn]),{active:ht,activeIndex:jt,attributes:Te,data:re,rect:Pe,index:he,newIndex:Vt,items:Jt,isOver:$e,isSorting:gn,isDragging:Ht,listeners:yn,node:lt,overIndex:le,over:bn,setNodeRef:on,setActivatorNodeRef:fn,setDroppableNodeRef:Ie,setDraggableNodeRef:Ke,transform:mr!=null?mr:_e,transition:vr()};function vr(){if(mr||Tn&&un.current.newIndex===he)return kt;if(!(Yt&&!(0,de.vd)(Et)||!Ue)&&(gn||qn))return de.ux.Transition.toString(Da(xi({},Ue),{property:mt}))}}function Fe(ke,Nt){var De,ve;return typeof ke=="boolean"?{draggable:ke,droppable:!1}:{draggable:(De=ke==null?void 0:ke.draggable)!=null?De:Nt.draggable,droppable:(ve=ke==null?void 0:ke.droppable)!=null?ve:Nt.droppable}}function Ze(ke){if(!ke)return!1;const Nt=ke.data.current;return!!(Nt&&"sortable"in Nt&&typeof Nt.sortable=="object"&&"containerId"in Nt.sortable&&"items"in Nt.sortable&&"index"in Nt.sortable)}const Se=[Ce.g4.Down,Ce.g4.Right,Ce.g4.Up,Ce.g4.Left],ue=(ke,Nt)=>{let{context:{active:De,collisionRect:ve,droppableRects:At,droppableContainers:Gt,over:Wt,scrollableAncestors:pe}}=Nt;if(Se.includes(ke.code)){if(ke.preventDefault(),!De||!ve)return;const Re=[];Gt.getEnabled().forEach(et=>{if(!et||et!=null&&et.disabled)return;const jt=At.get(et.id);if(jt)switch(ke.code){case KeyboardCode.Down:ve.top<jt.top&&Re.push(et);break;case KeyboardCode.Up:ve.top>jt.top&&Re.push(et);break;case KeyboardCode.Left:ve.left>jt.left&&Re.push(et);break;case KeyboardCode.Right:ve.left<jt.left&&Re.push(et);break}});const Ue=closestCorners({active:De,collisionRect:ve,droppableRects:At,droppableContainers:Re,pointerCoordinates:null});let Jt=getFirstCollision(Ue,"id");if(Jt===(Wt==null?void 0:Wt.id)&&Ue.length>1&&(Jt=Ue[1].id),Jt!=null){const et=Gt.get(De.id),jt=Gt.get(Jt),ct=jt?At.get(jt.id):null,dn=jt==null?void 0:jt.node.current;if(dn&&ct&&et&&jt){const le=getScrollableAncestors(dn).some((ce,Pe)=>pe[Pe]!==ce),ne=gt(et,jt),te=He(et,jt),ae=le||!ne?{x:0,y:0}:{x:te?ve.width-ct.width:0,y:te?ve.height-ct.height:0},he={x:ct.left,y:ct.top};return ae.x&&ae.y?he:subtract(he,ae)}}}};function gt(ke,Nt){return!Ze(ke)||!Ze(Nt)?!1:ke.data.current.sortable.containerId===Nt.data.current.sortable.containerId}function He(ke,Nt){return!Ze(ke)||!Ze(Nt)||!gt(ke,Nt)?!1:ke.data.current.sortable.index<Nt.data.current.sortable.index}},35241:function(Yn,mn,z){"use strict";z.d(mn,{$X:function(){return Me},D9:function(){return We},DC:function(){return Qe},Ey:function(){return Je},FJ:function(){return rt},Gj:function(){return tt},HB:function(){return Ce},IH:function(){return se},Jj:function(){return xe},LI:function(){return Ge},Ld:function(){return Mt},Nq:function(){return de},Re:function(){return Ve},UG:function(){return Oe},Yz:function(){return vt},qk:function(){return Ae},r3:function(){return fe},so:function(){return Fe},ux:function(){return ut},vZ:function(){return Be},vd:function(){return mt},wm:function(){return je},zX:function(){return be}});var b=z(59301);function Ce(){for(var Ze=arguments.length,Se=new Array(Ze),ue=0;ue<Ze;ue++)Se[ue]=arguments[ue];return(0,b.useMemo)(()=>gt=>{Se.forEach(He=>He(gt))},Se)}const de=typeof window!="undefined"&&typeof window.document!="undefined"&&typeof window.document.createElement!="undefined";function rt(Ze){const Se=Object.prototype.toString.call(Ze);return Se==="[object Window]"||Se==="[object global]"}function Oe(Ze){return"nodeType"in Ze}function xe(Ze){var Se,ue;return Ze?rt(Ze)?Ze:Oe(Ze)&&(Se=(ue=Ze.ownerDocument)==null?void 0:ue.defaultView)!=null?Se:window:window}function Ae(Ze){const{Document:Se}=xe(Ze);return Ze instanceof Se}function Ve(Ze){return rt(Ze)?!1:Ze instanceof xe(Ze).HTMLElement}function Be(Ze){return Ze instanceof xe(Ze).SVGElement}function fe(Ze){return Ze?rt(Ze)?Ze.document:Oe(Ze)?Ae(Ze)?Ze:Ve(Ze)||Be(Ze)?Ze.ownerDocument:document:document:document}const Ge=de?b.useLayoutEffect:b.useEffect;function be(Ze){const Se=(0,b.useRef)(Ze);return Ge(()=>{Se.current=Ze}),(0,b.useCallback)(function(){for(var ue=arguments.length,gt=new Array(ue),He=0;He<ue;He++)gt[He]=arguments[He];return Se.current==null?void 0:Se.current(...gt)},[])}function vt(){const Ze=(0,b.useRef)(null),Se=(0,b.useCallback)((gt,He)=>{Ze.current=setInterval(gt,He)},[]),ue=(0,b.useCallback)(()=>{Ze.current!==null&&(clearInterval(Ze.current),Ze.current=null)},[]);return[Se,ue]}function Je(Ze,Se){Se===void 0&&(Se=[Ze]);const ue=(0,b.useRef)(Ze);return Ge(()=>{ue.current!==Ze&&(ue.current=Ze)},Se),ue}function tt(Ze,Se){const ue=(0,b.useRef)();return(0,b.useMemo)(()=>{const gt=Ze(ue.current);return ue.current=gt,gt},[...Se])}function je(Ze){const Se=be(Ze),ue=(0,b.useRef)(null),gt=(0,b.useCallback)(He=>{He!==ue.current&&(Se==null||Se(He,ue.current)),ue.current=He},[]);return[ue,gt]}function We(Ze){const Se=(0,b.useRef)();return(0,b.useEffect)(()=>{Se.current=Ze},[Ze]),Se.current}let ot={};function Mt(Ze,Se){return(0,b.useMemo)(()=>{if(Se)return Se;const ue=ot[Ze]==null?0:ot[Ze]+1;return ot[Ze]=ue,Ze+"-"+ue},[Ze,Se])}function Ut(Ze){return function(Se){for(var ue=arguments.length,gt=new Array(ue>1?ue-1:0),He=1;He<ue;He++)gt[He-1]=arguments[He];return gt.reduce((ke,Nt)=>{const De=Object.entries(Nt);for(const[ve,At]of De){const Gt=ke[ve];Gt!=null&&(ke[ve]=Gt+Ze*At)}return ke},xi({},Se))}}const se=Ut(1),Me=Ut(-1);function st(Ze){return"clientX"in Ze&&"clientY"in Ze}function mt(Ze){if(!Ze)return!1;const{KeyboardEvent:Se}=xe(Ze.target);return Se&&Ze instanceof Se}function kt(Ze){if(!Ze)return!1;const{TouchEvent:Se}=xe(Ze.target);return Se&&Ze instanceof Se}function Qe(Ze){if(kt(Ze)){if(Ze.touches&&Ze.touches.length){const{clientX:Se,clientY:ue}=Ze.touches[0];return{x:Se,y:ue}}else if(Ze.changedTouches&&Ze.changedTouches.length){const{clientX:Se,clientY:ue}=Ze.changedTouches[0];return{x:Se,y:ue}}}return st(Ze)?{x:Ze.clientX,y:Ze.clientY}:null}const ut=Object.freeze({Translate:{toString(Ze){if(!Ze)return;const{x:Se,y:ue}=Ze;return"translate3d("+(Se?Math.round(Se):0)+"px, "+(ue?Math.round(ue):0)+"px, 0)"}},Scale:{toString(Ze){if(!Ze)return;const{scaleX:Se,scaleY:ue}=Ze;return"scaleX("+Se+") scaleY("+ue+")"}},Transform:{toString(Ze){if(Ze)return[ut.Translate.toString(Ze),ut.Scale.toString(Ze)].join(" ")}},Transition:{toString(Ze){let{property:Se,duration:ue,easing:gt}=Ze;return Se+" "+ue+"ms "+gt}}}),dt="a,frame,iframe,input:not([type=hidden]):not(:disabled),select:not(:disabled),textarea:not(:disabled),button:not(:disabled),*[tabindex]";function Fe(Ze){return Ze.matches(dt)?Ze:Ze.querySelector(dt)}},88319:function(){"use strict"},94896:function(){"use strict"},74501:function(Yn,mn){"use strict";mn.Z={lists:"lists___xhHyq",item:"item___pWJAA",children:"children___sDG61",diamond:"diamond___FwgzD",button:"button___WPN6r",mathWrap:"mathWrap___FmnMJ",mathFillWrap:"mathFillWrap___PmY3H"}},90834:function(Yn,mn){"use strict";mn.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",disabled_link:"disabled_link___usmze",myselect:"myselect___QgOHu",upname:"upname___Dsj6F",upnames:"upnames___cGA7K",imghover:"imghover___C5Gjb",zybzForm:"zybzForm___AL0Nr",flexRow:"flexRow___AJEUu",formWrap:"formWrap___W4o4T",hasAnswer:"hasAnswer___Z7EaU",noAnswer:"noAnswer___BvSay"}},59435:function(Yn,mn,z){"use strict";var b=z(59301),Ce=Object.defineProperty,de=Object.getOwnPropertySymbols,rt=Object.prototype.hasOwnProperty,Oe=Object.prototype.propertyIsEnumerable,xe=(Be,fe,Ge)=>fe in Be?Ce(Be,fe,{enumerable:!0,configurable:!0,writable:!0,value:Ge}):Be[fe]=Ge,Ae=(Be,fe)=>{for(var Ge in fe||(fe={}))rt.call(fe,Ge)&&xe(Be,Ge,fe[Ge]);if(de)for(var Ge of de(fe))Oe.call(fe,Ge)&&xe(Be,Ge,fe[Ge]);return Be};const Ve=Be=>React.createElement("svg",Ae({className:"jiangxu_svg__icon",viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg",width:32,height:32},Be),React.createElement("path",{d:"M365.714 73.143H1024v73.143H365.714zm0 292.571H1024v73.143H365.714zm0 292.572H1024v73.143H365.714zm0 292.571H1024V1024H365.714v-73.143z",fill:"#98BDF7"}),React.createElement("path",{d:"m248.686 803.182-65.829 75.922V658.286h-73.143v220.818l-65.828-75.995L0 851.383 146.286 1024 292.57 851.53z",fill:"#145DFF"}),React.createElement("path",{d:"M146.286 0 0 158.72l43.886 55.223 65.828-75.922v227.693h73.143V138.021l65.829 75.922 43.885-55.223z",fill:"#98BDF7"}));mn.Z="data:image/svg+xml;base64,PHN2ZyBjbGFzcz0iaWNvbiIgdmlld0JveD0iMCAwIDEwMjQgMTAyNCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB3aWR0aD0iMzIiIGhlaWdodD0iMzIiPjxwYXRoIGQ9Ik0zNjUuNzE0IDczLjE0M0gxMDI0djczLjE0M0gzNjUuNzE0em0wIDI5Mi41NzFIMTAyNHY3My4xNDNIMzY1LjcxNHptMCAyOTIuNTcySDEwMjR2NzMuMTQzSDM2NS43MTR6bTAgMjkyLjU3MUgxMDI0VjEwMjRIMzY1LjcxNHYtNzMuMTQzeiIgZmlsbD0iIzk4QkRGNyIvPjxwYXRoIGQ9Im0yNDguNjg2IDgwMy4xODItNjUuODI5IDc1LjkyMlY2NTguMjg2aC03My4xNDN2MjIwLjgxOGwtNjUuODI4LTc1Ljk5NUwwIDg1MS4zODMgMTQ2LjI4NiAxMDI0IDI5Mi41NyA4NTEuNTN6IiBmaWxsPSIjMTQ1REZGIi8+PHBhdGggZD0iTTE0Ni4yODYgMCAwIDE1OC43Mmw0My44ODYgNTUuMjIzIDY1LjgyOC03NS45MjJ2MjI3LjY5M2g3My4xNDNWMTM4LjAyMWw2NS44MjkgNzUuOTIyIDQzLjg4NS01NS4yMjN6IiBmaWxsPSIjOThCREY3Ii8+PC9zdmc+"},77264:function(Yn,mn,z){"use strict";var b=z(59301),Ce=Object.defineProperty,de=Object.getOwnPropertySymbols,rt=Object.prototype.hasOwnProperty,Oe=Object.prototype.propertyIsEnumerable,xe=(Be,fe,Ge)=>fe in Be?Ce(Be,fe,{enumerable:!0,configurable:!0,writable:!0,value:Ge}):Be[fe]=Ge,Ae=(Be,fe)=>{for(var Ge in fe||(fe={}))rt.call(fe,Ge)&&xe(Be,Ge,fe[Ge]);if(de)for(var Ge of de(fe))Oe.call(fe,Ge)&&xe(Be,Ge,fe[Ge]);return Be};const Ve=Be=>React.createElement("svg",Ae({className:"shengxu_svg__icon",viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg",width:32,height:32},Be),React.createElement("path",{d:"M365.714 73.143H1024v73.143H365.714zm0 292.571H1024v73.143H365.714zm0 292.572H1024v73.143H365.714zm0 292.571H1024V1024H365.714v-73.143zM248.686 803.182l-65.829 75.922V658.286h-73.143v220.818l-65.828-75.995L0 851.383 146.286 1024 292.57 851.53z",fill:"#98BDF7"}),React.createElement("path",{d:"M146.286 0 0 158.72l43.886 55.223 65.828-75.922v227.693h73.143V138.021l65.829 75.922 43.885-55.223z",fill:"#145DFF"}));mn.Z="data:image/svg+xml;base64,PHN2ZyBjbGFzcz0iaWNvbiIgdmlld0JveD0iMCAwIDEwMjQgMTAyNCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB3aWR0aD0iMzIiIGhlaWdodD0iMzIiPjxwYXRoIGQ9Ik0zNjUuNzE0IDczLjE0M0gxMDI0djczLjE0M0gzNjUuNzE0em0wIDI5Mi41NzFIMTAyNHY3My4xNDNIMzY1LjcxNHptMCAyOTIuNTcySDEwMjR2NzMuMTQzSDM2NS43MTR6bTAgMjkyLjU3MUgxMDI0VjEwMjRIMzY1LjcxNHYtNzMuMTQzek0yNDguNjg2IDgwMy4xODJsLTY1LjgyOSA3NS45MjJWNjU4LjI4NmgtNzMuMTQzdjIyMC44MThsLTY1LjgyOC03NS45OTVMMCA4NTEuMzgzIDE0Ni4yODYgMTAyNCAyOTIuNTcgODUxLjUzeiIgZmlsbD0iIzk4QkRGNyIvPjxwYXRoIGQ9Ik0xNDYuMjg2IDAgMCAxNTguNzJsNDMuODg2IDU1LjIyMyA2NS44MjgtNzUuOTIydjIyNy42OTNoNzMuMTQzVjEzOC4wMjFsNjUuODI5IDc1LjkyMiA0My44ODUtNTUuMjIzeiIgZmlsbD0iIzE0NURGRiIvPjwvc3ZnPg=="},84915: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 Yn={},mn="5.0",z={},b=null,Ce=!1,de=!1,rt=null,Oe=!1,xe=null,Ae=null,Ve=0;Ve<arguments.length;Ve++){var Be=arguments[Ve];if(Be!==null)switch(typeof Be){case"number":mn=Be.toFixed(1);break;case"string":Be.match(new RegExp("^[0-9]\\.[0-9]+$"))?mn=Be:rt=Be;break;case"object":typeof Be.is3D!="undefined"?b=Be:z=Be;break;case"boolean":Ce=Be,de=!0;break}}b===null&&(b={is3D:!1,AV:!1,SV:!1,CV:!1,EV2:!1,CP:!1,PC:!1,DA:!1,FI:!1,PV:!1,macro:!1},z.material_id!==void 0&&!de&&(Ce=!0)),rt!==null&&z.id===void 0&&(z.id=rt);var fe="",Ge="",be=!1,vt=null,Je=null,tt=null,je=!1,We=null,ot=null,Mt=null,Ut=null,se=null;z.height!==void 0&&(z.height=Math.round(z.height)),z.width!==void 0&&(z.width=Math.round(z.width));var Me=function(pe){return parseFloat(pe)>4?parseFloat(pe):5};Yn.setHTML5Codebase=function(pe,Re){Ae=pe,At(pe,Re)},Yn.setJavaCodebase=Yn.setJavaCodebaseVersion=Yn.isCompiledInstalled=Yn.setPreCompiledScriptPath=Yn.setPreCompiledResourcePath=function(){},Yn.setHTML5CodebaseVersion=function(pe,Re){var Ue=parseFloat(pe);if(Ue!==NaN&&Ue<5){console.log("The GeoGebra HTML5 codebase version "+Ue+" is deprecated. Using version latest instead.");return}xe=pe,ve(pe,Re)},Yn.getHTML5CodebaseVersion=function(){return Je},Yn.getParameters=function(){return z},Yn.setFontsCSSURL=function(pe){Ut=pe},Yn.setGiacJSURL=function(pe){},Yn.setJNLPFile=function(pe){fe=pe},Yn.setJNLPBaseDir=function(pe){},Yn.inject=function(){function pe(){return window.frameElement&&window.frameElement.getAttribute("data-singleton")}for(var Re="auto",Ue=z.id,Jt,et=!1,jt=0;jt<arguments.length;jt++){var ct=arguments[jt];typeof ct=="string"?(ct=ct.toLowerCase(),ct.match(/^(prefer)?(java|html5|compiled|auto|screenshot)$/)?Re=ct:Ue=arguments[jt]):typeof ct=="boolean"?et=ct:ct instanceof HTMLElement&&(Jt=ct)}dn();function dn(){if(!Oe){setTimeout(dn,200);return}Re=Nt(Re);var bt=Jt||document.getElementById(Ue);if(!bt){console.log("possibly bug on ajax loading? ");return}if(Yn.removeExistingApplet(bt,!1),z.width===void 0&&bt.clientWidth&&(z.width=bt.clientWidth),z.height===void 0&&bt.clientHeight&&(z.height=bt.clientHeight),!(z.width&&z.height)&&Re==="html5"&&(delete z.width,delete z.height),vt=Re,Re==="screenshot")Se(bt,z);else{var le=!1;z.hasOwnProperty("playButton")&&z.playButton||z.hasOwnProperty("clickToLoad")&&z.clickToLoad?le=!0:z.hasOwnProperty("playButtonAutoDecide")&&z.playButtonAutoDecide&&(le=(!st()||pe())&&mt()),le?(vt="screenshot",gt(bt,z,et,Re)):Ze(bt,z,et)}}};function st(){try{return window.self!==window.top}catch(pe){return!0}}function mt(){return z.hasOwnProperty("screenshotGenerator")&&z.screenshotGenerator?!1:Math.max(screen.width,screen.height)<800}Yn.getViews=function(){return b},Yn.isJavaInstalled=function(){return!1};var kt=function(pe){var Re=function(jt){var ct=JSON.parse(jt),dn=function(ne){return ne.type=="G"||ne.type=="E"},bt=ct.elements?ct.elements.filter(dn)[0]:ct;if(!bt||!bt.url){Ue();return}z.fileName=bt.url,Qe(bt.settings||{}),b.is3D=!0;var le="https://www.geogebra.org/images/";Yn.setPreviewImage(We||bt.previewUrl,le+"GeoGebra_loading.png",le+"applet_play.png"),pe()},Ue=function(){z.onError&&z.onError(),Gt("Error: Fetching material (id "+z.material_id+") failed.",z)},Jt=location.host.match(/(www|stage|beta|groot|alpha).geogebra.(org|net)/)?location.host:"www.geogebra.org",et="/materials/"+z.material_id+"?scope=basic";ut("https://"+Jt+"/api/proxy.php?path="+encodeURIComponent(et),Re,Ue)};function Qe(pe){var Re=["width","height","showToolBar","showMenuBar","showAlgebraInput","allowStyleBar","showResetIcon","enableLabelDrags","enableShiftDragZoom","enableRightClick","appName"];["enableLabelDrags","enableShiftDragZoom","enableRightClick"].forEach(function(Ue){pe[Ue]=!!pe[Ue]}),Re.forEach(function(Ue){z[Ue]===void 0&&pe[Ue]!==void 0&&(z[Ue]=pe[Ue])}),z.showToolBarHelp===void 0&&(z.showToolBarHelp=z.showToolBar)}function ut(pe,Re,Ue){var Jt=new XMLHttpRequest;Jt.open("GET",pe),Jt.onload=function(){Re(Jt.responseText)},Jt.onerror=Ue,Jt.send()}Yn.isHTML5Installed=function(){return!0},Yn.getLoadedAppletType=function(){return vt},Yn.setPreviewImage=function(pe,Re,Ue){We=pe,ot=Re,Mt=Ue},Yn.removeExistingApplet=function(pe,Re){var Ue;typeof pe=="string"&&(pe=document.getElementById(pe)),vt=null;var Jt=null;for(Ue=0;Ue<pe.childNodes.length;Ue++){var et=pe.childNodes[Ue],jt=et.className;jt==="applet_screenshot"?Re?(et.style.display="block",vt="screenshot"):et.style.display="none":jt!=="applet_scaler prerender"&&(pe.removeChild(et),Jt=jt&&jt.indexOf("appletParameters")!=-1?et.id:null,Ue--)}var ct=z.id!==void 0?z.id:Jt,dn=window[ct];dn&&typeof dn.getBase64=="function"&&(dn.remove(),window[ct]=null)},Yn.refreshHitPoints=function(){if(Me(ggbHTML5LoadedCodebaseVersion)>=5)return!0;var pe=Yn.getAppletObject();return pe&&typeof pe.recalculateEnvironments=="function"?(pe.recalculateEnvironments(),!0):!1},Yn.startAnimation=function(){var pe=Yn.getAppletObject();return pe&&typeof pe.startAnimation=="function"?(pe.startAnimation(),!0):!1},Yn.stopAnimation=function(){var pe=Yn.getAppletObject();return pe&&typeof pe.stopAnimation=="function"?(pe.stopAnimation(),!0):!1},Yn.getAppletObject=function(){var pe=z.id!==void 0?z.id:"ggbApplet";return window[pe]},Yn.resize=function(){};var dt=function(pe,Re,Ue){var Jt=document.createElement("param");Jt.setAttribute("name",Re),Jt.setAttribute("value",Ue),pe.appendChild(Jt)},Fe=function(pe){return pe&&pe!=="false"},Ze=function(pe,Re,Ue){Me(Je)<=4.2&&(Ue=!0);var Jt=!isRenderGGBElementEnabled&&!scriptLoadStarted;(!isRenderGGBElementEnabled&&!scriptLoadStarted||ggbHTML5LoadedCodebaseVersion!==Je||ggbHTML5LoadedCodebaseIsWebSimple&&!je)&&(Jt=!0,isRenderGGBElementEnabled=!1,scriptLoadStarted=!1);var et=document.createElement("div");et.classList.add("appletParameters","notranslate");var jt=Re.width,ct=Re.height;if(Re.disableAutoScale=Re.disableAutoScale===void 0?GGBAppletUtils.isFlexibleWorksheetEditor():Re.disableAutoScale,Re.width!==void 0)if(Me(Je)<=4.4)Fe(Re.showToolBar)&&(Re.height-=7),Fe(Re.showAlgebraInput)&&(Re.height-=37),Re.width<605&&Fe(Re.showToolBar)&&(Re.width=605,jt=605);else{var dn=100;(Fe(Re.showToolBar)||Fe(Re.showMenuBar))&&(Re.hasOwnProperty("customToolBar")&&(Re.customToolbar=Re.customToolBar),dn=Fe(Re.showMenuBar)?245:155),jt<dn&&(Re.width=dn,jt=dn)}et.style.border="none",et.style.display="inline-block";for(var bt in Re)Re.hasOwnProperty(bt)&&bt!=="appletOnLoad"&&et.setAttribute("data-param-"+bt,Re[bt]);Ut&&et.setAttribute("data-param-fontscssurl",Ut),Yn.resize=function(){GGBAppletUtils.responsiveResize(pe,Re)},window.addEventListener("resize",function(Et){Yn.resize()});var le=typeof Re.appletOnLoad=="function"?Re.appletOnLoad:function(){};if(!Ue&&Re.width!==void 0){Re.hasOwnProperty("showSplash")||et.setAttribute("data-param-showSplash","false");var ne=pe.querySelector(".applet_scaler.prerender"),te=ne!==null;if(te)var ae=ne.querySelector(".ggb_preview");else{var ae=ke(jt,ct,Re.borderColor,!1);ne=document.createElement("div"),ne.className="applet_scaler",ne.style.position="relative",ne.style.display="block",ne.style.width=jt+"px",ne.style.height=ct+"px"}window.GGBT_spinner&&window.GGBT_spinner.attachSpinner(ne,"66%"),Me(Je)>=5?(Re.appletOnLoad=function(Et){var Rt=pe.querySelector(".ggb_preview");Rt&&Rt.parentNode.removeChild(Rt),window.GGBT_spinner&&window.GGBT_spinner.removeSpinner(ne),window.GGBT_wsf_view&&$(window).trigger("resize"),le(Et)},te||ne.appendChild(ae)):et.appendChild(ae),ne.appendChild(et),te||pe.appendChild(ne),setTimeout(function(){Yn.resize()},1)}else{var he=document.createElement("div");he.className="applet_scaler",he.style.position="relative",he.style.display="block",he.appendChild(et),pe.appendChild(he),Re.appletOnLoad=function(Et){Yn.resize(),le(Et)}}function re(Et,Rt){Rt&&typeof Rt.appletOnLoad=="function"&&typeof renderGGBElement=="function"?renderGGBElement(Et,Rt.appletOnLoad):renderGGBElement(Et),Gt("GeoGebra HTML5 applet injected and rendered with previously loaded codebase.",Rt)}function ce(Et,Rt){typeof renderGGBElement=="undefined"?(html5AppletsToProcess===null&&(html5AppletsToProcess=[]),html5AppletsToProcess.push({article:Et,params:Rt}),window.renderGGBElementReady=function(){isRenderGGBElementEnabled=!0,html5AppletsToProcess!==null&&html5AppletsToProcess.length&&(html5AppletsToProcess.forEach(function(Te){re(Te.article,Te.params)}),html5AppletsToProcess=null)},Me(Je)<5&&(Et.className+=" geogebraweb")):re(Et,Rt)}if(Jt){scriptLoadStarted=!0;for(var Pe=0;Pe<et.childNodes.length;Pe++){var lt=et.childNodes[Pe].tagName;lt==="TABLE"&&(et.removeChild(et.childNodes[Pe]),Pe--)}if(ggbHTML5LoadedScript!==null){var $e=document.querySelector('script[src="'+ggbHTML5LoadedScript+'"]');$e!=null&&$e.parentNode.removeChild($e)}var Ie=document.createElement("script"),ht=function(){ce(et,Re)};Ie.src=Ge+tt,ggbHTML5LoadedCodebaseIsWebSimple=je,ggbHTML5LoadedCodebaseVersion=Je,ggbHTML5LoadedScript=Ie.src,Gt("GeoGebra HTML5 codebase loaded: '"+Ge+"'.",Re),!Ae&&(!xe||xe=="5.0")?(je?webSimple.succeeded=webSimple.succeeded||webSimple():web3d.succeeded=web3d.succeeded||web3d(),ht()):Ge.requirejs?__webpack_require__.e(4510).then(function(){var Et=[__webpack_require__(4510)];ht.apply(null,Et)}.bind(this)).catch(__webpack_require__.oe):(Ie.onload=ht,pe.appendChild(Ie))}else ce(et,Re);Re.height=ct,Re.width=jt},Se=function(pe,Re,Ue){var Jt=ke(Re.width,Re.height,Re.borderColor,Ue),et=document.createElement("div");et.style.position="relative",et.style.display="block",et.style.width=Re.width+"px",et.style.height=Re.height+"px",et.className="applet_screenshot applet_scaler"+(Ue?" applet_screenshot_play":""),et.appendChild(Jt);var jt=GGBAppletUtils.getScale(Re,pe,Ue);Ue?(pe.appendChild(He()),window.GGBT_wsf_view||(pe.style.position="relative")):window.GGBT_spinner&&window.GGBT_spinner.attachSpinner(et,"66%"),pe.appendChild(et),jt!==1&&!isNaN(jt)&&(GGBAppletUtils.scaleElement(et,jt),et.style.width=Re.width+"px",et.style.height=Re.height+"px",et.parentNode.style.width=Re.width*jt+"px",et.parentNode.style.height=Re.height*jt+"px"),Yn.resize=function(){ue(pe,Jt,et,Ue)},window.addEventListener("resize",function(ct){Yn.resize()}),Yn.resize()};function ue(pe,Re,Ue,Jt){if(pe.contains(Re)){if(typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()){if(pe.id!=="fullscreencontent")return;window.GGBT_wsf_view.setCloseBtnPosition(pe)}var et=GGBAppletUtils.getScale(z,pe,Jt);Ue.parentNode!==null&&(!isNaN(et)&&et!==1?(GGBAppletUtils.scaleElement(Ue,et),Ue.parentNode.style.width=z.width*et+"px",Ue.parentNode.style.height=z.height*et+"px"):(GGBAppletUtils.scaleElement(Ue,1),Ue.parentNode.style.width=z.width+"px",Ue.parentNode.style.height=z.height+"px")),typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()&&GGBAppletUtils.positionCenter(pe),typeof window.GGBT_ws_header_footer=="object"&&window.GGBT_ws_header_footer.setWsScrollerHeight()}}Yn.onExitFullscreen=function(pe,Re){Re.appendChild(pe)};var gt=function(pe,Re,Ue,Jt){Se(pe,Re,!0);for(var et=function(){var dn=[];for(ct=0;ct<pe.childNodes.length;ct++)dn.push(pe.childNodes[ct]);if(window.GGBT_wsf_view){var bt=window.GGBT_wsf_view.renderFullScreen(pe,Re.id),le=document.getElementById("fullscreencontainer"),ne=jQuery(pe).find(".fullscreencontent");ne.length>0?(bt.remove(),ne.attr("id","fullscreencontent").show(),jQuery(le).append(ne),window.dispatchEvent(new Event("resize"))):Ze(bt,Re,!1),window.GGBT_wsf_view.launchFullScreen(le)}else vt=Jt,Ze(pe,Re,!1);if(!window.GGBT_wsf_view)for(ct=0;ct<dn.length;ct++)pe.removeChild(dn[ct])},jt=pe.getElementsByClassName("ggb_preview_play"),ct=0;ct<jt.length;ct++)jt[ct].addEventListener("click",et,!1),jt[ct].addEventListener("ontouchstart",et,!1);typeof window.ggbAppletPlayerOnload=="function"&&window.ggbAppletPlayerOnload(pe),mt()&&window.GGBT_wsf_view&&$(".wsf-element-fullscreen-button").remove()},He=function(){var pe=document.createElement("div");if(pe.className="ggb_preview_play icon-applet-play",!window.GGBT_wsf_view){var Re='.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");}',Ue=document.createElement("style");Ue.styleSheet?Ue.styleSheet.cssText=Re:Ue.appendChild(document.createTextNode(Re)),document.getElementsByTagName("head")[0].appendChild(Ue)}return pe},ke=function(pe,Re,Ue,Jt){var et=document.createElement("div");et.className="ggb_preview",et.style.position="absolute",et.style.zIndex="90",et.style.width=pe-2+"px",et.style.height=Re-2+"px",et.style.top="0px",et.style.left="0px",et.style.overflow="hidden",et.style.backgroundColor="white";var jt="lightgrey";Ue!==void 0&&(Ue==="none"?jt="transparent":jt=Ue),et.style.border="1px solid "+jt;var ct=document.createElement("img");if(ct.style.position="relative",ct.style.zIndex="1000",ct.style.top="-1px",ct.style.left="-1px",We!==null&&ct.setAttribute("src",We),ct.style.opacity=.7,ot!==null){var dn,bt,le;if(!Jt){dn=document.createElement("img"),dn.style.position="absolute",dn.style.zIndex="1001",dn.style.opacity=1,ct.style.opacity=.3,bt=360,bt>pe/4*3&&(bt=pe/4*3),le=bt/5.8,dn.setAttribute("src",ot),dn.setAttribute("width",bt),dn.setAttribute("height",le);var ne=(pe-bt)/2,te=(Re-le)/2;dn.style.left=ne+"px",dn.style.top=te+"px",et.appendChild(dn)}}return et.appendChild(ct),et},Nt=function(pe){return pe=pe.toLowerCase(),pe==="html5"||pe==="screenshot"?pe:"html5"},De=["web","webSimple","web3d","tablet","tablet3d","phone"],ve=function(pe,Re){if(Je=pe,Re){At(Je,!0);return}var Ue=!Ce;if(Ue){var Jt=Me(Je);!isNaN(Jt)&&Jt<4.4&&(Ue=!1)}var et,jt;window.location.protocol.substr(0,4)==="http"?et=window.location.protocol:et="http:";var ct=Je.indexOf("//");ct>0?jt=Je:ct===0?jt=et+Je:jt="https://www.geogebra.org/apps/5.2.814.0/";for(var dn in De)if(Je.slice(De[dn].length*-1)===De[dn]||Je.slice((De[dn].length+1)*-1)===De[dn]+"/"){At(jt,!1);return}!GGBAppletUtils.isFlexibleWorksheetEditor()&&Ue&&!b.is3D&&!b.AV&&!b.SV&&!b.CV&&!b.EV2&&!b.CP&&!b.PC&&!b.DA&&!b.FI&&!b.PV&&!Fe(z.showToolBar)&&!Fe(z.showMenuBar)&&!Fe(z.showAlgebraInput)&&!Fe(z.enableRightClick)&&(!z.appName||z.appName=="classic")?jt+="webSimple/":jt+="web3d/",At(jt,!1)},At=function(pe,Re){if(pe.requirejs){Ge=pe;return}pe.slice(-1)!=="/"&&(pe+="/"),Ge=pe,Re===null&&(Re=pe.indexOf("http")===-1),be=Re,tt="web.nocache.js",je=!1;var Ue=Ge.split("/");Ue.length>1&&(!Re&&Ue[Ue.length-2]==="webSimple"?(tt="webSimple.nocache.js",je=!0):De.indexOf(Ue[Ue.length-2])>=0&&(tt=Ue[Ue.length-2]+".nocache.js")),Ue=pe.split("/"),Je=Ue[Ue.length-3],Je.substr(0,4)==="test"?Je=Je.substr(4,1)+"."+Je.substr(5,1):(Je.substr(0,3)==="war"||Je.substr(0,4)==="beta")&&(Je="5.0");var Jt=parseFloat(Je);Jt!==NaN&&Jt<5&&pe.indexOf("geogebra.org")>=0&&(console.log("The GeoGebra HTML5 codebase version "+Jt+" is deprecated. Using version latest instead."),ve("5.0",Re))},Gt=function(pe,Re){window.console&&window.console.log&&(!Re||typeof Re.showLogging=="undefined"||Re.showLogging&&Re.showLogging!=="false")&&console.log(pe)};z.material_id!==void 0?kt(Wt):Wt();function Wt(){var pe=mn;xe!==null?pe=xe:parseFloat(pe)<5&&(pe="5.0"),ve(pe,!1),Ae!==null&&At(Ae,be),Oe=!0}return Yn},GGBAppletUtils=function(){"use strict";function Yn(){return window.GGBT_wsf_edit!==void 0}function mn(Oe,xe){xe!=1?(Oe.style.transformOrigin="0% 0% 0px",Oe.style.webkitTransformOrigin="0% 0% 0px",Oe.style.transform="scale("+xe+","+xe+")",Oe.style.webkitTransform="scale("+xe+","+xe+")",Oe.style.maxWidth="initial",Oe.querySelector(".ggb_preview")!==null&&(Oe.querySelector(".ggb_preview").style.maxWidth="initial"),Oe.querySelectorAll(".ggb_preview img")[0]!==void 0&&(Oe.querySelectorAll(".ggb_preview img")[0].style.maxWidth="initial"),Oe.querySelectorAll(".ggb_preview img")[1]!==void 0&&(Oe.querySelectorAll(".ggb_preview img")[1].style.maxWidth="initial")):(Oe.style.transform="none",Oe.style.webkitTransform="none")}function z(Oe,xe,Ae,Ve,Be,fe){var Ge=null;if(fe!=null&&fe!="")for(var be=Oe.parentNode;be!=null;)if((" "+be.className+" ").indexOf(" "+fe+" ")>-1){Ge=be;break}else be=be.parentNode;var vt=0,Je=0,tt=0,je=0,We=0,ot=0,Mt=0;if(Ge)vt=Ge.offsetWidth,Je=Math.max(Ve?Ge.offsetWidth:0,Ge.offsetHeight);else{if(window.innerWidth&&document.documentElement.clientWidth?(vt=Math.min(window.innerWidth,document.documentElement.clientWidth),Je=Math.min(window.innerHeight,document.documentElement.clientHeight),tt=vt):(vt=window.innerWidth,Je=window.innerHeight,tt=window.innerWidth),Oe){var Ut=Oe.getBoundingClientRect();Ut.left>0&&Ut.left<=vt&&(Be===void 0||!Be)&&(document.dir==="rtl"?(We=vt-Ut.width-Ut.left,ot=tt<=480?10:30):(ot=Ut.left,We=tt<=480?10:30),je=ot+We)}if(Oe&&typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()){var se=Oe.getBoundingClientRect();window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionRight"?(je=40,Mt=0):window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionTop"&&(je=0,Mt=40)}}return Oe&&((Ae===void 0||!Ae)&&xe>0&&xe+je<vt?vt=xe:vt-=je,typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()&&(Ae===void 0||!Ae)&&(Je-=Mt)),{width:vt,height:Je}}function b(Oe,xe,Ae,Ve,Be){if(Oe.isScreenshoGenerator)return 1;var fe=Ve!==void 0&&Ve,Ge=Oe.noScaleMargin!=null&&Oe.noScaleMargin,be=function(se){return se&&se!=="false"},vt=be(Oe.autoHeight),Je=z(xe,Oe.width,Ae,vt,fe&&window.GGBT_wsf_view||Ge,Be),tt=parseInt(Je.width),je=Oe.width,We=Oe.height;if(je===void 0){var ot=xe.querySelector(".appletParameters");ot&&(je=ot.offsetWidth,We=ot.offsetHeight)}var Mt=tt/je,Ut=fe?1:Je.height/We;return Ae!==void 0&&!Ae&&(Mt=Math.min(1,Mt),Ut=Math.min(1,Ut)),Math.min(Mt,Ut)}function Ce(Oe,xe,Ae){var Ve=1,Be,fe=!1;if(Oe.hasOwnProperty("allowUpscale")&&(fe=Oe.allowUpscale),Oe.hasOwnProperty("scale")&&(Ve=parseFloat(Oe.scale),(isNaN(Ve)||Ve===null||Ve===0)&&(Ve=1),Ve>1&&(fe=!0)),xe&&typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()&&(fe=!0),!(Oe.hasOwnProperty("disableAutoScale")&&Oe.disableAutoScale))Be=b(Oe,xe,fe,Ae,Oe.scaleContainerClass);else return Ve;return fe&&(!Oe.hasOwnProperty("scale")||Ve===1)?Be:Math.min(Ve,Be)}function de(Oe){var xe=Math.min(window.innerWidth,document.documentElement.clientWidth),Ae=Math.min(window.innerHeight,document.documentElement.clientHeight),Ve=Oe.getBoundingClientRect(),Be=(xe-Ve.width)/2,fe=(Ae-Ve.height)/2;fe<0&&(fe=0),Oe.style.position="relative",window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionRight"?(Be<40?Oe.style.left="40px":Oe.style.left=Be+"px",Oe.style.top=fe+"px"):window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionTop"&&(fe<40?Oe.style.top="40px":Oe.style.top=fe+"px",Oe.style.left=Be+"px")}function rt(Oe,xe){var Ae=Oe.querySelector(".appletParameters");if(Ae){if(typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()){if(xe.id!==Ae.getAttribute("data-param-id"))return;window.GGBT_wsf_view.setCloseBtnPosition(Oe)}if(Ae.parentElement&&/fullscreen/.test(Ae.parentElement.className))return;var Ve=Ce(xe,Oe);Yn()&&Ae.setAttribute("data-param-scale",Ve);for(var Be=null,fe=0;fe<Oe.childNodes.length;fe++)if(Oe.childNodes[fe].className!==void 0&&Oe.childNodes[fe].className.match(/^applet_scaler/)){Be=Oe.childNodes[fe];break}if(Be!==null&&Be.querySelector(".noscale")!==null)return;var Ge=xe.id!==void 0?xe.id:"ggbApplet",be=window[Ge];(be==null||!be.recalculateEnvironments)&&Be!==null&&!Be.className.match(/fullscreen/)&&(Be.parentNode.style.transform="",!isNaN(Ve)&&Ve!==1?(Be.parentNode.style.width=xe.width*Ve+"px",Be.parentNode.style.height=xe.height*Ve+"px",mn(Be,Ve)):(mn(Be,1),Be.parentNode.style.width=xe.width+"px",Be.parentNode.style.height=xe.height+"px")),typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()&&de(Oe),window.GGBT_wsf_view&&!window.GGBT_wsf_view.isFullscreen()&&window.GGBT_wsf_general.adjustContentToResize($(Ae).parents(".content-added-content"))}}return{responsiveResize:rt,isFlexibleWorksheetEditor:Yn,positionCenter:de,getScale:Ce,scaleElement:mn}}();__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 Yn=n.location.search;return Yn.indexOf(J)!=-1||Yn.indexOf(K)!=-1}function q(Yn,mn){}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(Yn){var mn=s[L].bindings;s[L].bindings=function(){for(var z=mn?mn():{},b=Yn[webModule.__softPermutationId],Ce=O;Ce<b.length;Ce++){var de=b[Ce];z[de[O]]=de[P]}return z}};var t;function u(){return v(),t}function v(){if(!t){var Yn=o.createElement(Q);if(Yn.id=L,Yn.style.cssText=R+S,Yn.tabIndex=-1,o.body.appendChild(Yn),t=Yn.contentWindow.document,navigator.userAgent.indexOf(T)==-1){t.open();var mn=document.compatMode==U?V:W;t.write(mn+X),t.close()}}}function w(Yn){function mn(b){function Ce(){return typeof o.readyState==Y?typeof o.body!=Y&&o.body!=null:/loaded|complete/.test(o.readyState)}var de=Ce();if(de){b();return}function rt(){if(!de){if(!Ce())return;de=!0,b(),o.removeEventListener&&o.removeEventListener(Z,rt,!1),Oe&&clearInterval(Oe)}}o.addEventListener&&o.addEventListener(Z,rt,!1);var Oe=setInterval(function(){rt()},$)}function z(b){var Ce=u(),de=Ce.body,rt=Ce.createElement(_);rt.language=ab,rt.crossOrigin=W,rt.src=b,webModule.__errFn&&(rt.onerror=function(){webModule.__errFn(L,new Error(bb+b))}),de.appendChild(rt)}mn(function(){z(Yn)})}webModule.__startLoadingFragment=function(Yn){return C(Yn)},webModule.__installRunAsyncCode=function(Yn){var mn=u(),z=mn.body,b=mn.createElement(_);b.language=ab,b.text=Yn,z.appendChild(b),z.removeChild(b)};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(Yn){alert(nb+k+ob)}}else if(j==pb&&(k=i.getAttribute(kb),k))try{e=eval(k)}catch(Yn){alert(nb+k+qb)}}}__gwt_getMetaProperty=function(Yn){var mn=c[Yn];return mn==null?null:mn},r=d,webModule.__errFn=e}function B(){function Yn(Oe){var xe=Oe.lastIndexOf(rb);xe==-1&&(xe=Oe.length);var Ae=Oe.indexOf(sb);Ae==-1&&(Ae=Oe.length);var Ve=Oe.lastIndexOf(tb,Math.min(Ae,xe));return Ve>=O?Oe.substring(O,Ve+P):W}function mn(Oe){if(!Oe.match(/^\w+:\/\//)){var xe=o.createElement(ub);xe.src=Oe+vb,Oe=Yn(xe.src)}return Oe}function z(){var Oe=__gwt_getMetaProperty(wb);return Oe!=null?Oe:W}function b(){for(var Oe=o.getElementsByTagName(_),xe=O;xe<Oe.length;++xe)if(Oe[xe].src.indexOf(xb)!=-1)return Yn(Oe[xe].src);return W}function Ce(){var Oe=o.getElementsByTagName(yb);return Oe.length>O?Oe[Oe.length-P].href:W}function de(){var Oe=o.location;return Oe.href==Oe.protocol+zb+Oe.host+Oe.pathname+Oe.search+Oe.hash}var rt=z();return rt==W&&(rt=b()),rt==W&&(rt=Ce()),rt==W&&de()&&(rt=Yn(o.location.href)),rt=mn(rt),rt}function C(Yn){return Yn.match(/^\//)||Yn.match(/^[a-zA-Z]+:\/\//)?Yn:webModule.__moduleBase+Yn}function D(){var Yn=[],mn=O,z=[],b=[];function Ce(Oe){var xe=b[Oe](),Ae=z[Oe];if(xe in Ae)return xe;var Ve=[];for(var Be in Ae)Ve[Ae[Be]]=Be;throw r&&r(Oe,Ve,xe),null}if(__gwt_isKnownPropertyValue=function(Oe,xe){return xe in z[Oe]},webModule.__getPropMap=function(){var Oe={};for(var xe in z)z.hasOwnProperty(xe)&&(Oe[xe]=Ce(xe));return Oe},webModule.__computePropValue=Ce,n.__gwt_activeModules[L].bindings=webModule.__getPropMap,p())return C(Bb);var de;try{de=Cb;var rt=de.indexOf(Db);rt!=-1&&(mn=parseInt(de.substring(rt+P),$),de=de.substring(O,rt))}catch(Oe){}return webModule.__softPermutationId=mn,C(de+Eb)}function F(){n.__gwt_stylesLoaded||(n.__gwt_stylesLoaded={})}A(),webModule.__moduleBase="/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})()},23216:function(Yn,mn,z){"use strict";z.d(mn,{Ax:function(){return rt},Ds:function(){return Oe},KI:function(){return Ae},SI:function(){return de},f1:function(){return Ce}});var b=z(14185);function Ce(Ve){let Be=!0;if(Ve.length>0){for(let fe=0;fe<Ve.length;fe++)if(Ve[fe].compile_success==0||!Ve[fe].compile_success){Be=!1;break}}else Be=!1;return Be}function de(Ve,Be=""){let fe=[];for(let Ge=0;Ge<Ve.length;Ge++){let be=Ve[Ge],vt=Be?`${Be}/${be.name}`:`${be.name}`;fe.push({title:be.name,type:be.type,isLeaf:be.type!=="tree",key:vt})}return fe}function rt(Ve,Be,fe){for(let Ge=0;Ge<Ve.length;Ge++){let be=Ve[Ge];if(be.key===Be){be.children=fe;break}be.children&&rt(be.children,Be,fe)}return Ve}function Oe(Ve,Be,fe){let Ge;return function(){let be=this,vt=arguments,Je=function(){Ge=null,fe||Ve.apply(be,vt)},tt=fe&&!Ge;clearTimeout(Ge),Ge=setTimeout(Je,Be),tt&&Ve.apply(be,vt)}}const xe=!0,Ae=b.Z.API_SERVER},40254:function(Yn,mn,z){"use strict";z.d(mn,{Z:function(){return Ge}});var b=z(59301),Ce={imageDimensions:"imageDimensions___a7crR",img:"img___Kroat",fullWidth:"fullWidth___c492T"},de=z(92310),rt=z.n(de),Oe=z(29787),xe=z(2859),Ae=z(49317),Ve=z(76406),Be=(be,vt,Je)=>new Promise((tt,je)=>{var We=Ut=>{try{Mt(Je.next(Ut))}catch(se){je(se)}},ot=Ut=>{try{Mt(Je.throw(Ut))}catch(se){je(se)}},Mt=Ut=>Ut.done?tt(Ut.value):Promise.resolve(Ut.value).then(We,ot);Mt((Je=Je.apply(be,vt)).next())}),Ge=({data:be,className:vt,fullWidth:Je,style:tt={},onClose:je,onOk:We,showFullTools:ot,noAssociationId:Mt})=>{const Ut=(0,b.useRef)(null),se=(0,b.useRef)(null),Me=(0,b.useRef)(null),st=(0,b.useRef)(null),[mt,kt]=(0,b.useState)(!1),[Qe,ut]=(0,b.useState)("\u6B63\u5728\u52A0\u8F7D\u4E2D");(0,b.useEffect)(()=>(Me.current||(Me.current=document.createElement("style"),document.head.appendChild(Me.current)),be!=null&&be.visible?(document.body.setAttribute("data-custom","y-hidden"),Me.current.innerHTML=" html { overflow-y: hidden; }",be!=null&&be.src&&dt()):(document.body.removeAttribute("data-custom"),Me.current&&(document.head.removeChild(Me.current),Me.current=null)),()=>{document.body.removeAttribute("data-custom"),Me.current&&(document.head.removeChild(Me.current),Me.current=null)}),[be==null?void 0:be.visible]);const dt=()=>Be(void 0,null,function*(){kt(!0),ut("\u6B63\u5728\u52A0\u8F7D\u4E2D");const ue=yield(0,Ve.ZJ)(be==null?void 0:be.src);Ut.current.src="",Ut.current.src=ue,Ut.current.onload=function(){Se()},kt(!1),ut("")}),Fe=ue=>Be(void 0,null,function*(){kt(!0),ut("\u6B63\u5728\u4FDD\u5B58\u4E2D");const gt=yield(0,Ae.ZP)("/api/attachments.json",{method:"post",body:{file_type:"base64",original_filename:be.title,file:ue.dataUrl}});gt!=null&>.id&&!Mt?(yield(0,Ae.ZP)(`/api/attachments/${be.id}/add_subitem.json`,{method:"post",body:{subitem_id:gt==null?void 0:gt.id,settings:JSON.stringify(ue.state)}})).status===0&&We():gt!=null&>.id&&We(gt),kt(!1),ut("")}),Ze=()=>{const ue=document.querySelector('a[href="https://markerjs.com/"]');ue&&ue.parentNode&&(ue.parentNode.style.display="none"),[{name:'[data-action="select"]',title:"\u9009\u62E9"},{name:'[data-action="delete"]',title:"\u5220\u9664\u5143\u7D20"},{name:'[data-action="undo"]',title:"\u64A4\u9500"},{name:'[data-type-name="FrameMarker"]',title:"\u77E9\u5F62"},{name:'[data-type-name="FreehandMarker"]',title:"\u753B\u7EBF"},{name:'[data-type-name="ArrowMarker"]',title:"\u7BAD\u5934"},{name:'[data-type-name="TextMarker"]',title:"\u6587\u672C"},{name:'[data-type-name="EllipseMarker"]',title:"\u692D\u5706"},{name:'[data-type-name="HighlightMarker"]',title:"\u65B9\u5757"},{name:'[data-type-name="CalloutMarker"]',title:"\u6CE8\u91CA"},{name:'[data-action="render"]',title:"\u4FDD\u5B58"},{name:'[data-action="close"]',title:"\u9000\u51FA"}].forEach(He=>{const ke=document.querySelector(He.name);ke&&ke.setAttribute("title",He.title)})},Se=()=>{se.current=new xe.hP(Ut.current),se.current.targetRoot=st.current,se.current.addEventListener("render",Fe),se.current.addEventListener("beforeclose",je),ot&&(se.current.availableMarkerTypes=se.current.ALL_MARKER_TYPES,se.current.uiStyleSettings.redoButtonVisible=!0,se.current.uiStyleSettings.notesButtonVisible=!0,se.current.uiStyleSettings.zoomButtonVisible=!0,se.current.uiStyleSettings.zoomOutButtonVisible=!0,se.current.uiStyleSettings.clearButtonVisible=!0),window.markerArea=se.current.uiStyleSettings,se.current.show(),be!=null&&be.snapshotData&&se.current.restoreState(be.snapshotData),setTimeout(()=>{window.scrollTo(0,0),Ze()},300)};return b.createElement(b.Fragment,null,(be==null?void 0:be.visible)&&b.createElement(Oe.Z,{spinning:mt,tip:Qe,style:{position:"absolute",width:"100vw"}},b.createElement("div",{ref:st,className:rt()(Ce.imageDimensions,vt,Je?Ce.fullWidth:""),style:tt},b.createElement("img",{className:Ce.img,ref:Ut}))))}},9057:function(Yn,mn,z){"use strict";var b=z(59301),Ce=z(77019),de=z(5269),rt=z(31691),Oe=z(7939),xe=z(35883),Ae=z(74501),Ve=z(48136),Be=z(59301);const fe=(0,b.forwardRef)(({callback:Ge,showSaveButton:be,value:vt=""},Je)=>{const tt=(0,b.useRef)(),je=[{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 "}]}]}],We=[{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}`}]}]}],ot=se=>{tt.current.setValue(tt.current.getValue()+" "+se.value+" ")},Mt=[{key:"1",label:"\u5FEB\u6377\u6A21\u677F",children:Be.createElement(Ce.Z,{className:Ae.Z.lists,gutter:[10,10]},je.map((se,Me)=>Be.createElement(de.Z,{flex:"110px",className:Ae.Z.item},Be.createElement("div",null,Be.createElement(xe.Z,{value:`$$${se.value}$$`}),se.name),Be.createElement("div",{className:Ae.Z.children},se.children.map((st,mt)=>Be.createElement("div",{key:mt},Be.createElement("h1",null,st.name),Be.createElement(Ce.Z,{gutter:[10,10]},st.data.map((kt,Qe)=>Be.createElement(de.Z,{key:Qe,onClick:()=>ot(kt),className:Ae.Z.diamond},Be.createElement(xe.Z,{value:"`$$"+kt.value+"$$`"}))))))))))},{key:"2",label:"\u516C\u5F0F\u6A21\u677F",children:Be.createElement(Ce.Z,{className:Ae.Z.lists,gutter:[10,10]},We.map((se,Me)=>Be.createElement(de.Z,{flex:"110px",className:Ae.Z.item},Be.createElement("div",null,Be.createElement(xe.Z,{value:"`$$"+se.value+"$$`"}),se.name),Be.createElement("div",{className:Ae.Z.children},se.children.map((st,mt)=>Be.createElement("div",{key:mt},st.name&&Be.createElement("h1",null,st.name),Be.createElement(Ce.Z,{gutter:[10,10]},st.data.map((kt,Qe)=>Be.createElement(de.Z,{key:Qe,onClick:()=>ot(kt),className:Ae.Z.diamond},Be.createElement(xe.Z,{value:"`$$"+kt.value+"$$`"}))))))))))}],Ut=()=>{var se=document.createElement("div");se.innerHTML=tt.current.getValue();var Me=se.innerText;return Ge&&Ge(Me),Me};return(0,b.useImperativeHandle)(Je,()=>({getData:Ut})),Be.createElement("div",{className:Ae.Z.mathWrap},Be.createElement(rt.default,{defaultActiveKey:"1",items:Mt}),Be.createElement("math-field",{locale:"zh_cn",className:Ae.Z.mathField,placeholder:"\u8BF7\u6253\u5F00\u952E\u76D8\uFF0C\u8F93\u5165\u516C\u5F0F",ref:tt,style:{width:800,marginTop:30,fontSize:18}},vt||""),be&&Be.createElement("div",{className:Ae.Z.button},Be.createElement(Oe.ZP,{size:"large",onClick:Ut,style:{zIndex:8,marginTop:10},type:"primary"},"\u4FDD\u5B58\u5230\u7F16\u8F91\u5668")))});mn.Z=fe},90736:function(Yn,mn,z){"use strict";var b=z(59301),Ce=z(4977),de=z(7939),rt=Object.defineProperty,Oe=Object.defineProperties,xe=Object.getOwnPropertyDescriptors,Ae=Object.getOwnPropertySymbols,Ve=Object.prototype.hasOwnProperty,Be=Object.prototype.propertyIsEnumerable,fe=(Je,tt,je)=>tt in Je?rt(Je,tt,{enumerable:!0,configurable:!0,writable:!0,value:je}):Je[tt]=je,Ge=(Je,tt)=>{for(var je in tt||(tt={}))Ve.call(tt,je)&&fe(Je,je,tt[je]);if(Ae)for(var je of Ae(tt))Be.call(tt,je)&&fe(Je,je,tt[je]);return Je},be=(Je,tt)=>Oe(Je,xe(tt));const vt=({img:Je,buttonProps:tt={},styles:je={},customText:We,ButtonText:ot,ButtonClick:Mt,Buttonclass:Ut,ButtonTwo:se,imgStyles:Me,loading:st=!1,className:mt=""})=>b.createElement("section",{className:`tc animated fadeIn ${mt}`,style:Ge({color:"#999",margin:"100px auto",visibility:st?"hidden":"visible"},je)},b.createElement("img",{src:Je||Ce,style:be(Ge({},Me),{pointerEvents:"none",userSelect:"none"})}),b.createElement("p",{className:"mt20 font14"},We||"\u6682\u65F6\u8FD8\u6CA1\u6709\u76F8\u5173\u6570\u636E\u54E6!"),ot&&b.createElement(de.ZP,Ge({className:Ut,onClick:Mt},tt),ot),se&&se);mn.Z=vt},47026:function(Yn,mn,z){"use strict";z.d(mn,{Q:function(){return xe}});var b=z(59301),Ce=z(82326),de=z(47889),rt=z(4875),Oe=z(59301),xe=(Ve=>(Ve[Ve.Number=1]="Number",Ve[Ve.Percent=2]="Percent",Ve))(xe||{});const Ae=({value:Ve,onChange:Be,disabled:fe,hidePercentOption:Ge=!1,percentType:be="select"})=>{const vt=(0,b.useMemo)(()=>Ge?1:2,[Ge]),[Je,tt]=(0,b.useState)(vt);console.log(Je);const je=ot=>Ve.type===1?`${ot}\u5206`:`${ot}%`,We=(0,b.useCallback)(ot=>{if(Je===1){const Mt=ot.replace("\u5206","");return isNaN(parseInt(Mt,10))?0:Mt}else return ot.replace("%","")},[Je]);return(0,b.useEffect)(()=>{tt(Ve.type)},[Ve]),Oe.createElement("div",{style:{display:"flex",alignItems:"center"}},be=="select"&&Oe.createElement(Ce.default,{size:"large",onChange:ot=>{tt(ot),Be({type:ot,inputValue:ot===1?5:20})},value:Je||vt,style:{width:100},options:Ge?[{label:"\u5206\u503C",value:1}]:[{label:"\u767E\u5206\u6BD4",value:2},{label:"\u5206\u503C",value:1}],disabled:fe}),be=="radio"&&Oe.createElement(de.ZP.Group,{size:"large",onChange:ot=>{const Mt=ot.target.value;tt(Mt),Be({type:Mt,inputValue:Mt===1?5:20})},value:Je||vt,disabled:fe},!Ge&&Oe.createElement(de.ZP,{value:2,style:{marginRight:"50px"}},"\u767E\u5206\u6BD4\u6263\u5206"),Oe.createElement(de.ZP,{value:1},"\u56FA\u5B9A\u5206\u503C")),be=="radio"&&Oe.createElement("div",{style:{marginRight:"10px",color:"#000000"}},Ve.type==2?"\u6263\u9664\u8865\u4EA4\u9636\u6BB5\u5F97\u5206\u7684":"\u6263\u9664\u603B\u6210\u7EE9\u7684"),Oe.createElement(rt.Z,{size:"large",disabled:fe,value:Ve.inputValue,style:{width:"120px"},parser:We,addonAfter:Ve.type===1?"\u5206":"%",max:Je===2?100:Number.MAX_SAFE_INTEGER,min:0,precision:0,onChange:ot=>{Be({type:Je,inputValue:ot})}}),be=="radio"&&Ve.type==2&&Oe.createElement("div",{style:{marginLeft:"10px",color:"#000000"}},"\u5206\u6570"))};mn.Z=Ae},86974:function(Yn,mn,z){"use strict";z.d(mn,{Z:function(){return Ut}});var b=z(59301),Ce={wrp:"wrp___dq7YK",bgBlack:"bgBlack___ARIUV",monaco:"monaco___VnZC3",darkBlue:"darkBlue___UprA9",close:"close___LKoWu",showClose:"showClose___edZQA",embed:"embed___hvpEJ"},de=z(7939),rt=z(70557),Oe=z(34728),xe=z(25399),Ae=z(76406),Ve=z(84849),Be=z(90736),fe=z(14185),Ge=z(52078),be=z(59301),vt=Object.defineProperty,Je=Object.getOwnPropertySymbols,tt=Object.prototype.hasOwnProperty,je=Object.prototype.propertyIsEnumerable,We=(se,Me,st)=>Me in se?vt(se,Me,{enumerable:!0,configurable:!0,writable:!0,value:st}):se[Me]=st,ot=(se,Me)=>{for(var st in Me||(Me={}))tt.call(Me,st)&&We(se,st,Me[st]);if(Je)for(var st of Je(Me))je.call(Me,st)&&We(se,st,Me[st]);return se},Mt=(se,Me,st)=>new Promise((mt,kt)=>{var Qe=Fe=>{try{dt(st.next(Fe))}catch(Ze){kt(Ze)}},ut=Fe=>{try{dt(st.throw(Fe))}catch(Ze){kt(Ze)}},dt=Fe=>Fe.done?mt(Fe.value):Promise.resolve(Fe.value).then(Qe,ut);dt((st=st.apply(se,Me)).next())}),Ut=({editOffice:se="view",data:Me,issaver:st,onSaver:mt,theme:kt,type:Qe,filename:ut,monacoEditor:dt,className:Fe,style:Ze,close:Se,onClose:ue,hasMask:gt,disabledDownload:He,onImgDimensions:ke,showNodata:Nt,recordInfo:De})=>{const[ve,At]=(0,b.useState)("https://view.officeapps.live.com/op/view.aspx?src=http://testgs.educoder.net//rails/active_storage/blobs/eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaHBCZz09IiwiZXhwIjpudWxsLCJwdXIiOiJibG9iX2lkIn19--03541f6234b93d7ac3b2d84e7eb0e6594a952945/1.ppt"),[Gt,Wt]=(0,b.useState)(""),[pe,Re]=(0,b.useState)(),Ue=window.ENV==="build"?"/react/build":"",Jt=location.host.startsWith("localhost")?fe.Z.PROXY_SERVER:fe.Z.API_SERVER,jt=10*(1024*1024),ct=(0,b.useRef)();Me!=null&&Me.startsWith("/api")&&Qe!=="txt"&&(Me=fe.Z.API_SERVER+Me);const dn=he=>he.substring(he.lastIndexOf("/")+1).split(".").pop();ut&&dt&&(dt.filename=ut),(0,b.useEffect)(()=>{var he,re;const ce=(re=(he=document.cookie)==null?void 0:he.replace(/\s/g,""))==null?void 0:re.split(";");ce==null||ce.map(Pe=>{let lt=Pe.split("=");lt[0]==="_educoder_session"&&Wt(lt[1])})},[]),(0,b.useEffect)(()=>{Qe==="office"&&(Me.indexOf("bigfilescdn.")>-1||Me.indexOf("bigfiles1")>-1?Re({url:Me,fileType:dn(Me),model:Me.indexOf("model=edit")?"edit":"view"}):Me.indexOf("coze")>-1?Re({url:Me,fileType:"doc",model:"view"}):le())},[Qe,Me]);function bt(he){return Mt(this,null,function*(){he.data.type==="pdfdata"&&(mt(he.data.data),window.removeEventListener("message",bt,!1)),console.log("mess---:",he.data)})}const le=()=>Mt(void 0,null,function*(){console.log("data:",Me);let he=Me;Me.startsWith("http")||(he=location.origin+he);let re=new URL(he).pathname.split("/").pop();const ce=yield(0,Ve.gJ)({attachment_id:re});ce.url=Jt+ce.url,Re(ce)}),ne=()=>{if(Me.startsWith("http")||Me.startsWith("blob:")){te();return}(0,Ae.Sv)(ut||"educoder",Me,ut)},te=()=>{De&&(0,Ge.fc)({id:De==null?void 0:De.id,watch_type:1,course_id:De==null?void 0:De.course_id}),(0,Ae.Nd)(ut||"educoder",decodeURIComponent(Me))};(0,b.useEffect)(()=>(window.addEventListener("message",ae),()=>{window.removeEventListener("message",ae)}),[]);const ae=he=>{var re;((re=he==null?void 0:he.data)==null?void 0:re.type)==="closePop"&&ue()};return be.createElement("div",{style:ot({},Ze||{}),className:`${gt&&Ce.bgBlack} ${Qe?Ce.wrp:"hide"}`},!!Qe&&Se&&be.createElement("div",{id:"closePop",className:Ce.close,ref:ct},!!ke&&be.createElement(xe.Z,{title:"\u70B9\u51FB\u5BF9\u56FE\u7247\u8FDB\u884C\u6279\u6CE8",getPopupContainer:()=>ct.current},be.createElement("span",{onClick:()=>{ue(),ke()}},be.createElement("i",{className:"icon-yulanpizhu"}))),!He&&window.parent===window&&be.createElement(xe.Z,{title:"\u70B9\u51FB\u4E0B\u8F7D\u6B64\u6587\u4EF6",getPopupContainer:()=>ct.current},be.createElement("span",{onClick:te},be.createElement("i",{className:"icon-quxiaozhiding"}))),st&&be.createElement(xe.Z,{title:"\u4FDD\u5B58pdf\u5E76\u9000\u51FA",getPopupContainer:()=>ct.current},be.createElement("span",{className:"",onClick:()=>{const he=document.getElementById("pdfiframe");window.addEventListener("message",bt,!1),setTimeout(()=>{he.contentWindow.postMessage("getData","*")},300)}},be.createElement("i",{className:"icon-baocun"}))),be.createElement(xe.Z,{title:"\u5173\u95ED",getPopupContainer:()=>ct.current},be.createElement("span",{className:"",onClick:()=>{ue()}},be.createElement("i",{className:"icon-guanbi1"})))),be.createElement("div",{className:`${Ce[Fe]} ${Fe} ${Ce.monaco} ${Qe==="txt"?"show":"hide"}`},Qe==="txt"&&be.createElement(be.Fragment,null,be.createElement(Oe.ZP,ot({},dt)))),Qe==="audio"&&be.createElement("audio",{controls:!0,src:`${(Me==null?void 0:Me.indexOf("http://"))>-1||(Me==null?void 0:Me.indexOf("https://"))>-1?"":"data:audio/mp3;base64,"}${Me}`,autoPlay:!0}),Qe==="video"&&be.createElement(be.Fragment,null,(Me==null?void 0:Me.indexOf("http"))>-1?be.createElement("video",{controls:!0,src:`${Me}`,autoPlay:!0}):be.createElement("video",{controls:!0,src:`data:video/mp4;base64,${Me}`,autoPlay:!0})),Qe==="office"&&pe&&be.createElement("iframe",{src:`${Ue}/office.html?key=${pe.key}&url=${btoa(pe.url)}&callbackUrl=${Jt+(pe.callbackUrl||"")}&fileType=${pe.fileType}&title=${pe.title||""}&model=${se}&officeServer=${fe.Z.ONLYOFFICE}&disabledDownload=${!!He}`}),Qe==="html"&&be.createElement("iframe",{src:Me+"&disposition=inline"}),Qe==="pdf"&&be.createElement("iframe",{id:"pdfiframe",src:`${Ue}/js/pdf/index.html?filename=${ut||"educoder.pdf"}&url=${encodeURIComponent(Me)}&disabledDownload=${!!He}&model=${se}`}),Qe==="image"&&be.createElement("img",{src:`${(Me==null?void 0:Me.indexOf("http://"))>-1||(Me==null?void 0:Me.indexOf("https://"))>-1?"":"data:image/png;base64,"}${Me}`}),(Qe==="other"||Qe==="download")&&be.createElement(be.Fragment,null,Nt?be.createElement(Be.Z,{customText:"\u5F53\u524D\u6587\u4EF6\u4E0D\u652F\u6301\u9884\u89C8\uFF0C\u53EF\u70B9\u51FB\u4E0B\u8F7D\u67E5\u770B",ButtonTwo:be.createElement(de.ZP,{icon:be.createElement("i",{className:"iconfont icon-xiazai4 font14"}),type:"primary",size:"middle",onClick:ne,disabled:He},"\u4E0B\u8F7D")}):be.createElement(de.ZP,{type:"primary",size:"middle",onClick:ne,disabled:He},be.createElement(rt.Z,null),"\u70B9\u51FB\u4E0B\u8F7D")),Qe==="flowChart"&&be.createElement("div",{className:"embed"},be.createElement("iframe",{src:`/drawio/src/main/webapp/viewer.html?id=${Me||""}&gapi=0&od=0&db=0&gh=0&gl=0`,width:"100%",height:"100%",frameBorder:"0"})))}},35883:function(Yn,mn,z){"use strict";z.d(mn,{z:function(){return dt},Z:function(){return Fe}});var b=z(59301),Ce=z(46214),de=z(20047),rt=z(64018),Oe=z(16471),xe=z(14185),Ae=z(76406),Ve=z(15342),Be=z(44104),fe=z(7939),Ge=z(1012),be=z(86974),vt=z(59301),tt=({html:Ze})=>{const Se=(0,b.useRef)(null),ue=(0,b.useRef)(null),gt=`.markdown-body p {
|
|
|
margin: 0 0 16px 0 !important;
|
|
|
line-height: 28px;
|
|
|
white-space: pre-wrap;
|
|
|
}
|
|
|
|
|
|
ol,
|
|
|
ul,
|
|
|
li {
|
|
|
list-style-type: none
|
|
|
}
|
|
|
|
|
|
ol,
|
|
|
ul,
|
|
|
dl {
|
|
|
margin-bottom: 0px;
|
|
|
}
|
|
|
|
|
|
.markdown-body {
|
|
|
-ms-text-size-adjust: 100%;
|
|
|
-webkit-text-size-adjust: 100%;
|
|
|
color: #333;
|
|
|
overflow: hidden;
|
|
|
font-family: "Microsoft YaHei", Helvetica, "Meiryo UI", "Malgun Gothic", "Segoe UI", "Trebuchet MS", "Monaco", monospace, Tahoma, STXihei, "\u534E\u6587\u7EC6\u9ED1", STHeiti, "Helvetica Neue", "Droid Sans", "wenquanyi micro hei", FreeSans, Arimo, Arial, SimSun, "\u5B8B\u4F53", Heiti, "\u9ED1\u4F53", sans-serif;
|
|
|
word-break: break-word;
|
|
|
font-size: 16px;
|
|
|
line-height: 1.6;
|
|
|
white-space: normal;
|
|
|
word-wrap: break-word;
|
|
|
position: relative;
|
|
|
}
|
|
|
|
|
|
.markdown-body ul>li {
|
|
|
list-style-type: disc;
|
|
|
}
|
|
|
|
|
|
.markdown-body ol>li {
|
|
|
list-style-type: decimal;
|
|
|
}
|
|
|
|
|
|
.markdown-body a {
|
|
|
background: transparent;
|
|
|
}
|
|
|
|
|
|
.markdown-body a:active,
|
|
|
.markdown-body a:hover {
|
|
|
outline: 0;
|
|
|
}
|
|
|
|
|
|
.markdown-body strong {
|
|
|
font-weight: bold;
|
|
|
}
|
|
|
|
|
|
.markdown-body h1 {
|
|
|
font-size: 2em;
|
|
|
margin: 0.67em 0;
|
|
|
}
|
|
|
|
|
|
.markdown-body img {
|
|
|
border: 0;
|
|
|
}
|
|
|
|
|
|
.markdown-body hr {
|
|
|
-moz-box-sizing: content-box;
|
|
|
box-sizing: content-box;
|
|
|
height: 0;
|
|
|
}
|
|
|
|
|
|
.markdown-body pre {
|
|
|
overflow: auto;
|
|
|
}
|
|
|
|
|
|
.markdown-body code,
|
|
|
.markdown-body kbd,
|
|
|
.markdown-body pre {
|
|
|
font-family: "Meiryo UI", "YaHei Consolas Hybrid", Consolas, "Malgun Gothic", "Segoe UI", "Trebuchet MS", Helvetica, monospace, monospace;
|
|
|
font-size: 1em;
|
|
|
}
|
|
|
|
|
|
.markdown-body input {
|
|
|
color: inherit;
|
|
|
font: inherit;
|
|
|
margin: 0;
|
|
|
}
|
|
|
|
|
|
.markdown-body html input[disabled] {
|
|
|
cursor: default;
|
|
|
}
|
|
|
|
|
|
.markdown-body input {
|
|
|
line-height: normal;
|
|
|
}
|
|
|
|
|
|
.markdown-body input[type="checkbox"] {
|
|
|
-moz-box-sizing: border-box;
|
|
|
box-sizing: border-box;
|
|
|
padding: 0;
|
|
|
}
|
|
|
|
|
|
.markdown-body table {
|
|
|
border-collapse: collapse;
|
|
|
border-spacing: 0;
|
|
|
}
|
|
|
|
|
|
.markdown-body td,
|
|
|
.markdown-body th {
|
|
|
padding: 0;
|
|
|
}
|
|
|
|
|
|
.markdown-body * {
|
|
|
-moz-box-sizing: border-box;
|
|
|
box-sizing: border-box;
|
|
|
}
|
|
|
|
|
|
.markdown-body input {
|
|
|
font: 13px/1.4 Helvetica, arial, freesans, clean, sans-serif, "Segoe UI Emoji", "Segoe UI Symbol";
|
|
|
}
|
|
|
|
|
|
.markdown-body a {
|
|
|
color: #4183c4;
|
|
|
text-decoration: none;
|
|
|
}
|
|
|
|
|
|
.markdown-body a:hover,
|
|
|
.markdown-body a:active {
|
|
|
text-decoration: underline;
|
|
|
}
|
|
|
|
|
|
.markdown-body hr {
|
|
|
height: 0;
|
|
|
margin: 15px 0;
|
|
|
overflow: hidden;
|
|
|
background: transparent;
|
|
|
border: 0;
|
|
|
border-bottom: 1px solid #ddd;
|
|
|
}
|
|
|
|
|
|
.markdown-body hr:before {
|
|
|
display: table;
|
|
|
content: "";
|
|
|
}
|
|
|
|
|
|
.markdown-body hr:after {
|
|
|
display: table;
|
|
|
clear: both;
|
|
|
content: "";
|
|
|
}
|
|
|
|
|
|
.markdown-body h1,
|
|
|
.markdown-body h2,
|
|
|
.markdown-body h3,
|
|
|
.markdown-body h4,
|
|
|
.markdown-body h5,
|
|
|
.markdown-body h6 {
|
|
|
margin-top: 15px;
|
|
|
margin-bottom: 15px;
|
|
|
line-height: 1.1;
|
|
|
}
|
|
|
|
|
|
.markdown-body h1 {
|
|
|
font-size: 30px;
|
|
|
}
|
|
|
|
|
|
.markdown-body h2 {
|
|
|
font-size: 21px;
|
|
|
}
|
|
|
|
|
|
.markdown-body h3 {
|
|
|
font-size: 16px;
|
|
|
}
|
|
|
|
|
|
.markdown-body h4 {
|
|
|
font-size: 14px;
|
|
|
}
|
|
|
|
|
|
.markdown-body h5 {
|
|
|
font-size: 12px;
|
|
|
}
|
|
|
|
|
|
.markdown-body h6 {
|
|
|
font-size: 11px;
|
|
|
}
|
|
|
|
|
|
.markdown-body blockquote {
|
|
|
margin: 0;
|
|
|
}
|
|
|
|
|
|
.markdown-body ul,
|
|
|
.markdown-body ol {
|
|
|
padding: 0;
|
|
|
margin-top: 0;
|
|
|
margin-bottom: 0;
|
|
|
}
|
|
|
|
|
|
ul.linenums,
|
|
|
ol.linenums {
|
|
|
padding: 16px 0 0 56px !important;
|
|
|
}
|
|
|
|
|
|
.markdown-body ul,
|
|
|
.markdown-body ol {
|
|
|
padding-left: 2em;
|
|
|
}
|
|
|
|
|
|
|
|
|
.markdown-body ol ol,
|
|
|
.markdown-body ul ol {
|
|
|
list-style-type: lower-roman;
|
|
|
}
|
|
|
|
|
|
.markdown-body ul ul ol,
|
|
|
.markdown-body ul ol ol,
|
|
|
.markdown-body ol ul ol,
|
|
|
.markdown-body ol ol ol {
|
|
|
list-style-type: lower-alpha;
|
|
|
}
|
|
|
|
|
|
.markdown-body dd {
|
|
|
margin-left: 0;
|
|
|
}
|
|
|
|
|
|
.markdown-body code {
|
|
|
font-family: Consolas, "Liberation Mono", Menlo, Courier, monospace;
|
|
|
font-size: 12px;
|
|
|
}
|
|
|
|
|
|
.markdown-body pre {
|
|
|
margin-top: 0;
|
|
|
margin-bottom: 0;
|
|
|
font: 12px Consolas, "Liberation Mono", Menlo, Courier, monospace;
|
|
|
}
|
|
|
|
|
|
.markdown-body .octicon {
|
|
|
font: normal normal 16px octicons-anchor;
|
|
|
line-height: 1;
|
|
|
display: inline-block;
|
|
|
text-decoration: none;
|
|
|
-webkit-font-smoothing: antialiased;
|
|
|
-moz-osx-font-smoothing: grayscale;
|
|
|
-webkit-user-select: none;
|
|
|
-moz-user-select: none;
|
|
|
-ms-user-select: none;
|
|
|
user-select: none;
|
|
|
}
|
|
|
|
|
|
.markdown-body .octicon-link:before {
|
|
|
content: '\f05c';
|
|
|
}
|
|
|
|
|
|
.markdown-body>*:first-child {
|
|
|
margin-top: 0 !important;
|
|
|
}
|
|
|
|
|
|
.markdown-body>*:last-child {
|
|
|
margin-bottom: 0 !important;
|
|
|
}
|
|
|
|
|
|
.markdown-body .anchor {
|
|
|
position: absolute;
|
|
|
top: 0;
|
|
|
left: 0;
|
|
|
display: block;
|
|
|
padding-right: 6px;
|
|
|
padding-left: 30px;
|
|
|
margin-left: -30px;
|
|
|
}
|
|
|
|
|
|
.markdown-body .anchor:focus {
|
|
|
outline: none;
|
|
|
}
|
|
|
|
|
|
.markdown-body h1,
|
|
|
.markdown-body h2,
|
|
|
.markdown-body h3,
|
|
|
.markdown-body h4,
|
|
|
.markdown-body h5,
|
|
|
.markdown-body h6 {
|
|
|
position: relative;
|
|
|
margin-top: 1em;
|
|
|
margin-bottom: 16px;
|
|
|
font-weight: bold;
|
|
|
line-height: 1.4;
|
|
|
}
|
|
|
|
|
|
.markdown-body h1 .octicon-link,
|
|
|
.markdown-body h2 .octicon-link,
|
|
|
.markdown-body h3 .octicon-link,
|
|
|
.markdown-body h4 .octicon-link,
|
|
|
.markdown-body h5 .octicon-link,
|
|
|
.markdown-body h6 .octicon-link {
|
|
|
display: none;
|
|
|
color: #000;
|
|
|
vertical-align: middle;
|
|
|
}
|
|
|
|
|
|
.markdown-body h1:hover .anchor,
|
|
|
.markdown-body h2:hover .anchor,
|
|
|
.markdown-body h3:hover .anchor,
|
|
|
.markdown-body h4:hover .anchor,
|
|
|
.markdown-body h5:hover .anchor,
|
|
|
.markdown-body h6:hover .anchor {
|
|
|
padding-left: 8px;
|
|
|
margin-left: -30px;
|
|
|
text-decoration: none;
|
|
|
}
|
|
|
|
|
|
.markdown-body h1:hover .anchor .octicon-link,
|
|
|
.markdown-body h2:hover .anchor .octicon-link,
|
|
|
.markdown-body h3:hover .anchor .octicon-link,
|
|
|
.markdown-body h4:hover .anchor .octicon-link,
|
|
|
.markdown-body h5:hover .anchor .octicon-link,
|
|
|
.markdown-body h6:hover .anchor .octicon-link {
|
|
|
display: inline-block;
|
|
|
}
|
|
|
|
|
|
.markdown-body h1 {
|
|
|
padding-bottom: 0.3em;
|
|
|
font-size: 2.25em;
|
|
|
line-height: 1.2;
|
|
|
border-bottom: 1px solid #eee;
|
|
|
}
|
|
|
|
|
|
.markdown-body h1 .anchor {
|
|
|
line-height: 1;
|
|
|
}
|
|
|
|
|
|
.markdown-body h2 {
|
|
|
padding-bottom: 0.3em;
|
|
|
font-size: 1.75em;
|
|
|
line-height: 1.225;
|
|
|
border-bottom: 1px solid #eee;
|
|
|
}
|
|
|
|
|
|
.markdown-body h2 .anchor {
|
|
|
line-height: 1;
|
|
|
}
|
|
|
|
|
|
.markdown-body h3 {
|
|
|
font-size: 1.5em;
|
|
|
line-height: 1.43;
|
|
|
}
|
|
|
|
|
|
.markdown-body h3 .anchor {
|
|
|
line-height: 1.2;
|
|
|
}
|
|
|
|
|
|
.markdown-body h4 {
|
|
|
font-size: 1.25em;
|
|
|
}
|
|
|
|
|
|
.markdown-body h4 .anchor {
|
|
|
line-height: 1.2;
|
|
|
}
|
|
|
|
|
|
.markdown-body h5 {
|
|
|
font-size: 1em;
|
|
|
}
|
|
|
|
|
|
.markdown-body h5 .anchor {
|
|
|
line-height: 1.1;
|
|
|
}
|
|
|
|
|
|
.markdown-body h6 {
|
|
|
font-size: 1em;
|
|
|
color: #777;
|
|
|
}
|
|
|
|
|
|
.markdown-body h6 .anchor {
|
|
|
line-height: 1.1;
|
|
|
}
|
|
|
|
|
|
.markdown-body p,
|
|
|
.markdown-body blockquote,
|
|
|
.markdown-body ul,
|
|
|
.markdown-body ol,
|
|
|
.markdown-body dl,
|
|
|
.markdown-body table,
|
|
|
.markdown-body pre {
|
|
|
margin-top: 0;
|
|
|
margin-bottom: 16px;
|
|
|
}
|
|
|
|
|
|
.markdown-body ul ul,
|
|
|
.markdown-body ul ol,
|
|
|
.markdown-body ol ol,
|
|
|
.markdown-body ol ul {
|
|
|
margin-top: 0;
|
|
|
margin-bottom: 0;
|
|
|
}
|
|
|
|
|
|
.markdown-body li>p {
|
|
|
margin-top: 16px;
|
|
|
}
|
|
|
|
|
|
.markdown-body dl {
|
|
|
padding: 0;
|
|
|
}
|
|
|
|
|
|
.markdown-body dl dt {
|
|
|
padding: 0;
|
|
|
margin-top: 16px;
|
|
|
font-size: 1em;
|
|
|
font-style: italic;
|
|
|
font-weight: bold;
|
|
|
}
|
|
|
|
|
|
.markdown-body dl dd {
|
|
|
padding: 0 16px;
|
|
|
margin-bottom: 16px;
|
|
|
}
|
|
|
|
|
|
.markdown-body blockquote {
|
|
|
padding: 0 15px;
|
|
|
color: #777;
|
|
|
border-left: 4px solid #ddd;
|
|
|
}
|
|
|
|
|
|
.markdown-body blockquote> :first-child {
|
|
|
margin-top: 0;
|
|
|
}
|
|
|
|
|
|
.markdown-body blockquote> :last-child {
|
|
|
margin-bottom: 0;
|
|
|
}
|
|
|
|
|
|
.markdown-body table {
|
|
|
display: block;
|
|
|
width: 100%;
|
|
|
overflow: auto;
|
|
|
word-break: normal;
|
|
|
word-break: keep-all;
|
|
|
}
|
|
|
|
|
|
.markdown-body table th {
|
|
|
font-weight: bold;
|
|
|
text-align: revert;
|
|
|
}
|
|
|
|
|
|
.markdown-body table th,
|
|
|
.markdown-body table td {
|
|
|
padding: 6px 13px;
|
|
|
border: 1px solid #ddd;
|
|
|
}
|
|
|
|
|
|
.markdown-body table tr {
|
|
|
background-color: #fff;
|
|
|
border-top: 1px solid #ccc;
|
|
|
}
|
|
|
|
|
|
.markdown-body table tr:nth-child(2n) {
|
|
|
background-color: #f8f8f8;
|
|
|
}
|
|
|
|
|
|
.markdown-body img {
|
|
|
max-width: 100%;
|
|
|
-moz-box-sizing: border-box;
|
|
|
box-sizing: border-box;
|
|
|
}
|
|
|
|
|
|
.markdown-body code {
|
|
|
padding: 0;
|
|
|
padding-top: 0.2em;
|
|
|
padding-bottom: 0.2em;
|
|
|
margin: 0;
|
|
|
font-size: 85%;
|
|
|
background-color: rgba(0, 0, 0, 0.04);
|
|
|
border-radius: 3px;
|
|
|
}
|
|
|
|
|
|
.markdown-body code:has(.katex) {
|
|
|
background-color: transparent;
|
|
|
}
|
|
|
|
|
|
.markdown-body code:before,
|
|
|
.markdown-body code:after {
|
|
|
letter-spacing: -0.2em;
|
|
|
content: "\\00a0";
|
|
|
}
|
|
|
|
|
|
.markdown-body pre>code {
|
|
|
padding: 0;
|
|
|
margin: 0;
|
|
|
font-size: 100%;
|
|
|
word-break: normal;
|
|
|
white-space: pre;
|
|
|
background: transparent;
|
|
|
border: 0;
|
|
|
}
|
|
|
|
|
|
.markdown-body .highlight {
|
|
|
margin-bottom: 16px;
|
|
|
}
|
|
|
|
|
|
.markdown-body .highlight pre,
|
|
|
.markdown-body pre {
|
|
|
padding: 16px;
|
|
|
overflow: auto;
|
|
|
font-size: 85%;
|
|
|
line-height: 1.45;
|
|
|
background-color: #f7f7f7;
|
|
|
border-radius: 3px;
|
|
|
}
|
|
|
|
|
|
.markdown-body .highlight pre {
|
|
|
margin-bottom: 0;
|
|
|
word-break: normal;
|
|
|
}
|
|
|
|
|
|
.markdown-body pre {
|
|
|
word-wrap: normal;
|
|
|
}
|
|
|
|
|
|
.markdown-body pre code {
|
|
|
display: inline;
|
|
|
max-width: initial;
|
|
|
padding: 0;
|
|
|
margin: 0;
|
|
|
overflow: initial;
|
|
|
line-height: inherit;
|
|
|
word-wrap: normal;
|
|
|
background-color: transparent;
|
|
|
border: 0;
|
|
|
}
|
|
|
|
|
|
.markdown-body pre code:before,
|
|
|
.markdown-body pre code:after {
|
|
|
content: normal;
|
|
|
}
|
|
|
|
|
|
.markdown-body kbd {
|
|
|
display: inline-block;
|
|
|
padding: 3px 5px;
|
|
|
font-size: 11px;
|
|
|
line-height: 10px;
|
|
|
color: #555;
|
|
|
vertical-align: middle;
|
|
|
background-color: #fcfcfc;
|
|
|
border: solid 1px #ccc;
|
|
|
border-bottom-color: #bbb;
|
|
|
border-radius: 3px;
|
|
|
box-shadow: inset 0 -1px 0 #bbb;
|
|
|
}
|
|
|
|
|
|
.markdown-body .pl-c {
|
|
|
color: #969896;
|
|
|
}
|
|
|
|
|
|
.markdown-body .pl-c1,
|
|
|
.markdown-body .pl-mdh,
|
|
|
.markdown-body .pl-mm,
|
|
|
.markdown-body .pl-mp,
|
|
|
.markdown-body .pl-mr,
|
|
|
.markdown-body .pl-s1 .pl-v,
|
|
|
.markdown-body .pl-s3,
|
|
|
.markdown-body .pl-sc,
|
|
|
.markdown-body .pl-sv {
|
|
|
color: #0086b3;
|
|
|
}
|
|
|
|
|
|
.markdown-body .pl-e,
|
|
|
.markdown-body .pl-en {
|
|
|
color: #795da3;
|
|
|
}
|
|
|
|
|
|
.markdown-body .pl-s1 .pl-s2,
|
|
|
.markdown-body .pl-smi,
|
|
|
.markdown-body .pl-smp,
|
|
|
.markdown-body .pl-stj,
|
|
|
.markdown-body .pl-vo,
|
|
|
.markdown-body .pl-vpf {
|
|
|
color: #333;
|
|
|
}
|
|
|
|
|
|
.markdown-body .pl-ent {
|
|
|
color: #63a35c;
|
|
|
}
|
|
|
|
|
|
.markdown-body .pl-k,
|
|
|
.markdown-body .pl-s,
|
|
|
.markdown-body .pl-st {
|
|
|
color: #a71d5d;
|
|
|
}
|
|
|
|
|
|
.markdown-body .pl-pds,
|
|
|
.markdown-body .pl-s1,
|
|
|
.markdown-body .pl-s1 .pl-pse .pl-s2,
|
|
|
.markdown-body .pl-sr,
|
|
|
.markdown-body .pl-sr .pl-cce,
|
|
|
.markdown-body .pl-sr .pl-sra,
|
|
|
.markdown-body .pl-sr .pl-sre,
|
|
|
.markdown-body .pl-src {
|
|
|
color: #df5000;
|
|
|
}
|
|
|
|
|
|
.markdown-body .pl-mo,
|
|
|
.markdown-body .pl-v {
|
|
|
color: #1d3e81;
|
|
|
}
|
|
|
|
|
|
.markdown-body .pl-id {
|
|
|
color: #b52a1d;
|
|
|
}
|
|
|
|
|
|
.markdown-body .pl-ii {
|
|
|
background-color: #b52a1d;
|
|
|
color: #f8f8f8;
|
|
|
}
|
|
|
|
|
|
.markdown-body .pl-sr .pl-cce {
|
|
|
color: #63a35c;
|
|
|
font-weight: bold;
|
|
|
}
|
|
|
|
|
|
.markdown-body .pl-ml {
|
|
|
color: #693a17;
|
|
|
}
|
|
|
|
|
|
.markdown-body .pl-mh,
|
|
|
.markdown-body .pl-mh .pl-en,
|
|
|
.markdown-body .pl-ms {
|
|
|
color: #1d3e81;
|
|
|
font-weight: bold;
|
|
|
}
|
|
|
|
|
|
.markdown-body .pl-mq {
|
|
|
color: #008080;
|
|
|
}
|
|
|
|
|
|
.markdown-body .pl-mi {
|
|
|
color: #333;
|
|
|
font-style: italic;
|
|
|
}
|
|
|
|
|
|
.markdown-body .pl-mb {
|
|
|
color: #333;
|
|
|
font-weight: bold;
|
|
|
}
|
|
|
|
|
|
.markdown-body .pl-md,
|
|
|
.markdown-body .pl-mdhf {
|
|
|
background-color: #ffecec;
|
|
|
color: #bd2c00;
|
|
|
}
|
|
|
|
|
|
.markdown-body .pl-mdht,
|
|
|
.markdown-body .pl-mi1 {
|
|
|
background-color: #eaffea;
|
|
|
color: #55a532;
|
|
|
}
|
|
|
|
|
|
.markdown-body .pl-mdr {
|
|
|
color: #795da3;
|
|
|
font-weight: bold;
|
|
|
}
|
|
|
|
|
|
.markdown-body kbd {
|
|
|
display: inline-block;
|
|
|
padding: 3px 5px;
|
|
|
font: 11px Consolas, "Liberation Mono", Menlo, Courier, monospace;
|
|
|
line-height: 10px;
|
|
|
color: #555;
|
|
|
vertical-align: middle;
|
|
|
background-color: #fcfcfc;
|
|
|
border: solid 1px #ccc;
|
|
|
border-bottom-color: #bbb;
|
|
|
border-radius: 3px;
|
|
|
box-shadow: inset 0 -1px 0 #bbb;
|
|
|
}
|
|
|
|
|
|
.markdown-body .task-list-item {
|
|
|
list-style-type: none;
|
|
|
}
|
|
|
|
|
|
.markdown-body .task-list-item+.task-list-item {
|
|
|
margin-top: 3px;
|
|
|
}
|
|
|
|
|
|
.markdown-body .task-list-item input {
|
|
|
float: left;
|
|
|
margin: 0.3em 0 0.25em -1.6em;
|
|
|
vertical-align: middle;
|
|
|
}
|
|
|
|
|
|
.markdown-body :checked+.radio-label {
|
|
|
z-index: 1;
|
|
|
position: relative;
|
|
|
border-color: #4183c4;
|
|
|
}
|
|
|
|
|
|
|
|
|
/*! Pretty printing styles. Used with prettify.js. */
|
|
|
/* SPAN elements with the classes below are added by prettyprint. */
|
|
|
.pln {
|
|
|
color: #000
|
|
|
}
|
|
|
|
|
|
/* plain text */
|
|
|
|
|
|
@media screen {
|
|
|
.str {
|
|
|
color: #080
|
|
|
}
|
|
|
|
|
|
/* string content */
|
|
|
.kwd {
|
|
|
color: #008
|
|
|
}
|
|
|
|
|
|
/* a keyword */
|
|
|
.com {
|
|
|
color: #800
|
|
|
}
|
|
|
|
|
|
/* a comment */
|
|
|
.typ {
|
|
|
color: #606
|
|
|
}
|
|
|
|
|
|
/* a type name */
|
|
|
.lit {
|
|
|
color: #066
|
|
|
}
|
|
|
|
|
|
/* a literal value */
|
|
|
/* punctuation, lisp open bracket, lisp close bracket */
|
|
|
.pun,
|
|
|
.opn,
|
|
|
.clo {
|
|
|
color: #660
|
|
|
}
|
|
|
|
|
|
.tag {
|
|
|
color: #008
|
|
|
}
|
|
|
|
|
|
/* a markup tag name */
|
|
|
.atn {
|
|
|
color: #606
|
|
|
}
|
|
|
|
|
|
/* a markup attribute name */
|
|
|
.atv {
|
|
|
color: #080
|
|
|
}
|
|
|
|
|
|
/* a markup attribute value */
|
|
|
.dec,
|
|
|
.var {
|
|
|
color: #606
|
|
|
}
|
|
|
|
|
|
/* a declaration; a variable name */
|
|
|
.fun {
|
|
|
color: red
|
|
|
}
|
|
|
|
|
|
/* a function name */
|
|
|
}
|
|
|
|
|
|
/* Use higher contrast and text-weight for printable form. */
|
|
|
@media print,
|
|
|
projection {
|
|
|
.str {
|
|
|
color: #060
|
|
|
}
|
|
|
|
|
|
.kwd {
|
|
|
color: #006;
|
|
|
font-weight: bold
|
|
|
}
|
|
|
|
|
|
.com {
|
|
|
color: #600;
|
|
|
font-style: italic
|
|
|
}
|
|
|
|
|
|
.typ {
|
|
|
color: #404;
|
|
|
font-weight: bold
|
|
|
}
|
|
|
|
|
|
.lit {
|
|
|
color: #044
|
|
|
}
|
|
|
|
|
|
.pun,
|
|
|
.opn,
|
|
|
.clo {
|
|
|
color: #440
|
|
|
}
|
|
|
|
|
|
.tag {
|
|
|
color: #006;
|
|
|
font-weight: bold
|
|
|
}
|
|
|
|
|
|
.atn {
|
|
|
color: #404
|
|
|
}
|
|
|
|
|
|
.atv {
|
|
|
color: #060
|
|
|
}
|
|
|
}
|
|
|
|
|
|
/* Put a border around prettyprinted code snippets. */
|
|
|
pre.prettyprint {
|
|
|
padding: 2px;
|
|
|
/* border: 1px solid #888 */
|
|
|
}
|
|
|
|
|
|
/* Specify class=linenums on a pre to get line numbering */
|
|
|
ol.linenums {
|
|
|
margin-top: 0;
|
|
|
margin-bottom: 0
|
|
|
}
|
|
|
|
|
|
/* IE indents via margin-left */
|
|
|
li.L0,
|
|
|
li.L1,
|
|
|
li.L2,
|
|
|
li.L3,
|
|
|
li.L5,
|
|
|
li.L6,
|
|
|
li.L7,
|
|
|
li.L8 {
|
|
|
list-style-type: none
|
|
|
}
|
|
|
|
|
|
/* Alternate shading for lines */
|
|
|
li.L1,
|
|
|
li.L3,
|
|
|
li.L5,
|
|
|
li.L7,
|
|
|
li.L9 {
|
|
|
background: #eee
|
|
|
}
|
|
|
|
|
|
.markdown-body p,
|
|
|
.markdown-body blockquote,
|
|
|
.markdown-body ul,
|
|
|
.markdown-body ol,
|
|
|
.markdown-body dl,
|
|
|
.markdown-body table,
|
|
|
.markdown-body pre {
|
|
|
margin-top: 0;
|
|
|
margin-bottom: 16px;
|
|
|
}`;return(0,b.useEffect)(()=>{const He=Se.current.attachShadow({mode:"open"});ue.current=document.createElement("div"),ue.current.className="markdown-body",ue.current.innerHTML=Ze,He.appendChild(ue.current);const ke=document.createElement("style");return ke.textContent=gt,He.appendChild(ke),()=>{He.innerHTML=""}},[]),(0,b.useEffect)(()=>{ue.current&&(ue.current.innerHTML=Ze)},[Ze]),vt.createElement("div",{ref:Se})};function je(Ze){const Se=["onabort","onanimationend","onanimationiteration","onanimationstart","onauxclick","onblur","oncancel","oncanplay","oncanplaythrough","onchange","onclick","onclose","oncontextmenu","oncopy","oncut","ondblclick","ondrag","ondragend","ondragenter","ondragleave","ondragover","ondragstart","ondrop","ondurationchange","onemptied","onended","onerror","onfocus","onformdata","ongotpointercapture","oninput","oninvalid","onkeydown","onkeypress","onkeyup","onload","onloadeddata","onloadedmetadata","onloadstart","onlostpointercapture","onmousedown","onmousemove","onmouseout","onmouseover","onmouseup","onpaste","onpause","onplay","onplaying","onpointercancel","onpointerdown","onpointerenter","onpointerleave","onpointermove","onpointerout","onpointerover","onpointerup","onprogress","onratechange","onreset","onresize","onscroll","onsecuritypolicyviolation","onseeked","onseeking","onselect","onslotchange","onstalled","onsubmit","onsuspend","ontimeupdate","ontoggle","ontouchcancel","ontouchend","ontouchmove","ontouchstart","ontransitionend","onvolumechange","onwaiting","onwheel"],ue=new RegExp(`\\b(${Se.join("|")})\\s*=\\s*(?:"[^"]*"|'[^']*'|[^\\s>]*)`,"gi"),gt=/<meta\s+http-equiv\s*=\s*["']?refresh["']?[^>]*>/gi;return Ze.replace(ue,"").replace(gt,"").trim()}var We={mdBody:"mdBody___raKXb",button:"button___Ch5Pc",previewFlowChart:"previewFlowChart___vY1dq"},ot=Object.defineProperty,Mt=Object.getOwnPropertySymbols,Ut=Object.prototype.hasOwnProperty,se=Object.prototype.propertyIsEnumerable,Me=(Ze,Se,ue)=>Se in Ze?ot(Ze,Se,{enumerable:!0,configurable:!0,writable:!0,value:ue}):Ze[Se]=ue,st=(Ze,Se)=>{for(var ue in Se||(Se={}))Ut.call(Se,ue)&&Me(Ze,ue,Se[ue]);if(Mt)for(var ue of Mt(Se))se.call(Se,ue)&&Me(Ze,ue,Se[ue]);return Ze};const mt="@\u2581\u2581@",kt="@\u2581@",Qe=/<pre[^>]*>/g;function ut(Ze){let Se=document.createElement("div");return Se.innerHTML=Ze,Se.childNodes.length===0?"":Se.childNodes[0].nodeValue}const dt=(Ze,Se)=>{Ze=Ze||"";const ue=/(?:https?:\/\/[^\/]+)?\/api\/attachments\/([A-Za-z0-9+/=]+)(\?.*?)?\)|(?:https?:\/\/[^\/]+)?\/api\/attachments\/([A-Za-z0-9+/=]+)(\?.*?)?|(?:https?:\/\/[^\/]+)?\/attachments\/download\/([A-Za-z0-9+/=]+)(\?.*?)?\//g,gt=/\"(?:https?:\/\/[^\/]+)?\/api\/attachments\/([A-Za-z0-9+/=]+)(\?.*?)?|\"(?:https?:\/\/[^\/]+)?\/attachments\/download\/([A-Za-z0-9+/=]+)(\?.*?)?\//g,He=/\(\s+(?:https?:\/\/[^\/]+)?\/files\/uploads\/([A-Za-z0-9+/=]+)(\?.*?)?|\"(?:https?:\/\/[^\/]+)?\/files\/uploads\/([A-Za-z0-9+/=]+)(\?.*?)?\//g,ke=/(?:https?:\/\/[^\/]+)?\/attachments\/download\/([A-Za-z0-9+/=]+)(\?.*?)?\//g;return Se?Ze.replaceAll("https://www.educoder.net","").replaceAll("https://www-cdn.educoder.net","").replaceAll("//api/attachments","/api/attachments").replace(ue,(Nt,De,ve,At,Gt,Wt,pe)=>{const Re=De||At||Wt,Ue=ve||Gt||pe||"?";return xe.Z.API_SERVER+"/api/attachments/"+Re+Ue+"&t="+(0,Ae.Jn)(Re,Date.now())+(Nt.indexOf(")")>-1?")":"&")}).replaceAll('src="(','src="').replaceAll("src='(",'src="'):(Ze=Ze.replace(ke,(Nt,De,ve,At,Gt,Wt,pe)=>{const Re=De||At||Wt,Ue=ve||Gt||pe||"?";return xe.Z.API_SERVER+"/attachments/download/"+Re+Ue+"&t="+(0,Ae.Jn)(Re,Date.now())+(Nt.indexOf(")")>-1?")":"&")}).replace(ue,(Nt,De,ve,At,Gt,Wt,pe)=>{const Re=De||At||Wt,Ue=ve||Gt||pe||"?";return xe.Z.API_SERVER+"/api/attachments/"+Re+Ue+"&t="+(0,Ae.Jn)(Re,Date.now())+(Nt.indexOf(")")>-1?")":"&")}).replace(gt,(Nt,De,ve,At,Gt)=>{const Wt=De||At,pe=ve||Gt||"";return'"'+xe.Z.API_SERVER+"/api/attachments/"+Wt+pe+Wt+pe+"&t="+(0,Ae.Jn)(Wt,Date.now())}).replace(He,(Nt,De,ve,At,Gt)=>{const Wt=De||At,pe=ve||Gt||"";return"("+xe.Z.API_SERVER+"/files/uploads/"+Wt+pe+Wt+pe+"&t="+(0,Ae.Jn)(Wt,Date.now())}).replaceAll('src="(','src="').replaceAll("src='(",'src="').replaceAll("http://video.educoder","https://video.educoder").replaceAll("http://www.educoder.net/api","https://data.educoder.net/api").replaceAll("https://www.educoder.net/api","https://data.educoder.net/api").replace(/\r\n/g,`
|
|
|
`),Ze)};var Fe=({value:Ze="",edit:Se=!1,className:ue,showTextOnly:gt,showLines:He,style:ke={},stylesPrev:Nt={},highlightKeywords:De,showProgramFill:ve,isProgramFill:At,disabledFill:Gt=!1,programFillValue:Wt,openEditor:pe=()=>{},onFillChange:Re=et=>{},onFillBlur:Ue=()=>{},onFillFocus:Jt=()=>{}})=>{let et=je(String(Ze||""));const jt=(0,b.useRef)(),ct=(0,b.useRef)(),[dn,bt]=(0,b.useState)(""),[le,ne]=(0,b.useState)("office"),[te,ae]=(0,b.useState)([]),he=(0,b.useRef)("a"+(0,Ge.Z)()),re={},ce=Xt=>/<style[\s\S]*?>/i.test(Xt||""),Pe=(Xt,on,gn)=>{const ft=document.createElement(Xt===kt?"input":"textarea");ft.style.width="100%",ft.style.height=Xt===kt?"40px":"151px",ft.rows=5,ft.spellcheck=!1,ft.name="edu-program-fill",ft.placeholder="\u8BF7\u8F93\u5165",ft.dataset.id=on;const Yt=Object.keys(re).length;return re[Yt]=ft,`<span class="edu-program-fill-wrap ${Xt===kt?"":"show"}" style="width:${Xt===kt?"600px":"100%"}" title=${gn||""}><span>${ft.outerHTML}<span class="edu-program-fill-score" style="margin:0 6px"></span></span></span>`};function lt(Xt){return Xt=Xt.replace(/!\[.*?\]\(.*?\)/g,""),Xt=Xt.replace(/\[.*?\]\(.*?\)/g,""),Xt=Xt.replace(new RegExp("<iframe.*?<\\/iframe>","gs"),""),Xt=Xt.replace(/<embed.*?>/g,""),Xt=Xt.replace(/<img.*?>/g,""),Xt=Xt.replace(new RegExp("<video.*?>.*?<\\/video>","gs"),""),Xt=Xt.replace(new RegExp("<audio.*?>.*?<\\/audio>","gs"),""),Xt=Xt.replace(new RegExp("<style.*?>.*?<\\/style>","gs"),""),Xt=Xt.replace(new RegExp("<script.*?>.*?<\\/script>","gs"),""),Xt}const $e=Xt=>!gt&&ce(et)?Xt:Xt.replace(/<style.*?>([\s\S]+?)<\/style>/gim,function(on,gn){let ft=gn.replace(/(\n|\r)/g,"").split("}"),Yt=[];return ft.map(xn=>{xn!=""&&Yt.push(`.${he.current} ${xn}`)}),`<style>${Yt.join("}")}</style>`}),Ie=(0,b.useMemo)(()=>{(0,de.Iy)();try{const ft=/\(\s+\/api\/attachments\/|\(\/api\/attachments\//g,Yt=/\"\/api\/attachments\/|\"\/attachments\/download\//g,xn=/\(\s+\/files\/uploads\/|\"\/files\/uploads\//g,St=/\(\/attachments\/download\//g;et=et.replace(St,"("+xe.Z.API_SERVER+"/attachments/download/").replace(ft,"("+xe.Z.API_SERVER+"/api/attachments/").replace(Yt,'"'+xe.Z.API_SERVER+"/api/attachments/").replace(xn,'"'+xe.Z.API_SERVER+"/files/uploads/").replaceAll("http://video.educoder","https://video.educoder").replaceAll("http://www.educoder.net/api","https://data.educoder.net/api").replaceAll("https://www.educoder.net/api","https://data.educoder.net/api").replace(/\r\n/g,`
|
|
|
`),jt.current.style.display="none"}catch(ft){}if(ve){let ft=-1;return et=et.replaceAll("<","<").replaceAll(">",">").replace(/(@▁▁@|@▁@)/g,function(Yt,xn,St){var _e;return++ft,Pe(Yt,ft,(_e=Wt==null?void 0:Wt[ft])==null?void 0:_e.value.replaceAll("<","<").replaceAll(">",">"))}),`<pre style="background:#fff;padding:4px">${$e(et||"")}</pre>`}let Xt=$e(et);Xt=(0,de.ZP)(Xt);const on=(0,de.ez)();et.match(/\[TOC\]/)&&(Xt=Xt.replace("<p>[TOC]</p>",(0,de.Qv)()),(0,de.Iy)()),Xt=Xt.replace(/(__special_katext_id_\d+__)/g,(ft,Yt)=>{const{type:xn,expression:St}=on[Yt];return(0,Ve.renderToString)(ut(St)||"",{displayMode:xn==="block",throwOnError:!1,output:"html"})}),Xt=Xt.replace(/▁/g,"\u2581\u2581\u2581\u2581\u2581"),(0,de.AL)();const gn=document.createElement("div");if(gn.innerHTML=Xt,gt)return gn.innerText;if(De){const ft=De.replace(/[.*+?^${}()|[\]\\]/g,"\\$&");return Te(gn,ft),gn.innerHTML}return setTimeout(()=>Ht(),500),gn.innerHTML},[et,De]);(0,b.useEffect)(()=>{Ke.current&&Ke.current.querySelectorAll(["input","textarea"]).forEach(on=>{on.oninput=ht,on.onblur=Et,on.onfocus=Rt})},[te]),(0,b.useEffect)(()=>{var Xt,on,gn,ft,Yt;if(Wt!=null&&Wt.length)try{const xn=Ke.current.querySelectorAll(".edu-program-fill-score"),St=Ke.current.querySelectorAll('[name="edu-program-fill"]');for(const[_e,Vt]of St.entries())Vt.value=((Xt=Wt==null?void 0:Wt[_e])==null?void 0:Xt.value)||"",((on=Wt==null?void 0:Wt[_e])==null?void 0:on.type)==="warning"?Vt.className="program-fill-warning":((gn=Wt==null?void 0:Wt[_e])==null?void 0:gn.type)==="success"?Vt.className="program-fill-success":Vt.className="";for(const[_e,Vt]of xn.entries())Vt.innerHTML=(ft=Wt==null?void 0:Wt[_e])!=null&&ft.score?`${(Yt=Wt==null?void 0:Wt[_e])==null?void 0:Yt.score}\u5206`:"";ae(Wt)}catch(xn){console.log(xn,"error")}},[Wt]);const ht=Xt=>{te[Xt.target.dataset.id]=te[Xt.target.dataset.id]||{},te[Xt.target.dataset.id].value=Xt.target.value,ae([...te]),Re(te,Xt.target.dataset.id)},Et=Xt=>{te[Xt.target.dataset.id]=te[Xt.target.dataset.id]||{},te[Xt.target.dataset.id].value=Xt.target.value,ae([...te]),Ue(te,Xt.target.dataset.id)},Rt=Xt=>{te[Xt.target.dataset.id]=te[Xt.target.dataset.id]||{},te[Xt.target.dataset.id].value=Xt.target.value,ae([...te]),Jt(te,Xt.target.dataset.id)};function Te(Xt,on){return Xt.childNodes.forEach(gn=>{var ft;if(gn.childNodes.length>0)Te(gn,on);else if(gn.nodeName!=="IMG")if(gn.innerHTML)gn.innerHTML=(ft=gn.innerHTML)==null?void 0:ft.replace(new RegExp(on,"gi"),'<span style="color:#0152d9;background-color:#1890ff33">$&</span>');else{const Yt=document.createElement("span");Yt.innerHTML=gn.textContent.replace(new RegExp(on,"gi"),'<span style="color:#0152d9;background-color:#1890ff33">$&</span>'),gn.replaceWith(Yt)}})}const Ke=(0,b.useRef)();de.jb.WebkitLineClamp=He,He&&(ke=st(st({},ke),de.jb));function yn(Xt){let on=Xt.target;if(on.tagName.toUpperCase()==="A"){let gn=on.getAttribute("href");if(gn.indexOf("office")>-1)Xt.preventDefault(),bt(gn),ne("office");else if(gn.indexOf("application/pdf")>-1)Xt.preventDefault(),bt(gn),ne("pdf");else if(gn.indexOf("text/html")>-1)Xt.preventDefault(),bt(gn),ne("html");else if(gn.startsWith("#")){Xt.preventDefault();let ft=document.getElementById(gn.replace("#",""));ft&&ft.scrollIntoView(!0)}}}const Ht=()=>{var Xt;const on=(Xt=Ke.current)==null?void 0:Xt.querySelectorAll("video");on==null||on.forEach(gn=>{if(gn.oncontextmenu=()=>!1,gn.src.indexOf(".m3u8")>-1&&!gn.canPlayType("application/vnd.apple.mpegurl")){if(Oe.ZP.isSupported()){var ft=new Oe.ZP;ft.loadSource(gn.src),ft.attachMedia(gn)}}})};(0,b.useEffect)(()=>{if(Ke.current&&Ie&&Ie.match(Qe)&&window.PR.prettyPrint(),Ke.current)return Ke.current.addEventListener("click",yn),()=>{var Xt;(Xt=Ke.current)==null||Xt.removeEventListener("click",yn),(0,de.AL)(),(0,de.Iy)()}},[Ie,Ke.current,yn]);const bn=Xt=>{Xt.target.nodeName==="IMG"&&Xt.target.className.indexOf("draw-flowchart")>-1?(jt.current.style.zIndex=1,jt.current.style.display="flex",jt.current.style.width=Xt.target.clientWidth+"px",jt.current.style.height=Xt.target.clientHeight+"px",jt.current.style.top=Xt.target.offsetTop+"px",jt.current.style.left=Xt.target.offsetLeft+"px",Xt.target.id&&(ct.current=Xt.target.id)):jt.current.style.display="none"},fn=()=>{jt.current.style.display="none"};return(0,b.useEffect)(()=>{var Xt;const on=gn=>{gn.preventDefault(),gn.clipboardData.setData("text",window.getSelection().toString())};return(Xt=Ke.current)==null||Xt.addEventListener("copy",on),()=>{var gn;(gn=Ke.current)==null||gn.removeEventListener("copy",on)}},[Ke.current]),b.createElement("div",{style:{position:"relative"},onMouseLeave:fn},gt&&b.createElement("div",{ref:Ke,className:`${We.mdBody} `},Ie),!gt&&!ce(Ie)&&b.createElement("div",{ref:Ke,style:st({},ke),onMouseOver:bn,className:`${ue||""} ${Gt?"disabled-fill":""} markdown-body ${We.mdBody} ${he.current}`,dangerouslySetInnerHTML:{__html:Ie}}),!gt&&ce(Ie)&&b.createElement(tt,{html:Ie}),b.createElement("div",{ref:jt,className:`${We.button} ${Se?"":We.previewFlowChart}`},b.createElement(Be.Z,null,b.createElement(fe.ZP,{onClick:()=>{Se?pe(ct.current):(bt(ct.current),ne("flowChart"))}},Se?"\u7F16\u8F91":"\u9884\u89C8"))),b.createElement(be.Z,{close:!0,data:dn,type:dn!=null&&dn.length?le:"",style:st({},Nt),onClose:()=>bt("")}))}},27878:function(Yn,mn,z){"use strict";z.d(mn,{Z:function(){return Ve}});var b=z(59301),Ce={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"},de=z(62957),rt="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAA4AAAAPCAYAAADUFP50AAAAAXNSR0IArs4c6QAAAUFJREFUOE+V0ktKw1AUxvH/rVqIxT4wkgwEUSmK4APRBfiYCKU7cOZEBOkadAMZiwhuwJETBQciFRTtwJkPBLW2BRGrRanU9kpN2sSYiGaWc/PjuznnCN2Qh8AkPo+AzXxKLLiPhW7ICtDqB4GzQkqM/huGFZgZcDCBBDaaicsTMKbZH2xfwdY5/ICAEGSasC0AwRYblj+gKkENwfy4WS9V4LHsgsk49EZteJKHdBa6w7AybdZzr3D64ILxGKjtNrx9gfsSRBSYtf6xZh1/u+qQClrIhtdFuHmGvhisJcz65RPsZl2Jc/3QE7FhpgDHuT80x2+O9cR1K/GiCDt3rkQ/+Ns43gDFD0YVmHIuQGOOmiGTARhxwkGd1cZ7Vwd0OppWr3911StpcV++Iwn67q/kyBMuHchErcqwFxT1XZXsfQJqo2zI6kdI4QAAAABJRU5ErkJggg==",Oe="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAA4AAAAOCAYAAAAfSC3RAAAAAXNSR0IArs4c6QAAAW1JREFUOE+dkj1IQmEUht9z/blp4VQEjS39eW+oSCFCpFCI4BiKFGWWQUSrCjVVg+lQNJZQDZGNTm1B4NTibS3n2lo0wuqEN8i/a0HfeN7v+d73nO+QJEcKAJzQPAwCnSpKNtoqkyRHqgDrtUFAb6Rnedx43KgT6O5P0GQijFiNLe/Sy3/B8g+YTIRRrb5jP32JYNADr8eOldU0RJEqVlm8r1kyuA/AIEB10OWy4vBgA4ryCIdjCJlMDmfn1zAY6EmyGY/UrAwrgGATWKsn4mGEQl4Uiw+YX9hT73aZiEcl8eMbZAGA0AT6/ZPY3Ykiny/A55tA7uoGqdQFBD2VbDbDugoSTTEj3gTGYgG8Vt7UeG63hNkZJ7a2s+gw1XqPnf5REKhkt4kxNakO08ycbOtRC/7FcakCwNTJ0WwmDI+1LUCZZDkSYGa5Eewf0G0KAnprNYtFQHdPbZhNS1cmLafF5bUTJsyBSVMHPm+/ADTrfrtCH68WAAAAAElFTkSuQmCC",xe=(Be,fe,Ge)=>new Promise((be,vt)=>{var Je=We=>{try{je(Ge.next(We))}catch(ot){vt(ot)}},tt=We=>{try{je(Ge.throw(We))}catch(ot){vt(ot)}},je=We=>We.done?be(We.value):Promise.resolve(We.value).then(Je,tt);je((Ge=Ge.apply(Be,fe)).next())}),Ve=({type:Be,resdata:fe,onok:Ge,oktext:be,okloading:vt})=>{const[Je,tt]=(0,b.useState)(!1),{can_copy_list:je,can_copy_num:We,challenge_type:ot,course_data_list:Mt,no_copy_list:Ut,no_copy_num:se,no_use_list:Me,no_use_num:st,repeat_shixun_num:mt,student_count:kt,total_num:Qe,use_num:ut}=fe;let dt=We>0||Be==="exercise";(0,b.useEffect)(()=>{(fe==null?void 0:fe.student_count)>0&&tt(!0)},[fe]),console.log("---11",vt),(0,b.useEffect)(()=>{vt||tt(!1)},[vt]);const Fe=()=>{if(Be==="exercise"&&ot===1)return b.createElement(b.Fragment,null,"\u8BFE\u5802\u5185\u6709",b.createElement("span",{className:Ce.orangeColor},kt),"\u540D\u5B66\u751F\u5DF2\u5728\u5176\u4ED6\u8003\u8BD5\u4E2D\u6311\u6218\u8FC7\u5176\u4E2D\u7684",b.createElement("span",{className:Ce.orangeColor},ut),"\u4E2A\u5B9E\u8DF5\u9879\u76EE\uFF0C",b.createElement("span",{className:Ce.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(Be==="exercise"&&ot===2)return b.createElement(b.Fragment,null,"\u8BFE\u5802\u5185\u6709",b.createElement("span",{className:Ce.orangeColor},kt),"\u540D\u5B66\u751F\u5DF2\u5728\u8BFE\u5802\u5B9E\u9A8C\u4E2D\u6311\u6218\u8FC7\u5176\u4E2D\u7684",b.createElement("span",{className:Ce.orangeColor},ut),"\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",b.createElement("span",{className:Ce.redColor},"\u91CD\u590D\u53D1\u5E03\u4F1A\u5BFC\u81F4\u8FD9\u90E8\u5206\u5B66\u751F\u65E0\u6CD5\u518D\u63D0\u4EA4\u4F5C\u4E1A\u3002"));if(Be==="shixun"&&ot===1)return b.createElement(b.Fragment,null,"\u8BFE\u5802\u5185\u6709",b.createElement("span",{className:Ce.orangeColor},kt),"\u540D\u5B66\u751F\u5DF2\u5728\u8003\u8BD5\u4E2D\u6311\u6218\u8FC7\u8BE5\u5B9E\u8DF5\u9879\u76EE\uFF0C",b.createElement("span",{className:Ce.redColor},"\u91CD\u590D\u53D1\u9001\u4F1A\u5BFC\u81F4\u8FD9\u90E8\u5206\u5B66\u751F\u65E0\u6CD5\u518D\u63D0\u4EA4\u4F5C\u4E1A\u3002"));if(Be==="shixun"&&ot===2)return b.createElement(b.Fragment,null,"\u8BFE\u5802\u5185\u6709",b.createElement("span",{className:Ce.orangeColor},kt),"\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",b.createElement("span",{className:Ce.redColor},"\u91CD\u590D\u53D1\u9001\u4F1A\u5BFC\u81F4\u8FD9\u90E8\u5206\u5B66\u751F\u65E0\u6CD5\u518D\u63D0\u4EA4\u4F5C\u4E1A\u3002"));if(Be==="subject"&&ot===1)return b.createElement(b.Fragment,null,"\u8BFE\u5802\u5185\u6709",b.createElement("span",{className:Ce.orangeColor},kt),"\u540D\u5B66\u751F\u5DF2\u5728\u8003\u8BD5\u4E2D\u6311\u6218\u8FC7\u5176\u4E2D\u7684",b.createElement("span",{className:Ce.orangeColor},ut),"\u4E2A\u5B9E\u8DF5\u9879\u76EE\uFF0C",b.createElement("span",{className:Ce.redColor},"\u91CD\u590D\u53D1\u9001\u4F1A\u5BFC\u81F4\u8FD9\u90E8\u5206\u5B66\u751F\u65E0\u6CD5\u518D\u63D0\u4EA4\u4F5C\u4E1A\u3002"));if(Be==="subject"&&ot===2)return b.createElement(b.Fragment,null,"\u8BFE\u5802\u5185\u6709 ",b.createElement("span",{className:Ce.orangeColor},kt)," \u540D\u5B66\u751F\u5DF2\u5728\u8BFE\u5802\u5B9E\u9A8C\u6311\u6218\u8FC7\u5176\u4E2D\u7684 ",b.createElement("span",{className:Ce.orangeColor},ut)," \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",b.createElement("span",{className:Ce.redColor},"\u91CD\u590D\u53D1\u9001\u4F1A\u5BFC\u81F4\u8FD9\u90E8\u5206\u5B66\u751F\u65E0\u6CD5\u518D\u63D0\u4EA4\u4F5C\u4E1A\u3002"));if(Be==="exercisepush")return b.createElement(b.Fragment,null,"\u8BFE\u5802\u5185\u6709",b.createElement("span",{className:Ce.orangeColor},kt),"\u540D\u5B66\u751F\u5DF2\u5728\u5176\u4ED6\u8003\u8BD5\u4E2D\u6311\u6218\u8FC7\u8BD5\u5377\u4E2D\u7684",b.createElement("span",{className:Ce.orangeColor},ut),"\u4E2A\u5B9E\u8DF5\u9879\u76EE \uFF0C",b.createElement("span",{className:Ce.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(Be==="shixunpush"&&ot===1)return b.createElement(b.Fragment,null,"\u8BFE\u5802\u5185\u6709",b.createElement("span",{className:Ce.orangeColor},kt),"\u540D\u5B66\u751F\u5DF2\u5728\u8003\u8BD5\u4E2D\u6311\u6218\u8FC7\u5176\u4E2D\u7684",b.createElement("span",{className:Ce.orangeColor},ut),"\u4E2A\u5B9E\u8DF5\u9879\u76EE\uFF0C",b.createElement("span",{className:Ce.redColor},"\u91CD\u590D\u53D1\u5E03\u4F1A\u5BFC\u81F4\u8FD9\u90E8\u5206\u5B66\u751F\u65E0\u6CD5\u518D\u63D0\u4EA4\u4F5C\u4E1A\u3002"));if(Be==="shixunpush"&&ot===2)return b.createElement(b.Fragment,null,"\u8BFE\u5802\u5185\u6709",b.createElement("span",{className:Ce.orangeColor},kt),"\u540D\u5B66\u751F\u5DF2\u5728\u8BFE\u5802\u5B9E\u9A8C\u4E2D\u6311\u6218\u8FC7",b.createElement("span",{className:Ce.orangeColor},ut),"\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",b.createElement("span",{className:Ce.redColor},"\u91CD\u590D\u53D1\u5E03\u4F1A\u5BFC\u81F4\u8FD9\u90E8\u5206\u5B66\u751F\u65E0\u6CD5\u518D\u63D0\u4EA4\u4F5C\u4E1A\u3002"))},Ze=()=>{if(Be==="exercise"||Be==="subject"||Be==="exercisepush"||Be==="shixunpush")return b.createElement("div",{style:{marginTop:20}},se>0&&b.createElement("div",null,b.createElement("span",{className:Ce.flex},b.createElement("img",{src:Oe,style:{width:14}}),b.createElement("span",{className:Ce.statustitle},"\u4E0D\u652F\u6301\u590D\u5236\u7684\u5B9E\u8DF5\u9879\u76EE")),b.createElement("div",{className:Ce.statusbody},Be==="exercise"&&b.createElement("div",{style:{marginBottom:15}},"\u6CA1\u6709\u590D\u5236\u6743\u9650\u7684\u5B9E\u8DF5\u9879\u76EE\uFF0C",b.createElement("span",{className:Ce.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"),(Be==="subject"||Be==="exercisepush")&&b.createElement("div",{style:{marginBottom:15}},"\u6CA1\u6709\u590D\u5236\u6743\u9650\u7684\u5B9E\u8DF5\u9879\u76EE\uFF0C",dt&&b.createElement("span",{className:Ce.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"),Be==="shixunpush"&&b.createElement("div",{style:{marginBottom:15}},"\u6CA1\u6709\u590D\u5236\u6743\u9650\u7684\u5B9E\u8DF5\u9879\u76EE\uFF0C",dt&&b.createElement("span",{className:Ce.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"),b.createElement("div",null,Ut==null?void 0:Ut.map((Se,ue)=>b.createElement("a",{href:`/shixuns/${Se.identifier}/challenges`,target:"_blank"},"\u300A",Se==null?void 0:Se.name,"\u300B",ue+1!==se&&"\u3001"))))),We>0&&b.createElement("div",{style:{marginTop:20}},b.createElement("span",{className:Ce.flex},b.createElement("img",{src:rt,style:{width:14}}),b.createElement("span",{className:Ce.statustitle},"\u652F\u6301\u590D\u5236\u7684\u5B9E\u8DF5\u9879\u76EE")),b.createElement("div",{className:Ce.statusbody},Be==="exercise"&&b.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"),(Be==="subject"||Be==="exercisepush")&&b.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"),Be==="shixunpush"&&b.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"),b.createElement("div",null,je==null?void 0:je.map((Se,ue)=>b.createElement("a",{href:`/shixuns/${Se.identifier}/challenges`,target:"_blank"},"\u300A",Se==null?void 0:Se.name,"\u300B",ue+1!==We&&"\u3001"))))));if(Be==="shixun")return b.createElement("div",{style:{marginTop:20}},We>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 b.createElement(de.default,{open:Je,onCancel:()=>{tt(!1)},cancelText:"\u53D6\u6D88",title:"\u63D0\u793A",width:700,centered:!0,cancelButtonProps:{style:{display:!dt&&"none"}},zIndex:1003,confirmLoading:vt,okText:dt?be:"\u6211\u77E5\u9053\u4E86",onOk:()=>xe(void 0,null,function*(){dt?yield Ge([...je,...Me]):tt(!1)})},b.createElement("div",{style:{maxHeight:600,overflow:"auto"}},Fe(),Ze()))}},28267:function(Yn,mn,z){"use strict";z.d(mn,{h:function(){return se}});var b=z(59301),Ce=z(82326),de=z(28284),rt=z(7939),Oe=z(89780),xe=z.n(Oe),Ae=z(88319),Ve=z(94896),Be=Object.defineProperty,fe=Object.defineProperties,Ge=Object.getOwnPropertyDescriptors,be=Object.getOwnPropertySymbols,vt=Object.prototype.hasOwnProperty,Je=Object.prototype.propertyIsEnumerable,tt=(Me,st,mt)=>st in Me?Be(Me,st,{enumerable:!0,configurable:!0,writable:!0,value:mt}):Me[st]=mt,je=(Me,st)=>{for(var mt in st||(st={}))vt.call(st,mt)&&tt(Me,mt,st[mt]);if(be)for(var mt of be(st))Je.call(st,mt)&&tt(Me,mt,st[mt]);return Me},We=(Me,st)=>fe(Me,Ge(st));const ot=Ce.default.Option,Mt={labelCol:{span:4},wrapperCol:{span:20}},Ut={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"]};mn.Z=({callback:Me,onCancel:st})=>{const[mt,kt]=(0,b.useState)("python");function Qe(dt){kt(Ut[dt][1])}function ut(dt){Me(dt)}return b.createElement(de.default,We(je({},Mt),{className:"code-block-panel",initialValues:{language:"python",content:""},onFinish:ut,style:{width:500}}),b.createElement(de.default.Item,{label:"\u4EE3\u7801\u8BED\u8A00",name:"language"},b.createElement(Ce.default,{getPopupContainer:dt=>dt.parentNode,onChange:Qe},Object.keys(Ut).map(dt=>b.createElement(ot,{key:dt,value:dt},Ut[dt][0])))),b.createElement(de.default.Item,{label:"\u4EE3\u7801\u5185\u5BB9",name:"content",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u4EE3\u7801\u5185\u5BB9"}]},b.createElement(se,{mode:mt})),b.createElement("div",{className:"flex-container flex-end"},b.createElement(rt.ZP,{type:"primary",htmlType:"submit",style:{marginRight:10}},"\u786E\u5B9A"),b.createElement(rt.ZP,{type:"ghost",onClick:st},"\u53D6\u6D88")))};function se({value:Me,onChange:st,mode:mt,options:kt={}}){const Qe=(0,b.useRef)(),[ut,dt]=(0,b.useState)();return(0,b.useEffect)(()=>{if(ut){let Fe=function(Ze){const Se=Ze.getValue();st&&st(Se)};return ut.on("change",Fe),()=>{ut.off("change",Fe)}}},[ut,st]),(0,b.useEffect)(()=>{ut&&ut.setOption("mode",mt)},[ut,mt]),(0,b.useEffect)(()=>{ut&&(Me!==ut.getValue()||Me==="")&&setTimeout(()=>{ut.setValue(Me||"")},300)},[ut,Me]),(0,b.useEffect)(()=>{if(Qe.current&&!ut){const Fe=xe().fromTextArea(Qe.current,je({mode:mt,lineNumbers:!0,lineWrapping:!0,autoCloseBrackets:!0,tabSize:4,autofocus:!0,autoCloseTags:!0,matchBrackets:!0,styleActiveLine:!0},kt));dt(Fe)}},[Qe.current,ut]),b.createElement("div",{className:"my-codemirror-container"},b.createElement("textarea",{ref:Qe}))}},39116:function(Yn,mn,z){"use strict";z.d(mn,{Z:function(){return wn}});var b=z(59301),Ce=z(44283),de=z(89780),rt=z.n(de),Oe=z(76374),xe=z(88319),Ae=z(6313),Ve=z(25717),Be=z(99498),fe=z(25419),Ge=z(67549),be=z(35883),vt=({value:vn="",className:Rn,showTextOnly:Bt,showLines:ln,style:Zt={}})=>{const pn=(0,b.useMemo)(()=>"",[vn]);return b.createElement(b.Fragment,null,b.createElement("div",{dangerouslySetInnerHTML:{__html:pn}}))},Je=Object.defineProperty,tt=Object.defineProperties,je=Object.getOwnPropertyDescriptors,We=Object.getOwnPropertySymbols,ot=Object.prototype.hasOwnProperty,Mt=Object.prototype.propertyIsEnumerable,Ut=(vn,Rn,Bt)=>Rn in vn?Je(vn,Rn,{enumerable:!0,configurable:!0,writable:!0,value:Bt}):vn[Rn]=Bt,se=(vn,Rn)=>{for(var Bt in Rn||(Rn={}))ot.call(Rn,Bt)&&Ut(vn,Bt,Rn[Bt]);if(We)for(var Bt of We(Rn))Mt.call(Rn,Bt)&&Ut(vn,Bt,Rn[Bt]);return vn},Me=(vn,Rn)=>tt(vn,je(Rn));let st=[{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\u516C\u5F0F",icon:"iconfont icon-shuxuetuxiang2",actionName:"maths-latex"},{title:"\u591A\u884C\u516C\u5F0F",icon:"md-iconfont icon-formula",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 mt({onActionCallback:vn,title:Rn,icon:Bt,actionName:ln,className:Zt="",children:pn}){function cn(){vn(ln)}return b.createElement("a",{title:Rn,className:Zt,onClick:cn},b.createElement("i",{className:`${Bt}`}),pn)}var kt=({watch:vn,showNullButton:Rn,showNullProgramButton:Bt,onActionCallback:ln,fullScreen:Zt,insertTemp:pn,hidetoolBar:cn,extraUse:zn})=>{const Ln=[...st,{title:`${vn?"\u5173\u95ED\u5B9E\u65F6\u9884\u89C8":"\u5F00\u542F\u5B9E\u65F6\u9884\u89C8"}`,icon:`${vn?"md-iconfont icon-eye-slash":"md-iconfont icon-eye"}`,actionName:"trigger-watch"}];return b.createElement("ul",{className:"markdown-toolbar-container"},!cn&&Ln.map((rr,_n)=>b.createElement("li",{key:_n},rr.actionName?b.createElement(mt,Me(se({},rr),{onActionCallback:ln})):b.createElement("span",{className:"v-line"}))),Rn?b.createElement("li",null,b.createElement(mt,{icon:"iconfont icon-tianjia5 insert-blank",className:"btn-null ml5",title:"\u589E\u52A0\u586B\u7A7A",actionName:"add-null-ch",onActionCallback:ln},b.createElement("span",{className:"fill-tip"},"\u70B9\u51FB\u65B0\u589E\u586B\u7A7A\u9879"))):null,Bt?b.createElement(b.Fragment,null,b.createElement("li",null,b.createElement(mt,{icon:"md-iconfont icon-edit insert-blank",className:"btn-null",title:"\u589E\u52A0\u586B\u7A7A",actionName:"add-signal",onActionCallback:ln},b.createElement("span",{className:"fill-tip"},"\u6DFB\u52A0\u5355\u884C\u586B\u7A7A\u9879"))),b.createElement("li",null,b.createElement(mt,{icon:"md-iconfont icon-uniE900 insert-blank",className:"btn-null",title:"\u589E\u52A0\u586B\u7A7A",actionName:"add-multiple",onActionCallback:ln},b.createElement("span",{className:"fill-tip"},"\u6DFB\u52A0\u591A\u884C\u586B\u7A7A\u9879")))):null,pn&&b.createElement("li",null,b.createElement(mt,{icon:"md-iconfont icon-edit",className:"btn-null",title:"\u63D2\u5165\u6A21\u677F",actionName:`inster-template-${pn}`,onActionCallback:ln},b.createElement("span",{className:"fill-tip"},"\u63D2\u5165\u6A21\u677F"))),zn&&b.createElement("li",null,zn),b.createElement("li",{className:"btn-full-screen"},b.createElement(mt,{icon:`${Zt?"md-iconfont icon-shrink":"md-iconfont icon-enlarge"}`,title:Zt?"\u5173\u95ED\u5168\u5C4F":"\u5F00\u542F\u5168\u5C4F",actionName:"trigger-full-screen",onActionCallback:ln})))},Qe=z(88487),ut=z(28284),dt=z(37568),Fe=z(7939),Ze=Object.defineProperty,Se=Object.defineProperties,ue=Object.getOwnPropertyDescriptors,gt=Object.getOwnPropertySymbols,He=Object.prototype.hasOwnProperty,ke=Object.prototype.propertyIsEnumerable,Nt=(vn,Rn,Bt)=>Rn in vn?Ze(vn,Rn,{enumerable:!0,configurable:!0,writable:!0,value:Bt}):vn[Rn]=Bt,De=(vn,Rn)=>{for(var Bt in Rn||(Rn={}))He.call(Rn,Bt)&&Nt(vn,Bt,Rn[Bt]);if(gt)for(var Bt of gt(Rn))ke.call(Rn,Bt)&&Nt(vn,Bt,Rn[Bt]);return vn},ve=(vn,Rn)=>Se(vn,ue(Rn));const At={labelCol:{span:4},wrapperCol:{span:20}};var Gt=({callback:vn,onCancel:Rn})=>{function Bt(ln){vn(ln)}return b.createElement(ut.default,ve(De({},At),{initialValues:{link:"http://",title:""},className:"link-panel",onFinish:Bt,style:{width:500}}),b.createElement(ut.default.Item,{label:"\u94FE\u63A5\u5730\u5740",name:"link",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u94FE\u63A5\u5730\u5740"}]},b.createElement(dt.default,null)),b.createElement(ut.default.Item,{label:"\u94FE\u63A5\u6807\u9898",name:"title",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u94FE\u63A5\u6807\u9898"}]},b.createElement(dt.default,null)),b.createElement("div",{className:"flex-container flex-end"},b.createElement(Fe.ZP,{type:"primary",htmlType:"submit",style:{marginRight:10}},"\u786E\u5B9A"),b.createElement(Fe.ZP,{type:"ghost",onClick:Rn},"\u53D6\u6D88")))},Wt=z(28267),pe=z(53332),Re=z(62957),Ue=z(77019),Jt=z(40254),et=z(59301),jt=({callback:vn,onCancel:Rn})=>{const Bt=document.createElement("canvas"),ln=Bt.getContext("2d");Bt.width=1e3,Bt.height=800,ln.fillStyle="#ffffff",ln.fillRect(0,0,Bt.width,Bt.height);const Zt=Bt.toDataURL("image/png");return et.createElement(Re.default,{open:!0,width:"100vw",style:{height:"100vh",top:0},footer:null,title:null,closable:!1},et.createElement(Ue.Z,{style:{height:"100vh"}},et.createElement(Jt.Z,{fullWidth:!0,noAssociationId:!0,showFullTools:!0,data:{src:Zt,visible:!0,title:String(Date.now())},onOk:pn=>{vn({src:pn.url})},onClose:Rn})))},ct=z(36207),dn=z(5269),bt=z(6767),le={myPaletteDiv:"myPaletteDiv___Xjz2I",flowChartWrp:"flowChartWrp____f45r",maxH60:"maxH60___Pd4Re",drawerWrap:"drawerWrap___MfDw8"},ne=z(59301),ae=(0,b.forwardRef)(({onCancel:vn,editImgId:Rn,callback:Bt},ln)=>{let Zt=(0,b.useRef)(),pn=(0,b.useRef)(),cn=(0,b.useRef)(),zn=(0,b.useRef)(!1);const Ln=(0,b.useRef)(!1);console.log("ref:",ln);const[rr,_n]=(0,b.useState)(0),[rn,Fn]=(0,b.useState)("100vh");return(0,b.useEffect)(()=>{_n(1)},[]),(0,b.useImperativeHandle)(ln,()=>({setHeight:Fn})),ne.createElement("div",{ref:Ln,className:"body-overflow-initial"},ne.createElement(ct.Z,{width:"100vw",height:rn,footer:null,closable:!0,placement:"bottom",open:!!rr,destroyOnClose:!0,maskClosable:!1,mask:!1,rootClassName:`zIndex-9999 ${le.drawerWrap}`,onClose:()=>{window.saveDrawData(nn=>{Bt({src:`/api/attachments/${nn}`,id:nn})})},title:ne.createElement(Ue.Z,{align:"middle"},ne.createElement(dn.Z,{flex:1},"\u63D2\u5165\u6D41\u7A0B\u56FE"),ne.createElement(dn.Z,{onClick:()=>{Fn(rn==="60px"?"100vh":"60px")}},ne.createElement("span",{className:"current c-blue",style:{fontWeight:400}},"\u5C55\u5F00/\u6536\u8D77")),ne.createElement(dn.Z,{onClick:()=>{window.saveDrawData(nn=>{if(nn===null){bt.ZP.warning({content:"\u5185\u5BB9\u4E3A\u7A7A\uFF0C\u8BF7\u5148\u7ED8\u5236\u6D41\u7A0B\u56FE",key:"saveFlowChart"});return}bt.ZP.success({content:"\u4FDD\u5B58\u6210\u529F",key:"saveFlowChart",style:{zIndex:999999999}}),Bt({src:`/api/attachments/${nn}`,id:nn,disabledClose:!0})})}},ne.createElement(Fe.ZP,{type:"primary",className:"ml20"},"\u4FDD\u5B58")))},ne.createElement("iframe",{src:`/drawio/src/main/webapp/?id=${Rn||""}&gapi=0&od=0&db=0&gh=0&gl=0&local=0`,width:"100%",height:"100%",frameBorder:"0",ref:pn})))}),he=z(14185),re=z(47889),ce=z(4875);const Pe=re.ZP.Group,lt={margin:"0 8px"};var $e=({callback:vn,onCancel:Rn})=>{function Bt(ln){vn(ln)}return b.createElement(ut.default,{className:"add-table-panel",initialValues:{row:3,col:2,align:"default"},onFinish:Bt},b.createElement("div",{className:"flex-container",style:{alignItems:"baseline"}},b.createElement("span",{style:lt},"\u5355\u5143\u683C\u6570\uFF1A"),b.createElement("span",{style:lt},"\u884C\u6570"),b.createElement(ut.default.Item,{name:"row",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u884C\u6570"}]},b.createElement(ce.Z,null)),b.createElement("span",{style:lt},"\u5217\u6570"),b.createElement(ut.default.Item,{name:"col",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u5217\u6570"}]},b.createElement(ce.Z,null))),b.createElement("div",{className:"flex-container",style:{marginTop:12,alignItems:"baseline"}},b.createElement("span",{style:lt},"\u5BF9\u9F50\u65B9\u5F0F\uFF1A"),b.createElement(ut.default.Item,{name:"align"},b.createElement(Pe,null,b.createElement(re.ZP,{value:"default"},b.createElement("i",{className:"fa fa-align-justify"})),b.createElement(re.ZP,{value:"left"},b.createElement("i",{className:"fa fa-align-left"})),b.createElement(re.ZP,{value:"center"},b.createElement("i",{className:"fa fa-align-center"})),b.createElement(re.ZP,{value:"right"},b.createElement("i",{className:"fa fa-align-right"}))))),b.createElement("div",{className:"flex-container flex-end"},b.createElement(Fe.ZP,{type:"primary",htmlType:"submit",style:{marginRight:10}},"\u786E\u5B9A"),b.createElement(Fe.ZP,{type:"ghost",onClick:Rn},"\u53D6\u6D88")))},Ie=z(58755),ht=z(84915),Et=z.n(ht),Te=(0,b.forwardRef)(({use3d:vn,width:Rn,height:Bt,callback:ln,showSaveButton:Zt},pn)=>{const cn=(0,b.useRef)(),zn=(0,b.useRef)(),[Ln,rr]=(0,b.useState)(!1),_n=(0,b.useRef)({id:cn,appName:"graphing",width:Rn||1e3,height:Bt||600,showToolBar:!0,showMenuBar:!0,allowStyleBar:!0,showAlgebraInput:!0,enableLabelDrags:!1,enableShiftDragZoom:!0,showToolBarHelp:!1,errorDialogsActive:!0,showTutorialLink:!0,showLogging:!0,useBrowserForJS:!1});(0,b.useEffect)(()=>{zn.current=new(Et())(_n.current,!0),window.onload=function(){zn.current.inject("applet_container")}},[]);const rn=()=>{var Fn=window.ggbApplet.getPNGBase64(1,!0,72);return ln&&ln(Fn),Fn};return(0,b.useEffect)(()=>{_n.current.appName=Ln?"3D":"graphing",zn.current.inject("applet_container")},[Ln]),(0,b.useEffect)(()=>{rr(vn)},[vn]),(0,b.useImperativeHandle)(pn,()=>({getImgData:rn})),b.createElement(b.Fragment,null,b.createElement("div",{style:{width:"100%",height:"100%"},id:"applet_container",ref:cn}),b.createElement(Ue.Z,{align:"middle"},b.createElement(dn.Z,{flex:1},b.createElement(Ie.Z,{size:"default",checkedChildren:"\u5173\u95ED3D\u56FE\u50CF",unCheckedChildren:"\u5F00\u542F3D\u56FE\u50CF",checked:Ln,onChange:Fn=>rr(Fn)})),b.createElement(dn.Z,null,b.createElement(Fe.ZP,{size:"large",onClick:rn,style:{zIndex:8,marginTop:10},type:"primary"},"\u4FDD\u5B58\u5230\u7F16\u8F91\u5668"))))}),Ke=z(9057);const yn="link",Ht="upload-image",bn="add-flowchart",fn="draw-image",Xt="add-flowchart",on="code-block",gn="add-table",ft="------------",Yt={default:ft,left:`:${ft}`,center:`:${ft}:`,right:`${ft}:`};var xn=z(79006),St=z(76406);function _e(){}let Vt=0;const tn=1e4,un="\u2581",Tn="@\u2581\u2581@",qn="@\u2581@",mr=`
|
|
|
**\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`,vr=["pptm","pptx","ppt","pot","pps","ppa","potx","ppsx","ppam","pptm","potm","ppsm","doc","docx","dot","dotx","docm","dotm","xls","xlsx","csv","xlt","xla","xltx","xlsm","xltm","xlam","xlsb"];function Jn(vn){return/^\d+$/.test(vn)?`${vn}px`:vn}const _t=navigator.platform.toUpperCase().indexOf("MAC")>=0?"Cmd":"Ctrl",zt={[_t+"-B"]:"bold",[_t+"-I"]:"italic"},Sn={[yn]:"\u6DFB\u52A0\u94FE\u63A5",[on]:"\u6DFB\u52A0\u4EE3\u7801\u5757",[Ht]:"\u6DFB\u52A0\u56FE\u7247",[fn]:"\u6DFB\u52A0\u753B\u56FE",[bn]:"\u63D2\u5165\u6D41\u7A0B\u56FE",[gn]:"\u6DFB\u52A0\u8868\u683C","maths-latex":"\u6570\u5B66\u56FE\u50CF","inline-latex":"LATEX\u516C\u5F0F"};var wn=({defaultValue:vn="",onChange:Rn,width:Bt="100%",height:ln=400,miniToolbar:Zt=!1,isFocus:pn=!1,watch:cn,insertTemp:zn,mode:Ln="markdown",id:rr="markdown-editor-id",showResizeBar:_n=!1,noStorage:rn=!1,showNullButton:Fn=!1,showNullProgramButton:nn=!1,hidetoolBar:er=!1,fullScreen:It=!1,onBlur:Qt,onCMBeforeChange:ze,onFullScreen:yt,className:Ye="",disablePaste:Ct=!1,disabled:qt=!1,disabledFill:nr=!1,placeholder:ar="",values:pt="",extraUse:xt,onAddBlank:Pt})=>{const[Kt,In]=(0,b.useState)(null),[Zn,kn]=(0,b.useState)(vn),[Un,pr]=(0,b.useState)(cn),[Ar,Vr]=(0,b.useState)(It),[Br,fr]=(0,b.useState)(""),[Pr,kr]=(0,b.useState)(0),[Jr,Xr]=(0,b.useState)(ln),[vo,yr]=(0,b.useState)(!1),[ur,gr]=(0,b.useState)(0),[no,Kr]=(0,b.useState)(0),wr=(0,b.useRef)(),Rr=(0,b.useRef)(),mo=(0,b.useRef)(),$r=(0,b.useRef)(),qr=(0,b.useRef)(),eo=(0,b.useRef)(),ko=(0,Ce.useDispatch)();(0,b.useEffect)(()=>{const Dn=window.scrollY||window.pageYOffset;kn(pt),Kt==null||Kt.setValue(pt),window.scrollTo(0,Dn)},[pt]),(0,b.useEffect)(()=>{yt==null||yt(Ar)},[Ar]),(0,b.useEffect)(()=>{if(wr.current){let Dn=function($n,Cr){var br;if(Ct){Cr.preventDefault();return}const zr=Cr.clipboardData;if(zr){const Qr=zr.types.toString(),yo=zr.items;if(Qr==="Files"||zr.types.indexOf("Files")>-1){if(Cr.preventDefault(),Ln=="stex")return;try{let io=yo[1];((br=yo[0])==null?void 0:br.kind)==="file"&&(io=yo[0]);const Io=io.getAsFile(),co=Io.name.split(".").pop();(0,pe.I)(Io,fo=>{var bo,Bo,ri;fo.id?((bo=Io==null?void 0:Io.type)==null?void 0:bo.indexOf("image"))>-1?jn.replaceSelection(`<img width="100%" src="/api/attachments/${fo.id}?type=${fo.content_type})" alt="" />`):((Bo=Io==null?void 0:Io.type)==null?void 0:Bo.indexOf("video"))>-1?jn.replaceSelection(`<video width="100%" controls src="/api/attachments/${fo.id}"></video>`):((ri=Io==null?void 0:Io.type)==null?void 0:ri.indexOf("pdf"))>-1?jn.replaceSelection(`<a href="/api/attachments/${fo.id}?type=${Io.type}&disposition=inline" target="_blank">${Io.name}</a>`):vr.includes(co)?jn.replaceSelection(`<a href="/api/attachments/${fo.id}?type=office&disposition=inline" target="_blank">${Io.name}</a>`):jn.replaceSelection(`[${Io.name}](/api/attachments/${fo.id}?type=${fo.content_type})`):(fo==null?void 0:fo.status)===401&&(document.location.href="/user/login")})}catch(io){bt.ZP.warning("\u8BF7\u4F7F\u7528chrome\u6D4F\u89C8\u5668\u7C98\u8D34")}return!0}else return!0}return!0};const jn=rt().fromTextArea(wr.current,{mode:Ln,lineNumbers:!Zt,lineWrapping:!0,value:vn,autoCloseTags:!0,autoCloseBrackets:!0});return jn.on("keyup",function($n,Cr){Cr.keyCode===8&&($n.getValue()==""?jn.setOption("placeholder",ar):jn.setOption("placeholder",null))}),jn.on("keydown",function($n,Cr){if(Cr.keyCode===8){var br=qo($n);br&&Cr.preventDefault()}}),pn&&jn.focus(),jn.on("paste",Dn),qt&&jn.on("beforeChange",function($n,Cr){(Cr.origin==="paste"||Cr.origin==="+input")&&Cr.cancel()}),In(jn),()=>{jn.off("paste",Dn)}}},[]);const _o=(0,b.useCallback)(()=>{if(Rr.current)try{}catch(Dn){console.log(Dn,"---- to set md editor body height")}},[Jr,Rr,Ar]);(0,b.useEffect)(()=>{function Dn(){let jn=new Oe.Z($n=>{for(let Cr of $n)(Cr.target.offsetHeight>0||Cr.target.offsetWidth>0)&&(_o(),Kt.setSize("100%","100%"),Kt.refresh())});return jn.observe(wr.current.parentElement),jn}if(Kt){const jn=Dn();return()=>{var $n,Cr;($n=wr.current)!=null&&$n.parentElement&&jn.unobserve((Cr=wr.current)==null?void 0:Cr.parentElement)}}},[Kt,_o]),(0,b.useEffect)(()=>{if(Kt){let Dn=[];for(const[jn,$n]of Object.entries(zt)){let Cr={[jn]:()=>{Lo($n)}};Dn.push(Cr),Kt.addKeyMap(Cr)}return()=>{for(let jn of Dn)Kt.removeKeyMap(jn)}}},[Kt]),(0,b.useEffect)(()=>{It!==Ar&&Vr(It)},[It]),(0,xn.Z)(()=>{if(!rn&&Pr>0){let Dn=new Date().getTime(),jn=window.sessionStorage.getItem(rr);Dn>=Pr+tn&&(!jn||jn!==Zn)&&(window.sessionStorage.setItem(rr,Zn),yr(!0))}},tn),(0,b.useEffect)(()=>{pr(cn)},[Kt,cn]),(0,b.useEffect)(()=>{Kt&&pn&&Kt.focus()},[Kt,pn]),(0,b.useEffect)(()=>{if(Un&&Kt){let Dn=function($n){let Cr=$n.target;if($r.current){let br=Cr.scrollTop/Cr.scrollHeight;$r.current.scrollTop=$r.current.scrollHeight*br}};const jn=Kt.getScrollerElement();return jn.addEventListener("scroll",Dn),()=>{jn.removeEventListener("scroll",Dn)}}},[Kt,Un]),(0,b.useEffect)(()=>{if(Kt&&ze){let Dn=function(jn,$n){ze(jn,$n)};return Kt.on("beforeChange",Dn),()=>{Kt.off("beforeChange",Dn)}}},[Kt,ze]),(0,b.useEffect)(()=>{if(Kt&&Qt){let Dn=function(){Qt(Kt.getValue())};return Kt.on("blur",Dn),()=>{Kt.off("blur",Dn)}}},[Kt,Qt]);function qo(Dn,jn){var $n=Dn.getDoc(),Cr=$n.getCursor(),br=$n.getLine(Cr.line),zr=br.charAt(Cr.ch-1),Qr=br.lastIndexOf("@\u2581@",Cr.ch),yo=br.lastIndexOf("@\u2581\u2581@",Cr.ch),io=Qr>yo?Qr:yo,Io=Qr>yo?3:4;if(Tn.indexOf(zr)===-1)return null;if(console.log("change1:",jn,Dn,br,Cr,io,Qr,yo,zr),io>=0&&Cr.ch-io<5){var co=io+Io;return $n.replaceRange("",{line:Cr.line,ch:io},{line:Cr.line,ch:co}),{line:Cr.line,ch:co}}return null}(0,b.useEffect)(()=>{if(Kt){let Dn=function(jn,$n){const Cr=jn.getValue();kn(Cr),kr(new Date().getTime()),jn.getScrollerElement().dispatchEvent(new CustomEvent("scroll")),Rn&&(nn?Rn(Cr,it(Cr)):Rn(Cr))};return Kt.on("change",Dn),()=>{Kt.off("change",Dn)}}},[Kt,Rn]),(0,b.useEffect)(()=>{if(Kt)if(vn==null)Kt.setValue(""),kn("");else{const Dn=window.scrollY||window.pageYOffset;vn!==Kt.getValue()&&(Kt.setValue(vn),kn(vn),Kt.setCursor(qt?1:Kt.lineCount(),0),window.scrollTo(0,Dn))}},[Kt,vn]);const Lo=(0,b.useCallback)(Dn=>{const jn=Kt.getCursor(),$n=Kt.getSelection();let Cr=$n.split(`
|
|
|
`);switch(Dn){case"bold":return Kt.replaceSelection("**"+$n+"**"),$n===""&&Kt.setCursor(jn.line,jn.ch+2),Kt.focus();case"italic":return Kt.replaceSelection("*"+$n+"*"),$n===""&&Kt.setCursor(jn.line,jn.ch+1),Kt.focus();case"code":return Kt.replaceSelection("`"+$n+"`"),$n===""&&Kt.setCursor(jn.line,jn.ch+1),Kt.focus();case"inline-latex":return(0,St.Ye)(ko)?void 0:(fr("inline-latex"),Kt.focus());case"latex":return Kt.replaceSelection("```latex\n"+$n+"\n```"),Kt.setCursor(jn.line+1,$n.length+1),Kt.focus();case"line-break":return Kt.replaceSelection(`<br/>
|
|
|
`),Kt.focus();case"list-ul":return $n===""?Kt.replaceSelection("- "+$n):Kt.replaceSelection(Cr.map(br=>br===""?"":`- ${br}`).join(`
|
|
|
`)),Kt.focus();case"list-ol":return $n===""?Kt.replaceSelection("1. "+$n):Kt.replaceSelection(Cr.map((br,zr)=>br===""?"":`${zr+1}. ${br}`).join(`
|
|
|
`)),Kt.focus();case"add-null-ch":Pt==null||Pt();return;case"add-signal":return $n===""&&Kt.setCursor(jn.line,jn.ch),Kt.replaceSelection(qn),Kt.focus();case"add-multiple":return $n===""&&Kt.setCursor(jn.line,jn.ch),Kt.replaceSelection(Tn),Kt.focus();case"inster-template-1":return $n===""&&Kt.setCursor(jn.line,jn.ch),Kt.replaceSelection(mr),Kt.focus();case"eraser":return Kt.setValue(""),Kt.focus();case"trigger-watch":return pr(!Un),Kt.focus();case"trigger-full-screen":return Vr(!Ar),Kt.focus();case yn:fr(yn);return;case on:fr(on);return;case Ht:fr(Ht);return;case fn:fr(fn);return;case"maths-latex":if((0,St.Ye)(ko))return;fr("maths-latex");return;case bn:qr.current="",sessionStorage.removeItem("file_id"),fr(bn);return;case gn:fr(gn);return;default:throw new Error}},[Kt,Un,Ar]),ii=(0,b.useCallback)((Dn,jn)=>{var $n,Cr,br,zr,Qr,yo;Dn!=null&&Dn.disabledClose||fr("");const{src:io,alt:Io,id:co}=Dn||{};switch(Br){case yn:const{title:Si,link:bi}=Dn;return Kt.replaceSelection(`[${Si}](${bi})`),Kt.focus();case on:const{language:Ki,content:zo}=Dn;return Kt.replaceSelection(["```"+Ki,zo,"```"].join(`
|
|
|
`)),Kt.focus();case"maths-latex":for(var fo=atob(Dn),bo=new Uint8Array(fo.length),Bo=0;Bo<fo.length;Bo++)bo[Bo]=fo.charCodeAt(Bo);var ri=new Blob([bo],{type:"image/png"});return(0,pe.I)(ri,Ta=>{Ta.id?Kt.replaceSelection(``):(Ta==null?void 0:Ta.status)===401&&(document.location.href="/user/login")}),Kt.focus();case"inline-latex":return(0,St.Ye)(ko)?void 0:(Kt.replaceSelection("`$$"+Dn+"$$`"),Kt.focus());case Xt:return co?(Kt.getValue().indexOf(io)===-1?Kt.replaceSelection(`<center><img id="${co}" width="80%" src="${io}" class="draw-flowchart" alt="${Io||""}" /></center>`):document.getElementById(co).src=he.Z.API_SERVER+io+"?t="+Date.now(),Kt.focus()):void 0;case Ht:case fn:const Mo=jn,zi=(br=(Cr=($n=Mo==null?void 0:Mo.name)==null?void 0:$n.split("."))==null?void 0:Cr.pop)==null?void 0:br.call(Cr);return((zr=Mo==null?void 0:Mo.type)==null?void 0:zr.indexOf("image"))>-1||!(Mo!=null&&Mo.type)?Mo!=null&&Mo.align||Mo!=null&&Mo.width?Kt.replaceSelection(`<p style="text-align:${Mo.align||"initial"}"><img width="${Mo.width?Mo.width+"%":"initial"}" src="${io}" alt="${Io||""}" /></p>`):Kt.replaceSelection(`<img width="100%" src="${io}" alt="${Io||""}" />`):((Qr=Mo==null?void 0:Mo.type)==null?void 0:Qr.indexOf("video"))>-1?Kt.replaceSelection(`<video width="100%" controls src="${io}"></video>`):((yo=Mo==null?void 0:Mo.type)==null?void 0:yo.indexOf("pdf"))>-1?Kt.replaceSelection(`<a href="${io}?type=${Mo.type}&disposition=inline" target="_blank">${Mo.name}</a>`):vr.includes(zi)?Kt.replaceSelection(`<a href="${io}?type=office&disposition=inline" target="_blank">${Mo.name}</a>`):Kt.replaceSelection(`[${Mo.name}](${io})`),Kt.focus();case gn:const{row:Wi,col:Xi,align:za}=Dn;let Pa=`
|
|
|
`;for(let Ta=0;Ta<Wi;Ta++){let Ba=[],Ui=[];for(let Fa=0;Fa<Xi;Fa++)Ta===1&&Ui.push(Yt[za]),Ba.push(" ");Ta===1&&(Pa+=`| ${Ui.join(" | ")} |
|
|
|
`),Pa+=`| ${Ba.join(Xi===1?"":" | ")} |
|
|
|
`}return Kt.replaceSelection(Pa+`
|
|
|
`),Kt.focus();default:throw new Error}},[Kt,Br]),Le=(0,b.useMemo)(()=>{switch(Br){case yn:return b.createElement(Gt,{callback:ii,onCancel:nt});case on:return b.createElement(Wt.Z,{callback:ii,onCancel:nt});case Ht:return b.createElement(pe.Z,{callback:ii,onCancel:nt});case bn:return b.createElement(ae,{editImgId:qr.current,callback:ii,onCancel:nt});case gn:return b.createElement($e,{callback:ii,onCancel:nt});case"maths-latex":return b.createElement(Te,{showSaveButton:!0,callback:ii});case"inline-latex":return b.createElement(Ke.Z,{showSaveButton:!0,callback:ii});default:return null}},[Br]);function nt(){fr("")}(0,b.useEffect)(()=>{if(mo.current){let Dn=function(Qr){br=!0,zr=Qr.pageY},jn=function(){br=!1},$n=function(Qr){if(br){let yo=Qr.pageY-zr;yo<0&&(yo=0),yo>300&&(yo=300);let io=ln+yo+"px";Xr(io)}},Cr=mo.current,br=!1,zr=0;return Cr.addEventListener("mousedown",Dn),document.addEventListener("mousemove",$n),document.addEventListener("mouseup",jn),()=>{Cr.removeEventListener("mousedown",Dn),document.removeEventListener("mousemove",$n),document.removeEventListener("mouseup",jn)}}},[Kt,mo]),(0,b.useEffect)(()=>{Xr(ln)},[ln]);const Ot=Jn(Bt),sn=Jn(Jr),hn={width:Ot,height:sn},Tt=(0,b.useMemo)(()=>{if(Pr){let Dn=new Date(Pr),jn=Dn.getHours(),$n=Dn.getMinutes(),Cr=Dn.getSeconds();return jn=jn<10?"0"+jn:jn,$n=$n<10?"0"+$n:$n,Cr=Cr<10?"0"+Cr:Cr,`${jn}:${$n}:${Cr}`}return 0},[Pr]),it=Dn=>{const jn=[];if(nn){let $n=-1;Dn=Dn.replace(/(@▁▁@|@▁@)/g,function(Cr,br,zr){jn.push({multiLine:Cr!==qn})})}return jn};function Ft(){window.sessionStorage.removeItem(rr),yr(!1),kr(0)}function en(){yr(!1),kr(0),Kt.setValue(window.sessionStorage.getItem(rr))}(0,b.useEffect)(()=>{Sn[Br]&&Br!==fn&&Br!==bn&&setTimeout(()=>{const Dn=document.getElementsByClassName("markdown-popup-form")[0],jn=window.innerWidth/2-Dn.offsetWidth/2,$n=window.innerHeight/2-Dn.offsetHeight/2;gr(jn),Kr($n)},0)},[Br]);const On=Dn=>{Dn.preventDefault();const jn=Dn.clientX-ur,$n=Dn.clientY-no;document.body.onmousemove=Cr=>{let br=Cr.clientX-jn,zr=Cr.clientY-$n;const Qr=document.getElementsByClassName("markdown-popup-form")[0],yo=window.innerWidth-Qr.offsetWidth,io=window.innerHeight-Qr.offsetHeight;br=Math.max(0,Math.min(br,yo)),zr=Math.max(0,Math.min(zr,io)),Wn(Cr.clientX,Cr.clientY,jn,$n)&&(gr(br),Kr(zr))},document.body.onmouseup=function(){document.body.onmousemove=null}},Wn=(Dn,jn,$n,Cr)=>{const br=document.body.clientHeight,zr=document.body.clientWidth;return Dn<20&&$n>Dn||Dn>zr-20&&$n<Dn||jn<20&&Cr>jn||jn>br-20&&Cr<jn?(document.body.onmousemove=null,document.body.onmouseup=null,!1):!0};return b.createElement(b.Fragment,null,b.createElement("div",{className:"markdown-editor-wrapper",ref:Rr},b.createElement("div",{className:`markdown-editor-container ${Ye} ${Un?"on-preview":""} ${Zt?"mini":""} ${Ar?"full-screen":""}`,style:hn},b.createElement(kt,{insertTemp:zn,watch:Un,fullScreen:Ar,showNullButton:Fn,showNullProgramButton:nn,onActionCallback:Lo,hidetoolBar:er,extraUse:xt}),b.createElement("div",{className:"markdown-editor-body"},b.createElement("div",{className:"codemirror-container"},b.createElement("textarea",{ref:wr,placeholder:ar})),Un?b.createElement("div",{ref:$r,className:"preview-container"},Ln==="stex"&&b.createElement(vt,{value:Zn}),Ln!=="stex"&&b.createElement(be.Z,{edit:!0,disabledFill:nr,showProgramFill:nn,value:Zn,openEditor:Dn=>{var jn;qr.current=Dn,(jn=eo.current)==null||jn.setHeight("100vh"),setTimeout(()=>{fr("add-flowchart")},150)}})):null))),_n?b.createElement("a",{ref:mo,className:"editor-resize"}):null,Br===fn&&b.createElement(jt,{callback:ii,onCancel:nt}),Br===bn&&b.createElement(ae,{ref:eo,editImgId:qr.current,callback:ii,onCancel:nt}),b.createElement(Qe.Z,null,Sn[Br]&&Br!==fn&&Br!==bn?b.createElement(Re.default,{maskClosable:!1,centered:!0,style:{position:"absolute",left:ur,top:no},title:b.createElement("div",{style:{cursor:"move"},onMouseDown:On},Sn[Br]),open:!0,onCancel:nt,footer:null,destroyOnClose:!0,width:Br===bn?"1200px":null,height:Br===bn?"80vh":null,className:"markdown-popup-form"},Le):null))}},53332:function(Yn,mn,z){"use strict";z.d(mn,{Z:function(){return st},I:function(){return kt}});var b=z(28284),Ce=z(6767),de=z(37568),rt=z(44104),Oe=z(4875),xe=z(47889),Ae=z(7939),Ve=z(23216),Be=z(59301),fe=z(59301),Ge=Object.defineProperty,be=Object.defineProperties,vt=Object.getOwnPropertyDescriptors,Je=Object.getOwnPropertySymbols,tt=Object.prototype.hasOwnProperty,je=Object.prototype.propertyIsEnumerable,We=(Qe,ut,dt)=>ut in Qe?Ge(Qe,ut,{enumerable:!0,configurable:!0,writable:!0,value:dt}):Qe[ut]=dt,ot=(Qe,ut)=>{for(var dt in ut||(ut={}))tt.call(ut,dt)&&We(Qe,dt,ut[dt]);if(Je)for(var dt of Je(ut))je.call(ut,dt)&&We(Qe,dt,ut[dt]);return Qe},Mt=(Qe,ut)=>be(Qe,vt(ut));const{useForm:Ut}=b.default,se={width:280,marginRight:10},Me={labelCol:{span:5},wrapperCol:{span:19}};var st=({callback:Qe,onCancel:ut})=>{const[dt]=Ut();let Fe=(0,Be.useRef)();function Ze(gt){Fe.current.width=dt.getFieldValue("width"),Fe.current.align=dt.getFieldValue("align"),Qe(gt,Fe.current)}function Se(gt,He){if(gt.status===-1){Ce.ZP.error(gt.message);return}dt.setFieldsValue({src:`/api/attachments/${gt.id}`,type:He.type})}function ue(gt){let He=gt.target.files[0];Fe.current=He,kt(He,Se)}return fe.createElement(b.default,Mt(ot({form:dt},Me),{className:"upload-image-panel",onFinish:Ze,style:{width:470,overflow:"hidden"}}),fe.createElement(b.default.Item,{label:"\u56FE\u7247\u5730\u5740",required:!0},fe.createElement("div",{className:"flex-container"},fe.createElement(b.default.Item,{noStyle:!0,name:"src",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u56FE\u7247\u5730\u5740"}]},fe.createElement(de.default,{style:se})),fe.createElement(mt,{onFileChange:ue}))),fe.createElement(b.default.Item,{label:"\u56FE\u7247\u63CF\u8FF0",name:"alt"},fe.createElement(de.default,{style:{width:264}})),fe.createElement(b.default.Item,{label:"\u56FE\u7247\u5BBD\u5EA6",name:"width"},fe.createElement(rt.Z,null,fe.createElement(b.default.Item,{name:"width",style:{margin:0}},fe.createElement(Oe.Z,{style:{width:264}})),fe.createElement("span",{className:"ml8"},"%"))),fe.createElement(b.default.Item,{label:"\u5BF9\u9F50\u65B9\u5F0F",name:"align"},fe.createElement(xe.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"}]})),fe.createElement("aside",null,fe.createElement(b.default.Item,{style:{textAlign:"right",position:"relative",right:-98}},fe.createElement(Ae.ZP,{type:"primary",htmlType:"submit",style:{marginRight:10}},"\u786E\u5B9A"),fe.createElement(Ae.ZP,{type:"default",onClick:ut},"\u53D6\u6D88"))))};function mt({onFileChange:Qe}){return fe.createElement("label",{className:"upload-button",style:{cursor:"pointer"}},"\u672C\u5730\u4E0A\u4F20",fe.createElement("input",{type:"file",onChange:Qe}))}function kt(Qe,ut){if(!Qe)throw new String("\u6CA1\u6709\u6587\u4EF6");let dt=new FormData;dt.append("editormd-image-file",Qe),dt.append("file_param_name","editormd-image-file"),dt.append("byxhr","true");var Fe=new window.XMLHttpRequest;Fe.withCredentials=!0,Fe.addEventListener("load",function(Ze){ut(JSON.parse(Ze.target.responseText),Qe)},!1),Fe.addEventListener("error",function(Ze){console.error(Ze)},!1),Fe.open("POST",`${Ve.KI}/api/attachments.json`),Fe.send(dt)}},88487:function(Yn,mn,z){"use strict";z.d(mn,{Z:function(){return de}});var b=z(59301),Ce=z(4676);class de extends b.Component{constructor(Oe){super(Oe);const xe=window.document;this.node=xe.createElement("div"),xe.body.appendChild(this.node)}render(){const{children:Oe}=this.props;return(0,Ce.createPortal)(Oe,this.node)}componentWillUnmount(){window.document.body.removeChild(this.node)}}},34728:function(Yn,mn,z){"use strict";z.d(mn,{SV:function(){return jt},ZP:function(){return et}});var b=z(59301),Ce=z(76374);const de={keywords:["print","auto","break","case","char","const","continue","default","do","double","else","enum","extern","float","for","goto","if","int","long","register","return","short","signed","sizeof","static","struct","switch","typedef","union","unsigned","void","volatile","while"]},rt={quickKey:[{label:"main",content:["public static void main(String[] args) {"," $0","}"].join(`
|
|
|
`)},{label:"System.out.println",content:["System.out.println($0)"].join(`
|
|
|
`)},{label:"System.out.print",content:["System.out.print($0)"].join(`
|
|
|
`)}],keywords:["abstract","continue","for","new","switch","assert","default","goto","package","synchronized","boolean","do","if","private","this","break","double","implements","protected","throw","byte","else","import","public","throws","case","enum","instanceof","return","transient","catch","extends","int","short","try","char","final","interface","static","void","class","finally","long","strictfp","volatile","const","float","native","super","while","true","false"]},Oe={keywords:["abstract","amp","array","auto","bool","break","case","catch","char","class","const","constexpr","const_cast","continue","cpu","decltype","default","delegate","delete","do","double","dynamic_cast","each","else","enum","event","explicit","export","extern","false","final","finally","float","friend","gcnew","generic","goto","in","initonly","inline","int","interface","interior_ptr","internal","literal","long","mutable","namespace","new","noexcept","nullptr","__nullptr","operator","override","partial","pascal","pin_ptr","private","property","protected","public","ref","register","reinterpret_cast","restrict","return","safe_cast","sealed","short","signed","sizeof","static","static_assert","static_cast","struct","switch","template","this","thread_local","throw","tile_static","true","try","typedef","typeid","typename","union","unsigned","using","virtual","void","volatile","wchar_t","where","while","_asm","_based","_cdecl","_declspec","_fastcall","_if_exists","_if_not_exists","_inline","_multiple_inheritance","_pascal","_single_inheritance","_stdcall","_virtual_inheritance","_w64","__abstract","__alignof","__asm","__assume","__based","__box","__builtin_alignof","__cdecl","__clrcall","__declspec","__delegate","__event","__except","__fastcall","__finally","__forceinline","__gc","__hook","__identifier","__if_exists","__if_not_exists","__inline","__int128","__int16","__int32","__int64","__int8","__interface","__leave","__m128","__m128d","__m128i","__m256","__m256d","__m256i","__m64","__multiple_inheritance","__newslot","__nogc","__noop","__nounwind","__novtordisp","__pascal","__pin","__pragma","__property","__ptr32","__ptr64","__raise","__restrict","__resume","__sealed","__single_inheritance","__stdcall","__super","__thiscall","__try","__try_cast","__typeof","__unaligned","__unhook","__uuidof","__value","__virtual_inheritance","__w64","__wchar_t"],operators:["=",">","<","!","~","?",":","==","<=",">=","!=","&&","||","++","--","+","-","*","/","&","|","^","%","<<",">>",">>>","+=","-=","*=","/=","&=","|=","^=","%=","<<=",">>=",">>>="],quickKey:[{label:"ifelse",content:["if (${1:condition}) {"," $0","} else {"," ","}"].join(`
|
|
|
`)},{label:"include",content:"include<$0>"},{label:"printf",content:"printf($0)"},{label:"system",content:'system("$0")'},{label:"main",content:["int main () {"," $0","}"].join(`
|
|
|
`)},{label:"if",content:["if () {"," $0","}"].join(`
|
|
|
`)},{label:"for",content:["for(int j=0 ; j<10; j++){"," $0","}"].join(`
|
|
|
`)},{label:"trycatch",content:["try{"," $0","}catch(ExceptionName e){","}"].join(`
|
|
|
`)},{label:"using namespace std",content:["using namespace std"].join(`
|
|
|
`)},{label:"include <iostream>",content:["#include <iostream>"].join(`
|
|
|
`)},{label:"include <vector>",content:["#include <vector>"].join(`
|
|
|
`)},{label:"include <cstdio>",content:["#include <cstdio>"].join(`
|
|
|
`)},{label:"include <cstring>",content:["#include <cstring>"].join(`
|
|
|
`)},{label:"include <sstream>",content:["#include <sstream>"].join(`
|
|
|
`)},{label:"include <fstream>",content:["#include <fstream>"].join(`
|
|
|
`)},{label:"include <map>",content:["#include <map>"].join(`
|
|
|
`)},{label:"include <string>",content:["#include <string>"].join(`
|
|
|
`)},{label:"include <cmath>",content:["#include <cmath>"].join(`
|
|
|
`)}]},xe={keywords:["and","as","assert","break","class","continue","def","del","elif","else","except","exec","finally","for","from","global","if","import","in","is","lambda","None","not","or","pass","raise","return","self","try","while","with","yield","int","float","long","complex","hex","abs","all","any","apply","basestring","bin","bool","buffer","bytearray","callable","chr","classmethod","cmp","coerce","compile","complex","delattr","dict","dir","divmod","enumerate","eval","execfile","file","filter","format","frozenset","getattr","globals","hasattr","hash","help","id","input","intern","isinstance","issubclass","iter","len","locals","list","map","max","memoryview","min","next","object","oct","open","ord","pow","print","property","reversed","range","raw_input","reduce","reload","repr","reversed","round","set","setattr","slice","sorted","staticmethod","str","sum","super","tuple","type","unichr","unicode","vars","xrange","zip","True","False","__dict__","__methods__","__members__","__class__","__bases__","__name__","__mro__","__subclasses__","__init__","__import__"],quickKey:[{label:"print",content:["print($0)"].join(`
|
|
|
`)}]},Ae={keywords:["asInstanceOf","catch","class","classOf","def","do","else","extends","finally","for","foreach","forSome","if","import","isInstanceOf","macro","match","new","object","package","return","throw","trait","try","type","until","val","var","while","with","yield","given","enum","then"],quickKey:[{label:"println",content:["println($0)"].join(`
|
|
|
`)}]};var Ve=z(53184),Be=z.n(Ve),fe=(ct,dn,bt)=>new Promise((le,ne)=>{var te=re=>{try{he(bt.next(re))}catch(ce){ne(ce)}},ae=re=>{try{he(bt.throw(re))}catch(ce){ne(ce)}},he=re=>re.done?le(re.value):Promise.resolve(re.value).then(te,ae);he((bt=bt.apply(ct,dn)).next())});const Ge={languages:["c","abap","apex","azcli","bat","cameligo","clojure","coffee","cpp","csharp","csp","css","dockerfile","fsharp","go","graphql","handlebars","html","ini","java","javascript","json","kotlin","less","lua","markdown","mips","msdax","mysql","objective-c","pascal","pascaligo","perl","pgsql","php","postiats","powerquery","powershell","pug","python","r","razor","redis","redshift","restructuredtext","ruby","rust","sb","scheme","scss","shell","solidity","sophia","sql","st","swift","tcl","twig","vb","xml","yaml'"],tables:{users:["name","id","email","phone","password"],roles:["id","name","order","created_at","updated_at","deleted_at"]}},be=(ct,dn,bt,le)=>{const ne=dn.getValueInRange({startLineNumber:1,startColumn:1,endLineNumber:bt.lineNumber,endColumn:bt.column});return Array.from(new Set(ne.match(/\b\w{2,}\b/g)||[])).map(ae=>({label:ae,kind:ct.languages.CompletionItemKind.Text,insertText:ae,range:le}))},vt=(ct,dn,bt,le)=>{ct.languages.registerCompletionItemProvider(dn,{provideCompletionItems(ne,te){const ae=ne.getWordUntilPosition(te),he={startLineNumber:te.lineNumber,endLineNumber:te.lineNumber,startColumn:ae.startColumn,endColumn:ae.endColumn},re=ne.getLineContent(te.lineNumber).substring(ae.startColumn-2,ae.endColumn);return{suggestions:[...be(ct,ne,te,he),...bt.map(Pe=>({label:Pe,kind:ct.languages.CompletionItemKind.Keyword,documentation:Pe,insertText:Pe,insertTextRules:ct.languages.CompletionItemInsertTextRule.InsertAsSnippet,range:he})),...le.map(Pe=>({label:Pe.label,kind:ct.languages.CompletionItemKind.Snippet,documentation:Pe.content,insertText:re.startsWith("#")?Pe.content.replace(/#/,""):Pe.content,insertTextRules:ct.languages.CompletionItemInsertTextRule.InsertAsSnippet,range:he}))]}}})};var Je=ct=>{Ge.languages.forEach(dn=>{ct.languages.registerDocumentFormattingEditProvider(dn,{provideDocumentFormattingEdits(bt){return fe(this,null,function*(){const le=Be()(bt.getValue(),{indent_size:2,indent_char:" ",max_preserve_newlines:2,preserve_newlines:!0,keep_array_indentation:!0,break_chained_methods:!1,indent_scripts:"normal",brace_style:"collapse",space_before_conditional:!0,unescape_strings:!1,jslint_happy:!1,end_with_newline:!0,wrap_line_length:0,indent_inner_html:!1,comma_first:!1,e4x:!1,indent_empty_lines:!1});return[{range:bt.getFullModelRange(),text:le}]})}})}),vt(ct,"java",rt.keywords,rt.quickKey),vt(ct,"cpp",Oe.keywords,Oe.quickKey),vt(ct,"c",de.keywords,[]),vt(ct,"python",xe.keywords,xe.quickKey),vt(ct,"scala",Ae.keywords,Ae.quickKey)};const tt="\u8BE5\u4EFB\u52A1\u5173\u5361\u8BBE\u7F6E\u4E86\u7981\u6B62\u590D\u5236\u7C98\u8D34\uFF0C\u8BF7\u624B\u52A8\u8F93\u5165\u4EE3\u7801\u3002";var je=Object.defineProperty,We=(ct,dn,bt)=>dn in ct?je(ct,dn,{enumerable:!0,configurable:!0,writable:!0,value:bt}):ct[dn]=bt,ot=(ct,dn,bt)=>We(ct,typeof dn!="symbol"?dn+"":dn,bt);const Mt=class Qu{constructor(dn,bt,le){this.placeholder=dn,this.editor=bt,this.monaco=le,bt.onDidChangeModelContent(()=>this.onDidChangeModelContent()),this.onDidChangeModelContent()}onDidChangeModelContent(){this.editor.getValue()===""?this.editor.addContentWidget(this):this.editor.removeContentWidget(this)}getId(){return Qu.ID}getDomNode(){return this.domNode||(this.domNode=document.createElement("div"),this.domNode.style.width="max-content",this.domNode.textContent=this.placeholder,this.domNode.style.fontStyle="initial",this.domNode.style.color="#D7D7D7",this.domNode.style.pointerEvents="none",this.editor.applyFontInfo(this.domNode)),this.domNode}getPosition(){return{position:{lineNumber:1,column:1},preference:[this.monaco.editor.ContentWidgetPositionPreference.EXACT]}}dispose(){this.editor.removeContentWidget(this)}};ot(Mt,"ID","editor.widget.placeholderHint");var se=Mt,Me=z(96236),st=z(6767),mt=z(25399),kt=z(78267),Qe=z(33156),ut=z(56102),dt=Object.defineProperty,Fe=Object.defineProperties,Ze=Object.getOwnPropertyDescriptors,Se=Object.getOwnPropertySymbols,ue=Object.prototype.hasOwnProperty,gt=Object.prototype.propertyIsEnumerable,He=(ct,dn,bt)=>dn in ct?dt(ct,dn,{enumerable:!0,configurable:!0,writable:!0,value:bt}):ct[dn]=bt,ke=(ct,dn)=>{for(var bt in dn||(dn={}))ue.call(dn,bt)&&He(ct,bt,dn[bt]);if(Se)for(var bt of Se(dn))gt.call(dn,bt)&&He(ct,bt,dn[bt]);return ct},Nt=(ct,dn)=>Fe(ct,Ze(dn)),De=(ct,dn)=>{var bt={};for(var le in ct)ue.call(ct,le)&&dn.indexOf(le)<0&&(bt[le]=ct[le]);if(ct!=null&&Se)for(var le of Se(ct))dn.indexOf(le)<0&>.call(ct,le)&&(bt[le]=ct[le]);return bt},ve=(ct,dn,bt)=>new Promise((le,ne)=>{var te=re=>{try{he(bt.next(re))}catch(ce){ne(ce)}},ae=re=>{try{he(bt.throw(re))}catch(ce){ne(ce)}},he=re=>re.done?le(re.value):Promise.resolve(re.value).then(te,ae);he((bt=bt.apply(ct,dn)).next())});function At(ct){return/^\d+$/.test(ct)?`${ct}px`:ct}function Gt(){}let Wt=!1;const pe={"Python3.6":"python","Python2.7":"python",Dynamips:"cpp",Java:"java",Web:"php",Html:"html",Hive:"sql",Hadoop:"java",SDL:"cpp",PHP:"php",Matlab:"python",Git:"python",Python:"python","C/C++":"cpp","C++":"cpp",C:"cpp",Ruby:"ruby",Shell:"shell",JavaScript:"javascript",Perl6:"perl",Kotlin:"kotlin",Elixir:"elixir",Android:"java",JavaWeb:"java",Go:"go",Spark:"sql",MachineLearning:"python",Verilog:"xml","Verilog/VNC":"xml",Docker:"dockerfile","C#":"csharp",SQLite3:"sql",Oracle:"sql",Vhdl:"vhdl",R:"r",Swift:"swift",SQLServer:"mysql",MySQL:"mysql",Mongo:"sql",PostgreSql:"pgsql",Hbase:"powershell",Sqoop:"sql",Nasm:"cpp",Kafka:"java",Flink:"java",Sml:"javascript",OpenGL:"cpp",Perl5:"perl",Orange:"python",Scala:"scale",solidity:"sol"};function Re(ct=[]){let dn=ct;if(Array.isArray(ct)){for(let bt=0;bt<ct.length;bt++){let le=pe[ct[bt]];if(le)return le}return dn[0]}return pe[dn]||dn}let Ue=null;const Jt=()=>ve(void 0,null,function*(){try{yield navigator.clipboard.writeText(" "),console.log("\u5185\u5BB9\u5DF2\u81EA\u52A8\u590D\u5236\u5230\u526A\u8D34\u677F:")}catch(ct){console.error("\u81EA\u52A8\u590D\u5236\u5931\u8D25:",ct)}});var et=ct=>{var dn=ct,{width:bt="100%",height:le="100%",value:ne,language:te="javascript",style:ae={},options:he={},overrideServices:re={},theme:ce="vs-dark",onEditBlur:Pe,isCopy:lt=!1,onSave:$e,autoHeight:Ie=!1,forbidCopy:ht=!1,forbidCopyTips:Et,onChange:Rt=Gt,editorDidMount:Te=Gt,onFocus:Ke=Gt,onBreakPoint:yn=Gt,breakPointValue:Ht=[],filename:bn="educoder.txt",errorLine:fn,errorContent:Xt="",highlightLine:on,openBreakPoint:gn=!1,placeholder:ft="",showMiniMap:Yt=!0}=dn,xn=De(dn,["width","height","value","language","style","options","overrideServices","theme","onEditBlur","isCopy","onSave","autoHeight","forbidCopy","forbidCopyTips","onChange","editorDidMount","onFocus","onBreakPoint","breakPointValue","filename","errorLine","errorContent","highlightLine","openBreakPoint","placeholder","showMiniMap"]);const St=(0,b.useRef)(),_e=(0,b.useRef)({}),Vt=(0,b.useRef)(),tn=(0,b.useRef)(),un=(0,b.useRef)([]),Tn=(0,b.useRef)(!1),qn=(0,b.useRef)(),mr=(0,b.useRef)(),vr=(0,b.useRef)(!1),[Jn,dr]=(0,b.useState)(!1);function _t(){let rn;return St.current&&(rn=new Ce.Z(Fn=>{for(let nn of Fn)(nn.target.offsetHeight>0||nn.target.offsetWidth>0)&&_e.current.instance.layout()}),rn.observe(St.current)),rn}function zt(){st.ZP.warning({content:decodeURIComponent(Et||tt),key:"monaco-editor-tip"})}const Sn=()=>{let rn=_e.current.instance;if(ne!=null&&rn&&Jn){const Fn=rn.getModel();Fn&&ne!==Fn.getValue()&&(Wt=!0,Fn.setValue(ne),rn.layout(),Wt=!1)}};(0,b.useEffect)(()=>{const rn=Qe.Z.subscribe("formatDocument",Fn=>{var nn;let er=_e.current.instance;(nn=er==null?void 0:er.getAction)==null||nn.call(er,"editor.action.formatDocument").run()});return window.updateMonacoValue=Fn=>{Rt(Fn)},rn},[]),(0,b.useEffect)(()=>{var rn;let Fn=_e.current.instance;tn.current&&clearTimeout(tn.current),tn.current=setTimeout(()=>{Sn()},500),ne&&(ne!=null&&ne.length)&&((rn=Fn==null?void 0:Fn.updateOptions)==null||rn.call(Fn,{lineNumbersMinChars:Math.max(Math.floor(Math.log10(ne.split(/\r\n|\r|\n/g).length))+3,5)}))},[ne,Jn,_e.current]),(0,b.useEffect)(()=>{if(fn&&_e.current&&_e.current.instance){let Fn=_e.current.instance;Fn.changeViewZones(function(nn){var er=document.createElement("div");er.style.padding="10px 20px",er.style.width="calc(100% - 20px)",er.className="my-error-line-wrp",er.innerHTML=Xt,nn.addZone({afterLineNumber:fn||11,heightInLines:3,domNode:er})});var rn={domNode:null,getId:function(){return"my.overlay.widget"},getDomNode:function(){return this.domNode||(this.domNode=document.createElement("div"),this.domNode.innerHTML="",this.domNode.style.width="100%",this.domNode.style.padding="20px 100px",this.domNode.style.right="0px",this.domNode.style.top="50px",this.domNode.style.position="relative",this.domNode.style.color="#333"),this.domNode},getPosition:function(){return null}};Fn.addOverlayWidget(rn),Fn.revealPositionInCenter({lineNumber:20,column:1})}},[fn,_e.current,Jn]);const wn=(rn="",Fn)=>{if(!rn||rn.trim()==="")return!0;const er=_e.current.instance.getModel().getLineTokens(Fn);let It=!1;for(let Qt=0;Qt<2;Qt++)er.getStandardTokenType(Qt)===1&&(It=!0);return It};(0,b.useEffect)(()=>{var rn;const Fn=(rn=_e.current)==null?void 0:rn.instance;if(Fn&&Jn&&ht){const nn=Fn.onDidBlurEditorWidget(()=>{vr.current=!1}),er=Fn.onDidFocusEditorText(()=>{vr.current=!0});return()=>{nn.dispose(),er.dispose()}}},[_e.current,Jn,ht]),(0,b.useEffect)(()=>{var rn;if((rn=_e.current)!=null&&rn.instance&&Jn&&gn){let Fn=_e.current.instance,nn=Fn.getModel();if(!nn)return;(()=>{var xt;let Pt=[],Kt=[];const In=nn.getAllDecorations();for(let kn of In)kn.options.className==="highlighted-line"&&(Pt.push((xt=kn==null?void 0:kn.range)==null?void 0:xt.startLineNumber),Kt.push(kn==null?void 0:kn.id));if(on===Pt[0])return;nn.deltaDecorations(Kt,[]);const Zn=nn.getLineCount();on&&on<=Zn&&(Fn.deltaDecorations([],[{range:new Ue.Range(on,1,on,nn.getLineMaxColumn(on)),options:{isWholeLine:!0,className:"highlighted-line"}}]),Fn.revealLineInCenter(on))})();const It=(xt=!1)=>{var Pt;let Kt=[],In=[];const Zn=nn.getAllDecorations();for(let kn of Zn)kn.options.linesDecorationsClassName==="breakpoints-select"&&(Kt.push((Pt=kn==null?void 0:kn.range)==null?void 0:Pt.startLineNumber),In.push(kn==null?void 0:kn.id));if(xt)return{lines:Kt,ids:In};yn(Kt)},Qt=xt=>ve(void 0,null,function*(){let Pt={range:new Ue.Range(xt,1,xt,1),options:{isWholeLine:!1,linesDecorationsClassName:"breakpoints-select"}};yield nn.deltaDecorations([],[Pt]),It()}),ze=xt=>ve(void 0,null,function*(){let Pt=[];const Kt=Fn.getLineDecorations(xt);for(let In of Kt)In.options.linesDecorationsClassName==="breakpoints-select"&&Pt.push(In.id);yield nn.deltaDecorations(Pt,[]),It()}),yt=xt=>{let Pt=Fn.getLineDecorations(xt);for(let Kt of Pt)if(Kt.options.linesDecorationsClassName==="breakpoints-select")return!0;return!1};if(!(0,kt.isEqual)(Ht,It(!0).lines)){nn.deltaDecorations(It(!0).ids,[]);const xt=Ht.map(Pt=>({range:new Ue.Range(Pt,1,Pt,1),options:{isWholeLine:!1,linesDecorationsClassName:"breakpoints-select"}}));nn.deltaDecorations([],xt)}const Ye=Fn.onDidChangeModelContent(xt=>{let Pt=Fn.getPosition();if(Pt){let Kt=Pt.lineNumber;clearTimeout(mr.current),mr.current=setTimeout(()=>{wn(nn.getLineContent(Kt),Kt)?ze(Kt):yt(Kt)?(ze(Kt),Qt(Kt)):It()},100)}}),Ct=Fn.onMouseDown(xt=>{var Pt,Kt,In;if(xt.target.detail&&((In=(Kt=(Pt=xt.target)==null?void 0:Pt.element)==null?void 0:Kt.className)!=null&&In.includes("line-numbers"))){let Zn=xt.target.position.lineNumber;if(wn(nn.getLineContent(Zn),Zn))return;yt(Zn)?ze(Zn):Qt(Zn)}}),qt=xt=>{let Pt={range:new Ue.Range(xt,1,xt,1),options:{isWholeLine:!1,linesDecorationsClassName:"breakpoints-fake"}};un.current=Fn.deltaDecorations(un.current,[Pt])},nr=()=>{un.current=Fn.deltaDecorations(un.current,[])},ar=Fn.onMouseMove(xt=>{var Pt,Kt,In;if(nr(),xt.target.detail&&((In=(Kt=(Pt=xt.target)==null?void 0:Pt.element)==null?void 0:Kt.className)!=null&&In.includes("line-numbers"))){let Zn=xt.target.position.lineNumber;if(wn(nn.getLineContent(Zn),Zn))return;qt(Zn)}}),pt=Fn.onMouseLeave(()=>{nr()});return()=>{Ye.dispose(),Ct.dispose(),ar.dispose(),pt.dispose()}}},[_e.current,Jn,Ht,on,gn,te]),(0,b.useEffect)(()=>{var rn;(rn=_e.current)!=null&&rn.instance&&gn&&_e.current.instance.setPosition({lineNumber:0,column:0})},[on]);function vn(){let rn=_e.current.instance;if(rn){const Fn=rn.getSelection(),nn=_e.current.pastePos||{},er=new Ue.Range(nn.startLineNumber||Fn.endLineNumber,nn.startColumn||Fn.endColumn,nn.endLineNumber||Fn.endLineNumber,nn.endColumn||Fn.endColumn);setTimeout(()=>{rn.executeEdits("",[{range:er,text:""}])},300)}}function Rn(rn){(window.navigator.platform.match("Mac")?rn.metaKey:rn.ctrlKey)&&rn.keyCode==83&&(rn.preventDefault(),$e())}const Bt=()=>{if(Ie&&_e.current.instance){const rn=_e.current.instance.getContentHeight();rr(rn<le?le:rn)}else rr(le)};function ln(rn){var Fn=document.createEvent("MouseEvents");Fn.initMouseEvent("click",!0,!1,window,0,0,0,0,0,!1,!1,!1,!1,0,null),rn.dispatchEvent(Fn)}const Zt=rn=>{if(!vr.current)return;const{keyCode:Fn,ctrlKey:nn,metaKey:er,target:It,type:Qt}=rn;return(Qt==="paste"||(Fn===67||Fn===86)&&(er||nn))&&It.nodeName==="TEXTAREA"&&(zt(),rn.preventDefault()),!1};function pn(rn,Fn){var nn=window.URL||window.webkitURL||window,er=new Blob([Fn]),It=document.createElementNS("http://www.w3.org/1999/xhtml","a");It.href=nn.createObjectURL(er),It.download=rn,ln(It)}(0,b.useEffect)(()=>{Bt()},[Bt]),(0,b.useEffect)(()=>{St.current&&!Jn&&Promise.all([z.e(8909),z.e(5977)]).then(z.bind(z,71448)).then(rn=>{try{Ue=rn,_e.current.instance=Ue.editor.create(St.current,{value:ne,language:Re(te),theme:ce,requireConfig:{"vs/nls":{availableLanguages:{"*":"zh-cn"}}},wordWrap:!0,autoIndent:!0,contextmenu:!0,formatOnType:!0,minimap:{enabled:Yt||!1}},re);const Fn=_e.current.instance;let It=[...Me.BH._menuItems].find(Ye=>Ye[0]._debugName=="EditorContext")[1],Qt=["editor.action.clipboardCopyWithSyntaxHighlightingAction","editor.action.quickCommand","editor.action.clipboardCopyAction","editor.action.clipboardPasteAction","editor.action.clipboardCutAction"],ze=(Ye,Ct)=>{var qt,nr;let ar=Ye._first;do Ct.includes((nr=(qt=ar.element)==null?void 0:qt.command)==null?void 0:nr.id)&&Ye._remove(ar);while(ar=ar.next)};if(Te(Fn,Ue),setTimeout(()=>{Bt(),_e.current.instance.addAction({id:"d123123",label:"Download File",contextMenuGroupId:"9_cutcopypaste",run:()=>{pn(bn||"educoder.txt",Fn.getValue())}})},500),_e.current.subscription=Fn.onDidChangeModelContent(Ye=>{Tn.current?clearTimeout(qn.current):(Bt(),Rt(Fn.getValue(),Ye)),qn.current=setTimeout(()=>{Tn.current=!1},500)}),window.Monaco||Je(Ue,Re(te)),ht&&(ze(It,Qt),St.current.classList.add("noCopyPaste"),window.removeEventListener("keydown",Zt),window.removeEventListener("paste",Zt),window.addEventListener("keydown",Zt),window.addEventListener("paste",Zt)),window.Monaco=Ue,Pe&&Fn.onDidBlurEditorWidget(()=>{Pe(Fn.getValue())}),Ke&&Fn.onDidFocusEditorText(()=>{ht&&Jt(),Ke(Fn.getValue())}),ht){Jt();try{Fn.onDidPaste(Ye=>{const Ct=Fn.getSelection(),qt=_e.current.pastePos||{},nr=new Ue.Range(qt.startLineNumber||Ct.endLineNumber,qt.startColumn||Ct.endColumn,qt.endLineNumber||Ct.endLineNumber,qt.endColumn||Ct.endColumn);Fn.executeEdits("",[{range:Ye.range,text:""}])})}catch(Ye){}}let yt=_t();return ft&&typeof ft=="string"&&new se(ft,Fn,Ue),dr(!0),()=>{const Ye=_e.current.instance;Ye.dispose();const Ct=Ye.getModel();Ct&&Ct.dispose(),_e.current.subscription&&_e.current.subscription.dispose(),yt.unobserve(St.current)}}catch(Fn){}})},[]),(0,b.useEffect)(()=>{if(_e.current.instance&&Jn)return document.addEventListener("keydown",Rn,!1),()=>{document.removeEventListener("keydown",Rn)}},[$e,Jn]),(0,b.useEffect)(()=>{let rn=_e.current.instance;if(rn&&Jn){let Fn=Re(te);Ue.editor.setModelLanguage(rn.getModel(),Fn)}},[te,Jn]),(0,b.useEffect)(()=>{_e.current.instance&&Jn&&Ue.editor.setTheme(ce)},[ce,Jn]),(0,b.useEffect)(()=>{let rn=_e.current.instance;Vt.current=he,rn&&Jn&&(rn.updateOptions(ke({},he)),setTimeout(()=>{rn.getModel().updateOptions(ke({},he))},200))},[JSON.stringify(he),Jn]),(0,b.useEffect)(()=>{let rn=_e.current.instance;rn&&Jn&&rn.layout()},[bt,le,Jn]);const[cn,zn]=(0,b.useState)(At(bt)),[Ln,rr]=(0,b.useState)(At(le)),_n=Nt(ke({},ae),{width:cn,height:Ln,position:"relative"});return b.createElement("div",{className:"my-monaco-editor",ref:St,style:_n,onFocus:()=>{ht&&Jt()}},lt&&b.createElement(ut.CopyToClipboard,{text:ne,onCopy:()=>st.ZP.success("\u590D\u5236\u6210\u529F")},b.createElement(mt.Z,{title:"\u590D\u5236\u4EE3\u7801"},b.createElement("div",{style:{position:"absolute",top:0,right:10,cursor:"pointer",zIndex:10,color:"#165DFF"}},b.createElement("i",{className:"iconfont icon-fuzhi8",style:{fontSize:14}})," \u590D\u5236\u4EE3\u7801"))))};function jt({width:ct="100%",height:dn="100%",original:bt,modified:le,language:ne,options:te={}}){const ae=(0,b.useRef)(),[he,re]=(0,b.useState)(null);function ce(Ie){let ht;return ae.current&&(ht=new Ce.Z(Et=>{for(let Rt of Et)(Rt.target.offsetHeight>0||Rt.target.offsetWidth>0)&&Ie.layout()}),ht.observe(ae.current)),ht}(0,b.useEffect)(()=>(ae.current&&Promise.all([z.e(8909),z.e(9404)]).then(z.bind(z,2550)).then(Ie=>{Ue=Ie;const ht=Ue.editor.createDiffEditor(ae.current,Nt(ke({enableSplitViewResizing:!1,scrollBeyondLastLine:!1,roundedSelection:!1,renderIndicators:!1,useShadows:!1,horizontal:"hidden",lineNumbers:"off",wordWrap:"off",ignoreTrimWhitespace:!1,"semanticHighlighting.enabled":!0,followsCaret:!0,ignoreCharChanges:!0,minimap:{enabled:!1},readOnly:!0},te),{wordWrap:!0}));re(ht);let Et=ce(ht);return()=>{ht.dispose();const Rt=ht.getModel();Rt&&Rt.dispose(),Et.unobserve(ae.current)}}),()=>{window.removeEventListener("keydown",checkPaste),window.removeEventListener("paste",checkPaste)}),[]),(0,b.useEffect)(()=>{he&&he.setModel({original:Ue.editor.createModel(bt,ne),modified:Ue.editor.createModel(le,ne)})},[bt,le,ne,he]);const Pe=At(ct),lt=At(dn),$e={width:Pe,height:lt};return b.createElement("div",{className:"my-diff-editor",ref:ae,style:$e})}},54077:function(Yn,mn,z){"use strict";z.d(mn,{Z:function(){return Ge}});var b={flex_box_center:"flex_box_center___AQ53o",flex_space_between:"flex_space_between___i2aIa",flex_box_vertical_center:"flex_box_vertical_center___sPEKB",flex_box_center_end:"flex_box_center_end___GhSSH",flex_box_column:"flex_box_column___R9_Hb",list:"list___jb2Ay",wrap:"wrap___VsQDr",lockWrap:"lockWrap___g1k1T",li:"li___IxCLC",cover:"cover___Mu8wr",img:"img___IpFLA",movebq:"movebq___mF7wt",bq:"bq___Bil0T",sign:"sign___DXJ4d",name:"name___l7FoJ",e:"e___pXQUG",unit:"unit___wCIFR",tags:"tags___w_Mil",tag1:"tag1___dxm7r",tag2:"tag2___llZkf",wrapisCurrent:"wrapisCurrent___qIfQT",tagsDom:"tagsDom___COQg7",hiddenbq:"hiddenbq___TqlUF"},Ce=z(29787),de=z(25399),rt=z(89787),Oe=z(92310),xe=z.n(Oe),Ae=z(76406),Ve=z(90736),Be=z(59301),Ge=({className:be,dataSource:vt=[],col:Je=4,right:tt,bottom:je=23,precision:We=0,wrapWidth:ot=1200,trackEventItems:Mt,loading:Ut,onRemove:se=()=>{},isCurrent:Me=!0,showProgress:st=!1,showAlias:mt=!1,category:kt="notDisplay",hiddenClick:Qe=()=>{}})=>{const ut=Math.floor((ot-(Je-1)*tt)/Je),dt=[{name:"\u63A8\u8350\u81EA\u5B66",ptimg:"/images/tjzx.png",swimg:"/images/sw_tjzx.png",ptclass:"sprite-70",swclass:"sprite-68"},{name:"101\u8BA1\u5212",ptimg:"/images/jh.png",swimg:"/images/sw_jh.png",ptclass:"sprite-60",swclass:"sprite-65"},{name:"\u56FD\u5BB6\u4E00\u6D41",ptimg:"/images/gjyl.png",swimg:"/images/sw_gjyl.png",ptclass:"sprite-58",swclass:"sprite-63"},{name:"\u7701\u7EA7\u4E00\u6D41",ptimg:"/images/sjyl.png",swimg:"/images/sw_sjyl.png",ptclass:"sprite-62",swclass:"sprite-67"},{name:"\u7CBE\u54C1\u8BFE\u7A0B",ptimg:"/images/jpkc.png",swimg:"/images/sw_jpkc.png",ptclass:"sprite-61",swclass:"sprite-66"},{name:"\u519B\u961F\u4E00\u6D41",ptimg:"/images/jdyl.png",swimg:"/images/sw_jdyl.png",ptclass:"sprite-59",swclass:"sprite-64"},{name:"\u65B0\u578B\u6559\u6750",ptimg:"/images/xxjc.png",swimg:"/images/sw_xxjc.png",ptclass:"sprite-71",swclass:"sprite-69"}];return Be.createElement(Ce.Z,{spinning:Ut},Be.createElement("div",{className:xe()(b.list,be)},!!(vt!=null&&vt.length)&&(vt==null?void 0:vt.map((Fe,Ze)=>{var Se,ue,gt,He,ke,Nt,De;const{name:ve,id:At,identifier:Gt,featured:Wt,school_name:pe,image_url:Re,excellent:Ue,is_plan:Jt}=Fe;return Be.createElement("div",{key:At,className:Me&&st?b.wrapisCurrent:b.wrap,style:{width:ut,marginRight:(1+Ze)%Je===0?0:tt+We,marginBottom:je}},Be.createElement("a",{className:b.li,onClick:et=>{et.preventDefault(),et.stopPropagation(),Mt&&(0,Ae.L9)([Mt]),(0,Ae.xg)(`/paths/${Gt}`)}},Be.createElement("div",{className:b.img},Be.createElement("img",{className:b.cover,src:`${Re}`}),(Se=Fe==null?void 0:Fe.subject_tags)==null?void 0:Se.map((et,jt)=>{var ct,dn;if(jt===0){const le=(ct=dt.find(ne=>ne.name==et))==null?void 0:ct.swclass;return Be.createElement("span",{className:`sprite ${le} ${b.sign}`,style:{left:"-4px"}})}const bt=(dn=dt.find(le=>le.name==et))==null?void 0:dn.ptclass;return Be.createElement("span",{className:`sprite ${bt} ${b.sign}`,style:{left:`${48+52*(jt-1)+2*jt}px`}})}),Be.createElement("div",{className:b.tagsDom},Be.createElement("div",{className:"flex flex-wrap item-center",style:{gap:"0 6px"}},(Fe==null?void 0:Fe.excellent)&&Be.createElement("div",{className:b.bq},"\u5F00\u653E\u8BFE\u7A0B"),((ue=Fe==null?void 0:Fe.custom_tags)==null?void 0:ue.length)>0&&(Fe==null?void 0:Fe.custom_tags.map((et,jt)=>{var ct;return Be.createElement(de.Z,{title:et==null?void 0:et.tag_name,key:jt},Be.createElement("div",{className:"font12 rounded-2px c-white flex item-center",style:{height:22,padding:"0 6px",maxWidth:((ct=Fe==null?void 0:Fe.custom_tags)==null?void 0:ct.length)>2?"60px":"71px",background:"rgba(48, 97, 208, .6)",border:"1px solid #8FAFF8"}},Be.createElement("span",{className:"multi-llipsis1e"},et==null?void 0:et.tag_name)))})))),kt=="hide"&&(Fe==null?void 0:Fe.studying)&&Me&&Be.createElement("div",{className:`${b.movebq} user-path-items`,onClick:et=>{et.stopPropagation(),se(Fe)}},Be.createElement("i",{className:"iconfont icon-yichu1 font12"}),Be.createElement("span",null,"\u79FB\u9664")),!["notDisplay","collect","payed"].includes(kt)&&Me&&Be.createElement("div",{className:`${b.hiddenbq} user-path-items`,onClick:et=>{et.stopPropagation(),Qe(Fe)}},Be.createElement("i",{className:`iconfont ${kt=="hide"?"icon-chakan2":"icon-yincangtiaojianshezhi"} font12`}),Be.createElement("span",null,kt=="hide"?"\u53D6\u6D88\u9690\u85CF":"\u9690\u85CF"))),Be.createElement("div",{className:b.name},Be.createElement(de.Z,{title:mt&&(Fe!=null&&Fe.excellent_alias_name)?Be.createElement("span",null,`\u8BFE\u7A0B\u539F\u540D\uFF1A${ve}`,Be.createElement("br",null),Be.createElement("span",null,`\u8BFE\u7A0B\u522B\u540D\uFF1A${Fe==null?void 0:Fe.excellent_alias_name}`)):ve},Be.createElement("span",{className:b.e},mt&&(Fe==null?void 0:Fe.excellent_alias_name)||ve))),Me&&st&&((gt=Fe==null?void 0:Fe.progress)==null?void 0:gt.all_score)!=0&&Be.createElement("div",{style:{padding:"0px 10px",color:"#333",marginTop:10}},Be.createElement(rt.Z,{strokeColor:"#44d7b6",gap:"small",percent:(((He=Fe==null?void 0:Fe.progress)==null?void 0:He.my_score)/((ke=Fe==null?void 0:Fe.progress)==null?void 0:ke.all_score)*100).toFixed(),showInfo:!1}),"\u5DF2\u5B8C\u6210 ",(Nt=Fe==null?void 0:Fe.progress)==null?void 0:Nt.my_score,"/",(De=Fe==null?void 0:Fe.progress)==null?void 0:De.all_score),(!Me||!st)&&Be.createElement(de.Z,{title:`\u53D1\u5E03\u5355\u4F4D\uFF1A${pe}`},Be.createElement("div",{className:b.unit},Be.createElement("i",{className:"iconfont icon-danwei1 font14 mr3"}),pe)),(!Me||!st)&&Be.createElement("div",{className:b.tags},Be.createElement("div",null,Be.createElement(de.Z,{placement:"bottom",title:"\u7AE0\u8282\u6570"},Be.createElement("span",null,Be.createElement("i",{className:"iconfont icon-zhangjie1 font14 mr3"}),Be.createElement("span",null,Fe.stages_count))),Be.createElement(de.Z,{placement:"bottom",title:"\u5B66\u4E60\u4EBA\u6570"},Be.createElement("span",null,Be.createElement("i",{className:"iconfont icon-chengyuan font14 mr3"}),Be.createElement("span",null,Fe.members_count)))))))})),!vt.length&&Be.createElement(Ve.Z,null)))}},70467:function(Yn,mn,z){"use strict";z.d(mn,{jL:function(){return rt},w9:function(){return ve},QD:function(){return Ht},cQ:function(){return Ze.Z},op:function(){return ht},O5:function(){return _t},_b:function(){return ft},t7:function(){return We},Gi:function(){return Ue},YG:function(){return pe},qp:function(){return fe},vr:function(){return Xt},qE:function(){return Te},Je:function(){return Ut},wb:function(){return Fe},cq:function(){return bt},tp:function(){return vt}});var b=z(59301),Ce={flex_box_center:"flex_box_center___NeSU8",flex_space_between:"flex_space_between___ImTGl",flex_box_vertical_center:"flex_box_vertical_center___BtRd9",flex_box_center_end:"flex_box_center_end___qcLe3",flex_box_column:"flex_box_column___Ze_3q",banner:"banner___PoUBO",content:"content___XoDjy",btns:"btns___Pb35j"},rt=({dataSource:zt=[],img:Sn,imgWidth:wn=346,title:vn,sunTitle:Rn,bannerExtraContent:Bt})=>b.createElement("div",{className:Ce.banner},b.createElement("div",{className:Ce.content},b.createElement("aside",null,b.createElement("p",null,b.createElement("b",null,vn),b.createElement("span",null,Rn)),zt.length>0&&b.createElement("div",{className:Ce.btns},zt.map((ln,Zt)=>b.createElement("div",{key:Zt,onClick:ln.click},ln.name,ln.sign?b.createElement("span",{className:"sprite sprite-33"}):null))),Bt),Sn&&b.createElement("img",{style:{marginTop:33,marginRight:38},src:Sn,width:wn}))),Oe={flex_box_center:"flex_box_center___hG6RI",flex_space_between:"flex_space_between___ss3Fh",flex_box_vertical_center:"flex_box_vertical_center___K80p9",flex_box_center_end:"flex_box_center_end___qmXX3",flex_box_column:"flex_box_column___GFV8F",row:"row___aXJjm",title:"title___HUKL0",tagsWrap:"tagsWrap___XB2W3",action:"action___VdHb1",bar:"bar___t1kKC",tag:"tag___V7Eft",name:"name___Hk1Ip",num:"num___xQpcH",active:"active___XryTX",tagsBorderWrap:"tagsBorderWrap___OMxjs"},xe=z(92310),Ae=z.n(xe),Ve=z(78267),fe=({dataSource:zt=[],value:Sn,onChange:wn,onTitleChange:vn,className:Rn,title:Bt,titleWidth:ln=41,style:Zt={},fontColor:pn="#6A7283",showCount:cn})=>{const[zn,Ln]=(0,b.useState)(1),[rr,_n]=(0,b.useState)(!1),rn=(0,b.useRef)(null),Fn=(0,b.useRef)(null);return(0,b.useEffect)(()=>{var nn;zt.length!==0&&(((nn=rn==null?void 0:rn.current)==null?void 0:nn.clientHeight)>97?Ln(1):Ln(0)),zt.length===0&&Ln(0),_n(!1)},[zt]),b.createElement("div",{className:Ae()(Oe.row,Rn,"fadeIn","animated"),style:Zt},b.createElement("div",{onClick:(0,Ve.throttle)(()=>vn==null?void 0:vn(),2e3),style:{width:ln,marginTop:rr?12:4},className:`${Oe.title} ${vn?"current":""}`},Bt),b.createElement("div",{className:rr?`${Oe.tagsWrap} ${Oe.tagsBorderWrap}`:Oe.tagsWrap},b.createElement("div",{className:Oe.bar,ref:Fn,style:zn>0?{height:zn===1?97:"auto",overflow:zn===1?"hidden":"auto",paddingRight:55}:{paddingRight:0}},b.createElement("div",{className:Oe.tag,ref:rn},zt==null?void 0:zt.map(nn=>b.createElement("span",{onClick:()=>wn(nn.id),key:nn.id,style:{color:pn},className:Sn===nn.id?Oe.active:""},b.createElement("span",{title:nn.name,className:Oe.name},nn.name),!!cn&&b.createElement("span",{className:Oe.num},nn.count))))),!!zn&&b.createElement(b.Fragment,null,zn===1?b.createElement("div",{onClick:()=>{var nn;Ln(2),((nn=rn==null?void 0:rn.current)==null?void 0:nn.clientHeight)>245?_n(!0):_n(!1)},className:Oe.action},"\u5C55\u5F00",b.createElement("i",{style:{transform:"translateY(1px) scale(0.6)"},className:"iconfont icon-zhankai4"})):b.createElement("div",{onClick:()=>{Fn.current.scrollTop=0,Ln(1),_n(!1)},className:Oe.action},"\u6536\u8D77",b.createElement("i",{style:{transform:"translateY(0px) scale(0.6)"},className:"iconfont icon-shouqi3"})))))},Ge={flex_box_center:"flex_box_center___aK2n3",flex_space_between:"flex_space_between___HX0Oh",flex_box_vertical_center:"flex_box_vertical_center___LJOJr",flex_box_center_end:"flex_box_center_end___SCakF",flex_box_column:"flex_box_column___AYv4m",tabs:"tabs___GTqPV",active:"active___F26E8"},vt=({dataSource:zt=[],value:Sn,onChange:wn,className:vn,style:Rn={}})=>b.createElement("div",{style:Rn,className:Ae()(Ge.tabs,vn)},zt.map(Bt=>b.createElement("span",{onClick:()=>wn(Bt.id),className:Sn===Bt.id?Ge.active:"",key:Bt.id},Bt.name))),Je={flex_box_center:"flex_box_center___yX6Oa",flex_space_between:"flex_space_between___t7oqF",flex_box_vertical_center:"flex_box_vertical_center___dEIHy",flex_box_center_end:"flex_box_center_end___taQDF",flex_box_column:"flex_box_column___xY_Lr",input:"input___PW2zI",dropdown:"dropdown___vSy8B",menu:"menu___NiyBu",text:"text___Grueu",b1:"b1___ZKryM",b2:"b2___aKyGa"},tt=z(37568),We=({dataSource:zt=[],value:Sn="",onChange:wn,onInputChange:vn=()=>{},className:Rn,style:Bt={},placeholder:ln,allowClear:Zt=!1})=>{var pn;const[cn,zn]=(0,b.useState)(""),[Ln,rr]=(0,b.useState)("");(0,b.useEffect)(()=>{var Fn;let nn=Sn;(Fn=JSON.stringify(Sn))!=null&&Fn.includes("{")&&(zn(Sn.id),nn=Sn.value||"");try{rr(decodeURIComponent(nn||""))}catch(er){rr(decodeURIComponent(nn||""))}},[Sn]);const _n=()=>{wn(encodeURIComponent(Ln),cn||null)},rn=Fn=>{Fn!==cn&&(zn(Fn),wn(encodeURIComponent(Ln),Fn))};return b.createElement("div",{className:Ae()(Je.input,Rn),style:Bt},!!zt.length&&b.createElement("div",{className:Je.dropdown},b.createElement("div",{className:Je.text},(pn=zt.find(Fn=>Fn.id===cn))==null?void 0:pn.name,b.createElement("i",{className:"iconfont icon-zhankai4"}),b.createElement("b",{className:Je.b1}),b.createElement("b",{className:Je.b2})),b.createElement("div",{className:Je.menu},zt.map((Fn,nn)=>b.createElement("div",{key:nn,onClick:()=>rn(Fn.id)},Fn.name)))),b.createElement(tt.default,{onPressEnter:_n,value:Ln,onChange:Fn=>{rr(Fn.target.value),vn(encodeURIComponent(Fn.target.value),cn||null)},placeholder:ln,variant:"borderless",allowClear:Zt,onClear:()=>wn("",cn||null)}),b.createElement("i",{onClick:_n,className:"iconfont icon-sousuo9 font14 current"}))},ot={flex_box_center:"flex_box_center___tol8o",flex_space_between:"flex_space_between___Z235C",flex_box_vertical_center:"flex_box_vertical_center___Wq1sZ",flex_box_center_end:"flex_box_center_end___LLxom",flex_box_column:"flex_box_column___DbMSN",quickPager:"quickPager___GM30J",disabled:"disabled___Ozc8I"},Ut=({value:zt,onChange:Sn,className:wn,total:vn,pageSize:Rn,style:Bt={}})=>{const ln=zt<2,Zt=zt>=Math.ceil(vn/Rn);return vn<=Rn?b.createElement(b.Fragment,null):b.createElement("div",{className:Ae()(ot.quickPager,wn),style:Bt},b.createElement("div",{onClick:()=>{ln||Sn(zt-1,"prev")},className:ln?ot.disabled:""},"\u4E0A\u4E00\u9875"),b.createElement("div",{onClick:()=>{Zt||Sn(zt+1,"next")},className:Zt?ot.disabled:""},"\u4E0B\u4E00\u9875"))},se={flex_box_center:"flex_box_center___FO7TP",flex_space_between:"flex_space_between___LotYx",flex_box_vertical_center:"flex_box_vertical_center___bWdaw",flex_box_center_end:"flex_box_center_end___mVJ1o",flex_box_column:"flex_box_column___M83Mm",list:"list___oOsiS",wrap:"wrap___G6T7F",lockWrap:"lockWrap___Rl79E",li:"li___oZZ7l",cover:"cover___b2bYW",img:"img___IQX7w",sign:"sign___HkT6C",name:"name___SsJx8",e:"e___TMqq0",tags:"tags___bcjyo",rate:"rate___YACg7"},Me=z(29787),st=z(25399),mt=z(63139),kt=z(14185),Qe=z(76406),ut=z(90736),Fe=({className:zt,dataSource:Sn=[],col:wn=4,right:vn,bottom:Rn=23,precision:Bt=0,wrapWidth:ln=1200,trackEventItems:Zt,loading:pn})=>{const cn=Math.floor((ln-(wn-1)*vn)/wn);return b.createElement(Me.Z,{spinning:pn},b.createElement("div",{className:Ae()(se.list,zt)},!!Sn.length&&Sn.map((zn,Ln)=>{const{name:rr,id:_n,identifier:rn,power:Fn,cover_image_id:nn,pic:er}=zn;return b.createElement("div",{className:se.wrap,key:_n,style:{width:cn,marginRight:(1+Ln)%wn===0?0:vn+Bt,marginBottom:Rn}},b.createElement("a",{target:"_blank",href:`/shixuns/${rn}/challenges`,className:se.li,onClick:It=>{It.preventDefault(),Zt&&(0,Qe.L9)([Zt]),Fn&&(0,Qe.xg)(`/shixuns/${rn}/challenges`)}},b.createElement("div",{className:se.img},b.createElement("img",{className:se.cover,src:`${er}`}),zn.is_jupyter&&b.createElement("span",{className:`sprite sprite-43 ${se.sign}`}),zn.is_jupyter_lab&&b.createElement("span",{className:`sprite sprite-42 ${se.sign}`}),zn.is_unity_3d&&b.createElement("span",{className:`sprite sprite-44 ${se.sign}`})),b.createElement("div",{className:se.name},b.createElement(st.Z,{title:rr||"\u5B9E\u8DF5\u9879\u76EE\u540D\u79F0-\u672A\u586B\u5199"},b.createElement("span",{className:se.e},rr||"\u5B9E\u8DF5\u9879\u76EE\u540D\u79F0-\u672A\u586B\u5199"))),b.createElement("div",{className:se.tags},b.createElement(st.Z,{placement:"bottom",title:"\u5173\u5361\u6570"},b.createElement("span",null,b.createElement("i",{className:"iconfont icon-shixunguanqia font14 mr2"}),b.createElement("span",null,zn.challenges_count))),!!zn.myshixuns_count&&b.createElement(st.Z,{placement:"bottom",title:"\u5B66\u4E60\u4EBA\u6570"},b.createElement("span",null,b.createElement("i",{className:"iconfont icon-chengyuan font14 mr2"}),b.createElement("span",null,zn.myshixuns_count))),b.createElement(st.Z,{placement:"bottom",title:"\u96BE\u5EA6\u7B49\u7EA7"},b.createElement("span",null,b.createElement("span",null,zn.level))),b.createElement("div",{className:se.rate},b.createElement(mt.Z,{allowHalf:!0,disabled:!0,defaultValue:zn.score_info}),b.createElement("span",null,"\xA0",zn.score_info?`${zn.score_info}\u5206`:"5\u5206")))),!Fn&&b.createElement("div",{className:se.lockWrap},b.createElement("img",{src:`${kt.Z.IMG_SERVER}/images/educoder/icon/lockclose.svg`}),b.createElement("span",{className:"mt15 font16 c-white"},"\u5B9A\u5411\u5F00\u653E\u5185\u5BB9\uFF0C\u9700\u8981\u6388\u6743")))}),!Sn.length&&b.createElement(ut.Z,null)))},Ze=z(54077),Se={flex_box_center:"flex_box_center___eMcr7",flex_space_between:"flex_space_between___HcNca",flex_box_vertical_center:"flex_box_vertical_center___ZnvVN",flex_box_center_end:"flex_box_center_end___fdgDf",flex_box_column:"flex_box_column___SEKvd",list:"list___L1hmU",hidden:"hidden___NniIi",wrap:"wrap___pKgcW",btnsTop:"btnsTop___Lrm6T",lockWrap:"lockWrap___SMhkK",top:"top___udHSB",sign:"sign___uwRpq",name:"name___Fpf90",img:"img___AMLhL",text:"text___KiTb7",btns:"btns___i6IuZ",bottom:"bottom____k2sh"},ue=z(62957),gt=z(96599),He="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAHgAAAB4CAYAAAA5ZDbSAAAAAXNSR0IArs4c6QAAIABJREFUeF7tXWmQXFd1/s59r3t6nX00o93GluV9AQNxiAkIB0OMISFsFQqSA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y8VZm3gqmcSakiTkFQpqZ0kRIy7PMyBBxBowME2WJkQHxCSLaR0z7PMfZl4xiPxFdXaKvAAAADElEQVQVlwOEXvbx/3Bccpan8cseAAAAAElFTkSuQmCC",ke=z(59301),Nt=(zt,Sn,wn)=>new Promise((vn,Rn)=>{var Bt=pn=>{try{Zt(wn.next(pn))}catch(cn){Rn(cn)}},ln=pn=>{try{Zt(wn.throw(pn))}catch(cn){Rn(cn)}},Zt=pn=>pn.done?vn(pn.value):Promise.resolve(pn.value).then(Bt,ln);Zt((wn=wn.apply(zt,Sn)).next())}),ve=({className:zt,dataSource:Sn=[],col:wn=4,right:vn,bottom:Rn=23,precision:Bt=0,wrapWidth:ln=1200,trackEventItems:Zt,loading:pn,category:cn,hiddenClick:zn,handleVery:Ln=()=>!0,isCurrent:rr})=>{const[_n,rn]=ue.default.useModal(),Fn=Math.floor((ln-(wn-1)*vn)/wn),nn=er=>Nt(void 0,null,function*(){_n.confirm({title:"\u7F6E\u9876",width:500,content:ke.createElement("div",null,"\u60A8\u786E\u5B9A\u8981\u5C06",ke.createElement("span",{className:"c-blue"},"\u201C",er.name,"\u201D"),"\u8BFE\u5802\u7F6E\u9876\u5417\uFF1F"),okText:"\u786E\u8BA4\u7F6E\u9876",centered:!0,cancelText:"\u53D6\u6D88"})});return ke.createElement(Me.Z,{spinning:pn},rn,ke.createElement("div",{className:Ae()(Se.list,zt)},!!Sn.length&&Sn.map((er,It)=>{const{subject_identifier:Qt,id:ze,identifier:yt,power:Ye}=er,Ct=er.is_public!=0&&er.is_public;return ke.createElement("div",{className:Se.wrap,key:ze,style:{width:Fn,marginRight:(1+It)%wn===0?0:vn+Bt,marginBottom:Rn}},er.homepage_show&&ke.createElement("div",{className:Se.btnsTop},ke.createElement(gt.default,{color:"red"},"\u7F6E\u9876")),ke.createElement("a",{className:Se.li,onClick:qt=>{qt.preventDefault(),Ln(er==null?void 0:er.first_category_url)&&(Zt&&(0,Qe.L9)([Zt]),(0,Qe.xg)(er.first_category_url))}},ke.createElement("div",{className:Se.top},ke.createElement(st.Z,{title:er.name},ke.createElement("div",{className:Se.name},er.name)),ke.createElement("img",{className:Se.img,src:kt.Z.IMG_SERVER+"/images/"+er.avatar_url}),ke.createElement("div",{className:Se.text,title:er.creator},er.creator),Qt&&ke.createElement("div",{className:Se.btns},ke.createElement("div",null,"\u5F00\u653E\u8BFE\u7A0B"),ke.createElement("aside",null,"\u5F00\u653E\u8BFE\u5802")),Ct&&ke.createElement("div",{className:Se.sign},"\u516C\u5F00"),rr&&ke.createElement("div",{className:Se.hidden,onClick:qt=>{qt.stopPropagation(),zn(er)}},ke.createElement("i",{className:`iconfont ${cn=="hide"?"icon-chakan2":"icon-yincangtiaojianshezhi"} font12`}),cn=="hide"?"\u53D6\u6D88\u9690\u85CF":"\u9690\u85CF")),ke.createElement("div",{className:Se.bottom},er.visits>0&&ke.createElement(st.Z,{title:"\u8BBF\u95EE\u91CF",placement:"bottom"},ke.createElement("span",null,ke.createElement("i",{className:"iconfont icon-liulanyan"}),ke.createElement("span",null,er.visits))),er.course_members_count>0&&ke.createElement(st.Z,{title:"\u6210\u5458",placement:"bottom"},ke.createElement("span",null,ke.createElement("i",{className:"iconfont icon-chengyuan"}),er.course_members_count)),er.tasks_count>0&&ke.createElement(st.Z,{title:"\u4F5C\u4E1A",placement:"bottom"},ke.createElement("span",null,ke.createElement("i",{className:"iconfont icon-zuoye"}),er.tasks_count)),er.is_end?ke.createElement("div",{style:{color:"#6B758B"}}):ke.createElement("div",{style:{color:"#00B187"}},"\u8FDB\u884C\u4E2D"))),!er.is_accessible&&ke.createElement("div",{className:Se.lockWrap},ke.createElement("img",{src:`${kt.Z.IMG_SERVER}/images/educoder/icon/lockclose.svg`}),ke.createElement("span",{className:"mt15 font16 c-white"},"\u975E\u8BFE\u5802\u6210\u5458\u4E0D\u53EF\u8FDB\u5165")))}),!Sn.length&&ke.createElement(ut.Z,null)))},At={flex_box_center:"flex_box_center___d27mZ",flex_space_between:"flex_space_between___qfRU9",flex_box_vertical_center:"flex_box_vertical_center___fCRld",flex_box_center_end:"flex_box_center_end___ORMV8",flex_box_column:"flex_box_column___PNKtZ",tabs:"tabs___alpa7",tabsWrap:"tabsWrap___aCQjw",tab:"tab___MKLr4",active:"active___nl_4v"},Gt=z(44283),pe=({dataSource:zt=[],value:Sn,onChange:wn,className:vn,style:Rn={},tabBarExtraContent:Bt})=>b.createElement("div",{className:Ae()(At.tabs,vn),style:Rn},b.createElement("div",{className:At.tabsWrap},zt.map((ln,Zt)=>!(ln!=null&&ln.hide)&&b.createElement("aside",{className:At.tab,onClick:()=>{wn(ln.id),ln.link&&Gt.history.push(ln.link)},key:Zt},b.createElement("div",{className:Sn===ln.id?At.active:""},ln.name),(ln==null?void 0:ln.resetCount)==null&&(ln==null?void 0:ln.total)!==void 0&&b.createElement("span",null,"\uFF08",ln==null?void 0:ln.total,"\uFF09"),(ln==null?void 0:ln.resetCount)!==void 0&&(ln==null?void 0:ln.total)!==void 0&&b.createElement(st.Z,{title:(ln==null?void 0:ln.tip)!=null?ln==null?void 0:ln.tip:""},b.createElement("span",{style:{color:"#9096A3"}},"\uFF08",b.createElement("span",{style:{color:"#000"}},ln==null?void 0:ln.resetCount),"/",b.createElement("span",null,ln==null?void 0:ln.total),"\uFF09"))))),b.createElement("div",{className:At.tabBar},Bt)),Ue=({className:zt,style:Sn={},children:wn})=>b.createElement("div",{className:Ae()(zt),style:Sn},wn),Jt={flex_box_center:"flex_box_center___e6HxQ",flex_space_between:"flex_space_between___RnXYe",flex_box_vertical_center:"flex_box_vertical_center___lVxPk",flex_box_center_end:"flex_box_center_end___bu8yv",flex_box_column:"flex_box_column___JczGj",orderWrap:"orderWrap___ZfyGX",orderIconWrap:"orderIconWrap___XTB_O",orderAsc:"orderAsc___KWHmA",orderDesc:"orderDesc___rHdbB",active:"active___a7eSP",cursorPointer:"cursorPointer___gs9kL",orderTextWrap:"orderTextWrap___teAKn"},et=z(75727),jt=z(93041);const ct=[{id:"updated_at",name:"\u6700\u65B0\u52A8\u6001"},{id:"created_at",name:"\u6700\u65B0\u521B\u5EFA"},{id:"name",name:"\u540D\u79F0\u6392\u5E8F"}];var bt=({sortValue:zt,dropValue:Sn,className:wn,onSort:vn,onDrop:Rn,dataSource:Bt=ct})=>{var ln;return b.createElement("div",{className:Ae()(Jt.orderWrap,wn)},b.createElement(et.Z,{dropdownRender:()=>b.createElement(jt.default,null,Bt.map((Zt,pn)=>b.createElement(jt.default.Item,{key:pn,onClick:()=>Rn(Zt.id)},Zt.name)))},b.createElement("span",{className:Jt.orderTextWrap},(ln=Bt.find(Zt=>Sn===Zt.id))==null?void 0:ln.name)),b.createElement("span",{className:Jt.orderIconWrap},b.createElement("span",{className:Jt.orderAsc},b.createElement("i",{className:zt==="asc"?`iconfont icon-sanjiaoxing-up font12 ${Jt.cursorPointer} ${Jt.active}`:`iconfont icon-sanjiaoxing-up font12 ${Jt.cursorPointer}`,onClick:()=>vn(zt==="asc"?"desc":"asc")})),b.createElement("span",{className:Jt.orderDesc},b.createElement("i",{className:zt==="desc"?`iconfont icon-sanjiaoxing-down font12 ${Jt.cursorPointer} ${Jt.active}`:`iconfont icon-sanjiaoxing-down font12 ${Jt.cursorPointer}`,onClick:()=>vn(zt==="asc"?"desc":"asc")}))))},le={flex_box_center:"flex_box_center___LCi0B",flex_space_between:"flex_space_between___hzONe",flex_box_vertical_center:"flex_box_vertical_center___ZyQRE",flex_box_center_end:"flex_box_center_end___XKM74",flex_box_column:"flex_box_column___p8LCU",btn:"btn___In02G","mediacy-round":"mediacy-round___uveEv","mediacy-default":"mediacy-default___dDxsd",default:"default___K791v"},ne=z(7939),te=Object.defineProperty,ae=Object.getOwnPropertySymbols,he=Object.prototype.hasOwnProperty,re=Object.prototype.propertyIsEnumerable,ce=(zt,Sn,wn)=>Sn in zt?te(zt,Sn,{enumerable:!0,configurable:!0,writable:!0,value:wn}):zt[Sn]=wn,Pe=(zt,Sn)=>{for(var wn in Sn||(Sn={}))he.call(Sn,wn)&&ce(zt,wn,Sn[wn]);if(ae)for(var wn of ae(Sn))re.call(Sn,wn)&&ce(zt,wn,Sn[wn]);return zt},lt=(zt,Sn)=>{var wn={};for(var vn in zt)he.call(zt,vn)&&Sn.indexOf(vn)<0&&(wn[vn]=zt[vn]);if(zt!=null&&ae)for(var vn of ae(zt))Sn.indexOf(vn)<0&&re.call(zt,vn)&&(wn[vn]=zt[vn]);return wn},$e=(zt,Sn,wn)=>new Promise((vn,Rn)=>{var Bt=pn=>{try{Zt(wn.next(pn))}catch(cn){Rn(cn)}},ln=pn=>{try{Zt(wn.throw(pn))}catch(cn){Rn(cn)}},Zt=pn=>pn.done?vn(pn.value):Promise.resolve(pn.value).then(Bt,ln);Zt((wn=wn.apply(zt,Sn)).next())}),ht=zt=>{var Sn=zt,{className:wn,style:vn,children:Rn,loading:Bt=!1,openLoading:ln,onClick:Zt=()=>{},size:pn="middle",shape:cn="round"}=Sn,zn=lt(Sn,["className","style","children","loading","openLoading","onClick","size","shape"]);const[Ln,rr]=(0,b.useState)(!1);return b.createElement(ne.ZP,Pe({onClick:(0,Ve.throttle)(_n=>$e(void 0,null,function*(){ln&&rr(!0);try{yield Zt(_n)}catch(rn){console.log("error",rn)}ln&&rr(!1)}),2e3,{leading:!0,trailing:!1}),className:Ae()(le.btn,le[`${pn}-${cn}`],wn),style:vn,size:pn,shape:cn,loading:Ln||Bt},zn),Rn)},Et={flex_box_center:"flex_box_center___TB7bQ",flex_space_between:"flex_space_between___oBlTb",flex_box_vertical_center:"flex_box_vertical_center___b5XbB",flex_box_center_end:"flex_box_center_end___CNhe7",flex_box_column:"flex_box_column___yHXKW",head:"head___ghH72",node:"node___mjPEy"},Te=({className:zt,style:Sn,children:wn=null,onClick:vn,title:Rn})=>b.createElement("div",{className:Ae()(Et.head,zt),style:Sn},b.createElement("span",{className:"primary-hover",onClick:vn},b.createElement("i",{className:"iconfont icon-fanhui2 font12"}),"\u8FD4\u56DE"),b.createElement("b",{title:Rn},Rn),b.createElement("div",{className:Et.node},wn)),Ke={flex_box_center:"flex_box_center___AlHuF",flex_space_between:"flex_space_between___vN2LW",flex_box_vertical_center:"flex_box_vertical_center___Ac7D2",flex_box_center_end:"flex_box_center_end___y38I7",flex_box_column:"flex_box_column___iQE6P",btns:"btns___sNgTb",confirm:"confirm___Ozirl",cancel:"cancel___aiq1I"},Ht=({confirmShow:zt=!0,confirmTitle:Sn,confirmClick:wn,cancelShow:vn=!0,cancelTitle:Rn,cancelClick:Bt,className:ln,style:Zt,confirmLoading:pn=!1})=>b.createElement("div",{className:Ae()(Ke.btns,ln),style:Zt},zt&&b.createElement(ne.ZP,{loading:pn,onClick:wn,type:"primary",className:Ke.confirm},Sn),vn&&b.createElement(ne.ZP,{onClick:Bt,className:Ke.cancel},Rn)),bn={flex_box_center:"flex_box_center___jkpdr",flex_space_between:"flex_space_between___OtsL8",flex_box_vertical_center:"flex_box_vertical_center___rbcb_",flex_box_center_end:"flex_box_center_end___zBR21",flex_box_column:"flex_box_column___nS_eP",fixedBottom:"fixedBottom___oJl7m",wrap:"wrap___A3Oq1",center:"center____VL1y"},Xt=({className:zt,style:Sn={},LeftContent:wn,children:vn,RightContent:Rn})=>b.createElement("div",{className:Ae()(bn.fixedBottom,zt),style:Sn},b.createElement("div",{className:bn.wrap},b.createElement("div",{className:bn.left},wn),b.createElement("div",{className:bn.center},vn),b.createElement("div",{className:bn.right},Rn))),on={flex_box_center:"flex_box_center___tY8Yn",flex_space_between:"flex_space_between___vHdYA",flex_box_vertical_center:"flex_box_vertical_center___pa61F",flex_box_center_end:"flex_box_center_end___HyDXt",flex_box_column:"flex_box_column___UjZek",crumbs:"crumbs___V41Oe",hover:"hover___bEIVd"},ft=({className:zt,style:Sn={},dataSource:wn=[]})=>b.createElement("div",{className:Ae()(on.crumbs,zt),style:Sn},wn.map((vn,Rn)=>Rn<wn.length-1?b.createElement(b.Fragment,{key:Rn},vn.path||vn.onClick?b.createElement("span",{className:on.hover,onClick:vn!=null&&vn.onClick?vn.onClick:()=>Gt.history.push(vn.path)},vn.name):b.createElement("span",null,vn.name),b.createElement("span",null,"\xA0",">","\xA0")):b.createElement("span",{key:Rn,style:{color:"#5F6368"}},vn.name))),Yt=z(11938),xn=Object.defineProperty,St=Object.defineProperties,_e=Object.getOwnPropertyDescriptors,Vt=Object.getOwnPropertySymbols,tn=Object.prototype.hasOwnProperty,un=Object.prototype.propertyIsEnumerable,Tn=(zt,Sn,wn)=>Sn in zt?xn(zt,Sn,{enumerable:!0,configurable:!0,writable:!0,value:wn}):zt[Sn]=wn,qn=(zt,Sn)=>{for(var wn in Sn||(Sn={}))tn.call(Sn,wn)&&Tn(zt,wn,Sn[wn]);if(Vt)for(var wn of Vt(Sn))un.call(Sn,wn)&&Tn(zt,wn,Sn[wn]);return zt},mr=(zt,Sn)=>St(zt,_e(Sn)),vr=(zt,Sn)=>{var wn={};for(var vn in zt)tn.call(zt,vn)&&Sn.indexOf(vn)<0&&(wn[vn]=zt[vn]);if(zt!=null&&Vt)for(var vn of Vt(zt))Sn.indexOf(vn)<0&&un.call(zt,vn)&&(wn[vn]=zt[vn]);return wn};const{Countdown:Jn}=Yt.default;var _t=zt=>{var Sn=zt,{onChange:wn}=Sn,vn=vr(Sn,["onChange"]);const[Rn,Bt]=(0,b.useState)(null);(0,b.useEffect)(()=>{typeof Rn=="number"&&Rn>=0&&wn(Rn)},[Rn]);const ln=Zt=>{const pn=Math.floor(Zt/1e3);Bt(pn)};return b.createElement(Jn,mr(qn({},vn),{onChange:ln}))}},79006:function(Yn,mn,z){"use strict";z.d(mn,{Z:function(){return Ce}});var b=z(59301);function Ce(de,rt){const Oe=(0,b.useRef)();(0,b.useEffect)(()=>{Oe.current=de}),(0,b.useEffect)(()=>{function xe(){Oe.current()}if(rt!==null){let Ae=setInterval(xe,rt);return()=>clearInterval(Ae)}},[rt])}},82534:function(Yn,mn,z){"use strict";z.r(mn),z.d(mn,{default:function(){return Rn}});var b=z(59301),Ce={card:"card___c4ypw",head:"head___d2Dfo",element:"element___PyfcV",collaborator:"collaborator___o6MF4",btn:"btn___CF6mw",delSty:"delSty___Wm5pj",delBorder:"delBorder___IVg2Z",copHover:"copHover___rNmmw",wrap:"wrap___feope",center:"center___uU09V",tip:"tip___yCX57",title:"title___OpV1r",content:"content___XU4yH",fixedBtns:"fixedBtns___ItSdd"},de=z(92310),rt=z.n(de),Oe=z(70467),xe=z(39116),Ae=z(77019),Ve=z(7939),Be=z(62957),fe=z(37568),Ge=z(70858),be=z(28284),vt=z(25399),Je=z(4875),tt=z(6767),je=z(29787),We=z(62673),ot=z(47889),Mt=z(24017),Ut=z(76406),se=z(44283),Me=z(56082),st=z(87954),mt=z(18257),kt=z(19719),Qe=z(35241),ut=z(90736),dt=Object.defineProperty,Fe=Object.defineProperties,Ze=Object.getOwnPropertyDescriptors,Se=Object.getOwnPropertySymbols,ue=Object.prototype.hasOwnProperty,gt=Object.prototype.propertyIsEnumerable,He=(Bt,ln,Zt)=>ln in Bt?dt(Bt,ln,{enumerable:!0,configurable:!0,writable:!0,value:Zt}):Bt[ln]=Zt,ke=(Bt,ln)=>{for(var Zt in ln||(ln={}))ue.call(ln,Zt)&&He(Bt,Zt,ln[Zt]);if(Se)for(var Zt of Se(ln))gt.call(ln,Zt)&&He(Bt,Zt,ln[Zt]);return Bt},Nt=(Bt,ln)=>Fe(Bt,Ze(ln));const De=b.createContext({}),ve=()=>{const{setActivatorNodeRef:Bt,listeners:ln}=(0,b.useContext)(De);return b.createElement(Ve.ZP,ke({type:"text",size:"small",icon:b.createElement(vt.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"},b.createElement(Me.Z,null)),style:{cursor:"move"},ref:Bt},ln))},At=Bt=>{const{attributes:ln,listeners:Zt,setNodeRef:pn,setActivatorNodeRef:cn,transform:zn,transition:Ln,isDragging:rr}=(0,kt.nB)({id:Bt["data-row-key"]}),_n=ke(Nt(ke({},Bt.style),{transform:Qe.ux.Translate.toString(zn),transition:Ln}),rr?{position:"relative",zIndex:99}:{}),rn=(0,b.useMemo)(()=>({setActivatorNodeRef:cn,listeners:Zt}),[cn,Zt]);return b.createElement(De.Provider,{value:rn},b.createElement("tr",ke(Nt(ke({},Bt),{ref:pn,style:_n}),ln)))};var Wt=({columns:Bt,dataSource:ln,setDataSource:Zt,loading:pn})=>{const cn=({active:zn,over:Ln})=>{zn.id!==(Ln==null?void 0:Ln.id)&&Zt(rr=>{const _n=rr.findIndex(Fn=>Fn.id===(zn==null?void 0:zn.id)),rn=rr.findIndex(Fn=>Fn.id===(Ln==null?void 0:Ln.id));return(0,kt.Rp)(rr,_n,rn)})};return b.createElement(st.LB,{modifiers:[mt.DL],onDragEnd:cn},b.createElement(kt.Fo,{items:ln.map(zn=>zn.id),strategy:kt.qw},b.createElement(Ge.default,{pagination:!1,scroll:{y:400},rowKey:"id",loading:pn,locale:{emptyText:b.createElement(ut.Z,{styles:{margin:"80px auto"},customText:b.createElement("span",null,"\u8FD8\u6CA1\u6709\u8BD5\u9898\uFF0C\u8BF7\u4ECE",b.createElement("span",{style:{color:"#CA7720"}},"\u53F3\u4E0A\u89D2\u64CD\u4F5C\u6309\u94AE"),"\u8FDB\u884C\u6DFB\u52A0\uFF5E")})},dataSource:ln,components:{body:{row:At}},columns:[{key:"sort",align:"center",width:80,render:()=>b.createElement(ve,null)},...Bt],size:"middle"})))},pe=z(31691),Re=z(79939),Ue=z(82326),Jt=z(53420),et=z(31709),jt=z(49317),ct={flex_box_center:"flex_box_center___Iqqr9",flex_space_between:"flex_space_between___y0uZc",flex_box_vertical_center:"flex_box_vertical_center___akeKA",flex_box_center_end:"flex_box_center_end___DEJG9",flex_box_column:"flex_box_column___pgYr1",scoremodal:"scoremodal___PYXCN",selectWrapper:"selectWrapper___RNoPX",selectWrappers:"selectWrappers___fUTXA",allqingchu:"allqingchu___k6Qgb",title:"title___AAfdA",score:"score___oYtrM",close:"close___i8V3V",content:"content___JpTOI",items:"items___je5K0",bottom:"bottom___jjylc",yes:"yes___Wh4La",no:"no___fIya2",titlecount:"titlecount___pZQaF",add:"add___hT0xx",search:"search___WBmWG",searchIcon:"searchIcon___LgZF_",tabWrap:"tabWrap___lGZ3A",previewModal:"previewModal___jPoO2"},dn=z(44192),bt={flex_box_center:"flex_box_center____Tkex",flex_space_between:"flex_space_between___EZnYm",flex_box_vertical_center:"flex_box_vertical_center___e6Uyw",flex_box_center_end:"flex_box_center_end___FubGu",flex_box_column:"flex_box_column___ibm4g",warp:"warp___IgClr",shixunbutton:"shixunbutton___DTP9s",redio:"redio___wfYmJ",redioitem:"redioitem___Lx8l8",redioitemyes:"redioitemyes___KKsIv",title:"title___GXJmE",titleyes:"titleyes___yYOlS",yestag:"yestag___WQlWV",qcount:"qcount___QpuQ9",score:"score___WkTL9",qtitle:"qtitle___TQM3w",checkbox:"checkbox___XWcyb",checkboxitem:"checkboxitem___eUzWD",checkboxitemyes:"checkboxitemyes___LOyRE",bottom:"bottom___IKM1j",bottomitem:"bottomitem___TaUK6",left:"left___szEjt",right:"right___XEuVG",completion:"completion___bVp0S",content:"content___R3KZ7",items:"items___DCx2v",simple:"simple___GPeTT",shixun:"shixun___hhixj",combination:"combination___toZnZ",program:"program___alaBk"},le=z(35883),ne=z(24334);const te=["A\uFF0E","B\uFF0E","C\uFF0E","D\uFF0E","E\uFF0E","F\uFF0E","G\uFF0E","H\uFF0E","I\uFF0E","J\uFF0E","K\uFF0E","L\uFF0E","M\uFF0E","N\uFF0E","O\uFF0E","P\uFF0E","Q\uFF0E","R\uFF0E","S\uFF0E","T\uFF0E","U\uFF0E","V\uFF0E","W\uFF0E","X\uFF0E","Y\uFF0E","Z\uFF0E"];var he=({qitem:Bt})=>{var ln,Zt,pn,cn,zn,Ln,rr,_n,rn,Fn;return b.createElement("div",{className:bt.warp},b.createElement("div",{className:bt.mainPart},b.createElement("div",{className:bt.qcount},(Bt==null?void 0:Bt.question_type)===8&&b.createElement(le.Z,{className:bt.content,showProgramFill:!0,value:(ln=Bt==null?void 0:Bt.program_attr)==null?void 0:ln.description}),(Bt==null?void 0:Bt.question_type)!=8&&b.createElement(le.Z,{className:bt.qtitle,value:(Bt==null?void 0:Bt.name)||(Bt==null?void 0:Bt.title)})),((Bt==null?void 0:Bt.question_type)===0||(Bt==null?void 0:Bt.question_type)===2)&&b.createElement("div",null,(Zt=Bt==null?void 0:Bt.choices)==null?void 0:Zt.map((nn,er)=>b.createElement("div",{className:bt.redio},!(nn!=null&&nn.is_answer)&&b.createElement("span",{className:bt.redioitem}),(nn==null?void 0:nn.is_answer)&&b.createElement("i",{className:`${bt.redioitemyes} icon-duigou1`}),b.createElement(le.Z,{className:nn!=null&&nn.is_answer?bt.titleyes:bt.title,value:te[er]+(nn==null?void 0:nn.choice_text)}),(nn==null?void 0:nn.is_answer)&&b.createElement("div",{className:bt.yestag},"\u6B63\u786E\u7B54\u6848")))),(Bt==null?void 0:Bt.question_type)===1&&b.createElement("div",null,(pn=Bt==null?void 0:Bt.choices)==null?void 0:pn.map((nn,er)=>b.createElement("div",{className:bt.checkbox},!(nn!=null&&nn.is_answer)&&b.createElement("span",{className:bt.checkboxitem}),(nn==null?void 0:nn.is_answer)&&b.createElement("i",{className:`${bt.checkboxitemyes} icon-duigou1`}),b.createElement(le.Z,{className:nn!=null&&nn.is_answer?bt.titleyes:bt.title,value:te[er]+(nn==null?void 0:nn.choice_text)}),(nn==null?void 0:nn.is_answer)&&b.createElement("div",{className:bt.yestag},"\u6B63\u786E\u7B54\u6848")))),(Bt==null?void 0:Bt.question_type)===3&&b.createElement("div",{className:bt.completion},(cn=Bt==null?void 0:Bt.standard_answer)==null?void 0:cn.map((nn,er)=>{var It;return b.createElement("div",{style:{display:"flex"}},b.createElement("span",{className:bt.title},"\u586B\u7A7A\u9879",er+1),b.createElement("div",{className:bt.content},(It=nn==null?void 0:nn.answer_text)==null?void 0:It.map((Qt,ze)=>b.createElement("div",{className:bt.items},Qt))))})),(Bt==null?void 0:Bt.question_type)===4&&b.createElement("div",{className:bt.simple},b.createElement("div",{className:bt.title},"\u53C2\u8003\u7B54\u6848"),b.createElement("div",{className:"mt10",style:{fontSize:"16px"}},(zn=Bt==null?void 0:Bt.answer_texts)!=null&&zn[0]?b.createElement(le.Z,{className:bt.content,value:(Ln=Bt==null?void 0:Bt.answer_texts)==null?void 0:Ln[0]}):b.createElement("div",{style:{color:"#C1C1C1"}},"\u6682\u672A\u8BBE\u7F6E~"))),(Bt==null?void 0:Bt.question_type)===5&&((rr=Bt==null?void 0:Bt.challenge_names)==null?void 0:rr.map((nn,er)=>b.createElement("div",{className:bt.shixun},b.createElement("span",{className:bt.qtitle},b.createElement("span",{style:{marginRight:10}},"\u7B2C",(0,Ut.EM)(er+1),"\u9898"),nn)))),(Bt==null?void 0:Bt.question_type)===6&&b.createElement("div",{className:bt.program},b.createElement(le.Z,{className:bt.content,value:((_n=Bt==null?void 0:Bt.program_attr)==null?void 0:_n.description)||"- -"})),(Bt==null?void 0:Bt.question_type)===7&&((rn=Bt==null?void 0:Bt.sub_item_banks)==null?void 0:rn.map((nn,er)=>{var It,Qt,ze,yt,Ye;return b.createElement("div",null,b.createElement("div",{className:bt.combination},b.createElement("span",{className:bt.qtitle},nn==null?void 0:nn.name)),b.createElement("div",{className:bt.warp,style:{padding:"0px",paddingTop:20}},b.createElement("div",null,((nn==null?void 0:nn.item_type)=="SINGLE"||(nn==null?void 0:nn.item_type)=="JUDGMENT")&&((It=nn==null?void 0:nn.choices)==null?void 0:It.map((Ct,qt)=>b.createElement("div",{className:bt.redio},!(Ct!=null&&Ct.is_answer)&&b.createElement("span",{className:bt.redioitem}),(Ct==null?void 0:Ct.is_answer)&&b.createElement("i",{className:`${bt.redioitemyes} icon-duigou1`}),b.createElement(le.Z,{className:Ct!=null&&Ct.is_answer?bt.titleyes:bt.title,value:te[qt]+(Ct==null?void 0:Ct.choice_text)}),(Ct==null?void 0:Ct.is_answer)&&b.createElement("div",{className:bt.yestag},"\u6B63\u786E\u7B54\u6848")))),(nn==null?void 0:nn.item_type)=="MULTIPLE"&&((Qt=nn==null?void 0:nn.choices)==null?void 0:Qt.map((Ct,qt)=>b.createElement("div",{className:bt.checkbox},!(Ct!=null&&Ct.is_answer)&&b.createElement("span",{className:bt.checkboxitem}),(Ct==null?void 0:Ct.is_answer)&&b.createElement("i",{className:`${bt.checkboxitemyes} icon-duigou1`}),b.createElement(le.Z,{className:Ct!=null&&Ct.is_answer?bt.titleyes:bt.title,value:te[qt]+(Ct==null?void 0:Ct.choice_text)}),(Ct==null?void 0:Ct.is_answer)&&b.createElement("div",{className:bt.yestag},"\u6B63\u786E\u7B54\u6848")))),(nn==null?void 0:nn.item_type)=="COMPLETION"&&b.createElement("div",{className:bt.completion},(ze=nn==null?void 0:nn.standard_answer)==null?void 0:ze.map((Ct,qt)=>{var nr;return b.createElement("div",{style:{display:"flex"}},b.createElement("span",{className:bt.title},"\u586B\u7A7A\u9879",qt+1),b.createElement("div",{className:bt.content},(nr=Ct==null?void 0:Ct.answer_text)==null?void 0:nr.map((ar,pt)=>b.createElement("div",{className:bt.items},ar))))})),(nn==null?void 0:nn.item_type)=="SUBJECTIVE"&&b.createElement("div",{className:bt.simple},b.createElement("div",{className:bt.title},"\u53C2\u8003\u7B54\u6848"),b.createElement("div",{className:"mt10",style:{fontSize:"16px"}},(yt=nn==null?void 0:nn.answer_texts)!=null&&yt[0]?b.createElement(le.Z,{className:bt.content,value:(Ye=nn==null?void 0:nn.answer_texts)==null?void 0:Ye[0]}):b.createElement("div",{style:{color:"#C1C1C1"}},"\u6682\u672A\u8BBE\u7F6E~"))))))})),(Bt==null?void 0:Bt.question_type)===8&&b.createElement("div",null,b.createElement(le.Z,{disabledFill:!0,className:bt.content,showProgramFill:!0,value:ne.Base64.decode(((Fn=Bt==null?void 0:Bt.program_attr)==null?void 0:Fn.code)||"")})),(Bt==null?void 0:Bt.question_type)===5&&b.createElement("div",{style:{background:"#F6F7F9",padding:"0px 20px",height:46,lineHeight:"46px",marginTop:40,display:"flex",alignItems:"center"}},b.createElement("div",{style:{flex:1,alignItems:"center",display:"flex"}},b.createElement("div",{style:{marginRight:30}},b.createElement("span",{style:{marginRight:10}},"\u521B\u5EFA\u8005"),b.createElement("span",{style:{color:"#000000"}},(Bt==null?void 0:Bt.author_name)||"- -")),b.createElement("div",{style:{marginRight:30}},b.createElement("span",{style:{marginRight:10}},"\u6240\u5C5E\u5355\u4F4D"),b.createElement("span",{style:{color:"#000000"}},(Bt==null?void 0:Bt.author_school_name)||"- -")),b.createElement("div",{style:{marginRight:30}},b.createElement("span",{style:{marginRight:10}},"\u5B66\u4E60\u4EBA\u6570"),b.createElement("span",{style:{color:"#000000"}},(Bt==null?void 0:Bt.study_count)||"0"))),b.createElement("a",{className:bt.shixunbutton,href:`/shixuns/${Bt==null?void 0:Bt.identifier}/challenges?exercise=true`,target:"_blank"},b.createElement("i",{onClick:()=>{},style:{marginRight:20},className:"iconfont icon-shixunkecheng mr5 "}),"\u5B9E\u8BAD\u8BE6\u60C5"))),((Bt==null?void 0:Bt.question_type)<=4||[6,8].includes(Bt==null?void 0:Bt.question_type))&&b.createElement("div",{className:bt.bottom},b.createElement("div",{className:bt.bottomitem},b.createElement("span",{className:bt.left},"\u89E3\u6790"),b.createElement("span",{className:bt.right},Bt!=null&&Bt.analysis?b.createElement(le.Z,{value:Bt==null?void 0:Bt.analysis}):b.createElement("span",{style:{color:"#C1C1C1"}},"\u6682\u672A\u8BBE\u7F6E~"))),b.createElement("div",{className:bt.bottomitem},b.createElement("span",{className:bt.left},"\u96BE\u5EA6"),b.createElement("span",{className:bt.right},(Bt==null?void 0:Bt.difficulty)===1?"\u7B80\u5355":(Bt==null?void 0:Bt.difficulty)===2?"\u9002\u4E2D":"\u56F0\u96BE")),b.createElement("div",{className:bt.bottomitem},b.createElement("span",{className:bt.left},"\u77E5\u8BC6\u70B9"),b.createElement("span",{className:bt.right},Bt!=null&&Bt.tag_discipline?Bt==null?void 0:Bt.tag_discipline:b.createElement("span",{style:{color:"#C1C1C1"}},"\u6682\u672A\u8BBE\u7F6E~")))))},re=z(77264),ce=z(59435),Pe=z(46861),lt=z(61485),$e=z(30935),Ie=z(59301),ht=Object.defineProperty,Et=Object.defineProperties,Rt=Object.getOwnPropertyDescriptors,Te=Object.getOwnPropertySymbols,Ke=Object.prototype.hasOwnProperty,yn=Object.prototype.propertyIsEnumerable,Ht=(Bt,ln,Zt)=>ln in Bt?ht(Bt,ln,{enumerable:!0,configurable:!0,writable:!0,value:Zt}):Bt[ln]=Zt,bn=(Bt,ln)=>{for(var Zt in ln||(ln={}))Ke.call(ln,Zt)&&Ht(Bt,Zt,ln[Zt]);if(Te)for(var Zt of Te(ln))yn.call(ln,Zt)&&Ht(Bt,Zt,ln[Zt]);return Bt},fn=(Bt,ln)=>Et(Bt,Rt(ln)),Xt=(Bt,ln,Zt)=>new Promise((pn,cn)=>{var zn=_n=>{try{rr(Zt.next(_n))}catch(rn){cn(rn)}},Ln=_n=>{try{rr(Zt.throw(_n))}catch(rn){cn(rn)}},rr=_n=>_n.done?pn(_n.value):Promise.resolve(_n.value).then(zn,Ln);rr((Zt=Zt.apply(Bt,ln)).next())});const on=({setScoreShow:Bt,ScoreShow:ln,onOk:Zt,isshixuns:pn,isloadings:cn,dispatch:zn,selectedIds:Ln,user:rr,virtualId:_n,shixunsDetail:rn})=>{var Fn;let[nn,er]=(0,b.useState)({type:"0",page:1,per_page:10,updated_at:"",quotes:"",item_type:"PROGRAM"}),[It,Qt]=(0,b.useState)([]),[ze,yt]=(0,b.useState)([]),[Ye,Ct]=(0,b.useState)([]),[qt,nr]=(0,b.useState)([]);const[ar,pt]=(0,b.useState)(!1),[xt]=be.default.useForm(),[Pt,Kt]=(0,b.useState)(),[In,Zn]=(0,b.useState)(!1);let[kn,Un]=(0,b.useState)(pn);const[pr,Ar]=(0,b.useState)([]),[Vr,Br]=(0,b.useState)(0),[fr,Pr]=(0,b.useState)(!0),[kr,Jr]=(0,b.useState)([]),[Xr,vo]=(0,b.useState)([]),yr=[{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}],[ur,gr]=(0,b.useState)([]),no=(0,b.useRef)(new Set),Kr=(0,b.useRef)(new Set),wr=(0,b.useRef)(1),Rr=[{name:"\u7B80\u5355",value:1},{name:"\u9002\u4E2D",value:2},{name:"\u56F0\u96BE",value:3}],mo=[{name:"\u521D\u7EA7",value:1},{name:"\u4E2D\u7EA7",value:2},{name:"\u4E2D\u9AD8\u7EA7",value:3},{name:"\u9AD8\u7EA7",value:4}],$r=[{name:"\u672A\u53D1\u5E03",value:"unpublish"},{name:"\u9759\u9ED8\u53D1\u5E03",value:"silent_publish"},{name:"\u516C\u5F00\u53D1\u5E03",value:"public_publish"}],[qr,eo]=(0,b.useState)(!1),ko=()=>{xt.resetFields(),kn=!1,Un(!1),eo(!1),xt.submit()};(0,b.useEffect)(()=>{ln&&(xt.setFieldsValue({item_type:"",courseid:null,tag_discipline_id:null,difficulty:null,keyword:null,teach_group_id:null}),fr&&kn&&(xt.setFieldsValue({item_type:"SHIXUN"}),nn.item_type="SHIXUN",er(bn({},nn)),Pr(!1)),nn.type="0",yt(Ln),Ct(Ln),Kr.current=new Set(Ln),_o(nn),qo(),Lo({group_id:0,page:1,per_page:20,sort_by:"updated_at",sort_direction:"desc",type:"0"}),ii())},[ln]),console.log(ze,Ye,"listitems"),(0,b.useEffect)(()=>{Vr>0&&setTimeout(()=>{Br(0)},2e3)},[Vr]);function _o(it){return Xt(this,null,function*(){var Ft,en,On;if(pt(!0),er(bn({},it)),(Ye==null?void 0:Ye.length)<=0&&it.type==="5"){nr([]),pt(!1);return}let Wn=it.type==="5"?Ye==null?void 0:Ye.filter(br=>!pr.includes(br)):null,Dn=it.type==="5"?Ye==null?void 0:Ye.filter(br=>pr.includes(br)):null;wr.current=wr.current+1;const jn=wr.current;let $n={course_discipline_id:it==null?void 0:it.courseid};(it==null?void 0:it.type)==="1"&&($n={discipline_id:((Ft=it==null?void 0:it.courseid)==null?void 0:Ft[0])||null,sub_discipline_id:((en=it==null?void 0:it.courseid)==null?void 0:en[1])||null});let Cr=yield(0,jt.ZP)("/api/item_banks.json",{method:"get",params:fn(bn(bn({},it),$n),{ids:Wn,shixun_ids:Dn,include_shixuns:!0,group_id:((On=it.group_id)==null?void 0:On.map(br=>br==null?void 0:br.value))||null,keyword:it.keyword?encodeURIComponent(it.keyword):it.keyword,type:it.type==="5"?null:it.type,clazz:it.type==="3"?"ItemBanksGroup":null})});wr.current===jn&&(nr(Cr),pt(!1))})}function qo(){return Xt(this,null,function*(){let it=yield(0,jt.ZP)("/api/disciplines.json",{method:"get",params:{source:"question",group_id:0,group_type:nn.type==="5"?null:nn.type,clazz:"ItemBanksGroup"}});Qt((0,dn.L)(it==null?void 0:it.disciplines))})}function Lo(it){return Xt(this,null,function*(){var Ft;let en=yield(0,jt.ZP)("/api/item_banks_groups/for_problemset.json",{method:"post",body:it}),On=[{title:"\u6839\u76EE\u5F55",id:0,pid:0,value:0,key:0,isLeaf:!1,children:(Ft=en==null?void 0:en.data)==null?void 0:Ft.map(Wn=>({title:Wn.name,id:Wn.id,pid:Wn.id,value:Wn.id,key:Wn.id,isLeaf:!Wn.have_child}))}];Jr(On)})}function ii(){return Xt(this,null,function*(){let it=yield(0,Pe.Dm)({});(it==null?void 0:it.status)===0&&vo(it==null?void 0:it.groups)})}function Le(it){return Xt(this,null,function*(){var Ft,en,On,Wn;pt(!0);let Dn=(Ft=it.list)==null?void 0:Ft.filter(br=>!pr.includes(br)),jn=(en=it.list)==null?void 0:en.filter(br=>pr.includes(br));if(Dn.length===0&&jn.length===0){pt(!1),nr([]);return}let $n={course_discipline_id:it==null?void 0:it.courseid};(it==null?void 0:it.type)==="1"&&($n={discipline_id:((On=it==null?void 0:it.courseid)==null?void 0:On[0])||null,sub_discipline_id:((Wn=it==null?void 0:it.courseid)==null?void 0:Wn[1])||null});let Cr=yield(0,jt.ZP)("/api/item_banks.json",{method:"get",params:fn(bn(bn({},it),$n),{ids:Dn,shixun_ids:jn,type:it.type==="5"?null:it.type,clazz:it.type==="3"?"ItemBanksGroup":null})});pt(!1),nr(Cr)})}const nt=it=>Xt(void 0,null,function*(){const Ft=yield zn({type:"shixunsDetail/release",payload:{id:it}});let en=Ft==null?void 0:Ft.tag_position,On=(Ft==null?void 0:Ft.evaluation_set_position)||[],Wn=Ft.status;return Wn===0?(tt.ZP.success("\u53D1\u5E03\u6210\u529F"),_o(nn),!0):(Wn===2?tt.ZP.error(`\u7B2C${On.join(",")}\u5173\u5C1A\u672A\u5B8C\u6210\uFF0C\u65E0\u6CD5\u7533\u8BF7\u53D1\u5E03`):Wn===3?tt.ZP.error(`\u6BCF\u4E00\u4E2A\u5173\u5361\u81F3\u5C11\u9700\u8981\u4E00\u4E2A\u6280\u80FD\u6807\u7B7E, \u7B2C${en.join(",")}\u5173\u5C1A\u672A\u8BBE\u7F6E\u6280\u80FD\u6807\u7B7E\uFF0C\u8BF7\u8865\u5145`):tt.ZP.error("\u5C1A\u672A\u521B\u5EFA\u4EFB\u52A1\u7684\u5B9E\u8BAD\uFF0C\u4E0D\u80FD\u7533\u8BF7\u53D1\u5E03"),!1)}),Ot=it=>(it==null?void 0:it.shixun_tag_num)===1?"\u672A\u53D1\u5E03\u7684\u5B9E\u8DF5\u9879\u76EE\u4E0D\u80FD\u88AB\u9009\u7528\uFF0C\u8BF7\u5148\u8FDB\u884C\u53D1\u5E03":"",sn=()=>ar?"\u6682\u65E0\u6570\u636E":nn.type==="3"&&!(Xr!=null&&Xr.length)?Ie.createElement("span",null,"\u4F60\u8FD8\u672A\u52A0\u5165\u6559\u7814\u56E2\u961F\uFF0C\u8BF7\u5148 ",Ie.createElement("span",{onClick:()=>{var it;return(0,Ut.xg)(`/users/${(it=rr==null?void 0:rr.userInfo)==null?void 0:it.login}/teach-group`)},style:{color:"#3061D0",cursor:"pointer"}},"\u65B0\u521B\u5EFA\u6559\u7814\u56E2\u961F")):nn.type==="0"&&(qt==null?void 0:qt.items_count)===0&&!(nn!=null&&nn.tag_discipline_id)&&!(nn!=null&&nn.difficulty)&&!(nn!=null&&nn.keyword)&&!(nn!=null&&nn.group_id)&&!(nn!=null&&nn.difficulty)?Ie.createElement("span",null,"\u4F60\u8FD8\u672A\u521B\u5EFA\u8FC7\u7F16\u7A0B\u9898\uFF0C\u8BF7\u5148 ",Ie.createElement("span",{onClick:()=>{(0,Ut.xg)(`/problems/newcreate?&pageId=${_n}`),Bt(!1)},style:{color:"#3061D0",cursor:"pointer"}},"\u521B\u5EFA\u7F16\u7A0B\u9898")):"\u6682\u65E0\u6570\u636E",hn=(it,Ft,en)=>it.map(On=>On.key===Ft?bn(bn({},On),en):On.children?fn(bn({},On),{children:hn(On.children,Ft,en)}):On),Tt=it=>Xt(void 0,null,function*(){const{key:Ft}=it;let en=nn.type;const On=yield(0,Pe.ex)({page:1,per_page:20,sort_by:"updated_at",sort_direction:"desc",group_id:Math.abs(Ft),type:en}),{data:Wn,total_count:Dn}=On||{};Dn>0&&Jr(jn=>hn(jn,Ft,{children:Wn.map($n=>({title:$n.name,id:$n.id,pid:$n.id,value:$n.id,key:$n.id,isLeaf:!$n.have_child}))}))});return Ie.createElement("div",null,Ie.createElement(Be.default,{title:!1,footer:!1,open:ln,width:1200,centered:!0,className:ct.scoremodal,onCancel:()=>{Bt(!1)}},Ie.createElement("div",{style:{display:"flex",alignItems:"center"}},Ie.createElement("div",{className:ct.title},"\u9009\u62E9\u7F16\u7A0B\u9898")),Ie.createElement(pe.default,{className:ct.tabWrap,activeKey:nn.type,onChange:it=>{it==="3"?(nn.show_all_share=!0,Lo({group_id:0,page:1,per_page:20,sort_by:"updated_at",sort_direction:"desc",type:"3"})):nn.show_all_share=null,it==="0"&&Lo({group_id:0,page:1,per_page:20,sort_by:"updated_at",sort_direction:"desc",type:"0"}),nn.type=it,nn.page=1,nn.updated_at="",nn.quotes="",nn.courseid=null,nn.tag_discipline_id=null,nn.difficulty=null,nn.keyword=null,nn.group_id=null,nn.teach_group_id=null,xt.setFieldsValue({courseid:null,tag_discipline_id:null,difficulty:null,keyword:null,group_id:[],teach_group_id:null}),(nn==null?void 0:nn.item_type)==="SHIXUN"&&nn.type!=="5"&&(kn=!0,Un(!0)),eo(!1),nn.type==="5"&&(kn=!1,Un(!1)),er(bn({},nn)),_o(bn({},nn)),qo()},items:[{label:"\u6211\u521B\u5EFA\u7684",key:"0"},{label:"\u56E2\u961F\u5171\u4EAB",key:"3"},{label:"\u516C\u5171",key:"1"},{label:Ie.createElement("div",null,"\u5DF2\u9009",Ye.length>0&&Ie.createElement("span",{className:ct.titlecount},Ye.length),Vr>0&&Ie.createElement("span",{className:ct.add},"+",Vr)),key:"5"}]}),Ie.createElement(be.default,{layout:"inline",form:xt,onValuesChange:(it,Ft)=>{const en=Object.values(Ft).some(Wn=>Wn!==null&&Wn!==""&&Wn!==void 0),On=Ft.keyword==="";if(eo(en||!On),nn.page=1,(Ft==null?void 0:Ft.item_type)==="SHIXUN"){if(nn.type==="5"?Un(!1):Un(!0),it.keyword||it.keyword==="")return;xt.submit()}else{if(it!=null&&it.courseid&&xt.setFieldsValue({tag_discipline_id:null}),Un(!1),it.keyword||it.keyword==="")return;xt.submit()}},onFinish:it=>{var Ft;nn.type==="3"&&(!it.group_id||((Ft=it==null?void 0:it.group_id)==null?void 0:Ft.length)===0)?nn.show_all_share=!0:nn.show_all_share=null,er(bn(bn({},nn),it)),_o(bn(bn({},nn),it))}},nn.type=="1"?Ie.createElement(be.default.Item,{name:"courseid"},Ie.createElement(Re.Z,{className:ct.selectWrapper,style:{width:160},size:"middle",placeholder:"\u65B9\u5411&\u8BFE\u7A0B",options:It})):Ie.createElement(be.default.Item,{name:"courseid"},Ie.createElement($e.q,{style:{width:160,height:38},size:"middle",showLinkButton:!1,data:{container_type:"ItemBank",type:nn==null?void 0:nn.type}})),!kn&&Ie.createElement(be.default.Item,{name:"tag_discipline_id"},Ie.createElement(Ue.default,{className:ct.selectWrapper,placeholder:"\u77E5\u8BC6\u70B9",style:{width:160},size:"middle",allowClear:!0},(Fn=qt==null?void 0:qt.tag_disciplines)==null?void 0:Fn.map(it=>Ie.createElement(Ue.default.Option,{key:it.id},it.name)))),Ie.createElement(be.default.Item,{name:kn?"diff":"difficulty"},Ie.createElement(Ue.default,{className:ct.selectWrapper,placeholder:"\u96BE\u5EA6",style:{width:118},size:"middle",allowClear:!0},!kn&&Rr.map(it=>Ie.createElement(Ue.default.Option,{key:it.value},it.name)),kn&&mo.map(it=>Ie.createElement(Ue.default.Option,{key:it.value},it.name)))),kn&&Ie.createElement(be.default.Item,{name:"shixun_publish_status"},Ie.createElement(Ue.default,{className:ct.selectWrapper,placeholder:"\u5168\u90E8\u72B6\u6001",style:{width:118},size:"middle",allowClear:!0},$r.map(it=>Ie.createElement(Ue.default.Option,{key:it.value},it.name)))),nn.type==="3"&&!kn&&Ie.createElement(be.default.Item,{name:"teach_group_id"},Ie.createElement(Ue.default,{className:ct.selectWrapper,placeholder:"\u56E2\u961F",style:{width:118},size:"middle",showSearch:!0,allowClear:!0,filterOption:(it,Ft)=>(console.log("---",it,Ft),Ft.children.toUpperCase().indexOf(it.toUpperCase())!==-1)},Xr==null?void 0:Xr.map(it=>Ie.createElement(Ue.default.Option,{key:it.group_id},it.name)))),(nn.type==="3"||nn.type==="0")&&!kn&&Ie.createElement(be.default.Item,{name:"group_id"},Ie.createElement(Jt.default,{treeDataSimpleMode:!0,style:{width:134},className:ct.selectWrappers,multiple:!0,allowClear:!0,showSearch:!0,filterTreeNode:(it,Ft)=>Ft.title.toUpperCase().indexOf(it.toUpperCase())!==-1,dropdownStyle:{maxHeight:400,width:500,overflow:"auto"},placeholder:"\u8BF7\u9009\u62E9\u6587\u4EF6\u5939",treeCheckStrictly:!0,loadData:Tt,treeDefaultExpandedKeys:[0],maxTagCount:0,treeCheckable:!0,treeData:kr})),qr&&Ie.createElement("span",{className:ct.allqingchu,onClick:ko},Ie.createElement("i",{className:"iconfont icon-guanbi4"}),Ie.createElement("span",null,"\u6E05\u9664\u7B5B\u9009\u6761\u4EF6")),Ie.createElement(be.default.Item,{style:{flex:"0 0 auto",marginRight:0,marginLeft:"auto"},name:"keyword"},Ie.createElement(fe.default.Search,{className:ct.search,placeholder:"\u8BF7\u8F93\u5165\u8BD5\u9898\u7F16\u53F7\u6216\u5173\u952E\u8BCD\u641C\u7D22",allowClear:!0,suffix:Ie.createElement("i",{className:`iconfont icon-sousuo9 font14 ${ct.searchIcon}`,onClick:()=>xt.submit()}),onSearch:it=>{xt.submit()}}))),Ie.createElement("div",{style:{background:"#F6F7F9",display:"flex",alignItems:"center",marginTop:18,height:40,paddingLeft:10,paddingRight:20}},Ie.createElement("div",{onClick:()=>{nn.updated_at==="asc"?nn.updated_at="desc":nn.updated_at="asc",er(fn(bn({},nn),{page:1})),_o(fn(bn({},nn),{page:1}))}}," ",nn.updated_at?Ie.createElement("img",{src:nn.updated_at==="asc"?re.Z:ce.Z,style:{width:"15px",verticalAlign:"text-bottom"},className:"font14 mr5 c-light-primary"}):Ie.createElement("i",{style:{fontSize:"14px"},className:"iconfont icon-jiangxu mr5 c-light-primary"}),"\u6309\u66F4\u65B0\u65F6\u95F4\u6392\u5E8F"),Ie.createElement("div",{onClick:()=>{nn.quotes==="asc"?nn.quotes="desc":nn.quotes="asc",er(fn(bn({},nn),{page:1})),_o(fn(bn({},nn),{page:1}))},style:{marginLeft:20}}," ",nn.quotes?Ie.createElement("img",{src:nn.quotes==="asc"?re.Z:ce.Z,style:{width:"15px",verticalAlign:"text-bottom"},className:"font14 mr5 c-light-primary"}):Ie.createElement("i",{style:{fontSize:"14px"},className:"iconfont icon-jiangxu mr5 c-light-primary"}),"\u6309\u4F7F\u7528\u6B21\u6570\u6392\u5E8F")),Ie.createElement(Ge.default,{style:{marginTop:2,marginBottom:20},scroll:{y:260},dataSource:(qt==null?void 0:qt.items)||(qt==null?void 0:qt.shixun_list),pagination:!1,locale:{emptyText:Ie.createElement(ut.Z,{styles:{margin:"18px auto"},customText:sn()})},loading:ar,rowKey:it=>it.id,rowSelection:{type:"checkbox",selectedRowKeys:ze,getCheckboxProps:it=>({disabled:it.shixun_tag_num===1}),onSelect(it,Ft,en){if(Ft)kn&&Ar([...pr,it.id]),yt([...ze,it.id]),gr([...ur,it]),it.identifier?no.current.add(it.id):Kr.current.add(it.id),Br(1),Ct([...Ye,it.id]);else{const On=ur.filter(jn=>jn.id!==it.id);gr(On);const Wn=On.map(jn=>jn.id);yt([...Wn]),it.identifier?no.current.delete(it.id):Kr.current.delete(it.id);let Dn=Ye.filter(jn=>jn!==it.id);if(Ct(Dn),kn){let jn=pr.filter($n=>$n!==it.id);Ar([...jn])}if(nn.type==="5"){Le(fn(bn({},nn),{list:[...Dn]}));return}}},onSelectAll(it,Ft,en){if(it){const On=en.map(Wn=>Wn.id);kn&&Ar([...pr,...On]),gr([...ur,...en]),yt([...ze,...On]),Ct([...Ye,...On]);for(const Wn of en)Wn.identifier?no.current.add(Wn.id):Kr.current.add(Wn.id)}else{const On=en.map(jn=>jn.id),Wn=ze.filter(jn=>!On.some($n=>$n===jn)),Dn=ur.filter(jn=>!On.some($n=>$n===jn.id));if(gr(Dn),yt([...Wn]),Ct([...Wn]),kn){let jn=pr.filter($n=>!On.some(Cr=>Cr===$n.id));Ar([...jn])}nn.type==="5"&&Le(fn(bn({},nn),{list:[...Wn]}));for(const jn of On)jn.identifier?no.current.delete(jn):Kr.current.delete(jn)}}},columns:[{title:"\u8BD5\u9898\u7F16\u53F7",dataIndex:"id",key:"id",width:110,render:(it,Ft,en)=>{const On=`No.${it}`;return Ie.createElement(vt.Z,{title:On},Ie.createElement("span",null,On))}},{title:"\u8BD5\u9898\u540D\u79F0",dataIndex:"name",width:kn?"30%":"60%",key:"name",render:(it,Ft,en)=>{var On;return Ie.createElement(vt.Z,{title:Ot(Ft)},Ie.createElement("span",null,Ie.createElement(le.Z,{key:1,showLines:1,showTextOnly:!0,value:kn||Ft!=null&&Ft.challenge_names?Ft!=null&&Ft.title||it===null?"--":it:(Ft==null?void 0:Ft.item_type)=="BPROGRAM"?(On=Ft==null?void 0:Ft.program_attr)==null?void 0:On.description:it})))}},{title:"\u77E5\u8BC6\u70B9",dataIndex:"tag_discipline",key:"tag_discipline",ellipsis:!0,width:150,render:(it,Ft,en)=>Ie.createElement(vt.Z,{title:it},Ie.createElement("span",null,it||"- -"))},{title:"\u521B\u5EFA\u8005",dataIndex:"author_name",key:"author_name",hidden:!kn,render:(it,Ft,en)=>{var On;return Ie.createElement(vt.Z,{title:Ot(Ft)},Ie.createElement("span",null,it?(On=it==null?void 0:it.split("\u3001"))==null?void 0:On[0]:"- -"))}},{title:"\u6240\u5C5E\u5355\u4F4D",dataIndex:"author_school_name",key:"author_school_name",hidden:!kn,render:(it,Ft,en)=>Ie.createElement(vt.Z,{title:Ot(Ft)},Ie.createElement("span",null,it||"- -"))},{title:"\u96BE\u5EA6",dataIndex:"difficulty",key:"difficulty",width:50,render:(it,Ft,en)=>{var On,Wn,Dn,jn;return Ie.createElement(vt.Z,{title:Ot(Ft)},Ie.createElement("div",null,kn||Ft!=null&&Ft.challenge_names?(Ft==null?void 0:Ft.level)||((Wn=(On=Rr==null?void 0:Rr.filter($n=>$n.value===it))==null?void 0:On[0])==null?void 0:Wn.name):(jn=(Dn=Rr==null?void 0:Rr.filter($n=>$n.value===it))==null?void 0:Dn[0])==null?void 0:jn.name))}},{title:"\u5173\u5361\u6570\u91CF",dataIndex:"challenges_count",key:"challenges_count",hidden:!kn,render:(it,Ft,en)=>Ie.createElement(vt.Z,{title:Ot(Ft)},Ie.createElement("div",null,it||"- -"))},{title:"\u4F7F\u7528\u6B21\u6570",dataIndex:"quotes",key:"quotes",width:74,render:(it,Ft,en)=>Ie.createElement(vt.Z,{title:Ot(Ft)},Ie.createElement("div",null,kn||Ft!=null&&Ft.challenge_names?(Ft==null?void 0:Ft.study_count)||(Ft==null?void 0:Ft.stu_num):it))},{title:Ie.createElement("span",null,"\u53D1\u5E03\u72B6\u6001 ",Ie.createElement(vt.Z,{title:"\u672A\u53D1\u5E03\u7684\u5B9E\u8DF5\u9879\u76EE\u4E0D\u80FD\u88AB\u9009\u7528"},Ie.createElement(lt.Z,null))),dataIndex:"shixun_tag_num_name",key:"shixun_tag_num_name",hidden:!kn,render:(it,Ft,en)=>Ie.createElement(vt.Z,{title:Ot(Ft)},Ie.createElement("div",null,it||"- -"))},{title:"\u64CD\u4F5C",dataIndex:"id",key:"item_type",width:50,align:"right",render:(it,Ft,en)=>Ie.createElement(vt.Z,{title:Ot(Ft)},Ie.createElement("div",{style:{flex:1,textAlign:"start"}},Ie.createElement("a",{onClick:()=>{var On,Wn;Kt(fn(bn({},Ft),{question_type:kn||Ft!=null&&Ft.challenge_names?5:(Wn=(On=yr==null?void 0:yr.filter(Dn=>Dn.value===(Ft==null?void 0:Ft.item_type)))==null?void 0:On[0])==null?void 0:Wn.question_type})),Zn(!0)}},"\u67E5\u770B"),(Ft==null?void 0:Ft.shixun_tag_num)===1&&Ie.createElement("a",{style:{marginLeft:10},onClick:()=>{Be.default.confirm({title:"\u63D0\u793A",icon:null,centered:!0,width:400,content:Ie.createElement("div",null,"\u662F\u5426\u786E\u5B9A\u53D1\u5E03",Ie.createElement("span",{style:{cursor:"pointer",color:"#3061D0"},onClick:()=>{window.open(`/shixuns/${Ft==null?void 0:Ft.identifier}/challenges`)}},(Ft==null?void 0:Ft.shixun_name)||"--"),"\uFF1F"),onOk:()=>Xt(void 0,null,function*(){if(!nt(Ft==null?void 0:Ft.identifier))return new Promise((On,Wn)=>{Wn()})})})}},"\u53D1\u5E03")))}].filter(it=>!it.hidden)}),Ie.createElement(et.Z,{current:nn.page,total:(qt==null?void 0:qt.items_count)||(qt==null?void 0:qt.shixuns_count),style:{marginBottom:20},defaultPageSize:nn.per_page,hideOnSinglePage:!(qt!=null&&qt.items_count),showTotal:it=>Ie.createElement("span",null,"\u5171\xA0",Ie.createElement("span",{style:{color:"#165DFF"}},it),"\xA0\u6761\u6570\u636E"),pageSize:nn.per_page,onChange:(it,Ft)=>{nn.page=it,nn.per_page=Ft,er(bn({},nn)),_o(bn({},nn))}}),Ie.createElement("div",{className:ct.bottom},Ie.createElement(Ve.ZP,{className:ct.no,onClick:()=>{Bt(!1)}},"\u53D6\u6D88"),Ie.createElement(Ve.ZP,{loading:cn,style:{width:cn&&75},className:ct.yes,onClick:()=>Xt(void 0,null,function*(){if((Ye==null?void 0:Ye.length)<=0){tt.ZP.info("\u5F53\u524D\u6682\u672A\u9009\u62E9\u6570\u636E");return}Zt([...Kr.current],[...no.current],!0,Ye==null?void 0:Ye.length)})},"\u786E\u8BA4"))),Ie.createElement(Be.default,{open:In,title:"\u9898\u76EE\u8BE6\u60C5",footer:!1,className:ct.previewModal,width:1e3,centered:!0,onCancel:()=>{Zn(!1)},onOk:()=>{Zn(!1)}},Ie.createElement(he,{qitem:Pt})))};var gn=(0,se.connect)(({shixunsDetail:Bt,user:ln})=>({shixunsDetail:Bt,user:ln}))(on),ft=z(40571),Yt=z(66649),xn=z.n(Yt),St=z(59301),_e=Object.defineProperty,Vt=Object.defineProperties,tn=Object.getOwnPropertyDescriptors,un=Object.getOwnPropertySymbols,Tn=Object.prototype.hasOwnProperty,qn=Object.prototype.propertyIsEnumerable,mr=(Bt,ln,Zt)=>ln in Bt?_e(Bt,ln,{enumerable:!0,configurable:!0,writable:!0,value:Zt}):Bt[ln]=Zt,vr=(Bt,ln)=>{for(var Zt in ln||(ln={}))Tn.call(ln,Zt)&&mr(Bt,Zt,ln[Zt]);if(un)for(var Zt of un(ln))qn.call(ln,Zt)&&mr(Bt,Zt,ln[Zt]);return Bt},Jn=(Bt,ln)=>Vt(Bt,tn(ln)),dr=(Bt,ln)=>{var Zt={};for(var pn in Bt)Tn.call(Bt,pn)&&ln.indexOf(pn)<0&&(Zt[pn]=Bt[pn]);if(Bt!=null&&un)for(var pn of un(Bt))ln.indexOf(pn)<0&&qn.call(Bt,pn)&&(Zt[pn]=Bt[pn]);return Zt},_t=(Bt,ln,Zt)=>new Promise((pn,cn)=>{var zn=_n=>{try{rr(Zt.next(_n))}catch(rn){cn(rn)}},Ln=_n=>{try{rr(Zt.throw(_n))}catch(rn){cn(rn)}},rr=_n=>_n.done?pn(_n.value):Promise.resolve(_n.value).then(zn,Ln);rr((Zt=Zt.apply(Bt,ln)).next())});const zt=({title:Bt,icon:ln,className:Zt,style:pn,children:cn})=>St.createElement("div",{className:rt()(Ce.card,Zt),style:pn},St.createElement("div",{className:Ce.head},St.createElement("i",{className:ln}),St.createElement("b",null,Bt)),St.createElement("div",{className:Ce.element},cn)),Sn=Bt=>{var ln=Bt,{value:Zt,onChange:pn}=ln,cn=dr(ln,["value","onChange"]);return St.createElement(xe.Z,Jn(vr({},cn),{defaultValue:Zt,onChange:pn}))},wn=({value:Bt=[],onChange:ln,params:Zt,className:pn})=>{const[cn,zn]=(0,b.useState)(!1),[Ln,rr]=(0,b.useState)([]),[_n,rn]=(0,b.useState)(""),[Fn,nn]=(0,b.useState)([]),[er,It]=(0,b.useState)("");(0,b.useEffect)(()=>{Qt()},[]);function Qt(){return _t(this,null,function*(){let ze=yield(0,jt.ZP)(`/api/courses/${Zt==null?void 0:Zt.coursesId}/teachers`,{method:"get",params:{homework_id:Zt.categoryId,limit:1e3}});nn((ze==null?void 0:ze.teacher_list)||[])})}return St.createElement(b.Fragment,null,St.createElement("div",{className:rt()(Ce.collaborator,pn)},Bt==null?void 0:Bt.map(ze=>St.createElement(Ae.Z,{align:"middle",className:`${Ce.btn} ${er==(ze==null?void 0:ze.user_id)?Ce.delBorder:""}`,key:ze.user_id},St.createElement("span",{className:"c-grey-333"},ze==null?void 0:ze.name),St.createElement("span",{className:`iconfont icon-guanbi11 current ml20 c-grey-ccc ${Ce.delSty}`,onMouseEnter:()=>{It(ze==null?void 0:ze.user_id)},onMouseLeave:()=>{It("")},onClick:()=>{const yt=Bt.filter(Ye=>Ye.user_id!==ze.user_id);rr(yt.map(Ye=>Ye.user_id)),ln(yt)}}))),St.createElement(Ve.ZP,{className:Ce.copHover,style:{height:38,padding:"6px 15px"},type:"primary",ghost:!0,onClick:()=>zn(!0)},"\u6DFB\u52A0\u534F\u4F5C\u8005")),St.createElement(Be.default,{title:"\u6DFB\u52A0\u534F\u4F5C\u8005",open:cn,onCancel:()=>zn(!1),onOk:()=>{const ze=Fn.filter(yt=>Ln.includes(yt.user_id));ln(ze),zn(!1)},afterClose:()=>{rn("")}},St.createElement(Ae.Z,{align:"middle"},St.createElement("label",null,"\u59D3\u540D\uFF1A"),St.createElement(fe.default.Search,{value:_n,size:"middle",style:{flex:1},onChange:ze=>rn(ze.target.value)})),St.createElement(Ge.default,{style:{marginTop:10,height:300,overflow:"auto"},rowSelection:{type:"checkbox",onChange:ze=>{rr(ze)},selectedRowKeys:Ln,getCheckboxProps:ze=>({disabled:ze.is_collaborator})},pagination:!1,rowKey:"user_id",size:"middle",dataSource:Fn.filter(ze=>ze.name.includes(_n)),columns:[{title:"\u59D3\u540D",dataIndex:"name"},{title:"\u89D2\u8272",dataIndex:"role"}]})))};var Rn=()=>{var Bt;const ln=(0,se.useParams)(),Zt=(0,se.useDispatch)(),[pn]=be.default.useForm(),cn=be.default.useWatch("hack_score_settings",pn),zn=be.default.useWatch("open_code",pn),Ln=be.default.useWatch("rank_forbidden",pn),rr=be.default.useWatch("hack_analysis",pn),_n=be.default.useWatch("hack_answer",pn),[rn,Fn]=(0,b.useState)([]),[nn,er]=(0,b.useState)({}),[It,Qt]=(0,b.useState)({course_end_date:null,manage_all_group:!0,send_type:0,can_publish:!0,difficult_settings:[],difficult_count:[],unified_setting:!0}),[ze,yt]=(0,b.useState)(!0),[Ye,Ct]=(0,b.useState)(!1),[qt,nr]=(0,b.useState)(!1),[ar,pt]=(0,b.useState)({}),[xt,Pt]=(0,b.useState)(!1),[Kt,In]=(0,b.useState)(!1),Zn=(0,b.useRef)(!1),kn=(0,b.useRef)(String(Math.random()).slice(-6)),Un=(Bt=window.location.pathname)==null?void 0:Bt.includes("add");(0,b.useEffect)(()=>(window.addEventListener("visibilitychange",pr),()=>{window.removeEventListener("visibilitychange",pr)}),[rn,ar]),(0,b.useEffect)(()=>(Zt({type:"globalSetting/footerToggle",payload:!1}),()=>{Zt({type:"globalSetting/footerToggle",payload:!0})}),[]),(0,b.useEffect)(()=>{rn.length&&cn!==void 0&&kr()},[cn,JSON.stringify(rn==null?void 0:rn.map(yr=>yr.id+yr.hack_score))]),(0,b.useEffect)(()=>{Ar(),Un?yt(!1):Vr()},[]);const pr=()=>_t(void 0,null,function*(){var yr;if(document.visibilityState==="visible"){In(!0);let ur=rn.map(Kr=>Kr.id),gr=localStorage.getItem(kn.current);gr&&(gr=JSON.parse(gr),gr=Array.isArray(gr)?gr:[],ur=[...ur,...gr],localStorage.removeItem(kn.current));const no=yield(0,jt.ZP)("/api/item_banks.json",{method:"get",params:{hack_item_bank_ids:ur.length?ur:-1,homework_common_id:Un?null:ar==null?void 0:ar.homework_id}});if(no!=null&&no.items){const Kr=(yr=no==null?void 0:no.items)==null?void 0:yr.map(wr=>{const Rr=rn.find(mo=>mo.id===wr.id);return Rr?Jn(vr({},wr),{hack_score:Rr.hack_score}):wr});Fn(Kr)}In(!1)}}),Ar=()=>_t(void 0,null,function*(){const yr=yield(0,jt.ZP)(`/api/courses/${ln.coursesId}/homework_commons/new.json`,{method:"get",params:{category:ln==null?void 0:ln.categoryId,type:5}});yr!=null&&yr.course_name&&er(yr)}),Vr=()=>_t(void 0,null,function*(){var yr,ur;const gr=yield(0,jt.ZP)(`/api/homework_commons/${ln==null?void 0:ln.categoryId}/edit_hack.json`,{method:"get"});if((gr==null?void 0:gr.status)===0){const no=(yr=gr==null?void 0:gr.collaborators_data)==null?void 0:yr.map(wr=>({user_id:wr.id,name:wr.real_name}));pn.setFieldsValue(Jn(vr({},gr),{user_ids:no,rank_forbidden_start:gr!=null&&gr.rank_forbidden_start?xn()(gr==null?void 0:gr.rank_forbidden_start):"",rank_forbidden_end:gr!=null&&gr.rank_forbidden_end?xn()(gr==null?void 0:gr.rank_forbidden_end):""}));const Kr=(ur=gr==null?void 0:gr.items)==null?void 0:ur.map((wr,Rr)=>{var mo,$r;return Jn(vr({},wr),{hack_score:($r=(mo=gr==null?void 0:gr.hack_settings)==null?void 0:mo[Rr])==null?void 0:$r.hack_score})});Fn(Kr||[]),pt(vr({},gr))}yt(!1)}),Br=()=>{let yr=`/classrooms/${ln==null?void 0:ln.coursesId}/program_homework`;return Un||(yr=`/classrooms/${ln==null?void 0:ln.coursesId}/program_homework/${ln==null?void 0:ln.categoryId}/detail`),yr},fr=[{name:(nn==null?void 0:nn.course_name)||"",path:`/classrooms/${nn==null?void 0:nn.course_id}/program_homework`},{name:Un?"\u7F16\u7A0B\u4F5C\u4E1A":ar==null?void 0:ar.name,path:Br()},{name:(Un?"\u65B0\u5EFA":"\u7F16\u8F91")+"\u7F16\u7A0B\u4F5C\u4E1A"}],Pr=[{title:"\u5E8F\u53F7",dataIndex:"index",width:80,render:(yr,ur,gr)=>gr+1},{title:"\u6807\u9898",dataIndex:"name",ellipsis:!0,render:yr=>St.createElement(vt.Z,{placement:"topLeft",title:yr},St.createElement("span",null,yr||"--"))},{title:"\u5206\u503C",dataIndex:"hack_score",render:(yr,ur,gr)=>St.createElement(Je.Z,{disabled:cn!==2,size:"middle",min:0,precision:1,addonAfter:"\u5206",value:yr,onChange:no=>{rn[gr].hack_score=no;const Kr=rn.reduce((wr,Rr)=>wr+Number(Rr.hack_score||0),0);pn.setFieldsValue({total_score:Kr.toFixed(2)}),Fn([...rn])}})},{title:"\u96BE\u5EA6",dataIndex:"difficulty",align:"center",width:90,render:yr=>St.createElement("span",null,yr===1?"\u7B80\u5355":yr===2?"\u4E2D\u7B49":"\u56F0\u96BE")},{title:"\u77E5\u8BC6\u70B9",dataIndex:"tag_discipline",render:yr=>St.createElement(vt.Z,{placement:"topLeft",title:yr},St.createElement("span",{style:{backgroundColor:"#ECFAF5",color:"#1B8565",overflow:"hidden",textOverflow:"ellipsis",padding:"2px 6px"}},yr||"--"))},{title:"\u4F7F\u7528\u6B21\u6570",dataIndex:"quotes"},{title:"\u64CD\u4F5C",dataIndex:"action",width:146,render:(yr,ur)=>St.createElement("span",null,St.createElement("span",{onClick:()=>_t(void 0,null,function*(){var gr;Zt({type:"globalSetting/setGlobalLoading",payload:{show:!0,text:"\u6B63\u5728\u521D\u59CB\u5316\uFF0C\u8BF7\u7A0D\u540E..."}});let no=yield(0,jt.ZP)(`/api/problems/${(gr=ur==null?void 0:ur.program_attr)==null?void 0:gr.identifier}/start.json`,{method:"get"});(no==null?void 0:no.status)===0&&(0,Ut.xg)(`/myproblems/${no==null?void 0:no.identifier}?type=1&pageId=edit&backUrl=${Br()}`),Zt({type:"globalSetting/setGlobalLoading",payload:{show:!1}})}),className:"c-light-primary current"},"\u4F53\u9A8C"),St.createElement("span",{onClick:()=>{var gr;return(0,Ut.xg)(`/problems/newedit/${(gr=ur==null?void 0:ur.program_attr)==null?void 0:gr.identifier}?type=1&pageId=edit&backUrl=${window.location.pathname}`)},className:"c-light-primary current mr20 ml20"},"\u7F16\u8F91"),St.createElement("span",{onClick:()=>{const gr=rn.filter(no=>no.id!==ur.id);Fn(gr),tt.ZP.success("\u5220\u9664\u6210\u529F")},className:"current",style:{color:"#E30000"}},"\u5220\u9664"))}],kr=()=>{const yr=[...rn],ur=pn.getFieldValue("total_score"),gr=yr==null?void 0:yr.length;let no=0,Kr;switch(cn){case 0:const wr=(ur/gr).toFixed(2);yr.map((qo,Lo)=>{no=Lo,qo.hack_score=wr>0?wr:0}),Kr=(ur-wr*(gr-1)).toFixed(2),yr[no].hack_score=Kr>0?Kr:0;break;case 1:const Rr=[0,1,3,6];let mo=0;const $r=yr.filter(qo=>qo.difficulty===1).length*Rr[1],qr=yr.filter(qo=>qo.difficulty===2).length*Rr[2],eo=yr.filter(qo=>qo.difficulty===3).length*Rr[3],ko=ur/($r+qr+eo);yr.map((qo,Lo)=>{no=Lo,qo.hack_score=(Rr[qo.difficulty]*ko).toFixed(2),mo=mo+Number(qo.hack_score)});let _o=yr[no].hack_score;Kr=(ur-mo+Number(_o)).toFixed(2),yr[no].hack_score=Kr>0?Kr:0;break}Fn(yr)},Jr=yr=>{Zn.current=yr,pn.submit()},Xr=yr=>_t(void 0,null,function*(){var ur;if(!rn.length){tt.ZP.error("\u672A\u8BBE\u7F6E\u7F16\u7A0B\u9898\uFF0C\u8BF7\u6DFB\u52A0\u7F16\u7A0B\u9898"),pn.scrollToField("hack_score_settings",{behavior:"smooth",block:"center"});return}Pt(!0);const gr=[],no=rn.map(Rr=>(gr.push(Rr.hack_id),{hack_id:Rr.hack_id,hack_name:Rr.name,hack_score:Rr.hack_score,difficult:Rr.difficulty})),Kr=(ur=yr==null?void 0:yr.user_ids)==null?void 0:ur.map(Rr=>Rr.user_id),wr=yield(0,jt.ZP)(`/api/courses/${ln.coursesId}/homework_commons/create_hack_homework.json`,{method:"post",body:Jn(vr({},yr),{category:Un?Number(ln==null?void 0:ln.categoryId):null,homework_id:Un?null:ar==null?void 0:ar.homework_id,hack_settings:no,user_ids:Kr,hack_ids:gr})});if((wr==null?void 0:wr.status)===0)if(tt.ZP.success("\u4FDD\u5B58\u6210\u529F"),Zn.current){const Rr=vr({},wr);Qt(Rr),Zt({type:"classroomList/setActionTabs",payload:{key:"\u7ACB\u5373\u53D1\u5E03",selectArrs:[wr==null?void 0:wr.id],selectArrsAll:[Rr],params:ln,detail:!0,type:2,manage_all_group:Rr==null?void 0:Rr.manage_all_group}})}else se.history.push(`/classrooms/${ln.coursesId}/program_homework/${wr==null?void 0:wr.id}/detail`);Pt(!1)}),vo=yr=>_t(void 0,null,function*(){if(!yr.length){tt.ZP.warning("\u8BF7\u9009\u62E9\u7F16\u7A0B\u9898");return}if(yr.length>200){tt.ZP.warning("\u7F16\u7A0B\u9898\u6570\u91CF\u4E0D\u5F97\u8D85\u8FC7200\u9053");return}const ur=[],gr=rn.map(wr=>{var Rr;return(Rr=wr.program_attr)==null?void 0:Rr.origin_item_bank_id}),no=[];yr.forEach(wr=>{if(gr.includes(wr)){const Rr=rn.find(mo=>{var $r;return(($r=mo.program_attr)==null?void 0:$r.origin_item_bank_id)===wr});no.push(Rr)}else ur.push(wr)}),nr(!0);const Kr=yield(0,jt.ZP)("/api/problems/copy_item_banks.json",{method:"post",body:{ids:ur}});if(Kr!=null&&Kr.items){const wr=[...no,...Kr==null?void 0:Kr.items];if(cn===2){const Rr=wr.reduce((mo,$r)=>mo+Number($r.hack_score||0),0);pn.setFieldsValue({total_score:Rr.toFixed(2)})}Fn(wr),Ct(!1)}nr(!1)});return St.createElement("div",{className:Ce.wrap},St.createElement(je.Z,{spinning:ze},St.createElement("div",{className:Ce.center},St.createElement(Oe._b,{dataSource:fr,className:"mb20"}),St.createElement(be.default,{form:pn,preserve:!1,onValuesChange:yr=>{"total_score"in yr&&kr()},onFinishFailed:yr=>_t(void 0,null,function*(){var ur,gr;tt.ZP.error(yr.errorFields[0].errors[0]),pn.scrollToField((gr=(ur=yr==null?void 0:yr.errorFields)==null?void 0:ur[0])==null?void 0:gr.name,{behavior:"smooth",block:"center"})}),onFinish:Xr,colon:!1,size:"large"},St.createElement(zt,{className:"mb20",title:"\u57FA\u672C\u4FE1\u606F",icon:"iconfont icon-jibenxinxi2"},St.createElement(be.default.Item,{label:"\u4F5C\u4E1A\u540D\u79F0",name:"name",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u4F5C\u4E1A\u540D\u79F0"},{whitespace:!0,message:"\u4F5C\u4E1A\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A"}]},St.createElement(fe.default,{placeholder:"\u8BF7\u8F93\u5165\u4F5C\u4E1A\u540D\u79F0",showCount:!0,maxLength:60})),St.createElement(be.default.Item,{labelCol:{flex:"81px"},label:"\u4F5C\u4E1A\u8BF4\u660E",name:"description",initialValue:"",rules:[{max:5e4,message:"\u4F5C\u4E1A\u8BF4\u660E\u6700\u5927\u9650\u523650000\u4E2A\u5B57\u7B26"}]},St.createElement(Sn,{placeholder:"\u8BF7\u8F93\u5165\u4F5C\u4E1A\u8BF4\u660E\uFF0C\u6700\u5927\u9650\u523650000\u4E2A\u5B57\u7B26",watch:!0}))),St.createElement(zt,{className:"mb20",title:"\u9898\u76EE\u8BBE\u7F6E",icon:"iconfont icon-timushezhi"},St.createElement(be.default.Item,{label:"\u8BD5\u9898\u7F16\u7A0B\u8BED\u8A00",name:"languages",rules:[{required:!0,message:"\u8BF7\u9009\u62E9\u8BD5\u9898\u7F16\u7A0B\u8BED\u8A00"}]},St.createElement(We.default.Group,null,St.createElement(We.default,{value:"c"},"C\u8BED\u8A00"),St.createElement(We.default,{value:"c++"},"C++\u8BED\u8A00"),St.createElement(We.default,{value:"java"},"Java\u8BED\u8A00"),St.createElement(We.default,{value:"python"},"Python\u8BED\u8A00"))),St.createElement(Ae.Z,{align:"middle"},St.createElement(be.default.Item,{label:"\u603B\u5206\u503C",name:"total_score",rules:[{required:!0,message:"\u603B\u5206\u503C\u4E0D\u80FD\u4E3A\u7A7A"}],initialValue:100},St.createElement(Je.Z,{precision:1,disabled:cn===2,min:0,style:{width:223},addonAfter:"\u5206"})),St.createElement(be.default.Item,{label:"\u6D4B\u8BC4\u5355\u6B21\u62A5\u9519\u589E\u52A0\u65F6\u957F",name:"punish_time",initialValue:0,style:{marginLeft:40}},St.createElement(Je.Z,{min:0,style:{width:223},addonAfter:"\u5206\u949F"}))),St.createElement(be.default.Item,{label:"\u8BD5\u9898\u5206\u503C",name:"hack_score_settings",initialValue:0},St.createElement(ot.ZP.Group,null,St.createElement(ot.ZP,{value:0},"\u5747\u5206\u6BD4\u4F8B"),St.createElement(ot.ZP,{style:{margin:"0 40px"},value:1},"\u96BE\u6613\u5EA6"),St.createElement(ot.ZP,{value:2},"\u81EA\u5B9A\u4E49\u5206\u503C"))),St.createElement(Ae.Z,{align:"middle"},St.createElement("span",null,"\u9898\u76EE\u5217\u8868"),St.createElement(Ve.ZP,{onClick:()=>Ct(!0),style:{marginLeft:"auto",width:110},type:"primary",ghost:!0},"\u9009\u62E9\u7F16\u7A0B\u9898"),St.createElement(Ve.ZP,{onClick:()=>(0,Ut.xg)(`/problems/newcreate?pageId=${kn.current}`),style:{marginLeft:20,width:110},type:"primary"},"\u65B0\u589E\u7F16\u7A0B\u9898")),St.createElement("div",{className:Ce.tip},St.createElement("i",{className:"iconfont icon-tishi12 mr5 font14"}),"\u63D0\u793A\uFF1A\u53EF\u4EE5\u70B9\u51FB\u201C\u7F16\u8F91\u201D\u5BF9\u8BE5\u8BD5\u9898\u7684\u6D4B\u8BD5\u7528\u4F8B/\u521D\u59CB\u4EE3\u7801\u8FDB\u884C\u4FEE\u6539\uFF0C\u4FEE\u6539\u7684\u5185\u5BB9\u5E76\u4E0D\u4F1A\u540C\u6B65\u5230\u8BD5\u9898\u5E93"),St.createElement(be.default.Item,{name:"hack_settings",className:"mb0",initialValue:[]},St.createElement(Wt,{dataSource:rn,setDataSource:Fn,columns:Pr,loading:Kt}))),St.createElement(zt,{style:{marginBottom:100},title:"\u4F5C\u4E1A\u8BBE\u7F6E",icon:"iconfont icon-zuoyeshezhi"},St.createElement("div",{className:Ce.title},"\u6392\u884C\u699C\u65F6\u95F4\u540D\u6B21\u89C4\u5219"),St.createElement("div",{className:`${Ce.content} mb30`},St.createElement(be.default.Item,{name:"hack_rank_rule",noStyle:!0,initialValue:0},St.createElement(ot.ZP.Group,null,St.createElement(ot.ZP,{value:0},St.createElement("span",{className:"c-black"},"\u8017\u65F6\u65F6\u957F\u4F18\u5148"),St.createElement("span",{className:"c-grey-666 font14"},"\uFF08\u540C\u6210\u7EE9\uFF0C\u8017\u65F6\u8D8A\u77ED\u540D\u6B21\u8D8A\u524D\uFF09")),St.createElement(ot.ZP,{style:{marginLeft:40},value:1},St.createElement("span",{className:"c-black"},"\u5B8C\u6210\u65F6\u95F4\u70B9\u4F18\u5148"),St.createElement("span",{className:"c-grey-666 font14"},"\uFF08\u540C\u6210\u7EE9\uFF0C\u5B8C\u6210\u65F6\u95F4\u8D8A\u65E9\u540D\u6B21\u8D8A\u524D\uFF09"))))),St.createElement("div",{className:`${Ce.title} mt30`},"\u5B66\u751F\u5B9E\u9A8C\u62A5\u544A\u4EE3\u7801\u5C55\u793A\u8BBE\u7F6E"),St.createElement("div",{className:Ce.content},St.createElement(be.default.Item,{name:"show_late_code",noStyle:!0,valuePropName:"checked",initialValue:!0},St.createElement(We.default,null,St.createElement("span",{className:"c-black"},"\u5C55\u793A\u6240\u6709\u8BC4\u6D4B\u4EE3\u7801"),St.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")))),St.createElement("div",{className:`${Ce.title} mt30`},"\u516C\u5F00\u8BBE\u7F6E"),St.createElement("div",{className:Ce.content},St.createElement(be.default.Item,{name:"score_open",valuePropName:"checked",className:"mb0",initialValue:!1},St.createElement(We.default,null,St.createElement("span",{className:"c-black"},"\u516C\u5F00\u6210\u7EE9"),St.createElement("span",{className:"c-grey-666 ml10"},"\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"))),St.createElement(be.default.Item,{name:"open_code",valuePropName:"checked",className:"mb0",initialValue:!1},St.createElement(We.default,null,St.createElement("span",{className:"c-black"},"\u516C\u5F00\u4EE3\u7801"),St.createElement("span",{className:"c-grey-666 ml10"},"\uFF08\u8BBE\u7F6E\u5B66\u751F\u53EF\u5728\u6392\u884C\u699C\u4E2D\u67E5\u770B\u4ED6\u4EBA\u8BD5\u9898\u901A\u8FC7\u4EE3\u7801\u8BE6\u60C5\uFF09"))),!!zn&&St.createElement(be.default.Item,{name:"open_code_type",className:"mb0 ml25",initialValue:1},St.createElement(ot.ZP.Group,null,St.createElement(ot.ZP,{value:1},"\u4F5C\u4E1A\u7ED3\u675F\u540E"),St.createElement(ot.ZP,{style:{marginLeft:60},value:0},"\u4EFB\u610F\u65F6\u95F4"))),St.createElement(be.default.Item,{name:"rank_forbidden",valuePropName:"checked",className:"mb0",initialValue:!1},St.createElement(We.default,null,St.createElement("span",{className:"c-black"},"\u5F00\u542F\u5C01\u699C"),St.createElement("span",{className:"c-grey-666 ml10"},"\uFF08\u8BBE\u7F6E\u5B66\u751F\u4E0D\u53EF\u67E5\u770B\u6392\u884C\u699C\u4FE1\u606F\u7684\u65F6\u95F4\u6BB5\uFF09"))),!!Ln&&St.createElement(Ae.Z,{align:"middle",className:"ml25"},St.createElement(be.default.Item,{label:"\u5F00\u59CB\u65F6\u95F4",name:"rank_forbidden_start",initialValue:"",rules:[{required:!0,message:"\u5C01\u699C\u5F00\u59CB\u65F6\u95F4\u4E0D\u80FD\u4E3A\u7A7A"}],className:"mb0"},St.createElement(Mt.default,{style:{width:170},placeholder:"\u8BF7\u9009\u62E9\u5F00\u59CB\u65F6\u95F4",showTime:{format:"HH:mm"},allowClear:!1,format:"YYYY-MM-DD HH:mm",disabledDate:Ut.Q8,disabledTime:Ut.d0})),St.createElement(be.default.Item,{label:"\u622A\u6B62\u65F6\u95F4",name:"rank_forbidden_end",style:{marginLeft:40},initialValue:"",rules:[{required:!0,message:"\u5C01\u699C\u622A\u6B62\u65F6\u95F4\u4E0D\u80FD\u4E3A\u7A7A"}],className:"mb0"},St.createElement(Mt.default,{style:{width:170},allowClear:!1,placeholder:"\u8BF7\u9009\u62E9\u622A\u6B62\u65F6\u95F4",showTime:{format:"HH:mm"},format:"YYYY-MM-DD HH:mm",disabledDate:Ut.Q8,disabledTime:Ut.d0}))),St.createElement(be.default.Item,{name:"hack_analysis",valuePropName:"checked",className:"mb0",initialValue:!1},St.createElement(We.default,null,St.createElement("span",{className:"c-black"},"\u516C\u5F00\u89E3\u6790"),St.createElement("span",{className:"c-grey-666 ml10"},"\uFF08\u8BBE\u7F6E\u5B66\u751F\u5728\u5B9E\u9A8C\u9875\u9762\u67E5\u770B\u8BD5\u9898\u89E3\u6790\uFF09"))),!!rr&&St.createElement(be.default.Item,{name:"hack_analysis_type",className:"mb0 ml25",initialValue:2},St.createElement(ot.ZP.Group,null,St.createElement(ot.ZP,{value:2},"\u4F5C\u4E1A\u7ED3\u675F\u540E"),St.createElement(ot.ZP,{value:0,style:{marginLeft:60}},"\u4EFB\u610F\u65F6\u95F4"),St.createElement(ot.ZP,{style:{marginLeft:60},value:1},"\u5B66\u751F\u901A\u8FC7\u7B54\u9898\u540E/\u672A\u901A\u8FC7\u7684\u5B66\u751F\u4F5C\u4E1A\u622A\u6B62\u540E"))),St.createElement(be.default.Item,{name:"hack_answer",valuePropName:"checked",className:"mb0",initialValue:!1},St.createElement(We.default,null,St.createElement("span",{className:"c-black"},"\u516C\u5F00\u7B54\u6848"),St.createElement("span",{className:"c-grey-666 ml10"},"\uFF08\u8BBE\u7F6E\u5B66\u751F\u5728\u5B9E\u9A8C\u9875\u9762\u67E5\u770B\u8BD5\u9898\u7B54\u6848\uFF09"))),!!_n&&St.createElement(be.default.Item,{name:"hack_answer_type",className:"mb0 ml25",initialValue:1},St.createElement(ot.ZP.Group,null,St.createElement(ot.ZP,{value:1},"\u4F5C\u4E1A\u7ED3\u675F\u540E"),St.createElement(ot.ZP,{value:0,style:{marginLeft:60}},"\u4EFB\u610F\u65F6\u95F4")))),St.createElement("div",{className:`${Ce.title} mt30`},"\u534F\u4F5C\u8BBE\u7F6E"),St.createElement(be.default.Item,{name:"user_ids",noStyle:!0,initialValue:[]},St.createElement(wn,{params:ln}))))),St.createElement("div",{className:Ce.fixedBtns},St.createElement(Ae.Z,{align:"middle",className:Ce.center},St.createElement(Ve.ZP,{onClick:()=>se.history.push(Br()),style:{padding:"6px 15px"},type:"primary",ghost:!0},"\u53D6\u6D88"),St.createElement(Ve.ZP,{loading:xt&&!Zn.current,disabled:xt&&Zn.current,onClick:()=>Jr(!1),style:{marginLeft:"auto",marginRight:20,padding:"6px 40px"},type:"primary",ghost:!0},"\u4FDD\u5B58\u4F5C\u4E1A"),St.createElement(Ve.ZP,{loading:xt&&Zn.current,disabled:xt&&!Zn.current,onClick:()=>Jr(!0),style:{padding:"6px 19px"},type:"primary"},"\u4FDD\u5B58\u5E76\u53D1\u5E03\u4F5C\u4E1A")))),St.createElement(gn,{setScoreShow:Ct,isshixuns:!1,ScoreShow:Ye,virtualId:kn.current,isloadings:qt,onOk:vo,selectedIds:rn.map(yr=>{var ur;return(ur=yr.program_attr)==null?void 0:ur.origin_item_bank_id})||[]}),St.createElement(ft.Z,{courseEndTime:It==null?void 0:It.course_end_date,onWindowBack:()=>{window.location.href=`/classrooms/${ln==null?void 0:ln.coursesId}/program_homework/${It==null?void 0:It.id}/detail`}}))}},40571:function(Yn,mn,z){"use strict";var b=z(59301),Ce=z(28284),de=z(6767),rt=z(62957),Oe=z(77019),xe=z(47889),Ae=z(4875),Ve=z(5269),Be=z(24017),fe=z(62673),Ge=z(66649),be=z.n(Ge),vt=z(49317),Je=z(15267),tt=z(76406),je=z(44283),We=z(97659),ot=z(77996),Mt=z(28450),Ut=z(59301),se=Object.defineProperty,Me=Object.defineProperties,st=Object.getOwnPropertyDescriptors,mt=Object.getOwnPropertySymbols,kt=Object.prototype.hasOwnProperty,Qe=Object.prototype.propertyIsEnumerable,ut=(gt,He,ke)=>He in gt?se(gt,He,{enumerable:!0,configurable:!0,writable:!0,value:ke}):gt[He]=ke,dt=(gt,He)=>{for(var ke in He||(He={}))kt.call(He,ke)&&ut(gt,ke,He[ke]);if(mt)for(var ke of mt(He))Qe.call(He,ke)&&ut(gt,ke,He[ke]);return gt},Fe=(gt,He)=>Me(gt,st(He)),Ze=(gt,He)=>{var ke={};for(var Nt in gt)kt.call(gt,Nt)&&He.indexOf(Nt)<0&&(ke[Nt]=gt[Nt]);if(gt!=null&&mt)for(var Nt of mt(gt))He.indexOf(Nt)<0&&Qe.call(gt,Nt)&&(ke[Nt]=gt[Nt]);return ke},Se=(gt,He,ke)=>new Promise((Nt,De)=>{var ve=Wt=>{try{Gt(ke.next(Wt))}catch(pe){De(pe)}},At=Wt=>{try{Gt(ke.throw(Wt))}catch(pe){De(pe)}},Gt=Wt=>Wt.done?Nt(Wt.value):Promise.resolve(Wt.value).then(ve,At);Gt((ke=ke.apply(gt,He)).next())});const ue=gt=>{var He=gt,{classroomList:ke,dispatch:Nt,courseEndTime:De,onWindowBack:ve}=He,At=Ze(He,["classroomList","dispatch","courseEndTime","onWindowBack"]),Gt,Wt,pe,Re,Ue,Jt,et,jt,ct,dn,bt,le,ne,te,ae,he,re,ce,Pe,lt,$e,Ie,ht,Et,Rt,Te,Ke,yn,Ht,bn,fn,Xt,on,gn,ft,Yt,xn,St,_e;const Vt=(0,je.useParams)(),[tn]=Ce.default.useForm(),[un,Tn]=(0,b.useState)(1),[qn,mr]=(0,b.useState)([]),[vr,Jn]=(0,b.useState)(0),[dr,_t]=(0,b.useState)(2e3),[zt,Sn]=(0,b.useState)(!0),[wn,vn]=(0,b.useState)(!1),[Rn,Bt]=(0,b.useState)(!1),[ln,Zt]=(0,b.useState)([]),[pn,cn]=(0,b.useState)(!0),[zn,Ln]=(0,b.useState)(!((pe=(Wt=(Gt=ke.actionTabs)==null?void 0:Gt.selectArrsAll)==null?void 0:Wt[0])!=null&&pe.send_type));let[rr,_n]=(0,b.useState)([0,0,0]);(0,b.useEffect)(()=>{var yt,Ye,Ct,qt,nr,ar,pt,xt,Pt,Kt,In,Zn,kn;if(ke.actionTabs.key==="\u7ACB\u5373\u53D1\u5E03")if(er(),(Ct=(Ye=(yt=ke.actionTabs)==null?void 0:yt.selectArrsAll)==null?void 0:Ye[0])!=null&&Ct.can_publish?_n([...(Pt=(xt=(pt=ke.actionTabs)==null?void 0:pt.selectArrsAll)==null?void 0:xt[0])==null?void 0:Pt.difficult_count]):_n([...(ar=(nr=(qt=ke.actionTabs)==null?void 0:qt.selectArrsAll)==null?void 0:nr[0])==null?void 0:ar.difficult_settings]),Ln(!((Zn=(In=(Kt=ke.actionTabs)==null?void 0:Kt.selectArrsAll)==null?void 0:In[0])!=null&&Zn.send_type)),rn(),ke.actionTabs.type===2){const Un=(kn=ke.actionTabs.selectArrsAll)==null?void 0:kn[0];cn(Un.unified_setting)}else cn(!1)},[ke.actionTabs]),console.log("----",ke.actionTabs),(0,b.useEffect)(()=>{if(wn){if(Rn)return;Nt({type:"classroomList/setActionTabs",payload:{}}),(0,Je.GJ)()?(Nt({type:"classroomList/getClassroomTeacherCommonList",payload:Fe(dt({},ke.actionTabs.params),{type:1})}),Nt({type:"shixunHomeworks/getWorkList",payload:dt({},Vt)})):Nt({type:"classroomList/getClassroomCommonList",payload:dt({},ke.actionTabs.params)})}},[wn]);const rn=yt=>Se(void 0,null,function*(){Sn(!0);const Ye=yield(0,ot.c_)(Fe(dt({},Vt),{page:yt||un,limit:2e4,homework_id:ke.actionTabs.type===1?"":ke.actionTabs.selectArrs[0]}));Ye==null||Ye.course_groups.map((Ct,qt)=>{Ct.key=Ct.id,Ct.title=Ct.name,Ct.disabled=Ct.is_published}),Ye&&(mr([...Ye==null?void 0:Ye.course_groups]),Jn(Ye==null?void 0:Ye.course_groups_count),Sn(!1),yt||tn.setFieldsValue({publish_time:be()(be()(new Date).add(0,"days").format("YYYY-MM-DD HH:mm")),end_time:be()(be()(new Date).add(7,"days").format("YYYY-MM-DD HH:mm"))}))}),Fn=()=>{(0,Je.GJ)()?ke.actionTabs.detail?(Nt({type:"shixunHomeworks/setActionTabs",payload:{}}),Nt({type:"shixunHomeworks/getWorkList",payload:dt({},Vt)}),Nt({type:"shixunHomeworks/getWorkSetting",payload:dt({},Vt)})):Nt({type:"classroomList/getClassroomTeacherCommonList",payload:Fe(dt({},ke.actionTabs.params),{type:5,category:ke.actionTabs.params.categoryId})}):Nt({type:"classroomList/getClassroomCommonList",payload:dt({},ke.actionTabs.params)})},nn=()=>Se(void 0,null,function*(){var yt,Ye,Ct,qt,nr,ar,pt,xt,Pt;if(((Ct=(Ye=(yt=(0,Je.eY)())==null?void 0:yt.course)==null?void 0:Ye.hack_homework_info)==null?void 0:Ct.hack_homework_remaining_count)===0&&((nr=(qt=ke.actionTabs.selectArrsAll)==null?void 0:qt.filter(kn=>{var Un;return(Un=(kn==null?void 0:kn.status)||(kn==null?void 0:kn.homework_status))==null?void 0:Un.includes("\u672A\u53D1\u5E03")}))==null?void 0:nr.length)>0){(0,tt.bR)(`\u60A8\u4ECA\u65E5\u5728\u3010${(pt=(ar=(0,Je.eY)())==null?void 0:ar.course)==null?void 0:pt.course_name}\u3011\u7684\u8BFE\u5802\u7F16\u7A0B\u4F5C\u4E1A\u53D1\u5E03\u989D\u5EA6\u5DF2\u7528\u5B8C\u3002\u989D\u5EA6\u5C06\u4E8E\u6BCF\u65E524\u70B9\u91CD\u7F6E\uFF0C\u5C4A\u65F6\u5373\u53EF\u7EE7\u7EED\u53D1\u5E03\u3002\u5982\u9700\u7ACB\u5373\u53D1\u5E03\u66F4\u591A\u4F5C\u4E1A\uFF0C\u8BF7\u8054\u7CFB\u5E73\u53F0\u8FD0\u8425\u6269\u5BB9\u3002`);return}if((0,Je.Rm)()&&!((xt=ke.AssistantObject.hack)!=null&&xt.can_publish)){de.ZP.warning("\u60A8\u672A\u83B7\u53D6\u6B64\u6743\u9650\uFF0C\u9700\u5411\u8BFE\u5802\u7BA1\u7406\u5458\u7533\u8BF7\u6743\u9650\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD"),ze(!1);return}const Kt=dt({},tn.getFieldsValue());if(Kt.end_time<=Kt.publish_time){de.ZP.info("\u622A\u6B62\u65F6\u95F4\u4E0D\u80FD\u5927\u4E8E\u6216\u7B49\u4E8E\u53D1\u5E03\u65F6\u95F4"),ze(!1);return}if((ln==null?void 0:ln.length)<=0&&!pn&&qn.length>0){de.ZP.info("\u53D1\u5E03\u73ED\u7EA7\u4E0D\u80FD\u4E3A\u7A7A"),ze(!1);return}if(rr.reduce((kn,Un)=>kn+Un,0)===0&&!zn){de.ZP.info("\u7B80\u5355\u9002\u4E2D\u56F0\u96BE\u9898\u6570\u76F8\u52A0\u4E0D\u80FD\u4E3A0"),ze(!1);return}let In={homework_ids:[...ke.actionTabs.selectArrs],group_ids:ln.length>0?ln.map(kn=>kn.id):(Pt=ke.detailCommonHomeworksList)==null?void 0:Pt.course_groups,end_time:be()(Kt.end_time).format("YYYY-MM-DD HH:mm"),publish_time:be()(Kt.publish_time).format("YYYY-MM-DD HH:mm"),difficult_settings:rr==null?void 0:rr.map(kn=>kn),send_type:zn?"0":"1",unified_setting:!ln.length};if(ze(!0),(yield(0,vt.ZP)(`/api/courses/${Vt.coursesId}/homework_commons/publish_with_homework_list_position.json`,{method:"post",body:dt({},In)})).status===0){if(ze(!1),(0,tt.L9)(["\u6559\u5B66\u8BFE\u5802","\u56FE\u6587\u4F5C\u4E1A","\u7ACB\u5373\u53D1\u5E03"]),de.ZP.success("\u53D1\u5E03\u6210\u529F"),Nt({type:"user/getUserInfo",payload:{course_id:Vt.coursesId}}),Nt({type:"classroomList/setActionTabs",payload:{key:"\u6E05\u9664\u9009\u62E9\u6570\u636E"}}),ve){ve();return}At.onCallback&&At.onCallback(),Fn(),localStorage.getItem("Noviceguide")==="0"||Nt({type:"shixunHomeworks/setActionTabs",payload:{key:"\u5E95\u90E8\u5F39\u7A97",type:13,text:Ut.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 ze(!1)}),er=()=>{Tn(1),mr([]),Zt([])},It=vr>un*dr,[Qt,ze]=(0,b.useState)(!1);return Ut.createElement(rt.default,{width:600,confirmLoading:Qt,centered:!0,title:"\u53D1\u5E03\u4F5C\u4E1A",open:ke.actionTabs.key==="\u7ACB\u5373\u53D1\u5E03",okText:"\u53D1\u5E03\u4F5C\u4E1A",cancelText:"\u6682\u4E0D\u53D1\u5E03",onOk:nn,onCancel:()=>{if(er(),Nt({type:"classroomList/setActionTabs",payload:{}}),ve){ve();return}Fn()}},Ut.createElement("p",{className:"tc"},"\u5B66\u751F\u5C06\u7ACB\u5373\u6536\u5230\u4F5C\u4E1A",Ut.createElement("br",null),'\u672C\u64CD\u4F5C\u53EA\u5BF9"\u672A\u53D1\u5E03"\u7684\u4F5C\u4E1A\u6709\u6548'),qn&&Ut.createElement(Ce.default,{form:tn},Ut.createElement("div",{style:{paddingLeft:0}},ke.actionTabs.type===2&&Ut.createElement(Oe.Z,{style:{marginBottom:"10px"}},Ut.createElement("span",{className:"mr5"},"\u8BD5\u9898\u53D1\u9001:"),Ut.createElement(xe.ZP.Group,{value:zn,disabled:!((Jt=(Ue=(Re=ke.actionTabs)==null?void 0:Re.selectArrsAll)==null?void 0:Ue[0])!=null&&Jt.can_publish),onChange:yt=>{Ln(yt.target.value)}},Ut.createElement(xe.ZP,{value:!0},"\u5168\u90E8\u56FA\u5B9A\u8BD5\u9898"),Ut.createElement(xe.ZP,{className:"ml20",value:!1},"\u968F\u673A\u62BD\u53D6"))),!zn&&Ut.createElement(Oe.Z,{style:{marginBottom:"10px"}},Ut.createElement("span",{style:{marginRight:65}}),Ut.createElement("span",null,"\u7B80\u5355\u9898\u6570 ",Ut.createElement(Ae.Z,{value:rr[0],onChange:yt=>{rr[0]=yt,_n([...rr])},min:0,disabled:!((ct=(jt=(et=ke.actionTabs)==null?void 0:et.selectArrsAll)==null?void 0:jt[0])!=null&&ct.can_publish),placeholder:`\u6700\u5927${(ne=(le=(bt=(dn=ke.actionTabs)==null?void 0:dn.selectArrsAll)==null?void 0:bt[0])==null?void 0:le.difficult_count)==null?void 0:ne[0]}`,max:(re=(he=(ae=(te=ke.actionTabs)==null?void 0:te.selectArrsAll)==null?void 0:ae[0])==null?void 0:he.difficult_count)==null?void 0:re[0],style:{width:60}})),Ut.createElement("span",{style:{margin:"0px 40px"}},"\u9002\u4E2D\u9898\u6570 ",Ut.createElement(Ae.Z,{value:rr[1],onChange:yt=>{rr[1]=yt,_n([...rr])},min:0,disabled:!((lt=(Pe=(ce=ke.actionTabs)==null?void 0:ce.selectArrsAll)==null?void 0:Pe[0])!=null&<.can_publish),max:(Et=(ht=(Ie=($e=ke.actionTabs)==null?void 0:$e.selectArrsAll)==null?void 0:Ie[0])==null?void 0:ht.difficult_count)==null?void 0:Et[1],placeholder:`\u6700\u5927${(yn=(Ke=(Te=(Rt=ke.actionTabs)==null?void 0:Rt.selectArrsAll)==null?void 0:Te[0])==null?void 0:Ke.difficult_count)==null?void 0:yn[1]}`,style:{width:60}})),Ut.createElement("span",null,"\u56F0\u96BE\u9898\u6570 ",Ut.createElement(Ae.Z,{value:rr[2],onChange:yt=>{rr[2]=yt,_n([...rr])},min:0,disabled:!((fn=(bn=(Ht=ke.actionTabs)==null?void 0:Ht.selectArrsAll)==null?void 0:bn[0])!=null&&fn.can_publish),placeholder:`\u6700\u5927${(ft=(gn=(on=(Xt=ke.actionTabs)==null?void 0:Xt.selectArrsAll)==null?void 0:on[0])==null?void 0:gn.difficult_count)==null?void 0:ft[2]}`,max:(_e=(St=(xn=(Yt=ke.actionTabs)==null?void 0:Yt.selectArrsAll)==null?void 0:xn[0])==null?void 0:St.difficult_count)==null?void 0:_e[2],style:{width:60}}))),Ut.createElement(Oe.Z,{className:"mt30",align:"middle"},Ut.createElement(Ve.Z,null,Ut.createElement(Ce.default.Item,{name:"publish_time",label:"\u53D1\u5E03\u65F6\u95F4"},Ut.createElement(Be.default,{style:{width:170,marginRight:"25px"},disabledDate:yt=>(0,Mt.Q8)(yt,De),disabledTime:yt=>(0,Mt.d0)(yt),placeholder:"\u8BF7\u9009\u62E9\u53D1\u5E03\u65F6\u95F4",showTime:{format:"HH:mm",defaultValue:be()((0,tt.U6)(),"HH:mm")},format:"YYYY-MM-DD HH:mm",allowClear:!1}))),Ut.createElement(Ve.Z,{className:"ml20"},Ut.createElement(Ce.default.Item,{name:"end_time",label:"\u622A\u6B62\u65F6\u95F4"},Ut.createElement(Be.default,{style:{width:170},placeholder:"\u8BF7\u9009\u62E9\u622A\u6B62\u65F6\u95F4",showTime:{format:"HH:mm",defaultValue:be()((0,tt.U6)(),"HH:mm")},disabledDate:yt=>(0,Mt.Q8)(yt,De,tn.getFieldValue("publish_time")),disabledTime:yt=>(0,Mt.d0)(yt,tn.getFieldValue("publish_time")),format:"YYYY-MM-DD HH:mm",allowClear:!1})))),ke.actionTabs.type===2&&Ut.createElement(Oe.Z,{style:{marginBottom:"10px"}},Ut.createElement("span",{className:"mr5"},"\u53D1\u5E03\u8BBE\u7F6E:"),Ut.createElement(xe.ZP.Group,{value:pn,onChange:yt=>{cn(yt.target.value),Zt([])}},Ut.createElement(xe.ZP,{value:!0,disabled:!ke.actionTabs.manage_all_group},"\u7EDF\u4E00\u53D1\u5E03"),Ut.createElement(xe.ZP,{className:"ml20",disabled:qn.length<=0,value:!1},"\u5206\u73ED\u53D1\u5E03"))),qn.length<=0&&ke.actionTabs.type===2&&Ut.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"')),(ke.actionTabs.type===1||!pn)&&qn.length>0&&Ut.createElement("div",{style:{display:"flex",justifyContent:"space-between",marginBottom:"10px"}},Ut.createElement("span",{style:{flex:1}},Ut.createElement(fe.default,{checked:ln.length===qn.length,onChange:yt=>{ln.length===qn.length?Zt([]):Zt(qn.filter(Ye=>!Ye.is_published))}},"\u5168\u9009")," "),Ut.createElement("span",{style:{width:16}}),Ut.createElement("span",{style:{flex:1}},"\u5DF2\u9009\u62E9",ln.length||0,"\u4E2A\u5206\u73ED")),(ke.actionTabs.type===1||!pn)&&qn.length>0&&Ut.createElement(We.Z,{data:qn,selectedRowKeys:ln,setSelectedRowKeys:Zt})))};mn.Z=(0,je.connect)(({classroomList:gt})=>({classroomList:gt}))(ue)},28450:function(Yn,mn,z){"use strict";z.d(mn,{Q8:function(){return ve},d0:function(){return At},w6:function(){return De}});var b=z(59301),Ce=z(24017),de=z(82326),rt=z(6767),Oe=z(62957),xe=z(47889),Ae=z(77019),Ve=z(5269),Be=z(25399),fe=z(62673),Ge=z(7939),be=z(66649),vt=z.n(be),Je=z(15267),tt=z(49317),je=z(78267),We=z.n(je),ot=z(76406),Mt=z(90834),Ut=z(44283),se=z(47026),Me=z(24532),st=z(44624),mt=z(27878),kt=z(66443),Qe=z(59301),ut=Object.defineProperty,dt=Object.defineProperties,Fe=Object.getOwnPropertyDescriptors,Ze=Object.getOwnPropertySymbols,Se=Object.prototype.hasOwnProperty,ue=Object.prototype.propertyIsEnumerable,gt=(Ue,Jt,et)=>Jt in Ue?ut(Ue,Jt,{enumerable:!0,configurable:!0,writable:!0,value:et}):Ue[Jt]=et,He=(Ue,Jt)=>{for(var et in Jt||(Jt={}))Se.call(Jt,et)&>(Ue,et,Jt[et]);if(Ze)for(var et of Ze(Jt))ue.call(Jt,et)&>(Ue,et,Jt[et]);return Ue},ke=(Ue,Jt)=>dt(Ue,Fe(Jt)),Nt=(Ue,Jt,et)=>new Promise((jt,ct)=>{var dn=ne=>{try{le(et.next(ne))}catch(te){ct(te)}},bt=ne=>{try{le(et.throw(ne))}catch(te){ct(te)}},le=ne=>ne.done?jt(ne.value):Promise.resolve(ne.value).then(dn,bt);le((et=et.apply(Ue,Jt)).next())});function De(Ue,Jt){const et=[];for(let jt=Ue;jt<Jt;jt++)et.push(jt);return et}const ve=(Ue,Jt,et)=>{const jt=Ue<vt()().startOf("day"),ct=Ue>vt()(Jt).endOf("day"),dn=Ue<vt()(et).startOf("day");return Jt?et?vt()()<=vt()(et)?dn||ct:jt||ct:Ue&&jt||ct:et&&vt()()<=vt()(et)?dn:jt},At=(Ue,Jt)=>{const et=parseInt(vt()(Ue).format("HH")),jt=parseInt(vt()().format("HH")),ct=parseInt(vt()().format("mm"));if(!Ue)return{disabledHours:()=>De(0,jt),disabledMinutes:()=>De(0,ct)};if(Jt){const dn=parseInt(vt()(Jt).format("HH")),bt=parseInt(vt()(Jt).format("mm"));return vt()(Ue).isSame(vt()(Jt),"day")?{disabledHours:()=>De(0,dn),disabledMinutes:()=>et<=dn?De(0,bt):[]}:void 0}if(vt()(Ue).isSame(vt()(),"day"))return{disabledHours:()=>De(0,jt),disabledMinutes:()=>vt()(Ue).isSame(vt()(),"hour")&&et<=jt?De(0,ct):[]}},Gt=(Ue,Jt)=>Ue==null?void 0:Ue.map(et=>{var jt;return(jt=Jt==null?void 0:Jt.find(ct=>ct.value===et))==null?void 0:jt.id}),{RangePicker:Wt}=Ce.default,{Option:pe}=de.default,Re=({shixunHomeworks:Ue,loading:Jt,dispatch:et,classroomList:jt,user:ct})=>{var dn,bt,le,ne,te,ae,he,re,ce;const Pe=(0,Ut.useParams)(),{workSetting:lt,workList:$e,shixunWorkList:Ie,headerInfo:ht,changeData:Et}=Ue,[Rt,Te]=(0,b.useState)(!1),[Ke,yn]=(0,b.useState)(!1);let[Ht,bn]=(0,b.useState)([]),[fn,Xt]=(0,b.useState)([]),[on,gn]=(0,b.useState)({unified_setting:!1,publish_time:"",end_time:"",allow_late:!1,unified_late:!0,late_time:"",late_penalty:0,penalty_type:se.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,Yt]=(0,b.useState)({}),[xn,St]=(0,b.useState)({});(0,b.useEffect)(()=>()=>{bn([])},[]),(0,b.useEffect)(()=>{Te(!(0,Je.GJ)())},[(0,Je.GJ)()]);const _e=()=>{et({type:"shixunHomeworks/getWorkSetting",payload:He({},Pe)})};(0,b.useEffect)(()=>{if(!(lt!=null&<.course_id))return;Object.keys(on).map(function(zt){on[zt]=lt[zt]}),(!on.allow_late||!on.unified_late)&&(on.late_penalty=20,on.penalty_type=se.Q.Percent),on.unified_setting||(on.unified_late=!1,on.unified_anonymous_comment=!1,on.unified_anonymous_appeal=!1),Ht=JSON.parse(JSON.stringify(lt.group_settings.map(zt=>ke(He({},zt),{group_name:[zt.group_name]})).filter(zt=>zt.publish_time!==null))),fn=JSON.parse(JSON.stringify(lt.allow_late_settings.map(zt=>ke(He({},zt),{group_name:[zt.group_name]})).filter(zt=>zt.late_time!==null))),gn(He({},on));const _t=(0,ot.QE)((Ht==null?void 0:Ht.length)>0?Ht:[]);bn([..._t]),(fn==null?void 0:fn.length)<=0?Xt([{penalty_type:se.Q.Percent,late_penalty:20}]):Xt([...fn])},[lt]);const Vt=()=>Nt(void 0,null,function*(){var _t,zt,Sn,wn,vn,Rn,Bt,ln;if(((Sn=(zt=(_t=ct==null?void 0:ct.userInfo)==null?void 0:_t.course)==null?void 0:zt.shixun_homework_info)==null?void 0:Sn.shixun_homework_remaining_count)===0&&((vn=(wn=Ue==null?void 0:Ue.headerInfo)==null?void 0:wn.homework_status)!=null&&vn.includes("\u672A\u53D1\u5E03"))){(0,ot.bR)(`\u60A8\u4ECA\u65E5\u5728\u3010${(Bt=(Rn=(0,Je.eY)())==null?void 0:Rn.course)==null?void 0:Bt.course_name}\u3011\u7684\u8BFE\u5802\u5B9E\u9A8C\u4F5C\u4E1A\u53D1\u5E03\u989D\u5EA6\u5DF2\u7528\u5B8C\u3002\u989D\u5EA6\u5C06\u4E8E\u6BCF\u65E524\u70B9\u91CD\u7F6E\uFF0C\u5C4A\u65F6\u5373\u53EF\u7EE7\u7EED\u53D1\u5E03\u3002\u5982\u9700\u7ACB\u5373\u53D1\u5E03\u66F4\u591A\u4F5C\u4E1A\uFF0C\u8BF7\u8054\u7CFB\u5E73\u53F0\u8FD0\u8425\u6269\u5BB9\u3002`);return}if(((ln=ct==null?void 0:ct.userInfo)==null?void 0:ln.user_status)===2){(0,Me.Rd)();return}const Zt=JSON.parse(JSON.stringify(on));if(Zt.challenge_settings.filter(cn=>!cn.hide),Zt.categoryId=Pe.categoryId,console.log(Ht),!on.unified_setting)Ht=Ht==null?void 0:Ht.map(cn=>{var zn;if(!cn.publish_time||!cn.end_time)throw rt.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(!cn.group_name)throw rt.ZP.error("\u8BF7\u9009\u62E9\u5206\u73ED\u540D\u79F0"),new String("\u8BF7\u9009\u62E9\u5206\u73ED\u540D\u79F0");return cn.group_name=typeof(cn==null?void 0:cn.group_name)=="string"?[cn==null?void 0:cn.group_name]:cn==null?void 0:cn.group_name,cn.group_id=(zn=lt.group_settings)==null?void 0:zn.filter(Ln=>{var rr;return(rr=cn==null?void 0:cn.group_name)==null?void 0:rr.includes(Ln.group_name)}).map(Ln=>Ln.group_id||Ln.id).toString().split(","),cn});else if(!on.publish_time||!on.end_time)throw rt.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(Zt.group_settings=Ht,on.allow_late)if(on.unified_late){if(on.late_penalty===null||on.late_penalty===void 0||on.late_penalty<0||on.late_penalty>100)throw rt.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(!on.late_time)throw rt.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 fn=fn==null?void 0:fn.map(cn=>{var zn,Ln;if(cn.late_penalty===null||cn.late_penalty===void 0||cn.late_penalty<0||cn.late_penalty>100)throw rt.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(!cn.late_time)throw rt.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(!cn.group_name)throw rt.ZP.error("\u8BF7\u9009\u62E9\u5206\u73ED\u540D\u79F0"),new String("\u8BF7\u9009\u62E9\u5206\u73ED\u540D\u79F0");return cn.group_name=typeof(cn==null?void 0:cn.group_name)=="string"?[cn==null?void 0:cn.group_name]:cn==null?void 0:cn.group_name,cn.group_id=(Ln=(zn=cn==null?void 0:cn.group_name)==null?void 0:zn.map(rr=>{var _n,rn;let Fn=(rn=(_n=lt.group_settings)==null?void 0:_n.filter(nn=>(nn==null?void 0:nn.group_name)===rr))==null?void 0:rn[0];return Fn==null?void 0:Fn.group_id}))==null?void 0:Ln.toString().split(","),cn}),Zt.allow_late_settings=fn;let pn=yield(0,kt.Tr)({homework_common_ids:[parseInt(Pe.categoryId)],course_id:Pe.coursesId,type:"homework_common"});(pn==null?void 0:pn.student_count)===0?tn(Zt):(St(Zt),Yt(pn))}),tn=_t=>{if(_t.total_score===null){rt.ZP.warning("\u603B\u5206\u503C\u4E0D\u80FD\u4E3A\u7A7A");return}if(_t!=null&&_t.work_efficiency&&_t.eff_score===null){rt.ZP.warning("\u6548\u7387\u5206\u4E0D\u80FD\u4E3A\u7A7A");return}const zt=_t.challenge_settings.reduce((vn,Rn)=>vn+Number(Rn.challenge_score),0),Sn={shixun_evaluation:_t.shixun_evaluation,challenge_settings:_t.challenge_settings};let wn=()=>{var vn;const Rn=()=>Nt(void 0,null,function*(){yn(!0),(yield(0,tt.ZP)(`/api/homework_commons/${Pe.categoryId}/publish_setting.json`,{method:"post",body:He({},_t)})).status===0&&(rt.ZP.success("\u66F4\u65B0\u6210\u529F"),_e(),et({type:"user/getUserInfo",payload:{course_id:Pe.coursesId}}),et({type:"shixunHomeworks/getShixunWorkHeadInfo",payload:He({},Pe)})),yn(!1)});!(0,je.isEqual)(Et,Sn)&&!((vn=ht==null?void 0:ht.homework_status)!=null&&vn.includes("\u672A\u53D1\u5E03"))?Oe.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:Rn}):Rn()};lt!=null&<.high_resources_consume&&!(lt!=null&<.high_resources_consume_permission)?et({type:"classroomList/setActionTabs",payload:{key:"\u6388\u6743\u4F7F\u7528",id:Pe.coursesId,type:"shixun",type_id:Pe.categoryId,name:lt.homework_name,fn:()=>{wn()}}}):wn()},un=(_t,zt,Sn="group_id")=>{var wn;return zt?zt.find(vn=>vn[Sn]===_t):(wn=lt==null?void 0:lt.group_settings)==null?void 0:wn.find(vn=>vn.group_id[0]===_t)},Tn=(lt==null?void 0:lt.allow_late)||(lt==null?void 0:lt.anonymous_comment),qn=_t=>{var zt,Sn;const wn=un(_t,lt==null?void 0:lt.allow_late_settings,"id"),vn=un(_t,lt==null?void 0:lt.anonymous_comment_settings),Rn=un(_t);return(lt==null?void 0:lt.allow_late)&&wn&&vt()(wn==null?void 0:wn.late_time)<=vt()()||(lt==null?void 0:lt.anonymous_comment)&&vn&&(vn==null?void 0:vn.evaluation_start)!==null||((Sn=(vt()(Rn==null?void 0:Rn.end_time)<=vt()()&&((zt=lt==null?void 0:lt.allow_late_settings)==null?void 0:zt.filter(Bt=>Bt.group_id.includes(_t))))[0])==null?void 0:Sn.late_time)!=null},mr=(0,b.useMemo)(()=>(lt==null?void 0:lt.allow_late)||(lt==null?void 0:lt.all_group_late),[lt,ht]),vr=lt==null?void 0:lt.anonymous_comment,Jn=_t=>{if(!_t)return!1;const zt=un(_t,lt==null?void 0:lt.anonymous_comment_settings);return(lt==null?void 0:lt.anonymous_comment)&&zt&&(zt==null?void 0:zt.evaluation_start)!==null},dr=(_t,zt)=>{var Sn,wn,vn,Rn,Bt;_t!=null&&_t.group_id||(_t.group_id=Gt(_t==null?void 0:_t.group_name,lt==null?void 0:lt.group_settings)),et({type:"classroomList/setActionTabs",payload:{key:"\u5206\u73ED\u53D1\u5E03-\u53D1\u5E03\u89C4\u5219\u62C6\u5206",data:_t,index:zt,rangePickerDisabled:(wn=(Sn=_t==null?void 0:_t.group_id)==null?void 0:Sn[0])!=null&&wn.publish_time?Rt||(vt()()<=vt()((Rn=un((vn=_t==null?void 0:_t.group_id)==null?void 0:vn[0]))==null?void 0:Rn.publish_time)?!1:[!0,qn((Bt=_t==null?void 0:_t.group_id)==null?void 0:Bt[0])]):!1,disabledDate:lt==null?void 0:lt.course_end_date}})};return Qe.createElement("section",{className:Mt.Z.form},Qe.createElement("div",{className:Mt.Z.title},"\u4F5C\u4E1A\u53D1\u5E03",Qe.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")),Qe.createElement("div",null,Qe.createElement("div",{style:{background:"#F6F7F9",padding:"13px 30px",display:"flex",alignItems:"center"}},Qe.createElement(xe.ZP.Group,{disabled:Rt||!((dn=ht==null?void 0:ht.homework_status)!=null&&dn.includes("\u672A\u53D1\u5E03"))||(0,Je.Rm)()&&!((bt=jt.AssistantObject.practice)!=null&&bt.can_publish),value:on.unified_setting,onChange:_t=>{var zt;if(!((zt=ht==null?void 0:ht.homework_status)!=null&&zt.includes("\u672A\u53D1\u5E03"))){rt.ZP.error("\u5DF2\u53D1\u5E03\uFF0C\u4E0D\u80FD\u518D\u4FEE\u6539\u7EDF\u4E00\u8BBE\u7F6E");return}if(on.unified_setting=!on.unified_setting,on.unified_setting||(on.unified_late=!1,Xt([{late_penalty:5}])),gn(Object.assign({},on)),on.unified_setting===!1&&Ht==""){bn(Ht.concat({}));return}on.unified_setting&&(bn([]),Xt([{late_penalty:5}]))}},Qe.createElement(xe.ZP,{value:!0,disabled:Rt||!(lt!=null&<.manage_all_group),style:{marginRight:"50px"}},"\u7EDF\u4E00\u53D1\u5E03"),Qe.createElement(xe.ZP,{disabled:Rt||!((le=lt==null?void 0:lt.group_settings)!=null&&le.length),value:!1},"\u5206\u73ED\u53D1\u5E03")),((ne=lt==null?void 0:lt.group_settings)==null?void 0:ne.length)===0&&Qe.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")),on.unified_setting&&Qe.createElement("div",{style:{display:"flex",color:"#666666",background:"#F6F7F9",padding:"5px 30px",height:"50px",marginTop:"1px"}},Qe.createElement(Ae.Z,{align:"middle"},Qe.createElement(Ve.Z,{style:{marginLeft:"23px"}},"\u53D1\u5E03\u65F6\u95F4"),Qe.createElement(Ve.Z,{className:"ml10"},Qe.createElement(Ce.default,{size:"large",disabled:Rt||!((te=ht==null?void 0:ht.homework_status)!=null&&te.includes("\u672A\u53D1\u5E03")||(ae=ht==null?void 0:ht.homework_status)!=null&&ae.includes("\u672A\u5F00\u59CB"))||(0,Je.Rm)()&&!((he=jt.AssistantObject.practice)!=null&&he.can_publish),style:{width:170},placeholder:"\u8BF7\u9009\u62E9\u53D1\u5E03\u65F6\u95F4",showTime:{format:"HH:mm"},allowClear:!1,format:"YYYY-MM-DD HH:mm",disabledDate:_t=>ve(_t,lt==null?void 0:lt.course_end_date),disabledTime:_t=>At(_t),value:on.publish_time?vt()(on.publish_time):"",onChange:(_t,zt)=>{on.publish_time=zt,(on.end_time==""||!on.end_time)&&on.unified_setting&&(on.end_time=vt()(_t).add(7,"days").format("YYYY-MM-DD HH:mm:ss")),gn(Object.assign({},on))}}))),Qe.createElement(Ae.Z,{align:"middle",className:"pl30"},Qe.createElement(Ve.Z,null,"\u622A\u6B62\u65F6\u95F4"),Qe.createElement(Ve.Z,{className:"ml10"},Qe.createElement(Ce.default,{size:"large",style:{width:170},allowClear:!1,placeholder:"\u8BF7\u9009\u62E9\u622A\u6B62\u65F6\u95F4",showTime:{format:"HH:mm",defaultValue:vt()((0,ot.U6)(),"HH:mm")},format:"YYYY-MM-DD HH:mm",disabled:(lt==null?void 0:lt.allow_late)&&(lt==null?void 0:lt.homework_status.includes("\u5DF2\u622A\u6B62"))||Rt||(lt==null?void 0:lt.allow_late)&&vt()()>=vt()(lt==null?void 0:lt.end_time)||(0,Je.Rm)()&&!((re=jt.AssistantObject.practice)!=null&&re.can_publish),disabledDate:_t=>ve(_t,lt==null?void 0:lt.course_end_date,on.publish_time),disabledTime:_t=>At(_t,on.publish_time),value:on.end_time?vt()(on.end_time):"",onChange:(_t,zt)=>{on.end_time=zt,gn(Object.assign({},on))}})))),!on.unified_setting&&(Ht==null?void 0:Ht.length)>0&&Qe.createElement(Ae.Z,{style:{display:"flex",color:"#666666",background:"#F6F7F9",padding:"5px 30px",marginTop:"1px"}},Ht&&Ht.map(function(_t,zt){var Sn,wn,vn,Rn,Bt,ln,Zt;return Qe.createElement(Ve.Z,{span:24,key:zt},Qe.createElement(Ae.Z,{gutter:[8,16],style:{display:"flex",alignItems:"center",marginBottom:zt==(Ht==null?void 0:Ht.length)-1?"0px":"10px"}},Qe.createElement("div",{style:{minWidth:85,marginRight:"15px",textAlign:"right"}},"\u53D1\u5E03\u89C4\u5219",zt+1),Qe.createElement(de.default,{disabled:Rt||((Sn=ht==null?void 0:ht.homework_status)!=null&&Sn.includes("\u672A\u53D1\u5E03")&&_t.id||vt()()<vt()(_t==null?void 0:_t.publish_time)?!1:!!(_t!=null&&_t.publish_time))||(0,Je.Rm)()&&!((wn=jt.AssistantObject.practice)!=null&&wn.can_publish),mode:"multiple",className:Mt.Z.multiple_select,style:{width:"250px"},value:_t.group_name,placeholder:"\u8BF7\u9009\u62E9\u5206\u73ED\u540D\u79F0",onChange:pn=>{var cn;if((0,Je.Rm)()&&!((cn=jt.AssistantObject.practice)!=null&&cn.can_publish)){rt.ZP.warning("\u60A8\u672A\u83B7\u53D6\u6B64\u6743\u9650\uFF0C\u9700\u5411\u8BFE\u5802\u7BA1\u7406\u5458\u7533\u8BF7\u6743\u9650\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD");return}Ht[zt].group_name=pn,Ht[zt].group_id=_t.group_id;const zn=(0,je.flattenDeep)(Ht.map(rr=>rr.group_name)),Ln=fn.map(rr=>{let _n=(rr==null?void 0:rr.group_name)||[];return ke(He({},rr),{group_name:(0,je.remove)(_n,rn=>zn.includes(rn))})});Xt(Ln),bn(Ht.slice())},maxTagCount:4,maxTagPlaceholder:pn=>Qe.createElement("div",{style:{cursor:"pointer"},onClick:()=>dr(_t,zt)},"+",pn==null?void 0:pn.length)},lt.group_settings&<.group_settings.map(function(pn){if(!Ht.map(zn=>zn.group_name).flat().includes(pn.group_name))return Qe.createElement(pe,{value:pn.group_name,key:pn.id},pn.group_name)})),Qe.createElement("div",{className:"ml20"},Qe.createElement(Wt,{size:"large",ranges:{\u6B64\u523B:[_t.publish_time?vt()(_t.publish_time):vt()(),vt()()]},allowClear:!1,disabled:Rt||(vt()()<=vt()((Rn=un((vn=_t==null?void 0:_t.group_id)==null?void 0:vn[0]))==null?void 0:Rn.publish_time)?!1:[!0,qn((Bt=_t==null?void 0:_t.group_id)==null?void 0:Bt[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:pn=>ve(pn,lt==null?void 0:lt.course_end_date),disabledTime:pn=>At(pn),showTime:{showNow:!0,format:"HH:mm",defaultValue:[vt()((0,ot.U6)(),"HH:mm"),vt()((0,ot.U6)(),"HH:mm")]},format:"YYYY-MM-DD HH:mm",value:[_t.publish_time?vt()(_t.publish_time):void 0,_t.end_time?vt()(_t.end_time):void 0],onChange:(pn,cn)=>{var zn;if((0,Je.Rm)()&&!((zn=jt.AssistantObject.practice)!=null&&zn.can_publish)){rt.ZP.warning("\u60A8\u672A\u83B7\u53D6\u6B64\u6743\u9650\uFF0C\u9700\u5411\u8BFE\u5802\u7BA1\u7406\u5458\u7533\u8BF7\u6743\u9650\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD");return}Ht[zt].publish_time=cn[0],!_t.end_time&&cn[0]?Ht[zt].end_time=vt()(cn[0]).add(7,"days"):Ht[zt].end_time=cn[1],bn([...Ht])},onCalendarChange:(pn,cn,zn)=>{if(cn!=null&&cn[0]&&!cn[1]){const Ln=vt()(cn[0]).add(7,"days");Ht[zt].publish_time=cn[0],Ht[zt].end_time=Ln,bn([...Ht])}}})),!Rt&&Qe.createElement("div",{style:{display:"flex",width:"50px"}},((ln=_t==null?void 0:_t.group_id)==null?void 0:ln.length)>1&&Qe.createElement(Be.Z,{title:"\u89C4\u5219\u62C6\u5206"},Qe.createElement("i",{className:"iconfont icon-chaifen ml10",style:{cursor:"pointer",color:"#3061d0"},onClick:()=>dr(_t,zt)})),Ht.length<((Zt=lt==null?void 0:lt.group_settings)==null?void 0:Zt.length)&&Qe.createElement("i",{className:"iconfont icon-zengjia1 ml10 mr10",style:{cursor:"pointer",color:"#00B187"},onClick:()=>{var pn;if((0,Je.Rm)()&&!((pn=jt.AssistantObject.practice)!=null&&pn.can_publish)){rt.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(Ht.concat({}))}}),((_t==null?void 0:_t.publish_time)&&vt()()<vt()(_t==null?void 0:_t.publish_time)||!(_t!=null&&_t.publish_time))&&zt!=0&&Qe.createElement("i",{className:"iconfont icon-shanjian1",style:{cursor:"pointer",color:"#E30000"},onClick:()=>{const pn=(0,je.cloneDeep)(fn);pn.forEach((cn,zn)=>{cn.group_name&&(cn.group_name=cn.group_name.filter(Ln=>{var rr;return!((rr=Ht[zt].group_name)!=null&&rr.includes(Ln))}))}),Ht=Ht.filter((cn,zn)=>zt!==zn),Xt(pn),bn(Ht.slice()),setTimeout(()=>bn(Ht.slice()),10)}}))))}))),Qe.createElement(Ae.Z,null,Qe.createElement(Ve.Z,null,Qe.createElement("div",{className:Mt.Z.title,style:{marginTop:"30px"}},"\u8865\u4EA4\u8BBE\u7F6E",Qe.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"))),Qe.createElement(Ve.Z,{span:24,style:{background:"#F6F7F9",padding:"13px 30px",display:"flex",alignItems:"center"}},Qe.createElement(fe.default,{checked:on.allow_late,disabled:Rt||mr,onChange:_t=>{var zt;if((0,Je.Rm)()&&!((zt=jt.AssistantObject.practice)!=null&&zt.can_late)){rt.ZP.warning("\u60A8\u672A\u83B7\u53D6\u6B64\u6743\u9650\uFF0C\u9700\u5411\u8BFE\u5802\u7BA1\u7406\u5458\u7533\u8BF7\u6743\u9650\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD");return}_t.target.checked&&Oe.default.warning({title:"\u5F00\u542F\u8865\u4EA4\u63D0\u793A",centered:!0,width:480,content:Qe.createElement("div",{style:{padding:10,background:"#f5f6f9"}},Qe.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"),Qe.createElement("div",null,"2.\u8865\u4EA4\u622A\u6B62\u65F6\u95F4\u5FC5\u987B\u665A\u4E8E\u4F5C\u4E1A\u622A\u6B62\u65F6\u95F4\uFF1B"),Qe.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"))}),on.allow_late=!on.allow_late,fn==""&&Xt([{late_penalty:5}]),gn(Object.assign({},on))}},Qe.createElement("strong",null,"\u5F00\u542F\u8865\u4EA4")))),(on==null?void 0:on.allow_late)&&Qe.createElement("div",{style:{background:"#F6F7F9",padding:"10px 30px",marginTop:"1px",color:"#666666"}},Qe.createElement("div",{style:{display:"flex"}},Qe.createElement("div",{style:{width:"110px",textAlign:"right"}},"\u8865\u4EA4\u65B9\u5F0F"),Qe.createElement(xe.ZP.Group,{style:{marginLeft:"20px"},disabled:Rt||(lt==null?void 0:lt.anonymous_comment)||(lt==null?void 0:lt.allow_late),value:on.unified_late,onChange:_t=>{var zt;if((0,Je.Rm)()&&!((zt=jt.AssistantObject.practice)!=null&&zt.can_late)){rt.ZP.warning("\u60A8\u672A\u83B7\u53D6\u6B64\u6743\u9650\uFF0C\u9700\u5411\u8BFE\u5802\u7BA1\u7406\u5458\u7533\u8BF7\u6743\u9650\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD");return}on.unified_late=_t.target.value,fn==""&&!_t.target.value&&Xt([{penalty_type:se.Q.Percent,late_penalty:20}]),gn(He({},on))}},(on==null?void 0:on.unified_setting)&&Qe.createElement(xe.ZP,{value:!0,disabled:!(lt!=null&<.manage_all_group),style:{marginRight:"50px"}},"\u7EDF\u4E00\u8865\u4EA4"),((ce=lt==null?void 0:lt.group_settings)==null?void 0:ce.length)>0&&Qe.createElement(xe.ZP,{value:!1},"\u5206\u73ED\u8865\u4EA4"))),on!=null&&on.unified_late?Qe.createElement(Qe.Fragment,null,Qe.createElement(Ae.Z,{align:"middle",style:{marginTop:"10px"}},Qe.createElement(Ve.Z,{style:{width:"110px",textAlign:"right"}},"\u8865\u4EA4\u6263\u5206"),Qe.createElement(Ve.Z,{className:"ml20"},Qe.createElement(se.Z,{disabled:Rt||vr,value:{type:on.penalty_type,inputValue:on.late_penalty},onChange:_t=>{var zt;if((0,Je.Rm)()&&!((zt=jt.AssistantObject.practice)!=null&&zt.can_late)){rt.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}gn(ke(He({},on),{late_penalty:_t.inputValue,penalty_type:_t.type}))}})),Qe.createElement(Ve.Z,{flex:"1",className:"ml5"},Qe.createElement("span",{className:"c-grey-c ml10"},on.penalty_type===se.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)"))),Qe.createElement(Ae.Z,{align:"middle",style:{marginTop:"15px"}},Qe.createElement(Ve.Z,{style:{width:"110px",textAlign:"right"}},"\u8865\u4EA4\u622A\u6B62\u65F6\u95F4"),Qe.createElement(Ve.Z,{className:"ml20"},Qe.createElement(Ce.default,{size:"large",allowClear:!1,style:{width:170},placeholder:"\u8BF7\u9009\u62E9\u622A\u6B62\u65F6\u95F4",showTime:{format:"HH:mm",defaultValue:vt()((0,ot.U6)(),"HH:mm")},format:"YYYY-MM-DD HH:mm",disabled:Rt||vr,value:on.late_time?vt()(on.late_time):"",disabledDate:_t=>ve(_t,lt==null?void 0:lt.course_end_date),onChange:(_t,zt)=>{var Sn;if((0,Je.Rm)()&&!((Sn=jt.AssistantObject.practice)!=null&&Sn.can_late)){rt.ZP.warning("\u60A8\u672A\u83B7\u53D6\u6B64\u6743\u9650\uFF0C\u9700\u5411\u8BFE\u5802\u7BA1\u7406\u5458\u7533\u8BF7\u6743\u9650\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD");return}on.late_time=zt,gn(Object.assign({},on))}})))):fn.map(function(_t,zt){var Sn;return Qe.createElement(Ve.Z,{span:24,key:zt},Qe.createElement(Ae.Z,{style:{display:"flex",alignItems:"center",marginTop:"10px"}},Qe.createElement("div",{style:{width:"85px",marginLeft:"27px",textAlign:"right"}},"\u8865\u4EA4\u89C4\u5219",zt+1),Qe.createElement(de.default,{disabled:Rt||!((Sn=ht==null?void 0:ht.homework_status)!=null&&Sn.includes("\u672A\u53D1\u5E03"))&&_t.id||(lt==null?void 0:lt.anonymous_comment),mode:"multiple",className:Mt.Z.multiple_select,style:{width:"212px",marginLeft:"18px"},value:typeof _t.group_name=="string"?[_t.group_name]:_t.group_name,placeholder:"\u8BF7\u9009\u62E9\u5206\u73ED\u540D\u79F0",onChange:wn=>{var vn;if((0,Je.Rm)()&&!((vn=jt.AssistantObject.practice)!=null&&vn.can_late)){rt.ZP.warning("\u60A8\u672A\u83B7\u53D6\u6B64\u6743\u9650\uFF0C\u9700\u5411\u8BFE\u5802\u7BA1\u7406\u5458\u7533\u8BF7\u6743\u9650\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD");return}fn[zt].group_name=wn,fn[zt].group_id=_t.group_id,Xt(fn.slice())}},lt.group_settings&<.group_settings.map(function(wn){const vn=fn.map(Bt=>Bt.group_name).flat(),Rn=Ht.map(Bt=>Bt.group_name).flat();if(on!=null&&on.unified_setting){if(!vn.includes(wn.group_name))return Qe.createElement(pe,{value:wn.group_name,key:wn.id},wn.group_name)}else if(Rn.includes(wn.group_name)&&!vn.includes(wn.group_name))return Qe.createElement(pe,{value:wn.group_name,key:wn.id},wn.group_name)})),Qe.createElement("div",{className:"ml20 mr10"},"\u8865\u4EA4\u6263\u5206"),Qe.createElement(se.Z,{disabled:Rt||Jn(_t.id),value:{type:_t.penalty_type,inputValue:_t.late_penalty},onChange:wn=>{var vn;if((0,Je.Rm)()&&!((vn=jt.AssistantObject.practice)!=null&&vn.can_late)){rt.ZP.warning("\u60A8\u672A\u83B7\u53D6\u6B64\u6743\u9650\uFF0C\u9700\u5411\u8BFE\u5802\u7BA1\u7406\u5458\u7533\u8BF7\u6743\u9650\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD");return}fn[zt].late_penalty=wn.inputValue,fn[zt].penalty_type=wn.type,Xt([...fn])}}),Qe.createElement("div",{className:"ml20 mr10"},"\u8865\u4EA4\u622A\u6B62\u65F6\u95F4"),Qe.createElement(Ce.default,{size:"large",disabled:Rt||Jn(_t.id),style:{width:225},showTime:{format:"HH:mm",defaultValue:vt()((0,ot.U6)(),"HH:mm")},placeholder:"\u8BF7\u9009\u62E9\u622A\u6B62\u65F6\u95F4",disabledDate:wn=>ve(wn,lt==null?void 0:lt.course_end_date),format:"YYYY-MM-DD HH:mm",value:_t!=null&&_t.late_time?vt()(_t.late_time):void 0,onChange:(wn,vn)=>{var Rn;if((0,Je.Rm)()&&!((Rn=jt.AssistantObject.practice)!=null&&Rn.can_late)){rt.ZP.warning("\u60A8\u672A\u83B7\u53D6\u6B64\u6743\u9650\uFF0C\u9700\u5411\u8BFE\u5802\u7BA1\u7406\u5458\u7533\u8BF7\u6743\u9650\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD");return}fn[zt].late_time=vn,Xt([...fn])}}),!Rt&&Qe.createElement("div",{style:{display:"flex",width:"50px"}},Qe.createElement("i",{className:"iconfont icon-zengjia1 ml10 mr10",style:{cursor:"pointer",color:"#00B187"},onClick:()=>{var wn;if((0,Je.Rm)()&&!((wn=jt.AssistantObject.practice)!=null&&wn.can_late)){rt.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}Xt(fn.concat({penalty_type:se.Q.Percent,late_penalty:20}))}}),zt>0&&!_t.id&&Qe.createElement("i",{className:"iconfont icon-shanjian1",style:{cursor:"pointer",color:"#E30000"},onClick:()=>{var wn;if((0,Je.Rm)()&&!((wn=jt.AssistantObject.practice)!=null&&wn.can_late)){rt.ZP.warning("\u60A8\u672A\u83B7\u53D6\u6B64\u6743\u9650\uFF0C\u9700\u5411\u8BFE\u5802\u7BA1\u7406\u5458\u7533\u8BF7\u6743\u9650\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD");return}fn=fn.filter((vn,Rn)=>zt!==Rn),Xt(fn.slice()),setTimeout(()=>Xt(fn.slice()),10)}}))))})),!Rt&&Qe.createElement(Qe.Fragment,null,Qe.createElement(Ge.ZP,{type:"primary",size:"large",loading:Ke,style:{width:"138px",marginTop:"30px"},onClick:()=>Vt()},"\u4FDD\u5B58")),Qe.createElement(st.Z,{onConfirm:(_t,zt)=>{Ht.splice(_t,0,...zt),Ht.splice(_t+zt.length,1);const Sn=(0,ot.QE)([...Ht]);bn([...Sn])}}),Qe.createElement(mt.Z,{resdata:ft,type:"shixun",okloading:Ke,oktext:(ft==null?void 0:ft.can_copy_num)===0?"\u786E\u5B9A":"\u4E00\u952E\u590D\u5236\u5E76\u66FF\u6362",onok:_t=>Nt(void 0,null,function*(){yn(!0);let zt=yield(0,tt.ZP)(`/api/courses/${Pe.coursesId}/batch_copy_shixuns.json`,{method:"post",body:{type:"homework_common",ids:[parseInt(Pe.categoryId)]}});yn(!1),(zt==null?void 0:zt.status)===0&&tn(xn)})}))};mn.ZP=(0,Ut.connect)(({shixunHomeworks:Ue,classroomList:Jt,loading:et,user:jt})=>({shixunHomeworks:Ue,classroomList:Jt,loading:et.effects,user:jt}))(Re)},97659:function(Yn,mn,z){"use strict";z.d(mn,{Z:function(){return fe}});var b=z(59301),Ce=z(37568),de=z(62673),rt=z(77019),Oe={leftdiv:"leftdiv___aBzsX",listClass:"listClass___bxIEW",spantitle:"spantitle___v_Vc4",rightdiv:"rightdiv___xWu4M"},xe="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAbVJREFUOE+Nk79rFUEUhb+zE4OFwUD+CyGKKQQbSaMikQQ7C1tBBIsUQaJvl2Fn/cWDpAiIYJsi7YOIaCUWFoKKRhG0sbEzEImFGnev7G6yyXsxeU5159yZb87l3hG9q2WLiBO79FIwXpLp0s6cwITnQCMWrGDM43jdBckZQ0wTMdrong2R2Bxm0/98sZ8ozdcOEm5hjOC41u9Olc9ZQKySclOVkNhljCmCzjeAJM/4FbW5p+8k5tlggTtarfKxLSM6pHq4BTiL0SboaAOIi284jeP1nti+ApMEvdoEvEPMkOpJDZi1IwzwgqDh/wSsYZwk08ca4O0Qua3zW8OV5crmHg6u22EGbQ2nIbx+1IC6rrK+cYJW9gXEVrbxGUEj5bltQGJvgBapHu0LSGwCyEh1vBsQWwd4TNCDPg6uAOcImuoFlL1dJ9WNPg5uYwwRVM3MzhJmKIpjZK6e9bj4jNNpvL4QFx9wuoDXJ1r5IlH0llTtXgcXwa4SolObnYnwKnbFcfEcdJ+gpW6AtzFynuIop/Fn053u4CA5yzjO4FV9tu0Syl2S38WiSWBgD8AfoEPQ7Fb+LwIiyhxWwe2KAAAAAElFTkSuQmCC",Ae=z(90736),Ve=(Ge,be,vt)=>new Promise((Je,tt)=>{var je=Mt=>{try{ot(vt.next(Mt))}catch(Ut){tt(Ut)}},We=Mt=>{try{ot(vt.throw(Mt))}catch(Ut){tt(Ut)}},ot=Mt=>Mt.done?Je(Mt.value):Promise.resolve(Mt.value).then(je,We);ot((vt=vt.apply(Ge,be)).next())}),fe=({data:Ge,value:be=[],handleChangePage:vt,className:Je="",setSelectedRowKeys:tt,selectedRowKeys:je,onChange:We=()=>{}})=>{const[ot,Mt]=(0,b.useState)([]),[Ut,se]=(0,b.useState)([]),[Me,st]=(0,b.useState)([]);let[mt,kt]=(0,b.useState)(1),[Qe,ut]=(0,b.useState)();return(0,b.useEffect)(()=>{Mt(Ge),se([]),st([])},[Ge]),(0,b.useEffect)(()=>{tt&&(se(je),st(je))},[je]),b.createElement("div",{className:`flex justify-between w-full ${Je}`},b.createElement("div",{className:Oe.leftdiv},b.createElement(Ce.default.Search,{size:"middle",style:{marginBottom:"10rem"},onChange:dt=>Ve(void 0,null,function*(){Mt(Ge.filter(Fe=>{var Ze;return(Ze=Fe==null?void 0:Fe.name)==null?void 0:Ze.includes(dt.target.value)}))}),placeholder:"\u53EF\u8F93\u5165\u73ED\u7EA7\u540D\u79F0\u67E5\u8BE2"}),ot.length===0&&b.createElement(Ae.Z,{styles:{margin:"70rem auto"},customText:"\u6682\u65E0\u5206\u73ED"}),b.createElement("div",{style:{height:"85%",overflow:"auto",overflowX:"hidden"}},b.createElement(de.default.Group,{value:Ut.map(dt=>`${dt.id}`),onChange:dt=>{tt(ot.filter(Fe=>dt.includes(`${Fe.id}`)))},style:{marginTop:"10px",flexDirection:"column"}},ot.map((dt,Fe)=>b.createElement(rt.Z,{key:dt.id,style:{marginTop:"10rem",lineHeight:"24rem",display:"flex",width:"200rem"}},b.createElement(de.default,{style:{display:"flex",height:"24px",alignItems:"center"},disabled:dt.is_published,value:`${dt.id}`},b.createElement("div",{className:Oe.listClass},b.createElement("span",{className:Oe.spantitle,style:{width:dt.is_published?"108px":"170px"}},dt.name),dt.is_published&&b.createElement("span",{style:{width:"52px",height:"24px",background:"#B8B8B8",borderRadius:"13px",color:"white",lineHeight:"24px",textAlign:"center",display:"inline-block"}},"\u5DF2\u53D1\u5E03")))))))),b.createElement("div",{className:Oe.rightdiv},b.createElement(Ce.default.Search,{onChange:dt=>{st(Ut.filter(Fe=>Fe.name.includes(dt.target.value)))},size:"middle",placeholder:"\u53EF\u8F93\u5165\u73ED\u7EA7\u540D\u79F0\u67E5\u8BE2"}),Me.length===0&&b.createElement(Ae.Z,{imgStyles:{width:"200rem"},styles:{margin:"70rem auto"},customText:"\u6682\u672A\u9009\u62E9\u5206\u73ED"}),Me.length>0&&b.createElement("div",{style:{marginTop:"10px",height:"85%",overflow:"hidden",position:"relative"}},b.createElement("div",{style:{overflowX:"hidden",overflowY:"scroll",position:"absolute",left:0,top:0,right:-17,bottom:0}},Me.map((dt,Fe)=>b.createElement("div",{className:"flex justify-between item-center",style:{marginTop:"10rem"},key:dt.id},b.createElement("div",{className:"multi_ellipsis1 flex-1 minW-0",style:{margin:"0 5rem"}},dt.name),b.createElement("img",{src:xe,className:"current",style:{height:"16rem",marginRight:"17rem"},onClick:()=>{tt(Ut.filter(Ze=>`${Ze.id}`!=`${dt.id}`))}})))))))}},44624:function(Yn,mn,z){"use strict";z.d(mn,{Z:function(){return We}});var b=z(59301),Ce=z(44283),de=z(24017),rt=z(62957),Oe=z(37568),xe=z(6767),Ae=z(77019),Ve=z(5269),Be={title_tooltip:"title_tooltip___LLdrn",multiple_select:"multiple_select___kDXUm",modal_con:"modal_con___ERnkW"},fe=z(66649),Ge=z.n(fe),be=z(76406),vt=z(90736),Je=z(59301);const{RangePicker:tt}=de.default,je=({dispatch:ot,classroomList:Mt,onConfirm:Ut})=>{const[se,Me]=(0,b.useState)([]),[st,mt]=(0,b.useState)([]),[kt,Qe]=(0,b.useState)(""),[ut,dt]=(0,b.useState)([!1,!1]);(0,b.useEffect)(()=>{var Se,ue,gt,He;if(Mt.actionTabs.key==="\u5206\u73ED\u53D1\u5E03-\u53D1\u5E03\u89C4\u5219\u62C6\u5206"){console.log((Se=Mt.actionTabs)==null?void 0:Se.rangePickerDisabled),(ue=Mt.actionTabs)!=null&&ue.rangePickerDisabled?dt((gt=Mt.actionTabs)==null?void 0:gt.rangePickerDisabled):dt([!1,!1]);let ke=Mt.actionTabs.data,Nt=(He=ke==null?void 0:ke.group_name)==null?void 0:He.map((De,ve)=>{var At;return{group_id:ke==null?void 0:ke.group_id[ve],group_name:ke==null?void 0:ke.group_name[ve],is_admin:ke==null?void 0:ke.is_admin,end_time:ke==null?void 0:ke.end_time,publish_time:Array.isArray(ke==null?void 0:ke.publish_time)?(At=ke==null?void 0:ke.publish_time)==null?void 0:At[0]:ke==null?void 0:ke.publish_time}});Nt&&(Me([...Nt]),mt([...Nt]))}},[Mt.actionTabs]);const Fe=()=>{ot({type:"classroomList/setActionTabs",payload:{}}),Qe("")},Ze=Se=>{if(Se){const ue=st==null?void 0:st.filter(gt=>{var He,ke;return(ke=(He=gt==null?void 0:gt.group_name)==null?void 0:He.toLowerCase())==null?void 0:ke.includes(Se==null?void 0:Se.toLowerCase())});Me(ue)}else Me(st)};return Je.createElement(rt.default,{width:980,title:Je.createElement("div",{style:{fontWeight:"bold",display:"flex"}},Je.createElement("div",null,"\u5206\u73ED\u53D1\u5E03-\u53D1\u5E03\u89C4\u5219\u62C6\u5206",Je.createElement("span",{className:Be.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")),Je.createElement(Oe.default.Search,{allowClear:!0,placeholder:"\u8BF7\u8F93\u5165\u5173\u952E\u5B57\u8FDB\u884C\u641C\u7D22",style:{width:220,marginLeft:"60px"},value:kt,onChange:Se=>{Qe(Se.target.value.trim()),Ze(Se.target.value.trim())}})),centered:!0,maskClosable:!1,open:Mt.actionTabs.key==="\u5206\u73ED\u53D1\u5E03-\u53D1\u5E03\u89C4\u5219\u62C6\u5206",onCancel:()=>Fe(),onOk:()=>{var Se;if(st.some(gt=>!gt.end_time||!gt.publish_time)){xe.ZP.warning("\u8BF7\u5C06\u5217\u8868\u6570\u636E\u4E2D\u7684\u53D1\u5E03\u65F6\u95F4\u548C\u622A\u6B62\u65F6\u95F4\u8865\u5145\u5B8C\u6574\uFF01");return}Ut((Se=Mt.actionTabs)==null?void 0:Se.index,st),Fe()}},Je.createElement("div",{className:Be.modal_con},Je.createElement(Ae.Z,{style:{display:"flex",color:"#666666",padding:"5px",marginTop:"1px"}},(se==null?void 0:se.length)>0?se.map(function(Se,ue){return Je.createElement(Ve.Z,{span:24,key:ue},Je.createElement(Ae.Z,{gutter:[8,16],style:{display:"flex",alignItems:"center",marginBottom:ue==(se==null?void 0:se.length)-1?"0px":"10px"}},Je.createElement("div",{className:Be.multiple_select,title:Se==null?void 0:Se.group_name},Se==null?void 0:Se.group_name),Je.createElement("div",{className:"ml20"},Je.createElement(tt,{size:"large",allowClear:!1,disabled:ut,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:gt=>{var He;return(0,be.Q8)(gt,(He=Mt.actionTabs)==null?void 0:He.disabledDate)},disabledTime:gt=>(0,be.d0)(gt),showTime:{showNow:!0,format:"HH:mm",defaultValue:[Ge()((0,be.U6)(),"HH:mm"),Ge()((0,be.U6)(),"HH:mm")]},format:"YYYY-MM-DD HH:mm",value:(Se==null?void 0:Se.publish_time)&&[Ge()(Se==null?void 0:Se.publish_time),Se!=null&&Se.end_time?Ge()(Se==null?void 0:Se.end_time):void 0],onChange:(gt,He)=>{se[ue].publish_time=He[0],se[ue].end_time=He[1],Me([...se]),st.forEach(ke=>{ke.group_id===(Se==null?void 0:Se.group_id)&&(ke.publish_time=He[0],ke.end_time=He[1])}),mt([...st])},onCalendarChange:(gt,He,ke)=>{if(He!=null&&He[0]&&!He[1]){const Nt=Ge()(He[0]).add(7,"days");se[ue].publish_time=He[0],se[ue].end_time=Nt,Me([...se]),st.forEach(De=>{De.group_id===(Se==null?void 0:Se.group_id)&&(De.publish_time=He[0],De.end_time=Nt)}),mt([...st])}}})),ut[0]?Je.createElement("i",{className:"iconfont icon-shanjian1 ml15",style:{color:"#E30000",opacity:"0.2",cursor:"not-allowed"}}):Je.createElement("i",{className:"iconfont icon-shanjian1 ml15",style:{cursor:"pointer",color:"#E30000"},onClick:()=>{se.splice(ue,1),Me([...se]),st.forEach((gt,He)=>{gt.group_id===(Se==null?void 0:Se.group_id)&&st.splice(He,1)}),mt([...st])}})))}):Je.createElement(vt.Z,null))))};var We=(0,Ce.connect)(({classroomList:ot})=>({classroomList:ot}))(je)},30935:function(Yn,mn,z){"use strict";z.d(mn,{i:function(){return se},q:function(){return Ut}});var b=z(59301),Ce={flex_box_center:"flex_box_center___yMUhy",flex_space_between:"flex_space_between___KNvG9",flex_box_vertical_center:"flex_box_vertical_center___yqWY9",flex_box_center_end:"flex_box_center_end___DJKuV",flex_box_column:"flex_box_column___NTtN1",singleSelect:"singleSelect___fU3O9",multipleSelect:"multipleSelect___LFXCB",plus:"plus___gdDhG"},de=z(92310),rt=z.n(de),Oe=z(25399),xe=z(82326),Ae=z(7939),Ve=z(49317),Be=Object.defineProperty,fe=Object.defineProperties,Ge=Object.getOwnPropertyDescriptors,be=Object.getOwnPropertySymbols,vt=Object.prototype.hasOwnProperty,Je=Object.prototype.propertyIsEnumerable,tt=(Me,st,mt)=>st in Me?Be(Me,st,{enumerable:!0,configurable:!0,writable:!0,value:mt}):Me[st]=mt,je=(Me,st)=>{for(var mt in st||(st={}))vt.call(st,mt)&&tt(Me,mt,st[mt]);if(be)for(var mt of be(st))Je.call(st,mt)&&tt(Me,mt,st[mt]);return Me},We=(Me,st)=>fe(Me,Ge(st)),ot=(Me,st)=>{var mt={};for(var kt in Me)vt.call(Me,kt)&&st.indexOf(kt)<0&&(mt[kt]=Me[kt]);if(Me!=null&&be)for(var kt of be(Me))st.indexOf(kt)<0&&Je.call(Me,kt)&&(mt[kt]=Me[kt]);return mt},Mt=(Me,st,mt)=>new Promise((kt,Qe)=>{var ut=Ze=>{try{Fe(mt.next(Ze))}catch(Se){Qe(Se)}},dt=Ze=>{try{Fe(mt.throw(Ze))}catch(Se){Qe(Se)}},Fe=Ze=>Ze.done?kt(Ze.value):Promise.resolve(Ze.value).then(ut,dt);Fe((mt=mt.apply(Me,st)).next())});const Ut=Me=>{var st=Me,{wrapClassName:mt,wrapStyle:kt={},showLinkButton:Qe=!0,tooltipTitle:ut="",loadGeneral:dt=!1,data:Fe={}}=st,Ze=ot(st,["wrapClassName","wrapStyle","showLinkButton","tooltipTitle","loadGeneral","data"]);const Se="course_disciplines_list",[ue,gt]=(0,b.useState)(()=>{const At=sessionStorage.getItem(Se);return At?JSON.parse(At):[]}),[He,ke]=(0,b.useState)(!1),[Nt,De]=(0,b.useState)(!0);(0,b.useEffect)(()=>{ve()},[]);const ve=()=>Mt(void 0,null,function*(){var At,Gt,Wt,pe;ke(!0);const Re=yield(0,Ve.U2)("v2/course_disciplines.json",Fe);if(Re.status===0){const Ue=((Gt=(At=Re==null?void 0:Re.data)==null?void 0:At.list)==null?void 0:Gt.map(Jt=>({value:Jt.id,label:Jt.name})))||[];if(gt(Ue),De(!1),sessionStorage.setItem(Se,JSON.stringify(Ue)),Nt){const Jt=(pe=(Wt=Re==null?void 0:Re.data)==null?void 0:Wt.list)==null?void 0:pe.find(et=>et.is_default);dt&&Jt&&Ze.onChange(Jt==null?void 0:Jt.id)}}ke(!1)});return b.createElement("div",{className:rt()(Ce.singleSelect,mt),style:kt},b.createElement(Oe.Z,{title:ut},b.createElement(xe.default,je({allowClear:!0,placeholder:"\u8BF7\u9009\u62E9\u8BFE\u7A0B",loading:He,options:ue,onDropdownVisibleChange:At=>{At&&ve()}},Ze))),Qe&&b.createElement(Ae.ZP,{type:"link",target:"_blank",href:"/knowledgeHub"},"\u7BA1\u7406\u8BFE\u7A0B"))},se=Me=>{var st=Me,{wrapClassName:mt,wrapStyle:kt={},showLinkButton:Qe=!0,courseDisciplineId:ut="",isPlusHeight:dt=!1,tooltipTitle:Fe,allowAcceptEmpty:Ze=!1,data:Se={}}=st,ue=ot(st,["wrapClassName","wrapStyle","showLinkButton","courseDisciplineId","isPlusHeight","tooltipTitle","allowAcceptEmpty","data"]);const[gt,He]=(0,b.useState)([]),[ke,Nt]=(0,b.useState)(!1);(0,b.useEffect)(()=>{De()},[ut]);const De=()=>Mt(void 0,null,function*(){var ve,At;if(!Ze&&!ut){He([]);return}Nt(!0);const Gt=yield(0,Ve.U2)(`v2/course_disciplines/${ut||"all"}.json`,Se);if(Gt.status===0){const Wt=((At=(ve=Gt==null?void 0:Gt.data)==null?void 0:ve.tag_disciplines)==null?void 0:At.map(pe=>({value:pe.id,label:pe.name})))||[];Wt.length&&He(Wt)}Nt(!1)});return b.createElement("div",{className:rt()(Ce.multipleSelect,mt),style:kt},b.createElement(Oe.Z,{title:Fe},b.createElement(xe.default,We(je({allowClear:!0,mode:"multiple",optionFilterProp:"label",placeholder:"\u8BF7\u9009\u62E9\u77E5\u8BC6\u70B9",loading:ke,options:gt,maxTagCount:"responsive",onDropdownVisibleChange:ve=>{ve&&De()}},ue),{className:rt()(ue.className,dt&&Ce.plus)}))),Qe&&b.createElement(Ae.ZP,{className:Ce.btn,type:"link",target:"_blank",href:"/knowledgeHub"},"\u7BA1\u7406\u77E5\u8BC6\u70B9"))}},20047:function(Yn,mn,z){"use strict";z.d(mn,{AL:function(){return se},Iy:function(){return Ge},Qv:function(){return Je},ez:function(){return Ut},jb:function(){return be}});var b=z(32834),Ce=z.n(b),de=z(11690),rt=z.n(de);let Oe=1;function xe(Qe,ut){const dt=Qe.match(/^(\s+)(?:```)/);if(dt===null)return ut;const Fe=dt[1];return ut.split(`
|
|
|
`).map(Ze=>{const Se=Ze.match(/^\s+/);if(Se===null)return Ze;const[ue]=Se;return ue.length>=Fe.length?Ze.slice(Fe.length):Ze}).join(`
|
|
|
`)}let Ae=[],Ve=["<ul>"];const Be=new(Ce()).Renderer,fe=/^ *(#{1,6}) *([^\n]+?) *(?:#+ *)?(?:\n+|$)/;function Ge(){Ae.length=0,Ve=["<ul>"]}const be={overflow:"hidden",WebkitBoxOrient:"vertical",display:"-webkit-box",WebkitLineClamp:2};function vt(Qe,ut,dt,Fe){if(ut>=Qe.length||Qe[ut].level<=dt)return ut;var Ze=Qe[ut];Fe.push("<li><a href='#"+Oe+Ze.anchor+"'>"+Ze.text+"</a>"),ut++;var Se=[];return ut=vt(Qe,ut,Ze.level,Se),Se.length>0&&(Fe.push("<ul>"),Se.forEach(function(ue){Fe.push(ue)}),Fe.push("</ul>")),Fe.push("</li>"),ut=vt(Qe,ut,dt,Fe),ut}function Je(){return vt(Ae,0,0,Ve),Ve.push("</ul>"),Ve.join("")}const tt={heading(Qe){const ut=fe.exec(Qe);if(Oe+=1,ut)return{type:"heading",raw:ut[0],depth:ut[1].length,text:ut[2]}},fences(Qe){const ut=this.rules.block.fences.exec(Qe);if(ut){const dt=ut[0];let Fe=xe(dt,ut[3]||"");const Ze=ut[2]?ut[2].trim():ut[2];if(["latex","katex","math"].indexOf(Ze)>=0){const Se=ot(),ue=Fe;Fe=Se,Mt[Se]={type:"block",expression:ue}}return{type:"code",raw:dt,lang:Ze,text:Fe}}}},je=/(?:\${2})([^\n`]+?)(?:\${2})/gi;let We=0;const ot=()=>`__special_katext_id_${We++}__`;let Mt={};function Ut(){return Mt}function se(){We=0,Mt={}}function Me(Qe){return Qe=Qe.replace(je,(ut,dt)=>{const Fe=ot();return Mt[Fe]={type:"inline",expression:dt},Fe}),Qe}const st=Be.listitem;Be.listitem=function(Qe){return st(Me(Qe))};const mt=Be.paragraph;Be.paragraph=function(Qe){return mt(Me(Qe))};const kt=Be.tablecell;Be.tablecell=function(Qe,ut){return kt(Me(Qe),ut)},Be.code=function(Qe,ut,dt){const Fe=(ut||"").match(/\S*/)[0];return Fe?["latex","katex","math"].indexOf(Fe)>=0?`<p class='editormd-tex'>${Qe}</p>`:`<pre class="prettyprint linenums"><code class="language-${ut}">${dt?Qe:(0,de.escape)(Qe,!0)}</code></pre>
|
|
|
`:'<pre class="prettyprint linenums"><code>'+(dt?Qe:(0,de.escape)(Qe,!0))+"</code></pre>"},Be.heading=function(Qe,ut,dt){let Fe=this.options.headerPrefix+dt.toLowerCase().replace(/[^\w\\u4e00-\\u9fa5]]+/g,"-");return Ae.push({anchor:Fe,level:ut,text:Qe}),"<h"+ut+' id="'+Oe+Fe+'">'+Qe+"</h"+ut+">"},Ce().setOptions({silent:!0,gfm:!0,pedantic:!1}),Ce().use({tokenizer:tt,renderer:Be}),mn.ZP=Ce()},24532:function(Yn,mn,z){"use strict";z.d(mn,{rX:function(){return Me},pW:function(){return st},gy:function(){return mt},xY:function(){return se},O5:function(){return Ut},hs:function(){return je},tJ:function(){return Je},o1:function(){return tt},Rd:function(){return Mt}});var b=z(44283),Ce=z(62957),de=z(37285),rt=z(6767),Oe=z(15267),xe=z(76406),Ae=z(87169),Ve=z(25510),Be="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAZAAAAGQCAIAAAAP3aGbAAAABGdBTUEAALGPC/xhBQAAACBjSFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAABmJLR0QA/wD/AP+gvaeTAAAACXBIWXMAABcRAAAXEQHKJvM/AAAouElEQVR42u3de5gU1Z038HOqqu89PQPMhQHkNqCiCCK5qMRojIkXRNFERDTGNRvik5hNjPtgzEuyJLq6sq/EbEyy+u5jjBEhSEREvKyXQJRVs1FEMARhhhlgLsDAMD3T96o67x8zzPQMPTPVU12XX8/38/D4PDZdVedUd3+py6nf4UIIBgBAgeR0AwAAjEJgAQAZCCwAIAOBBQBkILAAgAwEFgCQgcACADIQWABABgILAMhAYAEAGQgsACADgQUAZCCwAIAMxfhbOedOt7a/nKUmcrbT2aIUxned8Xaa/DhMbsi2dppk8nO3ovG27XnbemTbDmE4wgIAQhBYAEAGAgsAyEBgAQAZCCwAIAOBBQBk5DGsIaedO3dWVFRY3cpVq1atXLnS4JuNj3WwgvF7tCbHZFhxe9u2dZp8Z04uHGlhxbAbKz44F/6KB2I2sCoqKqqqqqzu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Epwd65CTbSMYLBq5giMsACADgQUAZCCwAIAMBBYAkIHAAgAyEFgAQIYlwxpaWlrMLG5yBgrbSvfbVnKASsED25j8iE2u0/jiJsc6uLBWhLPrZBYFVsHnvAEAYDglBABCEFgAQAYCCwDIQGABABlmL7qvWrUqHA5b3cotW7bYszsAwM24FXeIbUPl0XPbahsY76ZtU3W48+64ma0bZ9tnZFtdB9tKoQwEp4QAQAYCCwDIQGABABkILAAgA4EFAGQgsACAjDyGNQAAOAtHWABABgILAMhAYAEAGQgsACADgQUAZCCwAIAMBBYAkIHAAgAyEFgAQAYCCwDIQGABABkILAAgA4EFAGQgsACAjP8Prqme11Be/zoAAAAASUVORK5CYII=",fe=z.p+"static/newqrcode.a8740efb.png",Ge=z(32637),be=z(59301),vt=(kt,Qe,ut)=>new Promise((dt,Fe)=>{var Ze=gt=>{try{ue(ut.next(gt))}catch(He){Fe(He)}},Se=gt=>{try{ue(ut.throw(gt))}catch(He){Fe(He)}},ue=gt=>gt.done?dt(gt.value):Promise.resolve(gt.value).then(Ze,Se);ue((ut=ut.apply(kt,Qe)).next())});const Je=(kt,Qe=!1,ut=!1,dt="",Fe=!1)=>!!(tt(kt)&&We(kt,Qe,ut,dt,Fe)),tt=kt=>(0,Oe.bg)()?!0:(kt({type:"user/showPopLogin",payload:{showPopLogin:!0,showClosable:!0}}),!1),je=kt=>{var Qe,ut,dt;const{user:Fe}=(0,b.getDvaApp)()._store.getState();(0,Oe.bg)()&&!((ut=(Qe=Fe==null?void 0:Fe.userInfo)==null?void 0:Qe.course)!=null&&ut.course_public)&&!((dt=Fe==null?void 0:Fe.userInfo)!=null&&dt.profile_completed)&&kt({type:"user/showUpdateProfilePanel",payload:{showUpdateProfilePanel:!0,showClosable:!0,backurl:"/account/profile/edit",isCurrentPage:!0}})},We=(kt,Qe=!1,ut=!0,dt="",Fe=!1)=>{var Ze;const{user:Se}=(0,b.getDvaApp)()._store.getState();return(Ze=Se.userInfo)!=null&&Ze.profile_completed?!0:(ut?kt({type:"user/showUpdateProfilePanel",payload:{showUpdateProfilePanel:!0,showClosable:!0,backurl:dt,isCurrentPage:Fe}}):Ce.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,xe.xg)("/account/profile/edit"),ot()}}),!1)},ot=()=>{Ce.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()}})},Mt=()=>{Ce.default.warning({title:"\u63D0\u793A",icon:null,width:400,content:be.createElement("div",{style:{textAlign:"center"}},be.createElement("div",{style:{color:"#191919",fontSize:14,marginBottom:15,textAlign:"left"}},"\u8001\u5E08\u60A8\u597D\uFF0C\u60A8\u7684\u8BFE\u5802\u8BD5\u7528\u671F\u5DF2\u7ED3\u675F\uFF0C\u76F8\u5173\u529F\u80FD\u88AB\u9650\u5236\u3002 \u5982\u9700\u7EE7\u7EED\u4F7F\u7528\uFF0C\u8BF7\u5C3D\u5FEB\u5BF9\u63A5\u4EBA\u5DE5\u652F\u6301\uFF01"),be.createElement("img",{style:{border:"1px solid #D8E3E9",width:190,height:180},src:Ge}),be.createElement("div",{style:{color:"#666666",fontSize:14,marginTop:15}},"\u6DFB\u52A0\u5BA2\u670D\u4EBA\u5458\u5FAE\u4FE1\uFF0C\u83B7\u5F97\u66F4\u591A\u652F\u6301"))})},Ut=()=>{var kt;const{user:Qe}=(0,b.getDvaApp)()._store.getState();return(kt=Qe.userInfo)!=null&&kt.professional_certification?!0:(Ce.default.confirm({title:"\u63D0\u793A",centered:!0,content:be.createElement("div",{className:"tc"},"\u60A8\u9700\u8981\u53BB\u5B8C\u6210\u60A8\u7684\u804C\u4E1A\u8BA4\u8BC1\uFF0C\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD"),okText:"\u7ACB\u5373\u5B8C\u5584",cancelText:"\u7A0D\u540E\u5B8C\u5584",onOk:()=>{(0,xe.xg)("/account/certification")}}),!1)},se=()=>(0,Oe.V9)()?!0:(Ce.default.warning({centered:!0,width:530,title:"\u63D0\u793A",content:be.createElement("div",{className:"tc",style:{marginLeft:-38}},be.createElement("p",null,"\u626B\u7801\u52A0\u5934\u6B4C\u52A9\u6559\uFF0C\u7533\u8BF7\u64CD\u4F5C\u6743\u9650"),be.createElement("img",{src:fe,width:200})),okText:"\u6211\u77E5\u9053\u4E86",maskClosable:!0}),!1),Me=(kt,Qe)=>kt?!0:(Ce.default.confirm({centered:!0,zIndex:1e4,width:530,title:"\u63D0\u793A",content:be.createElement("div",null,be.createElement("p",null,Qe||"\u8BE5\u5B9E\u8DF5\u8D44\u6E90\u9700\u6388\u6743\u540E\u624D\u53EF\u4F7F\u7528\u3002 \u60A8\u53EF\u4EE5\u5728QQ\u670D\u52A1\u7FA4\u5411\u7BA1\u7406\u5458\u7533\u8BF7\uFF0C\u83B7\u5F97\u7EE7\u7EED\u64CD\u4F5C\u7684\u6743\u9650\u3002"),be.createElement("div",{style:{marginLeft:"110px"}},be.createElement("img",{src:Be,width:200}),be.createElement("div",{style:{marginLeft:"35px"}},"\u7FA4\u53F7\uFF1A","714336072"))),okText:"\u7ACB\u5373\u8054\u7CFB",cancelText:"\u53D6\u6D88",onOk:()=>{(0,xe.xg)("https://qm.qq.com/cgi-bin/qm/qr?k=tIyDPXUtE0yEk-MOJxhH55lTUJS-nYAM&jump_from=webapi")}}),!1),st=kt=>{Ce.default.info({title:"\u8054\u7CFB\u5E73\u53F0\u8FD0\u8425",icon:null,width:615,centered:!0,content:be.createElement("div",null,be.createElement("div",null,be.createElement("p",{style:{color:"#191919",fontWeight:400,fontSize:14}},"\u201C\u4FDD\u5B58\u5B9E\u9A8C\u4E34\u65F6\u6570\u636E\u201D\u529F\u80FD\u4E3A\u4ED8\u8D39\u529F\u80FD\uFF0C\u8BF7\u8054\u7CFB\u5E73\u53F0\u8FD0\u8425\u8FDB\u884C\u5F00\u901A\u3002"),be.createElement(de.Z,null),be.createElement("p",{style:{color:"#666666",fontSize:12}}," ",be.createElement("span",{style:{display:"inline-flex",width:14,height:14,borderRadius:2,background:"#F3F3F3",justifyContent:"center",color:"#666666",fontSize:12,lineHeight:"14px",marginRight:8}},"1")," \u56E0\u5E73\u53F0\u7684\u5B9E\u9A8C\u6570\u636E\u50A8\u5B58\u5BB9\u91CF\u548C\u6210\u672C\u6D88\u8017\u8F83\u5927\uFF0C\u5B9E\u8DF5\u9879\u76EE\u9ED8\u8BA4\u4FDD\u5B58\u5B9E\u9A8C\u73AF\u5883\u4E2D\u4E34\u65F6\u6570\u636E ",be.createElement("a",null,kt),"\u5929\u3002"),be.createElement("p",{style:{color:"#666666",fontSize:12}}," ",be.createElement("span",{style:{display:"inline-flex",width:14,height:14,borderRadius:2,background:"#F3F3F3",justifyContent:"center",color:"#666666",fontSize:12,lineHeight:"14px",marginRight:8}},"2"),"\u82E5\u60A8\u9700\u8981\u4E2A\u6027\u5316\u7684\u6570\u636E\u4FDD\u5B58\u5468\u671F\u670D\u52A1\uFF0C\u6211\u4EEC\u53EF\u4EE5\u63D0\u4F9B\u76F8\u5173\u6280\u672F\u652F\u6301\uFF0C\u5E76\u6839\u636E\u60A8\u7684\u9700\u6C42\u6536\u53D6\u5B9A\u5236\u8D39\u7528\u3002")),be.createElement("div",{style:{textAlign:"center",marginTop:30}},be.createElement("img",{style:{border:"4px solid #0152d9",borderRadius:"4px"},src:Ve,alt:"\u4E8C\u7EF4\u7801",width:160})))})},mt=(kt,Qe="")=>{const{shixunsDetail:{detail:ut}}=(0,b.getDvaApp)()._store.getState();if((ut==null?void 0:ut.public)===2||(ut==null?void 0:ut.public)===1||(ut==null?void 0:ut.shixun_status)===3){let dt="";return(ut==null?void 0:ut.public)===2&&(dt="\u5DF2\u516C\u5F00"),(ut==null?void 0:ut.public)===1&&(dt="\u5F85\u5BA1\u6838"),(ut==null?void 0:ut.shixun_status)===3&&(dt="\u5DF2\u5173\u95ED"),Ce.default.info({centered:!0,icon:be.createElement(Ae.Z,{style:{color:"#faad14"}}),width:460,title:"\u63D0\u793A",content:be.createElement("div",{className:"tc",style:{marginLeft:-38}},be.createElement("div",{style:{display:"flex",flexDirection:"column",alignItems:"flex-start",paddingLeft:38,margin:"12px 0"}},be.createElement("span",null,"\u8BE5\u5B9E\u8DF5\u9879\u76EE\u7684\u72B6\u6001\u4E3A",dt,"\uFF0C",Qe,"\u3002"),be.createElement("p",null,"\u5982\u6709\u9700\u8981\uFF0C\u8BF7\u8054\u7CFB\u5E73\u53F0\u7BA1\u7406\u5458\u8FDB\u884C\u6280\u672F\u652F\u6301\u3002")),be.createElement("img",{style:{border:"4px solid #0152d9",borderRadius:"4px"},src:Ve,alt:"\u4E8C\u7EF4\u7801",width:160})),okText:"\u6211\u77E5\u9053\u4E86"}),!0}return(ut==null?void 0:ut.shixun_status)===2?(Ce.default.confirm({centered:!0,icon:be.createElement(Ae.Z,null),title:"\u63D0\u793A",content:be.createElement("div",null,be.createElement("span",null,"\u8BE5\u5B9E\u8DF5\u9879\u76EE\u5DF2\u53D1\u5E03\uFF0C",Qe,"\u3002"),be.createElement("br",null),be.createElement("span",null,"\u5982\u6709\u9700\u8981\uFF0C\u60A8\u53EF\u4EE5\u64A4\u9500\u53D1\u5E03\u540E\uFF0C\u518D\u8FDB\u884C\u64CD\u4F5C\u3002")),okText:"\u64A4\u9500\u53D1\u5E03",cancelText:"\u53D6\u6D88",onOk:()=>{Ce.default.confirm({width:440,centered:!0,icon:be.createElement(Ae.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:()=>vt(void 0,null,function*(){(yield kt({type:"shixunsDetail/cancelRelease",payload:{id:ut==null?void 0:ut.identifier}})).status!==401&&(rt.ZP.success("\u64A4\u9500\u53D1\u5E03\u6210\u529F\u3002\u5B9E\u8BAD\u56DE\u5230\u672A\u53D1\u5E03\u7684\u72B6\u6001\u3002"),kt({type:"shixunsDetail/getShixunsDetail",payload:{id:ut==null?void 0:ut.identifier}}),kt({type:"practiceSetting/getCommonData",payload:{id:ut==null?void 0:ut.identifier}}))})})}}),!0):!1}},9981:function(Yn,mn){"use strict";const z=function(){const b=Object.assign({},arguments.length<=0?void 0:arguments[0]);for(let Ce=1;Ce<arguments.length;Ce++){const de=Ce<0||arguments.length<=Ce?void 0:arguments[Ce];de&&Object.keys(de).forEach(rt=>{const Oe=de[rt];Oe!==void 0&&(b[rt]=Oe)})}return b};mn.Z=z},86013:function(Yn,mn,z){"use strict";var b=z(59301),Ce=z(19248);const de=rt=>{let Oe;return typeof rt=="object"&&(rt!=null&&rt.clearIcon)?Oe=rt:rt&&(Oe={clearIcon:b.createElement(Ce.Z,null)}),Oe};mn.Z=de},97224:function(Yn,mn,z){"use strict";z.d(mn,{F:function(){return b}});function b(de){return de!=null&&de===de.window}const Ce=de=>{var rt,Oe;if(typeof window=="undefined")return 0;let xe=0;return b(de)?xe=de.pageYOffset:de instanceof Document?xe=de.documentElement.scrollTop:(de instanceof HTMLElement||de)&&(xe=de.scrollTop),de&&!b(de)&&typeof xe!="number"&&(xe=(Oe=((rt=de.ownerDocument)!==null&&rt!==void 0?rt:de).documentElement)===null||Oe===void 0?void 0:Oe.scrollTop),xe};mn.Z=Ce},83010:function(Yn,mn,z){"use strict";z.d(mn,{Z:function(){return rt}});var b=z(16089);function Ce(Oe,xe,Ae,Ve){const Be=Ae-xe;return Oe/=Ve/2,Oe<1?Be/2*Oe*Oe*Oe+xe:Be/2*((Oe-=2)*Oe*Oe+2)+xe}var de=z(97224);function rt(Oe){let xe=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const{getContainer:Ae=()=>window,callback:Ve,duration:Be=450}=xe,fe=Ae(),Ge=(0,de.Z)(fe),be=Date.now(),vt=()=>{const tt=Date.now()-be,je=Ce(tt>Be?Be:tt,Ge,Oe,Be);(0,de.F)(fe)?fe.scrollTo(window.pageXOffset,je):fe instanceof Document||fe.constructor.name==="HTMLDocument"?fe.documentElement.scrollTop=je:fe.scrollTop=je,tt<Be?(0,b.Z)(vt):typeof Ve=="function"&&Ve()};(0,b.Z)(vt)}},79939:function(Yn,mn,z){"use strict";z.d(mn,{Z:function(){return ar}});var b=z(77654),Ce=z(59301),de=z(92310),rt=z.n(de),Oe=z(60499),xe=z(85899),Ae=z(72190),Ve=z(42244),Be=z(37463),fe=z(6551),Ge=z(6089),be=z(18929),vt=Ce.createContext({}),Je=vt,tt=z(43749),je=z(18642),We="__rc_cascader_search_mark__",ot=function(xt,Pt,Kt){var In=Kt.label,Zn=In===void 0?"":In;return Pt.some(function(kn){return String(kn[Zn]).toLowerCase().includes(xt.toLowerCase())})},Mt=function(xt,Pt,Kt,In){return Pt.map(function(Zn){return Zn[In.label]}).join(" / ")},Ut=function(xt,Pt,Kt,In,Zn,kn){var Un=Zn.filter,pr=Un===void 0?ot:Un,Ar=Zn.render,Vr=Ar===void 0?Mt:Ar,Br=Zn.limit,fr=Br===void 0?50:Br,Pr=Zn.sort;return Ce.useMemo(function(){var kr=[];if(!xt)return[];function Jr(Xr,vo){var yr=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;Xr.forEach(function(ur){if(!(!Pr&&fr!==!1&&fr>0&&kr.length>=fr)){var gr=[].concat((0,b.Z)(vo),[ur]),no=ur[Kt.children],Kr=yr||ur.disabled;if((!no||no.length===0||kn)&&pr(xt,gr,{label:Kt.label})){var wr;kr.push((0,xe.Z)((0,xe.Z)({},ur),{},(wr={disabled:Kr},(0,je.Z)(wr,Kt.label,Vr(xt,gr,In,Kt)),(0,je.Z)(wr,We,gr),(0,je.Z)(wr,Kt.children,void 0),wr)))}no&&Jr(ur[Kt.children],gr,Kr)}})}return Jr(Pt,[]),Pr&&kr.sort(function(Xr,vo){return Pr(Xr[We],vo[We],xt,Kt)}),fr!==!1&&fr>0?kr.slice(0,fr):kr},[xt,Pt,Kt,In,Vr,kn,pr,Pr,fr])},se=Ut,Me="__RC_CASCADER_SPLIT__",st="SHOW_PARENT",mt="SHOW_CHILD";function kt(pt){return pt.join(Me)}function Qe(pt){return pt.map(kt)}function ut(pt){return pt.split(Me)}function dt(pt){var xt=pt||{},Pt=xt.label,Kt=xt.value,In=xt.children,Zn=Kt||"value";return{label:Pt||"label",value:Zn,key:Zn,children:In||"children"}}function Fe(pt,xt){var Pt,Kt;return(Pt=pt.isLeaf)!==null&&Pt!==void 0?Pt:!((Kt=pt[xt.children])!==null&&Kt!==void 0&&Kt.length)}function Ze(pt){var xt=pt.parentElement;if(xt){var Pt=pt.offsetTop-xt.offsetTop;Pt-xt.scrollTop<0?xt.scrollTo({top:Pt}):Pt+pt.offsetHeight-xt.scrollTop>xt.offsetHeight&&xt.scrollTo({top:Pt+pt.offsetHeight-xt.offsetHeight})}}function Se(pt,xt){return pt.map(function(Pt){var Kt;return(Kt=Pt[We])===null||Kt===void 0?void 0:Kt.map(function(In){return In[xt.value]})})}function ue(pt){return Array.isArray(pt)&&Array.isArray(pt[0])}function gt(pt){return pt?ue(pt)?pt:(pt.length===0?[]:[pt]).map(function(xt){return Array.isArray(xt)?xt:[xt]}):[]}function He(pt,xt,Pt){var Kt=new Set(pt),In=xt();return pt.filter(function(Zn){var kn=In[Zn],Un=kn?kn.parent:null,pr=kn?kn.children:null;return kn&&kn.node.disabled?!0:Pt===mt?!(pr&&pr.some(function(Ar){return Ar.key&&Kt.has(Ar.key)})):!(Un&&!Un.node.disabled&&Kt.has(Un.key))})}function ke(pt,xt,Pt){for(var Kt=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!1,In=xt,Zn=[],kn=function(){var Ar,Vr,Br,fr=pt[Un],Pr=(Ar=In)===null||Ar===void 0?void 0:Ar.findIndex(function(Jr){var Xr=Jr[Pt.value];return Kt?String(Xr)===String(fr):Xr===fr}),kr=Pr!==-1?(Vr=In)===null||Vr===void 0?void 0:Vr[Pr]:null;Zn.push({value:(Br=kr==null?void 0:kr[Pt.value])!==null&&Br!==void 0?Br:fr,index:Pr,option:kr}),In=kr==null?void 0:kr[Pt.children]},Un=0;Un<pt.length;Un+=1)kn();return Zn}var Nt=function(pt,xt,Pt,Kt,In){return Ce.useMemo(function(){var Zn=In||function(kn){var Un=Kt?kn.slice(-1):kn,pr=" / ";return Un.every(function(Ar){return["string","number"].includes((0,tt.Z)(Ar))})?Un.join(pr):Un.reduce(function(Ar,Vr,Br){var fr=Ce.isValidElement(Vr)?Ce.cloneElement(Vr,{key:Br}):Vr;return Br===0?[fr]:[].concat((0,b.Z)(Ar),[pr,fr])},[])};return pt.map(function(kn){var Un,pr=ke(kn,xt,Pt),Ar=Zn(pr.map(function(Br){var fr,Pr=Br.option,kr=Br.value;return(fr=Pr==null?void 0:Pr[Pt.label])!==null&&fr!==void 0?fr:kr}),pr.map(function(Br){var fr=Br.option;return fr})),Vr=kt(kn);return{label:Ar,value:Vr,key:Vr,valueCells:kn,disabled:(Un=pr[pr.length-1])===null||Un===void 0||(Un=Un.option)===null||Un===void 0?void 0:Un.disabled}})},[pt,xt,Pt,In,Kt])};function De(pt,xt){return Ce.useCallback(function(Pt){var Kt=[],In=[];return Pt.forEach(function(Zn){var kn=ke(Zn,pt,xt);kn.every(function(Un){return Un.option})?In.push(Zn):Kt.push(Zn)}),[In,Kt]},[pt,xt])}var ve=z(34061),At=function(pt,xt){var Pt=Ce.useRef({options:[],info:{keyEntities:{},pathKeyEntities:{}}}),Kt=Ce.useCallback(function(){return Pt.current.options!==pt&&(Pt.current.options=pt,Pt.current.info=(0,ve.I8)(pt,{fieldNames:xt,initWrapper:function(Zn){return(0,xe.Z)((0,xe.Z)({},Zn),{},{pathKeyEntities:{}})},processEntity:function(Zn,kn){var Un=Zn.nodes.map(function(pr){return pr[xt.value]}).join(Me);kn.pathKeyEntities[Un]=Zn,Zn.key=Un}})),Pt.current.info.pathKeyEntities},[xt,pt]);return Kt};function Gt(pt,xt){var Pt=Ce.useMemo(function(){return xt||[]},[xt]),Kt=At(Pt,pt),In=Ce.useCallback(function(Zn){var kn=Kt();return Zn.map(function(Un){var pr=kn[Un].nodes;return pr.map(function(Ar){return Ar[pt.value]})})},[Kt,pt]);return[Pt,Kt,In]}var Wt=z(48736);function pe(pt){return Ce.useMemo(function(){if(!pt)return[!1,{}];var xt={matchInputWidth:!0,limit:50};return pt&&(0,tt.Z)(pt)==="object"&&(xt=(0,xe.Z)((0,xe.Z)({},xt),pt)),xt.limit<=0&&(xt.limit=!1),[!0,xt]},[pt])}var Re=z(34643);function Ue(pt,xt,Pt,Kt,In,Zn,kn,Un){return function(pr){if(!pt)xt(pr);else{var Ar=kt(pr),Vr=Qe(Pt),Br=Qe(Kt),fr=Vr.includes(Ar),Pr=In.some(function(Kr){return kt(Kr)===Ar}),kr=Pt,Jr=In;if(Pr&&!fr)Jr=In.filter(function(Kr){return kt(Kr)!==Ar});else{var Xr=fr?Vr.filter(function(Kr){return Kr!==Ar}):[].concat((0,b.Z)(Vr),[Ar]),vo=Zn(),yr;if(fr){var ur=(0,Re.S)(Xr,{checked:!1,halfCheckedKeys:Br},vo);yr=ur.checkedKeys}else{var gr=(0,Re.S)(Xr,!0,vo);yr=gr.checkedKeys}var no=He(yr,Zn,Un);kr=kn(no)}xt([].concat((0,b.Z)(Jr),(0,b.Z)(kr)))}}}function Jt(pt,xt,Pt,Kt,In){return Ce.useMemo(function(){var Zn=In(xt),kn=(0,Ae.Z)(Zn,2),Un=kn[0],pr=kn[1];if(!pt||!xt.length)return[Un,[],pr];var Ar=Qe(Un),Vr=Pt(),Br=(0,Re.S)(Ar,!0,Vr),fr=Br.checkedKeys,Pr=Br.halfCheckedKeys;return[Kt(fr),Kt(Pr),pr]},[pt,xt,Pt,Kt,In])}var et=Ce.memo(function(pt){var xt=pt.children;return xt},function(pt,xt){return!xt.open}),jt=et;function ct(pt){var xt,Pt=pt.prefixCls,Kt=pt.checked,In=pt.halfChecked,Zn=pt.disabled,kn=pt.onClick,Un=pt.disableCheckbox,pr=Ce.useContext(Je),Ar=pr.checkable,Vr=typeof Ar!="boolean"?Ar:null;return Ce.createElement("span",{className:rt()("".concat(Pt),(xt={},(0,je.Z)(xt,"".concat(Pt,"-checked"),Kt),(0,je.Z)(xt,"".concat(Pt,"-indeterminate"),!Kt&&In),(0,je.Z)(xt,"".concat(Pt,"-disabled"),Zn||Un),xt)),onClick:kn},Vr)}var dn="__cascader_fix_label__";function bt(pt){var xt=pt.prefixCls,Pt=pt.multiple,Kt=pt.options,In=pt.activeValue,Zn=pt.prevValuePath,kn=pt.onToggleOpen,Un=pt.onSelect,pr=pt.onActive,Ar=pt.checkedSet,Vr=pt.halfCheckedSet,Br=pt.loadingKeys,fr=pt.isSelectable,Pr=pt.disabled,kr="".concat(xt,"-menu"),Jr="".concat(xt,"-menu-item"),Xr=Ce.useContext(Je),vo=Xr.fieldNames,yr=Xr.changeOnSelect,ur=Xr.expandTrigger,gr=Xr.expandIcon,no=Xr.loadingIcon,Kr=Xr.dropdownMenuColumnStyle,wr=Xr.optionRender,Rr=ur==="hover",mo=function(eo){return Pr||eo},$r=Ce.useMemo(function(){return Kt.map(function(qr){var eo,ko=qr.disabled,_o=qr.disableCheckbox,qo=qr[We],Lo=(eo=qr[dn])!==null&&eo!==void 0?eo:qr[vo.label],ii=qr[vo.value],Le=Fe(qr,vo),nt=qo?qo.map(function(it){return it[vo.value]}):[].concat((0,b.Z)(Zn),[ii]),Ot=kt(nt),sn=Br.includes(Ot),hn=Ar.has(Ot),Tt=Vr.has(Ot);return{disabled:ko,label:Lo,value:ii,isLeaf:Le,isLoading:sn,checked:hn,halfChecked:Tt,option:qr,disableCheckbox:_o,fullPath:nt,fullPathKey:Ot}})},[Kt,Ar,vo,Vr,Br,Zn]);return Ce.createElement("ul",{className:kr,role:"menu"},$r.map(function(qr){var eo,ko=qr.disabled,_o=qr.label,qo=qr.value,Lo=qr.isLeaf,ii=qr.isLoading,Le=qr.checked,nt=qr.halfChecked,Ot=qr.option,sn=qr.fullPath,hn=qr.fullPathKey,Tt=qr.disableCheckbox,it=function(){if(!mo(ko)){var Wn=(0,b.Z)(sn);Rr&&Lo&&Wn.pop(),pr(Wn)}},Ft=function(){fr(Ot)&&!mo(ko)&&Un(sn,Lo)},en;return typeof Ot.title=="string"?en=Ot.title:typeof _o=="string"&&(en=_o),Ce.createElement("li",{key:hn,className:rt()(Jr,(eo={},(0,je.Z)(eo,"".concat(Jr,"-expand"),!Lo),(0,je.Z)(eo,"".concat(Jr,"-active"),In===qo||In===hn),(0,je.Z)(eo,"".concat(Jr,"-disabled"),mo(ko)),(0,je.Z)(eo,"".concat(Jr,"-loading"),ii),eo)),style:Kr,role:"menuitemcheckbox",title:en,"aria-checked":Le,"data-path-key":hn,onClick:function(){it(),!Tt&&(!Pt||Lo)&&Ft()},onDoubleClick:function(){yr&&kn(!1)},onMouseEnter:function(){Rr&&it()},onMouseDown:function(Wn){Wn.preventDefault()}},Pt&&Ce.createElement(ct,{prefixCls:"".concat(xt,"-checkbox"),checked:Le,halfChecked:nt,disabled:mo(ko)||Tt,disableCheckbox:Tt,onClick:function(Wn){Tt||(Wn.stopPropagation(),Ft())}}),Ce.createElement("div",{className:"".concat(Jr,"-content")},wr?wr(Ot):_o),!ii&&gr&&!Lo&&Ce.createElement("div",{className:"".concat(Jr,"-expand-icon")},gr),ii&&no&&Ce.createElement("div",{className:"".concat(Jr,"-loading-icon")},no))}))}var le=function(xt,Pt){var Kt=Ce.useContext(Je),In=Kt.values,Zn=In[0],kn=Ce.useState([]),Un=(0,Ae.Z)(kn,2),pr=Un[0],Ar=Un[1];return Ce.useEffect(function(){xt||Ar(Zn||[])},[Pt,Zn]),[pr,Ar]},ne=le,te=z(10228),ae=function(pt,xt,Pt,Kt,In,Zn,kn){var Un=kn.direction,pr=kn.searchValue,Ar=kn.toggleOpen,Vr=kn.open,Br=Un==="rtl",fr=Ce.useMemo(function(){for(var Kr=-1,wr=xt,Rr=[],mo=[],$r=Kt.length,qr=Se(xt,Pt),eo=function(ii){var Le=wr.findIndex(function(nt,Ot){return(qr[Ot]?kt(qr[Ot]):nt[Pt.value])===Kt[ii]});if(Le===-1)return 1;Kr=Le,Rr.push(Kr),mo.push(Kt[ii]),wr=wr[Kr][Pt.children]},ko=0;ko<$r&&wr&&!eo(ko);ko+=1);for(var _o=xt,qo=0;qo<Rr.length-1;qo+=1)_o=_o[Rr[qo]][Pt.children];return[mo,Kr,_o,qr]},[Kt,Pt,xt]),Pr=(0,Ae.Z)(fr,4),kr=Pr[0],Jr=Pr[1],Xr=Pr[2],vo=Pr[3],yr=function(wr){In(wr)},ur=function(wr){var Rr=Xr.length,mo=Jr;mo===-1&&wr<0&&(mo=Rr);for(var $r=0;$r<Rr;$r+=1){mo=(mo+wr+Rr)%Rr;var qr=Xr[mo];if(qr&&!qr.disabled){var eo=kr.slice(0,-1).concat(vo[mo]?kt(vo[mo]):qr[Pt.value]);yr(eo);return}}},gr=function(){if(kr.length>1){var wr=kr.slice(0,-1);yr(wr)}else Ar(!1)},no=function(){var wr,Rr=((wr=Xr[Jr])===null||wr===void 0?void 0:wr[Pt.children])||[],mo=Rr.find(function(qr){return!qr.disabled});if(mo){var $r=[].concat((0,b.Z)(kr),[mo[Pt.value]]);yr($r)}};Ce.useImperativeHandle(pt,function(){return{onKeyDown:function(wr){var Rr=wr.which;switch(Rr){case te.Z.UP:case te.Z.DOWN:{var mo=0;Rr===te.Z.UP?mo=-1:Rr===te.Z.DOWN&&(mo=1),mo!==0&&ur(mo);break}case te.Z.LEFT:{if(pr)break;Br?no():gr();break}case te.Z.RIGHT:{if(pr)break;Br?gr():no();break}case te.Z.BACKSPACE:{pr||gr();break}case te.Z.ENTER:{if(kr.length){var $r=Xr[Jr],qr=($r==null?void 0:$r[We])||[];qr.length?Zn(qr.map(function(eo){return eo[Pt.value]}),qr[qr.length-1]):Zn(kr,Xr[Jr])}break}case te.Z.ESC:Ar(!1),Vr&&wr.stopPropagation()}},onKeyUp:function(){}}})},he=Ce.forwardRef(function(pt,xt){var Pt,Kt,In,Zn=pt.prefixCls,kn=pt.multiple,Un=pt.searchValue,pr=pt.toggleOpen,Ar=pt.notFoundContent,Vr=pt.direction,Br=pt.open,fr=pt.disabled,Pr=Ce.useRef(null),kr=Vr==="rtl",Jr=Ce.useContext(Je),Xr=Jr.options,vo=Jr.values,yr=Jr.halfValues,ur=Jr.fieldNames,gr=Jr.changeOnSelect,no=Jr.onSelect,Kr=Jr.searchOptions,wr=Jr.dropdownPrefixCls,Rr=Jr.loadData,mo=Jr.expandTrigger,$r=wr||Zn,qr=Ce.useState([]),eo=(0,Ae.Z)(qr,2),ko=eo[0],_o=eo[1],qo=function(zr){if(!(!Rr||Un)){var Qr=ke(zr,Xr,ur),yo=Qr.map(function(co){var fo=co.option;return fo}),io=yo[yo.length-1];if(io&&!Fe(io,ur)){var Io=kt(zr);_o(function(co){return[].concat((0,b.Z)(co),[Io])}),Rr(yo)}}};Ce.useEffect(function(){ko.length&&ko.forEach(function(br){var zr=ut(br),Qr=ke(zr,Xr,ur,!0).map(function(io){var Io=io.option;return Io}),yo=Qr[Qr.length-1];(!yo||yo[ur.children]||Fe(yo,ur))&&_o(function(io){return io.filter(function(Io){return Io!==br})})})},[Xr,ko,ur]);var Lo=Ce.useMemo(function(){return new Set(Qe(vo))},[vo]),ii=Ce.useMemo(function(){return new Set(Qe(yr))},[yr]),Le=ne(kn,Br),nt=(0,Ae.Z)(Le,2),Ot=nt[0],sn=nt[1],hn=function(zr){sn(zr),qo(zr)},Tt=function(zr){if(fr)return!1;var Qr=zr.disabled,yo=Fe(zr,ur);return!Qr&&(yo||gr||kn)},it=function(zr,Qr){var yo=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;no(zr),!kn&&(Qr||gr&&(mo==="hover"||yo))&&pr(!1)},Ft=Ce.useMemo(function(){return Un?Kr:Xr},[Un,Kr,Xr]),en=Ce.useMemo(function(){for(var br=[{options:Ft}],zr=Ft,Qr=Se(zr,ur),yo=function(){var co=Ot[io],fo=zr.find(function(Bo,ri){return(Qr[ri]?kt(Qr[ri]):Bo[ur.value])===co}),bo=fo==null?void 0:fo[ur.children];if(!(bo!=null&&bo.length))return 1;zr=bo,br.push({options:bo})},io=0;io<Ot.length&&!yo();io+=1);return br},[Ft,Ot,ur]),On=function(zr,Qr){Tt(Qr)&&it(zr,Fe(Qr,ur),!0)};ae(xt,Ft,ur,Ot,hn,On,{direction:Vr,searchValue:Un,toggleOpen:pr,open:Br}),Ce.useEffect(function(){if(!Un)for(var br=0;br<Ot.length;br+=1){var zr,Qr=Ot.slice(0,br+1),yo=kt(Qr),io=(zr=Pr.current)===null||zr===void 0?void 0:zr.querySelector('li[data-path-key="'.concat(yo.replace(/\\{0,2}"/g,'\\"'),'"]'));io&&Ze(io)}},[Ot,Un]);var Wn=!((Pt=en[0])!==null&&Pt!==void 0&&(Pt=Pt.options)!==null&&Pt!==void 0&&Pt.length),Dn=[(Kt={},(0,je.Z)(Kt,ur.value,"__EMPTY__"),(0,je.Z)(Kt,dn,Ar),(0,je.Z)(Kt,"disabled",!0),Kt)],jn=(0,xe.Z)((0,xe.Z)({},pt),{},{multiple:!Wn&&kn,onSelect:it,onActive:hn,onToggleOpen:pr,checkedSet:Lo,halfCheckedSet:ii,loadingKeys:ko,isSelectable:Tt}),$n=Wn?[{options:Dn}]:en,Cr=$n.map(function(br,zr){var Qr=Ot.slice(0,zr),yo=Ot[zr];return Ce.createElement(bt,(0,Oe.Z)({key:zr},jn,{prefixCls:$r,options:br.options,prevValuePath:Qr,activeValue:yo}))});return Ce.createElement(jt,{open:Br},Ce.createElement("div",{className:rt()("".concat($r,"-menus"),(In={},(0,je.Z)(In,"".concat($r,"-menu-empty"),Wn),(0,je.Z)(In,"".concat($r,"-rtl"),kr),In)),ref:Pr},Cr))}),re=he,ce=Ce.forwardRef(function(pt,xt){var Pt=(0,Be.lk)();return Ce.createElement(re,(0,Oe.Z)({},pt,Pt,{ref:xt}))}),Pe=ce,lt=z(70425);function $e(){}function Ie(pt){var xt,Pt=pt,Kt=Pt.prefixCls,In=Kt===void 0?"rc-cascader":Kt,Zn=Pt.style,kn=Pt.className,Un=Pt.options,pr=Pt.checkable,Ar=Pt.defaultValue,Vr=Pt.value,Br=Pt.fieldNames,fr=Pt.changeOnSelect,Pr=Pt.onChange,kr=Pt.showCheckedStrategy,Jr=Pt.loadData,Xr=Pt.expandTrigger,vo=Pt.expandIcon,yr=vo===void 0?">":vo,ur=Pt.loadingIcon,gr=Pt.direction,no=Pt.notFoundContent,Kr=no===void 0?"Not Found":no,wr=Pt.disabled,Rr=!!pr,mo=(0,lt.C8)(Ar,{value:Vr,postState:gt}),$r=(0,Ae.Z)(mo,2),qr=$r[0],eo=$r[1],ko=Ce.useMemo(function(){return dt(Br)},[JSON.stringify(Br)]),_o=Gt(ko,Un),qo=(0,Ae.Z)(_o,3),Lo=qo[0],ii=qo[1],Le=qo[2],nt=De(Lo,ko),Ot=Jt(Rr,qr,ii,Le,nt),sn=(0,Ae.Z)(Ot,3),hn=sn[0],Tt=sn[1],it=sn[2],Ft=(0,lt.zX)(function($n){if(eo($n),Pr){var Cr=gt($n),br=Cr.map(function(yo){return ke(yo,Lo,ko).map(function(io){return io.option})}),zr=Rr?Cr:Cr[0],Qr=Rr?br:br[0];Pr(zr,Qr)}}),en=Ue(Rr,Ft,hn,Tt,it,ii,Le,kr),On=(0,lt.zX)(function($n){en($n)}),Wn=Ce.useMemo(function(){return{options:Lo,fieldNames:ko,values:hn,halfValues:Tt,changeOnSelect:fr,onSelect:On,checkable:pr,searchOptions:[],dropdownPrefixCls:void 0,loadData:Jr,expandTrigger:Xr,expandIcon:yr,loadingIcon:ur,dropdownMenuColumnStyle:void 0}},[Lo,ko,hn,Tt,fr,On,pr,Jr,Xr,yr,ur]),Dn="".concat(In,"-panel"),jn=!Lo.length;return Ce.createElement(Je.Provider,{value:Wn},Ce.createElement("div",{className:rt()(Dn,(xt={},(0,je.Z)(xt,"".concat(Dn,"-rtl"),gr==="rtl"),(0,je.Z)(xt,"".concat(Dn,"-empty"),jn),xt),kn),style:Zn},jn?Kr:Ce.createElement(re,{prefixCls:In,searchValue:"",multiple:Rr,toggleOpen:$e,open:!0,direction:gr,disabled:wr})))}function ht(pt){var xt=pt.onPopupVisibleChange,Pt=pt.popupVisible,Kt=pt.popupClassName,In=pt.popupPlacement;warning(!xt,"`onPopupVisibleChange` is deprecated. Please use `onDropdownVisibleChange` instead."),warning(Pt===void 0,"`popupVisible` is deprecated. Please use `open` instead."),warning(Kt===void 0,"`popupClassName` is deprecated. Please use `dropdownClassName` instead."),warning(In===void 0,"`popupPlacement` is deprecated. Please use `placement` instead.")}function Et(pt,xt){if(pt){var Pt=function Kt(In){for(var Zn=0;Zn<In.length;Zn++){var kn=In[Zn];if(kn[xt==null?void 0:xt.value]===null)return warning(!1,"`value` in Cascader options should not be `null`."),!0;if(Array.isArray(kn[xt==null?void 0:xt.children])&&Kt(kn[xt==null?void 0:xt.children]))return!0}};Pt(pt)}}var Rt=null,Te=["id","prefixCls","fieldNames","defaultValue","value","changeOnSelect","onChange","displayRender","checkable","autoClearSearchValue","searchValue","onSearch","showSearch","expandTrigger","options","dropdownPrefixCls","loadData","popupVisible","open","popupClassName","dropdownClassName","dropdownMenuColumnStyle","dropdownStyle","popupPlacement","placement","onDropdownVisibleChange","onPopupVisibleChange","expandIcon","loadingIcon","children","dropdownMatchSelectWidth","showCheckedStrategy","optionRender"],Ke=Ce.forwardRef(function(pt,xt){var Pt=pt.id,Kt=pt.prefixCls,In=Kt===void 0?"rc-cascader":Kt,Zn=pt.fieldNames,kn=pt.defaultValue,Un=pt.value,pr=pt.changeOnSelect,Ar=pt.onChange,Vr=pt.displayRender,Br=pt.checkable,fr=pt.autoClearSearchValue,Pr=fr===void 0?!0:fr,kr=pt.searchValue,Jr=pt.onSearch,Xr=pt.showSearch,vo=pt.expandTrigger,yr=pt.options,ur=pt.dropdownPrefixCls,gr=pt.loadData,no=pt.popupVisible,Kr=pt.open,wr=pt.popupClassName,Rr=pt.dropdownClassName,mo=pt.dropdownMenuColumnStyle,$r=pt.dropdownStyle,qr=pt.popupPlacement,eo=pt.placement,ko=pt.onDropdownVisibleChange,_o=pt.onPopupVisibleChange,qo=pt.expandIcon,Lo=qo===void 0?">":qo,ii=pt.loadingIcon,Le=pt.children,nt=pt.dropdownMatchSelectWidth,Ot=nt===void 0?!1:nt,sn=pt.showCheckedStrategy,hn=sn===void 0?st:sn,Tt=pt.optionRender,it=(0,Ve.Z)(pt,Te),Ft=(0,fe.ZP)(Pt),en=!!Br,On=(0,be.Z)(kn,{value:Un,postState:gt}),Wn=(0,Ae.Z)(On,2),Dn=Wn[0],jn=Wn[1],$n=Ce.useMemo(function(){return dt(Zn)},[JSON.stringify(Zn)]),Cr=Gt($n,yr),br=(0,Ae.Z)(Cr,3),zr=br[0],Qr=br[1],yo=br[2],io=(0,be.Z)("",{value:kr,postState:function(To){return To||""}}),Io=(0,Ae.Z)(io,2),co=Io[0],fo=Io[1],bo=function(To,si){fo(To),si.source!=="blur"&&Jr&&Jr(To)},Bo=pe(Xr),ri=(0,Ae.Z)(Bo,2),Si=ri[0],bi=ri[1],Ki=se(co,zr,$n,ur||In,bi,pr||en),zo=De(zr,$n),Mo=Jt(en,Dn,Qr,yo,zo),zi=(0,Ae.Z)(Mo,3),Wi=zi[0],Xi=zi[1],za=zi[2],Pa=Ce.useMemo(function(){var ho=Qe(Wi),To=He(ho,Qr,hn);return[].concat((0,b.Z)(za),(0,b.Z)(yo(To)))},[Wi,Qr,yo,za,hn]),Ta=Nt(Pa,zr,$n,en,Vr),Ba=(0,Ge.Z)(function(ho){if(jn(ho),Ar){var To=gt(ho),si=To.map(function(Li){return ke(Li,zr,$n).map(function(Oi){return Oi.option})}),da=en?To:To[0],Ri=en?si:si[0];Ar(da,Ri)}}),Ui=Ue(en,Ba,Wi,Xi,za,Qr,yo,hn),Fa=(0,Ge.Z)(function(ho){(!en||Pr)&&fo(""),Ui(ho)}),ul=function(To,si){if(si.type==="clear"){Ba([]);return}var da=si.values[0],Ri=da.valueCells;Fa(Ri)},Qa=Kr!==void 0?Kr:no,Qi=Rr||wr,Nl=eo||qr,El=function(To){ko==null||ko(To),_o==null||_o(To)},hi=Ce.useMemo(function(){return{options:zr,fieldNames:$n,values:Wi,halfValues:Xi,changeOnSelect:pr,onSelect:Fa,checkable:Br,searchOptions:Ki,dropdownPrefixCls:ur,loadData:gr,expandTrigger:vo,expandIcon:Lo,loadingIcon:ii,dropdownMenuColumnStyle:mo,optionRender:Tt}},[zr,$n,Wi,Xi,pr,Fa,Br,Ki,ur,gr,vo,Lo,ii,mo,Tt]),mi=!(co?Ki:zr).length,wo=co&&bi.matchInputWidth||mi?{}:{minWidth:"auto"};return Ce.createElement(Je.Provider,{value:hi},Ce.createElement(Be.Ac,(0,Oe.Z)({},it,{ref:xt,id:Ft,prefixCls:In,autoClearSearchValue:Pr,dropdownMatchSelectWidth:Ot,dropdownStyle:(0,xe.Z)((0,xe.Z)({},wo),$r),displayValues:Ta,onDisplayValuesChange:ul,mode:en?"multiple":void 0,searchValue:co,onSearch:bo,showSearch:Si,OptionList:Pe,emptyOptions:mi,open:Qa,dropdownClassName:Qi,placement:Nl,onDropdownVisibleChange:El,getRawInputElement:function(){return Le}})))});Ke.SHOW_PARENT=st,Ke.SHOW_CHILD=mt,Ke.Panel=Ie;var yn=Ke,Ht=yn,bn=z(2738),fn=z(75030),Xt=z(86641),on=z(45915),gn=z(82855),ft=z(48755),Yt=z(38406),xn=z(2171),St=z(83397),_e=z(31756),Vt=z(56553),tn=z(24971),un=z(1722),Tn=z(90376),qn=z(68525),mr=z(90005),vr=z(70045);function Jn(pt,xt){const{getPrefixCls:Pt,direction:Kt,renderEmpty:In}=Ce.useContext(ft.E_),Zn=xt||Kt,kn=Pt("select",pt),Un=Pt("cascader",pt);return[kn,Un,Zn,In]}var dr=Jn;function _t(pt,xt){return Ce.useMemo(()=>xt?Ce.createElement("span",{className:`${pt}-checkbox-inner`}):!1,[xt])}var zt=z(33853),Sn=z(58617),wn=z(38819),Rn=(pt,xt,Pt)=>{let Kt=Pt;Pt||(Kt=xt?Ce.createElement(zt.Z,null):Ce.createElement(wn.Z,null));const In=Ce.createElement("span",{className:`${pt}-menu-item-loading-icon`},Ce.createElement(Sn.Z,{spin:!0}));return Ce.useMemo(()=>[Kt,In],[Kt])},Bt=z(56119),ln=z(16931),Zt=z(36237),pn=z(36170),cn=z(63356),Ln=pt=>{const{prefixCls:xt,componentCls:Pt}=pt,Kt=`${Pt}-menu-item`,In=`
|
|
|
&${Kt}-expand ${Kt}-expand-icon,
|
|
|
${Kt}-loading-icon
|
|
|
`;return[(0,pn.C2)(`${xt}-checkbox`,pt),{[Pt]:{"&-checkbox":{top:0,marginInlineEnd:pt.paddingXS,pointerEvents:"unset"},"&-menus":{display:"flex",flexWrap:"nowrap",alignItems:"flex-start",[`&${Pt}-menu-empty`]:{[`${Pt}-menu`]:{width:"100%",height:"auto",[Kt]:{color:pt.colorTextDisabled}}}},"&-menu":{flexGrow:1,flexShrink:0,minWidth:pt.controlItemWidth,height:pt.dropdownHeight,margin:0,padding:pt.menuPadding,overflow:"auto",verticalAlign:"top",listStyle:"none","-ms-overflow-style":"-ms-autohiding-scrollbar","&:not(:last-child)":{borderInlineEnd:`${(0,Zt.unit)(pt.lineWidth)} ${pt.lineType} ${pt.colorSplit}`},"&-item":Object.assign(Object.assign({},cn.vS),{display:"flex",flexWrap:"nowrap",alignItems:"center",padding:pt.optionPadding,lineHeight:pt.lineHeight,cursor:"pointer",transition:`all ${pt.motionDurationMid}`,borderRadius:pt.borderRadiusSM,"&:hover":{background:pt.controlItemBgHover},"&-disabled":{color:pt.colorTextDisabled,cursor:"not-allowed","&:hover":{background:"transparent"},[In]:{color:pt.colorTextDisabled}},[`&-active:not(${Kt}-disabled)`]:{"&, &:hover":{color:pt.optionSelectedColor,fontWeight:pt.optionSelectedFontWeight,backgroundColor:pt.optionSelectedBg}},"&-content":{flex:"auto"},[In]:{marginInlineStart:pt.paddingXXS,color:pt.colorTextDescription,fontSize:pt.fontSizeIcon},"&-keyword":{color:pt.colorHighlight}})}}}]};const rr=pt=>{const{componentCls:xt,antCls:Pt}=pt;return[{[xt]:{width:pt.controlWidth}},{[`${xt}-dropdown`]:[{[`&${Pt}-select-dropdown`]:{padding:0}},Ln(pt)]},{[`${xt}-dropdown-rtl`]:{direction:"rtl"}},(0,Bt.c)(pt)]},_n=pt=>{const xt=Math.round((pt.controlHeight-pt.fontSize*pt.lineHeight)/2);return{controlWidth:184,controlItemWidth:111,dropdownHeight:180,optionSelectedBg:pt.controlItemBgActive,optionSelectedFontWeight:pt.fontWeightStrong,optionPadding:`${xt}px ${pt.paddingSM}px`,menuPadding:pt.paddingXXS,optionSelectedColor:pt.colorText}};var rn=(0,ln.I$)("Cascader",pt=>[rr(pt)],_n);const Fn=pt=>{const{componentCls:xt}=pt;return{[`${xt}-panel`]:[Ln(pt),{display:"inline-flex",border:`${(0,Zt.unit)(pt.lineWidth)} ${pt.lineType} ${pt.colorSplit}`,borderRadius:pt.borderRadiusLG,overflowX:"auto",maxWidth:"100%",[`${xt}-menus`]:{alignItems:"stretch"},[`${xt}-menu`]:{height:"auto"},"&-empty":{padding:pt.paddingXXS}}]}};var nn=(0,ln.A1)(["Cascader","Panel"],pt=>Fn(pt),_n);function er(pt){const{prefixCls:xt,className:Pt,multiple:Kt,rootClassName:In,notFoundContent:Zn,direction:kn,expandIcon:Un,disabled:pr}=pt,Ar=Ce.useContext(xn.Z),Vr=pr!=null?pr:Ar,[Br,fr,Pr,kr]=dr(xt,kn),Jr=(0,St.Z)(fr),[Xr,vo,yr]=rn(fr,Jr);nn(fr);const ur=Pr==="rtl",[gr,no]=Rn(Br,ur,Un),Kr=Zn||(kr==null?void 0:kr("Cascader"))||Ce.createElement(Yt.Z,{componentName:"Cascader"}),wr=_t(fr,Kt);return Xr(Ce.createElement(Ie,Object.assign({},pt,{checkable:wr,prefixCls:fr,className:rt()(Pt,vo,In,yr,Jr),notFoundContent:Kr,direction:Pr,expandIcon:gr,loadingIcon:no,disabled:Vr})))}var It=er,Qt=function(pt,xt){var Pt={};for(var Kt in pt)Object.prototype.hasOwnProperty.call(pt,Kt)&&xt.indexOf(Kt)<0&&(Pt[Kt]=pt[Kt]);if(pt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var In=0,Kt=Object.getOwnPropertySymbols(pt);In<Kt.length;In++)xt.indexOf(Kt[In])<0&&Object.prototype.propertyIsEnumerable.call(pt,Kt[In])&&(Pt[Kt[In]]=pt[Kt[In]]);return Pt};const{SHOW_CHILD:ze,SHOW_PARENT:yt}=Ht;function Ye(pt,xt,Pt){const Kt=pt.toLowerCase().split(xt).reduce((kn,Un,pr)=>pr===0?[Un]:[].concat((0,b.Z)(kn),[xt,Un]),[]),In=[];let Zn=0;return Kt.forEach((kn,Un)=>{const pr=Zn+kn.length;let Ar=pt.slice(Zn,pr);Zn=pr,Un%2===1&&(Ar=Ce.createElement("span",{className:`${Pt}-menu-item-keyword`,key:`separator-${Un}`},Ar)),In.push(Ar)}),In}const Ct=(pt,xt,Pt,Kt)=>{const In=[],Zn=pt.toLowerCase();return xt.forEach((kn,Un)=>{Un!==0&&In.push(" / ");let pr=kn[Kt.label];const Ar=typeof pr;(Ar==="string"||Ar==="number")&&(pr=Ye(String(pr),Zn,Pt)),In.push(pr)}),In},qt=Ce.forwardRef((pt,xt)=>{var Pt;const{prefixCls:Kt,size:In,disabled:Zn,className:kn,rootClassName:Un,multiple:pr,bordered:Ar=!0,transitionName:Vr,choiceTransitionName:Br="",popupClassName:fr,dropdownClassName:Pr,expandIcon:kr,placement:Jr,showSearch:Xr,allowClear:vo=!0,notFoundContent:yr,direction:ur,getPopupContainer:gr,status:no,showArrow:Kr,builtinPlacements:wr,style:Rr,variant:mo}=pt,$r=Qt(pt,["prefixCls","size","disabled","className","rootClassName","multiple","bordered","transitionName","choiceTransitionName","popupClassName","dropdownClassName","expandIcon","placement","showSearch","allowClear","notFoundContent","direction","getPopupContainer","status","showArrow","builtinPlacements","style","variant"]),qr=(0,bn.Z)($r,["suffixIcon"]),{getPrefixCls:eo,getPopupContainer:ko,className:_o,style:qo}=(0,ft.dj)("cascader"),{popupOverflow:Lo}=Ce.useContext(ft.E_),{status:ii,hasFeedback:Le,isFormItemInput:nt,feedbackIcon:Ot}=Ce.useContext(Vt.aM),sn=(0,gn.F)(ii,no),[hn,Tt,it,Ft]=dr(Kt,ur),en=it==="rtl",On=eo(),Wn=(0,St.Z)(hn),[Dn,jn,$n]=(0,Tn.Z)(hn,Wn),Cr=(0,St.Z)(Tt),[br]=rn(Tt,Cr),{compactSize:zr,compactItemClassnames:Qr}=(0,vr.ri)(hn,ur),[yo,io]=(0,tn.Z)("cascader",mo,Ar),Io=yr||(Ft==null?void 0:Ft("Cascader"))||Ce.createElement(Yt.Z,{componentName:"Cascader"}),co=rt()(fr||Pr,`${Tt}-dropdown`,{[`${Tt}-dropdown-rtl`]:it==="rtl"},Un,Wn,Cr,jn,$n),fo=Ce.useMemo(()=>{if(!Xr)return Xr;let Ba={render:Ct};return typeof Xr=="object"&&(Ba=Object.assign(Object.assign({},Ba),Xr)),Ba},[Xr]),bo=(0,_e.Z)(Ba=>{var Ui;return(Ui=In!=null?In:zr)!==null&&Ui!==void 0?Ui:Ba}),Bo=Ce.useContext(xn.Z),ri=Zn!=null?Zn:Bo,[Si,bi]=Rn(hn,en,kr),Ki=_t(Tt,pr),zo=(0,mr.Z)(pt.suffixIcon,Kr),{suffixIcon:Mo,removeIcon:zi,clearIcon:Wi}=(0,qn.Z)(Object.assign(Object.assign({},pt),{hasFeedback:Le,feedbackIcon:Ot,showSuffixIcon:zo,multiple:pr,prefixCls:hn,componentName:"Cascader"})),Xi=Ce.useMemo(()=>Jr!==void 0?Jr:en?"bottomRight":"bottomLeft",[Jr,en]),za=vo===!0?{clearIcon:Wi}:vo,[Pa]=(0,fn.Cn)("SelectLike",(Pt=qr.dropdownStyle)===null||Pt===void 0?void 0:Pt.zIndex),Ta=Ce.createElement(Ht,Object.assign({prefixCls:hn,className:rt()(!Kt&&Tt,{[`${hn}-lg`]:bo==="large",[`${hn}-sm`]:bo==="small",[`${hn}-rtl`]:en,[`${hn}-${yo}`]:io,[`${hn}-in-form-item`]:nt},(0,gn.Z)(hn,sn,Le),Qr,_o,kn,Un,Wn,Cr,jn,$n),disabled:ri,style:Object.assign(Object.assign({},qo),Rr)},qr,{builtinPlacements:(0,un.Z)(wr,Lo),direction:it,placement:Xi,notFoundContent:Io,allowClear:za,showSearch:fo,expandIcon:Si,suffixIcon:Mo,removeIcon:zi,loadingIcon:bi,checkable:Ki,dropdownClassName:co,dropdownPrefixCls:Kt||Tt,dropdownStyle:Object.assign(Object.assign({},qr.dropdownStyle),{zIndex:Pa}),choiceTransitionName:(0,Xt.m)(On,"",Br),transitionName:(0,Xt.m)(On,"slide-up",Vr),getPopupContainer:gr||ko,ref:xt}));return br(Dn(Ta))}),nr=(0,on.Z)(qt,"dropdownAlign",pt=>(0,bn.Z)(pt,["visible"]));qt.SHOW_PARENT=yt,qt.SHOW_CHILD=ze,qt.Panel=It,qt._InternalPanelDoNotUseOrYouWillBeFired=nr;var ar=qt},62673:function(Yn,mn,z){"use strict";z.d(mn,{default:function(){return Qe}});var b=z(59301),Ce=z(92310),de=z.n(Ce),rt=z(16632),Oe=z(8654),xe=z(12919),Ae=z(63872),Ve=z(48755),Be=z(2171),fe=z(83397),Ge=z(56553),vt=b.createContext(null),Je=z(36170),tt=z(74632),je=function(ut,dt){var Fe={};for(var Ze in ut)Object.prototype.hasOwnProperty.call(ut,Ze)&&dt.indexOf(Ze)<0&&(Fe[Ze]=ut[Ze]);if(ut!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Se=0,Ze=Object.getOwnPropertySymbols(ut);Se<Ze.length;Se++)dt.indexOf(Ze[Se])<0&&Object.prototype.propertyIsEnumerable.call(ut,Ze[Se])&&(Fe[Ze[Se]]=ut[Ze[Se]]);return Fe};const We=(ut,dt)=>{var Fe;const{prefixCls:Ze,className:Se,rootClassName:ue,children:gt,indeterminate:He=!1,style:ke,onMouseEnter:Nt,onMouseLeave:De,skipGroup:ve=!1,disabled:At}=ut,Gt=je(ut,["prefixCls","className","rootClassName","children","indeterminate","style","onMouseEnter","onMouseLeave","skipGroup","disabled"]),{getPrefixCls:Wt,direction:pe,checkbox:Re}=b.useContext(Ve.E_),Ue=b.useContext(vt),{isFormItemInput:Jt}=b.useContext(Ge.aM),et=b.useContext(Be.Z),jt=(Fe=(Ue==null?void 0:Ue.disabled)||At)!==null&&Fe!==void 0?Fe:et,ct=b.useRef(Gt.value),dn=b.useRef(null),bt=(0,Oe.sQ)(dt,dn);b.useEffect(()=>{Ue==null||Ue.registerValue(Gt.value)},[]),b.useEffect(()=>{if(!ve)return Gt.value!==ct.current&&(Ue==null||Ue.cancelValue(ct.current),Ue==null||Ue.registerValue(Gt.value),ct.current=Gt.value),()=>Ue==null?void 0:Ue.cancelValue(Gt.value)},[Gt.value]),b.useEffect(()=>{var Ie;!((Ie=dn.current)===null||Ie===void 0)&&Ie.input&&(dn.current.input.indeterminate=He)},[He]);const le=Wt("checkbox",Ze),ne=(0,fe.Z)(le),[te,ae,he]=(0,Je.ZP)(le,ne),re=Object.assign({},Gt);Ue&&!ve&&(re.onChange=function(){Gt.onChange&&Gt.onChange.apply(Gt,arguments),Ue.toggleOption&&Ue.toggleOption({label:gt,value:Gt.value})},re.name=Ue.name,re.checked=Ue.value.includes(Gt.value));const ce=de()(`${le}-wrapper`,{[`${le}-rtl`]:pe==="rtl",[`${le}-wrapper-checked`]:re.checked,[`${le}-wrapper-disabled`]:jt,[`${le}-wrapper-in-form-item`]:Jt},Re==null?void 0:Re.className,Se,ue,he,ne,ae),Pe=de()({[`${le}-indeterminate`]:He},Ae.A,ae),[lt,$e]=(0,tt.Z)(re.onClick);return te(b.createElement(xe.Z,{component:"Checkbox",disabled:jt},b.createElement("label",{className:ce,style:Object.assign(Object.assign({},Re==null?void 0:Re.style),ke),onMouseEnter:Nt,onMouseLeave:De,onClick:lt},b.createElement(rt.Z,Object.assign({},re,{onClick:$e,prefixCls:le,className:Pe,disabled:jt,ref:bt})),gt!==void 0&&b.createElement("span",{className:`${le}-label`},gt))))};var Mt=b.forwardRef(We),Ut=z(77654),se=z(2738),Me=function(ut,dt){var Fe={};for(var Ze in ut)Object.prototype.hasOwnProperty.call(ut,Ze)&&dt.indexOf(Ze)<0&&(Fe[Ze]=ut[Ze]);if(ut!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Se=0,Ze=Object.getOwnPropertySymbols(ut);Se<Ze.length;Se++)dt.indexOf(Ze[Se])<0&&Object.prototype.propertyIsEnumerable.call(ut,Ze[Se])&&(Fe[Ze[Se]]=ut[Ze[Se]]);return Fe},mt=b.forwardRef((ut,dt)=>{const{defaultValue:Fe,children:Ze,options:Se=[],prefixCls:ue,className:gt,rootClassName:He,style:ke,onChange:Nt}=ut,De=Me(ut,["defaultValue","children","options","prefixCls","className","rootClassName","style","onChange"]),{getPrefixCls:ve,direction:At}=b.useContext(Ve.E_),[Gt,Wt]=b.useState(De.value||Fe||[]),[pe,Re]=b.useState([]);b.useEffect(()=>{"value"in De&&Wt(De.value||[])},[De.value]);const Ue=b.useMemo(()=>Se.map(Pe=>typeof Pe=="string"||typeof Pe=="number"?{label:Pe,value:Pe}:Pe),[Se]),Jt=Pe=>{Re(lt=>lt.filter($e=>$e!==Pe))},et=Pe=>{Re(lt=>[].concat((0,Ut.Z)(lt),[Pe]))},jt=Pe=>{const lt=Gt.indexOf(Pe.value),$e=(0,Ut.Z)(Gt);lt===-1?$e.push(Pe.value):$e.splice(lt,1),"value"in De||Wt($e),Nt==null||Nt($e.filter(Ie=>pe.includes(Ie)).sort((Ie,ht)=>{const Et=Ue.findIndex(Te=>Te.value===Ie),Rt=Ue.findIndex(Te=>Te.value===ht);return Et-Rt}))},ct=ve("checkbox",ue),dn=`${ct}-group`,bt=(0,fe.Z)(ct),[le,ne,te]=(0,Je.ZP)(ct,bt),ae=(0,se.Z)(De,["value","disabled"]),he=Se.length?Ue.map(Pe=>b.createElement(Mt,{prefixCls:ct,key:Pe.value.toString(),disabled:"disabled"in Pe?Pe.disabled:De.disabled,value:Pe.value,checked:Gt.includes(Pe.value),onChange:Pe.onChange,className:`${dn}-item`,style:Pe.style,title:Pe.title,id:Pe.id,required:Pe.required},Pe.label)):Ze,re={toggleOption:jt,value:Gt,disabled:De.disabled,name:De.name,registerValue:et,cancelValue:Jt},ce=de()(dn,{[`${dn}-rtl`]:At==="rtl"},gt,He,te,bt,ne);return le(b.createElement("div",Object.assign({className:ce,style:ke},ae,{ref:dt}),b.createElement(vt.Provider,{value:re},he)))});const kt=Mt;kt.Group=mt,kt.__ANT_CHECKBOX=!0;var Qe=kt},36170:function(Yn,mn,z){"use strict";z.d(mn,{C2:function(){return xe}});var b=z(36237),Ce=z(63356),de=z(51636),rt=z(16931);const Oe=Ae=>{const{checkboxCls:Ve}=Ae,Be=`${Ve}-wrapper`;return[{[`${Ve}-group`]:Object.assign(Object.assign({},(0,Ce.Wf)(Ae)),{display:"inline-flex",flexWrap:"wrap",columnGap:Ae.marginXS,[`> ${Ae.antCls}-row`]:{flex:1}}),[Be]:Object.assign(Object.assign({},(0,Ce.Wf)(Ae)),{display:"inline-flex",alignItems:"baseline",cursor:"pointer","&:after":{display:"inline-block",width:0,overflow:"hidden",content:"'\\a0'"},[`& + ${Be}`]:{marginInlineStart:0},[`&${Be}-in-form-item`]:{'input[type="checkbox"]':{width:14,height:14}}}),[Ve]:Object.assign(Object.assign({},(0,Ce.Wf)(Ae)),{position:"relative",whiteSpace:"nowrap",lineHeight:1,cursor:"pointer",borderRadius:Ae.borderRadiusSM,alignSelf:"center",[`${Ve}-input`]:{position:"absolute",inset:0,zIndex:1,cursor:"pointer",opacity:0,margin:0,[`&:focus-visible + ${Ve}-inner`]:Object.assign({},(0,Ce.oN)(Ae))},[`${Ve}-inner`]:{boxSizing:"border-box",display:"block",width:Ae.checkboxSize,height:Ae.checkboxSize,direction:"ltr",backgroundColor:Ae.colorBgContainer,border:`${(0,b.unit)(Ae.lineWidth)} ${Ae.lineType} ${Ae.colorBorder}`,borderRadius:Ae.borderRadiusSM,borderCollapse:"separate",transition:`all ${Ae.motionDurationSlow}`,"&:after":{boxSizing:"border-box",position:"absolute",top:"50%",insetInlineStart:"25%",display:"table",width:Ae.calc(Ae.checkboxSize).div(14).mul(5).equal(),height:Ae.calc(Ae.checkboxSize).div(14).mul(8).equal(),border:`${(0,b.unit)(Ae.lineWidthBold)} solid ${Ae.colorWhite}`,borderTop:0,borderInlineStart:0,transform:"rotate(45deg) scale(0) translate(-50%,-50%)",opacity:0,content:'""',transition:`all ${Ae.motionDurationFast} ${Ae.motionEaseInBack}, opacity ${Ae.motionDurationFast}`}},"& + span":{paddingInlineStart:Ae.paddingXS,paddingInlineEnd:Ae.paddingXS}})},{[`
|
|
|
${Be}:not(${Be}-disabled),
|
|
|
${Ve}:not(${Ve}-disabled)
|
|
|
`]:{[`&:hover ${Ve}-inner`]:{borderColor:Ae.colorPrimary}},[`${Be}:not(${Be}-disabled)`]:{[`&:hover ${Ve}-checked:not(${Ve}-disabled) ${Ve}-inner`]:{backgroundColor:Ae.colorPrimaryHover,borderColor:"transparent"},[`&:hover ${Ve}-checked:not(${Ve}-disabled):after`]:{borderColor:Ae.colorPrimaryHover}}},{[`${Ve}-checked`]:{[`${Ve}-inner`]:{backgroundColor:Ae.colorPrimary,borderColor:Ae.colorPrimary,"&:after":{opacity:1,transform:"rotate(45deg) scale(1) translate(-50%,-50%)",transition:`all ${Ae.motionDurationMid} ${Ae.motionEaseOutBack} ${Ae.motionDurationFast}`}}},[`
|
|
|
${Be}-checked:not(${Be}-disabled),
|
|
|
${Ve}-checked:not(${Ve}-disabled)
|
|
|
`]:{[`&:hover ${Ve}-inner`]:{backgroundColor:Ae.colorPrimaryHover,borderColor:"transparent"}}},{[Ve]:{"&-indeterminate":{[`${Ve}-inner`]:{backgroundColor:`${Ae.colorBgContainer} !important`,borderColor:`${Ae.colorBorder} !important`,"&:after":{top:"50%",insetInlineStart:"50%",width:Ae.calc(Ae.fontSizeLG).div(2).equal(),height:Ae.calc(Ae.fontSizeLG).div(2).equal(),backgroundColor:Ae.colorPrimary,border:0,transform:"translate(-50%, -50%) scale(1)",opacity:1,content:'""'}},[`&:hover ${Ve}-inner`]:{backgroundColor:`${Ae.colorBgContainer} !important`,borderColor:`${Ae.colorPrimary} !important`}}}},{[`${Be}-disabled`]:{cursor:"not-allowed"},[`${Ve}-disabled`]:{[`&, ${Ve}-input`]:{cursor:"not-allowed",pointerEvents:"none"},[`${Ve}-inner`]:{background:Ae.colorBgContainerDisabled,borderColor:Ae.colorBorder,"&:after":{borderColor:Ae.colorTextDisabled}},"&:after":{display:"none"},"& + span":{color:Ae.colorTextDisabled},[`&${Ve}-indeterminate ${Ve}-inner::after`]:{background:Ae.colorTextDisabled}}}]};function xe(Ae,Ve){const Be=(0,de.mergeToken)(Ve,{checkboxCls:`.${Ae}`,checkboxSize:Ve.controlInteractiveSize});return[Oe(Be)]}mn.ZP=(0,rt.I$)("Checkbox",(Ae,Ve)=>{let{prefixCls:Be}=Ve;return[xe(Be,Ae)]})},38406:function(Yn,mn,z){"use strict";var b=z(59301),Ce=z(48755),de=z(584);const rt=Oe=>{const{componentName:xe}=Oe,{getPrefixCls:Ae}=(0,b.useContext)(Ce.E_),Ve=Ae("empty");switch(xe){case"Table":case"List":return b.createElement(de.Z,{image:de.Z.PRESENTED_IMAGE_SIMPLE});case"Select":case"TreeSelect":case"Cascader":case"Transfer":case"Mentions":return b.createElement(de.Z,{image:de.Z.PRESENTED_IMAGE_SIMPLE,className:`${Ve}-small`});case"Table.filter":return null;default:return b.createElement(de.Z,null)}};mn.Z=rt},24017:function(Yn,mn,z){"use strict";z.d(mn,{default:function(){return ps}});var b=z(66649),Ce=z.n(b),de=z(9007),rt=z.n(de),Oe=z(50991),xe=z.n(Oe),Ae=z(9084),Ve=z.n(Ae),Be=z(58626),fe=z.n(Be),Ge=z(13477),be=z.n(Ge),vt=z(64796),Je=z.n(vt);Ce().extend(Je()),Ce().extend(be()),Ce().extend(rt()),Ce().extend(xe()),Ce().extend(Ve()),Ce().extend(fe()),Ce().extend(function(ie,Ee){var Xe=Ee.prototype,Dt=Xe.format;Xe.format=function(Pn){var Vn=(Pn||"").replace("Wo","wo");return Dt.bind(this)(Vn)}});var tt={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"},je=function(Ee){var Xe=tt[Ee];return Xe||Ee.split("_")[0]},We=function(){},ot={getNow:function(){var Ee=Ce()();return typeof Ee.tz=="function"?Ee.tz():Ee},getFixedDate:function(Ee){return Ce()(Ee,["YYYY-M-DD","YYYY-MM-DD"])},getEndDate:function(Ee){return Ee.endOf("month")},getWeekDay:function(Ee){var Xe=Ee.locale("en");return Xe.weekday()+Xe.localeData().firstDayOfWeek()},getYear:function(Ee){return Ee.year()},getMonth:function(Ee){return Ee.month()},getDate:function(Ee){return Ee.date()},getHour:function(Ee){return Ee.hour()},getMinute:function(Ee){return Ee.minute()},getSecond:function(Ee){return Ee.second()},getMillisecond:function(Ee){return Ee.millisecond()},addYear:function(Ee,Xe){return Ee.add(Xe,"year")},addMonth:function(Ee,Xe){return Ee.add(Xe,"month")},addDate:function(Ee,Xe){return Ee.add(Xe,"day")},setYear:function(Ee,Xe){return Ee.year(Xe)},setMonth:function(Ee,Xe){return Ee.month(Xe)},setDate:function(Ee,Xe){return Ee.date(Xe)},setHour:function(Ee,Xe){return Ee.hour(Xe)},setMinute:function(Ee,Xe){return Ee.minute(Xe)},setSecond:function(Ee,Xe){return Ee.second(Xe)},setMillisecond:function(Ee,Xe){return Ee.millisecond(Xe)},isAfter:function(Ee,Xe){return Ee.isAfter(Xe)},isValidate:function(Ee){return Ee.isValid()},locale:{getWeekFirstDay:function(Ee){return Ce()().locale(je(Ee)).localeData().firstDayOfWeek()},getWeekFirstDate:function(Ee,Xe){return Xe.locale(je(Ee)).weekday(0)},getWeek:function(Ee,Xe){return Xe.locale(je(Ee)).week()},getShortWeekDays:function(Ee){return Ce()().locale(je(Ee)).localeData().weekdaysMin()},getShortMonths:function(Ee){return Ce()().locale(je(Ee)).localeData().monthsShort()},format:function(Ee,Xe,Dt){return Xe.locale(je(Ee)).format(Dt)},parse:function(Ee,Xe,Dt){for(var Lt=je(Ee),Pn=0;Pn<Dt.length;Pn+=1){var Vn=Dt[Pn],Gn=Xe;if(Vn.includes("wo")||Vn.includes("Wo")){for(var sr=Gn.split("-")[0],hr=Gn.split("-")[1],Xn=Ce()(sr,"YYYY").startOf("year").locale(Lt),Er=0;Er<=52;Er+=1){var Fr=Xn.add(Er,"week");if(Fr.format("Wo")===hr)return Fr}return We(),null}var Ir=Ce()(Gn,Vn,!0).locale(Lt);if(Ir.isValid())return Ir}return Xe&&We(),null}}},Mt=ot,Ut=z(45915),se=z(59301),Me=z(60499),st={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"},mt=st,kt=z(7657),Qe=function(Ee,Xe){return se.createElement(kt.Z,(0,Me.Z)({},Ee,{ref:Xe,icon:mt}))},ut=se.forwardRef(Qe),dt=ut,Fe={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=Fe,Se=function(Ee,Xe){return se.createElement(kt.Z,(0,Me.Z)({},Ee,{ref:Xe,icon:Ze}))},ue=se.forwardRef(Se),gt=ue,He={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"},ke=He,Nt=function(Ee,Xe){return se.createElement(kt.Z,(0,Me.Z)({},Ee,{ref:Xe,icon:ke}))},De=se.forwardRef(Nt),ve=De,At=z(92310),Gt=z.n(At),Wt=z(77654),pe=z(85899),Re=z(72190),Ue=z(70425),Jt=z(34280),et=z(2738),jt=z(26112),ct=z(48736),dn=z(18642),bt=z(68196);function le(ie,Ee){return ie!==void 0?ie:Ee?"bottomRight":"bottomLeft"}var ne=se.createContext(null),te=ne,ae={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 he(ie){var Ee=ie.popupElement,Xe=ie.popupStyle,Dt=ie.popupClassName,Lt=ie.popupAlign,Pn=ie.transitionName,Vn=ie.getPopupContainer,Gn=ie.children,sr=ie.range,hr=ie.placement,Xn=ie.builtinPlacements,Er=Xn===void 0?ae:Xn,Fr=ie.direction,Ir=ie.visible,Dr=ie.onClose,Mr=se.useContext(te),Lr=Mr.prefixCls,Tr="".concat(Lr,"-dropdown"),So=le(hr,Fr==="rtl");return se.createElement(bt.Z,{showAction:[],hideAction:["click"],popupPlacement:So,builtinPlacements:Er,prefixCls:Tr,popupTransitionName:Pn,popup:Ee,popupAlign:Lt,popupVisible:Ir,popupClassName:Gt()(Dt,(0,dn.Z)((0,dn.Z)({},"".concat(Tr,"-range"),sr),"".concat(Tr,"-rtl"),Fr==="rtl")),popupStyle:Xe,stretch:"minWidth",getPopupContainer:Vn,onPopupVisibleChange:function(Ur){Ur||Dr()}},Gn)}var re=he;function ce(ie,Ee){for(var Xe=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"0",Dt=String(ie);Dt.length<Ee;)Dt="".concat(Xe).concat(Dt);return Dt}function Pe(ie){return ie==null?[]:Array.isArray(ie)?ie:[ie]}function lt(ie,Ee,Xe){var Dt=(0,Wt.Z)(ie);return Dt[Ee]=Xe,Dt}function $e(ie,Ee){var Xe={},Dt=Ee||Object.keys(ie);return Dt.forEach(function(Lt){ie[Lt]!==void 0&&(Xe[Lt]=ie[Lt])}),Xe}function Ie(ie,Ee,Xe){if(Xe)return Xe;switch(ie){case"time":return Ee.fieldTimeFormat;case"datetime":return Ee.fieldDateTimeFormat;case"month":return Ee.fieldMonthFormat;case"year":return Ee.fieldYearFormat;case"quarter":return Ee.fieldQuarterFormat;case"week":return Ee.fieldWeekFormat;default:return Ee.fieldDateFormat}}function ht(ie,Ee,Xe){var Dt=Xe!==void 0?Xe:Ee[Ee.length-1],Lt=Ee.find(function(Pn){return ie[Pn]});return Dt!==Lt?ie[Lt]:void 0}function Et(ie){return $e(ie,["placement","builtinPlacements","popupAlign","getPopupContainer","transitionName","direction"])}function Rt(ie,Ee,Xe,Dt){var Lt=se.useMemo(function(){return ie||function(Vn,Gn){var sr=Vn;return Ee&&Gn.type==="date"?Ee(sr,Gn.today):Xe&&Gn.type==="month"?Xe(sr,Gn.locale):Gn.originNode}},[ie,Xe,Ee]),Pn=se.useCallback(function(Vn,Gn){return Lt(Vn,(0,pe.Z)((0,pe.Z)({},Gn),{},{range:Dt}))},[Lt,Dt]);return Pn}function Te(ie,Ee){var Xe=arguments.length>2&&arguments[2]!==void 0?arguments[2]:[],Dt=se.useState([!1,!1]),Lt=(0,Re.Z)(Dt,2),Pn=Lt[0],Vn=Lt[1],Gn=function(Xn,Er){Vn(function(Fr){return lt(Fr,Er,Xn)})},sr=se.useMemo(function(){return Pn.map(function(hr,Xn){if(hr)return!0;var Er=ie[Xn];return Er?!!(!Xe[Xn]&&!Er||Er&&Ee(Er,{activeIndex:Xn})):!1})},[ie,Pn,Ee,Xe]);return[sr,Gn]}function Ke(ie,Ee,Xe,Dt,Lt){var Pn="",Vn=[];return ie&&Vn.push(Lt?"hh":"HH"),Ee&&Vn.push("mm"),Xe&&Vn.push("ss"),Pn=Vn.join(":"),Dt&&(Pn+=".SSS"),Lt&&(Pn+=" A"),Pn}function yn(ie,Ee,Xe,Dt,Lt,Pn){var Vn=ie.fieldDateTimeFormat,Gn=ie.fieldDateFormat,sr=ie.fieldTimeFormat,hr=ie.fieldMonthFormat,Xn=ie.fieldYearFormat,Er=ie.fieldWeekFormat,Fr=ie.fieldQuarterFormat,Ir=ie.yearFormat,Dr=ie.cellYearFormat,Mr=ie.cellQuarterFormat,Lr=ie.dayFormat,Tr=ie.cellDateFormat,So=Ke(Ee,Xe,Dt,Lt,Pn);return(0,pe.Z)((0,pe.Z)({},ie),{},{fieldDateTimeFormat:Vn||"YYYY-MM-DD ".concat(So),fieldDateFormat:Gn||"YYYY-MM-DD",fieldTimeFormat:sr||So,fieldMonthFormat:hr||"YYYY-MM",fieldYearFormat:Xn||"YYYY",fieldWeekFormat:Er||"gggg-wo",fieldQuarterFormat:Fr||"YYYY-[Q]Q",yearFormat:Ir||"YYYY",cellYearFormat:Dr||"YYYY",cellQuarterFormat:Mr||"[Q]Q",cellDateFormat:Tr||Lr||"D"})}function Ht(ie,Ee){var Xe=Ee.showHour,Dt=Ee.showMinute,Lt=Ee.showSecond,Pn=Ee.showMillisecond,Vn=Ee.use12Hours;return se.useMemo(function(){return yn(ie,Xe,Dt,Lt,Pn,Vn)},[ie,Xe,Dt,Lt,Pn,Vn])}var bn=z(43749);function fn(ie,Ee,Xe){return Xe!=null?Xe:Ee.some(function(Dt){return ie.includes(Dt)})}var Xt=["showNow","showHour","showMinute","showSecond","showMillisecond","use12Hours","hourStep","minuteStep","secondStep","millisecondStep","hideDisabledOptions","defaultValue","disabledHours","disabledMinutes","disabledSeconds","disabledMilliseconds","disabledTime","changeOnScroll","defaultOpenValue"];function on(ie){var Ee=$e(ie,Xt),Xe=ie.format,Dt=ie.picker,Lt=null;return Xe&&(Lt=Xe,Array.isArray(Lt)&&(Lt=Lt[0]),Lt=(0,bn.Z)(Lt)==="object"?Lt.format:Lt),Dt==="time"&&(Ee.format=Lt),[Ee,Lt]}function gn(ie){return ie&&typeof ie=="string"}function ft(ie,Ee,Xe,Dt){return[ie,Ee,Xe,Dt].some(function(Lt){return Lt!==void 0})}function Yt(ie,Ee,Xe,Dt,Lt){var Pn=Ee,Vn=Xe,Gn=Dt;if(!ie&&!Pn&&!Vn&&!Gn&&!Lt)Pn=!0,Vn=!0,Gn=!0;else if(ie){var sr,hr,Xn,Er=[Pn,Vn,Gn].some(function(Dr){return Dr===!1}),Fr=[Pn,Vn,Gn].some(function(Dr){return Dr===!0}),Ir=Er?!0:!Fr;Pn=(sr=Pn)!==null&&sr!==void 0?sr:Ir,Vn=(hr=Vn)!==null&&hr!==void 0?hr:Ir,Gn=(Xn=Gn)!==null&&Xn!==void 0?Xn:Ir}return[Pn,Vn,Gn,Lt]}function xn(ie){var Ee=ie.showTime,Xe=on(ie),Dt=(0,Re.Z)(Xe,2),Lt=Dt[0],Pn=Dt[1],Vn=Ee&&(0,bn.Z)(Ee)==="object"?Ee:{},Gn=(0,pe.Z)((0,pe.Z)({defaultOpenValue:Vn.defaultOpenValue||Vn.defaultValue},Lt),Vn),sr=Gn.showMillisecond,hr=Gn.showHour,Xn=Gn.showMinute,Er=Gn.showSecond,Fr=ft(hr,Xn,Er,sr),Ir=Yt(Fr,hr,Xn,Er,sr),Dr=(0,Re.Z)(Ir,3);return hr=Dr[0],Xn=Dr[1],Er=Dr[2],[Gn,(0,pe.Z)((0,pe.Z)({},Gn),{},{showHour:hr,showMinute:Xn,showSecond:Er,showMillisecond:sr}),Gn.format,Pn]}function St(ie,Ee,Xe,Dt,Lt){var Pn=ie==="time";if(ie==="datetime"||Pn){for(var Vn=Dt,Gn=Ie(ie,Lt,null),sr=Gn,hr=[Ee,Xe],Xn=0;Xn<hr.length;Xn+=1){var Er=Pe(hr[Xn])[0];if(gn(Er)){sr=Er;break}}var Fr=Vn.showHour,Ir=Vn.showMinute,Dr=Vn.showSecond,Mr=Vn.showMillisecond,Lr=Vn.use12Hours,Tr=fn(sr,["a","A","LT","LLL","LTS"],Lr),So=ft(Fr,Ir,Dr,Mr);So||(Fr=fn(sr,["H","h","k","LT","LLL"]),Ir=fn(sr,["m","LT","LLL"]),Dr=fn(sr,["s","LTS"]),Mr=fn(sr,["SSS"]));var lo=Yt(So,Fr,Ir,Dr,Mr),Ur=(0,Re.Z)(lo,3);Fr=Ur[0],Ir=Ur[1],Dr=Ur[2];var Ao=Ee||Ke(Fr,Ir,Dr,Mr,Tr);return(0,pe.Z)((0,pe.Z)({},Vn),{},{format:Ao,showHour:Fr,showMinute:Ir,showSecond:Dr,showMillisecond:Mr,use12Hours:Tr})}return null}function _e(ie,Ee,Xe){if(Ee===!1)return null;var Dt=Ee&&(0,bn.Z)(Ee)==="object"?Ee:{};return Dt.clearIcon||Xe||se.createElement("span",{className:"".concat(ie,"-clear-btn")})}var Vt=7;function tn(ie,Ee,Xe){return!ie&&!Ee||ie===Ee?!0:!ie||!Ee?!1:Xe()}function un(ie,Ee,Xe){return tn(Ee,Xe,function(){var Dt=Math.floor(ie.getYear(Ee)/10),Lt=Math.floor(ie.getYear(Xe)/10);return Dt===Lt})}function Tn(ie,Ee,Xe){return tn(Ee,Xe,function(){return ie.getYear(Ee)===ie.getYear(Xe)})}function qn(ie,Ee){var Xe=Math.floor(ie.getMonth(Ee)/3);return Xe+1}function mr(ie,Ee,Xe){return tn(Ee,Xe,function(){return Tn(ie,Ee,Xe)&&qn(ie,Ee)===qn(ie,Xe)})}function vr(ie,Ee,Xe){return tn(Ee,Xe,function(){return Tn(ie,Ee,Xe)&&ie.getMonth(Ee)===ie.getMonth(Xe)})}function Jn(ie,Ee,Xe){return tn(Ee,Xe,function(){return Tn(ie,Ee,Xe)&&vr(ie,Ee,Xe)&&ie.getDate(Ee)===ie.getDate(Xe)})}function dr(ie,Ee,Xe){return tn(Ee,Xe,function(){return ie.getHour(Ee)===ie.getHour(Xe)&&ie.getMinute(Ee)===ie.getMinute(Xe)&&ie.getSecond(Ee)===ie.getSecond(Xe)})}function _t(ie,Ee,Xe){return tn(Ee,Xe,function(){return Jn(ie,Ee,Xe)&&dr(ie,Ee,Xe)&&ie.getMillisecond(Ee)===ie.getMillisecond(Xe)})}function zt(ie,Ee,Xe,Dt){return tn(Xe,Dt,function(){var Lt=ie.locale.getWeekFirstDate(Ee,Xe),Pn=ie.locale.getWeekFirstDate(Ee,Dt);return Tn(ie,Lt,Pn)&&ie.locale.getWeek(Ee,Xe)===ie.locale.getWeek(Ee,Dt)})}function Sn(ie,Ee,Xe,Dt,Lt){switch(Lt){case"date":return Jn(ie,Xe,Dt);case"week":return zt(ie,Ee.locale,Xe,Dt);case"month":return vr(ie,Xe,Dt);case"quarter":return mr(ie,Xe,Dt);case"year":return Tn(ie,Xe,Dt);case"decade":return un(ie,Xe,Dt);case"time":return dr(ie,Xe,Dt);default:return _t(ie,Xe,Dt)}}function wn(ie,Ee,Xe,Dt){return!Ee||!Xe||!Dt?!1:ie.isAfter(Dt,Ee)&&ie.isAfter(Xe,Dt)}function vn(ie,Ee,Xe,Dt,Lt){return Sn(ie,Ee,Xe,Dt,Lt)?!0:ie.isAfter(Xe,Dt)}function Rn(ie,Ee,Xe){var Dt=Ee.locale.getWeekFirstDay(ie),Lt=Ee.setDate(Xe,1),Pn=Ee.getWeekDay(Lt),Vn=Ee.addDate(Lt,Dt-Pn);return Ee.getMonth(Vn)===Ee.getMonth(Xe)&&Ee.getDate(Vn)>1&&(Vn=Ee.addDate(Vn,-7)),Vn}function Bt(ie,Ee){var Xe=Ee.generateConfig,Dt=Ee.locale,Lt=Ee.format;return ie?typeof Lt=="function"?Lt(ie):Xe.locale.format(Dt.locale,ie,Lt):""}function ln(ie,Ee,Xe){var Dt=Ee,Lt=["getHour","getMinute","getSecond","getMillisecond"],Pn=["setHour","setMinute","setSecond","setMillisecond"];return Pn.forEach(function(Vn,Gn){Xe?Dt=ie[Vn](Dt,ie[Lt[Gn]](Xe)):Dt=ie[Vn](Dt,0)}),Dt}function Zt(ie,Ee,Xe,Dt,Lt){var Pn=(0,Ue.zX)(function(Vn,Gn){return!!(Xe&&Xe(Vn,Gn)||Dt&&ie.isAfter(Dt,Vn)&&!Sn(ie,Ee,Dt,Vn,Gn.type)||Lt&&ie.isAfter(Vn,Lt)&&!Sn(ie,Ee,Lt,Vn,Gn.type))});return Pn}function pn(ie,Ee,Xe){return se.useMemo(function(){var Dt=Ie(ie,Ee,Xe),Lt=Pe(Dt),Pn=Lt[0],Vn=(0,bn.Z)(Pn)==="object"&&Pn.type==="mask"?Pn.format:null;return[Lt.map(function(Gn){return typeof Gn=="string"||typeof Gn=="function"?Gn:Gn.format}),Vn]},[ie,Ee,Xe])}function cn(ie,Ee,Xe){return typeof ie[0]=="function"||Xe?!0:Ee}function zn(ie,Ee,Xe,Dt){var Lt=(0,Ue.zX)(function(Pn,Vn){var Gn=(0,pe.Z)({type:Ee},Vn);if(delete Gn.activeIndex,!ie.isValidate(Pn)||Xe&&Xe(Pn,Gn))return!0;if((Ee==="date"||Ee==="time")&&Dt){var sr,hr=Vn&&Vn.activeIndex===1?"end":"start",Xn=((sr=Dt.disabledTime)===null||sr===void 0?void 0:sr.call(Dt,Pn,hr,{from:Gn.from}))||{},Er=Xn.disabledHours,Fr=Xn.disabledMinutes,Ir=Xn.disabledSeconds,Dr=Xn.disabledMilliseconds,Mr=Dt.disabledHours,Lr=Dt.disabledMinutes,Tr=Dt.disabledSeconds,So=Er||Mr,lo=Fr||Lr,Ur=Ir||Tr,Ao=ie.getHour(Pn),ro=ie.getMinute(Pn),uo=ie.getSecond(Pn),ai=ie.getMillisecond(Pn);if(So&&So().includes(Ao)||lo&&lo(Ao).includes(ro)||Ur&&Ur(Ao,ro).includes(uo)||Dr&&Dr(Ao,ro,uo).includes(ai))return!0}return!1});return Lt}function Ln(ie){var Ee=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,Xe=se.useMemo(function(){var Dt=ie&&Pe(ie);return Ee&&Dt&&(Dt[1]=Dt[1]||Dt[0]),Dt},[ie,Ee]);return Xe}function rr(ie,Ee){var Xe=ie.generateConfig,Dt=ie.locale,Lt=ie.picker,Pn=Lt===void 0?"date":Lt,Vn=ie.prefixCls,Gn=Vn===void 0?"rc-picker":Vn,sr=ie.styles,hr=sr===void 0?{}:sr,Xn=ie.classNames,Er=Xn===void 0?{}:Xn,Fr=ie.order,Ir=Fr===void 0?!0:Fr,Dr=ie.components,Mr=Dr===void 0?{}:Dr,Lr=ie.inputRender,Tr=ie.allowClear,So=ie.clearIcon,lo=ie.needConfirm,Ur=ie.multiple,Ao=ie.format,ro=ie.inputReadOnly,uo=ie.disabledDate,ai=ie.minDate,Ko=ie.maxDate,Go=ie.showTime,Wo=ie.value,ci=ie.defaultValue,Qo=ie.pickerValue,Fo=ie.defaultPickerValue,Eo=Ln(Wo),Ro=Ln(ci),No=Ln(Qo),vi=Ln(Fo),di=Pn==="date"&&Go?"datetime":Pn,Uo=di==="time"||di==="datetime",ei=Uo||Ur,Oo=lo!=null?lo:Uo,Xo=xn(ie),Yo=(0,Re.Z)(Xo,4),pi=Yo[0],Bi=Yo[1],Mi=Yo[2],ye=Yo[3],ge=Ht(Dt,Bi),at=se.useMemo(function(){return St(di,Mi,ye,pi,ge)},[di,Mi,ye,pi,ge]),wt=se.useMemo(function(){return(0,pe.Z)((0,pe.Z)({},ie),{},{prefixCls:Gn,locale:ge,picker:Pn,styles:hr,classNames:Er,order:Ir,components:(0,pe.Z)({input:Lr},Mr),clearIcon:_e(Gn,Tr,So),showTime:at,value:Eo,defaultValue:Ro,pickerValue:No,defaultPickerValue:vi},Ee==null?void 0:Ee())},[ie]),$t=pn(di,ge,Ao),an=(0,Re.Z)($t,2),An=an[0],En=an[1],Mn=cn(An,ro,Ur),Nn=Zt(Xe,Dt,uo,ai,Ko),ir=zn(Xe,Pn,Nn,at),tr=se.useMemo(function(){return(0,pe.Z)((0,pe.Z)({},wt),{},{needConfirm:Oo,inputReadOnly:Mn,disabledDate:Nn})},[wt,Oo,Mn,Nn]);return[tr,di,ei,An,En,ir]}var _n=z(16089);function rn(ie,Ee,Xe){var Dt=(0,Ue.C8)(Ee,{value:ie}),Lt=(0,Re.Z)(Dt,2),Pn=Lt[0],Vn=Lt[1],Gn=se.useRef(ie),sr=se.useRef(),hr=function(){_n.Z.cancel(sr.current)},Xn=(0,Ue.zX)(function(){Vn(Gn.current),Xe&&Pn!==Gn.current&&Xe(Gn.current)}),Er=(0,Ue.zX)(function(Fr,Ir){hr(),Gn.current=Fr,Fr||Ir?Xn():sr.current=(0,_n.Z)(Xn)});return se.useEffect(function(){return hr},[]),[Pn,Er]}function Fn(ie,Ee){var Xe=arguments.length>2&&arguments[2]!==void 0?arguments[2]:[],Dt=arguments.length>3?arguments[3]:void 0,Lt=Xe.every(function(Xn){return Xn})?!1:ie,Pn=rn(Lt,Ee||!1,Dt),Vn=(0,Re.Z)(Pn,2),Gn=Vn[0],sr=Vn[1];function hr(Xn){var Er=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};(!Er.inherit||Gn)&&sr(Xn,Er.force)}return[Gn,hr]}function nn(ie){var Ee=se.useRef();return se.useImperativeHandle(ie,function(){var Xe;return{nativeElement:(Xe=Ee.current)===null||Xe===void 0?void 0:Xe.nativeElement,focus:function(Lt){var Pn;(Pn=Ee.current)===null||Pn===void 0||Pn.focus(Lt)},blur:function(){var Lt;(Lt=Ee.current)===null||Lt===void 0||Lt.blur()}}}),Ee}function er(ie,Ee){return se.useMemo(function(){return ie||(Ee?((0,ct.ZP)(!1,"`ranges` is deprecated. Please use `presets` instead."),Object.entries(Ee).map(function(Xe){var Dt=(0,Re.Z)(Xe,2),Lt=Dt[0],Pn=Dt[1];return{label:Lt,value:Pn}})):[])},[ie,Ee])}function It(ie,Ee){var Xe=arguments.length>2&&arguments[2]!==void 0?arguments[2]:1,Dt=se.useRef(Ee);Dt.current=Ee,(0,Jt.o)(function(){if(ie)Dt.current(ie);else{var Lt=(0,_n.Z)(function(){Dt.current(ie)},Xe);return function(){_n.Z.cancel(Lt)}}},[ie])}function Qt(ie){var Ee=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],Xe=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1,Dt=se.useState(0),Lt=(0,Re.Z)(Dt,2),Pn=Lt[0],Vn=Lt[1],Gn=se.useState(!1),sr=(0,Re.Z)(Gn,2),hr=sr[0],Xn=sr[1],Er=se.useRef([]),Fr=se.useRef(null),Ir=se.useRef(null),Dr=function(Ur){Fr.current=Ur},Mr=function(Ur){return Fr.current===Ur},Lr=function(Ur){Xn(Ur)},Tr=function(Ur){return Ur&&(Ir.current=Ur),Ir.current},So=function(Ur){var Ao=Er.current,ro=new Set(Ao.filter(function(ai){return Ur[ai]||Ee[ai]})),uo=Ao[Ao.length-1]===0?1:0;return ro.size>=2||ie[uo]?null:uo};return It(hr||Xe,function(){hr||(Er.current=[],Dr(null))}),se.useEffect(function(){hr&&Er.current.push(Pn)},[hr,Pn]),[hr,Lr,Tr,Pn,Vn,So,Er.current,Dr,Mr]}function ze(ie,Ee,Xe,Dt,Lt,Pn){var Vn=Xe[Xe.length-1],Gn=function(hr,Xn){var Er=(0,Re.Z)(ie,2),Fr=Er[0],Ir=Er[1],Dr=(0,pe.Z)((0,pe.Z)({},Xn),{},{from:ht(ie,Xe)});return Vn===1&&Ee[0]&&Fr&&!Sn(Dt,Lt,Fr,hr,Dr.type)&&Dt.isAfter(Fr,hr)||Vn===0&&Ee[1]&&Ir&&!Sn(Dt,Lt,Ir,hr,Dr.type)&&Dt.isAfter(hr,Ir)?!0:Pn==null?void 0:Pn(hr,Dr)};return Gn}function yt(ie,Ee,Xe,Dt){switch(Ee){case"date":case"week":return ie.addMonth(Xe,Dt);case"month":case"quarter":return ie.addYear(Xe,Dt);case"year":return ie.addYear(Xe,Dt*10);case"decade":return ie.addYear(Xe,Dt*100);default:return Xe}}var Ye=[];function Ct(ie,Ee,Xe,Dt,Lt,Pn,Vn,Gn){var sr=arguments.length>8&&arguments[8]!==void 0?arguments[8]:Ye,hr=arguments.length>9&&arguments[9]!==void 0?arguments[9]:Ye,Xn=arguments.length>10&&arguments[10]!==void 0?arguments[10]:Ye,Er=arguments.length>11?arguments[11]:void 0,Fr=arguments.length>12?arguments[12]:void 0,Ir=arguments.length>13?arguments[13]:void 0,Dr=Vn==="time",Mr=Pn||0,Lr=function(No){var vi=ie.getNow();return Dr&&(vi=ln(ie,vi)),sr[No]||Xe[No]||vi},Tr=(0,Re.Z)(hr,2),So=Tr[0],lo=Tr[1],Ur=(0,Ue.C8)(function(){return Lr(0)},{value:So}),Ao=(0,Re.Z)(Ur,2),ro=Ao[0],uo=Ao[1],ai=(0,Ue.C8)(function(){return Lr(1)},{value:lo}),Ko=(0,Re.Z)(ai,2),Go=Ko[0],Wo=Ko[1],ci=se.useMemo(function(){var Ro=[ro,Go][Mr];return Dr?Ro:ln(ie,Ro,Xn[Mr])},[Dr,ro,Go,Mr,ie,Xn]),Qo=function(No){var vi=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"panel",di=[uo,Wo][Mr];di(No);var Uo=[ro,Go];Uo[Mr]=No,Er&&(!Sn(ie,Ee,ro,Uo[0],Vn)||!Sn(ie,Ee,Go,Uo[1],Vn))&&Er(Uo,{source:vi,range:Mr===1?"end":"start",mode:Dt})},Fo=function(No,vi){if(Gn){var di={date:"month",week:"month",month:"year",quarter:"year"},Uo=di[Vn];if(Uo&&!Sn(ie,Ee,No,vi,Uo))return yt(ie,Vn,vi,-1);if(Vn==="year"&&No){var ei=Math.floor(ie.getYear(No)/10),Oo=Math.floor(ie.getYear(vi)/10);if(ei!==Oo)return yt(ie,Vn,vi,-1)}}return vi},Eo=se.useRef(null);return(0,Jt.Z)(function(){if(Lt&&!sr[Mr]){var Ro=Dr?null:ie.getNow();if(Eo.current!==null&&Eo.current!==Mr?Ro=[ro,Go][Mr^1]:Xe[Mr]?Ro=Mr===0?Xe[0]:Fo(Xe[0],Xe[1]):Xe[Mr^1]&&(Ro=Xe[Mr^1]),Ro){Fr&&ie.isAfter(Fr,Ro)&&(Ro=Fr);var No=Gn?yt(ie,Vn,Ro,1):Ro;Ir&&ie.isAfter(No,Ir)&&(Ro=Gn?yt(ie,Vn,Ir,-1):Ir),Qo(Ro,"reset")}}},[Lt,Mr,Xe[Mr]]),se.useEffect(function(){Lt?Eo.current=Mr:Eo.current=null},[Lt,Mr]),(0,Jt.Z)(function(){Lt&&sr&&sr[Mr]&&Qo(sr[Mr],"reset")},[Lt,Mr]),[ci,Qo]}function qt(ie,Ee){var Xe=se.useRef(ie),Dt=se.useState({}),Lt=(0,Re.Z)(Dt,2),Pn=Lt[1],Vn=function(hr){return hr&&Ee!==void 0?Ee:Xe.current},Gn=function(hr){Xe.current=hr,Pn({})};return[Vn,Gn,Vn(!0)]}var nr=[];function ar(ie,Ee,Xe){var Dt=function(Vn){return Vn.map(function(Gn){return Bt(Gn,{generateConfig:ie,locale:Ee,format:Xe[0]})})},Lt=function(Vn,Gn){for(var sr=Math.max(Vn.length,Gn.length),hr=-1,Xn=0;Xn<sr;Xn+=1){var Er=Vn[Xn]||null,Fr=Gn[Xn]||null;if(Er!==Fr&&!_t(ie,Er,Fr)){hr=Xn;break}}return[hr<0,hr!==0]};return[Dt,Lt]}function pt(ie,Ee){return(0,Wt.Z)(ie).sort(function(Xe,Dt){return Ee.isAfter(Xe,Dt)?1:-1})}function xt(ie){var Ee=qt(ie),Xe=(0,Re.Z)(Ee,2),Dt=Xe[0],Lt=Xe[1],Pn=(0,Ue.zX)(function(){Lt(ie)});return se.useEffect(function(){Pn()},[ie]),[Dt,Lt]}function Pt(ie,Ee,Xe,Dt,Lt,Pn,Vn,Gn,sr){var hr=(0,Ue.C8)(Pn,{value:Vn}),Xn=(0,Re.Z)(hr,2),Er=Xn[0],Fr=Xn[1],Ir=Er||nr,Dr=xt(Ir),Mr=(0,Re.Z)(Dr,2),Lr=Mr[0],Tr=Mr[1],So=ar(ie,Ee,Xe),lo=(0,Re.Z)(So,2),Ur=lo[0],Ao=lo[1],ro=(0,Ue.zX)(function(ai){var Ko=(0,Wt.Z)(ai);if(Dt)for(var Go=0;Go<2;Go+=1)Ko[Go]=Ko[Go]||null;else Lt&&(Ko=pt(Ko.filter(function(Ro){return Ro}),ie));var Wo=Ao(Lr(),Ko),ci=(0,Re.Z)(Wo,2),Qo=ci[0],Fo=ci[1];if(!Qo&&(Tr(Ko),Gn)){var Eo=Ur(Ko);Gn(Ko,Eo,{range:Fo?"end":"start"})}}),uo=function(){sr&&sr(Lr())};return[Ir,Fr,Lr,ro,uo]}function Kt(ie,Ee,Xe,Dt,Lt,Pn,Vn,Gn,sr,hr){var Xn=ie.generateConfig,Er=ie.locale,Fr=ie.picker,Ir=ie.onChange,Dr=ie.allowEmpty,Mr=ie.order,Lr=Pn.some(function(Qo){return Qo})?!1:Mr,Tr=ar(Xn,Er,Vn),So=(0,Re.Z)(Tr,2),lo=So[0],Ur=So[1],Ao=qt(Ee),ro=(0,Re.Z)(Ao,2),uo=ro[0],ai=ro[1],Ko=(0,Ue.zX)(function(){ai(Ee)});se.useEffect(function(){Ko()},[Ee]);var Go=(0,Ue.zX)(function(Qo){var Fo=Qo===null,Eo=(0,Wt.Z)(Qo||uo());if(Fo)for(var Ro=Math.max(Pn.length,Eo.length),No=0;No<Ro;No+=1)Pn[No]||(Eo[No]=null);Lr&&Eo[0]&&Eo[1]&&(Eo=pt(Eo,Xn)),Lt(Eo);var vi=Eo,di=(0,Re.Z)(vi,2),Uo=di[0],ei=di[1],Oo=!Uo,Xo=!ei,Yo=Dr?(!Oo||Dr[0])&&(!Xo||Dr[1]):!0,pi=!Mr||Oo||Xo||Sn(Xn,Er,Uo,ei,Fr)||Xn.isAfter(ei,Uo),Bi=(Pn[0]||!Uo||!hr(Uo,{activeIndex:0}))&&(Pn[1]||!ei||!hr(ei,{from:Uo,activeIndex:1})),Mi=Fo||Yo&&pi&&Bi;if(Mi){Xe(Eo);var ye=Ur(Eo,Ee),ge=(0,Re.Z)(ye,1),at=ge[0];Ir&&!at&&Ir(Fo&&Eo.every(function(wt){return!wt})?null:Eo,lo(Eo))}return Mi}),Wo=(0,Ue.zX)(function(Qo,Fo){var Eo=lt(uo(),Qo,Dt()[Qo]);ai(Eo),Fo&&Go()}),ci=!Gn&&!sr;return It(!ci,function(){ci&&(Go(),Lt(Ee),Ko())},2),[Wo,Go]}function In(ie,Ee,Xe,Dt,Lt){return Ee!=="date"&&Ee!=="time"?!1:Xe!==void 0?Xe:Dt!==void 0?Dt:!Lt&&(ie==="date"||ie==="time")}var Zn=z(29301);function kn(ie,Ee,Xe,Dt,Lt,Pn){var Vn=ie;function Gn(Er,Fr,Ir){var Dr=Pn[Er](Vn),Mr=Ir.find(function(lo){return lo.value===Dr});if(!Mr||Mr.disabled){var Lr=Ir.filter(function(lo){return!lo.disabled}),Tr=(0,Wt.Z)(Lr).reverse(),So=Tr.find(function(lo){return lo.value<=Dr})||Lr[0];So&&(Dr=So.value,Vn=Pn[Fr](Vn,Dr))}return Dr}var sr=Gn("getHour","setHour",Ee()),hr=Gn("getMinute","setMinute",Xe(sr)),Xn=Gn("getSecond","setSecond",Dt(sr,hr));return Gn("getMillisecond","setMillisecond",Lt(sr,hr,Xn)),Vn}function Un(){return[]}function pr(ie,Ee){for(var Xe=arguments.length>2&&arguments[2]!==void 0?arguments[2]:1,Dt=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!1,Lt=arguments.length>4&&arguments[4]!==void 0?arguments[4]:[],Pn=arguments.length>5&&arguments[5]!==void 0?arguments[5]:2,Vn=[],Gn=Xe>=1?Xe|0:1,sr=ie;sr<=Ee;sr+=Gn){var hr=Lt.includes(sr);(!hr||!Dt)&&Vn.push({label:ce(sr,Pn),value:sr,disabled:hr})}return Vn}function Ar(ie){var Ee=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},Xe=arguments.length>2?arguments[2]:void 0,Dt=Ee||{},Lt=Dt.use12Hours,Pn=Dt.hourStep,Vn=Pn===void 0?1:Pn,Gn=Dt.minuteStep,sr=Gn===void 0?1:Gn,hr=Dt.secondStep,Xn=hr===void 0?1:hr,Er=Dt.millisecondStep,Fr=Er===void 0?100:Er,Ir=Dt.hideDisabledOptions,Dr=Dt.disabledTime,Mr=Dt.disabledHours,Lr=Dt.disabledMinutes,Tr=Dt.disabledSeconds,So=se.useMemo(function(){return Xe||ie.getNow()},[Xe,ie]);if(0)var lo,Ur,Ao;var ro=se.useCallback(function(ei){var Oo=(Dr==null?void 0:Dr(ei))||{};return[Oo.disabledHours||Mr||Un,Oo.disabledMinutes||Lr||Un,Oo.disabledSeconds||Tr||Un,Oo.disabledMilliseconds||Un]},[Dr,Mr,Lr,Tr]),uo=se.useMemo(function(){return ro(So)},[So,ro]),ai=(0,Re.Z)(uo,4),Ko=ai[0],Go=ai[1],Wo=ai[2],ci=ai[3],Qo=se.useCallback(function(ei,Oo,Xo,Yo){var pi=pr(0,23,Vn,Ir,ei()),Bi=Lt?pi.map(function(at){return(0,pe.Z)((0,pe.Z)({},at),{},{label:ce(at.value%12||12,2)})}):pi,Mi=function(wt){return pr(0,59,sr,Ir,Oo(wt))},ye=function(wt,$t){return pr(0,59,Xn,Ir,Xo(wt,$t))},ge=function(wt,$t,an){return pr(0,999,Fr,Ir,Yo(wt,$t,an),3)};return[Bi,Mi,ye,ge]},[Ir,Vn,Lt,Fr,sr,Xn]),Fo=se.useMemo(function(){return Qo(Ko,Go,Wo,ci)},[Qo,Ko,Go,Wo,ci]),Eo=(0,Re.Z)(Fo,4),Ro=Eo[0],No=Eo[1],vi=Eo[2],di=Eo[3],Uo=function(Oo,Xo){var Yo=function(){return Ro},pi=No,Bi=vi,Mi=di;if(Xo){var ye=ro(Xo),ge=(0,Re.Z)(ye,4),at=ge[0],wt=ge[1],$t=ge[2],an=ge[3],An=Qo(at,wt,$t,an),En=(0,Re.Z)(An,4),Mn=En[0],Nn=En[1],ir=En[2],tr=En[3];Yo=function(){return Mn},pi=Nn,Bi=ir,Mi=tr}var Qn=kn(Oo,Yo,pi,Bi,Mi,ie);return Qn};return[Uo,Ro,No,vi,di]}function Vr(ie){var Ee=ie.mode,Xe=ie.internalMode,Dt=ie.renderExtraFooter,Lt=ie.showNow,Pn=ie.showTime,Vn=ie.onSubmit,Gn=ie.onNow,sr=ie.invalid,hr=ie.needConfirm,Xn=ie.generateConfig,Er=ie.disabledDate,Fr=se.useContext(te),Ir=Fr.prefixCls,Dr=Fr.locale,Mr=Fr.button,Lr=Mr===void 0?"button":Mr,Tr=Xn.getNow(),So=Ar(Xn,Pn,Tr),lo=(0,Re.Z)(So,1),Ur=lo[0],Ao=Dt==null?void 0:Dt(Ee),ro=Er(Tr,{type:Ee}),uo=function(){if(!ro){var Fo=Ur(Tr);Gn(Fo)}},ai="".concat(Ir,"-now"),Ko="".concat(ai,"-btn"),Go=Lt&&se.createElement("li",{className:ai},se.createElement("a",{className:Gt()(Ko,ro&&"".concat(Ko,"-disabled")),"aria-disabled":ro,onClick:uo},Xe==="date"?Dr.today:Dr.now)),Wo=hr&&se.createElement("li",{className:"".concat(Ir,"-ok")},se.createElement(Lr,{disabled:sr,onClick:Vn},Dr.ok)),ci=(Go||Wo)&&se.createElement("ul",{className:"".concat(Ir,"-ranges")},Go,Wo);return!Ao&&!ci?null:se.createElement("div",{className:"".concat(Ir,"-footer")},Ao&&se.createElement("div",{className:"".concat(Ir,"-footer-extra")},Ao),ci)}function Br(ie,Ee,Xe){function Dt(Lt,Pn){var Vn=Lt.findIndex(function(sr){return Sn(ie,Ee,sr,Pn,Xe)});if(Vn===-1)return[].concat((0,Wt.Z)(Lt),[Pn]);var Gn=(0,Wt.Z)(Lt);return Gn.splice(Vn,1),Gn}return Dt}var fr=se.createContext(null);function Pr(){return se.useContext(fr)}function kr(ie,Ee){var Xe=ie.prefixCls,Dt=ie.generateConfig,Lt=ie.locale,Pn=ie.disabledDate,Vn=ie.minDate,Gn=ie.maxDate,sr=ie.cellRender,hr=ie.hoverValue,Xn=ie.hoverRangeValue,Er=ie.onHover,Fr=ie.values,Ir=ie.pickerValue,Dr=ie.onSelect,Mr=ie.prevIcon,Lr=ie.nextIcon,Tr=ie.superPrevIcon,So=ie.superNextIcon,lo=Dt.getNow(),Ur={now:lo,values:Fr,pickerValue:Ir,prefixCls:Xe,disabledDate:Pn,minDate:Vn,maxDate:Gn,cellRender:sr,hoverValue:hr,hoverRangeValue:Xn,onHover:Er,locale:Lt,generateConfig:Dt,onSelect:Dr,panelType:Ee,prevIcon:Mr,nextIcon:Lr,superPrevIcon:Tr,superNextIcon:So};return[Ur,lo]}var Jr=se.createContext({});function Xr(ie){for(var Ee=ie.rowNum,Xe=ie.colNum,Dt=ie.baseDate,Lt=ie.getCellDate,Pn=ie.prefixColumn,Vn=ie.rowClassName,Gn=ie.titleFormat,sr=ie.getCellText,hr=ie.getCellClassName,Xn=ie.headerCells,Er=ie.cellSelection,Fr=Er===void 0?!0:Er,Ir=ie.disabledDate,Dr=Pr(),Mr=Dr.prefixCls,Lr=Dr.panelType,Tr=Dr.now,So=Dr.disabledDate,lo=Dr.cellRender,Ur=Dr.onHover,Ao=Dr.hoverValue,ro=Dr.hoverRangeValue,uo=Dr.generateConfig,ai=Dr.values,Ko=Dr.locale,Go=Dr.onSelect,Wo=Ir||So,ci="".concat(Mr,"-cell"),Qo=se.useContext(Jr),Fo=Qo.onCellDblClick,Eo=function(Xo){return ai.some(function(Yo){return Yo&&Sn(uo,Ko,Xo,Yo,Lr)})},Ro=[],No=0;No<Ee;No+=1){for(var vi=[],di=void 0,Uo=function(){var Xo=No*Xe+ei,Yo=Lt(Dt,Xo),pi=Wo==null?void 0:Wo(Yo,{type:Lr});ei===0&&(di=Yo,Pn&&vi.push(Pn(di)));var Bi=!1,Mi=!1,ye=!1;if(Fr&&ro){var ge=(0,Re.Z)(ro,2),at=ge[0],wt=ge[1];Bi=wn(uo,at,wt,Yo),Mi=Sn(uo,Ko,Yo,at,Lr),ye=Sn(uo,Ko,Yo,wt,Lr)}var $t=Gn?Bt(Yo,{locale:Ko,format:Gn,generateConfig:uo}):void 0,an=se.createElement("div",{className:"".concat(ci,"-inner")},sr(Yo));vi.push(se.createElement("td",{key:ei,title:$t,className:Gt()(ci,(0,pe.Z)((0,dn.Z)((0,dn.Z)((0,dn.Z)((0,dn.Z)((0,dn.Z)((0,dn.Z)({},"".concat(ci,"-disabled"),pi),"".concat(ci,"-hover"),(Ao||[]).some(function(An){return Sn(uo,Ko,Yo,An,Lr)})),"".concat(ci,"-in-range"),Bi&&!Mi&&!ye),"".concat(ci,"-range-start"),Mi),"".concat(ci,"-range-end"),ye),"".concat(Mr,"-cell-selected"),!ro&&Lr!=="week"&&Eo(Yo)),hr(Yo))),onClick:function(){pi||Go(Yo)},onDoubleClick:function(){!pi&&Fo&&Fo()},onMouseEnter:function(){pi||Ur==null||Ur(Yo)},onMouseLeave:function(){pi||Ur==null||Ur(null)}},lo?lo(Yo,{prefixCls:Mr,originNode:an,today:Tr,type:Lr,locale:Ko}):an))},ei=0;ei<Xe;ei+=1)Uo();Ro.push(se.createElement("tr",{key:No,className:Vn==null?void 0:Vn(di)},vi))}return se.createElement("div",{className:"".concat(Mr,"-body")},se.createElement("table",{className:"".concat(Mr,"-content")},Xn&&se.createElement("thead",null,se.createElement("tr",null,Xn)),se.createElement("tbody",null,Ro)))}var vo={visibility:"hidden"};function yr(ie){var Ee=ie.offset,Xe=ie.superOffset,Dt=ie.onChange,Lt=ie.getStart,Pn=ie.getEnd,Vn=ie.children,Gn=Pr(),sr=Gn.prefixCls,hr=Gn.prevIcon,Xn=hr===void 0?"\u2039":hr,Er=Gn.nextIcon,Fr=Er===void 0?"\u203A":Er,Ir=Gn.superPrevIcon,Dr=Ir===void 0?"\xAB":Ir,Mr=Gn.superNextIcon,Lr=Mr===void 0?"\xBB":Mr,Tr=Gn.minDate,So=Gn.maxDate,lo=Gn.generateConfig,Ur=Gn.locale,Ao=Gn.pickerValue,ro=Gn.panelType,uo="".concat(sr,"-header"),ai=se.useContext(Jr),Ko=ai.hidePrev,Go=ai.hideNext,Wo=ai.hideHeader,ci=se.useMemo(function(){if(!Tr||!Ee||!Pn)return!1;var Oo=Pn(Ee(-1,Ao));return!vn(lo,Ur,Oo,Tr,ro)},[Tr,Ee,Ao,Pn,lo,Ur,ro]),Qo=se.useMemo(function(){if(!Tr||!Xe||!Pn)return!1;var Oo=Pn(Xe(-1,Ao));return!vn(lo,Ur,Oo,Tr,ro)},[Tr,Xe,Ao,Pn,lo,Ur,ro]),Fo=se.useMemo(function(){if(!So||!Ee||!Lt)return!1;var Oo=Lt(Ee(1,Ao));return!vn(lo,Ur,So,Oo,ro)},[So,Ee,Ao,Lt,lo,Ur,ro]),Eo=se.useMemo(function(){if(!So||!Xe||!Lt)return!1;var Oo=Lt(Xe(1,Ao));return!vn(lo,Ur,So,Oo,ro)},[So,Xe,Ao,Lt,lo,Ur,ro]),Ro=function(Xo){Ee&&Dt(Ee(Xo,Ao))},No=function(Xo){Xe&&Dt(Xe(Xo,Ao))};if(Wo)return null;var vi="".concat(uo,"-prev-btn"),di="".concat(uo,"-next-btn"),Uo="".concat(uo,"-super-prev-btn"),ei="".concat(uo,"-super-next-btn");return se.createElement("div",{className:uo},Xe&&se.createElement("button",{type:"button","aria-label":Ur.previousYear,onClick:function(){return No(-1)},tabIndex:-1,className:Gt()(Uo,Qo&&"".concat(Uo,"-disabled")),disabled:Qo,style:Ko?vo:{}},Dr),Ee&&se.createElement("button",{type:"button","aria-label":Ur.previousMonth,onClick:function(){return Ro(-1)},tabIndex:-1,className:Gt()(vi,ci&&"".concat(vi,"-disabled")),disabled:ci,style:Ko?vo:{}},Xn),se.createElement("div",{className:"".concat(uo,"-view")},Vn),Ee&&se.createElement("button",{type:"button","aria-label":Ur.nextMonth,onClick:function(){return Ro(1)},tabIndex:-1,className:Gt()(di,Fo&&"".concat(di,"-disabled")),disabled:Fo,style:Go?vo:{}},Fr),Xe&&se.createElement("button",{type:"button","aria-label":Ur.nextYear,onClick:function(){return No(1)},tabIndex:-1,className:Gt()(ei,Eo&&"".concat(ei,"-disabled")),disabled:Eo,style:Go?vo:{}},Lr))}var ur=yr;function gr(ie){var Ee=ie.prefixCls,Xe=ie.panelName,Dt=Xe===void 0?"date":Xe,Lt=ie.locale,Pn=ie.generateConfig,Vn=ie.pickerValue,Gn=ie.onPickerValueChange,sr=ie.onModeChange,hr=ie.mode,Xn=hr===void 0?"date":hr,Er=ie.disabledDate,Fr=ie.onSelect,Ir=ie.onHover,Dr=ie.showWeek,Mr="".concat(Ee,"-").concat(Dt,"-panel"),Lr="".concat(Ee,"-cell"),Tr=Xn==="week",So=kr(ie,Xn),lo=(0,Re.Z)(So,2),Ur=lo[0],Ao=lo[1],ro=Pn.locale.getWeekFirstDay(Lt.locale),uo=Pn.setDate(Vn,1),ai=Rn(Lt.locale,Pn,uo),Ko=Pn.getMonth(Vn),Go=Dr===void 0?Tr:Dr,Wo=Go?function(Oo){var Xo=Er==null?void 0:Er(Oo,{type:"week"});return se.createElement("td",{key:"week",className:Gt()(Lr,"".concat(Lr,"-week"),(0,dn.Z)({},"".concat(Lr,"-disabled"),Xo)),onClick:function(){Xo||Fr(Oo)},onMouseEnter:function(){Xo||Ir==null||Ir(Oo)},onMouseLeave:function(){Xo||Ir==null||Ir(null)}},se.createElement("div",{className:"".concat(Lr,"-inner")},Pn.locale.getWeek(Lt.locale,Oo)))}:null,ci=[],Qo=Lt.shortWeekDays||(Pn.locale.getShortWeekDays?Pn.locale.getShortWeekDays(Lt.locale):[]);Wo&&ci.push(se.createElement("th",{key:"empty"},se.createElement("span",{style:{width:0,height:0,position:"absolute",overflow:"hidden",opacity:0}},Lt.week)));for(var Fo=0;Fo<Vt;Fo+=1)ci.push(se.createElement("th",{key:Fo},Qo[(Fo+ro)%Vt]));var Eo=function(Xo,Yo){return Pn.addDate(Xo,Yo)},Ro=function(Xo){return Bt(Xo,{locale:Lt,format:Lt.cellDateFormat,generateConfig:Pn})},No=function(Xo){var Yo=(0,dn.Z)((0,dn.Z)({},"".concat(Ee,"-cell-in-view"),vr(Pn,Xo,Vn)),"".concat(Ee,"-cell-today"),Jn(Pn,Xo,Ao));return Yo},vi=Lt.shortMonths||(Pn.locale.getShortMonths?Pn.locale.getShortMonths(Lt.locale):[]),di=se.createElement("button",{type:"button","aria-label":Lt.yearSelect,key:"year",onClick:function(){sr("year",Vn)},tabIndex:-1,className:"".concat(Ee,"-year-btn")},Bt(Vn,{locale:Lt,format:Lt.yearFormat,generateConfig:Pn})),Uo=se.createElement("button",{type:"button","aria-label":Lt.monthSelect,key:"month",onClick:function(){sr("month",Vn)},tabIndex:-1,className:"".concat(Ee,"-month-btn")},Lt.monthFormat?Bt(Vn,{locale:Lt,format:Lt.monthFormat,generateConfig:Pn}):vi[Ko]),ei=Lt.monthBeforeYear?[Uo,di]:[di,Uo];return se.createElement(fr.Provider,{value:Ur},se.createElement("div",{className:Gt()(Mr,Dr&&"".concat(Mr,"-show-week"))},se.createElement(ur,{offset:function(Xo){return Pn.addMonth(Vn,Xo)},superOffset:function(Xo){return Pn.addYear(Vn,Xo)},onChange:Gn,getStart:function(Xo){return Pn.setDate(Xo,1)},getEnd:function(Xo){var Yo=Pn.setDate(Xo,1);return Yo=Pn.addMonth(Yo,1),Pn.addDate(Yo,-1)}},ei),se.createElement(Xr,(0,Me.Z)({titleFormat:Lt.fieldDateFormat},ie,{colNum:Vt,rowNum:6,baseDate:ai,headerCells:ci,getCellDate:Eo,getCellText:Ro,getCellClassName:No,prefixColumn:Wo,cellSelection:!Tr}))))}var no=z(29194),Kr=1/3;function wr(ie,Ee){var Xe=se.useRef(!1),Dt=se.useRef(null),Lt=se.useRef(null),Pn=function(){return Xe.current},Vn=function(){_n.Z.cancel(Dt.current),Xe.current=!1},Gn=se.useRef(),sr=function(){var Er=ie.current;if(Lt.current=null,Gn.current=0,Er){var Fr=Er.querySelector('[data-value="'.concat(Ee,'"]')),Ir=Er.querySelector("li"),Dr=function Mr(){Vn(),Xe.current=!0,Gn.current+=1;var Lr=Er.scrollTop,Tr=Ir.offsetTop,So=Fr.offsetTop,lo=So-Tr;if(So===0&&Fr!==Ir||!(0,no.Z)(Er)){Gn.current<=5&&(Dt.current=(0,_n.Z)(Mr));return}var Ur=Lr+(lo-Lr)*Kr,Ao=Math.abs(lo-Ur);if(Lt.current!==null&&Lt.current<Ao){Vn();return}if(Lt.current=Ao,Ao<=1){Er.scrollTop=lo,Vn();return}Er.scrollTop=Ur,Dt.current=(0,_n.Z)(Mr)};Fr&&Ir&&Dr()}},hr=(0,Ue.zX)(sr);return[hr,Vn,Pn]}var Rr=300;function mo(ie){return ie.map(function(Ee){var Xe=Ee.value,Dt=Ee.label,Lt=Ee.disabled;return[Xe,Dt,Lt].join(",")}).join(";")}function $r(ie){var Ee=ie.units,Xe=ie.value,Dt=ie.optionalValue,Lt=ie.type,Pn=ie.onChange,Vn=ie.onHover,Gn=ie.onDblClick,sr=ie.changeOnScroll,hr=Pr(),Xn=hr.prefixCls,Er=hr.cellRender,Fr=hr.now,Ir=hr.locale,Dr="".concat(Xn,"-time-panel"),Mr="".concat(Xn,"-time-panel-cell"),Lr=se.useRef(null),Tr=se.useRef(),So=function(){clearTimeout(Tr.current)},lo=wr(Lr,Xe!=null?Xe:Dt),Ur=(0,Re.Z)(lo,3),Ao=Ur[0],ro=Ur[1],uo=Ur[2];(0,Jt.Z)(function(){return Ao(),So(),function(){ro(),So()}},[Xe,Dt,mo(Ee)]);var ai=function(Wo){So();var ci=Wo.target;!uo()&&sr&&(Tr.current=setTimeout(function(){var Qo=Lr.current,Fo=Qo.querySelector("li").offsetTop,Eo=Array.from(Qo.querySelectorAll("li")),Ro=Eo.map(function(ei){return ei.offsetTop-Fo}),No=Ro.map(function(ei,Oo){return Ee[Oo].disabled?Number.MAX_SAFE_INTEGER:Math.abs(ei-ci.scrollTop)}),vi=Math.min.apply(Math,(0,Wt.Z)(No)),di=No.findIndex(function(ei){return ei===vi}),Uo=Ee[di];Uo&&!Uo.disabled&&Pn(Uo.value)},Rr))},Ko="".concat(Dr,"-column");return se.createElement("ul",{className:Ko,ref:Lr,"data-type":Lt,onScroll:ai},Ee.map(function(Go){var Wo=Go.label,ci=Go.value,Qo=Go.disabled,Fo=se.createElement("div",{className:"".concat(Mr,"-inner")},Wo);return se.createElement("li",{key:ci,className:Gt()(Mr,(0,dn.Z)((0,dn.Z)({},"".concat(Mr,"-selected"),Xe===ci),"".concat(Mr,"-disabled"),Qo)),onClick:function(){Qo||Pn(ci)},onDoubleClick:function(){!Qo&&Gn&&Gn()},onMouseEnter:function(){Vn(ci)},onMouseLeave:function(){Vn(null)},"data-value":ci},Er?Er(ci,{prefixCls:Xn,originNode:Fo,today:Fr,type:"time",subType:Lt,locale:Ir}):Fo)}))}function qr(ie){return ie<12}function eo(ie){var Ee=ie.showHour,Xe=ie.showMinute,Dt=ie.showSecond,Lt=ie.showMillisecond,Pn=ie.use12Hours,Vn=ie.changeOnScroll,Gn=Pr(),sr=Gn.prefixCls,hr=Gn.values,Xn=Gn.generateConfig,Er=Gn.locale,Fr=Gn.onSelect,Ir=Gn.onHover,Dr=Ir===void 0?function(){}:Ir,Mr=Gn.pickerValue,Lr=(hr==null?void 0:hr[0])||null,Tr=se.useContext(Jr),So=Tr.onCellDblClick,lo=Ar(Xn,ie,Lr),Ur=(0,Re.Z)(lo,5),Ao=Ur[0],ro=Ur[1],uo=Ur[2],ai=Ur[3],Ko=Ur[4],Go=function(xr){var to=Lr&&Xn[xr](Lr),go=Mr&&Xn[xr](Mr);return[to,go]},Wo=Go("getHour"),ci=(0,Re.Z)(Wo,2),Qo=ci[0],Fo=ci[1],Eo=Go("getMinute"),Ro=(0,Re.Z)(Eo,2),No=Ro[0],vi=Ro[1],di=Go("getSecond"),Uo=(0,Re.Z)(di,2),ei=Uo[0],Oo=Uo[1],Xo=Go("getMillisecond"),Yo=(0,Re.Z)(Xo,2),pi=Yo[0],Bi=Yo[1],Mi=Qo===null?null:qr(Qo)?"am":"pm",ye=se.useMemo(function(){return Pn?qr(Qo)?ro.filter(function(Sr){return qr(Sr.value)}):ro.filter(function(Sr){return!qr(Sr.value)}):ro},[Qo,ro,Pn]),ge=function(xr,to){var go,Do=xr.filter(function(Jo){return!Jo.disabled});return to!=null?to:Do==null||(go=Do[0])===null||go===void 0?void 0:go.value},at=ge(ro,Qo),wt=se.useMemo(function(){return uo(at)},[uo,at]),$t=ge(wt,No),an=se.useMemo(function(){return ai(at,$t)},[ai,at,$t]),An=ge(an,ei),En=se.useMemo(function(){return Ko(at,$t,An)},[Ko,at,$t,An]),Mn=ge(En,pi),Nn=se.useMemo(function(){if(!Pn)return[];var Sr=Xn.getNow(),xr=Xn.setHour(Sr,6),to=Xn.setHour(Sr,18),go=function(Jo,Co){var Fi=Er.cellMeridiemFormat;return Fi?Bt(Jo,{generateConfig:Xn,locale:Er,format:Fi}):Co};return[{label:go(xr,"AM"),value:"am",disabled:ro.every(function(Do){return Do.disabled||!qr(Do.value)})},{label:go(to,"PM"),value:"pm",disabled:ro.every(function(Do){return Do.disabled||qr(Do.value)})}]},[ro,Pn,Xn,Er]),ir=function(xr){var to=Ao(xr);Fr(to)},tr=se.useMemo(function(){var Sr=Lr||Mr||Xn.getNow(),xr=function(go){return go!=null};return xr(Qo)?(Sr=Xn.setHour(Sr,Qo),Sr=Xn.setMinute(Sr,No),Sr=Xn.setSecond(Sr,ei),Sr=Xn.setMillisecond(Sr,pi)):xr(Fo)?(Sr=Xn.setHour(Sr,Fo),Sr=Xn.setMinute(Sr,vi),Sr=Xn.setSecond(Sr,Oo),Sr=Xn.setMillisecond(Sr,Bi)):xr(at)&&(Sr=Xn.setHour(Sr,at),Sr=Xn.setMinute(Sr,$t),Sr=Xn.setSecond(Sr,An),Sr=Xn.setMillisecond(Sr,Mn)),Sr},[Lr,Mr,Qo,No,ei,pi,at,$t,An,Mn,Fo,vi,Oo,Bi,Xn]),Qn=function(xr,to){return xr===null?null:Xn[to](tr,xr)},Kn=function(xr){return Qn(xr,"setHour")},Hn=function(xr){return Qn(xr,"setMinute")},Or=function(xr){return Qn(xr,"setSecond")},cr=function(xr){return Qn(xr,"setMillisecond")},Hr=function(xr){return xr===null?null:xr==="am"&&!qr(Qo)?Xn.setHour(tr,Qo-12):xr==="pm"&&qr(Qo)?Xn.setHour(tr,Qo+12):tr},Nr=function(xr){ir(Kn(xr))},_r=function(xr){ir(Hn(xr))},Wr=function(xr){ir(Or(xr))},Yr=function(xr){ir(cr(xr))},ao=function(xr){ir(Hr(xr))},po=function(xr){Dr(Kn(xr))},xo=function(xr){Dr(Hn(xr))},$o=function(xr){Dr(Or(xr))},Gr=function(xr){Dr(cr(xr))},jr=function(xr){Dr(Hr(xr))},oo={onDblClick:So,changeOnScroll:Vn};return se.createElement("div",{className:"".concat(sr,"-content")},Ee&&se.createElement($r,(0,Me.Z)({units:ye,value:Qo,optionalValue:Fo,type:"hour",onChange:Nr,onHover:po},oo)),Xe&&se.createElement($r,(0,Me.Z)({units:wt,value:No,optionalValue:vi,type:"minute",onChange:_r,onHover:xo},oo)),Dt&&se.createElement($r,(0,Me.Z)({units:an,value:ei,optionalValue:Oo,type:"second",onChange:Wr,onHover:$o},oo)),Lt&&se.createElement($r,(0,Me.Z)({units:En,value:pi,optionalValue:Bi,type:"millisecond",onChange:Yr,onHover:Gr},oo)),Pn&&se.createElement($r,(0,Me.Z)({units:Nn,value:Mi,type:"meridiem",onChange:ao,onHover:jr},oo)))}function ko(ie){var Ee=ie.prefixCls,Xe=ie.value,Dt=ie.locale,Lt=ie.generateConfig,Pn=ie.showTime,Vn=Pn||{},Gn=Vn.format,sr="".concat(Ee,"-time-panel"),hr=kr(ie,"time"),Xn=(0,Re.Z)(hr,1),Er=Xn[0];return se.createElement(fr.Provider,{value:Er},se.createElement("div",{className:Gt()(sr)},se.createElement(ur,null,Xe?Bt(Xe,{locale:Dt,format:Gn,generateConfig:Lt}):"\xA0"),se.createElement(eo,Pn)))}function _o(ie){var Ee=ie.prefixCls,Xe=ie.generateConfig,Dt=ie.showTime,Lt=ie.onSelect,Pn=ie.value,Vn=ie.pickerValue,Gn=ie.onHover,sr="".concat(Ee,"-datetime-panel"),hr=Ar(Xe,Dt),Xn=(0,Re.Z)(hr,1),Er=Xn[0],Fr=function(Lr){return Pn?ln(Xe,Lr,Pn):ln(Xe,Lr,Vn)},Ir=function(Lr){Gn==null||Gn(Lr&&Fr(Lr))},Dr=function(Lr){var Tr=Fr(Lr);Lt(Er(Tr,Tr))};return se.createElement("div",{className:sr},se.createElement(gr,(0,Me.Z)({},ie,{onSelect:Dr,onHover:Ir})),se.createElement(ko,ie))}function qo(ie){var Ee=ie.prefixCls,Xe=ie.locale,Dt=ie.generateConfig,Lt=ie.pickerValue,Pn=ie.disabledDate,Vn=ie.onPickerValueChange,Gn="".concat(Ee,"-decade-panel"),sr=kr(ie,"decade"),hr=(0,Re.Z)(sr,1),Xn=hr[0],Er=function(ro){var uo=Math.floor(Dt.getYear(ro)/100)*100;return Dt.setYear(ro,uo)},Fr=function(ro){var uo=Er(ro);return Dt.addYear(uo,99)},Ir=Er(Lt),Dr=Fr(Lt),Mr=Dt.addYear(Ir,-10),Lr=function(ro,uo){return Dt.addYear(ro,uo*10)},Tr=function(ro){var uo=Xe.cellYearFormat,ai=Bt(ro,{locale:Xe,format:uo,generateConfig:Dt}),Ko=Bt(Dt.addYear(ro,9),{locale:Xe,format:uo,generateConfig:Dt});return"".concat(ai,"-").concat(Ko)},So=function(ro){return(0,dn.Z)({},"".concat(Ee,"-cell-in-view"),un(Dt,ro,Ir)||un(Dt,ro,Dr)||wn(Dt,Ir,Dr,ro))},lo=Pn?function(Ao,ro){var uo=Dt.setDate(Ao,1),ai=Dt.setMonth(uo,0),Ko=Dt.setYear(ai,Math.floor(Dt.getYear(ai)/10)*10),Go=Dt.addYear(Ko,10),Wo=Dt.addDate(Go,-1);return Pn(Ko,ro)&&Pn(Wo,ro)}:null,Ur="".concat(Bt(Ir,{locale:Xe,format:Xe.yearFormat,generateConfig:Dt}),"-").concat(Bt(Dr,{locale:Xe,format:Xe.yearFormat,generateConfig:Dt}));return se.createElement(fr.Provider,{value:Xn},se.createElement("div",{className:Gn},se.createElement(ur,{superOffset:function(ro){return Dt.addYear(Lt,ro*100)},onChange:Vn,getStart:Er,getEnd:Fr},Ur),se.createElement(Xr,(0,Me.Z)({},ie,{disabledDate:lo,colNum:3,rowNum:4,baseDate:Mr,getCellDate:Lr,getCellText:Tr,getCellClassName:So}))))}function Lo(ie){var Ee=ie.prefixCls,Xe=ie.locale,Dt=ie.generateConfig,Lt=ie.pickerValue,Pn=ie.disabledDate,Vn=ie.onPickerValueChange,Gn=ie.onModeChange,sr="".concat(Ee,"-month-panel"),hr=kr(ie,"month"),Xn=(0,Re.Z)(hr,1),Er=Xn[0],Fr=Dt.setMonth(Lt,0),Ir=Xe.shortMonths||(Dt.locale.getShortMonths?Dt.locale.getShortMonths(Xe.locale):[]),Dr=function(Ur,Ao){return Dt.addMonth(Ur,Ao)},Mr=function(Ur){var Ao=Dt.getMonth(Ur);return Xe.monthFormat?Bt(Ur,{locale:Xe,format:Xe.monthFormat,generateConfig:Dt}):Ir[Ao]},Lr=function(){return(0,dn.Z)({},"".concat(Ee,"-cell-in-view"),!0)},Tr=Pn?function(lo,Ur){var Ao=Dt.setDate(lo,1),ro=Dt.setMonth(Ao,Dt.getMonth(Ao)+1),uo=Dt.addDate(ro,-1);return Pn(Ao,Ur)&&Pn(uo,Ur)}:null,So=se.createElement("button",{type:"button",key:"year","aria-label":Xe.yearSelect,onClick:function(){Gn("year")},tabIndex:-1,className:"".concat(Ee,"-year-btn")},Bt(Lt,{locale:Xe,format:Xe.yearFormat,generateConfig:Dt}));return se.createElement(fr.Provider,{value:Er},se.createElement("div",{className:sr},se.createElement(ur,{superOffset:function(Ur){return Dt.addYear(Lt,Ur)},onChange:Vn,getStart:function(Ur){return Dt.setMonth(Ur,0)},getEnd:function(Ur){return Dt.setMonth(Ur,11)}},So),se.createElement(Xr,(0,Me.Z)({},ie,{disabledDate:Tr,titleFormat:Xe.fieldMonthFormat,colNum:3,rowNum:4,baseDate:Fr,getCellDate:Dr,getCellText:Mr,getCellClassName:Lr}))))}function ii(ie){var Ee=ie.prefixCls,Xe=ie.locale,Dt=ie.generateConfig,Lt=ie.pickerValue,Pn=ie.onPickerValueChange,Vn=ie.onModeChange,Gn="".concat(Ee,"-quarter-panel"),sr=kr(ie,"quarter"),hr=(0,Re.Z)(sr,1),Xn=hr[0],Er=Dt.setMonth(Lt,0),Fr=function(Tr,So){return Dt.addMonth(Tr,So*3)},Ir=function(Tr){return Bt(Tr,{locale:Xe,format:Xe.cellQuarterFormat,generateConfig:Dt})},Dr=function(){return(0,dn.Z)({},"".concat(Ee,"-cell-in-view"),!0)},Mr=se.createElement("button",{type:"button",key:"year","aria-label":Xe.yearSelect,onClick:function(){Vn("year")},tabIndex:-1,className:"".concat(Ee,"-year-btn")},Bt(Lt,{locale:Xe,format:Xe.yearFormat,generateConfig:Dt}));return se.createElement(fr.Provider,{value:Xn},se.createElement("div",{className:Gn},se.createElement(ur,{superOffset:function(Tr){return Dt.addYear(Lt,Tr)},onChange:Pn,getStart:function(Tr){return Dt.setMonth(Tr,0)},getEnd:function(Tr){return Dt.setMonth(Tr,11)}},Mr),se.createElement(Xr,(0,Me.Z)({},ie,{titleFormat:Xe.fieldQuarterFormat,colNum:4,rowNum:1,baseDate:Er,getCellDate:Fr,getCellText:Ir,getCellClassName:Dr}))))}function Le(ie){var Ee=ie.prefixCls,Xe=ie.generateConfig,Dt=ie.locale,Lt=ie.value,Pn=ie.hoverValue,Vn=ie.hoverRangeValue,Gn=Dt.locale,sr="".concat(Ee,"-week-panel-row"),hr=function(Er){var Fr={};if(Vn){var Ir=(0,Re.Z)(Vn,2),Dr=Ir[0],Mr=Ir[1],Lr=zt(Xe,Gn,Dr,Er),Tr=zt(Xe,Gn,Mr,Er);Fr["".concat(sr,"-range-start")]=Lr,Fr["".concat(sr,"-range-end")]=Tr,Fr["".concat(sr,"-range-hover")]=!Lr&&!Tr&&wn(Xe,Dr,Mr,Er)}return Pn&&(Fr["".concat(sr,"-hover")]=Pn.some(function(So){return zt(Xe,Gn,Er,So)})),Gt()(sr,(0,dn.Z)({},"".concat(sr,"-selected"),!Vn&&zt(Xe,Gn,Lt,Er)),Fr)};return se.createElement(gr,(0,Me.Z)({},ie,{mode:"week",panelName:"week",rowClassName:hr}))}function nt(ie){var Ee=ie.prefixCls,Xe=ie.locale,Dt=ie.generateConfig,Lt=ie.pickerValue,Pn=ie.disabledDate,Vn=ie.onPickerValueChange,Gn=ie.onModeChange,sr="".concat(Ee,"-year-panel"),hr=kr(ie,"year"),Xn=(0,Re.Z)(hr,1),Er=Xn[0],Fr=function(uo){var ai=Math.floor(Dt.getYear(uo)/10)*10;return Dt.setYear(uo,ai)},Ir=function(uo){var ai=Fr(uo);return Dt.addYear(ai,9)},Dr=Fr(Lt),Mr=Ir(Lt),Lr=Dt.addYear(Dr,-1),Tr=function(uo,ai){return Dt.addYear(uo,ai)},So=function(uo){return Bt(uo,{locale:Xe,format:Xe.cellYearFormat,generateConfig:Dt})},lo=function(uo){return(0,dn.Z)({},"".concat(Ee,"-cell-in-view"),Tn(Dt,uo,Dr)||Tn(Dt,uo,Mr)||wn(Dt,Dr,Mr,uo))},Ur=Pn?function(ro,uo){var ai=Dt.setMonth(ro,0),Ko=Dt.setDate(ai,1),Go=Dt.addYear(Ko,1),Wo=Dt.addDate(Go,-1);return Pn(Ko,uo)&&Pn(Wo,uo)}:null,Ao=se.createElement("button",{type:"button",key:"decade","aria-label":Xe.decadeSelect,onClick:function(){Gn("decade")},tabIndex:-1,className:"".concat(Ee,"-decade-btn")},Bt(Dr,{locale:Xe,format:Xe.yearFormat,generateConfig:Dt}),"-",Bt(Mr,{locale:Xe,format:Xe.yearFormat,generateConfig:Dt}));return se.createElement(fr.Provider,{value:Er},se.createElement("div",{className:sr},se.createElement(ur,{superOffset:function(uo){return Dt.addYear(Lt,uo*10)},onChange:Vn,getStart:Fr,getEnd:Ir},Ao),se.createElement(Xr,(0,Me.Z)({},ie,{disabledDate:Ur,titleFormat:Xe.fieldYearFormat,colNum:3,rowNum:4,baseDate:Lr,getCellDate:Tr,getCellText:So,getCellClassName:lo}))))}var Ot={date:gr,datetime:_o,week:Le,month:Lo,quarter:ii,year:nt,decade:qo,time:ko};function sn(ie,Ee){var Xe,Dt=ie.locale,Lt=ie.generateConfig,Pn=ie.direction,Vn=ie.prefixCls,Gn=ie.tabIndex,sr=Gn===void 0?0:Gn,hr=ie.multiple,Xn=ie.defaultValue,Er=ie.value,Fr=ie.onChange,Ir=ie.onSelect,Dr=ie.defaultPickerValue,Mr=ie.pickerValue,Lr=ie.onPickerValueChange,Tr=ie.mode,So=ie.onPanelChange,lo=ie.picker,Ur=lo===void 0?"date":lo,Ao=ie.showTime,ro=ie.hoverValue,uo=ie.hoverRangeValue,ai=ie.cellRender,Ko=ie.dateRender,Go=ie.monthCellRender,Wo=ie.components,ci=Wo===void 0?{}:Wo,Qo=ie.hideHeader,Fo=((Xe=se.useContext(te))===null||Xe===void 0?void 0:Xe.prefixCls)||Vn||"rc-picker",Eo=se.useRef();se.useImperativeHandle(Ee,function(){return{nativeElement:Eo.current}});var Ro=xn(ie),No=(0,Re.Z)(Ro,4),vi=No[0],di=No[1],Uo=No[2],ei=No[3],Oo=Ht(Dt,di),Xo=Ur==="date"&&Ao?"datetime":Ur,Yo=se.useMemo(function(){return St(Xo,Uo,ei,vi,Oo)},[Xo,Uo,ei,vi,Oo]),pi=Lt.getNow(),Bi=(0,Ue.C8)(Ur,{value:Tr,postState:function(jr){return jr||"date"}}),Mi=(0,Re.Z)(Bi,2),ye=Mi[0],ge=Mi[1],at=ye==="date"&&Yo?"datetime":ye,wt=Br(Lt,Dt,Xo),$t=(0,Ue.C8)(Xn,{value:Er}),an=(0,Re.Z)($t,2),An=an[0],En=an[1],Mn=se.useMemo(function(){var Gr=Pe(An).filter(function(jr){return jr});return hr?Gr:Gr.slice(0,1)},[An,hr]),Nn=(0,Ue.zX)(function(Gr){En(Gr),Fr&&(Gr===null||Mn.length!==Gr.length||Mn.some(function(jr,oo){return!Sn(Lt,Dt,jr,Gr[oo],Xo)}))&&(Fr==null||Fr(hr?Gr:Gr[0]))}),ir=(0,Ue.zX)(function(Gr){if(Ir==null||Ir(Gr),ye===Ur){var jr=hr?wt(Mn,Gr):[Gr];Nn(jr)}}),tr=(0,Ue.C8)(Dr||Mn[0]||pi,{value:Mr}),Qn=(0,Re.Z)(tr,2),Kn=Qn[0],Hn=Qn[1];se.useEffect(function(){Mn[0]&&!Mr&&Hn(Mn[0])},[Mn[0]]);var Or=function(jr,oo){So==null||So(jr||Mr,oo||ye)},cr=function(jr){var oo=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;Hn(jr),Lr==null||Lr(jr),oo&&Or(jr)},Hr=function(jr,oo){ge(jr),oo&&cr(oo),Or(oo,jr)},Nr=function(jr){if(ir(jr),cr(jr),ye!==Ur){var oo=["decade","year"],Sr=[].concat(oo,["month"]),xr={quarter:[].concat(oo,["quarter"]),week:[].concat((0,Wt.Z)(Sr),["week"]),date:[].concat((0,Wt.Z)(Sr),["date"])},to=xr[Ur]||Sr,go=to.indexOf(ye),Do=to[go+1];Do&&Hr(Do,jr)}},_r=se.useMemo(function(){var Gr,jr;if(Array.isArray(uo)){var oo=(0,Re.Z)(uo,2);Gr=oo[0],jr=oo[1]}else Gr=uo;return!Gr&&!jr?null:(Gr=Gr||jr,jr=jr||Gr,Lt.isAfter(Gr,jr)?[jr,Gr]:[Gr,jr])},[uo,Lt]),Wr=Rt(ai,Ko,Go),Yr=ci[at]||Ot[at]||gr,ao=se.useContext(Jr),po=se.useMemo(function(){return(0,pe.Z)((0,pe.Z)({},ao),{},{hideHeader:Qo})},[ao,Qo]),xo="".concat(Fo,"-panel"),$o=$e(ie,["showWeek","prevIcon","nextIcon","superPrevIcon","superNextIcon","disabledDate","minDate","maxDate","onHover"]);return se.createElement(Jr.Provider,{value:po},se.createElement("div",{ref:Eo,tabIndex:sr,className:Gt()(xo,(0,dn.Z)({},"".concat(xo,"-rtl"),Pn==="rtl"))},se.createElement(Yr,(0,Me.Z)({},$o,{showTime:Yo,prefixCls:Fo,locale:Oo,generateConfig:Lt,onModeChange:Hr,pickerValue:Kn,onPickerValueChange:function(jr){cr(jr,!0)},value:Mn[0],onSelect:Nr,values:Mn,cellRender:Wr,hoverRangeValue:_r,hoverValue:ro}))))}var hn=se.memo(se.forwardRef(sn)),Tt=hn;function it(ie){var Ee=ie.picker,Xe=ie.multiplePanel,Dt=ie.pickerValue,Lt=ie.onPickerValueChange,Pn=ie.needConfirm,Vn=ie.onSubmit,Gn=ie.range,sr=ie.hoverValue,hr=se.useContext(te),Xn=hr.prefixCls,Er=hr.generateConfig,Fr=se.useCallback(function(So,lo){return yt(Er,Ee,So,lo)},[Er,Ee]),Ir=se.useMemo(function(){return Fr(Dt,1)},[Dt,Fr]),Dr=function(lo){Lt(Fr(lo,-1))},Mr={onCellDblClick:function(){Pn&&Vn()}},Lr=Ee==="time",Tr=(0,pe.Z)((0,pe.Z)({},ie),{},{hoverValue:null,hoverRangeValue:null,hideHeader:Lr});return Gn?Tr.hoverRangeValue=sr:Tr.hoverValue=sr,Xe?se.createElement("div",{className:"".concat(Xn,"-panels")},se.createElement(Jr.Provider,{value:(0,pe.Z)((0,pe.Z)({},Mr),{},{hideNext:!0})},se.createElement(Tt,Tr)),se.createElement(Jr.Provider,{value:(0,pe.Z)((0,pe.Z)({},Mr),{},{hidePrev:!0})},se.createElement(Tt,(0,Me.Z)({},Tr,{pickerValue:Ir,onPickerValueChange:Dr})))):se.createElement(Jr.Provider,{value:(0,pe.Z)({},Mr)},se.createElement(Tt,Tr))}function Ft(ie){return typeof ie=="function"?ie():ie}function en(ie){var Ee=ie.prefixCls,Xe=ie.presets,Dt=ie.onClick,Lt=ie.onHover;return Xe.length?se.createElement("div",{className:"".concat(Ee,"-presets")},se.createElement("ul",null,Xe.map(function(Pn,Vn){var Gn=Pn.label,sr=Pn.value;return se.createElement("li",{key:Vn,onClick:function(){Dt(Ft(sr))},onMouseEnter:function(){Lt(Ft(sr))},onMouseLeave:function(){Lt(null)}},Gn)}))):null}function On(ie){var Ee=ie.panelRender,Xe=ie.internalMode,Dt=ie.picker,Lt=ie.showNow,Pn=ie.range,Vn=ie.multiple,Gn=ie.activeInfo,sr=Gn===void 0?[0,0,0]:Gn,hr=ie.presets,Xn=ie.onPresetHover,Er=ie.onPresetSubmit,Fr=ie.onFocus,Ir=ie.onBlur,Dr=ie.onPanelMouseDown,Mr=ie.direction,Lr=ie.value,Tr=ie.onSelect,So=ie.isInvalid,lo=ie.defaultOpenValue,Ur=ie.onOk,Ao=ie.onSubmit,ro=se.useContext(te),uo=ro.prefixCls,ai="".concat(uo,"-panel"),Ko=Mr==="rtl",Go=se.useRef(null),Wo=se.useRef(null),ci=se.useState(0),Qo=(0,Re.Z)(ci,2),Fo=Qo[0],Eo=Qo[1],Ro=se.useState(0),No=(0,Re.Z)(Ro,2),vi=No[0],di=No[1],Uo=se.useState(0),ei=(0,Re.Z)(Uo,2),Oo=ei[0],Xo=ei[1],Yo=function(Nr){Nr.width&&Eo(Nr.width)},pi=(0,Re.Z)(sr,3),Bi=pi[0],Mi=pi[1],ye=pi[2],ge=se.useState(0),at=(0,Re.Z)(ge,2),wt=at[0],$t=at[1];se.useEffect(function(){$t(10)},[Bi]),se.useEffect(function(){if(Pn&&Wo.current){var Hr,Nr=((Hr=Go.current)===null||Hr===void 0?void 0:Hr.offsetWidth)||0,_r=Wo.current.getBoundingClientRect();if(!_r.height||_r.right<0){$t(function(po){return Math.max(0,po-1)});return}var Wr=(Ko?Mi-Nr:Bi)-_r.left;if(Xo(Wr),Fo&&Fo<ye){var Yr=Ko?_r.right-(Mi-Nr+Fo):Bi+Nr-_r.left-Fo,ao=Math.max(0,Yr);di(ao)}else di(0)}},[wt,Ko,Fo,Bi,Mi,ye,Pn]);function an(Hr){return Hr.filter(function(Nr){return Nr})}var An=se.useMemo(function(){return an(Pe(Lr))},[Lr]),En=Dt==="time"&&!An.length,Mn=se.useMemo(function(){return En?an([lo]):An},[En,An,lo]),Nn=En?lo:An,ir=se.useMemo(function(){return Mn.length?Mn.some(function(Hr){return So(Hr)}):!0},[Mn,So]),tr=function(){En&&Tr(lo),Ur(),Ao()},Qn=se.createElement("div",{className:"".concat(uo,"-panel-layout")},se.createElement(en,{prefixCls:uo,presets:hr,onClick:Er,onHover:Xn}),se.createElement("div",null,se.createElement(it,(0,Me.Z)({},ie,{value:Nn})),se.createElement(Vr,(0,Me.Z)({},ie,{showNow:Vn?!1:Lt,invalid:ir,onSubmit:tr}))));Ee&&(Qn=Ee(Qn));var Kn="".concat(ai,"-container"),Hn="marginLeft",Or="marginRight",cr=se.createElement("div",{onMouseDown:Dr,tabIndex:-1,className:Gt()(Kn,"".concat(uo,"-").concat(Xe,"-panel-container")),style:(0,dn.Z)((0,dn.Z)({},Ko?Or:Hn,vi),Ko?Hn:Or,"auto"),onFocus:Fr,onBlur:Ir},Qn);return Pn&&(cr=se.createElement("div",{onMouseDown:Dr,ref:Wo,className:Gt()("".concat(uo,"-range-wrapper"),"".concat(uo,"-").concat(Dt,"-range-wrapper"))},se.createElement("div",{ref:Go,className:"".concat(uo,"-range-arrow"),style:{left:Oo}}),se.createElement(Zn.Z,{onResize:Yo},cr))),cr}var Wn=z(42244);function Dn(ie,Ee){var Xe=ie.format,Dt=ie.maskFormat,Lt=ie.generateConfig,Pn=ie.locale,Vn=ie.preserveInvalidOnBlur,Gn=ie.inputReadOnly,sr=ie.required,hr=ie["aria-required"],Xn=ie.onSubmit,Er=ie.onFocus,Fr=ie.onBlur,Ir=ie.onInputChange,Dr=ie.onInvalid,Mr=ie.open,Lr=ie.onOpenChange,Tr=ie.onKeyDown,So=ie.onChange,lo=ie.activeHelp,Ur=ie.name,Ao=ie.autoComplete,ro=ie.id,uo=ie.value,ai=ie.invalid,Ko=ie.placeholder,Go=ie.disabled,Wo=ie.activeIndex,ci=ie.allHelp,Qo=ie.picker,Fo=function(Oo,Xo){var Yo=Lt.locale.parse(Pn.locale,Oo,[Xo]);return Yo&&Lt.isValidate(Yo)?Yo:null},Eo=Xe[0],Ro=se.useCallback(function(ei){return Bt(ei,{locale:Pn,format:Eo,generateConfig:Lt})},[Pn,Lt,Eo]),No=se.useMemo(function(){return uo.map(Ro)},[uo,Ro]),vi=se.useMemo(function(){var ei=Qo==="time"?8:10,Oo=typeof Eo=="function"?Eo(Lt.getNow()).length:Eo.length;return Math.max(ei,Oo)+2},[Eo,Qo,Lt]),di=function(Oo){for(var Xo=0;Xo<Xe.length;Xo+=1){var Yo=Xe[Xo];if(typeof Yo=="string"){var pi=Fo(Oo,Yo);if(pi)return pi}}return!1},Uo=function(Oo){function Xo(Bi){return Oo!==void 0?Bi[Oo]:Bi}var Yo=(0,jt.Z)(ie,{aria:!0,data:!0}),pi=(0,pe.Z)((0,pe.Z)({},Yo),{},{format:Dt,validateFormat:function(Mi){return!!di(Mi)},preserveInvalidOnBlur:Vn,readOnly:Gn,required:sr,"aria-required":hr,name:Ur,autoComplete:Ao,size:vi,id:Xo(ro),value:Xo(No)||"",invalid:Xo(ai),placeholder:Xo(Ko),active:Wo===Oo,helped:ci||lo&&Wo===Oo,disabled:Xo(Go),onFocus:function(Mi){Er(Mi,Oo)},onBlur:function(Mi){Fr(Mi,Oo)},onSubmit:Xn,onChange:function(Mi){Ir();var ye=di(Mi);if(ye){Dr(!1,Oo),So(ye,Oo);return}Dr(!!Mi,Oo)},onHelp:function(){Lr(!0,{index:Oo})},onKeyDown:function(Mi){var ye=!1;if(Tr==null||Tr(Mi,function(){ye=!0}),!Mi.defaultPrevented&&!ye)switch(Mi.key){case"Escape":Lr(!1,{index:Oo});break;case"Enter":Mr||Lr(!0);break}}},Ee==null?void 0:Ee({valueTexts:No}));return Object.keys(pi).forEach(function(Bi){pi[Bi]===void 0&&delete pi[Bi]}),pi};return[Uo,Ro]}var jn=["onMouseEnter","onMouseLeave"];function $n(ie){return se.useMemo(function(){return $e(ie,jn)},[ie])}var Cr=["icon","type"],br=["onClear"];function zr(ie){var Ee=ie.icon,Xe=ie.type,Dt=(0,Wn.Z)(ie,Cr),Lt=se.useContext(te),Pn=Lt.prefixCls;return Ee?se.createElement("span",(0,Me.Z)({className:"".concat(Pn,"-").concat(Xe)},Dt),Ee):null}function Qr(ie){var Ee=ie.onClear,Xe=(0,Wn.Z)(ie,br);return se.createElement(zr,(0,Me.Z)({},Xe,{type:"clear",role:"button",onMouseDown:function(Lt){Lt.preventDefault()},onClick:function(Lt){Lt.stopPropagation(),Ee()}}))}var yo=z(38705),io=z(17212),Io=["YYYY","MM","DD","HH","mm","ss","SSS"],co="\u9867",fo=function(){function ie(Ee){(0,yo.Z)(this,ie),(0,dn.Z)(this,"format",void 0),(0,dn.Z)(this,"maskFormat",void 0),(0,dn.Z)(this,"cells",void 0),(0,dn.Z)(this,"maskCells",void 0),this.format=Ee;var Xe=Io.map(function(Gn){return"(".concat(Gn,")")}).join("|"),Dt=new RegExp(Xe,"g");this.maskFormat=Ee.replace(Dt,function(Gn){return co.repeat(Gn.length)});var Lt=new RegExp("(".concat(Io.join("|"),")")),Pn=(Ee.split(Lt)||[]).filter(function(Gn){return Gn}),Vn=0;this.cells=Pn.map(function(Gn){var sr=Io.includes(Gn),hr=Vn,Xn=Vn+Gn.length;return Vn=Xn,{text:Gn,mask:sr,start:hr,end:Xn}}),this.maskCells=this.cells.filter(function(Gn){return Gn.mask})}return(0,io.Z)(ie,[{key:"getSelection",value:function(Xe){var Dt=this.maskCells[Xe]||{},Lt=Dt.start,Pn=Dt.end;return[Lt||0,Pn||0]}},{key:"match",value:function(Xe){for(var Dt=0;Dt<this.maskFormat.length;Dt+=1){var Lt=this.maskFormat[Dt],Pn=Xe[Dt];if(!Pn||Lt!==co&&Lt!==Pn)return!1}return!0}},{key:"size",value:function(){return this.maskCells.length}},{key:"getMaskCellIndex",value:function(Xe){for(var Dt=Number.MAX_SAFE_INTEGER,Lt=0,Pn=0;Pn<this.maskCells.length;Pn+=1){var Vn=this.maskCells[Pn],Gn=Vn.start,sr=Vn.end;if(Xe>=Gn&&Xe<=sr)return Pn;var hr=Math.min(Math.abs(Xe-Gn),Math.abs(Xe-sr));hr<Dt&&(Dt=hr,Lt=Pn)}return Lt}}]),ie}();function bo(ie){var Ee={YYYY:[0,9999,new Date().getFullYear()],MM:[1,12],DD:[1,31],HH:[0,23],mm:[0,59],ss:[0,59],SSS:[0,999]};return Ee[ie]}var Bo=["active","showActiveCls","suffixIcon","format","validateFormat","onChange","onInput","helped","onHelp","onSubmit","onKeyDown","preserveInvalidOnBlur","invalid","clearIcon"],ri=se.forwardRef(function(ie,Ee){var Xe=ie.active,Dt=ie.showActiveCls,Lt=Dt===void 0?!0:Dt,Pn=ie.suffixIcon,Vn=ie.format,Gn=ie.validateFormat,sr=ie.onChange,hr=ie.onInput,Xn=ie.helped,Er=ie.onHelp,Fr=ie.onSubmit,Ir=ie.onKeyDown,Dr=ie.preserveInvalidOnBlur,Mr=Dr===void 0?!1:Dr,Lr=ie.invalid,Tr=ie.clearIcon,So=(0,Wn.Z)(ie,Bo),lo=ie.value,Ur=ie.onFocus,Ao=ie.onBlur,ro=ie.onMouseUp,uo=se.useContext(te),ai=uo.prefixCls,Ko=uo.input,Go=Ko===void 0?"input":Ko,Wo="".concat(ai,"-input"),ci=se.useState(!1),Qo=(0,Re.Z)(ci,2),Fo=Qo[0],Eo=Qo[1],Ro=se.useState(lo),No=(0,Re.Z)(Ro,2),vi=No[0],di=No[1],Uo=se.useState(""),ei=(0,Re.Z)(Uo,2),Oo=ei[0],Xo=ei[1],Yo=se.useState(null),pi=(0,Re.Z)(Yo,2),Bi=pi[0],Mi=pi[1],ye=se.useState(null),ge=(0,Re.Z)(ye,2),at=ge[0],wt=ge[1],$t=vi||"";se.useEffect(function(){di(lo)},[lo]);var an=se.useRef(),An=se.useRef();se.useImperativeHandle(Ee,function(){return{nativeElement:an.current,inputElement:An.current,focus:function(jr){An.current.focus(jr)},blur:function(){An.current.blur()}}});var En=se.useMemo(function(){return new fo(Vn||"")},[Vn]),Mn=se.useMemo(function(){return Xn?[0,0]:En.getSelection(Bi)},[En,Bi,Xn]),Nn=(0,Re.Z)(Mn,2),ir=Nn[0],tr=Nn[1],Qn=function(jr){jr&&jr!==Vn&&jr!==lo&&Er()},Kn=(0,Ue.zX)(function(Gr){Gn(Gr)&&sr(Gr),di(Gr),Qn(Gr)}),Hn=function(jr){if(!Vn){var oo=jr.target.value;Qn(oo),di(oo),sr(oo)}},Or=function(jr){var oo=jr.clipboardData.getData("text");Gn(oo)&&Kn(oo)},cr=se.useRef(!1),Hr=function(){cr.current=!0},Nr=function(jr){var oo=jr.target,Sr=oo.selectionStart,xr=En.getMaskCellIndex(Sr);Mi(xr),wt({}),ro==null||ro(jr),cr.current=!1},_r=function(jr){Eo(!0),Mi(0),Xo(""),Ur(jr)},Wr=function(jr){Ao(jr)},Yr=function(jr){Eo(!1),Wr(jr)};It(Xe,function(){!Xe&&!Mr&&di(lo)});var ao=function(jr){jr.key==="Enter"&&Gn($t)&&Fr(),Ir==null||Ir(jr)},po=function(jr){ao(jr);var oo=jr.key,Sr=null,xr=null,to=tr-ir,go=Vn.slice(ir,tr),Do=function(wi){Mi(function(ca){var $i=ca+wi;return $i=Math.max($i,0),$i=Math.min($i,En.size()-1),$i})},Jo=function(wi){var ca=bo(go),$i=(0,Re.Z)(ca,3),ia=$i[0],ma=$i[1],ga=$i[2],Ti=$t.slice(ir,tr),ki=Number(Ti);if(isNaN(ki))return String(ga||(wi>0?ia:ma));var Ia=ki+wi,Na=ma-ia+1;return String(ia+(Na+Ia-ia)%Na)};switch(oo){case"Backspace":case"Delete":Sr="",xr=go;break;case"ArrowLeft":Sr="",Do(-1);break;case"ArrowRight":Sr="",Do(1);break;case"ArrowUp":Sr="",xr=Jo(1);break;case"ArrowDown":Sr="",xr=Jo(-1);break;default:isNaN(Number(oo))||(Sr=Oo+oo,xr=Sr);break}if(Sr!==null&&(Xo(Sr),Sr.length>=to&&(Do(1),Xo(""))),xr!==null){var Co=$t.slice(0,ir)+ce(xr,to)+$t.slice(tr);Kn(Co.slice(0,Vn.length))}wt({})},xo=se.useRef();(0,Jt.Z)(function(){if(!(!Fo||!Vn||cr.current)){if(!En.match($t)){Kn(Vn);return}return An.current.setSelectionRange(ir,tr),xo.current=(0,_n.Z)(function(){An.current.setSelectionRange(ir,tr)}),function(){_n.Z.cancel(xo.current)}}},[En,Vn,Fo,$t,Bi,ir,tr,at,Kn]);var $o=Vn?{onFocus:_r,onBlur:Yr,onKeyDown:po,onMouseDown:Hr,onMouseUp:Nr,onPaste:Or}:{};return se.createElement("div",{ref:an,className:Gt()(Wo,(0,dn.Z)((0,dn.Z)({},"".concat(Wo,"-active"),Xe&&Lt),"".concat(Wo,"-placeholder"),Xn))},se.createElement(Go,(0,Me.Z)({ref:An,"aria-invalid":Lr,autoComplete:"off"},So,{onKeyDown:ao,onBlur:Wr},$o,{value:$t,onChange:Hn})),se.createElement(zr,{type:"suffix",icon:Pn}),Tr)}),Si=ri,bi=["id","prefix","clearIcon","suffixIcon","separator","activeIndex","activeHelp","allHelp","focused","onFocus","onBlur","onKeyDown","locale","generateConfig","placeholder","className","style","onClick","onClear","value","onChange","onSubmit","onInputChange","format","maskFormat","preserveInvalidOnBlur","onInvalid","disabled","invalid","inputReadOnly","direction","onOpenChange","onActiveInfo","placement","onMouseDown","required","aria-required","autoFocus","tabIndex"],Ki=["index"];function zo(ie,Ee){var Xe=ie.id,Dt=ie.prefix,Lt=ie.clearIcon,Pn=ie.suffixIcon,Vn=ie.separator,Gn=Vn===void 0?"~":Vn,sr=ie.activeIndex,hr=ie.activeHelp,Xn=ie.allHelp,Er=ie.focused,Fr=ie.onFocus,Ir=ie.onBlur,Dr=ie.onKeyDown,Mr=ie.locale,Lr=ie.generateConfig,Tr=ie.placeholder,So=ie.className,lo=ie.style,Ur=ie.onClick,Ao=ie.onClear,ro=ie.value,uo=ie.onChange,ai=ie.onSubmit,Ko=ie.onInputChange,Go=ie.format,Wo=ie.maskFormat,ci=ie.preserveInvalidOnBlur,Qo=ie.onInvalid,Fo=ie.disabled,Eo=ie.invalid,Ro=ie.inputReadOnly,No=ie.direction,vi=ie.onOpenChange,di=ie.onActiveInfo,Uo=ie.placement,ei=ie.onMouseDown,Oo=ie.required,Xo=ie["aria-required"],Yo=ie.autoFocus,pi=ie.tabIndex,Bi=(0,Wn.Z)(ie,bi),Mi=No==="rtl",ye=se.useContext(te),ge=ye.prefixCls,at=se.useMemo(function(){if(typeof Xe=="string")return[Xe];var Wr=Xe||{};return[Wr.start,Wr.end]},[Xe]),wt=se.useRef(),$t=se.useRef(),an=se.useRef(),An=function(Yr){var ao;return(ao=[$t,an][Yr])===null||ao===void 0?void 0:ao.current};se.useImperativeHandle(Ee,function(){return{nativeElement:wt.current,focus:function(Yr){if((0,bn.Z)(Yr)==="object"){var ao,po=Yr||{},xo=po.index,$o=xo===void 0?0:xo,Gr=(0,Wn.Z)(po,Ki);(ao=An($o))===null||ao===void 0||ao.focus(Gr)}else{var jr;(jr=An(Yr!=null?Yr:0))===null||jr===void 0||jr.focus()}},blur:function(){var Yr,ao;(Yr=An(0))===null||Yr===void 0||Yr.blur(),(ao=An(1))===null||ao===void 0||ao.blur()}}});var En=$n(Bi),Mn=se.useMemo(function(){return Array.isArray(Tr)?Tr:[Tr,Tr]},[Tr]),Nn=Dn((0,pe.Z)((0,pe.Z)({},ie),{},{id:at,placeholder:Mn})),ir=(0,Re.Z)(Nn,1),tr=ir[0],Qn=se.useState({position:"absolute",width:0}),Kn=(0,Re.Z)(Qn,2),Hn=Kn[0],Or=Kn[1],cr=(0,Ue.zX)(function(){var Wr=An(sr);if(Wr){var Yr=Wr.nativeElement.getBoundingClientRect(),ao=wt.current.getBoundingClientRect(),po=Yr.left-ao.left;Or(function(xo){return(0,pe.Z)((0,pe.Z)({},xo),{},{width:Yr.width,left:po})}),di([Yr.left,Yr.right,ao.width])}});se.useEffect(function(){cr()},[sr]);var Hr=Lt&&(ro[0]&&!Fo[0]||ro[1]&&!Fo[1]),Nr=Yo&&!Fo[0],_r=Yo&&!Nr&&!Fo[1];return se.createElement(Zn.Z,{onResize:cr},se.createElement("div",(0,Me.Z)({},En,{className:Gt()(ge,"".concat(ge,"-range"),(0,dn.Z)((0,dn.Z)((0,dn.Z)((0,dn.Z)({},"".concat(ge,"-focused"),Er),"".concat(ge,"-disabled"),Fo.every(function(Wr){return Wr})),"".concat(ge,"-invalid"),Eo.some(function(Wr){return Wr})),"".concat(ge,"-rtl"),Mi),So),style:lo,ref:wt,onClick:Ur,onMouseDown:function(Yr){var ao=Yr.target;ao!==$t.current.inputElement&&ao!==an.current.inputElement&&Yr.preventDefault(),ei==null||ei(Yr)}}),Dt&&se.createElement("div",{className:"".concat(ge,"-prefix")},Dt),se.createElement(Si,(0,Me.Z)({ref:$t},tr(0),{autoFocus:Nr,tabIndex:pi,"date-range":"start"})),se.createElement("div",{className:"".concat(ge,"-range-separator")},Gn),se.createElement(Si,(0,Me.Z)({ref:an},tr(1),{autoFocus:_r,tabIndex:pi,"date-range":"end"})),se.createElement("div",{className:"".concat(ge,"-active-bar"),style:Hn}),se.createElement(zr,{type:"suffix",icon:Pn}),Hr&&se.createElement(Qr,{icon:Lt,onClear:Ao})))}var Mo=se.forwardRef(zo),zi=Mo;function Wi(ie,Ee){var Xe=ie!=null?ie:Ee;return Array.isArray(Xe)?Xe:[Xe,Xe]}function Xi(ie){return ie===1?"end":"start"}function za(ie,Ee){var Xe=rr(ie,function(){var ra=ie.disabled,Zi=ie.allowEmpty,Zo=Wi(ra,!1),yi=Wi(Zi,!1);return{disabled:Zo,allowEmpty:yi}}),Dt=(0,Re.Z)(Xe,6),Lt=Dt[0],Pn=Dt[1],Vn=Dt[2],Gn=Dt[3],sr=Dt[4],hr=Dt[5],Xn=Lt.prefixCls,Er=Lt.styles,Fr=Lt.classNames,Ir=Lt.defaultValue,Dr=Lt.value,Mr=Lt.needConfirm,Lr=Lt.onKeyDown,Tr=Lt.disabled,So=Lt.allowEmpty,lo=Lt.disabledDate,Ur=Lt.minDate,Ao=Lt.maxDate,ro=Lt.defaultOpen,uo=Lt.open,ai=Lt.onOpenChange,Ko=Lt.locale,Go=Lt.generateConfig,Wo=Lt.picker,ci=Lt.showNow,Qo=Lt.showToday,Fo=Lt.showTime,Eo=Lt.mode,Ro=Lt.onPanelChange,No=Lt.onCalendarChange,vi=Lt.onOk,di=Lt.defaultPickerValue,Uo=Lt.pickerValue,ei=Lt.onPickerValueChange,Oo=Lt.inputReadOnly,Xo=Lt.suffixIcon,Yo=Lt.onFocus,pi=Lt.onBlur,Bi=Lt.presets,Mi=Lt.ranges,ye=Lt.components,ge=Lt.cellRender,at=Lt.dateRender,wt=Lt.monthCellRender,$t=Lt.onClick,an=nn(Ee),An=Fn(uo,ro,Tr,ai),En=(0,Re.Z)(An,2),Mn=En[0],Nn=En[1],ir=function(Zi,Zo){(Tr.some(function(yi){return!yi})||!Zi)&&Nn(Zi,Zo)},tr=Pt(Go,Ko,Gn,!0,!1,Ir,Dr,No,vi),Qn=(0,Re.Z)(tr,5),Kn=Qn[0],Hn=Qn[1],Or=Qn[2],cr=Qn[3],Hr=Qn[4],Nr=Or(),_r=Qt(Tr,So,Mn),Wr=(0,Re.Z)(_r,9),Yr=Wr[0],ao=Wr[1],po=Wr[2],xo=Wr[3],$o=Wr[4],Gr=Wr[5],jr=Wr[6],oo=Wr[7],Sr=Wr[8],xr=function(Zi,Zo){ao(!0),Yo==null||Yo(Zi,{range:Xi(Zo!=null?Zo:xo)})},to=function(Zi,Zo){ao(!1),pi==null||pi(Zi,{range:Xi(Zo!=null?Zo:xo)})},go=se.useMemo(function(){if(!Fo)return null;var ra=Fo.disabledTime,Zi=ra?function(Zo){var yi=Xi(xo),Yi=ht(Nr,jr,xo);return ra(Zo,yi,{from:Yi})}:void 0;return(0,pe.Z)((0,pe.Z)({},Fo),{},{disabledTime:Zi})},[Fo,xo,Nr,jr]),Do=(0,Ue.C8)([Wo,Wo],{value:Eo}),Jo=(0,Re.Z)(Do,2),Co=Jo[0],Fi=Jo[1],wi=Co[xo]||Wo,ca=wi==="date"&&go?"datetime":wi,$i=ca===Wo&&ca!=="time",ia=In(Wo,wi,ci,Qo,!0),ma=Kt(Lt,Kn,Hn,Or,cr,Tr,Gn,Yr,Mn,hr),ga=(0,Re.Z)(ma,2),Ti=ga[0],ki=ga[1],Ia=ze(Nr,Tr,jr,Go,Ko,lo),Na=Te(Nr,hr,So),oi=(0,Re.Z)(Na,2),Ai=oi[0],ti=oi[1],Ho=Ct(Go,Ko,Nr,Co,Mn,xo,Pn,$i,di,Uo,go==null?void 0:go.defaultOpenValue,ei,Ur,Ao),ji=(0,Re.Z)(Ho,2),Ji=ji[0],ya=ji[1],qi=(0,Ue.zX)(function(ra,Zi,Zo){var yi=lt(Co,xo,Zi);if((yi[0]!==Co[0]||yi[1]!==Co[1])&&Fi(yi),Ro&&Zo!==!1){var Yi=(0,Wt.Z)(Nr);ra&&(Yi[xo]=ra),Ro(Yi,yi)}}),ka=function(Zi,Zo){return lt(Nr,Zo,Zi)},Sa=function(Zi,Zo){var yi=Nr;Zi&&(yi=ka(Zi,xo)),oo(xo);var Yi=Gr(yi);cr(yi),Ti(xo,Yi===null),Yi===null?ir(!1,{force:!0}):Zo||an.current.focus({index:Yi})},ui=function(Zi){var Zo,yi=Zi.target.getRootNode();if(!an.current.nativeElement.contains((Zo=yi.activeElement)!==null&&Zo!==void 0?Zo:document.activeElement)){var Yi=Tr.findIndex(function(Ua){return!Ua});Yi>=0&&an.current.focus({index:Yi})}ir(!0),$t==null||$t(Zi)},gi=function(){ki(null),ir(!1,{force:!0})},ea=se.useState(null),aa=(0,Re.Z)(ea,2),la=aa[0],Wa=aa[1],ba=se.useState(null),il=(0,Re.Z)(ba,2),va=il[0],Vi=il[1],ha=se.useMemo(function(){return va||Nr},[Nr,va]);se.useEffect(function(){Mn||Vi(null)},[Mn]);var Ca=se.useState([0,0,0]),Ha=(0,Re.Z)(Ca,2),La=Ha[0],Gi=Ha[1],Aa=er(Bi,Mi),na=function(Zi){Vi(Zi),Wa("preset")},al=function(Zi){var Zo=ki(Zi);Zo&&ir(!1,{force:!0})},ja=function(Zi){Sa(Zi)},dl=function(Zi){Vi(Zi?ka(Zi,xo):null),Wa("cell")},pl=function(Zi){ir(!0),xr(Zi)},zl=function(){po("panel")},xa=function(Zi){var Zo=lt(Nr,xo,Zi);cr(Zo),!Mr&&!Vn&&Pn===ca&&Sa(Zi)},cs=function(){ir(!1)},fl=Rt(ge,at,wt,Xi(xo)),Ll=Nr[xo]||null,Pl=(0,Ue.zX)(function(ra){return hr(ra,{activeIndex:xo})}),Di=se.useMemo(function(){var ra=(0,jt.Z)(Lt,!1),Zi=(0,et.Z)(Lt,[].concat((0,Wt.Z)(Object.keys(ra)),["onChange","onCalendarChange","style","className","onPanelChange","disabledTime"]));return Zi},[Lt]),ni=se.createElement(On,(0,Me.Z)({},Di,{showNow:ia,showTime:go,range:!0,multiplePanel:$i,activeInfo:La,disabledDate:Ia,onFocus:pl,onBlur:to,onPanelMouseDown:zl,picker:Wo,mode:wi,internalMode:ca,onPanelChange:qi,format:sr,value:Ll,isInvalid:Pl,onChange:null,onSelect:xa,pickerValue:Ji,defaultOpenValue:Pe(Fo==null?void 0:Fo.defaultOpenValue)[xo],onPickerValueChange:ya,hoverValue:ha,onHover:dl,needConfirm:Mr,onSubmit:Sa,onOk:Hr,presets:Aa,onPresetHover:na,onPresetSubmit:al,onNow:ja,cellRender:fl})),Ra=function(Zi,Zo){var yi=ka(Zi,Zo);cr(yi)},gl=function(){po("input")},Rl=function(Zi,Zo){var yi=jr.length,Yi=jr[yi-1];if(yi&&Yi!==Zo&&Mr&&!So[Yi]&&!Sr(Yi)&&Nr[Yi]){an.current.focus({index:Yi});return}po("input"),ir(!0,{inherit:!0}),xo!==Zo&&Mn&&!Mr&&Vn&&Sa(null,!0),$o(Zo),xr(Zi,Zo)},Ql=function(Zi,Zo){if(ir(!1),!Mr&&po()==="input"){var yi=Gr(Nr);Ti(xo,yi===null)}to(Zi,Zo)},Is=function(Zi,Zo){Zi.key==="Tab"&&Sa(null,!0),Lr==null||Lr(Zi,Zo)},Bs=se.useMemo(function(){return{prefixCls:Xn,locale:Ko,generateConfig:Go,button:ye.button,input:ye.input}},[Xn,Ko,Go,ye.button,ye.input]);if((0,Jt.Z)(function(){Mn&&xo!==void 0&&qi(null,Wo,!1)},[Mn,xo,Wo]),(0,Jt.Z)(function(){var ra=po();!Mn&&ra==="input"&&(ir(!1),Sa(null,!0)),!Mn&&Vn&&!Mr&&ra==="panel"&&(ir(!0),Sa())},[Mn]),0)var Zs;return se.createElement(te.Provider,{value:Bs},se.createElement(re,(0,Me.Z)({},Et(Lt),{popupElement:ni,popupStyle:Er.popup,popupClassName:Fr.popup,visible:Mn,onClose:cs,range:!0}),se.createElement(zi,(0,Me.Z)({},Lt,{ref:an,suffixIcon:Xo,activeIndex:Yr||Mn?xo:null,activeHelp:!!va,allHelp:!!va&&la==="preset",focused:Yr,onFocus:Rl,onBlur:Ql,onKeyDown:Is,onSubmit:Sa,value:ha,maskFormat:sr,onChange:Ra,onInputChange:gl,format:Gn,inputReadOnly:Oo,disabled:Tr,open:Mn,onOpenChange:ir,onClick:ui,onClear:gi,invalid:Ai,onInvalid:ti,onActiveInfo:Gi}))))}var Pa=se.forwardRef(za),Ta=Pa,Ba=z(83836);function Ui(ie){var Ee=ie.prefixCls,Xe=ie.value,Dt=ie.onRemove,Lt=ie.removeIcon,Pn=Lt===void 0?"\xD7":Lt,Vn=ie.formatDate,Gn=ie.disabled,sr=ie.maxTagCount,hr=ie.placeholder,Xn="".concat(Ee,"-selector"),Er="".concat(Ee,"-selection"),Fr="".concat(Er,"-overflow");function Ir(Lr,Tr){return se.createElement("span",{className:Gt()("".concat(Er,"-item")),title:typeof Lr=="string"?Lr:null},se.createElement("span",{className:"".concat(Er,"-item-content")},Lr),!Gn&&Tr&&se.createElement("span",{onMouseDown:function(lo){lo.preventDefault()},onClick:Tr,className:"".concat(Er,"-item-remove")},Pn))}function Dr(Lr){var Tr=Vn(Lr),So=function(Ur){Ur&&Ur.stopPropagation(),Dt(Lr)};return Ir(Tr,So)}function Mr(Lr){var Tr="+ ".concat(Lr.length," ...");return Ir(Tr)}return se.createElement("div",{className:Xn},se.createElement(Ba.Z,{prefixCls:Fr,data:Xe,renderItem:Dr,renderRest:Mr,itemKey:function(Tr){return Vn(Tr)},maxCount:sr}),!Xe.length&&se.createElement("span",{className:"".concat(Ee,"-selection-placeholder")},hr))}var Fa=["id","open","prefix","clearIcon","suffixIcon","activeHelp","allHelp","focused","onFocus","onBlur","onKeyDown","locale","generateConfig","placeholder","className","style","onClick","onClear","internalPicker","value","onChange","onSubmit","onInputChange","multiple","maxTagCount","format","maskFormat","preserveInvalidOnBlur","onInvalid","disabled","invalid","inputReadOnly","direction","onOpenChange","onMouseDown","required","aria-required","autoFocus","tabIndex","removeIcon"];function ul(ie,Ee){var Xe=ie.id,Dt=ie.open,Lt=ie.prefix,Pn=ie.clearIcon,Vn=ie.suffixIcon,Gn=ie.activeHelp,sr=ie.allHelp,hr=ie.focused,Xn=ie.onFocus,Er=ie.onBlur,Fr=ie.onKeyDown,Ir=ie.locale,Dr=ie.generateConfig,Mr=ie.placeholder,Lr=ie.className,Tr=ie.style,So=ie.onClick,lo=ie.onClear,Ur=ie.internalPicker,Ao=ie.value,ro=ie.onChange,uo=ie.onSubmit,ai=ie.onInputChange,Ko=ie.multiple,Go=ie.maxTagCount,Wo=ie.format,ci=ie.maskFormat,Qo=ie.preserveInvalidOnBlur,Fo=ie.onInvalid,Eo=ie.disabled,Ro=ie.invalid,No=ie.inputReadOnly,vi=ie.direction,di=ie.onOpenChange,Uo=ie.onMouseDown,ei=ie.required,Oo=ie["aria-required"],Xo=ie.autoFocus,Yo=ie.tabIndex,pi=ie.removeIcon,Bi=(0,Wn.Z)(ie,Fa),Mi=vi==="rtl",ye=se.useContext(te),ge=ye.prefixCls,at=se.useRef(),wt=se.useRef();se.useImperativeHandle(Ee,function(){return{nativeElement:at.current,focus:function(Hn){var Or;(Or=wt.current)===null||Or===void 0||Or.focus(Hn)},blur:function(){var Hn;(Hn=wt.current)===null||Hn===void 0||Hn.blur()}}});var $t=$n(Bi),an=function(Hn){ro([Hn])},An=function(Hn){var Or=Ao.filter(function(cr){return cr&&!Sn(Dr,Ir,cr,Hn,Ur)});ro(Or),Dt||uo()},En=Dn((0,pe.Z)((0,pe.Z)({},ie),{},{onChange:an}),function(Kn){var Hn=Kn.valueTexts;return{value:Hn[0]||"",active:hr}}),Mn=(0,Re.Z)(En,2),Nn=Mn[0],ir=Mn[1],tr=!!(Pn&&Ao.length&&!Eo),Qn=Ko?se.createElement(se.Fragment,null,se.createElement(Ui,{prefixCls:ge,value:Ao,onRemove:An,formatDate:ir,maxTagCount:Go,disabled:Eo,removeIcon:pi,placeholder:Mr}),se.createElement("input",{className:"".concat(ge,"-multiple-input"),value:Ao.map(ir).join(","),ref:wt,readOnly:!0,autoFocus:Xo,tabIndex:Yo}),se.createElement(zr,{type:"suffix",icon:Vn}),tr&&se.createElement(Qr,{icon:Pn,onClear:lo})):se.createElement(Si,(0,Me.Z)({ref:wt},Nn(),{autoFocus:Xo,tabIndex:Yo,suffixIcon:Vn,clearIcon:tr&&se.createElement(Qr,{icon:Pn,onClear:lo}),showActiveCls:!1}));return se.createElement("div",(0,Me.Z)({},$t,{className:Gt()(ge,(0,dn.Z)((0,dn.Z)((0,dn.Z)((0,dn.Z)((0,dn.Z)({},"".concat(ge,"-multiple"),Ko),"".concat(ge,"-focused"),hr),"".concat(ge,"-disabled"),Eo),"".concat(ge,"-invalid"),Ro),"".concat(ge,"-rtl"),Mi),Lr),style:Tr,ref:at,onClick:So,onMouseDown:function(Hn){var Or,cr=Hn.target;cr!==((Or=wt.current)===null||Or===void 0?void 0:Or.inputElement)&&Hn.preventDefault(),Uo==null||Uo(Hn)}}),Lt&&se.createElement("div",{className:"".concat(ge,"-prefix")},Lt),Qn)}var Qa=se.forwardRef(ul),Qi=Qa;function Nl(ie,Ee){var Xe=rr(ie),Dt=(0,Re.Z)(Xe,6),Lt=Dt[0],Pn=Dt[1],Vn=Dt[2],Gn=Dt[3],sr=Dt[4],hr=Dt[5],Xn=Lt,Er=Xn.prefixCls,Fr=Xn.styles,Ir=Xn.classNames,Dr=Xn.order,Mr=Xn.defaultValue,Lr=Xn.value,Tr=Xn.needConfirm,So=Xn.onChange,lo=Xn.onKeyDown,Ur=Xn.disabled,Ao=Xn.disabledDate,ro=Xn.minDate,uo=Xn.maxDate,ai=Xn.defaultOpen,Ko=Xn.open,Go=Xn.onOpenChange,Wo=Xn.locale,ci=Xn.generateConfig,Qo=Xn.picker,Fo=Xn.showNow,Eo=Xn.showToday,Ro=Xn.showTime,No=Xn.mode,vi=Xn.onPanelChange,di=Xn.onCalendarChange,Uo=Xn.onOk,ei=Xn.multiple,Oo=Xn.defaultPickerValue,Xo=Xn.pickerValue,Yo=Xn.onPickerValueChange,pi=Xn.inputReadOnly,Bi=Xn.suffixIcon,Mi=Xn.removeIcon,ye=Xn.onFocus,ge=Xn.onBlur,at=Xn.presets,wt=Xn.components,$t=Xn.cellRender,an=Xn.dateRender,An=Xn.monthCellRender,En=Xn.onClick,Mn=nn(Ee);function Nn(Di){return Di===null?null:ei?Di:Di[0]}var ir=Br(ci,Wo,Pn),tr=Fn(Ko,ai,[Ur],Go),Qn=(0,Re.Z)(tr,2),Kn=Qn[0],Hn=Qn[1],Or=function(ni,Ra,gl){if(di){var Rl=(0,pe.Z)({},gl);delete Rl.range,di(Nn(ni),Nn(Ra),Rl)}},cr=function(ni){Uo==null||Uo(Nn(ni))},Hr=Pt(ci,Wo,Gn,!1,Dr,Mr,Lr,Or,cr),Nr=(0,Re.Z)(Hr,5),_r=Nr[0],Wr=Nr[1],Yr=Nr[2],ao=Nr[3],po=Nr[4],xo=Yr(),$o=Qt([Ur]),Gr=(0,Re.Z)($o,4),jr=Gr[0],oo=Gr[1],Sr=Gr[2],xr=Gr[3],to=function(ni){oo(!0),ye==null||ye(ni,{})},go=function(ni){oo(!1),ge==null||ge(ni,{})},Do=(0,Ue.C8)(Qo,{value:No}),Jo=(0,Re.Z)(Do,2),Co=Jo[0],Fi=Jo[1],wi=Co==="date"&&Ro?"datetime":Co,ca=In(Qo,Co,Fo,Eo),$i=So&&function(Di,ni){So(Nn(Di),Nn(ni))},ia=Kt((0,pe.Z)((0,pe.Z)({},Lt),{},{onChange:$i}),_r,Wr,Yr,ao,[],Gn,jr,Kn,hr),ma=(0,Re.Z)(ia,2),ga=ma[1],Ti=Te(xo,hr),ki=(0,Re.Z)(Ti,2),Ia=ki[0],Na=ki[1],oi=se.useMemo(function(){return Ia.some(function(Di){return Di})},[Ia]),Ai=function(ni,Ra){if(Yo){var gl=(0,pe.Z)((0,pe.Z)({},Ra),{},{mode:Ra.mode[0]});delete gl.range,Yo(ni[0],gl)}},ti=Ct(ci,Wo,xo,[Co],Kn,xr,Pn,!1,Oo,Xo,Pe(Ro==null?void 0:Ro.defaultOpenValue),Ai,ro,uo),Ho=(0,Re.Z)(ti,2),ji=Ho[0],Ji=Ho[1],ya=(0,Ue.zX)(function(Di,ni,Ra){if(Fi(ni),vi&&Ra!==!1){var gl=Di||xo[xo.length-1];vi(gl,ni)}}),qi=function(){ga(Yr()),Hn(!1,{force:!0})},ka=function(ni){!Ur&&!Mn.current.nativeElement.contains(document.activeElement)&&Mn.current.focus(),Hn(!0),En==null||En(ni)},Sa=function(){ga(null),Hn(!1,{force:!0})},ui=se.useState(null),gi=(0,Re.Z)(ui,2),ea=gi[0],aa=gi[1],la=se.useState(null),Wa=(0,Re.Z)(la,2),ba=Wa[0],il=Wa[1],va=se.useMemo(function(){var Di=[ba].concat((0,Wt.Z)(xo)).filter(function(ni){return ni});return ei?Di:Di.slice(0,1)},[xo,ba,ei]),Vi=se.useMemo(function(){return!ei&&ba?[ba]:xo.filter(function(Di){return Di})},[xo,ba,ei]);se.useEffect(function(){Kn||il(null)},[Kn]);var ha=er(at),Ca=function(ni){il(ni),aa("preset")},Ha=function(ni){var Ra=ei?ir(Yr(),ni):[ni],gl=ga(Ra);gl&&!ei&&Hn(!1,{force:!0})},La=function(ni){Ha(ni)},Gi=function(ni){il(ni),aa("cell")},Aa=function(ni){Hn(!0),to(ni)},na=function(ni){if(Sr("panel"),!(ei&&wi!==Qo)){var Ra=ei?ir(Yr(),ni):[ni];ao(Ra),!Tr&&!Vn&&Pn===wi&&qi()}},al=function(){Hn(!1)},ja=Rt($t,an,An),dl=se.useMemo(function(){var Di=(0,jt.Z)(Lt,!1),ni=(0,et.Z)(Lt,[].concat((0,Wt.Z)(Object.keys(Di)),["onChange","onCalendarChange","style","className","onPanelChange"]));return(0,pe.Z)((0,pe.Z)({},ni),{},{multiple:Lt.multiple})},[Lt]),pl=se.createElement(On,(0,Me.Z)({},dl,{showNow:ca,showTime:Ro,disabledDate:Ao,onFocus:Aa,onBlur:go,picker:Qo,mode:Co,internalMode:wi,onPanelChange:ya,format:sr,value:xo,isInvalid:hr,onChange:null,onSelect:na,pickerValue:ji,defaultOpenValue:Ro==null?void 0:Ro.defaultOpenValue,onPickerValueChange:Ji,hoverValue:va,onHover:Gi,needConfirm:Tr,onSubmit:qi,onOk:po,presets:ha,onPresetHover:Ca,onPresetSubmit:Ha,onNow:La,cellRender:ja})),zl=function(ni){ao(ni)},xa=function(){Sr("input")},cs=function(ni){Sr("input"),Hn(!0,{inherit:!0}),to(ni)},fl=function(ni){Hn(!1),go(ni)},Ll=function(ni,Ra){ni.key==="Tab"&&qi(),lo==null||lo(ni,Ra)},Pl=se.useMemo(function(){return{prefixCls:Er,locale:Wo,generateConfig:ci,button:wt.button,input:wt.input}},[Er,Wo,ci,wt.button,wt.input]);return(0,Jt.Z)(function(){Kn&&xr!==void 0&&ya(null,Qo,!1)},[Kn,xr,Qo]),(0,Jt.Z)(function(){var Di=Sr();!Kn&&Di==="input"&&(Hn(!1),qi()),!Kn&&Vn&&!Tr&&Di==="panel"&&qi()},[Kn]),se.createElement(te.Provider,{value:Pl},se.createElement(re,(0,Me.Z)({},Et(Lt),{popupElement:pl,popupStyle:Fr.popup,popupClassName:Ir.popup,visible:Kn,onClose:al}),se.createElement(Qi,(0,Me.Z)({},Lt,{ref:Mn,suffixIcon:Bi,removeIcon:Mi,activeHelp:!!ba,allHelp:!!ba&&ea==="preset",focused:jr,onFocus:cs,onBlur:fl,onKeyDown:Ll,onSubmit:qi,value:Vi,maskFormat:sr,onChange:zl,onInputChange:xa,internalPicker:Pn,format:Gn,inputReadOnly:pi,disabled:Ur,open:Kn,onOpenChange:Hn,onClick:ka,onClear:Sa,invalid:oi,onInvalid:function(ni){Na(ni,0)}}))))}var El=se.forwardRef(Nl),hi=El,mi=hi,wo=z(62487),ho=z(75030),To=z(82855),si=z(48755),da=z(2171),Ri=z(83397),Li=z(31756),Oi=z(56553),pa=z(24971),Ea=z(9017),Oa=z(70045),Ya=z(57428),Ii=z(36237),Ga=z(53075),wl=z(64910),cl=z(63356),el=z(56119),Xa=z(46e3),Al=z(93873),xl=z(36305),Hl=z(16931),Yl=z(51636),as=z(26743);const ns=(ie,Ee)=>{const{componentCls:Xe,controlHeight:Dt}=ie,Lt=Ee?`${Xe}-${Ee}`:"",Pn=(0,as.gp)(ie);return[{[`${Xe}-multiple${Lt}`]:{paddingBlock:Pn.containerPadding,paddingInlineStart:Pn.basePadding,minHeight:Dt,[`${Xe}-selection-item`]:{height:Pn.itemHeight,lineHeight:(0,Ii.unit)(Pn.itemLineHeight)}}}]};var rs=ie=>{const{componentCls:Ee,calc:Xe,lineWidth:Dt}=ie,Lt=(0,Yl.mergeToken)(ie,{fontHeight:ie.fontSize,selectHeight:ie.controlHeightSM,multipleSelectItemHeight:ie.multipleItemHeightSM,borderRadius:ie.borderRadiusSM,borderRadiusSM:ie.borderRadiusXS,controlHeight:ie.controlHeightSM}),Pn=(0,Yl.mergeToken)(ie,{fontHeight:Xe(ie.multipleItemHeightLG).sub(Xe(Dt).mul(2).equal()).equal(),fontSize:ie.fontSizeLG,selectHeight:ie.controlHeightLG,multipleSelectItemHeight:ie.multipleItemHeightLG,borderRadius:ie.borderRadiusLG,borderRadiusSM:ie.borderRadius,controlHeight:ie.controlHeightLG});return[ns(Lt,"small"),ns(ie),ns(Pn,"large"),{[`${Ee}${Ee}-multiple`]:Object.assign(Object.assign({width:"100%",cursor:"text",[`${Ee}-selector`]:{flex:"auto",padding:0,position:"relative","&:after":{margin:0},[`${Ee}-selection-placeholder`]:{position:"absolute",top:"50%",insetInlineStart:ie.inputPaddingHorizontalBase,insetInlineEnd:0,transform:"translateY(-50%)",transition:`all ${ie.motionDurationSlow}`,overflow:"hidden",whiteSpace:"nowrap",textOverflow:"ellipsis",flex:1,color:ie.colorTextPlaceholder,pointerEvents:"none"}}},(0,as._z)(ie)),{[`${Ee}-multiple-input`]:{width:0,height:0,border:0,visibility:"hidden",position:"absolute",zIndex:-1}})}]},Dl=z(17835);const Gl=ie=>{const{pickerCellCls:Ee,pickerCellInnerCls:Xe,cellHeight:Dt,borderRadiusSM:Lt,motionDurationMid:Pn,cellHoverBg:Vn,lineWidth:Gn,lineType:sr,colorPrimary:hr,cellActiveWithRangeBg:Xn,colorTextLightSolid:Er,colorTextDisabled:Fr,cellBgDisabled:Ir,colorFillSecondary:Dr}=ie;return{"&::before":{position:"absolute",top:"50%",insetInlineStart:0,insetInlineEnd:0,zIndex:1,height:Dt,transform:"translateY(-50%)",content:'""',pointerEvents:"none"},[Xe]:{position:"relative",zIndex:2,display:"inline-block",minWidth:Dt,height:Dt,lineHeight:(0,Ii.unit)(Dt),borderRadius:Lt,transition:`background ${Pn}`},[`&:hover:not(${Ee}-in-view):not(${Ee}-disabled),
|
|
|
&:hover:not(${Ee}-selected):not(${Ee}-range-start):not(${Ee}-range-end):not(${Ee}-disabled)`]:{[Xe]:{background:Vn}},[`&-in-view${Ee}-today ${Xe}`]:{"&::before":{position:"absolute",top:0,insetInlineEnd:0,bottom:0,insetInlineStart:0,zIndex:1,border:`${(0,Ii.unit)(Gn)} ${sr} ${hr}`,borderRadius:Lt,content:'""'}},[`&-in-view${Ee}-in-range,
|
|
|
&-in-view${Ee}-range-start,
|
|
|
&-in-view${Ee}-range-end`]:{position:"relative",[`&:not(${Ee}-disabled):before`]:{background:Xn}},[`&-in-view${Ee}-selected,
|
|
|
&-in-view${Ee}-range-start,
|
|
|
&-in-view${Ee}-range-end`]:{[`&:not(${Ee}-disabled) ${Xe}`]:{color:Er,background:hr},[`&${Ee}-disabled ${Xe}`]:{background:Dr}},[`&-in-view${Ee}-range-start:not(${Ee}-disabled):before`]:{insetInlineStart:"50%"},[`&-in-view${Ee}-range-end:not(${Ee}-disabled):before`]:{insetInlineEnd:"50%"},[`&-in-view${Ee}-range-start:not(${Ee}-range-end) ${Xe}`]:{borderStartStartRadius:Lt,borderEndStartRadius:Lt,borderStartEndRadius:0,borderEndEndRadius:0},[`&-in-view${Ee}-range-end:not(${Ee}-range-start) ${Xe}`]:{borderStartStartRadius:0,borderEndStartRadius:0,borderStartEndRadius:Lt,borderEndEndRadius:Lt},"&-disabled":{color:Fr,cursor:"not-allowed",[Xe]:{background:"transparent"},"&::before":{background:Ir}},[`&-disabled${Ee}-today ${Xe}::before`]:{borderColor:Fr}}},os=ie=>{const{componentCls:Ee,pickerCellCls:Xe,pickerCellInnerCls:Dt,pickerYearMonthCellWidth:Lt,pickerControlIconSize:Pn,cellWidth:Vn,paddingSM:Gn,paddingXS:sr,paddingXXS:hr,colorBgContainer:Xn,lineWidth:Er,lineType:Fr,borderRadiusLG:Ir,colorPrimary:Dr,colorTextHeading:Mr,colorSplit:Lr,pickerControlIconBorderWidth:Tr,colorIcon:So,textHeight:lo,motionDurationMid:Ur,colorIconHover:Ao,fontWeightStrong:ro,cellHeight:uo,pickerCellPaddingVertical:ai,colorTextDisabled:Ko,colorText:Go,fontSize:Wo,motionDurationSlow:ci,withoutTimeCellHeight:Qo,pickerQuarterPanelContentHeight:Fo,borderRadiusSM:Eo,colorTextLightSolid:Ro,cellHoverBg:No,timeColumnHeight:vi,timeColumnWidth:di,timeCellHeight:Uo,controlItemBgActive:ei,marginXXS:Oo,pickerDatePanelPaddingHorizontal:Xo,pickerControlIconMargin:Yo}=ie,pi=ie.calc(Vn).mul(7).add(ie.calc(Xo).mul(2)).equal();return{[Ee]:{"&-panel":{display:"inline-flex",flexDirection:"column",textAlign:"center",background:Xn,borderRadius:Ir,outline:"none","&-focused":{borderColor:Dr},"&-rtl":{[`${Ee}-prev-icon,
|
|
|
${Ee}-super-prev-icon`]:{transform:"rotate(45deg)"},[`${Ee}-next-icon,
|
|
|
${Ee}-super-next-icon`]:{transform:"rotate(-135deg)"},[`${Ee}-time-panel`]:{[`${Ee}-content`]:{direction:"ltr","> *":{direction:"rtl"}}}}},"&-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:pi},"&-header":{display:"flex",padding:`0 ${(0,Ii.unit)(sr)}`,color:Mr,borderBottom:`${(0,Ii.unit)(Er)} ${Fr} ${Lr}`,"> *":{flex:"none"},button:{padding:0,color:So,lineHeight:(0,Ii.unit)(lo),background:"transparent",border:0,cursor:"pointer",transition:`color ${Ur}`,fontSize:"inherit",display:"inline-flex",alignItems:"center",justifyContent:"center","&:empty":{display:"none"}},"> button":{minWidth:"1.6em",fontSize:Wo,"&:hover":{color:Ao},"&:disabled":{opacity:.25,pointerEvents:"none"}},"&-view":{flex:"auto",fontWeight:ro,lineHeight:(0,Ii.unit)(lo),"> button":{color:"inherit",fontWeight:"inherit",verticalAlign:"top","&:not(:first-child)":{marginInlineStart:sr},"&:hover":{color:Dr}}}},"&-prev-icon,\n &-next-icon,\n &-super-prev-icon,\n &-super-next-icon":{position:"relative",width:Pn,height:Pn,"&::before":{position:"absolute",top:0,insetInlineStart:0,width:Pn,height:Pn,border:"0 solid currentcolor",borderBlockStartWidth:Tr,borderInlineStartWidth:Tr,content:'""'}},"&-super-prev-icon,\n &-super-next-icon":{"&::after":{position:"absolute",top:Yo,insetInlineStart:Yo,display:"inline-block",width:Pn,height:Pn,border:"0 solid currentcolor",borderBlockStartWidth:Tr,borderInlineStartWidth:Tr,content:'""'}},"&-prev-icon, &-super-prev-icon":{transform:"rotate(-45deg)"},"&-next-icon, &-super-next-icon":{transform:"rotate(135deg)"},"&-content":{width:"100%",tableLayout:"fixed",borderCollapse:"collapse","th, td":{position:"relative",minWidth:uo,fontWeight:"normal"},th:{height:ie.calc(uo).add(ie.calc(ai).mul(2)).equal(),color:Go,verticalAlign:"middle"}},"&-cell":Object.assign({padding:`${(0,Ii.unit)(ai)} 0`,color:Ko,cursor:"pointer","&-in-view":{color:Go}},Gl(ie)),"&-decade-panel,\n &-year-panel,\n &-quarter-panel,\n &-month-panel":{[`${Ee}-content`]:{height:ie.calc(Qo).mul(4).equal()},[Dt]:{padding:`0 ${(0,Ii.unit)(sr)}`}},"&-quarter-panel":{[`${Ee}-content`]:{height:Fo}},"&-decade-panel":{[Dt]:{padding:`0 ${(0,Ii.unit)(ie.calc(sr).div(2).equal())}`},[`${Ee}-cell::before`]:{display:"none"}},"&-year-panel,\n &-quarter-panel,\n &-month-panel":{[`${Ee}-body`]:{padding:`0 ${(0,Ii.unit)(sr)}`},[Dt]:{width:Lt}},"&-date-panel":{[`${Ee}-body`]:{padding:`${(0,Ii.unit)(sr)} ${(0,Ii.unit)(Xo)}`},[`${Ee}-content th`]:{boxSizing:"border-box",padding:0}},"&-week-panel":{[`${Ee}-cell`]:{[`&:hover ${Dt},
|
|
|
&-selected ${Dt},
|
|
|
${Dt}`]:{background:"transparent !important"}},"&-row":{td:{"&:before":{transition:`background ${Ur}`},"&:first-child:before":{borderStartStartRadius:Eo,borderEndStartRadius:Eo},"&:last-child:before":{borderStartEndRadius:Eo,borderEndEndRadius:Eo}},"&:hover td:before":{background:No},"&-range-start td, &-range-end td, &-selected td, &-hover td":{[`&${Xe}`]:{"&:before":{background:Dr},[`&${Ee}-cell-week`]:{color:new Dl.FastColor(Ro).setA(.5).toHexString()},[Dt]:{color:Ro}}},"&-range-hover td:before":{background:ei}}},"&-week-panel, &-date-panel-show-week":{[`${Ee}-body`]:{padding:`${(0,Ii.unit)(sr)} ${(0,Ii.unit)(Gn)}`},[`${Ee}-content th`]:{width:"auto"}},"&-datetime-panel":{display:"flex",[`${Ee}-time-panel`]:{borderInlineStart:`${(0,Ii.unit)(Er)} ${Fr} ${Lr}`},[`${Ee}-date-panel,
|
|
|
${Ee}-time-panel`]:{transition:`opacity ${ci}`},"&-active":{[`${Ee}-date-panel,
|
|
|
${Ee}-time-panel`]:{opacity:.3,"&-active":{opacity:1}}}},"&-time-panel":{width:"auto",minWidth:"auto",[`${Ee}-content`]:{display:"flex",flex:"auto",height:vi},"&-column":{flex:"1 0 auto",width:di,margin:`${(0,Ii.unit)(hr)} 0`,padding:0,overflowY:"hidden",textAlign:"start",listStyle:"none",transition:`background ${Ur}`,overflowX:"hidden","&::-webkit-scrollbar":{width:8,backgroundColor:"transparent"},"&::-webkit-scrollbar-thumb":{backgroundColor:ie.colorTextTertiary,borderRadius:ie.borderRadiusSM},"&":{scrollbarWidth:"thin",scrollbarColor:`${ie.colorTextTertiary} transparent`},"&::after":{display:"block",height:`calc(100% - ${(0,Ii.unit)(Uo)})`,content:'""'},"&:not(:first-child)":{borderInlineStart:`${(0,Ii.unit)(Er)} ${Fr} ${Lr}`},"&-active":{background:new Dl.FastColor(ei).setA(.2).toHexString()},"&:hover":{overflowY:"auto"},"> li":{margin:0,padding:0,[`&${Ee}-time-panel-cell`]:{marginInline:Oo,[`${Ee}-time-panel-cell-inner`]:{display:"block",width:ie.calc(di).sub(ie.calc(Oo).mul(2)).equal(),height:Uo,margin:0,paddingBlock:0,paddingInlineEnd:0,paddingInlineStart:ie.calc(di).sub(Uo).div(2).equal(),color:Go,lineHeight:(0,Ii.unit)(Uo),borderRadius:Eo,cursor:"pointer",transition:`background ${Ur}`,"&:hover":{background:No}},"&-selected":{[`${Ee}-time-panel-cell-inner`]:{background:ei}},"&-disabled":{[`${Ee}-time-panel-cell-inner`]:{color:Ko,background:"transparent",cursor:"not-allowed"}}}}}}}}};var _l=ie=>{const{componentCls:Ee,textHeight:Xe,lineWidth:Dt,paddingSM:Lt,antCls:Pn,colorPrimary:Vn,cellActiveWithRangeBg:Gn,colorPrimaryBorder:sr,lineType:hr,colorSplit:Xn}=ie;return{[`${Ee}-dropdown`]:{[`${Ee}-footer`]:{borderTop:`${(0,Ii.unit)(Dt)} ${hr} ${Xn}`,"&-extra":{padding:`0 ${(0,Ii.unit)(Lt)}`,lineHeight:(0,Ii.unit)(ie.calc(Xe).sub(ie.calc(Dt).mul(2)).equal()),textAlign:"start","&:not(:last-child)":{borderBottom:`${(0,Ii.unit)(Dt)} ${hr} ${Xn}`}}},[`${Ee}-panels + ${Ee}-footer ${Ee}-ranges`]:{justifyContent:"space-between"},[`${Ee}-ranges`]:{marginBlock:0,paddingInline:(0,Ii.unit)(Lt),overflow:"hidden",textAlign:"start",listStyle:"none",display:"flex",justifyContent:"center",alignItems:"center","> li":{lineHeight:(0,Ii.unit)(ie.calc(Xe).sub(ie.calc(Dt).mul(2)).equal()),display:"inline-block"},[`${Ee}-now-btn-disabled`]:{pointerEvents:"none",color:ie.colorTextDisabled},[`${Ee}-preset > ${Pn}-tag-blue`]:{color:Vn,background:Gn,borderColor:sr,cursor:"pointer"},[`${Ee}-ok`]:{paddingBlock:ie.calc(Dt).mul(2).equal(),marginInlineStart:"auto"}}}}};const is=ie=>{const{componentCls:Ee,controlHeightLG:Xe,paddingXXS:Dt,padding:Lt}=ie;return{pickerCellCls:`${Ee}-cell`,pickerCellInnerCls:`${Ee}-cell-inner`,pickerYearMonthCellWidth:ie.calc(Xe).mul(1.5).equal(),pickerQuarterPanelContentHeight:ie.calc(Xe).mul(1.4).equal(),pickerCellPaddingVertical:ie.calc(Dt).add(ie.calc(Dt).div(2)).equal(),pickerCellBorderGap:2,pickerControlIconSize:7,pickerControlIconMargin:4,pickerControlIconBorderWidth:1.5,pickerDatePanelPaddingHorizontal:ie.calc(Lt).add(ie.calc(Dt).div(2)).equal()}},Ja=ie=>{const{colorBgContainerDisabled:Ee,controlHeight:Xe,controlHeightSM:Dt,controlHeightLG:Lt,paddingXXS:Pn,lineWidth:Vn}=ie,Gn=Pn*2,sr=Vn*2,hr=Math.min(Xe-Gn,Xe-sr),Xn=Math.min(Dt-Gn,Dt-sr),Er=Math.min(Lt-Gn,Lt-sr);return{INTERNAL_FIXED_ITEM_MARGIN:Math.floor(Pn/2),cellHoverBg:ie.controlItemBgHover,cellActiveWithRangeBg:ie.controlItemBgActive,cellHoverWithRangeBg:new Dl.FastColor(ie.colorPrimary).lighten(35).toHexString(),cellRangeBorderColor:new Dl.FastColor(ie.colorPrimary).lighten(20).toHexString(),cellBgDisabled:Ee,timeColumnWidth:Lt*1.4,timeColumnHeight:28*8,timeCellHeight:28,cellWidth:Dt*1.5,cellHeight:Dt,textHeight:Lt,withoutTimeCellHeight:Lt*1.65,multipleItemBg:ie.colorFillSecondary,multipleItemBorderColor:"transparent",multipleItemHeight:hr,multipleItemHeightSM:Xn,multipleItemHeightLG:Er,multipleSelectorBgDisabled:Ee,multipleItemColorDisabled:ie.colorTextDisabled,multipleItemBorderColorDisabled:"transparent"}},$a=ie=>Object.assign(Object.assign(Object.assign(Object.assign({},(0,wl.T)(ie)),Ja(ie)),(0,xl.w)(ie)),{presetsWidth:120,presetsMaxWidth:200,zIndexPopup:ie.zIndexPopupBase+50});var fa=z(39082),Ci=ie=>{const{componentCls:Ee}=ie;return{[Ee]:[Object.assign(Object.assign(Object.assign(Object.assign({},(0,fa.qG)(ie)),(0,fa.vc)(ie)),(0,fa.H8)(ie)),(0,fa.Mu)(ie)),{"&-outlined":{[`&${Ee}-multiple ${Ee}-selection-item`]:{background:ie.multipleItemBg,border:`${(0,Ii.unit)(ie.lineWidth)} ${ie.lineType} ${ie.multipleItemBorderColor}`}},"&-filled":{[`&${Ee}-multiple ${Ee}-selection-item`]:{background:ie.colorBgContainer,border:`${(0,Ii.unit)(ie.lineWidth)} ${ie.lineType} ${ie.colorSplit}`}},"&-borderless":{[`&${Ee}-multiple ${Ee}-selection-item`]:{background:ie.multipleItemBg,border:`${(0,Ii.unit)(ie.lineWidth)} ${ie.lineType} ${ie.multipleItemBorderColor}`}},"&-underlined":{[`&${Ee}-multiple ${Ee}-selection-item`]:{background:ie.multipleItemBg,border:`${(0,Ii.unit)(ie.lineWidth)} ${ie.lineType} ${ie.multipleItemBorderColor}`}}}]}};const sa=(ie,Ee,Xe,Dt)=>{const Lt=ie.calc(Xe).add(2).equal(),Pn=ie.max(ie.calc(Ee).sub(Lt).div(2).equal(),0),Vn=ie.max(ie.calc(Ee).sub(Lt).sub(Pn).equal(),0);return{padding:`${(0,Ii.unit)(Pn)} ${(0,Ii.unit)(Dt)} ${(0,Ii.unit)(Vn)}`}},Ma=ie=>{const{componentCls:Ee,colorError:Xe,colorWarning:Dt}=ie;return{[`${Ee}:not(${Ee}-disabled):not([disabled])`]:{[`&${Ee}-status-error`]:{[`${Ee}-active-bar`]:{background:Xe}},[`&${Ee}-status-warning`]:{[`${Ee}-active-bar`]:{background:Dt}}}}},wa=ie=>{const{componentCls:Ee,antCls:Xe,controlHeight:Dt,paddingInline:Lt,lineWidth:Pn,lineType:Vn,colorBorder:Gn,borderRadius:sr,motionDurationMid:hr,colorTextDisabled:Xn,colorTextPlaceholder:Er,controlHeightLG:Fr,fontSizeLG:Ir,controlHeightSM:Dr,paddingInlineSM:Mr,paddingXS:Lr,marginXS:Tr,colorTextDescription:So,lineWidthBold:lo,colorPrimary:Ur,motionDurationSlow:Ao,zIndexPopup:ro,paddingXXS:uo,sizePopupArrow:ai,colorBgElevated:Ko,borderRadiusLG:Go,boxShadowSecondary:Wo,borderRadiusSM:ci,colorSplit:Qo,cellHoverBg:Fo,presetsWidth:Eo,presetsMaxWidth:Ro,boxShadowPopoverArrow:No,fontHeight:vi,fontHeightLG:di,lineHeightLG:Uo}=ie;return[{[Ee]:Object.assign(Object.assign(Object.assign({},(0,cl.Wf)(ie)),sa(ie,Dt,vi,Lt)),{position:"relative",display:"inline-flex",alignItems:"center",lineHeight:1,borderRadius:sr,transition:`border ${hr}, box-shadow ${hr}, background ${hr}`,[`${Ee}-prefix`]:{flex:"0 0 auto",marginInlineEnd:ie.inputAffixPadding},[`${Ee}-input`]:{position:"relative",display:"inline-flex",alignItems:"center",width:"100%","> input":Object.assign(Object.assign({position:"relative",display:"inline-block",width:"100%",color:"inherit",fontSize:ie.fontSize,lineHeight:ie.lineHeight,transition:`all ${hr}`},(0,Ga.nz)(Er)),{flex:"auto",minWidth:1,height:"auto",padding:0,background:"transparent",border:0,fontFamily:"inherit","&:focus":{boxShadow:"none",outline:0},"&[disabled]":{background:"transparent",color:Xn,cursor:"not-allowed"}}),"&-placeholder":{"> input":{color:Er}}},"&-large":Object.assign(Object.assign({},sa(ie,Fr,di,Lt)),{[`${Ee}-input > input`]:{fontSize:Ir,lineHeight:Uo}}),"&-small":Object.assign({},sa(ie,Dr,vi,Mr)),[`${Ee}-suffix`]:{display:"flex",flex:"none",alignSelf:"center",marginInlineStart:ie.calc(Lr).div(2).equal(),color:Xn,lineHeight:1,pointerEvents:"none",transition:`opacity ${hr}, color ${hr}`,"> *":{verticalAlign:"top","&:not(:last-child)":{marginInlineEnd:Tr}}},[`${Ee}-clear`]:{position:"absolute",top:"50%",insetInlineEnd:0,color:Xn,lineHeight:1,transform:"translateY(-50%)",cursor:"pointer",opacity:0,transition:`opacity ${hr}, color ${hr}`,"> *":{verticalAlign:"top"},"&:hover":{color:So}},"&:hover":{[`${Ee}-clear`]:{opacity:1},[`${Ee}-suffix:not(:last-child)`]:{opacity:0}},[`${Ee}-separator`]:{position:"relative",display:"inline-block",width:"1em",height:Ir,color:Xn,fontSize:Ir,verticalAlign:"top",cursor:"default",[`${Ee}-focused &`]:{color:So},[`${Ee}-range-separator &`]:{[`${Ee}-disabled &`]:{cursor:"not-allowed"}}},"&-range":{position:"relative",display:"inline-flex",[`${Ee}-active-bar`]:{bottom:ie.calc(Pn).mul(-1).equal(),height:lo,background:Ur,opacity:0,transition:`all ${Ao} ease-out`,pointerEvents:"none"},[`&${Ee}-focused`]:{[`${Ee}-active-bar`]:{opacity:1}},[`${Ee}-range-separator`]:{alignItems:"center",padding:`0 ${(0,Ii.unit)(Lr)}`,lineHeight:1}},"&-range, &-multiple":{[`${Ee}-clear`]:{insetInlineEnd:Lt},[`&${Ee}-small`]:{[`${Ee}-clear`]:{insetInlineEnd:Mr}}},"&-dropdown":Object.assign(Object.assign(Object.assign({},(0,cl.Wf)(ie)),os(ie)),{pointerEvents:"none",position:"absolute",top:-9999,left:{_skip_check_:!0,value:-9999},zIndex:ro,[`&${Ee}-dropdown-hidden`]:{display:"none"},"&-rtl":{direction:"rtl"},[`&${Ee}-dropdown-placement-bottomLeft,
|
|
|
&${Ee}-dropdown-placement-bottomRight`]:{[`${Ee}-range-arrow`]:{top:0,display:"block",transform:"translateY(-100%)"}},[`&${Ee}-dropdown-placement-topLeft,
|
|
|
&${Ee}-dropdown-placement-topRight`]:{[`${Ee}-range-arrow`]:{bottom:0,display:"block",transform:"translateY(100%) rotate(180deg)"}},[`&${Xe}-slide-up-appear, &${Xe}-slide-up-enter`]:{[`${Ee}-range-arrow${Ee}-range-arrow`]:{transition:"none"}},[`&${Xe}-slide-up-enter${Xe}-slide-up-enter-active${Ee}-dropdown-placement-topLeft,
|
|
|
&${Xe}-slide-up-enter${Xe}-slide-up-enter-active${Ee}-dropdown-placement-topRight,
|
|
|
&${Xe}-slide-up-appear${Xe}-slide-up-appear-active${Ee}-dropdown-placement-topLeft,
|
|
|
&${Xe}-slide-up-appear${Xe}-slide-up-appear-active${Ee}-dropdown-placement-topRight`]:{animationName:Xa.Qt},[`&${Xe}-slide-up-enter${Xe}-slide-up-enter-active${Ee}-dropdown-placement-bottomLeft,
|
|
|
&${Xe}-slide-up-enter${Xe}-slide-up-enter-active${Ee}-dropdown-placement-bottomRight,
|
|
|
&${Xe}-slide-up-appear${Xe}-slide-up-appear-active${Ee}-dropdown-placement-bottomLeft,
|
|
|
&${Xe}-slide-up-appear${Xe}-slide-up-appear-active${Ee}-dropdown-placement-bottomRight`]:{animationName:Xa.fJ},[`&${Xe}-slide-up-leave ${Ee}-panel-container`]:{pointerEvents:"none"},[`&${Xe}-slide-up-leave${Xe}-slide-up-leave-active${Ee}-dropdown-placement-topLeft,
|
|
|
&${Xe}-slide-up-leave${Xe}-slide-up-leave-active${Ee}-dropdown-placement-topRight`]:{animationName:Xa.ly},[`&${Xe}-slide-up-leave${Xe}-slide-up-leave-active${Ee}-dropdown-placement-bottomLeft,
|
|
|
&${Xe}-slide-up-leave${Xe}-slide-up-leave-active${Ee}-dropdown-placement-bottomRight`]:{animationName:Xa.Uw},[`${Ee}-panel > ${Ee}-time-panel`]:{paddingTop:uo},[`${Ee}-range-wrapper`]:{display:"flex",position:"relative"},[`${Ee}-range-arrow`]:Object.assign(Object.assign({position:"absolute",zIndex:1,display:"none",paddingInline:ie.calc(Lt).mul(1.5).equal(),boxSizing:"content-box",transition:`all ${Ao} ease-out`},(0,xl.W)(ie,Ko,No)),{"&:before":{insetInlineStart:ie.calc(Lt).mul(1.5).equal()}}),[`${Ee}-panel-container`]:{overflow:"hidden",verticalAlign:"top",background:Ko,borderRadius:Go,boxShadow:Wo,transition:`margin ${Ao}`,display:"inline-block",pointerEvents:"auto",[`${Ee}-panel-layout`]:{display:"flex",flexWrap:"nowrap",alignItems:"stretch"},[`${Ee}-presets`]:{display:"flex",flexDirection:"column",minWidth:Eo,maxWidth:Ro,ul:{height:0,flex:"auto",listStyle:"none",overflow:"auto",margin:0,padding:Lr,borderInlineEnd:`${(0,Ii.unit)(Pn)} ${Vn} ${Qo}`,li:Object.assign(Object.assign({},cl.vS),{borderRadius:ci,paddingInline:Lr,paddingBlock:ie.calc(Dr).sub(vi).div(2).equal(),cursor:"pointer",transition:`all ${Ao}`,"+ li":{marginTop:Tr},"&:hover":{background:Fo}})}},[`${Ee}-panels`]:{display:"inline-flex",flexWrap:"nowrap","&:last-child":{[`${Ee}-panel`]:{borderWidth:0}}},[`${Ee}-panel`]:{verticalAlign:"top",background:"transparent",borderRadius:0,borderWidth:0,[`${Ee}-content, table`]:{textAlign:"center"},"&-focused":{borderColor:Gn}}}}),"&-dropdown-range":{padding:`${(0,Ii.unit)(ie.calc(ai).mul(2).div(3).equal())} 0`,"&-hidden":{display:"none"}},"&-rtl":{direction:"rtl",[`${Ee}-separator`]:{transform:"scale(-1, 1)"},[`${Ee}-footer`]:{"&-extra":{direction:"rtl"}}}})},(0,Xa.oN)(ie,"slide-up"),(0,Xa.oN)(ie,"slide-down"),(0,Al.Fm)(ie,"move-up"),(0,Al.Fm)(ie,"move-down")]};var _i=(0,Hl.I$)("DatePicker",ie=>{const Ee=(0,Yl.mergeToken)((0,wl.e)(ie),is(ie),{inputPaddingHorizontalBase:ie.calc(ie.paddingSM).sub(1).equal(),multipleSelectItemHeight:ie.multipleItemHeight,selectHeight:ie.controlHeight});return[_l(Ee),wa(Ee),Ci(Ee),Ma(Ee),rs(Ee),(0,el.c)(ie,{focusElCls:`${ie.componentCls}-focused`})]},$a),tl=z(68525);function Ka(ie,Ee,Xe){return Xe!==void 0?Xe:Ee==="year"&&ie.lang.yearPlaceholder?ie.lang.yearPlaceholder:Ee==="quarter"&&ie.lang.quarterPlaceholder?ie.lang.quarterPlaceholder:Ee==="month"&&ie.lang.monthPlaceholder?ie.lang.monthPlaceholder:Ee==="week"&&ie.lang.weekPlaceholder?ie.lang.weekPlaceholder:Ee==="time"&&ie.timePickerLocale.placeholder?ie.timePickerLocale.placeholder:ie.lang.placeholder}function nl(ie,Ee,Xe){return Xe!==void 0?Xe:Ee==="year"&&ie.lang.yearPlaceholder?ie.lang.rangeYearPlaceholder:Ee==="quarter"&&ie.lang.quarterPlaceholder?ie.lang.rangeQuarterPlaceholder:Ee==="month"&&ie.lang.monthPlaceholder?ie.lang.rangeMonthPlaceholder:Ee==="week"&&ie.lang.weekPlaceholder?ie.lang.rangeWeekPlaceholder:Ee==="time"&&ie.timePickerLocale.placeholder?ie.timePickerLocale.rangePlaceholder:ie.lang.rangePlaceholder}function _a(ie,Ee){const{allowClear:Xe=!0}=ie,{clearIcon:Dt,removeIcon:Lt}=(0,tl.Z)(Object.assign(Object.assign({},ie),{prefixCls:Ee,componentName:"DatePicker"}));return[se.useMemo(()=>Xe===!1?!1:Object.assign({clearIcon:Dt},Xe===!0?{}:Xe),[Xe,Dt]),Lt]}const[rl,ol]=["week","WeekPicker"],[kl,ls]=["month","MonthPicker"],[Ls,ms]=["year","YearPicker"],[ql,Xl]=["quarter","QuarterPicker"],[vl,es]=["time","TimePicker"];var $l=z(7939),Ys=ie=>se.createElement($l.ZP,Object.assign({size:"small",type:"primary"},ie));function Ps(ie){return(0,se.useMemo)(()=>Object.assign({button:Ys},ie),[ie])}var ss=function(ie,Ee){var Xe={};for(var Dt in ie)Object.prototype.hasOwnProperty.call(ie,Dt)&&Ee.indexOf(Dt)<0&&(Xe[Dt]=ie[Dt]);if(ie!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Lt=0,Dt=Object.getOwnPropertySymbols(ie);Lt<Dt.length;Lt++)Ee.indexOf(Dt[Lt])<0&&Object.prototype.propertyIsEnumerable.call(ie,Dt[Lt])&&(Xe[Dt[Lt]]=ie[Dt[Lt]]);return Xe},Gs=ie=>(0,se.forwardRef)((Xe,Dt)=>{var Lt;const{prefixCls:Pn,getPopupContainer:Vn,components:Gn,className:sr,style:hr,placement:Xn,size:Er,disabled:Fr,bordered:Ir=!0,placeholder:Dr,popupClassName:Mr,dropdownClassName:Lr,status:Tr,rootClassName:So,variant:lo,picker:Ur}=Xe,Ao=ss(Xe,["prefixCls","getPopupContainer","components","className","style","placement","size","disabled","bordered","placeholder","popupClassName","dropdownClassName","status","rootClassName","variant","picker"]),ro=se.useRef(null),{getPrefixCls:uo,direction:ai,getPopupContainer:Ko,rangePicker:Go}=(0,se.useContext)(si.E_),Wo=uo("picker",Pn),{compactSize:ci,compactItemClassnames:Qo}=(0,Oa.ri)(Wo,ai),Fo=uo(),[Eo,Ro]=(0,pa.Z)("rangePicker",lo,Ir),No=(0,Ri.Z)(Wo),[vi,di,Uo]=_i(Wo,No),[ei]=_a(Xe,Wo),Oo=Ps(Gn),Xo=(0,Li.Z)(An=>{var En;return(En=Er!=null?Er:ci)!==null&&En!==void 0?En:An}),Yo=se.useContext(da.Z),pi=Fr!=null?Fr:Yo,Bi=(0,se.useContext)(Oi.aM),{hasFeedback:Mi,status:ye,feedbackIcon:ge}=Bi,at=se.createElement(se.Fragment,null,Ur===vl?se.createElement(gt,null):se.createElement(dt,null),Mi&&ge);(0,se.useImperativeHandle)(Dt,()=>ro.current);const[wt]=(0,Ea.Z)("Calendar",Ya.Z),$t=Object.assign(Object.assign({},wt),Xe.locale),[an]=(0,ho.Cn)("DatePicker",(Lt=Xe.popupStyle)===null||Lt===void 0?void 0:Lt.zIndex);return vi(se.createElement(wo.Z,{space:!0},se.createElement(Ta,Object.assign({separator:se.createElement("span",{"aria-label":"to",className:`${Wo}-separator`},se.createElement(ve,null)),disabled:pi,ref:ro,placement:Xn,placeholder:nl($t,Ur,Dr),suffixIcon:at,prevIcon:se.createElement("span",{className:`${Wo}-prev-icon`}),nextIcon:se.createElement("span",{className:`${Wo}-next-icon`}),superPrevIcon:se.createElement("span",{className:`${Wo}-super-prev-icon`}),superNextIcon:se.createElement("span",{className:`${Wo}-super-next-icon`}),transitionName:`${Fo}-slide-up`,picker:Ur},Ao,{className:Gt()({[`${Wo}-${Xo}`]:Xo,[`${Wo}-${Eo}`]:Ro},(0,To.Z)(Wo,(0,To.F)(ye,Tr),Mi),di,Qo,sr,Go==null?void 0:Go.className,Uo,No,So),style:Object.assign(Object.assign({},Go==null?void 0:Go.style),hr),locale:$t.lang,prefixCls:Wo,getPopupContainer:Vn||Ko,generateConfig:ie,components:Oo,direction:ai,classNames:{popup:Gt()(di,Mr||Lr,Uo,No,So)},styles:{popup:Object.assign(Object.assign({},Xe.popupStyle),{zIndex:an})},allowClear:ei}))))}),xs=function(ie,Ee){var Xe={};for(var Dt in ie)Object.prototype.hasOwnProperty.call(ie,Dt)&&Ee.indexOf(Dt)<0&&(Xe[Dt]=ie[Dt]);if(ie!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Lt=0,Dt=Object.getOwnPropertySymbols(ie);Lt<Dt.length;Lt++)Ee.indexOf(Dt[Lt])<0&&Object.prototype.propertyIsEnumerable.call(ie,Dt[Lt])&&(Xe[Dt[Lt]]=ie[Dt[Lt]]);return Xe},Ts=ie=>{const Ee=(sr,hr)=>{const Xn=hr===es?"timePicker":"datePicker";return(0,se.forwardRef)((Fr,Ir)=>{var Dr;const{prefixCls:Mr,getPopupContainer:Lr,components:Tr,style:So,className:lo,rootClassName:Ur,size:Ao,bordered:ro,placement:uo,placeholder:ai,popupClassName:Ko,dropdownClassName:Go,disabled:Wo,status:ci,variant:Qo,onCalendarChange:Fo}=Fr,Eo=xs(Fr,["prefixCls","getPopupContainer","components","style","className","rootClassName","size","bordered","placement","placeholder","popupClassName","dropdownClassName","disabled","status","variant","onCalendarChange"]),{getPrefixCls:Ro,direction:No,getPopupContainer:vi,[Xn]:di}=(0,se.useContext)(si.E_),Uo=Ro("picker",Mr),{compactSize:ei,compactItemClassnames:Oo}=(0,Oa.ri)(Uo,No),Xo=se.useRef(null),[Yo,pi]=(0,pa.Z)("datePicker",Qo,ro),Bi=(0,Ri.Z)(Uo),[Mi,ye,ge]=_i(Uo,Bi);(0,se.useImperativeHandle)(Ir,()=>Xo.current);const at={showToday:!0},wt=sr||Fr.picker,$t=Ro(),{onSelect:an,multiple:An}=Eo,En=an&&sr==="time"&&!An,Mn=(po,xo,$o)=>{Fo==null||Fo(po,xo,$o),En&&an(po)},[Nn,ir]=_a(Fr,Uo),tr=Ps(Tr),Qn=(0,Li.Z)(po=>{var xo;return(xo=Ao!=null?Ao:ei)!==null&&xo!==void 0?xo:po}),Kn=se.useContext(da.Z),Hn=Wo!=null?Wo:Kn,Or=(0,se.useContext)(Oi.aM),{hasFeedback:cr,status:Hr,feedbackIcon:Nr}=Or,_r=se.createElement(se.Fragment,null,wt==="time"?se.createElement(gt,null):se.createElement(dt,null),cr&&Nr),[Wr]=(0,Ea.Z)("DatePicker",Ya.Z),Yr=Object.assign(Object.assign({},Wr),Fr.locale),[ao]=(0,ho.Cn)("DatePicker",(Dr=Fr.popupStyle)===null||Dr===void 0?void 0:Dr.zIndex);return Mi(se.createElement(wo.Z,{space:!0},se.createElement(mi,Object.assign({ref:Xo,placeholder:Ka(Yr,wt,ai),suffixIcon:_r,placement:uo,prevIcon:se.createElement("span",{className:`${Uo}-prev-icon`}),nextIcon:se.createElement("span",{className:`${Uo}-next-icon`}),superPrevIcon:se.createElement("span",{className:`${Uo}-super-prev-icon`}),superNextIcon:se.createElement("span",{className:`${Uo}-super-next-icon`}),transitionName:`${$t}-slide-up`,picker:sr,onCalendarChange:Mn},at,Eo,{locale:Yr.lang,className:Gt()({[`${Uo}-${Qn}`]:Qn,[`${Uo}-${Yo}`]:pi},(0,To.Z)(Uo,(0,To.F)(Hr,ci),cr),ye,Oo,di==null?void 0:di.className,lo,ge,Bi,Ur),style:Object.assign(Object.assign({},di==null?void 0:di.style),So),prefixCls:Uo,getPopupContainer:Lr||vi,generateConfig:ie,components:tr,direction:No,disabled:Hn,classNames:{popup:Gt()(ye,ge,Bi,Ur,Ko||Go)},styles:{popup:Object.assign(Object.assign({},Fr.popupStyle),{zIndex:ao})},allowClear:Nn,removeIcon:ir}))))})},Xe=Ee(),Dt=Ee(rl,ol),Lt=Ee(kl,ls),Pn=Ee(Ls,ms),Vn=Ee(ql,Xl),Gn=Ee(vl,es);return{DatePicker:Xe,WeekPicker:Dt,MonthPicker:Lt,YearPicker:Pn,TimePicker:Gn,QuarterPicker:Vn}},Rs=ie=>{const{DatePicker:Ee,WeekPicker:Xe,MonthPicker:Dt,YearPicker:Lt,TimePicker:Pn,QuarterPicker:Vn}=Ts(ie),Gn=Gs(ie),sr=Ee;return sr.WeekPicker=Xe,sr.MonthPicker=Dt,sr.YearPicker=Lt,sr.RangePicker=Gn,sr.TimePicker=Pn,sr.QuarterPicker=Vn,sr};const us=Rs(Mt),vs=(0,Ut.Z)(us,"popupAlign",void 0,"picker");us._InternalPanelDoNotUseOrYouWillBeFired=vs;const Ei=(0,Ut.Z)(us.RangePicker,"popupAlign",void 0,"picker");us._InternalRangePanelDoNotUseOrYouWillBeFired=Ei,us.generatePicker=Rs;var ps=us},37285:function(Yn,mn,z){"use strict";z.d(mn,{Z:function(){return Je}});var b=z(59301),Ce=z(92310),de=z.n(Ce),rt=z(48755),Oe=z(36237),xe=z(63356),Ae=z(16931),Ve=z(51636);const Be=tt=>{const{componentCls:je,sizePaddingEdgeHorizontal:We,colorSplit:ot,lineWidth:Mt,textPaddingInline:Ut,orientationMargin:se,verticalMarginInline:Me}=tt;return{[je]:Object.assign(Object.assign({},(0,xe.Wf)(tt)),{borderBlockStart:`${(0,Oe.unit)(Mt)} solid ${ot}`,"&-vertical":{position:"relative",top:"-0.06em",display:"inline-block",height:"0.9em",marginInline:Me,marginBlock:0,verticalAlign:"middle",borderTop:0,borderInlineStart:`${(0,Oe.unit)(Mt)} solid ${ot}`},"&-horizontal":{display:"flex",clear:"both",width:"100%",minWidth:"100%",margin:`${(0,Oe.unit)(tt.dividerHorizontalGutterMargin)} 0`},[`&-horizontal${je}-with-text`]:{display:"flex",alignItems:"center",margin:`${(0,Oe.unit)(tt.dividerHorizontalWithTextGutterMargin)} 0`,color:tt.colorTextHeading,fontWeight:500,fontSize:tt.fontSizeLG,whiteSpace:"nowrap",textAlign:"center",borderBlockStart:`0 ${ot}`,"&::before, &::after":{position:"relative",width:"50%",borderBlockStart:`${(0,Oe.unit)(Mt)} solid transparent`,borderBlockStartColor:"inherit",borderBlockEnd:0,transform:"translateY(50%)",content:"''"}},[`&-horizontal${je}-with-text-start`]:{"&::before":{width:`calc(${se} * 100%)`},"&::after":{width:`calc(100% - ${se} * 100%)`}},[`&-horizontal${je}-with-text-end`]:{"&::before":{width:`calc(100% - ${se} * 100%)`},"&::after":{width:`calc(${se} * 100%)`}},[`${je}-inner-text`]:{display:"inline-block",paddingBlock:0,paddingInline:Ut},"&-dashed":{background:"none",borderColor:ot,borderStyle:"dashed",borderWidth:`${(0,Oe.unit)(Mt)} 0 0`},[`&-horizontal${je}-with-text${je}-dashed`]:{"&::before, &::after":{borderStyle:"dashed none none"}},[`&-vertical${je}-dashed`]:{borderInlineStartWidth:Mt,borderInlineEnd:0,borderBlockStart:0,borderBlockEnd:0},"&-dotted":{background:"none",borderColor:ot,borderStyle:"dotted",borderWidth:`${(0,Oe.unit)(Mt)} 0 0`},[`&-horizontal${je}-with-text${je}-dotted`]:{"&::before, &::after":{borderStyle:"dotted none none"}},[`&-vertical${je}-dotted`]:{borderInlineStartWidth:Mt,borderInlineEnd:0,borderBlockStart:0,borderBlockEnd:0},[`&-plain${je}-with-text`]:{color:tt.colorText,fontWeight:"normal",fontSize:tt.fontSize},[`&-horizontal${je}-with-text-start${je}-no-default-orientation-margin-start`]:{"&::before":{width:0},"&::after":{width:"100%"},[`${je}-inner-text`]:{paddingInlineStart:We}},[`&-horizontal${je}-with-text-end${je}-no-default-orientation-margin-end`]:{"&::before":{width:"100%"},"&::after":{width:0},[`${je}-inner-text`]:{paddingInlineEnd:We}}})}},fe=tt=>({textPaddingInline:"1em",orientationMargin:.05,verticalMarginInline:tt.marginXS});var Ge=(0,Ae.I$)("Divider",tt=>{const je=(0,Ve.mergeToken)(tt,{dividerHorizontalWithTextGutterMargin:tt.margin,dividerHorizontalGutterMargin:tt.marginLG,sizePaddingEdgeHorizontal:0});return[Be(je)]},fe,{unitless:{orientationMargin:!0}}),be=function(tt,je){var We={};for(var ot in tt)Object.prototype.hasOwnProperty.call(tt,ot)&&je.indexOf(ot)<0&&(We[ot]=tt[ot]);if(tt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Mt=0,ot=Object.getOwnPropertySymbols(tt);Mt<ot.length;Mt++)je.indexOf(ot[Mt])<0&&Object.prototype.propertyIsEnumerable.call(tt,ot[Mt])&&(We[ot[Mt]]=tt[ot[Mt]]);return We},Je=tt=>{const{getPrefixCls:je,direction:We,className:ot,style:Mt}=(0,rt.dj)("divider"),{prefixCls:Ut,type:se="horizontal",orientation:Me="center",orientationMargin:st,className:mt,rootClassName:kt,children:Qe,dashed:ut,variant:dt="solid",plain:Fe,style:Ze}=tt,Se=be(tt,["prefixCls","type","orientation","orientationMargin","className","rootClassName","children","dashed","variant","plain","style"]),ue=je("divider",Ut),[gt,He,ke]=Ge(ue),Nt=!!Qe,De=b.useMemo(()=>Me==="left"?We==="rtl"?"end":"start":Me==="right"?We==="rtl"?"start":"end":Me,[We,Me]),ve=De==="start"&&st!=null,At=De==="end"&&st!=null,Gt=de()(ue,ot,He,ke,`${ue}-${se}`,{[`${ue}-with-text`]:Nt,[`${ue}-with-text-${De}`]:Nt,[`${ue}-dashed`]:!!ut,[`${ue}-${dt}`]:dt!=="solid",[`${ue}-plain`]:!!Fe,[`${ue}-rtl`]:We==="rtl",[`${ue}-no-default-orientation-margin-start`]:ve,[`${ue}-no-default-orientation-margin-end`]:At},mt,kt),Wt=b.useMemo(()=>typeof st=="number"?st:/^\d+$/.test(st)?Number(st):st,[st]),pe={marginInlineStart:ve?Wt:void 0,marginInlineEnd:At?Wt:void 0};return gt(b.createElement("div",Object.assign({className:Gt,style:Object.assign(Object.assign({},Mt),Ze)},Se,{role:"separator"}),Qe&&se!=="vertical"&&b.createElement("span",{className:`${ue}-inner-text`,style:pe},Qe)))}},36207:function(Yn,mn,z){"use strict";z.d(mn,{Z:function(){return lt}});var b=z(59301),Ce=z(92310),de=z.n(Ce),rt=z(85899),Oe=z(72190),xe=z(43403),Ae=z(34280),Ve=b.createContext(null),Be=b.createContext({}),fe=Ve,Ge=z(18642),be=z(60499),vt=z(77900),Je=z(10228),tt=z(26112),je=z(42244),We=z(8654),ot=["prefixCls","className","containerRef"],Mt=function(Ie){var ht=Ie.prefixCls,Et=Ie.className,Rt=Ie.containerRef,Te=(0,je.Z)(Ie,ot),Ke=b.useContext(Be),yn=Ke.panel,Ht=(0,We.x1)(yn,Rt);return b.createElement("div",(0,be.Z)({className:de()("".concat(ht,"-content"),Et),role:"dialog",ref:Ht},(0,tt.Z)(Ie,{aria:!0}),{"aria-modal":"true"},Te))},Ut=Mt,se=z(48736);function Me($e){return typeof $e=="string"&&String(Number($e))===$e?((0,se.ZP)(!1,"Invalid value type of `width` or `height` which should be number type instead."),Number($e)):$e}function st($e){warning(!("wrapperClassName"in $e),"'wrapperClassName' is removed. Please use 'rootClassName' instead."),warning(canUseDom()||!$e.open,"Drawer with 'open' in SSR is not work since no place to createPortal. Please move to 'useEffect' instead.")}var mt={width:0,height:0,overflow:"hidden",outline:"none",position:"absolute"};function kt($e,Ie){var ht,Et,Rt,Te=$e.prefixCls,Ke=$e.open,yn=$e.placement,Ht=$e.inline,bn=$e.push,fn=$e.forceRender,Xt=$e.autoFocus,on=$e.keyboard,gn=$e.classNames,ft=$e.rootClassName,Yt=$e.rootStyle,xn=$e.zIndex,St=$e.className,_e=$e.id,Vt=$e.style,tn=$e.motion,un=$e.width,Tn=$e.height,qn=$e.children,mr=$e.mask,vr=$e.maskClosable,Jn=$e.maskMotion,dr=$e.maskClassName,_t=$e.maskStyle,zt=$e.afterOpenChange,Sn=$e.onClose,wn=$e.onMouseEnter,vn=$e.onMouseOver,Rn=$e.onMouseLeave,Bt=$e.onClick,ln=$e.onKeyDown,Zt=$e.onKeyUp,pn=$e.styles,cn=$e.drawerRender,zn=b.useRef(),Ln=b.useRef(),rr=b.useRef();b.useImperativeHandle(Ie,function(){return zn.current});var _n=function(Pt){var Kt=Pt.keyCode,In=Pt.shiftKey;switch(Kt){case Je.Z.TAB:{if(Kt===Je.Z.TAB){if(!In&&document.activeElement===rr.current){var Zn;(Zn=Ln.current)===null||Zn===void 0||Zn.focus({preventScroll:!0})}else if(In&&document.activeElement===Ln.current){var kn;(kn=rr.current)===null||kn===void 0||kn.focus({preventScroll:!0})}}break}case Je.Z.ESC:{Sn&&on&&(Pt.stopPropagation(),Sn(Pt));break}}};b.useEffect(function(){if(Ke&&Xt){var xt;(xt=zn.current)===null||xt===void 0||xt.focus({preventScroll:!0})}},[Ke]);var rn=b.useState(!1),Fn=(0,Oe.Z)(rn,2),nn=Fn[0],er=Fn[1],It=b.useContext(fe),Qt;typeof bn=="boolean"?Qt=bn?{}:{distance:0}:Qt=bn||{};var ze=(ht=(Et=(Rt=Qt)===null||Rt===void 0?void 0:Rt.distance)!==null&&Et!==void 0?Et:It==null?void 0:It.pushDistance)!==null&&ht!==void 0?ht:180,yt=b.useMemo(function(){return{pushDistance:ze,push:function(){er(!0)},pull:function(){er(!1)}}},[ze]);b.useEffect(function(){if(Ke){var xt;It==null||(xt=It.push)===null||xt===void 0||xt.call(It)}else{var Pt;It==null||(Pt=It.pull)===null||Pt===void 0||Pt.call(It)}},[Ke]),b.useEffect(function(){return function(){var xt;It==null||(xt=It.pull)===null||xt===void 0||xt.call(It)}},[]);var Ye=mr&&b.createElement(vt.default,(0,be.Z)({key:"mask"},Jn,{visible:Ke}),function(xt,Pt){var Kt=xt.className,In=xt.style;return b.createElement("div",{className:de()("".concat(Te,"-mask"),Kt,gn==null?void 0:gn.mask,dr),style:(0,rt.Z)((0,rt.Z)((0,rt.Z)({},In),_t),pn==null?void 0:pn.mask),onClick:vr&&Ke?Sn:void 0,ref:Pt})}),Ct=typeof tn=="function"?tn(yn):tn,qt={};if(nn&&ze)switch(yn){case"top":qt.transform="translateY(".concat(ze,"px)");break;case"bottom":qt.transform="translateY(".concat(-ze,"px)");break;case"left":qt.transform="translateX(".concat(ze,"px)");break;default:qt.transform="translateX(".concat(-ze,"px)");break}yn==="left"||yn==="right"?qt.width=Me(un):qt.height=Me(Tn);var nr={onMouseEnter:wn,onMouseOver:vn,onMouseLeave:Rn,onClick:Bt,onKeyDown:ln,onKeyUp:Zt},ar=b.createElement(vt.default,(0,be.Z)({key:"panel"},Ct,{visible:Ke,forceRender:fn,onVisibleChanged:function(Pt){zt==null||zt(Pt)},removeOnLeave:!1,leavedClassName:"".concat(Te,"-content-wrapper-hidden")}),function(xt,Pt){var Kt=xt.className,In=xt.style,Zn=b.createElement(Ut,(0,be.Z)({id:_e,containerRef:Pt,prefixCls:Te,className:de()(St,gn==null?void 0:gn.content),style:(0,rt.Z)((0,rt.Z)({},Vt),pn==null?void 0:pn.content)},(0,tt.Z)($e,{aria:!0}),nr),qn);return b.createElement("div",(0,be.Z)({className:de()("".concat(Te,"-content-wrapper"),gn==null?void 0:gn.wrapper,Kt),style:(0,rt.Z)((0,rt.Z)((0,rt.Z)({},qt),In),pn==null?void 0:pn.wrapper)},(0,tt.Z)($e,{data:!0})),cn?cn(Zn):Zn)}),pt=(0,rt.Z)({},Yt);return xn&&(pt.zIndex=xn),b.createElement(fe.Provider,{value:yt},b.createElement("div",{className:de()(Te,"".concat(Te,"-").concat(yn),ft,(0,Ge.Z)((0,Ge.Z)({},"".concat(Te,"-open"),Ke),"".concat(Te,"-inline"),Ht)),style:pt,tabIndex:-1,ref:zn,onKeyDown:_n},Ye,b.createElement("div",{tabIndex:0,ref:Ln,style:mt,"aria-hidden":"true","data-sentinel":"start"}),ar,b.createElement("div",{tabIndex:0,ref:rr,style:mt,"aria-hidden":"true","data-sentinel":"end"})))}var Qe=b.forwardRef(kt),ut=Qe,dt=function(Ie){var ht=Ie.open,Et=ht===void 0?!1:ht,Rt=Ie.prefixCls,Te=Rt===void 0?"rc-drawer":Rt,Ke=Ie.placement,yn=Ke===void 0?"right":Ke,Ht=Ie.autoFocus,bn=Ht===void 0?!0:Ht,fn=Ie.keyboard,Xt=fn===void 0?!0:fn,on=Ie.width,gn=on===void 0?378:on,ft=Ie.mask,Yt=ft===void 0?!0:ft,xn=Ie.maskClosable,St=xn===void 0?!0:xn,_e=Ie.getContainer,Vt=Ie.forceRender,tn=Ie.afterOpenChange,un=Ie.destroyOnClose,Tn=Ie.onMouseEnter,qn=Ie.onMouseOver,mr=Ie.onMouseLeave,vr=Ie.onClick,Jn=Ie.onKeyDown,dr=Ie.onKeyUp,_t=Ie.panelRef,zt=b.useState(!1),Sn=(0,Oe.Z)(zt,2),wn=Sn[0],vn=Sn[1],Rn=b.useState(!1),Bt=(0,Oe.Z)(Rn,2),ln=Bt[0],Zt=Bt[1];(0,Ae.Z)(function(){Zt(!0)},[]);var pn=ln?Et:!1,cn=b.useRef(),zn=b.useRef();(0,Ae.Z)(function(){pn&&(zn.current=document.activeElement)},[pn]);var Ln=function(nn){var er;if(vn(nn),tn==null||tn(nn),!nn&&zn.current&&!((er=cn.current)!==null&&er!==void 0&&er.contains(zn.current))){var It;(It=zn.current)===null||It===void 0||It.focus({preventScroll:!0})}},rr=b.useMemo(function(){return{panel:_t}},[_t]);if(!Vt&&!wn&&!pn&&un)return null;var _n={onMouseEnter:Tn,onMouseOver:qn,onMouseLeave:mr,onClick:vr,onKeyDown:Jn,onKeyUp:dr},rn=(0,rt.Z)((0,rt.Z)({},Ie),{},{open:pn,prefixCls:Te,placement:yn,autoFocus:bn,keyboard:Xt,width:gn,mask:Yt,maskClosable:St,inline:_e===!1,afterOpenChange:Ln,ref:cn},_n);return b.createElement(Be.Provider,{value:rr},b.createElement(xe.Z,{open:pn||Vt||wn,autoDestroy:!1,getContainer:_e,autoLock:Yt&&(pn||wn)},b.createElement(ut,rn)))},Fe=dt,Ze=Fe,Se=z(62487),ue=z(75030),gt=z(86641),He=z(55743),ke=z(48755),Nt=z(91190),De=z(78776),ve=z(458),Gt=$e=>{var Ie,ht;const{prefixCls:Et,title:Rt,footer:Te,extra:Ke,loading:yn,onClose:Ht,headerStyle:bn,bodyStyle:fn,footerStyle:Xt,children:on,classNames:gn,styles:ft}=$e,Yt=(0,ke.dj)("drawer"),xn=b.useCallback(un=>b.createElement("button",{type:"button",onClick:Ht,"aria-label":"Close",className:`${Et}-close`},un),[Ht]),[St,_e]=(0,De.Z)((0,De.w)($e),(0,De.w)(Yt),{closable:!0,closeIconRender:xn}),Vt=b.useMemo(()=>{var un,Tn;return!Rt&&!St?null:b.createElement("div",{style:Object.assign(Object.assign(Object.assign({},(un=Yt.styles)===null||un===void 0?void 0:un.header),bn),ft==null?void 0:ft.header),className:de()(`${Et}-header`,{[`${Et}-header-close-only`]:St&&!Rt&&!Ke},(Tn=Yt.classNames)===null||Tn===void 0?void 0:Tn.header,gn==null?void 0:gn.header)},b.createElement("div",{className:`${Et}-header-title`},_e,Rt&&b.createElement("div",{className:`${Et}-title`},Rt)),Ke&&b.createElement("div",{className:`${Et}-extra`},Ke))},[St,_e,Ke,bn,Et,Rt]),tn=b.useMemo(()=>{var un,Tn;if(!Te)return null;const qn=`${Et}-footer`;return b.createElement("div",{className:de()(qn,(un=Yt.classNames)===null||un===void 0?void 0:un.footer,gn==null?void 0:gn.footer),style:Object.assign(Object.assign(Object.assign({},(Tn=Yt.styles)===null||Tn===void 0?void 0:Tn.footer),Xt),ft==null?void 0:ft.footer)},Te)},[Te,Xt,Et]);return b.createElement(b.Fragment,null,Vt,b.createElement("div",{className:de()(`${Et}-body`,gn==null?void 0:gn.body,(Ie=Yt.classNames)===null||Ie===void 0?void 0:Ie.body),style:Object.assign(Object.assign(Object.assign({},(ht=Yt.styles)===null||ht===void 0?void 0:ht.body),fn),ft==null?void 0:ft.body)},yn?b.createElement(ve.Z,{active:!0,title:!1,paragraph:{rows:5},className:`${Et}-body-skeleton`}):on),tn)},Wt=z(36237),pe=z(63356),Re=z(16931),Ue=z(51636);const Jt=$e=>{const Ie="100%";return{left:`translateX(-${Ie})`,right:`translateX(${Ie})`,top:`translateY(-${Ie})`,bottom:`translateY(${Ie})`}[$e]},et=($e,Ie)=>({"&-enter, &-appear":Object.assign(Object.assign({},$e),{"&-active":Ie}),"&-leave":Object.assign(Object.assign({},Ie),{"&-active":$e})}),jt=($e,Ie)=>Object.assign({"&-enter, &-appear, &-leave":{"&-start":{transition:"none"},"&-active":{transition:`all ${Ie}`}}},et({opacity:$e},{opacity:1})),ct=($e,Ie)=>[jt(.7,Ie),et({transform:Jt($e)},{transform:"none"})];var bt=$e=>{const{componentCls:Ie,motionDurationSlow:ht}=$e;return{[Ie]:{[`${Ie}-mask-motion`]:jt(0,ht),[`${Ie}-panel-motion`]:["left","right","top","bottom"].reduce((Et,Rt)=>Object.assign(Object.assign({},Et),{[`&-${Rt}`]:ct(Rt,ht)}),{})}}};const le=$e=>{const{borderRadiusSM:Ie,componentCls:ht,zIndexPopup:Et,colorBgMask:Rt,colorBgElevated:Te,motionDurationSlow:Ke,motionDurationMid:yn,paddingXS:Ht,padding:bn,paddingLG:fn,fontSizeLG:Xt,lineHeightLG:on,lineWidth:gn,lineType:ft,colorSplit:Yt,marginXS:xn,colorIcon:St,colorIconHover:_e,colorBgTextHover:Vt,colorBgTextActive:tn,colorText:un,fontWeightStrong:Tn,footerPaddingBlock:qn,footerPaddingInline:mr,calc:vr}=$e,Jn=`${ht}-content-wrapper`;return{[ht]:{position:"fixed",inset:0,zIndex:Et,pointerEvents:"none",color:un,"&-pure":{position:"relative",background:Te,display:"flex",flexDirection:"column",[`&${ht}-left`]:{boxShadow:$e.boxShadowDrawerLeft},[`&${ht}-right`]:{boxShadow:$e.boxShadowDrawerRight},[`&${ht}-top`]:{boxShadow:$e.boxShadowDrawerUp},[`&${ht}-bottom`]:{boxShadow:$e.boxShadowDrawerDown}},"&-inline":{position:"absolute"},[`${ht}-mask`]:{position:"absolute",inset:0,zIndex:Et,background:Rt,pointerEvents:"auto"},[Jn]:{position:"absolute",zIndex:Et,maxWidth:"100vw",transition:`all ${Ke}`,"&-hidden":{display:"none"}},[`&-left > ${Jn}`]:{top:0,bottom:0,left:{_skip_check_:!0,value:0},boxShadow:$e.boxShadowDrawerLeft},[`&-right > ${Jn}`]:{top:0,right:{_skip_check_:!0,value:0},bottom:0,boxShadow:$e.boxShadowDrawerRight},[`&-top > ${Jn}`]:{top:0,insetInline:0,boxShadow:$e.boxShadowDrawerUp},[`&-bottom > ${Jn}`]:{bottom:0,insetInline:0,boxShadow:$e.boxShadowDrawerDown},[`${ht}-content`]:{display:"flex",flexDirection:"column",width:"100%",height:"100%",overflow:"auto",background:Te,pointerEvents:"auto"},[`${ht}-header`]:{display:"flex",flex:0,alignItems:"center",padding:`${(0,Wt.unit)(bn)} ${(0,Wt.unit)(fn)}`,fontSize:Xt,lineHeight:on,borderBottom:`${(0,Wt.unit)(gn)} ${ft} ${Yt}`,"&-title":{display:"flex",flex:1,alignItems:"center",minWidth:0,minHeight:0}},[`${ht}-extra`]:{flex:"none"},[`${ht}-close`]:Object.assign({display:"inline-flex",width:vr(Xt).add(Ht).equal(),height:vr(Xt).add(Ht).equal(),borderRadius:Ie,justifyContent:"center",alignItems:"center",marginInlineEnd:xn,color:St,fontWeight:Tn,fontSize:Xt,fontStyle:"normal",lineHeight:1,textAlign:"center",textTransform:"none",textDecoration:"none",background:"transparent",border:0,cursor:"pointer",transition:`all ${yn}`,textRendering:"auto","&:hover":{color:_e,backgroundColor:Vt,textDecoration:"none"},"&:active":{backgroundColor:tn}},(0,pe.Qy)($e)),[`${ht}-title`]:{flex:1,margin:0,fontWeight:$e.fontWeightStrong,fontSize:Xt,lineHeight:on},[`${ht}-body`]:{flex:1,minWidth:0,minHeight:0,padding:fn,overflow:"auto",[`${ht}-body-skeleton`]:{width:"100%",height:"100%",display:"flex",justifyContent:"center"}},[`${ht}-footer`]:{flexShrink:0,padding:`${(0,Wt.unit)(qn)} ${(0,Wt.unit)(mr)}`,borderTop:`${(0,Wt.unit)(gn)} ${ft} ${Yt}`},"&-rtl":{direction:"rtl"}}}},ne=$e=>({zIndexPopup:$e.zIndexPopupBase,footerPaddingBlock:$e.paddingXS,footerPaddingInline:$e.padding});var te=(0,Re.I$)("Drawer",$e=>{const Ie=(0,Ue.mergeToken)($e,{});return[le(Ie),bt(Ie)]},ne),ae=function($e,Ie){var ht={};for(var Et in $e)Object.prototype.hasOwnProperty.call($e,Et)&&Ie.indexOf(Et)<0&&(ht[Et]=$e[Et]);if($e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Rt=0,Et=Object.getOwnPropertySymbols($e);Rt<Et.length;Rt++)Ie.indexOf(Et[Rt])<0&&Object.prototype.propertyIsEnumerable.call($e,Et[Rt])&&(ht[Et[Rt]]=$e[Et[Rt]]);return ht};const he=null,re={distance:180},ce=$e=>{var Ie;const{rootClassName:ht,width:Et,height:Rt,size:Te="default",mask:Ke=!0,push:yn=re,open:Ht,afterOpenChange:bn,onClose:fn,prefixCls:Xt,getContainer:on,style:gn,className:ft,visible:Yt,afterVisibleChange:xn,maskStyle:St,drawerStyle:_e,contentWrapperStyle:Vt}=$e,tn=ae($e,["rootClassName","width","height","size","mask","push","open","afterOpenChange","onClose","prefixCls","getContainer","style","className","visible","afterVisibleChange","maskStyle","drawerStyle","contentWrapperStyle"]),{getPopupContainer:un,getPrefixCls:Tn,direction:qn,className:mr,style:vr,classNames:Jn,styles:dr}=(0,ke.dj)("drawer"),_t=Tn("drawer",Xt),[zt,Sn,wn]=te(_t),vn=on===void 0&&un?()=>un(document.body):on,Rn=de()({"no-mask":!Ke,[`${_t}-rtl`]:qn==="rtl"},ht,Sn,wn),Bt=b.useMemo(()=>Et!=null?Et:Te==="large"?736:378,[Et,Te]),ln=b.useMemo(()=>Rt!=null?Rt:Te==="large"?736:378,[Rt,Te]),Zt={motionName:(0,gt.m)(_t,"mask-motion"),motionAppear:!0,motionEnter:!0,motionLeave:!0,motionDeadline:500},pn=rn=>({motionName:(0,gt.m)(_t,`panel-motion-${rn}`),motionAppear:!0,motionEnter:!0,motionLeave:!0,motionDeadline:500}),cn=(0,Nt.H)(),[zn,Ln]=(0,ue.Cn)("Drawer",tn.zIndex),{classNames:rr={},styles:_n={}}=tn;return zt(b.createElement(Se.Z,{form:!0,space:!0},b.createElement(He.Z.Provider,{value:Ln},b.createElement(Ze,Object.assign({prefixCls:_t,onClose:fn,maskMotion:Zt,motion:pn},tn,{classNames:{mask:de()(rr.mask,Jn.mask),content:de()(rr.content,Jn.content),wrapper:de()(rr.wrapper,Jn.wrapper)},styles:{mask:Object.assign(Object.assign(Object.assign({},_n.mask),St),dr.mask),content:Object.assign(Object.assign(Object.assign({},_n.content),_e),dr.content),wrapper:Object.assign(Object.assign(Object.assign({},_n.wrapper),Vt),dr.wrapper)},open:Ht!=null?Ht:Yt,mask:Ke,push:yn,width:Bt,height:ln,style:Object.assign(Object.assign({},vr),gn),className:de()(mr,ft),rootClassName:Rn,getContainer:vn,afterOpenChange:bn!=null?bn:xn,panelRef:cn,zIndex:zn}),b.createElement(Gt,Object.assign({prefixCls:_t},tn,{onClose:fn}))))))},Pe=$e=>{const{prefixCls:Ie,style:ht,className:Et,placement:Rt="right"}=$e,Te=ae($e,["prefixCls","style","className","placement"]),{getPrefixCls:Ke}=b.useContext(ke.E_),yn=Ke("drawer",Ie),[Ht,bn,fn]=te(yn),Xt=de()(yn,`${yn}-pure`,`${yn}-${Rt}`,bn,fn,Et);return Ht(b.createElement("div",{className:Xt,style:ht},b.createElement(Gt,Object.assign({prefixCls:yn},Te))))};ce._InternalPanelDoNotUseOrYouWillBeFired=Pe;var lt=ce},19563:function(Yn,mn,z){"use strict";z.d(mn,{Z:function(){return Wt}});var b=z(59301),Ce=z(33853),de=z(38819),rt=z(92310),Oe=z.n(rt),xe=z(96478),Ae=z(6089),Ve=z(18929),Be=z(2738),fe=z(75030),be=pe=>typeof pe!="object"&&typeof pe!="function"||pe===null,vt=z(52838),Je=z(45915),tt=z(22703),je=z(32383),We=z(55743),ot=z(48755),Mt=z(83397),Ut=z(93041),se=z(78857),Me=z(57700),st=z(36237),mt=z(63356),kt=z(46e3),Qe=z(93873),ut=z(34925),dt=z(37645),Fe=z(36305),Ze=z(16931),Se=z(51636),gt=pe=>{const{componentCls:Re,menuCls:Ue,colorError:Jt,colorTextLightSolid:et}=pe,jt=`${Ue}-item`;return{[`${Re}, ${Re}-menu-submenu`]:{[`${Ue} ${jt}`]:{[`&${jt}-danger:not(${jt}-disabled)`]:{color:Jt,"&:hover":{color:et,backgroundColor:Jt}}}}}};const He=pe=>{const{componentCls:Re,menuCls:Ue,zIndexPopup:Jt,dropdownArrowDistance:et,sizePopupArrow:jt,antCls:ct,iconCls:dn,motionDurationMid:bt,paddingBlock:le,fontSize:ne,dropdownEdgeChildPadding:te,colorTextDisabled:ae,fontSizeIcon:he,controlPaddingHorizontal:re,colorBgElevated:ce}=pe;return[{[Re]:{position:"absolute",top:-9999,left:{_skip_check_:!0,value:-9999},zIndex:Jt,display:"block","&::before":{position:"absolute",insetBlock:pe.calc(jt).div(2).sub(et).equal(),zIndex:-9999,opacity:1e-4,content:'""'},"&-menu-vertical":{maxHeight:"100vh",overflowY:"auto"},[`&-trigger${ct}-btn`]:{[`& > ${dn}-down, & > ${ct}-btn-icon > ${dn}-down`]:{fontSize:he}},[`${Re}-wrap`]:{position:"relative",[`${ct}-btn > ${dn}-down`]:{fontSize:he},[`${dn}-down::before`]:{transition:`transform ${bt}`}},[`${Re}-wrap-open`]:{[`${dn}-down::before`]:{transform:"rotate(180deg)"}},"\n &-hidden,\n &-menu-hidden,\n &-menu-submenu-hidden\n ":{display:"none"},[`&${ct}-slide-down-enter${ct}-slide-down-enter-active${Re}-placement-bottomLeft,
|
|
|
&${ct}-slide-down-appear${ct}-slide-down-appear-active${Re}-placement-bottomLeft,
|
|
|
&${ct}-slide-down-enter${ct}-slide-down-enter-active${Re}-placement-bottom,
|
|
|
&${ct}-slide-down-appear${ct}-slide-down-appear-active${Re}-placement-bottom,
|
|
|
&${ct}-slide-down-enter${ct}-slide-down-enter-active${Re}-placement-bottomRight,
|
|
|
&${ct}-slide-down-appear${ct}-slide-down-appear-active${Re}-placement-bottomRight`]:{animationName:kt.fJ},[`&${ct}-slide-up-enter${ct}-slide-up-enter-active${Re}-placement-topLeft,
|
|
|
&${ct}-slide-up-appear${ct}-slide-up-appear-active${Re}-placement-topLeft,
|
|
|
&${ct}-slide-up-enter${ct}-slide-up-enter-active${Re}-placement-top,
|
|
|
&${ct}-slide-up-appear${ct}-slide-up-appear-active${Re}-placement-top,
|
|
|
&${ct}-slide-up-enter${ct}-slide-up-enter-active${Re}-placement-topRight,
|
|
|
&${ct}-slide-up-appear${ct}-slide-up-appear-active${Re}-placement-topRight`]:{animationName:kt.Qt},[`&${ct}-slide-down-leave${ct}-slide-down-leave-active${Re}-placement-bottomLeft,
|
|
|
&${ct}-slide-down-leave${ct}-slide-down-leave-active${Re}-placement-bottom,
|
|
|
&${ct}-slide-down-leave${ct}-slide-down-leave-active${Re}-placement-bottomRight`]:{animationName:kt.Uw},[`&${ct}-slide-up-leave${ct}-slide-up-leave-active${Re}-placement-topLeft,
|
|
|
&${ct}-slide-up-leave${ct}-slide-up-leave-active${Re}-placement-top,
|
|
|
&${ct}-slide-up-leave${ct}-slide-up-leave-active${Re}-placement-topRight`]:{animationName:kt.ly}}},(0,dt.ZP)(pe,ce,{arrowPlacement:{top:!0,bottom:!0}}),{[`${Re} ${Ue}`]:{position:"relative",margin:0},[`${Ue}-submenu-popup`]:{position:"absolute",zIndex:Jt,background:"transparent",boxShadow:"none",transformOrigin:"0 0","ul, li":{listStyle:"none",margin:0}},[`${Re}, ${Re}-menu-submenu`]:Object.assign(Object.assign({},(0,mt.Wf)(pe)),{[Ue]:Object.assign(Object.assign({padding:te,listStyleType:"none",backgroundColor:ce,backgroundClip:"padding-box",borderRadius:pe.borderRadiusLG,outline:"none",boxShadow:pe.boxShadowSecondary},(0,mt.Qy)(pe)),{"&:empty":{padding:0,boxShadow:"none"},[`${Ue}-item-group-title`]:{padding:`${(0,st.unit)(le)} ${(0,st.unit)(re)}`,color:pe.colorTextDescription,transition:`all ${bt}`},[`${Ue}-item`]:{position:"relative",display:"flex",alignItems:"center"},[`${Ue}-item-icon`]:{minWidth:ne,marginInlineEnd:pe.marginXS,fontSize:pe.fontSizeSM},[`${Ue}-title-content`]:{flex:"auto","&-with-extra":{display:"inline-flex",alignItems:"center",width:"100%"},"> a":{color:"inherit",transition:`all ${bt}`,"&:hover":{color:"inherit"},"&::after":{position:"absolute",inset:0,content:'""'}},[`${Ue}-item-extra`]:{paddingInlineStart:pe.padding,marginInlineStart:"auto",fontSize:pe.fontSizeSM,color:pe.colorTextDescription}},[`${Ue}-item, ${Ue}-submenu-title`]:Object.assign(Object.assign({display:"flex",margin:0,padding:`${(0,st.unit)(le)} ${(0,st.unit)(re)}`,color:pe.colorText,fontWeight:"normal",fontSize:ne,lineHeight:pe.lineHeight,cursor:"pointer",transition:`all ${bt}`,borderRadius:pe.borderRadiusSM,"&:hover, &-active":{backgroundColor:pe.controlItemBgHover}},(0,mt.Qy)(pe)),{"&-selected":{color:pe.colorPrimary,backgroundColor:pe.controlItemBgActive,"&:hover, &-active":{backgroundColor:pe.controlItemBgActiveHover}},"&-disabled":{color:ae,cursor:"not-allowed","&:hover":{color:ae,backgroundColor:ce,cursor:"not-allowed"},a:{pointerEvents:"none"}},"&-divider":{height:1,margin:`${(0,st.unit)(pe.marginXXS)} 0`,overflow:"hidden",lineHeight:0,backgroundColor:pe.colorSplit},[`${Re}-menu-submenu-expand-icon`]:{position:"absolute",insetInlineEnd:pe.paddingXS,[`${Re}-menu-submenu-arrow-icon`]:{marginInlineEnd:"0 !important",color:pe.colorTextDescription,fontSize:he,fontStyle:"normal"}}}),[`${Ue}-item-group-list`]:{margin:`0 ${(0,st.unit)(pe.marginXS)}`,padding:0,listStyle:"none"},[`${Ue}-submenu-title`]:{paddingInlineEnd:pe.calc(re).add(pe.fontSizeSM).equal()},[`${Ue}-submenu-vertical`]:{position:"relative"},[`${Ue}-submenu${Ue}-submenu-disabled ${Re}-menu-submenu-title`]:{[`&, ${Re}-menu-submenu-arrow-icon`]:{color:ae,backgroundColor:ce,cursor:"not-allowed"}},[`${Ue}-submenu-selected ${Re}-menu-submenu-title`]:{color:pe.colorPrimary}})})},[(0,kt.oN)(pe,"slide-up"),(0,kt.oN)(pe,"slide-down"),(0,Qe.Fm)(pe,"move-up"),(0,Qe.Fm)(pe,"move-down"),(0,ut._y)(pe,"zoom-big")]]},ke=pe=>Object.assign(Object.assign({zIndexPopup:pe.zIndexPopupBase+50,paddingBlock:(pe.controlHeight-pe.fontSize*pe.lineHeight)/2},(0,dt.wZ)({contentRadius:pe.borderRadiusLG,limitVerticalRadius:!0})),(0,Fe.w)(pe));var Nt=(0,Ze.I$)("Dropdown",pe=>{const{marginXXS:Re,sizePopupArrow:Ue,paddingXXS:Jt,componentCls:et}=pe,jt=(0,Se.mergeToken)(pe,{menuCls:`${et}-menu`,dropdownArrowDistance:pe.calc(Ue).div(2).add(Re).equal(),dropdownEdgeChildPadding:Jt});return[He(jt),gt(jt)]},ke,{resetStyle:!1});const De=null,ve=pe=>{var Re;const{menu:Ue,arrow:Jt,prefixCls:et,children:jt,trigger:ct,disabled:dn,dropdownRender:bt,getPopupContainer:le,overlayClassName:ne,rootClassName:te,overlayStyle:ae,open:he,onOpenChange:re,visible:ce,onVisibleChange:Pe,mouseEnterDelay:lt=.15,mouseLeaveDelay:$e=.1,autoAdjustOverflow:Ie=!0,placement:ht="",overlay:Et,transitionName:Rt}=pe,{getPopupContainer:Te,getPrefixCls:Ke,direction:yn,dropdown:Ht}=b.useContext(ot.E_),bn=(0,je.ln)("Dropdown"),fn=b.useMemo(()=>{const vn=Ke();return Rt!==void 0?Rt:ht.includes("top")?`${vn}-slide-down`:`${vn}-slide-up`},[Ke,ht,Rt]),Xt=b.useMemo(()=>ht?ht.includes("Center")?ht.slice(0,ht.indexOf("Center")):ht:yn==="rtl"?"bottomRight":"bottomLeft",[ht,yn]),on=Ke("dropdown",et),gn=(0,Mt.Z)(on),[ft,Yt,xn]=Nt(on,gn),[,St]=(0,Me.ZP)(),_e=b.Children.only(be(jt)?b.createElement("span",null,jt):jt),Vt=(0,tt.Tm)(_e,{className:Oe()(`${on}-trigger`,{[`${on}-rtl`]:yn==="rtl"},_e.props.className),disabled:(Re=_e.props.disabled)!==null&&Re!==void 0?Re:dn}),tn=dn?[]:ct,un=!!(tn!=null&&tn.includes("contextMenu")),[Tn,qn]=(0,Ve.Z)(!1,{value:he!=null?he:ce}),mr=(0,Ae.Z)(vn=>{re==null||re(vn,{source:"trigger"}),Pe==null||Pe(vn),qn(vn)}),vr=Oe()(ne,te,Yt,xn,gn,Ht==null?void 0:Ht.className,{[`${on}-rtl`]:yn==="rtl"}),Jn=(0,vt.Z)({arrowPointAtCenter:typeof Jt=="object"&&Jt.pointAtCenter,autoAdjustOverflow:Ie,offset:St.marginXXS,arrowWidth:Jt?St.sizePopupArrow:0,borderRadius:St.borderRadius}),dr=b.useCallback(()=>{Ue!=null&&Ue.selectable&&(Ue!=null&&Ue.multiple)||(re==null||re(!1,{source:"menu"}),qn(!1))},[Ue==null?void 0:Ue.selectable,Ue==null?void 0:Ue.multiple]),_t=()=>{let vn;return Ue!=null&&Ue.items?vn=b.createElement(Ut.default,Object.assign({},Ue)):typeof Et=="function"?vn=Et():vn=Et,bt&&(vn=bt(vn)),vn=b.Children.only(typeof vn=="string"?b.createElement("span",null,vn):vn),b.createElement(se.J,{prefixCls:`${on}-menu`,rootClassName:Oe()(xn,gn),expandIcon:b.createElement("span",{className:`${on}-menu-submenu-arrow`},yn==="rtl"?b.createElement(Ce.Z,{className:`${on}-menu-submenu-arrow-icon`}):b.createElement(de.Z,{className:`${on}-menu-submenu-arrow-icon`})),mode:"vertical",selectable:!1,onClick:dr,validator:Rn=>{let{mode:Bt}=Rn}},vn)},[zt,Sn]=(0,fe.Cn)("Dropdown",ae==null?void 0:ae.zIndex);let wn=b.createElement(xe.Z,Object.assign({alignPoint:un},(0,Be.Z)(pe,["rootClassName"]),{mouseEnterDelay:lt,mouseLeaveDelay:$e,visible:Tn,builtinPlacements:Jn,arrow:!!Jt,overlayClassName:vr,prefixCls:on,getPopupContainer:le||Te,transitionName:fn,trigger:tn,overlay:_t,placement:Xt,onVisibleChange:mr,overlayStyle:Object.assign(Object.assign(Object.assign({},Ht==null?void 0:Ht.style),ae),{zIndex:zt})}),Vt);return zt&&(wn=b.createElement(We.Z.Provider,{value:Sn},wn)),ft(wn)},At=(0,Je.Z)(ve,"align",void 0,"dropdown",pe=>pe),Gt=pe=>b.createElement(At,Object.assign({},pe),b.createElement("span",null));ve._InternalPanelDoNotUseOrYouWillBeFired=Gt;var Wt=ve},75727:function(Yn,mn,z){"use strict";z.d(mn,{Z:function(){return Je}});var b=z(19563),Ce=z(59301),de=z(18785),rt=z(92310),Oe=z.n(rt),xe=z(7939),Ae=z(48755),Ve=z(44104),Be=z(70045),fe=function(tt,je){var We={};for(var ot in tt)Object.prototype.hasOwnProperty.call(tt,ot)&&je.indexOf(ot)<0&&(We[ot]=tt[ot]);if(tt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Mt=0,ot=Object.getOwnPropertySymbols(tt);Mt<ot.length;Mt++)je.indexOf(ot[Mt])<0&&Object.prototype.propertyIsEnumerable.call(tt,ot[Mt])&&(We[ot[Mt]]=tt[ot[Mt]]);return We};const Ge=tt=>{const{getPopupContainer:je,getPrefixCls:We,direction:ot}=Ce.useContext(Ae.E_),{prefixCls:Mt,type:Ut="default",danger:se,disabled:Me,loading:st,onClick:mt,htmlType:kt,children:Qe,className:ut,menu:dt,arrow:Fe,autoFocus:Ze,overlay:Se,trigger:ue,align:gt,open:He,onOpenChange:ke,placement:Nt,getPopupContainer:De,href:ve,icon:At=Ce.createElement(de.Z,null),title:Gt,buttonsRender:Wt=lt=>lt,mouseEnterDelay:pe,mouseLeaveDelay:Re,overlayClassName:Ue,overlayStyle:Jt,destroyPopupOnHide:et,dropdownRender:jt}=tt,ct=fe(tt,["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"]),dn=We("dropdown",Mt),bt=`${dn}-button`,le={menu:dt,arrow:Fe,autoFocus:Ze,align:gt,disabled:Me,trigger:Me?[]:ue,onOpenChange:ke,getPopupContainer:De||je,mouseEnterDelay:pe,mouseLeaveDelay:Re,overlayClassName:Ue,overlayStyle:Jt,destroyPopupOnHide:et,dropdownRender:jt},{compactSize:ne,compactItemClassnames:te}=(0,Be.ri)(dn,ot),ae=Oe()(bt,te,ut);"overlay"in tt&&(le.overlay=Se),"open"in tt&&(le.open=He),"placement"in tt?le.placement=Nt:le.placement=ot==="rtl"?"bottomLeft":"bottomRight";const he=Ce.createElement(xe.ZP,{type:Ut,danger:se,disabled:Me,loading:st,onClick:mt,htmlType:kt,href:ve,title:Gt},Qe),re=Ce.createElement(xe.ZP,{type:Ut,danger:se,icon:At}),[ce,Pe]=Wt([he,re]);return Ce.createElement(Ve.Z.Compact,Object.assign({className:ae,size:ne,block:!0},ct),ce,Ce.createElement(b.Z,Object.assign({},le),Pe))};Ge.__ANT_BUTTON=!0;var be=Ge;const vt=b.Z;vt.Button=be;var Je=vt},584:function(Yn,mn,z){"use strict";z.d(mn,{Z:function(){return Ut}});var b=z(59301),Ce=z(92310),de=z.n(Ce),rt=z(9017),Oe=z(17835),xe=z(57700),Ve=()=>{const[,se]=(0,xe.ZP)(),[Me]=(0,rt.Z)("Empty"),mt=new Oe.FastColor(se.colorBgBase).toHsl().l<.5?{opacity:.65}:{};return b.createElement("svg",{style:mt,width:"184",height:"152",viewBox:"0 0 184 152",xmlns:"http://www.w3.org/2000/svg"},b.createElement("title",null,(Me==null?void 0:Me.description)||"Empty"),b.createElement("g",{fill:"none",fillRule:"evenodd"},b.createElement("g",{transform:"translate(24 31.67)"},b.createElement("ellipse",{fillOpacity:".8",fill:"#F5F5F7",cx:"67.797",cy:"106.89",rx:"67.797",ry:"12.668"}),b.createElement("path",{d:"M122.034 69.674L98.109 40.229c-1.148-1.386-2.826-2.225-4.593-2.225h-51.44c-1.766 0-3.444.839-4.592 2.225L13.56 69.674v15.383h108.475V69.674z",fill:"#AEB8C2"}),b.createElement("path",{d:"M101.537 86.214L80.63 61.102c-1.001-1.207-2.507-1.867-4.048-1.867H31.724c-1.54 0-3.047.66-4.048 1.867L6.769 86.214v13.792h94.768V86.214z",fill:"url(#linearGradient-1)",transform:"translate(13.56)"}),b.createElement("path",{d:"M33.83 0h67.933a4 4 0 0 1 4 4v93.344a4 4 0 0 1-4 4H33.83a4 4 0 0 1-4-4V4a4 4 0 0 1 4-4z",fill:"#F5F5F7"}),b.createElement("path",{d:"M42.678 9.953h50.237a2 2 0 0 1 2 2V36.91a2 2 0 0 1-2 2H42.678a2 2 0 0 1-2-2V11.953a2 2 0 0 1 2-2zM42.94 49.767h49.713a2.262 2.262 0 1 1 0 4.524H42.94a2.262 2.262 0 0 1 0-4.524zM42.94 61.53h49.713a2.262 2.262 0 1 1 0 4.525H42.94a2.262 2.262 0 0 1 0-4.525zM121.813 105.032c-.775 3.071-3.497 5.36-6.735 5.36H20.515c-3.238 0-5.96-2.29-6.734-5.36a7.309 7.309 0 0 1-.222-1.79V69.675h26.318c2.907 0 5.25 2.448 5.25 5.42v.04c0 2.971 2.37 5.37 5.277 5.37h34.785c2.907 0 5.277-2.421 5.277-5.393V75.1c0-2.972 2.343-5.426 5.25-5.426h26.318v33.569c0 .617-.077 1.216-.221 1.789z",fill:"#DCE0E6"})),b.createElement("path",{d:"M149.121 33.292l-6.83 2.65a1 1 0 0 1-1.317-1.23l1.937-6.207c-2.589-2.944-4.109-6.534-4.109-10.408C138.802 8.102 148.92 0 161.402 0 173.881 0 184 8.102 184 18.097c0 9.995-10.118 18.097-22.599 18.097-4.528 0-8.744-1.066-12.28-2.902z",fill:"#DCE0E6"}),b.createElement("g",{transform:"translate(149.65 15.383)",fill:"#FFF"},b.createElement("ellipse",{cx:"20.654",cy:"3.167",rx:"2.849",ry:"2.815"}),b.createElement("path",{d:"M5.698 5.63H0L2.898.704zM9.259.704h4.985V5.63H9.259z"}))))},fe=()=>{const[,se]=(0,xe.ZP)(),[Me]=(0,rt.Z)("Empty"),{colorFill:st,colorFillTertiary:mt,colorFillQuaternary:kt,colorBgContainer:Qe}=se,{borderColor:ut,shadowColor:dt,contentColor:Fe}=(0,b.useMemo)(()=>({borderColor:new Oe.FastColor(st).onBackground(Qe).toHexString(),shadowColor:new Oe.FastColor(mt).onBackground(Qe).toHexString(),contentColor:new Oe.FastColor(kt).onBackground(Qe).toHexString()}),[st,mt,kt,Qe]);return b.createElement("svg",{width:"64",height:"41",viewBox:"0 0 64 41",xmlns:"http://www.w3.org/2000/svg"},b.createElement("title",null,(Me==null?void 0:Me.description)||"Empty"),b.createElement("g",{transform:"translate(0 1)",fill:"none",fillRule:"evenodd"},b.createElement("ellipse",{fill:dt,cx:"32",cy:"33",rx:"32",ry:"7"}),b.createElement("g",{fillRule:"nonzero",stroke:ut},b.createElement("path",{d:"M55 12.76L44.854 1.258C44.367.474 43.656 0 42.907 0H21.093c-.749 0-1.46.474-1.947 1.257L9 12.761V22h46v-9.24z"}),b.createElement("path",{d:"M41.613 15.931c0-1.605.994-2.93 2.227-2.931H55v18.137C55 33.26 53.68 35 52.05 35h-40.1C10.32 35 9 33.259 9 31.137V13h11.16c1.233 0 2.227 1.323 2.227 2.928v.022c0 1.605 1.005 2.901 2.237 2.901h14.752c1.232 0 2.237-1.308 2.237-2.913v-.007z",fill:Fe}))))},Ge=z(16931),be=z(51636);const vt=se=>{const{componentCls:Me,margin:st,marginXS:mt,marginXL:kt,fontSize:Qe,lineHeight:ut}=se;return{[Me]:{marginInline:mt,fontSize:Qe,lineHeight:ut,textAlign:"center",[`${Me}-image`]:{height:se.emptyImgHeight,marginBottom:mt,opacity:se.opacityImage,img:{height:"100%"},svg:{maxWidth:"100%",height:"100%",margin:"auto"}},[`${Me}-description`]:{color:se.colorTextDescription},[`${Me}-footer`]:{marginTop:st},"&-normal":{marginBlock:kt,color:se.colorTextDescription,[`${Me}-description`]:{color:se.colorTextDescription},[`${Me}-image`]:{height:se.emptyImgHeightMD}},"&-small":{marginBlock:mt,color:se.colorTextDescription,[`${Me}-image`]:{height:se.emptyImgHeightSM}}}}};var Je=(0,Ge.I$)("Empty",se=>{const{componentCls:Me,controlHeightLG:st,calc:mt}=se,kt=(0,be.mergeToken)(se,{emptyImgCls:`${Me}-img`,emptyImgHeight:mt(st).mul(2.5).equal(),emptyImgHeightMD:st,emptyImgHeightSM:mt(st).mul(.875).equal()});return[vt(kt)]}),tt=z(48755),je=function(se,Me){var st={};for(var mt in se)Object.prototype.hasOwnProperty.call(se,mt)&&Me.indexOf(mt)<0&&(st[mt]=se[mt]);if(se!=null&&typeof Object.getOwnPropertySymbols=="function")for(var kt=0,mt=Object.getOwnPropertySymbols(se);kt<mt.length;kt++)Me.indexOf(mt[kt])<0&&Object.prototype.propertyIsEnumerable.call(se,mt[kt])&&(st[mt[kt]]=se[mt[kt]]);return st};const We=b.createElement(Ve,null),ot=b.createElement(fe,null),Mt=se=>{const{className:Me,rootClassName:st,prefixCls:mt,image:kt=We,description:Qe,children:ut,imageStyle:dt,style:Fe,classNames:Ze,styles:Se}=se,ue=je(se,["className","rootClassName","prefixCls","image","description","children","imageStyle","style","classNames","styles"]),{getPrefixCls:gt,direction:He,className:ke,style:Nt,classNames:De,styles:ve}=(0,tt.dj)("empty"),At=gt("empty",mt),[Gt,Wt,pe]=Je(At),[Re]=(0,rt.Z)("Empty"),Ue=typeof Qe!="undefined"?Qe:Re==null?void 0:Re.description,Jt=typeof Ue=="string"?Ue:"empty";let et=null;return typeof kt=="string"?et=b.createElement("img",{alt:Jt,src:kt}):et=kt,Gt(b.createElement("div",Object.assign({className:de()(Wt,pe,At,ke,{[`${At}-normal`]:kt===ot,[`${At}-rtl`]:He==="rtl"},Me,st,De.root,Ze==null?void 0:Ze.root),style:Object.assign(Object.assign(Object.assign(Object.assign({},ve.root),Nt),Se==null?void 0:Se.root),Fe)},ue),b.createElement("div",{className:de()(`${At}-image`,De.image,Ze==null?void 0:Ze.image),style:Object.assign(Object.assign(Object.assign({},dt),ve.image),Se==null?void 0:Se.image)},et),Ue&&b.createElement("div",{className:de()(`${At}-description`,De.description,Ze==null?void 0:Ze.description),style:Object.assign(Object.assign({},ve.description),Se==null?void 0:Se.description)},Ue),ut&&b.createElement("div",{className:de()(`${At}-footer`,De.footer,Ze==null?void 0:Ze.footer),style:Object.assign(Object.assign({},ve.footer),Se==null?void 0:Se.footer)},ut)))};Mt.PRESENTED_IMAGE_DEFAULT=We,Mt.PRESENTED_IMAGE_SIMPLE=ot;var Ut=Mt},28284:function(Yn,mn,z){"use strict";z.d(mn,{default:function(){return Qt}});var b=z(56553),Ce=z(77654),de=z(59301),rt=z(92310),Oe=z.n(rt),xe=z(77900),Ae=z(86641),Ve=z(83397);function Be(ze){const[yt,Ye]=de.useState(ze);return de.useEffect(()=>{const Ct=setTimeout(()=>{Ye(ze)},ze.length?0:10);return()=>{clearTimeout(Ct)}},[ze]),yt}var fe=z(36237),Ge=z(63356),be=z(34925),vt=z(34961),Je=z(51636),tt=z(16931),We=ze=>{const{componentCls:yt}=ze,Ye=`${yt}-show-help`,Ct=`${yt}-show-help-item`;return{[Ye]:{transition:`opacity ${ze.motionDurationFast} ${ze.motionEaseInOut}`,"&-appear, &-enter":{opacity:0,"&-active":{opacity:1}},"&-leave":{opacity:1,"&-active":{opacity:0}},[Ct]:{overflow:"hidden",transition:`height ${ze.motionDurationFast} ${ze.motionEaseInOut},
|
|
|
opacity ${ze.motionDurationFast} ${ze.motionEaseInOut},
|
|
|
transform ${ze.motionDurationFast} ${ze.motionEaseInOut} !important`,[`&${Ct}-appear, &${Ct}-enter`]:{transform:"translateY(-5px)",opacity:0,"&-active":{transform:"translateY(0)",opacity:1}},[`&${Ct}-leave-active`]:{transform:"translateY(-5px)"}}}}};const ot=ze=>({legend:{display:"block",width:"100%",marginBottom:ze.marginLG,padding:0,color:ze.colorTextDescription,fontSize:ze.fontSizeLG,lineHeight:"inherit",border:0,borderBottom:`${(0,fe.unit)(ze.lineWidth)} ${ze.lineType} ${ze.colorBorder}`},'input[type="search"]':{boxSizing:"border-box"},'input[type="radio"], input[type="checkbox"]':{lineHeight:"normal"},'input[type="file"]':{display:"block"},'input[type="range"]':{display:"block",width:"100%"},"select[multiple], select[size]":{height:"auto"},"input[type='file']:focus,\n input[type='radio']:focus,\n input[type='checkbox']:focus":{outline:0,boxShadow:`0 0 0 ${(0,fe.unit)(ze.controlOutlineWidth)} ${ze.controlOutline}`},output:{display:"block",paddingTop:15,color:ze.colorText,fontSize:ze.fontSize,lineHeight:ze.lineHeight}}),Mt=(ze,yt)=>{const{formItemCls:Ye}=ze;return{[Ye]:{[`${Ye}-label > label`]:{height:yt},[`${Ye}-control-input`]:{minHeight:yt}}}},Ut=ze=>{const{componentCls:yt}=ze;return{[ze.componentCls]:Object.assign(Object.assign(Object.assign({},(0,Ge.Wf)(ze)),ot(ze)),{[`${yt}-text`]:{display:"inline-block",paddingInlineEnd:ze.paddingSM},"&-small":Object.assign({},Mt(ze,ze.controlHeightSM)),"&-large":Object.assign({},Mt(ze,ze.controlHeightLG))})}},se=ze=>{const{formItemCls:yt,iconCls:Ye,rootPrefixCls:Ct,antCls:qt,labelRequiredMarkColor:nr,labelColor:ar,labelFontSize:pt,labelHeight:xt,labelColonMarginInlineStart:Pt,labelColonMarginInlineEnd:Kt,itemMarginBottom:In}=ze;return{[yt]:Object.assign(Object.assign({},(0,Ge.Wf)(ze)),{marginBottom:In,verticalAlign:"top","&-with-help":{transition:"none"},[`&-hidden,
|
|
|
&-hidden${qt}-row`]:{display:"none"},"&-has-warning":{[`${yt}-split`]:{color:ze.colorError}},"&-has-error":{[`${yt}-split`]:{color:ze.colorWarning}},[`${yt}-label`]:{flexGrow:0,overflow:"hidden",whiteSpace:"nowrap",textAlign:"end",verticalAlign:"middle","&-left":{textAlign:"start"},"&-wrap":{overflow:"unset",lineHeight:ze.lineHeight,whiteSpace:"unset"},"> label":{position:"relative",display:"inline-flex",alignItems:"center",maxWidth:"100%",height:xt,color:ar,fontSize:pt,[`> ${Ye}`]:{fontSize:ze.fontSize,verticalAlign:"top"},[`&${yt}-required`]:{"&::before":{display:"inline-block",marginInlineEnd:ze.marginXXS,color:nr,fontSize:ze.fontSize,fontFamily:"SimSun, sans-serif",lineHeight:1,content:'"*"'},[`&${yt}-required-mark-hidden, &${yt}-required-mark-optional`]:{"&::before":{display:"none"}}},[`${yt}-optional`]:{display:"inline-block",marginInlineStart:ze.marginXXS,color:ze.colorTextDescription,[`&${yt}-required-mark-hidden`]:{display:"none"}},[`${yt}-tooltip`]:{color:ze.colorTextDescription,cursor:"help",writingMode:"horizontal-tb",marginInlineStart:ze.marginXXS},"&::after":{content:'":"',position:"relative",marginBlock:0,marginInlineStart:Pt,marginInlineEnd:Kt},[`&${yt}-no-colon::after`]:{content:'"\\a0"'}}},[`${yt}-control`]:{"--ant-display":"flex",flexDirection:"column",flexGrow:1,[`&:first-child:not([class^="'${Ct}-col-'"]):not([class*="' ${Ct}-col-'"])`]:{width:"100%"},"&-input":{position:"relative",display:"flex",alignItems:"center",minHeight:ze.controlHeight,"&-content":{flex:"auto",maxWidth:"100%"}}},[yt]:{"&-additional":{display:"flex",flexDirection:"column"},"&-explain, &-extra":{clear:"both",color:ze.colorTextDescription,fontSize:ze.fontSize,lineHeight:ze.lineHeight},"&-explain-connected":{width:"100%"},"&-extra":{minHeight:ze.controlHeightSM,transition:`color ${ze.motionDurationMid} ${ze.motionEaseOut}`},"&-explain":{"&-error":{color:ze.colorError},"&-warning":{color:ze.colorWarning}}},[`&-with-help ${yt}-explain`]:{height:"auto",opacity:1},[`${yt}-feedback-icon`]:{fontSize:ze.fontSize,textAlign:"center",visibility:"visible",animationName:be.kr,animationDuration:ze.motionDurationMid,animationTimingFunction:ze.motionEaseOutBack,pointerEvents:"none","&-success":{color:ze.colorSuccess},"&-error":{color:ze.colorError},"&-warning":{color:ze.colorWarning},"&-validating":{color:ze.colorPrimary}}})}},Me=(ze,yt)=>{const{formItemCls:Ye}=ze;return{[`${yt}-horizontal`]:{[`${Ye}-label`]:{flexGrow:0},[`${Ye}-control`]:{flex:"1 1 0",minWidth:0},[`${Ye}-label[class$='-24'], ${Ye}-label[class*='-24 ']`]:{[`& + ${Ye}-control`]:{minWidth:"unset"}}}}},st=ze=>{const{componentCls:yt,formItemCls:Ye,inlineItemMarginBottom:Ct}=ze;return{[`${yt}-inline`]:{display:"flex",flexWrap:"wrap",[Ye]:{flex:"none",marginInlineEnd:ze.margin,marginBottom:Ct,"&-row":{flexWrap:"nowrap"},[`> ${Ye}-label,
|
|
|
> ${Ye}-control`]:{display:"inline-block",verticalAlign:"top"},[`> ${Ye}-label`]:{flex:"none"},[`${yt}-text`]:{display:"inline-block"},[`${Ye}-has-feedback`]:{display:"inline-block"}}}}},mt=ze=>({padding:ze.verticalLabelPadding,margin:ze.verticalLabelMargin,whiteSpace:"initial",textAlign:"start","> label":{margin:0,"&::after":{visibility:"hidden"}}}),kt=ze=>{const{componentCls:yt,formItemCls:Ye,rootPrefixCls:Ct}=ze;return{[`${Ye} ${Ye}-label`]:mt(ze),[`${yt}:not(${yt}-inline)`]:{[Ye]:{flexWrap:"wrap",[`${Ye}-label, ${Ye}-control`]:{[`&:not([class*=" ${Ct}-col-xs"])`]:{flex:"0 0 100%",maxWidth:"100%"}}}}}},Qe=ze=>{const{componentCls:yt,formItemCls:Ye,antCls:Ct}=ze;return{[`${yt}-vertical`]:{[`${Ye}:not(${Ye}-horizontal)`]:{[`${Ye}-row`]:{flexDirection:"column"},[`${Ye}-label > label`]:{height:"auto"},[`${Ye}-control`]:{width:"100%"},[`${Ye}-label,
|
|
|
${Ct}-col-24${Ye}-label,
|
|
|
${Ct}-col-xl-24${Ye}-label`]:mt(ze)}},[`@media (max-width: ${(0,fe.unit)(ze.screenXSMax)})`]:[kt(ze),{[yt]:{[`${Ye}:not(${Ye}-horizontal)`]:{[`${Ct}-col-xs-24${Ye}-label`]:mt(ze)}}}],[`@media (max-width: ${(0,fe.unit)(ze.screenSMMax)})`]:{[yt]:{[`${Ye}:not(${Ye}-horizontal)`]:{[`${Ct}-col-sm-24${Ye}-label`]:mt(ze)}}},[`@media (max-width: ${(0,fe.unit)(ze.screenMDMax)})`]:{[yt]:{[`${Ye}:not(${Ye}-horizontal)`]:{[`${Ct}-col-md-24${Ye}-label`]:mt(ze)}}},[`@media (max-width: ${(0,fe.unit)(ze.screenLGMax)})`]:{[yt]:{[`${Ye}:not(${Ye}-horizontal)`]:{[`${Ct}-col-lg-24${Ye}-label`]:mt(ze)}}}}},ut=ze=>{const{formItemCls:yt,antCls:Ye}=ze;return{[`${yt}-vertical`]:{[`${yt}-row`]:{flexDirection:"column"},[`${yt}-label > label`]:{height:"auto"},[`${yt}-control`]:{width:"100%"}},[`${yt}-vertical ${yt}-label,
|
|
|
${Ye}-col-24${yt}-label,
|
|
|
${Ye}-col-xl-24${yt}-label`]:mt(ze),[`@media (max-width: ${(0,fe.unit)(ze.screenXSMax)})`]:[kt(ze),{[yt]:{[`${Ye}-col-xs-24${yt}-label`]:mt(ze)}}],[`@media (max-width: ${(0,fe.unit)(ze.screenSMMax)})`]:{[yt]:{[`${Ye}-col-sm-24${yt}-label`]:mt(ze)}},[`@media (max-width: ${(0,fe.unit)(ze.screenMDMax)})`]:{[yt]:{[`${Ye}-col-md-24${yt}-label`]:mt(ze)}},[`@media (max-width: ${(0,fe.unit)(ze.screenLGMax)})`]:{[yt]:{[`${Ye}-col-lg-24${yt}-label`]:mt(ze)}}}},dt=ze=>({labelRequiredMarkColor:ze.colorError,labelColor:ze.colorTextHeading,labelFontSize:ze.fontSize,labelHeight:ze.controlHeight,labelColonMarginInlineStart:ze.marginXXS/2,labelColonMarginInlineEnd:ze.marginXS,itemMarginBottom:ze.marginLG,verticalLabelPadding:`0 0 ${ze.paddingXS}px`,verticalLabelMargin:0,inlineItemMarginBottom:0}),Fe=(ze,yt)=>(0,Je.mergeToken)(ze,{formItemCls:`${ze.componentCls}-item`,rootPrefixCls:yt});var Ze=(0,tt.I$)("Form",(ze,yt)=>{let{rootPrefixCls:Ye}=yt;const Ct=Fe(ze,Ye);return[Ut(Ct),se(Ct),We(Ct),Me(Ct,Ct.componentCls),Me(Ct,Ct.formItemCls),st(Ct),Qe(Ct),ut(Ct),(0,vt.Z)(Ct),be.kr]},dt,{order:-1e3});const Se=[];function ue(ze,yt,Ye){let Ct=arguments.length>3&&arguments[3]!==void 0?arguments[3]:0;return{key:typeof ze=="string"?ze:`${yt}-${Ct}`,error:ze,errorStatus:Ye}}var He=ze=>{let{help:yt,helpStatus:Ye,errors:Ct=Se,warnings:qt=Se,className:nr,fieldId:ar,onVisibleChanged:pt}=ze;const{prefixCls:xt}=de.useContext(b.Rk),Pt=`${xt}-item-explain`,Kt=(0,Ve.Z)(xt),[In,Zn,kn]=Ze(xt,Kt),Un=de.useMemo(()=>(0,Ae.Z)(xt),[xt]),pr=Be(Ct),Ar=Be(qt),Vr=de.useMemo(()=>yt!=null?[ue(yt,"help",Ye)]:[].concat((0,Ce.Z)(pr.map((Pr,kr)=>ue(Pr,"error","error",kr))),(0,Ce.Z)(Ar.map((Pr,kr)=>ue(Pr,"warning","warning",kr)))),[yt,Ye,pr,Ar]),Br=de.useMemo(()=>{const Pr={};return Vr.forEach(kr=>{let{key:Jr}=kr;Pr[Jr]=(Pr[Jr]||0)+1}),Vr.map((kr,Jr)=>Object.assign(Object.assign({},kr),{key:Pr[kr.key]>1?`${kr.key}-fallback-${Jr}`:kr.key}))},[Vr]),fr={};return ar&&(fr.id=`${ar}_help`),In(de.createElement(xe.default,{motionDeadline:Un.motionDeadline,motionName:`${xt}-show-help`,visible:!!Br.length,onVisibleChanged:pt},Pr=>{const{className:kr,style:Jr}=Pr;return de.createElement("div",Object.assign({},fr,{className:Oe()(Pt,kr,kn,Kt,nr,Zn),style:Jr}),de.createElement(xe.CSSMotionList,Object.assign({keys:Br},(0,Ae.Z)(xt),{motionName:`${xt}-show-help-item`,component:!1}),Xr=>{const{key:vo,error:yr,errorStatus:ur,className:gr,style:no}=Xr;return de.createElement("div",{key:vo,className:Oe()(gr,{[`${Pt}-${ur}`]:ur}),style:no},yr)}))}))},ke=z(69180),Nt=z(48755),De=z(2171),ve=z(31756),At=z(23069),Gt=z(76846),Wt=z(16722);const pe=["parentNode"],Re="form_item";function Ue(ze){return ze===void 0||ze===!1?[]:Array.isArray(ze)?ze:[ze]}function Jt(ze,yt){if(!ze.length)return;const Ye=ze.join("_");return yt?`${yt}_${Ye}`:pe.includes(Ye)?`${Re}_${Ye}`:Ye}function et(ze,yt,Ye,Ct,qt,nr){let ar=Ct;return nr!==void 0?ar=nr:Ye.validating?ar="validating":ze.length?ar="error":yt.length?ar="warning":(Ye.touched||qt&&Ye.validated)&&(ar="success"),ar}var jt=function(ze,yt){var Ye={};for(var Ct in ze)Object.prototype.hasOwnProperty.call(ze,Ct)&&yt.indexOf(Ct)<0&&(Ye[Ct]=ze[Ct]);if(ze!=null&&typeof Object.getOwnPropertySymbols=="function")for(var qt=0,Ct=Object.getOwnPropertySymbols(ze);qt<Ct.length;qt++)yt.indexOf(Ct[qt])<0&&Object.prototype.propertyIsEnumerable.call(ze,Ct[qt])&&(Ye[Ct[qt]]=ze[Ct[qt]]);return Ye};function ct(ze){return Ue(ze).join("_")}function dn(ze,yt){const Ye=yt.getFieldInstance(ze),Ct=(0,Gt.bn)(Ye);if(Ct)return Ct;const qt=Jt(Ue(ze),yt.__INTERNAL__.name);if(qt)return document.getElementById(qt)}function bt(ze){const[yt]=(0,ke.useForm)(),Ye=de.useRef({}),Ct=de.useMemo(()=>ze!=null?ze:Object.assign(Object.assign({},yt),{__INTERNAL__:{itemRef:qt=>nr=>{const ar=ct(qt);nr?Ye.current[ar]=nr:delete Ye.current[ar]}},scrollToField:function(qt){let nr=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const{focus:ar}=nr,pt=jt(nr,["focus"]),xt=dn(qt,Ct);xt&&((0,Wt.Z)(xt,Object.assign({scrollMode:"if-needed",block:"nearest"},pt)),ar&&Ct.focusField(qt))},focusField:qt=>{var nr,ar;const pt=Ct.getFieldInstance(qt);typeof(pt==null?void 0:pt.focus)=="function"?pt.focus():(ar=(nr=dn(qt,Ct))===null||nr===void 0?void 0:nr.focus)===null||ar===void 0||ar.call(nr)},getFieldInstance:qt=>{const nr=ct(qt);return Ye.current[nr]}}),[ze,yt]);return[Ct]}var le=z(98350),ne=function(ze,yt){var Ye={};for(var Ct in ze)Object.prototype.hasOwnProperty.call(ze,Ct)&&yt.indexOf(Ct)<0&&(Ye[Ct]=ze[Ct]);if(ze!=null&&typeof Object.getOwnPropertySymbols=="function")for(var qt=0,Ct=Object.getOwnPropertySymbols(ze);qt<Ct.length;qt++)yt.indexOf(Ct[qt])<0&&Object.prototype.propertyIsEnumerable.call(ze,Ct[qt])&&(Ye[Ct[qt]]=ze[Ct[qt]]);return Ye};const te=(ze,yt)=>{const Ye=de.useContext(De.Z),{getPrefixCls:Ct,direction:qt,requiredMark:nr,colon:ar,scrollToFirstError:pt,className:xt,style:Pt}=(0,Nt.dj)("form"),{prefixCls:Kt,className:In,rootClassName:Zn,size:kn,disabled:Un=Ye,form:pr,colon:Ar,labelAlign:Vr,labelWrap:Br,labelCol:fr,wrapperCol:Pr,hideRequiredMark:kr,layout:Jr="horizontal",scrollToFirstError:Xr,requiredMark:vo,onFinishFailed:yr,name:ur,style:gr,feedbackIcons:no,variant:Kr}=ze,wr=ne(ze,["prefixCls","className","rootClassName","size","disabled","form","colon","labelAlign","labelWrap","labelCol","wrapperCol","hideRequiredMark","layout","scrollToFirstError","requiredMark","onFinishFailed","name","style","feedbackIcons","variant"]),Rr=(0,ve.Z)(kn),mo=de.useContext(le.Z),$r=de.useMemo(()=>vo!==void 0?vo:kr?!1:nr!==void 0?nr:!0,[kr,vo,nr]),qr=Ar!=null?Ar:ar,eo=Ct("form",Kt),ko=(0,Ve.Z)(eo),[_o,qo,Lo]=Ze(eo,ko),ii=Oe()(eo,`${eo}-${Jr}`,{[`${eo}-hide-required-mark`]:$r===!1,[`${eo}-rtl`]:qt==="rtl",[`${eo}-${Rr}`]:Rr},Lo,ko,qo,xt,In,Zn),[Le]=bt(pr),{__INTERNAL__:nt}=Le;nt.name=ur;const Ot=de.useMemo(()=>({name:ur,labelAlign:Vr,labelCol:fr,labelWrap:Br,wrapperCol:Pr,vertical:Jr==="vertical",colon:qr,requiredMark:$r,itemRef:nt.itemRef,form:Le,feedbackIcons:no}),[ur,Vr,fr,Pr,Jr,qr,$r,Le,no]),sn=de.useRef(null);de.useImperativeHandle(yt,()=>{var it;return Object.assign(Object.assign({},Le),{nativeElement:(it=sn.current)===null||it===void 0?void 0:it.nativeElement})});const hn=(it,Ft)=>{if(it){let en={block:"nearest"};typeof it=="object"&&(en=Object.assign(Object.assign({},en),it)),Le.scrollToField(Ft,en)}},Tt=it=>{if(yr==null||yr(it),it.errorFields.length){const Ft=it.errorFields[0].name;if(Xr!==void 0){hn(Xr,Ft);return}pt!==void 0&&hn(pt,Ft)}};return _o(de.createElement(b.pg.Provider,{value:Kr},de.createElement(De.n,{disabled:Un},de.createElement(At.Z.Provider,{value:Rr},de.createElement(b.RV,{validateMessages:mo},de.createElement(b.q3.Provider,{value:Ot},de.createElement(ke.default,Object.assign({id:ur},wr,{name:ur,onFinishFailed:Tt,form:Le,ref:sn,style:Object.assign(Object.assign({},Pt),gr),className:ii}))))))))};var he=de.forwardRef(te),re=z(41799),ce=z(8654),Pe=z(22703),lt=z(32383),$e=z(11592);function Ie(ze){if(typeof ze=="function")return ze;const yt=(0,$e.Z)(ze);return yt.length<=1?yt[0]:yt}const ht=()=>{const{status:ze,errors:yt=[],warnings:Ye=[]}=de.useContext(b.aM);return{status:ze,errors:yt,warnings:Ye}};ht.Context=b.aM;var Et=ht,Rt=z(16089);function Te(ze){const[yt,Ye]=de.useState(ze),Ct=de.useRef(null),qt=de.useRef([]),nr=de.useRef(!1);de.useEffect(()=>(nr.current=!1,()=>{nr.current=!0,Rt.Z.cancel(Ct.current),Ct.current=null}),[]);function ar(pt){nr.current||(Ct.current===null&&(qt.current=[],Ct.current=(0,Rt.Z)(()=>{Ct.current=null,Ye(xt=>{let Pt=xt;return qt.current.forEach(Kt=>{Pt=Kt(Pt)}),Pt})})),qt.current.push(pt))}return[yt,ar]}function Ke(){const{itemRef:ze}=de.useContext(b.q3),yt=de.useRef({});function Ye(Ct,qt){const nr=qt&&typeof qt=="object"&&(0,ce.C4)(qt),ar=Ct.join("_");return(yt.current.name!==ar||yt.current.originRef!==nr)&&(yt.current.name=ar,yt.current.originRef=nr,yt.current.ref=(0,ce.sQ)(ze(Ct),nr)),yt.current.ref}return Ye}var yn=z(29194),Ht=z(34280),bn=z(2738),fn=z(65970),Xt=z(70425),on=z(5472);const gn=ze=>{const{formItemCls:yt}=ze;return{"@media screen and (-ms-high-contrast: active), (-ms-high-contrast: none)":{[`${yt}-control`]:{display:"flex"}}}};var ft=(0,tt.bk)(["Form","item-item"],(ze,yt)=>{let{rootPrefixCls:Ye}=yt;const Ct=Fe(ze,Ye);return[gn(Ct)]}),Yt=function(ze,yt){var Ye={};for(var Ct in ze)Object.prototype.hasOwnProperty.call(ze,Ct)&&yt.indexOf(Ct)<0&&(Ye[Ct]=ze[Ct]);if(ze!=null&&typeof Object.getOwnPropertySymbols=="function")for(var qt=0,Ct=Object.getOwnPropertySymbols(ze);qt<Ct.length;qt++)yt.indexOf(Ct[qt])<0&&Object.prototype.propertyIsEnumerable.call(ze,Ct[qt])&&(Ye[Ct[qt]]=ze[Ct[qt]]);return Ye};const xn=24;var _e=ze=>{const{prefixCls:yt,status:Ye,labelCol:Ct,wrapperCol:qt,children:nr,errors:ar,warnings:pt,_internalItemRender:xt,extra:Pt,help:Kt,fieldId:In,marginBottom:Zn,onErrorVisibleChanged:kn,label:Un}=ze,pr=`${yt}-item`,Ar=de.useContext(b.q3),Vr=de.useMemo(()=>{let wr=Object.assign({},qt||Ar.wrapperCol||{});return Un===null&&!Ct&&!qt&&Ar.labelCol&&[void 0,"xs","sm","md","lg","xl","xxl"].forEach(mo=>{const $r=mo?[mo]:[],qr=(0,Xt.U2)(Ar.labelCol,$r),eo=typeof qr=="object"?qr:{},ko=(0,Xt.U2)(wr,$r),_o=typeof ko=="object"?ko:{};"span"in eo&&!("offset"in _o)&&eo.span<xn&&(wr=(0,Xt.t8)(wr,[].concat($r,["offset"]),eo.span))}),wr},[qt,Ar]),Br=Oe()(`${pr}-control`,Vr.className),fr=de.useMemo(()=>{const{labelCol:wr,wrapperCol:Rr}=Ar;return Yt(Ar,["labelCol","wrapperCol"])},[Ar]),Pr=de.useRef(null),[kr,Jr]=de.useState(0);(0,Ht.Z)(()=>{Pt&&Pr.current?Jr(Pr.current.clientHeight):Jr(0)},[Pt]);const Xr=de.createElement("div",{className:`${pr}-control-input`},de.createElement("div",{className:`${pr}-control-input-content`},nr)),vo=de.useMemo(()=>({prefixCls:yt,status:Ye}),[yt,Ye]),yr=Zn!==null||ar.length||pt.length?de.createElement(b.Rk.Provider,{value:vo},de.createElement(He,{fieldId:In,errors:ar,warnings:pt,help:Kt,helpStatus:Ye,className:`${pr}-explain-connected`,onVisibleChanged:kn})):null,ur={};In&&(ur.id=`${In}_extra`);const gr=Pt?de.createElement("div",Object.assign({},ur,{className:`${pr}-extra`,ref:Pr}),Pt):null,no=yr||gr?de.createElement("div",{className:`${pr}-additional`,style:Zn?{minHeight:Zn+kr}:{}},yr,gr):null,Kr=xt&&xt.mark==="pro_table_render"&&xt.render?xt.render(ze,{input:Xr,errorList:yr,extra:gr}):de.createElement(de.Fragment,null,Xr,no);return de.createElement(b.q3.Provider,{value:fr},de.createElement(on.Z,Object.assign({},Vr,{className:Br}),Kr),de.createElement(ft,{prefixCls:yt}))},Vt=z(61485),tn=z(9017),un=z(85981),Tn=z(25399),qn=function(ze,yt){var Ye={};for(var Ct in ze)Object.prototype.hasOwnProperty.call(ze,Ct)&&yt.indexOf(Ct)<0&&(Ye[Ct]=ze[Ct]);if(ze!=null&&typeof Object.getOwnPropertySymbols=="function")for(var qt=0,Ct=Object.getOwnPropertySymbols(ze);qt<Ct.length;qt++)yt.indexOf(Ct[qt])<0&&Object.prototype.propertyIsEnumerable.call(ze,Ct[qt])&&(Ye[Ct[qt]]=ze[Ct[qt]]);return Ye};function mr(ze){return ze?typeof ze=="object"&&!de.isValidElement(ze)?ze:{title:ze}:null}var Jn=ze=>{let{prefixCls:yt,label:Ye,htmlFor:Ct,labelCol:qt,labelAlign:nr,colon:ar,required:pt,requiredMark:xt,tooltip:Pt,vertical:Kt}=ze;var In;const[Zn]=(0,tn.Z)("Form"),{labelAlign:kn,labelCol:Un,labelWrap:pr,colon:Ar}=de.useContext(b.q3);if(!Ye)return null;const Vr=qt||Un||{},Br=nr||kn,fr=`${yt}-item-label`,Pr=Oe()(fr,Br==="left"&&`${fr}-left`,Vr.className,{[`${fr}-wrap`]:!!pr});let kr=Ye;const Jr=ar===!0||Ar!==!1&&ar!==!1;Jr&&!Kt&&typeof Ye=="string"&&Ye.trim()&&(kr=Ye.replace(/[:|:]\s*$/,""));const vo=mr(Pt);if(vo){const{icon:wr=de.createElement(Vt.Z,null)}=vo,Rr=qn(vo,["icon"]),mo=de.createElement(Tn.Z,Object.assign({},Rr),de.cloneElement(wr,{className:`${yt}-item-tooltip`,title:"",onClick:$r=>{$r.preventDefault()},tabIndex:null}));kr=de.createElement(de.Fragment,null,kr,mo)}const yr=xt==="optional",ur=typeof xt=="function",gr=xt===!1;ur?kr=xt(kr,{required:!!pt}):yr&&!pt&&(kr=de.createElement(de.Fragment,null,kr,de.createElement("span",{className:`${yt}-item-optional`,title:""},(Zn==null?void 0:Zn.optional)||((In=un.Z.Form)===null||In===void 0?void 0:In.optional))));let no;gr?no="hidden":(yr||ur)&&(no="optional");const Kr=Oe()({[`${yt}-item-required`]:pt,[`${yt}-item-required-mark-${no}`]:no,[`${yt}-item-no-colon`]:!Jr});return de.createElement(on.Z,Object.assign({},Vr,{className:Pr}),de.createElement("label",{htmlFor:Ct,className:Kr,title:typeof Ye=="string"?Ye:""},kr))},dr=z(29679),_t=z(19248),zt=z(96512),Sn=z(58617);const wn={success:dr.Z,warning:zt.Z,error:_t.Z,validating:Sn.Z};function vn(ze){let{children:yt,errors:Ye,warnings:Ct,hasFeedback:qt,validateStatus:nr,prefixCls:ar,meta:pt,noStyle:xt}=ze;const Pt=`${ar}-item`,{feedbackIcons:Kt}=de.useContext(b.q3),In=et(Ye,Ct,pt,null,!!qt,nr),{isFormItemInput:Zn,status:kn,hasFeedback:Un,feedbackIcon:pr}=de.useContext(b.aM),Ar=de.useMemo(()=>{var Vr;let Br;if(qt){const Pr=qt!==!0&&qt.icons||Kt,kr=In&&((Vr=Pr==null?void 0:Pr({status:In,errors:Ye,warnings:Ct}))===null||Vr===void 0?void 0:Vr[In]),Jr=In&&wn[In];Br=kr!==!1&&Jr?de.createElement("span",{className:Oe()(`${Pt}-feedback-icon`,`${Pt}-feedback-icon-${In}`)},kr||de.createElement(Jr,null)):null}const fr={status:In||"",errors:Ye,warnings:Ct,hasFeedback:!!qt,feedbackIcon:Br,isFormItemInput:!0};return xt&&(fr.status=(In!=null?In:kn)||"",fr.isFormItemInput=Zn,fr.hasFeedback=!!(qt!=null?qt:Un),fr.feedbackIcon=qt!==void 0?fr.feedbackIcon:pr),fr},[In,qt,xt,Zn,kn]);return de.createElement(b.aM.Provider,{value:Ar},yt)}var Rn=function(ze,yt){var Ye={};for(var Ct in ze)Object.prototype.hasOwnProperty.call(ze,Ct)&&yt.indexOf(Ct)<0&&(Ye[Ct]=ze[Ct]);if(ze!=null&&typeof Object.getOwnPropertySymbols=="function")for(var qt=0,Ct=Object.getOwnPropertySymbols(ze);qt<Ct.length;qt++)yt.indexOf(Ct[qt])<0&&Object.prototype.propertyIsEnumerable.call(ze,Ct[qt])&&(Ye[Ct[qt]]=ze[Ct[qt]]);return Ye};function Bt(ze){const{prefixCls:yt,className:Ye,rootClassName:Ct,style:qt,help:nr,errors:ar,warnings:pt,validateStatus:xt,meta:Pt,hasFeedback:Kt,hidden:In,children:Zn,fieldId:kn,required:Un,isRequired:pr,onSubItemMetaChange:Ar,layout:Vr}=ze,Br=Rn(ze,["prefixCls","className","rootClassName","style","help","errors","warnings","validateStatus","meta","hasFeedback","hidden","children","fieldId","required","isRequired","onSubItemMetaChange","layout"]),fr=`${yt}-item`,{requiredMark:Pr,vertical:kr}=de.useContext(b.q3),Jr=kr||Vr==="vertical",Xr=de.useRef(null),vo=Be(ar),yr=Be(pt),ur=nr!=null,gr=!!(ur||ar.length||pt.length),no=!!Xr.current&&(0,yn.Z)(Xr.current),[Kr,wr]=de.useState(null);(0,Ht.Z)(()=>{if(gr&&Xr.current){const eo=getComputedStyle(Xr.current);wr(parseInt(eo.marginBottom,10))}},[gr,no]);const Rr=eo=>{eo||wr(null)},$r=function(){let eo=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1;const ko=eo?vo:Pt.errors,_o=eo?yr:Pt.warnings;return et(ko,_o,Pt,"",!!Kt,xt)}(),qr=Oe()(fr,Ye,Ct,{[`${fr}-with-help`]:ur||vo.length||yr.length,[`${fr}-has-feedback`]:$r&&Kt,[`${fr}-has-success`]:$r==="success",[`${fr}-has-warning`]:$r==="warning",[`${fr}-has-error`]:$r==="error",[`${fr}-is-validating`]:$r==="validating",[`${fr}-hidden`]:In,[`${fr}-${Vr}`]:Vr});return de.createElement("div",{className:qr,style:qt,ref:Xr},de.createElement(fn.Z,Object.assign({className:`${fr}-row`},(0,bn.Z)(Br,["_internalItemRender","colon","dependencies","extra","fieldKey","getValueFromEvent","getValueProps","htmlFor","id","initialValue","isListField","label","labelAlign","labelCol","labelWrap","messageVariables","name","normalize","noStyle","preserve","requiredMark","rules","shouldUpdate","trigger","tooltip","validateFirst","validateTrigger","valuePropName","wrapperCol","validateDebounce"])),de.createElement(Jn,Object.assign({htmlFor:kn},ze,{requiredMark:Pr,required:Un!=null?Un:pr,prefixCls:yt,vertical:Jr})),de.createElement(_e,Object.assign({},ze,Pt,{errors:vo,warnings:yr,prefixCls:yt,status:$r,help:nr,marginBottom:Kr,onErrorVisibleChanged:Rr}),de.createElement(b.qI.Provider,{value:Ar},de.createElement(vn,{prefixCls:yt,meta:Pt,errors:Pt.errors,warnings:Pt.warnings,hasFeedback:Kt,validateStatus:$r},Zn)))),!!Kr&&de.createElement("div",{className:`${fr}-margin-offset`,style:{marginBottom:-Kr}}))}const ln="__SPLIT__",Zt=null;function pn(ze,yt){const Ye=Object.keys(ze),Ct=Object.keys(yt);return Ye.length===Ct.length&&Ye.every(qt=>{const nr=ze[qt],ar=yt[qt];return nr===ar||typeof nr=="function"||typeof ar=="function"})}const cn=de.memo(ze=>{let{children:yt}=ze;return yt},(ze,yt)=>pn(ze.control,yt.control)&&ze.update===yt.update&&ze.childProps.length===yt.childProps.length&&ze.childProps.every((Ye,Ct)=>Ye===yt.childProps[Ct]));function zn(){return{errors:[],warnings:[],touched:!1,validating:!1,name:[],validated:!1}}function Ln(ze){const{name:yt,noStyle:Ye,className:Ct,dependencies:qt,prefixCls:nr,shouldUpdate:ar,rules:pt,children:xt,required:Pt,label:Kt,messageVariables:In,trigger:Zn="onChange",validateTrigger:kn,hidden:Un,help:pr,layout:Ar}=ze,{getPrefixCls:Vr}=de.useContext(Nt.E_),{name:Br}=de.useContext(b.q3),fr=Ie(xt),Pr=typeof fr=="function",kr=de.useContext(b.qI),{validateTrigger:Jr}=de.useContext(ke.FieldContext),Xr=kn!==void 0?kn:Jr,vo=yt!=null,yr=Vr("form",nr),ur=(0,Ve.Z)(yr),[gr,no,Kr]=Ze(yr,ur),wr=(0,lt.ln)("Form.Item"),Rr=de.useContext(ke.ListContext),mo=de.useRef(null),[$r,qr]=Te({}),[eo,ko]=(0,re.Z)(()=>zn()),_o=sn=>{const hn=Rr==null?void 0:Rr.getKey(sn.name);if(ko(sn.destroy?zn():sn,!0),Ye&&pr!==!1&&kr){let Tt=sn.name;if(sn.destroy)Tt=mo.current||Tt;else if(hn!==void 0){const[it,Ft]=hn;Tt=[it].concat((0,Ce.Z)(Ft)),mo.current=Tt}kr(sn,Tt)}},qo=(sn,hn)=>{qr(Tt=>{const it=Object.assign({},Tt),en=[].concat((0,Ce.Z)(sn.name.slice(0,-1)),(0,Ce.Z)(hn)).join(ln);return sn.destroy?delete it[en]:it[en]=sn,it})},[Lo,ii]=de.useMemo(()=>{const sn=(0,Ce.Z)(eo.errors),hn=(0,Ce.Z)(eo.warnings);return Object.values($r).forEach(Tt=>{sn.push.apply(sn,(0,Ce.Z)(Tt.errors||[])),hn.push.apply(hn,(0,Ce.Z)(Tt.warnings||[]))}),[sn,hn]},[$r,eo.errors,eo.warnings]),Le=Ke();function nt(sn,hn,Tt){return Ye&&!Un?de.createElement(vn,{prefixCls:yr,hasFeedback:ze.hasFeedback,validateStatus:ze.validateStatus,meta:eo,errors:Lo,warnings:ii,noStyle:!0},sn):de.createElement(Bt,Object.assign({key:"row"},ze,{className:Oe()(Ct,Kr,ur,no),prefixCls:yr,fieldId:hn,isRequired:Tt,errors:Lo,warnings:ii,meta:eo,onSubItemMetaChange:qo,layout:Ar}),sn)}if(!vo&&!Pr&&!qt)return gr(nt(fr));let Ot={};return typeof Kt=="string"?Ot.label=Kt:yt&&(Ot.label=String(yt)),In&&(Ot=Object.assign(Object.assign({},Ot),In)),gr(de.createElement(ke.Field,Object.assign({},ze,{messageVariables:Ot,trigger:Zn,validateTrigger:Xr,onMetaChange:_o}),(sn,hn,Tt)=>{const it=Ue(yt).length&&hn?hn.name:[],Ft=Jt(it,Br),en=Pt!==void 0?Pt:!!(pt!=null&&pt.some(Dn=>{if(Dn&&typeof Dn=="object"&&Dn.required&&!Dn.warningOnly)return!0;if(typeof Dn=="function"){const jn=Dn(Tt);return(jn==null?void 0:jn.required)&&!(jn!=null&&jn.warningOnly)}return!1})),On=Object.assign({},sn);let Wn=null;if(Array.isArray(fr)&&vo)Wn=fr;else if(!(Pr&&(!(ar||qt)||vo))){if(!(qt&&!Pr&&!vo))if(de.isValidElement(fr)){const Dn=Object.assign(Object.assign({},fr.props),On);if(Dn.id||(Dn.id=Ft),pr||Lo.length>0||ii.length>0||ze.extra){const Cr=[];(pr||Lo.length>0)&&Cr.push(`${Ft}_help`),ze.extra&&Cr.push(`${Ft}_extra`),Dn["aria-describedby"]=Cr.join(" ")}Lo.length>0&&(Dn["aria-invalid"]="true"),en&&(Dn["aria-required"]="true"),(0,ce.Yr)(fr)&&(Dn.ref=Le(it,fr)),new Set([].concat((0,Ce.Z)(Ue(Zn)),(0,Ce.Z)(Ue(Xr)))).forEach(Cr=>{Dn[Cr]=function(){for(var br,zr,Qr,yo,io,Io=arguments.length,co=new Array(Io),fo=0;fo<Io;fo++)co[fo]=arguments[fo];(Qr=On[Cr])===null||Qr===void 0||(br=Qr).call.apply(br,[On].concat(co)),(io=(yo=fr.props)[Cr])===null||io===void 0||(zr=io).call.apply(zr,[yo].concat(co))}});const $n=[Dn["aria-required"],Dn["aria-invalid"],Dn["aria-describedby"]];Wn=de.createElement(cn,{control:On,update:fr,childProps:$n},(0,Pe.Tm)(fr,Dn))}else Pr&&(ar||qt)&&!vo?Wn=fr(Tt):Wn=fr}return nt(Wn,Ft,en)}))}const rr=Ln;rr.useStatus=Et;var _n=rr,rn=function(ze,yt){var Ye={};for(var Ct in ze)Object.prototype.hasOwnProperty.call(ze,Ct)&&yt.indexOf(Ct)<0&&(Ye[Ct]=ze[Ct]);if(ze!=null&&typeof Object.getOwnPropertySymbols=="function")for(var qt=0,Ct=Object.getOwnPropertySymbols(ze);qt<Ct.length;qt++)yt.indexOf(Ct[qt])<0&&Object.prototype.propertyIsEnumerable.call(ze,Ct[qt])&&(Ye[Ct[qt]]=ze[Ct[qt]]);return Ye},nn=ze=>{var{prefixCls:yt,children:Ye}=ze,Ct=rn(ze,["prefixCls","children"]);const{getPrefixCls:qt}=de.useContext(Nt.E_),nr=qt("form",yt),ar=de.useMemo(()=>({prefixCls:nr,status:"error"}),[nr]);return de.createElement(ke.List,Object.assign({},Ct),(pt,xt,Pt)=>de.createElement(b.Rk.Provider,{value:ar},Ye(pt.map(Kt=>Object.assign(Object.assign({},Kt),{fieldKey:Kt.key})),xt,{errors:Pt.errors,warnings:Pt.warnings})))};function er(){const{form:ze}=de.useContext(b.q3);return ze}const It=he;It.Item=_n,It.List=nn,It.ErrorList=He,It.useForm=bt,It.useFormInstance=er,It.useWatch=ke.useWatch,It.Provider=b.RV,It.create=()=>{};var Qt=It},4875:function(Yn,mn,z){"use strict";z.d(mn,{Z:function(){return St}});var b=z(59301),Ce=z(84105),de=z(87395),rt=z(92310),Oe=z.n(rt),xe=z(60499),Ae=z(18642),Ve=z(43749),Be=z(72190),fe=z(42244),Ge=z(38705),be=z(17212);function vt(){return typeof BigInt=="function"}function Je(_e){return!_e&&_e!==0&&!Number.isNaN(_e)||!String(_e).trim()}function tt(_e){var Vt=_e.trim(),tn=Vt.startsWith("-");tn&&(Vt=Vt.slice(1)),Vt=Vt.replace(/(\.\d*[^0])0*$/,"$1").replace(/\.0*$/,"").replace(/^0+/,""),Vt.startsWith(".")&&(Vt="0".concat(Vt));var un=Vt||"0",Tn=un.split("."),qn=Tn[0]||"0",mr=Tn[1]||"0";qn==="0"&&mr==="0"&&(tn=!1);var vr=tn?"-":"";return{negative:tn,negativeStr:vr,trimStr:un,integerStr:qn,decimalStr:mr,fullStr:"".concat(vr).concat(un)}}function je(_e){var Vt=String(_e);return!Number.isNaN(Number(Vt))&&Vt.includes("e")}function We(_e){var Vt=String(_e);if(je(_e)){var tn=Number(Vt.slice(Vt.indexOf("e-")+2)),un=Vt.match(/\.(\d+)/);return un!=null&&un[1]&&(tn+=un[1].length),tn}return Vt.includes(".")&&Mt(Vt)?Vt.length-Vt.indexOf(".")-1:0}function ot(_e){var Vt=String(_e);if(je(_e)){if(_e>Number.MAX_SAFE_INTEGER)return String(vt()?BigInt(_e).toString():Number.MAX_SAFE_INTEGER);if(_e<Number.MIN_SAFE_INTEGER)return String(vt()?BigInt(_e).toString():Number.MIN_SAFE_INTEGER);Vt=_e.toFixed(We(Vt))}return tt(Vt).fullStr}function Mt(_e){return typeof _e=="number"?!Number.isNaN(_e):_e?/^\s*-?\d+(\.\d+)?\s*$/.test(_e)||/^\s*-?\d+\.\s*$/.test(_e)||/^\s*-?\.\d+\s*$/.test(_e):!1}var Ut=function(){function _e(Vt){if((0,Ge.Z)(this,_e),(0,Ae.Z)(this,"origin",""),(0,Ae.Z)(this,"negative",void 0),(0,Ae.Z)(this,"integer",void 0),(0,Ae.Z)(this,"decimal",void 0),(0,Ae.Z)(this,"decimalLen",void 0),(0,Ae.Z)(this,"empty",void 0),(0,Ae.Z)(this,"nan",void 0),Je(Vt)){this.empty=!0;return}if(this.origin=String(Vt),Vt==="-"||Number.isNaN(Vt)){this.nan=!0;return}var tn=Vt;if(je(tn)&&(tn=Number(tn)),tn=typeof tn=="string"?tn:ot(tn),Mt(tn)){var un=tt(tn);this.negative=un.negative;var Tn=un.trimStr.split(".");this.integer=BigInt(Tn[0]);var qn=Tn[1]||"0";this.decimal=BigInt(qn),this.decimalLen=qn.length}else this.nan=!0}return(0,be.Z)(_e,[{key:"getMark",value:function(){return this.negative?"-":""}},{key:"getIntegerStr",value:function(){return this.integer.toString()}},{key:"getDecimalStr",value:function(){return this.decimal.toString().padStart(this.decimalLen,"0")}},{key:"alignDecimal",value:function(tn){var un="".concat(this.getMark()).concat(this.getIntegerStr()).concat(this.getDecimalStr().padEnd(tn,"0"));return BigInt(un)}},{key:"negate",value:function(){var tn=new _e(this.toString());return tn.negative=!tn.negative,tn}},{key:"cal",value:function(tn,un,Tn){var qn=Math.max(this.getDecimalStr().length,tn.getDecimalStr().length),mr=this.alignDecimal(qn),vr=tn.alignDecimal(qn),Jn=un(mr,vr).toString(),dr=Tn(qn),_t=tt(Jn),zt=_t.negativeStr,Sn=_t.trimStr,wn="".concat(zt).concat(Sn.padStart(dr+1,"0"));return new _e("".concat(wn.slice(0,-dr),".").concat(wn.slice(-dr)))}},{key:"add",value:function(tn){if(this.isInvalidate())return new _e(tn);var un=new _e(tn);return un.isInvalidate()?this:this.cal(un,function(Tn,qn){return Tn+qn},function(Tn){return Tn})}},{key:"multi",value:function(tn){var un=new _e(tn);return this.isInvalidate()||un.isInvalidate()?new _e(NaN):this.cal(un,function(Tn,qn){return Tn*qn},function(Tn){return Tn*2})}},{key:"isEmpty",value:function(){return this.empty}},{key:"isNaN",value:function(){return this.nan}},{key:"isInvalidate",value:function(){return this.isEmpty()||this.isNaN()}},{key:"equals",value:function(tn){return this.toString()===(tn==null?void 0:tn.toString())}},{key:"lessEquals",value:function(tn){return this.add(tn.negate().toString()).toNumber()<=0}},{key:"toNumber",value:function(){return this.isNaN()?NaN:Number(this.toString())}},{key:"toString",value:function(){var tn=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!0;return tn?this.isInvalidate()?"":tt("".concat(this.getMark()).concat(this.getIntegerStr(),".").concat(this.getDecimalStr())).fullStr:this.origin}}]),_e}(),se=function(){function _e(Vt){if((0,Ge.Z)(this,_e),(0,Ae.Z)(this,"origin",""),(0,Ae.Z)(this,"number",void 0),(0,Ae.Z)(this,"empty",void 0),Je(Vt)){this.empty=!0;return}this.origin=String(Vt),this.number=Number(Vt)}return(0,be.Z)(_e,[{key:"negate",value:function(){return new _e(-this.toNumber())}},{key:"add",value:function(tn){if(this.isInvalidate())return new _e(tn);var un=Number(tn);if(Number.isNaN(un))return this;var Tn=this.number+un;if(Tn>Number.MAX_SAFE_INTEGER)return new _e(Number.MAX_SAFE_INTEGER);if(Tn<Number.MIN_SAFE_INTEGER)return new _e(Number.MIN_SAFE_INTEGER);var qn=Math.max(We(this.number),We(un));return new _e(Tn.toFixed(qn))}},{key:"multi",value:function(tn){var un=Number(tn);if(this.isInvalidate()||Number.isNaN(un))return new _e(NaN);var Tn=this.number*un;if(Tn>Number.MAX_SAFE_INTEGER)return new _e(Number.MAX_SAFE_INTEGER);if(Tn<Number.MIN_SAFE_INTEGER)return new _e(Number.MIN_SAFE_INTEGER);var qn=Math.max(We(this.number),We(un));return new _e(Tn.toFixed(qn))}},{key:"isEmpty",value:function(){return this.empty}},{key:"isNaN",value:function(){return Number.isNaN(this.number)}},{key:"isInvalidate",value:function(){return this.isEmpty()||this.isNaN()}},{key:"equals",value:function(tn){return this.toNumber()===(tn==null?void 0:tn.toNumber())}},{key:"lessEquals",value:function(tn){return this.add(tn.negate().toString()).toNumber()<=0}},{key:"toNumber",value:function(){return this.number}},{key:"toString",value:function(){var tn=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!0;return tn?this.isInvalidate()?"":ot(this.number):this.origin}}]),_e}();function Me(_e){return vt()?new Ut(_e):new se(_e)}function st(_e,Vt,tn){var un=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!1;if(_e==="")return"";var Tn=tt(_e),qn=Tn.negativeStr,mr=Tn.integerStr,vr=Tn.decimalStr,Jn="".concat(Vt).concat(vr),dr="".concat(qn).concat(mr);if(tn>=0){var _t=Number(vr[tn]);if(_t>=5&&!un){var zt=Me(_e).add("".concat(qn,"0.").concat("0".repeat(tn)).concat(10-_t));return st(zt.toString(),Vt,tn,un)}return tn===0?dr:"".concat(dr).concat(Vt).concat(vr.padEnd(tn,"0").slice(0,tn))}return Jn===".0"?dr:"".concat(dr).concat(Jn)}var mt=Me,kt=z(36901),Qe=z(34280);function ut(_e,Vt){return typeof Proxy!="undefined"&&_e?new Proxy(_e,{get:function(un,Tn){if(Vt[Tn])return Vt[Tn];var qn=un[Tn];return typeof qn=="function"?qn.bind(un):qn}}):_e}var dt=z(8654),Fe=z(48736);function Ze(_e,Vt){var tn=(0,b.useRef)(null);function un(){try{var qn=_e.selectionStart,mr=_e.selectionEnd,vr=_e.value,Jn=vr.substring(0,qn),dr=vr.substring(mr);tn.current={start:qn,end:mr,value:vr,beforeTxt:Jn,afterTxt:dr}}catch(_t){}}function Tn(){if(_e&&tn.current&&Vt)try{var qn=_e.value,mr=tn.current,vr=mr.beforeTxt,Jn=mr.afterTxt,dr=mr.start,_t=qn.length;if(qn.startsWith(vr))_t=vr.length;else if(qn.endsWith(Jn))_t=qn.length-tn.current.afterTxt.length;else{var zt=vr[dr-1],Sn=qn.indexOf(zt,dr-1);Sn!==-1&&(_t=Sn+1)}_e.setSelectionRange(_t,_t)}catch(wn){(0,Fe.ZP)(!1,"Something warning of cursor restore. Please fire issue about this: ".concat(wn.message))}}return[un,Tn]}var Se=z(49658),ue=function(){var Vt=(0,b.useState)(!1),tn=(0,Be.Z)(Vt,2),un=tn[0],Tn=tn[1];return(0,Qe.Z)(function(){Tn((0,Se.Z)())},[]),un},gt=ue,He=z(16089),ke=200,Nt=600;function De(_e){var Vt=_e.prefixCls,tn=_e.upNode,un=_e.downNode,Tn=_e.upDisabled,qn=_e.downDisabled,mr=_e.onStep,vr=b.useRef(),Jn=b.useRef([]),dr=b.useRef();dr.current=mr;var _t=function(){clearTimeout(vr.current)},zt=function(pn,cn){pn.preventDefault(),_t(),dr.current(cn);function zn(){dr.current(cn),vr.current=setTimeout(zn,ke)}vr.current=setTimeout(zn,Nt)};b.useEffect(function(){return function(){_t(),Jn.current.forEach(function(Zt){return He.Z.cancel(Zt)})}},[]);var Sn=gt();if(Sn)return null;var wn="".concat(Vt,"-handler"),vn=Oe()(wn,"".concat(wn,"-up"),(0,Ae.Z)({},"".concat(wn,"-up-disabled"),Tn)),Rn=Oe()(wn,"".concat(wn,"-down"),(0,Ae.Z)({},"".concat(wn,"-down-disabled"),qn)),Bt=function(){return Jn.current.push((0,He.Z)(_t))},ln={unselectable:"on",role:"button",onMouseUp:Bt,onMouseLeave:Bt};return b.createElement("div",{className:"".concat(wn,"-wrap")},b.createElement("span",(0,xe.Z)({},ln,{onMouseDown:function(pn){zt(pn,!0)},"aria-label":"Increase Value","aria-disabled":Tn,className:vn}),tn||b.createElement("span",{unselectable:"on",className:"".concat(Vt,"-handler-up-inner")})),b.createElement("span",(0,xe.Z)({},ln,{onMouseDown:function(pn){zt(pn,!1)},"aria-label":"Decrease Value","aria-disabled":qn,className:Rn}),un||b.createElement("span",{unselectable:"on",className:"".concat(Vt,"-handler-down-inner")})))}function ve(_e){var Vt=typeof _e=="number"?ot(_e):tt(_e).fullStr,tn=Vt.includes(".");return tn?tt(Vt.replace(/(\d)\.(\d)/g,"$1$2.")).fullStr:_e+"0"}var At=z(30292),Gt=function(){var _e=(0,b.useRef)(0),Vt=function(){He.Z.cancel(_e.current)};return(0,b.useEffect)(function(){return Vt},[]),function(tn){Vt(),_e.current=(0,He.Z)(function(){tn()})}},Wt=["prefixCls","className","style","min","max","step","defaultValue","value","disabled","readOnly","upHandler","downHandler","keyboard","changeOnWheel","controls","classNames","stringMode","parser","formatter","precision","decimalSeparator","onChange","onInput","onPressEnter","onStep","changeOnBlur","domRef"],pe=["disabled","style","prefixCls","value","prefix","suffix","addonBefore","addonAfter","className","classNames"],Re=function(Vt,tn){return Vt||tn.isEmpty()?tn.toString():tn.toNumber()},Ue=function(Vt){var tn=mt(Vt);return tn.isInvalidate()?null:tn},Jt=b.forwardRef(function(_e,Vt){var tn=_e.prefixCls,un=_e.className,Tn=_e.style,qn=_e.min,mr=_e.max,vr=_e.step,Jn=vr===void 0?1:vr,dr=_e.defaultValue,_t=_e.value,zt=_e.disabled,Sn=_e.readOnly,wn=_e.upHandler,vn=_e.downHandler,Rn=_e.keyboard,Bt=_e.changeOnWheel,ln=Bt===void 0?!1:Bt,Zt=_e.controls,pn=Zt===void 0?!0:Zt,cn=_e.classNames,zn=_e.stringMode,Ln=_e.parser,rr=_e.formatter,_n=_e.precision,rn=_e.decimalSeparator,Fn=_e.onChange,nn=_e.onInput,er=_e.onPressEnter,It=_e.onStep,Qt=_e.changeOnBlur,ze=Qt===void 0?!0:Qt,yt=_e.domRef,Ye=(0,fe.Z)(_e,Wt),Ct="".concat(tn,"-input"),qt=b.useRef(null),nr=b.useState(!1),ar=(0,Be.Z)(nr,2),pt=ar[0],xt=ar[1],Pt=b.useRef(!1),Kt=b.useRef(!1),In=b.useRef(!1),Zn=b.useState(function(){return mt(_t!=null?_t:dr)}),kn=(0,Be.Z)(Zn,2),Un=kn[0],pr=kn[1];function Ar(Ft){_t===void 0&&pr(Ft)}var Vr=b.useCallback(function(Ft,en){if(!en)return _n>=0?_n:Math.max(We(Ft),We(Jn))},[_n,Jn]),Br=b.useCallback(function(Ft){var en=String(Ft);if(Ln)return Ln(en);var On=en;return rn&&(On=On.replace(rn,".")),On.replace(/[^\w.-]+/g,"")},[Ln,rn]),fr=b.useRef(""),Pr=b.useCallback(function(Ft,en){if(rr)return rr(Ft,{userTyping:en,input:String(fr.current)});var On=typeof Ft=="number"?ot(Ft):Ft;if(!en){var Wn=Vr(On,en);if(Mt(On)&&(rn||Wn>=0)){var Dn=rn||".";On=st(On,Dn,Wn)}}return On},[rr,Vr,rn]),kr=b.useState(function(){var Ft=dr!=null?dr:_t;return Un.isInvalidate()&&["string","number"].includes((0,Ve.Z)(Ft))?Number.isNaN(Ft)?"":Ft:Pr(Un.toString(),!1)}),Jr=(0,Be.Z)(kr,2),Xr=Jr[0],vo=Jr[1];fr.current=Xr;function yr(Ft,en){vo(Pr(Ft.isInvalidate()?Ft.toString(!1):Ft.toString(!en),en))}var ur=b.useMemo(function(){return Ue(mr)},[mr,_n]),gr=b.useMemo(function(){return Ue(qn)},[qn,_n]),no=b.useMemo(function(){return!ur||!Un||Un.isInvalidate()?!1:ur.lessEquals(Un)},[ur,Un]),Kr=b.useMemo(function(){return!gr||!Un||Un.isInvalidate()?!1:Un.lessEquals(gr)},[gr,Un]),wr=Ze(qt.current,pt),Rr=(0,Be.Z)(wr,2),mo=Rr[0],$r=Rr[1],qr=function(en){return ur&&!en.lessEquals(ur)?ur:gr&&!gr.lessEquals(en)?gr:null},eo=function(en){return!qr(en)},ko=function(en,On){var Wn=en,Dn=eo(Wn)||Wn.isEmpty();if(!Wn.isEmpty()&&!On&&(Wn=qr(Wn)||Wn,Dn=!0),!Sn&&!zt&&Dn){var jn=Wn.toString(),$n=Vr(jn,On);return $n>=0&&(Wn=mt(st(jn,".",$n)),eo(Wn)||(Wn=mt(st(jn,".",$n,!0)))),Wn.equals(Un)||(Ar(Wn),Fn==null||Fn(Wn.isEmpty()?null:Re(zn,Wn)),_t===void 0&&yr(Wn,On)),Wn}return Un},_o=Gt(),qo=function Ft(en){if(mo(),fr.current=en,vo(en),!Kt.current){var On=Br(en),Wn=mt(On);Wn.isNaN()||ko(Wn,!0)}nn==null||nn(en),_o(function(){var Dn=en;Ln||(Dn=en.replace(/。/g,".")),Dn!==en&&Ft(Dn)})},Lo=function(){Kt.current=!0},ii=function(){Kt.current=!1,qo(qt.current.value)},Le=function(en){qo(en.target.value)},nt=function(en){var On;if(!(en&&no||!en&&Kr)){Pt.current=!1;var Wn=mt(In.current?ve(Jn):Jn);en||(Wn=Wn.negate());var Dn=(Un||mt(0)).add(Wn.toString()),jn=ko(Dn,!1);It==null||It(Re(zn,jn),{offset:In.current?ve(Jn):Jn,type:en?"up":"down"}),(On=qt.current)===null||On===void 0||On.focus()}},Ot=function(en){var On=mt(Br(Xr)),Wn;On.isNaN()?Wn=ko(Un,en):Wn=ko(On,en),_t!==void 0?yr(Un,!1):Wn.isNaN()||yr(Wn,!1)},sn=function(){Pt.current=!0},hn=function(en){var On=en.key,Wn=en.shiftKey;Pt.current=!0,In.current=Wn,On==="Enter"&&(Kt.current||(Pt.current=!1),Ot(!1),er==null||er(en)),Rn!==!1&&!Kt.current&&["Up","ArrowUp","Down","ArrowDown"].includes(On)&&(nt(On==="Up"||On==="ArrowUp"),en.preventDefault())},Tt=function(){Pt.current=!1,In.current=!1};b.useEffect(function(){if(ln&&pt){var Ft=function(Wn){nt(Wn.deltaY<0),Wn.preventDefault()},en=qt.current;if(en)return en.addEventListener("wheel",Ft,{passive:!1}),function(){return en.removeEventListener("wheel",Ft)}}});var it=function(){ze&&Ot(!1),xt(!1),Pt.current=!1};return(0,Qe.o)(function(){Un.isInvalidate()||yr(Un,!1)},[_n,rr]),(0,Qe.o)(function(){var Ft=mt(_t);pr(Ft);var en=mt(Br(Xr));(!Ft.equals(en)||!Pt.current||rr)&&yr(Ft,Pt.current)},[_t]),(0,Qe.o)(function(){rr&&$r()},[Xr]),b.createElement("div",{ref:yt,className:Oe()(tn,un,(0,Ae.Z)((0,Ae.Z)((0,Ae.Z)((0,Ae.Z)((0,Ae.Z)({},"".concat(tn,"-focused"),pt),"".concat(tn,"-disabled"),zt),"".concat(tn,"-readonly"),Sn),"".concat(tn,"-not-a-number"),Un.isNaN()),"".concat(tn,"-out-of-range"),!Un.isInvalidate()&&!eo(Un))),style:Tn,onFocus:function(){xt(!0)},onBlur:it,onKeyDown:hn,onKeyUp:Tt,onCompositionStart:Lo,onCompositionEnd:ii,onBeforeInput:sn},pn&&b.createElement(De,{prefixCls:tn,upNode:wn,downNode:vn,upDisabled:no,downDisabled:Kr,onStep:nt}),b.createElement("div",{className:"".concat(Ct,"-wrap")},b.createElement("input",(0,xe.Z)({autoComplete:"off",role:"spinbutton","aria-valuemin":qn,"aria-valuemax":mr,"aria-valuenow":Un.isInvalidate()?null:Un.toString(),step:Jn},Ye,{ref:(0,dt.sQ)(qt,Vt),className:Ct,value:Xr,onChange:Le,disabled:zt,readOnly:Sn}))))}),et=b.forwardRef(function(_e,Vt){var tn=_e.disabled,un=_e.style,Tn=_e.prefixCls,qn=Tn===void 0?"rc-input-number":Tn,mr=_e.value,vr=_e.prefix,Jn=_e.suffix,dr=_e.addonBefore,_t=_e.addonAfter,zt=_e.className,Sn=_e.classNames,wn=(0,fe.Z)(_e,pe),vn=b.useRef(null),Rn=b.useRef(null),Bt=b.useRef(null),ln=function(pn){Bt.current&&(0,At.nH)(Bt.current,pn)};return b.useImperativeHandle(Vt,function(){return ut(Bt.current,{focus:ln,nativeElement:vn.current.nativeElement||Rn.current})}),b.createElement(kt.BaseInput,{className:zt,triggerFocus:ln,prefixCls:qn,value:mr,disabled:tn,style:un,prefix:vr,suffix:Jn,addonAfter:_t,addonBefore:dr,classNames:Sn,components:{affixWrapper:"div",groupWrapper:"div",wrapper:"div",groupAddon:"div"},ref:vn},b.createElement(Jt,(0,xe.Z)({prefixCls:qn,disabled:tn,ref:Bt,domRef:Rn,className:Sn==null?void 0:Sn.input},wn)))}),jt=et,ct=jt,dn=z(62487),bt=z(82855),le=z(48755),ne=z(60840),te=z(2171),ae=z(83397),he=z(31756),re=z(56553),ce=z(24971),Pe=z(70045),lt=z(36237),$e=z(53075),Ie=z(64910),ht=z(39082),Et=z(63356),Rt=z(56119),Te=z(16931),Ke=z(51636),yn=z(17835);const Ht=_e=>{var Vt;const tn=(Vt=_e.handleVisible)!==null&&Vt!==void 0?Vt:"auto",un=_e.controlHeightSM-_e.lineWidth*2;return Object.assign(Object.assign({},(0,Ie.T)(_e)),{controlWidth:90,handleWidth:un,handleFontSize:_e.fontSize/2,handleVisible:tn,handleActiveBg:_e.colorFillAlter,handleBg:_e.colorBgContainer,filledHandleBg:new yn.FastColor(_e.colorFillSecondary).onBackground(_e.colorBgContainer).toHexString(),handleHoverColor:_e.colorPrimary,handleBorderColor:_e.colorBorder,handleOpacity:tn===!0?1:0,handleVisibleWidth:tn===!0?un:0})},bn=(_e,Vt)=>{let{componentCls:tn,borderRadiusSM:un,borderRadiusLG:Tn}=_e;const qn=Vt==="lg"?Tn:un;return{[`&-${Vt}`]:{[`${tn}-handler-wrap`]:{borderStartEndRadius:qn,borderEndEndRadius:qn},[`${tn}-handler-up`]:{borderStartEndRadius:qn},[`${tn}-handler-down`]:{borderEndEndRadius:qn}}}},fn=_e=>{const{componentCls:Vt,lineWidth:tn,lineType:un,borderRadius:Tn,inputFontSizeSM:qn,inputFontSizeLG:mr,controlHeightLG:vr,controlHeightSM:Jn,colorError:dr,paddingInlineSM:_t,paddingBlockSM:zt,paddingBlockLG:Sn,paddingInlineLG:wn,colorTextDescription:vn,motionDurationMid:Rn,handleHoverColor:Bt,handleOpacity:ln,paddingInline:Zt,paddingBlock:pn,handleBg:cn,handleActiveBg:zn,colorTextDisabled:Ln,borderRadiusSM:rr,borderRadiusLG:_n,controlWidth:rn,handleBorderColor:Fn,filledHandleBg:nn,lineHeightLG:er,calc:It}=_e;return[{[Vt]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},(0,Et.Wf)(_e)),(0,$e.ik)(_e)),{display:"inline-block",width:rn,margin:0,padding:0,borderRadius:Tn}),(0,ht.qG)(_e,{[`${Vt}-handler-wrap`]:{background:cn,[`${Vt}-handler-down`]:{borderBlockStart:`${(0,lt.unit)(tn)} ${un} ${Fn}`}}})),(0,ht.H8)(_e,{[`${Vt}-handler-wrap`]:{background:nn,[`${Vt}-handler-down`]:{borderBlockStart:`${(0,lt.unit)(tn)} ${un} ${Fn}`}},"&:focus-within":{[`${Vt}-handler-wrap`]:{background:cn}}})),(0,ht.vc)(_e,{[`${Vt}-handler-wrap`]:{background:cn,[`${Vt}-handler-down`]:{borderBlockStart:`${(0,lt.unit)(tn)} ${un} ${Fn}`}}})),(0,ht.Mu)(_e)),{"&-rtl":{direction:"rtl",[`${Vt}-input`]:{direction:"rtl"}},"&-lg":{padding:0,fontSize:mr,lineHeight:er,borderRadius:_n,[`input${Vt}-input`]:{height:It(vr).sub(It(tn).mul(2)).equal(),padding:`${(0,lt.unit)(Sn)} ${(0,lt.unit)(wn)}`}},"&-sm":{padding:0,fontSize:qn,borderRadius:rr,[`input${Vt}-input`]:{height:It(Jn).sub(It(tn).mul(2)).equal(),padding:`${(0,lt.unit)(zt)} ${(0,lt.unit)(_t)}`}},"&-out-of-range":{[`${Vt}-input-wrap`]:{input:{color:dr}}},"&-group":Object.assign(Object.assign(Object.assign({},(0,Et.Wf)(_e)),(0,$e.s7)(_e)),{"&-wrapper":Object.assign(Object.assign(Object.assign({display:"inline-block",textAlign:"start",verticalAlign:"top",[`${Vt}-affix-wrapper`]:{width:"100%"},"&-lg":{[`${Vt}-group-addon`]:{borderRadius:_n,fontSize:_e.fontSizeLG}},"&-sm":{[`${Vt}-group-addon`]:{borderRadius:rr}}},(0,ht.ir)(_e)),(0,ht.S5)(_e)),{[`&:not(${Vt}-compact-first-item):not(${Vt}-compact-last-item)${Vt}-compact-item`]:{[`${Vt}, ${Vt}-group-addon`]:{borderRadius:0}},[`&:not(${Vt}-compact-last-item)${Vt}-compact-first-item`]:{[`${Vt}, ${Vt}-group-addon`]:{borderStartEndRadius:0,borderEndEndRadius:0}},[`&:not(${Vt}-compact-first-item)${Vt}-compact-last-item`]:{[`${Vt}, ${Vt}-group-addon`]:{borderStartStartRadius:0,borderEndStartRadius:0}}})}),[`&-disabled ${Vt}-input`]:{cursor:"not-allowed"},[Vt]:{"&-input":Object.assign(Object.assign(Object.assign(Object.assign({},(0,Et.Wf)(_e)),{width:"100%",padding:`${(0,lt.unit)(pn)} ${(0,lt.unit)(Zt)}`,textAlign:"start",backgroundColor:"transparent",border:0,borderRadius:Tn,outline:0,transition:`all ${Rn} linear`,appearance:"textfield",fontSize:"inherit"}),(0,$e.nz)(_e.colorTextPlaceholder)),{'&[type="number"]::-webkit-inner-spin-button, &[type="number"]::-webkit-outer-spin-button':{margin:0,appearance:"none"}})},[`&:hover ${Vt}-handler-wrap, &-focused ${Vt}-handler-wrap`]:{width:_e.handleWidth,opacity:1}})},{[Vt]:Object.assign(Object.assign(Object.assign({[`${Vt}-handler-wrap`]:{position:"absolute",insetBlockStart:0,insetInlineEnd:0,width:_e.handleVisibleWidth,opacity:ln,height:"100%",borderStartStartRadius:0,borderStartEndRadius:Tn,borderEndEndRadius:Tn,borderEndStartRadius:0,display:"flex",flexDirection:"column",alignItems:"stretch",transition:`all ${Rn}`,overflow:"hidden",[`${Vt}-handler`]:{display:"flex",alignItems:"center",justifyContent:"center",flex:"auto",height:"40%",[`
|
|
|
${Vt}-handler-up-inner,
|
|
|
${Vt}-handler-down-inner
|
|
|
`]:{marginInlineEnd:0,fontSize:_e.handleFontSize}}},[`${Vt}-handler`]:{height:"50%",overflow:"hidden",color:vn,fontWeight:"bold",lineHeight:0,textAlign:"center",cursor:"pointer",borderInlineStart:`${(0,lt.unit)(tn)} ${un} ${Fn}`,transition:`all ${Rn} linear`,"&:active":{background:zn},"&:hover":{height:"60%",[`
|
|
|
${Vt}-handler-up-inner,
|
|
|
${Vt}-handler-down-inner
|
|
|
`]:{color:Bt}},"&-up-inner, &-down-inner":Object.assign(Object.assign({},(0,Et.Ro)()),{color:vn,transition:`all ${Rn} linear`,userSelect:"none"})},[`${Vt}-handler-up`]:{borderStartEndRadius:Tn},[`${Vt}-handler-down`]:{borderEndEndRadius:Tn}},bn(_e,"lg")),bn(_e,"sm")),{"&-disabled, &-readonly":{[`${Vt}-handler-wrap`]:{display:"none"},[`${Vt}-input`]:{color:"inherit"}},[`
|
|
|
${Vt}-handler-up-disabled,
|
|
|
${Vt}-handler-down-disabled
|
|
|
`]:{cursor:"not-allowed"},[`
|
|
|
${Vt}-handler-up-disabled:hover &-handler-up-inner,
|
|
|
${Vt}-handler-down-disabled:hover &-handler-down-inner
|
|
|
`]:{color:Ln}})}]},Xt=_e=>{const{componentCls:Vt,paddingBlock:tn,paddingInline:un,inputAffixPadding:Tn,controlWidth:qn,borderRadiusLG:mr,borderRadiusSM:vr,paddingInlineLG:Jn,paddingInlineSM:dr,paddingBlockLG:_t,paddingBlockSM:zt,motionDurationMid:Sn}=_e;return{[`${Vt}-affix-wrapper`]:Object.assign(Object.assign({[`input${Vt}-input`]:{padding:`${(0,lt.unit)(tn)} 0`}},(0,$e.ik)(_e)),{position:"relative",display:"inline-flex",alignItems:"center",width:qn,padding:0,paddingInlineStart:un,"&-lg":{borderRadius:mr,paddingInlineStart:Jn,[`input${Vt}-input`]:{padding:`${(0,lt.unit)(_t)} 0`}},"&-sm":{borderRadius:vr,paddingInlineStart:dr,[`input${Vt}-input`]:{padding:`${(0,lt.unit)(zt)} 0`}},[`&:not(${Vt}-disabled):hover`]:{zIndex:1},"&-focused, &:focus":{zIndex:1},[`&-disabled > ${Vt}-disabled`]:{background:"transparent"},[`> div${Vt}`]:{width:"100%",border:"none",outline:"none",[`&${Vt}-focused`]:{boxShadow:"none !important"}},"&::before":{display:"inline-block",width:0,visibility:"hidden",content:'"\\a0"'},[`${Vt}-handler-wrap`]:{zIndex:2},[Vt]:{position:"static",color:"inherit","&-prefix, &-suffix":{display:"flex",flex:"none",alignItems:"center",pointerEvents:"none"},"&-prefix":{marginInlineEnd:Tn},"&-suffix":{insetBlockStart:0,insetInlineEnd:0,height:"100%",marginInlineEnd:un,marginInlineStart:Tn,transition:`margin ${Sn}`}},[`&:hover ${Vt}-handler-wrap, &-focused ${Vt}-handler-wrap`]:{width:_e.handleWidth,opacity:1},[`&:not(${Vt}-affix-wrapper-without-controls):hover ${Vt}-suffix`]:{marginInlineEnd:_e.calc(_e.handleWidth).add(un).equal()}})}};var on=(0,Te.I$)("InputNumber",_e=>{const Vt=(0,Ke.mergeToken)(_e,(0,Ie.e)(_e));return[fn(Vt),Xt(Vt),(0,Rt.c)(Vt)]},Ht,{unitless:{handleOpacity:!0}}),gn=function(_e,Vt){var tn={};for(var un in _e)Object.prototype.hasOwnProperty.call(_e,un)&&Vt.indexOf(un)<0&&(tn[un]=_e[un]);if(_e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Tn=0,un=Object.getOwnPropertySymbols(_e);Tn<un.length;Tn++)Vt.indexOf(un[Tn])<0&&Object.prototype.propertyIsEnumerable.call(_e,un[Tn])&&(tn[un[Tn]]=_e[un[Tn]]);return tn};const ft=b.forwardRef((_e,Vt)=>{const{getPrefixCls:tn,direction:un}=b.useContext(le.E_),Tn=b.useRef(null);b.useImperativeHandle(Vt,()=>Tn.current);const{className:qn,rootClassName:mr,size:vr,disabled:Jn,prefixCls:dr,addonBefore:_t,addonAfter:zt,prefix:Sn,suffix:wn,bordered:vn,readOnly:Rn,status:Bt,controls:ln,variant:Zt}=_e,pn=gn(_e,["className","rootClassName","size","disabled","prefixCls","addonBefore","addonAfter","prefix","suffix","bordered","readOnly","status","controls","variant"]),cn=tn("input-number",dr),zn=(0,ae.Z)(cn),[Ln,rr,_n]=on(cn,zn),{compactSize:rn,compactItemClassnames:Fn}=(0,Pe.ri)(cn,un);let nn=b.createElement(de.Z,{className:`${cn}-handler-up-inner`}),er=b.createElement(Ce.Z,{className:`${cn}-handler-down-inner`});const It=typeof ln=="boolean"?ln:void 0;typeof ln=="object"&&(nn=typeof ln.upIcon=="undefined"?nn:b.createElement("span",{className:`${cn}-handler-up-inner`},ln.upIcon),er=typeof ln.downIcon=="undefined"?er:b.createElement("span",{className:`${cn}-handler-down-inner`},ln.downIcon));const{hasFeedback:Qt,status:ze,isFormItemInput:yt,feedbackIcon:Ye}=b.useContext(re.aM),Ct=(0,bt.F)(ze,Bt),qt=(0,he.Z)(kn=>{var Un;return(Un=vr!=null?vr:rn)!==null&&Un!==void 0?Un:kn}),nr=b.useContext(te.Z),ar=Jn!=null?Jn:nr,[pt,xt]=(0,ce.Z)("inputNumber",Zt,vn),Pt=Qt&&b.createElement(b.Fragment,null,Ye),Kt=Oe()({[`${cn}-lg`]:qt==="large",[`${cn}-sm`]:qt==="small",[`${cn}-rtl`]:un==="rtl",[`${cn}-in-form-item`]:yt},rr),In=`${cn}-group`,Zn=b.createElement(ct,Object.assign({ref:Tn,disabled:ar,className:Oe()(_n,zn,qn,mr,Fn),upHandler:nn,downHandler:er,prefixCls:cn,readOnly:Rn,controls:It,prefix:Sn,suffix:Pt||wn,addonBefore:_t&&b.createElement(dn.Z,{form:!0,space:!0},_t),addonAfter:zt&&b.createElement(dn.Z,{form:!0,space:!0},zt),classNames:{input:Kt,variant:Oe()({[`${cn}-${pt}`]:xt},(0,bt.Z)(cn,Ct,Qt)),affixWrapper:Oe()({[`${cn}-affix-wrapper-sm`]:qt==="small",[`${cn}-affix-wrapper-lg`]:qt==="large",[`${cn}-affix-wrapper-rtl`]:un==="rtl",[`${cn}-affix-wrapper-without-controls`]:ln===!1||ar},rr),wrapper:Oe()({[`${In}-rtl`]:un==="rtl"},rr),groupWrapper:Oe()({[`${cn}-group-wrapper-sm`]:qt==="small",[`${cn}-group-wrapper-lg`]:qt==="large",[`${cn}-group-wrapper-rtl`]:un==="rtl",[`${cn}-group-wrapper-${pt}`]:xt},(0,bt.Z)(`${cn}-group-wrapper`,Ct,Qt),rr)}},pn));return Ln(Zn)}),Yt=ft,xn=_e=>b.createElement(ne.ZP,{theme:{components:{InputNumber:{handleVisible:!0}}}},b.createElement(ft,Object.assign({},_e)));Yt._InternalPanelDoNotUseOrYouWillBeFired=xn;var St=Yt},49397:function(Yn,mn,z){"use strict";z.d(mn,{Z:function(){return se}});var b=z(59301),Ce=z(92310),de=z.n(Ce),rt=z(36901),Oe=z(8654),xe=z(62487),Ae=z(86013),Ve=z(82855),Be=z(48755),fe=z(2171),Ge=z(83397),be=z(31756),vt=z(56553),Je=z(24971),tt=z(70045),je=z(23826),We=z(53075);function ot(Me){return!!(Me.prefix||Me.suffix||Me.allowClear||Me.showCount)}var Mt=function(Me,st){var mt={};for(var kt in Me)Object.prototype.hasOwnProperty.call(Me,kt)&&st.indexOf(kt)<0&&(mt[kt]=Me[kt]);if(Me!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Qe=0,kt=Object.getOwnPropertySymbols(Me);Qe<kt.length;Qe++)st.indexOf(kt[Qe])<0&&Object.prototype.propertyIsEnumerable.call(Me,kt[Qe])&&(mt[kt[Qe]]=Me[kt[Qe]]);return mt},se=(0,b.forwardRef)((Me,st)=>{const{prefixCls:mt,bordered:kt=!0,status:Qe,size:ut,disabled:dt,onBlur:Fe,onFocus:Ze,suffix:Se,allowClear:ue,addonAfter:gt,addonBefore:He,className:ke,style:Nt,styles:De,rootClassName:ve,onChange:At,classNames:Gt,variant:Wt}=Me,pe=Mt(Me,["prefixCls","bordered","status","size","disabled","onBlur","onFocus","suffix","allowClear","addonAfter","addonBefore","className","style","styles","rootClassName","onChange","classNames","variant"]),{getPrefixCls:Re,direction:Ue,allowClear:Jt,autoComplete:et,className:jt,style:ct,classNames:dn,styles:bt}=(0,Be.dj)("input"),le=Re("input",mt),ne=(0,b.useRef)(null),te=(0,Ge.Z)(le),[ae,he,re]=(0,We.TI)(le,ve),[ce]=(0,We.ZP)(le,te),{compactSize:Pe,compactItemClassnames:lt}=(0,tt.ri)(le,Ue),$e=(0,be.Z)(St=>{var _e;return(_e=ut!=null?ut:Pe)!==null&&_e!==void 0?_e:St}),Ie=b.useContext(fe.Z),ht=dt!=null?dt:Ie,{status:Et,hasFeedback:Rt,feedbackIcon:Te}=(0,b.useContext)(vt.aM),Ke=(0,Ve.F)(Et,Qe),yn=ot(Me)||!!Rt,Ht=(0,b.useRef)(yn),bn=(0,je.Z)(ne,!0),fn=St=>{bn(),Fe==null||Fe(St)},Xt=St=>{bn(),Ze==null||Ze(St)},on=St=>{bn(),At==null||At(St)},gn=(Rt||Se)&&b.createElement(b.Fragment,null,Se,Rt&&Te),ft=(0,Ae.Z)(ue!=null?ue:Jt),[Yt,xn]=(0,Je.Z)("input",Wt,kt);return ae(ce(b.createElement(rt.default,Object.assign({ref:(0,Oe.sQ)(st,ne),prefixCls:le,autoComplete:et},pe,{disabled:ht,onBlur:fn,onFocus:Xt,style:Object.assign(Object.assign({},ct),Nt),styles:Object.assign(Object.assign({},bt),De),suffix:gn,allowClear:ft,className:de()(ke,ve,re,te,lt,jt),onChange:on,addonBefore:He&&b.createElement(xe.Z,{form:!0,space:!0},He),addonAfter:gt&&b.createElement(xe.Z,{form:!0,space:!0},gt),classNames:Object.assign(Object.assign(Object.assign({},Gt),dn),{input:de()({[`${le}-sm`]:$e==="small",[`${le}-lg`]:$e==="large",[`${le}-rtl`]:Ue==="rtl"},Gt==null?void 0:Gt.input,dn.input,he),variant:de()({[`${le}-${Yt}`]:xn},(0,Ve.Z)(le,Ke)),affixWrapper:de()({[`${le}-affix-wrapper-sm`]:$e==="small",[`${le}-affix-wrapper-lg`]:$e==="large",[`${le}-affix-wrapper-rtl`]:Ue==="rtl"},he),wrapper:de()({[`${le}-group-rtl`]:Ue==="rtl"},he),groupWrapper:de()({[`${le}-group-wrapper-sm`]:$e==="small",[`${le}-group-wrapper-lg`]:$e==="large",[`${le}-group-wrapper-rtl`]:Ue==="rtl",[`${le}-group-wrapper-${Yt}`]:xn},(0,Ve.Z)(`${le}-group-wrapper`,Ke,Rt),he)})}))))})},79809:function(Yn,mn,z){"use strict";z.d(mn,{Z:function(){return st}});var b=z(59301),Ce=z(92310),de=z.n(Ce),rt=z(22711),Oe=z(86013),xe=z(82855),Ae=z(48755),Ve=z(2171),Be=z(83397),fe=z(31756),Ge=z(56553),be=z(24971),vt=z(70045),Je=z(30292),tt=z(53075),je=z(16931),We=z(51636),ot=z(64910);const Mt=mt=>{const{componentCls:kt,paddingLG:Qe}=mt,ut=`${kt}-textarea`;return{[`textarea${kt}`]:{maxWidth:"100%",height:"auto",minHeight:mt.controlHeight,lineHeight:mt.lineHeight,verticalAlign:"bottom",transition:`all ${mt.motionDurationSlow}`,resize:"vertical",[`&${kt}-mouse-active`]:{transition:`all ${mt.motionDurationSlow}, height 0s, width 0s`}},[`${kt}-textarea-affix-wrapper-resize-dirty`]:{width:"auto"},[ut]:{position:"relative","&-show-count":{[`> ${kt}`]:{height:"100%"},[`${kt}-data-count`]:{position:"absolute",bottom:mt.calc(mt.fontSize).mul(mt.lineHeight).mul(-1).equal(),insetInlineEnd:0,color:mt.colorTextDescription,whiteSpace:"nowrap",pointerEvents:"none"}},[`
|
|
|
&-allow-clear > ${kt},
|
|
|
&-affix-wrapper${ut}-has-feedback ${kt}
|
|
|
`]:{paddingInlineEnd:Qe},[`&-affix-wrapper${kt}-affix-wrapper`]:{padding:0,[`> textarea${kt}`]:{fontSize:"inherit",border:"none",outline:"none",background:"transparent",minHeight:mt.calc(mt.controlHeight).sub(mt.calc(mt.lineWidth).mul(2)).equal(),"&:focus":{boxShadow:"none !important"}},[`${kt}-suffix`]:{margin:0,"> *:not(:last-child)":{marginInline:0},[`${kt}-clear-icon`]:{position:"absolute",insetInlineEnd:mt.paddingInline,insetBlockStart:mt.paddingXS},[`${ut}-suffix`]:{position:"absolute",top:0,insetInlineEnd:mt.paddingInline,bottom:0,zIndex:1,display:"inline-flex",alignItems:"center",margin:"auto",pointerEvents:"none"}}},[`&-affix-wrapper${kt}-affix-wrapper-sm`]:{[`${kt}-suffix`]:{[`${kt}-clear-icon`]:{insetInlineEnd:mt.paddingInlineSM}}}}}};var Ut=(0,je.I$)(["Input","TextArea"],mt=>{const kt=(0,We.mergeToken)(mt,(0,ot.e)(mt));return[Mt(kt)]},ot.T,{resetFont:!1}),se=function(mt,kt){var Qe={};for(var ut in mt)Object.prototype.hasOwnProperty.call(mt,ut)&&kt.indexOf(ut)<0&&(Qe[ut]=mt[ut]);if(mt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var dt=0,ut=Object.getOwnPropertySymbols(mt);dt<ut.length;dt++)kt.indexOf(ut[dt])<0&&Object.prototype.propertyIsEnumerable.call(mt,ut[dt])&&(Qe[ut[dt]]=mt[ut[dt]]);return Qe},st=(0,b.forwardRef)((mt,kt)=>{var Qe;const{prefixCls:ut,bordered:dt=!0,size:Fe,disabled:Ze,status:Se,allowClear:ue,classNames:gt,rootClassName:He,className:ke,style:Nt,styles:De,variant:ve,showCount:At,onMouseDown:Gt,onResize:Wt}=mt,pe=se(mt,["prefixCls","bordered","size","disabled","status","allowClear","classNames","rootClassName","className","style","styles","variant","showCount","onMouseDown","onResize"]),{getPrefixCls:Re,direction:Ue,allowClear:Jt,autoComplete:et,className:jt,style:ct,classNames:dn,styles:bt}=(0,Ae.dj)("textArea"),le=b.useContext(Ve.Z),ne=Ze!=null?Ze:le,{status:te,hasFeedback:ae,feedbackIcon:he}=b.useContext(Ge.aM),re=(0,xe.F)(te,Se),ce=b.useRef(null);b.useImperativeHandle(kt,()=>{var xn;return{resizableTextArea:(xn=ce.current)===null||xn===void 0?void 0:xn.resizableTextArea,focus:St=>{var _e,Vt;(0,Je.nH)((Vt=(_e=ce.current)===null||_e===void 0?void 0:_e.resizableTextArea)===null||Vt===void 0?void 0:Vt.textArea,St)},blur:()=>{var St;return(St=ce.current)===null||St===void 0?void 0:St.blur()}}});const Pe=Re("input",ut),lt=(0,Be.Z)(Pe),[$e,Ie,ht]=(0,tt.TI)(Pe,He),[Et]=Ut(Pe,lt),{compactSize:Rt,compactItemClassnames:Te}=(0,vt.ri)(Pe,Ue),Ke=(0,fe.Z)(xn=>{var St;return(St=Fe!=null?Fe:Rt)!==null&&St!==void 0?St:xn}),[yn,Ht]=(0,be.Z)("textArea",ve,dt),bn=(0,Oe.Z)(ue!=null?ue:Jt),[fn,Xt]=b.useState(!1),[on,gn]=b.useState(!1),ft=xn=>{Xt(!0),Gt==null||Gt(xn);const St=()=>{Xt(!1),document.removeEventListener("mouseup",St)};document.addEventListener("mouseup",St)},Yt=xn=>{var St,_e;if(Wt==null||Wt(xn),fn&&typeof getComputedStyle=="function"){const Vt=(_e=(St=ce.current)===null||St===void 0?void 0:St.nativeElement)===null||_e===void 0?void 0:_e.querySelector("textarea");Vt&&getComputedStyle(Vt).resize==="both"&&gn(!0)}};return $e(Et(b.createElement(rt.default,Object.assign({autoComplete:et},pe,{style:Object.assign(Object.assign({},ct),Nt),styles:Object.assign(Object.assign({},bt),De),disabled:ne,allowClear:bn,className:de()(ht,lt,ke,He,Te,jt,on&&`${Pe}-textarea-affix-wrapper-resize-dirty`),classNames:Object.assign(Object.assign(Object.assign({},gt),dn),{textarea:de()({[`${Pe}-sm`]:Ke==="small",[`${Pe}-lg`]:Ke==="large"},Ie,gt==null?void 0:gt.textarea,dn.textarea,fn&&`${Pe}-mouse-active`),variant:de()({[`${Pe}-${yn}`]:Ht},(0,xe.Z)(Pe,re)),affixWrapper:de()(`${Pe}-textarea-affix-wrapper`,{[`${Pe}-affix-wrapper-rtl`]:Ue==="rtl",[`${Pe}-affix-wrapper-sm`]:Ke==="small",[`${Pe}-affix-wrapper-lg`]:Ke==="large",[`${Pe}-textarea-show-count`]:At||((Qe=mt.count)===null||Qe===void 0?void 0:Qe.show)},Ie)}),prefixCls:Pe,suffix:ae&&b.createElement("span",{className:`${Pe}-textarea-suffix`},he),showCount:At,ref:ce,onResize:Yt,onMouseDown:ft}))))})},23826:function(Yn,mn,z){"use strict";z.d(mn,{Z:function(){return Ce}});var b=z(59301);function Ce(de,rt){const Oe=(0,b.useRef)([]),xe=()=>{Oe.current.push(setTimeout(()=>{var Ae,Ve,Be,fe;!((Ae=de.current)===null||Ae===void 0)&&Ae.input&&((Ve=de.current)===null||Ve===void 0?void 0:Ve.input.getAttribute("type"))==="password"&&(!((Be=de.current)===null||Be===void 0)&&Be.input.hasAttribute("value"))&&((fe=de.current)===null||fe===void 0||fe.input.removeAttribute("value"))}))};return(0,b.useEffect)(()=>(rt&&xe(),()=>Oe.current.forEach(Ae=>{Ae&&clearTimeout(Ae)})),[]),xe}},37568:function(Yn,mn,z){"use strict";z.d(mn,{default:function(){return dn}});var b=z(59301),Ce=z(92310),de=z.n(Ce),rt=z(48755),Oe=z(56553),xe=z(53075),Ve=bt=>{const{getPrefixCls:le,direction:ne}=(0,b.useContext)(rt.E_),{prefixCls:te,className:ae}=bt,he=le("input-group",te),re=le("input"),[ce,Pe,lt]=(0,xe.ZP)(re),$e=de()(he,lt,{[`${he}-lg`]:bt.size==="large",[`${he}-sm`]:bt.size==="small",[`${he}-compact`]:bt.compact,[`${he}-rtl`]:ne==="rtl"},Pe,ae),Ie=(0,b.useContext)(Oe.aM),ht=(0,b.useMemo)(()=>Object.assign(Object.assign({},Ie),{isFormItemInput:!1}),[Ie]);return ce(b.createElement("span",{className:$e,style:bt.style,onMouseEnter:bt.onMouseEnter,onMouseLeave:bt.onMouseLeave,onFocus:bt.onFocus,onBlur:bt.onBlur},b.createElement(Oe.aM.Provider,{value:ht},bt.children)))},Be=z(49397),fe=z(77654),Ge=z(6089),be=z(26112),vt=z(82855),Je=z(31756),tt=z(16931),je=z(51636),We=z(64910);const ot=bt=>{const{componentCls:le,paddingXS:ne}=bt;return{[le]:{display:"inline-flex",alignItems:"center",flexWrap:"nowrap",columnGap:ne,"&-rtl":{direction:"rtl"},[`${le}-input`]:{textAlign:"center",paddingInline:bt.paddingXXS},[`&${le}-sm ${le}-input`]:{paddingInline:bt.calc(bt.paddingXXS).div(2).equal()},[`&${le}-lg ${le}-input`]:{paddingInline:bt.paddingXS}}}};var Mt=(0,tt.I$)(["Input","OTP"],bt=>{const le=(0,je.mergeToken)(bt,(0,We.e)(bt));return[ot(le)]},We.T),Ut=z(16089),se=function(bt,le){var ne={};for(var te in bt)Object.prototype.hasOwnProperty.call(bt,te)&&le.indexOf(te)<0&&(ne[te]=bt[te]);if(bt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var ae=0,te=Object.getOwnPropertySymbols(bt);ae<te.length;ae++)le.indexOf(te[ae])<0&&Object.prototype.propertyIsEnumerable.call(bt,te[ae])&&(ne[te[ae]]=bt[te[ae]]);return ne},st=b.forwardRef((bt,le)=>{const{value:ne,onChange:te,onActiveChange:ae,index:he,mask:re}=bt,ce=se(bt,["value","onChange","onActiveChange","index","mask"]),Pe=ne&&typeof re=="string"?re:ne,lt=Rt=>{te(he,Rt.target.value)},$e=b.useRef(null);b.useImperativeHandle(le,()=>$e.current);const Ie=()=>{(0,Ut.Z)(()=>{var Rt;const Te=(Rt=$e.current)===null||Rt===void 0?void 0:Rt.input;document.activeElement===Te&&Te&&Te.select()})},ht=Rt=>{const{key:Te,ctrlKey:Ke,metaKey:yn}=Rt;Te==="ArrowLeft"?ae(he-1):Te==="ArrowRight"?ae(he+1):Te==="z"&&(Ke||yn)&&Rt.preventDefault(),Ie()},Et=Rt=>{Rt.key==="Backspace"&&!ne&&ae(he-1),Ie()};return b.createElement(Be.Z,Object.assign({type:re===!0?"password":"text"},ce,{ref:$e,value:Pe,onInput:lt,onFocus:Ie,onKeyDown:ht,onKeyUp:Et,onMouseDown:Ie,onMouseUp:Ie}))}),mt=function(bt,le){var ne={};for(var te in bt)Object.prototype.hasOwnProperty.call(bt,te)&&le.indexOf(te)<0&&(ne[te]=bt[te]);if(bt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var ae=0,te=Object.getOwnPropertySymbols(bt);ae<te.length;ae++)le.indexOf(te[ae])<0&&Object.prototype.propertyIsEnumerable.call(bt,te[ae])&&(ne[te[ae]]=bt[te[ae]]);return ne};function kt(bt){return(bt||"").split("")}const Qe=bt=>{const{index:le,prefixCls:ne,separator:te}=bt,ae=typeof te=="function"?te(le):te;return ae?b.createElement("span",{className:`${ne}-separator`},ae):null};var dt=b.forwardRef((bt,le)=>{const{prefixCls:ne,length:te=6,size:ae,defaultValue:he,value:re,onChange:ce,formatter:Pe,separator:lt,variant:$e,disabled:Ie,status:ht,autoFocus:Et,mask:Rt,type:Te,onInput:Ke,inputMode:yn}=bt,Ht=mt(bt,["prefixCls","length","size","defaultValue","value","onChange","formatter","separator","variant","disabled","status","autoFocus","mask","type","onInput","inputMode"]),{getPrefixCls:bn,direction:fn}=b.useContext(rt.E_),Xt=bn("otp",ne),on=(0,be.Z)(Ht,{aria:!0,data:!0,attr:!0}),[gn,ft,Yt]=Mt(Xt),xn=(0,Je.Z)(Sn=>ae!=null?ae:Sn),St=b.useContext(Oe.aM),_e=(0,vt.F)(St.status,ht),Vt=b.useMemo(()=>Object.assign(Object.assign({},St),{status:_e,hasFeedback:!1,feedbackIcon:null}),[St,_e]),tn=b.useRef(null),un=b.useRef({});b.useImperativeHandle(le,()=>({focus:()=>{var Sn;(Sn=un.current[0])===null||Sn===void 0||Sn.focus()},blur:()=>{var Sn;for(let wn=0;wn<te;wn+=1)(Sn=un.current[wn])===null||Sn===void 0||Sn.blur()},nativeElement:tn.current}));const Tn=Sn=>Pe?Pe(Sn):Sn,[qn,mr]=b.useState(()=>kt(Tn(he||"")));b.useEffect(()=>{re!==void 0&&mr(kt(re))},[re]);const vr=(0,Ge.Z)(Sn=>{mr(Sn),Ke&&Ke(Sn),ce&&Sn.length===te&&Sn.every(wn=>wn)&&Sn.some((wn,vn)=>qn[vn]!==wn)&&ce(Sn.join(""))}),Jn=(0,Ge.Z)((Sn,wn)=>{let vn=(0,fe.Z)(qn);for(let Bt=0;Bt<Sn;Bt+=1)vn[Bt]||(vn[Bt]="");wn.length<=1?vn[Sn]=wn:vn=vn.slice(0,Sn).concat(kt(wn)),vn=vn.slice(0,te);for(let Bt=vn.length-1;Bt>=0&&!vn[Bt];Bt-=1)vn.pop();const Rn=Tn(vn.map(Bt=>Bt||" ").join(""));return vn=kt(Rn).map((Bt,ln)=>Bt===" "&&!vn[ln]?vn[ln]:Bt),vn}),dr=(Sn,wn)=>{var vn;const Rn=Jn(Sn,wn),Bt=Math.min(Sn+wn.length,te-1);Bt!==Sn&&Rn[Sn]!==void 0&&((vn=un.current[Bt])===null||vn===void 0||vn.focus()),vr(Rn)},_t=Sn=>{var wn;(wn=un.current[Sn])===null||wn===void 0||wn.focus()},zt={variant:$e,disabled:Ie,status:_e,mask:Rt,type:Te,inputMode:yn};return gn(b.createElement("div",Object.assign({},on,{ref:tn,className:de()(Xt,{[`${Xt}-sm`]:xn==="small",[`${Xt}-lg`]:xn==="large",[`${Xt}-rtl`]:fn==="rtl"},Yt,ft)}),b.createElement(Oe.aM.Provider,{value:Vt},Array.from({length:te}).map((Sn,wn)=>{const vn=`otp-${wn}`,Rn=qn[wn]||"";return b.createElement(b.Fragment,{key:vn},b.createElement(st,Object.assign({ref:Bt=>{un.current[wn]=Bt},index:wn,size:xn,htmlSize:1,className:`${Xt}-input`,onChange:dr,value:Rn,onActiveChange:_t,autoFocus:wn===0&&Et},zt)),wn<te-1&&b.createElement(Qe,{separator:lt,index:wn,prefixCls:Xt}))}))))}),Fe=z(73331),Ze=z(15277),Se=z(2738),ue=z(8654),gt=z(2171),He=z(23826),ke=function(bt,le){var ne={};for(var te in bt)Object.prototype.hasOwnProperty.call(bt,te)&&le.indexOf(te)<0&&(ne[te]=bt[te]);if(bt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var ae=0,te=Object.getOwnPropertySymbols(bt);ae<te.length;ae++)le.indexOf(te[ae])<0&&Object.prototype.propertyIsEnumerable.call(bt,te[ae])&&(ne[te[ae]]=bt[te[ae]]);return ne};const Nt=bt=>bt?b.createElement(Ze.Z,null):b.createElement(Fe.Z,null),De={click:"onClick",hover:"onMouseOver"};var At=b.forwardRef((bt,le)=>{const{disabled:ne,action:te="click",visibilityToggle:ae=!0,iconRender:he=Nt}=bt,re=b.useContext(gt.Z),ce=ne!=null?ne:re,Pe=typeof ae=="object"&&ae.visible!==void 0,[lt,$e]=(0,b.useState)(()=>Pe?ae.visible:!1),Ie=(0,b.useRef)(null);b.useEffect(()=>{Pe&&$e(ae.visible)},[Pe,ae]);const ht=(0,He.Z)(Ie),Et=()=>{var xn;if(ce)return;lt&&ht();const St=!lt;$e(St),typeof ae=="object"&&((xn=ae.onVisibleChange)===null||xn===void 0||xn.call(ae,St))},Rt=xn=>{const St=De[te]||"",_e=he(lt),Vt={[St]:Et,className:`${xn}-icon`,key:"passwordIcon",onMouseDown:tn=>{tn.preventDefault()},onMouseUp:tn=>{tn.preventDefault()}};return b.cloneElement(b.isValidElement(_e)?_e:b.createElement("span",null,_e),Vt)},{className:Te,prefixCls:Ke,inputPrefixCls:yn,size:Ht}=bt,bn=ke(bt,["className","prefixCls","inputPrefixCls","size"]),{getPrefixCls:fn}=b.useContext(rt.E_),Xt=fn("input",yn),on=fn("input-password",Ke),gn=ae&&Rt(on),ft=de()(on,Te,{[`${on}-${Ht}`]:!!Ht}),Yt=Object.assign(Object.assign({},(0,Se.Z)(bn,["suffix","iconRender","visibilityToggle"])),{type:lt?"text":"password",className:ft,prefixCls:Xt,suffix:gn});return Ht&&(Yt.size=Ht),b.createElement(Be.Z,Object.assign({ref:(0,ue.sQ)(le,Ie)},Yt))}),Gt=z(47472),Wt=z(22703),pe=z(7939),Re=z(70045),Ue=function(bt,le){var ne={};for(var te in bt)Object.prototype.hasOwnProperty.call(bt,te)&&le.indexOf(te)<0&&(ne[te]=bt[te]);if(bt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var ae=0,te=Object.getOwnPropertySymbols(bt);ae<te.length;ae++)le.indexOf(te[ae])<0&&Object.prototype.propertyIsEnumerable.call(bt,te[ae])&&(ne[te[ae]]=bt[te[ae]]);return ne},et=b.forwardRef((bt,le)=>{const{prefixCls:ne,inputPrefixCls:te,className:ae,size:he,suffix:re,enterButton:ce=!1,addonAfter:Pe,loading:lt,disabled:$e,onSearch:Ie,onChange:ht,onCompositionStart:Et,onCompositionEnd:Rt}=bt,Te=Ue(bt,["prefixCls","inputPrefixCls","className","size","suffix","enterButton","addonAfter","loading","disabled","onSearch","onChange","onCompositionStart","onCompositionEnd"]),{getPrefixCls:Ke,direction:yn}=b.useContext(rt.E_),Ht=b.useRef(!1),bn=Ke("input-search",ne),fn=Ke("input",te),{compactSize:Xt}=(0,Re.ri)(bn,yn),on=(0,Je.Z)(dr=>{var _t;return(_t=he!=null?he:Xt)!==null&&_t!==void 0?_t:dr}),gn=b.useRef(null),ft=dr=>{dr!=null&&dr.target&&dr.type==="click"&&Ie&&Ie(dr.target.value,dr,{source:"clear"}),ht==null||ht(dr)},Yt=dr=>{var _t;document.activeElement===((_t=gn.current)===null||_t===void 0?void 0:_t.input)&&dr.preventDefault()},xn=dr=>{var _t,zt;Ie&&Ie((zt=(_t=gn.current)===null||_t===void 0?void 0:_t.input)===null||zt===void 0?void 0:zt.value,dr,{source:"input"})},St=dr=>{Ht.current||lt||xn(dr)},_e=typeof ce=="boolean"?b.createElement(Gt.Z,null):null,Vt=`${bn}-button`;let tn;const un=ce||{},Tn=un.type&&un.type.__ANT_BUTTON===!0;Tn||un.type==="button"?tn=(0,Wt.Tm)(un,Object.assign({onMouseDown:Yt,onClick:dr=>{var _t,zt;(zt=(_t=un==null?void 0:un.props)===null||_t===void 0?void 0:_t.onClick)===null||zt===void 0||zt.call(_t,dr),xn(dr)},key:"enterButton"},Tn?{className:Vt,size:on}:{})):tn=b.createElement(pe.ZP,{className:Vt,type:ce?"primary":void 0,size:on,disabled:$e,key:"enterButton",onMouseDown:Yt,onClick:xn,loading:lt,icon:_e},ce),Pe&&(tn=[tn,(0,Wt.Tm)(Pe,{key:"addonAfter"})]);const qn=de()(bn,{[`${bn}-rtl`]:yn==="rtl",[`${bn}-${on}`]:!!on,[`${bn}-with-button`]:!!ce},ae),mr=Object.assign(Object.assign({},Te),{className:qn,prefixCls:fn,type:"search"}),vr=dr=>{Ht.current=!0,Et==null||Et(dr)},Jn=dr=>{Ht.current=!1,Rt==null||Rt(dr)};return b.createElement(Be.Z,Object.assign({ref:(0,ue.sQ)(gn,le),onPressEnter:St},mr,{size:on,onCompositionStart:vr,onCompositionEnd:Jn,addonAfter:tn,suffix:re,onChange:ft,disabled:$e}))}),jt=z(79809);const ct=Be.Z;ct.Group=Ve,ct.Search=et,ct.TextArea=jt.Z,ct.Password=At,ct.OTP=dt;var dn=ct},24303:function(Yn,mn,z){"use strict";z.d(mn,{D:function(){return mt},Z:function(){return ut}});var b=z(59301),Ce=z(60499),de={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"},rt=de,Oe=z(7657),xe=function(Fe,Ze){return b.createElement(Oe.Z,(0,Ce.Z)({},Fe,{ref:Ze,icon:rt}))},Ae=b.forwardRef(xe),Ve=Ae,Be=z(33853),fe=z(38819),Ge=z(92310),be=z.n(Ge),vt=z(2738),Je=z(48755),tt=z(6989),je=z(36237),We=z(48923),ot=z(16931);const Mt=dt=>{const{componentCls:Fe,siderBg:Ze,motionDurationMid:Se,motionDurationSlow:ue,antCls:gt,triggerHeight:He,triggerColor:ke,triggerBg:Nt,headerHeight:De,zeroTriggerWidth:ve,zeroTriggerHeight:At,borderRadiusLG:Gt,lightSiderBg:Wt,lightTriggerColor:pe,lightTriggerBg:Re,bodyBg:Ue}=dt;return{[Fe]:{position:"relative",minWidth:0,background:Ze,transition:`all ${Se}, background 0s`,"&-has-trigger":{paddingBottom:He},"&-right":{order:1},[`${Fe}-children`]:{height:"100%",marginTop:-.1,paddingTop:.1,[`${gt}-menu${gt}-menu-inline-collapsed`]:{width:"auto"}},[`&-zero-width ${Fe}-children`]:{overflow:"hidden"},[`${Fe}-trigger`]:{position:"fixed",bottom:0,zIndex:1,height:He,color:ke,lineHeight:(0,je.unit)(He),textAlign:"center",background:Nt,cursor:"pointer",transition:`all ${Se}`},[`${Fe}-zero-width-trigger`]:{position:"absolute",top:De,insetInlineEnd:dt.calc(ve).mul(-1).equal(),zIndex:1,width:ve,height:At,color:ke,fontSize:dt.fontSizeXL,display:"flex",alignItems:"center",justifyContent:"center",background:Ze,borderRadius:`0 ${(0,je.unit)(Gt)} ${(0,je.unit)(Gt)} 0`,cursor:"pointer",transition:`background ${ue} ease`,"&::after":{position:"absolute",inset:0,background:"transparent",transition:`all ${ue}`,content:'""'},"&:hover::after":{background:"rgba(255, 255, 255, 0.2)"},"&-right":{insetInlineStart:dt.calc(ve).mul(-1).equal(),borderRadius:`${(0,je.unit)(Gt)} 0 0 ${(0,je.unit)(Gt)}`}},"&-light":{background:Wt,[`${Fe}-trigger`]:{color:pe,background:Re},[`${Fe}-zero-width-trigger`]:{color:pe,background:Re,border:`1px solid ${Ue}`,borderInlineStart:0}}}}};var Ut=(0,ot.I$)(["Layout","Sider"],dt=>[Mt(dt)],We.eh,{deprecatedTokens:We.jn}),se=function(dt,Fe){var Ze={};for(var Se in dt)Object.prototype.hasOwnProperty.call(dt,Se)&&Fe.indexOf(Se)<0&&(Ze[Se]=dt[Se]);if(dt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var ue=0,Se=Object.getOwnPropertySymbols(dt);ue<Se.length;ue++)Fe.indexOf(Se[ue])<0&&Object.prototype.propertyIsEnumerable.call(dt,Se[ue])&&(Ze[Se[ue]]=dt[Se[ue]]);return Ze};const Me={xs:"479.98px",sm:"575.98px",md:"767.98px",lg:"991.98px",xl:"1199.98px",xxl:"1599.98px"},st=dt=>!Number.isNaN(Number.parseFloat(dt))&&isFinite(dt),mt=b.createContext({}),kt=(()=>{let dt=0;return function(){let Fe=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"";return dt+=1,`${Fe}${dt}`}})();var ut=b.forwardRef((dt,Fe)=>{const{prefixCls:Ze,className:Se,trigger:ue,children:gt,defaultCollapsed:He=!1,theme:ke="dark",style:Nt={},collapsible:De=!1,reverseArrow:ve=!1,width:At=200,collapsedWidth:Gt=80,zeroWidthTriggerStyle:Wt,breakpoint:pe,onCollapse:Re,onBreakpoint:Ue}=dt,Jt=se(dt,["prefixCls","className","trigger","children","defaultCollapsed","theme","style","collapsible","reverseArrow","width","collapsedWidth","zeroWidthTriggerStyle","breakpoint","onCollapse","onBreakpoint"]),{siderHook:et}=(0,b.useContext)(tt.V),[jt,ct]=(0,b.useState)("collapsed"in dt?dt.collapsed:He),[dn,bt]=(0,b.useState)(!1);(0,b.useEffect)(()=>{"collapsed"in dt&&ct(dt.collapsed)},[dt.collapsed]);const le=(on,gn)=>{"collapsed"in dt||ct(on),Re==null||Re(on,gn)},{getPrefixCls:ne,direction:te}=(0,b.useContext)(Je.E_),ae=ne("layout-sider",Ze),[he,re,ce]=Ut(ae),Pe=(0,b.useRef)(null);Pe.current=on=>{bt(on.matches),Ue==null||Ue(on.matches),jt!==on.matches&&le(on.matches,"responsive")},(0,b.useEffect)(()=>{function on(ft){return Pe.current(ft)}let gn;if(typeof window!="undefined"){const{matchMedia:ft}=window;if(ft&&pe&&pe in Me){gn=ft(`screen and (max-width: ${Me[pe]})`);try{gn.addEventListener("change",on)}catch(Yt){gn.addListener(on)}on(gn)}}return()=>{try{gn==null||gn.removeEventListener("change",on)}catch(ft){gn==null||gn.removeListener(on)}}},[pe]),(0,b.useEffect)(()=>{const on=kt("ant-sider-");return et.addSider(on),()=>et.removeSider(on)},[]);const lt=()=>{le(!jt,"clickTrigger")},$e=(0,vt.Z)(Jt,["collapsed"]),Ie=jt?Gt:At,ht=st(Ie)?`${Ie}px`:String(Ie),Et=parseFloat(String(Gt||0))===0?b.createElement("span",{onClick:lt,className:be()(`${ae}-zero-width-trigger`,`${ae}-zero-width-trigger-${ve?"right":"left"}`),style:Wt},ue||b.createElement(Ve,null)):null,Rt=te==="rtl"==!ve,yn={expanded:Rt?b.createElement(fe.Z,null):b.createElement(Be.Z,null),collapsed:Rt?b.createElement(Be.Z,null):b.createElement(fe.Z,null)}[jt?"collapsed":"expanded"],Ht=ue!==null?Et||b.createElement("div",{className:`${ae}-trigger`,onClick:lt,style:{width:ht}},ue||yn):null,bn=Object.assign(Object.assign({},Nt),{flex:`0 0 ${ht}`,maxWidth:ht,minWidth:ht,width:ht}),fn=be()(ae,`${ae}-${ke}`,{[`${ae}-collapsed`]:!!jt,[`${ae}-has-trigger`]:De&&ue!==null&&!Et,[`${ae}-below`]:!!dn,[`${ae}-zero-width`]:parseFloat(ht)===0},Se,re,ce),Xt=b.useMemo(()=>({siderCollapsed:jt}),[jt]);return he(b.createElement(mt.Provider,{value:Xt},b.createElement("aside",Object.assign({className:fn},$e,{style:bn,ref:Fe}),b.createElement("div",{className:`${ae}-children`},gt),De||dn&&Et?Ht:null)))})},6989:function(Yn,mn,z){"use strict";z.d(mn,{V:function(){return Ce}});var b=z(59301);const Ce=b.createContext({siderHook:{addSider:()=>null,removeSider:()=>null}})},48923:function(Yn,mn,z){"use strict";z.d(mn,{eh:function(){return rt},jn:function(){return Oe}});var b=z(36237),Ce=z(16931);const de=xe=>{const{antCls:Ae,componentCls:Ve,colorText:Be,footerBg:fe,headerHeight:Ge,headerPadding:be,headerColor:vt,footerPadding:Je,fontSize:tt,bodyBg:je,headerBg:We}=xe;return{[Ve]:{display:"flex",flex:"auto",flexDirection:"column",minHeight:0,background:je,"&, *":{boxSizing:"border-box"},[`&${Ve}-has-sider`]:{flexDirection:"row",[`> ${Ve}, > ${Ve}-content`]:{width:0}},[`${Ve}-header, &${Ve}-footer`]:{flex:"0 0 auto"},"&-rtl":{direction:"rtl"}},[`${Ve}-header`]:{height:Ge,padding:be,color:vt,lineHeight:(0,b.unit)(Ge),background:We,[`${Ae}-menu`]:{lineHeight:"inherit"}},[`${Ve}-footer`]:{padding:Je,color:Be,fontSize:tt,background:fe},[`${Ve}-content`]:{flex:"auto",color:Be,minHeight:0}}},rt=xe=>{const{colorBgLayout:Ae,controlHeight:Ve,controlHeightLG:Be,colorText:fe,controlHeightSM:Ge,marginXXS:be,colorTextLightSolid:vt,colorBgContainer:Je}=xe,tt=Be*1.25;return{colorBgHeader:"#001529",colorBgBody:Ae,colorBgTrigger:"#002140",bodyBg:Ae,headerBg:"#001529",headerHeight:Ve*2,headerPadding:`0 ${tt}px`,headerColor:fe,footerPadding:`${Ge}px ${tt}px`,footerBg:Ae,siderBg:"#001529",triggerHeight:Be+be*2,triggerBg:"#002140",triggerColor:vt,zeroTriggerWidth:Be,zeroTriggerHeight:Be,lightSiderBg:Je,lightTriggerBg:Je,lightTriggerColor:fe}},Oe=[["colorBgBody","bodyBg"],["colorBgHeader","headerBg"],["colorBgTrigger","triggerBg"]];mn.ZP=(0,Ce.I$)("Layout",xe=>[de(xe)],rt,{deprecatedTokens:Oe})},78857:function(Yn,mn,z){"use strict";z.d(mn,{J:function(){return xe}});var b=z(59301),Ce=z(8654),de=z(62487),rt=function(Ae,Ve){var Be={};for(var fe in Ae)Object.prototype.hasOwnProperty.call(Ae,fe)&&Ve.indexOf(fe)<0&&(Be[fe]=Ae[fe]);if(Ae!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Ge=0,fe=Object.getOwnPropertySymbols(Ae);Ge<fe.length;Ge++)Ve.indexOf(fe[Ge])<0&&Object.prototype.propertyIsEnumerable.call(Ae,fe[Ge])&&(Be[fe[Ge]]=Ae[fe[Ge]]);return Be};const Oe=b.createContext(null),xe=b.forwardRef((Ae,Ve)=>{const{children:Be}=Ae,fe=rt(Ae,["children"]),Ge=b.useContext(Oe),be=b.useMemo(()=>Object.assign(Object.assign({},Ge),fe),[Ge,fe.prefixCls,fe.mode,fe.selectable,fe.rootClassName]),vt=(0,Ce.t4)(Be),Je=(0,Ce.x1)(Ve,vt?(0,Ce.C4)(Be):null);return b.createElement(Oe.Provider,{value:be},b.createElement(de.Z,{space:!0},vt?b.cloneElement(Be,{ref:Je}):Be))});mn.Z=Oe},93041:function(Yn,mn,z){"use strict";z.d(mn,{default:function(){return he}});var b=z(59301),Ce=z(28321),de=z(24303),rt=z(18785),Oe=z(92310),xe=z.n(Oe),Ae=z(6089),Ve=z(2738),Be=z(86641),fe=z(22703),Ge=z(48755),be=z(83397),Je=(0,b.createContext)({prefixCls:"",firstLevel:!0,inlineCollapsed:!1}),tt=function(re,ce){var Pe={};for(var lt in re)Object.prototype.hasOwnProperty.call(re,lt)&&ce.indexOf(lt)<0&&(Pe[lt]=re[lt]);if(re!=null&&typeof Object.getOwnPropertySymbols=="function")for(var $e=0,lt=Object.getOwnPropertySymbols(re);$e<lt.length;$e++)ce.indexOf(lt[$e])<0&&Object.prototype.propertyIsEnumerable.call(re,lt[$e])&&(Pe[lt[$e]]=re[lt[$e]]);return Pe},We=re=>{const{prefixCls:ce,className:Pe,dashed:lt}=re,$e=tt(re,["prefixCls","className","dashed"]),{getPrefixCls:Ie}=b.useContext(Ge.E_),ht=Ie("menu",ce),Et=xe()({[`${ht}-item-divider-dashed`]:!!lt},Pe);return b.createElement(Ce.iz,Object.assign({className:Et},$e))},ot=z(11592),Mt=z(25399),se=re=>{var ce;const{className:Pe,children:lt,icon:$e,title:Ie,danger:ht,extra:Et}=re,{prefixCls:Rt,firstLevel:Te,direction:Ke,disableMenuItemTitleTooltip:yn,inlineCollapsed:Ht}=b.useContext(Je),bn=Yt=>{const xn=lt==null?void 0:lt[0],St=b.createElement("span",{className:xe()(`${Rt}-title-content`,{[`${Rt}-title-content-with-extra`]:!!Et||Et===0})},lt);return(!$e||b.isValidElement(lt)&<.type==="span")&<&&Yt&&Te&&typeof xn=="string"?b.createElement("div",{className:`${Rt}-inline-collapsed-noicon`},xn.charAt(0)):St},{siderCollapsed:fn}=b.useContext(de.D);let Xt=Ie;typeof Ie=="undefined"?Xt=Te?lt:"":Ie===!1&&(Xt="");const on={title:Xt};!fn&&!Ht&&(on.title=null,on.open=!1);const gn=(0,ot.Z)(lt).length;let ft=b.createElement(Ce.ck,Object.assign({},(0,Ve.Z)(re,["title","icon","danger"]),{className:xe()({[`${Rt}-item-danger`]:ht,[`${Rt}-item-only-child`]:($e?gn+1:gn)===1},Pe),title:typeof Ie=="string"?Ie:void 0}),(0,fe.Tm)($e,{className:xe()(b.isValidElement($e)?(ce=$e.props)===null||ce===void 0?void 0:ce.className:"",`${Rt}-item-icon`)}),bn(Ht));return yn||(ft=b.createElement(Mt.Z,Object.assign({},on,{placement:Ke==="rtl"?"left":"right",classNames:{root:`${Rt}-inline-collapsed-tooltip`}}),ft)),ft},Me=z(78857),st=z(36237),mt=z(17835),kt=z(63356),Qe=z(34961),ut=z(46e3),dt=z(34925),Fe=z(16931),Ze=z(51636),ue=re=>{const{componentCls:ce,motionDurationSlow:Pe,horizontalLineHeight:lt,colorSplit:$e,lineWidth:Ie,lineType:ht,itemPaddingInline:Et}=re;return{[`${ce}-horizontal`]:{lineHeight:lt,border:0,borderBottom:`${(0,st.unit)(Ie)} ${ht} ${$e}`,boxShadow:"none","&::after":{display:"block",clear:"both",height:0,content:'"\\20"'},[`${ce}-item, ${ce}-submenu`]:{position:"relative",display:"inline-block",verticalAlign:"bottom",paddingInline:Et},[`> ${ce}-item:hover,
|
|
|
> ${ce}-item-active,
|
|
|
> ${ce}-submenu ${ce}-submenu-title:hover`]:{backgroundColor:"transparent"},[`${ce}-item, ${ce}-submenu-title`]:{transition:[`border-color ${Pe}`,`background ${Pe}`].join(",")},[`${ce}-submenu-arrow`]:{display:"none"}}}},He=re=>{let{componentCls:ce,menuArrowOffset:Pe,calc:lt}=re;return{[`${ce}-rtl`]:{direction:"rtl"},[`${ce}-submenu-rtl`]:{transformOrigin:"100% 0"},[`${ce}-rtl${ce}-vertical,
|
|
|
${ce}-submenu-rtl ${ce}-vertical`]:{[`${ce}-submenu-arrow`]:{"&::before":{transform:`rotate(-45deg) translateY(${(0,st.unit)(lt(Pe).mul(-1).equal())})`},"&::after":{transform:`rotate(45deg) translateY(${(0,st.unit)(Pe)})`}}}}};const ke=re=>Object.assign({},(0,kt.oN)(re));var De=(re,ce)=>{const{componentCls:Pe,itemColor:lt,itemSelectedColor:$e,subMenuItemSelectedColor:Ie,groupTitleColor:ht,itemBg:Et,subMenuItemBg:Rt,itemSelectedBg:Te,activeBarHeight:Ke,activeBarWidth:yn,activeBarBorderWidth:Ht,motionDurationSlow:bn,motionEaseInOut:fn,motionEaseOut:Xt,itemPaddingInline:on,motionDurationMid:gn,itemHoverColor:ft,lineType:Yt,colorSplit:xn,itemDisabledColor:St,dangerItemColor:_e,dangerItemHoverColor:Vt,dangerItemSelectedColor:tn,dangerItemActiveBg:un,dangerItemSelectedBg:Tn,popupBg:qn,itemHoverBg:mr,itemActiveBg:vr,menuSubMenuBg:Jn,horizontalItemSelectedColor:dr,horizontalItemSelectedBg:_t,horizontalItemBorderRadius:zt,horizontalItemHoverBg:Sn}=re;return{[`${Pe}-${ce}, ${Pe}-${ce} > ${Pe}`]:{color:lt,background:Et,[`&${Pe}-root:focus-visible`]:Object.assign({},ke(re)),[`${Pe}-item`]:{"&-group-title, &-extra":{color:ht}},[`${Pe}-submenu-selected > ${Pe}-submenu-title`]:{color:Ie},[`${Pe}-item, ${Pe}-submenu-title`]:{color:lt,[`&:not(${Pe}-item-disabled):focus-visible`]:Object.assign({},ke(re))},[`${Pe}-item-disabled, ${Pe}-submenu-disabled`]:{color:`${St} !important`},[`${Pe}-item:not(${Pe}-item-selected):not(${Pe}-submenu-selected)`]:{[`&:hover, > ${Pe}-submenu-title:hover`]:{color:ft}},[`&:not(${Pe}-horizontal)`]:{[`${Pe}-item:not(${Pe}-item-selected)`]:{"&:hover":{backgroundColor:mr},"&:active":{backgroundColor:vr}},[`${Pe}-submenu-title`]:{"&:hover":{backgroundColor:mr},"&:active":{backgroundColor:vr}}},[`${Pe}-item-danger`]:{color:_e,[`&${Pe}-item:hover`]:{[`&:not(${Pe}-item-selected):not(${Pe}-submenu-selected)`]:{color:Vt}},[`&${Pe}-item:active`]:{background:un}},[`${Pe}-item a`]:{"&, &:hover":{color:"inherit"}},[`${Pe}-item-selected`]:{color:$e,[`&${Pe}-item-danger`]:{color:tn},"a, a:hover":{color:"inherit"}},[`& ${Pe}-item-selected`]:{backgroundColor:Te,[`&${Pe}-item-danger`]:{backgroundColor:Tn}},[`&${Pe}-submenu > ${Pe}`]:{backgroundColor:Jn},[`&${Pe}-popup > ${Pe}`]:{backgroundColor:qn},[`&${Pe}-submenu-popup > ${Pe}`]:{backgroundColor:qn},[`&${Pe}-horizontal`]:Object.assign(Object.assign({},ce==="dark"?{borderBottom:0}:{}),{[`> ${Pe}-item, > ${Pe}-submenu`]:{top:Ht,marginTop:re.calc(Ht).mul(-1).equal(),marginBottom:0,borderRadius:zt,"&::after":{position:"absolute",insetInline:on,bottom:0,borderBottom:`${(0,st.unit)(Ke)} solid transparent`,transition:`border-color ${bn} ${fn}`,content:'""'},"&:hover, &-active, &-open":{background:Sn,"&::after":{borderBottomWidth:Ke,borderBottomColor:dr}},"&-selected":{color:dr,backgroundColor:_t,"&:hover":{backgroundColor:_t},"&::after":{borderBottomWidth:Ke,borderBottomColor:dr}}}}),[`&${Pe}-root`]:{[`&${Pe}-inline, &${Pe}-vertical`]:{borderInlineEnd:`${(0,st.unit)(Ht)} ${Yt} ${xn}`}},[`&${Pe}-inline`]:{[`${Pe}-sub${Pe}-inline`]:{background:Rt},[`${Pe}-item`]:{position:"relative","&::after":{position:"absolute",insetBlock:0,insetInlineEnd:0,borderInlineEnd:`${(0,st.unit)(yn)} solid ${$e}`,transform:"scaleY(0.0001)",opacity:0,transition:[`transform ${gn} ${Xt}`,`opacity ${gn} ${Xt}`].join(","),content:'""'},[`&${Pe}-item-danger`]:{"&::after":{borderInlineEndColor:tn}}},[`${Pe}-selected, ${Pe}-item-selected`]:{"&::after":{transform:"scaleY(1)",opacity:1,transition:[`transform ${gn} ${fn}`,`opacity ${gn} ${fn}`].join(",")}}}}}};const ve=re=>{const{componentCls:ce,itemHeight:Pe,itemMarginInline:lt,padding:$e,menuArrowSize:Ie,marginXS:ht,itemMarginBlock:Et,itemWidth:Rt,itemPaddingInline:Te}=re,Ke=re.calc(Ie).add($e).add(ht).equal();return{[`${ce}-item`]:{position:"relative",overflow:"hidden"},[`${ce}-item, ${ce}-submenu-title`]:{height:Pe,lineHeight:(0,st.unit)(Pe),paddingInline:Te,overflow:"hidden",textOverflow:"ellipsis",marginInline:lt,marginBlock:Et,width:Rt},[`> ${ce}-item,
|
|
|
> ${ce}-submenu > ${ce}-submenu-title`]:{height:Pe,lineHeight:(0,st.unit)(Pe)},[`${ce}-item-group-list ${ce}-submenu-title,
|
|
|
${ce}-submenu-title`]:{paddingInlineEnd:Ke}}};var Gt=re=>{const{componentCls:ce,iconCls:Pe,itemHeight:lt,colorTextLightSolid:$e,dropdownWidth:Ie,controlHeightLG:ht,motionEaseOut:Et,paddingXL:Rt,itemMarginInline:Te,fontSizeLG:Ke,motionDurationFast:yn,motionDurationSlow:Ht,paddingXS:bn,boxShadowSecondary:fn,collapsedWidth:Xt,collapsedIconSize:on}=re,gn={height:lt,lineHeight:(0,st.unit)(lt),listStylePosition:"inside",listStyleType:"disc"};return[{[ce]:{"&-inline, &-vertical":Object.assign({[`&${ce}-root`]:{boxShadow:"none"}},ve(re))},[`${ce}-submenu-popup`]:{[`${ce}-vertical`]:Object.assign(Object.assign({},ve(re)),{boxShadow:fn})}},{[`${ce}-submenu-popup ${ce}-vertical${ce}-sub`]:{minWidth:Ie,maxHeight:`calc(100vh - ${(0,st.unit)(re.calc(ht).mul(2.5).equal())})`,padding:"0",overflow:"hidden",borderInlineEnd:0,"&:not([class*='-active'])":{overflowX:"hidden",overflowY:"auto"}}},{[`${ce}-inline`]:{width:"100%",[`&${ce}-root`]:{[`${ce}-item, ${ce}-submenu-title`]:{display:"flex",alignItems:"center",transition:[`border-color ${Ht}`,`background ${Ht}`,`padding ${yn} ${Et}`].join(","),[`> ${ce}-title-content`]:{flex:"auto",minWidth:0,overflow:"hidden",textOverflow:"ellipsis"},"> *":{flex:"none"}}},[`${ce}-sub${ce}-inline`]:{padding:0,border:0,borderRadius:0,boxShadow:"none",[`& > ${ce}-submenu > ${ce}-submenu-title`]:gn,[`& ${ce}-item-group-title`]:{paddingInlineStart:Rt}},[`${ce}-item`]:gn}},{[`${ce}-inline-collapsed`]:{width:Xt,[`&${ce}-root`]:{[`${ce}-item, ${ce}-submenu ${ce}-submenu-title`]:{[`> ${ce}-inline-collapsed-noicon`]:{fontSize:Ke,textAlign:"center"}}},[`> ${ce}-item,
|
|
|
> ${ce}-item-group > ${ce}-item-group-list > ${ce}-item,
|
|
|
> ${ce}-item-group > ${ce}-item-group-list > ${ce}-submenu > ${ce}-submenu-title,
|
|
|
> ${ce}-submenu > ${ce}-submenu-title`]:{insetInlineStart:0,paddingInline:`calc(50% - ${(0,st.unit)(re.calc(on).div(2).equal())} - ${(0,st.unit)(Te)})`,textOverflow:"clip",[`
|
|
|
${ce}-submenu-arrow,
|
|
|
${ce}-submenu-expand-icon
|
|
|
`]:{opacity:0},[`${ce}-item-icon, ${Pe}`]:{margin:0,fontSize:on,lineHeight:(0,st.unit)(lt),"+ span":{display:"inline-block",opacity:0}}},[`${ce}-item-icon, ${Pe}`]:{display:"inline-block"},"&-tooltip":{pointerEvents:"none",[`${ce}-item-icon, ${Pe}`]:{display:"none"},"a, a:hover":{color:$e}},[`${ce}-item-group-title`]:Object.assign(Object.assign({},kt.vS),{paddingInline:bn})}}]};const Wt=re=>{const{componentCls:ce,motionDurationSlow:Pe,motionDurationMid:lt,motionEaseInOut:$e,motionEaseOut:Ie,iconCls:ht,iconSize:Et,iconMarginInlineEnd:Rt}=re;return{[`${ce}-item, ${ce}-submenu-title`]:{position:"relative",display:"block",margin:0,whiteSpace:"nowrap",cursor:"pointer",transition:[`border-color ${Pe}`,`background ${Pe}`,`padding calc(${Pe} + 0.1s) ${$e}`].join(","),[`${ce}-item-icon, ${ht}`]:{minWidth:Et,fontSize:Et,transition:[`font-size ${lt} ${Ie}`,`margin ${Pe} ${$e}`,`color ${Pe}`].join(","),"+ span":{marginInlineStart:Rt,opacity:1,transition:[`opacity ${Pe} ${$e}`,`margin ${Pe}`,`color ${Pe}`].join(",")}},[`${ce}-item-icon`]:Object.assign({},(0,kt.Ro)()),[`&${ce}-item-only-child`]:{[`> ${ht}, > ${ce}-item-icon`]:{marginInlineEnd:0}}},[`${ce}-item-disabled, ${ce}-submenu-disabled`]:{background:"none !important",cursor:"not-allowed","&::after":{borderColor:"transparent !important"},a:{color:"inherit !important",cursor:"not-allowed",pointerEvents:"none"},[`> ${ce}-submenu-title`]:{color:"inherit !important",cursor:"not-allowed"}}}},pe=re=>{const{componentCls:ce,motionDurationSlow:Pe,motionEaseInOut:lt,borderRadius:$e,menuArrowSize:Ie,menuArrowOffset:ht}=re;return{[`${ce}-submenu`]:{"&-expand-icon, &-arrow":{position:"absolute",top:"50%",insetInlineEnd:re.margin,width:Ie,color:"currentcolor",transform:"translateY(-50%)",transition:`transform ${Pe} ${lt}, opacity ${Pe}`},"&-arrow":{"&::before, &::after":{position:"absolute",width:re.calc(Ie).mul(.6).equal(),height:re.calc(Ie).mul(.15).equal(),backgroundColor:"currentcolor",borderRadius:$e,transition:[`background ${Pe} ${lt}`,`transform ${Pe} ${lt}`,`top ${Pe} ${lt}`,`color ${Pe} ${lt}`].join(","),content:'""'},"&::before":{transform:`rotate(45deg) translateY(${(0,st.unit)(re.calc(ht).mul(-1).equal())})`},"&::after":{transform:`rotate(-45deg) translateY(${(0,st.unit)(ht)})`}}}}},Re=re=>{const{antCls:ce,componentCls:Pe,fontSize:lt,motionDurationSlow:$e,motionDurationMid:Ie,motionEaseInOut:ht,paddingXS:Et,padding:Rt,colorSplit:Te,lineWidth:Ke,zIndexPopup:yn,borderRadiusLG:Ht,subMenuItemBorderRadius:bn,menuArrowSize:fn,menuArrowOffset:Xt,lineType:on,groupTitleLineHeight:gn,groupTitleFontSize:ft}=re;return[{"":{[Pe]:Object.assign(Object.assign({},(0,kt.dF)()),{"&-hidden":{display:"none"}})},[`${Pe}-submenu-hidden`]:{display:"none"}},{[Pe]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},(0,kt.Wf)(re)),(0,kt.dF)()),{marginBottom:0,paddingInlineStart:0,fontSize:lt,lineHeight:0,listStyle:"none",outline:"none",transition:`width ${$e} cubic-bezier(0.2, 0, 0, 1) 0s`,"ul, ol":{margin:0,padding:0,listStyle:"none"},"&-overflow":{display:"flex",[`${Pe}-item`]:{flex:"none"}},[`${Pe}-item, ${Pe}-submenu, ${Pe}-submenu-title`]:{borderRadius:re.itemBorderRadius},[`${Pe}-item-group-title`]:{padding:`${(0,st.unit)(Et)} ${(0,st.unit)(Rt)}`,fontSize:ft,lineHeight:gn,transition:`all ${$e}`},[`&-horizontal ${Pe}-submenu`]:{transition:[`border-color ${$e} ${ht}`,`background ${$e} ${ht}`].join(",")},[`${Pe}-submenu, ${Pe}-submenu-inline`]:{transition:[`border-color ${$e} ${ht}`,`background ${$e} ${ht}`,`padding ${Ie} ${ht}`].join(",")},[`${Pe}-submenu ${Pe}-sub`]:{cursor:"initial",transition:[`background ${$e} ${ht}`,`padding ${$e} ${ht}`].join(",")},[`${Pe}-title-content`]:{transition:`color ${$e}`,"&-with-extra":{display:"inline-flex",alignItems:"center",width:"100%"},[`> ${ce}-typography-ellipsis-single-line`]:{display:"inline",verticalAlign:"unset"},[`${Pe}-item-extra`]:{marginInlineStart:"auto",paddingInlineStart:re.padding}},[`${Pe}-item a`]:{"&::before":{position:"absolute",inset:0,backgroundColor:"transparent",content:'""'}},[`${Pe}-item-divider`]:{overflow:"hidden",lineHeight:0,borderColor:Te,borderStyle:on,borderWidth:0,borderTopWidth:Ke,marginBlock:Ke,padding:0,"&-dashed":{borderStyle:"dashed"}}}),Wt(re)),{[`${Pe}-item-group`]:{[`${Pe}-item-group-list`]:{margin:0,padding:0,[`${Pe}-item, ${Pe}-submenu-title`]:{paddingInline:`${(0,st.unit)(re.calc(lt).mul(2).equal())} ${(0,st.unit)(Rt)}`}}},"&-submenu":{"&-popup":{position:"absolute",zIndex:yn,borderRadius:Ht,boxShadow:"none",transformOrigin:"0 0",[`&${Pe}-submenu`]:{background:"transparent"},"&::before":{position:"absolute",inset:0,zIndex:-1,width:"100%",height:"100%",opacity:0,content:'""'},[`> ${Pe}`]:Object.assign(Object.assign(Object.assign({borderRadius:Ht},Wt(re)),pe(re)),{[`${Pe}-item, ${Pe}-submenu > ${Pe}-submenu-title`]:{borderRadius:bn},[`${Pe}-submenu-title::after`]:{transition:`transform ${$e} ${ht}`}})},"\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:re.paddingXS},"\n &-placement-rightTop,\n &-placement-rightBottom\n ":{paddingInlineStart:re.paddingXS},"\n &-placement-topRight,\n &-placement-topLeft\n ":{paddingBottom:re.paddingXS},"\n &-placement-bottomRight,\n &-placement-bottomLeft\n ":{paddingTop:re.paddingXS}}}),pe(re)),{[`&-inline-collapsed ${Pe}-submenu-arrow,
|
|
|
&-inline ${Pe}-submenu-arrow`]:{"&::before":{transform:`rotate(-45deg) translateX(${(0,st.unit)(Xt)})`},"&::after":{transform:`rotate(45deg) translateX(${(0,st.unit)(re.calc(Xt).mul(-1).equal())})`}},[`${Pe}-submenu-open${Pe}-submenu-inline > ${Pe}-submenu-title > ${Pe}-submenu-arrow`]:{transform:`translateY(${(0,st.unit)(re.calc(fn).mul(.2).mul(-1).equal())})`,"&::after":{transform:`rotate(-45deg) translateX(${(0,st.unit)(re.calc(Xt).mul(-1).equal())})`},"&::before":{transform:`rotate(45deg) translateX(${(0,st.unit)(Xt)})`}}})},{[`${ce}-layout-header`]:{[Pe]:{lineHeight:"inherit"}}}]},Ue=re=>{var ce,Pe,lt;const{colorPrimary:$e,colorError:Ie,colorTextDisabled:ht,colorErrorBg:Et,colorText:Rt,colorTextDescription:Te,colorBgContainer:Ke,colorFillAlter:yn,colorFillContent:Ht,lineWidth:bn,lineWidthBold:fn,controlItemBgActive:Xt,colorBgTextHover:on,controlHeightLG:gn,lineHeight:ft,colorBgElevated:Yt,marginXXS:xn,padding:St,fontSize:_e,controlHeightSM:Vt,fontSizeLG:tn,colorTextLightSolid:un,colorErrorHover:Tn}=re,qn=(ce=re.activeBarWidth)!==null&&ce!==void 0?ce:0,mr=(Pe=re.activeBarBorderWidth)!==null&&Pe!==void 0?Pe:bn,vr=(lt=re.itemMarginInline)!==null&<!==void 0?lt:re.marginXXS,Jn=new mt.FastColor(un).setA(.65).toRgbString();return{dropdownWidth:160,zIndexPopup:re.zIndexPopupBase+50,radiusItem:re.borderRadiusLG,itemBorderRadius:re.borderRadiusLG,radiusSubMenuItem:re.borderRadiusSM,subMenuItemBorderRadius:re.borderRadiusSM,colorItemText:Rt,itemColor:Rt,colorItemTextHover:Rt,itemHoverColor:Rt,colorItemTextHoverHorizontal:$e,horizontalItemHoverColor:$e,colorGroupTitle:Te,groupTitleColor:Te,colorItemTextSelected:$e,itemSelectedColor:$e,subMenuItemSelectedColor:$e,colorItemTextSelectedHorizontal:$e,horizontalItemSelectedColor:$e,colorItemBg:Ke,itemBg:Ke,colorItemBgHover:on,itemHoverBg:on,colorItemBgActive:Ht,itemActiveBg:Xt,colorSubItemBg:yn,subMenuItemBg:yn,colorItemBgSelected:Xt,itemSelectedBg:Xt,colorItemBgSelectedHorizontal:"transparent",horizontalItemSelectedBg:"transparent",colorActiveBarWidth:0,activeBarWidth:qn,colorActiveBarHeight:fn,activeBarHeight:fn,colorActiveBarBorderSize:bn,activeBarBorderWidth:mr,colorItemTextDisabled:ht,itemDisabledColor:ht,colorDangerItemText:Ie,dangerItemColor:Ie,colorDangerItemTextHover:Ie,dangerItemHoverColor:Ie,colorDangerItemTextSelected:Ie,dangerItemSelectedColor:Ie,colorDangerItemBgActive:Et,dangerItemActiveBg:Et,colorDangerItemBgSelected:Et,dangerItemSelectedBg:Et,itemMarginInline:vr,horizontalItemBorderRadius:0,horizontalItemHoverBg:"transparent",itemHeight:gn,groupTitleLineHeight:ft,collapsedWidth:gn*2,popupBg:Yt,itemMarginBlock:xn,itemPaddingInline:St,horizontalLineHeight:`${gn*1.15}px`,iconSize:_e,iconMarginInlineEnd:Vt-_e,collapsedIconSize:tn,groupTitleFontSize:_e,darkItemDisabledColor:new mt.FastColor(un).setA(.25).toRgbString(),darkItemColor:Jn,darkDangerItemColor:Ie,darkItemBg:"#001529",darkPopupBg:"#001529",darkSubMenuItemBg:"#000c17",darkItemSelectedColor:un,darkItemSelectedBg:$e,darkDangerItemSelectedBg:Ie,darkItemHoverBg:"transparent",darkGroupTitleColor:Jn,darkItemHoverColor:un,darkDangerItemHoverColor:Tn,darkDangerItemSelectedColor:un,darkDangerItemActiveBg:Ie,itemWidth:qn?`calc(100% + ${mr}px)`:`calc(100% - ${vr*2}px)`}};var Jt=function(re){let ce=arguments.length>1&&arguments[1]!==void 0?arguments[1]:re,Pe=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!0;return(0,Fe.I$)("Menu",$e=>{const{colorBgElevated:Ie,controlHeightLG:ht,fontSize:Et,darkItemColor:Rt,darkDangerItemColor:Te,darkItemBg:Ke,darkSubMenuItemBg:yn,darkItemSelectedColor:Ht,darkItemSelectedBg:bn,darkDangerItemSelectedBg:fn,darkItemHoverBg:Xt,darkGroupTitleColor:on,darkItemHoverColor:gn,darkItemDisabledColor:ft,darkDangerItemHoverColor:Yt,darkDangerItemSelectedColor:xn,darkDangerItemActiveBg:St,popupBg:_e,darkPopupBg:Vt}=$e,tn=$e.calc(Et).div(7).mul(5).equal(),un=(0,Ze.mergeToken)($e,{menuArrowSize:tn,menuHorizontalHeight:$e.calc(ht).mul(1.15).equal(),menuArrowOffset:$e.calc(tn).mul(.25).equal(),menuSubMenuBg:Ie,calc:$e.calc,popupBg:_e}),Tn=(0,Ze.mergeToken)(un,{itemColor:Rt,itemHoverColor:gn,groupTitleColor:on,itemSelectedColor:Ht,subMenuItemSelectedColor:Ht,itemBg:Ke,popupBg:Vt,subMenuItemBg:yn,itemActiveBg:"transparent",itemSelectedBg:bn,activeBarHeight:0,activeBarBorderWidth:0,itemHoverBg:Xt,itemDisabledColor:ft,dangerItemColor:Te,dangerItemHoverColor:Yt,dangerItemSelectedColor:xn,dangerItemActiveBg:St,dangerItemSelectedBg:fn,menuSubMenuBg:yn,horizontalItemSelectedColor:Ht,horizontalItemSelectedBg:bn});return[Re(un),ue(un),Gt(un),De(un,"light"),De(Tn,"dark"),He(un),(0,Qe.Z)(un),(0,ut.oN)(un,"slide-up"),(0,ut.oN)(un,"slide-down"),(0,dt._y)(un,"zoom-big")]},Ue,{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"]],injectStyle:Pe,unitless:{groupTitleLineHeight:!0}})(re,ce)},et=z(75030),ct=re=>{var ce;const{popupClassName:Pe,icon:lt,title:$e,theme:Ie}=re,ht=b.useContext(Je),{prefixCls:Et,inlineCollapsed:Rt,theme:Te}=ht,Ke=(0,Ce.Xl)();let yn;if(!lt)yn=Rt&&!Ke.length&&$e&&typeof $e=="string"?b.createElement("div",{className:`${Et}-inline-collapsed-noicon`},$e.charAt(0)):b.createElement("span",{className:`${Et}-title-content`},$e);else{const fn=b.isValidElement($e)&&$e.type==="span";yn=b.createElement(b.Fragment,null,(0,fe.Tm)(lt,{className:xe()(b.isValidElement(lt)?(ce=lt.props)===null||ce===void 0?void 0:ce.className:"",`${Et}-item-icon`)}),fn?$e:b.createElement("span",{className:`${Et}-title-content`},$e))}const Ht=b.useMemo(()=>Object.assign(Object.assign({},ht),{firstLevel:!1}),[ht]),[bn]=(0,et.Cn)("Menu");return b.createElement(Je.Provider,{value:Ht},b.createElement(Ce.Wd,Object.assign({},(0,Ve.Z)(re,["icon"]),{title:yn,popupClassName:xe()(Et,Pe,`${Et}-${Ie||Te}`),popupStyle:Object.assign({zIndex:bn},re.popupStyle)})))},dn=function(re,ce){var Pe={};for(var lt in re)Object.prototype.hasOwnProperty.call(re,lt)&&ce.indexOf(lt)<0&&(Pe[lt]=re[lt]);if(re!=null&&typeof Object.getOwnPropertySymbols=="function")for(var $e=0,lt=Object.getOwnPropertySymbols(re);$e<lt.length;$e++)ce.indexOf(lt[$e])<0&&Object.prototype.propertyIsEnumerable.call(re,lt[$e])&&(Pe[lt[$e]]=re[lt[$e]]);return Pe};function bt(re){return re===null||re===!1}const le={item:se,submenu:ct,divider:We};var te=(0,b.forwardRef)((re,ce)=>{var Pe;const lt=b.useContext(Me.Z),$e=lt||{},{getPrefixCls:Ie,getPopupContainer:ht,direction:Et,menu:Rt}=b.useContext(Ge.E_),Te=Ie(),{prefixCls:Ke,className:yn,style:Ht,theme:bn="light",expandIcon:fn,_internalDisableMenuItemTitleTooltip:Xt,inlineCollapsed:on,siderCollapsed:gn,rootClassName:ft,mode:Yt,selectable:xn,onClick:St,overflowedIndicatorPopupClassName:_e}=re,Vt=dn(re,["prefixCls","className","style","theme","expandIcon","_internalDisableMenuItemTitleTooltip","inlineCollapsed","siderCollapsed","rootClassName","mode","selectable","onClick","overflowedIndicatorPopupClassName"]),tn=(0,Ve.Z)(Vt,["collapsedWidth"]);(Pe=$e.validator)===null||Pe===void 0||Pe.call($e,{mode:Yt});const un=(0,Ae.Z)(function(){var Bt;St==null||St.apply(void 0,arguments),(Bt=$e.onClick)===null||Bt===void 0||Bt.call($e)}),Tn=$e.mode||Yt,qn=xn!=null?xn:$e.selectable,mr=on!=null?on:gn,vr={horizontal:{motionName:`${Te}-slide-up`},inline:(0,Be.Z)(Te),other:{motionName:`${Te}-zoom-big`}},Jn=Ie("menu",Ke||$e.prefixCls),dr=(0,be.Z)(Jn),[_t,zt,Sn]=Jt(Jn,dr,!lt),wn=xe()(`${Jn}-${bn}`,Rt==null?void 0:Rt.className,yn),vn=b.useMemo(()=>{var Bt,ln;if(typeof fn=="function"||bt(fn))return fn||null;if(typeof $e.expandIcon=="function"||bt($e.expandIcon))return $e.expandIcon||null;if(typeof(Rt==null?void 0:Rt.expandIcon)=="function"||bt(Rt==null?void 0:Rt.expandIcon))return(Rt==null?void 0:Rt.expandIcon)||null;const Zt=(Bt=fn!=null?fn:$e==null?void 0:$e.expandIcon)!==null&&Bt!==void 0?Bt:Rt==null?void 0:Rt.expandIcon;return(0,fe.Tm)(Zt,{className:xe()(`${Jn}-submenu-expand-icon`,b.isValidElement(Zt)?(ln=Zt.props)===null||ln===void 0?void 0:ln.className:void 0)})},[fn,$e==null?void 0:$e.expandIcon,Rt==null?void 0:Rt.expandIcon,Jn]),Rn=b.useMemo(()=>({prefixCls:Jn,inlineCollapsed:mr||!1,direction:Et,firstLevel:!0,theme:bn,mode:Tn,disableMenuItemTitleTooltip:Xt}),[Jn,mr,Et,Xt,bn]);return _t(b.createElement(Me.Z.Provider,{value:null},b.createElement(Je.Provider,{value:Rn},b.createElement(Ce.ZP,Object.assign({getPopupContainer:ht,overflowedIndicator:b.createElement(rt.Z,null),overflowedIndicatorPopupClassName:xe()(Jn,`${Jn}-${bn}`,_e),mode:Tn,selectable:qn,onClick:un},tn,{inlineCollapsed:mr,style:Object.assign(Object.assign({},Rt==null?void 0:Rt.style),Ht),className:wn,prefixCls:Jn,direction:Et,defaultMotions:vr,expandIcon:vn,ref:ce,rootClassName:xe()(ft,zt,$e.rootClassName,Sn,dr),_internalComponents:le})))))});const ae=(0,b.forwardRef)((re,ce)=>{const Pe=(0,b.useRef)(null),lt=b.useContext(de.D);return(0,b.useImperativeHandle)(ce,()=>({menu:Pe.current,focus:$e=>{var Ie;(Ie=Pe.current)===null||Ie===void 0||Ie.focus($e)}})),b.createElement(te,Object.assign({ref:Pe},re,lt))});ae.Item=se,ae.SubMenu=ct,ae.Divider=We,ae.ItemGroup=Ce.BW;var he=ae},31709:function(Yn,mn,z){"use strict";z.d(mn,{Z:function(){return Rt}});var b=z(59301),Ce=z(60499),de={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"},rt=de,Oe=z(7657),xe=function(Ke,yn){return b.createElement(Oe.Z,(0,Ce.Z)({},Ke,{ref:yn,icon:rt}))},Ae=b.forwardRef(xe),Ve=Ae,Be=z(49198),fe=z(33853),Ge=z(38819),be=z(92310),vt=z.n(be),Je=z(18642),tt=z(43749),je=z(85899),We=z(72190),ot=z(18929),Mt=z(10228),Ut=z(26112),se=z(48736),Me=z(17119),st=[10,20,50,100],mt=function(Ke){var yn=Ke.pageSizeOptions,Ht=yn===void 0?st:yn,bn=Ke.locale,fn=Ke.changeSize,Xt=Ke.pageSize,on=Ke.goButton,gn=Ke.quickGo,ft=Ke.rootPrefixCls,Yt=Ke.disabled,xn=Ke.buildOptionText,St=Ke.showSizeChanger,_e=Ke.sizeChangerRender,Vt=b.useState(""),tn=(0,We.Z)(Vt,2),un=tn[0],Tn=tn[1],qn=function(){return!un||Number.isNaN(un)?void 0:Number(un)},mr=typeof xn=="function"?xn:function(Rn){return"".concat(Rn," ").concat(bn.items_per_page)},vr=function(Bt){Tn(Bt.target.value)},Jn=function(Bt){on||un===""||(Tn(""),!(Bt.relatedTarget&&(Bt.relatedTarget.className.indexOf("".concat(ft,"-item-link"))>=0||Bt.relatedTarget.className.indexOf("".concat(ft,"-item"))>=0))&&(gn==null||gn(qn())))},dr=function(Bt){un!==""&&(Bt.keyCode===Mt.Z.ENTER||Bt.type==="click")&&(Tn(""),gn==null||gn(qn()))},_t=function(){return Ht.some(function(Bt){return Bt.toString()===Xt.toString()})?Ht:Ht.concat([Xt]).sort(function(Bt,ln){var Zt=Number.isNaN(Number(Bt))?0:Number(Bt),pn=Number.isNaN(Number(ln))?0:Number(ln);return Zt-pn})},zt="".concat(ft,"-options");if(!St&&!gn)return null;var Sn=null,wn=null,vn=null;return St&&_e&&(Sn=_e({disabled:Yt,size:Xt,onSizeChange:function(Bt){fn==null||fn(Number(Bt))},"aria-label":bn.page_size,className:"".concat(zt,"-size-changer"),options:_t().map(function(Rn){return{label:mr(Rn),value:Rn}})})),gn&&(on&&(vn=typeof on=="boolean"?b.createElement("button",{type:"button",onClick:dr,onKeyUp:dr,disabled:Yt,className:"".concat(zt,"-quick-jumper-button")},bn.jump_to_confirm):b.createElement("span",{onClick:dr,onKeyUp:dr},on)),wn=b.createElement("div",{className:"".concat(zt,"-quick-jumper")},bn.jump_to,b.createElement("input",{disabled:Yt,type:"text",value:un,onChange:vr,onKeyUp:dr,onBlur:Jn,"aria-label":bn.page}),bn.page,vn)),b.createElement("li",{className:zt},Sn,wn)},kt=mt,Qe=function(Ke){var yn=Ke.rootPrefixCls,Ht=Ke.page,bn=Ke.active,fn=Ke.className,Xt=Ke.showTitle,on=Ke.onClick,gn=Ke.onKeyPress,ft=Ke.itemRender,Yt="".concat(yn,"-item"),xn=vt()(Yt,"".concat(Yt,"-").concat(Ht),(0,Je.Z)((0,Je.Z)({},"".concat(Yt,"-active"),bn),"".concat(Yt,"-disabled"),!Ht),fn),St=function(){on(Ht)},_e=function(un){gn(un,on,Ht)},Vt=ft(Ht,"page",b.createElement("a",{rel:"nofollow"},Ht));return Vt?b.createElement("li",{title:Xt?String(Ht):null,className:xn,onClick:St,onKeyDown:_e,tabIndex:0},Vt):null},ut=Qe,dt=function(Ke,yn,Ht){return Ht};function Fe(){}function Ze(Te){var Ke=Number(Te);return typeof Ke=="number"&&!Number.isNaN(Ke)&&isFinite(Ke)&&Math.floor(Ke)===Ke}function Se(Te,Ke,yn){var Ht=typeof Te=="undefined"?Ke:Te;return Math.floor((yn-1)/Ht)+1}var ue=function(Ke){var yn=Ke.prefixCls,Ht=yn===void 0?"rc-pagination":yn,bn=Ke.selectPrefixCls,fn=bn===void 0?"rc-select":bn,Xt=Ke.className,on=Ke.current,gn=Ke.defaultCurrent,ft=gn===void 0?1:gn,Yt=Ke.total,xn=Yt===void 0?0:Yt,St=Ke.pageSize,_e=Ke.defaultPageSize,Vt=_e===void 0?10:_e,tn=Ke.onChange,un=tn===void 0?Fe:tn,Tn=Ke.hideOnSinglePage,qn=Ke.align,mr=Ke.showPrevNextJumpers,vr=mr===void 0?!0:mr,Jn=Ke.showQuickJumper,dr=Ke.showLessItems,_t=Ke.showTitle,zt=_t===void 0?!0:_t,Sn=Ke.onShowSizeChange,wn=Sn===void 0?Fe:Sn,vn=Ke.locale,Rn=vn===void 0?Me.Z:vn,Bt=Ke.style,ln=Ke.totalBoundaryShowSizeChanger,Zt=ln===void 0?50:ln,pn=Ke.disabled,cn=Ke.simple,zn=Ke.showTotal,Ln=Ke.showSizeChanger,rr=Ln===void 0?xn>Zt:Ln,_n=Ke.sizeChangerRender,rn=Ke.pageSizeOptions,Fn=Ke.itemRender,nn=Fn===void 0?dt:Fn,er=Ke.jumpPrevIcon,It=Ke.jumpNextIcon,Qt=Ke.prevIcon,ze=Ke.nextIcon,yt=b.useRef(null),Ye=(0,ot.Z)(10,{value:St,defaultValue:Vt}),Ct=(0,We.Z)(Ye,2),qt=Ct[0],nr=Ct[1],ar=(0,ot.Z)(1,{value:on,defaultValue:ft,postState:function(Mo){return Math.max(1,Math.min(Mo,Se(void 0,qt,xn)))}}),pt=(0,We.Z)(ar,2),xt=pt[0],Pt=pt[1],Kt=b.useState(xt),In=(0,We.Z)(Kt,2),Zn=In[0],kn=In[1];(0,b.useEffect)(function(){kn(xt)},[xt]);var Un=un!==Fe,pr="current"in Ke,Ar=Math.max(1,xt-(dr?3:5)),Vr=Math.min(Se(void 0,qt,xn),xt+(dr?3:5));function Br(zo,Mo){var zi=zo||b.createElement("button",{type:"button","aria-label":Mo,className:"".concat(Ht,"-item-link")});return typeof zo=="function"&&(zi=b.createElement(zo,(0,je.Z)({},Ke))),zi}function fr(zo){var Mo=zo.target.value,zi=Se(void 0,qt,xn),Wi;return Mo===""?Wi=Mo:Number.isNaN(Number(Mo))?Wi=Zn:Mo>=zi?Wi=zi:Wi=Number(Mo),Wi}function Pr(zo){return Ze(zo)&&zo!==xt&&Ze(xn)&&xn>0}var kr=xn>qt?Jn:!1;function Jr(zo){(zo.keyCode===Mt.Z.UP||zo.keyCode===Mt.Z.DOWN)&&zo.preventDefault()}function Xr(zo){var Mo=fr(zo);switch(Mo!==Zn&&kn(Mo),zo.keyCode){case Mt.Z.ENTER:ur(Mo);break;case Mt.Z.UP:ur(Mo-1);break;case Mt.Z.DOWN:ur(Mo+1);break;default:break}}function vo(zo){ur(fr(zo))}function yr(zo){var Mo=Se(zo,qt,xn),zi=xt>Mo&&Mo!==0?Mo:xt;nr(zo),kn(zi),wn==null||wn(xt,zo),Pt(zi),un==null||un(zi,zo)}function ur(zo){if(Pr(zo)&&!pn){var Mo=Se(void 0,qt,xn),zi=zo;return zo>Mo?zi=Mo:zo<1&&(zi=1),zi!==Zn&&kn(zi),Pt(zi),un==null||un(zi,qt),zi}return xt}var gr=xt>1,no=xt<Se(void 0,qt,xn);function Kr(){gr&&ur(xt-1)}function wr(){no&&ur(xt+1)}function Rr(){ur(Ar)}function mo(){ur(Vr)}function $r(zo,Mo){if(zo.key==="Enter"||zo.charCode===Mt.Z.ENTER||zo.keyCode===Mt.Z.ENTER){for(var zi=arguments.length,Wi=new Array(zi>2?zi-2:0),Xi=2;Xi<zi;Xi++)Wi[Xi-2]=arguments[Xi];Mo.apply(void 0,Wi)}}function qr(zo){$r(zo,Kr)}function eo(zo){$r(zo,wr)}function ko(zo){$r(zo,Rr)}function _o(zo){$r(zo,mo)}function qo(zo){var Mo=nn(zo,"prev",Br(Qt,"prev page"));return b.isValidElement(Mo)?b.cloneElement(Mo,{disabled:!gr}):Mo}function Lo(zo){var Mo=nn(zo,"next",Br(ze,"next page"));return b.isValidElement(Mo)?b.cloneElement(Mo,{disabled:!no}):Mo}function ii(zo){(zo.type==="click"||zo.keyCode===Mt.Z.ENTER)&&ur(Zn)}var Le=null,nt=(0,Ut.Z)(Ke,{aria:!0,data:!0}),Ot=zn&&b.createElement("li",{className:"".concat(Ht,"-total-text")},zn(xn,[xn===0?0:(xt-1)*qt+1,xt*qt>xn?xn:xt*qt])),sn=null,hn=Se(void 0,qt,xn);if(Tn&&xn<=qt)return null;var Tt=[],it={rootPrefixCls:Ht,onClick:ur,onKeyPress:$r,showTitle:zt,itemRender:nn,page:-1},Ft=xt-1>0?xt-1:0,en=xt+1<hn?xt+1:hn,On=Jn&&Jn.goButton,Wn=(0,tt.Z)(cn)==="object"?cn.readOnly:!cn,Dn=On,jn=null;cn&&(On&&(typeof On=="boolean"?Dn=b.createElement("button",{type:"button",onClick:ii,onKeyUp:ii},Rn.jump_to_confirm):Dn=b.createElement("span",{onClick:ii,onKeyUp:ii},On),Dn=b.createElement("li",{title:zt?"".concat(Rn.jump_to).concat(xt,"/").concat(hn):null,className:"".concat(Ht,"-simple-pager")},Dn)),jn=b.createElement("li",{title:zt?"".concat(xt,"/").concat(hn):null,className:"".concat(Ht,"-simple-pager")},Wn?Zn:b.createElement("input",{type:"text","aria-label":Rn.jump_to,value:Zn,disabled:pn,onKeyDown:Jr,onKeyUp:Xr,onChange:Xr,onBlur:vo,size:3}),b.createElement("span",{className:"".concat(Ht,"-slash")},"/"),hn));var $n=dr?1:2;if(hn<=3+$n*2){hn||Tt.push(b.createElement(ut,(0,Ce.Z)({},it,{key:"noPager",page:1,className:"".concat(Ht,"-item-disabled")})));for(var Cr=1;Cr<=hn;Cr+=1)Tt.push(b.createElement(ut,(0,Ce.Z)({},it,{key:Cr,page:Cr,active:xt===Cr})))}else{var br=dr?Rn.prev_3:Rn.prev_5,zr=dr?Rn.next_3:Rn.next_5,Qr=nn(Ar,"jump-prev",Br(er,"prev page")),yo=nn(Vr,"jump-next",Br(It,"next page"));vr&&(Le=Qr?b.createElement("li",{title:zt?br:null,key:"prev",onClick:Rr,tabIndex:0,onKeyDown:ko,className:vt()("".concat(Ht,"-jump-prev"),(0,Je.Z)({},"".concat(Ht,"-jump-prev-custom-icon"),!!er))},Qr):null,sn=yo?b.createElement("li",{title:zt?zr:null,key:"next",onClick:mo,tabIndex:0,onKeyDown:_o,className:vt()("".concat(Ht,"-jump-next"),(0,Je.Z)({},"".concat(Ht,"-jump-next-custom-icon"),!!It))},yo):null);var io=Math.max(1,xt-$n),Io=Math.min(xt+$n,hn);xt-1<=$n&&(Io=1+$n*2),hn-xt<=$n&&(io=hn-$n*2);for(var co=io;co<=Io;co+=1)Tt.push(b.createElement(ut,(0,Ce.Z)({},it,{key:co,page:co,active:xt===co})));if(xt-1>=$n*2&&xt!==3&&(Tt[0]=b.cloneElement(Tt[0],{className:vt()("".concat(Ht,"-item-after-jump-prev"),Tt[0].props.className)}),Tt.unshift(Le)),hn-xt>=$n*2&&xt!==hn-2){var fo=Tt[Tt.length-1];Tt[Tt.length-1]=b.cloneElement(fo,{className:vt()("".concat(Ht,"-item-before-jump-next"),fo.props.className)}),Tt.push(sn)}io!==1&&Tt.unshift(b.createElement(ut,(0,Ce.Z)({},it,{key:1,page:1}))),Io!==hn&&Tt.push(b.createElement(ut,(0,Ce.Z)({},it,{key:hn,page:hn})))}var bo=qo(Ft);if(bo){var Bo=!gr||!hn;bo=b.createElement("li",{title:zt?Rn.prev_page:null,onClick:Kr,tabIndex:Bo?null:0,onKeyDown:qr,className:vt()("".concat(Ht,"-prev"),(0,Je.Z)({},"".concat(Ht,"-disabled"),Bo)),"aria-disabled":Bo},bo)}var ri=Lo(en);if(ri){var Si,bi;cn?(Si=!no,bi=gr?0:null):(Si=!no||!hn,bi=Si?null:0),ri=b.createElement("li",{title:zt?Rn.next_page:null,onClick:wr,tabIndex:bi,onKeyDown:eo,className:vt()("".concat(Ht,"-next"),(0,Je.Z)({},"".concat(Ht,"-disabled"),Si)),"aria-disabled":Si},ri)}var Ki=vt()(Ht,Xt,(0,Je.Z)((0,Je.Z)((0,Je.Z)((0,Je.Z)((0,Je.Z)({},"".concat(Ht,"-start"),qn==="start"),"".concat(Ht,"-center"),qn==="center"),"".concat(Ht,"-end"),qn==="end"),"".concat(Ht,"-simple"),cn),"".concat(Ht,"-disabled"),pn));return b.createElement("ul",(0,Ce.Z)({className:Ki,style:Bt,ref:yt},nt),Ot,bo,cn?jn:Tt,ri,b.createElement(kt,{locale:Rn,rootPrefixCls:Ht,disabled:pn,selectPrefixCls:fn,changeSize:yr,pageSize:qt,pageSizeOptions:rn,quickGo:kr?ur:null,goButton:Dn,showSizeChanger:rr,sizeChangerRender:_n}))},gt=ue,He=z(61852),ke=z(48755),Nt=z(31756),De=z(13783),ve=z(9017),At=z(82326),Gt=z(57700),Wt=z(36237),pe=z(53075),Re=z(64910),Ue=z(39082),Jt=z(63356),et=z(51636),jt=z(16931);const ct=Te=>{const{componentCls:Ke}=Te;return{[`${Ke}-disabled`]:{"&, &:hover":{cursor:"not-allowed",[`${Ke}-item-link`]:{color:Te.colorTextDisabled,cursor:"not-allowed"}},"&:focus-visible":{cursor:"not-allowed",[`${Ke}-item-link`]:{color:Te.colorTextDisabled,cursor:"not-allowed"}}},[`&${Ke}-disabled`]:{cursor:"not-allowed",[`${Ke}-item`]:{cursor:"not-allowed",backgroundColor:"transparent","&:hover, &:active":{backgroundColor:"transparent"},a:{color:Te.colorTextDisabled,backgroundColor:"transparent",border:"none",cursor:"not-allowed"},"&-active":{borderColor:Te.colorBorder,backgroundColor:Te.itemActiveBgDisabled,"&:hover, &:active":{backgroundColor:Te.itemActiveBgDisabled},a:{color:Te.itemActiveColorDisabled}}},[`${Ke}-item-link`]:{color:Te.colorTextDisabled,cursor:"not-allowed","&:hover, &:active":{backgroundColor:"transparent"},[`${Ke}-simple&`]:{backgroundColor:"transparent","&:hover, &:active":{backgroundColor:"transparent"}}},[`${Ke}-simple-pager`]:{color:Te.colorTextDisabled},[`${Ke}-jump-prev, ${Ke}-jump-next`]:{[`${Ke}-item-link-icon`]:{opacity:0},[`${Ke}-item-ellipsis`]:{opacity:1}}},[`&${Ke}-simple`]:{[`${Ke}-prev, ${Ke}-next`]:{[`&${Ke}-disabled ${Ke}-item-link`]:{"&:hover, &:active":{backgroundColor:"transparent"}}}}}},dn=Te=>{const{componentCls:Ke}=Te;return{[`&${Ke}-mini ${Ke}-total-text, &${Ke}-mini ${Ke}-simple-pager`]:{height:Te.itemSizeSM,lineHeight:(0,Wt.unit)(Te.itemSizeSM)},[`&${Ke}-mini ${Ke}-item`]:{minWidth:Te.itemSizeSM,height:Te.itemSizeSM,margin:0,lineHeight:(0,Wt.unit)(Te.calc(Te.itemSizeSM).sub(2).equal())},[`&${Ke}-mini ${Ke}-prev, &${Ke}-mini ${Ke}-next`]:{minWidth:Te.itemSizeSM,height:Te.itemSizeSM,margin:0,lineHeight:(0,Wt.unit)(Te.itemSizeSM)},[`&${Ke}-mini:not(${Ke}-disabled)`]:{[`${Ke}-prev, ${Ke}-next`]:{[`&:hover ${Ke}-item-link`]:{backgroundColor:Te.colorBgTextHover},[`&:active ${Ke}-item-link`]:{backgroundColor:Te.colorBgTextActive},[`&${Ke}-disabled:hover ${Ke}-item-link`]:{backgroundColor:"transparent"}}},[`
|
|
|
&${Ke}-mini ${Ke}-prev ${Ke}-item-link,
|
|
|
&${Ke}-mini ${Ke}-next ${Ke}-item-link
|
|
|
`]:{backgroundColor:"transparent",borderColor:"transparent","&::after":{height:Te.itemSizeSM,lineHeight:(0,Wt.unit)(Te.itemSizeSM)}},[`&${Ke}-mini ${Ke}-jump-prev, &${Ke}-mini ${Ke}-jump-next`]:{height:Te.itemSizeSM,marginInlineEnd:0,lineHeight:(0,Wt.unit)(Te.itemSizeSM)},[`&${Ke}-mini ${Ke}-options`]:{marginInlineStart:Te.paginationMiniOptionsMarginInlineStart,"&-size-changer":{top:Te.miniOptionsSizeChangerTop},"&-quick-jumper":{height:Te.itemSizeSM,lineHeight:(0,Wt.unit)(Te.itemSizeSM),input:Object.assign(Object.assign({},(0,pe.x0)(Te)),{width:Te.paginationMiniQuickJumperInputWidth,height:Te.controlHeightSM})}}}},bt=Te=>{const{componentCls:Ke}=Te;return{[`
|
|
|
&${Ke}-simple ${Ke}-prev,
|
|
|
&${Ke}-simple ${Ke}-next
|
|
|
`]:{height:Te.itemSizeSM,lineHeight:(0,Wt.unit)(Te.itemSizeSM),verticalAlign:"top",[`${Ke}-item-link`]:{height:Te.itemSizeSM,backgroundColor:"transparent",border:0,"&:hover":{backgroundColor:Te.colorBgTextHover},"&:active":{backgroundColor:Te.colorBgTextActive},"&::after":{height:Te.itemSizeSM,lineHeight:(0,Wt.unit)(Te.itemSizeSM)}}},[`&${Ke}-simple ${Ke}-simple-pager`]:{display:"inline-block",height:Te.itemSizeSM,marginInlineEnd:Te.marginXS,input:{boxSizing:"border-box",height:"100%",padding:`0 ${(0,Wt.unit)(Te.paginationItemPaddingInline)}`,textAlign:"center",backgroundColor:Te.itemInputBg,border:`${(0,Wt.unit)(Te.lineWidth)} ${Te.lineType} ${Te.colorBorder}`,borderRadius:Te.borderRadius,outline:"none",transition:`border-color ${Te.motionDurationMid}`,color:"inherit","&:hover":{borderColor:Te.colorPrimary},"&:focus":{borderColor:Te.colorPrimaryHover,boxShadow:`${(0,Wt.unit)(Te.inputOutlineOffset)} 0 ${(0,Wt.unit)(Te.controlOutlineWidth)} ${Te.controlOutline}`},"&[disabled]":{color:Te.colorTextDisabled,backgroundColor:Te.colorBgContainerDisabled,borderColor:Te.colorBorder,cursor:"not-allowed"}}}}},le=Te=>{const{componentCls:Ke}=Te;return{[`${Ke}-jump-prev, ${Ke}-jump-next`]:{outline:0,[`${Ke}-item-container`]:{position:"relative",[`${Ke}-item-link-icon`]:{color:Te.colorPrimary,fontSize:Te.fontSizeSM,opacity:0,transition:`all ${Te.motionDurationMid}`,"&-svg":{top:0,insetInlineEnd:0,bottom:0,insetInlineStart:0,margin:"auto"}},[`${Ke}-item-ellipsis`]:{position:"absolute",top:0,insetInlineEnd:0,bottom:0,insetInlineStart:0,display:"block",margin:"auto",color:Te.colorTextDisabled,letterSpacing:Te.paginationEllipsisLetterSpacing,textAlign:"center",textIndent:Te.paginationEllipsisTextIndent,opacity:1,transition:`all ${Te.motionDurationMid}`}},"&:hover":{[`${Ke}-item-link-icon`]:{opacity:1},[`${Ke}-item-ellipsis`]:{opacity:0}}},[`
|
|
|
${Ke}-prev,
|
|
|
${Ke}-jump-prev,
|
|
|
${Ke}-jump-next
|
|
|
`]:{marginInlineEnd:Te.marginXS},[`
|
|
|
${Ke}-prev,
|
|
|
${Ke}-next,
|
|
|
${Ke}-jump-prev,
|
|
|
${Ke}-jump-next
|
|
|
`]:{display:"inline-block",minWidth:Te.itemSize,height:Te.itemSize,color:Te.colorText,fontFamily:Te.fontFamily,lineHeight:(0,Wt.unit)(Te.itemSize),textAlign:"center",verticalAlign:"middle",listStyle:"none",borderRadius:Te.borderRadius,cursor:"pointer",transition:`all ${Te.motionDurationMid}`},[`${Ke}-prev, ${Ke}-next`]:{outline:0,button:{color:Te.colorText,cursor:"pointer",userSelect:"none"},[`${Ke}-item-link`]:{display:"block",width:"100%",height:"100%",padding:0,fontSize:Te.fontSizeSM,textAlign:"center",backgroundColor:"transparent",border:`${(0,Wt.unit)(Te.lineWidth)} ${Te.lineType} transparent`,borderRadius:Te.borderRadius,outline:"none",transition:`all ${Te.motionDurationMid}`},[`&:hover ${Ke}-item-link`]:{backgroundColor:Te.colorBgTextHover},[`&:active ${Ke}-item-link`]:{backgroundColor:Te.colorBgTextActive},[`&${Ke}-disabled:hover`]:{[`${Ke}-item-link`]:{backgroundColor:"transparent"}}},[`${Ke}-slash`]:{marginInlineEnd:Te.paginationSlashMarginInlineEnd,marginInlineStart:Te.paginationSlashMarginInlineStart},[`${Ke}-options`]:{display:"inline-block",marginInlineStart:Te.margin,verticalAlign:"middle","&-size-changer":{display:"inline-block",width:"auto"},"&-quick-jumper":{display:"inline-block",height:Te.controlHeight,marginInlineStart:Te.marginXS,lineHeight:(0,Wt.unit)(Te.controlHeight),verticalAlign:"top",input:Object.assign(Object.assign(Object.assign({},(0,pe.ik)(Te)),(0,Ue.$U)(Te,{borderColor:Te.colorBorder,hoverBorderColor:Te.colorPrimaryHover,activeBorderColor:Te.colorPrimary,activeShadow:Te.activeShadow})),{"&[disabled]":Object.assign({},(0,Ue.Xy)(Te)),width:Te.calc(Te.controlHeightLG).mul(1.25).equal(),height:Te.controlHeight,boxSizing:"border-box",margin:0,marginInlineStart:Te.marginXS,marginInlineEnd:Te.marginXS})}}}},ne=Te=>{const{componentCls:Ke}=Te;return{[`${Ke}-item`]:{display:"inline-block",minWidth:Te.itemSize,height:Te.itemSize,marginInlineEnd:Te.marginXS,fontFamily:Te.fontFamily,lineHeight:(0,Wt.unit)(Te.calc(Te.itemSize).sub(2).equal()),textAlign:"center",verticalAlign:"middle",listStyle:"none",backgroundColor:Te.itemBg,border:`${(0,Wt.unit)(Te.lineWidth)} ${Te.lineType} transparent`,borderRadius:Te.borderRadius,outline:0,cursor:"pointer",userSelect:"none",a:{display:"block",padding:`0 ${(0,Wt.unit)(Te.paginationItemPaddingInline)}`,color:Te.colorText,"&:hover":{textDecoration:"none"}},[`&:not(${Ke}-item-active)`]:{"&:hover":{transition:`all ${Te.motionDurationMid}`,backgroundColor:Te.colorBgTextHover},"&:active":{backgroundColor:Te.colorBgTextActive}},"&-active":{fontWeight:Te.fontWeightStrong,backgroundColor:Te.itemActiveBg,borderColor:Te.colorPrimary,a:{color:Te.colorPrimary},"&:hover":{borderColor:Te.colorPrimaryHover},"&:hover a":{color:Te.colorPrimaryHover}}}}},te=Te=>{const{componentCls:Ke}=Te;return{[Ke]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},(0,Jt.Wf)(Te)),{display:"flex","&-start":{justifyContent:"start"},"&-center":{justifyContent:"center"},"&-end":{justifyContent:"end"},"ul, ol":{margin:0,padding:0,listStyle:"none"},"&::after":{display:"block",clear:"both",height:0,overflow:"hidden",visibility:"hidden",content:'""'},[`${Ke}-total-text`]:{display:"inline-block",height:Te.itemSize,marginInlineEnd:Te.marginXS,lineHeight:(0,Wt.unit)(Te.calc(Te.itemSize).sub(2).equal()),verticalAlign:"middle"}}),ne(Te)),le(Te)),bt(Te)),dn(Te)),ct(Te)),{[`@media only screen and (max-width: ${Te.screenLG}px)`]:{[`${Ke}-item`]:{"&-after-jump-prev, &-before-jump-next":{display:"none"}}},[`@media only screen and (max-width: ${Te.screenSM}px)`]:{[`${Ke}-options`]:{display:"none"}}}),[`&${Te.componentCls}-rtl`]:{direction:"rtl"}}},ae=Te=>{const{componentCls:Ke}=Te;return{[`${Ke}:not(${Ke}-disabled)`]:{[`${Ke}-item`]:Object.assign({},(0,Jt.Qy)(Te)),[`${Ke}-jump-prev, ${Ke}-jump-next`]:{"&:focus-visible":Object.assign({[`${Ke}-item-link-icon`]:{opacity:1},[`${Ke}-item-ellipsis`]:{opacity:0}},(0,Jt.oN)(Te))},[`${Ke}-prev, ${Ke}-next`]:{[`&:focus-visible ${Ke}-item-link`]:Object.assign({},(0,Jt.oN)(Te))}}}},he=Te=>Object.assign({itemBg:Te.colorBgContainer,itemSize:Te.controlHeight,itemSizeSM:Te.controlHeightSM,itemActiveBg:Te.colorBgContainer,itemLinkBg:Te.colorBgContainer,itemActiveColorDisabled:Te.colorTextDisabled,itemActiveBgDisabled:Te.controlItemBgActiveDisabled,itemInputBg:Te.colorBgContainer,miniOptionsSizeChangerTop:0},(0,Re.T)(Te)),re=Te=>(0,et.mergeToken)(Te,{inputOutlineOffset:0,paginationMiniOptionsMarginInlineStart:Te.calc(Te.marginXXS).div(2).equal(),paginationMiniQuickJumperInputWidth:Te.calc(Te.controlHeightLG).mul(1.1).equal(),paginationItemPaddingInline:Te.calc(Te.marginXXS).mul(1.5).equal(),paginationEllipsisLetterSpacing:Te.calc(Te.marginXXS).div(2).equal(),paginationSlashMarginInlineStart:Te.marginSM,paginationSlashMarginInlineEnd:Te.marginSM,paginationEllipsisTextIndent:"0.13em"},(0,Re.e)(Te));var ce=(0,jt.I$)("Pagination",Te=>{const Ke=re(Te);return[te(Ke),ae(Ke)]},he);const Pe=Te=>{const{componentCls:Ke}=Te;return{[`${Ke}${Ke}-bordered${Ke}-disabled:not(${Ke}-mini)`]:{"&, &:hover":{[`${Ke}-item-link`]:{borderColor:Te.colorBorder}},"&:focus-visible":{[`${Ke}-item-link`]:{borderColor:Te.colorBorder}},[`${Ke}-item, ${Ke}-item-link`]:{backgroundColor:Te.colorBgContainerDisabled,borderColor:Te.colorBorder,[`&:hover:not(${Ke}-item-active)`]:{backgroundColor:Te.colorBgContainerDisabled,borderColor:Te.colorBorder,a:{color:Te.colorTextDisabled}},[`&${Ke}-item-active`]:{backgroundColor:Te.itemActiveBgDisabled}},[`${Ke}-prev, ${Ke}-next`]:{"&:hover button":{backgroundColor:Te.colorBgContainerDisabled,borderColor:Te.colorBorder,color:Te.colorTextDisabled},[`${Ke}-item-link`]:{backgroundColor:Te.colorBgContainerDisabled,borderColor:Te.colorBorder}}},[`${Ke}${Ke}-bordered:not(${Ke}-mini)`]:{[`${Ke}-prev, ${Ke}-next`]:{"&:hover button":{borderColor:Te.colorPrimaryHover,backgroundColor:Te.itemBg},[`${Ke}-item-link`]:{backgroundColor:Te.itemLinkBg,borderColor:Te.colorBorder},[`&:hover ${Ke}-item-link`]:{borderColor:Te.colorPrimary,backgroundColor:Te.itemBg,color:Te.colorPrimary},[`&${Ke}-disabled`]:{[`${Ke}-item-link`]:{borderColor:Te.colorBorder,color:Te.colorTextDisabled}}},[`${Ke}-item`]:{backgroundColor:Te.itemBg,border:`${(0,Wt.unit)(Te.lineWidth)} ${Te.lineType} ${Te.colorBorder}`,[`&:hover:not(${Ke}-item-active)`]:{borderColor:Te.colorPrimary,backgroundColor:Te.itemBg,a:{color:Te.colorPrimary}},"&-active":{borderColor:Te.colorPrimary}}}}};var lt=(0,jt.bk)(["Pagination","bordered"],Te=>{const Ke=re(Te);return[Pe(Ke)]},he);function $e(Te){return(0,b.useMemo)(()=>typeof Te=="boolean"?[Te,{}]:Te&&typeof Te=="object"?[!0,Te]:[void 0,void 0],[Te])}var Ie=function(Te,Ke){var yn={};for(var Ht in Te)Object.prototype.hasOwnProperty.call(Te,Ht)&&Ke.indexOf(Ht)<0&&(yn[Ht]=Te[Ht]);if(Te!=null&&typeof Object.getOwnPropertySymbols=="function")for(var bn=0,Ht=Object.getOwnPropertySymbols(Te);bn<Ht.length;bn++)Ke.indexOf(Ht[bn])<0&&Object.prototype.propertyIsEnumerable.call(Te,Ht[bn])&&(yn[Ht[bn]]=Te[Ht[bn]]);return yn},Et=Te=>{const{align:Ke,prefixCls:yn,selectPrefixCls:Ht,className:bn,rootClassName:fn,style:Xt,size:on,locale:gn,responsive:ft,showSizeChanger:Yt,selectComponentClass:xn,pageSizeOptions:St}=Te,_e=Ie(Te,["align","prefixCls","selectPrefixCls","className","rootClassName","style","size","locale","responsive","showSizeChanger","selectComponentClass","pageSizeOptions"]),{xs:Vt}=(0,De.Z)(ft),[,tn]=(0,Gt.ZP)(),{getPrefixCls:un,direction:Tn,showSizeChanger:qn,className:mr,style:vr}=(0,ke.dj)("pagination"),Jn=un("pagination",yn),[dr,_t,zt]=ce(Jn),Sn=(0,Nt.Z)(on),wn=Sn==="small"||!!(Vt&&!Sn&&ft),[vn]=(0,ve.Z)("Pagination",He.Z),Rn=Object.assign(Object.assign({},vn),gn),[Bt,ln]=$e(Yt),[Zt,pn]=$e(qn),cn=Bt!=null?Bt:Zt,zn=ln!=null?ln:pn,Ln=xn||At.default,rr=b.useMemo(()=>St?St.map(It=>Number(It)):void 0,[St]),_n=It=>{var Qt;const{disabled:ze,size:yt,onSizeChange:Ye,"aria-label":Ct,className:qt,options:nr}=It,{className:ar,onChange:pt}=zn||{},xt=(Qt=nr.find(Pt=>String(Pt.value)===String(yt)))===null||Qt===void 0?void 0:Qt.value;return b.createElement(Ln,Object.assign({disabled:ze,showSearch:!0,popupMatchSelectWidth:!1,getPopupContainer:Pt=>Pt.parentNode,"aria-label":Ct,options:nr},zn,{value:xt,onChange:(Pt,Kt)=>{Ye==null||Ye(Pt),pt==null||pt(Pt,Kt)},size:wn?"small":"middle",className:vt()(qt,ar)}))},rn=b.useMemo(()=>{const It=b.createElement("span",{className:`${Jn}-item-ellipsis`},"\u2022\u2022\u2022"),Qt=b.createElement("button",{className:`${Jn}-item-link`,type:"button",tabIndex:-1},Tn==="rtl"?b.createElement(Ge.Z,null):b.createElement(fe.Z,null)),ze=b.createElement("button",{className:`${Jn}-item-link`,type:"button",tabIndex:-1},Tn==="rtl"?b.createElement(fe.Z,null):b.createElement(Ge.Z,null)),yt=b.createElement("a",{className:`${Jn}-item-link`},b.createElement("div",{className:`${Jn}-item-container`},Tn==="rtl"?b.createElement(Be.Z,{className:`${Jn}-item-link-icon`}):b.createElement(Ve,{className:`${Jn}-item-link-icon`}),It)),Ye=b.createElement("a",{className:`${Jn}-item-link`},b.createElement("div",{className:`${Jn}-item-container`},Tn==="rtl"?b.createElement(Ve,{className:`${Jn}-item-link-icon`}):b.createElement(Be.Z,{className:`${Jn}-item-link-icon`}),It));return{prevIcon:Qt,nextIcon:ze,jumpPrevIcon:yt,jumpNextIcon:Ye}},[Tn,Jn]),Fn=un("select",Ht),nn=vt()({[`${Jn}-${Ke}`]:!!Ke,[`${Jn}-mini`]:wn,[`${Jn}-rtl`]:Tn==="rtl",[`${Jn}-bordered`]:tn.wireframe},mr,bn,fn,_t,zt),er=Object.assign(Object.assign({},vr),Xt);return dr(b.createElement(b.Fragment,null,tn.wireframe&&b.createElement(lt,{prefixCls:Jn}),b.createElement(gt,Object.assign({},rn,_e,{style:er,prefixCls:Jn,selectPrefixCls:Fn,className:nn,locale:Rn,pageSizeOptions:rr,showSizeChanger:cn,sizeChangerRender:_n}))))},Rt=Et},89787:function(Yn,mn,z){"use strict";z.d(mn,{Z:function(){return gn}});var b=z(59301),Ce=z(17835),de=z(29679),rt=z(40001),Oe=z(19248),xe=z(99267),Ae=z(92310),Ve=z.n(Ae),Be=z(2738),fe=z(48755),Ge=z(60499),be=z(85899),vt=z(42244),Je={percent:0,prefixCls:"rc-progress",strokeColor:"#2db7f5",strokeLinecap:"round",strokeWidth:1,trailColor:"#D9D9D9",trailWidth:1,gapPosition:"bottom"},tt=function(){var Yt=(0,b.useRef)([]),xn=(0,b.useRef)(null);return(0,b.useEffect)(function(){var St=Date.now(),_e=!1;Yt.current.forEach(function(Vt){if(Vt){_e=!0;var tn=Vt.style;tn.transitionDuration=".3s, .3s, .3s, .06s",xn.current&&St-xn.current<100&&(tn.transitionDuration="0s, 0s")}}),_e&&(xn.current=Date.now())}),Yt.current},je=["className","percent","prefixCls","strokeColor","strokeLinecap","strokeWidth","style","trailColor","trailWidth","transition"],We=function(Yt){var xn=(0,be.Z)((0,be.Z)({},Je),Yt),St=xn.className,_e=xn.percent,Vt=xn.prefixCls,tn=xn.strokeColor,un=xn.strokeLinecap,Tn=xn.strokeWidth,qn=xn.style,mr=xn.trailColor,vr=xn.trailWidth,Jn=xn.transition,dr=(0,vt.Z)(xn,je);delete dr.gapPosition;var _t=Array.isArray(_e)?_e:[_e],zt=Array.isArray(tn)?tn:[tn],Sn=tt(),wn=Tn/2,vn=100-Tn/2,Rn="M ".concat(un==="round"?wn:0,",").concat(wn,`
|
|
|
L `).concat(un==="round"?vn:100,",").concat(wn),Bt="0 0 100 ".concat(Tn),ln=0;return b.createElement("svg",(0,Ge.Z)({className:Ve()("".concat(Vt,"-line"),St),viewBox:Bt,preserveAspectRatio:"none",style:qn},dr),b.createElement("path",{className:"".concat(Vt,"-line-trail"),d:Rn,strokeLinecap:un,stroke:mr,strokeWidth:vr||Tn,fillOpacity:"0"}),_t.map(function(Zt,pn){var cn=1;switch(un){case"round":cn=1-Tn/100;break;case"square":cn=1-Tn/2/100;break;default:cn=1;break}var zn={strokeDasharray:"".concat(Zt*cn,"px, 100px"),strokeDashoffset:"-".concat(ln,"px"),transition:Jn||"stroke-dashoffset 0.3s ease 0s, stroke-dasharray .3s ease 0s, stroke 0.3s linear"},Ln=zt[pn]||zt[zt.length-1];return ln+=Zt,b.createElement("path",{key:pn,className:"".concat(Vt,"-line-path"),d:Rn,strokeLinecap:un,stroke:Ln,strokeWidth:Tn,fillOpacity:"0",ref:function(_n){Sn[pn]=_n},style:zn})}))},ot=We,Mt=z(43749),Ut=z(72190),se=z(47273),Me=0,st=(0,se.Z)();function mt(){var ft;return st?(ft=Me,Me+=1):ft="TEST_OR_SSR",ft}var kt=function(ft){var Yt=b.useState(),xn=(0,Ut.Z)(Yt,2),St=xn[0],_e=xn[1];return b.useEffect(function(){_e("rc_progress_".concat(mt()))},[]),ft||St},Qe=function(Yt){var xn=Yt.bg,St=Yt.children;return b.createElement("div",{style:{width:"100%",height:"100%",background:xn}},St)};function ut(ft,Yt){return Object.keys(ft).map(function(xn){var St=parseFloat(xn),_e="".concat(Math.floor(St*Yt),"%");return"".concat(ft[xn]," ").concat(_e)})}var dt=b.forwardRef(function(ft,Yt){var xn=ft.prefixCls,St=ft.color,_e=ft.gradientId,Vt=ft.radius,tn=ft.style,un=ft.ptg,Tn=ft.strokeLinecap,qn=ft.strokeWidth,mr=ft.size,vr=ft.gapDegree,Jn=St&&(0,Mt.Z)(St)==="object",dr=Jn?"#FFF":void 0,_t=mr/2,zt=b.createElement("circle",{className:"".concat(xn,"-circle-path"),r:Vt,cx:_t,cy:_t,stroke:dr,strokeLinecap:Tn,strokeWidth:qn,opacity:un===0?0:1,style:tn,ref:Yt});if(!Jn)return zt;var Sn="".concat(_e,"-conic"),wn=vr?"".concat(180+vr/2,"deg"):"0deg",vn=ut(St,(360-vr)/360),Rn=ut(St,1),Bt="conic-gradient(from ".concat(wn,", ").concat(vn.join(", "),")"),ln="linear-gradient(to ".concat(vr?"bottom":"top",", ").concat(Rn.join(", "),")");return b.createElement(b.Fragment,null,b.createElement("mask",{id:Sn},zt),b.createElement("foreignObject",{x:0,y:0,width:mr,height:mr,mask:"url(#".concat(Sn,")")},b.createElement(Qe,{bg:ln},b.createElement(Qe,{bg:Bt}))))}),Fe=dt,Ze=100,Se=function(Yt,xn,St,_e,Vt,tn,un,Tn,qn,mr){var vr=arguments.length>10&&arguments[10]!==void 0?arguments[10]:0,Jn=St/100*360*((360-tn)/360),dr=tn===0?0:{bottom:0,top:180,left:90,right:-90}[un],_t=(100-_e)/100*xn;qn==="round"&&_e!==100&&(_t+=mr/2,_t>=xn&&(_t=xn-.01));var zt=Ze/2;return{stroke:typeof Tn=="string"?Tn:void 0,strokeDasharray:"".concat(xn,"px ").concat(Yt),strokeDashoffset:_t+vr,transform:"rotate(".concat(Vt+Jn+dr,"deg)"),transformOrigin:"".concat(zt,"px ").concat(zt,"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}},ue=["id","prefixCls","steps","strokeWidth","trailWidth","gapDegree","gapPosition","trailColor","strokeLinecap","style","className","strokeColor","percent"];function gt(ft){var Yt=ft!=null?ft:[];return Array.isArray(Yt)?Yt:[Yt]}var He=function(Yt){var xn=(0,be.Z)((0,be.Z)({},Je),Yt),St=xn.id,_e=xn.prefixCls,Vt=xn.steps,tn=xn.strokeWidth,un=xn.trailWidth,Tn=xn.gapDegree,qn=Tn===void 0?0:Tn,mr=xn.gapPosition,vr=xn.trailColor,Jn=xn.strokeLinecap,dr=xn.style,_t=xn.className,zt=xn.strokeColor,Sn=xn.percent,wn=(0,vt.Z)(xn,ue),vn=Ze/2,Rn=kt(St),Bt="".concat(Rn,"-gradient"),ln=vn-tn/2,Zt=Math.PI*2*ln,pn=qn>0?90+qn/2:-90,cn=Zt*((360-qn)/360),zn=(0,Mt.Z)(Vt)==="object"?Vt:{count:Vt,gap:2},Ln=zn.count,rr=zn.gap,_n=gt(Sn),rn=gt(zt),Fn=rn.find(function(Ye){return Ye&&(0,Mt.Z)(Ye)==="object"}),nn=Fn&&(0,Mt.Z)(Fn)==="object",er=nn?"butt":Jn,It=Se(Zt,cn,0,100,pn,qn,mr,vr,er,tn),Qt=tt(),ze=function(){var Ct=0;return _n.map(function(qt,nr){var ar=rn[nr]||rn[rn.length-1],pt=Se(Zt,cn,Ct,qt,pn,qn,mr,ar,er,tn);return Ct+=qt,b.createElement(Fe,{key:nr,color:ar,ptg:qt,radius:ln,prefixCls:_e,gradientId:Bt,style:pt,strokeLinecap:er,strokeWidth:tn,gapDegree:qn,ref:function(Pt){Qt[nr]=Pt},size:Ze})}).reverse()},yt=function(){var Ct=Math.round(Ln*(_n[0]/100)),qt=100/Ln,nr=0;return new Array(Ln).fill(null).map(function(ar,pt){var xt=pt<=Ct-1?rn[0]:vr,Pt=xt&&(0,Mt.Z)(xt)==="object"?"url(#".concat(Bt,")"):void 0,Kt=Se(Zt,cn,nr,qt,pn,qn,mr,xt,"butt",tn,rr);return nr+=(cn-Kt.strokeDashoffset+rr)*100/cn,b.createElement("circle",{key:pt,className:"".concat(_e,"-circle-path"),r:ln,cx:vn,cy:vn,stroke:Pt,strokeWidth:tn,opacity:1,style:Kt,ref:function(Zn){Qt[pt]=Zn}})})};return b.createElement("svg",(0,Ge.Z)({className:Ve()("".concat(_e,"-circle"),_t),viewBox:"0 0 ".concat(Ze," ").concat(Ze),style:dr,id:St,role:"presentation"},wn),!Ln&&b.createElement("circle",{className:"".concat(_e,"-circle-trail"),r:ln,cx:vn,cy:vn,stroke:vr,strokeLinecap:er,strokeWidth:un||tn,style:It}),Ln?yt():ze())},ke=He,Nt={Line:ot,Circle:ke},De=z(25399),ve=z(68361);function At(ft){return!ft||ft<0?0:ft>100?100:ft}function Gt(ft){let{success:Yt,successPercent:xn}=ft,St=xn;return Yt&&"progress"in Yt&&(St=Yt.progress),Yt&&"percent"in Yt&&(St=Yt.percent),St}const Wt=ft=>{let{percent:Yt,success:xn,successPercent:St}=ft;const _e=At(Gt({success:xn,successPercent:St}));return[_e,At(At(Yt)-_e)]},pe=ft=>{let{success:Yt={},strokeColor:xn}=ft;const{strokeColor:St}=Yt;return[St||ve.presetPrimaryColors.green,xn||null]},Re=(ft,Yt,xn)=>{var St,_e,Vt,tn;let un=-1,Tn=-1;if(Yt==="step"){const qn=xn.steps,mr=xn.strokeWidth;typeof ft=="string"||typeof ft=="undefined"?(un=ft==="small"?2:14,Tn=mr!=null?mr:8):typeof ft=="number"?[un,Tn]=[ft,ft]:[un=14,Tn=8]=Array.isArray(ft)?ft:[ft.width,ft.height],un*=qn}else if(Yt==="line"){const qn=xn==null?void 0:xn.strokeWidth;typeof ft=="string"||typeof ft=="undefined"?Tn=qn||(ft==="small"?6:8):typeof ft=="number"?[un,Tn]=[ft,ft]:[un=-1,Tn=8]=Array.isArray(ft)?ft:[ft.width,ft.height]}else(Yt==="circle"||Yt==="dashboard")&&(typeof ft=="string"||typeof ft=="undefined"?[un,Tn]=ft==="small"?[60,60]:[120,120]:typeof ft=="number"?[un,Tn]=[ft,ft]:Array.isArray(ft)&&(un=(_e=(St=ft[0])!==null&&St!==void 0?St:ft[1])!==null&&_e!==void 0?_e:120,Tn=(tn=(Vt=ft[0])!==null&&Vt!==void 0?Vt:ft[1])!==null&&tn!==void 0?tn:120));return[un,Tn]},Ue=3,Jt=ft=>Ue/ft*100;var jt=ft=>{const{prefixCls:Yt,trailColor:xn=null,strokeLinecap:St="round",gapPosition:_e,gapDegree:Vt,width:tn=120,type:un,children:Tn,success:qn,size:mr=tn,steps:vr}=ft,[Jn,dr]=Re(mr,"circle");let{strokeWidth:_t}=ft;_t===void 0&&(_t=Math.max(Jt(Jn),6));const zt={width:Jn,height:dr,fontSize:Jn*.15+6},Sn=b.useMemo(()=>{if(Vt||Vt===0)return Vt;if(un==="dashboard")return 75},[Vt,un]),wn=Wt(ft),vn=_e||un==="dashboard"&&"bottom"||void 0,Rn=Object.prototype.toString.call(ft.strokeColor)==="[object Object]",Bt=pe({success:qn,strokeColor:ft.strokeColor}),ln=Ve()(`${Yt}-inner`,{[`${Yt}-circle-gradient`]:Rn}),Zt=b.createElement(ke,{steps:vr,percent:vr?wn[1]:wn,strokeWidth:_t,trailWidth:_t,strokeColor:vr?Bt[1]:Bt,strokeLinecap:St,trailColor:xn,prefixCls:Yt,gapDegree:Sn,gapPosition:vn}),pn=Jn<=20,cn=b.createElement("div",{className:ln,style:zt},Zt,!pn&&Tn);return pn?b.createElement(De.Z,{title:Tn},cn):cn},ct=z(36237),dn=z(63356),bt=z(16931),le=z(51636);const ne="--progress-line-stroke-color",te="--progress-percent",ae=ft=>{const Yt=ft?"100%":"-100%";return new ct.Keyframes(`antProgress${ft?"RTL":"LTR"}Active`,{"0%":{transform:`translateX(${Yt}) scaleX(0)`,opacity:.1},"20%":{transform:`translateX(${Yt}) scaleX(0)`,opacity:.5},to:{transform:"translateX(0) scaleX(1)",opacity:0}})},he=ft=>{const{componentCls:Yt,iconCls:xn}=ft;return{[Yt]:Object.assign(Object.assign({},(0,dn.Wf)(ft)),{display:"inline-block","&-rtl":{direction:"rtl"},"&-line":{position:"relative",width:"100%",fontSize:ft.fontSize},[`${Yt}-outer`]:{display:"inline-flex",alignItems:"center",width:"100%"},[`${Yt}-inner`]:{position:"relative",display:"inline-block",width:"100%",flex:1,overflow:"hidden",verticalAlign:"middle",backgroundColor:ft.remainingColor,borderRadius:ft.lineBorderRadius},[`${Yt}-inner:not(${Yt}-circle-gradient)`]:{[`${Yt}-circle-path`]:{stroke:ft.defaultColor}},[`${Yt}-success-bg, ${Yt}-bg`]:{position:"relative",background:ft.defaultColor,borderRadius:ft.lineBorderRadius,transition:`all ${ft.motionDurationSlow} ${ft.motionEaseInOutCirc}`},[`${Yt}-layout-bottom`]:{display:"flex",flexDirection:"column",alignItems:"center",justifyContent:"center",[`${Yt}-text`]:{width:"max-content",marginInlineStart:0,marginTop:ft.marginXXS}},[`${Yt}-bg`]:{overflow:"hidden","&::after":{content:'""',background:{_multi_value_:!0,value:["inherit",`var(${ne})`]},height:"100%",width:`calc(1 / var(${te}) * 100%)`,display:"block"},[`&${Yt}-bg-inner`]:{minWidth:"max-content","&::after":{content:"none"},[`${Yt}-text-inner`]:{color:ft.colorWhite,[`&${Yt}-text-bright`]:{color:"rgba(0, 0, 0, 0.45)"}}}},[`${Yt}-success-bg`]:{position:"absolute",insetBlockStart:0,insetInlineStart:0,backgroundColor:ft.colorSuccess},[`${Yt}-text`]:{display:"inline-block",marginInlineStart:ft.marginXS,color:ft.colorText,lineHeight:1,width:"2em",whiteSpace:"nowrap",textAlign:"start",verticalAlign:"middle",wordBreak:"normal",[xn]:{fontSize:ft.fontSize},[`&${Yt}-text-outer`]:{width:"max-content"},[`&${Yt}-text-outer${Yt}-text-start`]:{width:"max-content",marginInlineStart:0,marginInlineEnd:ft.marginXS}},[`${Yt}-text-inner`]:{display:"flex",justifyContent:"center",alignItems:"center",width:"100%",height:"100%",marginInlineStart:0,padding:`0 ${(0,ct.unit)(ft.paddingXXS)}`,[`&${Yt}-text-start`]:{justifyContent:"start"},[`&${Yt}-text-end`]:{justifyContent:"end"}},[`&${Yt}-status-active`]:{[`${Yt}-bg::before`]:{position:"absolute",inset:0,backgroundColor:ft.colorBgContainer,borderRadius:ft.lineBorderRadius,opacity:0,animationName:ae(),animationDuration:ft.progressActiveMotionDuration,animationTimingFunction:ft.motionEaseOutQuint,animationIterationCount:"infinite",content:'""'}},[`&${Yt}-rtl${Yt}-status-active`]:{[`${Yt}-bg::before`]:{animationName:ae(!0)}},[`&${Yt}-status-exception`]:{[`${Yt}-bg`]:{backgroundColor:ft.colorError},[`${Yt}-text`]:{color:ft.colorError}},[`&${Yt}-status-exception ${Yt}-inner:not(${Yt}-circle-gradient)`]:{[`${Yt}-circle-path`]:{stroke:ft.colorError}},[`&${Yt}-status-success`]:{[`${Yt}-bg`]:{backgroundColor:ft.colorSuccess},[`${Yt}-text`]:{color:ft.colorSuccess}},[`&${Yt}-status-success ${Yt}-inner:not(${Yt}-circle-gradient)`]:{[`${Yt}-circle-path`]:{stroke:ft.colorSuccess}}})}},re=ft=>{const{componentCls:Yt,iconCls:xn}=ft;return{[Yt]:{[`${Yt}-circle-trail`]:{stroke:ft.remainingColor},[`&${Yt}-circle ${Yt}-inner`]:{position:"relative",lineHeight:1,backgroundColor:"transparent"},[`&${Yt}-circle ${Yt}-text`]:{position:"absolute",insetBlockStart:"50%",insetInlineStart:0,width:"100%",margin:0,padding:0,color:ft.circleTextColor,fontSize:ft.circleTextFontSize,lineHeight:1,whiteSpace:"normal",textAlign:"center",transform:"translateY(-50%)",[xn]:{fontSize:ft.circleIconFontSize}},[`${Yt}-circle&-status-exception`]:{[`${Yt}-text`]:{color:ft.colorError}},[`${Yt}-circle&-status-success`]:{[`${Yt}-text`]:{color:ft.colorSuccess}}},[`${Yt}-inline-circle`]:{lineHeight:1,[`${Yt}-inner`]:{verticalAlign:"bottom"}}}},ce=ft=>{const{componentCls:Yt}=ft;return{[Yt]:{[`${Yt}-steps`]:{display:"inline-block","&-outer":{display:"flex",flexDirection:"row",alignItems:"center"},"&-item":{flexShrink:0,minWidth:ft.progressStepMinWidth,marginInlineEnd:ft.progressStepMarginInlineEnd,backgroundColor:ft.remainingColor,transition:`all ${ft.motionDurationSlow}`,"&-active":{backgroundColor:ft.defaultColor}}}}}},Pe=ft=>{const{componentCls:Yt,iconCls:xn}=ft;return{[Yt]:{[`${Yt}-small&-line, ${Yt}-small&-line ${Yt}-text ${xn}`]:{fontSize:ft.fontSizeSM}}}},lt=ft=>({circleTextColor:ft.colorText,defaultColor:ft.colorInfo,remainingColor:ft.colorFillSecondary,lineBorderRadius:100,circleTextFontSize:"1em",circleIconFontSize:`${ft.fontSize/ft.fontSizeSM}em`});var $e=(0,bt.I$)("Progress",ft=>{const Yt=ft.calc(ft.marginXXS).div(2).equal(),xn=(0,le.mergeToken)(ft,{progressStepMarginInlineEnd:Yt,progressStepMinWidth:Yt,progressActiveMotionDuration:"2.4s"});return[he(xn),re(xn),ce(xn),Pe(xn)]},lt),Ie=function(ft,Yt){var xn={};for(var St in ft)Object.prototype.hasOwnProperty.call(ft,St)&&Yt.indexOf(St)<0&&(xn[St]=ft[St]);if(ft!=null&&typeof Object.getOwnPropertySymbols=="function")for(var _e=0,St=Object.getOwnPropertySymbols(ft);_e<St.length;_e++)Yt.indexOf(St[_e])<0&&Object.prototype.propertyIsEnumerable.call(ft,St[_e])&&(xn[St[_e]]=ft[St[_e]]);return xn};const ht=ft=>{let Yt=[];return Object.keys(ft).forEach(xn=>{const St=parseFloat(xn.replace(/%/g,""));Number.isNaN(St)||Yt.push({key:St,value:ft[xn]})}),Yt=Yt.sort((xn,St)=>xn.key-St.key),Yt.map(xn=>{let{key:St,value:_e}=xn;return`${_e} ${St}%`}).join(", ")},Et=(ft,Yt)=>{const{from:xn=ve.presetPrimaryColors.blue,to:St=ve.presetPrimaryColors.blue,direction:_e=Yt==="rtl"?"to left":"to right"}=ft,Vt=Ie(ft,["from","to","direction"]);if(Object.keys(Vt).length!==0){const un=ht(Vt),Tn=`linear-gradient(${_e}, ${un})`;return{background:Tn,[ne]:Tn}}const tn=`linear-gradient(${_e}, ${xn}, ${St})`;return{background:tn,[ne]:tn}};var Te=ft=>{const{prefixCls:Yt,direction:xn,percent:St,size:_e,strokeWidth:Vt,strokeColor:tn,strokeLinecap:un="round",children:Tn,trailColor:qn=null,percentPosition:mr,success:vr}=ft,{align:Jn,type:dr}=mr,_t=tn&&typeof tn!="string"?Et(tn,xn):{[ne]:tn,background:tn},zt=un==="square"||un==="butt"?0:void 0,Sn=_e!=null?_e:[-1,Vt||(_e==="small"?6:8)],[wn,vn]=Re(Sn,"line",{strokeWidth:Vt}),Rn={backgroundColor:qn||void 0,borderRadius:zt},Bt=Object.assign(Object.assign({width:`${At(St)}%`,height:vn,borderRadius:zt},_t),{[te]:At(St)/100}),ln=Gt(ft),Zt={width:`${At(ln)}%`,height:vn,borderRadius:zt,backgroundColor:vr==null?void 0:vr.strokeColor},pn={width:wn<0?"100%":wn},cn=b.createElement("div",{className:`${Yt}-inner`,style:Rn},b.createElement("div",{className:Ve()(`${Yt}-bg`,`${Yt}-bg-${dr}`),style:Bt},dr==="inner"&&Tn),ln!==void 0&&b.createElement("div",{className:`${Yt}-success-bg`,style:Zt})),zn=dr==="outer"&&Jn==="start",Ln=dr==="outer"&&Jn==="end";return dr==="outer"&&Jn==="center"?b.createElement("div",{className:`${Yt}-layout-bottom`},cn,Tn):b.createElement("div",{className:`${Yt}-outer`,style:pn},zn&&Tn,cn,Ln&&Tn)},yn=ft=>{const{size:Yt,steps:xn,rounding:St=Math.round,percent:_e=0,strokeWidth:Vt=8,strokeColor:tn,trailColor:un=null,prefixCls:Tn,children:qn}=ft,mr=St(xn*(_e/100)),vr=Yt==="small"?2:14,Jn=Yt!=null?Yt:[vr,Vt],[dr,_t]=Re(Jn,"step",{steps:xn,strokeWidth:Vt}),zt=dr/xn,Sn=Array.from({length:xn});for(let wn=0;wn<xn;wn++){const vn=Array.isArray(tn)?tn[wn]:tn;Sn[wn]=b.createElement("div",{key:wn,className:Ve()(`${Tn}-steps-item`,{[`${Tn}-steps-item-active`]:wn<=mr-1}),style:{backgroundColor:wn<=mr-1?vn:un,width:zt,height:_t}})}return b.createElement("div",{className:`${Tn}-steps-outer`},Sn,qn)},Ht=function(ft,Yt){var xn={};for(var St in ft)Object.prototype.hasOwnProperty.call(ft,St)&&Yt.indexOf(St)<0&&(xn[St]=ft[St]);if(ft!=null&&typeof Object.getOwnPropertySymbols=="function")for(var _e=0,St=Object.getOwnPropertySymbols(ft);_e<St.length;_e++)Yt.indexOf(St[_e])<0&&Object.prototype.propertyIsEnumerable.call(ft,St[_e])&&(xn[St[_e]]=ft[St[_e]]);return xn};const bn=null,fn=["normal","exception","active","success"];var on=b.forwardRef((ft,Yt)=>{const{prefixCls:xn,className:St,rootClassName:_e,steps:Vt,strokeColor:tn,percent:un=0,size:Tn="default",showInfo:qn=!0,type:mr="line",status:vr,format:Jn,style:dr,percentPosition:_t={}}=ft,zt=Ht(ft,["prefixCls","className","rootClassName","steps","strokeColor","percent","size","showInfo","type","status","format","style","percentPosition"]),{align:Sn="end",type:wn="outer"}=_t,vn=Array.isArray(tn)?tn[0]:tn,Rn=typeof tn=="string"||Array.isArray(tn)?tn:void 0,Bt=b.useMemo(()=>{if(vn){const ze=typeof vn=="string"?vn:Object.values(vn)[0];return new Ce.FastColor(ze).isLight()}return!1},[tn]),ln=b.useMemo(()=>{var ze,yt;const Ye=Gt(ft);return parseInt(Ye!==void 0?(ze=Ye!=null?Ye:0)===null||ze===void 0?void 0:ze.toString():(yt=un!=null?un:0)===null||yt===void 0?void 0:yt.toString(),10)},[un,ft.success,ft.successPercent]),Zt=b.useMemo(()=>!fn.includes(vr)&&ln>=100?"success":vr||"normal",[vr,ln]),{getPrefixCls:pn,direction:cn,progress:zn}=b.useContext(fe.E_),Ln=pn("progress",xn),[rr,_n,rn]=$e(Ln),Fn=mr==="line",nn=Fn&&!Vt,er=b.useMemo(()=>{if(!qn)return null;const ze=Gt(ft);let yt;const Ye=Jn||(qt=>`${qt}%`),Ct=Fn&&Bt&&wn==="inner";return wn==="inner"||Jn||Zt!=="exception"&&Zt!=="success"?yt=Ye(At(un),At(ze)):Zt==="exception"?yt=Fn?b.createElement(Oe.Z,null):b.createElement(xe.Z,null):Zt==="success"&&(yt=Fn?b.createElement(de.Z,null):b.createElement(rt.Z,null)),b.createElement("span",{className:Ve()(`${Ln}-text`,{[`${Ln}-text-bright`]:Ct,[`${Ln}-text-${Sn}`]:nn,[`${Ln}-text-${wn}`]:nn}),title:typeof yt=="string"?yt:void 0},yt)},[qn,un,ln,Zt,mr,Ln,Jn]);let It;mr==="line"?It=Vt?b.createElement(yn,Object.assign({},ft,{strokeColor:Rn,prefixCls:Ln,steps:typeof Vt=="object"?Vt.count:Vt}),er):b.createElement(Te,Object.assign({},ft,{strokeColor:vn,prefixCls:Ln,direction:cn,percentPosition:{align:Sn,type:wn}}),er):(mr==="circle"||mr==="dashboard")&&(It=b.createElement(jt,Object.assign({},ft,{strokeColor:vn,prefixCls:Ln,progressStatus:Zt}),er));const Qt=Ve()(Ln,`${Ln}-status-${Zt}`,{[`${Ln}-${mr==="dashboard"&&"circle"||mr}`]:mr!=="line",[`${Ln}-inline-circle`]:mr==="circle"&&Re(Tn,"circle")[0]<=20,[`${Ln}-line`]:nn,[`${Ln}-line-align-${Sn}`]:nn,[`${Ln}-line-position-${wn}`]:nn,[`${Ln}-steps`]:Vt,[`${Ln}-show-info`]:qn,[`${Ln}-${Tn}`]:typeof Tn=="string",[`${Ln}-rtl`]:cn==="rtl"},zn==null?void 0:zn.className,St,_e,_n,rn);return rr(b.createElement("div",Object.assign({ref:Yt,style:Object.assign(Object.assign({},zn==null?void 0:zn.style),dr),className:Qt,role:"progressbar","aria-valuenow":ln,"aria-valuemin":0,"aria-valuemax":100},(0,Be.Z)(zt,["trailColor","strokeWidth","width","gapDegree","gapPosition","strokeLinecap","success","successPercent"])),It))}),gn=on},63139:function(Yn,mn,z){"use strict";z.d(mn,{Z:function(){return Wt}});var b=z(59301),Ce=z(60499),de={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M908.1 353.1l-253.9-36.9L540.7 86.1c-3.1-6.3-8.2-11.4-14.5-14.5-15.8-7.8-35-1.3-42.9 14.5L369.8 316.2l-253.9 36.9c-7 1-13.4 4.3-18.3 9.3a32.05 32.05 0 00.6 45.3l183.7 179.1-43.4 252.9a31.95 31.95 0 0046.4 33.7L512 754l227.1 119.4c6.2 3.3 13.4 4.4 20.3 3.2 17.4-3 29.1-19.5 26.1-36.9l-43.4-252.9 183.7-179.1c5-4.9 8.3-11.3 9.3-18.3 2.7-17.5-9.5-33.7-27-36.3z"}}]},name:"star",theme:"filled"},rt=de,Oe=z(7657),xe=function(Re,Ue){return b.createElement(Oe.Z,(0,Ce.Z)({},Re,{ref:Ue,icon:rt}))},Ae=b.forwardRef(xe),Ve=Ae,Be=z(92310),fe=z.n(Be),Ge=z(18642),be=z(72190),vt=z(42244),Je=z(18929),tt=z(10228),je=z(26112);function We(pe,Re){var Ue=pe.disabled,Jt=pe.prefixCls,et=pe.character,jt=pe.characterRender,ct=pe.index,dn=pe.count,bt=pe.value,le=pe.allowHalf,ne=pe.focused,te=pe.onHover,ae=pe.onClick,he=function(Et){te(Et,ct)},re=function(Et){ae(Et,ct)},ce=function(Et){Et.keyCode===tt.Z.ENTER&&ae(Et,ct)},Pe=ct+1,lt=new Set([Jt]);bt===0&&ct===0&&ne?lt.add("".concat(Jt,"-focused")):le&&bt+.5>=Pe&&bt<Pe?(lt.add("".concat(Jt,"-half")),lt.add("".concat(Jt,"-active")),ne&<.add("".concat(Jt,"-focused"))):(Pe<=bt?lt.add("".concat(Jt,"-full")):lt.add("".concat(Jt,"-zero")),Pe===bt&&ne&<.add("".concat(Jt,"-focused")));var $e=typeof et=="function"?et(pe):et,Ie=b.createElement("li",{className:fe()(Array.from(lt)),ref:Re},b.createElement("div",{onClick:Ue?null:re,onKeyDown:Ue?null:ce,onMouseMove:Ue?null:he,role:"radio","aria-checked":bt>ct?"true":"false","aria-posinset":ct+1,"aria-setsize":dn,tabIndex:Ue?-1:0},b.createElement("div",{className:"".concat(Jt,"-first")},$e),b.createElement("div",{className:"".concat(Jt,"-second")},$e)));return jt&&(Ie=jt(Ie,pe)),Ie}var ot=b.forwardRef(We);function Mt(){var pe=b.useRef({});function Re(Jt){return pe.current[Jt]}function Ue(Jt){return function(et){pe.current[Jt]=et}}return[Re,Ue]}function Ut(pe){var Re=pe.pageXOffset,Ue="scrollLeft";if(typeof Re!="number"){var Jt=pe.document;Re=Jt.documentElement[Ue],typeof Re!="number"&&(Re=Jt.body[Ue])}return Re}function se(pe){var Re,Ue,Jt=pe.ownerDocument,et=Jt.body,jt=Jt&&Jt.documentElement,ct=pe.getBoundingClientRect();return Re=ct.left,Ue=ct.top,Re-=jt.clientLeft||et.clientLeft||0,Ue-=jt.clientTop||et.clientTop||0,{left:Re,top:Ue}}function Me(pe){var Re=se(pe),Ue=pe.ownerDocument,Jt=Ue.defaultView||Ue.parentWindow;return Re.left+=Ut(Jt),Re.left}var st=["prefixCls","className","defaultValue","value","count","allowHalf","allowClear","keyboard","character","characterRender","disabled","direction","tabIndex","autoFocus","onHoverChange","onChange","onFocus","onBlur","onKeyDown","onMouseLeave"];function mt(pe,Re){var Ue=pe.prefixCls,Jt=Ue===void 0?"rc-rate":Ue,et=pe.className,jt=pe.defaultValue,ct=pe.value,dn=pe.count,bt=dn===void 0?5:dn,le=pe.allowHalf,ne=le===void 0?!1:le,te=pe.allowClear,ae=te===void 0?!0:te,he=pe.keyboard,re=he===void 0?!0:he,ce=pe.character,Pe=ce===void 0?"\u2605":ce,lt=pe.characterRender,$e=pe.disabled,Ie=pe.direction,ht=Ie===void 0?"ltr":Ie,Et=pe.tabIndex,Rt=Et===void 0?0:Et,Te=pe.autoFocus,Ke=pe.onHoverChange,yn=pe.onChange,Ht=pe.onFocus,bn=pe.onBlur,fn=pe.onKeyDown,Xt=pe.onMouseLeave,on=(0,vt.Z)(pe,st),gn=Mt(),ft=(0,be.Z)(gn,2),Yt=ft[0],xn=ft[1],St=b.useRef(null),_e=function(){if(!$e){var er;(er=St.current)===null||er===void 0||er.focus()}};b.useImperativeHandle(Re,function(){return{focus:_e,blur:function(){if(!$e){var er;(er=St.current)===null||er===void 0||er.blur()}}}});var Vt=(0,Je.Z)(jt||0,{value:ct}),tn=(0,be.Z)(Vt,2),un=tn[0],Tn=tn[1],qn=(0,Je.Z)(null),mr=(0,be.Z)(qn,2),vr=mr[0],Jn=mr[1],dr=function(er,It){var Qt=ht==="rtl",ze=er+1;if(ne){var yt=Yt(er),Ye=Me(yt),Ct=yt.clientWidth;(Qt&&It-Ye>Ct/2||!Qt&&It-Ye<Ct/2)&&(ze-=.5)}return ze},_t=function(er){Tn(er),yn==null||yn(er)},zt=b.useState(!1),Sn=(0,be.Z)(zt,2),wn=Sn[0],vn=Sn[1],Rn=function(){vn(!0),Ht==null||Ht()},Bt=function(){vn(!1),bn==null||bn()},ln=b.useState(null),Zt=(0,be.Z)(ln,2),pn=Zt[0],cn=Zt[1],zn=function(er,It){var Qt=dr(It,er.pageX);Qt!==vr&&(cn(Qt),Jn(null)),Ke==null||Ke(Qt)},Ln=function(er){$e||(cn(null),Jn(null),Ke==null||Ke(void 0)),er&&(Xt==null||Xt(er))},rr=function(er,It){var Qt=dr(It,er.pageX),ze=!1;ae&&(ze=Qt===un),Ln(),_t(ze?0:Qt),Jn(ze?Qt:null)},_n=function(er){var It=er.keyCode,Qt=ht==="rtl",ze=ne?.5:1;re&&(It===tt.Z.RIGHT&&un<bt&&!Qt?(_t(un+ze),er.preventDefault()):It===tt.Z.LEFT&&un>0&&!Qt||It===tt.Z.RIGHT&&un>0&&Qt?(_t(un-ze),er.preventDefault()):It===tt.Z.LEFT&&un<bt&&Qt&&(_t(un+ze),er.preventDefault())),fn==null||fn(er)};b.useEffect(function(){Te&&!$e&&_e()},[]);var rn=new Array(bt).fill(0).map(function(nn,er){return b.createElement(ot,{ref:xn(er),index:er,count:bt,disabled:$e,prefixCls:"".concat(Jt,"-star"),allowHalf:ne,value:pn===null?un:pn,onClick:rr,onHover:zn,key:nn||er,character:Pe,characterRender:lt,focused:wn})}),Fn=fe()(Jt,et,(0,Ge.Z)((0,Ge.Z)({},"".concat(Jt,"-disabled"),$e),"".concat(Jt,"-rtl"),ht==="rtl"));return b.createElement("ul",(0,Ce.Z)({className:Fn,onMouseLeave:Ln,tabIndex:$e?-1:Rt,onFocus:$e?null:Rn,onBlur:$e?null:Bt,onKeyDown:$e?null:_n,ref:St},(0,je.Z)(on,{aria:!0,data:!0,attr:!0})),rn)}var kt=b.forwardRef(mt),Qe=kt,ut=z(48755),dt=z(25399),Fe=z(36237),Ze=z(63356),Se=z(16931),ue=z(51636);const gt=pe=>{const{componentCls:Re}=pe;return{[`${Re}-star`]:{position:"relative",display:"inline-block",color:"inherit",cursor:"pointer","&:not(:last-child)":{marginInlineEnd:pe.marginXS},"> div":{transition:`all ${pe.motionDurationMid}, outline 0s`,"&:hover":{transform:pe.starHoverScale},"&:focus":{outline:0},"&:focus-visible":{outline:`${(0,Fe.unit)(pe.lineWidth)} dashed ${pe.starColor}`,transform:pe.starHoverScale}},"&-first, &-second":{color:pe.starBg,transition:`all ${pe.motionDurationMid}`,userSelect:"none"},"&-first":{position:"absolute",top:0,insetInlineStart:0,width:"50%",height:"100%",overflow:"hidden",opacity:0},[`&-half ${Re}-star-first, &-half ${Re}-star-second`]:{opacity:1},[`&-half ${Re}-star-first, &-full ${Re}-star-second`]:{color:"inherit"}}}},He=pe=>({[`&-rtl${pe.componentCls}`]:{direction:"rtl"}}),ke=pe=>{const{componentCls:Re}=pe;return{[Re]:Object.assign(Object.assign(Object.assign(Object.assign({},(0,Ze.Wf)(pe)),{display:"inline-block",margin:0,padding:0,color:pe.starColor,fontSize:pe.starSize,lineHeight:1,listStyle:"none",outline:"none",[`&-disabled${Re} ${Re}-star`]:{cursor:"default","> div:hover":{transform:"scale(1)"}}}),gt(pe)),He(pe))}},Nt=pe=>({starColor:pe.yellow6,starSize:pe.controlHeightLG*.5,starHoverScale:"scale(1.1)",starBg:pe.colorFillContent});var De=(0,Se.I$)("Rate",pe=>{const Re=(0,ue.mergeToken)(pe,{});return[ke(Re)]},Nt),ve=z(2171),At=function(pe,Re){var Ue={};for(var Jt in pe)Object.prototype.hasOwnProperty.call(pe,Jt)&&Re.indexOf(Jt)<0&&(Ue[Jt]=pe[Jt]);if(pe!=null&&typeof Object.getOwnPropertySymbols=="function")for(var et=0,Jt=Object.getOwnPropertySymbols(pe);et<Jt.length;et++)Re.indexOf(Jt[et])<0&&Object.prototype.propertyIsEnumerable.call(pe,Jt[et])&&(Ue[Jt[et]]=pe[Jt[et]]);return Ue},Wt=b.forwardRef((pe,Re)=>{const{prefixCls:Ue,className:Jt,rootClassName:et,style:jt,tooltips:ct,character:dn=b.createElement(Ve,null),disabled:bt}=pe,le=At(pe,["prefixCls","className","rootClassName","style","tooltips","character","disabled"]),ne=(Et,Rt)=>{let{index:Te}=Rt;return ct?b.createElement(dt.Z,{title:ct[Te]},Et):Et},{getPrefixCls:te,direction:ae,rate:he}=b.useContext(ut.E_),re=te("rate",Ue),[ce,Pe,lt]=De(re),$e=Object.assign(Object.assign({},he==null?void 0:he.style),jt),Ie=b.useContext(ve.Z),ht=bt!=null?bt:Ie;return ce(b.createElement(Qe,Object.assign({ref:Re,character:dn,characterRender:ne,disabled:ht},le,{className:fe()(Jt,et,Pe,lt,he==null?void 0:he.className),style:$e,prefixCls:re,direction:ae})))})},82326:function(Yn,mn,z){"use strict";var b=z(59301),Ce=z(92310),de=z.n(Ce),rt=z(37463),Oe=z(2738),xe=z(75030),Ae=z(86641),Ve=z(45915),Be=z(82855),fe=z(48755),Ge=z(38406),be=z(2171),vt=z(83397),Je=z(31756),tt=z(56553),je=z(24971),We=z(70045),ot=z(57700),Mt=z(1722),Ut=z(90376),se=z(68525),Me=z(90005),st=function(dt,Fe){var Ze={};for(var Se in dt)Object.prototype.hasOwnProperty.call(dt,Se)&&Fe.indexOf(Se)<0&&(Ze[Se]=dt[Se]);if(dt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var ue=0,Se=Object.getOwnPropertySymbols(dt);ue<Se.length;ue++)Fe.indexOf(Se[ue])<0&&Object.prototype.propertyIsEnumerable.call(dt,Se[ue])&&(Ze[Se[ue]]=dt[Se[ue]]);return Ze};const mt="SECRET_COMBOBOX_MODE_DO_NOT_USE",kt=(dt,Fe)=>{var Ze;const{prefixCls:Se,bordered:ue,className:gt,rootClassName:He,getPopupContainer:ke,popupClassName:Nt,dropdownClassName:De,listHeight:ve=256,placement:At,listItemHeight:Gt,size:Wt,disabled:pe,notFoundContent:Re,status:Ue,builtinPlacements:Jt,dropdownMatchSelectWidth:et,popupMatchSelectWidth:jt,direction:ct,style:dn,allowClear:bt,variant:le,dropdownStyle:ne,transitionName:te,tagRender:ae,maxCount:he,prefix:re}=dt,ce=st(dt,["prefixCls","bordered","className","rootClassName","getPopupContainer","popupClassName","dropdownClassName","listHeight","placement","listItemHeight","size","disabled","notFoundContent","status","builtinPlacements","dropdownMatchSelectWidth","popupMatchSelectWidth","direction","style","allowClear","variant","dropdownStyle","transitionName","tagRender","maxCount","prefix"]),{getPopupContainer:Pe,getPrefixCls:lt,renderEmpty:$e,direction:Ie,virtual:ht,popupMatchSelectWidth:Et,popupOverflow:Rt}=b.useContext(fe.E_),Te=(0,fe.dj)("select"),[,Ke]=(0,ot.ZP)(),yn=Gt!=null?Gt:Ke==null?void 0:Ke.controlHeight,Ht=lt("select",Se),bn=lt(),fn=ct!=null?ct:Ie,{compactSize:Xt,compactItemClassnames:on}=(0,We.ri)(Ht,fn),[gn,ft]=(0,je.Z)("select",le,ue),Yt=(0,vt.Z)(Ht),[xn,St,_e]=(0,Ut.Z)(Ht,Yt),Vt=b.useMemo(()=>{const{mode:_n}=dt;if(_n!=="combobox")return _n===mt?"combobox":_n},[dt.mode]),tn=Vt==="multiple"||Vt==="tags",un=(0,Me.Z)(dt.suffixIcon,dt.showArrow),Tn=(Ze=jt!=null?jt:et)!==null&&Ze!==void 0?Ze:Et,{status:qn,hasFeedback:mr,isFormItemInput:vr,feedbackIcon:Jn}=b.useContext(tt.aM),dr=(0,Be.F)(qn,Ue);let _t;Re!==void 0?_t=Re:Vt==="combobox"?_t=null:_t=($e==null?void 0:$e("Select"))||b.createElement(Ge.Z,{componentName:"Select"});const{suffixIcon:zt,itemIcon:Sn,removeIcon:wn,clearIcon:vn}=(0,se.Z)(Object.assign(Object.assign({},ce),{multiple:tn,hasFeedback:mr,feedbackIcon:Jn,showSuffixIcon:un,prefixCls:Ht,componentName:"Select"})),Rn=bt===!0?{clearIcon:vn}:bt,Bt=(0,Oe.Z)(ce,["suffixIcon","itemIcon"]),ln=de()(Nt||De,{[`${Ht}-dropdown-${fn}`]:fn==="rtl"},He,_e,Yt,St),Zt=(0,Je.Z)(_n=>{var rn;return(rn=Wt!=null?Wt:Xt)!==null&&rn!==void 0?rn:_n}),pn=b.useContext(be.Z),cn=pe!=null?pe:pn,zn=de()({[`${Ht}-lg`]:Zt==="large",[`${Ht}-sm`]:Zt==="small",[`${Ht}-rtl`]:fn==="rtl",[`${Ht}-${gn}`]:ft,[`${Ht}-in-form-item`]:vr},(0,Be.Z)(Ht,dr,mr),on,Te.className,gt,He,_e,Yt,St),Ln=b.useMemo(()=>At!==void 0?At:fn==="rtl"?"bottomRight":"bottomLeft",[At,fn]),[rr]=(0,xe.Cn)("SelectLike",ne==null?void 0:ne.zIndex);return xn(b.createElement(rt.ZP,Object.assign({ref:Fe,virtual:ht,showSearch:Te.showSearch},Bt,{style:Object.assign(Object.assign({},Te.style),dn),dropdownMatchSelectWidth:Tn,transitionName:(0,Ae.m)(bn,"slide-up",te),builtinPlacements:(0,Mt.Z)(Jt,Rt),listHeight:ve,listItemHeight:yn,mode:Vt,prefixCls:Ht,placement:Ln,direction:fn,prefix:re,suffixIcon:zt,menuItemSelectedIcon:Sn,removeIcon:wn,allowClear:Rn,notFoundContent:_t,className:zn,getPopupContainer:ke||Pe,dropdownClassName:ln,disabled:cn,dropdownStyle:Object.assign(Object.assign({},ne),{zIndex:rr}),maxCount:tn?he:void 0,tagRender:tn?ae:void 0})))},Qe=b.forwardRef(kt),ut=(0,Ve.Z)(Qe,"dropdownAlign");Qe.SECRET_COMBOBOX_MODE_DO_NOT_USE=mt,Qe.Option=rt.Wx,Qe.OptGroup=rt.Xo,Qe._InternalPanelDoNotUseOrYouWillBeFired=ut,mn.default=Qe},1722:function(Yn,mn){"use strict";const z=Ce=>{const rt={overflow:{adjustX:!0,adjustY:!0,shiftY:!0},htmlRegion:Ce==="scroll"?"scroll":"visible",dynamicInset:!0};return{bottomLeft:Object.assign(Object.assign({},rt),{points:["tl","bl"],offset:[0,4]}),bottomRight:Object.assign(Object.assign({},rt),{points:["tr","br"],offset:[0,4]}),topLeft:Object.assign(Object.assign({},rt),{points:["bl","tl"],offset:[0,-4]}),topRight:Object.assign(Object.assign({},rt),{points:["br","tr"],offset:[0,-4]})}};function b(Ce,de){return Ce||z(de)}mn.Z=b},90376:function(Yn,mn,z){"use strict";z.d(mn,{Z:function(){return Se}});var b=z(63356),Ce=z(56119),de=z(16931),rt=z(51636),Oe=z(46e3),xe=z(93873);const Ae=ue=>{const{optionHeight:gt,optionFontSize:He,optionLineHeight:ke,optionPadding:Nt}=ue;return{position:"relative",display:"block",minHeight:gt,padding:Nt,color:ue.colorText,fontWeight:"normal",fontSize:He,lineHeight:ke,boxSizing:"border-box"}};var Be=ue=>{const{antCls:gt,componentCls:He}=ue,ke=`${He}-item`,Nt=`&${gt}-slide-up-enter${gt}-slide-up-enter-active`,De=`&${gt}-slide-up-appear${gt}-slide-up-appear-active`,ve=`&${gt}-slide-up-leave${gt}-slide-up-leave-active`,At=`${He}-dropdown-placement-`,Gt=`${ke}-option-selected`;return[{[`${He}-dropdown`]:Object.assign(Object.assign({},(0,b.Wf)(ue)),{position:"absolute",top:-9999,zIndex:ue.zIndexPopup,boxSizing:"border-box",padding:ue.paddingXXS,overflow:"hidden",fontSize:ue.fontSize,fontVariant:"initial",backgroundColor:ue.colorBgElevated,borderRadius:ue.borderRadiusLG,outline:"none",boxShadow:ue.boxShadowSecondary,[`
|
|
|
${Nt}${At}bottomLeft,
|
|
|
${De}${At}bottomLeft
|
|
|
`]:{animationName:Oe.fJ},[`
|
|
|
${Nt}${At}topLeft,
|
|
|
${De}${At}topLeft,
|
|
|
${Nt}${At}topRight,
|
|
|
${De}${At}topRight
|
|
|
`]:{animationName:Oe.Qt},[`${ve}${At}bottomLeft`]:{animationName:Oe.Uw},[`
|
|
|
${ve}${At}topLeft,
|
|
|
${ve}${At}topRight
|
|
|
`]:{animationName:Oe.ly},"&-hidden":{display:"none"},[ke]:Object.assign(Object.assign({},Ae(ue)),{cursor:"pointer",transition:`background ${ue.motionDurationSlow} ease`,borderRadius:ue.borderRadiusSM,"&-group":{color:ue.colorTextDescription,fontSize:ue.fontSizeSM,cursor:"default"},"&-option":{display:"flex","&-content":Object.assign({flex:"auto"},b.vS),"&-state":{flex:"none",display:"flex",alignItems:"center"},[`&-active:not(${ke}-option-disabled)`]:{backgroundColor:ue.optionActiveBg},[`&-selected:not(${ke}-option-disabled)`]:{color:ue.optionSelectedColor,fontWeight:ue.optionSelectedFontWeight,backgroundColor:ue.optionSelectedBg,[`${ke}-option-state`]:{color:ue.colorPrimary}},"&-disabled":{[`&${ke}-option-selected`]:{backgroundColor:ue.colorBgContainerDisabled},color:ue.colorTextDisabled,cursor:"not-allowed"},"&-grouped":{paddingInlineStart:ue.calc(ue.controlPaddingHorizontal).mul(2).equal()}},"&-empty":Object.assign(Object.assign({},Ae(ue)),{color:ue.colorTextDisabled})}),[`${Gt}:has(+ ${Gt})`]:{borderEndStartRadius:0,borderEndEndRadius:0,[`& + ${Gt}`]:{borderStartStartRadius:0,borderStartEndRadius:0}},"&-rtl":{direction:"rtl"}})},(0,Oe.oN)(ue,"slide-up"),(0,Oe.oN)(ue,"slide-down"),(0,xe.Fm)(ue,"move-up"),(0,xe.Fm)(ue,"move-down")]},fe=z(26743),Ge=z(36237);function be(ue,gt){const{componentCls:He,inputPaddingHorizontalBase:ke,borderRadius:Nt}=ue,De=ue.calc(ue.controlHeight).sub(ue.calc(ue.lineWidth).mul(2)).equal(),ve=gt?`${He}-${gt}`:"";return{[`${He}-single${ve}`]:{fontSize:ue.fontSize,height:ue.controlHeight,[`${He}-selector`]:Object.assign(Object.assign({},(0,b.Wf)(ue,!0)),{display:"flex",borderRadius:Nt,flex:"1 1 auto",[`${He}-selection-wrap:after`]:{lineHeight:(0,Ge.unit)(De)},[`${He}-selection-search`]:{position:"absolute",inset:0,width:"100%","&-input":{width:"100%",WebkitAppearance:"textfield"}},[`
|
|
|
${He}-selection-item,
|
|
|
${He}-selection-placeholder
|
|
|
`]:{display:"block",padding:0,lineHeight:(0,Ge.unit)(De),transition:`all ${ue.motionDurationSlow}, visibility 0s`,alignSelf:"center"},[`${He}-selection-placeholder`]:{transition:"none",pointerEvents:"none"},[["&:after",`${He}-selection-item:empty:after`,`${He}-selection-placeholder:empty:after`].join(",")]:{display:"inline-block",width:0,visibility:"hidden",content:'"\\a0"'}}),[`
|
|
|
&${He}-show-arrow ${He}-selection-item,
|
|
|
&${He}-show-arrow ${He}-selection-search,
|
|
|
&${He}-show-arrow ${He}-selection-placeholder
|
|
|
`]:{paddingInlineEnd:ue.showArrowPaddingInlineEnd},[`&${He}-open ${He}-selection-item`]:{color:ue.colorTextPlaceholder},[`&:not(${He}-customize-input)`]:{[`${He}-selector`]:{width:"100%",height:"100%",alignItems:"center",padding:`0 ${(0,Ge.unit)(ke)}`,[`${He}-selection-search-input`]:{height:De,fontSize:ue.fontSize},"&:after":{lineHeight:(0,Ge.unit)(De)}}},[`&${He}-customize-input`]:{[`${He}-selector`]:{"&:after":{display:"none"},[`${He}-selection-search`]:{position:"static",width:"100%"},[`${He}-selection-placeholder`]:{position:"absolute",insetInlineStart:0,insetInlineEnd:0,padding:`0 ${(0,Ge.unit)(ke)}`,"&:after":{display:"none"}}}}}}}function vt(ue){const{componentCls:gt}=ue,He=ue.calc(ue.controlPaddingHorizontalSM).sub(ue.lineWidth).equal();return[be(ue),be((0,rt.mergeToken)(ue,{controlHeight:ue.controlHeightSM,borderRadius:ue.borderRadiusSM}),"sm"),{[`${gt}-single${gt}-sm`]:{[`&:not(${gt}-customize-input)`]:{[`${gt}-selector`]:{padding:`0 ${(0,Ge.unit)(He)}`},[`&${gt}-show-arrow ${gt}-selection-search`]:{insetInlineEnd:ue.calc(He).add(ue.calc(ue.fontSize).mul(1.5)).equal()},[`
|
|
|
&${gt}-show-arrow ${gt}-selection-item,
|
|
|
&${gt}-show-arrow ${gt}-selection-placeholder
|
|
|
`]:{paddingInlineEnd:ue.calc(ue.fontSize).mul(1.5).equal()}}}},be((0,rt.mergeToken)(ue,{controlHeight:ue.singleItemHeightLG,fontSize:ue.fontSizeLG,borderRadius:ue.borderRadiusLG}),"lg")]}const Je=ue=>{const{fontSize:gt,lineHeight:He,lineWidth:ke,controlHeight:Nt,controlHeightSM:De,controlHeightLG:ve,paddingXXS:At,controlPaddingHorizontal:Gt,zIndexPopupBase:Wt,colorText:pe,fontWeightStrong:Re,controlItemBgActive:Ue,controlItemBgHover:Jt,colorBgContainer:et,colorFillSecondary:jt,colorBgContainerDisabled:ct,colorTextDisabled:dn,colorPrimaryHover:bt,colorPrimary:le,controlOutline:ne}=ue,te=At*2,ae=ke*2,he=Math.min(Nt-te,Nt-ae),re=Math.min(De-te,De-ae),ce=Math.min(ve-te,ve-ae);return{INTERNAL_FIXED_ITEM_MARGIN:Math.floor(At/2),zIndexPopup:Wt+50,optionSelectedColor:pe,optionSelectedFontWeight:Re,optionSelectedBg:Ue,optionActiveBg:Jt,optionPadding:`${(Nt-gt*He)/2}px ${Gt}px`,optionFontSize:gt,optionLineHeight:He,optionHeight:Nt,selectorBg:et,clearBg:et,singleItemHeightLG:ve,multipleItemBg:jt,multipleItemBorderColor:"transparent",multipleItemHeight:he,multipleItemHeightSM:re,multipleItemHeightLG:ce,multipleSelectorBgDisabled:ct,multipleItemColorDisabled:dn,multipleItemBorderColorDisabled:"transparent",showArrowPaddingInlineEnd:Math.ceil(ue.fontSize*1.25),hoverBorderColor:bt,activeBorderColor:le,activeOutlineColor:ne,selectAffixPadding:At}},tt=(ue,gt)=>{const{componentCls:He,antCls:ke,controlOutlineWidth:Nt}=ue;return{[`&:not(${He}-customize-input) ${He}-selector`]:{border:`${(0,Ge.unit)(ue.lineWidth)} ${ue.lineType} ${gt.borderColor}`,background:ue.selectorBg},[`&:not(${He}-disabled):not(${He}-customize-input):not(${ke}-pagination-size-changer)`]:{[`&:hover ${He}-selector`]:{borderColor:gt.hoverBorderHover},[`${He}-focused& ${He}-selector`]:{borderColor:gt.activeBorderColor,boxShadow:`0 0 0 ${(0,Ge.unit)(Nt)} ${gt.activeOutlineColor}`,outline:0},[`${He}-prefix`]:{color:gt.color}}}},je=(ue,gt)=>({[`&${ue.componentCls}-status-${gt.status}`]:Object.assign({},tt(ue,gt))}),We=ue=>({"&-outlined":Object.assign(Object.assign(Object.assign(Object.assign({},tt(ue,{borderColor:ue.colorBorder,hoverBorderHover:ue.hoverBorderColor,activeBorderColor:ue.activeBorderColor,activeOutlineColor:ue.activeOutlineColor,color:ue.colorText})),je(ue,{status:"error",borderColor:ue.colorError,hoverBorderHover:ue.colorErrorHover,activeBorderColor:ue.colorError,activeOutlineColor:ue.colorErrorOutline,color:ue.colorError})),je(ue,{status:"warning",borderColor:ue.colorWarning,hoverBorderHover:ue.colorWarningHover,activeBorderColor:ue.colorWarning,activeOutlineColor:ue.colorWarningOutline,color:ue.colorWarning})),{[`&${ue.componentCls}-disabled`]:{[`&:not(${ue.componentCls}-customize-input) ${ue.componentCls}-selector`]:{background:ue.colorBgContainerDisabled,color:ue.colorTextDisabled}},[`&${ue.componentCls}-multiple ${ue.componentCls}-selection-item`]:{background:ue.multipleItemBg,border:`${(0,Ge.unit)(ue.lineWidth)} ${ue.lineType} ${ue.multipleItemBorderColor}`}})}),ot=(ue,gt)=>{const{componentCls:He,antCls:ke}=ue;return{[`&:not(${He}-customize-input) ${He}-selector`]:{background:gt.bg,border:`${(0,Ge.unit)(ue.lineWidth)} ${ue.lineType} transparent`,color:gt.color},[`&:not(${He}-disabled):not(${He}-customize-input):not(${ke}-pagination-size-changer)`]:{[`&:hover ${He}-selector`]:{background:gt.hoverBg},[`${He}-focused& ${He}-selector`]:{background:ue.selectorBg,borderColor:gt.activeBorderColor,outline:0}}}},Mt=(ue,gt)=>({[`&${ue.componentCls}-status-${gt.status}`]:Object.assign({},ot(ue,gt))}),Ut=ue=>({"&-filled":Object.assign(Object.assign(Object.assign(Object.assign({},ot(ue,{bg:ue.colorFillTertiary,hoverBg:ue.colorFillSecondary,activeBorderColor:ue.activeBorderColor,color:ue.colorText})),Mt(ue,{status:"error",bg:ue.colorErrorBg,hoverBg:ue.colorErrorBgHover,activeBorderColor:ue.colorError,color:ue.colorError})),Mt(ue,{status:"warning",bg:ue.colorWarningBg,hoverBg:ue.colorWarningBgHover,activeBorderColor:ue.colorWarning,color:ue.colorWarning})),{[`&${ue.componentCls}-disabled`]:{[`&:not(${ue.componentCls}-customize-input) ${ue.componentCls}-selector`]:{borderColor:ue.colorBorder,background:ue.colorBgContainerDisabled,color:ue.colorTextDisabled}},[`&${ue.componentCls}-multiple ${ue.componentCls}-selection-item`]:{background:ue.colorBgContainer,border:`${(0,Ge.unit)(ue.lineWidth)} ${ue.lineType} ${ue.colorSplit}`}})}),se=ue=>({"&-borderless":{[`${ue.componentCls}-selector`]:{background:"transparent",border:`${(0,Ge.unit)(ue.lineWidth)} ${ue.lineType} transparent`},[`&${ue.componentCls}-disabled`]:{[`&:not(${ue.componentCls}-customize-input) ${ue.componentCls}-selector`]:{color:ue.colorTextDisabled}},[`&${ue.componentCls}-multiple ${ue.componentCls}-selection-item`]:{background:ue.multipleItemBg,border:`${(0,Ge.unit)(ue.lineWidth)} ${ue.lineType} ${ue.multipleItemBorderColor}`},[`&${ue.componentCls}-status-error`]:{[`${ue.componentCls}-prefix, ${ue.componentCls}-selection-item`]:{color:ue.colorError}},[`&${ue.componentCls}-status-warning`]:{[`${ue.componentCls}-prefix, ${ue.componentCls}-selection-item`]:{color:ue.colorWarning}}}}),Me=(ue,gt)=>{const{componentCls:He,antCls:ke}=ue;return{[`&:not(${He}-customize-input) ${He}-selector`]:{borderWidth:`0 0 ${(0,Ge.unit)(ue.lineWidth)} 0`,borderStyle:`none none ${ue.lineType} none`,borderColor:gt.borderColor,background:ue.selectorBg,borderRadius:0},[`&:not(${He}-disabled):not(${He}-customize-input):not(${ke}-pagination-size-changer)`]:{[`&:hover ${He}-selector`]:{borderColor:gt.hoverBorderHover},[`${He}-focused& ${He}-selector`]:{borderColor:gt.activeBorderColor,outline:0},[`${He}-prefix`]:{color:gt.color}}}},st=(ue,gt)=>({[`&${ue.componentCls}-status-${gt.status}`]:Object.assign({},Me(ue,gt))}),mt=ue=>({"&-underlined":Object.assign(Object.assign(Object.assign(Object.assign({},Me(ue,{borderColor:ue.colorBorder,hoverBorderHover:ue.hoverBorderColor,activeBorderColor:ue.activeBorderColor,activeOutlineColor:ue.activeOutlineColor,color:ue.colorText})),st(ue,{status:"error",borderColor:ue.colorError,hoverBorderHover:ue.colorErrorHover,activeBorderColor:ue.colorError,activeOutlineColor:ue.colorErrorOutline,color:ue.colorError})),st(ue,{status:"warning",borderColor:ue.colorWarning,hoverBorderHover:ue.colorWarningHover,activeBorderColor:ue.colorWarning,activeOutlineColor:ue.colorWarningOutline,color:ue.colorWarning})),{[`&${ue.componentCls}-disabled`]:{[`&:not(${ue.componentCls}-customize-input) ${ue.componentCls}-selector`]:{color:ue.colorTextDisabled}},[`&${ue.componentCls}-multiple ${ue.componentCls}-selection-item`]:{background:ue.multipleItemBg,border:`${(0,Ge.unit)(ue.lineWidth)} ${ue.lineType} ${ue.multipleItemBorderColor}`}})});var Qe=ue=>({[ue.componentCls]:Object.assign(Object.assign(Object.assign(Object.assign({},We(ue)),Ut(ue)),se(ue)),mt(ue))});const ut=ue=>{const{componentCls:gt}=ue;return{position:"relative",transition:`all ${ue.motionDurationMid} ${ue.motionEaseInOut}`,input:{cursor:"pointer"},[`${gt}-show-search&`]:{cursor:"text",input:{cursor:"auto",color:"inherit",height:"100%"}},[`${gt}-disabled&`]:{cursor:"not-allowed",input:{cursor:"not-allowed"}}}},dt=ue=>{const{componentCls:gt}=ue;return{[`${gt}-selection-search-input`]:{margin:0,padding:0,background:"transparent",border:"none",outline:"none",appearance:"none",fontFamily:"inherit","&::-webkit-search-cancel-button":{display:"none",appearance:"none"}}}},Fe=ue=>{const{antCls:gt,componentCls:He,inputPaddingHorizontalBase:ke,iconCls:Nt}=ue;return{[He]:Object.assign(Object.assign({},(0,b.Wf)(ue)),{position:"relative",display:"inline-flex",cursor:"pointer",[`&:not(${He}-customize-input) ${He}-selector`]:Object.assign(Object.assign({},ut(ue)),dt(ue)),[`${He}-selection-item`]:Object.assign(Object.assign({flex:1,fontWeight:"normal",position:"relative",userSelect:"none"},b.vS),{[`> ${gt}-typography`]:{display:"inline"}}),[`${He}-selection-placeholder`]:Object.assign(Object.assign({},b.vS),{flex:1,color:ue.colorTextPlaceholder,pointerEvents:"none"}),[`${He}-arrow`]:Object.assign(Object.assign({},(0,b.Ro)()),{position:"absolute",top:"50%",insetInlineStart:"auto",insetInlineEnd:ke,height:ue.fontSizeIcon,marginTop:ue.calc(ue.fontSizeIcon).mul(-1).div(2).equal(),color:ue.colorTextQuaternary,fontSize:ue.fontSizeIcon,lineHeight:1,textAlign:"center",pointerEvents:"none",display:"flex",alignItems:"center",transition:`opacity ${ue.motionDurationSlow} ease`,[Nt]:{verticalAlign:"top",transition:`transform ${ue.motionDurationSlow}`,"> svg":{verticalAlign:"top"},[`&:not(${He}-suffix)`]:{pointerEvents:"auto"}},[`${He}-disabled &`]:{cursor:"not-allowed"},"> *:not(:last-child)":{marginInlineEnd:8}}),[`${He}-selection-wrap`]:{display:"flex",width:"100%",position:"relative",minWidth:0,"&:after":{content:'"\\a0"',width:0,overflow:"hidden"}},[`${He}-prefix`]:{flex:"none",marginInlineEnd:ue.selectAffixPadding},[`${He}-clear`]:{position:"absolute",top:"50%",insetInlineStart:"auto",insetInlineEnd:ke,zIndex:1,display:"inline-block",width:ue.fontSizeIcon,height:ue.fontSizeIcon,marginTop:ue.calc(ue.fontSizeIcon).mul(-1).div(2).equal(),color:ue.colorTextQuaternary,fontSize:ue.fontSizeIcon,fontStyle:"normal",lineHeight:1,textAlign:"center",textTransform:"none",cursor:"pointer",opacity:0,transition:`color ${ue.motionDurationMid} ease, opacity ${ue.motionDurationSlow} ease`,textRendering:"auto","&:before":{display:"block"},"&:hover":{color:ue.colorTextTertiary}},[`&:hover ${He}-clear`]:{opacity:1,background:ue.colorBgBase,borderRadius:"50%"}}),[`${He}-status`]:{"&-error, &-warning, &-success, &-validating":{[`&${He}-has-feedback`]:{[`${He}-clear`]:{insetInlineEnd:ue.calc(ke).add(ue.fontSize).add(ue.paddingXS).equal()}}}}}},Ze=ue=>{const{componentCls:gt}=ue;return[{[gt]:{[`&${gt}-in-form-item`]:{width:"100%"}}},Fe(ue),vt(ue),(0,fe.ZP)(ue),Be(ue),{[`${gt}-rtl`]:{direction:"rtl"}},(0,Ce.c)(ue,{borderElCls:`${gt}-selector`,focusElCls:`${gt}-focused`})]};var Se=(0,de.I$)("Select",(ue,gt)=>{let{rootPrefixCls:He}=gt;const ke=(0,rt.mergeToken)(ue,{rootPrefixCls:He,inputPaddingHorizontalBase:ue.calc(ue.paddingSM).sub(1).equal(),multipleSelectItemHeight:ue.multipleItemHeight,selectHeight:ue.controlHeight});return[Ze(ke),Qe(ke)]},Je,{unitless:{optionLineHeight:!0,optionSelectedFontWeight:!0}})},26743:function(Yn,mn,z){"use strict";z.d(mn,{_z:function(){return xe},gp:function(){return rt}});var b=z(36237),Ce=z(63356),de=z(51636);const rt=fe=>{const{multipleSelectItemHeight:Ge,paddingXXS:be,lineWidth:vt,INTERNAL_FIXED_ITEM_MARGIN:Je}=fe,tt=fe.max(fe.calc(be).sub(vt).equal(),0),je=fe.max(fe.calc(tt).sub(Je).equal(),0);return{basePadding:tt,containerPadding:je,itemHeight:(0,b.unit)(Ge),itemLineHeight:(0,b.unit)(fe.calc(Ge).sub(fe.calc(fe.lineWidth).mul(2)).equal())}},Oe=fe=>{const{multipleSelectItemHeight:Ge,selectHeight:be,lineWidth:vt}=fe;return fe.calc(be).sub(Ge).div(2).sub(vt).equal()},xe=fe=>{const{componentCls:Ge,iconCls:be,borderRadiusSM:vt,motionDurationSlow:Je,paddingXS:tt,multipleItemColorDisabled:je,multipleItemBorderColorDisabled:We,colorIcon:ot,colorIconHover:Mt,INTERNAL_FIXED_ITEM_MARGIN:Ut}=fe;return{[`${Ge}-selection-overflow`]:{position:"relative",display:"flex",flex:"auto",flexWrap:"wrap",maxWidth:"100%","&-item":{flex:"none",alignSelf:"center",maxWidth:"100%",display:"inline-flex"},[`${Ge}-selection-item`]:{display:"flex",alignSelf:"center",flex:"none",boxSizing:"border-box",maxWidth:"100%",marginBlock:Ut,borderRadius:vt,cursor:"default",transition:`font-size ${Je}, line-height ${Je}, height ${Je}`,marginInlineEnd:fe.calc(Ut).mul(2).equal(),paddingInlineStart:tt,paddingInlineEnd:fe.calc(tt).div(2).equal(),[`${Ge}-disabled&`]:{color:je,borderColor:We,cursor:"not-allowed"},"&-content":{display:"inline-block",marginInlineEnd:fe.calc(tt).div(2).equal(),overflow:"hidden",whiteSpace:"pre",textOverflow:"ellipsis"},"&-remove":Object.assign(Object.assign({},(0,Ce.Ro)()),{display:"inline-flex",alignItems:"center",color:ot,fontWeight:"bold",fontSize:10,lineHeight:"inherit",cursor:"pointer",[`> ${be}`]:{verticalAlign:"-0.2em"},"&:hover":{color:Mt}})}}}},Ae=(fe,Ge)=>{const{componentCls:be,INTERNAL_FIXED_ITEM_MARGIN:vt}=fe,Je=`${be}-selection-overflow`,tt=fe.multipleSelectItemHeight,je=Oe(fe),We=Ge?`${be}-${Ge}`:"",ot=rt(fe);return{[`${be}-multiple${We}`]:Object.assign(Object.assign({},xe(fe)),{[`${be}-selector`]:{display:"flex",alignItems:"center",width:"100%",height:"100%",paddingInline:ot.basePadding,paddingBlock:ot.containerPadding,borderRadius:fe.borderRadius,[`${be}-disabled&`]:{background:fe.multipleSelectorBgDisabled,cursor:"not-allowed"},"&:after":{display:"inline-block",width:0,margin:`${(0,b.unit)(vt)} 0`,lineHeight:(0,b.unit)(tt),visibility:"hidden",content:'"\\a0"'}},[`${be}-selection-item`]:{height:ot.itemHeight,lineHeight:(0,b.unit)(ot.itemLineHeight)},[`${be}-selection-wrap`]:{alignSelf:"flex-start","&:after":{lineHeight:(0,b.unit)(tt),marginBlock:vt}},[`${be}-prefix`]:{marginInlineStart:fe.calc(fe.inputPaddingHorizontalBase).sub(ot.basePadding).equal()},[`${Je}-item + ${Je}-item,
|
|
|
${be}-prefix + ${be}-selection-wrap
|
|
|
`]:{[`${be}-selection-search`]:{marginInlineStart:0},[`${be}-selection-placeholder`]:{insetInlineStart:0}},[`${Je}-item-suffix`]:{minHeight:ot.itemHeight,marginBlock:vt},[`${be}-selection-search`]:{display:"inline-flex",position:"relative",maxWidth:"100%",marginInlineStart:fe.calc(fe.inputPaddingHorizontalBase).sub(je).equal(),"\n &-input,\n &-mirror\n ":{height:tt,fontFamily:fe.fontFamily,lineHeight:(0,b.unit)(tt),transition:`all ${fe.motionDurationSlow}`},"&-input":{width:"100%",minWidth:4.1},"&-mirror":{position:"absolute",top:0,insetInlineStart:0,insetInlineEnd:"auto",zIndex:999,whiteSpace:"pre",visibility:"hidden"}},[`${be}-selection-placeholder`]:{position:"absolute",top:"50%",insetInlineStart:fe.calc(fe.inputPaddingHorizontalBase).sub(ot.basePadding).equal(),insetInlineEnd:fe.inputPaddingHorizontalBase,transform:"translateY(-50%)",transition:`all ${fe.motionDurationSlow}`}})}};function Ve(fe,Ge){const{componentCls:be}=fe,vt=Ge?`${be}-${Ge}`:"",Je={[`${be}-multiple${vt}`]:{fontSize:fe.fontSize,[`${be}-selector`]:{[`${be}-show-search&`]:{cursor:"text"}},[`
|
|
|
&${be}-show-arrow ${be}-selector,
|
|
|
&${be}-allow-clear ${be}-selector
|
|
|
`]:{paddingInlineEnd:fe.calc(fe.fontSizeIcon).add(fe.controlPaddingHorizontal).equal()}}};return[Ae(fe,Ge),Je]}const Be=fe=>{const{componentCls:Ge}=fe,be=(0,de.mergeToken)(fe,{selectHeight:fe.controlHeightSM,multipleSelectItemHeight:fe.multipleItemHeightSM,borderRadius:fe.borderRadiusSM,borderRadiusSM:fe.borderRadiusXS}),vt=(0,de.mergeToken)(fe,{fontSize:fe.fontSizeLG,selectHeight:fe.controlHeightLG,multipleSelectItemHeight:fe.multipleItemHeightLG,borderRadius:fe.borderRadiusLG,borderRadiusSM:fe.borderRadius});return[Ve(fe),Ve(be,"sm"),{[`${Ge}-multiple${Ge}-sm`]:{[`${Ge}-selection-placeholder`]:{insetInline:fe.calc(fe.controlPaddingHorizontalSM).sub(fe.lineWidth).equal()},[`${Ge}-selection-search`]:{marginInlineStart:2}}},Ve(vt,"lg")]};mn.ZP=Be},68525:function(Yn,mn,z){"use strict";z.d(mn,{Z:function(){return Ve}});var b=z(59301),Ce=z(40001),de=z(19248),rt=z(99267),Oe=z(84105),xe=z(58617),Ae=z(47472);function Ve(Be){let{suffixIcon:fe,clearIcon:Ge,menuItemSelectedIcon:be,removeIcon:vt,loading:Je,multiple:tt,hasFeedback:je,prefixCls:We,showSuffixIcon:ot,feedbackIcon:Mt,showArrow:Ut,componentName:se}=Be;const Me=Ge!=null?Ge:b.createElement(de.Z,null),st=ut=>fe===null&&!je&&!Ut?null:b.createElement(b.Fragment,null,ot!==!1&&ut,je&&Mt);let mt=null;if(fe!==void 0)mt=st(fe);else if(Je)mt=st(b.createElement(xe.Z,{spin:!0}));else{const ut=`${We}-suffix`;mt=dt=>{let{open:Fe,showSearch:Ze}=dt;return st(Fe&&Ze?b.createElement(Ae.Z,{className:ut}):b.createElement(Oe.Z,{className:ut}))}}let kt=null;be!==void 0?kt=be:tt?kt=b.createElement(Ce.Z,null):kt=null;let Qe=null;return vt!==void 0?Qe=vt:Qe=b.createElement(rt.Z,null),{clearIcon:Me,suffixIcon:mt,itemIcon:kt,removeIcon:Qe}}},90005:function(Yn,mn,z){"use strict";z.d(mn,{Z:function(){return b}});function b(Ce,de){return de!==void 0?de:Ce!==null}},11938:function(Yn,mn,z){"use strict";z.d(mn,{default:function(){return dt}});var b=z(59301),Ce=z(40192),de=z(22703),rt=z(92310),Oe=z.n(rt),xe=z(26112),Ae=z(48755),Ve=z(458),fe=Fe=>{const{value:Ze,formatter:Se,precision:ue,decimalSeparator:gt,groupSeparator:He="",prefixCls:ke}=Fe;let Nt;if(typeof Se=="function")Nt=Se(Ze);else{const De=String(Ze),ve=De.match(/^(-?)(\d*)(\.(\d+))?$/);if(!ve||De==="-")Nt=De;else{const At=ve[1];let Gt=ve[2]||"0",Wt=ve[4]||"";Gt=Gt.replace(/\B(?=(\d{3})+(?!\d))/g,He),typeof ue=="number"&&(Wt=Wt.padEnd(ue,"0").slice(0,ue>0?ue:0)),Wt&&(Wt=`${gt}${Wt}`),Nt=[b.createElement("span",{key:"int",className:`${ke}-content-value-int`},At,Gt),Wt&&b.createElement("span",{key:"decimal",className:`${ke}-content-value-decimal`},Wt)]}}return b.createElement("span",{className:`${ke}-content-value`},Nt)},Ge=z(63356),be=z(16931),vt=z(51636);const Je=Fe=>{const{componentCls:Ze,marginXXS:Se,padding:ue,colorTextDescription:gt,titleFontSize:He,colorTextHeading:ke,contentFontSize:Nt,fontFamily:De}=Fe;return{[Ze]:Object.assign(Object.assign({},(0,Ge.Wf)(Fe)),{[`${Ze}-title`]:{marginBottom:Se,color:gt,fontSize:He},[`${Ze}-skeleton`]:{paddingTop:ue},[`${Ze}-content`]:{color:ke,fontSize:Nt,fontFamily:De,[`${Ze}-content-value`]:{display:"inline-block",direction:"ltr"},[`${Ze}-content-prefix, ${Ze}-content-suffix`]:{display:"inline-block"},[`${Ze}-content-prefix`]:{marginInlineEnd:Se},[`${Ze}-content-suffix`]:{marginInlineStart:Se}}})}},tt=Fe=>{const{fontSizeHeading3:Ze,fontSize:Se}=Fe;return{titleFontSize:Se,contentFontSize:Ze}};var je=(0,be.I$)("Statistic",Fe=>{const Ze=(0,vt.mergeToken)(Fe,{});return[Je(Ze)]},tt),We=function(Fe,Ze){var Se={};for(var ue in Fe)Object.prototype.hasOwnProperty.call(Fe,ue)&&Ze.indexOf(ue)<0&&(Se[ue]=Fe[ue]);if(Fe!=null&&typeof Object.getOwnPropertySymbols=="function")for(var gt=0,ue=Object.getOwnPropertySymbols(Fe);gt<ue.length;gt++)Ze.indexOf(ue[gt])<0&&Object.prototype.propertyIsEnumerable.call(Fe,ue[gt])&&(Se[ue[gt]]=Fe[ue[gt]]);return Se},Mt=Fe=>{const{prefixCls:Ze,className:Se,rootClassName:ue,style:gt,valueStyle:He,value:ke=0,title:Nt,valueRender:De,prefix:ve,suffix:At,loading:Gt=!1,formatter:Wt,precision:pe,decimalSeparator:Re=".",groupSeparator:Ue=",",onMouseEnter:Jt,onMouseLeave:et}=Fe,jt=We(Fe,["prefixCls","className","rootClassName","style","valueStyle","value","title","valueRender","prefix","suffix","loading","formatter","precision","decimalSeparator","groupSeparator","onMouseEnter","onMouseLeave"]),{getPrefixCls:ct,direction:dn,className:bt,style:le}=(0,Ae.dj)("statistic"),ne=ct("statistic",Ze),[te,ae,he]=je(ne),re=b.createElement(fe,{decimalSeparator:Re,groupSeparator:Ue,prefixCls:ne,formatter:Wt,precision:pe,value:ke}),ce=Oe()(ne,{[`${ne}-rtl`]:dn==="rtl"},bt,Se,ue,ae,he),Pe=(0,xe.Z)(jt,{aria:!0,data:!0});return te(b.createElement("div",Object.assign({},Pe,{className:ce,style:Object.assign(Object.assign({},le),gt),onMouseEnter:Jt,onMouseLeave:et}),Nt&&b.createElement("div",{className:`${ne}-title`},Nt),b.createElement(Ve.Z,{paragraph:!1,loading:Gt,className:`${ne}-skeleton`},b.createElement("div",{style:He,className:`${ne}-content`},ve&&b.createElement("span",{className:`${ne}-content-prefix`},ve),De?De(re):re,At&&b.createElement("span",{className:`${ne}-content-suffix`},At)))))};const Ut=[["Y",1e3*60*60*24*365],["M",1e3*60*60*24*30],["D",1e3*60*60*24],["H",1e3*60*60],["m",1e3*60],["s",1e3],["S",1]];function se(Fe,Ze){let Se=Fe;const ue=/\[[^\]]*]/g,gt=(Ze.match(ue)||[]).map(De=>De.slice(1,-1)),He=Ze.replace(ue,"[]"),ke=Ut.reduce((De,ve)=>{let[At,Gt]=ve;if(De.includes(At)){const Wt=Math.floor(Se/Gt);return Se-=Wt*Gt,De.replace(new RegExp(`${At}+`,"g"),pe=>{const Re=pe.length;return Wt.toString().padStart(Re,"0")})}return De},He);let Nt=0;return ke.replace(ue,()=>{const De=gt[Nt];return Nt+=1,De})}function Me(Fe,Ze){const{format:Se=""}=Ze,ue=new Date(Fe).getTime(),gt=Date.now(),He=Math.max(ue-gt,0);return se(He,Se)}var st=function(Fe,Ze){var Se={};for(var ue in Fe)Object.prototype.hasOwnProperty.call(Fe,ue)&&Ze.indexOf(ue)<0&&(Se[ue]=Fe[ue]);if(Fe!=null&&typeof Object.getOwnPropertySymbols=="function")for(var gt=0,ue=Object.getOwnPropertySymbols(Fe);gt<ue.length;gt++)Ze.indexOf(ue[gt])<0&&Object.prototype.propertyIsEnumerable.call(Fe,ue[gt])&&(Se[ue[gt]]=Fe[ue[gt]]);return Se};const mt=1e3/30;function kt(Fe){return new Date(Fe).getTime()}const Qe=Fe=>{const{value:Ze,format:Se="HH:mm:ss",onChange:ue,onFinish:gt}=Fe,He=st(Fe,["value","format","onChange","onFinish"]),ke=(0,Ce.Z)(),Nt=b.useRef(null),De=()=>{gt==null||gt(),Nt.current&&(clearInterval(Nt.current),Nt.current=null)},ve=()=>{const Wt=kt(Ze);Wt>=Date.now()&&(Nt.current=setInterval(()=>{ke(),ue==null||ue(Wt-Date.now()),Wt<Date.now()&&De()},mt))};b.useEffect(()=>(ve(),()=>{Nt.current&&(clearInterval(Nt.current),Nt.current=null)}),[Ze]);const At=(Wt,pe)=>Me(Wt,Object.assign(Object.assign({},pe),{format:Se})),Gt=Wt=>(0,de.Tm)(Wt,{title:void 0});return b.createElement(Mt,Object.assign({},He,{value:Ze,valueRender:Gt,formatter:At}))};var ut=b.memo(Qe);Mt.Countdown=ut;var dt=Mt},58755:function(Yn,mn,z){"use strict";z.d(mn,{Z:function(){return gt}});var b=z(59301),Ce=z(58617),de=z(92310),rt=z.n(de),Oe=z(60499),xe=z(18642),Ae=z(72190),Ve=z(42244),Be=z(18929),fe=z(10228),Ge=["prefixCls","className","checked","defaultChecked","disabled","loadingIcon","checkedChildren","unCheckedChildren","onClick","onChange","onKeyDown"],be=b.forwardRef(function(He,ke){var Nt,De=He.prefixCls,ve=De===void 0?"rc-switch":De,At=He.className,Gt=He.checked,Wt=He.defaultChecked,pe=He.disabled,Re=He.loadingIcon,Ue=He.checkedChildren,Jt=He.unCheckedChildren,et=He.onClick,jt=He.onChange,ct=He.onKeyDown,dn=(0,Ve.Z)(He,Ge),bt=(0,Be.Z)(!1,{value:Gt,defaultValue:Wt}),le=(0,Ae.Z)(bt,2),ne=le[0],te=le[1];function ae(Pe,lt){var $e=ne;return pe||($e=Pe,te($e),jt==null||jt($e,lt)),$e}function he(Pe){Pe.which===fe.Z.LEFT?ae(!1,Pe):Pe.which===fe.Z.RIGHT&&ae(!0,Pe),ct==null||ct(Pe)}function re(Pe){var lt=ae(!ne,Pe);et==null||et(lt,Pe)}var ce=rt()(ve,At,(Nt={},(0,xe.Z)(Nt,"".concat(ve,"-checked"),ne),(0,xe.Z)(Nt,"".concat(ve,"-disabled"),pe),Nt));return b.createElement("button",(0,Oe.Z)({},dn,{type:"button",role:"switch","aria-checked":ne,disabled:pe,className:ce,ref:ke,onKeyDown:he,onClick:re}),Re,b.createElement("span",{className:"".concat(ve,"-inner")},b.createElement("span",{className:"".concat(ve,"-inner-checked")},Ue),b.createElement("span",{className:"".concat(ve,"-inner-unchecked")},Jt)))});be.displayName="Switch";var vt=be,Je=z(12919),tt=z(48755),je=z(2171),We=z(31756),ot=z(36237),Mt=z(17835),Ut=z(63356),se=z(16931),Me=z(51636);const st=He=>{const{componentCls:ke,trackHeightSM:Nt,trackPadding:De,trackMinWidthSM:ve,innerMinMarginSM:At,innerMaxMarginSM:Gt,handleSizeSM:Wt,calc:pe}=He,Re=`${ke}-inner`,Ue=(0,ot.unit)(pe(Wt).add(pe(De).mul(2)).equal()),Jt=(0,ot.unit)(pe(Gt).mul(2).equal());return{[ke]:{[`&${ke}-small`]:{minWidth:ve,height:Nt,lineHeight:(0,ot.unit)(Nt),[`${ke}-inner`]:{paddingInlineStart:Gt,paddingInlineEnd:At,[`${Re}-checked, ${Re}-unchecked`]:{minHeight:Nt},[`${Re}-checked`]:{marginInlineStart:`calc(-100% + ${Ue} - ${Jt})`,marginInlineEnd:`calc(100% - ${Ue} + ${Jt})`},[`${Re}-unchecked`]:{marginTop:pe(Nt).mul(-1).equal(),marginInlineStart:0,marginInlineEnd:0}},[`${ke}-handle`]:{width:Wt,height:Wt},[`${ke}-loading-icon`]:{top:pe(pe(Wt).sub(He.switchLoadingIconSize)).div(2).equal(),fontSize:He.switchLoadingIconSize},[`&${ke}-checked`]:{[`${ke}-inner`]:{paddingInlineStart:At,paddingInlineEnd:Gt,[`${Re}-checked`]:{marginInlineStart:0,marginInlineEnd:0},[`${Re}-unchecked`]:{marginInlineStart:`calc(100% - ${Ue} + ${Jt})`,marginInlineEnd:`calc(-100% + ${Ue} - ${Jt})`}},[`${ke}-handle`]:{insetInlineStart:`calc(100% - ${(0,ot.unit)(pe(Wt).add(De).equal())})`}},[`&:not(${ke}-disabled):active`]:{[`&:not(${ke}-checked) ${Re}`]:{[`${Re}-unchecked`]:{marginInlineStart:pe(He.marginXXS).div(2).equal(),marginInlineEnd:pe(He.marginXXS).mul(-1).div(2).equal()}},[`&${ke}-checked ${Re}`]:{[`${Re}-checked`]:{marginInlineStart:pe(He.marginXXS).mul(-1).div(2).equal(),marginInlineEnd:pe(He.marginXXS).div(2).equal()}}}}}}},mt=He=>{const{componentCls:ke,handleSize:Nt,calc:De}=He;return{[ke]:{[`${ke}-loading-icon${He.iconCls}`]:{position:"relative",top:De(De(Nt).sub(He.fontSize)).div(2).equal(),color:He.switchLoadingIconColor,verticalAlign:"top"},[`&${ke}-checked ${ke}-loading-icon`]:{color:He.switchColor}}}},kt=He=>{const{componentCls:ke,trackPadding:Nt,handleBg:De,handleShadow:ve,handleSize:At,calc:Gt}=He,Wt=`${ke}-handle`;return{[ke]:{[Wt]:{position:"absolute",top:Nt,insetInlineStart:Nt,width:At,height:At,transition:`all ${He.switchDuration} ease-in-out`,"&::before":{position:"absolute",top:0,insetInlineEnd:0,bottom:0,insetInlineStart:0,backgroundColor:De,borderRadius:Gt(At).div(2).equal(),boxShadow:ve,transition:`all ${He.switchDuration} ease-in-out`,content:'""'}},[`&${ke}-checked ${Wt}`]:{insetInlineStart:`calc(100% - ${(0,ot.unit)(Gt(At).add(Nt).equal())})`},[`&:not(${ke}-disabled):active`]:{[`${Wt}::before`]:{insetInlineEnd:He.switchHandleActiveInset,insetInlineStart:0},[`&${ke}-checked ${Wt}::before`]:{insetInlineEnd:0,insetInlineStart:He.switchHandleActiveInset}}}}},Qe=He=>{const{componentCls:ke,trackHeight:Nt,trackPadding:De,innerMinMargin:ve,innerMaxMargin:At,handleSize:Gt,calc:Wt}=He,pe=`${ke}-inner`,Re=(0,ot.unit)(Wt(Gt).add(Wt(De).mul(2)).equal()),Ue=(0,ot.unit)(Wt(At).mul(2).equal());return{[ke]:{[pe]:{display:"block",overflow:"hidden",borderRadius:100,height:"100%",paddingInlineStart:At,paddingInlineEnd:ve,transition:`padding-inline-start ${He.switchDuration} ease-in-out, padding-inline-end ${He.switchDuration} ease-in-out`,[`${pe}-checked, ${pe}-unchecked`]:{display:"block",color:He.colorTextLightSolid,fontSize:He.fontSizeSM,transition:`margin-inline-start ${He.switchDuration} ease-in-out, margin-inline-end ${He.switchDuration} ease-in-out`,pointerEvents:"none",minHeight:Nt},[`${pe}-checked`]:{marginInlineStart:`calc(-100% + ${Re} - ${Ue})`,marginInlineEnd:`calc(100% - ${Re} + ${Ue})`},[`${pe}-unchecked`]:{marginTop:Wt(Nt).mul(-1).equal(),marginInlineStart:0,marginInlineEnd:0}},[`&${ke}-checked ${pe}`]:{paddingInlineStart:ve,paddingInlineEnd:At,[`${pe}-checked`]:{marginInlineStart:0,marginInlineEnd:0},[`${pe}-unchecked`]:{marginInlineStart:`calc(100% - ${Re} + ${Ue})`,marginInlineEnd:`calc(-100% + ${Re} - ${Ue})`}},[`&:not(${ke}-disabled):active`]:{[`&:not(${ke}-checked) ${pe}`]:{[`${pe}-unchecked`]:{marginInlineStart:Wt(De).mul(2).equal(),marginInlineEnd:Wt(De).mul(-1).mul(2).equal()}},[`&${ke}-checked ${pe}`]:{[`${pe}-checked`]:{marginInlineStart:Wt(De).mul(-1).mul(2).equal(),marginInlineEnd:Wt(De).mul(2).equal()}}}}}},ut=He=>{const{componentCls:ke,trackHeight:Nt,trackMinWidth:De}=He;return{[ke]:Object.assign(Object.assign(Object.assign(Object.assign({},(0,Ut.Wf)(He)),{position:"relative",display:"inline-block",boxSizing:"border-box",minWidth:De,height:Nt,lineHeight:(0,ot.unit)(Nt),verticalAlign:"middle",background:He.colorTextQuaternary,border:"0",borderRadius:100,cursor:"pointer",transition:`all ${He.motionDurationMid}`,userSelect:"none",[`&:hover:not(${ke}-disabled)`]:{background:He.colorTextTertiary}}),(0,Ut.Qy)(He)),{[`&${ke}-checked`]:{background:He.switchColor,[`&:hover:not(${ke}-disabled)`]:{background:He.colorPrimaryHover}},[`&${ke}-loading, &${ke}-disabled`]:{cursor:"not-allowed",opacity:He.switchDisabledOpacity,"*":{boxShadow:"none",cursor:"not-allowed"}},[`&${ke}-rtl`]:{direction:"rtl"}})}},dt=He=>{const{fontSize:ke,lineHeight:Nt,controlHeight:De,colorWhite:ve}=He,At=ke*Nt,Gt=De/2,Wt=2,pe=At-Wt*2,Re=Gt-Wt*2;return{trackHeight:At,trackHeightSM:Gt,trackMinWidth:pe*2+Wt*4,trackMinWidthSM:Re*2+Wt*2,trackPadding:Wt,handleBg:ve,handleSize:pe,handleSizeSM:Re,handleShadow:`0 2px 4px 0 ${new Mt.FastColor("#00230b").setA(.2).toRgbString()}`,innerMinMargin:pe/2,innerMaxMargin:pe+Wt+Wt*2,innerMinMarginSM:Re/2,innerMaxMarginSM:Re+Wt+Wt*2}};var Fe=(0,se.I$)("Switch",He=>{const ke=(0,Me.mergeToken)(He,{switchDuration:He.motionDurationMid,switchColor:He.colorPrimary,switchDisabledOpacity:He.opacityLoading,switchLoadingIconSize:He.calc(He.fontSizeIcon).mul(.75).equal(),switchLoadingIconColor:`rgba(0, 0, 0, ${He.opacityLoading})`,switchHandleActiveInset:"-30%"});return[ut(ke),Qe(ke),kt(ke),mt(ke),st(ke)]},dt),Ze=function(He,ke){var Nt={};for(var De in He)Object.prototype.hasOwnProperty.call(He,De)&&ke.indexOf(De)<0&&(Nt[De]=He[De]);if(He!=null&&typeof Object.getOwnPropertySymbols=="function")for(var ve=0,De=Object.getOwnPropertySymbols(He);ve<De.length;ve++)ke.indexOf(De[ve])<0&&Object.prototype.propertyIsEnumerable.call(He,De[ve])&&(Nt[De[ve]]=He[De[ve]]);return Nt};const ue=b.forwardRef((He,ke)=>{const{prefixCls:Nt,size:De,disabled:ve,loading:At,className:Gt,rootClassName:Wt,style:pe,checked:Re,value:Ue,defaultChecked:Jt,defaultValue:et,onChange:jt}=He,ct=Ze(He,["prefixCls","size","disabled","loading","className","rootClassName","style","checked","value","defaultChecked","defaultValue","onChange"]),[dn,bt]=(0,Be.Z)(!1,{value:Re!=null?Re:Ue,defaultValue:Jt!=null?Jt:et}),{getPrefixCls:le,direction:ne,switch:te}=b.useContext(tt.E_),ae=b.useContext(je.Z),he=(ve!=null?ve:ae)||At,re=le("switch",Nt),ce=b.createElement("div",{className:`${re}-handle`},At&&b.createElement(Ce.Z,{className:`${re}-loading-icon`})),[Pe,lt,$e]=Fe(re),Ie=(0,We.Z)(De),ht=rt()(te==null?void 0:te.className,{[`${re}-small`]:Ie==="small",[`${re}-loading`]:At,[`${re}-rtl`]:ne==="rtl"},Gt,Wt,lt,$e),Et=Object.assign(Object.assign({},te==null?void 0:te.style),pe),Rt=function(){bt(arguments.length<=0?void 0:arguments[0]),jt==null||jt.apply(void 0,arguments)};return Pe(b.createElement(Je.Z,{component:"Switch"},b.createElement(vt,Object.assign({},ct,{checked:dn,onChange:Rt,prefixCls:re,className:ht,style:Et,disabled:he,ref:ke,loadingIcon:ce}))))});ue.__ANT_SWITCH=!0;var gt=ue},70858:function(Yn,mn,z){"use strict";z.d(mn,{default:function(){return Mi}});var b=z(59301),Ce={},de="rc-table-internal-hook",rt=z(72190),Oe=z(6089),xe=z(34280),Ae=z(13697),Ve=z(4676);function Be(ye){var ge=b.createContext(void 0),at=function($t){var an=$t.value,An=$t.children,En=b.useRef(an);En.current=an;var Mn=b.useState(function(){return{getValue:function(){return En.current},listeners:new Set}}),Nn=(0,rt.Z)(Mn,1),ir=Nn[0];return(0,xe.Z)(function(){(0,Ve.unstable_batchedUpdates)(function(){ir.listeners.forEach(function(tr){tr(an)})})},[an]),b.createElement(ge.Provider,{value:ir},An)};return{Context:ge,Provider:at,defaultValue:ye}}function fe(ye,ge){var at=(0,Oe.Z)(typeof ge=="function"?ge:function(tr){if(ge===void 0)return tr;if(!Array.isArray(ge))return tr[ge];var Qn={};return ge.forEach(function(Kn){Qn[Kn]=tr[Kn]}),Qn}),wt=b.useContext(ye==null?void 0:ye.Context),$t=wt||{},an=$t.listeners,An=$t.getValue,En=b.useRef();En.current=at(wt?An():ye==null?void 0:ye.defaultValue);var Mn=b.useState({}),Nn=(0,rt.Z)(Mn,2),ir=Nn[1];return(0,xe.Z)(function(){if(!wt)return;function tr(Qn){var Kn=at(Qn);(0,Ae.Z)(En.current,Kn,!0)||ir({})}return an.add(tr),function(){an.delete(tr)}},[wt]),En.current}var Ge=z(60499),be=z(8654);function vt(){var ye=b.createContext(null);function ge(){return b.useContext(ye)}function at($t,an){var An=(0,be.Yr)($t),En=function(Nn,ir){var tr=An?{ref:ir}:{},Qn=b.useRef(0),Kn=b.useRef(Nn),Hn=ge();return Hn!==null?b.createElement($t,(0,Ge.Z)({},Nn,tr)):((!an||an(Kn.current,Nn))&&(Qn.current+=1),Kn.current=Nn,b.createElement(ye.Provider,{value:Qn.current},b.createElement($t,(0,Ge.Z)({},Nn,tr))))};return An?b.forwardRef(En):En}function wt($t,an){var An=(0,be.Yr)($t),En=function(Nn,ir){var tr=An?{ref:ir}:{};return ge(),b.createElement($t,(0,Ge.Z)({},Nn,tr))};return An?b.memo(b.forwardRef(En),an):b.memo(En,an)}return{makeImmutable:at,responseImmutable:wt,useImmutableMark:ge}}var Je=vt(),tt=Je.makeImmutable,je=Je.responseImmutable,We=Je.useImmutableMark,ot=vt(),Mt=ot.makeImmutable,Ut=ot.responseImmutable,se=ot.useImmutableMark,Me=Be(),st=Me;function mt(ye,ge){var at=React.useRef(0);at.current+=1;var wt=React.useRef(ye),$t=[];Object.keys(ye||{}).map(function(An){var En;(ye==null?void 0:ye[An])!==((En=wt.current)===null||En===void 0?void 0:En[An])&&$t.push(An)}),wt.current=ye;var an=React.useRef([]);return $t.length&&(an.current=$t),React.useDebugValue(at.current),React.useDebugValue(an.current.join(", ")),ge&&console.log("".concat(ge,":"),at.current,an.current),at.current}var kt=null,Qe=null,ut=z(43749),dt=z(85899),Fe=z(18642),Ze=z(92310),Se=z.n(Ze),ue=z(80547),gt=z(97938),He=z(48736),ke=b.createContext({renderWithProps:!1}),Nt=ke,De="RC_TABLE_KEY";function ve(ye){return ye==null?[]:Array.isArray(ye)?ye:[ye]}function At(ye){var ge=[],at={};return ye.forEach(function(wt){for(var $t=wt||{},an=$t.key,An=$t.dataIndex,En=an||ve(An).join("-")||De;at[En];)En="".concat(En,"_next");at[En]=!0,ge.push(En)}),ge}function Gt(ye){return ye!=null}function Wt(ye){return typeof ye=="number"&&!Number.isNaN(ye)}function pe(ye){return ye&&(0,ut.Z)(ye)==="object"&&!Array.isArray(ye)&&!b.isValidElement(ye)}function Re(ye,ge,at,wt,$t,an){var An=b.useContext(Nt),En=se(),Mn=(0,ue.Z)(function(){if(Gt(wt))return[wt];var Nn=ge==null||ge===""?[]:Array.isArray(ge)?ge:[ge],ir=(0,gt.Z)(ye,Nn),tr=ir,Qn=void 0;if($t){var Kn=$t(ir,ye,at);pe(Kn)?(tr=Kn.children,Qn=Kn.props,An.renderWithProps=!0):tr=Kn}return[tr,Qn]},[En,ye,wt,ge,$t,at],function(Nn,ir){if(an){var tr=(0,rt.Z)(Nn,2),Qn=tr[1],Kn=(0,rt.Z)(ir,2),Hn=Kn[1];return an(Hn,Qn)}return An.renderWithProps?!0:!(0,Ae.Z)(Nn,ir,!0)});return Mn}function Ue(ye,ge,at,wt){var $t=ye+ge-1;return ye<=wt&&$t>=at}function Jt(ye,ge){return fe(st,function(at){var wt=Ue(ye,ge||1,at.hoverStartRow,at.hoverEndRow);return[wt,at.onHover]})}var et=z(70425),jt=function(ge){var at=ge.ellipsis,wt=ge.rowType,$t=ge.children,an,An=at===!0?{showTitle:!0}:at;return An&&(An.showTitle||wt==="header")&&(typeof $t=="string"||typeof $t=="number"?an=$t.toString():b.isValidElement($t)&&typeof $t.props.children=="string"&&(an=$t.props.children)),an};function ct(ye){var ge,at,wt,$t,an,An,En,Mn,Nn=ye.component,ir=ye.children,tr=ye.ellipsis,Qn=ye.scope,Kn=ye.prefixCls,Hn=ye.className,Or=ye.align,cr=ye.record,Hr=ye.render,Nr=ye.dataIndex,_r=ye.renderIndex,Wr=ye.shouldCellUpdate,Yr=ye.index,ao=ye.rowType,po=ye.colSpan,xo=ye.rowSpan,$o=ye.fixLeft,Gr=ye.fixRight,jr=ye.firstFixLeft,oo=ye.lastFixLeft,Sr=ye.firstFixRight,xr=ye.lastFixRight,to=ye.appendNode,go=ye.additionalProps,Do=go===void 0?{}:go,Jo=ye.isSticky,Co="".concat(Kn,"-cell"),Fi=fe(st,["supportSticky","allColumnsFixedLeft","rowHoverable"]),wi=Fi.supportSticky,ca=Fi.allColumnsFixedLeft,$i=Fi.rowHoverable,ia=Re(cr,Nr,_r,ir,Hr,Wr),ma=(0,rt.Z)(ia,2),ga=ma[0],Ti=ma[1],ki={},Ia=typeof $o=="number"&&wi,Na=typeof Gr=="number"&&wi;Ia&&(ki.position="sticky",ki.left=$o),Na&&(ki.position="sticky",ki.right=Gr);var oi=(ge=(at=(wt=Ti==null?void 0:Ti.colSpan)!==null&&wt!==void 0?wt:Do.colSpan)!==null&&at!==void 0?at:po)!==null&&ge!==void 0?ge:1,Ai=($t=(an=(An=Ti==null?void 0:Ti.rowSpan)!==null&&An!==void 0?An:Do.rowSpan)!==null&&an!==void 0?an:xo)!==null&&$t!==void 0?$t:1,ti=Jt(Yr,Ai),Ho=(0,rt.Z)(ti,2),ji=Ho[0],Ji=Ho[1],ya=(0,et.zX)(function(aa){var la;cr&&Ji(Yr,Yr+Ai-1),Do==null||(la=Do.onMouseEnter)===null||la===void 0||la.call(Do,aa)}),qi=(0,et.zX)(function(aa){var la;cr&&Ji(-1,-1),Do==null||(la=Do.onMouseLeave)===null||la===void 0||la.call(Do,aa)});if(oi===0||Ai===0)return null;var ka=(En=Do.title)!==null&&En!==void 0?En:jt({rowType:ao,ellipsis:tr,children:ga}),Sa=Se()(Co,Hn,(Mn={},(0,Fe.Z)((0,Fe.Z)((0,Fe.Z)((0,Fe.Z)((0,Fe.Z)((0,Fe.Z)((0,Fe.Z)((0,Fe.Z)((0,Fe.Z)((0,Fe.Z)(Mn,"".concat(Co,"-fix-left"),Ia&&wi),"".concat(Co,"-fix-left-first"),jr&&wi),"".concat(Co,"-fix-left-last"),oo&&wi),"".concat(Co,"-fix-left-all"),oo&&ca&&wi),"".concat(Co,"-fix-right"),Na&&wi),"".concat(Co,"-fix-right-first"),Sr&&wi),"".concat(Co,"-fix-right-last"),xr&&wi),"".concat(Co,"-ellipsis"),tr),"".concat(Co,"-with-append"),to),"".concat(Co,"-fix-sticky"),(Ia||Na)&&Jo&&wi),(0,Fe.Z)(Mn,"".concat(Co,"-row-hover"),!Ti&&ji)),Do.className,Ti==null?void 0:Ti.className),ui={};Or&&(ui.textAlign=Or);var gi=(0,dt.Z)((0,dt.Z)((0,dt.Z)((0,dt.Z)({},Ti==null?void 0:Ti.style),ki),ui),Do.style),ea=ga;return(0,ut.Z)(ea)==="object"&&!Array.isArray(ea)&&!b.isValidElement(ea)&&(ea=null),tr&&(oo||Sr)&&(ea=b.createElement("span",{className:"".concat(Co,"-content")},ea)),b.createElement(Nn,(0,Ge.Z)({},Ti,Do,{className:Sa,style:gi,title:ka,scope:Qn,onMouseEnter:$i?ya:void 0,onMouseLeave:$i?qi:void 0,colSpan:oi!==1?oi:null,rowSpan:Ai!==1?Ai:null}),to,ea)}var dn=b.memo(ct);function bt(ye,ge,at,wt,$t){var an=at[ye]||{},An=at[ge]||{},En,Mn;an.fixed==="left"?En=wt.left[$t==="rtl"?ge:ye]:An.fixed==="right"&&(Mn=wt.right[$t==="rtl"?ye:ge]);var Nn=!1,ir=!1,tr=!1,Qn=!1,Kn=at[ge+1],Hn=at[ye-1],Or=Kn&&!Kn.fixed||Hn&&!Hn.fixed||at.every(function(Wr){return Wr.fixed==="left"});if($t==="rtl"){if(En!==void 0){var cr=Hn&&Hn.fixed==="left";Qn=!cr&&Or}else if(Mn!==void 0){var Hr=Kn&&Kn.fixed==="right";tr=!Hr&&Or}}else if(En!==void 0){var Nr=Kn&&Kn.fixed==="left";Nn=!Nr&&Or}else if(Mn!==void 0){var _r=Hn&&Hn.fixed==="right";ir=!_r&&Or}return{fixLeft:En,fixRight:Mn,lastFixLeft:Nn,firstFixRight:ir,lastFixRight:tr,firstFixLeft:Qn,isSticky:wt.isSticky}}var le=b.createContext({}),ne=le;function te(ye){var ge=ye.className,at=ye.index,wt=ye.children,$t=ye.colSpan,an=$t===void 0?1:$t,An=ye.rowSpan,En=ye.align,Mn=fe(st,["prefixCls","direction"]),Nn=Mn.prefixCls,ir=Mn.direction,tr=b.useContext(ne),Qn=tr.scrollColumnIndex,Kn=tr.stickyOffsets,Hn=tr.flattenColumns,Or=at+an-1,cr=Or+1===Qn?an+1:an,Hr=bt(at,at+cr-1,Hn,Kn,ir);return b.createElement(dn,(0,Ge.Z)({className:ge,index:at,component:"td",prefixCls:Nn,record:null,dataIndex:null,align:En,colSpan:cr,rowSpan:An,render:function(){return wt}},Hr))}var ae=z(42244),he=["children"];function re(ye){var ge=ye.children,at=(0,ae.Z)(ye,he);return b.createElement("tr",at,ge)}function ce(ye){var ge=ye.children;return ge}ce.Row=re,ce.Cell=te;var Pe=ce;function lt(ye){var ge=ye.children,at=ye.stickyOffsets,wt=ye.flattenColumns,$t=fe(st,"prefixCls"),an=wt.length-1,An=wt[an],En=b.useMemo(function(){return{stickyOffsets:at,flattenColumns:wt,scrollColumnIndex:An!=null&&An.scrollbar?an:null}},[An,wt,an,at]);return b.createElement(ne.Provider,{value:En},b.createElement("tfoot",{className:"".concat($t,"-summary")},ge))}var $e=Ut(lt),Ie=Pe,ht=z(29301),Et=z(24514),Rt=z(75152),Te=z(26112);function Ke(ye,ge,at,wt,$t,an,An){ye.push({record:ge,indent:at,index:An});var En=an(ge),Mn=$t==null?void 0:$t.has(En);if(ge&&Array.isArray(ge[wt])&&Mn)for(var Nn=0;Nn<ge[wt].length;Nn+=1)Ke(ye,ge[wt][Nn],at+1,wt,$t,an,Nn)}function yn(ye,ge,at,wt){var $t=b.useMemo(function(){if(at!=null&&at.size){for(var an=[],An=0;An<(ye==null?void 0:ye.length);An+=1){var En=ye[An];Ke(an,En,0,ge,at,wt,An)}return an}return ye==null?void 0:ye.map(function(Mn,Nn){return{record:Mn,indent:0,index:Nn}})},[ye,ge,at,wt]);return $t}function Ht(ye,ge,at,wt){var $t=fe(st,["prefixCls","fixedInfoList","flattenColumns","expandableType","expandRowByClick","onTriggerExpand","rowClassName","expandedRowClassName","indentSize","expandIcon","expandedRowRender","expandIconColumnIndex","expandedKeys","childrenColumnName","rowExpandable","onRow"]),an=$t.flattenColumns,An=$t.expandableType,En=$t.expandedKeys,Mn=$t.childrenColumnName,Nn=$t.onTriggerExpand,ir=$t.rowExpandable,tr=$t.onRow,Qn=$t.expandRowByClick,Kn=$t.rowClassName,Hn=An==="nest",Or=An==="row"&&(!ir||ir(ye)),cr=Or||Hn,Hr=En&&En.has(ge),Nr=Mn&&ye&&ye[Mn],_r=(0,et.zX)(Nn),Wr=tr==null?void 0:tr(ye,at),Yr=Wr==null?void 0:Wr.onClick,ao=function(Gr){Qn&&cr&&Nn(ye,Gr);for(var jr=arguments.length,oo=new Array(jr>1?jr-1:0),Sr=1;Sr<jr;Sr++)oo[Sr-1]=arguments[Sr];Yr==null||Yr.apply(void 0,[Gr].concat(oo))},po;typeof Kn=="string"?po=Kn:typeof Kn=="function"&&(po=Kn(ye,at,wt));var xo=At(an);return(0,dt.Z)((0,dt.Z)({},$t),{},{columnsKey:xo,nestExpandable:Hn,expanded:Hr,hasNestChildren:Nr,record:ye,onTriggerExpand:_r,rowSupportExpand:Or,expandable:cr,rowProps:(0,dt.Z)((0,dt.Z)({},Wr),{},{className:Se()(po,Wr==null?void 0:Wr.className),onClick:ao})})}function bn(ye){var ge=ye.prefixCls,at=ye.children,wt=ye.component,$t=ye.cellComponent,an=ye.className,An=ye.expanded,En=ye.colSpan,Mn=ye.isEmpty,Nn=fe(st,["scrollbarSize","fixHeader","fixColumn","componentWidth","horizonScroll"]),ir=Nn.scrollbarSize,tr=Nn.fixHeader,Qn=Nn.fixColumn,Kn=Nn.componentWidth,Hn=Nn.horizonScroll,Or=at;return(Mn?Hn&&Kn:Qn)&&(Or=b.createElement("div",{style:{width:Kn-(tr&&!Mn?ir:0),position:"sticky",left:0,overflow:"hidden"},className:"".concat(ge,"-expanded-row-fixed")},Or)),b.createElement(wt,{className:an,style:{display:An?null:"none"}},b.createElement(dn,{component:$t,prefixCls:ge,colSpan:En},Or))}var fn=bn;function Xt(ye){var ge=ye.prefixCls,at=ye.record,wt=ye.onExpand,$t=ye.expanded,an=ye.expandable,An="".concat(ge,"-row-expand-icon");if(!an)return b.createElement("span",{className:Se()(An,"".concat(ge,"-row-spaced"))});var En=function(Nn){wt(at,Nn),Nn.stopPropagation()};return b.createElement("span",{className:Se()(An,(0,Fe.Z)((0,Fe.Z)({},"".concat(ge,"-row-expanded"),$t),"".concat(ge,"-row-collapsed"),!$t)),onClick:En})}function on(ye,ge,at){var wt=[];function $t(an){(an||[]).forEach(function(An,En){wt.push(ge(An,En)),$t(An[at])})}return $t(ye),wt}function gn(ye,ge,at,wt){return typeof ye=="string"?ye:typeof ye=="function"?ye(ge,at,wt):""}function ft(ye,ge,at,wt,$t){var an=ye.record,An=ye.prefixCls,En=ye.columnsKey,Mn=ye.fixedInfoList,Nn=ye.expandIconColumnIndex,ir=ye.nestExpandable,tr=ye.indentSize,Qn=ye.expandIcon,Kn=ye.expanded,Hn=ye.hasNestChildren,Or=ye.onTriggerExpand,cr=En[at],Hr=Mn[at],Nr;at===(Nn||0)&&ir&&(Nr=b.createElement(b.Fragment,null,b.createElement("span",{style:{paddingLeft:"".concat(tr*wt,"px")},className:"".concat(An,"-row-indent indent-level-").concat(wt)}),Qn({prefixCls:An,expanded:Kn,expandable:Hn,record:an,onExpand:Or})));var _r;return ge.onCell&&(_r=ge.onCell(an,$t)),{key:cr,fixedInfo:Hr,appendCellNode:Nr,additionalCellProps:_r||{}}}function Yt(ye){var ge=ye.className,at=ye.style,wt=ye.record,$t=ye.index,an=ye.renderIndex,An=ye.rowKey,En=ye.indent,Mn=En===void 0?0:En,Nn=ye.rowComponent,ir=ye.cellComponent,tr=ye.scopeCellComponent,Qn=Ht(wt,An,$t,Mn),Kn=Qn.prefixCls,Hn=Qn.flattenColumns,Or=Qn.expandedRowClassName,cr=Qn.expandedRowRender,Hr=Qn.rowProps,Nr=Qn.expanded,_r=Qn.rowSupportExpand,Wr=b.useRef(!1);Wr.current||(Wr.current=Nr);var Yr=gn(Or,wt,$t,Mn),ao=b.createElement(Nn,(0,Ge.Z)({},Hr,{"data-row-key":An,className:Se()(ge,"".concat(Kn,"-row"),"".concat(Kn,"-row-level-").concat(Mn),Hr==null?void 0:Hr.className,(0,Fe.Z)({},Yr,Mn>=1)),style:(0,dt.Z)((0,dt.Z)({},at),Hr==null?void 0:Hr.style)}),Hn.map(function($o,Gr){var jr=$o.render,oo=$o.dataIndex,Sr=$o.className,xr=ft(Qn,$o,Gr,Mn,$t),to=xr.key,go=xr.fixedInfo,Do=xr.appendCellNode,Jo=xr.additionalCellProps;return b.createElement(dn,(0,Ge.Z)({className:Sr,ellipsis:$o.ellipsis,align:$o.align,scope:$o.rowScope,component:$o.rowScope?tr:ir,prefixCls:Kn,key:to,record:wt,index:$t,renderIndex:an,dataIndex:oo,render:jr,shouldCellUpdate:$o.shouldCellUpdate},go,{appendNode:Do,additionalProps:Jo}))})),po;if(_r&&(Wr.current||Nr)){var xo=cr(wt,$t,Mn+1,Nr);po=b.createElement(fn,{expanded:Nr,className:Se()("".concat(Kn,"-expanded-row"),"".concat(Kn,"-expanded-row-level-").concat(Mn+1),Yr),prefixCls:Kn,component:Nn,cellComponent:ir,colSpan:Hn.length,isEmpty:!1},xo)}return b.createElement(b.Fragment,null,ao,po)}var xn=Ut(Yt);function St(ye){var ge=ye.columnKey,at=ye.onColumnResize,wt=b.useRef();return(0,xe.Z)(function(){wt.current&&at(ge,wt.current.offsetWidth)},[]),b.createElement(ht.Z,{data:ge},b.createElement("td",{ref:wt,style:{padding:0,border:0,height:0}},b.createElement("div",{style:{height:0,overflow:"hidden"}},"\xA0")))}var _e=z(29194);function Vt(ye){var ge=ye.prefixCls,at=ye.columnsKey,wt=ye.onColumnResize,$t=b.useRef(null);return b.createElement("tr",{"aria-hidden":"true",className:"".concat(ge,"-measure-row"),style:{height:0,fontSize:0},ref:$t},b.createElement(ht.Z.Collection,{onBatchResize:function(An){(0,_e.Z)($t.current)&&An.forEach(function(En){var Mn=En.data,Nn=En.size;wt(Mn,Nn.offsetWidth)})}},at.map(function(an){return b.createElement(St,{key:an,columnKey:an,onColumnResize:wt})})))}function tn(ye){var ge=ye.data,at=ye.measureColumnWidth,wt=fe(st,["prefixCls","getComponent","onColumnResize","flattenColumns","getRowKey","expandedKeys","childrenColumnName","emptyNode"]),$t=wt.prefixCls,an=wt.getComponent,An=wt.onColumnResize,En=wt.flattenColumns,Mn=wt.getRowKey,Nn=wt.expandedKeys,ir=wt.childrenColumnName,tr=wt.emptyNode,Qn=yn(ge,ir,Nn,Mn),Kn=b.useRef({renderWithProps:!1}),Hn=an(["body","wrapper"],"tbody"),Or=an(["body","row"],"tr"),cr=an(["body","cell"],"td"),Hr=an(["body","cell"],"th"),Nr;ge.length?Nr=Qn.map(function(Wr,Yr){var ao=Wr.record,po=Wr.indent,xo=Wr.index,$o=Mn(ao,Yr);return b.createElement(xn,{key:$o,rowKey:$o,record:ao,index:Yr,renderIndex:xo,rowComponent:Or,cellComponent:cr,scopeCellComponent:Hr,indent:po})}):Nr=b.createElement(fn,{expanded:!0,className:"".concat($t,"-placeholder"),prefixCls:$t,component:Or,cellComponent:cr,colSpan:En.length,isEmpty:!0},tr);var _r=At(En);return b.createElement(Nt.Provider,{value:Kn.current},b.createElement(Hn,{className:"".concat($t,"-tbody")},at&&b.createElement(Vt,{prefixCls:$t,columnsKey:_r,onColumnResize:An}),Nr))}var un=Ut(tn),Tn=["expandable"],qn="RC_TABLE_INTERNAL_COL_DEFINE";function mr(ye){var ge=ye.expandable,at=(0,ae.Z)(ye,Tn),wt;return"expandable"in ye?wt=(0,dt.Z)((0,dt.Z)({},at),ge):wt=at,wt.showExpandColumn===!1&&(wt.expandIconColumnIndex=-1),wt}var vr=["columnType"];function Jn(ye){for(var ge=ye.colWidths,at=ye.columns,wt=ye.columCount,$t=fe(st,["tableLayout"]),an=$t.tableLayout,An=[],En=wt||at.length,Mn=!1,Nn=En-1;Nn>=0;Nn-=1){var ir=ge[Nn],tr=at&&at[Nn],Qn=void 0,Kn=void 0;if(tr&&(Qn=tr[qn],an==="auto"&&(Kn=tr.minWidth)),ir||Kn||Qn||Mn){var Hn=Qn||{},Or=Hn.columnType,cr=(0,ae.Z)(Hn,vr);An.unshift(b.createElement("col",(0,Ge.Z)({key:Nn,style:{width:ir,minWidth:Kn}},cr))),Mn=!0}}return b.createElement("colgroup",null,An)}var dr=Jn,_t=z(77654),zt=["className","noData","columns","flattenColumns","colWidths","columCount","stickyOffsets","direction","fixHeader","stickyTopOffset","stickyBottomOffset","stickyClassName","onScroll","maxContentScroll","children"];function Sn(ye,ge){return(0,b.useMemo)(function(){for(var at=[],wt=0;wt<ge;wt+=1){var $t=ye[wt];if($t!==void 0)at[wt]=$t;else return null}return at},[ye.join("_"),ge])}var wn=b.forwardRef(function(ye,ge){var at=ye.className,wt=ye.noData,$t=ye.columns,an=ye.flattenColumns,An=ye.colWidths,En=ye.columCount,Mn=ye.stickyOffsets,Nn=ye.direction,ir=ye.fixHeader,tr=ye.stickyTopOffset,Qn=ye.stickyBottomOffset,Kn=ye.stickyClassName,Hn=ye.onScroll,Or=ye.maxContentScroll,cr=ye.children,Hr=(0,ae.Z)(ye,zt),Nr=fe(st,["prefixCls","scrollbarSize","isSticky","getComponent"]),_r=Nr.prefixCls,Wr=Nr.scrollbarSize,Yr=Nr.isSticky,ao=Nr.getComponent,po=ao(["header","table"],"table"),xo=Yr&&!ir?0:Wr,$o=b.useRef(null),Gr=b.useCallback(function(Jo){(0,be.mH)(ge,Jo),(0,be.mH)($o,Jo)},[]);b.useEffect(function(){var Jo;function Co(Fi){var wi=Fi,ca=wi.currentTarget,$i=wi.deltaX;$i&&(Hn({currentTarget:ca,scrollLeft:ca.scrollLeft+$i}),Fi.preventDefault())}return(Jo=$o.current)===null||Jo===void 0||Jo.addEventListener("wheel",Co,{passive:!1}),function(){var Fi;(Fi=$o.current)===null||Fi===void 0||Fi.removeEventListener("wheel",Co)}},[]);var jr=b.useMemo(function(){return an.every(function(Jo){return Jo.width})},[an]),oo=an[an.length-1],Sr={fixed:oo?oo.fixed:null,scrollbar:!0,onHeaderCell:function(){return{className:"".concat(_r,"-cell-scrollbar")}}},xr=(0,b.useMemo)(function(){return xo?[].concat((0,_t.Z)($t),[Sr]):$t},[xo,$t]),to=(0,b.useMemo)(function(){return xo?[].concat((0,_t.Z)(an),[Sr]):an},[xo,an]),go=(0,b.useMemo)(function(){var Jo=Mn.right,Co=Mn.left;return(0,dt.Z)((0,dt.Z)({},Mn),{},{left:Nn==="rtl"?[].concat((0,_t.Z)(Co.map(function(Fi){return Fi+xo})),[0]):Co,right:Nn==="rtl"?Jo:[].concat((0,_t.Z)(Jo.map(function(Fi){return Fi+xo})),[0]),isSticky:Yr})},[xo,Mn,Yr]),Do=Sn(An,En);return b.createElement("div",{style:(0,dt.Z)({overflow:"hidden"},Yr?{top:tr,bottom:Qn}:{}),ref:Gr,className:Se()(at,(0,Fe.Z)({},Kn,!!Kn))},b.createElement(po,{style:{tableLayout:"fixed",visibility:wt||Do?null:"hidden"}},(!wt||!Or||jr)&&b.createElement(dr,{colWidths:Do?[].concat((0,_t.Z)(Do),[xo]):[],columCount:En+1,columns:to}),cr((0,dt.Z)((0,dt.Z)({},Hr),{},{stickyOffsets:go,columns:xr,flattenColumns:to}))))}),vn=b.memo(wn),Rn=function(ge){var at=ge.cells,wt=ge.stickyOffsets,$t=ge.flattenColumns,an=ge.rowComponent,An=ge.cellComponent,En=ge.onHeaderRow,Mn=ge.index,Nn=fe(st,["prefixCls","direction"]),ir=Nn.prefixCls,tr=Nn.direction,Qn;En&&(Qn=En(at.map(function(Hn){return Hn.column}),Mn));var Kn=At(at.map(function(Hn){return Hn.column}));return b.createElement(an,Qn,at.map(function(Hn,Or){var cr=Hn.column,Hr=bt(Hn.colStart,Hn.colEnd,$t,wt,tr),Nr;return cr&&cr.onHeaderCell&&(Nr=Hn.column.onHeaderCell(cr)),b.createElement(dn,(0,Ge.Z)({},Hn,{scope:cr.title?Hn.colSpan>1?"colgroup":"col":null,ellipsis:cr.ellipsis,align:cr.align,component:An,prefixCls:ir,key:Kn[Or]},Hr,{additionalProps:Nr,rowType:"header"}))}))},Bt=Rn;function ln(ye){var ge=[];function at(An,En){var Mn=arguments.length>2&&arguments[2]!==void 0?arguments[2]:0;ge[Mn]=ge[Mn]||[];var Nn=En,ir=An.filter(Boolean).map(function(tr){var Qn={key:tr.key,className:tr.className||"",children:tr.title,column:tr,colStart:Nn},Kn=1,Hn=tr.children;return Hn&&Hn.length>0&&(Kn=at(Hn,Nn,Mn+1).reduce(function(Or,cr){return Or+cr},0),Qn.hasSubColumns=!0),"colSpan"in tr&&(Kn=tr.colSpan),"rowSpan"in tr&&(Qn.rowSpan=tr.rowSpan),Qn.colSpan=Kn,Qn.colEnd=Qn.colStart+Kn-1,ge[Mn].push(Qn),Nn+=Kn,Kn});return ir}at(ye,0);for(var wt=ge.length,$t=function(En){ge[En].forEach(function(Mn){!("rowSpan"in Mn)&&!Mn.hasSubColumns&&(Mn.rowSpan=wt-En)})},an=0;an<wt;an+=1)$t(an);return ge}var Zt=function(ge){var at=ge.stickyOffsets,wt=ge.columns,$t=ge.flattenColumns,an=ge.onHeaderRow,An=fe(st,["prefixCls","getComponent"]),En=An.prefixCls,Mn=An.getComponent,Nn=b.useMemo(function(){return ln(wt)},[wt]),ir=Mn(["header","wrapper"],"thead"),tr=Mn(["header","row"],"tr"),Qn=Mn(["header","cell"],"th");return b.createElement(ir,{className:"".concat(En,"-thead")},Nn.map(function(Kn,Hn){var Or=b.createElement(Bt,{key:Hn,flattenColumns:$t,cells:Kn,stickyOffsets:at,rowComponent:tr,cellComponent:Qn,onHeaderRow:an,index:Hn});return Or}))},pn=Ut(Zt),cn=z(11592);function zn(ye){var ge=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";return typeof ge=="number"?ge:ge.endsWith("%")?ye*parseFloat(ge)/100:null}function Ln(ye,ge,at){return b.useMemo(function(){if(ge&&ge>0){var wt=0,$t=0;ye.forEach(function(Qn){var Kn=zn(ge,Qn.width);Kn?wt+=Kn:$t+=1});var an=Math.max(ge,at),An=Math.max(an-wt,$t),En=$t,Mn=An/$t,Nn=0,ir=ye.map(function(Qn){var Kn=(0,dt.Z)({},Qn),Hn=zn(ge,Kn.width);if(Hn)Kn.width=Hn;else{var Or=Math.floor(Mn);Kn.width=En===1?An:Or,An-=Or,En-=1}return Nn+=Kn.width,Kn});if(Nn<an){var tr=an/Nn;An=an,ir.forEach(function(Qn,Kn){var Hn=Math.floor(Qn.width*tr);Qn.width=Kn===ir.length-1?An:Hn,An-=Hn})}return[ir,Math.max(Nn,an)]}return[ye,ge]},[ye,ge,at])}var rr=["children"],_n=["fixed"];function rn(ye){return(0,cn.Z)(ye).filter(function(ge){return b.isValidElement(ge)}).map(function(ge){var at=ge.key,wt=ge.props,$t=wt.children,an=(0,ae.Z)(wt,rr),An=(0,dt.Z)({key:at},an);return $t&&(An.children=rn($t)),An})}function Fn(ye){return ye.filter(function(ge){return ge&&(0,ut.Z)(ge)==="object"&&!ge.hidden}).map(function(ge){var at=ge.children;return at&&at.length>0?(0,dt.Z)((0,dt.Z)({},ge),{},{children:Fn(at)}):ge})}function nn(ye){var ge=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"key";return ye.filter(function(at){return at&&(0,ut.Z)(at)==="object"}).reduce(function(at,wt,$t){var an=wt.fixed,An=an===!0?"left":an,En="".concat(ge,"-").concat($t),Mn=wt.children;return Mn&&Mn.length>0?[].concat((0,_t.Z)(at),(0,_t.Z)(nn(Mn,En).map(function(Nn){return(0,dt.Z)({fixed:An},Nn)}))):[].concat((0,_t.Z)(at),[(0,dt.Z)((0,dt.Z)({key:En},wt),{},{fixed:An})])},[])}function er(ye){return ye.map(function(ge){var at=ge.fixed,wt=(0,ae.Z)(ge,_n),$t=at;return at==="left"?$t="right":at==="right"&&($t="left"),(0,dt.Z)({fixed:$t},wt)})}function It(ye,ge){var at=ye.prefixCls,wt=ye.columns,$t=ye.children,an=ye.expandable,An=ye.expandedKeys,En=ye.columnTitle,Mn=ye.getRowKey,Nn=ye.onTriggerExpand,ir=ye.expandIcon,tr=ye.rowExpandable,Qn=ye.expandIconColumnIndex,Kn=ye.direction,Hn=ye.expandRowByClick,Or=ye.columnWidth,cr=ye.fixed,Hr=ye.scrollWidth,Nr=ye.clientWidth,_r=b.useMemo(function(){var oo=wt||rn($t)||[];return Fn(oo.slice())},[wt,$t]),Wr=b.useMemo(function(){if(an){var oo=_r.slice();if(!oo.includes(Ce)){var Sr=Qn||0;Sr>=0&&(Sr||cr==="left"||!cr)&&oo.splice(Sr,0,Ce),cr==="right"&&oo.splice(_r.length,0,Ce)}var xr=oo.indexOf(Ce);oo=oo.filter(function(Jo,Co){return Jo!==Ce||Co===xr});var to=_r[xr],go;cr?go=cr:go=to?to.fixed:null;var Do=(0,Fe.Z)((0,Fe.Z)((0,Fe.Z)((0,Fe.Z)((0,Fe.Z)((0,Fe.Z)({},qn,{className:"".concat(at,"-expand-icon-col"),columnType:"EXPAND_COLUMN"}),"title",En),"fixed",go),"className","".concat(at,"-row-expand-icon-cell")),"width",Or),"render",function(Co,Fi,wi){var ca=Mn(Fi,wi),$i=An.has(ca),ia=tr?tr(Fi):!0,ma=ir({prefixCls:at,expanded:$i,expandable:ia,record:Fi,onExpand:Nn});return Hn?b.createElement("span",{onClick:function(Ti){return Ti.stopPropagation()}},ma):ma});return oo.map(function(Jo){return Jo===Ce?Do:Jo})}return _r.filter(function(Jo){return Jo!==Ce})},[an,_r,Mn,An,ir,Kn]),Yr=b.useMemo(function(){var oo=Wr;return ge&&(oo=ge(oo)),oo.length||(oo=[{render:function(){return null}}]),oo},[ge,Wr,Kn]),ao=b.useMemo(function(){return Kn==="rtl"?er(nn(Yr)):nn(Yr)},[Yr,Kn,Hr]),po=b.useMemo(function(){for(var oo=-1,Sr=ao.length-1;Sr>=0;Sr-=1){var xr=ao[Sr].fixed;if(xr==="left"||xr===!0){oo=Sr;break}}if(oo>=0)for(var to=0;to<=oo;to+=1){var go=ao[to].fixed;if(go!=="left"&&go!==!0)return!0}var Do=ao.findIndex(function(Fi){var wi=Fi.fixed;return wi==="right"});if(Do>=0)for(var Jo=Do;Jo<ao.length;Jo+=1){var Co=ao[Jo].fixed;if(Co!=="right")return!0}return!1},[ao]),xo=Ln(ao,Hr,Nr),$o=(0,rt.Z)(xo,2),Gr=$o[0],jr=$o[1];return[Yr,Gr,jr,po]}var Qt=It;function ze(ye,ge,at){var wt=mr(ye),$t=wt.expandIcon,an=wt.expandedRowKeys,An=wt.defaultExpandedRowKeys,En=wt.defaultExpandAllRows,Mn=wt.expandedRowRender,Nn=wt.onExpand,ir=wt.onExpandedRowsChange,tr=wt.childrenColumnName,Qn=$t||Xt,Kn=tr||"children",Hn=b.useMemo(function(){return Mn?"row":ye.expandable&&ye.internalHooks===de&&ye.expandable.__PARENT_RENDER_ICON__||ge.some(function(Yr){return Yr&&(0,ut.Z)(Yr)==="object"&&Yr[Kn]})?"nest":!1},[!!Mn,ge]),Or=b.useState(function(){return An||(En?on(ge,at,Kn):[])}),cr=(0,rt.Z)(Or,2),Hr=cr[0],Nr=cr[1],_r=b.useMemo(function(){return new Set(an||Hr||[])},[an,Hr]),Wr=b.useCallback(function(Yr){var ao=at(Yr,ge.indexOf(Yr)),po,xo=_r.has(ao);xo?(_r.delete(ao),po=(0,_t.Z)(_r)):po=[].concat((0,_t.Z)(_r),[ao]),Nr(po),Nn&&Nn(!xo,Yr),ir&&ir(po)},[at,_r,ge,Nn,ir]);return[wt,Hn,_r,Qn,Kn,Wr]}function yt(ye,ge,at){var wt=ye.map(function($t,an){return bt(an,an,ye,ge,at)});return(0,ue.Z)(function(){return wt},[wt],function($t,an){return!(0,Ae.Z)($t,an)})}function Ye(ye){var ge=(0,b.useRef)(ye),at=(0,b.useState)({}),wt=(0,rt.Z)(at,2),$t=wt[1],an=(0,b.useRef)(null),An=(0,b.useRef)([]);function En(Mn){An.current.push(Mn);var Nn=Promise.resolve();an.current=Nn,Nn.then(function(){if(an.current===Nn){var ir=An.current,tr=ge.current;An.current=[],ir.forEach(function(Qn){ge.current=Qn(ge.current)}),an.current=null,tr!==ge.current&&$t({})}})}return(0,b.useEffect)(function(){return function(){an.current=null}},[]),[ge.current,En]}function Ct(ye){var ge=(0,b.useRef)(ye||null),at=(0,b.useRef)();function wt(){window.clearTimeout(at.current)}function $t(An){ge.current=An,wt(),at.current=window.setTimeout(function(){ge.current=null,at.current=void 0},100)}function an(){return ge.current}return(0,b.useEffect)(function(){return wt},[]),[$t,an]}function qt(){var ye=b.useState(-1),ge=(0,rt.Z)(ye,2),at=ge[0],wt=ge[1],$t=b.useState(-1),an=(0,rt.Z)($t,2),An=an[0],En=an[1],Mn=b.useCallback(function(Nn,ir){wt(Nn),En(ir)},[]);return[at,An,Mn]}var nr=z(47273),ar=(0,nr.Z)()?window:null;function pt(ye,ge){var at=(0,ut.Z)(ye)==="object"?ye:{},wt=at.offsetHeader,$t=wt===void 0?0:wt,an=at.offsetSummary,An=an===void 0?0:an,En=at.offsetScroll,Mn=En===void 0?0:En,Nn=at.getContainer,ir=Nn===void 0?function(){return ar}:Nn,tr=ir()||ar,Qn=!!ye;return b.useMemo(function(){return{isSticky:Qn,stickyClassName:Qn?"".concat(ge,"-sticky-holder"):"",offsetHeader:$t,offsetSummary:An,offsetScroll:Mn,container:tr}},[Qn,Mn,$t,An,ge,tr])}function xt(ye,ge,at){var wt=(0,b.useMemo)(function(){var $t=ge.length,an=function(Nn,ir,tr){for(var Qn=[],Kn=0,Hn=Nn;Hn!==ir;Hn+=tr)Qn.push(Kn),ge[Hn].fixed&&(Kn+=ye[Hn]||0);return Qn},An=an(0,$t,1),En=an($t-1,-1,-1).reverse();return at==="rtl"?{left:En,right:An}:{left:An,right:En}},[ye,ge,at]);return wt}var Pt=xt;function Kt(ye){var ge=ye.className,at=ye.children;return b.createElement("div",{className:ge},at)}var In=Kt,Zn=z(8224),kn=z(16089),Un=z(76846);function pr(ye){var ge=(0,Un.bn)(ye),at=ge.getBoundingClientRect(),wt=document.documentElement;return{left:at.left+(window.pageXOffset||wt.scrollLeft)-(wt.clientLeft||document.body.clientLeft||0),top:at.top+(window.pageYOffset||wt.scrollTop)-(wt.clientTop||document.body.clientTop||0)}}var Ar=function(ge,at){var wt,$t,an=ge.scrollBodyRef,An=ge.onScroll,En=ge.offsetScroll,Mn=ge.container,Nn=ge.direction,ir=fe(st,"prefixCls"),tr=((wt=an.current)===null||wt===void 0?void 0:wt.scrollWidth)||0,Qn=(($t=an.current)===null||$t===void 0?void 0:$t.clientWidth)||0,Kn=tr&&Qn*(Qn/tr),Hn=b.useRef(),Or=Ye({scrollLeft:0,isHiddenScrollBar:!0}),cr=(0,rt.Z)(Or,2),Hr=cr[0],Nr=cr[1],_r=b.useRef({delta:0,x:0}),Wr=b.useState(!1),Yr=(0,rt.Z)(Wr,2),ao=Yr[0],po=Yr[1],xo=b.useRef(null);b.useEffect(function(){return function(){kn.Z.cancel(xo.current)}},[]);var $o=function(){po(!1)},Gr=function(to){to.persist(),_r.current.delta=to.pageX-Hr.scrollLeft,_r.current.x=0,po(!0),to.preventDefault()},jr=function(to){var go,Do=to||((go=window)===null||go===void 0?void 0:go.event),Jo=Do.buttons;if(!ao||Jo===0){ao&&po(!1);return}var Co=_r.current.x+to.pageX-_r.current.x-_r.current.delta,Fi=Nn==="rtl";Co=Math.max(Fi?Kn-Qn:0,Math.min(Fi?0:Qn-Kn,Co));var wi=!Fi||Math.abs(Co)+Math.abs(Kn)<Qn;wi&&(An({scrollLeft:Co/Qn*(tr+2)}),_r.current.x=to.pageX)},oo=function(){kn.Z.cancel(xo.current),xo.current=(0,kn.Z)(function(){if(an.current){var to=pr(an.current).top,go=to+an.current.offsetHeight,Do=Mn===window?document.documentElement.scrollTop+window.innerHeight:pr(Mn).top+Mn.clientHeight;go-(0,Rt.Z)()<=Do||to>=Do-En?Nr(function(Jo){return(0,dt.Z)((0,dt.Z)({},Jo),{},{isHiddenScrollBar:!0})}):Nr(function(Jo){return(0,dt.Z)((0,dt.Z)({},Jo),{},{isHiddenScrollBar:!1})})}})},Sr=function(to){Nr(function(go){return(0,dt.Z)((0,dt.Z)({},go),{},{scrollLeft:to/tr*Qn||0})})};return b.useImperativeHandle(at,function(){return{setScrollLeft:Sr,checkScrollBarVisible:oo}}),b.useEffect(function(){var xr=(0,Zn.Z)(document.body,"mouseup",$o,!1),to=(0,Zn.Z)(document.body,"mousemove",jr,!1);return oo(),function(){xr.remove(),to.remove()}},[Kn,ao]),b.useEffect(function(){if(an.current){for(var xr=[],to=(0,Un.bn)(an.current);to;)xr.push(to),to=to.parentElement;return xr.forEach(function(go){return go.addEventListener("scroll",oo,!1)}),window.addEventListener("resize",oo,!1),window.addEventListener("scroll",oo,!1),Mn.addEventListener("scroll",oo,!1),function(){xr.forEach(function(go){return go.removeEventListener("scroll",oo)}),window.removeEventListener("resize",oo),window.removeEventListener("scroll",oo),Mn.removeEventListener("scroll",oo)}}},[Mn]),b.useEffect(function(){Hr.isHiddenScrollBar||Nr(function(xr){var to=an.current;return to?(0,dt.Z)((0,dt.Z)({},xr),{},{scrollLeft:to.scrollLeft/to.scrollWidth*to.clientWidth}):xr})},[Hr.isHiddenScrollBar]),tr<=Qn||!Kn||Hr.isHiddenScrollBar?null:b.createElement("div",{style:{height:(0,Rt.Z)(),width:Qn,bottom:En},className:"".concat(ir,"-sticky-scroll")},b.createElement("div",{onMouseDown:Gr,ref:Hn,className:Se()("".concat(ir,"-sticky-scroll-bar"),(0,Fe.Z)({},"".concat(ir,"-sticky-scroll-bar-active"),ao)),style:{width:"".concat(Kn,"px"),transform:"translate3d(".concat(Hr.scrollLeft,"px, 0, 0)")}}))},Vr=b.forwardRef(Ar);function Br(ye){return null}var fr=Br;function Pr(ye){return null}var kr=Pr,Jr="rc-table",Xr=[],vo={};function yr(){return"No Data"}function ur(ye,ge){var at=(0,dt.Z)({rowKey:"key",prefixCls:Jr,emptyText:yr},ye),wt=at.prefixCls,$t=at.className,an=at.rowClassName,An=at.style,En=at.data,Mn=at.rowKey,Nn=at.scroll,ir=at.tableLayout,tr=at.direction,Qn=at.title,Kn=at.footer,Hn=at.summary,Or=at.caption,cr=at.id,Hr=at.showHeader,Nr=at.components,_r=at.emptyText,Wr=at.onRow,Yr=at.onHeaderRow,ao=at.onScroll,po=at.internalHooks,xo=at.transformColumns,$o=at.internalRefs,Gr=at.tailor,jr=at.getContainerWidth,oo=at.sticky,Sr=at.rowHoverable,xr=Sr===void 0?!0:Sr,to=En||Xr,go=!!to.length,Do=po===de,Jo=b.useCallback(function(oa,ua){return(0,gt.Z)(Nr,oa)||ua},[Nr]),Co=b.useMemo(function(){return typeof Mn=="function"?Mn:function(oa){var ua=oa&&oa[Mn];return ua}},[Mn]),Fi=Jo(["body"]),wi=qt(),ca=(0,rt.Z)(wi,3),$i=ca[0],ia=ca[1],ma=ca[2],ga=ze(at,to,Co),Ti=(0,rt.Z)(ga,6),ki=Ti[0],Ia=Ti[1],Na=Ti[2],oi=Ti[3],Ai=Ti[4],ti=Ti[5],Ho=Nn==null?void 0:Nn.x,ji=b.useState(0),Ji=(0,rt.Z)(ji,2),ya=Ji[0],qi=Ji[1],ka=Qt((0,dt.Z)((0,dt.Z)((0,dt.Z)({},at),ki),{},{expandable:!!ki.expandedRowRender,columnTitle:ki.columnTitle,expandedKeys:Na,getRowKey:Co,onTriggerExpand:ti,expandIcon:oi,expandIconColumnIndex:ki.expandIconColumnIndex,direction:tr,scrollWidth:Do&&Gr&&typeof Ho=="number"?Ho:null,clientWidth:ya}),Do?xo:null),Sa=(0,rt.Z)(ka,4),ui=Sa[0],gi=Sa[1],ea=Sa[2],aa=Sa[3],la=ea!=null?ea:Ho,Wa=b.useMemo(function(){return{columns:ui,flattenColumns:gi}},[ui,gi]),ba=b.useRef(),il=b.useRef(),va=b.useRef(),Vi=b.useRef();b.useImperativeHandle(ge,function(){return{nativeElement:ba.current,scrollTo:function(ua){var Bl;if(va.current instanceof HTMLElement){var jl=ua.index,Fl=ua.top,Ms=ua.key;if(Wt(Fl)){var ys;(ys=va.current)===null||ys===void 0||ys.scrollTo({top:Fl})}else{var ds,Ns=Ms!=null?Ms:Co(to[jl]);(ds=va.current.querySelector('[data-row-key="'.concat(Ns,'"]')))===null||ds===void 0||ds.scrollIntoView()}}else(Bl=va.current)!==null&&Bl!==void 0&&Bl.scrollTo&&va.current.scrollTo(ua)}}});var ha=b.useRef(),Ca=b.useState(!1),Ha=(0,rt.Z)(Ca,2),La=Ha[0],Gi=Ha[1],Aa=b.useState(!1),na=(0,rt.Z)(Aa,2),al=na[0],ja=na[1],dl=b.useState(new Map),pl=(0,rt.Z)(dl,2),zl=pl[0],xa=pl[1],cs=At(gi),fl=cs.map(function(oa){return zl.get(oa)}),Ll=b.useMemo(function(){return fl},[fl.join("_")]),Pl=Pt(Ll,gi,tr),Di=Nn&&Gt(Nn.y),ni=Nn&&Gt(la)||!!ki.fixed,Ra=ni&&gi.some(function(oa){var ua=oa.fixed;return ua}),gl=b.useRef(),Rl=pt(oo,wt),Ql=Rl.isSticky,Is=Rl.offsetHeader,Bs=Rl.offsetSummary,Zs=Rl.offsetScroll,ra=Rl.stickyClassName,Zi=Rl.container,Zo=b.useMemo(function(){return Hn==null?void 0:Hn(to)},[Hn,to]),yi=(Di||Ql)&&b.isValidElement(Zo)&&Zo.type===Pe&&Zo.props.fixed,Yi,Ua,yl;Di&&(Ua={overflowY:go?"scroll":"auto",maxHeight:Nn.y}),ni&&(Yi={overflowX:"auto"},Di||(Ua={overflowY:"hidden"}),yl={width:la===!0?"auto":la,minWidth:"100%"});var hl=b.useCallback(function(oa,ua){xa(function(Bl){if(Bl.get(oa)!==ua){var jl=new Map(Bl);return jl.set(oa,ua),jl}return Bl})},[]),ts=Ct(null),Il=(0,rt.Z)(ts,2),Fs=Il[0],tu=Il[1];function Hs(oa,ua){ua&&(typeof ua=="function"?ua(oa):ua.scrollLeft!==oa&&(ua.scrollLeft=oa,ua.scrollLeft!==oa&&setTimeout(function(){ua.scrollLeft=oa},0)))}var Ss=(0,Oe.Z)(function(oa){var ua=oa.currentTarget,Bl=oa.scrollLeft,jl=tr==="rtl",Fl=typeof Bl=="number"?Bl:ua.scrollLeft,Ms=ua||vo;if(!tu()||tu()===Ms){var ys;Fs(Ms),Hs(Fl,il.current),Hs(Fl,va.current),Hs(Fl,ha.current),Hs(Fl,(ys=gl.current)===null||ys===void 0?void 0:ys.setScrollLeft)}var ds=ua||il.current;if(ds){var Ns=Do&&Gr&&typeof la=="number"?la:ds.scrollWidth,hu=ds.clientWidth;if(Ns===hu){Gi(!1),ja(!1);return}jl?(Gi(-Fl<Ns-hu),ja(-Fl>0)):(Gi(Fl>0),ja(Fl<Ns-hu))}}),Xs=(0,Oe.Z)(function(oa){Ss(oa),ao==null||ao(oa)}),Es=function(){if(ni&&va.current){var ua;Ss({currentTarget:(0,Un.bn)(va.current),scrollLeft:(ua=va.current)===null||ua===void 0?void 0:ua.scrollLeft})}else Gi(!1),ja(!1)},nu=function(ua){var Bl,jl=ua.width;(Bl=gl.current)===null||Bl===void 0||Bl.checkScrollBarVisible();var Fl=ba.current?ba.current.offsetWidth:jl;Do&&jr&&ba.current&&(Fl=jr(ba.current,Fl)||Fl),Fl!==ya&&(Es(),qi(Fl))},$s=b.useRef(!1);b.useEffect(function(){$s.current&&Es()},[ni,En,ui.length]),b.useEffect(function(){$s.current=!0},[]);var ru=b.useState(0),gu=(0,rt.Z)(ru,2),gs=gu[0],ou=gu[1],Du=b.useState(!0),iu=(0,rt.Z)(Du,2),zs=iu[0],Pu=iu[1];(0,xe.Z)(function(){(!Gr||!Do)&&(va.current instanceof Element?ou((0,Rt.o)(va.current).width):ou((0,Rt.o)(Vi.current).width)),Pu((0,Et.G)("position","sticky"))},[]),b.useEffect(function(){Do&&$o&&($o.body.current=va.current)});var Iu=b.useCallback(function(oa){return b.createElement(b.Fragment,null,b.createElement(pn,oa),yi==="top"&&b.createElement($e,oa,Zo))},[yi,Zo]),Ws=b.useCallback(function(oa){return b.createElement($e,oa,Zo)},[Zo]),au=Jo(["table"],"table"),js=b.useMemo(function(){return ir||(Ra?la==="max-content"?"auto":"fixed":Di||Ql||gi.some(function(oa){var ua=oa.ellipsis;return ua})?"fixed":"auto")},[Di,Ra,gi,ir,Ql]),lu,Vs={colWidths:Ll,columCount:gi.length,stickyOffsets:Pl,onHeaderRow:Yr,fixHeader:Di,scroll:Nn},su=b.useMemo(function(){return go?null:typeof _r=="function"?_r():_r},[go,_r]),yu=b.createElement(un,{data:to,measureColumnWidth:Di||ni||Ql}),uu=b.createElement(dr,{colWidths:gi.map(function(oa){var ua=oa.width;return ua}),columns:gi}),cu=Or!=null?b.createElement("caption",{className:"".concat(wt,"-caption")},Or):void 0,Bu=(0,Te.Z)(at,{data:!0}),Qs=(0,Te.Z)(at,{aria:!0});if(Di||Ql){var ws;typeof Fi=="function"?(ws=Fi(to,{scrollbarSize:gs,ref:va,onScroll:Ss}),Vs.colWidths=gi.map(function(oa,ua){var Bl=oa.width,jl=ua===gi.length-1?Bl-gs:Bl;return typeof jl=="number"&&!Number.isNaN(jl)?jl:0})):ws=b.createElement("div",{style:(0,dt.Z)((0,dt.Z)({},Yi),Ua),onScroll:Xs,ref:va,className:Se()("".concat(wt,"-body"))},b.createElement(au,(0,Ge.Z)({style:(0,dt.Z)((0,dt.Z)({},yl),{},{tableLayout:js})},Qs),cu,uu,yu,!yi&&Zo&&b.createElement($e,{stickyOffsets:Pl,flattenColumns:gi},Zo)));var Os=(0,dt.Z)((0,dt.Z)((0,dt.Z)({noData:!to.length,maxContentScroll:ni&&la==="max-content"},Vs),Wa),{},{direction:tr,stickyClassName:ra,onScroll:Ss});lu=b.createElement(b.Fragment,null,Hr!==!1&&b.createElement(vn,(0,Ge.Z)({},Os,{stickyTopOffset:Is,className:"".concat(wt,"-header"),ref:il}),Iu),ws,yi&&yi!=="top"&&b.createElement(vn,(0,Ge.Z)({},Os,{stickyBottomOffset:Bs,className:"".concat(wt,"-summary"),ref:ha}),Ws),Ql&&va.current&&va.current instanceof Element&&b.createElement(Vr,{ref:gl,offsetScroll:Zs,scrollBodyRef:va,onScroll:Ss,container:Zi,direction:tr}))}else lu=b.createElement("div",{style:(0,dt.Z)((0,dt.Z)({},Yi),Ua),className:Se()("".concat(wt,"-content")),onScroll:Ss,ref:va},b.createElement(au,(0,Ge.Z)({style:(0,dt.Z)((0,dt.Z)({},yl),{},{tableLayout:js})},Qs),cu,uu,Hr!==!1&&b.createElement(pn,(0,Ge.Z)({},Vs,Wa)),yu,Zo&&b.createElement($e,{stickyOffsets:Pl,flattenColumns:gi},Zo)));var du=b.createElement("div",(0,Ge.Z)({className:Se()(wt,$t,(0,Fe.Z)((0,Fe.Z)((0,Fe.Z)((0,Fe.Z)((0,Fe.Z)((0,Fe.Z)((0,Fe.Z)((0,Fe.Z)((0,Fe.Z)((0,Fe.Z)({},"".concat(wt,"-rtl"),tr==="rtl"),"".concat(wt,"-ping-left"),La),"".concat(wt,"-ping-right"),al),"".concat(wt,"-layout-fixed"),ir==="fixed"),"".concat(wt,"-fixed-header"),Di),"".concat(wt,"-fixed-column"),Ra),"".concat(wt,"-fixed-column-gapped"),Ra&&aa),"".concat(wt,"-scroll-horizontal"),ni),"".concat(wt,"-has-fix-left"),gi[0]&&gi[0].fixed),"".concat(wt,"-has-fix-right"),gi[gi.length-1]&&gi[gi.length-1].fixed==="right")),style:An,id:cr,ref:ba},Bu),Qn&&b.createElement(In,{className:"".concat(wt,"-title")},Qn(to)),b.createElement("div",{ref:Vi,className:"".concat(wt,"-container")},lu),Kn&&b.createElement(In,{className:"".concat(wt,"-footer")},Kn(to)));ni&&(du=b.createElement(ht.Z,{onResize:nu},du));var fu=yt(gi,Pl,tr),Fu=b.useMemo(function(){return{scrollX:la,prefixCls:wt,getComponent:Jo,scrollbarSize:gs,direction:tr,fixedInfoList:fu,isSticky:Ql,supportSticky:zs,componentWidth:ya,fixHeader:Di,fixColumn:Ra,horizonScroll:ni,tableLayout:js,rowClassName:an,expandedRowClassName:ki.expandedRowClassName,expandIcon:oi,expandableType:Ia,expandRowByClick:ki.expandRowByClick,expandedRowRender:ki.expandedRowRender,onTriggerExpand:ti,expandIconColumnIndex:ki.expandIconColumnIndex,indentSize:ki.indentSize,allColumnsFixedLeft:gi.every(function(oa){return oa.fixed==="left"}),emptyNode:su,columns:ui,flattenColumns:gi,onColumnResize:hl,hoverStartRow:$i,hoverEndRow:ia,onHover:ma,rowExpandable:ki.rowExpandable,onRow:Wr,getRowKey:Co,expandedKeys:Na,childrenColumnName:Ai,rowHoverable:xr}},[la,wt,Jo,gs,tr,fu,Ql,zs,ya,Di,Ra,ni,js,an,ki.expandedRowClassName,oi,Ia,ki.expandRowByClick,ki.expandedRowRender,ti,ki.expandIconColumnIndex,ki.indentSize,su,ui,gi,hl,$i,ia,ma,ki.rowExpandable,Wr,Co,Na,Ai,xr]);return b.createElement(st.Provider,{value:Fu},du)}var gr=b.forwardRef(ur);function no(ye){return Mt(gr,ye)}var Kr=no();Kr.EXPAND_COLUMN=Ce,Kr.INTERNAL_HOOKS=de,Kr.Column=fr,Kr.ColumnGroup=kr,Kr.Summary=Ie;var wr=Kr,Rr=z(48911),mo=Be(null),$r=Be(null);function qr(ye,ge,at){var wt=ge||1;return at[ye+wt]-(at[ye]||0)}function eo(ye){var ge=ye.rowInfo,at=ye.column,wt=ye.colIndex,$t=ye.indent,an=ye.index,An=ye.component,En=ye.renderIndex,Mn=ye.record,Nn=ye.style,ir=ye.className,tr=ye.inverse,Qn=ye.getHeight,Kn=at.render,Hn=at.dataIndex,Or=at.className,cr=at.width,Hr=fe($r,["columnsOffset"]),Nr=Hr.columnsOffset,_r=ft(ge,at,wt,$t,an),Wr=_r.key,Yr=_r.fixedInfo,ao=_r.appendCellNode,po=_r.additionalCellProps,xo=po.style,$o=po.colSpan,Gr=$o===void 0?1:$o,jr=po.rowSpan,oo=jr===void 0?1:jr,Sr=wt-1,xr=qr(Sr,Gr,Nr),to=Gr>1?cr-xr:0,go=(0,dt.Z)((0,dt.Z)((0,dt.Z)({},xo),Nn),{},{flex:"0 0 ".concat(xr,"px"),width:"".concat(xr,"px"),marginRight:to,pointerEvents:"auto"}),Do=b.useMemo(function(){return tr?oo<=1:Gr===0||oo===0||oo>1},[oo,Gr,tr]);Do?go.visibility="hidden":tr&&(go.height=Qn==null?void 0:Qn(oo));var Jo=Do?function(){return null}:Kn,Co={};return(oo===0||Gr===0)&&(Co.rowSpan=1,Co.colSpan=1),b.createElement(dn,(0,Ge.Z)({className:Se()(Or,ir),ellipsis:at.ellipsis,align:at.align,scope:at.rowScope,component:An,prefixCls:ge.prefixCls,key:Wr,record:Mn,index:an,renderIndex:En,dataIndex:Hn,render:Jo,shouldCellUpdate:at.shouldCellUpdate},Yr,{appendNode:ao,additionalProps:(0,dt.Z)((0,dt.Z)({},po),{},{style:go},Co)}))}var ko=eo,_o=["data","index","className","rowKey","style","extra","getHeight"],qo=b.forwardRef(function(ye,ge){var at=ye.data,wt=ye.index,$t=ye.className,an=ye.rowKey,An=ye.style,En=ye.extra,Mn=ye.getHeight,Nn=(0,ae.Z)(ye,_o),ir=at.record,tr=at.indent,Qn=at.index,Kn=fe(st,["prefixCls","flattenColumns","fixColumn","componentWidth","scrollX"]),Hn=Kn.scrollX,Or=Kn.flattenColumns,cr=Kn.prefixCls,Hr=Kn.fixColumn,Nr=Kn.componentWidth,_r=fe(mo,["getComponent"]),Wr=_r.getComponent,Yr=Ht(ir,an,wt,tr),ao=Wr(["body","row"],"div"),po=Wr(["body","cell"],"div"),xo=Yr.rowSupportExpand,$o=Yr.expanded,Gr=Yr.rowProps,jr=Yr.expandedRowRender,oo=Yr.expandedRowClassName,Sr;if(xo&&$o){var xr=jr(ir,wt,tr+1,$o),to=gn(oo,ir,wt,tr),go={};Hr&&(go={style:(0,Fe.Z)({},"--virtual-width","".concat(Nr,"px"))});var Do="".concat(cr,"-expanded-row-cell");Sr=b.createElement(ao,{className:Se()("".concat(cr,"-expanded-row"),"".concat(cr,"-expanded-row-level-").concat(tr+1),to)},b.createElement(dn,{component:po,prefixCls:cr,className:Se()(Do,(0,Fe.Z)({},"".concat(Do,"-fixed"),Hr)),additionalProps:go},xr))}var Jo=(0,dt.Z)((0,dt.Z)({},An),{},{width:Hn});En&&(Jo.position="absolute",Jo.pointerEvents="none");var Co=b.createElement(ao,(0,Ge.Z)({},Gr,Nn,{"data-row-key":an,ref:xo?null:ge,className:Se()($t,"".concat(cr,"-row"),Gr==null?void 0:Gr.className,(0,Fe.Z)({},"".concat(cr,"-row-extra"),En)),style:(0,dt.Z)((0,dt.Z)({},Jo),Gr==null?void 0:Gr.style)}),Or.map(function(Fi,wi){return b.createElement(ko,{key:wi,component:po,rowInfo:Yr,column:Fi,colIndex:wi,indent:tr,index:wt,renderIndex:Qn,record:ir,inverse:En,getHeight:Mn})}));return xo?b.createElement("div",{ref:ge},Co,Sr):Co}),Lo=Ut(qo),ii=Lo,Le=b.forwardRef(function(ye,ge){var at=ye.data,wt=ye.onScroll,$t=fe(st,["flattenColumns","onColumnResize","getRowKey","prefixCls","expandedKeys","childrenColumnName","scrollX","direction"]),an=$t.flattenColumns,An=$t.onColumnResize,En=$t.getRowKey,Mn=$t.expandedKeys,Nn=$t.prefixCls,ir=$t.childrenColumnName,tr=$t.scrollX,Qn=$t.direction,Kn=fe(mo),Hn=Kn.sticky,Or=Kn.scrollY,cr=Kn.listItemHeight,Hr=Kn.getComponent,Nr=Kn.onScroll,_r=b.useRef(),Wr=yn(at,ir,Mn,En),Yr=b.useMemo(function(){var Sr=0;return an.map(function(xr){var to=xr.width,go=xr.key;return Sr+=to,[go,to,Sr]})},[an]),ao=b.useMemo(function(){return Yr.map(function(Sr){return Sr[2]})},[Yr]);b.useEffect(function(){Yr.forEach(function(Sr){var xr=(0,rt.Z)(Sr,2),to=xr[0],go=xr[1];An(to,go)})},[Yr]),b.useImperativeHandle(ge,function(){var Sr,xr={scrollTo:function(go){var Do;(Do=_r.current)===null||Do===void 0||Do.scrollTo(go)},nativeElement:(Sr=_r.current)===null||Sr===void 0?void 0:Sr.nativeElement};return Object.defineProperty(xr,"scrollLeft",{get:function(){var go;return((go=_r.current)===null||go===void 0?void 0:go.getScrollInfo().x)||0},set:function(go){var Do;(Do=_r.current)===null||Do===void 0||Do.scrollTo({left:go})}}),xr});var po=function(xr,to){var go,Do=(go=Wr[to])===null||go===void 0?void 0:go.record,Jo=xr.onCell;if(Jo){var Co,Fi=Jo(Do,to);return(Co=Fi==null?void 0:Fi.rowSpan)!==null&&Co!==void 0?Co:1}return 1},xo=function(xr){var to=xr.start,go=xr.end,Do=xr.getSize,Jo=xr.offsetY;if(go<0)return null;for(var Co=an.filter(function(oi){return po(oi,to)===0}),Fi=to,wi=function(Ai){if(Co=Co.filter(function(ti){return po(ti,Ai)===0}),!Co.length)return Fi=Ai,1},ca=to;ca>=0&&!wi(ca);ca-=1);for(var $i=an.filter(function(oi){return po(oi,go)!==1}),ia=go,ma=function(Ai){if($i=$i.filter(function(ti){return po(ti,Ai)!==1}),!$i.length)return ia=Math.max(Ai-1,go),1},ga=go;ga<Wr.length&&!ma(ga);ga+=1);for(var Ti=[],ki=function(Ai){var ti=Wr[Ai];if(!ti)return 1;an.some(function(Ho){return po(Ho,Ai)>1})&&Ti.push(Ai)},Ia=Fi;Ia<=ia;Ia+=1)ki(Ia);var Na=Ti.map(function(oi){var Ai=Wr[oi],ti=En(Ai.record,oi),Ho=function(ya){var qi=oi+ya-1,ka=En(Wr[qi].record,qi),Sa=Do(ti,ka);return Sa.bottom-Sa.top},ji=Do(ti);return b.createElement(ii,{key:oi,data:Ai,rowKey:ti,index:oi,style:{top:-Jo+ji.top},extra:!0,getHeight:Ho})});return Na},$o=b.useMemo(function(){return{columnsOffset:ao}},[ao]),Gr="".concat(Nn,"-tbody"),jr=Hr(["body","wrapper"]),oo={};return Hn&&(oo.position="sticky",oo.bottom=0,(0,ut.Z)(Hn)==="object"&&Hn.offsetScroll&&(oo.bottom=Hn.offsetScroll)),b.createElement($r.Provider,{value:$o},b.createElement(Rr.Z,{fullHeight:!1,ref:_r,prefixCls:"".concat(Gr,"-virtual"),styles:{horizontalScrollBar:oo},className:Gr,height:Or,itemHeight:cr||24,data:Wr,itemKey:function(xr){return En(xr.record)},component:jr,scrollWidth:tr,direction:Qn,onVirtualScroll:function(xr){var to,go=xr.x;wt({currentTarget:(to=_r.current)===null||to===void 0?void 0:to.nativeElement,scrollLeft:go})},onScroll:Nr,extraRender:xo},function(Sr,xr,to){var go=En(Sr.record,xr);return b.createElement(ii,{data:Sr,rowKey:go,index:xr,style:to.style})}))}),nt=Ut(Le),Ot=nt,sn=function(ge,at){var wt=at.ref,$t=at.onScroll;return b.createElement(Ot,{ref:wt,data:ge,onScroll:$t})};function hn(ye,ge){var at=ye.data,wt=ye.columns,$t=ye.scroll,an=ye.sticky,An=ye.prefixCls,En=An===void 0?Jr:An,Mn=ye.className,Nn=ye.listItemHeight,ir=ye.components,tr=ye.onScroll,Qn=$t||{},Kn=Qn.x,Hn=Qn.y;typeof Kn!="number"&&(Kn=1),typeof Hn!="number"&&(Hn=500);var Or=(0,et.zX)(function(Nr,_r){return(0,gt.Z)(ir,Nr)||_r}),cr=(0,et.zX)(tr),Hr=b.useMemo(function(){return{sticky:an,scrollY:Hn,listItemHeight:Nn,getComponent:Or,onScroll:cr}},[an,Hn,Nn,Or,cr]);return b.createElement(mo.Provider,{value:Hr},b.createElement(wr,(0,Ge.Z)({},ye,{className:Se()(Mn,"".concat(En,"-virtual")),scroll:(0,dt.Z)((0,dt.Z)({},$t),{},{x:Kn}),components:(0,dt.Z)((0,dt.Z)({},ir),{},{body:at!=null&&at.length?sn:void 0}),columns:wt,internalHooks:de,tailor:!0,ref:ge})))}var Tt=b.forwardRef(hn);function it(ye){return Mt(Tt,ye)}var Ft=it(),en=null,Wn=ye=>null,jn=ye=>null,$n=z(84105),Cr=z(82661),br=z(34643),zr=z(34061),Qr=z(18929);function yo(ye){const[ge,at]=(0,b.useState)(null);return[(0,b.useCallback)((an,An,En)=>{const Mn=ge!=null?ge:an,Nn=Math.min(Mn||0,an),ir=Math.max(Mn||0,an),tr=An.slice(Nn,ir+1).map(Hn=>ye(Hn)),Qn=tr.some(Hn=>!En.has(Hn)),Kn=[];return tr.forEach(Hn=>{Qn?(En.has(Hn)||Kn.push(Hn),En.add(Hn)):(En.delete(Hn),Kn.push(Hn))}),at(Qn?ir:null),Kn},[ge]),an=>{at(an)}]}var io=z(32383),Io=z(62673),co=z(75727),fo=z(47889);const bo={},Bo="SELECT_ALL",ri="SELECT_INVERT",Si="SELECT_NONE",bi=[],Ki=(ye,ge)=>{let at=[];return(ge||[]).forEach(wt=>{at.push(wt),wt&&typeof wt=="object"&&ye in wt&&(at=[].concat((0,_t.Z)(at),(0,_t.Z)(Ki(ye,wt[ye]))))}),at};var Mo=(ye,ge)=>{const{preserveSelectedRowKeys:at,selectedRowKeys:wt,defaultSelectedRowKeys:$t,getCheckboxProps:an,onChange:An,onSelect:En,onSelectAll:Mn,onSelectInvert:Nn,onSelectNone:ir,onSelectMultiple:tr,columnWidth:Qn,type:Kn,selections:Hn,fixed:Or,renderCell:cr,hideSelectAll:Hr,checkStrictly:Nr=!0}=ge||{},{prefixCls:_r,data:Wr,pageData:Yr,getRecordByKey:ao,getRowKey:po,expandType:xo,childrenColumnName:$o,locale:Gr,getPopupContainer:jr}=ye,oo=(0,io.ln)("Table"),[Sr,xr]=yo(oi=>oi),[to,go]=(0,Qr.Z)(wt||$t||bi,{value:wt}),Do=b.useRef(new Map),Jo=(0,b.useCallback)(oi=>{if(at){const Ai=new Map;oi.forEach(ti=>{let Ho=ao(ti);!Ho&&Do.current.has(ti)&&(Ho=Do.current.get(ti)),Ai.set(ti,Ho)}),Do.current=Ai}},[ao,at]);b.useEffect(()=>{Jo(to)},[to]);const Co=(0,b.useMemo)(()=>Ki($o,Yr),[$o,Yr]),{keyEntities:Fi}=(0,b.useMemo)(()=>{if(Nr)return{keyEntities:null};let oi=Wr;if(at){const Ai=new Set(Co.map((Ho,ji)=>po(Ho,ji))),ti=Array.from(Do.current).reduce((Ho,ji)=>{let[Ji,ya]=ji;return Ai.has(Ji)?Ho:Ho.concat(ya)},[]);oi=[].concat((0,_t.Z)(oi),(0,_t.Z)(ti))}return(0,zr.I8)(oi,{externalGetKey:po,childrenPropName:$o})},[Wr,po,Nr,$o,at,Co]),wi=(0,b.useMemo)(()=>{const oi=new Map;return Co.forEach((Ai,ti)=>{const Ho=po(Ai,ti),ji=(an?an(Ai):null)||{};oi.set(Ho,ji)}),oi},[Co,po,an]),ca=(0,b.useCallback)(oi=>{const Ai=po(oi);let ti;return wi.has(Ai)?ti=wi.get(po(oi)):ti=an?an(oi):void 0,!!(ti!=null&&ti.disabled)},[wi,po]),[$i,ia]=(0,b.useMemo)(()=>{if(Nr)return[to||[],[]];const{checkedKeys:oi,halfCheckedKeys:Ai}=(0,br.S)(to,!0,Fi,ca);return[oi||[],Ai]},[to,Nr,Fi,ca]),ma=(0,b.useMemo)(()=>{const oi=Kn==="radio"?$i.slice(0,1):$i;return new Set(oi)},[$i,Kn]),ga=(0,b.useMemo)(()=>Kn==="radio"?new Set:new Set(ia),[ia,Kn]);b.useEffect(()=>{ge||go(bi)},[!!ge]);const Ti=(0,b.useCallback)((oi,Ai)=>{let ti,Ho;Jo(oi),at?(ti=oi,Ho=oi.map(ji=>Do.current.get(ji))):(ti=[],Ho=[],oi.forEach(ji=>{const Ji=ao(ji);Ji!==void 0&&(ti.push(ji),Ho.push(Ji))})),go(ti),An==null||An(ti,Ho,{type:Ai})},[go,ao,An,at]),ki=(0,b.useCallback)((oi,Ai,ti,Ho)=>{if(En){const ji=ti.map(Ji=>ao(Ji));En(ao(oi),Ai,ji,Ho)}Ti(ti,"single")},[En,ao,Ti]),Ia=(0,b.useMemo)(()=>!Hn||Hr?null:(Hn===!0?[Bo,ri,Si]:Hn).map(Ai=>Ai===Bo?{key:"all",text:Gr.selectionAll,onSelect(){Ti(Wr.map((ti,Ho)=>po(ti,Ho)).filter(ti=>{const Ho=wi.get(ti);return!(Ho!=null&&Ho.disabled)||ma.has(ti)}),"all")}}:Ai===ri?{key:"invert",text:Gr.selectInvert,onSelect(){const ti=new Set(ma);Yr.forEach((ji,Ji)=>{const ya=po(ji,Ji),qi=wi.get(ya);qi!=null&&qi.disabled||(ti.has(ya)?ti.delete(ya):ti.add(ya))});const Ho=Array.from(ti);Nn&&(oo.deprecated(!1,"onSelectInvert","onChange"),Nn(Ho)),Ti(Ho,"invert")}}:Ai===Si?{key:"none",text:Gr.selectNone,onSelect(){ir==null||ir(),Ti(Array.from(ma).filter(ti=>{const Ho=wi.get(ti);return Ho==null?void 0:Ho.disabled}),"none")}}:Ai).map(Ai=>Object.assign(Object.assign({},Ai),{onSelect:function(){for(var ti,Ho,ji=arguments.length,Ji=new Array(ji),ya=0;ya<ji;ya++)Ji[ya]=arguments[ya];(Ho=Ai.onSelect)===null||Ho===void 0||(ti=Ho).call.apply(ti,[Ai].concat(Ji)),xr(null)}})),[Hn,ma,Yr,po,Nn,Ti]);return[(0,b.useCallback)(oi=>{var Ai;if(!ge)return oi.filter(Vi=>Vi!==bo);let ti=(0,_t.Z)(oi);const Ho=new Set(ma),ji=Co.map(po).filter(Vi=>!wi.get(Vi).disabled),Ji=ji.every(Vi=>Ho.has(Vi)),ya=ji.some(Vi=>Ho.has(Vi)),qi=()=>{const Vi=[];Ji?ji.forEach(Ca=>{Ho.delete(Ca),Vi.push(Ca)}):ji.forEach(Ca=>{Ho.has(Ca)||(Ho.add(Ca),Vi.push(Ca))});const ha=Array.from(Ho);Mn==null||Mn(!Ji,ha.map(Ca=>ao(Ca)),Vi.map(Ca=>ao(Ca))),Ti(ha,"all"),xr(null)};let ka,Sa;if(Kn!=="radio"){let Vi;if(Ia){const Gi={getPopupContainer:jr,items:Ia.map((Aa,na)=>{const{key:al,text:ja,onSelect:dl}=Aa;return{key:al!=null?al:na,onClick:()=>{dl==null||dl(ji)},label:ja}})};Vi=b.createElement("div",{className:`${_r}-selection-extra`},b.createElement(co.Z,{menu:Gi,getPopupContainer:jr},b.createElement("span",null,b.createElement($n.Z,null))))}const ha=Co.map((Gi,Aa)=>{const na=po(Gi,Aa),al=wi.get(na)||{};return Object.assign({checked:Ho.has(na)},al)}).filter(Gi=>{let{disabled:Aa}=Gi;return Aa}),Ca=!!ha.length&&ha.length===Co.length,Ha=Ca&&ha.every(Gi=>{let{checked:Aa}=Gi;return Aa}),La=Ca&&ha.some(Gi=>{let{checked:Aa}=Gi;return Aa});Sa=b.createElement(Io.default,{checked:Ca?Ha:!!Co.length&&Ji,indeterminate:Ca?!Ha&&La:!Ji&&ya,onChange:qi,disabled:Co.length===0||Ca,"aria-label":Vi?"Custom selection":"Select all",skipGroup:!0}),ka=!Hr&&b.createElement("div",{className:`${_r}-selection`},Sa,Vi)}let ui;Kn==="radio"?ui=(Vi,ha,Ca)=>{const Ha=po(ha,Ca),La=Ho.has(Ha),Gi=wi.get(Ha);return{node:b.createElement(fo.ZP,Object.assign({},Gi,{checked:La,onClick:Aa=>{var na;Aa.stopPropagation(),(na=Gi==null?void 0:Gi.onClick)===null||na===void 0||na.call(Gi,Aa)},onChange:Aa=>{var na;Ho.has(Ha)||ki(Ha,!0,[Ha],Aa.nativeEvent),(na=Gi==null?void 0:Gi.onChange)===null||na===void 0||na.call(Gi,Aa)}})),checked:La}}:ui=(Vi,ha,Ca)=>{var Ha;const La=po(ha,Ca),Gi=Ho.has(La),Aa=ga.has(La),na=wi.get(La);let al;return xo==="nest"?al=Aa:al=(Ha=na==null?void 0:na.indeterminate)!==null&&Ha!==void 0?Ha:Aa,{node:b.createElement(Io.default,Object.assign({},na,{indeterminate:al,checked:Gi,skipGroup:!0,onClick:ja=>{var dl;ja.stopPropagation(),(dl=na==null?void 0:na.onClick)===null||dl===void 0||dl.call(na,ja)},onChange:ja=>{var dl;const{nativeEvent:pl}=ja,{shiftKey:zl}=pl,xa=ji.findIndex(fl=>fl===La),cs=$i.some(fl=>ji.includes(fl));if(zl&&Nr&&cs){const fl=Sr(xa,ji,Ho),Ll=Array.from(Ho);tr==null||tr(!Gi,Ll.map(Pl=>ao(Pl)),fl.map(Pl=>ao(Pl))),Ti(Ll,"multiple")}else{const fl=$i;if(Nr){const Ll=Gi?(0,Cr._5)(fl,La):(0,Cr.L0)(fl,La);ki(La,!Gi,Ll,pl)}else{const Ll=(0,br.S)([].concat((0,_t.Z)(fl),[La]),!0,Fi,ca),{checkedKeys:Pl,halfCheckedKeys:Di}=Ll;let ni=Pl;if(Gi){const Ra=new Set(Pl);Ra.delete(La),ni=(0,br.S)(Array.from(Ra),{checked:!1,halfCheckedKeys:Di},Fi,ca).checkedKeys}ki(La,!Gi,ni,pl)}}xr(Gi?null:xa),(dl=na==null?void 0:na.onChange)===null||dl===void 0||dl.call(na,ja)}})),checked:Gi}};const gi=(Vi,ha,Ca)=>{const{node:Ha,checked:La}=ui(Vi,ha,Ca);return cr?cr(La,ha,Ca,Ha):Ha};if(!ti.includes(bo))if(ti.findIndex(Vi=>{var ha;return((ha=Vi[qn])===null||ha===void 0?void 0:ha.columnType)==="EXPAND_COLUMN"})===0){const[Vi,...ha]=ti;ti=[Vi,bo].concat((0,_t.Z)(ha))}else ti=[bo].concat((0,_t.Z)(ti));const ea=ti.indexOf(bo);ti=ti.filter((Vi,ha)=>Vi!==bo||ha===ea);const aa=ti[ea-1],la=ti[ea+1];let Wa=Or;Wa===void 0&&((la==null?void 0:la.fixed)!==void 0?Wa=la.fixed:(aa==null?void 0:aa.fixed)!==void 0&&(Wa=aa.fixed)),Wa&&aa&&((Ai=aa[qn])===null||Ai===void 0?void 0:Ai.columnType)==="EXPAND_COLUMN"&&aa.fixed===void 0&&(aa.fixed=Wa);const ba=Se()(`${_r}-selection-col`,{[`${_r}-selection-col-with-dropdown`]:Hn&&Kn==="checkbox"}),il=()=>ge!=null&&ge.columnTitle?typeof ge.columnTitle=="function"?ge.columnTitle(Sa):ge.columnTitle:ka,va={fixed:Wa,width:Qn,className:`${_r}-selection-column`,title:il(),render:gi,onCell:ge.onCell,[qn]:{className:ba}};return ti.map(Vi=>Vi===bo?va:Vi)},[po,Co,ge,$i,ma,ga,Qn,Ia,xo,wi,tr,ki,ca]),ma]},zi=z(2738);function Wi(ye,ge){return ye._antProxy=ye._antProxy||{},Object.keys(ge).forEach(at=>{if(!(at in ye._antProxy)){const wt=ye[at];ye._antProxy[at]=wt,ye[at]=ge[at]}}),ye}function Xi(ye,ge){return(0,b.useImperativeHandle)(ye,()=>{const at=ge(),{nativeElement:wt}=at;return typeof Proxy!="undefined"?new Proxy(wt,{get($t,an){return at[an]?at[an]:Reflect.get($t,an)}}):Wi(wt,at)})}var za=z(83010),Pa=z(48755),Ta=z(38406),Ba=z(83397),Ui=z(31756),Fa=z(13783),ul=z(85981),Qa=z(31709),Qi=z(29787),Nl=z(57700);function El(ye){return ge=>{const{prefixCls:at,onExpand:wt,record:$t,expanded:an,expandable:An}=ge,En=`${at}-row-expand-icon`;return b.createElement("button",{type:"button",onClick:Mn=>{wt($t,Mn),Mn.stopPropagation()},className:Se()(En,{[`${En}-spaced`]:!An,[`${En}-expanded`]:An&&an,[`${En}-collapsed`]:An&&!an}),"aria-label":an?ye.collapse:ye.expand,"aria-expanded":an})}}var hi=El;function mi(ye){return(at,wt)=>{const $t=at.querySelector(`.${ye}-container`);let an=wt;if($t){const An=getComputedStyle($t),En=parseInt(An.borderLeftWidth,10),Mn=parseInt(An.borderRightWidth,10);an=wt-En-Mn}return an}}const wo=(ye,ge)=>"key"in ye&&ye.key!==void 0&&ye.key!==null?ye.key:ye.dataIndex?Array.isArray(ye.dataIndex)?ye.dataIndex.join("."):ye.dataIndex:ge;function ho(ye,ge){return ge?`${ge}-${ye}`:`${ye}`}const To=(ye,ge)=>typeof ye=="function"?ye(ge):ye,si=(ye,ge)=>{const at=To(ye,ge);return Object.prototype.toString.call(at)==="[object Object]"?"":at};var da={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"},Ri=da,Li=z(7657),Oi=function(ge,at){return b.createElement(Li.Z,(0,Ge.Z)({},ge,{ref:at,icon:Ri}))},pa=b.forwardRef(Oi),Ea=pa,Oa=z(9981),Ya=z(40192);function Ii(ye){const ge=b.useRef(ye),at=(0,Ya.Z)();return[()=>ge.current,wt=>{ge.current=wt,at()}]}var Ga=z(7939),wl=z(584),cl=z(93041),el=z(78857),Xa=z(18287),Al=z(47472),xl=z(49397),Yl=ye=>{const{value:ge,filterSearch:at,tablePrefixCls:wt,locale:$t,onChange:an}=ye;return at?b.createElement("div",{className:`${wt}-filter-dropdown-search`},b.createElement(xl.Z,{prefix:b.createElement(Al.Z,null),placeholder:$t.filterSearchPlaceholder,onChange:an,value:ge,htmlSize:1,className:`${wt}-filter-dropdown-search-input`})):null},as=z(10228);const ns=ye=>{const{keyCode:ge}=ye;ge===as.Z.ENTER&&ye.stopPropagation()};var rs=b.forwardRef((ye,ge)=>b.createElement("div",{className:ye.className,onClick:at=>at.stopPropagation(),onKeyDown:ns,ref:ge},ye.children));function Dl(ye){let ge=[];return(ye||[]).forEach(at=>{let{value:wt,children:$t}=at;ge.push(wt),$t&&(ge=[].concat((0,_t.Z)(ge),(0,_t.Z)(Dl($t))))}),ge}function Gl(ye){return ye.some(ge=>{let{children:at}=ge;return at})}function os(ye,ge){return typeof ge=="string"||typeof ge=="number"?ge==null?void 0:ge.toString().toLowerCase().includes(ye.trim().toLowerCase()):!1}function hs(ye){let{filters:ge,prefixCls:at,filteredKeys:wt,filterMultiple:$t,searchValue:an,filterSearch:An}=ye;return ge.map((En,Mn)=>{const Nn=String(En.value);if(En.children)return{key:Nn||Mn,label:En.text,popupClassName:`${at}-dropdown-submenu`,children:hs({filters:En.children,prefixCls:at,filteredKeys:wt,filterMultiple:$t,searchValue:an,filterSearch:An})};const ir=$t?Io.default:fo.ZP,tr={key:En.value!==void 0?Nn:Mn,label:b.createElement(b.Fragment,null,b.createElement(ir,{checked:wt.includes(Nn)}),b.createElement("span",null,En.text))};return an.trim()?typeof An=="function"?An(an,En)?tr:null:os(an,En.text)?tr:null:tr})}function _l(ye){return ye||[]}var Ja=ye=>{var ge,at,wt,$t;const{tablePrefixCls:an,prefixCls:An,column:En,dropdownPrefixCls:Mn,columnKey:Nn,filterOnClose:ir,filterMultiple:tr,filterMode:Qn="menu",filterSearch:Kn=!1,filterState:Hn,triggerFilter:Or,locale:cr,children:Hr,getPopupContainer:Nr,rootClassName:_r}=ye,{filterResetToDefaultFilteredValue:Wr,defaultFilteredValue:Yr,filterDropdownProps:ao={},filterDropdownOpen:po,filterDropdownVisible:xo,onFilterDropdownVisibleChange:$o,onFilterDropdownOpenChange:Gr}=En,[jr,oo]=b.useState(!1),Sr=!!(Hn&&(!((ge=Hn.filteredKeys)===null||ge===void 0)&&ge.length||Hn.forceFiltered)),xr=ui=>{var gi;oo(ui),(gi=ao.onOpenChange)===null||gi===void 0||gi.call(ao,ui),Gr==null||Gr(ui),$o==null||$o(ui)},to=($t=(wt=(at=ao.open)!==null&&at!==void 0?at:po)!==null&&wt!==void 0?wt:xo)!==null&&$t!==void 0?$t:jr,go=Hn==null?void 0:Hn.filteredKeys,[Do,Jo]=Ii(_l(go)),Co=ui=>{let{selectedKeys:gi}=ui;Jo(gi)},Fi=(ui,gi)=>{let{node:ea,checked:aa}=gi;Co(tr?{selectedKeys:ui}:{selectedKeys:aa&&ea.key?[ea.key]:[]})};b.useEffect(()=>{jr&&Co({selectedKeys:_l(go)})},[go]);const[wi,ca]=b.useState([]),$i=ui=>{ca(ui)},[ia,ma]=b.useState(""),ga=ui=>{const{value:gi}=ui.target;ma(gi)};b.useEffect(()=>{jr||ma("")},[jr]);const Ti=ui=>{const gi=ui!=null&&ui.length?ui:null;if(gi===null&&(!Hn||!Hn.filteredKeys)||(0,Ae.Z)(gi,Hn==null?void 0:Hn.filteredKeys,!0))return null;Or({column:En,key:Nn,filteredKeys:gi})},ki=()=>{xr(!1),Ti(Do())},Ia=function(){let{confirm:ui,closeDropdown:gi}=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{confirm:!1,closeDropdown:!1};ui&&Ti([]),gi&&xr(!1),ma(""),Jo(Wr?(Yr||[]).map(ea=>String(ea)):[])},Na=function(){let{closeDropdown:ui}=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{closeDropdown:!0};ui&&xr(!1),Ti(Do())},oi=(ui,gi)=>{gi.source==="trigger"&&(ui&&go!==void 0&&Jo(_l(go)),xr(ui),!ui&&!En.filterDropdown&&ir&&ki())},Ai=Se()({[`${Mn}-menu-without-submenu`]:!Gl(En.filters||[])}),ti=ui=>{if(ui.target.checked){const gi=Dl(En==null?void 0:En.filters).map(ea=>String(ea));Jo(gi)}else Jo([])},Ho=ui=>{let{filters:gi}=ui;return(gi||[]).map((ea,aa)=>{const la=String(ea.value),Wa={title:ea.text,key:ea.value!==void 0?la:String(aa)};return ea.children&&(Wa.children=Ho({filters:ea.children})),Wa})},ji=ui=>{var gi;return Object.assign(Object.assign({},ui),{text:ui.title,value:ui.key,children:((gi=ui.children)===null||gi===void 0?void 0:gi.map(ea=>ji(ea)))||[]})};let Ji;const{direction:ya,renderEmpty:qi}=b.useContext(Pa.E_);if(typeof En.filterDropdown=="function")Ji=En.filterDropdown({prefixCls:`${Mn}-custom`,setSelectedKeys:ui=>Co({selectedKeys:ui}),selectedKeys:Do(),confirm:Na,clearFilters:Ia,filters:En.filters,visible:to,close:()=>{xr(!1)}});else if(En.filterDropdown)Ji=En.filterDropdown;else{const ui=Do()||[],gi=()=>{var aa,la;const Wa=(aa=qi==null?void 0:qi("Table.filter"))!==null&&aa!==void 0?aa:b.createElement(wl.Z,{image:wl.Z.PRESENTED_IMAGE_SIMPLE,description:cr.filterEmptyText,styles:{image:{height:24}},style:{margin:0,padding:"16px 0"}});if((En.filters||[]).length===0)return Wa;if(Qn==="tree")return b.createElement(b.Fragment,null,b.createElement(Yl,{filterSearch:Kn,value:ia,onChange:ga,tablePrefixCls:an,locale:cr}),b.createElement("div",{className:`${an}-filter-dropdown-tree`},tr?b.createElement(Io.default,{checked:ui.length===Dl(En.filters).length,indeterminate:ui.length>0&&ui.length<Dl(En.filters).length,className:`${an}-filter-dropdown-checkall`,onChange:ti},(la=cr==null?void 0:cr.filterCheckall)!==null&&la!==void 0?la:cr==null?void 0:cr.filterCheckAll):null,b.createElement(Xa.default,{checkable:!0,selectable:!1,blockNode:!0,multiple:tr,checkStrictly:!tr,className:`${Mn}-menu`,onCheck:Fi,checkedKeys:ui,selectedKeys:ui,showIcon:!1,treeData:Ho({filters:En.filters}),autoExpandParent:!0,defaultExpandAll:!0,filterTreeNode:ia.trim()?va=>typeof Kn=="function"?Kn(ia,ji(va)):os(ia,va.title):void 0})));const ba=hs({filters:En.filters||[],filterSearch:Kn,prefixCls:An,filteredKeys:Do(),filterMultiple:tr,searchValue:ia}),il=ba.every(va=>va===null);return b.createElement(b.Fragment,null,b.createElement(Yl,{filterSearch:Kn,value:ia,onChange:ga,tablePrefixCls:an,locale:cr}),il?Wa:b.createElement(cl.default,{selectable:!0,multiple:tr,prefixCls:`${Mn}-menu`,className:Ai,onSelect:Co,onDeselect:Co,selectedKeys:ui,getPopupContainer:Nr,openKeys:wi,onOpenChange:$i,items:ba}))},ea=()=>Wr?(0,Ae.Z)((Yr||[]).map(aa=>String(aa)),ui,!0):ui.length===0;Ji=b.createElement(b.Fragment,null,gi(),b.createElement("div",{className:`${An}-dropdown-btns`},b.createElement(Ga.ZP,{type:"link",size:"small",disabled:ea(),onClick:()=>Ia()},cr.filterReset),b.createElement(Ga.ZP,{type:"primary",size:"small",onClick:ki},cr.filterConfirm)))}En.filterDropdown&&(Ji=b.createElement(el.J,{selectable:void 0},Ji)),Ji=b.createElement(rs,{className:`${An}-dropdown`},Ji);const ka=()=>{let ui;return typeof En.filterIcon=="function"?ui=En.filterIcon(Sr):En.filterIcon?ui=En.filterIcon:ui=b.createElement(Ea,null),b.createElement("span",{role:"button",tabIndex:-1,className:Se()(`${An}-trigger`,{active:Sr}),onClick:gi=>{gi.stopPropagation()}},ui)},Sa=(0,Oa.Z)({trigger:["click"],placement:ya==="rtl"?"bottomLeft":"bottomRight",children:ka(),getPopupContainer:Nr},Object.assign(Object.assign({},ao),{rootClassName:Se()(_r,ao.rootClassName),open:to,onOpenChange:oi,dropdownRender:()=>typeof(ao==null?void 0:ao.dropdownRender)=="function"?ao.dropdownRender(Ji):Ji}));return b.createElement("div",{className:`${An}-column`},b.createElement("span",{className:`${an}-column-title`},Hr),b.createElement(co.Z,Object.assign({},Sa)))};const $a=(ye,ge,at)=>{let wt=[];return(ye||[]).forEach(($t,an)=>{var An;const En=ho(an,at);if($t.filters||"filterDropdown"in $t||"onFilter"in $t)if("filteredValue"in $t){let Mn=$t.filteredValue;"filterDropdown"in $t||(Mn=(An=Mn==null?void 0:Mn.map(String))!==null&&An!==void 0?An:Mn),wt.push({column:$t,key:wo($t,En),filteredKeys:Mn,forceFiltered:$t.filtered})}else wt.push({column:$t,key:wo($t,En),filteredKeys:ge&&$t.defaultFilteredValue?$t.defaultFilteredValue:void 0,forceFiltered:$t.filtered});"children"in $t&&(wt=[].concat((0,_t.Z)(wt),(0,_t.Z)($a($t.children,ge,En))))}),wt};function fa(ye,ge,at,wt,$t,an,An,En,Mn){return at.map((Nn,ir)=>{const tr=ho(ir,En),{filterOnClose:Qn=!0,filterMultiple:Kn=!0,filterMode:Hn,filterSearch:Or}=Nn;let cr=Nn;if(cr.filters||cr.filterDropdown){const Hr=wo(cr,tr),Nr=wt.find(_r=>{let{key:Wr}=_r;return Hr===Wr});cr=Object.assign(Object.assign({},cr),{title:_r=>b.createElement(Ja,{tablePrefixCls:ye,prefixCls:`${ye}-filter`,dropdownPrefixCls:ge,column:cr,columnKey:Hr,filterState:Nr,filterOnClose:Qn,filterMultiple:Kn,filterMode:Hn,filterSearch:Or,triggerFilter:an,locale:$t,getPopupContainer:An,rootClassName:Mn},To(Nn.title,_r))})}return"children"in cr&&(cr=Object.assign(Object.assign({},cr),{children:fa(ye,ge,cr.children,wt,$t,an,An,tr,Mn)})),cr})}const Hi=ye=>{const ge={};return ye.forEach(at=>{let{key:wt,filteredKeys:$t,column:an}=at;const An=wt,{filters:En,filterDropdown:Mn}=an;if(Mn)ge[An]=$t||null;else if(Array.isArray($t)){const Nn=Dl(En);ge[An]=Nn.filter(ir=>$t.includes(String(ir)))}else ge[An]=null}),ge},Ci=(ye,ge,at)=>ge.reduce(($t,an)=>{const{column:{onFilter:An,filters:En},filteredKeys:Mn}=an;return An&&Mn&&Mn.length?$t.map(Nn=>Object.assign({},Nn)).filter(Nn=>Mn.some(ir=>{const tr=Dl(En),Qn=tr.findIndex(Hn=>String(Hn)===String(ir)),Kn=Qn!==-1?tr[Qn]:ir;return Nn[at]&&(Nn[at]=Ci(Nn[at],ge,at)),An(Kn,Nn)})):$t},ye),sa=ye=>ye.flatMap(ge=>"children"in ge?[ge].concat((0,_t.Z)(sa(ge.children||[]))):[ge]);var wa=ye=>{const{prefixCls:ge,dropdownPrefixCls:at,mergedColumns:wt,onFilterChange:$t,getPopupContainer:an,locale:An,rootClassName:En}=ye,Mn=(0,io.ln)("Table"),Nn=b.useMemo(()=>sa(wt||[]),[wt]),[ir,tr]=b.useState(()=>$a(Nn,!0)),Qn=b.useMemo(()=>{const cr=$a(Nn,!1);if(cr.length===0)return cr;let Hr=!0,Nr=!0;if(cr.forEach(_r=>{let{filteredKeys:Wr}=_r;Wr!==void 0?Hr=!1:Nr=!1}),Hr){const _r=(Nn||[]).map((Wr,Yr)=>wo(Wr,ho(Yr)));return ir.filter(Wr=>{let{key:Yr}=Wr;return _r.includes(Yr)}).map(Wr=>{const Yr=Nn[_r.findIndex(ao=>ao===Wr.key)];return Object.assign(Object.assign({},Wr),{column:Object.assign(Object.assign({},Wr.column),Yr),forceFiltered:Yr.filtered})})}return cr},[Nn,ir]),Kn=b.useMemo(()=>Hi(Qn),[Qn]),Hn=cr=>{const Hr=Qn.filter(Nr=>{let{key:_r}=Nr;return _r!==cr.key});Hr.push(cr),tr(Hr),$t(Hi(Hr),Hr)};return[cr=>fa(ge,at,cr,Qn,An,Hn,an,void 0,En),Qn,Kn]},tl=(ye,ge,at)=>{const wt=b.useRef({});function $t(an){var An;if(!wt.current||wt.current.data!==ye||wt.current.childrenColumnName!==ge||wt.current.getRowKey!==at){let Mn=function(Nn){Nn.forEach((ir,tr)=>{const Qn=at(ir,tr);En.set(Qn,ir),ir&&typeof ir=="object"&&ge in ir&&Mn(ir[ge]||[])})};const En=new Map;Mn(ye),wt.current={data:ye,childrenColumnName:ge,kvMap:En,getRowKey:at}}return(An=wt.current.kvMap)===null||An===void 0?void 0:An.get(an)}return[$t]},Ka=function(ye,ge){var at={};for(var wt in ye)Object.prototype.hasOwnProperty.call(ye,wt)&&ge.indexOf(wt)<0&&(at[wt]=ye[wt]);if(ye!=null&&typeof Object.getOwnPropertySymbols=="function")for(var $t=0,wt=Object.getOwnPropertySymbols(ye);$t<wt.length;$t++)ge.indexOf(wt[$t])<0&&Object.prototype.propertyIsEnumerable.call(ye,wt[$t])&&(at[wt[$t]]=ye[wt[$t]]);return at};const nl=10;function _a(ye,ge){const at={current:ye.current,pageSize:ye.pageSize};return Object.keys(ge&&typeof ge=="object"?ge:{}).forEach($t=>{const an=ye[$t];typeof an!="function"&&(at[$t]=an)}),at}function rl(ye,ge,at){const wt=at&&typeof at=="object"?at:{},{total:$t=0}=wt,an=Ka(wt,["total"]),[An,En]=(0,b.useState)(()=>({current:"defaultCurrent"in an?an.defaultCurrent:1,pageSize:"defaultPageSize"in an?an.defaultPageSize:nl})),Mn=(0,Oa.Z)(An,an,{total:$t>0?$t:ye}),Nn=Math.ceil(($t||ye)/Mn.pageSize);Mn.current>Nn&&(Mn.current=Nn||1);const ir=(Qn,Kn)=>{En({current:Qn!=null?Qn:1,pageSize:Kn||Mn.pageSize})},tr=(Qn,Kn)=>{var Hn;at&&((Hn=at.onChange)===null||Hn===void 0||Hn.call(at,Qn,Kn)),ir(Qn,Kn),ge(Qn,Kn||(Mn==null?void 0:Mn.pageSize))};return at===!1?[{},()=>{}]:[Object.assign(Object.assign({},Mn),{onChange:tr}),ir]}var ol=rl,kl=z(89489),ls=z(59477),Ls=z(25399);const ms="ascend",ql="descend",Xl=ye=>typeof ye.sorter=="object"&&typeof ye.sorter.multiple=="number"?ye.sorter.multiple:!1,vl=ye=>typeof ye=="function"?ye:ye&&typeof ye=="object"&&ye.compare?ye.compare:!1,es=(ye,ge)=>ge?ye[ye.indexOf(ge)+1]:ye[0],$l=(ye,ge,at)=>{let wt=[];const $t=(an,An)=>{wt.push({column:an,key:wo(an,An),multiplePriority:Xl(an),sortOrder:an.sortOrder})};return(ye||[]).forEach((an,An)=>{const En=ho(An,at);an.children?("sortOrder"in an&&$t(an,En),wt=[].concat((0,_t.Z)(wt),(0,_t.Z)($l(an.children,ge,En)))):an.sorter&&("sortOrder"in an?$t(an,En):ge&&an.defaultSortOrder&&wt.push({column:an,key:wo(an,En),multiplePriority:Xl(an),sortOrder:an.defaultSortOrder}))}),wt},Ds=(ye,ge,at,wt,$t,an,An,En)=>(ge||[]).map((Nn,ir)=>{const tr=ho(ir,En);let Qn=Nn;if(Qn.sorter){const Kn=Qn.sortDirections||$t,Hn=Qn.showSorterTooltip===void 0?An:Qn.showSorterTooltip,Or=wo(Qn,tr),cr=at.find($o=>{let{key:Gr}=$o;return Gr===Or}),Hr=cr?cr.sortOrder:null,Nr=es(Kn,Hr);let _r;if(Nn.sortIcon)_r=Nn.sortIcon({sortOrder:Hr});else{const $o=Kn.includes(ms)&&b.createElement(ls.Z,{className:Se()(`${ye}-column-sorter-up`,{active:Hr===ms})}),Gr=Kn.includes(ql)&&b.createElement(kl.Z,{className:Se()(`${ye}-column-sorter-down`,{active:Hr===ql})});_r=b.createElement("span",{className:Se()(`${ye}-column-sorter`,{[`${ye}-column-sorter-full`]:!!($o&&Gr)})},b.createElement("span",{className:`${ye}-column-sorter-inner`,"aria-hidden":"true"},$o,Gr))}const{cancelSort:Wr,triggerAsc:Yr,triggerDesc:ao}=an||{};let po=Wr;Nr===ql?po=ao:Nr===ms&&(po=Yr);const xo=typeof Hn=="object"?Object.assign({title:po},Hn):{title:po};Qn=Object.assign(Object.assign({},Qn),{className:Se()(Qn.className,{[`${ye}-column-sort`]:Hr}),title:$o=>{const Gr=`${ye}-column-sorters`,jr=b.createElement("span",{className:`${ye}-column-title`},To(Nn.title,$o)),oo=b.createElement("div",{className:Gr},jr,_r);return Hn?typeof Hn!="boolean"&&(Hn==null?void 0:Hn.target)==="sorter-icon"?b.createElement("div",{className:`${Gr} ${ye}-column-sorters-tooltip-target-sorter`},jr,b.createElement(Ls.Z,Object.assign({},xo),_r)):b.createElement(Ls.Z,Object.assign({},xo),oo):oo},onHeaderCell:$o=>{var Gr;const jr=((Gr=Nn.onHeaderCell)===null||Gr===void 0?void 0:Gr.call(Nn,$o))||{},oo=jr.onClick,Sr=jr.onKeyDown;jr.onClick=go=>{wt({column:Nn,key:Or,sortOrder:Nr,multiplePriority:Xl(Nn)}),oo==null||oo(go)},jr.onKeyDown=go=>{go.keyCode===as.Z.ENTER&&(wt({column:Nn,key:Or,sortOrder:Nr,multiplePriority:Xl(Nn)}),Sr==null||Sr(go))};const xr=si(Nn.title,{}),to=xr==null?void 0:xr.toString();return Hr&&(jr["aria-sort"]=Hr==="ascend"?"ascending":"descending"),jr["aria-label"]=to||"",jr.className=Se()(jr.className,`${ye}-column-has-sorters`),jr.tabIndex=0,Nn.ellipsis&&(jr.title=(xr!=null?xr:"").toString()),jr}})}return"children"in Qn&&(Qn=Object.assign(Object.assign({},Qn),{children:Ds(ye,Qn.children,at,wt,$t,an,An,tr)})),Qn}),Ys=ye=>{const{column:ge,sortOrder:at}=ye;return{column:ge,order:at,field:ge.dataIndex,columnKey:ge.key}},Ps=ye=>{const ge=ye.filter(at=>{let{sortOrder:wt}=at;return wt}).map(Ys);if(ge.length===0&&ye.length){const at=ye.length-1;return Object.assign(Object.assign({},Ys(ye[at])),{column:void 0,order:void 0,field:void 0,columnKey:void 0})}return ge.length<=1?ge[0]||{}:ge},ss=(ye,ge,at)=>{const wt=ge.slice().sort((An,En)=>En.multiplePriority-An.multiplePriority),$t=ye.slice(),an=wt.filter(An=>{let{column:{sorter:En},sortOrder:Mn}=An;return vl(En)&&Mn});return an.length?$t.sort((An,En)=>{for(let Mn=0;Mn<an.length;Mn+=1){const Nn=an[Mn],{column:{sorter:ir},sortOrder:tr}=Nn,Qn=vl(ir);if(Qn&&tr){const Kn=Qn(An,En,tr);if(Kn!==0)return tr===ms?Kn:-Kn}}return 0}).map(An=>{const En=An[at];return En?Object.assign(Object.assign({},An),{[at]:ss(En,ge,at)}):An}):$t};var Gs=ye=>{const{prefixCls:ge,mergedColumns:at,sortDirections:wt,tableLocale:$t,showSorterTooltip:an,onSorterChange:An}=ye,[En,Mn]=b.useState($l(at,!0)),Nn=(Or,cr)=>{const Hr=[];return Or.forEach((Nr,_r)=>{const Wr=ho(_r,cr);if(Hr.push(wo(Nr,Wr)),Array.isArray(Nr.children)){const Yr=Nn(Nr.children,Wr);Hr.push.apply(Hr,(0,_t.Z)(Yr))}}),Hr},ir=b.useMemo(()=>{let Or=!0;const cr=$l(at,!1);if(!cr.length){const Wr=Nn(at);return En.filter(Yr=>{let{key:ao}=Yr;return Wr.includes(ao)})}const Hr=[];function Nr(Wr){Or?Hr.push(Wr):Hr.push(Object.assign(Object.assign({},Wr),{sortOrder:null}))}let _r=null;return cr.forEach(Wr=>{_r===null?(Nr(Wr),Wr.sortOrder&&(Wr.multiplePriority===!1?Or=!1:_r=!0)):(_r&&Wr.multiplePriority!==!1||(Or=!1),Nr(Wr))}),Hr},[at,En]),tr=b.useMemo(()=>{var Or,cr;const Hr=ir.map(Nr=>{let{column:_r,sortOrder:Wr}=Nr;return{column:_r,order:Wr}});return{sortColumns:Hr,sortColumn:(Or=Hr[0])===null||Or===void 0?void 0:Or.column,sortOrder:(cr=Hr[0])===null||cr===void 0?void 0:cr.order}},[ir]),Qn=Or=>{let cr;Or.multiplePriority===!1||!ir.length||ir[0].multiplePriority===!1?cr=[Or]:cr=[].concat((0,_t.Z)(ir.filter(Hr=>{let{key:Nr}=Hr;return Nr!==Or.key})),[Or]),Mn(cr),An(Ps(cr),cr)};return[Or=>Ds(ge,Or,ir,Qn,wt,$t,an),ir,tr,()=>Ps(ir)]};const xs=(ye,ge)=>ye.map(wt=>{const $t=Object.assign({},wt);return $t.title=To(wt.title,ge),"children"in $t&&($t.children=xs($t.children,ge)),$t});var Ts=ye=>[b.useCallback(at=>xs(at,ye),[ye])],Rs=no((ye,ge)=>{const{_renderTimes:at}=ye,{_renderTimes:wt}=ge;return at!==wt}),vs=it((ye,ge)=>{const{_renderTimes:at}=ye,{_renderTimes:wt}=ge;return at!==wt}),Ei=z(36237),ps=z(17835),ie=z(63356),Ee=z(16931),Xe=z(51636),Lt=ye=>{const{componentCls:ge,lineWidth:at,lineType:wt,tableBorderColor:$t,tableHeaderBg:an,tablePaddingVertical:An,tablePaddingHorizontal:En,calc:Mn}=ye,Nn=`${(0,Ei.unit)(at)} ${wt} ${$t}`,ir=(tr,Qn,Kn)=>({[`&${ge}-${tr}`]:{[`> ${ge}-container`]:{[`> ${ge}-content, > ${ge}-body`]:{"\n > table > tbody > tr > th,\n > table > tbody > tr > td\n ":{[`> ${ge}-expanded-row-fixed`]:{margin:`${(0,Ei.unit)(Mn(Qn).mul(-1).equal())}
|
|
|
${(0,Ei.unit)(Mn(Mn(Kn).add(at)).mul(-1).equal())}`}}}}}});return{[`${ge}-wrapper`]:{[`${ge}${ge}-bordered`]:Object.assign(Object.assign(Object.assign({[`> ${ge}-title`]:{border:Nn,borderBottom:0},[`> ${ge}-container`]:{borderInlineStart:Nn,borderTop:Nn,[`
|
|
|
> ${ge}-content,
|
|
|
> ${ge}-header,
|
|
|
> ${ge}-body,
|
|
|
> ${ge}-summary
|
|
|
`]:{"> table":{"\n > thead > tr > th,\n > thead > tr > td,\n > tbody > tr > th,\n > tbody > tr > td,\n > tfoot > tr > th,\n > tfoot > tr > td\n ":{borderInlineEnd:Nn},"> thead":{"> tr:not(:last-child) > th":{borderBottom:Nn},"> tr > th::before":{backgroundColor:"transparent !important"}},"\n > thead > tr,\n > tbody > tr,\n > tfoot > tr\n ":{[`> ${ge}-cell-fix-right-first::after`]:{borderInlineEnd:Nn}},"\n > tbody > tr > th,\n > tbody > tr > td\n ":{[`> ${ge}-expanded-row-fixed`]:{margin:`${(0,Ei.unit)(Mn(An).mul(-1).equal())} ${(0,Ei.unit)(Mn(Mn(En).add(at)).mul(-1).equal())}`,"&::after":{position:"absolute",top:0,insetInlineEnd:at,bottom:0,borderInlineEnd:Nn,content:'""'}}}}}},[`&${ge}-scroll-horizontal`]:{[`> ${ge}-container > ${ge}-body`]:{"> table > tbody":{[`
|
|
|
> tr${ge}-expanded-row,
|
|
|
> tr${ge}-placeholder
|
|
|
`]:{"> th, > td":{borderInlineEnd:0}}}}}},ir("middle",ye.tablePaddingVerticalMiddle,ye.tablePaddingHorizontalMiddle)),ir("small",ye.tablePaddingVerticalSmall,ye.tablePaddingHorizontalSmall)),{[`> ${ge}-footer`]:{border:Nn,borderTop:0}}),[`${ge}-cell`]:{[`${ge}-container:first-child`]:{borderTop:0},"&-scrollbar:not([rowspan])":{boxShadow:`0 ${(0,Ei.unit)(at)} 0 ${(0,Ei.unit)(at)} ${an}`}},[`${ge}-bordered ${ge}-cell-scrollbar`]:{borderInlineEnd:Nn}}}},Vn=ye=>{const{componentCls:ge}=ye;return{[`${ge}-wrapper`]:{[`${ge}-cell-ellipsis`]:Object.assign(Object.assign({},ie.vS),{wordBreak:"keep-all",[`
|
|
|
&${ge}-cell-fix-left-last,
|
|
|
&${ge}-cell-fix-right-first
|
|
|
`]:{overflow:"visible",[`${ge}-cell-content`]:{display:"block",overflow:"hidden",textOverflow:"ellipsis"}},[`${ge}-column-title`]:{overflow:"hidden",textOverflow:"ellipsis",wordBreak:"keep-all"}})}}},sr=ye=>{const{componentCls:ge}=ye;return{[`${ge}-wrapper`]:{[`${ge}-tbody > tr${ge}-placeholder`]:{textAlign:"center",color:ye.colorTextDisabled,"\n &:hover > th,\n &:hover > td,\n ":{background:ye.colorBgContainer}}}}},Xn=ye=>{const{componentCls:ge,antCls:at,motionDurationSlow:wt,lineWidth:$t,paddingXS:an,lineType:An,tableBorderColor:En,tableExpandIconBg:Mn,tableExpandColumnWidth:Nn,borderRadius:ir,tablePaddingVertical:tr,tablePaddingHorizontal:Qn,tableExpandedRowBg:Kn,paddingXXS:Hn,expandIconMarginTop:Or,expandIconSize:cr,expandIconHalfInner:Hr,expandIconScale:Nr,calc:_r}=ye,Wr=`${(0,Ei.unit)($t)} ${An} ${En}`,Yr=_r(Hn).sub($t).equal();return{[`${ge}-wrapper`]:{[`${ge}-expand-icon-col`]:{width:Nn},[`${ge}-row-expand-icon-cell`]:{textAlign:"center",[`${ge}-row-expand-icon`]:{display:"inline-flex",float:"none",verticalAlign:"sub"}},[`${ge}-row-indent`]:{height:1,float:"left"},[`${ge}-row-expand-icon`]:Object.assign(Object.assign({},(0,ie.Nd)(ye)),{position:"relative",float:"left",width:cr,height:cr,color:"inherit",lineHeight:(0,Ei.unit)(cr),background:Mn,border:Wr,borderRadius:ir,transform:`scale(${Nr})`,"&:focus, &:hover, &:active":{borderColor:"currentcolor"},"&::before, &::after":{position:"absolute",background:"currentcolor",transition:`transform ${wt} ease-out`,content:'""'},"&::before":{top:Hr,insetInlineEnd:Yr,insetInlineStart:Yr,height:$t},"&::after":{top:Yr,bottom:Yr,insetInlineStart:Hr,width:$t,transform:"rotate(90deg)"},"&-collapsed::before":{transform:"rotate(-180deg)"},"&-collapsed::after":{transform:"rotate(0deg)"},"&-spaced":{"&::before, &::after":{display:"none",content:"none"},background:"transparent",border:0,visibility:"hidden"}}),[`${ge}-row-indent + ${ge}-row-expand-icon`]:{marginTop:Or,marginInlineEnd:an},[`tr${ge}-expanded-row`]:{"&, &:hover":{"> th, > td":{background:Kn}},[`${at}-descriptions-view`]:{display:"flex",table:{flex:"auto",width:"100%"}}},[`${ge}-expanded-row-fixed`]:{position:"relative",margin:`${(0,Ei.unit)(_r(tr).mul(-1).equal())} ${(0,Ei.unit)(_r(Qn).mul(-1).equal())}`,padding:`${(0,Ei.unit)(tr)} ${(0,Ei.unit)(Qn)}`}}}},Fr=ye=>{const{componentCls:ge,antCls:at,iconCls:wt,tableFilterDropdownWidth:$t,tableFilterDropdownSearchWidth:an,paddingXXS:An,paddingXS:En,colorText:Mn,lineWidth:Nn,lineType:ir,tableBorderColor:tr,headerIconColor:Qn,fontSizeSM:Kn,tablePaddingHorizontal:Hn,borderRadius:Or,motionDurationSlow:cr,colorTextDescription:Hr,colorPrimary:Nr,tableHeaderFilterActiveBg:_r,colorTextDisabled:Wr,tableFilterDropdownBg:Yr,tableFilterDropdownHeight:ao,controlItemBgHover:po,controlItemBgActive:xo,boxShadowSecondary:$o,filterDropdownMenuBg:Gr,calc:jr}=ye,oo=`${at}-dropdown`,Sr=`${ge}-filter-dropdown`,xr=`${at}-tree`,to=`${(0,Ei.unit)(Nn)} ${ir} ${tr}`;return[{[`${ge}-wrapper`]:{[`${ge}-filter-column`]:{display:"flex",justifyContent:"space-between"},[`${ge}-filter-trigger`]:{position:"relative",display:"flex",alignItems:"center",marginBlock:jr(An).mul(-1).equal(),marginInline:`${(0,Ei.unit)(An)} ${(0,Ei.unit)(jr(Hn).div(2).mul(-1).equal())}`,padding:`0 ${(0,Ei.unit)(An)}`,color:Qn,fontSize:Kn,borderRadius:Or,cursor:"pointer",transition:`all ${cr}`,"&:hover":{color:Hr,background:_r},"&.active":{color:Nr}}}},{[`${at}-dropdown`]:{[Sr]:Object.assign(Object.assign({},(0,ie.Wf)(ye)),{minWidth:$t,backgroundColor:Yr,borderRadius:Or,boxShadow:$o,overflow:"hidden",[`${oo}-menu`]:{maxHeight:ao,overflowX:"hidden",border:0,boxShadow:"none",borderRadius:"unset",backgroundColor:Gr,"&:empty::after":{display:"block",padding:`${(0,Ei.unit)(En)} 0`,color:Wr,fontSize:Kn,textAlign:"center",content:'"Not Found"'}},[`${Sr}-tree`]:{paddingBlock:`${(0,Ei.unit)(En)} 0`,paddingInline:En,[xr]:{padding:0},[`${xr}-treenode ${xr}-node-content-wrapper:hover`]:{backgroundColor:po},[`${xr}-treenode-checkbox-checked ${xr}-node-content-wrapper`]:{"&, &:hover":{backgroundColor:xo}}},[`${Sr}-search`]:{padding:En,borderBottom:to,"&-input":{input:{minWidth:an},[wt]:{color:Wr}}},[`${Sr}-checkall`]:{width:"100%",marginBottom:An,marginInlineStart:An},[`${Sr}-btns`]:{display:"flex",justifyContent:"space-between",padding:`${(0,Ei.unit)(jr(En).sub(Nn).equal())} ${(0,Ei.unit)(En)}`,overflow:"hidden",borderTop:to}})}},{[`${at}-dropdown ${Sr}, ${Sr}-submenu`]:{[`${at}-checkbox-wrapper + span`]:{paddingInlineStart:En,color:Mn},"> ul":{maxHeight:"calc(100vh - 130px)",overflowX:"hidden",overflowY:"auto"}}}]},Dr=ye=>{const{componentCls:ge,lineWidth:at,colorSplit:wt,motionDurationSlow:$t,zIndexTableFixed:an,tableBg:An,zIndexTableSticky:En,calc:Mn}=ye,Nn=wt;return{[`${ge}-wrapper`]:{[`
|
|
|
${ge}-cell-fix-left,
|
|
|
${ge}-cell-fix-right
|
|
|
`]:{position:"sticky !important",zIndex:an,background:An},[`
|
|
|
${ge}-cell-fix-left-first::after,
|
|
|
${ge}-cell-fix-left-last::after
|
|
|
`]:{position:"absolute",top:0,right:{_skip_check_:!0,value:0},bottom:Mn(at).mul(-1).equal(),width:30,transform:"translateX(100%)",transition:`box-shadow ${$t}`,content:'""',pointerEvents:"none"},[`${ge}-cell-fix-left-all::after`]:{display:"none"},[`
|
|
|
${ge}-cell-fix-right-first::after,
|
|
|
${ge}-cell-fix-right-last::after
|
|
|
`]:{position:"absolute",top:0,bottom:Mn(at).mul(-1).equal(),left:{_skip_check_:!0,value:0},width:30,transform:"translateX(-100%)",transition:`box-shadow ${$t}`,content:'""',pointerEvents:"none"},[`${ge}-container`]:{position:"relative","&::before, &::after":{position:"absolute",top:0,bottom:0,zIndex:Mn(En).add(1).equal({unit:!1}),width:30,transition:`box-shadow ${$t}`,content:'""',pointerEvents:"none"},"&::before":{insetInlineStart:0},"&::after":{insetInlineEnd:0}},[`${ge}-ping-left`]:{[`&:not(${ge}-has-fix-left) ${ge}-container::before`]:{boxShadow:`inset 10px 0 8px -8px ${Nn}`},[`
|
|
|
${ge}-cell-fix-left-first::after,
|
|
|
${ge}-cell-fix-left-last::after
|
|
|
`]:{boxShadow:`inset 10px 0 8px -8px ${Nn}`},[`${ge}-cell-fix-left-last::before`]:{backgroundColor:"transparent !important"}},[`${ge}-ping-right`]:{[`&:not(${ge}-has-fix-right) ${ge}-container::after`]:{boxShadow:`inset -10px 0 8px -8px ${Nn}`},[`
|
|
|
${ge}-cell-fix-right-first::after,
|
|
|
${ge}-cell-fix-right-last::after
|
|
|
`]:{boxShadow:`inset -10px 0 8px -8px ${Nn}`}},[`${ge}-fixed-column-gapped`]:{[`
|
|
|
${ge}-cell-fix-left-first::after,
|
|
|
${ge}-cell-fix-left-last::after,
|
|
|
${ge}-cell-fix-right-first::after,
|
|
|
${ge}-cell-fix-right-last::after
|
|
|
`]:{boxShadow:"none"}}}}},Lr=ye=>{const{componentCls:ge,antCls:at,margin:wt}=ye;return{[`${ge}-wrapper`]:{[`${ge}-pagination${at}-pagination`]:{margin:`${(0,Ei.unit)(wt)} 0`},[`${ge}-pagination`]:{display:"flex",flexWrap:"wrap",rowGap:ye.paddingXS,"> *":{flex:"none"},"&-left":{justifyContent:"flex-start"},"&-center":{justifyContent:"center"},"&-right":{justifyContent:"flex-end"}}}}},So=ye=>{const{componentCls:ge,tableRadius:at}=ye;return{[`${ge}-wrapper`]:{[ge]:{[`${ge}-title, ${ge}-header`]:{borderRadius:`${(0,Ei.unit)(at)} ${(0,Ei.unit)(at)} 0 0`},[`${ge}-title + ${ge}-container`]:{borderStartStartRadius:0,borderStartEndRadius:0,[`${ge}-header, table`]:{borderRadius:0},"table > thead > tr:first-child":{"th:first-child, th:last-child, td:first-child, td:last-child":{borderRadius:0}}},"&-container":{borderStartStartRadius:at,borderStartEndRadius:at,"table > thead > tr:first-child":{"> *:first-child":{borderStartStartRadius:at},"> *:last-child":{borderStartEndRadius:at}}},"&-footer":{borderRadius:`0 0 ${(0,Ei.unit)(at)} ${(0,Ei.unit)(at)}`}}}}},Ur=ye=>{const{componentCls:ge}=ye;return{[`${ge}-wrapper-rtl`]:{direction:"rtl",table:{direction:"rtl"},[`${ge}-pagination-left`]:{justifyContent:"flex-end"},[`${ge}-pagination-right`]:{justifyContent:"flex-start"},[`${ge}-row-expand-icon`]:{float:"right","&::after":{transform:"rotate(-90deg)"},"&-collapsed::before":{transform:"rotate(180deg)"},"&-collapsed::after":{transform:"rotate(0deg)"}},[`${ge}-container`]:{"&::before":{insetInlineStart:"unset",insetInlineEnd:0},"&::after":{insetInlineStart:0,insetInlineEnd:"unset"},[`${ge}-row-indent`]:{float:"right"}}}}},ro=ye=>{const{componentCls:ge,antCls:at,iconCls:wt,fontSizeIcon:$t,padding:an,paddingXS:An,headerIconColor:En,headerIconHoverColor:Mn,tableSelectionColumnWidth:Nn,tableSelectedRowBg:ir,tableSelectedRowHoverBg:tr,tableRowHoverBg:Qn,tablePaddingHorizontal:Kn,calc:Hn}=ye;return{[`${ge}-wrapper`]:{[`${ge}-selection-col`]:{width:Nn,[`&${ge}-selection-col-with-dropdown`]:{width:Hn(Nn).add($t).add(Hn(an).div(4)).equal()}},[`${ge}-bordered ${ge}-selection-col`]:{width:Hn(Nn).add(Hn(An).mul(2)).equal(),[`&${ge}-selection-col-with-dropdown`]:{width:Hn(Nn).add($t).add(Hn(an).div(4)).add(Hn(An).mul(2)).equal()}},[`
|
|
|
table tr th${ge}-selection-column,
|
|
|
table tr td${ge}-selection-column,
|
|
|
${ge}-selection-column
|
|
|
`]:{paddingInlineEnd:ye.paddingXS,paddingInlineStart:ye.paddingXS,textAlign:"center",[`${at}-radio-wrapper`]:{marginInlineEnd:0}},[`table tr th${ge}-selection-column${ge}-cell-fix-left`]:{zIndex:Hn(ye.zIndexTableFixed).add(1).equal({unit:!1})},[`table tr th${ge}-selection-column::after`]:{backgroundColor:"transparent !important"},[`${ge}-selection`]:{position:"relative",display:"inline-flex",flexDirection:"column"},[`${ge}-selection-extra`]:{position:"absolute",top:0,zIndex:1,cursor:"pointer",transition:`all ${ye.motionDurationSlow}`,marginInlineStart:"100%",paddingInlineStart:(0,Ei.unit)(Hn(Kn).div(4).equal()),[wt]:{color:En,fontSize:$t,verticalAlign:"baseline","&:hover":{color:Mn}}},[`${ge}-tbody`]:{[`${ge}-row`]:{[`&${ge}-row-selected`]:{[`> ${ge}-cell`]:{background:ir,"&-row-hover":{background:tr}}},[`> ${ge}-cell-row-hover`]:{background:Qn}}}}}},ai=ye=>{const{componentCls:ge,tableExpandColumnWidth:at,calc:wt}=ye,$t=(an,An,En,Mn)=>({[`${ge}${ge}-${an}`]:{fontSize:Mn,[`
|
|
|
${ge}-title,
|
|
|
${ge}-footer,
|
|
|
${ge}-cell,
|
|
|
${ge}-thead > tr > th,
|
|
|
${ge}-tbody > tr > th,
|
|
|
${ge}-tbody > tr > td,
|
|
|
tfoot > tr > th,
|
|
|
tfoot > tr > td
|
|
|
`]:{padding:`${(0,Ei.unit)(An)} ${(0,Ei.unit)(En)}`},[`${ge}-filter-trigger`]:{marginInlineEnd:(0,Ei.unit)(wt(En).div(2).mul(-1).equal())},[`${ge}-expanded-row-fixed`]:{margin:`${(0,Ei.unit)(wt(An).mul(-1).equal())} ${(0,Ei.unit)(wt(En).mul(-1).equal())}`},[`${ge}-tbody`]:{[`${ge}-wrapper:only-child ${ge}`]:{marginBlock:(0,Ei.unit)(wt(An).mul(-1).equal()),marginInline:`${(0,Ei.unit)(wt(at).sub(En).equal())} ${(0,Ei.unit)(wt(En).mul(-1).equal())}`}},[`${ge}-selection-extra`]:{paddingInlineStart:(0,Ei.unit)(wt(En).div(4).equal())}}});return{[`${ge}-wrapper`]:Object.assign(Object.assign({},$t("middle",ye.tablePaddingVerticalMiddle,ye.tablePaddingHorizontalMiddle,ye.tableFontSizeMiddle)),$t("small",ye.tablePaddingVerticalSmall,ye.tablePaddingHorizontalSmall,ye.tableFontSizeSmall))}},Go=ye=>{const{componentCls:ge,marginXXS:at,fontSizeIcon:wt,headerIconColor:$t,headerIconHoverColor:an}=ye;return{[`${ge}-wrapper`]:{[`${ge}-thead th${ge}-column-has-sorters`]:{outline:"none",cursor:"pointer",transition:`all ${ye.motionDurationSlow}, left 0s`,"&:hover":{background:ye.tableHeaderSortHoverBg,"&::before":{backgroundColor:"transparent !important"}},"&:focus-visible":{color:ye.colorPrimary},[`
|
|
|
&${ge}-cell-fix-left:hover,
|
|
|
&${ge}-cell-fix-right:hover
|
|
|
`]:{background:ye.tableFixedHeaderSortActiveBg}},[`${ge}-thead th${ge}-column-sort`]:{background:ye.tableHeaderSortBg,"&::before":{backgroundColor:"transparent !important"}},[`td${ge}-column-sort`]:{background:ye.tableBodySortBg},[`${ge}-column-title`]:{position:"relative",zIndex:1,flex:1,minWidth:0},[`${ge}-column-sorters`]:{display:"flex",flex:"auto",alignItems:"center",justifyContent:"space-between","&::after":{position:"absolute",inset:0,width:"100%",height:"100%",content:'""'}},[`${ge}-column-sorters-tooltip-target-sorter`]:{"&::after":{content:"none"}},[`${ge}-column-sorter`]:{marginInlineStart:at,color:$t,fontSize:0,transition:`color ${ye.motionDurationSlow}`,"&-inner":{display:"inline-flex",flexDirection:"column",alignItems:"center"},"&-up, &-down":{fontSize:wt,"&.active":{color:ye.colorPrimary}},[`${ge}-column-sorter-up + ${ge}-column-sorter-down`]:{marginTop:"-0.3em"}},[`${ge}-column-sorters:hover ${ge}-column-sorter`]:{color:an}}}},ci=ye=>{const{componentCls:ge,opacityLoading:at,tableScrollThumbBg:wt,tableScrollThumbBgHover:$t,tableScrollThumbSize:an,tableScrollBg:An,zIndexTableSticky:En,stickyScrollBarBorderRadius:Mn,lineWidth:Nn,lineType:ir,tableBorderColor:tr}=ye,Qn=`${(0,Ei.unit)(Nn)} ${ir} ${tr}`;return{[`${ge}-wrapper`]:{[`${ge}-sticky`]:{"&-holder":{position:"sticky",zIndex:En,background:ye.colorBgContainer},"&-scroll":{position:"sticky",bottom:0,height:`${(0,Ei.unit)(an)} !important`,zIndex:En,display:"flex",alignItems:"center",background:An,borderTop:Qn,opacity:at,"&:hover":{transformOrigin:"center bottom"},"&-bar":{height:an,backgroundColor:wt,borderRadius:Mn,transition:`all ${ye.motionDurationSlow}, transform 0s`,position:"absolute",bottom:0,"&:hover, &-active":{backgroundColor:$t}}}}}}},Fo=ye=>{const{componentCls:ge,lineWidth:at,tableBorderColor:wt,calc:$t}=ye,an=`${(0,Ei.unit)(at)} ${ye.lineType} ${wt}`;return{[`${ge}-wrapper`]:{[`${ge}-summary`]:{position:"relative",zIndex:ye.zIndexTableFixed,background:ye.tableBg,"> tr":{"> th, > td":{borderBottom:an}}},[`div${ge}-summary`]:{boxShadow:`0 ${(0,Ei.unit)($t(at).mul(-1).equal())} 0 ${wt}`}}}},Ro=ye=>{const{componentCls:ge,motionDurationMid:at,lineWidth:wt,lineType:$t,tableBorderColor:an,calc:An}=ye,En=`${(0,Ei.unit)(wt)} ${$t} ${an}`,Mn=`${ge}-expanded-row-cell`;return{[`${ge}-wrapper`]:{[`${ge}-tbody-virtual`]:{[`${ge}-tbody-virtual-holder-inner`]:{[`
|
|
|
& > ${ge}-row,
|
|
|
& > div:not(${ge}-row) > ${ge}-row
|
|
|
`]:{display:"flex",boxSizing:"border-box",width:"100%"}},[`${ge}-cell`]:{borderBottom:En,transition:`background ${at}`},[`${ge}-expanded-row`]:{[`${Mn}${Mn}-fixed`]:{position:"sticky",insetInlineStart:0,overflow:"hidden",width:`calc(var(--virtual-width) - ${(0,Ei.unit)(wt)})`,borderInlineEnd:"none"}}},[`${ge}-bordered`]:{[`${ge}-tbody-virtual`]:{"&:after":{content:'""',insetInline:0,bottom:0,borderBottom:En,position:"absolute"},[`${ge}-cell`]:{borderInlineEnd:En,[`&${ge}-cell-fix-right-first:before`]:{content:'""',position:"absolute",insetBlock:0,insetInlineStart:An(wt).mul(-1).equal(),borderInlineStart:En}}},[`&${ge}-virtual`]:{[`${ge}-placeholder ${ge}-cell`]:{borderInlineEnd:En,borderBottom:En}}}}}};const No=ye=>{const{componentCls:ge,fontWeightStrong:at,tablePaddingVertical:wt,tablePaddingHorizontal:$t,tableExpandColumnWidth:an,lineWidth:An,lineType:En,tableBorderColor:Mn,tableFontSize:Nn,tableBg:ir,tableRadius:tr,tableHeaderTextColor:Qn,motionDurationMid:Kn,tableHeaderBg:Hn,tableHeaderCellSplitColor:Or,tableFooterTextColor:cr,tableFooterBg:Hr,calc:Nr}=ye,_r=`${(0,Ei.unit)(An)} ${En} ${Mn}`;return{[`${ge}-wrapper`]:Object.assign(Object.assign({clear:"both",maxWidth:"100%"},(0,ie.dF)()),{[ge]:Object.assign(Object.assign({},(0,ie.Wf)(ye)),{fontSize:Nn,background:ir,borderRadius:`${(0,Ei.unit)(tr)} ${(0,Ei.unit)(tr)} 0 0`,scrollbarColor:`${ye.tableScrollThumbBg} ${ye.tableScrollBg}`}),table:{width:"100%",textAlign:"start",borderRadius:`${(0,Ei.unit)(tr)} ${(0,Ei.unit)(tr)} 0 0`,borderCollapse:"separate",borderSpacing:0},[`
|
|
|
${ge}-cell,
|
|
|
${ge}-thead > tr > th,
|
|
|
${ge}-tbody > tr > th,
|
|
|
${ge}-tbody > tr > td,
|
|
|
tfoot > tr > th,
|
|
|
tfoot > tr > td
|
|
|
`]:{position:"relative",padding:`${(0,Ei.unit)(wt)} ${(0,Ei.unit)($t)}`,overflowWrap:"break-word"},[`${ge}-title`]:{padding:`${(0,Ei.unit)(wt)} ${(0,Ei.unit)($t)}`},[`${ge}-thead`]:{"\n > tr > th,\n > tr > td\n ":{position:"relative",color:Qn,fontWeight:at,textAlign:"start",background:Hn,borderBottom:_r,transition:`background ${Kn} ease`,"&[colspan]:not([colspan='1'])":{textAlign:"center"},[`&:not(:last-child):not(${ge}-selection-column):not(${ge}-row-expand-icon-cell):not([colspan])::before`]:{position:"absolute",top:"50%",insetInlineEnd:0,width:1,height:"1.6em",backgroundColor:Or,transform:"translateY(-50%)",transition:`background-color ${Kn}`,content:'""'}},"> tr:not(:last-child) > th[colspan]":{borderBottom:0}},[`${ge}-tbody`]:{"> tr":{"> th, > td":{transition:`background ${Kn}, border-color ${Kn}`,borderBottom:_r,[`
|
|
|
> ${ge}-wrapper:only-child,
|
|
|
> ${ge}-expanded-row-fixed > ${ge}-wrapper:only-child
|
|
|
`]:{[ge]:{marginBlock:(0,Ei.unit)(Nr(wt).mul(-1).equal()),marginInline:`${(0,Ei.unit)(Nr(an).sub($t).equal())}
|
|
|
${(0,Ei.unit)(Nr($t).mul(-1).equal())}`,[`${ge}-tbody > tr:last-child > td`]:{borderBottomWidth:0,"&:first-child, &:last-child":{borderRadius:0}}}}},"> th":{position:"relative",color:Qn,fontWeight:at,textAlign:"start",background:Hn,borderBottom:_r,transition:`background ${Kn} ease`}}},[`${ge}-footer`]:{padding:`${(0,Ei.unit)(wt)} ${(0,Ei.unit)($t)}`,color:cr,background:Hr}})}},vi=ye=>{const{colorFillAlter:ge,colorBgContainer:at,colorTextHeading:wt,colorFillSecondary:$t,colorFillContent:an,controlItemBgActive:An,controlItemBgActiveHover:En,padding:Mn,paddingSM:Nn,paddingXS:ir,colorBorderSecondary:tr,borderRadiusLG:Qn,controlHeight:Kn,colorTextPlaceholder:Hn,fontSize:Or,fontSizeSM:cr,lineHeight:Hr,lineWidth:Nr,colorIcon:_r,colorIconHover:Wr,opacityLoading:Yr,controlInteractiveSize:ao}=ye,po=new ps.FastColor($t).onBackground(at).toHexString(),xo=new ps.FastColor(an).onBackground(at).toHexString(),$o=new ps.FastColor(ge).onBackground(at).toHexString(),Gr=new ps.FastColor(_r),jr=new ps.FastColor(Wr),oo=ao/2-Nr,Sr=oo*2+Nr*3;return{headerBg:$o,headerColor:wt,headerSortActiveBg:po,headerSortHoverBg:xo,bodySortBg:$o,rowHoverBg:$o,rowSelectedBg:An,rowSelectedHoverBg:En,rowExpandedBg:ge,cellPaddingBlock:Mn,cellPaddingInline:Mn,cellPaddingBlockMD:Nn,cellPaddingInlineMD:ir,cellPaddingBlockSM:ir,cellPaddingInlineSM:ir,borderColor:tr,headerBorderRadius:Qn,footerBg:$o,footerColor:wt,cellFontSize:Or,cellFontSizeMD:Or,cellFontSizeSM:Or,headerSplitColor:tr,fixedHeaderSortActiveBg:po,headerFilterHoverBg:an,filterDropdownMenuBg:at,filterDropdownBg:at,expandIconBg:at,selectionColumnWidth:Kn,stickyScrollBarBg:Hn,stickyScrollBarBorderRadius:100,expandIconMarginTop:(Or*Hr-Nr*3)/2-Math.ceil((cr*1.4-Nr*3)/2),headerIconColor:Gr.clone().setA(Gr.a*Yr).toRgbString(),headerIconHoverColor:jr.clone().setA(jr.a*Yr).toRgbString(),expandIconHalfInner:oo,expandIconSize:Sr,expandIconScale:ao/Sr}},di=2;var Uo=(0,Ee.I$)("Table",ye=>{const{colorTextHeading:ge,colorSplit:at,colorBgContainer:wt,controlInteractiveSize:$t,headerBg:an,headerColor:An,headerSortActiveBg:En,headerSortHoverBg:Mn,bodySortBg:Nn,rowHoverBg:ir,rowSelectedBg:tr,rowSelectedHoverBg:Qn,rowExpandedBg:Kn,cellPaddingBlock:Hn,cellPaddingInline:Or,cellPaddingBlockMD:cr,cellPaddingInlineMD:Hr,cellPaddingBlockSM:Nr,cellPaddingInlineSM:_r,borderColor:Wr,footerBg:Yr,footerColor:ao,headerBorderRadius:po,cellFontSize:xo,cellFontSizeMD:$o,cellFontSizeSM:Gr,headerSplitColor:jr,fixedHeaderSortActiveBg:oo,headerFilterHoverBg:Sr,filterDropdownBg:xr,expandIconBg:to,selectionColumnWidth:go,stickyScrollBarBg:Do,calc:Jo}=ye,Co=(0,Xe.mergeToken)(ye,{tableFontSize:xo,tableBg:wt,tableRadius:po,tablePaddingVertical:Hn,tablePaddingHorizontal:Or,tablePaddingVerticalMiddle:cr,tablePaddingHorizontalMiddle:Hr,tablePaddingVerticalSmall:Nr,tablePaddingHorizontalSmall:_r,tableBorderColor:Wr,tableHeaderTextColor:An,tableHeaderBg:an,tableFooterTextColor:ao,tableFooterBg:Yr,tableHeaderCellSplitColor:jr,tableHeaderSortBg:En,tableHeaderSortHoverBg:Mn,tableBodySortBg:Nn,tableFixedHeaderSortActiveBg:oo,tableHeaderFilterActiveBg:Sr,tableFilterDropdownBg:xr,tableRowHoverBg:ir,tableSelectedRowBg:tr,tableSelectedRowHoverBg:Qn,zIndexTableFixed:di,zIndexTableSticky:Jo(di).add(1).equal({unit:!1}),tableFontSizeMiddle:$o,tableFontSizeSmall:Gr,tableSelectionColumnWidth:go,tableExpandIconBg:to,tableExpandColumnWidth:Jo($t).add(Jo(ye.padding).mul(2)).equal(),tableExpandedRowBg:Kn,tableFilterDropdownWidth:120,tableFilterDropdownHeight:264,tableFilterDropdownSearchWidth:140,tableScrollThumbSize:8,tableScrollThumbBg:Do,tableScrollThumbBgHover:ge,tableScrollBg:at});return[No(Co),Lr(Co),Fo(Co),Go(Co),Fr(Co),Lt(Co),So(Co),Xn(Co),Fo(Co),sr(Co),ro(Co),Dr(Co),ci(Co),Vn(Co),ai(Co),Ur(Co),Ro(Co)]},vi,{unitless:{expandIconScale:!0}});const ei=[],Oo=(ye,ge)=>{var at,wt;const{prefixCls:$t,className:an,rootClassName:An,style:En,size:Mn,bordered:Nn,dropdownPrefixCls:ir,dataSource:tr,pagination:Qn,rowSelection:Kn,rowKey:Hn="key",rowClassName:Or,columns:cr,children:Hr,childrenColumnName:Nr,onChange:_r,getPopupContainer:Wr,loading:Yr,expandIcon:ao,expandable:po,expandedRowRender:xo,expandIconColumnIndex:$o,indentSize:Gr,scroll:jr,sortDirections:oo,locale:Sr,showSorterTooltip:xr={target:"full-header"},virtual:to}=ye,go=(0,io.ln)("Table"),Do=b.useMemo(()=>cr||rn(Hr),[cr,Hr]),Jo=b.useMemo(()=>Do.some(Zo=>Zo.responsive),[Do]),Co=(0,Fa.Z)(Jo),Fi=b.useMemo(()=>{const Zo=new Set(Object.keys(Co).filter(yi=>Co[yi]));return Do.filter(yi=>!yi.responsive||yi.responsive.some(Yi=>Zo.has(Yi)))},[Do,Co]),wi=(0,zi.Z)(ye,["className","style","columns"]),{locale:ca=ul.Z,direction:$i,table:ia,renderEmpty:ma,getPrefixCls:ga,getPopupContainer:Ti}=b.useContext(Pa.E_),ki=(0,Ui.Z)(Mn),Ia=Object.assign(Object.assign({},ca.Table),Sr),Na=tr||ei,oi=ga("table",$t),Ai=ga("dropdown",ir),[,ti]=(0,Nl.ZP)(),Ho=(0,Ba.Z)(oi),[ji,Ji,ya]=Uo(oi,Ho),qi=Object.assign(Object.assign({childrenColumnName:Nr,expandIconColumnIndex:$o},po),{expandIcon:(at=po==null?void 0:po.expandIcon)!==null&&at!==void 0?at:(wt=ia==null?void 0:ia.expandable)===null||wt===void 0?void 0:wt.expandIcon}),{childrenColumnName:ka="children"}=qi,Sa=b.useMemo(()=>Na.some(Zo=>Zo==null?void 0:Zo[ka])?"nest":xo||po!=null&&po.expandedRowRender?"row":null,[Na]),ui={body:b.useRef(null)},gi=mi(oi),ea=b.useRef(null),aa=b.useRef(null);Xi(ge,()=>Object.assign(Object.assign({},aa.current),{nativeElement:ea.current}));const la=b.useMemo(()=>typeof Hn=="function"?Hn:Zo=>Zo==null?void 0:Zo[Hn],[Hn]),[Wa]=tl(Na,ka,la),ba={},il=function(Zo,yi){let Yi=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;var Ua,yl,hl,ts;const Il=Object.assign(Object.assign({},ba),Zo);Yi&&((Ua=ba.resetPagination)===null||Ua===void 0||Ua.call(ba),!((yl=Il.pagination)===null||yl===void 0)&&yl.current&&(Il.pagination.current=1),Qn&&((hl=Qn.onChange)===null||hl===void 0||hl.call(Qn,1,(ts=Il.pagination)===null||ts===void 0?void 0:ts.pageSize))),jr&&jr.scrollToFirstRowOnChange!==!1&&ui.body.current&&(0,za.Z)(0,{getContainer:()=>ui.body.current}),_r==null||_r(Il.pagination,Il.filters,Il.sorter,{currentDataSource:Ci(ss(Na,Il.sorterStates,ka),Il.filterStates,ka),action:yi})},va=(Zo,yi)=>{il({sorter:Zo,sorterStates:yi},"sort",!1)},[Vi,ha,Ca,Ha]=Gs({prefixCls:oi,mergedColumns:Fi,onSorterChange:va,sortDirections:oo||["ascend","descend"],tableLocale:Ia,showSorterTooltip:xr}),La=b.useMemo(()=>ss(Na,ha,ka),[Na,ha]);ba.sorter=Ha(),ba.sorterStates=ha;const Gi=(Zo,yi)=>{il({filters:Zo,filterStates:yi},"filter",!0)},[Aa,na,al]=wa({prefixCls:oi,locale:Ia,dropdownPrefixCls:Ai,mergedColumns:Fi,onFilterChange:Gi,getPopupContainer:Wr||Ti,rootClassName:Se()(An,Ho)}),ja=Ci(La,na,ka);ba.filters=al,ba.filterStates=na;const dl=b.useMemo(()=>{const Zo={};return Object.keys(al).forEach(yi=>{al[yi]!==null&&(Zo[yi]=al[yi])}),Object.assign(Object.assign({},Ca),{filters:Zo})},[Ca,al]),[pl]=Ts(dl),zl=(Zo,yi)=>{il({pagination:Object.assign(Object.assign({},ba.pagination),{current:Zo,pageSize:yi})},"paginate")},[xa,cs]=ol(ja.length,zl,Qn);ba.pagination=Qn===!1?{}:_a(xa,Qn),ba.resetPagination=cs;const fl=b.useMemo(()=>{if(Qn===!1||!xa.pageSize)return ja;const{current:Zo=1,total:yi,pageSize:Yi=nl}=xa;return ja.length<yi?ja.length>Yi?ja.slice((Zo-1)*Yi,Zo*Yi):ja:ja.slice((Zo-1)*Yi,Zo*Yi)},[!!Qn,ja,xa==null?void 0:xa.current,xa==null?void 0:xa.pageSize,xa==null?void 0:xa.total]),[Ll,Pl]=Mo({prefixCls:oi,data:ja,pageData:fl,getRowKey:la,getRecordByKey:Wa,expandType:Sa,childrenColumnName:ka,locale:Ia,getPopupContainer:Wr||Ti},Kn),Di=(Zo,yi,Yi)=>{let Ua;return typeof Or=="function"?Ua=Se()(Or(Zo,yi,Yi)):Ua=Se()(Or),Se()({[`${oi}-row-selected`]:Pl.has(la(Zo,yi))},Ua)};qi.__PARENT_RENDER_ICON__=qi.expandIcon,qi.expandIcon=qi.expandIcon||ao||hi(Ia),Sa==="nest"&&qi.expandIconColumnIndex===void 0?qi.expandIconColumnIndex=Kn?1:0:qi.expandIconColumnIndex>0&&Kn&&(qi.expandIconColumnIndex-=1),typeof qi.indentSize!="number"&&(qi.indentSize=typeof Gr=="number"?Gr:15);const ni=b.useCallback(Zo=>pl(Ll(Aa(Vi(Zo)))),[Vi,Aa,Ll]);let Ra,gl;if(Qn!==!1&&(xa!=null&&xa.total)){let Zo;xa.size?Zo=xa.size:Zo=ki==="small"||ki==="middle"?"small":void 0;const yi=yl=>b.createElement(Qa.Z,Object.assign({},xa,{className:Se()(`${oi}-pagination ${oi}-pagination-${yl}`,xa.className),size:Zo})),Yi=$i==="rtl"?"left":"right",{position:Ua}=xa;if(Ua!==null&&Array.isArray(Ua)){const yl=Ua.find(Il=>Il.includes("top")),hl=Ua.find(Il=>Il.includes("bottom")),ts=Ua.every(Il=>`${Il}`=="none");!yl&&!hl&&!ts&&(gl=yi(Yi)),yl&&(Ra=yi(yl.toLowerCase().replace("top",""))),hl&&(gl=yi(hl.toLowerCase().replace("bottom","")))}else gl=yi(Yi)}let Rl;typeof Yr=="boolean"?Rl={spinning:Yr}:typeof Yr=="object"&&(Rl=Object.assign({spinning:!0},Yr));const Ql=Se()(ya,Ho,`${oi}-wrapper`,ia==null?void 0:ia.className,{[`${oi}-wrapper-rtl`]:$i==="rtl"},an,An,Ji),Is=Object.assign(Object.assign({},ia==null?void 0:ia.style),En),Bs=typeof(Sr==null?void 0:Sr.emptyText)!="undefined"?Sr.emptyText:(ma==null?void 0:ma("Table"))||b.createElement(Ta.Z,{componentName:"Table"}),Zs=to?vs:Rs,ra={},Zi=b.useMemo(()=>{const{fontSize:Zo,lineHeight:yi,lineWidth:Yi,padding:Ua,paddingXS:yl,paddingSM:hl}=ti,ts=Math.floor(Zo*yi);switch(ki){case"middle":return hl*2+ts+Yi;case"small":return yl*2+ts+Yi;default:return Ua*2+ts+Yi}},[ti,ki]);return to&&(ra.listItemHeight=Zi),ji(b.createElement("div",{ref:ea,className:Ql,style:Is},b.createElement(Qi.Z,Object.assign({spinning:!1},Rl),Ra,b.createElement(Zs,Object.assign({},ra,wi,{ref:aa,columns:Fi,direction:$i,expandable:qi,prefixCls:oi,className:Se()({[`${oi}-middle`]:ki==="middle",[`${oi}-small`]:ki==="small",[`${oi}-bordered`]:Nn,[`${oi}-empty`]:Na.length===0},ya,Ho,Ji),data:fl,rowKey:la,rowClassName:Di,emptyText:Bs,internalHooks:de,internalRefs:ui,transformColumns:ni,getContainerWidth:gi})),gl)))};var Xo=b.forwardRef(Oo);const Yo=(ye,ge)=>{const at=b.useRef(0);return at.current+=1,b.createElement(Xo,Object.assign({},ye,{ref:ge,_renderTimes:at.current}))},pi=b.forwardRef(Yo);pi.SELECTION_COLUMN=bo,pi.EXPAND_COLUMN=Ce,pi.SELECTION_ALL=Bo,pi.SELECTION_INVERT=ri,pi.SELECTION_NONE=Si,pi.Column=Wn,pi.ColumnGroup=jn,pi.Summary=Ie;var Bi=pi,Mi=Bi},96599:function(Yn,mn,z){"use strict";z.d(mn,{default:function(){return Se}});var b=z(59301),Ce=z(92310),de=z.n(Ce),rt=z(2738),Oe=z(29509),xe=z(78776),Ae=z(22703),Ve=z(12919),Be=z(48755),fe=z(36237),Ge=z(17835),be=z(63356),vt=z(51636),Je=z(16931);const tt=ue=>{const{paddingXXS:gt,lineWidth:He,tagPaddingHorizontal:ke,componentCls:Nt,calc:De}=ue,ve=De(ke).sub(He).equal(),At=De(gt).sub(He).equal();return{[Nt]:Object.assign(Object.assign({},(0,be.Wf)(ue)),{display:"inline-block",height:"auto",marginInlineEnd:ue.marginXS,paddingInline:ve,fontSize:ue.tagFontSize,lineHeight:ue.tagLineHeight,whiteSpace:"nowrap",background:ue.defaultBg,border:`${(0,fe.unit)(ue.lineWidth)} ${ue.lineType} ${ue.colorBorder}`,borderRadius:ue.borderRadiusSM,opacity:1,transition:`all ${ue.motionDurationMid}`,textAlign:"start",position:"relative",[`&${Nt}-rtl`]:{direction:"rtl"},"&, a, a:hover":{color:ue.defaultColor},[`${Nt}-close-icon`]:{marginInlineStart:At,fontSize:ue.tagIconSize,color:ue.colorTextDescription,cursor:"pointer",transition:`all ${ue.motionDurationMid}`,"&:hover":{color:ue.colorTextHeading}},[`&${Nt}-has-color`]:{borderColor:"transparent",[`&, a, a:hover, ${ue.iconCls}-close, ${ue.iconCls}-close:hover`]:{color:ue.colorTextLightSolid}},"&-checkable":{backgroundColor:"transparent",borderColor:"transparent",cursor:"pointer",[`&:not(${Nt}-checkable-checked):hover`]:{color:ue.colorPrimary,backgroundColor:ue.colorFillSecondary},"&:active, &-checked":{color:ue.colorTextLightSolid},"&-checked":{backgroundColor:ue.colorPrimary,"&:hover":{backgroundColor:ue.colorPrimaryHover}},"&:active":{backgroundColor:ue.colorPrimaryActive}},"&-hidden":{display:"none"},[`> ${ue.iconCls} + span, > span + ${ue.iconCls}`]:{marginInlineStart:ve}}),[`${Nt}-borderless`]:{borderColor:"transparent",background:ue.tagBorderlessBg}}},je=ue=>{const{lineWidth:gt,fontSizeIcon:He,calc:ke}=ue,Nt=ue.fontSizeSM;return(0,vt.mergeToken)(ue,{tagFontSize:Nt,tagLineHeight:(0,fe.unit)(ke(ue.lineHeightSM).mul(Nt).equal()),tagIconSize:ke(He).sub(ke(gt).mul(2)).equal(),tagPaddingHorizontal:8,tagBorderlessBg:ue.defaultBg})},We=ue=>({defaultBg:new Ge.FastColor(ue.colorFillQuaternary).onBackground(ue.colorBgContainer).toHexString(),defaultColor:ue.colorText});var ot=(0,Je.I$)("Tag",ue=>{const gt=je(ue);return tt(gt)},We),Mt=function(ue,gt){var He={};for(var ke in ue)Object.prototype.hasOwnProperty.call(ue,ke)&>.indexOf(ke)<0&&(He[ke]=ue[ke]);if(ue!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Nt=0,ke=Object.getOwnPropertySymbols(ue);Nt<ke.length;Nt++)gt.indexOf(ke[Nt])<0&&Object.prototype.propertyIsEnumerable.call(ue,ke[Nt])&&(He[ke[Nt]]=ue[ke[Nt]]);return He},se=b.forwardRef((ue,gt)=>{const{prefixCls:He,style:ke,className:Nt,checked:De,onChange:ve,onClick:At}=ue,Gt=Mt(ue,["prefixCls","style","className","checked","onChange","onClick"]),{getPrefixCls:Wt,tag:pe}=b.useContext(Be.E_),Re=dn=>{ve==null||ve(!De),At==null||At(dn)},Ue=Wt("tag",He),[Jt,et,jt]=ot(Ue),ct=de()(Ue,`${Ue}-checkable`,{[`${Ue}-checkable-checked`]:De},pe==null?void 0:pe.className,Nt,et,jt);return Jt(b.createElement("span",Object.assign({},Gt,{ref:gt,style:Object.assign(Object.assign({},ke),pe==null?void 0:pe.style),className:ct,onClick:Re})))}),Me=z(93427);const st=ue=>(0,Me.Z)(ue,(gt,He)=>{let{textColor:ke,lightBorderColor:Nt,lightColor:De,darkColor:ve}=He;return{[`${ue.componentCls}${ue.componentCls}-${gt}`]:{color:ke,background:De,borderColor:Nt,"&-inverse":{color:ue.colorTextLightSolid,background:ve,borderColor:ve},[`&${ue.componentCls}-borderless`]:{borderColor:"transparent"}}}});var mt=(0,Je.bk)(["Tag","preset"],ue=>{const gt=je(ue);return st(gt)},We);function kt(ue){return typeof ue!="string"?ue:ue.charAt(0).toUpperCase()+ue.slice(1)}const Qe=(ue,gt,He)=>{const ke=kt(He);return{[`${ue.componentCls}${ue.componentCls}-${gt}`]:{color:ue[`color${He}`],background:ue[`color${ke}Bg`],borderColor:ue[`color${ke}Border`],[`&${ue.componentCls}-borderless`]:{borderColor:"transparent"}}}};var ut=(0,Je.bk)(["Tag","status"],ue=>{const gt=je(ue);return[Qe(gt,"success","Success"),Qe(gt,"processing","Info"),Qe(gt,"error","Error"),Qe(gt,"warning","Warning")]},We),dt=function(ue,gt){var He={};for(var ke in ue)Object.prototype.hasOwnProperty.call(ue,ke)&>.indexOf(ke)<0&&(He[ke]=ue[ke]);if(ue!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Nt=0,ke=Object.getOwnPropertySymbols(ue);Nt<ke.length;Nt++)gt.indexOf(ke[Nt])<0&&Object.prototype.propertyIsEnumerable.call(ue,ke[Nt])&&(He[ke[Nt]]=ue[ke[Nt]]);return He};const Ze=b.forwardRef((ue,gt)=>{const{prefixCls:He,className:ke,rootClassName:Nt,style:De,children:ve,icon:At,color:Gt,onClose:Wt,bordered:pe=!0,visible:Re}=ue,Ue=dt(ue,["prefixCls","className","rootClassName","style","children","icon","color","onClose","bordered","visible"]),{getPrefixCls:Jt,direction:et,tag:jt}=b.useContext(Be.E_),[ct,dn]=b.useState(!0),bt=(0,rt.Z)(Ue,["closeIcon","closable"]);b.useEffect(()=>{Re!==void 0&&dn(Re)},[Re]);const le=(0,Oe.o2)(Gt),ne=(0,Oe.yT)(Gt),te=le||ne,ae=Object.assign(Object.assign({backgroundColor:Gt&&!te?Gt:void 0},jt==null?void 0:jt.style),De),he=Jt("tag",He),[re,ce,Pe]=ot(he),lt=de()(he,jt==null?void 0:jt.className,{[`${he}-${Gt}`]:te,[`${he}-has-color`]:Gt&&!te,[`${he}-hidden`]:!ct,[`${he}-rtl`]:et==="rtl",[`${he}-borderless`]:!pe},ke,Nt,ce,Pe),$e=Ke=>{Ke.stopPropagation(),Wt==null||Wt(Ke),!Ke.defaultPrevented&&dn(!1)},[,Ie]=(0,xe.Z)((0,xe.w)(ue),(0,xe.w)(jt),{closable:!1,closeIconRender:Ke=>{const yn=b.createElement("span",{className:`${he}-close-icon`,onClick:$e},Ke);return(0,Ae.wm)(Ke,yn,Ht=>({onClick:bn=>{var fn;(fn=Ht==null?void 0:Ht.onClick)===null||fn===void 0||fn.call(Ht,bn),$e(bn)},className:de()(Ht==null?void 0:Ht.className,`${he}-close-icon`)}))}}),ht=typeof Ue.onClick=="function"||ve&&ve.type==="a",Et=At||null,Rt=Et?b.createElement(b.Fragment,null,Et,ve&&b.createElement("span",null,ve)):ve,Te=b.createElement("span",Object.assign({},bt,{ref:gt,className:lt,style:ae}),Rt,Ie,le&&b.createElement(mt,{key:"preset",prefixCls:he}),ne&&b.createElement(ut,{key:"status",prefixCls:he}));return re(ht?b.createElement(Ve.Z,{component:"Tag"},Te):Te)});Ze.CheckableTag=se;var Se=Ze},53420:function(Yn,mn,z){"use strict";z.d(mn,{default:function(){return ln}});var b=z(59301),Ce=z(92310),de=z.n(Ce),rt=z(60499),Oe=z(77654),xe=z(85899),Ae=z(72190),Ve=z(42244),Be=z(43749),fe=z(37463),Ge=z(6551),be=z(34643),vt=z(18929),Je=z(48736),tt=function(Zt){var pn=b.useRef({valueLabels:new Map});return b.useMemo(function(){var cn=pn.current.valueLabels,zn=new Map,Ln=Zt.map(function(rr){var _n=rr.value,rn=rr.label,Fn=rn!=null?rn:cn.get(_n);return zn.set(_n,Fn),(0,xe.Z)((0,xe.Z)({},rr),{},{label:Fn})});return pn.current.valueLabels=zn,[Ln]},[Zt])},je=function(pn,cn,zn,Ln){return b.useMemo(function(){var rr=function(ze){return ze.map(function(yt){var Ye=yt.value;return Ye})},_n=rr(pn),rn=rr(cn),Fn=_n.filter(function(Qt){return!Ln[Qt]}),nn=_n,er=rn;if(zn){var It=(0,be.S)(_n,!0,Ln);nn=It.checkedKeys,er=It.halfCheckedKeys}return[Array.from(new Set([].concat((0,Oe.Z)(Fn),(0,Oe.Z)(nn)))),er]},[pn,cn,zn,Ln])},We=je,ot=z(34061),Mt=function(Zt,pn){return b.useMemo(function(){var cn=(0,ot.I8)(Zt,{fieldNames:pn,initWrapper:function(Ln){return(0,xe.Z)((0,xe.Z)({},Ln),{},{valueEntities:new Map})},processEntity:function(Ln,rr){var _n=Ln.node[pn.value];if(0)var rn;rr.valueEntities.set(_n,Ln)}});return cn},[Zt,pn])},Ut=z(18642),se=z(11592),Me=function(){return null},st=Me,mt=["children","value"];function kt(Zt){return(0,se.Z)(Zt).map(function(pn){if(!b.isValidElement(pn)||!pn.type)return null;var cn=pn,zn=cn.key,Ln=cn.props,rr=Ln.children,_n=Ln.value,rn=(0,Ve.Z)(Ln,mt),Fn=(0,xe.Z)({key:zn,value:_n},rn),nn=kt(rr);return nn.length&&(Fn.children=nn),Fn}).filter(function(pn){return pn})}function Qe(Zt){if(!Zt)return Zt;var pn=(0,xe.Z)({},Zt);return"props"in pn||Object.defineProperty(pn,"props",{get:function(){return(0,Je.ZP)(!1,"New `rc-tree-select` not support return node instance as argument anymore. Please consider to remove `props` access."),pn}}),pn}function ut(Zt,pn,cn,zn,Ln,rr){var _n=null,rn=null;function Fn(){function nn(er){var It=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"0",Qt=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;return er.map(function(ze,yt){var Ye="".concat(It,"-").concat(yt),Ct=ze[rr.value],qt=cn.includes(Ct),nr=nn(ze[rr.children]||[],Ye,qt),ar=b.createElement(st,ze,nr.map(function(xt){return xt.node}));if(pn===Ct&&(_n=ar),qt){var pt={pos:Ye,node:ar,children:nr};return Qt||rn.push(pt),pt}return null}).filter(function(ze){return ze})}rn||(rn=[],nn(zn),rn.sort(function(er,It){var Qt=er.node.props.value,ze=It.node.props.value,yt=cn.indexOf(Qt),Ye=cn.indexOf(ze);return yt-Ye}))}Object.defineProperty(Zt,"triggerNode",{get:function(){return(0,Je.ZP)(!1,"`triggerNode` is deprecated. Please consider decoupling data with node."),Fn(),_n}}),Object.defineProperty(Zt,"allCheckedNodes",{get:function(){return(0,Je.ZP)(!1,"`allCheckedNodes` is deprecated. Please consider decoupling data with node."),Fn(),Ln?rn:rn.map(function(er){var It=er.node;return It})}})}var dt=function(pn,cn,zn){var Ln=zn.fieldNames,rr=zn.treeNodeFilterProp,_n=zn.filterTreeNode,rn=Ln.children;return b.useMemo(function(){if(!cn||_n===!1)return pn;var Fn=typeof _n=="function"?_n:function(er,It){return String(It[rr]).toUpperCase().includes(cn.toUpperCase())},nn=function er(It){var Qt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;return It.reduce(function(ze,yt){var Ye=yt[rn],Ct=Qt||Fn(cn,Qe(yt)),qt=er(Ye||[],Ct);return(Ct||qt.length)&&ze.push((0,xe.Z)((0,xe.Z)({},yt),{},(0,Ut.Z)({isLeaf:void 0},rn,qt))),ze},[])};return nn(pn)},[pn,cn,rn,rr,_n])},Fe=dt;function Ze(Zt){var pn=b.useRef();pn.current=Zt;var cn=b.useCallback(function(){return pn.current.apply(pn,arguments)},[]);return cn}function Se(Zt,pn){var cn=pn.id,zn=pn.pId,Ln=pn.rootPId,rr=new Map,_n=[];return Zt.forEach(function(rn){var Fn=rn[cn],nn=(0,xe.Z)((0,xe.Z)({},rn),{},{key:rn.key||Fn});rr.set(Fn,nn)}),rr.forEach(function(rn){var Fn=rn[zn],nn=rr.get(Fn);nn?(nn.children=nn.children||[],nn.children.push(rn)):(Fn===Ln||Ln===null)&&_n.push(rn)}),_n}function ue(Zt,pn,cn){return b.useMemo(function(){if(Zt){if(cn){var zn=(0,xe.Z)({id:"id",pId:"pId",rootPId:null},(0,Be.Z)(cn)==="object"?cn:{});return Se(Zt,zn)}return Zt}return kt(pn)},[pn,cn,Zt])}var gt=b.createContext(null),He=gt,ke=z(72054),Nt=z(87632),De=z(10228),ve=z(80547),At=b.createContext(null),Gt=At,Wt=function(pn){return Array.isArray(pn)?pn:pn!==void 0?[pn]:[]},pe=function(pn){var cn=pn||{},zn=cn.label,Ln=cn.value,rr=cn.children;return{_title:zn?[zn]:["title","label"],value:Ln||"value",key:Ln||"value",children:rr||"children"}},Re=function(pn){return!pn||pn.disabled||pn.disableCheckbox||pn.checkable===!1},Ue=function(pn,cn){var zn=[],Ln=function rr(_n){_n.forEach(function(rn){var Fn=rn[cn.children];Fn&&(zn.push(rn[cn.value]),rr(Fn))})};return Ln(pn),zn},Jt=function(pn){return pn==null},et=z(70425),jt={width:0,height:0,display:"flex",overflow:"hidden",opacity:0,border:0,padding:0,margin:0},ct=function(pn,cn){var zn=(0,fe.lk)(),Ln=zn.prefixCls,rr=zn.multiple,_n=zn.searchValue,rn=zn.toggleOpen,Fn=zn.open,nn=zn.notFoundContent,er=b.useContext(Gt),It=er.virtual,Qt=er.listHeight,ze=er.listItemHeight,yt=er.listItemScrollOffset,Ye=er.treeData,Ct=er.fieldNames,qt=er.onSelect,nr=er.dropdownMatchSelectWidth,ar=er.treeExpandAction,pt=er.treeTitleRender,xt=er.onPopupScroll,Pt=er.leftMaxCount,Kt=er.leafCountOnly,In=er.valueEntities,Zn=b.useContext(He),kn=Zn.checkable,Un=Zn.checkedKeys,pr=Zn.halfCheckedKeys,Ar=Zn.treeExpandedKeys,Vr=Zn.treeDefaultExpandAll,Br=Zn.treeDefaultExpandedKeys,fr=Zn.onTreeExpand,Pr=Zn.treeIcon,kr=Zn.showTreeIcon,Jr=Zn.switcherIcon,Xr=Zn.treeLine,vo=Zn.treeNodeFilterProp,yr=Zn.loadData,ur=Zn.treeLoadedKeys,gr=Zn.treeMotion,no=Zn.onTreeLoad,Kr=Zn.keyEntities,wr=b.useRef(),Rr=(0,ve.Z)(function(){return Ye},[Fn,Ye],function(co,fo){return fo[0]&&co[1]!==fo[1]}),mo=b.useMemo(function(){return kn?{checked:Un,halfChecked:pr}:null},[kn,Un,pr]);b.useEffect(function(){if(Fn&&!rr&&Un.length){var co;(co=wr.current)===null||co===void 0||co.scrollTo({key:Un[0]})}},[Fn]);var $r=function(fo){fo.preventDefault()},qr=function(fo,bo){var Bo=bo.node;kn&&Re(Bo)||(qt(Bo.key,{selected:!Un.includes(Bo.key)}),rr||rn(!1))},eo=b.useState(Br),ko=(0,Ae.Z)(eo,2),_o=ko[0],qo=ko[1],Lo=b.useState(null),ii=(0,Ae.Z)(Lo,2),Le=ii[0],nt=ii[1],Ot=b.useMemo(function(){return Ar?(0,Oe.Z)(Ar):_n?Le:_o},[_o,Le,Ar,_n]),sn=function(fo){qo(fo),nt(fo),fr&&fr(fo)},hn=String(_n).toLowerCase(),Tt=function(fo){return hn?String(fo[vo]).toLowerCase().includes(hn):!1};b.useEffect(function(){_n&&nt(Ue(Ye,Ct))},[_n]);var it=b.useState(function(){return new Map}),Ft=(0,Ae.Z)(it,2),en=Ft[0],On=Ft[1];b.useEffect(function(){Pt&&On(new Map)},[Pt]);function Wn(co){var fo=co[Ct.value];if(!en.has(fo)){var bo=In.get(fo),Bo=(bo.children||[]).length===0;if(Bo)en.set(fo,!1);else{var ri=bo.children.filter(function(bi){return!bi.node.disabled&&!bi.node.disableCheckbox&&!Un.includes(bi.node[Ct.value])}),Si=ri.length;en.set(fo,Si>Pt)}}return en.get(fo)}var Dn=(0,et.zX)(function(co){var fo=co[Ct.value];return Un.includes(fo)||Pt===null?!1:Pt<=0?!0:Kt&&Pt?Wn(co):!1}),jn=function co(fo){var bo=(0,ke.Z)(fo),Bo;try{for(bo.s();!(Bo=bo.n()).done;){var ri=Bo.value;if(!(ri.disabled||ri.selectable===!1)){if(_n){if(Tt(ri))return ri}else return ri;if(ri[Ct.children]){var Si=co(ri[Ct.children]);if(Si)return Si}}}}catch(bi){bo.e(bi)}finally{bo.f()}return null},$n=b.useState(null),Cr=(0,Ae.Z)($n,2),br=Cr[0],zr=Cr[1],Qr=Kr[br];b.useEffect(function(){if(Fn){var co=null,fo=function(){var Bo=jn(Rr);return Bo?Bo[Ct.value]:null};!rr&&Un.length&&!_n?co=Un[0]:co=fo(),zr(co)}},[Fn,_n]),b.useImperativeHandle(cn,function(){var co;return{scrollTo:(co=wr.current)===null||co===void 0?void 0:co.scrollTo,onKeyDown:function(bo){var Bo,ri=bo.which;switch(ri){case De.Z.UP:case De.Z.DOWN:case De.Z.LEFT:case De.Z.RIGHT:(Bo=wr.current)===null||Bo===void 0||Bo.onKeyDown(bo);break;case De.Z.ENTER:{if(Qr){var Si=Dn(Qr.node),bi=(Qr==null?void 0:Qr.node)||{},Ki=bi.selectable,zo=bi.value,Mo=bi.disabled;Ki!==!1&&!Mo&&!Si&&qr(null,{node:{key:br},selected:!Un.includes(zo)})}break}case De.Z.ESC:rn(!1)}},onKeyUp:function(){}}});var yo=(0,ve.Z)(function(){return!_n},[_n,Ar||_o],function(co,fo){var bo=(0,Ae.Z)(co,1),Bo=bo[0],ri=(0,Ae.Z)(fo,2),Si=ri[0],bi=ri[1];return Bo!==Si&&!!(Si||bi)}),io=yo?yr:null;if(Rr.length===0)return b.createElement("div",{role:"listbox",className:"".concat(Ln,"-empty"),onMouseDown:$r},nn);var Io={fieldNames:Ct};return ur&&(Io.loadedKeys=ur),Ot&&(Io.expandedKeys=Ot),b.createElement("div",{onMouseDown:$r},Qr&&Fn&&b.createElement("span",{style:jt,"aria-live":"assertive"},Qr.node.value),b.createElement(Nt.y6.Provider,{value:{nodeDisabled:Dn}},b.createElement(Nt.ZP,(0,rt.Z)({ref:wr,focusable:!1,prefixCls:"".concat(Ln,"-tree"),treeData:Rr,height:Qt,itemHeight:ze,itemScrollOffset:yt,virtual:It!==!1&&nr!==!1,multiple:rr,icon:Pr,showIcon:kr,switcherIcon:Jr,showLine:Xr,loadData:io,motion:gr,activeKey:br,checkable:kn,checkStrictly:!0,checkedKeys:mo,selectedKeys:kn?[]:Un,defaultExpandAll:Vr,titleRender:pt},Io,{onActiveChange:zr,onSelect:qr,onCheck:qr,onExpand:sn,onLoad:no,filterTreeNode:Tt,expandAction:ar,onScroll:xt}))))},dn=b.forwardRef(ct),bt=dn,le="SHOW_ALL",ne="SHOW_PARENT",te="SHOW_CHILD";function ae(Zt,pn,cn,zn){var Ln=new Set(Zt);return pn===te?Zt.filter(function(rr){var _n=cn[rr];return!_n||!_n.children||!_n.children.some(function(rn){var Fn=rn.node;return Ln.has(Fn[zn.value])})||!_n.children.every(function(rn){var Fn=rn.node;return Re(Fn)||Ln.has(Fn[zn.value])})}):pn===ne?Zt.filter(function(rr){var _n=cn[rr],rn=_n?_n.parent:null;return!rn||Re(rn.node)||!Ln.has(rn.key)}):Zt}function he(Zt){var pn=Zt.searchPlaceholder,cn=Zt.treeCheckStrictly,zn=Zt.treeCheckable,Ln=Zt.labelInValue,rr=Zt.value,_n=Zt.multiple,rn=Zt.showCheckedStrategy,Fn=Zt.maxCount;warning(!pn,"`searchPlaceholder` has been removed."),cn&&Ln===!1&&warning(!1,"`treeCheckStrictly` will force set `labelInValue` to `true`."),(Ln||cn)&&warning(toArray(rr).every(function(nn){return nn&&_typeof(nn)==="object"&&"value"in nn}),"Invalid prop `value` supplied to `TreeSelect`. You should use { label: string, value: string | number } or [{ label: string, value: string | number }] instead."),cn||_n||zn?warning(!rr||Array.isArray(rr),"`value` should be an array when `TreeSelect` is checkable or multiple."):warning(!Array.isArray(rr),"`value` should not be array when `TreeSelect` is single mode."),Fn&&(rn==="SHOW_ALL"&&!cn||rn==="SHOW_PARENT")&&warning(!1,"`maxCount` not work with `showCheckedStrategy=SHOW_ALL` (when `treeCheckStrictly=false`) or `showCheckedStrategy=SHOW_PARENT`.")}var re=null,ce=["id","prefixCls","value","defaultValue","onChange","onSelect","onDeselect","searchValue","inputValue","onSearch","autoClearSearchValue","filterTreeNode","treeNodeFilterProp","showCheckedStrategy","treeNodeLabelProp","multiple","treeCheckable","treeCheckStrictly","labelInValue","maxCount","fieldNames","treeDataSimpleMode","treeData","children","loadData","treeLoadedKeys","onTreeLoad","treeDefaultExpandAll","treeExpandedKeys","treeDefaultExpandedKeys","onTreeExpand","treeExpandAction","virtual","listHeight","listItemHeight","listItemScrollOffset","onDropdownVisibleChange","dropdownMatchSelectWidth","treeLine","treeIcon","showTreeIcon","switcherIcon","treeMotion","treeTitleRender","onPopupScroll"];function Pe(Zt){return!Zt||(0,Be.Z)(Zt)!=="object"}var lt=b.forwardRef(function(Zt,pn){var cn=Zt.id,zn=Zt.prefixCls,Ln=zn===void 0?"rc-tree-select":zn,rr=Zt.value,_n=Zt.defaultValue,rn=Zt.onChange,Fn=Zt.onSelect,nn=Zt.onDeselect,er=Zt.searchValue,It=Zt.inputValue,Qt=Zt.onSearch,ze=Zt.autoClearSearchValue,yt=ze===void 0?!0:ze,Ye=Zt.filterTreeNode,Ct=Zt.treeNodeFilterProp,qt=Ct===void 0?"value":Ct,nr=Zt.showCheckedStrategy,ar=Zt.treeNodeLabelProp,pt=Zt.multiple,xt=Zt.treeCheckable,Pt=Zt.treeCheckStrictly,Kt=Zt.labelInValue,In=Zt.maxCount,Zn=Zt.fieldNames,kn=Zt.treeDataSimpleMode,Un=Zt.treeData,pr=Zt.children,Ar=Zt.loadData,Vr=Zt.treeLoadedKeys,Br=Zt.onTreeLoad,fr=Zt.treeDefaultExpandAll,Pr=Zt.treeExpandedKeys,kr=Zt.treeDefaultExpandedKeys,Jr=Zt.onTreeExpand,Xr=Zt.treeExpandAction,vo=Zt.virtual,yr=Zt.listHeight,ur=yr===void 0?200:yr,gr=Zt.listItemHeight,no=gr===void 0?20:gr,Kr=Zt.listItemScrollOffset,wr=Kr===void 0?0:Kr,Rr=Zt.onDropdownVisibleChange,mo=Zt.dropdownMatchSelectWidth,$r=mo===void 0?!0:mo,qr=Zt.treeLine,eo=Zt.treeIcon,ko=Zt.showTreeIcon,_o=Zt.switcherIcon,qo=Zt.treeMotion,Lo=Zt.treeTitleRender,ii=Zt.onPopupScroll,Le=(0,Ve.Z)(Zt,ce),nt=(0,Ge.ZP)(cn),Ot=xt&&!Pt,sn=xt||Pt,hn=Pt||Kt,Tt=sn||pt,it=(0,vt.Z)(_n,{value:rr}),Ft=(0,Ae.Z)(it,2),en=Ft[0],On=Ft[1],Wn=b.useMemo(function(){return xt?nr||te:le},[nr,xt]),Dn=b.useMemo(function(){return pe(Zn)},[JSON.stringify(Zn)]),jn=(0,vt.Z)("",{value:er!==void 0?er:It,postState:function(ho){return ho||""}}),$n=(0,Ae.Z)(jn,2),Cr=$n[0],br=$n[1],zr=function(ho){br(ho),Qt==null||Qt(ho)},Qr=ue(Un,pr,kn),yo=Mt(Qr,Dn),io=yo.keyEntities,Io=yo.valueEntities,co=b.useCallback(function(wo){var ho=[],To=[];return wo.forEach(function(si){Io.has(si)?To.push(si):ho.push(si)}),{missingRawValues:ho,existRawValues:To}},[Io]),fo=Fe(Qr,Cr,{fieldNames:Dn,treeNodeFilterProp:qt,filterTreeNode:Ye}),bo=b.useCallback(function(wo){if(wo){if(ar)return wo[ar];for(var ho=Dn._title,To=0;To<ho.length;To+=1){var si=wo[ho[To]];if(si!==void 0)return si}}},[Dn,ar]),Bo=b.useCallback(function(wo){var ho=Wt(wo);return ho.map(function(To){return Pe(To)?{value:To}:To})},[]),ri=b.useCallback(function(wo){var ho=Bo(wo);return ho.map(function(To){var si=To.label,da=To.value,Ri=To.halfChecked,Li,Oi=Io.get(da);if(Oi){var pa;si=Lo?Lo(Oi.node):(pa=si)!==null&&pa!==void 0?pa:bo(Oi.node),Li=Oi.node.disabled}else if(si===void 0){var Ea=Bo(en).find(function(Oa){return Oa.value===da});si=Ea.label}return{label:si,value:da,halfChecked:Ri,disabled:Li}})},[Io,bo,Bo,en]),Si=b.useMemo(function(){return Bo(en===null?[]:en)},[Bo,en]),bi=b.useMemo(function(){var wo=[],ho=[];return Si.forEach(function(To){To.halfChecked?ho.push(To):wo.push(To)}),[wo,ho]},[Si]),Ki=(0,Ae.Z)(bi,2),zo=Ki[0],Mo=Ki[1],zi=b.useMemo(function(){return zo.map(function(wo){return wo.value})},[zo]),Wi=We(zo,Mo,Ot,io),Xi=(0,Ae.Z)(Wi,2),za=Xi[0],Pa=Xi[1],Ta=b.useMemo(function(){var wo=ae(za,Wn,io,Dn),ho=wo.map(function(Ri){var Li,Oi;return(Li=(Oi=io[Ri])===null||Oi===void 0||(Oi=Oi.node)===null||Oi===void 0?void 0:Oi[Dn.value])!==null&&Li!==void 0?Li:Ri}),To=ho.map(function(Ri){var Li=zo.find(function(pa){return pa.value===Ri}),Oi=Kt?Li==null?void 0:Li.label:Lo==null?void 0:Lo(Li);return{value:Ri,label:Oi}}),si=ri(To),da=si[0];return!Tt&&da&&Jt(da.value)&&Jt(da.label)?[]:si.map(function(Ri){var Li;return(0,xe.Z)((0,xe.Z)({},Ri),{},{label:(Li=Ri.label)!==null&&Li!==void 0?Li:Ri.value})})},[Dn,Tt,za,zo,ri,Wn,io]),Ba=tt(Ta),Ui=(0,Ae.Z)(Ba,1),Fa=Ui[0],ul=b.useMemo(function(){return Tt&&(Wn==="SHOW_CHILD"||Pt||!xt)?In:null},[In,Tt,Pt,Wn,xt]),Qa=Ze(function(wo,ho,To){var si=ae(wo,Wn,io,Dn);if(!(ul&&si.length>ul)){var da=ri(wo);if(On(da),yt&&br(""),rn){var Ri=wo;Ot&&(Ri=si.map(function(cl){var el=Io.get(cl);return el?el.node[Dn.value]:cl}));var Li=ho||{triggerValue:void 0,selected:void 0},Oi=Li.triggerValue,pa=Li.selected,Ea=Ri;if(Pt){var Oa=Mo.filter(function(cl){return!Ri.includes(cl.value)});Ea=[].concat((0,Oe.Z)(Ea),(0,Oe.Z)(Oa))}var Ya=ri(Ea),Ii={preValue:zo,triggerValue:Oi},Ga=!0;(Pt||To==="selection"&&!pa)&&(Ga=!1),ut(Ii,Oi,wo,Qr,Ga,Dn),sn?Ii.checked=pa:Ii.selected=pa;var wl=hn?Ya:Ya.map(function(cl){return cl.value});rn(Tt?wl:wl[0],hn?null:Ya.map(function(cl){return cl.label}),Ii)}}}),Qi=b.useCallback(function(wo,ho){var To,si=ho.selected,da=ho.source,Ri=io[wo],Li=Ri==null?void 0:Ri.node,Oi=(To=Li==null?void 0:Li[Dn.value])!==null&&To!==void 0?To:wo;if(!Tt)Qa([Oi],{selected:!0,triggerValue:Oi},"option");else{var pa=si?[].concat((0,Oe.Z)(zi),[Oi]):za.filter(function(el){return el!==Oi});if(Ot){var Ea=co(pa),Oa=Ea.missingRawValues,Ya=Ea.existRawValues,Ii=Ya.map(function(el){return Io.get(el).key}),Ga;if(si){var wl=(0,be.S)(Ii,!0,io);Ga=wl.checkedKeys}else{var cl=(0,be.S)(Ii,{checked:!1,halfCheckedKeys:Pa},io);Ga=cl.checkedKeys}pa=[].concat((0,Oe.Z)(Oa),(0,Oe.Z)(Ga.map(function(el){return io[el].node[Dn.value]})))}Qa(pa,{selected:si,triggerValue:Oi},da||"option")}si||!Tt?Fn==null||Fn(Oi,Qe(Li)):nn==null||nn(Oi,Qe(Li))},[co,Io,io,Dn,Tt,zi,Qa,Ot,Fn,nn,za,Pa,In]),Nl=b.useCallback(function(wo){if(Rr){var ho={};Object.defineProperty(ho,"documentClickClose",{get:function(){return(0,Je.ZP)(!1,"Second param of `onDropdownVisibleChange` has been removed."),!1}}),Rr(wo,ho)}},[Rr]),El=Ze(function(wo,ho){var To=wo.map(function(si){return si.value});if(ho.type==="clear"){Qa(To,{},"selection");return}ho.values.length&&Qi(ho.values[0].value,{selected:!1,source:"selection"})}),hi=b.useMemo(function(){return{virtual:vo,dropdownMatchSelectWidth:$r,listHeight:ur,listItemHeight:no,listItemScrollOffset:wr,treeData:fo,fieldNames:Dn,onSelect:Qi,treeExpandAction:Xr,treeTitleRender:Lo,onPopupScroll:ii,leftMaxCount:In===void 0?null:In-Fa.length,leafCountOnly:Wn==="SHOW_CHILD"&&!Pt&&!!xt,valueEntities:Io}},[vo,$r,ur,no,wr,fo,Dn,Qi,Xr,Lo,ii,In,Fa.length,Wn,Pt,xt,Io]),mi=b.useMemo(function(){return{checkable:sn,loadData:Ar,treeLoadedKeys:Vr,onTreeLoad:Br,checkedKeys:za,halfCheckedKeys:Pa,treeDefaultExpandAll:fr,treeExpandedKeys:Pr,treeDefaultExpandedKeys:kr,onTreeExpand:Jr,treeIcon:eo,treeMotion:qo,showTreeIcon:ko,switcherIcon:_o,treeLine:qr,treeNodeFilterProp:qt,keyEntities:io}},[sn,Ar,Vr,Br,za,Pa,fr,Pr,kr,Jr,eo,qo,ko,_o,qr,qt,io]);return b.createElement(Gt.Provider,{value:hi},b.createElement(He.Provider,{value:mi},b.createElement(fe.Ac,(0,rt.Z)({ref:pn},Le,{id:nt,prefixCls:Ln,mode:Tt?"multiple":void 0,displayValues:Fa,onDisplayValuesChange:El,searchValue:Cr,onSearch:zr,OptionList:bt,emptyOptions:!Qr.length,onDropdownVisibleChange:Nl,dropdownMatchSelectWidth:$r}))))}),$e=lt;$e.TreeNode=st,$e.SHOW_ALL=le,$e.SHOW_PARENT=ne,$e.SHOW_CHILD=te;var Ie=$e,ht=Ie,Et=z(2738),Rt=z(75030),Te=z(86641),Ke=z(45915),yn=z(82855),Ht=z(48755),bn=z(38406),fn=z(2171),Xt=z(83397),on=z(31756),gn=z(56553),ft=z(24971),Yt=z(1722),xn=z(90376),St=z(68525),_e=z(90005),Vt=z(70045),tn=z(57700),un=z(85278),Tn=z(36237),qn=z(36170),mr=z(51636),vr=z(16931),Jn=z(12425);const dr=Zt=>{const{componentCls:pn,treePrefixCls:cn,colorBgElevated:zn}=Zt,Ln=`.${cn}`;return[{[`${pn}-dropdown`]:[{padding:`${(0,Tn.unit)(Zt.paddingXS)} ${(0,Tn.unit)(Zt.calc(Zt.paddingXS).div(2).equal())}`},(0,Jn.Yk)(cn,(0,mr.mergeToken)(Zt,{colorBgContainer:zn}),!1),{[Ln]:{borderRadius:0,[`${Ln}-list-holder-inner`]:{alignItems:"stretch",[`${Ln}-treenode`]:{[`${Ln}-node-content-wrapper`]:{flex:"auto"}}}}},(0,qn.C2)(`${cn}-checkbox`,Zt),{"&-rtl":{direction:"rtl",[`${Ln}-switcher${Ln}-switcher_close`]:{[`${Ln}-switcher-icon svg`]:{transform:"rotate(90deg)"}}}}]}]},_t=null;function zt(Zt,pn,cn){return(0,vr.I$)("TreeSelect",zn=>{const Ln=(0,mr.mergeToken)(zn,{treePrefixCls:pn});return[dr(Ln)]},Jn.TM)(Zt,cn)}var Sn=function(Zt,pn){var cn={};for(var zn in Zt)Object.prototype.hasOwnProperty.call(Zt,zn)&&pn.indexOf(zn)<0&&(cn[zn]=Zt[zn]);if(Zt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Ln=0,zn=Object.getOwnPropertySymbols(Zt);Ln<zn.length;Ln++)pn.indexOf(zn[Ln])<0&&Object.prototype.propertyIsEnumerable.call(Zt,zn[Ln])&&(cn[zn[Ln]]=Zt[zn[Ln]]);return cn};const wn=(Zt,pn)=>{var cn;const{prefixCls:zn,size:Ln,disabled:rr,bordered:_n=!0,className:rn,rootClassName:Fn,treeCheckable:nn,multiple:er,listHeight:It=256,listItemHeight:Qt,placement:ze,notFoundContent:yt,switcherIcon:Ye,treeLine:Ct,getPopupContainer:qt,popupClassName:nr,dropdownClassName:ar,treeIcon:pt=!1,transitionName:xt,choiceTransitionName:Pt="",status:Kt,treeExpandAction:In,builtinPlacements:Zn,dropdownMatchSelectWidth:kn,popupMatchSelectWidth:Un,allowClear:pr,variant:Ar,dropdownStyle:Vr,tagRender:Br,maxCount:fr,showCheckedStrategy:Pr,treeCheckStrictly:kr}=Zt,Jr=Sn(Zt,["prefixCls","size","disabled","bordered","className","rootClassName","treeCheckable","multiple","listHeight","listItemHeight","placement","notFoundContent","switcherIcon","treeLine","getPopupContainer","popupClassName","dropdownClassName","treeIcon","transitionName","choiceTransitionName","status","treeExpandAction","builtinPlacements","dropdownMatchSelectWidth","popupMatchSelectWidth","allowClear","variant","dropdownStyle","tagRender","maxCount","showCheckedStrategy","treeCheckStrictly"]),{getPopupContainer:Xr,getPrefixCls:vo,renderEmpty:yr,direction:ur,virtual:gr,popupMatchSelectWidth:no,popupOverflow:Kr}=b.useContext(Ht.E_),[,wr]=(0,tn.ZP)(),Rr=Qt!=null?Qt:(wr==null?void 0:wr.controlHeightSM)+(wr==null?void 0:wr.paddingXXS),mo=vo(),$r=vo("select",zn),qr=vo("select-tree",zn),eo=vo("tree-select",zn),{compactSize:ko,compactItemClassnames:_o}=(0,Vt.ri)($r,ur),qo=(0,Xt.Z)($r),Lo=(0,Xt.Z)(eo),[ii,Le,nt]=(0,xn.Z)($r,qo),[Ot]=zt(eo,qr,Lo),[sn,hn]=(0,ft.Z)("treeSelect",Ar,_n),Tt=de()(nr||ar,`${eo}-dropdown`,{[`${eo}-dropdown-rtl`]:ur==="rtl"},Fn,nt,qo,Lo,Le),it=!!(nn||er),Ft=b.useMemo(()=>{if(!(fr&&(Pr==="SHOW_ALL"&&!kr||Pr==="SHOW_PARENT")))return fr},[fr,Pr,kr]),en=(0,_e.Z)(Zt.suffixIcon,Zt.showArrow),On=(cn=Un!=null?Un:kn)!==null&&cn!==void 0?cn:no,{status:Wn,hasFeedback:Dn,isFormItemInput:jn,feedbackIcon:$n}=b.useContext(gn.aM),Cr=(0,yn.F)(Wn,Kt),{suffixIcon:br,removeIcon:zr,clearIcon:Qr}=(0,St.Z)(Object.assign(Object.assign({},Jr),{multiple:it,showSuffixIcon:en,hasFeedback:Dn,feedbackIcon:$n,prefixCls:$r,componentName:"TreeSelect"})),yo=pr===!0?{clearIcon:Qr}:pr;let io;yt!==void 0?io=yt:io=(yr==null?void 0:yr("Select"))||b.createElement(bn.Z,{componentName:"Select"});const Io=(0,Et.Z)(Jr,["suffixIcon","removeIcon","clearIcon","itemIcon","switcherIcon"]),co=b.useMemo(()=>ze!==void 0?ze:ur==="rtl"?"bottomRight":"bottomLeft",[ze,ur]),fo=(0,on.Z)(zo=>{var Mo;return(Mo=Ln!=null?Ln:ko)!==null&&Mo!==void 0?Mo:zo}),bo=b.useContext(fn.Z),Bo=rr!=null?rr:bo,ri=de()(!zn&&eo,{[`${$r}-lg`]:fo==="large",[`${$r}-sm`]:fo==="small",[`${$r}-rtl`]:ur==="rtl",[`${$r}-${sn}`]:hn,[`${$r}-in-form-item`]:jn},(0,yn.Z)($r,Cr,Dn),_o,rn,Fn,nt,qo,Lo,Le),Si=zo=>b.createElement(un.Z,{prefixCls:qr,switcherIcon:Ye,treeNodeProps:zo,showLine:Ct}),[bi]=(0,Rt.Cn)("SelectLike",Vr==null?void 0:Vr.zIndex),Ki=b.createElement(ht,Object.assign({virtual:gr,disabled:Bo},Io,{dropdownMatchSelectWidth:On,builtinPlacements:(0,Yt.Z)(Zn,Kr),ref:pn,prefixCls:$r,className:ri,listHeight:It,listItemHeight:Rr,treeCheckable:nn&&b.createElement("span",{className:`${$r}-tree-checkbox-inner`}),treeLine:!!Ct,suffixIcon:br,multiple:it,placement:co,removeIcon:zr,allowClear:yo,switcherIcon:Si,showTreeIcon:pt,notFoundContent:io,getPopupContainer:qt||Xr,treeMotion:null,dropdownClassName:Tt,dropdownStyle:Object.assign(Object.assign({},Vr),{zIndex:bi}),choiceTransitionName:(0,Te.m)(mo,"",Pt),transitionName:(0,Te.m)(mo,"slide-up",xt),treeExpandAction:In,tagRender:it?Br:void 0,maxCount:Ft,showCheckedStrategy:Pr,treeCheckStrictly:kr}));return ii(Ot(Ki))},Rn=b.forwardRef(wn),Bt=(0,Ke.Z)(Rn,"dropdownAlign",Zt=>(0,Et.Z)(Zt,["visible"]));Rn.TreeNode=st,Rn.SHOW_ALL=le,Rn.SHOW_PARENT=ne,Rn.SHOW_CHILD=te,Rn._InternalPanelDoNotUseOrYouWillBeFired=Bt;var ln=Rn},18287:function(Yn,mn,z){"use strict";z.d(mn,{default:function(){return Wt}});var b=z(87632),Ce=z(77654),de=z(59301),rt=z(52671),Oe=z(8657),xe=z(60499),Ae={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"},Ve=Ae,Be=z(7657),fe=function(Re,Ue){return de.createElement(Be.Z,(0,xe.Z)({},Re,{ref:Ue,icon:Ve}))},Ge=de.forwardRef(fe),be=Ge,vt=z(92310),Je=z.n(vt),tt=z(82661),je=z(34061),We=z(48755),ot=z(56082),Mt=z(86641),Ut=z(57700),se=z(12425);const Me=4;function st(pe){const{dropPosition:Re,dropLevelOffset:Ue,prefixCls:Jt,indent:et,direction:jt="ltr"}=pe,ct=jt==="ltr"?"left":"right",dn=jt==="ltr"?"right":"left",bt={[ct]:-Ue*et+Me,[dn]:0};switch(Re){case-1:bt.top=-3;break;case 1:bt.bottom=-3;break;default:bt.bottom=-3,bt[ct]=et+Me;break}return de.createElement("div",{style:bt,className:`${Jt}-drop-indicator`})}var mt=st,kt=z(85278),ut=de.forwardRef((pe,Re)=>{var Ue;const{getPrefixCls:Jt,direction:et,virtual:jt,tree:ct}=de.useContext(We.E_),{prefixCls:dn,className:bt,showIcon:le=!1,showLine:ne,switcherIcon:te,switcherLoadingIcon:ae,blockNode:he=!1,children:re,checkable:ce=!1,selectable:Pe=!0,draggable:lt,motion:$e,style:Ie}=pe,ht=Jt("tree",dn),Et=Jt(),Rt=$e!=null?$e:Object.assign(Object.assign({},(0,Mt.Z)(Et)),{motionAppear:!1}),Te=Object.assign(Object.assign({},pe),{checkable:ce,selectable:Pe,showIcon:le,motion:Rt,blockNode:he,showLine:!!ne,dropIndicatorRender:mt}),[Ke,yn,Ht]=(0,se.ZP)(ht),[,bn]=(0,Ut.ZP)(),fn=bn.paddingXS/2+(((Ue=bn.Tree)===null||Ue===void 0?void 0:Ue.titleHeight)||bn.controlHeightSM),Xt=de.useMemo(()=>{if(!lt)return!1;let gn={};switch(typeof lt){case"function":gn.nodeDraggable=lt;break;case"object":gn=Object.assign({},lt);break;default:break}return gn.icon!==!1&&(gn.icon=gn.icon||de.createElement(ot.Z,null)),gn},[lt]),on=gn=>de.createElement(kt.Z,{prefixCls:ht,switcherIcon:te,switcherLoadingIcon:ae,treeNodeProps:gn,showLine:ne});return Ke(de.createElement(b.ZP,Object.assign({itemHeight:fn,ref:Re,virtual:jt},Te,{style:Object.assign(Object.assign({},ct==null?void 0:ct.style),Ie),prefixCls:ht,className:Je()({[`${ht}-icon-hide`]:!le,[`${ht}-block-node`]:he,[`${ht}-unselectable`]:!Pe,[`${ht}-rtl`]:et==="rtl"},ct==null?void 0:ct.className,bt,yn,Ht),direction:et,checkable:ce&&de.createElement("span",{className:`${ht}-checkbox-inner`}),selectable:Pe,switcherIcon:on,draggable:Xt}),re))});const dt=0,Fe=1,Ze=2;function Se(pe,Re,Ue){const{key:Jt,children:et}=Ue;function jt(ct){const dn=ct[Jt],bt=ct[et];Re(dn,ct)!==!1&&Se(bt||[],Re,Ue)}pe.forEach(jt)}function ue(pe){let{treeData:Re,expandedKeys:Ue,startKey:Jt,endKey:et,fieldNames:jt}=pe;const ct=[];let dn=dt;if(Jt&&Jt===et)return[Jt];if(!Jt||!et)return[];function bt(le){return le===Jt||le===et}return Se(Re,le=>{if(dn===Ze)return!1;if(bt(le)){if(ct.push(le),dn===dt)dn=Fe;else if(dn===Fe)return dn=Ze,!1}else dn===Fe&&ct.push(le);return Ue.includes(le)},(0,je.w$)(jt)),ct}function gt(pe,Re,Ue){const Jt=(0,Ce.Z)(Re),et=[];return Se(pe,(jt,ct)=>{const dn=Jt.indexOf(jt);return dn!==-1&&(et.push(ct),Jt.splice(dn,1)),!!Jt.length},(0,je.w$)(Ue)),et}var He=function(pe,Re){var Ue={};for(var Jt in pe)Object.prototype.hasOwnProperty.call(pe,Jt)&&Re.indexOf(Jt)<0&&(Ue[Jt]=pe[Jt]);if(pe!=null&&typeof Object.getOwnPropertySymbols=="function")for(var et=0,Jt=Object.getOwnPropertySymbols(pe);et<Jt.length;et++)Re.indexOf(Jt[et])<0&&Object.prototype.propertyIsEnumerable.call(pe,Jt[et])&&(Ue[Jt[et]]=pe[Jt[et]]);return Ue};function ke(pe){const{isLeaf:Re,expanded:Ue}=pe;return Re?de.createElement(rt.Z,null):Ue?de.createElement(Oe.Z,null):de.createElement(be,null)}function Nt(pe){let{treeData:Re,children:Ue}=pe;return Re||(0,je.zn)(Ue)}const De=(pe,Re)=>{var{defaultExpandAll:Ue,defaultExpandParent:Jt,defaultExpandedKeys:et}=pe,jt=He(pe,["defaultExpandAll","defaultExpandParent","defaultExpandedKeys"]);const ct=de.useRef(null),dn=de.useRef(null),bt=()=>{const{keyEntities:Ke}=(0,je.I8)(Nt(jt));let yn;return Ue?yn=Object.keys(Ke):Jt?yn=(0,tt.r7)(jt.expandedKeys||et||[],Ke):yn=jt.expandedKeys||et||[],yn},[le,ne]=de.useState(jt.selectedKeys||jt.defaultSelectedKeys||[]),[te,ae]=de.useState(()=>bt());de.useEffect(()=>{"selectedKeys"in jt&&ne(jt.selectedKeys)},[jt.selectedKeys]),de.useEffect(()=>{"expandedKeys"in jt&&ae(jt.expandedKeys)},[jt.expandedKeys]);const he=(Ke,yn)=>{var Ht;return"expandedKeys"in jt||ae(Ke),(Ht=jt.onExpand)===null||Ht===void 0?void 0:Ht.call(jt,Ke,yn)},re=(Ke,yn)=>{var Ht;const{multiple:bn,fieldNames:fn}=jt,{node:Xt,nativeEvent:on}=yn,{key:gn=""}=Xt,ft=Nt(jt),Yt=Object.assign(Object.assign({},yn),{selected:!0}),xn=(on==null?void 0:on.ctrlKey)||(on==null?void 0:on.metaKey),St=on==null?void 0:on.shiftKey;let _e;bn&&xn?(_e=Ke,ct.current=gn,dn.current=_e,Yt.selectedNodes=gt(ft,_e,fn)):bn&&St?(_e=Array.from(new Set([].concat((0,Ce.Z)(dn.current||[]),(0,Ce.Z)(ue({treeData:ft,expandedKeys:te,startKey:gn,endKey:ct.current,fieldNames:fn}))))),Yt.selectedNodes=gt(ft,_e,fn)):(_e=[gn],ct.current=gn,dn.current=_e,Yt.selectedNodes=gt(ft,_e,fn)),(Ht=jt.onSelect)===null||Ht===void 0||Ht.call(jt,_e,Yt),"selectedKeys"in jt||ne(_e)},{getPrefixCls:ce,direction:Pe}=de.useContext(We.E_),{prefixCls:lt,className:$e,showIcon:Ie=!0,expandAction:ht="click"}=jt,Et=He(jt,["prefixCls","className","showIcon","expandAction"]),Rt=ce("tree",lt),Te=Je()(`${Rt}-directory`,{[`${Rt}-directory-rtl`]:Pe==="rtl"},$e);return de.createElement(ut,Object.assign({icon:ke,ref:Re,blockNode:!0},Et,{showIcon:Ie,expandAction:ht,prefixCls:Rt,className:Te,expandedKeys:te,selectedKeys:le,onSelect:re,onExpand:he}))};var At=de.forwardRef(De);const Gt=ut;Gt.DirectoryTree=At,Gt.TreeNode=b.OF;var Wt=Gt},12425:function(Yn,mn,z){"use strict";z.d(mn,{ZP:function(){return tt},Yk:function(){return be},TM:function(){return vt}});var b=z(36237),Ce=z(36170),de=z(63356),rt=z(34961),Oe=z(51636),xe=z(16931);const Ae=je=>{let{treeCls:We,treeNodeCls:ot,directoryNodeSelectedBg:Mt,directoryNodeSelectedColor:Ut,motionDurationMid:se,borderRadius:Me,controlItemBgHover:st}=je;return{[`${We}${We}-directory ${ot}`]:{[`${We}-node-content-wrapper`]:{position:"static",[`> *:not(${We}-drop-indicator)`]:{position:"relative"},"&:hover":{background:"transparent"},"&:before":{position:"absolute",inset:0,transition:`background-color ${se}`,content:'""',borderRadius:Me},"&:hover:before":{background:st}},[`${We}-switcher, ${We}-checkbox, ${We}-draggable-icon`]:{zIndex:1},"&-selected":{[`${We}-switcher, ${We}-draggable-icon`]:{color:Ut},[`${We}-node-content-wrapper`]:{color:Ut,background:"transparent","&:before, &:hover:before":{background:Mt}}}}}},Ve=new b.Keyframes("ant-tree-node-fx-do-not-use",{"0%":{opacity:0},"100%":{opacity:1}}),Be=(je,We)=>({[`.${je}-switcher-icon`]:{display:"inline-block",fontSize:10,verticalAlign:"baseline",svg:{transition:`transform ${We.motionDurationSlow}`}}}),fe=(je,We)=>({[`.${je}-drop-indicator`]:{position:"absolute",zIndex:1,height:2,backgroundColor:We.colorPrimary,borderRadius:1,pointerEvents:"none","&:after":{position:"absolute",top:-3,insetInlineStart:-6,width:8,height:8,backgroundColor:"transparent",border:`${(0,b.unit)(We.lineWidthBold)} solid ${We.colorPrimary}`,borderRadius:"50%",content:'""'}}}),Ge=(je,We)=>{const{treeCls:ot,treeNodeCls:Mt,treeNodePadding:Ut,titleHeight:se,indentSize:Me,nodeSelectedBg:st,nodeHoverBg:mt,colorTextQuaternary:kt,controlItemBgActiveDisabled:Qe}=We;return{[ot]:Object.assign(Object.assign({},(0,de.Wf)(We)),{background:We.colorBgContainer,borderRadius:We.borderRadius,transition:`background-color ${We.motionDurationSlow}`,"&-rtl":{direction:"rtl"},[`&${ot}-rtl ${ot}-switcher_close ${ot}-switcher-icon svg`]:{transform:"rotate(90deg)"},[`&-focused:not(:hover):not(${ot}-active-focused)`]:Object.assign({},(0,de.oN)(We)),[`${ot}-list-holder-inner`]:{alignItems:"flex-start"},[`&${ot}-block-node`]:{[`${ot}-list-holder-inner`]:{alignItems:"stretch",[`${ot}-node-content-wrapper`]:{flex:"auto"},[`${Mt}.dragging:after`]:{position:"absolute",inset:0,border:`1px solid ${We.colorPrimary}`,opacity:0,animationName:Ve,animationDuration:We.motionDurationSlow,animationPlayState:"running",animationFillMode:"forwards",content:'""',pointerEvents:"none",borderRadius:We.borderRadius}}},[Mt]:{display:"flex",alignItems:"flex-start",marginBottom:Ut,lineHeight:(0,b.unit)(se),position:"relative","&:before":{content:'""',position:"absolute",zIndex:1,insetInlineStart:0,width:"100%",top:"100%",height:Ut},[`&-disabled ${ot}-node-content-wrapper`]:{color:We.colorTextDisabled,cursor:"not-allowed","&:hover":{background:"transparent"}},[`${ot}-checkbox-disabled + ${ot}-node-selected,&${Mt}-disabled${Mt}-selected ${ot}-node-content-wrapper`]:{backgroundColor:Qe},[`${ot}-checkbox-disabled`]:{pointerEvents:"unset"},[`&:not(${Mt}-disabled)`]:{[`${ot}-node-content-wrapper`]:{"&:hover":{color:We.nodeHoverColor}}},[`&-active ${ot}-node-content-wrapper`]:{background:We.controlItemBgHover},[`&:not(${Mt}-disabled).filter-node ${ot}-title`]:{color:We.colorPrimary,fontWeight:500},"&-draggable":{cursor:"grab",[`${ot}-draggable-icon`]:{flexShrink:0,width:se,textAlign:"center",visibility:"visible",color:kt},[`&${Mt}-disabled ${ot}-draggable-icon`]:{visibility:"hidden"}}},[`${ot}-indent`]:{alignSelf:"stretch",whiteSpace:"nowrap",userSelect:"none","&-unit":{display:"inline-block",width:Me}},[`${ot}-draggable-icon`]:{visibility:"hidden"},[`${ot}-switcher, ${ot}-checkbox`]:{marginInlineEnd:We.calc(We.calc(se).sub(We.controlInteractiveSize)).div(2).equal()},[`${ot}-switcher`]:Object.assign(Object.assign({},Be(je,We)),{position:"relative",flex:"none",alignSelf:"stretch",width:se,textAlign:"center",cursor:"pointer",userSelect:"none",transition:`all ${We.motionDurationSlow}`,"&-noop":{cursor:"unset"},"&:before":{pointerEvents:"none",content:'""',width:se,height:se,position:"absolute",left:{_skip_check_:!0,value:0},top:0,borderRadius:We.borderRadius,transition:`all ${We.motionDurationSlow}`},[`&:not(${ot}-switcher-noop):hover:before`]:{backgroundColor:We.colorBgTextHover},[`&_close ${ot}-switcher-icon svg`]:{transform:"rotate(-90deg)"},"&-loading-icon":{color:We.colorPrimary},"&-leaf-line":{position:"relative",zIndex:1,display:"inline-block",width:"100%",height:"100%","&:before":{position:"absolute",top:0,insetInlineEnd:We.calc(se).div(2).equal(),bottom:We.calc(Ut).mul(-1).equal(),marginInlineStart:-1,borderInlineEnd:`1px solid ${We.colorBorder}`,content:'""'},"&:after":{position:"absolute",width:We.calc(We.calc(se).div(2).equal()).mul(.8).equal(),height:We.calc(se).div(2).equal(),borderBottom:`1px solid ${We.colorBorder}`,content:'""'}}}),[`${ot}-node-content-wrapper`]:Object.assign(Object.assign({position:"relative",minHeight:se,paddingBlock:0,paddingInline:We.paddingXS,background:"transparent",borderRadius:We.borderRadius,cursor:"pointer",transition:`all ${We.motionDurationMid}, border 0s, line-height 0s, box-shadow 0s`},fe(je,We)),{"&:hover":{backgroundColor:mt},[`&${ot}-node-selected`]:{color:We.nodeSelectedColor,backgroundColor:st},[`${ot}-iconEle`]:{display:"inline-block",width:se,height:se,textAlign:"center",verticalAlign:"top","&:empty":{display:"none"}}}),[`${ot}-unselectable ${ot}-node-content-wrapper:hover`]:{backgroundColor:"transparent"},[`${Mt}.drop-container > [draggable]`]:{boxShadow:`0 0 0 2px ${We.colorPrimary}`},"&-show-line":{[`${ot}-indent-unit`]:{position:"relative",height:"100%","&:before":{position:"absolute",top:0,insetInlineEnd:We.calc(se).div(2).equal(),bottom:We.calc(Ut).mul(-1).equal(),borderInlineEnd:`1px solid ${We.colorBorder}`,content:'""'},"&-end:before":{display:"none"}},[`${ot}-switcher`]:{background:"transparent","&-line-icon":{verticalAlign:"-0.15em"}}},[`${Mt}-leaf-last ${ot}-switcher-leaf-line:before`]:{top:"auto !important",bottom:"auto !important",height:`${(0,b.unit)(We.calc(se).div(2).equal())} !important`}})}},be=function(je,We){let ot=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!0;const Mt=`.${je}`,Ut=`${Mt}-treenode`,se=We.calc(We.paddingXS).div(2).equal(),Me=(0,Oe.mergeToken)(We,{treeCls:Mt,treeNodeCls:Ut,treeNodePadding:se});return[Ge(je,Me),ot&&Ae(Me)].filter(Boolean)},vt=je=>{const{controlHeightSM:We,controlItemBgHover:ot,controlItemBgActive:Mt}=je,Ut=We;return{titleHeight:Ut,indentSize:Ut,nodeHoverBg:ot,nodeHoverColor:je.colorText,nodeSelectedBg:Mt,nodeSelectedColor:je.colorText}},Je=je=>{const{colorTextLightSolid:We,colorPrimary:ot}=je;return Object.assign(Object.assign({},vt(je)),{directoryNodeSelectedColor:We,directoryNodeSelectedBg:ot})};var tt=(0,xe.I$)("Tree",(je,We)=>{let{prefixCls:ot}=We;return[{[je.componentCls]:(0,Ce.C2)(`${ot}-checkbox`,je)},be(ot,je),(0,rt.Z)(je)]},Je)},85278:function(Yn,mn,z){"use strict";z.d(mn,{Z:function(){return We}});var b=z(59301),Ce=z(60499),de={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"},rt=de,Oe=z(7657),xe=function(Mt,Ut){return b.createElement(Oe.Z,(0,Ce.Z)({},Mt,{ref:Ut,icon:rt}))},Ae=b.forwardRef(xe),Ve=Ae,Be=z(52671),fe=z(58617),Ge=z(15075),be=z(43531),vt=z(92310),Je=z.n(vt),tt=z(22703),We=ot=>{const{prefixCls:Mt,switcherIcon:Ut,treeNodeProps:se,showLine:Me,switcherLoadingIcon:st}=ot,{isLeaf:mt,expanded:kt,loading:Qe}=se;if(Qe)return b.isValidElement(st)?st:b.createElement(fe.Z,{className:`${Mt}-switcher-loading-icon`});let ut;if(Me&&typeof Me=="object"&&(ut=Me.showLeafIcon),mt){if(!Me)return null;if(typeof ut!="boolean"&&ut){const Ze=typeof ut=="function"?ut(se):ut,Se=`${Mt}-switcher-line-custom-icon`;return b.isValidElement(Ze)?(0,tt.Tm)(Ze,{className:Je()(Ze.props.className||"",Se)}):Ze}return ut?b.createElement(Be.Z,{className:`${Mt}-switcher-line-icon`}):b.createElement("span",{className:`${Mt}-switcher-leaf-line`})}const dt=`${Mt}-switcher-icon`,Fe=typeof Ut=="function"?Ut(se):Ut;return b.isValidElement(Fe)?(0,tt.Tm)(Fe,{className:Je()(Fe.props.className||"",dt)}):Fe!==void 0?Fe:Me?kt?b.createElement(Ge.Z,{className:`${Mt}-switcher-line-icon`}):b.createElement(be.Z,{className:`${Mt}-switcher-line-icon`}):b.createElement(Ve,{className:dt})}},99498:function(Yn,mn,z){(function(b){b(z(89780))})(function(b){b.defineOption("placeholder","",function(Ve,Be,fe){var Ge=fe&&fe!=b.Init;if(Be&&!Ge)Ve.on("blur",Oe),Ve.on("change",xe),Ve.on("swapDoc",xe),b.on(Ve.getInputField(),"compositionupdate",Ve.state.placeholderCompose=function(){rt(Ve)}),xe(Ve);else if(!Be&&Ge){Ve.off("blur",Oe),Ve.off("change",xe),Ve.off("swapDoc",xe),b.off(Ve.getInputField(),"compositionupdate",Ve.state.placeholderCompose),Ce(Ve);var be=Ve.getWrapperElement();be.className=be.className.replace(" CodeMirror-empty","")}Be&&!Ve.hasFocus()&&Oe(Ve)});function Ce(Ve){Ve.state.placeholder&&(Ve.state.placeholder.parentNode.removeChild(Ve.state.placeholder),Ve.state.placeholder=null)}function de(Ve){Ce(Ve);var Be=Ve.state.placeholder=document.createElement("pre");Be.style.cssText="height: 0; overflow: visible",Be.style.direction=Ve.getOption("direction"),Be.className="CodeMirror-placeholder CodeMirror-line-like";var fe=Ve.getOption("placeholder");typeof fe=="string"&&(fe=document.createTextNode(fe)),Be.appendChild(fe),Ve.display.lineSpace.insertBefore(Be,Ve.display.lineSpace.firstChild)}function rt(Ve){setTimeout(function(){var Be=!1,fe=Ve.getInputField();fe.nodeName=="TEXTAREA"?Be=!fe.value:Ve.lineCount()==1&&(Be=!/[^\u200b]/.test(fe.querySelector(".CodeMirror-line").textContent)),Be?de(Ve):Ce(Ve)},20)}function Oe(Ve){Ae(Ve)&&de(Ve)}function xe(Ve){var Be=Ve.getWrapperElement(),fe=Ae(Ve);Be.className=Be.className.replace(" CodeMirror-empty","")+(fe?" CodeMirror-empty":""),fe?de(Ve):Ce(Ve)}function Ae(Ve){return Ve.lineCount()===1&&Ve.getLine(0)===""}})},25717:function(Yn,mn,z){(function(b){b(z(89780))})(function(b){var Ce={pairs:`()[]{}''""`,closeBefore:`)]}'":;>`,triples:"",explode:"[]{}"},de=b.Pos;b.defineOption("autoCloseBrackets",!1,function(tt,je,We){We&&We!=b.Init&&(tt.removeKeyMap(Oe),tt.state.closeBrackets=null),je&&(xe(rt(je,"pairs")),tt.state.closeBrackets=je,tt.addKeyMap(Oe))});function rt(tt,je){return je=="pairs"&&typeof tt=="string"?tt:typeof tt=="object"&&tt[je]!=null?tt[je]:Ce[je]}var Oe={Backspace:Be,Enter:fe};function xe(tt){for(var je=0;je<tt.length;je++){var We=tt.charAt(je),ot="'"+We+"'";Oe[ot]||(Oe[ot]=Ae(We))}}xe(Ce.pairs+"`");function Ae(tt){return function(je){return be(je,tt)}}function Ve(tt){var je=tt.state.closeBrackets;if(!je||je.override)return je;var We=tt.getModeAt(tt.getCursor());return We.closeBrackets||je}function Be(tt){var je=Ve(tt);if(!je||tt.getOption("disableInput"))return b.Pass;for(var We=rt(je,"pairs"),ot=tt.listSelections(),Mt=0;Mt<ot.length;Mt++){if(!ot[Mt].empty())return b.Pass;var Ut=vt(tt,ot[Mt].head);if(!Ut||We.indexOf(Ut)%2!=0)return b.Pass}for(var Mt=ot.length-1;Mt>=0;Mt--){var se=ot[Mt].head;tt.replaceRange("",de(se.line,se.ch-1),de(se.line,se.ch+1),"+delete")}}function fe(tt){var je=Ve(tt),We=je&&rt(je,"explode");if(!We||tt.getOption("disableInput"))return b.Pass;for(var ot=tt.listSelections(),Mt=0;Mt<ot.length;Mt++){if(!ot[Mt].empty())return b.Pass;var Ut=vt(tt,ot[Mt].head);if(!Ut||We.indexOf(Ut)%2!=0)return b.Pass}tt.operation(function(){var se=tt.lineSeparator()||`
|
|
|
`;tt.replaceSelection(se+se,null),tt.execCommand("goCharLeft"),ot=tt.listSelections();for(var Me=0;Me<ot.length;Me++){var st=ot[Me].head.line;tt.indentLine(st,null,!0),tt.indentLine(st+1,null,!0)}})}function Ge(tt){var je=b.cmpPos(tt.anchor,tt.head)>0;return{anchor:new de(tt.anchor.line,tt.anchor.ch+(je?-1:1)),head:new de(tt.head.line,tt.head.ch+(je?1:-1))}}function be(tt,je){var We=Ve(tt);if(!We||tt.getOption("disableInput"))return b.Pass;var ot=rt(We,"pairs"),Mt=ot.indexOf(je);if(Mt==-1)return b.Pass;for(var Ut=rt(We,"closeBefore"),se=rt(We,"triples"),Me=ot.charAt(Mt+1)==je,st=tt.listSelections(),mt=Mt%2==0,kt,Qe=0;Qe<st.length;Qe++){var ut=st[Qe],dt=ut.head,Fe,Ze=tt.getRange(dt,de(dt.line,dt.ch+1));if(mt&&!ut.empty())Fe="surround";else if((Me||!mt)&&Ze==je)Me&&Je(tt,dt)?Fe="both":se.indexOf(je)>=0&&tt.getRange(dt,de(dt.line,dt.ch+3))==je+je+je?Fe="skipThree":Fe="skip";else if(Me&&dt.ch>1&&se.indexOf(je)>=0&&tt.getRange(de(dt.line,dt.ch-2),dt)==je+je){if(dt.ch>2&&/\bstring/.test(tt.getTokenTypeAt(de(dt.line,dt.ch-2))))return b.Pass;Fe="addFour"}else if(Me){var Se=dt.ch==0?" ":tt.getRange(de(dt.line,dt.ch-1),dt);if(!b.isWordChar(Ze)&&Se!=je&&!b.isWordChar(Se))Fe="both";else return b.Pass}else if(mt&&(Ze.length===0||/\s/.test(Ze)||Ut.indexOf(Ze)>-1))Fe="both";else return b.Pass;if(!kt)kt=Fe;else if(kt!=Fe)return b.Pass}var ue=Mt%2?ot.charAt(Mt-1):je,gt=Mt%2?je:ot.charAt(Mt+1);tt.operation(function(){if(kt=="skip")tt.execCommand("goCharRight");else if(kt=="skipThree")for(var He=0;He<3;He++)tt.execCommand("goCharRight");else if(kt=="surround"){for(var ke=tt.getSelections(),He=0;He<ke.length;He++)ke[He]=ue+ke[He]+gt;tt.replaceSelections(ke,"around"),ke=tt.listSelections().slice();for(var He=0;He<ke.length;He++)ke[He]=Ge(ke[He]);tt.setSelections(ke)}else kt=="both"?(tt.replaceSelection(ue+gt,null),tt.triggerElectric(ue+gt),tt.execCommand("goCharLeft")):kt=="addFour"&&(tt.replaceSelection(ue+ue+ue+ue,"before"),tt.execCommand("goCharRight"))})}function vt(tt,je){var We=tt.getRange(de(je.line,je.ch-1),de(je.line,je.ch+1));return We.length==2?We:null}function Je(tt,je){var We=tt.getTokenAt(de(je.line,je.ch+1));return/\bstring/.test(We.type)&&We.start==je.ch&&(je.ch==0||!/\bstring/.test(tt.getTokenTypeAt(je)))}})},6313:function(Yn,mn,z){(function(b){b(z(89780),z(32855))})(function(b){b.defineOption("autoCloseTags",!1,function(Be,fe,Ge){if(Ge!=b.Init&&Ge&&Be.removeKeyMap("autoCloseTags"),!!fe){var be={name:"autoCloseTags"};(typeof fe!="object"||fe.whenClosing!==!1)&&(be["'/'"]=function(vt){return xe(vt)}),(typeof fe!="object"||fe.whenOpening!==!1)&&(be["'>'"]=function(vt){return rt(vt)}),Be.addKeyMap(be)}});var Ce=["area","base","br","col","command","embed","hr","img","input","keygen","link","meta","param","source","track","wbr"],de=["applet","blockquote","body","button","div","dl","fieldset","form","frameset","h1","h2","h3","h4","h5","h6","head","html","iframe","layer","legend","object","ol","p","select","table","ul"];function rt(Be){if(Be.getOption("disableInput"))return b.Pass;for(var fe=Be.listSelections(),Ge=[],be=Be.getOption("autoCloseTags"),vt=0;vt<fe.length;vt++){if(!fe[vt].empty())return b.Pass;var Je=fe[vt].head,tt=Be.getTokenAt(Je),je=b.innerMode(Be.getMode(),tt.state),We=je.state,ot=je.mode.xmlCurrentTag&&je.mode.xmlCurrentTag(We),Mt=ot&&ot.name;if(!Mt)return b.Pass;var Ut=je.mode.configuration=="html",se=typeof be=="object"&&be.dontCloseTags||Ut&&Ce,Me=typeof be=="object"&&be.indentTags||Ut&&de;tt.end>Je.ch&&(Mt=Mt.slice(0,Mt.length-tt.end+Je.ch));var st=Mt.toLowerCase();if(!Mt||tt.type=="string"&&(tt.end!=Je.ch||!/[\"\']/.test(tt.string.charAt(tt.string.length-1))||tt.string.length==1)||tt.type=="tag"&&ot.close||tt.string.indexOf("/")==Je.ch-tt.start-1||se&&Ae(se,st)>-1||Ve(Be,je.mode.xmlCurrentContext&&je.mode.xmlCurrentContext(We)||[],Mt,Je,!0))return b.Pass;var mt=typeof be=="object"&&be.emptyTags;if(mt&&Ae(mt,Mt)>-1){Ge[vt]={text:"/>",newPos:b.Pos(Je.line,Je.ch+2)};continue}var kt=Me&&Ae(Me,st)>-1;Ge[vt]={indent:kt,text:">"+(kt?`
|
|
|
|
|
|
`:"")+"</"+Mt+">",newPos:kt?b.Pos(Je.line+1,0):b.Pos(Je.line,Je.ch+1)}}for(var Qe=typeof be=="object"&&be.dontIndentOnAutoClose,vt=fe.length-1;vt>=0;vt--){var ut=Ge[vt];Be.replaceRange(ut.text,fe[vt].head,fe[vt].anchor,"+insert");var dt=Be.listSelections().slice(0);dt[vt]={head:ut.newPos,anchor:ut.newPos},Be.setSelections(dt),!Qe&&ut.indent&&(Be.indentLine(ut.newPos.line,null,!0),Be.indentLine(ut.newPos.line+1,null,!0))}}function Oe(Be,fe){for(var Ge=Be.listSelections(),be=[],vt=fe?"/":"</",Je=Be.getOption("autoCloseTags"),tt=typeof Je=="object"&&Je.dontIndentOnSlash,je=0;je<Ge.length;je++){if(!Ge[je].empty())return b.Pass;var We=Ge[je].head,ot=Be.getTokenAt(We),Mt=b.innerMode(Be.getMode(),ot.state),Ut=Mt.state;if(fe&&(ot.type=="string"||ot.string.charAt(0)!="<"||ot.start!=We.ch-1))return b.Pass;var se,Me=Mt.mode.name!="xml"&&Be.getMode().name=="htmlmixed";if(Me&&Mt.mode.name=="javascript")se=vt+"script";else if(Me&&Mt.mode.name=="css")se=vt+"style";else{var st=Mt.mode.xmlCurrentContext&&Mt.mode.xmlCurrentContext(Ut);if(!st||st.length&&Ve(Be,st,st[st.length-1],We))return b.Pass;se=vt+st[st.length-1]}Be.getLine(We.line).charAt(ot.end)!=">"&&(se+=">"),be[je]=se}if(Be.replaceSelections(be),Ge=Be.listSelections(),!tt)for(var je=0;je<Ge.length;je++)(je==Ge.length-1||Ge[je].head.line<Ge[je+1].head.line)&&Be.indentLine(Ge[je].head.line)}function xe(Be){return Be.getOption("disableInput")?b.Pass:Oe(Be,!0)}b.commands.closeTag=function(Be){return Oe(Be)};function Ae(Be,fe){if(Be.indexOf)return Be.indexOf(fe);for(var Ge=0,be=Be.length;Ge<be;++Ge)if(Be[Ge]==fe)return Ge;return-1}function Ve(Be,fe,Ge,be,vt){if(!b.scanForClosingTag)return!1;var Je=Math.min(Be.lastLine()+1,be.line+500),tt=b.scanForClosingTag(Be,be,null,Je);if(!tt||tt.tag!=Ge)return!1;for(var je=vt?1:0,We=fe.length-1;We>=0&&fe[We]==Ge;We--)++je;be=tt.to;for(var We=1;We<je;We++){var ot=b.scanForClosingTag(Be,be,null,Je);if(!ot||ot.tag!=Ge)return!1;be=ot.to}return!0}})},32855:function(Yn,mn,z){(function(b){b(z(89780))})(function(b){"use strict";var Ce=b.Pos;function de(We,ot){return We.line-ot.line||We.ch-ot.ch}var rt="A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD",Oe=rt+"-:.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040",xe=new RegExp("<(/?)(["+rt+"]["+Oe+"]*)","g");function Ae(We,ot,Mt,Ut){this.line=ot,this.ch=Mt,this.cm=We,this.text=We.getLine(ot),this.min=Ut?Math.max(Ut.from,We.firstLine()):We.firstLine(),this.max=Ut?Math.min(Ut.to-1,We.lastLine()):We.lastLine()}function Ve(We,ot){var Mt=We.cm.getTokenTypeAt(Ce(We.line,ot));return Mt&&/\btag\b/.test(Mt)}function Be(We){if(!(We.line>=We.max))return We.ch=0,We.text=We.cm.getLine(++We.line),!0}function fe(We){if(!(We.line<=We.min))return We.text=We.cm.getLine(--We.line),We.ch=We.text.length,!0}function Ge(We){for(;;){var ot=We.text.indexOf(">",We.ch);if(ot==-1){if(Be(We))continue;return}if(!Ve(We,ot+1)){We.ch=ot+1;continue}var Mt=We.text.lastIndexOf("/",ot),Ut=Mt>-1&&!/\S/.test(We.text.slice(Mt+1,ot));return We.ch=ot+1,Ut?"selfClose":"regular"}}function be(We){for(;;){var ot=We.ch?We.text.lastIndexOf("<",We.ch-1):-1;if(ot==-1){if(fe(We))continue;return}if(!Ve(We,ot+1)){We.ch=ot;continue}xe.lastIndex=ot,We.ch=ot;var Mt=xe.exec(We.text);if(Mt&&Mt.index==ot)return Mt}}function vt(We){for(;;){xe.lastIndex=We.ch;var ot=xe.exec(We.text);if(!ot){if(Be(We))continue;return}if(!Ve(We,ot.index+1)){We.ch=ot.index+1;continue}return We.ch=ot.index+ot[0].length,ot}}function Je(We){for(;;){var ot=We.ch?We.text.lastIndexOf(">",We.ch-1):-1;if(ot==-1){if(fe(We))continue;return}if(!Ve(We,ot+1)){We.ch=ot;continue}var Mt=We.text.lastIndexOf("/",ot),Ut=Mt>-1&&!/\S/.test(We.text.slice(Mt+1,ot));return We.ch=ot+1,Ut?"selfClose":"regular"}}function tt(We,ot){for(var Mt=[];;){var Ut=vt(We),se,Me=We.line,st=We.ch-(Ut?Ut[0].length:0);if(!Ut||!(se=Ge(We)))return;if(se!="selfClose")if(Ut[1]){for(var mt=Mt.length-1;mt>=0;--mt)if(Mt[mt]==Ut[2]){Mt.length=mt;break}if(mt<0&&(!ot||ot==Ut[2]))return{tag:Ut[2],from:Ce(Me,st),to:Ce(We.line,We.ch)}}else Mt.push(Ut[2])}}function je(We,ot){for(var Mt=[];;){var Ut=Je(We);if(!Ut)return;if(Ut=="selfClose"){be(We);continue}var se=We.line,Me=We.ch,st=be(We);if(!st)return;if(st[1])Mt.push(st[2]);else{for(var mt=Mt.length-1;mt>=0;--mt)if(Mt[mt]==st[2]){Mt.length=mt;break}if(mt<0&&(!ot||ot==st[2]))return{tag:st[2],from:Ce(We.line,We.ch),to:Ce(se,Me)}}}}b.registerHelper("fold","xml",function(We,ot){for(var Mt=new Ae(We,ot.line,0);;){var Ut=vt(Mt);if(!Ut||Mt.line!=ot.line)return;var se=Ge(Mt);if(!se)return;if(!Ut[1]&&se!="selfClose"){var Me=Ce(Mt.line,Mt.ch),st=tt(Mt,Ut[2]);return st&&de(st.from,Me)>0?{from:Me,to:st.from}:null}}}),b.findMatchingTag=function(We,ot,Mt){var Ut=new Ae(We,ot.line,ot.ch,Mt);if(!(Ut.text.indexOf(">")==-1&&Ut.text.indexOf("<")==-1)){var se=Ge(Ut),Me=se&&Ce(Ut.line,Ut.ch),st=se&&be(Ut);if(!(!se||!st||de(Ut,ot)>0)){var mt={from:Ce(Ut.line,Ut.ch),to:Me,tag:st[2]};return se=="selfClose"?{open:mt,close:null,at:"open"}:st[1]?{open:je(Ut,st[2]),close:mt,at:"close"}:(Ut=new Ae(We,Me.line,Me.ch,Mt),{open:mt,close:tt(Ut,st[2]),at:"open"})}}},b.findEnclosingTag=function(We,ot,Mt,Ut){for(var se=new Ae(We,ot.line,ot.ch,Mt);;){var Me=je(se,Ut);if(!Me)break;var st=new Ae(We,ot.line,ot.ch,Mt),mt=tt(st,Me.tag);if(mt)return{open:Me,close:mt}}},b.scanForClosingTag=function(We,ot,Mt,Ut){var se=new Ae(We,ot.line,ot.ch,Ut?{from:0,to:Ut}:null);return tt(se,Mt)}})},89780:function(Yn){(function(mn,z){Yn.exports=z()})(this,function(){"use strict";var mn=navigator.userAgent,z=navigator.platform,b=/gecko\/\d/i.test(mn),Ce=/MSIE \d/.test(mn),de=/Trident\/(?:[7-9]|\d{2,})\..*rv:(\d+)/.exec(mn),rt=/Edge\/(\d+)/.exec(mn),Oe=Ce||de||rt,xe=Oe&&(Ce?document.documentMode||6:+(rt||de)[1]),Ae=!rt&&/WebKit\//.test(mn),Ve=Ae&&/Qt\/\d+\.\d+/.test(mn),Be=!rt&&/Chrome\//.test(mn),fe=/Opera\//.test(mn),Ge=/Apple Computer/.test(navigator.vendor),be=/Mac OS X 1\d\D([8-9]|\d\d)\D/.test(mn),vt=/PhantomJS/.test(mn),Je=!rt&&/AppleWebKit/.test(mn)&&/Mobile\/\w+/.test(mn),tt=/Android/.test(mn),je=Je||tt||/webOS|BlackBerry|Opera Mini|Opera Mobi|IEMobile/i.test(mn),We=Je||/Mac/.test(z),ot=/\bCrOS\b/.test(mn),Mt=/win/i.test(z),Ut=fe&&mn.match(/Version\/(\d*\.\d*)/);Ut&&(Ut=Number(Ut[1])),Ut&&Ut>=15&&(fe=!1,Ae=!0);var se=We&&(Ve||fe&&(Ut==null||Ut<12.11)),Me=b||Oe&&xe>=9;function st(a){return new RegExp("(^|\\s)"+a+"(?:$|\\s)\\s*")}var mt=function(a,y){var E=a.className,x=st(y).exec(E);if(x){var ee=E.slice(x.index+x[0].length);a.className=E.slice(0,x.index)+(ee?x[1]+ee:"")}};function kt(a){for(var y=a.childNodes.length;y>0;--y)a.removeChild(a.firstChild);return a}function Qe(a,y){return kt(a).appendChild(y)}function ut(a,y,E,x){var ee=document.createElement(a);if(E&&(ee.className=E),x&&(ee.style.cssText=x),typeof y=="string")ee.appendChild(document.createTextNode(y));else if(y)for(var oe=0;oe<y.length;++oe)ee.appendChild(y[oe]);return ee}function dt(a,y,E,x){var ee=ut(a,y,E,x);return ee.setAttribute("role","presentation"),ee}var Fe;document.createRange?Fe=function(a,y,E,x){var ee=document.createRange();return ee.setEnd(x||a,E),ee.setStart(a,y),ee}:Fe=function(a,y,E){var x=document.body.createTextRange();try{x.moveToElementText(a.parentNode)}catch(ee){return x}return x.collapse(!0),x.moveEnd("character",E),x.moveStart("character",y),x};function Ze(a,y){if(y.nodeType==3&&(y=y.parentNode),a.contains)return a.contains(y);do if(y.nodeType==11&&(y=y.host),y==a)return!0;while(y=y.parentNode)}function Se(){var a;try{a=document.activeElement}catch(y){a=document.body||null}for(;a&&a.shadowRoot&&a.shadowRoot.activeElement;)a=a.shadowRoot.activeElement;return a}function ue(a,y){var E=a.className;st(y).test(E)||(a.className+=(E?" ":"")+y)}function gt(a,y){for(var E=a.split(" "),x=0;x<E.length;x++)E[x]&&!st(E[x]).test(y)&&(y+=" "+E[x]);return y}var He=function(a){a.select()};Je?He=function(a){a.selectionStart=0,a.selectionEnd=a.value.length}:Oe&&(He=function(a){try{a.select()}catch(y){}});function ke(a){var y=Array.prototype.slice.call(arguments,1);return function(){return a.apply(null,y)}}function Nt(a,y,E){y||(y={});for(var x in a)a.hasOwnProperty(x)&&(E!==!1||!y.hasOwnProperty(x))&&(y[x]=a[x]);return y}function De(a,y,E,x,ee){y==null&&(y=a.search(/[^\s\u00a0]/),y==-1&&(y=a.length));for(var oe=x||0,me=ee||0;;){var we=a.indexOf(" ",oe);if(we<0||we>=y)return me+(y-oe);me+=we-oe,me+=E-me%E,oe=we+1}}var ve=function(){this.id=null,this.f=null,this.time=0,this.handler=ke(this.onTimeout,this)};ve.prototype.onTimeout=function(a){a.id=0,a.time<=+new Date?a.f():setTimeout(a.handler,a.time-+new Date)},ve.prototype.set=function(a,y){this.f=y;var E=+new Date+a;(!this.id||E<this.time)&&(clearTimeout(this.id),this.id=setTimeout(this.handler,a),this.time=E)};function At(a,y){for(var E=0;E<a.length;++E)if(a[E]==y)return E;return-1}var Gt=50,Wt={toString:function(){return"CodeMirror.Pass"}},pe={scroll:!1},Re={origin:"*mouse"},Ue={origin:"+move"};function Jt(a,y,E){for(var x=0,ee=0;;){var oe=a.indexOf(" ",x);oe==-1&&(oe=a.length);var me=oe-x;if(oe==a.length||ee+me>=y)return x+Math.min(me,y-ee);if(ee+=oe-x,ee+=E-ee%E,x=oe+1,ee>=y)return x}}var et=[""];function jt(a){for(;et.length<=a;)et.push(ct(et)+" ");return et[a]}function ct(a){return a[a.length-1]}function dn(a,y){for(var E=[],x=0;x<a.length;x++)E[x]=y(a[x],x);return E}function bt(a,y,E){for(var x=0,ee=E(y);x<a.length&&E(a[x])<=ee;)x++;a.splice(x,0,y)}function le(){}function ne(a,y){var E;return Object.create?E=Object.create(a):(le.prototype=a,E=new le),y&&Nt(y,E),E}var te=/[\u00df\u0587\u0590-\u05f4\u0600-\u06ff\u3040-\u309f\u30a0-\u30ff\u3400-\u4db5\u4e00-\u9fcc\uac00-\ud7af]/;function ae(a){return/\w/.test(a)||a>"\x80"&&(a.toUpperCase()!=a.toLowerCase()||te.test(a))}function he(a,y){return y?y.source.indexOf("\\w")>-1&&ae(a)?!0:y.test(a):ae(a)}function re(a){for(var y in a)if(a.hasOwnProperty(y)&&a[y])return!1;return!0}var ce=/[\u0300-\u036f\u0483-\u0489\u0591-\u05bd\u05bf\u05c1\u05c2\u05c4\u05c5\u05c7\u0610-\u061a\u064b-\u065e\u0670\u06d6-\u06dc\u06de-\u06e4\u06e7\u06e8\u06ea-\u06ed\u0711\u0730-\u074a\u07a6-\u07b0\u07eb-\u07f3\u0816-\u0819\u081b-\u0823\u0825-\u0827\u0829-\u082d\u0900-\u0902\u093c\u0941-\u0948\u094d\u0951-\u0955\u0962\u0963\u0981\u09bc\u09be\u09c1-\u09c4\u09cd\u09d7\u09e2\u09e3\u0a01\u0a02\u0a3c\u0a41\u0a42\u0a47\u0a48\u0a4b-\u0a4d\u0a51\u0a70\u0a71\u0a75\u0a81\u0a82\u0abc\u0ac1-\u0ac5\u0ac7\u0ac8\u0acd\u0ae2\u0ae3\u0b01\u0b3c\u0b3e\u0b3f\u0b41-\u0b44\u0b4d\u0b56\u0b57\u0b62\u0b63\u0b82\u0bbe\u0bc0\u0bcd\u0bd7\u0c3e-\u0c40\u0c46-\u0c48\u0c4a-\u0c4d\u0c55\u0c56\u0c62\u0c63\u0cbc\u0cbf\u0cc2\u0cc6\u0ccc\u0ccd\u0cd5\u0cd6\u0ce2\u0ce3\u0d3e\u0d41-\u0d44\u0d4d\u0d57\u0d62\u0d63\u0dca\u0dcf\u0dd2-\u0dd4\u0dd6\u0ddf\u0e31\u0e34-\u0e3a\u0e47-\u0e4e\u0eb1\u0eb4-\u0eb9\u0ebb\u0ebc\u0ec8-\u0ecd\u0f18\u0f19\u0f35\u0f37\u0f39\u0f71-\u0f7e\u0f80-\u0f84\u0f86\u0f87\u0f90-\u0f97\u0f99-\u0fbc\u0fc6\u102d-\u1030\u1032-\u1037\u1039\u103a\u103d\u103e\u1058\u1059\u105e-\u1060\u1071-\u1074\u1082\u1085\u1086\u108d\u109d\u135f\u1712-\u1714\u1732-\u1734\u1752\u1753\u1772\u1773\u17b7-\u17bd\u17c6\u17c9-\u17d3\u17dd\u180b-\u180d\u18a9\u1920-\u1922\u1927\u1928\u1932\u1939-\u193b\u1a17\u1a18\u1a56\u1a58-\u1a5e\u1a60\u1a62\u1a65-\u1a6c\u1a73-\u1a7c\u1a7f\u1b00-\u1b03\u1b34\u1b36-\u1b3a\u1b3c\u1b42\u1b6b-\u1b73\u1b80\u1b81\u1ba2-\u1ba5\u1ba8\u1ba9\u1c2c-\u1c33\u1c36\u1c37\u1cd0-\u1cd2\u1cd4-\u1ce0\u1ce2-\u1ce8\u1ced\u1dc0-\u1de6\u1dfd-\u1dff\u200c\u200d\u20d0-\u20f0\u2cef-\u2cf1\u2de0-\u2dff\u302a-\u302f\u3099\u309a\ua66f-\ua672\ua67c\ua67d\ua6f0\ua6f1\ua802\ua806\ua80b\ua825\ua826\ua8c4\ua8e0-\ua8f1\ua926-\ua92d\ua947-\ua951\ua980-\ua982\ua9b3\ua9b6-\ua9b9\ua9bc\uaa29-\uaa2e\uaa31\uaa32\uaa35\uaa36\uaa43\uaa4c\uaab0\uaab2-\uaab4\uaab7\uaab8\uaabe\uaabf\uaac1\uabe5\uabe8\uabed\udc00-\udfff\ufb1e\ufe00-\ufe0f\ufe20-\ufe26\uff9e\uff9f]/;function Pe(a){return a.charCodeAt(0)>=768&&ce.test(a)}function lt(a,y,E){for(;(E<0?y>0:y<a.length)&&Pe(a.charAt(y));)y+=E;return y}function $e(a,y,E){for(var x=y>E?-1:1;;){if(y==E)return y;var ee=(y+E)/2,oe=x<0?Math.ceil(ee):Math.floor(ee);if(oe==y)return a(oe)?y:E;a(oe)?E=oe:y=oe+x}}function Ie(a,y,E,x){if(!a)return x(y,E,"ltr",0);for(var ee=!1,oe=0;oe<a.length;++oe){var me=a[oe];(me.from<E&&me.to>y||y==E&&me.to==y)&&(x(Math.max(me.from,y),Math.min(me.to,E),me.level==1?"rtl":"ltr",oe),ee=!0)}ee||x(y,E,"ltr")}var ht=null;function Et(a,y,E){var x;ht=null;for(var ee=0;ee<a.length;++ee){var oe=a[ee];if(oe.from<y&&oe.to>y)return ee;oe.to==y&&(oe.from!=oe.to&&E=="before"?x=ee:ht=ee),oe.from==y&&(oe.from!=oe.to&&E!="before"?x=ee:ht=ee)}return x!=null?x:ht}var Rt=function(){var a="bbbbbbbbbtstwsbbbbbbbbbbbbbbssstwNN%%%NNNNNN,N,N1111111111NNNNNNNLLLLLLLLLLLLLLLLLLLLLLLLLLNNNNNNLLLLLLLLLLLLLLLLLLLLLLLLLLNNNNbbbbbbsbbbbbbbbbbbbbbbbbbbbbbbbbb,N%%%%NNNNLNNNNN%%11NLNNN1LNNNNNLLLLLLLLLLLLLLLLLLLLLLLNLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLN",y="nnnnnnNNr%%r,rNNmmmmmmmmmmmrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrmmmmmmmmmmmmmmmmmmmmmnnnnnnnnnn%nnrrrmrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrmmmmmmmnNmmmmmmrrmmNmmmmrr1111111111";function E(qe){return qe<=247?a.charAt(qe):1424<=qe&&qe<=1524?"R":1536<=qe&&qe<=1785?y.charAt(qe-1536):1774<=qe&&qe<=2220?"r":8192<=qe&&qe<=8203?"w":qe==8204?"b":"L"}var x=/[\u0590-\u05f4\u0600-\u06ff\u0700-\u08ac]/,ee=/[stwN]/,oe=/[LRr]/,me=/[Lb1n]/,we=/[1n]/;function Ne(qe,Cn,Bn){this.level=qe,this.from=Cn,this.to=Bn}return function(qe,Cn){var Bn=Cn=="ltr"?"L":"R";if(qe.length==0||Cn=="ltr"&&!x.test(qe))return!1;for(var lr=qe.length,or=[],Zr=0;Zr<lr;++Zr)or.push(E(qe.charCodeAt(Zr)));for(var so=0,Po=Bn;so<lr;++so){var jo=or[so];jo=="m"?or[so]=Po:Po=jo}for(var li=0,Vo=Bn;li<lr;++li){var fi=or[li];fi=="1"&&Vo=="r"?or[li]="n":oe.test(fi)&&(Vo=fi,fi=="r"&&(or[li]="R"))}for(var Ni=1,Pi=or[0];Ni<lr-1;++Ni){var ta=or[Ni];ta=="+"&&Pi=="1"&&or[Ni+1]=="1"?or[Ni]="1":ta==","&&Pi==or[Ni+1]&&(Pi=="1"||Pi=="n")&&(or[Ni]=Pi),Pi=ta}for(var Va=0;Va<lr;++Va){var Ol=or[Va];if(Ol==",")or[Va]="N";else if(Ol=="%"){var ll=void 0;for(ll=Va+1;ll<lr&&or[ll]=="%";++ll);for(var Jl=Va&&or[Va-1]=="!"||ll<lr&&or[ll]=="1"?"1":"N",Vl=Va;Vl<ll;++Vl)or[Vl]=Jl;Va=ll-1}}for(var bl=0,Kl=Bn;bl<lr;++bl){var Tl=or[bl];Kl=="L"&&Tl=="1"?or[bl]="L":oe.test(Tl)&&(Kl=Tl)}for(var Sl=0;Sl<lr;++Sl)if(ee.test(or[Sl])){var Cl=void 0;for(Cl=Sl+1;Cl<lr&&ee.test(or[Cl]);++Cl);for(var sl=(Sl?or[Sl-1]:Bn)=="L",Ul=(Cl<lr?or[Cl]:Bn)=="L",qs=sl==Ul?sl?"L":"R":Bn,ks=Sl;ks<Cl;++ks)or[ks]=qs;Sl=Cl-1}for(var Zl=[],bs,Ml=0;Ml<lr;)if(me.test(or[Ml])){var ku=Ml;for(++Ml;Ml<lr&&me.test(or[Ml]);++Ml);Zl.push(new Ne(0,ku,Ml))}else{var As=Ml,Ks=Zl.length,Us=Cn=="rtl"?1:0;for(++Ml;Ml<lr&&or[Ml]!="L";++Ml);for(var Wl=As;Wl<Ml;)if(we.test(or[Wl])){As<Wl&&(Zl.splice(Ks,0,new Ne(1,As,Wl)),Ks+=Us);var eu=Wl;for(++Wl;Wl<Ml&&we.test(or[Wl]);++Wl);Zl.splice(Ks,0,new Ne(2,eu,Wl)),Ks+=Us,As=Wl}else++Wl;As<Ml&&Zl.splice(Ks,0,new Ne(1,As,Ml))}return Cn=="ltr"&&(Zl[0].level==1&&(bs=qe.match(/^\s+/))&&(Zl[0].from=bs[0].length,Zl.unshift(new Ne(0,0,bs[0].length))),ct(Zl).level==1&&(bs=qe.match(/\s+$/))&&(ct(Zl).to-=bs[0].length,Zl.push(new Ne(0,lr-bs[0].length,lr)))),Cn=="rtl"?Zl.reverse():Zl}}();function Te(a,y){var E=a.order;return E==null&&(E=a.order=Rt(a.text,y)),E}var Ke=[],yn=function(a,y,E){if(a.addEventListener)a.addEventListener(y,E,!1);else if(a.attachEvent)a.attachEvent("on"+y,E);else{var x=a._handlers||(a._handlers={});x[y]=(x[y]||Ke).concat(E)}};function Ht(a,y){return a._handlers&&a._handlers[y]||Ke}function bn(a,y,E){if(a.removeEventListener)a.removeEventListener(y,E,!1);else if(a.detachEvent)a.detachEvent("on"+y,E);else{var x=a._handlers,ee=x&&x[y];if(ee){var oe=At(ee,E);oe>-1&&(x[y]=ee.slice(0,oe).concat(ee.slice(oe+1)))}}}function fn(a,y){var E=Ht(a,y);if(E.length)for(var x=Array.prototype.slice.call(arguments,2),ee=0;ee<E.length;++ee)E[ee].apply(null,x)}function Xt(a,y,E){return typeof y=="string"&&(y={type:y,preventDefault:function(){this.defaultPrevented=!0}}),fn(a,E||y.type,a,y),St(y)||y.codemirrorIgnore}function on(a){var y=a._handlers&&a._handlers.cursorActivity;if(y)for(var E=a.curOp.cursorActivityHandlers||(a.curOp.cursorActivityHandlers=[]),x=0;x<y.length;++x)At(E,y[x])==-1&&E.push(y[x])}function gn(a,y){return Ht(a,y).length>0}function ft(a){a.prototype.on=function(y,E){yn(this,y,E)},a.prototype.off=function(y,E){bn(this,y,E)}}function Yt(a){a.preventDefault?a.preventDefault():a.returnValue=!1}function xn(a){a.stopPropagation?a.stopPropagation():a.cancelBubble=!0}function St(a){return a.defaultPrevented!=null?a.defaultPrevented:a.returnValue==!1}function _e(a){Yt(a),xn(a)}function Vt(a){return a.target||a.srcElement}function tn(a){var y=a.which;return y==null&&(a.button&1?y=1:a.button&2?y=3:a.button&4&&(y=2)),We&&a.ctrlKey&&y==1&&(y=3),y}var un=function(){if(Oe&&xe<9)return!1;var a=ut("div");return"draggable"in a||"dragDrop"in a}(),Tn;function qn(a){if(Tn==null){var y=ut("span","\u200B");Qe(a,ut("span",[y,document.createTextNode("x")])),a.firstChild.offsetHeight!=0&&(Tn=y.offsetWidth<=1&&y.offsetHeight>2&&!(Oe&&xe<8))}var E=Tn?ut("span","\u200B"):ut("span","\xA0",null,"display: inline-block; width: 1px; margin-right: -1px");return E.setAttribute("cm-text",""),E}var mr;function vr(a){if(mr!=null)return mr;var y=Qe(a,document.createTextNode("A\u062EA")),E=Fe(y,0,1).getBoundingClientRect(),x=Fe(y,1,2).getBoundingClientRect();return kt(a),!E||E.left==E.right?!1:mr=x.right-E.right<3}var Jn=`
|
|
|
|
|
|
b`.split(/\n/).length!=3?function(a){for(var y=0,E=[],x=a.length;y<=x;){var ee=a.indexOf(`
|
|
|
`,y);ee==-1&&(ee=a.length);var oe=a.slice(y,a.charAt(ee-1)=="\r"?ee-1:ee),me=oe.indexOf("\r");me!=-1?(E.push(oe.slice(0,me)),y+=me+1):(E.push(oe),y=ee+1)}return E}:function(a){return a.split(/\r\n?|\n/)},dr=window.getSelection?function(a){try{return a.selectionStart!=a.selectionEnd}catch(y){return!1}}:function(a){var y;try{y=a.ownerDocument.selection.createRange()}catch(E){}return!y||y.parentElement()!=a?!1:y.compareEndPoints("StartToEnd",y)!=0},_t=function(){var a=ut("div");return"oncopy"in a?!0:(a.setAttribute("oncopy","return;"),typeof a.oncopy=="function")}(),zt=null;function Sn(a){if(zt!=null)return zt;var y=Qe(a,ut("span","x")),E=y.getBoundingClientRect(),x=Fe(y,0,1).getBoundingClientRect();return zt=Math.abs(E.left-x.left)>1}var wn={},vn={};function Rn(a,y){arguments.length>2&&(y.dependencies=Array.prototype.slice.call(arguments,2)),wn[a]=y}function Bt(a,y){vn[a]=y}function ln(a){if(typeof a=="string"&&vn.hasOwnProperty(a))a=vn[a];else if(a&&typeof a.name=="string"&&vn.hasOwnProperty(a.name)){var y=vn[a.name];typeof y=="string"&&(y={name:y}),a=ne(y,a),a.name=y.name}else{if(typeof a=="string"&&/^[\w\-]+\/[\w\-]+\+xml$/.test(a))return ln("application/xml");if(typeof a=="string"&&/^[\w\-]+\/[\w\-]+\+json$/.test(a))return ln("application/json")}return typeof a=="string"?{name:a}:a||{name:"null"}}function Zt(a,y){y=ln(y);var E=wn[y.name];if(!E)return Zt(a,"text/plain");var x=E(a,y);if(pn.hasOwnProperty(y.name)){var ee=pn[y.name];for(var oe in ee)ee.hasOwnProperty(oe)&&(x.hasOwnProperty(oe)&&(x["_"+oe]=x[oe]),x[oe]=ee[oe])}if(x.name=y.name,y.helperType&&(x.helperType=y.helperType),y.modeProps)for(var me in y.modeProps)x[me]=y.modeProps[me];return x}var pn={};function cn(a,y){var E=pn.hasOwnProperty(a)?pn[a]:pn[a]={};Nt(y,E)}function zn(a,y){if(y===!0)return y;if(a.copyState)return a.copyState(y);var E={};for(var x in y){var ee=y[x];ee instanceof Array&&(ee=ee.concat([])),E[x]=ee}return E}function Ln(a,y){for(var E;a.innerMode&&(E=a.innerMode(y),!(!E||E.mode==a));)y=E.state,a=E.mode;return E||{mode:a,state:y}}function rr(a,y,E){return a.startState?a.startState(y,E):!0}var _n=function(a,y,E){this.pos=this.start=0,this.string=a,this.tabSize=y||8,this.lastColumnPos=this.lastColumnValue=0,this.lineStart=0,this.lineOracle=E};_n.prototype.eol=function(){return this.pos>=this.string.length},_n.prototype.sol=function(){return this.pos==this.lineStart},_n.prototype.peek=function(){return this.string.charAt(this.pos)||void 0},_n.prototype.next=function(){if(this.pos<this.string.length)return this.string.charAt(this.pos++)},_n.prototype.eat=function(a){var y=this.string.charAt(this.pos),E;if(typeof a=="string"?E=y==a:E=y&&(a.test?a.test(y):a(y)),E)return++this.pos,y},_n.prototype.eatWhile=function(a){for(var y=this.pos;this.eat(a););return this.pos>y},_n.prototype.eatSpace=function(){for(var a=this.pos;/[\s\u00a0]/.test(this.string.charAt(this.pos));)++this.pos;return this.pos>a},_n.prototype.skipToEnd=function(){this.pos=this.string.length},_n.prototype.skipTo=function(a){var y=this.string.indexOf(a,this.pos);if(y>-1)return this.pos=y,!0},_n.prototype.backUp=function(a){this.pos-=a},_n.prototype.column=function(){return this.lastColumnPos<this.start&&(this.lastColumnValue=De(this.string,this.start,this.tabSize,this.lastColumnPos,this.lastColumnValue),this.lastColumnPos=this.start),this.lastColumnValue-(this.lineStart?De(this.string,this.lineStart,this.tabSize):0)},_n.prototype.indentation=function(){return De(this.string,null,this.tabSize)-(this.lineStart?De(this.string,this.lineStart,this.tabSize):0)},_n.prototype.match=function(a,y,E){if(typeof a=="string"){var x=function(me){return E?me.toLowerCase():me},ee=this.string.substr(this.pos,a.length);if(x(ee)==x(a))return y!==!1&&(this.pos+=a.length),!0}else{var oe=this.string.slice(this.pos).match(a);return oe&&oe.index>0?null:(oe&&y!==!1&&(this.pos+=oe[0].length),oe)}},_n.prototype.current=function(){return this.string.slice(this.start,this.pos)},_n.prototype.hideFirstChars=function(a,y){this.lineStart+=a;try{return y()}finally{this.lineStart-=a}},_n.prototype.lookAhead=function(a){var y=this.lineOracle;return y&&y.lookAhead(a)},_n.prototype.baseToken=function(){var a=this.lineOracle;return a&&a.baseToken(this.pos)};function rn(a,y){if(y-=a.first,y<0||y>=a.size)throw new Error("There is no line "+(y+a.first)+" in the document.");for(var E=a;!E.lines;)for(var x=0;;++x){var ee=E.children[x],oe=ee.chunkSize();if(y<oe){E=ee;break}y-=oe}return E.lines[y]}function Fn(a,y,E){var x=[],ee=y.line;return a.iter(y.line,E.line+1,function(oe){var me=oe.text;ee==E.line&&(me=me.slice(0,E.ch)),ee==y.line&&(me=me.slice(y.ch)),x.push(me),++ee}),x}function nn(a,y,E){var x=[];return a.iter(y,E,function(ee){x.push(ee.text)}),x}function er(a,y){var E=y-a.height;if(E)for(var x=a;x;x=x.parent)x.height+=E}function It(a){if(a.parent==null)return null;for(var y=a.parent,E=At(y.lines,a),x=y.parent;x;y=x,x=x.parent)for(var ee=0;x.children[ee]!=y;++ee)E+=x.children[ee].chunkSize();return E+y.first}function Qt(a,y){var E=a.first;e:do{for(var x=0;x<a.children.length;++x){var ee=a.children[x],oe=ee.height;if(y<oe){a=ee;continue e}y-=oe,E+=ee.chunkSize()}return E}while(!a.lines);for(var me=0;me<a.lines.length;++me){var we=a.lines[me],Ne=we.height;if(y<Ne)break;y-=Ne}return E+me}function ze(a,y){return y>=a.first&&y<a.first+a.size}function yt(a,y){return String(a.lineNumberFormatter(y+a.firstLineNumber))}function Ye(a,y,E){if(E===void 0&&(E=null),!(this instanceof Ye))return new Ye(a,y,E);this.line=a,this.ch=y,this.sticky=E}function Ct(a,y){return a.line-y.line||a.ch-y.ch}function qt(a,y){return a.sticky==y.sticky&&Ct(a,y)==0}function nr(a){return Ye(a.line,a.ch)}function ar(a,y){return Ct(a,y)<0?y:a}function pt(a,y){return Ct(a,y)<0?a:y}function xt(a,y){return Math.max(a.first,Math.min(y,a.first+a.size-1))}function Pt(a,y){if(y.line<a.first)return Ye(a.first,0);var E=a.first+a.size-1;return y.line>E?Ye(E,rn(a,E).text.length):Kt(y,rn(a,y.line).text.length)}function Kt(a,y){var E=a.ch;return E==null||E>y?Ye(a.line,y):E<0?Ye(a.line,0):a}function In(a,y){for(var E=[],x=0;x<y.length;x++)E[x]=Pt(a,y[x]);return E}var Zn=function(a,y){this.state=a,this.lookAhead=y},kn=function(a,y,E,x){this.state=y,this.doc=a,this.line=E,this.maxLookAhead=x||0,this.baseTokens=null,this.baseTokenPos=1};kn.prototype.lookAhead=function(a){var y=this.doc.getLine(this.line+a);return y!=null&&a>this.maxLookAhead&&(this.maxLookAhead=a),y},kn.prototype.baseToken=function(a){if(!this.baseTokens)return null;for(;this.baseTokens[this.baseTokenPos]<=a;)this.baseTokenPos+=2;var y=this.baseTokens[this.baseTokenPos+1];return{type:y&&y.replace(/( |^)overlay .*/,""),size:this.baseTokens[this.baseTokenPos]-a}},kn.prototype.nextLine=function(){this.line++,this.maxLookAhead>0&&this.maxLookAhead--},kn.fromSaved=function(a,y,E){return y instanceof Zn?new kn(a,zn(a.mode,y.state),E,y.lookAhead):new kn(a,zn(a.mode,y),E)},kn.prototype.save=function(a){var y=a!==!1?zn(this.doc.mode,this.state):this.state;return this.maxLookAhead>0?new Zn(y,this.maxLookAhead):y};function Un(a,y,E,x){var ee=[a.state.modeGen],oe={};Xr(a,y.text,a.doc.mode,E,function(qe,Cn){return ee.push(qe,Cn)},oe,x);for(var me=E.state,we=function(qe){E.baseTokens=ee;var Cn=a.state.overlays[qe],Bn=1,lr=0;E.state=!0,Xr(a,y.text,Cn.mode,E,function(or,Zr){for(var so=Bn;lr<or;){var Po=ee[Bn];Po>or&&ee.splice(Bn,1,or,ee[Bn+1],Po),Bn+=2,lr=Math.min(or,Po)}if(Zr)if(Cn.opaque)ee.splice(so,Bn-so,or,"overlay "+Zr),Bn=so+2;else for(;so<Bn;so+=2){var jo=ee[so+1];ee[so+1]=(jo?jo+" ":"")+"overlay "+Zr}},oe),E.state=me,E.baseTokens=null,E.baseTokenPos=1},Ne=0;Ne<a.state.overlays.length;++Ne)we(Ne);return{styles:ee,classes:oe.bgClass||oe.textClass?oe:null}}function pr(a,y,E){if(!y.styles||y.styles[0]!=a.state.modeGen){var x=Ar(a,It(y)),ee=y.text.length>a.options.maxHighlightLength&&zn(a.doc.mode,x.state),oe=Un(a,y,x);ee&&(x.state=ee),y.stateAfter=x.save(!ee),y.styles=oe.styles,oe.classes?y.styleClasses=oe.classes:y.styleClasses&&(y.styleClasses=null),E===a.doc.highlightFrontier&&(a.doc.modeFrontier=Math.max(a.doc.modeFrontier,++a.doc.highlightFrontier))}return y.styles}function Ar(a,y,E){var x=a.doc,ee=a.display;if(!x.mode.startState)return new kn(x,!0,y);var oe=vo(a,y,E),me=oe>x.first&&rn(x,oe-1).stateAfter,we=me?kn.fromSaved(x,me,oe):new kn(x,rr(x.mode),oe);return x.iter(oe,y,function(Ne){Vr(a,Ne.text,we);var qe=we.line;Ne.stateAfter=qe==y-1||qe%5==0||qe>=ee.viewFrom&&qe<ee.viewTo?we.save():null,we.nextLine()}),E&&(x.modeFrontier=we.line),we}function Vr(a,y,E,x){var ee=a.doc.mode,oe=new _n(y,a.options.tabSize,E);for(oe.start=oe.pos=x||0,y==""&&Br(ee,E.state);!oe.eol();)fr(ee,oe,E.state),oe.start=oe.pos}function Br(a,y){if(a.blankLine)return a.blankLine(y);if(a.innerMode){var E=Ln(a,y);if(E.mode.blankLine)return E.mode.blankLine(E.state)}}function fr(a,y,E,x){for(var ee=0;ee<10;ee++){x&&(x[0]=Ln(a,E).mode);var oe=a.token(y,E);if(y.pos>y.start)return oe}throw new Error("Mode "+a.name+" failed to advance stream.")}var Pr=function(a,y,E){this.start=a.start,this.end=a.pos,this.string=a.current(),this.type=y||null,this.state=E};function kr(a,y,E,x){var ee=a.doc,oe=ee.mode,me;y=Pt(ee,y);var we=rn(ee,y.line),Ne=Ar(a,y.line,E),qe=new _n(we.text,a.options.tabSize,Ne),Cn;for(x&&(Cn=[]);(x||qe.pos<y.ch)&&!qe.eol();)qe.start=qe.pos,me=fr(oe,qe,Ne.state),x&&Cn.push(new Pr(qe,me,zn(ee.mode,Ne.state)));return x?Cn:new Pr(qe,me,Ne.state)}function Jr(a,y){if(a)for(;;){var E=a.match(/(?:^|\s+)line-(background-)?(\S+)/);if(!E)break;a=a.slice(0,E.index)+a.slice(E.index+E[0].length);var x=E[1]?"bgClass":"textClass";y[x]==null?y[x]=E[2]:new RegExp("(?:^|\\s)"+E[2]+"(?:$|\\s)").test(y[x])||(y[x]+=" "+E[2])}return a}function Xr(a,y,E,x,ee,oe,me){var we=E.flattenSpans;we==null&&(we=a.options.flattenSpans);var Ne=0,qe=null,Cn=new _n(y,a.options.tabSize,x),Bn,lr=a.options.addModeClass&&[null];for(y==""&&Jr(Br(E,x.state),oe);!Cn.eol();){if(Cn.pos>a.options.maxHighlightLength?(we=!1,me&&Vr(a,y,x,Cn.pos),Cn.pos=y.length,Bn=null):Bn=Jr(fr(E,Cn,x.state,lr),oe),lr){var or=lr[0].name;or&&(Bn="m-"+(Bn?or+" "+Bn:or))}if(!we||qe!=Bn){for(;Ne<Cn.start;)Ne=Math.min(Cn.start,Ne+5e3),ee(Ne,qe);qe=Bn}Cn.start=Cn.pos}for(;Ne<Cn.pos;){var Zr=Math.min(Cn.pos,Ne+5e3);ee(Zr,qe),Ne=Zr}}function vo(a,y,E){for(var x,ee,oe=a.doc,me=E?-1:y-(a.doc.mode.innerMode?1e3:100),we=y;we>me;--we){if(we<=oe.first)return oe.first;var Ne=rn(oe,we-1),qe=Ne.stateAfter;if(qe&&(!E||we+(qe instanceof Zn?qe.lookAhead:0)<=oe.modeFrontier))return we;var Cn=De(Ne.text,null,a.options.tabSize);(ee==null||x>Cn)&&(ee=we-1,x=Cn)}return ee}function yr(a,y){if(a.modeFrontier=Math.min(a.modeFrontier,y),!(a.highlightFrontier<y-10)){for(var E=a.first,x=y-1;x>E;x--){var ee=rn(a,x).stateAfter;if(ee&&(!(ee instanceof Zn)||x+ee.lookAhead<y)){E=x+1;break}}a.highlightFrontier=Math.min(a.highlightFrontier,E)}}var ur=!1,gr=!1;function no(){ur=!0}function Kr(){gr=!0}function wr(a,y,E){this.marker=a,this.from=y,this.to=E}function Rr(a,y){if(a)for(var E=0;E<a.length;++E){var x=a[E];if(x.marker==y)return x}}function mo(a,y){for(var E,x=0;x<a.length;++x)a[x]!=y&&(E||(E=[])).push(a[x]);return E}function $r(a,y){a.markedSpans=a.markedSpans?a.markedSpans.concat([y]):[y],y.marker.attachLine(a)}function qr(a,y,E){var x;if(a)for(var ee=0;ee<a.length;++ee){var oe=a[ee],me=oe.marker,we=oe.from==null||(me.inclusiveLeft?oe.from<=y:oe.from<y);if(we||oe.from==y&&me.type=="bookmark"&&(!E||!oe.marker.insertLeft)){var Ne=oe.to==null||(me.inclusiveRight?oe.to>=y:oe.to>y);(x||(x=[])).push(new wr(me,oe.from,Ne?null:oe.to))}}return x}function eo(a,y,E){var x;if(a)for(var ee=0;ee<a.length;++ee){var oe=a[ee],me=oe.marker,we=oe.to==null||(me.inclusiveRight?oe.to>=y:oe.to>y);if(we||oe.from==y&&me.type=="bookmark"&&(!E||oe.marker.insertLeft)){var Ne=oe.from==null||(me.inclusiveLeft?oe.from<=y:oe.from<y);(x||(x=[])).push(new wr(me,Ne?null:oe.from-y,oe.to==null?null:oe.to-y))}}return x}function ko(a,y){if(y.full)return null;var E=ze(a,y.from.line)&&rn(a,y.from.line).markedSpans,x=ze(a,y.to.line)&&rn(a,y.to.line).markedSpans;if(!E&&!x)return null;var ee=y.from.ch,oe=y.to.ch,me=Ct(y.from,y.to)==0,we=qr(E,ee,me),Ne=eo(x,oe,me),qe=y.text.length==1,Cn=ct(y.text).length+(qe?ee:0);if(we)for(var Bn=0;Bn<we.length;++Bn){var lr=we[Bn];if(lr.to==null){var or=Rr(Ne,lr.marker);or?qe&&(lr.to=or.to==null?null:or.to+Cn):lr.to=ee}}if(Ne)for(var Zr=0;Zr<Ne.length;++Zr){var so=Ne[Zr];if(so.to!=null&&(so.to+=Cn),so.from==null){var Po=Rr(we,so.marker);Po||(so.from=Cn,qe&&(we||(we=[])).push(so))}else so.from+=Cn,qe&&(we||(we=[])).push(so)}we&&(we=_o(we)),Ne&&Ne!=we&&(Ne=_o(Ne));var jo=[we];if(!qe){var li=y.text.length-2,Vo;if(li>0&&we)for(var fi=0;fi<we.length;++fi)we[fi].to==null&&(Vo||(Vo=[])).push(new wr(we[fi].marker,null,null));for(var Ni=0;Ni<li;++Ni)jo.push(Vo);jo.push(Ne)}return jo}function _o(a){for(var y=0;y<a.length;++y){var E=a[y];E.from!=null&&E.from==E.to&&E.marker.clearWhenEmpty!==!1&&a.splice(y--,1)}return a.length?a:null}function qo(a,y,E){var x=null;if(a.iter(y.line,E.line+1,function(or){if(or.markedSpans)for(var Zr=0;Zr<or.markedSpans.length;++Zr){var so=or.markedSpans[Zr].marker;so.readOnly&&(!x||At(x,so)==-1)&&(x||(x=[])).push(so)}}),!x)return null;for(var ee=[{from:y,to:E}],oe=0;oe<x.length;++oe)for(var me=x[oe],we=me.find(0),Ne=0;Ne<ee.length;++Ne){var qe=ee[Ne];if(!(Ct(qe.to,we.from)<0||Ct(qe.from,we.to)>0)){var Cn=[Ne,1],Bn=Ct(qe.from,we.from),lr=Ct(qe.to,we.to);(Bn<0||!me.inclusiveLeft&&!Bn)&&Cn.push({from:qe.from,to:we.from}),(lr>0||!me.inclusiveRight&&!lr)&&Cn.push({from:we.to,to:qe.to}),ee.splice.apply(ee,Cn),Ne+=Cn.length-3}}return ee}function Lo(a){var y=a.markedSpans;if(y){for(var E=0;E<y.length;++E)y[E].marker.detachLine(a);a.markedSpans=null}}function ii(a,y){if(y){for(var E=0;E<y.length;++E)y[E].marker.attachLine(a);a.markedSpans=y}}function Le(a){return a.inclusiveLeft?-1:0}function nt(a){return a.inclusiveRight?1:0}function Ot(a,y){var E=a.lines.length-y.lines.length;if(E!=0)return E;var x=a.find(),ee=y.find(),oe=Ct(x.from,ee.from)||Le(a)-Le(y);if(oe)return-oe;var me=Ct(x.to,ee.to)||nt(a)-nt(y);return me||y.id-a.id}function sn(a,y){var E=gr&&a.markedSpans,x;if(E)for(var ee=void 0,oe=0;oe<E.length;++oe)ee=E[oe],ee.marker.collapsed&&(y?ee.from:ee.to)==null&&(!x||Ot(x,ee.marker)<0)&&(x=ee.marker);return x}function hn(a){return sn(a,!0)}function Tt(a){return sn(a,!1)}function it(a,y){var E=gr&&a.markedSpans,x;if(E)for(var ee=0;ee<E.length;++ee){var oe=E[ee];oe.marker.collapsed&&(oe.from==null||oe.from<y)&&(oe.to==null||oe.to>y)&&(!x||Ot(x,oe.marker)<0)&&(x=oe.marker)}return x}function Ft(a,y,E,x,ee){var oe=rn(a,y),me=gr&&oe.markedSpans;if(me)for(var we=0;we<me.length;++we){var Ne=me[we];if(Ne.marker.collapsed){var qe=Ne.marker.find(0),Cn=Ct(qe.from,E)||Le(Ne.marker)-Le(ee),Bn=Ct(qe.to,x)||nt(Ne.marker)-nt(ee);if(!(Cn>=0&&Bn<=0||Cn<=0&&Bn>=0)&&(Cn<=0&&(Ne.marker.inclusiveRight&&ee.inclusiveLeft?Ct(qe.to,E)>=0:Ct(qe.to,E)>0)||Cn>=0&&(Ne.marker.inclusiveRight&&ee.inclusiveLeft?Ct(qe.from,x)<=0:Ct(qe.from,x)<0)))return!0}}}function en(a){for(var y;y=hn(a);)a=y.find(-1,!0).line;return a}function On(a){for(var y;y=Tt(a);)a=y.find(1,!0).line;return a}function Wn(a){for(var y,E;y=Tt(a);)a=y.find(1,!0).line,(E||(E=[])).push(a);return E}function Dn(a,y){var E=rn(a,y),x=en(E);return E==x?y:It(x)}function jn(a,y){if(y>a.lastLine())return y;var E=rn(a,y),x;if(!$n(a,E))return y;for(;x=Tt(E);)E=x.find(1,!0).line;return It(E)+1}function $n(a,y){var E=gr&&y.markedSpans;if(E){for(var x=void 0,ee=0;ee<E.length;++ee)if(x=E[ee],!!x.marker.collapsed){if(x.from==null)return!0;if(!x.marker.widgetNode&&x.from==0&&x.marker.inclusiveLeft&&Cr(a,y,x))return!0}}}function Cr(a,y,E){if(E.to==null){var x=E.marker.find(1,!0);return Cr(a,x.line,Rr(x.line.markedSpans,E.marker))}if(E.marker.inclusiveRight&&E.to==y.text.length)return!0;for(var ee=void 0,oe=0;oe<y.markedSpans.length;++oe)if(ee=y.markedSpans[oe],ee.marker.collapsed&&!ee.marker.widgetNode&&ee.from==E.to&&(ee.to==null||ee.to!=E.from)&&(ee.marker.inclusiveLeft||E.marker.inclusiveRight)&&Cr(a,y,ee))return!0}function br(a){a=en(a);for(var y=0,E=a.parent,x=0;x<E.lines.length;++x){var ee=E.lines[x];if(ee==a)break;y+=ee.height}for(var oe=E.parent;oe;E=oe,oe=E.parent)for(var me=0;me<oe.children.length;++me){var we=oe.children[me];if(we==E)break;y+=we.height}return y}function zr(a){if(a.height==0)return 0;for(var y=a.text.length,E,x=a;E=hn(x);){var ee=E.find(0,!0);x=ee.from.line,y+=ee.from.ch-ee.to.ch}for(x=a;E=Tt(x);){var oe=E.find(0,!0);y-=x.text.length-oe.from.ch,x=oe.to.line,y+=x.text.length-oe.to.ch}return y}function Qr(a){var y=a.display,E=a.doc;y.maxLine=rn(E,E.first),y.maxLineLength=zr(y.maxLine),y.maxLineChanged=!0,E.iter(function(x){var ee=zr(x);ee>y.maxLineLength&&(y.maxLineLength=ee,y.maxLine=x)})}var yo=function(a,y,E){this.text=a,ii(this,y),this.height=E?E(this):1};yo.prototype.lineNo=function(){return It(this)},ft(yo);function io(a,y,E,x){a.text=y,a.stateAfter&&(a.stateAfter=null),a.styles&&(a.styles=null),a.order!=null&&(a.order=null),Lo(a),ii(a,E);var ee=x?x(a):1;ee!=a.height&&er(a,ee)}function Io(a){a.parent=null,Lo(a)}var co={},fo={};function bo(a,y){if(!a||/^\s*$/.test(a))return null;var E=y.addModeClass?fo:co;return E[a]||(E[a]=a.replace(/\S+/g,"cm-$&"))}function Bo(a,y){var E=dt("span",null,null,Ae?"padding-right: .1px":null),x={pre:dt("pre",[E],"CodeMirror-line"),content:E,col:0,pos:0,cm:a,trailingSpace:!1,splitSpaces:a.getOption("lineWrapping")};y.measure={};for(var ee=0;ee<=(y.rest?y.rest.length:0);ee++){var oe=ee?y.rest[ee-1]:y.line,me=void 0;x.pos=0,x.addToken=Si,vr(a.display.measure)&&(me=Te(oe,a.doc.direction))&&(x.addToken=Ki(x.addToken,me)),x.map=[];var we=y!=a.display.externalMeasured&&It(oe);Mo(oe,x,pr(a,oe,we)),oe.styleClasses&&(oe.styleClasses.bgClass&&(x.bgClass=gt(oe.styleClasses.bgClass,x.bgClass||"")),oe.styleClasses.textClass&&(x.textClass=gt(oe.styleClasses.textClass,x.textClass||""))),x.map.length==0&&x.map.push(0,0,x.content.appendChild(qn(a.display.measure))),ee==0?(y.measure.map=x.map,y.measure.cache={}):((y.measure.maps||(y.measure.maps=[])).push(x.map),(y.measure.caches||(y.measure.caches=[])).push({}))}if(Ae){var Ne=x.content.lastChild;(/\bcm-tab\b/.test(Ne.className)||Ne.querySelector&&Ne.querySelector(".cm-tab"))&&(x.content.className="cm-tab-wrap-hack")}return fn(a,"renderLine",a,y.line,x.pre),x.pre.className&&(x.textClass=gt(x.pre.className,x.textClass||"")),x}function ri(a){var y=ut("span","\u2022","cm-invalidchar");return y.title="\\u"+a.charCodeAt(0).toString(16),y.setAttribute("aria-label",y.title),y}function Si(a,y,E,x,ee,oe,me){if(y){var we=a.splitSpaces?bi(y,a.trailingSpace):y,Ne=a.cm.state.specialChars,qe=!1,Cn;if(!Ne.test(y))a.col+=y.length,Cn=document.createTextNode(we),a.map.push(a.pos,a.pos+y.length,Cn),Oe&&xe<9&&(qe=!0),a.pos+=y.length;else{Cn=document.createDocumentFragment();for(var Bn=0;;){Ne.lastIndex=Bn;var lr=Ne.exec(y),or=lr?lr.index-Bn:y.length-Bn;if(or){var Zr=document.createTextNode(we.slice(Bn,Bn+or));Oe&&xe<9?Cn.appendChild(ut("span",[Zr])):Cn.appendChild(Zr),a.map.push(a.pos,a.pos+or,Zr),a.col+=or,a.pos+=or}if(!lr)break;Bn+=or+1;var so=void 0;if(lr[0]==" "){var Po=a.cm.options.tabSize,jo=Po-a.col%Po;so=Cn.appendChild(ut("span",jt(jo),"cm-tab")),so.setAttribute("role","presentation"),so.setAttribute("cm-text"," "),a.col+=jo}else lr[0]=="\r"||lr[0]==`
|
|
|
`?(so=Cn.appendChild(ut("span",lr[0]=="\r"?"\u240D":"\u2424","cm-invalidchar")),so.setAttribute("cm-text",lr[0]),a.col+=1):(so=a.cm.options.specialCharPlaceholder(lr[0]),so.setAttribute("cm-text",lr[0]),Oe&&xe<9?Cn.appendChild(ut("span",[so])):Cn.appendChild(so),a.col+=1);a.map.push(a.pos,a.pos+1,so),a.pos++}}if(a.trailingSpace=we.charCodeAt(y.length-1)==32,E||x||ee||qe||oe||me){var li=E||"";x&&(li+=x),ee&&(li+=ee);var Vo=ut("span",[Cn],li,oe);if(me)for(var fi in me)me.hasOwnProperty(fi)&&fi!="style"&&fi!="class"&&Vo.setAttribute(fi,me[fi]);return a.content.appendChild(Vo)}a.content.appendChild(Cn)}}function bi(a,y){if(a.length>1&&!/ /.test(a))return a;for(var E=y,x="",ee=0;ee<a.length;ee++){var oe=a.charAt(ee);oe==" "&&E&&(ee==a.length-1||a.charCodeAt(ee+1)==32)&&(oe="\xA0"),x+=oe,E=oe==" "}return x}function Ki(a,y){return function(E,x,ee,oe,me,we,Ne){ee=ee?ee+" cm-force-border":"cm-force-border";for(var qe=E.pos,Cn=qe+x.length;;){for(var Bn=void 0,lr=0;lr<y.length&&(Bn=y[lr],!(Bn.to>qe&&Bn.from<=qe));lr++);if(Bn.to>=Cn)return a(E,x,ee,oe,me,we,Ne);a(E,x.slice(0,Bn.to-qe),ee,oe,null,we,Ne),oe=null,x=x.slice(Bn.to-qe),qe=Bn.to}}}function zo(a,y,E,x){var ee=!x&&E.widgetNode;ee&&a.map.push(a.pos,a.pos+y,ee),!x&&a.cm.display.input.needsContentAttribute&&(ee||(ee=a.content.appendChild(document.createElement("span"))),ee.setAttribute("cm-marker",E.id)),ee&&(a.cm.display.input.setUneditable(ee),a.content.appendChild(ee)),a.pos+=y,a.trailingSpace=!1}function Mo(a,y,E){var x=a.markedSpans,ee=a.text,oe=0;if(!x){for(var me=1;me<E.length;me+=2)y.addToken(y,ee.slice(oe,oe=E[me]),bo(E[me+1],y.cm.options));return}for(var we=ee.length,Ne=0,qe=1,Cn="",Bn,lr,or=0,Zr,so,Po,jo,li;;){if(or==Ne){Zr=so=Po=lr="",li=null,jo=null,or=1/0;for(var Vo=[],fi=void 0,Ni=0;Ni<x.length;++Ni){var Pi=x[Ni],ta=Pi.marker;if(ta.type=="bookmark"&&Pi.from==Ne&&ta.widgetNode)Vo.push(ta);else if(Pi.from<=Ne&&(Pi.to==null||Pi.to>Ne||ta.collapsed&&Pi.to==Ne&&Pi.from==Ne)){if(Pi.to!=null&&Pi.to!=Ne&&or>Pi.to&&(or=Pi.to,so=""),ta.className&&(Zr+=" "+ta.className),ta.css&&(lr=(lr?lr+";":"")+ta.css),ta.startStyle&&Pi.from==Ne&&(Po+=" "+ta.startStyle),ta.endStyle&&Pi.to==or&&(fi||(fi=[])).push(ta.endStyle,Pi.to),ta.title&&((li||(li={})).title=ta.title),ta.attributes)for(var Va in ta.attributes)(li||(li={}))[Va]=ta.attributes[Va];ta.collapsed&&(!jo||Ot(jo.marker,ta)<0)&&(jo=Pi)}else Pi.from>Ne&&or>Pi.from&&(or=Pi.from)}if(fi)for(var Ol=0;Ol<fi.length;Ol+=2)fi[Ol+1]==or&&(so+=" "+fi[Ol]);if(!jo||jo.from==Ne)for(var ll=0;ll<Vo.length;++ll)zo(y,0,Vo[ll]);if(jo&&(jo.from||0)==Ne){if(zo(y,(jo.to==null?we+1:jo.to)-Ne,jo.marker,jo.from==null),jo.to==null)return;jo.to==Ne&&(jo=!1)}}if(Ne>=we)break;for(var Jl=Math.min(we,or);;){if(Cn){var Vl=Ne+Cn.length;if(!jo){var bl=Vl>Jl?Cn.slice(0,Jl-Ne):Cn;y.addToken(y,bl,Bn?Bn+Zr:Zr,Po,Ne+bl.length==or?so:"",lr,li)}if(Vl>=Jl){Cn=Cn.slice(Jl-Ne),Ne=Jl;break}Ne=Vl,Po=""}Cn=ee.slice(oe,oe=E[qe++]),Bn=bo(E[qe++],y.cm.options)}}}function zi(a,y,E){this.line=y,this.rest=Wn(y),this.size=this.rest?It(ct(this.rest))-E+1:1,this.node=this.text=null,this.hidden=$n(a,y)}function Wi(a,y,E){for(var x=[],ee,oe=y;oe<E;oe=ee){var me=new zi(a.doc,rn(a.doc,oe),oe);ee=oe+me.size,x.push(me)}return x}var Xi=null;function za(a){Xi?Xi.ops.push(a):a.ownsGroup=Xi={ops:[a],delayedCallbacks:[]}}function Pa(a){var y=a.delayedCallbacks,E=0;do{for(;E<y.length;E++)y[E].call(null);for(var x=0;x<a.ops.length;x++){var ee=a.ops[x];if(ee.cursorActivityHandlers)for(;ee.cursorActivityCalled<ee.cursorActivityHandlers.length;)ee.cursorActivityHandlers[ee.cursorActivityCalled++].call(null,ee.cm)}}while(E<y.length)}function Ta(a,y){var E=a.ownsGroup;if(E)try{Pa(E)}finally{Xi=null,y(E)}}var Ba=null;function Ui(a,y){var E=Ht(a,y);if(E.length){var x=Array.prototype.slice.call(arguments,2),ee;Xi?ee=Xi.delayedCallbacks:Ba?ee=Ba:(ee=Ba=[],setTimeout(Fa,0));for(var oe=function(we){ee.push(function(){return E[we].apply(null,x)})},me=0;me<E.length;++me)oe(me)}}function Fa(){var a=Ba;Ba=null;for(var y=0;y<a.length;++y)a[y]()}function ul(a,y,E,x){for(var ee=0;ee<y.changes.length;ee++){var oe=y.changes[ee];oe=="text"?El(a,y):oe=="gutter"?mi(a,y,E,x):oe=="class"?hi(a,y):oe=="widget"&&wo(a,y,x)}y.changes=null}function Qa(a){return a.node==a.text&&(a.node=ut("div",null,null,"position: relative"),a.text.parentNode&&a.text.parentNode.replaceChild(a.node,a.text),a.node.appendChild(a.text),Oe&&xe<8&&(a.node.style.zIndex=2)),a.node}function Qi(a,y){var E=y.bgClass?y.bgClass+" "+(y.line.bgClass||""):y.line.bgClass;if(E&&(E+=" CodeMirror-linebackground"),y.background)E?y.background.className=E:(y.background.parentNode.removeChild(y.background),y.background=null);else if(E){var x=Qa(y);y.background=x.insertBefore(ut("div",null,E),x.firstChild),a.display.input.setUneditable(y.background)}}function Nl(a,y){var E=a.display.externalMeasured;return E&&E.line==y.line?(a.display.externalMeasured=null,y.measure=E.measure,E.built):Bo(a,y)}function El(a,y){var E=y.text.className,x=Nl(a,y);y.text==y.node&&(y.node=x.pre),y.text.parentNode.replaceChild(x.pre,y.text),y.text=x.pre,x.bgClass!=y.bgClass||x.textClass!=y.textClass?(y.bgClass=x.bgClass,y.textClass=x.textClass,hi(a,y)):E&&(y.text.className=E)}function hi(a,y){Qi(a,y),y.line.wrapClass?Qa(y).className=y.line.wrapClass:y.node!=y.text&&(y.node.className="");var E=y.textClass?y.textClass+" "+(y.line.textClass||""):y.line.textClass;y.text.className=E||""}function mi(a,y,E,x){if(y.gutter&&(y.node.removeChild(y.gutter),y.gutter=null),y.gutterBackground&&(y.node.removeChild(y.gutterBackground),y.gutterBackground=null),y.line.gutterClass){var ee=Qa(y);y.gutterBackground=ut("div",null,"CodeMirror-gutter-background "+y.line.gutterClass,"left: "+(a.options.fixedGutter?x.fixedPos:-x.gutterTotalWidth)+"px; width: "+x.gutterTotalWidth+"px"),a.display.input.setUneditable(y.gutterBackground),ee.insertBefore(y.gutterBackground,y.text)}var oe=y.line.gutterMarkers;if(a.options.lineNumbers||oe){var me=Qa(y),we=y.gutter=ut("div",null,"CodeMirror-gutter-wrapper","left: "+(a.options.fixedGutter?x.fixedPos:-x.gutterTotalWidth)+"px");if(a.display.input.setUneditable(we),me.insertBefore(we,y.text),y.line.gutterClass&&(we.className+=" "+y.line.gutterClass),a.options.lineNumbers&&(!oe||!oe["CodeMirror-linenumbers"])&&(y.lineNumber=we.appendChild(ut("div",yt(a.options,E),"CodeMirror-linenumber CodeMirror-gutter-elt","left: "+x.gutterLeft["CodeMirror-linenumbers"]+"px; width: "+a.display.lineNumInnerWidth+"px"))),oe)for(var Ne=0;Ne<a.display.gutterSpecs.length;++Ne){var qe=a.display.gutterSpecs[Ne].className,Cn=oe.hasOwnProperty(qe)&&oe[qe];Cn&&we.appendChild(ut("div",[Cn],"CodeMirror-gutter-elt","left: "+x.gutterLeft[qe]+"px; width: "+x.gutterWidth[qe]+"px"))}}}function wo(a,y,E){y.alignable&&(y.alignable=null);for(var x=st("CodeMirror-linewidget"),ee=y.node.firstChild,oe=void 0;ee;ee=oe)oe=ee.nextSibling,x.test(ee.className)&&y.node.removeChild(ee);To(a,y,E)}function ho(a,y,E,x){var ee=Nl(a,y);return y.text=y.node=ee.pre,ee.bgClass&&(y.bgClass=ee.bgClass),ee.textClass&&(y.textClass=ee.textClass),hi(a,y),mi(a,y,E,x),To(a,y,x),y.node}function To(a,y,E){if(si(a,y.line,y,E,!0),y.rest)for(var x=0;x<y.rest.length;x++)si(a,y.rest[x],y,E,!1)}function si(a,y,E,x,ee){if(y.widgets)for(var oe=Qa(E),me=0,we=y.widgets;me<we.length;++me){var Ne=we[me],qe=ut("div",[Ne.node],"CodeMirror-linewidget"+(Ne.className?" "+Ne.className:""));Ne.handleMouseEvents||qe.setAttribute("cm-ignore-events","true"),da(Ne,qe,E,x),a.display.input.setUneditable(qe),ee&&Ne.above?oe.insertBefore(qe,E.gutter||E.text):oe.appendChild(qe),Ui(Ne,"redraw")}}function da(a,y,E,x){if(a.noHScroll){(E.alignable||(E.alignable=[])).push(y);var ee=x.wrapperWidth;y.style.left=x.fixedPos+"px",a.coverGutter||(ee-=x.gutterTotalWidth,y.style.paddingLeft=x.gutterTotalWidth+"px"),y.style.width=ee+"px"}a.coverGutter&&(y.style.zIndex=5,y.style.position="relative",a.noHScroll||(y.style.marginLeft=-x.gutterTotalWidth+"px"))}function Ri(a){if(a.height!=null)return a.height;var y=a.doc.cm;if(!y)return 0;if(!Ze(document.body,a.node)){var E="position: relative;";a.coverGutter&&(E+="margin-left: -"+y.display.gutters.offsetWidth+"px;"),a.noHScroll&&(E+="width: "+y.display.wrapper.clientWidth+"px;"),Qe(y.display.measure,ut("div",[a.node],null,E))}return a.height=a.node.parentNode.offsetHeight}function Li(a,y){for(var E=Vt(y);E!=a.wrapper;E=E.parentNode)if(!E||E.nodeType==1&&E.getAttribute("cm-ignore-events")=="true"||E.parentNode==a.sizer&&E!=a.mover)return!0}function Oi(a){return a.lineSpace.offsetTop}function pa(a){return a.mover.offsetHeight-a.lineSpace.offsetHeight}function Ea(a){if(a.cachedPaddingH)return a.cachedPaddingH;var y=Qe(a.measure,ut("pre","x","CodeMirror-line-like")),E=window.getComputedStyle?window.getComputedStyle(y):y.currentStyle,x={left:parseInt(E.paddingLeft),right:parseInt(E.paddingRight)};return!isNaN(x.left)&&!isNaN(x.right)&&(a.cachedPaddingH=x),x}function Oa(a){return Gt-a.display.nativeBarWidth}function Ya(a){return a.display.scroller.clientWidth-Oa(a)-a.display.barWidth}function Ii(a){return a.display.scroller.clientHeight-Oa(a)-a.display.barHeight}function Ga(a,y,E){var x=a.options.lineWrapping,ee=x&&Ya(a);if(!y.measure.heights||x&&y.measure.width!=ee){var oe=y.measure.heights=[];if(x){y.measure.width=ee;for(var me=y.text.firstChild.getClientRects(),we=0;we<me.length-1;we++){var Ne=me[we],qe=me[we+1];Math.abs(Ne.bottom-qe.bottom)>2&&oe.push((Ne.bottom+qe.top)/2-E.top)}}oe.push(E.bottom-E.top)}}function wl(a,y,E){if(a.line==y)return{map:a.measure.map,cache:a.measure.cache};for(var x=0;x<a.rest.length;x++)if(a.rest[x]==y)return{map:a.measure.maps[x],cache:a.measure.caches[x]};for(var ee=0;ee<a.rest.length;ee++)if(It(a.rest[ee])>E)return{map:a.measure.maps[ee],cache:a.measure.caches[ee],before:!0}}function cl(a,y){y=en(y);var E=It(y),x=a.display.externalMeasured=new zi(a.doc,y,E);x.lineN=E;var ee=x.built=Bo(a,x);return x.text=ee.pre,Qe(a.display.lineMeasure,ee.pre),x}function el(a,y,E,x){return xl(a,Al(a,y),E,x)}function Xa(a,y){if(y>=a.display.viewFrom&&y<a.display.viewTo)return a.display.view[Xl(a,y)];var E=a.display.externalMeasured;if(E&&y>=E.lineN&&y<E.lineN+E.size)return E}function Al(a,y){var E=It(y),x=Xa(a,E);x&&!x.text?x=null:x&&x.changes&&(ul(a,x,E,kl(a)),a.curOp.forceUpdate=!0),x||(x=cl(a,y));var ee=wl(x,y,E);return{line:y,view:x,rect:null,map:ee.map,cache:ee.cache,before:ee.before,hasHeights:!1}}function xl(a,y,E,x,ee){y.before&&(E=-1);var oe=E+(x||""),me;return y.cache.hasOwnProperty(oe)?me=y.cache[oe]:(y.rect||(y.rect=y.view.text.getBoundingClientRect()),y.hasHeights||(Ga(a,y.view,y.rect),y.hasHeights=!0),me=ns(a,y,E,x),me.bogus||(y.cache[oe]=me)),{left:me.left,right:me.right,top:ee?me.rtop:me.top,bottom:ee?me.rbottom:me.bottom}}var Hl={left:0,right:0,top:0,bottom:0};function Yl(a,y,E){for(var x,ee,oe,me,we,Ne,qe=0;qe<a.length;qe+=3)if(we=a[qe],Ne=a[qe+1],y<we?(ee=0,oe=1,me="left"):y<Ne?(ee=y-we,oe=ee+1):(qe==a.length-3||y==Ne&&a[qe+3]>y)&&(oe=Ne-we,ee=oe-1,y>=Ne&&(me="right")),ee!=null){if(x=a[qe+2],we==Ne&&E==(x.insertLeft?"left":"right")&&(me=E),E=="left"&&ee==0)for(;qe&&a[qe-2]==a[qe-3]&&a[qe-1].insertLeft;)x=a[(qe-=3)+2],me="left";if(E=="right"&&ee==Ne-we)for(;qe<a.length-3&&a[qe+3]==a[qe+4]&&!a[qe+5].insertLeft;)x=a[(qe+=3)+2],me="right";break}return{node:x,start:ee,end:oe,collapse:me,coverStart:we,coverEnd:Ne}}function as(a,y){var E=Hl;if(y=="left")for(var x=0;x<a.length&&(E=a[x]).left==E.right;x++);else for(var ee=a.length-1;ee>=0&&(E=a[ee]).left==E.right;ee--);return E}function ns(a,y,E,x){var ee=Yl(y.map,E,x),oe=ee.node,me=ee.start,we=ee.end,Ne=ee.collapse,qe;if(oe.nodeType==3){for(var Cn=0;Cn<4;Cn++){for(;me&&Pe(y.line.text.charAt(ee.coverStart+me));)--me;for(;ee.coverStart+we<ee.coverEnd&&Pe(y.line.text.charAt(ee.coverStart+we));)++we;if(Oe&&xe<9&&me==0&&we==ee.coverEnd-ee.coverStart?qe=oe.parentNode.getBoundingClientRect():qe=as(Fe(oe,me,we).getClientRects(),x),qe.left||qe.right||me==0)break;we=me,me=me-1,Ne="right"}Oe&&xe<11&&(qe=Cs(a.display.measure,qe))}else{me>0&&(Ne=x="right");var Bn;a.options.lineWrapping&&(Bn=oe.getClientRects()).length>1?qe=Bn[x=="right"?Bn.length-1:0]:qe=oe.getBoundingClientRect()}if(Oe&&xe<9&&!me&&(!qe||!qe.left&&!qe.right)){var lr=oe.parentNode.getClientRects()[0];lr?qe={left:lr.left,right:lr.left+ol(a.display),top:lr.top,bottom:lr.bottom}:qe=Hl}for(var or=qe.top-y.rect.top,Zr=qe.bottom-y.rect.top,so=(or+Zr)/2,Po=y.view.measure.heights,jo=0;jo<Po.length-1&&!(so<Po[jo]);jo++);var li=jo?Po[jo-1]:0,Vo=Po[jo],fi={left:(Ne=="right"?qe.right:qe.left)-y.rect.left,right:(Ne=="left"?qe.left:qe.right)-y.rect.left,top:li,bottom:Vo};return!qe.left&&!qe.right&&(fi.bogus=!0),a.options.singleCursorHeightPerLine||(fi.rtop=or,fi.rbottom=Zr),fi}function Cs(a,y){if(!window.screen||screen.logicalXDPI==null||screen.logicalXDPI==screen.deviceXDPI||!Sn(a))return y;var E=screen.logicalXDPI/screen.deviceXDPI,x=screen.logicalYDPI/screen.deviceYDPI;return{left:y.left*E,right:y.right*E,top:y.top*x,bottom:y.bottom*x}}function rs(a){if(a.measure&&(a.measure.cache={},a.measure.heights=null,a.rest))for(var y=0;y<a.rest.length;y++)a.measure.caches[y]={}}function Dl(a){a.display.externalMeasure=null,kt(a.display.lineMeasure);for(var y=0;y<a.display.view.length;y++)rs(a.display.view[y])}function Gl(a){Dl(a),a.display.cachedCharWidth=a.display.cachedTextHeight=a.display.cachedPaddingH=null,a.options.lineWrapping||(a.display.maxLineChanged=!0),a.display.lineNumChars=null}function os(){return Be&&tt?-(document.body.getBoundingClientRect().left-parseInt(getComputedStyle(document.body).marginLeft)):window.pageXOffset||(document.documentElement||document.body).scrollLeft}function hs(){return Be&&tt?-(document.body.getBoundingClientRect().top-parseInt(getComputedStyle(document.body).marginTop)):window.pageYOffset||(document.documentElement||document.body).scrollTop}function _l(a){var y=0;if(a.widgets)for(var E=0;E<a.widgets.length;++E)a.widgets[E].above&&(y+=Ri(a.widgets[E]));return y}function is(a,y,E,x,ee){if(!ee){var oe=_l(y);E.top+=oe,E.bottom+=oe}if(x=="line")return E;x||(x="local");var me=br(y);if(x=="local"?me+=Oi(a.display):me-=a.display.viewOffset,x=="page"||x=="window"){var we=a.display.lineSpace.getBoundingClientRect();me+=we.top+(x=="window"?0:hs());var Ne=we.left+(x=="window"?0:os());E.left+=Ne,E.right+=Ne}return E.top+=me,E.bottom+=me,E}function Ja(a,y,E){if(E=="div")return y;var x=y.left,ee=y.top;if(E=="page")x-=os(),ee-=hs();else if(E=="local"||!E){var oe=a.display.sizer.getBoundingClientRect();x+=oe.left,ee+=oe.top}var me=a.display.lineSpace.getBoundingClientRect();return{left:x-me.left,top:ee-me.top}}function $a(a,y,E,x,ee){return x||(x=rn(a.doc,y.line)),is(a,x,el(a,x,y.ch,ee),E)}function fa(a,y,E,x,ee,oe){x=x||rn(a.doc,y.line),ee||(ee=Al(a,x));function me(Zr,so){var Po=xl(a,ee,Zr,so?"right":"left",oe);return so?Po.left=Po.right:Po.right=Po.left,is(a,x,Po,E)}var we=Te(x,a.doc.direction),Ne=y.ch,qe=y.sticky;if(Ne>=x.text.length?(Ne=x.text.length,qe="before"):Ne<=0&&(Ne=0,qe="after"),!we)return me(qe=="before"?Ne-1:Ne,qe=="before");function Cn(Zr,so,Po){var jo=we[so],li=jo.level==1;return me(Po?Zr-1:Zr,li!=Po)}var Bn=Et(we,Ne,qe),lr=ht,or=Cn(Ne,Bn,qe=="before");return lr!=null&&(or.other=Cn(Ne,lr,qe!="before")),or}function Hi(a,y){var E=0;y=Pt(a.doc,y),a.options.lineWrapping||(E=ol(a.display)*y.ch);var x=rn(a.doc,y.line),ee=br(x)+Oi(a.display);return{left:E,right:E,top:ee,bottom:ee+x.height}}function Ci(a,y,E,x,ee){var oe=Ye(a,y,E);return oe.xRel=ee,x&&(oe.outside=x),oe}function sa(a,y,E){var x=a.doc;if(E+=a.display.viewOffset,E<0)return Ci(x.first,0,null,-1,-1);var ee=Qt(x,E),oe=x.first+x.size-1;if(ee>oe)return Ci(x.first+x.size-1,rn(x,oe).text.length,null,1,1);y<0&&(y=0);for(var me=rn(x,ee);;){var we=tl(a,me,ee,y,E),Ne=it(me,we.ch+(we.xRel>0||we.outside>0?1:0));if(!Ne)return we;var qe=Ne.find(1);if(qe.line==ee)return qe;me=rn(x,ee=qe.line)}}function Ma(a,y,E,x){x-=_l(y);var ee=y.text.length,oe=$e(function(me){return xl(a,E,me-1).bottom<=x},ee,0);return ee=$e(function(me){return xl(a,E,me).top>x},oe,ee),{begin:oe,end:ee}}function wa(a,y,E,x){E||(E=Al(a,y));var ee=is(a,y,xl(a,E,x),"line").top;return Ma(a,y,E,ee)}function _i(a,y,E,x){return a.bottom<=E?!1:a.top>E?!0:(x?a.left:a.right)>y}function tl(a,y,E,x,ee){ee-=br(y);var oe=Al(a,y),me=_l(y),we=0,Ne=y.text.length,qe=!0,Cn=Te(y,a.doc.direction);if(Cn){var Bn=(a.options.lineWrapping?nl:Ka)(a,y,E,oe,Cn,x,ee);qe=Bn.level!=1,we=qe?Bn.from:Bn.to-1,Ne=qe?Bn.to:Bn.from-1}var lr=null,or=null,Zr=$e(function(Ni){var Pi=xl(a,oe,Ni);return Pi.top+=me,Pi.bottom+=me,_i(Pi,x,ee,!1)?(Pi.top<=ee&&Pi.left<=x&&(lr=Ni,or=Pi),!0):!1},we,Ne),so,Po,jo=!1;if(or){var li=x-or.left<or.right-x,Vo=li==qe;Zr=lr+(Vo?0:1),Po=Vo?"after":"before",so=li?or.left:or.right}else{!qe&&(Zr==Ne||Zr==we)&&Zr++,Po=Zr==0?"after":Zr==y.text.length?"before":xl(a,oe,Zr-(qe?1:0)).bottom+me<=ee==qe?"after":"before";var fi=fa(a,Ye(E,Zr,Po),"line",y,oe);so=fi.left,jo=ee<fi.top?-1:ee>=fi.bottom?1:0}return Zr=lt(y.text,Zr,1),Ci(E,Zr,Po,jo,x-so)}function Ka(a,y,E,x,ee,oe,me){var we=$e(function(Bn){var lr=ee[Bn],or=lr.level!=1;return _i(fa(a,Ye(E,or?lr.to:lr.from,or?"before":"after"),"line",y,x),oe,me,!0)},0,ee.length-1),Ne=ee[we];if(we>0){var qe=Ne.level!=1,Cn=fa(a,Ye(E,qe?Ne.from:Ne.to,qe?"after":"before"),"line",y,x);_i(Cn,oe,me,!0)&&Cn.top>me&&(Ne=ee[we-1])}return Ne}function nl(a,y,E,x,ee,oe,me){var we=Ma(a,y,x,me),Ne=we.begin,qe=we.end;/\s/.test(y.text.charAt(qe-1))&&qe--;for(var Cn=null,Bn=null,lr=0;lr<ee.length;lr++){var or=ee[lr];if(!(or.from>=qe||or.to<=Ne)){var Zr=or.level!=1,so=xl(a,x,Zr?Math.min(qe,or.to)-1:Math.max(Ne,or.from)).right,Po=so<oe?oe-so+1e9:so-oe;(!Cn||Bn>Po)&&(Cn=or,Bn=Po)}}return Cn||(Cn=ee[ee.length-1]),Cn.from<Ne&&(Cn={from:Ne,to:Cn.to,level:Cn.level}),Cn.to>qe&&(Cn={from:Cn.from,to:qe,level:Cn.level}),Cn}var _a;function rl(a){if(a.cachedTextHeight!=null)return a.cachedTextHeight;if(_a==null){_a=ut("pre",null,"CodeMirror-line-like");for(var y=0;y<49;++y)_a.appendChild(document.createTextNode("x")),_a.appendChild(ut("br"));_a.appendChild(document.createTextNode("x"))}Qe(a.measure,_a);var E=_a.offsetHeight/50;return E>3&&(a.cachedTextHeight=E),kt(a.measure),E||1}function ol(a){if(a.cachedCharWidth!=null)return a.cachedCharWidth;var y=ut("span","xxxxxxxxxx"),E=ut("pre",[y],"CodeMirror-line-like");Qe(a.measure,E);var x=y.getBoundingClientRect(),ee=(x.right-x.left)/10;return ee>2&&(a.cachedCharWidth=ee),ee||10}function kl(a){for(var y=a.display,E={},x={},ee=y.gutters.clientLeft,oe=y.gutters.firstChild,me=0;oe;oe=oe.nextSibling,++me){var we=a.display.gutterSpecs[me].className;E[we]=oe.offsetLeft+oe.clientLeft+ee,x[we]=oe.clientWidth}return{fixedPos:ls(y),gutterTotalWidth:y.gutters.offsetWidth,gutterLeft:E,gutterWidth:x,wrapperWidth:y.wrapper.clientWidth}}function ls(a){return a.scroller.getBoundingClientRect().left-a.sizer.getBoundingClientRect().left}function Ls(a){var y=rl(a.display),E=a.options.lineWrapping,x=E&&Math.max(5,a.display.scroller.clientWidth/ol(a.display)-3);return function(ee){if($n(a.doc,ee))return 0;var oe=0;if(ee.widgets)for(var me=0;me<ee.widgets.length;me++)ee.widgets[me].height&&(oe+=ee.widgets[me].height);return E?oe+(Math.ceil(ee.text.length/x)||1)*y:oe+y}}function ms(a){var y=a.doc,E=Ls(a);y.iter(function(x){var ee=E(x);ee!=x.height&&er(x,ee)})}function ql(a,y,E,x){var ee=a.display;if(!E&&Vt(y).getAttribute("cm-not-content")=="true")return null;var oe,me,we=ee.lineSpace.getBoundingClientRect();try{oe=y.clientX-we.left,me=y.clientY-we.top}catch(Bn){return null}var Ne=sa(a,oe,me),qe;if(x&&Ne.xRel>0&&(qe=rn(a.doc,Ne.line).text).length==Ne.ch){var Cn=De(qe,qe.length,a.options.tabSize)-qe.length;Ne=Ye(Ne.line,Math.max(0,Math.round((oe-Ea(a.display).left)/ol(a.display))-Cn))}return Ne}function Xl(a,y){if(y>=a.display.viewTo||(y-=a.display.viewFrom,y<0))return null;for(var E=a.display.view,x=0;x<E.length;x++)if(y-=E[x].size,y<0)return x}function vl(a,y,E,x){y==null&&(y=a.doc.first),E==null&&(E=a.doc.first+a.doc.size),x||(x=0);var ee=a.display;if(x&&E<ee.viewTo&&(ee.updateLineNumbers==null||ee.updateLineNumbers>y)&&(ee.updateLineNumbers=y),a.curOp.viewChanged=!0,y>=ee.viewTo)gr&&Dn(a.doc,y)<ee.viewTo&&$l(a);else if(E<=ee.viewFrom)gr&&jn(a.doc,E+x)>ee.viewFrom?$l(a):(ee.viewFrom+=x,ee.viewTo+=x);else if(y<=ee.viewFrom&&E>=ee.viewTo)$l(a);else if(y<=ee.viewFrom){var oe=Ds(a,E,E+x,1);oe?(ee.view=ee.view.slice(oe.index),ee.viewFrom=oe.lineN,ee.viewTo+=x):$l(a)}else if(E>=ee.viewTo){var me=Ds(a,y,y,-1);me?(ee.view=ee.view.slice(0,me.index),ee.viewTo=me.lineN):$l(a)}else{var we=Ds(a,y,y,-1),Ne=Ds(a,E,E+x,1);we&&Ne?(ee.view=ee.view.slice(0,we.index).concat(Wi(a,we.lineN,Ne.lineN)).concat(ee.view.slice(Ne.index)),ee.viewTo+=x):$l(a)}var qe=ee.externalMeasured;qe&&(E<qe.lineN?qe.lineN+=x:y<qe.lineN+qe.size&&(ee.externalMeasured=null))}function es(a,y,E){a.curOp.viewChanged=!0;var x=a.display,ee=a.display.externalMeasured;if(ee&&y>=ee.lineN&&y<ee.lineN+ee.size&&(x.externalMeasured=null),!(y<x.viewFrom||y>=x.viewTo)){var oe=x.view[Xl(a,y)];if(oe.node!=null){var me=oe.changes||(oe.changes=[]);At(me,E)==-1&&me.push(E)}}}function $l(a){a.display.viewFrom=a.display.viewTo=a.doc.first,a.display.view=[],a.display.viewOffset=0}function Ds(a,y,E,x){var ee=Xl(a,y),oe,me=a.display.view;if(!gr||E==a.doc.first+a.doc.size)return{index:ee,lineN:E};for(var we=a.display.viewFrom,Ne=0;Ne<ee;Ne++)we+=me[Ne].size;if(we!=y){if(x>0){if(ee==me.length-1)return null;oe=we+me[ee].size-y,ee++}else oe=we-y;y+=oe,E+=oe}for(;Dn(a.doc,E)!=E;){if(ee==(x<0?0:me.length-1))return null;E+=x*me[ee-(x<0?1:0)].size,ee+=x}return{index:ee,lineN:E}}function Ys(a,y,E){var x=a.display,ee=x.view;ee.length==0||y>=x.viewTo||E<=x.viewFrom?(x.view=Wi(a,y,E),x.viewFrom=y):(x.viewFrom>y?x.view=Wi(a,y,x.viewFrom).concat(x.view):x.viewFrom<y&&(x.view=x.view.slice(Xl(a,y))),x.viewFrom=y,x.viewTo<E?x.view=x.view.concat(Wi(a,x.viewTo,E)):x.viewTo>E&&(x.view=x.view.slice(0,Xl(a,E)))),x.viewTo=E}function Ps(a){for(var y=a.display.view,E=0,x=0;x<y.length;x++){var ee=y[x];!ee.hidden&&(!ee.node||ee.changes)&&++E}return E}function ss(a){a.display.input.showSelection(a.display.input.prepareSelection())}function vu(a,y){y===void 0&&(y=!0);for(var E=a.doc,x={},ee=x.cursors=document.createDocumentFragment(),oe=x.selection=document.createDocumentFragment(),me=0;me<E.sel.ranges.length;me++)if(!(!y&&me==E.sel.primIndex)){var we=E.sel.ranges[me];if(!(we.from().line>=a.display.viewTo||we.to().line<a.display.viewFrom)){var Ne=we.empty();(Ne||a.options.showCursorWhenSelecting)&&Gs(a,we.head,ee),Ne||Au(a,we,oe)}}return x}function Gs(a,y,E){var x=fa(a,y,"div",null,null,!a.options.singleCursorHeightPerLine),ee=E.appendChild(ut("div","\xA0","CodeMirror-cursor"));if(ee.style.left=x.left+"px",ee.style.top=x.top+"px",ee.style.height=Math.max(0,x.bottom-x.top)*a.options.cursorHeight+"px",x.other){var oe=E.appendChild(ut("div","\xA0","CodeMirror-cursor CodeMirror-secondarycursor"));oe.style.display="",oe.style.left=x.other.left+"px",oe.style.top=x.other.top+"px",oe.style.height=(x.other.bottom-x.other.top)*.85+"px"}}function xs(a,y){return a.top-y.top||a.left-y.left}function Au(a,y,E){var x=a.display,ee=a.doc,oe=document.createDocumentFragment(),me=Ea(a.display),we=me.left,Ne=Math.max(x.sizerWidth,Ya(a)-x.sizer.offsetLeft)-me.right,qe=ee.direction=="ltr";function Cn(Vo,fi,Ni,Pi){fi<0&&(fi=0),fi=Math.round(fi),Pi=Math.round(Pi),oe.appendChild(ut("div",null,"CodeMirror-selected","position: absolute; left: "+Vo+`px;
|
|
|
top: `+fi+"px; width: "+(Ni==null?Ne-Vo:Ni)+`px;
|
|
|
height: `+(Pi-fi)+"px"))}function Bn(Vo,fi,Ni){var Pi=rn(ee,Vo),ta=Pi.text.length,Va,Ol;function ll(bl,Kl){return $a(a,Ye(Vo,bl),"div",Pi,Kl)}function Jl(bl,Kl,Tl){var Sl=wa(a,Pi,null,bl),Cl=Kl=="ltr"==(Tl=="after")?"left":"right",sl=Tl=="after"?Sl.begin:Sl.end-(/\s/.test(Pi.text.charAt(Sl.end-1))?2:1);return ll(sl,Cl)[Cl]}var Vl=Te(Pi,ee.direction);return Ie(Vl,fi||0,Ni==null?ta:Ni,function(bl,Kl,Tl,Sl){var Cl=Tl=="ltr",sl=ll(bl,Cl?"left":"right"),Ul=ll(Kl-1,Cl?"right":"left"),qs=fi==null&&bl==0,ks=Ni==null&&Kl==ta,Zl=Sl==0,bs=!Vl||Sl==Vl.length-1;if(Ul.top-sl.top<=3){var Ml=(qe?qs:ks)&&Zl,ku=(qe?ks:qs)&&bs,As=Ml?we:(Cl?sl:Ul).left,Ks=ku?Ne:(Cl?Ul:sl).right;Cn(As,sl.top,Ks-As,sl.bottom)}else{var Us,Wl,eu,Lu;Cl?(Us=qe&&qs&&Zl?we:sl.left,Wl=qe?Ne:Jl(bl,Tl,"before"),eu=qe?we:Jl(Kl,Tl,"after"),Lu=qe&&ks&&bs?Ne:Ul.right):(Us=qe?Jl(bl,Tl,"before"):we,Wl=!qe&&qs&&Zl?Ne:sl.right,eu=!qe&&ks&&bs?we:Ul.left,Lu=qe?Jl(Kl,Tl,"after"):Ne),Cn(Us,sl.top,Wl-Us,sl.bottom),sl.bottom<Ul.top&&Cn(we,sl.bottom,null,Ul.top),Cn(eu,Ul.top,Lu-eu,Ul.bottom)}(!Va||xs(sl,Va)<0)&&(Va=sl),xs(Ul,Va)<0&&(Va=Ul),(!Ol||xs(sl,Ol)<0)&&(Ol=sl),xs(Ul,Ol)<0&&(Ol=Ul)}),{start:Va,end:Ol}}var lr=y.from(),or=y.to();if(lr.line==or.line)Bn(lr.line,lr.ch,or.ch);else{var Zr=rn(ee,lr.line),so=rn(ee,or.line),Po=en(Zr)==en(so),jo=Bn(lr.line,lr.ch,Po?Zr.text.length+1:null).end,li=Bn(or.line,Po?0:null,or.ch).start;Po&&(jo.top<li.top-2?(Cn(jo.right,jo.top,null,jo.bottom),Cn(we,li.top,li.left,li.bottom)):Cn(jo.right,jo.top,li.left-jo.right,jo.bottom)),jo.bottom<li.top&&Cn(we,jo.bottom,null,li.top)}E.appendChild(oe)}function Ts(a){if(a.state.focused){var y=a.display;clearInterval(y.blinker);var E=!0;y.cursorDiv.style.visibility="",a.options.cursorBlinkRate>0?y.blinker=setInterval(function(){a.hasFocus()||vs(a),y.cursorDiv.style.visibility=(E=!E)?"":"hidden"},a.options.cursorBlinkRate):a.options.cursorBlinkRate<0&&(y.cursorDiv.style.visibility="hidden")}}function pu(a){a.state.focused||(a.display.input.focus(),us(a))}function Rs(a){a.state.delayingBlurEvent=!0,setTimeout(function(){a.state.delayingBlurEvent&&(a.state.delayingBlurEvent=!1,vs(a))},100)}function us(a,y){a.state.delayingBlurEvent&&(a.state.delayingBlurEvent=!1),a.options.readOnly!="nocursor"&&(a.state.focused||(fn(a,"focus",a,y),a.state.focused=!0,ue(a.display.wrapper,"CodeMirror-focused"),!a.curOp&&a.display.selForContextMenu!=a.doc.sel&&(a.display.input.reset(),Ae&&setTimeout(function(){return a.display.input.reset(!0)},20)),a.display.input.receivedFocus()),Ts(a))}function vs(a,y){a.state.delayingBlurEvent||(a.state.focused&&(fn(a,"blur",a,y),a.state.focused=!1,mt(a.display.wrapper,"CodeMirror-focused")),clearInterval(a.display.blinker),setTimeout(function(){a.state.focused||(a.display.shift=!1)},150))}function Ei(a){for(var y=a.display,E=y.lineDiv.offsetTop,x=0;x<y.view.length;x++){var ee=y.view[x],oe=a.options.lineWrapping,me=void 0,we=0;if(!ee.hidden){if(Oe&&xe<8){var Ne=ee.node.offsetTop+ee.node.offsetHeight;me=Ne-E,E=Ne}else{var qe=ee.node.getBoundingClientRect();me=qe.bottom-qe.top,!oe&&ee.text.firstChild&&(we=ee.text.firstChild.getBoundingClientRect().right-qe.left-1)}var Cn=ee.line.height-me;if((Cn>.005||Cn<-.005)&&(er(ee.line,me),ps(ee.line),ee.rest))for(var Bn=0;Bn<ee.rest.length;Bn++)ps(ee.rest[Bn]);if(we>a.display.sizerWidth){var lr=Math.ceil(we/ol(a.display));lr>a.display.maxLineLength&&(a.display.maxLineLength=lr,a.display.maxLine=ee.line,a.display.maxLineChanged=!0)}}}}function ps(a){if(a.widgets)for(var y=0;y<a.widgets.length;++y){var E=a.widgets[y],x=E.node.parentNode;x&&(E.height=x.offsetHeight)}}function ie(a,y,E){var x=E&&E.top!=null?Math.max(0,E.top):a.scroller.scrollTop;x=Math.floor(x-Oi(a));var ee=E&&E.bottom!=null?E.bottom:x+a.wrapper.clientHeight,oe=Qt(y,x),me=Qt(y,ee);if(E&&E.ensure){var we=E.ensure.from.line,Ne=E.ensure.to.line;we<oe?(oe=we,me=Qt(y,br(rn(y,we))+a.wrapper.clientHeight)):Math.min(Ne,y.lastLine())>=me&&(oe=Qt(y,br(rn(y,Ne))-a.wrapper.clientHeight),me=Ne)}return{from:oe,to:Math.max(me,oe+1)}}function Ee(a,y){if(!Xt(a,"scrollCursorIntoView")){var E=a.display,x=E.sizer.getBoundingClientRect(),ee=null;if(y.top+x.top<0?ee=!0:y.bottom+x.top>(window.innerHeight||document.documentElement.clientHeight)&&(ee=!1),ee!=null&&!vt){var oe=ut("div","\u200B",null,`position: absolute;
|
|
|
top: `+(y.top-E.viewOffset-Oi(a.display))+`px;
|
|
|
height: `+(y.bottom-y.top+Oa(a)+E.barHeight)+`px;
|
|
|
left: `+y.left+"px; width: "+Math.max(2,y.right-y.left)+"px;");a.display.lineSpace.appendChild(oe),oe.scrollIntoView(ee),a.display.lineSpace.removeChild(oe)}}}function Xe(a,y,E,x){x==null&&(x=0);var ee;!a.options.lineWrapping&&y==E&&(y=y.ch?Ye(y.line,y.sticky=="before"?y.ch-1:y.ch,"after"):y,E=y.sticky=="before"?Ye(y.line,y.ch+1,"before"):y);for(var oe=0;oe<5;oe++){var me=!1,we=fa(a,y),Ne=!E||E==y?we:fa(a,E);ee={left:Math.min(we.left,Ne.left),top:Math.min(we.top,Ne.top)-x,right:Math.max(we.left,Ne.left),bottom:Math.max(we.bottom,Ne.bottom)+x};var qe=Lt(a,ee),Cn=a.doc.scrollTop,Bn=a.doc.scrollLeft;if(qe.scrollTop!=null&&(Er(a,qe.scrollTop),Math.abs(a.doc.scrollTop-Cn)>1&&(me=!0)),qe.scrollLeft!=null&&(Ir(a,qe.scrollLeft),Math.abs(a.doc.scrollLeft-Bn)>1&&(me=!0)),!me)break}return ee}function Dt(a,y){var E=Lt(a,y);E.scrollTop!=null&&Er(a,E.scrollTop),E.scrollLeft!=null&&Ir(a,E.scrollLeft)}function Lt(a,y){var E=a.display,x=rl(a.display);y.top<0&&(y.top=0);var ee=a.curOp&&a.curOp.scrollTop!=null?a.curOp.scrollTop:E.scroller.scrollTop,oe=Ii(a),me={};y.bottom-y.top>oe&&(y.bottom=y.top+oe);var we=a.doc.height+pa(E),Ne=y.top<x,qe=y.bottom>we-x;if(y.top<ee)me.scrollTop=Ne?0:y.top;else if(y.bottom>ee+oe){var Cn=Math.min(y.top,(qe?we:y.bottom)-oe);Cn!=ee&&(me.scrollTop=Cn)}var Bn=a.options.fixedGutter?0:E.gutters.offsetWidth,lr=a.curOp&&a.curOp.scrollLeft!=null?a.curOp.scrollLeft:E.scroller.scrollLeft-Bn,or=Ya(a)-E.gutters.offsetWidth,Zr=y.right-y.left>or;return Zr&&(y.right=y.left+or),y.left<10?me.scrollLeft=0:y.left<lr?me.scrollLeft=Math.max(0,y.left+Bn-(Zr?0:10)):y.right>or+lr-3&&(me.scrollLeft=y.right+(Zr?0:10)-or),me}function Pn(a,y){y!=null&&(hr(a),a.curOp.scrollTop=(a.curOp.scrollTop==null?a.doc.scrollTop:a.curOp.scrollTop)+y)}function Vn(a){hr(a);var y=a.getCursor();a.curOp.scrollToPos={from:y,to:y,margin:a.options.cursorScrollMargin}}function Gn(a,y,E){(y!=null||E!=null)&&hr(a),y!=null&&(a.curOp.scrollLeft=y),E!=null&&(a.curOp.scrollTop=E)}function sr(a,y){hr(a),a.curOp.scrollToPos=y}function hr(a){var y=a.curOp.scrollToPos;if(y){a.curOp.scrollToPos=null;var E=Hi(a,y.from),x=Hi(a,y.to);Xn(a,E,x,y.margin)}}function Xn(a,y,E,x){var ee=Lt(a,{left:Math.min(y.left,E.left),top:Math.min(y.top,E.top)-x,right:Math.max(y.right,E.right),bottom:Math.max(y.bottom,E.bottom)+x});Gn(a,ee.scrollLeft,ee.scrollTop)}function Er(a,y){Math.abs(a.doc.scrollTop-y)<2||(b||Bi(a,{top:y}),Fr(a,y,!0),b&&Bi(a),vi(a,100))}function Fr(a,y,E){y=Math.max(0,Math.min(a.display.scroller.scrollHeight-a.display.scroller.clientHeight,y)),!(a.display.scroller.scrollTop==y&&!E)&&(a.doc.scrollTop=y,a.display.scrollbars.setScrollTop(y),a.display.scroller.scrollTop!=y&&(a.display.scroller.scrollTop=y))}function Ir(a,y,E,x){y=Math.max(0,Math.min(y,a.display.scroller.scrollWidth-a.display.scroller.clientWidth)),!((E?y==a.doc.scrollLeft:Math.abs(a.doc.scrollLeft-y)<2)&&!x)&&(a.doc.scrollLeft=y,at(a),a.display.scroller.scrollLeft!=y&&(a.display.scroller.scrollLeft=y),a.display.scrollbars.setScrollLeft(y))}function Dr(a){var y=a.display,E=y.gutters.offsetWidth,x=Math.round(a.doc.height+pa(a.display));return{clientHeight:y.scroller.clientHeight,viewHeight:y.wrapper.clientHeight,scrollWidth:y.scroller.scrollWidth,clientWidth:y.scroller.clientWidth,viewWidth:y.wrapper.clientWidth,barLeft:a.options.fixedGutter?E:0,docHeight:x,scrollHeight:x+Oa(a)+y.barHeight,nativeBarWidth:y.nativeBarWidth,gutterWidth:E}}var Mr=function(a,y,E){this.cm=E;var x=this.vert=ut("div",[ut("div",null,null,"min-width: 1px")],"CodeMirror-vscrollbar"),ee=this.horiz=ut("div",[ut("div",null,null,"height: 100%; min-height: 1px")],"CodeMirror-hscrollbar");x.tabIndex=ee.tabIndex=-1,a(x),a(ee),yn(x,"scroll",function(){x.clientHeight&&y(x.scrollTop,"vertical")}),yn(ee,"scroll",function(){ee.clientWidth&&y(ee.scrollLeft,"horizontal")}),this.checkedZeroWidth=!1,Oe&&xe<8&&(this.horiz.style.minHeight=this.vert.style.minWidth="18px")};Mr.prototype.update=function(a){var y=a.scrollWidth>a.clientWidth+1,E=a.scrollHeight>a.clientHeight+1,x=a.nativeBarWidth;if(E){this.vert.style.display="block",this.vert.style.bottom=y?x+"px":"0";var ee=a.viewHeight-(y?x:0);this.vert.firstChild.style.height=Math.max(0,a.scrollHeight-a.clientHeight+ee)+"px"}else this.vert.style.display="",this.vert.firstChild.style.height="0";if(y){this.horiz.style.display="block",this.horiz.style.right=E?x+"px":"0",this.horiz.style.left=a.barLeft+"px";var oe=a.viewWidth-a.barLeft-(E?x:0);this.horiz.firstChild.style.width=Math.max(0,a.scrollWidth-a.clientWidth+oe)+"px"}else this.horiz.style.display="",this.horiz.firstChild.style.width="0";return!this.checkedZeroWidth&&a.clientHeight>0&&(x==0&&this.zeroWidthHack(),this.checkedZeroWidth=!0),{right:E?x:0,bottom:y?x:0}},Mr.prototype.setScrollLeft=function(a){this.horiz.scrollLeft!=a&&(this.horiz.scrollLeft=a),this.disableHoriz&&this.enableZeroWidthBar(this.horiz,this.disableHoriz,"horiz")},Mr.prototype.setScrollTop=function(a){this.vert.scrollTop!=a&&(this.vert.scrollTop=a),this.disableVert&&this.enableZeroWidthBar(this.vert,this.disableVert,"vert")},Mr.prototype.zeroWidthHack=function(){var a=We&&!be?"12px":"18px";this.horiz.style.height=this.vert.style.width=a,this.horiz.style.pointerEvents=this.vert.style.pointerEvents="none",this.disableHoriz=new ve,this.disableVert=new ve},Mr.prototype.enableZeroWidthBar=function(a,y,E){a.style.pointerEvents="auto";function x(){var ee=a.getBoundingClientRect(),oe=E=="vert"?document.elementFromPoint(ee.right-1,(ee.top+ee.bottom)/2):document.elementFromPoint((ee.right+ee.left)/2,ee.bottom-1);oe!=a?a.style.pointerEvents="none":y.set(1e3,x)}y.set(1e3,x)},Mr.prototype.clear=function(){var a=this.horiz.parentNode;a.removeChild(this.horiz),a.removeChild(this.vert)};var Lr=function(){};Lr.prototype.update=function(){return{bottom:0,right:0}},Lr.prototype.setScrollLeft=function(){},Lr.prototype.setScrollTop=function(){},Lr.prototype.clear=function(){};function Tr(a,y){y||(y=Dr(a));var E=a.display.barWidth,x=a.display.barHeight;So(a,y);for(var ee=0;ee<4&&E!=a.display.barWidth||x!=a.display.barHeight;ee++)E!=a.display.barWidth&&a.options.lineWrapping&&Ei(a),So(a,Dr(a)),E=a.display.barWidth,x=a.display.barHeight}function So(a,y){var E=a.display,x=E.scrollbars.update(y);E.sizer.style.paddingRight=(E.barWidth=x.right)+"px",E.sizer.style.paddingBottom=(E.barHeight=x.bottom)+"px",E.heightForcer.style.borderBottom=x.bottom+"px solid transparent",x.right&&x.bottom?(E.scrollbarFiller.style.display="block",E.scrollbarFiller.style.height=x.bottom+"px",E.scrollbarFiller.style.width=x.right+"px"):E.scrollbarFiller.style.display="",x.bottom&&a.options.coverGutterNextToScrollbar&&a.options.fixedGutter?(E.gutterFiller.style.display="block",E.gutterFiller.style.height=x.bottom+"px",E.gutterFiller.style.width=y.gutterWidth+"px"):E.gutterFiller.style.display=""}var lo={native:Mr,null:Lr};function Ur(a){a.display.scrollbars&&(a.display.scrollbars.clear(),a.display.scrollbars.addClass&&mt(a.display.wrapper,a.display.scrollbars.addClass)),a.display.scrollbars=new lo[a.options.scrollbarStyle](function(y){a.display.wrapper.insertBefore(y,a.display.scrollbarFiller),yn(y,"mousedown",function(){a.state.focused&&setTimeout(function(){return a.display.input.focus()},0)}),y.setAttribute("cm-not-content","true")},function(y,E){E=="horizontal"?Ir(a,y):Er(a,y)},a),a.display.scrollbars.addClass&&ue(a.display.wrapper,a.display.scrollbars.addClass)}var Ao=0;function ro(a){a.curOp={cm:a,viewChanged:!1,startHeight:a.doc.height,forceUpdate:!1,updateInput:0,typing:!1,changeObjs:null,cursorActivityHandlers:null,cursorActivityCalled:0,selectionChanged:!1,updateMaxLine:!1,scrollLeft:null,scrollTop:null,scrollToPos:null,focus:!1,id:++Ao},za(a.curOp)}function uo(a){var y=a.curOp;y&&Ta(y,function(E){for(var x=0;x<E.ops.length;x++)E.ops[x].cm.curOp=null;ai(E)})}function ai(a){for(var y=a.ops,E=0;E<y.length;E++)Ko(y[E]);for(var x=0;x<y.length;x++)Go(y[x]);for(var ee=0;ee<y.length;ee++)Wo(y[ee]);for(var oe=0;oe<y.length;oe++)ci(y[oe]);for(var me=0;me<y.length;me++)Qo(y[me])}function Ko(a){var y=a.cm,E=y.display;ei(y),a.updateMaxLine&&Qr(y),a.mustUpdate=a.viewChanged||a.forceUpdate||a.scrollTop!=null||a.scrollToPos&&(a.scrollToPos.from.line<E.viewFrom||a.scrollToPos.to.line>=E.viewTo)||E.maxLineChanged&&y.options.lineWrapping,a.update=a.mustUpdate&&new Uo(y,a.mustUpdate&&{top:a.scrollTop,ensure:a.scrollToPos},a.forceUpdate)}function Go(a){a.updatedDisplay=a.mustUpdate&&Yo(a.cm,a.update)}function Wo(a){var y=a.cm,E=y.display;a.updatedDisplay&&Ei(y),a.barMeasure=Dr(y),E.maxLineChanged&&!y.options.lineWrapping&&(a.adjustWidthTo=el(y,E.maxLine,E.maxLine.text.length).left+3,y.display.sizerWidth=a.adjustWidthTo,a.barMeasure.scrollWidth=Math.max(E.scroller.clientWidth,E.sizer.offsetLeft+a.adjustWidthTo+Oa(y)+y.display.barWidth),a.maxScrollLeft=Math.max(0,E.sizer.offsetLeft+a.adjustWidthTo-Ya(y))),(a.updatedDisplay||a.selectionChanged)&&(a.preparedSelection=E.input.prepareSelection())}function ci(a){var y=a.cm;a.adjustWidthTo!=null&&(y.display.sizer.style.minWidth=a.adjustWidthTo+"px",a.maxScrollLeft<y.doc.scrollLeft&&Ir(y,Math.min(y.display.scroller.scrollLeft,a.maxScrollLeft),!0),y.display.maxLineChanged=!1);var E=a.focus&&a.focus==Se();a.preparedSelection&&y.display.input.showSelection(a.preparedSelection,E),(a.updatedDisplay||a.startHeight!=y.doc.height)&&Tr(y,a.barMeasure),a.updatedDisplay&&ge(y,a.barMeasure),a.selectionChanged&&Ts(y),y.state.focused&&a.updateInput&&y.display.input.reset(a.typing),E&&pu(a.cm)}function Qo(a){var y=a.cm,E=y.display,x=y.doc;if(a.updatedDisplay&&pi(y,a.update),E.wheelStartX!=null&&(a.scrollTop!=null||a.scrollLeft!=null||a.scrollToPos)&&(E.wheelStartX=E.wheelStartY=null),a.scrollTop!=null&&Fr(y,a.scrollTop,a.forceScroll),a.scrollLeft!=null&&Ir(y,a.scrollLeft,!0,!0),a.scrollToPos){var ee=Xe(y,Pt(x,a.scrollToPos.from),Pt(x,a.scrollToPos.to),a.scrollToPos.margin);Ee(y,ee)}var oe=a.maybeHiddenMarkers,me=a.maybeUnhiddenMarkers;if(oe)for(var we=0;we<oe.length;++we)oe[we].lines.length||fn(oe[we],"hide");if(me)for(var Ne=0;Ne<me.length;++Ne)me[Ne].lines.length&&fn(me[Ne],"unhide");E.wrapper.offsetHeight&&(x.scrollTop=y.display.scroller.scrollTop),a.changeObjs&&fn(y,"changes",y,a.changeObjs),a.update&&a.update.finish()}function Fo(a,y){if(a.curOp)return y();ro(a);try{return y()}finally{uo(a)}}function Eo(a,y){return function(){if(a.curOp)return y.apply(a,arguments);ro(a);try{return y.apply(a,arguments)}finally{uo(a)}}}function Ro(a){return function(){if(this.curOp)return a.apply(this,arguments);ro(this);try{return a.apply(this,arguments)}finally{uo(this)}}}function No(a){return function(){var y=this.cm;if(!y||y.curOp)return a.apply(this,arguments);ro(y);try{return a.apply(this,arguments)}finally{uo(y)}}}function vi(a,y){a.doc.highlightFrontier<a.display.viewTo&&a.state.highlight.set(y,ke(di,a))}function di(a){var y=a.doc;if(!(y.highlightFrontier>=a.display.viewTo)){var E=+new Date+a.options.workTime,x=Ar(a,y.highlightFrontier),ee=[];y.iter(x.line,Math.min(y.first+y.size,a.display.viewTo+500),function(oe){if(x.line>=a.display.viewFrom){var me=oe.styles,we=oe.text.length>a.options.maxHighlightLength?zn(y.mode,x.state):null,Ne=Un(a,oe,x,!0);we&&(x.state=we),oe.styles=Ne.styles;var qe=oe.styleClasses,Cn=Ne.classes;Cn?oe.styleClasses=Cn:qe&&(oe.styleClasses=null);for(var Bn=!me||me.length!=oe.styles.length||qe!=Cn&&(!qe||!Cn||qe.bgClass!=Cn.bgClass||qe.textClass!=Cn.textClass),lr=0;!Bn&&lr<me.length;++lr)Bn=me[lr]!=oe.styles[lr];Bn&&ee.push(x.line),oe.stateAfter=x.save(),x.nextLine()}else oe.text.length<=a.options.maxHighlightLength&&Vr(a,oe.text,x),oe.stateAfter=x.line%5==0?x.save():null,x.nextLine();if(+new Date>E)return vi(a,a.options.workDelay),!0}),y.highlightFrontier=x.line,y.modeFrontier=Math.max(y.modeFrontier,x.line),ee.length&&Fo(a,function(){for(var oe=0;oe<ee.length;oe++)es(a,ee[oe],"text")})}}var Uo=function(a,y,E){var x=a.display;this.viewport=y,this.visible=ie(x,a.doc,y),this.editorIsHidden=!x.wrapper.offsetWidth,this.wrapperHeight=x.wrapper.clientHeight,this.wrapperWidth=x.wrapper.clientWidth,this.oldDisplayWidth=Ya(a),this.force=E,this.dims=kl(a),this.events=[]};Uo.prototype.signal=function(a,y){gn(a,y)&&this.events.push(arguments)},Uo.prototype.finish=function(){for(var a=0;a<this.events.length;a++)fn.apply(null,this.events[a])};function ei(a){var y=a.display;!y.scrollbarsClipped&&y.scroller.offsetWidth&&(y.nativeBarWidth=y.scroller.offsetWidth-y.scroller.clientWidth,y.heightForcer.style.height=Oa(a)+"px",y.sizer.style.marginBottom=-y.nativeBarWidth+"px",y.sizer.style.borderRightWidth=Oa(a)+"px",y.scrollbarsClipped=!0)}function Oo(a){if(a.hasFocus())return null;var y=Se();if(!y||!Ze(a.display.lineDiv,y))return null;var E={activeElt:y};if(window.getSelection){var x=window.getSelection();x.anchorNode&&x.extend&&Ze(a.display.lineDiv,x.anchorNode)&&(E.anchorNode=x.anchorNode,E.anchorOffset=x.anchorOffset,E.focusNode=x.focusNode,E.focusOffset=x.focusOffset)}return E}function Xo(a){if(!(!a||!a.activeElt||a.activeElt==Se())&&(a.activeElt.focus(),!/^(INPUT|TEXTAREA)$/.test(a.activeElt.nodeName)&&a.anchorNode&&Ze(document.body,a.anchorNode)&&Ze(document.body,a.focusNode))){var y=window.getSelection(),E=document.createRange();E.setEnd(a.anchorNode,a.anchorOffset),E.collapse(!1),y.removeAllRanges(),y.addRange(E),y.extend(a.focusNode,a.focusOffset)}}function Yo(a,y){var E=a.display,x=a.doc;if(y.editorIsHidden)return $l(a),!1;if(!y.force&&y.visible.from>=E.viewFrom&&y.visible.to<=E.viewTo&&(E.updateLineNumbers==null||E.updateLineNumbers>=E.viewTo)&&E.renderedView==E.view&&Ps(a)==0)return!1;wt(a)&&($l(a),y.dims=kl(a));var ee=x.first+x.size,oe=Math.max(y.visible.from-a.options.viewportMargin,x.first),me=Math.min(ee,y.visible.to+a.options.viewportMargin);E.viewFrom<oe&&oe-E.viewFrom<20&&(oe=Math.max(x.first,E.viewFrom)),E.viewTo>me&&E.viewTo-me<20&&(me=Math.min(ee,E.viewTo)),gr&&(oe=Dn(a.doc,oe),me=jn(a.doc,me));var we=oe!=E.viewFrom||me!=E.viewTo||E.lastWrapHeight!=y.wrapperHeight||E.lastWrapWidth!=y.wrapperWidth;Ys(a,oe,me),E.viewOffset=br(rn(a.doc,E.viewFrom)),a.display.mover.style.top=E.viewOffset+"px";var Ne=Ps(a);if(!we&&Ne==0&&!y.force&&E.renderedView==E.view&&(E.updateLineNumbers==null||E.updateLineNumbers>=E.viewTo))return!1;var qe=Oo(a);return Ne>4&&(E.lineDiv.style.display="none"),Mi(a,E.updateLineNumbers,y.dims),Ne>4&&(E.lineDiv.style.display=""),E.renderedView=E.view,Xo(qe),kt(E.cursorDiv),kt(E.selectionDiv),E.gutters.style.height=E.sizer.style.minHeight=0,we&&(E.lastWrapHeight=y.wrapperHeight,E.lastWrapWidth=y.wrapperWidth,vi(a,400)),E.updateLineNumbers=null,!0}function pi(a,y){for(var E=y.viewport,x=!0;;x=!1){if(!x||!a.options.lineWrapping||y.oldDisplayWidth==Ya(a)){if(E&&E.top!=null&&(E={top:Math.min(a.doc.height+pa(a.display)-Ii(a),E.top)}),y.visible=ie(a.display,a.doc,E),y.visible.from>=a.display.viewFrom&&y.visible.to<=a.display.viewTo)break}else x&&(y.visible=ie(a.display,a.doc,E));if(!Yo(a,y))break;Ei(a);var ee=Dr(a);ss(a),Tr(a,ee),ge(a,ee),y.force=!1}y.signal(a,"update",a),(a.display.viewFrom!=a.display.reportedViewFrom||a.display.viewTo!=a.display.reportedViewTo)&&(y.signal(a,"viewportChange",a,a.display.viewFrom,a.display.viewTo),a.display.reportedViewFrom=a.display.viewFrom,a.display.reportedViewTo=a.display.viewTo)}function Bi(a,y){var E=new Uo(a,y);if(Yo(a,E)){Ei(a),pi(a,E);var x=Dr(a);ss(a),Tr(a,x),ge(a,x),E.finish()}}function Mi(a,y,E){var x=a.display,ee=a.options.lineNumbers,oe=x.lineDiv,me=oe.firstChild;function we(Zr){var so=Zr.nextSibling;return Ae&&We&&a.display.currentWheelTarget==Zr?Zr.style.display="none":Zr.parentNode.removeChild(Zr),so}for(var Ne=x.view,qe=x.viewFrom,Cn=0;Cn<Ne.length;Cn++){var Bn=Ne[Cn];if(!Bn.hidden)if(!Bn.node||Bn.node.parentNode!=oe){var lr=ho(a,Bn,qe,E);oe.insertBefore(lr,me)}else{for(;me!=Bn.node;)me=we(me);var or=ee&&y!=null&&y<=qe&&Bn.lineNumber;Bn.changes&&(At(Bn.changes,"gutter")>-1&&(or=!1),ul(a,Bn,qe,E)),or&&(kt(Bn.lineNumber),Bn.lineNumber.appendChild(document.createTextNode(yt(a.options,qe)))),me=Bn.node.nextSibling}qe+=Bn.size}for(;me;)me=we(me)}function ye(a){var y=a.gutters.offsetWidth;a.sizer.style.marginLeft=y+"px"}function ge(a,y){a.display.sizer.style.minHeight=y.docHeight+"px",a.display.heightForcer.style.top=y.docHeight+"px",a.display.gutters.style.height=y.docHeight+a.display.barHeight+Oa(a)+"px"}function at(a){var y=a.display,E=y.view;if(!(!y.alignWidgets&&(!y.gutters.firstChild||!a.options.fixedGutter))){for(var x=ls(y)-y.scroller.scrollLeft+a.doc.scrollLeft,ee=y.gutters.offsetWidth,oe=x+"px",me=0;me<E.length;me++)if(!E[me].hidden){a.options.fixedGutter&&(E[me].gutter&&(E[me].gutter.style.left=oe),E[me].gutterBackground&&(E[me].gutterBackground.style.left=oe));var we=E[me].alignable;if(we)for(var Ne=0;Ne<we.length;Ne++)we[Ne].style.left=oe}a.options.fixedGutter&&(y.gutters.style.left=x+ee+"px")}}function wt(a){if(!a.options.lineNumbers)return!1;var y=a.doc,E=yt(a.options,y.first+y.size-1),x=a.display;if(E.length!=x.lineNumChars){var ee=x.measure.appendChild(ut("div",[ut("div",E)],"CodeMirror-linenumber CodeMirror-gutter-elt")),oe=ee.firstChild.offsetWidth,me=ee.offsetWidth-oe;return x.lineGutter.style.width="",x.lineNumInnerWidth=Math.max(oe,x.lineGutter.offsetWidth-me)+1,x.lineNumWidth=x.lineNumInnerWidth+me,x.lineNumChars=x.lineNumInnerWidth?E.length:-1,x.lineGutter.style.width=x.lineNumWidth+"px",ye(a.display),!0}return!1}function $t(a,y){for(var E=[],x=!1,ee=0;ee<a.length;ee++){var oe=a[ee],me=null;if(typeof oe!="string"&&(me=oe.style,oe=oe.className),oe=="CodeMirror-linenumbers")if(y)x=!0;else continue;E.push({className:oe,style:me})}return y&&!x&&E.push({className:"CodeMirror-linenumbers",style:null}),E}function an(a){var y=a.gutters,E=a.gutterSpecs;kt(y),a.lineGutter=null;for(var x=0;x<E.length;++x){var ee=E[x],oe=ee.className,me=ee.style,we=y.appendChild(ut("div",null,"CodeMirror-gutter "+oe));me&&(we.style.cssText=me),oe=="CodeMirror-linenumbers"&&(a.lineGutter=we,we.style.width=(a.lineNumWidth||1)+"px")}y.style.display=E.length?"":"none",ye(a)}function An(a){an(a.display),vl(a),at(a)}function En(a,y,E,x){var ee=this;this.input=E,ee.scrollbarFiller=ut("div",null,"CodeMirror-scrollbar-filler"),ee.scrollbarFiller.setAttribute("cm-not-content","true"),ee.gutterFiller=ut("div",null,"CodeMirror-gutter-filler"),ee.gutterFiller.setAttribute("cm-not-content","true"),ee.lineDiv=dt("div",null,"CodeMirror-code"),ee.selectionDiv=ut("div",null,null,"position: relative; z-index: 1"),ee.cursorDiv=ut("div",null,"CodeMirror-cursors"),ee.measure=ut("div",null,"CodeMirror-measure"),ee.lineMeasure=ut("div",null,"CodeMirror-measure"),ee.lineSpace=dt("div",[ee.measure,ee.lineMeasure,ee.selectionDiv,ee.cursorDiv,ee.lineDiv],null,"position: relative; outline: none");var oe=dt("div",[ee.lineSpace],"CodeMirror-lines");ee.mover=ut("div",[oe],null,"position: relative"),ee.sizer=ut("div",[ee.mover],"CodeMirror-sizer"),ee.sizerWidth=null,ee.heightForcer=ut("div",null,null,"position: absolute; height: "+Gt+"px; width: 1px;"),ee.gutters=ut("div",null,"CodeMirror-gutters"),ee.lineGutter=null,ee.scroller=ut("div",[ee.sizer,ee.heightForcer,ee.gutters],"CodeMirror-scroll"),ee.scroller.setAttribute("tabIndex","-1"),ee.wrapper=ut("div",[ee.scrollbarFiller,ee.gutterFiller,ee.scroller],"CodeMirror"),Oe&&xe<8&&(ee.gutters.style.zIndex=-1,ee.scroller.style.paddingRight=0),!Ae&&!(b&&je)&&(ee.scroller.draggable=!0),a&&(a.appendChild?a.appendChild(ee.wrapper):a(ee.wrapper)),ee.viewFrom=ee.viewTo=y.first,ee.reportedViewFrom=ee.reportedViewTo=y.first,ee.view=[],ee.renderedView=null,ee.externalMeasured=null,ee.viewOffset=0,ee.lastWrapHeight=ee.lastWrapWidth=0,ee.updateLineNumbers=null,ee.nativeBarWidth=ee.barHeight=ee.barWidth=0,ee.scrollbarsClipped=!1,ee.lineNumWidth=ee.lineNumInnerWidth=ee.lineNumChars=null,ee.alignWidgets=!1,ee.cachedCharWidth=ee.cachedTextHeight=ee.cachedPaddingH=null,ee.maxLine=null,ee.maxLineLength=0,ee.maxLineChanged=!1,ee.wheelDX=ee.wheelDY=ee.wheelStartX=ee.wheelStartY=null,ee.shift=!1,ee.selForContextMenu=null,ee.activeTouch=null,ee.gutterSpecs=$t(x.gutters,x.lineNumbers),an(ee),E.init(ee)}var Mn=0,Nn=null;Oe?Nn=-.53:b?Nn=15:Be?Nn=-.7:Ge&&(Nn=-1/3);function ir(a){var y=a.wheelDeltaX,E=a.wheelDeltaY;return y==null&&a.detail&&a.axis==a.HORIZONTAL_AXIS&&(y=a.detail),E==null&&a.detail&&a.axis==a.VERTICAL_AXIS?E=a.detail:E==null&&(E=a.wheelDelta),{x:y,y:E}}function tr(a){var y=ir(a);return y.x*=Nn,y.y*=Nn,y}function Qn(a,y){var E=ir(y),x=E.x,ee=E.y,oe=a.display,me=oe.scroller,we=me.scrollWidth>me.clientWidth,Ne=me.scrollHeight>me.clientHeight;if(x&&we||ee&&Ne){if(ee&&We&&Ae){e:for(var qe=y.target,Cn=oe.view;qe!=me;qe=qe.parentNode)for(var Bn=0;Bn<Cn.length;Bn++)if(Cn[Bn].node==qe){a.display.currentWheelTarget=qe;break e}}if(x&&!b&&!fe&&Nn!=null){ee&&Ne&&Er(a,Math.max(0,me.scrollTop+ee*Nn)),Ir(a,Math.max(0,me.scrollLeft+x*Nn)),(!ee||ee&&Ne)&&Yt(y),oe.wheelStartX=null;return}if(ee&&Nn!=null){var lr=ee*Nn,or=a.doc.scrollTop,Zr=or+oe.wrapper.clientHeight;lr<0?or=Math.max(0,or+lr-50):Zr=Math.min(a.doc.height,Zr+lr+50),Bi(a,{top:or,bottom:Zr})}Mn<20&&(oe.wheelStartX==null?(oe.wheelStartX=me.scrollLeft,oe.wheelStartY=me.scrollTop,oe.wheelDX=x,oe.wheelDY=ee,setTimeout(function(){if(oe.wheelStartX!=null){var so=me.scrollLeft-oe.wheelStartX,Po=me.scrollTop-oe.wheelStartY,jo=Po&&oe.wheelDY&&Po/oe.wheelDY||so&&oe.wheelDX&&so/oe.wheelDX;oe.wheelStartX=oe.wheelStartY=null,jo&&(Nn=(Nn*Mn+jo)/(Mn+1),++Mn)}},200)):(oe.wheelDX+=x,oe.wheelDY+=ee))}}var Kn=function(a,y){this.ranges=a,this.primIndex=y};Kn.prototype.primary=function(){return this.ranges[this.primIndex]},Kn.prototype.equals=function(a){if(a==this)return!0;if(a.primIndex!=this.primIndex||a.ranges.length!=this.ranges.length)return!1;for(var y=0;y<this.ranges.length;y++){var E=this.ranges[y],x=a.ranges[y];if(!qt(E.anchor,x.anchor)||!qt(E.head,x.head))return!1}return!0},Kn.prototype.deepCopy=function(){for(var a=[],y=0;y<this.ranges.length;y++)a[y]=new Hn(nr(this.ranges[y].anchor),nr(this.ranges[y].head));return new Kn(a,this.primIndex)},Kn.prototype.somethingSelected=function(){for(var a=0;a<this.ranges.length;a++)if(!this.ranges[a].empty())return!0;return!1},Kn.prototype.contains=function(a,y){y||(y=a);for(var E=0;E<this.ranges.length;E++){var x=this.ranges[E];if(Ct(y,x.from())>=0&&Ct(a,x.to())<=0)return E}return-1};var Hn=function(a,y){this.anchor=a,this.head=y};Hn.prototype.from=function(){return pt(this.anchor,this.head)},Hn.prototype.to=function(){return ar(this.anchor,this.head)},Hn.prototype.empty=function(){return this.head.line==this.anchor.line&&this.head.ch==this.anchor.ch};function Or(a,y,E){var x=a&&a.options.selectionsMayTouch,ee=y[E];y.sort(function(lr,or){return Ct(lr.from(),or.from())}),E=At(y,ee);for(var oe=1;oe<y.length;oe++){var me=y[oe],we=y[oe-1],Ne=Ct(we.to(),me.from());if(x&&!me.empty()?Ne>0:Ne>=0){var qe=pt(we.from(),me.from()),Cn=ar(we.to(),me.to()),Bn=we.empty()?me.from()==me.head:we.from()==we.head;oe<=E&&--E,y.splice(--oe,2,new Hn(Bn?Cn:qe,Bn?qe:Cn))}}return new Kn(y,E)}function cr(a,y){return new Kn([new Hn(a,y||a)],0)}function Hr(a){return a.text?Ye(a.from.line+a.text.length-1,ct(a.text).length+(a.text.length==1?a.from.ch:0)):a.to}function Nr(a,y){if(Ct(a,y.from)<0)return a;if(Ct(a,y.to)<=0)return Hr(y);var E=a.line+y.text.length-(y.to.line-y.from.line)-1,x=a.ch;return a.line==y.to.line&&(x+=Hr(y).ch-y.to.ch),Ye(E,x)}function _r(a,y){for(var E=[],x=0;x<a.sel.ranges.length;x++){var ee=a.sel.ranges[x];E.push(new Hn(Nr(ee.anchor,y),Nr(ee.head,y)))}return Or(a.cm,E,a.sel.primIndex)}function Wr(a,y,E){return a.line==y.line?Ye(E.line,a.ch-y.ch+E.ch):Ye(E.line+(a.line-y.line),a.ch)}function Yr(a,y,E){for(var x=[],ee=Ye(a.first,0),oe=ee,me=0;me<y.length;me++){var we=y[me],Ne=Wr(we.from,ee,oe),qe=Wr(Hr(we),ee,oe);if(ee=we.to,oe=qe,E=="around"){var Cn=a.sel.ranges[me],Bn=Ct(Cn.head,Cn.anchor)<0;x[me]=new Hn(Bn?qe:Ne,Bn?Ne:qe)}else x[me]=new Hn(Ne,Ne)}return new Kn(x,a.sel.primIndex)}function ao(a){a.doc.mode=Zt(a.options,a.doc.modeOption),po(a)}function po(a){a.doc.iter(function(y){y.stateAfter&&(y.stateAfter=null),y.styles&&(y.styles=null)}),a.doc.modeFrontier=a.doc.highlightFrontier=a.doc.first,vi(a,100),a.state.modeGen++,a.curOp&&vl(a)}function xo(a,y){return y.from.ch==0&&y.to.ch==0&&ct(y.text)==""&&(!a.cm||a.cm.options.wholeLineUpdateBefore)}function $o(a,y,E,x){function ee(li){return E?E[li]:null}function oe(li,Vo,fi){io(li,Vo,fi,x),Ui(li,"change",li,y)}function me(li,Vo){for(var fi=[],Ni=li;Ni<Vo;++Ni)fi.push(new yo(qe[Ni],ee(Ni),x));return fi}var we=y.from,Ne=y.to,qe=y.text,Cn=rn(a,we.line),Bn=rn(a,Ne.line),lr=ct(qe),or=ee(qe.length-1),Zr=Ne.line-we.line;if(y.full)a.insert(0,me(0,qe.length)),a.remove(qe.length,a.size-qe.length);else if(xo(a,y)){var so=me(0,qe.length-1);oe(Bn,Bn.text,or),Zr&&a.remove(we.line,Zr),so.length&&a.insert(we.line,so)}else if(Cn==Bn)if(qe.length==1)oe(Cn,Cn.text.slice(0,we.ch)+lr+Cn.text.slice(Ne.ch),or);else{var Po=me(1,qe.length-1);Po.push(new yo(lr+Cn.text.slice(Ne.ch),or,x)),oe(Cn,Cn.text.slice(0,we.ch)+qe[0],ee(0)),a.insert(we.line+1,Po)}else if(qe.length==1)oe(Cn,Cn.text.slice(0,we.ch)+qe[0]+Bn.text.slice(Ne.ch),ee(0)),a.remove(we.line+1,Zr);else{oe(Cn,Cn.text.slice(0,we.ch)+qe[0],ee(0)),oe(Bn,lr+Bn.text.slice(Ne.ch),or);var jo=me(1,qe.length-1);Zr>1&&a.remove(we.line+1,Zr-1),a.insert(we.line+1,jo)}Ui(a,"change",a,y)}function Gr(a,y,E){function x(ee,oe,me){if(ee.linked)for(var we=0;we<ee.linked.length;++we){var Ne=ee.linked[we];if(Ne.doc!=oe){var qe=me&&Ne.sharedHist;E&&!qe||(y(Ne.doc,qe),x(Ne.doc,ee,qe))}}}x(a,null,!0)}function jr(a,y){if(y.cm)throw new Error("This document is already in use.");a.doc=y,y.cm=a,ms(a),ao(a),oo(a),a.options.lineWrapping||Qr(a),a.options.mode=y.modeOption,vl(a)}function oo(a){(a.doc.direction=="rtl"?ue:mt)(a.display.lineDiv,"CodeMirror-rtl")}function Sr(a){Fo(a,function(){oo(a),vl(a)})}function xr(a){this.done=[],this.undone=[],this.undoDepth=1/0,this.lastModTime=this.lastSelTime=0,this.lastOp=this.lastSelOp=null,this.lastOrigin=this.lastSelOrigin=null,this.generation=this.maxGeneration=a||1}function to(a,y){var E={from:nr(y.from),to:Hr(y),text:Fn(a,y.from,y.to)};return ca(a,E,y.from.line,y.to.line+1),Gr(a,function(x){return ca(x,E,y.from.line,y.to.line+1)},!0),E}function go(a){for(;a.length;){var y=ct(a);if(y.ranges)a.pop();else break}}function Do(a,y){if(y)return go(a.done),ct(a.done);if(a.done.length&&!ct(a.done).ranges)return ct(a.done);if(a.done.length>1&&!a.done[a.done.length-2].ranges)return a.done.pop(),ct(a.done)}function Jo(a,y,E,x){var ee=a.history;ee.undone.length=0;var oe=+new Date,me,we;if((ee.lastOp==x||ee.lastOrigin==y.origin&&y.origin&&(y.origin.charAt(0)=="+"&&ee.lastModTime>oe-(a.cm?a.cm.options.historyEventDelay:500)||y.origin.charAt(0)=="*"))&&(me=Do(ee,ee.lastOp==x)))we=ct(me.changes),Ct(y.from,y.to)==0&&Ct(y.from,we.to)==0?we.to=Hr(y):me.changes.push(to(a,y));else{var Ne=ct(ee.done);for((!Ne||!Ne.ranges)&&wi(a.sel,ee.done),me={changes:[to(a,y)],generation:ee.generation},ee.done.push(me);ee.done.length>ee.undoDepth;)ee.done.shift(),ee.done[0].ranges||ee.done.shift()}ee.done.push(E),ee.generation=++ee.maxGeneration,ee.lastModTime=ee.lastSelTime=oe,ee.lastOp=ee.lastSelOp=x,ee.lastOrigin=ee.lastSelOrigin=y.origin,we||fn(a,"historyAdded")}function Co(a,y,E,x){var ee=y.charAt(0);return ee=="*"||ee=="+"&&E.ranges.length==x.ranges.length&&E.somethingSelected()==x.somethingSelected()&&new Date-a.history.lastSelTime<=(a.cm?a.cm.options.historyEventDelay:500)}function Fi(a,y,E,x){var ee=a.history,oe=x&&x.origin;E==ee.lastSelOp||oe&&ee.lastSelOrigin==oe&&(ee.lastModTime==ee.lastSelTime&&ee.lastOrigin==oe||Co(a,oe,ct(ee.done),y))?ee.done[ee.done.length-1]=y:wi(y,ee.done),ee.lastSelTime=+new Date,ee.lastSelOrigin=oe,ee.lastSelOp=E,x&&x.clearRedo!==!1&&go(ee.undone)}function wi(a,y){var E=ct(y);E&&E.ranges&&E.equals(a)||y.push(a)}function ca(a,y,E,x){var ee=y["spans_"+a.id],oe=0;a.iter(Math.max(a.first,E),Math.min(a.first+a.size,x),function(me){me.markedSpans&&((ee||(ee=y["spans_"+a.id]={}))[oe]=me.markedSpans),++oe})}function $i(a){if(!a)return null;for(var y,E=0;E<a.length;++E)a[E].marker.explicitlyCleared?y||(y=a.slice(0,E)):y&&y.push(a[E]);return y?y.length?y:null:a}function ia(a,y){var E=y["spans_"+a.id];if(!E)return null;for(var x=[],ee=0;ee<y.text.length;++ee)x.push($i(E[ee]));return x}function ma(a,y){var E=ia(a,y),x=ko(a,y);if(!E)return x;if(!x)return E;for(var ee=0;ee<E.length;++ee){var oe=E[ee],me=x[ee];if(oe&&me)e:for(var we=0;we<me.length;++we){for(var Ne=me[we],qe=0;qe<oe.length;++qe)if(oe[qe].marker==Ne.marker)continue e;oe.push(Ne)}else me&&(E[ee]=me)}return E}function ga(a,y,E){for(var x=[],ee=0;ee<a.length;++ee){var oe=a[ee];if(oe.ranges){x.push(E?Kn.prototype.deepCopy.call(oe):oe);continue}var me=oe.changes,we=[];x.push({changes:we});for(var Ne=0;Ne<me.length;++Ne){var qe=me[Ne],Cn=void 0;if(we.push({from:qe.from,to:qe.to,text:qe.text}),y)for(var Bn in qe)(Cn=Bn.match(/^spans_(\d+)$/))&&At(y,Number(Cn[1]))>-1&&(ct(we)[Bn]=qe[Bn],delete qe[Bn])}}return x}function Ti(a,y,E,x){if(x){var ee=a.anchor;if(E){var oe=Ct(y,ee)<0;oe!=Ct(E,ee)<0?(ee=y,y=E):oe!=Ct(y,E)<0&&(y=E)}return new Hn(ee,y)}else return new Hn(E||y,y)}function ki(a,y,E,x,ee){ee==null&&(ee=a.cm&&(a.cm.display.shift||a.extend)),Ho(a,new Kn([Ti(a.sel.primary(),y,E,ee)],0),x)}function Ia(a,y,E){for(var x=[],ee=a.cm&&(a.cm.display.shift||a.extend),oe=0;oe<a.sel.ranges.length;oe++)x[oe]=Ti(a.sel.ranges[oe],y[oe],null,ee);var me=Or(a.cm,x,a.sel.primIndex);Ho(a,me,E)}function Na(a,y,E,x){var ee=a.sel.ranges.slice(0);ee[y]=E,Ho(a,Or(a.cm,ee,a.sel.primIndex),x)}function oi(a,y,E,x){Ho(a,cr(y,E),x)}function Ai(a,y,E){var x={ranges:y.ranges,update:function(ee){this.ranges=[];for(var oe=0;oe<ee.length;oe++)this.ranges[oe]=new Hn(Pt(a,ee[oe].anchor),Pt(a,ee[oe].head))},origin:E&&E.origin};return fn(a,"beforeSelectionChange",a,x),a.cm&&fn(a.cm,"beforeSelectionChange",a.cm,x),x.ranges!=y.ranges?Or(a.cm,x.ranges,x.ranges.length-1):y}function ti(a,y,E){var x=a.history.done,ee=ct(x);ee&&ee.ranges?(x[x.length-1]=y,ji(a,y,E)):Ho(a,y,E)}function Ho(a,y,E){ji(a,y,E),Fi(a,a.sel,a.cm?a.cm.curOp.id:NaN,E)}function ji(a,y,E){(gn(a,"beforeSelectionChange")||a.cm&&gn(a.cm,"beforeSelectionChange"))&&(y=Ai(a,y,E));var x=E&&E.bias||(Ct(y.primary().head,a.sel.primary().head)<0?-1:1);Ji(a,qi(a,y,x,!0)),!(E&&E.scroll===!1)&&a.cm&&Vn(a.cm)}function Ji(a,y){y.equals(a.sel)||(a.sel=y,a.cm&&(a.cm.curOp.updateInput=1,a.cm.curOp.selectionChanged=!0,on(a.cm)),Ui(a,"cursorActivity",a))}function ya(a){Ji(a,qi(a,a.sel,null,!1))}function qi(a,y,E,x){for(var ee,oe=0;oe<y.ranges.length;oe++){var me=y.ranges[oe],we=y.ranges.length==a.sel.ranges.length&&a.sel.ranges[oe],Ne=Sa(a,me.anchor,we&&we.anchor,E,x),qe=Sa(a,me.head,we&&we.head,E,x);(ee||Ne!=me.anchor||qe!=me.head)&&(ee||(ee=y.ranges.slice(0,oe)),ee[oe]=new Hn(Ne,qe))}return ee?Or(a.cm,ee,y.primIndex):y}function ka(a,y,E,x,ee){var oe=rn(a,y.line);if(oe.markedSpans)for(var me=0;me<oe.markedSpans.length;++me){var we=oe.markedSpans[me],Ne=we.marker,qe="selectLeft"in Ne?!Ne.selectLeft:Ne.inclusiveLeft,Cn="selectRight"in Ne?!Ne.selectRight:Ne.inclusiveRight;if((we.from==null||(qe?we.from<=y.ch:we.from<y.ch))&&(we.to==null||(Cn?we.to>=y.ch:we.to>y.ch))){if(ee&&(fn(Ne,"beforeCursorEnter"),Ne.explicitlyCleared))if(oe.markedSpans){--me;continue}else break;if(!Ne.atomic)continue;if(E){var Bn=Ne.find(x<0?1:-1),lr=void 0;if((x<0?Cn:qe)&&(Bn=ui(a,Bn,-x,Bn&&Bn.line==y.line?oe:null)),Bn&&Bn.line==y.line&&(lr=Ct(Bn,E))&&(x<0?lr<0:lr>0))return ka(a,Bn,y,x,ee)}var or=Ne.find(x<0?-1:1);return(x<0?qe:Cn)&&(or=ui(a,or,x,or.line==y.line?oe:null)),or?ka(a,or,y,x,ee):null}}return y}function Sa(a,y,E,x,ee){var oe=x||1,me=ka(a,y,E,oe,ee)||!ee&&ka(a,y,E,oe,!0)||ka(a,y,E,-oe,ee)||!ee&&ka(a,y,E,-oe,!0);return me||(a.cantEdit=!0,Ye(a.first,0))}function ui(a,y,E,x){return E<0&&y.ch==0?y.line>a.first?Pt(a,Ye(y.line-1)):null:E>0&&y.ch==(x||rn(a,y.line)).text.length?y.line<a.first+a.size-1?Ye(y.line+1,0):null:new Ye(y.line,y.ch+E)}function gi(a){a.setSelection(Ye(a.firstLine(),0),Ye(a.lastLine()),pe)}function ea(a,y,E){var x={canceled:!1,from:y.from,to:y.to,text:y.text,origin:y.origin,cancel:function(){return x.canceled=!0}};return E&&(x.update=function(ee,oe,me,we){ee&&(x.from=Pt(a,ee)),oe&&(x.to=Pt(a,oe)),me&&(x.text=me),we!==void 0&&(x.origin=we)}),fn(a,"beforeChange",a,x),a.cm&&fn(a.cm,"beforeChange",a.cm,x),x.canceled?(a.cm&&(a.cm.curOp.updateInput=2),null):{from:x.from,to:x.to,text:x.text,origin:x.origin}}function aa(a,y,E){if(a.cm){if(!a.cm.curOp)return Eo(a.cm,aa)(a,y,E);if(a.cm.state.suppressEdits)return}if(!((gn(a,"beforeChange")||a.cm&&gn(a.cm,"beforeChange"))&&(y=ea(a,y,!0),!y))){var x=ur&&!E&&qo(a,y.from,y.to);if(x)for(var ee=x.length-1;ee>=0;--ee)la(a,{from:x[ee].from,to:x[ee].to,text:ee?[""]:y.text,origin:y.origin});else la(a,y)}}function la(a,y){if(!(y.text.length==1&&y.text[0]==""&&Ct(y.from,y.to)==0)){var E=_r(a,y);Jo(a,y,E,a.cm?a.cm.curOp.id:NaN),il(a,y,E,ko(a,y));var x=[];Gr(a,function(ee,oe){!oe&&At(x,ee.history)==-1&&(Ha(ee.history,y),x.push(ee.history)),il(ee,y,null,ko(ee,y))})}}function Wa(a,y,E){var x=a.cm&&a.cm.state.suppressEdits;if(!(x&&!E)){for(var ee=a.history,oe,me=a.sel,we=y=="undo"?ee.done:ee.undone,Ne=y=="undo"?ee.undone:ee.done,qe=0;qe<we.length&&(oe=we[qe],!(E?oe.ranges&&!oe.equals(a.sel):!oe.ranges));qe++);if(qe!=we.length){for(ee.lastOrigin=ee.lastSelOrigin=null;;)if(oe=we.pop(),oe.ranges){if(wi(oe,Ne),E&&!oe.equals(a.sel)){Ho(a,oe,{clearRedo:!1});return}me=oe}else if(x){we.push(oe);return}else break;var Cn=[];wi(me,Ne),Ne.push({changes:Cn,generation:ee.generation}),ee.generation=oe.generation||++ee.maxGeneration;for(var Bn=gn(a,"beforeChange")||a.cm&&gn(a.cm,"beforeChange"),lr=function(so){var Po=oe.changes[so];if(Po.origin=y,Bn&&!ea(a,Po,!1))return we.length=0,{};Cn.push(to(a,Po));var jo=so?_r(a,Po):ct(we);il(a,Po,jo,ma(a,Po)),!so&&a.cm&&a.cm.scrollIntoView({from:Po.from,to:Hr(Po)});var li=[];Gr(a,function(Vo,fi){!fi&&At(li,Vo.history)==-1&&(Ha(Vo.history,Po),li.push(Vo.history)),il(Vo,Po,null,ma(Vo,Po))})},or=oe.changes.length-1;or>=0;--or){var Zr=lr(or);if(Zr)return Zr.v}}}}function ba(a,y){if(y!=0&&(a.first+=y,a.sel=new Kn(dn(a.sel.ranges,function(ee){return new Hn(Ye(ee.anchor.line+y,ee.anchor.ch),Ye(ee.head.line+y,ee.head.ch))}),a.sel.primIndex),a.cm)){vl(a.cm,a.first,a.first-y,y);for(var E=a.cm.display,x=E.viewFrom;x<E.viewTo;x++)es(a.cm,x,"gutter")}}function il(a,y,E,x){if(a.cm&&!a.cm.curOp)return Eo(a.cm,il)(a,y,E,x);if(y.to.line<a.first){ba(a,y.text.length-1-(y.to.line-y.from.line));return}if(!(y.from.line>a.lastLine())){if(y.from.line<a.first){var ee=y.text.length-1-(a.first-y.from.line);ba(a,ee),y={from:Ye(a.first,0),to:Ye(y.to.line+ee,y.to.ch),text:[ct(y.text)],origin:y.origin}}var oe=a.lastLine();y.to.line>oe&&(y={from:y.from,to:Ye(oe,rn(a,oe).text.length),text:[y.text[0]],origin:y.origin}),y.removed=Fn(a,y.from,y.to),E||(E=_r(a,y)),a.cm?va(a.cm,y,x):$o(a,y,x),ji(a,E,pe),a.cantEdit&&Sa(a,Ye(a.firstLine(),0))&&(a.cantEdit=!1)}}function va(a,y,E){var x=a.doc,ee=a.display,oe=y.from,me=y.to,we=!1,Ne=oe.line;a.options.lineWrapping||(Ne=It(en(rn(x,oe.line))),x.iter(Ne,me.line+1,function(or){if(or==ee.maxLine)return we=!0,!0})),x.sel.contains(y.from,y.to)>-1&&on(a),$o(x,y,E,Ls(a)),a.options.lineWrapping||(x.iter(Ne,oe.line+y.text.length,function(or){var Zr=zr(or);Zr>ee.maxLineLength&&(ee.maxLine=or,ee.maxLineLength=Zr,ee.maxLineChanged=!0,we=!1)}),we&&(a.curOp.updateMaxLine=!0)),yr(x,oe.line),vi(a,400);var qe=y.text.length-(me.line-oe.line)-1;y.full?vl(a):oe.line==me.line&&y.text.length==1&&!xo(a.doc,y)?es(a,oe.line,"text"):vl(a,oe.line,me.line+1,qe);var Cn=gn(a,"changes"),Bn=gn(a,"change");if(Bn||Cn){var lr={from:oe,to:me,text:y.text,removed:y.removed,origin:y.origin};Bn&&Ui(a,"change",a,lr),Cn&&(a.curOp.changeObjs||(a.curOp.changeObjs=[])).push(lr)}a.display.selForContextMenu=null}function Vi(a,y,E,x,ee){var oe;x||(x=E),Ct(x,E)<0&&(oe=[x,E],E=oe[0],x=oe[1]),typeof y=="string"&&(y=a.splitLines(y)),aa(a,{from:E,to:x,text:y,origin:ee})}function ha(a,y,E,x){E<a.line?a.line+=x:y<a.line&&(a.line=y,a.ch=0)}function Ca(a,y,E,x){for(var ee=0;ee<a.length;++ee){var oe=a[ee],me=!0;if(oe.ranges){oe.copied||(oe=a[ee]=oe.deepCopy(),oe.copied=!0);for(var we=0;we<oe.ranges.length;we++)ha(oe.ranges[we].anchor,y,E,x),ha(oe.ranges[we].head,y,E,x);continue}for(var Ne=0;Ne<oe.changes.length;++Ne){var qe=oe.changes[Ne];if(E<qe.from.line)qe.from=Ye(qe.from.line+x,qe.from.ch),qe.to=Ye(qe.to.line+x,qe.to.ch);else if(y<=qe.to.line){me=!1;break}}me||(a.splice(0,ee+1),ee=0)}}function Ha(a,y){var E=y.from.line,x=y.to.line,ee=y.text.length-(x-E)-1;Ca(a.done,E,x,ee),Ca(a.undone,E,x,ee)}function La(a,y,E,x){var ee=y,oe=y;return typeof y=="number"?oe=rn(a,xt(a,y)):ee=It(y),ee==null?null:(x(oe,ee)&&a.cm&&es(a.cm,ee,E),oe)}function Gi(a){this.lines=a,this.parent=null;for(var y=0,E=0;E<a.length;++E)a[E].parent=this,y+=a[E].height;this.height=y}Gi.prototype={chunkSize:function(){return this.lines.length},removeInner:function(a,y){for(var E=a,x=a+y;E<x;++E){var ee=this.lines[E];this.height-=ee.height,Io(ee),Ui(ee,"delete")}this.lines.splice(a,y)},collapse:function(a){a.push.apply(a,this.lines)},insertInner:function(a,y,E){this.height+=E,this.lines=this.lines.slice(0,a).concat(y).concat(this.lines.slice(a));for(var x=0;x<y.length;++x)y[x].parent=this},iterN:function(a,y,E){for(var x=a+y;a<x;++a)if(E(this.lines[a]))return!0}};function Aa(a){this.children=a;for(var y=0,E=0,x=0;x<a.length;++x){var ee=a[x];y+=ee.chunkSize(),E+=ee.height,ee.parent=this}this.size=y,this.height=E,this.parent=null}Aa.prototype={chunkSize:function(){return this.size},removeInner:function(a,y){this.size-=y;for(var E=0;E<this.children.length;++E){var x=this.children[E],ee=x.chunkSize();if(a<ee){var oe=Math.min(y,ee-a),me=x.height;if(x.removeInner(a,oe),this.height-=me-x.height,ee==oe&&(this.children.splice(E--,1),x.parent=null),(y-=oe)==0)break;a=0}else a-=ee}if(this.size-y<25&&(this.children.length>1||!(this.children[0]instanceof Gi))){var we=[];this.collapse(we),this.children=[new Gi(we)],this.children[0].parent=this}},collapse:function(a){for(var y=0;y<this.children.length;++y)this.children[y].collapse(a)},insertInner:function(a,y,E){this.size+=y.length,this.height+=E;for(var x=0;x<this.children.length;++x){var ee=this.children[x],oe=ee.chunkSize();if(a<=oe){if(ee.insertInner(a,y,E),ee.lines&&ee.lines.length>50){for(var me=ee.lines.length%25+25,we=me;we<ee.lines.length;){var Ne=new Gi(ee.lines.slice(we,we+=25));ee.height-=Ne.height,this.children.splice(++x,0,Ne),Ne.parent=this}ee.lines=ee.lines.slice(0,me),this.maybeSpill()}break}a-=oe}},maybeSpill:function(){if(!(this.children.length<=10)){var a=this;do{var y=a.children.splice(a.children.length-5,5),E=new Aa(y);if(a.parent){a.size-=E.size,a.height-=E.height;var ee=At(a.parent.children,a);a.parent.children.splice(ee+1,0,E)}else{var x=new Aa(a.children);x.parent=a,a.children=[x,E],a=x}E.parent=a.parent}while(a.children.length>10);a.parent.maybeSpill()}},iterN:function(a,y,E){for(var x=0;x<this.children.length;++x){var ee=this.children[x],oe=ee.chunkSize();if(a<oe){var me=Math.min(y,oe-a);if(ee.iterN(a,me,E))return!0;if((y-=me)==0)break;a=0}else a-=oe}}};var na=function(a,y,E){if(E)for(var x in E)E.hasOwnProperty(x)&&(this[x]=E[x]);this.doc=a,this.node=y};na.prototype.clear=function(){var a=this.doc.cm,y=this.line.widgets,E=this.line,x=It(E);if(!(x==null||!y)){for(var ee=0;ee<y.length;++ee)y[ee]==this&&y.splice(ee--,1);y.length||(E.widgets=null);var oe=Ri(this);er(E,Math.max(0,E.height-oe)),a&&(Fo(a,function(){al(a,E,-oe),es(a,x,"widget")}),Ui(a,"lineWidgetCleared",a,this,x))}},na.prototype.changed=function(){var a=this,y=this.height,E=this.doc.cm,x=this.line;this.height=null;var ee=Ri(this)-y;ee&&($n(this.doc,x)||er(x,x.height+ee),E&&Fo(E,function(){E.curOp.forceUpdate=!0,al(E,x,ee),Ui(E,"lineWidgetChanged",E,a,It(x))}))},ft(na);function al(a,y,E){br(y)<(a.curOp&&a.curOp.scrollTop||a.doc.scrollTop)&&Pn(a,E)}function ja(a,y,E,x){var ee=new na(a,E,x),oe=a.cm;return oe&&ee.noHScroll&&(oe.display.alignWidgets=!0),La(a,y,"widget",function(me){var we=me.widgets||(me.widgets=[]);if(ee.insertAt==null?we.push(ee):we.splice(Math.min(we.length-1,Math.max(0,ee.insertAt)),0,ee),ee.line=me,oe&&!$n(a,me)){var Ne=br(me)<a.scrollTop;er(me,me.height+Ri(ee)),Ne&&Pn(oe,ee.height),oe.curOp.forceUpdate=!0}return!0}),oe&&Ui(oe,"lineWidgetAdded",oe,ee,typeof y=="number"?y:It(y)),ee}var dl=0,pl=function(a,y){this.lines=[],this.type=y,this.doc=a,this.id=++dl};pl.prototype.clear=function(){if(!this.explicitlyCleared){var a=this.doc.cm,y=a&&!a.curOp;if(y&&ro(a),gn(this,"clear")){var E=this.find();E&&Ui(this,"clear",E.from,E.to)}for(var x=null,ee=null,oe=0;oe<this.lines.length;++oe){var me=this.lines[oe],we=Rr(me.markedSpans,this);a&&!this.collapsed?es(a,It(me),"text"):a&&(we.to!=null&&(ee=It(me)),we.from!=null&&(x=It(me))),me.markedSpans=mo(me.markedSpans,we),we.from==null&&this.collapsed&&!$n(this.doc,me)&&a&&er(me,rl(a.display))}if(a&&this.collapsed&&!a.options.lineWrapping)for(var Ne=0;Ne<this.lines.length;++Ne){var qe=en(this.lines[Ne]),Cn=zr(qe);Cn>a.display.maxLineLength&&(a.display.maxLine=qe,a.display.maxLineLength=Cn,a.display.maxLineChanged=!0)}x!=null&&a&&this.collapsed&&vl(a,x,ee+1),this.lines.length=0,this.explicitlyCleared=!0,this.atomic&&this.doc.cantEdit&&(this.doc.cantEdit=!1,a&&ya(a.doc)),a&&Ui(a,"markerCleared",a,this,x,ee),y&&uo(a),this.parent&&this.parent.clear()}},pl.prototype.find=function(a,y){a==null&&this.type=="bookmark"&&(a=1);for(var E,x,ee=0;ee<this.lines.length;++ee){var oe=this.lines[ee],me=Rr(oe.markedSpans,this);if(me.from!=null&&(E=Ye(y?oe:It(oe),me.from),a==-1))return E;if(me.to!=null&&(x=Ye(y?oe:It(oe),me.to),a==1))return x}return E&&{from:E,to:x}},pl.prototype.changed=function(){var a=this,y=this.find(-1,!0),E=this,x=this.doc.cm;!y||!x||Fo(x,function(){var ee=y.line,oe=It(y.line),me=Xa(x,oe);if(me&&(rs(me),x.curOp.selectionChanged=x.curOp.forceUpdate=!0),x.curOp.updateMaxLine=!0,!$n(E.doc,ee)&&E.height!=null){var we=E.height;E.height=null;var Ne=Ri(E)-we;Ne&&er(ee,ee.height+Ne)}Ui(x,"markerChanged",x,a)})},pl.prototype.attachLine=function(a){if(!this.lines.length&&this.doc.cm){var y=this.doc.cm.curOp;(!y.maybeHiddenMarkers||At(y.maybeHiddenMarkers,this)==-1)&&(y.maybeUnhiddenMarkers||(y.maybeUnhiddenMarkers=[])).push(this)}this.lines.push(a)},pl.prototype.detachLine=function(a){if(this.lines.splice(At(this.lines,a),1),!this.lines.length&&this.doc.cm){var y=this.doc.cm.curOp;(y.maybeHiddenMarkers||(y.maybeHiddenMarkers=[])).push(this)}},ft(pl);function zl(a,y,E,x,ee){if(x&&x.shared)return cs(a,y,E,x,ee);if(a.cm&&!a.cm.curOp)return Eo(a.cm,zl)(a,y,E,x,ee);var oe=new pl(a,ee),me=Ct(y,E);if(x&&Nt(x,oe,!1),me>0||me==0&&oe.clearWhenEmpty!==!1)return oe;if(oe.replacedWith&&(oe.collapsed=!0,oe.widgetNode=dt("span",[oe.replacedWith],"CodeMirror-widget"),x.handleMouseEvents||oe.widgetNode.setAttribute("cm-ignore-events","true"),x.insertLeft&&(oe.widgetNode.insertLeft=!0)),oe.collapsed){if(Ft(a,y.line,y,E,oe)||y.line!=E.line&&Ft(a,E.line,y,E,oe))throw new Error("Inserting collapsed marker partially overlapping an existing one");Kr()}oe.addToHistory&&Jo(a,{from:y,to:E,origin:"markText"},a.sel,NaN);var we=y.line,Ne=a.cm,qe;if(a.iter(we,E.line+1,function(Bn){Ne&&oe.collapsed&&!Ne.options.lineWrapping&&en(Bn)==Ne.display.maxLine&&(qe=!0),oe.collapsed&&we!=y.line&&er(Bn,0),$r(Bn,new wr(oe,we==y.line?y.ch:null,we==E.line?E.ch:null)),++we}),oe.collapsed&&a.iter(y.line,E.line+1,function(Bn){$n(a,Bn)&&er(Bn,0)}),oe.clearOnEnter&&yn(oe,"beforeCursorEnter",function(){return oe.clear()}),oe.readOnly&&(no(),(a.history.done.length||a.history.undone.length)&&a.clearHistory()),oe.collapsed&&(oe.id=++dl,oe.atomic=!0),Ne){if(qe&&(Ne.curOp.updateMaxLine=!0),oe.collapsed)vl(Ne,y.line,E.line+1);else if(oe.className||oe.startStyle||oe.endStyle||oe.css||oe.attributes||oe.title)for(var Cn=y.line;Cn<=E.line;Cn++)es(Ne,Cn,"text");oe.atomic&&ya(Ne.doc),Ui(Ne,"markerAdded",Ne,oe)}return oe}var xa=function(a,y){this.markers=a,this.primary=y;for(var E=0;E<a.length;++E)a[E].parent=this};xa.prototype.clear=function(){if(!this.explicitlyCleared){this.explicitlyCleared=!0;for(var a=0;a<this.markers.length;++a)this.markers[a].clear();Ui(this,"clear")}},xa.prototype.find=function(a,y){return this.primary.find(a,y)},ft(xa);function cs(a,y,E,x,ee){x=Nt(x),x.shared=!1;var oe=[zl(a,y,E,x,ee)],me=oe[0],we=x.widgetNode;return Gr(a,function(Ne){we&&(x.widgetNode=we.cloneNode(!0)),oe.push(zl(Ne,Pt(Ne,y),Pt(Ne,E),x,ee));for(var qe=0;qe<Ne.linked.length;++qe)if(Ne.linked[qe].isParent)return;me=ct(oe)}),new xa(oe,me)}function fl(a){return a.findMarks(Ye(a.first,0),a.clipPos(Ye(a.lastLine())),function(y){return y.parent})}function Ll(a,y){for(var E=0;E<y.length;E++){var x=y[E],ee=x.find(),oe=a.clipPos(ee.from),me=a.clipPos(ee.to);if(Ct(oe,me)){var we=zl(a,oe,me,x.primary,x.primary.type);x.markers.push(we),we.parent=x}}}function Pl(a){for(var y=function(x){var ee=a[x],oe=[ee.primary.doc];Gr(ee.primary.doc,function(Ne){return oe.push(Ne)});for(var me=0;me<ee.markers.length;me++){var we=ee.markers[me];At(oe,we.doc)==-1&&(we.parent=null,ee.markers.splice(me--,1))}},E=0;E<a.length;E++)y(E)}var Di=0,ni=function(a,y,E,x,ee){if(!(this instanceof ni))return new ni(a,y,E,x,ee);E==null&&(E=0),Aa.call(this,[new Gi([new yo("",null)])]),this.first=E,this.scrollTop=this.scrollLeft=0,this.cantEdit=!1,this.cleanGeneration=1,this.modeFrontier=this.highlightFrontier=E;var oe=Ye(E,0);this.sel=cr(oe),this.history=new xr(null),this.id=++Di,this.modeOption=y,this.lineSep=x,this.direction=ee=="rtl"?"rtl":"ltr",this.extend=!1,typeof a=="string"&&(a=this.splitLines(a)),$o(this,{from:oe,to:oe,text:a}),Ho(this,cr(oe),pe)};ni.prototype=ne(Aa.prototype,{constructor:ni,iter:function(a,y,E){E?this.iterN(a-this.first,y-a,E):this.iterN(this.first,this.first+this.size,a)},insert:function(a,y){for(var E=0,x=0;x<y.length;++x)E+=y[x].height;this.insertInner(a-this.first,y,E)},remove:function(a,y){this.removeInner(a-this.first,y)},getValue:function(a){var y=nn(this,this.first,this.first+this.size);return a===!1?y:y.join(a||this.lineSeparator())},setValue:No(function(a){var y=Ye(this.first,0),E=this.first+this.size-1;aa(this,{from:y,to:Ye(E,rn(this,E).text.length),text:this.splitLines(a),origin:"setValue",full:!0},!0),this.cm&&Gn(this.cm,0,0),Ho(this,cr(y),pe)}),replaceRange:function(a,y,E,x){y=Pt(this,y),E=E?Pt(this,E):y,Vi(this,a,y,E,x)},getRange:function(a,y,E){var x=Fn(this,Pt(this,a),Pt(this,y));return E===!1?x:x.join(E||this.lineSeparator())},getLine:function(a){var y=this.getLineHandle(a);return y&&y.text},getLineHandle:function(a){if(ze(this,a))return rn(this,a)},getLineNumber:function(a){return It(a)},getLineHandleVisualStart:function(a){return typeof a=="number"&&(a=rn(this,a)),en(a)},lineCount:function(){return this.size},firstLine:function(){return this.first},lastLine:function(){return this.first+this.size-1},clipPos:function(a){return Pt(this,a)},getCursor:function(a){var y=this.sel.primary(),E;return a==null||a=="head"?E=y.head:a=="anchor"?E=y.anchor:a=="end"||a=="to"||a===!1?E=y.to():E=y.from(),E},listSelections:function(){return this.sel.ranges},somethingSelected:function(){return this.sel.somethingSelected()},setCursor:No(function(a,y,E){oi(this,Pt(this,typeof a=="number"?Ye(a,y||0):a),null,E)}),setSelection:No(function(a,y,E){oi(this,Pt(this,a),Pt(this,y||a),E)}),extendSelection:No(function(a,y,E){ki(this,Pt(this,a),y&&Pt(this,y),E)}),extendSelections:No(function(a,y){Ia(this,In(this,a),y)}),extendSelectionsBy:No(function(a,y){var E=dn(this.sel.ranges,a);Ia(this,In(this,E),y)}),setSelections:No(function(a,y,E){if(a.length){for(var x=[],ee=0;ee<a.length;ee++)x[ee]=new Hn(Pt(this,a[ee].anchor),Pt(this,a[ee].head));y==null&&(y=Math.min(a.length-1,this.sel.primIndex)),Ho(this,Or(this.cm,x,y),E)}}),addSelection:No(function(a,y,E){var x=this.sel.ranges.slice(0);x.push(new Hn(Pt(this,a),Pt(this,y||a))),Ho(this,Or(this.cm,x,x.length-1),E)}),getSelection:function(a){for(var y=this.sel.ranges,E,x=0;x<y.length;x++){var ee=Fn(this,y[x].from(),y[x].to());E=E?E.concat(ee):ee}return a===!1?E:E.join(a||this.lineSeparator())},getSelections:function(a){for(var y=[],E=this.sel.ranges,x=0;x<E.length;x++){var ee=Fn(this,E[x].from(),E[x].to());a!==!1&&(ee=ee.join(a||this.lineSeparator())),y[x]=ee}return y},replaceSelection:function(a,y,E){for(var x=[],ee=0;ee<this.sel.ranges.length;ee++)x[ee]=a;this.replaceSelections(x,y,E||"+input")},replaceSelections:No(function(a,y,E){for(var x=[],ee=this.sel,oe=0;oe<ee.ranges.length;oe++){var me=ee.ranges[oe];x[oe]={from:me.from(),to:me.to(),text:this.splitLines(a[oe]),origin:E}}for(var we=y&&y!="end"&&Yr(this,x,y),Ne=x.length-1;Ne>=0;Ne--)aa(this,x[Ne]);we?ti(this,we):this.cm&&Vn(this.cm)}),undo:No(function(){Wa(this,"undo")}),redo:No(function(){Wa(this,"redo")}),undoSelection:No(function(){Wa(this,"undo",!0)}),redoSelection:No(function(){Wa(this,"redo",!0)}),setExtending:function(a){this.extend=a},getExtending:function(){return this.extend},historySize:function(){for(var a=this.history,y=0,E=0,x=0;x<a.done.length;x++)a.done[x].ranges||++y;for(var ee=0;ee<a.undone.length;ee++)a.undone[ee].ranges||++E;return{undo:y,redo:E}},clearHistory:function(){var a=this;this.history=new xr(this.history.maxGeneration),Gr(this,function(y){return y.history=a.history},!0)},markClean:function(){this.cleanGeneration=this.changeGeneration(!0)},changeGeneration:function(a){return a&&(this.history.lastOp=this.history.lastSelOp=this.history.lastOrigin=null),this.history.generation},isClean:function(a){return this.history.generation==(a||this.cleanGeneration)},getHistory:function(){return{done:ga(this.history.done),undone:ga(this.history.undone)}},setHistory:function(a){var y=this.history=new xr(this.history.maxGeneration);y.done=ga(a.done.slice(0),null,!0),y.undone=ga(a.undone.slice(0),null,!0)},setGutterMarker:No(function(a,y,E){return La(this,a,"gutter",function(x){var ee=x.gutterMarkers||(x.gutterMarkers={});return ee[y]=E,!E&&re(ee)&&(x.gutterMarkers=null),!0})}),clearGutter:No(function(a){var y=this;this.iter(function(E){E.gutterMarkers&&E.gutterMarkers[a]&&La(y,E,"gutter",function(){return E.gutterMarkers[a]=null,re(E.gutterMarkers)&&(E.gutterMarkers=null),!0})})}),lineInfo:function(a){var y;if(typeof a=="number"){if(!ze(this,a)||(y=a,a=rn(this,a),!a))return null}else if(y=It(a),y==null)return null;return{line:y,handle:a,text:a.text,gutterMarkers:a.gutterMarkers,textClass:a.textClass,bgClass:a.bgClass,wrapClass:a.wrapClass,widgets:a.widgets}},addLineClass:No(function(a,y,E){return La(this,a,y=="gutter"?"gutter":"class",function(x){var ee=y=="text"?"textClass":y=="background"?"bgClass":y=="gutter"?"gutterClass":"wrapClass";if(!x[ee])x[ee]=E;else{if(st(E).test(x[ee]))return!1;x[ee]+=" "+E}return!0})}),removeLineClass:No(function(a,y,E){return La(this,a,y=="gutter"?"gutter":"class",function(x){var ee=y=="text"?"textClass":y=="background"?"bgClass":y=="gutter"?"gutterClass":"wrapClass",oe=x[ee];if(oe)if(E==null)x[ee]=null;else{var me=oe.match(st(E));if(!me)return!1;var we=me.index+me[0].length;x[ee]=oe.slice(0,me.index)+(!me.index||we==oe.length?"":" ")+oe.slice(we)||null}else return!1;return!0})}),addLineWidget:No(function(a,y,E){return ja(this,a,y,E)}),removeLineWidget:function(a){a.clear()},markText:function(a,y,E){return zl(this,Pt(this,a),Pt(this,y),E,E&&E.type||"range")},setBookmark:function(a,y){var E={replacedWith:y&&(y.nodeType==null?y.widget:y),insertLeft:y&&y.insertLeft,clearWhenEmpty:!1,shared:y&&y.shared,handleMouseEvents:y&&y.handleMouseEvents};return a=Pt(this,a),zl(this,a,a,E,"bookmark")},findMarksAt:function(a){a=Pt(this,a);var y=[],E=rn(this,a.line).markedSpans;if(E)for(var x=0;x<E.length;++x){var ee=E[x];(ee.from==null||ee.from<=a.ch)&&(ee.to==null||ee.to>=a.ch)&&y.push(ee.marker.parent||ee.marker)}return y},findMarks:function(a,y,E){a=Pt(this,a),y=Pt(this,y);var x=[],ee=a.line;return this.iter(a.line,y.line+1,function(oe){var me=oe.markedSpans;if(me)for(var we=0;we<me.length;we++){var Ne=me[we];!(Ne.to!=null&&ee==a.line&&a.ch>=Ne.to||Ne.from==null&&ee!=a.line||Ne.from!=null&&ee==y.line&&Ne.from>=y.ch)&&(!E||E(Ne.marker))&&x.push(Ne.marker.parent||Ne.marker)}++ee}),x},getAllMarks:function(){var a=[];return this.iter(function(y){var E=y.markedSpans;if(E)for(var x=0;x<E.length;++x)E[x].from!=null&&a.push(E[x].marker)}),a},posFromIndex:function(a){var y,E=this.first,x=this.lineSeparator().length;return this.iter(function(ee){var oe=ee.text.length+x;if(oe>a)return y=a,!0;a-=oe,++E}),Pt(this,Ye(E,y))},indexFromPos:function(a){a=Pt(this,a);var y=a.ch;if(a.line<this.first||a.ch<0)return 0;var E=this.lineSeparator().length;return this.iter(this.first,a.line,function(x){y+=x.text.length+E}),y},copy:function(a){var y=new ni(nn(this,this.first,this.first+this.size),this.modeOption,this.first,this.lineSep,this.direction);return y.scrollTop=this.scrollTop,y.scrollLeft=this.scrollLeft,y.sel=this.sel,y.extend=!1,a&&(y.history.undoDepth=this.history.undoDepth,y.setHistory(this.getHistory())),y},linkedDoc:function(a){a||(a={});var y=this.first,E=this.first+this.size;a.from!=null&&a.from>y&&(y=a.from),a.to!=null&&a.to<E&&(E=a.to);var x=new ni(nn(this,y,E),a.mode||this.modeOption,y,this.lineSep,this.direction);return a.sharedHist&&(x.history=this.history),(this.linked||(this.linked=[])).push({doc:x,sharedHist:a.sharedHist}),x.linked=[{doc:this,isParent:!0,sharedHist:a.sharedHist}],Ll(x,fl(this)),x},unlinkDoc:function(a){if(a instanceof qa&&(a=a.doc),this.linked)for(var y=0;y<this.linked.length;++y){var E=this.linked[y];if(E.doc==a){this.linked.splice(y,1),a.unlinkDoc(this),Pl(fl(this));break}}if(a.history==this.history){var x=[a.id];Gr(a,function(ee){return x.push(ee.id)},!0),a.history=new xr(null),a.history.done=ga(this.history.done,x),a.history.undone=ga(this.history.undone,x)}},iterLinkedDocs:function(a){Gr(this,a)},getMode:function(){return this.mode},getEditor:function(){return this.cm},splitLines:function(a){return this.lineSep?a.split(this.lineSep):Jn(a)},lineSeparator:function(){return this.lineSep||`
|
|
|
`},setDirection:No(function(a){a!="rtl"&&(a="ltr"),a!=this.direction&&(this.direction=a,this.iter(function(y){return y.order=null}),this.cm&&Sr(this.cm))})}),ni.prototype.eachLine=ni.prototype.iter;var Ra=0;function gl(a){var y=this;if(Is(y),!(Xt(y,a)||Li(y.display,a))){Yt(a),Oe&&(Ra=+new Date);var E=ql(y,a,!0),x=a.dataTransfer.files;if(!(!E||y.isReadOnly()))if(x&&x.length&&window.FileReader&&window.File)for(var ee=x.length,oe=Array(ee),me=0,we=function(){++me==ee&&Eo(y,function(){E=Pt(y.doc,E);var or={from:E,to:E,text:y.doc.splitLines(oe.filter(function(Zr){return Zr!=null}).join(y.doc.lineSeparator())),origin:"paste"};aa(y.doc,or),ti(y.doc,cr(Pt(y.doc,E),Pt(y.doc,Hr(or))))})()},Ne=function(or,Zr){if(y.options.allowDropFileTypes&&At(y.options.allowDropFileTypes,or.type)==-1){we();return}var so=new FileReader;so.onerror=function(){return we()},so.onload=function(){var Po=so.result;if(/[\x00-\x08\x0e-\x1f]{2}/.test(Po)){we();return}oe[Zr]=Po,we()},so.readAsText(or)},qe=0;qe<x.length;qe++)Ne(x[qe],qe);else{if(y.state.draggingText&&y.doc.sel.contains(E)>-1){y.state.draggingText(a),setTimeout(function(){return y.display.input.focus()},20);return}try{var Cn=a.dataTransfer.getData("Text");if(Cn){var Bn;if(y.state.draggingText&&!y.state.draggingText.copy&&(Bn=y.listSelections()),ji(y.doc,cr(E,E)),Bn)for(var lr=0;lr<Bn.length;++lr)Vi(y.doc,"",Bn[lr].anchor,Bn[lr].head,"drag");y.replaceSelection(Cn,"around","paste"),y.display.input.focus()}}catch(or){}}}}function Rl(a,y){if(Oe&&(!a.state.draggingText||+new Date-Ra<100)){_e(y);return}if(!(Xt(a,y)||Li(a.display,y))&&(y.dataTransfer.setData("Text",a.getSelection()),y.dataTransfer.effectAllowed="copyMove",y.dataTransfer.setDragImage&&!Ge)){var E=ut("img",null,null,"position: fixed; left: 0; top: 0;");E.src="data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==",fe&&(E.width=E.height=1,a.display.wrapper.appendChild(E),E._top=E.offsetTop),y.dataTransfer.setDragImage(E,0,0),fe&&E.parentNode.removeChild(E)}}function Ql(a,y){var E=ql(a,y);if(E){var x=document.createDocumentFragment();Gs(a,E,x),a.display.dragCursor||(a.display.dragCursor=ut("div",null,"CodeMirror-cursors CodeMirror-dragcursors"),a.display.lineSpace.insertBefore(a.display.dragCursor,a.display.cursorDiv)),Qe(a.display.dragCursor,x)}}function Is(a){a.display.dragCursor&&(a.display.lineSpace.removeChild(a.display.dragCursor),a.display.dragCursor=null)}function Bs(a){if(document.getElementsByClassName){for(var y=document.getElementsByClassName("CodeMirror"),E=[],x=0;x<y.length;x++){var ee=y[x].CodeMirror;ee&&E.push(ee)}E.length&&E[0].operation(function(){for(var oe=0;oe<E.length;oe++)a(E[oe])})}}var Zs=!1;function ra(){Zs||(Zi(),Zs=!0)}function Zi(){var a;yn(window,"resize",function(){a==null&&(a=setTimeout(function(){a=null,Bs(Zo)},100))}),yn(window,"blur",function(){return Bs(vs)})}function Zo(a){var y=a.display;y.cachedCharWidth=y.cachedTextHeight=y.cachedPaddingH=null,y.scrollbarsClipped=!1,a.setSize()}for(var yi={3:"Pause",8:"Backspace",9:"Tab",13:"Enter",16:"Shift",17:"Ctrl",18:"Alt",19:"Pause",20:"CapsLock",27:"Esc",32:"Space",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"Left",38:"Up",39:"Right",40:"Down",44:"PrintScrn",45:"Insert",46:"Delete",59:";",61:"=",91:"Mod",92:"Mod",93:"Mod",106:"*",107:"=",109:"-",110:".",111:"/",145:"ScrollLock",173:"-",186:";",187:"=",188:",",189:"-",190:".",191:"/",192:"`",219:"[",220:"\\",221:"]",222:"'",224:"Mod",63232:"Up",63233:"Down",63234:"Left",63235:"Right",63272:"Delete",63273:"Home",63275:"End",63276:"PageUp",63277:"PageDown",63302:"Insert"},Yi=0;Yi<10;Yi++)yi[Yi+48]=yi[Yi+96]=String(Yi);for(var Ua=65;Ua<=90;Ua++)yi[Ua]=String.fromCharCode(Ua);for(var yl=1;yl<=12;yl++)yi[yl+111]=yi[yl+63235]="F"+yl;var hl={};hl.basic={Left:"goCharLeft",Right:"goCharRight",Up:"goLineUp",Down:"goLineDown",End:"goLineEnd",Home:"goLineStartSmart",PageUp:"goPageUp",PageDown:"goPageDown",Delete:"delCharAfter",Backspace:"delCharBefore","Shift-Backspace":"delCharBefore",Tab:"defaultTab","Shift-Tab":"indentAuto",Enter:"newlineAndIndent",Insert:"toggleOverwrite",Esc:"singleSelection"},hl.pcDefault={"Ctrl-A":"selectAll","Ctrl-D":"deleteLine","Ctrl-Z":"undo","Shift-Ctrl-Z":"redo","Ctrl-Y":"redo","Ctrl-Home":"goDocStart","Ctrl-End":"goDocEnd","Ctrl-Up":"goLineUp","Ctrl-Down":"goLineDown","Ctrl-Left":"goGroupLeft","Ctrl-Right":"goGroupRight","Alt-Left":"goLineStart","Alt-Right":"goLineEnd","Ctrl-Backspace":"delGroupBefore","Ctrl-Delete":"delGroupAfter","Ctrl-S":"save","Ctrl-F":"find","Ctrl-G":"findNext","Shift-Ctrl-G":"findPrev","Shift-Ctrl-F":"replace","Shift-Ctrl-R":"replaceAll","Ctrl-[":"indentLess","Ctrl-]":"indentMore","Ctrl-U":"undoSelection","Shift-Ctrl-U":"redoSelection","Alt-U":"redoSelection",fallthrough:"basic"},hl.emacsy={"Ctrl-F":"goCharRight","Ctrl-B":"goCharLeft","Ctrl-P":"goLineUp","Ctrl-N":"goLineDown","Alt-F":"goWordRight","Alt-B":"goWordLeft","Ctrl-A":"goLineStart","Ctrl-E":"goLineEnd","Ctrl-V":"goPageDown","Shift-Ctrl-V":"goPageUp","Ctrl-D":"delCharAfter","Ctrl-H":"delCharBefore","Alt-D":"delWordAfter","Alt-Backspace":"delWordBefore","Ctrl-K":"killLine","Ctrl-T":"transposeChars","Ctrl-O":"openLine"},hl.macDefault={"Cmd-A":"selectAll","Cmd-D":"deleteLine","Cmd-Z":"undo","Shift-Cmd-Z":"redo","Cmd-Y":"redo","Cmd-Home":"goDocStart","Cmd-Up":"goDocStart","Cmd-End":"goDocEnd","Cmd-Down":"goDocEnd","Alt-Left":"goGroupLeft","Alt-Right":"goGroupRight","Cmd-Left":"goLineLeft","Cmd-Right":"goLineRight","Alt-Backspace":"delGroupBefore","Ctrl-Alt-Backspace":"delGroupAfter","Alt-Delete":"delGroupAfter","Cmd-S":"save","Cmd-F":"find","Cmd-G":"findNext","Shift-Cmd-G":"findPrev","Cmd-Alt-F":"replace","Shift-Cmd-Alt-F":"replaceAll","Cmd-[":"indentLess","Cmd-]":"indentMore","Cmd-Backspace":"delWrappedLineLeft","Cmd-Delete":"delWrappedLineRight","Cmd-U":"undoSelection","Shift-Cmd-U":"redoSelection","Ctrl-Up":"goDocStart","Ctrl-Down":"goDocEnd",fallthrough:["basic","emacsy"]},hl.default=We?hl.macDefault:hl.pcDefault;function ts(a){var y=a.split(/-(?!$)/);a=y[y.length-1];for(var E,x,ee,oe,me=0;me<y.length-1;me++){var we=y[me];if(/^(cmd|meta|m)$/i.test(we))oe=!0;else if(/^a(lt)?$/i.test(we))E=!0;else if(/^(c|ctrl|control)$/i.test(we))x=!0;else if(/^s(hift)?$/i.test(we))ee=!0;else throw new Error("Unrecognized modifier name: "+we)}return E&&(a="Alt-"+a),x&&(a="Ctrl-"+a),oe&&(a="Cmd-"+a),ee&&(a="Shift-"+a),a}function Il(a){var y={};for(var E in a)if(a.hasOwnProperty(E)){var x=a[E];if(/^(name|fallthrough|(de|at)tach)$/.test(E))continue;if(x=="..."){delete a[E];continue}for(var ee=dn(E.split(" "),ts),oe=0;oe<ee.length;oe++){var me=void 0,we=void 0;oe==ee.length-1?(we=ee.join(" "),me=x):(we=ee.slice(0,oe+1).join(" "),me="...");var Ne=y[we];if(!Ne)y[we]=me;else if(Ne!=me)throw new Error("Inconsistent bindings for "+we)}delete a[E]}for(var qe in y)a[qe]=y[qe];return a}function Fs(a,y,E,x){y=Xs(y);var ee=y.call?y.call(a,x):y[a];if(ee===!1)return"nothing";if(ee==="...")return"multi";if(ee!=null&&E(ee))return"handled";if(y.fallthrough){if(Object.prototype.toString.call(y.fallthrough)!="[object Array]")return Fs(a,y.fallthrough,E,x);for(var oe=0;oe<y.fallthrough.length;oe++){var me=Fs(a,y.fallthrough[oe],E,x);if(me)return me}}}function tu(a){var y=typeof a=="string"?a:yi[a.keyCode];return y=="Ctrl"||y=="Alt"||y=="Shift"||y=="Mod"}function Hs(a,y,E){var x=a;return y.altKey&&x!="Alt"&&(a="Alt-"+a),(se?y.metaKey:y.ctrlKey)&&x!="Ctrl"&&(a="Ctrl-"+a),(se?y.ctrlKey:y.metaKey)&&x!="Mod"&&(a="Cmd-"+a),!E&&y.shiftKey&&x!="Shift"&&(a="Shift-"+a),a}function Ss(a,y){if(fe&&a.keyCode==34&&a.char)return!1;var E=yi[a.keyCode];return E==null||a.altGraphKey?!1:(a.keyCode==3&&a.code&&(E=a.code),Hs(E,a,y))}function Xs(a){return typeof a=="string"?hl[a]:a}function Es(a,y){for(var E=a.doc.sel.ranges,x=[],ee=0;ee<E.length;ee++){for(var oe=y(E[ee]);x.length&&Ct(oe.from,ct(x).to)<=0;){var me=x.pop();if(Ct(me.from,oe.from)<0){oe.from=me.from;break}}x.push(oe)}Fo(a,function(){for(var we=x.length-1;we>=0;we--)Vi(a.doc,"",x[we].from,x[we].to,"+delete");Vn(a)})}function nu(a,y,E){var x=lt(a.text,y+E,E);return x<0||x>a.text.length?null:x}function $s(a,y,E){var x=nu(a,y.ch,E);return x==null?null:new Ye(y.line,x,E<0?"after":"before")}function ru(a,y,E,x,ee){if(a){y.doc.direction=="rtl"&&(ee=-ee);var oe=Te(E,y.doc.direction);if(oe){var me=ee<0?ct(oe):oe[0],we=ee<0==(me.level==1),Ne=we?"after":"before",qe;if(me.level>0||y.doc.direction=="rtl"){var Cn=Al(y,E);qe=ee<0?E.text.length-1:0;var Bn=xl(y,Cn,qe).top;qe=$e(function(lr){return xl(y,Cn,lr).top==Bn},ee<0==(me.level==1)?me.from:me.to-1,qe),Ne=="before"&&(qe=nu(E,qe,1))}else qe=ee<0?me.to:me.from;return new Ye(x,qe,Ne)}}return new Ye(x,ee<0?E.text.length:0,ee<0?"before":"after")}function gu(a,y,E,x){var ee=Te(y,a.doc.direction);if(!ee)return $s(y,E,x);E.ch>=y.text.length?(E.ch=y.text.length,E.sticky="before"):E.ch<=0&&(E.ch=0,E.sticky="after");var oe=Et(ee,E.ch,E.sticky),me=ee[oe];if(a.doc.direction=="ltr"&&me.level%2==0&&(x>0?me.to>E.ch:me.from<E.ch))return $s(y,E,x);var we=function(jo,li){return nu(y,jo instanceof Ye?jo.ch:jo,li)},Ne,qe=function(jo){return a.options.lineWrapping?(Ne=Ne||Al(a,y),wa(a,y,Ne,jo)):{begin:0,end:y.text.length}},Cn=qe(E.sticky=="before"?we(E,-1):E.ch);if(a.doc.direction=="rtl"||me.level==1){var Bn=me.level==1==x<0,lr=we(E,Bn?1:-1);if(lr!=null&&(Bn?lr<=me.to&&lr<=Cn.end:lr>=me.from&&lr>=Cn.begin)){var or=Bn?"before":"after";return new Ye(E.line,lr,or)}}var Zr=function(jo,li,Vo){for(var fi=function(Va,Ol){return Ol?new Ye(E.line,we(Va,1),"before"):new Ye(E.line,Va,"after")};jo>=0&&jo<ee.length;jo+=li){var Ni=ee[jo],Pi=li>0==(Ni.level!=1),ta=Pi?Vo.begin:we(Vo.end,-1);if(Ni.from<=ta&&ta<Ni.to||(ta=Pi?Ni.from:we(Ni.to,-1),Vo.begin<=ta&&ta<Vo.end))return fi(ta,Pi)}},so=Zr(oe+x,x,Cn);if(so)return so;var Po=x>0?Cn.end:we(Cn.begin,-1);return Po!=null&&!(x>0&&Po==y.text.length)&&(so=Zr(x>0?0:ee.length-1,x,qe(Po)),so)?so:null}var gs={selectAll:gi,singleSelection:function(a){return a.setSelection(a.getCursor("anchor"),a.getCursor("head"),pe)},killLine:function(a){return Es(a,function(y){if(y.empty()){var E=rn(a.doc,y.head.line).text.length;return y.head.ch==E&&y.head.line<a.lastLine()?{from:y.head,to:Ye(y.head.line+1,0)}:{from:y.head,to:Ye(y.head.line,E)}}else return{from:y.from(),to:y.to()}})},deleteLine:function(a){return Es(a,function(y){return{from:Ye(y.from().line,0),to:Pt(a.doc,Ye(y.to().line+1,0))}})},delLineLeft:function(a){return Es(a,function(y){return{from:Ye(y.from().line,0),to:y.from()}})},delWrappedLineLeft:function(a){return Es(a,function(y){var E=a.charCoords(y.head,"div").top+5,x=a.coordsChar({left:0,top:E},"div");return{from:x,to:y.from()}})},delWrappedLineRight:function(a){return Es(a,function(y){var E=a.charCoords(y.head,"div").top+5,x=a.coordsChar({left:a.display.lineDiv.offsetWidth+100,top:E},"div");return{from:y.from(),to:x}})},undo:function(a){return a.undo()},redo:function(a){return a.redo()},undoSelection:function(a){return a.undoSelection()},redoSelection:function(a){return a.redoSelection()},goDocStart:function(a){return a.extendSelection(Ye(a.firstLine(),0))},goDocEnd:function(a){return a.extendSelection(Ye(a.lastLine()))},goLineStart:function(a){return a.extendSelectionsBy(function(y){return ou(a,y.head.line)},{origin:"+move",bias:1})},goLineStartSmart:function(a){return a.extendSelectionsBy(function(y){return iu(a,y.head)},{origin:"+move",bias:1})},goLineEnd:function(a){return a.extendSelectionsBy(function(y){return Du(a,y.head.line)},{origin:"+move",bias:-1})},goLineRight:function(a){return a.extendSelectionsBy(function(y){var E=a.cursorCoords(y.head,"div").top+5;return a.coordsChar({left:a.display.lineDiv.offsetWidth+100,top:E},"div")},Ue)},goLineLeft:function(a){return a.extendSelectionsBy(function(y){var E=a.cursorCoords(y.head,"div").top+5;return a.coordsChar({left:0,top:E},"div")},Ue)},goLineLeftSmart:function(a){return a.extendSelectionsBy(function(y){var E=a.cursorCoords(y.head,"div").top+5,x=a.coordsChar({left:0,top:E},"div");return x.ch<a.getLine(x.line).search(/\S/)?iu(a,y.head):x},Ue)},goLineUp:function(a){return a.moveV(-1,"line")},goLineDown:function(a){return a.moveV(1,"line")},goPageUp:function(a){return a.moveV(-1,"page")},goPageDown:function(a){return a.moveV(1,"page")},goCharLeft:function(a){return a.moveH(-1,"char")},goCharRight:function(a){return a.moveH(1,"char")},goColumnLeft:function(a){return a.moveH(-1,"column")},goColumnRight:function(a){return a.moveH(1,"column")},goWordLeft:function(a){return a.moveH(-1,"word")},goGroupRight:function(a){return a.moveH(1,"group")},goGroupLeft:function(a){return a.moveH(-1,"group")},goWordRight:function(a){return a.moveH(1,"word")},delCharBefore:function(a){return a.deleteH(-1,"codepoint")},delCharAfter:function(a){return a.deleteH(1,"char")},delWordBefore:function(a){return a.deleteH(-1,"word")},delWordAfter:function(a){return a.deleteH(1,"word")},delGroupBefore:function(a){return a.deleteH(-1,"group")},delGroupAfter:function(a){return a.deleteH(1,"group")},indentAuto:function(a){return a.indentSelection("smart")},indentMore:function(a){return a.indentSelection("add")},indentLess:function(a){return a.indentSelection("subtract")},insertTab:function(a){return a.replaceSelection(" ")},insertSoftTab:function(a){for(var y=[],E=a.listSelections(),x=a.options.tabSize,ee=0;ee<E.length;ee++){var oe=E[ee].from(),me=De(a.getLine(oe.line),oe.ch,x);y.push(jt(x-me%x))}a.replaceSelections(y)},defaultTab:function(a){a.somethingSelected()?a.indentSelection("add"):a.execCommand("insertTab")},transposeChars:function(a){return Fo(a,function(){for(var y=a.listSelections(),E=[],x=0;x<y.length;x++)if(y[x].empty()){var ee=y[x].head,oe=rn(a.doc,ee.line).text;if(oe){if(ee.ch==oe.length&&(ee=new Ye(ee.line,ee.ch-1)),ee.ch>0)ee=new Ye(ee.line,ee.ch+1),a.replaceRange(oe.charAt(ee.ch-1)+oe.charAt(ee.ch-2),Ye(ee.line,ee.ch-2),ee,"+transpose");else if(ee.line>a.doc.first){var me=rn(a.doc,ee.line-1).text;me&&(ee=new Ye(ee.line,1),a.replaceRange(oe.charAt(0)+a.doc.lineSeparator()+me.charAt(me.length-1),Ye(ee.line-1,me.length-1),ee,"+transpose"))}}E.push(new Hn(ee,ee))}a.setSelections(E)})},newlineAndIndent:function(a){return Fo(a,function(){for(var y=a.listSelections(),E=y.length-1;E>=0;E--)a.replaceRange(a.doc.lineSeparator(),y[E].anchor,y[E].head,"+input");y=a.listSelections();for(var x=0;x<y.length;x++)a.indentLine(y[x].from().line,null,!0);Vn(a)})},openLine:function(a){return a.replaceSelection(`
|
|
|
`,"start")},toggleOverwrite:function(a){return a.toggleOverwrite()}};function ou(a,y){var E=rn(a.doc,y),x=en(E);return x!=E&&(y=It(x)),ru(!0,a,x,y,1)}function Du(a,y){var E=rn(a.doc,y),x=On(E);return x!=E&&(y=It(x)),ru(!0,a,E,y,-1)}function iu(a,y){var E=ou(a,y.line),x=rn(a.doc,E.line),ee=Te(x,a.doc.direction);if(!ee||ee[0].level==0){var oe=Math.max(E.ch,x.text.search(/\S/)),me=y.line==E.line&&y.ch<=oe&&y.ch;return Ye(E.line,me?0:oe,E.sticky)}return E}function zs(a,y,E){if(typeof y=="string"&&(y=gs[y],!y))return!1;a.display.input.ensurePolled();var x=a.display.shift,ee=!1;try{a.isReadOnly()&&(a.state.suppressEdits=!0),E&&(a.display.shift=!1),ee=y(a)!=Wt}finally{a.display.shift=x,a.state.suppressEdits=!1}return ee}function Pu(a,y,E){for(var x=0;x<a.state.keyMaps.length;x++){var ee=Fs(y,a.state.keyMaps[x],E,a);if(ee)return ee}return a.options.extraKeys&&Fs(y,a.options.extraKeys,E,a)||Fs(y,a.options.keyMap,E,a)}var Iu=new ve;function Ws(a,y,E,x){var ee=a.state.keySeq;if(ee){if(tu(y))return"handled";if(/\'$/.test(y)?a.state.keySeq=null:Iu.set(50,function(){a.state.keySeq==ee&&(a.state.keySeq=null,a.display.input.reset())}),au(a,ee+" "+y,E,x))return!0}return au(a,y,E,x)}function au(a,y,E,x){var ee=Pu(a,y,x);return ee=="multi"&&(a.state.keySeq=y),ee=="handled"&&Ui(a,"keyHandled",a,y,E),(ee=="handled"||ee=="multi")&&(Yt(E),Ts(a)),!!ee}function js(a,y){var E=Ss(y,!0);return E?y.shiftKey&&!a.state.keySeq?Ws(a,"Shift-"+E,y,function(x){return zs(a,x,!0)})||Ws(a,E,y,function(x){if(typeof x=="string"?/^go[A-Z]/.test(x):x.motion)return zs(a,x)}):Ws(a,E,y,function(x){return zs(a,x)}):!1}function lu(a,y,E){return Ws(a,"'"+E+"'",y,function(x){return zs(a,x,!0)})}var Vs=null;function su(a){var y=this;if(!(a.target&&a.target!=y.display.input.getField())&&(y.curOp.focus=Se(),!Xt(y,a))){Oe&&xe<11&&a.keyCode==27&&(a.returnValue=!1);var E=a.keyCode;y.display.shift=E==16||a.shiftKey;var x=js(y,a);fe&&(Vs=x?E:null,!x&&E==88&&!_t&&(We?a.metaKey:a.ctrlKey)&&y.replaceSelection("",null,"cut")),b&&!We&&!x&&E==46&&a.shiftKey&&!a.ctrlKey&&document.execCommand&&document.execCommand("cut"),E==18&&!/\bCodeMirror-crosshair\b/.test(y.display.lineDiv.className)&&yu(y)}}function yu(a){var y=a.display.lineDiv;ue(y,"CodeMirror-crosshair");function E(x){(x.keyCode==18||!x.altKey)&&(mt(y,"CodeMirror-crosshair"),bn(document,"keyup",E),bn(document,"mouseover",E))}yn(document,"keyup",E),yn(document,"mouseover",E)}function uu(a){a.keyCode==16&&(this.doc.sel.shift=!1),Xt(this,a)}function cu(a){var y=this;if(!(a.target&&a.target!=y.display.input.getField())&&!(Li(y.display,a)||Xt(y,a)||a.ctrlKey&&!a.altKey||We&&a.metaKey)){var E=a.keyCode,x=a.charCode;if(fe&&E==Vs){Vs=null,Yt(a);return}if(!(fe&&(!a.which||a.which<10)&&js(y,a))){var ee=String.fromCharCode(x==null?E:x);ee!="\b"&&(lu(y,a,ee)||y.display.input.onKeyPress(a))}}}var Bu=400,Qs=function(a,y,E){this.time=a,this.pos=y,this.button=E};Qs.prototype.compare=function(a,y,E){return this.time+Bu>a&&Ct(y,this.pos)==0&&E==this.button};var ws,Os;function du(a,y){var E=+new Date;return Os&&Os.compare(E,a,y)?(ws=Os=null,"triple"):ws&&ws.compare(E,a,y)?(Os=new Qs(E,a,y),ws=null,"double"):(ws=new Qs(E,a,y),Os=null,"single")}function fu(a){var y=this,E=y.display;if(!(Xt(y,a)||E.activeTouch&&E.input.supportsTouch())){if(E.input.ensurePolled(),E.shift=a.shiftKey,Li(E,a)){Ae||(E.scroller.draggable=!1,setTimeout(function(){return E.scroller.draggable=!0},100));return}if(!ds(y,a)){var x=ql(y,a),ee=tn(a),oe=x?du(x,ee):"single";window.focus(),ee==1&&y.state.selectingText&&y.state.selectingText(a),!(x&&Fu(y,ee,x,oe,a))&&(ee==1?x?ua(y,x,oe,a):Vt(a)==E.scroller&&Yt(a):ee==2?(x&&ki(y.doc,x),setTimeout(function(){return E.input.focus()},20)):ee==3&&(Me?y.display.input.onContextMenu(a):Rs(y)))}}}function Fu(a,y,E,x,ee){var oe="Click";return x=="double"?oe="Double"+oe:x=="triple"&&(oe="Triple"+oe),oe=(y==1?"Left":y==2?"Middle":"Right")+oe,Ws(a,Hs(oe,ee),ee,function(me){if(typeof me=="string"&&(me=gs[me]),!me)return!1;var we=!1;try{a.isReadOnly()&&(a.state.suppressEdits=!0),we=me(a,E)!=Wt}finally{a.state.suppressEdits=!1}return we})}function oa(a,y,E){var x=a.getOption("configureMouse"),ee=x?x(a,y,E):{};if(ee.unit==null){var oe=ot?E.shiftKey&&E.metaKey:E.altKey;ee.unit=oe?"rectangle":y=="single"?"char":y=="double"?"word":"line"}return(ee.extend==null||a.doc.extend)&&(ee.extend=a.doc.extend||E.shiftKey),ee.addNew==null&&(ee.addNew=We?E.metaKey:E.ctrlKey),ee.moveOnDrag==null&&(ee.moveOnDrag=!(We?E.altKey:E.ctrlKey)),ee}function ua(a,y,E,x){Oe?setTimeout(ke(pu,a),0):a.curOp.focus=Se();var ee=oa(a,E,x),oe=a.doc.sel,me;a.options.dragDrop&&un&&!a.isReadOnly()&&E=="single"&&(me=oe.contains(y))>-1&&(Ct((me=oe.ranges[me]).from(),y)<0||y.xRel>0)&&(Ct(me.to(),y)>0||y.xRel<0)?Bl(a,x,y,ee):Fl(a,x,y,ee)}function Bl(a,y,E,x){var ee=a.display,oe=!1,me=Eo(a,function(qe){Ae&&(ee.scroller.draggable=!1),a.state.draggingText=!1,bn(ee.wrapper.ownerDocument,"mouseup",me),bn(ee.wrapper.ownerDocument,"mousemove",we),bn(ee.scroller,"dragstart",Ne),bn(ee.scroller,"drop",me),oe||(Yt(qe),x.addNew||ki(a.doc,E,null,null,x.extend),Ae&&!Ge||Oe&&xe==9?setTimeout(function(){ee.wrapper.ownerDocument.body.focus({preventScroll:!0}),ee.input.focus()},20):ee.input.focus())}),we=function(qe){oe=oe||Math.abs(y.clientX-qe.clientX)+Math.abs(y.clientY-qe.clientY)>=10},Ne=function(){return oe=!0};Ae&&(ee.scroller.draggable=!0),a.state.draggingText=me,me.copy=!x.moveOnDrag,ee.scroller.dragDrop&&ee.scroller.dragDrop(),yn(ee.wrapper.ownerDocument,"mouseup",me),yn(ee.wrapper.ownerDocument,"mousemove",we),yn(ee.scroller,"dragstart",Ne),yn(ee.scroller,"drop",me),Rs(a),setTimeout(function(){return ee.input.focus()},20)}function jl(a,y,E){if(E=="char")return new Hn(y,y);if(E=="word")return a.findWordAt(y);if(E=="line")return new Hn(Ye(y.line,0),Pt(a.doc,Ye(y.line+1,0)));var x=E(a,y);return new Hn(x.from,x.to)}function Fl(a,y,E,x){var ee=a.display,oe=a.doc;Yt(y);var me,we,Ne=oe.sel,qe=Ne.ranges;if(x.addNew&&!x.extend?(we=oe.sel.contains(E),we>-1?me=qe[we]:me=new Hn(E,E)):(me=oe.sel.primary(),we=oe.sel.primIndex),x.unit=="rectangle")x.addNew||(me=new Hn(E,E)),E=ql(a,y,!0,!0),we=-1;else{var Cn=jl(a,E,x.unit);x.extend?me=Ti(me,Cn.anchor,Cn.head,x.extend):me=Cn}x.addNew?we==-1?(we=qe.length,Ho(oe,Or(a,qe.concat([me]),we),{scroll:!1,origin:"*mouse"})):qe.length>1&&qe[we].empty()&&x.unit=="char"&&!x.extend?(Ho(oe,Or(a,qe.slice(0,we).concat(qe.slice(we+1)),0),{scroll:!1,origin:"*mouse"}),Ne=oe.sel):Na(oe,we,me,Re):(we=0,Ho(oe,new Kn([me],0),Re),Ne=oe.sel);var Bn=E;function lr(Vo){if(Ct(Bn,Vo)!=0)if(Bn=Vo,x.unit=="rectangle"){for(var fi=[],Ni=a.options.tabSize,Pi=De(rn(oe,E.line).text,E.ch,Ni),ta=De(rn(oe,Vo.line).text,Vo.ch,Ni),Va=Math.min(Pi,ta),Ol=Math.max(Pi,ta),ll=Math.min(E.line,Vo.line),Jl=Math.min(a.lastLine(),Math.max(E.line,Vo.line));ll<=Jl;ll++){var Vl=rn(oe,ll).text,bl=Jt(Vl,Va,Ni);Va==Ol?fi.push(new Hn(Ye(ll,bl),Ye(ll,bl))):Vl.length>bl&&fi.push(new Hn(Ye(ll,bl),Ye(ll,Jt(Vl,Ol,Ni))))}fi.length||fi.push(new Hn(E,E)),Ho(oe,Or(a,Ne.ranges.slice(0,we).concat(fi),we),{origin:"*mouse",scroll:!1}),a.scrollIntoView(Vo)}else{var Kl=me,Tl=jl(a,Vo,x.unit),Sl=Kl.anchor,Cl;Ct(Tl.anchor,Sl)>0?(Cl=Tl.head,Sl=pt(Kl.from(),Tl.anchor)):(Cl=Tl.anchor,Sl=ar(Kl.to(),Tl.head));var sl=Ne.ranges.slice(0);sl[we]=Ms(a,new Hn(Pt(oe,Sl),Cl)),Ho(oe,Or(a,sl,we),Re)}}var or=ee.wrapper.getBoundingClientRect(),Zr=0;function so(Vo){var fi=++Zr,Ni=ql(a,Vo,!0,x.unit=="rectangle");if(Ni)if(Ct(Ni,Bn)!=0){a.curOp.focus=Se(),lr(Ni);var Pi=ie(ee,oe);(Ni.line>=Pi.to||Ni.line<Pi.from)&&setTimeout(Eo(a,function(){Zr==fi&&so(Vo)}),150)}else{var ta=Vo.clientY<or.top?-20:Vo.clientY>or.bottom?20:0;ta&&setTimeout(Eo(a,function(){Zr==fi&&(ee.scroller.scrollTop+=ta,so(Vo))}),50)}}function Po(Vo){a.state.selectingText=!1,Zr=1/0,Vo&&(Yt(Vo),ee.input.focus()),bn(ee.wrapper.ownerDocument,"mousemove",jo),bn(ee.wrapper.ownerDocument,"mouseup",li),oe.history.lastSelOrigin=null}var jo=Eo(a,function(Vo){Vo.buttons===0||!tn(Vo)?Po(Vo):so(Vo)}),li=Eo(a,Po);a.state.selectingText=li,yn(ee.wrapper.ownerDocument,"mousemove",jo),yn(ee.wrapper.ownerDocument,"mouseup",li)}function Ms(a,y){var E=y.anchor,x=y.head,ee=rn(a.doc,E.line);if(Ct(E,x)==0&&E.sticky==x.sticky)return y;var oe=Te(ee);if(!oe)return y;var me=Et(oe,E.ch,E.sticky),we=oe[me];if(we.from!=E.ch&&we.to!=E.ch)return y;var Ne=me+(we.from==E.ch==(we.level!=1)?0:1);if(Ne==0||Ne==oe.length)return y;var qe;if(x.line!=E.line)qe=(x.line-E.line)*(a.doc.direction=="ltr"?1:-1)>0;else{var Cn=Et(oe,x.ch,x.sticky),Bn=Cn-me||(x.ch-E.ch)*(we.level==1?-1:1);Cn==Ne-1||Cn==Ne?qe=Bn<0:qe=Bn>0}var lr=oe[Ne+(qe?-1:0)],or=qe==(lr.level==1),Zr=or?lr.from:lr.to,so=or?"after":"before";return E.ch==Zr&&E.sticky==so?y:new Hn(new Ye(E.line,Zr,so),x)}function ys(a,y,E,x){var ee,oe;if(y.touches)ee=y.touches[0].clientX,oe=y.touches[0].clientY;else try{ee=y.clientX,oe=y.clientY}catch(lr){return!1}if(ee>=Math.floor(a.display.gutters.getBoundingClientRect().right))return!1;x&&Yt(y);var me=a.display,we=me.lineDiv.getBoundingClientRect();if(oe>we.bottom||!gn(a,E))return St(y);oe-=we.top-me.viewOffset;for(var Ne=0;Ne<a.display.gutterSpecs.length;++Ne){var qe=me.gutters.childNodes[Ne];if(qe&&qe.getBoundingClientRect().right>=ee){var Cn=Qt(a.doc,oe),Bn=a.display.gutterSpecs[Ne];return fn(a,E,a,Cn,Bn.className,y),St(y)}}}function ds(a,y){return ys(a,y,"gutterClick",!0)}function Ns(a,y){Li(a.display,y)||hu(a,y)||Xt(a,y,"contextmenu")||Me||a.display.input.onContextMenu(y)}function hu(a,y){return gn(a,"gutterContextMenu")?ys(a,y,"gutterContextMenu",!1):!1}function Ru(a){a.display.wrapper.className=a.display.wrapper.className.replace(/\s*cm-s-\S+/g,"")+a.options.theme.replace(/(^|\s)\s*/g," cm-s-"),Gl(a)}var Js={toString:function(){return"CodeMirror.Init"}},Zu={},bu={};function Ju(a){var y=a.optionHandlers;function E(x,ee,oe,me){a.defaults[x]=ee,oe&&(y[x]=me?function(we,Ne,qe){qe!=Js&&oe(we,Ne,qe)}:oe)}a.defineOption=E,a.Init=Js,E("value","",function(x,ee){return x.setValue(ee)},!0),E("mode",null,function(x,ee){x.doc.modeOption=ee,ao(x)},!0),E("indentUnit",2,ao,!0),E("indentWithTabs",!1),E("smartIndent",!0),E("tabSize",4,function(x){po(x),Gl(x),vl(x)},!0),E("lineSeparator",null,function(x,ee){if(x.doc.lineSep=ee,!!ee){var oe=[],me=x.doc.first;x.doc.iter(function(Ne){for(var qe=0;;){var Cn=Ne.text.indexOf(ee,qe);if(Cn==-1)break;qe=Cn+ee.length,oe.push(Ye(me,Cn))}me++});for(var we=oe.length-1;we>=0;we--)Vi(x.doc,ee,oe[we],Ye(oe[we].line,oe[we].ch+ee.length))}}),E("specialChars",/[\u0000-\u001f\u007f-\u009f\u00ad\u061c\u200b-\u200c\u200e\u200f\u2028\u2029\ufeff\ufff9-\ufffc]/g,function(x,ee,oe){x.state.specialChars=new RegExp(ee.source+(ee.test(" ")?"":"| "),"g"),oe!=Js&&x.refresh()}),E("specialCharPlaceholder",ri,function(x){return x.refresh()},!0),E("electricChars",!0),E("inputStyle",je?"contenteditable":"textarea",function(){throw new Error("inputStyle can not (yet) be changed in a running editor")},!0),E("spellcheck",!1,function(x,ee){return x.getInputField().spellcheck=ee},!0),E("autocorrect",!1,function(x,ee){return x.getInputField().autocorrect=ee},!0),E("autocapitalize",!1,function(x,ee){return x.getInputField().autocapitalize=ee},!0),E("rtlMoveVisually",!Mt),E("wholeLineUpdateBefore",!0),E("theme","default",function(x){Ru(x),An(x)},!0),E("keyMap","default",function(x,ee,oe){var me=Xs(ee),we=oe!=Js&&Xs(oe);we&&we.detach&&we.detach(x,me),me.attach&&me.attach(x,we||null)}),E("extraKeys",null),E("configureMouse",null),E("lineWrapping",!1,qu,!0),E("gutters",[],function(x,ee){x.display.gutterSpecs=$t(ee,x.options.lineNumbers),An(x)},!0),E("fixedGutter",!0,function(x,ee){x.display.gutters.style.left=ee?ls(x.display)+"px":"0",x.refresh()},!0),E("coverGutterNextToScrollbar",!1,function(x){return Tr(x)},!0),E("scrollbarStyle","native",function(x){Ur(x),Tr(x),x.display.scrollbars.setScrollTop(x.doc.scrollTop),x.display.scrollbars.setScrollLeft(x.doc.scrollLeft)},!0),E("lineNumbers",!1,function(x,ee){x.display.gutterSpecs=$t(x.options.gutters,ee),An(x)},!0),E("firstLineNumber",1,An,!0),E("lineNumberFormatter",function(x){return x},An,!0),E("showCursorWhenSelecting",!1,ss,!0),E("resetSelectionOnContextMenu",!0),E("lineWiseCopyCut",!0),E("pasteLinesPerSelection",!0),E("selectionsMayTouch",!1),E("readOnly",!1,function(x,ee){ee=="nocursor"&&(vs(x),x.display.input.blur()),x.display.input.readOnlyChanged(ee)}),E("screenReaderLabel",null,function(x,ee){ee=ee===""?null:ee,x.display.input.screenReaderLabelChanged(ee)}),E("disableInput",!1,function(x,ee){ee||x.display.input.reset()},!0),E("dragDrop",!0,_u),E("allowDropFileTypes",null),E("cursorBlinkRate",530),E("cursorScrollMargin",0),E("cursorHeight",1,ss,!0),E("singleCursorHeightPerLine",!0,ss,!0),E("workTime",100),E("workDelay",100),E("flattenSpans",!0,po,!0),E("addModeClass",!1,po,!0),E("pollInterval",100),E("undoDepth",200,function(x,ee){return x.doc.history.undoDepth=ee}),E("historyEventDelay",1250),E("viewportMargin",10,function(x){return x.refresh()},!0),E("maxHighlightLength",1e4,po,!0),E("moveInputWithCursor",!0,function(x,ee){ee||x.display.input.resetPosition()}),E("tabindex",null,function(x,ee){return x.display.input.getField().tabIndex=ee||""}),E("autofocus",null),E("direction","ltr",function(x,ee){return x.doc.setDirection(ee)},!0),E("phrases",null)}function _u(a,y,E){var x=E&&E!=Js;if(!y!=!x){var ee=a.display.dragFunctions,oe=y?yn:bn;oe(a.display.scroller,"dragstart",ee.start),oe(a.display.scroller,"dragenter",ee.enter),oe(a.display.scroller,"dragover",ee.over),oe(a.display.scroller,"dragleave",ee.leave),oe(a.display.scroller,"drop",ee.drop)}}function qu(a){a.options.lineWrapping?(ue(a.display.wrapper,"CodeMirror-wrap"),a.display.sizer.style.minWidth="",a.display.sizerWidth=null):(mt(a.display.wrapper,"CodeMirror-wrap"),Qr(a)),ms(a),vl(a),Gl(a),setTimeout(function(){return Tr(a)},100)}function qa(a,y){var E=this;if(!(this instanceof qa))return new qa(a,y);this.options=y=y?Nt(y):{},Nt(Zu,y,!1);var x=y.value;typeof x=="string"?x=new ni(x,y.mode,null,y.lineSeparator,y.direction):y.mode&&(x.modeOption=y.mode),this.doc=x;var ee=new qa.inputStyles[y.inputStyle](this),oe=this.display=new En(a,x,ee,y);oe.wrapper.CodeMirror=this,Ru(this),y.lineWrapping&&(this.display.wrapper.className+=" CodeMirror-wrap"),Ur(this),this.state={keyMaps:[],overlays:[],modeGen:0,overwrite:!1,delayingBlurEvent:!1,focused:!1,suppressEdits:!1,pasteIncoming:-1,cutIncoming:-1,selectingText:!1,draggingText:!1,highlight:new ve,keySeq:null,specialChars:null},y.autofocus&&!je&&oe.input.focus(),Oe&&xe<11&&setTimeout(function(){return E.display.input.reset(!0)},20),ec(this),ra(),ro(this),this.curOp.forceUpdate=!0,jr(this,x),y.autofocus&&!je||this.hasFocus()?setTimeout(function(){E.hasFocus()&&!E.state.focused&&us(E)},20):vs(this);for(var me in bu)bu.hasOwnProperty(me)&&bu[me](this,y[me],Js);wt(this),y.finishInit&&y.finishInit(this);for(var we=0;we<Ou.length;++we)Ou[we](this);uo(this),Ae&&y.lineWrapping&&getComputedStyle(oe.lineDiv).textRendering=="optimizelegibility"&&(oe.lineDiv.style.textRendering="auto")}qa.defaults=Zu,qa.optionHandlers=bu;function ec(a){var y=a.display;yn(y.scroller,"mousedown",Eo(a,fu)),Oe&&xe<11?yn(y.scroller,"dblclick",Eo(a,function(Ne){if(!Xt(a,Ne)){var qe=ql(a,Ne);if(!(!qe||ds(a,Ne)||Li(a.display,Ne))){Yt(Ne);var Cn=a.findWordAt(qe);ki(a.doc,Cn.anchor,Cn.head)}}})):yn(y.scroller,"dblclick",function(Ne){return Xt(a,Ne)||Yt(Ne)}),yn(y.scroller,"contextmenu",function(Ne){return Ns(a,Ne)}),yn(y.input.getField(),"contextmenu",function(Ne){y.scroller.contains(Ne.target)||Ns(a,Ne)});var E,x={end:0};function ee(){y.activeTouch&&(E=setTimeout(function(){return y.activeTouch=null},1e3),x=y.activeTouch,x.end=+new Date)}function oe(Ne){if(Ne.touches.length!=1)return!1;var qe=Ne.touches[0];return qe.radiusX<=1&&qe.radiusY<=1}function me(Ne,qe){if(qe.left==null)return!0;var Cn=qe.left-Ne.left,Bn=qe.top-Ne.top;return Cn*Cn+Bn*Bn>20*20}yn(y.scroller,"touchstart",function(Ne){if(!Xt(a,Ne)&&!oe(Ne)&&!ds(a,Ne)){y.input.ensurePolled(),clearTimeout(E);var qe=+new Date;y.activeTouch={start:qe,moved:!1,prev:qe-x.end<=300?x:null},Ne.touches.length==1&&(y.activeTouch.left=Ne.touches[0].pageX,y.activeTouch.top=Ne.touches[0].pageY)}}),yn(y.scroller,"touchmove",function(){y.activeTouch&&(y.activeTouch.moved=!0)}),yn(y.scroller,"touchend",function(Ne){var qe=y.activeTouch;if(qe&&!Li(y,Ne)&&qe.left!=null&&!qe.moved&&new Date-qe.start<300){var Cn=a.coordsChar(y.activeTouch,"page"),Bn;!qe.prev||me(qe,qe.prev)?Bn=new Hn(Cn,Cn):!qe.prev.prev||me(qe,qe.prev.prev)?Bn=a.findWordAt(Cn):Bn=new Hn(Ye(Cn.line,0),Pt(a.doc,Ye(Cn.line+1,0))),a.setSelection(Bn.anchor,Bn.head),a.focus(),Yt(Ne)}ee()}),yn(y.scroller,"touchcancel",ee),yn(y.scroller,"scroll",function(){y.scroller.clientHeight&&(Er(a,y.scroller.scrollTop),Ir(a,y.scroller.scrollLeft,!0),fn(a,"scroll",a))}),yn(y.scroller,"mousewheel",function(Ne){return Qn(a,Ne)}),yn(y.scroller,"DOMMouseScroll",function(Ne){return Qn(a,Ne)}),yn(y.wrapper,"scroll",function(){return y.wrapper.scrollTop=y.wrapper.scrollLeft=0}),y.dragFunctions={enter:function(Ne){Xt(a,Ne)||_e(Ne)},over:function(Ne){Xt(a,Ne)||(Ql(a,Ne),_e(Ne))},start:function(Ne){return Rl(a,Ne)},drop:Eo(a,gl),leave:function(Ne){Xt(a,Ne)||Is(a)}};var we=y.input.getField();yn(we,"keyup",function(Ne){return uu.call(a,Ne)}),yn(we,"keydown",Eo(a,su)),yn(we,"keypress",Eo(a,cu)),yn(we,"focus",function(Ne){return us(a,Ne)}),yn(we,"blur",function(Ne){return vs(a,Ne)})}var Ou=[];qa.defineInitHook=function(a){return Ou.push(a)};function mu(a,y,E,x){var ee=a.doc,oe;E==null&&(E="add"),E=="smart"&&(ee.mode.indent?oe=Ar(a,y).state:E="prev");var me=a.options.tabSize,we=rn(ee,y),Ne=De(we.text,null,me);we.stateAfter&&(we.stateAfter=null);var qe=we.text.match(/^\s*/)[0],Cn;if(!x&&!/\S/.test(we.text))Cn=0,E="not";else if(E=="smart"&&(Cn=ee.mode.indent(oe,we.text.slice(qe.length),we.text),Cn==Wt||Cn>150)){if(!x)return;E="prev"}E=="prev"?y>ee.first?Cn=De(rn(ee,y-1).text,null,me):Cn=0:E=="add"?Cn=Ne+a.options.indentUnit:E=="subtract"?Cn=Ne-a.options.indentUnit:typeof E=="number"&&(Cn=Ne+E),Cn=Math.max(0,Cn);var Bn="",lr=0;if(a.options.indentWithTabs)for(var or=Math.floor(Cn/me);or;--or)lr+=me,Bn+=" ";if(lr<Cn&&(Bn+=jt(Cn-lr)),Bn!=qe)return Vi(ee,Bn,Ye(y,0),Ye(y,qe.length),"+input"),we.stateAfter=null,!0;for(var Zr=0;Zr<ee.sel.ranges.length;Zr++){var so=ee.sel.ranges[Zr];if(so.head.line==y&&so.head.ch<qe.length){var Po=Ye(y,qe.length);Na(ee,Zr,new Hn(Po,Po));break}}}var fs=null;function Cu(a){fs=a}function Mu(a,y,E,x,ee){var oe=a.doc;a.display.shift=!1,x||(x=oe.sel);var me=+new Date-200,we=ee=="paste"||a.state.pasteIncoming>me,Ne=Jn(y),qe=null;if(we&&x.ranges.length>1)if(fs&&fs.text.join(`
|
|
|
`)==y){if(x.ranges.length%fs.text.length==0){qe=[];for(var Cn=0;Cn<fs.text.length;Cn++)qe.push(oe.splitLines(fs.text[Cn]))}}else Ne.length==x.ranges.length&&a.options.pasteLinesPerSelection&&(qe=dn(Ne,function(jo){return[jo]}));for(var Bn=a.curOp.updateInput,lr=x.ranges.length-1;lr>=0;lr--){var or=x.ranges[lr],Zr=or.from(),so=or.to();or.empty()&&(E&&E>0?Zr=Ye(Zr.line,Zr.ch-E):a.state.overwrite&&!we?so=Ye(so.line,Math.min(rn(oe,so.line).text.length,so.ch+ct(Ne).length)):we&&fs&&fs.lineWise&&fs.text.join(`
|
|
|
`)==Ne.join(`
|
|
|
`)&&(Zr=so=Ye(Zr.line,0)));var Po={from:Zr,to:so,text:qe?qe[lr%qe.length]:Ne,origin:ee||(we?"paste":a.state.cutIncoming>me?"cut":"+input")};aa(a.doc,Po),Ui(a,"inputRead",a,Po)}y&&!we&&zu(a,y),Vn(a),a.curOp.updateInput<2&&(a.curOp.updateInput=Bn),a.curOp.typing=!0,a.state.pasteIncoming=a.state.cutIncoming=-1}function Hu(a,y){var E=a.clipboardData&&a.clipboardData.getData("Text");if(E)return a.preventDefault(),!y.isReadOnly()&&!y.options.disableInput&&Fo(y,function(){return Mu(y,E,0,null,"paste")}),!0}function zu(a,y){if(!(!a.options.electricChars||!a.options.smartIndent))for(var E=a.doc.sel,x=E.ranges.length-1;x>=0;x--){var ee=E.ranges[x];if(!(ee.head.ch>100||x&&E.ranges[x-1].head.line==ee.head.line)){var oe=a.getModeAt(ee.head),me=!1;if(oe.electricChars){for(var we=0;we<oe.electricChars.length;we++)if(y.indexOf(oe.electricChars.charAt(we))>-1){me=mu(a,ee.head.line,"smart");break}}else oe.electricInput&&oe.electricInput.test(rn(a.doc,ee.head.line).text.slice(0,ee.head.ch))&&(me=mu(a,ee.head.line,"smart"));me&&Ui(a,"electricInput",a,ee.head.line)}}}function Wu(a){for(var y=[],E=[],x=0;x<a.doc.sel.ranges.length;x++){var ee=a.doc.sel.ranges[x].head.line,oe={anchor:Ye(ee,0),head:Ye(ee+1,0)};E.push(oe),y.push(a.getRange(oe.anchor,oe.head))}return{text:y,ranges:E}}function ju(a,y,E,x){a.setAttribute("autocorrect",E?"":"off"),a.setAttribute("autocapitalize",x?"":"off"),a.setAttribute("spellcheck",!!y)}function Vu(){var a=ut("textarea",null,null,"position: absolute; bottom: -1em; padding: 0; width: 1px; height: 1em; outline: none"),y=ut("div",[a],null,"overflow: hidden; position: relative; width: 3px; height: 0px;");return Ae?a.style.width="1000px":a.setAttribute("wrap","off"),Je&&(a.style.border="1px solid black"),ju(a),y}function tc(a){var y=a.optionHandlers,E=a.helpers={};a.prototype={constructor:a,focus:function(){window.focus(),this.display.input.focus()},setOption:function(x,ee){var oe=this.options,me=oe[x];oe[x]==ee&&x!="mode"||(oe[x]=ee,y.hasOwnProperty(x)&&Eo(this,y[x])(this,ee,me),fn(this,"optionChange",this,x))},getOption:function(x){return this.options[x]},getDoc:function(){return this.doc},addKeyMap:function(x,ee){this.state.keyMaps[ee?"push":"unshift"](Xs(x))},removeKeyMap:function(x){for(var ee=this.state.keyMaps,oe=0;oe<ee.length;++oe)if(ee[oe]==x||ee[oe].name==x)return ee.splice(oe,1),!0},addOverlay:Ro(function(x,ee){var oe=x.token?x:a.getMode(this.options,x);if(oe.startState)throw new Error("Overlays may not be stateful.");bt(this.state.overlays,{mode:oe,modeSpec:x,opaque:ee&&ee.opaque,priority:ee&&ee.priority||0},function(me){return me.priority}),this.state.modeGen++,vl(this)}),removeOverlay:Ro(function(x){for(var ee=this.state.overlays,oe=0;oe<ee.length;++oe){var me=ee[oe].modeSpec;if(me==x||typeof x=="string"&&me.name==x){ee.splice(oe,1),this.state.modeGen++,vl(this);return}}}),indentLine:Ro(function(x,ee,oe){typeof ee!="string"&&typeof ee!="number"&&(ee==null?ee=this.options.smartIndent?"smart":"prev":ee=ee?"add":"subtract"),ze(this.doc,x)&&mu(this,x,ee,oe)}),indentSelection:Ro(function(x){for(var ee=this.doc.sel.ranges,oe=-1,me=0;me<ee.length;me++){var we=ee[me];if(we.empty())we.head.line>oe&&(mu(this,we.head.line,x,!0),oe=we.head.line,me==this.doc.sel.primIndex&&Vn(this));else{var Ne=we.from(),qe=we.to(),Cn=Math.max(oe,Ne.line);oe=Math.min(this.lastLine(),qe.line-(qe.ch?0:1))+1;for(var Bn=Cn;Bn<oe;++Bn)mu(this,Bn,x);var lr=this.doc.sel.ranges;Ne.ch==0&&ee.length==lr.length&&lr[me].from().ch>0&&Na(this.doc,me,new Hn(Ne,lr[me].to()),pe)}}}),getTokenAt:function(x,ee){return kr(this,x,ee)},getLineTokens:function(x,ee){return kr(this,Ye(x),ee,!0)},getTokenTypeAt:function(x){x=Pt(this.doc,x);var ee=pr(this,rn(this.doc,x.line)),oe=0,me=(ee.length-1)/2,we=x.ch,Ne;if(we==0)Ne=ee[2];else for(;;){var qe=oe+me>>1;if((qe?ee[qe*2-1]:0)>=we)me=qe;else if(ee[qe*2+1]<we)oe=qe+1;else{Ne=ee[qe*2+2];break}}var Cn=Ne?Ne.indexOf("overlay "):-1;return Cn<0?Ne:Cn==0?null:Ne.slice(0,Cn-1)},getModeAt:function(x){var ee=this.doc.mode;return ee.innerMode?a.innerMode(ee,this.getTokenAt(x).state).mode:ee},getHelper:function(x,ee){return this.getHelpers(x,ee)[0]},getHelpers:function(x,ee){var oe=[];if(!E.hasOwnProperty(ee))return oe;var me=E[ee],we=this.getModeAt(x);if(typeof we[ee]=="string")me[we[ee]]&&oe.push(me[we[ee]]);else if(we[ee])for(var Ne=0;Ne<we[ee].length;Ne++){var qe=me[we[ee][Ne]];qe&&oe.push(qe)}else we.helperType&&me[we.helperType]?oe.push(me[we.helperType]):me[we.name]&&oe.push(me[we.name]);for(var Cn=0;Cn<me._global.length;Cn++){var Bn=me._global[Cn];Bn.pred(we,this)&&At(oe,Bn.val)==-1&&oe.push(Bn.val)}return oe},getStateAfter:function(x,ee){var oe=this.doc;return x=xt(oe,x==null?oe.first+oe.size-1:x),Ar(this,x+1,ee).state},cursorCoords:function(x,ee){var oe,me=this.doc.sel.primary();return x==null?oe=me.head:typeof x=="object"?oe=Pt(this.doc,x):oe=x?me.from():me.to(),fa(this,oe,ee||"page")},charCoords:function(x,ee){return $a(this,Pt(this.doc,x),ee||"page")},coordsChar:function(x,ee){return x=Ja(this,x,ee||"page"),sa(this,x.left,x.top)},lineAtHeight:function(x,ee){return x=Ja(this,{top:x,left:0},ee||"page").top,Qt(this.doc,x+this.display.viewOffset)},heightAtLine:function(x,ee,oe){var me=!1,we;if(typeof x=="number"){var Ne=this.doc.first+this.doc.size-1;x<this.doc.first?x=this.doc.first:x>Ne&&(x=Ne,me=!0),we=rn(this.doc,x)}else we=x;return is(this,we,{top:0,left:0},ee||"page",oe||me).top+(me?this.doc.height-br(we):0)},defaultTextHeight:function(){return rl(this.display)},defaultCharWidth:function(){return ol(this.display)},getViewport:function(){return{from:this.display.viewFrom,to:this.display.viewTo}},addWidget:function(x,ee,oe,me,we){var Ne=this.display;x=fa(this,Pt(this.doc,x));var qe=x.bottom,Cn=x.left;if(ee.style.position="absolute",ee.setAttribute("cm-ignore-events","true"),this.display.input.setUneditable(ee),Ne.sizer.appendChild(ee),me=="over")qe=x.top;else if(me=="above"||me=="near"){var Bn=Math.max(Ne.wrapper.clientHeight,this.doc.height),lr=Math.max(Ne.sizer.clientWidth,Ne.lineSpace.clientWidth);(me=="above"||x.bottom+ee.offsetHeight>Bn)&&x.top>ee.offsetHeight?qe=x.top-ee.offsetHeight:x.bottom+ee.offsetHeight<=Bn&&(qe=x.bottom),Cn+ee.offsetWidth>lr&&(Cn=lr-ee.offsetWidth)}ee.style.top=qe+"px",ee.style.left=ee.style.right="",we=="right"?(Cn=Ne.sizer.clientWidth-ee.offsetWidth,ee.style.right="0px"):(we=="left"?Cn=0:we=="middle"&&(Cn=(Ne.sizer.clientWidth-ee.offsetWidth)/2),ee.style.left=Cn+"px"),oe&&Dt(this,{left:Cn,top:qe,right:Cn+ee.offsetWidth,bottom:qe+ee.offsetHeight})},triggerOnKeyDown:Ro(su),triggerOnKeyPress:Ro(cu),triggerOnKeyUp:uu,triggerOnMouseDown:Ro(fu),execCommand:function(x){if(gs.hasOwnProperty(x))return gs[x].call(null,this)},triggerElectric:Ro(function(x){zu(this,x)}),findPosH:function(x,ee,oe,me){var we=1;ee<0&&(we=-1,ee=-ee);for(var Ne=Pt(this.doc,x),qe=0;qe<ee&&(Ne=Nu(this.doc,Ne,we,oe,me),!Ne.hitSide);++qe);return Ne},moveH:Ro(function(x,ee){var oe=this;this.extendSelectionsBy(function(me){return oe.display.shift||oe.doc.extend||me.empty()?Nu(oe.doc,me.head,x,ee,oe.options.rtlMoveVisually):x<0?me.from():me.to()},Ue)}),deleteH:Ro(function(x,ee){var oe=this.doc.sel,me=this.doc;oe.somethingSelected()?me.replaceSelection("",null,"+delete"):Es(this,function(we){var Ne=Nu(me,we.head,x,ee,!1);return x<0?{from:Ne,to:we.head}:{from:we.head,to:Ne}})}),findPosV:function(x,ee,oe,me){var we=1,Ne=me;ee<0&&(we=-1,ee=-ee);for(var qe=Pt(this.doc,x),Cn=0;Cn<ee;++Cn){var Bn=fa(this,qe,"div");if(Ne==null?Ne=Bn.left:Bn.left=Ne,qe=Ku(this,Bn,we,oe),qe.hitSide)break}return qe},moveV:Ro(function(x,ee){var oe=this,me=this.doc,we=[],Ne=!this.display.shift&&!me.extend&&me.sel.somethingSelected();if(me.extendSelectionsBy(function(Cn){if(Ne)return x<0?Cn.from():Cn.to();var Bn=fa(oe,Cn.head,"div");Cn.goalColumn!=null&&(Bn.left=Cn.goalColumn),we.push(Bn.left);var lr=Ku(oe,Bn,x,ee);return ee=="page"&&Cn==me.sel.primary()&&Pn(oe,$a(oe,lr,"div").top-Bn.top),lr},Ue),we.length)for(var qe=0;qe<me.sel.ranges.length;qe++)me.sel.ranges[qe].goalColumn=we[qe]}),findWordAt:function(x){var ee=this.doc,oe=rn(ee,x.line).text,me=x.ch,we=x.ch;if(oe){var Ne=this.getHelper(x,"wordChars");(x.sticky=="before"||we==oe.length)&&me?--me:++we;for(var qe=oe.charAt(me),Cn=he(qe,Ne)?function(Bn){return he(Bn,Ne)}:/\s/.test(qe)?function(Bn){return/\s/.test(Bn)}:function(Bn){return!/\s/.test(Bn)&&!he(Bn)};me>0&&Cn(oe.charAt(me-1));)--me;for(;we<oe.length&&Cn(oe.charAt(we));)++we}return new Hn(Ye(x.line,me),Ye(x.line,we))},toggleOverwrite:function(x){x!=null&&x==this.state.overwrite||((this.state.overwrite=!this.state.overwrite)?ue(this.display.cursorDiv,"CodeMirror-overwrite"):mt(this.display.cursorDiv,"CodeMirror-overwrite"),fn(this,"overwriteToggle",this,this.state.overwrite))},hasFocus:function(){return this.display.input.getField()==Se()},isReadOnly:function(){return!!(this.options.readOnly||this.doc.cantEdit)},scrollTo:Ro(function(x,ee){Gn(this,x,ee)}),getScrollInfo:function(){var x=this.display.scroller;return{left:x.scrollLeft,top:x.scrollTop,height:x.scrollHeight-Oa(this)-this.display.barHeight,width:x.scrollWidth-Oa(this)-this.display.barWidth,clientHeight:Ii(this),clientWidth:Ya(this)}},scrollIntoView:Ro(function(x,ee){x==null?(x={from:this.doc.sel.primary().head,to:null},ee==null&&(ee=this.options.cursorScrollMargin)):typeof x=="number"?x={from:Ye(x,0),to:null}:x.from==null&&(x={from:x,to:null}),x.to||(x.to=x.from),x.margin=ee||0,x.from.line!=null?sr(this,x):Xn(this,x.from,x.to,x.margin)}),setSize:Ro(function(x,ee){var oe=this,me=function(Ne){return typeof Ne=="number"||/^\d+$/.test(String(Ne))?Ne+"px":Ne};x!=null&&(this.display.wrapper.style.width=me(x)),ee!=null&&(this.display.wrapper.style.height=me(ee)),this.options.lineWrapping&&Dl(this);var we=this.display.viewFrom;this.doc.iter(we,this.display.viewTo,function(Ne){if(Ne.widgets){for(var qe=0;qe<Ne.widgets.length;qe++)if(Ne.widgets[qe].noHScroll){es(oe,we,"widget");break}}++we}),this.curOp.forceUpdate=!0,fn(this,"refresh",this)}),operation:function(x){return Fo(this,x)},startOperation:function(){return ro(this)},endOperation:function(){return uo(this)},refresh:Ro(function(){var x=this.display.cachedTextHeight;vl(this),this.curOp.forceUpdate=!0,Gl(this),Gn(this,this.doc.scrollLeft,this.doc.scrollTop),ye(this.display),(x==null||Math.abs(x-rl(this.display))>.5||this.options.lineWrapping)&&ms(this),fn(this,"refresh",this)}),swapDoc:Ro(function(x){var ee=this.doc;return ee.cm=null,this.state.selectingText&&this.state.selectingText(),jr(this,x),Gl(this),this.display.input.reset(),Gn(this,x.scrollLeft,x.scrollTop),this.curOp.forceScroll=!0,Ui(this,"swapDoc",this,ee),ee}),phrase:function(x){var ee=this.options.phrases;return ee&&Object.prototype.hasOwnProperty.call(ee,x)?ee[x]:x},getInputField:function(){return this.display.input.getField()},getWrapperElement:function(){return this.display.wrapper},getScrollerElement:function(){return this.display.scroller},getGutterElement:function(){return this.display.gutters}},ft(a),a.registerHelper=function(x,ee,oe){E.hasOwnProperty(x)||(E[x]=a[x]={_global:[]}),E[x][ee]=oe},a.registerGlobalHelper=function(x,ee,oe,me){a.registerHelper(x,ee,me),E[x]._global.push({pred:oe,val:me})}}function Nu(a,y,E,x,ee){var oe=y,me=E,we=rn(a,y.line),Ne=ee&&a.direction=="rtl"?-E:E;function qe(){var li=y.line+Ne;return li<a.first||li>=a.first+a.size?!1:(y=new Ye(li,y.ch,y.sticky),we=rn(a,li))}function Cn(li){var Vo;if(x=="codepoint"){var fi=we.text.charCodeAt(y.ch+(x>0?0:-1));isNaN(fi)?Vo=null:Vo=new Ye(y.line,Math.max(0,Math.min(we.text.length,y.ch+E*(fi>=55296&&fi<56320?2:1))),-E)}else ee?Vo=gu(a.cm,we,y,E):Vo=$s(we,y,E);if(Vo==null)if(!li&&qe())y=ru(ee,a.cm,we,y.line,Ne);else return!1;else y=Vo;return!0}if(x=="char"||x=="codepoint")Cn();else if(x=="column")Cn(!0);else if(x=="word"||x=="group")for(var Bn=null,lr=x=="group",or=a.cm&&a.cm.getHelper(y,"wordChars"),Zr=!0;!(E<0&&!Cn(!Zr));Zr=!1){var so=we.text.charAt(y.ch)||`
|
|
|
`,Po=he(so,or)?"w":lr&&so==`
|
|
|
`?"n":!lr||/\s/.test(so)?null:"p";if(lr&&!Zr&&!Po&&(Po="s"),Bn&&Bn!=Po){E<0&&(E=1,Cn(),y.sticky="after");break}if(Po&&(Bn=Po),E>0&&!Cn(!Zr))break}var jo=Sa(a,y,oe,me,!0);return qt(oe,jo)&&(jo.hitSide=!0),jo}function Ku(a,y,E,x){var ee=a.doc,oe=y.left,me;if(x=="page"){var we=Math.min(a.display.wrapper.clientHeight,window.innerHeight||document.documentElement.clientHeight),Ne=Math.max(we-.5*rl(a.display),3);me=(E>0?y.bottom:y.top)+E*Ne}else x=="line"&&(me=E>0?y.bottom+3:y.top-3);for(var qe;qe=sa(a,oe,me),!!qe.outside;){if(E<0?me<=0:me>=ee.height){qe.hitSide=!0;break}me+=E*5}return qe}var Za=function(a){this.cm=a,this.lastAnchorNode=this.lastAnchorOffset=this.lastFocusNode=this.lastFocusOffset=null,this.polling=new ve,this.composing=null,this.gracePeriod=!1,this.readDOMTimeout=null};Za.prototype.init=function(a){var y=this,E=this,x=E.cm,ee=E.div=a.lineDiv;ju(ee,x.options.spellcheck,x.options.autocorrect,x.options.autocapitalize);function oe(we){for(var Ne=we.target;Ne;Ne=Ne.parentNode){if(Ne==ee)return!0;if(/\bCodeMirror-(?:line)?widget\b/.test(Ne.className))break}return!1}yn(ee,"paste",function(we){!oe(we)||Xt(x,we)||Hu(we,x)||xe<=11&&setTimeout(Eo(x,function(){return y.updateFromDOM()}),20)}),yn(ee,"compositionstart",function(we){y.composing={data:we.data,done:!1}}),yn(ee,"compositionupdate",function(we){y.composing||(y.composing={data:we.data,done:!1})}),yn(ee,"compositionend",function(we){y.composing&&(we.data!=y.composing.data&&y.readFromDOMSoon(),y.composing.done=!0)}),yn(ee,"touchstart",function(){return E.forceCompositionEnd()}),yn(ee,"input",function(){y.composing||y.readFromDOMSoon()});function me(we){if(!(!oe(we)||Xt(x,we))){if(x.somethingSelected())Cu({lineWise:!1,text:x.getSelections()}),we.type=="cut"&&x.replaceSelection("",null,"cut");else if(x.options.lineWiseCopyCut){var Ne=Wu(x);Cu({lineWise:!0,text:Ne.text}),we.type=="cut"&&x.operation(function(){x.setSelections(Ne.ranges,0,pe),x.replaceSelection("",null,"cut")})}else return;if(we.clipboardData){we.clipboardData.clearData();var qe=fs.text.join(`
|
|
|
`);if(we.clipboardData.setData("Text",qe),we.clipboardData.getData("Text")==qe){we.preventDefault();return}}var Cn=Vu(),Bn=Cn.firstChild;x.display.lineSpace.insertBefore(Cn,x.display.lineSpace.firstChild),Bn.value=fs.text.join(`
|
|
|
`);var lr=document.activeElement;He(Bn),setTimeout(function(){x.display.lineSpace.removeChild(Cn),lr.focus(),lr==ee&&E.showPrimarySelection()},50)}}yn(ee,"copy",me),yn(ee,"cut",me)},Za.prototype.screenReaderLabelChanged=function(a){a?this.div.setAttribute("aria-label",a):this.div.removeAttribute("aria-label")},Za.prototype.prepareSelection=function(){var a=vu(this.cm,!1);return a.focus=document.activeElement==this.div,a},Za.prototype.showSelection=function(a,y){!a||!this.cm.display.view.length||((a.focus||y)&&this.showPrimarySelection(),this.showMultipleSelections(a))},Za.prototype.getSelection=function(){return this.cm.display.wrapper.ownerDocument.getSelection()},Za.prototype.showPrimarySelection=function(){var a=this.getSelection(),y=this.cm,E=y.doc.sel.primary(),x=E.from(),ee=E.to();if(y.display.viewTo==y.display.viewFrom||x.line>=y.display.viewTo||ee.line<y.display.viewFrom){a.removeAllRanges();return}var oe=xu(y,a.anchorNode,a.anchorOffset),me=xu(y,a.focusNode,a.focusOffset);if(!(oe&&!oe.bad&&me&&!me.bad&&Ct(pt(oe,me),x)==0&&Ct(ar(oe,me),ee)==0)){var we=y.display.view,Ne=x.line>=y.display.viewFrom&&Uu(y,x)||{node:we[0].measure.map[2],offset:0},qe=ee.line<y.display.viewTo&&Uu(y,ee);if(!qe){var Cn=we[we.length-1].measure,Bn=Cn.maps?Cn.maps[Cn.maps.length-1]:Cn.map;qe={node:Bn[Bn.length-1],offset:Bn[Bn.length-2]-Bn[Bn.length-3]}}if(!Ne||!qe){a.removeAllRanges();return}var lr=a.rangeCount&&a.getRangeAt(0),or;try{or=Fe(Ne.node,Ne.offset,qe.offset,qe.node)}catch(Zr){}or&&(!b&&y.state.focused?(a.collapse(Ne.node,Ne.offset),or.collapsed||(a.removeAllRanges(),a.addRange(or))):(a.removeAllRanges(),a.addRange(or)),lr&&a.anchorNode==null?a.addRange(lr):b&&this.startGracePeriod()),this.rememberSelection()}},Za.prototype.startGracePeriod=function(){var a=this;clearTimeout(this.gracePeriod),this.gracePeriod=setTimeout(function(){a.gracePeriod=!1,a.selectionChanged()&&a.cm.operation(function(){return a.cm.curOp.selectionChanged=!0})},20)},Za.prototype.showMultipleSelections=function(a){Qe(this.cm.display.cursorDiv,a.cursors),Qe(this.cm.display.selectionDiv,a.selection)},Za.prototype.rememberSelection=function(){var a=this.getSelection();this.lastAnchorNode=a.anchorNode,this.lastAnchorOffset=a.anchorOffset,this.lastFocusNode=a.focusNode,this.lastFocusOffset=a.focusOffset},Za.prototype.selectionInEditor=function(){var a=this.getSelection();if(!a.rangeCount)return!1;var y=a.getRangeAt(0).commonAncestorContainer;return Ze(this.div,y)},Za.prototype.focus=function(){this.cm.options.readOnly!="nocursor"&&((!this.selectionInEditor()||document.activeElement!=this.div)&&this.showSelection(this.prepareSelection(),!0),this.div.focus())},Za.prototype.blur=function(){this.div.blur()},Za.prototype.getField=function(){return this.div},Za.prototype.supportsTouch=function(){return!0},Za.prototype.receivedFocus=function(){var a=this;this.selectionInEditor()?this.pollSelection():Fo(this.cm,function(){return a.cm.curOp.selectionChanged=!0});function y(){a.cm.state.focused&&(a.pollSelection(),a.polling.set(a.cm.options.pollInterval,y))}this.polling.set(this.cm.options.pollInterval,y)},Za.prototype.selectionChanged=function(){var a=this.getSelection();return a.anchorNode!=this.lastAnchorNode||a.anchorOffset!=this.lastAnchorOffset||a.focusNode!=this.lastFocusNode||a.focusOffset!=this.lastFocusOffset},Za.prototype.pollSelection=function(){if(!(this.readDOMTimeout!=null||this.gracePeriod||!this.selectionChanged())){var a=this.getSelection(),y=this.cm;if(tt&&Be&&this.cm.display.gutterSpecs.length&&nc(a.anchorNode)){this.cm.triggerOnKeyDown({type:"keydown",keyCode:8,preventDefault:Math.abs}),this.blur(),this.focus();return}if(!this.composing){this.rememberSelection();var E=xu(y,a.anchorNode,a.anchorOffset),x=xu(y,a.focusNode,a.focusOffset);E&&x&&Fo(y,function(){Ho(y.doc,cr(E,x),pe),(E.bad||x.bad)&&(y.curOp.selectionChanged=!0)})}}},Za.prototype.pollContent=function(){this.readDOMTimeout!=null&&(clearTimeout(this.readDOMTimeout),this.readDOMTimeout=null);var a=this.cm,y=a.display,E=a.doc.sel.primary(),x=E.from(),ee=E.to();if(x.ch==0&&x.line>a.firstLine()&&(x=Ye(x.line-1,rn(a.doc,x.line-1).length)),ee.ch==rn(a.doc,ee.line).text.length&&ee.line<a.lastLine()&&(ee=Ye(ee.line+1,0)),x.line<y.viewFrom||ee.line>y.viewTo-1)return!1;var oe,me,we;x.line==y.viewFrom||(oe=Xl(a,x.line))==0?(me=It(y.view[0].line),we=y.view[0].node):(me=It(y.view[oe].line),we=y.view[oe-1].node.nextSibling);var Ne=Xl(a,ee.line),qe,Cn;if(Ne==y.view.length-1?(qe=y.viewTo-1,Cn=y.lineDiv.lastChild):(qe=It(y.view[Ne+1].line)-1,Cn=y.view[Ne+1].node.previousSibling),!we)return!1;for(var Bn=a.doc.splitLines(rc(a,we,Cn,me,qe)),lr=Fn(a.doc,Ye(me,0),Ye(qe,rn(a.doc,qe).text.length));Bn.length>1&&lr.length>1;)if(ct(Bn)==ct(lr))Bn.pop(),lr.pop(),qe--;else if(Bn[0]==lr[0])Bn.shift(),lr.shift(),me++;else break;for(var or=0,Zr=0,so=Bn[0],Po=lr[0],jo=Math.min(so.length,Po.length);or<jo&&so.charCodeAt(or)==Po.charCodeAt(or);)++or;for(var li=ct(Bn),Vo=ct(lr),fi=Math.min(li.length-(Bn.length==1?or:0),Vo.length-(lr.length==1?or:0));Zr<fi&&li.charCodeAt(li.length-Zr-1)==Vo.charCodeAt(Vo.length-Zr-1);)++Zr;if(Bn.length==1&&lr.length==1&&me==x.line)for(;or&&or>x.ch&&li.charCodeAt(li.length-Zr-1)==Vo.charCodeAt(Vo.length-Zr-1);)or--,Zr++;Bn[Bn.length-1]=li.slice(0,li.length-Zr).replace(/^\u200b+/,""),Bn[0]=Bn[0].slice(or).replace(/\u200b+$/,"");var Ni=Ye(me,or),Pi=Ye(qe,lr.length?ct(lr).length-Zr:0);if(Bn.length>1||Bn[0]||Ct(Ni,Pi))return Vi(a.doc,Bn,Ni,Pi,"+input"),!0},Za.prototype.ensurePolled=function(){this.forceCompositionEnd()},Za.prototype.reset=function(){this.forceCompositionEnd()},Za.prototype.forceCompositionEnd=function(){this.composing&&(clearTimeout(this.readDOMTimeout),this.composing=null,this.updateFromDOM(),this.div.blur(),this.div.focus())},Za.prototype.readFromDOMSoon=function(){var a=this;this.readDOMTimeout==null&&(this.readDOMTimeout=setTimeout(function(){if(a.readDOMTimeout=null,a.composing)if(a.composing.done)a.composing=null;else return;a.updateFromDOM()},80))},Za.prototype.updateFromDOM=function(){var a=this;(this.cm.isReadOnly()||!this.pollContent())&&Fo(this.cm,function(){return vl(a.cm)})},Za.prototype.setUneditable=function(a){a.contentEditable="false"},Za.prototype.onKeyPress=function(a){a.charCode==0||this.composing||(a.preventDefault(),this.cm.isReadOnly()||Eo(this.cm,Mu)(this.cm,String.fromCharCode(a.charCode==null?a.keyCode:a.charCode),0))},Za.prototype.readOnlyChanged=function(a){this.div.contentEditable=String(a!="nocursor")},Za.prototype.onContextMenu=function(){},Za.prototype.resetPosition=function(){},Za.prototype.needsContentAttribute=!0;function Uu(a,y){var E=Xa(a,y.line);if(!E||E.hidden)return null;var x=rn(a.doc,y.line),ee=wl(E,x,y.line),oe=Te(x,a.doc.direction),me="left";if(oe){var we=Et(oe,y.ch);me=we%2?"right":"left"}var Ne=Yl(ee.map,y.ch,me);return Ne.offset=Ne.collapse=="right"?Ne.end:Ne.start,Ne}function nc(a){for(var y=a;y;y=y.parentNode)if(/CodeMirror-gutter-wrapper/.test(y.className))return!0;return!1}function _s(a,y){return y&&(a.bad=!0),a}function rc(a,y,E,x,ee){var oe="",me=!1,we=a.doc.lineSeparator(),Ne=!1;function qe(or){return function(Zr){return Zr.id==or}}function Cn(){me&&(oe+=we,Ne&&(oe+=we),me=Ne=!1)}function Bn(or){or&&(Cn(),oe+=or)}function lr(or){if(or.nodeType==1){var Zr=or.getAttribute("cm-text");if(Zr){Bn(Zr);return}var so=or.getAttribute("cm-marker"),Po;if(so){var jo=a.findMarks(Ye(x,0),Ye(ee+1,0),qe(+so));jo.length&&(Po=jo[0].find(0))&&Bn(Fn(a.doc,Po.from,Po.to).join(we));return}if(or.getAttribute("contenteditable")=="false")return;var li=/^(pre|div|p|li|table|br)$/i.test(or.nodeName);if(!/^br$/i.test(or.nodeName)&&or.textContent.length==0)return;li&&Cn();for(var Vo=0;Vo<or.childNodes.length;Vo++)lr(or.childNodes[Vo]);/^(pre|p)$/i.test(or.nodeName)&&(Ne=!0),li&&(me=!0)}else or.nodeType==3&&Bn(or.nodeValue.replace(/\u200b/g,"").replace(/\u00a0/g," "))}for(;lr(y),y!=E;)y=y.nextSibling,Ne=!1;return oe}function xu(a,y,E){var x;if(y==a.display.lineDiv){if(x=a.display.lineDiv.childNodes[E],!x)return _s(a.clipPos(Ye(a.display.viewTo-1)),!0);y=null,E=0}else for(x=y;;x=x.parentNode){if(!x||x==a.display.lineDiv)return null;if(x.parentNode&&x.parentNode==a.display.lineDiv)break}for(var ee=0;ee<a.display.view.length;ee++){var oe=a.display.view[ee];if(oe.node==x)return oc(oe,y,E)}}function oc(a,y,E){var x=a.text.firstChild,ee=!1;if(!y||!Ze(x,y))return _s(Ye(It(a.line),0),!0);if(y==x&&(ee=!0,y=x.childNodes[E],E=0,!y)){var oe=a.rest?ct(a.rest):a.line;return _s(Ye(It(oe),oe.text.length),ee)}var me=y.nodeType==3?y:null,we=y;for(!me&&y.childNodes.length==1&&y.firstChild.nodeType==3&&(me=y.firstChild,E&&(E=me.nodeValue.length));we.parentNode!=x;)we=we.parentNode;var Ne=a.measure,qe=Ne.maps;function Cn(Po,jo,li){for(var Vo=-1;Vo<(qe?qe.length:0);Vo++)for(var fi=Vo<0?Ne.map:qe[Vo],Ni=0;Ni<fi.length;Ni+=3){var Pi=fi[Ni+2];if(Pi==Po||Pi==jo){var ta=It(Vo<0?a.line:a.rest[Vo]),Va=fi[Ni]+li;return(li<0||Pi!=Po)&&(Va=fi[Ni+(li?1:0)]),Ye(ta,Va)}}}var Bn=Cn(me,we,E);if(Bn)return _s(Bn,ee);for(var lr=we.nextSibling,or=me?me.nodeValue.length-E:0;lr;lr=lr.nextSibling){if(Bn=Cn(lr,lr.firstChild,0),Bn)return _s(Ye(Bn.line,Bn.ch-or),ee);or+=lr.textContent.length}for(var Zr=we.previousSibling,so=E;Zr;Zr=Zr.previousSibling){if(Bn=Cn(Zr,Zr.firstChild,-1),Bn)return _s(Ye(Bn.line,Bn.ch+so),ee);so+=Zr.textContent.length}}var ml=function(a){this.cm=a,this.prevInput="",this.pollingFast=!1,this.polling=new ve,this.hasSelection=!1,this.composing=null};ml.prototype.init=function(a){var y=this,E=this,x=this.cm;this.createField(a);var ee=this.textarea;a.wrapper.insertBefore(this.wrapper,a.wrapper.firstChild),Je&&(ee.style.width="0px"),yn(ee,"input",function(){Oe&&xe>=9&&y.hasSelection&&(y.hasSelection=null),E.poll()}),yn(ee,"paste",function(me){Xt(x,me)||Hu(me,x)||(x.state.pasteIncoming=+new Date,E.fastPoll())});function oe(me){if(!Xt(x,me)){if(x.somethingSelected())Cu({lineWise:!1,text:x.getSelections()});else if(x.options.lineWiseCopyCut){var we=Wu(x);Cu({lineWise:!0,text:we.text}),me.type=="cut"?x.setSelections(we.ranges,null,pe):(E.prevInput="",ee.value=we.text.join(`
|
|
|
`),He(ee))}else return;me.type=="cut"&&(x.state.cutIncoming=+new Date)}}yn(ee,"cut",oe),yn(ee,"copy",oe),yn(a.scroller,"paste",function(me){if(!(Li(a,me)||Xt(x,me))){if(!ee.dispatchEvent){x.state.pasteIncoming=+new Date,E.focus();return}var we=new Event("paste");we.clipboardData=me.clipboardData,ee.dispatchEvent(we)}}),yn(a.lineSpace,"selectstart",function(me){Li(a,me)||Yt(me)}),yn(ee,"compositionstart",function(){var me=x.getCursor("from");E.composing&&E.composing.range.clear(),E.composing={start:me,range:x.markText(me,x.getCursor("to"),{className:"CodeMirror-composing"})}}),yn(ee,"compositionend",function(){E.composing&&(E.poll(),E.composing.range.clear(),E.composing=null)})},ml.prototype.createField=function(a){this.wrapper=Vu(),this.textarea=this.wrapper.firstChild},ml.prototype.screenReaderLabelChanged=function(a){a?this.textarea.setAttribute("aria-label",a):this.textarea.removeAttribute("aria-label")},ml.prototype.prepareSelection=function(){var a=this.cm,y=a.display,E=a.doc,x=vu(a);if(a.options.moveInputWithCursor){var ee=fa(a,E.sel.primary().head,"div"),oe=y.wrapper.getBoundingClientRect(),me=y.lineDiv.getBoundingClientRect();x.teTop=Math.max(0,Math.min(y.wrapper.clientHeight-10,ee.top+me.top-oe.top)),x.teLeft=Math.max(0,Math.min(y.wrapper.clientWidth-10,ee.left+me.left-oe.left))}return x},ml.prototype.showSelection=function(a){var y=this.cm,E=y.display;Qe(E.cursorDiv,a.cursors),Qe(E.selectionDiv,a.selection),a.teTop!=null&&(this.wrapper.style.top=a.teTop+"px",this.wrapper.style.left=a.teLeft+"px")},ml.prototype.reset=function(a){if(!(this.contextMenuPending||this.composing)){var y=this.cm;if(y.somethingSelected()){this.prevInput="";var E=y.getSelection();this.textarea.value=E,y.state.focused&&He(this.textarea),Oe&&xe>=9&&(this.hasSelection=E)}else a||(this.prevInput=this.textarea.value="",Oe&&xe>=9&&(this.hasSelection=null))}},ml.prototype.getField=function(){return this.textarea},ml.prototype.supportsTouch=function(){return!1},ml.prototype.focus=function(){if(this.cm.options.readOnly!="nocursor"&&(!je||Se()!=this.textarea))try{this.textarea.focus()}catch(a){}},ml.prototype.blur=function(){this.textarea.blur()},ml.prototype.resetPosition=function(){this.wrapper.style.top=this.wrapper.style.left=0},ml.prototype.receivedFocus=function(){this.slowPoll()},ml.prototype.slowPoll=function(){var a=this;this.pollingFast||this.polling.set(this.cm.options.pollInterval,function(){a.poll(),a.cm.state.focused&&a.slowPoll()})},ml.prototype.fastPoll=function(){var a=!1,y=this;y.pollingFast=!0;function E(){var x=y.poll();!x&&!a?(a=!0,y.polling.set(60,E)):(y.pollingFast=!1,y.slowPoll())}y.polling.set(20,E)},ml.prototype.poll=function(){var a=this,y=this.cm,E=this.textarea,x=this.prevInput;if(this.contextMenuPending||!y.state.focused||dr(E)&&!x&&!this.composing||y.isReadOnly()||y.options.disableInput||y.state.keySeq)return!1;var ee=E.value;if(ee==x&&!y.somethingSelected())return!1;if(Oe&&xe>=9&&this.hasSelection===ee||We&&/[\uf700-\uf7ff]/.test(ee))return y.display.input.reset(),!1;if(y.doc.sel==y.display.selForContextMenu){var oe=ee.charCodeAt(0);if(oe==8203&&!x&&(x="\u200B"),oe==8666)return this.reset(),this.cm.execCommand("undo")}for(var me=0,we=Math.min(x.length,ee.length);me<we&&x.charCodeAt(me)==ee.charCodeAt(me);)++me;return Fo(y,function(){Mu(y,ee.slice(me),x.length-me,null,a.composing?"*compose":null),ee.length>1e3||ee.indexOf(`
|
|
|
`)>-1?E.value=a.prevInput="":a.prevInput=ee,a.composing&&(a.composing.range.clear(),a.composing.range=y.markText(a.composing.start,y.getCursor("to"),{className:"CodeMirror-composing"}))}),!0},ml.prototype.ensurePolled=function(){this.pollingFast&&this.poll()&&(this.pollingFast=!1)},ml.prototype.onKeyPress=function(){Oe&&xe>=9&&(this.hasSelection=null),this.fastPoll()},ml.prototype.onContextMenu=function(a){var y=this,E=y.cm,x=E.display,ee=y.textarea;y.contextMenuPending&&y.contextMenuPending();var oe=ql(E,a),me=x.scroller.scrollTop;if(!oe||fe)return;var we=E.options.resetSelectionOnContextMenu;we&&E.doc.sel.contains(oe)==-1&&Eo(E,Ho)(E.doc,cr(oe),pe);var Ne=ee.style.cssText,qe=y.wrapper.style.cssText,Cn=y.wrapper.offsetParent.getBoundingClientRect();y.wrapper.style.cssText="position: static",ee.style.cssText=`position: absolute; width: 30px; height: 30px;
|
|
|
top: `+(a.clientY-Cn.top-5)+"px; left: "+(a.clientX-Cn.left-5)+`px;
|
|
|
z-index: 1000; background: `+(Oe?"rgba(255, 255, 255, .05)":"transparent")+`;
|
|
|
outline: none; border-width: 0; outline: none; overflow: hidden; opacity: .05; filter: alpha(opacity=5);`;var Bn;Ae&&(Bn=window.scrollY),x.input.focus(),Ae&&window.scrollTo(null,Bn),x.input.reset(),E.somethingSelected()||(ee.value=y.prevInput=" "),y.contextMenuPending=or,x.selForContextMenu=E.doc.sel,clearTimeout(x.detectingSelectAll);function lr(){if(ee.selectionStart!=null){var so=E.somethingSelected(),Po="\u200B"+(so?ee.value:"");ee.value="\u21DA",ee.value=Po,y.prevInput=so?"":"\u200B",ee.selectionStart=1,ee.selectionEnd=Po.length,x.selForContextMenu=E.doc.sel}}function or(){if(y.contextMenuPending==or&&(y.contextMenuPending=!1,y.wrapper.style.cssText=qe,ee.style.cssText=Ne,Oe&&xe<9&&x.scrollbars.setScrollTop(x.scroller.scrollTop=me),ee.selectionStart!=null)){(!Oe||Oe&&xe<9)&&lr();var so=0,Po=function(){x.selForContextMenu==E.doc.sel&&ee.selectionStart==0&&ee.selectionEnd>0&&y.prevInput=="\u200B"?Eo(E,gi)(E):so++<10?x.detectingSelectAll=setTimeout(Po,500):(x.selForContextMenu=null,x.input.reset())};x.detectingSelectAll=setTimeout(Po,200)}}if(Oe&&xe>=9&&lr(),Me){_e(a);var Zr=function(){bn(window,"mouseup",Zr),setTimeout(or,20)};yn(window,"mouseup",Zr)}else setTimeout(or,50)},ml.prototype.readOnlyChanged=function(a){a||this.reset(),this.textarea.disabled=a=="nocursor",this.textarea.readOnly=!!a},ml.prototype.setUneditable=function(){},ml.prototype.needsContentAttribute=!1;function ic(a,y){if(y=y?Nt(y):{},y.value=a.value,!y.tabindex&&a.tabIndex&&(y.tabindex=a.tabIndex),!y.placeholder&&a.placeholder&&(y.placeholder=a.placeholder),y.autofocus==null){var E=Se();y.autofocus=E==a||a.getAttribute("autofocus")!=null&&E==document.body}function x(){a.value=we.getValue()}var ee;if(a.form&&(yn(a.form,"submit",x),!y.leaveSubmitMethodAlone)){var oe=a.form;ee=oe.submit;try{var me=oe.submit=function(){x(),oe.submit=ee,oe.submit(),oe.submit=me}}catch(Ne){}}y.finishInit=function(Ne){Ne.save=x,Ne.getTextArea=function(){return a},Ne.toTextArea=function(){Ne.toTextArea=isNaN,x(),a.parentNode.removeChild(Ne.getWrapperElement()),a.style.display="",a.form&&(bn(a.form,"submit",x),!y.leaveSubmitMethodAlone&&typeof a.form.submit=="function"&&(a.form.submit=ee))}},a.style.display="none";var we=qa(function(Ne){return a.parentNode.insertBefore(Ne,a.nextSibling)},y);return we}function ac(a){a.off=bn,a.on=yn,a.wheelEventPixels=tr,a.Doc=ni,a.splitLines=Jn,a.countColumn=De,a.findColumn=Jt,a.isWordChar=ae,a.Pass=Wt,a.signal=fn,a.Line=yo,a.changeEnd=Hr,a.scrollbarModel=lo,a.Pos=Ye,a.cmpPos=Ct,a.modes=wn,a.mimeModes=vn,a.resolveMode=ln,a.getMode=Zt,a.modeExtensions=pn,a.extendMode=cn,a.copyState=zn,a.startState=rr,a.innerMode=Ln,a.commands=gs,a.keyMap=hl,a.keyName=Ss,a.isModifierKey=tu,a.lookupKey=Fs,a.normalizeKeyMap=Il,a.StringStream=_n,a.SharedTextMarker=xa,a.TextMarker=pl,a.LineWidget=na,a.e_preventDefault=Yt,a.e_stopPropagation=xn,a.e_stop=_e,a.addClass=ue,a.contains=Ze,a.rmClass=mt,a.keyNames=yi}Ju(qa),tc(qa);var lc="iter insert remove copy getEditor constructor".split(" ");for(var Su in ni.prototype)ni.prototype.hasOwnProperty(Su)&&At(lc,Su)<0&&(qa.prototype[Su]=function(a){return function(){return a.apply(this.doc,arguments)}}(ni.prototype[Su]));return ft(ni),qa.inputStyles={textarea:ml,contenteditable:Za},qa.defineMode=function(a){!qa.defaults.mode&&a!="null"&&(qa.defaults.mode=a),Rn.apply(this,arguments)},qa.defineMIME=Bt,qa.defineMode("null",function(){return{token:function(a){return a.skipToEnd()}}}),qa.defineMIME("text/plain","null"),qa.defineExtension=function(a,y){qa.prototype[a]=y},qa.defineDocExtension=function(a,y){ni.prototype[a]=y},qa.fromTextArea=ic,ac(qa),qa.version="5.58.2",qa})},25419:function(Yn,mn,z){(function(b){b(z(89780),z(15525),z(98101))})(function(b){"use strict";b.defineMode("markdown",function(Ce,de){var rt=b.getMode(Ce,"text/html"),Oe=rt.name=="null";function xe(De){if(b.findModeByName){var ve=b.findModeByName(De);ve&&(De=ve.mime||ve.mimes[0])}var At=b.getMode(Ce,De);return At.name=="null"?null:At}de.highlightFormatting===void 0&&(de.highlightFormatting=!1),de.maxBlockquoteDepth===void 0&&(de.maxBlockquoteDepth=0),de.taskLists===void 0&&(de.taskLists=!1),de.strikethrough===void 0&&(de.strikethrough=!1),de.emoji===void 0&&(de.emoji=!1),de.fencedCodeBlockHighlighting===void 0&&(de.fencedCodeBlockHighlighting=!0),de.fencedCodeBlockDefaultMode===void 0&&(de.fencedCodeBlockDefaultMode="text/plain"),de.xml===void 0&&(de.xml=!0),de.tokenTypeOverrides===void 0&&(de.tokenTypeOverrides={});var Ae={header:"header",code:"comment",quote:"quote",list1:"variable-2",list2:"variable-3",list3:"keyword",hr:"hr",image:"image",imageAltText:"image-alt-text",imageMarker:"image-marker",formatting:"formatting",linkInline:"link",linkEmail:"link",linkText:"link",linkHref:"string",em:"em",strong:"strong",strikethrough:"strikethrough",emoji:"builtin"};for(var Ve in Ae)Ae.hasOwnProperty(Ve)&&de.tokenTypeOverrides[Ve]&&(Ae[Ve]=de.tokenTypeOverrides[Ve]);var Be=/^([*\-_])(?:\s*\1){2,}\s*$/,fe=/^(?:[*\-+]|^[0-9]+([.)]))\s+/,Ge=/^\[(x| )\](?=\s)/i,be=de.allowAtxHeaderWithoutSpace?/^(#+)/:/^(#+)(?: |$)/,vt=/^ {0,3}(?:\={1,}|-{2,})\s*$/,Je=/^[^#!\[\]*_\\<>` "'(~:]+/,tt=/^(~~~+|```+)[ \t]*([\w\/+#-]*)[^\n`]*$/,je=/^\s*\[[^\]]+?\]:.*$/,We=/[!"#$%&'()*+,\-.\/:;<=>?@\[\\\]^_`{|}~\xA1\xA7\xAB\xB6\xB7\xBB\xBF\u037E\u0387\u055A-\u055F\u0589\u058A\u05BE\u05C0\u05C3\u05C6\u05F3\u05F4\u0609\u060A\u060C\u060D\u061B\u061E\u061F\u066A-\u066D\u06D4\u0700-\u070D\u07F7-\u07F9\u0830-\u083E\u085E\u0964\u0965\u0970\u0AF0\u0DF4\u0E4F\u0E5A\u0E5B\u0F04-\u0F12\u0F14\u0F3A-\u0F3D\u0F85\u0FD0-\u0FD4\u0FD9\u0FDA\u104A-\u104F\u10FB\u1360-\u1368\u1400\u166D\u166E\u169B\u169C\u16EB-\u16ED\u1735\u1736\u17D4-\u17D6\u17D8-\u17DA\u1800-\u180A\u1944\u1945\u1A1E\u1A1F\u1AA0-\u1AA6\u1AA8-\u1AAD\u1B5A-\u1B60\u1BFC-\u1BFF\u1C3B-\u1C3F\u1C7E\u1C7F\u1CC0-\u1CC7\u1CD3\u2010-\u2027\u2030-\u2043\u2045-\u2051\u2053-\u205E\u207D\u207E\u208D\u208E\u2308-\u230B\u2329\u232A\u2768-\u2775\u27C5\u27C6\u27E6-\u27EF\u2983-\u2998\u29D8-\u29DB\u29FC\u29FD\u2CF9-\u2CFC\u2CFE\u2CFF\u2D70\u2E00-\u2E2E\u2E30-\u2E42\u3001-\u3003\u3008-\u3011\u3014-\u301F\u3030\u303D\u30A0\u30FB\uA4FE\uA4FF\uA60D-\uA60F\uA673\uA67E\uA6F2-\uA6F7\uA874-\uA877\uA8CE\uA8CF\uA8F8-\uA8FA\uA8FC\uA92E\uA92F\uA95F\uA9C1-\uA9CD\uA9DE\uA9DF\uAA5C-\uAA5F\uAADE\uAADF\uAAF0\uAAF1\uABEB\uFD3E\uFD3F\uFE10-\uFE19\uFE30-\uFE52\uFE54-\uFE61\uFE63\uFE68\uFE6A\uFE6B\uFF01-\uFF03\uFF05-\uFF0A\uFF0C-\uFF0F\uFF1A\uFF1B\uFF1F\uFF20\uFF3B-\uFF3D\uFF3F\uFF5B\uFF5D\uFF5F-\uFF65]|\uD800[\uDD00-\uDD02\uDF9F\uDFD0]|\uD801\uDD6F|\uD802[\uDC57\uDD1F\uDD3F\uDE50-\uDE58\uDE7F\uDEF0-\uDEF6\uDF39-\uDF3F\uDF99-\uDF9C]|\uD804[\uDC47-\uDC4D\uDCBB\uDCBC\uDCBE-\uDCC1\uDD40-\uDD43\uDD74\uDD75\uDDC5-\uDDC9\uDDCD\uDDDB\uDDDD-\uDDDF\uDE38-\uDE3D\uDEA9]|\uD805[\uDCC6\uDDC1-\uDDD7\uDE41-\uDE43\uDF3C-\uDF3E]|\uD809[\uDC70-\uDC74]|\uD81A[\uDE6E\uDE6F\uDEF5\uDF37-\uDF3B\uDF44]|\uD82F\uDC9F|\uD836[\uDE87-\uDE8B]/,ot=" ";function Mt(De,ve,At){return ve.f=ve.inline=At,At(De,ve)}function Ut(De,ve,At){return ve.f=ve.block=At,At(De,ve)}function se(De){return!De||!/\S/.test(De.string)}function Me(De){if(De.linkTitle=!1,De.linkHref=!1,De.linkText=!1,De.em=!1,De.strong=!1,De.strikethrough=!1,De.quote=0,De.indentedCode=!1,De.f==mt){var ve=Oe;if(!ve){var At=b.innerMode(rt,De.htmlState);ve=At.mode.name=="xml"&&At.state.tagStart===null&&!At.state.context&&At.state.tokenize.isInText}ve&&(De.f=dt,De.block=st,De.htmlState=null)}return De.trailingSpace=0,De.trailingSpaceNewLine=!1,De.prevLine=De.thisLine,De.thisLine={stream:null},null}function st(De,ve){var At=De.column()===ve.indentation,Gt=se(ve.prevLine.stream),Wt=ve.indentedCode,pe=ve.prevLine.hr,Re=ve.list!==!1,Ue=(ve.listStack[ve.listStack.length-1]||0)+3;ve.indentedCode=!1;var Jt=ve.indentation;if(ve.indentationDiff===null&&(ve.indentationDiff=ve.indentation,Re)){for(ve.list=null;Jt<ve.listStack[ve.listStack.length-1];)ve.listStack.pop(),ve.listStack.length?ve.indentation=ve.listStack[ve.listStack.length-1]:ve.list=!1;ve.list!==!1&&(ve.indentationDiff=Jt-ve.listStack[ve.listStack.length-1])}var et=!Gt&&!pe&&!ve.prevLine.header&&(!Re||!Wt)&&!ve.prevLine.fencedCodeEnd,jt=(ve.list===!1||pe||Gt)&&ve.indentation<=Ue&&De.match(Be),ct=null;if(ve.indentationDiff>=4&&(Wt||ve.prevLine.fencedCodeEnd||ve.prevLine.header||Gt))return De.skipToEnd(),ve.indentedCode=!0,Ae.code;if(De.eatSpace())return null;if(At&&ve.indentation<=Ue&&(ct=De.match(be))&&ct[1].length<=6)return ve.quote=0,ve.header=ct[1].length,ve.thisLine.header=!0,de.highlightFormatting&&(ve.formatting="header"),ve.f=ve.inline,Qe(ve);if(ve.indentation<=Ue&&De.eat(">"))return ve.quote=At?1:ve.quote+1,de.highlightFormatting&&(ve.formatting="quote"),De.eatSpace(),Qe(ve);if(!jt&&!ve.setext&&At&&ve.indentation<=Ue&&(ct=De.match(fe))){var dn=ct[1]?"ol":"ul";return ve.indentation=Jt+De.current().length,ve.list=!0,ve.quote=0,ve.listStack.push(ve.indentation),ve.em=!1,ve.strong=!1,ve.code=!1,ve.strikethrough=!1,de.taskLists&&De.match(Ge,!1)&&(ve.taskList=!0),ve.f=ve.inline,de.highlightFormatting&&(ve.formatting=["list","list-"+dn]),Qe(ve)}else{if(At&&ve.indentation<=Ue&&(ct=De.match(tt,!0)))return ve.quote=0,ve.fencedEndRE=new RegExp(ct[1]+"+ *$"),ve.localMode=de.fencedCodeBlockHighlighting&&xe(ct[2]||de.fencedCodeBlockDefaultMode),ve.localMode&&(ve.localState=b.startState(ve.localMode)),ve.f=ve.block=kt,de.highlightFormatting&&(ve.formatting="code-block"),ve.code=-1,Qe(ve);if(ve.setext||(!et||!Re)&&!ve.quote&&ve.list===!1&&!ve.code&&!jt&&!je.test(De.string)&&(ct=De.lookAhead(1))&&(ct=ct.match(vt)))return ve.setext?(ve.header=ve.setext,ve.setext=0,De.skipToEnd(),de.highlightFormatting&&(ve.formatting="header")):(ve.header=ct[0].charAt(0)=="="?1:2,ve.setext=ve.header),ve.thisLine.header=!0,ve.f=ve.inline,Qe(ve);if(jt)return De.skipToEnd(),ve.hr=!0,ve.thisLine.hr=!0,Ae.hr;if(De.peek()==="[")return Mt(De,ve,gt)}return Mt(De,ve,ve.inline)}function mt(De,ve){var At=rt.token(De,ve.htmlState);if(!Oe){var Gt=b.innerMode(rt,ve.htmlState);(Gt.mode.name=="xml"&&Gt.state.tagStart===null&&!Gt.state.context&&Gt.state.tokenize.isInText||ve.md_inside&&De.current().indexOf(">")>-1)&&(ve.f=dt,ve.block=st,ve.htmlState=null)}return At}function kt(De,ve){var At=ve.listStack[ve.listStack.length-1]||0,Gt=ve.indentation<At,Wt=At+3;if(ve.fencedEndRE&&ve.indentation<=Wt&&(Gt||De.match(ve.fencedEndRE))){de.highlightFormatting&&(ve.formatting="code-block");var pe;return Gt||(pe=Qe(ve)),ve.localMode=ve.localState=null,ve.block=st,ve.f=dt,ve.fencedEndRE=null,ve.code=0,ve.thisLine.fencedCodeEnd=!0,Gt?Ut(De,ve,ve.block):pe}else return ve.localMode?ve.localMode.token(De,ve.localState):(De.skipToEnd(),Ae.code)}function Qe(De){var ve=[];if(De.formatting){ve.push(Ae.formatting),typeof De.formatting=="string"&&(De.formatting=[De.formatting]);for(var At=0;At<De.formatting.length;At++)ve.push(Ae.formatting+"-"+De.formatting[At]),De.formatting[At]==="header"&&ve.push(Ae.formatting+"-"+De.formatting[At]+"-"+De.header),De.formatting[At]==="quote"&&(!de.maxBlockquoteDepth||de.maxBlockquoteDepth>=De.quote?ve.push(Ae.formatting+"-"+De.formatting[At]+"-"+De.quote):ve.push("error"))}if(De.taskOpen)return ve.push("meta"),ve.length?ve.join(" "):null;if(De.taskClosed)return ve.push("property"),ve.length?ve.join(" "):null;if(De.linkHref?ve.push(Ae.linkHref,"url"):(De.strong&&ve.push(Ae.strong),De.em&&ve.push(Ae.em),De.strikethrough&&ve.push(Ae.strikethrough),De.emoji&&ve.push(Ae.emoji),De.linkText&&ve.push(Ae.linkText),De.code&&ve.push(Ae.code),De.image&&ve.push(Ae.image),De.imageAltText&&ve.push(Ae.imageAltText,"link"),De.imageMarker&&ve.push(Ae.imageMarker)),De.header&&ve.push(Ae.header,Ae.header+"-"+De.header),De.quote&&(ve.push(Ae.quote),!de.maxBlockquoteDepth||de.maxBlockquoteDepth>=De.quote?ve.push(Ae.quote+"-"+De.quote):ve.push(Ae.quote+"-"+de.maxBlockquoteDepth)),De.list!==!1){var Gt=(De.listStack.length-1)%3;Gt?Gt===1?ve.push(Ae.list2):ve.push(Ae.list3):ve.push(Ae.list1)}return De.trailingSpaceNewLine?ve.push("trailing-space-new-line"):De.trailingSpace&&ve.push("trailing-space-"+(De.trailingSpace%2?"a":"b")),ve.length?ve.join(" "):null}function ut(De,ve){if(De.match(Je,!0))return Qe(ve)}function dt(De,ve){var At=ve.text(De,ve);if(typeof At!="undefined")return At;if(ve.list)return ve.list=null,Qe(ve);if(ve.taskList){var Gt=De.match(Ge,!0)[1]===" ";return Gt?ve.taskOpen=!0:ve.taskClosed=!0,de.highlightFormatting&&(ve.formatting="task"),ve.taskList=!1,Qe(ve)}if(ve.taskOpen=!1,ve.taskClosed=!1,ve.header&&De.match(/^#+$/,!0))return de.highlightFormatting&&(ve.formatting="header"),Qe(ve);var Wt=De.next();if(ve.linkTitle){ve.linkTitle=!1;var pe=Wt;Wt==="("&&(pe=")"),pe=(pe+"").replace(/([.?*+^\[\]\\(){}|-])/g,"\\$1");var Re="^\\s*(?:[^"+pe+"\\\\]+|\\\\\\\\|\\\\.)"+pe;if(De.match(new RegExp(Re),!0))return Ae.linkHref}if(Wt==="`"){var Ue=ve.formatting;de.highlightFormatting&&(ve.formatting="code"),De.eatWhile("`");var Jt=De.current().length;if(ve.code==0&&(!ve.quote||Jt==1))return ve.code=Jt,Qe(ve);if(Jt==ve.code){var et=Qe(ve);return ve.code=0,et}else return ve.formatting=Ue,Qe(ve)}else if(ve.code)return Qe(ve);if(Wt==="\\"&&(De.next(),de.highlightFormatting)){var jt=Qe(ve),ct=Ae.formatting+"-escape";return jt?jt+" "+ct:ct}if(Wt==="!"&&De.match(/\[[^\]]*\] ?(?:\(|\[)/,!1))return ve.imageMarker=!0,ve.image=!0,de.highlightFormatting&&(ve.formatting="image"),Qe(ve);if(Wt==="["&&ve.imageMarker&&De.match(/[^\]]*\](\(.*?\)| ?\[.*?\])/,!1))return ve.imageMarker=!1,ve.imageAltText=!0,de.highlightFormatting&&(ve.formatting="image"),Qe(ve);if(Wt==="]"&&ve.imageAltText){de.highlightFormatting&&(ve.formatting="image");var jt=Qe(ve);return ve.imageAltText=!1,ve.image=!1,ve.inline=ve.f=Ze,jt}if(Wt==="["&&!ve.image)return ve.linkText&&De.match(/^.*?\]/)||(ve.linkText=!0,de.highlightFormatting&&(ve.formatting="link")),Qe(ve);if(Wt==="]"&&ve.linkText){de.highlightFormatting&&(ve.formatting="link");var jt=Qe(ve);return ve.linkText=!1,ve.inline=ve.f=De.match(/\(.*?\)| ?\[.*?\]/,!1)?Ze:dt,jt}if(Wt==="<"&&De.match(/^(https?|ftps?):\/\/(?:[^\\>]|\\.)+>/,!1)){ve.f=ve.inline=Fe,de.highlightFormatting&&(ve.formatting="link");var jt=Qe(ve);return jt?jt+=" ":jt="",jt+Ae.linkInline}if(Wt==="<"&&De.match(/^[^> \\]+@(?:[^\\>]|\\.)+>/,!1)){ve.f=ve.inline=Fe,de.highlightFormatting&&(ve.formatting="link");var jt=Qe(ve);return jt?jt+=" ":jt="",jt+Ae.linkEmail}if(de.xml&&Wt==="<"&&De.match(/^(!--|\?|!\[CDATA\[|[a-z][a-z0-9-]*(?:\s+[a-z_:.\-]+(?:\s*=\s*[^>]+)?)*\s*(?:>|$))/i,!1)){var dn=De.string.indexOf(">",De.pos);if(dn!=-1){var bt=De.string.substring(De.start,dn);/markdown\s*=\s*('|"){0,1}1('|"){0,1}/.test(bt)&&(ve.md_inside=!0)}return De.backUp(1),ve.htmlState=b.startState(rt),Ut(De,ve,mt)}if(de.xml&&Wt==="<"&&De.match(/^\/\w*?>/))return ve.md_inside=!1,"tag";if(Wt==="*"||Wt==="_"){for(var le=1,ne=De.pos==1?" ":De.string.charAt(De.pos-2);le<3&&De.eat(Wt);)le++;var te=De.peek()||" ",ae=!/\s/.test(te)&&(!We.test(te)||/\s/.test(ne)||We.test(ne)),he=!/\s/.test(ne)&&(!We.test(ne)||/\s/.test(te)||We.test(te)),re=null,ce=null;if(le%2&&(!ve.em&&ae&&(Wt==="*"||!he||We.test(ne))?re=!0:ve.em==Wt&&he&&(Wt==="*"||!ae||We.test(te))&&(re=!1)),le>1&&(!ve.strong&&ae&&(Wt==="*"||!he||We.test(ne))?ce=!0:ve.strong==Wt&&he&&(Wt==="*"||!ae||We.test(te))&&(ce=!1)),ce!=null||re!=null){de.highlightFormatting&&(ve.formatting=re==null?"strong":ce==null?"em":"strong em"),re===!0&&(ve.em=Wt),ce===!0&&(ve.strong=Wt);var et=Qe(ve);return re===!1&&(ve.em=!1),ce===!1&&(ve.strong=!1),et}}else if(Wt===" "&&(De.eat("*")||De.eat("_"))){if(De.peek()===" ")return Qe(ve);De.backUp(1)}if(de.strikethrough){if(Wt==="~"&&De.eatWhile(Wt)){if(ve.strikethrough){de.highlightFormatting&&(ve.formatting="strikethrough");var et=Qe(ve);return ve.strikethrough=!1,et}else if(De.match(/^[^\s]/,!1))return ve.strikethrough=!0,de.highlightFormatting&&(ve.formatting="strikethrough"),Qe(ve)}else if(Wt===" "&&De.match(/^~~/,!0)){if(De.peek()===" ")return Qe(ve);De.backUp(2)}}if(de.emoji&&Wt===":"&&De.match(/^(?:[a-z_\d+][a-z_\d+-]*|\-[a-z_\d+][a-z_\d+-]*):/)){ve.emoji=!0,de.highlightFormatting&&(ve.formatting="emoji");var Pe=Qe(ve);return ve.emoji=!1,Pe}return Wt===" "&&(De.match(/^ +$/,!1)?ve.trailingSpace++:ve.trailingSpace&&(ve.trailingSpaceNewLine=!0)),Qe(ve)}function Fe(De,ve){var At=De.next();if(At===">"){ve.f=ve.inline=dt,de.highlightFormatting&&(ve.formatting="link");var Gt=Qe(ve);return Gt?Gt+=" ":Gt="",Gt+Ae.linkInline}return De.match(/^[^>]+/,!0),Ae.linkInline}function Ze(De,ve){if(De.eatSpace())return null;var At=De.next();return At==="("||At==="["?(ve.f=ve.inline=ue(At==="("?")":"]"),de.highlightFormatting&&(ve.formatting="link-string"),ve.linkHref=!0,Qe(ve)):"error"}var Se={")":/^(?:[^\\\(\)]|\\.|\((?:[^\\\(\)]|\\.)*\))*?(?=\))/,"]":/^(?:[^\\\[\]]|\\.|\[(?:[^\\\[\]]|\\.)*\])*?(?=\])/};function ue(De){return function(ve,At){var Gt=ve.next();if(Gt===De){At.f=At.inline=dt,de.highlightFormatting&&(At.formatting="link-string");var Wt=Qe(At);return At.linkHref=!1,Wt}return ve.match(Se[De]),At.linkHref=!0,Qe(At)}}function gt(De,ve){return De.match(/^([^\]\\]|\\.)*\]:/,!1)?(ve.f=He,De.next(),de.highlightFormatting&&(ve.formatting="link"),ve.linkText=!0,Qe(ve)):Mt(De,ve,dt)}function He(De,ve){if(De.match(/^\]:/,!0)){ve.f=ve.inline=ke,de.highlightFormatting&&(ve.formatting="link");var At=Qe(ve);return ve.linkText=!1,At}return De.match(/^([^\]\\]|\\.)+/,!0),Ae.linkText}function ke(De,ve){return De.eatSpace()?null:(De.match(/^[^\s]+/,!0),De.peek()===void 0?ve.linkTitle=!0:De.match(/^(?:\s+(?:"(?:[^"\\]|\\\\|\\.)+"|'(?:[^'\\]|\\\\|\\.)+'|\((?:[^)\\]|\\\\|\\.)+\)))?/,!0),ve.f=ve.inline=dt,Ae.linkHref+" url")}var Nt={startState:function(){return{f:st,prevLine:{stream:null},thisLine:{stream:null},block:st,htmlState:null,indentation:0,inline:dt,text:ut,formatting:!1,linkText:!1,linkHref:!1,linkTitle:!1,code:0,em:!1,strong:!1,header:0,setext:0,hr:!1,taskList:!1,list:!1,listStack:[],quote:0,trailingSpace:0,trailingSpaceNewLine:!1,strikethrough:!1,emoji:!1,fencedEndRE:null}},copyState:function(De){return{f:De.f,prevLine:De.prevLine,thisLine:De.thisLine,block:De.block,htmlState:De.htmlState&&b.copyState(rt,De.htmlState),indentation:De.indentation,localMode:De.localMode,localState:De.localMode?b.copyState(De.localMode,De.localState):null,inline:De.inline,text:De.text,formatting:!1,linkText:De.linkText,linkTitle:De.linkTitle,linkHref:De.linkHref,code:De.code,em:De.em,strong:De.strong,strikethrough:De.strikethrough,emoji:De.emoji,header:De.header,setext:De.setext,hr:De.hr,taskList:De.taskList,list:De.list,listStack:De.listStack.slice(0),quote:De.quote,indentedCode:De.indentedCode,trailingSpace:De.trailingSpace,trailingSpaceNewLine:De.trailingSpaceNewLine,md_inside:De.md_inside,fencedEndRE:De.fencedEndRE}},token:function(De,ve){if(ve.formatting=!1,De!=ve.thisLine.stream){if(ve.header=0,ve.hr=!1,De.match(/^\s*$/,!0))return Me(ve),null;if(ve.prevLine=ve.thisLine,ve.thisLine={stream:De},ve.taskList=!1,ve.trailingSpace=0,ve.trailingSpaceNewLine=!1,!ve.localState&&(ve.f=ve.block,ve.f!=mt)){var At=De.match(/^\s*/,!0)[0].replace(/\t/g,ot).length;if(ve.indentation=At,ve.indentationDiff=null,At>0)return null}}return ve.f(De,ve)},innerMode:function(De){return De.block==mt?{state:De.htmlState,mode:rt}:De.localState?{state:De.localState,mode:De.localMode}:{state:De,mode:Nt}},indent:function(De,ve,At){return De.block==mt&&rt.indent?rt.indent(De.htmlState,ve,At):De.localState&&De.localMode.indent?De.localMode.indent(De.localState,ve,At):b.Pass},blankLine:Me,getType:Qe,blockCommentStart:"<!--",blockCommentEnd:"-->",closeBrackets:"()[]{}''\"\"``",fold:"markdown"};return Nt},"xml"),b.defineMIME("text/markdown","markdown"),b.defineMIME("text/x-markdown","markdown")})},98101:function(Yn,mn,z){(function(b){b(z(89780))})(function(b){"use strict";b.modeInfo=[{name:"APL",mime:"text/apl",mode:"apl",ext:["dyalog","apl"]},{name:"PGP",mimes:["application/pgp","application/pgp-encrypted","application/pgp-keys","application/pgp-signature"],mode:"asciiarmor",ext:["asc","pgp","sig"]},{name:"ASN.1",mime:"text/x-ttcn-asn",mode:"asn.1",ext:["asn","asn1"]},{name:"Asterisk",mime:"text/x-asterisk",mode:"asterisk",file:/^extensions\.conf$/i},{name:"Brainfuck",mime:"text/x-brainfuck",mode:"brainfuck",ext:["b","bf"]},{name:"C",mime:"text/x-csrc",mode:"clike",ext:["c","h","ino"]},{name:"C++",mime:"text/x-c++src",mode:"clike",ext:["cpp","c++","cc","cxx","hpp","h++","hh","hxx"],alias:["cpp"]},{name:"Cobol",mime:"text/x-cobol",mode:"cobol",ext:["cob","cpy"]},{name:"C#",mime:"text/x-csharp",mode:"clike",ext:["cs"],alias:["csharp","cs"]},{name:"Clojure",mime:"text/x-clojure",mode:"clojure",ext:["clj","cljc","cljx"]},{name:"ClojureScript",mime:"text/x-clojurescript",mode:"clojure",ext:["cljs"]},{name:"Closure Stylesheets (GSS)",mime:"text/x-gss",mode:"css",ext:["gss"]},{name:"CMake",mime:"text/x-cmake",mode:"cmake",ext:["cmake","cmake.in"],file:/^CMakeLists\.txt$/},{name:"CoffeeScript",mimes:["application/vnd.coffeescript","text/coffeescript","text/x-coffeescript"],mode:"coffeescript",ext:["coffee"],alias:["coffee","coffee-script"]},{name:"Common Lisp",mime:"text/x-common-lisp",mode:"commonlisp",ext:["cl","lisp","el"],alias:["lisp"]},{name:"Cypher",mime:"application/x-cypher-query",mode:"cypher",ext:["cyp","cypher"]},{name:"Cython",mime:"text/x-cython",mode:"python",ext:["pyx","pxd","pxi"]},{name:"Crystal",mime:"text/x-crystal",mode:"crystal",ext:["cr"]},{name:"CSS",mime:"text/css",mode:"css",ext:["css"]},{name:"CQL",mime:"text/x-cassandra",mode:"sql",ext:["cql"]},{name:"D",mime:"text/x-d",mode:"d",ext:["d"]},{name:"Dart",mimes:["application/dart","text/x-dart"],mode:"dart",ext:["dart"]},{name:"diff",mime:"text/x-diff",mode:"diff",ext:["diff","patch"]},{name:"Django",mime:"text/x-django",mode:"django"},{name:"Dockerfile",mime:"text/x-dockerfile",mode:"dockerfile",file:/^Dockerfile$/},{name:"DTD",mime:"application/xml-dtd",mode:"dtd",ext:["dtd"]},{name:"Dylan",mime:"text/x-dylan",mode:"dylan",ext:["dylan","dyl","intr"]},{name:"EBNF",mime:"text/x-ebnf",mode:"ebnf"},{name:"ECL",mime:"text/x-ecl",mode:"ecl",ext:["ecl"]},{name:"edn",mime:"application/edn",mode:"clojure",ext:["edn"]},{name:"Eiffel",mime:"text/x-eiffel",mode:"eiffel",ext:["e"]},{name:"Elm",mime:"text/x-elm",mode:"elm",ext:["elm"]},{name:"Embedded Javascript",mime:"application/x-ejs",mode:"htmlembedded",ext:["ejs"]},{name:"Embedded Ruby",mime:"application/x-erb",mode:"htmlembedded",ext:["erb"]},{name:"Erlang",mime:"text/x-erlang",mode:"erlang",ext:["erl"]},{name:"Esper",mime:"text/x-esper",mode:"sql"},{name:"Factor",mime:"text/x-factor",mode:"factor",ext:["factor"]},{name:"FCL",mime:"text/x-fcl",mode:"fcl"},{name:"Forth",mime:"text/x-forth",mode:"forth",ext:["forth","fth","4th"]},{name:"Fortran",mime:"text/x-fortran",mode:"fortran",ext:["f","for","f77","f90","f95"]},{name:"F#",mime:"text/x-fsharp",mode:"mllike",ext:["fs"],alias:["fsharp"]},{name:"Gas",mime:"text/x-gas",mode:"gas",ext:["s"]},{name:"Gherkin",mime:"text/x-feature",mode:"gherkin",ext:["feature"]},{name:"GitHub Flavored Markdown",mime:"text/x-gfm",mode:"gfm",file:/^(readme|contributing|history)\.md$/i},{name:"Go",mime:"text/x-go",mode:"go",ext:["go"]},{name:"Groovy",mime:"text/x-groovy",mode:"groovy",ext:["groovy","gradle"],file:/^Jenkinsfile$/},{name:"HAML",mime:"text/x-haml",mode:"haml",ext:["haml"]},{name:"Haskell",mime:"text/x-haskell",mode:"haskell",ext:["hs"]},{name:"Haskell (Literate)",mime:"text/x-literate-haskell",mode:"haskell-literate",ext:["lhs"]},{name:"Haxe",mime:"text/x-haxe",mode:"haxe",ext:["hx"]},{name:"HXML",mime:"text/x-hxml",mode:"haxe",ext:["hxml"]},{name:"ASP.NET",mime:"application/x-aspx",mode:"htmlembedded",ext:["aspx"],alias:["asp","aspx"]},{name:"HTML",mime:"text/html",mode:"htmlmixed",ext:["html","htm","handlebars","hbs"],alias:["xhtml"]},{name:"HTTP",mime:"message/http",mode:"http"},{name:"IDL",mime:"text/x-idl",mode:"idl",ext:["pro"]},{name:"Pug",mime:"text/x-pug",mode:"pug",ext:["jade","pug"],alias:["jade"]},{name:"Java",mime:"text/x-java",mode:"clike",ext:["java"]},{name:"Java Server Pages",mime:"application/x-jsp",mode:"htmlembedded",ext:["jsp"],alias:["jsp"]},{name:"JavaScript",mimes:["text/javascript","text/ecmascript","application/javascript","application/x-javascript","application/ecmascript"],mode:"javascript",ext:["js"],alias:["ecmascript","js","node"]},{name:"JSON",mimes:["application/json","application/x-json"],mode:"javascript",ext:["json","map"],alias:["json5"]},{name:"JSON-LD",mime:"application/ld+json",mode:"javascript",ext:["jsonld"],alias:["jsonld"]},{name:"JSX",mime:"text/jsx",mode:"jsx",ext:["jsx"]},{name:"Jinja2",mime:"text/jinja2",mode:"jinja2",ext:["j2","jinja","jinja2"]},{name:"Julia",mime:"text/x-julia",mode:"julia",ext:["jl"]},{name:"Kotlin",mime:"text/x-kotlin",mode:"clike",ext:["kt"]},{name:"LESS",mime:"text/x-less",mode:"css",ext:["less"]},{name:"LiveScript",mime:"text/x-livescript",mode:"livescript",ext:["ls"],alias:["ls"]},{name:"Lua",mime:"text/x-lua",mode:"lua",ext:["lua"]},{name:"Markdown",mime:"text/x-markdown",mode:"markdown",ext:["markdown","md","mkd"]},{name:"mIRC",mime:"text/mirc",mode:"mirc"},{name:"MariaDB SQL",mime:"text/x-mariadb",mode:"sql"},{name:"Mathematica",mime:"text/x-mathematica",mode:"mathematica",ext:["m","nb","wl","wls"]},{name:"Modelica",mime:"text/x-modelica",mode:"modelica",ext:["mo"]},{name:"MUMPS",mime:"text/x-mumps",mode:"mumps",ext:["mps"]},{name:"MS SQL",mime:"text/x-mssql",mode:"sql"},{name:"mbox",mime:"application/mbox",mode:"mbox",ext:["mbox"]},{name:"MySQL",mime:"text/x-mysql",mode:"sql"},{name:"Nginx",mime:"text/x-nginx-conf",mode:"nginx",file:/nginx.*\.conf$/i},{name:"NSIS",mime:"text/x-nsis",mode:"nsis",ext:["nsh","nsi"]},{name:"NTriples",mimes:["application/n-triples","application/n-quads","text/n-triples"],mode:"ntriples",ext:["nt","nq"]},{name:"Objective-C",mime:"text/x-objectivec",mode:"clike",ext:["m"],alias:["objective-c","objc"]},{name:"Objective-C++",mime:"text/x-objectivec++",mode:"clike",ext:["mm"],alias:["objective-c++","objc++"]},{name:"OCaml",mime:"text/x-ocaml",mode:"mllike",ext:["ml","mli","mll","mly"]},{name:"Octave",mime:"text/x-octave",mode:"octave",ext:["m"]},{name:"Oz",mime:"text/x-oz",mode:"oz",ext:["oz"]},{name:"Pascal",mime:"text/x-pascal",mode:"pascal",ext:["p","pas"]},{name:"PEG.js",mime:"null",mode:"pegjs",ext:["jsonld"]},{name:"Perl",mime:"text/x-perl",mode:"perl",ext:["pl","pm"]},{name:"PHP",mimes:["text/x-php","application/x-httpd-php","application/x-httpd-php-open"],mode:"php",ext:["php","php3","php4","php5","php7","phtml"]},{name:"Pig",mime:"text/x-pig",mode:"pig",ext:["pig"]},{name:"Plain Text",mime:"text/plain",mode:"null",ext:["txt","text","conf","def","list","log"]},{name:"PLSQL",mime:"text/x-plsql",mode:"sql",ext:["pls"]},{name:"PostgreSQL",mime:"text/x-pgsql",mode:"sql"},{name:"PowerShell",mime:"application/x-powershell",mode:"powershell",ext:["ps1","psd1","psm1"]},{name:"Properties files",mime:"text/x-properties",mode:"properties",ext:["properties","ini","in"],alias:["ini","properties"]},{name:"ProtoBuf",mime:"text/x-protobuf",mode:"protobuf",ext:["proto"]},{name:"Python",mime:"text/x-python",mode:"python",ext:["BUILD","bzl","py","pyw"],file:/^(BUCK|BUILD)$/},{name:"Puppet",mime:"text/x-puppet",mode:"puppet",ext:["pp"]},{name:"Q",mime:"text/x-q",mode:"q",ext:["q"]},{name:"R",mime:"text/x-rsrc",mode:"r",ext:["r","R"],alias:["rscript"]},{name:"reStructuredText",mime:"text/x-rst",mode:"rst",ext:["rst"],alias:["rst"]},{name:"RPM Changes",mime:"text/x-rpm-changes",mode:"rpm"},{name:"RPM Spec",mime:"text/x-rpm-spec",mode:"rpm",ext:["spec"]},{name:"Ruby",mime:"text/x-ruby",mode:"ruby",ext:["rb"],alias:["jruby","macruby","rake","rb","rbx"]},{name:"Rust",mime:"text/x-rustsrc",mode:"rust",ext:["rs"]},{name:"SAS",mime:"text/x-sas",mode:"sas",ext:["sas"]},{name:"Sass",mime:"text/x-sass",mode:"sass",ext:["sass"]},{name:"Scala",mime:"text/x-scala",mode:"clike",ext:["scala"]},{name:"Scheme",mime:"text/x-scheme",mode:"scheme",ext:["scm","ss"]},{name:"SCSS",mime:"text/x-scss",mode:"css",ext:["scss"]},{name:"Shell",mimes:["text/x-sh","application/x-sh"],mode:"shell",ext:["sh","ksh","bash"],alias:["bash","sh","zsh"],file:/^PKGBUILD$/},{name:"Sieve",mime:"application/sieve",mode:"sieve",ext:["siv","sieve"]},{name:"Slim",mimes:["text/x-slim","application/x-slim"],mode:"slim",ext:["slim"]},{name:"Smalltalk",mime:"text/x-stsrc",mode:"smalltalk",ext:["st"]},{name:"Smarty",mime:"text/x-smarty",mode:"smarty",ext:["tpl"]},{name:"Solr",mime:"text/x-solr",mode:"solr"},{name:"SML",mime:"text/x-sml",mode:"mllike",ext:["sml","sig","fun","smackspec"]},{name:"Soy",mime:"text/x-soy",mode:"soy",ext:["soy"],alias:["closure template"]},{name:"SPARQL",mime:"application/sparql-query",mode:"sparql",ext:["rq","sparql"],alias:["sparul"]},{name:"Spreadsheet",mime:"text/x-spreadsheet",mode:"spreadsheet",alias:["excel","formula"]},{name:"SQL",mime:"text/x-sql",mode:"sql",ext:["sql"]},{name:"SQLite",mime:"text/x-sqlite",mode:"sql"},{name:"Squirrel",mime:"text/x-squirrel",mode:"clike",ext:["nut"]},{name:"Stylus",mime:"text/x-styl",mode:"stylus",ext:["styl"]},{name:"Swift",mime:"text/x-swift",mode:"swift",ext:["swift"]},{name:"sTeX",mime:"text/x-stex",mode:"stex"},{name:"LaTeX",mime:"text/x-latex",mode:"stex",ext:["text","ltx","tex"],alias:["tex"]},{name:"SystemVerilog",mime:"text/x-systemverilog",mode:"verilog",ext:["v","sv","svh"]},{name:"Tcl",mime:"text/x-tcl",mode:"tcl",ext:["tcl"]},{name:"Textile",mime:"text/x-textile",mode:"textile",ext:["textile"]},{name:"TiddlyWiki",mime:"text/x-tiddlywiki",mode:"tiddlywiki"},{name:"Tiki wiki",mime:"text/tiki",mode:"tiki"},{name:"TOML",mime:"text/x-toml",mode:"toml",ext:["toml"]},{name:"Tornado",mime:"text/x-tornado",mode:"tornado"},{name:"troff",mime:"text/troff",mode:"troff",ext:["1","2","3","4","5","6","7","8","9"]},{name:"TTCN",mime:"text/x-ttcn",mode:"ttcn",ext:["ttcn","ttcn3","ttcnpp"]},{name:"TTCN_CFG",mime:"text/x-ttcn-cfg",mode:"ttcn-cfg",ext:["cfg"]},{name:"Turtle",mime:"text/turtle",mode:"turtle",ext:["ttl"]},{name:"TypeScript",mime:"application/typescript",mode:"javascript",ext:["ts"],alias:["ts"]},{name:"TypeScript-JSX",mime:"text/typescript-jsx",mode:"jsx",ext:["tsx"],alias:["tsx"]},{name:"Twig",mime:"text/x-twig",mode:"twig"},{name:"Web IDL",mime:"text/x-webidl",mode:"webidl",ext:["webidl"]},{name:"VB.NET",mime:"text/x-vb",mode:"vb",ext:["vb"]},{name:"VBScript",mime:"text/vbscript",mode:"vbscript",ext:["vbs"]},{name:"Velocity",mime:"text/velocity",mode:"velocity",ext:["vtl"]},{name:"Verilog",mime:"text/x-verilog",mode:"verilog",ext:["v"]},{name:"VHDL",mime:"text/x-vhdl",mode:"vhdl",ext:["vhd","vhdl"]},{name:"Vue.js Component",mimes:["script/x-vue","text/x-vue"],mode:"vue",ext:["vue"]},{name:"XML",mimes:["application/xml","text/xml"],mode:"xml",ext:["xml","xsl","xsd","svg"],alias:["rss","wsdl","xsd"]},{name:"XQuery",mime:"application/xquery",mode:"xquery",ext:["xy","xquery"]},{name:"Yacas",mime:"text/x-yacas",mode:"yacas",ext:["ys"]},{name:"YAML",mimes:["text/x-yaml","text/yaml"],mode:"yaml",ext:["yaml","yml"],alias:["yml"]},{name:"Z80",mime:"text/x-z80",mode:"z80",ext:["z80"]},{name:"mscgen",mime:"text/x-mscgen",mode:"mscgen",ext:["mscgen","mscin","msc"]},{name:"xu",mime:"text/x-xu",mode:"mscgen",ext:["xu"]},{name:"msgenny",mime:"text/x-msgenny",mode:"mscgen",ext:["msgenny"]},{name:"WebAssembly",mime:"text/webassembly",mode:"wast",ext:["wat","wast"]}];for(var Ce=0;Ce<b.modeInfo.length;Ce++){var de=b.modeInfo[Ce];de.mimes&&(de.mime=de.mimes[0])}b.findModeByMIME=function(rt){rt=rt.toLowerCase();for(var Oe=0;Oe<b.modeInfo.length;Oe++){var xe=b.modeInfo[Oe];if(xe.mime==rt)return xe;if(xe.mimes){for(var Ae=0;Ae<xe.mimes.length;Ae++)if(xe.mimes[Ae]==rt)return xe}}if(/\+xml$/.test(rt))return b.findModeByMIME("application/xml");if(/\+json$/.test(rt))return b.findModeByMIME("application/json")},b.findModeByExtension=function(rt){rt=rt.toLowerCase();for(var Oe=0;Oe<b.modeInfo.length;Oe++){var xe=b.modeInfo[Oe];if(xe.ext){for(var Ae=0;Ae<xe.ext.length;Ae++)if(xe.ext[Ae]==rt)return xe}}},b.findModeByFileName=function(rt){for(var Oe=0;Oe<b.modeInfo.length;Oe++){var xe=b.modeInfo[Oe];if(xe.file&&xe.file.test(rt))return xe}var Ae=rt.lastIndexOf("."),Ve=Ae>-1&&rt.substring(Ae+1,rt.length);if(Ve)return b.findModeByExtension(Ve)},b.findModeByName=function(rt){rt=rt.toLowerCase();for(var Oe=0;Oe<b.modeInfo.length;Oe++){var xe=b.modeInfo[Oe];if(xe.name.toLowerCase()==rt)return xe;if(xe.alias){for(var Ae=0;Ae<xe.alias.length;Ae++)if(xe.alias[Ae].toLowerCase()==rt)return xe}}}})},67549:function(Yn,mn,z){(function(b){b(z(89780))})(function(b){"use strict";b.defineMode("stex",function(Ce,de){"use strict";function rt(Je,tt){Je.cmdState.push(tt)}function Oe(Je){return Je.cmdState.length>0?Je.cmdState[Je.cmdState.length-1]:null}function xe(Je){var tt=Je.cmdState.pop();tt&&tt.closeBracket()}function Ae(Je){for(var tt=Je.cmdState,je=tt.length-1;je>=0;je--){var We=tt[je];if(We.name!="DEFAULT")return We}return{styleIdentifier:function(){return null}}}function Ve(Je,tt,je){return function(){this.name=Je,this.bracketNo=0,this.style=tt,this.styles=je,this.argument=null,this.styleIdentifier=function(){return this.styles[this.bracketNo-1]||null},this.openBracket=function(){return this.bracketNo++,"bracket"},this.closeBracket=function(){}}}var Be={};Be.importmodule=Ve("importmodule","tag",["string","builtin"]),Be.documentclass=Ve("documentclass","tag",["","atom"]),Be.usepackage=Ve("usepackage","tag",["atom"]),Be.begin=Ve("begin","tag",["atom"]),Be.end=Ve("end","tag",["atom"]),Be.label=Ve("label","tag",["atom"]),Be.ref=Ve("ref","tag",["atom"]),Be.eqref=Ve("eqref","tag",["atom"]),Be.cite=Ve("cite","tag",["atom"]),Be.bibitem=Ve("bibitem","tag",["atom"]),Be.Bibitem=Ve("Bibitem","tag",["atom"]),Be.RBibitem=Ve("RBibitem","tag",["atom"]),Be.DEFAULT=function(){this.name="DEFAULT",this.style="tag",this.styleIdentifier=this.openBracket=this.closeBracket=function(){}};function fe(Je,tt){Je.f=tt}function Ge(Je,tt){var je;if(Je.match(/^\\[a-zA-Z@]+/)){var We=Je.current().slice(1);return je=Be.hasOwnProperty(We)?Be[We]:Be.DEFAULT,je=new je,rt(tt,je),fe(tt,vt),je.style}if(Je.match(/^\\[$&%#{}_]/)||Je.match(/^\\[,;!\/\\]/))return"tag";if(Je.match("\\["))return fe(tt,function(Mt,Ut){return be(Mt,Ut,"\\]")}),"keyword";if(Je.match("\\("))return fe(tt,function(Mt,Ut){return be(Mt,Ut,"\\)")}),"keyword";if(Je.match("$$"))return fe(tt,function(Mt,Ut){return be(Mt,Ut,"$$")}),"keyword";if(Je.match("$"))return fe(tt,function(Mt,Ut){return be(Mt,Ut,"$")}),"keyword";var ot=Je.next();if(ot=="%")return Je.skipToEnd(),"comment";if(ot=="}"||ot=="]"){if(je=Oe(tt),je)je.closeBracket(ot),fe(tt,vt);else return"error";return"bracket"}else return ot=="{"||ot=="["?(je=Be.DEFAULT,je=new je,rt(tt,je),"bracket"):/\d/.test(ot)?(Je.eatWhile(/[\w.%]/),"atom"):(Je.eatWhile(/[\w\-_]/),je=Ae(tt),je.name=="begin"&&(je.argument=Je.current()),je.styleIdentifier())}function be(Je,tt,je){if(Je.eatSpace())return null;if(je&&Je.match(je))return fe(tt,Ge),"keyword";if(Je.match(/^\\[a-zA-Z@]+/))return"tag";if(Je.match(/^[a-zA-Z]+/))return"variable-2";if(Je.match(/^\\[$&%#{}_]/)||Je.match(/^\\[,;!\/]/)||Je.match(/^[\^_&]/))return"tag";if(Je.match(/^[+\-<>|=,\/@!*:;'"`~#?]/))return null;if(Je.match(/^(\d+\.\d*|\d*\.\d+|\d+)/))return"number";var We=Je.next();return We=="{"||We=="}"||We=="["||We=="]"||We=="("||We==")"?"bracket":We=="%"?(Je.skipToEnd(),"comment"):"error"}function vt(Je,tt){var je=Je.peek(),We;return je=="{"||je=="["?(We=Oe(tt),We.openBracket(je),Je.eat(je),fe(tt,Ge),"bracket"):/[ \t\r]/.test(je)?(Je.eat(je),null):(fe(tt,Ge),xe(tt),Ge(Je,tt))}return{startState:function(){var Je=de.inMathMode?function(tt,je){return be(tt,je)}:Ge;return{cmdState:[],f:Je}},copyState:function(Je){return{cmdState:Je.cmdState.slice(),f:Je.f}},token:function(Je,tt){return tt.f(Je,tt)},blankLine:function(Je){Je.f=Ge,Je.cmdState.length=0},lineComment:"%"}}),b.defineMIME("text/x-stex","stex"),b.defineMIME("text/x-latex","stex")})},15525:function(Yn,mn,z){(function(b){b(z(89780))})(function(b){"use strict";var Ce={autoSelfClosers:{area:!0,base:!0,br:!0,col:!0,command:!0,embed:!0,frame:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0,menuitem:!0},implicitlyClosed:{dd:!0,li:!0,optgroup:!0,option:!0,p:!0,rp:!0,rt:!0,tbody:!0,td:!0,tfoot:!0,th:!0,tr:!0},contextGrabbers:{dd:{dd:!0,dt:!0},dt:{dd:!0,dt:!0},li:{li:!0},option:{option:!0,optgroup:!0},optgroup:{optgroup:!0},p:{address:!0,article:!0,aside:!0,blockquote:!0,dir:!0,div:!0,dl:!0,fieldset:!0,footer:!0,form:!0,h1:!0,h2:!0,h3:!0,h4:!0,h5:!0,h6:!0,header:!0,hgroup:!0,hr:!0,menu:!0,nav:!0,ol:!0,p:!0,pre:!0,section:!0,table:!0,ul:!0},rp:{rp:!0,rt:!0},rt:{rp:!0,rt:!0},tbody:{tbody:!0,tfoot:!0},td:{td:!0,th:!0},tfoot:{tbody:!0},th:{td:!0,th:!0},thead:{tbody:!0,tfoot:!0},tr:{tr:!0}},doNotIndent:{pre:!0},allowUnquoted:!0,allowMissing:!0,caseFold:!0},de={autoSelfClosers:{},implicitlyClosed:{},contextGrabbers:{},doNotIndent:{},allowUnquoted:!1,allowMissing:!1,allowMissingTagName:!1,caseFold:!1};b.defineMode("xml",function(rt,Oe){var xe=rt.indentUnit,Ae={},Ve=Oe.htmlMode?Ce:de;for(var Be in Ve)Ae[Be]=Ve[Be];for(var Be in Oe)Ae[Be]=Oe[Be];var fe,Ge;function be(Fe,Ze){function Se(He){return Ze.tokenize=He,He(Fe,Ze)}var ue=Fe.next();if(ue=="<")return Fe.eat("!")?Fe.eat("[")?Fe.match("CDATA[")?Se(tt("atom","]]>")):null:Fe.match("--")?Se(tt("comment","-->")):Fe.match("DOCTYPE",!0,!0)?(Fe.eatWhile(/[\w\._\-]/),Se(je(1))):null:Fe.eat("?")?(Fe.eatWhile(/[\w\._\-]/),Ze.tokenize=tt("meta","?>"),"meta"):(fe=Fe.eat("/")?"closeTag":"openTag",Ze.tokenize=vt,"tag bracket");if(ue=="&"){var gt;return Fe.eat("#")?Fe.eat("x")?gt=Fe.eatWhile(/[a-fA-F\d]/)&&Fe.eat(";"):gt=Fe.eatWhile(/[\d]/)&&Fe.eat(";"):gt=Fe.eatWhile(/[\w\.\-:]/)&&Fe.eat(";"),gt?"atom":"error"}else return Fe.eatWhile(/[^&<]/),null}be.isInText=!0;function vt(Fe,Ze){var Se=Fe.next();if(Se==">"||Se=="/"&&Fe.eat(">"))return Ze.tokenize=be,fe=Se==">"?"endTag":"selfcloseTag","tag bracket";if(Se=="=")return fe="equals",null;if(Se=="<"){Ze.tokenize=be,Ze.state=Ut,Ze.tagName=Ze.tagStart=null;var ue=Ze.tokenize(Fe,Ze);return ue?ue+" tag error":"tag error"}else return/[\'\"]/.test(Se)?(Ze.tokenize=Je(Se),Ze.stringStartCol=Fe.column(),Ze.tokenize(Fe,Ze)):(Fe.match(/^[^\s\u00a0=<>\"\']*[^\s\u00a0=<>\"\'\/]/),"word")}function Je(Fe){var Ze=function(Se,ue){for(;!Se.eol();)if(Se.next()==Fe){ue.tokenize=vt;break}return"string"};return Ze.isInAttribute=!0,Ze}function tt(Fe,Ze){return function(Se,ue){for(;!Se.eol();){if(Se.match(Ze)){ue.tokenize=be;break}Se.next()}return Fe}}function je(Fe){return function(Ze,Se){for(var ue;(ue=Ze.next())!=null;){if(ue=="<")return Se.tokenize=je(Fe+1),Se.tokenize(Ze,Se);if(ue==">")if(Fe==1){Se.tokenize=be;break}else return Se.tokenize=je(Fe-1),Se.tokenize(Ze,Se)}return"meta"}}function We(Fe,Ze,Se){this.prev=Fe.context,this.tagName=Ze,this.indent=Fe.indented,this.startOfLine=Se,(Ae.doNotIndent.hasOwnProperty(Ze)||Fe.context&&Fe.context.noIndent)&&(this.noIndent=!0)}function ot(Fe){Fe.context&&(Fe.context=Fe.context.prev)}function Mt(Fe,Ze){for(var Se;;){if(!Fe.context||(Se=Fe.context.tagName,!Ae.contextGrabbers.hasOwnProperty(Se)||!Ae.contextGrabbers[Se].hasOwnProperty(Ze)))return;ot(Fe)}}function Ut(Fe,Ze,Se){return Fe=="openTag"?(Se.tagStart=Ze.column(),se):Fe=="closeTag"?Me:Ut}function se(Fe,Ze,Se){return Fe=="word"?(Se.tagName=Ze.current(),Ge="tag",kt):Ae.allowMissingTagName&&Fe=="endTag"?(Ge="tag bracket",kt(Fe,Ze,Se)):(Ge="error",se)}function Me(Fe,Ze,Se){if(Fe=="word"){var ue=Ze.current();return Se.context&&Se.context.tagName!=ue&&Ae.implicitlyClosed.hasOwnProperty(Se.context.tagName)&&ot(Se),Se.context&&Se.context.tagName==ue||Ae.matchClosing===!1?(Ge="tag",st):(Ge="tag error",mt)}else return Ae.allowMissingTagName&&Fe=="endTag"?(Ge="tag bracket",st(Fe,Ze,Se)):(Ge="error",mt)}function st(Fe,Ze,Se){return Fe!="endTag"?(Ge="error",st):(ot(Se),Ut)}function mt(Fe,Ze,Se){return Ge="error",st(Fe,Ze,Se)}function kt(Fe,Ze,Se){if(Fe=="word")return Ge="attribute",Qe;if(Fe=="endTag"||Fe=="selfcloseTag"){var ue=Se.tagName,gt=Se.tagStart;return Se.tagName=Se.tagStart=null,Fe=="selfcloseTag"||Ae.autoSelfClosers.hasOwnProperty(ue)?Mt(Se,ue):(Mt(Se,ue),Se.context=new We(Se,ue,gt==Se.indented)),Ut}return Ge="error",kt}function Qe(Fe,Ze,Se){return Fe=="equals"?ut:(Ae.allowMissing||(Ge="error"),kt(Fe,Ze,Se))}function ut(Fe,Ze,Se){return Fe=="string"?dt:Fe=="word"&&Ae.allowUnquoted?(Ge="string",kt):(Ge="error",kt(Fe,Ze,Se))}function dt(Fe,Ze,Se){return Fe=="string"?dt:kt(Fe,Ze,Se)}return{startState:function(Fe){var Ze={tokenize:be,state:Ut,indented:Fe||0,tagName:null,tagStart:null,context:null};return Fe!=null&&(Ze.baseIndent=Fe),Ze},token:function(Fe,Ze){if(!Ze.tagName&&Fe.sol()&&(Ze.indented=Fe.indentation()),Fe.eatSpace())return null;fe=null;var Se=Ze.tokenize(Fe,Ze);return(Se||fe)&&Se!="comment"&&(Ge=null,Ze.state=Ze.state(fe||Se,Fe,Ze),Ge&&(Se=Ge=="error"?Se+" error":Ge)),Se},indent:function(Fe,Ze,Se){var ue=Fe.context;if(Fe.tokenize.isInAttribute)return Fe.tagStart==Fe.indented?Fe.stringStartCol+1:Fe.indented+xe;if(ue&&ue.noIndent)return b.Pass;if(Fe.tokenize!=vt&&Fe.tokenize!=be)return Se?Se.match(/^(\s*)/)[0].length:0;if(Fe.tagName)return Ae.multilineTagIndentPastTag!==!1?Fe.tagStart+Fe.tagName.length+2:Fe.tagStart+xe*(Ae.multilineTagIndentFactor||1);if(Ae.alignCDATA&&/<!\[CDATA\[/.test(Ze))return 0;var gt=Ze&&/^<(\/)?([\w_:\.-]*)/.exec(Ze);if(gt&>[1])for(;ue;)if(ue.tagName==gt[2]){ue=ue.prev;break}else if(Ae.implicitlyClosed.hasOwnProperty(ue.tagName))ue=ue.prev;else break;else if(gt)for(;ue;){var He=Ae.contextGrabbers[ue.tagName];if(He&&He.hasOwnProperty(gt[2]))ue=ue.prev;else break}for(;ue&&ue.prev&&!ue.startOfLine;)ue=ue.prev;return ue?ue.indent+xe:Fe.baseIndent||0},electricInput:/<\/[\s\w:]+>$/,blockCommentStart:"<!--",blockCommentEnd:"-->",configuration:Ae.htmlMode?"html":"xml",helperType:Ae.htmlMode?"html":"xml",skipAttribute:function(Fe){Fe.state==ut&&(Fe.state=kt)},xmlCurrentTag:function(Fe){return Fe.tagName?{name:Fe.tagName,close:Fe.type=="closeTag"}:null},xmlCurrentContext:function(Fe){for(var Ze=[],Se=Fe.context;Se;Se=Se.prev)Se.tagName&&Ze.push(Se.tagName);return Ze.reverse()}}}),b.defineMIME("text/xml","xml"),b.defineMIME("application/xml","xml"),b.mimeModes.hasOwnProperty("text/html")||b.defineMIME("text/html",{name:"xml",htmlMode:!0})})},24334:function(Yn,mn,z){var b,Ce;(function(de,rt){Yn.exports=rt(de)})(typeof self!="undefined"?self:typeof window!="undefined"?window:typeof z.g!="undefined"?z.g:this,function(de){"use strict";de=de||{};var rt=de.Base64,Oe="2.6.4",xe="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",Ae=function(Se){for(var ue={},gt=0,He=Se.length;gt<He;gt++)ue[Se.charAt(gt)]=gt;return ue}(xe),Ve=String.fromCharCode,Be=function(Se){if(Se.length<2){var ue=Se.charCodeAt(0);return ue<128?Se:ue<2048?Ve(192|ue>>>6)+Ve(128|ue&63):Ve(224|ue>>>12&15)+Ve(128|ue>>>6&63)+Ve(128|ue&63)}else{var ue=65536+(Se.charCodeAt(0)-55296)*1024+(Se.charCodeAt(1)-56320);return Ve(240|ue>>>18&7)+Ve(128|ue>>>12&63)+Ve(128|ue>>>6&63)+Ve(128|ue&63)}},fe=/[\uD800-\uDBFF][\uDC00-\uDFFFF]|[^\x00-\x7F]/g,Ge=function(Se){return Se.replace(fe,Be)},be=function(Se){var ue=[0,2,1][Se.length%3],gt=Se.charCodeAt(0)<<16|(Se.length>1?Se.charCodeAt(1):0)<<8|(Se.length>2?Se.charCodeAt(2):0),He=[xe.charAt(gt>>>18),xe.charAt(gt>>>12&63),ue>=2?"=":xe.charAt(gt>>>6&63),ue>=1?"=":xe.charAt(gt&63)];return He.join("")},vt=de.btoa&&typeof de.btoa=="function"?function(Se){return de.btoa(Se)}:function(Se){if(Se.match(/[^\x00-\xFF]/))throw new RangeError("The string contains invalid characters.");return Se.replace(/[\s\S]{1,3}/g,be)},Je=function(Se){return vt(Ge(String(Se)))},tt=function(Se){return Se.replace(/[+\/]/g,function(ue){return ue=="+"?"-":"_"}).replace(/=/g,"")},je=function(Se,ue){return ue?tt(Je(Se)):Je(Se)},We=function(Se){return je(Se,!0)},ot;de.Uint8Array&&(ot=function(Se,ue){for(var gt="",He=0,ke=Se.length;He<ke;He+=3){var Nt=Se[He],De=Se[He+1],ve=Se[He+2],At=Nt<<16|De<<8|ve;gt+=xe.charAt(At>>>18)+xe.charAt(At>>>12&63)+(typeof De!="undefined"?xe.charAt(At>>>6&63):"=")+(typeof ve!="undefined"?xe.charAt(At&63):"=")}return ue?tt(gt):gt});var Mt=/[\xC0-\xDF][\x80-\xBF]|[\xE0-\xEF][\x80-\xBF]{2}|[\xF0-\xF7][\x80-\xBF]{3}/g,Ut=function(Se){switch(Se.length){case 4:var ue=(7&Se.charCodeAt(0))<<18|(63&Se.charCodeAt(1))<<12|(63&Se.charCodeAt(2))<<6|63&Se.charCodeAt(3),gt=ue-65536;return Ve((gt>>>10)+55296)+Ve((gt&1023)+56320);case 3:return Ve((15&Se.charCodeAt(0))<<12|(63&Se.charCodeAt(1))<<6|63&Se.charCodeAt(2));default:return Ve((31&Se.charCodeAt(0))<<6|63&Se.charCodeAt(1))}},se=function(Se){return Se.replace(Mt,Ut)},Me=function(Se){var ue=Se.length,gt=ue%4,He=(ue>0?Ae[Se.charAt(0)]<<18:0)|(ue>1?Ae[Se.charAt(1)]<<12:0)|(ue>2?Ae[Se.charAt(2)]<<6:0)|(ue>3?Ae[Se.charAt(3)]:0),ke=[Ve(He>>>16),Ve(He>>>8&255),Ve(He&255)];return ke.length-=[0,0,2,1][gt],ke.join("")},st=de.atob&&typeof de.atob=="function"?function(Se){return de.atob(Se)}:function(Se){return Se.replace(/\S{1,4}/g,Me)},mt=function(Se){return st(String(Se).replace(/[^A-Za-z0-9\+\/]/g,""))},kt=function(Se){return se(st(Se))},Qe=function(Se){return String(Se).replace(/[-_]/g,function(ue){return ue=="-"?"+":"/"}).replace(/[^A-Za-z0-9\+\/]/g,"")},ut=function(Se){return kt(Qe(Se))},dt;de.Uint8Array&&(dt=function(Se){return Uint8Array.from(mt(Qe(Se)),function(ue){return ue.charCodeAt(0)})});var Fe=function(){var Se=de.Base64;return de.Base64=rt,Se};if(de.Base64={VERSION:Oe,atob:mt,btoa:vt,fromBase64:ut,toBase64:je,utob:Ge,encode:je,encodeURI:We,btou:se,decode:ut,noConflict:Fe,fromUint8Array:ot,toUint8Array:dt},typeof Object.defineProperty=="function"){var Ze=function(Se){return{value:Se,enumerable:!1,writable:!0,configurable:!0}};de.Base64.extendString=function(){Object.defineProperty(String.prototype,"fromBase64",Ze(function(){return ut(this)})),Object.defineProperty(String.prototype,"toBase64",Ze(function(Se){return je(this,Se)})),Object.defineProperty(String.prototype,"toBase64URI",Ze(function(){return je(this,!0)}))}}return de.Meteor&&(Base64=de.Base64),Yn.exports?Yn.exports.Base64=de.Base64:(b=[],Ce=function(){return de.Base64}.apply(mn,b),Ce!==void 0&&(Yn.exports=Ce)),{Base64:de.Base64}})},2859:function(Yn,mn,z){"use strict";z.d(mn,{hP:function(){return bt}});var b=function(le,ne){return(b=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(te,ae){te.__proto__=ae}||function(te,ae){for(var he in ae)Object.prototype.hasOwnProperty.call(ae,he)&&(te[he]=ae[he])})(le,ne)};function Ce(le,ne){function te(){this.constructor=le}b(le,ne),le.prototype=ne===null?Object.create(ne):(te.prototype=ne.prototype,new te)}function de(le,ne,te,ae){return new(te||(te=Promise))(function(he,re){function ce($e){try{lt(ae.next($e))}catch(Ie){re(Ie)}}function Pe($e){try{lt(ae.throw($e))}catch(Ie){re(Ie)}}function lt($e){var Ie;$e.done?he($e.value):(Ie=$e.value,Ie instanceof te?Ie:new te(function(ht){ht(Ie)})).then(ce,Pe)}lt((ae=ae.apply(le,ne||[])).next())})}function rt(le,ne){var te,ae,he,re,ce={label:0,sent:function(){if(1&he[0])throw he[1];return he[1]},trys:[],ops:[]};return re={next:Pe(0),throw:Pe(1),return:Pe(2)},typeof Symbol=="function"&&(re[Symbol.iterator]=function(){return this}),re;function Pe(lt){return function($e){return function(Ie){if(te)throw new TypeError("Generator is already executing.");for(;ce;)try{if(te=1,ae&&(he=2&Ie[0]?ae.return:Ie[0]?ae.throw||((he=ae.return)&&he.call(ae),0):ae.next)&&!(he=he.call(ae,Ie[1])).done)return he;switch(ae=0,he&&(Ie=[2&Ie[0],he.value]),Ie[0]){case 0:case 1:he=Ie;break;case 4:return ce.label++,{value:Ie[1],done:!1};case 5:ce.label++,ae=Ie[1],Ie=[0];continue;case 7:Ie=ce.ops.pop(),ce.trys.pop();continue;default:if(he=ce.trys,!((he=he.length>0&&he[he.length-1])||Ie[0]!==6&&Ie[0]!==2)){ce=0;continue}if(Ie[0]===3&&(!he||Ie[1]>he[0]&&Ie[1]<he[3])){ce.label=Ie[1];break}if(Ie[0]===6&&ce.label<he[1]){ce.label=he[1],he=Ie;break}if(he&&ce.label<he[2]){ce.label=he[2],ce.ops.push(Ie);break}he[2]&&ce.ops.pop(),ce.trys.pop();continue}Ie=ne.call(le,ce)}catch(ht){Ie=[6,ht],ae=0}finally{te=he=0}if(5&Ie[0])throw Ie[1];return{value:Ie[0]?Ie[1]:void 0,done:!0}}([lt,$e])}}}function Oe(){for(var le=0,ne=0,te=arguments.length;ne<te;ne++)le+=arguments[ne].length;var ae=Array(le),he=0;for(ne=0;ne<te;ne++)for(var re=arguments[ne],ce=0,Pe=re.length;ce<Pe;ce++,he++)ae[he]=re[ce];return ae}var xe=function(){function le(){}return le.createDefs=function(){return document.createElementNS("http://www.w3.org/2000/svg","defs")},le.setAttributes=function(ne,te){for(var ae=0,he=te;ae<he.length;ae++){var re=he[ae],ce=re[0],Pe=re[1];ne.setAttribute(ce,Pe)}},le.createRect=function(ne,te,ae){var he=document.createElementNS("http://www.w3.org/2000/svg","rect");return he.setAttribute("width",ne.toString()),he.setAttribute("height",te.toString()),ae&&le.setAttributes(he,ae),he},le.createLine=function(ne,te,ae,he,re){var ce=document.createElementNS("http://www.w3.org/2000/svg","line");return ce.setAttribute("x1",ne.toString()),ce.setAttribute("y1",te.toString()),ce.setAttribute("x2",ae.toString()),ce.setAttribute("y2",he.toString()),re&&le.setAttributes(ce,re),ce},le.createPolygon=function(ne,te){var ae=document.createElementNS("http://www.w3.org/2000/svg","polygon");return ae.setAttribute("points",ne),te&&le.setAttributes(ae,te),ae},le.createCircle=function(ne,te){var ae=document.createElementNS("http://www.w3.org/2000/svg","circle");return ae.setAttribute("cx",(ne/2).toString()),ae.setAttribute("cy",(ne/2).toString()),ae.setAttribute("r",ne.toString()),te&&le.setAttributes(ae,te),ae},le.createEllipse=function(ne,te,ae){var he=document.createElementNS("http://www.w3.org/2000/svg","ellipse");return he.setAttribute("cx",(ne/2).toString()),he.setAttribute("cy",(te/2).toString()),he.setAttribute("rx",(ne/2).toString()),he.setAttribute("ry",(te/2).toString()),ae&&le.setAttributes(he,ae),he},le.createGroup=function(ne){var te=document.createElementNS("http://www.w3.org/2000/svg","g");return ne&&le.setAttributes(te,ne),te},le.createTransform=function(){return document.createElementNS("http://www.w3.org/2000/svg","svg").createSVGTransform()},le.createMarker=function(ne,te,ae,he,re,ce,Pe){var lt=document.createElementNS("http://www.w3.org/2000/svg","marker");return le.setAttributes(lt,[["id",ne],["orient",te],["markerWidth",ae.toString()],["markerHeight",he.toString()],["refX",re.toString()],["refY",ce.toString()]]),lt.appendChild(Pe),lt},le.createText=function(ne){var te=document.createElementNS("http://www.w3.org/2000/svg","text");return te.setAttribute("x","0"),te.setAttribute("y","0"),ne&&le.setAttributes(te,ne),te},le.createTSpan=function(ne,te){var ae=document.createElementNS("http://www.w3.org/2000/svg","tspan");return ae.textContent=ne,te&&le.setAttributes(ae,te),ae},le.createImage=function(ne){var te=document.createElementNS("http://www.w3.org/2000/svg","image");return ne&&le.setAttributes(te,ne),te},le.createPoint=function(ne,te){var ae=document.createElementNS("http://www.w3.org/2000/svg","svg").createSVGPoint();return ae.x=ne,ae.y=te,ae},le.createPath=function(ne,te){var ae=document.createElementNS("http://www.w3.org/2000/svg","path");return ae.setAttribute("d",ne),te&&le.setAttributes(ae,te),ae},le}(),Ae=function(){function le(){}return le.addKey=function(ne){le.key=ne},Object.defineProperty(le,"isLicensed",{get:function(){return!!le.key&&new RegExp(/^MJS2-[A-Z][0-9]{3}-[A-Z][0-9]{3}-[0-9]{4}$/,"i").test(le.key)},enumerable:!1,configurable:!0}),le}(),Ve=function(){function le(){this.naturalSize=!1,this.imageType="image/png",this.markersOnly=!1}return le.prototype.rasterize=function(ne,te,ae){var he=this;return new Promise(function(re){var ce=ae!==void 0?ae:document.createElement("canvas");ne===null&&(he.markersOnly=!0,he.naturalSize=!1);var Pe=document.createElementNS("http://www.w3.org/2000/svg","svg");Pe.setAttribute("xmlns","http://www.w3.org/2000/svg"),Pe.setAttribute("width",te.width.baseVal.valueAsString),Pe.setAttribute("height",te.height.baseVal.valueAsString),Pe.setAttribute("viewBox","0 0 "+te.viewBox.baseVal.width.toString()+" "+te.viewBox.baseVal.height.toString()),Pe.innerHTML=te.innerHTML,he.naturalSize===!0?(Pe.width.baseVal.value=ne.naturalWidth,Pe.height.baseVal.value=ne.naturalHeight):he.width!==void 0&&he.height!==void 0&&(Pe.width.baseVal.value=he.width,Pe.height.baseVal.value=he.height),ce.width=Pe.width.baseVal.value,ce.height=Pe.height.baseVal.value;var lt=Pe.outerHTML,$e=ce.getContext("2d");he.markersOnly!==!0&&$e.drawImage(ne,0,0,ce.width,ce.height);var Ie=window.URL,ht=new Image(ce.width,ce.height);ht.setAttribute("crossOrigin","anonymous");var Et=new Blob([lt],{type:"image/svg+xml"}),Rt=Ie.createObjectURL(Et);ht.onload=function(){$e.drawImage(ht,0,0),Ie.revokeObjectURL(Rt);var Te=ce.toDataURL(he.imageType,he.imageQuality);re(Te)},ht.src=Rt})},le}(),Be=function(){},fe=function(){function le(ne){this._classNamePrefixBase="__markerjs2_",this.classes=[],this.rules=[],this.settings=this.defaultSettings,this._classNamePrefix=this._classNamePrefixBase+"_"+ne+"_"}return Object.defineProperty(le.prototype,"classNamePrefixBase",{get:function(){return this._classNamePrefixBase},enumerable:!1,configurable:!0}),Object.defineProperty(le.prototype,"classNamePrefix",{get:function(){return this._classNamePrefix},enumerable:!1,configurable:!0}),Object.defineProperty(le.prototype,"defaultSettings",{get:function(){return{canvasBackgroundColor:"#ffffff",toolbarBackgroundColor:"#111111",toolbarBackgroundHoverColor:"#333333",toolbarColor:"#eeeeee",toolbarHeight:40,toolboxColor:"#eeeeee",toolboxAccentColor:"#3080c3",undoButtonVisible:!0,redoButtonVisible:!1,zoomButtonVisible:!1,zoomOutButtonVisible:!1,clearButtonVisible:!1,resultButtonBlockVisible:!0,logoPosition:"left"}},enumerable:!1,configurable:!0}),Object.defineProperty(le.prototype,"fadeInAnimationClassName",{get:function(){return this.classNamePrefix+"fade_in"},enumerable:!1,configurable:!0}),Object.defineProperty(le.prototype,"fadeOutAnimationClassName",{get:function(){return this.classNamePrefix+"fade_out"},enumerable:!1,configurable:!0}),le.prototype.addClass=function(ne){return this.styleSheet===void 0&&this.addStyleSheet(),ne.name=""+this.classNamePrefix+ne.localName,this.classes.push(ne),this.styleSheet.sheet.insertRule("."+ne.name+" {"+ne.style+"}",this.styleSheet.sheet.cssRules.length),ne},le.prototype.addRule=function(ne){this.styleSheet===void 0&&this.addStyleSheet(),this.rules.push(ne),this.styleSheet.sheet.insertRule(ne.selector+" {"+ne.style+"}",this.styleSheet.sheet.cssRules.length)},le.prototype.addStyleSheet=function(){var ne;this.styleSheet=document.createElement("style"),((ne=this.styleSheetRoot)!==null&&ne!==void 0?ne:document.head).appendChild(this.styleSheet),this.addRule(new Ge("."+this.classNamePrefix+" h3","font-family: sans-serif")),this.addRule(new Ge("@keyframes "+this.classNamePrefix+"_fade_in_animation_frames",`
|
|
|
from {
|
|
|
opacity: 0;
|
|
|
}
|
|
|
to {
|
|
|
opacity: 1;
|
|
|
}
|
|
|
`)),this.addRule(new Ge("@keyframes "+this.classNamePrefix+"_fade_out_animation_frames",`
|
|
|
from {
|
|
|
opacity: 1;
|
|
|
}
|
|
|
to {
|
|
|
opacity: 0;
|
|
|
}
|
|
|
`)),this.addClass(new be("fade_in",`
|
|
|
animation-duration: 0.3s;
|
|
|
animation-name: `+this.classNamePrefix+`_fade_in_animation_frames;
|
|
|
`)),this.addClass(new be("fade_out",`
|
|
|
animation-duration: 0.3s;
|
|
|
animation-name: `+this.classNamePrefix+`_fade_out_animation_frames;
|
|
|
`))},le.prototype.removeStyleSheet=function(){var ne;this.styleSheet&&(((ne=this.styleSheetRoot)!==null&&ne!==void 0?ne:document.head).removeChild(this.styleSheet),this.styleSheet=void 0)},le}(),Ge=function(le,ne){this.selector=le,this.style=ne},be=function(le,ne){this.localName=le,this.style=ne},vt=function(){function le(ne,te,ae,he,re){this.buttons=[],this.markerButtons=[],this.buttonClickListeners=[],this.markerjsContainer=ne,this.displayMode=te,this.markerItems=ae,this.uiStyleSettings=he,this.styles=re,this.addStyles(),this.adjustLayout=this.adjustLayout.bind(this),this.overflowButtonClicked=this.overflowButtonClicked.bind(this),this.setCurrentMarker=this.setCurrentMarker.bind(this)}return le.prototype.show=function(ne){var te=this;this.uiContainer=document.createElement("div"),this.uiContainer.style.visibility=ne,this.uiContainer.className=this.toolbarStyleClass.name+" "+this.styles.fadeInAnimationClassName+" "+(this.uiStyleSettings.toolbarStyleColorsClassName?this.uiStyleSettings.toolbarStyleColorsClassName:this.toolbarStyleColorsClass.name);var ae=document.createElement("div");ae.className=this.toolbarBlockStyleClass.name,ae.style.whiteSpace="nowrap",this.uiContainer.appendChild(ae),this.addActionButton(ae,'<svg viewBox="0 0 24 24"><path d="M10.07 14.27a.997.997 0 011.33.48l2.3 4.99 1.8-.85-2.31-4.98c-.24-.5-.02-1.1.48-1.33l.28-.08 2.3-.45L8 5.12V15.9l1.82-1.47.25-.16m3.57 7.7a.99.99 0 01-1.33-.47l-2.18-4.74-2.51 2.02c-.17.14-.38.22-.62.22a1 1 0 01-1-1V3a1 1 0 011-1c.24 0 .47.09.64.23l.01-.01 11.49 9.64a1.001 1.001 0 01-.44 1.75l-3.16.62 2.2 4.73c.26.5.02 1.09-.48 1.32l-3.62 1.69z"/></svg>',"select"),this.addActionButton(ae,'<svg viewBox="0 0 24 24"><path d="M9 3v1H4v2h1v13a2 2 0 002 2h10a2 2 0 002-2V6h1V4h-5V3H9M7 6h10v13H7V6m2 2v9h2V8H9m4 0v9h2V8h-2z"/></svg>',"delete"),this.uiStyleSettings.clearButtonVisible&&this.addActionButton(ae,'<svg viewBox="0 0 24 24"><path d="M19.36 2.72l1.42 1.42-5.72 5.71c1.07 1.54 1.22 3.39.32 4.59L9.06 8.12c1.2-.9 3.05-.75 4.59.32l5.71-5.72M5.93 17.57c-2.01-2.01-3.24-4.41-3.58-6.65l4.88-2.09 7.44 7.44-2.09 4.88c-2.24-.34-4.64-1.57-6.65-3.58z"/></svg>',"clear"),this.uiStyleSettings.undoButtonVisible&&this.addActionButton(ae,'<svg viewBox="0 0 24 24"><path d="M12.5 8c-2.65 0-5.05 1-6.9 2.6L2 7v9h9l-3.62-3.62c1.39-1.16 3.16-1.88 5.12-1.88 3.54 0 6.55 2.31 7.6 5.5l2.37-.78C21.08 11.03 17.15 8 12.5 8z"/></svg>',"undo"),this.uiStyleSettings.redoButtonVisible&&this.addActionButton(ae,'<svg viewBox="0 0 24 24"><path d="M18.4 10.6C16.55 9 14.15 8 11.5 8c-4.65 0-8.58 3.03-9.96 7.22L3.9 16a8.002 8.002 0 017.6-5.5c1.95 0 3.73.72 5.12 1.88L13 16h9V7l-3.6 3.6z"/></svg>',"redo"),this.uiStyleSettings.zoomButtonVisible&&this.addActionButton(ae,'<svg viewBox="0 0 24 24"><path d="M15.5 14l5 5-1.5 1.5-5-5v-.79l-.27-.28A6.471 6.471 0 019.5 16 6.5 6.5 0 013 9.5 6.5 6.5 0 019.5 3 6.5 6.5 0 0116 9.5c0 1.61-.59 3.09-1.57 4.23l.28.27h.79m-6 0C12 14 14 12 14 9.5S12 5 9.5 5 5 7 5 9.5 7 14 9.5 14m2.5-4h-2v2H9v-2H7V9h2V7h1v2h2v1z"/></svg>',"zoom"),this.uiStyleSettings.zoomButtonVisible&&this.uiStyleSettings.zoomOutButtonVisible&&this.addActionButton(ae,'<svg viewBox="0 0 24 24"><path d="M15.5 14h-.79l-.28-.27A6.471 6.471 0 0016 9.5 6.5 6.5 0 009.5 3 6.5 6.5 0 003 9.5 6.5 6.5 0 009.5 16c1.61 0 3.09-.59 4.23-1.57l.27.28v.79l5 5 1.5-1.5-5-5m-6 0C7 14 5 12 5 9.5S7 5 9.5 5 14 7 14 9.5 12 14 9.5 14M7 9h5v1H7V9z"/></svg>',"zoom-out"),this.uiStyleSettings.notesButtonVisible&&this.addActionButton(ae,'<svg viewBox="0 0 24 24"><path d="M18.13 12l1.26-1.26c.44-.44 1-.68 1.61-.74V9l-6-6H5c-1.11 0-2 .89-2 2v14a2 2 0 002 2h6v-1.87l.13-.13H5V5h7v7h6.13M14 4.5l5.5 5.5H14V4.5m5.13 9.33l2.04 2.04L15.04 22H13v-2.04l6.13-6.13m3.72.36l-.98.98-2.04-2.04.98-.98c.19-.2.52-.2.72 0l1.32 1.32c.2.2.2.53 0 .72z"/></svg>',"notes"),this.markerButtonBlock=document.createElement("div"),this.markerButtonBlock.className=this.toolbarBlockStyleClass.name,this.markerButtonBlock.style.flexGrow="2",this.markerButtonBlock.style.textAlign="center",this.uiContainer.appendChild(this.markerButtonBlock),this.markerButtonOverflowBlock=document.createElement("div"),this.markerButtonOverflowBlock.className=this.toolbarOverflowBlockStyleClass.name+" "+(this.uiStyleSettings.toolbarOverflowBlockStyleColorsClassName?this.uiStyleSettings.toolbarOverflowBlockStyleColorsClassName:this.toolbarOverflowBlockStyleColorsClass.name),this.markerButtonOverflowBlock.style.display="none",this.uiContainer.appendChild(this.markerButtonOverflowBlock),this.markerItems&&(this.markerItems.forEach(function(re){var ce=document.createElement("div");ce.className=""+te.toolbarButtonStyleClass.name,ce.setAttribute("data-type-name",re.typeName),ce.innerHTML=re.icon,ce.addEventListener("click",function(){te.markerToolbarButtonClicked(ce,re)}),te.buttons.push(ce),te.markerButtons.push(ce)}),this.overflowButton=document.createElement("div"),this.overflowButton.className=this.toolbarButtonStyleClass.name+" "+(this.uiStyleSettings.toolbarButtonStyleColorsClassName?this.uiStyleSettings.toolbarButtonStyleColorsClassName:this.toolbarButtonStyleColorsClass.name),this.overflowButton.innerHTML='<svg viewBox="0 0 24 24"><path d="M12 16a2 2 0 012 2 2 2 0 01-2 2 2 2 0 01-2-2 2 2 0 012-2m0-6a2 2 0 012 2 2 2 0 01-2 2 2 2 0 01-2-2 2 2 0 012-2m0-6a2 2 0 012 2 2 2 0 01-2 2 2 2 0 01-2-2 2 2 0 012-2z"/></svg>',this.overflowButton.addEventListener("click",this.overflowButtonClicked),this.markerButtonBlock.appendChild(this.overflowButton));var he=document.createElement("div");he.className=this.toolbarBlockStyleClass.name,he.style.whiteSpace="nowrap",he.style.display=this.uiStyleSettings.resultButtonBlockVisible!==!1?"":"none",this.uiContainer.appendChild(he),this.addActionButton(he,'<svg viewBox="0 0 24 24"><path d="M9 20.42l-6.21-6.21 2.83-2.83L9 14.77l9.88-9.89 2.83 2.83L9 20.42z"/></svg>',"render"),this.addActionButton(he,'<svg viewBox="0 0 24 24"><path d="M20 6.91L17.09 4 12 9.09 6.91 4 4 6.91 9.09 12 4 17.09 6.91 20 12 14.91 17.09 20 20 17.09 14.91 12 20 6.91z"/></svg>',"close"),this.markerjsContainer.appendChild(this.uiContainer),this.setSelectMode(),this.setCurrentMarker(),this.adjustLayout()},le.prototype.addButtonClickListener=function(ne){this.buttonClickListeners.push(ne)},le.prototype.removeButtonClickListener=function(ne){this.buttonClickListeners.indexOf(ne)>-1&&this.buttonClickListeners.splice(this.buttonClickListeners.indexOf(ne),1)},le.prototype.setSelectMode=function(){this.resetButtonStyles(),this.setActiveButton(this.buttons[0])},le.prototype.adjustLayout=function(){if(this.markerButtons&&this.markerButtons.length>0){var ne=Math.floor(this.markerButtonBlock.clientWidth/this.uiStyleSettings.toolbarHeight)-1;this.markerButtonBlock.innerHTML="",this.markerButtonOverflowBlock.innerHTML="";for(var te=0;te<this.markerButtons.length;te++)te<ne||te===ne&&this.markerButtons.length-1===ne?this.markerButtonBlock.appendChild(this.markerButtons[te]):(te===ne&&this.markerButtonBlock.appendChild(this.overflowButton),this.markerButtonOverflowBlock.appendChild(this.markerButtons[te]))}},le.prototype.overflowButtonClicked=function(){this.markerButtonOverflowBlock.style.display!=="none"?(this.markerButtonOverflowBlock.className=this.markerButtonOverflowBlock.className.replace(this.styles.fadeInAnimationClassName,""),this.markerButtonOverflowBlock.style.display="none"):(this.markerButtonOverflowBlock.className+=" "+this.styles.fadeInAnimationClassName,this.markerButtonOverflowBlock.style.top=this.uiContainer.offsetTop+this.overflowButton.offsetHeight+"px",this.markerButtonOverflowBlock.style.right=this.uiContainer.offsetWidth-this.overflowButton.offsetLeft-this.overflowButton.offsetWidth+2*this.uiContainer.offsetLeft+"px",this.markerButtonOverflowBlock.style.display="inline-block")},le.prototype.resetButtonStyles=function(){var ne=this;this.buttons.forEach(function(te){te.className=te.className.replace(ne.uiStyleSettings.toolbarButtonStyleColorsClassName?ne.uiStyleSettings.toolbarButtonStyleColorsClassName:ne.toolbarButtonStyleColorsClass.name,"").trim(),te.className=te.className.replace(ne.uiStyleSettings.toolbarActiveButtonStyleColorsClassName?ne.uiStyleSettings.toolbarActiveButtonStyleColorsClassName:ne.toolbarActiveButtonStyleColorsClass.name,"").trim(),te.className+=" "+(ne.uiStyleSettings.toolbarButtonStyleColorsClassName?ne.uiStyleSettings.toolbarButtonStyleColorsClassName:ne.toolbarButtonStyleColorsClass.name)})},le.prototype.addActionButton=function(ne,te,ae){var he=this,re=document.createElement("div");switch(re.className=""+this.toolbarButtonStyleClass.name,re.innerHTML=te,re.setAttribute("data-action",ae),re.addEventListener("click",function(){he.actionToolbarButtonClicked(re,ae)}),ae){case"select":re.style.fill=this.uiStyleSettings.selectButtonColor;break;case"delete":case"clear":re.style.fill=this.uiStyleSettings.deleteButtonColor;break;case"undo":case"redo":re.style.fill=this.uiStyleSettings.selectButtonColor;break;case"render":re.style.fill=this.uiStyleSettings.okButtonColor;break;case"close":re.style.fill=this.uiStyleSettings.closeButtonColor}ne.appendChild(re),this.buttons.push(re)},le.prototype.addStyles=function(){this.toolbarStyleClass=this.styles.addClass(new be("toolbar",`
|
|
|
width: 100%;
|
|
|
flex-shrink: 0;
|
|
|
display: flex;
|
|
|
flex-direction: row;
|
|
|
justify-content: space-between;
|
|
|
height: `+this.uiStyleSettings.toolbarHeight+`px;
|
|
|
box-sizing: content-box;
|
|
|
`+(this.displayMode==="inline"?"border-top-left-radius: "+Math.round(this.uiStyleSettings.toolbarHeight/10)+"px;":"")+`
|
|
|
`+(this.displayMode==="inline"?"border-top-right-radius: "+Math.round(this.uiStyleSettings.toolbarHeight/10)+"px;":"")+`
|
|
|
overflow: hidden;
|
|
|
`)),this.toolbarStyleColorsClass=this.styles.addClass(new be("toolbar_colors",`
|
|
|
background-color: `+this.uiStyleSettings.toolbarBackgroundColor+`;
|
|
|
box-shadow: 0px 3px rgba(33, 33, 33, 0.1);
|
|
|
`)),this.toolbarBlockStyleClass=this.styles.addClass(new be("toolbar-block",`
|
|
|
display: inline-block;
|
|
|
box-sizing: content-box;
|
|
|
`)),this.toolbarOverflowBlockStyleClass=this.styles.addClass(new be("toolbar-overflow-block",`
|
|
|
position: absolute;
|
|
|
top: `+this.uiStyleSettings.toolbarHeight+`px;
|
|
|
max-width: `+2*this.uiStyleSettings.toolbarHeight+`px;
|
|
|
z-index: 10;
|
|
|
box-sizing: content-box;
|
|
|
`)),this.toolbarOverflowBlockStyleColorsClass=this.styles.addClass(new be("toolbar-overflow-block_colors",`
|
|
|
background-color: `+this.uiStyleSettings.toolbarBackgroundColor+`;
|
|
|
`));var ne=this.uiStyleSettings.toolbarHeight/4;this.toolbarButtonStyleClass=this.styles.addClass(new be("toolbar_button",`
|
|
|
display: inline-block;
|
|
|
width: `+(this.uiStyleSettings.toolbarHeight-2*ne)+`px;
|
|
|
height: `+(this.uiStyleSettings.toolbarHeight-2*ne)+`px;
|
|
|
padding: `+ne+`px;
|
|
|
box-sizing: content-box;
|
|
|
`)),this.toolbarButtonStyleColorsClass=this.styles.addClass(new be("toolbar_button_colors",`
|
|
|
fill: `+this.uiStyleSettings.toolbarColor+`;
|
|
|
`)),this.toolbarActiveButtonStyleColorsClass=this.styles.addClass(new be("toolbar_active_button",`
|
|
|
fill: `+this.uiStyleSettings.toolbarColor+`;
|
|
|
background-color: `+this.uiStyleSettings.toolbarBackgroundHoverColor+`
|
|
|
`)),this.styles.addRule(new Ge("."+this.toolbarButtonStyleClass.name+" svg",`
|
|
|
height: `+this.uiStyleSettings.toolbarHeight/2+`px;
|
|
|
`)),this.styles.addRule(new Ge("."+this.toolbarButtonStyleColorsClass.name+":hover",`
|
|
|
background-color: `+this.uiStyleSettings.toolbarBackgroundHoverColor+`
|
|
|
`))},le.prototype.markerToolbarButtonClicked=function(ne,te){this.setActiveButton(ne),this.buttonClickListeners&&this.buttonClickListeners.length>0&&this.buttonClickListeners.forEach(function(ae){return ae("marker",te)}),this.markerButtonOverflowBlock.style.display="none"},le.prototype.actionToolbarButtonClicked=function(ne,te){this.buttonClickListeners&&this.buttonClickListeners.length>0&&this.buttonClickListeners.forEach(function(ae){return ae("action",te)}),this.markerButtonOverflowBlock.style.display="none",this.setActiveButton(this.buttons[0])},le.prototype.setActiveButton=function(ne){this.resetButtonStyles(),ne.className=ne.className.replace(this.uiStyleSettings.toolbarButtonStyleColorsClassName?this.uiStyleSettings.toolbarButtonStyleColorsClassName:this.toolbarButtonStyleColorsClass.name,"").trim(),ne.className+=" "+(this.uiStyleSettings.toolbarActiveButtonStyleColorsClassName?this.uiStyleSettings.toolbarActiveButtonStyleColorsClassName:this.toolbarActiveButtonStyleColorsClass.name)},le.prototype.setActiveMarkerButton=function(ne){var te=this.markerButtons.find(function(ae){return ae.getAttribute("data-type-name")===ne});te&&this.setActiveButton(te)},le.prototype.setCurrentMarker=function(ne){var te=this;this.currentMarker=ne,this.buttons.filter(function(ae){return/delete|notes/.test(ae.getAttribute("data-action"))}).forEach(function(ae){te.currentMarker===void 0?(ae.style.fillOpacity="0.4",ae.style.pointerEvents="none"):(ae.style.fillOpacity="1",ae.style.pointerEvents="all")})},le}(),Je=function(){function le(ne,te,ae,he){this.panels=[],this.panelButtons=[],this.markerjsContainer=ne,this.displayMode=te,this.uiStyleSettings=ae,this.styles=he,this.panelButtonClick=this.panelButtonClick.bind(this),this.addStyles()}return le.prototype.addStyles=function(){var ne;this.toolboxStyleClass=this.styles.addClass(new be("toolbox",`
|
|
|
width: 100%;
|
|
|
flex-shrink: 0;
|
|
|
display: flex;
|
|
|
flex-direction: column;
|
|
|
font-family: sans-serif;
|
|
|
`+(this.displayMode==="popup"?"height:"+2.5*this.uiStyleSettings.toolbarHeight+"px;":"")+`
|
|
|
box-sizing: content-box;
|
|
|
`+(this.displayMode==="popup"?"background-color: "+this.uiStyleSettings.canvasBackgroundColor+";":"")+`
|
|
|
`+(this.displayMode==="inline"?"border-bottom-left-radius: "+Math.round(this.uiStyleSettings.toolbarHeight/10)+"px;":"")+`
|
|
|
`+(this.displayMode==="inline"?"border-bottom-right-radius: "+Math.round(this.uiStyleSettings.toolbarHeight/10)+"px;":"")+`
|
|
|
overflow: hidden;
|
|
|
`)),this.toolboxStyleColorsClass=this.styles.addClass(new be("toolbox_colors",`
|
|
|
color: `+this.uiStyleSettings.toolboxColor+`;
|
|
|
`));var te=this.uiStyleSettings.toolbarHeight/4;this.toolboxButtonRowStyleClass=this.styles.addClass(new be("toolbox-button-row",`
|
|
|
display: flex;
|
|
|
cursor: default;
|
|
|
box-sizing: content-box;
|
|
|
`)),this.toolboxButtonRowStyleColorsClass=this.styles.addClass(new be("toolbox-button-row_colors",`
|
|
|
background-color: `+this.uiStyleSettings.toolbarBackgroundColor+`;
|
|
|
`)),this.toolboxPanelRowStyleClass=this.styles.addClass(new be("toolbox-panel-row",`
|
|
|
display: flex;
|
|
|
`+(this.displayMode==="inline"?"position: absolute;":"")+`
|
|
|
`+(this.displayMode==="inline"?"bottom: "+this.uiStyleSettings.toolbarHeight+"px;":"")+`
|
|
|
cursor: default;
|
|
|
height: `+1.5*this.uiStyleSettings.toolbarHeight+`px;
|
|
|
`+(this.displayMode==="inline"?"width: 100%;":"")+`
|
|
|
box-sizing: content-box;
|
|
|
`)),this.toolboxPanelRowStyleColorsClass=this.styles.addClass(new be("toolbox-panel-row_colors",`
|
|
|
background-color: `+((ne=this.uiStyleSettings.toolboxBackgroundColor)!==null&&ne!==void 0?ne:this.uiStyleSettings.toolbarBackgroundHoverColor)+`;
|
|
|
`)),this.toolboxButtonStyleClass=this.styles.addClass(new be("toolbox_button",`
|
|
|
display: inline-block;
|
|
|
width: `+(this.uiStyleSettings.toolbarHeight-2*te)+`px;
|
|
|
height: `+(this.uiStyleSettings.toolbarHeight-2*te)+`px;
|
|
|
padding: `+te+`px;
|
|
|
box-sizing: content-box;
|
|
|
`)),this.toolboxButtonStyleColorsClass=this.styles.addClass(new be("toolbox-button_colors",`
|
|
|
fill: `+this.uiStyleSettings.toolbarColor+`;
|
|
|
`)),this.toolboxActiveButtonStyleColorsClass=this.styles.addClass(new be("toolbox-active-button_colors",`
|
|
|
background-color: `+this.uiStyleSettings.toolbarBackgroundHoverColor+`;
|
|
|
fill: `+this.uiStyleSettings.toolbarColor+`;
|
|
|
`)),this.styles.addRule(new Ge("."+this.toolboxButtonStyleColorsClass.name+":hover",`
|
|
|
background-color: `+this.uiStyleSettings.toolbarBackgroundHoverColor+`
|
|
|
`)),this.styles.addRule(new Ge("."+this.toolboxButtonStyleClass.name+" svg",`
|
|
|
height: `+this.uiStyleSettings.toolbarHeight/2+`px;
|
|
|
`))},le.prototype.show=function(ne){var te;this.uiContainer=document.createElement("div"),this.uiContainer.style.visibility=ne,this.uiContainer.className=this.toolboxStyleClass.name+" "+((te=this.uiStyleSettings.toolboxStyleColorsClassName)!==null&&te!==void 0?te:this.toolboxStyleColorsClass.name),this.markerjsContainer.appendChild(this.uiContainer)},le.prototype.setPanelButtons=function(ne){var te,ae,he=this;this.panels=ne,this.uiContainer!==void 0&&(this.uiContainer.innerHTML="",this.panelRow=document.createElement("div"),this.panelRow.className=this.toolboxPanelRowStyleClass.name+" "+((te=this.uiStyleSettings.toolboxPanelRowStyleColorsClassName)!==null&&te!==void 0?te:this.toolboxPanelRowStyleColorsClass.name),this.uiContainer.appendChild(this.panelRow),this.buttonRow=document.createElement("div"),this.buttonRow.className=this.toolboxButtonRowStyleClass.name+" "+((ae=this.uiStyleSettings.toolboxButtonRowStyleColorsClassName)!==null&&ae!==void 0?ae:this.toolboxButtonRowStyleColorsClass.name)+" ",this.uiContainer.appendChild(this.buttonRow),this.panelButtons.splice(0),this.panels.forEach(function(re){var ce;re.uiStyleSettings=he.uiStyleSettings;var Pe=document.createElement("div");Pe.className=he.toolboxButtonStyleClass.name+" "+((ce=he.uiStyleSettings.toolboxButtonStyleColorsClassName)!==null&&ce!==void 0?ce:he.toolboxButtonStyleColorsClass.name),Pe.innerHTML=re.icon,Pe.title=re.title,Pe.addEventListener("click",function(){he.panelButtonClick(re)}),he.panelButtons.push(Pe),he.buttonRow.appendChild(Pe)}),this.displayMode==="inline"?this.panelRow.style.display="none":this.panelRow.style.visibility="hidden")},le.prototype.panelButtonClick=function(ne){var te=this,ae=-1;if(ne!==this.activePanel){ae=this.panels.indexOf(ne),this.panelRow.innerHTML="";var he=ne.getUi();he.style.margin=this.uiStyleSettings.toolbarHeight/4+"px",this.panelRow.appendChild(he),this.panelRow.style.display="flex",this.panelRow.style.visibility="visible",this.panelRow.className=this.panelRow.className.replace(this.styles.fadeOutAnimationClassName,""),this.panelRow.className+=" "+this.styles.fadeInAnimationClassName,this.activePanel=ne}else this.activePanel=void 0,this.panelRow.className=this.panelRow.className.replace(this.styles.fadeInAnimationClassName,""),this.panelRow.className+=" "+this.styles.fadeOutAnimationClassName,setTimeout(function(){te.displayMode==="inline"?te.panelRow.style.display="none":te.panelRow.style.visibility="hidden"},200);this.panelButtons.forEach(function(re,ce){var Pe,lt;re.className=te.toolboxButtonStyleClass.name+" "+(ce===ae?""+((Pe=te.uiStyleSettings.toolboxActiveButtonStyleColorsClassName)!==null&&Pe!==void 0?Pe:te.toolboxActiveButtonStyleColorsClass.name):""+((lt=te.uiStyleSettings.toolboxButtonStyleColorsClassName)!==null&<!==void 0?lt:te.toolboxButtonStyleColorsClass.name))})},le}(),tt=function(le,ne){this.title=le,this.icon=ne},je=function(le){function ne(te,ae,he,re){var ce=le.call(this,te,re||'<svg viewBox="0 0 24 24"><path d="M17.5 12a1.5 1.5 0 01-1.5-1.5A1.5 1.5 0 0117.5 9a1.5 1.5 0 011.5 1.5 1.5 1.5 0 01-1.5 1.5m-3-4A1.5 1.5 0 0113 6.5 1.5 1.5 0 0114.5 5 1.5 1.5 0 0116 6.5 1.5 1.5 0 0114.5 8m-5 0A1.5 1.5 0 018 6.5 1.5 1.5 0 019.5 5 1.5 1.5 0 0111 6.5 1.5 1.5 0 019.5 8m-3 4A1.5 1.5 0 015 10.5 1.5 1.5 0 016.5 9 1.5 1.5 0 018 10.5 1.5 1.5 0 016.5 12M12 3a9 9 0 00-9 9 9 9 0 009 9 1.5 1.5 0 001.5-1.5c0-.39-.15-.74-.39-1-.23-.27-.38-.62-.38-1a1.5 1.5 0 011.5-1.5H16a5 5 0 005-5c0-4.42-4.03-8-9-8z"/></svg>')||this;return ce.colors=[],ce.addTransparent=!1,ce.colorBoxes=[],ce.colors=ae,ce.currentColor=he,ce.setCurrentColor=ce.setCurrentColor.bind(ce),ce.getColorBox=ce.getColorBox.bind(ce),ce}return Ce(ne,le),ne.prototype.getUi=function(){var te=this,ae=document.createElement("div");return ae.style.overflow="hidden",ae.style.whiteSpace="nowrap",this.colors.forEach(function(he){var re=te.getColorBox(he);ae.appendChild(re),te.colorBoxes.push(re)}),ae},ne.prototype.getColorBox=function(te){var ae=this,he=this.uiStyleSettings.toolbarHeight/4,re=this.uiStyleSettings.toolbarHeight-he,ce=document.createElement("div");ce.style.display="inline-block",ce.style.boxSizing="content-box",ce.style.width=re-2+"px",ce.style.height=re-2+"px",ce.style.padding="1px",ce.style.marginRight="2px",ce.style.marginBottom="2px",ce.style.borderWidth="2px",ce.style.borderStyle="solid",ce.style.borderRadius=(re+2)/2+"px",ce.style.borderColor=te===this.currentColor?this.uiStyleSettings.toolboxAccentColor:"transparent",ce.addEventListener("click",function(){ae.setCurrentColor(te,ce)});var Pe=document.createElement("div");return Pe.style.display="inline-block",Pe.style.width=re-2+"px",Pe.style.height=re-2+"px",Pe.style.backgroundColor=te,Pe.style.borderRadius=re/2+"px",te==="transparent"&&(Pe.style.fill=this.uiStyleSettings.toolboxAccentColor,Pe.innerHTML=`<svg viewBox="0 0 24 24">
|
|
|
<path d="M2,5.27L3.28,4L20,20.72L18.73,22L15.65,18.92C14.5,19.3 13.28,19.5 12,19.5C7,19.5 2.73,16.39 1,12C1.69,10.24 2.79,8.69 4.19,7.46L2,5.27M12,9A3,3 0 0,1 15,12C15,12.35 14.94,12.69 14.83,13L11,9.17C11.31,9.06 11.65,9 12,9M12,4.5C17,4.5 21.27,7.61 23,12C22.18,14.08 20.79,15.88 19,17.19L17.58,15.76C18.94,14.82 20.06,13.54 20.82,12C19.17,8.64 15.76,6.5 12,6.5C10.91,6.5 9.84,6.68 8.84,7L7.3,5.47C8.74,4.85 10.33,4.5 12,4.5M3.18,12C4.83,15.36 8.24,17.5 12,17.5C12.69,17.5 13.37,17.43 14,17.29L11.72,15C10.29,14.85 9.15,13.71 9,12.28L5.6,8.87C4.61,9.72 3.78,10.78 3.18,12Z" />
|
|
|
</svg>`),ce.appendChild(Pe),ce},ne.prototype.setCurrentColor=function(te,ae){var he=this;this.currentColor=te,this.colorBoxes.forEach(function(re){re.style.borderColor=re===ae?he.uiStyleSettings.toolboxAccentColor:"transparent"}),this.onColorChanged&&this.onColorChanged(te)},ne}(tt),We=function(){function le(ne,te,ae){this._state="new",this._isSelected=!1,this._container=ne,this._overlayContainer=te,this.globalSettings=ae,this.stateChanged=this.stateChanged.bind(this),this.colorChanged=this.colorChanged.bind(this),this.fillColorChanged=this.fillColorChanged.bind(this)}return Object.defineProperty(le.prototype,"typeName",{get:function(){return Object.getPrototypeOf(this).constructor.typeName},enumerable:!1,configurable:!0}),Object.defineProperty(le.prototype,"container",{get:function(){return this._container},enumerable:!1,configurable:!0}),Object.defineProperty(le.prototype,"overlayContainer",{get:function(){return this._overlayContainer},enumerable:!1,configurable:!0}),Object.defineProperty(le.prototype,"state",{get:function(){return this._state},enumerable:!1,configurable:!0}),Object.defineProperty(le.prototype,"toolboxPanels",{get:function(){return[]},enumerable:!1,configurable:!0}),le.prototype.ownsTarget=function(ne){return!1},Object.defineProperty(le.prototype,"isSelected",{get:function(){return this._isSelected},enumerable:!1,configurable:!0}),le.prototype.select=function(){this.container.style.cursor="move",this._isSelected=!0,this.manipulationStartState=this.getState()},le.prototype.deselect=function(){this.container.style.cursor="default",this._isSelected=!1,this.stateChanged()},le.prototype.pointerDown=function(ne,te){},le.prototype.dblClick=function(ne,te){},le.prototype.manipulate=function(ne){},le.prototype.pointerUp=function(ne){this.stateChanged()},le.prototype.dispose=function(){},le.prototype.addMarkerVisualToContainer=function(ne){this.container.childNodes.length>0?this.container.insertBefore(ne,this.container.childNodes[0]):this.container.appendChild(ne)},le.prototype.getState=function(){return{typeName:le.typeName,state:this.state,notes:this.notes}},le.prototype.restoreState=function(ne){this._state=ne.state,this.notes=ne.notes},le.prototype.scale=function(ne,te){},le.prototype.colorChanged=function(ne){this.onColorChanged&&this.onColorChanged(ne),this.stateChanged()},le.prototype.fillColorChanged=function(ne){this.onFillColorChanged&&this.onFillColorChanged(ne),this.stateChanged()},le.prototype.stateChanged=function(){if(this.onStateChanged&&this.state!=="creating"&&this.state!=="new"){var ne=this.getState();this.manipulationStartState!==void 0&&(this.manipulationStartState.state="select"),ne.state="select",JSON.stringify(this.manipulationStartState)!=JSON.stringify(ne)&&this.onStateChanged(this)}},le.typeName="MarkerBase",le}(),ot=function(){function le(){this.findGripByVisual=this.findGripByVisual.bind(this)}return le.prototype.findGripByVisual=function(ne){return this.topLeft.ownsTarget(ne)?this.topLeft:this.topCenter.ownsTarget(ne)?this.topCenter:this.topRight.ownsTarget(ne)?this.topRight:this.centerLeft.ownsTarget(ne)?this.centerLeft:this.centerRight.ownsTarget(ne)?this.centerRight:this.bottomLeft.ownsTarget(ne)?this.bottomLeft:this.bottomCenter.ownsTarget(ne)?this.bottomCenter:this.bottomRight.ownsTarget(ne)?this.bottomRight:void 0},le}(),Mt=function(){function le(){this.GRIP_SIZE=10,this.visual=xe.createGroup(),this.visual.appendChild(xe.createCircle(1.5*this.GRIP_SIZE,[["fill","transparent"]])),this.visual.appendChild(xe.createCircle(this.GRIP_SIZE,[["fill","#cccccc"],["fill-opacity","0.7"],["stroke","#333333"],["stroke-width","2"],["stroke-opacity","0.7"]]))}return le.prototype.ownsTarget=function(ne){return ne===this.visual||ne===this.visual.childNodes[0]||ne===this.visual.childNodes[1]},le}(),Ut=function(){function le(){}return le.toITransformMatrix=function(ne){return{a:ne.a,b:ne.b,c:ne.c,d:ne.d,e:ne.e,f:ne.f}},le.toSVGMatrix=function(ne,te){return ne.a=te.a,ne.b=te.b,ne.c=te.c,ne.d=te.d,ne.e=te.e,ne.f=te.f,ne},le}(),se=function(le){function ne(te,ae,he){var re=le.call(this,te,ae,he)||this;return re.left=0,re.top=0,re.width=0,re.height=0,re.defaultSize={x:50,y:20},re.offsetX=0,re.offsetY=0,re.rotationAngle=0,re.CB_DISTANCE=10,re._suppressMarkerCreateEvent=!1,re.container.transform.baseVal.appendItem(xe.createTransform()),re.setupControlBox(),re}return Ce(ne,le),Object.defineProperty(ne.prototype,"centerX",{get:function(){return this.left+this.width/2},enumerable:!1,configurable:!0}),Object.defineProperty(ne.prototype,"centerY",{get:function(){return this.top+this.height/2},enumerable:!1,configurable:!0}),Object.defineProperty(ne.prototype,"visual",{get:function(){return this._visual},set:function(te){this._visual=te;var ae=xe.createTransform();this._visual.transform.baseVal.appendItem(ae)},enumerable:!1,configurable:!0}),ne.prototype.ownsTarget=function(te){return!!le.prototype.ownsTarget.call(this,te)||!!(this.controlGrips.findGripByVisual(te)!==void 0||this.rotatorGrip!==void 0&&this.rotatorGrip.ownsTarget(te))},ne.prototype.pointerDown=function(te,ae){le.prototype.pointerDown.call(this,te,ae),this.state==="new"&&(this.left=te.x,this.top=te.y),this.manipulationStartLeft=this.left,this.manipulationStartTop=this.top,this.manipulationStartWidth=this.width,this.manipulationStartHeight=this.height;var he=this.unrotatePoint(te);if(this.manipulationStartX=he.x,this.manipulationStartY=he.y,this.offsetX=he.x-this.left,this.offsetY=he.y-this.top,this.state!=="new")if(this.select(),this.activeGrip=this.controlGrips.findGripByVisual(ae),this.activeGrip!==void 0)this._state="resize";else if(this.rotatorGrip!==void 0&&this.rotatorGrip.ownsTarget(ae)){this.activeGrip=this.rotatorGrip;var re=this.rotatePoint({x:this.centerX,y:this.centerY});this.left=re.x-this.width/2,this.top=re.y-this.height/2,this.moveVisual({x:this.left,y:this.top});var ce=this.container.transform.baseVal.getItem(0);ce.setRotate(this.rotationAngle,this.centerX,this.centerY),this.container.transform.baseVal.replaceItem(ce,0),this.adjustControlBox(),this._state="rotate"}else this._state="move"},ne.prototype.pointerUp=function(te){var ae=this.state;le.prototype.pointerUp.call(this,te),this.state==="creating"&&this.width<10&&this.height<10?(this.width=this.defaultSize.x,this.height=this.defaultSize.y):this.manipulate(te),this._state="select",ae==="creating"&&this.onMarkerCreated&&this._suppressMarkerCreateEvent===!1&&this.onMarkerCreated(this)},ne.prototype.moveVisual=function(te){this.visual.style.transform="translate("+te.x+"px, "+te.y+"px)"},ne.prototype.manipulate=function(te){var ae=this.unrotatePoint(te);this.state==="creating"?this.resize(te):this.state==="move"?(this.left=this.manipulationStartLeft+(ae.x-this.manipulationStartLeft)-this.offsetX,this.top=this.manipulationStartTop+(ae.y-this.manipulationStartTop)-this.offsetY,this.moveVisual({x:this.left,y:this.top}),this.adjustControlBox()):this.state==="resize"?this.resize(ae):this.state==="rotate"&&this.rotate(te)},ne.prototype.resize=function(te){var ae=this.manipulationStartLeft,he=this.manipulationStartWidth,re=this.manipulationStartTop,ce=this.manipulationStartHeight;switch(this.activeGrip){case this.controlGrips.bottomLeft:case this.controlGrips.centerLeft:case this.controlGrips.topLeft:ae=this.manipulationStartLeft+te.x-this.manipulationStartX,he=this.manipulationStartWidth+this.manipulationStartLeft-ae;break;case this.controlGrips.bottomRight:case this.controlGrips.centerRight:case this.controlGrips.topRight:case void 0:he=this.manipulationStartWidth+te.x-this.manipulationStartX}switch(this.activeGrip){case this.controlGrips.topCenter:case this.controlGrips.topLeft:case this.controlGrips.topRight:re=this.manipulationStartTop+te.y-this.manipulationStartY,ce=this.manipulationStartHeight+this.manipulationStartTop-re;break;case this.controlGrips.bottomCenter:case this.controlGrips.bottomLeft:case this.controlGrips.bottomRight:case void 0:ce=this.manipulationStartHeight+te.y-this.manipulationStartY}he>=0?(this.left=ae,this.width=he):(this.left=ae+he,this.width=-he),ce>=0?(this.top=re,this.height=ce):(this.top=re+ce,this.height=-ce),this.setSize()},ne.prototype.setSize=function(){this.moveVisual({x:this.left,y:this.top}),this.adjustControlBox()},ne.prototype.rotate=function(te){if(Math.abs(te.x-this.centerX)>.1){var ae=Math.sign(te.x-this.centerX);this.rotationAngle=180*Math.atan((te.y-this.centerY)/(te.x-this.centerX))/Math.PI+90*ae,this.applyRotation()}},ne.prototype.applyRotation=function(){var te=this.container.transform.baseVal.getItem(0);te.setRotate(this.rotationAngle,this.centerX,this.centerY),this.container.transform.baseVal.replaceItem(te,0)},ne.prototype.rotatePoint=function(te){if(this.rotationAngle===0)return te;var ae=this.container.getCTM(),he=xe.createPoint(te.x,te.y);return{x:(he=he.matrixTransform(ae)).x,y:he.y}},ne.prototype.unrotatePoint=function(te){if(this.rotationAngle===0)return te;var ae=this.container.getCTM();ae=ae.inverse();var he=xe.createPoint(te.x,te.y);return{x:(he=he.matrixTransform(ae)).x,y:he.y}},ne.prototype.select=function(){le.prototype.select.call(this),this.adjustControlBox(),this.controlBox.style.display=""},ne.prototype.deselect=function(){le.prototype.deselect.call(this),this.controlBox.style.display="none"},ne.prototype.setupControlBox=function(){this.controlBox=xe.createGroup();var te=xe.createTransform();te.setTranslate(-this.CB_DISTANCE/2,-this.CB_DISTANCE/2),this.controlBox.transform.baseVal.appendItem(te),this.container.appendChild(this.controlBox),this.controlRect=xe.createRect(this.width+this.CB_DISTANCE,this.height+this.CB_DISTANCE,[["stroke","black"],["stroke-width","1"],["stroke-opacity","0.5"],["stroke-dasharray","3, 2"],["fill","transparent"],["pointer-events","none"]]),this.controlBox.appendChild(this.controlRect),this.globalSettings.disableRotation!==!0&&(this.rotatorGripLine=xe.createLine((this.width+2*this.CB_DISTANCE)/2,this.top-this.CB_DISTANCE,(this.width+2*this.CB_DISTANCE)/2,this.top-3*this.CB_DISTANCE,[["stroke","black"],["stroke-width","1"],["stroke-opacity","0.5"],["stroke-dasharray","3, 2"]]),this.controlBox.appendChild(this.rotatorGripLine)),this.controlGrips=new ot,this.addControlGrips(),this.controlBox.style.display="none"},ne.prototype.adjustControlBox=function(){var te=this.controlBox.transform.baseVal.getItem(0);te.setTranslate(this.left-this.CB_DISTANCE/2,this.top-this.CB_DISTANCE/2),this.controlBox.transform.baseVal.replaceItem(te,0),this.controlRect.setAttribute("width",(this.width+this.CB_DISTANCE).toString()),this.controlRect.setAttribute("height",(this.height+this.CB_DISTANCE).toString()),this.rotatorGripLine!==void 0&&(this.rotatorGripLine.setAttribute("x1",((this.width+this.CB_DISTANCE)/2).toString()),this.rotatorGripLine.setAttribute("y1",(-this.CB_DISTANCE/2).toString()),this.rotatorGripLine.setAttribute("x2",((this.width+this.CB_DISTANCE)/2).toString()),this.rotatorGripLine.setAttribute("y2",(3*-this.CB_DISTANCE).toString())),this.positionGrips()},ne.prototype.addControlGrips=function(){this.controlGrips.topLeft=this.createGrip(),this.controlGrips.topCenter=this.createGrip(),this.controlGrips.topRight=this.createGrip(),this.controlGrips.centerLeft=this.createGrip(),this.controlGrips.centerRight=this.createGrip(),this.controlGrips.bottomLeft=this.createGrip(),this.controlGrips.bottomCenter=this.createGrip(),this.controlGrips.bottomRight=this.createGrip(),this.globalSettings.disableRotation!==!0&&(this.rotatorGrip=this.createGrip()),this.positionGrips()},ne.prototype.createGrip=function(){var te=new Mt;return te.visual.transform.baseVal.appendItem(xe.createTransform()),this.controlBox.appendChild(te.visual),te},ne.prototype.positionGrips=function(){var te=this.controlGrips.topLeft.GRIP_SIZE,ae=-te/2,he=ae,re=(this.width+this.CB_DISTANCE)/2-te/2,ce=(this.height+this.CB_DISTANCE)/2-te/2,Pe=this.height+this.CB_DISTANCE-te/2,lt=this.width+this.CB_DISTANCE-te/2;this.positionGrip(this.controlGrips.topLeft.visual,ae,he),this.positionGrip(this.controlGrips.topCenter.visual,re,he),this.positionGrip(this.controlGrips.topRight.visual,lt,he),this.positionGrip(this.controlGrips.centerLeft.visual,ae,ce),this.positionGrip(this.controlGrips.centerRight.visual,lt,ce),this.positionGrip(this.controlGrips.bottomLeft.visual,ae,Pe),this.positionGrip(this.controlGrips.bottomCenter.visual,re,Pe),this.positionGrip(this.controlGrips.bottomRight.visual,lt,Pe),this.rotatorGrip!==void 0&&this.positionGrip(this.rotatorGrip.visual,re,he-3*this.CB_DISTANCE)},ne.prototype.positionGrip=function(te,ae,he){var re=te.transform.baseVal.getItem(0);re.setTranslate(ae,he),te.transform.baseVal.replaceItem(re,0)},ne.prototype.hideControlBox=function(){this.controlBox.style.display="none"},ne.prototype.showControlBox=function(){this.controlBox.style.display=""},ne.prototype.getState=function(){return Object.assign({left:this.left,top:this.top,width:this.width,height:this.height,rotationAngle:this.rotationAngle,visualTransformMatrix:Ut.toITransformMatrix(this.visual.transform.baseVal.getItem(0).matrix),containerTransformMatrix:Ut.toITransformMatrix(this.container.transform.baseVal.getItem(0).matrix)},le.prototype.getState.call(this))},ne.prototype.restoreState=function(te){le.prototype.restoreState.call(this,te);var ae=te;this.left=ae.left,this.top=ae.top,this.width=ae.width,this.height=ae.height,this.rotationAngle=ae.rotationAngle,this.visual.transform.baseVal.getItem(0).setMatrix(Ut.toSVGMatrix(this.visual.transform.baseVal.getItem(0).matrix,ae.visualTransformMatrix)),this.container.transform.baseVal.getItem(0).setMatrix(Ut.toSVGMatrix(this.container.transform.baseVal.getItem(0).matrix,ae.containerTransformMatrix))},ne.prototype.scale=function(te,ae){le.prototype.scale.call(this,te,ae);var he=this.rotatePoint({x:this.left,y:this.top}),re=this.unrotatePoint({x:he.x*te,y:he.y*ae});this.left=re.x,this.top=re.y,this.width=this.width*te,this.height=this.height*ae,this.adjustControlBox()},ne}(We),Me=function(le){function ne(te,ae,he){var re=le.call(this,te,ae,he)||this;return re.fillColor="transparent",re.strokeColor="transparent",re.strokeWidth=0,re.strokeDasharray="",re.opacity=1,re.setStrokeColor=re.setStrokeColor.bind(re),re.setFillColor=re.setFillColor.bind(re),re.setStrokeWidth=re.setStrokeWidth.bind(re),re.setStrokeDasharray=re.setStrokeDasharray.bind(re),re.createVisual=re.createVisual.bind(re),re}return Ce(ne,le),ne.prototype.ownsTarget=function(te){return!(!le.prototype.ownsTarget.call(this,te)&&te!==this.visual)},ne.prototype.createVisual=function(){this.visual=xe.createRect(1,1,[["fill",this.fillColor],["stroke",this.strokeColor],["stroke-width",this.strokeWidth.toString()],["stroke-dasharray",this.strokeDasharray],["opacity",this.opacity.toString()]]),this.addMarkerVisualToContainer(this.visual)},ne.prototype.pointerDown=function(te,ae){le.prototype.pointerDown.call(this,te,ae),this.state==="new"&&(this.createVisual(),this.moveVisual(te),this._state="creating")},ne.prototype.manipulate=function(te){le.prototype.manipulate.call(this,te)},ne.prototype.resize=function(te){le.prototype.resize.call(this,te),this.setSize()},ne.prototype.setSize=function(){le.prototype.setSize.call(this),xe.setAttributes(this.visual,[["width",this.width.toString()],["height",this.height.toString()]])},ne.prototype.pointerUp=function(te){le.prototype.pointerUp.call(this,te),this.setSize()},ne.prototype.setStrokeColor=function(te){this.strokeColor=te,this.visual&&xe.setAttributes(this.visual,[["stroke",this.strokeColor]]),this.colorChanged(te),this.stateChanged()},ne.prototype.setFillColor=function(te){this.fillColor=te,this.visual&&xe.setAttributes(this.visual,[["fill",this.fillColor]]),this.stateChanged()},ne.prototype.setStrokeWidth=function(te){this.strokeWidth=te,this.visual&&xe.setAttributes(this.visual,[["stroke-width",this.strokeWidth.toString()]]),this.stateChanged()},ne.prototype.setStrokeDasharray=function(te){this.strokeDasharray=te,this.visual&&xe.setAttributes(this.visual,[["stroke-dasharray",this.strokeDasharray]]),this.stateChanged()},ne.prototype.getState=function(){return Object.assign({fillColor:this.fillColor,strokeColor:this.strokeColor,strokeWidth:this.strokeWidth,strokeDasharray:this.strokeDasharray,opacity:this.opacity},le.prototype.getState.call(this))},ne.prototype.restoreState=function(te){var ae=te;this.fillColor=ae.fillColor,this.strokeColor=ae.strokeColor,this.strokeWidth=ae.strokeWidth,this.strokeDasharray=ae.strokeDasharray,this.opacity=ae.opacity,this.createVisual(),le.prototype.restoreState.call(this,te),this.setSize()},ne.prototype.scale=function(te,ae){le.prototype.scale.call(this,te,ae),this.setSize()},ne.title="Rectangle marker",ne}(se),st=function(le){function ne(te,ae,he,re){var ce=le.call(this,te,re||'<svg viewBox="0 0 24 24"><path d="M3 17h18v-2H3v2m0 3h18v-1H3v1m0-7h18v-3H3v3m0-9v4h18V4H3z"/></svg>')||this;return ce.widths=[],ce.widthBoxes=[],ce.widths=ae,ce.currentWidth=he,ce.setCurrentWidth=ce.setCurrentWidth.bind(ce),ce}return Ce(ne,le),ne.prototype.getUi=function(){var te=this,ae=document.createElement("div");return ae.style.display="flex",ae.style.overflow="hidden",ae.style.flexGrow="2",this.widths.forEach(function(he){var re=document.createElement("div");re.style.display="flex",re.style.flexGrow="2",re.style.alignItems="center",re.style.justifyContent="space-between",re.style.padding="5px",re.style.borderWidth="2px",re.style.borderStyle="solid",re.style.borderColor=he===te.currentWidth?te.uiStyleSettings.toolboxAccentColor:"transparent",re.addEventListener("click",function(){te.setCurrentWidth(he,re)}),ae.appendChild(re);var ce=document.createElement("div");ce.innerText=he.toString(),ce.style.marginRight="5px",re.appendChild(ce);var Pe=document.createElement("div");Pe.style.minHeight="20px",Pe.style.flexGrow="2",Pe.style.display="flex",Pe.style.alignItems="center";var lt=document.createElement("hr");lt.style.minWidth="20px",lt.style.border="0px",lt.style.borderTop=he+"px solid "+te.uiStyleSettings.toolboxColor,lt.style.flexGrow="2",Pe.appendChild(lt),re.appendChild(Pe),te.widthBoxes.push(re)}),ae},ne.prototype.setCurrentWidth=function(te,ae){var he=this;this.currentWidth=te,this.widthBoxes.forEach(function(re){re.style.borderColor=re===ae?he.uiStyleSettings.toolboxAccentColor:"transparent"}),this.onWidthChanged&&this.onWidthChanged(this.currentWidth)},ne}(tt),mt=function(le){function ne(te,ae,he,re){var ce=le.call(this,te,re||'<svg viewBox="0 0 24 24"><path d="M3 16h5v-2H3v2m6.5 0h5v-2h-5v2m6.5 0h5v-2h-5v2M3 20h2v-2H3v2m4 0h2v-2H7v2m4 0h2v-2h-2v2m4 0h2v-2h-2v2m4 0h2v-2h-2v2M3 12h8v-2H3v2m10 0h8v-2h-8v2M3 4v4h18V4H3z"/></svg>')||this;return ce.styles=[],ce.styleBoxes=[],ce.styles=ae,ce.currentStyle=he,ce.setCurrentStyle=ce.setCurrentStyle.bind(ce),ce}return Ce(ne,le),ne.prototype.getUi=function(){var te=this,ae=document.createElement("div");return ae.style.display="flex",ae.style.overflow="hidden",ae.style.flexGrow="2",this.styles.forEach(function(he){var re=document.createElement("div");re.style.display="flex",re.style.alignItems="center",re.style.justifyContent="space-between",re.style.padding="5px",re.style.borderWidth="2px",re.style.borderStyle="solid",re.style.overflow="hidden",re.style.maxWidth=100/te.styles.length-5+"%",re.style.borderColor=he===te.currentStyle?te.uiStyleSettings.toolboxAccentColor:"transparent",re.addEventListener("click",function(){te.setCurrentStyle(he,re)}),ae.appendChild(re);var ce=document.createElement("div");ce.style.minHeight="20px",ce.style.flexGrow="2",ce.style.overflow="hidden";var Pe=`<svg width="100" height="20">
|
|
|
<line x1="0" y1="10" x2="100" y2="10" stroke="`+te.uiStyleSettings.toolboxColor+'" stroke-width="3" '+(he!==""?'stroke-dasharray="'+he+'"':"")+` />
|
|
|
</svg>`;ce.innerHTML=Pe,re.appendChild(ce),te.styleBoxes.push(re)}),ae},ne.prototype.setCurrentStyle=function(te,ae){var he=this;this.currentStyle=te,this.styleBoxes.forEach(function(re){re.style.borderColor=re===ae?he.uiStyleSettings.toolboxAccentColor:"transparent"}),this.onStyleChanged&&this.onStyleChanged(this.currentStyle)},ne}(tt),kt=function(le){function ne(te,ae,he){var re=le.call(this,te,ae,he)||this;return re.strokeColor=he.defaultColor,re.strokeWidth=he.defaultStrokeWidth,re.strokeDasharray=he.defaultStrokeDasharray,re.strokePanel=new je("Line color",he.defaultColorSet,he.defaultColor),re.strokePanel.onColorChanged=re.setStrokeColor,re.strokeWidthPanel=new st("Line width",he.defaultStrokeWidths,he.defaultStrokeWidth),re.strokeWidthPanel.onWidthChanged=re.setStrokeWidth,re.strokeStylePanel=new mt("Line style",he.defaultStrokeDasharrays,he.defaultStrokeDasharray),re.strokeStylePanel.onStyleChanged=re.setStrokeDasharray,re}return Ce(ne,le),Object.defineProperty(ne.prototype,"toolboxPanels",{get:function(){return[this.strokePanel,this.strokeWidthPanel,this.strokeStylePanel]},enumerable:!1,configurable:!0}),ne.prototype.getState=function(){var te=le.prototype.getState.call(this);return te.typeName=ne.typeName,te},ne.typeName="FrameMarker",ne.title="Frame marker",ne.icon='<svg viewBox="0 0 24 24"><path d="M4 6v13h16V6H4m14 11H6V8h12v9z"/></svg>',ne}(Me),Qe=function(){this.defaultColorSet=["#EF4444","#10B981","#2563EB","#FFFF00","#7C3AED","#F472B6","#000000","#FFFFFF"],this.defaultColor=this.defaultColorSet[0],this.defaultFillColor=this.defaultColorSet[0],this.defaultStrokeColor=this.defaultColorSet[7],this.defaultHighlightColor=this.defaultColorSet[3],this.defaultStrokeWidth=3,this.defaultStrokeDasharray="",this.defaultHighlightOpacity=.5,this.defaultFontFamily="Helvetica, Arial, sans-serif",this.defaultStrokeWidths=[1,2,3,5,10],this.defaultStrokeDasharrays=["","3","12 3","9 6 3 6"],this.defaultOpacitySteps=[.1,.25,.5,.75,1],this.displayMode="inline",this.defaultFontFamilies=['Times, "Times New Roman", serif',"Helvetica, Arial, sans-serif",'Courier, "Courier New", monospace',"cursive","fantasy"],this.popupMargin=30,this.newFreehandMarkerOnPointerUp=!1,this.defaultColorsFollowCurrentColors=!1,this.freehandPixelRatio=1,this.disableRotation=!1,this.defaultCaptionFontSize="1rem",this.defaultCaptionText="Text"},ut=function(le){function ne(te,ae,he){var re=le.call(this,te,ae,he)||this;return re.x1=0,re.y1=0,re.x2=0,re.y2=0,re.defaultLength=50,re.manipulationStartX=0,re.manipulationStartY=0,re.manipulationStartX1=0,re.manipulationStartY1=0,re.manipulationStartX2=0,re.manipulationStartY2=0,re.setupControlBox(),re}return Ce(ne,le),ne.prototype.ownsTarget=function(te){return!!le.prototype.ownsTarget.call(this,te)||!(!this.grip1.ownsTarget(te)&&!this.grip2.ownsTarget(te))},ne.prototype.pointerDown=function(te,ae){le.prototype.pointerDown.call(this,te,ae),this.manipulationStartX=te.x,this.manipulationStartY=te.y,this.state==="new"&&(this.x1=te.x,this.y1=te.y,this.x2=te.x,this.y2=te.y),this.manipulationStartX1=this.x1,this.manipulationStartY1=this.y1,this.manipulationStartX2=this.x2,this.manipulationStartY2=this.y2,this.state!=="new"&&(this.select(),this.grip1.ownsTarget(ae)?this.activeGrip=this.grip1:this.grip2.ownsTarget(ae)?this.activeGrip=this.grip2:this.activeGrip=void 0,this.activeGrip?this._state="resize":this._state="move")},ne.prototype.pointerUp=function(te){var ae=this.state;le.prototype.pointerUp.call(this,te),this.state==="creating"&&Math.abs(this.x1-this.x2)<10&&Math.abs(this.y1-this.y2)<10?(this.x2=this.x1+this.defaultLength,this.adjustVisual(),this.adjustControlBox()):this.manipulate(te),this._state="select",ae==="creating"&&this.onMarkerCreated&&this.onMarkerCreated(this)},ne.prototype.adjustVisual=function(){},ne.prototype.manipulate=function(te){this.state==="creating"?this.resize(te):this.state==="move"?(this.x1=this.manipulationStartX1+te.x-this.manipulationStartX,this.y1=this.manipulationStartY1+te.y-this.manipulationStartY,this.x2=this.manipulationStartX2+te.x-this.manipulationStartX,this.y2=this.manipulationStartY2+te.y-this.manipulationStartY,this.adjustVisual(),this.adjustControlBox()):this.state==="resize"&&this.resize(te)},ne.prototype.resize=function(te){switch(this.activeGrip){case this.grip1:this.x1=te.x,this.y1=te.y;break;case this.grip2:case void 0:this.x2=te.x,this.y2=te.y}this.adjustVisual(),this.adjustControlBox()},ne.prototype.select=function(){le.prototype.select.call(this),this.adjustControlBox(),this.controlBox.style.display=""},ne.prototype.deselect=function(){le.prototype.deselect.call(this),this.controlBox.style.display="none"},ne.prototype.setupControlBox=function(){this.controlBox=xe.createGroup(),this.container.appendChild(this.controlBox),this.addControlGrips(),this.controlBox.style.display="none"},ne.prototype.adjustControlBox=function(){this.positionGrips()},ne.prototype.addControlGrips=function(){this.grip1=this.createGrip(),this.grip2=this.createGrip(),this.positionGrips()},ne.prototype.createGrip=function(){var te=new Mt;return te.visual.transform.baseVal.appendItem(xe.createTransform()),this.controlBox.appendChild(te.visual),te},ne.prototype.positionGrips=function(){var te=this.grip1.GRIP_SIZE;this.positionGrip(this.grip1.visual,this.x1-te/2,this.y1-te/2),this.positionGrip(this.grip2.visual,this.x2-te/2,this.y2-te/2)},ne.prototype.positionGrip=function(te,ae,he){var re=te.transform.baseVal.getItem(0);re.setTranslate(ae,he),te.transform.baseVal.replaceItem(re,0)},ne.prototype.getState=function(){return Object.assign({x1:this.x1,y1:this.y1,x2:this.x2,y2:this.y2},le.prototype.getState.call(this))},ne.prototype.restoreState=function(te){le.prototype.restoreState.call(this,te);var ae=te;this.x1=ae.x1,this.y1=ae.y1,this.x2=ae.x2,this.y2=ae.y2},ne.prototype.scale=function(te,ae){le.prototype.scale.call(this,te,ae),this.x1=this.x1*te,this.y1=this.y1*ae,this.x2=this.x2*te,this.y2=this.y2*ae,this.adjustVisual(),this.adjustControlBox()},ne}(We),dt=function(le){function ne(te,ae,he){var re=le.call(this,te,ae,he)||this;return re.strokeColor="transparent",re.strokeWidth=0,re.strokeDasharray="",re.setStrokeColor=re.setStrokeColor.bind(re),re.setStrokeWidth=re.setStrokeWidth.bind(re),re.setStrokeDasharray=re.setStrokeDasharray.bind(re),re.strokeColor=he.defaultColor,re.strokeWidth=he.defaultStrokeWidth,re.strokeDasharray=he.defaultStrokeDasharray,re.strokePanel=new je("Line color",he.defaultColorSet,he.defaultColor),re.strokePanel.onColorChanged=re.setStrokeColor,re.strokeWidthPanel=new st("Line width",he.defaultStrokeWidths,he.defaultStrokeWidth),re.strokeWidthPanel.onWidthChanged=re.setStrokeWidth,re.strokeStylePanel=new mt("Line style",he.defaultStrokeDasharrays,he.defaultStrokeDasharray),re.strokeStylePanel.onStyleChanged=re.setStrokeDasharray,re}return Ce(ne,le),ne.prototype.ownsTarget=function(te){return!(!le.prototype.ownsTarget.call(this,te)&&te!==this.visual&&te!==this.selectorLine&&te!==this.visibleLine)},ne.prototype.createVisual=function(){this.visual=xe.createGroup(),this.selectorLine=xe.createLine(this.x1,this.y1,this.x2,this.y2,[["stroke","transparent"],["stroke-width",(this.strokeWidth+10).toString()]]),this.visibleLine=xe.createLine(this.x1,this.y1,this.x2,this.y2,[["stroke",this.strokeColor],["stroke-width",this.strokeWidth.toString()]]),this.visual.appendChild(this.selectorLine),this.visual.appendChild(this.visibleLine),this.addMarkerVisualToContainer(this.visual)},ne.prototype.pointerDown=function(te,ae){le.prototype.pointerDown.call(this,te,ae),this.state==="new"&&(this.createVisual(),this.adjustVisual(),this._state="creating")},ne.prototype.adjustVisual=function(){this.selectorLine&&this.visibleLine&&(this.selectorLine.setAttribute("x1",this.x1.toString()),this.selectorLine.setAttribute("y1",this.y1.toString()),this.selectorLine.setAttribute("x2",this.x2.toString()),this.selectorLine.setAttribute("y2",this.y2.toString()),this.visibleLine.setAttribute("x1",this.x1.toString()),this.visibleLine.setAttribute("y1",this.y1.toString()),this.visibleLine.setAttribute("x2",this.x2.toString()),this.visibleLine.setAttribute("y2",this.y2.toString()),xe.setAttributes(this.visibleLine,[["stroke",this.strokeColor]]),xe.setAttributes(this.visibleLine,[["stroke-width",this.strokeWidth.toString()]]),xe.setAttributes(this.visibleLine,[["stroke-dasharray",this.strokeDasharray.toString()]]))},ne.prototype.setStrokeColor=function(te){this.strokeColor=te,this.adjustVisual(),this.colorChanged(te)},ne.prototype.setStrokeWidth=function(te){this.strokeWidth=te,this.adjustVisual()},ne.prototype.setStrokeDasharray=function(te){this.strokeDasharray=te,this.adjustVisual(),this.stateChanged()},Object.defineProperty(ne.prototype,"toolboxPanels",{get:function(){return[this.strokePanel,this.strokeWidthPanel,this.strokeStylePanel]},enumerable:!1,configurable:!0}),ne.prototype.getState=function(){var te=Object.assign({strokeColor:this.strokeColor,strokeWidth:this.strokeWidth,strokeDasharray:this.strokeDasharray},le.prototype.getState.call(this));return te.typeName=ne.typeName,te},ne.prototype.restoreState=function(te){le.prototype.restoreState.call(this,te);var ae=te;this.strokeColor=ae.strokeColor,this.strokeWidth=ae.strokeWidth,this.strokeDasharray=ae.strokeDasharray,this.createVisual(),this.adjustVisual()},ne.typeName="LineMarker",ne.title="Line marker",ne.icon='<svg viewBox="0 0 24 24"><path d="M19 13H5v-2h14v2z"/></svg>',ne}(ut),Fe=function(le){function ne(te,ae,he,re){var ce=le.call(this,te,re||'<svg viewBox="0 0 24 24"><path d="M17 8h3v12h1v1h-4v-1h1v-3h-4l-1.5 3H14v1h-4v-1h1l6-12m1 1l-3.5 7H18V9M5 3h5c1.11 0 2 .89 2 2v11H9v-5H6v5H3V5c0-1.11.89-2 2-2m1 2v4h3V5H6z"/></svg>')||this;return ce.fonts=[],ce.fontBoxes=[],ce.fonts=ae,ce.currentFont=he,ce.setCurrentFont=ce.setCurrentFont.bind(ce),ce}return Ce(ne,le),ne.prototype.getUi=function(){var te=this,ae=document.createElement("div");return ae.style.overflow="hidden",ae.style.flexGrow="2",this.fonts.forEach(function(he){var re=document.createElement("div");re.style.display="inline-block",re.style.alignItems="center",re.style.justifyContent="space-between",re.style.padding="5px",re.style.borderWidth="2px",re.style.borderStyle="solid",re.style.overflow="hidden",re.style.maxWidth=100/te.fonts.length-5+"%",re.style.borderColor=he===te.currentFont?te.uiStyleSettings.toolboxAccentColor:"transparent",re.addEventListener("click",function(){te.setCurrentFont(he,re)}),ae.appendChild(re);var ce=document.createElement("div");ce.style.display="flex",ce.style.minHeight="20px",ce.style.flexGrow="2",ce.style.fontFamily=he,ce.style.overflow="hidden";var Pe=document.createElement("div");Pe.style.whiteSpace="nowrap",Pe.style.overflow="hidden",Pe.style.textOverflow="ellipsis",Pe.innerHTML="The quick brown fox jumps over the lazy dog",ce.appendChild(Pe),re.appendChild(ce),te.fontBoxes.push(re)}),ae},ne.prototype.setCurrentFont=function(te,ae){var he=this;this.currentFont=te,this.fontBoxes.forEach(function(re){re.style.borderColor=re===ae?he.uiStyleSettings.toolboxAccentColor:"transparent"}),this.onFontChanged&&this.onFontChanged(this.currentFont)},ne}(tt),Ze=function(le){function ne(te,ae,he){var re=le.call(this,te,ae,he)||this;return re.color="transparent",re.padding=5,re.DEFAULT_TEXT="\u8BF7\u8F93\u5165\u6587\u672C",re.text=re.DEFAULT_TEXT,re.isMoved=!1,re.color=he.defaultColor,re.fontFamily=he.defaultFontFamily,re.defaultSize={x:100,y:30},re.setColor=re.setColor.bind(re),re.setFont=re.setFont.bind(re),re.renderText=re.renderText.bind(re),re.sizeText=re.sizeText.bind(re),re.textEditDivClicked=re.textEditDivClicked.bind(re),re.showTextEditor=re.showTextEditor.bind(re),re.setSize=re.setSize.bind(re),re.positionTextEditor=re.positionTextEditor.bind(re),re.colorPanel=new je("Color",he.defaultColorSet,he.defaultColor),re.colorPanel.onColorChanged=re.setColor,re.fontFamilyPanel=new Fe("Font",he.defaultFontFamilies,he.defaultFontFamily),re.fontFamilyPanel.onFontChanged=re.setFont,re}return Ce(ne,le),ne.prototype.ownsTarget=function(te){if(le.prototype.ownsTarget.call(this,te)||te===this.visual||te===this.textElement||te===this.bgRectangle)return!0;var ae=!1;return this.textElement.childNodes.forEach(function(he){he===te&&(ae=!0)}),ae},ne.prototype.createVisual=function(){this.visual=xe.createGroup(),this.bgRectangle=xe.createRect(1,1,[["fill","transparent"]]),this.visual.appendChild(this.bgRectangle),this.textElement=xe.createText([["fill",this.color],["font-family",this.fontFamily],["font-size","16px"],["x","0"],["y","0"]]),this.textElement.transform.baseVal.appendItem(xe.createTransform()),this.textElement.transform.baseVal.appendItem(xe.createTransform()),this.visual.appendChild(this.textElement),this.addMarkerVisualToContainer(this.visual),this.renderText()},ne.prototype.pointerDown=function(te,ae){le.prototype.pointerDown.call(this,te,ae),this.isMoved=!1,this.pointerDownPoint=te,this.pointerDownTimestamp=Date.now(),this.state==="new"&&(this.createVisual(),this.moveVisual(te),this._state="creating")},ne.prototype.renderText=function(){var te=this;if(this.textElement){for(;this.textElement.lastChild;)this.textElement.removeChild(this.textElement.lastChild);this.text.split(/\r\n|[\n\v\f\r\x85\u2028\u2029]/).forEach(function(ae){te.textElement.appendChild(xe.createTSpan(ae.trim()===""?" ":ae.trim(),[["x","0"],["dy","1.2em"]]))}),setTimeout(this.sizeText,10)}},ne.prototype.getTextScale=function(){var te=this.textElement.getBBox(),ae=1;if(te.width>0&&te.height>0){var he=(1*this.width-this.width*this.padding*2/100)/te.width,re=(1*this.height-this.height*this.padding*2/100)/te.height;ae=Math.min(he,re)}return ae},ne.prototype.getTextPosition=function(te){var ae=this.textElement.getBBox(),he=0,re=0;return ae.width>0&&ae.height>0&&(he=(this.width-ae.width*te)/2,re=this.height/2-ae.height*te/2),{x:he,y:re}},ne.prototype.sizeText=function(){var te=this.textElement.getBBox(),ae=this.getTextScale(),he=this.getTextPosition(ae);he.y-=te.y*ae,navigator.userAgent.indexOf("Edge/")>-1?this.textElement.style.transform="translate("+he.x+"px, "+he.y+"px) scale("+ae+", "+ae+")":(this.textElement.transform.baseVal.getItem(0).setTranslate(he.x,he.y),this.textElement.transform.baseVal.getItem(1).setScale(ae,ae))},ne.prototype.manipulate=function(te){le.prototype.manipulate.call(this,te),this.pointerDownPoint!==void 0&&(this.isMoved=Math.abs(te.x-this.pointerDownPoint.x)>5||Math.abs(te.y-this.pointerDownPoint.y)>5)},ne.prototype.resize=function(te){le.prototype.resize.call(this,te),this.isMoved=!0,this.setSize(),this.sizeText()},ne.prototype.setSize=function(){le.prototype.setSize.call(this),this.visual&&this.bgRectangle&&(xe.setAttributes(this.visual,[["width",this.width.toString()],["height",this.height.toString()]]),xe.setAttributes(this.bgRectangle,[["width",this.width.toString()],["height",this.height.toString()]]))},ne.prototype.pointerUp=function(te){var ae=this.state;ae==="creating"&&(this._suppressMarkerCreateEvent=!0),le.prototype.pointerUp.call(this,te),this.setSize(),(ae==="creating"||!this.isMoved&&Date.now()-this.pointerDownTimestamp>500)&&this.showTextEditor(),this.pointerDownPoint=void 0},ne.prototype.showTextEditor=function(){var te=this;this._state="edit",this.overlayContainer.innerHTML="",this.textEditDiv=document.createElement("div"),this.textEditDiv.style.flexGrow="2",this.textEditDiv.style.alignItems="center",this.textEditDiv.style.justifyContent="center",this.textEditDiv.style.pointerEvents="auto",this.textEditDiv.style.overflow="hidden",this.textEditor=document.createElement("div"),this.textEditor.style.position="absolute",this.textEditor.style.fontFamily=this.fontFamily,this.textEditor.style.lineHeight="1em",this.textEditor.innerText=this.text,this.textEditor.contentEditable="true",this.textEditor.style.color=this.color,this.textEditor.style.whiteSpace="pre",this.positionTextEditor(),this.textEditor.addEventListener("pointerup",function(ae){ae.stopPropagation()}),this.textEditor.addEventListener("input",function(){for(var ae=Number.parseFloat(te.textEditor.style.fontSize);te.textEditor.clientWidth>=Number.parseInt(te.textEditor.style.maxWidth)&&ae>.9;)ae-=.1,te.textEditor.style.fontSize=Math.max(ae,.9)+"em"}),this.textEditor.addEventListener("keyup",function(ae){ae.cancelBubble=!0}),this.textEditor.addEventListener("paste",function(ae){if(ae.clipboardData){var he=ae.clipboardData.getData("text"),re=window.getSelection();if(!re.rangeCount)return!1;re.deleteFromDocument(),re.getRangeAt(0).insertNode(document.createTextNode(he)),ae.preventDefault()}}),this.textEditDiv.addEventListener("pointerup",function(){te.textEditDivClicked(te.textEditor.innerText)}),this.textEditDiv.appendChild(this.textEditor),this.overlayContainer.appendChild(this.textEditDiv),this.hideVisual(),this.textEditor.focus(),document.execCommand("selectAll")},ne.prototype.positionTextEditor=function(){if(this.state==="edit")if(this.textEditor===void 0)this.showTextEditor();else{this.textElement.style.display="";var te=this.getTextScale(),ae=this.rotatePoint({x:this.left+this.width/2,y:this.top+this.height/2}),he=this.textElement.getBBox(),re={x:he.width*te,y:he.height*te};ae.x-=re.x/2,ae.y-=re.y/2,this.textEditor.style.top=ae.y+"px",this.textEditor.style.left=ae.x+"px",this.textEditor.style.maxWidth=this.overlayContainer.offsetWidth-ae.x+"px",this.textEditor.style.fontSize=Math.max(16*te,12)+"px",this.textElement.style.display="none"}},ne.prototype.textEditDivClicked=function(te){this.text=te.trim(),this.overlayContainer.innerHTML="",this.renderText(),this.showVisual(),this._suppressMarkerCreateEvent&&(this._suppressMarkerCreateEvent=!1,this.onMarkerCreated&&this.onMarkerCreated(this)),this.stateChanged()},ne.prototype.select=function(){le.prototype.select.call(this),this.state==="edit"&&this.textEditDivClicked(this.textEditor.innerText)},ne.prototype.deselect=function(){this.state==="edit"&&this.textEditDivClicked(this.textEditor.innerText),le.prototype.deselect.call(this)},ne.prototype.dblClick=function(te,ae){le.prototype.dblClick.call(this,te,ae),this.showTextEditor()},ne.prototype.setColor=function(te){this.textElement&&xe.setAttributes(this.textElement,[["fill",te]]),this.color=te,this.textEditor&&(this.textEditor.style.color=this.color),this.colorChanged(te)},ne.prototype.setFont=function(te){this.textElement&&xe.setAttributes(this.textElement,[["font-family",te]]),this.fontFamily=te,this.textEditor&&(this.textEditor.style.fontFamily=this.fontFamily),this.renderText(),this.stateChanged()},ne.prototype.hideVisual=function(){this.textElement.style.display="none",this.hideControlBox()},ne.prototype.showVisual=function(){this.state==="edit"&&(this._state="select"),this.textElement.style.display="",this.showControlBox()},Object.defineProperty(ne.prototype,"toolboxPanels",{get:function(){return[this.colorPanel,this.fontFamilyPanel]},enumerable:!1,configurable:!0}),ne.prototype.getState=function(){var te=Object.assign({color:this.color,fontFamily:this.fontFamily,padding:this.padding,text:this.text},le.prototype.getState.call(this));return te.typeName=ne.typeName,te},ne.prototype.restoreState=function(te){var ae=te;this.color=ae.color,this.fontFamily=ae.fontFamily,this.padding=ae.padding,this.text=ae.text,this.createVisual(),le.prototype.restoreState.call(this,te),this.setSize()},ne.prototype.scale=function(te,ae){le.prototype.scale.call(this,te,ae),this.setSize(),this.sizeText(),this.positionTextEditor()},ne.typeName="TextMarker",ne.title="Text marker",ne.icon='<svg viewBox="0 0 24 24"><path d="M9.6 14L12 7.7l2.4 6.3M11 5L5.5 19h2.2l1.1-3H15l1.1 3h2.2L13 5h-2z"/></svg>',ne}(se),Se=function(le){function ne(te,ae,he){var re=le.call(this,te,ae,he)||this;return re.color="transparent",re.lineWidth=3,re.drawing=!1,re.pixelRatio=1,re.color=he.defaultColor,re.lineWidth=he.defaultStrokeWidth,re.pixelRatio=he.freehandPixelRatio,re.setColor=re.setColor.bind(re),re.addCanvas=re.addCanvas.bind(re),re.finishCreation=re.finishCreation.bind(re),re.setLineWidth=re.setLineWidth.bind(re),re.colorPanel=new je("Color",he.defaultColorSet,he.defaultColor),re.colorPanel.onColorChanged=re.setColor,re.lineWidthPanel=new st("Line width",he.defaultStrokeWidths,he.defaultStrokeWidth),re.lineWidthPanel.onWidthChanged=re.setLineWidth,re}return Ce(ne,le),ne.prototype.ownsTarget=function(te){return!(!le.prototype.ownsTarget.call(this,te)&&te!==this.visual&&te!==this.drawingImage)},ne.prototype.createVisual=function(){this.visual=xe.createGroup(),this.drawingImage=xe.createImage(),this.visual.appendChild(this.drawingImage);var te=xe.createTransform();this.visual.transform.baseVal.appendItem(te),this.addMarkerVisualToContainer(this.visual)},ne.prototype.pointerDown=function(te,ae){this.state==="new"&&(this.addCanvas(),this.createVisual(),this._state="creating"),this.state==="creating"?(this.canvasContext.strokeStyle=this.color,this.canvasContext.lineWidth=this.lineWidth,this.canvasContext.beginPath(),this.canvasContext.moveTo(te.x,te.y),this.drawing=!0):le.prototype.pointerDown.call(this,te,ae)},ne.prototype.manipulate=function(te){this.state==="creating"?this.drawing&&(this.canvasContext.lineTo(te.x,te.y),this.canvasContext.stroke()):le.prototype.manipulate.call(this,te)},ne.prototype.resize=function(te){le.prototype.resize.call(this,te),xe.setAttributes(this.visual,[["width",this.width.toString()],["height",this.height.toString()]]),xe.setAttributes(this.drawingImage,[["width",this.width.toString()],["height",this.height.toString()]])},ne.prototype.pointerUp=function(te){this._state==="creating"?this.drawing&&(this.canvasContext.closePath(),this.drawing=!1,this.globalSettings.newFreehandMarkerOnPointerUp&&this.finishCreation()):le.prototype.pointerUp.call(this,te)},ne.prototype.addCanvas=function(){this.overlayContainer.innerHTML="",this.canvasElement=document.createElement("canvas"),this.canvasElement.width=this.overlayContainer.clientWidth*this.pixelRatio,this.canvasElement.height=this.overlayContainer.clientHeight*this.pixelRatio,this.canvasContext=this.canvasElement.getContext("2d"),this.canvasContext.scale(this.pixelRatio,this.pixelRatio),this.overlayContainer.appendChild(this.canvasElement)},ne.prototype.select=function(){this.state==="creating"&&this.finishCreation(),le.prototype.select.call(this)},ne.prototype.deselect=function(){this.state==="creating"&&this.finishCreation(),le.prototype.deselect.call(this)},ne.prototype.finishCreation=function(){for(var te=this.canvasContext.getImageData(0,0,this.canvasElement.width,this.canvasElement.height),ae=[this.canvasElement.width+1,this.canvasElement.height+1,-1,-1],he=ae[0],re=ae[1],ce=ae[2],Pe=ae[3],lt=!1,$e=0;$e<this.canvasElement.height;$e++)for(var Ie=0;Ie<this.canvasElement.width;Ie++)te.data[$e*this.canvasElement.width*4+4*Ie+3]>0&&(lt=!0,$e<re&&(re=$e),Ie<he&&(he=Ie),$e>Pe&&(Pe=$e),Ie>ce&&(ce=Ie));if(lt){this.left=he/this.pixelRatio,this.top=re/this.pixelRatio,this.width=(ce-he)/this.pixelRatio,this.height=(Pe-re)/this.pixelRatio;var ht=document.createElement("canvas");ht.width=ce-he,ht.height=Pe-re,ht.getContext("2d").putImageData(this.canvasContext.getImageData(he,re,ce-he,Pe-re),0,0),this.drawingImgUrl=ht.toDataURL("image/png"),this.setDrawingImage(),this._state="select",this.onMarkerCreated&&this.onMarkerCreated(this)}this.overlayContainer.innerHTML=""},ne.prototype.setDrawingImage=function(){xe.setAttributes(this.drawingImage,[["width",this.width.toString()],["height",this.height.toString()]]),xe.setAttributes(this.drawingImage,[["href",this.drawingImgUrl]]),this.moveVisual({x:this.left,y:this.top})},ne.prototype.setColor=function(te){this.color=te,this.colorChanged(te)},ne.prototype.setLineWidth=function(te){this.lineWidth=te},Object.defineProperty(ne.prototype,"toolboxPanels",{get:function(){return this.state==="new"||this.state==="creating"?[this.colorPanel,this.lineWidthPanel]:[]},enumerable:!1,configurable:!0}),ne.prototype.getState=function(){var te=Object.assign({drawingImgUrl:this.drawingImgUrl},le.prototype.getState.call(this));return te.typeName=ne.typeName,te},ne.prototype.restoreState=function(te){this.createVisual(),le.prototype.restoreState.call(this,te),this.drawingImgUrl=te.drawingImgUrl,this.setDrawingImage()},ne.prototype.scale=function(te,ae){le.prototype.scale.call(this,te,ae),this.setDrawingImage()},ne.typeName="FreehandMarker",ne.title="Freehand marker",ne.icon='<svg viewBox="0 0 24 24"><path d="M9.75 20.85c1.78-.7 1.39-2.63.49-3.85-.89-1.25-2.12-2.11-3.36-2.94A9.817 9.817 0 014.54 12c-.28-.33-.85-.94-.27-1.06.59-.12 1.61.46 2.13.68.91.38 1.81.82 2.65 1.34l1.01-1.7C8.5 10.23 6.5 9.32 4.64 9.05c-1.06-.16-2.18.06-2.54 1.21-.32.99.19 1.99.77 2.77 1.37 1.83 3.5 2.71 5.09 4.29.34.33.75.72.95 1.18.21.44.16.47-.31.47-1.24 0-2.79-.97-3.8-1.61l-1.01 1.7c1.53.94 4.09 2.41 5.96 1.79m11.09-15.6c.22-.22.22-.58 0-.79l-1.3-1.3a.562.562 0 00-.78 0l-1.02 1.02 2.08 2.08M11 10.92V13h2.08l6.15-6.15-2.08-2.08L11 10.92z"/></svg>',ne}(se),ue=function(le){function ne(te,ae,he){var re=le.call(this,te,he||'<svg viewBox="0 0 24 24"><path d="M8 14v4l-6-6 6-6v4h8V6l6 6-6 6v-4H8z"/></svg>')||this;return re.typeBoxes=[],re.currentType=ae,re.setCurrentType=re.setCurrentType.bind(re),re}return Ce(ne,le),ne.prototype.getUi=function(){var te=this,ae=document.createElement("div");ae.style.display="flex",ae.style.overflow="hidden",ae.style.flexGrow="2";for(var he=function(Pe){var lt="both";switch(Pe){case 0:lt="both";break;case 1:lt="start";break;case 2:lt="end";break;case 3:lt="none"}var $e=document.createElement("div");if($e.style.display="flex",$e.style.flexGrow="2",$e.style.alignItems="center",$e.style.justifyContent="space-between",$e.style.padding="5px",$e.style.borderWidth="2px",$e.style.borderStyle="solid",$e.style.borderColor=lt===re.currentType?re.uiStyleSettings.toolboxAccentColor:"transparent",$e.addEventListener("click",function(){te.setCurrentType(lt,$e)}),ae.appendChild($e),lt==="both"||lt==="start"){var Ie=document.createElement("div");Ie.style.display="flex",Ie.style.alignItems="center",Ie.style.minHeight="20px",Ie.innerHTML=`<svg viewBox="0 0 10 10" width="10" height="10" xmlns="http://www.w3.org/2000/svg">
|
|
|
<polygon points="0,5 10,0 10,10" fill="`+(re.uiStyleSettings!==void 0?re.uiStyleSettings.toolboxColor:"#eeeeee")+`" />
|
|
|
</svg>`,Ie.style.marginLeft="5px",$e.appendChild(Ie)}var ht=document.createElement("div");ht.style.display="flex",ht.style.alignItems="center",ht.style.minHeight="20px",ht.style.flexGrow="2";var Et=document.createElement("hr");if(Et.style.minWidth="20px",Et.style.border="0px",Et.style.borderTop="3px solid "+(re.uiStyleSettings!==void 0?re.uiStyleSettings.toolboxColor:"#eeeeee"),Et.style.flexGrow="2",ht.appendChild(Et),$e.appendChild(ht),lt==="both"||lt==="end"){var Rt=document.createElement("div");Rt.style.display="flex",Rt.style.alignItems="center",Rt.style.minHeight="20px",Rt.innerHTML=`<svg viewBox="0 0 10 10" width="10" height="10" xmlns="http://www.w3.org/2000/svg">
|
|
|
<polygon points="0,0 10,5 0,10" fill="`+(re.uiStyleSettings!==void 0?re.uiStyleSettings.toolboxColor:"#eeeeee")+`" />
|
|
|
</svg>`,Rt.style.marginRight="5px",$e.appendChild(Rt)}re.typeBoxes.push($e)},re=this,ce=0;ce<4;ce++)he(ce);return ae},ne.prototype.setCurrentType=function(te,ae){var he=this;this.currentType=te,this.typeBoxes.forEach(function(re){re.style.borderColor=re===ae?he.uiStyleSettings!==void 0?he.uiStyleSettings.toolboxAccentColor:"#3080c3":"transparent"}),this.onArrowTypeChanged&&this.onArrowTypeChanged(this.currentType)},ne}(tt),gt=function(le){function ne(te,ae,he){var re=le.call(this,te,ae,he)||this;return re.arrowType="end",re.arrowBaseHeight=10,re.arrowBaseWidth=10,re.getArrowPoints=re.getArrowPoints.bind(re),re.setArrowType=re.setArrowType.bind(re),re.arrowTypePanel=new ue("Arrow type","end"),re.arrowTypePanel.onArrowTypeChanged=re.setArrowType,re}return Ce(ne,le),ne.prototype.ownsTarget=function(te){return!(!le.prototype.ownsTarget.call(this,te)&&te!==this.arrow1&&te!==this.arrow2)},ne.prototype.getArrowPoints=function(te,ae){var he=this.arrowBaseWidth+2*this.strokeWidth,re=this.arrowBaseHeight+2*this.strokeWidth;return te-he/2+","+(ae+re/2)+" "+te+","+(ae-re/2)+" "+(te+he/2)+","+(ae+re/2)},ne.prototype.createTips=function(){this.arrow1=xe.createPolygon(this.getArrowPoints(this.x1,this.y1),[["fill",this.strokeColor]]),this.arrow1.transform.baseVal.appendItem(xe.createTransform()),this.visual.appendChild(this.arrow1),this.arrow2=xe.createPolygon(this.getArrowPoints(this.x2,this.y2),[["fill",this.strokeColor]]),this.arrow2.transform.baseVal.appendItem(xe.createTransform()),this.visual.appendChild(this.arrow2)},ne.prototype.pointerDown=function(te,ae){le.prototype.pointerDown.call(this,te,ae),this.state==="creating"&&this.createTips()},ne.prototype.adjustVisual=function(){if(le.prototype.adjustVisual.call(this),this.arrow1&&this.arrow2){this.arrow1.style.display=this.arrowType==="both"||this.arrowType==="start"?"":"none",this.arrow2.style.display=this.arrowType==="both"||this.arrowType==="end"?"":"none",xe.setAttributes(this.arrow1,[["points",this.getArrowPoints(this.x1,this.y1)],["fill",this.strokeColor]]),xe.setAttributes(this.arrow2,[["points",this.getArrowPoints(this.x2,this.y2)],["fill",this.strokeColor]]);var te=0;Math.abs(this.x1-this.x2)>.1&&(te=180*Math.atan((this.y2-this.y1)/(this.x2-this.x1))/Math.PI+90*Math.sign(this.x1-this.x2));var ae=this.arrow1.transform.baseVal.getItem(0);ae.setRotate(te,this.x1,this.y1),this.arrow1.transform.baseVal.replaceItem(ae,0);var he=this.arrow2.transform.baseVal.getItem(0);he.setRotate(te+180,this.x2,this.y2),this.arrow2.transform.baseVal.replaceItem(he,0)}},ne.prototype.setArrowType=function(te){this.arrowType=te,this.adjustVisual(),this.stateChanged()},Object.defineProperty(ne.prototype,"toolboxPanels",{get:function(){return[this.strokePanel,this.strokeWidthPanel,this.strokeStylePanel,this.arrowTypePanel]},enumerable:!1,configurable:!0}),ne.prototype.getState=function(){var te=Object.assign({arrowType:this.arrowType},le.prototype.getState.call(this));return te.typeName=ne.typeName,te},ne.prototype.restoreState=function(te){le.prototype.restoreState.call(this,te);var ae=te;this.arrowType=ae.arrowType,this.createTips(),this.adjustVisual()},ne.typeName="ArrowMarker",ne.title="Arrow marker",ne.icon='<svg viewBox="0 0 24 24"><path d="M19 6.41L17.59 5 7 15.59V9H5v10h10v-2H8.41L19 6.41z"/></svg>',ne}(dt),He=function(le){function ne(te,ae,he){var re=le.call(this,te,ae,he)||this;return re.fillColor=he.defaultFillColor,re.strokeWidth=0,re.fillPanel=new je("Color",he.defaultColorSet,he.defaultFillColor),re.fillPanel.onColorChanged=re.setFillColor,re}return Ce(ne,le),Object.defineProperty(ne.prototype,"toolboxPanels",{get:function(){return[this.fillPanel]},enumerable:!1,configurable:!0}),ne.prototype.getState=function(){var te=le.prototype.getState.call(this);return te.typeName=ne.typeName,te},ne.typeName="CoverMarker",ne.title="Cover marker",ne.icon='<svg viewBox="0 0 24 24"><path d="M4 6v13h16V6H4z"/></svg>',ne}(Me),ke=function(le){function ne(te,ae,he,re){var ce=le.call(this,te,re||'<svg viewBox="0 0 24 24"><path d="M17.66 8L12 2.35 6.34 8A8.02 8.02 0 004 13.64c0 2 .78 4.11 2.34 5.67a7.99 7.99 0 0011.32 0c1.56-1.56 2.34-3.67 2.34-5.67S19.22 9.56 17.66 8M6 14c0-2 .62-3.27 1.76-4.4L12 5.27l4.24 4.38C17.38 10.77 18 12 18 14H6z"/></svg>')||this;return ce.opacities=[],ce.opacityBoxes=[],ce.opacities=ae,ce.currentOpacity=he,ce.setCurrentOpacity=ce.setCurrentOpacity.bind(ce),ce}return Ce(ne,le),ne.prototype.getUi=function(){var te=this,ae=document.createElement("div");return ae.style.display="flex",ae.style.overflow="hidden",ae.style.flexGrow="2",ae.style.justifyContent="space-between",this.opacities.forEach(function(he){var re=document.createElement("div");re.style.display="flex",re.style.alignItems="center",re.style.justifyContent="center",re.style.padding="5px",re.style.borderWidth="2px",re.style.borderStyle="solid",re.style.borderColor=he===te.currentOpacity?te.uiStyleSettings.toolboxAccentColor:"transparent",re.addEventListener("click",function(){te.setCurrentOpacity(he,re)}),ae.appendChild(re);var ce=document.createElement("div");ce.innerText=100*he+"%",re.appendChild(ce),te.opacityBoxes.push(re)}),ae},ne.prototype.setCurrentOpacity=function(te,ae){var he=this;this.currentOpacity=te,this.opacityBoxes.forEach(function(re){re.style.borderColor=re===ae?he.uiStyleSettings.toolboxAccentColor:"transparent"}),this.onOpacityChanged&&this.onOpacityChanged(this.currentOpacity)},ne}(tt),Nt=function(le){function ne(te,ae,he){var re=le.call(this,te,ae,he)||this;return re.setOpacity=re.setOpacity.bind(re),re.fillColor=he.defaultHighlightColor,re.strokeWidth=0,re.opacity=he.defaultHighlightOpacity,re.fillPanel=new je("Color",he.defaultColorSet,re.fillColor),re.fillPanel.onColorChanged=re.setFillColor,re.opacityPanel=new ke("Opacity",he.defaultOpacitySteps,re.opacity),re.opacityPanel.onOpacityChanged=re.setOpacity,re}return Ce(ne,le),ne.prototype.setOpacity=function(te){this.opacity=te,this.visual&&xe.setAttributes(this.visual,[["opacity",this.opacity.toString()]]),this.stateChanged()},Object.defineProperty(ne.prototype,"toolboxPanels",{get:function(){return[this.fillPanel,this.opacityPanel]},enumerable:!1,configurable:!0}),ne.prototype.getState=function(){var te=le.prototype.getState.call(this);return te.typeName=ne.typeName,te},ne.typeName="HighlightMarker",ne.title="Highlight marker",ne.icon='<svg viewBox="0 0 24 24"><path d="M18.5 1.15c-.53 0-1.04.19-1.43.58l-5.81 5.82 5.65 5.65 5.82-5.81c.77-.78.77-2.04 0-2.83l-2.84-2.83c-.39-.39-.89-.58-1.39-.58M10.3 8.5l-5.96 5.96c-.78.78-.78 2.04.02 2.85C3.14 18.54 1.9 19.77.67 21h5.66l.86-.86c.78.76 2.03.75 2.81-.02l5.95-5.96"/></svg>',ne}(He),De='<svg viewBox="0 0 24 24"><path d="M9.62 12L12 5.67 14.37 12M11 3L5.5 17h2.25l1.12-3h6.25l1.13 3h2.25L13 3h-2z"/></svg>',ve='<svg viewBox="0 0 24 24"><path d="M19 11.5s-2 2.17-2 3.5a2 2 0 002 2 2 2 0 002-2c0-1.33-2-3.5-2-3.5M5.21 10L10 5.21 14.79 10m1.77-1.06L7.62 0 6.21 1.41l2.38 2.38-5.15 5.15c-.59.56-.59 1.53 0 2.12l5.5 5.5c.29.29.68.44 1.06.44s.77-.15 1.06-.44l5.5-5.5c.59-.59.59-1.56 0-2.12z"/></svg>',At=function(le){function ne(te,ae,he){var re=le.call(this,te,ae,he)||this;return re.bgColor="transparent",re.tipPosition={x:0,y:0},re.tipBase1Position={x:0,y:0},re.tipBase2Position={x:0,y:0},re.tipMoving=!1,re.color=he.defaultStrokeColor,re.bgColor=he.defaultFillColor,re.fontFamily=he.defaultFontFamily,re.defaultSize={x:100,y:30},re.setBgColor=re.setBgColor.bind(re),re.getTipPoints=re.getTipPoints.bind(re),re.positionTip=re.positionTip.bind(re),re.setTipPoints=re.setTipPoints.bind(re),re.colorPanel=new je("Text color",he.defaultColorSet,re.color,De),re.colorPanel.onColorChanged=re.setColor,re.bgColorPanel=new je("Fill color",he.defaultColorSet,re.bgColor,ve),re.bgColorPanel.onColorChanged=re.setBgColor,re.fontFamilyPanel=new Fe("Font",he.defaultFontFamilies,he.defaultFontFamily),re.fontFamilyPanel.onFontChanged=re.setFont,re.tipGrip=new Mt,re.tipGrip.visual.transform.baseVal.appendItem(xe.createTransform()),re.controlBox.appendChild(re.tipGrip.visual),re}return Ce(ne,le),ne.prototype.ownsTarget=function(te){return le.prototype.ownsTarget.call(this,te)||this.tipGrip.ownsTarget(te)||this.tip===te},ne.prototype.createTip=function(){xe.setAttributes(this.bgRectangle,[["fill",this.bgColor],["rx","10px"]]),this.tip=xe.createPolygon(this.getTipPoints(),[["fill",this.bgColor]]),this.visual.appendChild(this.tip)},ne.prototype.pointerDown=function(te,ae){this.state==="new"&&le.prototype.pointerDown.call(this,te,ae),this.state==="creating"?this.createTip():this.tipGrip.ownsTarget(ae)?(this.manipulationStartLeft=this.left,this.manipulationStartTop=this.top,this.tipMoving=!0):le.prototype.pointerDown.call(this,te,ae)},ne.prototype.pointerUp=function(te){if(this.tipMoving)this.tipMoving=!1,this.isMoved=!0,le.prototype.pointerUp.call(this,te);else{var ae=this.state==="creating";le.prototype.pointerUp.call(this,te),this.setTipPoints(ae),this.positionTip()}},ne.prototype.manipulate=function(te){if(this.tipMoving){var ae=this.unrotatePoint(te);this.tipPosition={x:ae.x-this.manipulationStartLeft,y:ae.y-this.manipulationStartTop},this.positionTip()}else le.prototype.manipulate.call(this,te)},ne.prototype.setBgColor=function(te){this.bgRectangle&&this.tip&&(xe.setAttributes(this.bgRectangle,[["fill",te]]),xe.setAttributes(this.tip,[["fill",te]])),this.bgColor=te,this.fillColorChanged(te)},ne.prototype.getTipPoints=function(){return this.setTipPoints(this.state==="creating"),this.tipBase1Position.x+","+this.tipBase1Position.y+" "+this.tipBase2Position.x+","+this.tipBase2Position.y+" "+this.tipPosition.x+","+this.tipPosition.y},ne.prototype.setTipPoints=function(te){te===void 0&&(te=!1);var ae=Math.min(this.height/2,15),he=this.height/5;te&&(this.tipPosition={x:ae+he/2,y:this.height+20});var re=Math.atan(this.height/2/(this.width/2));this.tipPosition.x<this.width/2&&this.tipPosition.y<this.height/2?re<Math.atan((this.height/2-this.tipPosition.y)/(this.width/2-this.tipPosition.x))?(he=this.width/5,ae=Math.min(this.width/2,15),this.tipBase1Position={x:ae,y:0},this.tipBase2Position={x:ae+he,y:0}):(this.tipBase1Position={x:0,y:ae},this.tipBase2Position={x:0,y:ae+he}):this.tipPosition.x>=this.width/2&&this.tipPosition.y<this.height/2?re<Math.atan((this.height/2-this.tipPosition.y)/(this.tipPosition.x-this.width/2))?(he=this.width/5,ae=Math.min(this.width/2,15),this.tipBase1Position={x:this.width-ae-he,y:0},this.tipBase2Position={x:this.width-ae,y:0}):(this.tipBase1Position={x:this.width,y:ae},this.tipBase2Position={x:this.width,y:ae+he}):this.tipPosition.x>=this.width/2&&this.tipPosition.y>=this.height/2?re<Math.atan((this.tipPosition.y-this.height/2)/(this.tipPosition.x-this.width/2))?(he=this.width/5,ae=Math.min(this.width/2,15),this.tipBase1Position={x:this.width-ae-he,y:this.height},this.tipBase2Position={x:this.width-ae,y:this.height}):(this.tipBase1Position={x:this.width,y:this.height-ae-he},this.tipBase2Position={x:this.width,y:this.height-ae}):re<Math.atan((this.tipPosition.y-this.height/2)/(this.width/2-this.tipPosition.x))?(he=this.width/5,ae=Math.min(this.width/2,15),this.tipBase1Position={x:ae,y:this.height},this.tipBase2Position={x:ae+he,y:this.height}):(this.tipBase1Position={x:0,y:this.height-ae},this.tipBase2Position={x:0,y:this.height-ae-he})},ne.prototype.resize=function(te){le.prototype.resize.call(this,te),this.positionTip()},ne.prototype.positionTip=function(){xe.setAttributes(this.tip,[["points",this.getTipPoints()]]);var te=this.tipGrip.visual.transform.baseVal.getItem(0);te.setTranslate(this.tipPosition.x,this.tipPosition.y),this.tipGrip.visual.transform.baseVal.replaceItem(te,0)},Object.defineProperty(ne.prototype,"toolboxPanels",{get:function(){return[this.colorPanel,this.bgColorPanel,this.fontFamilyPanel]},enumerable:!1,configurable:!0}),ne.prototype.select=function(){this.positionTip(),le.prototype.select.call(this)},ne.prototype.getState=function(){var te=Object.assign({bgColor:this.bgColor,tipPosition:this.tipPosition},le.prototype.getState.call(this));return te.typeName=ne.typeName,te},ne.prototype.restoreState=function(te){var ae=te;this.bgColor=ae.bgColor,this.tipPosition=ae.tipPosition,le.prototype.restoreState.call(this,te),this.createTip(),this.setTipPoints()},ne.prototype.scale=function(te,ae){le.prototype.scale.call(this,te,ae),this.tipPosition={x:this.tipPosition.x*te,y:this.tipPosition.y*ae},this.positionTip()},ne.typeName="CalloutMarker",ne.title="Callout marker",ne.icon='<svg viewBox="0 0 24 24"><path d="M4 2h16a2 2 0 012 2v12a2 2 0 01-2 2h-4l-4 4-4-4H4a2 2 0 01-2-2V4a2 2 0 012-2m0 2v12h4.83L12 19.17 15.17 16H20V4H4m2 3h12v2H6V7m0 4h10v2H6v-2z"/></svg>',ne}(Ze),Gt=function(le){function ne(te,ae,he){var re=le.call(this,te,ae,he)||this;return re.fillColor="transparent",re.strokeColor="transparent",re.strokeWidth=0,re.strokeDasharray="",re.opacity=1,re.strokeColor=he.defaultColor,re.strokeWidth=he.defaultStrokeWidth,re.strokeDasharray=he.defaultStrokeDasharray,re.fillColor=he.defaultFillColor,re.setStrokeColor=re.setStrokeColor.bind(re),re.setFillColor=re.setFillColor.bind(re),re.setStrokeWidth=re.setStrokeWidth.bind(re),re.setStrokeDasharray=re.setStrokeDasharray.bind(re),re.setOpacity=re.setOpacity.bind(re),re.createVisual=re.createVisual.bind(re),re.strokePanel=new je("Line color",Oe(he.defaultColorSet,["transparent"]),he.defaultColor),re.strokePanel.onColorChanged=re.setStrokeColor,re.fillPanel=new je("Fill color",Oe(he.defaultColorSet,["transparent"]),re.fillColor,ve),re.fillPanel.onColorChanged=re.setFillColor,re.strokeWidthPanel=new st("Line width",he.defaultStrokeWidths,he.defaultStrokeWidth),re.strokeWidthPanel.onWidthChanged=re.setStrokeWidth,re.strokeStylePanel=new mt("Line style",he.defaultStrokeDasharrays,he.defaultStrokeDasharray),re.strokeStylePanel.onStyleChanged=re.setStrokeDasharray,re.opacityPanel=new ke("Opacity",he.defaultOpacitySteps,re.opacity),re.opacityPanel.onOpacityChanged=re.setOpacity,re}return Ce(ne,le),ne.prototype.ownsTarget=function(te){return!(!le.prototype.ownsTarget.call(this,te)&&te!==this.visual)},ne.prototype.createVisual=function(){this.visual=xe.createEllipse(this.width/2,this.height/2,[["fill",this.fillColor],["stroke",this.strokeColor],["stroke-width",this.strokeWidth.toString()],["stroke-dasharray",this.strokeDasharray],["opacity",this.opacity.toString()]]),this.addMarkerVisualToContainer(this.visual)},ne.prototype.pointerDown=function(te,ae){le.prototype.pointerDown.call(this,te,ae),this.state==="new"&&(this.createVisual(),this.moveVisual(te),this._state="creating")},ne.prototype.manipulate=function(te){le.prototype.manipulate.call(this,te)},ne.prototype.resize=function(te){le.prototype.resize.call(this,te),this.setSize()},ne.prototype.setSize=function(){le.prototype.setSize.call(this),xe.setAttributes(this.visual,[["cx",(this.width/2).toString()],["cy",(this.height/2).toString()],["rx",(this.width/2).toString()],["ry",(this.height/2).toString()]])},ne.prototype.pointerUp=function(te){le.prototype.pointerUp.call(this,te),this.setSize()},ne.prototype.setStrokeColor=function(te){this.strokeColor=te,this.visual&&xe.setAttributes(this.visual,[["stroke",this.strokeColor]]),this.colorChanged(te),this.stateChanged()},ne.prototype.setFillColor=function(te){this.fillColor=te,this.visual&&xe.setAttributes(this.visual,[["fill",this.fillColor]]),this.fillColorChanged(te),this.stateChanged()},ne.prototype.setStrokeWidth=function(te){this.strokeWidth=te,this.visual&&xe.setAttributes(this.visual,[["stroke-width",this.strokeWidth.toString()]]),this.stateChanged()},ne.prototype.setStrokeDasharray=function(te){this.strokeDasharray=te,this.visual&&xe.setAttributes(this.visual,[["stroke-dasharray",this.strokeDasharray]]),this.stateChanged()},ne.prototype.setOpacity=function(te){this.opacity=te,this.visual&&xe.setAttributes(this.visual,[["opacity",this.opacity.toString()]]),this.stateChanged()},Object.defineProperty(ne.prototype,"toolboxPanels",{get:function(){return[this.strokePanel,this.fillPanel,this.strokeWidthPanel,this.strokeStylePanel,this.opacityPanel]},enumerable:!1,configurable:!0}),ne.prototype.getState=function(){var te=Object.assign({fillColor:this.fillColor,strokeColor:this.strokeColor,strokeWidth:this.strokeWidth,strokeDasharray:this.strokeDasharray,opacity:this.opacity},le.prototype.getState.call(this));return te.typeName=ne.typeName,te},ne.prototype.restoreState=function(te){var ae=te;this.fillColor=ae.fillColor,this.strokeColor=ae.strokeColor,this.strokeWidth=ae.strokeWidth,this.strokeDasharray=ae.strokeDasharray,this.opacity=ae.opacity,this.createVisual(),le.prototype.restoreState.call(this,te),this.setSize()},ne.prototype.scale=function(te,ae){le.prototype.scale.call(this,te,ae),this.setSize()},ne.typeName="EllipseMarker",ne.title="Ellipse marker",ne.icon='<svg viewBox="0 0 24 24"><path d="M12 4C6.5 4 2 7.58 2 12s4.5 8 10 8 10-3.58 10-8-4.5-8-10-8z"/></svg>',ne}(se),Wt=function(le){function ne(te,ae,he){return le.call(this,te,ae,he)||this}return Ce(ne,le),Object.defineProperty(ne.prototype,"tipLength",{get:function(){return 10+3*this.strokeWidth},enumerable:!1,configurable:!0}),ne.prototype.ownsTarget=function(te){return!(!le.prototype.ownsTarget.call(this,te)&&te!==this.tip1&&te!==this.tip2)},ne.prototype.createTips=function(){this.tip1=xe.createLine(this.x1-this.tipLength/2,this.y1,this.x1+this.tipLength/2,this.y1,[["stroke",this.strokeColor],["stroke-width",this.strokeWidth.toString()]]),this.tip1.transform.baseVal.appendItem(xe.createTransform()),this.visual.appendChild(this.tip1),this.tip2=xe.createLine(this.x2-this.tipLength/2,this.y2,this.x2+this.tipLength/2,this.y2,[["stroke",this.strokeColor],["stroke-width",this.strokeWidth.toString()]]),this.tip2.transform.baseVal.appendItem(xe.createTransform()),this.visual.appendChild(this.tip2)},ne.prototype.pointerDown=function(te,ae){le.prototype.pointerDown.call(this,te,ae),this.state==="creating"&&this.createTips()},ne.prototype.adjustVisual=function(){if(le.prototype.adjustVisual.call(this),this.tip1&&this.tip2&&(xe.setAttributes(this.tip1,[["x1",(this.x1-this.tipLength/2).toString()],["y1",this.y1.toString()],["x2",(this.x1+this.tipLength/2).toString()],["y2",this.y1.toString()],["stroke",this.strokeColor],["stroke-width",this.strokeWidth.toString()]]),xe.setAttributes(this.tip2,[["x1",(this.x2-this.tipLength/2).toString()],["y1",this.y2.toString()],["x2",(this.x2+this.tipLength/2).toString()],["y2",this.y2.toString()],["stroke",this.strokeColor],["stroke-width",this.strokeWidth.toString()]]),Math.abs(this.x1-this.x2)>.1)){var te=180*Math.atan((this.y2-this.y1)/(this.x2-this.x1))/Math.PI+90*Math.sign(this.x1-this.x2),ae=this.tip1.transform.baseVal.getItem(0);ae.setRotate(te,this.x1,this.y1),this.tip1.transform.baseVal.replaceItem(ae,0);var he=this.tip2.transform.baseVal.getItem(0);he.setRotate(te+180,this.x2,this.y2),this.tip2.transform.baseVal.replaceItem(he,0)}},Object.defineProperty(ne.prototype,"toolboxPanels",{get:function(){return[this.strokePanel,this.strokeWidthPanel,this.strokeStylePanel]},enumerable:!1,configurable:!0}),ne.prototype.getState=function(){var te=le.prototype.getState.call(this);return te.typeName=ne.typeName,te},ne.prototype.restoreState=function(te){le.prototype.restoreState.call(this,te),this.createTips(),this.adjustVisual()},ne.typeName="MeasurementMarker",ne.title="Measurement marker",ne.icon='<svg viewBox="0 0 24 24"><path d="M1.39 18.36l1.77-1.76L4.58 18l1.06-1.05-1.42-1.41 1.42-1.42 2.47 2.48 1.06-1.06-2.47-2.48 1.41-1.41 1.42 1.41L10.59 12l-1.42-1.41 1.42-1.42 2.47 2.48 1.06-1.06-2.47-2.48 1.41-1.41 1.41 1.41 1.07-1.06-1.42-1.41 1.42-1.42L18 6.7l1.07-1.06-2.47-2.48 1.76-1.77 4.25 4.25L5.64 22.61l-4.25-4.25z"/></svg>',ne}(dt),pe=function(le){function ne(te,ae,he){var re=le.call(this,te,ae,he)||this;return re.strokePanel.colors=he.defaultColorSet,re.fillColor="transparent",re}return Ce(ne,le),Object.defineProperty(ne.prototype,"toolboxPanels",{get:function(){return[this.strokePanel,this.strokeWidthPanel,this.strokeStylePanel]},enumerable:!1,configurable:!0}),ne.prototype.getState=function(){var te=le.prototype.getState.call(this);return te.typeName=ne.typeName,te},ne.typeName="EllipseFrameMarker",ne.title="Ellipse frame marker",ne.icon='<svg viewBox="0 0 24 24"><path d="M12 6c4.41 0 8 2.69 8 6s-3.59 6-8 6-8-2.69-8-6 3.59-6 8-6m0-2C6.5 4 2 7.58 2 12s4.5 8 10 8 10-3.58 10-8-4.5-8-10-8z"/></svg>',ne}(Gt),Re=function(){function le(){this.undoStack=[],this.redoStack=[]}return Object.defineProperty(le.prototype,"isUndoPossible",{get:function(){return this.undoStack.length>0},enumerable:!1,configurable:!0}),Object.defineProperty(le.prototype,"isRedoPossible",{get:function(){return this.redoStack.length>0},enumerable:!1,configurable:!0}),Object.defineProperty(le.prototype,"undoStepCount",{get:function(){return this.undoStack.length},enumerable:!1,configurable:!0}),Object.defineProperty(le.prototype,"redoStepCount",{get:function(){return this.redoStack.length},enumerable:!1,configurable:!0}),le.prototype.addUndoStep=function(ne){this.undoStack.length!==0&&JSON.stringify(this.undoStack[this.undoStack.length-1])===JSON.stringify(ne)||(this.undoStack.push(ne),JSON.stringify(this.lastRedoStep)!==JSON.stringify(ne)&&this.redoStack.splice(0,this.redoStack.length))},le.prototype.replaceLastUndoStep=function(ne){this.undoStack.length>0&&(this.undoStack[this.undoStack.length-1]=ne)},le.prototype.getLastUndoStep=function(){return this.undoStack.length>0?this.undoStack[this.undoStack.length-1]:void 0},le.prototype.undo=function(){if(this.undoStack.length>1){var ne=this.undoStack.pop();return ne!==void 0&&this.redoStack.push(ne),this.undoStack.length>0?this.undoStack[this.undoStack.length-1]:void 0}},le.prototype.redo=function(){return this.lastRedoStep=this.redoStack.pop(),this.lastRedoStep},le}(),Ue=function(le){function ne(te,ae,he){var re=le.call(this,te,ae,he)||this;return re.strokeColor="transparent",re.strokeWidth=0,re.strokeDasharray="",re.curveX=0,re.curveY=0,re.manipulationStartCurveX=0,re.manipulationStartCurveY=0,re.setStrokeColor=re.setStrokeColor.bind(re),re.setStrokeWidth=re.setStrokeWidth.bind(re),re.setStrokeDasharray=re.setStrokeDasharray.bind(re),re.positionGrips=re.positionGrips.bind(re),re.addControlGrips=re.addControlGrips.bind(re),re.adjustVisual=re.adjustVisual.bind(re),re.setupControlBox=re.setupControlBox.bind(re),re.resize=re.resize.bind(re),re.strokeColor=he.defaultColor,re.strokeWidth=he.defaultStrokeWidth,re.strokeDasharray=he.defaultStrokeDasharray,re.strokePanel=new je("Line color",he.defaultColorSet,he.defaultColor),re.strokePanel.onColorChanged=re.setStrokeColor,re.strokeWidthPanel=new st("Line width",he.defaultStrokeWidths,he.defaultStrokeWidth),re.strokeWidthPanel.onWidthChanged=re.setStrokeWidth,re.strokeStylePanel=new mt("Line style",he.defaultStrokeDasharrays,he.defaultStrokeDasharray),re.strokeStylePanel.onStyleChanged=re.setStrokeDasharray,re}return Ce(ne,le),ne.prototype.ownsTarget=function(te){return!(!le.prototype.ownsTarget.call(this,te)&&te!==this.visual&&te!==this.selectorCurve&&te!==this.visibleCurve&&!this.curveGrip.ownsTarget(te))},ne.prototype.getPathD=function(){return"M "+this.x1+" "+this.y1+" Q "+this.curveX+" "+this.curveY+", "+this.x2+" "+this.y2},ne.prototype.createVisual=function(){this.visual=xe.createGroup(),this.selectorCurve=xe.createPath(this.getPathD(),[["stroke","transparent"],["stroke-width",(this.strokeWidth+10).toString()],["fill","transparent"]]),this.visibleCurve=xe.createPath(this.getPathD(),[["stroke",this.strokeColor],["stroke-width",this.strokeWidth.toString()],["fill","transparent"]]),this.visual.appendChild(this.selectorCurve),this.visual.appendChild(this.visibleCurve),this.addMarkerVisualToContainer(this.visual)},ne.prototype.pointerDown=function(te,ae){le.prototype.pointerDown.call(this,te,ae),this.manipulationStartCurveX=this.curveX,this.manipulationStartCurveY=this.curveY,this.state==="new"&&(this.curveX=te.x,this.curveY=te.y),this.state==="new"?(this.createVisual(),this.adjustVisual(),this._state="creating"):this.curveGrip.ownsTarget(ae)&&(this.activeGrip=this.curveGrip,this._state="resize")},ne.prototype.adjustVisual=function(){this.selectorCurve&&this.visibleCurve&&(this.selectorCurve.setAttribute("d",this.getPathD()),this.visibleCurve.setAttribute("d",this.getPathD()),xe.setAttributes(this.visibleCurve,[["stroke",this.strokeColor]]),xe.setAttributes(this.visibleCurve,[["stroke-width",this.strokeWidth.toString()]]),xe.setAttributes(this.visibleCurve,[["stroke-dasharray",this.strokeDasharray.toString()]]))},ne.prototype.setupControlBox=function(){le.prototype.setupControlBox.call(this),this.curveControlLine1=xe.createLine(this.x1,this.y1,this.curveX,this.curveY,[["stroke","black"],["stroke-width","1"],["stroke-opacity","0.5"],["stroke-dasharray","3, 2"]]),this.curveControlLine2=xe.createLine(this.x2,this.y2,this.curveX,this.curveY,[["stroke","black"],["stroke-width","1"],["stroke-opacity","0.5"],["stroke-dasharray","3, 2"]]),this.controlBox.insertBefore(this.curveControlLine1,this.controlBox.firstChild),this.controlBox.insertBefore(this.curveControlLine2,this.controlBox.firstChild)},ne.prototype.addControlGrips=function(){this.curveGrip=this.createGrip(),this.curveX=0,this.curveY=0,le.prototype.addControlGrips.call(this)},ne.prototype.positionGrips=function(){le.prototype.positionGrips.call(this);var te=this.curveGrip.GRIP_SIZE;this.positionGrip(this.curveGrip.visual,this.curveX-te/2,this.curveY-te/2),this.curveControlLine1&&this.curveControlLine2&&(this.curveControlLine1.setAttribute("x1",this.x1.toString()),this.curveControlLine1.setAttribute("y1",this.y1.toString()),this.curveControlLine1.setAttribute("x2",this.curveX.toString()),this.curveControlLine1.setAttribute("y2",this.curveY.toString()),this.curveControlLine2.setAttribute("x1",this.x2.toString()),this.curveControlLine2.setAttribute("y1",this.y2.toString()),this.curveControlLine2.setAttribute("x2",this.curveX.toString()),this.curveControlLine2.setAttribute("y2",this.curveY.toString()))},ne.prototype.manipulate=function(te){this.state==="move"&&(this.curveX=this.manipulationStartCurveX+te.x-this.manipulationStartX,this.curveY=this.manipulationStartCurveY+te.y-this.manipulationStartY),le.prototype.manipulate.call(this,te)},ne.prototype.resize=function(te){this.activeGrip===this.curveGrip&&(this.curveX=te.x,this.curveY=te.y),le.prototype.resize.call(this,te),this.state==="creating"&&(this.curveX=this.x1+(this.x2-this.x1)/2,this.curveY=this.y1+(this.y2-this.y1)/2)},ne.prototype.setStrokeColor=function(te){this.strokeColor=te,this.adjustVisual(),this.colorChanged(te)},ne.prototype.setStrokeWidth=function(te){this.strokeWidth=te,this.adjustVisual()},ne.prototype.setStrokeDasharray=function(te){this.strokeDasharray=te,this.adjustVisual()},ne.prototype.scale=function(te,ae){this.curveX=this.curveX*te,this.curveY=this.curveY*ae,le.prototype.scale.call(this,te,ae)},Object.defineProperty(ne.prototype,"toolboxPanels",{get:function(){return[this.strokePanel,this.strokeWidthPanel,this.strokeStylePanel]},enumerable:!1,configurable:!0}),ne.prototype.getState=function(){var te=Object.assign({strokeColor:this.strokeColor,strokeWidth:this.strokeWidth,strokeDasharray:this.strokeDasharray,curveX:this.curveX,curveY:this.curveY},le.prototype.getState.call(this));return te.typeName=ne.typeName,te},ne.prototype.restoreState=function(te){le.prototype.restoreState.call(this,te);var ae=te;this.strokeColor=ae.strokeColor,this.strokeWidth=ae.strokeWidth,this.strokeDasharray=ae.strokeDasharray,this.curveX=ae.curveX,this.curveY=ae.curveY,this.createVisual(),this.adjustVisual()},ne.typeName="CurveMarker",ne.title="Curve marker",ne.icon='<svg viewBox="0 0 24 24"><path d="M18.5 2A1.5 1.5 0 0120 3.5 1.5 1.5 0 0118.5 5c-.23 0-.45-.05-.65-.15l-3.69 3.7.34.45c2.19-1.26 4.76-2 7.5-2l1 .03v2.01L22 9c-2.58 0-5 .75-7 2.04A3.96 3.96 0 0111.04 15C9.75 17 9 19.42 9 22l.04 1H7.03L7 22c0-2.74.74-5.31 2-7.5l-.45-.34-3.7 3.69c.1.2.15.42.15.65A1.5 1.5 0 013.5 20 1.5 1.5 0 012 18.5 1.5 1.5 0 013.5 17c.23 0 .45.05.65.15l3.69-3.7C7.31 12.78 7 11.92 7 11a4 4 0 014-4c.92 0 1.78.31 2.45.84l3.7-3.69c-.1-.2-.15-.42-.15-.65A1.5 1.5 0 0118.5 2M11 9a2 2 0 00-2 2 2 2 0 002 2 2 2 0 002-2 2 2 0 00-2-2z"/></svg>',ne}(ut),Jt=function(le){function ne(te,ae,he){var re=le.call(this,te,ae,he)||this;return re.fillColor="transparent",re.strokeColor="transparent",re.strokeWidth=0,re.strokeDasharray="",re.textColor="transparent",re.fontSize="1rem",re.isMoved=!1,re.captionText="Caption",re.PADDING=5,re.captionBoxWidth=0,re.captionBoxHeight=0,re.strokeColor=he.defaultColor,re.strokeWidth=he.defaultStrokeWidth,re.strokeDasharray=he.defaultStrokeDasharray,re.fillColor=he.defaultFillColor,re.textColor=he.defaultStrokeColor,re.fontFamily=he.defaultFontFamily,re.fontSize=he.defaultCaptionFontSize,re.captionText=he.defaultCaptionText,re.setStrokeColor=re.setStrokeColor.bind(re),re.setFillColor=re.setFillColor.bind(re),re.setStrokeWidth=re.setStrokeWidth.bind(re),re.setStrokeDasharray=re.setStrokeDasharray.bind(re),re.createVisual=re.createVisual.bind(re),re.sizeCaption=re.sizeCaption.bind(re),re.setCaptionText=re.setCaptionText.bind(re),re.showTextEditor=re.showTextEditor.bind(re),re.positionTextEditor=re.positionTextEditor.bind(re),re.finishTextEditing=re.finishTextEditing.bind(re),re.setFont=re.setFont.bind(re),re.setTextColor=re.setTextColor.bind(re),re.strokePanel=new je("Line color",Oe(he.defaultColorSet,["transparent"]),re.strokeColor),re.strokePanel.onColorChanged=re.setStrokeColor,re.fillPanel=new je("Fill color",Oe(he.defaultColorSet,["transparent"]),re.fillColor,ve),re.fillPanel.onColorChanged=re.setFillColor,re.strokeWidthPanel=new st("Line width",he.defaultStrokeWidths,he.defaultStrokeWidth),re.strokeWidthPanel.onWidthChanged=re.setStrokeWidth,re.strokeStylePanel=new mt("Line style",he.defaultStrokeDasharrays,he.defaultStrokeDasharray),re.strokeStylePanel.onStyleChanged=re.setStrokeDasharray,re.fontFamilyPanel=new Fe("Font",he.defaultFontFamilies,he.defaultFontFamily),re.fontFamilyPanel.onFontChanged=re.setFont,re.textColorPanel=new je("Text color",he.defaultColorSet,re.textColor,De),re.textColorPanel.onColorChanged=re.setTextColor,re}return Ce(ne,le),ne.prototype.ownsTarget=function(te){return!(!le.prototype.ownsTarget.call(this,te)&&te!==this.visual&&te!==this.frame&&te!==this.captionBg&&te!==this.captionElement)},ne.prototype.createVisual=function(){this.visual=xe.createGroup(),this.addMarkerVisualToContainer(this.visual),this.captionBg=xe.createRect(1,1,[["fill",this.fillColor]]),this.visual.appendChild(this.captionBg),this.captionElement=xe.createText([["fill",this.textColor],["font-family",this.fontFamily]]),this.captionElement.style.fontSize=this.fontSize,this.captionElement.style.textAnchor="start",this.captionElement.style.dominantBaseline="text-before-edge",this.captionElement.textContent=this.captionText,this.visual.appendChild(this.captionElement),this.frame=xe.createRect(this.width,this.height,[["fill","transparent"],["stroke",this.strokeColor],["stroke-width",this.strokeWidth.toString()],["stroke-dasharray",this.strokeDasharray]]),this.visual.appendChild(this.frame),this.sizeCaption()},ne.prototype.setCaptionText=function(te){this.captionText=te,this.captionElement.textContent=this.captionText,this.sizeCaption()},ne.prototype.pointerDown=function(te,ae){le.prototype.pointerDown.call(this,te,ae),this.isMoved=!1,this.pointerDownPoint=te,this.pointerDownTimestamp=Date.now(),this.state==="new"&&(this.createVisual(),this.moveVisual(te),this._state="creating")},ne.prototype.manipulate=function(te){le.prototype.manipulate.call(this,te),this.pointerDownPoint!==void 0&&(this.isMoved=Math.abs(te.x-this.pointerDownPoint.x)>5||Math.abs(te.y-this.pointerDownPoint.y)>5)},ne.prototype.resize=function(te){le.prototype.resize.call(this,te),this.setSize()},ne.prototype.sizeCaption=function(){var te=this.captionElement.getBBox();this.captionText.trim()!==""?(this.captionBoxWidth=te.width+2*this.PADDING,this.captionBoxHeight=te.height+2*this.PADDING):(this.captionBoxWidth=0,this.captionBoxHeight=0),xe.setAttributes(this.captionBg,[["width",this.captionBoxWidth.toString()],["height",this.captionBoxHeight.toString()],["clip-path","path('M0,0 H"+this.width+" V"+this.height+" H"+-this.width+" Z')"]]),xe.setAttributes(this.captionElement,[["x",this.PADDING.toString()],["y",this.PADDING.toString()],["clip-path","path('M0,0 H"+(this.width-this.PADDING)+" V"+this.height+" H"+(-this.width-this.PADDING)+" Z')"]])},ne.prototype.showTextEditor=function(){var te=this;this._state="edit",this.overlayContainer.innerHTML="",this.textEditDiv=document.createElement("div"),this.textEditDiv.style.flexGrow="2",this.textEditDiv.style.alignItems="center",this.textEditDiv.style.justifyContent="center",this.textEditDiv.style.pointerEvents="auto",this.textEditDiv.style.overflow="hidden",this.textEditBox=document.createElement("input"),this.textEditBox.style.position="absolute",this.textEditBox.style.width=this.width+"px",this.captionBoxHeight>0&&(this.textEditBox.style.height=this.captionBoxHeight+"px"),this.textEditBox.style.fontSize=this.fontSize,this.textEditBox.style.fontFamily=this.fontFamily,this.textEditBox.style.backgroundColor=this.fillColor,this.textEditBox.style.color=this.textColor,this.textEditBox.style.borderWidth="0",this.textEditBox.setAttribute("value",this.captionText),this.textEditBox.select(),this.textEditDiv.appendChild(this.textEditBox),this.overlayContainer.appendChild(this.textEditDiv),this.textEditBox.addEventListener("pointerup",function(ae){ae.stopPropagation()}),this.textEditBox.addEventListener("keypress",function(ae){ae.key==="Enter"&&te.finishTextEditing(te.textEditBox.value)}),this.textEditBox.addEventListener("keyup",function(ae){ae.cancelBubble=!0}),this.textEditBox.addEventListener("blur",function(){te.finishTextEditing(te.textEditBox.value)}),this.textEditDiv.addEventListener("pointerup",function(){te.finishTextEditing(te.textEditBox.value)}),this.positionTextEditor(),this.textEditBox.focus()},ne.prototype.positionTextEditor=function(){this.state==="edit"&&(this.textEditBox===void 0?this.showTextEditor():(this.textEditBox.style.left=this.left+"px",this.textEditBox.style.top=this.top+"px",this.textEditBox.style.transform="rotate("+this.rotationAngle+"deg)",this.textEditBox.style.transformOrigin=this.width/2+"px "+this.height/2+"px"))},ne.prototype.finishTextEditing=function(te){this.setCaptionText(te.trim()),this.overlayContainer.innerHTML="",this.stateChanged()},ne.prototype.setFont=function(te){this.captionElement&&xe.setAttributes(this.captionElement,[["font-family",te]]),this.fontFamily=te,this.textEditBox&&(this.textEditBox.style.fontFamily=this.fontFamily),this.sizeCaption(),this.stateChanged()},ne.prototype.setTextColor=function(te){this.captionElement&&xe.setAttributes(this.captionElement,[["fill",te]]),this.textColor=te,this.textEditBox&&(this.textEditBox.style.color=this.textColor),this.stateChanged()},ne.prototype.setSize=function(){le.prototype.setSize.call(this),xe.setAttributes(this.frame,[["width",this.width.toString()],["height",this.height.toString()]]),this.sizeCaption()},ne.prototype.pointerUp=function(te){le.prototype.pointerUp.call(this,te),this.setSize(),!this.isMoved&&Date.now()-this.pointerDownTimestamp>500&&this.showTextEditor(),this.pointerDownPoint=void 0},ne.prototype.dblClick=function(te,ae){le.prototype.dblClick.call(this,te,ae),this.showTextEditor()},ne.prototype.setStrokeColor=function(te){this.strokeColor=te,this.frame&&xe.setAttributes(this.frame,[["stroke",this.strokeColor]]),this.colorChanged(te),this.stateChanged()},ne.prototype.setFillColor=function(te){this.fillColor=te,this.captionBg&&xe.setAttributes(this.captionBg,[["fill",this.fillColor]]),this.fillColorChanged(te),this.stateChanged()},ne.prototype.setStrokeWidth=function(te){this.strokeWidth=te,this.frame&&xe.setAttributes(this.frame,[["stroke-width",this.strokeWidth.toString()]]),this.stateChanged()},ne.prototype.setStrokeDasharray=function(te){this.strokeDasharray=te,this.frame&&xe.setAttributes(this.frame,[["stroke-dasharray",this.strokeDasharray]]),this.stateChanged()},Object.defineProperty(ne.prototype,"toolboxPanels",{get:function(){return[this.strokePanel,this.fillPanel,this.strokeWidthPanel,this.strokeStylePanel,this.fontFamilyPanel,this.textColorPanel]},enumerable:!1,configurable:!0}),ne.prototype.getState=function(){var te=Object.assign({fillColor:this.fillColor,strokeColor:this.strokeColor,strokeWidth:this.strokeWidth,strokeDasharray:this.strokeDasharray,opacity:1,textColor:this.textColor,fontFamily:this.fontFamily,fontSize:this.fontSize,captionText:this.captionText},le.prototype.getState.call(this));return te.typeName=this.typeName,te},ne.prototype.restoreState=function(te){var ae=te;this.fillColor=ae.fillColor,this.strokeColor=ae.strokeColor,this.strokeWidth=ae.strokeWidth,this.strokeDasharray=ae.strokeDasharray,this.textColor=ae.textColor,this.fontFamily=ae.fontFamily,this.captionText=ae.captionText,this.fontSize=ae.fontSize,this.createVisual(),le.prototype.restoreState.call(this,te),this.setSize()},ne.prototype.scale=function(te,ae){le.prototype.scale.call(this,te,ae),this.setSize()},ne.typeName="CaptionFrameMarker",ne.title="Caption frame marker",ne.icon='<svg viewBox="0 0 24 24"><path d="M5 3c-1.11 0-2 .89-2 2v14c0 1.11.89 2 2 2h14c1.11 0 2-.89 2-2V5c0-1.11-.89-2-2-2H5m0 2h14v14H5V5m2 2v2h10V7H7z"/></svg>',ne}(se),et=function(){function le(ne,te){te===void 0&&(te=!1),this.cancelable=!1,this._defaultPrevented=!1,this.markerArea=ne,this.cancelable=te}return Object.defineProperty(le.prototype,"defaultPrevented",{get:function(){return this._defaultPrevented},enumerable:!1,configurable:!0}),le.prototype.preventDefault=function(){this._defaultPrevented=!0},le}(),jt=function(le){function ne(te,ae,he){var re=le.call(this,te,!1)||this;return re.dataUrl=ae,re.state=he,re}return Ce(ne,le),ne}(et),ct=function(le){function ne(te,ae,he){he===void 0&&(he=!1);var re=le.call(this,te,he)||this;return re.marker=ae,re}return Ce(ne,le),ne}(et),dn=function(){function le(){this.render=[],this.beforeclose=[],this.close=[],this.show=[],this.restorestate=[],this.statechange=[],this.markerselect=[],this.markerdeselect=[],this.markercreating=[],this.markercreate=[],this.markerbeforedelete=[],this.markerdelete=[],this.markerchange=[],this.focus=[],this.blur=[]}return le.prototype.addEventListener=function(ne,te){this[ne].push(te)},le.prototype.removeEventListener=function(ne,te){var ae=this[ne].indexOf(te);ae>-1&&this[ne].splice(ae,1)},le}(),bt=function(){function le(ne){this.touchPoints=0,this._availableMarkerTypes=this.DEFAULT_MARKER_TYPES,this.mode="select",this.markers=[],this.isDragging=!1,this.renderEventListeners=[],this.closeEventListeners=[],this.settings=new Qe,this._isOpen=!1,this.undoRedoManager=new Re,this.renderAtNaturalSize=!1,this.renderImageType="image/png",this.renderMarkersOnly=!1,this.zoomSteps=[1,1.5,2,4],this._zoomLevel=1,this._isResizing=!1,this.prevPanPoint={x:0,y:0},this.eventListeners=new dn,this._silentRenderMode=!1,this._isFocused=!1,this._instanceNo=le.instanceCounter++,this.styles=new fe(this.instanceNo),this.uiStyleSettings=this.styles.settings,this.target=ne,this.targetRoot=document.body,this.width=ne.clientWidth,this.height=ne.clientHeight,this.styles.removeStyleSheet(),this.open=this.open.bind(this),this.setTopLeft=this.setTopLeft.bind(this),this.toolbarButtonClicked=this.toolbarButtonClicked.bind(this),this.createNewMarker=this.createNewMarker.bind(this),this.addNewMarker=this.addNewMarker.bind(this),this.markerCreated=this.markerCreated.bind(this),this.setCurrentMarker=this.setCurrentMarker.bind(this),this.onPointerDown=this.onPointerDown.bind(this),this.onDblClick=this.onDblClick.bind(this),this.onPointerMove=this.onPointerMove.bind(this),this.onPointerUp=this.onPointerUp.bind(this),this.onPointerOut=this.onPointerOut.bind(this),this.onKeyUp=this.onKeyUp.bind(this),this.overrideOverflow=this.overrideOverflow.bind(this),this.restoreOverflow=this.restoreOverflow.bind(this),this.close=this.close.bind(this),this.closeUI=this.closeUI.bind(this),this.addCloseEventListener=this.addCloseEventListener.bind(this),this.removeCloseEventListener=this.removeCloseEventListener.bind(this),this.addRenderEventListener=this.addRenderEventListener.bind(this),this.removeRenderEventListener=this.removeRenderEventListener.bind(this),this.clientToLocalCoordinates=this.clientToLocalCoordinates.bind(this),this.onWindowResize=this.onWindowResize.bind(this),this.deleteSelectedMarker=this.deleteSelectedMarker.bind(this),this.setWindowHeight=this.setWindowHeight.bind(this),this.removeMarker=this.removeMarker.bind(this),this.colorChanged=this.colorChanged.bind(this),this.fillColorChanged=this.fillColorChanged.bind(this),this.onPopupTargetResize=this.onPopupTargetResize.bind(this),this.showNotesEditor=this.showNotesEditor.bind(this),this.hideNotesEditor=this.hideNotesEditor.bind(this),this.stepZoom=this.stepZoom.bind(this),this.focus=this.focus.bind(this),this.blur=this.blur.bind(this),this.markerStateChanged=this.markerStateChanged.bind(this),this.switchToSelectMode=this.switchToSelectMode.bind(this),this.addDefs=this.addDefs.bind(this),this.addDefsToImage=this.addDefsToImage.bind(this)}return Object.defineProperty(le.prototype,"ALL_MARKER_TYPES",{get:function(){return[kt,Se,gt,Ze,pe,Gt,Nt,At,Wt,He,dt,Ue,Jt]},enumerable:!1,configurable:!0}),Object.defineProperty(le.prototype,"DEFAULT_MARKER_TYPES",{get:function(){return[kt,Se,gt,Ze,Gt,Nt,At]},enumerable:!1,configurable:!0}),Object.defineProperty(le.prototype,"BASIC_MARKER_TYPES",{get:function(){return[kt,Se,gt,Ze,Nt]},enumerable:!1,configurable:!0}),Object.defineProperty(le.prototype,"availableMarkerTypes",{get:function(){return this._availableMarkerTypes},set:function(ne){var te=this;this._availableMarkerTypes.splice(0),ne.forEach(function(ae){if(typeof ae=="string"){var he=te.ALL_MARKER_TYPES.find(function(re){return re.typeName===ae});he!==void 0&&te._availableMarkerTypes.push(he)}else te._availableMarkerTypes.push(ae)})},enumerable:!1,configurable:!0}),Object.defineProperty(le.prototype,"currentMarker",{get:function(){return this._currentMarker},enumerable:!1,configurable:!0}),Object.defineProperty(le.prototype,"isOpen",{get:function(){return this._isOpen},enumerable:!1,configurable:!0}),Object.defineProperty(le.prototype,"isUndoPossible",{get:function(){return!(!this.undoRedoManager||!this.undoRedoManager.isUndoPossible)},enumerable:!1,configurable:!0}),Object.defineProperty(le.prototype,"isRedoPossible",{get:function(){return!(!this.undoRedoManager||!this.undoRedoManager.isRedoPossible)},enumerable:!1,configurable:!0}),Object.defineProperty(le.prototype,"zoomLevel",{get:function(){return this._zoomLevel},set:function(ne){this._zoomLevel=ne,this.editorCanvas&&this.contentDiv&&(this.editorCanvas.style.transform="scale("+this._zoomLevel+")",this.contentDiv.scrollTo({left:(this.editorCanvas.clientWidth*this._zoomLevel-this.contentDiv.clientWidth)/2,top:(this.editorCanvas.clientHeight*this._zoomLevel-this.contentDiv.clientHeight)/2}))},enumerable:!1,configurable:!0}),Object.defineProperty(le.prototype,"instanceNo",{get:function(){return this._instanceNo},enumerable:!1,configurable:!0}),le.prototype.open=function(){this.setupResizeObserver(),this.setEditingTarget(),this.setTopLeft(),this.initMarkerCanvas(),this.initOverlay(),this.attachEvents(),this.settings.displayMode==="popup"&&this.onPopupTargetResize(),Ae.isLicensed||this.addLogo(),this._isOpen=!0,this._isFocused=!0},le.prototype.show=function(){var ne=this;this.styles.styleSheetRoot===void 0&&Be.styleSheetRoot!==void 0&&(this.styles.styleSheetRoot=Be.styleSheetRoot),this.setWindowHeight(),this.showUI(),this.open(),this.eventListeners.show.forEach(function(te){return te(new et(ne))})},le.prototype.render=function(){return de(this,void 0,void 0,function(){var ne;return rt(this,function(te){switch(te.label){case 0:return this.setCurrentMarker(),(ne=new Ve).naturalSize=this.renderAtNaturalSize,ne.imageType=this.renderImageType,ne.imageQuality=this.renderImageQuality,ne.markersOnly=this.renderMarkersOnly,ne.width=this.renderWidth,ne.height=this.renderHeight,[4,ne.rasterize(this.target instanceof HTMLImageElement?this.target:null,this.markerImage,this.renderTarget)];case 1:return te.sent(),[4,ne.rasterize(this.target instanceof HTMLImageElement?this.target:null,this.markerImage,this.renderTarget)];case 2:return[2,te.sent()]}})})},le.prototype.close=function(ne){var te=this;if(ne===void 0&&(ne=!1),this.isOpen){var ae=!1;ne||this.eventListeners.beforeclose.forEach(function(he){var re=new et(te,!0);he(re),re.defaultPrevented&&(ae=!0)}),ae||(this.coverDiv&&this.closeUI(),this.targetObserver&&(this.targetObserver.unobserve(this.target),this.targetObserver.unobserve(this.editorCanvas)),this.settings.displayMode==="popup"&&window.removeEventListener("resize",this.setWindowHeight),this.eventListeners.close.forEach(function(he){return he(new et(te))}),this.detachEvents(),this._isOpen=!1)}},le.prototype.addMarkersToToolbar=function(){for(var ne,te=[],ae=0;ae<arguments.length;ae++)te[ae]=arguments[ae];(ne=this._availableMarkerTypes).push.apply(ne,te)},le.prototype.addRenderEventListener=function(ne){this.addEventListener("render",function(te){ne(te.dataUrl,te.state)})},le.prototype.removeRenderEventListener=function(ne){},le.prototype.addCloseEventListener=function(ne){this.addEventListener("close",function(){ne()})},le.prototype.removeCloseEventListener=function(ne){},le.prototype.setupResizeObserver=function(){var ne=this;this.settings.displayMode==="inline"?window.ResizeObserver&&(this.targetObserver=new ResizeObserver(function(){ne.resize(ne.target.clientWidth,ne.target.clientHeight)}),this.targetObserver.observe(this.target)):this.settings.displayMode==="popup"&&(window.ResizeObserver&&(this.targetObserver=new ResizeObserver(function(){return ne.onPopupTargetResize()}),this.targetObserver.observe(this.editorCanvas)),window.addEventListener("resize",this.setWindowHeight))},le.prototype.onPopupTargetResize=function(){var ne=1*this.target.clientWidth/this.target.clientHeight,te=this.editorCanvas.clientWidth/ne>this.editorCanvas.clientHeight?this.editorCanvas.clientHeight*ne:this.editorCanvas.clientWidth,ae=te<this.editorCanvas.clientWidth?this.editorCanvas.clientHeight:this.editorCanvas.clientWidth/ne;this.resize(te,ae)},le.prototype.setWindowHeight=function(){this.windowHeight=window.innerHeight},le.prototype.resize=function(ne,te){this._isResizing=!0;var ae=ne/this.imageWidth,he=te/this.imageHeight;this.imageWidth=Math.round(ne),this.imageHeight=Math.round(te),this.target instanceof HTMLImageElement&&this.editingTarget instanceof HTMLImageElement&&(this.editingTarget.src=this.target.src),this.editingTarget.width=this.imageWidth,this.editingTarget.height=this.imageHeight,this.editingTarget.style.width=this.imageWidth+"px",this.editingTarget.style.height=this.imageHeight+"px",this.markerImage.setAttribute("width",this.imageWidth.toString()),this.markerImage.setAttribute("height",this.imageHeight.toString()),this.markerImage.setAttribute("viewBox","0 0 "+this.imageWidth.toString()+" "+this.imageHeight.toString()),this.markerImageHolder.style.width=this.imageWidth+"px",this.markerImageHolder.style.height=this.imageHeight+"px",this.overlayContainer.style.width=this.imageWidth+"px",this.overlayContainer.style.height=this.imageHeight+"px",this.settings.displayMode!=="popup"?this.coverDiv.style.width=this.imageWidth.toString()+"px":(this.setTopLeft(),this.positionMarkerImage()),this.toolbar!==void 0&&this.toolbar.adjustLayout(),this.positionLogo(),this.scaleMarkers(ae,he),this._isResizing=!1},le.prototype.scaleMarkers=function(ne,te){var ae,he=this;this._currentMarker&&this._currentMarker instanceof Ze?this._currentMarker.scale(ne,te):(ae=this._currentMarker,this.setCurrentMarker()),this.markers.forEach(function(re){re!==he._currentMarker&&re.scale(ne,te)}),ae!==void 0&&this.setCurrentMarker(ae)},le.prototype.setEditingTarget=function(){this.imageWidth=Math.round(this.target.clientWidth),this.imageHeight=Math.round(this.target.clientHeight),this.target instanceof HTMLImageElement&&this.editingTarget instanceof HTMLImageElement&&(this.editingTarget.src=this.target.src),this.editingTarget.width=this.imageWidth,this.editingTarget.height=this.imageHeight,this.editingTarget.style.width=this.imageWidth+"px",this.editingTarget.style.height=this.imageHeight+"px"},le.prototype.setTopLeft=function(){var ne=this.editingTarget.getBoundingClientRect(),te=this.editorCanvas.getBoundingClientRect();this.left=ne.left-te.left,this.top=ne.top-te.top},le.prototype.initMarkerCanvas=function(){this.markerImageHolder=document.createElement("div"),this.markerImageHolder.style.setProperty("touch-action","pinch-zoom"),this.markerImage=document.createElementNS("http://www.w3.org/2000/svg","svg"),this.markerImage.setAttribute("xmlns","http://www.w3.org/2000/svg"),this.markerImage.setAttribute("width",this.imageWidth.toString()),this.markerImage.setAttribute("height",this.imageHeight.toString()),this.markerImage.setAttribute("viewBox","0 0 "+this.imageWidth.toString()+" "+this.imageHeight.toString()),this.markerImage.style.pointerEvents="auto",this.markerImageHolder.style.position="absolute",this.markerImageHolder.style.width=this.imageWidth+"px",this.markerImageHolder.style.height=this.imageHeight+"px",this.markerImageHolder.style.transformOrigin="top left",this.positionMarkerImage(),this.markerImageHolder.appendChild(this.markerImage),this.editorCanvas.appendChild(this.markerImageHolder)},le.prototype.addDefs=function(){for(var ne,te=[],ae=0;ae<arguments.length;ae++)te[ae]=arguments[ae];this.defs=xe.createDefs(),this.addDefsToImage(),(ne=this.defs).append.apply(ne,te)},le.prototype.addDefsToImage=function(){this.defs&&this.markerImage.insertBefore(this.defs,this.markerImage.firstChild)},le.prototype.initOverlay=function(){this.overlayContainer=document.createElement("div"),this.overlayContainer.style.position="absolute",this.overlayContainer.style.left="0px",this.overlayContainer.style.top="0px",this.overlayContainer.style.width=this.imageWidth+"px",this.overlayContainer.style.height=this.imageHeight+"px",this.overlayContainer.style.display="flex",this.markerImageHolder.appendChild(this.overlayContainer)},le.prototype.positionMarkerImage=function(){this.markerImageHolder.style.top=this.top/this.zoomLevel+"px",this.markerImageHolder.style.left=this.left/this.zoomLevel+"px"},le.prototype.attachEvents=function(){this.markerImage.addEventListener("pointerdown",this.onPointerDown),this.markerImage.addEventListener("dblclick",this.onDblClick),this.attachWindowEvents()},le.prototype.attachWindowEvents=function(){window.addEventListener("pointermove",this.onPointerMove),window.addEventListener("pointerup",this.onPointerUp),window.addEventListener("pointercancel",this.onPointerOut),window.addEventListener("pointerout",this.onPointerOut),window.addEventListener("pointerleave",this.onPointerUp),window.addEventListener("resize",this.onWindowResize),window.addEventListener("keyup",this.onKeyUp)},le.prototype.detachEvents=function(){this.markerImage.removeEventListener("pointerdown",this.onPointerDown),this.markerImage.removeEventListener("dblclick",this.onDblClick),this.detachWindowEvents()},le.prototype.detachWindowEvents=function(){window.removeEventListener("pointermove",this.onPointerMove),window.removeEventListener("pointerup",this.onPointerUp),window.removeEventListener("pointercancel",this.onPointerOut),window.removeEventListener("pointerout",this.onPointerOut),window.removeEventListener("pointerleave",this.onPointerUp),window.removeEventListener("resize",this.onWindowResize),window.removeEventListener("keyup",this.onKeyUp)},le.prototype.addLogo=function(){this.logoUI=document.createElement("div"),this.logoUI.style.display="inline-block",this.logoUI.style.margin="0px",this.logoUI.style.padding="0px",this.logoUI.style.fill="#333333";var ne=document.createElement("a");ne.href="https://markerjs.com/",ne.target="_blank",ne.innerHTML='<svg viewBox="0 0 112 96" xmlns="http://www.w3.org/2000/svg" fill-rule="evenodd" clip-rule="evenodd" stroke-linejoin="round" stroke-miterlimit="1.414"><path fill="#e5f20d" fill-opacity=".647" d="M0 40.386h111.96V95.62H0z"/><path d="M93.61 61.452c0 .987-.328 1.831-.987 2.53-.657.7-1.52 1.048-2.591 1.048-1.481 0-2.222-.74-2.222-2.22 0-16.617-.533-29.347-1.604-38.192-1.068-8.842-2.92-13.265-5.552-13.265-4.443 0-10.94 15.509-19.497 46.52v.124c0 .987-.328 1.831-.987 2.53-.657.7-1.52 1.048-2.592 1.048-1.48 0-2.22-.74-2.22-2.22 0-3.29.165-8.392.493-15.302.33-7.732.494-13.82.494-18.262 0-6.17-.186-10.55-.556-13.142-.37-2.591-1.172-3.887-2.406-3.887-2.796 0-6.333 5.12-10.612 15.363C38.494 34.367 34.01 46.44 29.32 60.34l-1.11 3.209a5.714 5.714 0 01-1.42 2.097c-.617.578-1.295.864-2.036.864-.987 0-1.644-.081-1.974-.247-.328-.162-.533-.656-.617-1.48-.41-4.03-.74-9.418-.987-16.165-.163-1.728-.329-4.566-.494-8.515-.822-13.901-1.562-23.3-2.221-28.196-.657-4.893-.987-7.628-.987-8.205 0-.657.33-1.44.987-2.345.659-.903 1.276-1.357 1.85-1.357 1.319 0 2.387.947 3.21 2.838.411.906.863 4.526 1.357 10.859.493 6.335.905 14.19 1.233 23.568l.617 18.88c4.527-13.983 9.216-26.673 14.068-38.068C45.65 6.686 50.093.988 54.123.988c2.715 0 4.566 1.974 5.553 5.923.987 3.949 1.481 9.667 1.481 17.152 0 3.949-.081 9.625-.247 17.029l-.123 5.676c3.373-11.762 6.725-21.634 10.057-29.615 3.331-7.979 6.685-11.97 10.056-11.97 8.475 0 12.71 18.757 12.71 56.269z" fill-rule="nonzero"/></svg>',ne.title="Powered by marker.js",ne.style.display="grid",ne.style.alignItems="center",ne.style.justifyItems="center",ne.style.padding="3px",ne.style.width="20px",ne.style.height="20px",this.logoUI.appendChild(ne),this.editorCanvas.appendChild(this.logoUI),this.logoUI.style.position="absolute",this.logoUI.style.pointerEvents="all",this.positionLogo()},le.prototype.positionLogo=function(){this.logoUI&&(this.uiStyleSettings.logoPosition!=="right"?this.logoUI.style.left=this.markerImageHolder.offsetLeft+10+"px":this.logoUI.style.left=this.markerImageHolder.offsetLeft+this.markerImageHolder.offsetWidth-this.logoUI.clientWidth-10+"px",this.logoUI.style.top=this.markerImageHolder.offsetTop+this.markerImageHolder.offsetHeight-this.logoUI.clientHeight-10+"px")},le.prototype.overrideOverflow=function(){this.scrollXState=window.scrollX,this.scrollYState=window.scrollY,this.bodyOverflowState=document.body.style.overflow,window.scroll({top:0,left:0}),document.body.style.overflow="hidden"},le.prototype.restoreOverflow=function(){document.body.style.overflow=this.bodyOverflowState,window.scroll({top:this.scrollYState,left:this.scrollXState})},le.prototype.showUI=function(){switch(this.settings.displayMode==="popup"&&this.overrideOverflow(),this.coverDiv=document.createElement("div"),this.coverDiv.style.visibility=this._silentRenderMode?"hidden":"visible",this.coverDiv.className=this.styles.classNamePrefixBase+" "+this.styles.classNamePrefix,this.coverDiv.style.fontSize="16px",this.coverDiv.style.userSelect="none",this.settings.displayMode){case"inline":this.coverDiv.style.position="absolute";var ne=this.settings.uiOffsetTop!==void 0?this.target.offsetTop+this.settings.uiOffsetTop:this.target.offsetTop>this.styles.settings.toolbarHeight?this.target.offsetTop-this.styles.settings.toolbarHeight:0;this.coverDiv.style.top=ne+"px",this.coverDiv.style.left=this.target.offsetLeft.toString()+"px",this.coverDiv.style.width=this.target.offsetWidth.toString()+"px",this.coverDiv.style.zIndex=this.uiStyleSettings.zIndex!==void 0?this.uiStyleSettings.zIndex:"5";break;case"popup":this.coverDiv.style.position="absolute",this.coverDiv.style.top="0px",this.coverDiv.style.left="0px",this.coverDiv.style.width="100vw",this.coverDiv.style.height=window.innerHeight+"px",this.coverDiv.style.backgroundColor="rgba(0, 0, 0, 0.75)",this.coverDiv.style.zIndex=this.uiStyleSettings.zIndex!==void 0?this.uiStyleSettings.zIndex:"1000",this.coverDiv.style.display="flex"}this.targetRoot.appendChild(this.coverDiv),this.uiDiv=document.createElement("div"),this.uiDiv.style.display="flex",this.uiDiv.style.flexDirection="column",this.uiDiv.style.flexGrow="2",this.uiDiv.style.margin=this.settings.displayMode==="popup"?this.settings.popupMargin+"px":"0px",this.uiDiv.style.border="0px",this.coverDiv.appendChild(this.uiDiv),this.toolbar=new vt(this.uiDiv,this.settings.displayMode,this._availableMarkerTypes,this.uiStyleSettings,this.styles),this.toolbar.addButtonClickListener(this.toolbarButtonClicked),this.toolbar.show(this._silentRenderMode||this.uiStyleSettings.hideToolbar?"hidden":"visible"),this.contentDiv=document.createElement("div"),this.contentDiv.style.display="flex",this.contentDiv.style.flexDirection="row",this.contentDiv.style.flexGrow="2",this.contentDiv.style.flexShrink="1",this.settings.displayMode==="popup"&&(this.contentDiv.style.backgroundColor=this.uiStyleSettings.canvasBackgroundColor,this.contentDiv.style.maxHeight=this.windowHeight-2*this.settings.popupMargin-3.5*this.uiStyleSettings.toolbarHeight+"px",this.contentDiv.style.maxWidth="calc(100vw - "+2*this.settings.popupMargin+"px)"),this.contentDiv.style.overflow="auto",this.uiDiv.appendChild(this.contentDiv),this.editorCanvas=document.createElement("div"),this.editorCanvas.style.flexGrow="2",this.editorCanvas.style.flexShrink="1",this.editorCanvas.style.position="relative",this.editorCanvas.style.overflow="hidden",this.editorCanvas.style.display="flex",this.settings.displayMode==="popup"&&(this.editorCanvas.style.alignItems="center",this.editorCanvas.style.justifyContent="center"),this.editorCanvas.style.pointerEvents="none",this.editorCanvas.style.transformOrigin="left top",this.editorCanvas.style.transform="scale("+this.zoomLevel+")",this.contentDiv.appendChild(this.editorCanvas),this.editingTarget=this.target instanceof HTMLImageElement?document.createElement("img"):document.createElement("canvas"),this.settings.uiOffsetTop===void 0&&this.target.offsetTop<this.styles.settings.toolbarHeight&&(this.editingTarget.style.marginTop=this.target.offsetTop-this.styles.settings.toolbarHeight+"px"),this.editorCanvas.appendChild(this.editingTarget),this.toolbox=new Je(this.uiDiv,this.settings.displayMode,this.uiStyleSettings,this.styles),this.toolbox.show(this._silentRenderMode||this.uiStyleSettings.hideToolbox?"hidden":"visible")},le.prototype.closeUI=function(){this.settings.displayMode==="popup"&&this.restoreOverflow(),this.targetRoot.removeChild(this.coverDiv)},le.prototype.removeMarker=function(ne){this.markerImage.removeChild(ne.container),this.markers.indexOf(ne)>-1&&this.markers.splice(this.markers.indexOf(ne),1),ne.dispose()},le.prototype.switchToSelectMode=function(){this.mode="select",this.hideNotesEditor(),this._currentMarker!==void 0&&(this._currentMarker.state!=="new"?this._currentMarker.select():(this.removeMarker(this._currentMarker),this.setCurrentMarker(),this.markerImage.style.cursor="default"),this.addUndoStep())},le.prototype.toolbarButtonClicked=function(ne,te){if(ne==="marker"&&te!==void 0)this.createNewMarker(te);else if(ne==="action")switch(te){case"select":this.switchToSelectMode(),this.switchToSelectMode();break;case"delete":this.deleteSelectedMarker();break;case"clear":this.clear();break;case"undo":this.undo();break;case"redo":this.redo();break;case"zoom":this.stepZoom();break;case"zoom-out":this.zoomLevel=1;break;case"notes":this.notesArea===void 0?(this.switchToSelectMode(),this.zoomLevel=1,this.showNotesEditor()):this.switchToSelectMode();break;case"close":this.close();break;case"render":this.switchToSelectMode(),this.startRenderAndClose()}},le.prototype.deleteSelectedMarker=function(){var ne=this;if(this._currentMarker!==void 0){var te=!1;if(this.eventListeners.markerbeforedelete.forEach(function(he){var re=new ct(ne,ne._currentMarker,!0);he(re),re.defaultPrevented&&(te=!0)}),!te){var ae=this._currentMarker;this._currentMarker.dispose(),this.markerImage.removeChild(this._currentMarker.container),this.markers.splice(this.markers.indexOf(this._currentMarker),1),this.setCurrentMarker(),this.addUndoStep(),this.eventListeners.markerdelete.forEach(function(he){return he(new ct(ne,ae))})}}},le.prototype.clear=function(){var ne=this,te=!1;if(this.markers.length>0&&(this.eventListeners.markerbeforedelete.forEach(function(ce){var Pe=new ct(ne,void 0,!0);ce(Pe),Pe.defaultPrevented&&(te=!0)}),!te)){this.setCurrentMarker();for(var ae=function(ce){var Pe=he.markers[ce];he.setCurrentMarker(he.markers[ce]),he._currentMarker.dispose(),he.markerImage.removeChild(he._currentMarker.container),he.markers.splice(he.markers.indexOf(he._currentMarker),1),he.eventListeners.markerdelete.forEach(function(lt){return lt(new ct(ne,Pe))})},he=this,re=this.markers.length-1;re>=0;re--)ae(re);this.addUndoStep()}},Object.defineProperty(le.prototype,"isNotesAreaOpen",{get:function(){return this.notesArea!==void 0},enumerable:!1,configurable:!0}),le.prototype.showNotesEditor=function(){var ne;this._currentMarker!==void 0&&(this.overlayContainer.innerHTML="",this.notesArea=document.createElement("textarea"),this.notesArea.className=this.uiStyleSettings.notesAreaStyleClassName,this.notesArea.style.pointerEvents="auto",this.notesArea.style.alignSelf="stretch",this.notesArea.style.width="100%",this.notesArea.style.margin=this.uiStyleSettings.toolbarHeight/4+"px",this.notesArea.value=(ne=this._currentMarker.notes)!==null&&ne!==void 0?ne:"",this.overlayContainer.appendChild(this.notesArea))},le.prototype.hideNotesEditor=function(){this.isNotesAreaOpen&&(this._currentMarker!==void 0&&(this._currentMarker.notes=this.notesArea.value.trim()!==""?this.notesArea.value:void 0),this.overlayContainer.removeChild(this.notesArea),this.notesArea=void 0)},le.prototype.selectLastMarker=function(){this.markers.length>0?this.setCurrentMarker(this.markers[this.markers.length-1]):this.setCurrentMarker()},le.prototype.addUndoStep=function(){var ne=this;if(this._currentMarker===void 0||this._currentMarker.state!=="edit"){var te=this.getState(),ae=this.undoRedoManager.getLastUndoStep();if(!ae||ae.width===te.width&&ae.height===te.height){var he=this.undoRedoManager.undoStepCount;this.undoRedoManager.addUndoStep(te),he<this.undoRedoManager.undoStepCount&&this.eventListeners.statechange.forEach(function(re){return re(new et(ne))})}else this.undoRedoManager.replaceLastUndoStep(te),this.eventListeners.statechange.forEach(function(re){return re(new et(ne))})}},le.prototype.undo=function(){this.switchToSelectMode(),this.addUndoStep(),this.undoStep()},le.prototype.undoStep=function(){var ne=this,te=this.undoRedoManager.undo();te!==void 0&&(this.restoreState(te),this.addDefsToImage(),this.selectLastMarker(),this.eventListeners.statechange.forEach(function(ae){return ae(new et(ne))}))},le.prototype.redo=function(){this.switchToSelectMode(),this.redoStep()},le.prototype.redoStep=function(){var ne=this,te=this.undoRedoManager.redo();te!==void 0&&(this.restoreState(te),this.addDefsToImage(),this.selectLastMarker(),this.eventListeners.statechange.forEach(function(ae){return ae(new et(ne))}))},le.prototype.stepZoom=function(){var ne=this.zoomSteps.indexOf(this.zoomLevel);this.zoomLevel=ne<this.zoomSteps.length-1?this.zoomSteps[ne+1]:this.zoomSteps[0]},le.prototype.panTo=function(ne){this.contentDiv.scrollBy({left:this.prevPanPoint.x-ne.x,top:this.prevPanPoint.y-ne.y}),this.prevPanPoint=ne},le.prototype.startRenderAndClose=function(){return de(this,void 0,void 0,function(){var ne,te,ae=this;return rt(this,function(he){switch(he.label){case 0:return[4,this.render()];case 1:return ne=he.sent(),te=this.getState(),this.eventListeners.render.forEach(function(re){return re(new jt(ae,ne,te))}),this.close(!0),[2]}})})},le.prototype.getState=function(ne){ne===!0&&this.setCurrentMarker();var te={width:this.imageWidth,height:this.imageHeight,markers:[]};return this.markers.forEach(function(ae){return te.markers.push(ae.getState())}),te},le.prototype.restoreState=function(ne){var te=this;for(this.markers.splice(0);this.markerImage.lastChild;)this.markerImage.removeChild(this.markerImage.lastChild);ne.markers.forEach(function(ae){var he=te._availableMarkerTypes.find(function(ce){return ce.typeName===ae.typeName});if(he!==void 0){var re=te.addNewMarker(he);re.restoreState(ae),te.markers.push(re)}}),ne.width&&ne.height&&(ne.width!==this.imageWidth||ne.height!==this.imageHeight)&&this.scaleMarkers(this.imageWidth/ne.width,this.imageHeight/ne.height),this.eventListeners.restorestate.forEach(function(ae){return ae(new et(te))})},le.prototype.addNewMarker=function(ne){var te=xe.createGroup();return this.markerImage.appendChild(te),new ne(te,this.overlayContainer,this.settings)},le.prototype.createNewMarker=function(ne){var te,ae=this;(te=typeof ne=="string"?this._availableMarkerTypes.find(function(he){return he.typeName===ne}):ne)&&(this.setCurrentMarker(),this.addUndoStep(),this._currentMarker=this.addNewMarker(te),this._currentMarker.onMarkerCreated=this.markerCreated,this._currentMarker.onColorChanged=this.colorChanged,this._currentMarker.onFillColorChanged=this.fillColorChanged,this._currentMarker.onStateChanged=this.markerStateChanged,this.markerImage.style.cursor="crosshair",this.toolbar.setActiveMarkerButton(te.typeName),this.toolbox.setPanelButtons(this._currentMarker.toolboxPanels),this.eventListeners.markercreating.forEach(function(he){return he(new ct(ae,ae._currentMarker))}))},le.prototype.markerCreated=function(ne){var te=this;this.mode="select",this.markerImage.style.cursor="default",this.markers.push(ne),this.setCurrentMarker(ne),ne instanceof Se&&this.settings.newFreehandMarkerOnPointerUp?this.createNewMarker(Se):this.toolbar.setSelectMode(),this.addUndoStep(),this.eventListeners.markercreate.forEach(function(ae){return ae(new ct(te,te._currentMarker))})},le.prototype.colorChanged=function(ne){this.settings.defaultColorsFollowCurrentColors&&(this.settings.defaultColor=ne,this.settings.defaultStrokeColor=ne)},le.prototype.fillColorChanged=function(ne){this.settings.defaultColorsFollowCurrentColors&&(this.settings.defaultFillColor=ne)},le.prototype.markerStateChanged=function(ne){var te=this;this.eventListeners.markerchange.forEach(function(ae){return ae(new ct(te,ne))})},le.prototype.setCurrentMarker=function(ne){var te=this;this._currentMarker!==ne&&this._currentMarker!==void 0&&(this._currentMarker.deselect(),this.toolbar.setCurrentMarker(),this.toolbox.setPanelButtons([]),this._isResizing||this.eventListeners.markerdeselect.forEach(function(ae){return ae(new ct(te,te._currentMarker))})),this._currentMarker=ne,this._currentMarker===void 0||this._currentMarker.isSelected||(this._currentMarker.state!=="new"&&this._currentMarker.select(),this.toolbar.setCurrentMarker(this._currentMarker),this.toolbox.setPanelButtons(this._currentMarker.toolboxPanels),this._isResizing||this.eventListeners.markerselect.forEach(function(ae){return ae(new ct(te,te._currentMarker))}))},le.prototype.onPointerDown=function(ne){if(this._isFocused||this.focus(),this.touchPoints++,this.touchPoints===1||ne.pointerType!=="touch")if(this._currentMarker===void 0||this._currentMarker.state!=="new"&&this._currentMarker.state!=="creating"){if(this.mode==="select"){var te=this.markers.find(function(ae){return ae.ownsTarget(ne.target)});te!==void 0?(this.setCurrentMarker(te),this.isDragging=!0,this._currentMarker.pointerDown(this.clientToLocalCoordinates(ne.clientX,ne.clientY),ne.target)):(this.setCurrentMarker(),this.isDragging=!0,this.prevPanPoint={x:ne.clientX,y:ne.clientY})}}else this.isDragging=!0,this._currentMarker.pointerDown(this.clientToLocalCoordinates(ne.clientX,ne.clientY))},le.prototype.onDblClick=function(ne){if(this._isFocused||this.focus(),this.mode==="select"){var te=this.markers.find(function(ae){return ae.ownsTarget(ne.target)});te!==void 0&&te!==this._currentMarker&&this.setCurrentMarker(te),this._currentMarker!==void 0?this._currentMarker.dblClick(this.clientToLocalCoordinates(ne.clientX,ne.clientY),ne.target):this.setCurrentMarker()}},le.prototype.onPointerMove=function(ne){this.touchPoints!==1&&ne.pointerType==="touch"||(this._currentMarker!==void 0||this.isDragging)&&(this._currentMarker!==void 0&&this._currentMarker.state==="edit"||ne.preventDefault(),this._currentMarker!==void 0?this._currentMarker.manipulate(this.clientToLocalCoordinates(ne.clientX,ne.clientY)):this.zoomLevel>1&&this.panTo({x:ne.clientX,y:ne.clientY}))},le.prototype.onPointerUp=function(ne){this.touchPoints>0&&this.touchPoints--,this.touchPoints===0&&this.isDragging&&this._currentMarker!==void 0&&this._currentMarker.pointerUp(this.clientToLocalCoordinates(ne.clientX,ne.clientY)),this.isDragging=!1,this.addUndoStep()},le.prototype.onPointerOut=function(){this.touchPoints>0&&this.touchPoints--},le.prototype.onKeyUp=function(ne){this._currentMarker===void 0||this.notesArea!==void 0||ne.key!=="Delete"&&ne.key!=="Backspace"||this.deleteSelectedMarker()},le.prototype.clientToLocalCoordinates=function(ne,te){var ae=this.markerImage.getBoundingClientRect();return{x:(ne-ae.left)/this.zoomLevel,y:(te-ae.top)/this.zoomLevel}},le.prototype.onWindowResize=function(){this.positionUI()},le.prototype.positionUI=function(){switch(this.setTopLeft(),this.settings.displayMode){case"inline":var ne=this.target.getClientRects().item(0).y>this.styles.settings.toolbarHeight?this.target.offsetTop-this.styles.settings.toolbarHeight:0;this.coverDiv.style.top=ne+"px",this.coverDiv.style.left=this.target.offsetLeft.toString()+"px";break;case"popup":this.coverDiv.style.top="0px",this.coverDiv.style.left="0px",this.coverDiv.style.width="100vw",this.coverDiv.style.height=this.windowHeight+"px",this.contentDiv.style.maxHeight=this.windowHeight-2*this.settings.popupMargin-3.5*this.styles.settings.toolbarHeight+"px"}this.positionMarkerImage(),this.positionLogo()},le.prototype.addLicenseKey=function(ne){Ae.addKey(ne)},le.prototype.addEventListener=function(ne,te){this.eventListeners.addEventListener(ne,te)},le.prototype.removeEventListener=function(ne,te){this.eventListeners.removeEventListener(ne,te)},le.prototype.renderState=function(ne){this._silentRenderMode=!0,this.settings.displayMode="inline",this.isOpen||this.show(),this.restoreState(ne),this.startRenderAndClose(),this._silentRenderMode=!1},Object.defineProperty(le.prototype,"isFocused",{get:function(){return this._isFocused},enumerable:!1,configurable:!0}),le.prototype.focus=function(){var ne=this;this._isFocused||(this.attachWindowEvents(),this._isFocused=!0,this._previousCurrentMarker!==void 0&&this.setCurrentMarker(this._previousCurrentMarker),this.eventListeners.focus.forEach(function(te){return te(new et(ne))}))},le.prototype.blur=function(){var ne=this;this._isFocused&&(this.detachWindowEvents(),this._isFocused=!1,this._previousCurrentMarker=this._currentMarker,this.setCurrentMarker(),this.eventListeners.blur.forEach(function(te){return te(new et(ne))}))},le.instanceCounter=0,le}()},6551:function(Yn,mn,z){"use strict";z.d(mn,{ZP:function(){return Ae}});var b=z(72190),Ce=z(59301),de=z(47273),rt=0,Oe=(0,de.Z)();function xe(){var Ve;return Oe?(Ve=rt,rt+=1):Ve="TEST_OR_SSR",Ve}function Ae(Ve){var Be=Ce.useState(),fe=(0,b.Z)(Be,2),Ge=fe[0],be=fe[1];return Ce.useEffect(function(){be("rc_select_".concat(xe()))},[]),Ve||Ge}},37463:function(Yn,mn,z){"use strict";z.d(mn,{Ac:function(){return Xt},Xo:function(){return gn},Wx:function(){return Yt},ZP:function(){return er},lk:function(){return Ut}});var b=z(60499),Ce=z(77654),de=z(18642),rt=z(85899),Oe=z(72190),xe=z(42244),Ae=z(43749),Ve=z(18929),Be=z(48736),fe=z(59301),Ge=z(92310),be=z.n(Ge),vt=z(34280),Je=z(49658),tt=z(8654),je=function(Qt){var ze=Qt.className,yt=Qt.customizeIcon,Ye=Qt.customizeIconProps,Ct=Qt.children,qt=Qt.onMouseDown,nr=Qt.onClick,ar=typeof yt=="function"?yt(Ye):yt;return fe.createElement("span",{className:ze,onMouseDown:function(xt){xt.preventDefault(),qt==null||qt(xt)},style:{userSelect:"none",WebkitUserSelect:"none"},unselectable:"on",onClick:nr,"aria-hidden":!0},ar!==void 0?ar:fe.createElement("span",{className:be()(ze.split(/\s+/).map(function(pt){return"".concat(pt,"-icon")}))},Ct))},We=je,ot=function(Qt,ze,yt,Ye,Ct){var qt=arguments.length>5&&arguments[5]!==void 0?arguments[5]:!1,nr=arguments.length>6?arguments[6]:void 0,ar=arguments.length>7?arguments[7]:void 0,pt=fe.useMemo(function(){if((0,Ae.Z)(Ye)==="object")return Ye.clearIcon;if(Ct)return Ct},[Ye,Ct]),xt=fe.useMemo(function(){return!!(!qt&&Ye&&(yt.length||nr)&&!(ar==="combobox"&&nr===""))},[Ye,qt,yt.length,nr,ar]);return{allowClear:xt,clearIcon:fe.createElement(We,{className:"".concat(Qt,"-clear"),onMouseDown:ze,customizeIcon:pt},"\xD7")}},Mt=fe.createContext(null);function Ut(){return fe.useContext(Mt)}function se(){var It=arguments.length>0&&arguments[0]!==void 0?arguments[0]:10,Qt=fe.useState(!1),ze=(0,Oe.Z)(Qt,2),yt=ze[0],Ye=ze[1],Ct=fe.useRef(null),qt=function(){window.clearTimeout(Ct.current)};fe.useEffect(function(){return qt},[]);var nr=function(pt,xt){qt(),Ct.current=window.setTimeout(function(){Ye(pt),xt&&xt()},It)};return[yt,nr,qt]}function Me(){var It=arguments.length>0&&arguments[0]!==void 0?arguments[0]:250,Qt=fe.useRef(null),ze=fe.useRef(null);fe.useEffect(function(){return function(){window.clearTimeout(ze.current)}},[]);function yt(Ye){(Ye||Qt.current===null)&&(Qt.current=Ye),window.clearTimeout(ze.current),ze.current=window.setTimeout(function(){Qt.current=null},It)}return[function(){return Qt.current},yt]}function st(It,Qt,ze,yt){var Ye=fe.useRef(null);Ye.current={open:Qt,triggerOpen:ze,customizedTrigger:yt},fe.useEffect(function(){function Ct(qt){var nr;if(!((nr=Ye.current)!==null&&nr!==void 0&&nr.customizedTrigger)){var ar=qt.target;ar.shadowRoot&&qt.composed&&(ar=qt.composedPath()[0]||ar),Ye.current.open&&It().filter(function(pt){return pt}).every(function(pt){return!pt.contains(ar)&&pt!==ar})&&Ye.current.triggerOpen(!1)}}return window.addEventListener("mousedown",Ct),function(){return window.removeEventListener("mousedown",Ct)}},[])}var mt=z(10228);function kt(It){return It&&![mt.Z.ESC,mt.Z.SHIFT,mt.Z.BACKSPACE,mt.Z.TAB,mt.Z.WIN_KEY,mt.Z.ALT,mt.Z.META,mt.Z.WIN_KEY_RIGHT,mt.Z.CTRL,mt.Z.SEMICOLON,mt.Z.EQUALS,mt.Z.CAPS_LOCK,mt.Z.CONTEXT_MENU,mt.Z.F1,mt.Z.F2,mt.Z.F3,mt.Z.F4,mt.Z.F5,mt.Z.F6,mt.Z.F7,mt.Z.F8,mt.Z.F9,mt.Z.F10,mt.Z.F11,mt.Z.F12].includes(It)}var Qe=z(26112),ut=z(83836);function dt(It,Qt,ze){var yt=(0,rt.Z)((0,rt.Z)({},It),ze?Qt:{});return Object.keys(Qt).forEach(function(Ye){var Ct=Qt[Ye];typeof Ct=="function"&&(yt[Ye]=function(){for(var qt,nr=arguments.length,ar=new Array(nr),pt=0;pt<nr;pt++)ar[pt]=arguments[pt];return Ct.apply(void 0,ar),(qt=It[Ye])===null||qt===void 0?void 0:qt.call.apply(qt,[It].concat(ar))})}),yt}var Fe=dt,Ze=["prefixCls","id","inputElement","autoFocus","autoComplete","editable","activeDescendantId","value","open","attrs"],Se=function(Qt,ze){var yt=Qt.prefixCls,Ye=Qt.id,Ct=Qt.inputElement,qt=Qt.autoFocus,nr=Qt.autoComplete,ar=Qt.editable,pt=Qt.activeDescendantId,xt=Qt.value,Pt=Qt.open,Kt=Qt.attrs,In=(0,xe.Z)(Qt,Ze),Zn=Ct||fe.createElement("input",null),kn=Zn,Un=kn.ref,pr=kn.props;return(0,Be.Kp)(!("maxLength"in Zn.props),"Passing 'maxLength' to input element directly may not work because input in BaseSelect is controlled."),Zn=fe.cloneElement(Zn,(0,rt.Z)((0,rt.Z)((0,rt.Z)({type:"search"},Fe(In,pr,!0)),{},{id:Ye,ref:(0,tt.sQ)(ze,Un),autoComplete:nr||"off",autoFocus:qt,className:be()("".concat(yt,"-selection-search-input"),pr==null?void 0:pr.className),role:"combobox","aria-expanded":Pt||!1,"aria-haspopup":"listbox","aria-owns":"".concat(Ye,"_list"),"aria-autocomplete":"list","aria-controls":"".concat(Ye,"_list"),"aria-activedescendant":Pt?pt:void 0},Kt),{},{value:ar?xt:"",readOnly:!ar,unselectable:ar?null:"on",style:(0,rt.Z)((0,rt.Z)({},pr.style),{},{opacity:ar?null:0})})),Zn},ue=fe.forwardRef(Se),gt=ue;function He(It){return Array.isArray(It)?It:It!==void 0?[It]:[]}var ke=typeof window!="undefined"&&window.document&&window.document.documentElement,Nt=ke;function De(It){return It!=null}function ve(It){return!It&&It!==0}function At(It){return["string","number"].includes((0,Ae.Z)(It))}function Gt(It){var Qt=void 0;return It&&(At(It.title)?Qt=It.title.toString():At(It.label)&&(Qt=It.label.toString())),Qt}function Wt(It,Qt){Nt?fe.useLayoutEffect(It,Qt):fe.useEffect(It,Qt)}function pe(It){var Qt;return(Qt=It.key)!==null&&Qt!==void 0?Qt:It.value}var Re=function(Qt){Qt.preventDefault(),Qt.stopPropagation()},Ue=function(Qt){var ze=Qt.id,yt=Qt.prefixCls,Ye=Qt.values,Ct=Qt.open,qt=Qt.searchValue,nr=Qt.autoClearSearchValue,ar=Qt.inputRef,pt=Qt.placeholder,xt=Qt.disabled,Pt=Qt.mode,Kt=Qt.showSearch,In=Qt.autoFocus,Zn=Qt.autoComplete,kn=Qt.activeDescendantId,Un=Qt.tabIndex,pr=Qt.removeIcon,Ar=Qt.maxTagCount,Vr=Qt.maxTagTextLength,Br=Qt.maxTagPlaceholder,fr=Br===void 0?function(Ft){return"+ ".concat(Ft.length," ...")}:Br,Pr=Qt.tagRender,kr=Qt.onToggleOpen,Jr=Qt.onRemove,Xr=Qt.onInputChange,vo=Qt.onInputPaste,yr=Qt.onInputKeyDown,ur=Qt.onInputMouseDown,gr=Qt.onInputCompositionStart,no=Qt.onInputCompositionEnd,Kr=Qt.onInputBlur,wr=fe.useRef(null),Rr=(0,fe.useState)(0),mo=(0,Oe.Z)(Rr,2),$r=mo[0],qr=mo[1],eo=(0,fe.useState)(!1),ko=(0,Oe.Z)(eo,2),_o=ko[0],qo=ko[1],Lo="".concat(yt,"-selection"),ii=Ct||Pt==="multiple"&&nr===!1||Pt==="tags"?qt:"",Le=Pt==="tags"||Pt==="multiple"&&nr===!1||Kt&&(Ct||_o);Wt(function(){qr(wr.current.scrollWidth)},[ii]);var nt=function(en,On,Wn,Dn,jn){return fe.createElement("span",{title:Gt(en),className:be()("".concat(Lo,"-item"),(0,de.Z)({},"".concat(Lo,"-item-disabled"),Wn))},fe.createElement("span",{className:"".concat(Lo,"-item-content")},On),Dn&&fe.createElement(We,{className:"".concat(Lo,"-item-remove"),onMouseDown:Re,onClick:jn,customizeIcon:pr},"\xD7"))},Ot=function(en,On,Wn,Dn,jn,$n){var Cr=function(zr){Re(zr),kr(!Ct)};return fe.createElement("span",{onMouseDown:Cr},Pr({label:On,value:en,disabled:Wn,closable:Dn,onClose:jn,isMaxTag:!!$n}))},sn=function(en){var On=en.disabled,Wn=en.label,Dn=en.value,jn=!xt&&!On,$n=Wn;if(typeof Vr=="number"&&(typeof Wn=="string"||typeof Wn=="number")){var Cr=String($n);Cr.length>Vr&&($n="".concat(Cr.slice(0,Vr),"..."))}var br=function(Qr){Qr&&Qr.stopPropagation(),Jr(en)};return typeof Pr=="function"?Ot(Dn,$n,On,jn,br):nt(en,$n,On,jn,br)},hn=function(en){if(!Ye.length)return null;var On=typeof fr=="function"?fr(en):fr;return typeof Pr=="function"?Ot(void 0,On,!1,!1,void 0,!0):nt({title:On},On,!1)},Tt=fe.createElement("div",{className:"".concat(Lo,"-search"),style:{width:$r},onFocus:function(){qo(!0)},onBlur:function(){qo(!1)}},fe.createElement(gt,{ref:ar,open:Ct,prefixCls:yt,id:ze,inputElement:null,disabled:xt,autoFocus:In,autoComplete:Zn,editable:Le,activeDescendantId:kn,value:ii,onKeyDown:yr,onMouseDown:ur,onChange:Xr,onPaste:vo,onCompositionStart:gr,onCompositionEnd:no,onBlur:Kr,tabIndex:Un,attrs:(0,Qe.Z)(Qt,!0)}),fe.createElement("span",{ref:wr,className:"".concat(Lo,"-search-mirror"),"aria-hidden":!0},ii,"\xA0")),it=fe.createElement(ut.Z,{prefixCls:"".concat(Lo,"-overflow"),data:Ye,renderItem:sn,renderRest:hn,suffix:Tt,itemKey:pe,maxCount:Ar});return fe.createElement("span",{className:"".concat(Lo,"-wrap")},it,!Ye.length&&!ii&&fe.createElement("span",{className:"".concat(Lo,"-placeholder")},pt))},Jt=Ue,et=function(Qt){var ze=Qt.inputElement,yt=Qt.prefixCls,Ye=Qt.id,Ct=Qt.inputRef,qt=Qt.disabled,nr=Qt.autoFocus,ar=Qt.autoComplete,pt=Qt.activeDescendantId,xt=Qt.mode,Pt=Qt.open,Kt=Qt.values,In=Qt.placeholder,Zn=Qt.tabIndex,kn=Qt.showSearch,Un=Qt.searchValue,pr=Qt.activeValue,Ar=Qt.maxLength,Vr=Qt.onInputKeyDown,Br=Qt.onInputMouseDown,fr=Qt.onInputChange,Pr=Qt.onInputPaste,kr=Qt.onInputCompositionStart,Jr=Qt.onInputCompositionEnd,Xr=Qt.onInputBlur,vo=Qt.title,yr=fe.useState(!1),ur=(0,Oe.Z)(yr,2),gr=ur[0],no=ur[1],Kr=xt==="combobox",wr=Kr||kn,Rr=Kt[0],mo=Un||"";Kr&&pr&&!gr&&(mo=pr),fe.useEffect(function(){Kr&&no(!1)},[Kr,pr]);var $r=xt!=="combobox"&&!Pt&&!kn?!1:!!mo,qr=vo===void 0?Gt(Rr):vo,eo=fe.useMemo(function(){return Rr?null:fe.createElement("span",{className:"".concat(yt,"-selection-placeholder"),style:$r?{visibility:"hidden"}:void 0},In)},[Rr,$r,In,yt]);return fe.createElement("span",{className:"".concat(yt,"-selection-wrap")},fe.createElement("span",{className:"".concat(yt,"-selection-search")},fe.createElement(gt,{ref:Ct,prefixCls:yt,id:Ye,open:Pt,inputElement:ze,disabled:qt,autoFocus:nr,autoComplete:ar,editable:wr,activeDescendantId:pt,value:mo,onKeyDown:Vr,onMouseDown:Br,onChange:function(_o){no(!0),fr(_o)},onPaste:Pr,onCompositionStart:kr,onCompositionEnd:Jr,onBlur:Xr,tabIndex:Zn,attrs:(0,Qe.Z)(Qt,!0),maxLength:Kr?Ar:void 0})),!Kr&&Rr?fe.createElement("span",{className:"".concat(yt,"-selection-item"),title:qr,style:$r?{visibility:"hidden"}:void 0},Rr.label):null,eo)},jt=et,ct=function(Qt,ze){var yt=(0,fe.useRef)(null),Ye=(0,fe.useRef)(!1),Ct=Qt.prefixCls,qt=Qt.open,nr=Qt.mode,ar=Qt.showSearch,pt=Qt.tokenWithEnter,xt=Qt.disabled,Pt=Qt.prefix,Kt=Qt.autoClearSearchValue,In=Qt.onSearch,Zn=Qt.onSearchSubmit,kn=Qt.onToggleOpen,Un=Qt.onInputKeyDown,pr=Qt.onInputBlur,Ar=Qt.domRef;fe.useImperativeHandle(ze,function(){return{focus:function(qr){yt.current.focus(qr)},blur:function(){yt.current.blur()}}});var Vr=Me(0),Br=(0,Oe.Z)(Vr,2),fr=Br[0],Pr=Br[1],kr=function(qr){var eo=qr.which,ko=yt.current instanceof HTMLTextAreaElement;!ko&&qt&&(eo===mt.Z.UP||eo===mt.Z.DOWN)&&qr.preventDefault(),Un&&Un(qr),eo===mt.Z.ENTER&&nr==="tags"&&!Ye.current&&!qt&&(Zn==null||Zn(qr.target.value)),!(ko&&!qt&&~[mt.Z.UP,mt.Z.DOWN,mt.Z.LEFT,mt.Z.RIGHT].indexOf(eo))&&kt(eo)&&kn(!0)},Jr=function(){Pr(!0)},Xr=(0,fe.useRef)(null),vo=function(qr){In(qr,!0,Ye.current)!==!1&&kn(!0)},yr=function(){Ye.current=!0},ur=function(qr){Ye.current=!1,nr!=="combobox"&&vo(qr.target.value)},gr=function(qr){var eo=qr.target.value;if(pt&&Xr.current&&/[\r\n]/.test(Xr.current)){var ko=Xr.current.replace(/[\r\n]+$/,"").replace(/\r\n/g," ").replace(/[\r\n]/g," ");eo=eo.replace(ko,Xr.current)}Xr.current=null,vo(eo)},no=function(qr){var eo=qr.clipboardData,ko=eo==null?void 0:eo.getData("text");Xr.current=ko||""},Kr=function(qr){var eo=qr.target;if(eo!==yt.current){var ko=document.body.style.msTouchAction!==void 0;ko?setTimeout(function(){yt.current.focus()}):yt.current.focus()}},wr=function(qr){var eo=fr();qr.target!==yt.current&&!eo&&!(nr==="combobox"&&xt)&&qr.preventDefault(),(nr!=="combobox"&&(!ar||!eo)||!qt)&&(qt&&Kt!==!1&&In("",!0,!1),kn())},Rr={inputRef:yt,onInputKeyDown:kr,onInputMouseDown:Jr,onInputChange:gr,onInputPaste:no,onInputCompositionStart:yr,onInputCompositionEnd:ur,onInputBlur:pr},mo=nr==="multiple"||nr==="tags"?fe.createElement(Jt,(0,b.Z)({},Qt,Rr)):fe.createElement(jt,(0,b.Z)({},Qt,Rr));return fe.createElement("div",{ref:Ar,className:"".concat(Ct,"-selector"),onClick:Kr,onMouseDown:wr},Pt&&fe.createElement("div",{className:"".concat(Ct,"-prefix")},Pt),mo)},dn=fe.forwardRef(ct),bt=dn,le=z(68196),ne=["prefixCls","disabled","visible","children","popupElement","animation","transitionName","dropdownStyle","dropdownClassName","direction","placement","builtinPlacements","dropdownMatchSelectWidth","dropdownRender","dropdownAlign","getPopupContainer","empty","getTriggerDOMNode","onPopupVisibleChange","onPopupMouseEnter"],te=function(Qt){var ze=Qt===!0?0:1;return{bottomLeft:{points:["tl","bl"],offset:[0,4],overflow:{adjustX:ze,adjustY:1},htmlRegion:"scroll"},bottomRight:{points:["tr","br"],offset:[0,4],overflow:{adjustX:ze,adjustY:1},htmlRegion:"scroll"},topLeft:{points:["bl","tl"],offset:[0,-4],overflow:{adjustX:ze,adjustY:1},htmlRegion:"scroll"},topRight:{points:["br","tr"],offset:[0,-4],overflow:{adjustX:ze,adjustY:1},htmlRegion:"scroll"}}},ae=function(Qt,ze){var yt=Qt.prefixCls,Ye=Qt.disabled,Ct=Qt.visible,qt=Qt.children,nr=Qt.popupElement,ar=Qt.animation,pt=Qt.transitionName,xt=Qt.dropdownStyle,Pt=Qt.dropdownClassName,Kt=Qt.direction,In=Kt===void 0?"ltr":Kt,Zn=Qt.placement,kn=Qt.builtinPlacements,Un=Qt.dropdownMatchSelectWidth,pr=Qt.dropdownRender,Ar=Qt.dropdownAlign,Vr=Qt.getPopupContainer,Br=Qt.empty,fr=Qt.getTriggerDOMNode,Pr=Qt.onPopupVisibleChange,kr=Qt.onPopupMouseEnter,Jr=(0,xe.Z)(Qt,ne),Xr="".concat(yt,"-dropdown"),vo=nr;pr&&(vo=pr(nr));var yr=fe.useMemo(function(){return kn||te(Un)},[kn,Un]),ur=ar?"".concat(Xr,"-").concat(ar):pt,gr=typeof Un=="number",no=fe.useMemo(function(){return gr?null:Un===!1?"minWidth":"width"},[Un,gr]),Kr=xt;gr&&(Kr=(0,rt.Z)((0,rt.Z)({},Kr),{},{width:Un}));var wr=fe.useRef(null);return fe.useImperativeHandle(ze,function(){return{getPopupElement:function(){var mo;return(mo=wr.current)===null||mo===void 0?void 0:mo.popupElement}}}),fe.createElement(le.Z,(0,b.Z)({},Jr,{showAction:Pr?["click"]:[],hideAction:Pr?["click"]:[],popupPlacement:Zn||(In==="rtl"?"bottomRight":"bottomLeft"),builtinPlacements:yr,prefixCls:Xr,popupTransitionName:ur,popup:fe.createElement("div",{onMouseEnter:kr},vo),ref:wr,stretch:no,popupAlign:Ar,popupVisible:Ct,getPopupContainer:Vr,popupClassName:be()(Pt,(0,de.Z)({},"".concat(Xr,"-empty"),Br)),popupStyle:Kr,getTriggerDOMNode:fr,onPopupVisibleChange:Pr}),qt)},he=fe.forwardRef(ae),re=he,ce=z(48745);function Pe(It,Qt){var ze=It.key,yt;return"value"in It&&(yt=It.value),ze!=null?ze:yt!==void 0?yt:"rc-index-key-".concat(Qt)}function lt(It){return typeof It!="undefined"&&!Number.isNaN(It)}function $e(It,Qt){var ze=It||{},yt=ze.label,Ye=ze.value,Ct=ze.options,qt=ze.groupLabel,nr=yt||(Qt?"children":"label");return{label:nr,value:Ye||"value",options:Ct||"options",groupLabel:qt||nr}}function Ie(It){var Qt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},ze=Qt.fieldNames,yt=Qt.childrenAsData,Ye=[],Ct=$e(ze,!1),qt=Ct.label,nr=Ct.value,ar=Ct.options,pt=Ct.groupLabel;function xt(Pt,Kt){Array.isArray(Pt)&&Pt.forEach(function(In){if(Kt||!(ar in In)){var Zn=In[nr];Ye.push({key:Pe(In,Ye.length),groupOption:Kt,data:In,label:In[qt],value:Zn})}else{var kn=In[pt];kn===void 0&&yt&&(kn=In.label),Ye.push({key:Pe(In,Ye.length),group:!0,data:In,label:kn}),xt(In[ar],!0)}})}return xt(It,!1),Ye}function ht(It){var Qt=(0,rt.Z)({},It);return"props"in Qt||Object.defineProperty(Qt,"props",{get:function(){return(0,Be.ZP)(!1,"Return type is option instead of Option instance. Please read value directly instead of reading from `props`."),Qt}}),Qt}var Et=function(Qt,ze,yt){if(!ze||!ze.length)return null;var Ye=!1,Ct=function nr(ar,pt){var xt=(0,ce.Z)(pt),Pt=xt[0],Kt=xt.slice(1);if(!Pt)return[ar];var In=ar.split(Pt);return Ye=Ye||In.length>1,In.reduce(function(Zn,kn){return[].concat((0,Ce.Z)(Zn),(0,Ce.Z)(nr(kn,Kt)))},[]).filter(Boolean)},qt=Ct(Qt,ze);return Ye?typeof yt!="undefined"?qt.slice(0,yt):qt:null},Rt=fe.createContext(null),Te=Rt;function Ke(It){var Qt=It.visible,ze=It.values;if(!Qt)return null;var yt=50;return fe.createElement("span",{"aria-live":"polite",style:{width:0,height:0,position:"absolute",overflow:"hidden",opacity:0}},"".concat(ze.slice(0,yt).map(function(Ye){var Ct=Ye.label,qt=Ye.value;return["number","string"].includes((0,Ae.Z)(Ct))?Ct:qt}).join(", ")),ze.length>yt?", ...":null)}var yn=["id","prefixCls","className","showSearch","tagRender","direction","omitDomProps","displayValues","onDisplayValuesChange","emptyOptions","notFoundContent","onClear","mode","disabled","loading","getInputElement","getRawInputElement","open","defaultOpen","onDropdownVisibleChange","activeValue","onActiveValueChange","activeDescendantId","searchValue","autoClearSearchValue","onSearch","onSearchSplit","tokenSeparators","allowClear","prefix","suffixIcon","clearIcon","OptionList","animation","transitionName","dropdownStyle","dropdownClassName","dropdownMatchSelectWidth","dropdownRender","dropdownAlign","placement","builtinPlacements","getPopupContainer","showAction","onFocus","onBlur","onKeyUp","onKeyDown","onMouseDown"],Ht=["value","onChange","removeIcon","placeholder","autoFocus","maxTagCount","maxTagTextLength","maxTagPlaceholder","choiceTransitionName","onInputKeyDown","onPopupScroll","tabIndex"],bn=function(Qt){return Qt==="tags"||Qt==="multiple"},fn=fe.forwardRef(function(It,Qt){var ze,yt=It.id,Ye=It.prefixCls,Ct=It.className,qt=It.showSearch,nr=It.tagRender,ar=It.direction,pt=It.omitDomProps,xt=It.displayValues,Pt=It.onDisplayValuesChange,Kt=It.emptyOptions,In=It.notFoundContent,Zn=In===void 0?"Not Found":In,kn=It.onClear,Un=It.mode,pr=It.disabled,Ar=It.loading,Vr=It.getInputElement,Br=It.getRawInputElement,fr=It.open,Pr=It.defaultOpen,kr=It.onDropdownVisibleChange,Jr=It.activeValue,Xr=It.onActiveValueChange,vo=It.activeDescendantId,yr=It.searchValue,ur=It.autoClearSearchValue,gr=It.onSearch,no=It.onSearchSplit,Kr=It.tokenSeparators,wr=It.allowClear,Rr=It.prefix,mo=It.suffixIcon,$r=It.clearIcon,qr=It.OptionList,eo=It.animation,ko=It.transitionName,_o=It.dropdownStyle,qo=It.dropdownClassName,Lo=It.dropdownMatchSelectWidth,ii=It.dropdownRender,Le=It.dropdownAlign,nt=It.placement,Ot=It.builtinPlacements,sn=It.getPopupContainer,hn=It.showAction,Tt=hn===void 0?[]:hn,it=It.onFocus,Ft=It.onBlur,en=It.onKeyUp,On=It.onKeyDown,Wn=It.onMouseDown,Dn=(0,xe.Z)(It,yn),jn=bn(Un),$n=(qt!==void 0?qt:jn)||Un==="combobox",Cr=(0,rt.Z)({},Dn);Ht.forEach(function(Hi){delete Cr[Hi]}),pt==null||pt.forEach(function(Hi){delete Cr[Hi]});var br=fe.useState(!1),zr=(0,Oe.Z)(br,2),Qr=zr[0],yo=zr[1];fe.useEffect(function(){yo((0,Je.Z)())},[]);var io=fe.useRef(null),Io=fe.useRef(null),co=fe.useRef(null),fo=fe.useRef(null),bo=fe.useRef(null),Bo=fe.useRef(!1),ri=se(),Si=(0,Oe.Z)(ri,3),bi=Si[0],Ki=Si[1],zo=Si[2];fe.useImperativeHandle(Qt,function(){var Hi,Ci;return{focus:(Hi=fo.current)===null||Hi===void 0?void 0:Hi.focus,blur:(Ci=fo.current)===null||Ci===void 0?void 0:Ci.blur,scrollTo:function(Ma){var wa;return(wa=bo.current)===null||wa===void 0?void 0:wa.scrollTo(Ma)},nativeElement:io.current||Io.current}});var Mo=fe.useMemo(function(){var Hi;if(Un!=="combobox")return yr;var Ci=(Hi=xt[0])===null||Hi===void 0?void 0:Hi.value;return typeof Ci=="string"||typeof Ci=="number"?String(Ci):""},[yr,Un,xt]),zi=Un==="combobox"&&typeof Vr=="function"&&Vr()||null,Wi=typeof Br=="function"&&Br(),Xi=(0,tt.x1)(Io,Wi==null||(ze=Wi.props)===null||ze===void 0?void 0:ze.ref),za=fe.useState(!1),Pa=(0,Oe.Z)(za,2),Ta=Pa[0],Ba=Pa[1];(0,vt.Z)(function(){Ba(!0)},[]);var Ui=(0,Ve.Z)(!1,{defaultValue:Pr,value:fr}),Fa=(0,Oe.Z)(Ui,2),ul=Fa[0],Qa=Fa[1],Qi=Ta?ul:!1,Nl=!Zn&&Kt;(pr||Nl&&Qi&&Un==="combobox")&&(Qi=!1);var El=Nl?!1:Qi,hi=fe.useCallback(function(Hi){var Ci=Hi!==void 0?Hi:!Qi;pr||(Qa(Ci),Qi!==Ci&&(kr==null||kr(Ci)))},[pr,Qi,Qa,kr]),mi=fe.useMemo(function(){return(Kr||[]).some(function(Hi){return[`
|
|
|
`,`\r
|
|
|
`].includes(Hi)})},[Kr]),wo=fe.useContext(Te)||{},ho=wo.maxCount,To=wo.rawValues,si=function(Ci,sa,Ma){if(!(jn&<(ho)&&(To==null?void 0:To.size)>=ho)){var wa=!0,_i=Ci;Xr==null||Xr(null);var tl=Et(Ci,Kr,lt(ho)?ho-To.size:void 0),Ka=Ma?null:tl;return Un!=="combobox"&&Ka&&(_i="",no==null||no(Ka),hi(!1),wa=!1),gr&&Mo!==_i&&gr(_i,{source:sa?"typing":"effect"}),wa}},da=function(Ci){!Ci||!Ci.trim()||gr(Ci,{source:"submit"})};fe.useEffect(function(){!Qi&&!jn&&Un!=="combobox"&&si("",!1,!1)},[Qi]),fe.useEffect(function(){ul&&pr&&Qa(!1),pr&&!Bo.current&&Ki(!1)},[pr]);var Ri=Me(),Li=(0,Oe.Z)(Ri,2),Oi=Li[0],pa=Li[1],Ea=fe.useRef(!1),Oa=function(Ci){var sa=Oi(),Ma=Ci.key,wa=Ma==="Enter";if(wa&&(Un!=="combobox"&&Ci.preventDefault(),Qi||hi(!0)),pa(!!Mo),Ma==="Backspace"&&!sa&&jn&&!Mo&&xt.length){for(var _i=(0,Ce.Z)(xt),tl=null,Ka=_i.length-1;Ka>=0;Ka-=1){var nl=_i[Ka];if(!nl.disabled){_i.splice(Ka,1),tl=nl;break}}tl&&Pt(_i,{type:"remove",values:[tl]})}for(var _a=arguments.length,rl=new Array(_a>1?_a-1:0),ol=1;ol<_a;ol++)rl[ol-1]=arguments[ol];if(Qi&&(!wa||!Ea.current)){var kl;wa&&(Ea.current=!0),(kl=bo.current)===null||kl===void 0||kl.onKeyDown.apply(kl,[Ci].concat(rl))}On==null||On.apply(void 0,[Ci].concat(rl))},Ya=function(Ci){for(var sa=arguments.length,Ma=new Array(sa>1?sa-1:0),wa=1;wa<sa;wa++)Ma[wa-1]=arguments[wa];if(Qi){var _i;(_i=bo.current)===null||_i===void 0||_i.onKeyUp.apply(_i,[Ci].concat(Ma))}Ci.key==="Enter"&&(Ea.current=!1),en==null||en.apply(void 0,[Ci].concat(Ma))},Ii=function(Ci){var sa=xt.filter(function(Ma){return Ma!==Ci});Pt(sa,{type:"remove",values:[Ci]})},Ga=function(){Ea.current=!1},wl=fe.useRef(!1),cl=function(){Ki(!0),pr||(it&&!wl.current&&it.apply(void 0,arguments),Tt.includes("focus")&&hi(!0)),wl.current=!0},el=function(){Bo.current=!0,Ki(!1,function(){wl.current=!1,Bo.current=!1,hi(!1)}),!pr&&(Mo&&(Un==="tags"?gr(Mo,{source:"submit"}):Un==="multiple"&&gr("",{source:"blur"})),Ft&&Ft.apply(void 0,arguments))},Xa=[];fe.useEffect(function(){return function(){Xa.forEach(function(Hi){return clearTimeout(Hi)}),Xa.splice(0,Xa.length)}},[]);var Al=function(Ci){var sa,Ma=Ci.target,wa=(sa=co.current)===null||sa===void 0?void 0:sa.getPopupElement();if(wa&&wa.contains(Ma)){var _i=setTimeout(function(){var _a=Xa.indexOf(_i);if(_a!==-1&&Xa.splice(_a,1),zo(),!Qr&&!wa.contains(document.activeElement)){var rl;(rl=fo.current)===null||rl===void 0||rl.focus()}});Xa.push(_i)}for(var tl=arguments.length,Ka=new Array(tl>1?tl-1:0),nl=1;nl<tl;nl++)Ka[nl-1]=arguments[nl];Wn==null||Wn.apply(void 0,[Ci].concat(Ka))},xl=fe.useState({}),Hl=(0,Oe.Z)(xl,2),Yl=Hl[1];function as(){Yl({})}var ns;Wi&&(ns=function(Ci){hi(Ci)}),st(function(){var Hi;return[io.current,(Hi=co.current)===null||Hi===void 0?void 0:Hi.getPopupElement()]},El,hi,!!Wi);var Cs=fe.useMemo(function(){return(0,rt.Z)((0,rt.Z)({},It),{},{notFoundContent:Zn,open:Qi,triggerOpen:El,id:yt,showSearch:$n,multiple:jn,toggleOpen:hi})},[It,Zn,El,Qi,yt,$n,jn,hi]),rs=!!mo||Ar,Dl;rs&&(Dl=fe.createElement(We,{className:be()("".concat(Ye,"-arrow"),(0,de.Z)({},"".concat(Ye,"-arrow-loading"),Ar)),customizeIcon:mo,customizeIconProps:{loading:Ar,searchValue:Mo,open:Qi,focused:bi,showSearch:$n}}));var Gl=function(){var Ci;kn==null||kn(),(Ci=fo.current)===null||Ci===void 0||Ci.focus(),Pt([],{type:"clear",values:xt}),si("",!1,!1)},os=ot(Ye,Gl,xt,wr,$r,pr,Mo,Un),hs=os.allowClear,_l=os.clearIcon,is=fe.createElement(qr,{ref:bo}),Ja=be()(Ye,Ct,(0,de.Z)((0,de.Z)((0,de.Z)((0,de.Z)((0,de.Z)((0,de.Z)((0,de.Z)((0,de.Z)((0,de.Z)((0,de.Z)({},"".concat(Ye,"-focused"),bi),"".concat(Ye,"-multiple"),jn),"".concat(Ye,"-single"),!jn),"".concat(Ye,"-allow-clear"),wr),"".concat(Ye,"-show-arrow"),rs),"".concat(Ye,"-disabled"),pr),"".concat(Ye,"-loading"),Ar),"".concat(Ye,"-open"),Qi),"".concat(Ye,"-customize-input"),zi),"".concat(Ye,"-show-search"),$n)),$a=fe.createElement(re,{ref:co,disabled:pr,prefixCls:Ye,visible:El,popupElement:is,animation:eo,transitionName:ko,dropdownStyle:_o,dropdownClassName:qo,direction:ar,dropdownMatchSelectWidth:Lo,dropdownRender:ii,dropdownAlign:Le,placement:nt,builtinPlacements:Ot,getPopupContainer:sn,empty:Kt,getTriggerDOMNode:function(Ci){return Io.current||Ci},onPopupVisibleChange:ns,onPopupMouseEnter:as},Wi?fe.cloneElement(Wi,{ref:Xi}):fe.createElement(bt,(0,b.Z)({},It,{domRef:Io,prefixCls:Ye,inputElement:zi,ref:fo,id:yt,prefix:Rr,showSearch:$n,autoClearSearchValue:ur,mode:Un,activeDescendantId:vo,tagRender:nr,values:xt,open:Qi,onToggleOpen:hi,activeValue:Jr,searchValue:Mo,onSearch:si,onSearchSubmit:da,onRemove:Ii,tokenWithEnter:mi,onInputBlur:Ga}))),fa;return Wi?fa=$a:fa=fe.createElement("div",(0,b.Z)({className:Ja},Cr,{ref:io,onMouseDown:Al,onKeyDown:Oa,onKeyUp:Ya,onFocus:cl,onBlur:el}),fe.createElement(Ke,{visible:bi&&!Qi,values:xt}),$a,Dl,hs&&_l),fe.createElement(Mt.Provider,{value:Cs},fa)}),Xt=fn,on=function(){return null};on.isSelectOptGroup=!0;var gn=on,ft=function(){return null};ft.isSelectOption=!0;var Yt=ft,xn=z(80547),St=z(2738),_e=z(48911);function Vt(){return/(mac\sos|macintosh)/i.test(navigator.appVersion)}var tn=["disabled","title","children","style","className"];function un(It){return typeof It=="string"||typeof It=="number"}var Tn=function(Qt,ze){var yt=Ut(),Ye=yt.prefixCls,Ct=yt.id,qt=yt.open,nr=yt.multiple,ar=yt.mode,pt=yt.searchValue,xt=yt.toggleOpen,Pt=yt.notFoundContent,Kt=yt.onPopupScroll,In=fe.useContext(Te),Zn=In.maxCount,kn=In.flattenOptions,Un=In.onActiveValue,pr=In.defaultActiveFirstOption,Ar=In.onSelect,Vr=In.menuItemSelectedIcon,Br=In.rawValues,fr=In.fieldNames,Pr=In.virtual,kr=In.direction,Jr=In.listHeight,Xr=In.listItemHeight,vo=In.optionRender,yr="".concat(Ye,"-item"),ur=(0,xn.Z)(function(){return kn},[qt,kn],function(hn,Tt){return Tt[0]&&hn[1]!==Tt[1]}),gr=fe.useRef(null),no=fe.useMemo(function(){return nr&<(Zn)&&(Br==null?void 0:Br.size)>=Zn},[nr,Zn,Br==null?void 0:Br.size]),Kr=function(Tt){Tt.preventDefault()},wr=function(Tt){var it;(it=gr.current)===null||it===void 0||it.scrollTo(typeof Tt=="number"?{index:Tt}:Tt)},Rr=fe.useCallback(function(hn){return ar==="combobox"?!1:Br.has(hn)},[ar,(0,Ce.Z)(Br).toString(),Br.size]),mo=function(Tt){for(var it=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1,Ft=ur.length,en=0;en<Ft;en+=1){var On=(Tt+en*it+Ft)%Ft,Wn=ur[On]||{},Dn=Wn.group,jn=Wn.data;if(!Dn&&!(jn!=null&&jn.disabled)&&(Rr(jn.value)||!no))return On}return-1},$r=fe.useState(function(){return mo(0)}),qr=(0,Oe.Z)($r,2),eo=qr[0],ko=qr[1],_o=function(Tt){var it=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;ko(Tt);var Ft={source:it?"keyboard":"mouse"},en=ur[Tt];if(!en){Un(null,-1,Ft);return}Un(en.value,Tt,Ft)};(0,fe.useEffect)(function(){_o(pr!==!1?mo(0):-1)},[ur.length,pt]);var qo=fe.useCallback(function(hn){return ar==="combobox"?String(hn).toLowerCase()===pt.toLowerCase():Br.has(hn)},[ar,pt,(0,Ce.Z)(Br).toString(),Br.size]);(0,fe.useEffect)(function(){var hn=setTimeout(function(){if(!nr&&qt&&Br.size===1){var it=Array.from(Br)[0],Ft=ur.findIndex(function(en){var On=en.data;return pt?String(On.value).startsWith(pt):On.value===it});Ft!==-1&&(_o(Ft),wr(Ft))}});if(qt){var Tt;(Tt=gr.current)===null||Tt===void 0||Tt.scrollTo(void 0)}return function(){return clearTimeout(hn)}},[qt,pt]);var Lo=function(Tt){Tt!==void 0&&Ar(Tt,{selected:!Br.has(Tt)}),nr||xt(!1)};if(fe.useImperativeHandle(ze,function(){return{onKeyDown:function(Tt){var it=Tt.which,Ft=Tt.ctrlKey;switch(it){case mt.Z.N:case mt.Z.P:case mt.Z.UP:case mt.Z.DOWN:{var en=0;if(it===mt.Z.UP?en=-1:it===mt.Z.DOWN?en=1:Vt()&&Ft&&(it===mt.Z.N?en=1:it===mt.Z.P&&(en=-1)),en!==0){var On=mo(eo+en,en);wr(On),_o(On,!0)}break}case mt.Z.TAB:case mt.Z.ENTER:{var Wn,Dn=ur[eo];Dn&&!(Dn!=null&&(Wn=Dn.data)!==null&&Wn!==void 0&&Wn.disabled)&&!no?Lo(Dn.value):Lo(void 0),qt&&Tt.preventDefault();break}case mt.Z.ESC:xt(!1),qt&&Tt.stopPropagation()}},onKeyUp:function(){},scrollTo:function(Tt){wr(Tt)}}}),ur.length===0)return fe.createElement("div",{role:"listbox",id:"".concat(Ct,"_list"),className:"".concat(yr,"-empty"),onMouseDown:Kr},Pt);var ii=Object.keys(fr).map(function(hn){return fr[hn]}),Le=function(Tt){return Tt.label};function nt(hn,Tt){var it=hn.group;return{role:it?"presentation":"option",id:"".concat(Ct,"_list_").concat(Tt)}}var Ot=function(Tt){var it=ur[Tt];if(!it)return null;var Ft=it.data||{},en=Ft.value,On=it.group,Wn=(0,Qe.Z)(Ft,!0),Dn=Le(it);return it?fe.createElement("div",(0,b.Z)({"aria-label":typeof Dn=="string"&&!On?Dn:null},Wn,{key:Tt},nt(it,Tt),{"aria-selected":qo(en)}),en):null},sn={role:"listbox",id:"".concat(Ct,"_list")};return fe.createElement(fe.Fragment,null,Pr&&fe.createElement("div",(0,b.Z)({},sn,{style:{height:0,width:0,overflow:"hidden"}}),Ot(eo-1),Ot(eo),Ot(eo+1)),fe.createElement(_e.Z,{itemKey:"key",ref:gr,data:ur,height:Jr,itemHeight:Xr,fullHeight:!1,onMouseDown:Kr,onScroll:Kt,virtual:Pr,direction:kr,innerProps:Pr?null:sn},function(hn,Tt){var it=hn.group,Ft=hn.groupOption,en=hn.data,On=hn.label,Wn=hn.value,Dn=en.key;if(it){var jn,$n=(jn=en.title)!==null&&jn!==void 0?jn:un(On)?On.toString():void 0;return fe.createElement("div",{className:be()(yr,"".concat(yr,"-group"),en.className),title:$n},On!==void 0?On:Dn)}var Cr=en.disabled,br=en.title,zr=en.children,Qr=en.style,yo=en.className,io=(0,xe.Z)(en,tn),Io=(0,St.Z)(io,ii),co=Rr(Wn),fo=Cr||!co&&no,bo="".concat(yr,"-option"),Bo=be()(yr,bo,yo,(0,de.Z)((0,de.Z)((0,de.Z)((0,de.Z)({},"".concat(bo,"-grouped"),Ft),"".concat(bo,"-active"),eo===Tt&&!fo),"".concat(bo,"-disabled"),fo),"".concat(bo,"-selected"),co)),ri=Le(hn),Si=!Vr||typeof Vr=="function"||co,bi=typeof ri=="number"?ri:ri||Wn,Ki=un(bi)?bi.toString():void 0;return br!==void 0&&(Ki=br),fe.createElement("div",(0,b.Z)({},(0,Qe.Z)(Io),Pr?{}:nt(hn,Tt),{"aria-selected":qo(Wn),className:Bo,title:Ki,onMouseMove:function(){eo===Tt||fo||_o(Tt)},onClick:function(){fo||Lo(Wn)},style:Qr}),fe.createElement("div",{className:"".concat(bo,"-content")},typeof vo=="function"?vo(hn,{index:Tt}):bi),fe.isValidElement(Vr)||co,Si&&fe.createElement(We,{className:"".concat(yr,"-option-state"),customizeIcon:Vr,customizeIconProps:{value:Wn,disabled:fo,isSelected:co}},co?"\u2713":null))}))},qn=fe.forwardRef(Tn),mr=qn,vr=function(It,Qt){var ze=fe.useRef({values:new Map,options:new Map}),yt=fe.useMemo(function(){var Ct=ze.current,qt=Ct.values,nr=Ct.options,ar=It.map(function(Pt){if(Pt.label===void 0){var Kt;return(0,rt.Z)((0,rt.Z)({},Pt),{},{label:(Kt=qt.get(Pt.value))===null||Kt===void 0?void 0:Kt.label})}return Pt}),pt=new Map,xt=new Map;return ar.forEach(function(Pt){pt.set(Pt.value,Pt),xt.set(Pt.value,Qt.get(Pt.value)||nr.get(Pt.value))}),ze.current.values=pt,ze.current.options=xt,ar},[It,Qt]),Ye=fe.useCallback(function(Ct){return Qt.get(Ct)||ze.current.options.get(Ct)},[Qt]);return[yt,Ye]};function Jn(It,Qt){return He(It).join("").toUpperCase().includes(Qt)}var dr=function(It,Qt,ze,yt,Ye){return fe.useMemo(function(){if(!ze||yt===!1)return It;var Ct=Qt.options,qt=Qt.label,nr=Qt.value,ar=[],pt=typeof yt=="function",xt=ze.toUpperCase(),Pt=pt?yt:function(In,Zn){return Ye?Jn(Zn[Ye],xt):Zn[Ct]?Jn(Zn[qt!=="children"?qt:"label"],xt):Jn(Zn[nr],xt)},Kt=pt?function(In){return ht(In)}:function(In){return In};return It.forEach(function(In){if(In[Ct]){var Zn=Pt(ze,Kt(In));if(Zn)ar.push(In);else{var kn=In[Ct].filter(function(Un){return Pt(ze,Kt(Un))});kn.length&&ar.push((0,rt.Z)((0,rt.Z)({},In),{},(0,de.Z)({},Ct,kn)))}return}Pt(ze,Kt(In))&&ar.push(In)}),ar},[It,yt,Ye,ze,Qt])},_t=z(6551),zt=z(11592),Sn=["children","value"],wn=["children"];function vn(It){var Qt=It,ze=Qt.key,yt=Qt.props,Ye=yt.children,Ct=yt.value,qt=(0,xe.Z)(yt,Sn);return(0,rt.Z)({key:ze,value:Ct!==void 0?Ct:ze,children:Ye},qt)}function Rn(It){var Qt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;return(0,zt.Z)(It).map(function(ze,yt){if(!fe.isValidElement(ze)||!ze.type)return null;var Ye=ze,Ct=Ye.type.isSelectOptGroup,qt=Ye.key,nr=Ye.props,ar=nr.children,pt=(0,xe.Z)(nr,wn);return Qt||!Ct?vn(ze):(0,rt.Z)((0,rt.Z)({key:"__RC_SELECT_GRP__".concat(qt===null?yt:qt,"__"),label:qt},pt),{},{options:Rn(ar)})}).filter(function(ze){return ze})}var Bt=function(Qt,ze,yt,Ye,Ct){return fe.useMemo(function(){var qt=Qt,nr=!Qt;nr&&(qt=Rn(ze));var ar=new Map,pt=new Map,xt=function(In,Zn,kn){kn&&typeof kn=="string"&&In.set(Zn[kn],Zn)},Pt=function Kt(In){for(var Zn=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,kn=0;kn<In.length;kn+=1){var Un=In[kn];!Un[yt.options]||Zn?(ar.set(Un[yt.value],Un),xt(pt,Un,yt.label),xt(pt,Un,Ye),xt(pt,Un,Ct)):Kt(Un[yt.options],!0)}};return Pt(qt),{options:qt,valueOptions:ar,labelOptions:pt}},[Qt,ze,yt,Ye,Ct])},ln=Bt;function Zt(It){var Qt=fe.useRef();Qt.current=It;var ze=fe.useCallback(function(){return Qt.current.apply(Qt,arguments)},[]);return ze}function pn(It){var Qt=It.mode,ze=It.options,yt=It.children,Ye=It.backfill,Ct=It.allowClear,qt=It.placeholder,nr=It.getInputElement,ar=It.showSearch,pt=It.onSearch,xt=It.defaultOpen,Pt=It.autoFocus,Kt=It.labelInValue,In=It.value,Zn=It.inputValue,kn=It.optionLabelProp,Un=isMultiple(Qt),pr=ar!==void 0?ar:Un||Qt==="combobox",Ar=ze||convertChildrenToData(yt);if(warning(Qt!=="tags"||Ar.every(function(Pr){return!Pr.disabled}),"Please avoid setting option to disabled in tags mode since user can always type text as tag."),Qt==="tags"||Qt==="combobox"){var Vr=Ar.some(function(Pr){return Pr.options?Pr.options.some(function(kr){return typeof("value"in kr?kr.value:kr.key)=="number"}):typeof("value"in Pr?Pr.value:Pr.key)=="number"});warning(!Vr,"`value` of Option should not use number type when `mode` is `tags` or `combobox`.")}if(warning(Qt!=="combobox"||!kn,"`combobox` mode not support `optionLabelProp`. Please set `value` on Option directly."),warning(Qt==="combobox"||!Ye,"`backfill` only works with `combobox` mode."),warning(Qt==="combobox"||!nr,"`getInputElement` only work with `combobox` mode."),noteOnce(Qt!=="combobox"||!nr||!Ct||!qt,"Customize `getInputElement` should customize clear and placeholder logic instead of configuring `allowClear` and `placeholder`."),pt&&!pr&&Qt!=="combobox"&&Qt!=="tags"&&warning(!1,"`onSearch` should work with `showSearch` instead of use alone."),noteOnce(!xt||Pt,"`defaultOpen` makes Select open without focus which means it will not close by click outside. You can set `autoFocus` if needed."),In!=null){var Br=toArray(In);warning(!Kt||Br.every(function(Pr){return _typeof(Pr)==="object"&&("key"in Pr||"value"in Pr)}),"`value` should in shape of `{ value: string | number, label?: ReactNode }` when you set `labelInValue` to `true`"),warning(!Un||Array.isArray(In),"`value` should be array when `mode` is `multiple` or `tags`")}if(yt){var fr=null;toNodeArray(yt).some(function(Pr){if(!React.isValidElement(Pr)||!Pr.type)return!1;var kr=Pr,Jr=kr.type;if(Jr.isSelectOption)return!1;if(Jr.isSelectOptGroup){var Xr=toNodeArray(Pr.props.children).every(function(vo){return!React.isValidElement(vo)||!Pr.type||vo.type.isSelectOption?!0:(fr=vo.type,!1)});return!Xr}return fr=Jr,!0}),fr&&warning(!1,"`children` should be `Select.Option` or `Select.OptGroup` instead of `".concat(fr.displayName||fr.name||fr,"`.")),warning(Zn===void 0,"`inputValue` is deprecated, please use `searchValue` instead.")}}function cn(It,Qt){if(It){var ze=function yt(Ye){for(var Ct=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,qt=0;qt<Ye.length;qt++){var nr=Ye[qt];if(nr[Qt==null?void 0:Qt.value]===null)return warning(!1,"`value` in Select options should not be `null`."),!0;if(!Ct&&Array.isArray(nr[Qt==null?void 0:Qt.options])&&yt(nr[Qt==null?void 0:Qt.options],!0))break}};ze(It)}}var zn=null,Ln=["id","mode","prefixCls","backfill","fieldNames","inputValue","searchValue","onSearch","autoClearSearchValue","onSelect","onDeselect","dropdownMatchSelectWidth","filterOption","filterSort","optionFilterProp","optionLabelProp","options","optionRender","children","defaultActiveFirstOption","menuItemSelectedIcon","virtual","direction","listHeight","listItemHeight","labelRender","value","defaultValue","labelInValue","onChange","maxCount"],rr=["inputValue"];function _n(It){return!It||(0,Ae.Z)(It)!=="object"}var rn=fe.forwardRef(function(It,Qt){var ze=It.id,yt=It.mode,Ye=It.prefixCls,Ct=Ye===void 0?"rc-select":Ye,qt=It.backfill,nr=It.fieldNames,ar=It.inputValue,pt=It.searchValue,xt=It.onSearch,Pt=It.autoClearSearchValue,Kt=Pt===void 0?!0:Pt,In=It.onSelect,Zn=It.onDeselect,kn=It.dropdownMatchSelectWidth,Un=kn===void 0?!0:kn,pr=It.filterOption,Ar=It.filterSort,Vr=It.optionFilterProp,Br=It.optionLabelProp,fr=It.options,Pr=It.optionRender,kr=It.children,Jr=It.defaultActiveFirstOption,Xr=It.menuItemSelectedIcon,vo=It.virtual,yr=It.direction,ur=It.listHeight,gr=ur===void 0?200:ur,no=It.listItemHeight,Kr=no===void 0?20:no,wr=It.labelRender,Rr=It.value,mo=It.defaultValue,$r=It.labelInValue,qr=It.onChange,eo=It.maxCount,ko=(0,xe.Z)(It,Ln),_o=(0,_t.ZP)(ze),qo=bn(yt),Lo=!!(!fr&&kr),ii=fe.useMemo(function(){return pr===void 0&&yt==="combobox"?!1:pr},[pr,yt]),Le=fe.useMemo(function(){return $e(nr,Lo)},[JSON.stringify(nr),Lo]),nt=(0,Ve.Z)("",{value:pt!==void 0?pt:ar,postState:function(mi){return mi||""}}),Ot=(0,Oe.Z)(nt,2),sn=Ot[0],hn=Ot[1],Tt=ln(fr,kr,Le,Vr,Br),it=Tt.valueOptions,Ft=Tt.labelOptions,en=Tt.options,On=fe.useCallback(function(hi){var mi=He(hi);return mi.map(function(wo){var ho,To,si,da,Ri;if(_n(wo))ho=wo;else{var Li;si=wo.key,To=wo.label,ho=(Li=wo.value)!==null&&Li!==void 0?Li:si}var Oi=it.get(ho);if(Oi){var pa;if(To===void 0&&(To=Oi==null?void 0:Oi[Br||Le.label]),si===void 0&&(si=(pa=Oi==null?void 0:Oi.key)!==null&&pa!==void 0?pa:ho),da=Oi==null?void 0:Oi.disabled,Ri=Oi==null?void 0:Oi.title,0)var Ea}return{label:To,value:ho,key:si,disabled:da,title:Ri}})},[Le,Br,it]),Wn=(0,Ve.Z)(mo,{value:Rr}),Dn=(0,Oe.Z)(Wn,2),jn=Dn[0],$n=Dn[1],Cr=fe.useMemo(function(){var hi,mi=qo&&jn===null?[]:jn,wo=On(mi);return yt==="combobox"&&ve((hi=wo[0])===null||hi===void 0?void 0:hi.value)?[]:wo},[jn,On,yt,qo]),br=vr(Cr,it),zr=(0,Oe.Z)(br,2),Qr=zr[0],yo=zr[1],io=fe.useMemo(function(){if(!yt&&Qr.length===1){var hi=Qr[0];if(hi.value===null&&(hi.label===null||hi.label===void 0))return[]}return Qr.map(function(mi){var wo;return(0,rt.Z)((0,rt.Z)({},mi),{},{label:(wo=typeof wr=="function"?wr(mi):mi.label)!==null&&wo!==void 0?wo:mi.value})})},[yt,Qr,wr]),Io=fe.useMemo(function(){return new Set(Qr.map(function(hi){return hi.value}))},[Qr]);fe.useEffect(function(){if(yt==="combobox"){var hi,mi=(hi=Qr[0])===null||hi===void 0?void 0:hi.value;hn(De(mi)?String(mi):"")}},[Qr]);var co=Zt(function(hi,mi){var wo=mi!=null?mi:hi;return(0,de.Z)((0,de.Z)({},Le.value,hi),Le.label,wo)}),fo=fe.useMemo(function(){if(yt!=="tags")return en;var hi=(0,Ce.Z)(en),mi=function(ho){return it.has(ho)};return(0,Ce.Z)(Qr).sort(function(wo,ho){return wo.value<ho.value?-1:1}).forEach(function(wo){var ho=wo.value;mi(ho)||hi.push(co(ho,wo.label))}),hi},[co,en,it,Qr,yt]),bo=dr(fo,Le,sn,ii,Vr),Bo=fe.useMemo(function(){return yt!=="tags"||!sn||bo.some(function(hi){return hi[Vr||"value"]===sn})||bo.some(function(hi){return hi[Le.value]===sn})?bo:[co(sn)].concat((0,Ce.Z)(bo))},[co,Vr,yt,bo,sn,Le]),ri=function hi(mi){var wo=(0,Ce.Z)(mi).sort(function(ho,To){return Ar(ho,To,{searchValue:sn})});return wo.map(function(ho){return Array.isArray(ho.options)?(0,rt.Z)((0,rt.Z)({},ho),{},{options:ho.options.length>0?hi(ho.options):ho.options}):ho})},Si=fe.useMemo(function(){return Ar?ri(Bo):Bo},[Bo,Ar,sn]),bi=fe.useMemo(function(){return Ie(Si,{fieldNames:Le,childrenAsData:Lo})},[Si,Le,Lo]),Ki=function(mi){var wo=On(mi);if($n(wo),qr&&(wo.length!==Qr.length||wo.some(function(si,da){var Ri;return((Ri=Qr[da])===null||Ri===void 0?void 0:Ri.value)!==(si==null?void 0:si.value)}))){var ho=$r?wo:wo.map(function(si){return si.value}),To=wo.map(function(si){return ht(yo(si.value))});qr(qo?ho:ho[0],qo?To:To[0])}},zo=fe.useState(null),Mo=(0,Oe.Z)(zo,2),zi=Mo[0],Wi=Mo[1],Xi=fe.useState(0),za=(0,Oe.Z)(Xi,2),Pa=za[0],Ta=za[1],Ba=Jr!==void 0?Jr:yt!=="combobox",Ui=fe.useCallback(function(hi,mi){var wo=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},ho=wo.source,To=ho===void 0?"keyboard":ho;Ta(mi),qt&&yt==="combobox"&&hi!==null&&To==="keyboard"&&Wi(String(hi))},[qt,yt]),Fa=function(mi,wo,ho){var To=function(){var Ii,Ga=yo(mi);return[$r?{label:Ga==null?void 0:Ga[Le.label],value:mi,key:(Ii=Ga==null?void 0:Ga.key)!==null&&Ii!==void 0?Ii:mi}:mi,ht(Ga)]};if(wo&&In){var si=To(),da=(0,Oe.Z)(si,2),Ri=da[0],Li=da[1];In(Ri,Li)}else if(!wo&&Zn&&ho!=="clear"){var Oi=To(),pa=(0,Oe.Z)(Oi,2),Ea=pa[0],Oa=pa[1];Zn(Ea,Oa)}},ul=Zt(function(hi,mi){var wo,ho=qo?mi.selected:!0;ho?wo=qo?[].concat((0,Ce.Z)(Qr),[hi]):[hi]:wo=Qr.filter(function(To){return To.value!==hi}),Ki(wo),Fa(hi,ho),yt==="combobox"?Wi(""):(!bn||Kt)&&(hn(""),Wi(""))}),Qa=function(mi,wo){Ki(mi);var ho=wo.type,To=wo.values;(ho==="remove"||ho==="clear")&&To.forEach(function(si){Fa(si.value,!1,ho)})},Qi=function(mi,wo){if(hn(mi),Wi(null),wo.source==="submit"){var ho=(mi||"").trim();if(ho){var To=Array.from(new Set([].concat((0,Ce.Z)(Io),[ho])));Ki(To),Fa(ho,!0),hn("")}return}wo.source!=="blur"&&(yt==="combobox"&&Ki(mi),xt==null||xt(mi))},Nl=function(mi){var wo=mi;yt!=="tags"&&(wo=mi.map(function(To){var si=Ft.get(To);return si==null?void 0:si.value}).filter(function(To){return To!==void 0}));var ho=Array.from(new Set([].concat((0,Ce.Z)(Io),(0,Ce.Z)(wo))));Ki(ho),ho.forEach(function(To){Fa(To,!0)})},El=fe.useMemo(function(){var hi=vo!==!1&&Un!==!1;return(0,rt.Z)((0,rt.Z)({},Tt),{},{flattenOptions:bi,onActiveValue:Ui,defaultActiveFirstOption:Ba,onSelect:ul,menuItemSelectedIcon:Xr,rawValues:Io,fieldNames:Le,virtual:hi,direction:yr,listHeight:gr,listItemHeight:Kr,childrenAsData:Lo,maxCount:eo,optionRender:Pr})},[eo,Tt,bi,Ui,Ba,ul,Xr,Io,Le,vo,Un,yr,gr,Kr,Lo,Pr]);return fe.createElement(Te.Provider,{value:El},fe.createElement(Xt,(0,b.Z)({},ko,{id:_o,prefixCls:Ct,ref:Qt,omitDomProps:rr,mode:yt,displayValues:io,onDisplayValuesChange:Qa,direction:yr,searchValue:sn,onSearch:Qi,autoClearSearchValue:Kt,onSearchSplit:Nl,dropdownMatchSelectWidth:Un,OptionList:mr,emptyOptions:!bi.length,activeValue:zi,activeDescendantId:"".concat(_o,"_list_").concat(Pa)})))}),Fn=rn;Fn.Option=Yt,Fn.OptGroup=gn;var nn=Fn,er=nn},22711:function(Yn,mn,z){"use strict";z.r(mn),z.d(mn,{ResizableTextArea:function(){return Fe},default:function(){return gt}});var b=z(60499),Ce=z(18642),de=z(85899),rt=z(77654),Oe=z(72190),xe=z(42244),Ae=z(92310),Ve=z.n(Ae),Be=z(36901),fe=z(66003),Ge=z(30292),be=z(18929),vt=z(59301),Je=z(43749),tt=z(29301),je=z(34280),We=z(16089),ot=`
|
|
|
min-height:0 !important;
|
|
|
max-height:none !important;
|
|
|
height:0 !important;
|
|
|
visibility:hidden !important;
|
|
|
overflow:hidden !important;
|
|
|
position:absolute !important;
|
|
|
z-index:-1000 !important;
|
|
|
top:0 !important;
|
|
|
right:0 !important;
|
|
|
pointer-events: none !important;
|
|
|
`,Mt=["letter-spacing","line-height","padding-top","padding-bottom","font-family","font-weight","font-size","font-variant","text-rendering","text-transform","width","text-indent","padding-left","padding-right","border-width","box-sizing","word-break","white-space"],Ut={},se;function Me(He){var ke=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,Nt=He.getAttribute("id")||He.getAttribute("data-reactid")||He.getAttribute("name");if(ke&&Ut[Nt])return Ut[Nt];var De=window.getComputedStyle(He),ve=De.getPropertyValue("box-sizing")||De.getPropertyValue("-moz-box-sizing")||De.getPropertyValue("-webkit-box-sizing"),At=parseFloat(De.getPropertyValue("padding-bottom"))+parseFloat(De.getPropertyValue("padding-top")),Gt=parseFloat(De.getPropertyValue("border-bottom-width"))+parseFloat(De.getPropertyValue("border-top-width")),Wt=Mt.map(function(Re){return"".concat(Re,":").concat(De.getPropertyValue(Re))}).join(";"),pe={sizingStyle:Wt,paddingSize:At,borderSize:Gt,boxSizing:ve};return ke&&Nt&&(Ut[Nt]=pe),pe}function st(He){var ke=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,Nt=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null,De=arguments.length>3&&arguments[3]!==void 0?arguments[3]:null;se||(se=document.createElement("textarea"),se.setAttribute("tab-index","-1"),se.setAttribute("aria-hidden","true"),se.setAttribute("name","hiddenTextarea"),document.body.appendChild(se)),He.getAttribute("wrap")?se.setAttribute("wrap",He.getAttribute("wrap")):se.removeAttribute("wrap");var ve=Me(He,ke),At=ve.paddingSize,Gt=ve.borderSize,Wt=ve.boxSizing,pe=ve.sizingStyle;se.setAttribute("style","".concat(pe,";").concat(ot)),se.value=He.value||He.placeholder||"";var Re=void 0,Ue=void 0,Jt,et=se.scrollHeight;if(Wt==="border-box"?et+=Gt:Wt==="content-box"&&(et-=At),Nt!==null||De!==null){se.value=" ";var jt=se.scrollHeight-At;Nt!==null&&(Re=jt*Nt,Wt==="border-box"&&(Re=Re+At+Gt),et=Math.max(Re,et)),De!==null&&(Ue=jt*De,Wt==="border-box"&&(Ue=Ue+At+Gt),Jt=et>Ue?"":"hidden",et=Math.min(Ue,et))}var ct={height:et,overflowY:Jt,resize:"none"};return Re&&(ct.minHeight=Re),Ue&&(ct.maxHeight=Ue),ct}var mt=["prefixCls","defaultValue","value","autoSize","onResize","className","style","disabled","onChange","onInternalAutoSize"],kt=0,Qe=1,ut=2,dt=vt.forwardRef(function(He,ke){var Nt=He,De=Nt.prefixCls,ve=Nt.defaultValue,At=Nt.value,Gt=Nt.autoSize,Wt=Nt.onResize,pe=Nt.className,Re=Nt.style,Ue=Nt.disabled,Jt=Nt.onChange,et=Nt.onInternalAutoSize,jt=(0,xe.Z)(Nt,mt),ct=(0,be.Z)(ve,{value:At,postState:function(Yt){return Yt!=null?Yt:""}}),dn=(0,Oe.Z)(ct,2),bt=dn[0],le=dn[1],ne=function(Yt){le(Yt.target.value),Jt==null||Jt(Yt)},te=vt.useRef();vt.useImperativeHandle(ke,function(){return{textArea:te.current}});var ae=vt.useMemo(function(){return Gt&&(0,Je.Z)(Gt)==="object"?[Gt.minRows,Gt.maxRows]:[]},[Gt]),he=(0,Oe.Z)(ae,2),re=he[0],ce=he[1],Pe=!!Gt,lt=function(){try{if(document.activeElement===te.current){var Yt=te.current,xn=Yt.selectionStart,St=Yt.selectionEnd,_e=Yt.scrollTop;te.current.setSelectionRange(xn,St),te.current.scrollTop=_e}}catch(Vt){}},$e=vt.useState(ut),Ie=(0,Oe.Z)($e,2),ht=Ie[0],Et=Ie[1],Rt=vt.useState(),Te=(0,Oe.Z)(Rt,2),Ke=Te[0],yn=Te[1],Ht=function(){Et(kt)};(0,je.Z)(function(){Pe&&Ht()},[At,re,ce,Pe]),(0,je.Z)(function(){if(ht===kt)Et(Qe);else if(ht===Qe){var ft=st(te.current,!1,re,ce);Et(ut),yn(ft)}else lt()},[ht]);var bn=vt.useRef(),fn=function(){We.Z.cancel(bn.current)},Xt=function(Yt){ht===ut&&(Wt==null||Wt(Yt),Gt&&(fn(),bn.current=(0,We.Z)(function(){Ht()})))};vt.useEffect(function(){return fn},[]);var on=Pe?Ke:null,gn=(0,de.Z)((0,de.Z)({},Re),on);return(ht===kt||ht===Qe)&&(gn.overflowY="hidden",gn.overflowX="hidden"),vt.createElement(tt.Z,{onResize:Xt,disabled:!(Gt||Wt)},vt.createElement("textarea",(0,b.Z)({},jt,{ref:te,style:gn,className:Ve()(De,pe,(0,Ce.Z)({},"".concat(De,"-disabled"),Ue)),disabled:Ue,value:bt,onChange:ne})))}),Fe=dt,Ze=["defaultValue","value","onFocus","onBlur","onChange","allowClear","maxLength","onCompositionStart","onCompositionEnd","suffix","prefixCls","showCount","count","className","style","disabled","hidden","classNames","styles","onResize","onClear","onPressEnter","readOnly","autoSize","onKeyDown"],Se=vt.forwardRef(function(He,ke){var Nt,De=He.defaultValue,ve=He.value,At=He.onFocus,Gt=He.onBlur,Wt=He.onChange,pe=He.allowClear,Re=He.maxLength,Ue=He.onCompositionStart,Jt=He.onCompositionEnd,et=He.suffix,jt=He.prefixCls,ct=jt===void 0?"rc-textarea":jt,dn=He.showCount,bt=He.count,le=He.className,ne=He.style,te=He.disabled,ae=He.hidden,he=He.classNames,re=He.styles,ce=He.onResize,Pe=He.onClear,lt=He.onPressEnter,$e=He.readOnly,Ie=He.autoSize,ht=He.onKeyDown,Et=(0,xe.Z)(He,Ze),Rt=(0,be.Z)(De,{value:ve,defaultValue:De}),Te=(0,Oe.Z)(Rt,2),Ke=Te[0],yn=Te[1],Ht=Ke==null?"":String(Ke),bn=vt.useState(!1),fn=(0,Oe.Z)(bn,2),Xt=fn[0],on=fn[1],gn=vt.useRef(!1),ft=vt.useState(null),Yt=(0,Oe.Z)(ft,2),xn=Yt[0],St=Yt[1],_e=(0,vt.useRef)(null),Vt=(0,vt.useRef)(null),tn=function(){var Fn;return(Fn=Vt.current)===null||Fn===void 0?void 0:Fn.textArea},un=function(){tn().focus()};(0,vt.useImperativeHandle)(ke,function(){var rn;return{resizableTextArea:Vt.current,focus:un,blur:function(){tn().blur()},nativeElement:((rn=_e.current)===null||rn===void 0?void 0:rn.nativeElement)||tn()}}),(0,vt.useEffect)(function(){on(function(rn){return!te&&rn})},[te]);var Tn=vt.useState(null),qn=(0,Oe.Z)(Tn,2),mr=qn[0],vr=qn[1];vt.useEffect(function(){if(mr){var rn;(rn=tn()).setSelectionRange.apply(rn,(0,rt.Z)(mr))}},[mr]);var Jn=(0,fe.Z)(bt,dn),dr=(Nt=Jn.max)!==null&&Nt!==void 0?Nt:Re,_t=Number(dr)>0,zt=Jn.strategy(Ht),Sn=!!dr&&zt>dr,wn=function(Fn,nn){var er=nn;!gn.current&&Jn.exceedFormatter&&Jn.max&&Jn.strategy(nn)>Jn.max&&(er=Jn.exceedFormatter(nn,{max:Jn.max}),nn!==er&&vr([tn().selectionStart||0,tn().selectionEnd||0])),yn(er),(0,Ge.rJ)(Fn.currentTarget,Fn,Wt,er)},vn=function(Fn){gn.current=!0,Ue==null||Ue(Fn)},Rn=function(Fn){gn.current=!1,wn(Fn,Fn.currentTarget.value),Jt==null||Jt(Fn)},Bt=function(Fn){wn(Fn,Fn.target.value)},ln=function(Fn){Fn.key==="Enter"&<&<(Fn),ht==null||ht(Fn)},Zt=function(Fn){on(!0),At==null||At(Fn)},pn=function(Fn){on(!1),Gt==null||Gt(Fn)},cn=function(Fn){yn(""),un(),(0,Ge.rJ)(tn(),Fn,Wt)},zn=et,Ln;Jn.show&&(Jn.showFormatter?Ln=Jn.showFormatter({value:Ht,count:zt,maxLength:dr}):Ln="".concat(zt).concat(_t?" / ".concat(dr):""),zn=vt.createElement(vt.Fragment,null,zn,vt.createElement("span",{className:Ve()("".concat(ct,"-data-count"),he==null?void 0:he.count),style:re==null?void 0:re.count},Ln)));var rr=function(Fn){var nn;ce==null||ce(Fn),(nn=tn())!==null&&nn!==void 0&&nn.style.height&&St(!0)},_n=!Ie&&!dn&&!pe;return vt.createElement(Be.BaseInput,{ref:_e,value:Ht,allowClear:pe,handleReset:cn,suffix:zn,prefixCls:ct,classNames:(0,de.Z)((0,de.Z)({},he),{},{affixWrapper:Ve()(he==null?void 0:he.affixWrapper,(0,Ce.Z)((0,Ce.Z)({},"".concat(ct,"-show-count"),dn),"".concat(ct,"-textarea-allow-clear"),pe))}),disabled:te,focused:Xt,className:Ve()(le,Sn&&"".concat(ct,"-out-of-range")),style:(0,de.Z)((0,de.Z)({},ne),xn&&!_n?{height:"auto"}:{}),dataAttrs:{affixWrapper:{"data-count":typeof Ln=="string"?Ln:void 0}},hidden:ae,readOnly:$e,onClear:Pe},vt.createElement(Fe,(0,b.Z)({},Et,{autoSize:Ie,maxLength:Re,onKeyDown:ln,onChange:Bt,onFocus:Zt,onBlur:pn,onCompositionStart:vn,onCompositionEnd:Rn,className:Ve()(he==null?void 0:he.textarea),style:(0,de.Z)((0,de.Z)({},re==null?void 0:re.textarea),{},{resize:ne==null?void 0:ne.resize}),disabled:te,prefixCls:ct,onResize:rr,ref:Vt,readOnly:$e})))}),ue=Se,gt=ue},639:function(Yn,mn,z){"use strict";z.d(mn,{Z:function(){return Ut}});var b=z(60499),Ce=z(18642),de=z(85899),rt=z(72190),Oe=z(42244),xe=z(59301),Ae=z(92310),Ve=z.n(Ae),Be=z(26112),fe=z(30699),Ge=function(Me){for(var st=Me.prefixCls,mt=Me.level,kt=Me.isStart,Qe=Me.isEnd,ut="".concat(st,"-indent-unit"),dt=[],Fe=0;Fe<mt;Fe+=1)dt.push(xe.createElement("span",{key:Fe,className:Ve()(ut,(0,Ce.Z)((0,Ce.Z)({},"".concat(ut,"-start"),kt[Fe]),"".concat(ut,"-end"),Qe[Fe]))}));return xe.createElement("span",{"aria-hidden":"true",className:"".concat(st,"-indent")},dt)},be=xe.memo(Ge),vt=z(65065),Je=z(34061),tt=["eventKey","className","style","dragOver","dragOverGapTop","dragOverGapBottom","isLeaf","isStart","isEnd","expanded","selected","checked","halfChecked","loading","domRef","active","data","onMouseMove","selectable"],je="open",We="close",ot="---",Mt=function(Me){var st,mt,kt,Qe=Me.eventKey,ut=Me.className,dt=Me.style,Fe=Me.dragOver,Ze=Me.dragOverGapTop,Se=Me.dragOverGapBottom,ue=Me.isLeaf,gt=Me.isStart,He=Me.isEnd,ke=Me.expanded,Nt=Me.selected,De=Me.checked,ve=Me.halfChecked,At=Me.loading,Gt=Me.domRef,Wt=Me.active,pe=Me.data,Re=Me.onMouseMove,Ue=Me.selectable,Jt=(0,Oe.Z)(Me,tt),et=xe.useContext(fe.k),jt=xe.useContext(fe.y),ct=xe.useRef(null),dn=xe.useState(!1),bt=(0,rt.Z)(dn,2),le=bt[0],ne=bt[1],te=!!(et.disabled||Me.disabled||(st=jt.nodeDisabled)!==null&&st!==void 0&&st.call(jt,pe)),ae=xe.useMemo(function(){return!et.checkable||Me.checkable===!1?!1:et.checkable},[et.checkable,Me.checkable]),he=function(zt){te||et.onNodeSelect(zt,(0,Je.F)(Me))},re=function(zt){te||!ae||Me.disableCheckbox||et.onNodeCheck(zt,(0,Je.F)(Me),!De)},ce=xe.useMemo(function(){return typeof Ue=="boolean"?Ue:et.selectable},[Ue,et.selectable]),Pe=function(zt){et.onNodeClick(zt,(0,Je.F)(Me)),ce?he(zt):re(zt)},lt=function(zt){et.onNodeDoubleClick(zt,(0,Je.F)(Me))},$e=function(zt){et.onNodeMouseEnter(zt,(0,Je.F)(Me))},Ie=function(zt){et.onNodeMouseLeave(zt,(0,Je.F)(Me))},ht=function(zt){et.onNodeContextMenu(zt,(0,Je.F)(Me))},Et=xe.useMemo(function(){return!!(et.draggable&&(!et.draggable.nodeDraggable||et.draggable.nodeDraggable(pe)))},[et.draggable,pe]),Rt=function(zt){zt.stopPropagation(),ne(!0),et.onNodeDragStart(zt,Me);try{zt.dataTransfer.setData("text/plain","")}catch(Sn){}},Te=function(zt){zt.preventDefault(),zt.stopPropagation(),et.onNodeDragEnter(zt,Me)},Ke=function(zt){zt.preventDefault(),zt.stopPropagation(),et.onNodeDragOver(zt,Me)},yn=function(zt){zt.stopPropagation(),et.onNodeDragLeave(zt,Me)},Ht=function(zt){zt.stopPropagation(),ne(!1),et.onNodeDragEnd(zt,Me)},bn=function(zt){zt.preventDefault(),zt.stopPropagation(),ne(!1),et.onNodeDrop(zt,Me)},fn=function(zt){At||et.onNodeExpand(zt,(0,Je.F)(Me))},Xt=xe.useMemo(function(){var _t=(0,vt.Z)(et.keyEntities,Qe)||{},zt=_t.children;return!!(zt||[]).length},[et.keyEntities,Qe]),on=xe.useMemo(function(){return ue===!1?!1:ue||!et.loadData&&!Xt||et.loadData&&Me.loaded&&!Xt},[ue,et.loadData,Xt,Me.loaded]);xe.useEffect(function(){At||typeof et.loadData=="function"&&ke&&!on&&!Me.loaded&&et.onNodeLoad((0,Je.F)(Me))},[At,et.loadData,et.onNodeLoad,ke,on,Me]);var gn=xe.useMemo(function(){var _t;return(_t=et.draggable)!==null&&_t!==void 0&&_t.icon?xe.createElement("span",{className:"".concat(et.prefixCls,"-draggable-icon")},et.draggable.icon):null},[et.draggable]),ft=function(zt){var Sn=Me.switcherIcon||et.switcherIcon;return typeof Sn=="function"?Sn((0,de.Z)((0,de.Z)({},Me),{},{isLeaf:zt})):Sn},Yt=function(){if(on){var zt=ft(!0);return zt!==!1?xe.createElement("span",{className:Ve()("".concat(et.prefixCls,"-switcher"),"".concat(et.prefixCls,"-switcher-noop"))},zt):null}var Sn=ft(!1);return Sn!==!1?xe.createElement("span",{onClick:fn,className:Ve()("".concat(et.prefixCls,"-switcher"),"".concat(et.prefixCls,"-switcher_").concat(ke?je:We))},Sn):null},xn=xe.useMemo(function(){if(!ae)return null;var _t=typeof ae!="boolean"?ae:null;return xe.createElement("span",{className:Ve()("".concat(et.prefixCls,"-checkbox"),(0,Ce.Z)((0,Ce.Z)((0,Ce.Z)({},"".concat(et.prefixCls,"-checkbox-checked"),De),"".concat(et.prefixCls,"-checkbox-indeterminate"),!De&&ve),"".concat(et.prefixCls,"-checkbox-disabled"),te||Me.disableCheckbox)),onClick:re,role:"checkbox","aria-checked":ve?"mixed":De,"aria-disabled":te||Me.disableCheckbox,"aria-label":"Select ".concat(typeof Me.title=="string"?Me.title:"tree node")},_t)},[ae,De,ve,te,Me.disableCheckbox,Me.title]),St=xe.useMemo(function(){return on?null:ke?je:We},[on,ke]),_e=xe.useMemo(function(){return xe.createElement("span",{className:Ve()("".concat(et.prefixCls,"-iconEle"),"".concat(et.prefixCls,"-icon__").concat(St||"docu"),(0,Ce.Z)({},"".concat(et.prefixCls,"-icon_loading"),At))})},[et.prefixCls,St,At]),Vt=xe.useMemo(function(){var _t=!!et.draggable,zt=!Me.disabled&&_t&&et.dragOverNodeKey===Qe;return zt?et.dropIndicatorRender({dropPosition:et.dropPosition,dropLevelOffset:et.dropLevelOffset,indent:et.indent,prefixCls:et.prefixCls,direction:et.direction}):null},[et.dropPosition,et.dropLevelOffset,et.indent,et.prefixCls,et.direction,et.draggable,et.dragOverNodeKey,et.dropIndicatorRender]),tn=xe.useMemo(function(){var _t=Me.title,zt=_t===void 0?ot:_t,Sn="".concat(et.prefixCls,"-node-content-wrapper"),wn;if(et.showIcon){var vn=Me.icon||et.icon;wn=vn?xe.createElement("span",{className:Ve()("".concat(et.prefixCls,"-iconEle"),"".concat(et.prefixCls,"-icon__customize"))},typeof vn=="function"?vn(Me):vn):_e}else et.loadData&&At&&(wn=_e);var Rn;return typeof zt=="function"?Rn=zt(pe):et.titleRender?Rn=et.titleRender(pe):Rn=zt,xe.createElement("span",{ref:ct,title:typeof zt=="string"?zt:"",className:Ve()(Sn,"".concat(Sn,"-").concat(St||"normal"),(0,Ce.Z)({},"".concat(et.prefixCls,"-node-selected"),!te&&(Nt||le))),onMouseEnter:$e,onMouseLeave:Ie,onContextMenu:ht,onClick:Pe,onDoubleClick:lt},wn,xe.createElement("span",{className:"".concat(et.prefixCls,"-title")},Rn),Vt)},[et.prefixCls,et.showIcon,Me,et.icon,_e,et.titleRender,pe,St,$e,Ie,ht,Pe,lt]),un=(0,Be.Z)(Jt,{aria:!0,data:!0}),Tn=(0,vt.Z)(et.keyEntities,Qe)||{},qn=Tn.level,mr=He[He.length-1],vr=!te&&Et,Jn=et.draggingNodeKey===Qe,dr=Ue!==void 0?{"aria-selected":!!Ue}:void 0;return xe.createElement("div",(0,b.Z)({ref:Gt,role:"treeitem","aria-expanded":ue?void 0:ke,className:Ve()(ut,"".concat(et.prefixCls,"-treenode"),(kt={},(0,Ce.Z)((0,Ce.Z)((0,Ce.Z)((0,Ce.Z)((0,Ce.Z)((0,Ce.Z)((0,Ce.Z)((0,Ce.Z)((0,Ce.Z)((0,Ce.Z)(kt,"".concat(et.prefixCls,"-treenode-disabled"),te),"".concat(et.prefixCls,"-treenode-switcher-").concat(ke?"open":"close"),!ue),"".concat(et.prefixCls,"-treenode-checkbox-checked"),De),"".concat(et.prefixCls,"-treenode-checkbox-indeterminate"),ve),"".concat(et.prefixCls,"-treenode-selected"),Nt),"".concat(et.prefixCls,"-treenode-loading"),At),"".concat(et.prefixCls,"-treenode-active"),Wt),"".concat(et.prefixCls,"-treenode-leaf-last"),mr),"".concat(et.prefixCls,"-treenode-draggable"),Et),"dragging",Jn),(0,Ce.Z)((0,Ce.Z)((0,Ce.Z)((0,Ce.Z)((0,Ce.Z)((0,Ce.Z)((0,Ce.Z)(kt,"drop-target",et.dropTargetKey===Qe),"drop-container",et.dropContainerKey===Qe),"drag-over",!te&&Fe),"drag-over-gap-top",!te&&Ze),"drag-over-gap-bottom",!te&&Se),"filter-node",(mt=et.filterTreeNode)===null||mt===void 0?void 0:mt.call(et,(0,Je.F)(Me))),"".concat(et.prefixCls,"-treenode-leaf"),on))),style:dt,draggable:vr,onDragStart:vr?Rt:void 0,onDragEnter:Et?Te:void 0,onDragOver:Et?Ke:void 0,onDragLeave:Et?yn:void 0,onDrop:Et?bn:void 0,onDragEnd:Et?Ht:void 0,onMouseMove:Re},dr,un),xe.createElement(be,{prefixCls:et.prefixCls,level:qn,isStart:gt,isEnd:He}),gn,Yt(),xn,tn)};Mt.isTreeNode=1;var Ut=Mt},30699:function(Yn,mn,z){"use strict";z.d(mn,{k:function(){return Ce},y:function(){return de}});var b=z(59301),Ce=b.createContext(null),de=b.createContext({})},87632:function(Yn,mn,z){"use strict";z.d(mn,{OF:function(){return Qe.Z},y6:function(){return We.y},ZP:function(){return te}});var b=z(60499),Ce=z(43749),de=z(85899),rt=z(77654),Oe=z(38705),xe=z(17212),Ae=z(15793),Ve=z(39153),Be=z(55401),fe=z(18642),Ge=z(92310),be=z.n(Ge),vt=z(10228),Je=z(26112),tt=z(48736),je=z(59301),We=z(30699),ot=function(he){var re=he.dropPosition,ce=he.dropLevelOffset,Pe=he.indent,lt={pointerEvents:"none",position:"absolute",right:0,backgroundColor:"red",height:2};switch(re){case-1:lt.top=0,lt.left=-ce*Pe;break;case 1:lt.bottom=0,lt.left=-ce*Pe;break;case 0:lt.bottom=0,lt.left=Pe;break}return je.createElement("div",{style:lt})},Mt=ot;function Ut(ae){if(ae==null)throw new TypeError("Cannot destructure "+ae)}var se=z(72190),Me=z(42244),st=z(34280),mt=z(48911),kt=z(77900),Qe=z(639);function ut(ae,he){var re=je.useState(!1),ce=(0,se.Z)(re,2),Pe=ce[0],lt=ce[1];(0,st.Z)(function(){if(Pe)return ae(),function(){he()}},[Pe]),(0,st.Z)(function(){return lt(!0),function(){lt(!1)}},[])}var dt=ut,Fe=z(34061),Ze=["className","style","motion","motionNodes","motionType","onMotionStart","onMotionEnd","active","treeNodeRequiredProps"],Se=je.forwardRef(function(ae,he){var re=ae.className,ce=ae.style,Pe=ae.motion,lt=ae.motionNodes,$e=ae.motionType,Ie=ae.onMotionStart,ht=ae.onMotionEnd,Et=ae.active,Rt=ae.treeNodeRequiredProps,Te=(0,Me.Z)(ae,Ze),Ke=je.useState(!0),yn=(0,se.Z)(Ke,2),Ht=yn[0],bn=yn[1],fn=je.useContext(We.k),Xt=fn.prefixCls,on=lt&&$e!=="hide";(0,st.Z)(function(){lt&&on!==Ht&&bn(on)},[lt]);var gn=function(){lt&&Ie()},ft=je.useRef(!1),Yt=function(){lt&&!ft.current&&(ft.current=!0,ht())};dt(gn,Yt);var xn=function(_e){on===_e&&Yt()};return lt?je.createElement(kt.default,(0,b.Z)({ref:he,visible:Ht},Pe,{motionAppear:$e==="show",onVisibleChanged:xn}),function(St,_e){var Vt=St.className,tn=St.style;return je.createElement("div",{ref:_e,className:be()("".concat(Xt,"-treenode-motion"),Vt),style:tn},lt.map(function(un){var Tn=Object.assign({},(Ut(un.data),un.data)),qn=un.title,mr=un.key,vr=un.isStart,Jn=un.isEnd;delete Tn.children;var dr=(0,Fe.H8)(mr,Rt);return je.createElement(Qe.Z,(0,b.Z)({},Tn,dr,{title:qn,active:Et,data:un.data,key:mr,isStart:vr,isEnd:Jn}))}))}):je.createElement(Qe.Z,(0,b.Z)({domRef:he,className:re,style:ce},Te,{active:Et}))}),ue=Se;function gt(){var ae=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],he=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],re=ae.length,ce=he.length;if(Math.abs(re-ce)!==1)return{add:!1,key:null};function Pe(lt,$e){var Ie=new Map;lt.forEach(function(Et){Ie.set(Et,!0)});var ht=$e.filter(function(Et){return!Ie.has(Et)});return ht.length===1?ht[0]:null}return re<ce?{add:!0,key:Pe(ae,he)}:{add:!1,key:Pe(he,ae)}}function He(ae,he,re){var ce=ae.findIndex(function(Ie){return Ie.key===re}),Pe=ae[ce+1],lt=he.findIndex(function(Ie){return Ie.key===re});if(Pe){var $e=he.findIndex(function(Ie){return Ie.key===Pe.key});return he.slice(lt+1,$e)}return he.slice(lt+1)}var ke=["prefixCls","data","selectable","checkable","expandedKeys","selectedKeys","checkedKeys","loadedKeys","loadingKeys","halfCheckedKeys","keyEntities","disabled","dragging","dragOverNodeKey","dropPosition","motion","height","itemHeight","virtual","scrollWidth","focusable","activeItem","focused","tabIndex","onKeyDown","onFocus","onBlur","onActiveChange","onListChangeStart","onListChangeEnd"],Nt={width:0,height:0,display:"flex",overflow:"hidden",opacity:0,border:0,padding:0,margin:0},De=function(){},ve="RC_TREE_MOTION_".concat(Math.random()),At={key:ve},Gt={key:ve,level:0,index:0,pos:"0",node:At,nodes:[At]},Wt={parent:null,children:[],pos:Gt.pos,data:At,title:null,key:ve,isStart:[],isEnd:[]};function pe(ae,he,re,ce){return he===!1||!re?ae:ae.slice(0,Math.ceil(re/ce)+1)}function Re(ae){var he=ae.key,re=ae.pos;return(0,Fe.km)(he,re)}function Ue(ae){for(var he=String(ae.data.key),re=ae;re.parent;)re=re.parent,he="".concat(re.data.key," > ").concat(he);return he}var Jt=je.forwardRef(function(ae,he){var re=ae.prefixCls,ce=ae.data,Pe=ae.selectable,lt=ae.checkable,$e=ae.expandedKeys,Ie=ae.selectedKeys,ht=ae.checkedKeys,Et=ae.loadedKeys,Rt=ae.loadingKeys,Te=ae.halfCheckedKeys,Ke=ae.keyEntities,yn=ae.disabled,Ht=ae.dragging,bn=ae.dragOverNodeKey,fn=ae.dropPosition,Xt=ae.motion,on=ae.height,gn=ae.itemHeight,ft=ae.virtual,Yt=ae.scrollWidth,xn=ae.focusable,St=ae.activeItem,_e=ae.focused,Vt=ae.tabIndex,tn=ae.onKeyDown,un=ae.onFocus,Tn=ae.onBlur,qn=ae.onActiveChange,mr=ae.onListChangeStart,vr=ae.onListChangeEnd,Jn=(0,Me.Z)(ae,ke),dr=je.useRef(null),_t=je.useRef(null);je.useImperativeHandle(he,function(){return{scrollTo:function(nr){dr.current.scrollTo(nr)},getIndentWidth:function(){return _t.current.offsetWidth}}});var zt=je.useState($e),Sn=(0,se.Z)(zt,2),wn=Sn[0],vn=Sn[1],Rn=je.useState(ce),Bt=(0,se.Z)(Rn,2),ln=Bt[0],Zt=Bt[1],pn=je.useState(ce),cn=(0,se.Z)(pn,2),zn=cn[0],Ln=cn[1],rr=je.useState([]),_n=(0,se.Z)(rr,2),rn=_n[0],Fn=_n[1],nn=je.useState(null),er=(0,se.Z)(nn,2),It=er[0],Qt=er[1],ze=je.useRef(ce);ze.current=ce;function yt(){var qt=ze.current;Zt(qt),Ln(qt),Fn([]),Qt(null),vr()}(0,st.Z)(function(){vn($e);var qt=gt(wn,$e);if(qt.key!==null)if(qt.add){var nr=ln.findIndex(function(In){var Zn=In.key;return Zn===qt.key}),ar=pe(He(ln,ce,qt.key),ft,on,gn),pt=ln.slice();pt.splice(nr+1,0,Wt),Ln(pt),Fn(ar),Qt("show")}else{var xt=ce.findIndex(function(In){var Zn=In.key;return Zn===qt.key}),Pt=pe(He(ce,ln,qt.key),ft,on,gn),Kt=ce.slice();Kt.splice(xt+1,0,Wt),Ln(Kt),Fn(Pt),Qt("hide")}else ln!==ce&&(Zt(ce),Ln(ce))},[$e,ce]),je.useEffect(function(){Ht||yt()},[Ht]);var Ye=Xt?zn:ce,Ct={expandedKeys:$e,selectedKeys:Ie,loadedKeys:Et,loadingKeys:Rt,checkedKeys:ht,halfCheckedKeys:Te,dragOverNodeKey:bn,dropPosition:fn,keyEntities:Ke};return je.createElement(je.Fragment,null,_e&&St&&je.createElement("span",{style:Nt,"aria-live":"assertive"},Ue(St)),je.createElement("div",null,je.createElement("input",{style:Nt,disabled:xn===!1||yn,tabIndex:xn!==!1?Vt:null,onKeyDown:tn,onFocus:un,onBlur:Tn,value:"",onChange:De,"aria-label":"for screen reader"})),je.createElement("div",{className:"".concat(re,"-treenode"),"aria-hidden":!0,style:{position:"absolute",pointerEvents:"none",visibility:"hidden",height:0,overflow:"hidden",border:0,padding:0}},je.createElement("div",{className:"".concat(re,"-indent")},je.createElement("div",{ref:_t,className:"".concat(re,"-indent-unit")}))),je.createElement(mt.Z,(0,b.Z)({},Jn,{data:Ye,itemKey:Re,height:on,fullHeight:!1,virtual:ft,itemHeight:gn,scrollWidth:Yt,prefixCls:"".concat(re,"-list"),ref:dr,role:"tree",onVisibleChange:function(nr){nr.every(function(ar){return Re(ar)!==ve})&&yt()}}),function(qt){var nr=qt.pos,ar=Object.assign({},(Ut(qt.data),qt.data)),pt=qt.title,xt=qt.key,Pt=qt.isStart,Kt=qt.isEnd,In=(0,Fe.km)(xt,nr);delete ar.key,delete ar.children;var Zn=(0,Fe.H8)(In,Ct);return je.createElement(ue,(0,b.Z)({},ar,Zn,{title:pt,active:!!St&&xt===St.key,pos:nr,data:qt.data,isStart:Pt,isEnd:Kt,motion:Xt,motionNodes:xt===ve?rn:null,motionType:It,onMotionStart:mr,onMotionEnd:yt,treeNodeRequiredProps:Ct,onMouseMove:function(){qn(null)}}))}))}),et=Jt,jt=z(82661),ct=z(34643),dn=z(65065),bt=10,le=function(ae){(0,Ve.Z)(re,ae);var he=(0,Be.Z)(re);function re(){var ce;(0,Oe.Z)(this,re);for(var Pe=arguments.length,lt=new Array(Pe),$e=0;$e<Pe;$e++)lt[$e]=arguments[$e];return ce=he.call.apply(he,[this].concat(lt)),(0,fe.Z)((0,Ae.Z)(ce),"destroyed",!1),(0,fe.Z)((0,Ae.Z)(ce),"delayedDragEnterLogic",void 0),(0,fe.Z)((0,Ae.Z)(ce),"loadingRetryTimes",{}),(0,fe.Z)((0,Ae.Z)(ce),"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,Fe.w$)()}),(0,fe.Z)((0,Ae.Z)(ce),"dragStartMousePosition",null),(0,fe.Z)((0,Ae.Z)(ce),"dragNodeProps",null),(0,fe.Z)((0,Ae.Z)(ce),"currentMouseOverDroppableNodeKey",null),(0,fe.Z)((0,Ae.Z)(ce),"listRef",je.createRef()),(0,fe.Z)((0,Ae.Z)(ce),"onNodeDragStart",function(Ie,ht){var Et=ce.state,Rt=Et.expandedKeys,Te=Et.keyEntities,Ke=ce.props.onDragStart,yn=ht.eventKey;ce.dragNodeProps=ht,ce.dragStartMousePosition={x:Ie.clientX,y:Ie.clientY};var Ht=(0,jt._5)(Rt,yn);ce.setState({draggingNodeKey:yn,dragChildrenKeys:(0,jt.wA)(yn,Te),indent:ce.listRef.current.getIndentWidth()}),ce.setExpandedKeys(Ht),window.addEventListener("dragend",ce.onWindowDragEnd),Ke==null||Ke({event:Ie,node:(0,Fe.F)(ht)})}),(0,fe.Z)((0,Ae.Z)(ce),"onNodeDragEnter",function(Ie,ht){var Et=ce.state,Rt=Et.expandedKeys,Te=Et.keyEntities,Ke=Et.dragChildrenKeys,yn=Et.flattenNodes,Ht=Et.indent,bn=ce.props,fn=bn.onDragEnter,Xt=bn.onExpand,on=bn.allowDrop,gn=bn.direction,ft=ht.pos,Yt=ht.eventKey;if(ce.currentMouseOverDroppableNodeKey!==Yt&&(ce.currentMouseOverDroppableNodeKey=Yt),!ce.dragNodeProps){ce.resetDragState();return}var xn=(0,jt.OM)(Ie,ce.dragNodeProps,ht,Ht,ce.dragStartMousePosition,on,yn,Te,Rt,gn),St=xn.dropPosition,_e=xn.dropLevelOffset,Vt=xn.dropTargetKey,tn=xn.dropContainerKey,un=xn.dropTargetPos,Tn=xn.dropAllowed,qn=xn.dragOverNodeKey;if(Ke.includes(Vt)||!Tn){ce.resetDragState();return}if(ce.delayedDragEnterLogic||(ce.delayedDragEnterLogic={}),Object.keys(ce.delayedDragEnterLogic).forEach(function(mr){clearTimeout(ce.delayedDragEnterLogic[mr])}),ce.dragNodeProps.eventKey!==ht.eventKey&&(Ie.persist(),ce.delayedDragEnterLogic[ft]=window.setTimeout(function(){if(ce.state.draggingNodeKey!==null){var mr=(0,rt.Z)(Rt),vr=(0,dn.Z)(Te,ht.eventKey);vr&&(vr.children||[]).length&&(mr=(0,jt.L0)(Rt,ht.eventKey)),ce.props.hasOwnProperty("expandedKeys")||ce.setExpandedKeys(mr),Xt==null||Xt(mr,{node:(0,Fe.F)(ht),expanded:!0,nativeEvent:Ie.nativeEvent})}},800)),ce.dragNodeProps.eventKey===Vt&&_e===0){ce.resetDragState();return}ce.setState({dragOverNodeKey:qn,dropPosition:St,dropLevelOffset:_e,dropTargetKey:Vt,dropContainerKey:tn,dropTargetPos:un,dropAllowed:Tn}),fn==null||fn({event:Ie,node:(0,Fe.F)(ht),expandedKeys:Rt})}),(0,fe.Z)((0,Ae.Z)(ce),"onNodeDragOver",function(Ie,ht){var Et=ce.state,Rt=Et.dragChildrenKeys,Te=Et.flattenNodes,Ke=Et.keyEntities,yn=Et.expandedKeys,Ht=Et.indent,bn=ce.props,fn=bn.onDragOver,Xt=bn.allowDrop,on=bn.direction;if(ce.dragNodeProps){var gn=(0,jt.OM)(Ie,ce.dragNodeProps,ht,Ht,ce.dragStartMousePosition,Xt,Te,Ke,yn,on),ft=gn.dropPosition,Yt=gn.dropLevelOffset,xn=gn.dropTargetKey,St=gn.dropContainerKey,_e=gn.dropTargetPos,Vt=gn.dropAllowed,tn=gn.dragOverNodeKey;Rt.includes(xn)||!Vt||(ce.dragNodeProps.eventKey===xn&&Yt===0?ce.state.dropPosition===null&&ce.state.dropLevelOffset===null&&ce.state.dropTargetKey===null&&ce.state.dropContainerKey===null&&ce.state.dropTargetPos===null&&ce.state.dropAllowed===!1&&ce.state.dragOverNodeKey===null||ce.resetDragState():ft===ce.state.dropPosition&&Yt===ce.state.dropLevelOffset&&xn===ce.state.dropTargetKey&&St===ce.state.dropContainerKey&&_e===ce.state.dropTargetPos&&Vt===ce.state.dropAllowed&&tn===ce.state.dragOverNodeKey||ce.setState({dropPosition:ft,dropLevelOffset:Yt,dropTargetKey:xn,dropContainerKey:St,dropTargetPos:_e,dropAllowed:Vt,dragOverNodeKey:tn}),fn==null||fn({event:Ie,node:(0,Fe.F)(ht)}))}}),(0,fe.Z)((0,Ae.Z)(ce),"onNodeDragLeave",function(Ie,ht){ce.currentMouseOverDroppableNodeKey===ht.eventKey&&!Ie.currentTarget.contains(Ie.relatedTarget)&&(ce.resetDragState(),ce.currentMouseOverDroppableNodeKey=null);var Et=ce.props.onDragLeave;Et==null||Et({event:Ie,node:(0,Fe.F)(ht)})}),(0,fe.Z)((0,Ae.Z)(ce),"onWindowDragEnd",function(Ie){ce.onNodeDragEnd(Ie,null,!0),window.removeEventListener("dragend",ce.onWindowDragEnd)}),(0,fe.Z)((0,Ae.Z)(ce),"onNodeDragEnd",function(Ie,ht){var Et=ce.props.onDragEnd;ce.setState({dragOverNodeKey:null}),ce.cleanDragState(),Et==null||Et({event:Ie,node:(0,Fe.F)(ht)}),ce.dragNodeProps=null,window.removeEventListener("dragend",ce.onWindowDragEnd)}),(0,fe.Z)((0,Ae.Z)(ce),"onNodeDrop",function(Ie,ht){var Et,Rt=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1,Te=ce.state,Ke=Te.dragChildrenKeys,yn=Te.dropPosition,Ht=Te.dropTargetKey,bn=Te.dropTargetPos,fn=Te.dropAllowed;if(fn){var Xt=ce.props.onDrop;if(ce.setState({dragOverNodeKey:null}),ce.cleanDragState(),Ht!==null){var on=(0,de.Z)((0,de.Z)({},(0,Fe.H8)(Ht,ce.getTreeNodeRequiredProps())),{},{active:((Et=ce.getActiveItem())===null||Et===void 0?void 0:Et.key)===Ht,data:(0,dn.Z)(ce.state.keyEntities,Ht).node}),gn=Ke.includes(Ht);(0,tt.ZP)(!gn,"Can not drop to dragNode's children node. This is a bug of rc-tree. Please report an issue.");var ft=(0,jt.yx)(bn),Yt={event:Ie,node:(0,Fe.F)(on),dragNode:ce.dragNodeProps?(0,Fe.F)(ce.dragNodeProps):null,dragNodesKeys:[ce.dragNodeProps.eventKey].concat(Ke),dropToGap:yn!==0,dropPosition:yn+Number(ft[ft.length-1])};Rt||Xt==null||Xt(Yt),ce.dragNodeProps=null}}}),(0,fe.Z)((0,Ae.Z)(ce),"cleanDragState",function(){var Ie=ce.state.draggingNodeKey;Ie!==null&&ce.setState({draggingNodeKey:null,dropPosition:null,dropContainerKey:null,dropTargetKey:null,dropLevelOffset:null,dropAllowed:!0,dragOverNodeKey:null}),ce.dragStartMousePosition=null,ce.currentMouseOverDroppableNodeKey=null}),(0,fe.Z)((0,Ae.Z)(ce),"triggerExpandActionExpand",function(Ie,ht){var Et=ce.state,Rt=Et.expandedKeys,Te=Et.flattenNodes,Ke=ht.expanded,yn=ht.key,Ht=ht.isLeaf;if(!(Ht||Ie.shiftKey||Ie.metaKey||Ie.ctrlKey)){var bn=Te.filter(function(Xt){return Xt.key===yn})[0],fn=(0,Fe.F)((0,de.Z)((0,de.Z)({},(0,Fe.H8)(yn,ce.getTreeNodeRequiredProps())),{},{data:bn.data}));ce.setExpandedKeys(Ke?(0,jt._5)(Rt,yn):(0,jt.L0)(Rt,yn)),ce.onNodeExpand(Ie,fn)}}),(0,fe.Z)((0,Ae.Z)(ce),"onNodeClick",function(Ie,ht){var Et=ce.props,Rt=Et.onClick,Te=Et.expandAction;Te==="click"&&ce.triggerExpandActionExpand(Ie,ht),Rt==null||Rt(Ie,ht)}),(0,fe.Z)((0,Ae.Z)(ce),"onNodeDoubleClick",function(Ie,ht){var Et=ce.props,Rt=Et.onDoubleClick,Te=Et.expandAction;Te==="doubleClick"&&ce.triggerExpandActionExpand(Ie,ht),Rt==null||Rt(Ie,ht)}),(0,fe.Z)((0,Ae.Z)(ce),"onNodeSelect",function(Ie,ht){var Et=ce.state.selectedKeys,Rt=ce.state,Te=Rt.keyEntities,Ke=Rt.fieldNames,yn=ce.props,Ht=yn.onSelect,bn=yn.multiple,fn=ht.selected,Xt=ht[Ke.key],on=!fn;on?bn?Et=(0,jt.L0)(Et,Xt):Et=[Xt]:Et=(0,jt._5)(Et,Xt);var gn=Et.map(function(ft){var Yt=(0,dn.Z)(Te,ft);return Yt?Yt.node:null}).filter(Boolean);ce.setUncontrolledState({selectedKeys:Et}),Ht==null||Ht(Et,{event:"select",selected:on,node:ht,selectedNodes:gn,nativeEvent:Ie.nativeEvent})}),(0,fe.Z)((0,Ae.Z)(ce),"onNodeCheck",function(Ie,ht,Et){var Rt=ce.state,Te=Rt.keyEntities,Ke=Rt.checkedKeys,yn=Rt.halfCheckedKeys,Ht=ce.props,bn=Ht.checkStrictly,fn=Ht.onCheck,Xt=ht.key,on,gn={event:"check",node:ht,checked:Et,nativeEvent:Ie.nativeEvent};if(bn){var ft=Et?(0,jt.L0)(Ke,Xt):(0,jt._5)(Ke,Xt),Yt=(0,jt._5)(yn,Xt);on={checked:ft,halfChecked:Yt},gn.checkedNodes=ft.map(function(un){return(0,dn.Z)(Te,un)}).filter(Boolean).map(function(un){return un.node}),ce.setUncontrolledState({checkedKeys:ft})}else{var xn=(0,ct.S)([].concat((0,rt.Z)(Ke),[Xt]),!0,Te),St=xn.checkedKeys,_e=xn.halfCheckedKeys;if(!Et){var Vt=new Set(St);Vt.delete(Xt);var tn=(0,ct.S)(Array.from(Vt),{checked:!1,halfCheckedKeys:_e},Te);St=tn.checkedKeys,_e=tn.halfCheckedKeys}on=St,gn.checkedNodes=[],gn.checkedNodesPositions=[],gn.halfCheckedKeys=_e,St.forEach(function(un){var Tn=(0,dn.Z)(Te,un);if(Tn){var qn=Tn.node,mr=Tn.pos;gn.checkedNodes.push(qn),gn.checkedNodesPositions.push({node:qn,pos:mr})}}),ce.setUncontrolledState({checkedKeys:St},!1,{halfCheckedKeys:_e})}fn==null||fn(on,gn)}),(0,fe.Z)((0,Ae.Z)(ce),"onNodeLoad",function(Ie){var ht,Et=Ie.key,Rt=ce.state.keyEntities,Te=(0,dn.Z)(Rt,Et);if(!(Te!=null&&(ht=Te.children)!==null&&ht!==void 0&&ht.length)){var Ke=new Promise(function(yn,Ht){ce.setState(function(bn){var fn=bn.loadedKeys,Xt=fn===void 0?[]:fn,on=bn.loadingKeys,gn=on===void 0?[]:on,ft=ce.props,Yt=ft.loadData,xn=ft.onLoad;if(!Yt||Xt.includes(Et)||gn.includes(Et))return null;var St=Yt(Ie);return St.then(function(){var _e=ce.state.loadedKeys,Vt=(0,jt.L0)(_e,Et);xn==null||xn(Vt,{event:"load",node:Ie}),ce.setUncontrolledState({loadedKeys:Vt}),ce.setState(function(tn){return{loadingKeys:(0,jt._5)(tn.loadingKeys,Et)}}),yn()}).catch(function(_e){if(ce.setState(function(tn){return{loadingKeys:(0,jt._5)(tn.loadingKeys,Et)}}),ce.loadingRetryTimes[Et]=(ce.loadingRetryTimes[Et]||0)+1,ce.loadingRetryTimes[Et]>=bt){var Vt=ce.state.loadedKeys;(0,tt.ZP)(!1,"Retry for `loadData` many times but still failed. No more retry."),ce.setUncontrolledState({loadedKeys:(0,jt.L0)(Vt,Et)}),yn()}Ht(_e)}),{loadingKeys:(0,jt.L0)(gn,Et)}})});return Ke.catch(function(){}),Ke}}),(0,fe.Z)((0,Ae.Z)(ce),"onNodeMouseEnter",function(Ie,ht){var Et=ce.props.onMouseEnter;Et==null||Et({event:Ie,node:ht})}),(0,fe.Z)((0,Ae.Z)(ce),"onNodeMouseLeave",function(Ie,ht){var Et=ce.props.onMouseLeave;Et==null||Et({event:Ie,node:ht})}),(0,fe.Z)((0,Ae.Z)(ce),"onNodeContextMenu",function(Ie,ht){var Et=ce.props.onRightClick;Et&&(Ie.preventDefault(),Et({event:Ie,node:ht}))}),(0,fe.Z)((0,Ae.Z)(ce),"onFocus",function(){var Ie=ce.props.onFocus;ce.setState({focused:!0});for(var ht=arguments.length,Et=new Array(ht),Rt=0;Rt<ht;Rt++)Et[Rt]=arguments[Rt];Ie==null||Ie.apply(void 0,Et)}),(0,fe.Z)((0,Ae.Z)(ce),"onBlur",function(){var Ie=ce.props.onBlur;ce.setState({focused:!1}),ce.onActiveChange(null);for(var ht=arguments.length,Et=new Array(ht),Rt=0;Rt<ht;Rt++)Et[Rt]=arguments[Rt];Ie==null||Ie.apply(void 0,Et)}),(0,fe.Z)((0,Ae.Z)(ce),"getTreeNodeRequiredProps",function(){var Ie=ce.state,ht=Ie.expandedKeys,Et=Ie.selectedKeys,Rt=Ie.loadedKeys,Te=Ie.loadingKeys,Ke=Ie.checkedKeys,yn=Ie.halfCheckedKeys,Ht=Ie.dragOverNodeKey,bn=Ie.dropPosition,fn=Ie.keyEntities;return{expandedKeys:ht||[],selectedKeys:Et||[],loadedKeys:Rt||[],loadingKeys:Te||[],checkedKeys:Ke||[],halfCheckedKeys:yn||[],dragOverNodeKey:Ht,dropPosition:bn,keyEntities:fn}}),(0,fe.Z)((0,Ae.Z)(ce),"setExpandedKeys",function(Ie){var ht=ce.state,Et=ht.treeData,Rt=ht.fieldNames,Te=(0,Fe.oH)(Et,Ie,Rt);ce.setUncontrolledState({expandedKeys:Ie,flattenNodes:Te},!0)}),(0,fe.Z)((0,Ae.Z)(ce),"onNodeExpand",function(Ie,ht){var Et=ce.state.expandedKeys,Rt=ce.state,Te=Rt.listChanging,Ke=Rt.fieldNames,yn=ce.props,Ht=yn.onExpand,bn=yn.loadData,fn=ht.expanded,Xt=ht[Ke.key];if(!Te){var on=Et.includes(Xt),gn=!fn;if((0,tt.ZP)(fn&&on||!fn&&!on,"Expand state not sync with index check"),Et=gn?(0,jt.L0)(Et,Xt):(0,jt._5)(Et,Xt),ce.setExpandedKeys(Et),Ht==null||Ht(Et,{node:ht,expanded:gn,nativeEvent:Ie.nativeEvent}),gn&&bn){var ft=ce.onNodeLoad(ht);ft&&ft.then(function(){var Yt=(0,Fe.oH)(ce.state.treeData,Et,Ke);ce.setUncontrolledState({flattenNodes:Yt})}).catch(function(){var Yt=ce.state.expandedKeys,xn=(0,jt._5)(Yt,Xt);ce.setExpandedKeys(xn)})}}}),(0,fe.Z)((0,Ae.Z)(ce),"onListChangeStart",function(){ce.setUncontrolledState({listChanging:!0})}),(0,fe.Z)((0,Ae.Z)(ce),"onListChangeEnd",function(){setTimeout(function(){ce.setUncontrolledState({listChanging:!1})})}),(0,fe.Z)((0,Ae.Z)(ce),"onActiveChange",function(Ie){var ht=ce.state.activeKey,Et=ce.props,Rt=Et.onActiveChange,Te=Et.itemScrollOffset,Ke=Te===void 0?0:Te;ht!==Ie&&(ce.setState({activeKey:Ie}),Ie!==null&&ce.scrollTo({key:Ie,offset:Ke}),Rt==null||Rt(Ie))}),(0,fe.Z)((0,Ae.Z)(ce),"getActiveItem",function(){var Ie=ce.state,ht=Ie.activeKey,Et=Ie.flattenNodes;return ht===null?null:Et.find(function(Rt){var Te=Rt.key;return Te===ht})||null}),(0,fe.Z)((0,Ae.Z)(ce),"offsetActiveKey",function(Ie){var ht=ce.state,Et=ht.flattenNodes,Rt=ht.activeKey,Te=Et.findIndex(function(Ht){var bn=Ht.key;return bn===Rt});Te===-1&&Ie<0&&(Te=Et.length),Te=(Te+Ie+Et.length)%Et.length;var Ke=Et[Te];if(Ke){var yn=Ke.key;ce.onActiveChange(yn)}else ce.onActiveChange(null)}),(0,fe.Z)((0,Ae.Z)(ce),"onKeyDown",function(Ie){var ht=ce.state,Et=ht.activeKey,Rt=ht.expandedKeys,Te=ht.checkedKeys,Ke=ht.fieldNames,yn=ce.props,Ht=yn.onKeyDown,bn=yn.checkable,fn=yn.selectable;switch(Ie.which){case vt.Z.UP:{ce.offsetActiveKey(-1),Ie.preventDefault();break}case vt.Z.DOWN:{ce.offsetActiveKey(1),Ie.preventDefault();break}}var Xt=ce.getActiveItem();if(Xt&&Xt.data){var on=ce.getTreeNodeRequiredProps(),gn=Xt.data.isLeaf===!1||!!(Xt.data[Ke.children]||[]).length,ft=(0,Fe.F)((0,de.Z)((0,de.Z)({},(0,Fe.H8)(Et,on)),{},{data:Xt.data,active:!0}));switch(Ie.which){case vt.Z.LEFT:{gn&&Rt.includes(Et)?ce.onNodeExpand({},ft):Xt.parent&&ce.onActiveChange(Xt.parent.key),Ie.preventDefault();break}case vt.Z.RIGHT:{gn&&!Rt.includes(Et)?ce.onNodeExpand({},ft):Xt.children&&Xt.children.length&&ce.onActiveChange(Xt.children[0].key),Ie.preventDefault();break}case vt.Z.ENTER:case vt.Z.SPACE:{bn&&!ft.disabled&&ft.checkable!==!1&&!ft.disableCheckbox?ce.onNodeCheck({},ft,!Te.includes(Et)):!bn&&fn&&!ft.disabled&&ft.selectable!==!1&&ce.onNodeSelect({},ft);break}}}Ht==null||Ht(Ie)}),(0,fe.Z)((0,Ae.Z)(ce),"setUncontrolledState",function(Ie){var ht=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,Et=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null;if(!ce.destroyed){var Rt=!1,Te=!0,Ke={};Object.keys(Ie).forEach(function(yn){if(ce.props.hasOwnProperty(yn)){Te=!1;return}Rt=!0,Ke[yn]=Ie[yn]}),Rt&&(!ht||Te)&&ce.setState((0,de.Z)((0,de.Z)({},Ke),Et))}}),(0,fe.Z)((0,Ae.Z)(ce),"scrollTo",function(Ie){ce.listRef.current.scrollTo(Ie)}),ce}return(0,xe.Z)(re,[{key:"componentDidMount",value:function(){this.destroyed=!1,this.onUpdated()}},{key:"componentDidUpdate",value:function(){this.onUpdated()}},{key:"onUpdated",value:function(){var Pe=this.props,lt=Pe.activeKey,$e=Pe.itemScrollOffset,Ie=$e===void 0?0:$e;lt!==void 0&<!==this.state.activeKey&&(this.setState({activeKey:lt}),lt!==null&&this.scrollTo({key:lt,offset:Ie}))}},{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 Pe=this.state,lt=Pe.focused,$e=Pe.flattenNodes,Ie=Pe.keyEntities,ht=Pe.draggingNodeKey,Et=Pe.activeKey,Rt=Pe.dropLevelOffset,Te=Pe.dropContainerKey,Ke=Pe.dropTargetKey,yn=Pe.dropPosition,Ht=Pe.dragOverNodeKey,bn=Pe.indent,fn=this.props,Xt=fn.prefixCls,on=fn.className,gn=fn.style,ft=fn.showLine,Yt=fn.focusable,xn=fn.tabIndex,St=xn===void 0?0:xn,_e=fn.selectable,Vt=fn.showIcon,tn=fn.icon,un=fn.switcherIcon,Tn=fn.draggable,qn=fn.checkable,mr=fn.checkStrictly,vr=fn.disabled,Jn=fn.motion,dr=fn.loadData,_t=fn.filterTreeNode,zt=fn.height,Sn=fn.itemHeight,wn=fn.scrollWidth,vn=fn.virtual,Rn=fn.titleRender,Bt=fn.dropIndicatorRender,ln=fn.onContextMenu,Zt=fn.onScroll,pn=fn.direction,cn=fn.rootClassName,zn=fn.rootStyle,Ln=(0,Je.Z)(this.props,{aria:!0,data:!0}),rr;Tn&&((0,Ce.Z)(Tn)==="object"?rr=Tn:typeof Tn=="function"?rr={nodeDraggable:Tn}:rr={});var _n={prefixCls:Xt,selectable:_e,showIcon:Vt,icon:tn,switcherIcon:un,draggable:rr,draggingNodeKey:ht,checkable:qn,checkStrictly:mr,disabled:vr,keyEntities:Ie,dropLevelOffset:Rt,dropContainerKey:Te,dropTargetKey:Ke,dropPosition:yn,dragOverNodeKey:Ht,indent:bn,direction:pn,dropIndicatorRender:Bt,loadData:dr,filterTreeNode:_t,titleRender:Rn,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};return je.createElement(We.k.Provider,{value:_n},je.createElement("div",{className:be()(Xt,on,cn,(0,fe.Z)((0,fe.Z)((0,fe.Z)({},"".concat(Xt,"-show-line"),ft),"".concat(Xt,"-focused"),lt),"".concat(Xt,"-active-focused"),Et!==null)),style:zn},je.createElement(et,(0,b.Z)({ref:this.listRef,prefixCls:Xt,style:gn,data:$e,disabled:vr,selectable:_e,checkable:!!qn,motion:Jn,dragging:ht!==null,height:zt,itemHeight:Sn,virtual:vn,focusable:Yt,focused:lt,tabIndex:St,activeItem:this.getActiveItem(),onFocus:this.onFocus,onBlur:this.onBlur,onKeyDown:this.onKeyDown,onActiveChange:this.onActiveChange,onListChangeStart:this.onListChangeStart,onListChangeEnd:this.onListChangeEnd,onContextMenu:ln,onScroll:Zt,scrollWidth:wn},this.getTreeNodeRequiredProps(),Ln))))}}],[{key:"getDerivedStateFromProps",value:function(Pe,lt){var $e=lt.prevProps,Ie={prevProps:Pe};function ht(St){return!$e&&Pe.hasOwnProperty(St)||$e&&$e[St]!==Pe[St]}var Et,Rt=lt.fieldNames;if(ht("fieldNames")&&(Rt=(0,Fe.w$)(Pe.fieldNames),Ie.fieldNames=Rt),ht("treeData")?Et=Pe.treeData:ht("children")&&((0,tt.ZP)(!1,"`children` of Tree is deprecated. Please use `treeData` instead."),Et=(0,Fe.zn)(Pe.children)),Et){Ie.treeData=Et;var Te=(0,Fe.I8)(Et,{fieldNames:Rt});Ie.keyEntities=(0,de.Z)((0,fe.Z)({},ve,Gt),Te.keyEntities)}var Ke=Ie.keyEntities||lt.keyEntities;if(ht("expandedKeys")||$e&&ht("autoExpandParent"))Ie.expandedKeys=Pe.autoExpandParent||!$e&&Pe.defaultExpandParent?(0,jt.r7)(Pe.expandedKeys,Ke):Pe.expandedKeys;else if(!$e&&Pe.defaultExpandAll){var yn=(0,de.Z)({},Ke);delete yn[ve];var Ht=[];Object.keys(yn).forEach(function(St){var _e=yn[St];_e.children&&_e.children.length&&Ht.push(_e.key)}),Ie.expandedKeys=Ht}else!$e&&Pe.defaultExpandedKeys&&(Ie.expandedKeys=Pe.autoExpandParent||Pe.defaultExpandParent?(0,jt.r7)(Pe.defaultExpandedKeys,Ke):Pe.defaultExpandedKeys);if(Ie.expandedKeys||delete Ie.expandedKeys,Et||Ie.expandedKeys){var bn=(0,Fe.oH)(Et||lt.treeData,Ie.expandedKeys||lt.expandedKeys,Rt);Ie.flattenNodes=bn}if(Pe.selectable&&(ht("selectedKeys")?Ie.selectedKeys=(0,jt.BT)(Pe.selectedKeys,Pe):!$e&&Pe.defaultSelectedKeys&&(Ie.selectedKeys=(0,jt.BT)(Pe.defaultSelectedKeys,Pe))),Pe.checkable){var fn;if(ht("checkedKeys")?fn=(0,jt.E6)(Pe.checkedKeys)||{}:!$e&&Pe.defaultCheckedKeys?fn=(0,jt.E6)(Pe.defaultCheckedKeys)||{}:Et&&(fn=(0,jt.E6)(Pe.checkedKeys)||{checkedKeys:lt.checkedKeys,halfCheckedKeys:lt.halfCheckedKeys}),fn){var Xt=fn,on=Xt.checkedKeys,gn=on===void 0?[]:on,ft=Xt.halfCheckedKeys,Yt=ft===void 0?[]:ft;if(!Pe.checkStrictly){var xn=(0,ct.S)(gn,!0,Ke);gn=xn.checkedKeys,Yt=xn.halfCheckedKeys}Ie.checkedKeys=gn,Ie.halfCheckedKeys=Yt}}return ht("loadedKeys")&&(Ie.loadedKeys=Pe.loadedKeys),Ie}}]),re}(je.Component);(0,fe.Z)(le,"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:Mt,allowDrop:function(){return!0},expandAction:!1}),(0,fe.Z)(le,"TreeNode",Qe.Z);var ne=le,te=ne},82661:function(Yn,mn,z){"use strict";z.d(mn,{BT:function(){return je},E6:function(){return Mt},L0:function(){return fe},OM:function(){return tt},_5:function(){return Be},r7:function(){return Ut},wA:function(){return be},yx:function(){return Ge}});var b=z(77654),Ce=z(43749),de=z(48736),rt=z(59301),Oe=z(639),xe=z(65065),Ae=z(34061),Ve=null;function Be(se,Me){if(!se)return[];var st=se.slice(),mt=st.indexOf(Me);return mt>=0&&st.splice(mt,1),st}function fe(se,Me){var st=(se||[]).slice();return st.indexOf(Me)===-1&&st.push(Me),st}function Ge(se){return se.split("-")}function be(se,Me){var st=[],mt=(0,xe.Z)(Me,se);function kt(){var Qe=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];Qe.forEach(function(ut){var dt=ut.key,Fe=ut.children;st.push(dt),kt(Fe)})}return kt(mt.children),st}function vt(se){if(se.parent){var Me=Ge(se.pos);return Number(Me[Me.length-1])===se.parent.children.length-1}return!1}function Je(se){var Me=Ge(se.pos);return Number(Me[Me.length-1])===0}function tt(se,Me,st,mt,kt,Qe,ut,dt,Fe,Ze){var Se,ue=se.clientX,gt=se.clientY,He=se.target.getBoundingClientRect(),ke=He.top,Nt=He.height,De=(Ze==="rtl"?-1:1)*(((kt==null?void 0:kt.x)||0)-ue),ve=(De-12)/mt,At=Fe.filter(function(te){var ae;return(ae=dt[te])===null||ae===void 0||(ae=ae.children)===null||ae===void 0?void 0:ae.length}),Gt=(0,xe.Z)(dt,st.eventKey);if(gt<ke+Nt/2){var Wt=ut.findIndex(function(te){return te.key===Gt.key}),pe=Wt<=0?0:Wt-1,Re=ut[pe].key;Gt=(0,xe.Z)(dt,Re)}var Ue=Gt.key,Jt=Gt,et=Gt.key,jt=0,ct=0;if(!At.includes(Ue))for(var dn=0;dn<ve&&vt(Gt);dn+=1)Gt=Gt.parent,ct+=1;var bt=Me.data,le=Gt.node,ne=!0;return Je(Gt)&&Gt.level===0&><ke+Nt/2&&Qe({dragNode:bt,dropNode:le,dropPosition:-1})&&Gt.key===st.eventKey?jt=-1:(Jt.children||[]).length&&At.includes(et)?Qe({dragNode:bt,dropNode:le,dropPosition:0})?jt=0:ne=!1:ct===0?ve>-1.5?Qe({dragNode:bt,dropNode:le,dropPosition:1})?jt=1:ne=!1:Qe({dragNode:bt,dropNode:le,dropPosition:0})?jt=0:Qe({dragNode:bt,dropNode:le,dropPosition:1})?jt=1:ne=!1:Qe({dragNode:bt,dropNode:le,dropPosition:1})?jt=1:ne=!1,{dropPosition:jt,dropLevelOffset:ct,dropTargetKey:Gt.key,dropTargetPos:Gt.pos,dragOverNodeKey:et,dropContainerKey:jt===0?null:((Se=Gt.parent)===null||Se===void 0?void 0:Se.key)||null,dropAllowed:ne}}function je(se,Me){if(se){var st=Me.multiple;return st?se.slice():se.length?[se[0]]:se}}var We=function(Me){return Me};function ot(se,Me){if(!se)return[];var st=Me||{},mt=st.processProps,kt=mt===void 0?We:mt,Qe=Array.isArray(se)?se:[se];return Qe.map(function(ut){var dt=ut.children,Fe=_objectWithoutProperties(ut,Ve),Ze=ot(dt,Me);return React.createElement(TreeNode,_extends({key:Fe.key},kt(Fe)),Ze)})}function Mt(se){if(!se)return null;var Me;if(Array.isArray(se))Me={checkedKeys:se,halfCheckedKeys:void 0};else if((0,Ce.Z)(se)==="object")Me={checkedKeys:se.checked||void 0,halfCheckedKeys:se.halfChecked||void 0};else return(0,de.ZP)(!1,"`checkedKeys` is not an array or an object"),null;return Me}function Ut(se,Me){var st=new Set;function mt(kt){if(!st.has(kt)){var Qe=(0,xe.Z)(Me,kt);if(Qe){st.add(kt);var ut=Qe.parent,dt=Qe.node;dt.disabled||ut&&mt(ut.key)}}}return(se||[]).forEach(function(kt){mt(kt)}),(0,b.Z)(st)}},34643:function(Yn,mn,z){"use strict";z.d(mn,{S:function(){return Ae}});var b=z(48736),Ce=z(65065);function de(Ve,Be){var fe=new Set;return Ve.forEach(function(Ge){Be.has(Ge)||fe.add(Ge)}),fe}function rt(Ve){var Be=Ve||{},fe=Be.disabled,Ge=Be.disableCheckbox,be=Be.checkable;return!!(fe||Ge)||be===!1}function Oe(Ve,Be,fe,Ge){for(var be=new Set(Ve),vt=new Set,Je=0;Je<=fe;Je+=1){var tt=Be.get(Je)||new Set;tt.forEach(function(Mt){var Ut=Mt.key,se=Mt.node,Me=Mt.children,st=Me===void 0?[]:Me;be.has(Ut)&&!Ge(se)&&st.filter(function(mt){return!Ge(mt.node)}).forEach(function(mt){be.add(mt.key)})})}for(var je=new Set,We=fe;We>=0;We-=1){var ot=Be.get(We)||new Set;ot.forEach(function(Mt){var Ut=Mt.parent,se=Mt.node;if(!(Ge(se)||!Mt.parent||je.has(Mt.parent.key))){if(Ge(Mt.parent.node)){je.add(Ut.key);return}var Me=!0,st=!1;(Ut.children||[]).filter(function(mt){return!Ge(mt.node)}).forEach(function(mt){var kt=mt.key,Qe=be.has(kt);Me&&!Qe&&(Me=!1),!st&&(Qe||vt.has(kt))&&(st=!0)}),Me&&be.add(Ut.key),st&&vt.add(Ut.key),je.add(Ut.key)}})}return{checkedKeys:Array.from(be),halfCheckedKeys:Array.from(de(vt,be))}}function xe(Ve,Be,fe,Ge,be){for(var vt=new Set(Ve),Je=new Set(Be),tt=0;tt<=Ge;tt+=1){var je=fe.get(tt)||new Set;je.forEach(function(Ut){var se=Ut.key,Me=Ut.node,st=Ut.children,mt=st===void 0?[]:st;!vt.has(se)&&!Je.has(se)&&!be(Me)&&mt.filter(function(kt){return!be(kt.node)}).forEach(function(kt){vt.delete(kt.key)})})}Je=new Set;for(var We=new Set,ot=Ge;ot>=0;ot-=1){var Mt=fe.get(ot)||new Set;Mt.forEach(function(Ut){var se=Ut.parent,Me=Ut.node;if(!(be(Me)||!Ut.parent||We.has(Ut.parent.key))){if(be(Ut.parent.node)){We.add(se.key);return}var st=!0,mt=!1;(se.children||[]).filter(function(kt){return!be(kt.node)}).forEach(function(kt){var Qe=kt.key,ut=vt.has(Qe);st&&!ut&&(st=!1),!mt&&(ut||Je.has(Qe))&&(mt=!0)}),st||vt.delete(se.key),mt&&Je.add(se.key),We.add(se.key)}})}return{checkedKeys:Array.from(vt),halfCheckedKeys:Array.from(de(Je,vt))}}function Ae(Ve,Be,fe,Ge){var be=[],vt;Ge?vt=Ge:vt=rt;var Je=new Set(Ve.filter(function(ot){var Mt=!!(0,Ce.Z)(fe,ot);return Mt||be.push(ot),Mt})),tt=new Map,je=0;Object.keys(fe).forEach(function(ot){var Mt=fe[ot],Ut=Mt.level,se=tt.get(Ut);se||(se=new Set,tt.set(Ut,se)),se.add(Mt),je=Math.max(je,Ut)}),(0,b.ZP)(!be.length,"Tree missing follow keys: ".concat(be.slice(0,100).map(function(ot){return"'".concat(ot,"'")}).join(", ")));var We;return Be===!0?We=Oe(Je,tt,je,vt):We=xe(Je,Be.halfCheckedKeys,tt,je,vt),We}},65065:function(Yn,mn,z){"use strict";z.d(mn,{Z:function(){return b}});function b(Ce,de){return Ce[de]}},34061:function(Yn,mn,z){"use strict";z.d(mn,{F:function(){return Ut},H8:function(){return Mt},I8:function(){return ot},km:function(){return be},oH:function(){return je},w$:function(){return vt},zn:function(){return tt}});var b=z(43749),Ce=z(77654),de=z(85899),rt=z(42244),Oe=z(11592),xe=z(2738),Ae=z(48736),Ve=z(65065),Be=["children"];function fe(se,Me){return"".concat(se,"-").concat(Me)}function Ge(se){return se&&se.type&&se.type.isTreeNode}function be(se,Me){return se!=null?se:Me}function vt(se){var Me=se||{},st=Me.title,mt=Me._title,kt=Me.key,Qe=Me.children,ut=st||"title";return{title:ut,_title:mt||[ut],key:kt||"key",children:Qe||"children"}}function Je(se,Me){var st=new Map;function mt(kt){var Qe=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";(kt||[]).forEach(function(ut){var dt=ut[Me.key],Fe=ut[Me.children];warning(dt!=null,"Tree node must have a certain key: [".concat(Qe).concat(dt,"]"));var Ze=String(dt);warning(!st.has(Ze)||dt===null||dt===void 0,"Same 'key' exist in the Tree: ".concat(Ze)),st.set(Ze,!0),mt(Fe,"".concat(Qe).concat(Ze," > "))})}mt(se)}function tt(se){function Me(st){var mt=(0,Oe.Z)(st);return mt.map(function(kt){if(!Ge(kt))return(0,Ae.ZP)(!kt,"Tree/TreeNode can only accept TreeNode as children."),null;var Qe=kt.key,ut=kt.props,dt=ut.children,Fe=(0,rt.Z)(ut,Be),Ze=(0,de.Z)({key:Qe},Fe),Se=Me(dt);return Se.length&&(Ze.children=Se),Ze}).filter(function(kt){return kt})}return Me(se)}function je(se,Me,st){var mt=vt(st),kt=mt._title,Qe=mt.key,ut=mt.children,dt=new Set(Me===!0?[]:Me),Fe=[];function Ze(Se){var ue=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;return Se.map(function(gt,He){for(var ke=fe(ue?ue.pos:"0",He),Nt=be(gt[Qe],ke),De,ve=0;ve<kt.length;ve+=1){var At=kt[ve];if(gt[At]!==void 0){De=gt[At];break}}var Gt=Object.assign((0,xe.Z)(gt,[].concat((0,Ce.Z)(kt),[Qe,ut])),{title:De,key:Nt,parent:ue,pos:ke,children:null,data:gt,isStart:[].concat((0,Ce.Z)(ue?ue.isStart:[]),[He===0]),isEnd:[].concat((0,Ce.Z)(ue?ue.isEnd:[]),[He===Se.length-1])});return Fe.push(Gt),Me===!0||dt.has(Nt)?Gt.children=Ze(gt[ut]||[],Gt):Gt.children=[],Gt})}return Ze(se),Fe}function We(se,Me,st){var mt={};(0,b.Z)(st)==="object"?mt=st:mt={externalGetKey:st},mt=mt||{};var kt=mt,Qe=kt.childrenPropName,ut=kt.externalGetKey,dt=kt.fieldNames,Fe=vt(dt),Ze=Fe.key,Se=Fe.children,ue=Qe||Se,gt;ut?typeof ut=="string"?gt=function(Nt){return Nt[ut]}:typeof ut=="function"&&(gt=function(Nt){return ut(Nt)}):gt=function(Nt,De){return be(Nt[Ze],De)};function He(ke,Nt,De,ve){var At=ke?ke[ue]:se,Gt=ke?fe(De.pos,Nt):"0",Wt=ke?[].concat((0,Ce.Z)(ve),[ke]):[];if(ke){var pe=gt(ke,Gt),Re={node:ke,index:Nt,pos:Gt,key:pe,parentPos:De.node?De.pos:null,level:De.level+1,nodes:Wt};Me(Re)}At&&At.forEach(function(Ue,Jt){He(Ue,Jt,{node:ke,pos:Gt,level:De?De.level+1:-1},Wt)})}He(null)}function ot(se){var Me=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},st=Me.initWrapper,mt=Me.processEntity,kt=Me.onProcessFinished,Qe=Me.externalGetKey,ut=Me.childrenPropName,dt=Me.fieldNames,Fe=arguments.length>2?arguments[2]:void 0,Ze=Qe||Fe,Se={},ue={},gt={posEntities:Se,keyEntities:ue};return st&&(gt=st(gt)||gt),We(se,function(He){var ke=He.node,Nt=He.index,De=He.pos,ve=He.key,At=He.parentPos,Gt=He.level,Wt=He.nodes,pe={node:ke,nodes:Wt,index:Nt,key:ve,pos:De,level:Gt},Re=be(ve,De);Se[De]=pe,ue[Re]=pe,pe.parent=Se[At],pe.parent&&(pe.parent.children=pe.parent.children||[],pe.parent.children.push(pe)),mt&&mt(pe,gt)},{externalGetKey:Ze,childrenPropName:ut,fieldNames:dt}),kt&&kt(gt),gt}function Mt(se,Me){var st=Me.expandedKeys,mt=Me.selectedKeys,kt=Me.loadedKeys,Qe=Me.loadingKeys,ut=Me.checkedKeys,dt=Me.halfCheckedKeys,Fe=Me.dragOverNodeKey,Ze=Me.dropPosition,Se=Me.keyEntities,ue=(0,Ve.Z)(Se,se),gt={eventKey:se,expanded:st.indexOf(se)!==-1,selected:mt.indexOf(se)!==-1,loaded:kt.indexOf(se)!==-1,loading:Qe.indexOf(se)!==-1,checked:ut.indexOf(se)!==-1,halfChecked:dt.indexOf(se)!==-1,pos:String(ue?ue.pos:""),dragOver:Fe===se&&Ze===0,dragOverGapTop:Fe===se&&Ze===-1,dragOverGapBottom:Fe===se&&Ze===1};return gt}function Ut(se){var Me=se.data,st=se.expanded,mt=se.selected,kt=se.checked,Qe=se.loaded,ut=se.loading,dt=se.halfChecked,Fe=se.dragOver,Ze=se.dragOverGapTop,Se=se.dragOverGapBottom,ue=se.pos,gt=se.active,He=se.eventKey,ke=(0,de.Z)((0,de.Z)({},Me),{},{expanded:st,selected:mt,checked:kt,loaded:Qe,loading:ut,halfChecked:dt,dragOver:Fe,dragOverGapTop:Ze,dragOverGapBottom:Se,pos:ue,active:gt,key:He});return"props"in ke||Object.defineProperty(ke,"props",{get:function(){return(0,Ae.ZP)(!1,"Second param return from event is node data instead of TreeNode instance. Please read value directly instead of reading from `props`."),se}}),ke}},8224:function(Yn,mn,z){"use strict";z.d(mn,{Z:function(){return Ce}});var b=z(4676);function Ce(de,rt,Oe,xe){var Ae=b.unstable_batchedUpdates?function(Be){b.unstable_batchedUpdates(Oe,Be)}:Oe;return de!=null&&de.addEventListener&&de.addEventListener(rt,Ae,xe),{remove:function(){de!=null&&de.removeEventListener&&de.removeEventListener(rt,Ae,xe)}}}},24514:function(Yn,mn,z){"use strict";z.d(mn,{G:function(){return rt}});var b=z(47273),Ce=function(xe){if((0,b.Z)()&&window.document.documentElement){var Ae=Array.isArray(xe)?xe:[xe],Ve=window.document.documentElement;return Ae.some(function(Be){return Be in Ve.style})}return!1},de=function(xe,Ae){if(!Ce(xe))return!1;var Ve=document.createElement("div"),Be=Ve.style[xe];return Ve.style[xe]=Ae,Ve.style[xe]!==Be};function rt(Oe,xe){return!Array.isArray(Oe)&&xe!==void 0?de(Oe,xe):Ce(Oe)}},48911:function(Yn,mn,z){"use strict";z.d(mn,{Z:function(){return bt}});var b=z(60499),Ce=z(43749),de=z(85899),rt=z(18642),Oe=z(72190),xe=z(42244),Ae=z(92310),Ve=z.n(Ae),Be=z(29301),fe=z(70425),Ge=z(34280),be=z(59301),vt=z(4676),Je=be.forwardRef(function(le,ne){var te=le.height,ae=le.offsetY,he=le.offsetX,re=le.children,ce=le.prefixCls,Pe=le.onInnerResize,lt=le.innerProps,$e=le.rtl,Ie=le.extra,ht={},Et={display:"flex",flexDirection:"column"};return ae!==void 0&&(ht={height:te,position:"relative",overflow:"hidden"},Et=(0,de.Z)((0,de.Z)({},Et),{},(0,rt.Z)((0,rt.Z)((0,rt.Z)((0,rt.Z)((0,rt.Z)({transform:"translateY(".concat(ae,"px)")},$e?"marginRight":"marginLeft",-he),"position","absolute"),"left",0),"right",0),"top",0))),be.createElement("div",{style:ht},be.createElement(Be.Z,{onResize:function(Te){var Ke=Te.offsetHeight;Ke&&Pe&&Pe()}},be.createElement("div",(0,b.Z)({style:Et,className:Ve()((0,rt.Z)({},"".concat(ce,"-holder-inner"),ce)),ref:ne},lt),re,Ie)))});Je.displayName="Filler";var tt=Je;function je(le){var ne=le.children,te=le.setRef,ae=be.useCallback(function(he){te(he)},[]);return be.cloneElement(ne,{ref:ae})}function We(le,ne,te,ae,he,re,ce,Pe){var lt=Pe.getKey;return le.slice(ne,te+1).map(function($e,Ie){var ht=ne+Ie,Et=ce($e,ht,{style:{width:ae},offsetX:he}),Rt=lt($e);return be.createElement(je,{key:Rt,setRef:function(Ke){return re($e,Ke)}},Et)})}function ot(le,ne,te,ae){var he=te-le,re=ne-te,ce=Math.min(he,re)*2;if(ae<=ce){var Pe=Math.floor(ae/2);return ae%2?te+Pe+1:te-Pe}return he>re?te-(ae-re):te+(ae-he)}function Mt(le,ne,te){var ae=le.length,he=ne.length,re,ce;if(ae===0&&he===0)return null;ae<he?(re=le,ce=ne):(re=ne,ce=le);var Pe={__EMPTY_ITEM__:!0};function lt(Te){return Te!==void 0?te(Te):Pe}for(var $e=null,Ie=Math.abs(ae-he)!==1,ht=0;ht<ce.length;ht+=1){var Et=lt(re[ht]),Rt=lt(ce[ht]);if(Et!==Rt){$e=ht,Ie=Ie||Et!==lt(ce[ht+1]);break}}return $e===null?null:{index:$e,multiple:Ie}}function Ut(le,ne,te){var ae=be.useState(le),he=(0,Oe.Z)(ae,2),re=he[0],ce=he[1],Pe=be.useState(null),lt=(0,Oe.Z)(Pe,2),$e=lt[0],Ie=lt[1];return be.useEffect(function(){var ht=Mt(re||[],le||[],ne);(ht==null?void 0:ht.index)!==void 0&&(te==null||te(ht.index),Ie(le[ht.index])),ce(le)},[le]),[$e]}var se=z(16089),Me=(typeof navigator=="undefined"?"undefined":(0,Ce.Z)(navigator))==="object"&&/Firefox/i.test(navigator.userAgent),st=Me,mt=function(le,ne,te,ae){var he=(0,be.useRef)(!1),re=(0,be.useRef)(null);function ce(){clearTimeout(re.current),he.current=!0,re.current=setTimeout(function(){he.current=!1},50)}var Pe=(0,be.useRef)({top:le,bottom:ne,left:te,right:ae});return Pe.current.top=le,Pe.current.bottom=ne,Pe.current.left=te,Pe.current.right=ae,function(lt,$e){var Ie=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1,ht=lt?$e<0&&Pe.current.left||$e>0&&Pe.current.right:$e<0&&Pe.current.top||$e>0&&Pe.current.bottom;return Ie&&ht?(clearTimeout(re.current),he.current=!1):(!ht||he.current)&&ce(),!he.current&&ht}};function kt(le,ne,te,ae,he,re,ce){var Pe=(0,be.useRef)(0),lt=(0,be.useRef)(null),$e=(0,be.useRef)(null),Ie=(0,be.useRef)(!1),ht=mt(ne,te,ae,he);function Et(bn,fn){if(se.Z.cancel(lt.current),!ht(!1,fn)){var Xt=bn;if(!Xt._virtualHandled)Xt._virtualHandled=!0;else return;Pe.current+=fn,$e.current=fn,st||Xt.preventDefault(),lt.current=(0,se.Z)(function(){var on=Ie.current?10:1;ce(Pe.current*on,!1),Pe.current=0})}}function Rt(bn,fn){ce(fn,!0),st||bn.preventDefault()}var Te=(0,be.useRef)(null),Ke=(0,be.useRef)(null);function yn(bn){if(le){se.Z.cancel(Ke.current),Ke.current=(0,se.Z)(function(){Te.current=null},2);var fn=bn.deltaX,Xt=bn.deltaY,on=bn.shiftKey,gn=fn,ft=Xt;(Te.current==="sx"||!Te.current&&on&&Xt&&!fn)&&(gn=Xt,ft=0,Te.current="sx");var Yt=Math.abs(gn),xn=Math.abs(ft);Te.current===null&&(Te.current=re&&Yt>xn?"x":"y"),Te.current==="y"?Et(bn,ft):Rt(bn,gn)}}function Ht(bn){le&&(Ie.current=bn.detail===$e.current)}return[yn,Ht]}function Qe(le,ne,te,ae){var he=be.useMemo(function(){return[new Map,[]]},[le,te.id,ae]),re=(0,Oe.Z)(he,2),ce=re[0],Pe=re[1],lt=function(Ie){var ht=arguments.length>1&&arguments[1]!==void 0?arguments[1]:Ie,Et=ce.get(Ie),Rt=ce.get(ht);if(Et===void 0||Rt===void 0)for(var Te=le.length,Ke=Pe.length;Ke<Te;Ke+=1){var yn,Ht=le[Ke],bn=ne(Ht);ce.set(bn,Ke);var fn=(yn=te.get(bn))!==null&&yn!==void 0?yn:ae;if(Pe[Ke]=(Pe[Ke-1]||0)+fn,bn===Ie&&(Et=Ke),bn===ht&&(Rt=Ke),Et!==void 0&&Rt!==void 0)break}return{top:Pe[Et-1]||0,bottom:Pe[Rt]}};return lt}var ut=z(38705),dt=z(17212),Fe=function(){function le(){(0,ut.Z)(this,le),(0,rt.Z)(this,"maps",void 0),(0,rt.Z)(this,"id",0),(0,rt.Z)(this,"diffRecords",new Map),this.maps=Object.create(null)}return(0,dt.Z)(le,[{key:"set",value:function(te,ae){this.diffRecords.set(te,this.maps[te]),this.maps[te]=ae,this.id+=1}},{key:"get",value:function(te){return this.maps[te]}},{key:"resetRecord",value:function(){this.diffRecords.clear()}},{key:"getRecord",value:function(){return this.diffRecords}}]),le}(),Ze=Fe;function Se(le){var ne=parseFloat(le);return isNaN(ne)?0:ne}function ue(le,ne,te){var ae=be.useState(0),he=(0,Oe.Z)(ae,2),re=he[0],ce=he[1],Pe=(0,be.useRef)(new Map),lt=(0,be.useRef)(new Ze),$e=(0,be.useRef)(0);function Ie(){$e.current+=1}function ht(){var Rt=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1;Ie();var Te=function(){var Ht=!1;Pe.current.forEach(function(bn,fn){if(bn&&bn.offsetParent){var Xt=bn.offsetHeight,on=getComputedStyle(bn),gn=on.marginTop,ft=on.marginBottom,Yt=Se(gn),xn=Se(ft),St=Xt+Yt+xn;lt.current.get(fn)!==St&&(lt.current.set(fn,St),Ht=!0)}}),Ht&&ce(function(bn){return bn+1})};if(Rt)Te();else{$e.current+=1;var Ke=$e.current;Promise.resolve().then(function(){Ke===$e.current&&Te()})}}function Et(Rt,Te){var Ke=le(Rt),yn=Pe.current.get(Ke);Te?(Pe.current.set(Ke,Te),ht()):Pe.current.delete(Ke),!yn!=!Te&&(Te?ne==null||ne(Rt):te==null||te(Rt))}return(0,be.useEffect)(function(){return Ie},[]),[Et,ht,lt.current,re]}var gt=14/15;function He(le,ne,te){var ae=(0,be.useRef)(!1),he=(0,be.useRef)(0),re=(0,be.useRef)(0),ce=(0,be.useRef)(null),Pe=(0,be.useRef)(null),lt,$e=function(Rt){if(ae.current){var Te=Math.ceil(Rt.touches[0].pageX),Ke=Math.ceil(Rt.touches[0].pageY),yn=he.current-Te,Ht=re.current-Ke,bn=Math.abs(yn)>Math.abs(Ht);bn?he.current=Te:re.current=Ke;var fn=te(bn,bn?yn:Ht,!1,Rt);fn&&Rt.preventDefault(),clearInterval(Pe.current),fn&&(Pe.current=setInterval(function(){bn?yn*=gt:Ht*=gt;var Xt=Math.floor(bn?yn:Ht);(!te(bn,Xt,!0)||Math.abs(Xt)<=.1)&&clearInterval(Pe.current)},16))}},Ie=function(){ae.current=!1,lt()},ht=function(Rt){lt(),Rt.touches.length===1&&!ae.current&&(ae.current=!0,he.current=Math.ceil(Rt.touches[0].pageX),re.current=Math.ceil(Rt.touches[0].pageY),ce.current=Rt.target,ce.current.addEventListener("touchmove",$e,{passive:!1}),ce.current.addEventListener("touchend",Ie,{passive:!0}))};lt=function(){ce.current&&(ce.current.removeEventListener("touchmove",$e),ce.current.removeEventListener("touchend",Ie))},(0,Ge.Z)(function(){return le&&ne.current.addEventListener("touchstart",ht,{passive:!0}),function(){var Et;(Et=ne.current)===null||Et===void 0||Et.removeEventListener("touchstart",ht),lt(),clearInterval(Pe.current)}},[le])}function ke(le){return Math.floor(Math.pow(le,.5))}function Nt(le,ne){var te="touches"in le?le.touches[0]:le;return te[ne?"pageX":"pageY"]-window[ne?"scrollX":"scrollY"]}function De(le,ne,te){be.useEffect(function(){var ae=ne.current;if(le&&ae){var he=!1,re,ce,Pe=function(){se.Z.cancel(re)},lt=function Et(){Pe(),re=(0,se.Z)(function(){te(ce),Et()})},$e=function(){he=!1,Pe()},Ie=function(Rt){if(!(Rt.target.draggable||Rt.button!==0)){var Te=Rt;Te._virtualHandled||(Te._virtualHandled=!0,he=!0)}},ht=function(Rt){if(he){var Te=Nt(Rt,!1),Ke=ae.getBoundingClientRect(),yn=Ke.top,Ht=Ke.bottom;if(Te<=yn){var bn=yn-Te;ce=-ke(bn),lt()}else if(Te>=Ht){var fn=Te-Ht;ce=ke(fn),lt()}else Pe()}};return ae.addEventListener("mousedown",Ie),ae.ownerDocument.addEventListener("mouseup",$e),ae.ownerDocument.addEventListener("mousemove",ht),ae.ownerDocument.addEventListener("dragend",$e),function(){ae.removeEventListener("mousedown",Ie),ae.ownerDocument.removeEventListener("mouseup",$e),ae.ownerDocument.removeEventListener("mousemove",ht),ae.ownerDocument.removeEventListener("dragend",$e),Pe()}}},[le])}var ve=10;function At(le,ne,te,ae,he,re,ce,Pe){var lt=be.useRef(),$e=be.useState(null),Ie=(0,Oe.Z)($e,2),ht=Ie[0],Et=Ie[1];return(0,Ge.Z)(function(){if(ht&&ht.times<ve){if(!le.current){Et(function(Jn){return(0,de.Z)({},Jn)});return}re();var Rt=ht.targetAlign,Te=ht.originAlign,Ke=ht.index,yn=ht.offset,Ht=le.current.clientHeight,bn=!1,fn=Rt,Xt=null;if(Ht){for(var on=Rt||Te,gn=0,ft=0,Yt=0,xn=Math.min(ne.length-1,Ke),St=0;St<=xn;St+=1){var _e=he(ne[St]);ft=gn;var Vt=te.get(_e);Yt=ft+(Vt===void 0?ae:Vt),gn=Yt}for(var tn=on==="top"?yn:Ht-yn,un=xn;un>=0;un-=1){var Tn=he(ne[un]),qn=te.get(Tn);if(qn===void 0){bn=!0;break}if(tn-=qn,tn<=0)break}switch(on){case"top":Xt=ft-yn;break;case"bottom":Xt=Yt-Ht+yn;break;default:{var mr=le.current.scrollTop,vr=mr+Ht;ft<mr?fn="top":Yt>vr&&(fn="bottom")}}Xt!==null&&ce(Xt),Xt!==ht.lastTop&&(bn=!0)}bn&&Et((0,de.Z)((0,de.Z)({},ht),{},{times:ht.times+1,targetAlign:fn,lastTop:Xt}))}},[ht,le.current]),function(Rt){if(Rt==null){Pe();return}if(se.Z.cancel(lt.current),typeof Rt=="number")ce(Rt);else if(Rt&&(0,Ce.Z)(Rt)==="object"){var Te,Ke=Rt.align;"index"in Rt?Te=Rt.index:Te=ne.findIndex(function(bn){return he(bn)===Rt.key});var yn=Rt.offset,Ht=yn===void 0?0:yn;Et({times:0,index:Te,offset:Ht,originAlign:Ke})}}}var Gt=be.forwardRef(function(le,ne){var te=le.prefixCls,ae=le.rtl,he=le.scrollOffset,re=le.scrollRange,ce=le.onStartMove,Pe=le.onStopMove,lt=le.onScroll,$e=le.horizontal,Ie=le.spinSize,ht=le.containerSize,Et=le.style,Rt=le.thumbStyle,Te=le.showScrollBar,Ke=be.useState(!1),yn=(0,Oe.Z)(Ke,2),Ht=yn[0],bn=yn[1],fn=be.useState(null),Xt=(0,Oe.Z)(fn,2),on=Xt[0],gn=Xt[1],ft=be.useState(null),Yt=(0,Oe.Z)(ft,2),xn=Yt[0],St=Yt[1],_e=!ae,Vt=be.useRef(),tn=be.useRef(),un=be.useState(Te),Tn=(0,Oe.Z)(un,2),qn=Tn[0],mr=Tn[1],vr=be.useRef(),Jn=function(){Te===!0||Te===!1||(clearTimeout(vr.current),mr(!0),vr.current=setTimeout(function(){mr(!1)},3e3))},dr=re-ht||0,_t=ht-Ie||0,zt=be.useMemo(function(){if(he===0||dr===0)return 0;var cn=he/dr;return cn*_t},[he,dr,_t]),Sn=function(zn){zn.stopPropagation(),zn.preventDefault()},wn=be.useRef({top:zt,dragging:Ht,pageY:on,startTop:xn});wn.current={top:zt,dragging:Ht,pageY:on,startTop:xn};var vn=function(zn){bn(!0),gn(Nt(zn,$e)),St(wn.current.top),ce(),zn.stopPropagation(),zn.preventDefault()};be.useEffect(function(){var cn=function(_n){_n.preventDefault()},zn=Vt.current,Ln=tn.current;return zn.addEventListener("touchstart",cn,{passive:!1}),Ln.addEventListener("touchstart",vn,{passive:!1}),function(){zn.removeEventListener("touchstart",cn),Ln.removeEventListener("touchstart",vn)}},[]);var Rn=be.useRef();Rn.current=dr;var Bt=be.useRef();Bt.current=_t,be.useEffect(function(){if(Ht){var cn,zn=function(_n){var rn=wn.current,Fn=rn.dragging,nn=rn.pageY,er=rn.startTop;se.Z.cancel(cn);var It=Vt.current.getBoundingClientRect(),Qt=ht/($e?It.width:It.height);if(Fn){var ze=(Nt(_n,$e)-nn)*Qt,yt=er;!_e&&$e?yt-=ze:yt+=ze;var Ye=Rn.current,Ct=Bt.current,qt=Ct?yt/Ct:0,nr=Math.ceil(qt*Ye);nr=Math.max(nr,0),nr=Math.min(nr,Ye),cn=(0,se.Z)(function(){lt(nr,$e)})}},Ln=function(){bn(!1),Pe()};return window.addEventListener("mousemove",zn,{passive:!0}),window.addEventListener("touchmove",zn,{passive:!0}),window.addEventListener("mouseup",Ln,{passive:!0}),window.addEventListener("touchend",Ln,{passive:!0}),function(){window.removeEventListener("mousemove",zn),window.removeEventListener("touchmove",zn),window.removeEventListener("mouseup",Ln),window.removeEventListener("touchend",Ln),se.Z.cancel(cn)}}},[Ht]),be.useEffect(function(){return Jn(),function(){clearTimeout(vr.current)}},[he]),be.useImperativeHandle(ne,function(){return{delayHidden:Jn}});var ln="".concat(te,"-scrollbar"),Zt={position:"absolute",visibility:qn?null:"hidden"},pn={position:"absolute",borderRadius:99,background:"var(--rc-virtual-list-scrollbar-bg, rgba(0, 0, 0, 0.5))",cursor:"pointer",userSelect:"none"};return $e?(Object.assign(Zt,{height:8,left:0,right:0,bottom:0}),Object.assign(pn,(0,rt.Z)({height:"100%",width:Ie},_e?"left":"right",zt))):(Object.assign(Zt,(0,rt.Z)({width:8,top:0,bottom:0},_e?"right":"left",0)),Object.assign(pn,{width:"100%",height:Ie,top:zt})),be.createElement("div",{ref:Vt,className:Ve()(ln,(0,rt.Z)((0,rt.Z)((0,rt.Z)({},"".concat(ln,"-horizontal"),$e),"".concat(ln,"-vertical"),!$e),"".concat(ln,"-visible"),qn)),style:(0,de.Z)((0,de.Z)({},Zt),Et),onMouseDown:Sn,onMouseMove:Jn},be.createElement("div",{ref:tn,className:Ve()("".concat(ln,"-thumb"),(0,rt.Z)({},"".concat(ln,"-thumb-moving"),Ht)),style:(0,de.Z)((0,de.Z)({},pn),Rt),onMouseDown:vn}))}),Wt=Gt,pe=20;function Re(){var le=arguments.length>0&&arguments[0]!==void 0?arguments[0]:0,ne=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,te=le/ne*le;return isNaN(te)&&(te=0),te=Math.max(te,pe),Math.floor(te)}var Ue=["prefixCls","className","height","itemHeight","fullHeight","style","data","children","itemKey","virtual","direction","scrollWidth","component","onScroll","onVirtualScroll","onVisibleChange","innerProps","extraRender","styles","showScrollBar"],Jt=[],et={overflowY:"auto",overflowAnchor:"none"};function jt(le,ne){var te=le.prefixCls,ae=te===void 0?"rc-virtual-list":te,he=le.className,re=le.height,ce=le.itemHeight,Pe=le.fullHeight,lt=Pe===void 0?!0:Pe,$e=le.style,Ie=le.data,ht=le.children,Et=le.itemKey,Rt=le.virtual,Te=le.direction,Ke=le.scrollWidth,yn=le.component,Ht=yn===void 0?"div":yn,bn=le.onScroll,fn=le.onVirtualScroll,Xt=le.onVisibleChange,on=le.innerProps,gn=le.extraRender,ft=le.styles,Yt=le.showScrollBar,xn=Yt===void 0?"optional":Yt,St=(0,xe.Z)(le,Ue),_e=be.useCallback(function(Tt){return typeof Et=="function"?Et(Tt):Tt==null?void 0:Tt[Et]},[Et]),Vt=ue(_e,null,null),tn=(0,Oe.Z)(Vt,4),un=tn[0],Tn=tn[1],qn=tn[2],mr=tn[3],vr=!!(Rt!==!1&&re&&ce),Jn=be.useMemo(function(){return Object.values(qn.maps).reduce(function(Tt,it){return Tt+it},0)},[qn.id,qn.maps]),dr=vr&&Ie&&(Math.max(ce*Ie.length,Jn)>re||!!Ke),_t=Te==="rtl",zt=Ve()(ae,(0,rt.Z)({},"".concat(ae,"-rtl"),_t),he),Sn=Ie||Jt,wn=(0,be.useRef)(),vn=(0,be.useRef)(),Rn=(0,be.useRef)(),Bt=(0,be.useState)(0),ln=(0,Oe.Z)(Bt,2),Zt=ln[0],pn=ln[1],cn=(0,be.useState)(0),zn=(0,Oe.Z)(cn,2),Ln=zn[0],rr=zn[1],_n=(0,be.useState)(!1),rn=(0,Oe.Z)(_n,2),Fn=rn[0],nn=rn[1],er=function(){nn(!0)},It=function(){nn(!1)},Qt={getKey:_e};function ze(Tt){pn(function(it){var Ft;typeof Tt=="function"?Ft=Tt(it):Ft=Tt;var en=Jr(Ft);return wn.current.scrollTop=en,en})}var yt=(0,be.useRef)({start:0,end:Sn.length}),Ye=(0,be.useRef)(),Ct=Ut(Sn,_e),qt=(0,Oe.Z)(Ct,1),nr=qt[0];Ye.current=nr;var ar=be.useMemo(function(){if(!vr)return{scrollHeight:void 0,start:0,end:Sn.length-1,offset:void 0};if(!dr){var Tt;return{scrollHeight:((Tt=vn.current)===null||Tt===void 0?void 0:Tt.offsetHeight)||0,start:0,end:Sn.length-1,offset:void 0}}for(var it=0,Ft,en,On,Wn=Sn.length,Dn=0;Dn<Wn;Dn+=1){var jn=Sn[Dn],$n=_e(jn),Cr=qn.get($n),br=it+(Cr===void 0?ce:Cr);br>=Zt&&Ft===void 0&&(Ft=Dn,en=it),br>Zt+re&&On===void 0&&(On=Dn),it=br}return Ft===void 0&&(Ft=0,en=0,On=Math.ceil(re/ce)),On===void 0&&(On=Sn.length-1),On=Math.min(On+1,Sn.length-1),{scrollHeight:it,start:Ft,end:On,offset:en}},[dr,vr,Zt,Sn,mr,re]),pt=ar.scrollHeight,xt=ar.start,Pt=ar.end,Kt=ar.offset;yt.current.start=xt,yt.current.end=Pt,be.useLayoutEffect(function(){var Tt=qn.getRecord();if(Tt.size===1){var it=Array.from(Tt.keys())[0],Ft=Tt.get(it),en=Sn[xt];if(en&&Ft===void 0){var On=_e(en);if(On===it){var Wn=qn.get(it),Dn=Wn-ce;ze(function(jn){return jn+Dn})}}}qn.resetRecord()},[pt]);var In=be.useState({width:0,height:re}),Zn=(0,Oe.Z)(In,2),kn=Zn[0],Un=Zn[1],pr=function(it){Un({width:it.offsetWidth,height:it.offsetHeight})},Ar=(0,be.useRef)(),Vr=(0,be.useRef)(),Br=be.useMemo(function(){return Re(kn.width,Ke)},[kn.width,Ke]),fr=be.useMemo(function(){return Re(kn.height,pt)},[kn.height,pt]),Pr=pt-re,kr=(0,be.useRef)(Pr);kr.current=Pr;function Jr(Tt){var it=Tt;return Number.isNaN(kr.current)||(it=Math.min(it,kr.current)),it=Math.max(it,0),it}var Xr=Zt<=0,vo=Zt>=Pr,yr=Ln<=0,ur=Ln>=Ke,gr=mt(Xr,vo,yr,ur),no=function(){return{x:_t?-Ln:Ln,y:Zt}},Kr=(0,be.useRef)(no()),wr=(0,fe.zX)(function(Tt){if(fn){var it=(0,de.Z)((0,de.Z)({},no()),Tt);(Kr.current.x!==it.x||Kr.current.y!==it.y)&&(fn(it),Kr.current=it)}});function Rr(Tt,it){var Ft=Tt;it?((0,vt.flushSync)(function(){rr(Ft)}),wr()):ze(Ft)}function mo(Tt){var it=Tt.currentTarget.scrollTop;it!==Zt&&ze(it),bn==null||bn(Tt),wr()}var $r=function(it){var Ft=it,en=Ke?Ke-kn.width:0;return Ft=Math.max(Ft,0),Ft=Math.min(Ft,en),Ft},qr=(0,fe.zX)(function(Tt,it){it?((0,vt.flushSync)(function(){rr(function(Ft){var en=Ft+(_t?-Tt:Tt);return $r(en)})}),wr()):ze(function(Ft){var en=Ft+Tt;return en})}),eo=kt(vr,Xr,vo,yr,ur,!!Ke,qr),ko=(0,Oe.Z)(eo,2),_o=ko[0],qo=ko[1];He(vr,wn,function(Tt,it,Ft,en){var On=en;return gr(Tt,it,Ft)?!1:!On||!On._virtualHandled?(On&&(On._virtualHandled=!0),_o({preventDefault:function(){},deltaX:Tt?it:0,deltaY:Tt?0:it}),!0):!1}),De(dr,wn,function(Tt){ze(function(it){return it+Tt})}),(0,Ge.Z)(function(){function Tt(Ft){var en=Xr&&Ft.detail<0,On=vo&&Ft.detail>0;vr&&!en&&!On&&Ft.preventDefault()}var it=wn.current;return it.addEventListener("wheel",_o,{passive:!1}),it.addEventListener("DOMMouseScroll",qo,{passive:!0}),it.addEventListener("MozMousePixelScroll",Tt,{passive:!1}),function(){it.removeEventListener("wheel",_o),it.removeEventListener("DOMMouseScroll",qo),it.removeEventListener("MozMousePixelScroll",Tt)}},[vr,Xr,vo]),(0,Ge.Z)(function(){if(Ke){var Tt=$r(Ln);rr(Tt),wr({x:Tt})}},[kn.width,Ke]);var Lo=function(){var it,Ft;(it=Ar.current)===null||it===void 0||it.delayHidden(),(Ft=Vr.current)===null||Ft===void 0||Ft.delayHidden()},ii=At(wn,Sn,qn,ce,_e,function(){return Tn(!0)},ze,Lo);be.useImperativeHandle(ne,function(){return{nativeElement:Rn.current,getScrollInfo:no,scrollTo:function(it){function Ft(en){return en&&(0,Ce.Z)(en)==="object"&&("left"in en||"top"in en)}Ft(it)?(it.left!==void 0&&rr($r(it.left)),ii(it.top)):ii(it)}}}),(0,Ge.Z)(function(){if(Xt){var Tt=Sn.slice(xt,Pt+1);Xt(Tt,Sn)}},[xt,Pt,Sn]);var Le=Qe(Sn,_e,qn,ce),nt=gn==null?void 0:gn({start:xt,end:Pt,virtual:dr,offsetX:Ln,offsetY:Kt,rtl:_t,getSize:Le}),Ot=We(Sn,xt,Pt,Ke,Ln,un,ht,Qt),sn=null;re&&(sn=(0,de.Z)((0,rt.Z)({},lt?"height":"maxHeight",re),et),vr&&(sn.overflowY="hidden",Ke&&(sn.overflowX="hidden"),Fn&&(sn.pointerEvents="none")));var hn={};return _t&&(hn.dir="rtl"),be.createElement("div",(0,b.Z)({ref:Rn,style:(0,de.Z)((0,de.Z)({},$e),{},{position:"relative"}),className:zt},hn,St),be.createElement(Be.Z,{onResize:pr},be.createElement(Ht,{className:"".concat(ae,"-holder"),style:sn,ref:wn,onScroll:mo,onMouseEnter:Lo},be.createElement(tt,{prefixCls:ae,height:pt,offsetX:Ln,offsetY:Kt,scrollWidth:Ke,onInnerResize:Tn,ref:vn,innerProps:on,rtl:_t,extra:nt},Ot))),dr&&pt>re&&be.createElement(Wt,{ref:Ar,prefixCls:ae,scrollOffset:Zt,scrollRange:pt,rtl:_t,onScroll:Rr,onStartMove:er,onStopMove:It,spinSize:fr,containerSize:kn.height,style:ft==null?void 0:ft.verticalScrollBar,thumbStyle:ft==null?void 0:ft.verticalScrollBarThumb,showScrollBar:xn}),dr&&Ke>kn.width&&be.createElement(Wt,{ref:Vr,prefixCls:ae,scrollOffset:Ln,scrollRange:Ke,rtl:_t,onScroll:Rr,onStartMove:er,onStopMove:It,spinSize:Br,containerSize:kn.width,horizontal:!0,style:ft==null?void 0:ft.horizontalScrollBar,thumbStyle:ft==null?void 0:ft.horizontalScrollBarThumb,showScrollBar:xn}))}var ct=be.forwardRef(jt);ct.displayName="List";var dn=ct,bt=dn},25510:function(Yn){"use strict";Yn.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAiwAAAIsCAYAAADRd/LpAAAgAElEQVR4Xuyda5BtVXXvV3efc+CAYBQRjaJBeWjiVVKVB0mMUV6GKv0cvVVG/XTrViUlSd0bqUoQg4KapKJW8j3mWinNx1SRSgkciKARYiqi1ycvFZSggHgFDofz6L71m3v/9xk9eq695ty91t67u8eimu6z91zzMcaYY/znGGPOudLEExQIC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wbFYENiGO2nRybbKaqvaMccdazded4Mdeeih9tijj4Wg2lN/9rOwK2jG7XfY1b//vX3xC1+28YtOsF+feaZtseWWNmvOHLvplpsDYGG30Lrrrms//elPQ06Na66+OgCWww873LbeZhs76Yc/tD/84UY78cQT7cKLLrL37/FB+++v7G9rrLGmjSADLwnm5r7WlzyMlLbs+QnpS14P7bn5pltt749+xJZdehk78sgjbOONN7IllphiL738ou237352+SWX29hRY+17J37fVnjrCvbxT37C/vDHP9riUxcPcSwrLLO8vfDC32zGXXfZx/b+t5Cw8dvHn2Brr72O3XvfvfbZfT9jq6y+in1or73sA8ThjFvEDjn8SDvzF7+2xSZOtgM//2V7/7+83/508y32fz/8vp38s1Ns1PhF7Mprr7ZVlls+ZLcdM2qMjRnLoZEcc9C3zbtvbxCRyH1gZX4aluISKjEsbUvDAljySVcASwEs+VzTgScKYGkGLH0JZV+3q6+6yn7323PtW0cfbWuvsaZt+45t+/JdjCThGnlMRtioMWNssSmL2ft2+4Cdecav7bhvHWcv/O1vtsvOO9uJP/iBjRk5xh595CG76Y832gfe///sLYsvZr88/XTbfMstQv6Tm2+91fbYfY/g/thg/fUDYFl08mS7WoDl8CNtm222thN/eJLdfPNNAbj87ne/tX9833vtawd9LcTUAFiwrMx9ffb8RGucJzSq75yiESPt7rtn2JVXXm2f/cxnbf31N7Djjv2WTZ++QThO4PUR8+yggw6ys848y5576nk79LDDbM01VrPPf+m/QgDt6musbuedf74tOXVJe+WVl+0v9/3F9tjjQ/bIww/bN446Ouyauv322+yrB+5vSy+7tG2+xWb2trdvYiNHj7RzLrzYbrjyGpsy+S22z3982j7x8U/aH2/6g/3gRyfZz375c3vLkovbTTfdbMtNmdJ3oGJIudJ34GII8OGMGfH8/DOaOCuJq1hYioWlXXFYAEs+5QpgKYAln2s68EQBLM2AhWX9vLlz7bprr7XzzzvPjv7GUbb9dtvbFz//haDAcVPMsXk2dvy4cA4QwGPqUkvZ9/7ve/a9737PXnv1VfvAbrvZccceGzLG/u3F5+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MJSTVNaECNgBIyAETAC9SJgwlJv21oyI2AEjIARMALVIGDCUk1TWhAjYASMgBEwAvUiYMJSb9taMiNgBIyAETAC1SBgwlJNU1oQI2AEjIARMAL1ImDCUm/bWjIjYASMgBEwAtUgYMJSTVNaECNgBIyAETAC9SLQSFjqFdmSGQEjYASMgBEwAqsVge1b1x12GCr/8p6D/12tQrjeRsAIGAEjYASMQN0ITAhL3WJaOiNgBIyAETACRmC1I/C/+Ryxj68oilIAAAAASUVORK5CYII="},4977:function(Yn){"use strict";Yn.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAMwAAACaCAYAAADl9acYAAAAAXNSR0IArs4c6QAAIABJREFUeF7tXQd4U1Ubfs/NaJtO9kzLahFQEJkiUBBFUFFkCCjiAAVFERT5FREQQQXBBcpysWRP2RtkKRsEOphNodCZdDfjnv85CU2TZt2bhABNDw9PmtzvrO+c957xLQIP0pkz1yrQIEmwwcDzHhTj91klEo7jpcG5zetWUJdmRjmPvTM9GI9JgSGvadOoLE9KJJ5kPp2YXLtZdO1kT8ooz2vigCNelvPYezPEG7z0CDAn4pJqPvJA5A3vdcl/S3LEy3Iee29OeIOX5YDx3nh4VFI5YDxin6DM5YARxKb7g6gcMHd+nMoBc+d57LKGhCQ1ZURBCoVL2nKCO8sBZWW50x1TOWDuLP8FlV4OGEFs8glROWB8wmbPKikHjGf882bucsB4k5t3qKxywNwhxrpRbJkGTOx0ehlA3d9e5VEtzA3ulGe55zmg1QOfrCVo34BgQGvr5rLDRl4RRZG+5NjBESBc4FHw1LlrCAuPsCo0JjKi7J5hYqfTXADBq4byCJLf82Nf3kA3OfD9LgKdgeCzZ4CUTJ1VKQFyKQgpmeMSjiKvQC+oplspN/wOMDcBVFv0Bo+KwYJ4VE50H3Jg7j6CWzkEX74A3MrSgTfeKZpSaBCHcAVn/JunBHlFPDR5BkG9LMjPt7mZLOtbskQADea9wqOW9coqiGHlRPcHBxYcJriQQvB9P+v2cqCwWFxgoOJk6JeTNX4Hm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boWFf9jGwKSAjgDMwUkuBXIIkA3QbBBOw4GoeVANoVATjmYBXJaB0syWrR79SSaX33rhuef7zpr2P/u+ad3pjBfz3BXAUEq5lCzUNhj0dQmhUQBRArQWBalBCGoAtBqlqAZAuM9QLzKlvCjgzaHDceCgydslc+Eqk8nNoSiYIRn7r9PpUCEiAn/vMxvAepN1BYTgFkBuUYoUApoCEBYcWEUpuSaRSK/UqIBkQghbZX2W7jhgKKWylCx9WwOPdoTQhylIE0IRbemzzGe9La+oTHGA+aWjBIkE9Byl5JSEw6EaFaRHCCFs+3lH0h0FTHK6bjIFhoNtm8pTOQd8wgGiJsBPtSvLrAIPe6vqOw8YguGg5YDx1oCVl+OCA4SoCb1PAcO6Zt6SAe0IpQ9TigcBRANwHhSxfGaUc8A1B1g4s0RC8B8l5JQE9/mWzFF/iw/9hOjrGkCiYKDmQz9AaxKCqpSSagAtP/S7njRllIIUEELZgT+VgqZwIDeMh34JUUlAr1FaRg/9noxm8bUy1esq6+1cK5vORiS8/FrZEy7fmbzOrpUBqgGImhCoCUqulaU8zSBSWbpEh/SqVYmVz+0700rxpd7RM4z45ng3hz3BJSREoadQSDkSZKBQgPIKUAeCS8IHMiElE16aBZeAnICTWQouCYHUJMQ0Ci9vCy6JlIJKOJOAkqNMcGkrwCTMFJdYCCwtBZilBZbsO5NWwiQPoaUFlsQouGQSS8oTkzCzRHAJGIWVtLTgEryOAtpiwSUTWjJhJqi14JKnKCKEFoKgEITLlxDk63laICXIh4Hme0Nw6d3RvzOl/R8AdGoXzom1qQAAAABJRU5ErkJggg=="},72054:function(Yn,mn,z){"use strict";z.d(mn,{Z:function(){return Ce}});var b=z(68688);function Ce(de,rt){var Oe=typeof Symbol!="undefined"&&de[Symbol.iterator]||de["@@iterator"];if(!Oe){if(Array.isArray(de)||(Oe=(0,b.Z)(de))||rt&&de&&typeof de.length=="number"){Oe&&(de=Oe);var xe=0,Ae=function(){};return{s:Ae,n:function(){return xe>=de.length?{done:!0}:{done:!1,value:de[xe++]}},e:function(be){throw be},f:Ae}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
|
|
|
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var Ve,Be=!0,fe=!1;return{s:function(){Oe=Oe.call(de)},n:function(){var be=Oe.next();return Be=be.done,be},e:function(be){fe=!0,Ve=be},f:function(){try{Be||Oe.return==null||Oe.return()}finally{if(fe)throw Ve}}}}},16722:function(Yn,mn,z){"use strict";z.d(mn,{Z:function(){return Ve}});const b=Be=>typeof Be=="object"&&Be!=null&&Be.nodeType===1,Ce=(Be,fe)=>(!fe||Be!=="hidden")&&Be!=="visible"&&Be!=="clip",de=(Be,fe)=>{if(Be.clientHeight<Be.scrollHeight||Be.clientWidth<Be.scrollWidth){const Ge=getComputedStyle(Be,null);return Ce(Ge.overflowY,fe)||Ce(Ge.overflowX,fe)||(be=>{const vt=(Je=>{if(!Je.ownerDocument||!Je.ownerDocument.defaultView)return null;try{return Je.ownerDocument.defaultView.frameElement}catch(tt){return null}})(be);return!!vt&&(vt.clientHeight<be.scrollHeight||vt.clientWidth<be.scrollWidth)})(Be)}return!1},rt=(Be,fe,Ge,be,vt,Je,tt,je)=>Je<Be&&tt>fe||Je>Be&&tt<fe?0:Je<=Be&&je<=Ge||tt>=fe&&je>=Ge?Je-Be-be:tt>fe&&je<Ge||Je<Be&&je>Ge?tt-fe+vt:0,Oe=Be=>{const fe=Be.parentElement;return fe==null?Be.getRootNode().host||null:fe},xe=(Be,fe)=>{var Ge,be,vt,Je;if(typeof document=="undefined")return[];const{scrollMode:tt,block:je,inline:We,boundary:ot,skipOverflowHiddenElements:Mt}=fe,Ut=typeof ot=="function"?ot:Wt=>Wt!==ot;if(!b(Be))throw new TypeError("Invalid target");const se=document.scrollingElement||document.documentElement,Me=[];let st=Be;for(;b(st)&&Ut(st);){if(st=Oe(st),st===se){Me.push(st);break}st!=null&&st===document.body&&de(st)&&!de(document.documentElement)||st!=null&&de(st,Mt)&&Me.push(st)}const mt=(be=(Ge=window.visualViewport)==null?void 0:Ge.width)!=null?be:innerWidth,kt=(Je=(vt=window.visualViewport)==null?void 0:vt.height)!=null?Je:innerHeight,{scrollX:Qe,scrollY:ut}=window,{height:dt,width:Fe,top:Ze,right:Se,bottom:ue,left:gt}=Be.getBoundingClientRect(),{top:He,right:ke,bottom:Nt,left:De}=(Wt=>{const pe=window.getComputedStyle(Wt);return{top:parseFloat(pe.scrollMarginTop)||0,right:parseFloat(pe.scrollMarginRight)||0,bottom:parseFloat(pe.scrollMarginBottom)||0,left:parseFloat(pe.scrollMarginLeft)||0}})(Be);let ve=je==="start"||je==="nearest"?Ze-He:je==="end"?ue+Nt:Ze+dt/2-He+Nt,At=We==="center"?gt+Fe/2-De+ke:We==="end"?Se+ke:gt-De;const Gt=[];for(let Wt=0;Wt<Me.length;Wt++){const pe=Me[Wt],{height:Re,width:Ue,top:Jt,right:et,bottom:jt,left:ct}=pe.getBoundingClientRect();if(tt==="if-needed"&&Ze>=0&>>=0&&ue<=kt&&Se<=mt&&(pe===se&&!de(pe)||Ze>=Jt&&ue<=jt&>>=ct&&Se<=et))return Gt;const dn=getComputedStyle(pe),bt=parseInt(dn.borderLeftWidth,10),le=parseInt(dn.borderTopWidth,10),ne=parseInt(dn.borderRightWidth,10),te=parseInt(dn.borderBottomWidth,10);let ae=0,he=0;const re="offsetWidth"in pe?pe.offsetWidth-pe.clientWidth-bt-ne:0,ce="offsetHeight"in pe?pe.offsetHeight-pe.clientHeight-le-te:0,Pe="offsetWidth"in pe?pe.offsetWidth===0?0:Ue/pe.offsetWidth:0,lt="offsetHeight"in pe?pe.offsetHeight===0?0:Re/pe.offsetHeight:0;if(se===pe)ae=je==="start"?ve:je==="end"?ve-kt:je==="nearest"?rt(ut,ut+kt,kt,le,te,ut+ve,ut+ve+dt,dt):ve-kt/2,he=We==="start"?At:We==="center"?At-mt/2:We==="end"?At-mt:rt(Qe,Qe+mt,mt,bt,ne,Qe+At,Qe+At+Fe,Fe),ae=Math.max(0,ae+ut),he=Math.max(0,he+Qe);else{ae=je==="start"?ve-Jt-le:je==="end"?ve-jt+te+ce:je==="nearest"?rt(Jt,jt,Re,le,te+ce,ve,ve+dt,dt):ve-(Jt+Re/2)+ce/2,he=We==="start"?At-ct-bt:We==="center"?At-(ct+Ue/2)+re/2:We==="end"?At-et+ne+re:rt(ct,et,Ue,bt,ne+re,At,At+Fe,Fe);const{scrollLeft:$e,scrollTop:Ie}=pe;ae=lt===0?0:Math.max(0,Math.min(Ie+ae/lt,pe.scrollHeight-Re/lt+ce)),he=Pe===0?0:Math.max(0,Math.min($e+he/Pe,pe.scrollWidth-Ue/Pe+re)),ve+=Ie-ae,At+=$e-he}Gt.push({el:pe,top:ae,left:he})}return Gt},Ae=Be=>Be===!1?{block:"end",inline:"nearest"}:(fe=>fe===Object(fe)&&Object.keys(fe).length!==0)(Be)?Be:{block:"start",inline:"nearest"};function Ve(Be,fe){if(!Be.isConnected||!(vt=>{let Je=vt;for(;Je&&Je.parentNode;){if(Je.parentNode===document)return!0;Je=Je.parentNode instanceof ShadowRoot?Je.parentNode.host:Je.parentNode}return!1})(Be))return;const Ge=(vt=>{const Je=window.getComputedStyle(vt);return{top:parseFloat(Je.scrollMarginTop)||0,right:parseFloat(Je.scrollMarginRight)||0,bottom:parseFloat(Je.scrollMarginBottom)||0,left:parseFloat(Je.scrollMarginLeft)||0}})(Be);if((vt=>typeof vt=="object"&&typeof vt.behavior=="function")(fe))return fe.behavior(xe(Be,fe));const be=typeof fe=="boolean"||fe==null?void 0:fe.behavior;for(const{el:vt,top:Je,left:tt}of xe(Be,Ae(fe))){const je=Je-Ge.top+Ge.bottom,We=tt-Ge.left+Ge.right;vt.scroll({top:je,left:We,behavior:be})}}}}]);
|
|
|
}()); |