You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
NewEduCoderBuild/p__Classrooms__Lists__Exerc...

1307 lines
1.6 MiB

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

!(function(){var ac=Object.defineProperty,lc=Object.defineProperties;var sc=Object.getOwnPropertyDescriptors;var xu=Object.getOwnPropertySymbols;var Uu=Object.prototype.hasOwnProperty,Yu=Object.prototype.propertyIsEnumerable;var Vu=(dn,yt,E)=>yt in dn?ac(dn,yt,{enumerable:!0,configurable:!0,writable:!0,value:E}):dn[yt]=E,Es=(dn,yt)=>{for(var E in yt||(yt={}))Uu.call(yt,E)&&Vu(dn,E,yt[E]);if(xu)for(var E of xu(yt))Yu.call(yt,E)&&Vu(dn,E,yt[E]);return dn},Tu=(dn,yt)=>lc(dn,sc(yt));var Gu=(dn,yt)=>{var E={};for(var y in dn)Uu.call(dn,y)&&yt.indexOf(y)<0&&(E[y]=dn[y]);if(dn!=null&&xu)for(var y of xu(dn))yt.indexOf(y)<0&&Yu.call(dn,y)&&(E[y]=dn[y]);return E};(self.webpackChunk=self.webpackChunk||[]).push([[5825],{89489:function(dn,yt,E){"use strict";E.d(yt,{Z:function(){return ze}});var y=E(54476),xe=E(59301),he={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M840.4 300H183.6c-19.7 0-30.7 20.8-18.5 35l328.4 380.8c9.4 10.9 27.5 10.9 37 0L858.9 335c12.2-14.2 1.2-35-18.5-35z"}}]},name:"caret-down",theme:"outlined"},je=he,be=E(7657),De=function(se,Ye){return xe.createElement(be.Z,(0,y.Z)({},se,{ref:Ye,icon:je}))},ye=xe.forwardRef(De),ze=ye},59477:function(dn,yt,E){"use strict";E.d(yt,{Z:function(){return ze}});var y=E(54476),xe=E(59301),he={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M858.9 689L530.5 308.2c-9.4-10.9-27.5-10.9-37 0L165.1 689c-12.2 14.2-1.2 35 18.5 35h656.8c19.7 0 30.7-20.8 18.5-35z"}}]},name:"caret-up",theme:"outlined"},je=he,be=E(7657),De=function(se,Ye){return xe.createElement(be.Z,(0,y.Z)({},se,{ref:Ye,icon:je}))},ye=xe.forwardRef(De),ze=ye},40001:function(dn,yt,E){"use strict";E.d(yt,{Z:function(){return ze}});var y=E(54476),xe=E(59301),he={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"},je=he,be=E(7657),De=function(se,Ye){return xe.createElement(be.Z,(0,y.Z)({},se,{ref:Ye,icon:je}))},ye=xe.forwardRef(De),ze=ye},26227:function(dn,yt,E){"use strict";E.d(yt,{Z:function(){return ze}});var y=E(54476),xe=E(59301),he={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M360 184h-8c4.4 0 8-3.6 8-8v8h304v-8c0 4.4 3.6 8 8 8h-8v72h72v-80c0-35.3-28.7-64-64-64H352c-35.3 0-64 28.7-64 64v80h72v-72zm504 72H160c-17.7 0-32 14.3-32 32v32c0 4.4 3.6 8 8 8h60.4l24.7 523c1.6 34.1 29.8 61 63.9 61h454c34.2 0 62.3-26.8 63.9-61l24.7-523H888c4.4 0 8-3.6 8-8v-32c0-17.7-14.3-32-32-32zM731.3 840H292.7l-24.2-512h487l-24.2 512z"}}]},name:"delete",theme:"outlined"},je=he,be=E(7657),De=function(se,Ye){return xe.createElement(be.Z,(0,y.Z)({},se,{ref:Ye,icon:je}))},ye=xe.forwardRef(De),ze=ye},49198:function(dn,yt,E){"use strict";E.d(yt,{Z:function(){return ze}});var y=E(54476),xe=E(59301),he={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M533.2 492.3L277.9 166.1c-3-3.9-7.7-6.1-12.6-6.1H188c-6.7 0-10.4 7.7-6.3 12.9L447.1 512 181.7 851.1A7.98 7.98 0 00188 864h77.3c4.9 0 9.6-2.3 12.6-6.1l255.3-326.1c9.1-11.7 9.1-27.9 0-39.5zm304 0L581.9 166.1c-3-3.9-7.7-6.1-12.6-6.1H492c-6.7 0-10.4 7.7-6.3 12.9L751.1 512 485.7 851.1A7.98 7.98 0 00492 864h77.3c4.9 0 9.6-2.3 12.6-6.1l255.3-326.1c9.1-11.7 9.1-27.9 0-39.5z"}}]},name:"double-right",theme:"outlined"},je=he,be=E(7657),De=function(se,Ye){return xe.createElement(be.Z,(0,y.Z)({},se,{ref:Ye,icon:je}))},ye=xe.forwardRef(De),ze=ye},41464:function(dn,yt,E){"use strict";E.d(yt,{Z:function(){return ze}});var y=E(54476),xe=E(59301),he={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M505.7 661a8 8 0 0012.6 0l112-141.7c4.1-5.2.4-12.9-6.3-12.9h-74.1V168c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v338.3H400c-6.7 0-10.4 7.7-6.3 12.9l112 141.8zM878 626h-60c-4.4 0-8 3.6-8 8v154H214V634c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v198c0 17.7 14.3 32 32 32h684c17.7 0 32-14.3 32-32V634c0-4.4-3.6-8-8-8z"}}]},name:"download",theme:"outlined"},je=he,be=E(7657),De=function(se,Ye){return xe.createElement(be.Z,(0,y.Z)({},se,{ref:Ye,icon:je}))},ye=xe.forwardRef(De),ze=ye},87169:function(dn,yt,E){"use strict";E.d(yt,{Z:function(){return ze}});var y=E(54476),xe=E(59301),he={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z"}},{tag:"path",attrs:{d:"M464 688a48 48 0 1096 0 48 48 0 10-96 0zm24-112h48c4.4 0 8-3.6 8-8V296c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v272c0 4.4 3.6 8 8 8z"}}]},name:"exclamation-circle",theme:"outlined"},je=he,be=E(7657),De=function(se,Ye){return xe.createElement(be.Z,(0,y.Z)({},se,{ref:Ye,icon:je}))},ye=xe.forwardRef(De),ze=ye},73331:function(dn,yt,E){"use strict";E.d(yt,{Z:function(){return ze}});var y=E(54476),xe=E(59301),he={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"},je=he,be=E(7657),De=function(se,Ye){return xe.createElement(be.Z,(0,y.Z)({},se,{ref:Ye,icon:je}))},ye=xe.forwardRef(De),ze=ye},15277:function(dn,yt,E){"use strict";E.d(yt,{Z:function(){return ze}});var y=E(54476),xe=E(59301),he={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"},je=he,be=E(7657),De=function(se,Ye){return xe.createElement(be.Z,(0,y.Z)({},se,{ref:Ye,icon:je}))},ye=xe.forwardRef(De),ze=ye},52671:function(dn,yt,E){"use strict";E.d(yt,{Z:function(){return ze}});var y=E(54476),xe=E(59301),he={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M854.6 288.6L639.4 73.4c-6-6-14.1-9.4-22.6-9.4H192c-17.7 0-32 14.3-32 32v832c0 17.7 14.3 32 32 32h640c17.7 0 32-14.3 32-32V311.3c0-8.5-3.4-16.7-9.4-22.7zM790.2 326H602V137.8L790.2 326zm1.8 562H232V136h302v216a42 42 0 0042 42h216v494z"}}]},name:"file",theme:"outlined"},je=he,be=E(7657),De=function(se,Ye){return xe.createElement(be.Z,(0,y.Z)({},se,{ref:Ye,icon:je}))},ye=xe.forwardRef(De),ze=ye},8657:function(dn,yt,E){"use strict";E.d(yt,{Z:function(){return ze}});var y=E(54476),xe=E(59301),he={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M928 444H820V330.4c0-17.7-14.3-32-32-32H473L355.7 186.2a8.15 8.15 0 00-5.5-2.2H96c-17.7 0-32 14.3-32 32v592c0 17.7 14.3 32 32 32h698c13 0 24.8-7.9 29.7-20l134-332c1.5-3.8 2.3-7.9 2.3-12 0-17.7-14.3-32-32-32zM136 256h188.5l119.6 114.4H748V444H238c-13 0-24.8 7.9-29.7 20L136 643.2V256zm635.3 512H159l103.3-256h612.4L771.3 768z"}}]},name:"folder-open",theme:"outlined"},je=he,be=E(7657),De=function(se,Ye){return xe.createElement(be.Z,(0,y.Z)({},se,{ref:Ye,icon:je}))},ye=xe.forwardRef(De),ze=ye},56082:function(dn,yt,E){"use strict";E.d(yt,{Z:function(){return ze}});var y=E(54476),xe=E(59301),he={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M300 276.5a56 56 0 1056-97 56 56 0 00-56 97zm0 284a56 56 0 1056-97 56 56 0 00-56 97zM640 228a56 56 0 10112 0 56 56 0 00-112 0zm0 284a56 56 0 10112 0 56 56 0 00-112 0zM300 844.5a56 56 0 1056-97 56 56 0 00-56 97zM640 796a56 56 0 10112 0 56 56 0 00-112 0z"}}]},name:"holder",theme:"outlined"},je=he,be=E(7657),De=function(se,Ye){return xe.createElement(be.Z,(0,y.Z)({},se,{ref:Ye,icon:je}))},ye=xe.forwardRef(De),ze=ye},33853:function(dn,yt,E){"use strict";E.d(yt,{Z:function(){return ze}});var y=E(54476),xe=E(59301),he={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M724 218.3V141c0-6.7-7.7-10.4-12.9-6.3L260.3 486.8a31.86 31.86 0 000 50.3l450.8 352.1c5.3 4.1 12.9.4 12.9-6.3v-77.3c0-4.9-2.3-9.6-6.1-12.6l-360-281 360-281.1c3.8-3 6.1-7.7 6.1-12.6z"}}]},name:"left",theme:"outlined"},je=he,be=E(7657),De=function(se,Ye){return xe.createElement(be.Z,(0,y.Z)({},se,{ref:Ye,icon:je}))},ye=xe.forwardRef(De),ze=ye},15075:function(dn,yt,E){"use strict";E.d(yt,{Z:function(){return ze}});var y=E(54476),xe=E(59301),he={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M328 544h368c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8H328c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8z"}},{tag:"path",attrs:{d:"M880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zm-40 728H184V184h656v656z"}}]},name:"minus-square",theme:"outlined"},je=he,be=E(7657),De=function(se,Ye){return xe.createElement(be.Z,(0,y.Z)({},se,{ref:Ye,icon:je}))},ye=xe.forwardRef(De),ze=ye},43531:function(dn,yt,E){"use strict";E.d(yt,{Z:function(){return ze}});var y=E(54476),xe=E(59301),he={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M328 544h152v152c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V544h152c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8H544V328c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v152H328c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8z"}},{tag:"path",attrs:{d:"M880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zm-40 728H184V184h656v656z"}}]},name:"plus-square",theme:"outlined"},je=he,be=E(7657),De=function(se,Ye){return xe.createElement(be.Z,(0,y.Z)({},se,{ref:Ye,icon:je}))},ye=xe.forwardRef(De),ze=ye},61485:function(dn,yt,E){"use strict";E.d(yt,{Z:function(){return ze}});var y=E(54476),xe=E(59301),he={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z"}},{tag:"path",attrs:{d:"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"},je=he,be=E(7657),De=function(se,Ye){return xe.createElement(be.Z,(0,y.Z)({},se,{ref:Ye,icon:je}))},ye=xe.forwardRef(De),ze=ye},47472:function(dn,yt,E){"use strict";E.d(yt,{Z:function(){return ze}});var y=E(54476),xe=E(59301),he={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"},je=he,be=E(7657),De=function(se,Ye){return xe.createElement(be.Z,(0,y.Z)({},se,{ref:Ye,icon:je}))},ye=xe.forwardRef(De),ze=ye},87395:function(dn,yt,E){"use strict";E.d(yt,{Z:function(){return ze}});var y=E(54476),xe=E(59301),he={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"},je=he,be=E(7657),De=function(se,Ye){return xe.createElement(be.Z,(0,y.Z)({},se,{ref:Ye,icon:je}))},ye=xe.forwardRef(De),ze=ye},45559:function(){"use strict"},42313:function(){"use strict"},96408:function(dn,yt){"use strict";yt.Z={lists:"lists___xhHyq",item:"item___pWJAA",children:"children___sDG61",diamond:"diamond___FwgzD",button:"button___WPN6r",mathWrap:"mathWrap___FmnMJ",mathFillWrap:"mathFillWrap___PmY3H"}},5006:function(dn,yt){"use strict";yt.Z={flex_box_center:"flex_box_center___iyIe6",flex_space_between:"flex_space_between___g2WjG",flex_box_vertical_center:"flex_box_vertical_center___Tde0v",flex_box_center_end:"flex_box_center_end___W1D5W",flex_box_column:"flex_box_column___ZiFvs",bg:"bg___T2R2s",containerTitle:"containerTitle___yARn_",containerDesc:"containerDesc___fKSYF",menus:"menus___e8wtg",listItem:"listItem___s7xhg",info:"info___Hx2bW",title:"title___W7a1R",titleLeft:"titleLeft___C5r0w",titleRight:"titleRight___g5GZv",acitons:"acitons___H0RU0",move:"move___qYkSy",hideHeadCheckbox:"hideHeadCheckbox___Hq5gw",moveCategory:"moveCategory___bZSGQ",tabSearch:"tabSearch___NaKI4",warpModal:"warpModal___HLUgh",modalColumn:"modalColumn___F7R5w",modalRow:"modalRow___L6ghw",sup:"sup___VGKXV",name:"name___QMvgh"}},61191:function(dn,yt){"use strict";yt.Z={flex_box_center:"flex_box_center___IBr6x",flex_space_between:"flex_space_between___n2Iz0",flex_box_vertical_center:"flex_box_vertical_center___1umwO",flex_box_center_end:"flex_box_center_end___SRZYb",flex_box_column:"flex_box_column___b90Da",form:"form___V3fAH",title_icon:"title_icon____uDZy",title:"title___RxKwK",content:"content___vFT5m",pubColSty:"pubColSty___dfLkL",selectSty:"selectSty____Wuek",borderSty:"borderSty___EuFYV",delSty:"delSty___AdEeI",delBorder:"delBorder___vcTJc",copHover:"copHover___JVVXI",multiple_select:"multiple_select___ZMPhl",work_checkbox_group:"work_checkbox_group___sGLxY",disabled_link:"disabled_link___usmze"}},84511:function(dn,yt){"use strict";yt.Z={flex_box_center:"flex_box_center___SF0m3",flex_space_between:"flex_space_between___ChLjp",flex_box_vertical_center:"flex_box_vertical_center____l_EF",flex_box_center_end:"flex_box_center_end___YcZNu",flex_box_column:"flex_box_column___R9dNq",downloadbutton:"downloadbutton___oEXJW",configWorkContainer:"configWorkContainer___CHUrh"}},70414:function(dn,yt,E){"use strict";var y=E(59301),xe=Object.defineProperty,he=Object.getOwnPropertySymbols,je=Object.prototype.hasOwnProperty,be=Object.prototype.propertyIsEnumerable,De=(we,se,Ye)=>se in we?xe(we,se,{enumerable:!0,configurable:!0,writable:!0,value:Ye}):we[se]=Ye,ye=(we,se)=>{for(var Ye in se||(se={}))je.call(se,Ye)&&De(we,Ye,se[Ye]);if(he)for(var Ye of he(se))be.call(se,Ye)&&De(we,Ye,se[Ye]);return we};const ze=we=>React.createElement("svg",ye({width:14,height:14,xmlns:"http://www.w3.org/2000/svg"},we),React.createElement("title",null,"\u7F16\u7EC4 18"),React.createElement("g",{fill:"none",fillRule:"evenodd"},React.createElement("circle",{fill:"#FCB041",cx:7,cy:7,r:7}),React.createElement("path",{d:"M7.531 9.638a.616.616 0 1 1-1.231 0v-.02a.616.616 0 1 1 1.231 0v.02Zm0-2.25a.616.616 0 1 1-1.231 0V4.117a.616.616 0 1 1 1.231 0v3.273Z",fill:"#FFF",fillRule:"nonzero"})));yt.Z="data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTQiIGhlaWdodD0iMTQiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGcgZmlsbD0ibm9uZSIgZmlsbC1ydWxlPSJldmVub2RkIj48Y2lyY2xlIGZpbGw9IiNGQ0IwNDEiIGN4PSI3IiBjeT0iNyIgcj0iNyIvPjxwYXRoIGQ9Ik03LjUzMSA5LjYzOGEuNjE2LjYxNiAwIDEgMS0xLjIzMSAwdi0uMDJhLjYxNi42MTYgMCAxIDEgMS4yMzEgMHYuMDJabTAtMi4yNWEuNjE2LjYxNiAwIDEgMS0xLjIzMSAwVjQuMTE3YS42MTYuNjE2IDAgMSAxIDEuMjMxIDB2My4yNzNaIiBmaWxsPSIjRkZGIiBmaWxsLXJ1bGU9Im5vbnplcm8iLz48L2c+PC9zdmc+"},93510: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 dn={},yt="5.0",E={},y=null,xe=!1,he=!1,je=null,be=!1,De=null,ye=null,ze=0;ze<arguments.length;ze++){var we=arguments[ze];if(we!==null)switch(typeof we){case"number":yt=we.toFixed(1);break;case"string":we.match(new RegExp("^[0-9]\\.[0-9]+$"))?yt=we:je=we;break;case"object":typeof we.is3D!="undefined"?y=we:E=we;break;case"boolean":xe=we,he=!0;break}}y===null&&(y={is3D:!1,AV:!1,SV:!1,CV:!1,EV2:!1,CP:!1,PC:!1,DA:!1,FI:!1,PV:!1,macro:!1},E.material_id!==void 0&&!he&&(xe=!0)),je!==null&&E.id===void 0&&(E.id=je);var se="",Ye="",fe=!1,ke=null,Ae=null,Ce=null,me=!1,ue=null,Me=null,Ze=null,Qe=null,oe=null;E.height!==void 0&&(E.height=Math.round(E.height)),E.width!==void 0&&(E.width=Math.round(E.width));var Fe=function(Se){return parseFloat(Se)>4?parseFloat(Se):5};dn.setHTML5Codebase=function(Se,Re){ye=Se,Dt(Se,Re)},dn.setJavaCodebase=dn.setJavaCodebaseVersion=dn.isCompiledInstalled=dn.setPreCompiledScriptPath=dn.setPreCompiledResourcePath=function(){},dn.setHTML5CodebaseVersion=function(Se,Re){var at=parseFloat(Se);if(at!==NaN&&at<5){console.log("The GeoGebra HTML5 codebase version "+at+" is deprecated. Using version latest instead.");return}De=Se,Be(Se,Re)},dn.getHTML5CodebaseVersion=function(){return Ae},dn.getParameters=function(){return E},dn.setFontsCSSURL=function(Se){Qe=Se},dn.setGiacJSURL=function(Se){},dn.setJNLPFile=function(Se){se=Se},dn.setJNLPBaseDir=function(Se){},dn.inject=function(){function Se(){return window.frameElement&&window.frameElement.getAttribute("data-singleton")}for(var Re="auto",at=E.id,jt,ft=!1,Wt=0;Wt<arguments.length;Wt++){var xt=arguments[Wt];typeof xt=="string"?(xt=xt.toLowerCase(),xt.match(/^(prefer)?(java|html5|compiled|auto|screenshot)$/)?Re=xt:at=arguments[Wt]):typeof xt=="boolean"?ft=xt:xt instanceof HTMLElement&&(jt=xt)}$t();function $t(){if(!be){setTimeout($t,200);return}Re=Yt(Re);var Rt=jt||document.getElementById(at);if(!Rt){console.log("possibly bug on ajax loading? ");return}if(dn.removeExistingApplet(Rt,!1),E.width===void 0&&Rt.clientWidth&&(E.width=Rt.clientWidth),E.height===void 0&&Rt.clientHeight&&(E.height=Rt.clientHeight),!(E.width&&E.height)&&Re==="html5"&&(delete E.width,delete E.height),ke=Re,Re==="screenshot")Le(Rt,E);else{var ce=!1;E.hasOwnProperty("playButton")&&E.playButton||E.hasOwnProperty("clickToLoad")&&E.clickToLoad?ce=!0:E.hasOwnProperty("playButtonAutoDecide")&&E.playButtonAutoDecide&&(ce=(!rt()||Se())&&Ne()),ce?(ke="screenshot",qe(Rt,E,ft,Re)):it(Rt,E,ft)}}};function rt(){try{return window.self!==window.top}catch(Se){return!0}}function Ne(){return E.hasOwnProperty("screenshotGenerator")&&E.screenshotGenerator?!1:Math.max(screen.width,screen.height)<800}dn.getViews=function(){return y},dn.isJavaInstalled=function(){return!1};var Ge=function(Se){var Re=function(Wt){var xt=JSON.parse(Wt),$t=function(ne){return ne.type=="G"||ne.type=="E"},Rt=xt.elements?xt.elements.filter($t)[0]:xt;if(!Rt||!Rt.url){at();return}E.fileName=Rt.url,ge(Rt.settings||{}),y.is3D=!0;var ce="https://www.geogebra.org/images/";dn.setPreviewImage(ue||Rt.previewUrl,ce+"GeoGebra_loading.png",ce+"applet_play.png"),Se()},at=function(){E.onError&&E.onError(),Zt("Error: Fetching material (id "+E.material_id+") failed.",E)},jt=location.host.match(/(www|stage|beta|groot|alpha).geogebra.(org|net)/)?location.host:"www.geogebra.org",ft="/materials/"+E.material_id+"?scope=basic";Oe("https://"+jt+"/api/proxy.php?path="+encodeURIComponent(ft),Re,at)};function ge(Se){var Re=["width","height","showToolBar","showMenuBar","showAlgebraInput","allowStyleBar","showResetIcon","enableLabelDrags","enableShiftDragZoom","enableRightClick","appName"];["enableLabelDrags","enableShiftDragZoom","enableRightClick"].forEach(function(at){Se[at]=!!Se[at]}),Re.forEach(function(at){E[at]===void 0&&Se[at]!==void 0&&(E[at]=Se[at])}),E.showToolBarHelp===void 0&&(E.showToolBarHelp=E.showToolBar)}function Oe(Se,Re,at){var jt=new XMLHttpRequest;jt.open("GET",Se),jt.onload=function(){Re(jt.responseText)},jt.onerror=at,jt.send()}dn.isHTML5Installed=function(){return!0},dn.getLoadedAppletType=function(){return ke},dn.setPreviewImage=function(Se,Re,at){ue=Se,Me=Re,Ze=at},dn.removeExistingApplet=function(Se,Re){var at;typeof Se=="string"&&(Se=document.getElementById(Se)),ke=null;var jt=null;for(at=0;at<Se.childNodes.length;at++){var ft=Se.childNodes[at],Wt=ft.className;Wt==="applet_screenshot"?Re?(ft.style.display="block",ke="screenshot"):ft.style.display="none":Wt!=="applet_scaler prerender"&&(Se.removeChild(ft),jt=Wt&&Wt.indexOf("appletParameters")!=-1?ft.id:null,at--)}var xt=E.id!==void 0?E.id:jt,$t=window[xt];$t&&typeof $t.getBase64=="function"&&($t.remove(),window[xt]=null)},dn.refreshHitPoints=function(){if(Fe(ggbHTML5LoadedCodebaseVersion)>=5)return!0;var Se=dn.getAppletObject();return Se&&typeof Se.recalculateEnvironments=="function"?(Se.recalculateEnvironments(),!0):!1},dn.startAnimation=function(){var Se=dn.getAppletObject();return Se&&typeof Se.startAnimation=="function"?(Se.startAnimation(),!0):!1},dn.stopAnimation=function(){var Se=dn.getAppletObject();return Se&&typeof Se.stopAnimation=="function"?(Se.stopAnimation(),!0):!1},dn.getAppletObject=function(){var Se=E.id!==void 0?E.id:"ggbApplet";return window[Se]},dn.resize=function(){};var Ve=function(Se,Re,at){var jt=document.createElement("param");jt.setAttribute("name",Re),jt.setAttribute("value",at),Se.appendChild(jt)},Pe=function(Se){return Se&&Se!=="false"},it=function(Se,Re,at){Fe(Ae)<=4.2&&(at=!0);var jt=!isRenderGGBElementEnabled&&!scriptLoadStarted;(!isRenderGGBElementEnabled&&!scriptLoadStarted||ggbHTML5LoadedCodebaseVersion!==Ae||ggbHTML5LoadedCodebaseIsWebSimple&&!me)&&(jt=!0,isRenderGGBElementEnabled=!1,scriptLoadStarted=!1);var ft=document.createElement("div");ft.classList.add("appletParameters","notranslate");var Wt=Re.width,xt=Re.height;if(Re.disableAutoScale=Re.disableAutoScale===void 0?GGBAppletUtils.isFlexibleWorksheetEditor():Re.disableAutoScale,Re.width!==void 0)if(Fe(Ae)<=4.4)Pe(Re.showToolBar)&&(Re.height-=7),Pe(Re.showAlgebraInput)&&(Re.height-=37),Re.width<605&&Pe(Re.showToolBar)&&(Re.width=605,Wt=605);else{var $t=100;(Pe(Re.showToolBar)||Pe(Re.showMenuBar))&&(Re.hasOwnProperty("customToolBar")&&(Re.customToolbar=Re.customToolBar),$t=Pe(Re.showMenuBar)?245:155),Wt<$t&&(Re.width=$t,Wt=$t)}ft.style.border="none",ft.style.display="inline-block";for(var Rt in Re)Re.hasOwnProperty(Rt)&&Rt!=="appletOnLoad"&&ft.setAttribute("data-param-"+Rt,Re[Rt]);Qe&&ft.setAttribute("data-param-fontscssurl",Qe),dn.resize=function(){GGBAppletUtils.responsiveResize(Se,Re)},window.addEventListener("resize",function(gt){dn.resize()});var ce=typeof Re.appletOnLoad=="function"?Re.appletOnLoad:function(){};if(!at&&Re.width!==void 0){Re.hasOwnProperty("showSplash")||ft.setAttribute("data-param-showSplash","false");var ne=Se.querySelector(".applet_scaler.prerender"),te=ne!==null;if(te)var le=ne.querySelector(".ggb_preview");else{var le=Ct(Wt,xt,Re.borderColor,!1);ne=document.createElement("div"),ne.className="applet_scaler",ne.style.position="relative",ne.style.display="block",ne.style.width=Wt+"px",ne.style.height=xt+"px"}window.GGBT_spinner&&window.GGBT_spinner.attachSpinner(ne,"66%"),Fe(Ae)>=5?(Re.appletOnLoad=function(gt){var St=Se.querySelector(".ggb_preview");St&&St.parentNode.removeChild(St),window.GGBT_spinner&&window.GGBT_spinner.removeSpinner(ne),window.GGBT_wsf_view&&$(window).trigger("resize"),ce(gt)},te||ne.appendChild(le)):ft.appendChild(le),ne.appendChild(ft),te||Se.appendChild(ne),setTimeout(function(){dn.resize()},1)}else{var ve=document.createElement("div");ve.className="applet_scaler",ve.style.position="relative",ve.style.display="block",ve.appendChild(ft),Se.appendChild(ve),Re.appletOnLoad=function(gt){dn.resize(),ce(gt)}}function re(gt,St){St&&typeof St.appletOnLoad=="function"&&typeof renderGGBElement=="function"?renderGGBElement(gt,St.appletOnLoad):renderGGBElement(gt),Zt("GeoGebra HTML5 applet injected and rendered with previously loaded codebase.",St)}function de(gt,St){typeof renderGGBElement=="undefined"?(html5AppletsToProcess===null&&(html5AppletsToProcess=[]),html5AppletsToProcess.push({article:gt,params:St}),window.renderGGBElementReady=function(){isRenderGGBElementEnabled=!0,html5AppletsToProcess!==null&&html5AppletsToProcess.length&&(html5AppletsToProcess.forEach(function(_e){re(_e.article,_e.params)}),html5AppletsToProcess=null)},Fe(Ae)<5&&(gt.className+=" geogebraweb")):re(gt,St)}if(jt){scriptLoadStarted=!0;for(var Ue=0;Ue<ft.childNodes.length;Ue++){var pt=ft.childNodes[Ue].tagName;pt==="TABLE"&&(ft.removeChild(ft.childNodes[Ue]),Ue--)}if(ggbHTML5LoadedScript!==null){var et=document.querySelector('script[src="'+ggbHTML5LoadedScript+'"]');et!=null&&et.parentNode.removeChild(et)}var tt=document.createElement("script"),dt=function(){de(ft,Re)};tt.src=Ye+Ce,ggbHTML5LoadedCodebaseIsWebSimple=me,ggbHTML5LoadedCodebaseVersion=Ae,ggbHTML5LoadedScript=tt.src,Zt("GeoGebra HTML5 codebase loaded: '"+Ye+"'.",Re),!ye&&(!De||De=="5.0")?(me?webSimple.succeeded=webSimple.succeeded||webSimple():web3d.succeeded=web3d.succeeded||web3d(),dt()):Ye.requirejs?__webpack_require__.e(3861).then(function(){var gt=[__webpack_require__(40341)];dt.apply(null,gt)}.bind(this)).catch(__webpack_require__.oe):(tt.onload=dt,Se.appendChild(tt))}else de(ft,Re);Re.height=xt,Re.width=Wt},Le=function(Se,Re,at){var jt=Ct(Re.width,Re.height,Re.borderColor,at),ft=document.createElement("div");ft.style.position="relative",ft.style.display="block",ft.style.width=Re.width+"px",ft.style.height=Re.height+"px",ft.className="applet_screenshot applet_scaler"+(at?" applet_screenshot_play":""),ft.appendChild(jt);var Wt=GGBAppletUtils.getScale(Re,Se,at);at?(Se.appendChild(Xe()),window.GGBT_wsf_view||(Se.style.position="relative")):window.GGBT_spinner&&window.GGBT_spinner.attachSpinner(ft,"66%"),Se.appendChild(ft),Wt!==1&&!isNaN(Wt)&&(GGBAppletUtils.scaleElement(ft,Wt),ft.style.width=Re.width+"px",ft.style.height=Re.height+"px",ft.parentNode.style.width=Re.width*Wt+"px",ft.parentNode.style.height=Re.height*Wt+"px"),dn.resize=function(){pe(Se,jt,ft,at)},window.addEventListener("resize",function(xt){dn.resize()}),dn.resize()};function pe(Se,Re,at,jt){if(Se.contains(Re)){if(typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()){if(Se.id!=="fullscreencontent")return;window.GGBT_wsf_view.setCloseBtnPosition(Se)}var ft=GGBAppletUtils.getScale(E,Se,jt);at.parentNode!==null&&(!isNaN(ft)&&ft!==1?(GGBAppletUtils.scaleElement(at,ft),at.parentNode.style.width=E.width*ft+"px",at.parentNode.style.height=E.height*ft+"px"):(GGBAppletUtils.scaleElement(at,1),at.parentNode.style.width=E.width+"px",at.parentNode.style.height=E.height+"px")),typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()&&GGBAppletUtils.positionCenter(Se),typeof window.GGBT_ws_header_footer=="object"&&window.GGBT_ws_header_footer.setWsScrollerHeight()}}dn.onExitFullscreen=function(Se,Re){Re.appendChild(Se)};var qe=function(Se,Re,at,jt){Le(Se,Re,!0);for(var ft=function(){var $t=[];for(xt=0;xt<Se.childNodes.length;xt++)$t.push(Se.childNodes[xt]);if(window.GGBT_wsf_view){var Rt=window.GGBT_wsf_view.renderFullScreen(Se,Re.id),ce=document.getElementById("fullscreencontainer"),ne=jQuery(Se).find(".fullscreencontent");ne.length>0?(Rt.remove(),ne.attr("id","fullscreencontent").show(),jQuery(ce).append(ne),window.dispatchEvent(new Event("resize"))):it(Rt,Re,!1),window.GGBT_wsf_view.launchFullScreen(ce)}else ke=jt,it(Se,Re,!1);if(!window.GGBT_wsf_view)for(xt=0;xt<$t.length;xt++)Se.removeChild($t[xt])},Wt=Se.getElementsByClassName("ggb_preview_play"),xt=0;xt<Wt.length;xt++)Wt[xt].addEventListener("click",ft,!1),Wt[xt].addEventListener("ontouchstart",ft,!1);typeof window.ggbAppletPlayerOnload=="function"&&window.ggbAppletPlayerOnload(Se),Ne()&&window.GGBT_wsf_view&&$(".wsf-element-fullscreen-button").remove()},Xe=function(){var Se=document.createElement("div");if(Se.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");}',at=document.createElement("style");at.styleSheet?at.styleSheet.cssText=Re:at.appendChild(document.createTextNode(Re)),document.getElementsByTagName("head")[0].appendChild(at)}return Se},Ct=function(Se,Re,at,jt){var ft=document.createElement("div");ft.className="ggb_preview",ft.style.position="absolute",ft.style.zIndex="90",ft.style.width=Se-2+"px",ft.style.height=Re-2+"px",ft.style.top="0px",ft.style.left="0px",ft.style.overflow="hidden",ft.style.backgroundColor="white";var Wt="lightgrey";at!==void 0&&(at==="none"?Wt="transparent":Wt=at),ft.style.border="1px solid "+Wt;var xt=document.createElement("img");if(xt.style.position="relative",xt.style.zIndex="1000",xt.style.top="-1px",xt.style.left="-1px",ue!==null&&xt.setAttribute("src",ue),xt.style.opacity=.7,Me!==null){var $t,Rt,ce;if(!jt){$t=document.createElement("img"),$t.style.position="absolute",$t.style.zIndex="1001",$t.style.opacity=1,xt.style.opacity=.3,Rt=360,Rt>Se/4*3&&(Rt=Se/4*3),ce=Rt/5.8,$t.setAttribute("src",Me),$t.setAttribute("width",Rt),$t.setAttribute("height",ce);var ne=(Se-Rt)/2,te=(Re-ce)/2;$t.style.left=ne+"px",$t.style.top=te+"px",ft.appendChild($t)}}return ft.appendChild(xt),ft},Yt=function(Se){return Se=Se.toLowerCase(),Se==="html5"||Se==="screenshot"?Se:"html5"},We=["web","webSimple","web3d","tablet","tablet3d","phone"],Be=function(Se,Re){if(Ae=Se,Re){Dt(Ae,!0);return}var at=!xe;if(at){var jt=Fe(Ae);!isNaN(jt)&&jt<4.4&&(at=!1)}var ft,Wt;window.location.protocol.substr(0,4)==="http"?ft=window.location.protocol:ft="http:";var xt=Ae.indexOf("//");xt>0?Wt=Ae:xt===0?Wt=ft+Ae:Wt="https://www.geogebra.org/apps/5.2.814.0/";for(var $t in We)if(Ae.slice(We[$t].length*-1)===We[$t]||Ae.slice((We[$t].length+1)*-1)===We[$t]+"/"){Dt(Wt,!1);return}!GGBAppletUtils.isFlexibleWorksheetEditor()&&at&&!y.is3D&&!y.AV&&!y.SV&&!y.CV&&!y.EV2&&!y.CP&&!y.PC&&!y.DA&&!y.FI&&!y.PV&&!Pe(E.showToolBar)&&!Pe(E.showMenuBar)&&!Pe(E.showAlgebraInput)&&!Pe(E.enableRightClick)&&(!E.appName||E.appName=="classic")?Wt+="webSimple/":Wt+="web3d/",Dt(Wt,!1)},Dt=function(Se,Re){if(Se.requirejs){Ye=Se;return}Se.slice(-1)!=="/"&&(Se+="/"),Ye=Se,Re===null&&(Re=Se.indexOf("http")===-1),fe=Re,Ce="web.nocache.js",me=!1;var at=Ye.split("/");at.length>1&&(!Re&&at[at.length-2]==="webSimple"?(Ce="webSimple.nocache.js",me=!0):We.indexOf(at[at.length-2])>=0&&(Ce=at[at.length-2]+".nocache.js")),at=Se.split("/"),Ae=at[at.length-3],Ae.substr(0,4)==="test"?Ae=Ae.substr(4,1)+"."+Ae.substr(5,1):(Ae.substr(0,3)==="war"||Ae.substr(0,4)==="beta")&&(Ae="5.0");var jt=parseFloat(Ae);jt!==NaN&&jt<5&&Se.indexOf("geogebra.org")>=0&&(console.log("The GeoGebra HTML5 codebase version "+jt+" is deprecated. Using version latest instead."),Be("5.0",Re))},Zt=function(Se,Re){window.console&&window.console.log&&(!Re||typeof Re.showLogging=="undefined"||Re.showLogging&&Re.showLogging!=="false")&&console.log(Se)};E.material_id!==void 0?Ge(lt):lt();function lt(){var Se=yt;De!==null?Se=De:parseFloat(Se)<5&&(Se="5.0"),Be(Se,!1),ye!==null&&Dt(ye,fe),be=!0}return dn},GGBAppletUtils=function(){"use strict";function dn(){return window.GGBT_wsf_edit!==void 0}function yt(be,De){De!=1?(be.style.transformOrigin="0% 0% 0px",be.style.webkitTransformOrigin="0% 0% 0px",be.style.transform="scale("+De+","+De+")",be.style.webkitTransform="scale("+De+","+De+")",be.style.maxWidth="initial",be.querySelector(".ggb_preview")!==null&&(be.querySelector(".ggb_preview").style.maxWidth="initial"),be.querySelectorAll(".ggb_preview img")[0]!==void 0&&(be.querySelectorAll(".ggb_preview img")[0].style.maxWidth="initial"),be.querySelectorAll(".ggb_preview img")[1]!==void 0&&(be.querySelectorAll(".ggb_preview img")[1].style.maxWidth="initial")):(be.style.transform="none",be.style.webkitTransform="none")}function E(be,De,ye,ze,we,se){var Ye=null;if(se!=null&&se!="")for(var fe=be.parentNode;fe!=null;)if((" "+fe.className+" ").indexOf(" "+se+" ")>-1){Ye=fe;break}else fe=fe.parentNode;var ke=0,Ae=0,Ce=0,me=0,ue=0,Me=0,Ze=0;if(Ye)ke=Ye.offsetWidth,Ae=Math.max(ze?Ye.offsetWidth:0,Ye.offsetHeight);else{if(window.innerWidth&&document.documentElement.clientWidth?(ke=Math.min(window.innerWidth,document.documentElement.clientWidth),Ae=Math.min(window.innerHeight,document.documentElement.clientHeight),Ce=ke):(ke=window.innerWidth,Ae=window.innerHeight,Ce=window.innerWidth),be){var Qe=be.getBoundingClientRect();Qe.left>0&&Qe.left<=ke&&(we===void 0||!we)&&(document.dir==="rtl"?(ue=ke-Qe.width-Qe.left,Me=Ce<=480?10:30):(Me=Qe.left,ue=Ce<=480?10:30),me=Me+ue)}if(be&&typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()){var oe=be.getBoundingClientRect();window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionRight"?(me=40,Ze=0):window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionTop"&&(me=0,Ze=40)}}return be&&((ye===void 0||!ye)&&De>0&&De+me<ke?ke=De:ke-=me,typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()&&(ye===void 0||!ye)&&(Ae-=Ze)),{width:ke,height:Ae}}function y(be,De,ye,ze,we){if(be.isScreenshoGenerator)return 1;var se=ze!==void 0&&ze,Ye=be.noScaleMargin!=null&&be.noScaleMargin,fe=function(oe){return oe&&oe!=="false"},ke=fe(be.autoHeight),Ae=E(De,be.width,ye,ke,se&&window.GGBT_wsf_view||Ye,we),Ce=parseInt(Ae.width),me=be.width,ue=be.height;if(me===void 0){var Me=De.querySelector(".appletParameters");Me&&(me=Me.offsetWidth,ue=Me.offsetHeight)}var Ze=Ce/me,Qe=se?1:Ae.height/ue;return ye!==void 0&&!ye&&(Ze=Math.min(1,Ze),Qe=Math.min(1,Qe)),Math.min(Ze,Qe)}function xe(be,De,ye){var ze=1,we,se=!1;if(be.hasOwnProperty("allowUpscale")&&(se=be.allowUpscale),be.hasOwnProperty("scale")&&(ze=parseFloat(be.scale),(isNaN(ze)||ze===null||ze===0)&&(ze=1),ze>1&&(se=!0)),De&&typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()&&(se=!0),!(be.hasOwnProperty("disableAutoScale")&&be.disableAutoScale))we=y(be,De,se,ye,be.scaleContainerClass);else return ze;return se&&(!be.hasOwnProperty("scale")||ze===1)?we:Math.min(ze,we)}function he(be){var De=Math.min(window.innerWidth,document.documentElement.clientWidth),ye=Math.min(window.innerHeight,document.documentElement.clientHeight),ze=be.getBoundingClientRect(),we=(De-ze.width)/2,se=(ye-ze.height)/2;se<0&&(se=0),be.style.position="relative",window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionRight"?(we<40?be.style.left="40px":be.style.left=we+"px",be.style.top=se+"px"):window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionTop"&&(se<40?be.style.top="40px":be.style.top=se+"px",be.style.left=we+"px")}function je(be,De){var ye=be.querySelector(".appletParameters");if(ye){if(typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()){if(De.id!==ye.getAttribute("data-param-id"))return;window.GGBT_wsf_view.setCloseBtnPosition(be)}if(ye.parentElement&&/fullscreen/.test(ye.parentElement.className))return;var ze=xe(De,be);dn()&&ye.setAttribute("data-param-scale",ze);for(var we=null,se=0;se<be.childNodes.length;se++)if(be.childNodes[se].className!==void 0&&be.childNodes[se].className.match(/^applet_scaler/)){we=be.childNodes[se];break}if(we!==null&&we.querySelector(".noscale")!==null)return;var Ye=De.id!==void 0?De.id:"ggbApplet",fe=window[Ye];(fe==null||!fe.recalculateEnvironments)&&we!==null&&!we.className.match(/fullscreen/)&&(we.parentNode.style.transform="",!isNaN(ze)&&ze!==1?(we.parentNode.style.width=De.width*ze+"px",we.parentNode.style.height=De.height*ze+"px",yt(we,ze)):(yt(we,1),we.parentNode.style.width=De.width+"px",we.parentNode.style.height=De.height+"px")),typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()&&he(be),window.GGBT_wsf_view&&!window.GGBT_wsf_view.isFullscreen()&&window.GGBT_wsf_general.adjustContentToResize($(ye).parents(".content-added-content"))}}return{responsiveResize:je,isFlexibleWorksheetEditor:dn,positionCenter:he,getScale:xe,scaleElement:yt}}();__WEBPACK_AMD_DEFINE_ARRAY__=[],__WEBPACK_AMD_DEFINE_RESULT__=function(){return GGBApplet}.apply(exports,__WEBPACK_AMD_DEFINE_ARRAY__),__WEBPACK_AMD_DEFINE_RESULT__!==void 0&&(module.exports=__WEBPACK_AMD_DEFINE_RESULT__),GGBAppletUtils.makeModule=function(name,permutation){function webModule(){var H="bootstrap",I="begin",J="gwt.codesvr."+name+"=",K="gwt.codesvr=",L=name,M="startup",N="DUMMY",O=0,P=1,Q="iframe",R="position:absolute; width:0; height:0; border:none; left: -1000px;",S=" top: -1000px;",T="Chrome",U="CSS1Compat",V="<!doctype html>",W="",X="<html><head></head><body></body></html>",Y="undefined",Z="readystatechange",$=10,_="script",ab="javascript",bb="Failed to load ",cb="moduleStartup",db="scriptTagAdded",eb="moduleRequested",fb="meta",gb="name",hb=name+"::",ib="::",jb="gwt:property",kb="content",lb="=",mb="gwt:onPropertyErrorFn",nb='Bad handler "',ob='" for "gwt:onPropertyErrorFn"',pb="gwt:onLoadErrorFn",qb='" for "gwt:onLoadErrorFn"',rb="#",sb="?",tb="/",ub="img",vb="clear.cache.gif",wb="baseUrl",xb=name+".nocache.js",yb="base",zb="//",Ab="selectingPermutation",Bb=name+".devmode.js",Cb=permutation,Db=":",Eb=".cache.js",Fb="loadExternalRefs",Gb="end",n=window,o=document;function p(){var dn=n.location.search;return dn.indexOf(J)!=-1||dn.indexOf(K)!=-1}function q(dn,yt){}webModule.__sendStats=q,webModule.__moduleName=L,webModule.__errFn=null,webModule.__moduleBase=N,webModule.__softPermutationId=O,webModule.__computePropValue=null,webModule.__getPropMap=null,webModule.__installRunAsyncCode=function(){},webModule.__gwtStartLoadingFragment=function(){return null},webModule.__gwt_isKnownPropertyValue=function(){return!1},webModule.__gwt_getMetaProperty=function(){return null};var r=null,s=n.__gwt_activeModules=n.__gwt_activeModules||{};s[L]={moduleName:L},webModule.__moduleStartupDone=function(dn){var yt=s[L].bindings;s[L].bindings=function(){for(var E=yt?yt():{},y=dn[webModule.__softPermutationId],xe=O;xe<y.length;xe++){var he=y[xe];E[he[O]]=he[P]}return E}};var t;function u(){return v(),t}function v(){if(!t){var dn=o.createElement(Q);if(dn.id=L,dn.style.cssText=R+S,dn.tabIndex=-1,o.body.appendChild(dn),t=dn.contentWindow.document,navigator.userAgent.indexOf(T)==-1){t.open();var yt=document.compatMode==U?V:W;t.write(yt+X),t.close()}}}function w(dn){function yt(y){function xe(){return typeof o.readyState==Y?typeof o.body!=Y&&o.body!=null:/loaded|complete/.test(o.readyState)}var he=xe();if(he){y();return}function je(){if(!he){if(!xe())return;he=!0,y(),o.removeEventListener&&o.removeEventListener(Z,je,!1),be&&clearInterval(be)}}o.addEventListener&&o.addEventListener(Z,je,!1);var be=setInterval(function(){je()},$)}function E(y){var xe=u(),he=xe.body,je=xe.createElement(_);je.language=ab,je.crossOrigin=W,je.src=y,webModule.__errFn&&(je.onerror=function(){webModule.__errFn(L,new Error(bb+y))}),he.appendChild(je)}yt(function(){E(dn)})}webModule.__startLoadingFragment=function(dn){return C(dn)},webModule.__installRunAsyncCode=function(dn){var yt=u(),E=yt.body,y=yt.createElement(_);y.language=ab,y.text=dn,E.appendChild(y),E.removeChild(y)};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(dn){alert(nb+k+ob)}}else if(j==pb&&(k=i.getAttribute(kb),k))try{e=eval(k)}catch(dn){alert(nb+k+qb)}}}__gwt_getMetaProperty=function(dn){var yt=c[dn];return yt==null?null:yt},r=d,webModule.__errFn=e}function B(){function dn(be){var De=be.lastIndexOf(rb);De==-1&&(De=be.length);var ye=be.indexOf(sb);ye==-1&&(ye=be.length);var ze=be.lastIndexOf(tb,Math.min(ye,De));return ze>=O?be.substring(O,ze+P):W}function yt(be){if(!be.match(/^\w+:\/\//)){var De=o.createElement(ub);De.src=be+vb,be=dn(De.src)}return be}function E(){var be=__gwt_getMetaProperty(wb);return be!=null?be:W}function y(){for(var be=o.getElementsByTagName(_),De=O;De<be.length;++De)if(be[De].src.indexOf(xb)!=-1)return dn(be[De].src);return W}function xe(){var be=o.getElementsByTagName(yb);return be.length>O?be[be.length-P].href:W}function he(){var be=o.location;return be.href==be.protocol+zb+be.host+be.pathname+be.search+be.hash}var je=E();return je==W&&(je=y()),je==W&&(je=xe()),je==W&&he()&&(je=dn(o.location.href)),je=yt(je),je}function C(dn){return dn.match(/^\//)||dn.match(/^[a-zA-Z]+:\/\//)?dn:webModule.__moduleBase+dn}function D(){var dn=[],yt=O,E=[],y=[];function xe(be){var De=y[be](),ye=E[be];if(De in ye)return De;var ze=[];for(var we in ye)ze[ye[we]]=we;throw r&&r(be,ze,De),null}if(__gwt_isKnownPropertyValue=function(be,De){return De in E[be]},webModule.__getPropMap=function(){var be={};for(var De in E)E.hasOwnProperty(De)&&(be[De]=xe(De));return be},webModule.__computePropValue=xe,n.__gwt_activeModules[L].bindings=webModule.__getPropMap,p())return C(Bb);var he;try{he=Cb;var je=he.indexOf(Db);je!=-1&&(yt=parseInt(he.substring(je+P),$),he=he.substring(O,je))}catch(be){}return webModule.__softPermutationId=yt,C(he+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})()},28735:function(dn,yt,E){"use strict";E.d(yt,{Ax:function(){return je},Ds:function(){return be},KI:function(){return ye},SI:function(){return he},f1:function(){return xe}});var y=E(74128);function xe(ze){let we=!0;if(ze.length>0){for(let se=0;se<ze.length;se++)if(ze[se].compile_success==0||!ze[se].compile_success){we=!1;break}}else we=!1;return we}function he(ze,we=""){let se=[];for(let Ye=0;Ye<ze.length;Ye++){let fe=ze[Ye],ke=we?`${we}/${fe.name}`:`${fe.name}`;se.push({title:fe.name,type:fe.type,isLeaf:fe.type!=="tree",key:ke})}return se}function je(ze,we,se){for(let Ye=0;Ye<ze.length;Ye++){let fe=ze[Ye];if(fe.key===we){fe.children=se;break}fe.children&&je(fe.children,we,se)}return ze}function be(ze,we,se){let Ye;return function(){let fe=this,ke=arguments,Ae=function(){Ye=null,se||ze.apply(fe,ke)},Ce=se&&!Ye;clearTimeout(Ye),Ye=setTimeout(Ae,we),Ce&&ze.apply(fe,ke)}}const De=!0,ye=y.Z.API_SERVER},71067:function(dn,yt,E){"use strict";E.d(yt,{Z:function(){return ke}});var y=E(59301),xe=E(6767),he=E(37568),je={codeBox:"codeBox___WpkVl"},be=E(92310),De=E.n(be),ye=Object.defineProperty,ze=(Ae,Ce,me)=>Ce in Ae?ye(Ae,Ce,{enumerable:!0,configurable:!0,writable:!0,value:me}):Ae[Ce]=me,we=(Ae,Ce,me)=>ze(Ae,typeof Ce!="symbol"?Ce+"":Ce,me),se=(Ae,Ce,me)=>new Promise((ue,Me)=>{var Ze=Fe=>{try{oe(me.next(Fe))}catch(rt){Me(rt)}},Qe=Fe=>{try{oe(me.throw(Fe))}catch(rt){Me(rt)}},oe=Fe=>Fe.done?ue(Fe.value):Promise.resolve(Fe.value).then(Ze,Qe);oe((me=me.apply(Ae,Ce)).next())});class Ye extends y.Component{constructor(Ce){super(Ce),we(this,"canvas"),we(this,"randomNum",(me,ue)=>Math.floor(Math.random()*(ue-me)+me)),we(this,"drawPic",()=>{this.randomCode()}),we(this,"reloadPic",()=>{this.drawPic()}),we(this,"changeCode",me=>{console.log(me.target.value,222),this.setState({value:me.target.value,showError:!1})}),we(this,"onVerify",()=>{let me;return this.state.value.toLowerCase()!==""&&this.state.value.toLowerCase()!==this.state.code.toLowerCase()?(me=!0,xe.ZP.error("\u8BF7\u8F93\u5165\u6B63\u786E\u7684\u9A8C\u8BC1\u7801"),this.reloadPic()):this.state.value.toLowerCase()===""?(me=!0,xe.ZP.error("\u8BF7\u8F93\u5165\u9A8C\u8BC1\u7801")):this.state.value.toLowerCase()===this.state.code.toLowerCase()&&(me=!1),this.setState({showError:me}),me}),this.canvas=y.createRef(),this.state={value:"",code:"",codeLength:4,fontSizeMin:20,fontSizeMax:22,backgroundColorMin:240,backgroundColorMax:250,colorMin:10,colorMax:20,lineColorMin:40,lineColorMax:180,contentWidth:96,contentHeight:38,showError:!1}}componentDidMount(){this.drawPic()}randomColor(Ce,me){const ue=this.randomNum(Ce,me),Me=this.randomNum(Ce,me),Ze=this.randomNum(Ce,me);return`rgb(${ue}, ${Me}, ${Ze})`}drawText(Ce,me,ue){Ce.fillStyle=this.randomColor(this.state.colorMin,this.state.colorMax);const Me=this.randomNum(this.state.fontSizeMin,this.state.fontSizeMax);Ce.font=Me+"px SimHei";const Ze=10,Qe=(this.state.contentWidth-40)/(this.state.code.length-1);let oe=Ze;ue>0&&(oe=Ze+ue*Qe);let Fe=this.randomNum(this.state.fontSizeMax,this.state.contentHeight-5);Me>40&&(Fe=40);const rt=this.randomNum(-10,10);Ce.translate(oe,Fe),Ce.rotate(rt*Math.PI/180),Ce.fillText(me,0,0),Ce.rotate(-rt*Math.PI/180),Ce.translate(-oe,-Fe)}drawLine(Ce){for(let me=0;me<1;me++)Ce.strokeStyle=this.randomColor(this.state.lineColorMin,this.state.lineColorMax),Ce.beginPath(),Ce.moveTo(this.randomNum(0,this.state.contentWidth),this.randomNum(0,this.state.contentHeight)),Ce.lineTo(this.randomNum(0,this.state.contentWidth),this.randomNum(0,this.state.contentHeight)),Ce.stroke()}drawDot(Ce){for(let me=0;me<100;me++)Ce.fillStyle=this.randomColor(0,255),Ce.beginPath(),Ce.arc(this.randomNum(0,this.state.contentWidth),this.randomNum(0,this.state.contentHeight),1,0,2*Math.PI),Ce.fill()}randomCode(){let Ce="";const me="QWERTYUPLKJHGFDSAZXCVBNMqwertyupkjhgfdsazxcvbnm1234567890";for(let ue=0;ue<this.state.codeLength;ue++){const Me=Math.floor(Math.random()*57);Ce+=me[Me]}this.setState({code:Ce},()=>{const Me=this.canvas.current.getContext("2d");Me.textBaseline="bottom",Me.fillStyle=this.randomColor(this.state.backgroundColorMin,this.state.backgroundColorMax),Me.fillRect(0,0,this.state.contentWidth,this.state.contentHeight);for(let Ze=0;Ze<this.state.code.length;Ze++)this.drawText(Me,this.state.code[Ze],Ze);this.drawLine(Me),this.drawDot(Me)})}render(){const{className:Ce,width:me=300}=this.props;return y.createElement("div",{className:De()(je.codeBox,Ce),style:{width:me}},y.createElement("aside",null,y.createElement(he.default,{value:this.state.value,onChange:this.changeCode,placeholder:"\u8BF7\u8F93\u5165\u56FE\u7247\u4E2D\u7684\u9A8C\u8BC1\u7801"})),y.createElement("div",null,y.createElement("canvas",{onClick:this.reloadPic,ref:this.canvas,width:"100",height:"30"}),y.createElement("div",{className:"current",onClick:this.reloadPic},"\u770B\u4E0D\u6E05\uFF1F\u6362\u4E00\u5F20")))}}const fe=(Ae,Ce)=>{let me;Modal.confirm({centered:!0,okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",title:"\u63D0\u793A",content:React.createElement("div",null,React.createElement("p",null,Ce),React.createElement(Ye,{ref:ue=>me=ue})),onOk:()=>se(void 0,null,function*(){if(me.onVerify())return Promise.reject();Ae()})})};var ke=Ye},90463:function(dn,yt,E){"use strict";E.d(yt,{Z:function(){return De}});var y=E(37639),xe={text:"text___FxbAX",wrap:"wrap___UlBQ1",contact:"contact____pUDq",img:"img___BapAv"},he=E(32637),je=E(59301),De=({type:ye,style:ze})=>{const we=je.createElement("div",{className:xe.wrap,onClick:se=>{se.preventDefault(),se.stopPropagation()}},je.createElement("p",null,ye==="shixun"||ye==="paths"?"\u5F53\u524D\u5B9E\u8DF5\u9879\u76EE\u662F\u9AD8\u6D88\u8017\u7C7B\u578B\u7684\u5B9E\u9A8C\u3002":"\u5F53\u524D\u8BD5\u5377\u5305\u542B\u9AD8\u6D88\u8017\u7C7B\u578B\u7684\u5B9E\u9A8C\u3002",je.createElement("br",null),"\u6839\u636E\u5E73\u53F0\u4F7F\u7528\u89C4\u5219\uFF0C\u9700\u8981\u6388\u6743\u624D\u80FD\u4F7F\u7528\u3002",ye==="paths"?"\u53D1\u9001\u5230\u8BFE\u5802":"\u53D1\u5E03","\u4F7F\u7528\u4E4B\u524D\uFF0C\u8BF7\u5148\u8054\u7CFB\u5E73\u53F0\u7BA1\u7406\u5458\u83B7\u53D6\u6388\u6743\u7801\u3002"),je.createElement("div",{className:xe.contact},je.createElement("div",{className:xe.img},je.createElement("img",{src:he,width:"124px",height:"124px"})),je.createElement("div",{className:"tc font14 mt10",style:{color:"#777A93"}},"\u626B\u4E00\u626B\uFF0C\u83B7\u53D6\u6388\u6743\u7801")));return je.createElement(y.Z,{content:we},je.createElement("span",{className:xe.text,style:ze},"\u9AD8\u6D88\u8017"))}},16750:function(dn,yt,E){"use strict";E.d(yt,{Z:function(){return Ye}});var y=E(59301),xe={imageDimensions:"imageDimensions___a7crR",img:"img___Kroat",fullWidth:"fullWidth___c492T"},he=E(92310),je=E.n(he),be=E(29787),De=E(2859),ye=E(38147),ze=E(65862),we=(fe,ke,Ae)=>new Promise((Ce,me)=>{var ue=Qe=>{try{Ze(Ae.next(Qe))}catch(oe){me(oe)}},Me=Qe=>{try{Ze(Ae.throw(Qe))}catch(oe){me(oe)}},Ze=Qe=>Qe.done?Ce(Qe.value):Promise.resolve(Qe.value).then(ue,Me);Ze((Ae=Ae.apply(fe,ke)).next())}),Ye=({data:fe,className:ke,fullWidth:Ae,style:Ce={},onClose:me,onOk:ue,showFullTools:Me,noAssociationId:Ze})=>{const Qe=(0,y.useRef)(null),oe=(0,y.useRef)(null),Fe=(0,y.useRef)(null),rt=(0,y.useRef)(null),[Ne,Ge]=(0,y.useState)(!1),[ge,Oe]=(0,y.useState)("\u6B63\u5728\u52A0\u8F7D\u4E2D");(0,y.useEffect)(()=>(Fe.current||(Fe.current=document.createElement("style"),document.head.appendChild(Fe.current)),fe!=null&&fe.visible?(document.body.setAttribute("data-custom","y-hidden"),Fe.current.innerHTML=" html { overflow-y: hidden; }",fe!=null&&fe.src&&Ve()):(document.body.removeAttribute("data-custom"),Fe.current&&(document.head.removeChild(Fe.current),Fe.current=null)),()=>{document.body.removeAttribute("data-custom"),Fe.current&&(document.head.removeChild(Fe.current),Fe.current=null)}),[fe==null?void 0:fe.visible]);const Ve=()=>we(void 0,null,function*(){Ge(!0),Oe("\u6B63\u5728\u52A0\u8F7D\u4E2D");const pe=yield(0,ze.ZJ)(fe==null?void 0:fe.src);Qe.current.src="",Qe.current.src=pe,Qe.current.onload=function(){Le()},Ge(!1),Oe("")}),Pe=pe=>we(void 0,null,function*(){Ge(!0),Oe("\u6B63\u5728\u4FDD\u5B58\u4E2D");const qe=yield(0,ye.ZP)("/api/attachments.json",{method:"post",body:{file_type:"base64",original_filename:fe.title,file:pe.dataUrl}});qe!=null&&qe.id&&!Ze?(yield(0,ye.ZP)(`/api/attachments/${fe.id}/add_subitem.json`,{method:"post",body:{subitem_id:qe==null?void 0:qe.id,settings:JSON.stringify(pe.state)}})).status===0&&ue():qe!=null&&qe.id&&ue(qe),Ge(!1),Oe("")}),it=()=>{const pe=document.querySelector('a[href="https://markerjs.com/"]');pe&&pe.parentNode&&(pe.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(Xe=>{const Ct=document.querySelector(Xe.name);Ct&&Ct.setAttribute("title",Xe.title)})},Le=()=>{oe.current=new De.hP(Qe.current),oe.current.targetRoot=rt.current,oe.current.addEventListener("render",Pe),oe.current.addEventListener("beforeclose",me),Me&&(oe.current.availableMarkerTypes=oe.current.ALL_MARKER_TYPES,oe.current.uiStyleSettings.redoButtonVisible=!0,oe.current.uiStyleSettings.notesButtonVisible=!0,oe.current.uiStyleSettings.zoomButtonVisible=!0,oe.current.uiStyleSettings.zoomOutButtonVisible=!0,oe.current.uiStyleSettings.clearButtonVisible=!0),window.markerArea=oe.current.uiStyleSettings,oe.current.show(),fe!=null&&fe.snapshotData&&oe.current.restoreState(fe.snapshotData),setTimeout(()=>{window.scrollTo(0,0),it()},300)};return y.createElement(y.Fragment,null,(fe==null?void 0:fe.visible)&&y.createElement(be.Z,{spinning:Ne,tip:ge,style:{position:"absolute",width:"100vw"}},y.createElement("div",{ref:rt,className:je()(xe.imageDimensions,ke,Ae?xe.fullWidth:""),style:Ce},y.createElement("img",{className:xe.img,ref:Qe}))))}},99298:function(dn,yt,E){"use strict";var y=E(59301),xe=E(77019),he=E(5269),je=E(31691),be=E(7939),De=E(95097),ye=E(96408),ze=E(48136),we=E(59301);const se=(0,y.forwardRef)(({callback:Ye,showSaveButton:fe,value:ke=""},Ae)=>{const Ce=(0,y.useRef)(),me=[{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 "}]}]}],ue=[{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}`}]}]}],Me=oe=>{Ce.current.setValue(Ce.current.getValue()+" "+oe.value+" ")},Ze=[{key:"1",label:"\u5FEB\u6377\u6A21\u677F",children:we.createElement(xe.Z,{className:ye.Z.lists,gutter:[10,10]},me.map((oe,Fe)=>we.createElement(he.Z,{flex:"110px",className:ye.Z.item},we.createElement("div",null,we.createElement(De.Z,{value:`$$${oe.value}$$`}),oe.name),we.createElement("div",{className:ye.Z.children},oe.children.map((rt,Ne)=>we.createElement("div",{key:Ne},we.createElement("h1",null,rt.name),we.createElement(xe.Z,{gutter:[10,10]},rt.data.map((Ge,ge)=>we.createElement(he.Z,{key:ge,onClick:()=>Me(Ge),className:ye.Z.diamond},we.createElement(De.Z,{value:"`$$"+Ge.value+"$$`"}))))))))))},{key:"2",label:"\u516C\u5F0F\u6A21\u677F",children:we.createElement(xe.Z,{className:ye.Z.lists,gutter:[10,10]},ue.map((oe,Fe)=>we.createElement(he.Z,{flex:"110px",className:ye.Z.item},we.createElement("div",null,we.createElement(De.Z,{value:"`$$"+oe.value+"$$`"}),oe.name),we.createElement("div",{className:ye.Z.children},oe.children.map((rt,Ne)=>we.createElement("div",{key:Ne},rt.name&&we.createElement("h1",null,rt.name),we.createElement(xe.Z,{gutter:[10,10]},rt.data.map((Ge,ge)=>we.createElement(he.Z,{key:ge,onClick:()=>Me(Ge),className:ye.Z.diamond},we.createElement(De.Z,{value:"`$$"+Ge.value+"$$`"}))))))))))}],Qe=()=>{var oe=document.createElement("div");oe.innerHTML=Ce.current.getValue();var Fe=oe.innerText;return Ye&&Ye(Fe),Fe};return(0,y.useImperativeHandle)(Ae,()=>({getData:Qe})),we.createElement("div",{className:ye.Z.mathWrap},we.createElement(je.default,{defaultActiveKey:"1",items:Ze}),we.createElement("math-field",{locale:"zh_cn",className:ye.Z.mathField,placeholder:"\u8BF7\u6253\u5F00\u952E\u76D8\uFF0C\u8F93\u5165\u516C\u5F0F",ref:Ce,style:{width:800,marginTop:30,fontSize:18}},ke||""),fe&&we.createElement("div",{className:ye.Z.button},we.createElement(be.ZP,{size:"large",onClick:Qe,style:{zIndex:8,marginTop:10},type:"primary"},"\u4FDD\u5B58\u5230\u7F16\u8F91\u5668")))});yt.Z=se},2524:function(dn,yt,E){"use strict";var y=E(59301),xe=E(93314),he=E(7939),je=Object.defineProperty,be=Object.defineProperties,De=Object.getOwnPropertyDescriptors,ye=Object.getOwnPropertySymbols,ze=Object.prototype.hasOwnProperty,we=Object.prototype.propertyIsEnumerable,se=(Ae,Ce,me)=>Ce in Ae?je(Ae,Ce,{enumerable:!0,configurable:!0,writable:!0,value:me}):Ae[Ce]=me,Ye=(Ae,Ce)=>{for(var me in Ce||(Ce={}))ze.call(Ce,me)&&se(Ae,me,Ce[me]);if(ye)for(var me of ye(Ce))we.call(Ce,me)&&se(Ae,me,Ce[me]);return Ae},fe=(Ae,Ce)=>be(Ae,De(Ce));const ke=({img:Ae,buttonProps:Ce={},styles:me={},customText:ue,ButtonText:Me,ButtonClick:Ze,Buttonclass:Qe,ButtonTwo:oe,imgStyles:Fe,loading:rt=!1,className:Ne=""})=>y.createElement("section",{className:`tc animated fadeIn ${Ne}`,style:Ye({color:"#999",margin:"100px auto",visibility:rt?"hidden":"visible"},me)},y.createElement("img",{src:Ae||xe,style:fe(Ye({},Fe),{pointerEvents:"none",userSelect:"none"})}),y.createElement("p",{className:"mt20 font14"},ue||"\u6682\u65F6\u8FD8\u6CA1\u6709\u76F8\u5173\u6570\u636E\u54E6!"),Me&&y.createElement(he.ZP,Ye({className:Qe,onClick:Ze},Ce),Me),oe&&oe);yt.Z=ke},4324:function(dn,yt,E){"use strict";E.d(yt,{Q:function(){return De}});var y=E(59301),xe=E(82326),he=E(47889),je=E(4875),be=E(59301),De=(ze=>(ze[ze.Number=1]="Number",ze[ze.Percent=2]="Percent",ze))(De||{});const ye=({value:ze,onChange:we,disabled:se,hidePercentOption:Ye=!1,percentType:fe="select"})=>{const ke=(0,y.useMemo)(()=>Ye?1:2,[Ye]),[Ae,Ce]=(0,y.useState)(ke);console.log(Ae);const me=Me=>ze.type===1?`${Me}\u5206`:`${Me}%`,ue=(0,y.useCallback)(Me=>{if(Ae===1){const Ze=Me.replace("\u5206","");return isNaN(parseInt(Ze,10))?0:Ze}else return Me.replace("%","")},[Ae]);return(0,y.useEffect)(()=>{Ce(ze.type)},[ze]),be.createElement("div",{style:{display:"flex",alignItems:"center"}},fe=="select"&&be.createElement(xe.default,{size:"large",onChange:Me=>{Ce(Me),we({type:Me,inputValue:Me===1?5:20})},value:Ae||ke,style:{width:100},options:Ye?[{label:"\u5206\u503C",value:1}]:[{label:"\u767E\u5206\u6BD4",value:2},{label:"\u5206\u503C",value:1}],disabled:se}),fe=="radio"&&be.createElement(he.ZP.Group,{size:"large",onChange:Me=>{const Ze=Me.target.value;Ce(Ze),we({type:Ze,inputValue:Ze===1?5:20})},value:Ae||ke,disabled:se},!Ye&&be.createElement(he.ZP,{value:2,style:{marginRight:"50px"}},"\u767E\u5206\u6BD4\u6263\u5206"),be.createElement(he.ZP,{value:1},"\u56FA\u5B9A\u5206\u503C")),fe=="radio"&&be.createElement("div",{style:{marginRight:"10px",color:"#000000"}},ze.type==2?"\u6263\u9664\u8865\u4EA4\u9636\u6BB5\u5F97\u5206\u7684":"\u6263\u9664\u603B\u6210\u7EE9\u7684"),be.createElement(je.Z,{size:"large",disabled:se,value:ze.inputValue,style:{width:"120px"},parser:ue,addonAfter:ze.type===1?"\u5206":"%",max:Ae===2?100:Number.MAX_SAFE_INTEGER,min:0,precision:0,onChange:Me=>{we({type:Ae,inputValue:Me})}}),fe=="radio"&&ze.type==2&&be.createElement("div",{style:{marginLeft:"10px",color:"#000000"}},"\u5206\u6570"))};yt.Z=ye},52918:function(dn,yt,E){"use strict";E.d(yt,{Z:function(){return Qe}});var y=E(59301),xe={wrp:"wrp___dq7YK",bgBlack:"bgBlack___ARIUV",monaco:"monaco___VnZC3",darkBlue:"darkBlue___UprA9",close:"close___LKoWu",embed:"embed___hvpEJ"},he=E(7939),je=E(70557),be=E(50258),De=E(25399),ye=E(65862),ze=E(87513),we=E(2524),se=E(74128),Ye=E(7310),fe=E(59301),ke=Object.defineProperty,Ae=Object.getOwnPropertySymbols,Ce=Object.prototype.hasOwnProperty,me=Object.prototype.propertyIsEnumerable,ue=(oe,Fe,rt)=>Fe in oe?ke(oe,Fe,{enumerable:!0,configurable:!0,writable:!0,value:rt}):oe[Fe]=rt,Me=(oe,Fe)=>{for(var rt in Fe||(Fe={}))Ce.call(Fe,rt)&&ue(oe,rt,Fe[rt]);if(Ae)for(var rt of Ae(Fe))me.call(Fe,rt)&&ue(oe,rt,Fe[rt]);return oe},Ze=(oe,Fe,rt)=>new Promise((Ne,Ge)=>{var ge=Pe=>{try{Ve(rt.next(Pe))}catch(it){Ge(it)}},Oe=Pe=>{try{Ve(rt.throw(Pe))}catch(it){Ge(it)}},Ve=Pe=>Pe.done?Ne(Pe.value):Promise.resolve(Pe.value).then(ge,Oe);Ve((rt=rt.apply(oe,Fe)).next())}),Qe=({editOffice:oe="view",data:Fe,issaver:rt,onSaver:Ne,theme:Ge,type:ge,filename:Oe,monacoEditor:Ve,className:Pe,style:it,close:Le,onClose:pe,hasMask:qe,disabledDownload:Xe,onImgDimensions:Ct,showNodata:Yt,recordInfo:We})=>{const[Be,Dt]=(0,y.useState)("https://view.officeapps.live.com/op/view.aspx?src=http://testgs.educoder.net//rails/active_storage/blobs/eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaHBCZz09IiwiZXhwIjpudWxsLCJwdXIiOiJibG9iX2lkIn19--03541f6234b93d7ac3b2d84e7eb0e6594a952945/1.ppt"),[Zt,lt]=(0,y.useState)(""),[Se,Re]=(0,y.useState)(),at=window.ENV==="build"?"/react/build":"",jt=location.host.startsWith("localhost")?se.Z.PROXY_SERVER:se.Z.API_SERVER,Wt=10*(1024*1024),xt=(0,y.useRef)();Fe!=null&&Fe.startsWith("/api")&&ge!=="txt"&&(Fe=se.Z.API_SERVER+Fe);const $t=le=>le.substring(le.lastIndexOf("/")+1).split(".").pop();Oe&&Ve&&(Ve.filename=Oe),(0,y.useEffect)(()=>{var le,ve;const re=(ve=(le=document.cookie)==null?void 0:le.replace(/\s/g,""))==null?void 0:ve.split(";");re==null||re.map(de=>{let Ue=de.split("=");Ue[0]==="_educoder_session"&&lt(Ue[1])})},[]),(0,y.useEffect)(()=>{ge==="office"&&(Fe.indexOf("bigfilescdn.")>-1||Fe.indexOf("bigfiles1")>-1?Re({url:Fe,fileType:$t(Fe),model:Fe.indexOf("model=edit")?"edit":"view"}):ce())},[ge,Fe]);function Rt(le){return Ze(this,null,function*(){le.data.type==="pdfdata"&&(Ne(le.data.data),window.removeEventListener("message",Rt,!1)),console.log("mess---:",le.data)})}const ce=()=>Ze(void 0,null,function*(){console.log("data:",Fe);let le=Fe;Fe.startsWith("http")||(le=location.origin+le);let ve=new URL(le).pathname.split("/").pop();const re=yield(0,ze.gJ)({attachment_id:ve});re.url=jt+re.url,Re(re)}),ne=()=>{if(Fe.startsWith("http")||Fe.startsWith("blob:")){te();return}(0,ye.Sv)(Oe||"educoder",Fe,Oe)},te=()=>{We&&(0,Ye.fc)({id:We==null?void 0:We.id,watch_type:1,course_id:We==null?void 0:We.course_id}),(0,ye.Nd)(Oe||"educoder",decodeURIComponent(Fe))};return fe.createElement("div",{style:Me({},it||{}),className:`${qe&&xe.bgBlack} ${ge?xe.wrp:"hide"}`},Le&&fe.createElement("div",{className:xe.close,ref:xt},!!Ct&&fe.createElement(De.Z,{title:"\u70B9\u51FB\u5BF9\u56FE\u7247\u8FDB\u884C\u6279\u6CE8",getPopupContainer:()=>xt.current},fe.createElement("span",{onClick:()=>{pe(),Ct()}},fe.createElement("i",{className:"icon-yulanpizhu"}))),!Xe&&fe.createElement(De.Z,{title:"\u70B9\u51FB\u4E0B\u8F7D\u6B64\u6587\u4EF6",getPopupContainer:()=>xt.current},fe.createElement("span",{onClick:te},fe.createElement("i",{className:"icon-quxiaozhiding"}))),rt&&fe.createElement(De.Z,{title:"\u4FDD\u5B58pdf\u5E76\u9000\u51FA",getPopupContainer:()=>xt.current},fe.createElement("span",{className:"",onClick:()=>{const le=document.getElementById("pdfiframe");window.addEventListener("message",Rt,!1),setTimeout(()=>{le.contentWindow.postMessage("getData","*")},300)}},fe.createElement("i",{className:"icon-baocun"}))),fe.createElement(De.Z,{title:"\u5173\u95ED",getPopupContainer:()=>xt.current},fe.createElement("span",{className:"",onClick:()=>{pe()}},fe.createElement("i",{className:"icon-guanbi1"})))),fe.createElement("div",{className:`${xe[Pe]} ${Pe} ${xe.monaco} ${ge==="txt"?"show":"hide"}`},ge==="txt"&&fe.createElement(fe.Fragment,null,fe.createElement(be.ZP,Me({},Ve)))),ge==="audio"&&fe.createElement("audio",{src:`${(Fe==null?void 0:Fe.indexOf("http://"))>-1||(Fe==null?void 0:Fe.indexOf("https://"))>-1?"":"data:audio/mp3;base64,"}${Fe}`,autoPlay:!0}),ge==="video"&&fe.createElement(fe.Fragment,null,(Fe==null?void 0:Fe.indexOf("http"))>-1?fe.createElement("video",{controls:!0,src:`${Fe}`,autoPlay:!0}):fe.createElement("video",{controls:!0,src:`data:video/mp4;base64,${Fe}`,autoPlay:!0})),ge==="office"&&Se&&fe.createElement("iframe",{src:`${at}/office.html?key=${Se.key}&url=${btoa(Se.url)}&callbackUrl=${jt+(Se.callbackUrl||"")}&fileType=${Se.fileType}&title=${Se.title||""}&model=${oe}&officeServer=${se.Z.ONLYOFFICE}&disabledDownload=${!!Xe}`}),ge==="html"&&fe.createElement("iframe",{src:Fe+"&disposition=inline"}),ge==="pdf"&&fe.createElement("iframe",{id:"pdfiframe",src:`${at}/js/pdf/index.html?filename=${Oe||"educoder.pdf"}&url=${encodeURIComponent(Fe)}&disabledDownload=${!!Xe}&model=${oe}`}),ge==="image"&&fe.createElement("img",{src:`${(Fe==null?void 0:Fe.indexOf("http://"))>-1||(Fe==null?void 0:Fe.indexOf("https://"))>-1?"":"data:image/png;base64,"}${Fe}`}),(ge==="other"||ge==="download")&&fe.createElement(fe.Fragment,null,Yt?fe.createElement(we.Z,{customText:"\u5F53\u524D\u6587\u4EF6\u4E0D\u652F\u6301\u9884\u89C8\uFF0C\u53EF\u70B9\u51FB\u4E0B\u8F7D\u67E5\u770B",ButtonTwo:fe.createElement(he.ZP,{icon:fe.createElement("i",{className:"iconfont icon-xiazai4 font14"}),type:"primary",size:"middle",onClick:ne,disabled:Xe},"\u4E0B\u8F7D")}):fe.createElement(he.ZP,{type:"primary",size:"middle",onClick:ne,disabled:Xe},fe.createElement(je.Z,null),"\u70B9\u51FB\u4E0B\u8F7D")),ge==="flowChart"&&fe.createElement("div",{className:"embed"},fe.createElement("iframe",{src:`/drawio/src/main/webapp/viewer.html?id=${Fe||""}&gapi=0&od=0&db=0&gh=0&gl=0`,width:"100%",height:"100%",frameBorder:"0"})))}},95097:function(dn,yt,E){"use strict";E.d(yt,{z:function(){return Ve},Z:function(){return Pe}});var y=E(59301),xe=E(48850),he=E(49142),je=E(64018),be=E(17030),De=E(74128),ye=E(65862),ze=E(15342),we=E(44104),se=E(7939),Ye=E(1012),fe=E(52918),ke=E(59301),Ce=({html:it})=>{const Le=(0,y.useRef)(null),pe=(0,y.useRef)(null),qe=`.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,y.useEffect)(()=>{const Xe=Le.current.attachShadow({mode:"open"});pe.current=document.createElement("div"),pe.current.className="markdown-body",pe.current.innerHTML=it,Xe.appendChild(pe.current);const Ct=document.createElement("style");return Ct.textContent=qe,Xe.appendChild(Ct),()=>{Xe.innerHTML=""}},[]),(0,y.useEffect)(()=>{pe.current&&(pe.current.innerHTML=it)},[it]),ke.createElement("div",{ref:Le})};function me(it){const Le=["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"],pe=new RegExp(`\\b(${Le.join("|")})\\s*=\\s*(?:"[^"]*"|'[^']*'|[^\\s>]*)`,"gi");return it.replace(pe,"").trim()}var ue={mdBody:"mdBody___raKXb",button:"button___Ch5Pc",previewFlowChart:"previewFlowChart___vY1dq"},Me=Object.defineProperty,Ze=Object.getOwnPropertySymbols,Qe=Object.prototype.hasOwnProperty,oe=Object.prototype.propertyIsEnumerable,Fe=(it,Le,pe)=>Le in it?Me(it,Le,{enumerable:!0,configurable:!0,writable:!0,value:pe}):it[Le]=pe,rt=(it,Le)=>{for(var pe in Le||(Le={}))Qe.call(Le,pe)&&Fe(it,pe,Le[pe]);if(Ze)for(var pe of Ze(Le))oe.call(Le,pe)&&Fe(it,pe,Le[pe]);return it};const Ne="@\u2581\u2581@",Ge="@\u2581@",ge=/<pre[^>]*>/g;function Oe(it){let Le=document.createElement("div");return Le.innerHTML=it,Le.childNodes.length===0?"":Le.childNodes[0].nodeValue}const Ve=(it,Le)=>{it=it||"";const pe=/(?:https?:\/\/[^\/]+)?\/api\/attachments\/([A-Za-z0-9+/=]+)(\?.*?)?\)|(?:https?:\/\/[^\/]+)?\/api\/attachments\/([A-Za-z0-9+/=]+)(\?.*?)?|(?:https?:\/\/[^\/]+)?\/attachments\/download\/([A-Za-z0-9+/=]+)(\?.*?)?\//g,qe=/\"(?:https?:\/\/[^\/]+)?\/api\/attachments\/([A-Za-z0-9+/=]+)(\?.*?)?|\"(?:https?:\/\/[^\/]+)?\/attachments\/download\/([A-Za-z0-9+/=]+)(\?.*?)?\//g,Xe=/\(\s+(?:https?:\/\/[^\/]+)?\/files\/uploads\/([A-Za-z0-9+/=]+)(\?.*?)?|\"(?:https?:\/\/[^\/]+)?\/files\/uploads\/([A-Za-z0-9+/=]+)(\?.*?)?\//g,Ct=/(?:https?:\/\/[^\/]+)?\/attachments\/download\/([A-Za-z0-9+/=]+)(\?.*?)?\//g;return Le?it.replaceAll("https://www.educoder.net","").replaceAll("https://www-cdn.educoder.net","").replaceAll("//api/attachments","/api/attachments").replace(pe,(Yt,We,Be,Dt,Zt,lt,Se)=>{const Re=We||Dt||lt,at=Be||Zt||Se||"?";return De.Z.API_SERVER+"/api/attachments/"+Re+at+"&t="+(0,ye.Jn)(Re,Date.now())+(Yt.indexOf(")")>-1?")":"&")}).replaceAll('src="(','src="').replaceAll("src='(",'src="'):(it=it.replace(Ct,(Yt,We,Be,Dt,Zt,lt,Se)=>{const Re=We||Dt||lt,at=Be||Zt||Se||"?";return De.Z.API_SERVER+"/attachments/download/"+Re+at+"&t="+(0,ye.Jn)(Re,Date.now())+(Yt.indexOf(")")>-1?")":"&")}).replace(pe,(Yt,We,Be,Dt,Zt,lt,Se)=>{const Re=We||Dt||lt,at=Be||Zt||Se||"?";return De.Z.API_SERVER+"/api/attachments/"+Re+at+"&t="+(0,ye.Jn)(Re,Date.now())+(Yt.indexOf(")")>-1?")":"&")}).replace(qe,(Yt,We,Be,Dt,Zt)=>{const lt=We||Dt,Se=Be||Zt||"";return'"'+De.Z.API_SERVER+"/api/attachments/"+lt+Se+lt+Se+"&t="+(0,ye.Jn)(lt,Date.now())}).replace(Xe,(Yt,We,Be,Dt,Zt)=>{const lt=We||Dt,Se=Be||Zt||"";return"("+De.Z.API_SERVER+"/files/uploads/"+lt+Se+lt+Se+"&t="+(0,ye.Jn)(lt,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,`
`),it)};var Pe=({value:it="",edit:Le=!1,className:pe,showTextOnly:qe,showLines:Xe,style:Ct={},stylesPrev:Yt={},highlightKeywords:We,showProgramFill:Be,isProgramFill:Dt,disabledFill:Zt=!1,programFillValue:lt,openEditor:Se=()=>{},onFillChange:Re=ft=>{},onFillBlur:at=()=>{},onFillFocus:jt=()=>{}})=>{let ft=me(String(it||""));const Wt=(0,y.useRef)(),xt=(0,y.useRef)(),[$t,Rt]=(0,y.useState)(""),[ce,ne]=(0,y.useState)("office"),[te,le]=(0,y.useState)([]),ve=(0,y.useRef)("a"+(0,Ye.Z)()),re={},de=Vt=>/<style[\s\S]*?>/i.test(Vt||""),Ue=(Vt,Qt,sn)=>{const bt=document.createElement(Vt===Ge?"input":"textarea");bt.style.width="100%",bt.style.height=Vt===Ge?"40px":"151px",bt.rows=5,bt.spellcheck=!1,bt.name="edu-program-fill",bt.placeholder="\u8BF7\u8F93\u5165",bt.dataset.id=Qt;const Lt=Object.keys(re).length;return re[Lt]=bt,`<span class="edu-program-fill-wrap ${Vt===Ge?"":"show"}" style="width:${Vt===Ge?"600px":"100%"}" title=${sn||""}><span>${bt.outerHTML}<span class="edu-program-fill-score" style="margin:0 6px"></span></span></span>`};function pt(Vt){return Vt=Vt.replace(/!\[.*?\]\(.*?\)/g,""),Vt=Vt.replace(/\[.*?\]\(.*?\)/g,""),Vt=Vt.replace(new RegExp("<iframe.*?<\\/iframe>","gs"),""),Vt=Vt.replace(/<embed.*?>/g,""),Vt=Vt.replace(/<img.*?>/g,""),Vt=Vt.replace(new RegExp("<video.*?>.*?<\\/video>","gs"),""),Vt=Vt.replace(new RegExp("<audio.*?>.*?<\\/audio>","gs"),""),Vt=Vt.replace(new RegExp("<style.*?>.*?<\\/style>","gs"),""),Vt=Vt.replace(new RegExp("<script.*?>.*?<\\/script>","gs"),""),Vt}const et=Vt=>!qe&&de(ft)?Vt:Vt.replace(/<style.*?>([\s\S]+?)<\/style>/gim,function(Qt,sn){let bt=sn.replace(/(\n|\r)/g,"").split("}"),Lt=[];return bt.map(un=>{un!=""&&Lt.push(`.${ve.current} ${un}`)}),`<style>${Lt.join("}")}</style>`}),tt=(0,y.useMemo)(()=>{try{const bt=/\(\s+\/api\/attachments\/|\(\/api\/attachments\//g,Lt=/\"\/api\/attachments\/|\"\/attachments\/download\//g,un=/\(\s+\/files\/uploads\/|\"\/files\/uploads\//g,Cn=/\(\/attachments\/download\//g;ft=ft.replace(Cn,"("+De.Z.API_SERVER+"/attachments/download/").replace(bt,"("+De.Z.API_SERVER+"/api/attachments/").replace(Lt,'"'+De.Z.API_SERVER+"/api/attachments/").replace(un,'"'+De.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,`
`),Wt.current.style.display="none"}catch(bt){}if(Be){let bt=-1;return ft=ft.replaceAll("<","&lt;").replaceAll(">","&gt;").replace(/(@▁▁@|@▁@)/g,function(Lt,un,Cn){var ut;return++bt,Ue(Lt,bt,(ut=lt==null?void 0:lt[bt])==null?void 0:ut.value.replaceAll("<","&lt;").replaceAll(">","&gt;"))}),`<pre style="background:#fff;padding:4px">${et(ft||"")}</pre>`}let Vt=et(ft);Vt=(0,he.ZP)(Vt);const Qt=(0,he.ez)();ft.match(/\[TOC\]/)&&(Vt=Vt.replace("<p>[TOC]</p>",(0,he.Qv)()),(0,he.Iy)()),Vt=Vt.replace(/(__special_katext_id_\d+__)/g,(bt,Lt)=>{const{type:un,expression:Cn}=Qt[Lt];return(0,ze.renderToString)(Oe(Cn)||"",{displayMode:un==="block",throwOnError:!1,output:"html"})}),Vt=Vt.replace(/▁/g,"\u2581\u2581\u2581\u2581\u2581"),(0,he.AL)();const sn=document.createElement("div");if(sn.innerHTML=Vt,qe)return sn.innerText;if(We){const bt=We.replace(/[.*+?^${}()|[\]\\]/g,"\\$&");return _e(sn,bt),sn.innerHTML}return setTimeout(()=>Ut(),500),sn.innerHTML},[ft,We]);(0,y.useEffect)(()=>{st.current&&st.current.querySelectorAll(["input","textarea"]).forEach(Qt=>{Qt.oninput=dt,Qt.onblur=gt,Qt.onfocus=St})},[te]),(0,y.useEffect)(()=>{var Vt,Qt,sn,bt,Lt;if(lt!=null&&lt.length)try{const un=st.current.querySelectorAll(".edu-program-fill-score"),Cn=st.current.querySelectorAll('[name="edu-program-fill"]');for(const[ut,kt]of Cn.entries())kt.value=((Vt=lt==null?void 0:lt[ut])==null?void 0:Vt.value)||"",((Qt=lt==null?void 0:lt[ut])==null?void 0:Qt.type)==="warning"?kt.className="program-fill-warning":((sn=lt==null?void 0:lt[ut])==null?void 0:sn.type)==="success"?kt.className="program-fill-success":kt.className="";for(const[ut,kt]of un.entries())kt.innerHTML=(bt=lt==null?void 0:lt[ut])!=null&&bt.score?`${(Lt=lt==null?void 0:lt[ut])==null?void 0:Lt.score}\u5206`:"";le(lt)}catch(un){console.log(un,"error")}},[lt]);const dt=Vt=>{te[Vt.target.dataset.id]=te[Vt.target.dataset.id]||{},te[Vt.target.dataset.id].value=Vt.target.value,le([...te]),Re(te,Vt.target.dataset.id)},gt=Vt=>{te[Vt.target.dataset.id]=te[Vt.target.dataset.id]||{},te[Vt.target.dataset.id].value=Vt.target.value,le([...te]),at(te,Vt.target.dataset.id)},St=Vt=>{te[Vt.target.dataset.id]=te[Vt.target.dataset.id]||{},te[Vt.target.dataset.id].value=Vt.target.value,le([...te]),jt(te,Vt.target.dataset.id)};function _e(Vt,Qt){return Vt.childNodes.forEach(sn=>{var bt;if(sn.childNodes.length>0)_e(sn,Qt);else if(sn.nodeName!=="IMG")if(sn.innerHTML)sn.innerHTML=(bt=sn.innerHTML)==null?void 0:bt.replace(new RegExp(Qt,"gi"),'<span style="color:#0152d9;background-color:#1890ff33">$&</span>');else{const Lt=document.createElement("span");Lt.innerHTML=sn.textContent.replace(new RegExp(Qt,"gi"),'<span style="color:#0152d9;background-color:#1890ff33">$&</span>'),sn.replaceWith(Lt)}})}const st=(0,y.useRef)();he.jb.WebkitLineClamp=Xe,Xe&&(Ct=rt(rt({},Ct),he.jb));function en(Vt){let Qt=Vt.target;if(Qt.tagName.toUpperCase()==="A"){let sn=Qt.getAttribute("href");if(sn.indexOf("office")>-1)Vt.preventDefault(),Rt(sn),ne("office");else if(sn.indexOf("application/pdf")>-1)Vt.preventDefault(),Rt(sn),ne("pdf");else if(sn.indexOf("text/html")>-1)Vt.preventDefault(),Rt(sn),ne("html");else if(sn.startsWith("#")){Vt.preventDefault();let bt=document.getElementById(sn.replace("#",""));bt&&bt.scrollIntoView(!0)}}}const Ut=()=>{var Vt;const Qt=(Vt=st.current)==null?void 0:Vt.querySelectorAll("video");Qt==null||Qt.forEach(sn=>{if(sn.oncontextmenu=()=>!1,sn.src.indexOf(".m3u8")>-1&&!sn.canPlayType("application/vnd.apple.mpegurl")){if(be.ZP.isSupported()){var bt=new be.ZP;bt.loadSource(sn.src),bt.attachMedia(sn)}}})};(0,y.useEffect)(()=>{if(st.current&&tt&&tt.match(ge)&&window.PR.prettyPrint(),st.current)return st.current.addEventListener("click",en),()=>{var Vt;(Vt=st.current)==null||Vt.removeEventListener("click",en),(0,he.AL)(),(0,he.Iy)()}},[tt,st.current,en]);const yn=Vt=>{Vt.target.nodeName==="IMG"&&Vt.target.className.indexOf("draw-flowchart")>-1?(Wt.current.style.zIndex=1,Wt.current.style.display="flex",Wt.current.style.width=Vt.target.clientWidth+"px",Wt.current.style.height=Vt.target.clientHeight+"px",Wt.current.style.top=Vt.target.offsetTop+"px",Wt.current.style.left=Vt.target.offsetLeft+"px",Vt.target.id&&(xt.current=Vt.target.id)):Wt.current.style.display="none"},tn=()=>{Wt.current.style.display="none"};return(0,y.useEffect)(()=>{var Vt;const Qt=sn=>{sn.preventDefault(),sn.clipboardData.setData("text",window.getSelection().toString())};return(Vt=st.current)==null||Vt.addEventListener("copy",Qt),()=>{var sn;(sn=st.current)==null||sn.removeEventListener("copy",Qt)}},[st.current]),y.createElement("div",{style:{position:"relative"},onMouseLeave:tn},qe&&y.createElement("div",{ref:st,className:`${ue.mdBody} `},tt),!qe&&!de(tt)&&y.createElement("div",{ref:st,style:rt({},Ct),onMouseOver:yn,className:`${pe||""} ${Zt?"disabled-fill":""} markdown-body ${ue.mdBody} ${ve.current}`,dangerouslySetInnerHTML:{__html:tt}}),!qe&&de(tt)&&y.createElement(Ce,{html:tt}),y.createElement("div",{ref:Wt,className:`${ue.button} ${Le?"":ue.previewFlowChart}`},y.createElement(we.Z,null,y.createElement(se.ZP,{onClick:()=>{Le?Se(xt.current):(Rt(xt.current),ne("flowChart"))}},Le?"\u7F16\u8F91":"\u9884\u89C8"))),y.createElement(fe.Z,{close:!0,data:$t,type:$t!=null&&$t.length?ce:"",style:rt({},Yt),onClose:()=>Rt("")}))}},49018:function(dn,yt,E){"use strict";E.d(yt,{Z:function(){return Ne}});var y=E(59301),xe=E(9221),he=Object.defineProperty,je=Object.getOwnPropertySymbols,be=Object.prototype.hasOwnProperty,De=Object.prototype.propertyIsEnumerable,ye=(Ge,ge,Oe)=>ge in Ge?he(Ge,ge,{enumerable:!0,configurable:!0,writable:!0,value:Oe}):Ge[ge]=Oe,ze=(Ge,ge)=>{for(var Oe in ge||(ge={}))be.call(ge,Oe)&&ye(Ge,Oe,ge[Oe]);if(je)for(var Oe of je(ge))De.call(ge,Oe)&&ye(Ge,Oe,ge[Oe]);return Ge},we=(Ge,ge)=>{var Oe={};for(var Ve in Ge)be.call(Ge,Ve)&&ge.indexOf(Ve)<0&&(Oe[Ve]=Ge[Ve]);if(Ge!=null&&je)for(var Ve of je(Ge))ge.indexOf(Ve)<0&&De.call(Ge,Ve)&&(Oe[Ve]=Ge[Ve]);return Oe};const Ye={header:{cell:Ge=>{var ge=Ge,{onResize:Oe,width:Ve}=ge,Pe=we(ge,["onResize","width"]);return Ve?y.createElement(xe.Resizable,{width:Ve,height:0,handle:y.createElement("span",{className:"react-resizable-handle",onClick:it=>{it.stopPropagation()}}),onResize:Oe,draggableOpts:{enableUserSelectHack:!1}},y.createElement("th",ze({},Pe))):y.createElement("th",ze({},Pe))}}};var fe=E(70858),ke=Object.defineProperty,Ae=Object.defineProperties,Ce=Object.getOwnPropertyDescriptors,me=Object.getOwnPropertySymbols,ue=Object.prototype.hasOwnProperty,Me=Object.prototype.propertyIsEnumerable,Ze=(Ge,ge,Oe)=>ge in Ge?ke(Ge,ge,{enumerable:!0,configurable:!0,writable:!0,value:Oe}):Ge[ge]=Oe,Qe=(Ge,ge)=>{for(var Oe in ge||(ge={}))ue.call(ge,Oe)&&Ze(Ge,Oe,ge[Oe]);if(me)for(var Oe of me(ge))Me.call(ge,Oe)&&Ze(Ge,Oe,ge[Oe]);return Ge},oe=(Ge,ge)=>Ae(Ge,Ce(ge)),Fe=(Ge,ge)=>{var Oe={};for(var Ve in Ge)ue.call(Ge,Ve)&&ge.indexOf(Ve)<0&&(Oe[Ve]=Ge[Ve]);if(Ge!=null&&me)for(var Ve of me(Ge))ge.indexOf(Ve)<0&&Me.call(Ge,Ve)&&(Oe[Ve]=Ge[Ve]);return Oe},Ne=Ge=>{var ge=Ge,{pagination:Oe,resColumns:Ve,dataSource:Pe,onRow:it}=ge,Le=Fe(ge,["pagination","resColumns","dataSource","onRow"]);const[pe,qe]=(0,y.useState)(!1),[Xe,Ct]=(0,y.useState)([{}]),Yt=(0,y.useRef)(null);(0,y.useEffect)(()=>{let Be=Ve;Be=Be.map((Dt,Zt)=>oe(Qe({},Dt),{onHeaderCell:lt=>({width:lt.width,onResize:We(Zt)})})),Ct(Be)},[]),(0,y.useEffect)(()=>{Yt.current=Xe},[Xe]);const We=Be=>(Dt,{size:Zt})=>{const lt=[...Yt.current];lt[Be]=oe(Qe({},lt[Be]),{width:Zt.width}),Ct(lt)};return y.createElement("div",null,y.createElement(fe.default,oe(Qe({bordered:!0,components:Ye,columns:Xe,dataSource:Pe,pagination:Oe,loading:pe,onRow:it},Le),{rowKey:Be=>Be.key||Be.id})))}},35479:function(dn,yt,E){"use strict";E.d(yt,{Z:function(){return ge},P:function(){return rt}});var y=E(59301),xe=E(28284),he=E(62957),je=E(47889),be=E(37568),De=E(70858),ye={brief:"brief___LOzpE",contentTitle:"contentTitle___xkdcN",content:"content___Vtri0",tips:"tips___tuAtH",antdTable:"antdTable___s8T2N",tableCell:"tableCell___kN9Fw",antdModal:"antdModal___WVBk3",orangeColor:"orangeColor___ryB2u"},ze=E(60979),we=Object.defineProperty,se=Object.defineProperties,Ye=Object.getOwnPropertyDescriptors,fe=Object.getOwnPropertySymbols,ke=Object.prototype.hasOwnProperty,Ae=Object.prototype.propertyIsEnumerable,Ce=(Oe,Ve,Pe)=>Ve in Oe?we(Oe,Ve,{enumerable:!0,configurable:!0,writable:!0,value:Pe}):Oe[Ve]=Pe,me=(Oe,Ve)=>{for(var Pe in Ve||(Ve={}))ke.call(Ve,Pe)&&Ce(Oe,Pe,Ve[Pe]);if(fe)for(var Pe of fe(Ve))Ae.call(Ve,Pe)&&Ce(Oe,Pe,Ve[Pe]);return Oe},ue=(Oe,Ve)=>se(Oe,Ye(Ve)),Me=(Oe,Ve)=>{var Pe={};for(var it in Oe)ke.call(Oe,it)&&Ve.indexOf(it)<0&&(Pe[it]=Oe[it]);if(Oe!=null&&fe)for(var it of fe(Oe))Ve.indexOf(it)<0&&Ae.call(Oe,it)&&(Pe[it]=Oe[it]);return Pe},Ze=(Oe,Ve,Pe)=>new Promise((it,Le)=>{var pe=Ct=>{try{Xe(Pe.next(Ct))}catch(Yt){Le(Yt)}},qe=Ct=>{try{Xe(Pe.throw(Ct))}catch(Yt){Le(Yt)}},Xe=Ct=>Ct.done?it(Ct.value):Promise.resolve(Ct.value).then(pe,qe);Xe((Pe=Pe.apply(Oe,Ve)).next())});const Qe=({studentNames:Oe,total:Ve})=>{const Pe=["","\u4E00","\u4E24","\u4E09"];return Ve>3?y.createElement(y.Fragment,null,"\u8BFE\u5802\u5185\u6709",y.createElement("span",{className:ye.orangeColor},Oe==null?void 0:Oe.join("\u3001")),"\u7B49",y.createElement("span",{className:ye.orangeColor},Ve),"\u540D\u5B66\u751F"):y.createElement(y.Fragment,null,"\u8BFE\u5802\u5185\u6709",y.createElement("span",{className:ye.orangeColor},Oe==null?void 0:Oe.join("\u3001")),Pe[Ve],"\u540D\u5B66\u751F")},oe=({used:Oe,copy:Ve,canNotCopy:Pe,studentNames:it,studentCount:Le,inPaper:pe,is_random:qe=!1,position:Xe=""})=>{const Ct=()=>{if(Ve>0&&Pe>0)return y.createElement(y.Fragment,null,"\u5176\u4E2D",y.createElement("span",{className:ye.orangeColor},Ve),"\u4E2A\u9879\u76EE\u652F\u6301\u590D\u5236\uFF0C",y.createElement("span",{className:ye.orangeColor},Pe),"\u4E2A\u9879\u76EE\u4E0D\u652F\u6301\u590D\u5236");if(Ve>0&&Pe===0)return y.createElement(y.Fragment,null,"\u5176\u4E2D",y.createElement("span",{className:ye.orangeColor},Ve),"\u4E2A\u9879\u76EE\u652F\u6301\u590D\u5236");if(Ve===0&&Pe>0)return y.createElement(y.Fragment,null,"\u5176\u4E2D",y.createElement("span",{className:ye.orangeColor},Pe),"\u4E2A\u9879\u76EE\u4E0D\u652F\u6301\u590D\u5236")},Yt=Xe||(pe?"\u8BD5\u5377":"\u8BFE\u7A0B");return y.createElement("span",null,y.createElement(Qe,{studentNames:it,total:Le}),"\u5B66\u4E60\u8FC7",Yt,"\u4E2D\u7684",y.createElement("span",{className:ye.orangeColor},Oe),"\u4E2A\u9879\u76EE\uFF0C",Ct(),"\u3002\u8BF7\u9009\u62E9",qe?"":"\u662F\u5426\u7EE7\u7EED\u4F7F\u7528\u548C","\u662F\u5426\u590D\u5236\u4E3A\u65B0\u9879\u76EE\u53D1\u9001\u81F3\u8BFE\u5802\u4E2D\uFF1F")},Fe=({onCancel:Oe,onOk:Ve,visible:Pe,inPaper:it,renderData:Le,type:pe,isMultipleCourse:qe=!1})=>{const[Xe]=xe.default.useForm(),[Ct,Yt]=(0,y.useState)(1),[We,Be]=(0,y.useState)(!1),Dt=(0,y.useMemo)(()=>(Le==null?void 0:Le.total_num)===1&&(Le==null?void 0:Le.can_copy_num)===1,[Le]),Zt=(0,y.useMemo)(()=>{var lt;return(lt=Le==null?void 0:Le.course_data_list)==null?void 0:lt.filter(Se=>Se.is_show)},[Le]);return y.createElement(y.Fragment,null,Dt?y.createElement(he.default,{centered:!0,closable:!0,open:Pe,destroyOnClose:!0,title:"\u63D0\u793A",className:ye.antdModal,width:682,confirmLoading:We,onCancel:Oe,onOk:()=>Ze(void 0,null,function*(){var lt;Be(!0);let Se=Ct;if(qe){const Re=me({},Xe.getFieldsValue());Se=(lt=Le==null?void 0:Le.course_data_list)==null?void 0:lt.map(at=>Re[at.id]!==void 0?ue(me({},at),{is_copy:Re[at.id]}):at)}yield Ve(Se),Be(!1)})},y.createElement("div",{className:ye.content,style:{marginBottom:20}},qe?"\u68C0\u6D4B\u5230\u4EE5\u4E0B\u8BFE\u5802\u5DF2\u5728\u6559\u5B66\u8BFE\u5802\u4E2D\u4F7F\u7528\uFF0C\u8BF7\u95EE\u662F\u5426\u590D\u5236\u6210\u65B0\u7684\u5B9E\u8BAD\u53D1\u9001\u81F3\u6559\u5B66\u8BFE\u5802\u4E2D?":y.createElement(y.Fragment,null,y.createElement(Qe,{studentNames:Le==null?void 0:Le.student_names,total:Le==null?void 0:Le.student_count}),"\u5B66\u4E60\u8FC7\u8BE5\u5B9E\u8DF5\u9879\u76EE\u3002\u8BE5\u9879\u76EE\u652F\u6301\u590D\u5236\uFF0C\u8BF7\u9009\u62E9\u662F\u5426\u5C06\u8BE5\u9879\u76EE\u590D\u5236\u4E3A\u65B0\u9879\u76EE\u53D1\u9001\u81F3\u8BFE\u5802\u4E2D\uFF1F")),qe?y.createElement(xe.default,{form:Xe,preserve:!1},Zt==null?void 0:Zt.map(lt=>y.createElement(y.Fragment,{key:lt.id},y.createElement("h3",{className:"ml15 mb5"},lt.name),y.createElement(xe.default.Item,{name:lt.id,initialValue:1},y.createElement(je.ZP.Group,{className:ye.content},y.createElement(je.ZP,{value:1,style:{color:"#464f66"}},"\u590D\u5236\u5B9E\u8BAD"),y.createElement(je.ZP,{value:0,style:{color:"#464f66"}},"\u4E0D\u590D\u5236\u5B9E\u8BAD")))))):y.createElement(je.ZP.Group,{value:Ct,onChange:lt=>Yt(lt.target.value),className:ye.content,style:{marginBottom:30}},y.createElement(je.ZP,{value:1,style:{color:"#464f66"}},"\u590D\u5236"),y.createElement(je.ZP,{value:0,style:{color:"#464f66"}},"\u4E0D\u590D\u5236")),y.createElement("div",null,y.createElement("div",{className:ye.content,style:{marginBottom:10}},"* \u8BF4\u660E\uFF1A"),y.createElement("div",{className:ye.content,style:{marginBottom:20}},"1\u3001\u590D\u5236\uFF1A\u7CFB\u7EDF\u5C06\u590D\u5236\u5E76\u521B\u5EFA\u4E00\u4E2A\u65B0\u7684\u9879\u76EE\u53D1\u9001\u5230\u8BFE\u5802\u4E2D\u4F7F\u7528\uFF08\u4E0D\u4F1A\u590D\u5236\u5B66\u751F\u7684\u6311\u6218\u8BB0\u5F55\uFF09\uFF0C\u65B0\u7684\u9879\u76EE\u652F\u6301\u8FDB\u884C\u7F16\u8F91\u5E76\u4E0E\u539F\u9879\u76EE\u4FE1\u606F\u4E92\u4E0D\u5F71\u54CD\u3002"),y.createElement("div",{className:`${ye.content} ${ye.orangeColor}`},"2\u3001\u4E0D\u590D\u5236\uFF1A\u5F53\u524D\u9879\u76EE\u4F1A\u88AB\u76F4\u63A5\u53D1\u9001\u5230\u8BFE\u5802\u4E2D\u4F7F\u7528\uFF0C\u6311\u6218\u8FC7\u8BE5\u9879\u76EE\u7684\u5B66\u751F\u518D\u6B21\u8FDB\u5165\u9879\u76EE\u5F00\u542F\u6311\u6218\u65F6\uFF0C\u4F1A\u6E05\u7A7A\u4E4B\u524D\u7684\u6311\u6218\u8BB0\u5F55\u3002"))):y.createElement(he.default,{centered:!0,closable:!0,destroyOnClose:!0,open:Pe,confirmLoading:We,title:"\u63D0\u793A",width:682,onCancel:Oe,onOk:()=>Ze(void 0,null,function*(){var lt;Be(!0);let Se=0;if(qe){const Re=me({},Xe.getFieldsValue());Se=(lt=Le==null?void 0:Le.course_data_list)==null?void 0:lt.map(at=>Re[at.id]!==void 0?ue(me({},at),{is_use:Re[at.id]}):at)}yield Ve(Se),Be(!1)})},y.createElement("div",{className:ye.content},y.createElement(Qe,{studentNames:Le==null?void 0:Le.student_names,total:Le==null?void 0:Le.student_count}),"\u5B66\u4E60\u8FC7\u8BE5\u5B9E\u8DF5\u9879\u76EE\u3002",qe?y.createElement(xe.default,{form:Xe,preserve:!1},y.createElement("h3",null,"\u5F53\u524D\u5B9E\u8BAD\u4E0D\u53EF\u590D\u5236\uFF0C\u5DF2\u7ECF\u68C0\u6D4B\u5230\u4EE5\u4E0B\u8BFE\u5802\u5B58\u5728\u8BE5\u5B9E\u8BAD\uFF0C\u540C\u4E00\u5B9E\u8BAD\u5728\u8BFE\u5802\u4E2D\u91CD\u590D\u4F7F\u7528\u65F6\uFF0C\u4F1A\u5BFC\u81F4\u6210\u7EE9\u4E92\u76F8\u5F71\u54CD\uFF0C\u8BF7\u786E\u8BA4\u662F\u5426\u7EE7\u7EED\u4F7F\u7528"),Zt==null?void 0:Zt.map(lt=>y.createElement(y.Fragment,{key:lt.id},y.createElement("h3",{className:"ml15 mb5"},lt.name),y.createElement(xe.default.Item,{name:lt.id,initialValue:1},y.createElement(je.ZP.Group,{className:ye.content},y.createElement(je.ZP,{value:1,style:{color:"#464f66"}},"\u7EE7\u7EED\u4F7F\u7528"),y.createElement(je.ZP,{value:0,style:{color:"#464f66"}},"\u4E0D\u4F7F\u7528")))))):y.createElement("div",null,"\u8BE5\u9879\u76EE\u4E0D\u652F\u6301\u590D\u5236\uFF0C\u82E5\u786E\u8BA4\u7EE7\u7EED\u53D1\u9001\uFF0C",y.createElement("span",{className:ye.orangeColor},"\u5F53\u524D\u9879\u76EE\u4F1A\u88AB\u76F4\u63A5\u53D1\u9001\u5230\u8BFE\u5802\u4E2D\u4F7F\u7528\uFF0C\u6311\u6218\u8FC7\u8BE5\u9879\u76EE\u7684\u5B66\u751F\u518D\u6B21\u8FDB\u5165\u9879\u76EE\u5F00\u542F\u6311\u6218\u65F6\uFF0C\u4F1A\u6E05\u7A7A\u4E4B\u524D\u7684\u6311\u6218\u8BB0\u5F55\u3002"),"\uFF08\u5982\u679C\u4E0D\u60F3\u6E05\u7A7A\u5B66\u751F\u4E4B\u524D\u7684\u6311\u6218\u8BB0\u5F55\uFF0C\u5EFA\u8BAE\u53C2\u7167\u8BE5\u5B9E\u8DF5\u9879\u76EE\u7684\u5185\u5BB9\u81EA\u884C\u521B\u5EFA\u4E00\u4E2A\u65B0\u7684\u9879\u76EE\uFF0C\u6216\u8005\u5C1D\u8BD5\u8054\u7CFB\u9879\u76EE\u521B\u5EFA\u4EBA\u5F00\u653E\u672C\u9879\u76EE\u7684\u590D\u5236\u6743\u9650\uFF09\u3002"))))},rt=function(){const[Oe,Ve]=(0,y.useState)(!1),[Pe,it]=(0,y.useState)();return[Oe,()=>Ve(!1),Pe,qe=>Ze(this,null,function*(){var Xe;const Ct=qe,{isImportMultipleCourse:Yt=!1}=Ct,We=Me(Ct,["isImportMultipleCourse"]);console.log(qe);const Be=(qe==null?void 0:qe.result)||(yield(0,ze.Tr)(We));return"status"in Be?!1:Yt?((Xe=Be==null?void 0:Be.course_data_list)==null?void 0:Xe.some(Zt=>Zt.is_show))?(it(Be),Ve(!0),!0):Be.course_data_list||[]:Be.student_count===0?!1:(it(Be),Ve(!0),!0)})]},Ne=Oe=>{const[Ve]=xe.default.useForm(),[Pe,it]=(0,y.useState)(!1),{onCancel:Le,onOk:pe,visible:qe,inPaper:Xe=!1,renderData:Ct,type:Yt,isMultipleCourse:We=!1,position:Be}=Oe;let Dt=(0,y.useMemo)(()=>Xe?[{title:"\u5B9E\u8DF5\u9879\u76EE\u540D\u79F0",dataIndex:"name",width:424,align:"center",ellipsis:!0,className:ye.tableCell,render(Se,Re){return y.createElement("a",{href:`/shixuns/${Re.identifier}/challenges`,target:"_blank"},Se)}},{title:"\u662F\u5426\u590D\u5236",dataIndex:"is_copy",align:"center",render:(Se,Re)=>y.createElement(y.Fragment,null,y.createElement(xe.default.Item,{name:[`${Yt==="subject"?Re.stage_shixun_id:Re.shixun_course_id||Re.id}`,"is_copy"],initialValue:1},y.createElement(je.ZP.Group,null,y.createElement(je.ZP,{value:1},"\u662F"),y.createElement(je.ZP,{value:0},"\u5426"))),y.createElement(xe.default.Item,{name:[`${Yt==="subject"?Re==null?void 0:Re.stage_shixun_id:Re.shixun_course_id||Re.id}`,"is_use"],hidden:!0,initialValue:1},y.createElement(be.default,{type:"hidden"})))}]:[{title:"\u5B9E\u8DF5\u9879\u76EE\u540D\u79F0",dataIndex:"name",width:424,align:"center",ellipsis:!0,className:ye.tableCell,render(Se,Re){return y.createElement("a",{href:`/shixuns/${Re.identifier}/challenges`,target:"_blank"},Se)}},{title:"\u662F\u5426\u4F7F\u7528",dataIndex:"is_use",align:"center",render:(Se,Re)=>y.createElement(xe.default.Item,{name:[`${Yt==="subject"?Re.stage_shixun_id:Re.shixun_course_id||Re.id}`,"is_use"],initialValue:1},y.createElement(je.ZP.Group,null,y.createElement(je.ZP,{value:1},"\u662F"),y.createElement(je.ZP,{value:0},"\u5426")))},{title:"\u662F\u5426\u590D\u5236",dataIndex:"is_copy",align:"center",render:(Se,Re)=>y.createElement(xe.default.Item,{name:[`${Yt==="subject"?Re.stage_shixun_id:Re.shixun_course_id||Re.id}`,"is_copy"],initialValue:1},y.createElement(je.ZP.Group,null,y.createElement(je.ZP,{value:1},"\u662F"),y.createElement(je.ZP,{value:0},"\u5426")))}],[Xe]),Zt=(0,y.useMemo)(()=>Xe?[{title:"\u5B9E\u8DF5\u9879\u76EE\u540D\u79F0",dataIndex:"name",width:424,className:ye.tableCell,align:"center",ellipsis:!0,render:(Se,Re)=>y.createElement(y.Fragment,null,y.createElement("a",{href:`/shixuns/${Re.identifier}/challenges`,target:"_blank"},Se),y.createElement(xe.default.Item,{name:[`${Yt==="subject"?Re==null?void 0:Re.stage_shixun_id:Re.shixun_course_id||Re.id}`,"is_copy"],hidden:!0,initialValue:0},y.createElement(be.default,{type:"hidden"})),y.createElement(xe.default.Item,{name:[`${Yt==="subject"?Re==null?void 0:Re.stage_shixun_id:Re.shixun_course_id||Re.id}`,"is_use"],hidden:!0,initialValue:1},y.createElement(be.default,{type:"hidden"})))}]:[{title:"\u5B9E\u8DF5\u9879\u76EE\u540D\u79F0",dataIndex:"name",width:424,className:ye.tableCell,ellipsis:!0,align:"center",render:(Se,Re)=>y.createElement("a",{href:`/shixuns/${Re.identifier}/challenges`,target:"_blank"},Se)},{title:"\u662F\u5426\u4F7F\u7528",dataIndex:"is_use",align:"center",render:(Se,Re)=>y.createElement(y.Fragment,null,y.createElement(xe.default.Item,{name:[`${Yt==="subject"?Re==null?void 0:Re.stage_shixun_id:Re.shixun_course_id||Re.id}`,"is_use"],initialValue:0},y.createElement(je.ZP.Group,null,y.createElement(je.ZP,{value:1},"\u662F"),y.createElement(je.ZP,{value:0},"\u5426"))),y.createElement(xe.default.Item,{name:[`${Yt==="subject"?Re==null?void 0:Re.stage_shixun_id:Re.shixun_course_id||Re.id}`,"is_copy"],hidden:!0,initialValue:0},y.createElement(be.default,{type:"hidden"})))}],[Xe]);if(We){const Se={title:"\u8BFE\u5802\u540D\u79F0",ellipsis:!0,dataIndex:"course_name",width:190,align:"center",className:ye.tableCell,render:(Re,at)=>y.createElement("a",{href:`/classrooms/${at.course_id}`},Re)};Dt=[Se,...Dt],Zt=[Se,...Zt]}const lt=(0,y.useMemo)(()=>oe({used:Ct==null?void 0:Ct.repeat_shixun_num,copy:Ct==null?void 0:Ct.can_copy_num,canNotCopy:Ct==null?void 0:Ct.no_copy_num,studentNames:Ct==null?void 0:Ct.student_names,studentCount:Ct==null?void 0:Ct.student_count,is_random:Ct==null?void 0:Ct.is_random,inPaper:Xe,position:Be}),[Ct,Xe,Be]);return y.createElement(he.default,{title:"\u63D0\u793A",centered:!0,open:qe,confirmLoading:Pe,onOk:()=>Ze(void 0,null,function*(){it(!0);const Se=Ve.getFieldsValue(),Re=Object.keys(Se).map(at=>({id:parseInt(at.split("_")[0]),course_id:parseInt(at.split("_")[1]),is_use:Se[at].is_use,is_copy:Se[at].is_copy}));yield pe(Re),it(!1)}),onCancel:Le,width:880,okText:"\u786E\u8BA4",className:ye.antdModal,destroyOnClose:!0},y.createElement(xe.default,{form:Ve,preserve:!1},y.createElement("div",{className:ye.brief},lt),y.createElement("div",{style:{marginBottom:30}},y.createElement("div",{style:{marginBottom:20}},"* \u8BF4\u660E"),y.createElement("div",{style:{marginBottom:20}},"1\u3001\u590D\u5236\uFF1A\u7CFB\u7EDF\u5C06\u590D\u5236\u5E76\u521B\u5EFA\u4E00\u4E2A\u65B0\u7684\u9879\u76EE\u53D1\u9001\u5230\u8BFE\u5802\u4E2D\u4F7F\u7528\uFF08\u4E0D\u4F1A\u590D\u5236\u5B66\u751F\u7684\u6311\u6218\u8BB0\u5F55\uFF09\uFF0C\u65B0\u7684\u9879\u76EE\u652F\u6301\u8FDB\u884C\u7F16\u8F91\u5E76\u4E0E\u539F\u9879\u76EE\u4FE1\u606F\u4E92\u4E0D\u5F71\u54CD\u3002"),y.createElement("div",{className:ye.orangeColor},"2\u3001\u4E0D\u590D\u5236\uFF1A\u5F53\u524D\u9879\u76EE\u4F1A\u88AB\u76F4\u63A5\u53D1\u9001\u5230\u8BFE\u5802\u4E2D\u4F7F\u7528\uFF0C\u6311\u6218\u8FC7\u8BE5\u9879\u76EE\u7684\u5B66\u751F\u518D\u6B21\u8FDB\u5165\u9879\u76EE\u5F00\u542F\u6311\u6218\u65F6\uFF0C\u4F1A\u6E05\u7A7A\u4E4B\u524D\u7684\u6311\u6218\u8BB0\u5F55\u3002")),(Ct==null?void 0:Ct.can_copy_num)>0&&y.createElement("div",null,y.createElement("div",{className:ye.contentTitle},"\u652F\u6301\u590D\u5236\u7684\u9879\u76EE"),y.createElement(De.default,{columns:Dt,className:ye.antdTable,dataSource:Ct==null?void 0:Ct.can_copy_list,rowKey:Yt==="subject"?"stage_shixun_id":"id",pagination:!1,scroll:{y:240},bordered:!0})),(Ct==null?void 0:Ct.no_copy_num)>0&&y.createElement("div",null,y.createElement("div",{className:ye.contentTitle},"\u4E0D\u652F\u6301\u590D\u5236\u7684\u9879\u76EE"),y.createElement(De.default,{columns:Zt,className:ye.antdTable,dataSource:Ct==null?void 0:Ct.no_copy_list,rowKey:Yt==="subject"?"stage_shixun_id":"id",pagination:!1,scroll:{y:200},bordered:!0})),(Ct==null?void 0:Ct.no_use_list.length)>0&&(Ct==null?void 0:Ct.no_use_list.map(Se=>y.createElement("div",{key:Yt==="subject"?Se.stage_shixun_id:Se.shixun_course_id||Se.id},y.createElement(xe.default.Item,{name:[`${Yt==="subject"?Se==null?void 0:Se.stage_shixun_id:Se.shixun_course_id||Se.id}`,"is_copy"],hidden:!0,initialValue:0},y.createElement(be.default,{type:"hidden"})),y.createElement(xe.default.Item,{name:[`${Yt==="subject"?Se==null?void 0:Se.stage_shixun_id:Se.shixun_course_id||Se.id}`,"is_use"],hidden:!0,initialValue:1},y.createElement(be.default,{type:"hidden"})))))))};var ge=Oe=>{const{modalType:Ve}=Oe;return Ve==="multiple"?y.createElement(Ne,me({},Oe)):y.createElement(Fe,me({},Oe))}},83028:function(dn,yt,E){"use strict";E.d(yt,{Z:function(){return ze}});var y=E(59301),xe={flex_box_center:"flex_box_center___rQJfc",flex_space_between:"flex_space_between___MDW24",flex_box_vertical_center:"flex_box_vertical_center___RZbAv",flex_box_center_end:"flex_box_center_end___ILhJA",flex_box_column:"flex_box_column___Fmij7",orangeColor:"orangeColor___U5vU6",redColor:"redColor___qYa6X",statustitle:"statustitle___pTBLm",statusbody:"statusbody___qUPQx",flex:"flex___VtL45"},he=E(62957),je="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAA4AAAAPCAYAAADUFP50AAAAAXNSR0IArs4c6QAAAUFJREFUOE+V0ktKw1AUxvH/rVqIxT4wkgwEUSmK4APRBfiYCKU7cOZEBOkadAMZiwhuwJETBQciFRTtwJkPBLW2BRGrRanU9kpN2sSYiGaWc/PjuznnCN2Qh8AkPo+AzXxKLLiPhW7ICtDqB4GzQkqM/huGFZgZcDCBBDaaicsTMKbZH2xfwdY5/ICAEGSasC0AwRYblj+gKkENwfy4WS9V4LHsgsk49EZteJKHdBa6w7AybdZzr3D64ILxGKjtNrx9gfsSRBSYtf6xZh1/u+qQClrIhtdFuHmGvhisJcz65RPsZl2Jc/3QE7FhpgDHuT80x2+O9cR1K/GiCDt3rkQ/+Ns43gDFD0YVmHIuQGOOmiGTARhxwkGd1cZ7Vwd0OppWr3911StpcV++Iwn67q/kyBMuHchErcqwFxT1XZXsfQJqo2zI6kdI4QAAAABJRU5ErkJggg==",be="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAA4AAAAOCAYAAAAfSC3RAAAAAXNSR0IArs4c6QAAAW1JREFUOE+dkj1IQmEUht9z/blp4VQEjS39eW+oSCFCpFCI4BiKFGWWQUSrCjVVg+lQNJZQDZGNTm1B4NTibS3n2lo0wuqEN8i/a0HfeN7v+d73nO+QJEcKAJzQPAwCnSpKNtoqkyRHqgDrtUFAb6Rnedx43KgT6O5P0GQijFiNLe/Sy3/B8g+YTIRRrb5jP32JYNADr8eOldU0RJEqVlm8r1kyuA/AIEB10OWy4vBgA4ryCIdjCJlMDmfn1zAY6EmyGY/UrAwrgGATWKsn4mGEQl4Uiw+YX9hT73aZiEcl8eMbZAGA0AT6/ZPY3Ykiny/A55tA7uoGqdQFBD2VbDbDugoSTTEj3gTGYgG8Vt7UeG63hNkZJ7a2s+gw1XqPnf5REKhkt4kxNakO08ycbOtRC/7FcakCwNTJ0WwmDI+1LUCZZDkSYGa5Eewf0G0KAnprNYtFQHdPbZhNS1cmLafF5bUTJsyBSVMHPm+/ADTrfrtCH68WAAAAAElFTkSuQmCC",De=(we,se,Ye)=>new Promise((fe,ke)=>{var Ae=ue=>{try{me(Ye.next(ue))}catch(Me){ke(Me)}},Ce=ue=>{try{me(Ye.throw(ue))}catch(Me){ke(Me)}},me=ue=>ue.done?fe(ue.value):Promise.resolve(ue.value).then(Ae,Ce);me((Ye=Ye.apply(we,se)).next())}),ze=({type:we,resdata:se,onok:Ye,oktext:fe,okloading:ke})=>{const[Ae,Ce]=(0,y.useState)(!1),{can_copy_list:me,can_copy_num:ue,challenge_type:Me,course_data_list:Ze,no_copy_list:Qe,no_copy_num:oe,no_use_list:Fe,no_use_num:rt,repeat_shixun_num:Ne,student_count:Ge,total_num:ge,use_num:Oe}=se;let Ve=ue>0||we==="exercise";(0,y.useEffect)(()=>{(se==null?void 0:se.student_count)>0&&Ce(!0)},[se]),console.log("---11",ke),(0,y.useEffect)(()=>{ke||Ce(!1)},[ke]);const Pe=()=>{if(we==="exercise"&&Me===1)return y.createElement(y.Fragment,null,"\u8BFE\u5802\u5185\u6709",y.createElement("span",{className:xe.orangeColor},Ge),"\u540D\u5B66\u751F\u5DF2\u5728\u5176\u4ED6\u8003\u8BD5\u4E2D\u6311\u6218\u8FC7\u5176\u4E2D\u7684",y.createElement("span",{className:xe.orangeColor},Oe),"\u4E2A\u5B9E\u8DF5\u9879\u76EE\uFF0C",y.createElement("span",{className:xe.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(we==="exercise"&&Me===2)return y.createElement(y.Fragment,null,"\u8BFE\u5802\u5185\u6709",y.createElement("span",{className:xe.orangeColor},Ge),"\u540D\u5B66\u751F\u5DF2\u5728\u8BFE\u5802\u5B9E\u9A8C\u4E2D\u6311\u6218\u8FC7\u5176\u4E2D\u7684",y.createElement("span",{className:xe.orangeColor},Oe),"\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",y.createElement("span",{className:xe.redColor},"\u91CD\u590D\u53D1\u5E03\u4F1A\u5BFC\u81F4\u8FD9\u90E8\u5206\u5B66\u751F\u65E0\u6CD5\u518D\u63D0\u4EA4\u4F5C\u4E1A\u3002"));if(we==="shixun"&&Me===1)return y.createElement(y.Fragment,null,"\u8BFE\u5802\u5185\u6709",y.createElement("span",{className:xe.orangeColor},Ge),"\u540D\u5B66\u751F\u5DF2\u5728\u8003\u8BD5\u4E2D\u6311\u6218\u8FC7\u8BE5\u5B9E\u8DF5\u9879\u76EE\uFF0C",y.createElement("span",{className:xe.redColor},"\u91CD\u590D\u53D1\u9001\u4F1A\u5BFC\u81F4\u8FD9\u90E8\u5206\u5B66\u751F\u65E0\u6CD5\u518D\u63D0\u4EA4\u4F5C\u4E1A\u3002"));if(we==="shixun"&&Me===2)return y.createElement(y.Fragment,null,"\u8BFE\u5802\u5185\u6709",y.createElement("span",{className:xe.orangeColor},Ge),"\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",y.createElement("span",{className:xe.redColor},"\u91CD\u590D\u53D1\u9001\u4F1A\u5BFC\u81F4\u8FD9\u90E8\u5206\u5B66\u751F\u65E0\u6CD5\u518D\u63D0\u4EA4\u4F5C\u4E1A\u3002"));if(we==="subject"&&Me===1)return y.createElement(y.Fragment,null,"\u8BFE\u5802\u5185\u6709",y.createElement("span",{className:xe.orangeColor},Ge),"\u540D\u5B66\u751F\u5DF2\u5728\u8003\u8BD5\u4E2D\u6311\u6218\u8FC7\u5176\u4E2D\u7684",y.createElement("span",{className:xe.orangeColor},Oe),"\u4E2A\u5B9E\u8DF5\u9879\u76EE\uFF0C",y.createElement("span",{className:xe.redColor},"\u91CD\u590D\u53D1\u9001\u4F1A\u5BFC\u81F4\u8FD9\u90E8\u5206\u5B66\u751F\u65E0\u6CD5\u518D\u63D0\u4EA4\u4F5C\u4E1A\u3002"));if(we==="subject"&&Me===2)return y.createElement(y.Fragment,null,"\u8BFE\u5802\u5185\u6709 ",y.createElement("span",{className:xe.orangeColor},Ge)," \u540D\u5B66\u751F\u5DF2\u5728\u8BFE\u5802\u5B9E\u9A8C\u6311\u6218\u8FC7\u5176\u4E2D\u7684 ",y.createElement("span",{className:xe.orangeColor},Oe)," \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",y.createElement("span",{className:xe.redColor},"\u91CD\u590D\u53D1\u9001\u4F1A\u5BFC\u81F4\u8FD9\u90E8\u5206\u5B66\u751F\u65E0\u6CD5\u518D\u63D0\u4EA4\u4F5C\u4E1A\u3002"));if(we==="exercisepush")return y.createElement(y.Fragment,null,"\u8BFE\u5802\u5185\u6709",y.createElement("span",{className:xe.orangeColor},Ge),"\u540D\u5B66\u751F\u5DF2\u5728\u5176\u4ED6\u8003\u8BD5\u4E2D\u6311\u6218\u8FC7\u8BD5\u5377\u4E2D\u7684",y.createElement("span",{className:xe.orangeColor},Oe),"\u4E2A\u5B9E\u8DF5\u9879\u76EE \uFF0C",y.createElement("span",{className:xe.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(we==="shixunpush"&&Me===1)return y.createElement(y.Fragment,null,"\u8BFE\u5802\u5185\u6709",y.createElement("span",{className:xe.orangeColor},Ge),"\u540D\u5B66\u751F\u5DF2\u5728\u8003\u8BD5\u4E2D\u6311\u6218\u8FC7\u5176\u4E2D\u7684",y.createElement("span",{className:xe.orangeColor},Oe),"\u4E2A\u5B9E\u8DF5\u9879\u76EE\uFF0C",y.createElement("span",{className:xe.redColor},"\u91CD\u590D\u53D1\u5E03\u4F1A\u5BFC\u81F4\u8FD9\u90E8\u5206\u5B66\u751F\u65E0\u6CD5\u518D\u63D0\u4EA4\u4F5C\u4E1A\u3002"));if(we==="shixunpush"&&Me===2)return y.createElement(y.Fragment,null,"\u8BFE\u5802\u5185\u6709",y.createElement("span",{className:xe.orangeColor},Ge),"\u540D\u5B66\u751F\u5DF2\u5728\u8BFE\u5802\u5B9E\u9A8C\u4E2D\u6311\u6218\u8FC7",y.createElement("span",{className:xe.orangeColor},Oe),"\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",y.createElement("span",{className:xe.redColor},"\u91CD\u590D\u53D1\u5E03\u4F1A\u5BFC\u81F4\u8FD9\u90E8\u5206\u5B66\u751F\u65E0\u6CD5\u518D\u63D0\u4EA4\u4F5C\u4E1A\u3002"))},it=()=>{if(we==="exercise"||we==="subject"||we==="exercisepush"||we==="shixunpush")return y.createElement("div",{style:{marginTop:20}},oe>0&&y.createElement("div",null,y.createElement("span",{className:xe.flex},y.createElement("img",{src:be,style:{width:14}}),y.createElement("span",{className:xe.statustitle},"\u4E0D\u652F\u6301\u590D\u5236\u7684\u5B9E\u8DF5\u9879\u76EE")),y.createElement("div",{className:xe.statusbody},we==="exercise"&&y.createElement("div",{style:{marginBottom:15}},"\u6CA1\u6709\u590D\u5236\u6743\u9650\u7684\u5B9E\u8DF5\u9879\u76EE\uFF0C",y.createElement("span",{className:xe.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"),(we==="subject"||we==="exercisepush")&&y.createElement("div",{style:{marginBottom:15}},"\u6CA1\u6709\u590D\u5236\u6743\u9650\u7684\u5B9E\u8DF5\u9879\u76EE\uFF0C",Ve&&y.createElement("span",{className:xe.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"),we==="shixunpush"&&y.createElement("div",{style:{marginBottom:15}},"\u6CA1\u6709\u590D\u5236\u6743\u9650\u7684\u5B9E\u8DF5\u9879\u76EE\uFF0C",Ve&&y.createElement("span",{className:xe.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"),y.createElement("div",null,Qe==null?void 0:Qe.map((Le,pe)=>y.createElement("a",{href:`/shixuns/${Le.identifier}/challenges`,target:"_blank"},"\u300A",Le==null?void 0:Le.name,"\u300B",pe+1!==oe&&"\u3001"))))),ue>0&&y.createElement("div",{style:{marginTop:20}},y.createElement("span",{className:xe.flex},y.createElement("img",{src:je,style:{width:14}}),y.createElement("span",{className:xe.statustitle},"\u652F\u6301\u590D\u5236\u7684\u5B9E\u8DF5\u9879\u76EE")),y.createElement("div",{className:xe.statusbody},we==="exercise"&&y.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"),(we==="subject"||we==="exercisepush")&&y.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"),we==="shixunpush"&&y.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"),y.createElement("div",null,me==null?void 0:me.map((Le,pe)=>y.createElement("a",{href:`/shixuns/${Le.identifier}/challenges`,target:"_blank"},"\u300A",Le==null?void 0:Le.name,"\u300B",pe+1!==ue&&"\u3001"))))));if(we==="shixun")return y.createElement("div",{style:{marginTop:20}},ue>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 y.createElement(he.default,{open:Ae,onCancel:()=>{Ce(!1)},cancelText:"\u53D6\u6D88",title:"\u63D0\u793A",width:700,centered:!0,cancelButtonProps:{style:{display:!Ve&&"none"}},zIndex:1003,confirmLoading:ke,okText:Ve?fe:"\u6211\u77E5\u9053\u4E86",onOk:()=>De(void 0,null,function*(){Ve?yield Ye([...me,...Fe]):Ce(!1)})},y.createElement("div",{style:{maxHeight:600,overflow:"auto"}},Pe(),it()))}},26896:function(dn,yt,E){"use strict";var y=E(59301),xe=E(65582),he=E(62957),je=E(71067),be=E(59301),De=(ze,we,se)=>new Promise((Ye,fe)=>{var ke=me=>{try{Ce(se.next(me))}catch(ue){fe(ue)}},Ae=me=>{try{Ce(se.throw(me))}catch(ue){fe(ue)}},Ce=me=>me.done?Ye(me.value):Promise.resolve(me.value).then(ke,Ae);Ce((se=se.apply(ze,we)).next())});const ye=({classroomList:ze,dispatch:we})=>{var se,Ye;const fe=(0,y.useRef)(null),[ke,Ae]=(0,y.useState)(!1),Ce=()=>{we({type:"classroomList/setActionTabs",payload:{}})};return be.createElement(he.default,{centered:!0,maskClosable:!1,width:560,title:"\u540C\u6B65\u786E\u8BA4",open:((se=ze==null?void 0:ze.actionTabs)==null?void 0:se.key)==="\u5B9E\u8BAD\u540C\u6B65\u786E\u8BA4",destroyOnClose:!0,onCancel:Ce,onOk:()=>De(void 0,null,function*(){var me,ue;(me=fe.current)!=null&&me.onVerify()||(Ae(!0),yield(ue=ze==null?void 0:ze.actionTabs)==null?void 0:ue.onOK(),Ae(!1))}),okText:"\u786E\u8BA4\u540C\u6B65",comfirmLoading:(Ye=ze==null?void 0:ze.actionTabs)==null?void 0:Ye.loading},be.createElement("p",null,"\u672C\u64CD\u4F5C\u4F1A\u5C06\u5F53\u524D\u5B9E\u8BAD\u5168\u90E8\u5185\u5BB9\u540C\u6B65\u81F3\u9009\u62E9\u5B9E\u8BAD\u4E2D\uFF0C\u8BF7\u4ED4\u7EC6\u786E\u8BA4\u9700\u540C\u6B65\u7684\u5B9E\u8BAD\u5185\u5BB9\uFF0C\u786E\u8BA4\u65E0\u8BEF\uFF0C\u8BF7\u5728\u4E0B\u65B9\u6587\u672C\u6846\u8F93\u5165\u9A8C\u8BC1\u7801\u540E\uFF0C\u8FDB\u884C\u5B9E\u8BAD\u540C\u6B65\u3002"),be.createElement("p",{style:{color:"#DD0000"}},"*\u6CE8\u610F\uFF1A\u5B9E\u8BAD\u540C\u6B65\u540E\u5C06\u65E0\u6CD5\u6062\u590D\u81F3\u539F\u6709\u7248\u672C\uFF0C\u8BF7\u8C28\u614E\u64CD\u4F5C\u3002"),be.createElement(je.Z,{ref:me=>fe.current=me}))};yt.Z=(0,xe.connect)(({classroomList:ze})=>({classroomList:ze}))(ye)},36254:function(dn,yt,E){"use strict";E.d(yt,{Z:function(){return be}});var y=E(59301),xe={flex_box_center:"flex_box_center___sOi51",flex_space_between:"flex_space_between___pl96A",flex_box_vertical_center:"flex_box_vertical_center___LVWaS",flex_box_center_end:"flex_box_center_end___bFW2z",flex_box_column:"flex_box_column___Iuosg",disabled:"disabled___kyQ47"},he=E(25399),be=({children:De,tips:ye,title:ze,style:we})=>{const se=ze||y.createElement("div",null,y.createElement("div",null,"\u63D0\u793A\uFF1A"),y.createElement("div",null,"\u672C\u573A\u8003\u8BD5\u5DF2\u5F00\u542F\u96C6\u4E2D\u9605\u5377\uFF0C\u4E3A\u4E86\u4E0D\u5F71\u54CD\u6210\u7EE9\u8BC4\u5B9A\uFF0C\u4E0D\u53EF\u8FDB\u884C\u6B64\u64CD\u4F5C\u3002"),y.createElement("div",null,"\uFF08\u5982\u9700\u53D1\u5E03\u65B0\u73ED\u7EA7\u8003\u8BD5\uFF0C\u8BF7\u521B\u5EFA\u65B0\u8BD5\u5377\u540E\u53D1\u5E03\uFF09"));return De&&ye?y.createElement(he.Z,{overlayStyle:{maxWidth:"initial"},title:se},y.createElement("span",{className:xe.disabled,style:we},De)):De&&!ye?y.createElement(y.Fragment,null,De):y.createElement(y.Fragment,null)}},33276:function(dn,yt,E){"use strict";var y=E(59301),xe=E(62957),he=E(70858);const je=({dataSource:be,visible:De,onClose:ye=()=>{},onSuccess:ze=()=>{},text:we,okText:se})=>{var Ye;return y.createElement(xe.default,{centered:!0,destroyOnClose:!0,open:!!De,title:"\u63D0\u793A",width:"600px",okText:se,cancelText:"\u53D6\u6D88",onCancel:ye,onOk:ze},De==="single"&&y.createElement("div",{className:"c-grey-333"},"\u5F53\u524D\u8BD5\u5377\u603B\u5206\u4E3A",y.createElement("span",{style:{color:"#FA6400",margin:"0 5px"}},(Ye=be==null?void 0:be[0])==null?void 0:Ye.total_score),"\u5206\uFF0C\u8BF7\u786E\u8BA4",we),De==="multiple"&&y.createElement(y.Fragment,null,y.createElement("div",{className:"c-grey-333 mb10"},"\u4EE5\u4E0B\u8BD5\u5377\u603B\u5206\u5F02\u5E38\uFF0C\u8BF7\u786E\u8BA4",we),y.createElement(he.default,{columns:[{title:"\u8BD5\u5377\u540D\u79F0",dataIndex:"name",ellipsis:!0},{title:"\u603B\u5206",width:90,dataIndex:"total_score"}],dataSource:be,scroll:(be==null?void 0:be.length)>7?{y:300}:{},pagination:!1})))};yt.Z=je},85533:function(dn,yt,E){"use strict";E.d(yt,{h:function(){return oe}});var y=E(59301),xe=E(82326),he=E(28284),je=E(7939),be=E(89780),De=E.n(be),ye=E(45559),ze=E(42313),we=Object.defineProperty,se=Object.defineProperties,Ye=Object.getOwnPropertyDescriptors,fe=Object.getOwnPropertySymbols,ke=Object.prototype.hasOwnProperty,Ae=Object.prototype.propertyIsEnumerable,Ce=(Fe,rt,Ne)=>rt in Fe?we(Fe,rt,{enumerable:!0,configurable:!0,writable:!0,value:Ne}):Fe[rt]=Ne,me=(Fe,rt)=>{for(var Ne in rt||(rt={}))ke.call(rt,Ne)&&Ce(Fe,Ne,rt[Ne]);if(fe)for(var Ne of fe(rt))Ae.call(rt,Ne)&&Ce(Fe,Ne,rt[Ne]);return Fe},ue=(Fe,rt)=>se(Fe,Ye(rt));const Me=xe.default.Option,Ze={labelCol:{span:4},wrapperCol:{span:20}},Qe={asp:["ASP","vbscript"],actionscript:["ActionScript(3.0)/Flash/Flex","clike"],bash:["Bash/Bat","shell"],css:["CSS","css"],c:["C","clike"],cpp:["C++","clike"],csharp:["C#","clike"],coffeescript:["CoffeeScript","coffeescript"],d:["D","d"],dart:["Dart","dart"],delphi:["Delphi/Pascal","pascal"],erlang:["Erlang","erlang"],go:["Golang","go"],groovy:["Groovy","groovy"],html:["HTML","text/html"],java:["Java","clike"],json:["JSON","text/json"],javascript:["Javascript","javascript"],lua:["Lua","lua"],less:["LESS","css"],markdown:["Markdown","gfm"],"objective-c":["Objective-C","clike"],php:["PHP","php"],perl:["Perl","perl"],python:["Python","python"],r:["R","r"],rst:["reStructedText","rst"],ruby:["Ruby","ruby"],sql:["SQL","sql"],sass:["SASS/SCSS","sass"],shell:["Shell","shell"],scala:["Scala","clike"],swift:["Swift","clike"],vb:["VB/VBScript","vb"],xml:["XML","text/xml"],yaml:["YAML","yaml"]};yt.Z=({callback:Fe,onCancel:rt})=>{const[Ne,Ge]=(0,y.useState)("python");function ge(Ve){Ge(Qe[Ve][1])}function Oe(Ve){Fe(Ve)}return y.createElement(he.default,ue(me({},Ze),{className:"code-block-panel",initialValues:{language:"python",content:""},onFinish:Oe,style:{width:500}}),y.createElement(he.default.Item,{label:"\u4EE3\u7801\u8BED\u8A00",name:"language"},y.createElement(xe.default,{getPopupContainer:Ve=>Ve.parentNode,onChange:ge},Object.keys(Qe).map(Ve=>y.createElement(Me,{key:Ve,value:Ve},Qe[Ve][0])))),y.createElement(he.default.Item,{label:"\u4EE3\u7801\u5185\u5BB9",name:"content",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u4EE3\u7801\u5185\u5BB9"}]},y.createElement(oe,{mode:Ne})),y.createElement("div",{className:"flex-container flex-end"},y.createElement(je.ZP,{type:"primary",htmlType:"submit",style:{marginRight:10}},"\u786E\u5B9A"),y.createElement(je.ZP,{type:"ghost",onClick:rt},"\u53D6\u6D88")))};function oe({value:Fe,onChange:rt,mode:Ne,options:Ge={}}){const ge=(0,y.useRef)(),[Oe,Ve]=(0,y.useState)();return(0,y.useEffect)(()=>{if(Oe){let Pe=function(it){const Le=it.getValue();rt&&rt(Le)};return Oe.on("change",Pe),()=>{Oe.off("change",Pe)}}},[Oe,rt]),(0,y.useEffect)(()=>{Oe&&Oe.setOption("mode",Ne)},[Oe,Ne]),(0,y.useEffect)(()=>{Oe&&(Fe!==Oe.getValue()||Fe==="")&&setTimeout(()=>{Oe.setValue(Fe||"")},300)},[Oe,Fe]),(0,y.useEffect)(()=>{if(ge.current&&!Oe){const Pe=De().fromTextArea(ge.current,me({mode:Ne,lineNumbers:!0,lineWrapping:!0,autoCloseBrackets:!0,tabSize:4,autofocus:!0,autoCloseTags:!0,matchBrackets:!0,styleActiveLine:!0},Ge));Ve(Pe)}},[ge.current,Oe]),y.createElement("div",{className:"my-codemirror-container"},y.createElement("textarea",{ref:ge}))}},25374:function(dn,yt,E){"use strict";E.d(yt,{Z:function(){return ln}});var y=E(59301),xe=E(65582),he=E(89780),je=E.n(he),be=E(76374),De=E(45559),ye=E(6313),ze=E(25717),we=E(99498),se=E(25419),Ye=E(67549),fe=E(95097),ke=({value:qt="",className:xn,showTextOnly:En,showLines:_n,style:$n={}})=>{const Yn=(0,y.useMemo)(()=>"",[qt]);return y.createElement(y.Fragment,null,y.createElement("div",{dangerouslySetInnerHTML:{__html:Yn}}))},Ae=Object.defineProperty,Ce=Object.defineProperties,me=Object.getOwnPropertyDescriptors,ue=Object.getOwnPropertySymbols,Me=Object.prototype.hasOwnProperty,Ze=Object.prototype.propertyIsEnumerable,Qe=(qt,xn,En)=>xn in qt?Ae(qt,xn,{enumerable:!0,configurable:!0,writable:!0,value:En}):qt[xn]=En,oe=(qt,xn)=>{for(var En in xn||(xn={}))Me.call(xn,En)&&Qe(qt,En,xn[En]);if(ue)for(var En of ue(xn))Ze.call(xn,En)&&Qe(qt,En,xn[En]);return qt},Fe=(qt,xn)=>Ce(qt,me(xn));let rt=[{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 Ne({onActionCallback:qt,title:xn,icon:En,actionName:_n,className:$n="",children:Yn}){function Gn(){qt(_n)}return y.createElement("a",{title:xn,className:$n,onClick:Gn},y.createElement("i",{className:`${En}`}),Yn)}var Ge=({watch:qt,showNullButton:xn,showNullProgramButton:En,onActionCallback:_n,fullScreen:$n,insertTemp:Yn,hidetoolBar:Gn,extraUse:Qn})=>{const nr=[...rt,{title:`${qt?"\u5173\u95ED\u5B9E\u65F6\u9884\u89C8":"\u5F00\u542F\u5B9E\u65F6\u9884\u89C8"}`,icon:`${qt?"md-iconfont icon-eye-slash":"md-iconfont icon-eye"}`,actionName:"trigger-watch"}];return y.createElement("ul",{className:"markdown-toolbar-container"},!Gn&&nr.map((Rr,Ir)=>y.createElement("li",{key:Ir},Rr.actionName?y.createElement(Ne,Fe(oe({},Rr),{onActionCallback:_n})):y.createElement("span",{className:"v-line"}))),xn?y.createElement("li",null,y.createElement(Ne,{icon:"iconfont icon-tianjia5 insert-blank",className:"btn-null ml5",title:"\u589E\u52A0\u586B\u7A7A",actionName:"add-null-ch",onActionCallback:_n},y.createElement("span",{className:"fill-tip"},"\u70B9\u51FB\u65B0\u589E\u586B\u7A7A\u9879"))):null,En?y.createElement(y.Fragment,null,y.createElement("li",null,y.createElement(Ne,{icon:"md-iconfont icon-edit insert-blank",className:"btn-null",title:"\u589E\u52A0\u586B\u7A7A",actionName:"add-signal",onActionCallback:_n},y.createElement("span",{className:"fill-tip"},"\u6DFB\u52A0\u5355\u884C\u586B\u7A7A\u9879"))),y.createElement("li",null,y.createElement(Ne,{icon:"md-iconfont icon-uniE900 insert-blank",className:"btn-null",title:"\u589E\u52A0\u586B\u7A7A",actionName:"add-multiple",onActionCallback:_n},y.createElement("span",{className:"fill-tip"},"\u6DFB\u52A0\u591A\u884C\u586B\u7A7A\u9879")))):null,Yn&&y.createElement("li",null,y.createElement(Ne,{icon:"md-iconfont icon-edit",className:"btn-null",title:"\u63D2\u5165\u6A21\u677F",actionName:`inster-template-${Yn}`,onActionCallback:_n},y.createElement("span",{className:"fill-tip"},"\u63D2\u5165\u6A21\u677F"))),Qn&&y.createElement("li",null,Qn),y.createElement("li",{className:"btn-full-screen"},y.createElement(Ne,{icon:`${$n?"md-iconfont icon-shrink":"md-iconfont icon-enlarge"}`,title:$n?"\u5173\u95ED\u5168\u5C4F":"\u5F00\u542F\u5168\u5C4F",actionName:"trigger-full-screen",onActionCallback:_n})))},ge=E(57261),Oe=E(28284),Ve=E(37568),Pe=E(7939),it=Object.defineProperty,Le=Object.defineProperties,pe=Object.getOwnPropertyDescriptors,qe=Object.getOwnPropertySymbols,Xe=Object.prototype.hasOwnProperty,Ct=Object.prototype.propertyIsEnumerable,Yt=(qt,xn,En)=>xn in qt?it(qt,xn,{enumerable:!0,configurable:!0,writable:!0,value:En}):qt[xn]=En,We=(qt,xn)=>{for(var En in xn||(xn={}))Xe.call(xn,En)&&Yt(qt,En,xn[En]);if(qe)for(var En of qe(xn))Ct.call(xn,En)&&Yt(qt,En,xn[En]);return qt},Be=(qt,xn)=>Le(qt,pe(xn));const Dt={labelCol:{span:4},wrapperCol:{span:20}};var Zt=({callback:qt,onCancel:xn})=>{function En(_n){qt(_n)}return y.createElement(Oe.default,Be(We({},Dt),{initialValues:{link:"http://",title:""},className:"link-panel",onFinish:En,style:{width:500}}),y.createElement(Oe.default.Item,{label:"\u94FE\u63A5\u5730\u5740",name:"link",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u94FE\u63A5\u5730\u5740"}]},y.createElement(Ve.default,null)),y.createElement(Oe.default.Item,{label:"\u94FE\u63A5\u6807\u9898",name:"title",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u94FE\u63A5\u6807\u9898"}]},y.createElement(Ve.default,null)),y.createElement("div",{className:"flex-container flex-end"},y.createElement(Pe.ZP,{type:"primary",htmlType:"submit",style:{marginRight:10}},"\u786E\u5B9A"),y.createElement(Pe.ZP,{type:"ghost",onClick:xn},"\u53D6\u6D88")))},lt=E(85533),Se=E(45053),Re=E(62957),at=E(77019),jt=E(16750),ft=E(59301),Wt=({callback:qt,onCancel:xn})=>{const En=document.createElement("canvas"),_n=En.getContext("2d");En.width=1e3,En.height=800,_n.fillStyle="#ffffff",_n.fillRect(0,0,En.width,En.height);const $n=En.toDataURL("image/png");return ft.createElement(Re.default,{open:!0,width:"100vw",style:{height:"100vh",top:0},footer:null,title:null,closable:!1},ft.createElement(at.Z,{style:{height:"100vh"}},ft.createElement(jt.Z,{fullWidth:!0,noAssociationId:!0,showFullTools:!0,data:{src:$n,visible:!0,title:String(Date.now())},onOk:Yn=>{qt({src:Yn.url})},onClose:xn})))},xt=E(36207),$t=E(5269),Rt=E(6767),ce={myPaletteDiv:"myPaletteDiv___Xjz2I",flowChartWrp:"flowChartWrp____f45r",maxH60:"maxH60___Pd4Re",drawerWrap:"drawerWrap___MfDw8"},ne=E(59301),le=(0,y.forwardRef)(({onCancel:qt,editImgId:xn,callback:En},_n)=>{let $n=(0,y.useRef)(),Yn=(0,y.useRef)(),Gn=(0,y.useRef)(),Qn=(0,y.useRef)(!1);const nr=(0,y.useRef)(!1);console.log("ref:",_n);const[Rr,Ir]=(0,y.useState)(0),[Bn,Mn]=(0,y.useState)("100vh");return(0,y.useEffect)(()=>{Ir(1)},[]),(0,y.useImperativeHandle)(_n,()=>({setHeight:Mn})),ne.createElement("div",{ref:nr,className:"body-overflow-initial"},ne.createElement(xt.Z,{width:"100vw",height:Bn,footer:null,closable:!0,placement:"bottom",open:!!Rr,destroyOnClose:!0,maskClosable:!1,mask:!1,rootClassName:`zIndex-9999 ${ce.drawerWrap}`,onClose:()=>{window.saveDrawData(ur=>{En({src:`/api/attachments/${ur}`,id:ur})})},title:ne.createElement(at.Z,{align:"middle"},ne.createElement($t.Z,{flex:1},"\u63D2\u5165\u6D41\u7A0B\u56FE"),ne.createElement($t.Z,{onClick:()=>{Mn(Bn==="60px"?"100vh":"60px")}},ne.createElement("span",{className:"current c-blue",style:{fontWeight:400}},"\u5C55\u5F00/\u6536\u8D77")),ne.createElement($t.Z,{onClick:()=>{window.saveDrawData(ur=>{if(ur===null){Rt.ZP.warning({content:"\u5185\u5BB9\u4E3A\u7A7A\uFF0C\u8BF7\u5148\u7ED8\u5236\u6D41\u7A0B\u56FE",key:"saveFlowChart"});return}Rt.ZP.success({content:"\u4FDD\u5B58\u6210\u529F",key:"saveFlowChart",style:{zIndex:999999999}}),En({src:`/api/attachments/${ur}`,id:ur,disabledClose:!0})})}},ne.createElement(Pe.ZP,{type:"primary",className:"ml20"},"\u4FDD\u5B58")))},ne.createElement("iframe",{src:`/drawio/src/main/webapp/?id=${xn||""}&gapi=0&od=0&db=0&gh=0&gl=0&local=0`,width:"100%",height:"100%",frameBorder:"0",ref:Yn})))}),ve=E(74128),re=E(47889),de=E(4875);const Ue=re.ZP.Group,pt={margin:"0 8px"};var et=({callback:qt,onCancel:xn})=>{function En(_n){qt(_n)}return y.createElement(Oe.default,{className:"add-table-panel",initialValues:{row:3,col:2,align:"default"},onFinish:En},y.createElement("div",{className:"flex-container",style:{alignItems:"baseline"}},y.createElement("span",{style:pt},"\u5355\u5143\u683C\u6570\uFF1A"),y.createElement("span",{style:pt},"\u884C\u6570"),y.createElement(Oe.default.Item,{name:"row",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u884C\u6570"}]},y.createElement(de.Z,null)),y.createElement("span",{style:pt},"\u5217\u6570"),y.createElement(Oe.default.Item,{name:"col",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u5217\u6570"}]},y.createElement(de.Z,null))),y.createElement("div",{className:"flex-container",style:{marginTop:12,alignItems:"baseline"}},y.createElement("span",{style:pt},"\u5BF9\u9F50\u65B9\u5F0F\uFF1A"),y.createElement(Oe.default.Item,{name:"align"},y.createElement(Ue,null,y.createElement(re.ZP,{value:"default"},y.createElement("i",{className:"fa fa-align-justify"})),y.createElement(re.ZP,{value:"left"},y.createElement("i",{className:"fa fa-align-left"})),y.createElement(re.ZP,{value:"center"},y.createElement("i",{className:"fa fa-align-center"})),y.createElement(re.ZP,{value:"right"},y.createElement("i",{className:"fa fa-align-right"}))))),y.createElement("div",{className:"flex-container flex-end"},y.createElement(Pe.ZP,{type:"primary",htmlType:"submit",style:{marginRight:10}},"\u786E\u5B9A"),y.createElement(Pe.ZP,{type:"ghost",onClick:xn},"\u53D6\u6D88")))},tt=E(58755),dt=E(93510),gt=E.n(dt),_e=(0,y.forwardRef)(({use3d:qt,width:xn,height:En,callback:_n,showSaveButton:$n},Yn)=>{const Gn=(0,y.useRef)(),Qn=(0,y.useRef)(),[nr,Rr]=(0,y.useState)(!1),Ir=(0,y.useRef)({id:Gn,appName:"graphing",width:xn||1e3,height:En||600,showToolBar:!0,showMenuBar:!0,allowStyleBar:!0,showAlgebraInput:!0,enableLabelDrags:!1,enableShiftDragZoom:!0,showToolBarHelp:!1,errorDialogsActive:!0,showTutorialLink:!0,showLogging:!0,useBrowserForJS:!1});(0,y.useEffect)(()=>{Qn.current=new(gt())(Ir.current,!0),window.onload=function(){Qn.current.inject("applet_container")}},[]);const Bn=()=>{var Mn=window.ggbApplet.getPNGBase64(1,!0,72);return _n&&_n(Mn),Mn};return(0,y.useEffect)(()=>{Ir.current.appName=nr?"3D":"graphing",Qn.current.inject("applet_container")},[nr]),(0,y.useEffect)(()=>{Rr(qt)},[qt]),(0,y.useImperativeHandle)(Yn,()=>({getImgData:Bn})),y.createElement(y.Fragment,null,y.createElement("div",{style:{width:"100%",height:"100%"},id:"applet_container",ref:Gn}),y.createElement(at.Z,{align:"middle"},y.createElement($t.Z,{flex:1},y.createElement(tt.Z,{size:"default",checkedChildren:"\u5173\u95ED3D\u56FE\u50CF",unCheckedChildren:"\u5F00\u542F3D\u56FE\u50CF",checked:nr,onChange:Mn=>Rr(Mn)})),y.createElement($t.Z,null,y.createElement(Pe.ZP,{size:"large",onClick:Bn,style:{zIndex:8,marginTop:10},type:"primary"},"\u4FDD\u5B58\u5230\u7F16\u8F91\u5668"))))}),st=E(99298);const en="link",Ut="upload-image",yn="add-flowchart",tn="draw-image",Vt="add-flowchart",Qt="code-block",sn="add-table",bt="------------",Lt={default:bt,left:`:${bt}`,center:`:${bt}:`,right:`${bt}:`};var un=E(31103),Cn=E(65862);function ut(){}let kt=0;const wt=1e4,cn="\u2581",An="@\u2581\u2581@",Kn="@\u2581@",rr=`
**\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`,sr=["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 kn(qt){return/^\d+$/.test(qt)?`${qt}px`:qt}const zt=navigator.platform.toUpperCase().indexOf("MAC")>=0?"Cmd":"Ctrl",mn={[zt+"-B"]:"bold",[zt+"-I"]:"italic"},an={[en]:"\u6DFB\u52A0\u94FE\u63A5",[Qt]:"\u6DFB\u52A0\u4EE3\u7801\u5757",[Ut]:"\u6DFB\u52A0\u56FE\u7247",[tn]:"\u6DFB\u52A0\u753B\u56FE",[yn]:"\u63D2\u5165\u6D41\u7A0B\u56FE",[sn]:"\u6DFB\u52A0\u8868\u683C","maths-latex":"\u6570\u5B66\u56FE\u50CF","inline-latex":"LATEX\u516C\u5F0F"};var ln=({defaultValue:qt="",onChange:xn,width:En="100%",height:_n=400,miniToolbar:$n=!1,isFocus:Yn=!1,watch:Gn,insertTemp:Qn,mode:nr="markdown",id:Rr="markdown-editor-id",showResizeBar:Ir=!1,noStorage:Bn=!1,showNullButton:Mn=!1,showNullProgramButton:ur=!1,hidetoolBar:dr=!1,fullScreen:Ot=!1,onBlur:Jt,onCMBeforeChange:vt,onFullScreen:Tt,className:Et="",disablePaste:Ht=!1,disabled:ot=!1,disabledFill:Xt=!1,placeholder:nn="",values:Kt="",extraUse:nt,onAddBlank:Bt})=>{const[It,_t]=(0,y.useState)(null),[Ln,zn]=(0,y.useState)(qt),[Vn,Or]=(0,y.useState)(Gn),[Hr,to]=(0,y.useState)(Ot),[mr,Er]=(0,y.useState)(""),[Nr,Yr]=(0,y.useState)(0),[ro,oo]=(0,y.useState)(_n),[ao,Lr]=(0,y.useState)(!1),[eo,$r]=(0,y.useState)(0),[Wo,Vo]=(0,y.useState)(0),ir=(0,y.useRef)(),Ro=(0,y.useRef)(),ei=(0,y.useRef)(),yo=(0,y.useRef)(),Zo=(0,y.useRef)(),vo=(0,y.useRef)(),ui=(0,xe.useDispatch)();(0,y.useEffect)(()=>{const Zn=window.scrollY||window.pageYOffset;zn(Kt),It==null||It.setValue(Kt),window.scrollTo(0,Zn)},[Kt]),(0,y.useEffect)(()=>{Tt==null||Tt(Hr)},[Hr]),(0,y.useEffect)(()=>{if(ir.current){let Zn=function(or,kr){var wo;if(Ht){kr.preventDefault();return}const ci=kr.clipboardData;if(ci){const ii=ci.types.toString(),oi=ci.items;if(ii==="Files"||ci.types.indexOf("Files")>-1){if(kr.preventDefault(),nr=="stex")return;try{let vi=oi[1];((wo=oi[0])==null?void 0:wo.kind)==="file"&&(vi=oi[0]);const mi=vi.getAsFile(),Li=mi.name.split(".").pop();(0,Se.I)(mi,Bi=>{var Ti,Ki,sa;Bi.id?((Ti=mi==null?void 0:mi.type)==null?void 0:Ti.indexOf("image"))>-1?Hn.replaceSelection(`<img width="100%" src="/api/attachments/${Bi.id}?type=${Bi.content_type})" alt="" />`):((Ki=mi==null?void 0:mi.type)==null?void 0:Ki.indexOf("video"))>-1?Hn.replaceSelection(`<video width="100%" controls src="/api/attachments/${Bi.id}"></video>`):((sa=mi==null?void 0:mi.type)==null?void 0:sa.indexOf("pdf"))>-1?Hn.replaceSelection(`<a href="/api/attachments/${Bi.id}?type=${mi.type}&disposition=inline" target="_blank">${mi.name}</a>`):sr.includes(Li)?Hn.replaceSelection(`<a href="/api/attachments/${Bi.id}?type=office&disposition=inline" target="_blank">${mi.name}</a>`):Hn.replaceSelection(`[${mi.name}](/api/attachments/${Bi.id}?type=${Bi.content_type})`):(Bi==null?void 0:Bi.status)===401&&(document.location.href="/user/login")})}catch(vi){Rt.ZP.warning("\u8BF7\u4F7F\u7528chrome\u6D4F\u89C8\u5668\u7C98\u8D34")}return!0}else return!0}return!0};const Hn=je().fromTextArea(ir.current,{mode:nr,lineNumbers:!$n,lineWrapping:!0,value:qt,autoCloseTags:!0,autoCloseBrackets:!0});return Hn.on("keyup",function(or,kr){kr.keyCode===8&&(or.getValue()==""?Hn.setOption("placeholder",nn):Hn.setOption("placeholder",null))}),Hn.on("keydown",function(or,kr){if(kr.keyCode===8){var wo=$o(or);wo&&kr.preventDefault()}}),Yn&&Hn.focus(),Hn.on("paste",Zn),ot&&Hn.on("beforeChange",function(or,kr){(kr.origin==="paste"||kr.origin==="+input")&&kr.cancel()}),_t(Hn),()=>{Hn.off("paste",Zn)}}},[]);const yi=(0,y.useCallback)(()=>{if(Ro.current)try{}catch(Zn){console.log(Zn,"---- to set md editor body height")}},[ro,Ro,Hr]);(0,y.useEffect)(()=>{function Zn(){let Hn=new be.Z(or=>{for(let kr of or)(kr.target.offsetHeight>0||kr.target.offsetWidth>0)&&(yi(),It.setSize("100%","100%"),It.refresh())});return Hn.observe(ir.current.parentElement),Hn}if(It){const Hn=Zn();return()=>{var or,kr;(or=ir.current)!=null&&or.parentElement&&Hn.unobserve((kr=ir.current)==null?void 0:kr.parentElement)}}},[It,yi]),(0,y.useEffect)(()=>{if(It){let Zn=[];for(const[Hn,or]of Object.entries(mn)){let kr={[Hn]:()=>{pi(or)}};Zn.push(kr),It.addKeyMap(kr)}return()=>{for(let Hn of Zn)It.removeKeyMap(Hn)}}},[It]),(0,y.useEffect)(()=>{Ot!==Hr&&to(Ot)},[Ot]),(0,un.Z)(()=>{if(!Bn&&Nr>0){let Zn=new Date().getTime(),Hn=window.sessionStorage.getItem(Rr);Zn>=Nr+wt&&(!Hn||Hn!==Ln)&&(window.sessionStorage.setItem(Rr,Ln),Lr(!0))}},wt),(0,y.useEffect)(()=>{Or(Gn)},[It,Gn]),(0,y.useEffect)(()=>{It&&Yn&&It.focus()},[It,Yn]),(0,y.useEffect)(()=>{if(Vn&&It){let Zn=function(or){let kr=or.target;if(yo.current){let wo=kr.scrollTop/kr.scrollHeight;yo.current.scrollTop=yo.current.scrollHeight*wo}};const Hn=It.getScrollerElement();return Hn.addEventListener("scroll",Zn),()=>{Hn.removeEventListener("scroll",Zn)}}},[It,Vn]),(0,y.useEffect)(()=>{if(It&&vt){let Zn=function(Hn,or){vt(Hn,or)};return It.on("beforeChange",Zn),()=>{It.off("beforeChange",Zn)}}},[It,vt]),(0,y.useEffect)(()=>{if(It&&Jt){let Zn=function(){Jt(It.getValue())};return It.on("blur",Zn),()=>{It.off("blur",Zn)}}},[It,Jt]);function $o(Zn,Hn){var or=Zn.getDoc(),kr=or.getCursor(),wo=or.getLine(kr.line),ci=wo.charAt(kr.ch-1),ii=wo.lastIndexOf("@\u2581@",kr.ch),oi=wo.lastIndexOf("@\u2581\u2581@",kr.ch),vi=ii>oi?ii:oi,mi=ii>oi?3:4;if(An.indexOf(ci)===-1)return null;if(console.log("change1:",Hn,Zn,wo,kr,vi,ii,oi,ci),vi>=0&&kr.ch-vi<5){var Li=vi+mi;return or.replaceRange("",{line:kr.line,ch:vi},{line:kr.line,ch:Li}),{line:kr.line,ch:Li}}return null}(0,y.useEffect)(()=>{if(It){let Zn=function(Hn,or){const kr=Hn.getValue();zn(kr),Yr(new Date().getTime()),Hn.getScrollerElement().dispatchEvent(new CustomEvent("scroll")),xn&&(ur?xn(kr,bn(kr)):xn(kr))};return It.on("change",Zn),()=>{It.off("change",Zn)}}},[It,xn]),(0,y.useEffect)(()=>{if(It)if(qt==null)It.setValue(""),zn("");else{const Zn=window.scrollY||window.pageYOffset;qt!==It.getValue()&&(It.setValue(qt),zn(qt),It.setCursor(ot?1:It.lineCount(),0),window.scrollTo(0,Zn))}},[It,qt]);const pi=(0,y.useCallback)(Zn=>{const Hn=It.getCursor(),or=It.getSelection();let kr=or.split(`
`);switch(Zn){case"bold":return It.replaceSelection("**"+or+"**"),or===""&&It.setCursor(Hn.line,Hn.ch+2),It.focus();case"italic":return It.replaceSelection("*"+or+"*"),or===""&&It.setCursor(Hn.line,Hn.ch+1),It.focus();case"code":return It.replaceSelection("`"+or+"`"),or===""&&It.setCursor(Hn.line,Hn.ch+1),It.focus();case"inline-latex":return(0,Cn.Ye)(ui)?void 0:(Er("inline-latex"),It.focus());case"latex":return It.replaceSelection("```latex\n"+or+"\n```"),It.setCursor(Hn.line+1,or.length+1),It.focus();case"line-break":return It.replaceSelection(`<br/>
`),It.focus();case"list-ul":return or===""?It.replaceSelection("- "+or):It.replaceSelection(kr.map(wo=>wo===""?"":`- ${wo}`).join(`
`)),It.focus();case"list-ol":return or===""?It.replaceSelection("1. "+or):It.replaceSelection(kr.map((wo,ci)=>wo===""?"":`${ci+1}. ${wo}`).join(`
`)),It.focus();case"add-null-ch":Bt==null||Bt();return;case"add-signal":return or===""&&It.setCursor(Hn.line,Hn.ch),It.replaceSelection(Kn),It.focus();case"add-multiple":return or===""&&It.setCursor(Hn.line,Hn.ch),It.replaceSelection(An),It.focus();case"inster-template-1":return or===""&&It.setCursor(Hn.line,Hn.ch),It.replaceSelection(rr),It.focus();case"eraser":return It.setValue(""),It.focus();case"trigger-watch":return Or(!Vn),It.focus();case"trigger-full-screen":return to(!Hr),It.focus();case en:Er(en);return;case Qt:Er(Qt);return;case Ut:Er(Ut);return;case tn:Er(tn);return;case"maths-latex":if((0,Cn.Ye)(ui))return;Er("maths-latex");return;case yn:Zo.current="",sessionStorage.removeItem("file_id"),Er(yn);return;case sn:Er(sn);return;default:throw new Error}},[It,Vn,Hr]),ki=(0,y.useCallback)((Zn,Hn)=>{var or,kr,wo,ci,ii,oi;Zn!=null&&Zn.disabledClose||Er("");const{src:vi,alt:mi,id:Li}=Zn||{};switch(mr){case en:const{title:fa,link:wa}=Zn;return It.replaceSelection(`[${fa}](${wa})`),It.focus();case Qt:const{language:ha,content:Ao}=Zn;return It.replaceSelection(["```"+ha,Ao,"```"].join(`
`)),It.focus();case"maths-latex":for(var Bi=atob(Zn),Ti=new Uint8Array(Bi.length),Ki=0;Ki<Bi.length;Ki++)Ti[Ki]=Bi.charCodeAt(Ki);var sa=new Blob([Ti],{type:"image/png"});(0,Se.I)(sa,bi=>{bi.id?It.replaceSelection(`![,](/api/attachments/${bi.id}?type=${bi.content_type})`):(bi==null?void 0:bi.status)===401&&(document.location.href="/user/login")});break;case"inline-latex":if((0,Cn.Ye)(ui))return;It.replaceSelection("`$$"+Zn+"$$`");break;case Vt:if(!Li)return;It.getValue().indexOf(vi)===-1?It.replaceSelection(`<center><img id="${Li}" width="80%" src="${vi}" class="draw-flowchart" alt="${mi||""}" /></center>`):document.getElementById(Li).src=ve.Z.API_SERVER+vi+"?t="+Date.now();break;case Ut:case tn:const Do=Hn,Co=(wo=(kr=(or=Do==null?void 0:Do.name)==null?void 0:or.split("."))==null?void 0:kr.pop)==null?void 0:wo.call(kr);return((ci=Do==null?void 0:Do.type)==null?void 0:ci.indexOf("image"))>-1||!(Do!=null&&Do.type)?Do!=null&&Do.align||Do!=null&&Do.width?It.replaceSelection(`<p style="text-align:${Do.align||"initial"}"><img width="${Do.width?Do.width+"%":"initial"}" src="${vi}" alt="${mi||""}" /></p>`):It.replaceSelection(`<img width="100%" src="${vi}" alt="${mi||""}" />`):((ii=Do==null?void 0:Do.type)==null?void 0:ii.indexOf("video"))>-1?It.replaceSelection(`<video width="100%" controls src="${vi}"></video>`):((oi=Do==null?void 0:Do.type)==null?void 0:oi.indexOf("pdf"))>-1?It.replaceSelection(`<a href="${vi}?type=${Do.type}&disposition=inline" target="_blank">${Do.name}</a>`):sr.includes(Co)?It.replaceSelection(`<a href="${vi}?type=office&disposition=inline" target="_blank">${Do.name}</a>`):It.replaceSelection(`[${Do.name}](${vi})`),It.focus();case sn:const{row:Ji,col:Uo,align:Ho}=Zn;let Mi=`
`;for(let bi=0;bi<Ji;bi++){let hi=[],_o=[];for(let Ma=0;Ma<Uo;Ma++)bi===1&&_o.push(Lt[Ho]),hi.push(" ");bi===1&&(Mi+=`| ${_o.join(" | ")} |
`),Mi+=`| ${hi.join(Uo===1?"":" | ")} |
`}return It.replaceSelection(Mi+`
`),It.focus();default:throw new Error}},[It,mr]),Ci=(0,y.useMemo)(()=>{switch(mr){case en:return y.createElement(Zt,{callback:ki,onCancel:Oi});case Qt:return y.createElement(lt.Z,{callback:ki,onCancel:Oi});case Ut:return y.createElement(Se.Z,{callback:ki,onCancel:Oi});case yn:return y.createElement(le,{editImgId:Zo.current,callback:ki,onCancel:Oi});case sn:return y.createElement(et,{callback:ki,onCancel:Oi});case"maths-latex":return y.createElement(_e,{showSaveButton:!0,callback:ki});case"inline-latex":return y.createElement(st.Z,{showSaveButton:!0,callback:ki});default:return null}},[mr]);function Oi(){Er("")}(0,y.useEffect)(()=>{if(ei.current){let Zn=function(ii){wo=!0,ci=ii.pageY},Hn=function(){wo=!1},or=function(ii){if(wo){let oi=ii.pageY-ci;oi<0&&(oi=0),oi>300&&(oi=300);let vi=_n+oi+"px";oo(vi)}},kr=ei.current,wo=!1,ci=0;return kr.addEventListener("mousedown",Zn),document.addEventListener("mousemove",or),document.addEventListener("mouseup",Hn),()=>{kr.removeEventListener("mousedown",Zn),document.removeEventListener("mousemove",or),document.removeEventListener("mouseup",Hn)}}},[It,ei]),(0,y.useEffect)(()=>{oo(_n)},[_n]);const No=kn(En),Je=kn(ro),hn={width:No,height:Je},Mt=(0,y.useMemo)(()=>{if(Nr){let Zn=new Date(Nr),Hn=Zn.getHours(),or=Zn.getMinutes(),kr=Zn.getSeconds();return Hn=Hn<10?"0"+Hn:Hn,or=or<10?"0"+or:or,kr=kr<10?"0"+kr:kr,`${Hn}:${or}:${kr}`}return 0},[Nr]),bn=Zn=>{const Hn=[];if(ur){let or=-1;Zn=Zn.replace(/(@▁▁@|@▁@)/g,function(kr,wo,ci){Hn.push({multiLine:kr!==Kn})})}return Hn};function er(){window.sessionStorage.removeItem(Rr),Lr(!1),Yr(0)}function Rn(){Lr(!1),Yr(0),It.setValue(window.sessionStorage.getItem(Rr))}(0,y.useEffect)(()=>{an[mr]&&mr!==tn&&mr!==yn&&setTimeout(()=>{const Zn=document.getElementsByClassName("markdown-popup-form")[0],Hn=window.innerWidth/2-Zn.offsetWidth/2,or=window.innerHeight/2-Zn.offsetHeight/2;$r(Hn),Vo(or)},0)},[mr]);const Nn=Zn=>{Zn.preventDefault();const Hn=Zn.clientX-eo,or=Zn.clientY-Wo;document.body.onmousemove=kr=>{let wo=kr.clientX-Hn,ci=kr.clientY-or;const ii=document.getElementsByClassName("markdown-popup-form")[0],oi=window.innerWidth-ii.offsetWidth,vi=window.innerHeight-ii.offsetHeight;wo=Math.max(0,Math.min(wo,oi)),ci=Math.max(0,Math.min(ci,vi)),yr(kr.clientX,kr.clientY,Hn,or)&&($r(wo),Vo(ci))},document.body.onmouseup=function(){document.body.onmousemove=null}},yr=(Zn,Hn,or,kr)=>{const wo=document.body.clientHeight,ci=document.body.clientWidth;return Zn<20&&or>Zn||Zn>ci-20&&or<Zn||Hn<20&&kr>Hn||Hn>wo-20&&kr<Hn?(document.body.onmousemove=null,document.body.onmouseup=null,!1):!0};return y.createElement(y.Fragment,null,y.createElement("div",{className:"markdown-editor-wrapper",ref:Ro},y.createElement("div",{className:`markdown-editor-container ${Et} ${Vn?"on-preview":""} ${$n?"mini":""} ${Hr?"full-screen":""}`,style:hn},y.createElement(Ge,{insertTemp:Qn,watch:Vn,fullScreen:Hr,showNullButton:Mn,showNullProgramButton:ur,onActionCallback:pi,hidetoolBar:dr,extraUse:nt}),y.createElement("div",{className:"markdown-editor-body"},y.createElement("div",{className:"codemirror-container"},y.createElement("textarea",{ref:ir,placeholder:nn})),Vn?y.createElement("div",{ref:yo,className:"preview-container"},nr==="stex"&&y.createElement(ke,{value:Ln}),nr!=="stex"&&y.createElement(fe.Z,{edit:!0,disabledFill:Xt,showProgramFill:ur,value:Ln,openEditor:Zn=>{var Hn;Zo.current=Zn,(Hn=vo.current)==null||Hn.setHeight("100vh"),setTimeout(()=>{Er("add-flowchart")},150)}})):null))),Ir?y.createElement("a",{ref:ei,className:"editor-resize"}):null,mr===tn&&y.createElement(Wt,{callback:ki,onCancel:Oi}),mr===yn&&y.createElement(le,{ref:vo,editImgId:Zo.current,callback:ki,onCancel:Oi}),y.createElement(ge.Z,null,an[mr]&&mr!==tn&&mr!==yn?y.createElement(Re.default,{maskClosable:!1,centered:!0,style:{position:"absolute",left:eo,top:Wo},title:y.createElement("div",{style:{cursor:"move"},onMouseDown:Nn},an[mr]),open:!0,onCancel:Oi,footer:null,destroyOnClose:!0,width:mr===yn?"1200px":null,height:mr===yn?"80vh":null,className:"markdown-popup-form"},Ci):null))}},45053:function(dn,yt,E){"use strict";E.d(yt,{Z:function(){return rt},I:function(){return Ge}});var y=E(28284),xe=E(6767),he=E(37568),je=E(44104),be=E(4875),De=E(47889),ye=E(7939),ze=E(28735),we=E(59301),se=E(59301),Ye=Object.defineProperty,fe=Object.defineProperties,ke=Object.getOwnPropertyDescriptors,Ae=Object.getOwnPropertySymbols,Ce=Object.prototype.hasOwnProperty,me=Object.prototype.propertyIsEnumerable,ue=(ge,Oe,Ve)=>Oe in ge?Ye(ge,Oe,{enumerable:!0,configurable:!0,writable:!0,value:Ve}):ge[Oe]=Ve,Me=(ge,Oe)=>{for(var Ve in Oe||(Oe={}))Ce.call(Oe,Ve)&&ue(ge,Ve,Oe[Ve]);if(Ae)for(var Ve of Ae(Oe))me.call(Oe,Ve)&&ue(ge,Ve,Oe[Ve]);return ge},Ze=(ge,Oe)=>fe(ge,ke(Oe));const{useForm:Qe}=y.default,oe={width:280,marginRight:10},Fe={labelCol:{span:5},wrapperCol:{span:19}};var rt=({callback:ge,onCancel:Oe})=>{const[Ve]=Qe();let Pe=(0,we.useRef)();function it(qe){Pe.current.width=Ve.getFieldValue("width"),Pe.current.align=Ve.getFieldValue("align"),ge(qe,Pe.current)}function Le(qe,Xe){if(qe.status===-1){xe.ZP.error(qe.message);return}Ve.setFieldsValue({src:`/api/attachments/${qe.id}`,type:Xe.type})}function pe(qe){let Xe=qe.target.files[0];Pe.current=Xe,Ge(Xe,Le)}return se.createElement(y.default,Ze(Me({form:Ve},Fe),{className:"upload-image-panel",onFinish:it,style:{width:470,overflow:"hidden"}}),se.createElement(y.default.Item,{label:"\u56FE\u7247\u5730\u5740",required:!0},se.createElement("div",{className:"flex-container"},se.createElement(y.default.Item,{noStyle:!0,name:"src",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u56FE\u7247\u5730\u5740"}]},se.createElement(he.default,{style:oe})),se.createElement(Ne,{onFileChange:pe}))),se.createElement(y.default.Item,{label:"\u56FE\u7247\u63CF\u8FF0",name:"alt"},se.createElement(he.default,{style:{width:264}})),se.createElement(y.default.Item,{label:"\u56FE\u7247\u5BBD\u5EA6",name:"width"},se.createElement(je.Z,null,se.createElement(y.default.Item,{name:"width",style:{margin:0}},se.createElement(be.Z,{style:{width:264}})),se.createElement("span",{className:"ml8"},"%"))),se.createElement(y.default.Item,{label:"\u5BF9\u9F50\u65B9\u5F0F",name:"align"},se.createElement(De.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"}]})),se.createElement("aside",null,se.createElement(y.default.Item,{style:{textAlign:"right",position:"relative",right:-98}},se.createElement(ye.ZP,{type:"primary",htmlType:"submit",style:{marginRight:10}},"\u786E\u5B9A"),se.createElement(ye.ZP,{type:"default",onClick:Oe},"\u53D6\u6D88"))))};function Ne({onFileChange:ge}){return se.createElement("label",{className:"upload-button",style:{cursor:"pointer"}},"\u672C\u5730\u4E0A\u4F20",se.createElement("input",{type:"file",onChange:ge}))}function Ge(ge,Oe){if(!ge)throw new String("\u6CA1\u6709\u6587\u4EF6");let Ve=new FormData;Ve.append("editormd-image-file",ge),Ve.append("file_param_name","editormd-image-file"),Ve.append("byxhr","true");var Pe=new window.XMLHttpRequest;Pe.withCredentials=!0,Pe.addEventListener("load",function(it){Oe(JSON.parse(it.target.responseText),ge)},!1),Pe.addEventListener("error",function(it){console.error(it)},!1),Pe.open("POST",`${ze.KI}/api/attachments.json`),Pe.send(Ve)}},57261:function(dn,yt,E){"use strict";E.d(yt,{Z:function(){return he}});var y=E(59301),xe=E(4676);class he extends y.Component{constructor(be){super(be);const De=window.document;this.node=De.createElement("div"),De.body.appendChild(this.node)}render(){const{children:be}=this.props;return(0,xe.createPortal)(be,this.node)}componentWillUnmount(){window.document.body.removeChild(this.node)}}},50258:function(dn,yt,E){"use strict";E.d(yt,{SV:function(){return Wt},ZP:function(){return ft}});var y=E(59301),xe=E(76374);const he={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"]},je={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"]},be={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(`
`)}]},De={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(`
`)}]},ye={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 ze=E(53184),we=E.n(ze),se=(xt,$t,Rt)=>new Promise((ce,ne)=>{var te=re=>{try{ve(Rt.next(re))}catch(de){ne(de)}},le=re=>{try{ve(Rt.throw(re))}catch(de){ne(de)}},ve=re=>re.done?ce(re.value):Promise.resolve(re.value).then(te,le);ve((Rt=Rt.apply(xt,$t)).next())});const Ye={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"]}},fe=(xt,$t,Rt,ce)=>{const ne=$t.getValueInRange({startLineNumber:1,startColumn:1,endLineNumber:Rt.lineNumber,endColumn:Rt.column});return Array.from(new Set(ne.match(/\b\w{2,}\b/g)||[])).map(le=>({label:le,kind:xt.languages.CompletionItemKind.Text,insertText:le,range:ce}))},ke=(xt,$t,Rt,ce)=>{xt.languages.registerCompletionItemProvider($t,{provideCompletionItems(ne,te){const le=ne.getWordUntilPosition(te),ve={startLineNumber:te.lineNumber,endLineNumber:te.lineNumber,startColumn:le.startColumn,endColumn:le.endColumn},re=ne.getLineContent(te.lineNumber).substring(le.startColumn-2,le.endColumn);return{suggestions:[...fe(xt,ne,te,ve),...Rt.map(Ue=>({label:Ue,kind:xt.languages.CompletionItemKind.Keyword,documentation:Ue,insertText:Ue,insertTextRules:xt.languages.CompletionItemInsertTextRule.InsertAsSnippet,range:ve})),...ce.map(Ue=>({label:Ue.label,kind:xt.languages.CompletionItemKind.Snippet,documentation:Ue.content,insertText:re.startsWith("#")?Ue.content.replace(/#/,""):Ue.content,insertTextRules:xt.languages.CompletionItemInsertTextRule.InsertAsSnippet,range:ve}))]}}})};var Ae=xt=>{Ye.languages.forEach($t=>{xt.languages.registerDocumentFormattingEditProvider($t,{provideDocumentFormattingEdits(Rt){return se(this,null,function*(){const ce=we()(Rt.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:Rt.getFullModelRange(),text:ce}]})}})}),ke(xt,"java",je.keywords,je.quickKey),ke(xt,"cpp",be.keywords,be.quickKey),ke(xt,"c",he.keywords,[]),ke(xt,"python",De.keywords,De.quickKey),ke(xt,"scala",ye.keywords,ye.quickKey)};const Ce="\u8BE5\u4EFB\u52A1\u5173\u5361\u8BBE\u7F6E\u4E86\u7981\u6B62\u590D\u5236\u7C98\u8D34\uFF0C\u8BF7\u624B\u52A8\u8F93\u5165\u4EE3\u7801\u3002";var me=Object.defineProperty,ue=(xt,$t,Rt)=>$t in xt?me(xt,$t,{enumerable:!0,configurable:!0,writable:!0,value:Rt}):xt[$t]=Rt,Me=(xt,$t,Rt)=>ue(xt,typeof $t!="symbol"?$t+"":$t,Rt);const Ze=class Xu{constructor($t,Rt,ce){this.placeholder=$t,this.editor=Rt,this.monaco=ce,Rt.onDidChangeModelContent(()=>this.onDidChangeModelContent()),this.onDidChangeModelContent()}onDidChangeModelContent(){this.editor.getValue()===""?this.editor.addContentWidget(this):this.editor.removeContentWidget(this)}getId(){return Xu.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)}};Me(Ze,"ID","editor.widget.placeholderHint");var oe=Ze,Fe=E(96236),rt=E(6767),Ne=E(25399),Ge=E(89392),ge=E(77254),Oe=E(56102),Ve=Object.defineProperty,Pe=Object.defineProperties,it=Object.getOwnPropertyDescriptors,Le=Object.getOwnPropertySymbols,pe=Object.prototype.hasOwnProperty,qe=Object.prototype.propertyIsEnumerable,Xe=(xt,$t,Rt)=>$t in xt?Ve(xt,$t,{enumerable:!0,configurable:!0,writable:!0,value:Rt}):xt[$t]=Rt,Ct=(xt,$t)=>{for(var Rt in $t||($t={}))pe.call($t,Rt)&&Xe(xt,Rt,$t[Rt]);if(Le)for(var Rt of Le($t))qe.call($t,Rt)&&Xe(xt,Rt,$t[Rt]);return xt},Yt=(xt,$t)=>Pe(xt,it($t)),We=(xt,$t)=>{var Rt={};for(var ce in xt)pe.call(xt,ce)&&$t.indexOf(ce)<0&&(Rt[ce]=xt[ce]);if(xt!=null&&Le)for(var ce of Le(xt))$t.indexOf(ce)<0&&qe.call(xt,ce)&&(Rt[ce]=xt[ce]);return Rt},Be=(xt,$t,Rt)=>new Promise((ce,ne)=>{var te=re=>{try{ve(Rt.next(re))}catch(de){ne(de)}},le=re=>{try{ve(Rt.throw(re))}catch(de){ne(de)}},ve=re=>re.done?ce(re.value):Promise.resolve(re.value).then(te,le);ve((Rt=Rt.apply(xt,$t)).next())});function Dt(xt){return/^\d+$/.test(xt)?`${xt}px`:xt}function Zt(){}let lt=!1;const Se={"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(xt=[]){let $t=xt;if(Array.isArray(xt)){for(let Rt=0;Rt<xt.length;Rt++){let ce=Se[xt[Rt]];if(ce)return ce}return $t[0]}return Se[$t]||$t}let at=null;const jt=()=>Be(void 0,null,function*(){try{yield navigator.clipboard.writeText(" "),console.log("\u5185\u5BB9\u5DF2\u81EA\u52A8\u590D\u5236\u5230\u526A\u8D34\u677F:")}catch(xt){console.error("\u81EA\u52A8\u590D\u5236\u5931\u8D25:",xt)}});var ft=xt=>{var $t=xt,{width:Rt="100%",height:ce="100%",value:ne,language:te="javascript",style:le={},options:ve={},overrideServices:re={},theme:de="vs-dark",onEditBlur:Ue,isCopy:pt=!1,onSave:et,autoHeight:tt=!1,forbidCopy:dt=!1,forbidCopyTips:gt,onChange:St=Zt,editorDidMount:_e=Zt,onFocus:st=Zt,onBreakPoint:en=Zt,breakPointValue:Ut=[],filename:yn="educoder.txt",errorLine:tn,errorContent:Vt="",highlightLine:Qt,openBreakPoint:sn=!1,placeholder:bt="",showMiniMap:Lt=!0}=$t,un=We($t,["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 Cn=(0,y.useRef)(),ut=(0,y.useRef)({}),kt=(0,y.useRef)(),wt=(0,y.useRef)(),cn=(0,y.useRef)([]),An=(0,y.useRef)(!1),Kn=(0,y.useRef)(),rr=(0,y.useRef)(),sr=(0,y.useRef)(!1),[kn,Jn]=(0,y.useState)(!1);function zt(){let Bn;return Cn.current&&(Bn=new xe.Z(Mn=>{for(let ur of Mn)(ur.target.offsetHeight>0||ur.target.offsetWidth>0)&&ut.current.instance.layout()}),Bn.observe(Cn.current)),Bn}function mn(){rt.ZP.warning({content:decodeURIComponent(gt||Ce),key:"monaco-editor-tip"})}const an=()=>{let Bn=ut.current.instance;if(ne!=null&&Bn&&kn){const Mn=Bn.getModel();Mn&&ne!==Mn.getValue()&&(lt=!0,Mn.setValue(ne),Bn.layout(),lt=!1)}};(0,y.useEffect)(()=>{const Bn=ge.Z.subscribe("formatDocument",Mn=>{var ur;let dr=ut.current.instance;(ur=dr==null?void 0:dr.getAction)==null||ur.call(dr,"editor.action.formatDocument").run()});return window.updateMonacoValue=Mn=>{St(Mn)},Bn},[]),(0,y.useEffect)(()=>{var Bn;let Mn=ut.current.instance;wt.current&&clearTimeout(wt.current),wt.current=setTimeout(()=>{an()},500),ne&&(ne!=null&&ne.length)&&((Bn=Mn==null?void 0:Mn.updateOptions)==null||Bn.call(Mn,{lineNumbersMinChars:Math.max(Math.floor(Math.log10(ne.split(/\r\n|\r|\n/g).length))+3,5)}))},[ne,kn,ut.current]),(0,y.useEffect)(()=>{if(tn&&ut.current&&ut.current.instance){let Mn=ut.current.instance;Mn.changeViewZones(function(ur){var dr=document.createElement("div");dr.style.padding="10px 20px",dr.style.width="calc(100% - 20px)",dr.className="my-error-line-wrp",dr.innerHTML=Vt,ur.addZone({afterLineNumber:tn||11,heightInLines:3,domNode:dr})});var Bn={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}};Mn.addOverlayWidget(Bn),Mn.revealPositionInCenter({lineNumber:20,column:1})}},[tn,ut.current,kn]);const ln=(Bn="",Mn)=>{if(!Bn||Bn.trim()==="")return!0;const dr=ut.current.instance.getModel().getLineTokens(Mn);let Ot=!1;for(let Jt=0;Jt<2;Jt++)dr.getStandardTokenType(Jt)===1&&(Ot=!0);return Ot};(0,y.useEffect)(()=>{var Bn;const Mn=(Bn=ut.current)==null?void 0:Bn.instance;if(Mn&&kn&&dt){const ur=Mn.onDidBlurEditorWidget(()=>{sr.current=!1}),dr=Mn.onDidFocusEditorText(()=>{sr.current=!0});return()=>{ur.dispose(),dr.dispose()}}},[ut.current,kn,dt]),(0,y.useEffect)(()=>{var Bn;if((Bn=ut.current)!=null&&Bn.instance&&kn&&sn){let Mn=ut.current.instance,ur=Mn.getModel();if(!ur)return;(()=>{var nt;let Bt=[],It=[];const _t=ur.getAllDecorations();for(let zn of _t)zn.options.className==="highlighted-line"&&(Bt.push((nt=zn==null?void 0:zn.range)==null?void 0:nt.startLineNumber),It.push(zn==null?void 0:zn.id));if(Qt===Bt[0])return;ur.deltaDecorations(It,[]);const Ln=ur.getLineCount();Qt&&Qt<=Ln&&(Mn.deltaDecorations([],[{range:new at.Range(Qt,1,Qt,ur.getLineMaxColumn(Qt)),options:{isWholeLine:!0,className:"highlighted-line"}}]),Mn.revealLineInCenter(Qt))})();const Ot=(nt=!1)=>{var Bt;let It=[],_t=[];const Ln=ur.getAllDecorations();for(let zn of Ln)zn.options.linesDecorationsClassName==="breakpoints-select"&&(It.push((Bt=zn==null?void 0:zn.range)==null?void 0:Bt.startLineNumber),_t.push(zn==null?void 0:zn.id));if(nt)return{lines:It,ids:_t};en(It)},Jt=nt=>Be(void 0,null,function*(){let Bt={range:new at.Range(nt,1,nt,1),options:{isWholeLine:!1,linesDecorationsClassName:"breakpoints-select"}};yield ur.deltaDecorations([],[Bt]),Ot()}),vt=nt=>Be(void 0,null,function*(){let Bt=[];const It=Mn.getLineDecorations(nt);for(let _t of It)_t.options.linesDecorationsClassName==="breakpoints-select"&&Bt.push(_t.id);yield ur.deltaDecorations(Bt,[]),Ot()}),Tt=nt=>{let Bt=Mn.getLineDecorations(nt);for(let It of Bt)if(It.options.linesDecorationsClassName==="breakpoints-select")return!0;return!1};if(!(0,Ge.isEqual)(Ut,Ot(!0).lines)){ur.deltaDecorations(Ot(!0).ids,[]);const nt=Ut.map(Bt=>({range:new at.Range(Bt,1,Bt,1),options:{isWholeLine:!1,linesDecorationsClassName:"breakpoints-select"}}));ur.deltaDecorations([],nt)}const Et=Mn.onDidChangeModelContent(nt=>{let Bt=Mn.getPosition();if(Bt){let It=Bt.lineNumber;clearTimeout(rr.current),rr.current=setTimeout(()=>{ln(ur.getLineContent(It),It)?vt(It):Tt(It)?(vt(It),Jt(It)):Ot()},100)}}),Ht=Mn.onMouseDown(nt=>{var Bt,It,_t;if(nt.target.detail&&((_t=(It=(Bt=nt.target)==null?void 0:Bt.element)==null?void 0:It.className)!=null&&_t.includes("line-numbers"))){let Ln=nt.target.position.lineNumber;if(ln(ur.getLineContent(Ln),Ln))return;Tt(Ln)?vt(Ln):Jt(Ln)}}),ot=nt=>{let Bt={range:new at.Range(nt,1,nt,1),options:{isWholeLine:!1,linesDecorationsClassName:"breakpoints-fake"}};cn.current=Mn.deltaDecorations(cn.current,[Bt])},Xt=()=>{cn.current=Mn.deltaDecorations(cn.current,[])},nn=Mn.onMouseMove(nt=>{var Bt,It,_t;if(Xt(),nt.target.detail&&((_t=(It=(Bt=nt.target)==null?void 0:Bt.element)==null?void 0:It.className)!=null&&_t.includes("line-numbers"))){let Ln=nt.target.position.lineNumber;if(ln(ur.getLineContent(Ln),Ln))return;ot(Ln)}}),Kt=Mn.onMouseLeave(()=>{Xt()});return()=>{Et.dispose(),Ht.dispose(),nn.dispose(),Kt.dispose()}}},[ut.current,kn,Ut,Qt,sn,te]),(0,y.useEffect)(()=>{var Bn;(Bn=ut.current)!=null&&Bn.instance&&sn&&ut.current.instance.setPosition({lineNumber:0,column:0})},[Qt]);function qt(){let Bn=ut.current.instance;if(Bn){const Mn=Bn.getSelection(),ur=ut.current.pastePos||{},dr=new at.Range(ur.startLineNumber||Mn.endLineNumber,ur.startColumn||Mn.endColumn,ur.endLineNumber||Mn.endLineNumber,ur.endColumn||Mn.endColumn);setTimeout(()=>{Bn.executeEdits("",[{range:dr,text:""}])},300)}}function xn(Bn){(window.navigator.platform.match("Mac")?Bn.metaKey:Bn.ctrlKey)&&Bn.keyCode==83&&(Bn.preventDefault(),et())}const En=()=>{if(tt&&ut.current.instance){const Bn=ut.current.instance.getContentHeight();Rr(Bn<ce?ce:Bn)}else Rr(ce)};function _n(Bn){var Mn=document.createEvent("MouseEvents");Mn.initMouseEvent("click",!0,!1,window,0,0,0,0,0,!1,!1,!1,!1,0,null),Bn.dispatchEvent(Mn)}const $n=Bn=>{if(!sr.current)return;const{keyCode:Mn,ctrlKey:ur,metaKey:dr,target:Ot,type:Jt}=Bn;return(Jt==="paste"||(Mn===67||Mn===86)&&(dr||ur))&&Ot.nodeName==="TEXTAREA"&&(mn(),Bn.preventDefault()),!1};function Yn(Bn,Mn){var ur=window.URL||window.webkitURL||window,dr=new Blob([Mn]),Ot=document.createElementNS("http://www.w3.org/1999/xhtml","a");Ot.href=ur.createObjectURL(dr),Ot.download=Bn,_n(Ot)}(0,y.useEffect)(()=>{En()},[En]),(0,y.useEffect)(()=>{Cn.current&&!kn&&Promise.all([E.e(8909),E.e(2460)]).then(E.bind(E,71448)).then(Bn=>{try{at=Bn,ut.current.instance=at.editor.create(Cn.current,{value:ne,language:Re(te),theme:de,requireConfig:{"vs/nls":{availableLanguages:{"*":"zh-cn"}}},wordWrap:!0,autoIndent:!0,contextmenu:!0,formatOnType:!0,minimap:{enabled:Lt||!1}},re);const Mn=ut.current.instance;let Ot=[...Fe.BH._menuItems].find(Et=>Et[0]._debugName=="EditorContext")[1],Jt=["editor.action.clipboardCopyWithSyntaxHighlightingAction","editor.action.quickCommand","editor.action.clipboardCopyAction","editor.action.clipboardPasteAction","editor.action.clipboardCutAction"],vt=(Et,Ht)=>{var ot,Xt;let nn=Et._first;do Ht.includes((Xt=(ot=nn.element)==null?void 0:ot.command)==null?void 0:Xt.id)&&Et._remove(nn);while(nn=nn.next)};if(_e(Mn,at),setTimeout(()=>{En(),ut.current.instance.addAction({id:"d123123",label:"Download File",contextMenuGroupId:"9_cutcopypaste",run:()=>{Yn(yn||"educoder.txt",Mn.getValue())}})},500),ut.current.subscription=Mn.onDidChangeModelContent(Et=>{An.current?clearTimeout(Kn.current):(En(),St(Mn.getValue(),Et)),Kn.current=setTimeout(()=>{An.current=!1},500)}),window.Monaco||Ae(at,Re(te)),dt&&(vt(Ot,Jt),Cn.current.classList.add("noCopyPaste"),window.removeEventListener("keydown",$n),window.removeEventListener("paste",$n),window.addEventListener("keydown",$n),window.addEventListener("paste",$n)),window.Monaco=at,Ue&&Mn.onDidBlurEditorWidget(()=>{Ue(Mn.getValue())}),st&&Mn.onDidFocusEditorText(()=>{dt&&jt(),st(Mn.getValue())}),dt){jt();try{Mn.onDidPaste(Et=>{const Ht=Mn.getSelection(),ot=ut.current.pastePos||{},Xt=new at.Range(ot.startLineNumber||Ht.endLineNumber,ot.startColumn||Ht.endColumn,ot.endLineNumber||Ht.endLineNumber,ot.endColumn||Ht.endColumn);Mn.executeEdits("",[{range:Et.range,text:""}])})}catch(Et){}}let Tt=zt();return bt&&typeof bt=="string"&&new oe(bt,Mn,at),Jn(!0),()=>{const Et=ut.current.instance;Et.dispose();const Ht=Et.getModel();Ht&&Ht.dispose(),ut.current.subscription&&ut.current.subscription.dispose(),Tt.unobserve(Cn.current)}}catch(Mn){}})},[]),(0,y.useEffect)(()=>{if(ut.current.instance&&kn)return document.addEventListener("keydown",xn,!1),()=>{document.removeEventListener("keydown",xn)}},[et,kn]),(0,y.useEffect)(()=>{let Bn=ut.current.instance;if(Bn&&kn){let Mn=Re(te);at.editor.setModelLanguage(Bn.getModel(),Mn)}},[te,kn]),(0,y.useEffect)(()=>{ut.current.instance&&kn&&at.editor.setTheme(de)},[de,kn]),(0,y.useEffect)(()=>{let Bn=ut.current.instance;kt.current=ve,Bn&&kn&&(Bn.updateOptions(Ct({},ve)),setTimeout(()=>{Bn.getModel().updateOptions(Ct({},ve))},200))},[JSON.stringify(ve),kn]),(0,y.useEffect)(()=>{let Bn=ut.current.instance;Bn&&kn&&Bn.layout()},[Rt,ce,kn]);const[Gn,Qn]=(0,y.useState)(Dt(Rt)),[nr,Rr]=(0,y.useState)(Dt(ce)),Ir=Yt(Ct({},le),{width:Gn,height:nr,position:"relative"});return y.createElement("div",{className:"my-monaco-editor",ref:Cn,style:Ir,onFocus:()=>{dt&&jt()}},pt&&y.createElement(Oe.CopyToClipboard,{text:ne,onCopy:()=>rt.ZP.success("\u590D\u5236\u6210\u529F")},y.createElement(Ne.Z,{title:"\u590D\u5236\u4EE3\u7801"},y.createElement("div",{style:{position:"absolute",top:0,right:10,cursor:"pointer",zIndex:10,color:"#165DFF"}},y.createElement("i",{className:"iconfont icon-fuzhi8",style:{fontSize:14}})," \u590D\u5236\u4EE3\u7801"))))};function Wt({width:xt="100%",height:$t="100%",original:Rt,modified:ce,language:ne,options:te={}}){const le=(0,y.useRef)(),[ve,re]=(0,y.useState)(null);function de(tt){let dt;return le.current&&(dt=new xe.Z(gt=>{for(let St of gt)(St.target.offsetHeight>0||St.target.offsetWidth>0)&&tt.layout()}),dt.observe(le.current)),dt}(0,y.useEffect)(()=>(le.current&&Promise.all([E.e(8909),E.e(9404)]).then(E.bind(E,2550)).then(tt=>{at=tt;const dt=at.editor.createDiffEditor(le.current,Yt(Ct({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(dt);let gt=de(dt);return()=>{dt.dispose();const St=dt.getModel();St&&St.dispose(),gt.unobserve(le.current)}}),()=>{window.removeEventListener("keydown",checkPaste),window.removeEventListener("paste",checkPaste)}),[]),(0,y.useEffect)(()=>{ve&&ve.setModel({original:at.editor.createModel(Rt,ne),modified:at.editor.createModel(ce,ne)})},[Rt,ce,ne,ve]);const Ue=Dt(xt),pt=Dt($t),et={width:Ue,height:pt};return y.createElement("div",{className:"my-diff-editor",ref:le,style:et})}},61584:function(dn,yt,E){"use strict";E.d(yt,{Z:function(){return Ye}});var y={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"},xe=E(29787),he=E(25399),je=E(89787),be=E(92310),De=E.n(be),ye=E(65862),ze=E(2524),we=E(59301),Ye=({className:fe,dataSource:ke=[],col:Ae=4,right:Ce,bottom:me=23,precision:ue=0,wrapWidth:Me=1200,trackEventItems:Ze,loading:Qe,onRemove:oe=()=>{},isCurrent:Fe=!0,showProgress:rt=!1,showAlias:Ne=!1,category:Ge,hiddenClick:ge})=>{const Oe=Math.floor((Me-(Ae-1)*Ce)/Ae),Ve=[{name:"\u63A8\u8350\u81EA\u5B66",ptimg:"/images/tjzx.png",swimg:"/images/sw_tjzx.png"},{name:"101\u8BA1\u5212",ptimg:"/images/jh.png",swimg:"/images/sw_jh.png"},{name:"\u56FD\u5BB6\u4E00\u6D41",ptimg:"/images/gjyl.png",swimg:"/images/sw_gjyl.png"},{name:"\u7701\u7EA7\u4E00\u6D41",ptimg:"/images/sjyl.png",swimg:"/images/sw_sjyl.png"},{name:"\u7CBE\u54C1\u8BFE\u7A0B",ptimg:"/images/jpkc.png",swimg:"/images/sw_jpkc.png"},{name:"\u519B\u961F\u4E00\u6D41",ptimg:"/images/jdyl.png",swimg:"/images/sw_jdyl.png"},{name:"\u65B0\u578B\u6559\u6750",ptimg:"/images/xxjc.png",swimg:"/images/sw_xxjc.png"}];return we.createElement(xe.Z,{spinning:Qe},we.createElement("div",{className:De()(y.list,fe)},!!(ke!=null&&ke.length)&&(ke==null?void 0:ke.map((Pe,it)=>{var Le,pe,qe,Xe,Ct,Yt,We,Be,Dt,Zt,lt,Se,Re;const{name:at,id:jt,identifier:ft,featured:Wt,school_name:xt,image_url:$t,excellent:Rt,is_plan:ce}=Pe;return we.createElement("div",{key:jt,className:Fe&&rt?y.wrapisCurrent:y.wrap,style:{width:Oe,marginRight:(1+it)%Ae===0?0:Ce+ue,marginBottom:me}},we.createElement("a",{className:y.li,onClick:ne=>{ne.preventDefault(),ne.stopPropagation(),Ze&&(0,ye.L9)([Ze]),(0,ye.xg)(`/paths/${ft}`)}},we.createElement("div",{className:y.img},we.createElement("img",{className:y.cover,src:`${$t}`}),(Le=Pe==null?void 0:Pe.subject_tags)==null?void 0:Le.map((ne,te)=>{var le,ve;if(te===0){const de=(le=Ve.find(Ue=>Ue.name==ne))==null?void 0:le.swimg;return we.createElement("img",{className:y.sign,src:de,style:{left:"-4px"}})}const re=(ve=Ve.find(de=>de.name==ne))==null?void 0:ve.ptimg;return we.createElement("img",{className:y.sign,src:re,style:{left:`${48+52*(te-1)+2*te}px`}})}),we.createElement("div",{className:y.tagsDom},we.createElement("div",{className:"flex flex-wrap gap-10px item-center"},(Pe==null?void 0:Pe.excellent)&&we.createElement("div",{className:y.bq},"\u5F00\u653E\u8BFE\u7A0B"),((pe=Pe==null?void 0:Pe.custom_tags)==null?void 0:pe.length)>0&&we.createElement(he.Z,{title:(Ct=(Xe=Pe==null?void 0:Pe.custom_tags)==null?void 0:Xe[((qe=Pe==null?void 0:Pe.custom_tags)==null?void 0:qe.length)-1])==null?void 0:Ct.tag_name},we.createElement("div",{className:"px-6px rounded-2px c-white h-16px flex item-center",style:{maxWidth:"62px",background:"#3061D0",border:"0.5px solid #8FAFF8"}},we.createElement("span",{className:"multi-llipsis1e text-10px"},(Be=(We=Pe==null?void 0:Pe.custom_tags)==null?void 0:We[((Yt=Pe==null?void 0:Pe.custom_tags)==null?void 0:Yt.length)-1])==null?void 0:Be.tag_name))))),Ge=="hide"&&(Pe==null?void 0:Pe.studying)&&Fe&&we.createElement("div",{className:`${y.movebq} user-path-items`,onClick:ne=>{ne.stopPropagation(),oe(Pe)}},we.createElement("i",{className:"iconfont icon-yichu1 font12"}),we.createElement("span",null,"\u79FB\u9664")),!["collect","payed"].includes(Ge)&&Fe&&we.createElement("div",{className:`${y.hiddenbq} user-path-items`,onClick:ne=>{ne.stopPropagation(),ge(Pe)}},we.createElement("i",{className:`iconfont ${Ge=="hide"?"icon-chakan2":"icon-yincangtiaojianshezhi"} font12`}),we.createElement("span",null,Ge=="hide"?"\u53D6\u6D88\u9690\u85CF":"\u9690\u85CF"))),we.createElement("div",{className:y.name},we.createElement(he.Z,{title:Ne&&(Pe!=null&&Pe.excellent_alias_name)?we.createElement("span",null,`\u8BFE\u7A0B\u539F\u540D\uFF1A${at}`,we.createElement("br",null),we.createElement("span",null,`\u8BFE\u7A0B\u522B\u540D\uFF1A${Pe==null?void 0:Pe.excellent_alias_name}`)):at},we.createElement("span",{className:y.e},Ne&&(Pe==null?void 0:Pe.excellent_alias_name)||at))),Fe&&rt&&((Dt=Pe==null?void 0:Pe.progress)==null?void 0:Dt.all_score)!=0&&we.createElement("div",{style:{padding:"0px 10px",color:"#333",marginTop:10}},we.createElement(je.Z,{strokeColor:"#44d7b6",gap:"small",percent:(((Zt=Pe==null?void 0:Pe.progress)==null?void 0:Zt.my_score)/((lt=Pe==null?void 0:Pe.progress)==null?void 0:lt.all_score)*100).toFixed(),showInfo:!1}),"\u5DF2\u5B8C\u6210 ",(Se=Pe==null?void 0:Pe.progress)==null?void 0:Se.my_score,"/",(Re=Pe==null?void 0:Pe.progress)==null?void 0:Re.all_score),(!Fe||!rt)&&we.createElement(he.Z,{title:`\u53D1\u5E03\u5355\u4F4D\uFF1A${xt}`},we.createElement("div",{className:y.unit},we.createElement("i",{className:"iconfont icon-danwei1 font14 mr3"}),xt)),(!Fe||!rt)&&we.createElement("div",{className:y.tags},we.createElement("div",null,we.createElement(he.Z,{placement:"bottom",title:"\u7AE0\u8282\u6570"},we.createElement("span",null,we.createElement("i",{className:"iconfont icon-zhangjie1 font14 mr3"}),we.createElement("span",null,Pe.stages_count))),we.createElement(he.Z,{placement:"bottom",title:"\u5B66\u4E60\u4EBA\u6570"},we.createElement("span",null,we.createElement("i",{className:"iconfont icon-chengyuan font14 mr3"}),we.createElement("span",null,Pe.members_count)))))))})),!ke.length&&we.createElement(ze.Z,null)))}},82636:function(dn,yt,E){"use strict";E.d(yt,{jL:function(){return be},w9:function(){return Dt},QD:function(){return yn},cQ:function(){return Xe.Z},op:function(){return gt},O5:function(){return mn},_b:function(){return Lt},t7:function(){return Me},Gi:function(){return jt},YG:function(){return Re},qp:function(){return Ye},vr:function(){return Qt},qE:function(){return st},Je:function(){return oe},wb:function(){return qe},cq:function(){return ce},tp:function(){return Ae}});var y=E(59301),xe={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"},he="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAE4AAAA0CAYAAAAkEw66AAAAAXNSR0IArs4c6QAAGNVJREFUeF7VmwmwHVWdxr9zuvvu9+3ZXsxCiNkIQZOwEzMgyADjggsWgzPqOAJaMiCjYiGKqDBQAo4iWGAxA+ooMm7gBhSyhBBRIIBSAQlrHuTt7913t97PmfpOd4cXlLAFGO6rW9237719+/z6+6/nPIHX+XHttddaex38nlW2lLO1svq1wJ4aeFMM9CqFnNKoaYVapDAOicfjGEMKqKk2nrx59Lbt5xx6aPR6DEG8Hj/K3xwY0YtjSx2vYnlspLEsX0BRKUBrINtyX+PZp0r3fR+IIgzFSo9EsahFUfSHWIj7Pa919zvf2vlo+rFXdWivObjHJvR8S6vTJORHckV0+4GBAF4InwQlBCAIkEMXgCLA9Mn9WCef4ft8HWkgVIDn6ckwUA/HQfCzoFX71TsP6n/41aL3moHTW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HWCvUlFfvWiGWMYFQpQzzXSoAfxlWD1w0X1y33tPEkyy33CPk6/TBx8yF7f05pDjuIrOzuaaVUoExxKT43a5akFCtVys3+Wcwweu1dbHV+LxN3VhPsEx8jANGfOAh4eiL5x0iHPeG47YtAv+9I3xp9f0yIvLDAw6ySIY/ExSnpkqVcels/x/syLgtXHpx9bhlF2CO/tanVuzHHfPqmJVOf0nNdr5SFP7D02Eb/3iEfkdtdsbFeCXbtYfXlDGueU85iKZsjXZklnpyZdpGmgWFcS4pGsQnzvuOBG/4CzXFX/Qp+zZi28pPzkZHeNIS337X2+Qp+IckWajb1RsyXWffqOeN8tRH+rKyWOhsSBnYyYziiCAa0k8EQKb2kF01acPc3akXS8IbsW1Onf6AnVib16ewqWz21vq9qu2yNPeqL7thW7xZ65391jcV1jE/1qKFcaeCfDwOYeK9D83nv32/wHzrWgvjJ8Q7AAAAABJRU5ErkJggg==",be=({dataSource:an=[],img:ln,imgWidth:qt=346,title:xn,sunTitle:En,bannerExtraContent:_n})=>y.createElement("div",{className:xe.banner},y.createElement("div",{className:xe.content},y.createElement("aside",null,y.createElement("p",null,y.createElement("b",null,xn),y.createElement("span",null,En)),an.length>0&&y.createElement("div",{className:xe.btns},an.map(($n,Yn)=>y.createElement("div",{key:Yn,onClick:$n.click},$n.name,$n.sign?y.createElement("img",{src:he,width:39}):null))),_n),ln&&y.createElement("img",{style:{marginTop:33,marginRight:38},src:ln,width:qt}))),De={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"},ye=E(92310),ze=E.n(ye),we=E(89392),Ye=({dataSource:an=[],value:ln,onChange:qt,onTitleChange:xn,className:En,title:_n,titleWidth:$n=41,style:Yn={},fontColor:Gn="#6A7283",showCount:Qn})=>{const[nr,Rr]=(0,y.useState)(1),[Ir,Bn]=(0,y.useState)(!1),Mn=(0,y.useRef)(null),ur=(0,y.useRef)(null);return(0,y.useEffect)(()=>{var dr;an.length!==0&&(((dr=Mn==null?void 0:Mn.current)==null?void 0:dr.clientHeight)>97?Rr(1):Rr(0)),an.length===0&&Rr(0),Bn(!1)},[an]),y.createElement("div",{className:ze()(De.row,En,"fadeIn","animated"),style:Yn},y.createElement("div",{onClick:(0,we.throttle)(()=>xn==null?void 0:xn(),2e3),style:{width:$n,marginTop:Ir?12:4},className:`${De.title} ${xn?"current":""}`},_n),y.createElement("div",{className:Ir?`${De.tagsWrap} ${De.tagsBorderWrap}`:De.tagsWrap},y.createElement("div",{className:De.bar,ref:ur,style:nr>0?{height:nr===1?97:"auto",overflow:nr===1?"hidden":"auto",paddingRight:55}:{paddingRight:0}},y.createElement("div",{className:De.tag,ref:Mn},an==null?void 0:an.map(dr=>y.createElement("span",{onClick:()=>qt(dr.id),key:dr.id,style:{color:Gn},className:ln===dr.id?De.active:""},y.createElement("span",{title:dr.name,className:De.name},dr.name),!!Qn&&y.createElement("span",{className:De.num},dr.count))))),!!nr&&y.createElement(y.Fragment,null,nr===1?y.createElement("div",{onClick:()=>{var dr;Rr(2),((dr=Mn==null?void 0:Mn.current)==null?void 0:dr.clientHeight)>245?Bn(!0):Bn(!1)},className:De.action},"\u5C55\u5F00",y.createElement("i",{style:{transform:"translateY(1px) scale(0.6)"},className:"iconfont icon-zhankai4"})):y.createElement("div",{onClick:()=>{ur.current.scrollTop=0,Rr(1),Bn(!1)},className:De.action},"\u6536\u8D77",y.createElement("i",{style:{transform:"translateY(0px) scale(0.6)"},className:"iconfont icon-shouqi3"})))))},fe={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"},Ae=({dataSource:an=[],value:ln,onChange:qt,className:xn,style:En={}})=>y.createElement("div",{style:En,className:ze()(fe.tabs,xn)},an.map(_n=>y.createElement("span",{onClick:()=>qt(_n.id),className:ln===_n.id?fe.active:"",key:_n.id},_n.name))),Ce={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"},me=E(37568),Me=({dataSource:an=[],value:ln="",onChange:qt,onInputChange:xn=()=>{},className:En,style:_n={},placeholder:$n,allowClear:Yn=!1})=>{var Gn;const[Qn,nr]=(0,y.useState)(""),[Rr,Ir]=(0,y.useState)("");(0,y.useEffect)(()=>{var ur;let dr=ln;(ur=JSON.stringify(ln))!=null&&ur.includes("{")&&(nr(ln.id),dr=ln.value||"");try{Ir(decodeURIComponent(dr||""))}catch(Ot){Ir(decodeURIComponent(dr||""))}},[ln]);const Bn=()=>{qt(encodeURIComponent(Rr),Qn||null)},Mn=ur=>{ur!==Qn&&(nr(ur),qt(encodeURIComponent(Rr),ur))};return y.createElement("div",{className:ze()(Ce.input,En),style:_n},!!an.length&&y.createElement("div",{className:Ce.dropdown},y.createElement("div",{className:Ce.text},(Gn=an.find(ur=>ur.id===Qn))==null?void 0:Gn.name,y.createElement("i",{className:"iconfont icon-zhankai4"}),y.createElement("b",{className:Ce.b1}),y.createElement("b",{className:Ce.b2})),y.createElement("div",{className:Ce.menu},an.map((ur,dr)=>y.createElement("div",{key:dr,onClick:()=>Mn(ur.id)},ur.name)))),y.createElement(me.default,{onPressEnter:Bn,value:Rr,onChange:ur=>{Ir(ur.target.value),xn(encodeURIComponent(ur.target.value),Qn||null)},placeholder:$n,variant:"borderless",allowClear:Yn,onClear:()=>qt("",Qn||null)}),y.createElement("i",{onClick:Bn,className:"iconfont icon-sousuo9 font14 current"}))},Ze={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"},oe=({value:an,onChange:ln,className:qt,total:xn,pageSize:En,style:_n={}})=>{const $n=an<2,Yn=an>=Math.ceil(xn/En);return xn<=En?y.createElement(y.Fragment,null):y.createElement("div",{className:ze()(Ze.quickPager,qt),style:_n},y.createElement("div",{onClick:()=>{$n||ln(an-1,"prev")},className:$n?Ze.disabled:""},"\u4E0A\u4E00\u9875"),y.createElement("div",{onClick:()=>{Yn||ln(an+1,"next")},className:Yn?Ze.disabled:""},"\u4E0B\u4E00\u9875"))},Fe={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"},rt=E(29787),Ne=E(25399),Ge=E(63139),ge=E(74128),Oe=E(65862),Ve=E(96908),Pe=E(57177),it=E(81378),Le=E(2524),qe=({className:an,dataSource:ln=[],col:qt=4,right:xn,bottom:En=23,precision:_n=0,wrapWidth:$n=1200,trackEventItems:Yn,loading:Gn})=>{const Qn=Math.floor(($n-(qt-1)*xn)/qt);return y.createElement(rt.Z,{spinning:Gn},y.createElement("div",{className:ze()(Fe.list,an)},!!ln.length&&ln.map((nr,Rr)=>{const{name:Ir,id:Bn,identifier:Mn,power:ur,cover_image_id:dr,pic:Ot}=nr;return y.createElement("div",{className:Fe.wrap,key:Bn,style:{width:Qn,marginRight:(1+Rr)%qt===0?0:xn+_n,marginBottom:En}},y.createElement("a",{target:"_blank",href:`/shixuns/${Mn}/challenges`,className:Fe.li,onClick:Jt=>{Jt.preventDefault(),Yn&&(0,Oe.L9)([Yn]),ur&&(0,Oe.xg)(`/shixuns/${Mn}/challenges`)}},y.createElement("div",{className:Fe.img},y.createElement("img",{className:Fe.cover,src:`${Ot}`}),nr.is_jupyter&&y.createElement("img",{className:Fe.sign,src:Ve}),nr.is_jupyter_lab&&y.createElement("img",{className:Fe.sign,src:Pe}),nr.is_unity_3d&&y.createElement("img",{className:Fe.sign,src:it})),y.createElement("div",{className:Fe.name},y.createElement(Ne.Z,{title:Ir||"\u5B9E\u8DF5\u9879\u76EE\u540D\u79F0-\u672A\u586B\u5199"},y.createElement("span",{className:Fe.e},Ir||"\u5B9E\u8DF5\u9879\u76EE\u540D\u79F0-\u672A\u586B\u5199"))),y.createElement("div",{className:Fe.tags},y.createElement(Ne.Z,{placement:"bottom",title:"\u5173\u5361\u6570"},y.createElement("span",null,y.createElement("i",{className:"iconfont icon-shixunguanqia font14 mr2"}),y.createElement("span",null,nr.challenges_count))),!!nr.myshixuns_count&&y.createElement(Ne.Z,{placement:"bottom",title:"\u5B66\u4E60\u4EBA\u6570"},y.createElement("span",null,y.createElement("i",{className:"iconfont icon-chengyuan font14 mr2"}),y.createElement("span",null,nr.myshixuns_count))),y.createElement(Ne.Z,{placement:"bottom",title:"\u96BE\u5EA6\u7B49\u7EA7"},y.createElement("span",null,y.createElement("span",null,nr.level))),y.createElement("div",{className:Fe.rate},y.createElement(Ge.Z,{allowHalf:!0,disabled:!0,defaultValue:nr.score_info}),y.createElement("span",null,"\xA0",nr.score_info?`${nr.score_info}\u5206`:"5\u5206")))),!ur&&y.createElement("div",{className:Fe.lockWrap},y.createElement("img",{src:`${ge.Z.IMG_SERVER}/images/educoder/icon/lockclose.svg`}),y.createElement("span",{className:"mt15 font16 c-white"},"\u5B9A\u5411\u5F00\u653E\u5185\u5BB9\uFF0C\u9700\u8981\u6388\u6743")))}),!ln.length&&y.createElement(Le.Z,null)))},Xe=E(61584),Ct={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",lockWrap:"lockWrap___SMhkK",top:"top___udHSB",sign:"sign___uwRpq",name:"name___Fpf90",img:"img___AMLhL",text:"text___KiTb7",btns:"btns___i6IuZ",bottom:"bottom____k2sh"},Yt="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAHgAAAB4CAYAAAA5ZDbSAAAAAXNSR0IArs4c6QAAIABJREFUeF7tXWmQXFd1/s59r3t6nX00o93GluV9AQNxiAkIB0OMISFsFQqSAhOohFR+JKmEQPILClJZfpEfIUAChFQSHIJxnGDiDYwsb8KRLUuWZcmSxqN9pJF6nV7eSZ373u1509Mzvd2eGVt6VV2z9Ht3+9459+yX8Bq4mDmWK2GLqla3MvFWZt4KpjVMSBNzGoQ0M6WJkJbpMiNDxBkwMkyUIUYGxCeJaB8x7fMcZ18yiv1EVHy1Lw+9GicwO8tXlSrlbSB6O4HfANAmZlY250JEHsBHGLQTzA9H3chDfX2012Yfy9HWqwJgZh7NF6vvY/a2gWkbgyeWY3Hq+yDQcRA/RKQeSsSce4jo9EqMo50+Vy3AzNxXKFTv9MAfB/AuZo60M7Fe30tEZQA/UqBvx+POvUQ02+s+O2l/1QGcy5Xe6Cn1SXj8YYAHO5nU8j9DM1D0b8rzvpFMRp9a/v4X73HVAJwplN9GHj7P4NtW0wK1OxYCPcAKX0rHI4+0+2wv7l9xgHPFyrs9j78A5l/sxQ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wP9iJntush54ALJ2KwJUrVL4M4A9frbbrZovX7fdiWwbwN8m4+7l2LVSt9t0zgM0AxEHhVflbF/flBbvjtHLot9pxHLQK6jxdupOH2n1GuxpR+S6Yb2332dfk/USPOnA/2qrLr5s16DkFm8EJm84Xq5/wPP7LC5eaaVop+pNEzPlmwJ67wa6lZ5cN4BDQw9l8+StEdNeFsjcLmMz89VQi8qdEdKYlZCzdtOwAm3EHIblfZeabLc1lVTYjccsK/NlEIvrESgxwxQAOCWHv9jz+Aph/cSUWoGd9Ej2mFH3RlkWq03GuOMBm4JLwRh4+z+DbOp3ManhOsvxY4UvpeOSR1TGe1TCK0BiC/OS7APoQwKHqHKtsoPOGQzMA/7sCvp5MRp9aTSNdNRRcvyhSTqJQqN7pgT8O4F3MvArC3uZGKdVsAPxIgb4djzv3EtHsagLWjGXVAhxeLCnxlC9W38fsbQPTNgZPrMRiSgU5ED9EpB5KxJx7iKjFkxlXYrR+n68KgOuXJ6ituQ1E2wj8eoA2McuxWPYuqbcM8BEG7QTzw1E38pBtR4C90S7e0qsS4AbsPJYrYYuqVrcy8VZm3gqmcSakiTkFQpqZ0kRIy7PMyBBxBowME2WJkQHxCSLaR0z7PMfZl4xiPxFdXaKvAAAADElEQVQVlwOEXvbx/3Bccpan8cseAAAAAElFTkSuQmCC",We=E(59301),Dt=({className:an,dataSource:ln=[],col:qt=4,right:xn,bottom:En=23,precision:_n=0,wrapWidth:$n=1200,trackEventItems:Yn,loading:Gn,category:Qn,hiddenClick:nr,handleVery:Rr=()=>!0,isCurrent:Ir})=>{const Bn=Math.floor(($n-(qt-1)*xn)/qt);return We.createElement(rt.Z,{spinning:Gn},We.createElement("div",{className:ze()(Ct.list,an)},!!ln.length&&ln.map((Mn,ur)=>{const{subject_identifier:dr,id:Ot,identifier:Jt,power:vt}=Mn,Tt=Mn.is_public!=0&&Mn.is_public;return We.createElement("div",{className:Ct.wrap,key:Ot,style:{width:Bn,marginRight:(1+ur)%qt===0?0:xn+_n,marginBottom:En}},We.createElement("a",{className:Ct.li,onClick:Et=>{Et.preventDefault(),Rr(Mn==null?void 0:Mn.first_category_url)&&(Yn&&(0,Oe.L9)([Yn]),(0,Oe.xg)(Mn.first_category_url))}},We.createElement("div",{className:Ct.top},We.createElement(Ne.Z,{title:Mn.name},We.createElement("div",{className:Ct.name},Mn.name)),We.createElement("img",{className:Ct.img,src:ge.Z.IMG_SERVER+"/images/"+Mn.avatar_url}),We.createElement("div",{className:Ct.text,title:Mn.creator},Mn.creator),dr&&We.createElement("div",{className:Ct.btns},We.createElement("div",null,"\u5F00\u653E\u8BFE\u7A0B"),We.createElement("aside",null,"\u5F00\u653E\u8BFE\u5802")),Tt&&We.createElement("div",{className:Ct.sign},"\u516C\u5F00"),Ir&&We.createElement("div",{className:Ct.hidden,onClick:Et=>{Et.stopPropagation(),nr(Mn)}},We.createElement("i",{className:`iconfont ${Qn=="hide"?"icon-chakan2":"icon-yincangtiaojianshezhi"} font12`}),Qn=="hide"?"\u53D6\u6D88\u9690\u85CF":"\u9690\u85CF")),We.createElement("div",{className:Ct.bottom},Mn.visits>0&&We.createElement(Ne.Z,{title:"\u8BBF\u95EE\u91CF",placement:"bottom"},We.createElement("span",null,We.createElement("i",{className:"iconfont icon-liulanyan"}),We.createElement("span",null,Mn.visits))),Mn.course_members_count>0&&We.createElement(Ne.Z,{title:"\u6210\u5458",placement:"bottom"},We.createElement("span",null,We.createElement("i",{className:"iconfont icon-chengyuan"}),Mn.course_members_count)),Mn.tasks_count>0&&We.createElement(Ne.Z,{title:"\u4F5C\u4E1A",placement:"bottom"},We.createElement("span",null,We.createElement("i",{className:"iconfont icon-zuoye"}),Mn.tasks_count)),Mn.is_end?We.createElement("div",{style:{color:"#6B758B"}},"\u5DF2\u7ED3\u675F"):We.createElement("div",{style:{color:"#00B187"}},"\u8FDB\u884C\u4E2D"))),!Mn.is_accessible&&We.createElement("div",{className:Ct.lockWrap},We.createElement("img",{src:`${ge.Z.IMG_SERVER}/images/educoder/icon/lockclose.svg`}),We.createElement("span",{className:"mt15 font16 c-white"},"\u975E\u8BFE\u5802\u6210\u5458\u4E0D\u53EF\u8FDB\u5165")))}),!ln.length&&We.createElement(Le.Z,null)))},Zt={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"},lt=E(65582),Re=({dataSource:an=[],value:ln,onChange:qt,className:xn,style:En={},tabBarExtraContent:_n})=>y.createElement("div",{className:ze()(Zt.tabs,xn),style:En},y.createElement("div",{className:Zt.tabsWrap},an.map(($n,Yn)=>!($n!=null&&$n.hide)&&y.createElement("aside",{className:Zt.tab,onClick:()=>{qt($n.id),$n.link&&lt.history.push($n.link)},key:Yn},y.createElement("div",{className:ln===$n.id?Zt.active:""},$n.name),($n==null?void 0:$n.resetCount)==null&&($n==null?void 0:$n.total)!==void 0&&y.createElement("span",null,"\uFF08",$n==null?void 0:$n.total,"\uFF09"),($n==null?void 0:$n.resetCount)!==void 0&&($n==null?void 0:$n.total)!==void 0&&y.createElement(Ne.Z,{title:($n==null?void 0:$n.tip)!=null?$n==null?void 0:$n.tip:""},y.createElement("span",{style:{color:"#9096A3"}},"\uFF08",y.createElement("span",{style:{color:"#000"}},$n==null?void 0:$n.resetCount),"/",y.createElement("span",null,$n==null?void 0:$n.total),"\uFF09"))))),y.createElement("div",{className:Zt.tabBar},_n)),jt=({className:an,style:ln={},children:qt})=>y.createElement("div",{className:ze()(an),style:ln},qt),ft={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"},Wt=E(75727),xt=E(93041);const $t=[{id:"updated_at",name:"\u6700\u65B0\u52A8\u6001"},{id:"created_at",name:"\u6700\u65B0\u521B\u5EFA"},{id:"name",name:"\u540D\u79F0\u6392\u5E8F"}];var ce=({sortValue:an,dropValue:ln,className:qt,onSort:xn,onDrop:En,dataSource:_n=$t})=>{var $n;return y.createElement("div",{className:ze()(ft.orderWrap,qt)},y.createElement(Wt.Z,{dropdownRender:()=>y.createElement(xt.default,null,_n.map((Yn,Gn)=>y.createElement(xt.default.Item,{key:Gn,onClick:()=>En(Yn.id)},Yn.name)))},y.createElement("span",{className:ft.orderTextWrap},($n=_n.find(Yn=>ln===Yn.id))==null?void 0:$n.name)),y.createElement("span",{className:ft.orderIconWrap},y.createElement("span",{className:ft.orderAsc},y.createElement("i",{className:an==="asc"?`iconfont icon-sanjiaoxing-up font12 ${ft.cursorPointer} ${ft.active}`:`iconfont icon-sanjiaoxing-up font12 ${ft.cursorPointer}`,onClick:()=>xn(an==="asc"?"desc":"asc")})),y.createElement("span",{className:ft.orderDesc},y.createElement("i",{className:an==="desc"?`iconfont icon-sanjiaoxing-down font12 ${ft.cursorPointer} ${ft.active}`:`iconfont icon-sanjiaoxing-down font12 ${ft.cursorPointer}`,onClick:()=>xn(an==="asc"?"desc":"asc")}))))},ne={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"},te=E(7939),le=Object.defineProperty,ve=Object.getOwnPropertySymbols,re=Object.prototype.hasOwnProperty,de=Object.prototype.propertyIsEnumerable,Ue=(an,ln,qt)=>ln in an?le(an,ln,{enumerable:!0,configurable:!0,writable:!0,value:qt}):an[ln]=qt,pt=(an,ln)=>{for(var qt in ln||(ln={}))re.call(ln,qt)&&Ue(an,qt,ln[qt]);if(ve)for(var qt of ve(ln))de.call(ln,qt)&&Ue(an,qt,ln[qt]);return an},et=(an,ln)=>{var qt={};for(var xn in an)re.call(an,xn)&&ln.indexOf(xn)<0&&(qt[xn]=an[xn]);if(an!=null&&ve)for(var xn of ve(an))ln.indexOf(xn)<0&&de.call(an,xn)&&(qt[xn]=an[xn]);return qt},tt=(an,ln,qt)=>new Promise((xn,En)=>{var _n=Gn=>{try{Yn(qt.next(Gn))}catch(Qn){En(Qn)}},$n=Gn=>{try{Yn(qt.throw(Gn))}catch(Qn){En(Qn)}},Yn=Gn=>Gn.done?xn(Gn.value):Promise.resolve(Gn.value).then(_n,$n);Yn((qt=qt.apply(an,ln)).next())}),gt=an=>{var ln=an,{className:qt,style:xn,children:En,loading:_n=!1,openLoading:$n,onClick:Yn=()=>{},size:Gn="middle",shape:Qn="round"}=ln,nr=et(ln,["className","style","children","loading","openLoading","onClick","size","shape"]);const[Rr,Ir]=(0,y.useState)(!1);return y.createElement(te.ZP,pt({onClick:(0,we.throttle)(Bn=>tt(void 0,null,function*(){$n&&Ir(!0);try{yield Yn(Bn)}catch(Mn){console.log("error",Mn)}$n&&Ir(!1)}),2e3,{leading:!0,trailing:!1}),className:ze()(ne.btn,ne[`${Gn}-${Qn}`],qt),style:xn,size:Gn,shape:Qn,loading:Rr||_n},nr),En)},St={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"},st=({className:an,style:ln,children:qt=null,onClick:xn,title:En})=>y.createElement("div",{className:ze()(St.head,an),style:ln},y.createElement("span",{className:"primary-hover",onClick:xn},y.createElement("i",{className:"iconfont icon-fanhui2 font12"}),"\u8FD4\u56DE"),y.createElement("b",{title:En},En),y.createElement("div",{className:St.node},qt)),en={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"},yn=({confirmShow:an=!0,confirmTitle:ln,confirmClick:qt,cancelShow:xn=!0,cancelTitle:En,cancelClick:_n,className:$n,style:Yn,confirmLoading:Gn=!1})=>y.createElement("div",{className:ze()(en.btns,$n),style:Yn},an&&y.createElement(te.ZP,{loading:Gn,onClick:qt,type:"primary",className:en.confirm},ln),xn&&y.createElement(te.ZP,{onClick:_n,className:en.cancel},En)),tn={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"},Qt=({className:an,style:ln={},LeftContent:qt,children:xn,RightContent:En})=>y.createElement("div",{className:ze()(tn.fixedBottom,an),style:ln},y.createElement("div",{className:tn.wrap},y.createElement("div",{className:tn.left},qt),y.createElement("div",{className:tn.center},xn),y.createElement("div",{className:tn.right},En))),sn={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"},Lt=({className:an,style:ln={},dataSource:qt=[]})=>y.createElement("div",{className:ze()(sn.crumbs,an),style:ln},qt.map((xn,En)=>En<qt.length-1?y.createElement(y.Fragment,{key:En},xn.path||xn.onClick?y.createElement("span",{className:sn.hover,onClick:xn!=null&&xn.onClick?xn.onClick:()=>lt.history.push(xn.path)},xn.name):y.createElement("span",null,xn.name),y.createElement("span",null,"\xA0",">","\xA0")):y.createElement("span",{key:En,style:{color:"#5F6368"}},xn.name))),un=E(11938),Cn=Object.defineProperty,ut=Object.defineProperties,kt=Object.getOwnPropertyDescriptors,wt=Object.getOwnPropertySymbols,cn=Object.prototype.hasOwnProperty,An=Object.prototype.propertyIsEnumerable,Kn=(an,ln,qt)=>ln in an?Cn(an,ln,{enumerable:!0,configurable:!0,writable:!0,value:qt}):an[ln]=qt,rr=(an,ln)=>{for(var qt in ln||(ln={}))cn.call(ln,qt)&&Kn(an,qt,ln[qt]);if(wt)for(var qt of wt(ln))An.call(ln,qt)&&Kn(an,qt,ln[qt]);return an},sr=(an,ln)=>ut(an,kt(ln)),kn=(an,ln)=>{var qt={};for(var xn in an)cn.call(an,xn)&&ln.indexOf(xn)<0&&(qt[xn]=an[xn]);if(an!=null&&wt)for(var xn of wt(an))ln.indexOf(xn)<0&&An.call(an,xn)&&(qt[xn]=an[xn]);return qt};const{Countdown:Jn}=un.default;var mn=an=>{var ln=an,{onChange:qt}=ln,xn=kn(ln,["onChange"]);const[En,_n]=(0,y.useState)(null);(0,y.useEffect)(()=>{typeof En=="number"&&En>=0&&qt(En)},[En]);const $n=Yn=>{const Gn=Math.floor(Yn/1e3);_n(Gn)};return y.createElement(Jn,sr(rr({},xn),{onChange:$n}))}},31103:function(dn,yt,E){"use strict";E.d(yt,{Z:function(){return xe}});var y=E(59301);function xe(he,je){const be=(0,y.useRef)();(0,y.useEffect)(()=>{be.current=he}),(0,y.useEffect)(()=>{function De(){be.current()}if(je!==null){let ye=setInterval(De,je);return()=>clearInterval(ye)}},[je])}},12586:function(dn,yt,E){"use strict";var y=E(59301),xe=E(62957),he=E(38147),je=E(65582),be=E(59301),De=(ze,we,se)=>new Promise((Ye,fe)=>{var ke=me=>{try{Ce(se.next(me))}catch(ue){fe(ue)}},Ae=me=>{try{Ce(se.throw(me))}catch(ue){fe(ue)}},Ce=me=>me.done?Ye(me.value):Promise.resolve(me.value).then(ke,Ae);Ce((se=se.apply(ze,we)).next())});const ye=({exercise:ze,dispatch:we,init:se,haveInit:Ye=!1})=>{const fe=(0,je.useParams)(),[ke,Ae]=(0,y.useState)(!1);let[Ce,me]=(0,y.useState)();const[ue,Me]=(0,y.useState)(!1),[Ze,Qe]=(0,y.useState)(!1);(0,y.useEffect)(()=>{ze.actionTabs.key==="\u5355\u4E2A\u52A0\u5165\u8BD5\u5377\u5E93"&&oe()},[ze.actionTabs]);function oe(){return De(this,null,function*(){var Fe,rt;let Ne=yield(0,he.ZP)(`/api/courses/${fe==null?void 0:fe.coursesId}/exercises/check_exercise_cover.json`,{method:"post",body:{check_ids:ze.actionTabs.selectArrs}});if(((Fe=Ne==null?void 0:Ne.cover_exercises)==null?void 0:Fe.length)>0)Ae(!0),me((rt=Ne==null?void 0:Ne.cover_exercises)==null?void 0:rt[0]);else{let Ge=yield(0,he.ZP)(`/api/courses/${fe==null?void 0:fe.coursesId}/exercises/join_examination_banks.json`,{method:"post",body:{check_ids:ze.actionTabs.selectArrs}});we({type:"exercise/setActionTabs",payload:{key:""}}),(Ge==null?void 0:Ge.status)===0&&(Ye&&se(),xe.default.confirm({title:"\u63D0\u793A",icon:null,centered:!0,content:"\u52A0\u5165\u6210\u529F\uFF01\u8BD5\u5377\u4E2D\u65B0\u5EFA\u7684\u8BD5\u9898\u5DF2\u4E3A\u60A8\u81EA\u52A8\u540C\u6B65\u81F3\u8BD5\u9898\u5E93~",okText:"\u524D\u5F80\u8BD5\u5377\u5E93",cancelText:"\u7A0D\u540E\u518D\u8BF4",onOk:()=>{je.history.push("/paperlibrary")}}))}})}return be.createElement("div",null,be.createElement(xe.default,{open:ke,centered:!0,onCancel:Fe=>De(void 0,null,function*(){if(Fe.target.outerText==="\u8986\u76D6\u539F\u6765\u7684\u8BD5\u5377"){Me(!0);let rt=yield(0,he.ZP)(`/api/courses/${fe==null?void 0:fe.coursesId}/exercises/join_examination_banks.json`,{method:"post",body:{check_ids:ze.actionTabs.selectArrs,update:1}});we({type:"exercise/setActionTabs",payload:{key:""}}),Me(!1),(rt==null?void 0:rt.status)===0&&(Ye&&se(),Ae(!1),xe.default.confirm({title:"\u63D0\u793A",icon:null,centered:!0,content:"\u52A0\u5165\u6210\u529F\uFF01\u8BD5\u5377\u4E2D\u65B0\u5EFA\u7684\u8BD5\u9898\u5DF2\u4E3A\u60A8\u81EA\u52A8\u540C\u6B65\u81F3\u8BD5\u9898\u5E93~",okText:"\u524D\u5F80\u8BD5\u5377\u5E93",cancelText:"\u7A0D\u540E\u518D\u8BF4",onOk:()=>{je.history.push("/paperlibrary")}}))}else Ae(!1)}),cancelButtonProps:{loading:ue},okText:"\u5F62\u6210\u65B0\u8BD5\u5377",cancelText:"\u8986\u76D6\u539F\u6765\u7684\u8BD5\u5377",okButtonProps:{loading:Ze},onOk:()=>De(void 0,null,function*(){Qe(!0);let Fe=yield(0,he.ZP)(`/api/courses/${fe==null?void 0:fe.coursesId}/exercises/join_examination_banks.json`,{method:"post",body:{check_ids:ze.actionTabs.selectArrs}});Qe(!1),(Fe==null?void 0:Fe.status)===0&&(Ye&&se(),we({type:"exercise/setActionTabs",payload:{key:""}}),Ae(!1),xe.default.confirm({title:"\u63D0\u793A",icon:null,centered:!0,content:"\u52A0\u5165\u6210\u529F\uFF01\u8BD5\u5377\u4E2D\u65B0\u5EFA\u7684\u8BD5\u9898\u5DF2\u4E3A\u60A8\u81EA\u52A8\u540C\u6B65\u81F3\u8BD5\u9898\u5E93~",okText:"\u524D\u5F80\u8BD5\u5377\u5E93",cancelText:"\u7A0D\u540E\u518D\u8BF4",onOk:()=>{je.history.push("/paperlibrary")}}))}),title:"\u52A0\u5165\u8BD5\u5377\u5E93\u63D0\u793A"},be.createElement("div",null,be.createElement("p",null,"\u8BE5\u8BD5\u5377\u5728\u8BD5\u5377\u5E93\u91CD\u590D\uFF0C\u662F\u5426\u9700\u8981\u8986\u76D6\u539F\u6765\u7684\u8BD5\u5377\uFF1F"),be.createElement("div",null,be.createElement("div",null,"\u8BD5\u5377\uFF1A",Ce==null?void 0:Ce.origin_exercise_nam),be.createElement("div",null,"\u539F\u8BD5\u5377\uFF1A",be.createElement("a",{href:`/paperlibrary/see/${Ce==null?void 0:Ce.examination_bank_id}?defaultActiveKey=0`,target:"_blank"},Ce==null?void 0:Ce.examination_bank_name))))))};yt.Z=(0,je.connect)(({exercise:ze})=>({exercise:ze}))(ye)},41996:function(dn,yt,E){"use strict";E.d(yt,{Z:function(){return Ge}});var y=E(59301),xe=E(62957),he=E(77019),je=E(5269),be=E(82326),De=E(70858),ye=E(7939),ze=E(82636),we=E(38147),se={cstuModal:"cstuModal___aIPVR",removeStyle:"removeStyle___wY4gp",bottom:"bottom___a8tK0",yes:"yes___Zhc4z",no:"no___Ngwsa",Onerow:"Onerow___Q59ve",searchMember:"searchMember___Jj460",searchMemberHeader:"searchMemberHeader___SxfUY"},Ye=E(65582),fe=E(96622),ke=E(59301),Ae=Object.defineProperty,Ce=Object.defineProperties,me=Object.getOwnPropertyDescriptors,ue=Object.getOwnPropertySymbols,Me=Object.prototype.hasOwnProperty,Ze=Object.prototype.propertyIsEnumerable,Qe=(ge,Oe,Ve)=>Oe in ge?Ae(ge,Oe,{enumerable:!0,configurable:!0,writable:!0,value:Ve}):ge[Oe]=Ve,oe=(ge,Oe)=>{for(var Ve in Oe||(Oe={}))Me.call(Oe,Ve)&&Qe(ge,Ve,Oe[Ve]);if(ue)for(var Ve of ue(Oe))Ze.call(Oe,Ve)&&Qe(ge,Ve,Oe[Ve]);return ge},Fe=(ge,Oe)=>Ce(ge,me(Oe)),rt=(ge,Oe,Ve)=>new Promise((Pe,it)=>{var Le=Xe=>{try{qe(Ve.next(Xe))}catch(Ct){it(Ct)}},pe=Xe=>{try{qe(Ve.throw(Xe))}catch(Ct){it(Ct)}},qe=Xe=>Xe.done?Pe(Xe.value):Promise.resolve(Xe.value).then(Le,pe);qe((Ve=Ve.apply(ge,Oe)).next())});const Ne=({visible:ge,setVisible:Oe,onK:Ve,selectKeys:Pe,selectRows:it,appointStudent:Le,modalParams:pe,courseId:qe})=>{const Xe=(0,Ye.useParams)(),[Ct,Yt]=(0,y.useState)(!1),[We,Be]=(0,y.useState)(!1),[Dt,Zt]=(0,y.useState)([]),[lt,Se]=(0,y.useState)([]),[Re,at]=(0,y.useState)([]),[jt,ft]=(0,y.useState)("all"),[Wt,xt]=(0,y.useState)("all");let[$t,Rt]=(0,y.useState)(!0);const[ce,ne]=(0,y.useState)([{value:"all",label:"\u5168\u90E8\u5206\u73ED"}]),[te,le]=(0,y.useState)({page:1,limit:1e4,status:null,course_group_id:null,keywords:"",sort_by:null,direction:null}),ve={selectedRowKeys:lt,columnWidth:40,hideSelectAll:!0,onSelect:(et,tt,dt)=>{let gt=!0;for(let St=0;St<lt.length;St++)(et==null?void 0:et.user_id)===lt[St]&&(lt==null||lt.splice(St,1),Re==null||Re.splice(St,1),gt=!1);gt&&(lt.push(et==null?void 0:et.user_id),Re.push(et)),Se([...lt]),at([...Re])},onSelectAll:(et,tt,dt)=>{if(et&&dt.length>0){dt.forEach(gt=>{lt.push(gt.user_id),Re.push(gt)}),Se([...lt]),at([...Re]);return}if(!et&&dt.length>0){let gt=[],St=[];const _e=new Set(dt),st=new Set(lt),en=new Set(Re);gt=[...st].filter(Ut=>[..._e].every(yn=>yn.user_id!==Ut)),St=[...en].filter(Ut=>[..._e].every(yn=>yn.user_id!==Ut.user_id)),Se([...gt]),at([...St])}}};(0,y.useEffect)(()=>{ge&&Pe&&(Se([...Pe]),at(it))},[ge,Pe]),(0,y.useEffect)(()=>{ge&&(!Le&&pe?te.status=pe:te.status=null,le(oe({},te)),de())},[ge,Le,pe]);const re=[{title:"\u5E8F\u53F7",dataIndex:"name",key:"name",ellipsis:!0,fixed:"left",width:100,render:(et,tt,dt)=>ke.createElement("span",{style:{color:"#333"}},dt+1)},{title:"\u59D3\u540D",dataIndex:"user_name",key:"user_name",ellipsis:!0,render:(et,tt,dt)=>ke.createElement("span",null,et)},{title:"\u5B66\u53F7",dataIndex:"student_id",key:"student_id",ellipsis:!0,render:(et,tt,dt)=>ke.createElement("span",{style:{color:"#666"}},et)},{title:"\u5206\u73ED1",dataIndex:"user_group_name",key:"user_group_name",align:"left",ellipsis:!0,render:(et,tt)=>ke.createElement("span",null,et)},{title:"\u6700\u7EC8\u6210\u7EE9",dataIndex:"score",key:"score",sorter:!0,render:(et,tt)=>ke.createElement("span",null,et||"--")},{title:"\u72B6\u6001",dataIndex:"status_cn",key:"status_cn",align:"center",ellipsis:!0,render:(et,tt)=>ke.createElement("span",null,et)}].filter(et=>pe===1||pe===2?et.title!=="\u72B6\u6001":!0),de=()=>rt(void 0,null,function*(){var et,tt,dt;Be(!0);const gt=yield(0,we.ZP)(`/api/exercises/${Xe.categoryId||qe}/wait_make_up_students.json`,{method:"get",params:Fe(oe({},te),{keywords:(et=te==null?void 0:te.keywords)==null?void 0:et.trim()})});if(gt.status===0){const St=((dt=(tt=gt==null?void 0:gt.data)==null?void 0:tt.all_course_groups)==null?void 0:dt.map(_e=>({value:_e==null?void 0:_e.id,label:_e==null?void 0:_e.name})))||[];ne([{value:"all",label:"\u5168\u90E8\u5206\u73ED"},...St]),Zt(gt.data)}Be(!1)}),Ue=()=>{te.page=1,te.status=null,te.course_group_id=null,te.keywords="",ft("all"),xt("all"),Se([]),at([]),le(oe({},te)),Le&&Ve(lt==null?void 0:lt.length,lt,Re)},pt=()=>{te.page=1,te.status=null,te.course_group_id=null,te.keywords="",le(oe({},te)),ft("all"),xt("all"),Se([]),at([]),Oe(!1)};return ke.createElement(xe.default,{centered:!0,className:se.cstuModal,title:pe===1?"\u7F3A\u8003\u5B66\u751F":pe===2?"\u672A\u53CA\u683C\u5B66\u751F":"\u9009\u62E9\u8865\u8003\u5B66\u751F",open:ge,width:1200,footer:null,onCancel:()=>{pt()}},ke.createElement(he.Z,{style:{marginBottom:"20px",marginTop:"15px",display:"flex",alignItems:"center",justifyContent:"space-between"}},ke.createElement(he.Z,null,ke.createElement(je.Z,null,ke.createElement(be.default,{size:"large",value:jt,style:{width:200,marginRight:20},onChange:et=>{ft(et),et==="all"?te.course_group_id=null:te.course_group_id=et,te.page=1,le(oe({},te)),de()},options:ce})),Le&&ke.createElement(je.Z,null,ke.createElement(be.default,{size:"large",value:Wt,style:{width:200},onChange:et=>{xt(et),et==="all"?te.status=null:te.status=et,te.page=1,le(oe({},te)),de()},options:[{value:"all",label:"\u5168\u90E8\u72B6\u6001"},{value:"1",label:"\u7F3A\u8003"},{value:"2",label:"\u672A\u53CA\u683C"},{value:"3",label:"\u53CA\u683C"}]}))),ke.createElement(je.Z,null,ke.createElement(ze.t7,{style:{width:300,marginLeft:15},value:te.keywords,allowClear:!0,onChange:et=>{te.keywords=et,te.page=1,le(oe({},te)),de()},placeholder:"\u8BF7\u8F93\u5165\u59D3\u540D\u6216\u5B66\u53F7\u8FDB\u884C\u641C\u7D22"}))),ke.createElement(he.Z,{align:"middle",className:"mb30"},ke.createElement(je.Z,{span:14},ke.createElement("div",{className:"flexd-table-header"},ke.createElement(De.default,{pagination:!1,dataSource:[],columns:re,rowSelection:Le?ve:null,rowKey:et=>et.user_id})),ke.createElement("div",null,ke.createElement(De.default,{rowSelection:Le?ve:null,columns:re,showHeader:!1,style:{minHeight:390},scroll:{y:390},rowKey:et=>et.user_id,loading:We,dataSource:Dt==null?void 0:Dt.exercise_users,onChange:(et,tt,dt)=>{te.page=et==null?void 0:et.current,te.limit=et==null?void 0:et.pageSize,dt!=null&&dt.order?(te.sort_by=dt==null?void 0:dt.field,te.direction=(dt==null?void 0:dt.order)==="ascend"?"asc":"desc"):(te.sort_by=null,te.direction=null),le(oe({},te)),de()},pagination:!1}))),ke.createElement(je.Z,{span:1},ke.createElement("img",{src:fe,style:{marginLeft:10}})),ke.createElement(je.Z,{span:9,style:{display:"flex",justifyContent:"flex-end"}},ke.createElement("div",{className:se.searchMember,style:{width:550}},ke.createElement(he.Z,{className:se.searchMemberHeader},ke.createElement(je.Z,{className:"ml30",flex:"100px"},"\u59D3\u540D"),ke.createElement(je.Z,{flex:"110px"},"\u5B66\u53F7"),ke.createElement(je.Z,{flex:"120px",style:{marginLeft:5}},"\u5206\u73ED")),ke.createElement("div",{style:{overflow:"auto",height:390}},Re==null?void 0:Re.map((et,tt)=>ke.createElement(he.Z,{key:tt,align:"middle",style:{height:48,lineHeight:"48px",paddingLeft:30,borderBottom:"1px solid rgba(48,97,208,0.1)"}},ke.createElement(je.Z,{flex:"100px"},et.user_name),ke.createElement(je.Z,{flex:"110px"},et.student_id),ke.createElement(je.Z,{flex:"120px",style:{marginLeft:5}},et.user_group_name),ke.createElement(je.Z,{style:{marginLeft:10}},ke.createElement("i",{className:"iconfont icon-shanchudiao current",onClick:()=>{at(Re.filter(dt=>dt.user_id!=et.user_id)),Se(lt.filter(dt=>dt!=et.user_id))}})))))))),!(pe===1||pe===2)&&ke.createElement("div",{className:se.bottom},ke.createElement(ye.ZP,{className:se.no,onClick:()=>{pt()}},"\u53D6\u6D88"),ke.createElement(ye.ZP,{loading:Ct,type:"primary",onClick:()=>{Ue()}},"\u786E\u5B9A")))};var Ge=(0,Ye.connect)(({})=>({}))(Ne)},24528:function(dn,yt,E){"use strict";var y=E(59301),xe=E(28284),he=E(6767),je=E(62957),be=E(29787),De=E(77019),ye=E(47889),ze=E(24017),we=E(62673),se=E(66649),Ye=E.n(se),fe=E(38147),ke=E(65862),Ae=E(65582),Ce=E(70414),me=E(59553),ue=Object.defineProperty,Me=Object.defineProperties,Ze=Object.getOwnPropertyDescriptors,Qe=Object.getOwnPropertySymbols,oe=Object.prototype.hasOwnProperty,Fe=Object.prototype.propertyIsEnumerable,rt=(it,Le,pe)=>Le in it?ue(it,Le,{enumerable:!0,configurable:!0,writable:!0,value:pe}):it[Le]=pe,Ne=(it,Le)=>{for(var pe in Le||(Le={}))oe.call(Le,pe)&&rt(it,pe,Le[pe]);if(Qe)for(var pe of Qe(Le))Fe.call(Le,pe)&&rt(it,pe,Le[pe]);return it},Ge=(it,Le)=>Me(it,Ze(Le)),ge=(it,Le,pe)=>new Promise((qe,Xe)=>{var Ct=Be=>{try{We(pe.next(Be))}catch(Dt){Xe(Dt)}},Yt=Be=>{try{We(pe.throw(Be))}catch(Dt){Xe(Dt)}},We=Be=>Be.done?qe(Be.value):Promise.resolve(Be.value).then(Ct,Yt);We((pe=pe.apply(it,Le)).next())});function Oe(it,Le){const pe=[];for(let qe=it;qe<Le;qe++)pe.push(qe);return pe}const Ve=it=>{let Le=new Date;const pe=Ye()(it).format("HH");if(Ye()(it).isSame(Ye()(Le),"day")){const qe=Ye()(Le).format("HH"),Xe=Ye()(Le).format("mm");return{disabledHours:()=>Oe(0,24).splice(1,qe*1-1),disabledMinutes:()=>Ye()(it).isSame(Ye()(Le),"hour")&&pe<=qe?Oe(0,60).splice(0,Xe):Oe(60,60)}}else if(Ye()(it).isSame(Ye()(),"day")){const qe=Ye()().format("HH"),Xe=Ye()().format("mm");return{disabledHours:()=>Oe(0,24).splice(0,qe),disabledMinutes:()=>pe<=qe?Oe(0,Xe):Oe(60,60)}}else return!1},Pe=({exercise:it,dispatch:Le})=>{var pe;const qe=(0,Ae.useParams)(),[Xe]=xe.default.useForm(),[Ct,Yt]=(0,y.useState)(1),[We,Be]=(0,y.useState)([]),[Dt,Zt]=(0,y.useState)(!0),[lt,Se]=(0,y.useState)([]),[Re,at]=(0,y.useState)(!0),[jt,ft]=(0,y.useState)(!1);(0,y.useEffect)(()=>{it.actionTabs.key==="\u6279\u91CF\u7ED3\u675F"&&Wt()},[it.actionTabs]);const Wt=Rt=>ge(void 0,null,function*(){var ce,ne;Zt(!0);const te=yield Le({type:"exercise/getEndGroups",payload:Ge(Ne({},qe),{check_ids:[...((ce=it.actionTabs.selectArrs)==null?void 0:ce.map(ve=>Number(ve)))||[]]})}),le=(ne=te==null?void 0:te.course_info)==null?void 0:ne.map((ve,re)=>Ge(Ne({},ve),{key:ve.course_group_id,title:ve.course_group_name,name:ve.course_group_name,disabled:!!ve.is_published}));te&&(te!=null&&te.course_info)&&(Be([...le]),Xe.setFieldsValue({end_time:Ye()(Ye()(new Date((0,ke.qd)("/"))).add(7,"days").format("YYYY-MM-DD HH:mm"))})),Zt(!1)}),xt=()=>ge(void 0,null,function*(){var Rt,ce,ne,te;const le=Ne({},Xe.getFieldsValue());if((lt==null?void 0:lt.length)<=0&&We.length>0&&!((Rt=it.actionTabs)!=null&&Rt.unified_setting)){he.ZP.info("\u73ED\u7EA7\u4E0D\u80FD\u4E3A\u7A7A");return}ft(!0);const ve={check_ids:[...((ce=it.actionTabs.selectArrs)==null?void 0:ce.map(de=>Number(de)))||[]],group_ids:lt};Re||(ve.end_time=Ye()(le.end_time).format("YYYY-MM-DD HH:mm")),ve.group_ids=lt.map(de=>de.course_group_id),(yield(0,fe.ZP)(`/api/courses/${qe.coursesId}/exercises/end_exercise.json`,{method:"post",body:ve})).status===0&&(he.ZP.success("\u64CD\u4F5C\u6210\u529F"),(0,ke.L9)(["\u6559\u5B66\u8BFE\u5802","\u8BD5\u5377","\u6279\u91CF\u7ED3\u675F"]),Le({type:"exercise/setActionTabs",payload:{}}),(ne=it==null?void 0:it.actionTabs)!=null&&ne.cb?(te=it==null?void 0:it.actionTabs)==null||te.cb():Le({type:"classroomList/getClassroomExercisesList",payload:Ne({},it.actionTabs.params)})),ft(!1)}),$t=()=>{Yt(1),Be([]),Se([]),at(!0)};return y.createElement(je.default,{centered:!0,title:"\u7ED3\u675F\u8003\u8BD5",open:it.actionTabs.key==="\u6279\u91CF\u7ED3\u675F",okText:"\u786E\u8BA4",cancelText:"\u53D6\u6D88",onOk:xt,width:680,confirmLoading:jt||Dt,onCancel:()=>{$t(),Le({type:"exercise/setActionTabs",payload:{}})}},y.createElement(be.Z,{spinning:Dt},We&&y.createElement(xe.default,{form:Xe},y.createElement("div",{style:{color:"#333333",display:"flex"},className:"font14 mb10"},y.createElement("img",{style:{marginRight:5,objectFit:"contain"},src:Ce.Z}),"\u8003\u8BD5\u65F6\u95F4\u7ED3\u675F\u540E\uFF0C\u5B66\u751F\u5C06\u4E0D\u80FD\u518D\u7B54\u9898\u3002"),y.createElement(De.Z,{className:"mt20 mb10"},y.createElement("span",{className:"mr10"},y.createElement("span",{style:{color:"red",marginRight:3}},"*"),"\u7ED3\u675F\u65F6\u95F4"),y.createElement(ye.ZP.Group,{value:Re,onChange:Rt=>{at(Rt.target.value),Se([])}},y.createElement(ye.ZP,{value:!0},"\u7ACB\u5373\u7ED3\u675F"),y.createElement(ye.ZP,{value:!1},"\u5B9A\u65F6\u7ED3\u675F")),y.createElement(xe.default.Item,{name:"end_time",style:{marginTop:-3,visibility:Re?"hidden":"visible"}},y.createElement(ze.default,{style:{width:170},placeholder:"\u8BF7\u9009\u62E9\u7ED3\u675F\u65F6\u95F4",showTime:{format:"HH:mm",defaultValue:Ye()((0,ke.U6)(),"HH:mm")},disabledDate:Rt=>Rt&&Rt<Ye()().subtract(0,"days"),disabledTime:Ve,format:"YYYY-MM-DD HH:mm",allowClear:!1}))),We.length>0&&!((pe=it.actionTabs)!=null&&pe.unified_setting)&&y.createElement(De.Z,{style:{marginBottom:"10px"}},y.createElement("span",{className:"mr10"},y.createElement("span",{style:{color:"red",marginRight:3}},"*"),"\u9009\u62E9\u73ED\u7EA7:"),y.createElement("div",null,We.length>0&&y.createElement("div",{style:{display:"flex",justifyContent:"space-between",marginBottom:"10px"}},y.createElement("span",{style:{flex:1}},y.createElement(we.default,{checked:lt.length===We.length,onChange:Rt=>{lt.length===We.length?Se([]):Se(We)}},"\u5168\u9009")," "),y.createElement("span",{style:{width:16}}),y.createElement("span",{style:{flex:1}},"\u5DF2\u9009\u62E9",lt.length||0,"\u4E2A\u5206\u73ED")),y.createElement(me.Z,{data:We,selectedRowKeys:lt,setSelectedRowKeys:Se}))))))};yt.Z=(0,Ae.connect)(({exercise:it})=>({exercise:it}))(Pe)},72936:function(dn,yt,E){"use strict";E.d(yt,{Z:function(){return Zt}});var y=E(59301),xe=E(28284),he=E(6767),je=E(62957),be=E(29787),De=E(77019),ye=E(47889),ze=E(4875),we=E(24017),se=E(58755),Ye=E(62673),fe=E(7939),ke=E(66649),Ae=E.n(ke),Ce=E(38147),me=E(65862),ue=E(65582),Me=E(87513),Ze=E(70414),Qe=E(59553),oe=E(41996),Fe={contentInterval:"contentInterval___wAfD8",numberInput:"numberInput___R9kLf",minorRuleText:"minorRuleText___LjpSg",failedList:"failedList___KYTHd",name:"name___MqNtz",publish:"publish___TPl6Z"},rt=E(83028),Ne=E(60979),Ge=E(33276),ge=E(59301),Oe=Object.defineProperty,Ve=Object.defineProperties,Pe=Object.getOwnPropertyDescriptors,it=Object.getOwnPropertySymbols,Le=Object.prototype.hasOwnProperty,pe=Object.prototype.propertyIsEnumerable,qe=(lt,Se,Re)=>Se in lt?Oe(lt,Se,{enumerable:!0,configurable:!0,writable:!0,value:Re}):lt[Se]=Re,Xe=(lt,Se)=>{for(var Re in Se||(Se={}))Le.call(Se,Re)&&qe(lt,Re,Se[Re]);if(it)for(var Re of it(Se))pe.call(Se,Re)&&qe(lt,Re,Se[Re]);return lt},Ct=(lt,Se)=>Ve(lt,Pe(Se)),Yt=(lt,Se,Re)=>new Promise((at,jt)=>{var ft=$t=>{try{xt(Re.next($t))}catch(Rt){jt(Rt)}},Wt=$t=>{try{xt(Re.throw($t))}catch(Rt){jt(Rt)}},xt=$t=>$t.done?at($t.value):Promise.resolve($t.value).then(ft,Wt);xt((Re=Re.apply(lt,Se)).next())});function We(lt,Se){const Re=[];for(let at=lt;at<Se;at++)Re.push(at);return Re}const Be=lt=>{let Se=new Date;const Re=Ae()(lt).format("HH");if(Ae()(lt).isSame(Ae()(Se),"day")){const at=Ae()(Se).format("HH"),jt=Ae()(Se).format("mm");return{disabledHours:()=>We(0,24).splice(1,at*1-1),disabledMinutes:()=>(console.log("\u7981\u6B62\u65F6\u95F4\uFF1A",Re,at),Ae()(lt).isSame(Ae()(Se),"hour")&&Re<=at?We(0,60).splice(0,jt):We(60,60))}}else if(Ae()(lt).isSame(Ae()(),"day")){const at=Ae()().format("HH"),jt=Ae()().format("mm");return{disabledHours:()=>We(0,24).splice(0,at),disabledMinutes:()=>Re<=at?We(0,jt):We(60,60)}}else return!1},Dt=({exercise:lt,dispatch:Se})=>{var Re,at,jt,ft,Wt,xt,$t,Rt,ce,ne,te,le,ve,re,de,Ue,pt,et,tt,dt,gt,St,_e;const st=(0,ue.useParams)(),[en]=xe.default.useForm(),[Ut,yn]=(0,y.useState)(1),[tn,Vt]=(0,y.useState)([]),[Qt,sn]=(0,y.useState)(!0),[bt,Lt]=(0,y.useState)([]),[un,Cn]=(0,y.useState)(!0),[ut,kt]=(0,y.useState)(!1),{workSetting:wt}=lt,[cn,An]=(0,y.useState)(!1),[Kn,rr]=(0,y.useState)([]),[sr,kn]=(0,y.useState)([]),[Jn,zt]=(0,y.useState)(!1),[mn,an]=(0,y.useState)(!1),[ln,qt]=(0,y.useState)(!1),[xn,En]=(0,y.useState)(null),[_n,$n]=(0,y.useState)(1),[Yn,Gn]=(0,y.useState)({}),[Qn,nr]=(0,y.useState)({}),[Rr,Ir]=(0,y.useState)(!1),[Bn,Mn]=(0,y.useState)(!1),[ur,dr]=(0,y.useState)(!1),[Ot,Jt]=(0,y.useState)([]);(0,y.useEffect)(()=>{if(lt.actionTabs.key==="\u6279\u91CF\u53D1\u5E03"){const{selectArrsAll:Kt=[],type:nt}=lt.actionTabs||{},Bt=Kt.filter(It=>![100,120,150].includes(Number(It.total_score)));Bt.length?(dr(nt===1?"multiple":"single"),Jt(Bt.map(It=>Ct(Xe({},It),{name:It.exercise_name})))):Mn(!0)}},[(Re=lt==null?void 0:lt.actionTabs)==null?void 0:Re.key]),console.log(ur,"visible"),(0,y.useEffect)(()=>{var Kt;if(lt.actionTabs.key==="\u6279\u91CF\u53D1\u5E03"&&(Tt(),Xt(),lt.actionTabs.type===2)){const nt=(Kt=lt.actionTabs)==null?void 0:Kt.unified_setting;Cn(nt)}},[lt.actionTabs]),(0,y.useEffect)(()=>{var Kt,nt,Bt,It,_t,Ln,zn;(Kt=wt==null?void 0:wt.exercise)!=null&&Kt.publish_time&&en.setFieldsValue({publish_time:Ae()((nt=wt==null?void 0:wt.exercise)==null?void 0:nt.publish_time)}),(Bt=wt==null?void 0:wt.exercise)!=null&&Bt.end_time&&en.setFieldsValue({end_time:Ae()((It=wt==null?void 0:wt.exercise)==null?void 0:It.end_time)}),en.setFieldsValue({exercise_type:(_t=wt==null?void 0:wt.exercise)==null?void 0:_t.exercise_type,simulate_exercise_num:(Ln=wt==null?void 0:wt.exercise)==null?void 0:Ln.simulate_exercise_num}),$n((zn=wt==null?void 0:wt.exercise)==null?void 0:zn.exercise_type)},[lt]);const vt=Kt=>{var nt;const Bt=en.getFieldValue("publish_time");if(!Bt||(nt=wt==null?void 0:wt.exercise)!=null&&nt.publish_time)return;let It;Kt===1?It=Ae()(Bt).add(120,"minutes"):It=Ae()(Bt).add(7,"days"),en.setFieldsValue({end_time:It})},Tt=Kt=>Yt(void 0,null,function*(){var nt,Bt;sn(!0);const It=yield(0,Me.N3)({coursesId:st.coursesId,check_ids:[...((nt=lt.actionTabs.selectArrs)==null?void 0:nt.map(Ln=>Number(Ln)))||[]]});console.log(It,"res");const _t=((Bt=It==null?void 0:It.course_info)==null?void 0:Bt.map((Ln,zn)=>Ct(Xe({},Ln),{key:Ln.course_group_id,title:Ln.course_group_name,name:Ln.course_group_name,disabled:!!Ln.is_published})))||[];if((It==null?void 0:It.status)!==-1){Vt([..._t]);const Ln=Ae()();en.setFieldsValue({publish_time:Ln}),(en.getFieldValue("exercise_type")||1)===1?en.setFieldsValue({end_time:Ae()(Ln).add(120,"minutes")}):en.setFieldsValue({end_time:Ae()(Ln).add(7,"days")})}sn(!1)});(0,y.useEffect)(()=>{var Kt,nt,Bt,It,_t,Ln;if((Kt=wt==null?void 0:wt.exercise)!=null&&Kt.is_appoint_user){const zn=((Bt=(nt=wt==null?void 0:wt.exercise)==null?void 0:nt.all_exercise_users)==null?void 0:Bt.map(Vn=>Vn.user_id))||[];rr([...zn])}zt((It=wt==null?void 0:wt.exercise)==null?void 0:It.is_appoint_user),an((_t=wt==null?void 0:wt.exercise)==null?void 0:_t.is_miss_exam_user),qt((Ln=wt==null?void 0:wt.exercise)==null?void 0:Ln.is_no_passing_user)},[wt]),(0,y.useEffect)(()=>{var Kt,nt,Bt,It,_t,Ln,zn,Vn;(nt=(Kt=lt==null?void 0:lt.actionTabs)==null?void 0:Kt.selectArrs)!=null&&nt[0]&&lt.actionTabs.key==="\u6279\u91CF\u53D1\u5E03"&&Se({type:"exercise/getWorkSetting",payload:{categoryId:(It=(Bt=lt==null?void 0:lt.actionTabs)==null?void 0:Bt.selectArrs)==null?void 0:It[0],category:(Ln=(_t=lt==null?void 0:lt.actionTabs)==null?void 0:_t.selectArrs)==null?void 0:Ln[0],coursesId:(Vn=(zn=lt==null?void 0:lt.actionTabs)==null?void 0:zn.params)==null?void 0:Vn.id}})},[(at=lt==null?void 0:lt.actionTabs)==null?void 0:at.selectArrs]);const Et=()=>Yt(void 0,null,function*(){var Kt,nt,Bt,It,_t,Ln,zn;const Vn=Xe({},en.getFieldsValue()),Or=Ae()(Ae()(Vn.publish_time).format("YYYY-MM-DD HH:mm")).valueOf(),Hr=Ae()(Ae()(Vn.end_time).format("YYYY-MM-DD HH:mm")).valueOf();if(console.log(Or,Or,33),Hr<=Or){he.ZP.info("\u7ED3\u675F\u65F6\u95F4\u4E0D\u5141\u8BB8\u5C0F\u4E8E\u7B49\u4E8E\u5F00\u59CB\u65F6\u95F4");return}if((bt==null?void 0:bt.length)<=0&&!un&&tn.length>0&&!((Kt=wt==null?void 0:wt.exercise)!=null&&Kt.is_make_up_exercise)){he.ZP.info("\u73ED\u7EA7\u4E0D\u80FD\u4E3A\u7A7A");return}const to=tn.map(ir=>ir.key),mr={check_ids:[...((nt=lt.actionTabs.selectArrs)==null?void 0:nt.map(ir=>Number(ir)))||[]],end_time:Ae()(Vn.end_time).format("YYYY-MM-DD HH:mm"),publish_time:Ae()(Vn.publish_time).format("YYYY-MM-DD HH:mm"),group_ids:bt.map(ir=>ir.course_group_id),unified_setting:!bt.length,exercise_type:Vn.exercise_type,simulate_exercise_num:Vn.simulate_exercise_num};if(((Bt=lt.actionTabs.selectArrsAll)==null?void 0:Bt.length)>0&&lt.actionTabs.type===1&&(mr.check_ids=[...((_t=(It=lt.actionTabs.selectArrsAll)==null?void 0:It.filter(ir=>!ir.high_resources_consume||ir.high_resources_consume_permission))==null?void 0:_t.map(ir=>Number(ir==null?void 0:ir.id)))||[]]),(Ln=wt==null?void 0:wt.exercise)!=null&&Ln.is_make_up_exercise){if(Jn&&Kn.length<=0||!Jn&&!(mn||ln)){he.ZP.error("\u8BF7\u9009\u62E9\u8865\u8003\u5B66\u751F");return}mr.is_appoint_user=Jn,mr.is_miss_exam_user=mn,mr.is_no_passing_user=ln,Jn?mr.make_up_exercise_users=Kn.map(ir=>({user_id:ir})):mr.make_up_exercise_user=[]}let{is_locked:Er,open_camera:Nr,screen_open:Yr,login_restrict:ro,ip_bind:oo,ip_limit:ao,is_random:Lr,id:eo,identity_verify:$r,open_phone_video_recording:Wo}=wt==null?void 0:wt.exercise;if(lt.actionTabs.key!=="\u6279\u91CF\u53D1\u5E03"||(Er||Nr||Yr||ro||oo||ao=="pub"||ao=="inner"||$r||Wo)&&Vn.exercise_type==2){if(Mn(!1),Se({type:"exercise/setActionTabs",payload:{}}),lt.actionTabs.type==2){let ir=je.default.confirm({width:666,centered:!0,okText:"\u7ACB\u5373\u8C03\u6574",cancelText:"\u4E0D\u9700\u8981",title:"\u63D0\u793A",icon:null,content:ge.createElement("div",null,"\u5F53\u524D\u8003\u8BD5\u6A21\u5F0F\u4E3A\u201C\u6A21\u62DF\u8003\u8BD5\u201D\uFF0C\u60A8\u5DF2\u5F00\u542F",ge.createElement("span",{style:{color:"#FA6400"}}," ",(0,me.hi)(wt==null?void 0:wt.exercise)," "),"\u9632\u4F5C\u5F0A\u89C4\u5219\uFF0C\u53EF\u80FD\u4F1A\u5F71\u54CD\u5B66\u751F\u8FDB\u884C\u91CD\u590D\u8003\u8BD5\u3002\u662F\u5426\u9700\u8981\u8FDB\u884C\u8C03\u6574\uFF1F"),onOk:()=>Yt(void 0,null,function*(){var Ro;Ir(!0);let ei=yield(0,Ne.Tr)({exercise_ids:[...((Ro=lt.actionTabs.selectArrs)==null?void 0:Ro.map(yo=>Number(yo)))||[]],course_id:st.coursesId,type:"exercise"});if((ei==null?void 0:ei.student_count)===0){if((yield ot(mr))&&lt.actionTabs.isRouter){ir.destroy(),ue.history.push(`/classrooms/${st.coursesId}/exercise/${eo}/detail?random=${Lr}&tabs=3&childrenTabs=2`);return}Se({type:"exercise/setActionTabs",payload:{key:"\u8C03\u6574tabs\u9009\u4E2D"}})}else nr(mr),Gn(ei)}),onCancel:()=>{ir.destroy(),Ir(!1),ot(mr)}})}else{let ir=je.default.info({width:580,centered:!0,okText:"\u6211\u77E5\u9053\u4E86",title:"\u63D0\u793A",icon:null,content:ge.createElement("div",null,"\u6A21\u62DF\u8003\u8BD5\u5F00\u542F\u9632\u4F5C\u5F0A\u89C4\u5219\u53EF\u80FD\u4F1A\u5F71\u54CD\u5B66\u751F\u8FDB\u884C\u91CD\u590D\u8003\u8BD5\uFF0C\u53EF\u6839\u636E\u8003\u8BD5\u9700\u8981\u8FDB\u884C\u8C03\u6574\u3002"),onOk:()=>Yt(void 0,null,function*(){var Ro;Ir(!0);let ei=yield(0,Ne.Tr)({exercise_ids:[...((Ro=lt.actionTabs.selectArrs)==null?void 0:Ro.map(yo=>Number(yo)))||[]],course_id:st.coursesId,type:"exercise"});if((ei==null?void 0:ei.student_count)===0){if((yield ot(mr))&&lt.actionTabs.isRouter){ue.history.push(`/classrooms/${st.coursesId}/exercise/${eo}/detail?random=${Lr}&tabs=3&childrenTabs=2`);return}Se({type:"exercise/setActionTabs",payload:{key:"\u8C03\u6574tabs\u9009\u4E2D"}})}else nr(mr),Gn(ei)})})}return}let Vo=yield(0,Ne.Tr)({exercise_ids:[...((zn=lt.actionTabs.selectArrs)==null?void 0:zn.map(ir=>Number(ir)))||[]],course_id:st.coursesId,type:"exercise"});(Vo==null?void 0:Vo.student_count)===0?ot(mr):(nr(mr),Gn(Vo))}),Ht=()=>{var Kt;let nt=[...(Kt=lt.actionTabs.selectArrsAll)==null?void 0:Kt.filter(Bt=>Bt.high_resources_consume&&!Bt.high_resources_consume_permission)];(nt==null?void 0:nt.length)>0&&lt.actionTabs.type===1&&je.default.confirm({centered:!0,icon:null,footer:null,width:560,title:"\u63D0\u793A",closable:!0,content:ge.createElement("div",null,ge.createElement("div",{className:Fe.tipcontent},ge.createElement("div",{style:{color:"#191919"}},"\u60A8\u6709 ",nt==null?void 0:nt.length," \u4E2A\u9AD8\u6D88\u8017\u7C7B\u578B\u7684\u5B9E\u9A8C\u53D1\u5E03\u5931\u8D25\uFF0C\u8BF7\u5355\u72EC\u8FDB\u884C\u53D1\u5E03\u3002"),ge.createElement("div",{className:"mt20 mb20"},nt==null?void 0:nt.map(Bt=>ge.createElement("div",{className:Fe.failedList,key:Bt.id},ge.createElement("div",{className:Fe.name},Bt==null?void 0:Bt.exercise_name),ge.createElement("div",{className:Fe.publish,onClick:()=>{(0,me.xg)(`/classrooms/${st.coursesId}/exercise/${Bt.id}/detail?random=${Bt.is_random}`)}},"\u53D1\u5E03"))))))})},ot=Kt=>Yt(void 0,null,function*(){var nt,Bt,It;if(lt.actionTabs.type===1){let zn=[...(nt=lt.actionTabs.selectArrsAll)==null?void 0:nt.filter(Vn=>Vn.high_resources_consume&&!Vn.high_resources_consume_permission)];if((zn==null?void 0:zn.length)==lt.actionTabs.selectArrsAll.length){Mn(!1),Se({type:"exercise/setActionTabs",payload:{}}),Ht();return}}let _t=!1;return kt(!0),(yield(0,Ce.ZP)(`/api/courses/${st.coursesId}/exercises/publish.json`,{method:"post",body:Kt})).status===0&&((0,me.L9)(["\u6559\u5B66\u8BFE\u5802","\u8BD5\u5377","\u7ACB\u5373\u53D1\u5E03"]),Xt(),he.ZP.success("\u53D1\u5E03\u6210\u529F"),Mn(!1),Se({type:"exercise/setActionTabs",payload:{}}),(Bt=lt==null?void 0:lt.actionTabs)!=null&&Bt.cb?(It=lt==null?void 0:lt.actionTabs)==null||It.cb():Se({type:"classroomList/getClassroomExercisesList",payload:Xe({},lt.actionTabs.params)}),_t=!0,lt.actionTabs.type===1&&Ht()),kt(!1),_t}),Xt=()=>{yn(1),Vt([]),Lt([])},nn=(Kt,nt,Bt)=>{Kt<=0?he.ZP.info("\u8BF7\u9009\u62E9\u8865\u8003\u5B66\u751F"):(rr(nt),kn(Bt),An(!1))};return ge.createElement(y.Fragment,null,ge.createElement(je.default,{centered:!0,title:"\u53D1\u5E03\u8003\u8BD5",open:Bn,okText:"\u786E\u8BA4",cancelText:"\u53D6\u6D88",width:660,onOk:Et,confirmLoading:ut||Qt,onCancel:()=>{Xt(),Mn(!1),Se({type:"exercise/setActionTabs",payload:{}})}},ge.createElement(be.Z,{spinning:Qt},tn&&ge.createElement(xe.default,{form:en},!!((jt=lt==null?void 0:lt.actionTabs)!=null&&jt.disabled)&&ge.createElement("div",{style:{color:"#333333",display:"flex"},className:"font14 mb10"},ge.createElement("img",{style:{marginRight:5,objectFit:"contain"},src:Ze.Z}),"\u5DF2\u7ECF\u53D1\u5E03\u8FC7\u8003\u8BD5\u7684\u8BD5\u5377\u4E0D\u53EF\u4EE5\u7EDF\u4E00\u53D1\u5E03\u3002"),!((ft=wt==null?void 0:wt.exercise)!=null&&ft.is_make_up_exercise)&&ge.createElement(ge.Fragment,null,ge.createElement(De.Z,null,ge.createElement("span",{className:"mr10",style:{lineHeight:"32px"}},ge.createElement("span",{style:{color:"red",marginRight:3}},"*"),"\u8003\u8BD5\u6A21\u5F0F"),ge.createElement(xe.default.Item,{name:"exercise_type"},ge.createElement(ye.ZP.Group,{disabled:((Wt=wt==null?void 0:wt.exercise)==null?void 0:Wt.exercise_status)>1,onChange:Kt=>{$n(Kt.target.value),vt(Kt.target.value)}},ge.createElement(ye.ZP,{value:1},"\u6B63\u5F0F\u8003\u8BD5"),ge.createElement(ye.ZP,{value:2},"\u6A21\u62DF\u8003\u8BD5")))),_n==2&&ge.createElement(De.Z,{className:`${Fe.contentInterval}`},ge.createElement("span",{className:`${Fe.minorRuleText}`,style:{marginLeft:50}},"\u6BCF\u4E2A\u5B66\u751F\u5141\u8BB8\u8FDB\u884C\u8003\u8BD5"),ge.createElement(xe.default.Item,{name:"simulate_exercise_num"},ge.createElement(ze.Z,{className:Fe.numberInput,style:{width:145},precision:0,size:"middle",disabled:((xt=wt==null?void 0:wt.exercise)==null?void 0:xt.exercise_status)>1,min:1,max:999})),ge.createElement("span",null,"\u6B21",ge.createElement("span",{style:{color:"#999999"}},"\uFF08\u53EF\u8BBE\u7F6E1~999\u6B21\uFF09")))),ge.createElement(De.Z,null,ge.createElement("span",{className:"mr10 mt5"},ge.createElement("span",{style:{color:"red",marginRight:3}},"*"),"\u8003\u8BD5\u65F6\u95F4"),ge.createElement(xe.default.Item,{name:"publish_time"},ge.createElement(we.default,{style:{width:170},disabledDate:Kt=>Kt&&Kt<=Ae()().subtract(0,"days"),disabledTime:Be,placeholder:"\u8BF7\u9009\u62E9\u53D1\u5E03\u65F6\u95F4",showTime:{format:"HH:mm",defaultValue:Ae()((0,me.U6)(),"HH:mm")},format:"YYYY-MM-DD HH:mm",allowClear:!1})),ge.createElement("span",{className:"mt5 ml5 mr5"},"\u5230"),ge.createElement(xe.default.Item,{name:"end_time"},ge.createElement(we.default,{style:{width:170},placeholder:"\u8BF7\u9009\u62E9\u7ED3\u675F\u65F6\u95F4",showTime:{format:"HH:mm",defaultValue:Ae()((0,me.U6)(),"HH:mm")},disabledDate:Kt=>Kt&&Kt<Ae()().subtract(0,"days"),disabledTime:Be,format:"YYYY-MM-DD HH:mm",allowClear:!1}))),(($t=wt==null?void 0:wt.exercise)==null?void 0:$t.is_make_up_exercise)&&ge.createElement(ge.Fragment,null,ge.createElement(De.Z,null,ge.createElement("span",{style:{marginRight:"20px",fontSize:"14px",color:"3333",fontWeight:600}},"\u5F85\u8865\u8003\u5B66\u751F"),ge.createElement(se.Z,{checked:Jn,onChange:(Kt,nt)=>{var Bt,It,_t,Ln,zn;if(zt(Kt),Kt)if((Bt=wt==null?void 0:wt.exercise)!=null&&Bt.is_appoint_user){const Vn=(_t=(It=wt==null?void 0:wt.exercise)==null?void 0:It.all_exercise_users)==null?void 0:_t.map(Or=>Or.user_id);rr([...Vn])}else rr([]),an(!1),qt(!1);else an((Ln=wt==null?void 0:wt.exercise)==null?void 0:Ln.is_miss_exam_user),qt((zn=wt==null?void 0:wt.exercise)==null?void 0:zn.is_no_passing_user)},disabled:((Rt=wt==null?void 0:wt.exercise)==null?void 0:Rt.exercise_status)!==1}),ge.createElement("span",{style:{marginLeft:"10px",fontSize:"14px",color:"3333"}},"\u6307\u5B9A\u5B66\u751F")),!Jn&&ge.createElement(De.Z,{className:"mt20",style:{paddingLeft:"90px"},align:"middle"},ge.createElement(Ye.default,{checked:mn,disabled:((ce=wt==null?void 0:wt.exercise)==null?void 0:ce.exercise_status)!==1||((ne=wt==null?void 0:wt.exercise)==null?void 0:ne.miss_exam_count)<=0,onChange:Kt=>{an(Kt.target.checked)}},ge.createElement("span",{style:{fontSize:"14px",color:"#333"}},"\u7F3A\u8003")),ge.createElement("span",{style:{color:"#0152d9",cursor:"pointer",marginRight:"60px"},onClick:()=>{En(1),zt(!1),An(!0)}},"\uFF08",`${(te=wt==null?void 0:wt.exercise)==null?void 0:te.miss_exam_count}\u4EBA`,"\uFF09"),ge.createElement(Ye.default,{checked:ln,disabled:((le=wt==null?void 0:wt.exercise)==null?void 0:le.exercise_status)!==1||((ve=wt==null?void 0:wt.exercise)==null?void 0:ve.no_passing_count)<=0,onChange:Kt=>{qt(Kt.target.checked)}},ge.createElement("span",{style:{fontSize:"14px",color:"#333"}},"\u672A\u53CA\u683C")),ge.createElement("span",{style:{color:"#0152d9",cursor:"pointer"},onClick:()=>{En(2),zt(!1),An(!0)}},"\uFF08",`${(re=wt==null?void 0:wt.exercise)==null?void 0:re.no_passing_count}\u4EBA`,"\uFF09")),Jn&&ge.createElement(De.Z,{className:"mt20",style:{paddingLeft:"90px"}},ge.createElement(fe.ZP,{type:"primary",ghost:!0,disabled:((de=wt==null?void 0:wt.exercise)==null?void 0:de.exercise_status)!==1,onClick:()=>{An(!0),En(void 0)}},ge.createElement("span",null,ge.createElement("i",{className:"iconfont icon-tianjia4 mr5",style:{fontSize:"14px"}})),ge.createElement("span",null,"\u9009\u62E9\u5B66\u751F")),ge.createElement("span",{style:{color:"#333",display:"inline-block",height:"32px",lineHeight:"32px",marginLeft:"10px"}},"\uFF08\u5DF2\u9009 ",`${Kn.length||0} \u4EBA`,"\uFF09"))),lt.actionTabs.type===2&&!((Ue=wt==null?void 0:wt.exercise)!=null&&Ue.is_make_up_exercise)&&ge.createElement(De.Z,{style:{marginBottom:"10px"}},ge.createElement("span",{className:"mr10"},ge.createElement("span",{style:{color:"red",marginRight:3}},"*"),"\u9009\u62E9\u73ED\u7EA7"),ge.createElement(ye.ZP.Group,{value:un,onChange:Kt=>{Cn(Kt.target.value),Lt([])}},ge.createElement(ye.ZP,{disabled:!!((pt=lt==null?void 0:lt.actionTabs)!=null&&pt.disabled)||tn.some(Kt=>Kt==null?void 0:Kt.is_published)||!((et=lt==null?void 0:lt.actionTabs)!=null&&et.manage_all_group),value:!0},"\u7EDF\u4E00\u53D1\u5E03"),ge.createElement(ye.ZP,{disabled:tn.length<=0,value:!1},"\u5206\u73ED\u53D1\u5E03"))),tn.length<=0&&lt.actionTabs.type===2&&!((tt=wt==null?void 0:wt.exercise)!=null&&tt.is_make_up_exercise)&&ge.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"'),(lt.actionTabs.type===1||!un)&&!((dt=wt==null?void 0:wt.exercise)!=null&&dt.is_make_up_exercise)&&tn.length>0&&ge.createElement("div",{style:{display:"flex",justifyContent:"space-between",marginBottom:"10px"}},ge.createElement("span",{style:{flex:1}},ge.createElement(Ye.default,{checked:bt.length===tn.length,onChange:Kt=>{bt.length===tn.length?Lt([]):Lt(tn)}},"\u5168\u9009")),ge.createElement("span",{style:{width:16}}),ge.createElement("span",{style:{flex:1}},"\u5DF2\u9009\u62E9",bt.length||0,"\u4E2A\u5206\u73ED")),(lt.actionTabs.type===1||!un)&&!((gt=wt==null?void 0:wt.exercise)!=null&&gt.is_make_up_exercise)&&tn.length>0&&ge.createElement(Qe.Z,{data:tn,selectedRowKeys:bt,setSelectedRowKeys:Lt})),ge.createElement(oe.Z,{visible:cn,setVisible:An,onK:nn,selectKeys:Kn,selectRows:sr,appointStudent:Jn,modalParams:xn,courseId:st.categoryId||((_e=(St=lt==null?void 0:lt.actionTabs)==null?void 0:St.selectArrs)==null?void 0:_e[0])})),ge.createElement(rt.Z,{resdata:Yn,type:"exercisepush",okloading:ut,oktext:(Yn==null?void 0:Yn.can_copy_num)===0?"\u786E\u5B9A":"\u4E00\u952E\u590D\u5236\u5E76\u66FF\u6362",onok:Kt=>Yt(void 0,null,function*(){var nt,Bt,It;kt(!0);let _t=yield(0,Ce.ZP)(`/api/courses/${st.coursesId}/batch_copy_shixuns.json`,{method:"post",body:{type:"exercise",ids:[...((nt=lt.actionTabs.selectArrs)==null?void 0:nt.map(Ln=>Number(Ln)))||[]]}});if(kt(!1),(_t==null?void 0:_t.status)===0)if(Rr){let Ln=yield ot(Qn);if(je.default.destroyAll(),Ln&&lt.actionTabs.isRouter){ue.history.push(`/classrooms/${st.coursesId}/exercise/${(Bt=wt==null?void 0:wt.exercise)==null?void 0:Bt.id}/detail?random=${(It=wt==null?void 0:wt.exercise)==null?void 0:It.is_random}&tabs=3&childrenTabs=2`);return}Se({type:"exercise/setActionTabs",payload:{key:"\u8C03\u6574tabs\u9009\u4E2D"}})}else ot(Qn)})})),ge.createElement(Ge.Z,{text:"\u662F\u5426\u7EE7\u7EED\u5728\u6559\u5B66\u8BFE\u5802\u4E2D\u53D1\u5E03\uFF1F",okText:"\u786E\u8BA4\u53D1\u5E03",visible:ur,dataSource:Ot,onSuccess:()=>{dr(!1),Mn(!0)},onClose:()=>{dr(!1),Xt(),Se({type:"exercise/setActionTabs",payload:{}})}}))};var Zt=(0,ue.connect)(({exercise:lt})=>({exercise:lt}))(Dt)},59553:function(dn,yt,E){"use strict";E.d(yt,{Z:function(){return se}});var y=E(59301),xe=E(37568),he=E(62673),je=E(77019),be={leftdiv:"leftdiv___iuhY9",listClass:"listClass___o5N53",spantitle:"spantitle___KVMSL",rightdiv:"rightdiv___f2zZr"},De="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAbVJREFUOE+Nk79rFUEUhb+zE4OFwUD+CyGKKQQbSaMikQQ7C1tBBIsUQaJvl2Fn/cWDpAiIYJsi7YOIaCUWFoKKRhG0sbEzEImFGnev7G6yyXsxeU5159yZb87l3hG9q2WLiBO79FIwXpLp0s6cwITnQCMWrGDM43jdBckZQ0wTMdrong2R2Bxm0/98sZ8ozdcOEm5hjOC41u9Olc9ZQKySclOVkNhljCmCzjeAJM/4FbW5p+8k5tlggTtarfKxLSM6pHq4BTiL0SboaAOIi284jeP1nti+ApMEvdoEvEPMkOpJDZi1IwzwgqDh/wSsYZwk08ca4O0Qua3zW8OV5crmHg6u22EGbQ2nIbx+1IC6rrK+cYJW9gXEVrbxGUEj5bltQGJvgBapHu0LSGwCyEh1vBsQWwd4TNCDPg6uAOcImuoFlL1dJ9WNPg5uYwwRVM3MzhJmKIpjZK6e9bj4jNNpvL4QFx9wuoDXJ1r5IlH0llTtXgcXwa4SolObnYnwKnbFcfEcdJ+gpW6AtzFynuIop/Fn053u4CA5yzjO4FV9tu0Syl2S38WiSWBgD8AfoEPQ7Fb+LwIiyhxWwe2KAAAAAElFTkSuQmCC",ye=E(2524),ze=(Ye,fe,ke)=>new Promise((Ae,Ce)=>{var me=Ze=>{try{Me(ke.next(Ze))}catch(Qe){Ce(Qe)}},ue=Ze=>{try{Me(ke.throw(Ze))}catch(Qe){Ce(Qe)}},Me=Ze=>Ze.done?Ae(Ze.value):Promise.resolve(Ze.value).then(me,ue);Me((ke=ke.apply(Ye,fe)).next())}),se=({data:Ye,value:fe=[],handleChangePage:ke,setSelectedRowKeys:Ae,selectedRowKeys:Ce,onChange:me=()=>{}})=>{const[ue,Me]=(0,y.useState)([]),[Ze,Qe]=(0,y.useState)([]),[oe,Fe]=(0,y.useState)([]);let[rt,Ne]=(0,y.useState)(1),[Ge,ge]=(0,y.useState)();return(0,y.useEffect)(()=>{Me(Ye),Qe([]),Fe([])},[Ye]),(0,y.useEffect)(()=>{Ae&&(Qe(Ce),Fe(Ce))},[Ce]),y.createElement("div",{style:{display:"flex",justifyContent:"space-between"}},y.createElement("div",{className:be.leftdiv},y.createElement(xe.default.Search,{size:"middle",onChange:Oe=>ze(void 0,null,function*(){Me(Ye.filter(Ve=>{var Pe;return(Pe=Ve==null?void 0:Ve.name)==null?void 0:Pe.includes(Oe.target.value)}))}),placeholder:"\u53EF\u8F93\u5165\u73ED\u7EA7\u540D\u79F0\u67E5\u8BE2"}),ue.length===0&&y.createElement(ye.Z,{styles:{margin:"70px auto"},customText:"\u6682\u65E0\u5206\u73ED"}),y.createElement("div",{style:{height:"85%",overflow:"auto",overflowX:"hidden"}},y.createElement(he.default.Group,{value:Ze.map(Oe=>`${Oe.course_group_id}`),onChange:Oe=>{Ae(ue.filter(Ve=>Oe.includes(`${Ve.course_group_id}`)))},style:{marginTop:"10px",flexDirection:"column"}},ue.map((Oe,Ve)=>y.createElement(je.Z,{key:Oe.course_group_id,style:{marginTop:"10px",lineHeight:"24px",display:"flex",width:200}},y.createElement(he.default,{style:{display:"flex",height:"24px",alignItems:"center"},disabled:Oe.is_published,value:`${Oe.course_group_id}`},y.createElement("div",{className:be.listClass},y.createElement("span",{className:be.spantitle,style:{width:Oe.is_published?"108px":"170px"}},Oe.name),Oe.is_published&&y.createElement("span",{style:{width:"52px",height:"24px",background:"#B8B8B8",borderRadius:"13px",color:"white",lineHeight:"24px",textAlign:"center",display:"inline-block"}},"\u5DF2\u53D1\u5E03")))))))),y.createElement("div",{className:be.rightdiv},y.createElement(xe.default.Search,{onChange:Oe=>{Fe(Ze.filter(Ve=>Ve.name.includes(Oe.target.value)))},size:"middle",placeholder:"\u53EF\u8F93\u5165\u73ED\u7EA7\u540D\u79F0\u67E5\u8BE2"}),oe.length===0&&y.createElement(ye.Z,{styles:{margin:"70px auto"},customText:"\u6682\u672A\u9009\u62E9\u5206\u73ED"}),oe.length>0&&y.createElement("div",{style:{marginTop:"10px",height:"85%",overflow:"hidden",position:"relative"}},y.createElement("div",{style:{overflowX:"hidden",overflowY:"scroll",position:"absolute",left:0,top:0,right:-17,bottom:0}},oe.map((Oe,Ve)=>y.createElement(je.Z,{justify:"space-between",style:{marginTop:"10px"},key:Oe.course_group_id},y.createElement("div",{style:{overflow:"hidden",whiteSpace:"nowrap",textOverflow:"ellipsis",marginRight:"5px",marginLeft:"5px",width:"75%"}},Oe.name),y.createElement("img",{src:De,style:{cursor:"pointer",height:"16px",marginRight:17},onClick:()=>{Ae(Ze.filter(Pe=>`${Pe.course_group_name}`!=`${Oe.course_group_name}`))}})))))))}},21390:function(dn,yt,E){"use strict";var y=E(59301),xe=E(11938),he=E(4875),je=E(28284),be=E(62957),De=E(29787),ye=E(70858),ze=E(37568),we=E(77019),se=E(5269),Ye=E(7939),fe=E(87513),ke=E(66649),Ae=E.n(ke),Ce=E(65582),me=E(65862),ue=E(27158),Me=E(41867),Ze=E(61527),Qe=E(59301),oe=(Ge,ge,Oe)=>new Promise((Ve,Pe)=>{var it=qe=>{try{pe(Oe.next(qe))}catch(Xe){Pe(Xe)}},Le=qe=>{try{pe(Oe.throw(qe))}catch(Xe){Pe(Xe)}},pe=qe=>qe.done?Ve(qe.value):Promise.resolve(qe.value).then(it,Le);pe((Oe=Oe.apply(Ge,ge)).next())});const{Countdown:Fe}=xe.default,rt=({value:Ge,onChange:ge,MaxMinutes:Oe})=>Qe.createElement(Qe.Fragment,null,Qe.createElement("div",{className:"p10 mb20",style:{background:"#F6F7F9"}},"1.\u53EA\u6709\u5F53\u8003\u8BD5\u622A\u6B62\u65F6\u95F4\u665A\u4E8E\u5B66\u751F\u7684\u4EA4\u5377\u622A\u6B62\u65F6\u95F4\u65F6\uFF0C\u624D\u652F\u6301\u5BF9\u5B66\u751F\u8FDB\u884C\u5EF6\u65F6\u64CD\u4F5C\uFF1B",Qe.createElement("br",null),"2.\u6BCF\u4E2A\u5B66\u751F\u7684\u6700\u5927\u53EF\u5EF6\u65F6\u65F6\u95F4=\u8003\u8BD5\u622A\u6B62\u65F6\u95F4-\u5B66\u751F\u5F53\u524D\u7684\u4EA4\u5377\u622A\u6B62\u65F6\u95F4\u3002",Qe.createElement("br",null)),Qe.createElement(he.Z,{value:Ge,onChange:ge,min:0,precision:0,max:Oe,style:{width:"100%"},placeholder:`\u6700\u5927\u53EF\u5EF6\u957F\u65F6\u95F4\u4E3A${Oe}\u5206\u949F\uFF0C\u5728\u5B66\u751F\u5269\u4F59\u65F6\u95F4\u57FA\u7840\u4E0A\u5EF6\u65F6`,addonAfter:"\u5206\u949F"})),Ne=({exercise:Ge,successCb:ge,dispatch:Oe})=>{var Ve,Pe,it,Le;const pe=(0,Ce.useParams)(),[qe]=je.default.useForm(),Xe=je.default.useWatch("time",qe),[Ct,Yt]=(0,y.useState)(!1),We=(0,y.useRef)(),{actionTabs:Be}=Ge,[Dt,Zt]=(0,y.useState)(),[,lt,Se,Re]=(0,Ze.U)(fe.n7,{id:pe.categoryId}),[,at,jt]=(0,Ze.U)(fe.Cd,{});(0,y.useEffect)(()=>{Ge.actionTabs.key==="student-unlock"&&(Yt(!1),qe.resetFields())},[Ge.actionTabs.key]);const ft=()=>new Promise(ve=>oe(void 0,null,function*(){var re,de;return We.current=yield(0,ue.y)({ip_limit:(re=Be==null?void 0:Be.exerciseParams)==null?void 0:re.ip_limit,ip_bind:(de=Be==null?void 0:Be.exerciseParams)==null?void 0:de.ip_bind_type}),ve()})),Wt=()=>oe(void 0,null,function*(){var ve,re,de,Ue,pt;yield qe.validateFields();const et=qe.getFieldsValue();if(Yt(!0),(((ve=Be==null?void 0:Be.exerciseParams)==null?void 0:ve.ip_limit)!=="no"||(re=Be==null?void 0:Be.exerciseParams)!=null&&re.ip_bind_type)&&(yield ft()),(yield(0,fe.ZD)((de=Be==null?void 0:Be.exerciseParams)==null?void 0:de.id,{exercise_user_id:(Ue=Be==null?void 0:Be.exerciseParams)==null?void 0:Ue.exercise_user_id,unlock_key:et.unlock_key,time:et.time,ip:We.current})).status===0){if(ge){Oe({type:"exercise/setActionTabs",payload:{}}),ge();return}const dt=Be==null?void 0:Be.exerciseParams;(0,me.nr)({inner_ip:dt.inner_ip,public_ip:dt.public_ip,open_camera:dt.open_camera,ip_limit:dt.ip_limit,ip_bind:dt.ip_bind,ip_bind_type:dt.ip_bind_type,exercise_tips:dt.exercise_tips,exerciseId:dt.id,screen_open:dt.screen_open,screen_num:dt.screen_num,screen_sec:dt.screen_sec,coursesId:pe.coursesId,login:(pt=(0,Me.eY)())==null?void 0:pt.login,history,identity_verify:dt.identity_verify,open_phone_video_recording:dt.open_phone_video_recording,current_status:dt.current_status}),Oe({type:"exercise/setActionTabs",payload:{}})}Yt(!1)}),xt=[{title:"IP\u5730\u5740",dataIndex:"ip",key:"ip",render:ve=>Qe.createElement("span",{className:ve.indexOf("\u5F02\u5E38")>-1?"c-red":"c-green"},ve)},{title:"\u6D4F\u89C8\u5668",dataIndex:"browser",key:"browser",render:ve=>Qe.createElement("span",{className:ve.indexOf("\u5F02\u5E38")>-1?"c-red":"c-green"},ve)},{title:"\u4E0A\u6B21\u767B\u5F55\u65F6\u95F4",dataIndex:"last_login_time",key:"last_login_time"}],$t=((Ve=Be==null?void 0:Be.exerciseParams)==null?void 0:Ve.errorMessage)&&typeof((Pe=Be==null?void 0:Be.exerciseParams)==null?void 0:Pe.errorMessage)=="object";(0,y.useEffect)(()=>{Ge.actionTabs.key==="student-unlock"&&oe(void 0,null,function*(){const ve=yield jt(pe);yield Se({}),ve.status||Zt(ve)})},[Ge.actionTabs.key]);const{time:Rt,end_time:ce}=(Dt==null?void 0:Dt.exercise)||{},ne=Re!=null&&Re.user_end_time?Ae()(Re==null?void 0:Re.user_end_time).add(1,"minutes"):Ae()(),te=Ae()(Re==null?void 0:Re.user_total_end_time)>ne?Math.round(Ae().duration(Ae()(Re==null?void 0:Re.user_total_end_time).diff(ne.startOf("minute"))).asMinutes()):0,le=((Re==null?void 0:Re.student_left_minutes)||0)+(Xe||0);return Qe.createElement(Qe.Fragment,null,Qe.createElement(be.default,{width:514,centered:!0,closable:!!((it=Be==null?void 0:Be.exerciseParams)!=null&&it.unlockClose),maskClosable:!1,keyboard:!1,maskStyle:{background:"#000"},title:"\u63D0\u793A",open:Ge.actionTabs.key==="student-unlock",footer:null,onCancel:()=>{Oe({type:"exercise/setActionTabs",payload:{}})}},Qe.createElement(De.Z,{spinning:lt||at},$t&&Qe.createElement("div",{style:{marginBottom:16}},"\u8BE5\u8D26\u53F7\u5DF2\u7ECF\u5B58\u5728\u5F02\u5E38\u60C5\u51B5\uFF0C\u82E5\u975E\u672C\u4EBA\u64CD\u4F5C\uFF0C\u8BF7\u8054\u7CFB\u76D1\u8003\u8001\u5E08\u8BF4\u660E\u60C5\u51B5\u3002 "),!$t&&Qe.createElement("div",{style:{marginBottom:16}},"\u7CFB\u7EDF\u68C0\u6D4B\u5230\u60A8\u5728\u8003\u8BD5\u65F6\u4E2D\u9014\u9000\u51FA\uFF0C\u73B0\u5DF2\u5C06\u8003\u8BD5\u9501\u5B9A\u3002\u5982\u9700\u7EE7\u7EED\u8FDB\u884C\u8003\u8BD5\uFF0C \u8BF7\u5C3D\u5FEB\u8054\u7CFB\u8BFE\u5802\u8001\u5E08\u8FDB\u884C\u89E3\u9501\uFF01"),$t&&Qe.createElement(ye.default,{className:"mb20",pagination:{hideOnSinglePage:!0},dataSource:[((Le=Be==null?void 0:Be.exerciseParams)==null?void 0:Le.errorMessage)||{}],columns:xt}),Qe.createElement("div",{className:""},Qe.createElement(je.default,{form:qe,layout:"vertical",autoComplete:"off"},Qe.createElement(je.default.Item,{label:"\u8003\u8BD5\u89E3\u9501\u7801",name:"unlock_key",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u8003\u8BD5\u89E3\u9501\u7801"}]},Qe.createElement(ze.default.Password,{autoComplete:"off",placeholder:"\u8BF7\u8F93\u5165\u8003\u8BD5\u89E3\u9501\u7801",visibilityToggle:!1})),Rt!==-1?Qe.createElement(Qe.Fragment,null,Qe.createElement(je.default.Item,{name:"time",label:Qe.createElement("span",null,"\u5EF6\u957F\u65F6\u95F4\uFF08",Qe.createElement("span",{style:{color:"#9096A3"}},"\u5F53\u524D\u8003\u8BD5\u622A\u6B62\u65F6\u95F4",Ae()(Re==null?void 0:Re.user_total_end_time).format("YYYY-MM-DD HH:mm")),"\uFF09")},Qe.createElement(rt,{MaxMinutes:te})),Qe.createElement("div",{className:"mb20",style:{color:"#FA6400"}},"\u8BE5\u5B66\u751F\u5269\u4F59\u8003\u8BD5\u65F6\u95F4\uFF1A",Qe.createElement("span",{className:"ml5"},lt||at?"--":le),"\u5206\u949F",le!==0&&(Re==null?void 0:Re.user_end_time)&&Qe.createElement("span",null,"\uFF0C\u4EA4\u5377\u622A\u6B62\u65F6\u95F4\uFF1A",Qe.createElement("span",{className:"ml5"},Ae()(Re==null?void 0:Re.user_end_time).add(Xe||0,"m").format("YYYY-MM-DD HH:mm:ss"))))):Qe.createElement("span",{style:{color:"#F6A53B"}}," \u5F53\u524D\u8003\u8BD5\u672A\u9650\u5236\u8003\u751F\u7B54\u9898\u65F6\u957F\uFF0C\u8003\u8BD5\u622A\u6B62\u65F6\u95F4\u4E3A ",Ae()(ce).format("YYYY-MM-DD HH:mm")))),Qe.createElement(we.Z,{justify:"space-between",align:"middle"},Qe.createElement(se.Z,null),Qe.createElement(se.Z,null,Qe.createElement(Ye.ZP,{loading:Ct,onClick:Wt},"\u8FDB\u5165\u8003\u8BD5"))))))};yt.Z=(0,Ce.connect)(({exercise:Ge})=>({exercise:Ge}))(Ne)},82896:function(dn,yt,E){"use strict";E.d(yt,{w:function(){return De}});var y=E(38147),xe=E(62957),he=E(65582),je=E(59301),be=(ye,ze,we)=>new Promise((se,Ye)=>{var fe=Ce=>{try{Ae(we.next(Ce))}catch(me){Ye(me)}},ke=Ce=>{try{Ae(we.throw(Ce))}catch(me){Ye(me)}},Ae=Ce=>Ce.done?se(Ce.value):Promise.resolve(Ce.value).then(fe,ke);Ae((we=we.apply(ye,ze)).next())});const De=(ye,ze,we="\u6B63\u5728\u8FDB\u5165\u8BC4\u9605\uFF0C\u8BF7\u7A0D\u540E...",se=1,Ye=2)=>be(void 0,null,function*(){se===1&&(0,he.getDvaApp)()._store.dispatch({type:"globalSetting/setGlobalLoading",payload:{show:!0,text:se===1?we:"\u6B63\u5728\u68C0\u6D4B\u4E2D\uFF0C\u8BF7\u7A0D\u540E..."}});const fe=yield(0,y.ZP)(`/api/exercises/${ze}/user_appraise_status.json`,{method:"get",params:{appraise_type:se}});if((fe==null?void 0:fe.status)===-1)return(0,he.getDvaApp)()._store.dispatch({type:"globalSetting/setGlobalLoading",payload:{show:!1}}),Promise.reject();let ke={status:0};if((fe==null?void 0:fe.type)===2&&(ke=yield(0,y.ZP)(`/api/exercises/${ze}/create_appraise_students.json`,{method:"get"})),(0,he.getDvaApp)()._store.dispatch({type:"globalSetting/setGlobalLoading",payload:{show:!1,text:""}}),(ke==null?void 0:ke.status)===-1)return Promise.reject();if((fe==null?void 0:fe.type)===2){const Ae=()=>{he.history.replace(`/classrooms/${ye}/exercise/${ze}/centralizeReview/${ke==null?void 0:ke.login}`)};if(xe.default.confirm({centered:!0,width:470,okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",title:"\u63D0\u793A",keyboard:!1,onOk:Ae,onCancel:()=>{Ye===1&&he.history.replace(`/classrooms/${ye}/exercise/${ze}/detail`)},content:je.createElement("div",null,je.createElement("div",null,"\u60A8\u5DF2\u6210\u4E3A\u6307\u5B9A\u9605\u5377\u6559\u5E08\uFF0C\u662F\u5426\u73B0\u5728\u524D\u5F80",je.createElement("span",{onClick:Ae,className:"ml5 mr5 c-light-primary current"},"\u96C6\u4E2D\u9605\u5377"),"\u7EE7\u7EED\u8BC4\u9605\uFF1F"),je.createElement("div",{className:"c-grey-999"},"\uFF08\u9605\u5377\u7ED3\u675F\u540E\u6062\u590D\u5B66\u751F\u4E2A\u4EBA\u8BC4\u9605\u529F\u80FD\uFF0C\u5E76\u5C55\u793A\u5B66\u751F\u6210\u7EE9\uFF09"))}),Ye!==3)return Promise.reject()}if((fe==null?void 0:fe.type)===3&&(xe.default.info({centered:!0,width:470,okText:"\u786E\u5B9A",keyboard:!1,title:"\u63D0\u793A",onOk:()=>{Ye===1&&he.history.replace(`/classrooms/${ye}/exercise/${ze}/detail`)},content:je.createElement("div",null,(fe==null?void 0:fe.message)||"")}),Ye!==3)||(fe==null?void 0:fe.type)===4&&(xe.default.info({centered:!0,width:470,okText:"\u786E\u5B9A",title:"\u63D0\u793A",keyboard:!1,onOk:()=>{Ye===1&&he.history.replace(`/classrooms/${ye}/exercise/${ze}/detail`)},content:je.createElement("div",null,(fe==null?void 0:fe.message)||"")}),Ye!==3))return Promise.reject()})},77510:function(dn,yt,E){"use strict";E.r(yt),E.d(yt,{default:function(){return No}});var y=E(59301),xe=E(65582),he=E(62957),je=E(93041),be=E(6767),De=E(458),ye=E(31709),ze=E(48608),we=E(7939),se=E(62673),Ye=E(66649),fe=E.n(Ye),ke=E(41867),Ae=E(65862),Ce=E(2524),me=E(38147),ue=E(31691),Me=E(28284),Ze=E(25399),Qe=E(4875),oe=E(82326),Fe=E(37568),rt=E(26724),Ne=E.n(rt),Ge=E(49018),ge=E(5006),Oe=E(66457),Ve=E(35479),Pe=E(79274),it=E(90463),Le=E(83028),pe=E(60979),qe=E(59301),Xe=Object.defineProperty,Ct=Object.defineProperties,Yt=Object.getOwnPropertyDescriptors,We=Object.getOwnPropertySymbols,Be=Object.prototype.hasOwnProperty,Dt=Object.prototype.propertyIsEnumerable,Zt=(Je,hn,Mt)=>hn in Je?Xe(Je,hn,{enumerable:!0,configurable:!0,writable:!0,value:Mt}):Je[hn]=Mt,lt=(Je,hn)=>{for(var Mt in hn||(hn={}))Be.call(hn,Mt)&&Zt(Je,Mt,hn[Mt]);if(We)for(var Mt of We(hn))Dt.call(hn,Mt)&&Zt(Je,Mt,hn[Mt]);return Je},Se=(Je,hn)=>Ct(Je,Yt(hn)),Re=(Je,hn,Mt)=>new Promise((bn,er)=>{var Rn=Zn=>{try{yr(Mt.next(Zn))}catch(Hn){er(Hn)}},Nn=Zn=>{try{yr(Mt.throw(Zn))}catch(Hn){er(Hn)}},yr=Zn=>Zn.done?bn(Zn.value):Promise.resolve(Zn.value).then(Rn,Nn);yr((Mt=Mt.apply(Je,hn)).next())});const{TabPane:at}=ue.default,jt=({classroomList:Je,exercise:hn,loading:Mt,dispatch:bn})=>{var er;const Rn=(0,xe.useParams)(),Nn=(0,xe.useLocation)(),[yr]=Me.default.useForm(),{brankList:Zn}=hn;let[Hn,or]=(0,y.useState)(!0),[kr,wo]=(0,y.useState)(!1);const[ci,ii]=(0,y.useState)("myself");let[oi,vi]=(0,y.useState)([]),[mi,Li]=(0,y.useState)([]),[Bi,Ti]=(0,y.useState)(),[Ki,sa]=(0,y.useState)([]);const fa=(0,y.useRef)(null),[wa,ha]=(0,y.useState)(!1),[Ao,Do]=(0,y.useState)(""),[Co,Ji]=(0,y.useState)(""),[Uo,Ho]=(0,y.useState)(!1),[Mi,bi]=(0,y.useState)({}),hi=[{title:"\u8BD5\u5377\u540D\u79F0",dataIndex:"name",ellipsis:!0,align:"left",render:(ko,Gi,gr)=>qe.createElement("div",{style:{display:"flex",alignItems:"center"}},qe.createElement(Ze.Z,{title:ko},qe.createElement("div",{title:ko,className:ge.Z.name},ko)),(Gi==null?void 0:Gi.high_resources_consume)&&qe.createElement(it.Z,{type:"shixun",style:{marginLeft:10}}))},{title:"\u6240\u5C5E\u8BFE\u7A0B",dataIndex:"course_discipline_name",width:180,ellipsis:!0,align:"left",render:ko=>qe.createElement(Ze.Z,{title:ko},qe.createElement("span",null,ko))},{title:"\u7C7B\u578B",dataIndex:"is_random",width:90,align:"left",render:ko=>ko?"\u968F\u673A\u7EC4\u5377":"\u4EBA\u5DE5\u7EC4\u5377"},{title:"\u66F4\u65B0\u65F6\u95F4",dataIndex:"updated_at",width:150,align:"left"},{title:"\u8BD5\u9898\u6570",dataIndex:"item_num",width:60,align:"center"},{title:"\u603B\u5206",dataIndex:"total_score",width:60,align:"center"},{title:"\u64CD\u4F5C",dataIndex:"is_random",width:60,align:"center",render:(ko,Gi)=>qe.createElement("a",{href:ko?`/randompaper/detail/${Gi.id}`:`/paperlibrary/see/${Gi.id}?defaultActiveKey=1`,target:"_blank>"},"\u9884\u89C8")}],[_o,Ma]=(0,y.useState)({page:0,limit:20,group_id:null,object_type:"examination_bank",search:"",filter:"myself"});(0,y.useEffect)(()=>{hn.actionTabs.key==="\u8BD5\u5377\u9009\u7528"&&(ra(),sa([]),Ha())},[hn.actionTabs.key]);const Ha=()=>Re(void 0,null,function*(){const ko=yield bn({type:"paperlibrary/getTeachGroupData"});Li(ko)}),Aa=ko=>{const Gi=parseInt(ko);return isNaN(Gi)?"":Gi},ra=()=>Re(void 0,null,function*(){var ko,Gi;if(Hn){++_o.page,or(!1);const gr=yield bn({type:"exercise/getBrankList",payload:Se(lt({},_o),{search:(ko=_o.search)==null?void 0:ko.trim()})});oi=gr!=null&&gr.object_list?[...oi.concat(gr==null?void 0:gr.object_list)]:oi,_o.filter==="public"?Ti(gr.is_teacher):Ti(!0),((Gi=gr.object_list)==null?void 0:Gi.length)<_o.limit?or(!1):or(!0),vi([...oi])}}),El=ko=>{fa.current.scrollTop=0,oi=[],_o.page=0,_o.group_id=ko,Hn=!0,sa([]),Ma(lt({},_o)),ra()},qa={selectedRowKeys:Ki,onChange:ko=>{sa(ko)},type:"radio"},qo=()=>{Ma(lt({},{page:0,limit:20,group_id:null,object_type:"examination_bank",search:"",filter:"myself"})),vi([]),or(!0),ii("myself"),bn({type:"exercise/setActionTabs",payload:{}}),wo(!1)},[Ei,Qo,di,zi]=(0,Ve.P)(),$i=ko=>Re(void 0,null,function*(){let Gi=!1;oi.forEach(Zi=>{Ki.includes(Zi.id)&&(Gi=Zi.is_random)});const gr=ko.map(Zi=>({shixun_id:Zi.id,is_use:Zi.is_use,is_copy:Zi.is_copy}));if(!Gi){Ho(!0);const Zi=yield bn({type:"exercise/saveBanks",payload:{course_id:Rn.coursesId,category_id:(Rn==null?void 0:Rn.categoryId)||null,object_type:"examination_bank",bank_id:Ki,shixuns_info:gr}});Ho(!1),(Zi==null?void 0:Zi.status)===0&&((0,Ae.L9)(["\u6559\u5B66\u8BFE\u5802","\u8BD5\u5377","\u8BD5\u5377\u9009\u7528"]),bn({type:"classroomList/getClassroomExercisesList",payload:lt({},hn.actionTabs.params)}),bn({type:"classroomList/getClassroomLeftMenus",payload:{id:Rn.coursesId}}),Do(`/classrooms/${Rn.coursesId}/exercise/${Zi.exercise_id}/detail?random=${Zi.is_random}&tabs=3`),Ji(`/classrooms/${Rn.coursesId}/exercise/add/${Zi.exercise_id}?random=${Zi.is_random}&type=2`),ha(!0),be.ZP.success("\u751F\u6210\u8BD5\u5377\u6210\u529F"),Qo(),qo());return}Ho(!0),setTimeout(()=>{Ho(!1)},500),bn({type:"exercise/setActionTabs",payload:{}});let Qr=1,Yo=he.default.confirm({icon:null,className:"custom-modal-divider",centered:!0,width:500,maskClosable:!1,keyboard:!1,cancelButtonProps:{disabled:!1},title:"\u914D\u7F6E\u51FA\u5377\u6570\u91CF",content:qe.createElement("div",{className:ge.Z.modalColumn},qe.createElement("div",{className:ge.Z.modalRow},qe.createElement("sup",{className:ge.Z.sup},"*"),qe.createElement("span",{style:{flexShrink:0}},"\u968F\u673A\u51FA\u5377\u6570\u91CF\uFF1A"),qe.createElement(Qe.Z,{parser:Aa,style:{width:120},placeholder:"\u8BF7\u8F93\u5165\u8BD5\u5377\u6570\u91CF",min:1,defaultValue:Qr,onChange:Zi=>{Qr=Zi;const Ba=document.getElementById("model_error");Qr<1||Qr>50?Ba.style.display="block":Ba.style.display="none"}})),qe.createElement("div",{style:{display:"none",marginLeft:106},id:"model_error",className:"c-red"},"\u8BF7\u8F93\u51651-50\u4E4B\u95F4\u7684\u6574\u6570")),okText:"\u786E\u8BA4",cancelText:"\u53D6\u6D88",onCancel:qo,onOk:()=>Re(void 0,null,function*(){if(Qr<1||Qr>50){const Ba=document.getElementById("model_error");return Ba.style.display="block",Promise.reject()}Yo.update({cancelButtonProps:{disabled:!0}});const Zi=yield bn({type:"exercise/saveBanks",payload:{course_id:Rn.coursesId,object_type:"examination_bank",bank_id:Ki,shixuns_info:gr,num:Qr}});Yo.update({cancelButtonProps:{disabled:!1}}),Zi&&Zi.status===0?((0,Ae.L9)(["\u6559\u5B66\u8BFE\u5802","\u8BD5\u5377","\u8BD5\u5377\u9009\u7528"]),he.default.destroyAll(),bn({type:"classroomList/getClassroomExercisesList",payload:lt({},hn.actionTabs.params)}),qo(),Qo(),be.ZP.success("\u751F\u6210\u8BD5\u5377\u6210\u529F")):(qo(),Qo())})})});return qe.createElement(qe.Fragment,null,qe.createElement(he.default,{centered:!0,width:1012,title:"\u9009\u62E9\u8BD5\u5377",maskClosable:!1,destroyOnClose:!0,open:hn.actionTabs.key==="\u8BD5\u5377\u9009\u7528",okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",confirmLoading:kr,bodyStyle:{minHeight:200},wrapClassName:ge.Z.warpModal,onOk:()=>Re(void 0,null,function*(){var ko;if(!Ki.length){be.ZP.error("\u8BF7\u9009\u62E9\u8BD5\u5377");return}wo(!0);let Gi=!1,gr=!1;if(oi.forEach(Yo=>{Ki.includes(Yo.id)&&Yo.need_authorize&&(Gi=Yo.need_authorize),Ki.includes(Yo.id)&&(gr=Yo.is_random)}),Gi){(0,Oe.rX)(!1,"\u8BE5\u8BD5\u5377\u4E2D\u5305\u542B\u5B9E\u8BAD\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");return}let Qr=yield(0,pe.Tr)({id:`${Ki[0]}`,course_id:(ko=Je.detailTopBanner)==null?void 0:ko.course_id,type:"examination_bank"});wo(!1),(Qr==null?void 0:Qr.student_count)===0?$i([]):bi(Qr)}),onCancel:qo},qe.createElement(ue.default,{activeKey:ci,onTabClick:ko=>Re(void 0,null,function*(){fa.current.scrollTop=0,oi=[],ci!==ko&&sa([]),ii(ko),_o.page=0,_o.filter=ko,_o.group_id=null,Hn=!0,ra()})},qe.createElement(at,{tab:qe.createElement("span",null,"\u6211\u7684\u8BD5\u5377\u5E93"),key:"myself"}),qe.createElement(at,{tab:qe.createElement("span",null,"\u6559\u7814\u5171\u4EAB"),key:"teacher"}),qe.createElement(at,{tab:qe.createElement("span",null,"\u516C\u5171\u8BD5\u5377\u5E93"),key:"public"})),qe.createElement("div",{className:ge.Z.tabSearch},ci==="teacher"&&qe.createElement(oe.default,{value:_o.group_id,onChange:El,size:"middle",style:{width:200,marginRight:30}},qe.createElement(oe.default.Option,{value:null},"\u5168\u90E8\u6559\u7814\u56E2\u961F"),(er=mi==null?void 0:mi.groups)==null?void 0:er.map(ko=>qe.createElement(oe.default.Option,{key:ko==null?void 0:ko.group_id,value:ko==null?void 0:ko.group_id},ko==null?void 0:ko.name))),qe.createElement(Fe.default.Search,{placeholder:"\u8BF7\u8F93\u5165\u8BD5\u5377\u540D\u79F0\u8FDB\u884C\u641C\u7D22",value:_o.search,onChange:ko=>{_o.search=ko.target.value,Ma(lt({},_o))},onSearch:ko=>{fa.current.scrollTop=0,oi=[],_o.page=0,Hn=!0,sa([]),ko&&(0,Pe.tk)({name:ko,copywriting:ko,position:"Exercise"}),ra()}})),qe.createElement("div",{ref:fa,style:{maxHeight:350,overflowY:"auto",overflowX:"hidden",marginTop:10,paddingBottom:20}},!Bi&&ci==="public"&&qe.createElement("div",{style:{display:"flex",flexDirection:"column",paddingTop:"30px",alignItems:"center",justifyContent:"center"}},qe.createElement("span",null,"\u901A\u8FC7\u804C\u4E1A\u8BA4\u8BC1\u7684\u6559\u5E08\u624D\u80FD\u8BBF\u95EE\u516C\u5171\u8BD5\u5377\u5E93\u8D44\u6E90"),qe.createElement("p",{style:{cursor:"pointer",background:"#ff6800",height:"30px",textAlign:"center",marginTop:"5px",padding:"5px 0px",color:"#fff",width:"80px"},onClick:()=>{window.open("/account/certification")}},"\u7ACB\u5373\u8BA4\u8BC1")),qe.createElement(Ne(),{initialLoad:!1,pageStart:0,loadMore:()=>{ra()},hasMore:Hn,useWindow:!1},hn.actionTabs.key==="\u8BD5\u5377\u9009\u7528"&&Bi&&qe.createElement(Ge.Z,{className:ge.Z.hideHeadCheckbox,pagination:!1,hideSelectAll:!0,dataSource:oi,onRow:ko=>({onClick:()=>{sa([ko==null?void 0:ko.id])}}),resColumns:hi,rowSelection:qa})))),qe.createElement(he.default,{title:"\u63D0\u793A",open:wa,confirmLoading:!1,centered:!0,okText:"\u8BBE\u7F6E\u89C4\u5219",cancelText:"\u4FEE\u6539\u8BD5\u5377",footer:qe.createElement("div",null,qe.createElement(we.ZP,{onClick:()=>{ha(!1),xe.history.push(Co)}},"\u4FEE\u6539\u8BD5\u5377"),qe.createElement(we.ZP,{type:"primary",onClick:()=>{xe.history.push(Ao),ha(!1)}},"\u8BBE\u7F6E\u89C4\u5219")),onCancel:()=>{ha(!1)}},qe.createElement("p",null,"\u8BD5\u5377\u521B\u5EFA\u5B8C\u6210\uFF01\u76EE\u524D\u5904\u4E8E\u672A\u53D1\u5E03\u72B6\u6001\uFF0C\u662F\u5426\u8BBE\u7F6E\u8003\u8BD5\u89C4\u5219\uFF1F")),qe.createElement(Le.Z,{resdata:Mi,type:"exercise",okloading:Uo,oktext:(Mi==null?void 0:Mi.can_copy_num)===0?"\u786E\u5B9A":"\u4E00\u952E\u590D\u5236\u5E76\u66FF\u6362",onok:ko=>{$i(ko)}}),qe.createElement(Ve.Z,{inPaper:!0,visible:Ei,onCancel:Qo,onOk:$i,renderData:di,modalType:"multiple",type:"examination_bank"}))};var ft=(0,xe.connect)(({exercise:Je,loading:hn,classroomList:Mt})=>({exercise:Je,loading:hn,classroomList:Mt}))(jt),Wt=E(72936),xt=E(24528),$t=Object.defineProperty,Rt=Object.getOwnPropertySymbols,ce=Object.prototype.hasOwnProperty,ne=Object.prototype.propertyIsEnumerable,te=(Je,hn,Mt)=>hn in Je?$t(Je,hn,{enumerable:!0,configurable:!0,writable:!0,value:Mt}):Je[hn]=Mt,le=(Je,hn)=>{for(var Mt in hn||(hn={}))ce.call(hn,Mt)&&te(Je,Mt,hn[Mt]);if(Rt)for(var Mt of Rt(hn))ne.call(hn,Mt)&&te(Je,Mt,hn[Mt]);return Je},ve=(Je,hn,Mt)=>new Promise((bn,er)=>{var Rn=Zn=>{try{yr(Mt.next(Zn))}catch(Hn){er(Hn)}},Nn=Zn=>{try{yr(Mt.throw(Zn))}catch(Hn){er(Hn)}},yr=Zn=>Zn.done?bn(Zn.value):Promise.resolve(Zn.value).then(Rn,Nn);yr((Mt=Mt.apply(Je,hn)).next())});const re=({exercise:Je,dispatch:hn})=>{const Mt=(0,xe.useParams)();return y.createElement(he.default,{centered:!0,title:"\u63D0\u793A",open:Je.actionTabs.key==="\u8BBE\u4E3A\u516C\u5F00",okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",onOk:()=>ve(void 0,null,function*(){(yield(0,me.ZP)(`/api/courses/${Mt.coursesId}/exercises/set_public.json`,{method:"post",body:{check_ids:[...Je.actionTabs.selectArrs]}})).status===0&&((0,Ae.L9)(["\u6559\u5B66\u8BFE\u5802","\u8BD5\u5377","\u8BBE\u4E3A\u516C\u5F00"]),be.ZP.success("\u64CD\u4F5C\u6210\u529F"),hn({type:"exercise/setActionTabs",payload:{}}),hn({type:"classroomList/getClassroomExercisesList",payload:le({},Je.actionTabs.params)}))}),onCancel:()=>{hn({type:"exercise/setActionTabs",payload:{}})}},y.createElement("p",null,"\u8BBE\u4E3A\u516C\u5F00\u540E\uFF0C\u975E\u8BFE\u5802\u6210\u5458\u4E5F\u53EF\u4EE5\u8BBF\u95EE\u67E5\u770B",y.createElement("br",null),"\u662F\u5426\u786E\u8BA4\u8BBE\u4E3A\u516C\u5F00\uFF1F"))};var de=(0,xe.connect)(({exercise:Je})=>({exercise:Je}))(re),Ue=E(71067),pt=Object.defineProperty,et=Object.getOwnPropertySymbols,tt=Object.prototype.hasOwnProperty,dt=Object.prototype.propertyIsEnumerable,gt=(Je,hn,Mt)=>hn in Je?pt(Je,hn,{enumerable:!0,configurable:!0,writable:!0,value:Mt}):Je[hn]=Mt,St=(Je,hn)=>{for(var Mt in hn||(hn={}))tt.call(hn,Mt)&&gt(Je,Mt,hn[Mt]);if(et)for(var Mt of et(hn))dt.call(hn,Mt)&&gt(Je,Mt,hn[Mt]);return Je},_e=(Je,hn)=>{var Mt={};for(var bn in Je)tt.call(Je,bn)&&hn.indexOf(bn)<0&&(Mt[bn]=Je[bn]);if(Je!=null&&et)for(var bn of et(Je))hn.indexOf(bn)<0&&dt.call(Je,bn)&&(Mt[bn]=Je[bn]);return Mt},st=(Je,hn,Mt)=>new Promise((bn,er)=>{var Rn=Zn=>{try{yr(Mt.next(Zn))}catch(Hn){er(Hn)}},Nn=Zn=>{try{yr(Mt.throw(Zn))}catch(Hn){er(Hn)}},yr=Zn=>Zn.done?bn(Zn.value):Promise.resolve(Zn.value).then(Rn,Nn);yr((Mt=Mt.apply(Je,hn)).next())});const en=Je=>{var hn=Je,{exercise:Mt,dispatch:bn,user:er}=hn,Rn=_e(hn,["exercise","dispatch","user"]),Nn,yr;const Zn=(0,xe.useParams)(),[Hn,or]=(0,y.useState)(!1),[kr,wo]=(0,y.useState)(!1),ci=(0,y.useRef)(null);(0,y.useEffect)(()=>{var oi,vi;if(Mt.actionTabs.key==="\u6279\u91CF\u5220\u9664"){if((0,ke.j5)()){wo(!0);return}const mi={hasNum:0,noHasNum:0};(vi=(oi=Mt==null?void 0:Mt.actionTabs)==null?void 0:oi.selectArrsAll)==null||vi.map(Li=>{var Bi;Li.author_login===((Bi=er.userInfo)==null?void 0:Bi.login)?++mi.hasNum:++mi.noHasNum}),mi.noHasNum>0?he.default.info({title:"\u6743\u9650\u63D0\u793A",className:"custom-modal-divider ",icon:null,content:y.createElement("div",null,"\u5F53\u524D\u9009\u4E2D\u8D44\u6E90\u4E2D\uFF1A",y.createElement("span",{className:"c-blue"},mi.hasNum),"\u4E2A\u7531\u60A8\u672C\u4EBA\u53D1\u5E03\uFF0C",y.createElement("span",{className:"c-red"},mi.noHasNum)," \u4E2A\u7531\u5176\u4ED6\u8001\u5E08\u53D1\u5E03\u3002",y.createElement("br",null),"\u8BFE\u5802\u5185\u53EA\u80FD\u5220\u9664\u672C\u4EBA\u53D1\u5E03\u7684\u8D44\u6E90\uFF0C\u8BF7\u53D6\u6D88\u9009\u4E2D\u5176\u4ED6\u8001\u5E08\u53D1\u5E03\u7684\u8D44\u6E90\u3002"),onOk:()=>{ii()}}):wo(!0)}else wo(!1)},[Mt.actionTabs.key]);const ii=()=>{bn({type:"exercise/setActionTabs",payload:{}})};return y.createElement(he.default,{centered:!0,title:"\u63D0\u793A",open:kr,okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",confirmLoading:Hn,destroyOnClose:!0,onOk:()=>st(void 0,null,function*(){var oi;if((oi=ci.current)!=null&&oi.onVerify())return;or(!0);const vi=yield(0,me.ZP)(`/api/courses/${Zn.coursesId}/exercises/destroys.json`,{method:"post",body:{check_ids:[...Mt.actionTabs.selectArrs]}});or(!1),vi.status===0&&((0,Ae.L9)(["\u6559\u5B66\u8BFE\u5802","\u8BD5\u5377","\u5220\u9664"]),be.ZP.success("\u5220\u9664\u6210\u529F"),bn({type:"exercise/setActionTabs",payload:{}}),bn({type:"classroomList/getClassroomExercisesList",payload:St({},Mt.actionTabs.params)}),bn({type:"classroomList/getClassroomLeftMenus",payload:St({},Mt.actionTabs.params)}))}),onCancel:()=>{bn({type:"exercise/setActionTabs",payload:{}})}},!((Nn=Mt==null?void 0:Mt.actionTabs)!=null&&Nn.status)||!["\u672A\u5F00\u59CB"].includes((yr=Mt==null?void 0:Mt.actionTabs)==null?void 0:yr.status)?y.createElement(y.Fragment,null,y.createElement("p",{style:{color:"#DD0000"}},"\u5220\u9664\u8003\u8BD5\u5219\u4F1A\u6E05\u9664\u5B66\u751F\u6240\u6709\u7684\u7B54\u9898\u6570\u636E\uFF0C\u4E14\u6570\u636E\u4E0D\u53EF\u6062\u590D\uFF0C\u5982\u786E\u5B9A\u5220\u9664\uFF0C\u8BF7\u8F93\u5165\u4E0B\u65B9\u9A8C\u8BC1\u7801"),y.createElement(Ue.Z,{ref:oi=>ci.current=oi})):y.createElement("p",null,"\u5220\u9664\u8BD5\u5377\u4F1A\u540C\u6B65\u5220\u9664\u8BD5\u5377\u4E2D\u7684\u6240\u6709\u8003\u8BD5\uFF0C\u786E\u8BA4\u662F\u5426\u5220\u9664\uFF1F"))};var Ut=(0,xe.connect)(({exercise:Je,user:hn})=>({exercise:Je,user:hn}))(en),yn=Object.getOwnPropertySymbols,tn=Object.prototype.hasOwnProperty,Vt=Object.prototype.propertyIsEnumerable,Qt=(Je,hn)=>{var Mt={};for(var bn in Je)tn.call(Je,bn)&&hn.indexOf(bn)<0&&(Mt[bn]=Je[bn]);if(Je!=null&&yn)for(var bn of yn(Je))hn.indexOf(bn)<0&&Vt.call(Je,bn)&&(Mt[bn]=Je[bn]);return Mt},sn=(Je,hn,Mt)=>new Promise((bn,er)=>{var Rn=Zn=>{try{yr(Mt.next(Zn))}catch(Hn){er(Hn)}},Nn=Zn=>{try{yr(Mt.throw(Zn))}catch(Hn){er(Hn)}},yr=Zn=>Zn.done?bn(Zn.value):Promise.resolve(Zn.value).then(Rn,Nn);yr((Mt=Mt.apply(Je,hn)).next())});const bt=Je=>{var hn=Je,{exercise:Mt,dispatch:bn}=hn,er=Qt(hn,["exercise","dispatch"]);const Rn=(0,xe.useParams)();return Rn.id=Rn.coursesId,(0,y.useEffect)(()=>{Mt.actionTabs.key==="\u52A0\u5165\u8BD5\u5377\u5E93"&&new Promise(()=>sn(void 0,null,function*(){(yield(0,me.ZP)(`/api/courses/${Rn.id}/exercises/join_examination_banks.json`,{method:"post",body:{check_ids:[...Mt.actionTabs.selectArrs]}})).status===0&&((0,Ae.L9)(["\u6559\u5B66\u8BFE\u5802","\u8BD5\u5377","\u52A0\u5165\u8BD5\u5377\u5E93"]),be.ZP.success("\u5DF2\u52A0\u5165\u4E2A\u4EBA\u8BD5\u5377\u5E93\uFF0C\u8BD5\u9898\u540C\u6B65\u52A0\u5165\u81F3\u4E2A\u4EBA\u9898\u5E93")),bn({type:"exercise/setActionTabs",payload:{}})}))},[Mt.actionTabs.key]),y.createElement(y.Fragment,null)};var Lt=(0,xe.connect)(({exercise:Je})=>({exercise:Je}))(bt),un=E(37639),Cn=E(70858),ut={flex_box_center:"flex_box_center___VejG5",flex_space_between:"flex_space_between___RwAiX",flex_box_vertical_center:"flex_box_vertical_center___N5QNs",flex_box_center_end:"flex_box_center_end___SUMZc",flex_box_column:"flex_box_column___ombQA",bg:"bg___i74VI",containerTitle:"containerTitle___eAbbs",containerDesc:"containerDesc___WeE4m",tablestyle:"tablestyle___uKNiL",listItem:"listItem___aJrbL",info:"info___X9HlC",title:"title___ZDroC",titleLeft:"titleLeft___JzNZc",titleRight:"titleRight___RP0gb",flexBox:"flexBox___txRbA",iconV:"iconV___JMCv9",acitons:"acitons___iqFGc",moveCategory:"moveCategory___Rihfv",name:"name___LdzGg",categoryName:"categoryName___Tz45n",schedule:"schedule___a20T3",fnSign:"fnSign___gsn3j",spanSize:"spanSize___jht3F",classromediv:"classromediv___T7h_f",glow:"glow___LU7dg",popover:"popover___Qeg0P",dot:"dot___c9Vwj",moni:"moni___LBVeo",ErrorPushTag:"ErrorPushTag___F0OTF",authorized:"authorized___yQPQx",btn_warp:"btn_warp___u9pTu"},kt=Object.defineProperty,wt=Object.getOwnPropertySymbols,cn=Object.prototype.hasOwnProperty,An=Object.prototype.propertyIsEnumerable,Kn=(Je,hn,Mt)=>hn in Je?kt(Je,hn,{enumerable:!0,configurable:!0,writable:!0,value:Mt}):Je[hn]=Mt,rr=(Je,hn)=>{for(var Mt in hn||(hn={}))cn.call(hn,Mt)&&Kn(Je,Mt,hn[Mt]);if(wt)for(var Mt of wt(hn))An.call(hn,Mt)&&Kn(Je,Mt,hn[Mt]);return Je};const sr=Je=>React.createElement("svg",rr({width:22,height:22,xmlns:"http://www.w3.org/2000/svg"},Je),React.createElement("title",null,"\u7F16\u7EC4 5\u5907\u4EFD 2"),React.createElement("g",{fill:"none",fillRule:"evenodd"},React.createElement("path",{d:"M0 0h22v22H0z"}),React.createElement("g",{fill:"#979797",fillRule:"nonzero"},React.createElement("path",{d:"M10.422 5.818h.8v10.4h-.8z"}),React.createElement("path",{d:"M10.743 17.018a.49.49 0 0 1-.38-.197c-.38-.541-1.21-.91-1.993-.91H3.697a.485.485 0 0 1-.475-.493V4.883c0-.173.071-.32.166-.443.214-.222.522-.222.736-.222h4.104c1.139 0 2.301.64 2.823 1.576.143.221.071.541-.166.664a.438.438 0 0 1-.64-.172C9.889 5.67 9.01 5.178 8.228 5.178H4.171v9.723h4.2c1.067 0 2.182.517 2.751 1.28a.493.493 0 0 1-.095.69c-.094.098-.19.147-.284.147Z"}),React.createElement("path",{d:"M11.006 17.018a.469.469 0 0 1-.294-.098.483.483 0 0 1-.098-.69c.588-.763 1.714-1.28 2.84-1.28h3.99V5.203h-3.868c-.857 0-1.885.492-2.252 1.107-.147.222-.44.32-.66.173-.22-.148-.319-.443-.172-.665.612-1.034 2.056-1.6 3.084-1.6h4.234c.098 0 .294 0 .44.148.172.172.172.37.172.468v10.584c0 .271-.22.492-.49.492H13.43c-.808 0-1.64.37-2.056.911a.43.43 0 0 1-.367.197Z"}))));var kn="data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjIiIGhlaWdodD0iMjIiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGcgZmlsbD0ibm9uZSIgZmlsbC1ydWxlPSJldmVub2RkIj48cGF0aCBkPSJNMCAwaDIydjIySDB6Ii8+PGcgZmlsbD0iIzk3OTc5NyIgZmlsbC1ydWxlPSJub256ZXJvIj48cGF0aCBkPSJNMTAuNDIyIDUuODE4aC44djEwLjRoLS44eiIvPjxwYXRoIGQ9Ik0xMC43NDMgMTcuMDE4YS40OS40OSAwIDAgMS0uMzgtLjE5N2MtLjM4LS41NDEtMS4yMS0uOTEtMS45OTMtLjkxSDMuNjk3YS40ODUuNDg1IDAgMCAxLS40NzUtLjQ5M1Y0Ljg4M2MwLS4xNzMuMDcxLS4zMi4xNjYtLjQ0My4yMTQtLjIyMi41MjItLjIyMi43MzYtLjIyMmg0LjEwNGMxLjEzOSAwIDIuMzAxLjY0IDIuODIzIDEuNTc2LjE0My4yMjEuMDcxLjU0MS0uMTY2LjY2NGEuNDM4LjQzOCAwIDAgMS0uNjQtLjE3MkM5Ljg4OSA1LjY3IDkuMDEgNS4xNzggOC4yMjggNS4xNzhINC4xNzF2OS43MjNoNC4yYzEuMDY3IDAgMi4xODIuNTE3IDIuNzUxIDEuMjhhLjQ5My40OTMgMCAwIDEtLjA5NS42OWMtLjA5NC4wOTgtLjE5LjE0Ny0uMjg0LjE0N1oiLz48cGF0aCBkPSJNMTEuMDA2IDE3LjAxOGEuNDY5LjQ2OSAwIDAgMS0uMjk0LS4wOTguNDgzLjQ4MyAwIDAgMS0uMDk4LS42OWMuNTg4LS43NjMgMS43MTQtMS4yOCAyLjg0LTEuMjhoMy45OVY1LjIwM2gtMy44NjhjLS44NTcgMC0xLjg4NS40OTItMi4yNTIgMS4xMDctLjE0Ny4yMjItLjQ0LjMyLS42Ni4xNzMtLjIyLS4xNDgtLjMxOS0uNDQzLS4xNzItLjY2NS42MTItMS4wMzQgMi4wNTYtMS42IDMuMDg0LTEuNmg0LjIzNGMuMDk4IDAgLjI5NCAwIC40NC4xNDguMTcyLjE3Mi4xNzIuMzcuMTcyLjQ2OHYxMC41ODRjMCAuMjcxLS4yMi40OTItLjQ5LjQ5MkgxMy40M2MtLjgwOCAwLTEuNjQuMzctMi4wNTYuOTExYS40My40MyAwIDAgMS0uMzY3LjE5N1oiLz48L2c+PC9nPjwvc3ZnPg==",Jn=Object.defineProperty,zt=Object.getOwnPropertySymbols,mn=Object.prototype.hasOwnProperty,an=Object.prototype.propertyIsEnumerable,ln=(Je,hn,Mt)=>hn in Je?Jn(Je,hn,{enumerable:!0,configurable:!0,writable:!0,value:Mt}):Je[hn]=Mt,qt=(Je,hn)=>{for(var Mt in hn||(hn={}))mn.call(hn,Mt)&&ln(Je,Mt,hn[Mt]);if(zt)for(var Mt of zt(hn))an.call(hn,Mt)&&ln(Je,Mt,hn[Mt]);return Je};const xn=Je=>React.createElement("svg",qt({width:22,height:22,xmlns:"http://www.w3.org/2000/svg"},Je),React.createElement("title",null,"\u7F16\u7EC4 5\u5907\u4EFD"),React.createElement("g",{fill:"none",fillRule:"evenodd"},React.createElement("path",{d:"M0 0h22v22H0z"}),React.createElement("g",{fillRule:"nonzero"},React.createElement("path",{fill:"#229BFF",d:"M10.422 5.818h.8v10.4h-.8z"}),React.createElement("path",{d:"M10.743 17.018a.49.49 0 0 1-.38-.197c-.38-.541-1.21-.91-1.993-.91H3.697a.485.485 0 0 1-.475-.493V4.883c0-.173.071-.32.166-.443.214-.222.522-.222.736-.222h4.104c1.139 0 2.301.64 2.823 1.576.143.221.071.541-.166.664a.438.438 0 0 1-.64-.172C9.889 5.67 9.01 5.178 8.228 5.178H4.171v9.723h4.2c1.067 0 2.182.517 2.751 1.28a.493.493 0 0 1-.095.69c-.094.098-.19.147-.284.147Z",fill:"#0152d9"}),React.createElement("path",{d:"M11.006 17.018a.469.469 0 0 1-.294-.098.483.483 0 0 1-.098-.69c.588-.763 1.714-1.28 2.84-1.28h3.99V5.203h-3.868c-.857 0-1.885.492-2.252 1.107-.147.222-.44.32-.66.173-.22-.148-.319-.443-.172-.665.612-1.034 2.056-1.6 3.084-1.6h4.234c.098 0 .294 0 .44.148.172.172.172.37.172.468v10.584c0 .271-.22.492-.49.492H13.43c-.808 0-1.64.37-2.056.911a.43.43 0 0 1-.367.197Z",fill:"#0152d9"}))));var En="data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjIiIGhlaWdodD0iMjIiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGcgZmlsbD0ibm9uZSIgZmlsbC1ydWxlPSJldmVub2RkIj48cGF0aCBkPSJNMCAwaDIydjIySDB6Ii8+PGcgZmlsbC1ydWxlPSJub256ZXJvIj48cGF0aCBmaWxsPSIjMjI5QkZGIiBkPSJNMTAuNDIyIDUuODE4aC44djEwLjRoLS44eiIvPjxwYXRoIGQ9Ik0xMC43NDMgMTcuMDE4YS40OS40OSAwIDAgMS0uMzgtLjE5N2MtLjM4LS41NDEtMS4yMS0uOTEtMS45OTMtLjkxSDMuNjk3YS40ODUuNDg1IDAgMCAxLS40NzUtLjQ5M1Y0Ljg4M2MwLS4xNzMuMDcxLS4zMi4xNjYtLjQ0My4yMTQtLjIyMi41MjItLjIyMi43MzYtLjIyMmg0LjEwNGMxLjEzOSAwIDIuMzAxLjY0IDIuODIzIDEuNTc2LjE0My4yMjEuMDcxLjU0MS0uMTY2LjY2NGEuNDM4LjQzOCAwIDAgMS0uNjQtLjE3MkM5Ljg4OSA1LjY3IDkuMDEgNS4xNzggOC4yMjggNS4xNzhINC4xNzF2OS43MjNoNC4yYzEuMDY3IDAgMi4xODIuNTE3IDIuNzUxIDEuMjhhLjQ5My40OTMgMCAwIDEtLjA5NS42OWMtLjA5NC4wOTgtLjE5LjE0Ny0uMjg0LjE0N1oiIGZpbGw9IiMwMTUyZDkiLz48cGF0aCBkPSJNMTEuMDA2IDE3LjAxOGEuNDY5LjQ2OSAwIDAgMS0uMjk0LS4wOTguNDgzLjQ4MyAwIDAgMS0uMDk4LS42OWMuNTg4LS43NjMgMS43MTQtMS4yOCAyLjg0LTEuMjhoMy45OVY1LjIwM2gtMy44NjhjLS44NTcgMC0xLjg4NS40OTItMi4yNTIgMS4xMDctLjE0Ny4yMjItLjQ0LjMyLS42Ni4xNzMtLjIyLS4xNDgtLjMxOS0uNDQzLS4xNzItLjY2NS42MTItMS4wMzQgMi4wNTYtMS42IDMuMDg0LTEuNmg0LjIzNGMuMDk4IDAgLjI5NCAwIC40NC4xNDguMTcyLjE3Mi4xNzIuMzcuMTcyLjQ2OHYxMC41ODRjMCAuMjcxLS4yMi40OTItLjQ5LjQ5MkgxMy40M2MtLjgwOCAwLTEuNjQuMzctMi4wNTYuOTExYS40My40MyAwIDAgMS0uMzY3LjE5N1oiIGZpbGw9IiMwMTUyZDkiLz48L2c+PC9nPjwvc3ZnPg==",_n=E(41727),$n=E(12971),Yn=Object.defineProperty,Gn=Object.getOwnPropertySymbols,Qn=Object.prototype.hasOwnProperty,nr=Object.prototype.propertyIsEnumerable,Rr=(Je,hn,Mt)=>hn in Je?Yn(Je,hn,{enumerable:!0,configurable:!0,writable:!0,value:Mt}):Je[hn]=Mt,Ir=(Je,hn)=>{for(var Mt in hn||(hn={}))Qn.call(hn,Mt)&&Rr(Je,Mt,hn[Mt]);if(Gn)for(var Mt of Gn(hn))nr.call(hn,Mt)&&Rr(Je,Mt,hn[Mt]);return Je};const Bn=Je=>React.createElement("svg",Ir({width:24,height:24,xmlns:"http://www.w3.org/2000/svg",xmlnsXlink:"http://www.w3.org/1999/xlink"},Je),React.createElement("title",null,"3"),React.createElement("defs",null,React.createElement("path",{id:"ErrorPushIcon_svg__a",d:"M0 0h24v24H0z"})),React.createElement("g",{fill:"none",fillRule:"evenodd"},React.createElement("mask",{id:"ErrorPushIcon_svg__b",fill:"#fff"},React.createElement("use",{xlinkHref:"#ErrorPushIcon_svg__a"})),React.createElement("use",{fill:"#F4F8FF",opacity:.01,xlinkHref:"#ErrorPushIcon_svg__a"}),React.createElement("g",{mask:"url(#ErrorPushIcon_svg__b)",fillRule:"nonzero"},React.createElement("path",{d:"M7.598 2.582 2.8 3.428A1.701 1.701 0 0 0 1.42 5.396l2.92 16.562a1.695 1.695 0 0 0 1.969 1.38l1.564-.277a1.152 1.152 0 0 1-.276-.749V2.582Z",fill:"#AEF0FF"}),React.createElement("path",{d:"M21.863 1.403H8.755c-.639 0-1.156.518-1.157 1.156v19.752a1.159 1.159 0 0 0 1.157 1.157h13.108a.14.14 0 0 0 .14-.14V1.542a.14.14 0 0 0-.14-.14Zm-3.575 6.67h-6.493V4.928h6.493v3.145Z",fill:"#EF6A6A"}),React.createElement("path",{fill:"#F9DB91",d:"M11.795 4.928h6.493v3.146h-6.493z"}),React.createElement("path",{d:"M21.863 1.073H8.755c-.721 0-1.339.517-1.464 1.228l-4.548.8a2.029 2.029 0 0 0-1.645 2.353l2.92 16.56a2.027 2.027 0 0 0 2.35 1.647l1.392-.246c.273.247.627.383.995.382h13.108c.26 0 .47-.21.47-.47V1.543a.47.47 0 0 0-.47-.47ZM6.253 23.01a1.366 1.366 0 0 1-1.587-1.112L1.746 5.34a1.37 1.37 0 0 1 1.11-1.587l4.412-.777v1.534c-.85.061-1.522.726-1.522 1.535 0 .809.672 1.474 1.522 1.534v1.193c-.85.06-1.522.725-1.522 1.534 0 .81.672 1.475 1.522 1.535v1.192c-.85.06-1.522.726-1.522 1.535 0 .809.672 1.474 1.522 1.535v1.192c-.85.06-1.522.725-1.522 1.534 0 .81.672 1.474 1.522 1.535v1.95c0 .171.03.342.089.505l-1.105.193Zm1.014-17.84v1.746c-.486-.055-.862-.425-.862-.872 0-.448.377-.818.863-.874Zm0 4.261v1.747c-.486-.056-.862-.426-.862-.874 0-.447.377-.818.863-.873Zm0 4.261v1.746c-.486-.056-.862-.426-.862-.873s.377-.818.863-.873Zm0 4.26V19.7c-.486-.056-.862-.426-.862-.873 0-.448.377-.818.863-.874Zm14.406 5.185H8.755a.828.828 0 0 1-.827-.827v-4.226c.274.157.456.431.456.742a.79.79 0 0 1-.121.422.33.33 0 1 0 .56.347c.144-.231.22-.498.22-.77 0-.675-.467-1.25-1.115-1.456v-3.545c.273.156.456.43.456.74 0 .15-.042.297-.121.423a.33.33 0 1 0 .56.347c.144-.231.22-.498.22-.77 0-.675-.467-1.249-1.115-1.456V9.564c.273.156.456.43.456.74 0 .15-.042.296-.121.423a.33.33 0 1 0 .56.347c.144-.231.22-.497.22-.77 0-.674-.467-1.249-1.115-1.456V5.303c.273.156.456.431.456.74 0 .15-.042.297-.121.423a.33.33 0 1 0 .56.347c.144-.23.22-.497.22-.769 0-.675-.467-1.25-1.115-1.457V2.56c0-.456.37-.826.827-.827h12.918v21.406Z",fill:"#512C56"}),React.createElement("path",{d:"M11.565 8.402h6.953a.101.101 0 0 0 .1-.101V4.699a.101.101 0 0 0-.1-.101h-6.953a.101.101 0 0 0-.101.101v3.605a.1.1 0 0 0 .101.098Zm.558-3.144h5.833v2.485h-5.833V5.258Zm5.163 11.89h-4.489a.33.33 0 1 0 0 .659h4.489a.33.33 0 1 0 0-.66Zm0 2.334h-4.489a.33.33 0 0 0 0 .66h4.489a.33.33 0 1 0 0-.66Z",fill:"#512C56"}))));var Mn="data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjQiIGhlaWdodD0iMjQiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly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gzM1Y1LjI1OFptNS4xNjMgMTEuODloLTQuNDg5YS4zMy4zMyAwIDEgMCAwIC42NTloNC40ODlhLjMzLjMzIDAgMSAwIDAtLjY2Wm0wIDIuMzM0aC00LjQ4OWEuMzMuMzMgMCAwIDAgMCAuNjZoNC40ODlhLjMzLjMzIDAgMSAwIDAtLjY2WiIgZmlsbD0iIzUxMkM1NiIvPjwvZz48L2c+PC9zdmc+",ur=E(36254),dr=E(82896),Ot=E(21390),Jt=E(69429),vt=Object.defineProperty,Tt=Object.getOwnPropertySymbols,Et=Object.prototype.hasOwnProperty,Ht=Object.prototype.propertyIsEnumerable,ot=(Je,hn,Mt)=>hn in Je?vt(Je,hn,{enumerable:!0,configurable:!0,writable:!0,value:Mt}):Je[hn]=Mt,Xt=(Je,hn)=>{for(var Mt in hn||(hn={}))Et.call(hn,Mt)&&ot(Je,Mt,hn[Mt]);if(Tt)for(var Mt of Tt(hn))Ht.call(hn,Mt)&&ot(Je,Mt,hn[Mt]);return Je};const nn=Je=>React.createElement("svg",Xt({width:18,height:13,xmlns:"http://www.w3.org/2000/svg"},Je),React.createElement("title",null,"\u7F16\u7EC4 3"),React.createElement("g",{fill:"none",fillRule:"evenodd"},React.createElement("path",{d:"m2.288 4.95 5.456 1.725 3.085-1.016c.176-.058.176.039.013.167-.686.544-1.286 1.24-1.613 2.076a4.679 4.679 0 0 0 2.414 2.542l-1.313 1.311-2.748.863-5.294-1.763V4.95ZM7.661 0l7.502 2.936-7.502 2.692L.73 3.192V8.14h-.7V2.946L0 2.936 7.661 0Z",fill:"#739EFF"}),React.createElement("g",{fill:"#FF9D18",fillRule:"nonzero"},React.createElement("path",{d:"m11.381 9.3.949-.948a1.305 1.305 0 0 1-.097-.498c0-.762.623-1.385 1.384-1.385.18 0 .346.035.499.097l.713-.713a3.6 3.6 0 0 0-1.212-.215c-1.453 0-2.852.921-3.323 2.216A3.281 3.281 0 0 0 11.381 9.3Z"}),React.createElement("path",{d:"M12.787 7.854v.041l.872-.872h-.042a.833.833 0 0 0-.83.83Zm3.066-1.447.674-.674.738-.738-.394-.395-.795.795-4.629 4.629-1.097 1.097.394.395.664-.665.567-.566.438-.438c.384.147.793.222 1.204.222 1.447 0 2.86-.92 3.33-2.215-.208-.568-.602-1.067-1.094-1.447Zm-2.236 2.831c-.173 0-.346-.035-.498-.097l.464-.464h.041c.457 0 .83-.373.83-.83v-.042l.465-.464c.048.166.083.34.083.513 0 .761-.623 1.384-1.385 1.384Z"}))));var Kt="data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTgiIGhlaWdodD0iMTMiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGcgZmlsbD0ibm9uZSIgZmlsbC1ydWxlPSJldmVub2RkIj48cGF0aCBkPSJtMi4yODggNC45NSA1LjQ1NiAxLjcyNSAzLjA4NS0xLjAxNmMuMTc2LS4wNTguMTc2LjAzOS4wMTMuMTY3LS42ODYuNTQ0LTEuMjg2IDEuMjQtMS42MTMgMi4wNzZhNC42NzkgNC42NzkgMCAwIDAgMi40MTQgMi41NDJsLTEuMzEzIDEuMzExLTIuNzQ4Ljg2My01LjI5NC0xLjc2M1Y0Ljk1Wk03LjY2MSAwbDcuNTAyIDIuOTM2LTcuNTAyIDIuNjkyTC43MyAzLjE5MlY4LjE0aC0uN1YyLjk0NkwwIDIuOTM2IDcuNjYxIDBaIiBmaWxsPSIjNzM5RUZGIi8+PGcgZmlsbD0iI0ZGOUQxOCIgZmlsbC1ydWxlPSJub256ZXJvIj48cGF0aCBkPSJtMTEuMzgxIDkuMy45NDktLjk0OGExLjMwNSAxLjMwNSAwIDAgMS0uMDk3LS40OThjMC0uNzYyLjYyMy0xLjM4NSAxLjM4NC0xLjM4NS4xOCAwIC4zNDYuMDM1LjQ5OS4wOTdsLjcxMy0uNzEzYTMuNiAzLjYgMCAwIDAtMS4yMTItLjIxNWMtMS40NTMgMC0yLjg1Mi45MjEtMy4zMjMgMi4yMTZBMy4yODEgMy4yODEgMCAwIDAgMTEuMzgxIDkuM1oiLz48cGF0aCBkPSJNMTIuNzg3IDcuODU0di4wNDFsLjg3Mi0uODcyaC0uMDQyYS44MzMuODMzIDAgMCAwLS44My44M1ptMy4wNjYtMS40NDcuNjc0LS42NzQuNzM4LS43MzgtLjM5NC0uMzk1LS43OTUuNzk1LTQuNjI5IDQuNjI5LTEuMDk3IDEuMDk3LjM5NC4zOTUuNjY0LS42NjUuNTY3LS41NjYuNDM4LS40MzhjLjM4NC4xNDcuNzkzLjIyMiAxLjIwNC4yMjIgMS40NDcgMCAyLjg2LS45MiAzLjMzLTIuMjE1LS4yMDgtLjU2OC0uNjAyLTEuMDY3LTEuMDk0LTEuNDQ3Wm0tMi4yMzYgMi44MzFjLS4xNzMgMC0uMzQ2LS4wMzUtLjQ5OC0uMDk3bC40NjQtLjQ2NGguMDQxYy40NTcgMCAuODMtLjM3My44My0uODN2LS4wNDJsLjQ2NS0uNDY0Yy4wNDguMTY2LjA4My4zNC4wODMuNTEzIDAgLjc2MS0uNjIzIDEuMzg0LTEuMzg1IDEuMzg0WiIvPjwvZz48L2c+PC9zdmc+",nt=E(59301),Bt=Object.defineProperty,It=Object.defineProperties,_t=Object.getOwnPropertyDescriptors,Ln=Object.getOwnPropertySymbols,zn=Object.prototype.hasOwnProperty,Vn=Object.prototype.propertyIsEnumerable,Or=(Je,hn,Mt)=>hn in Je?Bt(Je,hn,{enumerable:!0,configurable:!0,writable:!0,value:Mt}):Je[hn]=Mt,Hr=(Je,hn)=>{for(var Mt in hn||(hn={}))zn.call(hn,Mt)&&Or(Je,Mt,hn[Mt]);if(Ln)for(var Mt of Ln(hn))Vn.call(hn,Mt)&&Or(Je,Mt,hn[Mt]);return Je},to=(Je,hn)=>It(Je,_t(hn)),mr=(Je,hn,Mt)=>new Promise((bn,er)=>{var Rn=Zn=>{try{yr(Mt.next(Zn))}catch(Hn){er(Hn)}},Nn=Zn=>{try{yr(Mt.throw(Zn))}catch(Hn){er(Hn)}},yr=Zn=>Zn.done?bn(Zn.value):Promise.resolve(Zn.value).then(Rn,Nn);yr((Mt=Mt.apply(Je,hn)).next())});const Er=({v:Je,k:hn,match:Mt,selectArrs:bn,setSelectArrs:er,dispatch:Rn,params:Nn,classroomList:yr,batchStatus:Zn,manageAllGroup:Hn,user:or})=>{var kr,wo,ci,ii,oi,vi,mi,Li,Bi,Ti,Ki,sa,fa,wa,ha,Ao,Do,Co,Ji;const[Uo,Ho]=(0,y.useState)([]),[Mi,bi]=(0,y.useState)(!1),hi=(0,y.useRef)(),_o=(0,y.useRef)(),[Ma,Ha]=(0,y.useState)(!1);var Aa=!1;const ra="YYYY-MM-DD",El=fe()("2020-11-15",ra);function qa(){return mr(this,null,function*(){console.log(Nn,222);let gr=yield(0,me.ZP)(`/api/courses/${Nn==null?void 0:Nn.coursesId}/exercises/group_use_list.json`,{method:"get",params:to(Hr({},Nn),{id:Je.id})});Ho((gr==null?void 0:gr.groups)||[])})}const qo=()=>he.default.info({title:"\u9898\u5E93\u6539\u7248\u544A\u77E5",content:nt.createElement(nt.Fragment,null,"EduCoder\u5DF2\u5347\u7EA7\u9898\u5E93\u529F\u80FD\uFF0C\u6240\u6709\u8BD5\u9898\u5747\u9700\u5339\u914D\u77E5\u8BC6\u70B9\u3002 \u5F53\u524D\u8BD5\u5377\u6240\u6D89\u53CA\u8BD5\u9898\u5747\u672A\u5339\u914D\u77E5\u8BC6\u70B9\uFF0C\u65E0\u6CD5\u968F\u673A\u62BD\u53D6\uFF0C\u5DF2\u4E0D\u80FD\u6709\u6548\u4F7F\u7528\u3002\u8BF7\u5728\u8BD5\u5377\u5E93\u91CD\u65B0\u7EC4\u5377\u540E\u4F7F\u7528\u3002 \u7531\u6B64\u5E26\u6765\u7684\u4E0D\u4FBF\uFF0C\u656C\u8BF7\u8C05\u89E3\uFF01")});Je!=null&&Je.appraise_label&&(Aa=!0);const Ei=(gr,Qr=!1)=>{var Yo;xe.history.push(`/classrooms/${Nn.coursesId}/exercisenotice/${gr.id}/users/${(Yo=(0,ke.eY)())==null?void 0:Yo.login}`)},Qo=[{title:"\u73ED\u7EA7",dataIndex:"name",key:"name"},{title:"\u8003\u8BD5\u72B6\u6001",dataIndex:"exercise_status",key:"exercise_status",width:100,filters:[{text:"\u672A\u5F00\u59CB",value:1},{text:"\u8003\u8BD5\u4E2D",value:2},{text:"\u5DF2\u622A\u6B62",value:3}],onFilter:(gr,Qr)=>Qr.exercise_status===gr,render:(gr,Qr)=>nt.createElement("div",null,gr===1&&nt.createElement("span",null,nt.createElement("i",{className:ut.dot,style:{background:"#C3C3C3"}}),"\u672A\u5F00\u59CB"),gr===2&&nt.createElement("span",null,nt.createElement("i",{className:ut.dot,style:{background:"#4EACFF"}}),"\u8003\u8BD5\u4E2D"),gr===3&&nt.createElement("span",null,nt.createElement("i",{className:ut.dot,style:{background:"#FC2D6B"}}),"\u5DF2\u622A\u6B62"))},{title:"\u5F00\u59CB\u65F6\u95F4",dataIndex:"publish_time",key:"publish_time",sorter:!0,width:170,showSorterTooltip:!1,sortOrder:Nn.order_by==="publish_time"?Nn.sort_direction==="desc"?"descend":"ascend":null},{title:"\u622A\u6B62\u65F6\u95F4",dataIndex:"end_time",key:"end_time",sorter:!0,width:170,showSorterTooltip:!1,sortOrder:Nn.order_by==="end_time"?Nn.sort_direction==="desc"?"descend":"ascend":null},{title:"\u63D0\u4EA4\u4EBA\u6570",dataIndex:"exercise_answer",key:"exercise_answer",align:"center",width:80,render:(gr,Qr)=>Qr.exercise_status===1?"-":nt.createElement("span",null,gr,"/",Qr.exercise_users)},{title:"\u5F85\u8BC4\u9605\u8BD5\u5377",dataIndex:"unreview_count",key:"unreview_count",align:"center",width:90,render:(gr,Qr)=>Qr.exercise_status===1?"-":gr===0?nt.createElement("span",{style:{cursor:"no-drop",color:"#999999"}},gr):nt.createElement("a",{onClick:()=>(0,Ae.xg)(`/classrooms/${Nn==null?void 0:Nn.coursesId}/exercise/${Je==null?void 0:Je.id}/detail?random=false&exercise_group_id=${Qr.course_group_id}`)},gr)},{title:"\u64CD\u4F5C",dataIndex:"action",align:"center",key:"action",width:60,render:(gr,Qr)=>Qr.exercise_status===1?nt.createElement("img",{style:{cursor:"not-allowed"},src:kn}):nt.createElement(Ze.Z,{title:"\u8BC4\u9605"},nt.createElement("a",{onClick:()=>(0,Ae.xg)(`/classrooms/${Nn==null?void 0:Nn.coursesId}/exercise/${Je==null?void 0:Je.id}/detail?random=false&exercise_group_id=${Qr.course_group_id}`)},nt.createElement("img",{src:En})))}],di=gr=>{if(Aa)return nt.createElement("span",{style:{backgroundColor:"#f59a23"},className:"tag-style mr10"},"\u96C6\u4E2D\u9605\u5377");if(gr!=null&&gr.includes("\u672A\u5F00\u59CB"))return nt.createElement("span",{style:{backgroundColor:"#B8B8B8"},className:"tag-style mr10"},"\u672A\u5F00\u59CB");if(gr!=null&&gr.includes("\u8003\u8BD5\u4E2D"))return nt.createElement("span",{style:{backgroundColor:"#007AFF"},className:"tag-style mr10"},"\u8003\u8BD5\u4E2D");if(gr!=null&&gr.includes("\u5DF2\u622A\u6B62"))return nt.createElement("span",{style:{backgroundColor:"#FC2D6B"},className:"tag-style mr10"},"\u5DF2\u622A\u6B62");if(gr!=null&&gr.includes("\u5BFC\u5165"))return nt.createElement("span",{className:"export mr10"},"\u5BFC\u5165")},zi=()=>{const gr=(Je==null?void 0:Je.simulate_exercise_num)-(Je==null?void 0:Je.user_simulate_num);return gr>=0?gr:0},$i=(gr=Je)=>{var Qr,Yo,Zi;if(gr!=null&&gr.is_encrypt){Rn({type:"classroomList/setActionTabs",payload:{open:"\u89E3\u5C01",id:gr==null?void 0:gr.id,phone:(Qr=or==null?void 0:or.userInfo)==null?void 0:Qr.phone,login:(Yo=or==null?void 0:or.userInfo)==null?void 0:Yo.login}});return}(Zi=or==null?void 0:or.userInfo)!=null&&Zi.phone?Rn({type:"classroomList/setActionTabs",payload:{open:"\u8BD5\u5377\u5C01\u5B58",id:gr==null?void 0:gr.id}}):Rn({type:"classroomList/setActionTabs",payload:{open:"\u624B\u673A\u53F7\u7ED1\u5B9A"}})},ko=gr=>{var Qr,Yo,Zi;if(((Qr=or==null?void 0:or.userInfo)==null?void 0:Qr.login)!==(Je==null?void 0:Je.author_login)){be.ZP.warning("\u8BD5\u5377\u5DF2\u5C01\u5B58\uFF0C\u8BF7\u8054\u7CFB\u8BD5\u5377\u6240\u6709\u8005\u8FDB\u884C\u89E3\u5C01~");return}Rn({type:"classroomList/setActionTabs",payload:{open:"\u63D0\u793A",id:Je==null?void 0:Je.id,phone:(Yo=or==null?void 0:or.userInfo)==null?void 0:Yo.phone,login:(Zi=or==null?void 0:or.userInfo)==null?void 0:Zi.login,onFinish:gr}})},Gi=gr=>mr(void 0,null,function*(){const Qr=yield(0,me.ZP)(`/api/courses/${Nn==null?void 0:Nn.coursesId}/sync_shixuns.json`,{method:"post",body:{exercise_ids:[gr]}});(Qr==null?void 0:Qr.status)===0&&(Rn({type:"classroomList/setActionTabs",payload:{}}),be.ZP.info("\u5B9E\u8BAD\u540C\u6B65\u4E2D\uFF0C\u8BF7\u7A0D\u540E"),Rn({type:"classroomList/getClassroomExercisesList",payload:Hr({},Nn)}))});return nt.createElement("div",{className:ut.listItem,onClick:gr=>{const Qr=()=>{(!(0,ke.GJ)()||(0,ke.GJ)()&&_o.current&&!_o.current.contains(gr.target))&&(0,Ae.xg)(`/classrooms/${Nn.coursesId}/exercise/${Je.id}/detail?random=${Je.is_random}`)};if(Je!=null&&Je.is_encrypt){ko(Qr);return}Qr()}},(0,ke.GJ)()&&nt.createElement("span",{ref:_o},nt.createElement(se.default,{checked:bn.includes(Je.id),value:Je.id,style:{padding:"10px"},onClick:gr=>{gr.stopPropagation()},disabled:(Je==null?void 0:Je.is_encrypt)||(Je==null?void 0:Je.is_make_up_exercise),onChange:gr=>{let Qr=bn.indexOf(Je.id);bn.indexOf(Je.id)>-1?er(bn.filter(Yo=>Yo!==Je.id)):er(bn.concat(Je.id))}})),nt.createElement("div",{className:ut.info},nt.createElement("div",{className:ut.title},nt.createElement("div",{className:ut.titleLeft,style:{marginRight:15}},di(Je==null?void 0:Je.exercise_tips),(Je==null?void 0:Je.is_make_up_exercise)&&nt.createElement("img",{src:_n,width:44,height:24,style:{marginRight:10}}),nt.createElement(Ze.Z,{title:Je.exercise_name},nt.createElement("span",{className:ut.name},Je.exercise_name)),(0,ke.G5)()&&(Je==null?void 0:Je.shixun_change)&&nt.createElement(un.Z,{open:Ma,onOpenChange:gr=>{Ha(gr)},placement:"bottomLeft",title:null,content:nt.createElement("div",{style:{width:"310px",color:"#000"},onClick:gr=>gr.stopPropagation()},nt.createElement("div",null,"\u5B9E\u8BAD\u7BA1\u7406\u5458\u5BF9\u8BD5\u5377\u4E2D\u4F7F\u7528\u7684\u5B9E\u8DF5\u9879\u76EE\u8FDB\u884C\u4E86\u4FEE\u6539\uFF0C\u8BF7\u68C0\u67E5\u540E\uFF0C\u786E\u8BA4\u662F\u5426\u9700\u8981\u540C\u6B65\u5230\u8BD5\u5377\u4E2D"),nt.createElement("div",{className:ut.btn_warp},nt.createElement(we.ZP,{size:"small",onClick:()=>Ha(!1)},"\u5FFD\u7565"),nt.createElement(we.ZP,{className:"ml20",size:"small",type:"primary",onClick:()=>{Ha(!1),Rn({type:"classroomList/setActionTabs",payload:{key:"\u5B9E\u8BAD\u540C\u6B65\u786E\u8BA4",onOK:()=>Gi(Je==null?void 0:Je.id)}})}},"\u786E\u8BA4\u540C\u6B65"),nt.createElement(we.ZP,{className:"ml20",size:"small",type:"primary",onClick:()=>(0,Ae.xg)(`/classrooms/${Nn.coursesId}/exercise/${Je.id}/detail?random=${Je.is_random}&tabs=2`)},"\u524D\u5F80\u67E5\u770B")))},nt.createElement("i",{className:"iconfont icon-tongzhi1 pl10 current",style:{fontSize:"16px",color:"#F7B500"},onClick:gr=>gr.stopPropagation()})),(Je==null?void 0:Je.high_resources_consume)&&!(Je!=null&&Je.high_resources_consume_permission)&&nt.createElement(it.Z,{type:"exercise",style:{marginLeft:10}}),(Je==null?void 0:Je.high_resources_consume)&&(Je==null?void 0:Je.high_resources_consume_permission)&&nt.createElement("span",{className:ut.authorized},"\u5DF2\u6388\u6743"),((kr=Je==null?void 0:Je.exercise_tips)==null?void 0:kr.includes("\u5DF2\u622A\u6B62"))&&((wo=yr==null?void 0:yr.detailTopBanner)==null?void 0:wo.forbid_end_exercise)&&nt.createElement(Ze.Z,{title:"\u5DF2\u5BF9\u5B66\u751F\u9690\u85CF"},nt.createElement("img",{src:Kt,width:20,className:"ml10"})),!Je.is_public&&(0,ke.GJ)()&&nt.createElement(Ze.Z,{title:"\u79C1\u6709\u5C5E\u6027\uFF0C\u975E\u8BFE\u5802\u6210\u5458\u4E0D\u80FD\u8BBF\u95EE"},nt.createElement("span",{className:"iconfont icon-suo1 ml10 mr10 c-light-black font12"})),(Je==null?void 0:Je.exercise_type)==2&&nt.createElement("span",{style:{flexShrink:0,marginLeft:10,display:"flex",alignItems:"center"},className:ut.moni},nt.createElement("img",{src:$n,width:18,height:14}),"\u6A21\u62DF\u8003\u8BD5"),((ci=Je==null?void 0:Je.exercise_tips)==null?void 0:ci.includes("\u5DF2\u5F00\u542F\u9632\u4F5C\u5F0A"))&&nt.createElement("span",{style:{flexShrink:0,marginLeft:10,display:"flex"},className:"tag-style-fzb iconfont icon-fangzuobi"},"\u5DF2\u5F00\u542F\u9632\u4F5C\u5F0A"),(Je==null?void 0:Je.ai_push_wrong_question)&&nt.createElement("span",{className:ut.ErrorPushTag},nt.createElement("img",{src:Mn,width:12,className:"mr5"}),"AI\u9519\u9898\u63A8\u9001"),((ii=Je==null?void 0:Je.exercise_tips)==null?void 0:ii.includes("\u5DF2\u622A\u6B62"))&&((oi=Je==null?void 0:Je.exercise_tips)==null?void 0:oi.includes("\u672A\u63D0\u4EA4"))&&nt.createElement("span",{style:{flexShrink:0,backgroundColor:"#B8B8B8"},className:"tag-style ml10"},"\u672A\u63D0\u4EA4"),(Je==null?void 0:Je.is_encrypt)&&nt.createElement(Ze.Z,{title:"\u8BD5\u5377\u5DF2\u52A0\u5BC6"}," ",nt.createElement("img",{src:Jt,width:21,className:"ml10",style:{marginTop:"-8px"}})," ")),nt.createElement("div",{className:ut.titleRight,onClick:gr=>{gr.stopPropagation(),gr.preventDefault()}},(Je==null?void 0:Je.appraise_setting)&&nt.createElement("span",{className:ut.flexBox,style:{marginRight:"16px"},onClick:()=>mr(void 0,null,function*(){const gr=()=>mr(void 0,null,function*(){Rn({type:"globalSetting/setGlobalLoading",payload:{show:!0,text:"\u6B63\u5728\u8FDB\u5165\u8BC4\u9605\uFF0C\u8BF7\u7A0D\u540E..."}});const Qr=yield(0,me.ZP)(`/api/exercises/${Je.id}/create_appraise_students.json`,{method:"get"});Rn({type:"globalSetting/setGlobalLoading",payload:{show:!1,text:""}}),(0,Ae.xg)(`/classrooms/${Nn==null?void 0:Nn.coursesId}/exercise/${Je.id}/centralizeReview/${Qr==null?void 0:Qr.login}`)});if(Je!=null&&Je.is_encrypt){ko(gr);return}gr()})},nt.createElement("i",{className:"iconfont icon-jizhongyuejuan"}),nt.createElement("div",null,"\u96C6\u4E2D\u9605\u5377")),!(Je!=null&&Je.exercise_tips.includes("\u5BFC\u5165"))&&(0,ke.GJ)()&&(!(Je!=null&&Je.is_make_up_exercise)||(Je==null?void 0:Je.is_make_up_exercise)&&(Je==null?void 0:Je.exercise_status)===1&&(Je==null?void 0:Je.allow_create_make_up))&&nt.createElement(ur.Z,{tips:Je==null?void 0:Je.open_appraise},nt.createElement("span",{className:ut.flexBox,style:{marginRight:"16px"},onClick:()=>{const gr=()=>{var Qr,Yo,Zi;if(((Qr=or==null?void 0:or.userInfo)==null?void 0:Qr.user_status)===2){(0,Oe.Rd)();return}if((0,ke.Rm)()&&!((Zi=(Yo=yr==null?void 0:yr.AssistantObject)==null?void 0:Yo.exercise)!=null&&Zi.can_publish)){be.ZP.warning("\u60A8\u672A\u83B7\u53D6\u6B64\u6743\u9650\uFF0C\u9700\u5411\u8BFE\u5802\u7BA1\u7406\u5458\u7533\u8BF7\u6743\u9650\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD");return}if((Je==null?void 0:Je.exercise_question_count)===0){be.ZP.warning("\u8BD5\u5377\u5185\u6CA1\u6709\u8BD5\u9898\u4E0D\u5141\u8BB8\u53D1\u5E03\u8003\u8BD5");return}let Ba=()=>{Rn({type:"exercise/setActionTabs",payload:{key:"\u6279\u91CF\u53D1\u5E03",selectArrs:[Je.id],selectArrsAll:[Je],unified_setting:Je.unified_setting,params:Nn,disabled:Je.exercise_status!==1,type:2,manage_all_group:Hn,isRouter:!0}})};Je!=null&&Je.high_resources_consume&&!(Je!=null&&Je.high_resources_consume_permission)?Rn({type:"classroomList/setActionTabs",payload:{key:"\u6388\u6743\u4F7F\u7528",id:Nn.coursesId,type:"exercise",type_id:Je.id,name:Je.exercise_name,fn:()=>{Rn({type:"classroomList/getClassroomExercisesList",payload:Hr({},Nn)}),Ba()}}}):Ba()};if(Je!=null&&Je.is_encrypt){ko(gr);return}gr()}},nt.createElement("i",{className:"iconfont icon-yishezhifabushijian1"}),nt.createElement("div",null,"\u53D1\u5E03"))),!(Je!=null&&Je.exercise_tips.includes("\u5BFC\u5165"))&&(0,ke.GJ)()&&!(0,Ae._m)()&&Je.assistant_auth&&nt.createElement("span",{className:ut.flexBox,style:{marginRight:"16px"},onClick:gr=>{gr.stopPropagation();const Qr=()=>{var Yo,Zi;if((0,ke.Rm)()&&!((Zi=(Yo=yr==null?void 0:yr.AssistantObject)==null?void 0:Yo.exercise)!=null&&Zi.can_preview)){be.ZP.warning("\u60A8\u672A\u83B7\u53D6\u6B64\u6743\u9650\uFF0C\u9700\u5411\u8BFE\u5802\u7BA1\u7406\u5458\u7533\u8BF7\u6743\u9650\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD");return}const Ba=fe()(Je.created_at,ra);fe()(El).diff(fe()(Ba),"days")>0&&(Je!=null&&Je.is_random)?qo():Je!=null&&Je.is_random?(0,Ae.xg)(`/classrooms/${Nn.coursesId}/exercise/${Je.id}/random/preview?random=${Je.is_random}`):(0,Ae.xg)(`/classrooms/${Nn.coursesId}/exercise/${Je.id}/detail?random=${Je.is_random}&tabs=2`)};if(Je!=null&&Je.is_encrypt){ko(Qr);return}Qr()}},nt.createElement("i",{className:"iconfont icon-yulan3"}),nt.createElement("div",null,"\u9884\u89C8")),(0,ke.RV)()&&nt.createElement("span",{className:ut.flexBox,style:{marginRight:"16px"},onClick:()=>{const gr=()=>{(0,Ae.xg)(`/classrooms/${Nn.coursesId}/exercise/${Je.id}/detail?random=${Je.is_random}`)};if(Je!=null&&Je.is_encrypt){ko(gr);return}gr()}},nt.createElement("i",{className:"iconfont icon-yuyuexiangqing1"}),nt.createElement("div",null,"\u8BE6\u60C5")),(0,ke.GJ)()&&!(0,Ae._m)()&&nt.createElement(un.Z,{placement:"bottom",content:nt.createElement("div",{className:ut.popover},!(Je!=null&&Je.exercise_tips.includes("\u5BFC\u5165"))&&nt.createElement("p",{onClick:gr=>mr(void 0,null,function*(){const Qr=()=>{(0,Ae.xg)(`/classrooms/${Nn.coursesId}/exercise/${Je.id}/detail?random=${Je.is_random}&tabs=3`)};if(Je!=null&&Je.is_encrypt){ko(Qr);return}Qr()})},"\u89C4\u5219\u8BBE\u7F6E"),(Je==null?void 0:Je.exercise_tips.includes("\u5BFC\u5165"))&&nt.createElement("p",{onClick:gr=>mr(void 0,null,function*(){const Qr=()=>{Rn({type:"classroomList/setActionTabs",payload:{key:"\u8865\u5145\u6210\u7EE9",name:Je==null?void 0:Je.exercise_name,id:Je==null?void 0:Je.id,type:"hack"}})};if(Je!=null&&Je.is_encrypt){ko(Qr);return}Qr()})},"\u8865\u5145\u6210\u7EE9"),!(Je!=null&&Je.exercise_tips.includes("\u5BFC\u5165"))&&(0,ke.GJ)()&&Je.is_random&&Je.assistant_auth&&nt.createElement("p",{onClick:gr=>{gr.stopPropagation();const Qr=()=>{const Yo=fe()(Je.created_at,ra);fe()(El).diff(fe()(Yo),"days")>0&&(Je!=null&&Je.is_random)?qo():(0,Ae.xg)(`/classrooms/${Nn.coursesId}/exercise/${Je.id}/random/edit?type=settings`)};if(Je!=null&&Je.is_encrypt){ko(Qr);return}Qr()}},"\u7F16\u8F91\u8003\u8BD5"),nt.createElement("p",{onClick:gr=>mr(void 0,null,function*(){const Qr=()=>{var Yo;Rn({type:"exercise/setActionTabs",payload:{key:"\u6279\u91CF\u5220\u9664",selectArrs:[Je.id],selectArrsAll:[Je],params:Nn,status:(Yo=Je==null?void 0:Je.exercise_tips)==null?void 0:Yo[0]}})};if(Je!=null&&Je.is_encrypt){ko(Qr);return}Qr()})},"\u5220\u9664\u8BD5\u5377"),!(Je!=null&&Je.exercise_tips.includes("\u5BFC\u5165"))&&nt.createElement("p",{onClick:()=>{const gr=()=>{Rn({type:"exercise/setActionTabs",payload:{key:"\u5355\u4E2A\u52A0\u5165\u8BD5\u5377\u5E93",selectArrs:[Je.id],params:Nn}})};if(Je!=null&&Je.is_encrypt){ko(gr);return}gr()}},"\u52A0\u5165\u8BD5\u5377\u5E93"),((vi=Je==null?void 0:Je.exercise_tips)==null?void 0:vi.includes("\u672A\u5F00\u59CB"))&&(Je==null?void 0:Je.author_login)===((mi=or==null?void 0:or.userInfo)==null?void 0:mi.login)&&nt.createElement("p",{onClick:gr=>mr(void 0,null,function*(){$i(Je)})}," ",Je!=null&&Je.is_encrypt?"\u89E3\u5C01":"\u52A0\u5BC6\u5C01\u5B58"),!(Je!=null&&Je.exercise_tips.includes("\u5BFC\u5165"))&&((0,ke.GJ)()||((Bi=(Li=yr==null?void 0:yr.AssistantObject)==null?void 0:Li.exercise)==null?void 0:Bi.can_stop))&&![1,3].includes(Je==null?void 0:Je.exercise_status)&&nt.createElement("p",{onClick:gr=>mr(void 0,null,function*(){const Qr=()=>{var Yo,Zi;if((0,ke.Rm)()&&!((Zi=(Yo=yr==null?void 0:yr.AssistantObject)==null?void 0:Yo.exercise)!=null&&Zi.can_stop)){be.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}Rn({type:"exercise/setActionTabs",payload:{key:"\u6279\u91CF\u7ED3\u675F",selectArrs:[Je.id],params:Nn,unified_setting:Je.unified_setting}})};if(Je!=null&&Je.is_encrypt){ko(Qr);return}Qr()})},"\u7ED3\u675F\u8003\u8BD5"))},nt.createElement("span",{onClick:gr=>gr.stopPropagation(),className:ut.flexBox,style:{cursor:"default"}},nt.createElement("i",{className:"iconfont icon-gengduo4"}),nt.createElement("div",null,"\u66F4\u591A"))),(0,ke.dE)()&&nt.createElement(nt.Fragment,null,!!Je.off_limits&&nt.createElement(Ze.Z,{title:`\u8FDF\u5230\u8D85\u8FC7${Je==null?void 0:Je.last_times}\u5206\u949F\uFF0C\u7981\u6B62\u8FDB\u5165\u7B54\u9898`},nt.createElement("b",{className:"font16 c-grey-999"},"\u8FDF\u5230\u7981\u6B62\u7B54\u9898")),(Je==null?void 0:Je.exercise_type)==1&&!Je.off_limits&&Je.current_status===0&&Je.exercise_status>1&&!((Ti=Je.exercise_tips)!=null&&Ti.includes("\u5DF2\u622A\u6B62"))&&nt.createElement("a",{className:ut.flexBox,style:{marginRight:"16px"},onClick:gr=>{gr.stopPropagation(),gr.preventDefault(),Ei(Je,!0)},href:""},nt.createElement("i",{className:"iconfont icon-jixukaoshi"}),nt.createElement("div",null,(Je==null?void 0:Je.screen_used_num)>(Je==null?void 0:Je.screen_total_num)&&"\u7533\u8BF7"," \u7EE7\u7EED\u8003\u8BD5")),!((Ki=Je.exercise_tips)!=null&&Ki.includes("\u5DF2\u622A\u6B62"))&&(Je==null?void 0:Je.screen_used_num)>(Je==null?void 0:Je.screen_total_num)&&nt.createElement("a",{className:ut.flexBox,style:{marginRight:"16px"},onClick:gr=>{gr.stopPropagation(),gr.preventDefault(),Ei(Je,!0)},href:""},nt.createElement("i",{className:"iconfont icon-jixukaoshi"}),nt.createElement("div",null,"\u7533\u8BF7\u7EE7\u7EED\u8003\u8BD5")),!Je.off_limits&&Je.current_status===1&&(Je==null?void 0:Je.screen_used_num)<(Je==null?void 0:Je.screen_total_num)&&Je.exercise_status>1&&document.domain!="kepukehuan.educoder.net"&&!((Je==null?void 0:Je.exercise_type)==2&&(Je==null?void 0:Je.exercise_status)!=3)&&nt.createElement("span",{className:ut.flexBox,style:{marginRight:"16px"},onClick:gr=>mr(void 0,null,function*(){var Qr;if(gr.stopPropagation(),!(Je!=null&&Je.answered_open)){be.ZP.info("\u8001\u5E08\u5DF2\u8BBE\u7F6E\u672C\u8BD5\u5377\u5728\u4EA4\u5377\u540E\u4E0D\u53EF\u67E5\u770B");return}yield(0,dr.w)(Nn.coursesId,Je.id,"\u6B63\u5728\u8FDB\u5165\u67E5\u770B\uFF0C\u8BF7\u7A0D\u540E..."),(0,Ae.xg)(`/classrooms/${Nn.coursesId}/exercise/${Je.id}/users/${(Qr=(0,ke.eY)())==null?void 0:Qr.login}?check=true`)})},nt.createElement("i",{className:"iconfont icon-chakankaoshi"}),nt.createElement("div",null,"\u67E5\u770B\u8003\u8BD5")),(Je==null?void 0:Je.exercise_type)==1&&!Je.off_limits&&Je.current_status===2&&Je.exercise_status>1&&!((sa=Je.exercise_tips)!=null&&sa.includes("\u5DF2\u622A\u6B62"))&&nt.createElement("a",{className:ut.flexBox,style:{marginRight:"16px",color:(Je==null?void 0:Je.is_redo)===1&&"red"},onClick:gr=>{gr.stopPropagation(),gr.preventDefault(),Ei(Je)},href:""},nt.createElement("i",{className:"iconfont icon-a-kaishijixudajuan"}),nt.createElement("div",null,(Je==null?void 0:Je.is_redo)===0?"\u5F00\u59CB\u8003\u8BD5":"\u91CD\u65B0\u8003\u8BD5")),(Je==null?void 0:Je.exercise_type)==2&&!Je.off_limits&&Je.exercise_status>1&&!((fa=Je.exercise_tips)!=null&&fa.includes("\u5DF2\u622A\u6B62"))&&nt.createElement(Ze.Z,{title:nt.createElement("span",null,"\u672C\u6B21\u8003\u8BD5\u53EF\u91CD\u590D\u8003\u8BD5",Je==null?void 0:Je.simulate_exercise_num,"\u6B21\uFF0C\u5269\u4F59",zi(),"\u6B21")},nt.createElement("a",{className:ut.flexBox,onClick:gr=>{zi()==0&&(Je==null?void 0:Je.current_status)!=0||(gr.stopPropagation(),gr.preventDefault(),Ei(Je))},href:""},nt.createElement("i",{className:`iconfont ${(Je==null?void 0:Je.current_status)!=0?"icon-a-kaishijixudajuan":"icon-jixukaoshi"}`}),nt.createElement("div",null,(Je==null?void 0:Je.current_status)!=0?"\u5F00\u59CB\u8003\u8BD5":"\u7EE7\u7EED\u8003\u8BD5"))),(Je==null?void 0:Je.ai_push_wrong_question)&&(Je==null?void 0:Je.whole_exercise_status)===3&&!((wa=Je==null?void 0:Je.exercise_tips)!=null&&wa.includes("\u672A\u63D0\u4EA4"))&&nt.createElement("span",{className:ut.flexBox,style:{marginRight:"16px"},onClick:gr=>mr(void 0,null,function*(){var Qr,Yo;if(gr.stopPropagation(),(Je==null?void 0:Je.wrong_questions_size)===0){be.ZP.warning("\u672C\u6B21\u8003\u8BD5\u4F60\u65E0\u9700\u8FDB\u884C\u9519\u9898\u5DE9\u56FA\uFF5E");return}if(((Qr=Je==null?void 0:Je.progress)==null?void 0:Qr.stat)===1){be.ZP.warning("\u63A8\u8350\u8BD5\u9898\u6B63\u5728\u751F\u6210\u4E2D\uFF0C\u8BF7\u7B49\u5F85\u751F\u6210\u5B8C\u6210\u540E\u518D\u5F00\u59CB\u5DE9\u56FA");return}(0,Ae.xg)(`/classrooms/${Nn.coursesId}/exercise/${Je.id}/wrongAnswer/${(Yo=(0,ke.eY)())==null?void 0:Yo.login}`)})},nt.createElement("i",{className:"iconfont icon-cuotigonggu"}),nt.createElement("div",null,"\u9519\u9898\u5DE9\u56FA"))))),(0,ke.GJ)()&&nt.createElement("p",{style:{display:"flex"}},nt.createElement("span",{className:"c-grey-666",style:{display:"inline-block",maxWidth:"90px",textOverflow:"ellipsis",whiteSpace:"nowrap",overflow:"hidden",WebkitLineClamp:1},title:Je.author},Je.author),nt.createElement("span",{className:"ml30 c-grey-666"},"\u521B\u5EFA\u65F6\u95F4\uFF1A",fe()(Je.created_at).format("YYYY-MM-DD HH:mm:ss")),((ha=Je==null?void 0:Je.exercise_tips)==null?void 0:ha.includes("\u672A\u5F00\u59CB"))&&Je.publish_time&&nt.createElement("span",{className:"ml30 c-grey-666"},"\u5F00\u59CB\u65F6\u95F4\uFF1A",fe()(Je.publish_time).format("YYYY-MM-DD HH:mm:ss")),nt.createElement("span",{className:"ml30 c-grey-666"},"\u7B54\u9898\u65F6\u957F\uFF1A",Je.time===null?"\u4E0D\u9650":`${Je.time}\u5206\u949F`),nt.createElement("span",{className:"ml30 c-grey-666"},"\u7C7B\u578B\uFF1A",Je.is_random?"\u968F\u673A\u7EC4\u5377":"\u4EBA\u5DE5\u7EC4\u5377"),!((Ao=Je==null?void 0:Je.exercise_tips)!=null&&Ao.includes("\u672A\u5F00\u59CB"))&&!(Je!=null&&Je.is_make_up_exercise)&&!(Je!=null&&Je.exercise_tips.includes("\u5BFC\u5165"))&&nt.createElement("span",{className:ut.iconV,style:{marginLeft:"auto",textAlign:"end"},onClick:gr=>mr(void 0,null,function*(){gr.stopPropagation(),gr.preventDefault(),Mi||qa(),bi(!Mi)})},nt.createElement(Ze.Z,{title:`${Mi?"\u6536\u8D77":"\u5C55\u5F00"}`},nt.createElement("i",{className:`iconfont icon-${Mi?"shouqi":"xiala2"}`})))),(0,ke.dE)()&&nt.createElement("p",{style:{display:"flex"}},nt.createElement("span",{className:"c-grey-333"},Je.author),nt.createElement("span",{className:"ml30 c-grey-999 mr20"},"\u7B54\u9898\u65F6\u957F\uFF1A",Je.time===null?"\u4E0D\u9650":`${Je.time}\u5206\u949F`),!!(Je!=null&&Je.exercise_left_time)&&nt.createElement("span",{className:"ml15 c-grey-999"},"\u8003\u8BD5\u5269\u4F59\u65F6\u95F4\uFF1A",Je==null?void 0:Je.exercise_left_time),!!(Je!=null&&Je.before_start)&&nt.createElement("span",{className:"ml15 c-grey-999"},"\u8DDD\u79BB\u8003\u8BD5\u5F00\u59CB\u65F6\u95F4\uFF1A",Je==null?void 0:Je.before_start)),(0,ke.GJ)()&&!((Do=Je==null?void 0:Je.exercise_tips)!=null&&Do.includes("\u672A\u5F00\u59CB"))&&nt.createElement("p",null,nt.createElement("span",{style:{letterSpacing:2},className:"c-grey-333 mr15"},"\u63D0\u4EA4\u72B6\u6001\uFF1A"),nt.createElement("span",{className:"c-grey-333 mr20"},"\u672A\u5F00\u59CB ",nt.createElement("span",null,Je==null?void 0:Je.unanswer_users)),nt.createElement("span",{className:"c-grey-333 mr20"},"\u8003\u8BD5\u4E2D ",nt.createElement("span",{style:{color:"rgb(90, 184, 145)"}},Je==null?void 0:Je.answering_users)),nt.createElement("span",{className:"c-grey-333 mr20"},"\u5DF2\u4EA4\u5377 ",nt.createElement("span",{style:{color:"#FC2D6B"}},Je==null?void 0:Je.answer_users)),nt.createElement("span",{className:"c-grey-333"},"\u5DF2\u4EA4\u5377/\u672A\u7B54 ",nt.createElement("span",{style:{color:"#FC2D6B"}},Je==null?void 0:Je.commit_with_no_answers_users))),(0,ke.GJ)()&&!((Co=Je==null?void 0:Je.exercise_tips)!=null&&Co.includes("\u672A\u5F00\u59CB"))&&Mi&&Uo.length>5&&nt.createElement(Cn.default,{scroll:{y:240},pagination:!1,dataSource:Uo,onRow:gr=>({onClick:Qr=>{Qr.stopPropagation(),Qr.preventDefault()}}),onHeaderRow:(gr,Qr)=>({onClick:Yo=>{Yo.stopPropagation(),Yo.preventDefault()}}),rowKey:"course_group_id",style:{marginTop:"10px"},onChange:(gr,Qr,Yo)=>{Yo.field&&(Nn.order_by=Yo.field),Yo.order||(Nn.sort_direction="asc"),Yo.order==="ascend"&&(Nn.sort_direction="asc"),Yo.order==="descend"&&(Nn.sort_direction="desc"),Yo.order||(Nn.sort_direction="asc"),qa()},columns:Qo}),(0,ke.GJ)()&&!((Ji=Je==null?void 0:Je.exercise_tips)!=null&&Ji.includes("\u672A\u5F00\u59CB"))&&Mi&&Uo.length<6&&Uo.length>0&&nt.createElement(Cn.default,{rowKey:"course_group_id",pagination:!1,onRow:gr=>({onClick:Qr=>{Qr.stopPropagation(),Qr.preventDefault()}}),onHeaderRow:(gr,Qr)=>({onClick:Yo=>{Yo.stopPropagation(),Yo.preventDefault()}}),dataSource:Uo,style:{marginTop:"10px"},onChange:(gr,Qr,Yo)=>{Yo.field&&(Nn.order_by=Yo.field),Yo.order||(Nn.sort_direction="asc"),Yo.order==="ascend"&&(Nn.sort_direction="asc"),Yo.order==="descend"&&(Nn.sort_direction="desc"),Yo.order||(Nn.sort_direction="asc"),qa()},columns:Qo}),(Je==null?void 0:Je.total)!==void 0&&nt.createElement("p",null,nt.createElement("span",{className:"c-grey-333 mr15"},"\u96C6\u4E2D\u9605\u5377\u603B\u8FDB\u5EA6\uFF1A"),nt.createElement("span",{className:"c-grey-333 mr20"},"\u603B\u8BC4\u6570",nt.createElement("span",null,Je==null?void 0:Je.total)),nt.createElement("span",{className:"c-grey-333 mr20"},"\u5DF2\u8BC4\u9605 ",nt.createElement("span",{style:{color:"#4EACFF"}},Je==null?void 0:Je.finish_total)),nt.createElement("span",{className:"c-grey-333"},"\u5F85\u8BC4\u9605 ",nt.createElement("span",{style:{color:"#FC2D6B"}},Je==null?void 0:Je.unfinished_total)))),nt.createElement(Ot.Z,{closable:!0,successCb:()=>Ei(hi.current)}))};var Nr=(0,xe.connect)(({classroomList:Je})=>({classroomList:Je}))(Er),Yr=E(95651),ro=E(37497),oo=E(48436),ao=E(12586),Lr=E(87169),eo=E(62686),$r=E(61604),Wo=E(9516),Vo=E(26896),ir=E(59301),Ro=Object.defineProperty,ei=Object.defineProperties,yo=Object.getOwnPropertyDescriptors,Zo=Object.getOwnPropertySymbols,vo=Object.prototype.hasOwnProperty,ui=Object.prototype.propertyIsEnumerable,yi=(Je,hn,Mt)=>hn in Je?Ro(Je,hn,{enumerable:!0,configurable:!0,writable:!0,value:Mt}):Je[hn]=Mt,$o=(Je,hn)=>{for(var Mt in hn||(hn={}))vo.call(hn,Mt)&&yi(Je,Mt,hn[Mt]);if(Zo)for(var Mt of Zo(hn))ui.call(hn,Mt)&&yi(Je,Mt,hn[Mt]);return Je},pi=(Je,hn)=>ei(Je,yo(hn)),ki=(Je,hn)=>{var Mt={};for(var bn in Je)vo.call(Je,bn)&&hn.indexOf(bn)<0&&(Mt[bn]=Je[bn]);if(Je!=null&&Zo)for(var bn of Zo(Je))hn.indexOf(bn)<0&&ui.call(Je,bn)&&(Mt[bn]=Je[bn]);return Mt},Ci=(Je,hn,Mt)=>new Promise((bn,er)=>{var Rn=Zn=>{try{yr(Mt.next(Zn))}catch(Hn){er(Hn)}},Nn=Zn=>{try{yr(Mt.throw(Zn))}catch(Hn){er(Hn)}},yr=Zn=>Zn.done?bn(Zn.value):Promise.resolve(Zn.value).then(Rn,Nn);yr((Mt=Mt.apply(Je,hn)).next())});const Oi=Je=>{var hn=Je,{user:Mt,classroomList:bn,globalSetting:er,loading:Rn,dispatch:Nn,match:yr}=hn,Zn=ki(hn,["user","classroomList","globalSetting","loading","dispatch","match"]),Hn,or,kr,wo,ci,ii,oi,vi,mi,Li,Bi,Ti,Ki,sa,fa,wa,ha;const Ao=(0,xe.useParams)(),[Do]=(0,xe.useSearchParams)(),[Co,Ji]=(0,y.useState)(()=>pi($o({},Ao),{limit:20})),Uo=(0,xe.useLocation)(),{detailExerciseList:Ho,detailTopBanner:Mi,detailLeftMenus:bi}=bn,[hi,_o]=(0,y.useState)([]),[Ma,Ha]=(0,y.useState)(!1),[Aa,ra]=(0,y.useState)([]),[El,qa]=(0,y.useState)(!1),[qo,Ei]=(0,y.useState)(!1),[Qo,di]=(0,y.useState)(!1),[zi,$i]=(0,y.useState)(!1),[ko,Gi]=(0,y.useState)("\u6309\u521B\u5EFA\u65F6\u95F4\u964D\u5E8F"),gr=[{name:"\u6309\u521B\u5EFA\u65F6\u95F4\u5347\u5E8F",type:"created_at",direction:"asc"},{name:"\u6309\u521B\u5EFA\u65F6\u95F4\u964D\u5E8F",type:"created_at",direction:"desc"},{name:"\u6309\u8003\u8BD5\u65F6\u957F\u5347\u5E8F",type:"time",direction:"asc"},{name:"\u6309\u8003\u8BD5\u65F6\u957F\u964D\u5E8F",type:"time",direction:"desc"},{name:"\u6309\u8BD5\u5377\u540D\u79F0\u5347\u5E8F",type:"exercise_name",direction:"asc"},{name:"\u6309\u8BD5\u5377\u540D\u79F0\u964D\u5E8F",type:"exercise_name",direction:"desc"}];Co.type=Do.get("tabs")==="all"?"":Do.get("tabs")||"",Co.id=Co.coursesId,(0,y.useEffect)(()=>{var po,_i,Za;if((po=Mt==null?void 0:Mt.userInfo)!=null&&po.login){if((0,ke.GJ)()){const wl=Ae.cX.getItem(`${(_i=Mt==null?void 0:Mt.userInfo)==null?void 0:_i.login}Teacher`,"Exercise");wl&&(Co.sort_by=wl==null?void 0:wl.type,Co.sort_direction=wl==null?void 0:wl.direction,Gi(wl==null?void 0:wl.name))}Nn({type:"classroomList/getClassroomExercisesList",payload:$o($o({},Co),Ao)})}else(Za=Mt==null?void 0:Mt.userInfo)!=null&&Za.username&&Nn({type:"classroomList/getClassroomExercisesList",payload:$o($o({},Co),Ao)});Ha(!1)},[(Hn=Mt==null?void 0:Mt.userInfo)==null?void 0:Hn.login,Uo.pathname]),(0,y.useEffect)(()=>{bn.actionTabs.key==="\u76EE\u5F55\u91CD\u547D\u540D\u6210\u529F"&&Nn({type:"classroomList/getClassroomExercisesList",payload:$o($o({},Co),Ao)})},[bn.actionTabs.key]),(0,y.useEffect)(()=>{bn.actionTabs.key==="\u5728\u7EBF\u8003\u8BD5\u8BBE\u7F6E"&&(qa(!0),Ei(Mi==null?void 0:Mi.show_unstart_exercise),di(Mi==null?void 0:Mi.forbid_end_exercise))},[bn.actionTabs.key]),(0,y.useEffect)(()=>{_o([])},[Ho]);const Qr=(po,_i)=>{_o([]),Co.page=po,Co.limit=_i,Nn({type:"classroomList/getClassroomExercisesList",payload:$o($o({},Co),Ao)})},Yo=po=>{Co.type=po.key==="all"?"":po.key,Co.page=1,xe.history.replace(`${Uo.pathname}?tabs=${po.key}`),$i(!1),Nn({type:"classroomList/getClassroomExercisesList",payload:$o($o({},Co),Ao)})};(0,y.useEffect)(()=>{Do.get("tabs")==="all"&&(Co.type="",Co.page=1)},[Do.get("tabs")]),(0,y.useEffect)(()=>{(0,ke.Rm)()&&Nn({type:"classroomList/getAssistantPermissions",payload:{course_id:Co.coursesId}})},[(or=Mt==null?void 0:Mt.userInfo)==null?void 0:or.username]),(0,y.useEffect)(()=>{const po=sessionStorage.getItem("illegalEntry");sessionStorage.getItem("illegalEntry")&&(sessionStorage.removeItem("illegalEntry"),he.default.info({title:"\u63D0\u793A",centered:!0,width:600,content:ir.createElement("div",null,"\u5728\u7EBF\u8003\u8BD5\u7981\u6B62\u4F7F\u7528\u94FE\u63A5\u76F4\u63A5\u8BBF\u95EE\u7B54\u9898\u9875\u9762\uFF0C\u8BF7\u4F7F\u7528\u4E0B\u9762\u4E24\u79CD\u6B63\u5E38\u65B9\u5F0F\u8FDB\u5165\u8003\u8BD5\u7B54\u9898\u9875\u9762\u3002",ir.createElement("br",null),"1\u3001\u5728",ir.createElement("span",{className:"c-red blod"},"\u8003\u8BD5\u5217\u8868"),"\u9875\u9762\u4E2D\uFF0C\u70B9\u51FB\u201C",ir.createElement("span",{className:"c-blue blod"},"\u5F00\u59CB\u8003\u8BD5"),"\u201D\u6216\u201C",ir.createElement("span",{className:"c-blue blod"},"\u7EE7\u7EED\u8003\u8BD5"),"\u201D\u6309\u94AE\u8FDB\u5165\u8003\u8BD5\u7B54\u9898\u9875\u9762\u3002",ir.createElement("br",null),"2\u3001\u5728",ir.createElement("span",{className:"c-red blod"},"\u8003\u8BD5\u8BE6\u60C5"),"\u9875\u9762\u4E2D\uFF0C\u70B9\u51FB\u201C",ir.createElement("span",{className:"c-blue blod"},"\u5F00\u59CB\u8003\u8BD5"),"\u201D\u6216\u201C",ir.createElement("span",{className:"c-blue blod"},"\u7EE7\u7EED\u8003\u8BD5"),"\u201D\u6309\u94AE\u8FDB\u5165\u8003\u8BD5\u7B54\u9898\u9875\u9762\u3002",ir.createElement("br",null),po==="allowRouter"&&ir.createElement(ir.Fragment,null,"3\u3001",ir.createElement("span",{className:"c-red blod"},"\u4E25\u7981\u67E5\u770B\u4ED6\u4EBA\u7684\u8BD5\u5377\u3002"))),okText:"\u77E5\u9053\u4E86"}))},[]);const Zi=[{name:"\u5168\u90E8",id:"all",total:(kr=Ho.exercises_counts)==null?void 0:kr.exercises_total_counts},{name:"\u672A\u5F00\u59CB",id:1,total:(wo=Ho.exercises_counts)==null?void 0:wo.unstart_counts},{name:"\u8003\u8BD5\u4E2D",id:2,total:(ci=Ho.exercises_counts)==null?void 0:ci.publish_counts},{name:"\u96C6\u4E2D\u9605\u5377",id:4,total:(ii=Ho.exercises_counts)==null?void 0:ii.appraise_exercise_count},{name:"\u5DF2\u622A\u6B62",id:3,total:(oi=Ho.exercises_counts)==null?void 0:oi.end_counts}],Ba=[{name:"\u6279\u91CF\u53D1\u5E03",icon:ir.createElement("i",{className:"iconfont icon-fabu5"})},{name:"\u6279\u91CF\u7ED3\u675F",icon:ir.createElement("i",{className:"iconfont icon-piliangjiezhi2"})},{name:"\u6279\u91CF\u5220\u9664",icon:ir.createElement("i",{className:"iconfont icon-piliangshanchu2"})},{name:"\u8BBE\u4E3A\u516C\u5F00",icon:ir.createElement("i",{className:"iconfont icon-sheweigongkai2"})},{name:"\u52A0\u5165\u8BD5\u5377\u5E93",icon:ir.createElement("i",{className:"iconfont icon-piliangjiaru font14"})}].filter(po=>(0,ke.GJ)()?!0:po.name!=="\u6279\u91CF\u5220\u9664").filter(po=>Mi.is_public?!0:po.name!=="\u8BBE\u4E3A\u516C\u5F00"),xl=()=>he.default.info({title:"\u9898\u5E93\u6539\u7248\u544A\u77E5",content:ir.createElement(ir.Fragment,null,"EduCoder\u5DF2\u5347\u7EA7\u9898\u5E93\u529F\u80FD\uFF0C\u6240\u6709\u8BD5\u9898\u5747\u9700\u5339\u914D\u77E5\u8BC6\u70B9\u3002 \u5F53\u524D\u8BD5\u5377\u6240\u6D89\u53CA\u8BD5\u9898\u5747\u672A\u5339\u914D\u77E5\u8BC6\u70B9\uFF0C\u65E0\u6CD5\u968F\u673A\u62BD\u53D6\uFF0C\u5DF2\u4E0D\u80FD\u6709\u6548\u4F7F\u7528\u3002\u8BF7\u5728\u8BD5\u5377\u5E93\u91CD\u65B0\u7EC4\u5377\u540E\u4F7F\u7528\u3002 \u7531\u6B64\u5E26\u6765\u7684\u4E0D\u4FBF\uFF0C\u656C\u8BF7\u8C05\u89E3\uFF01")}),ji="YYYY-MM-DD",Sl=fe()("2020-11-15",ji),Wl=po=>{var _i;Co.sort_by=po.type,Co.sort_direction=po.direction,(0,ke.GJ)()&&Ae.cX.setItem(`${(_i=Mt==null?void 0:Mt.userInfo)==null?void 0:_i.login}Teacher`,po,"Exercise"),Co.page=1,Nn({type:"classroomList/getClassroomExercisesList",payload:$o({},Co)}),Gi(po.name)},rs=()=>ir.createElement(je.default,null,ir.createElement(je.default.Item,{key:1,onClick:()=>{var po,_i;if((0,ke.Rm)()&&!((_i=(po=bn==null?void 0:bn.AssistantObject)==null?void 0:po.exercise)!=null&&_i.can_create)){be.ZP.warning("\u60A8\u672A\u83B7\u53D6\u6B64\u6743\u9650\uFF0C\u9700\u5411\u8BFE\u5802\u7BA1\u7406\u5458\u7533\u8BF7\u6743\u9650\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD");return}Nn({type:"exercise/setActionTabs",payload:{key:"\u8BD5\u5377\u9009\u7528",params:Co}})}},"\u5FEB\u901F\u9009\u62E9\u8BD5\u5377"),ir.createElement(je.default.Item,{key:2,onClick:()=>{var po,_i;if((0,ke.Rm)()&&!((_i=(po=bn==null?void 0:bn.AssistantObject)==null?void 0:po.exercise)!=null&&_i.can_create)){be.ZP.warning("\u60A8\u672A\u83B7\u53D6\u6B64\u6743\u9650\uFF0C\u9700\u5411\u8BFE\u5802\u7BA1\u7406\u5458\u7533\u8BF7\u6743\u9650\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD");return}window.scrollTo(0,0),xe.history.push(`/classrooms/${Co.coursesId}/exercise/add?catalogue=${(Ao==null?void 0:Ao.categoryId)||""}`)}},"\u521B\u5EFA\u65B0\u8BD5\u5377"),ir.createElement(je.default.Item,{key:3,onClick:()=>{var po,_i;if(!(0,Ae.Ye)(Nn)){if((0,ke.Rm)()&&!((_i=(po=bn.AssistantObject)==null?void 0:po.practice)!=null&&_i.can_create)){be.ZP.warning("\u60A8\u672A\u83B7\u53D6\u6B64\u6743\u9650\uFF0C\u9700\u5411\u8BFE\u5802\u7BA1\u7406\u5458\u7533\u8BF7\u6743\u9650\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD");return}Nn({type:"classroomList/setActionTabs",payload:{key:"\u5BFC\u5165\u5916\u90E8\u6210\u7EE9",type:"exercise"}})}}},"\u5BFC\u5165\u5916\u90E8\u6210\u7EE9")),us=po=>Ci(void 0,null,function*(){var _i,Za,wl,Hl,ql,_l,xs,es;const el=po.name;if(((_i=Mt==null?void 0:Mt.userInfo)==null?void 0:_i.user_status)===2&&po.name==="\u6279\u91CF\u53D1\u5E03"){(0,Oe.Rd)();return}const Kl=[];if((Za=Ho.exercises)==null||Za.map(Ta=>{if(hi.includes(Ta.id)&&Ta.is_random){const Ll=fe()(Ta.created_at,ji);fe()(Sl).diff(fe()(Ll),"days")>0&&(Ta!=null&&Ta.is_random)&&Kl.push(Ta)}}),hi==""){let Ta="\u8BF7\u9009\u62E9\u4F60\u8981\u64CD\u4F5C\u7684\u4EFB\u52A1";el==="\u52A0\u5165\u8BD5\u5377\u5E93"&&(Ta="\u8BF7\u9009\u62E9\u8981\u52A0\u5165\u8BD5\u5377\u5E93\u7684\u8BD5\u5377"),be.ZP.error(Ta)}else if(Kl.length)xl();else{if(el==="\u6279\u91CF\u53D1\u5E03"){if((0,ke.Rm)()&&!((Hl=(wl=bn==null?void 0:bn.AssistantObject)==null?void 0:wl.exercise)!=null&&Hl.can_publish)){be.ZP.warning("\u60A8\u672A\u83B7\u53D6\u6B64\u6743\u9650\uFF0C\u9700\u5411\u8BFE\u5802\u7BA1\u7406\u5458\u7533\u8BF7\u6743\u9650\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD");return}let Ta=!1;Ho.exercises.forEach(tl=>{hi.includes(tl.id)&&tl.total_num===0&&tl.is_random&&(Ta=!0)});let Ll;if(Ll=(_l=(ql=Ho.exercises.filter(tl=>hi.includes(tl==null?void 0:tl.id)).filter(tl=>(tl==null?void 0:tl.exercise_question_count)===0))==null?void 0:ql[0])==null?void 0:_l.exercise_name,(Ll==null?void 0:Ll.length)>0){be.ZP.warning(`${Ll}\u8BD5\u5377\u5185\u6CA1\u6709\u8BD5\u9898\u4E0D\u5141\u8BB8\u53D1\u5E03\u8003\u8BD5`);return}if(Ta){be.ZP.warning("\u968F\u673A\u8BD5\u5377\u8FD8\u672A\u5728\u8BE5\u8BFE\u5802\u751F\u6210\u8BD5\u5377\uFF0C\u8BF7\u70B9\u51FB\u7F16\u8F91\u53BB\u8BBE\u7F6E\u51FA\u5377\u6570\u91CF\u5427\u3002");return}let Tl=!1;if(Ho.exercises.forEach(tl=>{hi.includes(tl.id)&&tl.exercise_status!==1&&(Tl=!0)}),Tl){be.ZP.warning("\u8BD5\u5377\u5DF2\u53D1\u5E03\u8003\u8BD5\u4E0D\u53EF\u6279\u91CF\u53D1\u5E03\u3002");return}}if(el==="\u52A0\u5165\u8BD5\u5377\u5E93"){const Ta=yield(0,me.ZP)(`/api/courses/${Co.id}/exercises/check_exercise_cover.json`,{method:"post",body:{check_ids:[...hi]}});if(((xs=Ta==null?void 0:Ta.cover_exercises)==null?void 0:xs.length)>0){ra(Ta==null?void 0:Ta.cover_exercises);return}}Nn({type:"exercise/setActionTabs",payload:{key:el,selectArrs:hi,selectArrsAll:(es=Ho.exercises)==null?void 0:es.filter(Ta=>hi.includes(Ta.id)),params:Co,type:1}})}});return ir.createElement("section",{className:"minH500"},ir.createElement(Yr.Z,{isLoading:Rn["classroomList/getClassroomExercisesList"],tabDataSource:Zi,isAdmin:(0,ke.GJ)(),dispatch:Nn,type:Ho==null?void 0:Ho.main_category_name,isExercise:!0,user:Mt,getDropdownMenu:rs,onTabMenuClick:Yo,classroomList:bn,defaultSelectedKeys:[Co.type||"all"]}),ir.createElement(ro.Z,{dataSource:Ho.exercises||[],isAdmin:(0,ke.GJ)(),batchStatus:zi,SortMenuName:ko,setSortMenuName:Gi,SortMenus:gr,onSearch:po=>{Co.search=po.trim(),Co.page=1,Nn({type:"classroomList/getClassroomExercisesList",payload:$o({},Co)})},isShowMode:!0,onModeChange:po=>{Co.is_normal=po,Co.page=1,Nn({type:"classroomList/getClassroomExercisesList",payload:$o({},Co)})},onSort:Wl,onBatch:po=>$i(po)}),ir.createElement(De.Z,{loading:Rn["classroomList/getClassroomExercisesList"],active:!0,avatar:{size:40},paragraph:{rows:5},className:"mt30"},(vi=Ho.exercises_counts)!=null&&vi.exercises_all_counts?Ho.exercises.map(function(po,_i){return ir.createElement(Nr,{key:_i,v:po,k:_i,match:yr,batchStatus:zi,selectArrs:hi,setSelectArrs:_o,dispatch:Nn,params:Co,user:Mt,manageAllGroup:Ho.manage_all_group})}):ir.createElement(Ce.Z,null),ir.createElement("aside",{className:"tc mb50 mt30"},((mi=Ho.exercises_counts)==null?void 0:mi.exercises_all_counts)>0&&ir.createElement(ye.Z,{showTotal:po=>{var _i;return`\u5171 ${(_i=Ho==null?void 0:Ho.exercises_counts)==null?void 0:_i.exercises_all_counts} \u6761`},showSizeChanger:!0,onChange:Qr,defaultCurrent:Co.page,current:Co.page||1,pageSize:Co.limit||20,total:Ho.exercises_counts&&Ho.exercises_counts.exercises_all_counts}))),hi.length>0&&(0,ke.GJ)()&&ir.createElement(ze.Z,{offsetBottom:0},ir.createElement(oo.Z,{buttonDataSource:Ba,onButtonClick:us,useBatchStatus:$i,setSeleArr:_o,catalogue:((Bi=(Li=bi==null?void 0:bi.course_modules)==null?void 0:Li.find(po=>po.type==="exercise"))==null?void 0:Bi.second_category)||[],addCatalogue:po=>{po.preventDefault(),Nn({type:"classroomList/setActionTabs",payload:{key:"\u6DFB\u52A0\u76EE\u5F55",params:Co,selectArrs:{category_id:Ho==null?void 0:Ho.main_category_id,type:"exercise"}}})},allSelect:hi.length?hi.length===((Ki=(Ti=Ho.exercises)==null?void 0:Ti.filter(po=>!po.is_make_up_exercise))==null?void 0:Ki.length):!1,setAllSelect:po=>{var _i;po.target.checked?_o((_i=Ho==null?void 0:Ho.exercises)==null?void 0:_i.filter(Za=>!Za.is_make_up_exercise).map(Za=>Za.id)):_o([])},selectArrs:hi,onMenuClick:po=>Ci(void 0,[po],function*({key:_i}){if(hi=="")return be.ZP.error("\u8BF7\u9009\u62E9\u4F60\u8981\u64CD\u4F5C\u7684\u4EFB\u52A1"),null;(yield(0,me.ZP)(`/api/courses/${Co.id}/exercises/move_to_category.json`,{method:"post",body:{exercise_ids:hi,new_category_id:_i}})).status===0&&(be.ZP.success("\u64CD\u4F5C\u6210\u529F"),Nn({type:"classroomList/getClassroomExercisesList",payload:$o({},Ao)}))})})),ir.createElement(Wt.Z,null),ir.createElement(xt.Z,null),ir.createElement(Ut,null),ir.createElement(de,null),ir.createElement(eo.Z,{onOk:()=>{Nn({type:"classroomList/getClassroomExercisesList",payload:$o({},Ao)})}}),ir.createElement($r.Z,{onOk:()=>{}}),ir.createElement(ft,{cb:()=>_o([])}),ir.createElement(Lt,null),ir.createElement(Ot.Z,null),ir.createElement(he.default,{title:ir.createElement("span",null,ir.createElement(Lr.Z,{style:{color:"#faad14",fontSize:"18px"}})," \u52A0\u5165\u8BD5\u5377\u5E93\u63D0\u793A"),open:Aa.length>0,footer:!1,onCancel:()=>{ra([])}},ir.createElement("div",{style:{height:300,overflow:"auto"}},ir.createElement("div",null,"\u6709",Aa==null?void 0:Aa.length,"\u5F20\u8BD5\u5377\u5728\u8BD5\u5377\u5E93\u91CD\u590D\uFF0C\u662F\u5426\u9700\u8981\u8986\u76D6\u539F\u6765\u7684\u8BD5\u5377\uFF1F"),Aa==null?void 0:Aa.map(po=>ir.createElement("div",{style:{marginTop:25}},ir.createElement("div",null,"\u8BD5\u5377\uFF1A",po==null?void 0:po.origin_exercise_nam),ir.createElement("div",null,"\u539F\u8BD5\u5377\uFF1A",ir.createElement("a",{href:`/paperlibrary/see/${po==null?void 0:po.examination_bank_id}?defaultActiveKey=0`,target:"_blank"},po==null?void 0:po.examination_bank_name))))),ir.createElement("div",{style:{textAlign:"end"}},ir.createElement(we.ZP,{style:{height:30},onClick:()=>Ci(void 0,null,function*(){const po=yield(0,me.ZP)(`/api/courses/${Co.id}/exercises/join_examination_banks.json`,{method:"post",body:{check_ids:[...hi],update:1}});(po==null?void 0:po.status)===0&&(be.ZP.info("\u8986\u76D6\u6210\u529F"),ra([]))})},"\u8986\u76D6\u539F\u6765\u7684\u8BD5\u5377"),ir.createElement(we.ZP,{type:"primary",onClick:()=>Ci(void 0,null,function*(){const po=yield(0,me.ZP)(`/api/courses/${Co.id}/exercises/join_examination_banks.json`,{method:"post",body:{check_ids:[...hi]}});(po==null?void 0:po.status)===0&&(be.ZP.info("\u5F62\u6210\u6210\u529F"),ra([]))}),style:{marginLeft:10,height:30}},"\u5F62\u6210\u65B0\u8BD5\u5377"))),ir.createElement(he.default,{title:"\u5728\u7EBF\u8003\u8BD5\u8BBE\u7F6E",open:El,centered:!0,onOk:()=>Ci(void 0,null,function*(){let po=yield(0,me.ZP)(`/api/courses/${Co.coursesId}/update_show_unstart_exercise`,{method:"put",body:{show_unstart_exercise:qo,forbid_end_exercise:Qo}});(po==null?void 0:po.status)===0&&(qa(!1),Nn({type:"classroomList/setActionTabs",payload:{key:""}}),Nn({type:"classroomList/getClassroomTopBanner",payload:{id:Co.coursesId}}),be.ZP.info("\u64CD\u4F5C\u6210\u529F"))}),onCancel:()=>{qa(!1),Nn({type:"classroomList/setActionTabs",payload:{key:""}})}},ir.createElement(se.default,{checked:qo,onChange:po=>{Ei(po.target.checked)}},"\u5141\u8BB8\u5B66\u751F\u67E5\u770B\u5DF2\u53D1\u5E03\u4F46\u672A\u5F00\u59CB\u7684\u8003\u8BD5",ir.createElement("span",{style:{color:"#666666"}},"\uFF08\u8003\u8BD5\u5F00\u59CB\u4E4B\u540E\u5B66\u751F\u624D\u80FD\u4F5C\u7B54\uFF09")),ir.createElement(se.default,{className:"mt20",checked:Qo,onChange:po=>{di(po.target.checked)}},"\u7981\u6B62\u5B66\u751F\u67E5\u770B\u5DF2\u622A\u6B62\u7684\u8003\u8BD5")),ir.createElement(ao.Z,null),ir.createElement(ir.Fragment,null,ir.createElement(Wo.T$,{onCancel:()=>{Nn({type:"classroomList/setActionTabs",payload:pi($o({},bn==null?void 0:bn.actionTabs),{open:""})})},open:((sa=bn==null?void 0:bn.actionTabs)==null?void 0:sa.open)==="\u624B\u673A\u53F7\u7ED1\u5B9A"}),ir.createElement(Wo.$i,{onCancel:()=>{Nn({type:"classroomList/setActionTabs",payload:pi($o({},bn==null?void 0:bn.actionTabs),{open:""})})},onFinish:()=>{Nn({type:"classroomList/getClassroomExercisesList",payload:$o($o({},Co),Ao)})},open:((fa=bn==null?void 0:bn.actionTabs)==null?void 0:fa.open)==="\u8BD5\u5377\u5C01\u5B58",Data:pi($o({},bn==null?void 0:bn.actionTabs),{type:"exercise"})}),ir.createElement(Wo.K1,{onCancel:()=>{Nn({type:"classroomList/setActionTabs",payload:pi($o({},bn==null?void 0:bn.actionTabs),{open:""})})},onFinish:()=>{Nn({type:"classroomList/getClassroomExercisesList",payload:$o($o({},Co),Ao)})},open:((wa=bn==null?void 0:bn.actionTabs)==null?void 0:wa.open)==="\u89E3\u5C01",Data:pi($o({},bn==null?void 0:bn.actionTabs),{type:"exercise"})}),ir.createElement(Wo.O7,{onCancel:()=>{Nn({type:"classroomList/setActionTabs",payload:pi($o({},bn==null?void 0:bn.actionTabs),{open:""})})},onFinish:()=>{Nn({type:"classroomList/getClassroomExercisesList",payload:$o($o({},Co),Ao)})},open:((ha=bn==null?void 0:bn.actionTabs)==null?void 0:ha.open)==="\u63D0\u793A",Data:pi($o({},bn==null?void 0:bn.actionTabs),{type:"exercise"})})),ir.createElement(Vo.Z,null))};var No=(0,xe.connect)(({user:Je,classroomList:hn,loading:Mt,globalSetting:bn})=>({user:Je,classroomList:hn,globalSetting:bn,loading:Mt.effects}))(Oi)},99981:function(dn,yt,E){"use strict";E.d(yt,{Q8:function(){return Be},d0:function(){return Dt},w6:function(){return We}});var y=E(59301),xe=E(24017),he=E(82326),je=E(6767),be=E(62957),De=E(47889),ye=E(77019),ze=E(5269),we=E(25399),se=E(62673),Ye=E(7939),fe=E(66649),ke=E.n(fe),Ae=E(41867),Ce=E(38147),me=E(89392),ue=E.n(me),Me=E(65862),Ze=E(61191),Qe=E(65582),oe=E(4324),Fe=E(66457),rt=E(42656),Ne=E(83028),Ge=E(60979),ge=E(59301),Oe=Object.defineProperty,Ve=Object.defineProperties,Pe=Object.getOwnPropertyDescriptors,it=Object.getOwnPropertySymbols,Le=Object.prototype.hasOwnProperty,pe=Object.prototype.propertyIsEnumerable,qe=(at,jt,ft)=>jt in at?Oe(at,jt,{enumerable:!0,configurable:!0,writable:!0,value:ft}):at[jt]=ft,Xe=(at,jt)=>{for(var ft in jt||(jt={}))Le.call(jt,ft)&&qe(at,ft,jt[ft]);if(it)for(var ft of it(jt))pe.call(jt,ft)&&qe(at,ft,jt[ft]);return at},Ct=(at,jt)=>Ve(at,Pe(jt)),Yt=(at,jt,ft)=>new Promise((Wt,xt)=>{var $t=ne=>{try{ce(ft.next(ne))}catch(te){xt(te)}},Rt=ne=>{try{ce(ft.throw(ne))}catch(te){xt(te)}},ce=ne=>ne.done?Wt(ne.value):Promise.resolve(ne.value).then($t,Rt);ce((ft=ft.apply(at,jt)).next())});function We(at,jt){const ft=[];for(let Wt=at;Wt<jt;Wt++)ft.push(Wt);return ft}const Be=(at,jt,ft)=>{const Wt=at<ke()().startOf("day"),xt=at>ke()(jt).endOf("day"),$t=at<ke()(ft).startOf("day");return jt?ft?ke()()<=ke()(ft)?$t||xt:Wt||xt:at&&Wt||xt:ft&&ke()()<=ke()(ft)?$t:Wt},Dt=(at,jt)=>{const ft=parseInt(ke()(at).format("HH")),Wt=parseInt(ke()().format("HH")),xt=parseInt(ke()().format("mm"));if(!at)return{disabledHours:()=>We(0,Wt),disabledMinutes:()=>We(0,xt)};if(jt){const $t=parseInt(ke()(jt).format("HH")),Rt=parseInt(ke()(jt).format("mm"));return ke()(at).isSame(ke()(jt),"day")?{disabledHours:()=>We(0,$t),disabledMinutes:()=>ft<=$t?We(0,Rt):[]}:void 0}if(ke()(at).isSame(ke()(),"day"))return{disabledHours:()=>We(0,Wt),disabledMinutes:()=>ke()(at).isSame(ke()(),"hour")&&ft<=Wt?We(0,xt):[]}},Zt=(at,jt)=>at==null?void 0:at.map(ft=>{var Wt;return(Wt=jt==null?void 0:jt.find(xt=>xt.value===ft))==null?void 0:Wt.id}),{RangePicker:lt}=xe.default,{Option:Se}=he.default,Re=({shixunHomeworks:at,loading:jt,dispatch:ft,classroomList:Wt,user:xt})=>{var $t,Rt,ce,ne,te,le,ve,re,de;const Ue=(0,Qe.useParams)(),{workSetting:pt,workList:et,shixunWorkList:tt,headerInfo:dt,changeData:gt}=at,[St,_e]=(0,y.useState)(!1),[st,en]=(0,y.useState)(!1);let[Ut,yn]=(0,y.useState)([]),[tn,Vt]=(0,y.useState)([]),[Qt,sn]=(0,y.useState)({unified_setting:!1,publish_time:"",end_time:"",allow_late:!1,unified_late:!0,late_time:"",late_penalty:0,penalty_type:oe.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[bt,Lt]=(0,y.useState)({}),[un,Cn]=(0,y.useState)({});(0,y.useEffect)(()=>()=>{yn([])},[]),(0,y.useEffect)(()=>{_e(!(0,Ae.GJ)())},[(0,Ae.GJ)()]);const ut=()=>{ft({type:"shixunHomeworks/getWorkSetting",payload:Xe({},Ue)})};(0,y.useEffect)(()=>{if(!(pt!=null&&pt.course_id))return;Object.keys(Qt).map(function(mn){Qt[mn]=pt[mn]}),(!Qt.allow_late||!Qt.unified_late)&&(Qt.late_penalty=20,Qt.penalty_type=oe.Q.Percent),Qt.unified_setting||(Qt.unified_late=!1,Qt.unified_anonymous_comment=!1,Qt.unified_anonymous_appeal=!1),Ut=JSON.parse(JSON.stringify(pt.group_settings.map(mn=>Ct(Xe({},mn),{group_name:[mn.group_name]})).filter(mn=>mn.publish_time!==null))),tn=JSON.parse(JSON.stringify(pt.allow_late_settings.map(mn=>Ct(Xe({},mn),{group_name:[mn.group_name]})).filter(mn=>mn.late_time!==null))),sn(Xe({},Qt));const zt=(0,Me.QE)((Ut==null?void 0:Ut.length)>0?Ut:[]);yn([...zt]),(tn==null?void 0:tn.length)<=0?Vt([{penalty_type:oe.Q.Percent,late_penalty:20}]):Vt([...tn])},[pt]);const kt=()=>Yt(void 0,null,function*(){var zt,mn,an,ln,qt,xn,En,_n,$n;if(((an=(mn=(zt=xt==null?void 0:xt.userInfo)==null?void 0:zt.course)==null?void 0:mn.shixun_homework_info)==null?void 0:an.shixun_homework_remaining_count)===0&&((qt=(ln=at==null?void 0:at.headerInfo)==null?void 0:ln.homework_status)!=null&&qt.includes("\u672A\u53D1\u5E03"))){(0,Me.bR)(`\u60A8\u4ECA\u65E5\u5728\u3010${(En=(xn=(0,Ae.eY)())==null?void 0:xn.course)==null?void 0:En.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(((_n=xt==null?void 0:xt.userInfo)==null?void 0:_n.user_status)===2){(0,Fe.Rd)();return}const Yn=JSON.parse(JSON.stringify(Qt));if(Yn.challenge_settings.filter(Qn=>!Qn.hide),Yn.categoryId=Ue.categoryId,($n=Yn.challenge_settings)!=null&&$n.every(Qn=>!Qn.checked)){je.ZP.warning("\u5173\u5361\u4E0D\u80FD\u5168\u90E8\u8BBE\u7F6E\u4E3A\u53EF\u4E0D\u505A");return}if(console.log(Ut),!Qt.unified_setting)Ut=Ut==null?void 0:Ut.map(Qn=>{var nr;if(!Qn.publish_time||!Qn.end_time)throw je.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(!Qn.group_name)throw je.ZP.error("\u8BF7\u9009\u62E9\u5206\u73ED\u540D\u79F0"),new String("\u8BF7\u9009\u62E9\u5206\u73ED\u540D\u79F0");return Qn.group_name=typeof(Qn==null?void 0:Qn.group_name)=="string"?[Qn==null?void 0:Qn.group_name]:Qn==null?void 0:Qn.group_name,Qn.group_id=(nr=pt.group_settings)==null?void 0:nr.filter(Rr=>{var Ir;return(Ir=Qn==null?void 0:Qn.group_name)==null?void 0:Ir.includes(Rr.group_name)}).map(Rr=>Rr.group_id||Rr.id).toString().split(","),Qn});else if(!Qt.publish_time||!Qt.end_time)throw je.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(Yn.group_settings=Ut,Qt.allow_late)if(Qt.unified_late){if(Qt.late_penalty===null||Qt.late_penalty===void 0||Qt.late_penalty<0||Qt.late_penalty>100)throw je.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(!Qt.late_time)throw je.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 tn=tn==null?void 0:tn.map(Qn=>{var nr,Rr;if(Qn.late_penalty===null||Qn.late_penalty===void 0||Qn.late_penalty<0||Qn.late_penalty>100)throw je.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(!Qn.late_time)throw je.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(!Qn.group_name)throw je.ZP.error("\u8BF7\u9009\u62E9\u5206\u73ED\u540D\u79F0"),new String("\u8BF7\u9009\u62E9\u5206\u73ED\u540D\u79F0");return Qn.group_name=typeof(Qn==null?void 0:Qn.group_name)=="string"?[Qn==null?void 0:Qn.group_name]:Qn==null?void 0:Qn.group_name,Qn.group_id=(Rr=(nr=Qn==null?void 0:Qn.group_name)==null?void 0:nr.map(Ir=>{var Bn,Mn;let ur=(Mn=(Bn=pt.group_settings)==null?void 0:Bn.filter(dr=>(dr==null?void 0:dr.group_name)===Ir))==null?void 0:Mn[0];return ur==null?void 0:ur.group_id}))==null?void 0:Rr.toString().split(","),Qn}),Yn.allow_late_settings=tn;let Gn=yield(0,Ge.Tr)({homework_common_ids:[parseInt(Ue.categoryId)],course_id:Ue.coursesId,type:"homework_common"});(Gn==null?void 0:Gn.student_count)===0?wt(Yn):(Cn(Yn),Lt(Gn))}),wt=zt=>{var mn;if(zt.total_score===null){je.ZP.warning("\u603B\u5206\u503C\u4E0D\u80FD\u4E3A\u7A7A");return}if(zt!=null&&zt.work_efficiency&&zt.eff_score===null){je.ZP.warning("\u6548\u7387\u5206\u4E0D\u80FD\u4E3A\u7A7A");return}const an=zt.challenge_settings.reduce((xn,En)=>xn+Number(En.challenge_score),0);if((an==null?void 0:an.toFixed(10))!==((mn=zt.total_score-zt.eff_score)==null?void 0:mn.toFixed(10))){je.ZP.warning(`\u6548\u7387\u5206\u52A0\u5173\u5361\u4EFB\u52A1\u603B\u5206\u5FC5\u987B\u7B49\u4E8E\u603B\u5206\u503C\uFF1A${zt.total_score}\u5206`);return}const ln={shixun_evaluation:zt.shixun_evaluation,challenge_settings:zt.challenge_settings};let qt=()=>{var xn;const En=()=>Yt(void 0,null,function*(){en(!0),(yield(0,Ce.ZP)(`/api/homework_commons/${Ue.categoryId}/publish_setting.json`,{method:"post",body:Xe({},zt)})).status===0&&(je.ZP.success("\u66F4\u65B0\u6210\u529F"),ut(),ft({type:"user/getUserInfo",payload:{course_id:Ue.coursesId}}),ft({type:"shixunHomeworks/getShixunWorkHeadInfo",payload:Xe({},Ue)})),en(!1)});!(0,me.isEqual)(gt,ln)&&!((xn=dt==null?void 0:dt.homework_status)!=null&&xn.includes("\u672A\u53D1\u5E03"))?be.default.confirm({title:"\u66F4\u65B0\u6210\u7EE9",content:"\u60A8\u6539\u52A8\u4E86\u672C\u6B21\u4F5C\u4E1A\u7684\u5173\u5361\u5F97\u5206\u8BBE\u7F6E\uFF0C\u8FD9\u53EF\u80FD\u5BFC\u81F4\u5DF2\u5B8C\u6210\u4F5C\u4E1A\u7684\u5B66\u751F\u7684\u6210\u7EE9\u4EA7\u751F\u9519\u8BEF\u3002\u70B9\u51FB\u201C\u786E\u5B9A\u201D\u6309\u94AE\u5C06\u4FDD\u5B58\u6700\u65B0\u8BBE\u7F6E\u5E76\u6309\u6700\u65B0\u8BBE\u7F6E\u66F4\u65B0\u5168\u73ED\u6210\u7EE9\u3002",okText:"\u786E\u8BA4",cancelText:"\u53D6\u6D88",onOk:En}):En()};pt!=null&&pt.high_resources_consume&&!(pt!=null&&pt.high_resources_consume_permission)?ft({type:"classroomList/setActionTabs",payload:{key:"\u6388\u6743\u4F7F\u7528",id:Ue.coursesId,type:"shixun",type_id:Ue.categoryId,name:pt.homework_name,fn:()=>{qt()}}}):qt()},cn=(zt,mn,an="group_id")=>{var ln;return mn?mn.find(qt=>qt[an]===zt):(ln=pt==null?void 0:pt.group_settings)==null?void 0:ln.find(qt=>qt.group_id[0]===zt)},An=(pt==null?void 0:pt.allow_late)||(pt==null?void 0:pt.anonymous_comment),Kn=zt=>{var mn,an;const ln=cn(zt,pt==null?void 0:pt.allow_late_settings,"id"),qt=cn(zt,pt==null?void 0:pt.anonymous_comment_settings),xn=cn(zt);return(pt==null?void 0:pt.allow_late)&&ln&&ke()(ln==null?void 0:ln.late_time)<=ke()()||(pt==null?void 0:pt.anonymous_comment)&&qt&&(qt==null?void 0:qt.evaluation_start)!==null||((an=(ke()(xn==null?void 0:xn.end_time)<=ke()()&&((mn=pt==null?void 0:pt.allow_late_settings)==null?void 0:mn.filter(En=>En.group_id.includes(zt))))[0])==null?void 0:an.late_time)!=null},rr=(0,y.useMemo)(()=>(pt==null?void 0:pt.allow_late)||(pt==null?void 0:pt.all_group_late),[pt,dt]),sr=pt==null?void 0:pt.anonymous_comment,kn=zt=>{if(!zt)return!1;const mn=cn(zt,pt==null?void 0:pt.anonymous_comment_settings);return(pt==null?void 0:pt.anonymous_comment)&&mn&&(mn==null?void 0:mn.evaluation_start)!==null},Jn=(zt,mn)=>{var an,ln,qt,xn,En;zt!=null&&zt.group_id||(zt.group_id=Zt(zt==null?void 0:zt.group_name,pt==null?void 0:pt.group_settings)),ft({type:"classroomList/setActionTabs",payload:{key:"\u5206\u73ED\u53D1\u5E03-\u53D1\u5E03\u89C4\u5219\u62C6\u5206",data:zt,index:mn,rangePickerDisabled:(ln=(an=zt==null?void 0:zt.group_id)==null?void 0:an[0])!=null&&ln.publish_time?St||(ke()()<=ke()((xn=cn((qt=zt==null?void 0:zt.group_id)==null?void 0:qt[0]))==null?void 0:xn.publish_time)?!1:[!0,Kn((En=zt==null?void 0:zt.group_id)==null?void 0:En[0])]):!1,disabledDate:pt==null?void 0:pt.course_end_date}})};return ge.createElement("section",{className:Ze.Z.form},ge.createElement("div",{className:Ze.Z.title},"\u4F5C\u4E1A\u53D1\u5E03",ge.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")),ge.createElement("div",null,ge.createElement("div",{style:{background:"#F6F7F9",padding:"13px 30px",display:"flex",alignItems:"center"}},ge.createElement(De.ZP.Group,{disabled:St||!(($t=dt==null?void 0:dt.homework_status)!=null&&$t.includes("\u672A\u53D1\u5E03"))||(0,Ae.Rm)()&&!((Rt=Wt.AssistantObject.practice)!=null&&Rt.can_publish),value:Qt.unified_setting,onChange:zt=>{var mn;if(!((mn=dt==null?void 0:dt.homework_status)!=null&&mn.includes("\u672A\u53D1\u5E03"))){je.ZP.error("\u5DF2\u53D1\u5E03\uFF0C\u4E0D\u80FD\u518D\u4FEE\u6539\u7EDF\u4E00\u8BBE\u7F6E");return}if(Qt.unified_setting=!Qt.unified_setting,Qt.unified_setting||(Qt.unified_late=!1,Vt([{late_penalty:5}])),sn(Object.assign({},Qt)),Qt.unified_setting===!1&&Ut==""){yn(Ut.concat({}));return}Qt.unified_setting&&(yn([]),Vt([{late_penalty:5}]))}},ge.createElement(De.ZP,{value:!0,disabled:St||!(pt!=null&&pt.manage_all_group),style:{marginRight:"50px"}},"\u7EDF\u4E00\u53D1\u5E03"),ge.createElement(De.ZP,{disabled:St||!((ce=pt==null?void 0:pt.group_settings)!=null&&ce.length),value:!1},"\u5206\u73ED\u53D1\u5E03")),((ne=pt==null?void 0:pt.group_settings)==null?void 0:ne.length)===0&&ge.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")),Qt.unified_setting&&ge.createElement("div",{style:{display:"flex",color:"#666666",background:"#F6F7F9",padding:"5px 30px",height:"50px",marginTop:"1px"}},ge.createElement(ye.Z,{align:"middle"},ge.createElement(ze.Z,{style:{marginLeft:"23px"}},"\u53D1\u5E03\u65F6\u95F4"),ge.createElement(ze.Z,{className:"ml10"},ge.createElement(xe.default,{size:"large",disabled:St||!((te=dt==null?void 0:dt.homework_status)!=null&&te.includes("\u672A\u53D1\u5E03")||(le=dt==null?void 0:dt.homework_status)!=null&&le.includes("\u672A\u5F00\u59CB"))||(0,Ae.Rm)()&&!((ve=Wt.AssistantObject.practice)!=null&&ve.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:zt=>Be(zt,pt==null?void 0:pt.course_end_date),disabledTime:zt=>Dt(zt),value:Qt.publish_time?ke()(Qt.publish_time):"",onChange:(zt,mn)=>{Qt.publish_time=mn,(Qt.end_time==""||!Qt.end_time)&&Qt.unified_setting&&(Qt.end_time=ke()(zt).add(7,"days").format("YYYY-MM-DD HH:mm:ss")),sn(Object.assign({},Qt))}}))),ge.createElement(ye.Z,{align:"middle",className:"pl30"},ge.createElement(ze.Z,null,"\u622A\u6B62\u65F6\u95F4"),ge.createElement(ze.Z,{className:"ml10"},ge.createElement(xe.default,{size:"large",style:{width:170},allowClear:!1,placeholder:"\u8BF7\u9009\u62E9\u622A\u6B62\u65F6\u95F4",showTime:{format:"HH:mm",defaultValue:ke()((0,Me.U6)(),"HH:mm")},format:"YYYY-MM-DD HH:mm",disabled:(pt==null?void 0:pt.allow_late)&&(pt==null?void 0:pt.homework_status.includes("\u5DF2\u622A\u6B62"))||St||(pt==null?void 0:pt.allow_late)&&ke()()>=ke()(pt==null?void 0:pt.end_time)||(0,Ae.Rm)()&&!((re=Wt.AssistantObject.practice)!=null&&re.can_publish),disabledDate:zt=>Be(zt,pt==null?void 0:pt.course_end_date,Qt.publish_time),disabledTime:zt=>Dt(zt,Qt.publish_time),value:Qt.end_time?ke()(Qt.end_time):"",onChange:(zt,mn)=>{Qt.end_time=mn,sn(Object.assign({},Qt))}})))),!Qt.unified_setting&&(Ut==null?void 0:Ut.length)>0&&ge.createElement(ye.Z,{style:{display:"flex",color:"#666666",background:"#F6F7F9",padding:"5px 30px",marginTop:"1px"}},Ut&&Ut.map(function(zt,mn){var an,ln,qt,xn,En,_n,$n;return ge.createElement(ze.Z,{span:24,key:mn},ge.createElement(ye.Z,{gutter:[8,16],style:{display:"flex",alignItems:"center",marginBottom:mn==(Ut==null?void 0:Ut.length)-1?"0px":"10px"}},ge.createElement("div",{style:{minWidth:85,marginRight:"15px",textAlign:"right"}},"\u53D1\u5E03\u89C4\u5219",mn+1),ge.createElement(he.default,{disabled:St||((an=dt==null?void 0:dt.homework_status)!=null&&an.includes("\u672A\u53D1\u5E03")&&zt.id||ke()()<ke()(zt==null?void 0:zt.publish_time)?!1:!!(zt!=null&&zt.publish_time))||(0,Ae.Rm)()&&!((ln=Wt.AssistantObject.practice)!=null&&ln.can_publish),mode:"multiple",className:Ze.Z.multiple_select,style:{width:"250px"},value:zt.group_name,placeholder:"\u8BF7\u9009\u62E9\u5206\u73ED\u540D\u79F0",onChange:Yn=>{var Gn;if((0,Ae.Rm)()&&!((Gn=Wt.AssistantObject.practice)!=null&&Gn.can_publish)){je.ZP.warning("\u60A8\u672A\u83B7\u53D6\u6B64\u6743\u9650\uFF0C\u9700\u5411\u8BFE\u5802\u7BA1\u7406\u5458\u7533\u8BF7\u6743\u9650\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD");return}Ut[mn].group_name=Yn,Ut[mn].group_id=zt.group_id;const Qn=(0,me.flattenDeep)(Ut.map(Rr=>Rr.group_name)),nr=tn.map(Rr=>{let Ir=(Rr==null?void 0:Rr.group_name)||[];return Ct(Xe({},Rr),{group_name:(0,me.remove)(Ir,Bn=>Qn.includes(Bn))})});Vt(nr),yn(Ut.slice())},maxTagCount:4,maxTagPlaceholder:Yn=>ge.createElement("div",{style:{cursor:"pointer"},onClick:()=>Jn(zt,mn)},"+",Yn==null?void 0:Yn.length)},pt.group_settings&&pt.group_settings.map(function(Yn){if(!Ut.map(Qn=>Qn.group_name).flat().includes(Yn.group_name))return ge.createElement(Se,{value:Yn.group_name,key:Yn.id},Yn.group_name)})),ge.createElement("div",{className:"ml20"},ge.createElement(lt,{size:"large",ranges:{\u6B64\u523B:[zt.publish_time?ke()(zt.publish_time):ke()(),ke()()]},allowClear:!1,disabled:St||(ke()()<=ke()((xn=cn((qt=zt==null?void 0:zt.group_id)==null?void 0:qt[0]))==null?void 0:xn.publish_time)?!1:[!0,Kn((En=zt==null?void 0:zt.group_id)==null?void 0:En[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:Yn=>Be(Yn,pt==null?void 0:pt.course_end_date),disabledTime:Yn=>Dt(Yn),showTime:{showNow:!0,format:"HH:mm",defaultValue:[ke()((0,Me.U6)(),"HH:mm"),ke()((0,Me.U6)(),"HH:mm")]},format:"YYYY-MM-DD HH:mm",value:[zt.publish_time?ke()(zt.publish_time):void 0,zt.end_time?ke()(zt.end_time):void 0],onChange:(Yn,Gn)=>{var Qn;if((0,Ae.Rm)()&&!((Qn=Wt.AssistantObject.practice)!=null&&Qn.can_publish)){je.ZP.warning("\u60A8\u672A\u83B7\u53D6\u6B64\u6743\u9650\uFF0C\u9700\u5411\u8BFE\u5802\u7BA1\u7406\u5458\u7533\u8BF7\u6743\u9650\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD");return}Ut[mn].publish_time=Gn[0],!zt.end_time&&Gn[0]?Ut[mn].end_time=ke()(Gn[0]).add(7,"days"):Ut[mn].end_time=Gn[1],yn([...Ut])},onCalendarChange:(Yn,Gn,Qn)=>{if(Gn!=null&&Gn[0]&&!Gn[1]){const nr=ke()(Gn[0]).add(7,"days");Ut[mn].publish_time=Gn[0],Ut[mn].end_time=nr,yn([...Ut])}}})),!St&&ge.createElement("div",{style:{display:"flex",width:"50px"}},((_n=zt==null?void 0:zt.group_id)==null?void 0:_n.length)>1&&ge.createElement(we.Z,{title:"\u89C4\u5219\u62C6\u5206"},ge.createElement("i",{className:"iconfont icon-chaifen ml10",style:{cursor:"pointer",color:"#3061d0"},onClick:()=>Jn(zt,mn)})),Ut.length<(($n=pt==null?void 0:pt.group_settings)==null?void 0:$n.length)&&ge.createElement("i",{className:"iconfont icon-zengjia1 ml10 mr10",style:{cursor:"pointer",color:"#00B187"},onClick:()=>{var Yn;if((0,Ae.Rm)()&&!((Yn=Wt.AssistantObject.practice)!=null&&Yn.can_publish)){je.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}yn(Ut.concat({}))}}),((zt==null?void 0:zt.publish_time)&&ke()()<ke()(zt==null?void 0:zt.publish_time)||!(zt!=null&&zt.publish_time))&&mn!=0&&ge.createElement("i",{className:"iconfont icon-shanjian1",style:{cursor:"pointer",color:"#E30000"},onClick:()=>{const Yn=(0,me.cloneDeep)(tn);Yn.forEach((Gn,Qn)=>{Gn.group_name&&(Gn.group_name=Gn.group_name.filter(nr=>{var Rr;return!((Rr=Ut[mn].group_name)!=null&&Rr.includes(nr))}))}),Ut=Ut.filter((Gn,Qn)=>mn!==Qn),Vt(Yn),yn(Ut.slice()),setTimeout(()=>yn(Ut.slice()),10)}}))))}))),ge.createElement(ye.Z,null,ge.createElement(ze.Z,null,ge.createElement("div",{className:Ze.Z.title,style:{marginTop:"30px"}},"\u8865\u4EA4\u8BBE\u7F6E",ge.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"))),ge.createElement(ze.Z,{span:24,style:{background:"#F6F7F9",padding:"13px 30px",display:"flex",alignItems:"center"}},ge.createElement(se.default,{checked:Qt.allow_late,disabled:St||rr,onChange:zt=>{var mn;if((0,Ae.Rm)()&&!((mn=Wt.AssistantObject.practice)!=null&&mn.can_late)){je.ZP.warning("\u60A8\u672A\u83B7\u53D6\u6B64\u6743\u9650\uFF0C\u9700\u5411\u8BFE\u5802\u7BA1\u7406\u5458\u7533\u8BF7\u6743\u9650\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD");return}zt.target.checked&&be.default.warning({title:"\u5F00\u542F\u8865\u4EA4\u63D0\u793A",centered:!0,width:480,content:ge.createElement("div",{style:{padding:10,background:"#f5f6f9"}},ge.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"),ge.createElement("div",null,"2.\u8865\u4EA4\u622A\u6B62\u65F6\u95F4\u5FC5\u987B\u665A\u4E8E\u4F5C\u4E1A\u622A\u6B62\u65F6\u95F4\uFF1B"),ge.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"))}),Qt.allow_late=!Qt.allow_late,tn==""&&Vt([{late_penalty:5}]),sn(Object.assign({},Qt))}},ge.createElement("strong",null,"\u5F00\u542F\u8865\u4EA4")))),(Qt==null?void 0:Qt.allow_late)&&ge.createElement("div",{style:{background:"#F6F7F9",padding:"10px 30px",marginTop:"1px",color:"#666666"}},ge.createElement("div",{style:{display:"flex"}},ge.createElement("div",{style:{width:"110px",textAlign:"right"}},"\u8865\u4EA4\u65B9\u5F0F"),ge.createElement(De.ZP.Group,{style:{marginLeft:"20px"},disabled:St||(pt==null?void 0:pt.anonymous_comment)||(pt==null?void 0:pt.allow_late),value:Qt.unified_late,onChange:zt=>{var mn;if((0,Ae.Rm)()&&!((mn=Wt.AssistantObject.practice)!=null&&mn.can_late)){je.ZP.warning("\u60A8\u672A\u83B7\u53D6\u6B64\u6743\u9650\uFF0C\u9700\u5411\u8BFE\u5802\u7BA1\u7406\u5458\u7533\u8BF7\u6743\u9650\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD");return}Qt.unified_late=zt.target.value,tn==""&&!zt.target.value&&Vt([{penalty_type:oe.Q.Percent,late_penalty:20}]),sn(Xe({},Qt))}},(Qt==null?void 0:Qt.unified_setting)&&ge.createElement(De.ZP,{value:!0,disabled:!(pt!=null&&pt.manage_all_group),style:{marginRight:"50px"}},"\u7EDF\u4E00\u8865\u4EA4"),((de=pt==null?void 0:pt.group_settings)==null?void 0:de.length)>0&&ge.createElement(De.ZP,{value:!1},"\u5206\u73ED\u8865\u4EA4"))),Qt!=null&&Qt.unified_late?ge.createElement(ge.Fragment,null,ge.createElement(ye.Z,{align:"middle",style:{marginTop:"10px"}},ge.createElement(ze.Z,{style:{width:"110px",textAlign:"right"}},"\u8865\u4EA4\u6263\u5206"),ge.createElement(ze.Z,{className:"ml20"},ge.createElement(oe.Z,{disabled:St||sr,value:{type:Qt.penalty_type,inputValue:Qt.late_penalty},onChange:zt=>{var mn;if((0,Ae.Rm)()&&!((mn=Wt.AssistantObject.practice)!=null&&mn.can_late)){je.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}sn(Ct(Xe({},Qt),{late_penalty:zt.inputValue,penalty_type:zt.type}))}})),ge.createElement(ze.Z,{flex:"1",className:"ml5"},ge.createElement("span",{className:"c-grey-c ml10"},Qt.penalty_type===oe.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)"))),ge.createElement(ye.Z,{align:"middle",style:{marginTop:"15px"}},ge.createElement(ze.Z,{style:{width:"110px",textAlign:"right"}},"\u8865\u4EA4\u622A\u6B62\u65F6\u95F4"),ge.createElement(ze.Z,{className:"ml20"},ge.createElement(xe.default,{size:"large",allowClear:!1,style:{width:170},placeholder:"\u8BF7\u9009\u62E9\u622A\u6B62\u65F6\u95F4",showTime:{format:"HH:mm",defaultValue:ke()((0,Me.U6)(),"HH:mm")},format:"YYYY-MM-DD HH:mm",disabled:St||sr,value:Qt.late_time?ke()(Qt.late_time):"",disabledDate:zt=>Be(zt,pt==null?void 0:pt.course_end_date),onChange:(zt,mn)=>{var an;if((0,Ae.Rm)()&&!((an=Wt.AssistantObject.practice)!=null&&an.can_late)){je.ZP.warning("\u60A8\u672A\u83B7\u53D6\u6B64\u6743\u9650\uFF0C\u9700\u5411\u8BFE\u5802\u7BA1\u7406\u5458\u7533\u8BF7\u6743\u9650\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD");return}Qt.late_time=mn,sn(Object.assign({},Qt))}})))):tn.map(function(zt,mn){var an;return ge.createElement(ze.Z,{span:24,key:mn},ge.createElement(ye.Z,{style:{display:"flex",alignItems:"center",marginTop:"10px"}},ge.createElement("div",{style:{width:"85px",marginLeft:"27px",textAlign:"right"}},"\u8865\u4EA4\u89C4\u5219",mn+1),ge.createElement(he.default,{disabled:St||!((an=dt==null?void 0:dt.homework_status)!=null&&an.includes("\u672A\u53D1\u5E03"))&&zt.id||(pt==null?void 0:pt.anonymous_comment),mode:"multiple",className:Ze.Z.multiple_select,style:{width:"212px",marginLeft:"18px"},value:typeof zt.group_name=="string"?[zt.group_name]:zt.group_name,placeholder:"\u8BF7\u9009\u62E9\u5206\u73ED\u540D\u79F0",onChange:ln=>{var qt;if((0,Ae.Rm)()&&!((qt=Wt.AssistantObject.practice)!=null&&qt.can_late)){je.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}tn[mn].group_name=ln,tn[mn].group_id=zt.group_id,Vt(tn.slice())}},pt.group_settings&&pt.group_settings.map(function(ln){const qt=tn.map(En=>En.group_name).flat(),xn=Ut.map(En=>En.group_name).flat();if(Qt!=null&&Qt.unified_setting){if(!qt.includes(ln.group_name))return ge.createElement(Se,{value:ln.group_name,key:ln.id},ln.group_name)}else if(xn.includes(ln.group_name)&&!qt.includes(ln.group_name))return ge.createElement(Se,{value:ln.group_name,key:ln.id},ln.group_name)})),ge.createElement("div",{className:"ml20 mr10"},"\u8865\u4EA4\u6263\u5206"),ge.createElement(oe.Z,{disabled:St||kn(zt.id),value:{type:zt.penalty_type,inputValue:zt.late_penalty},onChange:ln=>{var qt;if((0,Ae.Rm)()&&!((qt=Wt.AssistantObject.practice)!=null&&qt.can_late)){je.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}tn[mn].late_penalty=ln.inputValue,tn[mn].penalty_type=ln.type,Vt([...tn])}}),ge.createElement("div",{className:"ml20 mr10"},"\u8865\u4EA4\u622A\u6B62\u65F6\u95F4"),ge.createElement(xe.default,{size:"large",disabled:St||kn(zt.id),style:{width:225},showTime:{format:"HH:mm",defaultValue:ke()((0,Me.U6)(),"HH:mm")},placeholder:"\u8BF7\u9009\u62E9\u622A\u6B62\u65F6\u95F4",disabledDate:ln=>Be(ln,pt==null?void 0:pt.course_end_date),format:"YYYY-MM-DD HH:mm",value:zt!=null&&zt.late_time?ke()(zt.late_time):void 0,onChange:(ln,qt)=>{var xn;if((0,Ae.Rm)()&&!((xn=Wt.AssistantObject.practice)!=null&&xn.can_late)){je.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}tn[mn].late_time=qt,Vt([...tn])}}),!St&&ge.createElement("div",{style:{display:"flex",width:"50px"}},ge.createElement("i",{className:"iconfont icon-zengjia1 ml10 mr10",style:{cursor:"pointer",color:"#00B187"},onClick:()=>{var ln;if((0,Ae.Rm)()&&!((ln=Wt.AssistantObject.practice)!=null&&ln.can_late)){je.ZP.warning("\u60A8\u672A\u83B7\u53D6\u6B64\u6743\u9650\uFF0C\u9700\u5411\u8BFE\u5802\u7BA1\u7406\u5458\u7533\u8BF7\u6743\u9650\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD");return}Vt(tn.concat({penalty_type:oe.Q.Percent,late_penalty:20}))}}),mn>0&&!zt.id&&ge.createElement("i",{className:"iconfont icon-shanjian1",style:{cursor:"pointer",color:"#E30000"},onClick:()=>{var ln;if((0,Ae.Rm)()&&!((ln=Wt.AssistantObject.practice)!=null&&ln.can_late)){je.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}tn=tn.filter((qt,xn)=>mn!==xn),Vt(tn.slice()),setTimeout(()=>Vt(tn.slice()),10)}}))))})),!St&&ge.createElement(ge.Fragment,null,ge.createElement(Ye.ZP,{type:"primary",size:"large",loading:st,style:{width:"138px",marginTop:"30px"},onClick:()=>kt()},"\u4FDD\u5B58")),ge.createElement(rt.Z,{onConfirm:(zt,mn)=>{Ut.splice(zt,0,...mn),Ut.splice(zt+mn.length,1);const an=(0,Me.QE)([...Ut]);yn([...an])}}),ge.createElement(Ne.Z,{resdata:bt,type:"shixun",okloading:st,oktext:(bt==null?void 0:bt.can_copy_num)===0?"\u786E\u5B9A":"\u4E00\u952E\u590D\u5236\u5E76\u66FF\u6362",onok:zt=>Yt(void 0,null,function*(){en(!0);let mn=yield(0,Ce.ZP)(`/api/courses/${Ue.coursesId}/batch_copy_shixuns.json`,{method:"post",body:{type:"homework_common",ids:[parseInt(Ue.categoryId)]}});en(!1),(mn==null?void 0:mn.status)===0&&wt(un)})}))};yt.ZP=(0,Qe.connect)(({shixunHomeworks:at,classroomList:jt,loading:ft,user:Wt})=>({shixunHomeworks:at,classroomList:jt,loading:ft.effects,user:Wt}))(Re)},61604:function(dn,yt,E){"use strict";var y=E(59301),xe=E(94968),he=E(28284),je=E(62957),be=E(6767),De=E(70858),ye=E(65582),ze=E(74128),we=E(84511),se=E(38147),Ye=E(66649),fe=E.n(Ye),ke=E(65862),Ae=E(59301),Ce=Object.defineProperty,me=Object.getOwnPropertySymbols,ue=Object.prototype.hasOwnProperty,Me=Object.prototype.propertyIsEnumerable,Ze=(Ne,Ge,ge)=>Ge in Ne?Ce(Ne,Ge,{enumerable:!0,configurable:!0,writable:!0,value:ge}):Ne[Ge]=ge,Qe=(Ne,Ge)=>{for(var ge in Ge||(Ge={}))ue.call(Ge,ge)&&Ze(Ne,ge,Ge[ge]);if(me)for(var ge of me(Ge))Me.call(Ge,ge)&&Ze(Ne,ge,Ge[ge]);return Ne},oe=(Ne,Ge,ge)=>new Promise((Oe,Ve)=>{var Pe=pe=>{try{Le(ge.next(pe))}catch(qe){Ve(qe)}},it=pe=>{try{Le(ge.throw(pe))}catch(qe){Ve(qe)}},Le=pe=>pe.done?Oe(pe.value):Promise.resolve(pe.value).then(Pe,it);Le((ge=ge.apply(Ne,Ge)).next())});const{Dragger:Fe}=xe.default,rt=({classroomList:Ne,dispatch:Ge,onOk:ge})=>{const Oe=(0,ye.useParams)(),[Ve]=he.default.useForm(),[Pe,it]=(0,y.useState)(),[Le,pe]=(0,y.useState)(!1),qe={height:100,onRemove:()=>{it("")},accept:".xls,.xlsx",multiple:!1,maxCount:1,beforeUpload:Xe=>oe(void 0,null,function*(){return it(Xe),!1})};return(0,y.useEffect)(()=>{Ve.setFieldsValue({publish_time:fe()(fe()(new Date).add(0,"days").format("YYYY-MM-DD HH:mm")),end_time:fe()(fe()(new Date((0,ke.qd)("/"))).add(7,"days").format("YYYY-MM-DD HH:mm"))})},[]),Ae.createElement(je.default,{centered:!0,title:"\u8865\u5145\u6210\u7EE9",open:Ne.actionTabs.key==="\u8865\u5145\u6210\u7EE9",okText:"\u786E\u5B9A",width:750,destroyOnClose:!0,cancelText:"\u53D6\u6D88",okButtonProps:{loading:Le},onOk:()=>oe(void 0,null,function*(){Ve.submit()}),onCancel:()=>{Ve.resetFields(),Ge({type:"classroomList/setActionTabs",payload:{}})}},Ae.createElement(he.default,{form:Ve,onFinish:Xe=>oe(void 0,null,function*(){var Ct,Yt,We;if(!(Pe!=null&&Pe.size)){be.ZP.info("\u8BF7\u4E0A\u4F20\u6587\u4EF6");return}pe(!0);let Be=new FormData;Be.append("type",Ne.actionTabs.type),Be.append("file",Pe);let Dt;window.location.href.indexOf("exercise")>-1?Dt=`/api/exercises/${Ne.actionTabs.id}/supplement_score.json`:Dt=`/api/homework_commons/${Ne.actionTabs.id}/supplement_score.json`;let Zt=yield(0,se.ZP)(Dt,{method:"post",body:Be},!0);pe(!1),(Zt==null?void 0:Zt.status)===0&&(ge(),Ve.resetFields(),Ge({type:"classroomList/setActionTabs",payload:{}}),((Yt=(Ct=Zt==null?void 0:Zt.data)==null?void 0:Ct.fail)==null?void 0:Yt.length)>0&&je.default.confirm({title:"\u5BFC\u5165\u5931\u8D25",closable:!0,icon:null,width:610,content:Ae.createElement(De.default,{pagination:!1,dataSource:(We=Zt==null?void 0:Zt.data)==null?void 0:We.fail,scroll:{y:400},columns:[{title:"\u59D3\u540D",align:"left",dataIndex:"name"},{title:"\u5B66\u53F7/\u624B\u673A\u53F7/\u90AE\u7BB1",align:"left",dataIndex:"student_id"},{title:"\u5BFC\u5165\u5931\u8D25\u539F\u56E0",align:"left",dataIndex:"message"}]}),okText:"\u4E0B\u8F7D\u5BFC\u5165\u5931\u8D25\u6587\u4EF6",cancelText:"\u53D6\u6D88",onOk:()=>{(0,ke.FH)("",ze.Z.API_SERVER+`/api/courses/get_external_score_fail_data.xlsx?type=${Ne.actionTabs.type}`)}}))})},Ae.createElement(he.default.Item,{label:"\u4F5C\u4E1A\u540D\u79F0",labelCol:{span:3},name:"name"},Ne.actionTabs.name),Ae.createElement(he.default.Item,{style:{marginBottom:0},label:Ae.createElement("div",null,Ae.createElement("span",{style:{color:"#ff4d4f",marginRight:5,fontFamily:"SimSun,sans-serif"}},"*"),Ae.createElement("span",null,"\u5BFC\u5165\u6587\u4EF6")),labelCol:{span:3},rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u4F5C\u4E1A\u540D\u79F0"}]},Ae.createElement("div",null,Ae.createElement("a",{download:"\u6A21\u7248.xlsx",className:we.Z.downloadbutton,href:ze.Z.API_SERVER+`/api/courses/down_external_score_template.json?type=${Ne.actionTabs.type}`},"\u4E0B\u8F7D\u6A21\u7248\u8868\u683C"),Ae.createElement("span",{style:{marginLeft:10,color:"#999999"}},"\uFF08\u6839\u636E\u63D0\u793A\u4FE1\u606F\u5B8C\u5584\u8868\u683C\u5185\u5BB9\uFF09")),Ae.createElement(he.default.Item,{style:{marginBottom:0}},Ae.createElement(Fe,Qe({},qe),Ae.createElement("a",{className:we.Z.downloadbutton,style:{width:96}},"\u9009\u62E9\u6587\u4EF6"),Ae.createElement("br",null),Ae.createElement("span",{style:{color:"#999999"}},"\u4E0B\u8F7D\u6A21\u677F\u5E76\u5B8C\u5584\u4FE1\u606F\u540E\uFF0C\u53EF\u5C06\u6587\u4EF6\u62D6\u66F3\u81F3\u6B64\u5904\u4E0A\u4F20\u3002\u652F\u6301\u683C\u5F0F\uFF1A.xls\u3001.xlsx"))))))};yt.Z=(0,ye.connect)(({classroomList:Ne})=>({classroomList:Ne}))(rt)},62686:function(dn,yt,E){"use strict";var y=E(59301),xe=E(94968),he=E(28284),je=E(62957),be=E(6767),De=E(70858),ye=E(37568),ze=E(77019),we=E(5269),se=E(4875),Ye=E(24017),fe=E(65582),ke=E(25374),Ae=E(74128),Ce=E(84511),me=E(38147),ue=E(99981),Me=E(66649),Ze=E.n(Me),Qe=E(65862),oe=E(59301),Fe=Object.defineProperty,rt=Object.getOwnPropertySymbols,Ne=Object.prototype.hasOwnProperty,Ge=Object.prototype.propertyIsEnumerable,ge=(Le,pe,qe)=>pe in Le?Fe(Le,pe,{enumerable:!0,configurable:!0,writable:!0,value:qe}):Le[pe]=qe,Oe=(Le,pe)=>{for(var qe in pe||(pe={}))Ne.call(pe,qe)&&ge(Le,qe,pe[qe]);if(rt)for(var qe of rt(pe))Ge.call(pe,qe)&&ge(Le,qe,pe[qe]);return Le},Ve=(Le,pe,qe)=>new Promise((Xe,Ct)=>{var Yt=Dt=>{try{Be(qe.next(Dt))}catch(Zt){Ct(Zt)}},We=Dt=>{try{Be(qe.throw(Dt))}catch(Zt){Ct(Zt)}},Be=Dt=>Dt.done?Xe(Dt.value):Promise.resolve(Dt.value).then(Yt,We);Be((qe=qe.apply(Le,pe)).next())});const{Dragger:Pe}=xe.default,it=({classroomList:Le,dispatch:pe,onOk:qe})=>{const Xe=(0,fe.useParams)(),[Ct]=he.default.useForm(),[Yt,We]=(0,y.useState)(),[Be,Dt]=(0,y.useState)(!1),Zt={height:100,onRemove:()=>{We("")},accept:".xls,.xlsx",maxCount:1,multiple:!1,beforeUpload:lt=>Ve(void 0,null,function*(){return We(lt),!1})};return(0,y.useEffect)(()=>{Ct.setFieldsValue({publish_time:Ze()(Ze()(new Date).add(0,"days").format("YYYY-MM-DD HH:mm")),end_time:Ze()(Ze()(new Date((0,Qe.qd)("/"))).add(7,"days").format("YYYY-MM-DD HH:mm"))})},[Le.actionTabs.key==="\u5BFC\u5165\u5916\u90E8\u6210\u7EE9"]),oe.createElement(je.default,{centered:!0,title:"\u5BFC\u5165\u5916\u90E8\u6210\u7EE9",open:Le.actionTabs.key==="\u5BFC\u5165\u5916\u90E8\u6210\u7EE9",okText:"\u786E\u5B9A",width:750,destroyOnClose:!0,cancelText:"\u53D6\u6D88",okButtonProps:{loading:Be},onOk:()=>Ve(void 0,null,function*(){Ct.submit()}),onCancel:()=>{Ct.resetFields(),pe({type:"classroomList/setActionTabs",payload:{}})}},oe.createElement(he.default,{form:Ct,colon:!1,onFinish:lt=>Ve(void 0,null,function*(){var Se,Re,at;if(!(Yt!=null&&Yt.size)){be.ZP.info("\u8BF7\u4E0A\u4F20\u6587\u4EF6");return}Dt(!0);let jt=new FormData;jt.append("name",lt.name),jt.append("type",Le.actionTabs.type),jt.append("category_id",(Xe==null?void 0:Xe.categoryId)||null),Le.actionTabs.type==="exercise"?(jt.append("time",lt.time||""),jt.append("total_score",lt.total_score)):jt.append("description",lt.description||""),jt.append("publish_time",Ze()(lt.publish_time).format("YYYY-MM-DD HH:mm")),jt.append("end_time",Ze()(lt.end_time).format("YYYY-MM-DD HH:mm")),jt.append("file",Yt);let ft=yield(0,me.ZP)(`/api/courses/${Xe.coursesId}/export_external_score_homework.json`,{method:"post",body:jt},!0);Dt(!1),(ft==null?void 0:ft.status)===0&&(Ct.resetFields(),pe({type:"classroomList/setActionTabs",payload:{}}),qe(),((Re=(Se=ft==null?void 0:ft.data)==null?void 0:Se.fail)==null?void 0:Re.length)>0&&je.default.confirm({title:"\u5BFC\u5165\u5931\u8D25",closable:!0,icon:null,width:610,content:oe.createElement(De.default,{pagination:!1,dataSource:(at=ft==null?void 0:ft.data)==null?void 0:at.fail,scroll:{y:400},columns:[{title:"\u59D3\u540D",align:"left",dataIndex:"name"},{title:"\u5B66\u53F7/\u624B\u673A\u53F7/\u90AE\u7BB1",align:"left",dataIndex:"student_id"},{title:"\u5BFC\u5165\u5931\u8D25\u539F\u56E0",align:"left",dataIndex:"message"}]}),okText:"\u4E0B\u8F7D\u5BFC\u5165\u5931\u8D25\u6587\u4EF6",cancelText:"\u53D6\u6D88",onOk:()=>{(0,Qe.FH)("",Ae.Z.API_SERVER+`/api/courses/get_external_score_fail_data.xlsx?type=${Le.actionTabs.type}`)}}))})},oe.createElement(he.default.Item,{label:Le.actionTabs.type!=="exercise"?"\u4F5C\u4E1A":"\u8BD5\u5377\u540D\u79F0",labelCol:{span:3},name:"name",rules:[{required:!0,message:`\u8BF7\u8F93\u5165${Le.actionTabs.type!=="exercise"?"\u4F5C\u4E1A":"\u8BD5\u5377"}\u540D\u79F0`}]},oe.createElement(ye.default,{showCount:!0,placeholder:`\u8BF7\u8F93\u5165${Le.actionTabs.type!=="exercise"?"\u4F5C\u4E1A":"\u8BD5\u5377"}\u540D\u79F0`,maxLength:60})),Le.actionTabs.type!=="exercise"&&oe.createElement(he.default.Item,{label:"\u4F5C\u4E1A\u63CF\u8FF0",labelCol:{span:3},name:"description"},oe.createElement(ke.Z,{watch:!0})),Le.actionTabs.type==="exercise"&&oe.createElement(ze.Z,{style:{marginLeft:6}},oe.createElement(we.Z,{span:12},oe.createElement(he.default.Item,{label:"\u8BD5\u5377\u603B\u5206",name:"total_score",rules:[{required:!0,message:"\u8BF7\u586B\u5199\u8BD5\u5377\u603B\u5206"},{pattern:/^(?:[1-9]\d*(?:\.\d+)?|0\.\d*[1-9]\d*)$/,message:"\u8BD5\u5377\u603B\u5206\u5FC5\u987B\u4E3A\u6B63\u6570"}]},oe.createElement(ye.default,{placeholder:"\u8BF7\u8F93\u5165\u8BD5\u5377\u603B\u5206",style:{width:256},addonAfter:"\u5206"}))),oe.createElement(we.Z,{span:12},oe.createElement(he.default.Item,{label:"\u7B54\u9898\u65F6\u957F",labelCol:{span:6},name:"time"},oe.createElement(se.Z,{style:{width:"100%"},addonAfter:"\u5206\u949F",placeholder:"\u8BF7\u8F93\u5165\u7B54\u9898\u65F6\u957F"})))),oe.createElement(ze.Z,{style:{marginLeft:6,marginBottom:12}},oe.createElement(we.Z,{span:12},oe.createElement(he.default.Item,{label:"\u5F00\u59CB\u65F6\u95F4",name:"publish_time",rules:[{required:!0,message:"\u8BF7\u9009\u62E9\u5F00\u59CB\u65F6\u95F4"}]},oe.createElement(Ye.default,{placeholder:"\u8BF7\u9009\u62E9\u53D1\u5E03\u65F6\u95F4",showTime:{format:"HH:mm"},style:{width:256},disabledDate:lt=>(0,ue.Q8)(lt),disabledTime:lt=>(0,ue.d0)(lt),allowClear:!1,format:"YYYY-MM-DD HH:mm"}))),oe.createElement(we.Z,{span:12},oe.createElement(he.default.Item,{label:"\u7ED3\u675F\u65F6\u95F4",labelCol:{span:6},name:"end_time",rules:[{required:!0,message:"\u8BF7\u9009\u62E9\u7ED3\u675F\u65F6\u95F4"}]},oe.createElement(Ye.default,{placeholder:"\u8BF7\u9009\u62E9\u53D1\u5E03\u65F6\u95F4",showTime:{format:"HH:mm"},style:{width:"100%"},disabledDate:lt=>(0,ue.Q8)(lt,"",Ct.getFieldValue("publish_time")),disabledTime:lt=>(0,ue.d0)(lt,Ct.getFieldValue("publish_time")),allowClear:!1,format:"YYYY-MM-DD HH:mm"})))),oe.createElement(he.default.Item,{style:{marginBottom:0},label:oe.createElement("div",null,oe.createElement("span",{style:{color:"#ff4d4f",marginRight:5,fontFamily:"SimSun,sans-serif"}},"*"),oe.createElement("span",null,"\u5BFC\u5165\u6587\u4EF6")),labelCol:{span:3},rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u4F5C\u4E1A\u540D\u79F0"}]},oe.createElement("div",null,oe.createElement("a",{download:"\u6A21\u7248.xlsx",className:Ce.Z.downloadbutton,href:Ae.Z.API_SERVER+`/api/courses/down_external_score_template.json?type=${Le.actionTabs.type}`},"\u4E0B\u8F7D\u6A21\u7248\u8868\u683C"),oe.createElement("span",{style:{marginLeft:10,color:"#999999"}},"\uFF08\u6839\u636E\u63D0\u793A\u4FE1\u606F\u5B8C\u5584\u8868\u683C\u5185\u5BB9\uFF09")),oe.createElement(he.default.Item,{style:{marginBottom:0}},oe.createElement(Pe,Oe({},Zt),oe.createElement("a",{className:Ce.Z.downloadbutton,style:{width:96}},"\u9009\u62E9\u6587\u4EF6"),oe.createElement("br",null),oe.createElement("span",{style:{color:"#999999"}},"\u4E0B\u8F7D\u6A21\u677F\u5E76\u5B8C\u5584\u4FE1\u606F\u540E\uFF0C\u53EF\u5C06\u6587\u4EF6\u62D6\u66F3\u81F3\u6B64\u5904\u4E0A\u4F20\u3002\u652F\u6301\u683C\u5F0F\uFF1A.xls\u3001.xlsx"))))))};yt.Z=(0,fe.connect)(({classroomList:Le})=>({classroomList:Le}))(it)},48436:function(dn,yt,E){"use strict";E.d(yt,{Z:function(){return Ye}});var y=E(59301),xe=E(93041),he=E(37568),je=E(62673),be=E(7939),De=E(75727),ye={bottomControlContainer:"bottomControlContainer___woAeo",buttonWrap:"buttonWrap___iRw4K",moveCategory:"moveCategory___oiQqw"},ze=E(41867),we=E(84105),Ye=({buttonDataSource:fe,onButtonClick:ke,useBatchStatus:Ae,allSelect:Ce,setAllSelect:me,selectArrs:ue,onMenuClick:Me,setSeleArr:Ze,catalogue:Qe,addCatalogue:oe})=>{const[Fe,rt]=(0,y.useState)(!1),[Ne,Ge]=(0,y.useState)("");console.log("---",Qe);const ge=y.createElement("div",{className:ye.moveCategory,onMouseLeave:Oe=>rt(!1)},y.createElement(xe.default,{onClick:Me,style:{maxHeight:300,width:240,overflow:"auto"}},y.createElement("li",{className:"ant-menu-item multi-llipsis1e ant-menu-item-only-child"},y.createElement(he.default,{onChange:Oe=>{Ge(Oe.target.value)}})),Qe==null?void 0:Qe.map(function(Oe,Ve){var Pe;if(!(Ne!==""&&Oe.category_name.indexOf(Ne)<0))return y.createElement(y.Fragment,null,y.createElement(xe.default.Item,{className:"multi-llipsis1e",key:Oe.category_id,title:Oe.category_name},Oe.category_name),(Pe=Oe==null?void 0:Oe.third_category)==null?void 0:Pe.map(it=>y.createElement(xe.default.Item,{style:{marginLeft:20},className:"multi-llipsis1e",key:it.category_id,title:it.category_name},it.category_name)))}),oe&&y.createElement("li",{className:"ant-menu-item multi-llipsis1e ant-menu-item-only-child",onClick:oe},"\u65B0\u5EFA\u5B50\u76EE\u5F55...")));return y.createElement("div",{className:ye.bottomControlContainer},y.createElement("div",null,y.createElement("div",null,y.createElement(je.default,{checked:Ce,onChange:me},"\u5168\u9009\u672C\u9875\uFF08",ue.length,"\uFF09")),(0,ze.GJ)()&&fe.map(Oe=>y.createElement("div",{key:Oe.name},y.createElement(be.ZP,{type:"primary",icon:Oe.icon,className:ye.buttonWrap,onClick:()=>ke(Oe)},Oe.name))),(0,ze.GJ)()&&(oe||Qe)&&y.createElement("div",null,y.createElement(De.Z,{open:Fe,placement:"topLeft",autoAdjustOverflow:!1,dropdownRender:()=>ge,getPopupContainer:Oe=>Oe.parentNode},y.createElement("span",{className:"ant-dropdown-link",onMouseEnter:Oe=>rt(!0)},y.createElement(be.ZP,{type:"primary",className:ye.buttonWrap,icon:y.createElement("i",{className:"iconfont icon-yidongmulu"})},y.createElement("span",null,"\u79FB\u52A8\u5230\u76EE\u5F55 ",y.createElement(we.Z,null))))))),y.createElement("div",null,y.createElement(be.ZP,{type:"primary",ghost:!0,onClick:()=>{Ae(!1),Ze([])}},"\u53D6\u6D88\u64CD\u4F5C")))}},42656:function(dn,yt,E){"use strict";E.d(yt,{Z:function(){return ue}});var y=E(59301),xe=E(65582),he=E(24017),je=E(62957),be=E(37568),De=E(6767),ye=E(77019),ze=E(5269),we={title_tooltip:"title_tooltip___LLdrn",multiple_select:"multiple_select___kDXUm",modal_con:"modal_con___ERnkW"},se=E(66649),Ye=E.n(se),fe=E(65862),ke=E(2524),Ae=E(59301);const{RangePicker:Ce}=he.default,me=({dispatch:Me,classroomList:Ze,onConfirm:Qe})=>{const[oe,Fe]=(0,y.useState)([]),[rt,Ne]=(0,y.useState)([]),[Ge,ge]=(0,y.useState)(""),[Oe,Ve]=(0,y.useState)([!1,!1]);(0,y.useEffect)(()=>{var Le,pe,qe,Xe;if(Ze.actionTabs.key==="\u5206\u73ED\u53D1\u5E03-\u53D1\u5E03\u89C4\u5219\u62C6\u5206"){console.log((Le=Ze.actionTabs)==null?void 0:Le.rangePickerDisabled),(pe=Ze.actionTabs)!=null&&pe.rangePickerDisabled?Ve((qe=Ze.actionTabs)==null?void 0:qe.rangePickerDisabled):Ve([!1,!1]);let Ct=Ze.actionTabs.data,Yt=(Xe=Ct==null?void 0:Ct.group_name)==null?void 0:Xe.map((We,Be)=>{var Dt;return{group_id:Ct==null?void 0:Ct.group_id[Be],group_name:Ct==null?void 0:Ct.group_name[Be],is_admin:Ct==null?void 0:Ct.is_admin,end_time:Ct==null?void 0:Ct.end_time,publish_time:Array.isArray(Ct==null?void 0:Ct.publish_time)?(Dt=Ct==null?void 0:Ct.publish_time)==null?void 0:Dt[0]:Ct==null?void 0:Ct.publish_time}});Yt&&(Fe([...Yt]),Ne([...Yt]))}},[Ze.actionTabs]);const Pe=()=>{Me({type:"classroomList/setActionTabs",payload:{}}),ge("")},it=Le=>{if(Le){const pe=rt==null?void 0:rt.filter(qe=>{var Xe,Ct;return(Ct=(Xe=qe==null?void 0:qe.group_name)==null?void 0:Xe.toLowerCase())==null?void 0:Ct.includes(Le==null?void 0:Le.toLowerCase())});Fe(pe)}else Fe(rt)};return Ae.createElement(je.default,{width:980,title:Ae.createElement("div",{style:{fontWeight:"bold",display:"flex"}},Ae.createElement("div",null,"\u5206\u73ED\u53D1\u5E03-\u53D1\u5E03\u89C4\u5219\u62C6\u5206",Ae.createElement("span",{className:we.title_tooltip},"\uFF08\u5F53\u5206\u73ED\u53D1\u5E03\u65F6\u95F4\u548C\u622A\u6B62\u65F6\u95F4\u4E0D\u76F8\u540C\u65F6\u5019\uFF0C\u73ED\u7EA7\u81EA\u52A8\u62C6\u5206\u51FA\u53BB\u65B0\u8D77\u89C4\u5219\uFF09")),Ae.createElement(be.default.Search,{allowClear:!0,placeholder:"\u8BF7\u8F93\u5165\u5173\u952E\u5B57\u8FDB\u884C\u641C\u7D22",style:{width:220,marginLeft:"60px"},value:Ge,onChange:Le=>{ge(Le.target.value.trim()),it(Le.target.value.trim())}})),centered:!0,maskClosable:!1,open:Ze.actionTabs.key==="\u5206\u73ED\u53D1\u5E03-\u53D1\u5E03\u89C4\u5219\u62C6\u5206",onCancel:()=>Pe(),onOk:()=>{var Le;if(rt.some(qe=>!qe.end_time||!qe.publish_time)){De.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}Qe((Le=Ze.actionTabs)==null?void 0:Le.index,rt),Pe()}},Ae.createElement("div",{className:we.modal_con},Ae.createElement(ye.Z,{style:{display:"flex",color:"#666666",padding:"5px",marginTop:"1px"}},(oe==null?void 0:oe.length)>0?oe.map(function(Le,pe){return Ae.createElement(ze.Z,{span:24,key:pe},Ae.createElement(ye.Z,{gutter:[8,16],style:{display:"flex",alignItems:"center",marginBottom:pe==(oe==null?void 0:oe.length)-1?"0px":"10px"}},Ae.createElement("div",{className:we.multiple_select,title:Le==null?void 0:Le.group_name},Le==null?void 0:Le.group_name),Ae.createElement("div",{className:"ml20"},Ae.createElement(Ce,{size:"large",allowClear:!1,disabled:Oe,style:{width:600},placeholder:["\u53D1\u5E03\u65F6\u95F4\uFF08\u5B66\u751F\u6536\u5230\u4F5C\u4E1A\u65F6\u95F4\uFF09","\u622A\u6B62\u65F6\u95F4\uFF08\u5B66\u751F\u201C\u6309\u65F6\u201D\u63D0\u4EA4\u4F5C\u54C1\u65F6\u95F4\u622A\u70B9\uFF09"],disabledDate:qe=>{var Xe;return(0,fe.Q8)(qe,(Xe=Ze.actionTabs)==null?void 0:Xe.disabledDate)},disabledTime:qe=>(0,fe.d0)(qe),showTime:{showNow:!0,format:"HH:mm",defaultValue:[Ye()((0,fe.U6)(),"HH:mm"),Ye()((0,fe.U6)(),"HH:mm")]},format:"YYYY-MM-DD HH:mm",value:(Le==null?void 0:Le.publish_time)&&[Ye()(Le==null?void 0:Le.publish_time),Le!=null&&Le.end_time?Ye()(Le==null?void 0:Le.end_time):void 0],onChange:(qe,Xe)=>{oe[pe].publish_time=Xe[0],oe[pe].end_time=Xe[1],Fe([...oe]),rt.forEach(Ct=>{Ct.group_id===(Le==null?void 0:Le.group_id)&&(Ct.publish_time=Xe[0],Ct.end_time=Xe[1])}),Ne([...rt])},onCalendarChange:(qe,Xe,Ct)=>{if(Xe!=null&&Xe[0]&&!Xe[1]){const Yt=Ye()(Xe[0]).add(7,"days");oe[pe].publish_time=Xe[0],oe[pe].end_time=Yt,Fe([...oe]),rt.forEach(We=>{We.group_id===(Le==null?void 0:Le.group_id)&&(We.publish_time=Xe[0],We.end_time=Yt)}),Ne([...rt])}}})),Oe[0]?Ae.createElement("i",{className:"iconfont icon-shanjian1 ml15",style:{color:"#E30000",opacity:"0.2",cursor:"not-allowed"}}):Ae.createElement("i",{className:"iconfont icon-shanjian1 ml15",style:{cursor:"pointer",color:"#E30000"},onClick:()=>{oe.splice(pe,1),Fe([...oe]),rt.forEach((qe,Xe)=>{qe.group_id===(Le==null?void 0:Le.group_id)&&rt.splice(Xe,1)}),Ne([...rt])}})))}):Ae.createElement(ke.Z,null))))};var ue=(0,xe.connect)(({classroomList:Me})=>({classroomList:Me}))(me)},37497:function(dn,yt,E){"use strict";E.d(yt,{Z:function(){return Ze}});var y=E(59301),xe=E(93041),he=E(62673),je=E(7939),be=E(75727),De=E(25399),ye=E(82326),ze=E(37568),we={searchSortControllerContainer:"searchSortControllerContainer___Xca1m",btn:"btn___sNJPX",btnSort:"btnSort___Fx9OM",tips:"tips___LrmpR",capacity:"capacity___kEj1v",title:"title___kVH8u",value:"value___EvnCZ"},se=E(41867),Ye=E(87395),fe=E(84105),ke=E(26724),Ae=E.n(ke),Ce=E(65582),me=E(65862),ue=(Qe,oe,Fe)=>new Promise((rt,Ne)=>{var Ge=Ve=>{try{Oe(Fe.next(Ve))}catch(Pe){Ne(Pe)}},ge=Ve=>{try{Oe(Fe.throw(Ve))}catch(Pe){Ne(Pe)}},Oe=Ve=>Ve.done?rt(Ve.value):Promise.resolve(Ve.value).then(Ge,ge);Oe((Fe=Fe.apply(Qe,oe)).next())}),Ze=({dataSource:Qe,batchStatus:oe,SortMenuName:Fe,setSortMenuName:rt,detailCourseGroupsList:Ne,onSearch:Ge,onBoard:ge,onSort:Oe,isboard:Ve,dispatch:Pe,onBatch:it,SortMenus:Le,capacity:pe,isShowMode:qe=!1,isLeftAuto:Xe=!1,onModeChange:Ct})=>{var Yt,We,Be,Dt;const Zt=location.pathname.includes("attachment")||location.pathname.includes("video"),[lt,Se]=(0,y.useState)(!1),[Re,at]=(0,y.useState)([]),[jt,ft]=(0,y.useState)(!0);let[Wt,xt]=(0,y.useState)([]);const[$t,Rt]=(0,y.useState)(1),[ce,ne]=(0,y.useState)(!1),te=(0,Ce.useDispatch)(),le=(We=(Yt=(0,se.eY)())==null?void 0:Yt.paid_version)==null?void 0:We.version_type,{globalSetting:ve}=(0,Ce.getDvaApp)()._store.getState(),re=(0,Ce.useParams)(),de=tt=>{rt(tt.name),Oe(tt)};(0,y.useEffect)(()=>{Ve&&Ue()},[Ve]);const Ue=()=>ue(void 0,null,function*(){var tt;if(jt&&!ce){ne(!0),Rt($t+1);const dt=yield Pe({type:"classroomList/getCourseGroupsList",payload:{page:$t,id:re.coursesId,limit:20,nonenavigate:!0}});let gt=[...(dt==null?void 0:dt.course_groups)||[]];((tt=dt==null?void 0:dt.course_groups)==null?void 0:tt.length)<20&&(ft(!1),gt.push({id:0,name:"\u672A\u5206\u73ED"})),ne(!1),xt([...Wt,...gt])}}),pt=y.createElement("section",{className:we.dropmenu},y.createElement("div",{style:{maxHeight:200,overflow:"auto"}},y.createElement(Ae(),{initialLoad:!1,pageStart:1,threshold:20,loadMore:tt=>{Ue()},hasMore:jt,useWindow:!1},y.createElement(xe.default,{style:{width:240,zIndex:10}},(Ne==null?void 0:Ne.group_count)>0&&(Wt==null?void 0:Wt.filter(tt=>tt.edit_auth||tt.name==="\u672A\u5206\u73ED").map(function(tt,dt){return y.createElement(xe.default.Item,{key:tt.id},y.createElement(he.default,{checked:Re.includes(tt.id),value:tt.id,onChange:gt=>{let St=Re.indexOf(tt.id);Re.indexOf(tt.id)>-1?at(Re.filter(_e=>_e!==tt.id)):at(Re.concat(tt.id))}},tt.name))}))))),y.createElement("aside",{style:{background:"#fff"}},y.createElement("div",null,y.createElement(je.ZP,{type:"link",onClick:()=>{ge(Re)}},"\u786E\u5B9A"),y.createElement(je.ZP,{type:"link",onClick:()=>{at([])}},"\u91CD\u7F6E")))),et=Fe==="\u9ED8\u8BA4\u6392\u5E8F";return y.createElement("div",{className:we.searchSortControllerContainer},!!(Le!=null&&Le.length)&&y.createElement("div",null,y.createElement(be.Z,{dropdownRender:()=>y.createElement(xe.default,{selectedKeys:[Fe]},Le.map(tt=>y.createElement(xe.default.Item,{key:tt.name,onClick:()=>de(tt)},tt.name)))},y.createElement("div",null,y.createElement("span",{className:`${we.btn} ${et?we.btnSort:""}`},y.createElement("i",{className:"iconfont icon-paixu font14 mr5"}),Fe)))),et&&y.createElement(De.Z,{title:"\u4F18\u5148\u6309\u7167\u8C03\u6574\u6392\u5E8F\u7ED3\u679C\u5C55\u793A\uFF0C\u672A\u8BBE\u7F6E\u6392\u5E8F\u65F6\uFF0C\u6309\u7167\u521B\u5EFA\u65F6\u95F4\u964D\u5E8F\u6392\u5217"},y.createElement("span",{className:we.tips},y.createElement("i",{className:"iconfont icon-a-wenhaobeifen2"}))),qe&&y.createElement(ye.default,{defaultValue:"",onChange:Ct,style:{width:160,marginLeft:"auto",marginRight:"20px"},options:[{value:"",label:"\u5168\u90E8\u8003\u8BD5\u6A21\u5F0F"},{value:!0,label:"\u6B63\u5F0F\u8003\u8BD5"},{value:!1,label:"\u6A21\u62DF\u8003\u8BD5"}]}),!(0,se.Ny)()&&Zt&&(0,se.GJ)()&&((Be=ve==null?void 0:ve.setting)==null?void 0:Be.main_site)&&y.createElement(De.Z,{overlayInnerStyle:{width:"380px"},title:y.createElement("div",null,"\u60A8\u7684\u3010",(Dt=me.vs[le])==null?void 0:Dt.name,"\u3011\u8D26\u53F7\u6700\u591A\u652F\u6301\u4F7F\u7528",(0,me.RD)((pe==null?void 0:pe.total)||0,!0),"\u7684\u6559\u5B66\u8D44\u6599\u5BB9\u91CF\u3002 \u60A8\u53EF\u4EE5\u6E05\u7406\u6587\u4EF6\u91CA\u653E\u7A7A\u95F4\uFF0C\u6216",y.createElement("span",{style:{color:"#6594FF",cursor:"pointer"},onClick:()=>{te({type:"user/setActionTabs",payload:{key:"\u5347\u7EA7\u6743\u76CA",title:"\u8054\u7CFB\u6559\u7814\u52A9\u7406"}})}},"\u8054\u7CFB\u5E73\u53F0\u8FD0\u8425"),"\u6269\u5BB9\u3002")},y.createElement("div",{className:we.capacity},y.createElement("div",{className:we.title},"\u8D44\u6599\u5BB9\u91CF"),y.createElement("div",{className:we.value},(()=>{const tt=(0,me.Mi)((pe==null?void 0:pe.used)||0,(pe==null?void 0:pe.total)||0,!0);return y.createElement(y.Fragment,null,tt==null?void 0:tt.split("/")[0],y.createElement("span",{style:{color:"#5F6A95"}},"/",tt==null?void 0:tt.split("/")[1]))})()))),y.createElement(ze.default.Search,{allowClear:!0,placeholder:"\u8BF7\u8F93\u5165\u540D\u79F0\u8FDB\u884C\u641C\u7D22",onSearch:Ge,style:{width:220,marginLeft:Xe?"auto":qe||!(0,se.Ny)()&&(0,se.GJ)()?"":"auto"}}),(0,se.eB)()&&Ve&&y.createElement(be.Z,{dropdownRender:()=>pt,open:lt,onOpenChange:tt=>{Se(tt)}},y.createElement("a",null,"\u5206\u73ED",lt?y.createElement(Ye.Z,{style:{marginLeft:6}}):y.createElement(fe.Z,{style:{marginLeft:6}}))))}},95651:function(dn,yt,E){"use strict";E.d(yt,{Z:function(){return ke}});var y=E(59301),xe=E(77019),he=E(5269),je=E(93041),be=E(75727),De=E(6767),ye=E(25399),ze={tabMenuContainer:"tabMenuContainer___uf5IP",control:"control___GheLs",iconH:"iconH___Wzw_r",selectBtn:"selectBtn___mfEnI",selectBtn1:"selectBtn1___rJF8S"},we=E(65582),se=E(41867),Ye=E(65862),ke=({isLoading:Ae,addText:Ce,tabDataSource:me,isAdmin:ue,dispatch:Me,classroomList:Ze,type:Qe,isExercise:oe,defaultSelectedKeys:Fe,onTabMenuClick:rt,getDropdownMenu:Ne,showControlButton:Ge,buttonText:ge,buttonIcon:Oe="icon-tianjiadaohang",extraNode:Ve,user:Pe,onButtonClick:it,isModelUser:Le,menuItemWidth:pe=125})=>{var qe,Xe,Ct,Yt,We;const Be=(0,we.useParams)();return y.createElement("div",{className:ze.tabMenuContainer},y.createElement(xe.Z,null,y.createElement(he.Z,{flex:"1"},y.createElement(je.default,{onSelect:Dt=>Ae?{}:rt(Dt),mode:"horizontal",selectedKeys:Fe},me.map(Dt=>y.createElement(je.default.Item,{style:{width:pe},key:typeof Dt.index=="number"?Dt.index:Dt.id},y.createElement("span",{className:"c-grey-666"},Dt.name),Dt.total!==void 0&&ue&&y.createElement("span",{className:"c-grey-999 ml20"},Dt.total||0))))),ue&&oe&&y.createElement("i",{className:"iconfont icon-shezhi8",style:{display:"flex",alignItems:"center",cursor:"pointer"},onClick:()=>{Me({type:"classroomList/setActionTabs",payload:{key:"\u5728\u7EBF\u8003\u8BD5\u8BBE\u7F6E"}})}}),ue&&y.createElement(he.Z,{className:"mr20 gutter-row",style:{display:"flex",alignItems:"center",color:"#0152d9",paddingBottom:3}},oe&&y.createElement(be.Z,{className:"mr15",placement:"bottom",arrow:!0,dropdownRender:()=>y.createElement(je.default,null,y.createElement(je.default.Item,{key:1,onClick:()=>{var Dt;if(!(0,Ye.Ye)(Me)){if((0,se.Rm)()&&!((Dt=Ze.AssistantObject.exercise)!=null&&Dt.can_download)){De.ZP.warning("\u60A8\u672A\u83B7\u53D6\u6B64\u6743\u9650\uFF0C\u9700\u5411\u8BFE\u5802\u7BA1\u7406\u5458\u7533\u8BF7\u6743\u9650\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD");return}Me({type:"classroomList/setActionTabs",payload:{key:"\u5BFC\u51FA\u6210\u7EE9",type:Qe,exportType:"exercise",category_id:Be.categoryId}})}}},"\u5B66\u751F\u6210\u7EE9"),y.createElement(je.default.Item,{key:3,onClick:()=>{var Dt;if(!(0,Ye.Ye)(Me)){if((0,se.Rm)()&&!((Dt=Ze.AssistantObject.exercise)!=null&&Dt.can_download)){De.ZP.warning("\u60A8\u672A\u83B7\u53D6\u6B64\u6743\u9650\uFF0C\u9700\u5411\u8BFE\u5802\u7BA1\u7406\u5458\u7533\u8BF7\u6743\u9650\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD");return}we.history.push(`/classrooms/${Be==null?void 0:Be.coursesId}/exportlist/exercise_score,export_exercise_users`)}}},"\u5386\u53F2\u5BFC\u51FA"))},y.createElement("div",{className:"c-blue font16 ml20 current",style:{marginTop:2}},y.createElement("span",{style:{color:"#666666",cursor:"pointer"}},y.createElement("i",{className:"iconfont icon-xiazai6"})))),y.createElement("div",{className:ze.control},y.createElement("div",{className:ze.extra},Ve),Ge&&(ge=="\u6DFB\u52A0\u76F4\u64AD"?y.createElement(be.Z,{menu:{items:(Xe=(qe=[{label:y.createElement("div",{onClick:()=>{it("\u5916\u94FE")}},"\u5916\u94FE\u76F4\u64AD"),key:"1",show:!0},(Le||(0,se.ag)())&&{label:y.createElement("div",{onClick:()=>{it("\u5934\u6B4C")}},"\u5934\u6B4C\u76F4\u64AD"),key:"2",show:!0}])==null?void 0:qe.filter(Dt=>Dt==null?void 0:Dt.show))==null?void 0:Xe.map(Dt=>({label:Dt==null?void 0:Dt.label,key:Dt==null?void 0:Dt.key}))}},y.createElement("span",{className:ze.selectBtn},y.createElement("span",null,y.createElement("i",{className:`iconfont ${Oe}`})),y.createElement("span",null,ge))):y.createElement("span",{onClick:it,style:{cursor:"pointer"},className:ze.selectBtn},y.createElement("span",null,y.createElement("i",{className:`iconfont ${Oe}`})),y.createElement("span",null,ge))),!!Ne&&y.createElement(be.Z,{disabled:((Ct=Pe==null?void 0:Pe.userInfo)==null?void 0:Ct.user_status)===2,className:"ml10",dropdownRender:Ne},y.createElement("span",{className:((Yt=Pe==null?void 0:Pe.userInfo)==null?void 0:Yt.user_status)===2?ze.selectBtn1:ze.selectBtn},y.createElement("span",null,y.createElement("i",{className:"iconfont icon-tianjiadaohang"})),y.createElement(ye.Z,{title:((We=Pe==null?void 0:Pe.userInfo)==null?void 0:We.user_status)===2&&"\u6559\u5B66\u8BFE\u5802\u8BD5\u7528\u671F\u5DF2\u7ED3\u675F\uFF0C\u5E73\u53F0\u5DF2\u6682\u505C\u63D0\u4F9B\u5728\u7EBF\u8003\u8BD5\u521B\u5EFA\u529F\u80FD"},y.createElement("span",null,Ce||"\u521B\u5EFA\u8BD5\u5377"))))))))}},9516:function(dn,yt,E){"use strict";E.d(yt,{$i:function(){return Oe},K1:function(){return Pe},O7:function(){return it},T$:function(){return ge}});var y=E(82636),xe=E(29297),he=E(87513),je=E(89540),be=E(61527),De=E(62957),ye=E(28284),ze=E(6767),we=E(37568),se=E(77019),Ye=E(5269),fe=E(59301),ke=E(65582),Ae=E(28209),Ce=E.n(Ae),me=E(65862),ue=E(59301),Me=Object.defineProperty,Ze=Object.getOwnPropertySymbols,Qe=Object.prototype.hasOwnProperty,oe=Object.prototype.propertyIsEnumerable,Fe=(Le,pe,qe)=>pe in Le?Me(Le,pe,{enumerable:!0,configurable:!0,writable:!0,value:qe}):Le[pe]=qe,rt=(Le,pe)=>{for(var qe in pe||(pe={}))Qe.call(pe,qe)&&Fe(Le,qe,pe[qe]);if(Ze)for(var qe of Ze(pe))oe.call(pe,qe)&&Fe(Le,qe,pe[qe]);return Le},Ne=(Le,pe,qe)=>new Promise((Xe,Ct)=>{var Yt=Dt=>{try{Be(qe.next(Dt))}catch(Zt){Ct(Zt)}},We=Dt=>{try{Be(qe.throw(Dt))}catch(Zt){Ct(Zt)}},Be=Dt=>Dt.done?Xe(Dt.value):Promise.resolve(Dt.value).then(Yt,We);Be((qe=qe.apply(Le,pe)).next())});const Ge=Le=>{const pe=Ce().enc.Utf8.parse("c03f36595bd5610b");return Ce().AES.encrypt(Le||"",pe,{iv:pe,mode:Ce().mode.CBC}).toString()},ge=({onCancel:Le,open:pe})=>ue.createElement(De.default,{title:"\u63D0\u793A",width:619,centered:!0,open:pe,destroyOnClose:!0,okText:"\u7ACB\u5373\u524D\u5F80",cancelText:"\u7A0D\u540E\u518D\u8BF4",onCancel:Le,onOk:()=>{ke.history.push("/account/secure")}},ue.createElement("span",null,"\u52A0\u5BC6\u5C01\u5B58\u4E4B\u540E\uFF0C\u5FD8\u8BB0\u5BC6\u7801\u65F6\u9700\u8981\u4F7F\u7528\u624B\u673A\u53F7\u8FDB\u884C\u5BC6\u7801\u91CD\u7F6E\uFF0C\u8BF7\u5148\u7ED1\u5B9A\u624B\u673A\u53F7\u7801")),Oe=({onCancel:Le,onFinish:pe,open:qe,Data:Xe})=>{const[Ct]=ye.default.useForm(),[,Yt,We]=(0,be.U)((Xe==null?void 0:Xe.type)=="exercise"?he.yE:xe.yE,{id:Xe==null?void 0:Xe.id});return(0,fe.useEffect)(()=>{qe||Ct.resetFields()},[qe]),ue.createElement(De.default,{title:"\u8BD5\u5377\u52A0\u5BC6\u5C01\u5B58",width:619,centered:!0,open:qe,destroyOnClose:!0,confirmLoading:Yt,onCancel:Le,onOk:()=>{Ct==null||Ct.submit()}},ue.createElement("div",{className:"pt16 pb16 pl12 pr12 rounded-4px flex item-center gap-8px",style:{background:"rgba(233, 127, 55, .06)",color:"#FA6400"}},ue.createElement("i",{className:"iconfont icon-tishi7"}),ue.createElement("span",null,"\u8BD5\u5377\u52A0\u5BC6\u5C01\u5B58\u540E\uFF0C\u6240\u6709\u7528\u6237\u9700\u8981\u8F93\u5165\u5C01\u5B58\u5BC6\u7801\u624D\u80FD\u8FDB\u884C\u67E5\u770B\u3001\u7F16\u8F91\u8BD5\u5377\u7B49\u64CD\u4F5C\uFF01")),ue.createElement(ye.default,{form:Ct,className:"mt-20px",size:"large",colon:!1,onFinish:Be=>Ne(void 0,null,function*(){const Dt=yield We({id:Xe==null?void 0:Xe.id,is_encrypt:!0,pwd:Ge(Be.pwd),pwd_confirm:Ge(Be.pwd_confirm)});Dt.status===0?(ze.ZP.success("\u52A0\u5BC6\u6210\u529F"),pe==null||pe(Dt),Le()):Ct.setFields([{name:"pwd",errors:[Dt==null?void 0:Dt.message]}])})},ue.createElement(ye.default.Item,{label:"\u5C01\u5B58\u5BC6\u7801",name:"pwd",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u5C01\u5B58\u5BC6\u7801"},{pattern:/^(?=.*[A-Za-z])(?=.*\d)[A-Za-z\d]{6,16}$/,message:"\u5BC6\u7801\u5FC5\u987B\u4E3A\u5B57\u6BCD\u548C\u6570\u5B57\u7684\u7EC4\u5408\uFF0C\u4E14\u957F\u5EA6\u4E3A6-16\u4E2A\u5B57\u7B26"}]},ue.createElement(we.default.Password,{placeholder:"\u8BF7\u8BBE\u7F6E\u5C01\u5B58\u5BC6\u7801\uFF0C\u5FC5\u987B\u4E3A\u5B57\u6BCD\u548C\u6570\u5B57\u7684\u7EC4\u5408\uFF0C\u6700\u5927\u9650\u52366-16\u4E2A\u5B57\u7B26"})),ue.createElement(ye.default.Item,{label:"\u786E\u8BA4\u5BC6\u7801",name:"pwd_confirm",rules:[{required:!0,message:"\u8BF7\u518D\u6B21\u8F93\u5165\u5C01\u5B58\u5BC6\u7801"},{pattern:/^(?=.*[A-Za-z])(?=.*\d)[A-Za-z\d]{6,16}$/,message:"\u5BC6\u7801\u5FC5\u987B\u4E3A\u5B57\u6BCD\u548C\u6570\u5B57\u7684\u7EC4\u5408\uFF0C\u4E14\u957F\u5EA6\u4E3A6-16\u4E2A\u5B57\u7B26"},({getFieldValue:Be})=>({validator(Dt,Zt){return!Zt||Be("pwd")===Zt?Promise.resolve():Promise.reject(new Error("\u4E24\u6B21\u8F93\u5165\u7684\u5BC6\u7801\u4E0D\u4E00\u81F4"))}})]},ue.createElement(we.default.Password,{placeholder:"\u8BF7\u518D\u6B21\u8F93\u5165\u5C01\u5B58\u5BC6\u7801\uFF0C\u5FC5\u987B\u4E3A\u5B57\u6BCD\u548C\u6570\u5B57\u7684\u7EC4\u5408\uFF0C\u6700\u5927\u9650\u52366-16\u4E2A\u5B57\u7B26"}))))},Ve=({onCancel:Le,open:pe,Data:qe})=>{var Xe;const[Ct]=ye.default.useForm(),[Yt]=ye.default.useForm(),[We,Be]=(0,fe.useState)(!1),[Dt,Zt]=(0,fe.useState)(0),[,,lt]=(0,be.U)(je.o1,{type:(qe==null?void 0:qe.type)=="exercise"?12:11}),[,Se,Re]=(0,be.U)((qe==null?void 0:qe.type)=="exercise"?he.dp:xe.dp,{id:qe==null?void 0:qe.id}),[,at,jt]=(0,be.U)((qe==null?void 0:qe.type)=="exercise"?he.Qc:xe.Qc,{id:qe==null?void 0:qe.id});return(0,fe.useEffect)(()=>{var ft;qe!=null&&qe.phone&&Ct.setFieldsValue({login:(ft=qe==null?void 0:qe.phone)==null?void 0:ft.replace(/(\d{3})\d{4}(\d{4})/,"$1****$2")})},[qe==null?void 0:qe.phone]),(0,fe.useEffect)(()=>{Dt>0&&setTimeout(()=>{Zt(Dt-1)},1e3)},[Dt]),(0,fe.useEffect)(()=>{pe||(Ct.resetFields(),Yt.resetFields())},[pe]),ue.createElement(ue.Fragment,null,ue.createElement(De.default,{title:"\u624B\u673A\u53F7\u7801\u6821\u9A8C",width:619,centered:!0,open:pe,destroyOnClose:!0,confirmLoading:Se,onCancel:Le,onOk:()=>{Ct==null||Ct.submit()}},ue.createElement("div",{style:{color:"#191919"}},"\u8BF7\u5148\u8FDB\u884C\u624B\u673A\u53F7\u7801\u6821\u9A8C"),ue.createElement(ye.default,{className:"mt20",initialValues:{phone:(Xe=qe==null?void 0:qe.phone)==null?void 0:Xe.replace(/(\d{3})\d{4}(\d{4})/,"$1****$2")},form:Ct,size:"large",colon:!1,onFinish:ft=>Ne(void 0,null,function*(){console.log("allValue",ft);const Wt=yield Re({code:ft==null?void 0:ft.code,login:qe==null?void 0:qe.phone,id:qe==null?void 0:qe.id});Wt.status===0?(ze.ZP.success("\u6821\u9A8C\u6210\u529F"),Le==null||Le(),Be(!0)):Ct.setFields([{name:"code",errors:[Wt==null?void 0:Wt.message]}])})},ue.createElement(ye.default.Item,{label:"\u624B\u673A\u53F7",name:"login",required:!0},ue.createElement(we.default,{placeholder:"\u8BF7\u8F93\u5165\u624B\u673A\u53F7",disabled:!0})),ue.createElement(se.Z,{wrap:!1,gutter:20},ue.createElement(Ye.Z,{flex:1},ue.createElement(ye.default.Item,{label:"\u9A8C\u8BC1\u7801",name:"code",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u9A8C\u8BC1\u7801"}]},ue.createElement(we.default,{placeholder:"\u8BF7\u8F93\u5165\u9A8C\u8BC1\u7801"}))),ue.createElement(Ye.Z,null,ue.createElement(y.op,{openLoading:!0,size:"large",disabled:Dt>0,style:{borderRadius:"4px"},onClick:()=>Ne(void 0,null,function*(){const ft=yield lt({type:(qe==null?void 0:qe.type)=="exercise"?12:11,login:qe==null?void 0:qe.phone,smscode:(0,me.M)(qe==null?void 0:qe.phone)});(ft==null?void 0:ft.status)===1&&(ze.ZP.success("\u53D1\u9001\u6210\u529F"),Zt(60))})},Dt===0?"\u83B7\u53D6\u9A8C\u8BC1\u7801":`(${Dt})\u79D2\u53EF\u91CD\u65B0\u83B7\u53D6`))))),ue.createElement(De.default,{title:"\u91CD\u7F6E\u5C01\u5B58\u5BC6\u7801",width:619,centered:!0,open:We,destroyOnClose:!0,confirmLoading:at,onCancel:()=>{Be(!1)},onOk:()=>{Yt==null||Yt.submit()}},ue.createElement(ye.default,{className:"mt20",form:Yt,size:"large",colon:!1,onFinish:ft=>Ne(void 0,null,function*(){console.log("allValue",ft),(yield jt(rt({id:qe==null?void 0:qe.id},ft))).status===0&&(ze.ZP.success("\u91CD\u7F6E\u6210\u529F"),Be(!1))})},ue.createElement(ye.default.Item,{label:"\u5C01\u5B58\u5BC6\u7801",name:"pwd",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u5C01\u5B58\u5BC6\u7801"},{pattern:/^(?=.*[A-Za-z])(?=.*\d)[A-Za-z\d]{6,16}$/,message:"\u5BC6\u7801\u5FC5\u987B\u4E3A\u5B57\u6BCD\u548C\u6570\u5B57\u7684\u7EC4\u5408\uFF0C\u4E14\u957F\u5EA6\u4E3A6-16\u4E2A\u5B57\u7B26"}]},ue.createElement(we.default.Password,{placeholder:"\u8BF7\u8BBE\u7F6E\u5C01\u5B58\u5BC6\u7801\uFF0C\u5FC5\u987B\u4E3A\u5B57\u6BCD\u548C\u6570\u5B57\u7684\u7EC4\u5408\uFF0C\u6700\u5927\u9650\u52366-16\u4E2A\u5B57\u7B26"})),ue.createElement(ye.default.Item,{label:"\u786E\u8BA4\u5BC6\u7801",name:"pwd_confirm",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u5C01\u5B58\u5BC6\u7801"},{pattern:/^(?=.*[A-Za-z])(?=.*\d)[A-Za-z\d]{6,16}$/,message:"\u5BC6\u7801\u5FC5\u987B\u4E3A\u5B57\u6BCD\u548C\u6570\u5B57\u7684\u7EC4\u5408\uFF0C\u4E14\u957F\u5EA6\u4E3A6-16\u4E2A\u5B57\u7B26"},({getFieldValue:ft})=>({validator(Wt,xt){return!xt||ft("pwd")===xt?Promise.resolve():Promise.reject(new Error("\u4E24\u6B21\u8F93\u5165\u7684\u5BC6\u7801\u4E0D\u4E00\u81F4"))}})]},ue.createElement(we.default.Password,{placeholder:"\u8BF7\u518D\u6B21\u8F93\u5165\u5C01\u5B58\u5BC6\u7801\uFF0C\u5FC5\u987B\u4E3A\u5B57\u6BCD\u548C\u6570\u5B57\u7684\u7EC4\u5408\uFF0C\u6700\u5927\u9650\u52366-16\u4E2A\u5B57\u7B26"})))))},Pe=({onCancel:Le,onFinish:pe,open:qe,Data:Xe})=>{const[Ct]=ye.default.useForm(),[Yt,We]=(0,fe.useState)(!1),[,Be,Dt]=(0,be.U)((Xe==null?void 0:Xe.type)=="exercise"?he.yE:xe.yE,{id:Xe==null?void 0:Xe.id});return(0,fe.useEffect)(()=>{qe||Ct.resetFields()},[qe]),ue.createElement(ue.Fragment,null,ue.createElement(De.default,{title:"\u8BD5\u5377\u89E3\u5C01",width:619,centered:!0,open:qe,destroyOnClose:!0,confirmLoading:Be,onCancel:Le,onOk:()=>{Ct==null||Ct.submit()}},ue.createElement(se.Z,{wrap:!1,align:"top",gutter:16},ue.createElement(Ye.Z,{flex:1},ue.createElement(ye.default,{form:Ct,size:"large",colon:!1,onFinish:Zt=>Ne(void 0,null,function*(){const lt=yield Dt({id:Xe==null?void 0:Xe.id,is_encrypt:!1,pwd:Ge(Zt.pwd)});(lt==null?void 0:lt.status)===0?(ze.ZP.success("\u89E3\u5C01\u6210\u529F"),pe==null||pe(lt),Le==null||Le()):Ct.setFields([{name:"pwd",errors:[lt==null?void 0:lt.message]}])})},ue.createElement(ye.default.Item,{label:"\u5C01\u5B58\u5BC6\u7801",name:"pwd",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u5C01\u5B58\u5BC6\u7801"}]},ue.createElement(we.default.Password,{placeholder:"\u8BF7\u8F93\u5165\u5C01\u5B58\u5BC6\u7801"})))),ue.createElement(Ye.Z,null,ue.createElement("a",{style:{lineHeight:"40px",whiteSpace:"nowrap"},onClick:()=>{We(!0),Le==null||Le()}},"\u5FD8\u8BB0\u5BC6\u7801\uFF1F")))),ue.createElement(Ve,{onCancel:()=>{We(!1)},open:Yt,Data:rt({},Xe)}))},it=({onCancel:Le,onFinish:pe,open:qe,Data:Xe})=>{const[Ct]=ye.default.useForm(),[Yt,We]=(0,fe.useState)(!1),[,Be,Dt]=(0,be.U)((Xe==null?void 0:Xe.type)=="exercise"?he.yE:xe.yE,{id:Xe==null?void 0:Xe.id});return(0,fe.useEffect)(()=>{qe||Ct.resetFields()},[qe]),ue.createElement(ue.Fragment,null,ue.createElement(De.default,{title:"\u63D0\u793A",width:619,centered:!0,open:qe,destroyOnClose:!0,confirmLoading:Be,onCancel:Le,onOk:()=>{Ct==null||Ct.submit()}},ue.createElement("div",{className:"pt16 pb16 pl12 pr12 rounded-4px flex item-center gap-8px",style:{background:"rgba(233, 127, 55, .06)",color:"#FA6400"}},ue.createElement("i",{className:"iconfont icon-tishi7"}),ue.createElement("span",null,"\u8BD5\u5377\u5DF2\u8FDB\u884C\u52A0\u5BC6\u5C01\u5B58\uFF0C\u5982\u9700\u8FDB\u884C\u64CD\u4F5C\uFF0C\u8BF7\u5148\u8F93\u5165\u5C01\u5B58\u5BC6\u7801\u8FDB\u884C\u89E3\u5C01\uFF01")),ue.createElement(ye.default,{form:Ct,className:"mt-20px",size:"large",colon:!1,onFinish:Zt=>Ne(void 0,null,function*(){const lt=yield Dt({id:Xe==null?void 0:Xe.id,is_encrypt:!1,pwd:Ge(Zt.pwd)});(lt==null?void 0:lt.status)===0?(ze.ZP.success("\u89E3\u5C01\u6210\u529F"),pe==null||pe(lt),Le==null||Le()):Ct.setFields([{name:"pwd",errors:[lt==null?void 0:lt.message]}])})},ue.createElement(se.Z,{wrap:!1,gutter:20},ue.createElement(Ye.Z,{flex:1},ue.createElement(ye.default.Item,{label:"\u5C01\u5B58\u5BC6\u7801",name:"pwd",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u5C01\u5B58\u5BC6\u7801"},{pattern:/^(?=.*[A-Za-z])(?=.*\d)[A-Za-z\d]{6,16}$/,message:"\u5BC6\u7801\u5FC5\u987B\u4E3A\u5B57\u6BCD\u548C\u6570\u5B57\u7684\u7EC4\u5408\uFF0C\u4E14\u957F\u5EA6\u4E3A6-16\u4E2A\u5B57\u7B26"}]},ue.createElement(we.default.Password,{placeholder:"\u8BF7\u8F93\u5165\u5C01\u5B58\u5BC6\u7801"}))),ue.createElement(Ye.Z,null,ue.createElement("a",{style:{lineHeight:"40px",whiteSpace:"nowrap"},onClick:()=>{We(!0),Le==null||Le()}},"\u5FD8\u8BB0\u5BC6\u7801\uFF1F"))))),ue.createElement(Ve,{onCancel:()=>{We(!1)},open:Yt,Data:rt({},Xe)}))}},61527:function(dn,yt,E){"use strict";E.d(yt,{U:function(){return we}});var y=E(59301),xe=Object.defineProperty,he=Object.getOwnPropertySymbols,je=Object.prototype.hasOwnProperty,be=Object.prototype.propertyIsEnumerable,De=(se,Ye,fe)=>Ye in se?xe(se,Ye,{enumerable:!0,configurable:!0,writable:!0,value:fe}):se[Ye]=fe,ye=(se,Ye)=>{for(var fe in Ye||(Ye={}))je.call(Ye,fe)&&De(se,fe,Ye[fe]);if(he)for(var fe of he(Ye))be.call(Ye,fe)&&De(se,fe,Ye[fe]);return se},ze=(se,Ye,fe)=>new Promise((ke,Ae)=>{var Ce=Me=>{try{ue(fe.next(Me))}catch(Ze){Ae(Ze)}},me=Me=>{try{ue(fe.throw(Me))}catch(Ze){Ae(Ze)}},ue=Me=>Me.done?ke(Me.value):Promise.resolve(Me.value).then(Ce,me);ue((fe=fe.apply(se,Ye)).next())});function we(se,Ye){const[fe,ke]=(0,y.useState)(Ye),[Ae,Ce]=(0,y.useState)(!1),[me,ue]=(0,y.useState)();return[fe,Ae,(Ze,Qe=!1)=>ze(this,null,function*(){const oe=Qe?Ye:ye(ye({},fe),Ze);Ce(!0),ke(oe);const Fe=yield se(oe);return Ce(!1),ue(Fe),Fe}),me,ue]}},49142:function(dn,yt,E){"use strict";E.d(yt,{AL:function(){return oe},Iy:function(){return Ye},Qv:function(){return Ae},ez:function(){return Qe},jb:function(){return fe}});var y=E(32834),xe=E.n(y),he=E(11690),je=E.n(he);let be=1;function De(ge,Oe){const Ve=ge.match(/^(\s+)(?:```)/);if(Ve===null)return Oe;const Pe=Ve[1];return Oe.split(`
`).map(it=>{const Le=it.match(/^\s+/);if(Le===null)return it;const[pe]=Le;return pe.length>=Pe.length?it.slice(Pe.length):it}).join(`
`)}let ye=[],ze=["<ul>"];const we=new(xe()).Renderer,se=/^ *(#{1,6}) *([^\n]+?) *(?:#+ *)?(?:\n+|$)/;function Ye(){ye.length=0,ze=["<ul>"]}const fe={overflow:"hidden",WebkitBoxOrient:"vertical",display:"-webkit-box",WebkitLineClamp:2};function ke(ge,Oe,Ve,Pe){if(Oe>=ge.length||ge[Oe].level<=Ve)return Oe;var it=ge[Oe];Pe.push("<li><a href='#"+be+it.anchor+"'>"+it.text+"</a>"),Oe++;var Le=[];return Oe=ke(ge,Oe,it.level,Le),Le.length>0&&(Pe.push("<ul>"),Le.forEach(function(pe){Pe.push(pe)}),Pe.push("</ul>")),Pe.push("</li>"),Oe=ke(ge,Oe,Ve,Pe),Oe}function Ae(){return ke(ye,0,0,ze),ze.push("</ul>"),ze.join("")}const Ce={heading(ge){const Oe=se.exec(ge);if(be+=1,Oe)return{type:"heading",raw:Oe[0],depth:Oe[1].length,text:Oe[2]}},fences(ge){const Oe=this.rules.block.fences.exec(ge);if(Oe){const Ve=Oe[0];let Pe=De(Ve,Oe[3]||"");const it=Oe[2]?Oe[2].trim():Oe[2];if(["latex","katex","math"].indexOf(it)>=0){const Le=Me(),pe=Pe;Pe=Le,Ze[Le]={type:"block",expression:pe}}return{type:"code",raw:Ve,lang:it,text:Pe}}}},me=/(?:\${2})([^\n`]+?)(?:\${2})/gi;let ue=0;const Me=()=>`__special_katext_id_${ue++}__`;let Ze={};function Qe(){return Ze}function oe(){ue=0,Ze={}}function Fe(ge){return ge=ge.replace(me,(Oe,Ve)=>{const Pe=Me();return Ze[Pe]={type:"inline",expression:Ve},Pe}),ge}const rt=we.listitem;we.listitem=function(ge){return rt(Fe(ge))};const Ne=we.paragraph;we.paragraph=function(ge){return Ne(Fe(ge))};const Ge=we.tablecell;we.tablecell=function(ge,Oe){return Ge(Fe(ge),Oe)},we.code=function(ge,Oe,Ve){const Pe=(Oe||"").match(/\S*/)[0];return Pe?["latex","katex","math"].indexOf(Pe)>=0?`<p class='editormd-tex'>${ge}</p>`:`<pre class="prettyprint linenums"><code class="language-${Oe}">${Ve?ge:(0,he.escape)(ge,!0)}</code></pre>
`:'<pre class="prettyprint linenums"><code>'+(Ve?ge:(0,he.escape)(ge,!0))+"</code></pre>"},we.heading=function(ge,Oe,Ve){let Pe=this.options.headerPrefix+Ve.toLowerCase().replace(/[^\w\\u4e00-\\u9fa5]]+/g,"-");return ye.push({anchor:Pe,level:Oe,text:ge}),"<h"+Oe+' id="'+be+Pe+'">'+ge+"</h"+Oe+">"},xe().setOptions({silent:!0,gfm:!0,pedantic:!1}),xe().use({tokenizer:Ce,renderer:we}),yt.ZP=xe()},66457:function(dn,yt,E){"use strict";E.d(yt,{rX:function(){return Fe},pW:function(){return rt},gy:function(){return Ne},xY:function(){return oe},O5:function(){return Qe},hs:function(){return me},tJ:function(){return Ae},o1:function(){return Ce},Rd:function(){return Ze}});var y=E(65582),xe=E(62957),he=E(37285),je=E(6767),be=E(41867),De=E(65862),ye=E(87169),ze=E(25510),we="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAZAAAAGQCAIAAAAP3aGbAAAABGdBTUEAALGPC/xhBQAAACBjSFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAABmJLR0QA/wD/AP+gvaeTAAAACXBIWXMAABcRAAAXEQHKJvM/AAAouElEQVR42u3de5gU1Z038HOqqu89PQPMhQHkNqCiCCK5qMRojIkXRNFERDTGNRvik5hNjPtgzEuyJLq6sq/EbEyy+u5jjBEhSEREvKyXQJRVs1FEMARhhhlgLsDAMD3T96o67x8zzPQMPTPVU12XX8/38/D4PDZdVedUd3+py6nf4UIIBgBAgeR0AwAAjEJgAQAZCCwAIAOBBQBkILAAgAwEFgCQgcACADIQWABABgILAMhAYAEAGQgsACADgQUAZCCwAIAMxfhbOedOt7a/nKUmcrbT2aIUxned8Xaa/DhMbsi2dppk8nO3ovG27XnbemTbDmE4wgIAQhBYAEAGAgsAyEBgAQAZCCwAIAOBBQBk5DGsIaedO3dWVFRY3cpVq1atXLnS4JuNj3WwgvF7tCbHZFhxe9u2dZp8Z04uHGlhxbAbKz44F/6KB2I2sCoqKqqqqqzuajgctnoTACMWoV8xTgkBgAwEFgCQgcACADIQWABABgILAMgwe5cwJ5O3jVtaWgp+z8KKW+bOPvjuwq1bMaTD+OLG2+ks2/aSSS78FTMcYQEAIQgsACADgQUAZCCwAIAMBBYAkIHAAgAyLBnW4CxnS/fb9k4r7nk7W8LBClZUQbBiYIEVI2ycnXjFIjjCAgAyEFgAQAYCCwDIQGABABkILAAgA4EFAGQU4bAGK25Fu/Besm03wm27i2/bEATbNmTbN6QoRzDkhCMsACADgQUAZCCwAIAMBBYAkIHAAgAyEFgAQIYlwxpaWlrMLG5F7Xpnpy2w7Ta8bawo4eDC6RVIf0YmufBXzCwKLIvaCgC2ceevGKeEAEAGAgsAyEBgAQAZCCwAIMPsRfdVq1aFw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ye=E(32637),fe=E(59301),ke=(Ge,ge,Oe)=>new Promise((Ve,Pe)=>{var it=qe=>{try{pe(Oe.next(qe))}catch(Xe){Pe(Xe)}},Le=qe=>{try{pe(Oe.throw(qe))}catch(Xe){Pe(Xe)}},pe=qe=>qe.done?Ve(qe.value):Promise.resolve(qe.value).then(it,Le);pe((Oe=Oe.apply(Ge,ge)).next())});const Ae=(Ge,ge=!1,Oe=!1,Ve="",Pe=!1)=>!!(Ce(Ge)&&ue(Ge,ge,Oe,Ve,Pe)),Ce=Ge=>(0,be.bg)()?!0:(Ge({type:"user/showPopLogin",payload:{showPopLogin:!0,showClosable:!0}}),!1),me=Ge=>{var ge,Oe,Ve;const{user:Pe}=(0,y.getDvaApp)()._store.getState();(0,be.bg)()&&!((Oe=(ge=Pe==null?void 0:Pe.userInfo)==null?void 0:ge.course)!=null&&Oe.course_public)&&!((Ve=Pe==null?void 0:Pe.userInfo)!=null&&Ve.profile_completed)&&Ge({type:"user/showUpdateProfilePanel",payload:{showUpdateProfilePanel:!0,showClosable:!0,backurl:"/account/profile/edit",isCurrentPage:!0}})},ue=(Ge,ge=!1,Oe=!0,Ve="",Pe=!1)=>{var it;const{user:Le}=(0,y.getDvaApp)()._store.getState();return(it=Le.userInfo)!=null&&it.profile_completed?!0:(Oe?Ge({type:"user/showUpdateProfilePanel",payload:{showUpdateProfilePanel:!0,showClosable:!0,backurl:Ve,isCurrentPage:Pe}}):xe.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,De.xg)("/account/profile/edit"),Me()}}),!1)},Me=()=>{xe.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()}})},Ze=()=>{xe.default.warning({title:"\u63D0\u793A",icon:null,width:400,content:fe.createElement("div",{style:{textAlign:"center"}},fe.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"),fe.createElement("img",{style:{border:"1px solid #D8E3E9",width:190,height:180},src:Ye}),fe.createElement("div",{style:{color:"#666666",fontSize:14,marginTop:15}},"\u6DFB\u52A0\u5BA2\u670D\u4EBA\u5458\u5FAE\u4FE1\uFF0C\u83B7\u5F97\u66F4\u591A\u652F\u6301"))})},Qe=()=>{var Ge;const{user:ge}=(0,y.getDvaApp)()._store.getState();return(Ge=ge.userInfo)!=null&&Ge.professional_certification?!0:(xe.default.confirm({title:"\u63D0\u793A",centered:!0,content:fe.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,De.xg)("/account/certification")}}),!1)},oe=()=>(0,be.V9)()?!0:(xe.default.warning({centered:!0,width:530,title:"\u63D0\u793A",content:fe.createElement("div",{className:"tc",style:{marginLeft:-38}},fe.createElement("p",null,"\u626B\u7801\u52A0\u5934\u6B4C\u52A9\u6559\uFF0C\u7533\u8BF7\u64CD\u4F5C\u6743\u9650"),fe.createElement("img",{src:se,width:200})),okText:"\u6211\u77E5\u9053\u4E86",maskClosable:!0}),!1),Fe=(Ge,ge)=>Ge?!0:(xe.default.confirm({centered:!0,zIndex:1e4,width:530,title:"\u63D0\u793A",content:fe.createElement("div",null,fe.createElement("p",null,ge||"\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"),fe.createElement("div",{style:{marginLeft:"110px"}},fe.createElement("img",{src:we,width:200}),fe.createElement("div",{style:{marginLeft:"35px"}},"\u7FA4\u53F7\uFF1A","714336072"))),okText:"\u7ACB\u5373\u8054\u7CFB",cancelText:"\u53D6\u6D88",onOk:()=>{(0,De.xg)("https://qm.qq.com/cgi-bin/qm/qr?k=tIyDPXUtE0yEk-MOJxhH55lTUJS-nYAM&jump_from=webapi")}}),!1),rt=Ge=>{xe.default.info({title:"\u8054\u7CFB\u5E73\u53F0\u8FD0\u8425",icon:null,width:615,centered:!0,content:fe.createElement("div",null,fe.createElement("div",null,fe.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"),fe.createElement(he.Z,null),fe.createElement("p",{style:{color:"#666666",fontSize:12}}," ",fe.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 ",fe.createElement("a",null,Ge),"\u5929\u3002"),fe.createElement("p",{style:{color:"#666666",fontSize:12}}," ",fe.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")),fe.createElement("div",{style:{textAlign:"center",marginTop:30}},fe.createElement("img",{style:{border:"4px solid #0152d9",borderRadius:"4px"},src:ze,alt:"\u4E8C\u7EF4\u7801",width:160})))})},Ne=(Ge,ge="")=>{const{shixunsDetail:{detail:Oe}}=(0,y.getDvaApp)()._store.getState();if((Oe==null?void 0:Oe.public)===2||(Oe==null?void 0:Oe.public)===1||(Oe==null?void 0:Oe.shixun_status)===3){let Ve="";return(Oe==null?void 0:Oe.public)===2&&(Ve="\u5DF2\u516C\u5F00"),(Oe==null?void 0:Oe.public)===1&&(Ve="\u5F85\u5BA1\u6838"),(Oe==null?void 0:Oe.shixun_status)===3&&(Ve="\u5DF2\u5173\u95ED"),xe.default.info({centered:!0,icon:fe.createElement(ye.Z,{style:{color:"#faad14"}}),width:460,title:"\u63D0\u793A",content:fe.createElement("div",{className:"tc",style:{marginLeft:-38}},fe.createElement("div",{style:{display:"flex",flexDirection:"column",alignItems:"flex-start",paddingLeft:38,margin:"12px 0"}},fe.createElement("span",null,"\u8BE5\u5B9E\u8DF5\u9879\u76EE\u7684\u72B6\u6001\u4E3A",Ve,"\uFF0C",ge,"\u3002"),fe.createElement("p",null,"\u5982\u6709\u9700\u8981\uFF0C\u8BF7\u8054\u7CFB\u5E73\u53F0\u7BA1\u7406\u5458\u8FDB\u884C\u6280\u672F\u652F\u6301\u3002")),fe.createElement("img",{style:{border:"4px solid #0152d9",borderRadius:"4px"},src:ze,alt:"\u4E8C\u7EF4\u7801",width:160})),okText:"\u6211\u77E5\u9053\u4E86"}),!0}return(Oe==null?void 0:Oe.shixun_status)===2?(xe.default.confirm({centered:!0,icon:fe.createElement(ye.Z,null),title:"\u63D0\u793A",content:fe.createElement("div",null,fe.createElement("span",null,"\u8BE5\u5B9E\u8DF5\u9879\u76EE\u5DF2\u53D1\u5E03\uFF0C",ge,"\u3002"),fe.createElement("br",null),fe.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:()=>{xe.default.confirm({width:440,centered:!0,icon:fe.createElement(ye.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:()=>ke(void 0,null,function*(){(yield Ge({type:"shixunsDetail/cancelRelease",payload:{id:Oe==null?void 0:Oe.identifier}})).status!==401&&(je.ZP.success("\u64A4\u9500\u53D1\u5E03\u6210\u529F\u3002\u5B9E\u8BAD\u56DE\u5230\u672A\u53D1\u5E03\u7684\u72B6\u6001\u3002"),Ge({type:"shixunsDetail/getShixunsDetail",payload:{id:Oe==null?void 0:Oe.identifier}}),Ge({type:"practiceSetting/getCommonData",payload:{id:Oe==null?void 0:Oe.identifier}}))})})}}),!0):!1}},9981:function(dn,yt){"use strict";const E=function(){const y=Object.assign({},arguments.length<=0?void 0:arguments[0]);for(let xe=1;xe<arguments.length;xe++){const he=xe<0||arguments.length<=xe?void 0:arguments[xe];he&&Object.keys(he).forEach(je=>{const be=he[je];be!==void 0&&(y[je]=be)})}return y};yt.Z=E},86013:function(dn,yt,E){"use strict";var y=E(59301),xe=E(19248);const he=je=>{let be;return typeof je=="object"&&(je!=null&&je.clearIcon)?be=je:je&&(be={clearIcon:y.createElement(xe.Z,null)}),be};yt.Z=he},54500:function(dn,yt,E){"use strict";E.d(yt,{Z:function(){return y}});const y=xe=>xe?typeof xe=="function"?xe():xe:null},97224:function(dn,yt,E){"use strict";E.d(yt,{F:function(){return y}});function y(he){return he!=null&&he===he.window}const xe=he=>{var je,be;if(typeof window=="undefined")return 0;let De=0;return y(he)?De=he.pageYOffset:he instanceof Document?De=he.documentElement.scrollTop:(he instanceof HTMLElement||he)&&(De=he.scrollTop),he&&!y(he)&&typeof De!="number"&&(De=(be=((je=he.ownerDocument)!==null&&je!==void 0?je:he).documentElement)===null||be===void 0?void 0:be.scrollTop),De};yt.Z=xe},83010:function(dn,yt,E){"use strict";E.d(yt,{Z:function(){return je}});var y=E(16089);function xe(be,De,ye,ze){const we=ye-De;return be/=ze/2,be<1?we/2*be*be*be+De:we/2*((be-=2)*be*be+2)+De}var he=E(97224);function je(be){let De=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const{getContainer:ye=()=>window,callback:ze,duration:we=450}=De,se=ye(),Ye=(0,he.Z)(se),fe=Date.now(),ke=()=>{const Ce=Date.now()-fe,me=xe(Ce>we?we:Ce,Ye,be,we);(0,he.F)(se)?se.scrollTo(window.pageXOffset,me):se instanceof Document||se.constructor.name==="HTMLDocument"?se.documentElement.scrollTop=me:se.scrollTop=me,Ce<we?(0,y.Z)(ke):typeof ze=="function"&&ze()};(0,y.Z)(ke)}},41780:function(dn,yt,E){"use strict";var y=E(94480),xe=E(16089);function he(je){let be;const De=ze=>()=>{be=null,je.apply(void 0,(0,y.Z)(ze))},ye=function(){if(be==null){for(var ze=arguments.length,we=new Array(ze),se=0;se<ze;se++)we[se]=arguments[se];be=(0,xe.Z)(De(we))}};return ye.cancel=()=>{xe.Z.cancel(be),be=null},ye}yt.Z=he},48608:function(dn,yt,E){"use strict";E.d(yt,{Z:function(){return Qe}});var y=E(59301),xe=E(92310),he=E.n(xe),je=E(29301),be=E(41780),De=E(48755),ye=E(16931);const ze=oe=>{const{componentCls:Fe}=oe;return{[Fe]:{position:"fixed",zIndex:oe.zIndexPopup}}},we=oe=>({zIndexPopup:oe.zIndexBase+10});var se=(0,ye.I$)("Affix",ze,we);function Ye(oe){return oe!==window?oe.getBoundingClientRect():{top:0,bottom:window.innerHeight}}function fe(oe,Fe,rt){if(rt!==void 0&&Math.round(Fe.top)>Math.round(oe.top)-rt)return rt+Fe.top}function ke(oe,Fe,rt){if(rt!==void 0&&Math.round(Fe.bottom)<Math.round(oe.bottom)+rt){const Ne=window.innerHeight-Fe.bottom;return rt+Ne}}var Ae=function(oe,Fe){var rt={};for(var Ne in oe)Object.prototype.hasOwnProperty.call(oe,Ne)&&Fe.indexOf(Ne)<0&&(rt[Ne]=oe[Ne]);if(oe!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Ge=0,Ne=Object.getOwnPropertySymbols(oe);Ge<Ne.length;Ge++)Fe.indexOf(Ne[Ge])<0&&Object.prototype.propertyIsEnumerable.call(oe,Ne[Ge])&&(rt[Ne[Ge]]=oe[Ne[Ge]]);return rt};const Ce=["resize","scroll","touchstart","touchmove","touchend","pageshow","load"];function me(){return typeof window!="undefined"?window:null}const ue=0,Me=1;var Qe=y.forwardRef((oe,Fe)=>{var rt;const{style:Ne,offsetTop:Ge,offsetBottom:ge,prefixCls:Oe,className:Ve,rootClassName:Pe,children:it,target:Le,onChange:pe,onTestUpdatePosition:qe}=oe,Xe=Ae(oe,["style","offsetTop","offsetBottom","prefixCls","className","rootClassName","children","target","onChange","onTestUpdatePosition"]),{getPrefixCls:Ct,getTargetContainer:Yt}=y.useContext(De.E_),We=Ct("affix",Oe),[Be,Dt]=y.useState(!1),[Zt,lt]=y.useState(),[Se,Re]=y.useState(),at=y.useRef(ue),jt=y.useRef(null),ft=y.useRef(null),Wt=y.useRef(null),xt=y.useRef(null),$t=y.useRef(null),Rt=(rt=Le!=null?Le:Yt)!==null&&rt!==void 0?rt:me,ce=ge===void 0&&Ge===void 0?0:Ge,ne=()=>{if(at.current!==Me||!xt.current||!Wt.current||!Rt)return;const gt=Rt();if(gt){const St={status:ue},_e=Ye(Wt.current);if(_e.top===0&&_e.left===0&&_e.width===0&&_e.height===0)return;const st=Ye(gt),en=fe(_e,st,ce),Ut=ke(_e,st,ge);en!==void 0?(St.affixStyle={position:"fixed",top:en,width:_e.width,height:_e.height},St.placeholderStyle={width:_e.width,height:_e.height}):Ut!==void 0&&(St.affixStyle={position:"fixed",bottom:Ut,width:_e.width,height:_e.height},St.placeholderStyle={width:_e.width,height:_e.height}),St.lastAffix=!!St.affixStyle,Be!==St.lastAffix&&(pe==null||pe(St.lastAffix)),at.current=St.status,lt(St.affixStyle),Re(St.placeholderStyle),Dt(St.lastAffix)}},te=()=>{at.current=Me,ne()},le=(0,be.Z)(()=>{te()}),ve=(0,be.Z)(()=>{if(Rt&&Zt){const gt=Rt();if(gt&&Wt.current){const St=Ye(gt),_e=Ye(Wt.current),st=fe(_e,St,ce),en=ke(_e,St,ge);if(st!==void 0&&Zt.top===st||en!==void 0&&Zt.bottom===en)return}}te()}),re=()=>{const gt=Rt==null?void 0:Rt();gt&&(Ce.forEach(St=>{var _e;ft.current&&((_e=jt.current)===null||_e===void 0||_e.removeEventListener(St,ft.current)),gt==null||gt.addEventListener(St,ve)}),jt.current=gt,ft.current=ve)},de=()=>{$t.current&&(clearTimeout($t.current),$t.current=null);const gt=Rt==null?void 0:Rt();Ce.forEach(St=>{var _e;gt==null||gt.removeEventListener(St,ve),ft.current&&((_e=jt.current)===null||_e===void 0||_e.removeEventListener(St,ft.current))}),le.cancel(),ve.cancel()};y.useImperativeHandle(Fe,()=>({updatePosition:le})),y.useEffect(()=>($t.current=setTimeout(re),()=>de()),[]),y.useEffect(()=>{re()},[Le,Zt,Be]),y.useEffect(()=>{le()},[Le,Ge,ge]);const[Ue,pt,et]=se(We),tt=he()(Pe,pt,We,et),dt=he()({[tt]:Zt});return Ue(y.createElement(je.Z,{onResize:le},y.createElement("div",Object.assign({style:Ne,className:Ve,ref:Wt},Xe),Zt&&y.createElement("div",{style:Se,"aria-hidden":"true"}),y.createElement("div",{className:dt,ref:xt,style:Zt},y.createElement(je.Z,{onResize:le},it)))))})},62673:function(dn,yt,E){"use strict";E.d(yt,{default:function(){return ge}});var y=E(59301),xe=E(92310),he=E.n(xe),je=E(16632),be=E(8654),De=E(12919),ye=E(63872),ze=E(48755),we=E(2171),se=E(83397),Ye=E(56553),ke=y.createContext(null),Ae=E(36170),Ce=E(74632),me=function(Oe,Ve){var Pe={};for(var it in Oe)Object.prototype.hasOwnProperty.call(Oe,it)&&Ve.indexOf(it)<0&&(Pe[it]=Oe[it]);if(Oe!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Le=0,it=Object.getOwnPropertySymbols(Oe);Le<it.length;Le++)Ve.indexOf(it[Le])<0&&Object.prototype.propertyIsEnumerable.call(Oe,it[Le])&&(Pe[it[Le]]=Oe[it[Le]]);return Pe};const ue=(Oe,Ve)=>{var Pe;const{prefixCls:it,className:Le,rootClassName:pe,children:qe,indeterminate:Xe=!1,style:Ct,onMouseEnter:Yt,onMouseLeave:We,skipGroup:Be=!1,disabled:Dt}=Oe,Zt=me(Oe,["prefixCls","className","rootClassName","children","indeterminate","style","onMouseEnter","onMouseLeave","skipGroup","disabled"]),{getPrefixCls:lt,direction:Se,checkbox:Re}=y.useContext(ze.E_),at=y.useContext(ke),{isFormItemInput:jt}=y.useContext(Ye.aM),ft=y.useContext(we.Z),Wt=(Pe=(at==null?void 0:at.disabled)||Dt)!==null&&Pe!==void 0?Pe:ft,xt=y.useRef(Zt.value),$t=y.useRef(null),Rt=(0,be.sQ)(Ve,$t);y.useEffect(()=>{at==null||at.registerValue(Zt.value)},[]),y.useEffect(()=>{if(!Be)return Zt.value!==xt.current&&(at==null||at.cancelValue(xt.current),at==null||at.registerValue(Zt.value),xt.current=Zt.value),()=>at==null?void 0:at.cancelValue(Zt.value)},[Zt.value]),y.useEffect(()=>{var tt;!((tt=$t.current)===null||tt===void 0)&&tt.input&&($t.current.input.indeterminate=Xe)},[Xe]);const ce=lt("checkbox",it),ne=(0,se.Z)(ce),[te,le,ve]=(0,Ae.ZP)(ce,ne),re=Object.assign({},Zt);at&&!Be&&(re.onChange=function(){Zt.onChange&&Zt.onChange.apply(Zt,arguments),at.toggleOption&&at.toggleOption({label:qe,value:Zt.value})},re.name=at.name,re.checked=at.value.includes(Zt.value));const de=he()(`${ce}-wrapper`,{[`${ce}-rtl`]:Se==="rtl",[`${ce}-wrapper-checked`]:re.checked,[`${ce}-wrapper-disabled`]:Wt,[`${ce}-wrapper-in-form-item`]:jt},Re==null?void 0:Re.className,Le,pe,ve,ne,le),Ue=he()({[`${ce}-indeterminate`]:Xe},ye.A,le),[pt,et]=(0,Ce.Z)(re.onClick);return te(y.createElement(De.Z,{component:"Checkbox",disabled:Wt},y.createElement("label",{className:de,style:Object.assign(Object.assign({},Re==null?void 0:Re.style),Ct),onMouseEnter:Yt,onMouseLeave:We,onClick:pt},y.createElement(je.Z,Object.assign({},re,{onClick:et,prefixCls:ce,className:Ue,disabled:Wt,ref:Rt})),qe!==void 0&&y.createElement("span",{className:`${ce}-label`},qe))))};var Ze=y.forwardRef(ue),Qe=E(94480),oe=E(2738),Fe=function(Oe,Ve){var Pe={};for(var it in Oe)Object.prototype.hasOwnProperty.call(Oe,it)&&Ve.indexOf(it)<0&&(Pe[it]=Oe[it]);if(Oe!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Le=0,it=Object.getOwnPropertySymbols(Oe);Le<it.length;Le++)Ve.indexOf(it[Le])<0&&Object.prototype.propertyIsEnumerable.call(Oe,it[Le])&&(Pe[it[Le]]=Oe[it[Le]]);return Pe},Ne=y.forwardRef((Oe,Ve)=>{const{defaultValue:Pe,children:it,options:Le=[],prefixCls:pe,className:qe,rootClassName:Xe,style:Ct,onChange:Yt}=Oe,We=Fe(Oe,["defaultValue","children","options","prefixCls","className","rootClassName","style","onChange"]),{getPrefixCls:Be,direction:Dt}=y.useContext(ze.E_),[Zt,lt]=y.useState(We.value||Pe||[]),[Se,Re]=y.useState([]);y.useEffect(()=>{"value"in We&&lt(We.value||[])},[We.value]);const at=y.useMemo(()=>Le.map(Ue=>typeof Ue=="string"||typeof Ue=="number"?{label:Ue,value:Ue}:Ue),[Le]),jt=Ue=>{Re(pt=>pt.filter(et=>et!==Ue))},ft=Ue=>{Re(pt=>[].concat((0,Qe.Z)(pt),[Ue]))},Wt=Ue=>{const pt=Zt.indexOf(Ue.value),et=(0,Qe.Z)(Zt);pt===-1?et.push(Ue.value):et.splice(pt,1),"value"in We||lt(et),Yt==null||Yt(et.filter(tt=>Se.includes(tt)).sort((tt,dt)=>{const gt=at.findIndex(_e=>_e.value===tt),St=at.findIndex(_e=>_e.value===dt);return gt-St}))},xt=Be("checkbox",pe),$t=`${xt}-group`,Rt=(0,se.Z)(xt),[ce,ne,te]=(0,Ae.ZP)(xt,Rt),le=(0,oe.Z)(We,["value","disabled"]),ve=Le.length?at.map(Ue=>y.createElement(Ze,{prefixCls:xt,key:Ue.value.toString(),disabled:"disabled"in Ue?Ue.disabled:We.disabled,value:Ue.value,checked:Zt.includes(Ue.value),onChange:Ue.onChange,className:`${$t}-item`,style:Ue.style,title:Ue.title,id:Ue.id,required:Ue.required},Ue.label)):it,re={toggleOption:Wt,value:Zt,disabled:We.disabled,name:We.name,registerValue:ft,cancelValue:jt},de=he()($t,{[`${$t}-rtl`]:Dt==="rtl"},qe,Xe,te,Rt,ne);return ce(y.createElement("div",Object.assign({className:de,style:Ct},le,{ref:Ve}),y.createElement(ke.Provider,{value:re},ve)))});const Ge=Ze;Ge.Group=Ne,Ge.__ANT_CHECKBOX=!0;var ge=Ge},36170:function(dn,yt,E){"use strict";E.d(yt,{C2:function(){return De}});var y=E(36237),xe=E(63356),he=E(51636),je=E(16931);const be=ye=>{const{checkboxCls:ze}=ye,we=`${ze}-wrapper`;return[{[`${ze}-group`]:Object.assign(Object.assign({},(0,xe.Wf)(ye)),{display:"inline-flex",flexWrap:"wrap",columnGap:ye.marginXS,[`> ${ye.antCls}-row`]:{flex:1}}),[we]:Object.assign(Object.assign({},(0,xe.Wf)(ye)),{display:"inline-flex",alignItems:"baseline",cursor:"pointer","&:after":{display:"inline-block",width:0,overflow:"hidden",content:"'\\a0'"},[`& + ${we}`]:{marginInlineStart:0},[`&${we}-in-form-item`]:{'input[type="checkbox"]':{width:14,height:14}}}),[ze]:Object.assign(Object.assign({},(0,xe.Wf)(ye)),{position:"relative",whiteSpace:"nowrap",lineHeight:1,cursor:"pointer",borderRadius:ye.borderRadiusSM,alignSelf:"center",[`${ze}-input`]:{position:"absolute",inset:0,zIndex:1,cursor:"pointer",opacity:0,margin:0,[`&:focus-visible + ${ze}-inner`]:Object.assign({},(0,xe.oN)(ye))},[`${ze}-inner`]:{boxSizing:"border-box",display:"block",width:ye.checkboxSize,height:ye.checkboxSize,direction:"ltr",backgroundColor:ye.colorBgContainer,border:`${(0,y.unit)(ye.lineWidth)} ${ye.lineType} ${ye.colorBorder}`,borderRadius:ye.borderRadiusSM,borderCollapse:"separate",transition:`all ${ye.motionDurationSlow}`,"&:after":{boxSizing:"border-box",position:"absolute",top:"50%",insetInlineStart:"25%",display:"table",width:ye.calc(ye.checkboxSize).div(14).mul(5).equal(),height:ye.calc(ye.checkboxSize).div(14).mul(8).equal(),border:`${(0,y.unit)(ye.lineWidthBold)} solid ${ye.colorWhite}`,borderTop:0,borderInlineStart:0,transform:"rotate(45deg) scale(0) translate(-50%,-50%)",opacity:0,content:'""',transition:`all ${ye.motionDurationFast} ${ye.motionEaseInBack}, opacity ${ye.motionDurationFast}`}},"& + span":{paddingInlineStart:ye.paddingXS,paddingInlineEnd:ye.paddingXS}})},{[`
${we}:not(${we}-disabled),
${ze}:not(${ze}-disabled)
`]:{[`&:hover ${ze}-inner`]:{borderColor:ye.colorPrimary}},[`${we}:not(${we}-disabled)`]:{[`&:hover ${ze}-checked:not(${ze}-disabled) ${ze}-inner`]:{backgroundColor:ye.colorPrimaryHover,borderColor:"transparent"},[`&:hover ${ze}-checked:not(${ze}-disabled):after`]:{borderColor:ye.colorPrimaryHover}}},{[`${ze}-checked`]:{[`${ze}-inner`]:{backgroundColor:ye.colorPrimary,borderColor:ye.colorPrimary,"&:after":{opacity:1,transform:"rotate(45deg) scale(1) translate(-50%,-50%)",transition:`all ${ye.motionDurationMid} ${ye.motionEaseOutBack} ${ye.motionDurationFast}`}}},[`
${we}-checked:not(${we}-disabled),
${ze}-checked:not(${ze}-disabled)
`]:{[`&:hover ${ze}-inner`]:{backgroundColor:ye.colorPrimaryHover,borderColor:"transparent"}}},{[ze]:{"&-indeterminate":{[`${ze}-inner`]:{backgroundColor:`${ye.colorBgContainer} !important`,borderColor:`${ye.colorBorder} !important`,"&:after":{top:"50%",insetInlineStart:"50%",width:ye.calc(ye.fontSizeLG).div(2).equal(),height:ye.calc(ye.fontSizeLG).div(2).equal(),backgroundColor:ye.colorPrimary,border:0,transform:"translate(-50%, -50%) scale(1)",opacity:1,content:'""'}},[`&:hover ${ze}-inner`]:{backgroundColor:`${ye.colorBgContainer} !important`,borderColor:`${ye.colorPrimary} !important`}}}},{[`${we}-disabled`]:{cursor:"not-allowed"},[`${ze}-disabled`]:{[`&, ${ze}-input`]:{cursor:"not-allowed",pointerEvents:"none"},[`${ze}-inner`]:{background:ye.colorBgContainerDisabled,borderColor:ye.colorBorder,"&:after":{borderColor:ye.colorTextDisabled}},"&:after":{display:"none"},"& + span":{color:ye.colorTextDisabled},[`&${ze}-indeterminate ${ze}-inner::after`]:{background:ye.colorTextDisabled}}}]};function De(ye,ze){const we=(0,he.mergeToken)(ze,{checkboxCls:`.${ye}`,checkboxSize:ze.controlInteractiveSize});return[be(we)]}yt.ZP=(0,je.I$)("Checkbox",(ye,ze)=>{let{prefixCls:we}=ze;return[De(we,ye)]})},38406:function(dn,yt,E){"use strict";var y=E(59301),xe=E(48755),he=E(584);const je=be=>{const{componentName:De}=be,{getPrefixCls:ye}=(0,y.useContext)(xe.E_),ze=ye("empty");switch(De){case"Table":case"List":return y.createElement(he.Z,{image:he.Z.PRESENTED_IMAGE_SIMPLE});case"Select":case"TreeSelect":case"Cascader":case"Transfer":case"Mentions":return y.createElement(he.Z,{image:he.Z.PRESENTED_IMAGE_SIMPLE,className:`${ze}-small`});case"Table.filter":return null;default:return y.createElement(he.Z,null)}};yt.Z=je},24017:function(dn,yt,E){"use strict";E.d(yt,{default:function(){return fs}});var y=E(66649),xe=E.n(y),he=E(9007),je=E.n(he),be=E(50991),De=E.n(be),ye=E(9084),ze=E.n(ye),we=E(58626),se=E.n(we),Ye=E(13477),fe=E.n(Ye),ke=E(64796),Ae=E.n(ke);xe().extend(Ae()),xe().extend(fe()),xe().extend(je()),xe().extend(De()),xe().extend(ze()),xe().extend(se()),xe().extend(function(ae,He){var ct=He.prototype,Ft=ct.format;ct.format=function(pn){var Dn=(pn||"").replace("Wo","wo");return Ft.bind(this)(Dn)}});var Ce={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"},me=function(He){var ct=Ce[He];return ct||He.split("_")[0]},ue=function(){},Me={getNow:function(){var He=xe()();return typeof He.tz=="function"?He.tz():He},getFixedDate:function(He){return xe()(He,["YYYY-M-DD","YYYY-MM-DD"])},getEndDate:function(He){return He.endOf("month")},getWeekDay:function(He){var ct=He.locale("en");return ct.weekday()+ct.localeData().firstDayOfWeek()},getYear:function(He){return He.year()},getMonth:function(He){return He.month()},getDate:function(He){return He.date()},getHour:function(He){return He.hour()},getMinute:function(He){return He.minute()},getSecond:function(He){return He.second()},getMillisecond:function(He){return He.millisecond()},addYear:function(He,ct){return He.add(ct,"year")},addMonth:function(He,ct){return He.add(ct,"month")},addDate:function(He,ct){return He.add(ct,"day")},setYear:function(He,ct){return He.year(ct)},setMonth:function(He,ct){return He.month(ct)},setDate:function(He,ct){return He.date(ct)},setHour:function(He,ct){return He.hour(ct)},setMinute:function(He,ct){return He.minute(ct)},setSecond:function(He,ct){return He.second(ct)},setMillisecond:function(He,ct){return He.millisecond(ct)},isAfter:function(He,ct){return He.isAfter(ct)},isValidate:function(He){return He.isValid()},locale:{getWeekFirstDay:function(He){return xe()().locale(me(He)).localeData().firstDayOfWeek()},getWeekFirstDate:function(He,ct){return ct.locale(me(He)).weekday(0)},getWeek:function(He,ct){return ct.locale(me(He)).week()},getShortWeekDays:function(He){return xe()().locale(me(He)).localeData().weekdaysMin()},getShortMonths:function(He){return xe()().locale(me(He)).localeData().monthsShort()},format:function(He,ct,Ft){return ct.locale(me(He)).format(Ft)},parse:function(He,ct,Ft){for(var Pt=me(He),pn=0;pn<Ft.length;pn+=1){var Dn=Ft[pn],Pn=ct;if(Dn.includes("wo")||Dn.includes("Wo")){for(var Xn=Pn.split("-")[0],tr=Pn.split("-")[1],In=xe()(Xn,"YYYY").startOf("year").locale(Pt),cr=0;cr<=52;cr+=1){var pr=In.add(cr,"week");if(pr.format("Wo")===tr)return pr}return ue(),null}var hr=xe()(Pn,Dn,!0).locale(Pt);if(hr.isValid())return hr}return ct&&ue(),null}}},Ze=Me,Qe=E(45915),oe=E(59301),Fe=E(54476),rt={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"},Ne=rt,Ge=E(7657),ge=function(He,ct){return oe.createElement(Ge.Z,(0,Fe.Z)({},He,{ref:ct,icon:Ne}))},Oe=oe.forwardRef(ge),Ve=Oe,Pe={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z"}},{tag:"path",attrs:{d:"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"},it=Pe,Le=function(He,ct){return oe.createElement(Ge.Z,(0,Fe.Z)({},He,{ref:ct,icon:it}))},pe=oe.forwardRef(Le),qe=pe,Xe={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"},Ct=Xe,Yt=function(He,ct){return oe.createElement(Ge.Z,(0,Fe.Z)({},He,{ref:ct,icon:Ct}))},We=oe.forwardRef(Yt),Be=We,Dt=E(92310),Zt=E.n(Dt),lt=E(94480),Se=E(33885),Re=E(42978),at=E(70425),jt=E(34280),ft=E(2738),Wt=E(26112),xt=E(48736),$t=E(20068),Rt=E(65030);function ce(ae,He){return ae!==void 0?ae:He?"bottomRight":"bottomLeft"}var ne=oe.createContext(null),te=ne,le={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 ve(ae){var He=ae.popupElement,ct=ae.popupStyle,Ft=ae.popupClassName,Pt=ae.popupAlign,pn=ae.transitionName,Dn=ae.getPopupContainer,Pn=ae.children,Xn=ae.range,tr=ae.placement,In=ae.builtinPlacements,cr=In===void 0?le:In,pr=ae.direction,hr=ae.visible,fr=ae.onClose,Cr=oe.useContext(te),xr=Cr.prefixCls,Sr="".concat(xr,"-dropdown"),qr=ce(tr,pr==="rtl");return oe.createElement(Rt.Z,{showAction:[],hideAction:["click"],popupPlacement:qr,builtinPlacements:cr,prefixCls:Sr,popupTransitionName:pn,popup:He,popupAlign:Pt,popupVisible:hr,popupClassName:Zt()(Ft,(0,$t.Z)((0,$t.Z)({},"".concat(Sr,"-range"),Xn),"".concat(Sr,"-rtl"),pr==="rtl")),popupStyle:ct,stretch:"minWidth",getPopupContainer:Dn,onPopupVisibleChange:function(Br){Br||fr()}},Pn)}var re=ve;function de(ae,He){for(var ct=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"0",Ft=String(ae);Ft.length<He;)Ft="".concat(ct).concat(Ft);return Ft}function Ue(ae){return ae==null?[]:Array.isArray(ae)?ae:[ae]}function pt(ae,He,ct){var Ft=(0,lt.Z)(ae);return Ft[He]=ct,Ft}function et(ae,He){var ct={},Ft=He||Object.keys(ae);return Ft.forEach(function(Pt){ae[Pt]!==void 0&&(ct[Pt]=ae[Pt])}),ct}function tt(ae,He,ct){if(ct)return ct;switch(ae){case"time":return He.fieldTimeFormat;case"datetime":return He.fieldDateTimeFormat;case"month":return He.fieldMonthFormat;case"year":return He.fieldYearFormat;case"quarter":return He.fieldQuarterFormat;case"week":return He.fieldWeekFormat;default:return He.fieldDateFormat}}function dt(ae,He,ct){var Ft=ct!==void 0?ct:He[He.length-1],Pt=He.find(function(pn){return ae[pn]});return Ft!==Pt?ae[Pt]:void 0}function gt(ae){return et(ae,["placement","builtinPlacements","popupAlign","getPopupContainer","transitionName","direction"])}function St(ae,He,ct,Ft){var Pt=oe.useMemo(function(){return ae||function(Dn,Pn){var Xn=Dn;return He&&Pn.type==="date"?He(Xn,Pn.today):ct&&Pn.type==="month"?ct(Xn,Pn.locale):Pn.originNode}},[ae,ct,He]),pn=oe.useCallback(function(Dn,Pn){return Pt(Dn,(0,Se.Z)((0,Se.Z)({},Pn),{},{range:Ft}))},[Pt,Ft]);return pn}function _e(ae,He){var ct=arguments.length>2&&arguments[2]!==void 0?arguments[2]:[],Ft=oe.useState([!1,!1]),Pt=(0,Re.Z)(Ft,2),pn=Pt[0],Dn=Pt[1],Pn=function(In,cr){Dn(function(pr){return pt(pr,cr,In)})},Xn=oe.useMemo(function(){return pn.map(function(tr,In){if(tr)return!0;var cr=ae[In];return cr?!!(!ct[In]&&!cr||cr&&He(cr,{activeIndex:In})):!1})},[ae,pn,He,ct]);return[Xn,Pn]}function st(ae,He,ct,Ft,Pt){var pn="",Dn=[];return ae&&Dn.push(Pt?"hh":"HH"),He&&Dn.push("mm"),ct&&Dn.push("ss"),pn=Dn.join(":"),Ft&&(pn+=".SSS"),Pt&&(pn+=" A"),pn}function en(ae,He,ct,Ft,Pt,pn){var Dn=ae.fieldDateTimeFormat,Pn=ae.fieldDateFormat,Xn=ae.fieldTimeFormat,tr=ae.fieldMonthFormat,In=ae.fieldYearFormat,cr=ae.fieldWeekFormat,pr=ae.fieldQuarterFormat,hr=ae.yearFormat,fr=ae.cellYearFormat,Cr=ae.cellQuarterFormat,xr=ae.dayFormat,Sr=ae.cellDateFormat,qr=st(He,ct,Ft,Pt,pn);return(0,Se.Z)((0,Se.Z)({},ae),{},{fieldDateTimeFormat:Dn||"YYYY-MM-DD ".concat(qr),fieldDateFormat:Pn||"YYYY-MM-DD",fieldTimeFormat:Xn||qr,fieldMonthFormat:tr||"YYYY-MM",fieldYearFormat:In||"YYYY",fieldWeekFormat:cr||"gggg-wo",fieldQuarterFormat:pr||"YYYY-[Q]Q",yearFormat:hr||"YYYY",cellYearFormat:fr||"YYYY",cellQuarterFormat:Cr||"[Q]Q",cellDateFormat:Sr||xr||"D"})}function Ut(ae,He){var ct=He.showHour,Ft=He.showMinute,Pt=He.showSecond,pn=He.showMillisecond,Dn=He.use12Hours;return oe.useMemo(function(){return en(ae,ct,Ft,Pt,pn,Dn)},[ae,ct,Ft,Pt,pn,Dn])}var yn=E(76190);function tn(ae,He,ct){return ct!=null?ct:He.some(function(Ft){return ae.includes(Ft)})}var Vt=["showNow","showHour","showMinute","showSecond","showMillisecond","use12Hours","hourStep","minuteStep","secondStep","millisecondStep","hideDisabledOptions","defaultValue","disabledHours","disabledMinutes","disabledSeconds","disabledMilliseconds","disabledTime","changeOnScroll","defaultOpenValue"];function Qt(ae){var He=et(ae,Vt),ct=ae.format,Ft=ae.picker,Pt=null;return ct&&(Pt=ct,Array.isArray(Pt)&&(Pt=Pt[0]),Pt=(0,yn.Z)(Pt)==="object"?Pt.format:Pt),Ft==="time"&&(He.format=Pt),[He,Pt]}function sn(ae){return ae&&typeof ae=="string"}function bt(ae,He,ct,Ft){return[ae,He,ct,Ft].some(function(Pt){return Pt!==void 0})}function Lt(ae,He,ct,Ft,Pt){var pn=He,Dn=ct,Pn=Ft;if(!ae&&!pn&&!Dn&&!Pn&&!Pt)pn=!0,Dn=!0,Pn=!0;else if(ae){var Xn,tr,In,cr=[pn,Dn,Pn].some(function(fr){return fr===!1}),pr=[pn,Dn,Pn].some(function(fr){return fr===!0}),hr=cr?!0:!pr;pn=(Xn=pn)!==null&&Xn!==void 0?Xn:hr,Dn=(tr=Dn)!==null&&tr!==void 0?tr:hr,Pn=(In=Pn)!==null&&In!==void 0?In:hr}return[pn,Dn,Pn,Pt]}function un(ae){var He=ae.showTime,ct=Qt(ae),Ft=(0,Re.Z)(ct,2),Pt=Ft[0],pn=Ft[1],Dn=He&&(0,yn.Z)(He)==="object"?He:{},Pn=(0,Se.Z)((0,Se.Z)({defaultOpenValue:Dn.defaultOpenValue||Dn.defaultValue},Pt),Dn),Xn=Pn.showMillisecond,tr=Pn.showHour,In=Pn.showMinute,cr=Pn.showSecond,pr=bt(tr,In,cr,Xn),hr=Lt(pr,tr,In,cr,Xn),fr=(0,Re.Z)(hr,3);return tr=fr[0],In=fr[1],cr=fr[2],[Pn,(0,Se.Z)((0,Se.Z)({},Pn),{},{showHour:tr,showMinute:In,showSecond:cr,showMillisecond:Xn}),Pn.format,pn]}function Cn(ae,He,ct,Ft,Pt){var pn=ae==="time";if(ae==="datetime"||pn){for(var Dn=Ft,Pn=tt(ae,Pt,null),Xn=Pn,tr=[He,ct],In=0;In<tr.length;In+=1){var cr=Ue(tr[In])[0];if(sn(cr)){Xn=cr;break}}var pr=Dn.showHour,hr=Dn.showMinute,fr=Dn.showSecond,Cr=Dn.showMillisecond,xr=Dn.use12Hours,Sr=tn(Xn,["a","A","LT","LLL","LTS"],xr),qr=bt(pr,hr,fr,Cr);qr||(pr=tn(Xn,["H","h","k","LT","LLL"]),hr=tn(Xn,["m","LT","LLL"]),fr=tn(Xn,["s","LTS"]),Cr=tn(Xn,["SSS"]));var Kr=Lt(qr,pr,hr,fr,Cr),Br=(0,Re.Z)(Kr,3);pr=Br[0],hr=Br[1],fr=Br[2];var io=He||st(pr,hr,fr,Cr,Sr);return(0,Se.Z)((0,Se.Z)({},Dn),{},{format:io,showHour:pr,showMinute:hr,showSecond:fr,showMillisecond:Cr,use12Hours:Sr})}return null}function ut(ae,He,ct){if(He===!1)return null;var Ft=He&&(0,yn.Z)(He)==="object"?He:{};return Ft.clearIcon||ct||oe.createElement("span",{className:"".concat(ae,"-clear-btn")})}var kt=7;function wt(ae,He,ct){return!ae&&!He||ae===He?!0:!ae||!He?!1:ct()}function cn(ae,He,ct){return wt(He,ct,function(){var Ft=Math.floor(ae.getYear(He)/10),Pt=Math.floor(ae.getYear(ct)/10);return Ft===Pt})}function An(ae,He,ct){return wt(He,ct,function(){return ae.getYear(He)===ae.getYear(ct)})}function Kn(ae,He){var ct=Math.floor(ae.getMonth(He)/3);return ct+1}function rr(ae,He,ct){return wt(He,ct,function(){return An(ae,He,ct)&&Kn(ae,He)===Kn(ae,ct)})}function sr(ae,He,ct){return wt(He,ct,function(){return An(ae,He,ct)&&ae.getMonth(He)===ae.getMonth(ct)})}function kn(ae,He,ct){return wt(He,ct,function(){return An(ae,He,ct)&&sr(ae,He,ct)&&ae.getDate(He)===ae.getDate(ct)})}function Jn(ae,He,ct){return wt(He,ct,function(){return ae.getHour(He)===ae.getHour(ct)&&ae.getMinute(He)===ae.getMinute(ct)&&ae.getSecond(He)===ae.getSecond(ct)})}function zt(ae,He,ct){return wt(He,ct,function(){return kn(ae,He,ct)&&Jn(ae,He,ct)&&ae.getMillisecond(He)===ae.getMillisecond(ct)})}function mn(ae,He,ct,Ft){return wt(ct,Ft,function(){var Pt=ae.locale.getWeekFirstDate(He,ct),pn=ae.locale.getWeekFirstDate(He,Ft);return An(ae,Pt,pn)&&ae.locale.getWeek(He,ct)===ae.locale.getWeek(He,Ft)})}function an(ae,He,ct,Ft,Pt){switch(Pt){case"date":return kn(ae,ct,Ft);case"week":return mn(ae,He.locale,ct,Ft);case"month":return sr(ae,ct,Ft);case"quarter":return rr(ae,ct,Ft);case"year":return An(ae,ct,Ft);case"decade":return cn(ae,ct,Ft);case"time":return Jn(ae,ct,Ft);default:return zt(ae,ct,Ft)}}function ln(ae,He,ct,Ft){return!He||!ct||!Ft?!1:ae.isAfter(Ft,He)&&ae.isAfter(ct,Ft)}function qt(ae,He,ct,Ft,Pt){return an(ae,He,ct,Ft,Pt)?!0:ae.isAfter(ct,Ft)}function xn(ae,He,ct){var Ft=He.locale.getWeekFirstDay(ae),Pt=He.setDate(ct,1),pn=He.getWeekDay(Pt),Dn=He.addDate(Pt,Ft-pn);return He.getMonth(Dn)===He.getMonth(ct)&&He.getDate(Dn)>1&&(Dn=He.addDate(Dn,-7)),Dn}function En(ae,He){var ct=He.generateConfig,Ft=He.locale,Pt=He.format;return ae?typeof Pt=="function"?Pt(ae):ct.locale.format(Ft.locale,ae,Pt):""}function _n(ae,He,ct){var Ft=He,Pt=["getHour","getMinute","getSecond","getMillisecond"],pn=["setHour","setMinute","setSecond","setMillisecond"];return pn.forEach(function(Dn,Pn){ct?Ft=ae[Dn](Ft,ae[Pt[Pn]](ct)):Ft=ae[Dn](Ft,0)}),Ft}function $n(ae,He,ct,Ft,Pt){var pn=(0,at.zX)(function(Dn,Pn){return!!(ct&&ct(Dn,Pn)||Ft&&ae.isAfter(Ft,Dn)&&!an(ae,He,Ft,Dn,Pn.type)||Pt&&ae.isAfter(Dn,Pt)&&!an(ae,He,Pt,Dn,Pn.type))});return pn}function Yn(ae,He,ct){return oe.useMemo(function(){var Ft=tt(ae,He,ct),Pt=Ue(Ft),pn=Pt[0],Dn=(0,yn.Z)(pn)==="object"&&pn.type==="mask"?pn.format:null;return[Pt.map(function(Pn){return typeof Pn=="string"||typeof Pn=="function"?Pn:Pn.format}),Dn]},[ae,He,ct])}function Gn(ae,He,ct){return typeof ae[0]=="function"||ct?!0:He}function Qn(ae,He,ct,Ft){var Pt=(0,at.zX)(function(pn,Dn){var Pn=(0,Se.Z)({type:He},Dn);if(delete Pn.activeIndex,!ae.isValidate(pn)||ct&&ct(pn,Pn))return!0;if((He==="date"||He==="time")&&Ft){var Xn,tr=Dn&&Dn.activeIndex===1?"end":"start",In=((Xn=Ft.disabledTime)===null||Xn===void 0?void 0:Xn.call(Ft,pn,tr,{from:Pn.from}))||{},cr=In.disabledHours,pr=In.disabledMinutes,hr=In.disabledSeconds,fr=In.disabledMilliseconds,Cr=Ft.disabledHours,xr=Ft.disabledMinutes,Sr=Ft.disabledSeconds,qr=cr||Cr,Kr=pr||xr,Br=hr||Sr,io=ae.getHour(pn),zr=ae.getMinute(pn),Ur=ae.getSecond(pn),Go=ae.getMillisecond(pn);if(qr&&qr().includes(io)||Kr&&Kr(io).includes(zr)||Br&&Br(io,zr).includes(Ur)||fr&&fr(io,zr,Ur).includes(Go))return!0}return!1});return Pt}function nr(ae){var He=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,ct=oe.useMemo(function(){var Ft=ae&&Ue(ae);return He&&Ft&&(Ft[1]=Ft[1]||Ft[0]),Ft},[ae,He]);return ct}function Rr(ae,He){var ct=ae.generateConfig,Ft=ae.locale,Pt=ae.picker,pn=Pt===void 0?"date":Pt,Dn=ae.prefixCls,Pn=Dn===void 0?"rc-picker":Dn,Xn=ae.styles,tr=Xn===void 0?{}:Xn,In=ae.classNames,cr=In===void 0?{}:In,pr=ae.order,hr=pr===void 0?!0:pr,fr=ae.components,Cr=fr===void 0?{}:fr,xr=ae.inputRender,Sr=ae.allowClear,qr=ae.clearIcon,Kr=ae.needConfirm,Br=ae.multiple,io=ae.format,zr=ae.inputReadOnly,Ur=ae.disabledDate,Go=ae.minDate,So=ae.maxDate,Po=ae.showTime,bo=ae.value,ti=ae.defaultValue,Oo=ae.pickerValue,uo=ae.defaultPickerValue,no=nr(bo),mo=nr(ti),fo=nr(Oo),ai=nr(uo),ni=pn==="date"&&Po?"datetime":pn,Fo=ni==="time"||ni==="datetime",To=Fo||Br,co=Kr!=null?Kr:Fo,Mo=un(ae),Bo=(0,Re.Z)(Mo,4),li=Bo[0],Di=Bo[1],Pi=Bo[2],Te=Bo[3],Ie=Ut(Ft,Di),ht=oe.useMemo(function(){return Cn(ni,Pi,Te,li,Ie)},[ni,Pi,Te,li,Ie]),At=oe.useMemo(function(){return(0,Se.Z)((0,Se.Z)({},ae),{},{prefixCls:Pn,locale:Ie,picker:pn,styles:tr,classNames:cr,order:hr,components:(0,Se.Z)({input:xr},Cr),clearIcon:ut(Pn,Sr,qr),showTime:ht,value:no,defaultValue:mo,pickerValue:fo,defaultPickerValue:ai},He==null?void 0:He())},[ae]),Nt=Yn(ni,Ie,io),Gt=(0,Re.Z)(Nt,2),fn=Gt[0],on=Gt[1],gn=Gn(fn,zr,Br),Sn=$n(ct,Ft,Ur,Go,So),Wn=Qn(ct,pn,Sn,ht),Tn=oe.useMemo(function(){return(0,Se.Z)((0,Se.Z)({},At),{},{needConfirm:co,inputReadOnly:gn,disabledDate:Sn})},[At,co,gn,Sn]);return[Tn,ni,To,fn,on,Wn]}var Ir=E(16089);function Bn(ae,He,ct){var Ft=(0,at.C8)(He,{value:ae}),Pt=(0,Re.Z)(Ft,2),pn=Pt[0],Dn=Pt[1],Pn=oe.useRef(ae),Xn=oe.useRef(),tr=function(){Ir.Z.cancel(Xn.current)},In=(0,at.zX)(function(){Dn(Pn.current),ct&&pn!==Pn.current&&ct(Pn.current)}),cr=(0,at.zX)(function(pr,hr){tr(),Pn.current=pr,pr||hr?In():Xn.current=(0,Ir.Z)(In)});return oe.useEffect(function(){return tr},[]),[pn,cr]}function Mn(ae,He){var ct=arguments.length>2&&arguments[2]!==void 0?arguments[2]:[],Ft=arguments.length>3?arguments[3]:void 0,Pt=ct.every(function(In){return In})?!1:ae,pn=Bn(Pt,He||!1,Ft),Dn=(0,Re.Z)(pn,2),Pn=Dn[0],Xn=Dn[1];function tr(In){var cr=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};(!cr.inherit||Pn)&&Xn(In,cr.force)}return[Pn,tr]}function ur(ae){var He=oe.useRef();return oe.useImperativeHandle(ae,function(){var ct;return{nativeElement:(ct=He.current)===null||ct===void 0?void 0:ct.nativeElement,focus:function(Pt){var pn;(pn=He.current)===null||pn===void 0||pn.focus(Pt)},blur:function(){var Pt;(Pt=He.current)===null||Pt===void 0||Pt.blur()}}}),He}function dr(ae,He){return oe.useMemo(function(){return ae||(He?((0,xt.ZP)(!1,"`ranges` is deprecated. Please use `presets` instead."),Object.entries(He).map(function(ct){var Ft=(0,Re.Z)(ct,2),Pt=Ft[0],pn=Ft[1];return{label:Pt,value:pn}})):[])},[ae,He])}function Ot(ae,He){var ct=arguments.length>2&&arguments[2]!==void 0?arguments[2]:1,Ft=oe.useRef(He);Ft.current=He,(0,jt.o)(function(){if(ae)Ft.current(ae);else{var Pt=(0,Ir.Z)(function(){Ft.current(ae)},ct);return function(){Ir.Z.cancel(Pt)}}},[ae])}function Jt(ae){var He=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],ct=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1,Ft=oe.useState(0),Pt=(0,Re.Z)(Ft,2),pn=Pt[0],Dn=Pt[1],Pn=oe.useState(!1),Xn=(0,Re.Z)(Pn,2),tr=Xn[0],In=Xn[1],cr=oe.useRef([]),pr=oe.useRef(null),hr=oe.useRef(null),fr=function(Br){pr.current=Br},Cr=function(Br){return pr.current===Br},xr=function(Br){In(Br)},Sr=function(Br){return Br&&(hr.current=Br),hr.current},qr=function(Br){var io=cr.current,zr=new Set(io.filter(function(Go){return Br[Go]||He[Go]})),Ur=io[io.length-1]===0?1:0;return zr.size>=2||ae[Ur]?null:Ur};return Ot(tr||ct,function(){tr||(cr.current=[],fr(null))}),oe.useEffect(function(){tr&&cr.current.push(pn)},[tr,pn]),[tr,xr,Sr,pn,Dn,qr,cr.current,fr,Cr]}function vt(ae,He,ct,Ft,Pt,pn){var Dn=ct[ct.length-1],Pn=function(tr,In){var cr=(0,Re.Z)(ae,2),pr=cr[0],hr=cr[1],fr=(0,Se.Z)((0,Se.Z)({},In),{},{from:dt(ae,ct)});return Dn===1&&He[0]&&pr&&!an(Ft,Pt,pr,tr,fr.type)&&Ft.isAfter(pr,tr)||Dn===0&&He[1]&&hr&&!an(Ft,Pt,hr,tr,fr.type)&&Ft.isAfter(tr,hr)?!0:pn==null?void 0:pn(tr,fr)};return Pn}function Tt(ae,He,ct,Ft){switch(He){case"date":case"week":return ae.addMonth(ct,Ft);case"month":case"quarter":return ae.addYear(ct,Ft);case"year":return ae.addYear(ct,Ft*10);case"decade":return ae.addYear(ct,Ft*100);default:return ct}}var Et=[];function Ht(ae,He,ct,Ft,Pt,pn,Dn,Pn){var Xn=arguments.length>8&&arguments[8]!==void 0?arguments[8]:Et,tr=arguments.length>9&&arguments[9]!==void 0?arguments[9]:Et,In=arguments.length>10&&arguments[10]!==void 0?arguments[10]:Et,cr=arguments.length>11?arguments[11]:void 0,pr=arguments.length>12?arguments[12]:void 0,hr=arguments.length>13?arguments[13]:void 0,fr=Dn==="time",Cr=pn||0,xr=function(fo){var ai=ae.getNow();return fr&&(ai=_n(ae,ai)),Xn[fo]||ct[fo]||ai},Sr=(0,Re.Z)(tr,2),qr=Sr[0],Kr=Sr[1],Br=(0,at.C8)(function(){return xr(0)},{value:qr}),io=(0,Re.Z)(Br,2),zr=io[0],Ur=io[1],Go=(0,at.C8)(function(){return xr(1)},{value:Kr}),So=(0,Re.Z)(Go,2),Po=So[0],bo=So[1],ti=oe.useMemo(function(){var mo=[zr,Po][Cr];return fr?mo:_n(ae,mo,In[Cr])},[fr,zr,Po,Cr,ae,In]),Oo=function(fo){var ai=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"panel",ni=[Ur,bo][Cr];ni(fo);var Fo=[zr,Po];Fo[Cr]=fo,cr&&(!an(ae,He,zr,Fo[0],Dn)||!an(ae,He,Po,Fo[1],Dn))&&cr(Fo,{source:ai,range:Cr===1?"end":"start",mode:Ft})},uo=function(fo,ai){if(Pn){var ni={date:"month",week:"month",month:"year",quarter:"year"},Fo=ni[Dn];if(Fo&&!an(ae,He,fo,ai,Fo))return Tt(ae,Dn,ai,-1);if(Dn==="year"&&fo){var To=Math.floor(ae.getYear(fo)/10),co=Math.floor(ae.getYear(ai)/10);if(To!==co)return Tt(ae,Dn,ai,-1)}}return ai},no=oe.useRef(null);return(0,jt.Z)(function(){if(Pt&&!Xn[Cr]){var mo=fr?null:ae.getNow();if(no.current!==null&&no.current!==Cr?mo=[zr,Po][Cr^1]:ct[Cr]?mo=Cr===0?ct[0]:uo(ct[0],ct[1]):ct[Cr^1]&&(mo=ct[Cr^1]),mo){pr&&ae.isAfter(pr,mo)&&(mo=pr);var fo=Pn?Tt(ae,Dn,mo,1):mo;hr&&ae.isAfter(fo,hr)&&(mo=Pn?Tt(ae,Dn,hr,-1):hr),Oo(mo,"reset")}}},[Pt,Cr,ct[Cr]]),oe.useEffect(function(){Pt?no.current=Cr:no.current=null},[Pt,Cr]),(0,jt.Z)(function(){Pt&&Xn&&Xn[Cr]&&Oo(Xn[Cr],"reset")},[Pt,Cr]),[ti,Oo]}function ot(ae,He){var ct=oe.useRef(ae),Ft=oe.useState({}),Pt=(0,Re.Z)(Ft,2),pn=Pt[1],Dn=function(tr){return tr&&He!==void 0?He:ct.current},Pn=function(tr){ct.current=tr,pn({})};return[Dn,Pn,Dn(!0)]}var Xt=[];function nn(ae,He,ct){var Ft=function(Dn){return Dn.map(function(Pn){return En(Pn,{generateConfig:ae,locale:He,format:ct[0]})})},Pt=function(Dn,Pn){for(var Xn=Math.max(Dn.length,Pn.length),tr=-1,In=0;In<Xn;In+=1){var cr=Dn[In]||null,pr=Pn[In]||null;if(cr!==pr&&!zt(ae,cr,pr)){tr=In;break}}return[tr<0,tr!==0]};return[Ft,Pt]}function Kt(ae,He){return(0,lt.Z)(ae).sort(function(ct,Ft){return He.isAfter(ct,Ft)?1:-1})}function nt(ae){var He=ot(ae),ct=(0,Re.Z)(He,2),Ft=ct[0],Pt=ct[1],pn=(0,at.zX)(function(){Pt(ae)});return oe.useEffect(function(){pn()},[ae]),[Ft,Pt]}function Bt(ae,He,ct,Ft,Pt,pn,Dn,Pn,Xn){var tr=(0,at.C8)(pn,{value:Dn}),In=(0,Re.Z)(tr,2),cr=In[0],pr=In[1],hr=cr||Xt,fr=nt(hr),Cr=(0,Re.Z)(fr,2),xr=Cr[0],Sr=Cr[1],qr=nn(ae,He,ct),Kr=(0,Re.Z)(qr,2),Br=Kr[0],io=Kr[1],zr=(0,at.zX)(function(Go){var So=(0,lt.Z)(Go);if(Ft)for(var Po=0;Po<2;Po+=1)So[Po]=So[Po]||null;else Pt&&(So=Kt(So.filter(function(mo){return mo}),ae));var bo=io(xr(),So),ti=(0,Re.Z)(bo,2),Oo=ti[0],uo=ti[1];if(!Oo&&(Sr(So),Pn)){var no=Br(So);Pn(So,no,{range:uo?"end":"start"})}}),Ur=function(){Xn&&Xn(xr())};return[hr,pr,xr,zr,Ur]}function It(ae,He,ct,Ft,Pt,pn,Dn,Pn,Xn,tr){var In=ae.generateConfig,cr=ae.locale,pr=ae.picker,hr=ae.onChange,fr=ae.allowEmpty,Cr=ae.order,xr=pn.some(function(Oo){return Oo})?!1:Cr,Sr=nn(In,cr,Dn),qr=(0,Re.Z)(Sr,2),Kr=qr[0],Br=qr[1],io=ot(He),zr=(0,Re.Z)(io,2),Ur=zr[0],Go=zr[1],So=(0,at.zX)(function(){Go(He)});oe.useEffect(function(){So()},[He]);var Po=(0,at.zX)(function(Oo){var uo=Oo===null,no=(0,lt.Z)(Oo||Ur());if(uo)for(var mo=Math.max(pn.length,no.length),fo=0;fo<mo;fo+=1)pn[fo]||(no[fo]=null);xr&&no[0]&&no[1]&&(no=Kt(no,In)),Pt(no);var ai=no,ni=(0,Re.Z)(ai,2),Fo=ni[0],To=ni[1],co=!Fo,Mo=!To,Bo=fr?(!co||fr[0])&&(!Mo||fr[1]):!0,li=!Cr||co||Mo||an(In,cr,Fo,To,pr)||In.isAfter(To,Fo),Di=(pn[0]||!Fo||!tr(Fo,{activeIndex:0}))&&(pn[1]||!To||!tr(To,{from:Fo,activeIndex:1})),Pi=uo||Bo&&li&&Di;if(Pi){ct(no);var Te=Br(no,He),Ie=(0,Re.Z)(Te,1),ht=Ie[0];hr&&!ht&&hr(uo&&no.every(function(At){return!At})?null:no,Kr(no))}return Pi}),bo=(0,at.zX)(function(Oo,uo){var no=pt(Ur(),Oo,Ft()[Oo]);Go(no),uo&&Po()}),ti=!Pn&&!Xn;return Ot(!ti,function(){ti&&(Po(),Pt(He),So())},2),[bo,Po]}function _t(ae,He,ct,Ft,Pt){return He!=="date"&&He!=="time"?!1:ct!==void 0?ct:Ft!==void 0?Ft:!Pt&&(ae==="date"||ae==="time")}var Ln=E(29301);function zn(ae,He,ct,Ft,Pt,pn){var Dn=ae;function Pn(cr,pr,hr){var fr=pn[cr](Dn),Cr=hr.find(function(Kr){return Kr.value===fr});if(!Cr||Cr.disabled){var xr=hr.filter(function(Kr){return!Kr.disabled}),Sr=(0,lt.Z)(xr).reverse(),qr=Sr.find(function(Kr){return Kr.value<=fr})||xr[0];qr&&(fr=qr.value,Dn=pn[pr](Dn,fr))}return fr}var Xn=Pn("getHour","setHour",He()),tr=Pn("getMinute","setMinute",ct(Xn)),In=Pn("getSecond","setSecond",Ft(Xn,tr));return Pn("getMillisecond","setMillisecond",Pt(Xn,tr,In)),Dn}function Vn(){return[]}function Or(ae,He){for(var ct=arguments.length>2&&arguments[2]!==void 0?arguments[2]:1,Ft=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!1,Pt=arguments.length>4&&arguments[4]!==void 0?arguments[4]:[],pn=arguments.length>5&&arguments[5]!==void 0?arguments[5]:2,Dn=[],Pn=ct>=1?ct|0:1,Xn=ae;Xn<=He;Xn+=Pn){var tr=Pt.includes(Xn);(!tr||!Ft)&&Dn.push({label:de(Xn,pn),value:Xn,disabled:tr})}return Dn}function Hr(ae){var He=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},ct=arguments.length>2?arguments[2]:void 0,Ft=He||{},Pt=Ft.use12Hours,pn=Ft.hourStep,Dn=pn===void 0?1:pn,Pn=Ft.minuteStep,Xn=Pn===void 0?1:Pn,tr=Ft.secondStep,In=tr===void 0?1:tr,cr=Ft.millisecondStep,pr=cr===void 0?100:cr,hr=Ft.hideDisabledOptions,fr=Ft.disabledTime,Cr=Ft.disabledHours,xr=Ft.disabledMinutes,Sr=Ft.disabledSeconds,qr=oe.useMemo(function(){return ct||ae.getNow()},[ct,ae]);if(0)var Kr,Br,io;var zr=oe.useCallback(function(To){var co=(fr==null?void 0:fr(To))||{};return[co.disabledHours||Cr||Vn,co.disabledMinutes||xr||Vn,co.disabledSeconds||Sr||Vn,co.disabledMilliseconds||Vn]},[fr,Cr,xr,Sr]),Ur=oe.useMemo(function(){return zr(qr)},[qr,zr]),Go=(0,Re.Z)(Ur,4),So=Go[0],Po=Go[1],bo=Go[2],ti=Go[3],Oo=oe.useCallback(function(To,co,Mo,Bo){var li=Or(0,23,Dn,hr,To()),Di=Pt?li.map(function(ht){return(0,Se.Z)((0,Se.Z)({},ht),{},{label:de(ht.value%12||12,2)})}):li,Pi=function(At){return Or(0,59,Xn,hr,co(At))},Te=function(At,Nt){return Or(0,59,In,hr,Mo(At,Nt))},Ie=function(At,Nt,Gt){return Or(0,999,pr,hr,Bo(At,Nt,Gt),3)};return[Di,Pi,Te,Ie]},[hr,Dn,Pt,pr,Xn,In]),uo=oe.useMemo(function(){return Oo(So,Po,bo,ti)},[Oo,So,Po,bo,ti]),no=(0,Re.Z)(uo,4),mo=no[0],fo=no[1],ai=no[2],ni=no[3],Fo=function(co,Mo){var Bo=function(){return mo},li=fo,Di=ai,Pi=ni;if(Mo){var Te=zr(Mo),Ie=(0,Re.Z)(Te,4),ht=Ie[0],At=Ie[1],Nt=Ie[2],Gt=Ie[3],fn=Oo(ht,At,Nt,Gt),on=(0,Re.Z)(fn,4),gn=on[0],Sn=on[1],Wn=on[2],Tn=on[3];Bo=function(){return gn},li=Sn,Di=Wn,Pi=Tn}var On=zn(co,Bo,li,Di,Pi,ae);return On};return[Fo,mo,fo,ai,ni]}function to(ae){var He=ae.mode,ct=ae.internalMode,Ft=ae.renderExtraFooter,Pt=ae.showNow,pn=ae.showTime,Dn=ae.onSubmit,Pn=ae.onNow,Xn=ae.invalid,tr=ae.needConfirm,In=ae.generateConfig,cr=ae.disabledDate,pr=oe.useContext(te),hr=pr.prefixCls,fr=pr.locale,Cr=pr.button,xr=Cr===void 0?"button":Cr,Sr=In.getNow(),qr=Hr(In,pn,Sr),Kr=(0,Re.Z)(qr,1),Br=Kr[0],io=Ft==null?void 0:Ft(He),zr=cr(Sr,{type:He}),Ur=function(){if(!zr){var uo=Br(Sr);Pn(uo)}},Go="".concat(hr,"-now"),So="".concat(Go,"-btn"),Po=Pt&&oe.createElement("li",{className:Go},oe.createElement("a",{className:Zt()(So,zr&&"".concat(So,"-disabled")),"aria-disabled":zr,onClick:Ur},ct==="date"?fr.today:fr.now)),bo=tr&&oe.createElement("li",{className:"".concat(hr,"-ok")},oe.createElement(xr,{disabled:Xn,onClick:Dn},fr.ok)),ti=(Po||bo)&&oe.createElement("ul",{className:"".concat(hr,"-ranges")},Po,bo);return!io&&!ti?null:oe.createElement("div",{className:"".concat(hr,"-footer")},io&&oe.createElement("div",{className:"".concat(hr,"-footer-extra")},io),ti)}function mr(ae,He,ct){function Ft(Pt,pn){var Dn=Pt.findIndex(function(Xn){return an(ae,He,Xn,pn,ct)});if(Dn===-1)return[].concat((0,lt.Z)(Pt),[pn]);var Pn=(0,lt.Z)(Pt);return Pn.splice(Dn,1),Pn}return Ft}var Er=oe.createContext(null);function Nr(){return oe.useContext(Er)}function Yr(ae,He){var ct=ae.prefixCls,Ft=ae.generateConfig,Pt=ae.locale,pn=ae.disabledDate,Dn=ae.minDate,Pn=ae.maxDate,Xn=ae.cellRender,tr=ae.hoverValue,In=ae.hoverRangeValue,cr=ae.onHover,pr=ae.values,hr=ae.pickerValue,fr=ae.onSelect,Cr=ae.prevIcon,xr=ae.nextIcon,Sr=ae.superPrevIcon,qr=ae.superNextIcon,Kr=Ft.getNow(),Br={now:Kr,values:pr,pickerValue:hr,prefixCls:ct,disabledDate:pn,minDate:Dn,maxDate:Pn,cellRender:Xn,hoverValue:tr,hoverRangeValue:In,onHover:cr,locale:Pt,generateConfig:Ft,onSelect:fr,panelType:He,prevIcon:Cr,nextIcon:xr,superPrevIcon:Sr,superNextIcon:qr};return[Br,Kr]}var ro=oe.createContext({});function oo(ae){for(var He=ae.rowNum,ct=ae.colNum,Ft=ae.baseDate,Pt=ae.getCellDate,pn=ae.prefixColumn,Dn=ae.rowClassName,Pn=ae.titleFormat,Xn=ae.getCellText,tr=ae.getCellClassName,In=ae.headerCells,cr=ae.cellSelection,pr=cr===void 0?!0:cr,hr=ae.disabledDate,fr=Nr(),Cr=fr.prefixCls,xr=fr.panelType,Sr=fr.now,qr=fr.disabledDate,Kr=fr.cellRender,Br=fr.onHover,io=fr.hoverValue,zr=fr.hoverRangeValue,Ur=fr.generateConfig,Go=fr.values,So=fr.locale,Po=fr.onSelect,bo=hr||qr,ti="".concat(Cr,"-cell"),Oo=oe.useContext(ro),uo=Oo.onCellDblClick,no=function(Mo){return Go.some(function(Bo){return Bo&&an(Ur,So,Mo,Bo,xr)})},mo=[],fo=0;fo<He;fo+=1){for(var ai=[],ni=void 0,Fo=function(){var Mo=fo*ct+To,Bo=Pt(Ft,Mo),li=bo==null?void 0:bo(Bo,{type:xr});To===0&&(ni=Bo,pn&&ai.push(pn(ni)));var Di=!1,Pi=!1,Te=!1;if(pr&&zr){var Ie=(0,Re.Z)(zr,2),ht=Ie[0],At=Ie[1];Di=ln(Ur,ht,At,Bo),Pi=an(Ur,So,Bo,ht,xr),Te=an(Ur,So,Bo,At,xr)}var Nt=Pn?En(Bo,{locale:So,format:Pn,generateConfig:Ur}):void 0,Gt=oe.createElement("div",{className:"".concat(ti,"-inner")},Xn(Bo));ai.push(oe.createElement("td",{key:To,title:Nt,className:Zt()(ti,(0,Se.Z)((0,$t.Z)((0,$t.Z)((0,$t.Z)((0,$t.Z)((0,$t.Z)((0,$t.Z)({},"".concat(ti,"-disabled"),li),"".concat(ti,"-hover"),(io||[]).some(function(fn){return an(Ur,So,Bo,fn,xr)})),"".concat(ti,"-in-range"),Di&&!Pi&&!Te),"".concat(ti,"-range-start"),Pi),"".concat(ti,"-range-end"),Te),"".concat(Cr,"-cell-selected"),!zr&&xr!=="week"&&no(Bo)),tr(Bo))),onClick:function(){li||Po(Bo)},onDoubleClick:function(){!li&&uo&&uo()},onMouseEnter:function(){li||Br==null||Br(Bo)},onMouseLeave:function(){li||Br==null||Br(null)}},Kr?Kr(Bo,{prefixCls:Cr,originNode:Gt,today:Sr,type:xr,locale:So}):Gt))},To=0;To<ct;To+=1)Fo();mo.push(oe.createElement("tr",{key:fo,className:Dn==null?void 0:Dn(ni)},ai))}return oe.createElement("div",{className:"".concat(Cr,"-body")},oe.createElement("table",{className:"".concat(Cr,"-content")},In&&oe.createElement("thead",null,oe.createElement("tr",null,In)),oe.createElement("tbody",null,mo)))}var ao={visibility:"hidden"};function Lr(ae){var He=ae.offset,ct=ae.superOffset,Ft=ae.onChange,Pt=ae.getStart,pn=ae.getEnd,Dn=ae.children,Pn=Nr(),Xn=Pn.prefixCls,tr=Pn.prevIcon,In=tr===void 0?"\u2039":tr,cr=Pn.nextIcon,pr=cr===void 0?"\u203A":cr,hr=Pn.superPrevIcon,fr=hr===void 0?"\xAB":hr,Cr=Pn.superNextIcon,xr=Cr===void 0?"\xBB":Cr,Sr=Pn.minDate,qr=Pn.maxDate,Kr=Pn.generateConfig,Br=Pn.locale,io=Pn.pickerValue,zr=Pn.panelType,Ur="".concat(Xn,"-header"),Go=oe.useContext(ro),So=Go.hidePrev,Po=Go.hideNext,bo=Go.hideHeader,ti=oe.useMemo(function(){if(!Sr||!He||!pn)return!1;var co=pn(He(-1,io));return!qt(Kr,Br,co,Sr,zr)},[Sr,He,io,pn,Kr,Br,zr]),Oo=oe.useMemo(function(){if(!Sr||!ct||!pn)return!1;var co=pn(ct(-1,io));return!qt(Kr,Br,co,Sr,zr)},[Sr,ct,io,pn,Kr,Br,zr]),uo=oe.useMemo(function(){if(!qr||!He||!Pt)return!1;var co=Pt(He(1,io));return!qt(Kr,Br,qr,co,zr)},[qr,He,io,Pt,Kr,Br,zr]),no=oe.useMemo(function(){if(!qr||!ct||!Pt)return!1;var co=Pt(ct(1,io));return!qt(Kr,Br,qr,co,zr)},[qr,ct,io,Pt,Kr,Br,zr]),mo=function(Mo){He&&Ft(He(Mo,io))},fo=function(Mo){ct&&Ft(ct(Mo,io))};if(bo)return null;var ai="".concat(Ur,"-prev-btn"),ni="".concat(Ur,"-next-btn"),Fo="".concat(Ur,"-super-prev-btn"),To="".concat(Ur,"-super-next-btn");return oe.createElement("div",{className:Ur},ct&&oe.createElement("button",{type:"button","aria-label":Br.previousYear,onClick:function(){return fo(-1)},tabIndex:-1,className:Zt()(Fo,Oo&&"".concat(Fo,"-disabled")),disabled:Oo,style:So?ao:{}},fr),He&&oe.createElement("button",{type:"button","aria-label":Br.previousMonth,onClick:function(){return mo(-1)},tabIndex:-1,className:Zt()(ai,ti&&"".concat(ai,"-disabled")),disabled:ti,style:So?ao:{}},In),oe.createElement("div",{className:"".concat(Ur,"-view")},Dn),He&&oe.createElement("button",{type:"button","aria-label":Br.nextMonth,onClick:function(){return mo(1)},tabIndex:-1,className:Zt()(ni,uo&&"".concat(ni,"-disabled")),disabled:uo,style:Po?ao:{}},pr),ct&&oe.createElement("button",{type:"button","aria-label":Br.nextYear,onClick:function(){return fo(1)},tabIndex:-1,className:Zt()(To,no&&"".concat(To,"-disabled")),disabled:no,style:Po?ao:{}},xr))}var eo=Lr;function $r(ae){var He=ae.prefixCls,ct=ae.panelName,Ft=ct===void 0?"date":ct,Pt=ae.locale,pn=ae.generateConfig,Dn=ae.pickerValue,Pn=ae.onPickerValueChange,Xn=ae.onModeChange,tr=ae.mode,In=tr===void 0?"date":tr,cr=ae.disabledDate,pr=ae.onSelect,hr=ae.onHover,fr=ae.showWeek,Cr="".concat(He,"-").concat(Ft,"-panel"),xr="".concat(He,"-cell"),Sr=In==="week",qr=Yr(ae,In),Kr=(0,Re.Z)(qr,2),Br=Kr[0],io=Kr[1],zr=pn.locale.getWeekFirstDay(Pt.locale),Ur=pn.setDate(Dn,1),Go=xn(Pt.locale,pn,Ur),So=pn.getMonth(Dn),Po=fr===void 0?Sr:fr,bo=Po?function(co){var Mo=cr==null?void 0:cr(co,{type:"week"});return oe.createElement("td",{key:"week",className:Zt()(xr,"".concat(xr,"-week"),(0,$t.Z)({},"".concat(xr,"-disabled"),Mo)),onClick:function(){Mo||pr(co)},onMouseEnter:function(){Mo||hr==null||hr(co)},onMouseLeave:function(){Mo||hr==null||hr(null)}},oe.createElement("div",{className:"".concat(xr,"-inner")},pn.locale.getWeek(Pt.locale,co)))}:null,ti=[],Oo=Pt.shortWeekDays||(pn.locale.getShortWeekDays?pn.locale.getShortWeekDays(Pt.locale):[]);bo&&ti.push(oe.createElement("th",{key:"empty"},oe.createElement("span",{style:{width:0,height:0,position:"absolute",overflow:"hidden",opacity:0}},Pt.week)));for(var uo=0;uo<kt;uo+=1)ti.push(oe.createElement("th",{key:uo},Oo[(uo+zr)%kt]));var no=function(Mo,Bo){return pn.addDate(Mo,Bo)},mo=function(Mo){return En(Mo,{locale:Pt,format:Pt.cellDateFormat,generateConfig:pn})},fo=function(Mo){var Bo=(0,$t.Z)((0,$t.Z)({},"".concat(He,"-cell-in-view"),sr(pn,Mo,Dn)),"".concat(He,"-cell-today"),kn(pn,Mo,io));return Bo},ai=Pt.shortMonths||(pn.locale.getShortMonths?pn.locale.getShortMonths(Pt.locale):[]),ni=oe.createElement("button",{type:"button","aria-label":Pt.yearSelect,key:"year",onClick:function(){Xn("year",Dn)},tabIndex:-1,className:"".concat(He,"-year-btn")},En(Dn,{locale:Pt,format:Pt.yearFormat,generateConfig:pn})),Fo=oe.createElement("button",{type:"button","aria-label":Pt.monthSelect,key:"month",onClick:function(){Xn("month",Dn)},tabIndex:-1,className:"".concat(He,"-month-btn")},Pt.monthFormat?En(Dn,{locale:Pt,format:Pt.monthFormat,generateConfig:pn}):ai[So]),To=Pt.monthBeforeYear?[Fo,ni]:[ni,Fo];return oe.createElement(Er.Provider,{value:Br},oe.createElement("div",{className:Zt()(Cr,fr&&"".concat(Cr,"-show-week"))},oe.createElement(eo,{offset:function(Mo){return pn.addMonth(Dn,Mo)},superOffset:function(Mo){return pn.addYear(Dn,Mo)},onChange:Pn,getStart:function(Mo){return pn.setDate(Mo,1)},getEnd:function(Mo){var Bo=pn.setDate(Mo,1);return Bo=pn.addMonth(Bo,1),pn.addDate(Bo,-1)}},To),oe.createElement(oo,(0,Fe.Z)({titleFormat:Pt.fieldDateFormat},ae,{colNum:kt,rowNum:6,baseDate:Go,headerCells:ti,getCellDate:no,getCellText:mo,getCellClassName:fo,prefixColumn:bo,cellSelection:!Sr}))))}var Wo=E(29194),Vo=1/3;function ir(ae,He){var ct=oe.useRef(!1),Ft=oe.useRef(null),Pt=oe.useRef(null),pn=function(){return ct.current},Dn=function(){Ir.Z.cancel(Ft.current),ct.current=!1},Pn=oe.useRef(),Xn=function(){var cr=ae.current;if(Pt.current=null,Pn.current=0,cr){var pr=cr.querySelector('[data-value="'.concat(He,'"]')),hr=cr.querySelector("li"),fr=function Cr(){Dn(),ct.current=!0,Pn.current+=1;var xr=cr.scrollTop,Sr=hr.offsetTop,qr=pr.offsetTop,Kr=qr-Sr;if(qr===0&&pr!==hr||!(0,Wo.Z)(cr)){Pn.current<=5&&(Ft.current=(0,Ir.Z)(Cr));return}var Br=xr+(Kr-xr)*Vo,io=Math.abs(Kr-Br);if(Pt.current!==null&&Pt.current<io){Dn();return}if(Pt.current=io,io<=1){cr.scrollTop=Kr,Dn();return}cr.scrollTop=Br,Ft.current=(0,Ir.Z)(Cr)};pr&&hr&&fr()}},tr=(0,at.zX)(Xn);return[tr,Dn,pn]}var Ro=300;function ei(ae){return ae.map(function(He){var ct=He.value,Ft=He.label,Pt=He.disabled;return[ct,Ft,Pt].join(",")}).join(";")}function yo(ae){var He=ae.units,ct=ae.value,Ft=ae.optionalValue,Pt=ae.type,pn=ae.onChange,Dn=ae.onHover,Pn=ae.onDblClick,Xn=ae.changeOnScroll,tr=Nr(),In=tr.prefixCls,cr=tr.cellRender,pr=tr.now,hr=tr.locale,fr="".concat(In,"-time-panel"),Cr="".concat(In,"-time-panel-cell"),xr=oe.useRef(null),Sr=oe.useRef(),qr=function(){clearTimeout(Sr.current)},Kr=ir(xr,ct!=null?ct:Ft),Br=(0,Re.Z)(Kr,3),io=Br[0],zr=Br[1],Ur=Br[2];(0,jt.Z)(function(){return io(),qr(),function(){zr(),qr()}},[ct,Ft,ei(He)]);var Go=function(bo){qr();var ti=bo.target;!Ur()&&Xn&&(Sr.current=setTimeout(function(){var Oo=xr.current,uo=Oo.querySelector("li").offsetTop,no=Array.from(Oo.querySelectorAll("li")),mo=no.map(function(To){return To.offsetTop-uo}),fo=mo.map(function(To,co){return He[co].disabled?Number.MAX_SAFE_INTEGER:Math.abs(To-ti.scrollTop)}),ai=Math.min.apply(Math,(0,lt.Z)(fo)),ni=fo.findIndex(function(To){return To===ai}),Fo=He[ni];Fo&&!Fo.disabled&&pn(Fo.value)},Ro))},So="".concat(fr,"-column");return oe.createElement("ul",{className:So,ref:xr,"data-type":Pt,onScroll:Go},He.map(function(Po){var bo=Po.label,ti=Po.value,Oo=Po.disabled,uo=oe.createElement("div",{className:"".concat(Cr,"-inner")},bo);return oe.createElement("li",{key:ti,className:Zt()(Cr,(0,$t.Z)((0,$t.Z)({},"".concat(Cr,"-selected"),ct===ti),"".concat(Cr,"-disabled"),Oo)),onClick:function(){Oo||pn(ti)},onDoubleClick:function(){!Oo&&Pn&&Pn()},onMouseEnter:function(){Dn(ti)},onMouseLeave:function(){Dn(null)},"data-value":ti},cr?cr(ti,{prefixCls:In,originNode:uo,today:pr,type:"time",subType:Pt,locale:hr}):uo)}))}function Zo(ae){return ae<12}function vo(ae){var He=ae.showHour,ct=ae.showMinute,Ft=ae.showSecond,Pt=ae.showMillisecond,pn=ae.use12Hours,Dn=ae.changeOnScroll,Pn=Nr(),Xn=Pn.prefixCls,tr=Pn.values,In=Pn.generateConfig,cr=Pn.locale,pr=Pn.onSelect,hr=Pn.onHover,fr=hr===void 0?function(){}:hr,Cr=Pn.pickerValue,xr=(tr==null?void 0:tr[0])||null,Sr=oe.useContext(ro),qr=Sr.onCellDblClick,Kr=Hr(In,ae,xr),Br=(0,Re.Z)(Kr,5),io=Br[0],zr=Br[1],Ur=Br[2],Go=Br[3],So=Br[4],Po=function(ar){var Zr=xr&&In[ar](xr),Xr=Cr&&In[ar](Cr);return[Zr,Xr]},bo=Po("getHour"),ti=(0,Re.Z)(bo,2),Oo=ti[0],uo=ti[1],no=Po("getMinute"),mo=(0,Re.Z)(no,2),fo=mo[0],ai=mo[1],ni=Po("getSecond"),Fo=(0,Re.Z)(ni,2),To=Fo[0],co=Fo[1],Mo=Po("getMillisecond"),Bo=(0,Re.Z)(Mo,2),li=Bo[0],Di=Bo[1],Pi=Oo===null?null:Zo(Oo)?"am":"pm",Te=oe.useMemo(function(){return pn?Zo(Oo)?zr.filter(function(lr){return Zo(lr.value)}):zr.filter(function(lr){return!Zo(lr.value)}):zr},[Oo,zr,pn]),Ie=function(ar,Zr){var Xr,lo=ar.filter(function(Lo){return!Lo.disabled});return Zr!=null?Zr:lo==null||(Xr=lo[0])===null||Xr===void 0?void 0:Xr.value},ht=Ie(zr,Oo),At=oe.useMemo(function(){return Ur(ht)},[Ur,ht]),Nt=Ie(At,fo),Gt=oe.useMemo(function(){return Go(ht,Nt)},[Go,ht,Nt]),fn=Ie(Gt,To),on=oe.useMemo(function(){return So(ht,Nt,fn)},[So,ht,Nt,fn]),gn=Ie(on,li),Sn=oe.useMemo(function(){if(!pn)return[];var lr=In.getNow(),ar=In.setHour(lr,6),Zr=In.setHour(lr,18),Xr=function(Lo,_r){var Fi=cr.cellMeridiemFormat;return Fi?En(Lo,{generateConfig:In,locale:cr,format:Fi}):_r};return[{label:Xr(ar,"AM"),value:"am",disabled:zr.every(function(lo){return lo.disabled||!Zo(lo.value)})},{label:Xr(Zr,"PM"),value:"pm",disabled:zr.every(function(lo){return lo.disabled||Zo(lo.value)})}]},[zr,pn,In,cr]),Wn=function(ar){var Zr=io(ar);pr(Zr)},Tn=oe.useMemo(function(){var lr=xr||Cr||In.getNow(),ar=function(Xr){return Xr!=null};return ar(Oo)?(lr=In.setHour(lr,Oo),lr=In.setMinute(lr,fo),lr=In.setSecond(lr,To),lr=In.setMillisecond(lr,li)):ar(uo)?(lr=In.setHour(lr,uo),lr=In.setMinute(lr,ai),lr=In.setSecond(lr,co),lr=In.setMillisecond(lr,Di)):ar(ht)&&(lr=In.setHour(lr,ht),lr=In.setMinute(lr,Nt),lr=In.setSecond(lr,fn),lr=In.setMillisecond(lr,gn)),lr},[xr,Cr,Oo,fo,To,li,ht,Nt,fn,gn,uo,ai,co,Di,In]),On=function(ar,Zr){return ar===null?null:In[Zr](Tn,ar)},Fn=function(ar){return On(ar,"setHour")},wn=function(ar){return On(ar,"setMinute")},vr=function(ar){return On(ar,"setSecond")},qn=function(ar){return On(ar,"setMillisecond")},Ar=function(ar){return ar===null?null:ar==="am"&&!Zo(Oo)?In.setHour(Tn,Oo-12):ar==="pm"&&Zo(Oo)?In.setHour(Tn,Oo+12):Tn},br=function(ar){Wn(Fn(ar))},Tr=function(ar){Wn(wn(ar))},Dr=function(ar){Wn(vr(ar))},Pr=function(ar){Wn(qn(ar))},Wr=function(ar){Wn(Ar(ar))},Gr=function(ar){fr(Fn(ar))},Jr=function(ar){fr(wn(ar))},Io=function(ar){fr(vr(ar))},Mr=function(ar){fr(qn(ar))},Fr=function(ar){fr(Ar(ar))},jr={onDblClick:qr,changeOnScroll:Dn};return oe.createElement("div",{className:"".concat(Xn,"-content")},He&&oe.createElement(yo,(0,Fe.Z)({units:Te,value:Oo,optionalValue:uo,type:"hour",onChange:br,onHover:Gr},jr)),ct&&oe.createElement(yo,(0,Fe.Z)({units:At,value:fo,optionalValue:ai,type:"minute",onChange:Tr,onHover:Jr},jr)),Ft&&oe.createElement(yo,(0,Fe.Z)({units:Gt,value:To,optionalValue:co,type:"second",onChange:Dr,onHover:Io},jr)),Pt&&oe.createElement(yo,(0,Fe.Z)({units:on,value:li,optionalValue:Di,type:"millisecond",onChange:Pr,onHover:Mr},jr)),pn&&oe.createElement(yo,(0,Fe.Z)({units:Sn,value:Pi,type:"meridiem",onChange:Wr,onHover:Fr},jr)))}function ui(ae){var He=ae.prefixCls,ct=ae.value,Ft=ae.locale,Pt=ae.generateConfig,pn=ae.showTime,Dn=pn||{},Pn=Dn.format,Xn="".concat(He,"-time-panel"),tr=Yr(ae,"time"),In=(0,Re.Z)(tr,1),cr=In[0];return oe.createElement(Er.Provider,{value:cr},oe.createElement("div",{className:Zt()(Xn)},oe.createElement(eo,null,ct?En(ct,{locale:Ft,format:Pn,generateConfig:Pt}):"\xA0"),oe.createElement(vo,pn)))}function yi(ae){var He=ae.prefixCls,ct=ae.generateConfig,Ft=ae.showTime,Pt=ae.onSelect,pn=ae.value,Dn=ae.pickerValue,Pn=ae.onHover,Xn="".concat(He,"-datetime-panel"),tr=Hr(ct,Ft),In=(0,Re.Z)(tr,1),cr=In[0],pr=function(xr){return pn?_n(ct,xr,pn):_n(ct,xr,Dn)},hr=function(xr){Pn==null||Pn(xr&&pr(xr))},fr=function(xr){var Sr=pr(xr);Pt(cr(Sr,Sr))};return oe.createElement("div",{className:Xn},oe.createElement($r,(0,Fe.Z)({},ae,{onSelect:fr,onHover:hr})),oe.createElement(ui,ae))}function $o(ae){var He=ae.prefixCls,ct=ae.locale,Ft=ae.generateConfig,Pt=ae.pickerValue,pn=ae.disabledDate,Dn=ae.onPickerValueChange,Pn="".concat(He,"-decade-panel"),Xn=Yr(ae,"decade"),tr=(0,Re.Z)(Xn,1),In=tr[0],cr=function(zr){var Ur=Math.floor(Ft.getYear(zr)/100)*100;return Ft.setYear(zr,Ur)},pr=function(zr){var Ur=cr(zr);return Ft.addYear(Ur,99)},hr=cr(Pt),fr=pr(Pt),Cr=Ft.addYear(hr,-10),xr=function(zr,Ur){return Ft.addYear(zr,Ur*10)},Sr=function(zr){var Ur=ct.cellYearFormat,Go=En(zr,{locale:ct,format:Ur,generateConfig:Ft}),So=En(Ft.addYear(zr,9),{locale:ct,format:Ur,generateConfig:Ft});return"".concat(Go,"-").concat(So)},qr=function(zr){return(0,$t.Z)({},"".concat(He,"-cell-in-view"),cn(Ft,zr,hr)||cn(Ft,zr,fr)||ln(Ft,hr,fr,zr))},Kr=pn?function(io,zr){var Ur=Ft.setDate(io,1),Go=Ft.setMonth(Ur,0),So=Ft.setYear(Go,Math.floor(Ft.getYear(Go)/10)*10),Po=Ft.addYear(So,10),bo=Ft.addDate(Po,-1);return pn(So,zr)&&pn(bo,zr)}:null,Br="".concat(En(hr,{locale:ct,format:ct.yearFormat,generateConfig:Ft}),"-").concat(En(fr,{locale:ct,format:ct.yearFormat,generateConfig:Ft}));return oe.createElement(Er.Provider,{value:In},oe.createElement("div",{className:Pn},oe.createElement(eo,{superOffset:function(zr){return Ft.addYear(Pt,zr*100)},onChange:Dn,getStart:cr,getEnd:pr},Br),oe.createElement(oo,(0,Fe.Z)({},ae,{disabledDate:Kr,colNum:3,rowNum:4,baseDate:Cr,getCellDate:xr,getCellText:Sr,getCellClassName:qr}))))}function pi(ae){var He=ae.prefixCls,ct=ae.locale,Ft=ae.generateConfig,Pt=ae.pickerValue,pn=ae.disabledDate,Dn=ae.onPickerValueChange,Pn=ae.onModeChange,Xn="".concat(He,"-month-panel"),tr=Yr(ae,"month"),In=(0,Re.Z)(tr,1),cr=In[0],pr=Ft.setMonth(Pt,0),hr=ct.shortMonths||(Ft.locale.getShortMonths?Ft.locale.getShortMonths(ct.locale):[]),fr=function(Br,io){return Ft.addMonth(Br,io)},Cr=function(Br){var io=Ft.getMonth(Br);return ct.monthFormat?En(Br,{locale:ct,format:ct.monthFormat,generateConfig:Ft}):hr[io]},xr=function(){return(0,$t.Z)({},"".concat(He,"-cell-in-view"),!0)},Sr=pn?function(Kr,Br){var io=Ft.setDate(Kr,1),zr=Ft.setMonth(io,Ft.getMonth(io)+1),Ur=Ft.addDate(zr,-1);return pn(io,Br)&&pn(Ur,Br)}:null,qr=oe.createElement("button",{type:"button",key:"year","aria-label":ct.yearSelect,onClick:function(){Pn("year")},tabIndex:-1,className:"".concat(He,"-year-btn")},En(Pt,{locale:ct,format:ct.yearFormat,generateConfig:Ft}));return oe.createElement(Er.Provider,{value:cr},oe.createElement("div",{className:Xn},oe.createElement(eo,{superOffset:function(Br){return Ft.addYear(Pt,Br)},onChange:Dn,getStart:function(Br){return Ft.setMonth(Br,0)},getEnd:function(Br){return Ft.setMonth(Br,11)}},qr),oe.createElement(oo,(0,Fe.Z)({},ae,{disabledDate:Sr,titleFormat:ct.fieldMonthFormat,colNum:3,rowNum:4,baseDate:pr,getCellDate:fr,getCellText:Cr,getCellClassName:xr}))))}function ki(ae){var He=ae.prefixCls,ct=ae.locale,Ft=ae.generateConfig,Pt=ae.pickerValue,pn=ae.onPickerValueChange,Dn=ae.onModeChange,Pn="".concat(He,"-quarter-panel"),Xn=Yr(ae,"quarter"),tr=(0,Re.Z)(Xn,1),In=tr[0],cr=Ft.setMonth(Pt,0),pr=function(Sr,qr){return Ft.addMonth(Sr,qr*3)},hr=function(Sr){return En(Sr,{locale:ct,format:ct.cellQuarterFormat,generateConfig:Ft})},fr=function(){return(0,$t.Z)({},"".concat(He,"-cell-in-view"),!0)},Cr=oe.createElement("button",{type:"button",key:"year","aria-label":ct.yearSelect,onClick:function(){Dn("year")},tabIndex:-1,className:"".concat(He,"-year-btn")},En(Pt,{locale:ct,format:ct.yearFormat,generateConfig:Ft}));return oe.createElement(Er.Provider,{value:In},oe.createElement("div",{className:Pn},oe.createElement(eo,{superOffset:function(Sr){return Ft.addYear(Pt,Sr)},onChange:pn,getStart:function(Sr){return Ft.setMonth(Sr,0)},getEnd:function(Sr){return Ft.setMonth(Sr,11)}},Cr),oe.createElement(oo,(0,Fe.Z)({},ae,{titleFormat:ct.fieldQuarterFormat,colNum:4,rowNum:1,baseDate:cr,getCellDate:pr,getCellText:hr,getCellClassName:fr}))))}function Ci(ae){var He=ae.prefixCls,ct=ae.generateConfig,Ft=ae.locale,Pt=ae.value,pn=ae.hoverValue,Dn=ae.hoverRangeValue,Pn=Ft.locale,Xn="".concat(He,"-week-panel-row"),tr=function(cr){var pr={};if(Dn){var hr=(0,Re.Z)(Dn,2),fr=hr[0],Cr=hr[1],xr=mn(ct,Pn,fr,cr),Sr=mn(ct,Pn,Cr,cr);pr["".concat(Xn,"-range-start")]=xr,pr["".concat(Xn,"-range-end")]=Sr,pr["".concat(Xn,"-range-hover")]=!xr&&!Sr&&ln(ct,fr,Cr,cr)}return pn&&(pr["".concat(Xn,"-hover")]=pn.some(function(qr){return mn(ct,Pn,cr,qr)})),Zt()(Xn,(0,$t.Z)({},"".concat(Xn,"-selected"),!Dn&&mn(ct,Pn,Pt,cr)),pr)};return oe.createElement($r,(0,Fe.Z)({},ae,{mode:"week",panelName:"week",rowClassName:tr}))}function Oi(ae){var He=ae.prefixCls,ct=ae.locale,Ft=ae.generateConfig,Pt=ae.pickerValue,pn=ae.disabledDate,Dn=ae.onPickerValueChange,Pn=ae.onModeChange,Xn="".concat(He,"-year-panel"),tr=Yr(ae,"year"),In=(0,Re.Z)(tr,1),cr=In[0],pr=function(Ur){var Go=Math.floor(Ft.getYear(Ur)/10)*10;return Ft.setYear(Ur,Go)},hr=function(Ur){var Go=pr(Ur);return Ft.addYear(Go,9)},fr=pr(Pt),Cr=hr(Pt),xr=Ft.addYear(fr,-1),Sr=function(Ur,Go){return Ft.addYear(Ur,Go)},qr=function(Ur){return En(Ur,{locale:ct,format:ct.cellYearFormat,generateConfig:Ft})},Kr=function(Ur){return(0,$t.Z)({},"".concat(He,"-cell-in-view"),An(Ft,Ur,fr)||An(Ft,Ur,Cr)||ln(Ft,fr,Cr,Ur))},Br=pn?function(zr,Ur){var Go=Ft.setMonth(zr,0),So=Ft.setDate(Go,1),Po=Ft.addYear(So,1),bo=Ft.addDate(Po,-1);return pn(So,Ur)&&pn(bo,Ur)}:null,io=oe.createElement("button",{type:"button",key:"decade","aria-label":ct.decadeSelect,onClick:function(){Pn("decade")},tabIndex:-1,className:"".concat(He,"-decade-btn")},En(fr,{locale:ct,format:ct.yearFormat,generateConfig:Ft}),"-",En(Cr,{locale:ct,format:ct.yearFormat,generateConfig:Ft}));return oe.createElement(Er.Provider,{value:cr},oe.createElement("div",{className:Xn},oe.createElement(eo,{superOffset:function(Ur){return Ft.addYear(Pt,Ur*10)},onChange:Dn,getStart:pr,getEnd:hr},io),oe.createElement(oo,(0,Fe.Z)({},ae,{disabledDate:Br,titleFormat:ct.fieldYearFormat,colNum:3,rowNum:4,baseDate:xr,getCellDate:Sr,getCellText:qr,getCellClassName:Kr}))))}var No={date:$r,datetime:yi,week:Ci,month:pi,quarter:ki,year:Oi,decade:$o,time:ui};function Je(ae,He){var ct,Ft=ae.locale,Pt=ae.generateConfig,pn=ae.direction,Dn=ae.prefixCls,Pn=ae.tabIndex,Xn=Pn===void 0?0:Pn,tr=ae.multiple,In=ae.defaultValue,cr=ae.value,pr=ae.onChange,hr=ae.onSelect,fr=ae.defaultPickerValue,Cr=ae.pickerValue,xr=ae.onPickerValueChange,Sr=ae.mode,qr=ae.onPanelChange,Kr=ae.picker,Br=Kr===void 0?"date":Kr,io=ae.showTime,zr=ae.hoverValue,Ur=ae.hoverRangeValue,Go=ae.cellRender,So=ae.dateRender,Po=ae.monthCellRender,bo=ae.components,ti=bo===void 0?{}:bo,Oo=ae.hideHeader,uo=((ct=oe.useContext(te))===null||ct===void 0?void 0:ct.prefixCls)||Dn||"rc-picker",no=oe.useRef();oe.useImperativeHandle(He,function(){return{nativeElement:no.current}});var mo=un(ae),fo=(0,Re.Z)(mo,4),ai=fo[0],ni=fo[1],Fo=fo[2],To=fo[3],co=Ut(Ft,ni),Mo=Br==="date"&&io?"datetime":Br,Bo=oe.useMemo(function(){return Cn(Mo,Fo,To,ai,co)},[Mo,Fo,To,ai,co]),li=Pt.getNow(),Di=(0,at.C8)(Br,{value:Sr,postState:function(Fr){return Fr||"date"}}),Pi=(0,Re.Z)(Di,2),Te=Pi[0],Ie=Pi[1],ht=Te==="date"&&Bo?"datetime":Te,At=mr(Pt,Ft,Mo),Nt=(0,at.C8)(In,{value:cr}),Gt=(0,Re.Z)(Nt,2),fn=Gt[0],on=Gt[1],gn=oe.useMemo(function(){var Mr=Ue(fn).filter(function(Fr){return Fr});return tr?Mr:Mr.slice(0,1)},[fn,tr]),Sn=(0,at.zX)(function(Mr){on(Mr),pr&&(Mr===null||gn.length!==Mr.length||gn.some(function(Fr,jr){return!an(Pt,Ft,Fr,Mr[jr],Mo)}))&&(pr==null||pr(tr?Mr:Mr[0]))}),Wn=(0,at.zX)(function(Mr){if(hr==null||hr(Mr),Te===Br){var Fr=tr?At(gn,Mr):[Mr];Sn(Fr)}}),Tn=(0,at.C8)(fr||gn[0]||li,{value:Cr}),On=(0,Re.Z)(Tn,2),Fn=On[0],wn=On[1];oe.useEffect(function(){gn[0]&&!Cr&&wn(gn[0])},[gn[0]]);var vr=function(Fr,jr){qr==null||qr(Fr||Cr,jr||Te)},qn=function(Fr){var jr=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;wn(Fr),xr==null||xr(Fr),jr&&vr(Fr)},Ar=function(Fr,jr){Ie(Fr),jr&&qn(jr),vr(jr,Fr)},br=function(Fr){if(Wn(Fr),qn(Fr),Te!==Br){var jr=["decade","year"],lr=[].concat(jr,["month"]),ar={quarter:[].concat(jr,["quarter"]),week:[].concat((0,lt.Z)(lr),["week"]),date:[].concat((0,lt.Z)(lr),["date"])},Zr=ar[Br]||lr,Xr=Zr.indexOf(Te),lo=Zr[Xr+1];lo&&Ar(lo,Fr)}},Tr=oe.useMemo(function(){var Mr,Fr;if(Array.isArray(Ur)){var jr=(0,Re.Z)(Ur,2);Mr=jr[0],Fr=jr[1]}else Mr=Ur;return!Mr&&!Fr?null:(Mr=Mr||Fr,Fr=Fr||Mr,Pt.isAfter(Mr,Fr)?[Fr,Mr]:[Mr,Fr])},[Ur,Pt]),Dr=St(Go,So,Po),Pr=ti[ht]||No[ht]||$r,Wr=oe.useContext(ro),Gr=oe.useMemo(function(){return(0,Se.Z)((0,Se.Z)({},Wr),{},{hideHeader:Oo})},[Wr,Oo]),Jr="".concat(uo,"-panel"),Io=et(ae,["showWeek","prevIcon","nextIcon","superPrevIcon","superNextIcon","disabledDate","minDate","maxDate","onHover"]);return oe.createElement(ro.Provider,{value:Gr},oe.createElement("div",{ref:no,tabIndex:Xn,className:Zt()(Jr,(0,$t.Z)({},"".concat(Jr,"-rtl"),pn==="rtl"))},oe.createElement(Pr,(0,Fe.Z)({},Io,{showTime:Bo,prefixCls:uo,locale:co,generateConfig:Pt,onModeChange:Ar,pickerValue:Fn,onPickerValueChange:function(Fr){qn(Fr,!0)},value:gn[0],onSelect:br,values:gn,cellRender:Dr,hoverRangeValue:Tr,hoverValue:zr}))))}var hn=oe.memo(oe.forwardRef(Je)),Mt=hn;function bn(ae){var He=ae.picker,ct=ae.multiplePanel,Ft=ae.pickerValue,Pt=ae.onPickerValueChange,pn=ae.needConfirm,Dn=ae.onSubmit,Pn=ae.range,Xn=ae.hoverValue,tr=oe.useContext(te),In=tr.prefixCls,cr=tr.generateConfig,pr=oe.useCallback(function(qr,Kr){return Tt(cr,He,qr,Kr)},[cr,He]),hr=oe.useMemo(function(){return pr(Ft,1)},[Ft,pr]),fr=function(Kr){Pt(pr(Kr,-1))},Cr={onCellDblClick:function(){pn&&Dn()}},xr=He==="time",Sr=(0,Se.Z)((0,Se.Z)({},ae),{},{hoverValue:null,hoverRangeValue:null,hideHeader:xr});return Pn?Sr.hoverRangeValue=Xn:Sr.hoverValue=Xn,ct?oe.createElement("div",{className:"".concat(In,"-panels")},oe.createElement(ro.Provider,{value:(0,Se.Z)((0,Se.Z)({},Cr),{},{hideNext:!0})},oe.createElement(Mt,Sr)),oe.createElement(ro.Provider,{value:(0,Se.Z)((0,Se.Z)({},Cr),{},{hidePrev:!0})},oe.createElement(Mt,(0,Fe.Z)({},Sr,{pickerValue:hr,onPickerValueChange:fr})))):oe.createElement(ro.Provider,{value:(0,Se.Z)({},Cr)},oe.createElement(Mt,Sr))}function er(ae){return typeof ae=="function"?ae():ae}function Rn(ae){var He=ae.prefixCls,ct=ae.presets,Ft=ae.onClick,Pt=ae.onHover;return ct.length?oe.createElement("div",{className:"".concat(He,"-presets")},oe.createElement("ul",null,ct.map(function(pn,Dn){var Pn=pn.label,Xn=pn.value;return oe.createElement("li",{key:Dn,onClick:function(){Ft(er(Xn))},onMouseEnter:function(){Pt(er(Xn))},onMouseLeave:function(){Pt(null)}},Pn)}))):null}function Nn(ae){var He=ae.panelRender,ct=ae.internalMode,Ft=ae.picker,Pt=ae.showNow,pn=ae.range,Dn=ae.multiple,Pn=ae.activeInfo,Xn=Pn===void 0?[0,0,0]:Pn,tr=ae.presets,In=ae.onPresetHover,cr=ae.onPresetSubmit,pr=ae.onFocus,hr=ae.onBlur,fr=ae.onPanelMouseDown,Cr=ae.direction,xr=ae.value,Sr=ae.onSelect,qr=ae.isInvalid,Kr=ae.defaultOpenValue,Br=ae.onOk,io=ae.onSubmit,zr=oe.useContext(te),Ur=zr.prefixCls,Go="".concat(Ur,"-panel"),So=Cr==="rtl",Po=oe.useRef(null),bo=oe.useRef(null),ti=oe.useState(0),Oo=(0,Re.Z)(ti,2),uo=Oo[0],no=Oo[1],mo=oe.useState(0),fo=(0,Re.Z)(mo,2),ai=fo[0],ni=fo[1],Fo=oe.useState(0),To=(0,Re.Z)(Fo,2),co=To[0],Mo=To[1],Bo=function(br){br.width&&no(br.width)},li=(0,Re.Z)(Xn,3),Di=li[0],Pi=li[1],Te=li[2],Ie=oe.useState(0),ht=(0,Re.Z)(Ie,2),At=ht[0],Nt=ht[1];oe.useEffect(function(){Nt(10)},[Di]),oe.useEffect(function(){if(pn&&bo.current){var Ar,br=((Ar=Po.current)===null||Ar===void 0?void 0:Ar.offsetWidth)||0,Tr=bo.current.getBoundingClientRect();if(!Tr.height||Tr.right<0){Nt(function(Gr){return Math.max(0,Gr-1)});return}var Dr=(So?Pi-br:Di)-Tr.left;if(Mo(Dr),uo&&uo<Te){var Pr=So?Tr.right-(Pi-br+uo):Di+br-Tr.left-uo,Wr=Math.max(0,Pr);ni(Wr)}else ni(0)}},[At,So,uo,Di,Pi,Te,pn]);function Gt(Ar){return Ar.filter(function(br){return br})}var fn=oe.useMemo(function(){return Gt(Ue(xr))},[xr]),on=Ft==="time"&&!fn.length,gn=oe.useMemo(function(){return on?Gt([Kr]):fn},[on,fn,Kr]),Sn=on?Kr:fn,Wn=oe.useMemo(function(){return gn.length?gn.some(function(Ar){return qr(Ar)}):!0},[gn,qr]),Tn=function(){on&&Sr(Kr),Br(),io()},On=oe.createElement("div",{className:"".concat(Ur,"-panel-layout")},oe.createElement(Rn,{prefixCls:Ur,presets:tr,onClick:cr,onHover:In}),oe.createElement("div",null,oe.createElement(bn,(0,Fe.Z)({},ae,{value:Sn})),oe.createElement(to,(0,Fe.Z)({},ae,{showNow:Dn?!1:Pt,invalid:Wn,onSubmit:Tn}))));He&&(On=He(On));var Fn="".concat(Go,"-container"),wn="marginLeft",vr="marginRight",qn=oe.createElement("div",{onMouseDown:fr,tabIndex:-1,className:Zt()(Fn,"".concat(Ur,"-").concat(ct,"-panel-container")),style:(0,$t.Z)((0,$t.Z)({},So?vr:wn,ai),So?wn:vr,"auto"),onFocus:pr,onBlur:hr},On);return pn&&(qn=oe.createElement("div",{onMouseDown:fr,ref:bo,className:Zt()("".concat(Ur,"-range-wrapper"),"".concat(Ur,"-").concat(Ft,"-range-wrapper"))},oe.createElement("div",{ref:Po,className:"".concat(Ur,"-range-arrow"),style:{left:co}}),oe.createElement(Ln.Z,{onResize:Bo},qn))),qn}var yr=E(75931);function Zn(ae,He){var ct=ae.format,Ft=ae.maskFormat,Pt=ae.generateConfig,pn=ae.locale,Dn=ae.preserveInvalidOnBlur,Pn=ae.inputReadOnly,Xn=ae.required,tr=ae["aria-required"],In=ae.onSubmit,cr=ae.onFocus,pr=ae.onBlur,hr=ae.onInputChange,fr=ae.onInvalid,Cr=ae.open,xr=ae.onOpenChange,Sr=ae.onKeyDown,qr=ae.onChange,Kr=ae.activeHelp,Br=ae.name,io=ae.autoComplete,zr=ae.id,Ur=ae.value,Go=ae.invalid,So=ae.placeholder,Po=ae.disabled,bo=ae.activeIndex,ti=ae.allHelp,Oo=ae.picker,uo=function(co,Mo){var Bo=Pt.locale.parse(pn.locale,co,[Mo]);return Bo&&Pt.isValidate(Bo)?Bo:null},no=ct[0],mo=oe.useCallback(function(To){return En(To,{locale:pn,format:no,generateConfig:Pt})},[pn,Pt,no]),fo=oe.useMemo(function(){return Ur.map(mo)},[Ur,mo]),ai=oe.useMemo(function(){var To=Oo==="time"?8:10,co=typeof no=="function"?no(Pt.getNow()).length:no.length;return Math.max(To,co)+2},[no,Oo,Pt]),ni=function(co){for(var Mo=0;Mo<ct.length;Mo+=1){var Bo=ct[Mo];if(typeof Bo=="string"){var li=uo(co,Bo);if(li)return li}}return!1},Fo=function(co){function Mo(Di){return co!==void 0?Di[co]:Di}var Bo=(0,Wt.Z)(ae,{aria:!0,data:!0}),li=(0,Se.Z)((0,Se.Z)({},Bo),{},{format:Ft,validateFormat:function(Pi){return!!ni(Pi)},preserveInvalidOnBlur:Dn,readOnly:Pn,required:Xn,"aria-required":tr,name:Br,autoComplete:io,size:ai,id:Mo(zr),value:Mo(fo)||"",invalid:Mo(Go),placeholder:Mo(So),active:bo===co,helped:ti||Kr&&bo===co,disabled:Mo(Po),onFocus:function(Pi){cr(Pi,co)},onBlur:function(Pi){pr(Pi,co)},onSubmit:In,onChange:function(Pi){hr();var Te=ni(Pi);if(Te){fr(!1,co),qr(Te,co);return}fr(!!Pi,co)},onHelp:function(){xr(!0,{index:co})},onKeyDown:function(Pi){var Te=!1;if(Sr==null||Sr(Pi,function(){Te=!0}),!Pi.defaultPrevented&&!Te)switch(Pi.key){case"Escape":xr(!1,{index:co});break;case"Enter":Cr||xr(!0);break}}},He==null?void 0:He({valueTexts:fo}));return Object.keys(li).forEach(function(Di){li[Di]===void 0&&delete li[Di]}),li};return[Fo,mo]}var Hn=["onMouseEnter","onMouseLeave"];function or(ae){return oe.useMemo(function(){return et(ae,Hn)},[ae])}var kr=["icon","type"],wo=["onClear"];function ci(ae){var He=ae.icon,ct=ae.type,Ft=(0,yr.Z)(ae,kr),Pt=oe.useContext(te),pn=Pt.prefixCls;return He?oe.createElement("span",(0,Fe.Z)({className:"".concat(pn,"-").concat(ct)},Ft),He):null}function ii(ae){var He=ae.onClear,ct=(0,yr.Z)(ae,wo);return oe.createElement(ci,(0,Fe.Z)({},ct,{type:"clear",role:"button",onMouseDown:function(Pt){Pt.preventDefault()},onClick:function(Pt){Pt.stopPropagation(),He()}}))}var oi=E(67732),vi=E(83652),mi=["YYYY","MM","DD","HH","mm","ss","SSS"],Li="\u9867",Bi=function(){function ae(He){(0,oi.Z)(this,ae),(0,$t.Z)(this,"format",void 0),(0,$t.Z)(this,"maskFormat",void 0),(0,$t.Z)(this,"cells",void 0),(0,$t.Z)(this,"maskCells",void 0),this.format=He;var ct=mi.map(function(Pn){return"(".concat(Pn,")")}).join("|"),Ft=new RegExp(ct,"g");this.maskFormat=He.replace(Ft,function(Pn){return Li.repeat(Pn.length)});var Pt=new RegExp("(".concat(mi.join("|"),")")),pn=(He.split(Pt)||[]).filter(function(Pn){return Pn}),Dn=0;this.cells=pn.map(function(Pn){var Xn=mi.includes(Pn),tr=Dn,In=Dn+Pn.length;return Dn=In,{text:Pn,mask:Xn,start:tr,end:In}}),this.maskCells=this.cells.filter(function(Pn){return Pn.mask})}return(0,vi.Z)(ae,[{key:"getSelection",value:function(ct){var Ft=this.maskCells[ct]||{},Pt=Ft.start,pn=Ft.end;return[Pt||0,pn||0]}},{key:"match",value:function(ct){for(var Ft=0;Ft<this.maskFormat.length;Ft+=1){var Pt=this.maskFormat[Ft],pn=ct[Ft];if(!pn||Pt!==Li&&Pt!==pn)return!1}return!0}},{key:"size",value:function(){return this.maskCells.length}},{key:"getMaskCellIndex",value:function(ct){for(var Ft=Number.MAX_SAFE_INTEGER,Pt=0,pn=0;pn<this.maskCells.length;pn+=1){var Dn=this.maskCells[pn],Pn=Dn.start,Xn=Dn.end;if(ct>=Pn&&ct<=Xn)return pn;var tr=Math.min(Math.abs(ct-Pn),Math.abs(ct-Xn));tr<Ft&&(Ft=tr,Pt=pn)}return Pt}}]),ae}();function Ti(ae){var He={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 He[ae]}var Ki=["active","showActiveCls","suffixIcon","format","validateFormat","onChange","onInput","helped","onHelp","onSubmit","onKeyDown","preserveInvalidOnBlur","invalid","clearIcon"],sa=oe.forwardRef(function(ae,He){var ct=ae.active,Ft=ae.showActiveCls,Pt=Ft===void 0?!0:Ft,pn=ae.suffixIcon,Dn=ae.format,Pn=ae.validateFormat,Xn=ae.onChange,tr=ae.onInput,In=ae.helped,cr=ae.onHelp,pr=ae.onSubmit,hr=ae.onKeyDown,fr=ae.preserveInvalidOnBlur,Cr=fr===void 0?!1:fr,xr=ae.invalid,Sr=ae.clearIcon,qr=(0,yr.Z)(ae,Ki),Kr=ae.value,Br=ae.onFocus,io=ae.onBlur,zr=ae.onMouseUp,Ur=oe.useContext(te),Go=Ur.prefixCls,So=Ur.input,Po=So===void 0?"input":So,bo="".concat(Go,"-input"),ti=oe.useState(!1),Oo=(0,Re.Z)(ti,2),uo=Oo[0],no=Oo[1],mo=oe.useState(Kr),fo=(0,Re.Z)(mo,2),ai=fo[0],ni=fo[1],Fo=oe.useState(""),To=(0,Re.Z)(Fo,2),co=To[0],Mo=To[1],Bo=oe.useState(null),li=(0,Re.Z)(Bo,2),Di=li[0],Pi=li[1],Te=oe.useState(null),Ie=(0,Re.Z)(Te,2),ht=Ie[0],At=Ie[1],Nt=ai||"";oe.useEffect(function(){ni(Kr)},[Kr]);var Gt=oe.useRef(),fn=oe.useRef();oe.useImperativeHandle(He,function(){return{nativeElement:Gt.current,inputElement:fn.current,focus:function(Fr){fn.current.focus(Fr)},blur:function(){fn.current.blur()}}});var on=oe.useMemo(function(){return new Bi(Dn||"")},[Dn]),gn=oe.useMemo(function(){return In?[0,0]:on.getSelection(Di)},[on,Di,In]),Sn=(0,Re.Z)(gn,2),Wn=Sn[0],Tn=Sn[1],On=function(Fr){Fr&&Fr!==Dn&&Fr!==Kr&&cr()},Fn=(0,at.zX)(function(Mr){Pn(Mr)&&Xn(Mr),ni(Mr),On(Mr)}),wn=function(Fr){if(!Dn){var jr=Fr.target.value;On(jr),ni(jr),Xn(jr)}},vr=function(Fr){var jr=Fr.clipboardData.getData("text");Pn(jr)&&Fn(jr)},qn=oe.useRef(!1),Ar=function(){qn.current=!0},br=function(Fr){var jr=Fr.target,lr=jr.selectionStart,ar=on.getMaskCellIndex(lr);Pi(ar),At({}),zr==null||zr(Fr),qn.current=!1},Tr=function(Fr){no(!0),Pi(0),Mo(""),Br(Fr)},Dr=function(Fr){io(Fr)},Pr=function(Fr){no(!1),Dr(Fr)};Ot(ct,function(){!ct&&!Cr&&ni(Kr)});var Wr=function(Fr){Fr.key==="Enter"&&Pn(Nt)&&pr(),hr==null||hr(Fr)},Gr=function(Fr){Wr(Fr);var jr=Fr.key,lr=null,ar=null,Zr=Tn-Wn,Xr=Dn.slice(Wn,Tn),lo=function(xi){Pi(function(pa){var Qi=pa+xi;return Qi=Math.max(Qi,0),Qi=Math.min(Qi,on.size()-1),Qi})},Lo=function(xi){var pa=Ti(Xr),Qi=(0,Re.Z)(pa,3),ua=Qi[0],ga=Qi[1],Ca=Qi[2],Ri=Nt.slice(Wn,Tn),Ni=Number(Ri);if(isNaN(Ni))return String(Ca||(xi>0?ua:ga));var Pa=Ni+xi,Ia=ga-ua+1;return String(ua+(Ia+Pa-ua)%Ia)};switch(jr){case"Backspace":case"Delete":lr="",ar=Xr;break;case"ArrowLeft":lr="",lo(-1);break;case"ArrowRight":lr="",lo(1);break;case"ArrowUp":lr="",ar=Lo(1);break;case"ArrowDown":lr="",ar=Lo(-1);break;default:isNaN(Number(jr))||(lr=co+jr,ar=lr);break}if(lr!==null&&(Mo(lr),lr.length>=Zr&&(lo(1),Mo(""))),ar!==null){var _r=Nt.slice(0,Wn)+de(ar,Zr)+Nt.slice(Tn);Fn(_r.slice(0,Dn.length))}At({})},Jr=oe.useRef();(0,jt.Z)(function(){if(!(!uo||!Dn||qn.current)){if(!on.match(Nt)){Fn(Dn);return}return fn.current.setSelectionRange(Wn,Tn),Jr.current=(0,Ir.Z)(function(){fn.current.setSelectionRange(Wn,Tn)}),function(){Ir.Z.cancel(Jr.current)}}},[on,Dn,uo,Nt,Di,Wn,Tn,ht,Fn]);var Io=Dn?{onFocus:Tr,onBlur:Pr,onKeyDown:Gr,onMouseDown:Ar,onMouseUp:br,onPaste:vr}:{};return oe.createElement("div",{ref:Gt,className:Zt()(bo,(0,$t.Z)((0,$t.Z)({},"".concat(bo,"-active"),ct&&Pt),"".concat(bo,"-placeholder"),In))},oe.createElement(Po,(0,Fe.Z)({ref:fn,"aria-invalid":xr,autoComplete:"off"},qr,{onKeyDown:Wr,onBlur:Dr},Io,{value:Nt,onChange:wn})),oe.createElement(ci,{type:"suffix",icon:pn}),Sr)}),fa=sa,wa=["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"],ha=["index"];function Ao(ae,He){var ct=ae.id,Ft=ae.prefix,Pt=ae.clearIcon,pn=ae.suffixIcon,Dn=ae.separator,Pn=Dn===void 0?"~":Dn,Xn=ae.activeIndex,tr=ae.activeHelp,In=ae.allHelp,cr=ae.focused,pr=ae.onFocus,hr=ae.onBlur,fr=ae.onKeyDown,Cr=ae.locale,xr=ae.generateConfig,Sr=ae.placeholder,qr=ae.className,Kr=ae.style,Br=ae.onClick,io=ae.onClear,zr=ae.value,Ur=ae.onChange,Go=ae.onSubmit,So=ae.onInputChange,Po=ae.format,bo=ae.maskFormat,ti=ae.preserveInvalidOnBlur,Oo=ae.onInvalid,uo=ae.disabled,no=ae.invalid,mo=ae.inputReadOnly,fo=ae.direction,ai=ae.onOpenChange,ni=ae.onActiveInfo,Fo=ae.placement,To=ae.onMouseDown,co=ae.required,Mo=ae["aria-required"],Bo=ae.autoFocus,li=ae.tabIndex,Di=(0,yr.Z)(ae,wa),Pi=fo==="rtl",Te=oe.useContext(te),Ie=Te.prefixCls,ht=oe.useMemo(function(){if(typeof ct=="string")return[ct];var Dr=ct||{};return[Dr.start,Dr.end]},[ct]),At=oe.useRef(),Nt=oe.useRef(),Gt=oe.useRef(),fn=function(Pr){var Wr;return(Wr=[Nt,Gt][Pr])===null||Wr===void 0?void 0:Wr.current};oe.useImperativeHandle(He,function(){return{nativeElement:At.current,focus:function(Pr){if((0,yn.Z)(Pr)==="object"){var Wr,Gr=Pr||{},Jr=Gr.index,Io=Jr===void 0?0:Jr,Mr=(0,yr.Z)(Gr,ha);(Wr=fn(Io))===null||Wr===void 0||Wr.focus(Mr)}else{var Fr;(Fr=fn(Pr!=null?Pr:0))===null||Fr===void 0||Fr.focus()}},blur:function(){var Pr,Wr;(Pr=fn(0))===null||Pr===void 0||Pr.blur(),(Wr=fn(1))===null||Wr===void 0||Wr.blur()}}});var on=or(Di),gn=oe.useMemo(function(){return Array.isArray(Sr)?Sr:[Sr,Sr]},[Sr]),Sn=Zn((0,Se.Z)((0,Se.Z)({},ae),{},{id:ht,placeholder:gn})),Wn=(0,Re.Z)(Sn,1),Tn=Wn[0],On=oe.useState({position:"absolute",width:0}),Fn=(0,Re.Z)(On,2),wn=Fn[0],vr=Fn[1],qn=(0,at.zX)(function(){var Dr=fn(Xn);if(Dr){var Pr=Dr.nativeElement.getBoundingClientRect(),Wr=At.current.getBoundingClientRect(),Gr=Pr.left-Wr.left;vr(function(Jr){return(0,Se.Z)((0,Se.Z)({},Jr),{},{width:Pr.width,left:Gr})}),ni([Pr.left,Pr.right,Wr.width])}});oe.useEffect(function(){qn()},[Xn]);var Ar=Pt&&(zr[0]&&!uo[0]||zr[1]&&!uo[1]),br=Bo&&!uo[0],Tr=Bo&&!br&&!uo[1];return oe.createElement(Ln.Z,{onResize:qn},oe.createElement("div",(0,Fe.Z)({},on,{className:Zt()(Ie,"".concat(Ie,"-range"),(0,$t.Z)((0,$t.Z)((0,$t.Z)((0,$t.Z)({},"".concat(Ie,"-focused"),cr),"".concat(Ie,"-disabled"),uo.every(function(Dr){return Dr})),"".concat(Ie,"-invalid"),no.some(function(Dr){return Dr})),"".concat(Ie,"-rtl"),Pi),qr),style:Kr,ref:At,onClick:Br,onMouseDown:function(Pr){var Wr=Pr.target;Wr!==Nt.current.inputElement&&Wr!==Gt.current.inputElement&&Pr.preventDefault(),To==null||To(Pr)}}),Ft&&oe.createElement("div",{className:"".concat(Ie,"-prefix")},Ft),oe.createElement(fa,(0,Fe.Z)({ref:Nt},Tn(0),{autoFocus:br,tabIndex:li,"date-range":"start"})),oe.createElement("div",{className:"".concat(Ie,"-range-separator")},Pn),oe.createElement(fa,(0,Fe.Z)({ref:Gt},Tn(1),{autoFocus:Tr,tabIndex:li,"date-range":"end"})),oe.createElement("div",{className:"".concat(Ie,"-active-bar"),style:wn}),oe.createElement(ci,{type:"suffix",icon:pn}),Ar&&oe.createElement(ii,{icon:Pt,onClear:io})))}var Do=oe.forwardRef(Ao),Co=Do;function Ji(ae,He){var ct=ae!=null?ae:He;return Array.isArray(ct)?ct:[ct,ct]}function Uo(ae){return ae===1?"end":"start"}function Ho(ae,He){var ct=Rr(ae,function(){var aa=ae.disabled,Hi=ae.allowEmpty,ho=Ji(aa,!1),fi=Ji(Hi,!1);return{disabled:ho,allowEmpty:fi}}),Ft=(0,Re.Z)(ct,6),Pt=Ft[0],pn=Ft[1],Dn=Ft[2],Pn=Ft[3],Xn=Ft[4],tr=Ft[5],In=Pt.prefixCls,cr=Pt.styles,pr=Pt.classNames,hr=Pt.defaultValue,fr=Pt.value,Cr=Pt.needConfirm,xr=Pt.onKeyDown,Sr=Pt.disabled,qr=Pt.allowEmpty,Kr=Pt.disabledDate,Br=Pt.minDate,io=Pt.maxDate,zr=Pt.defaultOpen,Ur=Pt.open,Go=Pt.onOpenChange,So=Pt.locale,Po=Pt.generateConfig,bo=Pt.picker,ti=Pt.showNow,Oo=Pt.showToday,uo=Pt.showTime,no=Pt.mode,mo=Pt.onPanelChange,fo=Pt.onCalendarChange,ai=Pt.onOk,ni=Pt.defaultPickerValue,Fo=Pt.pickerValue,To=Pt.onPickerValueChange,co=Pt.inputReadOnly,Mo=Pt.suffixIcon,Bo=Pt.onFocus,li=Pt.onBlur,Di=Pt.presets,Pi=Pt.ranges,Te=Pt.components,Ie=Pt.cellRender,ht=Pt.dateRender,At=Pt.monthCellRender,Nt=Pt.onClick,Gt=ur(He),fn=Mn(Ur,zr,Sr,Go),on=(0,Re.Z)(fn,2),gn=on[0],Sn=on[1],Wn=function(Hi,ho){(Sr.some(function(fi){return!fi})||!Hi)&&Sn(Hi,ho)},Tn=Bt(Po,So,Pn,!0,!1,hr,fr,fo,ai),On=(0,Re.Z)(Tn,5),Fn=On[0],wn=On[1],vr=On[2],qn=On[3],Ar=On[4],br=vr(),Tr=Jt(Sr,qr,gn),Dr=(0,Re.Z)(Tr,9),Pr=Dr[0],Wr=Dr[1],Gr=Dr[2],Jr=Dr[3],Io=Dr[4],Mr=Dr[5],Fr=Dr[6],jr=Dr[7],lr=Dr[8],ar=function(Hi,ho){Wr(!0),Bo==null||Bo(Hi,{range:Uo(ho!=null?ho:Jr)})},Zr=function(Hi,ho){Wr(!1),li==null||li(Hi,{range:Uo(ho!=null?ho:Jr)})},Xr=oe.useMemo(function(){if(!uo)return null;var aa=uo.disabledTime,Hi=aa?function(ho){var fi=Uo(Jr),Yi=dt(br,Fr,Jr);return aa(ho,fi,{from:Yi})}:void 0;return(0,Se.Z)((0,Se.Z)({},uo),{},{disabledTime:Hi})},[uo,Jr,br,Fr]),lo=(0,at.C8)([bo,bo],{value:no}),Lo=(0,Re.Z)(lo,2),_r=Lo[0],Fi=Lo[1],xi=_r[Jr]||bo,pa=xi==="date"&&Xr?"datetime":xi,Qi=pa===bo&&pa!=="time",ua=_t(bo,xi,ti,Oo,!0),ga=It(Pt,Fn,wn,vr,qn,Sr,Pn,Pr,gn,tr),Ca=(0,Re.Z)(ga,2),Ri=Ca[0],Ni=Ca[1],Pa=vt(br,Sr,Fr,Po,So,Kr),Ia=_e(br,tr,qr),Ko=(0,Re.Z)(Ia,2),Si=Ko[0],zo=Ko[1],go=Ht(Po,So,br,_r,gn,Jr,pn,Qi,ni,Fo,Xr==null?void 0:Xr.defaultOpenValue,To,Br,io),Vi=(0,Re.Z)(go,2),qi=Vi[0],ba=Vi[1],ea=(0,at.zX)(function(aa,Hi,ho){var fi=pt(_r,Jr,Hi);if((fi[0]!==_r[0]||fi[1]!==_r[1])&&Fi(fi),mo&&ho!==!1){var Yi=(0,lt.Z)(br);aa&&(Yi[Jr]=aa),mo(Yi,fi)}}),Oa=function(Hi,ho){return pt(br,ho,Hi)},Da=function(Hi,ho){var fi=br;Hi&&(fi=Oa(Hi,Jr)),jr(Jr);var Yi=Mr(fi);qn(fi),Ri(Jr,Yi===null),Yi===null?Wn(!1,{force:!0}):ho||Gt.current.focus({index:Yi})},Jo=function(Hi){var ho,fi=Hi.target.getRootNode();if(!Gt.current.nativeElement.contains((ho=fi.activeElement)!==null&&ho!==void 0?ho:document.activeElement)){var Yi=Sr.findIndex(function(Ka){return!Ka});Yi>=0&&Gt.current.focus({index:Yi})}Wn(!0),Nt==null||Nt(Hi)},si=function(){Ni(null),Wn(!1,{force:!0})},ta=oe.useState(null),ca=(0,Re.Z)(ta,2),da=ca[0],za=ca[1],Ea=oe.useState(null),Xa=(0,Re.Z)(Ea,2),ya=Xa[0],Ui=Xa[1],va=oe.useMemo(function(){return ya||br},[br,ya]);oe.useEffect(function(){gn||Ui(null)},[gn]);var xa=oe.useState([0,0,0]),Ra=(0,Re.Z)(xa,2),La=Ra[0],Xi=Ra[1],Fa=dr(Di,Pi),ia=function(Hi){Ui(Hi),za("preset")},_a=function(Hi){var ho=Ni(Hi);ho&&Wn(!1,{force:!0})},ja=function(Hi){Da(Hi)},nl=function(Hi){Ui(Hi?Oa(Hi,Jr):null),za("cell")},ll=function(Hi){Wn(!0),ar(Hi)},Il=function(){Gr("panel")},Sa=function(Hi){var ho=pt(br,Jr,Hi);qn(ho),!Cr&&!Dn&&pn===pa&&Da(Hi)},as=function(){Wn(!1)},rl=St(Ie,ht,At,Uo(Jr)),Dl=br[Jr]||null,pl=(0,at.zX)(function(aa){return tr(aa,{activeIndex:Jr})}),wi=oe.useMemo(function(){var aa=(0,Wt.Z)(Pt,!1),Hi=(0,ft.Z)(Pt,[].concat((0,lt.Z)(Object.keys(aa)),["onChange","onCalendarChange","style","className","onPanelChange","disabledTime"]));return Hi},[Pt]),jo=oe.createElement(Nn,(0,Fe.Z)({},wi,{showNow:ua,showTime:Xr,range:!0,multiplePanel:Qi,activeInfo:La,disabledDate:Pa,onFocus:ll,onBlur:Zr,onPanelMouseDown:Il,picker:bo,mode:xi,internalMode:pa,onPanelChange:ea,format:Xn,value:Dl,isInvalid:pl,onChange:null,onSelect:Sa,pickerValue:qi,defaultOpenValue:Ue(uo==null?void 0:uo.defaultOpenValue)[Jr],onPickerValueChange:ba,hoverValue:va,onHover:nl,needConfirm:Cr,onSubmit:Da,onOk:Ar,presets:Fa,onPresetHover:ia,onPresetSubmit:_a,onNow:ja,cellRender:rl})),Na=function(Hi,ho){var fi=Oa(Hi,ho);qn(fi)},sl=function(){Gr("input")},Bl=function(Hi,ho){var fi=Fr.length,Yi=Fr[fi-1];if(fi&&Yi!==ho&&Cr&&!qr[Yi]&&!lr(Yi)&&br[Yi]){Gt.current.focus({index:Yi});return}Gr("input"),Wn(!0,{inherit:!0}),Jr!==ho&&gn&&!Cr&&Dn&&Da(null,!0),Io(ho),ar(Hi,ho)},Gl=function(Hi,ho){if(Wn(!1),!Cr&&Gr()==="input"){var fi=Mr(br);Ri(Jr,fi===null)}Zr(Hi,ho)},Ds=function(Hi,ho){Hi.key==="Tab"&&Da(null,!0),xr==null||xr(Hi,ho)},Fs=oe.useMemo(function(){return{prefixCls:In,locale:So,generateConfig:Po,button:Te.button,input:Te.input}},[In,So,Po,Te.button,Te.input]);if((0,jt.Z)(function(){gn&&Jr!==void 0&&ea(null,bo,!1)},[gn,Jr,bo]),(0,jt.Z)(function(){var aa=Gr();!gn&&aa==="input"&&(Wn(!1),Da(null,!0)),!gn&&Dn&&!Cr&&aa==="panel"&&(Wn(!0),Da())},[gn]),0)var Rs;return oe.createElement(te.Provider,{value:Fs},oe.createElement(re,(0,Fe.Z)({},gt(Pt),{popupElement:jo,popupStyle:cr.popup,popupClassName:pr.popup,visible:gn,onClose:as,range:!0}),oe.createElement(Co,(0,Fe.Z)({},Pt,{ref:Gt,suffixIcon:Mo,activeIndex:Pr||gn?Jr:null,activeHelp:!!ya,allHelp:!!ya&&da==="preset",focused:Pr,onFocus:Bl,onBlur:Gl,onKeyDown:Ds,onSubmit:Da,value:va,maskFormat:Xn,onChange:Na,onInputChange:sl,format:Pn,inputReadOnly:co,disabled:Sr,open:gn,onOpenChange:Wn,onClick:Jo,onClear:si,invalid:Si,onInvalid:zo,onActiveInfo:Xi}))))}var Mi=oe.forwardRef(Ho),bi=Mi,hi=E(83836);function _o(ae){var He=ae.prefixCls,ct=ae.value,Ft=ae.onRemove,Pt=ae.removeIcon,pn=Pt===void 0?"\xD7":Pt,Dn=ae.formatDate,Pn=ae.disabled,Xn=ae.maxTagCount,tr=ae.placeholder,In="".concat(He,"-selector"),cr="".concat(He,"-selection"),pr="".concat(cr,"-overflow");function hr(xr,Sr){return oe.createElement("span",{className:Zt()("".concat(cr,"-item")),title:typeof xr=="string"?xr:null},oe.createElement("span",{className:"".concat(cr,"-item-content")},xr),!Pn&&Sr&&oe.createElement("span",{onMouseDown:function(Kr){Kr.preventDefault()},onClick:Sr,className:"".concat(cr,"-item-remove")},pn))}function fr(xr){var Sr=Dn(xr),qr=function(Br){Br&&Br.stopPropagation(),Ft(xr)};return hr(Sr,qr)}function Cr(xr){var Sr="+ ".concat(xr.length," ...");return hr(Sr)}return oe.createElement("div",{className:In},oe.createElement(hi.Z,{prefixCls:pr,data:ct,renderItem:fr,renderRest:Cr,itemKey:function(Sr){return Dn(Sr)},maxCount:Xn}),!ct.length&&oe.createElement("span",{className:"".concat(He,"-selection-placeholder")},tr))}var Ma=["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 Ha(ae,He){var ct=ae.id,Ft=ae.open,Pt=ae.prefix,pn=ae.clearIcon,Dn=ae.suffixIcon,Pn=ae.activeHelp,Xn=ae.allHelp,tr=ae.focused,In=ae.onFocus,cr=ae.onBlur,pr=ae.onKeyDown,hr=ae.locale,fr=ae.generateConfig,Cr=ae.placeholder,xr=ae.className,Sr=ae.style,qr=ae.onClick,Kr=ae.onClear,Br=ae.internalPicker,io=ae.value,zr=ae.onChange,Ur=ae.onSubmit,Go=ae.onInputChange,So=ae.multiple,Po=ae.maxTagCount,bo=ae.format,ti=ae.maskFormat,Oo=ae.preserveInvalidOnBlur,uo=ae.onInvalid,no=ae.disabled,mo=ae.invalid,fo=ae.inputReadOnly,ai=ae.direction,ni=ae.onOpenChange,Fo=ae.onMouseDown,To=ae.required,co=ae["aria-required"],Mo=ae.autoFocus,Bo=ae.tabIndex,li=ae.removeIcon,Di=(0,yr.Z)(ae,Ma),Pi=ai==="rtl",Te=oe.useContext(te),Ie=Te.prefixCls,ht=oe.useRef(),At=oe.useRef();oe.useImperativeHandle(He,function(){return{nativeElement:ht.current,focus:function(wn){var vr;(vr=At.current)===null||vr===void 0||vr.focus(wn)},blur:function(){var wn;(wn=At.current)===null||wn===void 0||wn.blur()}}});var Nt=or(Di),Gt=function(wn){zr([wn])},fn=function(wn){var vr=io.filter(function(qn){return qn&&!an(fr,hr,qn,wn,Br)});zr(vr),Ft||Ur()},on=Zn((0,Se.Z)((0,Se.Z)({},ae),{},{onChange:Gt}),function(Fn){var wn=Fn.valueTexts;return{value:wn[0]||"",active:tr}}),gn=(0,Re.Z)(on,2),Sn=gn[0],Wn=gn[1],Tn=!!(pn&&io.length&&!no),On=So?oe.createElement(oe.Fragment,null,oe.createElement(_o,{prefixCls:Ie,value:io,onRemove:fn,formatDate:Wn,maxTagCount:Po,disabled:no,removeIcon:li,placeholder:Cr}),oe.createElement("input",{className:"".concat(Ie,"-multiple-input"),value:io.map(Wn).join(","),ref:At,readOnly:!0,autoFocus:Mo,tabIndex:Bo}),oe.createElement(ci,{type:"suffix",icon:Dn}),Tn&&oe.createElement(ii,{icon:pn,onClear:Kr})):oe.createElement(fa,(0,Fe.Z)({ref:At},Sn(),{autoFocus:Mo,tabIndex:Bo,suffixIcon:Dn,clearIcon:Tn&&oe.createElement(ii,{icon:pn,onClear:Kr}),showActiveCls:!1}));return oe.createElement("div",(0,Fe.Z)({},Nt,{className:Zt()(Ie,(0,$t.Z)((0,$t.Z)((0,$t.Z)((0,$t.Z)((0,$t.Z)({},"".concat(Ie,"-multiple"),So),"".concat(Ie,"-focused"),tr),"".concat(Ie,"-disabled"),no),"".concat(Ie,"-invalid"),mo),"".concat(Ie,"-rtl"),Pi),xr),style:Sr,ref:ht,onClick:qr,onMouseDown:function(wn){var vr,qn=wn.target;qn!==((vr=At.current)===null||vr===void 0?void 0:vr.inputElement)&&wn.preventDefault(),Fo==null||Fo(wn)}}),Pt&&oe.createElement("div",{className:"".concat(Ie,"-prefix")},Pt),On)}var Aa=oe.forwardRef(Ha),ra=Aa;function El(ae,He){var ct=Rr(ae),Ft=(0,Re.Z)(ct,6),Pt=Ft[0],pn=Ft[1],Dn=Ft[2],Pn=Ft[3],Xn=Ft[4],tr=Ft[5],In=Pt,cr=In.prefixCls,pr=In.styles,hr=In.classNames,fr=In.order,Cr=In.defaultValue,xr=In.value,Sr=In.needConfirm,qr=In.onChange,Kr=In.onKeyDown,Br=In.disabled,io=In.disabledDate,zr=In.minDate,Ur=In.maxDate,Go=In.defaultOpen,So=In.open,Po=In.onOpenChange,bo=In.locale,ti=In.generateConfig,Oo=In.picker,uo=In.showNow,no=In.showToday,mo=In.showTime,fo=In.mode,ai=In.onPanelChange,ni=In.onCalendarChange,Fo=In.onOk,To=In.multiple,co=In.defaultPickerValue,Mo=In.pickerValue,Bo=In.onPickerValueChange,li=In.inputReadOnly,Di=In.suffixIcon,Pi=In.removeIcon,Te=In.onFocus,Ie=In.onBlur,ht=In.presets,At=In.components,Nt=In.cellRender,Gt=In.dateRender,fn=In.monthCellRender,on=In.onClick,gn=ur(He);function Sn(wi){return wi===null?null:To?wi:wi[0]}var Wn=mr(ti,bo,pn),Tn=Mn(So,Go,[Br],Po),On=(0,Re.Z)(Tn,2),Fn=On[0],wn=On[1],vr=function(jo,Na,sl){if(ni){var Bl=(0,Se.Z)({},sl);delete Bl.range,ni(Sn(jo),Sn(Na),Bl)}},qn=function(jo){Fo==null||Fo(Sn(jo))},Ar=Bt(ti,bo,Pn,!1,fr,Cr,xr,vr,qn),br=(0,Re.Z)(Ar,5),Tr=br[0],Dr=br[1],Pr=br[2],Wr=br[3],Gr=br[4],Jr=Pr(),Io=Jt([Br]),Mr=(0,Re.Z)(Io,4),Fr=Mr[0],jr=Mr[1],lr=Mr[2],ar=Mr[3],Zr=function(jo){jr(!0),Te==null||Te(jo,{})},Xr=function(jo){jr(!1),Ie==null||Ie(jo,{})},lo=(0,at.C8)(Oo,{value:fo}),Lo=(0,Re.Z)(lo,2),_r=Lo[0],Fi=Lo[1],xi=_r==="date"&&mo?"datetime":_r,pa=_t(Oo,_r,uo,no),Qi=qr&&function(wi,jo){qr(Sn(wi),Sn(jo))},ua=It((0,Se.Z)((0,Se.Z)({},Pt),{},{onChange:Qi}),Tr,Dr,Pr,Wr,[],Pn,Fr,Fn,tr),ga=(0,Re.Z)(ua,2),Ca=ga[1],Ri=_e(Jr,tr),Ni=(0,Re.Z)(Ri,2),Pa=Ni[0],Ia=Ni[1],Ko=oe.useMemo(function(){return Pa.some(function(wi){return wi})},[Pa]),Si=function(jo,Na){if(Bo){var sl=(0,Se.Z)((0,Se.Z)({},Na),{},{mode:Na.mode[0]});delete sl.range,Bo(jo[0],sl)}},zo=Ht(ti,bo,Jr,[_r],Fn,ar,pn,!1,co,Mo,Ue(mo==null?void 0:mo.defaultOpenValue),Si,zr,Ur),go=(0,Re.Z)(zo,2),Vi=go[0],qi=go[1],ba=(0,at.zX)(function(wi,jo,Na){if(Fi(jo),ai&&Na!==!1){var sl=wi||Jr[Jr.length-1];ai(sl,jo)}}),ea=function(){Ca(Pr()),wn(!1,{force:!0})},Oa=function(jo){!Br&&!gn.current.nativeElement.contains(document.activeElement)&&gn.current.focus(),wn(!0),on==null||on(jo)},Da=function(){Ca(null),wn(!1,{force:!0})},Jo=oe.useState(null),si=(0,Re.Z)(Jo,2),ta=si[0],ca=si[1],da=oe.useState(null),za=(0,Re.Z)(da,2),Ea=za[0],Xa=za[1],ya=oe.useMemo(function(){var wi=[Ea].concat((0,lt.Z)(Jr)).filter(function(jo){return jo});return To?wi:wi.slice(0,1)},[Jr,Ea,To]),Ui=oe.useMemo(function(){return!To&&Ea?[Ea]:Jr.filter(function(wi){return wi})},[Jr,Ea,To]);oe.useEffect(function(){Fn||Xa(null)},[Fn]);var va=dr(ht),xa=function(jo){Xa(jo),ca("preset")},Ra=function(jo){var Na=To?Wn(Pr(),jo):[jo],sl=Ca(Na);sl&&!To&&wn(!1,{force:!0})},La=function(jo){Ra(jo)},Xi=function(jo){Xa(jo),ca("cell")},Fa=function(jo){wn(!0),Zr(jo)},ia=function(jo){if(lr("panel"),!(To&&xi!==Oo)){var Na=To?Wn(Pr(),jo):[jo];Wr(Na),!Sr&&!Dn&&pn===xi&&ea()}},_a=function(){wn(!1)},ja=St(Nt,Gt,fn),nl=oe.useMemo(function(){var wi=(0,Wt.Z)(Pt,!1),jo=(0,ft.Z)(Pt,[].concat((0,lt.Z)(Object.keys(wi)),["onChange","onCalendarChange","style","className","onPanelChange"]));return(0,Se.Z)((0,Se.Z)({},jo),{},{multiple:Pt.multiple})},[Pt]),ll=oe.createElement(Nn,(0,Fe.Z)({},nl,{showNow:pa,showTime:mo,disabledDate:io,onFocus:Fa,onBlur:Xr,picker:Oo,mode:_r,internalMode:xi,onPanelChange:ba,format:Xn,value:Jr,isInvalid:tr,onChange:null,onSelect:ia,pickerValue:Vi,defaultOpenValue:mo==null?void 0:mo.defaultOpenValue,onPickerValueChange:qi,hoverValue:ya,onHover:Xi,needConfirm:Sr,onSubmit:ea,onOk:Gr,presets:va,onPresetHover:xa,onPresetSubmit:Ra,onNow:La,cellRender:ja})),Il=function(jo){Wr(jo)},Sa=function(){lr("input")},as=function(jo){lr("input"),wn(!0,{inherit:!0}),Zr(jo)},rl=function(jo){wn(!1),Xr(jo)},Dl=function(jo,Na){jo.key==="Tab"&&ea(),Kr==null||Kr(jo,Na)},pl=oe.useMemo(function(){return{prefixCls:cr,locale:bo,generateConfig:ti,button:At.button,input:At.input}},[cr,bo,ti,At.button,At.input]);return(0,jt.Z)(function(){Fn&&ar!==void 0&&ba(null,Oo,!1)},[Fn,ar,Oo]),(0,jt.Z)(function(){var wi=lr();!Fn&&wi==="input"&&(wn(!1),ea()),!Fn&&Dn&&!Sr&&wi==="panel"&&ea()},[Fn]),oe.createElement(te.Provider,{value:pl},oe.createElement(re,(0,Fe.Z)({},gt(Pt),{popupElement:ll,popupStyle:pr.popup,popupClassName:hr.popup,visible:Fn,onClose:_a}),oe.createElement(ra,(0,Fe.Z)({},Pt,{ref:gn,suffixIcon:Di,removeIcon:Pi,activeHelp:!!Ea,allHelp:!!Ea&&ta==="preset",focused:Fr,onFocus:as,onBlur:rl,onKeyDown:Dl,onSubmit:ea,value:Ui,maskFormat:Xn,onChange:Il,onInputChange:Sa,internalPicker:pn,format:Pn,inputReadOnly:li,disabled:Br,open:Fn,onOpenChange:wn,onClick:Oa,onClear:Da,invalid:Ko,onInvalid:function(jo){Ia(jo,0)}}))))}var qa=oe.forwardRef(El),qo=qa,Ei=qo,Qo=E(62487),di=E(75030),zi=E(82855),$i=E(48755),ko=E(2171),Gi=E(83397),gr=E(31756),Qr=E(56553),Yo=E(24971),Zi=E(9017),Ba=E(70045),xl=E(57428),ji=E(36237),Sl=E(53075),Wl=E(64910),rs=E(63356),us=E(56119),po=E(46e3),_i=E(93873),Za=E(36305),wl=E(16931),Hl=E(51636),ql=E(26743);const _l=(ae,He)=>{const{componentCls:ct,controlHeight:Ft}=ae,Pt=He?`${ct}-${He}`:"",pn=(0,ql.gp)(ae);return[{[`${ct}-multiple${Pt}`]:{paddingBlock:pn.containerPadding,paddingInlineStart:pn.basePadding,minHeight:Ft,[`${ct}-selection-item`]:{height:pn.itemHeight,lineHeight:(0,ji.unit)(pn.itemLineHeight)}}}]};var es=ae=>{const{componentCls:He,calc:ct,lineWidth:Ft}=ae,Pt=(0,Hl.mergeToken)(ae,{fontHeight:ae.fontSize,selectHeight:ae.controlHeightSM,multipleSelectItemHeight:ae.multipleItemHeightSM,borderRadius:ae.borderRadiusSM,borderRadiusSM:ae.borderRadiusXS,controlHeight:ae.controlHeightSM}),pn=(0,Hl.mergeToken)(ae,{fontHeight:ct(ae.multipleItemHeightLG).sub(ct(Ft).mul(2).equal()).equal(),fontSize:ae.fontSizeLG,selectHeight:ae.controlHeightLG,multipleSelectItemHeight:ae.multipleItemHeightLG,borderRadius:ae.borderRadiusLG,borderRadiusSM:ae.borderRadius,controlHeight:ae.controlHeightLG});return[_l(Pt,"small"),_l(ae),_l(pn,"large"),{[`${He}${He}-multiple`]:Object.assign(Object.assign({width:"100%",cursor:"text",[`${He}-selector`]:{flex:"auto",padding:0,position:"relative","&:after":{margin:0},[`${He}-selection-placeholder`]:{position:"absolute",top:"50%",insetInlineStart:ae.inputPaddingHorizontalBase,insetInlineEnd:0,transform:"translateY(-50%)",transition:`all ${ae.motionDurationSlow}`,overflow:"hidden",whiteSpace:"nowrap",textOverflow:"ellipsis",flex:1,color:ae.colorTextPlaceholder,pointerEvents:"none"}}},(0,ql._z)(ae)),{[`${He}-multiple-input`]:{width:0,height:0,border:0,visibility:"hidden",position:"absolute",zIndex:-1}})}]},el=E(17835);const Kl=ae=>{const{pickerCellCls:He,pickerCellInnerCls:ct,cellHeight:Ft,borderRadiusSM:Pt,motionDurationMid:pn,cellHoverBg:Dn,lineWidth:Pn,lineType:Xn,colorPrimary:tr,cellActiveWithRangeBg:In,colorTextLightSolid:cr,colorTextDisabled:pr,cellBgDisabled:hr,colorFillSecondary:fr}=ae;return{"&::before":{position:"absolute",top:"50%",insetInlineStart:0,insetInlineEnd:0,zIndex:1,height:Ft,transform:"translateY(-50%)",content:'""',pointerEvents:"none"},[ct]:{position:"relative",zIndex:2,display:"inline-block",minWidth:Ft,height:Ft,lineHeight:(0,ji.unit)(Ft),borderRadius:Pt,transition:`background ${pn}`},[`&:hover:not(${He}-in-view):not(${He}-disabled),
&:hover:not(${He}-selected):not(${He}-range-start):not(${He}-range-end):not(${He}-disabled)`]:{[ct]:{background:Dn}},[`&-in-view${He}-today ${ct}`]:{"&::before":{position:"absolute",top:0,insetInlineEnd:0,bottom:0,insetInlineStart:0,zIndex:1,border:`${(0,ji.unit)(Pn)} ${Xn} ${tr}`,borderRadius:Pt,content:'""'}},[`&-in-view${He}-in-range,
&-in-view${He}-range-start,
&-in-view${He}-range-end`]:{position:"relative",[`&:not(${He}-disabled):before`]:{background:In}},[`&-in-view${He}-selected,
&-in-view${He}-range-start,
&-in-view${He}-range-end`]:{[`&:not(${He}-disabled) ${ct}`]:{color:cr,background:tr},[`&${He}-disabled ${ct}`]:{background:fr}},[`&-in-view${He}-range-start:not(${He}-disabled):before`]:{insetInlineStart:"50%"},[`&-in-view${He}-range-end:not(${He}-disabled):before`]:{insetInlineEnd:"50%"},[`&-in-view${He}-range-start:not(${He}-range-end) ${ct}`]:{borderStartStartRadius:Pt,borderEndStartRadius:Pt,borderStartEndRadius:0,borderEndEndRadius:0},[`&-in-view${He}-range-end:not(${He}-range-start) ${ct}`]:{borderStartStartRadius:0,borderEndStartRadius:0,borderStartEndRadius:Pt,borderEndEndRadius:Pt},"&-disabled":{color:pr,cursor:"not-allowed",[ct]:{background:"transparent"},"&::before":{background:hr}},[`&-disabled${He}-today ${ct}::before`]:{borderColor:pr}}},Ta=ae=>{const{componentCls:He,pickerCellCls:ct,pickerCellInnerCls:Ft,pickerYearMonthCellWidth:Pt,pickerControlIconSize:pn,cellWidth:Dn,paddingSM:Pn,paddingXS:Xn,paddingXXS:tr,colorBgContainer:In,lineWidth:cr,lineType:pr,borderRadiusLG:hr,colorPrimary:fr,colorTextHeading:Cr,colorSplit:xr,pickerControlIconBorderWidth:Sr,colorIcon:qr,textHeight:Kr,motionDurationMid:Br,colorIconHover:io,fontWeightStrong:zr,cellHeight:Ur,pickerCellPaddingVertical:Go,colorTextDisabled:So,colorText:Po,fontSize:bo,motionDurationSlow:ti,withoutTimeCellHeight:Oo,pickerQuarterPanelContentHeight:uo,borderRadiusSM:no,colorTextLightSolid:mo,cellHoverBg:fo,timeColumnHeight:ai,timeColumnWidth:ni,timeCellHeight:Fo,controlItemBgActive:To,marginXXS:co,pickerDatePanelPaddingHorizontal:Mo,pickerControlIconMargin:Bo}=ae,li=ae.calc(Dn).mul(7).add(ae.calc(Mo).mul(2)).equal();return{[He]:{"&-panel":{display:"inline-flex",flexDirection:"column",textAlign:"center",background:In,borderRadius:hr,outline:"none","&-focused":{borderColor:fr},"&-rtl":{[`${He}-prev-icon,
${He}-super-prev-icon`]:{transform:"rotate(45deg)"},[`${He}-next-icon,
${He}-super-next-icon`]:{transform:"rotate(-135deg)"},[`${He}-time-panel`]:{[`${He}-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:li},"&-header":{display:"flex",padding:`0 ${(0,ji.unit)(Xn)}`,color:Cr,borderBottom:`${(0,ji.unit)(cr)} ${pr} ${xr}`,"> *":{flex:"none"},button:{padding:0,color:qr,lineHeight:(0,ji.unit)(Kr),background:"transparent",border:0,cursor:"pointer",transition:`color ${Br}`,fontSize:"inherit",display:"inline-flex",alignItems:"center",justifyContent:"center","&:empty":{display:"none"}},"> button":{minWidth:"1.6em",fontSize:bo,"&:hover":{color:io},"&:disabled":{opacity:.25,pointerEvents:"none"}},"&-view":{flex:"auto",fontWeight:zr,lineHeight:(0,ji.unit)(Kr),"> button":{color:"inherit",fontWeight:"inherit",verticalAlign:"top","&:not(:first-child)":{marginInlineStart:Xn},"&:hover":{color:fr}}}},"&-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:Sr,borderInlineStartWidth:Sr,content:'""'}},"&-super-prev-icon,\n &-super-next-icon":{"&::after":{position:"absolute",top:Bo,insetInlineStart:Bo,display:"inline-block",width:pn,height:pn,border:"0 solid currentcolor",borderBlockStartWidth:Sr,borderInlineStartWidth:Sr,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:Ur,fontWeight:"normal"},th:{height:ae.calc(Ur).add(ae.calc(Go).mul(2)).equal(),color:Po,verticalAlign:"middle"}},"&-cell":Object.assign({padding:`${(0,ji.unit)(Go)} 0`,color:So,cursor:"pointer","&-in-view":{color:Po}},Kl(ae)),"&-decade-panel,\n &-year-panel,\n &-quarter-panel,\n &-month-panel":{[`${He}-content`]:{height:ae.calc(Oo).mul(4).equal()},[Ft]:{padding:`0 ${(0,ji.unit)(Xn)}`}},"&-quarter-panel":{[`${He}-content`]:{height:uo}},"&-decade-panel":{[Ft]:{padding:`0 ${(0,ji.unit)(ae.calc(Xn).div(2).equal())}`},[`${He}-cell::before`]:{display:"none"}},"&-year-panel,\n &-quarter-panel,\n &-month-panel":{[`${He}-body`]:{padding:`0 ${(0,ji.unit)(Xn)}`},[Ft]:{width:Pt}},"&-date-panel":{[`${He}-body`]:{padding:`${(0,ji.unit)(Xn)} ${(0,ji.unit)(Mo)}`},[`${He}-content th`]:{boxSizing:"border-box",padding:0}},"&-week-panel":{[`${He}-cell`]:{[`&:hover ${Ft},
&-selected ${Ft},
${Ft}`]:{background:"transparent !important"}},"&-row":{td:{"&:before":{transition:`background ${Br}`},"&:first-child:before":{borderStartStartRadius:no,borderEndStartRadius:no},"&:last-child:before":{borderStartEndRadius:no,borderEndEndRadius:no}},"&:hover td:before":{background:fo},"&-range-start td, &-range-end td, &-selected td, &-hover td":{[`&${ct}`]:{"&:before":{background:fr},[`&${He}-cell-week`]:{color:new el.FastColor(mo).setA(.5).toHexString()},[Ft]:{color:mo}}},"&-range-hover td:before":{background:To}}},"&-week-panel, &-date-panel-show-week":{[`${He}-body`]:{padding:`${(0,ji.unit)(Xn)} ${(0,ji.unit)(Pn)}`},[`${He}-content th`]:{width:"auto"}},"&-datetime-panel":{display:"flex",[`${He}-time-panel`]:{borderInlineStart:`${(0,ji.unit)(cr)} ${pr} ${xr}`},[`${He}-date-panel,
${He}-time-panel`]:{transition:`opacity ${ti}`},"&-active":{[`${He}-date-panel,
${He}-time-panel`]:{opacity:.3,"&-active":{opacity:1}}}},"&-time-panel":{width:"auto",minWidth:"auto",[`${He}-content`]:{display:"flex",flex:"auto",height:ai},"&-column":{flex:"1 0 auto",width:ni,margin:`${(0,ji.unit)(tr)} 0`,padding:0,overflowY:"hidden",textAlign:"start",listStyle:"none",transition:`background ${Br}`,overflowX:"hidden","&::-webkit-scrollbar":{width:8,backgroundColor:"transparent"},"&::-webkit-scrollbar-thumb":{backgroundColor:ae.colorTextTertiary,borderRadius:ae.borderRadiusSM},"&":{scrollbarWidth:"thin",scrollbarColor:`${ae.colorTextTertiary} transparent`},"&::after":{display:"block",height:`calc(100% - ${(0,ji.unit)(Fo)})`,content:'""'},"&:not(:first-child)":{borderInlineStart:`${(0,ji.unit)(cr)} ${pr} ${xr}`},"&-active":{background:new el.FastColor(To).setA(.2).toHexString()},"&:hover":{overflowY:"auto"},"> li":{margin:0,padding:0,[`&${He}-time-panel-cell`]:{marginInline:co,[`${He}-time-panel-cell-inner`]:{display:"block",width:ae.calc(ni).sub(ae.calc(co).mul(2)).equal(),height:Fo,margin:0,paddingBlock:0,paddingInlineEnd:0,paddingInlineStart:ae.calc(ni).sub(Fo).div(2).equal(),color:Po,lineHeight:(0,ji.unit)(Fo),borderRadius:no,cursor:"pointer",transition:`background ${Br}`,"&:hover":{background:fo}},"&-selected":{[`${He}-time-panel-cell-inner`]:{background:To}},"&-disabled":{[`${He}-time-panel-cell-inner`]:{color:So,background:"transparent",cursor:"not-allowed"}}}}}}}}};var Tl=ae=>{const{componentCls:He,textHeight:ct,lineWidth:Ft,paddingSM:Pt,antCls:pn,colorPrimary:Dn,cellActiveWithRangeBg:Pn,colorPrimaryBorder:Xn,lineType:tr,colorSplit:In}=ae;return{[`${He}-dropdown`]:{[`${He}-footer`]:{borderTop:`${(0,ji.unit)(Ft)} ${tr} ${In}`,"&-extra":{padding:`0 ${(0,ji.unit)(Pt)}`,lineHeight:(0,ji.unit)(ae.calc(ct).sub(ae.calc(Ft).mul(2)).equal()),textAlign:"start","&:not(:last-child)":{borderBottom:`${(0,ji.unit)(Ft)} ${tr} ${In}`}}},[`${He}-panels + ${He}-footer ${He}-ranges`]:{justifyContent:"space-between"},[`${He}-ranges`]:{marginBlock:0,paddingInline:(0,ji.unit)(Pt),overflow:"hidden",textAlign:"start",listStyle:"none",display:"flex",justifyContent:"center",alignItems:"center","> li":{lineHeight:(0,ji.unit)(ae.calc(ct).sub(ae.calc(Ft).mul(2)).equal()),display:"inline-block"},[`${He}-now-btn-disabled`]:{pointerEvents:"none",color:ae.colorTextDisabled},[`${He}-preset > ${pn}-tag-blue`]:{color:Dn,background:Pn,borderColor:Xn,cursor:"pointer"},[`${He}-ok`]:{paddingBlock:ae.calc(Ft).mul(2).equal(),marginInlineStart:"auto"}}}}};const tl=ae=>{const{componentCls:He,controlHeightLG:ct,paddingXXS:Ft,padding:Pt}=ae;return{pickerCellCls:`${He}-cell`,pickerCellInnerCls:`${He}-cell-inner`,pickerYearMonthCellWidth:ae.calc(ct).mul(1.5).equal(),pickerQuarterPanelContentHeight:ae.calc(ct).mul(1.4).equal(),pickerCellPaddingVertical:ae.calc(Ft).add(ae.calc(Ft).div(2)).equal(),pickerCellBorderGap:2,pickerControlIconSize:7,pickerControlIconMargin:4,pickerControlIconBorderWidth:1.5,pickerDatePanelPaddingHorizontal:ae.calc(Pt).add(ae.calc(Ft).div(2)).equal()}},Ss=ae=>{const{colorBgContainerDisabled:He,controlHeight:ct,controlHeightSM:Ft,controlHeightLG:Pt,paddingXXS:pn,lineWidth:Dn}=ae,Pn=pn*2,Xn=Dn*2,tr=Math.min(ct-Pn,ct-Xn),In=Math.min(Ft-Pn,Ft-Xn),cr=Math.min(Pt-Pn,Pt-Xn);return{INTERNAL_FIXED_ITEM_MARGIN:Math.floor(pn/2),cellHoverBg:ae.controlItemBgHover,cellActiveWithRangeBg:ae.controlItemBgActive,cellHoverWithRangeBg:new el.FastColor(ae.colorPrimary).lighten(35).toHexString(),cellRangeBorderColor:new el.FastColor(ae.colorPrimary).lighten(20).toHexString(),cellBgDisabled:He,timeColumnWidth:Pt*1.4,timeColumnHeight:28*8,timeCellHeight:28,cellWidth:Ft*1.5,cellHeight:Ft,textHeight:Pt,withoutTimeCellHeight:Pt*1.65,multipleItemBg:ae.colorFillSecondary,multipleItemBorderColor:"transparent",multipleItemHeight:tr,multipleItemHeightSM:In,multipleItemHeightLG:cr,multipleSelectorBgDisabled:He,multipleItemColorDisabled:ae.colorTextDisabled,multipleItemBorderColorDisabled:"transparent"}},ts=ae=>Object.assign(Object.assign(Object.assign(Object.assign({},(0,Wl.T)(ae)),Ss(ae)),(0,Za.w)(ae)),{presetsWidth:120,presetsMaxWidth:200,zIndexPopup:ae.zIndexPopupBase+50});var Ja=E(39082),Wi=ae=>{const{componentCls:He}=ae;return{[He]:[Object.assign(Object.assign(Object.assign(Object.assign({},(0,Ja.qG)(ae)),(0,Ja.vc)(ae)),(0,Ja.H8)(ae)),(0,Ja.Mu)(ae)),{"&-outlined":{[`&${He}-multiple ${He}-selection-item`]:{background:ae.multipleItemBg,border:`${(0,ji.unit)(ae.lineWidth)} ${ae.lineType} ${ae.multipleItemBorderColor}`}},"&-filled":{[`&${He}-multiple ${He}-selection-item`]:{background:ae.colorBgContainer,border:`${(0,ji.unit)(ae.lineWidth)} ${ae.lineType} ${ae.colorSplit}`}},"&-borderless":{[`&${He}-multiple ${He}-selection-item`]:{background:ae.multipleItemBg,border:`${(0,ji.unit)(ae.lineWidth)} ${ae.lineType} ${ae.multipleItemBorderColor}`}},"&-underlined":{[`&${He}-multiple ${He}-selection-item`]:{background:ae.multipleItemBg,border:`${(0,ji.unit)(ae.lineWidth)} ${ae.lineType} ${ae.multipleItemBorderColor}`}}}]}};const Ua=(ae,He,ct,Ft)=>{const Pt=ae.calc(ct).add(2).equal(),pn=ae.max(ae.calc(He).sub(Pt).div(2).equal(),0),Dn=ae.max(ae.calc(He).sub(Pt).sub(pn).equal(),0);return{padding:`${(0,ji.unit)(pn)} ${(0,ji.unit)(Ft)} ${(0,ji.unit)(Dn)}`}},fl=ae=>{const{componentCls:He,colorError:ct,colorWarning:Ft}=ae;return{[`${He}:not(${He}-disabled):not([disabled])`]:{[`&${He}-status-error`]:{[`${He}-active-bar`]:{background:ct}},[`&${He}-status-warning`]:{[`${He}-active-bar`]:{background:Ft}}}}},Va=ae=>{const{componentCls:He,antCls:ct,controlHeight:Ft,paddingInline:Pt,lineWidth:pn,lineType:Dn,colorBorder:Pn,borderRadius:Xn,motionDurationMid:tr,colorTextDisabled:In,colorTextPlaceholder:cr,controlHeightLG:pr,fontSizeLG:hr,controlHeightSM:fr,paddingInlineSM:Cr,paddingXS:xr,marginXS:Sr,colorTextDescription:qr,lineWidthBold:Kr,colorPrimary:Br,motionDurationSlow:io,zIndexPopup:zr,paddingXXS:Ur,sizePopupArrow:Go,colorBgElevated:So,borderRadiusLG:Po,boxShadowSecondary:bo,borderRadiusSM:ti,colorSplit:Oo,cellHoverBg:uo,presetsWidth:no,presetsMaxWidth:mo,boxShadowPopoverArrow:fo,fontHeight:ai,fontHeightLG:ni,lineHeightLG:Fo}=ae;return[{[He]:Object.assign(Object.assign(Object.assign({},(0,rs.Wf)(ae)),Ua(ae,Ft,ai,Pt)),{position:"relative",display:"inline-flex",alignItems:"center",lineHeight:1,borderRadius:Xn,transition:`border ${tr}, box-shadow ${tr}, background ${tr}`,[`${He}-prefix`]:{flex:"0 0 auto",marginInlineEnd:ae.inputAffixPadding},[`${He}-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:ae.fontSize,lineHeight:ae.lineHeight,transition:`all ${tr}`},(0,Sl.nz)(cr)),{flex:"auto",minWidth:1,height:"auto",padding:0,background:"transparent",border:0,fontFamily:"inherit","&:focus":{boxShadow:"none",outline:0},"&[disabled]":{background:"transparent",color:In,cursor:"not-allowed"}}),"&-placeholder":{"> input":{color:cr}}},"&-large":Object.assign(Object.assign({},Ua(ae,pr,ni,Pt)),{[`${He}-input > input`]:{fontSize:hr,lineHeight:Fo}}),"&-small":Object.assign({},Ua(ae,fr,ai,Cr)),[`${He}-suffix`]:{display:"flex",flex:"none",alignSelf:"center",marginInlineStart:ae.calc(xr).div(2).equal(),color:In,lineHeight:1,pointerEvents:"none",transition:`opacity ${tr}, color ${tr}`,"> *":{verticalAlign:"top","&:not(:last-child)":{marginInlineEnd:Sr}}},[`${He}-clear`]:{position:"absolute",top:"50%",insetInlineEnd:0,color:In,lineHeight:1,transform:"translateY(-50%)",cursor:"pointer",opacity:0,transition:`opacity ${tr}, color ${tr}`,"> *":{verticalAlign:"top"},"&:hover":{color:qr}},"&:hover":{[`${He}-clear`]:{opacity:1},[`${He}-suffix:not(:last-child)`]:{opacity:0}},[`${He}-separator`]:{position:"relative",display:"inline-block",width:"1em",height:hr,color:In,fontSize:hr,verticalAlign:"top",cursor:"default",[`${He}-focused &`]:{color:qr},[`${He}-range-separator &`]:{[`${He}-disabled &`]:{cursor:"not-allowed"}}},"&-range":{position:"relative",display:"inline-flex",[`${He}-active-bar`]:{bottom:ae.calc(pn).mul(-1).equal(),height:Kr,background:Br,opacity:0,transition:`all ${io} ease-out`,pointerEvents:"none"},[`&${He}-focused`]:{[`${He}-active-bar`]:{opacity:1}},[`${He}-range-separator`]:{alignItems:"center",padding:`0 ${(0,ji.unit)(xr)}`,lineHeight:1}},"&-range, &-multiple":{[`${He}-clear`]:{insetInlineEnd:Pt},[`&${He}-small`]:{[`${He}-clear`]:{insetInlineEnd:Cr}}},"&-dropdown":Object.assign(Object.assign(Object.assign({},(0,rs.Wf)(ae)),Ta(ae)),{pointerEvents:"none",position:"absolute",top:-9999,left:{_skip_check_:!0,value:-9999},zIndex:zr,[`&${He}-dropdown-hidden`]:{display:"none"},"&-rtl":{direction:"rtl"},[`&${He}-dropdown-placement-bottomLeft,
&${He}-dropdown-placement-bottomRight`]:{[`${He}-range-arrow`]:{top:0,display:"block",transform:"translateY(-100%)"}},[`&${He}-dropdown-placement-topLeft,
&${He}-dropdown-placement-topRight`]:{[`${He}-range-arrow`]:{bottom:0,display:"block",transform:"translateY(100%) rotate(180deg)"}},[`&${ct}-slide-up-appear, &${ct}-slide-up-enter`]:{[`${He}-range-arrow${He}-range-arrow`]:{transition:"none"}},[`&${ct}-slide-up-enter${ct}-slide-up-enter-active${He}-dropdown-placement-topLeft,
&${ct}-slide-up-enter${ct}-slide-up-enter-active${He}-dropdown-placement-topRight,
&${ct}-slide-up-appear${ct}-slide-up-appear-active${He}-dropdown-placement-topLeft,
&${ct}-slide-up-appear${ct}-slide-up-appear-active${He}-dropdown-placement-topRight`]:{animationName:po.Qt},[`&${ct}-slide-up-enter${ct}-slide-up-enter-active${He}-dropdown-placement-bottomLeft,
&${ct}-slide-up-enter${ct}-slide-up-enter-active${He}-dropdown-placement-bottomRight,
&${ct}-slide-up-appear${ct}-slide-up-appear-active${He}-dropdown-placement-bottomLeft,
&${ct}-slide-up-appear${ct}-slide-up-appear-active${He}-dropdown-placement-bottomRight`]:{animationName:po.fJ},[`&${ct}-slide-up-leave ${He}-panel-container`]:{pointerEvents:"none"},[`&${ct}-slide-up-leave${ct}-slide-up-leave-active${He}-dropdown-placement-topLeft,
&${ct}-slide-up-leave${ct}-slide-up-leave-active${He}-dropdown-placement-topRight`]:{animationName:po.ly},[`&${ct}-slide-up-leave${ct}-slide-up-leave-active${He}-dropdown-placement-bottomLeft,
&${ct}-slide-up-leave${ct}-slide-up-leave-active${He}-dropdown-placement-bottomRight`]:{animationName:po.Uw},[`${He}-panel > ${He}-time-panel`]:{paddingTop:Ur},[`${He}-range-wrapper`]:{display:"flex",position:"relative"},[`${He}-range-arrow`]:Object.assign(Object.assign({position:"absolute",zIndex:1,display:"none",paddingInline:ae.calc(Pt).mul(1.5).equal(),boxSizing:"content-box",transition:`all ${io} ease-out`},(0,Za.W)(ae,So,fo)),{"&:before":{insetInlineStart:ae.calc(Pt).mul(1.5).equal()}}),[`${He}-panel-container`]:{overflow:"hidden",verticalAlign:"top",background:So,borderRadius:Po,boxShadow:bo,transition:`margin ${io}`,display:"inline-block",pointerEvents:"auto",[`${He}-panel-layout`]:{display:"flex",flexWrap:"nowrap",alignItems:"stretch"},[`${He}-presets`]:{display:"flex",flexDirection:"column",minWidth:no,maxWidth:mo,ul:{height:0,flex:"auto",listStyle:"none",overflow:"auto",margin:0,padding:xr,borderInlineEnd:`${(0,ji.unit)(pn)} ${Dn} ${Oo}`,li:Object.assign(Object.assign({},rs.vS),{borderRadius:ti,paddingInline:xr,paddingBlock:ae.calc(fr).sub(ai).div(2).equal(),cursor:"pointer",transition:`all ${io}`,"+ li":{marginTop:Sr},"&:hover":{background:uo}})}},[`${He}-panels`]:{display:"inline-flex",flexWrap:"nowrap","&:last-child":{[`${He}-panel`]:{borderWidth:0}}},[`${He}-panel`]:{verticalAlign:"top",background:"transparent",borderRadius:0,borderWidth:0,[`${He}-content, table`]:{textAlign:"center"},"&-focused":{borderColor:Pn}}}}),"&-dropdown-range":{padding:`${(0,ji.unit)(ae.calc(Go).mul(2).div(3).equal())} 0`,"&-hidden":{display:"none"}},"&-rtl":{direction:"rtl",[`${He}-separator`]:{transform:"scale(-1, 1)"},[`${He}-footer`]:{"&-extra":{direction:"rtl"}}}})},(0,po.oN)(ae,"slide-up"),(0,po.oN)(ae,"slide-down"),(0,_i.Fm)(ae,"move-up"),(0,_i.Fm)(ae,"move-down")]};var Ga=(0,wl.I$)("DatePicker",ae=>{const He=(0,Hl.mergeToken)((0,Wl.e)(ae),tl(ae),{inputPaddingHorizontalBase:ae.calc(ae.paddingSM).sub(1).equal(),multipleSelectItemHeight:ae.multipleItemHeight,selectHeight:ae.controlHeight});return[Tl(He),Va(He),Wi(He),fl(He),es(He),(0,us.c)(ae,{focusElCls:`${ae.componentCls}-focused`})]},ts),Nl=E(68525);function Ml(ae,He,ct){return ct!==void 0?ct:He==="year"&&ae.lang.yearPlaceholder?ae.lang.yearPlaceholder:He==="quarter"&&ae.lang.quarterPlaceholder?ae.lang.quarterPlaceholder:He==="month"&&ae.lang.monthPlaceholder?ae.lang.monthPlaceholder:He==="week"&&ae.lang.weekPlaceholder?ae.lang.weekPlaceholder:He==="time"&&ae.timePickerLocale.placeholder?ae.timePickerLocale.placeholder:ae.lang.placeholder}function Vl(ae,He,ct){return ct!==void 0?ct:He==="year"&&ae.lang.yearPlaceholder?ae.lang.rangeYearPlaceholder:He==="quarter"&&ae.lang.quarterPlaceholder?ae.lang.rangeQuarterPlaceholder:He==="month"&&ae.lang.monthPlaceholder?ae.lang.rangeMonthPlaceholder:He==="week"&&ae.lang.weekPlaceholder?ae.lang.rangeWeekPlaceholder:He==="time"&&ae.timePickerLocale.placeholder?ae.timePickerLocale.rangePlaceholder:ae.lang.rangePlaceholder}function hl(ae,He){const{allowClear:ct=!0}=ae,{clearIcon:Ft,removeIcon:Pt}=(0,Nl.Z)(Object.assign(Object.assign({},ae),{prefixCls:He,componentName:"DatePicker"}));return[oe.useMemo(()=>ct===!1?!1:Object.assign({clearIcon:Ft},ct===!0?{}:ct),[ct,Ft]),Pt]}const[Al,kl]=["week","WeekPicker"],[ns,Ls]=["month","MonthPicker"],[Ts,cs]=["year","YearPicker"],[Ql,Ul]=["quarter","QuarterPicker"],[al,Jl]=["time","TimePicker"];var Yl=E(7939),Us=ae=>oe.createElement(Yl.ZP,Object.assign({size:"small",type:"primary"},ae));function As(ae){return(0,oe.useMemo)(()=>Object.assign({button:Us},ae),[ae])}var os=function(ae,He){var ct={};for(var Ft in ae)Object.prototype.hasOwnProperty.call(ae,Ft)&&He.indexOf(Ft)<0&&(ct[Ft]=ae[Ft]);if(ae!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Pt=0,Ft=Object.getOwnPropertySymbols(ae);Pt<Ft.length;Pt++)He.indexOf(Ft[Pt])<0&&Object.prototype.propertyIsEnumerable.call(ae,Ft[Pt])&&(ct[Ft[Pt]]=ae[Ft[Pt]]);return ct},Ys=ae=>(0,oe.forwardRef)((ct,Ft)=>{var Pt;const{prefixCls:pn,getPopupContainer:Dn,components:Pn,className:Xn,style:tr,placement:In,size:cr,disabled:pr,bordered:hr=!0,placeholder:fr,popupClassName:Cr,dropdownClassName:xr,status:Sr,rootClassName:qr,variant:Kr,picker:Br}=ct,io=os(ct,["prefixCls","getPopupContainer","components","className","style","placement","size","disabled","bordered","placeholder","popupClassName","dropdownClassName","status","rootClassName","variant","picker"]),zr=oe.useRef(null),{getPrefixCls:Ur,direction:Go,getPopupContainer:So,rangePicker:Po}=(0,oe.useContext)($i.E_),bo=Ur("picker",pn),{compactSize:ti,compactItemClassnames:Oo}=(0,Ba.ri)(bo,Go),uo=Ur(),[no,mo]=(0,Yo.Z)("rangePicker",Kr,hr),fo=(0,Gi.Z)(bo),[ai,ni,Fo]=Ga(bo,fo),[To]=hl(ct,bo),co=As(Pn),Mo=(0,gr.Z)(fn=>{var on;return(on=cr!=null?cr:ti)!==null&&on!==void 0?on:fn}),Bo=oe.useContext(ko.Z),li=pr!=null?pr:Bo,Di=(0,oe.useContext)(Qr.aM),{hasFeedback:Pi,status:Te,feedbackIcon:Ie}=Di,ht=oe.createElement(oe.Fragment,null,Br===al?oe.createElement(qe,null):oe.createElement(Ve,null),Pi&&Ie);(0,oe.useImperativeHandle)(Ft,()=>zr.current);const[At]=(0,Zi.Z)("Calendar",xl.Z),Nt=Object.assign(Object.assign({},At),ct.locale),[Gt]=(0,di.Cn)("DatePicker",(Pt=ct.popupStyle)===null||Pt===void 0?void 0:Pt.zIndex);return ai(oe.createElement(Qo.Z,{space:!0},oe.createElement(bi,Object.assign({separator:oe.createElement("span",{"aria-label":"to",className:`${bo}-separator`},oe.createElement(Be,null)),disabled:li,ref:zr,placement:In,placeholder:Vl(Nt,Br,fr),suffixIcon:ht,prevIcon:oe.createElement("span",{className:`${bo}-prev-icon`}),nextIcon:oe.createElement("span",{className:`${bo}-next-icon`}),superPrevIcon:oe.createElement("span",{className:`${bo}-super-prev-icon`}),superNextIcon:oe.createElement("span",{className:`${bo}-super-next-icon`}),transitionName:`${uo}-slide-up`,picker:Br},io,{className:Zt()({[`${bo}-${Mo}`]:Mo,[`${bo}-${no}`]:mo},(0,zi.Z)(bo,(0,zi.F)(Te,Sr),Pi),ni,Oo,Xn,Po==null?void 0:Po.className,Fo,fo,qr),style:Object.assign(Object.assign({},Po==null?void 0:Po.style),tr),locale:Nt.lang,prefixCls:bo,getPopupContainer:Dn||So,generateConfig:ae,components:co,direction:Go,classNames:{popup:Zt()(ni,Cr||xr,Fo,fo,qr)},styles:{popup:Object.assign(Object.assign({},ct.popupStyle),{zIndex:Gt})},allowClear:To}))))}),vs=function(ae,He){var ct={};for(var Ft in ae)Object.prototype.hasOwnProperty.call(ae,Ft)&&He.indexOf(Ft)<0&&(ct[Ft]=ae[Ft]);if(ae!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Pt=0,Ft=Object.getOwnPropertySymbols(ae);Pt<Ft.length;Pt++)He.indexOf(Ft[Pt])<0&&Object.prototype.propertyIsEnumerable.call(ae,Ft[Pt])&&(ct[Ft[Pt]]=ae[Ft[Pt]]);return ct},Ns=ae=>{const He=(Xn,tr)=>{const In=tr===Jl?"timePicker":"datePicker";return(0,oe.forwardRef)((pr,hr)=>{var fr;const{prefixCls:Cr,getPopupContainer:xr,components:Sr,style:qr,className:Kr,rootClassName:Br,size:io,bordered:zr,placement:Ur,placeholder:Go,popupClassName:So,dropdownClassName:Po,disabled:bo,status:ti,variant:Oo,onCalendarChange:uo}=pr,no=vs(pr,["prefixCls","getPopupContainer","components","style","className","rootClassName","size","bordered","placement","placeholder","popupClassName","dropdownClassName","disabled","status","variant","onCalendarChange"]),{getPrefixCls:mo,direction:fo,getPopupContainer:ai,[In]:ni}=(0,oe.useContext)($i.E_),Fo=mo("picker",Cr),{compactSize:To,compactItemClassnames:co}=(0,Ba.ri)(Fo,fo),Mo=oe.useRef(null),[Bo,li]=(0,Yo.Z)("datePicker",Oo,zr),Di=(0,Gi.Z)(Fo),[Pi,Te,Ie]=Ga(Fo,Di);(0,oe.useImperativeHandle)(hr,()=>Mo.current);const ht={showToday:!0},At=Xn||pr.picker,Nt=mo(),{onSelect:Gt,multiple:fn}=no,on=Gt&&Xn==="time"&&!fn,gn=(Gr,Jr,Io)=>{uo==null||uo(Gr,Jr,Io),on&&Gt(Gr)},[Sn,Wn]=hl(pr,Fo),Tn=As(Sr),On=(0,gr.Z)(Gr=>{var Jr;return(Jr=io!=null?io:To)!==null&&Jr!==void 0?Jr:Gr}),Fn=oe.useContext(ko.Z),wn=bo!=null?bo:Fn,vr=(0,oe.useContext)(Qr.aM),{hasFeedback:qn,status:Ar,feedbackIcon:br}=vr,Tr=oe.createElement(oe.Fragment,null,At==="time"?oe.createElement(qe,null):oe.createElement(Ve,null),qn&&br),[Dr]=(0,Zi.Z)("DatePicker",xl.Z),Pr=Object.assign(Object.assign({},Dr),pr.locale),[Wr]=(0,di.Cn)("DatePicker",(fr=pr.popupStyle)===null||fr===void 0?void 0:fr.zIndex);return Pi(oe.createElement(Qo.Z,{space:!0},oe.createElement(Ei,Object.assign({ref:Mo,placeholder:Ml(Pr,At,Go),suffixIcon:Tr,placement:Ur,prevIcon:oe.createElement("span",{className:`${Fo}-prev-icon`}),nextIcon:oe.createElement("span",{className:`${Fo}-next-icon`}),superPrevIcon:oe.createElement("span",{className:`${Fo}-super-prev-icon`}),superNextIcon:oe.createElement("span",{className:`${Fo}-super-next-icon`}),transitionName:`${Nt}-slide-up`,picker:Xn,onCalendarChange:gn},ht,no,{locale:Pr.lang,className:Zt()({[`${Fo}-${On}`]:On,[`${Fo}-${Bo}`]:li},(0,zi.Z)(Fo,(0,zi.F)(Ar,ti),qn),Te,co,ni==null?void 0:ni.className,Kr,Ie,Di,Br),style:Object.assign(Object.assign({},ni==null?void 0:ni.style),qr),prefixCls:Fo,getPopupContainer:xr||ai,generateConfig:ae,components:Tn,direction:fo,disabled:wn,classNames:{popup:Zt()(Te,Ie,Di,Br,So||Po)},styles:{popup:Object.assign(Object.assign({},pr.popupStyle),{zIndex:Wr})},allowClear:Sn,removeIcon:Wn}))))})},ct=He(),Ft=He(Al,kl),Pt=He(ns,Ls),pn=He(Ts,cs),Dn=He(Ql,Ul),Pn=He(al,Jl);return{DatePicker:ct,WeekPicker:Ft,MonthPicker:Pt,YearPicker:pn,TimePicker:Pn,QuarterPicker:Dn}},ks=ae=>{const{DatePicker:He,WeekPicker:ct,MonthPicker:Ft,YearPicker:Pt,TimePicker:pn,QuarterPicker:Dn}=Ns(ae),Pn=Ys(ae),Xn=He;return Xn.WeekPicker=ct,Xn.MonthPicker=Ft,Xn.YearPicker=Pt,Xn.RangePicker=Pn,Xn.TimePicker=pn,Xn.QuarterPicker=Dn,Xn};const is=ks(Ze),ds=(0,Qe.Z)(is,"popupAlign",void 0,"picker");is._InternalPanelDoNotUseOrYouWillBeFired=ds;const gi=(0,Qe.Z)(is.RangePicker,"popupAlign",void 0,"picker");is._InternalRangePanelDoNotUseOrYouWillBeFired=gi,is.generatePicker=ks;var fs=is},37285:function(dn,yt,E){"use strict";E.d(yt,{Z:function(){return Ae}});var y=E(59301),xe=E(92310),he=E.n(xe),je=E(48755),be=E(36237),De=E(63356),ye=E(16931),ze=E(51636);const we=Ce=>{const{componentCls:me,sizePaddingEdgeHorizontal:ue,colorSplit:Me,lineWidth:Ze,textPaddingInline:Qe,orientationMargin:oe,verticalMarginInline:Fe}=Ce;return{[me]:Object.assign(Object.assign({},(0,De.Wf)(Ce)),{borderBlockStart:`${(0,be.unit)(Ze)} solid ${Me}`,"&-vertical":{position:"relative",top:"-0.06em",display:"inline-block",height:"0.9em",marginInline:Fe,marginBlock:0,verticalAlign:"middle",borderTop:0,borderInlineStart:`${(0,be.unit)(Ze)} solid ${Me}`},"&-horizontal":{display:"flex",clear:"both",width:"100%",minWidth:"100%",margin:`${(0,be.unit)(Ce.dividerHorizontalGutterMargin)} 0`},[`&-horizontal${me}-with-text`]:{display:"flex",alignItems:"center",margin:`${(0,be.unit)(Ce.dividerHorizontalWithTextGutterMargin)} 0`,color:Ce.colorTextHeading,fontWeight:500,fontSize:Ce.fontSizeLG,whiteSpace:"nowrap",textAlign:"center",borderBlockStart:`0 ${Me}`,"&::before, &::after":{position:"relative",width:"50%",borderBlockStart:`${(0,be.unit)(Ze)} solid transparent`,borderBlockStartColor:"inherit",borderBlockEnd:0,transform:"translateY(50%)",content:"''"}},[`&-horizontal${me}-with-text-start`]:{"&::before":{width:`calc(${oe} * 100%)`},"&::after":{width:`calc(100% - ${oe} * 100%)`}},[`&-horizontal${me}-with-text-end`]:{"&::before":{width:`calc(100% - ${oe} * 100%)`},"&::after":{width:`calc(${oe} * 100%)`}},[`${me}-inner-text`]:{display:"inline-block",paddingBlock:0,paddingInline:Qe},"&-dashed":{background:"none",borderColor:Me,borderStyle:"dashed",borderWidth:`${(0,be.unit)(Ze)} 0 0`},[`&-horizontal${me}-with-text${me}-dashed`]:{"&::before, &::after":{borderStyle:"dashed none none"}},[`&-vertical${me}-dashed`]:{borderInlineStartWidth:Ze,borderInlineEnd:0,borderBlockStart:0,borderBlockEnd:0},"&-dotted":{background:"none",borderColor:Me,borderStyle:"dotted",borderWidth:`${(0,be.unit)(Ze)} 0 0`},[`&-horizontal${me}-with-text${me}-dotted`]:{"&::before, &::after":{borderStyle:"dotted none none"}},[`&-vertical${me}-dotted`]:{borderInlineStartWidth:Ze,borderInlineEnd:0,borderBlockStart:0,borderBlockEnd:0},[`&-plain${me}-with-text`]:{color:Ce.colorText,fontWeight:"normal",fontSize:Ce.fontSize},[`&-horizontal${me}-with-text-start${me}-no-default-orientation-margin-start`]:{"&::before":{width:0},"&::after":{width:"100%"},[`${me}-inner-text`]:{paddingInlineStart:ue}},[`&-horizontal${me}-with-text-end${me}-no-default-orientation-margin-end`]:{"&::before":{width:"100%"},"&::after":{width:0},[`${me}-inner-text`]:{paddingInlineEnd:ue}}})}},se=Ce=>({textPaddingInline:"1em",orientationMargin:.05,verticalMarginInline:Ce.marginXS});var Ye=(0,ye.I$)("Divider",Ce=>{const me=(0,ze.mergeToken)(Ce,{dividerHorizontalWithTextGutterMargin:Ce.margin,dividerHorizontalGutterMargin:Ce.marginLG,sizePaddingEdgeHorizontal:0});return[we(me)]},se,{unitless:{orientationMargin:!0}}),fe=function(Ce,me){var ue={};for(var Me in Ce)Object.prototype.hasOwnProperty.call(Ce,Me)&&me.indexOf(Me)<0&&(ue[Me]=Ce[Me]);if(Ce!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Ze=0,Me=Object.getOwnPropertySymbols(Ce);Ze<Me.length;Ze++)me.indexOf(Me[Ze])<0&&Object.prototype.propertyIsEnumerable.call(Ce,Me[Ze])&&(ue[Me[Ze]]=Ce[Me[Ze]]);return ue},Ae=Ce=>{const{getPrefixCls:me,direction:ue,className:Me,style:Ze}=(0,je.dj)("divider"),{prefixCls:Qe,type:oe="horizontal",orientation:Fe="center",orientationMargin:rt,className:Ne,rootClassName:Ge,children:ge,dashed:Oe,variant:Ve="solid",plain:Pe,style:it}=Ce,Le=fe(Ce,["prefixCls","type","orientation","orientationMargin","className","rootClassName","children","dashed","variant","plain","style"]),pe=me("divider",Qe),[qe,Xe,Ct]=Ye(pe),Yt=!!ge,We=y.useMemo(()=>Fe==="left"?ue==="rtl"?"end":"start":Fe==="right"?ue==="rtl"?"start":"end":Fe,[ue,Fe]),Be=We==="start"&&rt!=null,Dt=We==="end"&&rt!=null,Zt=he()(pe,Me,Xe,Ct,`${pe}-${oe}`,{[`${pe}-with-text`]:Yt,[`${pe}-with-text-${We}`]:Yt,[`${pe}-dashed`]:!!Oe,[`${pe}-${Ve}`]:Ve!=="solid",[`${pe}-plain`]:!!Pe,[`${pe}-rtl`]:ue==="rtl",[`${pe}-no-default-orientation-margin-start`]:Be,[`${pe}-no-default-orientation-margin-end`]:Dt},Ne,Ge),lt=y.useMemo(()=>typeof rt=="number"?rt:/^\d+$/.test(rt)?Number(rt):rt,[rt]),Se={marginInlineStart:Be?lt:void 0,marginInlineEnd:Dt?lt:void 0};return qe(y.createElement("div",Object.assign({className:Zt,style:Object.assign(Object.assign({},Ze),it)},Le,{role:"separator"}),ge&&oe!=="vertical"&&y.createElement("span",{className:`${pe}-inner-text`,style:Se},ge)))}},36207:function(dn,yt,E){"use strict";E.d(yt,{Z:function(){return pt}});var y=E(59301),xe=E(92310),he=E.n(xe),je=E(33885),be=E(42978),De=E(43403),ye=E(34280),ze=y.createContext(null),we=y.createContext({}),se=ze,Ye=E(20068),fe=E(54476),ke=E(77900),Ae=E(10228),Ce=E(26112),me=E(75931),ue=E(8654),Me=["prefixCls","className","containerRef"],Ze=function(tt){var dt=tt.prefixCls,gt=tt.className,St=tt.containerRef,_e=(0,me.Z)(tt,Me),st=y.useContext(we),en=st.panel,Ut=(0,ue.x1)(en,St);return y.createElement("div",(0,fe.Z)({className:he()("".concat(dt,"-content"),gt),role:"dialog",ref:Ut},(0,Ce.Z)(tt,{aria:!0}),{"aria-modal":"true"},_e))},Qe=Ze,oe=E(48736);function Fe(et){return typeof et=="string"&&String(Number(et))===et?((0,oe.ZP)(!1,"Invalid value type of `width` or `height` which should be number type instead."),Number(et)):et}function rt(et){warning(!("wrapperClassName"in et),"'wrapperClassName' is removed. Please use 'rootClassName' instead."),warning(canUseDom()||!et.open,"Drawer with 'open' in SSR is not work since no place to createPortal. Please move to 'useEffect' instead.")}var Ne={width:0,height:0,overflow:"hidden",outline:"none",position:"absolute"};function Ge(et,tt){var dt,gt,St,_e=et.prefixCls,st=et.open,en=et.placement,Ut=et.inline,yn=et.push,tn=et.forceRender,Vt=et.autoFocus,Qt=et.keyboard,sn=et.classNames,bt=et.rootClassName,Lt=et.rootStyle,un=et.zIndex,Cn=et.className,ut=et.id,kt=et.style,wt=et.motion,cn=et.width,An=et.height,Kn=et.children,rr=et.mask,sr=et.maskClosable,kn=et.maskMotion,Jn=et.maskClassName,zt=et.maskStyle,mn=et.afterOpenChange,an=et.onClose,ln=et.onMouseEnter,qt=et.onMouseOver,xn=et.onMouseLeave,En=et.onClick,_n=et.onKeyDown,$n=et.onKeyUp,Yn=et.styles,Gn=et.drawerRender,Qn=y.useRef(),nr=y.useRef(),Rr=y.useRef();y.useImperativeHandle(tt,function(){return Qn.current});var Ir=function(Bt){var It=Bt.keyCode,_t=Bt.shiftKey;switch(It){case Ae.Z.TAB:{if(It===Ae.Z.TAB){if(!_t&&document.activeElement===Rr.current){var Ln;(Ln=nr.current)===null||Ln===void 0||Ln.focus({preventScroll:!0})}else if(_t&&document.activeElement===nr.current){var zn;(zn=Rr.current)===null||zn===void 0||zn.focus({preventScroll:!0})}}break}case Ae.Z.ESC:{an&&Qt&&(Bt.stopPropagation(),an(Bt));break}}};y.useEffect(function(){if(st&&Vt){var nt;(nt=Qn.current)===null||nt===void 0||nt.focus({preventScroll:!0})}},[st]);var Bn=y.useState(!1),Mn=(0,be.Z)(Bn,2),ur=Mn[0],dr=Mn[1],Ot=y.useContext(se),Jt;typeof yn=="boolean"?Jt=yn?{}:{distance:0}:Jt=yn||{};var vt=(dt=(gt=(St=Jt)===null||St===void 0?void 0:St.distance)!==null&&gt!==void 0?gt:Ot==null?void 0:Ot.pushDistance)!==null&&dt!==void 0?dt:180,Tt=y.useMemo(function(){return{pushDistance:vt,push:function(){dr(!0)},pull:function(){dr(!1)}}},[vt]);y.useEffect(function(){if(st){var nt;Ot==null||(nt=Ot.push)===null||nt===void 0||nt.call(Ot)}else{var Bt;Ot==null||(Bt=Ot.pull)===null||Bt===void 0||Bt.call(Ot)}},[st]),y.useEffect(function(){return function(){var nt;Ot==null||(nt=Ot.pull)===null||nt===void 0||nt.call(Ot)}},[]);var Et=rr&&y.createElement(ke.default,(0,fe.Z)({key:"mask"},kn,{visible:st}),function(nt,Bt){var It=nt.className,_t=nt.style;return y.createElement("div",{className:he()("".concat(_e,"-mask"),It,sn==null?void 0:sn.mask,Jn),style:(0,je.Z)((0,je.Z)((0,je.Z)({},_t),zt),Yn==null?void 0:Yn.mask),onClick:sr&&st?an:void 0,ref:Bt})}),Ht=typeof wt=="function"?wt(en):wt,ot={};if(ur&&vt)switch(en){case"top":ot.transform="translateY(".concat(vt,"px)");break;case"bottom":ot.transform="translateY(".concat(-vt,"px)");break;case"left":ot.transform="translateX(".concat(vt,"px)");break;default:ot.transform="translateX(".concat(-vt,"px)");break}en==="left"||en==="right"?ot.width=Fe(cn):ot.height=Fe(An);var Xt={onMouseEnter:ln,onMouseOver:qt,onMouseLeave:xn,onClick:En,onKeyDown:_n,onKeyUp:$n},nn=y.createElement(ke.default,(0,fe.Z)({key:"panel"},Ht,{visible:st,forceRender:tn,onVisibleChanged:function(Bt){mn==null||mn(Bt)},removeOnLeave:!1,leavedClassName:"".concat(_e,"-content-wrapper-hidden")}),function(nt,Bt){var It=nt.className,_t=nt.style,Ln=y.createElement(Qe,(0,fe.Z)({id:ut,containerRef:Bt,prefixCls:_e,className:he()(Cn,sn==null?void 0:sn.content),style:(0,je.Z)((0,je.Z)({},kt),Yn==null?void 0:Yn.content)},(0,Ce.Z)(et,{aria:!0}),Xt),Kn);return y.createElement("div",(0,fe.Z)({className:he()("".concat(_e,"-content-wrapper"),sn==null?void 0:sn.wrapper,It),style:(0,je.Z)((0,je.Z)((0,je.Z)({},ot),_t),Yn==null?void 0:Yn.wrapper)},(0,Ce.Z)(et,{data:!0})),Gn?Gn(Ln):Ln)}),Kt=(0,je.Z)({},Lt);return un&&(Kt.zIndex=un),y.createElement(se.Provider,{value:Tt},y.createElement("div",{className:he()(_e,"".concat(_e,"-").concat(en),bt,(0,Ye.Z)((0,Ye.Z)({},"".concat(_e,"-open"),st),"".concat(_e,"-inline"),Ut)),style:Kt,tabIndex:-1,ref:Qn,onKeyDown:Ir},Et,y.createElement("div",{tabIndex:0,ref:nr,style:Ne,"aria-hidden":"true","data-sentinel":"start"}),nn,y.createElement("div",{tabIndex:0,ref:Rr,style:Ne,"aria-hidden":"true","data-sentinel":"end"})))}var ge=y.forwardRef(Ge),Oe=ge,Ve=function(tt){var dt=tt.open,gt=dt===void 0?!1:dt,St=tt.prefixCls,_e=St===void 0?"rc-drawer":St,st=tt.placement,en=st===void 0?"right":st,Ut=tt.autoFocus,yn=Ut===void 0?!0:Ut,tn=tt.keyboard,Vt=tn===void 0?!0:tn,Qt=tt.width,sn=Qt===void 0?378:Qt,bt=tt.mask,Lt=bt===void 0?!0:bt,un=tt.maskClosable,Cn=un===void 0?!0:un,ut=tt.getContainer,kt=tt.forceRender,wt=tt.afterOpenChange,cn=tt.destroyOnClose,An=tt.onMouseEnter,Kn=tt.onMouseOver,rr=tt.onMouseLeave,sr=tt.onClick,kn=tt.onKeyDown,Jn=tt.onKeyUp,zt=tt.panelRef,mn=y.useState(!1),an=(0,be.Z)(mn,2),ln=an[0],qt=an[1],xn=y.useState(!1),En=(0,be.Z)(xn,2),_n=En[0],$n=En[1];(0,ye.Z)(function(){$n(!0)},[]);var Yn=_n?gt:!1,Gn=y.useRef(),Qn=y.useRef();(0,ye.Z)(function(){Yn&&(Qn.current=document.activeElement)},[Yn]);var nr=function(ur){var dr;if(qt(ur),wt==null||wt(ur),!ur&&Qn.current&&!((dr=Gn.current)!==null&&dr!==void 0&&dr.contains(Qn.current))){var Ot;(Ot=Qn.current)===null||Ot===void 0||Ot.focus({preventScroll:!0})}},Rr=y.useMemo(function(){return{panel:zt}},[zt]);if(!kt&&!ln&&!Yn&&cn)return null;var Ir={onMouseEnter:An,onMouseOver:Kn,onMouseLeave:rr,onClick:sr,onKeyDown:kn,onKeyUp:Jn},Bn=(0,je.Z)((0,je.Z)({},tt),{},{open:Yn,prefixCls:_e,placement:en,autoFocus:yn,keyboard:Vt,width:sn,mask:Lt,maskClosable:Cn,inline:ut===!1,afterOpenChange:nr,ref:Gn},Ir);return y.createElement(we.Provider,{value:Rr},y.createElement(De.Z,{open:Yn||kt||ln,autoDestroy:!1,getContainer:ut,autoLock:Lt&&(Yn||ln)},y.createElement(Oe,Bn)))},Pe=Ve,it=Pe,Le=E(62487),pe=E(75030),qe=E(86641),Xe=E(55743),Ct=E(48755),Yt=E(91190),We=E(78776),Be=E(458),Zt=et=>{var tt,dt;const{prefixCls:gt,title:St,footer:_e,extra:st,loading:en,onClose:Ut,headerStyle:yn,bodyStyle:tn,footerStyle:Vt,children:Qt,classNames:sn,styles:bt}=et,Lt=(0,Ct.dj)("drawer"),un=y.useCallback(cn=>y.createElement("button",{type:"button",onClick:Ut,"aria-label":"Close",className:`${gt}-close`},cn),[Ut]),[Cn,ut]=(0,We.Z)((0,We.w)(et),(0,We.w)(Lt),{closable:!0,closeIconRender:un}),kt=y.useMemo(()=>{var cn,An;return!St&&!Cn?null:y.createElement("div",{style:Object.assign(Object.assign(Object.assign({},(cn=Lt.styles)===null||cn===void 0?void 0:cn.header),yn),bt==null?void 0:bt.header),className:he()(`${gt}-header`,{[`${gt}-header-close-only`]:Cn&&!St&&!st},(An=Lt.classNames)===null||An===void 0?void 0:An.header,sn==null?void 0:sn.header)},y.createElement("div",{className:`${gt}-header-title`},ut,St&&y.createElement("div",{className:`${gt}-title`},St)),st&&y.createElement("div",{className:`${gt}-extra`},st))},[Cn,ut,st,yn,gt,St]),wt=y.useMemo(()=>{var cn,An;if(!_e)return null;const Kn=`${gt}-footer`;return y.createElement("div",{className:he()(Kn,(cn=Lt.classNames)===null||cn===void 0?void 0:cn.footer,sn==null?void 0:sn.footer),style:Object.assign(Object.assign(Object.assign({},(An=Lt.styles)===null||An===void 0?void 0:An.footer),Vt),bt==null?void 0:bt.footer)},_e)},[_e,Vt,gt]);return y.createElement(y.Fragment,null,kt,y.createElement("div",{className:he()(`${gt}-body`,sn==null?void 0:sn.body,(tt=Lt.classNames)===null||tt===void 0?void 0:tt.body),style:Object.assign(Object.assign(Object.assign({},(dt=Lt.styles)===null||dt===void 0?void 0:dt.body),tn),bt==null?void 0:bt.body)},en?y.createElement(Be.Z,{active:!0,title:!1,paragraph:{rows:5},className:`${gt}-body-skeleton`}):Qt),wt)},lt=E(36237),Se=E(63356),Re=E(16931),at=E(51636);const jt=et=>{const tt="100%";return{left:`translateX(-${tt})`,right:`translateX(${tt})`,top:`translateY(-${tt})`,bottom:`translateY(${tt})`}[et]},ft=(et,tt)=>({"&-enter, &-appear":Object.assign(Object.assign({},et),{"&-active":tt}),"&-leave":Object.assign(Object.assign({},tt),{"&-active":et})}),Wt=(et,tt)=>Object.assign({"&-enter, &-appear, &-leave":{"&-start":{transition:"none"},"&-active":{transition:`all ${tt}`}}},ft({opacity:et},{opacity:1})),xt=(et,tt)=>[Wt(.7,tt),ft({transform:jt(et)},{transform:"none"})];var Rt=et=>{const{componentCls:tt,motionDurationSlow:dt}=et;return{[tt]:{[`${tt}-mask-motion`]:Wt(0,dt),[`${tt}-panel-motion`]:["left","right","top","bottom"].reduce((gt,St)=>Object.assign(Object.assign({},gt),{[`&-${St}`]:xt(St,dt)}),{})}}};const ce=et=>{const{borderRadiusSM:tt,componentCls:dt,zIndexPopup:gt,colorBgMask:St,colorBgElevated:_e,motionDurationSlow:st,motionDurationMid:en,paddingXS:Ut,padding:yn,paddingLG:tn,fontSizeLG:Vt,lineHeightLG:Qt,lineWidth:sn,lineType:bt,colorSplit:Lt,marginXS:un,colorIcon:Cn,colorIconHover:ut,colorBgTextHover:kt,colorBgTextActive:wt,colorText:cn,fontWeightStrong:An,footerPaddingBlock:Kn,footerPaddingInline:rr,calc:sr}=et,kn=`${dt}-content-wrapper`;return{[dt]:{position:"fixed",inset:0,zIndex:gt,pointerEvents:"none",color:cn,"&-pure":{position:"relative",background:_e,display:"flex",flexDirection:"column",[`&${dt}-left`]:{boxShadow:et.boxShadowDrawerLeft},[`&${dt}-right`]:{boxShadow:et.boxShadowDrawerRight},[`&${dt}-top`]:{boxShadow:et.boxShadowDrawerUp},[`&${dt}-bottom`]:{boxShadow:et.boxShadowDrawerDown}},"&-inline":{position:"absolute"},[`${dt}-mask`]:{position:"absolute",inset:0,zIndex:gt,background:St,pointerEvents:"auto"},[kn]:{position:"absolute",zIndex:gt,maxWidth:"100vw",transition:`all ${st}`,"&-hidden":{display:"none"}},[`&-left > ${kn}`]:{top:0,bottom:0,left:{_skip_check_:!0,value:0},boxShadow:et.boxShadowDrawerLeft},[`&-right > ${kn}`]:{top:0,right:{_skip_check_:!0,value:0},bottom:0,boxShadow:et.boxShadowDrawerRight},[`&-top > ${kn}`]:{top:0,insetInline:0,boxShadow:et.boxShadowDrawerUp},[`&-bottom > ${kn}`]:{bottom:0,insetInline:0,boxShadow:et.boxShadowDrawerDown},[`${dt}-content`]:{display:"flex",flexDirection:"column",width:"100%",height:"100%",overflow:"auto",background:_e,pointerEvents:"auto"},[`${dt}-header`]:{display:"flex",flex:0,alignItems:"center",padding:`${(0,lt.unit)(yn)} ${(0,lt.unit)(tn)}`,fontSize:Vt,lineHeight:Qt,borderBottom:`${(0,lt.unit)(sn)} ${bt} ${Lt}`,"&-title":{display:"flex",flex:1,alignItems:"center",minWidth:0,minHeight:0}},[`${dt}-extra`]:{flex:"none"},[`${dt}-close`]:Object.assign({display:"inline-flex",width:sr(Vt).add(Ut).equal(),height:sr(Vt).add(Ut).equal(),borderRadius:tt,justifyContent:"center",alignItems:"center",marginInlineEnd:un,color:Cn,fontWeight:An,fontSize:Vt,fontStyle:"normal",lineHeight:1,textAlign:"center",textTransform:"none",textDecoration:"none",background:"transparent",border:0,cursor:"pointer",transition:`all ${en}`,textRendering:"auto","&:hover":{color:ut,backgroundColor:kt,textDecoration:"none"},"&:active":{backgroundColor:wt}},(0,Se.Qy)(et)),[`${dt}-title`]:{flex:1,margin:0,fontWeight:et.fontWeightStrong,fontSize:Vt,lineHeight:Qt},[`${dt}-body`]:{flex:1,minWidth:0,minHeight:0,padding:tn,overflow:"auto",[`${dt}-body-skeleton`]:{width:"100%",height:"100%",display:"flex",justifyContent:"center"}},[`${dt}-footer`]:{flexShrink:0,padding:`${(0,lt.unit)(Kn)} ${(0,lt.unit)(rr)}`,borderTop:`${(0,lt.unit)(sn)} ${bt} ${Lt}`},"&-rtl":{direction:"rtl"}}}},ne=et=>({zIndexPopup:et.zIndexPopupBase,footerPaddingBlock:et.paddingXS,footerPaddingInline:et.padding});var te=(0,Re.I$)("Drawer",et=>{const tt=(0,at.mergeToken)(et,{});return[ce(tt),Rt(tt)]},ne),le=function(et,tt){var dt={};for(var gt in et)Object.prototype.hasOwnProperty.call(et,gt)&&tt.indexOf(gt)<0&&(dt[gt]=et[gt]);if(et!=null&&typeof Object.getOwnPropertySymbols=="function")for(var St=0,gt=Object.getOwnPropertySymbols(et);St<gt.length;St++)tt.indexOf(gt[St])<0&&Object.prototype.propertyIsEnumerable.call(et,gt[St])&&(dt[gt[St]]=et[gt[St]]);return dt};const ve=null,re={distance:180},de=et=>{var tt;const{rootClassName:dt,width:gt,height:St,size:_e="default",mask:st=!0,push:en=re,open:Ut,afterOpenChange:yn,onClose:tn,prefixCls:Vt,getContainer:Qt,style:sn,className:bt,visible:Lt,afterVisibleChange:un,maskStyle:Cn,drawerStyle:ut,contentWrapperStyle:kt}=et,wt=le(et,["rootClassName","width","height","size","mask","push","open","afterOpenChange","onClose","prefixCls","getContainer","style","className","visible","afterVisibleChange","maskStyle","drawerStyle","contentWrapperStyle"]),{getPopupContainer:cn,getPrefixCls:An,direction:Kn,className:rr,style:sr,classNames:kn,styles:Jn}=(0,Ct.dj)("drawer"),zt=An("drawer",Vt),[mn,an,ln]=te(zt),qt=Qt===void 0&&cn?()=>cn(document.body):Qt,xn=he()({"no-mask":!st,[`${zt}-rtl`]:Kn==="rtl"},dt,an,ln),En=y.useMemo(()=>gt!=null?gt:_e==="large"?736:378,[gt,_e]),_n=y.useMemo(()=>St!=null?St:_e==="large"?736:378,[St,_e]),$n={motionName:(0,qe.m)(zt,"mask-motion"),motionAppear:!0,motionEnter:!0,motionLeave:!0,motionDeadline:500},Yn=Bn=>({motionName:(0,qe.m)(zt,`panel-motion-${Bn}`),motionAppear:!0,motionEnter:!0,motionLeave:!0,motionDeadline:500}),Gn=(0,Yt.H)(),[Qn,nr]=(0,pe.Cn)("Drawer",wt.zIndex),{classNames:Rr={},styles:Ir={}}=wt;return mn(y.createElement(Le.Z,{form:!0,space:!0},y.createElement(Xe.Z.Provider,{value:nr},y.createElement(it,Object.assign({prefixCls:zt,onClose:tn,maskMotion:$n,motion:Yn},wt,{classNames:{mask:he()(Rr.mask,kn.mask),content:he()(Rr.content,kn.content),wrapper:he()(Rr.wrapper,kn.wrapper)},styles:{mask:Object.assign(Object.assign(Object.assign({},Ir.mask),Cn),Jn.mask),content:Object.assign(Object.assign(Object.assign({},Ir.content),ut),Jn.content),wrapper:Object.assign(Object.assign(Object.assign({},Ir.wrapper),kt),Jn.wrapper)},open:Ut!=null?Ut:Lt,mask:st,push:en,width:En,height:_n,style:Object.assign(Object.assign({},sr),sn),className:he()(rr,bt),rootClassName:xn,getContainer:qt,afterOpenChange:yn!=null?yn:un,panelRef:Gn,zIndex:Qn}),y.createElement(Zt,Object.assign({prefixCls:zt},wt,{onClose:tn}))))))},Ue=et=>{const{prefixCls:tt,style:dt,className:gt,placement:St="right"}=et,_e=le(et,["prefixCls","style","className","placement"]),{getPrefixCls:st}=y.useContext(Ct.E_),en=st("drawer",tt),[Ut,yn,tn]=te(en),Vt=he()(en,`${en}-pure`,`${en}-${St}`,yn,tn,gt);return Ut(y.createElement("div",{className:Vt,style:dt},y.createElement(Zt,Object.assign({prefixCls:en},_e))))};de._InternalPanelDoNotUseOrYouWillBeFired=Ue;var pt=de},19563:function(dn,yt,E){"use strict";E.d(yt,{Z:function(){return lt}});var y=E(59301),xe=E(33853),he=E(38819),je=E(92310),be=E.n(je),De=E(96478),ye=E(6089),ze=E(18929),we=E(2738),se=E(75030),fe=Se=>typeof Se!="object"&&typeof Se!="function"||Se===null,ke=E(52838),Ae=E(45915),Ce=E(22703),me=E(32383),ue=E(55743),Me=E(48755),Ze=E(83397),Qe=E(93041),oe=E(78857),Fe=E(57700),rt=E(36237),Ne=E(63356),Ge=E(46e3),ge=E(93873),Oe=E(34925),Ve=E(37645),Pe=E(36305),it=E(16931),Le=E(51636),qe=Se=>{const{componentCls:Re,menuCls:at,colorError:jt,colorTextLightSolid:ft}=Se,Wt=`${at}-item`;return{[`${Re}, ${Re}-menu-submenu`]:{[`${at} ${Wt}`]:{[`&${Wt}-danger:not(${Wt}-disabled)`]:{color:jt,"&:hover":{color:ft,backgroundColor:jt}}}}}};const Xe=Se=>{const{componentCls:Re,menuCls:at,zIndexPopup:jt,dropdownArrowDistance:ft,sizePopupArrow:Wt,antCls:xt,iconCls:$t,motionDurationMid:Rt,paddingBlock:ce,fontSize:ne,dropdownEdgeChildPadding:te,colorTextDisabled:le,fontSizeIcon:ve,controlPaddingHorizontal:re,colorBgElevated:de}=Se;return[{[Re]:{position:"absolute",top:-9999,left:{_skip_check_:!0,value:-9999},zIndex:jt,display:"block","&::before":{position:"absolute",insetBlock:Se.calc(Wt).div(2).sub(ft).equal(),zIndex:-9999,opacity:1e-4,content:'""'},"&-menu-vertical":{maxHeight:"100vh",overflowY:"auto"},[`&-trigger${xt}-btn`]:{[`& > ${$t}-down, & > ${xt}-btn-icon > ${$t}-down`]:{fontSize:ve}},[`${Re}-wrap`]:{position:"relative",[`${xt}-btn > ${$t}-down`]:{fontSize:ve},[`${$t}-down::before`]:{transition:`transform ${Rt}`}},[`${Re}-wrap-open`]:{[`${$t}-down::before`]:{transform:"rotate(180deg)"}},"\n &-hidden,\n &-menu-hidden,\n &-menu-submenu-hidden\n ":{display:"none"},[`&${xt}-slide-down-enter${xt}-slide-down-enter-active${Re}-placement-bottomLeft,
&${xt}-slide-down-appear${xt}-slide-down-appear-active${Re}-placement-bottomLeft,
&${xt}-slide-down-enter${xt}-slide-down-enter-active${Re}-placement-bottom,
&${xt}-slide-down-appear${xt}-slide-down-appear-active${Re}-placement-bottom,
&${xt}-slide-down-enter${xt}-slide-down-enter-active${Re}-placement-bottomRight,
&${xt}-slide-down-appear${xt}-slide-down-appear-active${Re}-placement-bottomRight`]:{animationName:Ge.fJ},[`&${xt}-slide-up-enter${xt}-slide-up-enter-active${Re}-placement-topLeft,
&${xt}-slide-up-appear${xt}-slide-up-appear-active${Re}-placement-topLeft,
&${xt}-slide-up-enter${xt}-slide-up-enter-active${Re}-placement-top,
&${xt}-slide-up-appear${xt}-slide-up-appear-active${Re}-placement-top,
&${xt}-slide-up-enter${xt}-slide-up-enter-active${Re}-placement-topRight,
&${xt}-slide-up-appear${xt}-slide-up-appear-active${Re}-placement-topRight`]:{animationName:Ge.Qt},[`&${xt}-slide-down-leave${xt}-slide-down-leave-active${Re}-placement-bottomLeft,
&${xt}-slide-down-leave${xt}-slide-down-leave-active${Re}-placement-bottom,
&${xt}-slide-down-leave${xt}-slide-down-leave-active${Re}-placement-bottomRight`]:{animationName:Ge.Uw},[`&${xt}-slide-up-leave${xt}-slide-up-leave-active${Re}-placement-topLeft,
&${xt}-slide-up-leave${xt}-slide-up-leave-active${Re}-placement-top,
&${xt}-slide-up-leave${xt}-slide-up-leave-active${Re}-placement-topRight`]:{animationName:Ge.ly}}},(0,Ve.ZP)(Se,de,{arrowPlacement:{top:!0,bottom:!0}}),{[`${Re} ${at}`]:{position:"relative",margin:0},[`${at}-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,Ne.Wf)(Se)),{[at]:Object.assign(Object.assign({padding:te,listStyleType:"none",backgroundColor:de,backgroundClip:"padding-box",borderRadius:Se.borderRadiusLG,outline:"none",boxShadow:Se.boxShadowSecondary},(0,Ne.Qy)(Se)),{"&:empty":{padding:0,boxShadow:"none"},[`${at}-item-group-title`]:{padding:`${(0,rt.unit)(ce)} ${(0,rt.unit)(re)}`,color:Se.colorTextDescription,transition:`all ${Rt}`},[`${at}-item`]:{position:"relative",display:"flex",alignItems:"center"},[`${at}-item-icon`]:{minWidth:ne,marginInlineEnd:Se.marginXS,fontSize:Se.fontSizeSM},[`${at}-title-content`]:{flex:"auto","&-with-extra":{display:"inline-flex",alignItems:"center",width:"100%"},"> a":{color:"inherit",transition:`all ${Rt}`,"&:hover":{color:"inherit"},"&::after":{position:"absolute",inset:0,content:'""'}},[`${at}-item-extra`]:{paddingInlineStart:Se.padding,marginInlineStart:"auto",fontSize:Se.fontSizeSM,color:Se.colorTextDescription}},[`${at}-item, ${at}-submenu-title`]:Object.assign(Object.assign({display:"flex",margin:0,padding:`${(0,rt.unit)(ce)} ${(0,rt.unit)(re)}`,color:Se.colorText,fontWeight:"normal",fontSize:ne,lineHeight:Se.lineHeight,cursor:"pointer",transition:`all ${Rt}`,borderRadius:Se.borderRadiusSM,"&:hover, &-active":{backgroundColor:Se.controlItemBgHover}},(0,Ne.Qy)(Se)),{"&-selected":{color:Se.colorPrimary,backgroundColor:Se.controlItemBgActive,"&:hover, &-active":{backgroundColor:Se.controlItemBgActiveHover}},"&-disabled":{color:le,cursor:"not-allowed","&:hover":{color:le,backgroundColor:de,cursor:"not-allowed"},a:{pointerEvents:"none"}},"&-divider":{height:1,margin:`${(0,rt.unit)(Se.marginXXS)} 0`,overflow:"hidden",lineHeight:0,backgroundColor:Se.colorSplit},[`${Re}-menu-submenu-expand-icon`]:{position:"absolute",insetInlineEnd:Se.paddingXS,[`${Re}-menu-submenu-arrow-icon`]:{marginInlineEnd:"0 !important",color:Se.colorTextDescription,fontSize:ve,fontStyle:"normal"}}}),[`${at}-item-group-list`]:{margin:`0 ${(0,rt.unit)(Se.marginXS)}`,padding:0,listStyle:"none"},[`${at}-submenu-title`]:{paddingInlineEnd:Se.calc(re).add(Se.fontSizeSM).equal()},[`${at}-submenu-vertical`]:{position:"relative"},[`${at}-submenu${at}-submenu-disabled ${Re}-menu-submenu-title`]:{[`&, ${Re}-menu-submenu-arrow-icon`]:{color:le,backgroundColor:de,cursor:"not-allowed"}},[`${at}-submenu-selected ${Re}-menu-submenu-title`]:{color:Se.colorPrimary}})})},[(0,Ge.oN)(Se,"slide-up"),(0,Ge.oN)(Se,"slide-down"),(0,ge.Fm)(Se,"move-up"),(0,ge.Fm)(Se,"move-down"),(0,Oe._y)(Se,"zoom-big")]]},Ct=Se=>Object.assign(Object.assign({zIndexPopup:Se.zIndexPopupBase+50,paddingBlock:(Se.controlHeight-Se.fontSize*Se.lineHeight)/2},(0,Ve.wZ)({contentRadius:Se.borderRadiusLG,limitVerticalRadius:!0})),(0,Pe.w)(Se));var Yt=(0,it.I$)("Dropdown",Se=>{const{marginXXS:Re,sizePopupArrow:at,paddingXXS:jt,componentCls:ft}=Se,Wt=(0,Le.mergeToken)(Se,{menuCls:`${ft}-menu`,dropdownArrowDistance:Se.calc(at).div(2).add(Re).equal(),dropdownEdgeChildPadding:jt});return[Xe(Wt),qe(Wt)]},Ct,{resetStyle:!1});const We=null,Be=Se=>{var Re;const{menu:at,arrow:jt,prefixCls:ft,children:Wt,trigger:xt,disabled:$t,dropdownRender:Rt,getPopupContainer:ce,overlayClassName:ne,rootClassName:te,overlayStyle:le,open:ve,onOpenChange:re,visible:de,onVisibleChange:Ue,mouseEnterDelay:pt=.15,mouseLeaveDelay:et=.1,autoAdjustOverflow:tt=!0,placement:dt="",overlay:gt,transitionName:St}=Se,{getPopupContainer:_e,getPrefixCls:st,direction:en,dropdown:Ut}=y.useContext(Me.E_),yn=(0,me.ln)("Dropdown"),tn=y.useMemo(()=>{const qt=st();return St!==void 0?St:dt.includes("top")?`${qt}-slide-down`:`${qt}-slide-up`},[st,dt,St]),Vt=y.useMemo(()=>dt?dt.includes("Center")?dt.slice(0,dt.indexOf("Center")):dt:en==="rtl"?"bottomRight":"bottomLeft",[dt,en]),Qt=st("dropdown",ft),sn=(0,Ze.Z)(Qt),[bt,Lt,un]=Yt(Qt,sn),[,Cn]=(0,Fe.ZP)(),ut=y.Children.only(fe(Wt)?y.createElement("span",null,Wt):Wt),kt=(0,Ce.Tm)(ut,{className:be()(`${Qt}-trigger`,{[`${Qt}-rtl`]:en==="rtl"},ut.props.className),disabled:(Re=ut.props.disabled)!==null&&Re!==void 0?Re:$t}),wt=$t?[]:xt,cn=!!(wt!=null&&wt.includes("contextMenu")),[An,Kn]=(0,ze.Z)(!1,{value:ve!=null?ve:de}),rr=(0,ye.Z)(qt=>{re==null||re(qt,{source:"trigger"}),Ue==null||Ue(qt),Kn(qt)}),sr=be()(ne,te,Lt,un,sn,Ut==null?void 0:Ut.className,{[`${Qt}-rtl`]:en==="rtl"}),kn=(0,ke.Z)({arrowPointAtCenter:typeof jt=="object"&&jt.pointAtCenter,autoAdjustOverflow:tt,offset:Cn.marginXXS,arrowWidth:jt?Cn.sizePopupArrow:0,borderRadius:Cn.borderRadius}),Jn=y.useCallback(()=>{at!=null&&at.selectable&&(at!=null&&at.multiple)||(re==null||re(!1,{source:"menu"}),Kn(!1))},[at==null?void 0:at.selectable,at==null?void 0:at.multiple]),zt=()=>{let qt;return at!=null&&at.items?qt=y.createElement(Qe.default,Object.assign({},at)):typeof gt=="function"?qt=gt():qt=gt,Rt&&(qt=Rt(qt)),qt=y.Children.only(typeof qt=="string"?y.createElement("span",null,qt):qt),y.createElement(oe.J,{prefixCls:`${Qt}-menu`,rootClassName:be()(un,sn),expandIcon:y.createElement("span",{className:`${Qt}-menu-submenu-arrow`},en==="rtl"?y.createElement(xe.Z,{className:`${Qt}-menu-submenu-arrow-icon`}):y.createElement(he.Z,{className:`${Qt}-menu-submenu-arrow-icon`})),mode:"vertical",selectable:!1,onClick:Jn,validator:xn=>{let{mode:En}=xn}},qt)},[mn,an]=(0,se.Cn)("Dropdown",le==null?void 0:le.zIndex);let ln=y.createElement(De.Z,Object.assign({alignPoint:cn},(0,we.Z)(Se,["rootClassName"]),{mouseEnterDelay:pt,mouseLeaveDelay:et,visible:An,builtinPlacements:kn,arrow:!!jt,overlayClassName:sr,prefixCls:Qt,getPopupContainer:ce||_e,transitionName:tn,trigger:wt,overlay:zt,placement:Vt,onVisibleChange:rr,overlayStyle:Object.assign(Object.assign(Object.assign({},Ut==null?void 0:Ut.style),le),{zIndex:mn})}),kt);return mn&&(ln=y.createElement(ue.Z.Provider,{value:an},ln)),bt(ln)},Dt=(0,Ae.Z)(Be,"align",void 0,"dropdown",Se=>Se),Zt=Se=>y.createElement(Dt,Object.assign({},Se),y.createElement("span",null));Be._InternalPanelDoNotUseOrYouWillBeFired=Zt;var lt=Be},75727:function(dn,yt,E){"use strict";E.d(yt,{Z:function(){return Ae}});var y=E(19563),xe=E(59301),he=E(18785),je=E(92310),be=E.n(je),De=E(7939),ye=E(48755),ze=E(44104),we=E(70045),se=function(Ce,me){var ue={};for(var Me in Ce)Object.prototype.hasOwnProperty.call(Ce,Me)&&me.indexOf(Me)<0&&(ue[Me]=Ce[Me]);if(Ce!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Ze=0,Me=Object.getOwnPropertySymbols(Ce);Ze<Me.length;Ze++)me.indexOf(Me[Ze])<0&&Object.prototype.propertyIsEnumerable.call(Ce,Me[Ze])&&(ue[Me[Ze]]=Ce[Me[Ze]]);return ue};const Ye=Ce=>{const{getPopupContainer:me,getPrefixCls:ue,direction:Me}=xe.useContext(ye.E_),{prefixCls:Ze,type:Qe="default",danger:oe,disabled:Fe,loading:rt,onClick:Ne,htmlType:Ge,children:ge,className:Oe,menu:Ve,arrow:Pe,autoFocus:it,overlay:Le,trigger:pe,align:qe,open:Xe,onOpenChange:Ct,placement:Yt,getPopupContainer:We,href:Be,icon:Dt=xe.createElement(he.Z,null),title:Zt,buttonsRender:lt=pt=>pt,mouseEnterDelay:Se,mouseLeaveDelay:Re,overlayClassName:at,overlayStyle:jt,destroyPopupOnHide:ft,dropdownRender:Wt}=Ce,xt=se(Ce,["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"]),$t=ue("dropdown",Ze),Rt=`${$t}-button`,ce={menu:Ve,arrow:Pe,autoFocus:it,align:qe,disabled:Fe,trigger:Fe?[]:pe,onOpenChange:Ct,getPopupContainer:We||me,mouseEnterDelay:Se,mouseLeaveDelay:Re,overlayClassName:at,overlayStyle:jt,destroyPopupOnHide:ft,dropdownRender:Wt},{compactSize:ne,compactItemClassnames:te}=(0,we.ri)($t,Me),le=be()(Rt,te,Oe);"overlay"in Ce&&(ce.overlay=Le),"open"in Ce&&(ce.open=Xe),"placement"in Ce?ce.placement=Yt:ce.placement=Me==="rtl"?"bottomLeft":"bottomRight";const ve=xe.createElement(De.ZP,{type:Qe,danger:oe,disabled:Fe,loading:rt,onClick:Ne,htmlType:Ge,href:Be,title:Zt},ge),re=xe.createElement(De.ZP,{type:Qe,danger:oe,icon:Dt}),[de,Ue]=lt([ve,re]);return xe.createElement(ze.Z.Compact,Object.assign({className:le,size:ne,block:!0},xt),de,xe.createElement(y.Z,Object.assign({},ce),Ue))};Ye.__ANT_BUTTON=!0;var fe=Ye;const ke=y.Z;ke.Button=fe;var Ae=ke},584:function(dn,yt,E){"use strict";E.d(yt,{Z:function(){return Qe}});var y=E(59301),xe=E(92310),he=E.n(xe),je=E(9017),be=E(17835),De=E(57700),ze=()=>{const[,oe]=(0,De.ZP)(),[Fe]=(0,je.Z)("Empty"),Ne=new be.FastColor(oe.colorBgBase).toHsl().l<.5?{opacity:.65}:{};return y.createElement("svg",{style:Ne,width:"184",height:"152",viewBox:"0 0 184 152",xmlns:"http://www.w3.org/2000/svg"},y.createElement("title",null,(Fe==null?void 0:Fe.description)||"Empty"),y.createElement("g",{fill:"none",fillRule:"evenodd"},y.createElement("g",{transform:"translate(24 31.67)"},y.createElement("ellipse",{fillOpacity:".8",fill:"#F5F5F7",cx:"67.797",cy:"106.89",rx:"67.797",ry:"12.668"}),y.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"}),y.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)"}),y.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"}),y.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"})),y.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"}),y.createElement("g",{transform:"translate(149.65 15.383)",fill:"#FFF"},y.createElement("ellipse",{cx:"20.654",cy:"3.167",rx:"2.849",ry:"2.815"}),y.createElement("path",{d:"M5.698 5.63H0L2.898.704zM9.259.704h4.985V5.63H9.259z"}))))},se=()=>{const[,oe]=(0,De.ZP)(),[Fe]=(0,je.Z)("Empty"),{colorFill:rt,colorFillTertiary:Ne,colorFillQuaternary:Ge,colorBgContainer:ge}=oe,{borderColor:Oe,shadowColor:Ve,contentColor:Pe}=(0,y.useMemo)(()=>({borderColor:new be.FastColor(rt).onBackground(ge).toHexString(),shadowColor:new be.FastColor(Ne).onBackground(ge).toHexString(),contentColor:new be.FastColor(Ge).onBackground(ge).toHexString()}),[rt,Ne,Ge,ge]);return y.createElement("svg",{width:"64",height:"41",viewBox:"0 0 64 41",xmlns:"http://www.w3.org/2000/svg"},y.createElement("title",null,(Fe==null?void 0:Fe.description)||"Empty"),y.createElement("g",{transform:"translate(0 1)",fill:"none",fillRule:"evenodd"},y.createElement("ellipse",{fill:Ve,cx:"32",cy:"33",rx:"32",ry:"7"}),y.createElement("g",{fillRule:"nonzero",stroke:Oe},y.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"}),y.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:Pe}))))},Ye=E(16931),fe=E(51636);const ke=oe=>{const{componentCls:Fe,margin:rt,marginXS:Ne,marginXL:Ge,fontSize:ge,lineHeight:Oe}=oe;return{[Fe]:{marginInline:Ne,fontSize:ge,lineHeight:Oe,textAlign:"center",[`${Fe}-image`]:{height:oe.emptyImgHeight,marginBottom:Ne,opacity:oe.opacityImage,img:{height:"100%"},svg:{maxWidth:"100%",height:"100%",margin:"auto"}},[`${Fe}-description`]:{color:oe.colorTextDescription},[`${Fe}-footer`]:{marginTop:rt},"&-normal":{marginBlock:Ge,color:oe.colorTextDescription,[`${Fe}-description`]:{color:oe.colorTextDescription},[`${Fe}-image`]:{height:oe.emptyImgHeightMD}},"&-small":{marginBlock:Ne,color:oe.colorTextDescription,[`${Fe}-image`]:{height:oe.emptyImgHeightSM}}}}};var Ae=(0,Ye.I$)("Empty",oe=>{const{componentCls:Fe,controlHeightLG:rt,calc:Ne}=oe,Ge=(0,fe.mergeToken)(oe,{emptyImgCls:`${Fe}-img`,emptyImgHeight:Ne(rt).mul(2.5).equal(),emptyImgHeightMD:rt,emptyImgHeightSM:Ne(rt).mul(.875).equal()});return[ke(Ge)]}),Ce=E(48755),me=function(oe,Fe){var rt={};for(var Ne in oe)Object.prototype.hasOwnProperty.call(oe,Ne)&&Fe.indexOf(Ne)<0&&(rt[Ne]=oe[Ne]);if(oe!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Ge=0,Ne=Object.getOwnPropertySymbols(oe);Ge<Ne.length;Ge++)Fe.indexOf(Ne[Ge])<0&&Object.prototype.propertyIsEnumerable.call(oe,Ne[Ge])&&(rt[Ne[Ge]]=oe[Ne[Ge]]);return rt};const ue=y.createElement(ze,null),Me=y.createElement(se,null),Ze=oe=>{const{className:Fe,rootClassName:rt,prefixCls:Ne,image:Ge=ue,description:ge,children:Oe,imageStyle:Ve,style:Pe,classNames:it,styles:Le}=oe,pe=me(oe,["className","rootClassName","prefixCls","image","description","children","imageStyle","style","classNames","styles"]),{getPrefixCls:qe,direction:Xe,className:Ct,style:Yt,classNames:We,styles:Be}=(0,Ce.dj)("empty"),Dt=qe("empty",Ne),[Zt,lt,Se]=Ae(Dt),[Re]=(0,je.Z)("Empty"),at=typeof ge!="undefined"?ge:Re==null?void 0:Re.description,jt=typeof at=="string"?at:"empty";let ft=null;return typeof Ge=="string"?ft=y.createElement("img",{alt:jt,src:Ge}):ft=Ge,Zt(y.createElement("div",Object.assign({className:he()(lt,Se,Dt,Ct,{[`${Dt}-normal`]:Ge===Me,[`${Dt}-rtl`]:Xe==="rtl"},Fe,rt,We.root,it==null?void 0:it.root),style:Object.assign(Object.assign(Object.assign(Object.assign({},Be.root),Yt),Le==null?void 0:Le.root),Pe)},pe),y.createElement("div",{className:he()(`${Dt}-image`,We.image,it==null?void 0:it.image),style:Object.assign(Object.assign(Object.assign({},Ve),Be.image),Le==null?void 0:Le.image)},ft),at&&y.createElement("div",{className:he()(`${Dt}-description`,We.description,it==null?void 0:it.description),style:Object.assign(Object.assign({},Be.description),Le==null?void 0:Le.description)},at),Oe&&y.createElement("div",{className:he()(`${Dt}-footer`,We.footer,it==null?void 0:it.footer),style:Object.assign(Object.assign({},Be.footer),Le==null?void 0:Le.footer)},Oe)))};Ze.PRESENTED_IMAGE_DEFAULT=ue,Ze.PRESENTED_IMAGE_SIMPLE=Me;var Qe=Ze},28284:function(dn,yt,E){"use strict";E.d(yt,{default:function(){return Jt}});var y=E(56553),xe=E(94480),he=E(59301),je=E(92310),be=E.n(je),De=E(77900),ye=E(86641),ze=E(83397);function we(vt){const[Tt,Et]=he.useState(vt);return he.useEffect(()=>{const Ht=setTimeout(()=>{Et(vt)},vt.length?0:10);return()=>{clearTimeout(Ht)}},[vt]),Tt}var se=E(36237),Ye=E(63356),fe=E(34925),ke=E(34961),Ae=E(51636),Ce=E(16931),ue=vt=>{const{componentCls:Tt}=vt,Et=`${Tt}-show-help`,Ht=`${Tt}-show-help-item`;return{[Et]:{transition:`opacity ${vt.motionDurationFast} ${vt.motionEaseInOut}`,"&-appear, &-enter":{opacity:0,"&-active":{opacity:1}},"&-leave":{opacity:1,"&-active":{opacity:0}},[Ht]:{overflow:"hidden",transition:`height ${vt.motionDurationFast} ${vt.motionEaseInOut},
opacity ${vt.motionDurationFast} ${vt.motionEaseInOut},
transform ${vt.motionDurationFast} ${vt.motionEaseInOut} !important`,[`&${Ht}-appear, &${Ht}-enter`]:{transform:"translateY(-5px)",opacity:0,"&-active":{transform:"translateY(0)",opacity:1}},[`&${Ht}-leave-active`]:{transform:"translateY(-5px)"}}}}};const Me=vt=>({legend:{display:"block",width:"100%",marginBottom:vt.marginLG,padding:0,color:vt.colorTextDescription,fontSize:vt.fontSizeLG,lineHeight:"inherit",border:0,borderBottom:`${(0,se.unit)(vt.lineWidth)} ${vt.lineType} ${vt.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,se.unit)(vt.controlOutlineWidth)} ${vt.controlOutline}`},output:{display:"block",paddingTop:15,color:vt.colorText,fontSize:vt.fontSize,lineHeight:vt.lineHeight}}),Ze=(vt,Tt)=>{const{formItemCls:Et}=vt;return{[Et]:{[`${Et}-label > label`]:{height:Tt},[`${Et}-control-input`]:{minHeight:Tt}}}},Qe=vt=>{const{componentCls:Tt}=vt;return{[vt.componentCls]:Object.assign(Object.assign(Object.assign({},(0,Ye.Wf)(vt)),Me(vt)),{[`${Tt}-text`]:{display:"inline-block",paddingInlineEnd:vt.paddingSM},"&-small":Object.assign({},Ze(vt,vt.controlHeightSM)),"&-large":Object.assign({},Ze(vt,vt.controlHeightLG))})}},oe=vt=>{const{formItemCls:Tt,iconCls:Et,rootPrefixCls:Ht,antCls:ot,labelRequiredMarkColor:Xt,labelColor:nn,labelFontSize:Kt,labelHeight:nt,labelColonMarginInlineStart:Bt,labelColonMarginInlineEnd:It,itemMarginBottom:_t}=vt;return{[Tt]:Object.assign(Object.assign({},(0,Ye.Wf)(vt)),{marginBottom:_t,verticalAlign:"top","&-with-help":{transition:"none"},[`&-hidden,
&-hidden${ot}-row`]:{display:"none"},"&-has-warning":{[`${Tt}-split`]:{color:vt.colorError}},"&-has-error":{[`${Tt}-split`]:{color:vt.colorWarning}},[`${Tt}-label`]:{flexGrow:0,overflow:"hidden",whiteSpace:"nowrap",textAlign:"end",verticalAlign:"middle","&-left":{textAlign:"start"},"&-wrap":{overflow:"unset",lineHeight:vt.lineHeight,whiteSpace:"unset"},"> label":{position:"relative",display:"inline-flex",alignItems:"center",maxWidth:"100%",height:nt,color:nn,fontSize:Kt,[`> ${Et}`]:{fontSize:vt.fontSize,verticalAlign:"top"},[`&${Tt}-required`]:{"&::before":{display:"inline-block",marginInlineEnd:vt.marginXXS,color:Xt,fontSize:vt.fontSize,fontFamily:"SimSun, sans-serif",lineHeight:1,content:'"*"'},[`&${Tt}-required-mark-hidden, &${Tt}-required-mark-optional`]:{"&::before":{display:"none"}}},[`${Tt}-optional`]:{display:"inline-block",marginInlineStart:vt.marginXXS,color:vt.colorTextDescription,[`&${Tt}-required-mark-hidden`]:{display:"none"}},[`${Tt}-tooltip`]:{color:vt.colorTextDescription,cursor:"help",writingMode:"horizontal-tb",marginInlineStart:vt.marginXXS},"&::after":{content:'":"',position:"relative",marginBlock:0,marginInlineStart:Bt,marginInlineEnd:It},[`&${Tt}-no-colon::after`]:{content:'"\\a0"'}}},[`${Tt}-control`]:{"--ant-display":"flex",flexDirection:"column",flexGrow:1,[`&:first-child:not([class^="'${Ht}-col-'"]):not([class*="' ${Ht}-col-'"])`]:{width:"100%"},"&-input":{position:"relative",display:"flex",alignItems:"center",minHeight:vt.controlHeight,"&-content":{flex:"auto",maxWidth:"100%"}}},[Tt]:{"&-additional":{display:"flex",flexDirection:"column"},"&-explain, &-extra":{clear:"both",color:vt.colorTextDescription,fontSize:vt.fontSize,lineHeight:vt.lineHeight},"&-explain-connected":{width:"100%"},"&-extra":{minHeight:vt.controlHeightSM,transition:`color ${vt.motionDurationMid} ${vt.motionEaseOut}`},"&-explain":{"&-error":{color:vt.colorError},"&-warning":{color:vt.colorWarning}}},[`&-with-help ${Tt}-explain`]:{height:"auto",opacity:1},[`${Tt}-feedback-icon`]:{fontSize:vt.fontSize,textAlign:"center",visibility:"visible",animationName:fe.kr,animationDuration:vt.motionDurationMid,animationTimingFunction:vt.motionEaseOutBack,pointerEvents:"none","&-success":{color:vt.colorSuccess},"&-error":{color:vt.colorError},"&-warning":{color:vt.colorWarning},"&-validating":{color:vt.colorPrimary}}})}},Fe=(vt,Tt)=>{const{formItemCls:Et}=vt;return{[`${Tt}-horizontal`]:{[`${Et}-label`]:{flexGrow:0},[`${Et}-control`]:{flex:"1 1 0",minWidth:0},[`${Et}-label[class$='-24'], ${Et}-label[class*='-24 ']`]:{[`& + ${Et}-control`]:{minWidth:"unset"}}}}},rt=vt=>{const{componentCls:Tt,formItemCls:Et,inlineItemMarginBottom:Ht}=vt;return{[`${Tt}-inline`]:{display:"flex",flexWrap:"wrap",[Et]:{flex:"none",marginInlineEnd:vt.margin,marginBottom:Ht,"&-row":{flexWrap:"nowrap"},[`> ${Et}-label,
> ${Et}-control`]:{display:"inline-block",verticalAlign:"top"},[`> ${Et}-label`]:{flex:"none"},[`${Tt}-text`]:{display:"inline-block"},[`${Et}-has-feedback`]:{display:"inline-block"}}}}},Ne=vt=>({padding:vt.verticalLabelPadding,margin:vt.verticalLabelMargin,whiteSpace:"initial",textAlign:"start","> label":{margin:0,"&::after":{visibility:"hidden"}}}),Ge=vt=>{const{componentCls:Tt,formItemCls:Et,rootPrefixCls:Ht}=vt;return{[`${Et} ${Et}-label`]:Ne(vt),[`${Tt}:not(${Tt}-inline)`]:{[Et]:{flexWrap:"wrap",[`${Et}-label, ${Et}-control`]:{[`&:not([class*=" ${Ht}-col-xs"])`]:{flex:"0 0 100%",maxWidth:"100%"}}}}}},ge=vt=>{const{componentCls:Tt,formItemCls:Et,antCls:Ht}=vt;return{[`${Tt}-vertical`]:{[`${Et}:not(${Et}-horizontal)`]:{[`${Et}-row`]:{flexDirection:"column"},[`${Et}-label > label`]:{height:"auto"},[`${Et}-control`]:{width:"100%"},[`${Et}-label,
${Ht}-col-24${Et}-label,
${Ht}-col-xl-24${Et}-label`]:Ne(vt)}},[`@media (max-width: ${(0,se.unit)(vt.screenXSMax)})`]:[Ge(vt),{[Tt]:{[`${Et}:not(${Et}-horizontal)`]:{[`${Ht}-col-xs-24${Et}-label`]:Ne(vt)}}}],[`@media (max-width: ${(0,se.unit)(vt.screenSMMax)})`]:{[Tt]:{[`${Et}:not(${Et}-horizontal)`]:{[`${Ht}-col-sm-24${Et}-label`]:Ne(vt)}}},[`@media (max-width: ${(0,se.unit)(vt.screenMDMax)})`]:{[Tt]:{[`${Et}:not(${Et}-horizontal)`]:{[`${Ht}-col-md-24${Et}-label`]:Ne(vt)}}},[`@media (max-width: ${(0,se.unit)(vt.screenLGMax)})`]:{[Tt]:{[`${Et}:not(${Et}-horizontal)`]:{[`${Ht}-col-lg-24${Et}-label`]:Ne(vt)}}}}},Oe=vt=>{const{formItemCls:Tt,antCls:Et}=vt;return{[`${Tt}-vertical`]:{[`${Tt}-row`]:{flexDirection:"column"},[`${Tt}-label > label`]:{height:"auto"},[`${Tt}-control`]:{width:"100%"}},[`${Tt}-vertical ${Tt}-label,
${Et}-col-24${Tt}-label,
${Et}-col-xl-24${Tt}-label`]:Ne(vt),[`@media (max-width: ${(0,se.unit)(vt.screenXSMax)})`]:[Ge(vt),{[Tt]:{[`${Et}-col-xs-24${Tt}-label`]:Ne(vt)}}],[`@media (max-width: ${(0,se.unit)(vt.screenSMMax)})`]:{[Tt]:{[`${Et}-col-sm-24${Tt}-label`]:Ne(vt)}},[`@media (max-width: ${(0,se.unit)(vt.screenMDMax)})`]:{[Tt]:{[`${Et}-col-md-24${Tt}-label`]:Ne(vt)}},[`@media (max-width: ${(0,se.unit)(vt.screenLGMax)})`]:{[Tt]:{[`${Et}-col-lg-24${Tt}-label`]:Ne(vt)}}}},Ve=vt=>({labelRequiredMarkColor:vt.colorError,labelColor:vt.colorTextHeading,labelFontSize:vt.fontSize,labelHeight:vt.controlHeight,labelColonMarginInlineStart:vt.marginXXS/2,labelColonMarginInlineEnd:vt.marginXS,itemMarginBottom:vt.marginLG,verticalLabelPadding:`0 0 ${vt.paddingXS}px`,verticalLabelMargin:0,inlineItemMarginBottom:0}),Pe=(vt,Tt)=>(0,Ae.mergeToken)(vt,{formItemCls:`${vt.componentCls}-item`,rootPrefixCls:Tt});var it=(0,Ce.I$)("Form",(vt,Tt)=>{let{rootPrefixCls:Et}=Tt;const Ht=Pe(vt,Et);return[Qe(Ht),oe(Ht),ue(Ht),Fe(Ht,Ht.componentCls),Fe(Ht,Ht.formItemCls),rt(Ht),ge(Ht),Oe(Ht),(0,ke.Z)(Ht),fe.kr]},Ve,{order:-1e3});const Le=[];function pe(vt,Tt,Et){let Ht=arguments.length>3&&arguments[3]!==void 0?arguments[3]:0;return{key:typeof vt=="string"?vt:`${Tt}-${Ht}`,error:vt,errorStatus:Et}}var Xe=vt=>{let{help:Tt,helpStatus:Et,errors:Ht=Le,warnings:ot=Le,className:Xt,fieldId:nn,onVisibleChanged:Kt}=vt;const{prefixCls:nt}=he.useContext(y.Rk),Bt=`${nt}-item-explain`,It=(0,ze.Z)(nt),[_t,Ln,zn]=it(nt,It),Vn=he.useMemo(()=>(0,ye.Z)(nt),[nt]),Or=we(Ht),Hr=we(ot),to=he.useMemo(()=>Tt!=null?[pe(Tt,"help",Et)]:[].concat((0,xe.Z)(Or.map((Nr,Yr)=>pe(Nr,"error","error",Yr))),(0,xe.Z)(Hr.map((Nr,Yr)=>pe(Nr,"warning","warning",Yr)))),[Tt,Et,Or,Hr]),mr=he.useMemo(()=>{const Nr={};return to.forEach(Yr=>{let{key:ro}=Yr;Nr[ro]=(Nr[ro]||0)+1}),to.map((Yr,ro)=>Object.assign(Object.assign({},Yr),{key:Nr[Yr.key]>1?`${Yr.key}-fallback-${ro}`:Yr.key}))},[to]),Er={};return nn&&(Er.id=`${nn}_help`),_t(he.createElement(De.default,{motionDeadline:Vn.motionDeadline,motionName:`${nt}-show-help`,visible:!!mr.length,onVisibleChanged:Kt},Nr=>{const{className:Yr,style:ro}=Nr;return he.createElement("div",Object.assign({},Er,{className:be()(Bt,Yr,zn,It,Xt,Ln),style:ro}),he.createElement(De.CSSMotionList,Object.assign({keys:mr},(0,ye.Z)(nt),{motionName:`${nt}-show-help-item`,component:!1}),oo=>{const{key:ao,error:Lr,errorStatus:eo,className:$r,style:Wo}=oo;return he.createElement("div",{key:ao,className:be()($r,{[`${Bt}-${eo}`]:eo}),style:Wo},Lr)}))}))},Ct=E(22001),Yt=E(48755),We=E(2171),Be=E(31756),Dt=E(23069),Zt=E(76846),lt=E(16722);const Se=["parentNode"],Re="form_item";function at(vt){return vt===void 0||vt===!1?[]:Array.isArray(vt)?vt:[vt]}function jt(vt,Tt){if(!vt.length)return;const Et=vt.join("_");return Tt?`${Tt}_${Et}`:Se.includes(Et)?`${Re}_${Et}`:Et}function ft(vt,Tt,Et,Ht,ot,Xt){let nn=Ht;return Xt!==void 0?nn=Xt:Et.validating?nn="validating":vt.length?nn="error":Tt.length?nn="warning":(Et.touched||ot&&Et.validated)&&(nn="success"),nn}var Wt=function(vt,Tt){var Et={};for(var Ht in vt)Object.prototype.hasOwnProperty.call(vt,Ht)&&Tt.indexOf(Ht)<0&&(Et[Ht]=vt[Ht]);if(vt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var ot=0,Ht=Object.getOwnPropertySymbols(vt);ot<Ht.length;ot++)Tt.indexOf(Ht[ot])<0&&Object.prototype.propertyIsEnumerable.call(vt,Ht[ot])&&(Et[Ht[ot]]=vt[Ht[ot]]);return Et};function xt(vt){return at(vt).join("_")}function $t(vt,Tt){const Et=Tt.getFieldInstance(vt),Ht=(0,Zt.bn)(Et);if(Ht)return Ht;const ot=jt(at(vt),Tt.__INTERNAL__.name);if(ot)return document.getElementById(ot)}function Rt(vt){const[Tt]=(0,Ct.useForm)(),Et=he.useRef({}),Ht=he.useMemo(()=>vt!=null?vt:Object.assign(Object.assign({},Tt),{__INTERNAL__:{itemRef:ot=>Xt=>{const nn=xt(ot);Xt?Et.current[nn]=Xt:delete Et.current[nn]}},scrollToField:function(ot){let Xt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const{focus:nn}=Xt,Kt=Wt(Xt,["focus"]),nt=$t(ot,Ht);nt&&((0,lt.Z)(nt,Object.assign({scrollMode:"if-needed",block:"nearest"},Kt)),nn&&Ht.focusField(ot))},focusField:ot=>{var Xt,nn;const Kt=Ht.getFieldInstance(ot);typeof(Kt==null?void 0:Kt.focus)=="function"?Kt.focus():(nn=(Xt=$t(ot,Ht))===null||Xt===void 0?void 0:Xt.focus)===null||nn===void 0||nn.call(Xt)},getFieldInstance:ot=>{const Xt=xt(ot);return Et.current[Xt]}}),[vt,Tt]);return[Ht]}var ce=E(98350),ne=function(vt,Tt){var Et={};for(var Ht in vt)Object.prototype.hasOwnProperty.call(vt,Ht)&&Tt.indexOf(Ht)<0&&(Et[Ht]=vt[Ht]);if(vt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var ot=0,Ht=Object.getOwnPropertySymbols(vt);ot<Ht.length;ot++)Tt.indexOf(Ht[ot])<0&&Object.prototype.propertyIsEnumerable.call(vt,Ht[ot])&&(Et[Ht[ot]]=vt[Ht[ot]]);return Et};const te=(vt,Tt)=>{const Et=he.useContext(We.Z),{getPrefixCls:Ht,direction:ot,requiredMark:Xt,colon:nn,scrollToFirstError:Kt,className:nt,style:Bt}=(0,Yt.dj)("form"),{prefixCls:It,className:_t,rootClassName:Ln,size:zn,disabled:Vn=Et,form:Or,colon:Hr,labelAlign:to,labelWrap:mr,labelCol:Er,wrapperCol:Nr,hideRequiredMark:Yr,layout:ro="horizontal",scrollToFirstError:oo,requiredMark:ao,onFinishFailed:Lr,name:eo,style:$r,feedbackIcons:Wo,variant:Vo}=vt,ir=ne(vt,["prefixCls","className","rootClassName","size","disabled","form","colon","labelAlign","labelWrap","labelCol","wrapperCol","hideRequiredMark","layout","scrollToFirstError","requiredMark","onFinishFailed","name","style","feedbackIcons","variant"]),Ro=(0,Be.Z)(zn),ei=he.useContext(ce.Z),yo=he.useMemo(()=>ao!==void 0?ao:Yr?!1:Xt!==void 0?Xt:!0,[Yr,ao,Xt]),Zo=Hr!=null?Hr:nn,vo=Ht("form",It),ui=(0,ze.Z)(vo),[yi,$o,pi]=it(vo,ui),ki=be()(vo,`${vo}-${ro}`,{[`${vo}-hide-required-mark`]:yo===!1,[`${vo}-rtl`]:ot==="rtl",[`${vo}-${Ro}`]:Ro},pi,ui,$o,nt,_t,Ln),[Ci]=Rt(Or),{__INTERNAL__:Oi}=Ci;Oi.name=eo;const No=he.useMemo(()=>({name:eo,labelAlign:to,labelCol:Er,labelWrap:mr,wrapperCol:Nr,vertical:ro==="vertical",colon:Zo,requiredMark:yo,itemRef:Oi.itemRef,form:Ci,feedbackIcons:Wo}),[eo,to,Er,Nr,ro,Zo,yo,Ci,Wo]),Je=he.useRef(null);he.useImperativeHandle(Tt,()=>{var bn;return Object.assign(Object.assign({},Ci),{nativeElement:(bn=Je.current)===null||bn===void 0?void 0:bn.nativeElement})});const hn=(bn,er)=>{if(bn){let Rn={block:"nearest"};typeof bn=="object"&&(Rn=Object.assign(Object.assign({},Rn),bn)),Ci.scrollToField(er,Rn)}},Mt=bn=>{if(Lr==null||Lr(bn),bn.errorFields.length){const er=bn.errorFields[0].name;if(oo!==void 0){hn(oo,er);return}Kt!==void 0&&hn(Kt,er)}};return yi(he.createElement(y.pg.Provider,{value:Vo},he.createElement(We.n,{disabled:Vn},he.createElement(Dt.Z.Provider,{value:Ro},he.createElement(y.RV,{validateMessages:ei},he.createElement(y.q3.Provider,{value:No},he.createElement(Ct.default,Object.assign({id:eo},ir,{name:eo,onFinishFailed:Mt,form:Ci,ref:Je,style:Object.assign(Object.assign({},Bt),$r),className:ki}))))))))};var ve=he.forwardRef(te),re=E(41799),de=E(8654),Ue=E(22703),pt=E(32383),et=E(11592);function tt(vt){if(typeof vt=="function")return vt;const Tt=(0,et.Z)(vt);return Tt.length<=1?Tt[0]:Tt}const dt=()=>{const{status:vt,errors:Tt=[],warnings:Et=[]}=he.useContext(y.aM);return{status:vt,errors:Tt,warnings:Et}};dt.Context=y.aM;var gt=dt,St=E(16089);function _e(vt){const[Tt,Et]=he.useState(vt),Ht=he.useRef(null),ot=he.useRef([]),Xt=he.useRef(!1);he.useEffect(()=>(Xt.current=!1,()=>{Xt.current=!0,St.Z.cancel(Ht.current),Ht.current=null}),[]);function nn(Kt){Xt.current||(Ht.current===null&&(ot.current=[],Ht.current=(0,St.Z)(()=>{Ht.current=null,Et(nt=>{let Bt=nt;return ot.current.forEach(It=>{Bt=It(Bt)}),Bt})})),ot.current.push(Kt))}return[Tt,nn]}function st(){const{itemRef:vt}=he.useContext(y.q3),Tt=he.useRef({});function Et(Ht,ot){const Xt=ot&&typeof ot=="object"&&(0,de.C4)(ot),nn=Ht.join("_");return(Tt.current.name!==nn||Tt.current.originRef!==Xt)&&(Tt.current.name=nn,Tt.current.originRef=Xt,Tt.current.ref=(0,de.sQ)(vt(Ht),Xt)),Tt.current.ref}return Et}var en=E(29194),Ut=E(34280),yn=E(2738),tn=E(65970),Vt=E(70425),Qt=E(5472);const sn=vt=>{const{formItemCls:Tt}=vt;return{"@media screen and (-ms-high-contrast: active), (-ms-high-contrast: none)":{[`${Tt}-control`]:{display:"flex"}}}};var bt=(0,Ce.bk)(["Form","item-item"],(vt,Tt)=>{let{rootPrefixCls:Et}=Tt;const Ht=Pe(vt,Et);return[sn(Ht)]}),Lt=function(vt,Tt){var Et={};for(var Ht in vt)Object.prototype.hasOwnProperty.call(vt,Ht)&&Tt.indexOf(Ht)<0&&(Et[Ht]=vt[Ht]);if(vt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var ot=0,Ht=Object.getOwnPropertySymbols(vt);ot<Ht.length;ot++)Tt.indexOf(Ht[ot])<0&&Object.prototype.propertyIsEnumerable.call(vt,Ht[ot])&&(Et[Ht[ot]]=vt[Ht[ot]]);return Et};const un=24;var ut=vt=>{const{prefixCls:Tt,status:Et,labelCol:Ht,wrapperCol:ot,children:Xt,errors:nn,warnings:Kt,_internalItemRender:nt,extra:Bt,help:It,fieldId:_t,marginBottom:Ln,onErrorVisibleChanged:zn,label:Vn}=vt,Or=`${Tt}-item`,Hr=he.useContext(y.q3),to=he.useMemo(()=>{let ir=Object.assign({},ot||Hr.wrapperCol||{});return Vn===null&&!Ht&&!ot&&Hr.labelCol&&[void 0,"xs","sm","md","lg","xl","xxl"].forEach(ei=>{const yo=ei?[ei]:[],Zo=(0,Vt.U2)(Hr.labelCol,yo),vo=typeof Zo=="object"?Zo:{},ui=(0,Vt.U2)(ir,yo),yi=typeof ui=="object"?ui:{};"span"in vo&&!("offset"in yi)&&vo.span<un&&(ir=(0,Vt.t8)(ir,[].concat(yo,["offset"]),vo.span))}),ir},[ot,Hr]),mr=be()(`${Or}-control`,to.className),Er=he.useMemo(()=>{const{labelCol:ir,wrapperCol:Ro}=Hr;return Lt(Hr,["labelCol","wrapperCol"])},[Hr]),Nr=he.useRef(null),[Yr,ro]=he.useState(0);(0,Ut.Z)(()=>{Bt&&Nr.current?ro(Nr.current.clientHeight):ro(0)},[Bt]);const oo=he.createElement("div",{className:`${Or}-control-input`},he.createElement("div",{className:`${Or}-control-input-content`},Xt)),ao=he.useMemo(()=>({prefixCls:Tt,status:Et}),[Tt,Et]),Lr=Ln!==null||nn.length||Kt.length?he.createElement(y.Rk.Provider,{value:ao},he.createElement(Xe,{fieldId:_t,errors:nn,warnings:Kt,help:It,helpStatus:Et,className:`${Or}-explain-connected`,onVisibleChanged:zn})):null,eo={};_t&&(eo.id=`${_t}_extra`);const $r=Bt?he.createElement("div",Object.assign({},eo,{className:`${Or}-extra`,ref:Nr}),Bt):null,Wo=Lr||$r?he.createElement("div",{className:`${Or}-additional`,style:Ln?{minHeight:Ln+Yr}:{}},Lr,$r):null,Vo=nt&&nt.mark==="pro_table_render"&&nt.render?nt.render(vt,{input:oo,errorList:Lr,extra:$r}):he.createElement(he.Fragment,null,oo,Wo);return he.createElement(y.q3.Provider,{value:Er},he.createElement(Qt.Z,Object.assign({},to,{className:mr}),Vo),he.createElement(bt,{prefixCls:Tt}))},kt=E(61485),wt=E(9017),cn=E(85981),An=E(25399),Kn=function(vt,Tt){var Et={};for(var Ht in vt)Object.prototype.hasOwnProperty.call(vt,Ht)&&Tt.indexOf(Ht)<0&&(Et[Ht]=vt[Ht]);if(vt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var ot=0,Ht=Object.getOwnPropertySymbols(vt);ot<Ht.length;ot++)Tt.indexOf(Ht[ot])<0&&Object.prototype.propertyIsEnumerable.call(vt,Ht[ot])&&(Et[Ht[ot]]=vt[Ht[ot]]);return Et};function rr(vt){return vt?typeof vt=="object"&&!he.isValidElement(vt)?vt:{title:vt}:null}var kn=vt=>{let{prefixCls:Tt,label:Et,htmlFor:Ht,labelCol:ot,labelAlign:Xt,colon:nn,required:Kt,requiredMark:nt,tooltip:Bt,vertical:It}=vt;var _t;const[Ln]=(0,wt.Z)("Form"),{labelAlign:zn,labelCol:Vn,labelWrap:Or,colon:Hr}=he.useContext(y.q3);if(!Et)return null;const to=ot||Vn||{},mr=Xt||zn,Er=`${Tt}-item-label`,Nr=be()(Er,mr==="left"&&`${Er}-left`,to.className,{[`${Er}-wrap`]:!!Or});let Yr=Et;const ro=nn===!0||Hr!==!1&&nn!==!1;ro&&!It&&typeof Et=="string"&&Et.trim()&&(Yr=Et.replace(/[:|]\s*$/,""));const ao=rr(Bt);if(ao){const{icon:ir=he.createElement(kt.Z,null)}=ao,Ro=Kn(ao,["icon"]),ei=he.createElement(An.Z,Object.assign({},Ro),he.cloneElement(ir,{className:`${Tt}-item-tooltip`,title:"",onClick:yo=>{yo.preventDefault()},tabIndex:null}));Yr=he.createElement(he.Fragment,null,Yr,ei)}const Lr=nt==="optional",eo=typeof nt=="function",$r=nt===!1;eo?Yr=nt(Yr,{required:!!Kt}):Lr&&!Kt&&(Yr=he.createElement(he.Fragment,null,Yr,he.createElement("span",{className:`${Tt}-item-optional`,title:""},(Ln==null?void 0:Ln.optional)||((_t=cn.Z.Form)===null||_t===void 0?void 0:_t.optional))));let Wo;$r?Wo="hidden":(Lr||eo)&&(Wo="optional");const Vo=be()({[`${Tt}-item-required`]:Kt,[`${Tt}-item-required-mark-${Wo}`]:Wo,[`${Tt}-item-no-colon`]:!ro});return he.createElement(Qt.Z,Object.assign({},to,{className:Nr}),he.createElement("label",{htmlFor:Ht,className:Vo,title:typeof Et=="string"?Et:""},Yr))},Jn=E(29679),zt=E(19248),mn=E(96512),an=E(58617);const ln={success:Jn.Z,warning:mn.Z,error:zt.Z,validating:an.Z};function qt(vt){let{children:Tt,errors:Et,warnings:Ht,hasFeedback:ot,validateStatus:Xt,prefixCls:nn,meta:Kt,noStyle:nt}=vt;const Bt=`${nn}-item`,{feedbackIcons:It}=he.useContext(y.q3),_t=ft(Et,Ht,Kt,null,!!ot,Xt),{isFormItemInput:Ln,status:zn,hasFeedback:Vn,feedbackIcon:Or}=he.useContext(y.aM),Hr=he.useMemo(()=>{var to;let mr;if(ot){const Nr=ot!==!0&&ot.icons||It,Yr=_t&&((to=Nr==null?void 0:Nr({status:_t,errors:Et,warnings:Ht}))===null||to===void 0?void 0:to[_t]),ro=_t&&ln[_t];mr=Yr!==!1&&ro?he.createElement("span",{className:be()(`${Bt}-feedback-icon`,`${Bt}-feedback-icon-${_t}`)},Yr||he.createElement(ro,null)):null}const Er={status:_t||"",errors:Et,warnings:Ht,hasFeedback:!!ot,feedbackIcon:mr,isFormItemInput:!0};return nt&&(Er.status=(_t!=null?_t:zn)||"",Er.isFormItemInput=Ln,Er.hasFeedback=!!(ot!=null?ot:Vn),Er.feedbackIcon=ot!==void 0?Er.feedbackIcon:Or),Er},[_t,ot,nt,Ln,zn]);return he.createElement(y.aM.Provider,{value:Hr},Tt)}var xn=function(vt,Tt){var Et={};for(var Ht in vt)Object.prototype.hasOwnProperty.call(vt,Ht)&&Tt.indexOf(Ht)<0&&(Et[Ht]=vt[Ht]);if(vt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var ot=0,Ht=Object.getOwnPropertySymbols(vt);ot<Ht.length;ot++)Tt.indexOf(Ht[ot])<0&&Object.prototype.propertyIsEnumerable.call(vt,Ht[ot])&&(Et[Ht[ot]]=vt[Ht[ot]]);return Et};function En(vt){const{prefixCls:Tt,className:Et,rootClassName:Ht,style:ot,help:Xt,errors:nn,warnings:Kt,validateStatus:nt,meta:Bt,hasFeedback:It,hidden:_t,children:Ln,fieldId:zn,required:Vn,isRequired:Or,onSubItemMetaChange:Hr,layout:to}=vt,mr=xn(vt,["prefixCls","className","rootClassName","style","help","errors","warnings","validateStatus","meta","hasFeedback","hidden","children","fieldId","required","isRequired","onSubItemMetaChange","layout"]),Er=`${Tt}-item`,{requiredMark:Nr,vertical:Yr}=he.useContext(y.q3),ro=Yr||to==="vertical",oo=he.useRef(null),ao=we(nn),Lr=we(Kt),eo=Xt!=null,$r=!!(eo||nn.length||Kt.length),Wo=!!oo.current&&(0,en.Z)(oo.current),[Vo,ir]=he.useState(null);(0,Ut.Z)(()=>{if($r&&oo.current){const vo=getComputedStyle(oo.current);ir(parseInt(vo.marginBottom,10))}},[$r,Wo]);const Ro=vo=>{vo||ir(null)},yo=function(){let vo=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1;const ui=vo?ao:Bt.errors,yi=vo?Lr:Bt.warnings;return ft(ui,yi,Bt,"",!!It,nt)}(),Zo=be()(Er,Et,Ht,{[`${Er}-with-help`]:eo||ao.length||Lr.length,[`${Er}-has-feedback`]:yo&&It,[`${Er}-has-success`]:yo==="success",[`${Er}-has-warning`]:yo==="warning",[`${Er}-has-error`]:yo==="error",[`${Er}-is-validating`]:yo==="validating",[`${Er}-hidden`]:_t,[`${Er}-${to}`]:to});return he.createElement("div",{className:Zo,style:ot,ref:oo},he.createElement(tn.Z,Object.assign({className:`${Er}-row`},(0,yn.Z)(mr,["_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"])),he.createElement(kn,Object.assign({htmlFor:zn},vt,{requiredMark:Nr,required:Vn!=null?Vn:Or,prefixCls:Tt,vertical:ro})),he.createElement(ut,Object.assign({},vt,Bt,{errors:ao,warnings:Lr,prefixCls:Tt,status:yo,help:Xt,marginBottom:Vo,onErrorVisibleChanged:Ro}),he.createElement(y.qI.Provider,{value:Hr},he.createElement(qt,{prefixCls:Tt,meta:Bt,errors:Bt.errors,warnings:Bt.warnings,hasFeedback:It,validateStatus:yo},Ln)))),!!Vo&&he.createElement("div",{className:`${Er}-margin-offset`,style:{marginBottom:-Vo}}))}const _n="__SPLIT__",$n=null;function Yn(vt,Tt){const Et=Object.keys(vt),Ht=Object.keys(Tt);return Et.length===Ht.length&&Et.every(ot=>{const Xt=vt[ot],nn=Tt[ot];return Xt===nn||typeof Xt=="function"||typeof nn=="function"})}const Gn=he.memo(vt=>{let{children:Tt}=vt;return Tt},(vt,Tt)=>Yn(vt.control,Tt.control)&&vt.update===Tt.update&&vt.childProps.length===Tt.childProps.length&&vt.childProps.every((Et,Ht)=>Et===Tt.childProps[Ht]));function Qn(){return{errors:[],warnings:[],touched:!1,validating:!1,name:[],validated:!1}}function nr(vt){const{name:Tt,noStyle:Et,className:Ht,dependencies:ot,prefixCls:Xt,shouldUpdate:nn,rules:Kt,children:nt,required:Bt,label:It,messageVariables:_t,trigger:Ln="onChange",validateTrigger:zn,hidden:Vn,help:Or,layout:Hr}=vt,{getPrefixCls:to}=he.useContext(Yt.E_),{name:mr}=he.useContext(y.q3),Er=tt(nt),Nr=typeof Er=="function",Yr=he.useContext(y.qI),{validateTrigger:ro}=he.useContext(Ct.FieldContext),oo=zn!==void 0?zn:ro,ao=Tt!=null,Lr=to("form",Xt),eo=(0,ze.Z)(Lr),[$r,Wo,Vo]=it(Lr,eo),ir=(0,pt.ln)("Form.Item"),Ro=he.useContext(Ct.ListContext),ei=he.useRef(null),[yo,Zo]=_e({}),[vo,ui]=(0,re.Z)(()=>Qn()),yi=Je=>{const hn=Ro==null?void 0:Ro.getKey(Je.name);if(ui(Je.destroy?Qn():Je,!0),Et&&Or!==!1&&Yr){let Mt=Je.name;if(Je.destroy)Mt=ei.current||Mt;else if(hn!==void 0){const[bn,er]=hn;Mt=[bn].concat((0,xe.Z)(er)),ei.current=Mt}Yr(Je,Mt)}},$o=(Je,hn)=>{Zo(Mt=>{const bn=Object.assign({},Mt),Rn=[].concat((0,xe.Z)(Je.name.slice(0,-1)),(0,xe.Z)(hn)).join(_n);return Je.destroy?delete bn[Rn]:bn[Rn]=Je,bn})},[pi,ki]=he.useMemo(()=>{const Je=(0,xe.Z)(vo.errors),hn=(0,xe.Z)(vo.warnings);return Object.values(yo).forEach(Mt=>{Je.push.apply(Je,(0,xe.Z)(Mt.errors||[])),hn.push.apply(hn,(0,xe.Z)(Mt.warnings||[]))}),[Je,hn]},[yo,vo.errors,vo.warnings]),Ci=st();function Oi(Je,hn,Mt){return Et&&!Vn?he.createElement(qt,{prefixCls:Lr,hasFeedback:vt.hasFeedback,validateStatus:vt.validateStatus,meta:vo,errors:pi,warnings:ki,noStyle:!0},Je):he.createElement(En,Object.assign({key:"row"},vt,{className:be()(Ht,Vo,eo,Wo),prefixCls:Lr,fieldId:hn,isRequired:Mt,errors:pi,warnings:ki,meta:vo,onSubItemMetaChange:$o,layout:Hr}),Je)}if(!ao&&!Nr&&!ot)return $r(Oi(Er));let No={};return typeof It=="string"?No.label=It:Tt&&(No.label=String(Tt)),_t&&(No=Object.assign(Object.assign({},No),_t)),$r(he.createElement(Ct.Field,Object.assign({},vt,{messageVariables:No,trigger:Ln,validateTrigger:oo,onMetaChange:yi}),(Je,hn,Mt)=>{const bn=at(Tt).length&&hn?hn.name:[],er=jt(bn,mr),Rn=Bt!==void 0?Bt:!!(Kt!=null&&Kt.some(Zn=>{if(Zn&&typeof Zn=="object"&&Zn.required&&!Zn.warningOnly)return!0;if(typeof Zn=="function"){const Hn=Zn(Mt);return(Hn==null?void 0:Hn.required)&&!(Hn!=null&&Hn.warningOnly)}return!1})),Nn=Object.assign({},Je);let yr=null;if(Array.isArray(Er)&&ao)yr=Er;else if(!(Nr&&(!(nn||ot)||ao))){if(!(ot&&!Nr&&!ao))if(he.isValidElement(Er)){const Zn=Object.assign(Object.assign({},Er.props),Nn);if(Zn.id||(Zn.id=er),Or||pi.length>0||ki.length>0||vt.extra){const kr=[];(Or||pi.length>0)&&kr.push(`${er}_help`),vt.extra&&kr.push(`${er}_extra`),Zn["aria-describedby"]=kr.join(" ")}pi.length>0&&(Zn["aria-invalid"]="true"),Rn&&(Zn["aria-required"]="true"),(0,de.Yr)(Er)&&(Zn.ref=Ci(bn,Er)),new Set([].concat((0,xe.Z)(at(Ln)),(0,xe.Z)(at(oo)))).forEach(kr=>{Zn[kr]=function(){for(var wo,ci,ii,oi,vi,mi=arguments.length,Li=new Array(mi),Bi=0;Bi<mi;Bi++)Li[Bi]=arguments[Bi];(ii=Nn[kr])===null||ii===void 0||(wo=ii).call.apply(wo,[Nn].concat(Li)),(vi=(oi=Er.props)[kr])===null||vi===void 0||(ci=vi).call.apply(ci,[oi].concat(Li))}});const or=[Zn["aria-required"],Zn["aria-invalid"],Zn["aria-describedby"]];yr=he.createElement(Gn,{control:Nn,update:Er,childProps:or},(0,Ue.Tm)(Er,Zn))}else Nr&&(nn||ot)&&!ao?yr=Er(Mt):yr=Er}return Oi(yr,er,Rn)}))}const Rr=nr;Rr.useStatus=gt;var Ir=Rr,Bn=function(vt,Tt){var Et={};for(var Ht in vt)Object.prototype.hasOwnProperty.call(vt,Ht)&&Tt.indexOf(Ht)<0&&(Et[Ht]=vt[Ht]);if(vt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var ot=0,Ht=Object.getOwnPropertySymbols(vt);ot<Ht.length;ot++)Tt.indexOf(Ht[ot])<0&&Object.prototype.propertyIsEnumerable.call(vt,Ht[ot])&&(Et[Ht[ot]]=vt[Ht[ot]]);return Et},ur=vt=>{var{prefixCls:Tt,children:Et}=vt,Ht=Bn(vt,["prefixCls","children"]);const{getPrefixCls:ot}=he.useContext(Yt.E_),Xt=ot("form",Tt),nn=he.useMemo(()=>({prefixCls:Xt,status:"error"}),[Xt]);return he.createElement(Ct.List,Object.assign({},Ht),(Kt,nt,Bt)=>he.createElement(y.Rk.Provider,{value:nn},Et(Kt.map(It=>Object.assign(Object.assign({},It),{fieldKey:It.key})),nt,{errors:Bt.errors,warnings:Bt.warnings})))};function dr(){const{form:vt}=he.useContext(y.q3);return vt}const Ot=ve;Ot.Item=Ir,Ot.List=ur,Ot.ErrorList=Xe,Ot.useForm=Rt,Ot.useFormInstance=dr,Ot.useWatch=Ct.useWatch,Ot.Provider=y.RV,Ot.create=()=>{};var Jt=Ot},4875:function(dn,yt,E){"use strict";E.d(yt,{Z:function(){return Cn}});var y=E(59301),xe=E(84105),he=E(87395),je=E(92310),be=E.n(je),De=E(54476),ye=E(20068),ze=E(76190),we=E(42978),se=E(75931),Ye=E(67732),fe=E(83652);function ke(){return typeof BigInt=="function"}function Ae(ut){return!ut&&ut!==0&&!Number.isNaN(ut)||!String(ut).trim()}function Ce(ut){var kt=ut.trim(),wt=kt.startsWith("-");wt&&(kt=kt.slice(1)),kt=kt.replace(/(\.\d*[^0])0*$/,"$1").replace(/\.0*$/,"").replace(/^0+/,""),kt.startsWith(".")&&(kt="0".concat(kt));var cn=kt||"0",An=cn.split("."),Kn=An[0]||"0",rr=An[1]||"0";Kn==="0"&&rr==="0"&&(wt=!1);var sr=wt?"-":"";return{negative:wt,negativeStr:sr,trimStr:cn,integerStr:Kn,decimalStr:rr,fullStr:"".concat(sr).concat(cn)}}function me(ut){var kt=String(ut);return!Number.isNaN(Number(kt))&&kt.includes("e")}function ue(ut){var kt=String(ut);if(me(ut)){var wt=Number(kt.slice(kt.indexOf("e-")+2)),cn=kt.match(/\.(\d+)/);return cn!=null&&cn[1]&&(wt+=cn[1].length),wt}return kt.includes(".")&&Ze(kt)?kt.length-kt.indexOf(".")-1:0}function Me(ut){var kt=String(ut);if(me(ut)){if(ut>Number.MAX_SAFE_INTEGER)return String(ke()?BigInt(ut).toString():Number.MAX_SAFE_INTEGER);if(ut<Number.MIN_SAFE_INTEGER)return String(ke()?BigInt(ut).toString():Number.MIN_SAFE_INTEGER);kt=ut.toFixed(ue(kt))}return Ce(kt).fullStr}function Ze(ut){return typeof ut=="number"?!Number.isNaN(ut):ut?/^\s*-?\d+(\.\d+)?\s*$/.test(ut)||/^\s*-?\d+\.\s*$/.test(ut)||/^\s*-?\.\d+\s*$/.test(ut):!1}var Qe=function(){function ut(kt){if((0,Ye.Z)(this,ut),(0,ye.Z)(this,"origin",""),(0,ye.Z)(this,"negative",void 0),(0,ye.Z)(this,"integer",void 0),(0,ye.Z)(this,"decimal",void 0),(0,ye.Z)(this,"decimalLen",void 0),(0,ye.Z)(this,"empty",void 0),(0,ye.Z)(this,"nan",void 0),Ae(kt)){this.empty=!0;return}if(this.origin=String(kt),kt==="-"||Number.isNaN(kt)){this.nan=!0;return}var wt=kt;if(me(wt)&&(wt=Number(wt)),wt=typeof wt=="string"?wt:Me(wt),Ze(wt)){var cn=Ce(wt);this.negative=cn.negative;var An=cn.trimStr.split(".");this.integer=BigInt(An[0]);var Kn=An[1]||"0";this.decimal=BigInt(Kn),this.decimalLen=Kn.length}else this.nan=!0}return(0,fe.Z)(ut,[{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(wt){var cn="".concat(this.getMark()).concat(this.getIntegerStr()).concat(this.getDecimalStr().padEnd(wt,"0"));return BigInt(cn)}},{key:"negate",value:function(){var wt=new ut(this.toString());return wt.negative=!wt.negative,wt}},{key:"cal",value:function(wt,cn,An){var Kn=Math.max(this.getDecimalStr().length,wt.getDecimalStr().length),rr=this.alignDecimal(Kn),sr=wt.alignDecimal(Kn),kn=cn(rr,sr).toString(),Jn=An(Kn),zt=Ce(kn),mn=zt.negativeStr,an=zt.trimStr,ln="".concat(mn).concat(an.padStart(Jn+1,"0"));return new ut("".concat(ln.slice(0,-Jn),".").concat(ln.slice(-Jn)))}},{key:"add",value:function(wt){if(this.isInvalidate())return new ut(wt);var cn=new ut(wt);return cn.isInvalidate()?this:this.cal(cn,function(An,Kn){return An+Kn},function(An){return An})}},{key:"multi",value:function(wt){var cn=new ut(wt);return this.isInvalidate()||cn.isInvalidate()?new ut(NaN):this.cal(cn,function(An,Kn){return An*Kn},function(An){return An*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(wt){return this.toString()===(wt==null?void 0:wt.toString())}},{key:"lessEquals",value:function(wt){return this.add(wt.negate().toString()).toNumber()<=0}},{key:"toNumber",value:function(){return this.isNaN()?NaN:Number(this.toString())}},{key:"toString",value:function(){var wt=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!0;return wt?this.isInvalidate()?"":Ce("".concat(this.getMark()).concat(this.getIntegerStr(),".").concat(this.getDecimalStr())).fullStr:this.origin}}]),ut}(),oe=function(){function ut(kt){if((0,Ye.Z)(this,ut),(0,ye.Z)(this,"origin",""),(0,ye.Z)(this,"number",void 0),(0,ye.Z)(this,"empty",void 0),Ae(kt)){this.empty=!0;return}this.origin=String(kt),this.number=Number(kt)}return(0,fe.Z)(ut,[{key:"negate",value:function(){return new ut(-this.toNumber())}},{key:"add",value:function(wt){if(this.isInvalidate())return new ut(wt);var cn=Number(wt);if(Number.isNaN(cn))return this;var An=this.number+cn;if(An>Number.MAX_SAFE_INTEGER)return new ut(Number.MAX_SAFE_INTEGER);if(An<Number.MIN_SAFE_INTEGER)return new ut(Number.MIN_SAFE_INTEGER);var Kn=Math.max(ue(this.number),ue(cn));return new ut(An.toFixed(Kn))}},{key:"multi",value:function(wt){var cn=Number(wt);if(this.isInvalidate()||Number.isNaN(cn))return new ut(NaN);var An=this.number*cn;if(An>Number.MAX_SAFE_INTEGER)return new ut(Number.MAX_SAFE_INTEGER);if(An<Number.MIN_SAFE_INTEGER)return new ut(Number.MIN_SAFE_INTEGER);var Kn=Math.max(ue(this.number),ue(cn));return new ut(An.toFixed(Kn))}},{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(wt){return this.toNumber()===(wt==null?void 0:wt.toNumber())}},{key:"lessEquals",value:function(wt){return this.add(wt.negate().toString()).toNumber()<=0}},{key:"toNumber",value:function(){return this.number}},{key:"toString",value:function(){var wt=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!0;return wt?this.isInvalidate()?"":Me(this.number):this.origin}}]),ut}();function Fe(ut){return ke()?new Qe(ut):new oe(ut)}function rt(ut,kt,wt){var cn=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!1;if(ut==="")return"";var An=Ce(ut),Kn=An.negativeStr,rr=An.integerStr,sr=An.decimalStr,kn="".concat(kt).concat(sr),Jn="".concat(Kn).concat(rr);if(wt>=0){var zt=Number(sr[wt]);if(zt>=5&&!cn){var mn=Fe(ut).add("".concat(Kn,"0.").concat("0".repeat(wt)).concat(10-zt));return rt(mn.toString(),kt,wt,cn)}return wt===0?Jn:"".concat(Jn).concat(kt).concat(sr.padEnd(wt,"0").slice(0,wt))}return kn===".0"?Jn:"".concat(Jn).concat(kn)}var Ne=Fe,Ge=E(36901),ge=E(34280);function Oe(ut,kt){return typeof Proxy!="undefined"&&ut?new Proxy(ut,{get:function(cn,An){if(kt[An])return kt[An];var Kn=cn[An];return typeof Kn=="function"?Kn.bind(cn):Kn}}):ut}var Ve=E(8654),Pe=E(48736);function it(ut,kt){var wt=(0,y.useRef)(null);function cn(){try{var Kn=ut.selectionStart,rr=ut.selectionEnd,sr=ut.value,kn=sr.substring(0,Kn),Jn=sr.substring(rr);wt.current={start:Kn,end:rr,value:sr,beforeTxt:kn,afterTxt:Jn}}catch(zt){}}function An(){if(ut&&wt.current&&kt)try{var Kn=ut.value,rr=wt.current,sr=rr.beforeTxt,kn=rr.afterTxt,Jn=rr.start,zt=Kn.length;if(Kn.startsWith(sr))zt=sr.length;else if(Kn.endsWith(kn))zt=Kn.length-wt.current.afterTxt.length;else{var mn=sr[Jn-1],an=Kn.indexOf(mn,Jn-1);an!==-1&&(zt=an+1)}ut.setSelectionRange(zt,zt)}catch(ln){(0,Pe.ZP)(!1,"Something warning of cursor restore. Please fire issue about this: ".concat(ln.message))}}return[cn,An]}var Le=E(49658),pe=function(){var kt=(0,y.useState)(!1),wt=(0,we.Z)(kt,2),cn=wt[0],An=wt[1];return(0,ge.Z)(function(){An((0,Le.Z)())},[]),cn},qe=pe,Xe=E(16089),Ct=200,Yt=600;function We(ut){var kt=ut.prefixCls,wt=ut.upNode,cn=ut.downNode,An=ut.upDisabled,Kn=ut.downDisabled,rr=ut.onStep,sr=y.useRef(),kn=y.useRef([]),Jn=y.useRef();Jn.current=rr;var zt=function(){clearTimeout(sr.current)},mn=function(Yn,Gn){Yn.preventDefault(),zt(),Jn.current(Gn);function Qn(){Jn.current(Gn),sr.current=setTimeout(Qn,Ct)}sr.current=setTimeout(Qn,Yt)};y.useEffect(function(){return function(){zt(),kn.current.forEach(function($n){return Xe.Z.cancel($n)})}},[]);var an=qe();if(an)return null;var ln="".concat(kt,"-handler"),qt=be()(ln,"".concat(ln,"-up"),(0,ye.Z)({},"".concat(ln,"-up-disabled"),An)),xn=be()(ln,"".concat(ln,"-down"),(0,ye.Z)({},"".concat(ln,"-down-disabled"),Kn)),En=function(){return kn.current.push((0,Xe.Z)(zt))},_n={unselectable:"on",role:"button",onMouseUp:En,onMouseLeave:En};return y.createElement("div",{className:"".concat(ln,"-wrap")},y.createElement("span",(0,De.Z)({},_n,{onMouseDown:function(Yn){mn(Yn,!0)},"aria-label":"Increase Value","aria-disabled":An,className:qt}),wt||y.createElement("span",{unselectable:"on",className:"".concat(kt,"-handler-up-inner")})),y.createElement("span",(0,De.Z)({},_n,{onMouseDown:function(Yn){mn(Yn,!1)},"aria-label":"Decrease Value","aria-disabled":Kn,className:xn}),cn||y.createElement("span",{unselectable:"on",className:"".concat(kt,"-handler-down-inner")})))}function Be(ut){var kt=typeof ut=="number"?Me(ut):Ce(ut).fullStr,wt=kt.includes(".");return wt?Ce(kt.replace(/(\d)\.(\d)/g,"$1$2.")).fullStr:ut+"0"}var Dt=E(30292),Zt=function(){var ut=(0,y.useRef)(0),kt=function(){Xe.Z.cancel(ut.current)};return(0,y.useEffect)(function(){return kt},[]),function(wt){kt(),ut.current=(0,Xe.Z)(function(){wt()})}},lt=["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"],Se=["disabled","style","prefixCls","value","prefix","suffix","addonBefore","addonAfter","className","classNames"],Re=function(kt,wt){return kt||wt.isEmpty()?wt.toString():wt.toNumber()},at=function(kt){var wt=Ne(kt);return wt.isInvalidate()?null:wt},jt=y.forwardRef(function(ut,kt){var wt=ut.prefixCls,cn=ut.className,An=ut.style,Kn=ut.min,rr=ut.max,sr=ut.step,kn=sr===void 0?1:sr,Jn=ut.defaultValue,zt=ut.value,mn=ut.disabled,an=ut.readOnly,ln=ut.upHandler,qt=ut.downHandler,xn=ut.keyboard,En=ut.changeOnWheel,_n=En===void 0?!1:En,$n=ut.controls,Yn=$n===void 0?!0:$n,Gn=ut.classNames,Qn=ut.stringMode,nr=ut.parser,Rr=ut.formatter,Ir=ut.precision,Bn=ut.decimalSeparator,Mn=ut.onChange,ur=ut.onInput,dr=ut.onPressEnter,Ot=ut.onStep,Jt=ut.changeOnBlur,vt=Jt===void 0?!0:Jt,Tt=ut.domRef,Et=(0,se.Z)(ut,lt),Ht="".concat(wt,"-input"),ot=y.useRef(null),Xt=y.useState(!1),nn=(0,we.Z)(Xt,2),Kt=nn[0],nt=nn[1],Bt=y.useRef(!1),It=y.useRef(!1),_t=y.useRef(!1),Ln=y.useState(function(){return Ne(zt!=null?zt:Jn)}),zn=(0,we.Z)(Ln,2),Vn=zn[0],Or=zn[1];function Hr(er){zt===void 0&&Or(er)}var to=y.useCallback(function(er,Rn){if(!Rn)return Ir>=0?Ir:Math.max(ue(er),ue(kn))},[Ir,kn]),mr=y.useCallback(function(er){var Rn=String(er);if(nr)return nr(Rn);var Nn=Rn;return Bn&&(Nn=Nn.replace(Bn,".")),Nn.replace(/[^\w.-]+/g,"")},[nr,Bn]),Er=y.useRef(""),Nr=y.useCallback(function(er,Rn){if(Rr)return Rr(er,{userTyping:Rn,input:String(Er.current)});var Nn=typeof er=="number"?Me(er):er;if(!Rn){var yr=to(Nn,Rn);if(Ze(Nn)&&(Bn||yr>=0)){var Zn=Bn||".";Nn=rt(Nn,Zn,yr)}}return Nn},[Rr,to,Bn]),Yr=y.useState(function(){var er=Jn!=null?Jn:zt;return Vn.isInvalidate()&&["string","number"].includes((0,ze.Z)(er))?Number.isNaN(er)?"":er:Nr(Vn.toString(),!1)}),ro=(0,we.Z)(Yr,2),oo=ro[0],ao=ro[1];Er.current=oo;function Lr(er,Rn){ao(Nr(er.isInvalidate()?er.toString(!1):er.toString(!Rn),Rn))}var eo=y.useMemo(function(){return at(rr)},[rr,Ir]),$r=y.useMemo(function(){return at(Kn)},[Kn,Ir]),Wo=y.useMemo(function(){return!eo||!Vn||Vn.isInvalidate()?!1:eo.lessEquals(Vn)},[eo,Vn]),Vo=y.useMemo(function(){return!$r||!Vn||Vn.isInvalidate()?!1:Vn.lessEquals($r)},[$r,Vn]),ir=it(ot.current,Kt),Ro=(0,we.Z)(ir,2),ei=Ro[0],yo=Ro[1],Zo=function(Rn){return eo&&!Rn.lessEquals(eo)?eo:$r&&!$r.lessEquals(Rn)?$r:null},vo=function(Rn){return!Zo(Rn)},ui=function(Rn,Nn){var yr=Rn,Zn=vo(yr)||yr.isEmpty();if(!yr.isEmpty()&&!Nn&&(yr=Zo(yr)||yr,Zn=!0),!an&&!mn&&Zn){var Hn=yr.toString(),or=to(Hn,Nn);return or>=0&&(yr=Ne(rt(Hn,".",or)),vo(yr)||(yr=Ne(rt(Hn,".",or,!0)))),yr.equals(Vn)||(Hr(yr),Mn==null||Mn(yr.isEmpty()?null:Re(Qn,yr)),zt===void 0&&Lr(yr,Nn)),yr}return Vn},yi=Zt(),$o=function er(Rn){if(ei(),Er.current=Rn,ao(Rn),!It.current){var Nn=mr(Rn),yr=Ne(Nn);yr.isNaN()||ui(yr,!0)}ur==null||ur(Rn),yi(function(){var Zn=Rn;nr||(Zn=Rn.replace(/。/g,".")),Zn!==Rn&&er(Zn)})},pi=function(){It.current=!0},ki=function(){It.current=!1,$o(ot.current.value)},Ci=function(Rn){$o(Rn.target.value)},Oi=function(Rn){var Nn;if(!(Rn&&Wo||!Rn&&Vo)){Bt.current=!1;var yr=Ne(_t.current?Be(kn):kn);Rn||(yr=yr.negate());var Zn=(Vn||Ne(0)).add(yr.toString()),Hn=ui(Zn,!1);Ot==null||Ot(Re(Qn,Hn),{offset:_t.current?Be(kn):kn,type:Rn?"up":"down"}),(Nn=ot.current)===null||Nn===void 0||Nn.focus()}},No=function(Rn){var Nn=Ne(mr(oo)),yr;Nn.isNaN()?yr=ui(Vn,Rn):yr=ui(Nn,Rn),zt!==void 0?Lr(Vn,!1):yr.isNaN()||Lr(yr,!1)},Je=function(){Bt.current=!0},hn=function(Rn){var Nn=Rn.key,yr=Rn.shiftKey;Bt.current=!0,_t.current=yr,Nn==="Enter"&&(It.current||(Bt.current=!1),No(!1),dr==null||dr(Rn)),xn!==!1&&!It.current&&["Up","ArrowUp","Down","ArrowDown"].includes(Nn)&&(Oi(Nn==="Up"||Nn==="ArrowUp"),Rn.preventDefault())},Mt=function(){Bt.current=!1,_t.current=!1};y.useEffect(function(){if(_n&&Kt){var er=function(yr){Oi(yr.deltaY<0),yr.preventDefault()},Rn=ot.current;if(Rn)return Rn.addEventListener("wheel",er,{passive:!1}),function(){return Rn.removeEventListener("wheel",er)}}});var bn=function(){vt&&No(!1),nt(!1),Bt.current=!1};return(0,ge.o)(function(){Vn.isInvalidate()||Lr(Vn,!1)},[Ir,Rr]),(0,ge.o)(function(){var er=Ne(zt);Or(er);var Rn=Ne(mr(oo));(!er.equals(Rn)||!Bt.current||Rr)&&Lr(er,Bt.current)},[zt]),(0,ge.o)(function(){Rr&&yo()},[oo]),y.createElement("div",{ref:Tt,className:be()(wt,cn,(0,ye.Z)((0,ye.Z)((0,ye.Z)((0,ye.Z)((0,ye.Z)({},"".concat(wt,"-focused"),Kt),"".concat(wt,"-disabled"),mn),"".concat(wt,"-readonly"),an),"".concat(wt,"-not-a-number"),Vn.isNaN()),"".concat(wt,"-out-of-range"),!Vn.isInvalidate()&&!vo(Vn))),style:An,onFocus:function(){nt(!0)},onBlur:bn,onKeyDown:hn,onKeyUp:Mt,onCompositionStart:pi,onCompositionEnd:ki,onBeforeInput:Je},Yn&&y.createElement(We,{prefixCls:wt,upNode:ln,downNode:qt,upDisabled:Wo,downDisabled:Vo,onStep:Oi}),y.createElement("div",{className:"".concat(Ht,"-wrap")},y.createElement("input",(0,De.Z)({autoComplete:"off",role:"spinbutton","aria-valuemin":Kn,"aria-valuemax":rr,"aria-valuenow":Vn.isInvalidate()?null:Vn.toString(),step:kn},Et,{ref:(0,Ve.sQ)(ot,kt),className:Ht,value:oo,onChange:Ci,disabled:mn,readOnly:an}))))}),ft=y.forwardRef(function(ut,kt){var wt=ut.disabled,cn=ut.style,An=ut.prefixCls,Kn=An===void 0?"rc-input-number":An,rr=ut.value,sr=ut.prefix,kn=ut.suffix,Jn=ut.addonBefore,zt=ut.addonAfter,mn=ut.className,an=ut.classNames,ln=(0,se.Z)(ut,Se),qt=y.useRef(null),xn=y.useRef(null),En=y.useRef(null),_n=function(Yn){En.current&&(0,Dt.nH)(En.current,Yn)};return y.useImperativeHandle(kt,function(){return Oe(En.current,{focus:_n,nativeElement:qt.current.nativeElement||xn.current})}),y.createElement(Ge.BaseInput,{className:mn,triggerFocus:_n,prefixCls:Kn,value:rr,disabled:wt,style:cn,prefix:sr,suffix:kn,addonAfter:zt,addonBefore:Jn,classNames:an,components:{affixWrapper:"div",groupWrapper:"div",wrapper:"div",groupAddon:"div"},ref:qt},y.createElement(jt,(0,De.Z)({prefixCls:Kn,disabled:wt,ref:En,domRef:xn,className:an==null?void 0:an.input},ln)))}),Wt=ft,xt=Wt,$t=E(62487),Rt=E(82855),ce=E(48755),ne=E(60840),te=E(2171),le=E(83397),ve=E(31756),re=E(56553),de=E(24971),Ue=E(70045),pt=E(36237),et=E(53075),tt=E(64910),dt=E(39082),gt=E(63356),St=E(56119),_e=E(16931),st=E(51636),en=E(17835);const Ut=ut=>{var kt;const wt=(kt=ut.handleVisible)!==null&&kt!==void 0?kt:"auto",cn=ut.controlHeightSM-ut.lineWidth*2;return Object.assign(Object.assign({},(0,tt.T)(ut)),{controlWidth:90,handleWidth:cn,handleFontSize:ut.fontSize/2,handleVisible:wt,handleActiveBg:ut.colorFillAlter,handleBg:ut.colorBgContainer,filledHandleBg:new en.FastColor(ut.colorFillSecondary).onBackground(ut.colorBgContainer).toHexString(),handleHoverColor:ut.colorPrimary,handleBorderColor:ut.colorBorder,handleOpacity:wt===!0?1:0,handleVisibleWidth:wt===!0?cn:0})},yn=(ut,kt)=>{let{componentCls:wt,borderRadiusSM:cn,borderRadiusLG:An}=ut;const Kn=kt==="lg"?An:cn;return{[`&-${kt}`]:{[`${wt}-handler-wrap`]:{borderStartEndRadius:Kn,borderEndEndRadius:Kn},[`${wt}-handler-up`]:{borderStartEndRadius:Kn},[`${wt}-handler-down`]:{borderEndEndRadius:Kn}}}},tn=ut=>{const{componentCls:kt,lineWidth:wt,lineType:cn,borderRadius:An,inputFontSizeSM:Kn,inputFontSizeLG:rr,controlHeightLG:sr,controlHeightSM:kn,colorError:Jn,paddingInlineSM:zt,paddingBlockSM:mn,paddingBlockLG:an,paddingInlineLG:ln,colorTextDescription:qt,motionDurationMid:xn,handleHoverColor:En,handleOpacity:_n,paddingInline:$n,paddingBlock:Yn,handleBg:Gn,handleActiveBg:Qn,colorTextDisabled:nr,borderRadiusSM:Rr,borderRadiusLG:Ir,controlWidth:Bn,handleBorderColor:Mn,filledHandleBg:ur,lineHeightLG:dr,calc:Ot}=ut;return[{[kt]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},(0,gt.Wf)(ut)),(0,et.ik)(ut)),{display:"inline-block",width:Bn,margin:0,padding:0,borderRadius:An}),(0,dt.qG)(ut,{[`${kt}-handler-wrap`]:{background:Gn,[`${kt}-handler-down`]:{borderBlockStart:`${(0,pt.unit)(wt)} ${cn} ${Mn}`}}})),(0,dt.H8)(ut,{[`${kt}-handler-wrap`]:{background:ur,[`${kt}-handler-down`]:{borderBlockStart:`${(0,pt.unit)(wt)} ${cn} ${Mn}`}},"&:focus-within":{[`${kt}-handler-wrap`]:{background:Gn}}})),(0,dt.vc)(ut,{[`${kt}-handler-wrap`]:{background:Gn,[`${kt}-handler-down`]:{borderBlockStart:`${(0,pt.unit)(wt)} ${cn} ${Mn}`}}})),(0,dt.Mu)(ut)),{"&-rtl":{direction:"rtl",[`${kt}-input`]:{direction:"rtl"}},"&-lg":{padding:0,fontSize:rr,lineHeight:dr,borderRadius:Ir,[`input${kt}-input`]:{height:Ot(sr).sub(Ot(wt).mul(2)).equal(),padding:`${(0,pt.unit)(an)} ${(0,pt.unit)(ln)}`}},"&-sm":{padding:0,fontSize:Kn,borderRadius:Rr,[`input${kt}-input`]:{height:Ot(kn).sub(Ot(wt).mul(2)).equal(),padding:`${(0,pt.unit)(mn)} ${(0,pt.unit)(zt)}`}},"&-out-of-range":{[`${kt}-input-wrap`]:{input:{color:Jn}}},"&-group":Object.assign(Object.assign(Object.assign({},(0,gt.Wf)(ut)),(0,et.s7)(ut)),{"&-wrapper":Object.assign(Object.assign(Object.assign({display:"inline-block",textAlign:"start",verticalAlign:"top",[`${kt}-affix-wrapper`]:{width:"100%"},"&-lg":{[`${kt}-group-addon`]:{borderRadius:Ir,fontSize:ut.fontSizeLG}},"&-sm":{[`${kt}-group-addon`]:{borderRadius:Rr}}},(0,dt.ir)(ut)),(0,dt.S5)(ut)),{[`&:not(${kt}-compact-first-item):not(${kt}-compact-last-item)${kt}-compact-item`]:{[`${kt}, ${kt}-group-addon`]:{borderRadius:0}},[`&:not(${kt}-compact-last-item)${kt}-compact-first-item`]:{[`${kt}, ${kt}-group-addon`]:{borderStartEndRadius:0,borderEndEndRadius:0}},[`&:not(${kt}-compact-first-item)${kt}-compact-last-item`]:{[`${kt}, ${kt}-group-addon`]:{borderStartStartRadius:0,borderEndStartRadius:0}}})}),[`&-disabled ${kt}-input`]:{cursor:"not-allowed"},[kt]:{"&-input":Object.assign(Object.assign(Object.assign(Object.assign({},(0,gt.Wf)(ut)),{width:"100%",padding:`${(0,pt.unit)(Yn)} ${(0,pt.unit)($n)}`,textAlign:"start",backgroundColor:"transparent",border:0,borderRadius:An,outline:0,transition:`all ${xn} linear`,appearance:"textfield",fontSize:"inherit"}),(0,et.nz)(ut.colorTextPlaceholder)),{'&[type="number"]::-webkit-inner-spin-button, &[type="number"]::-webkit-outer-spin-button':{margin:0,appearance:"none"}})},[`&:hover ${kt}-handler-wrap, &-focused ${kt}-handler-wrap`]:{width:ut.handleWidth,opacity:1}})},{[kt]:Object.assign(Object.assign(Object.assign({[`${kt}-handler-wrap`]:{position:"absolute",insetBlockStart:0,insetInlineEnd:0,width:ut.handleVisibleWidth,opacity:_n,height:"100%",borderStartStartRadius:0,borderStartEndRadius:An,borderEndEndRadius:An,borderEndStartRadius:0,display:"flex",flexDirection:"column",alignItems:"stretch",transition:`all ${xn}`,overflow:"hidden",[`${kt}-handler`]:{display:"flex",alignItems:"center",justifyContent:"center",flex:"auto",height:"40%",[`
${kt}-handler-up-inner,
${kt}-handler-down-inner
`]:{marginInlineEnd:0,fontSize:ut.handleFontSize}}},[`${kt}-handler`]:{height:"50%",overflow:"hidden",color:qt,fontWeight:"bold",lineHeight:0,textAlign:"center",cursor:"pointer",borderInlineStart:`${(0,pt.unit)(wt)} ${cn} ${Mn}`,transition:`all ${xn} linear`,"&:active":{background:Qn},"&:hover":{height:"60%",[`
${kt}-handler-up-inner,
${kt}-handler-down-inner
`]:{color:En}},"&-up-inner, &-down-inner":Object.assign(Object.assign({},(0,gt.Ro)()),{color:qt,transition:`all ${xn} linear`,userSelect:"none"})},[`${kt}-handler-up`]:{borderStartEndRadius:An},[`${kt}-handler-down`]:{borderEndEndRadius:An}},yn(ut,"lg")),yn(ut,"sm")),{"&-disabled, &-readonly":{[`${kt}-handler-wrap`]:{display:"none"},[`${kt}-input`]:{color:"inherit"}},[`
${kt}-handler-up-disabled,
${kt}-handler-down-disabled
`]:{cursor:"not-allowed"},[`
${kt}-handler-up-disabled:hover &-handler-up-inner,
${kt}-handler-down-disabled:hover &-handler-down-inner
`]:{color:nr}})}]},Vt=ut=>{const{componentCls:kt,paddingBlock:wt,paddingInline:cn,inputAffixPadding:An,controlWidth:Kn,borderRadiusLG:rr,borderRadiusSM:sr,paddingInlineLG:kn,paddingInlineSM:Jn,paddingBlockLG:zt,paddingBlockSM:mn,motionDurationMid:an}=ut;return{[`${kt}-affix-wrapper`]:Object.assign(Object.assign({[`input${kt}-input`]:{padding:`${(0,pt.unit)(wt)} 0`}},(0,et.ik)(ut)),{position:"relative",display:"inline-flex",alignItems:"center",width:Kn,padding:0,paddingInlineStart:cn,"&-lg":{borderRadius:rr,paddingInlineStart:kn,[`input${kt}-input`]:{padding:`${(0,pt.unit)(zt)} 0`}},"&-sm":{borderRadius:sr,paddingInlineStart:Jn,[`input${kt}-input`]:{padding:`${(0,pt.unit)(mn)} 0`}},[`&:not(${kt}-disabled):hover`]:{zIndex:1},"&-focused, &:focus":{zIndex:1},[`&-disabled > ${kt}-disabled`]:{background:"transparent"},[`> div${kt}`]:{width:"100%",border:"none",outline:"none",[`&${kt}-focused`]:{boxShadow:"none !important"}},"&::before":{display:"inline-block",width:0,visibility:"hidden",content:'"\\a0"'},[`${kt}-handler-wrap`]:{zIndex:2},[kt]:{position:"static",color:"inherit","&-prefix, &-suffix":{display:"flex",flex:"none",alignItems:"center",pointerEvents:"none"},"&-prefix":{marginInlineEnd:An},"&-suffix":{insetBlockStart:0,insetInlineEnd:0,height:"100%",marginInlineEnd:cn,marginInlineStart:An,transition:`margin ${an}`}},[`&:hover ${kt}-handler-wrap, &-focused ${kt}-handler-wrap`]:{width:ut.handleWidth,opacity:1},[`&:not(${kt}-affix-wrapper-without-controls):hover ${kt}-suffix`]:{marginInlineEnd:ut.calc(ut.handleWidth).add(cn).equal()}})}};var Qt=(0,_e.I$)("InputNumber",ut=>{const kt=(0,st.mergeToken)(ut,(0,tt.e)(ut));return[tn(kt),Vt(kt),(0,St.c)(kt)]},Ut,{unitless:{handleOpacity:!0}}),sn=function(ut,kt){var wt={};for(var cn in ut)Object.prototype.hasOwnProperty.call(ut,cn)&&kt.indexOf(cn)<0&&(wt[cn]=ut[cn]);if(ut!=null&&typeof Object.getOwnPropertySymbols=="function")for(var An=0,cn=Object.getOwnPropertySymbols(ut);An<cn.length;An++)kt.indexOf(cn[An])<0&&Object.prototype.propertyIsEnumerable.call(ut,cn[An])&&(wt[cn[An]]=ut[cn[An]]);return wt};const bt=y.forwardRef((ut,kt)=>{const{getPrefixCls:wt,direction:cn}=y.useContext(ce.E_),An=y.useRef(null);y.useImperativeHandle(kt,()=>An.current);const{className:Kn,rootClassName:rr,size:sr,disabled:kn,prefixCls:Jn,addonBefore:zt,addonAfter:mn,prefix:an,suffix:ln,bordered:qt,readOnly:xn,status:En,controls:_n,variant:$n}=ut,Yn=sn(ut,["className","rootClassName","size","disabled","prefixCls","addonBefore","addonAfter","prefix","suffix","bordered","readOnly","status","controls","variant"]),Gn=wt("input-number",Jn),Qn=(0,le.Z)(Gn),[nr,Rr,Ir]=Qt(Gn,Qn),{compactSize:Bn,compactItemClassnames:Mn}=(0,Ue.ri)(Gn,cn);let ur=y.createElement(he.Z,{className:`${Gn}-handler-up-inner`}),dr=y.createElement(xe.Z,{className:`${Gn}-handler-down-inner`});const Ot=typeof _n=="boolean"?_n:void 0;typeof _n=="object"&&(ur=typeof _n.upIcon=="undefined"?ur:y.createElement("span",{className:`${Gn}-handler-up-inner`},_n.upIcon),dr=typeof _n.downIcon=="undefined"?dr:y.createElement("span",{className:`${Gn}-handler-down-inner`},_n.downIcon));const{hasFeedback:Jt,status:vt,isFormItemInput:Tt,feedbackIcon:Et}=y.useContext(re.aM),Ht=(0,Rt.F)(vt,En),ot=(0,ve.Z)(zn=>{var Vn;return(Vn=sr!=null?sr:Bn)!==null&&Vn!==void 0?Vn:zn}),Xt=y.useContext(te.Z),nn=kn!=null?kn:Xt,[Kt,nt]=(0,de.Z)("inputNumber",$n,qt),Bt=Jt&&y.createElement(y.Fragment,null,Et),It=be()({[`${Gn}-lg`]:ot==="large",[`${Gn}-sm`]:ot==="small",[`${Gn}-rtl`]:cn==="rtl",[`${Gn}-in-form-item`]:Tt},Rr),_t=`${Gn}-group`,Ln=y.createElement(xt,Object.assign({ref:An,disabled:nn,className:be()(Ir,Qn,Kn,rr,Mn),upHandler:ur,downHandler:dr,prefixCls:Gn,readOnly:xn,controls:Ot,prefix:an,suffix:Bt||ln,addonBefore:zt&&y.createElement($t.Z,{form:!0,space:!0},zt),addonAfter:mn&&y.createElement($t.Z,{form:!0,space:!0},mn),classNames:{input:It,variant:be()({[`${Gn}-${Kt}`]:nt},(0,Rt.Z)(Gn,Ht,Jt)),affixWrapper:be()({[`${Gn}-affix-wrapper-sm`]:ot==="small",[`${Gn}-affix-wrapper-lg`]:ot==="large",[`${Gn}-affix-wrapper-rtl`]:cn==="rtl",[`${Gn}-affix-wrapper-without-controls`]:_n===!1||nn},Rr),wrapper:be()({[`${_t}-rtl`]:cn==="rtl"},Rr),groupWrapper:be()({[`${Gn}-group-wrapper-sm`]:ot==="small",[`${Gn}-group-wrapper-lg`]:ot==="large",[`${Gn}-group-wrapper-rtl`]:cn==="rtl",[`${Gn}-group-wrapper-${Kt}`]:nt},(0,Rt.Z)(`${Gn}-group-wrapper`,Ht,Jt),Rr)}},Yn));return nr(Ln)}),Lt=bt,un=ut=>y.createElement(ne.ZP,{theme:{components:{InputNumber:{handleVisible:!0}}}},y.createElement(bt,Object.assign({},ut)));Lt._InternalPanelDoNotUseOrYouWillBeFired=un;var Cn=Lt},49397:function(dn,yt,E){"use strict";E.d(yt,{Z:function(){return oe}});var y=E(59301),xe=E(92310),he=E.n(xe),je=E(36901),be=E(8654),De=E(62487),ye=E(86013),ze=E(82855),we=E(48755),se=E(2171),Ye=E(83397),fe=E(31756),ke=E(56553),Ae=E(24971),Ce=E(70045),me=E(23826),ue=E(53075);function Me(Fe){return!!(Fe.prefix||Fe.suffix||Fe.allowClear||Fe.showCount)}var Ze=function(Fe,rt){var Ne={};for(var Ge in Fe)Object.prototype.hasOwnProperty.call(Fe,Ge)&&rt.indexOf(Ge)<0&&(Ne[Ge]=Fe[Ge]);if(Fe!=null&&typeof Object.getOwnPropertySymbols=="function")for(var ge=0,Ge=Object.getOwnPropertySymbols(Fe);ge<Ge.length;ge++)rt.indexOf(Ge[ge])<0&&Object.prototype.propertyIsEnumerable.call(Fe,Ge[ge])&&(Ne[Ge[ge]]=Fe[Ge[ge]]);return Ne},oe=(0,y.forwardRef)((Fe,rt)=>{const{prefixCls:Ne,bordered:Ge=!0,status:ge,size:Oe,disabled:Ve,onBlur:Pe,onFocus:it,suffix:Le,allowClear:pe,addonAfter:qe,addonBefore:Xe,className:Ct,style:Yt,styles:We,rootClassName:Be,onChange:Dt,classNames:Zt,variant:lt}=Fe,Se=Ze(Fe,["prefixCls","bordered","status","size","disabled","onBlur","onFocus","suffix","allowClear","addonAfter","addonBefore","className","style","styles","rootClassName","onChange","classNames","variant"]),{getPrefixCls:Re,direction:at,allowClear:jt,autoComplete:ft,className:Wt,style:xt,classNames:$t,styles:Rt}=(0,we.dj)("input"),ce=Re("input",Ne),ne=(0,y.useRef)(null),te=(0,Ye.Z)(ce),[le,ve,re]=(0,ue.TI)(ce,Be),[de]=(0,ue.ZP)(ce,te),{compactSize:Ue,compactItemClassnames:pt}=(0,Ce.ri)(ce,at),et=(0,fe.Z)(Cn=>{var ut;return(ut=Oe!=null?Oe:Ue)!==null&&ut!==void 0?ut:Cn}),tt=y.useContext(se.Z),dt=Ve!=null?Ve:tt,{status:gt,hasFeedback:St,feedbackIcon:_e}=(0,y.useContext)(ke.aM),st=(0,ze.F)(gt,ge),en=Me(Fe)||!!St,Ut=(0,y.useRef)(en),yn=(0,me.Z)(ne,!0),tn=Cn=>{yn(),Pe==null||Pe(Cn)},Vt=Cn=>{yn(),it==null||it(Cn)},Qt=Cn=>{yn(),Dt==null||Dt(Cn)},sn=(St||Le)&&y.createElement(y.Fragment,null,Le,St&&_e),bt=(0,ye.Z)(pe!=null?pe:jt),[Lt,un]=(0,Ae.Z)("input",lt,Ge);return le(de(y.createElement(je.default,Object.assign({ref:(0,be.sQ)(rt,ne),prefixCls:ce,autoComplete:ft},Se,{disabled:dt,onBlur:tn,onFocus:Vt,style:Object.assign(Object.assign({},xt),Yt),styles:Object.assign(Object.assign({},Rt),We),suffix:sn,allowClear:bt,className:he()(Ct,Be,re,te,pt,Wt),onChange:Qt,addonBefore:Xe&&y.createElement(De.Z,{form:!0,space:!0},Xe),addonAfter:qe&&y.createElement(De.Z,{form:!0,space:!0},qe),classNames:Object.assign(Object.assign(Object.assign({},Zt),$t),{input:he()({[`${ce}-sm`]:et==="small",[`${ce}-lg`]:et==="large",[`${ce}-rtl`]:at==="rtl"},Zt==null?void 0:Zt.input,$t.input,ve),variant:he()({[`${ce}-${Lt}`]:un},(0,ze.Z)(ce,st)),affixWrapper:he()({[`${ce}-affix-wrapper-sm`]:et==="small",[`${ce}-affix-wrapper-lg`]:et==="large",[`${ce}-affix-wrapper-rtl`]:at==="rtl"},ve),wrapper:he()({[`${ce}-group-rtl`]:at==="rtl"},ve),groupWrapper:he()({[`${ce}-group-wrapper-sm`]:et==="small",[`${ce}-group-wrapper-lg`]:et==="large",[`${ce}-group-wrapper-rtl`]:at==="rtl",[`${ce}-group-wrapper-${Lt}`]:un},(0,ze.Z)(`${ce}-group-wrapper`,st,St),ve)})}))))})},79809:function(dn,yt,E){"use strict";E.d(yt,{Z:function(){return rt}});var y=E(59301),xe=E(92310),he=E.n(xe),je=E(22711),be=E(86013),De=E(82855),ye=E(48755),ze=E(2171),we=E(83397),se=E(31756),Ye=E(56553),fe=E(24971),ke=E(70045),Ae=E(30292),Ce=E(53075),me=E(16931),ue=E(51636),Me=E(64910);const Ze=Ne=>{const{componentCls:Ge,paddingLG:ge}=Ne,Oe=`${Ge}-textarea`;return{[`textarea${Ge}`]:{maxWidth:"100%",height:"auto",minHeight:Ne.controlHeight,lineHeight:Ne.lineHeight,verticalAlign:"bottom",transition:`all ${Ne.motionDurationSlow}`,resize:"vertical",[`&${Ge}-mouse-active`]:{transition:`all ${Ne.motionDurationSlow}, height 0s, width 0s`}},[`${Ge}-textarea-affix-wrapper-resize-dirty`]:{width:"auto"},[Oe]:{position:"relative","&-show-count":{[`> ${Ge}`]:{height:"100%"},[`${Ge}-data-count`]:{position:"absolute",bottom:Ne.calc(Ne.fontSize).mul(Ne.lineHeight).mul(-1).equal(),insetInlineEnd:0,color:Ne.colorTextDescription,whiteSpace:"nowrap",pointerEvents:"none"}},[`
&-allow-clear > ${Ge},
&-affix-wrapper${Oe}-has-feedback ${Ge}
`]:{paddingInlineEnd:ge},[`&-affix-wrapper${Ge}-affix-wrapper`]:{padding:0,[`> textarea${Ge}`]:{fontSize:"inherit",border:"none",outline:"none",background:"transparent",minHeight:Ne.calc(Ne.controlHeight).sub(Ne.calc(Ne.lineWidth).mul(2)).equal(),"&:focus":{boxShadow:"none !important"}},[`${Ge}-suffix`]:{margin:0,"> *:not(:last-child)":{marginInline:0},[`${Ge}-clear-icon`]:{position:"absolute",insetInlineEnd:Ne.paddingInline,insetBlockStart:Ne.paddingXS},[`${Oe}-suffix`]:{position:"absolute",top:0,insetInlineEnd:Ne.paddingInline,bottom:0,zIndex:1,display:"inline-flex",alignItems:"center",margin:"auto",pointerEvents:"none"}}},[`&-affix-wrapper${Ge}-affix-wrapper-sm`]:{[`${Ge}-suffix`]:{[`${Ge}-clear-icon`]:{insetInlineEnd:Ne.paddingInlineSM}}}}}};var Qe=(0,me.I$)(["Input","TextArea"],Ne=>{const Ge=(0,ue.mergeToken)(Ne,(0,Me.e)(Ne));return[Ze(Ge)]},Me.T,{resetFont:!1}),oe=function(Ne,Ge){var ge={};for(var Oe in Ne)Object.prototype.hasOwnProperty.call(Ne,Oe)&&Ge.indexOf(Oe)<0&&(ge[Oe]=Ne[Oe]);if(Ne!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Ve=0,Oe=Object.getOwnPropertySymbols(Ne);Ve<Oe.length;Ve++)Ge.indexOf(Oe[Ve])<0&&Object.prototype.propertyIsEnumerable.call(Ne,Oe[Ve])&&(ge[Oe[Ve]]=Ne[Oe[Ve]]);return ge},rt=(0,y.forwardRef)((Ne,Ge)=>{var ge;const{prefixCls:Oe,bordered:Ve=!0,size:Pe,disabled:it,status:Le,allowClear:pe,classNames:qe,rootClassName:Xe,className:Ct,style:Yt,styles:We,variant:Be,showCount:Dt,onMouseDown:Zt,onResize:lt}=Ne,Se=oe(Ne,["prefixCls","bordered","size","disabled","status","allowClear","classNames","rootClassName","className","style","styles","variant","showCount","onMouseDown","onResize"]),{getPrefixCls:Re,direction:at,allowClear:jt,autoComplete:ft,className:Wt,style:xt,classNames:$t,styles:Rt}=(0,ye.dj)("textArea"),ce=y.useContext(ze.Z),ne=it!=null?it:ce,{status:te,hasFeedback:le,feedbackIcon:ve}=y.useContext(Ye.aM),re=(0,De.F)(te,Le),de=y.useRef(null);y.useImperativeHandle(Ge,()=>{var un;return{resizableTextArea:(un=de.current)===null||un===void 0?void 0:un.resizableTextArea,focus:Cn=>{var ut,kt;(0,Ae.nH)((kt=(ut=de.current)===null||ut===void 0?void 0:ut.resizableTextArea)===null||kt===void 0?void 0:kt.textArea,Cn)},blur:()=>{var Cn;return(Cn=de.current)===null||Cn===void 0?void 0:Cn.blur()}}});const Ue=Re("input",Oe),pt=(0,we.Z)(Ue),[et,tt,dt]=(0,Ce.TI)(Ue,Xe),[gt]=Qe(Ue,pt),{compactSize:St,compactItemClassnames:_e}=(0,ke.ri)(Ue,at),st=(0,se.Z)(un=>{var Cn;return(Cn=Pe!=null?Pe:St)!==null&&Cn!==void 0?Cn:un}),[en,Ut]=(0,fe.Z)("textArea",Be,Ve),yn=(0,be.Z)(pe!=null?pe:jt),[tn,Vt]=y.useState(!1),[Qt,sn]=y.useState(!1),bt=un=>{Vt(!0),Zt==null||Zt(un);const Cn=()=>{Vt(!1),document.removeEventListener("mouseup",Cn)};document.addEventListener("mouseup",Cn)},Lt=un=>{var Cn,ut;if(lt==null||lt(un),tn&&typeof getComputedStyle=="function"){const kt=(ut=(Cn=de.current)===null||Cn===void 0?void 0:Cn.nativeElement)===null||ut===void 0?void 0:ut.querySelector("textarea");kt&&getComputedStyle(kt).resize==="both"&&sn(!0)}};return et(gt(y.createElement(je.default,Object.assign({autoComplete:ft},Se,{style:Object.assign(Object.assign({},xt),Yt),styles:Object.assign(Object.assign({},Rt),We),disabled:ne,allowClear:yn,className:he()(dt,pt,Ct,Xe,_e,Wt,Qt&&`${Ue}-textarea-affix-wrapper-resize-dirty`),classNames:Object.assign(Object.assign(Object.assign({},qe),$t),{textarea:he()({[`${Ue}-sm`]:st==="small",[`${Ue}-lg`]:st==="large"},tt,qe==null?void 0:qe.textarea,$t.textarea,tn&&`${Ue}-mouse-active`),variant:he()({[`${Ue}-${en}`]:Ut},(0,De.Z)(Ue,re)),affixWrapper:he()(`${Ue}-textarea-affix-wrapper`,{[`${Ue}-affix-wrapper-rtl`]:at==="rtl",[`${Ue}-affix-wrapper-sm`]:st==="small",[`${Ue}-affix-wrapper-lg`]:st==="large",[`${Ue}-textarea-show-count`]:Dt||((ge=Ne.count)===null||ge===void 0?void 0:ge.show)},tt)}),prefixCls:Ue,suffix:le&&y.createElement("span",{className:`${Ue}-textarea-suffix`},ve),showCount:Dt,ref:de,onResize:Lt,onMouseDown:bt}))))})},23826:function(dn,yt,E){"use strict";E.d(yt,{Z:function(){return xe}});var y=E(59301);function xe(he,je){const be=(0,y.useRef)([]),De=()=>{be.current.push(setTimeout(()=>{var ye,ze,we,se;!((ye=he.current)===null||ye===void 0)&&ye.input&&((ze=he.current)===null||ze===void 0?void 0:ze.input.getAttribute("type"))==="password"&&(!((we=he.current)===null||we===void 0)&&we.input.hasAttribute("value"))&&((se=he.current)===null||se===void 0||se.input.removeAttribute("value"))}))};return(0,y.useEffect)(()=>(je&&De(),()=>be.current.forEach(ye=>{ye&&clearTimeout(ye)})),[]),De}},37568:function(dn,yt,E){"use strict";E.d(yt,{default:function(){return $t}});var y=E(59301),xe=E(92310),he=E.n(xe),je=E(48755),be=E(56553),De=E(53075),ze=Rt=>{const{getPrefixCls:ce,direction:ne}=(0,y.useContext)(je.E_),{prefixCls:te,className:le}=Rt,ve=ce("input-group",te),re=ce("input"),[de,Ue,pt]=(0,De.ZP)(re),et=he()(ve,pt,{[`${ve}-lg`]:Rt.size==="large",[`${ve}-sm`]:Rt.size==="small",[`${ve}-compact`]:Rt.compact,[`${ve}-rtl`]:ne==="rtl"},Ue,le),tt=(0,y.useContext)(be.aM),dt=(0,y.useMemo)(()=>Object.assign(Object.assign({},tt),{isFormItemInput:!1}),[tt]);return de(y.createElement("span",{className:et,style:Rt.style,onMouseEnter:Rt.onMouseEnter,onMouseLeave:Rt.onMouseLeave,onFocus:Rt.onFocus,onBlur:Rt.onBlur},y.createElement(be.aM.Provider,{value:dt},Rt.children)))},we=E(49397),se=E(94480),Ye=E(6089),fe=E(26112),ke=E(82855),Ae=E(31756),Ce=E(16931),me=E(51636),ue=E(64910);const Me=Rt=>{const{componentCls:ce,paddingXS:ne}=Rt;return{[ce]:{display:"inline-flex",alignItems:"center",flexWrap:"nowrap",columnGap:ne,"&-rtl":{direction:"rtl"},[`${ce}-input`]:{textAlign:"center",paddingInline:Rt.paddingXXS},[`&${ce}-sm ${ce}-input`]:{paddingInline:Rt.calc(Rt.paddingXXS).div(2).equal()},[`&${ce}-lg ${ce}-input`]:{paddingInline:Rt.paddingXS}}}};var Ze=(0,Ce.I$)(["Input","OTP"],Rt=>{const ce=(0,me.mergeToken)(Rt,(0,ue.e)(Rt));return[Me(ce)]},ue.T),Qe=E(16089),oe=function(Rt,ce){var ne={};for(var te in Rt)Object.prototype.hasOwnProperty.call(Rt,te)&&ce.indexOf(te)<0&&(ne[te]=Rt[te]);if(Rt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var le=0,te=Object.getOwnPropertySymbols(Rt);le<te.length;le++)ce.indexOf(te[le])<0&&Object.prototype.propertyIsEnumerable.call(Rt,te[le])&&(ne[te[le]]=Rt[te[le]]);return ne},rt=y.forwardRef((Rt,ce)=>{const{value:ne,onChange:te,onActiveChange:le,index:ve,mask:re}=Rt,de=oe(Rt,["value","onChange","onActiveChange","index","mask"]),Ue=ne&&typeof re=="string"?re:ne,pt=St=>{te(ve,St.target.value)},et=y.useRef(null);y.useImperativeHandle(ce,()=>et.current);const tt=()=>{(0,Qe.Z)(()=>{var St;const _e=(St=et.current)===null||St===void 0?void 0:St.input;document.activeElement===_e&&_e&&_e.select()})},dt=St=>{const{key:_e,ctrlKey:st,metaKey:en}=St;_e==="ArrowLeft"?le(ve-1):_e==="ArrowRight"?le(ve+1):_e==="z"&&(st||en)&&St.preventDefault(),tt()},gt=St=>{St.key==="Backspace"&&!ne&&le(ve-1),tt()};return y.createElement(we.Z,Object.assign({type:re===!0?"password":"text"},de,{ref:et,value:Ue,onInput:pt,onFocus:tt,onKeyDown:dt,onKeyUp:gt,onMouseDown:tt,onMouseUp:tt}))}),Ne=function(Rt,ce){var ne={};for(var te in Rt)Object.prototype.hasOwnProperty.call(Rt,te)&&ce.indexOf(te)<0&&(ne[te]=Rt[te]);if(Rt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var le=0,te=Object.getOwnPropertySymbols(Rt);le<te.length;le++)ce.indexOf(te[le])<0&&Object.prototype.propertyIsEnumerable.call(Rt,te[le])&&(ne[te[le]]=Rt[te[le]]);return ne};function Ge(Rt){return(Rt||"").split("")}const ge=Rt=>{const{index:ce,prefixCls:ne,separator:te}=Rt,le=typeof te=="function"?te(ce):te;return le?y.createElement("span",{className:`${ne}-separator`},le):null};var Ve=y.forwardRef((Rt,ce)=>{const{prefixCls:ne,length:te=6,size:le,defaultValue:ve,value:re,onChange:de,formatter:Ue,separator:pt,variant:et,disabled:tt,status:dt,autoFocus:gt,mask:St,type:_e,onInput:st,inputMode:en}=Rt,Ut=Ne(Rt,["prefixCls","length","size","defaultValue","value","onChange","formatter","separator","variant","disabled","status","autoFocus","mask","type","onInput","inputMode"]),{getPrefixCls:yn,direction:tn}=y.useContext(je.E_),Vt=yn("otp",ne),Qt=(0,fe.Z)(Ut,{aria:!0,data:!0,attr:!0}),[sn,bt,Lt]=Ze(Vt),un=(0,Ae.Z)(an=>le!=null?le:an),Cn=y.useContext(be.aM),ut=(0,ke.F)(Cn.status,dt),kt=y.useMemo(()=>Object.assign(Object.assign({},Cn),{status:ut,hasFeedback:!1,feedbackIcon:null}),[Cn,ut]),wt=y.useRef(null),cn=y.useRef({});y.useImperativeHandle(ce,()=>({focus:()=>{var an;(an=cn.current[0])===null||an===void 0||an.focus()},blur:()=>{var an;for(let ln=0;ln<te;ln+=1)(an=cn.current[ln])===null||an===void 0||an.blur()},nativeElement:wt.current}));const An=an=>Ue?Ue(an):an,[Kn,rr]=y.useState(()=>Ge(An(ve||"")));y.useEffect(()=>{re!==void 0&&rr(Ge(re))},[re]);const sr=(0,Ye.Z)(an=>{rr(an),st&&st(an),de&&an.length===te&&an.every(ln=>ln)&&an.some((ln,qt)=>Kn[qt]!==ln)&&de(an.join(""))}),kn=(0,Ye.Z)((an,ln)=>{let qt=(0,se.Z)(Kn);for(let En=0;En<an;En+=1)qt[En]||(qt[En]="");ln.length<=1?qt[an]=ln:qt=qt.slice(0,an).concat(Ge(ln)),qt=qt.slice(0,te);for(let En=qt.length-1;En>=0&&!qt[En];En-=1)qt.pop();const xn=An(qt.map(En=>En||" ").join(""));return qt=Ge(xn).map((En,_n)=>En===" "&&!qt[_n]?qt[_n]:En),qt}),Jn=(an,ln)=>{var qt;const xn=kn(an,ln),En=Math.min(an+ln.length,te-1);En!==an&&xn[an]!==void 0&&((qt=cn.current[En])===null||qt===void 0||qt.focus()),sr(xn)},zt=an=>{var ln;(ln=cn.current[an])===null||ln===void 0||ln.focus()},mn={variant:et,disabled:tt,status:ut,mask:St,type:_e,inputMode:en};return sn(y.createElement("div",Object.assign({},Qt,{ref:wt,className:he()(Vt,{[`${Vt}-sm`]:un==="small",[`${Vt}-lg`]:un==="large",[`${Vt}-rtl`]:tn==="rtl"},Lt,bt)}),y.createElement(be.aM.Provider,{value:kt},Array.from({length:te}).map((an,ln)=>{const qt=`otp-${ln}`,xn=Kn[ln]||"";return y.createElement(y.Fragment,{key:qt},y.createElement(rt,Object.assign({ref:En=>{cn.current[ln]=En},index:ln,size:un,htmlSize:1,className:`${Vt}-input`,onChange:Jn,value:xn,onActiveChange:zt,autoFocus:ln===0&&gt},mn)),ln<te-1&&y.createElement(ge,{separator:pt,index:ln,prefixCls:Vt}))}))))}),Pe=E(73331),it=E(15277),Le=E(2738),pe=E(8654),qe=E(2171),Xe=E(23826),Ct=function(Rt,ce){var ne={};for(var te in Rt)Object.prototype.hasOwnProperty.call(Rt,te)&&ce.indexOf(te)<0&&(ne[te]=Rt[te]);if(Rt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var le=0,te=Object.getOwnPropertySymbols(Rt);le<te.length;le++)ce.indexOf(te[le])<0&&Object.prototype.propertyIsEnumerable.call(Rt,te[le])&&(ne[te[le]]=Rt[te[le]]);return ne};const Yt=Rt=>Rt?y.createElement(it.Z,null):y.createElement(Pe.Z,null),We={click:"onClick",hover:"onMouseOver"};var Dt=y.forwardRef((Rt,ce)=>{const{disabled:ne,action:te="click",visibilityToggle:le=!0,iconRender:ve=Yt}=Rt,re=y.useContext(qe.Z),de=ne!=null?ne:re,Ue=typeof le=="object"&&le.visible!==void 0,[pt,et]=(0,y.useState)(()=>Ue?le.visible:!1),tt=(0,y.useRef)(null);y.useEffect(()=>{Ue&&et(le.visible)},[Ue,le]);const dt=(0,Xe.Z)(tt),gt=()=>{var un;if(de)return;pt&&dt();const Cn=!pt;et(Cn),typeof le=="object"&&((un=le.onVisibleChange)===null||un===void 0||un.call(le,Cn))},St=un=>{const Cn=We[te]||"",ut=ve(pt),kt={[Cn]:gt,className:`${un}-icon`,key:"passwordIcon",onMouseDown:wt=>{wt.preventDefault()},onMouseUp:wt=>{wt.preventDefault()}};return y.cloneElement(y.isValidElement(ut)?ut:y.createElement("span",null,ut),kt)},{className:_e,prefixCls:st,inputPrefixCls:en,size:Ut}=Rt,yn=Ct(Rt,["className","prefixCls","inputPrefixCls","size"]),{getPrefixCls:tn}=y.useContext(je.E_),Vt=tn("input",en),Qt=tn("input-password",st),sn=le&&St(Qt),bt=he()(Qt,_e,{[`${Qt}-${Ut}`]:!!Ut}),Lt=Object.assign(Object.assign({},(0,Le.Z)(yn,["suffix","iconRender","visibilityToggle"])),{type:pt?"text":"password",className:bt,prefixCls:Vt,suffix:sn});return Ut&&(Lt.size=Ut),y.createElement(we.Z,Object.assign({ref:(0,pe.sQ)(ce,tt)},Lt))}),Zt=E(47472),lt=E(22703),Se=E(7939),Re=E(70045),at=function(Rt,ce){var ne={};for(var te in Rt)Object.prototype.hasOwnProperty.call(Rt,te)&&ce.indexOf(te)<0&&(ne[te]=Rt[te]);if(Rt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var le=0,te=Object.getOwnPropertySymbols(Rt);le<te.length;le++)ce.indexOf(te[le])<0&&Object.prototype.propertyIsEnumerable.call(Rt,te[le])&&(ne[te[le]]=Rt[te[le]]);return ne},ft=y.forwardRef((Rt,ce)=>{const{prefixCls:ne,inputPrefixCls:te,className:le,size:ve,suffix:re,enterButton:de=!1,addonAfter:Ue,loading:pt,disabled:et,onSearch:tt,onChange:dt,onCompositionStart:gt,onCompositionEnd:St}=Rt,_e=at(Rt,["prefixCls","inputPrefixCls","className","size","suffix","enterButton","addonAfter","loading","disabled","onSearch","onChange","onCompositionStart","onCompositionEnd"]),{getPrefixCls:st,direction:en}=y.useContext(je.E_),Ut=y.useRef(!1),yn=st("input-search",ne),tn=st("input",te),{compactSize:Vt}=(0,Re.ri)(yn,en),Qt=(0,Ae.Z)(Jn=>{var zt;return(zt=ve!=null?ve:Vt)!==null&&zt!==void 0?zt:Jn}),sn=y.useRef(null),bt=Jn=>{Jn!=null&&Jn.target&&Jn.type==="click"&&tt&&tt(Jn.target.value,Jn,{source:"clear"}),dt==null||dt(Jn)},Lt=Jn=>{var zt;document.activeElement===((zt=sn.current)===null||zt===void 0?void 0:zt.input)&&Jn.preventDefault()},un=Jn=>{var zt,mn;tt&&tt((mn=(zt=sn.current)===null||zt===void 0?void 0:zt.input)===null||mn===void 0?void 0:mn.value,Jn,{source:"input"})},Cn=Jn=>{Ut.current||pt||un(Jn)},ut=typeof de=="boolean"?y.createElement(Zt.Z,null):null,kt=`${yn}-button`;let wt;const cn=de||{},An=cn.type&&cn.type.__ANT_BUTTON===!0;An||cn.type==="button"?wt=(0,lt.Tm)(cn,Object.assign({onMouseDown:Lt,onClick:Jn=>{var zt,mn;(mn=(zt=cn==null?void 0:cn.props)===null||zt===void 0?void 0:zt.onClick)===null||mn===void 0||mn.call(zt,Jn),un(Jn)},key:"enterButton"},An?{className:kt,size:Qt}:{})):wt=y.createElement(Se.ZP,{className:kt,type:de?"primary":void 0,size:Qt,disabled:et,key:"enterButton",onMouseDown:Lt,onClick:un,loading:pt,icon:ut},de),Ue&&(wt=[wt,(0,lt.Tm)(Ue,{key:"addonAfter"})]);const Kn=he()(yn,{[`${yn}-rtl`]:en==="rtl",[`${yn}-${Qt}`]:!!Qt,[`${yn}-with-button`]:!!de},le),rr=Object.assign(Object.assign({},_e),{className:Kn,prefixCls:tn,type:"search"}),sr=Jn=>{Ut.current=!0,gt==null||gt(Jn)},kn=Jn=>{Ut.current=!1,St==null||St(Jn)};return y.createElement(we.Z,Object.assign({ref:(0,pe.sQ)(sn,ce),onPressEnter:Cn},rr,{size:Qt,onCompositionStart:sr,onCompositionEnd:kn,addonAfter:wt,suffix:re,onChange:bt,disabled:et}))}),Wt=E(79809);const xt=we.Z;xt.Group=ze,xt.Search=ft,xt.TextArea=Wt.Z,xt.Password=Dt,xt.OTP=Ve;var $t=xt},24303:function(dn,yt,E){"use strict";E.d(yt,{D:function(){return Ne},Z:function(){return Oe}});var y=E(59301),xe=E(54476),he={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M912 192H328c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h584c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0 284H328c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h584c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0 284H328c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h584c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zM104 228a56 56 0 10112 0 56 56 0 10-112 0zm0 284a56 56 0 10112 0 56 56 0 10-112 0zm0 284a56 56 0 10112 0 56 56 0 10-112 0z"}}]},name:"bars",theme:"outlined"},je=he,be=E(7657),De=function(Pe,it){return y.createElement(be.Z,(0,xe.Z)({},Pe,{ref:it,icon:je}))},ye=y.forwardRef(De),ze=ye,we=E(33853),se=E(38819),Ye=E(92310),fe=E.n(Ye),ke=E(2738),Ae=E(48755),Ce=E(6989),me=E(36237),ue=E(48923),Me=E(16931);const Ze=Ve=>{const{componentCls:Pe,siderBg:it,motionDurationMid:Le,motionDurationSlow:pe,antCls:qe,triggerHeight:Xe,triggerColor:Ct,triggerBg:Yt,headerHeight:We,zeroTriggerWidth:Be,zeroTriggerHeight:Dt,borderRadiusLG:Zt,lightSiderBg:lt,lightTriggerColor:Se,lightTriggerBg:Re,bodyBg:at}=Ve;return{[Pe]:{position:"relative",minWidth:0,background:it,transition:`all ${Le}, background 0s`,"&-has-trigger":{paddingBottom:Xe},"&-right":{order:1},[`${Pe}-children`]:{height:"100%",marginTop:-.1,paddingTop:.1,[`${qe}-menu${qe}-menu-inline-collapsed`]:{width:"auto"}},[`&-zero-width ${Pe}-children`]:{overflow:"hidden"},[`${Pe}-trigger`]:{position:"fixed",bottom:0,zIndex:1,height:Xe,color:Ct,lineHeight:(0,me.unit)(Xe),textAlign:"center",background:Yt,cursor:"pointer",transition:`all ${Le}`},[`${Pe}-zero-width-trigger`]:{position:"absolute",top:We,insetInlineEnd:Ve.calc(Be).mul(-1).equal(),zIndex:1,width:Be,height:Dt,color:Ct,fontSize:Ve.fontSizeXL,display:"flex",alignItems:"center",justifyContent:"center",background:it,borderRadius:`0 ${(0,me.unit)(Zt)} ${(0,me.unit)(Zt)} 0`,cursor:"pointer",transition:`background ${pe} ease`,"&::after":{position:"absolute",inset:0,background:"transparent",transition:`all ${pe}`,content:'""'},"&:hover::after":{background:"rgba(255, 255, 255, 0.2)"},"&-right":{insetInlineStart:Ve.calc(Be).mul(-1).equal(),borderRadius:`${(0,me.unit)(Zt)} 0 0 ${(0,me.unit)(Zt)}`}},"&-light":{background:lt,[`${Pe}-trigger`]:{color:Se,background:Re},[`${Pe}-zero-width-trigger`]:{color:Se,background:Re,border:`1px solid ${at}`,borderInlineStart:0}}}}};var Qe=(0,Me.I$)(["Layout","Sider"],Ve=>[Ze(Ve)],ue.eh,{deprecatedTokens:ue.jn}),oe=function(Ve,Pe){var it={};for(var Le in Ve)Object.prototype.hasOwnProperty.call(Ve,Le)&&Pe.indexOf(Le)<0&&(it[Le]=Ve[Le]);if(Ve!=null&&typeof Object.getOwnPropertySymbols=="function")for(var pe=0,Le=Object.getOwnPropertySymbols(Ve);pe<Le.length;pe++)Pe.indexOf(Le[pe])<0&&Object.prototype.propertyIsEnumerable.call(Ve,Le[pe])&&(it[Le[pe]]=Ve[Le[pe]]);return it};const Fe={xs:"479.98px",sm:"575.98px",md:"767.98px",lg:"991.98px",xl:"1199.98px",xxl:"1599.98px"},rt=Ve=>!Number.isNaN(Number.parseFloat(Ve))&&isFinite(Ve),Ne=y.createContext({}),Ge=(()=>{let Ve=0;return function(){let Pe=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"";return Ve+=1,`${Pe}${Ve}`}})();var Oe=y.forwardRef((Ve,Pe)=>{const{prefixCls:it,className:Le,trigger:pe,children:qe,defaultCollapsed:Xe=!1,theme:Ct="dark",style:Yt={},collapsible:We=!1,reverseArrow:Be=!1,width:Dt=200,collapsedWidth:Zt=80,zeroWidthTriggerStyle:lt,breakpoint:Se,onCollapse:Re,onBreakpoint:at}=Ve,jt=oe(Ve,["prefixCls","className","trigger","children","defaultCollapsed","theme","style","collapsible","reverseArrow","width","collapsedWidth","zeroWidthTriggerStyle","breakpoint","onCollapse","onBreakpoint"]),{siderHook:ft}=(0,y.useContext)(Ce.V),[Wt,xt]=(0,y.useState)("collapsed"in Ve?Ve.collapsed:Xe),[$t,Rt]=(0,y.useState)(!1);(0,y.useEffect)(()=>{"collapsed"in Ve&&xt(Ve.collapsed)},[Ve.collapsed]);const ce=(Qt,sn)=>{"collapsed"in Ve||xt(Qt),Re==null||Re(Qt,sn)},{getPrefixCls:ne,direction:te}=(0,y.useContext)(Ae.E_),le=ne("layout-sider",it),[ve,re,de]=Qe(le),Ue=(0,y.useRef)(null);Ue.current=Qt=>{Rt(Qt.matches),at==null||at(Qt.matches),Wt!==Qt.matches&&ce(Qt.matches,"responsive")},(0,y.useEffect)(()=>{function Qt(bt){return Ue.current(bt)}let sn;if(typeof window!="undefined"){const{matchMedia:bt}=window;if(bt&&Se&&Se in Fe){sn=bt(`screen and (max-width: ${Fe[Se]})`);try{sn.addEventListener("change",Qt)}catch(Lt){sn.addListener(Qt)}Qt(sn)}}return()=>{try{sn==null||sn.removeEventListener("change",Qt)}catch(bt){sn==null||sn.removeListener(Qt)}}},[Se]),(0,y.useEffect)(()=>{const Qt=Ge("ant-sider-");return ft.addSider(Qt),()=>ft.removeSider(Qt)},[]);const pt=()=>{ce(!Wt,"clickTrigger")},et=(0,ke.Z)(jt,["collapsed"]),tt=Wt?Zt:Dt,dt=rt(tt)?`${tt}px`:String(tt),gt=parseFloat(String(Zt||0))===0?y.createElement("span",{onClick:pt,className:fe()(`${le}-zero-width-trigger`,`${le}-zero-width-trigger-${Be?"right":"left"}`),style:lt},pe||y.createElement(ze,null)):null,St=te==="rtl"==!Be,en={expanded:St?y.createElement(se.Z,null):y.createElement(we.Z,null),collapsed:St?y.createElement(we.Z,null):y.createElement(se.Z,null)}[Wt?"collapsed":"expanded"],Ut=pe!==null?gt||y.createElement("div",{className:`${le}-trigger`,onClick:pt,style:{width:dt}},pe||en):null,yn=Object.assign(Object.assign({},Yt),{flex:`0 0 ${dt}`,maxWidth:dt,minWidth:dt,width:dt}),tn=fe()(le,`${le}-${Ct}`,{[`${le}-collapsed`]:!!Wt,[`${le}-has-trigger`]:We&&pe!==null&&!gt,[`${le}-below`]:!!$t,[`${le}-zero-width`]:parseFloat(dt)===0},Le,re,de),Vt=y.useMemo(()=>({siderCollapsed:Wt}),[Wt]);return ve(y.createElement(Ne.Provider,{value:Vt},y.createElement("aside",Object.assign({className:tn},et,{style:yn,ref:Pe}),y.createElement("div",{className:`${le}-children`},qe),We||$t&&gt?Ut:null)))})},6989:function(dn,yt,E){"use strict";E.d(yt,{V:function(){return xe}});var y=E(59301);const xe=y.createContext({siderHook:{addSider:()=>null,removeSider:()=>null}})},48923:function(dn,yt,E){"use strict";E.d(yt,{eh:function(){return je},jn:function(){return be}});var y=E(36237),xe=E(16931);const he=De=>{const{antCls:ye,componentCls:ze,colorText:we,footerBg:se,headerHeight:Ye,headerPadding:fe,headerColor:ke,footerPadding:Ae,fontSize:Ce,bodyBg:me,headerBg:ue}=De;return{[ze]:{display:"flex",flex:"auto",flexDirection:"column",minHeight:0,background:me,"&, *":{boxSizing:"border-box"},[`&${ze}-has-sider`]:{flexDirection:"row",[`> ${ze}, > ${ze}-content`]:{width:0}},[`${ze}-header, &${ze}-footer`]:{flex:"0 0 auto"},"&-rtl":{direction:"rtl"}},[`${ze}-header`]:{height:Ye,padding:fe,color:ke,lineHeight:(0,y.unit)(Ye),background:ue,[`${ye}-menu`]:{lineHeight:"inherit"}},[`${ze}-footer`]:{padding:Ae,color:we,fontSize:Ce,background:se},[`${ze}-content`]:{flex:"auto",color:we,minHeight:0}}},je=De=>{const{colorBgLayout:ye,controlHeight:ze,controlHeightLG:we,colorText:se,controlHeightSM:Ye,marginXXS:fe,colorTextLightSolid:ke,colorBgContainer:Ae}=De,Ce=we*1.25;return{colorBgHeader:"#001529",colorBgBody:ye,colorBgTrigger:"#002140",bodyBg:ye,headerBg:"#001529",headerHeight:ze*2,headerPadding:`0 ${Ce}px`,headerColor:se,footerPadding:`${Ye}px ${Ce}px`,footerBg:ye,siderBg:"#001529",triggerHeight:we+fe*2,triggerBg:"#002140",triggerColor:ke,zeroTriggerWidth:we,zeroTriggerHeight:we,lightSiderBg:Ae,lightTriggerBg:Ae,lightTriggerColor:se}},be=[["colorBgBody","bodyBg"],["colorBgHeader","headerBg"],["colorBgTrigger","triggerBg"]];yt.ZP=(0,xe.I$)("Layout",De=>[he(De)],je,{deprecatedTokens:be})},78857:function(dn,yt,E){"use strict";E.d(yt,{J:function(){return De}});var y=E(59301),xe=E(8654),he=E(62487),je=function(ye,ze){var we={};for(var se in ye)Object.prototype.hasOwnProperty.call(ye,se)&&ze.indexOf(se)<0&&(we[se]=ye[se]);if(ye!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Ye=0,se=Object.getOwnPropertySymbols(ye);Ye<se.length;Ye++)ze.indexOf(se[Ye])<0&&Object.prototype.propertyIsEnumerable.call(ye,se[Ye])&&(we[se[Ye]]=ye[se[Ye]]);return we};const be=y.createContext(null),De=y.forwardRef((ye,ze)=>{const{children:we}=ye,se=je(ye,["children"]),Ye=y.useContext(be),fe=y.useMemo(()=>Object.assign(Object.assign({},Ye),se),[Ye,se.prefixCls,se.mode,se.selectable,se.rootClassName]),ke=(0,xe.t4)(we),Ae=(0,xe.x1)(ze,ke?(0,xe.C4)(we):null);return y.createElement(be.Provider,{value:fe},y.createElement(he.Z,{space:!0},ke?y.cloneElement(we,{ref:Ae}):we))});yt.Z=be},93041:function(dn,yt,E){"use strict";E.d(yt,{default:function(){return ve}});var y=E(59301),xe=E(28321),he=E(24303),je=E(18785),be=E(92310),De=E.n(be),ye=E(6089),ze=E(2738),we=E(86641),se=E(22703),Ye=E(48755),fe=E(83397),Ae=(0,y.createContext)({prefixCls:"",firstLevel:!0,inlineCollapsed:!1}),Ce=function(re,de){var Ue={};for(var pt in re)Object.prototype.hasOwnProperty.call(re,pt)&&de.indexOf(pt)<0&&(Ue[pt]=re[pt]);if(re!=null&&typeof Object.getOwnPropertySymbols=="function")for(var et=0,pt=Object.getOwnPropertySymbols(re);et<pt.length;et++)de.indexOf(pt[et])<0&&Object.prototype.propertyIsEnumerable.call(re,pt[et])&&(Ue[pt[et]]=re[pt[et]]);return Ue},ue=re=>{const{prefixCls:de,className:Ue,dashed:pt}=re,et=Ce(re,["prefixCls","className","dashed"]),{getPrefixCls:tt}=y.useContext(Ye.E_),dt=tt("menu",de),gt=De()({[`${dt}-item-divider-dashed`]:!!pt},Ue);return y.createElement(xe.iz,Object.assign({className:gt},et))},Me=E(11592),Ze=E(25399),oe=re=>{var de;const{className:Ue,children:pt,icon:et,title:tt,danger:dt,extra:gt}=re,{prefixCls:St,firstLevel:_e,direction:st,disableMenuItemTitleTooltip:en,inlineCollapsed:Ut}=y.useContext(Ae),yn=Lt=>{const un=pt==null?void 0:pt[0],Cn=y.createElement("span",{className:De()(`${St}-title-content`,{[`${St}-title-content-with-extra`]:!!gt||gt===0})},pt);return(!et||y.isValidElement(pt)&&pt.type==="span")&&pt&&Lt&&_e&&typeof un=="string"?y.createElement("div",{className:`${St}-inline-collapsed-noicon`},un.charAt(0)):Cn},{siderCollapsed:tn}=y.useContext(he.D);let Vt=tt;typeof tt=="undefined"?Vt=_e?pt:"":tt===!1&&(Vt="");const Qt={title:Vt};!tn&&!Ut&&(Qt.title=null,Qt.open=!1);const sn=(0,Me.Z)(pt).length;let bt=y.createElement(xe.ck,Object.assign({},(0,ze.Z)(re,["title","icon","danger"]),{className:De()({[`${St}-item-danger`]:dt,[`${St}-item-only-child`]:(et?sn+1:sn)===1},Ue),title:typeof tt=="string"?tt:void 0}),(0,se.Tm)(et,{className:De()(y.isValidElement(et)?(de=et.props)===null||de===void 0?void 0:de.className:"",`${St}-item-icon`)}),yn(Ut));return en||(bt=y.createElement(Ze.Z,Object.assign({},Qt,{placement:st==="rtl"?"left":"right",classNames:{root:`${St}-inline-collapsed-tooltip`}}),bt)),bt},Fe=E(78857),rt=E(36237),Ne=E(17835),Ge=E(63356),ge=E(34961),Oe=E(46e3),Ve=E(34925),Pe=E(16931),it=E(51636),pe=re=>{const{componentCls:de,motionDurationSlow:Ue,horizontalLineHeight:pt,colorSplit:et,lineWidth:tt,lineType:dt,itemPaddingInline:gt}=re;return{[`${de}-horizontal`]:{lineHeight:pt,border:0,borderBottom:`${(0,rt.unit)(tt)} ${dt} ${et}`,boxShadow:"none","&::after":{display:"block",clear:"both",height:0,content:'"\\20"'},[`${de}-item, ${de}-submenu`]:{position:"relative",display:"inline-block",verticalAlign:"bottom",paddingInline:gt},[`> ${de}-item:hover,
> ${de}-item-active,
> ${de}-submenu ${de}-submenu-title:hover`]:{backgroundColor:"transparent"},[`${de}-item, ${de}-submenu-title`]:{transition:[`border-color ${Ue}`,`background ${Ue}`].join(",")},[`${de}-submenu-arrow`]:{display:"none"}}}},Xe=re=>{let{componentCls:de,menuArrowOffset:Ue,calc:pt}=re;return{[`${de}-rtl`]:{direction:"rtl"},[`${de}-submenu-rtl`]:{transformOrigin:"100% 0"},[`${de}-rtl${de}-vertical,
${de}-submenu-rtl ${de}-vertical`]:{[`${de}-submenu-arrow`]:{"&::before":{transform:`rotate(-45deg) translateY(${(0,rt.unit)(pt(Ue).mul(-1).equal())})`},"&::after":{transform:`rotate(45deg) translateY(${(0,rt.unit)(Ue)})`}}}}};const Ct=re=>Object.assign({},(0,Ge.oN)(re));var We=(re,de)=>{const{componentCls:Ue,itemColor:pt,itemSelectedColor:et,subMenuItemSelectedColor:tt,groupTitleColor:dt,itemBg:gt,subMenuItemBg:St,itemSelectedBg:_e,activeBarHeight:st,activeBarWidth:en,activeBarBorderWidth:Ut,motionDurationSlow:yn,motionEaseInOut:tn,motionEaseOut:Vt,itemPaddingInline:Qt,motionDurationMid:sn,itemHoverColor:bt,lineType:Lt,colorSplit:un,itemDisabledColor:Cn,dangerItemColor:ut,dangerItemHoverColor:kt,dangerItemSelectedColor:wt,dangerItemActiveBg:cn,dangerItemSelectedBg:An,popupBg:Kn,itemHoverBg:rr,itemActiveBg:sr,menuSubMenuBg:kn,horizontalItemSelectedColor:Jn,horizontalItemSelectedBg:zt,horizontalItemBorderRadius:mn,horizontalItemHoverBg:an}=re;return{[`${Ue}-${de}, ${Ue}-${de} > ${Ue}`]:{color:pt,background:gt,[`&${Ue}-root:focus-visible`]:Object.assign({},Ct(re)),[`${Ue}-item`]:{"&-group-title, &-extra":{color:dt}},[`${Ue}-submenu-selected > ${Ue}-submenu-title`]:{color:tt},[`${Ue}-item, ${Ue}-submenu-title`]:{color:pt,[`&:not(${Ue}-item-disabled):focus-visible`]:Object.assign({},Ct(re))},[`${Ue}-item-disabled, ${Ue}-submenu-disabled`]:{color:`${Cn} !important`},[`${Ue}-item:not(${Ue}-item-selected):not(${Ue}-submenu-selected)`]:{[`&:hover, > ${Ue}-submenu-title:hover`]:{color:bt}},[`&:not(${Ue}-horizontal)`]:{[`${Ue}-item:not(${Ue}-item-selected)`]:{"&:hover":{backgroundColor:rr},"&:active":{backgroundColor:sr}},[`${Ue}-submenu-title`]:{"&:hover":{backgroundColor:rr},"&:active":{backgroundColor:sr}}},[`${Ue}-item-danger`]:{color:ut,[`&${Ue}-item:hover`]:{[`&:not(${Ue}-item-selected):not(${Ue}-submenu-selected)`]:{color:kt}},[`&${Ue}-item:active`]:{background:cn}},[`${Ue}-item a`]:{"&, &:hover":{color:"inherit"}},[`${Ue}-item-selected`]:{color:et,[`&${Ue}-item-danger`]:{color:wt},"a, a:hover":{color:"inherit"}},[`& ${Ue}-item-selected`]:{backgroundColor:_e,[`&${Ue}-item-danger`]:{backgroundColor:An}},[`&${Ue}-submenu > ${Ue}`]:{backgroundColor:kn},[`&${Ue}-popup > ${Ue}`]:{backgroundColor:Kn},[`&${Ue}-submenu-popup > ${Ue}`]:{backgroundColor:Kn},[`&${Ue}-horizontal`]:Object.assign(Object.assign({},de==="dark"?{borderBottom:0}:{}),{[`> ${Ue}-item, > ${Ue}-submenu`]:{top:Ut,marginTop:re.calc(Ut).mul(-1).equal(),marginBottom:0,borderRadius:mn,"&::after":{position:"absolute",insetInline:Qt,bottom:0,borderBottom:`${(0,rt.unit)(st)} solid transparent`,transition:`border-color ${yn} ${tn}`,content:'""'},"&:hover, &-active, &-open":{background:an,"&::after":{borderBottomWidth:st,borderBottomColor:Jn}},"&-selected":{color:Jn,backgroundColor:zt,"&:hover":{backgroundColor:zt},"&::after":{borderBottomWidth:st,borderBottomColor:Jn}}}}),[`&${Ue}-root`]:{[`&${Ue}-inline, &${Ue}-vertical`]:{borderInlineEnd:`${(0,rt.unit)(Ut)} ${Lt} ${un}`}},[`&${Ue}-inline`]:{[`${Ue}-sub${Ue}-inline`]:{background:St},[`${Ue}-item`]:{position:"relative","&::after":{position:"absolute",insetBlock:0,insetInlineEnd:0,borderInlineEnd:`${(0,rt.unit)(en)} solid ${et}`,transform:"scaleY(0.0001)",opacity:0,transition:[`transform ${sn} ${Vt}`,`opacity ${sn} ${Vt}`].join(","),content:'""'},[`&${Ue}-item-danger`]:{"&::after":{borderInlineEndColor:wt}}},[`${Ue}-selected, ${Ue}-item-selected`]:{"&::after":{transform:"scaleY(1)",opacity:1,transition:[`transform ${sn} ${tn}`,`opacity ${sn} ${tn}`].join(",")}}}}}};const Be=re=>{const{componentCls:de,itemHeight:Ue,itemMarginInline:pt,padding:et,menuArrowSize:tt,marginXS:dt,itemMarginBlock:gt,itemWidth:St,itemPaddingInline:_e}=re,st=re.calc(tt).add(et).add(dt).equal();return{[`${de}-item`]:{position:"relative",overflow:"hidden"},[`${de}-item, ${de}-submenu-title`]:{height:Ue,lineHeight:(0,rt.unit)(Ue),paddingInline:_e,overflow:"hidden",textOverflow:"ellipsis",marginInline:pt,marginBlock:gt,width:St},[`> ${de}-item,
> ${de}-submenu > ${de}-submenu-title`]:{height:Ue,lineHeight:(0,rt.unit)(Ue)},[`${de}-item-group-list ${de}-submenu-title,
${de}-submenu-title`]:{paddingInlineEnd:st}}};var Zt=re=>{const{componentCls:de,iconCls:Ue,itemHeight:pt,colorTextLightSolid:et,dropdownWidth:tt,controlHeightLG:dt,motionEaseOut:gt,paddingXL:St,itemMarginInline:_e,fontSizeLG:st,motionDurationFast:en,motionDurationSlow:Ut,paddingXS:yn,boxShadowSecondary:tn,collapsedWidth:Vt,collapsedIconSize:Qt}=re,sn={height:pt,lineHeight:(0,rt.unit)(pt),listStylePosition:"inside",listStyleType:"disc"};return[{[de]:{"&-inline, &-vertical":Object.assign({[`&${de}-root`]:{boxShadow:"none"}},Be(re))},[`${de}-submenu-popup`]:{[`${de}-vertical`]:Object.assign(Object.assign({},Be(re)),{boxShadow:tn})}},{[`${de}-submenu-popup ${de}-vertical${de}-sub`]:{minWidth:tt,maxHeight:`calc(100vh - ${(0,rt.unit)(re.calc(dt).mul(2.5).equal())})`,padding:"0",overflow:"hidden",borderInlineEnd:0,"&:not([class*='-active'])":{overflowX:"hidden",overflowY:"auto"}}},{[`${de}-inline`]:{width:"100%",[`&${de}-root`]:{[`${de}-item, ${de}-submenu-title`]:{display:"flex",alignItems:"center",transition:[`border-color ${Ut}`,`background ${Ut}`,`padding ${en} ${gt}`].join(","),[`> ${de}-title-content`]:{flex:"auto",minWidth:0,overflow:"hidden",textOverflow:"ellipsis"},"> *":{flex:"none"}}},[`${de}-sub${de}-inline`]:{padding:0,border:0,borderRadius:0,boxShadow:"none",[`& > ${de}-submenu > ${de}-submenu-title`]:sn,[`& ${de}-item-group-title`]:{paddingInlineStart:St}},[`${de}-item`]:sn}},{[`${de}-inline-collapsed`]:{width:Vt,[`&${de}-root`]:{[`${de}-item, ${de}-submenu ${de}-submenu-title`]:{[`> ${de}-inline-collapsed-noicon`]:{fontSize:st,textAlign:"center"}}},[`> ${de}-item,
> ${de}-item-group > ${de}-item-group-list > ${de}-item,
> ${de}-item-group > ${de}-item-group-list > ${de}-submenu > ${de}-submenu-title,
> ${de}-submenu > ${de}-submenu-title`]:{insetInlineStart:0,paddingInline:`calc(50% - ${(0,rt.unit)(re.calc(Qt).div(2).equal())} - ${(0,rt.unit)(_e)})`,textOverflow:"clip",[`
${de}-submenu-arrow,
${de}-submenu-expand-icon
`]:{opacity:0},[`${de}-item-icon, ${Ue}`]:{margin:0,fontSize:Qt,lineHeight:(0,rt.unit)(pt),"+ span":{display:"inline-block",opacity:0}}},[`${de}-item-icon, ${Ue}`]:{display:"inline-block"},"&-tooltip":{pointerEvents:"none",[`${de}-item-icon, ${Ue}`]:{display:"none"},"a, a:hover":{color:et}},[`${de}-item-group-title`]:Object.assign(Object.assign({},Ge.vS),{paddingInline:yn})}}]};const lt=re=>{const{componentCls:de,motionDurationSlow:Ue,motionDurationMid:pt,motionEaseInOut:et,motionEaseOut:tt,iconCls:dt,iconSize:gt,iconMarginInlineEnd:St}=re;return{[`${de}-item, ${de}-submenu-title`]:{position:"relative",display:"block",margin:0,whiteSpace:"nowrap",cursor:"pointer",transition:[`border-color ${Ue}`,`background ${Ue}`,`padding calc(${Ue} + 0.1s) ${et}`].join(","),[`${de}-item-icon, ${dt}`]:{minWidth:gt,fontSize:gt,transition:[`font-size ${pt} ${tt}`,`margin ${Ue} ${et}`,`color ${Ue}`].join(","),"+ span":{marginInlineStart:St,opacity:1,transition:[`opacity ${Ue} ${et}`,`margin ${Ue}`,`color ${Ue}`].join(",")}},[`${de}-item-icon`]:Object.assign({},(0,Ge.Ro)()),[`&${de}-item-only-child`]:{[`> ${dt}, > ${de}-item-icon`]:{marginInlineEnd:0}}},[`${de}-item-disabled, ${de}-submenu-disabled`]:{background:"none !important",cursor:"not-allowed","&::after":{borderColor:"transparent !important"},a:{color:"inherit !important",cursor:"not-allowed",pointerEvents:"none"},[`> ${de}-submenu-title`]:{color:"inherit !important",cursor:"not-allowed"}}}},Se=re=>{const{componentCls:de,motionDurationSlow:Ue,motionEaseInOut:pt,borderRadius:et,menuArrowSize:tt,menuArrowOffset:dt}=re;return{[`${de}-submenu`]:{"&-expand-icon, &-arrow":{position:"absolute",top:"50%",insetInlineEnd:re.margin,width:tt,color:"currentcolor",transform:"translateY(-50%)",transition:`transform ${Ue} ${pt}, opacity ${Ue}`},"&-arrow":{"&::before, &::after":{position:"absolute",width:re.calc(tt).mul(.6).equal(),height:re.calc(tt).mul(.15).equal(),backgroundColor:"currentcolor",borderRadius:et,transition:[`background ${Ue} ${pt}`,`transform ${Ue} ${pt}`,`top ${Ue} ${pt}`,`color ${Ue} ${pt}`].join(","),content:'""'},"&::before":{transform:`rotate(45deg) translateY(${(0,rt.unit)(re.calc(dt).mul(-1).equal())})`},"&::after":{transform:`rotate(-45deg) translateY(${(0,rt.unit)(dt)})`}}}}},Re=re=>{const{antCls:de,componentCls:Ue,fontSize:pt,motionDurationSlow:et,motionDurationMid:tt,motionEaseInOut:dt,paddingXS:gt,padding:St,colorSplit:_e,lineWidth:st,zIndexPopup:en,borderRadiusLG:Ut,subMenuItemBorderRadius:yn,menuArrowSize:tn,menuArrowOffset:Vt,lineType:Qt,groupTitleLineHeight:sn,groupTitleFontSize:bt}=re;return[{"":{[Ue]:Object.assign(Object.assign({},(0,Ge.dF)()),{"&-hidden":{display:"none"}})},[`${Ue}-submenu-hidden`]:{display:"none"}},{[Ue]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},(0,Ge.Wf)(re)),(0,Ge.dF)()),{marginBottom:0,paddingInlineStart:0,fontSize:pt,lineHeight:0,listStyle:"none",outline:"none",transition:`width ${et} cubic-bezier(0.2, 0, 0, 1) 0s`,"ul, ol":{margin:0,padding:0,listStyle:"none"},"&-overflow":{display:"flex",[`${Ue}-item`]:{flex:"none"}},[`${Ue}-item, ${Ue}-submenu, ${Ue}-submenu-title`]:{borderRadius:re.itemBorderRadius},[`${Ue}-item-group-title`]:{padding:`${(0,rt.unit)(gt)} ${(0,rt.unit)(St)}`,fontSize:bt,lineHeight:sn,transition:`all ${et}`},[`&-horizontal ${Ue}-submenu`]:{transition:[`border-color ${et} ${dt}`,`background ${et} ${dt}`].join(",")},[`${Ue}-submenu, ${Ue}-submenu-inline`]:{transition:[`border-color ${et} ${dt}`,`background ${et} ${dt}`,`padding ${tt} ${dt}`].join(",")},[`${Ue}-submenu ${Ue}-sub`]:{cursor:"initial",transition:[`background ${et} ${dt}`,`padding ${et} ${dt}`].join(",")},[`${Ue}-title-content`]:{transition:`color ${et}`,"&-with-extra":{display:"inline-flex",alignItems:"center",width:"100%"},[`> ${de}-typography-ellipsis-single-line`]:{display:"inline",verticalAlign:"unset"},[`${Ue}-item-extra`]:{marginInlineStart:"auto",paddingInlineStart:re.padding}},[`${Ue}-item a`]:{"&::before":{position:"absolute",inset:0,backgroundColor:"transparent",content:'""'}},[`${Ue}-item-divider`]:{overflow:"hidden",lineHeight:0,borderColor:_e,borderStyle:Qt,borderWidth:0,borderTopWidth:st,marginBlock:st,padding:0,"&-dashed":{borderStyle:"dashed"}}}),lt(re)),{[`${Ue}-item-group`]:{[`${Ue}-item-group-list`]:{margin:0,padding:0,[`${Ue}-item, ${Ue}-submenu-title`]:{paddingInline:`${(0,rt.unit)(re.calc(pt).mul(2).equal())} ${(0,rt.unit)(St)}`}}},"&-submenu":{"&-popup":{position:"absolute",zIndex:en,borderRadius:Ut,boxShadow:"none",transformOrigin:"0 0",[`&${Ue}-submenu`]:{background:"transparent"},"&::before":{position:"absolute",inset:0,zIndex:-1,width:"100%",height:"100%",opacity:0,content:'""'},[`> ${Ue}`]:Object.assign(Object.assign(Object.assign({borderRadius:Ut},lt(re)),Se(re)),{[`${Ue}-item, ${Ue}-submenu > ${Ue}-submenu-title`]:{borderRadius:yn},[`${Ue}-submenu-title::after`]:{transition:`transform ${et} ${dt}`}})},"\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}}}),Se(re)),{[`&-inline-collapsed ${Ue}-submenu-arrow,
&-inline ${Ue}-submenu-arrow`]:{"&::before":{transform:`rotate(-45deg) translateX(${(0,rt.unit)(Vt)})`},"&::after":{transform:`rotate(45deg) translateX(${(0,rt.unit)(re.calc(Vt).mul(-1).equal())})`}},[`${Ue}-submenu-open${Ue}-submenu-inline > ${Ue}-submenu-title > ${Ue}-submenu-arrow`]:{transform:`translateY(${(0,rt.unit)(re.calc(tn).mul(.2).mul(-1).equal())})`,"&::after":{transform:`rotate(-45deg) translateX(${(0,rt.unit)(re.calc(Vt).mul(-1).equal())})`},"&::before":{transform:`rotate(45deg) translateX(${(0,rt.unit)(Vt)})`}}})},{[`${de}-layout-header`]:{[Ue]:{lineHeight:"inherit"}}}]},at=re=>{var de,Ue,pt;const{colorPrimary:et,colorError:tt,colorTextDisabled:dt,colorErrorBg:gt,colorText:St,colorTextDescription:_e,colorBgContainer:st,colorFillAlter:en,colorFillContent:Ut,lineWidth:yn,lineWidthBold:tn,controlItemBgActive:Vt,colorBgTextHover:Qt,controlHeightLG:sn,lineHeight:bt,colorBgElevated:Lt,marginXXS:un,padding:Cn,fontSize:ut,controlHeightSM:kt,fontSizeLG:wt,colorTextLightSolid:cn,colorErrorHover:An}=re,Kn=(de=re.activeBarWidth)!==null&&de!==void 0?de:0,rr=(Ue=re.activeBarBorderWidth)!==null&&Ue!==void 0?Ue:yn,sr=(pt=re.itemMarginInline)!==null&&pt!==void 0?pt:re.marginXXS,kn=new Ne.FastColor(cn).setA(.65).toRgbString();return{dropdownWidth:160,zIndexPopup:re.zIndexPopupBase+50,radiusItem:re.borderRadiusLG,itemBorderRadius:re.borderRadiusLG,radiusSubMenuItem:re.borderRadiusSM,subMenuItemBorderRadius:re.borderRadiusSM,colorItemText:St,itemColor:St,colorItemTextHover:St,itemHoverColor:St,colorItemTextHoverHorizontal:et,horizontalItemHoverColor:et,colorGroupTitle:_e,groupTitleColor:_e,colorItemTextSelected:et,itemSelectedColor:et,subMenuItemSelectedColor:et,colorItemTextSelectedHorizontal:et,horizontalItemSelectedColor:et,colorItemBg:st,itemBg:st,colorItemBgHover:Qt,itemHoverBg:Qt,colorItemBgActive:Ut,itemActiveBg:Vt,colorSubItemBg:en,subMenuItemBg:en,colorItemBgSelected:Vt,itemSelectedBg:Vt,colorItemBgSelectedHorizontal:"transparent",horizontalItemSelectedBg:"transparent",colorActiveBarWidth:0,activeBarWidth:Kn,colorActiveBarHeight:tn,activeBarHeight:tn,colorActiveBarBorderSize:yn,activeBarBorderWidth:rr,colorItemTextDisabled:dt,itemDisabledColor:dt,colorDangerItemText:tt,dangerItemColor:tt,colorDangerItemTextHover:tt,dangerItemHoverColor:tt,colorDangerItemTextSelected:tt,dangerItemSelectedColor:tt,colorDangerItemBgActive:gt,dangerItemActiveBg:gt,colorDangerItemBgSelected:gt,dangerItemSelectedBg:gt,itemMarginInline:sr,horizontalItemBorderRadius:0,horizontalItemHoverBg:"transparent",itemHeight:sn,groupTitleLineHeight:bt,collapsedWidth:sn*2,popupBg:Lt,itemMarginBlock:un,itemPaddingInline:Cn,horizontalLineHeight:`${sn*1.15}px`,iconSize:ut,iconMarginInlineEnd:kt-ut,collapsedIconSize:wt,groupTitleFontSize:ut,darkItemDisabledColor:new Ne.FastColor(cn).setA(.25).toRgbString(),darkItemColor:kn,darkDangerItemColor:tt,darkItemBg:"#001529",darkPopupBg:"#001529",darkSubMenuItemBg:"#000c17",darkItemSelectedColor:cn,darkItemSelectedBg:et,darkDangerItemSelectedBg:tt,darkItemHoverBg:"transparent",darkGroupTitleColor:kn,darkItemHoverColor:cn,darkDangerItemHoverColor:An,darkDangerItemSelectedColor:cn,darkDangerItemActiveBg:tt,itemWidth:Kn?`calc(100% + ${rr}px)`:`calc(100% - ${sr*2}px)`}};var jt=function(re){let de=arguments.length>1&&arguments[1]!==void 0?arguments[1]:re,Ue=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!0;return(0,Pe.I$)("Menu",et=>{const{colorBgElevated:tt,controlHeightLG:dt,fontSize:gt,darkItemColor:St,darkDangerItemColor:_e,darkItemBg:st,darkSubMenuItemBg:en,darkItemSelectedColor:Ut,darkItemSelectedBg:yn,darkDangerItemSelectedBg:tn,darkItemHoverBg:Vt,darkGroupTitleColor:Qt,darkItemHoverColor:sn,darkItemDisabledColor:bt,darkDangerItemHoverColor:Lt,darkDangerItemSelectedColor:un,darkDangerItemActiveBg:Cn,popupBg:ut,darkPopupBg:kt}=et,wt=et.calc(gt).div(7).mul(5).equal(),cn=(0,it.mergeToken)(et,{menuArrowSize:wt,menuHorizontalHeight:et.calc(dt).mul(1.15).equal(),menuArrowOffset:et.calc(wt).mul(.25).equal(),menuSubMenuBg:tt,calc:et.calc,popupBg:ut}),An=(0,it.mergeToken)(cn,{itemColor:St,itemHoverColor:sn,groupTitleColor:Qt,itemSelectedColor:Ut,subMenuItemSelectedColor:Ut,itemBg:st,popupBg:kt,subMenuItemBg:en,itemActiveBg:"transparent",itemSelectedBg:yn,activeBarHeight:0,activeBarBorderWidth:0,itemHoverBg:Vt,itemDisabledColor:bt,dangerItemColor:_e,dangerItemHoverColor:Lt,dangerItemSelectedColor:un,dangerItemActiveBg:Cn,dangerItemSelectedBg:tn,menuSubMenuBg:en,horizontalItemSelectedColor:Ut,horizontalItemSelectedBg:yn});return[Re(cn),pe(cn),Zt(cn),We(cn,"light"),We(An,"dark"),Xe(cn),(0,ge.Z)(cn),(0,Oe.oN)(cn,"slide-up"),(0,Oe.oN)(cn,"slide-down"),(0,Ve._y)(cn,"zoom-big")]},at,{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:Ue,unitless:{groupTitleLineHeight:!0}})(re,de)},ft=E(75030),xt=re=>{var de;const{popupClassName:Ue,icon:pt,title:et,theme:tt}=re,dt=y.useContext(Ae),{prefixCls:gt,inlineCollapsed:St,theme:_e}=dt,st=(0,xe.Xl)();let en;if(!pt)en=St&&!st.length&&et&&typeof et=="string"?y.createElement("div",{className:`${gt}-inline-collapsed-noicon`},et.charAt(0)):y.createElement("span",{className:`${gt}-title-content`},et);else{const tn=y.isValidElement(et)&&et.type==="span";en=y.createElement(y.Fragment,null,(0,se.Tm)(pt,{className:De()(y.isValidElement(pt)?(de=pt.props)===null||de===void 0?void 0:de.className:"",`${gt}-item-icon`)}),tn?et:y.createElement("span",{className:`${gt}-title-content`},et))}const Ut=y.useMemo(()=>Object.assign(Object.assign({},dt),{firstLevel:!1}),[dt]),[yn]=(0,ft.Cn)("Menu");return y.createElement(Ae.Provider,{value:Ut},y.createElement(xe.Wd,Object.assign({},(0,ze.Z)(re,["icon"]),{title:en,popupClassName:De()(gt,Ue,`${gt}-${tt||_e}`),popupStyle:Object.assign({zIndex:yn},re.popupStyle)})))},$t=function(re,de){var Ue={};for(var pt in re)Object.prototype.hasOwnProperty.call(re,pt)&&de.indexOf(pt)<0&&(Ue[pt]=re[pt]);if(re!=null&&typeof Object.getOwnPropertySymbols=="function")for(var et=0,pt=Object.getOwnPropertySymbols(re);et<pt.length;et++)de.indexOf(pt[et])<0&&Object.prototype.propertyIsEnumerable.call(re,pt[et])&&(Ue[pt[et]]=re[pt[et]]);return Ue};function Rt(re){return re===null||re===!1}const ce={item:oe,submenu:xt,divider:ue};var te=(0,y.forwardRef)((re,de)=>{var Ue;const pt=y.useContext(Fe.Z),et=pt||{},{getPrefixCls:tt,getPopupContainer:dt,direction:gt,menu:St}=y.useContext(Ye.E_),_e=tt(),{prefixCls:st,className:en,style:Ut,theme:yn="light",expandIcon:tn,_internalDisableMenuItemTitleTooltip:Vt,inlineCollapsed:Qt,siderCollapsed:sn,rootClassName:bt,mode:Lt,selectable:un,onClick:Cn,overflowedIndicatorPopupClassName:ut}=re,kt=$t(re,["prefixCls","className","style","theme","expandIcon","_internalDisableMenuItemTitleTooltip","inlineCollapsed","siderCollapsed","rootClassName","mode","selectable","onClick","overflowedIndicatorPopupClassName"]),wt=(0,ze.Z)(kt,["collapsedWidth"]);(Ue=et.validator)===null||Ue===void 0||Ue.call(et,{mode:Lt});const cn=(0,ye.Z)(function(){var En;Cn==null||Cn.apply(void 0,arguments),(En=et.onClick)===null||En===void 0||En.call(et)}),An=et.mode||Lt,Kn=un!=null?un:et.selectable,rr=Qt!=null?Qt:sn,sr={horizontal:{motionName:`${_e}-slide-up`},inline:(0,we.Z)(_e),other:{motionName:`${_e}-zoom-big`}},kn=tt("menu",st||et.prefixCls),Jn=(0,fe.Z)(kn),[zt,mn,an]=jt(kn,Jn,!pt),ln=De()(`${kn}-${yn}`,St==null?void 0:St.className,en),qt=y.useMemo(()=>{var En,_n;if(typeof tn=="function"||Rt(tn))return tn||null;if(typeof et.expandIcon=="function"||Rt(et.expandIcon))return et.expandIcon||null;if(typeof(St==null?void 0:St.expandIcon)=="function"||Rt(St==null?void 0:St.expandIcon))return(St==null?void 0:St.expandIcon)||null;const $n=(En=tn!=null?tn:et==null?void 0:et.expandIcon)!==null&&En!==void 0?En:St==null?void 0:St.expandIcon;return(0,se.Tm)($n,{className:De()(`${kn}-submenu-expand-icon`,y.isValidElement($n)?(_n=$n.props)===null||_n===void 0?void 0:_n.className:void 0)})},[tn,et==null?void 0:et.expandIcon,St==null?void 0:St.expandIcon,kn]),xn=y.useMemo(()=>({prefixCls:kn,inlineCollapsed:rr||!1,direction:gt,firstLevel:!0,theme:yn,mode:An,disableMenuItemTitleTooltip:Vt}),[kn,rr,gt,Vt,yn]);return zt(y.createElement(Fe.Z.Provider,{value:null},y.createElement(Ae.Provider,{value:xn},y.createElement(xe.ZP,Object.assign({getPopupContainer:dt,overflowedIndicator:y.createElement(je.Z,null),overflowedIndicatorPopupClassName:De()(kn,`${kn}-${yn}`,ut),mode:An,selectable:Kn,onClick:cn},wt,{inlineCollapsed:rr,style:Object.assign(Object.assign({},St==null?void 0:St.style),Ut),className:ln,prefixCls:kn,direction:gt,defaultMotions:sr,expandIcon:qt,ref:de,rootClassName:De()(bt,mn,et.rootClassName,an,Jn),_internalComponents:ce})))))});const le=(0,y.forwardRef)((re,de)=>{const Ue=(0,y.useRef)(null),pt=y.useContext(he.D);return(0,y.useImperativeHandle)(de,()=>({menu:Ue.current,focus:et=>{var tt;(tt=Ue.current)===null||tt===void 0||tt.focus(et)}})),y.createElement(te,Object.assign({ref:Ue},re,pt))});le.Item=oe,le.SubMenu=xt,le.Divider=ue,le.ItemGroup=xe.BW;var ve=le},31709:function(dn,yt,E){"use strict";E.d(yt,{Z:function(){return St}});var y=E(59301),xe=E(54476),he={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M272.9 512l265.4-339.1c4.1-5.2.4-12.9-6.3-12.9h-77.3c-4.9 0-9.6 2.3-12.6 6.1L186.8 492.3a31.99 31.99 0 000 39.5l255.3 326.1c3 3.9 7.7 6.1 12.6 6.1H532c6.7 0 10.4-7.7 6.3-12.9L272.9 512zm304 0l265.4-339.1c4.1-5.2.4-12.9-6.3-12.9h-77.3c-4.9 0-9.6 2.3-12.6 6.1L490.8 492.3a31.99 31.99 0 000 39.5l255.3 326.1c3 3.9 7.7 6.1 12.6 6.1H836c6.7 0 10.4-7.7 6.3-12.9L576.9 512z"}}]},name:"double-left",theme:"outlined"},je=he,be=E(7657),De=function(st,en){return y.createElement(be.Z,(0,xe.Z)({},st,{ref:en,icon:je}))},ye=y.forwardRef(De),ze=ye,we=E(49198),se=E(33853),Ye=E(38819),fe=E(92310),ke=E.n(fe),Ae=E(20068),Ce=E(76190),me=E(33885),ue=E(42978),Me=E(18929),Ze=E(10228),Qe=E(26112),oe=E(48736),Fe=E(17119),rt=[10,20,50,100],Ne=function(st){var en=st.pageSizeOptions,Ut=en===void 0?rt:en,yn=st.locale,tn=st.changeSize,Vt=st.pageSize,Qt=st.goButton,sn=st.quickGo,bt=st.rootPrefixCls,Lt=st.disabled,un=st.buildOptionText,Cn=st.showSizeChanger,ut=st.sizeChangerRender,kt=y.useState(""),wt=(0,ue.Z)(kt,2),cn=wt[0],An=wt[1],Kn=function(){return!cn||Number.isNaN(cn)?void 0:Number(cn)},rr=typeof un=="function"?un:function(xn){return"".concat(xn," ").concat(yn.items_per_page)},sr=function(En){An(En.target.value)},kn=function(En){Qt||cn===""||(An(""),!(En.relatedTarget&&(En.relatedTarget.className.indexOf("".concat(bt,"-item-link"))>=0||En.relatedTarget.className.indexOf("".concat(bt,"-item"))>=0))&&(sn==null||sn(Kn())))},Jn=function(En){cn!==""&&(En.keyCode===Ze.Z.ENTER||En.type==="click")&&(An(""),sn==null||sn(Kn()))},zt=function(){return Ut.some(function(En){return En.toString()===Vt.toString()})?Ut:Ut.concat([Vt]).sort(function(En,_n){var $n=Number.isNaN(Number(En))?0:Number(En),Yn=Number.isNaN(Number(_n))?0:Number(_n);return $n-Yn})},mn="".concat(bt,"-options");if(!Cn&&!sn)return null;var an=null,ln=null,qt=null;return Cn&&ut&&(an=ut({disabled:Lt,size:Vt,onSizeChange:function(En){tn==null||tn(Number(En))},"aria-label":yn.page_size,className:"".concat(mn,"-size-changer"),options:zt().map(function(xn){return{label:rr(xn),value:xn}})})),sn&&(Qt&&(qt=typeof Qt=="boolean"?y.createElement("button",{type:"button",onClick:Jn,onKeyUp:Jn,disabled:Lt,className:"".concat(mn,"-quick-jumper-button")},yn.jump_to_confirm):y.createElement("span",{onClick:Jn,onKeyUp:Jn},Qt)),ln=y.createElement("div",{className:"".concat(mn,"-quick-jumper")},yn.jump_to,y.createElement("input",{disabled:Lt,type:"text",value:cn,onChange:sr,onKeyUp:Jn,onBlur:kn,"aria-label":yn.page}),yn.page,qt)),y.createElement("li",{className:mn},an,ln)},Ge=Ne,ge=function(st){var en=st.rootPrefixCls,Ut=st.page,yn=st.active,tn=st.className,Vt=st.showTitle,Qt=st.onClick,sn=st.onKeyPress,bt=st.itemRender,Lt="".concat(en,"-item"),un=ke()(Lt,"".concat(Lt,"-").concat(Ut),(0,Ae.Z)((0,Ae.Z)({},"".concat(Lt,"-active"),yn),"".concat(Lt,"-disabled"),!Ut),tn),Cn=function(){Qt(Ut)},ut=function(cn){sn(cn,Qt,Ut)},kt=bt(Ut,"page",y.createElement("a",{rel:"nofollow"},Ut));return kt?y.createElement("li",{title:Vt?String(Ut):null,className:un,onClick:Cn,onKeyDown:ut,tabIndex:0},kt):null},Oe=ge,Ve=function(st,en,Ut){return Ut};function Pe(){}function it(_e){var st=Number(_e);return typeof st=="number"&&!Number.isNaN(st)&&isFinite(st)&&Math.floor(st)===st}function Le(_e,st,en){var Ut=typeof _e=="undefined"?st:_e;return Math.floor((en-1)/Ut)+1}var pe=function(st){var en=st.prefixCls,Ut=en===void 0?"rc-pagination":en,yn=st.selectPrefixCls,tn=yn===void 0?"rc-select":yn,Vt=st.className,Qt=st.current,sn=st.defaultCurrent,bt=sn===void 0?1:sn,Lt=st.total,un=Lt===void 0?0:Lt,Cn=st.pageSize,ut=st.defaultPageSize,kt=ut===void 0?10:ut,wt=st.onChange,cn=wt===void 0?Pe:wt,An=st.hideOnSinglePage,Kn=st.align,rr=st.showPrevNextJumpers,sr=rr===void 0?!0:rr,kn=st.showQuickJumper,Jn=st.showLessItems,zt=st.showTitle,mn=zt===void 0?!0:zt,an=st.onShowSizeChange,ln=an===void 0?Pe:an,qt=st.locale,xn=qt===void 0?Fe.Z:qt,En=st.style,_n=st.totalBoundaryShowSizeChanger,$n=_n===void 0?50:_n,Yn=st.disabled,Gn=st.simple,Qn=st.showTotal,nr=st.showSizeChanger,Rr=nr===void 0?un>$n:nr,Ir=st.sizeChangerRender,Bn=st.pageSizeOptions,Mn=st.itemRender,ur=Mn===void 0?Ve:Mn,dr=st.jumpPrevIcon,Ot=st.jumpNextIcon,Jt=st.prevIcon,vt=st.nextIcon,Tt=y.useRef(null),Et=(0,Me.Z)(10,{value:Cn,defaultValue:kt}),Ht=(0,ue.Z)(Et,2),ot=Ht[0],Xt=Ht[1],nn=(0,Me.Z)(1,{value:Qt,defaultValue:bt,postState:function(Do){return Math.max(1,Math.min(Do,Le(void 0,ot,un)))}}),Kt=(0,ue.Z)(nn,2),nt=Kt[0],Bt=Kt[1],It=y.useState(nt),_t=(0,ue.Z)(It,2),Ln=_t[0],zn=_t[1];(0,y.useEffect)(function(){zn(nt)},[nt]);var Vn=cn!==Pe,Or="current"in st,Hr=Math.max(1,nt-(Jn?3:5)),to=Math.min(Le(void 0,ot,un),nt+(Jn?3:5));function mr(Ao,Do){var Co=Ao||y.createElement("button",{type:"button","aria-label":Do,className:"".concat(Ut,"-item-link")});return typeof Ao=="function"&&(Co=y.createElement(Ao,(0,me.Z)({},st))),Co}function Er(Ao){var Do=Ao.target.value,Co=Le(void 0,ot,un),Ji;return Do===""?Ji=Do:Number.isNaN(Number(Do))?Ji=Ln:Do>=Co?Ji=Co:Ji=Number(Do),Ji}function Nr(Ao){return it(Ao)&&Ao!==nt&&it(un)&&un>0}var Yr=un>ot?kn:!1;function ro(Ao){(Ao.keyCode===Ze.Z.UP||Ao.keyCode===Ze.Z.DOWN)&&Ao.preventDefault()}function oo(Ao){var Do=Er(Ao);switch(Do!==Ln&&zn(Do),Ao.keyCode){case Ze.Z.ENTER:eo(Do);break;case Ze.Z.UP:eo(Do-1);break;case Ze.Z.DOWN:eo(Do+1);break;default:break}}function ao(Ao){eo(Er(Ao))}function Lr(Ao){var Do=Le(Ao,ot,un),Co=nt>Do&&Do!==0?Do:nt;Xt(Ao),zn(Co),ln==null||ln(nt,Ao),Bt(Co),cn==null||cn(Co,Ao)}function eo(Ao){if(Nr(Ao)&&!Yn){var Do=Le(void 0,ot,un),Co=Ao;return Ao>Do?Co=Do:Ao<1&&(Co=1),Co!==Ln&&zn(Co),Bt(Co),cn==null||cn(Co,ot),Co}return nt}var $r=nt>1,Wo=nt<Le(void 0,ot,un);function Vo(){$r&&eo(nt-1)}function ir(){Wo&&eo(nt+1)}function Ro(){eo(Hr)}function ei(){eo(to)}function yo(Ao,Do){if(Ao.key==="Enter"||Ao.charCode===Ze.Z.ENTER||Ao.keyCode===Ze.Z.ENTER){for(var Co=arguments.length,Ji=new Array(Co>2?Co-2:0),Uo=2;Uo<Co;Uo++)Ji[Uo-2]=arguments[Uo];Do.apply(void 0,Ji)}}function Zo(Ao){yo(Ao,Vo)}function vo(Ao){yo(Ao,ir)}function ui(Ao){yo(Ao,Ro)}function yi(Ao){yo(Ao,ei)}function $o(Ao){var Do=ur(Ao,"prev",mr(Jt,"prev page"));return y.isValidElement(Do)?y.cloneElement(Do,{disabled:!$r}):Do}function pi(Ao){var Do=ur(Ao,"next",mr(vt,"next page"));return y.isValidElement(Do)?y.cloneElement(Do,{disabled:!Wo}):Do}function ki(Ao){(Ao.type==="click"||Ao.keyCode===Ze.Z.ENTER)&&eo(Ln)}var Ci=null,Oi=(0,Qe.Z)(st,{aria:!0,data:!0}),No=Qn&&y.createElement("li",{className:"".concat(Ut,"-total-text")},Qn(un,[un===0?0:(nt-1)*ot+1,nt*ot>un?un:nt*ot])),Je=null,hn=Le(void 0,ot,un);if(An&&un<=ot)return null;var Mt=[],bn={rootPrefixCls:Ut,onClick:eo,onKeyPress:yo,showTitle:mn,itemRender:ur,page:-1},er=nt-1>0?nt-1:0,Rn=nt+1<hn?nt+1:hn,Nn=kn&&kn.goButton,yr=(0,Ce.Z)(Gn)==="object"?Gn.readOnly:!Gn,Zn=Nn,Hn=null;Gn&&(Nn&&(typeof Nn=="boolean"?Zn=y.createElement("button",{type:"button",onClick:ki,onKeyUp:ki},xn.jump_to_confirm):Zn=y.createElement("span",{onClick:ki,onKeyUp:ki},Nn),Zn=y.createElement("li",{title:mn?"".concat(xn.jump_to).concat(nt,"/").concat(hn):null,className:"".concat(Ut,"-simple-pager")},Zn)),Hn=y.createElement("li",{title:mn?"".concat(nt,"/").concat(hn):null,className:"".concat(Ut,"-simple-pager")},yr?Ln:y.createElement("input",{type:"text","aria-label":xn.jump_to,value:Ln,disabled:Yn,onKeyDown:ro,onKeyUp:oo,onChange:oo,onBlur:ao,size:3}),y.createElement("span",{className:"".concat(Ut,"-slash")},"/"),hn));var or=Jn?1:2;if(hn<=3+or*2){hn||Mt.push(y.createElement(Oe,(0,xe.Z)({},bn,{key:"noPager",page:1,className:"".concat(Ut,"-item-disabled")})));for(var kr=1;kr<=hn;kr+=1)Mt.push(y.createElement(Oe,(0,xe.Z)({},bn,{key:kr,page:kr,active:nt===kr})))}else{var wo=Jn?xn.prev_3:xn.prev_5,ci=Jn?xn.next_3:xn.next_5,ii=ur(Hr,"jump-prev",mr(dr,"prev page")),oi=ur(to,"jump-next",mr(Ot,"next page"));sr&&(Ci=ii?y.createElement("li",{title:mn?wo:null,key:"prev",onClick:Ro,tabIndex:0,onKeyDown:ui,className:ke()("".concat(Ut,"-jump-prev"),(0,Ae.Z)({},"".concat(Ut,"-jump-prev-custom-icon"),!!dr))},ii):null,Je=oi?y.createElement("li",{title:mn?ci:null,key:"next",onClick:ei,tabIndex:0,onKeyDown:yi,className:ke()("".concat(Ut,"-jump-next"),(0,Ae.Z)({},"".concat(Ut,"-jump-next-custom-icon"),!!Ot))},oi):null);var vi=Math.max(1,nt-or),mi=Math.min(nt+or,hn);nt-1<=or&&(mi=1+or*2),hn-nt<=or&&(vi=hn-or*2);for(var Li=vi;Li<=mi;Li+=1)Mt.push(y.createElement(Oe,(0,xe.Z)({},bn,{key:Li,page:Li,active:nt===Li})));if(nt-1>=or*2&&nt!==3&&(Mt[0]=y.cloneElement(Mt[0],{className:ke()("".concat(Ut,"-item-after-jump-prev"),Mt[0].props.className)}),Mt.unshift(Ci)),hn-nt>=or*2&&nt!==hn-2){var Bi=Mt[Mt.length-1];Mt[Mt.length-1]=y.cloneElement(Bi,{className:ke()("".concat(Ut,"-item-before-jump-next"),Bi.props.className)}),Mt.push(Je)}vi!==1&&Mt.unshift(y.createElement(Oe,(0,xe.Z)({},bn,{key:1,page:1}))),mi!==hn&&Mt.push(y.createElement(Oe,(0,xe.Z)({},bn,{key:hn,page:hn})))}var Ti=$o(er);if(Ti){var Ki=!$r||!hn;Ti=y.createElement("li",{title:mn?xn.prev_page:null,onClick:Vo,tabIndex:Ki?null:0,onKeyDown:Zo,className:ke()("".concat(Ut,"-prev"),(0,Ae.Z)({},"".concat(Ut,"-disabled"),Ki)),"aria-disabled":Ki},Ti)}var sa=pi(Rn);if(sa){var fa,wa;Gn?(fa=!Wo,wa=$r?0:null):(fa=!Wo||!hn,wa=fa?null:0),sa=y.createElement("li",{title:mn?xn.next_page:null,onClick:ir,tabIndex:wa,onKeyDown:vo,className:ke()("".concat(Ut,"-next"),(0,Ae.Z)({},"".concat(Ut,"-disabled"),fa)),"aria-disabled":fa},sa)}var ha=ke()(Ut,Vt,(0,Ae.Z)((0,Ae.Z)((0,Ae.Z)((0,Ae.Z)((0,Ae.Z)({},"".concat(Ut,"-start"),Kn==="start"),"".concat(Ut,"-center"),Kn==="center"),"".concat(Ut,"-end"),Kn==="end"),"".concat(Ut,"-simple"),Gn),"".concat(Ut,"-disabled"),Yn));return y.createElement("ul",(0,xe.Z)({className:ha,style:En,ref:Tt},Oi),No,Ti,Gn?Hn:Mt,sa,y.createElement(Ge,{locale:xn,rootPrefixCls:Ut,disabled:Yn,selectPrefixCls:tn,changeSize:Lr,pageSize:ot,pageSizeOptions:Bn,quickGo:Yr?eo:null,goButton:Zn,showSizeChanger:Rr,sizeChangerRender:Ir}))},qe=pe,Xe=E(61852),Ct=E(48755),Yt=E(31756),We=E(13783),Be=E(9017),Dt=E(82326),Zt=E(57700),lt=E(36237),Se=E(53075),Re=E(64910),at=E(39082),jt=E(63356),ft=E(51636),Wt=E(16931);const xt=_e=>{const{componentCls:st}=_e;return{[`${st}-disabled`]:{"&, &:hover":{cursor:"not-allowed",[`${st}-item-link`]:{color:_e.colorTextDisabled,cursor:"not-allowed"}},"&:focus-visible":{cursor:"not-allowed",[`${st}-item-link`]:{color:_e.colorTextDisabled,cursor:"not-allowed"}}},[`&${st}-disabled`]:{cursor:"not-allowed",[`${st}-item`]:{cursor:"not-allowed",backgroundColor:"transparent","&:hover, &:active":{backgroundColor:"transparent"},a:{color:_e.colorTextDisabled,backgroundColor:"transparent",border:"none",cursor:"not-allowed"},"&-active":{borderColor:_e.colorBorder,backgroundColor:_e.itemActiveBgDisabled,"&:hover, &:active":{backgroundColor:_e.itemActiveBgDisabled},a:{color:_e.itemActiveColorDisabled}}},[`${st}-item-link`]:{color:_e.colorTextDisabled,cursor:"not-allowed","&:hover, &:active":{backgroundColor:"transparent"},[`${st}-simple&`]:{backgroundColor:"transparent","&:hover, &:active":{backgroundColor:"transparent"}}},[`${st}-simple-pager`]:{color:_e.colorTextDisabled},[`${st}-jump-prev, ${st}-jump-next`]:{[`${st}-item-link-icon`]:{opacity:0},[`${st}-item-ellipsis`]:{opacity:1}}},[`&${st}-simple`]:{[`${st}-prev, ${st}-next`]:{[`&${st}-disabled ${st}-item-link`]:{"&:hover, &:active":{backgroundColor:"transparent"}}}}}},$t=_e=>{const{componentCls:st}=_e;return{[`&${st}-mini ${st}-total-text, &${st}-mini ${st}-simple-pager`]:{height:_e.itemSizeSM,lineHeight:(0,lt.unit)(_e.itemSizeSM)},[`&${st}-mini ${st}-item`]:{minWidth:_e.itemSizeSM,height:_e.itemSizeSM,margin:0,lineHeight:(0,lt.unit)(_e.calc(_e.itemSizeSM).sub(2).equal())},[`&${st}-mini ${st}-prev, &${st}-mini ${st}-next`]:{minWidth:_e.itemSizeSM,height:_e.itemSizeSM,margin:0,lineHeight:(0,lt.unit)(_e.itemSizeSM)},[`&${st}-mini:not(${st}-disabled)`]:{[`${st}-prev, ${st}-next`]:{[`&:hover ${st}-item-link`]:{backgroundColor:_e.colorBgTextHover},[`&:active ${st}-item-link`]:{backgroundColor:_e.colorBgTextActive},[`&${st}-disabled:hover ${st}-item-link`]:{backgroundColor:"transparent"}}},[`
&${st}-mini ${st}-prev ${st}-item-link,
&${st}-mini ${st}-next ${st}-item-link
`]:{backgroundColor:"transparent",borderColor:"transparent","&::after":{height:_e.itemSizeSM,lineHeight:(0,lt.unit)(_e.itemSizeSM)}},[`&${st}-mini ${st}-jump-prev, &${st}-mini ${st}-jump-next`]:{height:_e.itemSizeSM,marginInlineEnd:0,lineHeight:(0,lt.unit)(_e.itemSizeSM)},[`&${st}-mini ${st}-options`]:{marginInlineStart:_e.paginationMiniOptionsMarginInlineStart,"&-size-changer":{top:_e.miniOptionsSizeChangerTop},"&-quick-jumper":{height:_e.itemSizeSM,lineHeight:(0,lt.unit)(_e.itemSizeSM),input:Object.assign(Object.assign({},(0,Se.x0)(_e)),{width:_e.paginationMiniQuickJumperInputWidth,height:_e.controlHeightSM})}}}},Rt=_e=>{const{componentCls:st}=_e;return{[`
&${st}-simple ${st}-prev,
&${st}-simple ${st}-next
`]:{height:_e.itemSizeSM,lineHeight:(0,lt.unit)(_e.itemSizeSM),verticalAlign:"top",[`${st}-item-link`]:{height:_e.itemSizeSM,backgroundColor:"transparent",border:0,"&:hover":{backgroundColor:_e.colorBgTextHover},"&:active":{backgroundColor:_e.colorBgTextActive},"&::after":{height:_e.itemSizeSM,lineHeight:(0,lt.unit)(_e.itemSizeSM)}}},[`&${st}-simple ${st}-simple-pager`]:{display:"inline-block",height:_e.itemSizeSM,marginInlineEnd:_e.marginXS,input:{boxSizing:"border-box",height:"100%",padding:`0 ${(0,lt.unit)(_e.paginationItemPaddingInline)}`,textAlign:"center",backgroundColor:_e.itemInputBg,border:`${(0,lt.unit)(_e.lineWidth)} ${_e.lineType} ${_e.colorBorder}`,borderRadius:_e.borderRadius,outline:"none",transition:`border-color ${_e.motionDurationMid}`,color:"inherit","&:hover":{borderColor:_e.colorPrimary},"&:focus":{borderColor:_e.colorPrimaryHover,boxShadow:`${(0,lt.unit)(_e.inputOutlineOffset)} 0 ${(0,lt.unit)(_e.controlOutlineWidth)} ${_e.controlOutline}`},"&[disabled]":{color:_e.colorTextDisabled,backgroundColor:_e.colorBgContainerDisabled,borderColor:_e.colorBorder,cursor:"not-allowed"}}}}},ce=_e=>{const{componentCls:st}=_e;return{[`${st}-jump-prev, ${st}-jump-next`]:{outline:0,[`${st}-item-container`]:{position:"relative",[`${st}-item-link-icon`]:{color:_e.colorPrimary,fontSize:_e.fontSizeSM,opacity:0,transition:`all ${_e.motionDurationMid}`,"&-svg":{top:0,insetInlineEnd:0,bottom:0,insetInlineStart:0,margin:"auto"}},[`${st}-item-ellipsis`]:{position:"absolute",top:0,insetInlineEnd:0,bottom:0,insetInlineStart:0,display:"block",margin:"auto",color:_e.colorTextDisabled,letterSpacing:_e.paginationEllipsisLetterSpacing,textAlign:"center",textIndent:_e.paginationEllipsisTextIndent,opacity:1,transition:`all ${_e.motionDurationMid}`}},"&:hover":{[`${st}-item-link-icon`]:{opacity:1},[`${st}-item-ellipsis`]:{opacity:0}}},[`
${st}-prev,
${st}-jump-prev,
${st}-jump-next
`]:{marginInlineEnd:_e.marginXS},[`
${st}-prev,
${st}-next,
${st}-jump-prev,
${st}-jump-next
`]:{display:"inline-block",minWidth:_e.itemSize,height:_e.itemSize,color:_e.colorText,fontFamily:_e.fontFamily,lineHeight:(0,lt.unit)(_e.itemSize),textAlign:"center",verticalAlign:"middle",listStyle:"none",borderRadius:_e.borderRadius,cursor:"pointer",transition:`all ${_e.motionDurationMid}`},[`${st}-prev, ${st}-next`]:{outline:0,button:{color:_e.colorText,cursor:"pointer",userSelect:"none"},[`${st}-item-link`]:{display:"block",width:"100%",height:"100%",padding:0,fontSize:_e.fontSizeSM,textAlign:"center",backgroundColor:"transparent",border:`${(0,lt.unit)(_e.lineWidth)} ${_e.lineType} transparent`,borderRadius:_e.borderRadius,outline:"none",transition:`all ${_e.motionDurationMid}`},[`&:hover ${st}-item-link`]:{backgroundColor:_e.colorBgTextHover},[`&:active ${st}-item-link`]:{backgroundColor:_e.colorBgTextActive},[`&${st}-disabled:hover`]:{[`${st}-item-link`]:{backgroundColor:"transparent"}}},[`${st}-slash`]:{marginInlineEnd:_e.paginationSlashMarginInlineEnd,marginInlineStart:_e.paginationSlashMarginInlineStart},[`${st}-options`]:{display:"inline-block",marginInlineStart:_e.margin,verticalAlign:"middle","&-size-changer":{display:"inline-block",width:"auto"},"&-quick-jumper":{display:"inline-block",height:_e.controlHeight,marginInlineStart:_e.marginXS,lineHeight:(0,lt.unit)(_e.controlHeight),verticalAlign:"top",input:Object.assign(Object.assign(Object.assign({},(0,Se.ik)(_e)),(0,at.$U)(_e,{borderColor:_e.colorBorder,hoverBorderColor:_e.colorPrimaryHover,activeBorderColor:_e.colorPrimary,activeShadow:_e.activeShadow})),{"&[disabled]":Object.assign({},(0,at.Xy)(_e)),width:_e.calc(_e.controlHeightLG).mul(1.25).equal(),height:_e.controlHeight,boxSizing:"border-box",margin:0,marginInlineStart:_e.marginXS,marginInlineEnd:_e.marginXS})}}}},ne=_e=>{const{componentCls:st}=_e;return{[`${st}-item`]:{display:"inline-block",minWidth:_e.itemSize,height:_e.itemSize,marginInlineEnd:_e.marginXS,fontFamily:_e.fontFamily,lineHeight:(0,lt.unit)(_e.calc(_e.itemSize).sub(2).equal()),textAlign:"center",verticalAlign:"middle",listStyle:"none",backgroundColor:_e.itemBg,border:`${(0,lt.unit)(_e.lineWidth)} ${_e.lineType} transparent`,borderRadius:_e.borderRadius,outline:0,cursor:"pointer",userSelect:"none",a:{display:"block",padding:`0 ${(0,lt.unit)(_e.paginationItemPaddingInline)}`,color:_e.colorText,"&:hover":{textDecoration:"none"}},[`&:not(${st}-item-active)`]:{"&:hover":{transition:`all ${_e.motionDurationMid}`,backgroundColor:_e.colorBgTextHover},"&:active":{backgroundColor:_e.colorBgTextActive}},"&-active":{fontWeight:_e.fontWeightStrong,backgroundColor:_e.itemActiveBg,borderColor:_e.colorPrimary,a:{color:_e.colorPrimary},"&:hover":{borderColor:_e.colorPrimaryHover},"&:hover a":{color:_e.colorPrimaryHover}}}}},te=_e=>{const{componentCls:st}=_e;return{[st]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},(0,jt.Wf)(_e)),{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:'""'},[`${st}-total-text`]:{display:"inline-block",height:_e.itemSize,marginInlineEnd:_e.marginXS,lineHeight:(0,lt.unit)(_e.calc(_e.itemSize).sub(2).equal()),verticalAlign:"middle"}}),ne(_e)),ce(_e)),Rt(_e)),$t(_e)),xt(_e)),{[`@media only screen and (max-width: ${_e.screenLG}px)`]:{[`${st}-item`]:{"&-after-jump-prev, &-before-jump-next":{display:"none"}}},[`@media only screen and (max-width: ${_e.screenSM}px)`]:{[`${st}-options`]:{display:"none"}}}),[`&${_e.componentCls}-rtl`]:{direction:"rtl"}}},le=_e=>{const{componentCls:st}=_e;return{[`${st}:not(${st}-disabled)`]:{[`${st}-item`]:Object.assign({},(0,jt.Qy)(_e)),[`${st}-jump-prev, ${st}-jump-next`]:{"&:focus-visible":Object.assign({[`${st}-item-link-icon`]:{opacity:1},[`${st}-item-ellipsis`]:{opacity:0}},(0,jt.oN)(_e))},[`${st}-prev, ${st}-next`]:{[`&:focus-visible ${st}-item-link`]:Object.assign({},(0,jt.oN)(_e))}}}},ve=_e=>Object.assign({itemBg:_e.colorBgContainer,itemSize:_e.controlHeight,itemSizeSM:_e.controlHeightSM,itemActiveBg:_e.colorBgContainer,itemLinkBg:_e.colorBgContainer,itemActiveColorDisabled:_e.colorTextDisabled,itemActiveBgDisabled:_e.controlItemBgActiveDisabled,itemInputBg:_e.colorBgContainer,miniOptionsSizeChangerTop:0},(0,Re.T)(_e)),re=_e=>(0,ft.mergeToken)(_e,{inputOutlineOffset:0,paginationMiniOptionsMarginInlineStart:_e.calc(_e.marginXXS).div(2).equal(),paginationMiniQuickJumperInputWidth:_e.calc(_e.controlHeightLG).mul(1.1).equal(),paginationItemPaddingInline:_e.calc(_e.marginXXS).mul(1.5).equal(),paginationEllipsisLetterSpacing:_e.calc(_e.marginXXS).div(2).equal(),paginationSlashMarginInlineStart:_e.marginSM,paginationSlashMarginInlineEnd:_e.marginSM,paginationEllipsisTextIndent:"0.13em"},(0,Re.e)(_e));var de=(0,Wt.I$)("Pagination",_e=>{const st=re(_e);return[te(st),le(st)]},ve);const Ue=_e=>{const{componentCls:st}=_e;return{[`${st}${st}-bordered${st}-disabled:not(${st}-mini)`]:{"&, &:hover":{[`${st}-item-link`]:{borderColor:_e.colorBorder}},"&:focus-visible":{[`${st}-item-link`]:{borderColor:_e.colorBorder}},[`${st}-item, ${st}-item-link`]:{backgroundColor:_e.colorBgContainerDisabled,borderColor:_e.colorBorder,[`&:hover:not(${st}-item-active)`]:{backgroundColor:_e.colorBgContainerDisabled,borderColor:_e.colorBorder,a:{color:_e.colorTextDisabled}},[`&${st}-item-active`]:{backgroundColor:_e.itemActiveBgDisabled}},[`${st}-prev, ${st}-next`]:{"&:hover button":{backgroundColor:_e.colorBgContainerDisabled,borderColor:_e.colorBorder,color:_e.colorTextDisabled},[`${st}-item-link`]:{backgroundColor:_e.colorBgContainerDisabled,borderColor:_e.colorBorder}}},[`${st}${st}-bordered:not(${st}-mini)`]:{[`${st}-prev, ${st}-next`]:{"&:hover button":{borderColor:_e.colorPrimaryHover,backgroundColor:_e.itemBg},[`${st}-item-link`]:{backgroundColor:_e.itemLinkBg,borderColor:_e.colorBorder},[`&:hover ${st}-item-link`]:{borderColor:_e.colorPrimary,backgroundColor:_e.itemBg,color:_e.colorPrimary},[`&${st}-disabled`]:{[`${st}-item-link`]:{borderColor:_e.colorBorder,color:_e.colorTextDisabled}}},[`${st}-item`]:{backgroundColor:_e.itemBg,border:`${(0,lt.unit)(_e.lineWidth)} ${_e.lineType} ${_e.colorBorder}`,[`&:hover:not(${st}-item-active)`]:{borderColor:_e.colorPrimary,backgroundColor:_e.itemBg,a:{color:_e.colorPrimary}},"&-active":{borderColor:_e.colorPrimary}}}}};var pt=(0,Wt.bk)(["Pagination","bordered"],_e=>{const st=re(_e);return[Ue(st)]},ve);function et(_e){return(0,y.useMemo)(()=>typeof _e=="boolean"?[_e,{}]:_e&&typeof _e=="object"?[!0,_e]:[void 0,void 0],[_e])}var tt=function(_e,st){var en={};for(var Ut in _e)Object.prototype.hasOwnProperty.call(_e,Ut)&&st.indexOf(Ut)<0&&(en[Ut]=_e[Ut]);if(_e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var yn=0,Ut=Object.getOwnPropertySymbols(_e);yn<Ut.length;yn++)st.indexOf(Ut[yn])<0&&Object.prototype.propertyIsEnumerable.call(_e,Ut[yn])&&(en[Ut[yn]]=_e[Ut[yn]]);return en},gt=_e=>{const{align:st,prefixCls:en,selectPrefixCls:Ut,className:yn,rootClassName:tn,style:Vt,size:Qt,locale:sn,responsive:bt,showSizeChanger:Lt,selectComponentClass:un,pageSizeOptions:Cn}=_e,ut=tt(_e,["align","prefixCls","selectPrefixCls","className","rootClassName","style","size","locale","responsive","showSizeChanger","selectComponentClass","pageSizeOptions"]),{xs:kt}=(0,We.Z)(bt),[,wt]=(0,Zt.ZP)(),{getPrefixCls:cn,direction:An,showSizeChanger:Kn,className:rr,style:sr}=(0,Ct.dj)("pagination"),kn=cn("pagination",en),[Jn,zt,mn]=de(kn),an=(0,Yt.Z)(Qt),ln=an==="small"||!!(kt&&!an&&bt),[qt]=(0,Be.Z)("Pagination",Xe.Z),xn=Object.assign(Object.assign({},qt),sn),[En,_n]=et(Lt),[$n,Yn]=et(Kn),Gn=En!=null?En:$n,Qn=_n!=null?_n:Yn,nr=un||Dt.default,Rr=y.useMemo(()=>Cn?Cn.map(Ot=>Number(Ot)):void 0,[Cn]),Ir=Ot=>{var Jt;const{disabled:vt,size:Tt,onSizeChange:Et,"aria-label":Ht,className:ot,options:Xt}=Ot,{className:nn,onChange:Kt}=Qn||{},nt=(Jt=Xt.find(Bt=>String(Bt.value)===String(Tt)))===null||Jt===void 0?void 0:Jt.value;return y.createElement(nr,Object.assign({disabled:vt,showSearch:!0,popupMatchSelectWidth:!1,getPopupContainer:Bt=>Bt.parentNode,"aria-label":Ht,options:Xt},Qn,{value:nt,onChange:(Bt,It)=>{Et==null||Et(Bt),Kt==null||Kt(Bt,It)},size:ln?"small":"middle",className:ke()(ot,nn)}))},Bn=y.useMemo(()=>{const Ot=y.createElement("span",{className:`${kn}-item-ellipsis`},"\u2022\u2022\u2022"),Jt=y.createElement("button",{className:`${kn}-item-link`,type:"button",tabIndex:-1},An==="rtl"?y.createElement(Ye.Z,null):y.createElement(se.Z,null)),vt=y.createElement("button",{className:`${kn}-item-link`,type:"button",tabIndex:-1},An==="rtl"?y.createElement(se.Z,null):y.createElement(Ye.Z,null)),Tt=y.createElement("a",{className:`${kn}-item-link`},y.createElement("div",{className:`${kn}-item-container`},An==="rtl"?y.createElement(we.Z,{className:`${kn}-item-link-icon`}):y.createElement(ze,{className:`${kn}-item-link-icon`}),Ot)),Et=y.createElement("a",{className:`${kn}-item-link`},y.createElement("div",{className:`${kn}-item-container`},An==="rtl"?y.createElement(ze,{className:`${kn}-item-link-icon`}):y.createElement(we.Z,{className:`${kn}-item-link-icon`}),Ot));return{prevIcon:Jt,nextIcon:vt,jumpPrevIcon:Tt,jumpNextIcon:Et}},[An,kn]),Mn=cn("select",Ut),ur=ke()({[`${kn}-${st}`]:!!st,[`${kn}-mini`]:ln,[`${kn}-rtl`]:An==="rtl",[`${kn}-bordered`]:wt.wireframe},rr,yn,tn,zt,mn),dr=Object.assign(Object.assign({},sr),Vt);return Jn(y.createElement(y.Fragment,null,wt.wireframe&&y.createElement(pt,{prefixCls:kn}),y.createElement(qe,Object.assign({},Bn,ut,{style:dr,prefixCls:kn,selectPrefixCls:Mn,className:ur,locale:xn,pageSizeOptions:Rr,showSizeChanger:Gn,sizeChangerRender:Ir}))))},St=gt},69106:function(dn,yt,E){"use strict";E.d(yt,{aV:function(){return we},t5:function(){return se}});var y=E(59301),xe=E(92310),he=E.n(xe),je=E(29125),be=E(54500),De=E(48755),ye=E(85074),ze=function(fe,ke){var Ae={};for(var Ce in fe)Object.prototype.hasOwnProperty.call(fe,Ce)&&ke.indexOf(Ce)<0&&(Ae[Ce]=fe[Ce]);if(fe!=null&&typeof Object.getOwnPropertySymbols=="function")for(var me=0,Ce=Object.getOwnPropertySymbols(fe);me<Ce.length;me++)ke.indexOf(Ce[me])<0&&Object.prototype.propertyIsEnumerable.call(fe,Ce[me])&&(Ae[Ce[me]]=fe[Ce[me]]);return Ae};const we=fe=>{let{title:ke,content:Ae,prefixCls:Ce}=fe;return!ke&&!Ae?null:y.createElement(y.Fragment,null,ke&&y.createElement("div",{className:`${Ce}-title`},ke),Ae&&y.createElement("div",{className:`${Ce}-inner-content`},Ae))},se=fe=>{const{hashId:ke,prefixCls:Ae,className:Ce,style:me,placement:ue="top",title:Me,content:Ze,children:Qe}=fe,oe=(0,be.Z)(Me),Fe=(0,be.Z)(Ze),rt=he()(ke,Ae,`${Ae}-pure`,`${Ae}-placement-${ue}`,Ce);return y.createElement("div",{className:rt,style:me},y.createElement("div",{className:`${Ae}-arrow`}),y.createElement(je.G,Object.assign({},fe,{className:ke,prefixCls:Ae}),Qe||y.createElement(we,{prefixCls:Ae,title:oe,content:Fe})))},Ye=fe=>{const{prefixCls:ke,className:Ae}=fe,Ce=ze(fe,["prefixCls","className"]),{getPrefixCls:me}=y.useContext(De.E_),ue=me("popover",ke),[Me,Ze,Qe]=(0,ye.Z)(ue);return Me(y.createElement(se,Object.assign({},Ce,{prefixCls:ue,hashId:Ze,className:he()(Ae,Qe)})))};yt.ZP=Ye},37639:function(dn,yt,E){"use strict";var y=E(59301),xe=E(92310),he=E.n(xe),je=E(18929),be=E(10228),De=E(54500),ye=E(86641),ze=E(22703),we=E(25399),se=E(69106),Ye=E(48755),fe=E(85074),ke=function(me,ue){var Me={};for(var Ze in me)Object.prototype.hasOwnProperty.call(me,Ze)&&ue.indexOf(Ze)<0&&(Me[Ze]=me[Ze]);if(me!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Qe=0,Ze=Object.getOwnPropertySymbols(me);Qe<Ze.length;Qe++)ue.indexOf(Ze[Qe])<0&&Object.prototype.propertyIsEnumerable.call(me,Ze[Qe])&&(Me[Ze[Qe]]=me[Ze[Qe]]);return Me};const Ce=y.forwardRef((me,ue)=>{var Me,Ze;const{prefixCls:Qe,title:oe,content:Fe,overlayClassName:rt,placement:Ne="top",trigger:Ge="hover",children:ge,mouseEnterDelay:Oe=.1,mouseLeaveDelay:Ve=.1,onOpenChange:Pe,overlayStyle:it={},styles:Le,classNames:pe}=me,qe=ke(me,["prefixCls","title","content","overlayClassName","placement","trigger","children","mouseEnterDelay","mouseLeaveDelay","onOpenChange","overlayStyle","styles","classNames"]),{getPrefixCls:Xe,className:Ct,style:Yt,classNames:We,styles:Be}=(0,Ye.dj)("popover"),Dt=Xe("popover",Qe),[Zt,lt,Se]=(0,fe.Z)(Dt),Re=Xe(),at=he()(rt,lt,Se,Ct,We.root,pe==null?void 0:pe.root),jt=he()(We.body,pe==null?void 0:pe.body),[ft,Wt]=(0,je.Z)(!1,{value:(Me=me.open)!==null&&Me!==void 0?Me:me.visible,defaultValue:(Ze=me.defaultOpen)!==null&&Ze!==void 0?Ze:me.defaultVisible}),xt=(te,le)=>{Wt(te,!0),Pe==null||Pe(te,le)},$t=te=>{te.keyCode===be.Z.ESC&&xt(!1,te)},Rt=te=>{xt(te)},ce=(0,De.Z)(oe),ne=(0,De.Z)(Fe);return Zt(y.createElement(we.Z,Object.assign({placement:Ne,trigger:Ge,mouseEnterDelay:Oe,mouseLeaveDelay:Ve},qe,{prefixCls:Dt,classNames:{root:at,body:jt},styles:{root:Object.assign(Object.assign(Object.assign(Object.assign({},Be.root),Yt),it),Le==null?void 0:Le.root),body:Object.assign(Object.assign({},Be.body),Le==null?void 0:Le.body)},ref:ue,open:ft,onOpenChange:Rt,overlay:ce||ne?y.createElement(se.aV,{prefixCls:Dt,title:ce,content:ne}):null,transitionName:(0,ye.m)(Re,"zoom-big",qe.transitionName),"data-popover-inject":!0}),(0,ze.Tm)(ge,{onKeyDown:te=>{var le,ve;y.isValidElement(ge)&&((ve=ge==null?void 0:(le=ge.props).onKeyDown)===null||ve===void 0||ve.call(le,te)),$t(te)}})))});Ce._InternalPanelDoNotUseOrYouWillBeFired=se.ZP,yt.Z=Ce},85074:function(dn,yt,E){"use strict";var y=E(63356),xe=E(34925),he=E(37645),je=E(36305),be=E(34998),De=E(16931),ye=E(51636);const ze=Ye=>{const{componentCls:fe,popoverColor:ke,titleMinWidth:Ae,fontWeightStrong:Ce,innerPadding:me,boxShadowSecondary:ue,colorTextHeading:Me,borderRadiusLG:Ze,zIndexPopup:Qe,titleMarginBottom:oe,colorBgElevated:Fe,popoverBg:rt,titleBorderBottom:Ne,innerContentPadding:Ge,titlePadding:ge}=Ye;return[{[fe]:Object.assign(Object.assign({},(0,y.Wf)(Ye)),{position:"absolute",top:0,left:{_skip_check_:!0,value:0},zIndex:Qe,fontWeight:"normal",whiteSpace:"normal",textAlign:"start",cursor:"auto",userSelect:"text","--valid-offset-x":"var(--arrow-offset-horizontal, var(--arrow-x))",transformOrigin:["var(--valid-offset-x, 50%)","var(--arrow-y, 50%)"].join(" "),"--antd-arrow-background-color":Fe,width:"max-content",maxWidth:"100vw","&-rtl":{direction:"rtl"},"&-hidden":{display:"none"},[`${fe}-content`]:{position:"relative"},[`${fe}-inner`]:{backgroundColor:rt,backgroundClip:"padding-box",borderRadius:Ze,boxShadow:ue,padding:me},[`${fe}-title`]:{minWidth:Ae,marginBottom:oe,color:Me,fontWeight:Ce,borderBottom:Ne,padding:ge},[`${fe}-inner-content`]:{color:ke,padding:Ge}})},(0,he.ZP)(Ye,"var(--antd-arrow-background-color)"),{[`${fe}-pure`]:{position:"relative",maxWidth:"none",margin:Ye.sizePopupArrow,display:"inline-block",[`${fe}-content`]:{display:"inline-block"}}}]},we=Ye=>{const{componentCls:fe}=Ye;return{[fe]:be.i.map(ke=>{const Ae=Ye[`${ke}6`];return{[`&${fe}-${ke}`]:{"--antd-arrow-background-color":Ae,[`${fe}-inner`]:{backgroundColor:Ae},[`${fe}-arrow`]:{background:"transparent"}}}})}},se=Ye=>{const{lineWidth:fe,controlHeight:ke,fontHeight:Ae,padding:Ce,wireframe:me,zIndexPopupBase:ue,borderRadiusLG:Me,marginXS:Ze,lineType:Qe,colorSplit:oe,paddingSM:Fe}=Ye,rt=ke-Ae,Ne=rt/2,Ge=rt/2-fe,ge=Ce;return Object.assign(Object.assign(Object.assign({titleMinWidth:177,zIndexPopup:ue+30},(0,je.w)(Ye)),(0,he.wZ)({contentRadius:Me,limitVerticalRadius:!0})),{innerPadding:me?0:12,titleMarginBottom:me?0:Ze,titlePadding:me?`${Ne}px ${ge}px ${Ge}px`:0,titleBorderBottom:me?`${fe}px ${Qe} ${oe}`:"none",innerContentPadding:me?`${Fe}px ${ge}px`:0})};yt.Z=(0,De.I$)("Popover",Ye=>{const{colorBgElevated:fe,colorText:ke}=Ye,Ae=(0,ye.mergeToken)(Ye,{popoverBg:fe,popoverColor:ke});return[ze(Ae),we(Ae),(0,xe._y)(Ae,"zoom-big")]},se,{resetStyle:!1,deprecatedTokens:[["width","titleMinWidth"],["minWidth","titleMinWidth"]]})},89787:function(dn,yt,E){"use strict";E.d(yt,{Z:function(){return sn}});var y=E(59301),xe=E(17835),he=E(29679),je=E(40001),be=E(19248),De=E(99267),ye=E(92310),ze=E.n(ye),we=E(2738),se=E(48755),Ye=E(54476),fe=E(33885),ke=E(75931),Ae={percent:0,prefixCls:"rc-progress",strokeColor:"#2db7f5",strokeLinecap:"round",strokeWidth:1,trailColor:"#D9D9D9",trailWidth:1,gapPosition:"bottom"},Ce=function(){var Lt=(0,y.useRef)([]),un=(0,y.useRef)(null);return(0,y.useEffect)(function(){var Cn=Date.now(),ut=!1;Lt.current.forEach(function(kt){if(kt){ut=!0;var wt=kt.style;wt.transitionDuration=".3s, .3s, .3s, .06s",un.current&&Cn-un.current<100&&(wt.transitionDuration="0s, 0s")}}),ut&&(un.current=Date.now())}),Lt.current},me=["className","percent","prefixCls","strokeColor","strokeLinecap","strokeWidth","style","trailColor","trailWidth","transition"],ue=function(Lt){var un=(0,fe.Z)((0,fe.Z)({},Ae),Lt),Cn=un.className,ut=un.percent,kt=un.prefixCls,wt=un.strokeColor,cn=un.strokeLinecap,An=un.strokeWidth,Kn=un.style,rr=un.trailColor,sr=un.trailWidth,kn=un.transition,Jn=(0,ke.Z)(un,me);delete Jn.gapPosition;var zt=Array.isArray(ut)?ut:[ut],mn=Array.isArray(wt)?wt:[wt],an=Ce(),ln=An/2,qt=100-An/2,xn="M ".concat(cn==="round"?ln:0,",").concat(ln,`
L `).concat(cn==="round"?qt:100,",").concat(ln),En="0 0 100 ".concat(An),_n=0;return y.createElement("svg",(0,Ye.Z)({className:ze()("".concat(kt,"-line"),Cn),viewBox:En,preserveAspectRatio:"none",style:Kn},Jn),y.createElement("path",{className:"".concat(kt,"-line-trail"),d:xn,strokeLinecap:cn,stroke:rr,strokeWidth:sr||An,fillOpacity:"0"}),zt.map(function($n,Yn){var Gn=1;switch(cn){case"round":Gn=1-An/100;break;case"square":Gn=1-An/2/100;break;default:Gn=1;break}var Qn={strokeDasharray:"".concat($n*Gn,"px, 100px"),strokeDashoffset:"-".concat(_n,"px"),transition:kn||"stroke-dashoffset 0.3s ease 0s, stroke-dasharray .3s ease 0s, stroke 0.3s linear"},nr=mn[Yn]||mn[mn.length-1];return _n+=$n,y.createElement("path",{key:Yn,className:"".concat(kt,"-line-path"),d:xn,strokeLinecap:cn,stroke:nr,strokeWidth:An,fillOpacity:"0",ref:function(Ir){an[Yn]=Ir},style:Qn})}))},Me=ue,Ze=E(76190),Qe=E(42978),oe=E(47273),Fe=0,rt=(0,oe.Z)();function Ne(){var bt;return rt?(bt=Fe,Fe+=1):bt="TEST_OR_SSR",bt}var Ge=function(bt){var Lt=y.useState(),un=(0,Qe.Z)(Lt,2),Cn=un[0],ut=un[1];return y.useEffect(function(){ut("rc_progress_".concat(Ne()))},[]),bt||Cn},ge=function(Lt){var un=Lt.bg,Cn=Lt.children;return y.createElement("div",{style:{width:"100%",height:"100%",background:un}},Cn)};function Oe(bt,Lt){return Object.keys(bt).map(function(un){var Cn=parseFloat(un),ut="".concat(Math.floor(Cn*Lt),"%");return"".concat(bt[un]," ").concat(ut)})}var Ve=y.forwardRef(function(bt,Lt){var un=bt.prefixCls,Cn=bt.color,ut=bt.gradientId,kt=bt.radius,wt=bt.style,cn=bt.ptg,An=bt.strokeLinecap,Kn=bt.strokeWidth,rr=bt.size,sr=bt.gapDegree,kn=Cn&&(0,Ze.Z)(Cn)==="object",Jn=kn?"#FFF":void 0,zt=rr/2,mn=y.createElement("circle",{className:"".concat(un,"-circle-path"),r:kt,cx:zt,cy:zt,stroke:Jn,strokeLinecap:An,strokeWidth:Kn,opacity:cn===0?0:1,style:wt,ref:Lt});if(!kn)return mn;var an="".concat(ut,"-conic"),ln=sr?"".concat(180+sr/2,"deg"):"0deg",qt=Oe(Cn,(360-sr)/360),xn=Oe(Cn,1),En="conic-gradient(from ".concat(ln,", ").concat(qt.join(", "),")"),_n="linear-gradient(to ".concat(sr?"bottom":"top",", ").concat(xn.join(", "),")");return y.createElement(y.Fragment,null,y.createElement("mask",{id:an},mn),y.createElement("foreignObject",{x:0,y:0,width:rr,height:rr,mask:"url(#".concat(an,")")},y.createElement(ge,{bg:_n},y.createElement(ge,{bg:En}))))}),Pe=Ve,it=100,Le=function(Lt,un,Cn,ut,kt,wt,cn,An,Kn,rr){var sr=arguments.length>10&&arguments[10]!==void 0?arguments[10]:0,kn=Cn/100*360*((360-wt)/360),Jn=wt===0?0:{bottom:0,top:180,left:90,right:-90}[cn],zt=(100-ut)/100*un;Kn==="round"&&ut!==100&&(zt+=rr/2,zt>=un&&(zt=un-.01));var mn=it/2;return{stroke:typeof An=="string"?An:void 0,strokeDasharray:"".concat(un,"px ").concat(Lt),strokeDashoffset:zt+sr,transform:"rotate(".concat(kt+kn+Jn,"deg)"),transformOrigin:"".concat(mn,"px ").concat(mn,"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}},pe=["id","prefixCls","steps","strokeWidth","trailWidth","gapDegree","gapPosition","trailColor","strokeLinecap","style","className","strokeColor","percent"];function qe(bt){var Lt=bt!=null?bt:[];return Array.isArray(Lt)?Lt:[Lt]}var Xe=function(Lt){var un=(0,fe.Z)((0,fe.Z)({},Ae),Lt),Cn=un.id,ut=un.prefixCls,kt=un.steps,wt=un.strokeWidth,cn=un.trailWidth,An=un.gapDegree,Kn=An===void 0?0:An,rr=un.gapPosition,sr=un.trailColor,kn=un.strokeLinecap,Jn=un.style,zt=un.className,mn=un.strokeColor,an=un.percent,ln=(0,ke.Z)(un,pe),qt=it/2,xn=Ge(Cn),En="".concat(xn,"-gradient"),_n=qt-wt/2,$n=Math.PI*2*_n,Yn=Kn>0?90+Kn/2:-90,Gn=$n*((360-Kn)/360),Qn=(0,Ze.Z)(kt)==="object"?kt:{count:kt,gap:2},nr=Qn.count,Rr=Qn.gap,Ir=qe(an),Bn=qe(mn),Mn=Bn.find(function(Et){return Et&&(0,Ze.Z)(Et)==="object"}),ur=Mn&&(0,Ze.Z)(Mn)==="object",dr=ur?"butt":kn,Ot=Le($n,Gn,0,100,Yn,Kn,rr,sr,dr,wt),Jt=Ce(),vt=function(){var Ht=0;return Ir.map(function(ot,Xt){var nn=Bn[Xt]||Bn[Bn.length-1],Kt=Le($n,Gn,Ht,ot,Yn,Kn,rr,nn,dr,wt);return Ht+=ot,y.createElement(Pe,{key:Xt,color:nn,ptg:ot,radius:_n,prefixCls:ut,gradientId:En,style:Kt,strokeLinecap:dr,strokeWidth:wt,gapDegree:Kn,ref:function(Bt){Jt[Xt]=Bt},size:it})}).reverse()},Tt=function(){var Ht=Math.round(nr*(Ir[0]/100)),ot=100/nr,Xt=0;return new Array(nr).fill(null).map(function(nn,Kt){var nt=Kt<=Ht-1?Bn[0]:sr,Bt=nt&&(0,Ze.Z)(nt)==="object"?"url(#".concat(En,")"):void 0,It=Le($n,Gn,Xt,ot,Yn,Kn,rr,nt,"butt",wt,Rr);return Xt+=(Gn-It.strokeDashoffset+Rr)*100/Gn,y.createElement("circle",{key:Kt,className:"".concat(ut,"-circle-path"),r:_n,cx:qt,cy:qt,stroke:Bt,strokeWidth:wt,opacity:1,style:It,ref:function(Ln){Jt[Kt]=Ln}})})};return y.createElement("svg",(0,Ye.Z)({className:ze()("".concat(ut,"-circle"),zt),viewBox:"0 0 ".concat(it," ").concat(it),style:Jn,id:Cn,role:"presentation"},ln),!nr&&y.createElement("circle",{className:"".concat(ut,"-circle-trail"),r:_n,cx:qt,cy:qt,stroke:sr,strokeLinecap:dr,strokeWidth:cn||wt,style:Ot}),nr?Tt():vt())},Ct=Xe,Yt={Line:Me,Circle:Ct},We=E(25399),Be=E(68361);function Dt(bt){return!bt||bt<0?0:bt>100?100:bt}function Zt(bt){let{success:Lt,successPercent:un}=bt,Cn=un;return Lt&&"progress"in Lt&&(Cn=Lt.progress),Lt&&"percent"in Lt&&(Cn=Lt.percent),Cn}const lt=bt=>{let{percent:Lt,success:un,successPercent:Cn}=bt;const ut=Dt(Zt({success:un,successPercent:Cn}));return[ut,Dt(Dt(Lt)-ut)]},Se=bt=>{let{success:Lt={},strokeColor:un}=bt;const{strokeColor:Cn}=Lt;return[Cn||Be.presetPrimaryColors.green,un||null]},Re=(bt,Lt,un)=>{var Cn,ut,kt,wt;let cn=-1,An=-1;if(Lt==="step"){const Kn=un.steps,rr=un.strokeWidth;typeof bt=="string"||typeof bt=="undefined"?(cn=bt==="small"?2:14,An=rr!=null?rr:8):typeof bt=="number"?[cn,An]=[bt,bt]:[cn=14,An=8]=Array.isArray(bt)?bt:[bt.width,bt.height],cn*=Kn}else if(Lt==="line"){const Kn=un==null?void 0:un.strokeWidth;typeof bt=="string"||typeof bt=="undefined"?An=Kn||(bt==="small"?6:8):typeof bt=="number"?[cn,An]=[bt,bt]:[cn=-1,An=8]=Array.isArray(bt)?bt:[bt.width,bt.height]}else(Lt==="circle"||Lt==="dashboard")&&(typeof bt=="string"||typeof bt=="undefined"?[cn,An]=bt==="small"?[60,60]:[120,120]:typeof bt=="number"?[cn,An]=[bt,bt]:Array.isArray(bt)&&(cn=(ut=(Cn=bt[0])!==null&&Cn!==void 0?Cn:bt[1])!==null&&ut!==void 0?ut:120,An=(wt=(kt=bt[0])!==null&&kt!==void 0?kt:bt[1])!==null&&wt!==void 0?wt:120));return[cn,An]},at=3,jt=bt=>at/bt*100;var Wt=bt=>{const{prefixCls:Lt,trailColor:un=null,strokeLinecap:Cn="round",gapPosition:ut,gapDegree:kt,width:wt=120,type:cn,children:An,success:Kn,size:rr=wt,steps:sr}=bt,[kn,Jn]=Re(rr,"circle");let{strokeWidth:zt}=bt;zt===void 0&&(zt=Math.max(jt(kn),6));const mn={width:kn,height:Jn,fontSize:kn*.15+6},an=y.useMemo(()=>{if(kt||kt===0)return kt;if(cn==="dashboard")return 75},[kt,cn]),ln=lt(bt),qt=ut||cn==="dashboard"&&"bottom"||void 0,xn=Object.prototype.toString.call(bt.strokeColor)==="[object Object]",En=Se({success:Kn,strokeColor:bt.strokeColor}),_n=ze()(`${Lt}-inner`,{[`${Lt}-circle-gradient`]:xn}),$n=y.createElement(Ct,{steps:sr,percent:sr?ln[1]:ln,strokeWidth:zt,trailWidth:zt,strokeColor:sr?En[1]:En,strokeLinecap:Cn,trailColor:un,prefixCls:Lt,gapDegree:an,gapPosition:qt}),Yn=kn<=20,Gn=y.createElement("div",{className:_n,style:mn},$n,!Yn&&An);return Yn?y.createElement(We.Z,{title:An},Gn):Gn},xt=E(36237),$t=E(63356),Rt=E(16931),ce=E(51636);const ne="--progress-line-stroke-color",te="--progress-percent",le=bt=>{const Lt=bt?"100%":"-100%";return new xt.Keyframes(`antProgress${bt?"RTL":"LTR"}Active`,{"0%":{transform:`translateX(${Lt}) scaleX(0)`,opacity:.1},"20%":{transform:`translateX(${Lt}) scaleX(0)`,opacity:.5},to:{transform:"translateX(0) scaleX(1)",opacity:0}})},ve=bt=>{const{componentCls:Lt,iconCls:un}=bt;return{[Lt]:Object.assign(Object.assign({},(0,$t.Wf)(bt)),{display:"inline-block","&-rtl":{direction:"rtl"},"&-line":{position:"relative",width:"100%",fontSize:bt.fontSize},[`${Lt}-outer`]:{display:"inline-flex",alignItems:"center",width:"100%"},[`${Lt}-inner`]:{position:"relative",display:"inline-block",width:"100%",flex:1,overflow:"hidden",verticalAlign:"middle",backgroundColor:bt.remainingColor,borderRadius:bt.lineBorderRadius},[`${Lt}-inner:not(${Lt}-circle-gradient)`]:{[`${Lt}-circle-path`]:{stroke:bt.defaultColor}},[`${Lt}-success-bg, ${Lt}-bg`]:{position:"relative",background:bt.defaultColor,borderRadius:bt.lineBorderRadius,transition:`all ${bt.motionDurationSlow} ${bt.motionEaseInOutCirc}`},[`${Lt}-layout-bottom`]:{display:"flex",flexDirection:"column",alignItems:"center",justifyContent:"center",[`${Lt}-text`]:{width:"max-content",marginInlineStart:0,marginTop:bt.marginXXS}},[`${Lt}-bg`]:{overflow:"hidden","&::after":{content:'""',background:{_multi_value_:!0,value:["inherit",`var(${ne})`]},height:"100%",width:`calc(1 / var(${te}) * 100%)`,display:"block"},[`&${Lt}-bg-inner`]:{minWidth:"max-content","&::after":{content:"none"},[`${Lt}-text-inner`]:{color:bt.colorWhite,[`&${Lt}-text-bright`]:{color:"rgba(0, 0, 0, 0.45)"}}}},[`${Lt}-success-bg`]:{position:"absolute",insetBlockStart:0,insetInlineStart:0,backgroundColor:bt.colorSuccess},[`${Lt}-text`]:{display:"inline-block",marginInlineStart:bt.marginXS,color:bt.colorText,lineHeight:1,width:"2em",whiteSpace:"nowrap",textAlign:"start",verticalAlign:"middle",wordBreak:"normal",[un]:{fontSize:bt.fontSize},[`&${Lt}-text-outer`]:{width:"max-content"},[`&${Lt}-text-outer${Lt}-text-start`]:{width:"max-content",marginInlineStart:0,marginInlineEnd:bt.marginXS}},[`${Lt}-text-inner`]:{display:"flex",justifyContent:"center",alignItems:"center",width:"100%",height:"100%",marginInlineStart:0,padding:`0 ${(0,xt.unit)(bt.paddingXXS)}`,[`&${Lt}-text-start`]:{justifyContent:"start"},[`&${Lt}-text-end`]:{justifyContent:"end"}},[`&${Lt}-status-active`]:{[`${Lt}-bg::before`]:{position:"absolute",inset:0,backgroundColor:bt.colorBgContainer,borderRadius:bt.lineBorderRadius,opacity:0,animationName:le(),animationDuration:bt.progressActiveMotionDuration,animationTimingFunction:bt.motionEaseOutQuint,animationIterationCount:"infinite",content:'""'}},[`&${Lt}-rtl${Lt}-status-active`]:{[`${Lt}-bg::before`]:{animationName:le(!0)}},[`&${Lt}-status-exception`]:{[`${Lt}-bg`]:{backgroundColor:bt.colorError},[`${Lt}-text`]:{color:bt.colorError}},[`&${Lt}-status-exception ${Lt}-inner:not(${Lt}-circle-gradient)`]:{[`${Lt}-circle-path`]:{stroke:bt.colorError}},[`&${Lt}-status-success`]:{[`${Lt}-bg`]:{backgroundColor:bt.colorSuccess},[`${Lt}-text`]:{color:bt.colorSuccess}},[`&${Lt}-status-success ${Lt}-inner:not(${Lt}-circle-gradient)`]:{[`${Lt}-circle-path`]:{stroke:bt.colorSuccess}}})}},re=bt=>{const{componentCls:Lt,iconCls:un}=bt;return{[Lt]:{[`${Lt}-circle-trail`]:{stroke:bt.remainingColor},[`&${Lt}-circle ${Lt}-inner`]:{position:"relative",lineHeight:1,backgroundColor:"transparent"},[`&${Lt}-circle ${Lt}-text`]:{position:"absolute",insetBlockStart:"50%",insetInlineStart:0,width:"100%",margin:0,padding:0,color:bt.circleTextColor,fontSize:bt.circleTextFontSize,lineHeight:1,whiteSpace:"normal",textAlign:"center",transform:"translateY(-50%)",[un]:{fontSize:bt.circleIconFontSize}},[`${Lt}-circle&-status-exception`]:{[`${Lt}-text`]:{color:bt.colorError}},[`${Lt}-circle&-status-success`]:{[`${Lt}-text`]:{color:bt.colorSuccess}}},[`${Lt}-inline-circle`]:{lineHeight:1,[`${Lt}-inner`]:{verticalAlign:"bottom"}}}},de=bt=>{const{componentCls:Lt}=bt;return{[Lt]:{[`${Lt}-steps`]:{display:"inline-block","&-outer":{display:"flex",flexDirection:"row",alignItems:"center"},"&-item":{flexShrink:0,minWidth:bt.progressStepMinWidth,marginInlineEnd:bt.progressStepMarginInlineEnd,backgroundColor:bt.remainingColor,transition:`all ${bt.motionDurationSlow}`,"&-active":{backgroundColor:bt.defaultColor}}}}}},Ue=bt=>{const{componentCls:Lt,iconCls:un}=bt;return{[Lt]:{[`${Lt}-small&-line, ${Lt}-small&-line ${Lt}-text ${un}`]:{fontSize:bt.fontSizeSM}}}},pt=bt=>({circleTextColor:bt.colorText,defaultColor:bt.colorInfo,remainingColor:bt.colorFillSecondary,lineBorderRadius:100,circleTextFontSize:"1em",circleIconFontSize:`${bt.fontSize/bt.fontSizeSM}em`});var et=(0,Rt.I$)("Progress",bt=>{const Lt=bt.calc(bt.marginXXS).div(2).equal(),un=(0,ce.mergeToken)(bt,{progressStepMarginInlineEnd:Lt,progressStepMinWidth:Lt,progressActiveMotionDuration:"2.4s"});return[ve(un),re(un),de(un),Ue(un)]},pt),tt=function(bt,Lt){var un={};for(var Cn in bt)Object.prototype.hasOwnProperty.call(bt,Cn)&&Lt.indexOf(Cn)<0&&(un[Cn]=bt[Cn]);if(bt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var ut=0,Cn=Object.getOwnPropertySymbols(bt);ut<Cn.length;ut++)Lt.indexOf(Cn[ut])<0&&Object.prototype.propertyIsEnumerable.call(bt,Cn[ut])&&(un[Cn[ut]]=bt[Cn[ut]]);return un};const dt=bt=>{let Lt=[];return Object.keys(bt).forEach(un=>{const Cn=parseFloat(un.replace(/%/g,""));Number.isNaN(Cn)||Lt.push({key:Cn,value:bt[un]})}),Lt=Lt.sort((un,Cn)=>un.key-Cn.key),Lt.map(un=>{let{key:Cn,value:ut}=un;return`${ut} ${Cn}%`}).join(", ")},gt=(bt,Lt)=>{const{from:un=Be.presetPrimaryColors.blue,to:Cn=Be.presetPrimaryColors.blue,direction:ut=Lt==="rtl"?"to left":"to right"}=bt,kt=tt(bt,["from","to","direction"]);if(Object.keys(kt).length!==0){const cn=dt(kt),An=`linear-gradient(${ut}, ${cn})`;return{background:An,[ne]:An}}const wt=`linear-gradient(${ut}, ${un}, ${Cn})`;return{background:wt,[ne]:wt}};var _e=bt=>{const{prefixCls:Lt,direction:un,percent:Cn,size:ut,strokeWidth:kt,strokeColor:wt,strokeLinecap:cn="round",children:An,trailColor:Kn=null,percentPosition:rr,success:sr}=bt,{align:kn,type:Jn}=rr,zt=wt&&typeof wt!="string"?gt(wt,un):{[ne]:wt,background:wt},mn=cn==="square"||cn==="butt"?0:void 0,an=ut!=null?ut:[-1,kt||(ut==="small"?6:8)],[ln,qt]=Re(an,"line",{strokeWidth:kt}),xn={backgroundColor:Kn||void 0,borderRadius:mn},En=Object.assign(Object.assign({width:`${Dt(Cn)}%`,height:qt,borderRadius:mn},zt),{[te]:Dt(Cn)/100}),_n=Zt(bt),$n={width:`${Dt(_n)}%`,height:qt,borderRadius:mn,backgroundColor:sr==null?void 0:sr.strokeColor},Yn={width:ln<0?"100%":ln},Gn=y.createElement("div",{className:`${Lt}-inner`,style:xn},y.createElement("div",{className:ze()(`${Lt}-bg`,`${Lt}-bg-${Jn}`),style:En},Jn==="inner"&&An),_n!==void 0&&y.createElement("div",{className:`${Lt}-success-bg`,style:$n})),Qn=Jn==="outer"&&kn==="start",nr=Jn==="outer"&&kn==="end";return Jn==="outer"&&kn==="center"?y.createElement("div",{className:`${Lt}-layout-bottom`},Gn,An):y.createElement("div",{className:`${Lt}-outer`,style:Yn},Qn&&An,Gn,nr&&An)},en=bt=>{const{size:Lt,steps:un,rounding:Cn=Math.round,percent:ut=0,strokeWidth:kt=8,strokeColor:wt,trailColor:cn=null,prefixCls:An,children:Kn}=bt,rr=Cn(un*(ut/100)),sr=Lt==="small"?2:14,kn=Lt!=null?Lt:[sr,kt],[Jn,zt]=Re(kn,"step",{steps:un,strokeWidth:kt}),mn=Jn/un,an=Array.from({length:un});for(let ln=0;ln<un;ln++){const qt=Array.isArray(wt)?wt[ln]:wt;an[ln]=y.createElement("div",{key:ln,className:ze()(`${An}-steps-item`,{[`${An}-steps-item-active`]:ln<=rr-1}),style:{backgroundColor:ln<=rr-1?qt:cn,width:mn,height:zt}})}return y.createElement("div",{className:`${An}-steps-outer`},an,Kn)},Ut=function(bt,Lt){var un={};for(var Cn in bt)Object.prototype.hasOwnProperty.call(bt,Cn)&&Lt.indexOf(Cn)<0&&(un[Cn]=bt[Cn]);if(bt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var ut=0,Cn=Object.getOwnPropertySymbols(bt);ut<Cn.length;ut++)Lt.indexOf(Cn[ut])<0&&Object.prototype.propertyIsEnumerable.call(bt,Cn[ut])&&(un[Cn[ut]]=bt[Cn[ut]]);return un};const yn=null,tn=["normal","exception","active","success"];var Qt=y.forwardRef((bt,Lt)=>{const{prefixCls:un,className:Cn,rootClassName:ut,steps:kt,strokeColor:wt,percent:cn=0,size:An="default",showInfo:Kn=!0,type:rr="line",status:sr,format:kn,style:Jn,percentPosition:zt={}}=bt,mn=Ut(bt,["prefixCls","className","rootClassName","steps","strokeColor","percent","size","showInfo","type","status","format","style","percentPosition"]),{align:an="end",type:ln="outer"}=zt,qt=Array.isArray(wt)?wt[0]:wt,xn=typeof wt=="string"||Array.isArray(wt)?wt:void 0,En=y.useMemo(()=>{if(qt){const vt=typeof qt=="string"?qt:Object.values(qt)[0];return new xe.FastColor(vt).isLight()}return!1},[wt]),_n=y.useMemo(()=>{var vt,Tt;const Et=Zt(bt);return parseInt(Et!==void 0?(vt=Et!=null?Et:0)===null||vt===void 0?void 0:vt.toString():(Tt=cn!=null?cn:0)===null||Tt===void 0?void 0:Tt.toString(),10)},[cn,bt.success,bt.successPercent]),$n=y.useMemo(()=>!tn.includes(sr)&&_n>=100?"success":sr||"normal",[sr,_n]),{getPrefixCls:Yn,direction:Gn,progress:Qn}=y.useContext(se.E_),nr=Yn("progress",un),[Rr,Ir,Bn]=et(nr),Mn=rr==="line",ur=Mn&&!kt,dr=y.useMemo(()=>{if(!Kn)return null;const vt=Zt(bt);let Tt;const Et=kn||(ot=>`${ot}%`),Ht=Mn&&En&&ln==="inner";return ln==="inner"||kn||$n!=="exception"&&$n!=="success"?Tt=Et(Dt(cn),Dt(vt)):$n==="exception"?Tt=Mn?y.createElement(be.Z,null):y.createElement(De.Z,null):$n==="success"&&(Tt=Mn?y.createElement(he.Z,null):y.createElement(je.Z,null)),y.createElement("span",{className:ze()(`${nr}-text`,{[`${nr}-text-bright`]:Ht,[`${nr}-text-${an}`]:ur,[`${nr}-text-${ln}`]:ur}),title:typeof Tt=="string"?Tt:void 0},Tt)},[Kn,cn,_n,$n,rr,nr,kn]);let Ot;rr==="line"?Ot=kt?y.createElement(en,Object.assign({},bt,{strokeColor:xn,prefixCls:nr,steps:typeof kt=="object"?kt.count:kt}),dr):y.createElement(_e,Object.assign({},bt,{strokeColor:qt,prefixCls:nr,direction:Gn,percentPosition:{align:an,type:ln}}),dr):(rr==="circle"||rr==="dashboard")&&(Ot=y.createElement(Wt,Object.assign({},bt,{strokeColor:qt,prefixCls:nr,progressStatus:$n}),dr));const Jt=ze()(nr,`${nr}-status-${$n}`,{[`${nr}-${rr==="dashboard"&&"circle"||rr}`]:rr!=="line",[`${nr}-inline-circle`]:rr==="circle"&&Re(An,"circle")[0]<=20,[`${nr}-line`]:ur,[`${nr}-line-align-${an}`]:ur,[`${nr}-line-position-${ln}`]:ur,[`${nr}-steps`]:kt,[`${nr}-show-info`]:Kn,[`${nr}-${An}`]:typeof An=="string",[`${nr}-rtl`]:Gn==="rtl"},Qn==null?void 0:Qn.className,Cn,ut,Ir,Bn);return Rr(y.createElement("div",Object.assign({ref:Lt,style:Object.assign(Object.assign({},Qn==null?void 0:Qn.style),Jn),className:Jt,role:"progressbar","aria-valuenow":_n,"aria-valuemin":0,"aria-valuemax":100},(0,we.Z)(mn,["trailColor","strokeWidth","width","gapDegree","gapPosition","strokeLinecap","success","successPercent"])),Ot))}),sn=Qt},63139:function(dn,yt,E){"use strict";E.d(yt,{Z:function(){return lt}});var y=E(59301),xe=E(54476),he={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"},je=he,be=E(7657),De=function(Re,at){return y.createElement(be.Z,(0,xe.Z)({},Re,{ref:at,icon:je}))},ye=y.forwardRef(De),ze=ye,we=E(92310),se=E.n(we),Ye=E(20068),fe=E(42978),ke=E(75931),Ae=E(18929),Ce=E(10228),me=E(26112);function ue(Se,Re){var at=Se.disabled,jt=Se.prefixCls,ft=Se.character,Wt=Se.characterRender,xt=Se.index,$t=Se.count,Rt=Se.value,ce=Se.allowHalf,ne=Se.focused,te=Se.onHover,le=Se.onClick,ve=function(gt){te(gt,xt)},re=function(gt){le(gt,xt)},de=function(gt){gt.keyCode===Ce.Z.ENTER&&le(gt,xt)},Ue=xt+1,pt=new Set([jt]);Rt===0&&xt===0&&ne?pt.add("".concat(jt,"-focused")):ce&&Rt+.5>=Ue&&Rt<Ue?(pt.add("".concat(jt,"-half")),pt.add("".concat(jt,"-active")),ne&&pt.add("".concat(jt,"-focused"))):(Ue<=Rt?pt.add("".concat(jt,"-full")):pt.add("".concat(jt,"-zero")),Ue===Rt&&ne&&pt.add("".concat(jt,"-focused")));var et=typeof ft=="function"?ft(Se):ft,tt=y.createElement("li",{className:se()(Array.from(pt)),ref:Re},y.createElement("div",{onClick:at?null:re,onKeyDown:at?null:de,onMouseMove:at?null:ve,role:"radio","aria-checked":Rt>xt?"true":"false","aria-posinset":xt+1,"aria-setsize":$t,tabIndex:at?-1:0},y.createElement("div",{className:"".concat(jt,"-first")},et),y.createElement("div",{className:"".concat(jt,"-second")},et)));return Wt&&(tt=Wt(tt,Se)),tt}var Me=y.forwardRef(ue);function Ze(){var Se=y.useRef({});function Re(jt){return Se.current[jt]}function at(jt){return function(ft){Se.current[jt]=ft}}return[Re,at]}function Qe(Se){var Re=Se.pageXOffset,at="scrollLeft";if(typeof Re!="number"){var jt=Se.document;Re=jt.documentElement[at],typeof Re!="number"&&(Re=jt.body[at])}return Re}function oe(Se){var Re,at,jt=Se.ownerDocument,ft=jt.body,Wt=jt&&jt.documentElement,xt=Se.getBoundingClientRect();return Re=xt.left,at=xt.top,Re-=Wt.clientLeft||ft.clientLeft||0,at-=Wt.clientTop||ft.clientTop||0,{left:Re,top:at}}function Fe(Se){var Re=oe(Se),at=Se.ownerDocument,jt=at.defaultView||at.parentWindow;return Re.left+=Qe(jt),Re.left}var rt=["prefixCls","className","defaultValue","value","count","allowHalf","allowClear","keyboard","character","characterRender","disabled","direction","tabIndex","autoFocus","onHoverChange","onChange","onFocus","onBlur","onKeyDown","onMouseLeave"];function Ne(Se,Re){var at=Se.prefixCls,jt=at===void 0?"rc-rate":at,ft=Se.className,Wt=Se.defaultValue,xt=Se.value,$t=Se.count,Rt=$t===void 0?5:$t,ce=Se.allowHalf,ne=ce===void 0?!1:ce,te=Se.allowClear,le=te===void 0?!0:te,ve=Se.keyboard,re=ve===void 0?!0:ve,de=Se.character,Ue=de===void 0?"\u2605":de,pt=Se.characterRender,et=Se.disabled,tt=Se.direction,dt=tt===void 0?"ltr":tt,gt=Se.tabIndex,St=gt===void 0?0:gt,_e=Se.autoFocus,st=Se.onHoverChange,en=Se.onChange,Ut=Se.onFocus,yn=Se.onBlur,tn=Se.onKeyDown,Vt=Se.onMouseLeave,Qt=(0,ke.Z)(Se,rt),sn=Ze(),bt=(0,fe.Z)(sn,2),Lt=bt[0],un=bt[1],Cn=y.useRef(null),ut=function(){if(!et){var dr;(dr=Cn.current)===null||dr===void 0||dr.focus()}};y.useImperativeHandle(Re,function(){return{focus:ut,blur:function(){if(!et){var dr;(dr=Cn.current)===null||dr===void 0||dr.blur()}}}});var kt=(0,Ae.Z)(Wt||0,{value:xt}),wt=(0,fe.Z)(kt,2),cn=wt[0],An=wt[1],Kn=(0,Ae.Z)(null),rr=(0,fe.Z)(Kn,2),sr=rr[0],kn=rr[1],Jn=function(dr,Ot){var Jt=dt==="rtl",vt=dr+1;if(ne){var Tt=Lt(dr),Et=Fe(Tt),Ht=Tt.clientWidth;(Jt&&Ot-Et>Ht/2||!Jt&&Ot-Et<Ht/2)&&(vt-=.5)}return vt},zt=function(dr){An(dr),en==null||en(dr)},mn=y.useState(!1),an=(0,fe.Z)(mn,2),ln=an[0],qt=an[1],xn=function(){qt(!0),Ut==null||Ut()},En=function(){qt(!1),yn==null||yn()},_n=y.useState(null),$n=(0,fe.Z)(_n,2),Yn=$n[0],Gn=$n[1],Qn=function(dr,Ot){var Jt=Jn(Ot,dr.pageX);Jt!==sr&&(Gn(Jt),kn(null)),st==null||st(Jt)},nr=function(dr){et||(Gn(null),kn(null),st==null||st(void 0)),dr&&(Vt==null||Vt(dr))},Rr=function(dr,Ot){var Jt=Jn(Ot,dr.pageX),vt=!1;le&&(vt=Jt===cn),nr(),zt(vt?0:Jt),kn(vt?Jt:null)},Ir=function(dr){var Ot=dr.keyCode,Jt=dt==="rtl",vt=ne?.5:1;re&&(Ot===Ce.Z.RIGHT&&cn<Rt&&!Jt?(zt(cn+vt),dr.preventDefault()):Ot===Ce.Z.LEFT&&cn>0&&!Jt||Ot===Ce.Z.RIGHT&&cn>0&&Jt?(zt(cn-vt),dr.preventDefault()):Ot===Ce.Z.LEFT&&cn<Rt&&Jt&&(zt(cn+vt),dr.preventDefault())),tn==null||tn(dr)};y.useEffect(function(){_e&&!et&&ut()},[]);var Bn=new Array(Rt).fill(0).map(function(ur,dr){return y.createElement(Me,{ref:un(dr),index:dr,count:Rt,disabled:et,prefixCls:"".concat(jt,"-star"),allowHalf:ne,value:Yn===null?cn:Yn,onClick:Rr,onHover:Qn,key:ur||dr,character:Ue,characterRender:pt,focused:ln})}),Mn=se()(jt,ft,(0,Ye.Z)((0,Ye.Z)({},"".concat(jt,"-disabled"),et),"".concat(jt,"-rtl"),dt==="rtl"));return y.createElement("ul",(0,xe.Z)({className:Mn,onMouseLeave:nr,tabIndex:et?-1:St,onFocus:et?null:xn,onBlur:et?null:En,onKeyDown:et?null:Ir,ref:Cn},(0,me.Z)(Qt,{aria:!0,data:!0,attr:!0})),Bn)}var Ge=y.forwardRef(Ne),ge=Ge,Oe=E(48755),Ve=E(25399),Pe=E(36237),it=E(63356),Le=E(16931),pe=E(51636);const qe=Se=>{const{componentCls:Re}=Se;return{[`${Re}-star`]:{position:"relative",display:"inline-block",color:"inherit",cursor:"pointer","&:not(:last-child)":{marginInlineEnd:Se.marginXS},"> div":{transition:`all ${Se.motionDurationMid}, outline 0s`,"&:hover":{transform:Se.starHoverScale},"&:focus":{outline:0},"&:focus-visible":{outline:`${(0,Pe.unit)(Se.lineWidth)} dashed ${Se.starColor}`,transform:Se.starHoverScale}},"&-first, &-second":{color:Se.starBg,transition:`all ${Se.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"}}}},Xe=Se=>({[`&-rtl${Se.componentCls}`]:{direction:"rtl"}}),Ct=Se=>{const{componentCls:Re}=Se;return{[Re]:Object.assign(Object.assign(Object.assign(Object.assign({},(0,it.Wf)(Se)),{display:"inline-block",margin:0,padding:0,color:Se.starColor,fontSize:Se.starSize,lineHeight:1,listStyle:"none",outline:"none",[`&-disabled${Re} ${Re}-star`]:{cursor:"default","> div:hover":{transform:"scale(1)"}}}),qe(Se)),Xe(Se))}},Yt=Se=>({starColor:Se.yellow6,starSize:Se.controlHeightLG*.5,starHoverScale:"scale(1.1)",starBg:Se.colorFillContent});var We=(0,Le.I$)("Rate",Se=>{const Re=(0,pe.mergeToken)(Se,{});return[Ct(Re)]},Yt),Be=E(2171),Dt=function(Se,Re){var at={};for(var jt in Se)Object.prototype.hasOwnProperty.call(Se,jt)&&Re.indexOf(jt)<0&&(at[jt]=Se[jt]);if(Se!=null&&typeof Object.getOwnPropertySymbols=="function")for(var ft=0,jt=Object.getOwnPropertySymbols(Se);ft<jt.length;ft++)Re.indexOf(jt[ft])<0&&Object.prototype.propertyIsEnumerable.call(Se,jt[ft])&&(at[jt[ft]]=Se[jt[ft]]);return at},lt=y.forwardRef((Se,Re)=>{const{prefixCls:at,className:jt,rootClassName:ft,style:Wt,tooltips:xt,character:$t=y.createElement(ze,null),disabled:Rt}=Se,ce=Dt(Se,["prefixCls","className","rootClassName","style","tooltips","character","disabled"]),ne=(gt,St)=>{let{index:_e}=St;return xt?y.createElement(Ve.Z,{title:xt[_e]},gt):gt},{getPrefixCls:te,direction:le,rate:ve}=y.useContext(Oe.E_),re=te("rate",at),[de,Ue,pt]=We(re),et=Object.assign(Object.assign({},ve==null?void 0:ve.style),Wt),tt=y.useContext(Be.Z),dt=Rt!=null?Rt:tt;return de(y.createElement(ge,Object.assign({ref:Re,character:$t,characterRender:ne,disabled:dt},ce,{className:se()(jt,ft,Ue,pt,ve==null?void 0:ve.className),style:et,prefixCls:re,direction:le})))})},82326:function(dn,yt,E){"use strict";var y=E(59301),xe=E(92310),he=E.n(xe),je=E(37463),be=E(2738),De=E(75030),ye=E(86641),ze=E(45915),we=E(82855),se=E(48755),Ye=E(38406),fe=E(2171),ke=E(83397),Ae=E(31756),Ce=E(56553),me=E(24971),ue=E(70045),Me=E(57700),Ze=E(1722),Qe=E(90376),oe=E(68525),Fe=E(90005),rt=function(Ve,Pe){var it={};for(var Le in Ve)Object.prototype.hasOwnProperty.call(Ve,Le)&&Pe.indexOf(Le)<0&&(it[Le]=Ve[Le]);if(Ve!=null&&typeof Object.getOwnPropertySymbols=="function")for(var pe=0,Le=Object.getOwnPropertySymbols(Ve);pe<Le.length;pe++)Pe.indexOf(Le[pe])<0&&Object.prototype.propertyIsEnumerable.call(Ve,Le[pe])&&(it[Le[pe]]=Ve[Le[pe]]);return it};const Ne="SECRET_COMBOBOX_MODE_DO_NOT_USE",Ge=(Ve,Pe)=>{var it;const{prefixCls:Le,bordered:pe,className:qe,rootClassName:Xe,getPopupContainer:Ct,popupClassName:Yt,dropdownClassName:We,listHeight:Be=256,placement:Dt,listItemHeight:Zt,size:lt,disabled:Se,notFoundContent:Re,status:at,builtinPlacements:jt,dropdownMatchSelectWidth:ft,popupMatchSelectWidth:Wt,direction:xt,style:$t,allowClear:Rt,variant:ce,dropdownStyle:ne,transitionName:te,tagRender:le,maxCount:ve,prefix:re}=Ve,de=rt(Ve,["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:Ue,getPrefixCls:pt,renderEmpty:et,direction:tt,virtual:dt,popupMatchSelectWidth:gt,popupOverflow:St}=y.useContext(se.E_),_e=(0,se.dj)("select"),[,st]=(0,Me.ZP)(),en=Zt!=null?Zt:st==null?void 0:st.controlHeight,Ut=pt("select",Le),yn=pt(),tn=xt!=null?xt:tt,{compactSize:Vt,compactItemClassnames:Qt}=(0,ue.ri)(Ut,tn),[sn,bt]=(0,me.Z)("select",ce,pe),Lt=(0,ke.Z)(Ut),[un,Cn,ut]=(0,Qe.Z)(Ut,Lt),kt=y.useMemo(()=>{const{mode:Ir}=Ve;if(Ir!=="combobox")return Ir===Ne?"combobox":Ir},[Ve.mode]),wt=kt==="multiple"||kt==="tags",cn=(0,Fe.Z)(Ve.suffixIcon,Ve.showArrow),An=(it=Wt!=null?Wt:ft)!==null&&it!==void 0?it:gt,{status:Kn,hasFeedback:rr,isFormItemInput:sr,feedbackIcon:kn}=y.useContext(Ce.aM),Jn=(0,we.F)(Kn,at);let zt;Re!==void 0?zt=Re:kt==="combobox"?zt=null:zt=(et==null?void 0:et("Select"))||y.createElement(Ye.Z,{componentName:"Select"});const{suffixIcon:mn,itemIcon:an,removeIcon:ln,clearIcon:qt}=(0,oe.Z)(Object.assign(Object.assign({},de),{multiple:wt,hasFeedback:rr,feedbackIcon:kn,showSuffixIcon:cn,prefixCls:Ut,componentName:"Select"})),xn=Rt===!0?{clearIcon:qt}:Rt,En=(0,be.Z)(de,["suffixIcon","itemIcon"]),_n=he()(Yt||We,{[`${Ut}-dropdown-${tn}`]:tn==="rtl"},Xe,ut,Lt,Cn),$n=(0,Ae.Z)(Ir=>{var Bn;return(Bn=lt!=null?lt:Vt)!==null&&Bn!==void 0?Bn:Ir}),Yn=y.useContext(fe.Z),Gn=Se!=null?Se:Yn,Qn=he()({[`${Ut}-lg`]:$n==="large",[`${Ut}-sm`]:$n==="small",[`${Ut}-rtl`]:tn==="rtl",[`${Ut}-${sn}`]:bt,[`${Ut}-in-form-item`]:sr},(0,we.Z)(Ut,Jn,rr),Qt,_e.className,qe,Xe,ut,Lt,Cn),nr=y.useMemo(()=>Dt!==void 0?Dt:tn==="rtl"?"bottomRight":"bottomLeft",[Dt,tn]),[Rr]=(0,De.Cn)("SelectLike",ne==null?void 0:ne.zIndex);return un(y.createElement(je.ZP,Object.assign({ref:Pe,virtual:dt,showSearch:_e.showSearch},En,{style:Object.assign(Object.assign({},_e.style),$t),dropdownMatchSelectWidth:An,transitionName:(0,ye.m)(yn,"slide-up",te),builtinPlacements:(0,Ze.Z)(jt,St),listHeight:Be,listItemHeight:en,mode:kt,prefixCls:Ut,placement:nr,direction:tn,prefix:re,suffixIcon:mn,menuItemSelectedIcon:an,removeIcon:ln,allowClear:xn,notFoundContent:zt,className:Qn,getPopupContainer:Ct||Ue,dropdownClassName:_n,disabled:Gn,dropdownStyle:Object.assign(Object.assign({},ne),{zIndex:Rr}),maxCount:wt?ve:void 0,tagRender:wt?le:void 0})))},ge=y.forwardRef(Ge),Oe=(0,ze.Z)(ge,"dropdownAlign");ge.SECRET_COMBOBOX_MODE_DO_NOT_USE=Ne,ge.Option=je.Wx,ge.OptGroup=je.Xo,ge._InternalPanelDoNotUseOrYouWillBeFired=Oe,yt.default=ge},1722:function(dn,yt){"use strict";const E=xe=>{const je={overflow:{adjustX:!0,adjustY:!0,shiftY:!0},htmlRegion:xe==="scroll"?"scroll":"visible",dynamicInset:!0};return{bottomLeft:Object.assign(Object.assign({},je),{points:["tl","bl"],offset:[0,4]}),bottomRight:Object.assign(Object.assign({},je),{points:["tr","br"],offset:[0,4]}),topLeft:Object.assign(Object.assign({},je),{points:["bl","tl"],offset:[0,-4]}),topRight:Object.assign(Object.assign({},je),{points:["br","tr"],offset:[0,-4]})}};function y(xe,he){return xe||E(he)}yt.Z=y},90376:function(dn,yt,E){"use strict";E.d(yt,{Z:function(){return Le}});var y=E(63356),xe=E(56119),he=E(16931),je=E(51636),be=E(46e3),De=E(93873);const ye=pe=>{const{optionHeight:qe,optionFontSize:Xe,optionLineHeight:Ct,optionPadding:Yt}=pe;return{position:"relative",display:"block",minHeight:qe,padding:Yt,color:pe.colorText,fontWeight:"normal",fontSize:Xe,lineHeight:Ct,boxSizing:"border-box"}};var we=pe=>{const{antCls:qe,componentCls:Xe}=pe,Ct=`${Xe}-item`,Yt=`&${qe}-slide-up-enter${qe}-slide-up-enter-active`,We=`&${qe}-slide-up-appear${qe}-slide-up-appear-active`,Be=`&${qe}-slide-up-leave${qe}-slide-up-leave-active`,Dt=`${Xe}-dropdown-placement-`,Zt=`${Ct}-option-selected`;return[{[`${Xe}-dropdown`]:Object.assign(Object.assign({},(0,y.Wf)(pe)),{position:"absolute",top:-9999,zIndex:pe.zIndexPopup,boxSizing:"border-box",padding:pe.paddingXXS,overflow:"hidden",fontSize:pe.fontSize,fontVariant:"initial",backgroundColor:pe.colorBgElevated,borderRadius:pe.borderRadiusLG,outline:"none",boxShadow:pe.boxShadowSecondary,[`
${Yt}${Dt}bottomLeft,
${We}${Dt}bottomLeft
`]:{animationName:be.fJ},[`
${Yt}${Dt}topLeft,
${We}${Dt}topLeft,
${Yt}${Dt}topRight,
${We}${Dt}topRight
`]:{animationName:be.Qt},[`${Be}${Dt}bottomLeft`]:{animationName:be.Uw},[`
${Be}${Dt}topLeft,
${Be}${Dt}topRight
`]:{animationName:be.ly},"&-hidden":{display:"none"},[Ct]:Object.assign(Object.assign({},ye(pe)),{cursor:"pointer",transition:`background ${pe.motionDurationSlow} ease`,borderRadius:pe.borderRadiusSM,"&-group":{color:pe.colorTextDescription,fontSize:pe.fontSizeSM,cursor:"default"},"&-option":{display:"flex","&-content":Object.assign({flex:"auto"},y.vS),"&-state":{flex:"none",display:"flex",alignItems:"center"},[`&-active:not(${Ct}-option-disabled)`]:{backgroundColor:pe.optionActiveBg},[`&-selected:not(${Ct}-option-disabled)`]:{color:pe.optionSelectedColor,fontWeight:pe.optionSelectedFontWeight,backgroundColor:pe.optionSelectedBg,[`${Ct}-option-state`]:{color:pe.colorPrimary}},"&-disabled":{[`&${Ct}-option-selected`]:{backgroundColor:pe.colorBgContainerDisabled},color:pe.colorTextDisabled,cursor:"not-allowed"},"&-grouped":{paddingInlineStart:pe.calc(pe.controlPaddingHorizontal).mul(2).equal()}},"&-empty":Object.assign(Object.assign({},ye(pe)),{color:pe.colorTextDisabled})}),[`${Zt}:has(+ ${Zt})`]:{borderEndStartRadius:0,borderEndEndRadius:0,[`& + ${Zt}`]:{borderStartStartRadius:0,borderStartEndRadius:0}},"&-rtl":{direction:"rtl"}})},(0,be.oN)(pe,"slide-up"),(0,be.oN)(pe,"slide-down"),(0,De.Fm)(pe,"move-up"),(0,De.Fm)(pe,"move-down")]},se=E(26743),Ye=E(36237);function fe(pe,qe){const{componentCls:Xe,inputPaddingHorizontalBase:Ct,borderRadius:Yt}=pe,We=pe.calc(pe.controlHeight).sub(pe.calc(pe.lineWidth).mul(2)).equal(),Be=qe?`${Xe}-${qe}`:"";return{[`${Xe}-single${Be}`]:{fontSize:pe.fontSize,height:pe.controlHeight,[`${Xe}-selector`]:Object.assign(Object.assign({},(0,y.Wf)(pe,!0)),{display:"flex",borderRadius:Yt,flex:"1 1 auto",[`${Xe}-selection-wrap:after`]:{lineHeight:(0,Ye.unit)(We)},[`${Xe}-selection-search`]:{position:"absolute",inset:0,width:"100%","&-input":{width:"100%",WebkitAppearance:"textfield"}},[`
${Xe}-selection-item,
${Xe}-selection-placeholder
`]:{display:"block",padding:0,lineHeight:(0,Ye.unit)(We),transition:`all ${pe.motionDurationSlow}, visibility 0s`,alignSelf:"center"},[`${Xe}-selection-placeholder`]:{transition:"none",pointerEvents:"none"},[["&:after",`${Xe}-selection-item:empty:after`,`${Xe}-selection-placeholder:empty:after`].join(",")]:{display:"inline-block",width:0,visibility:"hidden",content:'"\\a0"'}}),[`
&${Xe}-show-arrow ${Xe}-selection-item,
&${Xe}-show-arrow ${Xe}-selection-search,
&${Xe}-show-arrow ${Xe}-selection-placeholder
`]:{paddingInlineEnd:pe.showArrowPaddingInlineEnd},[`&${Xe}-open ${Xe}-selection-item`]:{color:pe.colorTextPlaceholder},[`&:not(${Xe}-customize-input)`]:{[`${Xe}-selector`]:{width:"100%",height:"100%",alignItems:"center",padding:`0 ${(0,Ye.unit)(Ct)}`,[`${Xe}-selection-search-input`]:{height:We,fontSize:pe.fontSize},"&:after":{lineHeight:(0,Ye.unit)(We)}}},[`&${Xe}-customize-input`]:{[`${Xe}-selector`]:{"&:after":{display:"none"},[`${Xe}-selection-search`]:{position:"static",width:"100%"},[`${Xe}-selection-placeholder`]:{position:"absolute",insetInlineStart:0,insetInlineEnd:0,padding:`0 ${(0,Ye.unit)(Ct)}`,"&:after":{display:"none"}}}}}}}function ke(pe){const{componentCls:qe}=pe,Xe=pe.calc(pe.controlPaddingHorizontalSM).sub(pe.lineWidth).equal();return[fe(pe),fe((0,je.mergeToken)(pe,{controlHeight:pe.controlHeightSM,borderRadius:pe.borderRadiusSM}),"sm"),{[`${qe}-single${qe}-sm`]:{[`&:not(${qe}-customize-input)`]:{[`${qe}-selector`]:{padding:`0 ${(0,Ye.unit)(Xe)}`},[`&${qe}-show-arrow ${qe}-selection-search`]:{insetInlineEnd:pe.calc(Xe).add(pe.calc(pe.fontSize).mul(1.5)).equal()},[`
&${qe}-show-arrow ${qe}-selection-item,
&${qe}-show-arrow ${qe}-selection-placeholder
`]:{paddingInlineEnd:pe.calc(pe.fontSize).mul(1.5).equal()}}}},fe((0,je.mergeToken)(pe,{controlHeight:pe.singleItemHeightLG,fontSize:pe.fontSizeLG,borderRadius:pe.borderRadiusLG}),"lg")]}const Ae=pe=>{const{fontSize:qe,lineHeight:Xe,lineWidth:Ct,controlHeight:Yt,controlHeightSM:We,controlHeightLG:Be,paddingXXS:Dt,controlPaddingHorizontal:Zt,zIndexPopupBase:lt,colorText:Se,fontWeightStrong:Re,controlItemBgActive:at,controlItemBgHover:jt,colorBgContainer:ft,colorFillSecondary:Wt,colorBgContainerDisabled:xt,colorTextDisabled:$t,colorPrimaryHover:Rt,colorPrimary:ce,controlOutline:ne}=pe,te=Dt*2,le=Ct*2,ve=Math.min(Yt-te,Yt-le),re=Math.min(We-te,We-le),de=Math.min(Be-te,Be-le);return{INTERNAL_FIXED_ITEM_MARGIN:Math.floor(Dt/2),zIndexPopup:lt+50,optionSelectedColor:Se,optionSelectedFontWeight:Re,optionSelectedBg:at,optionActiveBg:jt,optionPadding:`${(Yt-qe*Xe)/2}px ${Zt}px`,optionFontSize:qe,optionLineHeight:Xe,optionHeight:Yt,selectorBg:ft,clearBg:ft,singleItemHeightLG:Be,multipleItemBg:Wt,multipleItemBorderColor:"transparent",multipleItemHeight:ve,multipleItemHeightSM:re,multipleItemHeightLG:de,multipleSelectorBgDisabled:xt,multipleItemColorDisabled:$t,multipleItemBorderColorDisabled:"transparent",showArrowPaddingInlineEnd:Math.ceil(pe.fontSize*1.25),hoverBorderColor:Rt,activeBorderColor:ce,activeOutlineColor:ne,selectAffixPadding:Dt}},Ce=(pe,qe)=>{const{componentCls:Xe,antCls:Ct,controlOutlineWidth:Yt}=pe;return{[`&:not(${Xe}-customize-input) ${Xe}-selector`]:{border:`${(0,Ye.unit)(pe.lineWidth)} ${pe.lineType} ${qe.borderColor}`,background:pe.selectorBg},[`&:not(${Xe}-disabled):not(${Xe}-customize-input):not(${Ct}-pagination-size-changer)`]:{[`&:hover ${Xe}-selector`]:{borderColor:qe.hoverBorderHover},[`${Xe}-focused& ${Xe}-selector`]:{borderColor:qe.activeBorderColor,boxShadow:`0 0 0 ${(0,Ye.unit)(Yt)} ${qe.activeOutlineColor}`,outline:0},[`${Xe}-prefix`]:{color:qe.color}}}},me=(pe,qe)=>({[`&${pe.componentCls}-status-${qe.status}`]:Object.assign({},Ce(pe,qe))}),ue=pe=>({"&-outlined":Object.assign(Object.assign(Object.assign(Object.assign({},Ce(pe,{borderColor:pe.colorBorder,hoverBorderHover:pe.hoverBorderColor,activeBorderColor:pe.activeBorderColor,activeOutlineColor:pe.activeOutlineColor,color:pe.colorText})),me(pe,{status:"error",borderColor:pe.colorError,hoverBorderHover:pe.colorErrorHover,activeBorderColor:pe.colorError,activeOutlineColor:pe.colorErrorOutline,color:pe.colorError})),me(pe,{status:"warning",borderColor:pe.colorWarning,hoverBorderHover:pe.colorWarningHover,activeBorderColor:pe.colorWarning,activeOutlineColor:pe.colorWarningOutline,color:pe.colorWarning})),{[`&${pe.componentCls}-disabled`]:{[`&:not(${pe.componentCls}-customize-input) ${pe.componentCls}-selector`]:{background:pe.colorBgContainerDisabled,color:pe.colorTextDisabled}},[`&${pe.componentCls}-multiple ${pe.componentCls}-selection-item`]:{background:pe.multipleItemBg,border:`${(0,Ye.unit)(pe.lineWidth)} ${pe.lineType} ${pe.multipleItemBorderColor}`}})}),Me=(pe,qe)=>{const{componentCls:Xe,antCls:Ct}=pe;return{[`&:not(${Xe}-customize-input) ${Xe}-selector`]:{background:qe.bg,border:`${(0,Ye.unit)(pe.lineWidth)} ${pe.lineType} transparent`,color:qe.color},[`&:not(${Xe}-disabled):not(${Xe}-customize-input):not(${Ct}-pagination-size-changer)`]:{[`&:hover ${Xe}-selector`]:{background:qe.hoverBg},[`${Xe}-focused& ${Xe}-selector`]:{background:pe.selectorBg,borderColor:qe.activeBorderColor,outline:0}}}},Ze=(pe,qe)=>({[`&${pe.componentCls}-status-${qe.status}`]:Object.assign({},Me(pe,qe))}),Qe=pe=>({"&-filled":Object.assign(Object.assign(Object.assign(Object.assign({},Me(pe,{bg:pe.colorFillTertiary,hoverBg:pe.colorFillSecondary,activeBorderColor:pe.activeBorderColor,color:pe.colorText})),Ze(pe,{status:"error",bg:pe.colorErrorBg,hoverBg:pe.colorErrorBgHover,activeBorderColor:pe.colorError,color:pe.colorError})),Ze(pe,{status:"warning",bg:pe.colorWarningBg,hoverBg:pe.colorWarningBgHover,activeBorderColor:pe.colorWarning,color:pe.colorWarning})),{[`&${pe.componentCls}-disabled`]:{[`&:not(${pe.componentCls}-customize-input) ${pe.componentCls}-selector`]:{borderColor:pe.colorBorder,background:pe.colorBgContainerDisabled,color:pe.colorTextDisabled}},[`&${pe.componentCls}-multiple ${pe.componentCls}-selection-item`]:{background:pe.colorBgContainer,border:`${(0,Ye.unit)(pe.lineWidth)} ${pe.lineType} ${pe.colorSplit}`}})}),oe=pe=>({"&-borderless":{[`${pe.componentCls}-selector`]:{background:"transparent",border:`${(0,Ye.unit)(pe.lineWidth)} ${pe.lineType} transparent`},[`&${pe.componentCls}-disabled`]:{[`&:not(${pe.componentCls}-customize-input) ${pe.componentCls}-selector`]:{color:pe.colorTextDisabled}},[`&${pe.componentCls}-multiple ${pe.componentCls}-selection-item`]:{background:pe.multipleItemBg,border:`${(0,Ye.unit)(pe.lineWidth)} ${pe.lineType} ${pe.multipleItemBorderColor}`},[`&${pe.componentCls}-status-error`]:{[`${pe.componentCls}-prefix, ${pe.componentCls}-selection-item`]:{color:pe.colorError}},[`&${pe.componentCls}-status-warning`]:{[`${pe.componentCls}-prefix, ${pe.componentCls}-selection-item`]:{color:pe.colorWarning}}}}),Fe=(pe,qe)=>{const{componentCls:Xe,antCls:Ct}=pe;return{[`&:not(${Xe}-customize-input) ${Xe}-selector`]:{borderWidth:`0 0 ${(0,Ye.unit)(pe.lineWidth)} 0`,borderStyle:`none none ${pe.lineType} none`,borderColor:qe.borderColor,background:pe.selectorBg,borderRadius:0},[`&:not(${Xe}-disabled):not(${Xe}-customize-input):not(${Ct}-pagination-size-changer)`]:{[`&:hover ${Xe}-selector`]:{borderColor:qe.hoverBorderHover},[`${Xe}-focused& ${Xe}-selector`]:{borderColor:qe.activeBorderColor,outline:0},[`${Xe}-prefix`]:{color:qe.color}}}},rt=(pe,qe)=>({[`&${pe.componentCls}-status-${qe.status}`]:Object.assign({},Fe(pe,qe))}),Ne=pe=>({"&-underlined":Object.assign(Object.assign(Object.assign(Object.assign({},Fe(pe,{borderColor:pe.colorBorder,hoverBorderHover:pe.hoverBorderColor,activeBorderColor:pe.activeBorderColor,activeOutlineColor:pe.activeOutlineColor,color:pe.colorText})),rt(pe,{status:"error",borderColor:pe.colorError,hoverBorderHover:pe.colorErrorHover,activeBorderColor:pe.colorError,activeOutlineColor:pe.colorErrorOutline,color:pe.colorError})),rt(pe,{status:"warning",borderColor:pe.colorWarning,hoverBorderHover:pe.colorWarningHover,activeBorderColor:pe.colorWarning,activeOutlineColor:pe.colorWarningOutline,color:pe.colorWarning})),{[`&${pe.componentCls}-disabled`]:{[`&:not(${pe.componentCls}-customize-input) ${pe.componentCls}-selector`]:{color:pe.colorTextDisabled}},[`&${pe.componentCls}-multiple ${pe.componentCls}-selection-item`]:{background:pe.multipleItemBg,border:`${(0,Ye.unit)(pe.lineWidth)} ${pe.lineType} ${pe.multipleItemBorderColor}`}})});var ge=pe=>({[pe.componentCls]:Object.assign(Object.assign(Object.assign(Object.assign({},ue(pe)),Qe(pe)),oe(pe)),Ne(pe))});const Oe=pe=>{const{componentCls:qe}=pe;return{position:"relative",transition:`all ${pe.motionDurationMid} ${pe.motionEaseInOut}`,input:{cursor:"pointer"},[`${qe}-show-search&`]:{cursor:"text",input:{cursor:"auto",color:"inherit",height:"100%"}},[`${qe}-disabled&`]:{cursor:"not-allowed",input:{cursor:"not-allowed"}}}},Ve=pe=>{const{componentCls:qe}=pe;return{[`${qe}-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"}}}},Pe=pe=>{const{antCls:qe,componentCls:Xe,inputPaddingHorizontalBase:Ct,iconCls:Yt}=pe;return{[Xe]:Object.assign(Object.assign({},(0,y.Wf)(pe)),{position:"relative",display:"inline-flex",cursor:"pointer",[`&:not(${Xe}-customize-input) ${Xe}-selector`]:Object.assign(Object.assign({},Oe(pe)),Ve(pe)),[`${Xe}-selection-item`]:Object.assign(Object.assign({flex:1,fontWeight:"normal",position:"relative",userSelect:"none"},y.vS),{[`> ${qe}-typography`]:{display:"inline"}}),[`${Xe}-selection-placeholder`]:Object.assign(Object.assign({},y.vS),{flex:1,color:pe.colorTextPlaceholder,pointerEvents:"none"}),[`${Xe}-arrow`]:Object.assign(Object.assign({},(0,y.Ro)()),{position:"absolute",top:"50%",insetInlineStart:"auto",insetInlineEnd:Ct,height:pe.fontSizeIcon,marginTop:pe.calc(pe.fontSizeIcon).mul(-1).div(2).equal(),color:pe.colorTextQuaternary,fontSize:pe.fontSizeIcon,lineHeight:1,textAlign:"center",pointerEvents:"none",display:"flex",alignItems:"center",transition:`opacity ${pe.motionDurationSlow} ease`,[Yt]:{verticalAlign:"top",transition:`transform ${pe.motionDurationSlow}`,"> svg":{verticalAlign:"top"},[`&:not(${Xe}-suffix)`]:{pointerEvents:"auto"}},[`${Xe}-disabled &`]:{cursor:"not-allowed"},"> *:not(:last-child)":{marginInlineEnd:8}}),[`${Xe}-selection-wrap`]:{display:"flex",width:"100%",position:"relative",minWidth:0,"&:after":{content:'"\\a0"',width:0,overflow:"hidden"}},[`${Xe}-prefix`]:{flex:"none",marginInlineEnd:pe.selectAffixPadding},[`${Xe}-clear`]:{position:"absolute",top:"50%",insetInlineStart:"auto",insetInlineEnd:Ct,zIndex:1,display:"inline-block",width:pe.fontSizeIcon,height:pe.fontSizeIcon,marginTop:pe.calc(pe.fontSizeIcon).mul(-1).div(2).equal(),color:pe.colorTextQuaternary,fontSize:pe.fontSizeIcon,fontStyle:"normal",lineHeight:1,textAlign:"center",textTransform:"none",cursor:"pointer",opacity:0,transition:`color ${pe.motionDurationMid} ease, opacity ${pe.motionDurationSlow} ease`,textRendering:"auto","&:before":{display:"block"},"&:hover":{color:pe.colorTextTertiary}},[`&:hover ${Xe}-clear`]:{opacity:1,background:pe.colorBgBase,borderRadius:"50%"}}),[`${Xe}-status`]:{"&-error, &-warning, &-success, &-validating":{[`&${Xe}-has-feedback`]:{[`${Xe}-clear`]:{insetInlineEnd:pe.calc(Ct).add(pe.fontSize).add(pe.paddingXS).equal()}}}}}},it=pe=>{const{componentCls:qe}=pe;return[{[qe]:{[`&${qe}-in-form-item`]:{width:"100%"}}},Pe(pe),ke(pe),(0,se.ZP)(pe),we(pe),{[`${qe}-rtl`]:{direction:"rtl"}},(0,xe.c)(pe,{borderElCls:`${qe}-selector`,focusElCls:`${qe}-focused`})]};var Le=(0,he.I$)("Select",(pe,qe)=>{let{rootPrefixCls:Xe}=qe;const Ct=(0,je.mergeToken)(pe,{rootPrefixCls:Xe,inputPaddingHorizontalBase:pe.calc(pe.paddingSM).sub(1).equal(),multipleSelectItemHeight:pe.multipleItemHeight,selectHeight:pe.controlHeight});return[it(Ct),ge(Ct)]},Ae,{unitless:{optionLineHeight:!0,optionSelectedFontWeight:!0}})},26743:function(dn,yt,E){"use strict";E.d(yt,{_z:function(){return De},gp:function(){return je}});var y=E(36237),xe=E(63356),he=E(51636);const je=se=>{const{multipleSelectItemHeight:Ye,paddingXXS:fe,lineWidth:ke,INTERNAL_FIXED_ITEM_MARGIN:Ae}=se,Ce=se.max(se.calc(fe).sub(ke).equal(),0),me=se.max(se.calc(Ce).sub(Ae).equal(),0);return{basePadding:Ce,containerPadding:me,itemHeight:(0,y.unit)(Ye),itemLineHeight:(0,y.unit)(se.calc(Ye).sub(se.calc(se.lineWidth).mul(2)).equal())}},be=se=>{const{multipleSelectItemHeight:Ye,selectHeight:fe,lineWidth:ke}=se;return se.calc(fe).sub(Ye).div(2).sub(ke).equal()},De=se=>{const{componentCls:Ye,iconCls:fe,borderRadiusSM:ke,motionDurationSlow:Ae,paddingXS:Ce,multipleItemColorDisabled:me,multipleItemBorderColorDisabled:ue,colorIcon:Me,colorIconHover:Ze,INTERNAL_FIXED_ITEM_MARGIN:Qe}=se;return{[`${Ye}-selection-overflow`]:{position:"relative",display:"flex",flex:"auto",flexWrap:"wrap",maxWidth:"100%","&-item":{flex:"none",alignSelf:"center",maxWidth:"100%",display:"inline-flex"},[`${Ye}-selection-item`]:{display:"flex",alignSelf:"center",flex:"none",boxSizing:"border-box",maxWidth:"100%",marginBlock:Qe,borderRadius:ke,cursor:"default",transition:`font-size ${Ae}, line-height ${Ae}, height ${Ae}`,marginInlineEnd:se.calc(Qe).mul(2).equal(),paddingInlineStart:Ce,paddingInlineEnd:se.calc(Ce).div(2).equal(),[`${Ye}-disabled&`]:{color:me,borderColor:ue,cursor:"not-allowed"},"&-content":{display:"inline-block",marginInlineEnd:se.calc(Ce).div(2).equal(),overflow:"hidden",whiteSpace:"pre",textOverflow:"ellipsis"},"&-remove":Object.assign(Object.assign({},(0,xe.Ro)()),{display:"inline-flex",alignItems:"center",color:Me,fontWeight:"bold",fontSize:10,lineHeight:"inherit",cursor:"pointer",[`> ${fe}`]:{verticalAlign:"-0.2em"},"&:hover":{color:Ze}})}}}},ye=(se,Ye)=>{const{componentCls:fe,INTERNAL_FIXED_ITEM_MARGIN:ke}=se,Ae=`${fe}-selection-overflow`,Ce=se.multipleSelectItemHeight,me=be(se),ue=Ye?`${fe}-${Ye}`:"",Me=je(se);return{[`${fe}-multiple${ue}`]:Object.assign(Object.assign({},De(se)),{[`${fe}-selector`]:{display:"flex",alignItems:"center",width:"100%",height:"100%",paddingInline:Me.basePadding,paddingBlock:Me.containerPadding,borderRadius:se.borderRadius,[`${fe}-disabled&`]:{background:se.multipleSelectorBgDisabled,cursor:"not-allowed"},"&:after":{display:"inline-block",width:0,margin:`${(0,y.unit)(ke)} 0`,lineHeight:(0,y.unit)(Ce),visibility:"hidden",content:'"\\a0"'}},[`${fe}-selection-item`]:{height:Me.itemHeight,lineHeight:(0,y.unit)(Me.itemLineHeight)},[`${fe}-selection-wrap`]:{alignSelf:"flex-start","&:after":{lineHeight:(0,y.unit)(Ce),marginBlock:ke}},[`${fe}-prefix`]:{marginInlineStart:se.calc(se.inputPaddingHorizontalBase).sub(Me.basePadding).equal()},[`${Ae}-item + ${Ae}-item,
${fe}-prefix + ${fe}-selection-wrap
`]:{[`${fe}-selection-search`]:{marginInlineStart:0},[`${fe}-selection-placeholder`]:{insetInlineStart:0}},[`${Ae}-item-suffix`]:{minHeight:Me.itemHeight,marginBlock:ke},[`${fe}-selection-search`]:{display:"inline-flex",position:"relative",maxWidth:"100%",marginInlineStart:se.calc(se.inputPaddingHorizontalBase).sub(me).equal(),"\n &-input,\n &-mirror\n ":{height:Ce,fontFamily:se.fontFamily,lineHeight:(0,y.unit)(Ce),transition:`all ${se.motionDurationSlow}`},"&-input":{width:"100%",minWidth:4.1},"&-mirror":{position:"absolute",top:0,insetInlineStart:0,insetInlineEnd:"auto",zIndex:999,whiteSpace:"pre",visibility:"hidden"}},[`${fe}-selection-placeholder`]:{position:"absolute",top:"50%",insetInlineStart:se.calc(se.inputPaddingHorizontalBase).sub(Me.basePadding).equal(),insetInlineEnd:se.inputPaddingHorizontalBase,transform:"translateY(-50%)",transition:`all ${se.motionDurationSlow}`}})}};function ze(se,Ye){const{componentCls:fe}=se,ke=Ye?`${fe}-${Ye}`:"",Ae={[`${fe}-multiple${ke}`]:{fontSize:se.fontSize,[`${fe}-selector`]:{[`${fe}-show-search&`]:{cursor:"text"}},[`
&${fe}-show-arrow ${fe}-selector,
&${fe}-allow-clear ${fe}-selector
`]:{paddingInlineEnd:se.calc(se.fontSizeIcon).add(se.controlPaddingHorizontal).equal()}}};return[ye(se,Ye),Ae]}const we=se=>{const{componentCls:Ye}=se,fe=(0,he.mergeToken)(se,{selectHeight:se.controlHeightSM,multipleSelectItemHeight:se.multipleItemHeightSM,borderRadius:se.borderRadiusSM,borderRadiusSM:se.borderRadiusXS}),ke=(0,he.mergeToken)(se,{fontSize:se.fontSizeLG,selectHeight:se.controlHeightLG,multipleSelectItemHeight:se.multipleItemHeightLG,borderRadius:se.borderRadiusLG,borderRadiusSM:se.borderRadius});return[ze(se),ze(fe,"sm"),{[`${Ye}-multiple${Ye}-sm`]:{[`${Ye}-selection-placeholder`]:{insetInline:se.calc(se.controlPaddingHorizontalSM).sub(se.lineWidth).equal()},[`${Ye}-selection-search`]:{marginInlineStart:2}}},ze(ke,"lg")]};yt.ZP=we},68525:function(dn,yt,E){"use strict";E.d(yt,{Z:function(){return ze}});var y=E(59301),xe=E(40001),he=E(19248),je=E(99267),be=E(84105),De=E(58617),ye=E(47472);function ze(we){let{suffixIcon:se,clearIcon:Ye,menuItemSelectedIcon:fe,removeIcon:ke,loading:Ae,multiple:Ce,hasFeedback:me,prefixCls:ue,showSuffixIcon:Me,feedbackIcon:Ze,showArrow:Qe,componentName:oe}=we;const Fe=Ye!=null?Ye:y.createElement(he.Z,null),rt=Oe=>se===null&&!me&&!Qe?null:y.createElement(y.Fragment,null,Me!==!1&&Oe,me&&Ze);let Ne=null;if(se!==void 0)Ne=rt(se);else if(Ae)Ne=rt(y.createElement(De.Z,{spin:!0}));else{const Oe=`${ue}-suffix`;Ne=Ve=>{let{open:Pe,showSearch:it}=Ve;return rt(Pe&&it?y.createElement(ye.Z,{className:Oe}):y.createElement(be.Z,{className:Oe}))}}let Ge=null;fe!==void 0?Ge=fe:Ce?Ge=y.createElement(xe.Z,null):Ge=null;let ge=null;return ke!==void 0?ge=ke:ge=y.createElement(je.Z,null),{clearIcon:Fe,suffixIcon:Ne,itemIcon:Ge,removeIcon:ge}}},90005:function(dn,yt,E){"use strict";E.d(yt,{Z:function(){return y}});function y(xe,he){return he!==void 0?he:xe!==null}},11938:function(dn,yt,E){"use strict";E.d(yt,{default:function(){return Ve}});var y=E(59301),xe=E(40192),he=E(22703),je=E(92310),be=E.n(je),De=E(26112),ye=E(48755),ze=E(458),se=Pe=>{const{value:it,formatter:Le,precision:pe,decimalSeparator:qe,groupSeparator:Xe="",prefixCls:Ct}=Pe;let Yt;if(typeof Le=="function")Yt=Le(it);else{const We=String(it),Be=We.match(/^(-?)(\d*)(\.(\d+))?$/);if(!Be||We==="-")Yt=We;else{const Dt=Be[1];let Zt=Be[2]||"0",lt=Be[4]||"";Zt=Zt.replace(/\B(?=(\d{3})+(?!\d))/g,Xe),typeof pe=="number"&&(lt=lt.padEnd(pe,"0").slice(0,pe>0?pe:0)),lt&&(lt=`${qe}${lt}`),Yt=[y.createElement("span",{key:"int",className:`${Ct}-content-value-int`},Dt,Zt),lt&&y.createElement("span",{key:"decimal",className:`${Ct}-content-value-decimal`},lt)]}}return y.createElement("span",{className:`${Ct}-content-value`},Yt)},Ye=E(63356),fe=E(16931),ke=E(51636);const Ae=Pe=>{const{componentCls:it,marginXXS:Le,padding:pe,colorTextDescription:qe,titleFontSize:Xe,colorTextHeading:Ct,contentFontSize:Yt,fontFamily:We}=Pe;return{[it]:Object.assign(Object.assign({},(0,Ye.Wf)(Pe)),{[`${it}-title`]:{marginBottom:Le,color:qe,fontSize:Xe},[`${it}-skeleton`]:{paddingTop:pe},[`${it}-content`]:{color:Ct,fontSize:Yt,fontFamily:We,[`${it}-content-value`]:{display:"inline-block",direction:"ltr"},[`${it}-content-prefix, ${it}-content-suffix`]:{display:"inline-block"},[`${it}-content-prefix`]:{marginInlineEnd:Le},[`${it}-content-suffix`]:{marginInlineStart:Le}}})}},Ce=Pe=>{const{fontSizeHeading3:it,fontSize:Le}=Pe;return{titleFontSize:Le,contentFontSize:it}};var me=(0,fe.I$)("Statistic",Pe=>{const it=(0,ke.mergeToken)(Pe,{});return[Ae(it)]},Ce),ue=function(Pe,it){var Le={};for(var pe in Pe)Object.prototype.hasOwnProperty.call(Pe,pe)&&it.indexOf(pe)<0&&(Le[pe]=Pe[pe]);if(Pe!=null&&typeof Object.getOwnPropertySymbols=="function")for(var qe=0,pe=Object.getOwnPropertySymbols(Pe);qe<pe.length;qe++)it.indexOf(pe[qe])<0&&Object.prototype.propertyIsEnumerable.call(Pe,pe[qe])&&(Le[pe[qe]]=Pe[pe[qe]]);return Le},Ze=Pe=>{const{prefixCls:it,className:Le,rootClassName:pe,style:qe,valueStyle:Xe,value:Ct=0,title:Yt,valueRender:We,prefix:Be,suffix:Dt,loading:Zt=!1,formatter:lt,precision:Se,decimalSeparator:Re=".",groupSeparator:at=",",onMouseEnter:jt,onMouseLeave:ft}=Pe,Wt=ue(Pe,["prefixCls","className","rootClassName","style","valueStyle","value","title","valueRender","prefix","suffix","loading","formatter","precision","decimalSeparator","groupSeparator","onMouseEnter","onMouseLeave"]),{getPrefixCls:xt,direction:$t,className:Rt,style:ce}=(0,ye.dj)("statistic"),ne=xt("statistic",it),[te,le,ve]=me(ne),re=y.createElement(se,{decimalSeparator:Re,groupSeparator:at,prefixCls:ne,formatter:lt,precision:Se,value:Ct}),de=be()(ne,{[`${ne}-rtl`]:$t==="rtl"},Rt,Le,pe,le,ve),Ue=(0,De.Z)(Wt,{aria:!0,data:!0});return te(y.createElement("div",Object.assign({},Ue,{className:de,style:Object.assign(Object.assign({},ce),qe),onMouseEnter:jt,onMouseLeave:ft}),Yt&&y.createElement("div",{className:`${ne}-title`},Yt),y.createElement(ze.Z,{paragraph:!1,loading:Zt,className:`${ne}-skeleton`},y.createElement("div",{style:Xe,className:`${ne}-content`},Be&&y.createElement("span",{className:`${ne}-content-prefix`},Be),We?We(re):re,Dt&&y.createElement("span",{className:`${ne}-content-suffix`},Dt)))))};const Qe=[["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 oe(Pe,it){let Le=Pe;const pe=/\[[^\]]*]/g,qe=(it.match(pe)||[]).map(We=>We.slice(1,-1)),Xe=it.replace(pe,"[]"),Ct=Qe.reduce((We,Be)=>{let[Dt,Zt]=Be;if(We.includes(Dt)){const lt=Math.floor(Le/Zt);return Le-=lt*Zt,We.replace(new RegExp(`${Dt}+`,"g"),Se=>{const Re=Se.length;return lt.toString().padStart(Re,"0")})}return We},Xe);let Yt=0;return Ct.replace(pe,()=>{const We=qe[Yt];return Yt+=1,We})}function Fe(Pe,it){const{format:Le=""}=it,pe=new Date(Pe).getTime(),qe=Date.now(),Xe=Math.max(pe-qe,0);return oe(Xe,Le)}var rt=function(Pe,it){var Le={};for(var pe in Pe)Object.prototype.hasOwnProperty.call(Pe,pe)&&it.indexOf(pe)<0&&(Le[pe]=Pe[pe]);if(Pe!=null&&typeof Object.getOwnPropertySymbols=="function")for(var qe=0,pe=Object.getOwnPropertySymbols(Pe);qe<pe.length;qe++)it.indexOf(pe[qe])<0&&Object.prototype.propertyIsEnumerable.call(Pe,pe[qe])&&(Le[pe[qe]]=Pe[pe[qe]]);return Le};const Ne=1e3/30;function Ge(Pe){return new Date(Pe).getTime()}const ge=Pe=>{const{value:it,format:Le="HH:mm:ss",onChange:pe,onFinish:qe}=Pe,Xe=rt(Pe,["value","format","onChange","onFinish"]),Ct=(0,xe.Z)(),Yt=y.useRef(null),We=()=>{qe==null||qe(),Yt.current&&(clearInterval(Yt.current),Yt.current=null)},Be=()=>{const lt=Ge(it);lt>=Date.now()&&(Yt.current=setInterval(()=>{Ct(),pe==null||pe(lt-Date.now()),lt<Date.now()&&We()},Ne))};y.useEffect(()=>(Be(),()=>{Yt.current&&(clearInterval(Yt.current),Yt.current=null)}),[it]);const Dt=(lt,Se)=>Fe(lt,Object.assign(Object.assign({},Se),{format:Le})),Zt=lt=>(0,he.Tm)(lt,{title:void 0});return y.createElement(Ze,Object.assign({},Xe,{value:it,valueRender:Zt,formatter:Dt}))};var Oe=y.memo(ge);Ze.Countdown=Oe;var Ve=Ze},58755:function(dn,yt,E){"use strict";E.d(yt,{Z:function(){return qe}});var y=E(59301),xe=E(58617),he=E(92310),je=E.n(he),be=E(54476),De=E(20068),ye=E(42978),ze=E(75931),we=E(18929),se=E(10228),Ye=["prefixCls","className","checked","defaultChecked","disabled","loadingIcon","checkedChildren","unCheckedChildren","onClick","onChange","onKeyDown"],fe=y.forwardRef(function(Xe,Ct){var Yt,We=Xe.prefixCls,Be=We===void 0?"rc-switch":We,Dt=Xe.className,Zt=Xe.checked,lt=Xe.defaultChecked,Se=Xe.disabled,Re=Xe.loadingIcon,at=Xe.checkedChildren,jt=Xe.unCheckedChildren,ft=Xe.onClick,Wt=Xe.onChange,xt=Xe.onKeyDown,$t=(0,ze.Z)(Xe,Ye),Rt=(0,we.Z)(!1,{value:Zt,defaultValue:lt}),ce=(0,ye.Z)(Rt,2),ne=ce[0],te=ce[1];function le(Ue,pt){var et=ne;return Se||(et=Ue,te(et),Wt==null||Wt(et,pt)),et}function ve(Ue){Ue.which===se.Z.LEFT?le(!1,Ue):Ue.which===se.Z.RIGHT&&le(!0,Ue),xt==null||xt(Ue)}function re(Ue){var pt=le(!ne,Ue);ft==null||ft(pt,Ue)}var de=je()(Be,Dt,(Yt={},(0,De.Z)(Yt,"".concat(Be,"-checked"),ne),(0,De.Z)(Yt,"".concat(Be,"-disabled"),Se),Yt));return y.createElement("button",(0,be.Z)({},$t,{type:"button",role:"switch","aria-checked":ne,disabled:Se,className:de,ref:Ct,onKeyDown:ve,onClick:re}),Re,y.createElement("span",{className:"".concat(Be,"-inner")},y.createElement("span",{className:"".concat(Be,"-inner-checked")},at),y.createElement("span",{className:"".concat(Be,"-inner-unchecked")},jt)))});fe.displayName="Switch";var ke=fe,Ae=E(12919),Ce=E(48755),me=E(2171),ue=E(31756),Me=E(36237),Ze=E(17835),Qe=E(63356),oe=E(16931),Fe=E(51636);const rt=Xe=>{const{componentCls:Ct,trackHeightSM:Yt,trackPadding:We,trackMinWidthSM:Be,innerMinMarginSM:Dt,innerMaxMarginSM:Zt,handleSizeSM:lt,calc:Se}=Xe,Re=`${Ct}-inner`,at=(0,Me.unit)(Se(lt).add(Se(We).mul(2)).equal()),jt=(0,Me.unit)(Se(Zt).mul(2).equal());return{[Ct]:{[`&${Ct}-small`]:{minWidth:Be,height:Yt,lineHeight:(0,Me.unit)(Yt),[`${Ct}-inner`]:{paddingInlineStart:Zt,paddingInlineEnd:Dt,[`${Re}-checked, ${Re}-unchecked`]:{minHeight:Yt},[`${Re}-checked`]:{marginInlineStart:`calc(-100% + ${at} - ${jt})`,marginInlineEnd:`calc(100% - ${at} + ${jt})`},[`${Re}-unchecked`]:{marginTop:Se(Yt).mul(-1).equal(),marginInlineStart:0,marginInlineEnd:0}},[`${Ct}-handle`]:{width:lt,height:lt},[`${Ct}-loading-icon`]:{top:Se(Se(lt).sub(Xe.switchLoadingIconSize)).div(2).equal(),fontSize:Xe.switchLoadingIconSize},[`&${Ct}-checked`]:{[`${Ct}-inner`]:{paddingInlineStart:Dt,paddingInlineEnd:Zt,[`${Re}-checked`]:{marginInlineStart:0,marginInlineEnd:0},[`${Re}-unchecked`]:{marginInlineStart:`calc(100% - ${at} + ${jt})`,marginInlineEnd:`calc(-100% + ${at} - ${jt})`}},[`${Ct}-handle`]:{insetInlineStart:`calc(100% - ${(0,Me.unit)(Se(lt).add(We).equal())})`}},[`&:not(${Ct}-disabled):active`]:{[`&:not(${Ct}-checked) ${Re}`]:{[`${Re}-unchecked`]:{marginInlineStart:Se(Xe.marginXXS).div(2).equal(),marginInlineEnd:Se(Xe.marginXXS).mul(-1).div(2).equal()}},[`&${Ct}-checked ${Re}`]:{[`${Re}-checked`]:{marginInlineStart:Se(Xe.marginXXS).mul(-1).div(2).equal(),marginInlineEnd:Se(Xe.marginXXS).div(2).equal()}}}}}}},Ne=Xe=>{const{componentCls:Ct,handleSize:Yt,calc:We}=Xe;return{[Ct]:{[`${Ct}-loading-icon${Xe.iconCls}`]:{position:"relative",top:We(We(Yt).sub(Xe.fontSize)).div(2).equal(),color:Xe.switchLoadingIconColor,verticalAlign:"top"},[`&${Ct}-checked ${Ct}-loading-icon`]:{color:Xe.switchColor}}}},Ge=Xe=>{const{componentCls:Ct,trackPadding:Yt,handleBg:We,handleShadow:Be,handleSize:Dt,calc:Zt}=Xe,lt=`${Ct}-handle`;return{[Ct]:{[lt]:{position:"absolute",top:Yt,insetInlineStart:Yt,width:Dt,height:Dt,transition:`all ${Xe.switchDuration} ease-in-out`,"&::before":{position:"absolute",top:0,insetInlineEnd:0,bottom:0,insetInlineStart:0,backgroundColor:We,borderRadius:Zt(Dt).div(2).equal(),boxShadow:Be,transition:`all ${Xe.switchDuration} ease-in-out`,content:'""'}},[`&${Ct}-checked ${lt}`]:{insetInlineStart:`calc(100% - ${(0,Me.unit)(Zt(Dt).add(Yt).equal())})`},[`&:not(${Ct}-disabled):active`]:{[`${lt}::before`]:{insetInlineEnd:Xe.switchHandleActiveInset,insetInlineStart:0},[`&${Ct}-checked ${lt}::before`]:{insetInlineEnd:0,insetInlineStart:Xe.switchHandleActiveInset}}}}},ge=Xe=>{const{componentCls:Ct,trackHeight:Yt,trackPadding:We,innerMinMargin:Be,innerMaxMargin:Dt,handleSize:Zt,calc:lt}=Xe,Se=`${Ct}-inner`,Re=(0,Me.unit)(lt(Zt).add(lt(We).mul(2)).equal()),at=(0,Me.unit)(lt(Dt).mul(2).equal());return{[Ct]:{[Se]:{display:"block",overflow:"hidden",borderRadius:100,height:"100%",paddingInlineStart:Dt,paddingInlineEnd:Be,transition:`padding-inline-start ${Xe.switchDuration} ease-in-out, padding-inline-end ${Xe.switchDuration} ease-in-out`,[`${Se}-checked, ${Se}-unchecked`]:{display:"block",color:Xe.colorTextLightSolid,fontSize:Xe.fontSizeSM,transition:`margin-inline-start ${Xe.switchDuration} ease-in-out, margin-inline-end ${Xe.switchDuration} ease-in-out`,pointerEvents:"none",minHeight:Yt},[`${Se}-checked`]:{marginInlineStart:`calc(-100% + ${Re} - ${at})`,marginInlineEnd:`calc(100% - ${Re} + ${at})`},[`${Se}-unchecked`]:{marginTop:lt(Yt).mul(-1).equal(),marginInlineStart:0,marginInlineEnd:0}},[`&${Ct}-checked ${Se}`]:{paddingInlineStart:Be,paddingInlineEnd:Dt,[`${Se}-checked`]:{marginInlineStart:0,marginInlineEnd:0},[`${Se}-unchecked`]:{marginInlineStart:`calc(100% - ${Re} + ${at})`,marginInlineEnd:`calc(-100% + ${Re} - ${at})`}},[`&:not(${Ct}-disabled):active`]:{[`&:not(${Ct}-checked) ${Se}`]:{[`${Se}-unchecked`]:{marginInlineStart:lt(We).mul(2).equal(),marginInlineEnd:lt(We).mul(-1).mul(2).equal()}},[`&${Ct}-checked ${Se}`]:{[`${Se}-checked`]:{marginInlineStart:lt(We).mul(-1).mul(2).equal(),marginInlineEnd:lt(We).mul(2).equal()}}}}}},Oe=Xe=>{const{componentCls:Ct,trackHeight:Yt,trackMinWidth:We}=Xe;return{[Ct]:Object.assign(Object.assign(Object.assign(Object.assign({},(0,Qe.Wf)(Xe)),{position:"relative",display:"inline-block",boxSizing:"border-box",minWidth:We,height:Yt,lineHeight:(0,Me.unit)(Yt),verticalAlign:"middle",background:Xe.colorTextQuaternary,border:"0",borderRadius:100,cursor:"pointer",transition:`all ${Xe.motionDurationMid}`,userSelect:"none",[`&:hover:not(${Ct}-disabled)`]:{background:Xe.colorTextTertiary}}),(0,Qe.Qy)(Xe)),{[`&${Ct}-checked`]:{background:Xe.switchColor,[`&:hover:not(${Ct}-disabled)`]:{background:Xe.colorPrimaryHover}},[`&${Ct}-loading, &${Ct}-disabled`]:{cursor:"not-allowed",opacity:Xe.switchDisabledOpacity,"*":{boxShadow:"none",cursor:"not-allowed"}},[`&${Ct}-rtl`]:{direction:"rtl"}})}},Ve=Xe=>{const{fontSize:Ct,lineHeight:Yt,controlHeight:We,colorWhite:Be}=Xe,Dt=Ct*Yt,Zt=We/2,lt=2,Se=Dt-lt*2,Re=Zt-lt*2;return{trackHeight:Dt,trackHeightSM:Zt,trackMinWidth:Se*2+lt*4,trackMinWidthSM:Re*2+lt*2,trackPadding:lt,handleBg:Be,handleSize:Se,handleSizeSM:Re,handleShadow:`0 2px 4px 0 ${new Ze.FastColor("#00230b").setA(.2).toRgbString()}`,innerMinMargin:Se/2,innerMaxMargin:Se+lt+lt*2,innerMinMarginSM:Re/2,innerMaxMarginSM:Re+lt+lt*2}};var Pe=(0,oe.I$)("Switch",Xe=>{const Ct=(0,Fe.mergeToken)(Xe,{switchDuration:Xe.motionDurationMid,switchColor:Xe.colorPrimary,switchDisabledOpacity:Xe.opacityLoading,switchLoadingIconSize:Xe.calc(Xe.fontSizeIcon).mul(.75).equal(),switchLoadingIconColor:`rgba(0, 0, 0, ${Xe.opacityLoading})`,switchHandleActiveInset:"-30%"});return[Oe(Ct),ge(Ct),Ge(Ct),Ne(Ct),rt(Ct)]},Ve),it=function(Xe,Ct){var Yt={};for(var We in Xe)Object.prototype.hasOwnProperty.call(Xe,We)&&Ct.indexOf(We)<0&&(Yt[We]=Xe[We]);if(Xe!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Be=0,We=Object.getOwnPropertySymbols(Xe);Be<We.length;Be++)Ct.indexOf(We[Be])<0&&Object.prototype.propertyIsEnumerable.call(Xe,We[Be])&&(Yt[We[Be]]=Xe[We[Be]]);return Yt};const pe=y.forwardRef((Xe,Ct)=>{const{prefixCls:Yt,size:We,disabled:Be,loading:Dt,className:Zt,rootClassName:lt,style:Se,checked:Re,value:at,defaultChecked:jt,defaultValue:ft,onChange:Wt}=Xe,xt=it(Xe,["prefixCls","size","disabled","loading","className","rootClassName","style","checked","value","defaultChecked","defaultValue","onChange"]),[$t,Rt]=(0,we.Z)(!1,{value:Re!=null?Re:at,defaultValue:jt!=null?jt:ft}),{getPrefixCls:ce,direction:ne,switch:te}=y.useContext(Ce.E_),le=y.useContext(me.Z),ve=(Be!=null?Be:le)||Dt,re=ce("switch",Yt),de=y.createElement("div",{className:`${re}-handle`},Dt&&y.createElement(xe.Z,{className:`${re}-loading-icon`})),[Ue,pt,et]=Pe(re),tt=(0,ue.Z)(We),dt=je()(te==null?void 0:te.className,{[`${re}-small`]:tt==="small",[`${re}-loading`]:Dt,[`${re}-rtl`]:ne==="rtl"},Zt,lt,pt,et),gt=Object.assign(Object.assign({},te==null?void 0:te.style),Se),St=function(){Rt(arguments.length<=0?void 0:arguments[0]),Wt==null||Wt.apply(void 0,arguments)};return Ue(y.createElement(Ae.Z,{component:"Switch"},y.createElement(ke,Object.assign({},xt,{checked:$t,onChange:St,prefixCls:re,className:dt,style:gt,disabled:ve,ref:Ct,loadingIcon:de}))))});pe.__ANT_SWITCH=!0;var qe=pe},70858:function(dn,yt,E){"use strict";E.d(yt,{default:function(){return Pi}});var y=E(59301),xe={},he="rc-table-internal-hook",je=E(42978),be=E(6089),De=E(34280),ye=E(13697),ze=E(4676);function we(Te){var Ie=y.createContext(void 0),ht=function(Nt){var Gt=Nt.value,fn=Nt.children,on=y.useRef(Gt);on.current=Gt;var gn=y.useState(function(){return{getValue:function(){return on.current},listeners:new Set}}),Sn=(0,je.Z)(gn,1),Wn=Sn[0];return(0,De.Z)(function(){(0,ze.unstable_batchedUpdates)(function(){Wn.listeners.forEach(function(Tn){Tn(Gt)})})},[Gt]),y.createElement(Ie.Provider,{value:Wn},fn)};return{Context:Ie,Provider:ht,defaultValue:Te}}function se(Te,Ie){var ht=(0,be.Z)(typeof Ie=="function"?Ie:function(Tn){if(Ie===void 0)return Tn;if(!Array.isArray(Ie))return Tn[Ie];var On={};return Ie.forEach(function(Fn){On[Fn]=Tn[Fn]}),On}),At=y.useContext(Te==null?void 0:Te.Context),Nt=At||{},Gt=Nt.listeners,fn=Nt.getValue,on=y.useRef();on.current=ht(At?fn():Te==null?void 0:Te.defaultValue);var gn=y.useState({}),Sn=(0,je.Z)(gn,2),Wn=Sn[1];return(0,De.Z)(function(){if(!At)return;function Tn(On){var Fn=ht(On);(0,ye.Z)(on.current,Fn,!0)||Wn({})}return Gt.add(Tn),function(){Gt.delete(Tn)}},[At]),on.current}var Ye=E(54476),fe=E(8654);function ke(){var Te=y.createContext(null);function Ie(){return y.useContext(Te)}function ht(Nt,Gt){var fn=(0,fe.Yr)(Nt),on=function(Sn,Wn){var Tn=fn?{ref:Wn}:{},On=y.useRef(0),Fn=y.useRef(Sn),wn=Ie();return wn!==null?y.createElement(Nt,(0,Ye.Z)({},Sn,Tn)):((!Gt||Gt(Fn.current,Sn))&&(On.current+=1),Fn.current=Sn,y.createElement(Te.Provider,{value:On.current},y.createElement(Nt,(0,Ye.Z)({},Sn,Tn))))};return fn?y.forwardRef(on):on}function At(Nt,Gt){var fn=(0,fe.Yr)(Nt),on=function(Sn,Wn){var Tn=fn?{ref:Wn}:{};return Ie(),y.createElement(Nt,(0,Ye.Z)({},Sn,Tn))};return fn?y.memo(y.forwardRef(on),Gt):y.memo(on,Gt)}return{makeImmutable:ht,responseImmutable:At,useImmutableMark:Ie}}var Ae=ke(),Ce=Ae.makeImmutable,me=Ae.responseImmutable,ue=Ae.useImmutableMark,Me=ke(),Ze=Me.makeImmutable,Qe=Me.responseImmutable,oe=Me.useImmutableMark,Fe=we(),rt=Fe;function Ne(Te,Ie){var ht=React.useRef(0);ht.current+=1;var At=React.useRef(Te),Nt=[];Object.keys(Te||{}).map(function(fn){var on;(Te==null?void 0:Te[fn])!==((on=At.current)===null||on===void 0?void 0:on[fn])&&Nt.push(fn)}),At.current=Te;var Gt=React.useRef([]);return Nt.length&&(Gt.current=Nt),React.useDebugValue(ht.current),React.useDebugValue(Gt.current.join(", ")),Ie&&console.log("".concat(Ie,":"),ht.current,Gt.current),ht.current}var Ge=null,ge=null,Oe=E(76190),Ve=E(33885),Pe=E(20068),it=E(92310),Le=E.n(it),pe=E(80547),qe=E(97938),Xe=E(48736),Ct=y.createContext({renderWithProps:!1}),Yt=Ct,We="RC_TABLE_KEY";function Be(Te){return Te==null?[]:Array.isArray(Te)?Te:[Te]}function Dt(Te){var Ie=[],ht={};return Te.forEach(function(At){for(var Nt=At||{},Gt=Nt.key,fn=Nt.dataIndex,on=Gt||Be(fn).join("-")||We;ht[on];)on="".concat(on,"_next");ht[on]=!0,Ie.push(on)}),Ie}function Zt(Te){return Te!=null}function lt(Te){return typeof Te=="number"&&!Number.isNaN(Te)}function Se(Te){return Te&&(0,Oe.Z)(Te)==="object"&&!Array.isArray(Te)&&!y.isValidElement(Te)}function Re(Te,Ie,ht,At,Nt,Gt){var fn=y.useContext(Yt),on=oe(),gn=(0,pe.Z)(function(){if(Zt(At))return[At];var Sn=Ie==null||Ie===""?[]:Array.isArray(Ie)?Ie:[Ie],Wn=(0,qe.Z)(Te,Sn),Tn=Wn,On=void 0;if(Nt){var Fn=Nt(Wn,Te,ht);Se(Fn)?(Tn=Fn.children,On=Fn.props,fn.renderWithProps=!0):Tn=Fn}return[Tn,On]},[on,Te,At,Ie,Nt,ht],function(Sn,Wn){if(Gt){var Tn=(0,je.Z)(Sn,2),On=Tn[1],Fn=(0,je.Z)(Wn,2),wn=Fn[1];return Gt(wn,On)}return fn.renderWithProps?!0:!(0,ye.Z)(Sn,Wn,!0)});return gn}function at(Te,Ie,ht,At){var Nt=Te+Ie-1;return Te<=At&&Nt>=ht}function jt(Te,Ie){return se(rt,function(ht){var At=at(Te,Ie||1,ht.hoverStartRow,ht.hoverEndRow);return[At,ht.onHover]})}var ft=E(70425),Wt=function(Ie){var ht=Ie.ellipsis,At=Ie.rowType,Nt=Ie.children,Gt,fn=ht===!0?{showTitle:!0}:ht;return fn&&(fn.showTitle||At==="header")&&(typeof Nt=="string"||typeof Nt=="number"?Gt=Nt.toString():y.isValidElement(Nt)&&typeof Nt.props.children=="string"&&(Gt=Nt.props.children)),Gt};function xt(Te){var Ie,ht,At,Nt,Gt,fn,on,gn,Sn=Te.component,Wn=Te.children,Tn=Te.ellipsis,On=Te.scope,Fn=Te.prefixCls,wn=Te.className,vr=Te.align,qn=Te.record,Ar=Te.render,br=Te.dataIndex,Tr=Te.renderIndex,Dr=Te.shouldCellUpdate,Pr=Te.index,Wr=Te.rowType,Gr=Te.colSpan,Jr=Te.rowSpan,Io=Te.fixLeft,Mr=Te.fixRight,Fr=Te.firstFixLeft,jr=Te.lastFixLeft,lr=Te.firstFixRight,ar=Te.lastFixRight,Zr=Te.appendNode,Xr=Te.additionalProps,lo=Xr===void 0?{}:Xr,Lo=Te.isSticky,_r="".concat(Fn,"-cell"),Fi=se(rt,["supportSticky","allColumnsFixedLeft","rowHoverable"]),xi=Fi.supportSticky,pa=Fi.allColumnsFixedLeft,Qi=Fi.rowHoverable,ua=Re(qn,br,Tr,Wn,Ar,Dr),ga=(0,je.Z)(ua,2),Ca=ga[0],Ri=ga[1],Ni={},Pa=typeof Io=="number"&&xi,Ia=typeof Mr=="number"&&xi;Pa&&(Ni.position="sticky",Ni.left=Io),Ia&&(Ni.position="sticky",Ni.right=Mr);var Ko=(Ie=(ht=(At=Ri==null?void 0:Ri.colSpan)!==null&&At!==void 0?At:lo.colSpan)!==null&&ht!==void 0?ht:Gr)!==null&&Ie!==void 0?Ie:1,Si=(Nt=(Gt=(fn=Ri==null?void 0:Ri.rowSpan)!==null&&fn!==void 0?fn:lo.rowSpan)!==null&&Gt!==void 0?Gt:Jr)!==null&&Nt!==void 0?Nt:1,zo=jt(Pr,Si),go=(0,je.Z)(zo,2),Vi=go[0],qi=go[1],ba=(0,ft.zX)(function(ca){var da;qn&&qi(Pr,Pr+Si-1),lo==null||(da=lo.onMouseEnter)===null||da===void 0||da.call(lo,ca)}),ea=(0,ft.zX)(function(ca){var da;qn&&qi(-1,-1),lo==null||(da=lo.onMouseLeave)===null||da===void 0||da.call(lo,ca)});if(Ko===0||Si===0)return null;var Oa=(on=lo.title)!==null&&on!==void 0?on:Wt({rowType:Wr,ellipsis:Tn,children:Ca}),Da=Le()(_r,wn,(gn={},(0,Pe.Z)((0,Pe.Z)((0,Pe.Z)((0,Pe.Z)((0,Pe.Z)((0,Pe.Z)((0,Pe.Z)((0,Pe.Z)((0,Pe.Z)((0,Pe.Z)(gn,"".concat(_r,"-fix-left"),Pa&&xi),"".concat(_r,"-fix-left-first"),Fr&&xi),"".concat(_r,"-fix-left-last"),jr&&xi),"".concat(_r,"-fix-left-all"),jr&&pa&&xi),"".concat(_r,"-fix-right"),Ia&&xi),"".concat(_r,"-fix-right-first"),lr&&xi),"".concat(_r,"-fix-right-last"),ar&&xi),"".concat(_r,"-ellipsis"),Tn),"".concat(_r,"-with-append"),Zr),"".concat(_r,"-fix-sticky"),(Pa||Ia)&&Lo&&xi),(0,Pe.Z)(gn,"".concat(_r,"-row-hover"),!Ri&&Vi)),lo.className,Ri==null?void 0:Ri.className),Jo={};vr&&(Jo.textAlign=vr);var si=(0,Ve.Z)((0,Ve.Z)((0,Ve.Z)((0,Ve.Z)({},Ri==null?void 0:Ri.style),Ni),Jo),lo.style),ta=Ca;return(0,Oe.Z)(ta)==="object"&&!Array.isArray(ta)&&!y.isValidElement(ta)&&(ta=null),Tn&&(jr||lr)&&(ta=y.createElement("span",{className:"".concat(_r,"-content")},ta)),y.createElement(Sn,(0,Ye.Z)({},Ri,lo,{className:Da,style:si,title:Oa,scope:On,onMouseEnter:Qi?ba:void 0,onMouseLeave:Qi?ea:void 0,colSpan:Ko!==1?Ko:null,rowSpan:Si!==1?Si:null}),Zr,ta)}var $t=y.memo(xt);function Rt(Te,Ie,ht,At,Nt){var Gt=ht[Te]||{},fn=ht[Ie]||{},on,gn;Gt.fixed==="left"?on=At.left[Nt==="rtl"?Ie:Te]:fn.fixed==="right"&&(gn=At.right[Nt==="rtl"?Te:Ie]);var Sn=!1,Wn=!1,Tn=!1,On=!1,Fn=ht[Ie+1],wn=ht[Te-1],vr=Fn&&!Fn.fixed||wn&&!wn.fixed||ht.every(function(Dr){return Dr.fixed==="left"});if(Nt==="rtl"){if(on!==void 0){var qn=wn&&wn.fixed==="left";On=!qn&&vr}else if(gn!==void 0){var Ar=Fn&&Fn.fixed==="right";Tn=!Ar&&vr}}else if(on!==void 0){var br=Fn&&Fn.fixed==="left";Sn=!br&&vr}else if(gn!==void 0){var Tr=wn&&wn.fixed==="right";Wn=!Tr&&vr}return{fixLeft:on,fixRight:gn,lastFixLeft:Sn,firstFixRight:Wn,lastFixRight:Tn,firstFixLeft:On,isSticky:At.isSticky}}var ce=y.createContext({}),ne=ce;function te(Te){var Ie=Te.className,ht=Te.index,At=Te.children,Nt=Te.colSpan,Gt=Nt===void 0?1:Nt,fn=Te.rowSpan,on=Te.align,gn=se(rt,["prefixCls","direction"]),Sn=gn.prefixCls,Wn=gn.direction,Tn=y.useContext(ne),On=Tn.scrollColumnIndex,Fn=Tn.stickyOffsets,wn=Tn.flattenColumns,vr=ht+Gt-1,qn=vr+1===On?Gt+1:Gt,Ar=Rt(ht,ht+qn-1,wn,Fn,Wn);return y.createElement($t,(0,Ye.Z)({className:Ie,index:ht,component:"td",prefixCls:Sn,record:null,dataIndex:null,align:on,colSpan:qn,rowSpan:fn,render:function(){return At}},Ar))}var le=E(75931),ve=["children"];function re(Te){var Ie=Te.children,ht=(0,le.Z)(Te,ve);return y.createElement("tr",ht,Ie)}function de(Te){var Ie=Te.children;return Ie}de.Row=re,de.Cell=te;var Ue=de;function pt(Te){var Ie=Te.children,ht=Te.stickyOffsets,At=Te.flattenColumns,Nt=se(rt,"prefixCls"),Gt=At.length-1,fn=At[Gt],on=y.useMemo(function(){return{stickyOffsets:ht,flattenColumns:At,scrollColumnIndex:fn!=null&&fn.scrollbar?Gt:null}},[fn,At,Gt,ht]);return y.createElement(ne.Provider,{value:on},y.createElement("tfoot",{className:"".concat(Nt,"-summary")},Ie))}var et=Qe(pt),tt=Ue,dt=E(29301),gt=E(3465),St=E(75152),_e=E(26112);function st(Te,Ie,ht,At,Nt,Gt,fn){Te.push({record:Ie,indent:ht,index:fn});var on=Gt(Ie),gn=Nt==null?void 0:Nt.has(on);if(Ie&&Array.isArray(Ie[At])&&gn)for(var Sn=0;Sn<Ie[At].length;Sn+=1)st(Te,Ie[At][Sn],ht+1,At,Nt,Gt,Sn)}function en(Te,Ie,ht,At){var Nt=y.useMemo(function(){if(ht!=null&&ht.size){for(var Gt=[],fn=0;fn<(Te==null?void 0:Te.length);fn+=1){var on=Te[fn];st(Gt,on,0,Ie,ht,At,fn)}return Gt}return Te==null?void 0:Te.map(function(gn,Sn){return{record:gn,indent:0,index:Sn}})},[Te,Ie,ht,At]);return Nt}function Ut(Te,Ie,ht,At){var Nt=se(rt,["prefixCls","fixedInfoList","flattenColumns","expandableType","expandRowByClick","onTriggerExpand","rowClassName","expandedRowClassName","indentSize","expandIcon","expandedRowRender","expandIconColumnIndex","expandedKeys","childrenColumnName","rowExpandable","onRow"]),Gt=Nt.flattenColumns,fn=Nt.expandableType,on=Nt.expandedKeys,gn=Nt.childrenColumnName,Sn=Nt.onTriggerExpand,Wn=Nt.rowExpandable,Tn=Nt.onRow,On=Nt.expandRowByClick,Fn=Nt.rowClassName,wn=fn==="nest",vr=fn==="row"&&(!Wn||Wn(Te)),qn=vr||wn,Ar=on&&on.has(Ie),br=gn&&Te&&Te[gn],Tr=(0,ft.zX)(Sn),Dr=Tn==null?void 0:Tn(Te,ht),Pr=Dr==null?void 0:Dr.onClick,Wr=function(Mr){On&&qn&&Sn(Te,Mr);for(var Fr=arguments.length,jr=new Array(Fr>1?Fr-1:0),lr=1;lr<Fr;lr++)jr[lr-1]=arguments[lr];Pr==null||Pr.apply(void 0,[Mr].concat(jr))},Gr;typeof Fn=="string"?Gr=Fn:typeof Fn=="function"&&(Gr=Fn(Te,ht,At));var Jr=Dt(Gt);return(0,Ve.Z)((0,Ve.Z)({},Nt),{},{columnsKey:Jr,nestExpandable:wn,expanded:Ar,hasNestChildren:br,record:Te,onTriggerExpand:Tr,rowSupportExpand:vr,expandable:qn,rowProps:(0,Ve.Z)((0,Ve.Z)({},Dr),{},{className:Le()(Gr,Dr==null?void 0:Dr.className),onClick:Wr})})}function yn(Te){var Ie=Te.prefixCls,ht=Te.children,At=Te.component,Nt=Te.cellComponent,Gt=Te.className,fn=Te.expanded,on=Te.colSpan,gn=Te.isEmpty,Sn=se(rt,["scrollbarSize","fixHeader","fixColumn","componentWidth","horizonScroll"]),Wn=Sn.scrollbarSize,Tn=Sn.fixHeader,On=Sn.fixColumn,Fn=Sn.componentWidth,wn=Sn.horizonScroll,vr=ht;return(gn?wn&&Fn:On)&&(vr=y.createElement("div",{style:{width:Fn-(Tn&&!gn?Wn:0),position:"sticky",left:0,overflow:"hidden"},className:"".concat(Ie,"-expanded-row-fixed")},vr)),y.createElement(At,{className:Gt,style:{display:fn?null:"none"}},y.createElement($t,{component:Nt,prefixCls:Ie,colSpan:on},vr))}var tn=yn;function Vt(Te){var Ie=Te.prefixCls,ht=Te.record,At=Te.onExpand,Nt=Te.expanded,Gt=Te.expandable,fn="".concat(Ie,"-row-expand-icon");if(!Gt)return y.createElement("span",{className:Le()(fn,"".concat(Ie,"-row-spaced"))});var on=function(Sn){At(ht,Sn),Sn.stopPropagation()};return y.createElement("span",{className:Le()(fn,(0,Pe.Z)((0,Pe.Z)({},"".concat(Ie,"-row-expanded"),Nt),"".concat(Ie,"-row-collapsed"),!Nt)),onClick:on})}function Qt(Te,Ie,ht){var At=[];function Nt(Gt){(Gt||[]).forEach(function(fn,on){At.push(Ie(fn,on)),Nt(fn[ht])})}return Nt(Te),At}function sn(Te,Ie,ht,At){return typeof Te=="string"?Te:typeof Te=="function"?Te(Ie,ht,At):""}function bt(Te,Ie,ht,At,Nt){var Gt=Te.record,fn=Te.prefixCls,on=Te.columnsKey,gn=Te.fixedInfoList,Sn=Te.expandIconColumnIndex,Wn=Te.nestExpandable,Tn=Te.indentSize,On=Te.expandIcon,Fn=Te.expanded,wn=Te.hasNestChildren,vr=Te.onTriggerExpand,qn=on[ht],Ar=gn[ht],br;ht===(Sn||0)&&Wn&&(br=y.createElement(y.Fragment,null,y.createElement("span",{style:{paddingLeft:"".concat(Tn*At,"px")},className:"".concat(fn,"-row-indent indent-level-").concat(At)}),On({prefixCls:fn,expanded:Fn,expandable:wn,record:Gt,onExpand:vr})));var Tr;return Ie.onCell&&(Tr=Ie.onCell(Gt,Nt)),{key:qn,fixedInfo:Ar,appendCellNode:br,additionalCellProps:Tr||{}}}function Lt(Te){var Ie=Te.className,ht=Te.style,At=Te.record,Nt=Te.index,Gt=Te.renderIndex,fn=Te.rowKey,on=Te.indent,gn=on===void 0?0:on,Sn=Te.rowComponent,Wn=Te.cellComponent,Tn=Te.scopeCellComponent,On=Ut(At,fn,Nt,gn),Fn=On.prefixCls,wn=On.flattenColumns,vr=On.expandedRowClassName,qn=On.expandedRowRender,Ar=On.rowProps,br=On.expanded,Tr=On.rowSupportExpand,Dr=y.useRef(!1);Dr.current||(Dr.current=br);var Pr=sn(vr,At,Nt,gn),Wr=y.createElement(Sn,(0,Ye.Z)({},Ar,{"data-row-key":fn,className:Le()(Ie,"".concat(Fn,"-row"),"".concat(Fn,"-row-level-").concat(gn),Ar==null?void 0:Ar.className,(0,Pe.Z)({},Pr,gn>=1)),style:(0,Ve.Z)((0,Ve.Z)({},ht),Ar==null?void 0:Ar.style)}),wn.map(function(Io,Mr){var Fr=Io.render,jr=Io.dataIndex,lr=Io.className,ar=bt(On,Io,Mr,gn,Nt),Zr=ar.key,Xr=ar.fixedInfo,lo=ar.appendCellNode,Lo=ar.additionalCellProps;return y.createElement($t,(0,Ye.Z)({className:lr,ellipsis:Io.ellipsis,align:Io.align,scope:Io.rowScope,component:Io.rowScope?Tn:Wn,prefixCls:Fn,key:Zr,record:At,index:Nt,renderIndex:Gt,dataIndex:jr,render:Fr,shouldCellUpdate:Io.shouldCellUpdate},Xr,{appendNode:lo,additionalProps:Lo}))})),Gr;if(Tr&&(Dr.current||br)){var Jr=qn(At,Nt,gn+1,br);Gr=y.createElement(tn,{expanded:br,className:Le()("".concat(Fn,"-expanded-row"),"".concat(Fn,"-expanded-row-level-").concat(gn+1),Pr),prefixCls:Fn,component:Sn,cellComponent:Wn,colSpan:wn.length,isEmpty:!1},Jr)}return y.createElement(y.Fragment,null,Wr,Gr)}var un=Qe(Lt);function Cn(Te){var Ie=Te.columnKey,ht=Te.onColumnResize,At=y.useRef();return(0,De.Z)(function(){At.current&&ht(Ie,At.current.offsetWidth)},[]),y.createElement(dt.Z,{data:Ie},y.createElement("td",{ref:At,style:{padding:0,border:0,height:0}},y.createElement("div",{style:{height:0,overflow:"hidden"}},"\xA0")))}var ut=E(29194);function kt(Te){var Ie=Te.prefixCls,ht=Te.columnsKey,At=Te.onColumnResize,Nt=y.useRef(null);return y.createElement("tr",{"aria-hidden":"true",className:"".concat(Ie,"-measure-row"),style:{height:0,fontSize:0},ref:Nt},y.createElement(dt.Z.Collection,{onBatchResize:function(fn){(0,ut.Z)(Nt.current)&&fn.forEach(function(on){var gn=on.data,Sn=on.size;At(gn,Sn.offsetWidth)})}},ht.map(function(Gt){return y.createElement(Cn,{key:Gt,columnKey:Gt,onColumnResize:At})})))}function wt(Te){var Ie=Te.data,ht=Te.measureColumnWidth,At=se(rt,["prefixCls","getComponent","onColumnResize","flattenColumns","getRowKey","expandedKeys","childrenColumnName","emptyNode"]),Nt=At.prefixCls,Gt=At.getComponent,fn=At.onColumnResize,on=At.flattenColumns,gn=At.getRowKey,Sn=At.expandedKeys,Wn=At.childrenColumnName,Tn=At.emptyNode,On=en(Ie,Wn,Sn,gn),Fn=y.useRef({renderWithProps:!1}),wn=Gt(["body","wrapper"],"tbody"),vr=Gt(["body","row"],"tr"),qn=Gt(["body","cell"],"td"),Ar=Gt(["body","cell"],"th"),br;Ie.length?br=On.map(function(Dr,Pr){var Wr=Dr.record,Gr=Dr.indent,Jr=Dr.index,Io=gn(Wr,Pr);return y.createElement(un,{key:Io,rowKey:Io,record:Wr,index:Pr,renderIndex:Jr,rowComponent:vr,cellComponent:qn,scopeCellComponent:Ar,indent:Gr})}):br=y.createElement(tn,{expanded:!0,className:"".concat(Nt,"-placeholder"),prefixCls:Nt,component:vr,cellComponent:qn,colSpan:on.length,isEmpty:!0},Tn);var Tr=Dt(on);return y.createElement(Yt.Provider,{value:Fn.current},y.createElement(wn,{className:"".concat(Nt,"-tbody")},ht&&y.createElement(kt,{prefixCls:Nt,columnsKey:Tr,onColumnResize:fn}),br))}var cn=Qe(wt),An=["expandable"],Kn="RC_TABLE_INTERNAL_COL_DEFINE";function rr(Te){var Ie=Te.expandable,ht=(0,le.Z)(Te,An),At;return"expandable"in Te?At=(0,Ve.Z)((0,Ve.Z)({},ht),Ie):At=ht,At.showExpandColumn===!1&&(At.expandIconColumnIndex=-1),At}var sr=["columnType"];function kn(Te){for(var Ie=Te.colWidths,ht=Te.columns,At=Te.columCount,Nt=se(rt,["tableLayout"]),Gt=Nt.tableLayout,fn=[],on=At||ht.length,gn=!1,Sn=on-1;Sn>=0;Sn-=1){var Wn=Ie[Sn],Tn=ht&&ht[Sn],On=void 0,Fn=void 0;if(Tn&&(On=Tn[Kn],Gt==="auto"&&(Fn=Tn.minWidth)),Wn||Fn||On||gn){var wn=On||{},vr=wn.columnType,qn=(0,le.Z)(wn,sr);fn.unshift(y.createElement("col",(0,Ye.Z)({key:Sn,style:{width:Wn,minWidth:Fn}},qn))),gn=!0}}return y.createElement("colgroup",null,fn)}var Jn=kn,zt=E(94480),mn=["className","noData","columns","flattenColumns","colWidths","columCount","stickyOffsets","direction","fixHeader","stickyTopOffset","stickyBottomOffset","stickyClassName","onScroll","maxContentScroll","children"];function an(Te,Ie){return(0,y.useMemo)(function(){for(var ht=[],At=0;At<Ie;At+=1){var Nt=Te[At];if(Nt!==void 0)ht[At]=Nt;else return null}return ht},[Te.join("_"),Ie])}var ln=y.forwardRef(function(Te,Ie){var ht=Te.className,At=Te.noData,Nt=Te.columns,Gt=Te.flattenColumns,fn=Te.colWidths,on=Te.columCount,gn=Te.stickyOffsets,Sn=Te.direction,Wn=Te.fixHeader,Tn=Te.stickyTopOffset,On=Te.stickyBottomOffset,Fn=Te.stickyClassName,wn=Te.onScroll,vr=Te.maxContentScroll,qn=Te.children,Ar=(0,le.Z)(Te,mn),br=se(rt,["prefixCls","scrollbarSize","isSticky","getComponent"]),Tr=br.prefixCls,Dr=br.scrollbarSize,Pr=br.isSticky,Wr=br.getComponent,Gr=Wr(["header","table"],"table"),Jr=Pr&&!Wn?0:Dr,Io=y.useRef(null),Mr=y.useCallback(function(Lo){(0,fe.mH)(Ie,Lo),(0,fe.mH)(Io,Lo)},[]);y.useEffect(function(){var Lo;function _r(Fi){var xi=Fi,pa=xi.currentTarget,Qi=xi.deltaX;Qi&&(wn({currentTarget:pa,scrollLeft:pa.scrollLeft+Qi}),Fi.preventDefault())}return(Lo=Io.current)===null||Lo===void 0||Lo.addEventListener("wheel",_r,{passive:!1}),function(){var Fi;(Fi=Io.current)===null||Fi===void 0||Fi.removeEventListener("wheel",_r)}},[]);var Fr=y.useMemo(function(){return Gt.every(function(Lo){return Lo.width})},[Gt]),jr=Gt[Gt.length-1],lr={fixed:jr?jr.fixed:null,scrollbar:!0,onHeaderCell:function(){return{className:"".concat(Tr,"-cell-scrollbar")}}},ar=(0,y.useMemo)(function(){return Jr?[].concat((0,zt.Z)(Nt),[lr]):Nt},[Jr,Nt]),Zr=(0,y.useMemo)(function(){return Jr?[].concat((0,zt.Z)(Gt),[lr]):Gt},[Jr,Gt]),Xr=(0,y.useMemo)(function(){var Lo=gn.right,_r=gn.left;return(0,Ve.Z)((0,Ve.Z)({},gn),{},{left:Sn==="rtl"?[].concat((0,zt.Z)(_r.map(function(Fi){return Fi+Jr})),[0]):_r,right:Sn==="rtl"?Lo:[].concat((0,zt.Z)(Lo.map(function(Fi){return Fi+Jr})),[0]),isSticky:Pr})},[Jr,gn,Pr]),lo=an(fn,on);return y.createElement("div",{style:(0,Ve.Z)({overflow:"hidden"},Pr?{top:Tn,bottom:On}:{}),ref:Mr,className:Le()(ht,(0,Pe.Z)({},Fn,!!Fn))},y.createElement(Gr,{style:{tableLayout:"fixed",visibility:At||lo?null:"hidden"}},(!At||!vr||Fr)&&y.createElement(Jn,{colWidths:lo?[].concat((0,zt.Z)(lo),[Jr]):[],columCount:on+1,columns:Zr}),qn((0,Ve.Z)((0,Ve.Z)({},Ar),{},{stickyOffsets:Xr,columns:ar,flattenColumns:Zr}))))}),qt=y.memo(ln),xn=function(Ie){var ht=Ie.cells,At=Ie.stickyOffsets,Nt=Ie.flattenColumns,Gt=Ie.rowComponent,fn=Ie.cellComponent,on=Ie.onHeaderRow,gn=Ie.index,Sn=se(rt,["prefixCls","direction"]),Wn=Sn.prefixCls,Tn=Sn.direction,On;on&&(On=on(ht.map(function(wn){return wn.column}),gn));var Fn=Dt(ht.map(function(wn){return wn.column}));return y.createElement(Gt,On,ht.map(function(wn,vr){var qn=wn.column,Ar=Rt(wn.colStart,wn.colEnd,Nt,At,Tn),br;return qn&&qn.onHeaderCell&&(br=wn.column.onHeaderCell(qn)),y.createElement($t,(0,Ye.Z)({},wn,{scope:qn.title?wn.colSpan>1?"colgroup":"col":null,ellipsis:qn.ellipsis,align:qn.align,component:fn,prefixCls:Wn,key:Fn[vr]},Ar,{additionalProps:br,rowType:"header"}))}))},En=xn;function _n(Te){var Ie=[];function ht(fn,on){var gn=arguments.length>2&&arguments[2]!==void 0?arguments[2]:0;Ie[gn]=Ie[gn]||[];var Sn=on,Wn=fn.filter(Boolean).map(function(Tn){var On={key:Tn.key,className:Tn.className||"",children:Tn.title,column:Tn,colStart:Sn},Fn=1,wn=Tn.children;return wn&&wn.length>0&&(Fn=ht(wn,Sn,gn+1).reduce(function(vr,qn){return vr+qn},0),On.hasSubColumns=!0),"colSpan"in Tn&&(Fn=Tn.colSpan),"rowSpan"in Tn&&(On.rowSpan=Tn.rowSpan),On.colSpan=Fn,On.colEnd=On.colStart+Fn-1,Ie[gn].push(On),Sn+=Fn,Fn});return Wn}ht(Te,0);for(var At=Ie.length,Nt=function(on){Ie[on].forEach(function(gn){!("rowSpan"in gn)&&!gn.hasSubColumns&&(gn.rowSpan=At-on)})},Gt=0;Gt<At;Gt+=1)Nt(Gt);return Ie}var $n=function(Ie){var ht=Ie.stickyOffsets,At=Ie.columns,Nt=Ie.flattenColumns,Gt=Ie.onHeaderRow,fn=se(rt,["prefixCls","getComponent"]),on=fn.prefixCls,gn=fn.getComponent,Sn=y.useMemo(function(){return _n(At)},[At]),Wn=gn(["header","wrapper"],"thead"),Tn=gn(["header","row"],"tr"),On=gn(["header","cell"],"th");return y.createElement(Wn,{className:"".concat(on,"-thead")},Sn.map(function(Fn,wn){var vr=y.createElement(En,{key:wn,flattenColumns:Nt,cells:Fn,stickyOffsets:ht,rowComponent:Tn,cellComponent:On,onHeaderRow:Gt,index:wn});return vr}))},Yn=Qe($n),Gn=E(11592);function Qn(Te){var Ie=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";return typeof Ie=="number"?Ie:Ie.endsWith("%")?Te*parseFloat(Ie)/100:null}function nr(Te,Ie,ht){return y.useMemo(function(){if(Ie&&Ie>0){var At=0,Nt=0;Te.forEach(function(On){var Fn=Qn(Ie,On.width);Fn?At+=Fn:Nt+=1});var Gt=Math.max(Ie,ht),fn=Math.max(Gt-At,Nt),on=Nt,gn=fn/Nt,Sn=0,Wn=Te.map(function(On){var Fn=(0,Ve.Z)({},On),wn=Qn(Ie,Fn.width);if(wn)Fn.width=wn;else{var vr=Math.floor(gn);Fn.width=on===1?fn:vr,fn-=vr,on-=1}return Sn+=Fn.width,Fn});if(Sn<Gt){var Tn=Gt/Sn;fn=Gt,Wn.forEach(function(On,Fn){var wn=Math.floor(On.width*Tn);On.width=Fn===Wn.length-1?fn:wn,fn-=wn})}return[Wn,Math.max(Sn,Gt)]}return[Te,Ie]},[Te,Ie,ht])}var Rr=["children"],Ir=["fixed"];function Bn(Te){return(0,Gn.Z)(Te).filter(function(Ie){return y.isValidElement(Ie)}).map(function(Ie){var ht=Ie.key,At=Ie.props,Nt=At.children,Gt=(0,le.Z)(At,Rr),fn=(0,Ve.Z)({key:ht},Gt);return Nt&&(fn.children=Bn(Nt)),fn})}function Mn(Te){return Te.filter(function(Ie){return Ie&&(0,Oe.Z)(Ie)==="object"&&!Ie.hidden}).map(function(Ie){var ht=Ie.children;return ht&&ht.length>0?(0,Ve.Z)((0,Ve.Z)({},Ie),{},{children:Mn(ht)}):Ie})}function ur(Te){var Ie=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"key";return Te.filter(function(ht){return ht&&(0,Oe.Z)(ht)==="object"}).reduce(function(ht,At,Nt){var Gt=At.fixed,fn=Gt===!0?"left":Gt,on="".concat(Ie,"-").concat(Nt),gn=At.children;return gn&&gn.length>0?[].concat((0,zt.Z)(ht),(0,zt.Z)(ur(gn,on).map(function(Sn){return(0,Ve.Z)({fixed:fn},Sn)}))):[].concat((0,zt.Z)(ht),[(0,Ve.Z)((0,Ve.Z)({key:on},At),{},{fixed:fn})])},[])}function dr(Te){return Te.map(function(Ie){var ht=Ie.fixed,At=(0,le.Z)(Ie,Ir),Nt=ht;return ht==="left"?Nt="right":ht==="right"&&(Nt="left"),(0,Ve.Z)({fixed:Nt},At)})}function Ot(Te,Ie){var ht=Te.prefixCls,At=Te.columns,Nt=Te.children,Gt=Te.expandable,fn=Te.expandedKeys,on=Te.columnTitle,gn=Te.getRowKey,Sn=Te.onTriggerExpand,Wn=Te.expandIcon,Tn=Te.rowExpandable,On=Te.expandIconColumnIndex,Fn=Te.direction,wn=Te.expandRowByClick,vr=Te.columnWidth,qn=Te.fixed,Ar=Te.scrollWidth,br=Te.clientWidth,Tr=y.useMemo(function(){var jr=At||Bn(Nt)||[];return Mn(jr.slice())},[At,Nt]),Dr=y.useMemo(function(){if(Gt){var jr=Tr.slice();if(!jr.includes(xe)){var lr=On||0;lr>=0&&(lr||qn==="left"||!qn)&&jr.splice(lr,0,xe),qn==="right"&&jr.splice(Tr.length,0,xe)}var ar=jr.indexOf(xe);jr=jr.filter(function(Lo,_r){return Lo!==xe||_r===ar});var Zr=Tr[ar],Xr;qn?Xr=qn:Xr=Zr?Zr.fixed:null;var lo=(0,Pe.Z)((0,Pe.Z)((0,Pe.Z)((0,Pe.Z)((0,Pe.Z)((0,Pe.Z)({},Kn,{className:"".concat(ht,"-expand-icon-col"),columnType:"EXPAND_COLUMN"}),"title",on),"fixed",Xr),"className","".concat(ht,"-row-expand-icon-cell")),"width",vr),"render",function(_r,Fi,xi){var pa=gn(Fi,xi),Qi=fn.has(pa),ua=Tn?Tn(Fi):!0,ga=Wn({prefixCls:ht,expanded:Qi,expandable:ua,record:Fi,onExpand:Sn});return wn?y.createElement("span",{onClick:function(Ri){return Ri.stopPropagation()}},ga):ga});return jr.map(function(Lo){return Lo===xe?lo:Lo})}return Tr.filter(function(Lo){return Lo!==xe})},[Gt,Tr,gn,fn,Wn,Fn]),Pr=y.useMemo(function(){var jr=Dr;return Ie&&(jr=Ie(jr)),jr.length||(jr=[{render:function(){return null}}]),jr},[Ie,Dr,Fn]),Wr=y.useMemo(function(){return Fn==="rtl"?dr(ur(Pr)):ur(Pr)},[Pr,Fn,Ar]),Gr=y.useMemo(function(){for(var jr=-1,lr=Wr.length-1;lr>=0;lr-=1){var ar=Wr[lr].fixed;if(ar==="left"||ar===!0){jr=lr;break}}if(jr>=0)for(var Zr=0;Zr<=jr;Zr+=1){var Xr=Wr[Zr].fixed;if(Xr!=="left"&&Xr!==!0)return!0}var lo=Wr.findIndex(function(Fi){var xi=Fi.fixed;return xi==="right"});if(lo>=0)for(var Lo=lo;Lo<Wr.length;Lo+=1){var _r=Wr[Lo].fixed;if(_r!=="right")return!0}return!1},[Wr]),Jr=nr(Wr,Ar,br),Io=(0,je.Z)(Jr,2),Mr=Io[0],Fr=Io[1];return[Pr,Mr,Fr,Gr]}var Jt=Ot;function vt(Te,Ie,ht){var At=rr(Te),Nt=At.expandIcon,Gt=At.expandedRowKeys,fn=At.defaultExpandedRowKeys,on=At.defaultExpandAllRows,gn=At.expandedRowRender,Sn=At.onExpand,Wn=At.onExpandedRowsChange,Tn=At.childrenColumnName,On=Nt||Vt,Fn=Tn||"children",wn=y.useMemo(function(){return gn?"row":Te.expandable&&Te.internalHooks===he&&Te.expandable.__PARENT_RENDER_ICON__||Ie.some(function(Pr){return Pr&&(0,Oe.Z)(Pr)==="object"&&Pr[Fn]})?"nest":!1},[!!gn,Ie]),vr=y.useState(function(){return fn||(on?Qt(Ie,ht,Fn):[])}),qn=(0,je.Z)(vr,2),Ar=qn[0],br=qn[1],Tr=y.useMemo(function(){return new Set(Gt||Ar||[])},[Gt,Ar]),Dr=y.useCallback(function(Pr){var Wr=ht(Pr,Ie.indexOf(Pr)),Gr,Jr=Tr.has(Wr);Jr?(Tr.delete(Wr),Gr=(0,zt.Z)(Tr)):Gr=[].concat((0,zt.Z)(Tr),[Wr]),br(Gr),Sn&&Sn(!Jr,Pr),Wn&&Wn(Gr)},[ht,Tr,Ie,Sn,Wn]);return[At,wn,Tr,On,Fn,Dr]}function Tt(Te,Ie,ht){var At=Te.map(function(Nt,Gt){return Rt(Gt,Gt,Te,Ie,ht)});return(0,pe.Z)(function(){return At},[At],function(Nt,Gt){return!(0,ye.Z)(Nt,Gt)})}function Et(Te){var Ie=(0,y.useRef)(Te),ht=(0,y.useState)({}),At=(0,je.Z)(ht,2),Nt=At[1],Gt=(0,y.useRef)(null),fn=(0,y.useRef)([]);function on(gn){fn.current.push(gn);var Sn=Promise.resolve();Gt.current=Sn,Sn.then(function(){if(Gt.current===Sn){var Wn=fn.current,Tn=Ie.current;fn.current=[],Wn.forEach(function(On){Ie.current=On(Ie.current)}),Gt.current=null,Tn!==Ie.current&&Nt({})}})}return(0,y.useEffect)(function(){return function(){Gt.current=null}},[]),[Ie.current,on]}function Ht(Te){var Ie=(0,y.useRef)(Te||null),ht=(0,y.useRef)();function At(){window.clearTimeout(ht.current)}function Nt(fn){Ie.current=fn,At(),ht.current=window.setTimeout(function(){Ie.current=null,ht.current=void 0},100)}function Gt(){return Ie.current}return(0,y.useEffect)(function(){return At},[]),[Nt,Gt]}function ot(){var Te=y.useState(-1),Ie=(0,je.Z)(Te,2),ht=Ie[0],At=Ie[1],Nt=y.useState(-1),Gt=(0,je.Z)(Nt,2),fn=Gt[0],on=Gt[1],gn=y.useCallback(function(Sn,Wn){At(Sn),on(Wn)},[]);return[ht,fn,gn]}var Xt=E(47273),nn=(0,Xt.Z)()?window:null;function Kt(Te,Ie){var ht=(0,Oe.Z)(Te)==="object"?Te:{},At=ht.offsetHeader,Nt=At===void 0?0:At,Gt=ht.offsetSummary,fn=Gt===void 0?0:Gt,on=ht.offsetScroll,gn=on===void 0?0:on,Sn=ht.getContainer,Wn=Sn===void 0?function(){return nn}:Sn,Tn=Wn()||nn,On=!!Te;return y.useMemo(function(){return{isSticky:On,stickyClassName:On?"".concat(Ie,"-sticky-holder"):"",offsetHeader:Nt,offsetSummary:fn,offsetScroll:gn,container:Tn}},[On,gn,Nt,fn,Ie,Tn])}function nt(Te,Ie,ht){var At=(0,y.useMemo)(function(){var Nt=Ie.length,Gt=function(Sn,Wn,Tn){for(var On=[],Fn=0,wn=Sn;wn!==Wn;wn+=Tn)On.push(Fn),Ie[wn].fixed&&(Fn+=Te[wn]||0);return On},fn=Gt(0,Nt,1),on=Gt(Nt-1,-1,-1).reverse();return ht==="rtl"?{left:on,right:fn}:{left:fn,right:on}},[Te,Ie,ht]);return At}var Bt=nt;function It(Te){var Ie=Te.className,ht=Te.children;return y.createElement("div",{className:Ie},ht)}var _t=It,Ln=E(8224),zn=E(16089),Vn=E(76846);function Or(Te){var Ie=(0,Vn.bn)(Te),ht=Ie.getBoundingClientRect(),At=document.documentElement;return{left:ht.left+(window.pageXOffset||At.scrollLeft)-(At.clientLeft||document.body.clientLeft||0),top:ht.top+(window.pageYOffset||At.scrollTop)-(At.clientTop||document.body.clientTop||0)}}var Hr=function(Ie,ht){var At,Nt,Gt=Ie.scrollBodyRef,fn=Ie.onScroll,on=Ie.offsetScroll,gn=Ie.container,Sn=Ie.direction,Wn=se(rt,"prefixCls"),Tn=((At=Gt.current)===null||At===void 0?void 0:At.scrollWidth)||0,On=((Nt=Gt.current)===null||Nt===void 0?void 0:Nt.clientWidth)||0,Fn=Tn&&On*(On/Tn),wn=y.useRef(),vr=Et({scrollLeft:0,isHiddenScrollBar:!0}),qn=(0,je.Z)(vr,2),Ar=qn[0],br=qn[1],Tr=y.useRef({delta:0,x:0}),Dr=y.useState(!1),Pr=(0,je.Z)(Dr,2),Wr=Pr[0],Gr=Pr[1],Jr=y.useRef(null);y.useEffect(function(){return function(){zn.Z.cancel(Jr.current)}},[]);var Io=function(){Gr(!1)},Mr=function(Zr){Zr.persist(),Tr.current.delta=Zr.pageX-Ar.scrollLeft,Tr.current.x=0,Gr(!0),Zr.preventDefault()},Fr=function(Zr){var Xr,lo=Zr||((Xr=window)===null||Xr===void 0?void 0:Xr.event),Lo=lo.buttons;if(!Wr||Lo===0){Wr&&Gr(!1);return}var _r=Tr.current.x+Zr.pageX-Tr.current.x-Tr.current.delta,Fi=Sn==="rtl";_r=Math.max(Fi?Fn-On:0,Math.min(Fi?0:On-Fn,_r));var xi=!Fi||Math.abs(_r)+Math.abs(Fn)<On;xi&&(fn({scrollLeft:_r/On*(Tn+2)}),Tr.current.x=Zr.pageX)},jr=function(){zn.Z.cancel(Jr.current),Jr.current=(0,zn.Z)(function(){if(Gt.current){var Zr=Or(Gt.current).top,Xr=Zr+Gt.current.offsetHeight,lo=gn===window?document.documentElement.scrollTop+window.innerHeight:Or(gn).top+gn.clientHeight;Xr-(0,St.Z)()<=lo||Zr>=lo-on?br(function(Lo){return(0,Ve.Z)((0,Ve.Z)({},Lo),{},{isHiddenScrollBar:!0})}):br(function(Lo){return(0,Ve.Z)((0,Ve.Z)({},Lo),{},{isHiddenScrollBar:!1})})}})},lr=function(Zr){br(function(Xr){return(0,Ve.Z)((0,Ve.Z)({},Xr),{},{scrollLeft:Zr/Tn*On||0})})};return y.useImperativeHandle(ht,function(){return{setScrollLeft:lr,checkScrollBarVisible:jr}}),y.useEffect(function(){var ar=(0,Ln.Z)(document.body,"mouseup",Io,!1),Zr=(0,Ln.Z)(document.body,"mousemove",Fr,!1);return jr(),function(){ar.remove(),Zr.remove()}},[Fn,Wr]),y.useEffect(function(){if(Gt.current){for(var ar=[],Zr=(0,Vn.bn)(Gt.current);Zr;)ar.push(Zr),Zr=Zr.parentElement;return ar.forEach(function(Xr){return Xr.addEventListener("scroll",jr,!1)}),window.addEventListener("resize",jr,!1),window.addEventListener("scroll",jr,!1),gn.addEventListener("scroll",jr,!1),function(){ar.forEach(function(Xr){return Xr.removeEventListener("scroll",jr)}),window.removeEventListener("resize",jr),window.removeEventListener("scroll",jr),gn.removeEventListener("scroll",jr)}}},[gn]),y.useEffect(function(){Ar.isHiddenScrollBar||br(function(ar){var Zr=Gt.current;return Zr?(0,Ve.Z)((0,Ve.Z)({},ar),{},{scrollLeft:Zr.scrollLeft/Zr.scrollWidth*Zr.clientWidth}):ar})},[Ar.isHiddenScrollBar]),Tn<=On||!Fn||Ar.isHiddenScrollBar?null:y.createElement("div",{style:{height:(0,St.Z)(),width:On,bottom:on},className:"".concat(Wn,"-sticky-scroll")},y.createElement("div",{onMouseDown:Mr,ref:wn,className:Le()("".concat(Wn,"-sticky-scroll-bar"),(0,Pe.Z)({},"".concat(Wn,"-sticky-scroll-bar-active"),Wr)),style:{width:"".concat(Fn,"px"),transform:"translate3d(".concat(Ar.scrollLeft,"px, 0, 0)")}}))},to=y.forwardRef(Hr);function mr(Te){return null}var Er=mr;function Nr(Te){return null}var Yr=Nr,ro="rc-table",oo=[],ao={};function Lr(){return"No Data"}function eo(Te,Ie){var ht=(0,Ve.Z)({rowKey:"key",prefixCls:ro,emptyText:Lr},Te),At=ht.prefixCls,Nt=ht.className,Gt=ht.rowClassName,fn=ht.style,on=ht.data,gn=ht.rowKey,Sn=ht.scroll,Wn=ht.tableLayout,Tn=ht.direction,On=ht.title,Fn=ht.footer,wn=ht.summary,vr=ht.caption,qn=ht.id,Ar=ht.showHeader,br=ht.components,Tr=ht.emptyText,Dr=ht.onRow,Pr=ht.onHeaderRow,Wr=ht.onScroll,Gr=ht.internalHooks,Jr=ht.transformColumns,Io=ht.internalRefs,Mr=ht.tailor,Fr=ht.getContainerWidth,jr=ht.sticky,lr=ht.rowHoverable,ar=lr===void 0?!0:lr,Zr=on||oo,Xr=!!Zr.length,lo=Gr===he,Lo=y.useCallback(function(la,ma){return(0,qe.Z)(br,la)||ma},[br]),_r=y.useMemo(function(){return typeof gn=="function"?gn:function(la){var ma=la&&la[gn];return ma}},[gn]),Fi=Lo(["body"]),xi=ot(),pa=(0,je.Z)(xi,3),Qi=pa[0],ua=pa[1],ga=pa[2],Ca=vt(ht,Zr,_r),Ri=(0,je.Z)(Ca,6),Ni=Ri[0],Pa=Ri[1],Ia=Ri[2],Ko=Ri[3],Si=Ri[4],zo=Ri[5],go=Sn==null?void 0:Sn.x,Vi=y.useState(0),qi=(0,je.Z)(Vi,2),ba=qi[0],ea=qi[1],Oa=Jt((0,Ve.Z)((0,Ve.Z)((0,Ve.Z)({},ht),Ni),{},{expandable:!!Ni.expandedRowRender,columnTitle:Ni.columnTitle,expandedKeys:Ia,getRowKey:_r,onTriggerExpand:zo,expandIcon:Ko,expandIconColumnIndex:Ni.expandIconColumnIndex,direction:Tn,scrollWidth:lo&&Mr&&typeof go=="number"?go:null,clientWidth:ba}),lo?Jr:null),Da=(0,je.Z)(Oa,4),Jo=Da[0],si=Da[1],ta=Da[2],ca=Da[3],da=ta!=null?ta:go,za=y.useMemo(function(){return{columns:Jo,flattenColumns:si}},[Jo,si]),Ea=y.useRef(),Xa=y.useRef(),ya=y.useRef(),Ui=y.useRef();y.useImperativeHandle(Ie,function(){return{nativeElement:Ea.current,scrollTo:function(ma){var gl;if(ya.current instanceof HTMLElement){var Rl=ma.index,yl=ma.top,Ms=ma.key;if(lt(yl)){var hs;(hs=ya.current)===null||hs===void 0||hs.scrollTo({top:yl})}else{var ls,Is=Ms!=null?Ms:_r(Zr[Rl]);(ls=ya.current.querySelector('[data-row-key="'.concat(Is,'"]')))===null||ls===void 0||ls.scrollIntoView()}}else(gl=ya.current)!==null&&gl!==void 0&&gl.scrollTo&&ya.current.scrollTo(ma)}}});var va=y.useRef(),xa=y.useState(!1),Ra=(0,je.Z)(xa,2),La=Ra[0],Xi=Ra[1],Fa=y.useState(!1),ia=(0,je.Z)(Fa,2),_a=ia[0],ja=ia[1],nl=y.useState(new Map),ll=(0,je.Z)(nl,2),Il=ll[0],Sa=ll[1],as=Dt(si),rl=as.map(function(la){return Il.get(la)}),Dl=y.useMemo(function(){return rl},[rl.join("_")]),pl=Bt(Dl,si,Tn),wi=Sn&&Zt(Sn.y),jo=Sn&&Zt(da)||!!Ni.fixed,Na=jo&&si.some(function(la){var ma=la.fixed;return ma}),sl=y.useRef(),Bl=Kt(jr,At),Gl=Bl.isSticky,Ds=Bl.offsetHeader,Fs=Bl.offsetSummary,Rs=Bl.offsetScroll,aa=Bl.stickyClassName,Hi=Bl.container,ho=y.useMemo(function(){return wn==null?void 0:wn(Zr)},[wn,Zr]),fi=(wi||Gl)&&y.isValidElement(ho)&&ho.type===Ue&&ho.props.fixed,Yi,Ka,ul;wi&&(Ka={overflowY:Xr?"scroll":"auto",maxHeight:Sn.y}),jo&&(Yi={overflowX:"auto"},wi||(Ka={overflowY:"hidden"}),ul={width:da===!0?"auto":da,minWidth:"100%"});var ol=y.useCallback(function(la,ma){Sa(function(gl){if(gl.get(la)!==ma){var Rl=new Map(gl);return Rl.set(la,ma),Rl}return gl})},[]),$l=Ht(null),vl=(0,je.Z)($l,2),Bs=vl[0],eu=vl[1];function Zs(la,ma){ma&&(typeof ma=="function"?ma(la):ma.scrollLeft!==la&&(ma.scrollLeft=la,ma.scrollLeft!==la&&setTimeout(function(){ma.scrollLeft=la},0)))}var gs=(0,be.Z)(function(la){var ma=la.currentTarget,gl=la.scrollLeft,Rl=Tn==="rtl",yl=typeof gl=="number"?gl:ma.scrollLeft,Ms=ma||ao;if(!eu()||eu()===Ms){var hs;Bs(Ms),Zs(yl,Xa.current),Zs(yl,ya.current),Zs(yl,va.current),Zs(yl,(hs=sl.current)===null||hs===void 0?void 0:hs.setScrollLeft)}var ls=ma||Xa.current;if(ls){var Is=lo&&Mr&&typeof da=="number"?da:ls.scrollWidth,fu=ls.clientWidth;if(Is===fu){Xi(!1),ja(!1);return}Rl?(Xi(-yl<Is-fu),ja(-yl>0)):(Xi(yl>0),ja(yl<Is-fu))}}),Gs=(0,be.Z)(function(la){gs(la),Wr==null||Wr(la)}),ys=function(){if(jo&&ya.current){var ma;gs({currentTarget:(0,Vn.bn)(ya.current),scrollLeft:(ma=ya.current)===null||ma===void 0?void 0:ma.scrollLeft})}else Xi(!1),ja(!1)},tu=function(ma){var gl,Rl=ma.width;(gl=sl.current)===null||gl===void 0||gl.checkScrollBarVisible();var yl=Ea.current?Ea.current.offsetWidth:Rl;lo&&Fr&&Ea.current&&(yl=Fr(Ea.current,yl)||yl),yl!==ba&&(ys(),ea(yl))},Xs=y.useRef(!1);y.useEffect(function(){Xs.current&&ys()},[jo,on,Jo.length]),y.useEffect(function(){Xs.current=!0},[]);var nu=y.useState(0),vu=(0,je.Z)(nu,2),ms=vu[0],ru=vu[1],wu=y.useState(!0),ou=(0,je.Z)(wu,2),zs=ou[0],Au=ou[1];(0,De.Z)(function(){(!Mr||!lo)&&(ya.current instanceof Element?ru((0,St.o)(ya.current).width):ru((0,St.o)(Ui.current).width)),Au((0,gt.G)("position","sticky"))},[]),y.useEffect(function(){lo&&Io&&(Io.body.current=ya.current)});var Du=y.useCallback(function(la){return y.createElement(y.Fragment,null,y.createElement(Yn,la),fi==="top"&&y.createElement(et,la,ho))},[fi,ho]),js=y.useCallback(function(la){return y.createElement(et,la,ho)},[ho]),iu=Lo(["table"],"table"),Ws=y.useMemo(function(){return Wn||(Na?da==="max-content"?"auto":"fixed":wi||Gl||si.some(function(la){var ma=la.ellipsis;return ma})?"fixed":"auto")},[wi,Na,si,Wn,Gl]),au,Hs={colWidths:Dl,columCount:si.length,stickyOffsets:pl,onHeaderRow:Pr,fixHeader:wi,scroll:Sn},lu=y.useMemo(function(){return Xr?null:typeof Tr=="function"?Tr():Tr},[Xr,Tr]),gu=y.createElement(cn,{data:Zr,measureColumnWidth:wi||jo||Gl}),su=y.createElement(Jn,{colWidths:si.map(function(la){var ma=la.width;return ma}),columns:si}),uu=vr!=null?y.createElement("caption",{className:"".concat(At,"-caption")},vr):void 0,Fu=(0,_e.Z)(ht,{data:!0}),_s=(0,_e.Z)(ht,{aria:!0});if(wi||Gl){var Cs;typeof Fi=="function"?(Cs=Fi(Zr,{scrollbarSize:ms,ref:ya,onScroll:gs}),Hs.colWidths=si.map(function(la,ma){var gl=la.width,Rl=ma===si.length-1?gl-ms:gl;return typeof Rl=="number"&&!Number.isNaN(Rl)?Rl:0})):Cs=y.createElement("div",{style:(0,Ve.Z)((0,Ve.Z)({},Yi),Ka),onScroll:Gs,ref:ya,className:Le()("".concat(At,"-body"))},y.createElement(iu,(0,Ye.Z)({style:(0,Ve.Z)((0,Ve.Z)({},ul),{},{tableLayout:Ws})},_s),uu,su,gu,!fi&&ho&&y.createElement(et,{stickyOffsets:pl,flattenColumns:si},ho)));var Ps=(0,Ve.Z)((0,Ve.Z)((0,Ve.Z)({noData:!Zr.length,maxContentScroll:jo&&da==="max-content"},Hs),za),{},{direction:Tn,stickyClassName:aa,onScroll:gs});au=y.createElement(y.Fragment,null,Ar!==!1&&y.createElement(qt,(0,Ye.Z)({},Ps,{stickyTopOffset:Ds,className:"".concat(At,"-header"),ref:Xa}),Du),Cs,fi&&fi!=="top"&&y.createElement(qt,(0,Ye.Z)({},Ps,{stickyBottomOffset:Fs,className:"".concat(At,"-summary"),ref:va}),js),Gl&&ya.current&&ya.current instanceof Element&&y.createElement(to,{ref:sl,offsetScroll:Rs,scrollBodyRef:ya,onScroll:gs,container:Hi,direction:Tn}))}else au=y.createElement("div",{style:(0,Ve.Z)((0,Ve.Z)({},Yi),Ka),className:Le()("".concat(At,"-content")),onScroll:gs,ref:ya},y.createElement(iu,(0,Ye.Z)({style:(0,Ve.Z)((0,Ve.Z)({},ul),{},{tableLayout:Ws})},_s),uu,su,Ar!==!1&&y.createElement(Yn,(0,Ye.Z)({},Hs,za)),gu,ho&&y.createElement(et,{stickyOffsets:pl,flattenColumns:si},ho)));var cu=y.createElement("div",(0,Ye.Z)({className:Le()(At,Nt,(0,Pe.Z)((0,Pe.Z)((0,Pe.Z)((0,Pe.Z)((0,Pe.Z)((0,Pe.Z)((0,Pe.Z)((0,Pe.Z)((0,Pe.Z)((0,Pe.Z)({},"".concat(At,"-rtl"),Tn==="rtl"),"".concat(At,"-ping-left"),La),"".concat(At,"-ping-right"),_a),"".concat(At,"-layout-fixed"),Wn==="fixed"),"".concat(At,"-fixed-header"),wi),"".concat(At,"-fixed-column"),Na),"".concat(At,"-fixed-column-gapped"),Na&&ca),"".concat(At,"-scroll-horizontal"),jo),"".concat(At,"-has-fix-left"),si[0]&&si[0].fixed),"".concat(At,"-has-fix-right"),si[si.length-1]&&si[si.length-1].fixed==="right")),style:fn,id:qn,ref:Ea},Fu),On&&y.createElement(_t,{className:"".concat(At,"-title")},On(Zr)),y.createElement("div",{ref:Ui,className:"".concat(At,"-container")},au),Fn&&y.createElement(_t,{className:"".concat(At,"-footer")},Fn(Zr)));jo&&(cu=y.createElement(dt.Z,{onResize:tu},cu));var du=Tt(si,pl,Tn),Bu=y.useMemo(function(){return{scrollX:da,prefixCls:At,getComponent:Lo,scrollbarSize:ms,direction:Tn,fixedInfoList:du,isSticky:Gl,supportSticky:zs,componentWidth:ba,fixHeader:wi,fixColumn:Na,horizonScroll:jo,tableLayout:Ws,rowClassName:Gt,expandedRowClassName:Ni.expandedRowClassName,expandIcon:Ko,expandableType:Pa,expandRowByClick:Ni.expandRowByClick,expandedRowRender:Ni.expandedRowRender,onTriggerExpand:zo,expandIconColumnIndex:Ni.expandIconColumnIndex,indentSize:Ni.indentSize,allColumnsFixedLeft:si.every(function(la){return la.fixed==="left"}),emptyNode:lu,columns:Jo,flattenColumns:si,onColumnResize:ol,hoverStartRow:Qi,hoverEndRow:ua,onHover:ga,rowExpandable:Ni.rowExpandable,onRow:Dr,getRowKey:_r,expandedKeys:Ia,childrenColumnName:Si,rowHoverable:ar}},[da,At,Lo,ms,Tn,du,Gl,zs,ba,wi,Na,jo,Ws,Gt,Ni.expandedRowClassName,Ko,Pa,Ni.expandRowByClick,Ni.expandedRowRender,zo,Ni.expandIconColumnIndex,Ni.indentSize,lu,Jo,si,ol,Qi,ua,ga,Ni.rowExpandable,Dr,_r,Ia,Si,ar]);return y.createElement(rt.Provider,{value:Bu},cu)}var $r=y.forwardRef(eo);function Wo(Te){return Ze($r,Te)}var Vo=Wo();Vo.EXPAND_COLUMN=xe,Vo.INTERNAL_HOOKS=he,Vo.Column=Er,Vo.ColumnGroup=Yr,Vo.Summary=tt;var ir=Vo,Ro=E(48911),ei=we(null),yo=we(null);function Zo(Te,Ie,ht){var At=Ie||1;return ht[Te+At]-(ht[Te]||0)}function vo(Te){var Ie=Te.rowInfo,ht=Te.column,At=Te.colIndex,Nt=Te.indent,Gt=Te.index,fn=Te.component,on=Te.renderIndex,gn=Te.record,Sn=Te.style,Wn=Te.className,Tn=Te.inverse,On=Te.getHeight,Fn=ht.render,wn=ht.dataIndex,vr=ht.className,qn=ht.width,Ar=se(yo,["columnsOffset"]),br=Ar.columnsOffset,Tr=bt(Ie,ht,At,Nt,Gt),Dr=Tr.key,Pr=Tr.fixedInfo,Wr=Tr.appendCellNode,Gr=Tr.additionalCellProps,Jr=Gr.style,Io=Gr.colSpan,Mr=Io===void 0?1:Io,Fr=Gr.rowSpan,jr=Fr===void 0?1:Fr,lr=At-1,ar=Zo(lr,Mr,br),Zr=Mr>1?qn-ar:0,Xr=(0,Ve.Z)((0,Ve.Z)((0,Ve.Z)({},Jr),Sn),{},{flex:"0 0 ".concat(ar,"px"),width:"".concat(ar,"px"),marginRight:Zr,pointerEvents:"auto"}),lo=y.useMemo(function(){return Tn?jr<=1:Mr===0||jr===0||jr>1},[jr,Mr,Tn]);lo?Xr.visibility="hidden":Tn&&(Xr.height=On==null?void 0:On(jr));var Lo=lo?function(){return null}:Fn,_r={};return(jr===0||Mr===0)&&(_r.rowSpan=1,_r.colSpan=1),y.createElement($t,(0,Ye.Z)({className:Le()(vr,Wn),ellipsis:ht.ellipsis,align:ht.align,scope:ht.rowScope,component:fn,prefixCls:Ie.prefixCls,key:Dr,record:gn,index:Gt,renderIndex:on,dataIndex:wn,render:Lo,shouldCellUpdate:ht.shouldCellUpdate},Pr,{appendNode:Wr,additionalProps:(0,Ve.Z)((0,Ve.Z)({},Gr),{},{style:Xr},_r)}))}var ui=vo,yi=["data","index","className","rowKey","style","extra","getHeight"],$o=y.forwardRef(function(Te,Ie){var ht=Te.data,At=Te.index,Nt=Te.className,Gt=Te.rowKey,fn=Te.style,on=Te.extra,gn=Te.getHeight,Sn=(0,le.Z)(Te,yi),Wn=ht.record,Tn=ht.indent,On=ht.index,Fn=se(rt,["prefixCls","flattenColumns","fixColumn","componentWidth","scrollX"]),wn=Fn.scrollX,vr=Fn.flattenColumns,qn=Fn.prefixCls,Ar=Fn.fixColumn,br=Fn.componentWidth,Tr=se(ei,["getComponent"]),Dr=Tr.getComponent,Pr=Ut(Wn,Gt,At,Tn),Wr=Dr(["body","row"],"div"),Gr=Dr(["body","cell"],"div"),Jr=Pr.rowSupportExpand,Io=Pr.expanded,Mr=Pr.rowProps,Fr=Pr.expandedRowRender,jr=Pr.expandedRowClassName,lr;if(Jr&&Io){var ar=Fr(Wn,At,Tn+1,Io),Zr=sn(jr,Wn,At,Tn),Xr={};Ar&&(Xr={style:(0,Pe.Z)({},"--virtual-width","".concat(br,"px"))});var lo="".concat(qn,"-expanded-row-cell");lr=y.createElement(Wr,{className:Le()("".concat(qn,"-expanded-row"),"".concat(qn,"-expanded-row-level-").concat(Tn+1),Zr)},y.createElement($t,{component:Gr,prefixCls:qn,className:Le()(lo,(0,Pe.Z)({},"".concat(lo,"-fixed"),Ar)),additionalProps:Xr},ar))}var Lo=(0,Ve.Z)((0,Ve.Z)({},fn),{},{width:wn});on&&(Lo.position="absolute",Lo.pointerEvents="none");var _r=y.createElement(Wr,(0,Ye.Z)({},Mr,Sn,{"data-row-key":Gt,ref:Jr?null:Ie,className:Le()(Nt,"".concat(qn,"-row"),Mr==null?void 0:Mr.className,(0,Pe.Z)({},"".concat(qn,"-row-extra"),on)),style:(0,Ve.Z)((0,Ve.Z)({},Lo),Mr==null?void 0:Mr.style)}),vr.map(function(Fi,xi){return y.createElement(ui,{key:xi,component:Gr,rowInfo:Pr,column:Fi,colIndex:xi,indent:Tn,index:At,renderIndex:On,record:Wn,inverse:on,getHeight:gn})}));return Jr?y.createElement("div",{ref:Ie},_r,lr):_r}),pi=Qe($o),ki=pi,Ci=y.forwardRef(function(Te,Ie){var ht=Te.data,At=Te.onScroll,Nt=se(rt,["flattenColumns","onColumnResize","getRowKey","prefixCls","expandedKeys","childrenColumnName","scrollX","direction"]),Gt=Nt.flattenColumns,fn=Nt.onColumnResize,on=Nt.getRowKey,gn=Nt.expandedKeys,Sn=Nt.prefixCls,Wn=Nt.childrenColumnName,Tn=Nt.scrollX,On=Nt.direction,Fn=se(ei),wn=Fn.sticky,vr=Fn.scrollY,qn=Fn.listItemHeight,Ar=Fn.getComponent,br=Fn.onScroll,Tr=y.useRef(),Dr=en(ht,Wn,gn,on),Pr=y.useMemo(function(){var lr=0;return Gt.map(function(ar){var Zr=ar.width,Xr=ar.key;return lr+=Zr,[Xr,Zr,lr]})},[Gt]),Wr=y.useMemo(function(){return Pr.map(function(lr){return lr[2]})},[Pr]);y.useEffect(function(){Pr.forEach(function(lr){var ar=(0,je.Z)(lr,2),Zr=ar[0],Xr=ar[1];fn(Zr,Xr)})},[Pr]),y.useImperativeHandle(Ie,function(){var lr,ar={scrollTo:function(Xr){var lo;(lo=Tr.current)===null||lo===void 0||lo.scrollTo(Xr)},nativeElement:(lr=Tr.current)===null||lr===void 0?void 0:lr.nativeElement};return Object.defineProperty(ar,"scrollLeft",{get:function(){var Xr;return((Xr=Tr.current)===null||Xr===void 0?void 0:Xr.getScrollInfo().x)||0},set:function(Xr){var lo;(lo=Tr.current)===null||lo===void 0||lo.scrollTo({left:Xr})}}),ar});var Gr=function(ar,Zr){var Xr,lo=(Xr=Dr[Zr])===null||Xr===void 0?void 0:Xr.record,Lo=ar.onCell;if(Lo){var _r,Fi=Lo(lo,Zr);return(_r=Fi==null?void 0:Fi.rowSpan)!==null&&_r!==void 0?_r:1}return 1},Jr=function(ar){var Zr=ar.start,Xr=ar.end,lo=ar.getSize,Lo=ar.offsetY;if(Xr<0)return null;for(var _r=Gt.filter(function(Ko){return Gr(Ko,Zr)===0}),Fi=Zr,xi=function(Si){if(_r=_r.filter(function(zo){return Gr(zo,Si)===0}),!_r.length)return Fi=Si,1},pa=Zr;pa>=0&&!xi(pa);pa-=1);for(var Qi=Gt.filter(function(Ko){return Gr(Ko,Xr)!==1}),ua=Xr,ga=function(Si){if(Qi=Qi.filter(function(zo){return Gr(zo,Si)!==1}),!Qi.length)return ua=Math.max(Si-1,Xr),1},Ca=Xr;Ca<Dr.length&&!ga(Ca);Ca+=1);for(var Ri=[],Ni=function(Si){var zo=Dr[Si];if(!zo)return 1;Gt.some(function(go){return Gr(go,Si)>1})&&Ri.push(Si)},Pa=Fi;Pa<=ua;Pa+=1)Ni(Pa);var Ia=Ri.map(function(Ko){var Si=Dr[Ko],zo=on(Si.record,Ko),go=function(ba){var ea=Ko+ba-1,Oa=on(Dr[ea].record,ea),Da=lo(zo,Oa);return Da.bottom-Da.top},Vi=lo(zo);return y.createElement(ki,{key:Ko,data:Si,rowKey:zo,index:Ko,style:{top:-Lo+Vi.top},extra:!0,getHeight:go})});return Ia},Io=y.useMemo(function(){return{columnsOffset:Wr}},[Wr]),Mr="".concat(Sn,"-tbody"),Fr=Ar(["body","wrapper"]),jr={};return wn&&(jr.position="sticky",jr.bottom=0,(0,Oe.Z)(wn)==="object"&&wn.offsetScroll&&(jr.bottom=wn.offsetScroll)),y.createElement(yo.Provider,{value:Io},y.createElement(Ro.Z,{fullHeight:!1,ref:Tr,prefixCls:"".concat(Mr,"-virtual"),styles:{horizontalScrollBar:jr},className:Mr,height:vr,itemHeight:qn||24,data:Dr,itemKey:function(ar){return on(ar.record)},component:Fr,scrollWidth:Tn,direction:On,onVirtualScroll:function(ar){var Zr,Xr=ar.x;At({currentTarget:(Zr=Tr.current)===null||Zr===void 0?void 0:Zr.nativeElement,scrollLeft:Xr})},onScroll:br,extraRender:Jr},function(lr,ar,Zr){var Xr=on(lr.record,ar);return y.createElement(ki,{data:lr,rowKey:Xr,index:ar,style:Zr.style})}))}),Oi=Qe(Ci),No=Oi,Je=function(Ie,ht){var At=ht.ref,Nt=ht.onScroll;return y.createElement(No,{ref:At,data:Ie,onScroll:Nt})};function hn(Te,Ie){var ht=Te.data,At=Te.columns,Nt=Te.scroll,Gt=Te.sticky,fn=Te.prefixCls,on=fn===void 0?ro:fn,gn=Te.className,Sn=Te.listItemHeight,Wn=Te.components,Tn=Te.onScroll,On=Nt||{},Fn=On.x,wn=On.y;typeof Fn!="number"&&(Fn=1),typeof wn!="number"&&(wn=500);var vr=(0,ft.zX)(function(br,Tr){return(0,qe.Z)(Wn,br)||Tr}),qn=(0,ft.zX)(Tn),Ar=y.useMemo(function(){return{sticky:Gt,scrollY:wn,listItemHeight:Sn,getComponent:vr,onScroll:qn}},[Gt,wn,Sn,vr,qn]);return y.createElement(ei.Provider,{value:Ar},y.createElement(ir,(0,Ye.Z)({},Te,{className:Le()(gn,"".concat(on,"-virtual")),scroll:(0,Ve.Z)((0,Ve.Z)({},Nt),{},{x:Fn}),components:(0,Ve.Z)((0,Ve.Z)({},Wn),{},{body:ht!=null&&ht.length?Je:void 0}),columns:At,internalHooks:he,tailor:!0,ref:Ie})))}var Mt=y.forwardRef(hn);function bn(Te){return Ze(Mt,Te)}var er=bn(),Rn=null,yr=Te=>null,Hn=Te=>null,or=E(84105),kr=E(82661),wo=E(34643),ci=E(34061),ii=E(18929);function oi(Te){const[Ie,ht]=(0,y.useState)(null);return[(0,y.useCallback)((Gt,fn,on)=>{const gn=Ie!=null?Ie:Gt,Sn=Math.min(gn||0,Gt),Wn=Math.max(gn||0,Gt),Tn=fn.slice(Sn,Wn+1).map(wn=>Te(wn)),On=Tn.some(wn=>!on.has(wn)),Fn=[];return Tn.forEach(wn=>{On?(on.has(wn)||Fn.push(wn),on.add(wn)):(on.delete(wn),Fn.push(wn))}),ht(On?Wn:null),Fn},[Ie]),Gt=>{ht(Gt)}]}var vi=E(32383),mi=E(62673),Li=E(75727),Bi=E(47889);const Ti={},Ki="SELECT_ALL",sa="SELECT_INVERT",fa="SELECT_NONE",wa=[],ha=(Te,Ie)=>{let ht=[];return(Ie||[]).forEach(At=>{ht.push(At),At&&typeof At=="object"&&Te in At&&(ht=[].concat((0,zt.Z)(ht),(0,zt.Z)(ha(Te,At[Te]))))}),ht};var Do=(Te,Ie)=>{const{preserveSelectedRowKeys:ht,selectedRowKeys:At,defaultSelectedRowKeys:Nt,getCheckboxProps:Gt,onChange:fn,onSelect:on,onSelectAll:gn,onSelectInvert:Sn,onSelectNone:Wn,onSelectMultiple:Tn,columnWidth:On,type:Fn,selections:wn,fixed:vr,renderCell:qn,hideSelectAll:Ar,checkStrictly:br=!0}=Ie||{},{prefixCls:Tr,data:Dr,pageData:Pr,getRecordByKey:Wr,getRowKey:Gr,expandType:Jr,childrenColumnName:Io,locale:Mr,getPopupContainer:Fr}=Te,jr=(0,vi.ln)("Table"),[lr,ar]=oi(Ko=>Ko),[Zr,Xr]=(0,ii.Z)(At||Nt||wa,{value:At}),lo=y.useRef(new Map),Lo=(0,y.useCallback)(Ko=>{if(ht){const Si=new Map;Ko.forEach(zo=>{let go=Wr(zo);!go&&lo.current.has(zo)&&(go=lo.current.get(zo)),Si.set(zo,go)}),lo.current=Si}},[Wr,ht]);y.useEffect(()=>{Lo(Zr)},[Zr]);const _r=(0,y.useMemo)(()=>ha(Io,Pr),[Io,Pr]),{keyEntities:Fi}=(0,y.useMemo)(()=>{if(br)return{keyEntities:null};let Ko=Dr;if(ht){const Si=new Set(_r.map((go,Vi)=>Gr(go,Vi))),zo=Array.from(lo.current).reduce((go,Vi)=>{let[qi,ba]=Vi;return Si.has(qi)?go:go.concat(ba)},[]);Ko=[].concat((0,zt.Z)(Ko),(0,zt.Z)(zo))}return(0,ci.I8)(Ko,{externalGetKey:Gr,childrenPropName:Io})},[Dr,Gr,br,Io,ht,_r]),xi=(0,y.useMemo)(()=>{const Ko=new Map;return _r.forEach((Si,zo)=>{const go=Gr(Si,zo),Vi=(Gt?Gt(Si):null)||{};Ko.set(go,Vi)}),Ko},[_r,Gr,Gt]),pa=(0,y.useCallback)(Ko=>{const Si=Gr(Ko);let zo;return xi.has(Si)?zo=xi.get(Gr(Ko)):zo=Gt?Gt(Ko):void 0,!!(zo!=null&&zo.disabled)},[xi,Gr]),[Qi,ua]=(0,y.useMemo)(()=>{if(br)return[Zr||[],[]];const{checkedKeys:Ko,halfCheckedKeys:Si}=(0,wo.S)(Zr,!0,Fi,pa);return[Ko||[],Si]},[Zr,br,Fi,pa]),ga=(0,y.useMemo)(()=>{const Ko=Fn==="radio"?Qi.slice(0,1):Qi;return new Set(Ko)},[Qi,Fn]),Ca=(0,y.useMemo)(()=>Fn==="radio"?new Set:new Set(ua),[ua,Fn]);y.useEffect(()=>{Ie||Xr(wa)},[!!Ie]);const Ri=(0,y.useCallback)((Ko,Si)=>{let zo,go;Lo(Ko),ht?(zo=Ko,go=Ko.map(Vi=>lo.current.get(Vi))):(zo=[],go=[],Ko.forEach(Vi=>{const qi=Wr(Vi);qi!==void 0&&(zo.push(Vi),go.push(qi))})),Xr(zo),fn==null||fn(zo,go,{type:Si})},[Xr,Wr,fn,ht]),Ni=(0,y.useCallback)((Ko,Si,zo,go)=>{if(on){const Vi=zo.map(qi=>Wr(qi));on(Wr(Ko),Si,Vi,go)}Ri(zo,"single")},[on,Wr,Ri]),Pa=(0,y.useMemo)(()=>!wn||Ar?null:(wn===!0?[Ki,sa,fa]:wn).map(Si=>Si===Ki?{key:"all",text:Mr.selectionAll,onSelect(){Ri(Dr.map((zo,go)=>Gr(zo,go)).filter(zo=>{const go=xi.get(zo);return!(go!=null&&go.disabled)||ga.has(zo)}),"all")}}:Si===sa?{key:"invert",text:Mr.selectInvert,onSelect(){const zo=new Set(ga);Pr.forEach((Vi,qi)=>{const ba=Gr(Vi,qi),ea=xi.get(ba);ea!=null&&ea.disabled||(zo.has(ba)?zo.delete(ba):zo.add(ba))});const go=Array.from(zo);Sn&&(jr.deprecated(!1,"onSelectInvert","onChange"),Sn(go)),Ri(go,"invert")}}:Si===fa?{key:"none",text:Mr.selectNone,onSelect(){Wn==null||Wn(),Ri(Array.from(ga).filter(zo=>{const go=xi.get(zo);return go==null?void 0:go.disabled}),"none")}}:Si).map(Si=>Object.assign(Object.assign({},Si),{onSelect:function(){for(var zo,go,Vi=arguments.length,qi=new Array(Vi),ba=0;ba<Vi;ba++)qi[ba]=arguments[ba];(go=Si.onSelect)===null||go===void 0||(zo=go).call.apply(zo,[Si].concat(qi)),ar(null)}})),[wn,ga,Pr,Gr,Sn,Ri]);return[(0,y.useCallback)(Ko=>{var Si;if(!Ie)return Ko.filter(Ui=>Ui!==Ti);let zo=(0,zt.Z)(Ko);const go=new Set(ga),Vi=_r.map(Gr).filter(Ui=>!xi.get(Ui).disabled),qi=Vi.every(Ui=>go.has(Ui)),ba=Vi.some(Ui=>go.has(Ui)),ea=()=>{const Ui=[];qi?Vi.forEach(xa=>{go.delete(xa),Ui.push(xa)}):Vi.forEach(xa=>{go.has(xa)||(go.add(xa),Ui.push(xa))});const va=Array.from(go);gn==null||gn(!qi,va.map(xa=>Wr(xa)),Ui.map(xa=>Wr(xa))),Ri(va,"all"),ar(null)};let Oa,Da;if(Fn!=="radio"){let Ui;if(Pa){const Xi={getPopupContainer:Fr,items:Pa.map((Fa,ia)=>{const{key:_a,text:ja,onSelect:nl}=Fa;return{key:_a!=null?_a:ia,onClick:()=>{nl==null||nl(Vi)},label:ja}})};Ui=y.createElement("div",{className:`${Tr}-selection-extra`},y.createElement(Li.Z,{menu:Xi,getPopupContainer:Fr},y.createElement("span",null,y.createElement(or.Z,null))))}const va=_r.map((Xi,Fa)=>{const ia=Gr(Xi,Fa),_a=xi.get(ia)||{};return Object.assign({checked:go.has(ia)},_a)}).filter(Xi=>{let{disabled:Fa}=Xi;return Fa}),xa=!!va.length&&va.length===_r.length,Ra=xa&&va.every(Xi=>{let{checked:Fa}=Xi;return Fa}),La=xa&&va.some(Xi=>{let{checked:Fa}=Xi;return Fa});Da=y.createElement(mi.default,{checked:xa?Ra:!!_r.length&&qi,indeterminate:xa?!Ra&&La:!qi&&ba,onChange:ea,disabled:_r.length===0||xa,"aria-label":Ui?"Custom selection":"Select all",skipGroup:!0}),Oa=!Ar&&y.createElement("div",{className:`${Tr}-selection`},Da,Ui)}let Jo;Fn==="radio"?Jo=(Ui,va,xa)=>{const Ra=Gr(va,xa),La=go.has(Ra),Xi=xi.get(Ra);return{node:y.createElement(Bi.ZP,Object.assign({},Xi,{checked:La,onClick:Fa=>{var ia;Fa.stopPropagation(),(ia=Xi==null?void 0:Xi.onClick)===null||ia===void 0||ia.call(Xi,Fa)},onChange:Fa=>{var ia;go.has(Ra)||Ni(Ra,!0,[Ra],Fa.nativeEvent),(ia=Xi==null?void 0:Xi.onChange)===null||ia===void 0||ia.call(Xi,Fa)}})),checked:La}}:Jo=(Ui,va,xa)=>{var Ra;const La=Gr(va,xa),Xi=go.has(La),Fa=Ca.has(La),ia=xi.get(La);let _a;return Jr==="nest"?_a=Fa:_a=(Ra=ia==null?void 0:ia.indeterminate)!==null&&Ra!==void 0?Ra:Fa,{node:y.createElement(mi.default,Object.assign({},ia,{indeterminate:_a,checked:Xi,skipGroup:!0,onClick:ja=>{var nl;ja.stopPropagation(),(nl=ia==null?void 0:ia.onClick)===null||nl===void 0||nl.call(ia,ja)},onChange:ja=>{var nl;const{nativeEvent:ll}=ja,{shiftKey:Il}=ll,Sa=Vi.findIndex(rl=>rl===La),as=Qi.some(rl=>Vi.includes(rl));if(Il&&br&&as){const rl=lr(Sa,Vi,go),Dl=Array.from(go);Tn==null||Tn(!Xi,Dl.map(pl=>Wr(pl)),rl.map(pl=>Wr(pl))),Ri(Dl,"multiple")}else{const rl=Qi;if(br){const Dl=Xi?(0,kr._5)(rl,La):(0,kr.L0)(rl,La);Ni(La,!Xi,Dl,ll)}else{const Dl=(0,wo.S)([].concat((0,zt.Z)(rl),[La]),!0,Fi,pa),{checkedKeys:pl,halfCheckedKeys:wi}=Dl;let jo=pl;if(Xi){const Na=new Set(pl);Na.delete(La),jo=(0,wo.S)(Array.from(Na),{checked:!1,halfCheckedKeys:wi},Fi,pa).checkedKeys}Ni(La,!Xi,jo,ll)}}ar(Xi?null:Sa),(nl=ia==null?void 0:ia.onChange)===null||nl===void 0||nl.call(ia,ja)}})),checked:Xi}};const si=(Ui,va,xa)=>{const{node:Ra,checked:La}=Jo(Ui,va,xa);return qn?qn(La,va,xa,Ra):Ra};if(!zo.includes(Ti))if(zo.findIndex(Ui=>{var va;return((va=Ui[Kn])===null||va===void 0?void 0:va.columnType)==="EXPAND_COLUMN"})===0){const[Ui,...va]=zo;zo=[Ui,Ti].concat((0,zt.Z)(va))}else zo=[Ti].concat((0,zt.Z)(zo));const ta=zo.indexOf(Ti);zo=zo.filter((Ui,va)=>Ui!==Ti||va===ta);const ca=zo[ta-1],da=zo[ta+1];let za=vr;za===void 0&&((da==null?void 0:da.fixed)!==void 0?za=da.fixed:(ca==null?void 0:ca.fixed)!==void 0&&(za=ca.fixed)),za&&ca&&((Si=ca[Kn])===null||Si===void 0?void 0:Si.columnType)==="EXPAND_COLUMN"&&ca.fixed===void 0&&(ca.fixed=za);const Ea=Le()(`${Tr}-selection-col`,{[`${Tr}-selection-col-with-dropdown`]:wn&&Fn==="checkbox"}),Xa=()=>Ie!=null&&Ie.columnTitle?typeof Ie.columnTitle=="function"?Ie.columnTitle(Da):Ie.columnTitle:Oa,ya={fixed:za,width:On,className:`${Tr}-selection-column`,title:Xa(),render:si,onCell:Ie.onCell,[Kn]:{className:Ea}};return zo.map(Ui=>Ui===Ti?ya:Ui)},[Gr,_r,Ie,Qi,ga,Ca,On,Pa,Jr,xi,Tn,Ni,pa]),ga]},Co=E(2738);function Ji(Te,Ie){return Te._antProxy=Te._antProxy||{},Object.keys(Ie).forEach(ht=>{if(!(ht in Te._antProxy)){const At=Te[ht];Te._antProxy[ht]=At,Te[ht]=Ie[ht]}}),Te}function Uo(Te,Ie){return(0,y.useImperativeHandle)(Te,()=>{const ht=Ie(),{nativeElement:At}=ht;return typeof Proxy!="undefined"?new Proxy(At,{get(Nt,Gt){return ht[Gt]?ht[Gt]:Reflect.get(Nt,Gt)}}):Ji(At,ht)})}var Ho=E(83010),Mi=E(48755),bi=E(38406),hi=E(83397),_o=E(31756),Ma=E(13783),Ha=E(85981),Aa=E(31709),ra=E(29787),El=E(57700);function qa(Te){return Ie=>{const{prefixCls:ht,onExpand:At,record:Nt,expanded:Gt,expandable:fn}=Ie,on=`${ht}-row-expand-icon`;return y.createElement("button",{type:"button",onClick:gn=>{At(Nt,gn),gn.stopPropagation()},className:Le()(on,{[`${on}-spaced`]:!fn,[`${on}-expanded`]:fn&&Gt,[`${on}-collapsed`]:fn&&!Gt}),"aria-label":Gt?Te.collapse:Te.expand,"aria-expanded":Gt})}}var qo=qa;function Ei(Te){return(ht,At)=>{const Nt=ht.querySelector(`.${Te}-container`);let Gt=At;if(Nt){const fn=getComputedStyle(Nt),on=parseInt(fn.borderLeftWidth,10),gn=parseInt(fn.borderRightWidth,10);Gt=At-on-gn}return Gt}}const Qo=(Te,Ie)=>"key"in Te&&Te.key!==void 0&&Te.key!==null?Te.key:Te.dataIndex?Array.isArray(Te.dataIndex)?Te.dataIndex.join("."):Te.dataIndex:Ie;function di(Te,Ie){return Ie?`${Ie}-${Te}`:`${Te}`}const zi=(Te,Ie)=>typeof Te=="function"?Te(Ie):Te,$i=(Te,Ie)=>{const ht=zi(Te,Ie);return Object.prototype.toString.call(ht)==="[object Object]"?"":ht};var ko={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"},Gi=ko,gr=E(7657),Qr=function(Ie,ht){return y.createElement(gr.Z,(0,Ye.Z)({},Ie,{ref:ht,icon:Gi}))},Yo=y.forwardRef(Qr),Zi=Yo,Ba=E(9981),xl=E(40192);function ji(Te){const Ie=y.useRef(Te),ht=(0,xl.Z)();return[()=>Ie.current,At=>{Ie.current=At,ht()}]}var Sl=E(7939),Wl=E(584),rs=E(93041),us=E(78857),po=E(18287),_i=E(47472),Za=E(49397),Hl=Te=>{const{value:Ie,filterSearch:ht,tablePrefixCls:At,locale:Nt,onChange:Gt}=Te;return ht?y.createElement("div",{className:`${At}-filter-dropdown-search`},y.createElement(Za.Z,{prefix:y.createElement(_i.Z,null),placeholder:Nt.filterSearchPlaceholder,onChange:Gt,value:Ie,htmlSize:1,className:`${At}-filter-dropdown-search-input`})):null},ql=E(10228);const _l=Te=>{const{keyCode:Ie}=Te;Ie===ql.Z.ENTER&&Te.stopPropagation()};var es=y.forwardRef((Te,Ie)=>y.createElement("div",{className:Te.className,onClick:ht=>ht.stopPropagation(),onKeyDown:_l,ref:Ie},Te.children));function el(Te){let Ie=[];return(Te||[]).forEach(ht=>{let{value:At,children:Nt}=ht;Ie.push(At),Nt&&(Ie=[].concat((0,zt.Z)(Ie),(0,zt.Z)(el(Nt))))}),Ie}function Kl(Te){return Te.some(Ie=>{let{children:ht}=Ie;return ht})}function Ta(Te,Ie){return typeof Ie=="string"||typeof Ie=="number"?Ie==null?void 0:Ie.toString().toLowerCase().includes(Te.trim().toLowerCase()):!1}function Ll(Te){let{filters:Ie,prefixCls:ht,filteredKeys:At,filterMultiple:Nt,searchValue:Gt,filterSearch:fn}=Te;return Ie.map((on,gn)=>{const Sn=String(on.value);if(on.children)return{key:Sn||gn,label:on.text,popupClassName:`${ht}-dropdown-submenu`,children:Ll({filters:on.children,prefixCls:ht,filteredKeys:At,filterMultiple:Nt,searchValue:Gt,filterSearch:fn})};const Wn=Nt?mi.default:Bi.ZP,Tn={key:on.value!==void 0?Sn:gn,label:y.createElement(y.Fragment,null,y.createElement(Wn,{checked:At.includes(Sn)}),y.createElement("span",null,on.text))};return Gt.trim()?typeof fn=="function"?fn(Gt,on)?Tn:null:Ta(Gt,on.text)?Tn:null:Tn})}function Tl(Te){return Te||[]}var Ss=Te=>{var Ie,ht,At,Nt;const{tablePrefixCls:Gt,prefixCls:fn,column:on,dropdownPrefixCls:gn,columnKey:Sn,filterOnClose:Wn,filterMultiple:Tn,filterMode:On="menu",filterSearch:Fn=!1,filterState:wn,triggerFilter:vr,locale:qn,children:Ar,getPopupContainer:br,rootClassName:Tr}=Te,{filterResetToDefaultFilteredValue:Dr,defaultFilteredValue:Pr,filterDropdownProps:Wr={},filterDropdownOpen:Gr,filterDropdownVisible:Jr,onFilterDropdownVisibleChange:Io,onFilterDropdownOpenChange:Mr}=on,[Fr,jr]=y.useState(!1),lr=!!(wn&&(!((Ie=wn.filteredKeys)===null||Ie===void 0)&&Ie.length||wn.forceFiltered)),ar=Jo=>{var si;jr(Jo),(si=Wr.onOpenChange)===null||si===void 0||si.call(Wr,Jo),Mr==null||Mr(Jo),Io==null||Io(Jo)},Zr=(Nt=(At=(ht=Wr.open)!==null&&ht!==void 0?ht:Gr)!==null&&At!==void 0?At:Jr)!==null&&Nt!==void 0?Nt:Fr,Xr=wn==null?void 0:wn.filteredKeys,[lo,Lo]=ji(Tl(Xr)),_r=Jo=>{let{selectedKeys:si}=Jo;Lo(si)},Fi=(Jo,si)=>{let{node:ta,checked:ca}=si;_r(Tn?{selectedKeys:Jo}:{selectedKeys:ca&&ta.key?[ta.key]:[]})};y.useEffect(()=>{Fr&&_r({selectedKeys:Tl(Xr)})},[Xr]);const[xi,pa]=y.useState([]),Qi=Jo=>{pa(Jo)},[ua,ga]=y.useState(""),Ca=Jo=>{const{value:si}=Jo.target;ga(si)};y.useEffect(()=>{Fr||ga("")},[Fr]);const Ri=Jo=>{const si=Jo!=null&&Jo.length?Jo:null;if(si===null&&(!wn||!wn.filteredKeys)||(0,ye.Z)(si,wn==null?void 0:wn.filteredKeys,!0))return null;vr({column:on,key:Sn,filteredKeys:si})},Ni=()=>{ar(!1),Ri(lo())},Pa=function(){let{confirm:Jo,closeDropdown:si}=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{confirm:!1,closeDropdown:!1};Jo&&Ri([]),si&&ar(!1),ga(""),Lo(Dr?(Pr||[]).map(ta=>String(ta)):[])},Ia=function(){let{closeDropdown:Jo}=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{closeDropdown:!0};Jo&&ar(!1),Ri(lo())},Ko=(Jo,si)=>{si.source==="trigger"&&(Jo&&Xr!==void 0&&Lo(Tl(Xr)),ar(Jo),!Jo&&!on.filterDropdown&&Wn&&Ni())},Si=Le()({[`${gn}-menu-without-submenu`]:!Kl(on.filters||[])}),zo=Jo=>{if(Jo.target.checked){const si=el(on==null?void 0:on.filters).map(ta=>String(ta));Lo(si)}else Lo([])},go=Jo=>{let{filters:si}=Jo;return(si||[]).map((ta,ca)=>{const da=String(ta.value),za={title:ta.text,key:ta.value!==void 0?da:String(ca)};return ta.children&&(za.children=go({filters:ta.children})),za})},Vi=Jo=>{var si;return Object.assign(Object.assign({},Jo),{text:Jo.title,value:Jo.key,children:((si=Jo.children)===null||si===void 0?void 0:si.map(ta=>Vi(ta)))||[]})};let qi;const{direction:ba,renderEmpty:ea}=y.useContext(Mi.E_);if(typeof on.filterDropdown=="function")qi=on.filterDropdown({prefixCls:`${gn}-custom`,setSelectedKeys:Jo=>_r({selectedKeys:Jo}),selectedKeys:lo(),confirm:Ia,clearFilters:Pa,filters:on.filters,visible:Zr,close:()=>{ar(!1)}});else if(on.filterDropdown)qi=on.filterDropdown;else{const Jo=lo()||[],si=()=>{var ca,da;const za=(ca=ea==null?void 0:ea("Table.filter"))!==null&&ca!==void 0?ca:y.createElement(Wl.Z,{image:Wl.Z.PRESENTED_IMAGE_SIMPLE,description:qn.filterEmptyText,styles:{image:{height:24}},style:{margin:0,padding:"16px 0"}});if((on.filters||[]).length===0)return za;if(On==="tree")return y.createElement(y.Fragment,null,y.createElement(Hl,{filterSearch:Fn,value:ua,onChange:Ca,tablePrefixCls:Gt,locale:qn}),y.createElement("div",{className:`${Gt}-filter-dropdown-tree`},Tn?y.createElement(mi.default,{checked:Jo.length===el(on.filters).length,indeterminate:Jo.length>0&&Jo.length<el(on.filters).length,className:`${Gt}-filter-dropdown-checkall`,onChange:zo},(da=qn==null?void 0:qn.filterCheckall)!==null&&da!==void 0?da:qn==null?void 0:qn.filterCheckAll):null,y.createElement(po.default,{checkable:!0,selectable:!1,blockNode:!0,multiple:Tn,checkStrictly:!Tn,className:`${gn}-menu`,onCheck:Fi,checkedKeys:Jo,selectedKeys:Jo,showIcon:!1,treeData:go({filters:on.filters}),autoExpandParent:!0,defaultExpandAll:!0,filterTreeNode:ua.trim()?ya=>typeof Fn=="function"?Fn(ua,Vi(ya)):Ta(ua,ya.title):void 0})));const Ea=Ll({filters:on.filters||[],filterSearch:Fn,prefixCls:fn,filteredKeys:lo(),filterMultiple:Tn,searchValue:ua}),Xa=Ea.every(ya=>ya===null);return y.createElement(y.Fragment,null,y.createElement(Hl,{filterSearch:Fn,value:ua,onChange:Ca,tablePrefixCls:Gt,locale:qn}),Xa?za:y.createElement(rs.default,{selectable:!0,multiple:Tn,prefixCls:`${gn}-menu`,className:Si,onSelect:_r,onDeselect:_r,selectedKeys:Jo,getPopupContainer:br,openKeys:xi,onOpenChange:Qi,items:Ea}))},ta=()=>Dr?(0,ye.Z)((Pr||[]).map(ca=>String(ca)),Jo,!0):Jo.length===0;qi=y.createElement(y.Fragment,null,si(),y.createElement("div",{className:`${fn}-dropdown-btns`},y.createElement(Sl.ZP,{type:"link",size:"small",disabled:ta(),onClick:()=>Pa()},qn.filterReset),y.createElement(Sl.ZP,{type:"primary",size:"small",onClick:Ni},qn.filterConfirm)))}on.filterDropdown&&(qi=y.createElement(us.J,{selectable:void 0},qi)),qi=y.createElement(es,{className:`${fn}-dropdown`},qi);const Oa=()=>{let Jo;return typeof on.filterIcon=="function"?Jo=on.filterIcon(lr):on.filterIcon?Jo=on.filterIcon:Jo=y.createElement(Zi,null),y.createElement("span",{role:"button",tabIndex:-1,className:Le()(`${fn}-trigger`,{active:lr}),onClick:si=>{si.stopPropagation()}},Jo)},Da=(0,Ba.Z)({trigger:["click"],placement:ba==="rtl"?"bottomLeft":"bottomRight",children:Oa(),getPopupContainer:br},Object.assign(Object.assign({},Wr),{rootClassName:Le()(Tr,Wr.rootClassName),open:Zr,onOpenChange:Ko,dropdownRender:()=>typeof(Wr==null?void 0:Wr.dropdownRender)=="function"?Wr.dropdownRender(qi):qi}));return y.createElement("div",{className:`${fn}-column`},y.createElement("span",{className:`${Gt}-column-title`},Ar),y.createElement(Li.Z,Object.assign({},Da)))};const ts=(Te,Ie,ht)=>{let At=[];return(Te||[]).forEach((Nt,Gt)=>{var fn;const on=di(Gt,ht);if(Nt.filters||"filterDropdown"in Nt||"onFilter"in Nt)if("filteredValue"in Nt){let gn=Nt.filteredValue;"filterDropdown"in Nt||(gn=(fn=gn==null?void 0:gn.map(String))!==null&&fn!==void 0?fn:gn),At.push({column:Nt,key:Qo(Nt,on),filteredKeys:gn,forceFiltered:Nt.filtered})}else At.push({column:Nt,key:Qo(Nt,on),filteredKeys:Ie&&Nt.defaultFilteredValue?Nt.defaultFilteredValue:void 0,forceFiltered:Nt.filtered});"children"in Nt&&(At=[].concat((0,zt.Z)(At),(0,zt.Z)(ts(Nt.children,Ie,on))))}),At};function Ja(Te,Ie,ht,At,Nt,Gt,fn,on,gn){return ht.map((Sn,Wn)=>{const Tn=di(Wn,on),{filterOnClose:On=!0,filterMultiple:Fn=!0,filterMode:wn,filterSearch:vr}=Sn;let qn=Sn;if(qn.filters||qn.filterDropdown){const Ar=Qo(qn,Tn),br=At.find(Tr=>{let{key:Dr}=Tr;return Ar===Dr});qn=Object.assign(Object.assign({},qn),{title:Tr=>y.createElement(Ss,{tablePrefixCls:Te,prefixCls:`${Te}-filter`,dropdownPrefixCls:Ie,column:qn,columnKey:Ar,filterState:br,filterOnClose:On,filterMultiple:Fn,filterMode:wn,filterSearch:vr,triggerFilter:Gt,locale:Nt,getPopupContainer:fn,rootClassName:gn},zi(Sn.title,Tr))})}return"children"in qn&&(qn=Object.assign(Object.assign({},qn),{children:Ja(Te,Ie,qn.children,At,Nt,Gt,fn,Tn,gn)})),qn})}const oa=Te=>{const Ie={};return Te.forEach(ht=>{let{key:At,filteredKeys:Nt,column:Gt}=ht;const fn=At,{filters:on,filterDropdown:gn}=Gt;if(gn)Ie[fn]=Nt||null;else if(Array.isArray(Nt)){const Sn=el(on);Ie[fn]=Sn.filter(Wn=>Nt.includes(String(Wn)))}else Ie[fn]=null}),Ie},Wi=(Te,Ie,ht)=>Ie.reduce((Nt,Gt)=>{const{column:{onFilter:fn,filters:on},filteredKeys:gn}=Gt;return fn&&gn&&gn.length?Nt.map(Sn=>Object.assign({},Sn)).filter(Sn=>gn.some(Wn=>{const Tn=el(on),On=Tn.findIndex(wn=>String(wn)===String(Wn)),Fn=On!==-1?Tn[On]:Wn;return Sn[ht]&&(Sn[ht]=Wi(Sn[ht],Ie,ht)),fn(Fn,Sn)})):Nt},Te),Ua=Te=>Te.flatMap(Ie=>"children"in Ie?[Ie].concat((0,zt.Z)(Ua(Ie.children||[]))):[Ie]);var Va=Te=>{const{prefixCls:Ie,dropdownPrefixCls:ht,mergedColumns:At,onFilterChange:Nt,getPopupContainer:Gt,locale:fn,rootClassName:on}=Te,gn=(0,vi.ln)("Table"),Sn=y.useMemo(()=>Ua(At||[]),[At]),[Wn,Tn]=y.useState(()=>ts(Sn,!0)),On=y.useMemo(()=>{const qn=ts(Sn,!1);if(qn.length===0)return qn;let Ar=!0,br=!0;if(qn.forEach(Tr=>{let{filteredKeys:Dr}=Tr;Dr!==void 0?Ar=!1:br=!1}),Ar){const Tr=(Sn||[]).map((Dr,Pr)=>Qo(Dr,di(Pr)));return Wn.filter(Dr=>{let{key:Pr}=Dr;return Tr.includes(Pr)}).map(Dr=>{const Pr=Sn[Tr.findIndex(Wr=>Wr===Dr.key)];return Object.assign(Object.assign({},Dr),{column:Object.assign(Object.assign({},Dr.column),Pr),forceFiltered:Pr.filtered})})}return qn},[Sn,Wn]),Fn=y.useMemo(()=>oa(On),[On]),wn=qn=>{const Ar=On.filter(br=>{let{key:Tr}=br;return Tr!==qn.key});Ar.push(qn),Tn(Ar),Nt(oa(Ar),Ar)};return[qn=>Ja(Ie,ht,qn,On,fn,wn,Gt,void 0,on),On,Fn]},Nl=(Te,Ie,ht)=>{const At=y.useRef({});function Nt(Gt){var fn;if(!At.current||At.current.data!==Te||At.current.childrenColumnName!==Ie||At.current.getRowKey!==ht){let gn=function(Sn){Sn.forEach((Wn,Tn)=>{const On=ht(Wn,Tn);on.set(On,Wn),Wn&&typeof Wn=="object"&&Ie in Wn&&gn(Wn[Ie]||[])})};const on=new Map;gn(Te),At.current={data:Te,childrenColumnName:Ie,kvMap:on,getRowKey:ht}}return(fn=At.current.kvMap)===null||fn===void 0?void 0:fn.get(Gt)}return[Nt]},Ml=function(Te,Ie){var ht={};for(var At in Te)Object.prototype.hasOwnProperty.call(Te,At)&&Ie.indexOf(At)<0&&(ht[At]=Te[At]);if(Te!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Nt=0,At=Object.getOwnPropertySymbols(Te);Nt<At.length;Nt++)Ie.indexOf(At[Nt])<0&&Object.prototype.propertyIsEnumerable.call(Te,At[Nt])&&(ht[At[Nt]]=Te[At[Nt]]);return ht};const Vl=10;function hl(Te,Ie){const ht={current:Te.current,pageSize:Te.pageSize};return Object.keys(Ie&&typeof Ie=="object"?Ie:{}).forEach(Nt=>{const Gt=Te[Nt];typeof Gt!="function"&&(ht[Nt]=Gt)}),ht}function Al(Te,Ie,ht){const At=ht&&typeof ht=="object"?ht:{},{total:Nt=0}=At,Gt=Ml(At,["total"]),[fn,on]=(0,y.useState)(()=>({current:"defaultCurrent"in Gt?Gt.defaultCurrent:1,pageSize:"defaultPageSize"in Gt?Gt.defaultPageSize:Vl})),gn=(0,Ba.Z)(fn,Gt,{total:Nt>0?Nt:Te}),Sn=Math.ceil((Nt||Te)/gn.pageSize);gn.current>Sn&&(gn.current=Sn||1);const Wn=(On,Fn)=>{on({current:On!=null?On:1,pageSize:Fn||gn.pageSize})},Tn=(On,Fn)=>{var wn;ht&&((wn=ht.onChange)===null||wn===void 0||wn.call(ht,On,Fn)),Wn(On,Fn),Ie(On,Fn||(gn==null?void 0:gn.pageSize))};return ht===!1?[{},()=>{}]:[Object.assign(Object.assign({},gn),{onChange:Tn}),Wn]}var kl=Al,ns=E(89489),Ls=E(59477),Ts=E(25399);const cs="ascend",Ql="descend",Ul=Te=>typeof Te.sorter=="object"&&typeof Te.sorter.multiple=="number"?Te.sorter.multiple:!1,al=Te=>typeof Te=="function"?Te:Te&&typeof Te=="object"&&Te.compare?Te.compare:!1,Jl=(Te,Ie)=>Ie?Te[Te.indexOf(Ie)+1]:Te[0],Yl=(Te,Ie,ht)=>{let At=[];const Nt=(Gt,fn)=>{At.push({column:Gt,key:Qo(Gt,fn),multiplePriority:Ul(Gt),sortOrder:Gt.sortOrder})};return(Te||[]).forEach((Gt,fn)=>{const on=di(fn,ht);Gt.children?("sortOrder"in Gt&&Nt(Gt,on),At=[].concat((0,zt.Z)(At),(0,zt.Z)(Yl(Gt.children,Ie,on)))):Gt.sorter&&("sortOrder"in Gt?Nt(Gt,on):Ie&&Gt.defaultSortOrder&&At.push({column:Gt,key:Qo(Gt,on),multiplePriority:Ul(Gt),sortOrder:Gt.defaultSortOrder}))}),At},ws=(Te,Ie,ht,At,Nt,Gt,fn,on)=>(Ie||[]).map((Sn,Wn)=>{const Tn=di(Wn,on);let On=Sn;if(On.sorter){const Fn=On.sortDirections||Nt,wn=On.showSorterTooltip===void 0?fn:On.showSorterTooltip,vr=Qo(On,Tn),qn=ht.find(Io=>{let{key:Mr}=Io;return Mr===vr}),Ar=qn?qn.sortOrder:null,br=Jl(Fn,Ar);let Tr;if(Sn.sortIcon)Tr=Sn.sortIcon({sortOrder:Ar});else{const Io=Fn.includes(cs)&&y.createElement(Ls.Z,{className:Le()(`${Te}-column-sorter-up`,{active:Ar===cs})}),Mr=Fn.includes(Ql)&&y.createElement(ns.Z,{className:Le()(`${Te}-column-sorter-down`,{active:Ar===Ql})});Tr=y.createElement("span",{className:Le()(`${Te}-column-sorter`,{[`${Te}-column-sorter-full`]:!!(Io&&Mr)})},y.createElement("span",{className:`${Te}-column-sorter-inner`,"aria-hidden":"true"},Io,Mr))}const{cancelSort:Dr,triggerAsc:Pr,triggerDesc:Wr}=Gt||{};let Gr=Dr;br===Ql?Gr=Wr:br===cs&&(Gr=Pr);const Jr=typeof wn=="object"?Object.assign({title:Gr},wn):{title:Gr};On=Object.assign(Object.assign({},On),{className:Le()(On.className,{[`${Te}-column-sort`]:Ar}),title:Io=>{const Mr=`${Te}-column-sorters`,Fr=y.createElement("span",{className:`${Te}-column-title`},zi(Sn.title,Io)),jr=y.createElement("div",{className:Mr},Fr,Tr);return wn?typeof wn!="boolean"&&(wn==null?void 0:wn.target)==="sorter-icon"?y.createElement("div",{className:`${Mr} ${Te}-column-sorters-tooltip-target-sorter`},Fr,y.createElement(Ts.Z,Object.assign({},Jr),Tr)):y.createElement(Ts.Z,Object.assign({},Jr),jr):jr},onHeaderCell:Io=>{var Mr;const Fr=((Mr=Sn.onHeaderCell)===null||Mr===void 0?void 0:Mr.call(Sn,Io))||{},jr=Fr.onClick,lr=Fr.onKeyDown;Fr.onClick=Xr=>{At({column:Sn,key:vr,sortOrder:br,multiplePriority:Ul(Sn)}),jr==null||jr(Xr)},Fr.onKeyDown=Xr=>{Xr.keyCode===ql.Z.ENTER&&(At({column:Sn,key:vr,sortOrder:br,multiplePriority:Ul(Sn)}),lr==null||lr(Xr))};const ar=$i(Sn.title,{}),Zr=ar==null?void 0:ar.toString();return Ar&&(Fr["aria-sort"]=Ar==="ascend"?"ascending":"descending"),Fr["aria-label"]=Zr||"",Fr.className=Le()(Fr.className,`${Te}-column-has-sorters`),Fr.tabIndex=0,Sn.ellipsis&&(Fr.title=(ar!=null?ar:"").toString()),Fr}})}return"children"in On&&(On=Object.assign(Object.assign({},On),{children:ws(Te,On.children,ht,At,Nt,Gt,fn,Tn)})),On}),Us=Te=>{const{column:Ie,sortOrder:ht}=Te;return{column:Ie,order:ht,field:Ie.dataIndex,columnKey:Ie.key}},As=Te=>{const Ie=Te.filter(ht=>{let{sortOrder:At}=ht;return At}).map(Us);if(Ie.length===0&&Te.length){const ht=Te.length-1;return Object.assign(Object.assign({},Us(Te[ht])),{column:void 0,order:void 0,field:void 0,columnKey:void 0})}return Ie.length<=1?Ie[0]||{}:Ie},os=(Te,Ie,ht)=>{const At=Ie.slice().sort((fn,on)=>on.multiplePriority-fn.multiplePriority),Nt=Te.slice(),Gt=At.filter(fn=>{let{column:{sorter:on},sortOrder:gn}=fn;return al(on)&&gn});return Gt.length?Nt.sort((fn,on)=>{for(let gn=0;gn<Gt.length;gn+=1){const Sn=Gt[gn],{column:{sorter:Wn},sortOrder:Tn}=Sn,On=al(Wn);if(On&&Tn){const Fn=On(fn,on,Tn);if(Fn!==0)return Tn===cs?Fn:-Fn}}return 0}).map(fn=>{const on=fn[ht];return on?Object.assign(Object.assign({},fn),{[ht]:os(on,Ie,ht)}):fn}):Nt};var Ys=Te=>{const{prefixCls:Ie,mergedColumns:ht,sortDirections:At,tableLocale:Nt,showSorterTooltip:Gt,onSorterChange:fn}=Te,[on,gn]=y.useState(Yl(ht,!0)),Sn=(vr,qn)=>{const Ar=[];return vr.forEach((br,Tr)=>{const Dr=di(Tr,qn);if(Ar.push(Qo(br,Dr)),Array.isArray(br.children)){const Pr=Sn(br.children,Dr);Ar.push.apply(Ar,(0,zt.Z)(Pr))}}),Ar},Wn=y.useMemo(()=>{let vr=!0;const qn=Yl(ht,!1);if(!qn.length){const Dr=Sn(ht);return on.filter(Pr=>{let{key:Wr}=Pr;return Dr.includes(Wr)})}const Ar=[];function br(Dr){vr?Ar.push(Dr):Ar.push(Object.assign(Object.assign({},Dr),{sortOrder:null}))}let Tr=null;return qn.forEach(Dr=>{Tr===null?(br(Dr),Dr.sortOrder&&(Dr.multiplePriority===!1?vr=!1:Tr=!0)):(Tr&&Dr.multiplePriority!==!1||(vr=!1),br(Dr))}),Ar},[ht,on]),Tn=y.useMemo(()=>{var vr,qn;const Ar=Wn.map(br=>{let{column:Tr,sortOrder:Dr}=br;return{column:Tr,order:Dr}});return{sortColumns:Ar,sortColumn:(vr=Ar[0])===null||vr===void 0?void 0:vr.column,sortOrder:(qn=Ar[0])===null||qn===void 0?void 0:qn.order}},[Wn]),On=vr=>{let qn;vr.multiplePriority===!1||!Wn.length||Wn[0].multiplePriority===!1?qn=[vr]:qn=[].concat((0,zt.Z)(Wn.filter(Ar=>{let{key:br}=Ar;return br!==vr.key})),[vr]),gn(qn),fn(As(qn),qn)};return[vr=>ws(Ie,vr,Wn,On,At,Nt,Gt),Wn,Tn,()=>As(Wn)]};const vs=(Te,Ie)=>Te.map(At=>{const Nt=Object.assign({},At);return Nt.title=zi(At.title,Ie),"children"in Nt&&(Nt.children=vs(Nt.children,Ie)),Nt});var Ns=Te=>[y.useCallback(ht=>vs(ht,Te),[Te])],ks=Wo((Te,Ie)=>{const{_renderTimes:ht}=Te,{_renderTimes:At}=Ie;return ht!==At}),ds=bn((Te,Ie)=>{const{_renderTimes:ht}=Te,{_renderTimes:At}=Ie;return ht!==At}),gi=E(36237),fs=E(17835),ae=E(63356),He=E(16931),ct=E(51636),Pt=Te=>{const{componentCls:Ie,lineWidth:ht,lineType:At,tableBorderColor:Nt,tableHeaderBg:Gt,tablePaddingVertical:fn,tablePaddingHorizontal:on,calc:gn}=Te,Sn=`${(0,gi.unit)(ht)} ${At} ${Nt}`,Wn=(Tn,On,Fn)=>({[`&${Ie}-${Tn}`]:{[`> ${Ie}-container`]:{[`> ${Ie}-content, > ${Ie}-body`]:{"\n > table > tbody > tr > th,\n > table > tbody > tr > td\n ":{[`> ${Ie}-expanded-row-fixed`]:{margin:`${(0,gi.unit)(gn(On).mul(-1).equal())}
${(0,gi.unit)(gn(gn(Fn).add(ht)).mul(-1).equal())}`}}}}}});return{[`${Ie}-wrapper`]:{[`${Ie}${Ie}-bordered`]:Object.assign(Object.assign(Object.assign({[`> ${Ie}-title`]:{border:Sn,borderBottom:0},[`> ${Ie}-container`]:{borderInlineStart:Sn,borderTop:Sn,[`
> ${Ie}-content,
> ${Ie}-header,
> ${Ie}-body,
> ${Ie}-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:Sn},"> thead":{"> tr:not(:last-child) > th":{borderBottom:Sn},"> tr > th::before":{backgroundColor:"transparent !important"}},"\n > thead > tr,\n > tbody > tr,\n > tfoot > tr\n ":{[`> ${Ie}-cell-fix-right-first::after`]:{borderInlineEnd:Sn}},"\n > tbody > tr > th,\n > tbody > tr > td\n ":{[`> ${Ie}-expanded-row-fixed`]:{margin:`${(0,gi.unit)(gn(fn).mul(-1).equal())} ${(0,gi.unit)(gn(gn(on).add(ht)).mul(-1).equal())}`,"&::after":{position:"absolute",top:0,insetInlineEnd:ht,bottom:0,borderInlineEnd:Sn,content:'""'}}}}}},[`&${Ie}-scroll-horizontal`]:{[`> ${Ie}-container > ${Ie}-body`]:{"> table > tbody":{[`
> tr${Ie}-expanded-row,
> tr${Ie}-placeholder
`]:{"> th, > td":{borderInlineEnd:0}}}}}},Wn("middle",Te.tablePaddingVerticalMiddle,Te.tablePaddingHorizontalMiddle)),Wn("small",Te.tablePaddingVerticalSmall,Te.tablePaddingHorizontalSmall)),{[`> ${Ie}-footer`]:{border:Sn,borderTop:0}}),[`${Ie}-cell`]:{[`${Ie}-container:first-child`]:{borderTop:0},"&-scrollbar:not([rowspan])":{boxShadow:`0 ${(0,gi.unit)(ht)} 0 ${(0,gi.unit)(ht)} ${Gt}`}},[`${Ie}-bordered ${Ie}-cell-scrollbar`]:{borderInlineEnd:Sn}}}},Dn=Te=>{const{componentCls:Ie}=Te;return{[`${Ie}-wrapper`]:{[`${Ie}-cell-ellipsis`]:Object.assign(Object.assign({},ae.vS),{wordBreak:"keep-all",[`
&${Ie}-cell-fix-left-last,
&${Ie}-cell-fix-right-first
`]:{overflow:"visible",[`${Ie}-cell-content`]:{display:"block",overflow:"hidden",textOverflow:"ellipsis"}},[`${Ie}-column-title`]:{overflow:"hidden",textOverflow:"ellipsis",wordBreak:"keep-all"}})}}},Xn=Te=>{const{componentCls:Ie}=Te;return{[`${Ie}-wrapper`]:{[`${Ie}-tbody > tr${Ie}-placeholder`]:{textAlign:"center",color:Te.colorTextDisabled,"\n &:hover > th,\n &:hover > td,\n ":{background:Te.colorBgContainer}}}}},In=Te=>{const{componentCls:Ie,antCls:ht,motionDurationSlow:At,lineWidth:Nt,paddingXS:Gt,lineType:fn,tableBorderColor:on,tableExpandIconBg:gn,tableExpandColumnWidth:Sn,borderRadius:Wn,tablePaddingVertical:Tn,tablePaddingHorizontal:On,tableExpandedRowBg:Fn,paddingXXS:wn,expandIconMarginTop:vr,expandIconSize:qn,expandIconHalfInner:Ar,expandIconScale:br,calc:Tr}=Te,Dr=`${(0,gi.unit)(Nt)} ${fn} ${on}`,Pr=Tr(wn).sub(Nt).equal();return{[`${Ie}-wrapper`]:{[`${Ie}-expand-icon-col`]:{width:Sn},[`${Ie}-row-expand-icon-cell`]:{textAlign:"center",[`${Ie}-row-expand-icon`]:{display:"inline-flex",float:"none",verticalAlign:"sub"}},[`${Ie}-row-indent`]:{height:1,float:"left"},[`${Ie}-row-expand-icon`]:Object.assign(Object.assign({},(0,ae.Nd)(Te)),{position:"relative",float:"left",width:qn,height:qn,color:"inherit",lineHeight:(0,gi.unit)(qn),background:gn,border:Dr,borderRadius:Wn,transform:`scale(${br})`,"&:focus, &:hover, &:active":{borderColor:"currentcolor"},"&::before, &::after":{position:"absolute",background:"currentcolor",transition:`transform ${At} ease-out`,content:'""'},"&::before":{top:Ar,insetInlineEnd:Pr,insetInlineStart:Pr,height:Nt},"&::after":{top:Pr,bottom:Pr,insetInlineStart:Ar,width:Nt,transform:"rotate(90deg)"},"&-collapsed::before":{transform:"rotate(-180deg)"},"&-collapsed::after":{transform:"rotate(0deg)"},"&-spaced":{"&::before, &::after":{display:"none",content:"none"},background:"transparent",border:0,visibility:"hidden"}}),[`${Ie}-row-indent + ${Ie}-row-expand-icon`]:{marginTop:vr,marginInlineEnd:Gt},[`tr${Ie}-expanded-row`]:{"&, &:hover":{"> th, > td":{background:Fn}},[`${ht}-descriptions-view`]:{display:"flex",table:{flex:"auto",width:"100%"}}},[`${Ie}-expanded-row-fixed`]:{position:"relative",margin:`${(0,gi.unit)(Tr(Tn).mul(-1).equal())} ${(0,gi.unit)(Tr(On).mul(-1).equal())}`,padding:`${(0,gi.unit)(Tn)} ${(0,gi.unit)(On)}`}}}},pr=Te=>{const{componentCls:Ie,antCls:ht,iconCls:At,tableFilterDropdownWidth:Nt,tableFilterDropdownSearchWidth:Gt,paddingXXS:fn,paddingXS:on,colorText:gn,lineWidth:Sn,lineType:Wn,tableBorderColor:Tn,headerIconColor:On,fontSizeSM:Fn,tablePaddingHorizontal:wn,borderRadius:vr,motionDurationSlow:qn,colorTextDescription:Ar,colorPrimary:br,tableHeaderFilterActiveBg:Tr,colorTextDisabled:Dr,tableFilterDropdownBg:Pr,tableFilterDropdownHeight:Wr,controlItemBgHover:Gr,controlItemBgActive:Jr,boxShadowSecondary:Io,filterDropdownMenuBg:Mr,calc:Fr}=Te,jr=`${ht}-dropdown`,lr=`${Ie}-filter-dropdown`,ar=`${ht}-tree`,Zr=`${(0,gi.unit)(Sn)} ${Wn} ${Tn}`;return[{[`${Ie}-wrapper`]:{[`${Ie}-filter-column`]:{display:"flex",justifyContent:"space-between"},[`${Ie}-filter-trigger`]:{position:"relative",display:"flex",alignItems:"center",marginBlock:Fr(fn).mul(-1).equal(),marginInline:`${(0,gi.unit)(fn)} ${(0,gi.unit)(Fr(wn).div(2).mul(-1).equal())}`,padding:`0 ${(0,gi.unit)(fn)}`,color:On,fontSize:Fn,borderRadius:vr,cursor:"pointer",transition:`all ${qn}`,"&:hover":{color:Ar,background:Tr},"&.active":{color:br}}}},{[`${ht}-dropdown`]:{[lr]:Object.assign(Object.assign({},(0,ae.Wf)(Te)),{minWidth:Nt,backgroundColor:Pr,borderRadius:vr,boxShadow:Io,overflow:"hidden",[`${jr}-menu`]:{maxHeight:Wr,overflowX:"hidden",border:0,boxShadow:"none",borderRadius:"unset",backgroundColor:Mr,"&:empty::after":{display:"block",padding:`${(0,gi.unit)(on)} 0`,color:Dr,fontSize:Fn,textAlign:"center",content:'"Not Found"'}},[`${lr}-tree`]:{paddingBlock:`${(0,gi.unit)(on)} 0`,paddingInline:on,[ar]:{padding:0},[`${ar}-treenode ${ar}-node-content-wrapper:hover`]:{backgroundColor:Gr},[`${ar}-treenode-checkbox-checked ${ar}-node-content-wrapper`]:{"&, &:hover":{backgroundColor:Jr}}},[`${lr}-search`]:{padding:on,borderBottom:Zr,"&-input":{input:{minWidth:Gt},[At]:{color:Dr}}},[`${lr}-checkall`]:{width:"100%",marginBottom:fn,marginInlineStart:fn},[`${lr}-btns`]:{display:"flex",justifyContent:"space-between",padding:`${(0,gi.unit)(Fr(on).sub(Sn).equal())} ${(0,gi.unit)(on)}`,overflow:"hidden",borderTop:Zr}})}},{[`${ht}-dropdown ${lr}, ${lr}-submenu`]:{[`${ht}-checkbox-wrapper + span`]:{paddingInlineStart:on,color:gn},"> ul":{maxHeight:"calc(100vh - 130px)",overflowX:"hidden",overflowY:"auto"}}}]},fr=Te=>{const{componentCls:Ie,lineWidth:ht,colorSplit:At,motionDurationSlow:Nt,zIndexTableFixed:Gt,tableBg:fn,zIndexTableSticky:on,calc:gn}=Te,Sn=At;return{[`${Ie}-wrapper`]:{[`
${Ie}-cell-fix-left,
${Ie}-cell-fix-right
`]:{position:"sticky !important",zIndex:Gt,background:fn},[`
${Ie}-cell-fix-left-first::after,
${Ie}-cell-fix-left-last::after
`]:{position:"absolute",top:0,right:{_skip_check_:!0,value:0},bottom:gn(ht).mul(-1).equal(),width:30,transform:"translateX(100%)",transition:`box-shadow ${Nt}`,content:'""',pointerEvents:"none"},[`${Ie}-cell-fix-left-all::after`]:{display:"none"},[`
${Ie}-cell-fix-right-first::after,
${Ie}-cell-fix-right-last::after
`]:{position:"absolute",top:0,bottom:gn(ht).mul(-1).equal(),left:{_skip_check_:!0,value:0},width:30,transform:"translateX(-100%)",transition:`box-shadow ${Nt}`,content:'""',pointerEvents:"none"},[`${Ie}-container`]:{position:"relative","&::before, &::after":{position:"absolute",top:0,bottom:0,zIndex:gn(on).add(1).equal({unit:!1}),width:30,transition:`box-shadow ${Nt}`,content:'""',pointerEvents:"none"},"&::before":{insetInlineStart:0},"&::after":{insetInlineEnd:0}},[`${Ie}-ping-left`]:{[`&:not(${Ie}-has-fix-left) ${Ie}-container::before`]:{boxShadow:`inset 10px 0 8px -8px ${Sn}`},[`
${Ie}-cell-fix-left-first::after,
${Ie}-cell-fix-left-last::after
`]:{boxShadow:`inset 10px 0 8px -8px ${Sn}`},[`${Ie}-cell-fix-left-last::before`]:{backgroundColor:"transparent !important"}},[`${Ie}-ping-right`]:{[`&:not(${Ie}-has-fix-right) ${Ie}-container::after`]:{boxShadow:`inset -10px 0 8px -8px ${Sn}`},[`
${Ie}-cell-fix-right-first::after,
${Ie}-cell-fix-right-last::after
`]:{boxShadow:`inset -10px 0 8px -8px ${Sn}`}},[`${Ie}-fixed-column-gapped`]:{[`
${Ie}-cell-fix-left-first::after,
${Ie}-cell-fix-left-last::after,
${Ie}-cell-fix-right-first::after,
${Ie}-cell-fix-right-last::after
`]:{boxShadow:"none"}}}}},xr=Te=>{const{componentCls:Ie,antCls:ht,margin:At}=Te;return{[`${Ie}-wrapper`]:{[`${Ie}-pagination${ht}-pagination`]:{margin:`${(0,gi.unit)(At)} 0`},[`${Ie}-pagination`]:{display:"flex",flexWrap:"wrap",rowGap:Te.paddingXS,"> *":{flex:"none"},"&-left":{justifyContent:"flex-start"},"&-center":{justifyContent:"center"},"&-right":{justifyContent:"flex-end"}}}}},qr=Te=>{const{componentCls:Ie,tableRadius:ht}=Te;return{[`${Ie}-wrapper`]:{[Ie]:{[`${Ie}-title, ${Ie}-header`]:{borderRadius:`${(0,gi.unit)(ht)} ${(0,gi.unit)(ht)} 0 0`},[`${Ie}-title + ${Ie}-container`]:{borderStartStartRadius:0,borderStartEndRadius:0,[`${Ie}-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:ht,borderStartEndRadius:ht,"table > thead > tr:first-child":{"> *:first-child":{borderStartStartRadius:ht},"> *:last-child":{borderStartEndRadius:ht}}},"&-footer":{borderRadius:`0 0 ${(0,gi.unit)(ht)} ${(0,gi.unit)(ht)}`}}}}},Br=Te=>{const{componentCls:Ie}=Te;return{[`${Ie}-wrapper-rtl`]:{direction:"rtl",table:{direction:"rtl"},[`${Ie}-pagination-left`]:{justifyContent:"flex-end"},[`${Ie}-pagination-right`]:{justifyContent:"flex-start"},[`${Ie}-row-expand-icon`]:{float:"right","&::after":{transform:"rotate(-90deg)"},"&-collapsed::before":{transform:"rotate(180deg)"},"&-collapsed::after":{transform:"rotate(0deg)"}},[`${Ie}-container`]:{"&::before":{insetInlineStart:"unset",insetInlineEnd:0},"&::after":{insetInlineStart:0,insetInlineEnd:"unset"},[`${Ie}-row-indent`]:{float:"right"}}}}},zr=Te=>{const{componentCls:Ie,antCls:ht,iconCls:At,fontSizeIcon:Nt,padding:Gt,paddingXS:fn,headerIconColor:on,headerIconHoverColor:gn,tableSelectionColumnWidth:Sn,tableSelectedRowBg:Wn,tableSelectedRowHoverBg:Tn,tableRowHoverBg:On,tablePaddingHorizontal:Fn,calc:wn}=Te;return{[`${Ie}-wrapper`]:{[`${Ie}-selection-col`]:{width:Sn,[`&${Ie}-selection-col-with-dropdown`]:{width:wn(Sn).add(Nt).add(wn(Gt).div(4)).equal()}},[`${Ie}-bordered ${Ie}-selection-col`]:{width:wn(Sn).add(wn(fn).mul(2)).equal(),[`&${Ie}-selection-col-with-dropdown`]:{width:wn(Sn).add(Nt).add(wn(Gt).div(4)).add(wn(fn).mul(2)).equal()}},[`
table tr th${Ie}-selection-column,
table tr td${Ie}-selection-column,
${Ie}-selection-column
`]:{paddingInlineEnd:Te.paddingXS,paddingInlineStart:Te.paddingXS,textAlign:"center",[`${ht}-radio-wrapper`]:{marginInlineEnd:0}},[`table tr th${Ie}-selection-column${Ie}-cell-fix-left`]:{zIndex:wn(Te.zIndexTableFixed).add(1).equal({unit:!1})},[`table tr th${Ie}-selection-column::after`]:{backgroundColor:"transparent !important"},[`${Ie}-selection`]:{position:"relative",display:"inline-flex",flexDirection:"column"},[`${Ie}-selection-extra`]:{position:"absolute",top:0,zIndex:1,cursor:"pointer",transition:`all ${Te.motionDurationSlow}`,marginInlineStart:"100%",paddingInlineStart:(0,gi.unit)(wn(Fn).div(4).equal()),[At]:{color:on,fontSize:Nt,verticalAlign:"baseline","&:hover":{color:gn}}},[`${Ie}-tbody`]:{[`${Ie}-row`]:{[`&${Ie}-row-selected`]:{[`> ${Ie}-cell`]:{background:Wn,"&-row-hover":{background:Tn}}},[`> ${Ie}-cell-row-hover`]:{background:On}}}}}},Go=Te=>{const{componentCls:Ie,tableExpandColumnWidth:ht,calc:At}=Te,Nt=(Gt,fn,on,gn)=>({[`${Ie}${Ie}-${Gt}`]:{fontSize:gn,[`
${Ie}-title,
${Ie}-footer,
${Ie}-cell,
${Ie}-thead > tr > th,
${Ie}-tbody > tr > th,
${Ie}-tbody > tr > td,
tfoot > tr > th,
tfoot > tr > td
`]:{padding:`${(0,gi.unit)(fn)} ${(0,gi.unit)(on)}`},[`${Ie}-filter-trigger`]:{marginInlineEnd:(0,gi.unit)(At(on).div(2).mul(-1).equal())},[`${Ie}-expanded-row-fixed`]:{margin:`${(0,gi.unit)(At(fn).mul(-1).equal())} ${(0,gi.unit)(At(on).mul(-1).equal())}`},[`${Ie}-tbody`]:{[`${Ie}-wrapper:only-child ${Ie}`]:{marginBlock:(0,gi.unit)(At(fn).mul(-1).equal()),marginInline:`${(0,gi.unit)(At(ht).sub(on).equal())} ${(0,gi.unit)(At(on).mul(-1).equal())}`}},[`${Ie}-selection-extra`]:{paddingInlineStart:(0,gi.unit)(At(on).div(4).equal())}}});return{[`${Ie}-wrapper`]:Object.assign(Object.assign({},Nt("middle",Te.tablePaddingVerticalMiddle,Te.tablePaddingHorizontalMiddle,Te.tableFontSizeMiddle)),Nt("small",Te.tablePaddingVerticalSmall,Te.tablePaddingHorizontalSmall,Te.tableFontSizeSmall))}},Po=Te=>{const{componentCls:Ie,marginXXS:ht,fontSizeIcon:At,headerIconColor:Nt,headerIconHoverColor:Gt}=Te;return{[`${Ie}-wrapper`]:{[`${Ie}-thead th${Ie}-column-has-sorters`]:{outline:"none",cursor:"pointer",transition:`all ${Te.motionDurationSlow}, left 0s`,"&:hover":{background:Te.tableHeaderSortHoverBg,"&::before":{backgroundColor:"transparent !important"}},"&:focus-visible":{color:Te.colorPrimary},[`
&${Ie}-cell-fix-left:hover,
&${Ie}-cell-fix-right:hover
`]:{background:Te.tableFixedHeaderSortActiveBg}},[`${Ie}-thead th${Ie}-column-sort`]:{background:Te.tableHeaderSortBg,"&::before":{backgroundColor:"transparent !important"}},[`td${Ie}-column-sort`]:{background:Te.tableBodySortBg},[`${Ie}-column-title`]:{position:"relative",zIndex:1,flex:1,minWidth:0},[`${Ie}-column-sorters`]:{display:"flex",flex:"auto",alignItems:"center",justifyContent:"space-between","&::after":{position:"absolute",inset:0,width:"100%",height:"100%",content:'""'}},[`${Ie}-column-sorters-tooltip-target-sorter`]:{"&::after":{content:"none"}},[`${Ie}-column-sorter`]:{marginInlineStart:ht,color:Nt,fontSize:0,transition:`color ${Te.motionDurationSlow}`,"&-inner":{display:"inline-flex",flexDirection:"column",alignItems:"center"},"&-up, &-down":{fontSize:At,"&.active":{color:Te.colorPrimary}},[`${Ie}-column-sorter-up + ${Ie}-column-sorter-down`]:{marginTop:"-0.3em"}},[`${Ie}-column-sorters:hover ${Ie}-column-sorter`]:{color:Gt}}}},ti=Te=>{const{componentCls:Ie,opacityLoading:ht,tableScrollThumbBg:At,tableScrollThumbBgHover:Nt,tableScrollThumbSize:Gt,tableScrollBg:fn,zIndexTableSticky:on,stickyScrollBarBorderRadius:gn,lineWidth:Sn,lineType:Wn,tableBorderColor:Tn}=Te,On=`${(0,gi.unit)(Sn)} ${Wn} ${Tn}`;return{[`${Ie}-wrapper`]:{[`${Ie}-sticky`]:{"&-holder":{position:"sticky",zIndex:on,background:Te.colorBgContainer},"&-scroll":{position:"sticky",bottom:0,height:`${(0,gi.unit)(Gt)} !important`,zIndex:on,display:"flex",alignItems:"center",background:fn,borderTop:On,opacity:ht,"&:hover":{transformOrigin:"center bottom"},"&-bar":{height:Gt,backgroundColor:At,borderRadius:gn,transition:`all ${Te.motionDurationSlow}, transform 0s`,position:"absolute",bottom:0,"&:hover, &-active":{backgroundColor:Nt}}}}}}},uo=Te=>{const{componentCls:Ie,lineWidth:ht,tableBorderColor:At,calc:Nt}=Te,Gt=`${(0,gi.unit)(ht)} ${Te.lineType} ${At}`;return{[`${Ie}-wrapper`]:{[`${Ie}-summary`]:{position:"relative",zIndex:Te.zIndexTableFixed,background:Te.tableBg,"> tr":{"> th, > td":{borderBottom:Gt}}},[`div${Ie}-summary`]:{boxShadow:`0 ${(0,gi.unit)(Nt(ht).mul(-1).equal())} 0 ${At}`}}}},mo=Te=>{const{componentCls:Ie,motionDurationMid:ht,lineWidth:At,lineType:Nt,tableBorderColor:Gt,calc:fn}=Te,on=`${(0,gi.unit)(At)} ${Nt} ${Gt}`,gn=`${Ie}-expanded-row-cell`;return{[`${Ie}-wrapper`]:{[`${Ie}-tbody-virtual`]:{[`${Ie}-tbody-virtual-holder-inner`]:{[`
& > ${Ie}-row,
& > div:not(${Ie}-row) > ${Ie}-row
`]:{display:"flex",boxSizing:"border-box",width:"100%"}},[`${Ie}-cell`]:{borderBottom:on,transition:`background ${ht}`},[`${Ie}-expanded-row`]:{[`${gn}${gn}-fixed`]:{position:"sticky",insetInlineStart:0,overflow:"hidden",width:`calc(var(--virtual-width) - ${(0,gi.unit)(At)})`,borderInlineEnd:"none"}}},[`${Ie}-bordered`]:{[`${Ie}-tbody-virtual`]:{"&:after":{content:'""',insetInline:0,bottom:0,borderBottom:on,position:"absolute"},[`${Ie}-cell`]:{borderInlineEnd:on,[`&${Ie}-cell-fix-right-first:before`]:{content:'""',position:"absolute",insetBlock:0,insetInlineStart:fn(At).mul(-1).equal(),borderInlineStart:on}}},[`&${Ie}-virtual`]:{[`${Ie}-placeholder ${Ie}-cell`]:{borderInlineEnd:on,borderBottom:on}}}}}};const fo=Te=>{const{componentCls:Ie,fontWeightStrong:ht,tablePaddingVertical:At,tablePaddingHorizontal:Nt,tableExpandColumnWidth:Gt,lineWidth:fn,lineType:on,tableBorderColor:gn,tableFontSize:Sn,tableBg:Wn,tableRadius:Tn,tableHeaderTextColor:On,motionDurationMid:Fn,tableHeaderBg:wn,tableHeaderCellSplitColor:vr,tableFooterTextColor:qn,tableFooterBg:Ar,calc:br}=Te,Tr=`${(0,gi.unit)(fn)} ${on} ${gn}`;return{[`${Ie}-wrapper`]:Object.assign(Object.assign({clear:"both",maxWidth:"100%"},(0,ae.dF)()),{[Ie]:Object.assign(Object.assign({},(0,ae.Wf)(Te)),{fontSize:Sn,background:Wn,borderRadius:`${(0,gi.unit)(Tn)} ${(0,gi.unit)(Tn)} 0 0`,scrollbarColor:`${Te.tableScrollThumbBg} ${Te.tableScrollBg}`}),table:{width:"100%",textAlign:"start",borderRadius:`${(0,gi.unit)(Tn)} ${(0,gi.unit)(Tn)} 0 0`,borderCollapse:"separate",borderSpacing:0},[`
${Ie}-cell,
${Ie}-thead > tr > th,
${Ie}-tbody > tr > th,
${Ie}-tbody > tr > td,
tfoot > tr > th,
tfoot > tr > td
`]:{position:"relative",padding:`${(0,gi.unit)(At)} ${(0,gi.unit)(Nt)}`,overflowWrap:"break-word"},[`${Ie}-title`]:{padding:`${(0,gi.unit)(At)} ${(0,gi.unit)(Nt)}`},[`${Ie}-thead`]:{"\n > tr > th,\n > tr > td\n ":{position:"relative",color:On,fontWeight:ht,textAlign:"start",background:wn,borderBottom:Tr,transition:`background ${Fn} ease`,"&[colspan]:not([colspan='1'])":{textAlign:"center"},[`&:not(:last-child):not(${Ie}-selection-column):not(${Ie}-row-expand-icon-cell):not([colspan])::before`]:{position:"absolute",top:"50%",insetInlineEnd:0,width:1,height:"1.6em",backgroundColor:vr,transform:"translateY(-50%)",transition:`background-color ${Fn}`,content:'""'}},"> tr:not(:last-child) > th[colspan]":{borderBottom:0}},[`${Ie}-tbody`]:{"> tr":{"> th, > td":{transition:`background ${Fn}, border-color ${Fn}`,borderBottom:Tr,[`
> ${Ie}-wrapper:only-child,
> ${Ie}-expanded-row-fixed > ${Ie}-wrapper:only-child
`]:{[Ie]:{marginBlock:(0,gi.unit)(br(At).mul(-1).equal()),marginInline:`${(0,gi.unit)(br(Gt).sub(Nt).equal())}
${(0,gi.unit)(br(Nt).mul(-1).equal())}`,[`${Ie}-tbody > tr:last-child > td`]:{borderBottomWidth:0,"&:first-child, &:last-child":{borderRadius:0}}}}},"> th":{position:"relative",color:On,fontWeight:ht,textAlign:"start",background:wn,borderBottom:Tr,transition:`background ${Fn} ease`}}},[`${Ie}-footer`]:{padding:`${(0,gi.unit)(At)} ${(0,gi.unit)(Nt)}`,color:qn,background:Ar}})}},ai=Te=>{const{colorFillAlter:Ie,colorBgContainer:ht,colorTextHeading:At,colorFillSecondary:Nt,colorFillContent:Gt,controlItemBgActive:fn,controlItemBgActiveHover:on,padding:gn,paddingSM:Sn,paddingXS:Wn,colorBorderSecondary:Tn,borderRadiusLG:On,controlHeight:Fn,colorTextPlaceholder:wn,fontSize:vr,fontSizeSM:qn,lineHeight:Ar,lineWidth:br,colorIcon:Tr,colorIconHover:Dr,opacityLoading:Pr,controlInteractiveSize:Wr}=Te,Gr=new fs.FastColor(Nt).onBackground(ht).toHexString(),Jr=new fs.FastColor(Gt).onBackground(ht).toHexString(),Io=new fs.FastColor(Ie).onBackground(ht).toHexString(),Mr=new fs.FastColor(Tr),Fr=new fs.FastColor(Dr),jr=Wr/2-br,lr=jr*2+br*3;return{headerBg:Io,headerColor:At,headerSortActiveBg:Gr,headerSortHoverBg:Jr,bodySortBg:Io,rowHoverBg:Io,rowSelectedBg:fn,rowSelectedHoverBg:on,rowExpandedBg:Ie,cellPaddingBlock:gn,cellPaddingInline:gn,cellPaddingBlockMD:Sn,cellPaddingInlineMD:Wn,cellPaddingBlockSM:Wn,cellPaddingInlineSM:Wn,borderColor:Tn,headerBorderRadius:On,footerBg:Io,footerColor:At,cellFontSize:vr,cellFontSizeMD:vr,cellFontSizeSM:vr,headerSplitColor:Tn,fixedHeaderSortActiveBg:Gr,headerFilterHoverBg:Gt,filterDropdownMenuBg:ht,filterDropdownBg:ht,expandIconBg:ht,selectionColumnWidth:Fn,stickyScrollBarBg:wn,stickyScrollBarBorderRadius:100,expandIconMarginTop:(vr*Ar-br*3)/2-Math.ceil((qn*1.4-br*3)/2),headerIconColor:Mr.clone().setA(Mr.a*Pr).toRgbString(),headerIconHoverColor:Fr.clone().setA(Fr.a*Pr).toRgbString(),expandIconHalfInner:jr,expandIconSize:lr,expandIconScale:Wr/lr}},ni=2;var Fo=(0,He.I$)("Table",Te=>{const{colorTextHeading:Ie,colorSplit:ht,colorBgContainer:At,controlInteractiveSize:Nt,headerBg:Gt,headerColor:fn,headerSortActiveBg:on,headerSortHoverBg:gn,bodySortBg:Sn,rowHoverBg:Wn,rowSelectedBg:Tn,rowSelectedHoverBg:On,rowExpandedBg:Fn,cellPaddingBlock:wn,cellPaddingInline:vr,cellPaddingBlockMD:qn,cellPaddingInlineMD:Ar,cellPaddingBlockSM:br,cellPaddingInlineSM:Tr,borderColor:Dr,footerBg:Pr,footerColor:Wr,headerBorderRadius:Gr,cellFontSize:Jr,cellFontSizeMD:Io,cellFontSizeSM:Mr,headerSplitColor:Fr,fixedHeaderSortActiveBg:jr,headerFilterHoverBg:lr,filterDropdownBg:ar,expandIconBg:Zr,selectionColumnWidth:Xr,stickyScrollBarBg:lo,calc:Lo}=Te,_r=(0,ct.mergeToken)(Te,{tableFontSize:Jr,tableBg:At,tableRadius:Gr,tablePaddingVertical:wn,tablePaddingHorizontal:vr,tablePaddingVerticalMiddle:qn,tablePaddingHorizontalMiddle:Ar,tablePaddingVerticalSmall:br,tablePaddingHorizontalSmall:Tr,tableBorderColor:Dr,tableHeaderTextColor:fn,tableHeaderBg:Gt,tableFooterTextColor:Wr,tableFooterBg:Pr,tableHeaderCellSplitColor:Fr,tableHeaderSortBg:on,tableHeaderSortHoverBg:gn,tableBodySortBg:Sn,tableFixedHeaderSortActiveBg:jr,tableHeaderFilterActiveBg:lr,tableFilterDropdownBg:ar,tableRowHoverBg:Wn,tableSelectedRowBg:Tn,tableSelectedRowHoverBg:On,zIndexTableFixed:ni,zIndexTableSticky:Lo(ni).add(1).equal({unit:!1}),tableFontSizeMiddle:Io,tableFontSizeSmall:Mr,tableSelectionColumnWidth:Xr,tableExpandIconBg:Zr,tableExpandColumnWidth:Lo(Nt).add(Lo(Te.padding).mul(2)).equal(),tableExpandedRowBg:Fn,tableFilterDropdownWidth:120,tableFilterDropdownHeight:264,tableFilterDropdownSearchWidth:140,tableScrollThumbSize:8,tableScrollThumbBg:lo,tableScrollThumbBgHover:Ie,tableScrollBg:ht});return[fo(_r),xr(_r),uo(_r),Po(_r),pr(_r),Pt(_r),qr(_r),In(_r),uo(_r),Xn(_r),zr(_r),fr(_r),ti(_r),Dn(_r),Go(_r),Br(_r),mo(_r)]},ai,{unitless:{expandIconScale:!0}});const To=[],co=(Te,Ie)=>{var ht,At;const{prefixCls:Nt,className:Gt,rootClassName:fn,style:on,size:gn,bordered:Sn,dropdownPrefixCls:Wn,dataSource:Tn,pagination:On,rowSelection:Fn,rowKey:wn="key",rowClassName:vr,columns:qn,children:Ar,childrenColumnName:br,onChange:Tr,getPopupContainer:Dr,loading:Pr,expandIcon:Wr,expandable:Gr,expandedRowRender:Jr,expandIconColumnIndex:Io,indentSize:Mr,scroll:Fr,sortDirections:jr,locale:lr,showSorterTooltip:ar={target:"full-header"},virtual:Zr}=Te,Xr=(0,vi.ln)("Table"),lo=y.useMemo(()=>qn||Bn(Ar),[qn,Ar]),Lo=y.useMemo(()=>lo.some(ho=>ho.responsive),[lo]),_r=(0,Ma.Z)(Lo),Fi=y.useMemo(()=>{const ho=new Set(Object.keys(_r).filter(fi=>_r[fi]));return lo.filter(fi=>!fi.responsive||fi.responsive.some(Yi=>ho.has(Yi)))},[lo,_r]),xi=(0,Co.Z)(Te,["className","style","columns"]),{locale:pa=Ha.Z,direction:Qi,table:ua,renderEmpty:ga,getPrefixCls:Ca,getPopupContainer:Ri}=y.useContext(Mi.E_),Ni=(0,_o.Z)(gn),Pa=Object.assign(Object.assign({},pa.Table),lr),Ia=Tn||To,Ko=Ca("table",Nt),Si=Ca("dropdown",Wn),[,zo]=(0,El.ZP)(),go=(0,hi.Z)(Ko),[Vi,qi,ba]=Fo(Ko,go),ea=Object.assign(Object.assign({childrenColumnName:br,expandIconColumnIndex:Io},Gr),{expandIcon:(ht=Gr==null?void 0:Gr.expandIcon)!==null&&ht!==void 0?ht:(At=ua==null?void 0:ua.expandable)===null||At===void 0?void 0:At.expandIcon}),{childrenColumnName:Oa="children"}=ea,Da=y.useMemo(()=>Ia.some(ho=>ho==null?void 0:ho[Oa])?"nest":Jr||Gr!=null&&Gr.expandedRowRender?"row":null,[Ia]),Jo={body:y.useRef(null)},si=Ei(Ko),ta=y.useRef(null),ca=y.useRef(null);Uo(Ie,()=>Object.assign(Object.assign({},ca.current),{nativeElement:ta.current}));const da=y.useMemo(()=>typeof wn=="function"?wn:ho=>ho==null?void 0:ho[wn],[wn]),[za]=Nl(Ia,Oa,da),Ea={},Xa=function(ho,fi){let Yi=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;var Ka,ul,ol,$l;const vl=Object.assign(Object.assign({},Ea),ho);Yi&&((Ka=Ea.resetPagination)===null||Ka===void 0||Ka.call(Ea),!((ul=vl.pagination)===null||ul===void 0)&&ul.current&&(vl.pagination.current=1),On&&((ol=On.onChange)===null||ol===void 0||ol.call(On,1,($l=vl.pagination)===null||$l===void 0?void 0:$l.pageSize))),Fr&&Fr.scrollToFirstRowOnChange!==!1&&Jo.body.current&&(0,Ho.Z)(0,{getContainer:()=>Jo.body.current}),Tr==null||Tr(vl.pagination,vl.filters,vl.sorter,{currentDataSource:Wi(os(Ia,vl.sorterStates,Oa),vl.filterStates,Oa),action:fi})},ya=(ho,fi)=>{Xa({sorter:ho,sorterStates:fi},"sort",!1)},[Ui,va,xa,Ra]=Ys({prefixCls:Ko,mergedColumns:Fi,onSorterChange:ya,sortDirections:jr||["ascend","descend"],tableLocale:Pa,showSorterTooltip:ar}),La=y.useMemo(()=>os(Ia,va,Oa),[Ia,va]);Ea.sorter=Ra(),Ea.sorterStates=va;const Xi=(ho,fi)=>{Xa({filters:ho,filterStates:fi},"filter",!0)},[Fa,ia,_a]=Va({prefixCls:Ko,locale:Pa,dropdownPrefixCls:Si,mergedColumns:Fi,onFilterChange:Xi,getPopupContainer:Dr||Ri,rootClassName:Le()(fn,go)}),ja=Wi(La,ia,Oa);Ea.filters=_a,Ea.filterStates=ia;const nl=y.useMemo(()=>{const ho={};return Object.keys(_a).forEach(fi=>{_a[fi]!==null&&(ho[fi]=_a[fi])}),Object.assign(Object.assign({},xa),{filters:ho})},[xa,_a]),[ll]=Ns(nl),Il=(ho,fi)=>{Xa({pagination:Object.assign(Object.assign({},Ea.pagination),{current:ho,pageSize:fi})},"paginate")},[Sa,as]=kl(ja.length,Il,On);Ea.pagination=On===!1?{}:hl(Sa,On),Ea.resetPagination=as;const rl=y.useMemo(()=>{if(On===!1||!Sa.pageSize)return ja;const{current:ho=1,total:fi,pageSize:Yi=Vl}=Sa;return ja.length<fi?ja.length>Yi?ja.slice((ho-1)*Yi,ho*Yi):ja:ja.slice((ho-1)*Yi,ho*Yi)},[!!On,ja,Sa==null?void 0:Sa.current,Sa==null?void 0:Sa.pageSize,Sa==null?void 0:Sa.total]),[Dl,pl]=Do({prefixCls:Ko,data:ja,pageData:rl,getRowKey:da,getRecordByKey:za,expandType:Da,childrenColumnName:Oa,locale:Pa,getPopupContainer:Dr||Ri},Fn),wi=(ho,fi,Yi)=>{let Ka;return typeof vr=="function"?Ka=Le()(vr(ho,fi,Yi)):Ka=Le()(vr),Le()({[`${Ko}-row-selected`]:pl.has(da(ho,fi))},Ka)};ea.__PARENT_RENDER_ICON__=ea.expandIcon,ea.expandIcon=ea.expandIcon||Wr||qo(Pa),Da==="nest"&&ea.expandIconColumnIndex===void 0?ea.expandIconColumnIndex=Fn?1:0:ea.expandIconColumnIndex>0&&Fn&&(ea.expandIconColumnIndex-=1),typeof ea.indentSize!="number"&&(ea.indentSize=typeof Mr=="number"?Mr:15);const jo=y.useCallback(ho=>ll(Dl(Fa(Ui(ho)))),[Ui,Fa,Dl]);let Na,sl;if(On!==!1&&(Sa!=null&&Sa.total)){let ho;Sa.size?ho=Sa.size:ho=Ni==="small"||Ni==="middle"?"small":void 0;const fi=ul=>y.createElement(Aa.Z,Object.assign({},Sa,{className:Le()(`${Ko}-pagination ${Ko}-pagination-${ul}`,Sa.className),size:ho})),Yi=Qi==="rtl"?"left":"right",{position:Ka}=Sa;if(Ka!==null&&Array.isArray(Ka)){const ul=Ka.find(vl=>vl.includes("top")),ol=Ka.find(vl=>vl.includes("bottom")),$l=Ka.every(vl=>`${vl}`=="none");!ul&&!ol&&!$l&&(sl=fi(Yi)),ul&&(Na=fi(ul.toLowerCase().replace("top",""))),ol&&(sl=fi(ol.toLowerCase().replace("bottom","")))}else sl=fi(Yi)}let Bl;typeof Pr=="boolean"?Bl={spinning:Pr}:typeof Pr=="object"&&(Bl=Object.assign({spinning:!0},Pr));const Gl=Le()(ba,go,`${Ko}-wrapper`,ua==null?void 0:ua.className,{[`${Ko}-wrapper-rtl`]:Qi==="rtl"},Gt,fn,qi),Ds=Object.assign(Object.assign({},ua==null?void 0:ua.style),on),Fs=typeof(lr==null?void 0:lr.emptyText)!="undefined"?lr.emptyText:(ga==null?void 0:ga("Table"))||y.createElement(bi.Z,{componentName:"Table"}),Rs=Zr?ds:ks,aa={},Hi=y.useMemo(()=>{const{fontSize:ho,lineHeight:fi,lineWidth:Yi,padding:Ka,paddingXS:ul,paddingSM:ol}=zo,$l=Math.floor(ho*fi);switch(Ni){case"middle":return ol*2+$l+Yi;case"small":return ul*2+$l+Yi;default:return Ka*2+$l+Yi}},[zo,Ni]);return Zr&&(aa.listItemHeight=Hi),Vi(y.createElement("div",{ref:ta,className:Gl,style:Ds},y.createElement(ra.Z,Object.assign({spinning:!1},Bl),Na,y.createElement(Rs,Object.assign({},aa,xi,{ref:ca,columns:Fi,direction:Qi,expandable:ea,prefixCls:Ko,className:Le()({[`${Ko}-middle`]:Ni==="middle",[`${Ko}-small`]:Ni==="small",[`${Ko}-bordered`]:Sn,[`${Ko}-empty`]:Ia.length===0},ba,go,qi),data:rl,rowKey:da,rowClassName:wi,emptyText:Fs,internalHooks:he,internalRefs:Jo,transformColumns:jo,getContainerWidth:si})),sl)))};var Mo=y.forwardRef(co);const Bo=(Te,Ie)=>{const ht=y.useRef(0);return ht.current+=1,y.createElement(Mo,Object.assign({},Te,{ref:Ie,_renderTimes:ht.current}))},li=y.forwardRef(Bo);li.SELECTION_COLUMN=Ti,li.EXPAND_COLUMN=xe,li.SELECTION_ALL=Ki,li.SELECTION_INVERT=sa,li.SELECTION_NONE=fa,li.Column=yr,li.ColumnGroup=Hn,li.Summary=tt;var Di=li,Pi=Di},18287:function(dn,yt,E){"use strict";E.d(yt,{default:function(){return lt}});var y=E(3741),xe=E(94480),he=E(59301),je=E(52671),be=E(8657),De=E(54476),ye={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"},ze=ye,we=E(7657),se=function(Re,at){return he.createElement(we.Z,(0,De.Z)({},Re,{ref:at,icon:ze}))},Ye=he.forwardRef(se),fe=Ye,ke=E(92310),Ae=E.n(ke),Ce=E(82661),me=E(34061),ue=E(48755),Me=E(56082),Ze=E(86641),Qe=E(57700),oe=E(12425);const Fe=4;function rt(Se){const{dropPosition:Re,dropLevelOffset:at,prefixCls:jt,indent:ft,direction:Wt="ltr"}=Se,xt=Wt==="ltr"?"left":"right",$t=Wt==="ltr"?"right":"left",Rt={[xt]:-at*ft+Fe,[$t]:0};switch(Re){case-1:Rt.top=-3;break;case 1:Rt.bottom=-3;break;default:Rt.bottom=-3,Rt[xt]=ft+Fe;break}return he.createElement("div",{style:Rt,className:`${jt}-drop-indicator`})}var Ne=rt,Ge=E(85278),Oe=he.forwardRef((Se,Re)=>{var at;const{getPrefixCls:jt,direction:ft,virtual:Wt,tree:xt}=he.useContext(ue.E_),{prefixCls:$t,className:Rt,showIcon:ce=!1,showLine:ne,switcherIcon:te,switcherLoadingIcon:le,blockNode:ve=!1,children:re,checkable:de=!1,selectable:Ue=!0,draggable:pt,motion:et,style:tt}=Se,dt=jt("tree",$t),gt=jt(),St=et!=null?et:Object.assign(Object.assign({},(0,Ze.Z)(gt)),{motionAppear:!1}),_e=Object.assign(Object.assign({},Se),{checkable:de,selectable:Ue,showIcon:ce,motion:St,blockNode:ve,showLine:!!ne,dropIndicatorRender:Ne}),[st,en,Ut]=(0,oe.ZP)(dt),[,yn]=(0,Qe.ZP)(),tn=yn.paddingXS/2+(((at=yn.Tree)===null||at===void 0?void 0:at.titleHeight)||yn.controlHeightSM),Vt=he.useMemo(()=>{if(!pt)return!1;let sn={};switch(typeof pt){case"function":sn.nodeDraggable=pt;break;case"object":sn=Object.assign({},pt);break;default:break}return sn.icon!==!1&&(sn.icon=sn.icon||he.createElement(Me.Z,null)),sn},[pt]),Qt=sn=>he.createElement(Ge.Z,{prefixCls:dt,switcherIcon:te,switcherLoadingIcon:le,treeNodeProps:sn,showLine:ne});return st(he.createElement(y.ZP,Object.assign({itemHeight:tn,ref:Re,virtual:Wt},_e,{style:Object.assign(Object.assign({},xt==null?void 0:xt.style),tt),prefixCls:dt,className:Ae()({[`${dt}-icon-hide`]:!ce,[`${dt}-block-node`]:ve,[`${dt}-unselectable`]:!Ue,[`${dt}-rtl`]:ft==="rtl"},xt==null?void 0:xt.className,Rt,en,Ut),direction:ft,checkable:de&&he.createElement("span",{className:`${dt}-checkbox-inner`}),selectable:Ue,switcherIcon:Qt,draggable:Vt}),re))});const Ve=0,Pe=1,it=2;function Le(Se,Re,at){const{key:jt,children:ft}=at;function Wt(xt){const $t=xt[jt],Rt=xt[ft];Re($t,xt)!==!1&&Le(Rt||[],Re,at)}Se.forEach(Wt)}function pe(Se){let{treeData:Re,expandedKeys:at,startKey:jt,endKey:ft,fieldNames:Wt}=Se;const xt=[];let $t=Ve;if(jt&&jt===ft)return[jt];if(!jt||!ft)return[];function Rt(ce){return ce===jt||ce===ft}return Le(Re,ce=>{if($t===it)return!1;if(Rt(ce)){if(xt.push(ce),$t===Ve)$t=Pe;else if($t===Pe)return $t=it,!1}else $t===Pe&&xt.push(ce);return at.includes(ce)},(0,me.w$)(Wt)),xt}function qe(Se,Re,at){const jt=(0,xe.Z)(Re),ft=[];return Le(Se,(Wt,xt)=>{const $t=jt.indexOf(Wt);return $t!==-1&&(ft.push(xt),jt.splice($t,1)),!!jt.length},(0,me.w$)(at)),ft}var Xe=function(Se,Re){var at={};for(var jt in Se)Object.prototype.hasOwnProperty.call(Se,jt)&&Re.indexOf(jt)<0&&(at[jt]=Se[jt]);if(Se!=null&&typeof Object.getOwnPropertySymbols=="function")for(var ft=0,jt=Object.getOwnPropertySymbols(Se);ft<jt.length;ft++)Re.indexOf(jt[ft])<0&&Object.prototype.propertyIsEnumerable.call(Se,jt[ft])&&(at[jt[ft]]=Se[jt[ft]]);return at};function Ct(Se){const{isLeaf:Re,expanded:at}=Se;return Re?he.createElement(je.Z,null):at?he.createElement(be.Z,null):he.createElement(fe,null)}function Yt(Se){let{treeData:Re,children:at}=Se;return Re||(0,me.zn)(at)}const We=(Se,Re)=>{var{defaultExpandAll:at,defaultExpandParent:jt,defaultExpandedKeys:ft}=Se,Wt=Xe(Se,["defaultExpandAll","defaultExpandParent","defaultExpandedKeys"]);const xt=he.useRef(null),$t=he.useRef(null),Rt=()=>{const{keyEntities:st}=(0,me.I8)(Yt(Wt));let en;return at?en=Object.keys(st):jt?en=(0,Ce.r7)(Wt.expandedKeys||ft||[],st):en=Wt.expandedKeys||ft||[],en},[ce,ne]=he.useState(Wt.selectedKeys||Wt.defaultSelectedKeys||[]),[te,le]=he.useState(()=>Rt());he.useEffect(()=>{"selectedKeys"in Wt&&ne(Wt.selectedKeys)},[Wt.selectedKeys]),he.useEffect(()=>{"expandedKeys"in Wt&&le(Wt.expandedKeys)},[Wt.expandedKeys]);const ve=(st,en)=>{var Ut;return"expandedKeys"in Wt||le(st),(Ut=Wt.onExpand)===null||Ut===void 0?void 0:Ut.call(Wt,st,en)},re=(st,en)=>{var Ut;const{multiple:yn,fieldNames:tn}=Wt,{node:Vt,nativeEvent:Qt}=en,{key:sn=""}=Vt,bt=Yt(Wt),Lt=Object.assign(Object.assign({},en),{selected:!0}),un=(Qt==null?void 0:Qt.ctrlKey)||(Qt==null?void 0:Qt.metaKey),Cn=Qt==null?void 0:Qt.shiftKey;let ut;yn&&un?(ut=st,xt.current=sn,$t.current=ut,Lt.selectedNodes=qe(bt,ut,tn)):yn&&Cn?(ut=Array.from(new Set([].concat((0,xe.Z)($t.current||[]),(0,xe.Z)(pe({treeData:bt,expandedKeys:te,startKey:sn,endKey:xt.current,fieldNames:tn}))))),Lt.selectedNodes=qe(bt,ut,tn)):(ut=[sn],xt.current=sn,$t.current=ut,Lt.selectedNodes=qe(bt,ut,tn)),(Ut=Wt.onSelect)===null||Ut===void 0||Ut.call(Wt,ut,Lt),"selectedKeys"in Wt||ne(ut)},{getPrefixCls:de,direction:Ue}=he.useContext(ue.E_),{prefixCls:pt,className:et,showIcon:tt=!0,expandAction:dt="click"}=Wt,gt=Xe(Wt,["prefixCls","className","showIcon","expandAction"]),St=de("tree",pt),_e=Ae()(`${St}-directory`,{[`${St}-directory-rtl`]:Ue==="rtl"},et);return he.createElement(Oe,Object.assign({icon:Ct,ref:Re,blockNode:!0},gt,{showIcon:tt,expandAction:dt,prefixCls:St,className:_e,expandedKeys:te,selectedKeys:ce,onSelect:re,onExpand:ve}))};var Dt=he.forwardRef(We);const Zt=Oe;Zt.DirectoryTree=Dt,Zt.TreeNode=y.OF;var lt=Zt},12425:function(dn,yt,E){"use strict";E.d(yt,{ZP:function(){return Ce},Yk:function(){return fe},TM:function(){return ke}});var y=E(36237),xe=E(36170),he=E(63356),je=E(34961),be=E(51636),De=E(16931);const ye=me=>{let{treeCls:ue,treeNodeCls:Me,directoryNodeSelectedBg:Ze,directoryNodeSelectedColor:Qe,motionDurationMid:oe,borderRadius:Fe,controlItemBgHover:rt}=me;return{[`${ue}${ue}-directory ${Me}`]:{[`${ue}-node-content-wrapper`]:{position:"static",[`> *:not(${ue}-drop-indicator)`]:{position:"relative"},"&:hover":{background:"transparent"},"&:before":{position:"absolute",inset:0,transition:`background-color ${oe}`,content:'""',borderRadius:Fe},"&:hover:before":{background:rt}},[`${ue}-switcher, ${ue}-checkbox, ${ue}-draggable-icon`]:{zIndex:1},"&-selected":{[`${ue}-switcher, ${ue}-draggable-icon`]:{color:Qe},[`${ue}-node-content-wrapper`]:{color:Qe,background:"transparent","&:before, &:hover:before":{background:Ze}}}}}},ze=new y.Keyframes("ant-tree-node-fx-do-not-use",{"0%":{opacity:0},"100%":{opacity:1}}),we=(me,ue)=>({[`.${me}-switcher-icon`]:{display:"inline-block",fontSize:10,verticalAlign:"baseline",svg:{transition:`transform ${ue.motionDurationSlow}`}}}),se=(me,ue)=>({[`.${me}-drop-indicator`]:{position:"absolute",zIndex:1,height:2,backgroundColor:ue.colorPrimary,borderRadius:1,pointerEvents:"none","&:after":{position:"absolute",top:-3,insetInlineStart:-6,width:8,height:8,backgroundColor:"transparent",border:`${(0,y.unit)(ue.lineWidthBold)} solid ${ue.colorPrimary}`,borderRadius:"50%",content:'""'}}}),Ye=(me,ue)=>{const{treeCls:Me,treeNodeCls:Ze,treeNodePadding:Qe,titleHeight:oe,indentSize:Fe,nodeSelectedBg:rt,nodeHoverBg:Ne,colorTextQuaternary:Ge,controlItemBgActiveDisabled:ge}=ue;return{[Me]:Object.assign(Object.assign({},(0,he.Wf)(ue)),{background:ue.colorBgContainer,borderRadius:ue.borderRadius,transition:`background-color ${ue.motionDurationSlow}`,"&-rtl":{direction:"rtl"},[`&${Me}-rtl ${Me}-switcher_close ${Me}-switcher-icon svg`]:{transform:"rotate(90deg)"},[`&-focused:not(:hover):not(${Me}-active-focused)`]:Object.assign({},(0,he.oN)(ue)),[`${Me}-list-holder-inner`]:{alignItems:"flex-start"},[`&${Me}-block-node`]:{[`${Me}-list-holder-inner`]:{alignItems:"stretch",[`${Me}-node-content-wrapper`]:{flex:"auto"},[`${Ze}.dragging:after`]:{position:"absolute",inset:0,border:`1px solid ${ue.colorPrimary}`,opacity:0,animationName:ze,animationDuration:ue.motionDurationSlow,animationPlayState:"running",animationFillMode:"forwards",content:'""',pointerEvents:"none",borderRadius:ue.borderRadius}}},[Ze]:{display:"flex",alignItems:"flex-start",marginBottom:Qe,lineHeight:(0,y.unit)(oe),position:"relative","&:before":{content:'""',position:"absolute",zIndex:1,insetInlineStart:0,width:"100%",top:"100%",height:Qe},[`&-disabled ${Me}-node-content-wrapper`]:{color:ue.colorTextDisabled,cursor:"not-allowed","&:hover":{background:"transparent"}},[`${Me}-checkbox-disabled + ${Me}-node-selected,&${Ze}-disabled${Ze}-selected ${Me}-node-content-wrapper`]:{backgroundColor:ge},[`${Me}-checkbox-disabled`]:{pointerEvents:"unset"},[`&:not(${Ze}-disabled)`]:{[`${Me}-node-content-wrapper`]:{"&:hover":{color:ue.nodeHoverColor}}},[`&-active ${Me}-node-content-wrapper`]:{background:ue.controlItemBgHover},[`&:not(${Ze}-disabled).filter-node ${Me}-title`]:{color:ue.colorPrimary,fontWeight:500},"&-draggable":{cursor:"grab",[`${Me}-draggable-icon`]:{flexShrink:0,width:oe,textAlign:"center",visibility:"visible",color:Ge},[`&${Ze}-disabled ${Me}-draggable-icon`]:{visibility:"hidden"}}},[`${Me}-indent`]:{alignSelf:"stretch",whiteSpace:"nowrap",userSelect:"none","&-unit":{display:"inline-block",width:Fe}},[`${Me}-draggable-icon`]:{visibility:"hidden"},[`${Me}-switcher, ${Me}-checkbox`]:{marginInlineEnd:ue.calc(ue.calc(oe).sub(ue.controlInteractiveSize)).div(2).equal()},[`${Me}-switcher`]:Object.assign(Object.assign({},we(me,ue)),{position:"relative",flex:"none",alignSelf:"stretch",width:oe,textAlign:"center",cursor:"pointer",userSelect:"none",transition:`all ${ue.motionDurationSlow}`,"&-noop":{cursor:"unset"},"&:before":{pointerEvents:"none",content:'""',width:oe,height:oe,position:"absolute",left:{_skip_check_:!0,value:0},top:0,borderRadius:ue.borderRadius,transition:`all ${ue.motionDurationSlow}`},[`&:not(${Me}-switcher-noop):hover:before`]:{backgroundColor:ue.colorBgTextHover},[`&_close ${Me}-switcher-icon svg`]:{transform:"rotate(-90deg)"},"&-loading-icon":{color:ue.colorPrimary},"&-leaf-line":{position:"relative",zIndex:1,display:"inline-block",width:"100%",height:"100%","&:before":{position:"absolute",top:0,insetInlineEnd:ue.calc(oe).div(2).equal(),bottom:ue.calc(Qe).mul(-1).equal(),marginInlineStart:-1,borderInlineEnd:`1px solid ${ue.colorBorder}`,content:'""'},"&:after":{position:"absolute",width:ue.calc(ue.calc(oe).div(2).equal()).mul(.8).equal(),height:ue.calc(oe).div(2).equal(),borderBottom:`1px solid ${ue.colorBorder}`,content:'""'}}}),[`${Me}-node-content-wrapper`]:Object.assign(Object.assign({position:"relative",minHeight:oe,paddingBlock:0,paddingInline:ue.paddingXS,background:"transparent",borderRadius:ue.borderRadius,cursor:"pointer",transition:`all ${ue.motionDurationMid}, border 0s, line-height 0s, box-shadow 0s`},se(me,ue)),{"&:hover":{backgroundColor:Ne},[`&${Me}-node-selected`]:{color:ue.nodeSelectedColor,backgroundColor:rt},[`${Me}-iconEle`]:{display:"inline-block",width:oe,height:oe,textAlign:"center",verticalAlign:"top","&:empty":{display:"none"}}}),[`${Me}-unselectable ${Me}-node-content-wrapper:hover`]:{backgroundColor:"transparent"},[`${Ze}.drop-container > [draggable]`]:{boxShadow:`0 0 0 2px ${ue.colorPrimary}`},"&-show-line":{[`${Me}-indent-unit`]:{position:"relative",height:"100%","&:before":{position:"absolute",top:0,insetInlineEnd:ue.calc(oe).div(2).equal(),bottom:ue.calc(Qe).mul(-1).equal(),borderInlineEnd:`1px solid ${ue.colorBorder}`,content:'""'},"&-end:before":{display:"none"}},[`${Me}-switcher`]:{background:"transparent","&-line-icon":{verticalAlign:"-0.15em"}}},[`${Ze}-leaf-last ${Me}-switcher-leaf-line:before`]:{top:"auto !important",bottom:"auto !important",height:`${(0,y.unit)(ue.calc(oe).div(2).equal())} !important`}})}},fe=function(me,ue){let Me=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!0;const Ze=`.${me}`,Qe=`${Ze}-treenode`,oe=ue.calc(ue.paddingXS).div(2).equal(),Fe=(0,be.mergeToken)(ue,{treeCls:Ze,treeNodeCls:Qe,treeNodePadding:oe});return[Ye(me,Fe),Me&&ye(Fe)].filter(Boolean)},ke=me=>{const{controlHeightSM:ue,controlItemBgHover:Me,controlItemBgActive:Ze}=me,Qe=ue;return{titleHeight:Qe,indentSize:Qe,nodeHoverBg:Me,nodeHoverColor:me.colorText,nodeSelectedBg:Ze,nodeSelectedColor:me.colorText}},Ae=me=>{const{colorTextLightSolid:ue,colorPrimary:Me}=me;return Object.assign(Object.assign({},ke(me)),{directoryNodeSelectedColor:ue,directoryNodeSelectedBg:Me})};var Ce=(0,De.I$)("Tree",(me,ue)=>{let{prefixCls:Me}=ue;return[{[me.componentCls]:(0,xe.C2)(`${Me}-checkbox`,me)},fe(Me,me),(0,je.Z)(me)]},Ae)},85278:function(dn,yt,E){"use strict";E.d(yt,{Z:function(){return ue}});var y=E(59301),xe=E(54476),he={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M840.4 300H183.6c-19.7 0-30.7 20.8-18.5 35l328.4 380.8c9.4 10.9 27.5 10.9 37 0L858.9 335c12.2-14.2 1.2-35-18.5-35z"}}]},name:"caret-down",theme:"filled"},je=he,be=E(7657),De=function(Ze,Qe){return y.createElement(be.Z,(0,xe.Z)({},Ze,{ref:Qe,icon:je}))},ye=y.forwardRef(De),ze=ye,we=E(52671),se=E(58617),Ye=E(15075),fe=E(43531),ke=E(92310),Ae=E.n(ke),Ce=E(22703),ue=Me=>{const{prefixCls:Ze,switcherIcon:Qe,treeNodeProps:oe,showLine:Fe,switcherLoadingIcon:rt}=Me,{isLeaf:Ne,expanded:Ge,loading:ge}=oe;if(ge)return y.isValidElement(rt)?rt:y.createElement(se.Z,{className:`${Ze}-switcher-loading-icon`});let Oe;if(Fe&&typeof Fe=="object"&&(Oe=Fe.showLeafIcon),Ne){if(!Fe)return null;if(typeof Oe!="boolean"&&Oe){const it=typeof Oe=="function"?Oe(oe):Oe,Le=`${Ze}-switcher-line-custom-icon`;return y.isValidElement(it)?(0,Ce.Tm)(it,{className:Ae()(it.props.className||"",Le)}):it}return Oe?y.createElement(we.Z,{className:`${Ze}-switcher-line-icon`}):y.createElement("span",{className:`${Ze}-switcher-leaf-line`})}const Ve=`${Ze}-switcher-icon`,Pe=typeof Qe=="function"?Qe(oe):Qe;return y.isValidElement(Pe)?(0,Ce.Tm)(Pe,{className:Ae()(Pe.props.className||"",Ve)}):Pe!==void 0?Pe:Fe?Ge?y.createElement(Ye.Z,{className:`${Ze}-switcher-line-icon`}):y.createElement(fe.Z,{className:`${Ze}-switcher-line-icon`}):y.createElement(ze,{className:Ve})}},94968:function(dn,yt,E){"use strict";E.d(yt,{default:function(){return Ht}});var y=E(59301),xe=E(94480),he=E(4676),je=E(92310),be=E.n(je),De=E(54476),ye=E(67732),ze=E(83652),we=E(31226),se=E(42403),Ye=E(158),fe=E(20068),ke=E(33885),Ae=E(75931),Ce=E(76190),me=E(75044),ue=E(3202),Me=E(26112),Ze=E(48736),Qe=function(ot,Xt){if(ot&&Xt){var nn=Array.isArray(Xt)?Xt:Xt.split(","),Kt=ot.name||"",nt=ot.type||"",Bt=nt.replace(/\/.*$/,"");return nn.some(function(It){var _t=It.trim();if(/^\*(\/\*)?$/.test(It))return!0;if(_t.charAt(0)==="."){var Ln=Kt.toLowerCase(),zn=_t.toLowerCase(),Vn=[zn];return(zn===".jpg"||zn===".jpeg")&&(Vn=[".jpg",".jpeg"]),Vn.some(function(Or){return Ln.endsWith(Or)})}return/\/\*$/.test(_t)?Bt===_t.replace(/\/.*$/,""):nt===_t?!0:/^\w+$/.test(_t)?((0,Ze.ZP)(!1,"Upload takes an invalidate 'accept' type '".concat(_t,"'.Skip for check.")),!0):!1})}return!0};function oe(ot,Xt){var nn="cannot ".concat(ot.method," ").concat(ot.action," ").concat(Xt.status,"'"),Kt=new Error(nn);return Kt.status=Xt.status,Kt.method=ot.method,Kt.url=ot.action,Kt}function Fe(ot){var Xt=ot.responseText||ot.response;if(!Xt)return Xt;try{return JSON.parse(Xt)}catch(nn){return Xt}}function rt(ot){var Xt=new XMLHttpRequest;ot.onProgress&&Xt.upload&&(Xt.upload.onprogress=function(Bt){Bt.total>0&&(Bt.percent=Bt.loaded/Bt.total*100),ot.onProgress(Bt)});var nn=new FormData;ot.data&&Object.keys(ot.data).forEach(function(nt){var Bt=ot.data[nt];if(Array.isArray(Bt)){Bt.forEach(function(It){nn.append("".concat(nt,"[]"),It)});return}nn.append(nt,Bt)}),ot.file instanceof Blob?nn.append(ot.filename,ot.file,ot.file.name):nn.append(ot.filename,ot.file),Xt.onerror=function(Bt){ot.onError(Bt)},Xt.onload=function(){return Xt.status<200||Xt.status>=300?ot.onError(oe(ot,Xt),Fe(Xt)):ot.onSuccess(Fe(Xt),Xt)},Xt.open(ot.method,ot.action,!0),ot.withCredentials&&"withCredentials"in Xt&&(Xt.withCredentials=!0);var Kt=ot.headers||{};return Kt["X-Requested-With"]!==null&&Xt.setRequestHeader("X-Requested-With","XMLHttpRequest"),Object.keys(Kt).forEach(function(nt){Kt[nt]!==null&&Xt.setRequestHeader(nt,Kt[nt])}),Xt.send(nn),{abort:function(){Xt.abort()}}}var Ne=function(){var ot=(0,ue.Z)((0,me.Z)().mark(function Xt(nn,Kt){var nt,Bt,It,_t,Ln,zn,Vn,Or;return(0,me.Z)().wrap(function(to){for(;;)switch(to.prev=to.next){case 0:zn=function(){return zn=(0,ue.Z)((0,me.Z)().mark(function Er(Nr){return(0,me.Z)().wrap(function(ro){for(;;)switch(ro.prev=ro.next){case 0:return ro.abrupt("return",new Promise(function(oo){Nr.file(function(ao){Kt(ao)?(Nr.fullPath&&!ao.webkitRelativePath&&(Object.defineProperties(ao,{webkitRelativePath:{writable:!0}}),ao.webkitRelativePath=Nr.fullPath.replace(/^\//,""),Object.defineProperties(ao,{webkitRelativePath:{writable:!1}})),oo(ao)):oo(null)})}));case 1:case"end":return ro.stop()}},Er)})),zn.apply(this,arguments)},Ln=function(Er){return zn.apply(this,arguments)},_t=function(){return _t=(0,ue.Z)((0,me.Z)().mark(function Er(Nr){var Yr,ro,oo,ao,Lr;return(0,me.Z)().wrap(function($r){for(;;)switch($r.prev=$r.next){case 0:Yr=Nr.createReader(),ro=[];case 2:return $r.next=5,new Promise(function(Wo){Yr.readEntries(Wo,function(){return Wo([])})});case 5:if(oo=$r.sent,ao=oo.length,ao){$r.next=9;break}return $r.abrupt("break",12);case 9:for(Lr=0;Lr<ao;Lr++)ro.push(oo[Lr]);$r.next=2;break;case 12:return $r.abrupt("return",ro);case 13:case"end":return $r.stop()}},Er)})),_t.apply(this,arguments)},It=function(Er){return _t.apply(this,arguments)},nt=[],Bt=[],nn.forEach(function(mr){return Bt.push(mr.webkitGetAsEntry())}),Vn=function(){var mr=(0,ue.Z)((0,me.Z)().mark(function Er(Nr,Yr){var ro,oo;return(0,me.Z)().wrap(function(Lr){for(;;)switch(Lr.prev=Lr.next){case 0:if(Nr){Lr.next=2;break}return Lr.abrupt("return");case 2:if(Nr.path=Yr||"",!Nr.isFile){Lr.next=10;break}return Lr.next=6,Ln(Nr);case 6:ro=Lr.sent,ro&&nt.push(ro),Lr.next=15;break;case 10:if(!Nr.isDirectory){Lr.next=15;break}return Lr.next=13,It(Nr);case 13:oo=Lr.sent,Bt.push.apply(Bt,(0,xe.Z)(oo));case 15:case"end":return Lr.stop()}},Er)}));return function(Nr,Yr){return mr.apply(this,arguments)}}(),Or=0;case 9:if(!(Or<Bt.length)){to.next=15;break}return to.next=12,Vn(Bt[Or]);case 12:Or++,to.next=9;break;case 15:return to.abrupt("return",nt);case 16:case"end":return to.stop()}},Xt)}));return function(nn,Kt){return ot.apply(this,arguments)}}(),Ge=Ne,ge=+new Date,Oe=0;function Ve(){return"rc-upload-".concat(ge,"-").concat(++Oe)}var Pe=["component","prefixCls","className","classNames","disabled","id","name","style","styles","multiple","accept","capture","children","directory","openFileDialogOnClick","onMouseEnter","onMouseLeave","hasControlInside"],it=function(ot){(0,se.Z)(nn,ot);var Xt=(0,Ye.Z)(nn);function nn(){var Kt;(0,ye.Z)(this,nn);for(var nt=arguments.length,Bt=new Array(nt),It=0;It<nt;It++)Bt[It]=arguments[It];return Kt=Xt.call.apply(Xt,[this].concat(Bt)),(0,fe.Z)((0,we.Z)(Kt),"state",{uid:Ve()}),(0,fe.Z)((0,we.Z)(Kt),"reqs",{}),(0,fe.Z)((0,we.Z)(Kt),"fileInput",void 0),(0,fe.Z)((0,we.Z)(Kt),"_isMounted",void 0),(0,fe.Z)((0,we.Z)(Kt),"onChange",function(_t){var Ln=Kt.props,zn=Ln.accept,Vn=Ln.directory,Or=_t.target.files,Hr=(0,xe.Z)(Or).filter(function(to){return!Vn||Qe(to,zn)});Kt.uploadFiles(Hr),Kt.reset()}),(0,fe.Z)((0,we.Z)(Kt),"onClick",function(_t){var Ln=Kt.fileInput;if(Ln){var zn=_t.target,Vn=Kt.props.onClick;if(zn&&zn.tagName==="BUTTON"){var Or=Ln.parentNode;Or.focus(),zn.blur()}Ln.click(),Vn&&Vn(_t)}}),(0,fe.Z)((0,we.Z)(Kt),"onKeyDown",function(_t){_t.key==="Enter"&&Kt.onClick(_t)}),(0,fe.Z)((0,we.Z)(Kt),"onFileDrop",function(){var _t=(0,ue.Z)((0,me.Z)().mark(function Ln(zn){var Vn,Or,Hr;return(0,me.Z)().wrap(function(mr){for(;;)switch(mr.prev=mr.next){case 0:if(Vn=Kt.props.multiple,zn.preventDefault(),zn.type!=="dragover"){mr.next=4;break}return mr.abrupt("return");case 4:if(!Kt.props.directory){mr.next=11;break}return mr.next=7,Ge(Array.prototype.slice.call(zn.dataTransfer.items),function(Er){return Qe(Er,Kt.props.accept)});case 7:Or=mr.sent,Kt.uploadFiles(Or),mr.next=14;break;case 11:Hr=(0,xe.Z)(zn.dataTransfer.files).filter(function(Er){return Qe(Er,Kt.props.accept)}),Vn===!1&&(Hr=Hr.slice(0,1)),Kt.uploadFiles(Hr);case 14:case"end":return mr.stop()}},Ln)}));return function(Ln){return _t.apply(this,arguments)}}()),(0,fe.Z)((0,we.Z)(Kt),"uploadFiles",function(_t){var Ln=(0,xe.Z)(_t),zn=Ln.map(function(Vn){return Vn.uid=Ve(),Kt.processFile(Vn,Ln)});Promise.all(zn).then(function(Vn){var Or=Kt.props.onBatchStart;Or==null||Or(Vn.map(function(Hr){var to=Hr.origin,mr=Hr.parsedFile;return{file:to,parsedFile:mr}})),Vn.filter(function(Hr){return Hr.parsedFile!==null}).forEach(function(Hr){Kt.post(Hr)})})}),(0,fe.Z)((0,we.Z)(Kt),"processFile",function(){var _t=(0,ue.Z)((0,me.Z)().mark(function Ln(zn,Vn){var Or,Hr,to,mr,Er,Nr,Yr,ro,oo;return(0,me.Z)().wrap(function(Lr){for(;;)switch(Lr.prev=Lr.next){case 0:if(Or=Kt.props.beforeUpload,Hr=zn,!Or){Lr.next=14;break}return Lr.prev=3,Lr.next=6,Or(zn,Vn);case 6:Hr=Lr.sent,Lr.next=12;break;case 9:Lr.prev=9,Lr.t0=Lr.catch(3),Hr=!1;case 12:if(Hr!==!1){Lr.next=14;break}return Lr.abrupt("return",{origin:zn,parsedFile:null,action:null,data:null});case 14:if(to=Kt.props.action,typeof to!="function"){Lr.next=21;break}return Lr.next=18,to(zn);case 18:mr=Lr.sent,Lr.next=22;break;case 21:mr=to;case 22:if(Er=Kt.props.data,typeof Er!="function"){Lr.next=29;break}return Lr.next=26,Er(zn);case 26:Nr=Lr.sent,Lr.next=30;break;case 29:Nr=Er;case 30:return Yr=((0,Ce.Z)(Hr)==="object"||typeof Hr=="string")&&Hr?Hr:zn,Yr instanceof File?ro=Yr:ro=new File([Yr],zn.name,{type:zn.type}),oo=ro,oo.uid=zn.uid,Lr.abrupt("return",{origin:zn,data:Nr,parsedFile:oo,action:mr});case 35:case"end":return Lr.stop()}},Ln,null,[[3,9]])}));return function(Ln,zn){return _t.apply(this,arguments)}}()),(0,fe.Z)((0,we.Z)(Kt),"saveFileInput",function(_t){Kt.fileInput=_t}),Kt}return(0,ze.Z)(nn,[{key:"componentDidMount",value:function(){this._isMounted=!0}},{key:"componentWillUnmount",value:function(){this._isMounted=!1,this.abort()}},{key:"post",value:function(nt){var Bt=this,It=nt.data,_t=nt.origin,Ln=nt.action,zn=nt.parsedFile;if(this._isMounted){var Vn=this.props,Or=Vn.onStart,Hr=Vn.customRequest,to=Vn.name,mr=Vn.headers,Er=Vn.withCredentials,Nr=Vn.method,Yr=_t.uid,ro=Hr||rt,oo={action:Ln,filename:to,data:It,file:zn,headers:mr,withCredentials:Er,method:Nr||"post",onProgress:function(Lr){var eo=Bt.props.onProgress;eo==null||eo(Lr,zn)},onSuccess:function(Lr,eo){var $r=Bt.props.onSuccess;$r==null||$r(Lr,zn,eo),delete Bt.reqs[Yr]},onError:function(Lr,eo){var $r=Bt.props.onError;$r==null||$r(Lr,eo,zn),delete Bt.reqs[Yr]}};Or(_t),this.reqs[Yr]=ro(oo)}}},{key:"reset",value:function(){this.setState({uid:Ve()})}},{key:"abort",value:function(nt){var Bt=this.reqs;if(nt){var It=nt.uid?nt.uid:nt;Bt[It]&&Bt[It].abort&&Bt[It].abort(),delete Bt[It]}else Object.keys(Bt).forEach(function(_t){Bt[_t]&&Bt[_t].abort&&Bt[_t].abort(),delete Bt[_t]})}},{key:"render",value:function(){var nt=this.props,Bt=nt.component,It=nt.prefixCls,_t=nt.className,Ln=nt.classNames,zn=Ln===void 0?{}:Ln,Vn=nt.disabled,Or=nt.id,Hr=nt.name,to=nt.style,mr=nt.styles,Er=mr===void 0?{}:mr,Nr=nt.multiple,Yr=nt.accept,ro=nt.capture,oo=nt.children,ao=nt.directory,Lr=nt.openFileDialogOnClick,eo=nt.onMouseEnter,$r=nt.onMouseLeave,Wo=nt.hasControlInside,Vo=(0,Ae.Z)(nt,Pe),ir=be()((0,fe.Z)((0,fe.Z)((0,fe.Z)({},It,!0),"".concat(It,"-disabled"),Vn),_t,_t)),Ro=ao?{directory:"directory",webkitdirectory:"webkitdirectory"}:{},ei=Vn?{}:{onClick:Lr?this.onClick:function(){},onKeyDown:Lr?this.onKeyDown:function(){},onMouseEnter:eo,onMouseLeave:$r,onDrop:this.onFileDrop,onDragOver:this.onFileDrop,tabIndex:Wo?void 0:"0"};return y.createElement(Bt,(0,De.Z)({},ei,{className:ir,role:Wo?void 0:"button",style:to}),y.createElement("input",(0,De.Z)({},(0,Me.Z)(Vo,{aria:!0,data:!0}),{id:Or,name:Hr,disabled:Vn,type:"file",ref:this.saveFileInput,onClick:function(Zo){return Zo.stopPropagation()},key:this.state.uid,style:(0,ke.Z)({display:"none"},Er.input),className:zn.input,accept:Yr},Ro,{multiple:Nr,onChange:this.onChange},ro!=null?{capture:ro}:{})),oo)}}]),nn}(y.Component),Le=it;function pe(){}var qe=function(ot){(0,se.Z)(nn,ot);var Xt=(0,Ye.Z)(nn);function nn(){var Kt;(0,ye.Z)(this,nn);for(var nt=arguments.length,Bt=new Array(nt),It=0;It<nt;It++)Bt[It]=arguments[It];return Kt=Xt.call.apply(Xt,[this].concat(Bt)),(0,fe.Z)((0,we.Z)(Kt),"uploader",void 0),(0,fe.Z)((0,we.Z)(Kt),"saveUploader",function(_t){Kt.uploader=_t}),Kt}return(0,ze.Z)(nn,[{key:"abort",value:function(nt){this.uploader.abort(nt)}},{key:"render",value:function(){return y.createElement(Le,(0,De.Z)({},this.props,{ref:this.saveUploader}))}}]),nn}(y.Component);(0,fe.Z)(qe,"defaultProps",{component:"span",prefixCls:"rc-upload",data:{},headers:{},name:"file",multipart:!1,onStart:pe,onError:pe,onSuccess:pe,multiple:!1,beforeUpload:null,customRequest:null,withCredentials:!1,openFileDialogOnClick:!0,hasControlInside:!1});var Xe=qe,Ct=Xe,Yt=E(18929),We=E(48755),Be=E(2171),Dt=E(9017),Zt=E(85981),lt=E(63356),Se=E(34961),Re=E(16931),at=E(51636),jt=E(36237),Wt=ot=>{const{componentCls:Xt,iconCls:nn}=ot;return{[`${Xt}-wrapper`]:{[`${Xt}-drag`]:{position:"relative",width:"100%",height:"100%",textAlign:"center",background:ot.colorFillAlter,border:`${(0,jt.unit)(ot.lineWidth)} dashed ${ot.colorBorder}`,borderRadius:ot.borderRadiusLG,cursor:"pointer",transition:`border-color ${ot.motionDurationSlow}`,[Xt]:{padding:ot.padding},[`${Xt}-btn`]:{display:"table",width:"100%",height:"100%",outline:"none",borderRadius:ot.borderRadiusLG,"&:focus-visible":{outline:`${(0,jt.unit)(ot.lineWidthFocus)} solid ${ot.colorPrimaryBorder}`}},[`${Xt}-drag-container`]:{display:"table-cell",verticalAlign:"middle"},[`
&:not(${Xt}-disabled):hover,
&-hover:not(${Xt}-disabled)
`]:{borderColor:ot.colorPrimaryHover},[`p${Xt}-drag-icon`]:{marginBottom:ot.margin,[nn]:{color:ot.colorPrimary,fontSize:ot.uploadThumbnailSize}},[`p${Xt}-text`]:{margin:`0 0 ${(0,jt.unit)(ot.marginXXS)}`,color:ot.colorTextHeading,fontSize:ot.fontSizeLG},[`p${Xt}-hint`]:{color:ot.colorTextDescription,fontSize:ot.fontSize},[`&${Xt}-disabled`]:{[`p${Xt}-drag-icon ${nn},
p${Xt}-text,
p${Xt}-hint
`]:{color:ot.colorTextDisabled}}}}}},$t=ot=>{const{componentCls:Xt,iconCls:nn,fontSize:Kt,lineHeight:nt,calc:Bt}=ot,It=`${Xt}-list-item`,_t=`${It}-actions`,Ln=`${It}-action`;return{[`${Xt}-wrapper`]:{[`${Xt}-list`]:Object.assign(Object.assign({},(0,lt.dF)()),{lineHeight:ot.lineHeight,[It]:{position:"relative",height:Bt(ot.lineHeight).mul(Kt).equal(),marginTop:ot.marginXS,fontSize:Kt,display:"flex",alignItems:"center",transition:`background-color ${ot.motionDurationSlow}`,borderRadius:ot.borderRadiusSM,"&:hover":{backgroundColor:ot.controlItemBgHover},[`${It}-name`]:Object.assign(Object.assign({},lt.vS),{padding:`0 ${(0,jt.unit)(ot.paddingXS)}`,lineHeight:nt,flex:"auto",transition:`all ${ot.motionDurationSlow}`}),[_t]:{whiteSpace:"nowrap",[Ln]:{opacity:0},[nn]:{color:ot.actionsColor,transition:`all ${ot.motionDurationSlow}`},[`
${Ln}:focus-visible,
&.picture ${Ln}
`]:{opacity:1}},[`${Xt}-icon ${nn}`]:{color:ot.colorTextDescription,fontSize:Kt},[`${It}-progress`]:{position:"absolute",bottom:ot.calc(ot.uploadProgressOffset).mul(-1).equal(),width:"100%",paddingInlineStart:Bt(Kt).add(ot.paddingXS).equal(),fontSize:Kt,lineHeight:0,pointerEvents:"none","> div":{margin:0}}},[`${It}:hover ${Ln}`]:{opacity:1},[`${It}-error`]:{color:ot.colorError,[`${It}-name, ${Xt}-icon ${nn}`]:{color:ot.colorError},[_t]:{[`${nn}, ${nn}:hover`]:{color:ot.colorError},[Ln]:{opacity:1}}},[`${Xt}-list-item-container`]:{transition:`opacity ${ot.motionDurationSlow}, height ${ot.motionDurationSlow}`,"&::before":{display:"table",width:0,height:0,content:'""'}}})}}},Rt=E(99495),ne=ot=>{const{componentCls:Xt}=ot,nn=new jt.Keyframes("uploadAnimateInlineIn",{from:{width:0,height:0,padding:0,opacity:0,margin:ot.calc(ot.marginXS).div(-2).equal()}}),Kt=new jt.Keyframes("uploadAnimateInlineOut",{to:{width:0,height:0,padding:0,opacity:0,margin:ot.calc(ot.marginXS).div(-2).equal()}}),nt=`${Xt}-animate-inline`;return[{[`${Xt}-wrapper`]:{[`${nt}-appear, ${nt}-enter, ${nt}-leave`]:{animationDuration:ot.motionDurationSlow,animationTimingFunction:ot.motionEaseInOutCirc,animationFillMode:"forwards"},[`${nt}-appear, ${nt}-enter`]:{animationName:nn},[`${nt}-leave`]:{animationName:Kt}}},{[`${Xt}-wrapper`]:(0,Rt.J$)(ot)},nn,Kt]},te=E(68361);const le=ot=>{const{componentCls:Xt,iconCls:nn,uploadThumbnailSize:Kt,uploadProgressOffset:nt,calc:Bt}=ot,It=`${Xt}-list`,_t=`${It}-item`;return{[`${Xt}-wrapper`]:{[`
${It}${It}-picture,
${It}${It}-picture-card,
${It}${It}-picture-circle
`]:{[_t]:{position:"relative",height:Bt(Kt).add(Bt(ot.lineWidth).mul(2)).add(Bt(ot.paddingXS).mul(2)).equal(),padding:ot.paddingXS,border:`${(0,jt.unit)(ot.lineWidth)} ${ot.lineType} ${ot.colorBorder}`,borderRadius:ot.borderRadiusLG,"&:hover":{background:"transparent"},[`${_t}-thumbnail`]:Object.assign(Object.assign({},lt.vS),{width:Kt,height:Kt,lineHeight:(0,jt.unit)(Bt(Kt).add(ot.paddingSM).equal()),textAlign:"center",flex:"none",[nn]:{fontSize:ot.fontSizeHeading2,color:ot.colorPrimary},img:{display:"block",width:"100%",height:"100%",overflow:"hidden"}}),[`${_t}-progress`]:{bottom:nt,width:`calc(100% - ${(0,jt.unit)(Bt(ot.paddingSM).mul(2).equal())})`,marginTop:0,paddingInlineStart:Bt(Kt).add(ot.paddingXS).equal()}},[`${_t}-error`]:{borderColor:ot.colorError,[`${_t}-thumbnail ${nn}`]:{[`svg path[fill='${te.blue[0]}']`]:{fill:ot.colorErrorBg},[`svg path[fill='${te.blue.primary}']`]:{fill:ot.colorError}}},[`${_t}-uploading`]:{borderStyle:"dashed",[`${_t}-name`]:{marginBottom:nt}}},[`${It}${It}-picture-circle ${_t}`]:{[`&, &::before, ${_t}-thumbnail`]:{borderRadius:"50%"}}}}},ve=ot=>{const{componentCls:Xt,iconCls:nn,fontSizeLG:Kt,colorTextLightSolid:nt,calc:Bt}=ot,It=`${Xt}-list`,_t=`${It}-item`,Ln=ot.uploadPicCardSize;return{[`
${Xt}-wrapper${Xt}-picture-card-wrapper,
${Xt}-wrapper${Xt}-picture-circle-wrapper
`]:Object.assign(Object.assign({},(0,lt.dF)()),{display:"block",[`${Xt}${Xt}-select`]:{width:Ln,height:Ln,textAlign:"center",verticalAlign:"top",backgroundColor:ot.colorFillAlter,border:`${(0,jt.unit)(ot.lineWidth)} dashed ${ot.colorBorder}`,borderRadius:ot.borderRadiusLG,cursor:"pointer",transition:`border-color ${ot.motionDurationSlow}`,[`> ${Xt}`]:{display:"flex",alignItems:"center",justifyContent:"center",height:"100%",textAlign:"center"},[`&:not(${Xt}-disabled):hover`]:{borderColor:ot.colorPrimary}},[`${It}${It}-picture-card, ${It}${It}-picture-circle`]:{display:"flex",flexWrap:"wrap","@supports not (gap: 1px)":{"& > *":{marginBlockEnd:ot.marginXS,marginInlineEnd:ot.marginXS}},"@supports (gap: 1px)":{gap:ot.marginXS},[`${It}-item-container`]:{display:"inline-block",width:Ln,height:Ln,verticalAlign:"top"},"&::after":{display:"none"},"&::before":{display:"none"},[_t]:{height:"100%",margin:0,"&::before":{position:"absolute",zIndex:1,width:`calc(100% - ${(0,jt.unit)(Bt(ot.paddingXS).mul(2).equal())})`,height:`calc(100% - ${(0,jt.unit)(Bt(ot.paddingXS).mul(2).equal())})`,backgroundColor:ot.colorBgMask,opacity:0,transition:`all ${ot.motionDurationSlow}`,content:'" "'}},[`${_t}:hover`]:{[`&::before, ${_t}-actions`]:{opacity:1}},[`${_t}-actions`]:{position:"absolute",insetInlineStart:0,zIndex:10,width:"100%",whiteSpace:"nowrap",textAlign:"center",opacity:0,transition:`all ${ot.motionDurationSlow}`,[`
${nn}-eye,
${nn}-download,
${nn}-delete
`]:{zIndex:10,width:Kt,margin:`0 ${(0,jt.unit)(ot.marginXXS)}`,fontSize:Kt,cursor:"pointer",transition:`all ${ot.motionDurationSlow}`,color:nt,"&:hover":{color:nt},svg:{verticalAlign:"baseline"}}},[`${_t}-thumbnail, ${_t}-thumbnail img`]:{position:"static",display:"block",width:"100%",height:"100%",objectFit:"contain"},[`${_t}-name`]:{display:"none",textAlign:"center"},[`${_t}-file + ${_t}-name`]:{position:"absolute",bottom:ot.margin,display:"block",width:`calc(100% - ${(0,jt.unit)(Bt(ot.paddingXS).mul(2).equal())})`},[`${_t}-uploading`]:{[`&${_t}`]:{backgroundColor:ot.colorFillAlter},[`&::before, ${nn}-eye, ${nn}-download, ${nn}-delete`]:{display:"none"}},[`${_t}-progress`]:{bottom:ot.marginXL,width:`calc(100% - ${(0,jt.unit)(Bt(ot.paddingXS).mul(2).equal())})`,paddingInlineStart:0}}}),[`${Xt}-wrapper${Xt}-picture-circle-wrapper`]:{[`${Xt}${Xt}-select`]:{borderRadius:"50%"}}}};var de=ot=>{const{componentCls:Xt}=ot;return{[`${Xt}-rtl`]:{direction:"rtl"}}};const Ue=ot=>{const{componentCls:Xt,colorTextDisabled:nn}=ot;return{[`${Xt}-wrapper`]:Object.assign(Object.assign({},(0,lt.Wf)(ot)),{[Xt]:{outline:0,"input[type='file']":{cursor:"pointer"}},[`${Xt}-select`]:{display:"inline-block"},[`${Xt}-hidden`]:{display:"none"},[`${Xt}-disabled`]:{color:nn,cursor:"not-allowed"}})}},pt=ot=>({actionsColor:ot.colorTextDescription});var et=(0,Re.I$)("Upload",ot=>{const{fontSizeHeading3:Xt,fontHeight:nn,lineWidth:Kt,controlHeightLG:nt,calc:Bt}=ot,It=(0,at.mergeToken)(ot,{uploadThumbnailSize:Bt(Xt).mul(2).equal(),uploadProgressOffset:Bt(Bt(nn).div(2)).add(Kt).equal(),uploadPicCardSize:Bt(nt).mul(2.55).equal()});return[Ue(It),Wt(It),le(It),ve(It),$t(It),ne(It),de(It),(0,Se.Z)(It)]},pt),tt={icon:function(Xt,nn){return{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M534 352V136H232v752h560V394H576a42 42 0 01-42-42z",fill:nn}},{tag:"path",attrs:{d:"M854.6 288.6L639.4 73.4c-6-6-14.1-9.4-22.6-9.4H192c-17.7 0-32 14.3-32 32v832c0 17.7 14.3 32 32 32h640c17.7 0 32-14.3 32-32V311.3c0-8.5-3.4-16.7-9.4-22.7zM602 137.8L790.2 326H602V137.8zM792 888H232V136h302v216a42 42 0 0042 42h216v494z",fill:Xt}}]}},name:"file",theme:"twotone"},dt=tt,gt=E(7657),St=function(Xt,nn){return y.createElement(gt.Z,(0,De.Z)({},Xt,{ref:nn,icon:dt}))},_e=y.forwardRef(St),st=_e,en=E(58617),Ut={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M779.3 196.6c-94.2-94.2-247.6-94.2-341.7 0l-261 260.8c-1.7 1.7-2.6 4-2.6 6.4s.9 4.7 2.6 6.4l36.9 36.9a9 9 0 0012.7 0l261-260.8c32.4-32.4 75.5-50.2 121.3-50.2s88.9 17.8 121.2 50.2c32.4 32.4 50.2 75.5 50.2 121.2 0 45.8-17.8 88.8-50.2 121.2l-266 265.9-43.1 43.1c-40.3 40.3-105.8 40.3-146.1 0-19.5-19.5-30.2-45.4-30.2-73s10.7-53.5 30.2-73l263.9-263.8c6.7-6.6 15.5-10.3 24.9-10.3h.1c9.4 0 18.1 3.7 24.7 10.3 6.7 6.7 10.3 15.5 10.3 24.9 0 9.3-3.7 18.1-10.3 24.7L372.4 653c-1.7 1.7-2.6 4-2.6 6.4s.9 4.7 2.6 6.4l36.9 36.9a9 9 0 0012.7 0l215.6-215.6c19.9-19.9 30.8-46.3 30.8-74.4s-11-54.6-30.8-74.4c-41.1-41.1-107.9-41-149 0L463 364 224.8 602.1A172.22 172.22 0 00174 724.8c0 46.3 18.1 89.8 50.8 122.5 33.9 33.8 78.3 50.7 122.7 50.7 44.4 0 88.8-16.9 122.6-50.7l309.2-309C824.8 492.7 850 432 850 367.5c.1-64.6-25.1-125.3-70.7-170.9z"}}]},name:"paper-clip",theme:"outlined"},yn=Ut,tn=function(Xt,nn){return y.createElement(gt.Z,(0,De.Z)({},Xt,{ref:nn,icon:yn}))},Vt=y.forwardRef(tn),Qt=Vt,sn={icon:function(Xt,nn){return{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M928 160H96c-17.7 0-32 14.3-32 32v640c0 17.7 14.3 32 32 32h832c17.7 0 32-14.3 32-32V192c0-17.7-14.3-32-32-32zm-40 632H136v-39.9l138.5-164.3 150.1 178L658.1 489 888 761.6V792zm0-129.8L664.2 396.8c-3.2-3.8-9-3.8-12.2 0L424.6 666.4l-144-170.7c-3.2-3.8-9-3.8-12.2 0L136 652.7V232h752v430.2z",fill:Xt}},{tag:"path",attrs:{d:"M424.6 765.8l-150.1-178L136 752.1V792h752v-30.4L658.1 489z",fill:nn}},{tag:"path",attrs:{d:"M136 652.7l132.4-157c3.2-3.8 9-3.8 12.2 0l144 170.7L652 396.8c3.2-3.8 9-3.8 12.2 0L888 662.2V232H136v420.7zM304 280a88 88 0 110 176 88 88 0 010-176z",fill:nn}},{tag:"path",attrs:{d:"M276 368a28 28 0 1056 0 28 28 0 10-56 0z",fill:nn}},{tag:"path",attrs:{d:"M304 456a88 88 0 100-176 88 88 0 000 176zm0-116c15.5 0 28 12.5 28 28s-12.5 28-28 28-28-12.5-28-28 12.5-28 28-28z",fill:Xt}}]}},name:"picture",theme:"twotone"},bt=sn,Lt=function(Xt,nn){return y.createElement(gt.Z,(0,De.Z)({},Xt,{ref:nn,icon:bt}))},un=y.forwardRef(Lt),Cn=un,ut=E(77900),kt=E(2738),wt=E(40192),cn=E(86641),An=E(22703),Kn=E(7939);function rr(ot){return Object.assign(Object.assign({},ot),{lastModified:ot.lastModified,lastModifiedDate:ot.lastModifiedDate,name:ot.name,size:ot.size,type:ot.type,uid:ot.uid,percent:0,originFileObj:ot})}function sr(ot,Xt){const nn=(0,xe.Z)(Xt),Kt=nn.findIndex(nt=>{let{uid:Bt}=nt;return Bt===ot.uid});return Kt===-1?nn.push(ot):nn[Kt]=ot,nn}function kn(ot,Xt){const nn=ot.uid!==void 0?"uid":"name";return Xt.filter(Kt=>Kt[nn]===ot[nn])[0]}function Jn(ot,Xt){const nn=ot.uid!==void 0?"uid":"name",Kt=Xt.filter(nt=>nt[nn]!==ot[nn]);return Kt.length===Xt.length?null:Kt}const zt=function(){const Xt=(arguments.length>0&&arguments[0]!==void 0?arguments[0]:"").split("/"),Kt=Xt[Xt.length-1].split(/#|\?/)[0];return(/\.[^./\\]*$/.exec(Kt)||[""])[0]},mn=ot=>ot.indexOf("image/")===0,an=ot=>{if(ot.type&&!ot.thumbUrl)return mn(ot.type);const Xt=ot.thumbUrl||ot.url||"",nn=zt(Xt);return/^data:image\//.test(Xt)||/(webp|svg|png|gif|jpg|jpeg|jfif|bmp|dpg|ico|heic|heif)$/i.test(nn)?!0:!(/^data:/.test(Xt)||nn)},ln=200;function qt(ot){return new Promise(Xt=>{if(!ot.type||!mn(ot.type)){Xt("");return}const nn=document.createElement("canvas");nn.width=ln,nn.height=ln,nn.style.cssText=`position: fixed; left: 0; top: 0; width: ${ln}px; height: ${ln}px; z-index: 9999; display: none;`,document.body.appendChild(nn);const Kt=nn.getContext("2d"),nt=new Image;if(nt.onload=()=>{const{width:Bt,height:It}=nt;let _t=ln,Ln=ln,zn=0,Vn=0;Bt>It?(Ln=It*(ln/Bt),Vn=-(Ln-_t)/2):(_t=Bt*(ln/It),zn=-(_t-Ln)/2),Kt.drawImage(nt,zn,Vn,_t,Ln);const Or=nn.toDataURL();document.body.removeChild(nn),window.URL.revokeObjectURL(nt.src),Xt(Or)},nt.crossOrigin="anonymous",ot.type.startsWith("image/svg+xml")){const Bt=new FileReader;Bt.onload=()=>{Bt.result&&typeof Bt.result=="string"&&(nt.src=Bt.result)},Bt.readAsDataURL(ot)}else if(ot.type.startsWith("image/gif")){const Bt=new FileReader;Bt.onload=()=>{Bt.result&&Xt(Bt.result)},Bt.readAsDataURL(ot)}else nt.src=window.URL.createObjectURL(ot)})}var xn=E(26227),En=E(41464),_n=E(15277),$n=E(89787),Yn=E(25399),Qn=y.forwardRef((ot,Xt)=>{let{prefixCls:nn,className:Kt,style:nt,locale:Bt,listType:It,file:_t,items:Ln,progress:zn,iconRender:Vn,actionIconRender:Or,itemRender:Hr,isImgUrl:to,showPreviewIcon:mr,showRemoveIcon:Er,showDownloadIcon:Nr,previewIcon:Yr,removeIcon:ro,downloadIcon:oo,extra:ao,onPreview:Lr,onDownload:eo,onClose:$r}=ot;var Wo,Vo;const{status:ir}=_t,[Ro,ei]=y.useState(ir);y.useEffect(()=>{ir!=="removed"&&ei(ir)},[ir]);const[yo,Zo]=y.useState(!1);y.useEffect(()=>{const Hn=setTimeout(()=>{Zo(!0)},300);return()=>{clearTimeout(Hn)}},[]);const vo=Vn(_t);let ui=y.createElement("div",{className:`${nn}-icon`},vo);if(It==="picture"||It==="picture-card"||It==="picture-circle")if(Ro==="uploading"||!_t.thumbUrl&&!_t.url){const Hn=be()(`${nn}-list-item-thumbnail`,{[`${nn}-list-item-file`]:Ro!=="uploading"});ui=y.createElement("div",{className:Hn},vo)}else{const Hn=to!=null&&to(_t)?y.createElement("img",{src:_t.thumbUrl||_t.url,alt:_t.name,className:`${nn}-list-item-image`,crossOrigin:_t.crossOrigin}):vo,or=be()(`${nn}-list-item-thumbnail`,{[`${nn}-list-item-file`]:to&&!to(_t)});ui=y.createElement("a",{className:or,onClick:kr=>Lr(_t,kr),href:_t.url||_t.thumbUrl,target:"_blank",rel:"noopener noreferrer"},Hn)}const yi=be()(`${nn}-list-item`,`${nn}-list-item-${Ro}`),$o=typeof _t.linkProps=="string"?JSON.parse(_t.linkProps):_t.linkProps,pi=(typeof Er=="function"?Er(_t):Er)?Or((typeof ro=="function"?ro(_t):ro)||y.createElement(xn.Z,null),()=>$r(_t),nn,Bt.removeFile,!0):null,ki=(typeof Nr=="function"?Nr(_t):Nr)&&Ro==="done"?Or((typeof oo=="function"?oo(_t):oo)||y.createElement(En.Z,null),()=>eo(_t),nn,Bt.downloadFile):null,Ci=It!=="picture-card"&&It!=="picture-circle"&&y.createElement("span",{key:"download-delete",className:be()(`${nn}-list-item-actions`,{picture:It==="picture"})},ki,pi),Oi=typeof ao=="function"?ao(_t):ao,No=Oi&&y.createElement("span",{className:`${nn}-list-item-extra`},Oi),Je=be()(`${nn}-list-item-name`),hn=_t.url?y.createElement("a",Object.assign({key:"view",target:"_blank",rel:"noopener noreferrer",className:Je,title:_t.name},$o,{href:_t.url,onClick:Hn=>Lr(_t,Hn)}),_t.name,No):y.createElement("span",{key:"view",className:Je,onClick:Hn=>Lr(_t,Hn),title:_t.name},_t.name,No),Mt=(typeof mr=="function"?mr(_t):mr)&&(_t.url||_t.thumbUrl)?y.createElement("a",{href:_t.url||_t.thumbUrl,target:"_blank",rel:"noopener noreferrer",onClick:Hn=>Lr(_t,Hn),title:Bt.previewFile},typeof Yr=="function"?Yr(_t):Yr||y.createElement(_n.Z,null)):null,bn=(It==="picture-card"||It==="picture-circle")&&Ro!=="uploading"&&y.createElement("span",{className:`${nn}-list-item-actions`},Mt,Ro==="done"&&ki,pi),{getPrefixCls:er}=y.useContext(We.E_),Rn=er(),Nn=y.createElement("div",{className:yi},ui,hn,Ci,bn,yo&&y.createElement(ut.default,{motionName:`${Rn}-fade`,visible:Ro==="uploading",motionDeadline:2e3},Hn=>{let{className:or}=Hn;const kr="percent"in _t?y.createElement($n.Z,Object.assign({},zn,{type:"line",percent:_t.percent,"aria-label":_t["aria-label"],"aria-labelledby":_t["aria-labelledby"]})):null;return y.createElement("div",{className:be()(`${nn}-list-item-progress`,or)},kr)})),yr=_t.response&&typeof _t.response=="string"?_t.response:((Wo=_t.error)===null||Wo===void 0?void 0:Wo.statusText)||((Vo=_t.error)===null||Vo===void 0?void 0:Vo.message)||Bt.uploadError,Zn=Ro==="error"?y.createElement(Yn.Z,{title:yr,getPopupContainer:Hn=>Hn.parentNode},Nn):Nn;return y.createElement("div",{className:be()(`${nn}-list-item-container`,Kt),style:nt,ref:Xt},Hr?Hr(Zn,_t,Ln,{download:eo.bind(null,_t),preview:Lr.bind(null,_t),remove:$r.bind(null,_t)}):Zn)});const nr=(ot,Xt)=>{const{listType:nn="text",previewFile:Kt=qt,onPreview:nt,onDownload:Bt,onRemove:It,locale:_t,iconRender:Ln,isImageUrl:zn=an,prefixCls:Vn,items:Or=[],showPreviewIcon:Hr=!0,showRemoveIcon:to=!0,showDownloadIcon:mr=!1,removeIcon:Er,previewIcon:Nr,downloadIcon:Yr,extra:ro,progress:oo={size:[-1,2],showInfo:!1},appendAction:ao,appendActionVisible:Lr=!0,itemRender:eo,disabled:$r}=ot,Wo=(0,wt.Z)(),[Vo,ir]=y.useState(!1),Ro=["picture-card","picture-circle"].includes(nn);y.useEffect(()=>{nn.startsWith("picture")&&(Or||[]).forEach(No=>{!(No.originFileObj instanceof File||No.originFileObj instanceof Blob)||No.thumbUrl!==void 0||(No.thumbUrl="",Kt==null||Kt(No.originFileObj).then(Je=>{No.thumbUrl=Je||"",Wo()}))})},[nn,Or,Kt]),y.useEffect(()=>{ir(!0)},[]);const ei=(No,Je)=>{if(nt)return Je==null||Je.preventDefault(),nt(No)},yo=No=>{typeof Bt=="function"?Bt(No):No.url&&window.open(No.url)},Zo=No=>{It==null||It(No)},vo=No=>{if(Ln)return Ln(No,nn);const Je=No.status==="uploading";if(nn.startsWith("picture")){const hn=nn==="picture"?y.createElement(en.Z,null):_t.uploading,Mt=zn!=null&&zn(No)?y.createElement(Cn,null):y.createElement(st,null);return Je?hn:Mt}return Je?y.createElement(en.Z,null):y.createElement(Qt,null)},ui=(No,Je,hn,Mt,bn)=>{const er={type:"text",size:"small",title:Mt,onClick:Rn=>{var Nn,yr;Je(),y.isValidElement(No)&&((yr=(Nn=No.props).onClick)===null||yr===void 0||yr.call(Nn,Rn))},className:`${hn}-list-item-action`};return bn&&(er.disabled=$r),y.isValidElement(No)?y.createElement(Kn.ZP,Object.assign({},er,{icon:(0,An.Tm)(No,Object.assign(Object.assign({},No.props),{onClick:()=>{}}))})):y.createElement(Kn.ZP,Object.assign({},er),y.createElement("span",null,No))};y.useImperativeHandle(Xt,()=>({handlePreview:ei,handleDownload:yo}));const{getPrefixCls:yi}=y.useContext(We.E_),$o=yi("upload",Vn),pi=yi(),ki=be()(`${$o}-list`,`${$o}-list-${nn}`),Ci=y.useMemo(()=>(0,kt.Z)((0,cn.Z)(pi),["onAppearEnd","onEnterEnd","onLeaveEnd"]),[pi]),Oi=Object.assign(Object.assign({},Ro?{}:Ci),{motionDeadline:2e3,motionName:`${$o}-${Ro?"animate-inline":"animate"}`,keys:(0,xe.Z)(Or.map(No=>({key:No.uid,file:No}))),motionAppear:Vo});return y.createElement("div",{className:ki},y.createElement(ut.CSSMotionList,Object.assign({},Oi,{component:!1}),No=>{let{key:Je,file:hn,className:Mt,style:bn}=No;return y.createElement(Qn,{key:Je,locale:_t,prefixCls:$o,className:Mt,style:bn,file:hn,items:Or,progress:oo,listType:nn,isImgUrl:zn,showPreviewIcon:Hr,showRemoveIcon:to,showDownloadIcon:mr,removeIcon:Er,previewIcon:Nr,downloadIcon:Yr,extra:ro,iconRender:vo,actionIconRender:ui,itemRender:eo,onPreview:ei,onDownload:yo,onClose:Zo})}),ao&&y.createElement(ut.default,Object.assign({},Oi,{visible:Lr,forceRender:!0}),No=>{let{className:Je,style:hn}=No;return(0,An.Tm)(ao,Mt=>({className:be()(Mt.className,Je),style:Object.assign(Object.assign(Object.assign({},hn),{pointerEvents:Je?"none":void 0}),Mt.style)}))}))};var Ir=y.forwardRef(nr),Bn=function(ot,Xt,nn,Kt){function nt(Bt){return Bt instanceof nn?Bt:new nn(function(It){It(Bt)})}return new(nn||(nn=Promise))(function(Bt,It){function _t(Vn){try{zn(Kt.next(Vn))}catch(Or){It(Or)}}function Ln(Vn){try{zn(Kt.throw(Vn))}catch(Or){It(Or)}}function zn(Vn){Vn.done?Bt(Vn.value):nt(Vn.value).then(_t,Ln)}zn((Kt=Kt.apply(ot,Xt||[])).next())})};const Mn=`__LIST_IGNORE_${Date.now()}__`,ur=(ot,Xt)=>{const{fileList:nn,defaultFileList:Kt,onRemove:nt,showUploadList:Bt=!0,listType:It="text",onPreview:_t,onDownload:Ln,onChange:zn,onDrop:Vn,previewFile:Or,disabled:Hr,locale:to,iconRender:mr,isImageUrl:Er,progress:Nr,prefixCls:Yr,className:ro,type:oo="select",children:ao,style:Lr,itemRender:eo,maxCount:$r,data:Wo={},multiple:Vo=!1,hasControlInside:ir=!0,action:Ro="",accept:ei="",supportServerRender:yo=!0,rootClassName:Zo}=ot,vo=y.useContext(Be.Z),ui=Hr!=null?Hr:vo,[yi,$o]=(0,Yt.Z)(Kt||[],{value:nn,postState:Uo=>Uo!=null?Uo:[]}),[pi,ki]=y.useState("drop"),Ci=y.useRef(null),Oi=y.useRef(null);y.useMemo(()=>{const Uo=Date.now();(nn||[]).forEach((Ho,Mi)=>{!Ho.uid&&!Object.isFrozen(Ho)&&(Ho.uid=`__AUTO__${Uo}_${Mi}__`)})},[nn]);const No=(Uo,Ho,Mi)=>{let bi=(0,xe.Z)(Ho),hi=!1;$r===1?bi=bi.slice(-1):$r&&(hi=bi.length>$r,bi=bi.slice(0,$r)),(0,he.flushSync)(()=>{$o(bi)});const _o={file:Uo,fileList:bi};Mi&&(_o.event=Mi),(!hi||Uo.status==="removed"||bi.some(Ma=>Ma.uid===Uo.uid))&&(0,he.flushSync)(()=>{zn==null||zn(_o)})},Je=(Uo,Ho)=>Bn(void 0,void 0,void 0,function*(){const{beforeUpload:Mi,transformFile:bi}=ot;let hi=Uo;if(Mi){const _o=yield Mi(Uo,Ho);if(_o===!1)return!1;if(delete Uo[Mn],_o===Mn)return Object.defineProperty(Uo,Mn,{value:!0,configurable:!0}),!1;typeof _o=="object"&&_o&&(hi=_o)}return bi&&(hi=yield bi(hi)),hi}),hn=Uo=>{const Ho=Uo.filter(hi=>!hi.file[Mn]);if(!Ho.length)return;const Mi=Ho.map(hi=>rr(hi.file));let bi=(0,xe.Z)(yi);Mi.forEach(hi=>{bi=sr(hi,bi)}),Mi.forEach((hi,_o)=>{let Ma=hi;if(Ho[_o].parsedFile)hi.status="uploading";else{const{originFileObj:Ha}=hi;let Aa;try{Aa=new File([Ha],Ha.name,{type:Ha.type})}catch(ra){Aa=new Blob([Ha],{type:Ha.type}),Aa.name=Ha.name,Aa.lastModifiedDate=new Date,Aa.lastModified=new Date().getTime()}Aa.uid=hi.uid,Ma=Aa}No(Ma,bi)})},Mt=(Uo,Ho,Mi)=>{try{typeof Uo=="string"&&(Uo=JSON.parse(Uo))}catch(_o){}if(!kn(Ho,yi))return;const bi=rr(Ho);bi.status="done",bi.percent=100,bi.response=Uo,bi.xhr=Mi;const hi=sr(bi,yi);No(bi,hi)},bn=(Uo,Ho)=>{if(!kn(Ho,yi))return;const Mi=rr(Ho);Mi.status="uploading",Mi.percent=Uo.percent;const bi=sr(Mi,yi);No(Mi,bi,Uo)},er=(Uo,Ho,Mi)=>{if(!kn(Mi,yi))return;const bi=rr(Mi);bi.error=Uo,bi.response=Ho,bi.status="error";const hi=sr(bi,yi);No(bi,hi)},Rn=Uo=>{let Ho;Promise.resolve(typeof nt=="function"?nt(Uo):nt).then(Mi=>{var bi;if(Mi===!1)return;const hi=Jn(Uo,yi);hi&&(Ho=Object.assign(Object.assign({},Uo),{status:"removed"}),yi==null||yi.forEach(_o=>{const Ma=Ho.uid!==void 0?"uid":"name";_o[Ma]===Ho[Ma]&&!Object.isFrozen(_o)&&(_o.status="removed")}),(bi=Ci.current)===null||bi===void 0||bi.abort(Ho),No(Ho,hi))})},Nn=Uo=>{ki(Uo.type),Uo.type==="drop"&&(Vn==null||Vn(Uo))};y.useImperativeHandle(Xt,()=>({onBatchStart:hn,onSuccess:Mt,onProgress:bn,onError:er,fileList:yi,upload:Ci.current,nativeElement:Oi.current}));const{getPrefixCls:yr,direction:Zn,upload:Hn}=y.useContext(We.E_),or=yr("upload",Yr),kr=Object.assign(Object.assign({onBatchStart:hn,onError:er,onProgress:bn,onSuccess:Mt},ot),{data:Wo,multiple:Vo,action:Ro,accept:ei,supportServerRender:yo,prefixCls:or,disabled:ui,beforeUpload:Je,onChange:void 0,hasControlInside:ir});delete kr.className,delete kr.style,(!ao||ui)&&delete kr.id;const wo=`${or}-wrapper`,[ci,ii,oi]=et(or,wo),[vi]=(0,Dt.Z)("Upload",Zt.Z.Upload),{showRemoveIcon:mi,showPreviewIcon:Li,showDownloadIcon:Bi,removeIcon:Ti,previewIcon:Ki,downloadIcon:sa,extra:fa}=typeof Bt=="boolean"?{}:Bt,wa=typeof mi=="undefined"?!ui:mi,ha=(Uo,Ho)=>Bt?y.createElement(Ir,{prefixCls:or,listType:It,items:yi,previewFile:Or,onPreview:_t,onDownload:Ln,onRemove:Rn,showRemoveIcon:wa,showPreviewIcon:Li,showDownloadIcon:Bi,removeIcon:Ti,previewIcon:Ki,downloadIcon:sa,iconRender:mr,extra:fa,locale:Object.assign(Object.assign({},vi),to),isImageUrl:Er,progress:Nr,appendAction:Uo,appendActionVisible:Ho,itemRender:eo,disabled:ui}):Uo,Ao=be()(wo,ro,Zo,ii,oi,Hn==null?void 0:Hn.className,{[`${or}-rtl`]:Zn==="rtl",[`${or}-picture-card-wrapper`]:It==="picture-card",[`${or}-picture-circle-wrapper`]:It==="picture-circle"}),Do=Object.assign(Object.assign({},Hn==null?void 0:Hn.style),Lr);if(oo==="drag"){const Uo=be()(ii,or,`${or}-drag`,{[`${or}-drag-uploading`]:yi.some(Ho=>Ho.status==="uploading"),[`${or}-drag-hover`]:pi==="dragover",[`${or}-disabled`]:ui,[`${or}-rtl`]:Zn==="rtl"});return ci(y.createElement("span",{className:Ao,ref:Oi},y.createElement("div",{className:Uo,style:Do,onDrop:Nn,onDragOver:Nn,onDragLeave:Nn},y.createElement(Ct,Object.assign({},kr,{ref:Ci,className:`${or}-btn`}),y.createElement("div",{className:`${or}-drag-container`},ao))),ha()))}const Co=be()(or,`${or}-select`,{[`${or}-disabled`]:ui,[`${or}-hidden`]:!ao}),Ji=y.createElement("div",{className:Co},y.createElement(Ct,Object.assign({},kr,{ref:Ci})));return ci(It==="picture-card"||It==="picture-circle"?y.createElement("span",{className:Ao,ref:Oi},ha(Ji,!!ao)):y.createElement("span",{className:Ao,ref:Oi},Ji,ha()))};var Ot=y.forwardRef(ur),Jt=function(ot,Xt){var nn={};for(var Kt in ot)Object.prototype.hasOwnProperty.call(ot,Kt)&&Xt.indexOf(Kt)<0&&(nn[Kt]=ot[Kt]);if(ot!=null&&typeof Object.getOwnPropertySymbols=="function")for(var nt=0,Kt=Object.getOwnPropertySymbols(ot);nt<Kt.length;nt++)Xt.indexOf(Kt[nt])<0&&Object.prototype.propertyIsEnumerable.call(ot,Kt[nt])&&(nn[Kt[nt]]=ot[Kt[nt]]);return nn},Tt=y.forwardRef((ot,Xt)=>{var{style:nn,height:Kt,hasControlInside:nt=!1}=ot,Bt=Jt(ot,["style","height","hasControlInside"]);return y.createElement(Ot,Object.assign({ref:Xt,hasControlInside:nt},Bt,{type:"drag",style:Object.assign(Object.assign({},nn),{height:Kt})}))});const Et=Ot;Et.Dragger=Tt,Et.LIST_IGNORE=Mn;var Ht=Et},14625:function(dn){function yt(y){var xe,he,je="";if(typeof y=="string"||typeof y=="number")je+=y;else if(typeof y=="object")if(Array.isArray(y)){var be=y.length;for(xe=0;xe<be;xe++)y[xe]&&(he=yt(y[xe]))&&(je&&(je+=" "),je+=he)}else for(he in y)y[he]&&(je&&(je+=" "),je+=he);return je}function E(){for(var y,xe,he=0,je="",be=arguments.length;he<be;he++)(y=arguments[he])&&(xe=yt(y))&&(je&&(je+=" "),je+=xe);return je}dn.exports=E,dn.exports.clsx=E},99498:function(dn,yt,E){(function(y){y(E(89780))})(function(y){y.defineOption("placeholder","",function(ze,we,se){var Ye=se&&se!=y.Init;if(we&&!Ye)ze.on("blur",be),ze.on("change",De),ze.on("swapDoc",De),y.on(ze.getInputField(),"compositionupdate",ze.state.placeholderCompose=function(){je(ze)}),De(ze);else if(!we&&Ye){ze.off("blur",be),ze.off("change",De),ze.off("swapDoc",De),y.off(ze.getInputField(),"compositionupdate",ze.state.placeholderCompose),xe(ze);var fe=ze.getWrapperElement();fe.className=fe.className.replace(" CodeMirror-empty","")}we&&!ze.hasFocus()&&be(ze)});function xe(ze){ze.state.placeholder&&(ze.state.placeholder.parentNode.removeChild(ze.state.placeholder),ze.state.placeholder=null)}function he(ze){xe(ze);var we=ze.state.placeholder=document.createElement("pre");we.style.cssText="height: 0; overflow: visible",we.style.direction=ze.getOption("direction"),we.className="CodeMirror-placeholder CodeMirror-line-like";var se=ze.getOption("placeholder");typeof se=="string"&&(se=document.createTextNode(se)),we.appendChild(se),ze.display.lineSpace.insertBefore(we,ze.display.lineSpace.firstChild)}function je(ze){setTimeout(function(){var we=!1,se=ze.getInputField();se.nodeName=="TEXTAREA"?we=!se.value:ze.lineCount()==1&&(we=!/[^\u200b]/.test(se.querySelector(".CodeMirror-line").textContent)),we?he(ze):xe(ze)},20)}function be(ze){ye(ze)&&he(ze)}function De(ze){var we=ze.getWrapperElement(),se=ye(ze);we.className=we.className.replace(" CodeMirror-empty","")+(se?" CodeMirror-empty":""),se?he(ze):xe(ze)}function ye(ze){return ze.lineCount()===1&&ze.getLine(0)===""}})},25717:function(dn,yt,E){(function(y){y(E(89780))})(function(y){var xe={pairs:`()[]{}''""`,closeBefore:`)]}'":;>`,triples:"",explode:"[]{}"},he=y.Pos;y.defineOption("autoCloseBrackets",!1,function(Ce,me,ue){ue&&ue!=y.Init&&(Ce.removeKeyMap(be),Ce.state.closeBrackets=null),me&&(De(je(me,"pairs")),Ce.state.closeBrackets=me,Ce.addKeyMap(be))});function je(Ce,me){return me=="pairs"&&typeof Ce=="string"?Ce:typeof Ce=="object"&&Ce[me]!=null?Ce[me]:xe[me]}var be={Backspace:we,Enter:se};function De(Ce){for(var me=0;me<Ce.length;me++){var ue=Ce.charAt(me),Me="'"+ue+"'";be[Me]||(be[Me]=ye(ue))}}De(xe.pairs+"`");function ye(Ce){return function(me){return fe(me,Ce)}}function ze(Ce){var me=Ce.state.closeBrackets;if(!me||me.override)return me;var ue=Ce.getModeAt(Ce.getCursor());return ue.closeBrackets||me}function we(Ce){var me=ze(Ce);if(!me||Ce.getOption("disableInput"))return y.Pass;for(var ue=je(me,"pairs"),Me=Ce.listSelections(),Ze=0;Ze<Me.length;Ze++){if(!Me[Ze].empty())return y.Pass;var Qe=ke(Ce,Me[Ze].head);if(!Qe||ue.indexOf(Qe)%2!=0)return y.Pass}for(var Ze=Me.length-1;Ze>=0;Ze--){var oe=Me[Ze].head;Ce.replaceRange("",he(oe.line,oe.ch-1),he(oe.line,oe.ch+1),"+delete")}}function se(Ce){var me=ze(Ce),ue=me&&je(me,"explode");if(!ue||Ce.getOption("disableInput"))return y.Pass;for(var Me=Ce.listSelections(),Ze=0;Ze<Me.length;Ze++){if(!Me[Ze].empty())return y.Pass;var Qe=ke(Ce,Me[Ze].head);if(!Qe||ue.indexOf(Qe)%2!=0)return y.Pass}Ce.operation(function(){var oe=Ce.lineSeparator()||`
`;Ce.replaceSelection(oe+oe,null),Ce.execCommand("goCharLeft"),Me=Ce.listSelections();for(var Fe=0;Fe<Me.length;Fe++){var rt=Me[Fe].head.line;Ce.indentLine(rt,null,!0),Ce.indentLine(rt+1,null,!0)}})}function Ye(Ce){var me=y.cmpPos(Ce.anchor,Ce.head)>0;return{anchor:new he(Ce.anchor.line,Ce.anchor.ch+(me?-1:1)),head:new he(Ce.head.line,Ce.head.ch+(me?1:-1))}}function fe(Ce,me){var ue=ze(Ce);if(!ue||Ce.getOption("disableInput"))return y.Pass;var Me=je(ue,"pairs"),Ze=Me.indexOf(me);if(Ze==-1)return y.Pass;for(var Qe=je(ue,"closeBefore"),oe=je(ue,"triples"),Fe=Me.charAt(Ze+1)==me,rt=Ce.listSelections(),Ne=Ze%2==0,Ge,ge=0;ge<rt.length;ge++){var Oe=rt[ge],Ve=Oe.head,Pe,it=Ce.getRange(Ve,he(Ve.line,Ve.ch+1));if(Ne&&!Oe.empty())Pe="surround";else if((Fe||!Ne)&&it==me)Fe&&Ae(Ce,Ve)?Pe="both":oe.indexOf(me)>=0&&Ce.getRange(Ve,he(Ve.line,Ve.ch+3))==me+me+me?Pe="skipThree":Pe="skip";else if(Fe&&Ve.ch>1&&oe.indexOf(me)>=0&&Ce.getRange(he(Ve.line,Ve.ch-2),Ve)==me+me){if(Ve.ch>2&&/\bstring/.test(Ce.getTokenTypeAt(he(Ve.line,Ve.ch-2))))return y.Pass;Pe="addFour"}else if(Fe){var Le=Ve.ch==0?" ":Ce.getRange(he(Ve.line,Ve.ch-1),Ve);if(!y.isWordChar(it)&&Le!=me&&!y.isWordChar(Le))Pe="both";else return y.Pass}else if(Ne&&(it.length===0||/\s/.test(it)||Qe.indexOf(it)>-1))Pe="both";else return y.Pass;if(!Ge)Ge=Pe;else if(Ge!=Pe)return y.Pass}var pe=Ze%2?Me.charAt(Ze-1):me,qe=Ze%2?me:Me.charAt(Ze+1);Ce.operation(function(){if(Ge=="skip")Ce.execCommand("goCharRight");else if(Ge=="skipThree")for(var Xe=0;Xe<3;Xe++)Ce.execCommand("goCharRight");else if(Ge=="surround"){for(var Ct=Ce.getSelections(),Xe=0;Xe<Ct.length;Xe++)Ct[Xe]=pe+Ct[Xe]+qe;Ce.replaceSelections(Ct,"around"),Ct=Ce.listSelections().slice();for(var Xe=0;Xe<Ct.length;Xe++)Ct[Xe]=Ye(Ct[Xe]);Ce.setSelections(Ct)}else Ge=="both"?(Ce.replaceSelection(pe+qe,null),Ce.triggerElectric(pe+qe),Ce.execCommand("goCharLeft")):Ge=="addFour"&&(Ce.replaceSelection(pe+pe+pe+pe,"before"),Ce.execCommand("goCharRight"))})}function ke(Ce,me){var ue=Ce.getRange(he(me.line,me.ch-1),he(me.line,me.ch+1));return ue.length==2?ue:null}function Ae(Ce,me){var ue=Ce.getTokenAt(he(me.line,me.ch+1));return/\bstring/.test(ue.type)&&ue.start==me.ch&&(me.ch==0||!/\bstring/.test(Ce.getTokenTypeAt(me)))}})},6313:function(dn,yt,E){(function(y){y(E(89780),E(32855))})(function(y){y.defineOption("autoCloseTags",!1,function(we,se,Ye){if(Ye!=y.Init&&Ye&&we.removeKeyMap("autoCloseTags"),!!se){var fe={name:"autoCloseTags"};(typeof se!="object"||se.whenClosing!==!1)&&(fe["'/'"]=function(ke){return De(ke)}),(typeof se!="object"||se.whenOpening!==!1)&&(fe["'>'"]=function(ke){return je(ke)}),we.addKeyMap(fe)}});var xe=["area","base","br","col","command","embed","hr","img","input","keygen","link","meta","param","source","track","wbr"],he=["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 je(we){if(we.getOption("disableInput"))return y.Pass;for(var se=we.listSelections(),Ye=[],fe=we.getOption("autoCloseTags"),ke=0;ke<se.length;ke++){if(!se[ke].empty())return y.Pass;var Ae=se[ke].head,Ce=we.getTokenAt(Ae),me=y.innerMode(we.getMode(),Ce.state),ue=me.state,Me=me.mode.xmlCurrentTag&&me.mode.xmlCurrentTag(ue),Ze=Me&&Me.name;if(!Ze)return y.Pass;var Qe=me.mode.configuration=="html",oe=typeof fe=="object"&&fe.dontCloseTags||Qe&&xe,Fe=typeof fe=="object"&&fe.indentTags||Qe&&he;Ce.end>Ae.ch&&(Ze=Ze.slice(0,Ze.length-Ce.end+Ae.ch));var rt=Ze.toLowerCase();if(!Ze||Ce.type=="string"&&(Ce.end!=Ae.ch||!/[\"\']/.test(Ce.string.charAt(Ce.string.length-1))||Ce.string.length==1)||Ce.type=="tag"&&Me.close||Ce.string.indexOf("/")==Ae.ch-Ce.start-1||oe&&ye(oe,rt)>-1||ze(we,me.mode.xmlCurrentContext&&me.mode.xmlCurrentContext(ue)||[],Ze,Ae,!0))return y.Pass;var Ne=typeof fe=="object"&&fe.emptyTags;if(Ne&&ye(Ne,Ze)>-1){Ye[ke]={text:"/>",newPos:y.Pos(Ae.line,Ae.ch+2)};continue}var Ge=Fe&&ye(Fe,rt)>-1;Ye[ke]={indent:Ge,text:">"+(Ge?`
`:"")+"</"+Ze+">",newPos:Ge?y.Pos(Ae.line+1,0):y.Pos(Ae.line,Ae.ch+1)}}for(var ge=typeof fe=="object"&&fe.dontIndentOnAutoClose,ke=se.length-1;ke>=0;ke--){var Oe=Ye[ke];we.replaceRange(Oe.text,se[ke].head,se[ke].anchor,"+insert");var Ve=we.listSelections().slice(0);Ve[ke]={head:Oe.newPos,anchor:Oe.newPos},we.setSelections(Ve),!ge&&Oe.indent&&(we.indentLine(Oe.newPos.line,null,!0),we.indentLine(Oe.newPos.line+1,null,!0))}}function be(we,se){for(var Ye=we.listSelections(),fe=[],ke=se?"/":"</",Ae=we.getOption("autoCloseTags"),Ce=typeof Ae=="object"&&Ae.dontIndentOnSlash,me=0;me<Ye.length;me++){if(!Ye[me].empty())return y.Pass;var ue=Ye[me].head,Me=we.getTokenAt(ue),Ze=y.innerMode(we.getMode(),Me.state),Qe=Ze.state;if(se&&(Me.type=="string"||Me.string.charAt(0)!="<"||Me.start!=ue.ch-1))return y.Pass;var oe,Fe=Ze.mode.name!="xml"&&we.getMode().name=="htmlmixed";if(Fe&&Ze.mode.name=="javascript")oe=ke+"script";else if(Fe&&Ze.mode.name=="css")oe=ke+"style";else{var rt=Ze.mode.xmlCurrentContext&&Ze.mode.xmlCurrentContext(Qe);if(!rt||rt.length&&ze(we,rt,rt[rt.length-1],ue))return y.Pass;oe=ke+rt[rt.length-1]}we.getLine(ue.line).charAt(Me.end)!=">"&&(oe+=">"),fe[me]=oe}if(we.replaceSelections(fe),Ye=we.listSelections(),!Ce)for(var me=0;me<Ye.length;me++)(me==Ye.length-1||Ye[me].head.line<Ye[me+1].head.line)&&we.indentLine(Ye[me].head.line)}function De(we){return we.getOption("disableInput")?y.Pass:be(we,!0)}y.commands.closeTag=function(we){return be(we)};function ye(we,se){if(we.indexOf)return we.indexOf(se);for(var Ye=0,fe=we.length;Ye<fe;++Ye)if(we[Ye]==se)return Ye;return-1}function ze(we,se,Ye,fe,ke){if(!y.scanForClosingTag)return!1;var Ae=Math.min(we.lastLine()+1,fe.line+500),Ce=y.scanForClosingTag(we,fe,null,Ae);if(!Ce||Ce.tag!=Ye)return!1;for(var me=ke?1:0,ue=se.length-1;ue>=0&&se[ue]==Ye;ue--)++me;fe=Ce.to;for(var ue=1;ue<me;ue++){var Me=y.scanForClosingTag(we,fe,null,Ae);if(!Me||Me.tag!=Ye)return!1;fe=Me.to}return!0}})},32855:function(dn,yt,E){(function(y){y(E(89780))})(function(y){"use strict";var xe=y.Pos;function he(ue,Me){return ue.line-Me.line||ue.ch-Me.ch}var je="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",be=je+"-:.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040",De=new RegExp("<(/?)(["+je+"]["+be+"]*)","g");function ye(ue,Me,Ze,Qe){this.line=Me,this.ch=Ze,this.cm=ue,this.text=ue.getLine(Me),this.min=Qe?Math.max(Qe.from,ue.firstLine()):ue.firstLine(),this.max=Qe?Math.min(Qe.to-1,ue.lastLine()):ue.lastLine()}function ze(ue,Me){var Ze=ue.cm.getTokenTypeAt(xe(ue.line,Me));return Ze&&/\btag\b/.test(Ze)}function we(ue){if(!(ue.line>=ue.max))return ue.ch=0,ue.text=ue.cm.getLine(++ue.line),!0}function se(ue){if(!(ue.line<=ue.min))return ue.text=ue.cm.getLine(--ue.line),ue.ch=ue.text.length,!0}function Ye(ue){for(;;){var Me=ue.text.indexOf(">",ue.ch);if(Me==-1){if(we(ue))continue;return}if(!ze(ue,Me+1)){ue.ch=Me+1;continue}var Ze=ue.text.lastIndexOf("/",Me),Qe=Ze>-1&&!/\S/.test(ue.text.slice(Ze+1,Me));return ue.ch=Me+1,Qe?"selfClose":"regular"}}function fe(ue){for(;;){var Me=ue.ch?ue.text.lastIndexOf("<",ue.ch-1):-1;if(Me==-1){if(se(ue))continue;return}if(!ze(ue,Me+1)){ue.ch=Me;continue}De.lastIndex=Me,ue.ch=Me;var Ze=De.exec(ue.text);if(Ze&&Ze.index==Me)return Ze}}function ke(ue){for(;;){De.lastIndex=ue.ch;var Me=De.exec(ue.text);if(!Me){if(we(ue))continue;return}if(!ze(ue,Me.index+1)){ue.ch=Me.index+1;continue}return ue.ch=Me.index+Me[0].length,Me}}function Ae(ue){for(;;){var Me=ue.ch?ue.text.lastIndexOf(">",ue.ch-1):-1;if(Me==-1){if(se(ue))continue;return}if(!ze(ue,Me+1)){ue.ch=Me;continue}var Ze=ue.text.lastIndexOf("/",Me),Qe=Ze>-1&&!/\S/.test(ue.text.slice(Ze+1,Me));return ue.ch=Me+1,Qe?"selfClose":"regular"}}function Ce(ue,Me){for(var Ze=[];;){var Qe=ke(ue),oe,Fe=ue.line,rt=ue.ch-(Qe?Qe[0].length:0);if(!Qe||!(oe=Ye(ue)))return;if(oe!="selfClose")if(Qe[1]){for(var Ne=Ze.length-1;Ne>=0;--Ne)if(Ze[Ne]==Qe[2]){Ze.length=Ne;break}if(Ne<0&&(!Me||Me==Qe[2]))return{tag:Qe[2],from:xe(Fe,rt),to:xe(ue.line,ue.ch)}}else Ze.push(Qe[2])}}function me(ue,Me){for(var Ze=[];;){var Qe=Ae(ue);if(!Qe)return;if(Qe=="selfClose"){fe(ue);continue}var oe=ue.line,Fe=ue.ch,rt=fe(ue);if(!rt)return;if(rt[1])Ze.push(rt[2]);else{for(var Ne=Ze.length-1;Ne>=0;--Ne)if(Ze[Ne]==rt[2]){Ze.length=Ne;break}if(Ne<0&&(!Me||Me==rt[2]))return{tag:rt[2],from:xe(ue.line,ue.ch),to:xe(oe,Fe)}}}}y.registerHelper("fold","xml",function(ue,Me){for(var Ze=new ye(ue,Me.line,0);;){var Qe=ke(Ze);if(!Qe||Ze.line!=Me.line)return;var oe=Ye(Ze);if(!oe)return;if(!Qe[1]&&oe!="selfClose"){var Fe=xe(Ze.line,Ze.ch),rt=Ce(Ze,Qe[2]);return rt&&he(rt.from,Fe)>0?{from:Fe,to:rt.from}:null}}}),y.findMatchingTag=function(ue,Me,Ze){var Qe=new ye(ue,Me.line,Me.ch,Ze);if(!(Qe.text.indexOf(">")==-1&&Qe.text.indexOf("<")==-1)){var oe=Ye(Qe),Fe=oe&&xe(Qe.line,Qe.ch),rt=oe&&fe(Qe);if(!(!oe||!rt||he(Qe,Me)>0)){var Ne={from:xe(Qe.line,Qe.ch),to:Fe,tag:rt[2]};return oe=="selfClose"?{open:Ne,close:null,at:"open"}:rt[1]?{open:me(Qe,rt[2]),close:Ne,at:"close"}:(Qe=new ye(ue,Fe.line,Fe.ch,Ze),{open:Ne,close:Ce(Qe,rt[2]),at:"open"})}}},y.findEnclosingTag=function(ue,Me,Ze,Qe){for(var oe=new ye(ue,Me.line,Me.ch,Ze);;){var Fe=me(oe,Qe);if(!Fe)break;var rt=new ye(ue,Me.line,Me.ch,Ze),Ne=Ce(rt,Fe.tag);if(Ne)return{open:Fe,close:Ne}}},y.scanForClosingTag=function(ue,Me,Ze,Qe){var oe=new ye(ue,Me.line,Me.ch,Qe?{from:0,to:Qe}:null);return Ce(oe,Ze)}})},89780:function(dn){(function(yt,E){dn.exports=E()})(this,function(){"use strict";var yt=navigator.userAgent,E=navigator.platform,y=/gecko\/\d/i.test(yt),xe=/MSIE \d/.test(yt),he=/Trident\/(?:[7-9]|\d{2,})\..*rv:(\d+)/.exec(yt),je=/Edge\/(\d+)/.exec(yt),be=xe||he||je,De=be&&(xe?document.documentMode||6:+(je||he)[1]),ye=!je&&/WebKit\//.test(yt),ze=ye&&/Qt\/\d+\.\d+/.test(yt),we=!je&&/Chrome\//.test(yt),se=/Opera\//.test(yt),Ye=/Apple Computer/.test(navigator.vendor),fe=/Mac OS X 1\d\D([8-9]|\d\d)\D/.test(yt),ke=/PhantomJS/.test(yt),Ae=!je&&/AppleWebKit/.test(yt)&&/Mobile\/\w+/.test(yt),Ce=/Android/.test(yt),me=Ae||Ce||/webOS|BlackBerry|Opera Mini|Opera Mobi|IEMobile/i.test(yt),ue=Ae||/Mac/.test(E),Me=/\bCrOS\b/.test(yt),Ze=/win/i.test(E),Qe=se&&yt.match(/Version\/(\d*\.\d*)/);Qe&&(Qe=Number(Qe[1])),Qe&&Qe>=15&&(se=!1,ye=!0);var oe=ue&&(ze||se&&(Qe==null||Qe<12.11)),Fe=y||be&&De>=9;function rt(a){return new RegExp("(^|\\s)"+a+"(?:$|\\s)\\s*")}var Ne=function(a,b){var z=a.className,x=rt(b).exec(z);if(x){var ee=z.slice(x.index+x[0].length);a.className=z.slice(0,x.index)+(ee?x[1]+ee:"")}};function Ge(a){for(var b=a.childNodes.length;b>0;--b)a.removeChild(a.firstChild);return a}function ge(a,b){return Ge(a).appendChild(b)}function Oe(a,b,z,x){var ee=document.createElement(a);if(z&&(ee.className=z),x&&(ee.style.cssText=x),typeof b=="string")ee.appendChild(document.createTextNode(b));else if(b)for(var ie=0;ie<b.length;++ie)ee.appendChild(b[ie]);return ee}function Ve(a,b,z,x){var ee=Oe(a,b,z,x);return ee.setAttribute("role","presentation"),ee}var Pe;document.createRange?Pe=function(a,b,z,x){var ee=document.createRange();return ee.setEnd(x||a,z),ee.setStart(a,b),ee}:Pe=function(a,b,z){var x=document.body.createTextRange();try{x.moveToElementText(a.parentNode)}catch(ee){return x}return x.collapse(!0),x.moveEnd("character",z),x.moveStart("character",b),x};function it(a,b){if(b.nodeType==3&&(b=b.parentNode),a.contains)return a.contains(b);do if(b.nodeType==11&&(b=b.host),b==a)return!0;while(b=b.parentNode)}function Le(){var a;try{a=document.activeElement}catch(b){a=document.body||null}for(;a&&a.shadowRoot&&a.shadowRoot.activeElement;)a=a.shadowRoot.activeElement;return a}function pe(a,b){var z=a.className;rt(b).test(z)||(a.className+=(z?" ":"")+b)}function qe(a,b){for(var z=a.split(" "),x=0;x<z.length;x++)z[x]&&!rt(z[x]).test(b)&&(b+=" "+z[x]);return b}var Xe=function(a){a.select()};Ae?Xe=function(a){a.selectionStart=0,a.selectionEnd=a.value.length}:be&&(Xe=function(a){try{a.select()}catch(b){}});function Ct(a){var b=Array.prototype.slice.call(arguments,1);return function(){return a.apply(null,b)}}function Yt(a,b,z){b||(b={});for(var x in a)a.hasOwnProperty(x)&&(z!==!1||!b.hasOwnProperty(x))&&(b[x]=a[x]);return b}function We(a,b,z,x,ee){b==null&&(b=a.search(/[^\s\u00a0]/),b==-1&&(b=a.length));for(var ie=x||0,Ee=ee||0;;){var Ke=a.indexOf(" ",ie);if(Ke<0||Ke>=b)return Ee+(b-ie);Ee+=Ke-ie,Ee+=z-Ee%z,ie=Ke+1}}var Be=function(){this.id=null,this.f=null,this.time=0,this.handler=Ct(this.onTimeout,this)};Be.prototype.onTimeout=function(a){a.id=0,a.time<=+new Date?a.f():setTimeout(a.handler,a.time-+new Date)},Be.prototype.set=function(a,b){this.f=b;var z=+new Date+a;(!this.id||z<this.time)&&(clearTimeout(this.id),this.id=setTimeout(this.handler,a),this.time=z)};function Dt(a,b){for(var z=0;z<a.length;++z)if(a[z]==b)return z;return-1}var Zt=50,lt={toString:function(){return"CodeMirror.Pass"}},Se={scroll:!1},Re={origin:"*mouse"},at={origin:"+move"};function jt(a,b,z){for(var x=0,ee=0;;){var ie=a.indexOf(" ",x);ie==-1&&(ie=a.length);var Ee=ie-x;if(ie==a.length||ee+Ee>=b)return x+Math.min(Ee,b-ee);if(ee+=ie-x,ee+=z-ee%z,x=ie+1,ee>=b)return x}}var ft=[""];function Wt(a){for(;ft.length<=a;)ft.push(xt(ft)+" ");return ft[a]}function xt(a){return a[a.length-1]}function $t(a,b){for(var z=[],x=0;x<a.length;x++)z[x]=b(a[x],x);return z}function Rt(a,b,z){for(var x=0,ee=z(b);x<a.length&&z(a[x])<=ee;)x++;a.splice(x,0,b)}function ce(){}function ne(a,b){var z;return Object.create?z=Object.create(a):(ce.prototype=a,z=new ce),b&&Yt(b,z),z}var te=/[\u00df\u0587\u0590-\u05f4\u0600-\u06ff\u3040-\u309f\u30a0-\u30ff\u3400-\u4db5\u4e00-\u9fcc\uac00-\ud7af]/;function le(a){return/\w/.test(a)||a>"\x80"&&(a.toUpperCase()!=a.toLowerCase()||te.test(a))}function ve(a,b){return b?b.source.indexOf("\\w")>-1&&le(a)?!0:b.test(a):le(a)}function re(a){for(var b in a)if(a.hasOwnProperty(b)&&a[b])return!1;return!0}var de=/[\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 Ue(a){return a.charCodeAt(0)>=768&&de.test(a)}function pt(a,b,z){for(;(z<0?b>0:b<a.length)&&Ue(a.charAt(b));)b+=z;return b}function et(a,b,z){for(var x=b>z?-1:1;;){if(b==z)return b;var ee=(b+z)/2,ie=x<0?Math.ceil(ee):Math.floor(ee);if(ie==b)return a(ie)?b:z;a(ie)?z=ie:b=ie+x}}function tt(a,b,z,x){if(!a)return x(b,z,"ltr",0);for(var ee=!1,ie=0;ie<a.length;++ie){var Ee=a[ie];(Ee.from<z&&Ee.to>b||b==z&&Ee.to==b)&&(x(Math.max(Ee.from,b),Math.min(Ee.to,z),Ee.level==1?"rtl":"ltr",ie),ee=!0)}ee||x(b,z,"ltr")}var dt=null;function gt(a,b,z){var x;dt=null;for(var ee=0;ee<a.length;++ee){var ie=a[ee];if(ie.from<b&&ie.to>b)return ee;ie.to==b&&(ie.from!=ie.to&&z=="before"?x=ee:dt=ee),ie.from==b&&(ie.from!=ie.to&&z!="before"?x=ee:dt=ee)}return x!=null?x:dt}var St=function(){var a="bbbbbbbbbtstwsbbbbbbbbbbbbbbssstwNN%%%NNNNNN,N,N1111111111NNNNNNNLLLLLLLLLLLLLLLLLLLLLLLLLLNNNNNNLLLLLLLLLLLLLLLLLLLLLLLLLLNNNNbbbbbbsbbbbbbbbbbbbbbbbbbbbbbbbbb,N%%%%NNNNLNNNNN%%11NLNNN1LNNNNNLLLLLLLLLLLLLLLLLLLLLLLNLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLN",b="nnnnnnNNr%%r,rNNmmmmmmmmmmmrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrmmmmmmmmmmmmmmmmmmmmmnnnnnnnnnn%nnrrrmrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrmmmmmmmnNmmmmmmrrmmNmmmmrr1111111111";function z(mt){return mt<=247?a.charAt(mt):1424<=mt&&mt<=1524?"R":1536<=mt&&mt<=1785?b.charAt(mt-1536):1774<=mt&&mt<=2220?"r":8192<=mt&&mt<=8203?"w":mt==8204?"b":"L"}var x=/[\u0590-\u05f4\u0600-\u06ff\u0700-\u08ac]/,ee=/[stwN]/,ie=/[LRr]/,Ee=/[Lb1n]/,Ke=/[1n]/;function $e(mt,rn,vn){this.level=mt,this.from=rn,this.to=vn}return function(mt,rn){var vn=rn=="ltr"?"L":"R";if(mt.length==0||rn=="ltr"&&!x.test(mt))return!1;for(var Un=mt.length,jn=[],wr=0;wr<Un;++wr)jn.push(z(mt.charCodeAt(wr)));for(var Vr=0,so=vn;Vr<Un;++Vr){var Eo=jn[Vr];Eo=="m"?jn[Vr]=so:so=Eo}for(var Xo=0,xo=vn;Xo<Un;++Xo){var ri=jn[Xo];ri=="1"&&xo=="r"?jn[Xo]="n":ie.test(ri)&&(xo=ri,ri=="r"&&(jn[Xo]="R"))}for(var Ii=1,Ai=jn[0];Ii<Un-1;++Ii){var na=jn[Ii];na=="+"&&Ai=="1"&&jn[Ii+1]=="1"?jn[Ii]="1":na==","&&Ai==jn[Ii+1]&&(Ai=="1"||Ai=="n")&&(jn[Ii]=Ai),Ai=na}for(var Wa=0;Wa<Un;++Wa){var Cl=jn[Wa];if(Cl==",")jn[Wa]="N";else if(Cl=="%"){var Qa=void 0;for(Qa=Wa+1;Qa<Un&&jn[Qa]=="%";++Qa);for(var Xl=Wa&&jn[Wa-1]=="!"||Qa<Un&&jn[Qa]=="1"?"1":"N",Zl=Wa;Zl<Qa;++Zl)jn[Zl]=Xl;Wa=Qa-1}}for(var cl=0,zl=vn;cl<Un;++cl){var Fl=jn[cl];zl=="L"&&Fl=="1"?jn[cl]="L":ie.test(Fl)&&(zl=Fl)}for(var ml=0;ml<Un;++ml)if(ee.test(jn[ml])){var dl=void 0;for(dl=ml+1;dl<Un&&ee.test(jn[dl]);++dl);for(var $a=(ml?jn[ml-1]:vn)=="L",jl=(dl<Un?jn[dl]:vn)=="L",$s=$a==jl?$a?"L":"R":vn,Os=ml;Os<dl;++Os)jn[Os]=$s;ml=dl-1}for(var Pl=[],ps,bl=0;bl<Un;)if(Ee.test(jn[bl])){var Ou=bl;for(++bl;bl<Un&&Ee.test(jn[bl]);++bl);Pl.push(new $e(0,Ou,bl))}else{var bs=bl,Ks=Pl.length,Vs=rn=="rtl"?1:0;for(++bl;bl<Un&&jn[bl]!="L";++bl);for(var Ol=bs;Ol<bl;)if(Ke.test(jn[Ol])){bs<Ol&&(Pl.splice(Ks,0,new $e(1,bs,Ol)),Ks+=Vs);var qs=Ol;for(++Ol;Ol<bl&&Ke.test(jn[Ol]);++Ol);Pl.splice(Ks,0,new $e(2,qs,Ol)),Ks+=Vs,bs=Ol}else++Ol;bs<bl&&Pl.splice(Ks,0,new $e(1,bs,bl))}return rn=="ltr"&&(Pl[0].level==1&&(ps=mt.match(/^\s+/))&&(Pl[0].from=ps[0].length,Pl.unshift(new $e(0,0,ps[0].length))),xt(Pl).level==1&&(ps=mt.match(/\s+$/))&&(xt(Pl).to-=ps[0].length,Pl.push(new $e(0,Un-ps[0].length,Un)))),rn=="rtl"?Pl.reverse():Pl}}();function _e(a,b){var z=a.order;return z==null&&(z=a.order=St(a.text,b)),z}var st=[],en=function(a,b,z){if(a.addEventListener)a.addEventListener(b,z,!1);else if(a.attachEvent)a.attachEvent("on"+b,z);else{var x=a._handlers||(a._handlers={});x[b]=(x[b]||st).concat(z)}};function Ut(a,b){return a._handlers&&a._handlers[b]||st}function yn(a,b,z){if(a.removeEventListener)a.removeEventListener(b,z,!1);else if(a.detachEvent)a.detachEvent("on"+b,z);else{var x=a._handlers,ee=x&&x[b];if(ee){var ie=Dt(ee,z);ie>-1&&(x[b]=ee.slice(0,ie).concat(ee.slice(ie+1)))}}}function tn(a,b){var z=Ut(a,b);if(z.length)for(var x=Array.prototype.slice.call(arguments,2),ee=0;ee<z.length;++ee)z[ee].apply(null,x)}function Vt(a,b,z){return typeof b=="string"&&(b={type:b,preventDefault:function(){this.defaultPrevented=!0}}),tn(a,z||b.type,a,b),Cn(b)||b.codemirrorIgnore}function Qt(a){var b=a._handlers&&a._handlers.cursorActivity;if(b)for(var z=a.curOp.cursorActivityHandlers||(a.curOp.cursorActivityHandlers=[]),x=0;x<b.length;++x)Dt(z,b[x])==-1&&z.push(b[x])}function sn(a,b){return Ut(a,b).length>0}function bt(a){a.prototype.on=function(b,z){en(this,b,z)},a.prototype.off=function(b,z){yn(this,b,z)}}function Lt(a){a.preventDefault?a.preventDefault():a.returnValue=!1}function un(a){a.stopPropagation?a.stopPropagation():a.cancelBubble=!0}function Cn(a){return a.defaultPrevented!=null?a.defaultPrevented:a.returnValue==!1}function ut(a){Lt(a),un(a)}function kt(a){return a.target||a.srcElement}function wt(a){var b=a.which;return b==null&&(a.button&1?b=1:a.button&2?b=3:a.button&4&&(b=2)),ue&&a.ctrlKey&&b==1&&(b=3),b}var cn=function(){if(be&&De<9)return!1;var a=Oe("div");return"draggable"in a||"dragDrop"in a}(),An;function Kn(a){if(An==null){var b=Oe("span","\u200B");ge(a,Oe("span",[b,document.createTextNode("x")])),a.firstChild.offsetHeight!=0&&(An=b.offsetWidth<=1&&b.offsetHeight>2&&!(be&&De<8))}var z=An?Oe("span","\u200B"):Oe("span","\xA0",null,"display: inline-block; width: 1px; margin-right: -1px");return z.setAttribute("cm-text",""),z}var rr;function sr(a){if(rr!=null)return rr;var b=ge(a,document.createTextNode("A\u062EA")),z=Pe(b,0,1).getBoundingClientRect(),x=Pe(b,1,2).getBoundingClientRect();return Ge(a),!z||z.left==z.right?!1:rr=x.right-z.right<3}var kn=`
b`.split(/\n/).length!=3?function(a){for(var b=0,z=[],x=a.length;b<=x;){var ee=a.indexOf(`
`,b);ee==-1&&(ee=a.length);var ie=a.slice(b,a.charAt(ee-1)=="\r"?ee-1:ee),Ee=ie.indexOf("\r");Ee!=-1?(z.push(ie.slice(0,Ee)),b+=Ee+1):(z.push(ie),b=ee+1)}return z}:function(a){return a.split(/\r\n?|\n/)},Jn=window.getSelection?function(a){try{return a.selectionStart!=a.selectionEnd}catch(b){return!1}}:function(a){var b;try{b=a.ownerDocument.selection.createRange()}catch(z){}return!b||b.parentElement()!=a?!1:b.compareEndPoints("StartToEnd",b)!=0},zt=function(){var a=Oe("div");return"oncopy"in a?!0:(a.setAttribute("oncopy","return;"),typeof a.oncopy=="function")}(),mn=null;function an(a){if(mn!=null)return mn;var b=ge(a,Oe("span","x")),z=b.getBoundingClientRect(),x=Pe(b,0,1).getBoundingClientRect();return mn=Math.abs(z.left-x.left)>1}var ln={},qt={};function xn(a,b){arguments.length>2&&(b.dependencies=Array.prototype.slice.call(arguments,2)),ln[a]=b}function En(a,b){qt[a]=b}function _n(a){if(typeof a=="string"&&qt.hasOwnProperty(a))a=qt[a];else if(a&&typeof a.name=="string"&&qt.hasOwnProperty(a.name)){var b=qt[a.name];typeof b=="string"&&(b={name:b}),a=ne(b,a),a.name=b.name}else{if(typeof a=="string"&&/^[\w\-]+\/[\w\-]+\+xml$/.test(a))return _n("application/xml");if(typeof a=="string"&&/^[\w\-]+\/[\w\-]+\+json$/.test(a))return _n("application/json")}return typeof a=="string"?{name:a}:a||{name:"null"}}function $n(a,b){b=_n(b);var z=ln[b.name];if(!z)return $n(a,"text/plain");var x=z(a,b);if(Yn.hasOwnProperty(b.name)){var ee=Yn[b.name];for(var ie in ee)ee.hasOwnProperty(ie)&&(x.hasOwnProperty(ie)&&(x["_"+ie]=x[ie]),x[ie]=ee[ie])}if(x.name=b.name,b.helperType&&(x.helperType=b.helperType),b.modeProps)for(var Ee in b.modeProps)x[Ee]=b.modeProps[Ee];return x}var Yn={};function Gn(a,b){var z=Yn.hasOwnProperty(a)?Yn[a]:Yn[a]={};Yt(b,z)}function Qn(a,b){if(b===!0)return b;if(a.copyState)return a.copyState(b);var z={};for(var x in b){var ee=b[x];ee instanceof Array&&(ee=ee.concat([])),z[x]=ee}return z}function nr(a,b){for(var z;a.innerMode&&(z=a.innerMode(b),!(!z||z.mode==a));)b=z.state,a=z.mode;return z||{mode:a,state:b}}function Rr(a,b,z){return a.startState?a.startState(b,z):!0}var Ir=function(a,b,z){this.pos=this.start=0,this.string=a,this.tabSize=b||8,this.lastColumnPos=this.lastColumnValue=0,this.lineStart=0,this.lineOracle=z};Ir.prototype.eol=function(){return this.pos>=this.string.length},Ir.prototype.sol=function(){return this.pos==this.lineStart},Ir.prototype.peek=function(){return this.string.charAt(this.pos)||void 0},Ir.prototype.next=function(){if(this.pos<this.string.length)return this.string.charAt(this.pos++)},Ir.prototype.eat=function(a){var b=this.string.charAt(this.pos),z;if(typeof a=="string"?z=b==a:z=b&&(a.test?a.test(b):a(b)),z)return++this.pos,b},Ir.prototype.eatWhile=function(a){for(var b=this.pos;this.eat(a););return this.pos>b},Ir.prototype.eatSpace=function(){for(var a=this.pos;/[\s\u00a0]/.test(this.string.charAt(this.pos));)++this.pos;return this.pos>a},Ir.prototype.skipToEnd=function(){this.pos=this.string.length},Ir.prototype.skipTo=function(a){var b=this.string.indexOf(a,this.pos);if(b>-1)return this.pos=b,!0},Ir.prototype.backUp=function(a){this.pos-=a},Ir.prototype.column=function(){return this.lastColumnPos<this.start&&(this.lastColumnValue=We(this.string,this.start,this.tabSize,this.lastColumnPos,this.lastColumnValue),this.lastColumnPos=this.start),this.lastColumnValue-(this.lineStart?We(this.string,this.lineStart,this.tabSize):0)},Ir.prototype.indentation=function(){return We(this.string,null,this.tabSize)-(this.lineStart?We(this.string,this.lineStart,this.tabSize):0)},Ir.prototype.match=function(a,b,z){if(typeof a=="string"){var x=function(Ee){return z?Ee.toLowerCase():Ee},ee=this.string.substr(this.pos,a.length);if(x(ee)==x(a))return b!==!1&&(this.pos+=a.length),!0}else{var ie=this.string.slice(this.pos).match(a);return ie&&ie.index>0?null:(ie&&b!==!1&&(this.pos+=ie[0].length),ie)}},Ir.prototype.current=function(){return this.string.slice(this.start,this.pos)},Ir.prototype.hideFirstChars=function(a,b){this.lineStart+=a;try{return b()}finally{this.lineStart-=a}},Ir.prototype.lookAhead=function(a){var b=this.lineOracle;return b&&b.lookAhead(a)},Ir.prototype.baseToken=function(){var a=this.lineOracle;return a&&a.baseToken(this.pos)};function Bn(a,b){if(b-=a.first,b<0||b>=a.size)throw new Error("There is no line "+(b+a.first)+" in the document.");for(var z=a;!z.lines;)for(var x=0;;++x){var ee=z.children[x],ie=ee.chunkSize();if(b<ie){z=ee;break}b-=ie}return z.lines[b]}function Mn(a,b,z){var x=[],ee=b.line;return a.iter(b.line,z.line+1,function(ie){var Ee=ie.text;ee==z.line&&(Ee=Ee.slice(0,z.ch)),ee==b.line&&(Ee=Ee.slice(b.ch)),x.push(Ee),++ee}),x}function ur(a,b,z){var x=[];return a.iter(b,z,function(ee){x.push(ee.text)}),x}function dr(a,b){var z=b-a.height;if(z)for(var x=a;x;x=x.parent)x.height+=z}function Ot(a){if(a.parent==null)return null;for(var b=a.parent,z=Dt(b.lines,a),x=b.parent;x;b=x,x=x.parent)for(var ee=0;x.children[ee]!=b;++ee)z+=x.children[ee].chunkSize();return z+b.first}function Jt(a,b){var z=a.first;e:do{for(var x=0;x<a.children.length;++x){var ee=a.children[x],ie=ee.height;if(b<ie){a=ee;continue e}b-=ie,z+=ee.chunkSize()}return z}while(!a.lines);for(var Ee=0;Ee<a.lines.length;++Ee){var Ke=a.lines[Ee],$e=Ke.height;if(b<$e)break;b-=$e}return z+Ee}function vt(a,b){return b>=a.first&&b<a.first+a.size}function Tt(a,b){return String(a.lineNumberFormatter(b+a.firstLineNumber))}function Et(a,b,z){if(z===void 0&&(z=null),!(this instanceof Et))return new Et(a,b,z);this.line=a,this.ch=b,this.sticky=z}function Ht(a,b){return a.line-b.line||a.ch-b.ch}function ot(a,b){return a.sticky==b.sticky&&Ht(a,b)==0}function Xt(a){return Et(a.line,a.ch)}function nn(a,b){return Ht(a,b)<0?b:a}function Kt(a,b){return Ht(a,b)<0?a:b}function nt(a,b){return Math.max(a.first,Math.min(b,a.first+a.size-1))}function Bt(a,b){if(b.line<a.first)return Et(a.first,0);var z=a.first+a.size-1;return b.line>z?Et(z,Bn(a,z).text.length):It(b,Bn(a,b.line).text.length)}function It(a,b){var z=a.ch;return z==null||z>b?Et(a.line,b):z<0?Et(a.line,0):a}function _t(a,b){for(var z=[],x=0;x<b.length;x++)z[x]=Bt(a,b[x]);return z}var Ln=function(a,b){this.state=a,this.lookAhead=b},zn=function(a,b,z,x){this.state=b,this.doc=a,this.line=z,this.maxLookAhead=x||0,this.baseTokens=null,this.baseTokenPos=1};zn.prototype.lookAhead=function(a){var b=this.doc.getLine(this.line+a);return b!=null&&a>this.maxLookAhead&&(this.maxLookAhead=a),b},zn.prototype.baseToken=function(a){if(!this.baseTokens)return null;for(;this.baseTokens[this.baseTokenPos]<=a;)this.baseTokenPos+=2;var b=this.baseTokens[this.baseTokenPos+1];return{type:b&&b.replace(/( |^)overlay .*/,""),size:this.baseTokens[this.baseTokenPos]-a}},zn.prototype.nextLine=function(){this.line++,this.maxLookAhead>0&&this.maxLookAhead--},zn.fromSaved=function(a,b,z){return b instanceof Ln?new zn(a,Qn(a.mode,b.state),z,b.lookAhead):new zn(a,Qn(a.mode,b),z)},zn.prototype.save=function(a){var b=a!==!1?Qn(this.doc.mode,this.state):this.state;return this.maxLookAhead>0?new Ln(b,this.maxLookAhead):b};function Vn(a,b,z,x){var ee=[a.state.modeGen],ie={};oo(a,b.text,a.doc.mode,z,function(mt,rn){return ee.push(mt,rn)},ie,x);for(var Ee=z.state,Ke=function(mt){z.baseTokens=ee;var rn=a.state.overlays[mt],vn=1,Un=0;z.state=!0,oo(a,b.text,rn.mode,z,function(jn,wr){for(var Vr=vn;Un<jn;){var so=ee[vn];so>jn&&ee.splice(vn,1,jn,ee[vn+1],so),vn+=2,Un=Math.min(jn,so)}if(wr)if(rn.opaque)ee.splice(Vr,vn-Vr,jn,"overlay "+wr),vn=Vr+2;else for(;Vr<vn;Vr+=2){var Eo=ee[Vr+1];ee[Vr+1]=(Eo?Eo+" ":"")+"overlay "+wr}},ie),z.state=Ee,z.baseTokens=null,z.baseTokenPos=1},$e=0;$e<a.state.overlays.length;++$e)Ke($e);return{styles:ee,classes:ie.bgClass||ie.textClass?ie:null}}function Or(a,b,z){if(!b.styles||b.styles[0]!=a.state.modeGen){var x=Hr(a,Ot(b)),ee=b.text.length>a.options.maxHighlightLength&&Qn(a.doc.mode,x.state),ie=Vn(a,b,x);ee&&(x.state=ee),b.stateAfter=x.save(!ee),b.styles=ie.styles,ie.classes?b.styleClasses=ie.classes:b.styleClasses&&(b.styleClasses=null),z===a.doc.highlightFrontier&&(a.doc.modeFrontier=Math.max(a.doc.modeFrontier,++a.doc.highlightFrontier))}return b.styles}function Hr(a,b,z){var x=a.doc,ee=a.display;if(!x.mode.startState)return new zn(x,!0,b);var ie=ao(a,b,z),Ee=ie>x.first&&Bn(x,ie-1).stateAfter,Ke=Ee?zn.fromSaved(x,Ee,ie):new zn(x,Rr(x.mode),ie);return x.iter(ie,b,function($e){to(a,$e.text,Ke);var mt=Ke.line;$e.stateAfter=mt==b-1||mt%5==0||mt>=ee.viewFrom&&mt<ee.viewTo?Ke.save():null,Ke.nextLine()}),z&&(x.modeFrontier=Ke.line),Ke}function to(a,b,z,x){var ee=a.doc.mode,ie=new Ir(b,a.options.tabSize,z);for(ie.start=ie.pos=x||0,b==""&&mr(ee,z.state);!ie.eol();)Er(ee,ie,z.state),ie.start=ie.pos}function mr(a,b){if(a.blankLine)return a.blankLine(b);if(a.innerMode){var z=nr(a,b);if(z.mode.blankLine)return z.mode.blankLine(z.state)}}function Er(a,b,z,x){for(var ee=0;ee<10;ee++){x&&(x[0]=nr(a,z).mode);var ie=a.token(b,z);if(b.pos>b.start)return ie}throw new Error("Mode "+a.name+" failed to advance stream.")}var Nr=function(a,b,z){this.start=a.start,this.end=a.pos,this.string=a.current(),this.type=b||null,this.state=z};function Yr(a,b,z,x){var ee=a.doc,ie=ee.mode,Ee;b=Bt(ee,b);var Ke=Bn(ee,b.line),$e=Hr(a,b.line,z),mt=new Ir(Ke.text,a.options.tabSize,$e),rn;for(x&&(rn=[]);(x||mt.pos<b.ch)&&!mt.eol();)mt.start=mt.pos,Ee=Er(ie,mt,$e.state),x&&rn.push(new Nr(mt,Ee,Qn(ee.mode,$e.state)));return x?rn:new Nr(mt,Ee,$e.state)}function ro(a,b){if(a)for(;;){var z=a.match(/(?:^|\s+)line-(background-)?(\S+)/);if(!z)break;a=a.slice(0,z.index)+a.slice(z.index+z[0].length);var x=z[1]?"bgClass":"textClass";b[x]==null?b[x]=z[2]:new RegExp("(?:^|\\s)"+z[2]+"(?:$|\\s)").test(b[x])||(b[x]+=" "+z[2])}return a}function oo(a,b,z,x,ee,ie,Ee){var Ke=z.flattenSpans;Ke==null&&(Ke=a.options.flattenSpans);var $e=0,mt=null,rn=new Ir(b,a.options.tabSize,x),vn,Un=a.options.addModeClass&&[null];for(b==""&&ro(mr(z,x.state),ie);!rn.eol();){if(rn.pos>a.options.maxHighlightLength?(Ke=!1,Ee&&to(a,b,x,rn.pos),rn.pos=b.length,vn=null):vn=ro(Er(z,rn,x.state,Un),ie),Un){var jn=Un[0].name;jn&&(vn="m-"+(vn?jn+" "+vn:jn))}if(!Ke||mt!=vn){for(;$e<rn.start;)$e=Math.min(rn.start,$e+5e3),ee($e,mt);mt=vn}rn.start=rn.pos}for(;$e<rn.pos;){var wr=Math.min(rn.pos,$e+5e3);ee(wr,mt),$e=wr}}function ao(a,b,z){for(var x,ee,ie=a.doc,Ee=z?-1:b-(a.doc.mode.innerMode?1e3:100),Ke=b;Ke>Ee;--Ke){if(Ke<=ie.first)return ie.first;var $e=Bn(ie,Ke-1),mt=$e.stateAfter;if(mt&&(!z||Ke+(mt instanceof Ln?mt.lookAhead:0)<=ie.modeFrontier))return Ke;var rn=We($e.text,null,a.options.tabSize);(ee==null||x>rn)&&(ee=Ke-1,x=rn)}return ee}function Lr(a,b){if(a.modeFrontier=Math.min(a.modeFrontier,b),!(a.highlightFrontier<b-10)){for(var z=a.first,x=b-1;x>z;x--){var ee=Bn(a,x).stateAfter;if(ee&&(!(ee instanceof Ln)||x+ee.lookAhead<b)){z=x+1;break}}a.highlightFrontier=Math.min(a.highlightFrontier,z)}}var eo=!1,$r=!1;function Wo(){eo=!0}function Vo(){$r=!0}function ir(a,b,z){this.marker=a,this.from=b,this.to=z}function Ro(a,b){if(a)for(var z=0;z<a.length;++z){var x=a[z];if(x.marker==b)return x}}function ei(a,b){for(var z,x=0;x<a.length;++x)a[x]!=b&&(z||(z=[])).push(a[x]);return z}function yo(a,b){a.markedSpans=a.markedSpans?a.markedSpans.concat([b]):[b],b.marker.attachLine(a)}function Zo(a,b,z){var x;if(a)for(var ee=0;ee<a.length;++ee){var ie=a[ee],Ee=ie.marker,Ke=ie.from==null||(Ee.inclusiveLeft?ie.from<=b:ie.from<b);if(Ke||ie.from==b&&Ee.type=="bookmark"&&(!z||!ie.marker.insertLeft)){var $e=ie.to==null||(Ee.inclusiveRight?ie.to>=b:ie.to>b);(x||(x=[])).push(new ir(Ee,ie.from,$e?null:ie.to))}}return x}function vo(a,b,z){var x;if(a)for(var ee=0;ee<a.length;++ee){var ie=a[ee],Ee=ie.marker,Ke=ie.to==null||(Ee.inclusiveRight?ie.to>=b:ie.to>b);if(Ke||ie.from==b&&Ee.type=="bookmark"&&(!z||ie.marker.insertLeft)){var $e=ie.from==null||(Ee.inclusiveLeft?ie.from<=b:ie.from<b);(x||(x=[])).push(new ir(Ee,$e?null:ie.from-b,ie.to==null?null:ie.to-b))}}return x}function ui(a,b){if(b.full)return null;var z=vt(a,b.from.line)&&Bn(a,b.from.line).markedSpans,x=vt(a,b.to.line)&&Bn(a,b.to.line).markedSpans;if(!z&&!x)return null;var ee=b.from.ch,ie=b.to.ch,Ee=Ht(b.from,b.to)==0,Ke=Zo(z,ee,Ee),$e=vo(x,ie,Ee),mt=b.text.length==1,rn=xt(b.text).length+(mt?ee:0);if(Ke)for(var vn=0;vn<Ke.length;++vn){var Un=Ke[vn];if(Un.to==null){var jn=Ro($e,Un.marker);jn?mt&&(Un.to=jn.to==null?null:jn.to+rn):Un.to=ee}}if($e)for(var wr=0;wr<$e.length;++wr){var Vr=$e[wr];if(Vr.to!=null&&(Vr.to+=rn),Vr.from==null){var so=Ro(Ke,Vr.marker);so||(Vr.from=rn,mt&&(Ke||(Ke=[])).push(Vr))}else Vr.from+=rn,mt&&(Ke||(Ke=[])).push(Vr)}Ke&&(Ke=yi(Ke)),$e&&$e!=Ke&&($e=yi($e));var Eo=[Ke];if(!mt){var Xo=b.text.length-2,xo;if(Xo>0&&Ke)for(var ri=0;ri<Ke.length;++ri)Ke[ri].to==null&&(xo||(xo=[])).push(new ir(Ke[ri].marker,null,null));for(var Ii=0;Ii<Xo;++Ii)Eo.push(xo);Eo.push($e)}return Eo}function yi(a){for(var b=0;b<a.length;++b){var z=a[b];z.from!=null&&z.from==z.to&&z.marker.clearWhenEmpty!==!1&&a.splice(b--,1)}return a.length?a:null}function $o(a,b,z){var x=null;if(a.iter(b.line,z.line+1,function(jn){if(jn.markedSpans)for(var wr=0;wr<jn.markedSpans.length;++wr){var Vr=jn.markedSpans[wr].marker;Vr.readOnly&&(!x||Dt(x,Vr)==-1)&&(x||(x=[])).push(Vr)}}),!x)return null;for(var ee=[{from:b,to:z}],ie=0;ie<x.length;++ie)for(var Ee=x[ie],Ke=Ee.find(0),$e=0;$e<ee.length;++$e){var mt=ee[$e];if(!(Ht(mt.to,Ke.from)<0||Ht(mt.from,Ke.to)>0)){var rn=[$e,1],vn=Ht(mt.from,Ke.from),Un=Ht(mt.to,Ke.to);(vn<0||!Ee.inclusiveLeft&&!vn)&&rn.push({from:mt.from,to:Ke.from}),(Un>0||!Ee.inclusiveRight&&!Un)&&rn.push({from:Ke.to,to:mt.to}),ee.splice.apply(ee,rn),$e+=rn.length-3}}return ee}function pi(a){var b=a.markedSpans;if(b){for(var z=0;z<b.length;++z)b[z].marker.detachLine(a);a.markedSpans=null}}function ki(a,b){if(b){for(var z=0;z<b.length;++z)b[z].marker.attachLine(a);a.markedSpans=b}}function Ci(a){return a.inclusiveLeft?-1:0}function Oi(a){return a.inclusiveRight?1:0}function No(a,b){var z=a.lines.length-b.lines.length;if(z!=0)return z;var x=a.find(),ee=b.find(),ie=Ht(x.from,ee.from)||Ci(a)-Ci(b);if(ie)return-ie;var Ee=Ht(x.to,ee.to)||Oi(a)-Oi(b);return Ee||b.id-a.id}function Je(a,b){var z=$r&&a.markedSpans,x;if(z)for(var ee=void 0,ie=0;ie<z.length;++ie)ee=z[ie],ee.marker.collapsed&&(b?ee.from:ee.to)==null&&(!x||No(x,ee.marker)<0)&&(x=ee.marker);return x}function hn(a){return Je(a,!0)}function Mt(a){return Je(a,!1)}function bn(a,b){var z=$r&&a.markedSpans,x;if(z)for(var ee=0;ee<z.length;++ee){var ie=z[ee];ie.marker.collapsed&&(ie.from==null||ie.from<b)&&(ie.to==null||ie.to>b)&&(!x||No(x,ie.marker)<0)&&(x=ie.marker)}return x}function er(a,b,z,x,ee){var ie=Bn(a,b),Ee=$r&&ie.markedSpans;if(Ee)for(var Ke=0;Ke<Ee.length;++Ke){var $e=Ee[Ke];if($e.marker.collapsed){var mt=$e.marker.find(0),rn=Ht(mt.from,z)||Ci($e.marker)-Ci(ee),vn=Ht(mt.to,x)||Oi($e.marker)-Oi(ee);if(!(rn>=0&&vn<=0||rn<=0&&vn>=0)&&(rn<=0&&($e.marker.inclusiveRight&&ee.inclusiveLeft?Ht(mt.to,z)>=0:Ht(mt.to,z)>0)||rn>=0&&($e.marker.inclusiveRight&&ee.inclusiveLeft?Ht(mt.from,x)<=0:Ht(mt.from,x)<0)))return!0}}}function Rn(a){for(var b;b=hn(a);)a=b.find(-1,!0).line;return a}function Nn(a){for(var b;b=Mt(a);)a=b.find(1,!0).line;return a}function yr(a){for(var b,z;b=Mt(a);)a=b.find(1,!0).line,(z||(z=[])).push(a);return z}function Zn(a,b){var z=Bn(a,b),x=Rn(z);return z==x?b:Ot(x)}function Hn(a,b){if(b>a.lastLine())return b;var z=Bn(a,b),x;if(!or(a,z))return b;for(;x=Mt(z);)z=x.find(1,!0).line;return Ot(z)+1}function or(a,b){var z=$r&&b.markedSpans;if(z){for(var x=void 0,ee=0;ee<z.length;++ee)if(x=z[ee],!!x.marker.collapsed){if(x.from==null)return!0;if(!x.marker.widgetNode&&x.from==0&&x.marker.inclusiveLeft&&kr(a,b,x))return!0}}}function kr(a,b,z){if(z.to==null){var x=z.marker.find(1,!0);return kr(a,x.line,Ro(x.line.markedSpans,z.marker))}if(z.marker.inclusiveRight&&z.to==b.text.length)return!0;for(var ee=void 0,ie=0;ie<b.markedSpans.length;++ie)if(ee=b.markedSpans[ie],ee.marker.collapsed&&!ee.marker.widgetNode&&ee.from==z.to&&(ee.to==null||ee.to!=z.from)&&(ee.marker.inclusiveLeft||z.marker.inclusiveRight)&&kr(a,b,ee))return!0}function wo(a){a=Rn(a);for(var b=0,z=a.parent,x=0;x<z.lines.length;++x){var ee=z.lines[x];if(ee==a)break;b+=ee.height}for(var ie=z.parent;ie;z=ie,ie=z.parent)for(var Ee=0;Ee<ie.children.length;++Ee){var Ke=ie.children[Ee];if(Ke==z)break;b+=Ke.height}return b}function ci(a){if(a.height==0)return 0;for(var b=a.text.length,z,x=a;z=hn(x);){var ee=z.find(0,!0);x=ee.from.line,b+=ee.from.ch-ee.to.ch}for(x=a;z=Mt(x);){var ie=z.find(0,!0);b-=x.text.length-ie.from.ch,x=ie.to.line,b+=x.text.length-ie.to.ch}return b}function ii(a){var b=a.display,z=a.doc;b.maxLine=Bn(z,z.first),b.maxLineLength=ci(b.maxLine),b.maxLineChanged=!0,z.iter(function(x){var ee=ci(x);ee>b.maxLineLength&&(b.maxLineLength=ee,b.maxLine=x)})}var oi=function(a,b,z){this.text=a,ki(this,b),this.height=z?z(this):1};oi.prototype.lineNo=function(){return Ot(this)},bt(oi);function vi(a,b,z,x){a.text=b,a.stateAfter&&(a.stateAfter=null),a.styles&&(a.styles=null),a.order!=null&&(a.order=null),pi(a),ki(a,z);var ee=x?x(a):1;ee!=a.height&&dr(a,ee)}function mi(a){a.parent=null,pi(a)}var Li={},Bi={};function Ti(a,b){if(!a||/^\s*$/.test(a))return null;var z=b.addModeClass?Bi:Li;return z[a]||(z[a]=a.replace(/\S+/g,"cm-$&"))}function Ki(a,b){var z=Ve("span",null,null,ye?"padding-right: .1px":null),x={pre:Ve("pre",[z],"CodeMirror-line"),content:z,col:0,pos:0,cm:a,trailingSpace:!1,splitSpaces:a.getOption("lineWrapping")};b.measure={};for(var ee=0;ee<=(b.rest?b.rest.length:0);ee++){var ie=ee?b.rest[ee-1]:b.line,Ee=void 0;x.pos=0,x.addToken=fa,sr(a.display.measure)&&(Ee=_e(ie,a.doc.direction))&&(x.addToken=ha(x.addToken,Ee)),x.map=[];var Ke=b!=a.display.externalMeasured&&Ot(ie);Do(ie,x,Or(a,ie,Ke)),ie.styleClasses&&(ie.styleClasses.bgClass&&(x.bgClass=qe(ie.styleClasses.bgClass,x.bgClass||"")),ie.styleClasses.textClass&&(x.textClass=qe(ie.styleClasses.textClass,x.textClass||""))),x.map.length==0&&x.map.push(0,0,x.content.appendChild(Kn(a.display.measure))),ee==0?(b.measure.map=x.map,b.measure.cache={}):((b.measure.maps||(b.measure.maps=[])).push(x.map),(b.measure.caches||(b.measure.caches=[])).push({}))}if(ye){var $e=x.content.lastChild;(/\bcm-tab\b/.test($e.className)||$e.querySelector&&$e.querySelector(".cm-tab"))&&(x.content.className="cm-tab-wrap-hack")}return tn(a,"renderLine",a,b.line,x.pre),x.pre.className&&(x.textClass=qe(x.pre.className,x.textClass||"")),x}function sa(a){var b=Oe("span","\u2022","cm-invalidchar");return b.title="\\u"+a.charCodeAt(0).toString(16),b.setAttribute("aria-label",b.title),b}function fa(a,b,z,x,ee,ie,Ee){if(b){var Ke=a.splitSpaces?wa(b,a.trailingSpace):b,$e=a.cm.state.specialChars,mt=!1,rn;if(!$e.test(b))a.col+=b.length,rn=document.createTextNode(Ke),a.map.push(a.pos,a.pos+b.length,rn),be&&De<9&&(mt=!0),a.pos+=b.length;else{rn=document.createDocumentFragment();for(var vn=0;;){$e.lastIndex=vn;var Un=$e.exec(b),jn=Un?Un.index-vn:b.length-vn;if(jn){var wr=document.createTextNode(Ke.slice(vn,vn+jn));be&&De<9?rn.appendChild(Oe("span",[wr])):rn.appendChild(wr),a.map.push(a.pos,a.pos+jn,wr),a.col+=jn,a.pos+=jn}if(!Un)break;vn+=jn+1;var Vr=void 0;if(Un[0]==" "){var so=a.cm.options.tabSize,Eo=so-a.col%so;Vr=rn.appendChild(Oe("span",Wt(Eo),"cm-tab")),Vr.setAttribute("role","presentation"),Vr.setAttribute("cm-text"," "),a.col+=Eo}else Un[0]=="\r"||Un[0]==`
`?(Vr=rn.appendChild(Oe("span",Un[0]=="\r"?"\u240D":"\u2424","cm-invalidchar")),Vr.setAttribute("cm-text",Un[0]),a.col+=1):(Vr=a.cm.options.specialCharPlaceholder(Un[0]),Vr.setAttribute("cm-text",Un[0]),be&&De<9?rn.appendChild(Oe("span",[Vr])):rn.appendChild(Vr),a.col+=1);a.map.push(a.pos,a.pos+1,Vr),a.pos++}}if(a.trailingSpace=Ke.charCodeAt(b.length-1)==32,z||x||ee||mt||ie||Ee){var Xo=z||"";x&&(Xo+=x),ee&&(Xo+=ee);var xo=Oe("span",[rn],Xo,ie);if(Ee)for(var ri in Ee)Ee.hasOwnProperty(ri)&&ri!="style"&&ri!="class"&&xo.setAttribute(ri,Ee[ri]);return a.content.appendChild(xo)}a.content.appendChild(rn)}}function wa(a,b){if(a.length>1&&!/ /.test(a))return a;for(var z=b,x="",ee=0;ee<a.length;ee++){var ie=a.charAt(ee);ie==" "&&z&&(ee==a.length-1||a.charCodeAt(ee+1)==32)&&(ie="\xA0"),x+=ie,z=ie==" "}return x}function ha(a,b){return function(z,x,ee,ie,Ee,Ke,$e){ee=ee?ee+" cm-force-border":"cm-force-border";for(var mt=z.pos,rn=mt+x.length;;){for(var vn=void 0,Un=0;Un<b.length&&(vn=b[Un],!(vn.to>mt&&vn.from<=mt));Un++);if(vn.to>=rn)return a(z,x,ee,ie,Ee,Ke,$e);a(z,x.slice(0,vn.to-mt),ee,ie,null,Ke,$e),ie=null,x=x.slice(vn.to-mt),mt=vn.to}}}function Ao(a,b,z,x){var ee=!x&&z.widgetNode;ee&&a.map.push(a.pos,a.pos+b,ee),!x&&a.cm.display.input.needsContentAttribute&&(ee||(ee=a.content.appendChild(document.createElement("span"))),ee.setAttribute("cm-marker",z.id)),ee&&(a.cm.display.input.setUneditable(ee),a.content.appendChild(ee)),a.pos+=b,a.trailingSpace=!1}function Do(a,b,z){var x=a.markedSpans,ee=a.text,ie=0;if(!x){for(var Ee=1;Ee<z.length;Ee+=2)b.addToken(b,ee.slice(ie,ie=z[Ee]),Ti(z[Ee+1],b.cm.options));return}for(var Ke=ee.length,$e=0,mt=1,rn="",vn,Un,jn=0,wr,Vr,so,Eo,Xo;;){if(jn==$e){wr=Vr=so=Un="",Xo=null,Eo=null,jn=1/0;for(var xo=[],ri=void 0,Ii=0;Ii<x.length;++Ii){var Ai=x[Ii],na=Ai.marker;if(na.type=="bookmark"&&Ai.from==$e&&na.widgetNode)xo.push(na);else if(Ai.from<=$e&&(Ai.to==null||Ai.to>$e||na.collapsed&&Ai.to==$e&&Ai.from==$e)){if(Ai.to!=null&&Ai.to!=$e&&jn>Ai.to&&(jn=Ai.to,Vr=""),na.className&&(wr+=" "+na.className),na.css&&(Un=(Un?Un+";":"")+na.css),na.startStyle&&Ai.from==$e&&(so+=" "+na.startStyle),na.endStyle&&Ai.to==jn&&(ri||(ri=[])).push(na.endStyle,Ai.to),na.title&&((Xo||(Xo={})).title=na.title),na.attributes)for(var Wa in na.attributes)(Xo||(Xo={}))[Wa]=na.attributes[Wa];na.collapsed&&(!Eo||No(Eo.marker,na)<0)&&(Eo=Ai)}else Ai.from>$e&&jn>Ai.from&&(jn=Ai.from)}if(ri)for(var Cl=0;Cl<ri.length;Cl+=2)ri[Cl+1]==jn&&(Vr+=" "+ri[Cl]);if(!Eo||Eo.from==$e)for(var Qa=0;Qa<xo.length;++Qa)Ao(b,0,xo[Qa]);if(Eo&&(Eo.from||0)==$e){if(Ao(b,(Eo.to==null?Ke+1:Eo.to)-$e,Eo.marker,Eo.from==null),Eo.to==null)return;Eo.to==$e&&(Eo=!1)}}if($e>=Ke)break;for(var Xl=Math.min(Ke,jn);;){if(rn){var Zl=$e+rn.length;if(!Eo){var cl=Zl>Xl?rn.slice(0,Xl-$e):rn;b.addToken(b,cl,vn?vn+wr:wr,so,$e+cl.length==jn?Vr:"",Un,Xo)}if(Zl>=Xl){rn=rn.slice(Xl-$e),$e=Xl;break}$e=Zl,so=""}rn=ee.slice(ie,ie=z[mt++]),vn=Ti(z[mt++],b.cm.options)}}}function Co(a,b,z){this.line=b,this.rest=yr(b),this.size=this.rest?Ot(xt(this.rest))-z+1:1,this.node=this.text=null,this.hidden=or(a,b)}function Ji(a,b,z){for(var x=[],ee,ie=b;ie<z;ie=ee){var Ee=new Co(a.doc,Bn(a.doc,ie),ie);ee=ie+Ee.size,x.push(Ee)}return x}var Uo=null;function Ho(a){Uo?Uo.ops.push(a):a.ownsGroup=Uo={ops:[a],delayedCallbacks:[]}}function Mi(a){var b=a.delayedCallbacks,z=0;do{for(;z<b.length;z++)b[z].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(z<b.length)}function bi(a,b){var z=a.ownsGroup;if(z)try{Mi(z)}finally{Uo=null,b(z)}}var hi=null;function _o(a,b){var z=Ut(a,b);if(z.length){var x=Array.prototype.slice.call(arguments,2),ee;Uo?ee=Uo.delayedCallbacks:hi?ee=hi:(ee=hi=[],setTimeout(Ma,0));for(var ie=function(Ke){ee.push(function(){return z[Ke].apply(null,x)})},Ee=0;Ee<z.length;++Ee)ie(Ee)}}function Ma(){var a=hi;hi=null;for(var b=0;b<a.length;++b)a[b]()}function Ha(a,b,z,x){for(var ee=0;ee<b.changes.length;ee++){var ie=b.changes[ee];ie=="text"?qa(a,b):ie=="gutter"?Ei(a,b,z,x):ie=="class"?qo(a,b):ie=="widget"&&Qo(a,b,x)}b.changes=null}function Aa(a){return a.node==a.text&&(a.node=Oe("div",null,null,"position: relative"),a.text.parentNode&&a.text.parentNode.replaceChild(a.node,a.text),a.node.appendChild(a.text),be&&De<8&&(a.node.style.zIndex=2)),a.node}function ra(a,b){var z=b.bgClass?b.bgClass+" "+(b.line.bgClass||""):b.line.bgClass;if(z&&(z+=" CodeMirror-linebackground"),b.background)z?b.background.className=z:(b.background.parentNode.removeChild(b.background),b.background=null);else if(z){var x=Aa(b);b.background=x.insertBefore(Oe("div",null,z),x.firstChild),a.display.input.setUneditable(b.background)}}function El(a,b){var z=a.display.externalMeasured;return z&&z.line==b.line?(a.display.externalMeasured=null,b.measure=z.measure,z.built):Ki(a,b)}function qa(a,b){var z=b.text.className,x=El(a,b);b.text==b.node&&(b.node=x.pre),b.text.parentNode.replaceChild(x.pre,b.text),b.text=x.pre,x.bgClass!=b.bgClass||x.textClass!=b.textClass?(b.bgClass=x.bgClass,b.textClass=x.textClass,qo(a,b)):z&&(b.text.className=z)}function qo(a,b){ra(a,b),b.line.wrapClass?Aa(b).className=b.line.wrapClass:b.node!=b.text&&(b.node.className="");var z=b.textClass?b.textClass+" "+(b.line.textClass||""):b.line.textClass;b.text.className=z||""}function Ei(a,b,z,x){if(b.gutter&&(b.node.removeChild(b.gutter),b.gutter=null),b.gutterBackground&&(b.node.removeChild(b.gutterBackground),b.gutterBackground=null),b.line.gutterClass){var ee=Aa(b);b.gutterBackground=Oe("div",null,"CodeMirror-gutter-background "+b.line.gutterClass,"left: "+(a.options.fixedGutter?x.fixedPos:-x.gutterTotalWidth)+"px; width: "+x.gutterTotalWidth+"px"),a.display.input.setUneditable(b.gutterBackground),ee.insertBefore(b.gutterBackground,b.text)}var ie=b.line.gutterMarkers;if(a.options.lineNumbers||ie){var Ee=Aa(b),Ke=b.gutter=Oe("div",null,"CodeMirror-gutter-wrapper","left: "+(a.options.fixedGutter?x.fixedPos:-x.gutterTotalWidth)+"px");if(a.display.input.setUneditable(Ke),Ee.insertBefore(Ke,b.text),b.line.gutterClass&&(Ke.className+=" "+b.line.gutterClass),a.options.lineNumbers&&(!ie||!ie["CodeMirror-linenumbers"])&&(b.lineNumber=Ke.appendChild(Oe("div",Tt(a.options,z),"CodeMirror-linenumber CodeMirror-gutter-elt","left: "+x.gutterLeft["CodeMirror-linenumbers"]+"px; width: "+a.display.lineNumInnerWidth+"px"))),ie)for(var $e=0;$e<a.display.gutterSpecs.length;++$e){var mt=a.display.gutterSpecs[$e].className,rn=ie.hasOwnProperty(mt)&&ie[mt];rn&&Ke.appendChild(Oe("div",[rn],"CodeMirror-gutter-elt","left: "+x.gutterLeft[mt]+"px; width: "+x.gutterWidth[mt]+"px"))}}}function Qo(a,b,z){b.alignable&&(b.alignable=null);for(var x=rt("CodeMirror-linewidget"),ee=b.node.firstChild,ie=void 0;ee;ee=ie)ie=ee.nextSibling,x.test(ee.className)&&b.node.removeChild(ee);zi(a,b,z)}function di(a,b,z,x){var ee=El(a,b);return b.text=b.node=ee.pre,ee.bgClass&&(b.bgClass=ee.bgClass),ee.textClass&&(b.textClass=ee.textClass),qo(a,b),Ei(a,b,z,x),zi(a,b,x),b.node}function zi(a,b,z){if($i(a,b.line,b,z,!0),b.rest)for(var x=0;x<b.rest.length;x++)$i(a,b.rest[x],b,z,!1)}function $i(a,b,z,x,ee){if(b.widgets)for(var ie=Aa(z),Ee=0,Ke=b.widgets;Ee<Ke.length;++Ee){var $e=Ke[Ee],mt=Oe("div",[$e.node],"CodeMirror-linewidget"+($e.className?" "+$e.className:""));$e.handleMouseEvents||mt.setAttribute("cm-ignore-events","true"),ko($e,mt,z,x),a.display.input.setUneditable(mt),ee&&$e.above?ie.insertBefore(mt,z.gutter||z.text):ie.appendChild(mt),_o($e,"redraw")}}function ko(a,b,z,x){if(a.noHScroll){(z.alignable||(z.alignable=[])).push(b);var ee=x.wrapperWidth;b.style.left=x.fixedPos+"px",a.coverGutter||(ee-=x.gutterTotalWidth,b.style.paddingLeft=x.gutterTotalWidth+"px"),b.style.width=ee+"px"}a.coverGutter&&(b.style.zIndex=5,b.style.position="relative",a.noHScroll||(b.style.marginLeft=-x.gutterTotalWidth+"px"))}function Gi(a){if(a.height!=null)return a.height;var b=a.doc.cm;if(!b)return 0;if(!it(document.body,a.node)){var z="position: relative;";a.coverGutter&&(z+="margin-left: -"+b.display.gutters.offsetWidth+"px;"),a.noHScroll&&(z+="width: "+b.display.wrapper.clientWidth+"px;"),ge(b.display.measure,Oe("div",[a.node],null,z))}return a.height=a.node.parentNode.offsetHeight}function gr(a,b){for(var z=kt(b);z!=a.wrapper;z=z.parentNode)if(!z||z.nodeType==1&&z.getAttribute("cm-ignore-events")=="true"||z.parentNode==a.sizer&&z!=a.mover)return!0}function Qr(a){return a.lineSpace.offsetTop}function Yo(a){return a.mover.offsetHeight-a.lineSpace.offsetHeight}function Zi(a){if(a.cachedPaddingH)return a.cachedPaddingH;var b=ge(a.measure,Oe("pre","x","CodeMirror-line-like")),z=window.getComputedStyle?window.getComputedStyle(b):b.currentStyle,x={left:parseInt(z.paddingLeft),right:parseInt(z.paddingRight)};return!isNaN(x.left)&&!isNaN(x.right)&&(a.cachedPaddingH=x),x}function Ba(a){return Zt-a.display.nativeBarWidth}function xl(a){return a.display.scroller.clientWidth-Ba(a)-a.display.barWidth}function ji(a){return a.display.scroller.clientHeight-Ba(a)-a.display.barHeight}function Sl(a,b,z){var x=a.options.lineWrapping,ee=x&&xl(a);if(!b.measure.heights||x&&b.measure.width!=ee){var ie=b.measure.heights=[];if(x){b.measure.width=ee;for(var Ee=b.text.firstChild.getClientRects(),Ke=0;Ke<Ee.length-1;Ke++){var $e=Ee[Ke],mt=Ee[Ke+1];Math.abs($e.bottom-mt.bottom)>2&&ie.push(($e.bottom+mt.top)/2-z.top)}}ie.push(z.bottom-z.top)}}function Wl(a,b,z){if(a.line==b)return{map:a.measure.map,cache:a.measure.cache};for(var x=0;x<a.rest.length;x++)if(a.rest[x]==b)return{map:a.measure.maps[x],cache:a.measure.caches[x]};for(var ee=0;ee<a.rest.length;ee++)if(Ot(a.rest[ee])>z)return{map:a.measure.maps[ee],cache:a.measure.caches[ee],before:!0}}function rs(a,b){b=Rn(b);var z=Ot(b),x=a.display.externalMeasured=new Co(a.doc,b,z);x.lineN=z;var ee=x.built=Ki(a,x);return x.text=ee.pre,ge(a.display.lineMeasure,ee.pre),x}function us(a,b,z,x){return Za(a,_i(a,b),z,x)}function po(a,b){if(b>=a.display.viewFrom&&b<a.display.viewTo)return a.display.view[Ul(a,b)];var z=a.display.externalMeasured;if(z&&b>=z.lineN&&b<z.lineN+z.size)return z}function _i(a,b){var z=Ot(b),x=po(a,z);x&&!x.text?x=null:x&&x.changes&&(Ha(a,x,z,ns(a)),a.curOp.forceUpdate=!0),x||(x=rs(a,b));var ee=Wl(x,b,z);return{line:b,view:x,rect:null,map:ee.map,cache:ee.cache,before:ee.before,hasHeights:!1}}function Za(a,b,z,x,ee){b.before&&(z=-1);var ie=z+(x||""),Ee;return b.cache.hasOwnProperty(ie)?Ee=b.cache[ie]:(b.rect||(b.rect=b.view.text.getBoundingClientRect()),b.hasHeights||(Sl(a,b.view,b.rect),b.hasHeights=!0),Ee=_l(a,b,z,x),Ee.bogus||(b.cache[ie]=Ee)),{left:Ee.left,right:Ee.right,top:ee?Ee.rtop:Ee.top,bottom:ee?Ee.rbottom:Ee.bottom}}var wl={left:0,right:0,top:0,bottom:0};function Hl(a,b,z){for(var x,ee,ie,Ee,Ke,$e,mt=0;mt<a.length;mt+=3)if(Ke=a[mt],$e=a[mt+1],b<Ke?(ee=0,ie=1,Ee="left"):b<$e?(ee=b-Ke,ie=ee+1):(mt==a.length-3||b==$e&&a[mt+3]>b)&&(ie=$e-Ke,ee=ie-1,b>=$e&&(Ee="right")),ee!=null){if(x=a[mt+2],Ke==$e&&z==(x.insertLeft?"left":"right")&&(Ee=z),z=="left"&&ee==0)for(;mt&&a[mt-2]==a[mt-3]&&a[mt-1].insertLeft;)x=a[(mt-=3)+2],Ee="left";if(z=="right"&&ee==$e-Ke)for(;mt<a.length-3&&a[mt+3]==a[mt+4]&&!a[mt+5].insertLeft;)x=a[(mt+=3)+2],Ee="right";break}return{node:x,start:ee,end:ie,collapse:Ee,coverStart:Ke,coverEnd:$e}}function ql(a,b){var z=wl;if(b=="left")for(var x=0;x<a.length&&(z=a[x]).left==z.right;x++);else for(var ee=a.length-1;ee>=0&&(z=a[ee]).left==z.right;ee--);return z}function _l(a,b,z,x){var ee=Hl(b.map,z,x),ie=ee.node,Ee=ee.start,Ke=ee.end,$e=ee.collapse,mt;if(ie.nodeType==3){for(var rn=0;rn<4;rn++){for(;Ee&&Ue(b.line.text.charAt(ee.coverStart+Ee));)--Ee;for(;ee.coverStart+Ke<ee.coverEnd&&Ue(b.line.text.charAt(ee.coverStart+Ke));)++Ke;if(be&&De<9&&Ee==0&&Ke==ee.coverEnd-ee.coverStart?mt=ie.parentNode.getBoundingClientRect():mt=ql(Pe(ie,Ee,Ke).getClientRects(),x),mt.left||mt.right||Ee==0)break;Ke=Ee,Ee=Ee-1,$e="right"}be&&De<11&&(mt=xs(a.display.measure,mt))}else{Ee>0&&($e=x="right");var vn;a.options.lineWrapping&&(vn=ie.getClientRects()).length>1?mt=vn[x=="right"?vn.length-1:0]:mt=ie.getBoundingClientRect()}if(be&&De<9&&!Ee&&(!mt||!mt.left&&!mt.right)){var Un=ie.parentNode.getClientRects()[0];Un?mt={left:Un.left,right:Un.left+kl(a.display),top:Un.top,bottom:Un.bottom}:mt=wl}for(var jn=mt.top-b.rect.top,wr=mt.bottom-b.rect.top,Vr=(jn+wr)/2,so=b.view.measure.heights,Eo=0;Eo<so.length-1&&!(Vr<so[Eo]);Eo++);var Xo=Eo?so[Eo-1]:0,xo=so[Eo],ri={left:($e=="right"?mt.right:mt.left)-b.rect.left,right:($e=="left"?mt.left:mt.right)-b.rect.left,top:Xo,bottom:xo};return!mt.left&&!mt.right&&(ri.bogus=!0),a.options.singleCursorHeightPerLine||(ri.rtop=jn,ri.rbottom=wr),ri}function xs(a,b){if(!window.screen||screen.logicalXDPI==null||screen.logicalXDPI==screen.deviceXDPI||!an(a))return b;var z=screen.logicalXDPI/screen.deviceXDPI,x=screen.logicalYDPI/screen.deviceYDPI;return{left:b.left*z,right:b.right*z,top:b.top*x,bottom:b.bottom*x}}function es(a){if(a.measure&&(a.measure.cache={},a.measure.heights=null,a.rest))for(var b=0;b<a.rest.length;b++)a.measure.caches[b]={}}function el(a){a.display.externalMeasure=null,Ge(a.display.lineMeasure);for(var b=0;b<a.display.view.length;b++)es(a.display.view[b])}function Kl(a){el(a),a.display.cachedCharWidth=a.display.cachedTextHeight=a.display.cachedPaddingH=null,a.options.lineWrapping||(a.display.maxLineChanged=!0),a.display.lineNumChars=null}function Ta(){return we&&Ce?-(document.body.getBoundingClientRect().left-parseInt(getComputedStyle(document.body).marginLeft)):window.pageXOffset||(document.documentElement||document.body).scrollLeft}function Ll(){return we&&Ce?-(document.body.getBoundingClientRect().top-parseInt(getComputedStyle(document.body).marginTop)):window.pageYOffset||(document.documentElement||document.body).scrollTop}function Tl(a){var b=0;if(a.widgets)for(var z=0;z<a.widgets.length;++z)a.widgets[z].above&&(b+=Gi(a.widgets[z]));return b}function tl(a,b,z,x,ee){if(!ee){var ie=Tl(b);z.top+=ie,z.bottom+=ie}if(x=="line")return z;x||(x="local");var Ee=wo(b);if(x=="local"?Ee+=Qr(a.display):Ee-=a.display.viewOffset,x=="page"||x=="window"){var Ke=a.display.lineSpace.getBoundingClientRect();Ee+=Ke.top+(x=="window"?0:Ll());var $e=Ke.left+(x=="window"?0:Ta());z.left+=$e,z.right+=$e}return z.top+=Ee,z.bottom+=Ee,z}function Ss(a,b,z){if(z=="div")return b;var x=b.left,ee=b.top;if(z=="page")x-=Ta(),ee-=Ll();else if(z=="local"||!z){var ie=a.display.sizer.getBoundingClientRect();x+=ie.left,ee+=ie.top}var Ee=a.display.lineSpace.getBoundingClientRect();return{left:x-Ee.left,top:ee-Ee.top}}function ts(a,b,z,x,ee){return x||(x=Bn(a.doc,b.line)),tl(a,x,us(a,x,b.ch,ee),z)}function Ja(a,b,z,x,ee,ie){x=x||Bn(a.doc,b.line),ee||(ee=_i(a,x));function Ee(wr,Vr){var so=Za(a,ee,wr,Vr?"right":"left",ie);return Vr?so.left=so.right:so.right=so.left,tl(a,x,so,z)}var Ke=_e(x,a.doc.direction),$e=b.ch,mt=b.sticky;if($e>=x.text.length?($e=x.text.length,mt="before"):$e<=0&&($e=0,mt="after"),!Ke)return Ee(mt=="before"?$e-1:$e,mt=="before");function rn(wr,Vr,so){var Eo=Ke[Vr],Xo=Eo.level==1;return Ee(so?wr-1:wr,Xo!=so)}var vn=gt(Ke,$e,mt),Un=dt,jn=rn($e,vn,mt=="before");return Un!=null&&(jn.other=rn($e,Un,mt!="before")),jn}function oa(a,b){var z=0;b=Bt(a.doc,b),a.options.lineWrapping||(z=kl(a.display)*b.ch);var x=Bn(a.doc,b.line),ee=wo(x)+Qr(a.display);return{left:z,right:z,top:ee,bottom:ee+x.height}}function Wi(a,b,z,x,ee){var ie=Et(a,b,z);return ie.xRel=ee,x&&(ie.outside=x),ie}function Ua(a,b,z){var x=a.doc;if(z+=a.display.viewOffset,z<0)return Wi(x.first,0,null,-1,-1);var ee=Jt(x,z),ie=x.first+x.size-1;if(ee>ie)return Wi(x.first+x.size-1,Bn(x,ie).text.length,null,1,1);b<0&&(b=0);for(var Ee=Bn(x,ee);;){var Ke=Nl(a,Ee,ee,b,z),$e=bn(Ee,Ke.ch+(Ke.xRel>0||Ke.outside>0?1:0));if(!$e)return Ke;var mt=$e.find(1);if(mt.line==ee)return mt;Ee=Bn(x,ee=mt.line)}}function fl(a,b,z,x){x-=Tl(b);var ee=b.text.length,ie=et(function(Ee){return Za(a,z,Ee-1).bottom<=x},ee,0);return ee=et(function(Ee){return Za(a,z,Ee).top>x},ie,ee),{begin:ie,end:ee}}function Va(a,b,z,x){z||(z=_i(a,b));var ee=tl(a,b,Za(a,z,x),"line").top;return fl(a,b,z,ee)}function Ga(a,b,z,x){return a.bottom<=z?!1:a.top>z?!0:(x?a.left:a.right)>b}function Nl(a,b,z,x,ee){ee-=wo(b);var ie=_i(a,b),Ee=Tl(b),Ke=0,$e=b.text.length,mt=!0,rn=_e(b,a.doc.direction);if(rn){var vn=(a.options.lineWrapping?Vl:Ml)(a,b,z,ie,rn,x,ee);mt=vn.level!=1,Ke=mt?vn.from:vn.to-1,$e=mt?vn.to:vn.from-1}var Un=null,jn=null,wr=et(function(Ii){var Ai=Za(a,ie,Ii);return Ai.top+=Ee,Ai.bottom+=Ee,Ga(Ai,x,ee,!1)?(Ai.top<=ee&&Ai.left<=x&&(Un=Ii,jn=Ai),!0):!1},Ke,$e),Vr,so,Eo=!1;if(jn){var Xo=x-jn.left<jn.right-x,xo=Xo==mt;wr=Un+(xo?0:1),so=xo?"after":"before",Vr=Xo?jn.left:jn.right}else{!mt&&(wr==$e||wr==Ke)&&wr++,so=wr==0?"after":wr==b.text.length?"before":Za(a,ie,wr-(mt?1:0)).bottom+Ee<=ee==mt?"after":"before";var ri=Ja(a,Et(z,wr,so),"line",b,ie);Vr=ri.left,Eo=ee<ri.top?-1:ee>=ri.bottom?1:0}return wr=pt(b.text,wr,1),Wi(z,wr,so,Eo,x-Vr)}function Ml(a,b,z,x,ee,ie,Ee){var Ke=et(function(vn){var Un=ee[vn],jn=Un.level!=1;return Ga(Ja(a,Et(z,jn?Un.to:Un.from,jn?"before":"after"),"line",b,x),ie,Ee,!0)},0,ee.length-1),$e=ee[Ke];if(Ke>0){var mt=$e.level!=1,rn=Ja(a,Et(z,mt?$e.from:$e.to,mt?"after":"before"),"line",b,x);Ga(rn,ie,Ee,!0)&&rn.top>Ee&&($e=ee[Ke-1])}return $e}function Vl(a,b,z,x,ee,ie,Ee){var Ke=fl(a,b,x,Ee),$e=Ke.begin,mt=Ke.end;/\s/.test(b.text.charAt(mt-1))&&mt--;for(var rn=null,vn=null,Un=0;Un<ee.length;Un++){var jn=ee[Un];if(!(jn.from>=mt||jn.to<=$e)){var wr=jn.level!=1,Vr=Za(a,x,wr?Math.min(mt,jn.to)-1:Math.max($e,jn.from)).right,so=Vr<ie?ie-Vr+1e9:Vr-ie;(!rn||vn>so)&&(rn=jn,vn=so)}}return rn||(rn=ee[ee.length-1]),rn.from<$e&&(rn={from:$e,to:rn.to,level:rn.level}),rn.to>mt&&(rn={from:rn.from,to:mt,level:rn.level}),rn}var hl;function Al(a){if(a.cachedTextHeight!=null)return a.cachedTextHeight;if(hl==null){hl=Oe("pre",null,"CodeMirror-line-like");for(var b=0;b<49;++b)hl.appendChild(document.createTextNode("x")),hl.appendChild(Oe("br"));hl.appendChild(document.createTextNode("x"))}ge(a.measure,hl);var z=hl.offsetHeight/50;return z>3&&(a.cachedTextHeight=z),Ge(a.measure),z||1}function kl(a){if(a.cachedCharWidth!=null)return a.cachedCharWidth;var b=Oe("span","xxxxxxxxxx"),z=Oe("pre",[b],"CodeMirror-line-like");ge(a.measure,z);var x=b.getBoundingClientRect(),ee=(x.right-x.left)/10;return ee>2&&(a.cachedCharWidth=ee),ee||10}function ns(a){for(var b=a.display,z={},x={},ee=b.gutters.clientLeft,ie=b.gutters.firstChild,Ee=0;ie;ie=ie.nextSibling,++Ee){var Ke=a.display.gutterSpecs[Ee].className;z[Ke]=ie.offsetLeft+ie.clientLeft+ee,x[Ke]=ie.clientWidth}return{fixedPos:Ls(b),gutterTotalWidth:b.gutters.offsetWidth,gutterLeft:z,gutterWidth:x,wrapperWidth:b.wrapper.clientWidth}}function Ls(a){return a.scroller.getBoundingClientRect().left-a.sizer.getBoundingClientRect().left}function Ts(a){var b=Al(a.display),z=a.options.lineWrapping,x=z&&Math.max(5,a.display.scroller.clientWidth/kl(a.display)-3);return function(ee){if(or(a.doc,ee))return 0;var ie=0;if(ee.widgets)for(var Ee=0;Ee<ee.widgets.length;Ee++)ee.widgets[Ee].height&&(ie+=ee.widgets[Ee].height);return z?ie+(Math.ceil(ee.text.length/x)||1)*b:ie+b}}function cs(a){var b=a.doc,z=Ts(a);b.iter(function(x){var ee=z(x);ee!=x.height&&dr(x,ee)})}function Ql(a,b,z,x){var ee=a.display;if(!z&&kt(b).getAttribute("cm-not-content")=="true")return null;var ie,Ee,Ke=ee.lineSpace.getBoundingClientRect();try{ie=b.clientX-Ke.left,Ee=b.clientY-Ke.top}catch(vn){return null}var $e=Ua(a,ie,Ee),mt;if(x&&$e.xRel>0&&(mt=Bn(a.doc,$e.line).text).length==$e.ch){var rn=We(mt,mt.length,a.options.tabSize)-mt.length;$e=Et($e.line,Math.max(0,Math.round((ie-Zi(a.display).left)/kl(a.display))-rn))}return $e}function Ul(a,b){if(b>=a.display.viewTo||(b-=a.display.viewFrom,b<0))return null;for(var z=a.display.view,x=0;x<z.length;x++)if(b-=z[x].size,b<0)return x}function al(a,b,z,x){b==null&&(b=a.doc.first),z==null&&(z=a.doc.first+a.doc.size),x||(x=0);var ee=a.display;if(x&&z<ee.viewTo&&(ee.updateLineNumbers==null||ee.updateLineNumbers>b)&&(ee.updateLineNumbers=b),a.curOp.viewChanged=!0,b>=ee.viewTo)$r&&Zn(a.doc,b)<ee.viewTo&&Yl(a);else if(z<=ee.viewFrom)$r&&Hn(a.doc,z+x)>ee.viewFrom?Yl(a):(ee.viewFrom+=x,ee.viewTo+=x);else if(b<=ee.viewFrom&&z>=ee.viewTo)Yl(a);else if(b<=ee.viewFrom){var ie=ws(a,z,z+x,1);ie?(ee.view=ee.view.slice(ie.index),ee.viewFrom=ie.lineN,ee.viewTo+=x):Yl(a)}else if(z>=ee.viewTo){var Ee=ws(a,b,b,-1);Ee?(ee.view=ee.view.slice(0,Ee.index),ee.viewTo=Ee.lineN):Yl(a)}else{var Ke=ws(a,b,b,-1),$e=ws(a,z,z+x,1);Ke&&$e?(ee.view=ee.view.slice(0,Ke.index).concat(Ji(a,Ke.lineN,$e.lineN)).concat(ee.view.slice($e.index)),ee.viewTo+=x):Yl(a)}var mt=ee.externalMeasured;mt&&(z<mt.lineN?mt.lineN+=x:b<mt.lineN+mt.size&&(ee.externalMeasured=null))}function Jl(a,b,z){a.curOp.viewChanged=!0;var x=a.display,ee=a.display.externalMeasured;if(ee&&b>=ee.lineN&&b<ee.lineN+ee.size&&(x.externalMeasured=null),!(b<x.viewFrom||b>=x.viewTo)){var ie=x.view[Ul(a,b)];if(ie.node!=null){var Ee=ie.changes||(ie.changes=[]);Dt(Ee,z)==-1&&Ee.push(z)}}}function Yl(a){a.display.viewFrom=a.display.viewTo=a.doc.first,a.display.view=[],a.display.viewOffset=0}function ws(a,b,z,x){var ee=Ul(a,b),ie,Ee=a.display.view;if(!$r||z==a.doc.first+a.doc.size)return{index:ee,lineN:z};for(var Ke=a.display.viewFrom,$e=0;$e<ee;$e++)Ke+=Ee[$e].size;if(Ke!=b){if(x>0){if(ee==Ee.length-1)return null;ie=Ke+Ee[ee].size-b,ee++}else ie=Ke-b;b+=ie,z+=ie}for(;Zn(a.doc,z)!=z;){if(ee==(x<0?0:Ee.length-1))return null;z+=x*Ee[ee-(x<0?1:0)].size,ee+=x}return{index:ee,lineN:z}}function Us(a,b,z){var x=a.display,ee=x.view;ee.length==0||b>=x.viewTo||z<=x.viewFrom?(x.view=Ji(a,b,z),x.viewFrom=b):(x.viewFrom>b?x.view=Ji(a,b,x.viewFrom).concat(x.view):x.viewFrom<b&&(x.view=x.view.slice(Ul(a,b))),x.viewFrom=b,x.viewTo<z?x.view=x.view.concat(Ji(a,x.viewTo,z)):x.viewTo>z&&(x.view=x.view.slice(0,Ul(a,z)))),x.viewTo=z}function As(a){for(var b=a.display.view,z=0,x=0;x<b.length;x++){var ee=b[x];!ee.hidden&&(!ee.node||ee.changes)&&++z}return z}function os(a){a.display.input.showSelection(a.display.input.prepareSelection())}function hu(a,b){b===void 0&&(b=!0);for(var z=a.doc,x={},ee=x.cursors=document.createDocumentFragment(),ie=x.selection=document.createDocumentFragment(),Ee=0;Ee<z.sel.ranges.length;Ee++)if(!(!b&&Ee==z.sel.primIndex)){var Ke=z.sel.ranges[Ee];if(!(Ke.from().line>=a.display.viewTo||Ke.to().line<a.display.viewFrom)){var $e=Ke.empty();($e||a.options.showCursorWhenSelecting)&&Ys(a,Ke.head,ee),$e||Su(a,Ke,ie)}}return x}function Ys(a,b,z){var x=Ja(a,b,"div",null,null,!a.options.singleCursorHeightPerLine),ee=z.appendChild(Oe("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 ie=z.appendChild(Oe("div","\xA0","CodeMirror-cursor CodeMirror-secondarycursor"));ie.style.display="",ie.style.left=x.other.left+"px",ie.style.top=x.other.top+"px",ie.style.height=(x.other.bottom-x.other.top)*.85+"px"}}function vs(a,b){return a.top-b.top||a.left-b.left}function Su(a,b,z){var x=a.display,ee=a.doc,ie=document.createDocumentFragment(),Ee=Zi(a.display),Ke=Ee.left,$e=Math.max(x.sizerWidth,xl(a)-x.sizer.offsetLeft)-Ee.right,mt=ee.direction=="ltr";function rn(xo,ri,Ii,Ai){ri<0&&(ri=0),ri=Math.round(ri),Ai=Math.round(Ai),ie.appendChild(Oe("div",null,"CodeMirror-selected","position: absolute; left: "+xo+`px;
top: `+ri+"px; width: "+(Ii==null?$e-xo:Ii)+`px;
height: `+(Ai-ri)+"px"))}function vn(xo,ri,Ii){var Ai=Bn(ee,xo),na=Ai.text.length,Wa,Cl;function Qa(cl,zl){return ts(a,Et(xo,cl),"div",Ai,zl)}function Xl(cl,zl,Fl){var ml=Va(a,Ai,null,cl),dl=zl=="ltr"==(Fl=="after")?"left":"right",$a=Fl=="after"?ml.begin:ml.end-(/\s/.test(Ai.text.charAt(ml.end-1))?2:1);return Qa($a,dl)[dl]}var Zl=_e(Ai,ee.direction);return tt(Zl,ri||0,Ii==null?na:Ii,function(cl,zl,Fl,ml){var dl=Fl=="ltr",$a=Qa(cl,dl?"left":"right"),jl=Qa(zl-1,dl?"right":"left"),$s=ri==null&&cl==0,Os=Ii==null&&zl==na,Pl=ml==0,ps=!Zl||ml==Zl.length-1;if(jl.top-$a.top<=3){var bl=(mt?$s:Os)&&Pl,Ou=(mt?Os:$s)&&ps,bs=bl?Ke:(dl?$a:jl).left,Ks=Ou?$e:(dl?jl:$a).right;rn(bs,$a.top,Ks-bs,$a.bottom)}else{var Vs,Ol,qs,Lu;dl?(Vs=mt&&$s&&Pl?Ke:$a.left,Ol=mt?$e:Xl(cl,Fl,"before"),qs=mt?Ke:Xl(zl,Fl,"after"),Lu=mt&&Os&&ps?$e:jl.right):(Vs=mt?Xl(cl,Fl,"before"):Ke,Ol=!mt&&$s&&Pl?$e:$a.right,qs=!mt&&Os&&ps?Ke:jl.left,Lu=mt?Xl(zl,Fl,"after"):$e),rn(Vs,$a.top,Ol-Vs,$a.bottom),$a.bottom<jl.top&&rn(Ke,$a.bottom,null,jl.top),rn(qs,jl.top,Lu-qs,jl.bottom)}(!Wa||vs($a,Wa)<0)&&(Wa=$a),vs(jl,Wa)<0&&(Wa=jl),(!Cl||vs($a,Cl)<0)&&(Cl=$a),vs(jl,Cl)<0&&(Cl=jl)}),{start:Wa,end:Cl}}var Un=b.from(),jn=b.to();if(Un.line==jn.line)vn(Un.line,Un.ch,jn.ch);else{var wr=Bn(ee,Un.line),Vr=Bn(ee,jn.line),so=Rn(wr)==Rn(Vr),Eo=vn(Un.line,Un.ch,so?wr.text.length+1:null).end,Xo=vn(jn.line,so?0:null,jn.ch).start;so&&(Eo.top<Xo.top-2?(rn(Eo.right,Eo.top,null,Eo.bottom),rn(Ke,Xo.top,Xo.left,Xo.bottom)):rn(Eo.right,Eo.top,Xo.left-Eo.right,Eo.bottom)),Eo.bottom<Xo.top&&rn(Ke,Eo.bottom,null,Xo.top)}z.appendChild(ie)}function Ns(a){if(a.state.focused){var b=a.display;clearInterval(b.blinker);var z=!0;b.cursorDiv.style.visibility="",a.options.cursorBlinkRate>0?b.blinker=setInterval(function(){a.hasFocus()||ds(a),b.cursorDiv.style.visibility=(z=!z)?"":"hidden"},a.options.cursorBlinkRate):a.options.cursorBlinkRate<0&&(b.cursorDiv.style.visibility="hidden")}}function pu(a){a.state.focused||(a.display.input.focus(),is(a))}function ks(a){a.state.delayingBlurEvent=!0,setTimeout(function(){a.state.delayingBlurEvent&&(a.state.delayingBlurEvent=!1,ds(a))},100)}function is(a,b){a.state.delayingBlurEvent&&(a.state.delayingBlurEvent=!1),a.options.readOnly!="nocursor"&&(a.state.focused||(tn(a,"focus",a,b),a.state.focused=!0,pe(a.display.wrapper,"CodeMirror-focused"),!a.curOp&&a.display.selForContextMenu!=a.doc.sel&&(a.display.input.reset(),ye&&setTimeout(function(){return a.display.input.reset(!0)},20)),a.display.input.receivedFocus()),Ns(a))}function ds(a,b){a.state.delayingBlurEvent||(a.state.focused&&(tn(a,"blur",a,b),a.state.focused=!1,Ne(a.display.wrapper,"CodeMirror-focused")),clearInterval(a.display.blinker),setTimeout(function(){a.state.focused||(a.display.shift=!1)},150))}function gi(a){for(var b=a.display,z=b.lineDiv.offsetTop,x=0;x<b.view.length;x++){var ee=b.view[x],ie=a.options.lineWrapping,Ee=void 0,Ke=0;if(!ee.hidden){if(be&&De<8){var $e=ee.node.offsetTop+ee.node.offsetHeight;Ee=$e-z,z=$e}else{var mt=ee.node.getBoundingClientRect();Ee=mt.bottom-mt.top,!ie&&ee.text.firstChild&&(Ke=ee.text.firstChild.getBoundingClientRect().right-mt.left-1)}var rn=ee.line.height-Ee;if((rn>.005||rn<-.005)&&(dr(ee.line,Ee),fs(ee.line),ee.rest))for(var vn=0;vn<ee.rest.length;vn++)fs(ee.rest[vn]);if(Ke>a.display.sizerWidth){var Un=Math.ceil(Ke/kl(a.display));Un>a.display.maxLineLength&&(a.display.maxLineLength=Un,a.display.maxLine=ee.line,a.display.maxLineChanged=!0)}}}}function fs(a){if(a.widgets)for(var b=0;b<a.widgets.length;++b){var z=a.widgets[b],x=z.node.parentNode;x&&(z.height=x.offsetHeight)}}function ae(a,b,z){var x=z&&z.top!=null?Math.max(0,z.top):a.scroller.scrollTop;x=Math.floor(x-Qr(a));var ee=z&&z.bottom!=null?z.bottom:x+a.wrapper.clientHeight,ie=Jt(b,x),Ee=Jt(b,ee);if(z&&z.ensure){var Ke=z.ensure.from.line,$e=z.ensure.to.line;Ke<ie?(ie=Ke,Ee=Jt(b,wo(Bn(b,Ke))+a.wrapper.clientHeight)):Math.min($e,b.lastLine())>=Ee&&(ie=Jt(b,wo(Bn(b,$e))-a.wrapper.clientHeight),Ee=$e)}return{from:ie,to:Math.max(Ee,ie+1)}}function He(a,b){if(!Vt(a,"scrollCursorIntoView")){var z=a.display,x=z.sizer.getBoundingClientRect(),ee=null;if(b.top+x.top<0?ee=!0:b.bottom+x.top>(window.innerHeight||document.documentElement.clientHeight)&&(ee=!1),ee!=null&&!ke){var ie=Oe("div","\u200B",null,`position: absolute;
top: `+(b.top-z.viewOffset-Qr(a.display))+`px;
height: `+(b.bottom-b.top+Ba(a)+z.barHeight)+`px;
left: `+b.left+"px; width: "+Math.max(2,b.right-b.left)+"px;");a.display.lineSpace.appendChild(ie),ie.scrollIntoView(ee),a.display.lineSpace.removeChild(ie)}}}function ct(a,b,z,x){x==null&&(x=0);var ee;!a.options.lineWrapping&&b==z&&(b=b.ch?Et(b.line,b.sticky=="before"?b.ch-1:b.ch,"after"):b,z=b.sticky=="before"?Et(b.line,b.ch+1,"before"):b);for(var ie=0;ie<5;ie++){var Ee=!1,Ke=Ja(a,b),$e=!z||z==b?Ke:Ja(a,z);ee={left:Math.min(Ke.left,$e.left),top:Math.min(Ke.top,$e.top)-x,right:Math.max(Ke.left,$e.left),bottom:Math.max(Ke.bottom,$e.bottom)+x};var mt=Pt(a,ee),rn=a.doc.scrollTop,vn=a.doc.scrollLeft;if(mt.scrollTop!=null&&(cr(a,mt.scrollTop),Math.abs(a.doc.scrollTop-rn)>1&&(Ee=!0)),mt.scrollLeft!=null&&(hr(a,mt.scrollLeft),Math.abs(a.doc.scrollLeft-vn)>1&&(Ee=!0)),!Ee)break}return ee}function Ft(a,b){var z=Pt(a,b);z.scrollTop!=null&&cr(a,z.scrollTop),z.scrollLeft!=null&&hr(a,z.scrollLeft)}function Pt(a,b){var z=a.display,x=Al(a.display);b.top<0&&(b.top=0);var ee=a.curOp&&a.curOp.scrollTop!=null?a.curOp.scrollTop:z.scroller.scrollTop,ie=ji(a),Ee={};b.bottom-b.top>ie&&(b.bottom=b.top+ie);var Ke=a.doc.height+Yo(z),$e=b.top<x,mt=b.bottom>Ke-x;if(b.top<ee)Ee.scrollTop=$e?0:b.top;else if(b.bottom>ee+ie){var rn=Math.min(b.top,(mt?Ke:b.bottom)-ie);rn!=ee&&(Ee.scrollTop=rn)}var vn=a.options.fixedGutter?0:z.gutters.offsetWidth,Un=a.curOp&&a.curOp.scrollLeft!=null?a.curOp.scrollLeft:z.scroller.scrollLeft-vn,jn=xl(a)-z.gutters.offsetWidth,wr=b.right-b.left>jn;return wr&&(b.right=b.left+jn),b.left<10?Ee.scrollLeft=0:b.left<Un?Ee.scrollLeft=Math.max(0,b.left+vn-(wr?0:10)):b.right>jn+Un-3&&(Ee.scrollLeft=b.right+(wr?0:10)-jn),Ee}function pn(a,b){b!=null&&(tr(a),a.curOp.scrollTop=(a.curOp.scrollTop==null?a.doc.scrollTop:a.curOp.scrollTop)+b)}function Dn(a){tr(a);var b=a.getCursor();a.curOp.scrollToPos={from:b,to:b,margin:a.options.cursorScrollMargin}}function Pn(a,b,z){(b!=null||z!=null)&&tr(a),b!=null&&(a.curOp.scrollLeft=b),z!=null&&(a.curOp.scrollTop=z)}function Xn(a,b){tr(a),a.curOp.scrollToPos=b}function tr(a){var b=a.curOp.scrollToPos;if(b){a.curOp.scrollToPos=null;var z=oa(a,b.from),x=oa(a,b.to);In(a,z,x,b.margin)}}function In(a,b,z,x){var ee=Pt(a,{left:Math.min(b.left,z.left),top:Math.min(b.top,z.top)-x,right:Math.max(b.right,z.right),bottom:Math.max(b.bottom,z.bottom)+x});Pn(a,ee.scrollLeft,ee.scrollTop)}function cr(a,b){Math.abs(a.doc.scrollTop-b)<2||(y||Di(a,{top:b}),pr(a,b,!0),y&&Di(a),ai(a,100))}function pr(a,b,z){b=Math.max(0,Math.min(a.display.scroller.scrollHeight-a.display.scroller.clientHeight,b)),!(a.display.scroller.scrollTop==b&&!z)&&(a.doc.scrollTop=b,a.display.scrollbars.setScrollTop(b),a.display.scroller.scrollTop!=b&&(a.display.scroller.scrollTop=b))}function hr(a,b,z,x){b=Math.max(0,Math.min(b,a.display.scroller.scrollWidth-a.display.scroller.clientWidth)),!((z?b==a.doc.scrollLeft:Math.abs(a.doc.scrollLeft-b)<2)&&!x)&&(a.doc.scrollLeft=b,ht(a),a.display.scroller.scrollLeft!=b&&(a.display.scroller.scrollLeft=b),a.display.scrollbars.setScrollLeft(b))}function fr(a){var b=a.display,z=b.gutters.offsetWidth,x=Math.round(a.doc.height+Yo(a.display));return{clientHeight:b.scroller.clientHeight,viewHeight:b.wrapper.clientHeight,scrollWidth:b.scroller.scrollWidth,clientWidth:b.scroller.clientWidth,viewWidth:b.wrapper.clientWidth,barLeft:a.options.fixedGutter?z:0,docHeight:x,scrollHeight:x+Ba(a)+b.barHeight,nativeBarWidth:b.nativeBarWidth,gutterWidth:z}}var Cr=function(a,b,z){this.cm=z;var x=this.vert=Oe("div",[Oe("div",null,null,"min-width: 1px")],"CodeMirror-vscrollbar"),ee=this.horiz=Oe("div",[Oe("div",null,null,"height: 100%; min-height: 1px")],"CodeMirror-hscrollbar");x.tabIndex=ee.tabIndex=-1,a(x),a(ee),en(x,"scroll",function(){x.clientHeight&&b(x.scrollTop,"vertical")}),en(ee,"scroll",function(){ee.clientWidth&&b(ee.scrollLeft,"horizontal")}),this.checkedZeroWidth=!1,be&&De<8&&(this.horiz.style.minHeight=this.vert.style.minWidth="18px")};Cr.prototype.update=function(a){var b=a.scrollWidth>a.clientWidth+1,z=a.scrollHeight>a.clientHeight+1,x=a.nativeBarWidth;if(z){this.vert.style.display="block",this.vert.style.bottom=b?x+"px":"0";var ee=a.viewHeight-(b?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(b){this.horiz.style.display="block",this.horiz.style.right=z?x+"px":"0",this.horiz.style.left=a.barLeft+"px";var ie=a.viewWidth-a.barLeft-(z?x:0);this.horiz.firstChild.style.width=Math.max(0,a.scrollWidth-a.clientWidth+ie)+"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:z?x:0,bottom:b?x:0}},Cr.prototype.setScrollLeft=function(a){this.horiz.scrollLeft!=a&&(this.horiz.scrollLeft=a),this.disableHoriz&&this.enableZeroWidthBar(this.horiz,this.disableHoriz,"horiz")},Cr.prototype.setScrollTop=function(a){this.vert.scrollTop!=a&&(this.vert.scrollTop=a),this.disableVert&&this.enableZeroWidthBar(this.vert,this.disableVert,"vert")},Cr.prototype.zeroWidthHack=function(){var a=ue&&!fe?"12px":"18px";this.horiz.style.height=this.vert.style.width=a,this.horiz.style.pointerEvents=this.vert.style.pointerEvents="none",this.disableHoriz=new Be,this.disableVert=new Be},Cr.prototype.enableZeroWidthBar=function(a,b,z){a.style.pointerEvents="auto";function x(){var ee=a.getBoundingClientRect(),ie=z=="vert"?document.elementFromPoint(ee.right-1,(ee.top+ee.bottom)/2):document.elementFromPoint((ee.right+ee.left)/2,ee.bottom-1);ie!=a?a.style.pointerEvents="none":b.set(1e3,x)}b.set(1e3,x)},Cr.prototype.clear=function(){var a=this.horiz.parentNode;a.removeChild(this.horiz),a.removeChild(this.vert)};var xr=function(){};xr.prototype.update=function(){return{bottom:0,right:0}},xr.prototype.setScrollLeft=function(){},xr.prototype.setScrollTop=function(){},xr.prototype.clear=function(){};function Sr(a,b){b||(b=fr(a));var z=a.display.barWidth,x=a.display.barHeight;qr(a,b);for(var ee=0;ee<4&&z!=a.display.barWidth||x!=a.display.barHeight;ee++)z!=a.display.barWidth&&a.options.lineWrapping&&gi(a),qr(a,fr(a)),z=a.display.barWidth,x=a.display.barHeight}function qr(a,b){var z=a.display,x=z.scrollbars.update(b);z.sizer.style.paddingRight=(z.barWidth=x.right)+"px",z.sizer.style.paddingBottom=(z.barHeight=x.bottom)+"px",z.heightForcer.style.borderBottom=x.bottom+"px solid transparent",x.right&&x.bottom?(z.scrollbarFiller.style.display="block",z.scrollbarFiller.style.height=x.bottom+"px",z.scrollbarFiller.style.width=x.right+"px"):z.scrollbarFiller.style.display="",x.bottom&&a.options.coverGutterNextToScrollbar&&a.options.fixedGutter?(z.gutterFiller.style.display="block",z.gutterFiller.style.height=x.bottom+"px",z.gutterFiller.style.width=b.gutterWidth+"px"):z.gutterFiller.style.display=""}var Kr={native:Cr,null:xr};function Br(a){a.display.scrollbars&&(a.display.scrollbars.clear(),a.display.scrollbars.addClass&&Ne(a.display.wrapper,a.display.scrollbars.addClass)),a.display.scrollbars=new Kr[a.options.scrollbarStyle](function(b){a.display.wrapper.insertBefore(b,a.display.scrollbarFiller),en(b,"mousedown",function(){a.state.focused&&setTimeout(function(){return a.display.input.focus()},0)}),b.setAttribute("cm-not-content","true")},function(b,z){z=="horizontal"?hr(a,b):cr(a,b)},a),a.display.scrollbars.addClass&&pe(a.display.wrapper,a.display.scrollbars.addClass)}var io=0;function zr(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:++io},Ho(a.curOp)}function Ur(a){var b=a.curOp;b&&bi(b,function(z){for(var x=0;x<z.ops.length;x++)z.ops[x].cm.curOp=null;Go(z)})}function Go(a){for(var b=a.ops,z=0;z<b.length;z++)So(b[z]);for(var x=0;x<b.length;x++)Po(b[x]);for(var ee=0;ee<b.length;ee++)bo(b[ee]);for(var ie=0;ie<b.length;ie++)ti(b[ie]);for(var Ee=0;Ee<b.length;Ee++)Oo(b[Ee])}function So(a){var b=a.cm,z=b.display;To(b),a.updateMaxLine&&ii(b),a.mustUpdate=a.viewChanged||a.forceUpdate||a.scrollTop!=null||a.scrollToPos&&(a.scrollToPos.from.line<z.viewFrom||a.scrollToPos.to.line>=z.viewTo)||z.maxLineChanged&&b.options.lineWrapping,a.update=a.mustUpdate&&new Fo(b,a.mustUpdate&&{top:a.scrollTop,ensure:a.scrollToPos},a.forceUpdate)}function Po(a){a.updatedDisplay=a.mustUpdate&&Bo(a.cm,a.update)}function bo(a){var b=a.cm,z=b.display;a.updatedDisplay&&gi(b),a.barMeasure=fr(b),z.maxLineChanged&&!b.options.lineWrapping&&(a.adjustWidthTo=us(b,z.maxLine,z.maxLine.text.length).left+3,b.display.sizerWidth=a.adjustWidthTo,a.barMeasure.scrollWidth=Math.max(z.scroller.clientWidth,z.sizer.offsetLeft+a.adjustWidthTo+Ba(b)+b.display.barWidth),a.maxScrollLeft=Math.max(0,z.sizer.offsetLeft+a.adjustWidthTo-xl(b))),(a.updatedDisplay||a.selectionChanged)&&(a.preparedSelection=z.input.prepareSelection())}function ti(a){var b=a.cm;a.adjustWidthTo!=null&&(b.display.sizer.style.minWidth=a.adjustWidthTo+"px",a.maxScrollLeft<b.doc.scrollLeft&&hr(b,Math.min(b.display.scroller.scrollLeft,a.maxScrollLeft),!0),b.display.maxLineChanged=!1);var z=a.focus&&a.focus==Le();a.preparedSelection&&b.display.input.showSelection(a.preparedSelection,z),(a.updatedDisplay||a.startHeight!=b.doc.height)&&Sr(b,a.barMeasure),a.updatedDisplay&&Ie(b,a.barMeasure),a.selectionChanged&&Ns(b),b.state.focused&&a.updateInput&&b.display.input.reset(a.typing),z&&pu(a.cm)}function Oo(a){var b=a.cm,z=b.display,x=b.doc;if(a.updatedDisplay&&li(b,a.update),z.wheelStartX!=null&&(a.scrollTop!=null||a.scrollLeft!=null||a.scrollToPos)&&(z.wheelStartX=z.wheelStartY=null),a.scrollTop!=null&&pr(b,a.scrollTop,a.forceScroll),a.scrollLeft!=null&&hr(b,a.scrollLeft,!0,!0),a.scrollToPos){var ee=ct(b,Bt(x,a.scrollToPos.from),Bt(x,a.scrollToPos.to),a.scrollToPos.margin);He(b,ee)}var ie=a.maybeHiddenMarkers,Ee=a.maybeUnhiddenMarkers;if(ie)for(var Ke=0;Ke<ie.length;++Ke)ie[Ke].lines.length||tn(ie[Ke],"hide");if(Ee)for(var $e=0;$e<Ee.length;++$e)Ee[$e].lines.length&&tn(Ee[$e],"unhide");z.wrapper.offsetHeight&&(x.scrollTop=b.display.scroller.scrollTop),a.changeObjs&&tn(b,"changes",b,a.changeObjs),a.update&&a.update.finish()}function uo(a,b){if(a.curOp)return b();zr(a);try{return b()}finally{Ur(a)}}function no(a,b){return function(){if(a.curOp)return b.apply(a,arguments);zr(a);try{return b.apply(a,arguments)}finally{Ur(a)}}}function mo(a){return function(){if(this.curOp)return a.apply(this,arguments);zr(this);try{return a.apply(this,arguments)}finally{Ur(this)}}}function fo(a){return function(){var b=this.cm;if(!b||b.curOp)return a.apply(this,arguments);zr(b);try{return a.apply(this,arguments)}finally{Ur(b)}}}function ai(a,b){a.doc.highlightFrontier<a.display.viewTo&&a.state.highlight.set(b,Ct(ni,a))}function ni(a){var b=a.doc;if(!(b.highlightFrontier>=a.display.viewTo)){var z=+new Date+a.options.workTime,x=Hr(a,b.highlightFrontier),ee=[];b.iter(x.line,Math.min(b.first+b.size,a.display.viewTo+500),function(ie){if(x.line>=a.display.viewFrom){var Ee=ie.styles,Ke=ie.text.length>a.options.maxHighlightLength?Qn(b.mode,x.state):null,$e=Vn(a,ie,x,!0);Ke&&(x.state=Ke),ie.styles=$e.styles;var mt=ie.styleClasses,rn=$e.classes;rn?ie.styleClasses=rn:mt&&(ie.styleClasses=null);for(var vn=!Ee||Ee.length!=ie.styles.length||mt!=rn&&(!mt||!rn||mt.bgClass!=rn.bgClass||mt.textClass!=rn.textClass),Un=0;!vn&&Un<Ee.length;++Un)vn=Ee[Un]!=ie.styles[Un];vn&&ee.push(x.line),ie.stateAfter=x.save(),x.nextLine()}else ie.text.length<=a.options.maxHighlightLength&&to(a,ie.text,x),ie.stateAfter=x.line%5==0?x.save():null,x.nextLine();if(+new Date>z)return ai(a,a.options.workDelay),!0}),b.highlightFrontier=x.line,b.modeFrontier=Math.max(b.modeFrontier,x.line),ee.length&&uo(a,function(){for(var ie=0;ie<ee.length;ie++)Jl(a,ee[ie],"text")})}}var Fo=function(a,b,z){var x=a.display;this.viewport=b,this.visible=ae(x,a.doc,b),this.editorIsHidden=!x.wrapper.offsetWidth,this.wrapperHeight=x.wrapper.clientHeight,this.wrapperWidth=x.wrapper.clientWidth,this.oldDisplayWidth=xl(a),this.force=z,this.dims=ns(a),this.events=[]};Fo.prototype.signal=function(a,b){sn(a,b)&&this.events.push(arguments)},Fo.prototype.finish=function(){for(var a=0;a<this.events.length;a++)tn.apply(null,this.events[a])};function To(a){var b=a.display;!b.scrollbarsClipped&&b.scroller.offsetWidth&&(b.nativeBarWidth=b.scroller.offsetWidth-b.scroller.clientWidth,b.heightForcer.style.height=Ba(a)+"px",b.sizer.style.marginBottom=-b.nativeBarWidth+"px",b.sizer.style.borderRightWidth=Ba(a)+"px",b.scrollbarsClipped=!0)}function co(a){if(a.hasFocus())return null;var b=Le();if(!b||!it(a.display.lineDiv,b))return null;var z={activeElt:b};if(window.getSelection){var x=window.getSelection();x.anchorNode&&x.extend&&it(a.display.lineDiv,x.anchorNode)&&(z.anchorNode=x.anchorNode,z.anchorOffset=x.anchorOffset,z.focusNode=x.focusNode,z.focusOffset=x.focusOffset)}return z}function Mo(a){if(!(!a||!a.activeElt||a.activeElt==Le())&&(a.activeElt.focus(),!/^(INPUT|TEXTAREA)$/.test(a.activeElt.nodeName)&&a.anchorNode&&it(document.body,a.anchorNode)&&it(document.body,a.focusNode))){var b=window.getSelection(),z=document.createRange();z.setEnd(a.anchorNode,a.anchorOffset),z.collapse(!1),b.removeAllRanges(),b.addRange(z),b.extend(a.focusNode,a.focusOffset)}}function Bo(a,b){var z=a.display,x=a.doc;if(b.editorIsHidden)return Yl(a),!1;if(!b.force&&b.visible.from>=z.viewFrom&&b.visible.to<=z.viewTo&&(z.updateLineNumbers==null||z.updateLineNumbers>=z.viewTo)&&z.renderedView==z.view&&As(a)==0)return!1;At(a)&&(Yl(a),b.dims=ns(a));var ee=x.first+x.size,ie=Math.max(b.visible.from-a.options.viewportMargin,x.first),Ee=Math.min(ee,b.visible.to+a.options.viewportMargin);z.viewFrom<ie&&ie-z.viewFrom<20&&(ie=Math.max(x.first,z.viewFrom)),z.viewTo>Ee&&z.viewTo-Ee<20&&(Ee=Math.min(ee,z.viewTo)),$r&&(ie=Zn(a.doc,ie),Ee=Hn(a.doc,Ee));var Ke=ie!=z.viewFrom||Ee!=z.viewTo||z.lastWrapHeight!=b.wrapperHeight||z.lastWrapWidth!=b.wrapperWidth;Us(a,ie,Ee),z.viewOffset=wo(Bn(a.doc,z.viewFrom)),a.display.mover.style.top=z.viewOffset+"px";var $e=As(a);if(!Ke&&$e==0&&!b.force&&z.renderedView==z.view&&(z.updateLineNumbers==null||z.updateLineNumbers>=z.viewTo))return!1;var mt=co(a);return $e>4&&(z.lineDiv.style.display="none"),Pi(a,z.updateLineNumbers,b.dims),$e>4&&(z.lineDiv.style.display=""),z.renderedView=z.view,Mo(mt),Ge(z.cursorDiv),Ge(z.selectionDiv),z.gutters.style.height=z.sizer.style.minHeight=0,Ke&&(z.lastWrapHeight=b.wrapperHeight,z.lastWrapWidth=b.wrapperWidth,ai(a,400)),z.updateLineNumbers=null,!0}function li(a,b){for(var z=b.viewport,x=!0;;x=!1){if(!x||!a.options.lineWrapping||b.oldDisplayWidth==xl(a)){if(z&&z.top!=null&&(z={top:Math.min(a.doc.height+Yo(a.display)-ji(a),z.top)}),b.visible=ae(a.display,a.doc,z),b.visible.from>=a.display.viewFrom&&b.visible.to<=a.display.viewTo)break}else x&&(b.visible=ae(a.display,a.doc,z));if(!Bo(a,b))break;gi(a);var ee=fr(a);os(a),Sr(a,ee),Ie(a,ee),b.force=!1}b.signal(a,"update",a),(a.display.viewFrom!=a.display.reportedViewFrom||a.display.viewTo!=a.display.reportedViewTo)&&(b.signal(a,"viewportChange",a,a.display.viewFrom,a.display.viewTo),a.display.reportedViewFrom=a.display.viewFrom,a.display.reportedViewTo=a.display.viewTo)}function Di(a,b){var z=new Fo(a,b);if(Bo(a,z)){gi(a),li(a,z);var x=fr(a);os(a),Sr(a,x),Ie(a,x),z.finish()}}function Pi(a,b,z){var x=a.display,ee=a.options.lineNumbers,ie=x.lineDiv,Ee=ie.firstChild;function Ke(wr){var Vr=wr.nextSibling;return ye&&ue&&a.display.currentWheelTarget==wr?wr.style.display="none":wr.parentNode.removeChild(wr),Vr}for(var $e=x.view,mt=x.viewFrom,rn=0;rn<$e.length;rn++){var vn=$e[rn];if(!vn.hidden)if(!vn.node||vn.node.parentNode!=ie){var Un=di(a,vn,mt,z);ie.insertBefore(Un,Ee)}else{for(;Ee!=vn.node;)Ee=Ke(Ee);var jn=ee&&b!=null&&b<=mt&&vn.lineNumber;vn.changes&&(Dt(vn.changes,"gutter")>-1&&(jn=!1),Ha(a,vn,mt,z)),jn&&(Ge(vn.lineNumber),vn.lineNumber.appendChild(document.createTextNode(Tt(a.options,mt)))),Ee=vn.node.nextSibling}mt+=vn.size}for(;Ee;)Ee=Ke(Ee)}function Te(a){var b=a.gutters.offsetWidth;a.sizer.style.marginLeft=b+"px"}function Ie(a,b){a.display.sizer.style.minHeight=b.docHeight+"px",a.display.heightForcer.style.top=b.docHeight+"px",a.display.gutters.style.height=b.docHeight+a.display.barHeight+Ba(a)+"px"}function ht(a){var b=a.display,z=b.view;if(!(!b.alignWidgets&&(!b.gutters.firstChild||!a.options.fixedGutter))){for(var x=Ls(b)-b.scroller.scrollLeft+a.doc.scrollLeft,ee=b.gutters.offsetWidth,ie=x+"px",Ee=0;Ee<z.length;Ee++)if(!z[Ee].hidden){a.options.fixedGutter&&(z[Ee].gutter&&(z[Ee].gutter.style.left=ie),z[Ee].gutterBackground&&(z[Ee].gutterBackground.style.left=ie));var Ke=z[Ee].alignable;if(Ke)for(var $e=0;$e<Ke.length;$e++)Ke[$e].style.left=ie}a.options.fixedGutter&&(b.gutters.style.left=x+ee+"px")}}function At(a){if(!a.options.lineNumbers)return!1;var b=a.doc,z=Tt(a.options,b.first+b.size-1),x=a.display;if(z.length!=x.lineNumChars){var ee=x.measure.appendChild(Oe("div",[Oe("div",z)],"CodeMirror-linenumber CodeMirror-gutter-elt")),ie=ee.firstChild.offsetWidth,Ee=ee.offsetWidth-ie;return x.lineGutter.style.width="",x.lineNumInnerWidth=Math.max(ie,x.lineGutter.offsetWidth-Ee)+1,x.lineNumWidth=x.lineNumInnerWidth+Ee,x.lineNumChars=x.lineNumInnerWidth?z.length:-1,x.lineGutter.style.width=x.lineNumWidth+"px",Te(a.display),!0}return!1}function Nt(a,b){for(var z=[],x=!1,ee=0;ee<a.length;ee++){var ie=a[ee],Ee=null;if(typeof ie!="string"&&(Ee=ie.style,ie=ie.className),ie=="CodeMirror-linenumbers")if(b)x=!0;else continue;z.push({className:ie,style:Ee})}return b&&!x&&z.push({className:"CodeMirror-linenumbers",style:null}),z}function Gt(a){var b=a.gutters,z=a.gutterSpecs;Ge(b),a.lineGutter=null;for(var x=0;x<z.length;++x){var ee=z[x],ie=ee.className,Ee=ee.style,Ke=b.appendChild(Oe("div",null,"CodeMirror-gutter "+ie));Ee&&(Ke.style.cssText=Ee),ie=="CodeMirror-linenumbers"&&(a.lineGutter=Ke,Ke.style.width=(a.lineNumWidth||1)+"px")}b.style.display=z.length?"":"none",Te(a)}function fn(a){Gt(a.display),al(a),ht(a)}function on(a,b,z,x){var ee=this;this.input=z,ee.scrollbarFiller=Oe("div",null,"CodeMirror-scrollbar-filler"),ee.scrollbarFiller.setAttribute("cm-not-content","true"),ee.gutterFiller=Oe("div",null,"CodeMirror-gutter-filler"),ee.gutterFiller.setAttribute("cm-not-content","true"),ee.lineDiv=Ve("div",null,"CodeMirror-code"),ee.selectionDiv=Oe("div",null,null,"position: relative; z-index: 1"),ee.cursorDiv=Oe("div",null,"CodeMirror-cursors"),ee.measure=Oe("div",null,"CodeMirror-measure"),ee.lineMeasure=Oe("div",null,"CodeMirror-measure"),ee.lineSpace=Ve("div",[ee.measure,ee.lineMeasure,ee.selectionDiv,ee.cursorDiv,ee.lineDiv],null,"position: relative; outline: none");var ie=Ve("div",[ee.lineSpace],"CodeMirror-lines");ee.mover=Oe("div",[ie],null,"position: relative"),ee.sizer=Oe("div",[ee.mover],"CodeMirror-sizer"),ee.sizerWidth=null,ee.heightForcer=Oe("div",null,null,"position: absolute; height: "+Zt+"px; width: 1px;"),ee.gutters=Oe("div",null,"CodeMirror-gutters"),ee.lineGutter=null,ee.scroller=Oe("div",[ee.sizer,ee.heightForcer,ee.gutters],"CodeMirror-scroll"),ee.scroller.setAttribute("tabIndex","-1"),ee.wrapper=Oe("div",[ee.scrollbarFiller,ee.gutterFiller,ee.scroller],"CodeMirror"),be&&De<8&&(ee.gutters.style.zIndex=-1,ee.scroller.style.paddingRight=0),!ye&&!(y&&me)&&(ee.scroller.draggable=!0),a&&(a.appendChild?a.appendChild(ee.wrapper):a(ee.wrapper)),ee.viewFrom=ee.viewTo=b.first,ee.reportedViewFrom=ee.reportedViewTo=b.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=Nt(x.gutters,x.lineNumbers),Gt(ee),z.init(ee)}var gn=0,Sn=null;be?Sn=-.53:y?Sn=15:we?Sn=-.7:Ye&&(Sn=-1/3);function Wn(a){var b=a.wheelDeltaX,z=a.wheelDeltaY;return b==null&&a.detail&&a.axis==a.HORIZONTAL_AXIS&&(b=a.detail),z==null&&a.detail&&a.axis==a.VERTICAL_AXIS?z=a.detail:z==null&&(z=a.wheelDelta),{x:b,y:z}}function Tn(a){var b=Wn(a);return b.x*=Sn,b.y*=Sn,b}function On(a,b){var z=Wn(b),x=z.x,ee=z.y,ie=a.display,Ee=ie.scroller,Ke=Ee.scrollWidth>Ee.clientWidth,$e=Ee.scrollHeight>Ee.clientHeight;if(x&&Ke||ee&&$e){if(ee&&ue&&ye){e:for(var mt=b.target,rn=ie.view;mt!=Ee;mt=mt.parentNode)for(var vn=0;vn<rn.length;vn++)if(rn[vn].node==mt){a.display.currentWheelTarget=mt;break e}}if(x&&!y&&!se&&Sn!=null){ee&&$e&&cr(a,Math.max(0,Ee.scrollTop+ee*Sn)),hr(a,Math.max(0,Ee.scrollLeft+x*Sn)),(!ee||ee&&$e)&&Lt(b),ie.wheelStartX=null;return}if(ee&&Sn!=null){var Un=ee*Sn,jn=a.doc.scrollTop,wr=jn+ie.wrapper.clientHeight;Un<0?jn=Math.max(0,jn+Un-50):wr=Math.min(a.doc.height,wr+Un+50),Di(a,{top:jn,bottom:wr})}gn<20&&(ie.wheelStartX==null?(ie.wheelStartX=Ee.scrollLeft,ie.wheelStartY=Ee.scrollTop,ie.wheelDX=x,ie.wheelDY=ee,setTimeout(function(){if(ie.wheelStartX!=null){var Vr=Ee.scrollLeft-ie.wheelStartX,so=Ee.scrollTop-ie.wheelStartY,Eo=so&&ie.wheelDY&&so/ie.wheelDY||Vr&&ie.wheelDX&&Vr/ie.wheelDX;ie.wheelStartX=ie.wheelStartY=null,Eo&&(Sn=(Sn*gn+Eo)/(gn+1),++gn)}},200)):(ie.wheelDX+=x,ie.wheelDY+=ee))}}var Fn=function(a,b){this.ranges=a,this.primIndex=b};Fn.prototype.primary=function(){return this.ranges[this.primIndex]},Fn.prototype.equals=function(a){if(a==this)return!0;if(a.primIndex!=this.primIndex||a.ranges.length!=this.ranges.length)return!1;for(var b=0;b<this.ranges.length;b++){var z=this.ranges[b],x=a.ranges[b];if(!ot(z.anchor,x.anchor)||!ot(z.head,x.head))return!1}return!0},Fn.prototype.deepCopy=function(){for(var a=[],b=0;b<this.ranges.length;b++)a[b]=new wn(Xt(this.ranges[b].anchor),Xt(this.ranges[b].head));return new Fn(a,this.primIndex)},Fn.prototype.somethingSelected=function(){for(var a=0;a<this.ranges.length;a++)if(!this.ranges[a].empty())return!0;return!1},Fn.prototype.contains=function(a,b){b||(b=a);for(var z=0;z<this.ranges.length;z++){var x=this.ranges[z];if(Ht(b,x.from())>=0&&Ht(a,x.to())<=0)return z}return-1};var wn=function(a,b){this.anchor=a,this.head=b};wn.prototype.from=function(){return Kt(this.anchor,this.head)},wn.prototype.to=function(){return nn(this.anchor,this.head)},wn.prototype.empty=function(){return this.head.line==this.anchor.line&&this.head.ch==this.anchor.ch};function vr(a,b,z){var x=a&&a.options.selectionsMayTouch,ee=b[z];b.sort(function(Un,jn){return Ht(Un.from(),jn.from())}),z=Dt(b,ee);for(var ie=1;ie<b.length;ie++){var Ee=b[ie],Ke=b[ie-1],$e=Ht(Ke.to(),Ee.from());if(x&&!Ee.empty()?$e>0:$e>=0){var mt=Kt(Ke.from(),Ee.from()),rn=nn(Ke.to(),Ee.to()),vn=Ke.empty()?Ee.from()==Ee.head:Ke.from()==Ke.head;ie<=z&&--z,b.splice(--ie,2,new wn(vn?rn:mt,vn?mt:rn))}}return new Fn(b,z)}function qn(a,b){return new Fn([new wn(a,b||a)],0)}function Ar(a){return a.text?Et(a.from.line+a.text.length-1,xt(a.text).length+(a.text.length==1?a.from.ch:0)):a.to}function br(a,b){if(Ht(a,b.from)<0)return a;if(Ht(a,b.to)<=0)return Ar(b);var z=a.line+b.text.length-(b.to.line-b.from.line)-1,x=a.ch;return a.line==b.to.line&&(x+=Ar(b).ch-b.to.ch),Et(z,x)}function Tr(a,b){for(var z=[],x=0;x<a.sel.ranges.length;x++){var ee=a.sel.ranges[x];z.push(new wn(br(ee.anchor,b),br(ee.head,b)))}return vr(a.cm,z,a.sel.primIndex)}function Dr(a,b,z){return a.line==b.line?Et(z.line,a.ch-b.ch+z.ch):Et(z.line+(a.line-b.line),a.ch)}function Pr(a,b,z){for(var x=[],ee=Et(a.first,0),ie=ee,Ee=0;Ee<b.length;Ee++){var Ke=b[Ee],$e=Dr(Ke.from,ee,ie),mt=Dr(Ar(Ke),ee,ie);if(ee=Ke.to,ie=mt,z=="around"){var rn=a.sel.ranges[Ee],vn=Ht(rn.head,rn.anchor)<0;x[Ee]=new wn(vn?mt:$e,vn?$e:mt)}else x[Ee]=new wn($e,$e)}return new Fn(x,a.sel.primIndex)}function Wr(a){a.doc.mode=$n(a.options,a.doc.modeOption),Gr(a)}function Gr(a){a.doc.iter(function(b){b.stateAfter&&(b.stateAfter=null),b.styles&&(b.styles=null)}),a.doc.modeFrontier=a.doc.highlightFrontier=a.doc.first,ai(a,100),a.state.modeGen++,a.curOp&&al(a)}function Jr(a,b){return b.from.ch==0&&b.to.ch==0&&xt(b.text)==""&&(!a.cm||a.cm.options.wholeLineUpdateBefore)}function Io(a,b,z,x){function ee(Xo){return z?z[Xo]:null}function ie(Xo,xo,ri){vi(Xo,xo,ri,x),_o(Xo,"change",Xo,b)}function Ee(Xo,xo){for(var ri=[],Ii=Xo;Ii<xo;++Ii)ri.push(new oi(mt[Ii],ee(Ii),x));return ri}var Ke=b.from,$e=b.to,mt=b.text,rn=Bn(a,Ke.line),vn=Bn(a,$e.line),Un=xt(mt),jn=ee(mt.length-1),wr=$e.line-Ke.line;if(b.full)a.insert(0,Ee(0,mt.length)),a.remove(mt.length,a.size-mt.length);else if(Jr(a,b)){var Vr=Ee(0,mt.length-1);ie(vn,vn.text,jn),wr&&a.remove(Ke.line,wr),Vr.length&&a.insert(Ke.line,Vr)}else if(rn==vn)if(mt.length==1)ie(rn,rn.text.slice(0,Ke.ch)+Un+rn.text.slice($e.ch),jn);else{var so=Ee(1,mt.length-1);so.push(new oi(Un+rn.text.slice($e.ch),jn,x)),ie(rn,rn.text.slice(0,Ke.ch)+mt[0],ee(0)),a.insert(Ke.line+1,so)}else if(mt.length==1)ie(rn,rn.text.slice(0,Ke.ch)+mt[0]+vn.text.slice($e.ch),ee(0)),a.remove(Ke.line+1,wr);else{ie(rn,rn.text.slice(0,Ke.ch)+mt[0],ee(0)),ie(vn,Un+vn.text.slice($e.ch),jn);var Eo=Ee(1,mt.length-1);wr>1&&a.remove(Ke.line+1,wr-1),a.insert(Ke.line+1,Eo)}_o(a,"change",a,b)}function Mr(a,b,z){function x(ee,ie,Ee){if(ee.linked)for(var Ke=0;Ke<ee.linked.length;++Ke){var $e=ee.linked[Ke];if($e.doc!=ie){var mt=Ee&&$e.sharedHist;z&&!mt||(b($e.doc,mt),x($e.doc,ee,mt))}}}x(a,null,!0)}function Fr(a,b){if(b.cm)throw new Error("This document is already in use.");a.doc=b,b.cm=a,cs(a),Wr(a),jr(a),a.options.lineWrapping||ii(a),a.options.mode=b.modeOption,al(a)}function jr(a){(a.doc.direction=="rtl"?pe:Ne)(a.display.lineDiv,"CodeMirror-rtl")}function lr(a){uo(a,function(){jr(a),al(a)})}function ar(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 Zr(a,b){var z={from:Xt(b.from),to:Ar(b),text:Mn(a,b.from,b.to)};return pa(a,z,b.from.line,b.to.line+1),Mr(a,function(x){return pa(x,z,b.from.line,b.to.line+1)},!0),z}function Xr(a){for(;a.length;){var b=xt(a);if(b.ranges)a.pop();else break}}function lo(a,b){if(b)return Xr(a.done),xt(a.done);if(a.done.length&&!xt(a.done).ranges)return xt(a.done);if(a.done.length>1&&!a.done[a.done.length-2].ranges)return a.done.pop(),xt(a.done)}function Lo(a,b,z,x){var ee=a.history;ee.undone.length=0;var ie=+new Date,Ee,Ke;if((ee.lastOp==x||ee.lastOrigin==b.origin&&b.origin&&(b.origin.charAt(0)=="+"&&ee.lastModTime>ie-(a.cm?a.cm.options.historyEventDelay:500)||b.origin.charAt(0)=="*"))&&(Ee=lo(ee,ee.lastOp==x)))Ke=xt(Ee.changes),Ht(b.from,b.to)==0&&Ht(b.from,Ke.to)==0?Ke.to=Ar(b):Ee.changes.push(Zr(a,b));else{var $e=xt(ee.done);for((!$e||!$e.ranges)&&xi(a.sel,ee.done),Ee={changes:[Zr(a,b)],generation:ee.generation},ee.done.push(Ee);ee.done.length>ee.undoDepth;)ee.done.shift(),ee.done[0].ranges||ee.done.shift()}ee.done.push(z),ee.generation=++ee.maxGeneration,ee.lastModTime=ee.lastSelTime=ie,ee.lastOp=ee.lastSelOp=x,ee.lastOrigin=ee.lastSelOrigin=b.origin,Ke||tn(a,"historyAdded")}function _r(a,b,z,x){var ee=b.charAt(0);return ee=="*"||ee=="+"&&z.ranges.length==x.ranges.length&&z.somethingSelected()==x.somethingSelected()&&new Date-a.history.lastSelTime<=(a.cm?a.cm.options.historyEventDelay:500)}function Fi(a,b,z,x){var ee=a.history,ie=x&&x.origin;z==ee.lastSelOp||ie&&ee.lastSelOrigin==ie&&(ee.lastModTime==ee.lastSelTime&&ee.lastOrigin==ie||_r(a,ie,xt(ee.done),b))?ee.done[ee.done.length-1]=b:xi(b,ee.done),ee.lastSelTime=+new Date,ee.lastSelOrigin=ie,ee.lastSelOp=z,x&&x.clearRedo!==!1&&Xr(ee.undone)}function xi(a,b){var z=xt(b);z&&z.ranges&&z.equals(a)||b.push(a)}function pa(a,b,z,x){var ee=b["spans_"+a.id],ie=0;a.iter(Math.max(a.first,z),Math.min(a.first+a.size,x),function(Ee){Ee.markedSpans&&((ee||(ee=b["spans_"+a.id]={}))[ie]=Ee.markedSpans),++ie})}function Qi(a){if(!a)return null;for(var b,z=0;z<a.length;++z)a[z].marker.explicitlyCleared?b||(b=a.slice(0,z)):b&&b.push(a[z]);return b?b.length?b:null:a}function ua(a,b){var z=b["spans_"+a.id];if(!z)return null;for(var x=[],ee=0;ee<b.text.length;++ee)x.push(Qi(z[ee]));return x}function ga(a,b){var z=ua(a,b),x=ui(a,b);if(!z)return x;if(!x)return z;for(var ee=0;ee<z.length;++ee){var ie=z[ee],Ee=x[ee];if(ie&&Ee)e:for(var Ke=0;Ke<Ee.length;++Ke){for(var $e=Ee[Ke],mt=0;mt<ie.length;++mt)if(ie[mt].marker==$e.marker)continue e;ie.push($e)}else Ee&&(z[ee]=Ee)}return z}function Ca(a,b,z){for(var x=[],ee=0;ee<a.length;++ee){var ie=a[ee];if(ie.ranges){x.push(z?Fn.prototype.deepCopy.call(ie):ie);continue}var Ee=ie.changes,Ke=[];x.push({changes:Ke});for(var $e=0;$e<Ee.length;++$e){var mt=Ee[$e],rn=void 0;if(Ke.push({from:mt.from,to:mt.to,text:mt.text}),b)for(var vn in mt)(rn=vn.match(/^spans_(\d+)$/))&&Dt(b,Number(rn[1]))>-1&&(xt(Ke)[vn]=mt[vn],delete mt[vn])}}return x}function Ri(a,b,z,x){if(x){var ee=a.anchor;if(z){var ie=Ht(b,ee)<0;ie!=Ht(z,ee)<0?(ee=b,b=z):ie!=Ht(b,z)<0&&(b=z)}return new wn(ee,b)}else return new wn(z||b,b)}function Ni(a,b,z,x,ee){ee==null&&(ee=a.cm&&(a.cm.display.shift||a.extend)),go(a,new Fn([Ri(a.sel.primary(),b,z,ee)],0),x)}function Pa(a,b,z){for(var x=[],ee=a.cm&&(a.cm.display.shift||a.extend),ie=0;ie<a.sel.ranges.length;ie++)x[ie]=Ri(a.sel.ranges[ie],b[ie],null,ee);var Ee=vr(a.cm,x,a.sel.primIndex);go(a,Ee,z)}function Ia(a,b,z,x){var ee=a.sel.ranges.slice(0);ee[b]=z,go(a,vr(a.cm,ee,a.sel.primIndex),x)}function Ko(a,b,z,x){go(a,qn(b,z),x)}function Si(a,b,z){var x={ranges:b.ranges,update:function(ee){this.ranges=[];for(var ie=0;ie<ee.length;ie++)this.ranges[ie]=new wn(Bt(a,ee[ie].anchor),Bt(a,ee[ie].head))},origin:z&&z.origin};return tn(a,"beforeSelectionChange",a,x),a.cm&&tn(a.cm,"beforeSelectionChange",a.cm,x),x.ranges!=b.ranges?vr(a.cm,x.ranges,x.ranges.length-1):b}function zo(a,b,z){var x=a.history.done,ee=xt(x);ee&&ee.ranges?(x[x.length-1]=b,Vi(a,b,z)):go(a,b,z)}function go(a,b,z){Vi(a,b,z),Fi(a,a.sel,a.cm?a.cm.curOp.id:NaN,z)}function Vi(a,b,z){(sn(a,"beforeSelectionChange")||a.cm&&sn(a.cm,"beforeSelectionChange"))&&(b=Si(a,b,z));var x=z&&z.bias||(Ht(b.primary().head,a.sel.primary().head)<0?-1:1);qi(a,ea(a,b,x,!0)),!(z&&z.scroll===!1)&&a.cm&&Dn(a.cm)}function qi(a,b){b.equals(a.sel)||(a.sel=b,a.cm&&(a.cm.curOp.updateInput=1,a.cm.curOp.selectionChanged=!0,Qt(a.cm)),_o(a,"cursorActivity",a))}function ba(a){qi(a,ea(a,a.sel,null,!1))}function ea(a,b,z,x){for(var ee,ie=0;ie<b.ranges.length;ie++){var Ee=b.ranges[ie],Ke=b.ranges.length==a.sel.ranges.length&&a.sel.ranges[ie],$e=Da(a,Ee.anchor,Ke&&Ke.anchor,z,x),mt=Da(a,Ee.head,Ke&&Ke.head,z,x);(ee||$e!=Ee.anchor||mt!=Ee.head)&&(ee||(ee=b.ranges.slice(0,ie)),ee[ie]=new wn($e,mt))}return ee?vr(a.cm,ee,b.primIndex):b}function Oa(a,b,z,x,ee){var ie=Bn(a,b.line);if(ie.markedSpans)for(var Ee=0;Ee<ie.markedSpans.length;++Ee){var Ke=ie.markedSpans[Ee],$e=Ke.marker,mt="selectLeft"in $e?!$e.selectLeft:$e.inclusiveLeft,rn="selectRight"in $e?!$e.selectRight:$e.inclusiveRight;if((Ke.from==null||(mt?Ke.from<=b.ch:Ke.from<b.ch))&&(Ke.to==null||(rn?Ke.to>=b.ch:Ke.to>b.ch))){if(ee&&(tn($e,"beforeCursorEnter"),$e.explicitlyCleared))if(ie.markedSpans){--Ee;continue}else break;if(!$e.atomic)continue;if(z){var vn=$e.find(x<0?1:-1),Un=void 0;if((x<0?rn:mt)&&(vn=Jo(a,vn,-x,vn&&vn.line==b.line?ie:null)),vn&&vn.line==b.line&&(Un=Ht(vn,z))&&(x<0?Un<0:Un>0))return Oa(a,vn,b,x,ee)}var jn=$e.find(x<0?-1:1);return(x<0?mt:rn)&&(jn=Jo(a,jn,x,jn.line==b.line?ie:null)),jn?Oa(a,jn,b,x,ee):null}}return b}function Da(a,b,z,x,ee){var ie=x||1,Ee=Oa(a,b,z,ie,ee)||!ee&&Oa(a,b,z,ie,!0)||Oa(a,b,z,-ie,ee)||!ee&&Oa(a,b,z,-ie,!0);return Ee||(a.cantEdit=!0,Et(a.first,0))}function Jo(a,b,z,x){return z<0&&b.ch==0?b.line>a.first?Bt(a,Et(b.line-1)):null:z>0&&b.ch==(x||Bn(a,b.line)).text.length?b.line<a.first+a.size-1?Et(b.line+1,0):null:new Et(b.line,b.ch+z)}function si(a){a.setSelection(Et(a.firstLine(),0),Et(a.lastLine()),Se)}function ta(a,b,z){var x={canceled:!1,from:b.from,to:b.to,text:b.text,origin:b.origin,cancel:function(){return x.canceled=!0}};return z&&(x.update=function(ee,ie,Ee,Ke){ee&&(x.from=Bt(a,ee)),ie&&(x.to=Bt(a,ie)),Ee&&(x.text=Ee),Ke!==void 0&&(x.origin=Ke)}),tn(a,"beforeChange",a,x),a.cm&&tn(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 ca(a,b,z){if(a.cm){if(!a.cm.curOp)return no(a.cm,ca)(a,b,z);if(a.cm.state.suppressEdits)return}if(!((sn(a,"beforeChange")||a.cm&&sn(a.cm,"beforeChange"))&&(b=ta(a,b,!0),!b))){var x=eo&&!z&&$o(a,b.from,b.to);if(x)for(var ee=x.length-1;ee>=0;--ee)da(a,{from:x[ee].from,to:x[ee].to,text:ee?[""]:b.text,origin:b.origin});else da(a,b)}}function da(a,b){if(!(b.text.length==1&&b.text[0]==""&&Ht(b.from,b.to)==0)){var z=Tr(a,b);Lo(a,b,z,a.cm?a.cm.curOp.id:NaN),Xa(a,b,z,ui(a,b));var x=[];Mr(a,function(ee,ie){!ie&&Dt(x,ee.history)==-1&&(Ra(ee.history,b),x.push(ee.history)),Xa(ee,b,null,ui(ee,b))})}}function za(a,b,z){var x=a.cm&&a.cm.state.suppressEdits;if(!(x&&!z)){for(var ee=a.history,ie,Ee=a.sel,Ke=b=="undo"?ee.done:ee.undone,$e=b=="undo"?ee.undone:ee.done,mt=0;mt<Ke.length&&(ie=Ke[mt],!(z?ie.ranges&&!ie.equals(a.sel):!ie.ranges));mt++);if(mt!=Ke.length){for(ee.lastOrigin=ee.lastSelOrigin=null;;)if(ie=Ke.pop(),ie.ranges){if(xi(ie,$e),z&&!ie.equals(a.sel)){go(a,ie,{clearRedo:!1});return}Ee=ie}else if(x){Ke.push(ie);return}else break;var rn=[];xi(Ee,$e),$e.push({changes:rn,generation:ee.generation}),ee.generation=ie.generation||++ee.maxGeneration;for(var vn=sn(a,"beforeChange")||a.cm&&sn(a.cm,"beforeChange"),Un=function(Vr){var so=ie.changes[Vr];if(so.origin=b,vn&&!ta(a,so,!1))return Ke.length=0,{};rn.push(Zr(a,so));var Eo=Vr?Tr(a,so):xt(Ke);Xa(a,so,Eo,ga(a,so)),!Vr&&a.cm&&a.cm.scrollIntoView({from:so.from,to:Ar(so)});var Xo=[];Mr(a,function(xo,ri){!ri&&Dt(Xo,xo.history)==-1&&(Ra(xo.history,so),Xo.push(xo.history)),Xa(xo,so,null,ga(xo,so))})},jn=ie.changes.length-1;jn>=0;--jn){var wr=Un(jn);if(wr)return wr.v}}}}function Ea(a,b){if(b!=0&&(a.first+=b,a.sel=new Fn($t(a.sel.ranges,function(ee){return new wn(Et(ee.anchor.line+b,ee.anchor.ch),Et(ee.head.line+b,ee.head.ch))}),a.sel.primIndex),a.cm)){al(a.cm,a.first,a.first-b,b);for(var z=a.cm.display,x=z.viewFrom;x<z.viewTo;x++)Jl(a.cm,x,"gutter")}}function Xa(a,b,z,x){if(a.cm&&!a.cm.curOp)return no(a.cm,Xa)(a,b,z,x);if(b.to.line<a.first){Ea(a,b.text.length-1-(b.to.line-b.from.line));return}if(!(b.from.line>a.lastLine())){if(b.from.line<a.first){var ee=b.text.length-1-(a.first-b.from.line);Ea(a,ee),b={from:Et(a.first,0),to:Et(b.to.line+ee,b.to.ch),text:[xt(b.text)],origin:b.origin}}var ie=a.lastLine();b.to.line>ie&&(b={from:b.from,to:Et(ie,Bn(a,ie).text.length),text:[b.text[0]],origin:b.origin}),b.removed=Mn(a,b.from,b.to),z||(z=Tr(a,b)),a.cm?ya(a.cm,b,x):Io(a,b,x),Vi(a,z,Se),a.cantEdit&&Da(a,Et(a.firstLine(),0))&&(a.cantEdit=!1)}}function ya(a,b,z){var x=a.doc,ee=a.display,ie=b.from,Ee=b.to,Ke=!1,$e=ie.line;a.options.lineWrapping||($e=Ot(Rn(Bn(x,ie.line))),x.iter($e,Ee.line+1,function(jn){if(jn==ee.maxLine)return Ke=!0,!0})),x.sel.contains(b.from,b.to)>-1&&Qt(a),Io(x,b,z,Ts(a)),a.options.lineWrapping||(x.iter($e,ie.line+b.text.length,function(jn){var wr=ci(jn);wr>ee.maxLineLength&&(ee.maxLine=jn,ee.maxLineLength=wr,ee.maxLineChanged=!0,Ke=!1)}),Ke&&(a.curOp.updateMaxLine=!0)),Lr(x,ie.line),ai(a,400);var mt=b.text.length-(Ee.line-ie.line)-1;b.full?al(a):ie.line==Ee.line&&b.text.length==1&&!Jr(a.doc,b)?Jl(a,ie.line,"text"):al(a,ie.line,Ee.line+1,mt);var rn=sn(a,"changes"),vn=sn(a,"change");if(vn||rn){var Un={from:ie,to:Ee,text:b.text,removed:b.removed,origin:b.origin};vn&&_o(a,"change",a,Un),rn&&(a.curOp.changeObjs||(a.curOp.changeObjs=[])).push(Un)}a.display.selForContextMenu=null}function Ui(a,b,z,x,ee){var ie;x||(x=z),Ht(x,z)<0&&(ie=[x,z],z=ie[0],x=ie[1]),typeof b=="string"&&(b=a.splitLines(b)),ca(a,{from:z,to:x,text:b,origin:ee})}function va(a,b,z,x){z<a.line?a.line+=x:b<a.line&&(a.line=b,a.ch=0)}function xa(a,b,z,x){for(var ee=0;ee<a.length;++ee){var ie=a[ee],Ee=!0;if(ie.ranges){ie.copied||(ie=a[ee]=ie.deepCopy(),ie.copied=!0);for(var Ke=0;Ke<ie.ranges.length;Ke++)va(ie.ranges[Ke].anchor,b,z,x),va(ie.ranges[Ke].head,b,z,x);continue}for(var $e=0;$e<ie.changes.length;++$e){var mt=ie.changes[$e];if(z<mt.from.line)mt.from=Et(mt.from.line+x,mt.from.ch),mt.to=Et(mt.to.line+x,mt.to.ch);else if(b<=mt.to.line){Ee=!1;break}}Ee||(a.splice(0,ee+1),ee=0)}}function Ra(a,b){var z=b.from.line,x=b.to.line,ee=b.text.length-(x-z)-1;xa(a.done,z,x,ee),xa(a.undone,z,x,ee)}function La(a,b,z,x){var ee=b,ie=b;return typeof b=="number"?ie=Bn(a,nt(a,b)):ee=Ot(b),ee==null?null:(x(ie,ee)&&a.cm&&Jl(a.cm,ee,z),ie)}function Xi(a){this.lines=a,this.parent=null;for(var b=0,z=0;z<a.length;++z)a[z].parent=this,b+=a[z].height;this.height=b}Xi.prototype={chunkSize:function(){return this.lines.length},removeInner:function(a,b){for(var z=a,x=a+b;z<x;++z){var ee=this.lines[z];this.height-=ee.height,mi(ee),_o(ee,"delete")}this.lines.splice(a,b)},collapse:function(a){a.push.apply(a,this.lines)},insertInner:function(a,b,z){this.height+=z,this.lines=this.lines.slice(0,a).concat(b).concat(this.lines.slice(a));for(var x=0;x<b.length;++x)b[x].parent=this},iterN:function(a,b,z){for(var x=a+b;a<x;++a)if(z(this.lines[a]))return!0}};function Fa(a){this.children=a;for(var b=0,z=0,x=0;x<a.length;++x){var ee=a[x];b+=ee.chunkSize(),z+=ee.height,ee.parent=this}this.size=b,this.height=z,this.parent=null}Fa.prototype={chunkSize:function(){return this.size},removeInner:function(a,b){this.size-=b;for(var z=0;z<this.children.length;++z){var x=this.children[z],ee=x.chunkSize();if(a<ee){var ie=Math.min(b,ee-a),Ee=x.height;if(x.removeInner(a,ie),this.height-=Ee-x.height,ee==ie&&(this.children.splice(z--,1),x.parent=null),(b-=ie)==0)break;a=0}else a-=ee}if(this.size-b<25&&(this.children.length>1||!(this.children[0]instanceof Xi))){var Ke=[];this.collapse(Ke),this.children=[new Xi(Ke)],this.children[0].parent=this}},collapse:function(a){for(var b=0;b<this.children.length;++b)this.children[b].collapse(a)},insertInner:function(a,b,z){this.size+=b.length,this.height+=z;for(var x=0;x<this.children.length;++x){var ee=this.children[x],ie=ee.chunkSize();if(a<=ie){if(ee.insertInner(a,b,z),ee.lines&&ee.lines.length>50){for(var Ee=ee.lines.length%25+25,Ke=Ee;Ke<ee.lines.length;){var $e=new Xi(ee.lines.slice(Ke,Ke+=25));ee.height-=$e.height,this.children.splice(++x,0,$e),$e.parent=this}ee.lines=ee.lines.slice(0,Ee),this.maybeSpill()}break}a-=ie}},maybeSpill:function(){if(!(this.children.length<=10)){var a=this;do{var b=a.children.splice(a.children.length-5,5),z=new Fa(b);if(a.parent){a.size-=z.size,a.height-=z.height;var ee=Dt(a.parent.children,a);a.parent.children.splice(ee+1,0,z)}else{var x=new Fa(a.children);x.parent=a,a.children=[x,z],a=x}z.parent=a.parent}while(a.children.length>10);a.parent.maybeSpill()}},iterN:function(a,b,z){for(var x=0;x<this.children.length;++x){var ee=this.children[x],ie=ee.chunkSize();if(a<ie){var Ee=Math.min(b,ie-a);if(ee.iterN(a,Ee,z))return!0;if((b-=Ee)==0)break;a=0}else a-=ie}}};var ia=function(a,b,z){if(z)for(var x in z)z.hasOwnProperty(x)&&(this[x]=z[x]);this.doc=a,this.node=b};ia.prototype.clear=function(){var a=this.doc.cm,b=this.line.widgets,z=this.line,x=Ot(z);if(!(x==null||!b)){for(var ee=0;ee<b.length;++ee)b[ee]==this&&b.splice(ee--,1);b.length||(z.widgets=null);var ie=Gi(this);dr(z,Math.max(0,z.height-ie)),a&&(uo(a,function(){_a(a,z,-ie),Jl(a,x,"widget")}),_o(a,"lineWidgetCleared",a,this,x))}},ia.prototype.changed=function(){var a=this,b=this.height,z=this.doc.cm,x=this.line;this.height=null;var ee=Gi(this)-b;ee&&(or(this.doc,x)||dr(x,x.height+ee),z&&uo(z,function(){z.curOp.forceUpdate=!0,_a(z,x,ee),_o(z,"lineWidgetChanged",z,a,Ot(x))}))},bt(ia);function _a(a,b,z){wo(b)<(a.curOp&&a.curOp.scrollTop||a.doc.scrollTop)&&pn(a,z)}function ja(a,b,z,x){var ee=new ia(a,z,x),ie=a.cm;return ie&&ee.noHScroll&&(ie.display.alignWidgets=!0),La(a,b,"widget",function(Ee){var Ke=Ee.widgets||(Ee.widgets=[]);if(ee.insertAt==null?Ke.push(ee):Ke.splice(Math.min(Ke.length-1,Math.max(0,ee.insertAt)),0,ee),ee.line=Ee,ie&&!or(a,Ee)){var $e=wo(Ee)<a.scrollTop;dr(Ee,Ee.height+Gi(ee)),$e&&pn(ie,ee.height),ie.curOp.forceUpdate=!0}return!0}),ie&&_o(ie,"lineWidgetAdded",ie,ee,typeof b=="number"?b:Ot(b)),ee}var nl=0,ll=function(a,b){this.lines=[],this.type=b,this.doc=a,this.id=++nl};ll.prototype.clear=function(){if(!this.explicitlyCleared){var a=this.doc.cm,b=a&&!a.curOp;if(b&&zr(a),sn(this,"clear")){var z=this.find();z&&_o(this,"clear",z.from,z.to)}for(var x=null,ee=null,ie=0;ie<this.lines.length;++ie){var Ee=this.lines[ie],Ke=Ro(Ee.markedSpans,this);a&&!this.collapsed?Jl(a,Ot(Ee),"text"):a&&(Ke.to!=null&&(ee=Ot(Ee)),Ke.from!=null&&(x=Ot(Ee))),Ee.markedSpans=ei(Ee.markedSpans,Ke),Ke.from==null&&this.collapsed&&!or(this.doc,Ee)&&a&&dr(Ee,Al(a.display))}if(a&&this.collapsed&&!a.options.lineWrapping)for(var $e=0;$e<this.lines.length;++$e){var mt=Rn(this.lines[$e]),rn=ci(mt);rn>a.display.maxLineLength&&(a.display.maxLine=mt,a.display.maxLineLength=rn,a.display.maxLineChanged=!0)}x!=null&&a&&this.collapsed&&al(a,x,ee+1),this.lines.length=0,this.explicitlyCleared=!0,this.atomic&&this.doc.cantEdit&&(this.doc.cantEdit=!1,a&&ba(a.doc)),a&&_o(a,"markerCleared",a,this,x,ee),b&&Ur(a),this.parent&&this.parent.clear()}},ll.prototype.find=function(a,b){a==null&&this.type=="bookmark"&&(a=1);for(var z,x,ee=0;ee<this.lines.length;++ee){var ie=this.lines[ee],Ee=Ro(ie.markedSpans,this);if(Ee.from!=null&&(z=Et(b?ie:Ot(ie),Ee.from),a==-1))return z;if(Ee.to!=null&&(x=Et(b?ie:Ot(ie),Ee.to),a==1))return x}return z&&{from:z,to:x}},ll.prototype.changed=function(){var a=this,b=this.find(-1,!0),z=this,x=this.doc.cm;!b||!x||uo(x,function(){var ee=b.line,ie=Ot(b.line),Ee=po(x,ie);if(Ee&&(es(Ee),x.curOp.selectionChanged=x.curOp.forceUpdate=!0),x.curOp.updateMaxLine=!0,!or(z.doc,ee)&&z.height!=null){var Ke=z.height;z.height=null;var $e=Gi(z)-Ke;$e&&dr(ee,ee.height+$e)}_o(x,"markerChanged",x,a)})},ll.prototype.attachLine=function(a){if(!this.lines.length&&this.doc.cm){var b=this.doc.cm.curOp;(!b.maybeHiddenMarkers||Dt(b.maybeHiddenMarkers,this)==-1)&&(b.maybeUnhiddenMarkers||(b.maybeUnhiddenMarkers=[])).push(this)}this.lines.push(a)},ll.prototype.detachLine=function(a){if(this.lines.splice(Dt(this.lines,a),1),!this.lines.length&&this.doc.cm){var b=this.doc.cm.curOp;(b.maybeHiddenMarkers||(b.maybeHiddenMarkers=[])).push(this)}},bt(ll);function Il(a,b,z,x,ee){if(x&&x.shared)return as(a,b,z,x,ee);if(a.cm&&!a.cm.curOp)return no(a.cm,Il)(a,b,z,x,ee);var ie=new ll(a,ee),Ee=Ht(b,z);if(x&&Yt(x,ie,!1),Ee>0||Ee==0&&ie.clearWhenEmpty!==!1)return ie;if(ie.replacedWith&&(ie.collapsed=!0,ie.widgetNode=Ve("span",[ie.replacedWith],"CodeMirror-widget"),x.handleMouseEvents||ie.widgetNode.setAttribute("cm-ignore-events","true"),x.insertLeft&&(ie.widgetNode.insertLeft=!0)),ie.collapsed){if(er(a,b.line,b,z,ie)||b.line!=z.line&&er(a,z.line,b,z,ie))throw new Error("Inserting collapsed marker partially overlapping an existing one");Vo()}ie.addToHistory&&Lo(a,{from:b,to:z,origin:"markText"},a.sel,NaN);var Ke=b.line,$e=a.cm,mt;if(a.iter(Ke,z.line+1,function(vn){$e&&ie.collapsed&&!$e.options.lineWrapping&&Rn(vn)==$e.display.maxLine&&(mt=!0),ie.collapsed&&Ke!=b.line&&dr(vn,0),yo(vn,new ir(ie,Ke==b.line?b.ch:null,Ke==z.line?z.ch:null)),++Ke}),ie.collapsed&&a.iter(b.line,z.line+1,function(vn){or(a,vn)&&dr(vn,0)}),ie.clearOnEnter&&en(ie,"beforeCursorEnter",function(){return ie.clear()}),ie.readOnly&&(Wo(),(a.history.done.length||a.history.undone.length)&&a.clearHistory()),ie.collapsed&&(ie.id=++nl,ie.atomic=!0),$e){if(mt&&($e.curOp.updateMaxLine=!0),ie.collapsed)al($e,b.line,z.line+1);else if(ie.className||ie.startStyle||ie.endStyle||ie.css||ie.attributes||ie.title)for(var rn=b.line;rn<=z.line;rn++)Jl($e,rn,"text");ie.atomic&&ba($e.doc),_o($e,"markerAdded",$e,ie)}return ie}var Sa=function(a,b){this.markers=a,this.primary=b;for(var z=0;z<a.length;++z)a[z].parent=this};Sa.prototype.clear=function(){if(!this.explicitlyCleared){this.explicitlyCleared=!0;for(var a=0;a<this.markers.length;++a)this.markers[a].clear();_o(this,"clear")}},Sa.prototype.find=function(a,b){return this.primary.find(a,b)},bt(Sa);function as(a,b,z,x,ee){x=Yt(x),x.shared=!1;var ie=[Il(a,b,z,x,ee)],Ee=ie[0],Ke=x.widgetNode;return Mr(a,function($e){Ke&&(x.widgetNode=Ke.cloneNode(!0)),ie.push(Il($e,Bt($e,b),Bt($e,z),x,ee));for(var mt=0;mt<$e.linked.length;++mt)if($e.linked[mt].isParent)return;Ee=xt(ie)}),new Sa(ie,Ee)}function rl(a){return a.findMarks(Et(a.first,0),a.clipPos(Et(a.lastLine())),function(b){return b.parent})}function Dl(a,b){for(var z=0;z<b.length;z++){var x=b[z],ee=x.find(),ie=a.clipPos(ee.from),Ee=a.clipPos(ee.to);if(Ht(ie,Ee)){var Ke=Il(a,ie,Ee,x.primary,x.primary.type);x.markers.push(Ke),Ke.parent=x}}}function pl(a){for(var b=function(x){var ee=a[x],ie=[ee.primary.doc];Mr(ee.primary.doc,function($e){return ie.push($e)});for(var Ee=0;Ee<ee.markers.length;Ee++){var Ke=ee.markers[Ee];Dt(ie,Ke.doc)==-1&&(Ke.parent=null,ee.markers.splice(Ee--,1))}},z=0;z<a.length;z++)b(z)}var wi=0,jo=function(a,b,z,x,ee){if(!(this instanceof jo))return new jo(a,b,z,x,ee);z==null&&(z=0),Fa.call(this,[new Xi([new oi("",null)])]),this.first=z,this.scrollTop=this.scrollLeft=0,this.cantEdit=!1,this.cleanGeneration=1,this.modeFrontier=this.highlightFrontier=z;var ie=Et(z,0);this.sel=qn(ie),this.history=new ar(null),this.id=++wi,this.modeOption=b,this.lineSep=x,this.direction=ee=="rtl"?"rtl":"ltr",this.extend=!1,typeof a=="string"&&(a=this.splitLines(a)),Io(this,{from:ie,to:ie,text:a}),go(this,qn(ie),Se)};jo.prototype=ne(Fa.prototype,{constructor:jo,iter:function(a,b,z){z?this.iterN(a-this.first,b-a,z):this.iterN(this.first,this.first+this.size,a)},insert:function(a,b){for(var z=0,x=0;x<b.length;++x)z+=b[x].height;this.insertInner(a-this.first,b,z)},remove:function(a,b){this.removeInner(a-this.first,b)},getValue:function(a){var b=ur(this,this.first,this.first+this.size);return a===!1?b:b.join(a||this.lineSeparator())},setValue:fo(function(a){var b=Et(this.first,0),z=this.first+this.size-1;ca(this,{from:b,to:Et(z,Bn(this,z).text.length),text:this.splitLines(a),origin:"setValue",full:!0},!0),this.cm&&Pn(this.cm,0,0),go(this,qn(b),Se)}),replaceRange:function(a,b,z,x){b=Bt(this,b),z=z?Bt(this,z):b,Ui(this,a,b,z,x)},getRange:function(a,b,z){var x=Mn(this,Bt(this,a),Bt(this,b));return z===!1?x:x.join(z||this.lineSeparator())},getLine:function(a){var b=this.getLineHandle(a);return b&&b.text},getLineHandle:function(a){if(vt(this,a))return Bn(this,a)},getLineNumber:function(a){return Ot(a)},getLineHandleVisualStart:function(a){return typeof a=="number"&&(a=Bn(this,a)),Rn(a)},lineCount:function(){return this.size},firstLine:function(){return this.first},lastLine:function(){return this.first+this.size-1},clipPos:function(a){return Bt(this,a)},getCursor:function(a){var b=this.sel.primary(),z;return a==null||a=="head"?z=b.head:a=="anchor"?z=b.anchor:a=="end"||a=="to"||a===!1?z=b.to():z=b.from(),z},listSelections:function(){return this.sel.ranges},somethingSelected:function(){return this.sel.somethingSelected()},setCursor:fo(function(a,b,z){Ko(this,Bt(this,typeof a=="number"?Et(a,b||0):a),null,z)}),setSelection:fo(function(a,b,z){Ko(this,Bt(this,a),Bt(this,b||a),z)}),extendSelection:fo(function(a,b,z){Ni(this,Bt(this,a),b&&Bt(this,b),z)}),extendSelections:fo(function(a,b){Pa(this,_t(this,a),b)}),extendSelectionsBy:fo(function(a,b){var z=$t(this.sel.ranges,a);Pa(this,_t(this,z),b)}),setSelections:fo(function(a,b,z){if(a.length){for(var x=[],ee=0;ee<a.length;ee++)x[ee]=new wn(Bt(this,a[ee].anchor),Bt(this,a[ee].head));b==null&&(b=Math.min(a.length-1,this.sel.primIndex)),go(this,vr(this.cm,x,b),z)}}),addSelection:fo(function(a,b,z){var x=this.sel.ranges.slice(0);x.push(new wn(Bt(this,a),Bt(this,b||a))),go(this,vr(this.cm,x,x.length-1),z)}),getSelection:function(a){for(var b=this.sel.ranges,z,x=0;x<b.length;x++){var ee=Mn(this,b[x].from(),b[x].to());z=z?z.concat(ee):ee}return a===!1?z:z.join(a||this.lineSeparator())},getSelections:function(a){for(var b=[],z=this.sel.ranges,x=0;x<z.length;x++){var ee=Mn(this,z[x].from(),z[x].to());a!==!1&&(ee=ee.join(a||this.lineSeparator())),b[x]=ee}return b},replaceSelection:function(a,b,z){for(var x=[],ee=0;ee<this.sel.ranges.length;ee++)x[ee]=a;this.replaceSelections(x,b,z||"+input")},replaceSelections:fo(function(a,b,z){for(var x=[],ee=this.sel,ie=0;ie<ee.ranges.length;ie++){var Ee=ee.ranges[ie];x[ie]={from:Ee.from(),to:Ee.to(),text:this.splitLines(a[ie]),origin:z}}for(var Ke=b&&b!="end"&&Pr(this,x,b),$e=x.length-1;$e>=0;$e--)ca(this,x[$e]);Ke?zo(this,Ke):this.cm&&Dn(this.cm)}),undo:fo(function(){za(this,"undo")}),redo:fo(function(){za(this,"redo")}),undoSelection:fo(function(){za(this,"undo",!0)}),redoSelection:fo(function(){za(this,"redo",!0)}),setExtending:function(a){this.extend=a},getExtending:function(){return this.extend},historySize:function(){for(var a=this.history,b=0,z=0,x=0;x<a.done.length;x++)a.done[x].ranges||++b;for(var ee=0;ee<a.undone.length;ee++)a.undone[ee].ranges||++z;return{undo:b,redo:z}},clearHistory:function(){var a=this;this.history=new ar(this.history.maxGeneration),Mr(this,function(b){return b.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:Ca(this.history.done),undone:Ca(this.history.undone)}},setHistory:function(a){var b=this.history=new ar(this.history.maxGeneration);b.done=Ca(a.done.slice(0),null,!0),b.undone=Ca(a.undone.slice(0),null,!0)},setGutterMarker:fo(function(a,b,z){return La(this,a,"gutter",function(x){var ee=x.gutterMarkers||(x.gutterMarkers={});return ee[b]=z,!z&&re(ee)&&(x.gutterMarkers=null),!0})}),clearGutter:fo(function(a){var b=this;this.iter(function(z){z.gutterMarkers&&z.gutterMarkers[a]&&La(b,z,"gutter",function(){return z.gutterMarkers[a]=null,re(z.gutterMarkers)&&(z.gutterMarkers=null),!0})})}),lineInfo:function(a){var b;if(typeof a=="number"){if(!vt(this,a)||(b=a,a=Bn(this,a),!a))return null}else if(b=Ot(a),b==null)return null;return{line:b,handle:a,text:a.text,gutterMarkers:a.gutterMarkers,textClass:a.textClass,bgClass:a.bgClass,wrapClass:a.wrapClass,widgets:a.widgets}},addLineClass:fo(function(a,b,z){return La(this,a,b=="gutter"?"gutter":"class",function(x){var ee=b=="text"?"textClass":b=="background"?"bgClass":b=="gutter"?"gutterClass":"wrapClass";if(!x[ee])x[ee]=z;else{if(rt(z).test(x[ee]))return!1;x[ee]+=" "+z}return!0})}),removeLineClass:fo(function(a,b,z){return La(this,a,b=="gutter"?"gutter":"class",function(x){var ee=b=="text"?"textClass":b=="background"?"bgClass":b=="gutter"?"gutterClass":"wrapClass",ie=x[ee];if(ie)if(z==null)x[ee]=null;else{var Ee=ie.match(rt(z));if(!Ee)return!1;var Ke=Ee.index+Ee[0].length;x[ee]=ie.slice(0,Ee.index)+(!Ee.index||Ke==ie.length?"":" ")+ie.slice(Ke)||null}else return!1;return!0})}),addLineWidget:fo(function(a,b,z){return ja(this,a,b,z)}),removeLineWidget:function(a){a.clear()},markText:function(a,b,z){return Il(this,Bt(this,a),Bt(this,b),z,z&&z.type||"range")},setBookmark:function(a,b){var z={replacedWith:b&&(b.nodeType==null?b.widget:b),insertLeft:b&&b.insertLeft,clearWhenEmpty:!1,shared:b&&b.shared,handleMouseEvents:b&&b.handleMouseEvents};return a=Bt(this,a),Il(this,a,a,z,"bookmark")},findMarksAt:function(a){a=Bt(this,a);var b=[],z=Bn(this,a.line).markedSpans;if(z)for(var x=0;x<z.length;++x){var ee=z[x];(ee.from==null||ee.from<=a.ch)&&(ee.to==null||ee.to>=a.ch)&&b.push(ee.marker.parent||ee.marker)}return b},findMarks:function(a,b,z){a=Bt(this,a),b=Bt(this,b);var x=[],ee=a.line;return this.iter(a.line,b.line+1,function(ie){var Ee=ie.markedSpans;if(Ee)for(var Ke=0;Ke<Ee.length;Ke++){var $e=Ee[Ke];!($e.to!=null&&ee==a.line&&a.ch>=$e.to||$e.from==null&&ee!=a.line||$e.from!=null&&ee==b.line&&$e.from>=b.ch)&&(!z||z($e.marker))&&x.push($e.marker.parent||$e.marker)}++ee}),x},getAllMarks:function(){var a=[];return this.iter(function(b){var z=b.markedSpans;if(z)for(var x=0;x<z.length;++x)z[x].from!=null&&a.push(z[x].marker)}),a},posFromIndex:function(a){var b,z=this.first,x=this.lineSeparator().length;return this.iter(function(ee){var ie=ee.text.length+x;if(ie>a)return b=a,!0;a-=ie,++z}),Bt(this,Et(z,b))},indexFromPos:function(a){a=Bt(this,a);var b=a.ch;if(a.line<this.first||a.ch<0)return 0;var z=this.lineSeparator().length;return this.iter(this.first,a.line,function(x){b+=x.text.length+z}),b},copy:function(a){var b=new jo(ur(this,this.first,this.first+this.size),this.modeOption,this.first,this.lineSep,this.direction);return b.scrollTop=this.scrollTop,b.scrollLeft=this.scrollLeft,b.sel=this.sel,b.extend=!1,a&&(b.history.undoDepth=this.history.undoDepth,b.setHistory(this.getHistory())),b},linkedDoc:function(a){a||(a={});var b=this.first,z=this.first+this.size;a.from!=null&&a.from>b&&(b=a.from),a.to!=null&&a.to<z&&(z=a.to);var x=new jo(ur(this,b,z),a.mode||this.modeOption,b,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}],Dl(x,rl(this)),x},unlinkDoc:function(a){if(a instanceof Ya&&(a=a.doc),this.linked)for(var b=0;b<this.linked.length;++b){var z=this.linked[b];if(z.doc==a){this.linked.splice(b,1),a.unlinkDoc(this),pl(rl(this));break}}if(a.history==this.history){var x=[a.id];Mr(a,function(ee){return x.push(ee.id)},!0),a.history=new ar(null),a.history.done=Ca(this.history.done,x),a.history.undone=Ca(this.history.undone,x)}},iterLinkedDocs:function(a){Mr(this,a)},getMode:function(){return this.mode},getEditor:function(){return this.cm},splitLines:function(a){return this.lineSep?a.split(this.lineSep):kn(a)},lineSeparator:function(){return this.lineSep||`
`},setDirection:fo(function(a){a!="rtl"&&(a="ltr"),a!=this.direction&&(this.direction=a,this.iter(function(b){return b.order=null}),this.cm&&lr(this.cm))})}),jo.prototype.eachLine=jo.prototype.iter;var Na=0;function sl(a){var b=this;if(Ds(b),!(Vt(b,a)||gr(b.display,a))){Lt(a),be&&(Na=+new Date);var z=Ql(b,a,!0),x=a.dataTransfer.files;if(!(!z||b.isReadOnly()))if(x&&x.length&&window.FileReader&&window.File)for(var ee=x.length,ie=Array(ee),Ee=0,Ke=function(){++Ee==ee&&no(b,function(){z=Bt(b.doc,z);var jn={from:z,to:z,text:b.doc.splitLines(ie.filter(function(wr){return wr!=null}).join(b.doc.lineSeparator())),origin:"paste"};ca(b.doc,jn),zo(b.doc,qn(Bt(b.doc,z),Bt(b.doc,Ar(jn))))})()},$e=function(jn,wr){if(b.options.allowDropFileTypes&&Dt(b.options.allowDropFileTypes,jn.type)==-1){Ke();return}var Vr=new FileReader;Vr.onerror=function(){return Ke()},Vr.onload=function(){var so=Vr.result;if(/[\x00-\x08\x0e-\x1f]{2}/.test(so)){Ke();return}ie[wr]=so,Ke()},Vr.readAsText(jn)},mt=0;mt<x.length;mt++)$e(x[mt],mt);else{if(b.state.draggingText&&b.doc.sel.contains(z)>-1){b.state.draggingText(a),setTimeout(function(){return b.display.input.focus()},20);return}try{var rn=a.dataTransfer.getData("Text");if(rn){var vn;if(b.state.draggingText&&!b.state.draggingText.copy&&(vn=b.listSelections()),Vi(b.doc,qn(z,z)),vn)for(var Un=0;Un<vn.length;++Un)Ui(b.doc,"",vn[Un].anchor,vn[Un].head,"drag");b.replaceSelection(rn,"around","paste"),b.display.input.focus()}}catch(jn){}}}}function Bl(a,b){if(be&&(!a.state.draggingText||+new Date-Na<100)){ut(b);return}if(!(Vt(a,b)||gr(a.display,b))&&(b.dataTransfer.setData("Text",a.getSelection()),b.dataTransfer.effectAllowed="copyMove",b.dataTransfer.setDragImage&&!Ye)){var z=Oe("img",null,null,"position: fixed; left: 0; top: 0;");z.src="data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==",se&&(z.width=z.height=1,a.display.wrapper.appendChild(z),z._top=z.offsetTop),b.dataTransfer.setDragImage(z,0,0),se&&z.parentNode.removeChild(z)}}function Gl(a,b){var z=Ql(a,b);if(z){var x=document.createDocumentFragment();Ys(a,z,x),a.display.dragCursor||(a.display.dragCursor=Oe("div",null,"CodeMirror-cursors CodeMirror-dragcursors"),a.display.lineSpace.insertBefore(a.display.dragCursor,a.display.cursorDiv)),ge(a.display.dragCursor,x)}}function Ds(a){a.display.dragCursor&&(a.display.lineSpace.removeChild(a.display.dragCursor),a.display.dragCursor=null)}function Fs(a){if(document.getElementsByClassName){for(var b=document.getElementsByClassName("CodeMirror"),z=[],x=0;x<b.length;x++){var ee=b[x].CodeMirror;ee&&z.push(ee)}z.length&&z[0].operation(function(){for(var ie=0;ie<z.length;ie++)a(z[ie])})}}var Rs=!1;function aa(){Rs||(Hi(),Rs=!0)}function Hi(){var a;en(window,"resize",function(){a==null&&(a=setTimeout(function(){a=null,Fs(ho)},100))}),en(window,"blur",function(){return Fs(ds)})}function ho(a){var b=a.display;b.cachedCharWidth=b.cachedTextHeight=b.cachedPaddingH=null,b.scrollbarsClipped=!1,a.setSize()}for(var fi={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++)fi[Yi+48]=fi[Yi+96]=String(Yi);for(var Ka=65;Ka<=90;Ka++)fi[Ka]=String.fromCharCode(Ka);for(var ul=1;ul<=12;ul++)fi[ul+111]=fi[ul+63235]="F"+ul;var ol={};ol.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"},ol.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"},ol.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"},ol.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"]},ol.default=ue?ol.macDefault:ol.pcDefault;function $l(a){var b=a.split(/-(?!$)/);a=b[b.length-1];for(var z,x,ee,ie,Ee=0;Ee<b.length-1;Ee++){var Ke=b[Ee];if(/^(cmd|meta|m)$/i.test(Ke))ie=!0;else if(/^a(lt)?$/i.test(Ke))z=!0;else if(/^(c|ctrl|control)$/i.test(Ke))x=!0;else if(/^s(hift)?$/i.test(Ke))ee=!0;else throw new Error("Unrecognized modifier name: "+Ke)}return z&&(a="Alt-"+a),x&&(a="Ctrl-"+a),ie&&(a="Cmd-"+a),ee&&(a="Shift-"+a),a}function vl(a){var b={};for(var z in a)if(a.hasOwnProperty(z)){var x=a[z];if(/^(name|fallthrough|(de|at)tach)$/.test(z))continue;if(x=="..."){delete a[z];continue}for(var ee=$t(z.split(" "),$l),ie=0;ie<ee.length;ie++){var Ee=void 0,Ke=void 0;ie==ee.length-1?(Ke=ee.join(" "),Ee=x):(Ke=ee.slice(0,ie+1).join(" "),Ee="...");var $e=b[Ke];if(!$e)b[Ke]=Ee;else if($e!=Ee)throw new Error("Inconsistent bindings for "+Ke)}delete a[z]}for(var mt in b)a[mt]=b[mt];return a}function Bs(a,b,z,x){b=Gs(b);var ee=b.call?b.call(a,x):b[a];if(ee===!1)return"nothing";if(ee==="...")return"multi";if(ee!=null&&z(ee))return"handled";if(b.fallthrough){if(Object.prototype.toString.call(b.fallthrough)!="[object Array]")return Bs(a,b.fallthrough,z,x);for(var ie=0;ie<b.fallthrough.length;ie++){var Ee=Bs(a,b.fallthrough[ie],z,x);if(Ee)return Ee}}}function eu(a){var b=typeof a=="string"?a:fi[a.keyCode];return b=="Ctrl"||b=="Alt"||b=="Shift"||b=="Mod"}function Zs(a,b,z){var x=a;return b.altKey&&x!="Alt"&&(a="Alt-"+a),(oe?b.metaKey:b.ctrlKey)&&x!="Ctrl"&&(a="Ctrl-"+a),(oe?b.ctrlKey:b.metaKey)&&x!="Mod"&&(a="Cmd-"+a),!z&&b.shiftKey&&x!="Shift"&&(a="Shift-"+a),a}function gs(a,b){if(se&&a.keyCode==34&&a.char)return!1;var z=fi[a.keyCode];return z==null||a.altGraphKey?!1:(a.keyCode==3&&a.code&&(z=a.code),Zs(z,a,b))}function Gs(a){return typeof a=="string"?ol[a]:a}function ys(a,b){for(var z=a.doc.sel.ranges,x=[],ee=0;ee<z.length;ee++){for(var ie=b(z[ee]);x.length&&Ht(ie.from,xt(x).to)<=0;){var Ee=x.pop();if(Ht(Ee.from,ie.from)<0){ie.from=Ee.from;break}}x.push(ie)}uo(a,function(){for(var Ke=x.length-1;Ke>=0;Ke--)Ui(a.doc,"",x[Ke].from,x[Ke].to,"+delete");Dn(a)})}function tu(a,b,z){var x=pt(a.text,b+z,z);return x<0||x>a.text.length?null:x}function Xs(a,b,z){var x=tu(a,b.ch,z);return x==null?null:new Et(b.line,x,z<0?"after":"before")}function nu(a,b,z,x,ee){if(a){b.doc.direction=="rtl"&&(ee=-ee);var ie=_e(z,b.doc.direction);if(ie){var Ee=ee<0?xt(ie):ie[0],Ke=ee<0==(Ee.level==1),$e=Ke?"after":"before",mt;if(Ee.level>0||b.doc.direction=="rtl"){var rn=_i(b,z);mt=ee<0?z.text.length-1:0;var vn=Za(b,rn,mt).top;mt=et(function(Un){return Za(b,rn,Un).top==vn},ee<0==(Ee.level==1)?Ee.from:Ee.to-1,mt),$e=="before"&&(mt=tu(z,mt,1))}else mt=ee<0?Ee.to:Ee.from;return new Et(x,mt,$e)}}return new Et(x,ee<0?z.text.length:0,ee<0?"before":"after")}function vu(a,b,z,x){var ee=_e(b,a.doc.direction);if(!ee)return Xs(b,z,x);z.ch>=b.text.length?(z.ch=b.text.length,z.sticky="before"):z.ch<=0&&(z.ch=0,z.sticky="after");var ie=gt(ee,z.ch,z.sticky),Ee=ee[ie];if(a.doc.direction=="ltr"&&Ee.level%2==0&&(x>0?Ee.to>z.ch:Ee.from<z.ch))return Xs(b,z,x);var Ke=function(Eo,Xo){return tu(b,Eo instanceof Et?Eo.ch:Eo,Xo)},$e,mt=function(Eo){return a.options.lineWrapping?($e=$e||_i(a,b),Va(a,b,$e,Eo)):{begin:0,end:b.text.length}},rn=mt(z.sticky=="before"?Ke(z,-1):z.ch);if(a.doc.direction=="rtl"||Ee.level==1){var vn=Ee.level==1==x<0,Un=Ke(z,vn?1:-1);if(Un!=null&&(vn?Un<=Ee.to&&Un<=rn.end:Un>=Ee.from&&Un>=rn.begin)){var jn=vn?"before":"after";return new Et(z.line,Un,jn)}}var wr=function(Eo,Xo,xo){for(var ri=function(Wa,Cl){return Cl?new Et(z.line,Ke(Wa,1),"before"):new Et(z.line,Wa,"after")};Eo>=0&&Eo<ee.length;Eo+=Xo){var Ii=ee[Eo],Ai=Xo>0==(Ii.level!=1),na=Ai?xo.begin:Ke(xo.end,-1);if(Ii.from<=na&&na<Ii.to||(na=Ai?Ii.from:Ke(Ii.to,-1),xo.begin<=na&&na<xo.end))return ri(na,Ai)}},Vr=wr(ie+x,x,rn);if(Vr)return Vr;var so=x>0?rn.end:Ke(rn.begin,-1);return so!=null&&!(x>0&&so==b.text.length)&&(Vr=wr(x>0?0:ee.length-1,x,mt(so)),Vr)?Vr:null}var ms={selectAll:si,singleSelection:function(a){return a.setSelection(a.getCursor("anchor"),a.getCursor("head"),Se)},killLine:function(a){return ys(a,function(b){if(b.empty()){var z=Bn(a.doc,b.head.line).text.length;return b.head.ch==z&&b.head.line<a.lastLine()?{from:b.head,to:Et(b.head.line+1,0)}:{from:b.head,to:Et(b.head.line,z)}}else return{from:b.from(),to:b.to()}})},deleteLine:function(a){return ys(a,function(b){return{from:Et(b.from().line,0),to:Bt(a.doc,Et(b.to().line+1,0))}})},delLineLeft:function(a){return ys(a,function(b){return{from:Et(b.from().line,0),to:b.from()}})},delWrappedLineLeft:function(a){return ys(a,function(b){var z=a.charCoords(b.head,"div").top+5,x=a.coordsChar({left:0,top:z},"div");return{from:x,to:b.from()}})},delWrappedLineRight:function(a){return ys(a,function(b){var z=a.charCoords(b.head,"div").top+5,x=a.coordsChar({left:a.display.lineDiv.offsetWidth+100,top:z},"div");return{from:b.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(Et(a.firstLine(),0))},goDocEnd:function(a){return a.extendSelection(Et(a.lastLine()))},goLineStart:function(a){return a.extendSelectionsBy(function(b){return ru(a,b.head.line)},{origin:"+move",bias:1})},goLineStartSmart:function(a){return a.extendSelectionsBy(function(b){return ou(a,b.head)},{origin:"+move",bias:1})},goLineEnd:function(a){return a.extendSelectionsBy(function(b){return wu(a,b.head.line)},{origin:"+move",bias:-1})},goLineRight:function(a){return a.extendSelectionsBy(function(b){var z=a.cursorCoords(b.head,"div").top+5;return a.coordsChar({left:a.display.lineDiv.offsetWidth+100,top:z},"div")},at)},goLineLeft:function(a){return a.extendSelectionsBy(function(b){var z=a.cursorCoords(b.head,"div").top+5;return a.coordsChar({left:0,top:z},"div")},at)},goLineLeftSmart:function(a){return a.extendSelectionsBy(function(b){var z=a.cursorCoords(b.head,"div").top+5,x=a.coordsChar({left:0,top:z},"div");return x.ch<a.getLine(x.line).search(/\S/)?ou(a,b.head):x},at)},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 b=[],z=a.listSelections(),x=a.options.tabSize,ee=0;ee<z.length;ee++){var ie=z[ee].from(),Ee=We(a.getLine(ie.line),ie.ch,x);b.push(Wt(x-Ee%x))}a.replaceSelections(b)},defaultTab:function(a){a.somethingSelected()?a.indentSelection("add"):a.execCommand("insertTab")},transposeChars:function(a){return uo(a,function(){for(var b=a.listSelections(),z=[],x=0;x<b.length;x++)if(b[x].empty()){var ee=b[x].head,ie=Bn(a.doc,ee.line).text;if(ie){if(ee.ch==ie.length&&(ee=new Et(ee.line,ee.ch-1)),ee.ch>0)ee=new Et(ee.line,ee.ch+1),a.replaceRange(ie.charAt(ee.ch-1)+ie.charAt(ee.ch-2),Et(ee.line,ee.ch-2),ee,"+transpose");else if(ee.line>a.doc.first){var Ee=Bn(a.doc,ee.line-1).text;Ee&&(ee=new Et(ee.line,1),a.replaceRange(ie.charAt(0)+a.doc.lineSeparator()+Ee.charAt(Ee.length-1),Et(ee.line-1,Ee.length-1),ee,"+transpose"))}}z.push(new wn(ee,ee))}a.setSelections(z)})},newlineAndIndent:function(a){return uo(a,function(){for(var b=a.listSelections(),z=b.length-1;z>=0;z--)a.replaceRange(a.doc.lineSeparator(),b[z].anchor,b[z].head,"+input");b=a.listSelections();for(var x=0;x<b.length;x++)a.indentLine(b[x].from().line,null,!0);Dn(a)})},openLine:function(a){return a.replaceSelection(`
`,"start")},toggleOverwrite:function(a){return a.toggleOverwrite()}};function ru(a,b){var z=Bn(a.doc,b),x=Rn(z);return x!=z&&(b=Ot(x)),nu(!0,a,x,b,1)}function wu(a,b){var z=Bn(a.doc,b),x=Nn(z);return x!=z&&(b=Ot(x)),nu(!0,a,z,b,-1)}function ou(a,b){var z=ru(a,b.line),x=Bn(a.doc,z.line),ee=_e(x,a.doc.direction);if(!ee||ee[0].level==0){var ie=Math.max(z.ch,x.text.search(/\S/)),Ee=b.line==z.line&&b.ch<=ie&&b.ch;return Et(z.line,Ee?0:ie,z.sticky)}return z}function zs(a,b,z){if(typeof b=="string"&&(b=ms[b],!b))return!1;a.display.input.ensurePolled();var x=a.display.shift,ee=!1;try{a.isReadOnly()&&(a.state.suppressEdits=!0),z&&(a.display.shift=!1),ee=b(a)!=lt}finally{a.display.shift=x,a.state.suppressEdits=!1}return ee}function Au(a,b,z){for(var x=0;x<a.state.keyMaps.length;x++){var ee=Bs(b,a.state.keyMaps[x],z,a);if(ee)return ee}return a.options.extraKeys&&Bs(b,a.options.extraKeys,z,a)||Bs(b,a.options.keyMap,z,a)}var Du=new Be;function js(a,b,z,x){var ee=a.state.keySeq;if(ee){if(eu(b))return"handled";if(/\'$/.test(b)?a.state.keySeq=null:Du.set(50,function(){a.state.keySeq==ee&&(a.state.keySeq=null,a.display.input.reset())}),iu(a,ee+" "+b,z,x))return!0}return iu(a,b,z,x)}function iu(a,b,z,x){var ee=Au(a,b,x);return ee=="multi"&&(a.state.keySeq=b),ee=="handled"&&_o(a,"keyHandled",a,b,z),(ee=="handled"||ee=="multi")&&(Lt(z),Ns(a)),!!ee}function Ws(a,b){var z=gs(b,!0);return z?b.shiftKey&&!a.state.keySeq?js(a,"Shift-"+z,b,function(x){return zs(a,x,!0)})||js(a,z,b,function(x){if(typeof x=="string"?/^go[A-Z]/.test(x):x.motion)return zs(a,x)}):js(a,z,b,function(x){return zs(a,x)}):!1}function au(a,b,z){return js(a,"'"+z+"'",b,function(x){return zs(a,x,!0)})}var Hs=null;function lu(a){var b=this;if(!(a.target&&a.target!=b.display.input.getField())&&(b.curOp.focus=Le(),!Vt(b,a))){be&&De<11&&a.keyCode==27&&(a.returnValue=!1);var z=a.keyCode;b.display.shift=z==16||a.shiftKey;var x=Ws(b,a);se&&(Hs=x?z:null,!x&&z==88&&!zt&&(ue?a.metaKey:a.ctrlKey)&&b.replaceSelection("",null,"cut")),y&&!ue&&!x&&z==46&&a.shiftKey&&!a.ctrlKey&&document.execCommand&&document.execCommand("cut"),z==18&&!/\bCodeMirror-crosshair\b/.test(b.display.lineDiv.className)&&gu(b)}}function gu(a){var b=a.display.lineDiv;pe(b,"CodeMirror-crosshair");function z(x){(x.keyCode==18||!x.altKey)&&(Ne(b,"CodeMirror-crosshair"),yn(document,"keyup",z),yn(document,"mouseover",z))}en(document,"keyup",z),en(document,"mouseover",z)}function su(a){a.keyCode==16&&(this.doc.sel.shift=!1),Vt(this,a)}function uu(a){var b=this;if(!(a.target&&a.target!=b.display.input.getField())&&!(gr(b.display,a)||Vt(b,a)||a.ctrlKey&&!a.altKey||ue&&a.metaKey)){var z=a.keyCode,x=a.charCode;if(se&&z==Hs){Hs=null,Lt(a);return}if(!(se&&(!a.which||a.which<10)&&Ws(b,a))){var ee=String.fromCharCode(x==null?z:x);ee!="\b"&&(au(b,a,ee)||b.display.input.onKeyPress(a))}}}var Fu=400,_s=function(a,b,z){this.time=a,this.pos=b,this.button=z};_s.prototype.compare=function(a,b,z){return this.time+Fu>a&&Ht(b,this.pos)==0&&z==this.button};var Cs,Ps;function cu(a,b){var z=+new Date;return Ps&&Ps.compare(z,a,b)?(Cs=Ps=null,"triple"):Cs&&Cs.compare(z,a,b)?(Ps=new _s(z,a,b),Cs=null,"double"):(Cs=new _s(z,a,b),Ps=null,"single")}function du(a){var b=this,z=b.display;if(!(Vt(b,a)||z.activeTouch&&z.input.supportsTouch())){if(z.input.ensurePolled(),z.shift=a.shiftKey,gr(z,a)){ye||(z.scroller.draggable=!1,setTimeout(function(){return z.scroller.draggable=!0},100));return}if(!ls(b,a)){var x=Ql(b,a),ee=wt(a),ie=x?cu(x,ee):"single";window.focus(),ee==1&&b.state.selectingText&&b.state.selectingText(a),!(x&&Bu(b,ee,x,ie,a))&&(ee==1?x?ma(b,x,ie,a):kt(a)==z.scroller&&Lt(a):ee==2?(x&&Ni(b.doc,x),setTimeout(function(){return z.input.focus()},20)):ee==3&&(Fe?b.display.input.onContextMenu(a):ks(b)))}}}function Bu(a,b,z,x,ee){var ie="Click";return x=="double"?ie="Double"+ie:x=="triple"&&(ie="Triple"+ie),ie=(b==1?"Left":b==2?"Middle":"Right")+ie,js(a,Zs(ie,ee),ee,function(Ee){if(typeof Ee=="string"&&(Ee=ms[Ee]),!Ee)return!1;var Ke=!1;try{a.isReadOnly()&&(a.state.suppressEdits=!0),Ke=Ee(a,z)!=lt}finally{a.state.suppressEdits=!1}return Ke})}function la(a,b,z){var x=a.getOption("configureMouse"),ee=x?x(a,b,z):{};if(ee.unit==null){var ie=Me?z.shiftKey&&z.metaKey:z.altKey;ee.unit=ie?"rectangle":b=="single"?"char":b=="double"?"word":"line"}return(ee.extend==null||a.doc.extend)&&(ee.extend=a.doc.extend||z.shiftKey),ee.addNew==null&&(ee.addNew=ue?z.metaKey:z.ctrlKey),ee.moveOnDrag==null&&(ee.moveOnDrag=!(ue?z.altKey:z.ctrlKey)),ee}function ma(a,b,z,x){be?setTimeout(Ct(pu,a),0):a.curOp.focus=Le();var ee=la(a,z,x),ie=a.doc.sel,Ee;a.options.dragDrop&&cn&&!a.isReadOnly()&&z=="single"&&(Ee=ie.contains(b))>-1&&(Ht((Ee=ie.ranges[Ee]).from(),b)<0||b.xRel>0)&&(Ht(Ee.to(),b)>0||b.xRel<0)?gl(a,x,b,ee):yl(a,x,b,ee)}function gl(a,b,z,x){var ee=a.display,ie=!1,Ee=no(a,function(mt){ye&&(ee.scroller.draggable=!1),a.state.draggingText=!1,yn(ee.wrapper.ownerDocument,"mouseup",Ee),yn(ee.wrapper.ownerDocument,"mousemove",Ke),yn(ee.scroller,"dragstart",$e),yn(ee.scroller,"drop",Ee),ie||(Lt(mt),x.addNew||Ni(a.doc,z,null,null,x.extend),ye&&!Ye||be&&De==9?setTimeout(function(){ee.wrapper.ownerDocument.body.focus({preventScroll:!0}),ee.input.focus()},20):ee.input.focus())}),Ke=function(mt){ie=ie||Math.abs(b.clientX-mt.clientX)+Math.abs(b.clientY-mt.clientY)>=10},$e=function(){return ie=!0};ye&&(ee.scroller.draggable=!0),a.state.draggingText=Ee,Ee.copy=!x.moveOnDrag,ee.scroller.dragDrop&&ee.scroller.dragDrop(),en(ee.wrapper.ownerDocument,"mouseup",Ee),en(ee.wrapper.ownerDocument,"mousemove",Ke),en(ee.scroller,"dragstart",$e),en(ee.scroller,"drop",Ee),ks(a),setTimeout(function(){return ee.input.focus()},20)}function Rl(a,b,z){if(z=="char")return new wn(b,b);if(z=="word")return a.findWordAt(b);if(z=="line")return new wn(Et(b.line,0),Bt(a.doc,Et(b.line+1,0)));var x=z(a,b);return new wn(x.from,x.to)}function yl(a,b,z,x){var ee=a.display,ie=a.doc;Lt(b);var Ee,Ke,$e=ie.sel,mt=$e.ranges;if(x.addNew&&!x.extend?(Ke=ie.sel.contains(z),Ke>-1?Ee=mt[Ke]:Ee=new wn(z,z)):(Ee=ie.sel.primary(),Ke=ie.sel.primIndex),x.unit=="rectangle")x.addNew||(Ee=new wn(z,z)),z=Ql(a,b,!0,!0),Ke=-1;else{var rn=Rl(a,z,x.unit);x.extend?Ee=Ri(Ee,rn.anchor,rn.head,x.extend):Ee=rn}x.addNew?Ke==-1?(Ke=mt.length,go(ie,vr(a,mt.concat([Ee]),Ke),{scroll:!1,origin:"*mouse"})):mt.length>1&&mt[Ke].empty()&&x.unit=="char"&&!x.extend?(go(ie,vr(a,mt.slice(0,Ke).concat(mt.slice(Ke+1)),0),{scroll:!1,origin:"*mouse"}),$e=ie.sel):Ia(ie,Ke,Ee,Re):(Ke=0,go(ie,new Fn([Ee],0),Re),$e=ie.sel);var vn=z;function Un(xo){if(Ht(vn,xo)!=0)if(vn=xo,x.unit=="rectangle"){for(var ri=[],Ii=a.options.tabSize,Ai=We(Bn(ie,z.line).text,z.ch,Ii),na=We(Bn(ie,xo.line).text,xo.ch,Ii),Wa=Math.min(Ai,na),Cl=Math.max(Ai,na),Qa=Math.min(z.line,xo.line),Xl=Math.min(a.lastLine(),Math.max(z.line,xo.line));Qa<=Xl;Qa++){var Zl=Bn(ie,Qa).text,cl=jt(Zl,Wa,Ii);Wa==Cl?ri.push(new wn(Et(Qa,cl),Et(Qa,cl))):Zl.length>cl&&ri.push(new wn(Et(Qa,cl),Et(Qa,jt(Zl,Cl,Ii))))}ri.length||ri.push(new wn(z,z)),go(ie,vr(a,$e.ranges.slice(0,Ke).concat(ri),Ke),{origin:"*mouse",scroll:!1}),a.scrollIntoView(xo)}else{var zl=Ee,Fl=Rl(a,xo,x.unit),ml=zl.anchor,dl;Ht(Fl.anchor,ml)>0?(dl=Fl.head,ml=Kt(zl.from(),Fl.anchor)):(dl=Fl.anchor,ml=nn(zl.to(),Fl.head));var $a=$e.ranges.slice(0);$a[Ke]=Ms(a,new wn(Bt(ie,ml),dl)),go(ie,vr(a,$a,Ke),Re)}}var jn=ee.wrapper.getBoundingClientRect(),wr=0;function Vr(xo){var ri=++wr,Ii=Ql(a,xo,!0,x.unit=="rectangle");if(Ii)if(Ht(Ii,vn)!=0){a.curOp.focus=Le(),Un(Ii);var Ai=ae(ee,ie);(Ii.line>=Ai.to||Ii.line<Ai.from)&&setTimeout(no(a,function(){wr==ri&&Vr(xo)}),150)}else{var na=xo.clientY<jn.top?-20:xo.clientY>jn.bottom?20:0;na&&setTimeout(no(a,function(){wr==ri&&(ee.scroller.scrollTop+=na,Vr(xo))}),50)}}function so(xo){a.state.selectingText=!1,wr=1/0,xo&&(Lt(xo),ee.input.focus()),yn(ee.wrapper.ownerDocument,"mousemove",Eo),yn(ee.wrapper.ownerDocument,"mouseup",Xo),ie.history.lastSelOrigin=null}var Eo=no(a,function(xo){xo.buttons===0||!wt(xo)?so(xo):Vr(xo)}),Xo=no(a,so);a.state.selectingText=Xo,en(ee.wrapper.ownerDocument,"mousemove",Eo),en(ee.wrapper.ownerDocument,"mouseup",Xo)}function Ms(a,b){var z=b.anchor,x=b.head,ee=Bn(a.doc,z.line);if(Ht(z,x)==0&&z.sticky==x.sticky)return b;var ie=_e(ee);if(!ie)return b;var Ee=gt(ie,z.ch,z.sticky),Ke=ie[Ee];if(Ke.from!=z.ch&&Ke.to!=z.ch)return b;var $e=Ee+(Ke.from==z.ch==(Ke.level!=1)?0:1);if($e==0||$e==ie.length)return b;var mt;if(x.line!=z.line)mt=(x.line-z.line)*(a.doc.direction=="ltr"?1:-1)>0;else{var rn=gt(ie,x.ch,x.sticky),vn=rn-Ee||(x.ch-z.ch)*(Ke.level==1?-1:1);rn==$e-1||rn==$e?mt=vn<0:mt=vn>0}var Un=ie[$e+(mt?-1:0)],jn=mt==(Un.level==1),wr=jn?Un.from:Un.to,Vr=jn?"after":"before";return z.ch==wr&&z.sticky==Vr?b:new wn(new Et(z.line,wr,Vr),x)}function hs(a,b,z,x){var ee,ie;if(b.touches)ee=b.touches[0].clientX,ie=b.touches[0].clientY;else try{ee=b.clientX,ie=b.clientY}catch(Un){return!1}if(ee>=Math.floor(a.display.gutters.getBoundingClientRect().right))return!1;x&&Lt(b);var Ee=a.display,Ke=Ee.lineDiv.getBoundingClientRect();if(ie>Ke.bottom||!sn(a,z))return Cn(b);ie-=Ke.top-Ee.viewOffset;for(var $e=0;$e<a.display.gutterSpecs.length;++$e){var mt=Ee.gutters.childNodes[$e];if(mt&&mt.getBoundingClientRect().right>=ee){var rn=Jt(a.doc,ie),vn=a.display.gutterSpecs[$e];return tn(a,z,a,rn,vn.className,b),Cn(b)}}}function ls(a,b){return hs(a,b,"gutterClick",!0)}function Is(a,b){gr(a.display,b)||fu(a,b)||Vt(a,b,"contextmenu")||Fe||a.display.input.onContextMenu(b)}function fu(a,b){return sn(a,"gutterContextMenu")?hs(a,b,"gutterContextMenu",!1):!1}function Nu(a){a.display.wrapper.className=a.display.wrapper.className.replace(/\s*cm-s-\S+/g,"")+a.options.theme.replace(/(^|\s)\s*/g," cm-s-"),Kl(a)}var Qs={toString:function(){return"CodeMirror.Init"}},ku={},yu={};function _u(a){var b=a.optionHandlers;function z(x,ee,ie,Ee){a.defaults[x]=ee,ie&&(b[x]=Ee?function(Ke,$e,mt){mt!=Qs&&ie(Ke,$e,mt)}:ie)}a.defineOption=z,a.Init=Qs,z("value","",function(x,ee){return x.setValue(ee)},!0),z("mode",null,function(x,ee){x.doc.modeOption=ee,Wr(x)},!0),z("indentUnit",2,Wr,!0),z("indentWithTabs",!1),z("smartIndent",!0),z("tabSize",4,function(x){Gr(x),Kl(x),al(x)},!0),z("lineSeparator",null,function(x,ee){if(x.doc.lineSep=ee,!!ee){var ie=[],Ee=x.doc.first;x.doc.iter(function($e){for(var mt=0;;){var rn=$e.text.indexOf(ee,mt);if(rn==-1)break;mt=rn+ee.length,ie.push(Et(Ee,rn))}Ee++});for(var Ke=ie.length-1;Ke>=0;Ke--)Ui(x.doc,ee,ie[Ke],Et(ie[Ke].line,ie[Ke].ch+ee.length))}}),z("specialChars",/[\u0000-\u001f\u007f-\u009f\u00ad\u061c\u200b-\u200c\u200e\u200f\u2028\u2029\ufeff\ufff9-\ufffc]/g,function(x,ee,ie){x.state.specialChars=new RegExp(ee.source+(ee.test(" ")?"":"| "),"g"),ie!=Qs&&x.refresh()}),z("specialCharPlaceholder",sa,function(x){return x.refresh()},!0),z("electricChars",!0),z("inputStyle",me?"contenteditable":"textarea",function(){throw new Error("inputStyle can not (yet) be changed in a running editor")},!0),z("spellcheck",!1,function(x,ee){return x.getInputField().spellcheck=ee},!0),z("autocorrect",!1,function(x,ee){return x.getInputField().autocorrect=ee},!0),z("autocapitalize",!1,function(x,ee){return x.getInputField().autocapitalize=ee},!0),z("rtlMoveVisually",!Ze),z("wholeLineUpdateBefore",!0),z("theme","default",function(x){Nu(x),fn(x)},!0),z("keyMap","default",function(x,ee,ie){var Ee=Gs(ee),Ke=ie!=Qs&&Gs(ie);Ke&&Ke.detach&&Ke.detach(x,Ee),Ee.attach&&Ee.attach(x,Ke||null)}),z("extraKeys",null),z("configureMouse",null),z("lineWrapping",!1,Ju,!0),z("gutters",[],function(x,ee){x.display.gutterSpecs=Nt(ee,x.options.lineNumbers),fn(x)},!0),z("fixedGutter",!0,function(x,ee){x.display.gutters.style.left=ee?Ls(x.display)+"px":"0",x.refresh()},!0),z("coverGutterNextToScrollbar",!1,function(x){return Sr(x)},!0),z("scrollbarStyle","native",function(x){Br(x),Sr(x),x.display.scrollbars.setScrollTop(x.doc.scrollTop),x.display.scrollbars.setScrollLeft(x.doc.scrollLeft)},!0),z("lineNumbers",!1,function(x,ee){x.display.gutterSpecs=Nt(x.options.gutters,ee),fn(x)},!0),z("firstLineNumber",1,fn,!0),z("lineNumberFormatter",function(x){return x},fn,!0),z("showCursorWhenSelecting",!1,os,!0),z("resetSelectionOnContextMenu",!0),z("lineWiseCopyCut",!0),z("pasteLinesPerSelection",!0),z("selectionsMayTouch",!1),z("readOnly",!1,function(x,ee){ee=="nocursor"&&(ds(x),x.display.input.blur()),x.display.input.readOnlyChanged(ee)}),z("screenReaderLabel",null,function(x,ee){ee=ee===""?null:ee,x.display.input.screenReaderLabelChanged(ee)}),z("disableInput",!1,function(x,ee){ee||x.display.input.reset()},!0),z("dragDrop",!0,Qu),z("allowDropFileTypes",null),z("cursorBlinkRate",530),z("cursorScrollMargin",0),z("cursorHeight",1,os,!0),z("singleCursorHeightPerLine",!0,os,!0),z("workTime",100),z("workDelay",100),z("flattenSpans",!0,Gr,!0),z("addModeClass",!1,Gr,!0),z("pollInterval",100),z("undoDepth",200,function(x,ee){return x.doc.history.undoDepth=ee}),z("historyEventDelay",1250),z("viewportMargin",10,function(x){return x.refresh()},!0),z("maxHighlightLength",1e4,Gr,!0),z("moveInputWithCursor",!0,function(x,ee){ee||x.display.input.resetPosition()}),z("tabindex",null,function(x,ee){return x.display.input.getField().tabIndex=ee||""}),z("autofocus",null),z("direction","ltr",function(x,ee){return x.doc.setDirection(ee)},!0),z("phrases",null)}function Qu(a,b,z){var x=z&&z!=Qs;if(!b!=!x){var ee=a.display.dragFunctions,ie=b?en:yn;ie(a.display.scroller,"dragstart",ee.start),ie(a.display.scroller,"dragenter",ee.enter),ie(a.display.scroller,"dragover",ee.over),ie(a.display.scroller,"dragleave",ee.leave),ie(a.display.scroller,"drop",ee.drop)}}function Ju(a){a.options.lineWrapping?(pe(a.display.wrapper,"CodeMirror-wrap"),a.display.sizer.style.minWidth="",a.display.sizerWidth=null):(Ne(a.display.wrapper,"CodeMirror-wrap"),ii(a)),cs(a),al(a),Kl(a),setTimeout(function(){return Sr(a)},100)}function Ya(a,b){var z=this;if(!(this instanceof Ya))return new Ya(a,b);this.options=b=b?Yt(b):{},Yt(ku,b,!1);var x=b.value;typeof x=="string"?x=new jo(x,b.mode,null,b.lineSeparator,b.direction):b.mode&&(x.modeOption=b.mode),this.doc=x;var ee=new Ya.inputStyles[b.inputStyle](this),ie=this.display=new on(a,x,ee,b);ie.wrapper.CodeMirror=this,Nu(this),b.lineWrapping&&(this.display.wrapper.className+=" CodeMirror-wrap"),Br(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 Be,keySeq:null,specialChars:null},b.autofocus&&!me&&ie.input.focus(),be&&De<11&&setTimeout(function(){return z.display.input.reset(!0)},20),$u(this),aa(),zr(this),this.curOp.forceUpdate=!0,Fr(this,x),b.autofocus&&!me||this.hasFocus()?setTimeout(function(){z.hasFocus()&&!z.state.focused&&is(z)},20):ds(this);for(var Ee in yu)yu.hasOwnProperty(Ee)&&yu[Ee](this,b[Ee],Qs);At(this),b.finishInit&&b.finishInit(this);for(var Ke=0;Ke<Pu.length;++Ke)Pu[Ke](this);Ur(this),ye&&b.lineWrapping&&getComputedStyle(ie.lineDiv).textRendering=="optimizelegibility"&&(ie.lineDiv.style.textRendering="auto")}Ya.defaults=ku,Ya.optionHandlers=yu;function $u(a){var b=a.display;en(b.scroller,"mousedown",no(a,du)),be&&De<11?en(b.scroller,"dblclick",no(a,function($e){if(!Vt(a,$e)){var mt=Ql(a,$e);if(!(!mt||ls(a,$e)||gr(a.display,$e))){Lt($e);var rn=a.findWordAt(mt);Ni(a.doc,rn.anchor,rn.head)}}})):en(b.scroller,"dblclick",function($e){return Vt(a,$e)||Lt($e)}),en(b.scroller,"contextmenu",function($e){return Is(a,$e)}),en(b.input.getField(),"contextmenu",function($e){b.scroller.contains($e.target)||Is(a,$e)});var z,x={end:0};function ee(){b.activeTouch&&(z=setTimeout(function(){return b.activeTouch=null},1e3),x=b.activeTouch,x.end=+new Date)}function ie($e){if($e.touches.length!=1)return!1;var mt=$e.touches[0];return mt.radiusX<=1&&mt.radiusY<=1}function Ee($e,mt){if(mt.left==null)return!0;var rn=mt.left-$e.left,vn=mt.top-$e.top;return rn*rn+vn*vn>20*20}en(b.scroller,"touchstart",function($e){if(!Vt(a,$e)&&!ie($e)&&!ls(a,$e)){b.input.ensurePolled(),clearTimeout(z);var mt=+new Date;b.activeTouch={start:mt,moved:!1,prev:mt-x.end<=300?x:null},$e.touches.length==1&&(b.activeTouch.left=$e.touches[0].pageX,b.activeTouch.top=$e.touches[0].pageY)}}),en(b.scroller,"touchmove",function(){b.activeTouch&&(b.activeTouch.moved=!0)}),en(b.scroller,"touchend",function($e){var mt=b.activeTouch;if(mt&&!gr(b,$e)&&mt.left!=null&&!mt.moved&&new Date-mt.start<300){var rn=a.coordsChar(b.activeTouch,"page"),vn;!mt.prev||Ee(mt,mt.prev)?vn=new wn(rn,rn):!mt.prev.prev||Ee(mt,mt.prev.prev)?vn=a.findWordAt(rn):vn=new wn(Et(rn.line,0),Bt(a.doc,Et(rn.line+1,0))),a.setSelection(vn.anchor,vn.head),a.focus(),Lt($e)}ee()}),en(b.scroller,"touchcancel",ee),en(b.scroller,"scroll",function(){b.scroller.clientHeight&&(cr(a,b.scroller.scrollTop),hr(a,b.scroller.scrollLeft,!0),tn(a,"scroll",a))}),en(b.scroller,"mousewheel",function($e){return On(a,$e)}),en(b.scroller,"DOMMouseScroll",function($e){return On(a,$e)}),en(b.wrapper,"scroll",function(){return b.wrapper.scrollTop=b.wrapper.scrollLeft=0}),b.dragFunctions={enter:function($e){Vt(a,$e)||ut($e)},over:function($e){Vt(a,$e)||(Gl(a,$e),ut($e))},start:function($e){return Bl(a,$e)},drop:no(a,sl),leave:function($e){Vt(a,$e)||Ds(a)}};var Ke=b.input.getField();en(Ke,"keyup",function($e){return su.call(a,$e)}),en(Ke,"keydown",no(a,lu)),en(Ke,"keypress",no(a,uu)),en(Ke,"focus",function($e){return is(a,$e)}),en(Ke,"blur",function($e){return ds(a,$e)})}var Pu=[];Ya.defineInitHook=function(a){return Pu.push(a)};function mu(a,b,z,x){var ee=a.doc,ie;z==null&&(z="add"),z=="smart"&&(ee.mode.indent?ie=Hr(a,b).state:z="prev");var Ee=a.options.tabSize,Ke=Bn(ee,b),$e=We(Ke.text,null,Ee);Ke.stateAfter&&(Ke.stateAfter=null);var mt=Ke.text.match(/^\s*/)[0],rn;if(!x&&!/\S/.test(Ke.text))rn=0,z="not";else if(z=="smart"&&(rn=ee.mode.indent(ie,Ke.text.slice(mt.length),Ke.text),rn==lt||rn>150)){if(!x)return;z="prev"}z=="prev"?b>ee.first?rn=We(Bn(ee,b-1).text,null,Ee):rn=0:z=="add"?rn=$e+a.options.indentUnit:z=="subtract"?rn=$e-a.options.indentUnit:typeof z=="number"&&(rn=$e+z),rn=Math.max(0,rn);var vn="",Un=0;if(a.options.indentWithTabs)for(var jn=Math.floor(rn/Ee);jn;--jn)Un+=Ee,vn+=" ";if(Un<rn&&(vn+=Wt(rn-Un)),vn!=mt)return Ui(ee,vn,Et(b,0),Et(b,mt.length),"+input"),Ke.stateAfter=null,!0;for(var wr=0;wr<ee.sel.ranges.length;wr++){var Vr=ee.sel.ranges[wr];if(Vr.head.line==b&&Vr.head.ch<mt.length){var so=Et(b,mt.length);Ia(ee,wr,new wn(so,so));break}}}var ss=null;function Cu(a){ss=a}function Mu(a,b,z,x,ee){var ie=a.doc;a.display.shift=!1,x||(x=ie.sel);var Ee=+new Date-200,Ke=ee=="paste"||a.state.pasteIncoming>Ee,$e=kn(b),mt=null;if(Ke&&x.ranges.length>1)if(ss&&ss.text.join(`
`)==b){if(x.ranges.length%ss.text.length==0){mt=[];for(var rn=0;rn<ss.text.length;rn++)mt.push(ie.splitLines(ss.text[rn]))}}else $e.length==x.ranges.length&&a.options.pasteLinesPerSelection&&(mt=$t($e,function(Eo){return[Eo]}));for(var vn=a.curOp.updateInput,Un=x.ranges.length-1;Un>=0;Un--){var jn=x.ranges[Un],wr=jn.from(),Vr=jn.to();jn.empty()&&(z&&z>0?wr=Et(wr.line,wr.ch-z):a.state.overwrite&&!Ke?Vr=Et(Vr.line,Math.min(Bn(ie,Vr.line).text.length,Vr.ch+xt($e).length)):Ke&&ss&&ss.lineWise&&ss.text.join(`
`)==$e.join(`
`)&&(wr=Vr=Et(wr.line,0)));var so={from:wr,to:Vr,text:mt?mt[Un%mt.length]:$e,origin:ee||(Ke?"paste":a.state.cutIncoming>Ee?"cut":"+input")};ca(a.doc,so),_o(a,"inputRead",a,so)}b&&!Ke&&Zu(a,b),Dn(a),a.curOp.updateInput<2&&(a.curOp.updateInput=vn),a.curOp.typing=!0,a.state.pasteIncoming=a.state.cutIncoming=-1}function Ru(a,b){var z=a.clipboardData&&a.clipboardData.getData("Text");if(z)return a.preventDefault(),!b.isReadOnly()&&!b.options.disableInput&&uo(b,function(){return Mu(b,z,0,null,"paste")}),!0}function Zu(a,b){if(!(!a.options.electricChars||!a.options.smartIndent))for(var z=a.doc.sel,x=z.ranges.length-1;x>=0;x--){var ee=z.ranges[x];if(!(ee.head.ch>100||x&&z.ranges[x-1].head.line==ee.head.line)){var ie=a.getModeAt(ee.head),Ee=!1;if(ie.electricChars){for(var Ke=0;Ke<ie.electricChars.length;Ke++)if(b.indexOf(ie.electricChars.charAt(Ke))>-1){Ee=mu(a,ee.head.line,"smart");break}}else ie.electricInput&&ie.electricInput.test(Bn(a.doc,ee.head.line).text.slice(0,ee.head.ch))&&(Ee=mu(a,ee.head.line,"smart"));Ee&&_o(a,"electricInput",a,ee.head.line)}}}function zu(a){for(var b=[],z=[],x=0;x<a.doc.sel.ranges.length;x++){var ee=a.doc.sel.ranges[x].head.line,ie={anchor:Et(ee,0),head:Et(ee+1,0)};z.push(ie),b.push(a.getRange(ie.anchor,ie.head))}return{text:b,ranges:z}}function ju(a,b,z,x){a.setAttribute("autocorrect",z?"":"off"),a.setAttribute("autocapitalize",x?"":"off"),a.setAttribute("spellcheck",!!b)}function Wu(){var a=Oe("textarea",null,null,"position: absolute; bottom: -1em; padding: 0; width: 1px; height: 1em; outline: none"),b=Oe("div",[a],null,"overflow: hidden; position: relative; width: 3px; height: 0px;");return ye?a.style.width="1000px":a.setAttribute("wrap","off"),Ae&&(a.style.border="1px solid black"),ju(a),b}function qu(a){var b=a.optionHandlers,z=a.helpers={};a.prototype={constructor:a,focus:function(){window.focus(),this.display.input.focus()},setOption:function(x,ee){var ie=this.options,Ee=ie[x];ie[x]==ee&&x!="mode"||(ie[x]=ee,b.hasOwnProperty(x)&&no(this,b[x])(this,ee,Ee),tn(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"](Gs(x))},removeKeyMap:function(x){for(var ee=this.state.keyMaps,ie=0;ie<ee.length;++ie)if(ee[ie]==x||ee[ie].name==x)return ee.splice(ie,1),!0},addOverlay:mo(function(x,ee){var ie=x.token?x:a.getMode(this.options,x);if(ie.startState)throw new Error("Overlays may not be stateful.");Rt(this.state.overlays,{mode:ie,modeSpec:x,opaque:ee&&ee.opaque,priority:ee&&ee.priority||0},function(Ee){return Ee.priority}),this.state.modeGen++,al(this)}),removeOverlay:mo(function(x){for(var ee=this.state.overlays,ie=0;ie<ee.length;++ie){var Ee=ee[ie].modeSpec;if(Ee==x||typeof x=="string"&&Ee.name==x){ee.splice(ie,1),this.state.modeGen++,al(this);return}}}),indentLine:mo(function(x,ee,ie){typeof ee!="string"&&typeof ee!="number"&&(ee==null?ee=this.options.smartIndent?"smart":"prev":ee=ee?"add":"subtract"),vt(this.doc,x)&&mu(this,x,ee,ie)}),indentSelection:mo(function(x){for(var ee=this.doc.sel.ranges,ie=-1,Ee=0;Ee<ee.length;Ee++){var Ke=ee[Ee];if(Ke.empty())Ke.head.line>ie&&(mu(this,Ke.head.line,x,!0),ie=Ke.head.line,Ee==this.doc.sel.primIndex&&Dn(this));else{var $e=Ke.from(),mt=Ke.to(),rn=Math.max(ie,$e.line);ie=Math.min(this.lastLine(),mt.line-(mt.ch?0:1))+1;for(var vn=rn;vn<ie;++vn)mu(this,vn,x);var Un=this.doc.sel.ranges;$e.ch==0&&ee.length==Un.length&&Un[Ee].from().ch>0&&Ia(this.doc,Ee,new wn($e,Un[Ee].to()),Se)}}}),getTokenAt:function(x,ee){return Yr(this,x,ee)},getLineTokens:function(x,ee){return Yr(this,Et(x),ee,!0)},getTokenTypeAt:function(x){x=Bt(this.doc,x);var ee=Or(this,Bn(this.doc,x.line)),ie=0,Ee=(ee.length-1)/2,Ke=x.ch,$e;if(Ke==0)$e=ee[2];else for(;;){var mt=ie+Ee>>1;if((mt?ee[mt*2-1]:0)>=Ke)Ee=mt;else if(ee[mt*2+1]<Ke)ie=mt+1;else{$e=ee[mt*2+2];break}}var rn=$e?$e.indexOf("overlay "):-1;return rn<0?$e:rn==0?null:$e.slice(0,rn-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 ie=[];if(!z.hasOwnProperty(ee))return ie;var Ee=z[ee],Ke=this.getModeAt(x);if(typeof Ke[ee]=="string")Ee[Ke[ee]]&&ie.push(Ee[Ke[ee]]);else if(Ke[ee])for(var $e=0;$e<Ke[ee].length;$e++){var mt=Ee[Ke[ee][$e]];mt&&ie.push(mt)}else Ke.helperType&&Ee[Ke.helperType]?ie.push(Ee[Ke.helperType]):Ee[Ke.name]&&ie.push(Ee[Ke.name]);for(var rn=0;rn<Ee._global.length;rn++){var vn=Ee._global[rn];vn.pred(Ke,this)&&Dt(ie,vn.val)==-1&&ie.push(vn.val)}return ie},getStateAfter:function(x,ee){var ie=this.doc;return x=nt(ie,x==null?ie.first+ie.size-1:x),Hr(this,x+1,ee).state},cursorCoords:function(x,ee){var ie,Ee=this.doc.sel.primary();return x==null?ie=Ee.head:typeof x=="object"?ie=Bt(this.doc,x):ie=x?Ee.from():Ee.to(),Ja(this,ie,ee||"page")},charCoords:function(x,ee){return ts(this,Bt(this.doc,x),ee||"page")},coordsChar:function(x,ee){return x=Ss(this,x,ee||"page"),Ua(this,x.left,x.top)},lineAtHeight:function(x,ee){return x=Ss(this,{top:x,left:0},ee||"page").top,Jt(this.doc,x+this.display.viewOffset)},heightAtLine:function(x,ee,ie){var Ee=!1,Ke;if(typeof x=="number"){var $e=this.doc.first+this.doc.size-1;x<this.doc.first?x=this.doc.first:x>$e&&(x=$e,Ee=!0),Ke=Bn(this.doc,x)}else Ke=x;return tl(this,Ke,{top:0,left:0},ee||"page",ie||Ee).top+(Ee?this.doc.height-wo(Ke):0)},defaultTextHeight:function(){return Al(this.display)},defaultCharWidth:function(){return kl(this.display)},getViewport:function(){return{from:this.display.viewFrom,to:this.display.viewTo}},addWidget:function(x,ee,ie,Ee,Ke){var $e=this.display;x=Ja(this,Bt(this.doc,x));var mt=x.bottom,rn=x.left;if(ee.style.position="absolute",ee.setAttribute("cm-ignore-events","true"),this.display.input.setUneditable(ee),$e.sizer.appendChild(ee),Ee=="over")mt=x.top;else if(Ee=="above"||Ee=="near"){var vn=Math.max($e.wrapper.clientHeight,this.doc.height),Un=Math.max($e.sizer.clientWidth,$e.lineSpace.clientWidth);(Ee=="above"||x.bottom+ee.offsetHeight>vn)&&x.top>ee.offsetHeight?mt=x.top-ee.offsetHeight:x.bottom+ee.offsetHeight<=vn&&(mt=x.bottom),rn+ee.offsetWidth>Un&&(rn=Un-ee.offsetWidth)}ee.style.top=mt+"px",ee.style.left=ee.style.right="",Ke=="right"?(rn=$e.sizer.clientWidth-ee.offsetWidth,ee.style.right="0px"):(Ke=="left"?rn=0:Ke=="middle"&&(rn=($e.sizer.clientWidth-ee.offsetWidth)/2),ee.style.left=rn+"px"),ie&&Ft(this,{left:rn,top:mt,right:rn+ee.offsetWidth,bottom:mt+ee.offsetHeight})},triggerOnKeyDown:mo(lu),triggerOnKeyPress:mo(uu),triggerOnKeyUp:su,triggerOnMouseDown:mo(du),execCommand:function(x){if(ms.hasOwnProperty(x))return ms[x].call(null,this)},triggerElectric:mo(function(x){Zu(this,x)}),findPosH:function(x,ee,ie,Ee){var Ke=1;ee<0&&(Ke=-1,ee=-ee);for(var $e=Bt(this.doc,x),mt=0;mt<ee&&($e=Iu(this.doc,$e,Ke,ie,Ee),!$e.hitSide);++mt);return $e},moveH:mo(function(x,ee){var ie=this;this.extendSelectionsBy(function(Ee){return ie.display.shift||ie.doc.extend||Ee.empty()?Iu(ie.doc,Ee.head,x,ee,ie.options.rtlMoveVisually):x<0?Ee.from():Ee.to()},at)}),deleteH:mo(function(x,ee){var ie=this.doc.sel,Ee=this.doc;ie.somethingSelected()?Ee.replaceSelection("",null,"+delete"):ys(this,function(Ke){var $e=Iu(Ee,Ke.head,x,ee,!1);return x<0?{from:$e,to:Ke.head}:{from:Ke.head,to:$e}})}),findPosV:function(x,ee,ie,Ee){var Ke=1,$e=Ee;ee<0&&(Ke=-1,ee=-ee);for(var mt=Bt(this.doc,x),rn=0;rn<ee;++rn){var vn=Ja(this,mt,"div");if($e==null?$e=vn.left:vn.left=$e,mt=Hu(this,vn,Ke,ie),mt.hitSide)break}return mt},moveV:mo(function(x,ee){var ie=this,Ee=this.doc,Ke=[],$e=!this.display.shift&&!Ee.extend&&Ee.sel.somethingSelected();if(Ee.extendSelectionsBy(function(rn){if($e)return x<0?rn.from():rn.to();var vn=Ja(ie,rn.head,"div");rn.goalColumn!=null&&(vn.left=rn.goalColumn),Ke.push(vn.left);var Un=Hu(ie,vn,x,ee);return ee=="page"&&rn==Ee.sel.primary()&&pn(ie,ts(ie,Un,"div").top-vn.top),Un},at),Ke.length)for(var mt=0;mt<Ee.sel.ranges.length;mt++)Ee.sel.ranges[mt].goalColumn=Ke[mt]}),findWordAt:function(x){var ee=this.doc,ie=Bn(ee,x.line).text,Ee=x.ch,Ke=x.ch;if(ie){var $e=this.getHelper(x,"wordChars");(x.sticky=="before"||Ke==ie.length)&&Ee?--Ee:++Ke;for(var mt=ie.charAt(Ee),rn=ve(mt,$e)?function(vn){return ve(vn,$e)}:/\s/.test(mt)?function(vn){return/\s/.test(vn)}:function(vn){return!/\s/.test(vn)&&!ve(vn)};Ee>0&&rn(ie.charAt(Ee-1));)--Ee;for(;Ke<ie.length&&rn(ie.charAt(Ke));)++Ke}return new wn(Et(x.line,Ee),Et(x.line,Ke))},toggleOverwrite:function(x){x!=null&&x==this.state.overwrite||((this.state.overwrite=!this.state.overwrite)?pe(this.display.cursorDiv,"CodeMirror-overwrite"):Ne(this.display.cursorDiv,"CodeMirror-overwrite"),tn(this,"overwriteToggle",this,this.state.overwrite))},hasFocus:function(){return this.display.input.getField()==Le()},isReadOnly:function(){return!!(this.options.readOnly||this.doc.cantEdit)},scrollTo:mo(function(x,ee){Pn(this,x,ee)}),getScrollInfo:function(){var x=this.display.scroller;return{left:x.scrollLeft,top:x.scrollTop,height:x.scrollHeight-Ba(this)-this.display.barHeight,width:x.scrollWidth-Ba(this)-this.display.barWidth,clientHeight:ji(this),clientWidth:xl(this)}},scrollIntoView:mo(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:Et(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?Xn(this,x):In(this,x.from,x.to,x.margin)}),setSize:mo(function(x,ee){var ie=this,Ee=function($e){return typeof $e=="number"||/^\d+$/.test(String($e))?$e+"px":$e};x!=null&&(this.display.wrapper.style.width=Ee(x)),ee!=null&&(this.display.wrapper.style.height=Ee(ee)),this.options.lineWrapping&&el(this);var Ke=this.display.viewFrom;this.doc.iter(Ke,this.display.viewTo,function($e){if($e.widgets){for(var mt=0;mt<$e.widgets.length;mt++)if($e.widgets[mt].noHScroll){Jl(ie,Ke,"widget");break}}++Ke}),this.curOp.forceUpdate=!0,tn(this,"refresh",this)}),operation:function(x){return uo(this,x)},startOperation:function(){return zr(this)},endOperation:function(){return Ur(this)},refresh:mo(function(){var x=this.display.cachedTextHeight;al(this),this.curOp.forceUpdate=!0,Kl(this),Pn(this,this.doc.scrollLeft,this.doc.scrollTop),Te(this.display),(x==null||Math.abs(x-Al(this.display))>.5||this.options.lineWrapping)&&cs(this),tn(this,"refresh",this)}),swapDoc:mo(function(x){var ee=this.doc;return ee.cm=null,this.state.selectingText&&this.state.selectingText(),Fr(this,x),Kl(this),this.display.input.reset(),Pn(this,x.scrollLeft,x.scrollTop),this.curOp.forceScroll=!0,_o(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}},bt(a),a.registerHelper=function(x,ee,ie){z.hasOwnProperty(x)||(z[x]=a[x]={_global:[]}),z[x][ee]=ie},a.registerGlobalHelper=function(x,ee,ie,Ee){a.registerHelper(x,ee,Ee),z[x]._global.push({pred:ie,val:Ee})}}function Iu(a,b,z,x,ee){var ie=b,Ee=z,Ke=Bn(a,b.line),$e=ee&&a.direction=="rtl"?-z:z;function mt(){var Xo=b.line+$e;return Xo<a.first||Xo>=a.first+a.size?!1:(b=new Et(Xo,b.ch,b.sticky),Ke=Bn(a,Xo))}function rn(Xo){var xo;if(x=="codepoint"){var ri=Ke.text.charCodeAt(b.ch+(x>0?0:-1));isNaN(ri)?xo=null:xo=new Et(b.line,Math.max(0,Math.min(Ke.text.length,b.ch+z*(ri>=55296&&ri<56320?2:1))),-z)}else ee?xo=vu(a.cm,Ke,b,z):xo=Xs(Ke,b,z);if(xo==null)if(!Xo&&mt())b=nu(ee,a.cm,Ke,b.line,$e);else return!1;else b=xo;return!0}if(x=="char"||x=="codepoint")rn();else if(x=="column")rn(!0);else if(x=="word"||x=="group")for(var vn=null,Un=x=="group",jn=a.cm&&a.cm.getHelper(b,"wordChars"),wr=!0;!(z<0&&!rn(!wr));wr=!1){var Vr=Ke.text.charAt(b.ch)||`
`,so=ve(Vr,jn)?"w":Un&&Vr==`
`?"n":!Un||/\s/.test(Vr)?null:"p";if(Un&&!wr&&!so&&(so="s"),vn&&vn!=so){z<0&&(z=1,rn(),b.sticky="after");break}if(so&&(vn=so),z>0&&!rn(!wr))break}var Eo=Da(a,b,ie,Ee,!0);return ot(ie,Eo)&&(Eo.hitSide=!0),Eo}function Hu(a,b,z,x){var ee=a.doc,ie=b.left,Ee;if(x=="page"){var Ke=Math.min(a.display.wrapper.clientHeight,window.innerHeight||document.documentElement.clientHeight),$e=Math.max(Ke-.5*Al(a.display),3);Ee=(z>0?b.bottom:b.top)+z*$e}else x=="line"&&(Ee=z>0?b.bottom+3:b.top-3);for(var mt;mt=Ua(a,ie,Ee),!!mt.outside;){if(z<0?Ee<=0:Ee>=ee.height){mt.hitSide=!0;break}Ee+=z*5}return mt}var ka=function(a){this.cm=a,this.lastAnchorNode=this.lastAnchorOffset=this.lastFocusNode=this.lastFocusOffset=null,this.polling=new Be,this.composing=null,this.gracePeriod=!1,this.readDOMTimeout=null};ka.prototype.init=function(a){var b=this,z=this,x=z.cm,ee=z.div=a.lineDiv;ju(ee,x.options.spellcheck,x.options.autocorrect,x.options.autocapitalize);function ie(Ke){for(var $e=Ke.target;$e;$e=$e.parentNode){if($e==ee)return!0;if(/\bCodeMirror-(?:line)?widget\b/.test($e.className))break}return!1}en(ee,"paste",function(Ke){!ie(Ke)||Vt(x,Ke)||Ru(Ke,x)||De<=11&&setTimeout(no(x,function(){return b.updateFromDOM()}),20)}),en(ee,"compositionstart",function(Ke){b.composing={data:Ke.data,done:!1}}),en(ee,"compositionupdate",function(Ke){b.composing||(b.composing={data:Ke.data,done:!1})}),en(ee,"compositionend",function(Ke){b.composing&&(Ke.data!=b.composing.data&&b.readFromDOMSoon(),b.composing.done=!0)}),en(ee,"touchstart",function(){return z.forceCompositionEnd()}),en(ee,"input",function(){b.composing||b.readFromDOMSoon()});function Ee(Ke){if(!(!ie(Ke)||Vt(x,Ke))){if(x.somethingSelected())Cu({lineWise:!1,text:x.getSelections()}),Ke.type=="cut"&&x.replaceSelection("",null,"cut");else if(x.options.lineWiseCopyCut){var $e=zu(x);Cu({lineWise:!0,text:$e.text}),Ke.type=="cut"&&x.operation(function(){x.setSelections($e.ranges,0,Se),x.replaceSelection("",null,"cut")})}else return;if(Ke.clipboardData){Ke.clipboardData.clearData();var mt=ss.text.join(`
`);if(Ke.clipboardData.setData("Text",mt),Ke.clipboardData.getData("Text")==mt){Ke.preventDefault();return}}var rn=Wu(),vn=rn.firstChild;x.display.lineSpace.insertBefore(rn,x.display.lineSpace.firstChild),vn.value=ss.text.join(`
`);var Un=document.activeElement;Xe(vn),setTimeout(function(){x.display.lineSpace.removeChild(rn),Un.focus(),Un==ee&&z.showPrimarySelection()},50)}}en(ee,"copy",Ee),en(ee,"cut",Ee)},ka.prototype.screenReaderLabelChanged=function(a){a?this.div.setAttribute("aria-label",a):this.div.removeAttribute("aria-label")},ka.prototype.prepareSelection=function(){var a=hu(this.cm,!1);return a.focus=document.activeElement==this.div,a},ka.prototype.showSelection=function(a,b){!a||!this.cm.display.view.length||((a.focus||b)&&this.showPrimarySelection(),this.showMultipleSelections(a))},ka.prototype.getSelection=function(){return this.cm.display.wrapper.ownerDocument.getSelection()},ka.prototype.showPrimarySelection=function(){var a=this.getSelection(),b=this.cm,z=b.doc.sel.primary(),x=z.from(),ee=z.to();if(b.display.viewTo==b.display.viewFrom||x.line>=b.display.viewTo||ee.line<b.display.viewFrom){a.removeAllRanges();return}var ie=bu(b,a.anchorNode,a.anchorOffset),Ee=bu(b,a.focusNode,a.focusOffset);if(!(ie&&!ie.bad&&Ee&&!Ee.bad&&Ht(Kt(ie,Ee),x)==0&&Ht(nn(ie,Ee),ee)==0)){var Ke=b.display.view,$e=x.line>=b.display.viewFrom&&Ku(b,x)||{node:Ke[0].measure.map[2],offset:0},mt=ee.line<b.display.viewTo&&Ku(b,ee);if(!mt){var rn=Ke[Ke.length-1].measure,vn=rn.maps?rn.maps[rn.maps.length-1]:rn.map;mt={node:vn[vn.length-1],offset:vn[vn.length-2]-vn[vn.length-3]}}if(!$e||!mt){a.removeAllRanges();return}var Un=a.rangeCount&&a.getRangeAt(0),jn;try{jn=Pe($e.node,$e.offset,mt.offset,mt.node)}catch(wr){}jn&&(!y&&b.state.focused?(a.collapse($e.node,$e.offset),jn.collapsed||(a.removeAllRanges(),a.addRange(jn))):(a.removeAllRanges(),a.addRange(jn)),Un&&a.anchorNode==null?a.addRange(Un):y&&this.startGracePeriod()),this.rememberSelection()}},ka.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)},ka.prototype.showMultipleSelections=function(a){ge(this.cm.display.cursorDiv,a.cursors),ge(this.cm.display.selectionDiv,a.selection)},ka.prototype.rememberSelection=function(){var a=this.getSelection();this.lastAnchorNode=a.anchorNode,this.lastAnchorOffset=a.anchorOffset,this.lastFocusNode=a.focusNode,this.lastFocusOffset=a.focusOffset},ka.prototype.selectionInEditor=function(){var a=this.getSelection();if(!a.rangeCount)return!1;var b=a.getRangeAt(0).commonAncestorContainer;return it(this.div,b)},ka.prototype.focus=function(){this.cm.options.readOnly!="nocursor"&&((!this.selectionInEditor()||document.activeElement!=this.div)&&this.showSelection(this.prepareSelection(),!0),this.div.focus())},ka.prototype.blur=function(){this.div.blur()},ka.prototype.getField=function(){return this.div},ka.prototype.supportsTouch=function(){return!0},ka.prototype.receivedFocus=function(){var a=this;this.selectionInEditor()?this.pollSelection():uo(this.cm,function(){return a.cm.curOp.selectionChanged=!0});function b(){a.cm.state.focused&&(a.pollSelection(),a.polling.set(a.cm.options.pollInterval,b))}this.polling.set(this.cm.options.pollInterval,b)},ka.prototype.selectionChanged=function(){var a=this.getSelection();return a.anchorNode!=this.lastAnchorNode||a.anchorOffset!=this.lastAnchorOffset||a.focusNode!=this.lastFocusNode||a.focusOffset!=this.lastFocusOffset},ka.prototype.pollSelection=function(){if(!(this.readDOMTimeout!=null||this.gracePeriod||!this.selectionChanged())){var a=this.getSelection(),b=this.cm;if(Ce&&we&&this.cm.display.gutterSpecs.length&&ec(a.anchorNode)){this.cm.triggerOnKeyDown({type:"keydown",keyCode:8,preventDefault:Math.abs}),this.blur(),this.focus();return}if(!this.composing){this.rememberSelection();var z=bu(b,a.anchorNode,a.anchorOffset),x=bu(b,a.focusNode,a.focusOffset);z&&x&&uo(b,function(){go(b.doc,qn(z,x),Se),(z.bad||x.bad)&&(b.curOp.selectionChanged=!0)})}}},ka.prototype.pollContent=function(){this.readDOMTimeout!=null&&(clearTimeout(this.readDOMTimeout),this.readDOMTimeout=null);var a=this.cm,b=a.display,z=a.doc.sel.primary(),x=z.from(),ee=z.to();if(x.ch==0&&x.line>a.firstLine()&&(x=Et(x.line-1,Bn(a.doc,x.line-1).length)),ee.ch==Bn(a.doc,ee.line).text.length&&ee.line<a.lastLine()&&(ee=Et(ee.line+1,0)),x.line<b.viewFrom||ee.line>b.viewTo-1)return!1;var ie,Ee,Ke;x.line==b.viewFrom||(ie=Ul(a,x.line))==0?(Ee=Ot(b.view[0].line),Ke=b.view[0].node):(Ee=Ot(b.view[ie].line),Ke=b.view[ie-1].node.nextSibling);var $e=Ul(a,ee.line),mt,rn;if($e==b.view.length-1?(mt=b.viewTo-1,rn=b.lineDiv.lastChild):(mt=Ot(b.view[$e+1].line)-1,rn=b.view[$e+1].node.previousSibling),!Ke)return!1;for(var vn=a.doc.splitLines(tc(a,Ke,rn,Ee,mt)),Un=Mn(a.doc,Et(Ee,0),Et(mt,Bn(a.doc,mt).text.length));vn.length>1&&Un.length>1;)if(xt(vn)==xt(Un))vn.pop(),Un.pop(),mt--;else if(vn[0]==Un[0])vn.shift(),Un.shift(),Ee++;else break;for(var jn=0,wr=0,Vr=vn[0],so=Un[0],Eo=Math.min(Vr.length,so.length);jn<Eo&&Vr.charCodeAt(jn)==so.charCodeAt(jn);)++jn;for(var Xo=xt(vn),xo=xt(Un),ri=Math.min(Xo.length-(vn.length==1?jn:0),xo.length-(Un.length==1?jn:0));wr<ri&&Xo.charCodeAt(Xo.length-wr-1)==xo.charCodeAt(xo.length-wr-1);)++wr;if(vn.length==1&&Un.length==1&&Ee==x.line)for(;jn&&jn>x.ch&&Xo.charCodeAt(Xo.length-wr-1)==xo.charCodeAt(xo.length-wr-1);)jn--,wr++;vn[vn.length-1]=Xo.slice(0,Xo.length-wr).replace(/^\u200b+/,""),vn[0]=vn[0].slice(jn).replace(/\u200b+$/,"");var Ii=Et(Ee,jn),Ai=Et(mt,Un.length?xt(Un).length-wr:0);if(vn.length>1||vn[0]||Ht(Ii,Ai))return Ui(a.doc,vn,Ii,Ai,"+input"),!0},ka.prototype.ensurePolled=function(){this.forceCompositionEnd()},ka.prototype.reset=function(){this.forceCompositionEnd()},ka.prototype.forceCompositionEnd=function(){this.composing&&(clearTimeout(this.readDOMTimeout),this.composing=null,this.updateFromDOM(),this.div.blur(),this.div.focus())},ka.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))},ka.prototype.updateFromDOM=function(){var a=this;(this.cm.isReadOnly()||!this.pollContent())&&uo(this.cm,function(){return al(a.cm)})},ka.prototype.setUneditable=function(a){a.contentEditable="false"},ka.prototype.onKeyPress=function(a){a.charCode==0||this.composing||(a.preventDefault(),this.cm.isReadOnly()||no(this.cm,Mu)(this.cm,String.fromCharCode(a.charCode==null?a.keyCode:a.charCode),0))},ka.prototype.readOnlyChanged=function(a){this.div.contentEditable=String(a!="nocursor")},ka.prototype.onContextMenu=function(){},ka.prototype.resetPosition=function(){},ka.prototype.needsContentAttribute=!0;function Ku(a,b){var z=po(a,b.line);if(!z||z.hidden)return null;var x=Bn(a.doc,b.line),ee=Wl(z,x,b.line),ie=_e(x,a.doc.direction),Ee="left";if(ie){var Ke=gt(ie,b.ch);Ee=Ke%2?"right":"left"}var $e=Hl(ee.map,b.ch,Ee);return $e.offset=$e.collapse=="right"?$e.end:$e.start,$e}function ec(a){for(var b=a;b;b=b.parentNode)if(/CodeMirror-gutter-wrapper/.test(b.className))return!0;return!1}function Js(a,b){return b&&(a.bad=!0),a}function tc(a,b,z,x,ee){var ie="",Ee=!1,Ke=a.doc.lineSeparator(),$e=!1;function mt(jn){return function(wr){return wr.id==jn}}function rn(){Ee&&(ie+=Ke,$e&&(ie+=Ke),Ee=$e=!1)}function vn(jn){jn&&(rn(),ie+=jn)}function Un(jn){if(jn.nodeType==1){var wr=jn.getAttribute("cm-text");if(wr){vn(wr);return}var Vr=jn.getAttribute("cm-marker"),so;if(Vr){var Eo=a.findMarks(Et(x,0),Et(ee+1,0),mt(+Vr));Eo.length&&(so=Eo[0].find(0))&&vn(Mn(a.doc,so.from,so.to).join(Ke));return}if(jn.getAttribute("contenteditable")=="false")return;var Xo=/^(pre|div|p|li|table|br)$/i.test(jn.nodeName);if(!/^br$/i.test(jn.nodeName)&&jn.textContent.length==0)return;Xo&&rn();for(var xo=0;xo<jn.childNodes.length;xo++)Un(jn.childNodes[xo]);/^(pre|p)$/i.test(jn.nodeName)&&($e=!0),Xo&&(Ee=!0)}else jn.nodeType==3&&vn(jn.nodeValue.replace(/\u200b/g,"").replace(/\u00a0/g," "))}for(;Un(b),b!=z;)b=b.nextSibling,$e=!1;return ie}function bu(a,b,z){var x;if(b==a.display.lineDiv){if(x=a.display.lineDiv.childNodes[z],!x)return Js(a.clipPos(Et(a.display.viewTo-1)),!0);b=null,z=0}else for(x=b;;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 ie=a.display.view[ee];if(ie.node==x)return nc(ie,b,z)}}function nc(a,b,z){var x=a.text.firstChild,ee=!1;if(!b||!it(x,b))return Js(Et(Ot(a.line),0),!0);if(b==x&&(ee=!0,b=x.childNodes[z],z=0,!b)){var ie=a.rest?xt(a.rest):a.line;return Js(Et(Ot(ie),ie.text.length),ee)}var Ee=b.nodeType==3?b:null,Ke=b;for(!Ee&&b.childNodes.length==1&&b.firstChild.nodeType==3&&(Ee=b.firstChild,z&&(z=Ee.nodeValue.length));Ke.parentNode!=x;)Ke=Ke.parentNode;var $e=a.measure,mt=$e.maps;function rn(so,Eo,Xo){for(var xo=-1;xo<(mt?mt.length:0);xo++)for(var ri=xo<0?$e.map:mt[xo],Ii=0;Ii<ri.length;Ii+=3){var Ai=ri[Ii+2];if(Ai==so||Ai==Eo){var na=Ot(xo<0?a.line:a.rest[xo]),Wa=ri[Ii]+Xo;return(Xo<0||Ai!=so)&&(Wa=ri[Ii+(Xo?1:0)]),Et(na,Wa)}}}var vn=rn(Ee,Ke,z);if(vn)return Js(vn,ee);for(var Un=Ke.nextSibling,jn=Ee?Ee.nodeValue.length-z:0;Un;Un=Un.nextSibling){if(vn=rn(Un,Un.firstChild,0),vn)return Js(Et(vn.line,vn.ch-jn),ee);jn+=Un.textContent.length}for(var wr=Ke.previousSibling,Vr=z;wr;wr=wr.previousSibling){if(vn=rn(wr,wr.firstChild,-1),vn)return Js(Et(vn.line,vn.ch+Vr),ee);Vr+=wr.textContent.length}}var il=function(a){this.cm=a,this.prevInput="",this.pollingFast=!1,this.polling=new Be,this.hasSelection=!1,this.composing=null};il.prototype.init=function(a){var b=this,z=this,x=this.cm;this.createField(a);var ee=this.textarea;a.wrapper.insertBefore(this.wrapper,a.wrapper.firstChild),Ae&&(ee.style.width="0px"),en(ee,"input",function(){be&&De>=9&&b.hasSelection&&(b.hasSelection=null),z.poll()}),en(ee,"paste",function(Ee){Vt(x,Ee)||Ru(Ee,x)||(x.state.pasteIncoming=+new Date,z.fastPoll())});function ie(Ee){if(!Vt(x,Ee)){if(x.somethingSelected())Cu({lineWise:!1,text:x.getSelections()});else if(x.options.lineWiseCopyCut){var Ke=zu(x);Cu({lineWise:!0,text:Ke.text}),Ee.type=="cut"?x.setSelections(Ke.ranges,null,Se):(z.prevInput="",ee.value=Ke.text.join(`
`),Xe(ee))}else return;Ee.type=="cut"&&(x.state.cutIncoming=+new Date)}}en(ee,"cut",ie),en(ee,"copy",ie),en(a.scroller,"paste",function(Ee){if(!(gr(a,Ee)||Vt(x,Ee))){if(!ee.dispatchEvent){x.state.pasteIncoming=+new Date,z.focus();return}var Ke=new Event("paste");Ke.clipboardData=Ee.clipboardData,ee.dispatchEvent(Ke)}}),en(a.lineSpace,"selectstart",function(Ee){gr(a,Ee)||Lt(Ee)}),en(ee,"compositionstart",function(){var Ee=x.getCursor("from");z.composing&&z.composing.range.clear(),z.composing={start:Ee,range:x.markText(Ee,x.getCursor("to"),{className:"CodeMirror-composing"})}}),en(ee,"compositionend",function(){z.composing&&(z.poll(),z.composing.range.clear(),z.composing=null)})},il.prototype.createField=function(a){this.wrapper=Wu(),this.textarea=this.wrapper.firstChild},il.prototype.screenReaderLabelChanged=function(a){a?this.textarea.setAttribute("aria-label",a):this.textarea.removeAttribute("aria-label")},il.prototype.prepareSelection=function(){var a=this.cm,b=a.display,z=a.doc,x=hu(a);if(a.options.moveInputWithCursor){var ee=Ja(a,z.sel.primary().head,"div"),ie=b.wrapper.getBoundingClientRect(),Ee=b.lineDiv.getBoundingClientRect();x.teTop=Math.max(0,Math.min(b.wrapper.clientHeight-10,ee.top+Ee.top-ie.top)),x.teLeft=Math.max(0,Math.min(b.wrapper.clientWidth-10,ee.left+Ee.left-ie.left))}return x},il.prototype.showSelection=function(a){var b=this.cm,z=b.display;ge(z.cursorDiv,a.cursors),ge(z.selectionDiv,a.selection),a.teTop!=null&&(this.wrapper.style.top=a.teTop+"px",this.wrapper.style.left=a.teLeft+"px")},il.prototype.reset=function(a){if(!(this.contextMenuPending||this.composing)){var b=this.cm;if(b.somethingSelected()){this.prevInput="";var z=b.getSelection();this.textarea.value=z,b.state.focused&&Xe(this.textarea),be&&De>=9&&(this.hasSelection=z)}else a||(this.prevInput=this.textarea.value="",be&&De>=9&&(this.hasSelection=null))}},il.prototype.getField=function(){return this.textarea},il.prototype.supportsTouch=function(){return!1},il.prototype.focus=function(){if(this.cm.options.readOnly!="nocursor"&&(!me||Le()!=this.textarea))try{this.textarea.focus()}catch(a){}},il.prototype.blur=function(){this.textarea.blur()},il.prototype.resetPosition=function(){this.wrapper.style.top=this.wrapper.style.left=0},il.prototype.receivedFocus=function(){this.slowPoll()},il.prototype.slowPoll=function(){var a=this;this.pollingFast||this.polling.set(this.cm.options.pollInterval,function(){a.poll(),a.cm.state.focused&&a.slowPoll()})},il.prototype.fastPoll=function(){var a=!1,b=this;b.pollingFast=!0;function z(){var x=b.poll();!x&&!a?(a=!0,b.polling.set(60,z)):(b.pollingFast=!1,b.slowPoll())}b.polling.set(20,z)},il.prototype.poll=function(){var a=this,b=this.cm,z=this.textarea,x=this.prevInput;if(this.contextMenuPending||!b.state.focused||Jn(z)&&!x&&!this.composing||b.isReadOnly()||b.options.disableInput||b.state.keySeq)return!1;var ee=z.value;if(ee==x&&!b.somethingSelected())return!1;if(be&&De>=9&&this.hasSelection===ee||ue&&/[\uf700-\uf7ff]/.test(ee))return b.display.input.reset(),!1;if(b.doc.sel==b.display.selForContextMenu){var ie=ee.charCodeAt(0);if(ie==8203&&!x&&(x="\u200B"),ie==8666)return this.reset(),this.cm.execCommand("undo")}for(var Ee=0,Ke=Math.min(x.length,ee.length);Ee<Ke&&x.charCodeAt(Ee)==ee.charCodeAt(Ee);)++Ee;return uo(b,function(){Mu(b,ee.slice(Ee),x.length-Ee,null,a.composing?"*compose":null),ee.length>1e3||ee.indexOf(`
`)>-1?z.value=a.prevInput="":a.prevInput=ee,a.composing&&(a.composing.range.clear(),a.composing.range=b.markText(a.composing.start,b.getCursor("to"),{className:"CodeMirror-composing"}))}),!0},il.prototype.ensurePolled=function(){this.pollingFast&&this.poll()&&(this.pollingFast=!1)},il.prototype.onKeyPress=function(){be&&De>=9&&(this.hasSelection=null),this.fastPoll()},il.prototype.onContextMenu=function(a){var b=this,z=b.cm,x=z.display,ee=b.textarea;b.contextMenuPending&&b.contextMenuPending();var ie=Ql(z,a),Ee=x.scroller.scrollTop;if(!ie||se)return;var Ke=z.options.resetSelectionOnContextMenu;Ke&&z.doc.sel.contains(ie)==-1&&no(z,go)(z.doc,qn(ie),Se);var $e=ee.style.cssText,mt=b.wrapper.style.cssText,rn=b.wrapper.offsetParent.getBoundingClientRect();b.wrapper.style.cssText="position: static",ee.style.cssText=`position: absolute; width: 30px; height: 30px;
top: `+(a.clientY-rn.top-5)+"px; left: "+(a.clientX-rn.left-5)+`px;
z-index: 1000; background: `+(be?"rgba(255, 255, 255, .05)":"transparent")+`;
outline: none; border-width: 0; outline: none; overflow: hidden; opacity: .05; filter: alpha(opacity=5);`;var vn;ye&&(vn=window.scrollY),x.input.focus(),ye&&window.scrollTo(null,vn),x.input.reset(),z.somethingSelected()||(ee.value=b.prevInput=" "),b.contextMenuPending=jn,x.selForContextMenu=z.doc.sel,clearTimeout(x.detectingSelectAll);function Un(){if(ee.selectionStart!=null){var Vr=z.somethingSelected(),so="\u200B"+(Vr?ee.value:"");ee.value="\u21DA",ee.value=so,b.prevInput=Vr?"":"\u200B",ee.selectionStart=1,ee.selectionEnd=so.length,x.selForContextMenu=z.doc.sel}}function jn(){if(b.contextMenuPending==jn&&(b.contextMenuPending=!1,b.wrapper.style.cssText=mt,ee.style.cssText=$e,be&&De<9&&x.scrollbars.setScrollTop(x.scroller.scrollTop=Ee),ee.selectionStart!=null)){(!be||be&&De<9)&&Un();var Vr=0,so=function(){x.selForContextMenu==z.doc.sel&&ee.selectionStart==0&&ee.selectionEnd>0&&b.prevInput=="\u200B"?no(z,si)(z):Vr++<10?x.detectingSelectAll=setTimeout(so,500):(x.selForContextMenu=null,x.input.reset())};x.detectingSelectAll=setTimeout(so,200)}}if(be&&De>=9&&Un(),Fe){ut(a);var wr=function(){yn(window,"mouseup",wr),setTimeout(jn,20)};en(window,"mouseup",wr)}else setTimeout(jn,50)},il.prototype.readOnlyChanged=function(a){a||this.reset(),this.textarea.disabled=a=="nocursor",this.textarea.readOnly=!!a},il.prototype.setUneditable=function(){},il.prototype.needsContentAttribute=!1;function rc(a,b){if(b=b?Yt(b):{},b.value=a.value,!b.tabindex&&a.tabIndex&&(b.tabindex=a.tabIndex),!b.placeholder&&a.placeholder&&(b.placeholder=a.placeholder),b.autofocus==null){var z=Le();b.autofocus=z==a||a.getAttribute("autofocus")!=null&&z==document.body}function x(){a.value=Ke.getValue()}var ee;if(a.form&&(en(a.form,"submit",x),!b.leaveSubmitMethodAlone)){var ie=a.form;ee=ie.submit;try{var Ee=ie.submit=function(){x(),ie.submit=ee,ie.submit(),ie.submit=Ee}}catch($e){}}b.finishInit=function($e){$e.save=x,$e.getTextArea=function(){return a},$e.toTextArea=function(){$e.toTextArea=isNaN,x(),a.parentNode.removeChild($e.getWrapperElement()),a.style.display="",a.form&&(yn(a.form,"submit",x),!b.leaveSubmitMethodAlone&&typeof a.form.submit=="function"&&(a.form.submit=ee))}},a.style.display="none";var Ke=Ya(function($e){return a.parentNode.insertBefore($e,a.nextSibling)},b);return Ke}function oc(a){a.off=yn,a.on=en,a.wheelEventPixels=Tn,a.Doc=jo,a.splitLines=kn,a.countColumn=We,a.findColumn=jt,a.isWordChar=le,a.Pass=lt,a.signal=tn,a.Line=oi,a.changeEnd=Ar,a.scrollbarModel=Kr,a.Pos=Et,a.cmpPos=Ht,a.modes=ln,a.mimeModes=qt,a.resolveMode=_n,a.getMode=$n,a.modeExtensions=Yn,a.extendMode=Gn,a.copyState=Qn,a.startState=Rr,a.innerMode=nr,a.commands=ms,a.keyMap=ol,a.keyName=gs,a.isModifierKey=eu,a.lookupKey=Bs,a.normalizeKeyMap=vl,a.StringStream=Ir,a.SharedTextMarker=Sa,a.TextMarker=ll,a.LineWidget=ia,a.e_preventDefault=Lt,a.e_stopPropagation=un,a.e_stop=ut,a.addClass=pe,a.contains=it,a.rmClass=Ne,a.keyNames=fi}_u(Ya),qu(Ya);var ic="iter insert remove copy getEditor constructor".split(" ");for(var Eu in jo.prototype)jo.prototype.hasOwnProperty(Eu)&&Dt(ic,Eu)<0&&(Ya.prototype[Eu]=function(a){return function(){return a.apply(this.doc,arguments)}}(jo.prototype[Eu]));return bt(jo),Ya.inputStyles={textarea:il,contenteditable:ka},Ya.defineMode=function(a){!Ya.defaults.mode&&a!="null"&&(Ya.defaults.mode=a),xn.apply(this,arguments)},Ya.defineMIME=En,Ya.defineMode("null",function(){return{token:function(a){return a.skipToEnd()}}}),Ya.defineMIME("text/plain","null"),Ya.defineExtension=function(a,b){Ya.prototype[a]=b},Ya.defineDocExtension=function(a,b){jo.prototype[a]=b},Ya.fromTextArea=rc,oc(Ya),Ya.version="5.58.2",Ya})},25419:function(dn,yt,E){(function(y){y(E(89780),E(15525),E(98101))})(function(y){"use strict";y.defineMode("markdown",function(xe,he){var je=y.getMode(xe,"text/html"),be=je.name=="null";function De(We){if(y.findModeByName){var Be=y.findModeByName(We);Be&&(We=Be.mime||Be.mimes[0])}var Dt=y.getMode(xe,We);return Dt.name=="null"?null:Dt}he.highlightFormatting===void 0&&(he.highlightFormatting=!1),he.maxBlockquoteDepth===void 0&&(he.maxBlockquoteDepth=0),he.taskLists===void 0&&(he.taskLists=!1),he.strikethrough===void 0&&(he.strikethrough=!1),he.emoji===void 0&&(he.emoji=!1),he.fencedCodeBlockHighlighting===void 0&&(he.fencedCodeBlockHighlighting=!0),he.fencedCodeBlockDefaultMode===void 0&&(he.fencedCodeBlockDefaultMode="text/plain"),he.xml===void 0&&(he.xml=!0),he.tokenTypeOverrides===void 0&&(he.tokenTypeOverrides={});var ye={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 ze in ye)ye.hasOwnProperty(ze)&&he.tokenTypeOverrides[ze]&&(ye[ze]=he.tokenTypeOverrides[ze]);var we=/^([*\-_])(?:\s*\1){2,}\s*$/,se=/^(?:[*\-+]|^[0-9]+([.)]))\s+/,Ye=/^\[(x| )\](?=\s)/i,fe=he.allowAtxHeaderWithoutSpace?/^(#+)/:/^(#+)(?: |$)/,ke=/^ {0,3}(?:\={1,}|-{2,})\s*$/,Ae=/^[^#!\[\]*_\\<>` "'(~:]+/,Ce=/^(~~~+|```+)[ \t]*([\w\/+#-]*)[^\n`]*$/,me=/^\s*\[[^\]]+?\]:.*$/,ue=/[!"#$%&'()*+,\-.\/:;<=>?@\[\\\]^_`{|}~\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]/,Me=" ";function Ze(We,Be,Dt){return Be.f=Be.inline=Dt,Dt(We,Be)}function Qe(We,Be,Dt){return Be.f=Be.block=Dt,Dt(We,Be)}function oe(We){return!We||!/\S/.test(We.string)}function Fe(We){if(We.linkTitle=!1,We.linkHref=!1,We.linkText=!1,We.em=!1,We.strong=!1,We.strikethrough=!1,We.quote=0,We.indentedCode=!1,We.f==Ne){var Be=be;if(!Be){var Dt=y.innerMode(je,We.htmlState);Be=Dt.mode.name=="xml"&&Dt.state.tagStart===null&&!Dt.state.context&&Dt.state.tokenize.isInText}Be&&(We.f=Ve,We.block=rt,We.htmlState=null)}return We.trailingSpace=0,We.trailingSpaceNewLine=!1,We.prevLine=We.thisLine,We.thisLine={stream:null},null}function rt(We,Be){var Dt=We.column()===Be.indentation,Zt=oe(Be.prevLine.stream),lt=Be.indentedCode,Se=Be.prevLine.hr,Re=Be.list!==!1,at=(Be.listStack[Be.listStack.length-1]||0)+3;Be.indentedCode=!1;var jt=Be.indentation;if(Be.indentationDiff===null&&(Be.indentationDiff=Be.indentation,Re)){for(Be.list=null;jt<Be.listStack[Be.listStack.length-1];)Be.listStack.pop(),Be.listStack.length?Be.indentation=Be.listStack[Be.listStack.length-1]:Be.list=!1;Be.list!==!1&&(Be.indentationDiff=jt-Be.listStack[Be.listStack.length-1])}var ft=!Zt&&!Se&&!Be.prevLine.header&&(!Re||!lt)&&!Be.prevLine.fencedCodeEnd,Wt=(Be.list===!1||Se||Zt)&&Be.indentation<=at&&We.match(we),xt=null;if(Be.indentationDiff>=4&&(lt||Be.prevLine.fencedCodeEnd||Be.prevLine.header||Zt))return We.skipToEnd(),Be.indentedCode=!0,ye.code;if(We.eatSpace())return null;if(Dt&&Be.indentation<=at&&(xt=We.match(fe))&&xt[1].length<=6)return Be.quote=0,Be.header=xt[1].length,Be.thisLine.header=!0,he.highlightFormatting&&(Be.formatting="header"),Be.f=Be.inline,ge(Be);if(Be.indentation<=at&&We.eat(">"))return Be.quote=Dt?1:Be.quote+1,he.highlightFormatting&&(Be.formatting="quote"),We.eatSpace(),ge(Be);if(!Wt&&!Be.setext&&Dt&&Be.indentation<=at&&(xt=We.match(se))){var $t=xt[1]?"ol":"ul";return Be.indentation=jt+We.current().length,Be.list=!0,Be.quote=0,Be.listStack.push(Be.indentation),Be.em=!1,Be.strong=!1,Be.code=!1,Be.strikethrough=!1,he.taskLists&&We.match(Ye,!1)&&(Be.taskList=!0),Be.f=Be.inline,he.highlightFormatting&&(Be.formatting=["list","list-"+$t]),ge(Be)}else{if(Dt&&Be.indentation<=at&&(xt=We.match(Ce,!0)))return Be.quote=0,Be.fencedEndRE=new RegExp(xt[1]+"+ *$"),Be.localMode=he.fencedCodeBlockHighlighting&&De(xt[2]||he.fencedCodeBlockDefaultMode),Be.localMode&&(Be.localState=y.startState(Be.localMode)),Be.f=Be.block=Ge,he.highlightFormatting&&(Be.formatting="code-block"),Be.code=-1,ge(Be);if(Be.setext||(!ft||!Re)&&!Be.quote&&Be.list===!1&&!Be.code&&!Wt&&!me.test(We.string)&&(xt=We.lookAhead(1))&&(xt=xt.match(ke)))return Be.setext?(Be.header=Be.setext,Be.setext=0,We.skipToEnd(),he.highlightFormatting&&(Be.formatting="header")):(Be.header=xt[0].charAt(0)=="="?1:2,Be.setext=Be.header),Be.thisLine.header=!0,Be.f=Be.inline,ge(Be);if(Wt)return We.skipToEnd(),Be.hr=!0,Be.thisLine.hr=!0,ye.hr;if(We.peek()==="[")return Ze(We,Be,qe)}return Ze(We,Be,Be.inline)}function Ne(We,Be){var Dt=je.token(We,Be.htmlState);if(!be){var Zt=y.innerMode(je,Be.htmlState);(Zt.mode.name=="xml"&&Zt.state.tagStart===null&&!Zt.state.context&&Zt.state.tokenize.isInText||Be.md_inside&&We.current().indexOf(">")>-1)&&(Be.f=Ve,Be.block=rt,Be.htmlState=null)}return Dt}function Ge(We,Be){var Dt=Be.listStack[Be.listStack.length-1]||0,Zt=Be.indentation<Dt,lt=Dt+3;if(Be.fencedEndRE&&Be.indentation<=lt&&(Zt||We.match(Be.fencedEndRE))){he.highlightFormatting&&(Be.formatting="code-block");var Se;return Zt||(Se=ge(Be)),Be.localMode=Be.localState=null,Be.block=rt,Be.f=Ve,Be.fencedEndRE=null,Be.code=0,Be.thisLine.fencedCodeEnd=!0,Zt?Qe(We,Be,Be.block):Se}else return Be.localMode?Be.localMode.token(We,Be.localState):(We.skipToEnd(),ye.code)}function ge(We){var Be=[];if(We.formatting){Be.push(ye.formatting),typeof We.formatting=="string"&&(We.formatting=[We.formatting]);for(var Dt=0;Dt<We.formatting.length;Dt++)Be.push(ye.formatting+"-"+We.formatting[Dt]),We.formatting[Dt]==="header"&&Be.push(ye.formatting+"-"+We.formatting[Dt]+"-"+We.header),We.formatting[Dt]==="quote"&&(!he.maxBlockquoteDepth||he.maxBlockquoteDepth>=We.quote?Be.push(ye.formatting+"-"+We.formatting[Dt]+"-"+We.quote):Be.push("error"))}if(We.taskOpen)return Be.push("meta"),Be.length?Be.join(" "):null;if(We.taskClosed)return Be.push("property"),Be.length?Be.join(" "):null;if(We.linkHref?Be.push(ye.linkHref,"url"):(We.strong&&Be.push(ye.strong),We.em&&Be.push(ye.em),We.strikethrough&&Be.push(ye.strikethrough),We.emoji&&Be.push(ye.emoji),We.linkText&&Be.push(ye.linkText),We.code&&Be.push(ye.code),We.image&&Be.push(ye.image),We.imageAltText&&Be.push(ye.imageAltText,"link"),We.imageMarker&&Be.push(ye.imageMarker)),We.header&&Be.push(ye.header,ye.header+"-"+We.header),We.quote&&(Be.push(ye.quote),!he.maxBlockquoteDepth||he.maxBlockquoteDepth>=We.quote?Be.push(ye.quote+"-"+We.quote):Be.push(ye.quote+"-"+he.maxBlockquoteDepth)),We.list!==!1){var Zt=(We.listStack.length-1)%3;Zt?Zt===1?Be.push(ye.list2):Be.push(ye.list3):Be.push(ye.list1)}return We.trailingSpaceNewLine?Be.push("trailing-space-new-line"):We.trailingSpace&&Be.push("trailing-space-"+(We.trailingSpace%2?"a":"b")),Be.length?Be.join(" "):null}function Oe(We,Be){if(We.match(Ae,!0))return ge(Be)}function Ve(We,Be){var Dt=Be.text(We,Be);if(typeof Dt!="undefined")return Dt;if(Be.list)return Be.list=null,ge(Be);if(Be.taskList){var Zt=We.match(Ye,!0)[1]===" ";return Zt?Be.taskOpen=!0:Be.taskClosed=!0,he.highlightFormatting&&(Be.formatting="task"),Be.taskList=!1,ge(Be)}if(Be.taskOpen=!1,Be.taskClosed=!1,Be.header&&We.match(/^#+$/,!0))return he.highlightFormatting&&(Be.formatting="header"),ge(Be);var lt=We.next();if(Be.linkTitle){Be.linkTitle=!1;var Se=lt;lt==="("&&(Se=")"),Se=(Se+"").replace(/([.?*+^\[\]\\(){}|-])/g,"\\$1");var Re="^\\s*(?:[^"+Se+"\\\\]+|\\\\\\\\|\\\\.)"+Se;if(We.match(new RegExp(Re),!0))return ye.linkHref}if(lt==="`"){var at=Be.formatting;he.highlightFormatting&&(Be.formatting="code"),We.eatWhile("`");var jt=We.current().length;if(Be.code==0&&(!Be.quote||jt==1))return Be.code=jt,ge(Be);if(jt==Be.code){var ft=ge(Be);return Be.code=0,ft}else return Be.formatting=at,ge(Be)}else if(Be.code)return ge(Be);if(lt==="\\"&&(We.next(),he.highlightFormatting)){var Wt=ge(Be),xt=ye.formatting+"-escape";return Wt?Wt+" "+xt:xt}if(lt==="!"&&We.match(/\[[^\]]*\] ?(?:\(|\[)/,!1))return Be.imageMarker=!0,Be.image=!0,he.highlightFormatting&&(Be.formatting="image"),ge(Be);if(lt==="["&&Be.imageMarker&&We.match(/[^\]]*\](\(.*?\)| ?\[.*?\])/,!1))return Be.imageMarker=!1,Be.imageAltText=!0,he.highlightFormatting&&(Be.formatting="image"),ge(Be);if(lt==="]"&&Be.imageAltText){he.highlightFormatting&&(Be.formatting="image");var Wt=ge(Be);return Be.imageAltText=!1,Be.image=!1,Be.inline=Be.f=it,Wt}if(lt==="["&&!Be.image)return Be.linkText&&We.match(/^.*?\]/)||(Be.linkText=!0,he.highlightFormatting&&(Be.formatting="link")),ge(Be);if(lt==="]"&&Be.linkText){he.highlightFormatting&&(Be.formatting="link");var Wt=ge(Be);return Be.linkText=!1,Be.inline=Be.f=We.match(/\(.*?\)| ?\[.*?\]/,!1)?it:Ve,Wt}if(lt==="<"&&We.match(/^(https?|ftps?):\/\/(?:[^\\>]|\\.)+>/,!1)){Be.f=Be.inline=Pe,he.highlightFormatting&&(Be.formatting="link");var Wt=ge(Be);return Wt?Wt+=" ":Wt="",Wt+ye.linkInline}if(lt==="<"&&We.match(/^[^> \\]+@(?:[^\\>]|\\.)+>/,!1)){Be.f=Be.inline=Pe,he.highlightFormatting&&(Be.formatting="link");var Wt=ge(Be);return Wt?Wt+=" ":Wt="",Wt+ye.linkEmail}if(he.xml&&lt==="<"&&We.match(/^(!--|\?|!\[CDATA\[|[a-z][a-z0-9-]*(?:\s+[a-z_:.\-]+(?:\s*=\s*[^>]+)?)*\s*(?:>|$))/i,!1)){var $t=We.string.indexOf(">",We.pos);if($t!=-1){var Rt=We.string.substring(We.start,$t);/markdown\s*=\s*('|"){0,1}1('|"){0,1}/.test(Rt)&&(Be.md_inside=!0)}return We.backUp(1),Be.htmlState=y.startState(je),Qe(We,Be,Ne)}if(he.xml&&lt==="<"&&We.match(/^\/\w*?>/))return Be.md_inside=!1,"tag";if(lt==="*"||lt==="_"){for(var ce=1,ne=We.pos==1?" ":We.string.charAt(We.pos-2);ce<3&&We.eat(lt);)ce++;var te=We.peek()||" ",le=!/\s/.test(te)&&(!ue.test(te)||/\s/.test(ne)||ue.test(ne)),ve=!/\s/.test(ne)&&(!ue.test(ne)||/\s/.test(te)||ue.test(te)),re=null,de=null;if(ce%2&&(!Be.em&&le&&(lt==="*"||!ve||ue.test(ne))?re=!0:Be.em==lt&&ve&&(lt==="*"||!le||ue.test(te))&&(re=!1)),ce>1&&(!Be.strong&&le&&(lt==="*"||!ve||ue.test(ne))?de=!0:Be.strong==lt&&ve&&(lt==="*"||!le||ue.test(te))&&(de=!1)),de!=null||re!=null){he.highlightFormatting&&(Be.formatting=re==null?"strong":de==null?"em":"strong em"),re===!0&&(Be.em=lt),de===!0&&(Be.strong=lt);var ft=ge(Be);return re===!1&&(Be.em=!1),de===!1&&(Be.strong=!1),ft}}else if(lt===" "&&(We.eat("*")||We.eat("_"))){if(We.peek()===" ")return ge(Be);We.backUp(1)}if(he.strikethrough){if(lt==="~"&&We.eatWhile(lt)){if(Be.strikethrough){he.highlightFormatting&&(Be.formatting="strikethrough");var ft=ge(Be);return Be.strikethrough=!1,ft}else if(We.match(/^[^\s]/,!1))return Be.strikethrough=!0,he.highlightFormatting&&(Be.formatting="strikethrough"),ge(Be)}else if(lt===" "&&We.match(/^~~/,!0)){if(We.peek()===" ")return ge(Be);We.backUp(2)}}if(he.emoji&&lt===":"&&We.match(/^(?:[a-z_\d+][a-z_\d+-]*|\-[a-z_\d+][a-z_\d+-]*):/)){Be.emoji=!0,he.highlightFormatting&&(Be.formatting="emoji");var Ue=ge(Be);return Be.emoji=!1,Ue}return lt===" "&&(We.match(/^ +$/,!1)?Be.trailingSpace++:Be.trailingSpace&&(Be.trailingSpaceNewLine=!0)),ge(Be)}function Pe(We,Be){var Dt=We.next();if(Dt===">"){Be.f=Be.inline=Ve,he.highlightFormatting&&(Be.formatting="link");var Zt=ge(Be);return Zt?Zt+=" ":Zt="",Zt+ye.linkInline}return We.match(/^[^>]+/,!0),ye.linkInline}function it(We,Be){if(We.eatSpace())return null;var Dt=We.next();return Dt==="("||Dt==="["?(Be.f=Be.inline=pe(Dt==="("?")":"]"),he.highlightFormatting&&(Be.formatting="link-string"),Be.linkHref=!0,ge(Be)):"error"}var Le={")":/^(?:[^\\\(\)]|\\.|\((?:[^\\\(\)]|\\.)*\))*?(?=\))/,"]":/^(?:[^\\\[\]]|\\.|\[(?:[^\\\[\]]|\\.)*\])*?(?=\])/};function pe(We){return function(Be,Dt){var Zt=Be.next();if(Zt===We){Dt.f=Dt.inline=Ve,he.highlightFormatting&&(Dt.formatting="link-string");var lt=ge(Dt);return Dt.linkHref=!1,lt}return Be.match(Le[We]),Dt.linkHref=!0,ge(Dt)}}function qe(We,Be){return We.match(/^([^\]\\]|\\.)*\]:/,!1)?(Be.f=Xe,We.next(),he.highlightFormatting&&(Be.formatting="link"),Be.linkText=!0,ge(Be)):Ze(We,Be,Ve)}function Xe(We,Be){if(We.match(/^\]:/,!0)){Be.f=Be.inline=Ct,he.highlightFormatting&&(Be.formatting="link");var Dt=ge(Be);return Be.linkText=!1,Dt}return We.match(/^([^\]\\]|\\.)+/,!0),ye.linkText}function Ct(We,Be){return We.eatSpace()?null:(We.match(/^[^\s]+/,!0),We.peek()===void 0?Be.linkTitle=!0:We.match(/^(?:\s+(?:"(?:[^"\\]|\\\\|\\.)+"|'(?:[^'\\]|\\\\|\\.)+'|\((?:[^)\\]|\\\\|\\.)+\)))?/,!0),Be.f=Be.inline=Ve,ye.linkHref+" url")}var Yt={startState:function(){return{f:rt,prevLine:{stream:null},thisLine:{stream:null},block:rt,htmlState:null,indentation:0,inline:Ve,text:Oe,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(We){return{f:We.f,prevLine:We.prevLine,thisLine:We.thisLine,block:We.block,htmlState:We.htmlState&&y.copyState(je,We.htmlState),indentation:We.indentation,localMode:We.localMode,localState:We.localMode?y.copyState(We.localMode,We.localState):null,inline:We.inline,text:We.text,formatting:!1,linkText:We.linkText,linkTitle:We.linkTitle,linkHref:We.linkHref,code:We.code,em:We.em,strong:We.strong,strikethrough:We.strikethrough,emoji:We.emoji,header:We.header,setext:We.setext,hr:We.hr,taskList:We.taskList,list:We.list,listStack:We.listStack.slice(0),quote:We.quote,indentedCode:We.indentedCode,trailingSpace:We.trailingSpace,trailingSpaceNewLine:We.trailingSpaceNewLine,md_inside:We.md_inside,fencedEndRE:We.fencedEndRE}},token:function(We,Be){if(Be.formatting=!1,We!=Be.thisLine.stream){if(Be.header=0,Be.hr=!1,We.match(/^\s*$/,!0))return Fe(Be),null;if(Be.prevLine=Be.thisLine,Be.thisLine={stream:We},Be.taskList=!1,Be.trailingSpace=0,Be.trailingSpaceNewLine=!1,!Be.localState&&(Be.f=Be.block,Be.f!=Ne)){var Dt=We.match(/^\s*/,!0)[0].replace(/\t/g,Me).length;if(Be.indentation=Dt,Be.indentationDiff=null,Dt>0)return null}}return Be.f(We,Be)},innerMode:function(We){return We.block==Ne?{state:We.htmlState,mode:je}:We.localState?{state:We.localState,mode:We.localMode}:{state:We,mode:Yt}},indent:function(We,Be,Dt){return We.block==Ne&&je.indent?je.indent(We.htmlState,Be,Dt):We.localState&&We.localMode.indent?We.localMode.indent(We.localState,Be,Dt):y.Pass},blankLine:Fe,getType:ge,blockCommentStart:"<!--",blockCommentEnd:"-->",closeBrackets:"()[]{}''\"\"``",fold:"markdown"};return Yt},"xml"),y.defineMIME("text/markdown","markdown"),y.defineMIME("text/x-markdown","markdown")})},98101:function(dn,yt,E){(function(y){y(E(89780))})(function(y){"use strict";y.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 xe=0;xe<y.modeInfo.length;xe++){var he=y.modeInfo[xe];he.mimes&&(he.mime=he.mimes[0])}y.findModeByMIME=function(je){je=je.toLowerCase();for(var be=0;be<y.modeInfo.length;be++){var De=y.modeInfo[be];if(De.mime==je)return De;if(De.mimes){for(var ye=0;ye<De.mimes.length;ye++)if(De.mimes[ye]==je)return De}}if(/\+xml$/.test(je))return y.findModeByMIME("application/xml");if(/\+json$/.test(je))return y.findModeByMIME("application/json")},y.findModeByExtension=function(je){je=je.toLowerCase();for(var be=0;be<y.modeInfo.length;be++){var De=y.modeInfo[be];if(De.ext){for(var ye=0;ye<De.ext.length;ye++)if(De.ext[ye]==je)return De}}},y.findModeByFileName=function(je){for(var be=0;be<y.modeInfo.length;be++){var De=y.modeInfo[be];if(De.file&&De.file.test(je))return De}var ye=je.lastIndexOf("."),ze=ye>-1&&je.substring(ye+1,je.length);if(ze)return y.findModeByExtension(ze)},y.findModeByName=function(je){je=je.toLowerCase();for(var be=0;be<y.modeInfo.length;be++){var De=y.modeInfo[be];if(De.name.toLowerCase()==je)return De;if(De.alias){for(var ye=0;ye<De.alias.length;ye++)if(De.alias[ye].toLowerCase()==je)return De}}}})},67549:function(dn,yt,E){(function(y){y(E(89780))})(function(y){"use strict";y.defineMode("stex",function(xe,he){"use strict";function je(Ae,Ce){Ae.cmdState.push(Ce)}function be(Ae){return Ae.cmdState.length>0?Ae.cmdState[Ae.cmdState.length-1]:null}function De(Ae){var Ce=Ae.cmdState.pop();Ce&&Ce.closeBracket()}function ye(Ae){for(var Ce=Ae.cmdState,me=Ce.length-1;me>=0;me--){var ue=Ce[me];if(ue.name!="DEFAULT")return ue}return{styleIdentifier:function(){return null}}}function ze(Ae,Ce,me){return function(){this.name=Ae,this.bracketNo=0,this.style=Ce,this.styles=me,this.argument=null,this.styleIdentifier=function(){return this.styles[this.bracketNo-1]||null},this.openBracket=function(){return this.bracketNo++,"bracket"},this.closeBracket=function(){}}}var we={};we.importmodule=ze("importmodule","tag",["string","builtin"]),we.documentclass=ze("documentclass","tag",["","atom"]),we.usepackage=ze("usepackage","tag",["atom"]),we.begin=ze("begin","tag",["atom"]),we.end=ze("end","tag",["atom"]),we.label=ze("label","tag",["atom"]),we.ref=ze("ref","tag",["atom"]),we.eqref=ze("eqref","tag",["atom"]),we.cite=ze("cite","tag",["atom"]),we.bibitem=ze("bibitem","tag",["atom"]),we.Bibitem=ze("Bibitem","tag",["atom"]),we.RBibitem=ze("RBibitem","tag",["atom"]),we.DEFAULT=function(){this.name="DEFAULT",this.style="tag",this.styleIdentifier=this.openBracket=this.closeBracket=function(){}};function se(Ae,Ce){Ae.f=Ce}function Ye(Ae,Ce){var me;if(Ae.match(/^\\[a-zA-Z@]+/)){var ue=Ae.current().slice(1);return me=we.hasOwnProperty(ue)?we[ue]:we.DEFAULT,me=new me,je(Ce,me),se(Ce,ke),me.style}if(Ae.match(/^\\[$&%#{}_]/)||Ae.match(/^\\[,;!\/\\]/))return"tag";if(Ae.match("\\["))return se(Ce,function(Ze,Qe){return fe(Ze,Qe,"\\]")}),"keyword";if(Ae.match("\\("))return se(Ce,function(Ze,Qe){return fe(Ze,Qe,"\\)")}),"keyword";if(Ae.match("$$"))return se(Ce,function(Ze,Qe){return fe(Ze,Qe,"$$")}),"keyword";if(Ae.match("$"))return se(Ce,function(Ze,Qe){return fe(Ze,Qe,"$")}),"keyword";var Me=Ae.next();if(Me=="%")return Ae.skipToEnd(),"comment";if(Me=="}"||Me=="]"){if(me=be(Ce),me)me.closeBracket(Me),se(Ce,ke);else return"error";return"bracket"}else return Me=="{"||Me=="["?(me=we.DEFAULT,me=new me,je(Ce,me),"bracket"):/\d/.test(Me)?(Ae.eatWhile(/[\w.%]/),"atom"):(Ae.eatWhile(/[\w\-_]/),me=ye(Ce),me.name=="begin"&&(me.argument=Ae.current()),me.styleIdentifier())}function fe(Ae,Ce,me){if(Ae.eatSpace())return null;if(me&&Ae.match(me))return se(Ce,Ye),"keyword";if(Ae.match(/^\\[a-zA-Z@]+/))return"tag";if(Ae.match(/^[a-zA-Z]+/))return"variable-2";if(Ae.match(/^\\[$&%#{}_]/)||Ae.match(/^\\[,;!\/]/)||Ae.match(/^[\^_&]/))return"tag";if(Ae.match(/^[+\-<>|=,\/@!*:;'"`~#?]/))return null;if(Ae.match(/^(\d+\.\d*|\d*\.\d+|\d+)/))return"number";var ue=Ae.next();return ue=="{"||ue=="}"||ue=="["||ue=="]"||ue=="("||ue==")"?"bracket":ue=="%"?(Ae.skipToEnd(),"comment"):"error"}function ke(Ae,Ce){var me=Ae.peek(),ue;return me=="{"||me=="["?(ue=be(Ce),ue.openBracket(me),Ae.eat(me),se(Ce,Ye),"bracket"):/[ \t\r]/.test(me)?(Ae.eat(me),null):(se(Ce,Ye),De(Ce),Ye(Ae,Ce))}return{startState:function(){var Ae=he.inMathMode?function(Ce,me){return fe(Ce,me)}:Ye;return{cmdState:[],f:Ae}},copyState:function(Ae){return{cmdState:Ae.cmdState.slice(),f:Ae.f}},token:function(Ae,Ce){return Ce.f(Ae,Ce)},blankLine:function(Ae){Ae.f=Ye,Ae.cmdState.length=0},lineComment:"%"}}),y.defineMIME("text/x-stex","stex"),y.defineMIME("text/x-latex","stex")})},15525:function(dn,yt,E){(function(y){y(E(89780))})(function(y){"use strict";var xe={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},he={autoSelfClosers:{},implicitlyClosed:{},contextGrabbers:{},doNotIndent:{},allowUnquoted:!1,allowMissing:!1,allowMissingTagName:!1,caseFold:!1};y.defineMode("xml",function(je,be){var De=je.indentUnit,ye={},ze=be.htmlMode?xe:he;for(var we in ze)ye[we]=ze[we];for(var we in be)ye[we]=be[we];var se,Ye;function fe(Pe,it){function Le(Xe){return it.tokenize=Xe,Xe(Pe,it)}var pe=Pe.next();if(pe=="<")return Pe.eat("!")?Pe.eat("[")?Pe.match("CDATA[")?Le(Ce("atom","]]>")):null:Pe.match("--")?Le(Ce("comment","-->")):Pe.match("DOCTYPE",!0,!0)?(Pe.eatWhile(/[\w\._\-]/),Le(me(1))):null:Pe.eat("?")?(Pe.eatWhile(/[\w\._\-]/),it.tokenize=Ce("meta","?>"),"meta"):(se=Pe.eat("/")?"closeTag":"openTag",it.tokenize=ke,"tag bracket");if(pe=="&"){var qe;return Pe.eat("#")?Pe.eat("x")?qe=Pe.eatWhile(/[a-fA-F\d]/)&&Pe.eat(";"):qe=Pe.eatWhile(/[\d]/)&&Pe.eat(";"):qe=Pe.eatWhile(/[\w\.\-:]/)&&Pe.eat(";"),qe?"atom":"error"}else return Pe.eatWhile(/[^&<]/),null}fe.isInText=!0;function ke(Pe,it){var Le=Pe.next();if(Le==">"||Le=="/"&&Pe.eat(">"))return it.tokenize=fe,se=Le==">"?"endTag":"selfcloseTag","tag bracket";if(Le=="=")return se="equals",null;if(Le=="<"){it.tokenize=fe,it.state=Qe,it.tagName=it.tagStart=null;var pe=it.tokenize(Pe,it);return pe?pe+" tag error":"tag error"}else return/[\'\"]/.test(Le)?(it.tokenize=Ae(Le),it.stringStartCol=Pe.column(),it.tokenize(Pe,it)):(Pe.match(/^[^\s\u00a0=<>\"\']*[^\s\u00a0=<>\"\'\/]/),"word")}function Ae(Pe){var it=function(Le,pe){for(;!Le.eol();)if(Le.next()==Pe){pe.tokenize=ke;break}return"string"};return it.isInAttribute=!0,it}function Ce(Pe,it){return function(Le,pe){for(;!Le.eol();){if(Le.match(it)){pe.tokenize=fe;break}Le.next()}return Pe}}function me(Pe){return function(it,Le){for(var pe;(pe=it.next())!=null;){if(pe=="<")return Le.tokenize=me(Pe+1),Le.tokenize(it,Le);if(pe==">")if(Pe==1){Le.tokenize=fe;break}else return Le.tokenize=me(Pe-1),Le.tokenize(it,Le)}return"meta"}}function ue(Pe,it,Le){this.prev=Pe.context,this.tagName=it,this.indent=Pe.indented,this.startOfLine=Le,(ye.doNotIndent.hasOwnProperty(it)||Pe.context&&Pe.context.noIndent)&&(this.noIndent=!0)}function Me(Pe){Pe.context&&(Pe.context=Pe.context.prev)}function Ze(Pe,it){for(var Le;;){if(!Pe.context||(Le=Pe.context.tagName,!ye.contextGrabbers.hasOwnProperty(Le)||!ye.contextGrabbers[Le].hasOwnProperty(it)))return;Me(Pe)}}function Qe(Pe,it,Le){return Pe=="openTag"?(Le.tagStart=it.column(),oe):Pe=="closeTag"?Fe:Qe}function oe(Pe,it,Le){return Pe=="word"?(Le.tagName=it.current(),Ye="tag",Ge):ye.allowMissingTagName&&Pe=="endTag"?(Ye="tag bracket",Ge(Pe,it,Le)):(Ye="error",oe)}function Fe(Pe,it,Le){if(Pe=="word"){var pe=it.current();return Le.context&&Le.context.tagName!=pe&&ye.implicitlyClosed.hasOwnProperty(Le.context.tagName)&&Me(Le),Le.context&&Le.context.tagName==pe||ye.matchClosing===!1?(Ye="tag",rt):(Ye="tag error",Ne)}else return ye.allowMissingTagName&&Pe=="endTag"?(Ye="tag bracket",rt(Pe,it,Le)):(Ye="error",Ne)}function rt(Pe,it,Le){return Pe!="endTag"?(Ye="error",rt):(Me(Le),Qe)}function Ne(Pe,it,Le){return Ye="error",rt(Pe,it,Le)}function Ge(Pe,it,Le){if(Pe=="word")return Ye="attribute",ge;if(Pe=="endTag"||Pe=="selfcloseTag"){var pe=Le.tagName,qe=Le.tagStart;return Le.tagName=Le.tagStart=null,Pe=="selfcloseTag"||ye.autoSelfClosers.hasOwnProperty(pe)?Ze(Le,pe):(Ze(Le,pe),Le.context=new ue(Le,pe,qe==Le.indented)),Qe}return Ye="error",Ge}function ge(Pe,it,Le){return Pe=="equals"?Oe:(ye.allowMissing||(Ye="error"),Ge(Pe,it,Le))}function Oe(Pe,it,Le){return Pe=="string"?Ve:Pe=="word"&&ye.allowUnquoted?(Ye="string",Ge):(Ye="error",Ge(Pe,it,Le))}function Ve(Pe,it,Le){return Pe=="string"?Ve:Ge(Pe,it,Le)}return{startState:function(Pe){var it={tokenize:fe,state:Qe,indented:Pe||0,tagName:null,tagStart:null,context:null};return Pe!=null&&(it.baseIndent=Pe),it},token:function(Pe,it){if(!it.tagName&&Pe.sol()&&(it.indented=Pe.indentation()),Pe.eatSpace())return null;se=null;var Le=it.tokenize(Pe,it);return(Le||se)&&Le!="comment"&&(Ye=null,it.state=it.state(se||Le,Pe,it),Ye&&(Le=Ye=="error"?Le+" error":Ye)),Le},indent:function(Pe,it,Le){var pe=Pe.context;if(Pe.tokenize.isInAttribute)return Pe.tagStart==Pe.indented?Pe.stringStartCol+1:Pe.indented+De;if(pe&&pe.noIndent)return y.Pass;if(Pe.tokenize!=ke&&Pe.tokenize!=fe)return Le?Le.match(/^(\s*)/)[0].length:0;if(Pe.tagName)return ye.multilineTagIndentPastTag!==!1?Pe.tagStart+Pe.tagName.length+2:Pe.tagStart+De*(ye.multilineTagIndentFactor||1);if(ye.alignCDATA&&/<!\[CDATA\[/.test(it))return 0;var qe=it&&/^<(\/)?([\w_:\.-]*)/.exec(it);if(qe&&qe[1])for(;pe;)if(pe.tagName==qe[2]){pe=pe.prev;break}else if(ye.implicitlyClosed.hasOwnProperty(pe.tagName))pe=pe.prev;else break;else if(qe)for(;pe;){var Xe=ye.contextGrabbers[pe.tagName];if(Xe&&Xe.hasOwnProperty(qe[2]))pe=pe.prev;else break}for(;pe&&pe.prev&&!pe.startOfLine;)pe=pe.prev;return pe?pe.indent+De:Pe.baseIndent||0},electricInput:/<\/[\s\w:]+>$/,blockCommentStart:"<!--",blockCommentEnd:"-->",configuration:ye.htmlMode?"html":"xml",helperType:ye.htmlMode?"html":"xml",skipAttribute:function(Pe){Pe.state==Oe&&(Pe.state=Ge)},xmlCurrentTag:function(Pe){return Pe.tagName?{name:Pe.tagName,close:Pe.type=="closeTag"}:null},xmlCurrentContext:function(Pe){for(var it=[],Le=Pe.context;Le;Le=Le.prev)Le.tagName&&it.push(Le.tagName);return it.reverse()}}}),y.defineMIME("text/xml","xml"),y.defineMIME("application/xml","xml"),y.mimeModes.hasOwnProperty("text/html")||y.defineMIME("text/html",{name:"xml",htmlMode:!0})})},2859:function(dn,yt,E){"use strict";E.d(yt,{hP:function(){return Rt}});var y=function(ce,ne){return(y=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(te,le){te.__proto__=le}||function(te,le){for(var ve in le)Object.prototype.hasOwnProperty.call(le,ve)&&(te[ve]=le[ve])})(ce,ne)};function xe(ce,ne){function te(){this.constructor=ce}y(ce,ne),ce.prototype=ne===null?Object.create(ne):(te.prototype=ne.prototype,new te)}function he(ce,ne,te,le){return new(te||(te=Promise))(function(ve,re){function de(et){try{pt(le.next(et))}catch(tt){re(tt)}}function Ue(et){try{pt(le.throw(et))}catch(tt){re(tt)}}function pt(et){var tt;et.done?ve(et.value):(tt=et.value,tt instanceof te?tt:new te(function(dt){dt(tt)})).then(de,Ue)}pt((le=le.apply(ce,ne||[])).next())})}function je(ce,ne){var te,le,ve,re,de={label:0,sent:function(){if(1&ve[0])throw ve[1];return ve[1]},trys:[],ops:[]};return re={next:Ue(0),throw:Ue(1),return:Ue(2)},typeof Symbol=="function"&&(re[Symbol.iterator]=function(){return this}),re;function Ue(pt){return function(et){return function(tt){if(te)throw new TypeError("Generator is already executing.");for(;de;)try{if(te=1,le&&(ve=2&tt[0]?le.return:tt[0]?le.throw||((ve=le.return)&&ve.call(le),0):le.next)&&!(ve=ve.call(le,tt[1])).done)return ve;switch(le=0,ve&&(tt=[2&tt[0],ve.value]),tt[0]){case 0:case 1:ve=tt;break;case 4:return de.label++,{value:tt[1],done:!1};case 5:de.label++,le=tt[1],tt=[0];continue;case 7:tt=de.ops.pop(),de.trys.pop();continue;default:if(ve=de.trys,!((ve=ve.length>0&&ve[ve.length-1])||tt[0]!==6&&tt[0]!==2)){de=0;continue}if(tt[0]===3&&(!ve||tt[1]>ve[0]&&tt[1]<ve[3])){de.label=tt[1];break}if(tt[0]===6&&de.label<ve[1]){de.label=ve[1],ve=tt;break}if(ve&&de.label<ve[2]){de.label=ve[2],de.ops.push(tt);break}ve[2]&&de.ops.pop(),de.trys.pop();continue}tt=ne.call(ce,de)}catch(dt){tt=[6,dt],le=0}finally{te=ve=0}if(5&tt[0])throw tt[1];return{value:tt[0]?tt[1]:void 0,done:!0}}([pt,et])}}}function be(){for(var ce=0,ne=0,te=arguments.length;ne<te;ne++)ce+=arguments[ne].length;var le=Array(ce),ve=0;for(ne=0;ne<te;ne++)for(var re=arguments[ne],de=0,Ue=re.length;de<Ue;de++,ve++)le[ve]=re[de];return le}var De=function(){function ce(){}return ce.createDefs=function(){return document.createElementNS("http://www.w3.org/2000/svg","defs")},ce.setAttributes=function(ne,te){for(var le=0,ve=te;le<ve.length;le++){var re=ve[le],de=re[0],Ue=re[1];ne.setAttribute(de,Ue)}},ce.createRect=function(ne,te,le){var ve=document.createElementNS("http://www.w3.org/2000/svg","rect");return ve.setAttribute("width",ne.toString()),ve.setAttribute("height",te.toString()),le&&ce.setAttributes(ve,le),ve},ce.createLine=function(ne,te,le,ve,re){var de=document.createElementNS("http://www.w3.org/2000/svg","line");return de.setAttribute("x1",ne.toString()),de.setAttribute("y1",te.toString()),de.setAttribute("x2",le.toString()),de.setAttribute("y2",ve.toString()),re&&ce.setAttributes(de,re),de},ce.createPolygon=function(ne,te){var le=document.createElementNS("http://www.w3.org/2000/svg","polygon");return le.setAttribute("points",ne),te&&ce.setAttributes(le,te),le},ce.createCircle=function(ne,te){var le=document.createElementNS("http://www.w3.org/2000/svg","circle");return le.setAttribute("cx",(ne/2).toString()),le.setAttribute("cy",(ne/2).toString()),le.setAttribute("r",ne.toString()),te&&ce.setAttributes(le,te),le},ce.createEllipse=function(ne,te,le){var ve=document.createElementNS("http://www.w3.org/2000/svg","ellipse");return ve.setAttribute("cx",(ne/2).toString()),ve.setAttribute("cy",(te/2).toString()),ve.setAttribute("rx",(ne/2).toString()),ve.setAttribute("ry",(te/2).toString()),le&&ce.setAttributes(ve,le),ve},ce.createGroup=function(ne){var te=document.createElementNS("http://www.w3.org/2000/svg","g");return ne&&ce.setAttributes(te,ne),te},ce.createTransform=function(){return document.createElementNS("http://www.w3.org/2000/svg","svg").createSVGTransform()},ce.createMarker=function(ne,te,le,ve,re,de,Ue){var pt=document.createElementNS("http://www.w3.org/2000/svg","marker");return ce.setAttributes(pt,[["id",ne],["orient",te],["markerWidth",le.toString()],["markerHeight",ve.toString()],["refX",re.toString()],["refY",de.toString()]]),pt.appendChild(Ue),pt},ce.createText=function(ne){var te=document.createElementNS("http://www.w3.org/2000/svg","text");return te.setAttribute("x","0"),te.setAttribute("y","0"),ne&&ce.setAttributes(te,ne),te},ce.createTSpan=function(ne,te){var le=document.createElementNS("http://www.w3.org/2000/svg","tspan");return le.textContent=ne,te&&ce.setAttributes(le,te),le},ce.createImage=function(ne){var te=document.createElementNS("http://www.w3.org/2000/svg","image");return ne&&ce.setAttributes(te,ne),te},ce.createPoint=function(ne,te){var le=document.createElementNS("http://www.w3.org/2000/svg","svg").createSVGPoint();return le.x=ne,le.y=te,le},ce.createPath=function(ne,te){var le=document.createElementNS("http://www.w3.org/2000/svg","path");return le.setAttribute("d",ne),te&&ce.setAttributes(le,te),le},ce}(),ye=function(){function ce(){}return ce.addKey=function(ne){ce.key=ne},Object.defineProperty(ce,"isLicensed",{get:function(){return!!ce.key&&new RegExp(/^MJS2-[A-Z][0-9]{3}-[A-Z][0-9]{3}-[0-9]{4}$/,"i").test(ce.key)},enumerable:!1,configurable:!0}),ce}(),ze=function(){function ce(){this.naturalSize=!1,this.imageType="image/png",this.markersOnly=!1}return ce.prototype.rasterize=function(ne,te,le){var ve=this;return new Promise(function(re){var de=le!==void 0?le:document.createElement("canvas");ne===null&&(ve.markersOnly=!0,ve.naturalSize=!1);var Ue=document.createElementNS("http://www.w3.org/2000/svg","svg");Ue.setAttribute("xmlns","http://www.w3.org/2000/svg"),Ue.setAttribute("width",te.width.baseVal.valueAsString),Ue.setAttribute("height",te.height.baseVal.valueAsString),Ue.setAttribute("viewBox","0 0 "+te.viewBox.baseVal.width.toString()+" "+te.viewBox.baseVal.height.toString()),Ue.innerHTML=te.innerHTML,ve.naturalSize===!0?(Ue.width.baseVal.value=ne.naturalWidth,Ue.height.baseVal.value=ne.naturalHeight):ve.width!==void 0&&ve.height!==void 0&&(Ue.width.baseVal.value=ve.width,Ue.height.baseVal.value=ve.height),de.width=Ue.width.baseVal.value,de.height=Ue.height.baseVal.value;var pt=Ue.outerHTML,et=de.getContext("2d");ve.markersOnly!==!0&&et.drawImage(ne,0,0,de.width,de.height);var tt=window.URL,dt=new Image(de.width,de.height);dt.setAttribute("crossOrigin","anonymous");var gt=new Blob([pt],{type:"image/svg+xml"}),St=tt.createObjectURL(gt);dt.onload=function(){et.drawImage(dt,0,0),tt.revokeObjectURL(St);var _e=de.toDataURL(ve.imageType,ve.imageQuality);re(_e)},dt.src=St})},ce}(),we=function(){},se=function(){function ce(ne){this._classNamePrefixBase="__markerjs2_",this.classes=[],this.rules=[],this.settings=this.defaultSettings,this._classNamePrefix=this._classNamePrefixBase+"_"+ne+"_"}return Object.defineProperty(ce.prototype,"classNamePrefixBase",{get:function(){return this._classNamePrefixBase},enumerable:!1,configurable:!0}),Object.defineProperty(ce.prototype,"classNamePrefix",{get:function(){return this._classNamePrefix},enumerable:!1,configurable:!0}),Object.defineProperty(ce.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(ce.prototype,"fadeInAnimationClassName",{get:function(){return this.classNamePrefix+"fade_in"},enumerable:!1,configurable:!0}),Object.defineProperty(ce.prototype,"fadeOutAnimationClassName",{get:function(){return this.classNamePrefix+"fade_out"},enumerable:!1,configurable:!0}),ce.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},ce.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)},ce.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 Ye("."+this.classNamePrefix+" h3","font-family: sans-serif")),this.addRule(new Ye("@keyframes "+this.classNamePrefix+"_fade_in_animation_frames",`
from {
opacity: 0;
}
to {
opacity: 1;
}
`)),this.addRule(new Ye("@keyframes "+this.classNamePrefix+"_fade_out_animation_frames",`
from {
opacity: 1;
}
to {
opacity: 0;
}
`)),this.addClass(new fe("fade_in",`
animation-duration: 0.3s;
animation-name: `+this.classNamePrefix+`_fade_in_animation_frames;
`)),this.addClass(new fe("fade_out",`
animation-duration: 0.3s;
animation-name: `+this.classNamePrefix+`_fade_out_animation_frames;
`))},ce.prototype.removeStyleSheet=function(){var ne;this.styleSheet&&(((ne=this.styleSheetRoot)!==null&&ne!==void 0?ne:document.head).removeChild(this.styleSheet),this.styleSheet=void 0)},ce}(),Ye=function(ce,ne){this.selector=ce,this.style=ne},fe=function(ce,ne){this.localName=ce,this.style=ne},ke=function(){function ce(ne,te,le,ve,re){this.buttons=[],this.markerButtons=[],this.buttonClickListeners=[],this.markerjsContainer=ne,this.displayMode=te,this.markerItems=le,this.uiStyleSettings=ve,this.styles=re,this.addStyles(),this.adjustLayout=this.adjustLayout.bind(this),this.overflowButtonClicked=this.overflowButtonClicked.bind(this),this.setCurrentMarker=this.setCurrentMarker.bind(this)}return ce.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 le=document.createElement("div");le.className=this.toolbarBlockStyleClass.name,le.style.whiteSpace="nowrap",this.uiContainer.appendChild(le),this.addActionButton(le,'<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(le,'<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(le,'<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(le,'<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(le,'<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(le,'<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(le,'<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(le,'<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 de=document.createElement("div");de.className=""+te.toolbarButtonStyleClass.name,de.setAttribute("data-type-name",re.typeName),de.innerHTML=re.icon,de.addEventListener("click",function(){te.markerToolbarButtonClicked(de,re)}),te.buttons.push(de),te.markerButtons.push(de)}),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 ve=document.createElement("div");ve.className=this.toolbarBlockStyleClass.name,ve.style.whiteSpace="nowrap",ve.style.display=this.uiStyleSettings.resultButtonBlockVisible!==!1?"":"none",this.uiContainer.appendChild(ve),this.addActionButton(ve,'<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(ve,'<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()},ce.prototype.addButtonClickListener=function(ne){this.buttonClickListeners.push(ne)},ce.prototype.removeButtonClickListener=function(ne){this.buttonClickListeners.indexOf(ne)>-1&&this.buttonClickListeners.splice(this.buttonClickListeners.indexOf(ne),1)},ce.prototype.setSelectMode=function(){this.resetButtonStyles(),this.setActiveButton(this.buttons[0])},ce.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]))}},ce.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")},ce.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)})},ce.prototype.addActionButton=function(ne,te,le){var ve=this,re=document.createElement("div");switch(re.className=""+this.toolbarButtonStyleClass.name,re.innerHTML=te,re.setAttribute("data-action",le),re.addEventListener("click",function(){ve.actionToolbarButtonClicked(re,le)}),le){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)},ce.prototype.addStyles=function(){this.toolbarStyleClass=this.styles.addClass(new fe("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 fe("toolbar_colors",`
background-color: `+this.uiStyleSettings.toolbarBackgroundColor+`;
box-shadow: 0px 3px rgba(33, 33, 33, 0.1);
`)),this.toolbarBlockStyleClass=this.styles.addClass(new fe("toolbar-block",`
display: inline-block;
box-sizing: content-box;
`)),this.toolbarOverflowBlockStyleClass=this.styles.addClass(new fe("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 fe("toolbar-overflow-block_colors",`
background-color: `+this.uiStyleSettings.toolbarBackgroundColor+`;
`));var ne=this.uiStyleSettings.toolbarHeight/4;this.toolbarButtonStyleClass=this.styles.addClass(new fe("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 fe("toolbar_button_colors",`
fill: `+this.uiStyleSettings.toolbarColor+`;
`)),this.toolbarActiveButtonStyleColorsClass=this.styles.addClass(new fe("toolbar_active_button",`
fill: `+this.uiStyleSettings.toolbarColor+`;
background-color: `+this.uiStyleSettings.toolbarBackgroundHoverColor+`
`)),this.styles.addRule(new Ye("."+this.toolbarButtonStyleClass.name+" svg",`
height: `+this.uiStyleSettings.toolbarHeight/2+`px;
`)),this.styles.addRule(new Ye("."+this.toolbarButtonStyleColorsClass.name+":hover",`
background-color: `+this.uiStyleSettings.toolbarBackgroundHoverColor+`
`))},ce.prototype.markerToolbarButtonClicked=function(ne,te){this.setActiveButton(ne),this.buttonClickListeners&&this.buttonClickListeners.length>0&&this.buttonClickListeners.forEach(function(le){return le("marker",te)}),this.markerButtonOverflowBlock.style.display="none"},ce.prototype.actionToolbarButtonClicked=function(ne,te){this.buttonClickListeners&&this.buttonClickListeners.length>0&&this.buttonClickListeners.forEach(function(le){return le("action",te)}),this.markerButtonOverflowBlock.style.display="none",this.setActiveButton(this.buttons[0])},ce.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)},ce.prototype.setActiveMarkerButton=function(ne){var te=this.markerButtons.find(function(le){return le.getAttribute("data-type-name")===ne});te&&this.setActiveButton(te)},ce.prototype.setCurrentMarker=function(ne){var te=this;this.currentMarker=ne,this.buttons.filter(function(le){return/delete|notes/.test(le.getAttribute("data-action"))}).forEach(function(le){te.currentMarker===void 0?(le.style.fillOpacity="0.4",le.style.pointerEvents="none"):(le.style.fillOpacity="1",le.style.pointerEvents="all")})},ce}(),Ae=function(){function ce(ne,te,le,ve){this.panels=[],this.panelButtons=[],this.markerjsContainer=ne,this.displayMode=te,this.uiStyleSettings=le,this.styles=ve,this.panelButtonClick=this.panelButtonClick.bind(this),this.addStyles()}return ce.prototype.addStyles=function(){var ne;this.toolboxStyleClass=this.styles.addClass(new fe("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 fe("toolbox_colors",`
color: `+this.uiStyleSettings.toolboxColor+`;
`));var te=this.uiStyleSettings.toolbarHeight/4;this.toolboxButtonRowStyleClass=this.styles.addClass(new fe("toolbox-button-row",`
display: flex;
cursor: default;
box-sizing: content-box;
`)),this.toolboxButtonRowStyleColorsClass=this.styles.addClass(new fe("toolbox-button-row_colors",`
background-color: `+this.uiStyleSettings.toolbarBackgroundColor+`;
`)),this.toolboxPanelRowStyleClass=this.styles.addClass(new fe("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 fe("toolbox-panel-row_colors",`
background-color: `+((ne=this.uiStyleSettings.toolboxBackgroundColor)!==null&&ne!==void 0?ne:this.uiStyleSettings.toolbarBackgroundHoverColor)+`;
`)),this.toolboxButtonStyleClass=this.styles.addClass(new fe("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 fe("toolbox-button_colors",`
fill: `+this.uiStyleSettings.toolbarColor+`;
`)),this.toolboxActiveButtonStyleColorsClass=this.styles.addClass(new fe("toolbox-active-button_colors",`
background-color: `+this.uiStyleSettings.toolbarBackgroundHoverColor+`;
fill: `+this.uiStyleSettings.toolbarColor+`;
`)),this.styles.addRule(new Ye("."+this.toolboxButtonStyleColorsClass.name+":hover",`
background-color: `+this.uiStyleSettings.toolbarBackgroundHoverColor+`
`)),this.styles.addRule(new Ye("."+this.toolboxButtonStyleClass.name+" svg",`
height: `+this.uiStyleSettings.toolbarHeight/2+`px;
`))},ce.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)},ce.prototype.setPanelButtons=function(ne){var te,le,ve=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+" "+((le=this.uiStyleSettings.toolboxButtonRowStyleColorsClassName)!==null&&le!==void 0?le:this.toolboxButtonRowStyleColorsClass.name)+" ",this.uiContainer.appendChild(this.buttonRow),this.panelButtons.splice(0),this.panels.forEach(function(re){var de;re.uiStyleSettings=ve.uiStyleSettings;var Ue=document.createElement("div");Ue.className=ve.toolboxButtonStyleClass.name+" "+((de=ve.uiStyleSettings.toolboxButtonStyleColorsClassName)!==null&&de!==void 0?de:ve.toolboxButtonStyleColorsClass.name),Ue.innerHTML=re.icon,Ue.title=re.title,Ue.addEventListener("click",function(){ve.panelButtonClick(re)}),ve.panelButtons.push(Ue),ve.buttonRow.appendChild(Ue)}),this.displayMode==="inline"?this.panelRow.style.display="none":this.panelRow.style.visibility="hidden")},ce.prototype.panelButtonClick=function(ne){var te=this,le=-1;if(ne!==this.activePanel){le=this.panels.indexOf(ne),this.panelRow.innerHTML="";var ve=ne.getUi();ve.style.margin=this.uiStyleSettings.toolbarHeight/4+"px",this.panelRow.appendChild(ve),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,de){var Ue,pt;re.className=te.toolboxButtonStyleClass.name+" "+(de===le?""+((Ue=te.uiStyleSettings.toolboxActiveButtonStyleColorsClassName)!==null&&Ue!==void 0?Ue:te.toolboxActiveButtonStyleColorsClass.name):""+((pt=te.uiStyleSettings.toolboxButtonStyleColorsClassName)!==null&&pt!==void 0?pt:te.toolboxButtonStyleColorsClass.name))})},ce}(),Ce=function(ce,ne){this.title=ce,this.icon=ne},me=function(ce){function ne(te,le,ve,re){var de=ce.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 de.colors=[],de.addTransparent=!1,de.colorBoxes=[],de.colors=le,de.currentColor=ve,de.setCurrentColor=de.setCurrentColor.bind(de),de.getColorBox=de.getColorBox.bind(de),de}return xe(ne,ce),ne.prototype.getUi=function(){var te=this,le=document.createElement("div");return le.style.overflow="hidden",le.style.whiteSpace="nowrap",this.colors.forEach(function(ve){var re=te.getColorBox(ve);le.appendChild(re),te.colorBoxes.push(re)}),le},ne.prototype.getColorBox=function(te){var le=this,ve=this.uiStyleSettings.toolbarHeight/4,re=this.uiStyleSettings.toolbarHeight-ve,de=document.createElement("div");de.style.display="inline-block",de.style.boxSizing="content-box",de.style.width=re-2+"px",de.style.height=re-2+"px",de.style.padding="1px",de.style.marginRight="2px",de.style.marginBottom="2px",de.style.borderWidth="2px",de.style.borderStyle="solid",de.style.borderRadius=(re+2)/2+"px",de.style.borderColor=te===this.currentColor?this.uiStyleSettings.toolboxAccentColor:"transparent",de.addEventListener("click",function(){le.setCurrentColor(te,de)});var Ue=document.createElement("div");return Ue.style.display="inline-block",Ue.style.width=re-2+"px",Ue.style.height=re-2+"px",Ue.style.backgroundColor=te,Ue.style.borderRadius=re/2+"px",te==="transparent"&&(Ue.style.fill=this.uiStyleSettings.toolboxAccentColor,Ue.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>`),de.appendChild(Ue),de},ne.prototype.setCurrentColor=function(te,le){var ve=this;this.currentColor=te,this.colorBoxes.forEach(function(re){re.style.borderColor=re===le?ve.uiStyleSettings.toolboxAccentColor:"transparent"}),this.onColorChanged&&this.onColorChanged(te)},ne}(Ce),ue=function(){function ce(ne,te,le){this._state="new",this._isSelected=!1,this._container=ne,this._overlayContainer=te,this.globalSettings=le,this.stateChanged=this.stateChanged.bind(this),this.colorChanged=this.colorChanged.bind(this),this.fillColorChanged=this.fillColorChanged.bind(this)}return Object.defineProperty(ce.prototype,"typeName",{get:function(){return Object.getPrototypeOf(this).constructor.typeName},enumerable:!1,configurable:!0}),Object.defineProperty(ce.prototype,"container",{get:function(){return this._container},enumerable:!1,configurable:!0}),Object.defineProperty(ce.prototype,"overlayContainer",{get:function(){return this._overlayContainer},enumerable:!1,configurable:!0}),Object.defineProperty(ce.prototype,"state",{get:function(){return this._state},enumerable:!1,configurable:!0}),Object.defineProperty(ce.prototype,"toolboxPanels",{get:function(){return[]},enumerable:!1,configurable:!0}),ce.prototype.ownsTarget=function(ne){return!1},Object.defineProperty(ce.prototype,"isSelected",{get:function(){return this._isSelected},enumerable:!1,configurable:!0}),ce.prototype.select=function(){this.container.style.cursor="move",this._isSelected=!0,this.manipulationStartState=this.getState()},ce.prototype.deselect=function(){this.container.style.cursor="default",this._isSelected=!1,this.stateChanged()},ce.prototype.pointerDown=function(ne,te){},ce.prototype.dblClick=function(ne,te){},ce.prototype.manipulate=function(ne){},ce.prototype.pointerUp=function(ne){this.stateChanged()},ce.prototype.dispose=function(){},ce.prototype.addMarkerVisualToContainer=function(ne){this.container.childNodes.length>0?this.container.insertBefore(ne,this.container.childNodes[0]):this.container.appendChild(ne)},ce.prototype.getState=function(){return{typeName:ce.typeName,state:this.state,notes:this.notes}},ce.prototype.restoreState=function(ne){this._state=ne.state,this.notes=ne.notes},ce.prototype.scale=function(ne,te){},ce.prototype.colorChanged=function(ne){this.onColorChanged&&this.onColorChanged(ne),this.stateChanged()},ce.prototype.fillColorChanged=function(ne){this.onFillColorChanged&&this.onFillColorChanged(ne),this.stateChanged()},ce.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)}},ce.typeName="MarkerBase",ce}(),Me=function(){function ce(){this.findGripByVisual=this.findGripByVisual.bind(this)}return ce.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},ce}(),Ze=function(){function ce(){this.GRIP_SIZE=10,this.visual=De.createGroup(),this.visual.appendChild(De.createCircle(1.5*this.GRIP_SIZE,[["fill","transparent"]])),this.visual.appendChild(De.createCircle(this.GRIP_SIZE,[["fill","#cccccc"],["fill-opacity","0.7"],["stroke","#333333"],["stroke-width","2"],["stroke-opacity","0.7"]]))}return ce.prototype.ownsTarget=function(ne){return ne===this.visual||ne===this.visual.childNodes[0]||ne===this.visual.childNodes[1]},ce}(),Qe=function(){function ce(){}return ce.toITransformMatrix=function(ne){return{a:ne.a,b:ne.b,c:ne.c,d:ne.d,e:ne.e,f:ne.f}},ce.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},ce}(),oe=function(ce){function ne(te,le,ve){var re=ce.call(this,te,le,ve)||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(De.createTransform()),re.setupControlBox(),re}return xe(ne,ce),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 le=De.createTransform();this._visual.transform.baseVal.appendItem(le)},enumerable:!1,configurable:!0}),ne.prototype.ownsTarget=function(te){return!!ce.prototype.ownsTarget.call(this,te)||!!(this.controlGrips.findGripByVisual(te)!==void 0||this.rotatorGrip!==void 0&&this.rotatorGrip.ownsTarget(te))},ne.prototype.pointerDown=function(te,le){ce.prototype.pointerDown.call(this,te,le),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 ve=this.unrotatePoint(te);if(this.manipulationStartX=ve.x,this.manipulationStartY=ve.y,this.offsetX=ve.x-this.left,this.offsetY=ve.y-this.top,this.state!=="new")if(this.select(),this.activeGrip=this.controlGrips.findGripByVisual(le),this.activeGrip!==void 0)this._state="resize";else if(this.rotatorGrip!==void 0&&this.rotatorGrip.ownsTarget(le)){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 de=this.container.transform.baseVal.getItem(0);de.setRotate(this.rotationAngle,this.centerX,this.centerY),this.container.transform.baseVal.replaceItem(de,0),this.adjustControlBox(),this._state="rotate"}else this._state="move"},ne.prototype.pointerUp=function(te){var le=this.state;ce.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",le==="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 le=this.unrotatePoint(te);this.state==="creating"?this.resize(te):this.state==="move"?(this.left=this.manipulationStartLeft+(le.x-this.manipulationStartLeft)-this.offsetX,this.top=this.manipulationStartTop+(le.y-this.manipulationStartTop)-this.offsetY,this.moveVisual({x:this.left,y:this.top}),this.adjustControlBox()):this.state==="resize"?this.resize(le):this.state==="rotate"&&this.rotate(te)},ne.prototype.resize=function(te){var le=this.manipulationStartLeft,ve=this.manipulationStartWidth,re=this.manipulationStartTop,de=this.manipulationStartHeight;switch(this.activeGrip){case this.controlGrips.bottomLeft:case this.controlGrips.centerLeft:case this.controlGrips.topLeft:le=this.manipulationStartLeft+te.x-this.manipulationStartX,ve=this.manipulationStartWidth+this.manipulationStartLeft-le;break;case this.controlGrips.bottomRight:case this.controlGrips.centerRight:case this.controlGrips.topRight:case void 0:ve=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,de=this.manipulationStartHeight+this.manipulationStartTop-re;break;case this.controlGrips.bottomCenter:case this.controlGrips.bottomLeft:case this.controlGrips.bottomRight:case void 0:de=this.manipulationStartHeight+te.y-this.manipulationStartY}ve>=0?(this.left=le,this.width=ve):(this.left=le+ve,this.width=-ve),de>=0?(this.top=re,this.height=de):(this.top=re+de,this.height=-de),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 le=Math.sign(te.x-this.centerX);this.rotationAngle=180*Math.atan((te.y-this.centerY)/(te.x-this.centerX))/Math.PI+90*le,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 le=this.container.getCTM(),ve=De.createPoint(te.x,te.y);return{x:(ve=ve.matrixTransform(le)).x,y:ve.y}},ne.prototype.unrotatePoint=function(te){if(this.rotationAngle===0)return te;var le=this.container.getCTM();le=le.inverse();var ve=De.createPoint(te.x,te.y);return{x:(ve=ve.matrixTransform(le)).x,y:ve.y}},ne.prototype.select=function(){ce.prototype.select.call(this),this.adjustControlBox(),this.controlBox.style.display=""},ne.prototype.deselect=function(){ce.prototype.deselect.call(this),this.controlBox.style.display="none"},ne.prototype.setupControlBox=function(){this.controlBox=De.createGroup();var te=De.createTransform();te.setTranslate(-this.CB_DISTANCE/2,-this.CB_DISTANCE/2),this.controlBox.transform.baseVal.appendItem(te),this.container.appendChild(this.controlBox),this.controlRect=De.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=De.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 Me,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 Ze;return te.visual.transform.baseVal.appendItem(De.createTransform()),this.controlBox.appendChild(te.visual),te},ne.prototype.positionGrips=function(){var te=this.controlGrips.topLeft.GRIP_SIZE,le=-te/2,ve=le,re=(this.width+this.CB_DISTANCE)/2-te/2,de=(this.height+this.CB_DISTANCE)/2-te/2,Ue=this.height+this.CB_DISTANCE-te/2,pt=this.width+this.CB_DISTANCE-te/2;this.positionGrip(this.controlGrips.topLeft.visual,le,ve),this.positionGrip(this.controlGrips.topCenter.visual,re,ve),this.positionGrip(this.controlGrips.topRight.visual,pt,ve),this.positionGrip(this.controlGrips.centerLeft.visual,le,de),this.positionGrip(this.controlGrips.centerRight.visual,pt,de),this.positionGrip(this.controlGrips.bottomLeft.visual,le,Ue),this.positionGrip(this.controlGrips.bottomCenter.visual,re,Ue),this.positionGrip(this.controlGrips.bottomRight.visual,pt,Ue),this.rotatorGrip!==void 0&&this.positionGrip(this.rotatorGrip.visual,re,ve-3*this.CB_DISTANCE)},ne.prototype.positionGrip=function(te,le,ve){var re=te.transform.baseVal.getItem(0);re.setTranslate(le,ve),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:Qe.toITransformMatrix(this.visual.transform.baseVal.getItem(0).matrix),containerTransformMatrix:Qe.toITransformMatrix(this.container.transform.baseVal.getItem(0).matrix)},ce.prototype.getState.call(this))},ne.prototype.restoreState=function(te){ce.prototype.restoreState.call(this,te);var le=te;this.left=le.left,this.top=le.top,this.width=le.width,this.height=le.height,this.rotationAngle=le.rotationAngle,this.visual.transform.baseVal.getItem(0).setMatrix(Qe.toSVGMatrix(this.visual.transform.baseVal.getItem(0).matrix,le.visualTransformMatrix)),this.container.transform.baseVal.getItem(0).setMatrix(Qe.toSVGMatrix(this.container.transform.baseVal.getItem(0).matrix,le.containerTransformMatrix))},ne.prototype.scale=function(te,le){ce.prototype.scale.call(this,te,le);var ve=this.rotatePoint({x:this.left,y:this.top}),re=this.unrotatePoint({x:ve.x*te,y:ve.y*le});this.left=re.x,this.top=re.y,this.width=this.width*te,this.height=this.height*le,this.adjustControlBox()},ne}(ue),Fe=function(ce){function ne(te,le,ve){var re=ce.call(this,te,le,ve)||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 xe(ne,ce),ne.prototype.ownsTarget=function(te){return!(!ce.prototype.ownsTarget.call(this,te)&&te!==this.visual)},ne.prototype.createVisual=function(){this.visual=De.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,le){ce.prototype.pointerDown.call(this,te,le),this.state==="new"&&(this.createVisual(),this.moveVisual(te),this._state="creating")},ne.prototype.manipulate=function(te){ce.prototype.manipulate.call(this,te)},ne.prototype.resize=function(te){ce.prototype.resize.call(this,te),this.setSize()},ne.prototype.setSize=function(){ce.prototype.setSize.call(this),De.setAttributes(this.visual,[["width",this.width.toString()],["height",this.height.toString()]])},ne.prototype.pointerUp=function(te){ce.prototype.pointerUp.call(this,te),this.setSize()},ne.prototype.setStrokeColor=function(te){this.strokeColor=te,this.visual&&De.setAttributes(this.visual,[["stroke",this.strokeColor]]),this.colorChanged(te),this.stateChanged()},ne.prototype.setFillColor=function(te){this.fillColor=te,this.visual&&De.setAttributes(this.visual,[["fill",this.fillColor]]),this.stateChanged()},ne.prototype.setStrokeWidth=function(te){this.strokeWidth=te,this.visual&&De.setAttributes(this.visual,[["stroke-width",this.strokeWidth.toString()]]),this.stateChanged()},ne.prototype.setStrokeDasharray=function(te){this.strokeDasharray=te,this.visual&&De.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},ce.prototype.getState.call(this))},ne.prototype.restoreState=function(te){var le=te;this.fillColor=le.fillColor,this.strokeColor=le.strokeColor,this.strokeWidth=le.strokeWidth,this.strokeDasharray=le.strokeDasharray,this.opacity=le.opacity,this.createVisual(),ce.prototype.restoreState.call(this,te),this.setSize()},ne.prototype.scale=function(te,le){ce.prototype.scale.call(this,te,le),this.setSize()},ne.title="Rectangle marker",ne}(oe),rt=function(ce){function ne(te,le,ve,re){var de=ce.call(this,te,re||'<svg viewBox="0 0 24 24"><path d="M3 17h18v-2H3v2m0 3h18v-1H3v1m0-7h18v-3H3v3m0-9v4h18V4H3z"/></svg>')||this;return de.widths=[],de.widthBoxes=[],de.widths=le,de.currentWidth=ve,de.setCurrentWidth=de.setCurrentWidth.bind(de),de}return xe(ne,ce),ne.prototype.getUi=function(){var te=this,le=document.createElement("div");return le.style.display="flex",le.style.overflow="hidden",le.style.flexGrow="2",this.widths.forEach(function(ve){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=ve===te.currentWidth?te.uiStyleSettings.toolboxAccentColor:"transparent",re.addEventListener("click",function(){te.setCurrentWidth(ve,re)}),le.appendChild(re);var de=document.createElement("div");de.innerText=ve.toString(),de.style.marginRight="5px",re.appendChild(de);var Ue=document.createElement("div");Ue.style.minHeight="20px",Ue.style.flexGrow="2",Ue.style.display="flex",Ue.style.alignItems="center";var pt=document.createElement("hr");pt.style.minWidth="20px",pt.style.border="0px",pt.style.borderTop=ve+"px solid "+te.uiStyleSettings.toolboxColor,pt.style.flexGrow="2",Ue.appendChild(pt),re.appendChild(Ue),te.widthBoxes.push(re)}),le},ne.prototype.setCurrentWidth=function(te,le){var ve=this;this.currentWidth=te,this.widthBoxes.forEach(function(re){re.style.borderColor=re===le?ve.uiStyleSettings.toolboxAccentColor:"transparent"}),this.onWidthChanged&&this.onWidthChanged(this.currentWidth)},ne}(Ce),Ne=function(ce){function ne(te,le,ve,re){var de=ce.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 de.styles=[],de.styleBoxes=[],de.styles=le,de.currentStyle=ve,de.setCurrentStyle=de.setCurrentStyle.bind(de),de}return xe(ne,ce),ne.prototype.getUi=function(){var te=this,le=document.createElement("div");return le.style.display="flex",le.style.overflow="hidden",le.style.flexGrow="2",this.styles.forEach(function(ve){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=ve===te.currentStyle?te.uiStyleSettings.toolboxAccentColor:"transparent",re.addEventListener("click",function(){te.setCurrentStyle(ve,re)}),le.appendChild(re);var de=document.createElement("div");de.style.minHeight="20px",de.style.flexGrow="2",de.style.overflow="hidden";var Ue=`<svg width="100" height="20">
<line x1="0" y1="10" x2="100" y2="10" stroke="`+te.uiStyleSettings.toolboxColor+'" stroke-width="3" '+(ve!==""?'stroke-dasharray="'+ve+'"':"")+` />
</svg>`;de.innerHTML=Ue,re.appendChild(de),te.styleBoxes.push(re)}),le},ne.prototype.setCurrentStyle=function(te,le){var ve=this;this.currentStyle=te,this.styleBoxes.forEach(function(re){re.style.borderColor=re===le?ve.uiStyleSettings.toolboxAccentColor:"transparent"}),this.onStyleChanged&&this.onStyleChanged(this.currentStyle)},ne}(Ce),Ge=function(ce){function ne(te,le,ve){var re=ce.call(this,te,le,ve)||this;return re.strokeColor=ve.defaultColor,re.strokeWidth=ve.defaultStrokeWidth,re.strokeDasharray=ve.defaultStrokeDasharray,re.strokePanel=new me("Line color",ve.defaultColorSet,ve.defaultColor),re.strokePanel.onColorChanged=re.setStrokeColor,re.strokeWidthPanel=new rt("Line width",ve.defaultStrokeWidths,ve.defaultStrokeWidth),re.strokeWidthPanel.onWidthChanged=re.setStrokeWidth,re.strokeStylePanel=new Ne("Line style",ve.defaultStrokeDasharrays,ve.defaultStrokeDasharray),re.strokeStylePanel.onStyleChanged=re.setStrokeDasharray,re}return xe(ne,ce),Object.defineProperty(ne.prototype,"toolboxPanels",{get:function(){return[this.strokePanel,this.strokeWidthPanel,this.strokeStylePanel]},enumerable:!1,configurable:!0}),ne.prototype.getState=function(){var te=ce.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}(Fe),ge=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"},Oe=function(ce){function ne(te,le,ve){var re=ce.call(this,te,le,ve)||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 xe(ne,ce),ne.prototype.ownsTarget=function(te){return!!ce.prototype.ownsTarget.call(this,te)||!(!this.grip1.ownsTarget(te)&&!this.grip2.ownsTarget(te))},ne.prototype.pointerDown=function(te,le){ce.prototype.pointerDown.call(this,te,le),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(le)?this.activeGrip=this.grip1:this.grip2.ownsTarget(le)?this.activeGrip=this.grip2:this.activeGrip=void 0,this.activeGrip?this._state="resize":this._state="move")},ne.prototype.pointerUp=function(te){var le=this.state;ce.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",le==="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(){ce.prototype.select.call(this),this.adjustControlBox(),this.controlBox.style.display=""},ne.prototype.deselect=function(){ce.prototype.deselect.call(this),this.controlBox.style.display="none"},ne.prototype.setupControlBox=function(){this.controlBox=De.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 Ze;return te.visual.transform.baseVal.appendItem(De.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,le,ve){var re=te.transform.baseVal.getItem(0);re.setTranslate(le,ve),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},ce.prototype.getState.call(this))},ne.prototype.restoreState=function(te){ce.prototype.restoreState.call(this,te);var le=te;this.x1=le.x1,this.y1=le.y1,this.x2=le.x2,this.y2=le.y2},ne.prototype.scale=function(te,le){ce.prototype.scale.call(this,te,le),this.x1=this.x1*te,this.y1=this.y1*le,this.x2=this.x2*te,this.y2=this.y2*le,this.adjustVisual(),this.adjustControlBox()},ne}(ue),Ve=function(ce){function ne(te,le,ve){var re=ce.call(this,te,le,ve)||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=ve.defaultColor,re.strokeWidth=ve.defaultStrokeWidth,re.strokeDasharray=ve.defaultStrokeDasharray,re.strokePanel=new me("Line color",ve.defaultColorSet,ve.defaultColor),re.strokePanel.onColorChanged=re.setStrokeColor,re.strokeWidthPanel=new rt("Line width",ve.defaultStrokeWidths,ve.defaultStrokeWidth),re.strokeWidthPanel.onWidthChanged=re.setStrokeWidth,re.strokeStylePanel=new Ne("Line style",ve.defaultStrokeDasharrays,ve.defaultStrokeDasharray),re.strokeStylePanel.onStyleChanged=re.setStrokeDasharray,re}return xe(ne,ce),ne.prototype.ownsTarget=function(te){return!(!ce.prototype.ownsTarget.call(this,te)&&te!==this.visual&&te!==this.selectorLine&&te!==this.visibleLine)},ne.prototype.createVisual=function(){this.visual=De.createGroup(),this.selectorLine=De.createLine(this.x1,this.y1,this.x2,this.y2,[["stroke","transparent"],["stroke-width",(this.strokeWidth+10).toString()]]),this.visibleLine=De.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,le){ce.prototype.pointerDown.call(this,te,le),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()),De.setAttributes(this.visibleLine,[["stroke",this.strokeColor]]),De.setAttributes(this.visibleLine,[["stroke-width",this.strokeWidth.toString()]]),De.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},ce.prototype.getState.call(this));return te.typeName=ne.typeName,te},ne.prototype.restoreState=function(te){ce.prototype.restoreState.call(this,te);var le=te;this.strokeColor=le.strokeColor,this.strokeWidth=le.strokeWidth,this.strokeDasharray=le.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}(Oe),Pe=function(ce){function ne(te,le,ve,re){var de=ce.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 de.fonts=[],de.fontBoxes=[],de.fonts=le,de.currentFont=ve,de.setCurrentFont=de.setCurrentFont.bind(de),de}return xe(ne,ce),ne.prototype.getUi=function(){var te=this,le=document.createElement("div");return le.style.overflow="hidden",le.style.flexGrow="2",this.fonts.forEach(function(ve){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=ve===te.currentFont?te.uiStyleSettings.toolboxAccentColor:"transparent",re.addEventListener("click",function(){te.setCurrentFont(ve,re)}),le.appendChild(re);var de=document.createElement("div");de.style.display="flex",de.style.minHeight="20px",de.style.flexGrow="2",de.style.fontFamily=ve,de.style.overflow="hidden";var Ue=document.createElement("div");Ue.style.whiteSpace="nowrap",Ue.style.overflow="hidden",Ue.style.textOverflow="ellipsis",Ue.innerHTML="The quick brown fox jumps over the lazy dog",de.appendChild(Ue),re.appendChild(de),te.fontBoxes.push(re)}),le},ne.prototype.setCurrentFont=function(te,le){var ve=this;this.currentFont=te,this.fontBoxes.forEach(function(re){re.style.borderColor=re===le?ve.uiStyleSettings.toolboxAccentColor:"transparent"}),this.onFontChanged&&this.onFontChanged(this.currentFont)},ne}(Ce),it=function(ce){function ne(te,le,ve){var re=ce.call(this,te,le,ve)||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=ve.defaultColor,re.fontFamily=ve.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 me("Color",ve.defaultColorSet,ve.defaultColor),re.colorPanel.onColorChanged=re.setColor,re.fontFamilyPanel=new Pe("Font",ve.defaultFontFamilies,ve.defaultFontFamily),re.fontFamilyPanel.onFontChanged=re.setFont,re}return xe(ne,ce),ne.prototype.ownsTarget=function(te){if(ce.prototype.ownsTarget.call(this,te)||te===this.visual||te===this.textElement||te===this.bgRectangle)return!0;var le=!1;return this.textElement.childNodes.forEach(function(ve){ve===te&&(le=!0)}),le},ne.prototype.createVisual=function(){this.visual=De.createGroup(),this.bgRectangle=De.createRect(1,1,[["fill","transparent"]]),this.visual.appendChild(this.bgRectangle),this.textElement=De.createText([["fill",this.color],["font-family",this.fontFamily],["font-size","16px"],["x","0"],["y","0"]]),this.textElement.transform.baseVal.appendItem(De.createTransform()),this.textElement.transform.baseVal.appendItem(De.createTransform()),this.visual.appendChild(this.textElement),this.addMarkerVisualToContainer(this.visual),this.renderText()},ne.prototype.pointerDown=function(te,le){ce.prototype.pointerDown.call(this,te,le),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(le){te.textElement.appendChild(De.createTSpan(le.trim()===""?" ":le.trim(),[["x","0"],["dy","1.2em"]]))}),setTimeout(this.sizeText,10)}},ne.prototype.getTextScale=function(){var te=this.textElement.getBBox(),le=1;if(te.width>0&&te.height>0){var ve=(1*this.width-this.width*this.padding*2/100)/te.width,re=(1*this.height-this.height*this.padding*2/100)/te.height;le=Math.min(ve,re)}return le},ne.prototype.getTextPosition=function(te){var le=this.textElement.getBBox(),ve=0,re=0;return le.width>0&&le.height>0&&(ve=(this.width-le.width*te)/2,re=this.height/2-le.height*te/2),{x:ve,y:re}},ne.prototype.sizeText=function(){var te=this.textElement.getBBox(),le=this.getTextScale(),ve=this.getTextPosition(le);ve.y-=te.y*le,navigator.userAgent.indexOf("Edge/")>-1?this.textElement.style.transform="translate("+ve.x+"px, "+ve.y+"px) scale("+le+", "+le+")":(this.textElement.transform.baseVal.getItem(0).setTranslate(ve.x,ve.y),this.textElement.transform.baseVal.getItem(1).setScale(le,le))},ne.prototype.manipulate=function(te){ce.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){ce.prototype.resize.call(this,te),this.isMoved=!0,this.setSize(),this.sizeText()},ne.prototype.setSize=function(){ce.prototype.setSize.call(this),this.visual&&this.bgRectangle&&(De.setAttributes(this.visual,[["width",this.width.toString()],["height",this.height.toString()]]),De.setAttributes(this.bgRectangle,[["width",this.width.toString()],["height",this.height.toString()]]))},ne.prototype.pointerUp=function(te){var le=this.state;le==="creating"&&(this._suppressMarkerCreateEvent=!0),ce.prototype.pointerUp.call(this,te),this.setSize(),(le==="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(le){le.stopPropagation()}),this.textEditor.addEventListener("input",function(){for(var le=Number.parseFloat(te.textEditor.style.fontSize);te.textEditor.clientWidth>=Number.parseInt(te.textEditor.style.maxWidth)&&le>.9;)le-=.1,te.textEditor.style.fontSize=Math.max(le,.9)+"em"}),this.textEditor.addEventListener("keyup",function(le){le.cancelBubble=!0}),this.textEditor.addEventListener("paste",function(le){if(le.clipboardData){var ve=le.clipboardData.getData("text"),re=window.getSelection();if(!re.rangeCount)return!1;re.deleteFromDocument(),re.getRangeAt(0).insertNode(document.createTextNode(ve)),le.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(),le=this.rotatePoint({x:this.left+this.width/2,y:this.top+this.height/2}),ve=this.textElement.getBBox(),re={x:ve.width*te,y:ve.height*te};le.x-=re.x/2,le.y-=re.y/2,this.textEditor.style.top=le.y+"px",this.textEditor.style.left=le.x+"px",this.textEditor.style.maxWidth=this.overlayContainer.offsetWidth-le.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(){ce.prototype.select.call(this),this.state==="edit"&&this.textEditDivClicked(this.textEditor.innerText)},ne.prototype.deselect=function(){this.state==="edit"&&this.textEditDivClicked(this.textEditor.innerText),ce.prototype.deselect.call(this)},ne.prototype.dblClick=function(te,le){ce.prototype.dblClick.call(this,te,le),this.showTextEditor()},ne.prototype.setColor=function(te){this.textElement&&De.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&&De.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},ce.prototype.getState.call(this));return te.typeName=ne.typeName,te},ne.prototype.restoreState=function(te){var le=te;this.color=le.color,this.fontFamily=le.fontFamily,this.padding=le.padding,this.text=le.text,this.createVisual(),ce.prototype.restoreState.call(this,te),this.setSize()},ne.prototype.scale=function(te,le){ce.prototype.scale.call(this,te,le),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}(oe),Le=function(ce){function ne(te,le,ve){var re=ce.call(this,te,le,ve)||this;return re.color="transparent",re.lineWidth=3,re.drawing=!1,re.pixelRatio=1,re.color=ve.defaultColor,re.lineWidth=ve.defaultStrokeWidth,re.pixelRatio=ve.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 me("Color",ve.defaultColorSet,ve.defaultColor),re.colorPanel.onColorChanged=re.setColor,re.lineWidthPanel=new rt("Line width",ve.defaultStrokeWidths,ve.defaultStrokeWidth),re.lineWidthPanel.onWidthChanged=re.setLineWidth,re}return xe(ne,ce),ne.prototype.ownsTarget=function(te){return!(!ce.prototype.ownsTarget.call(this,te)&&te!==this.visual&&te!==this.drawingImage)},ne.prototype.createVisual=function(){this.visual=De.createGroup(),this.drawingImage=De.createImage(),this.visual.appendChild(this.drawingImage);var te=De.createTransform();this.visual.transform.baseVal.appendItem(te),this.addMarkerVisualToContainer(this.visual)},ne.prototype.pointerDown=function(te,le){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):ce.prototype.pointerDown.call(this,te,le)},ne.prototype.manipulate=function(te){this.state==="creating"?this.drawing&&(this.canvasContext.lineTo(te.x,te.y),this.canvasContext.stroke()):ce.prototype.manipulate.call(this,te)},ne.prototype.resize=function(te){ce.prototype.resize.call(this,te),De.setAttributes(this.visual,[["width",this.width.toString()],["height",this.height.toString()]]),De.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()):ce.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(),ce.prototype.select.call(this)},ne.prototype.deselect=function(){this.state==="creating"&&this.finishCreation(),ce.prototype.deselect.call(this)},ne.prototype.finishCreation=function(){for(var te=this.canvasContext.getImageData(0,0,this.canvasElement.width,this.canvasElement.height),le=[this.canvasElement.width+1,this.canvasElement.height+1,-1,-1],ve=le[0],re=le[1],de=le[2],Ue=le[3],pt=!1,et=0;et<this.canvasElement.height;et++)for(var tt=0;tt<this.canvasElement.width;tt++)te.data[et*this.canvasElement.width*4+4*tt+3]>0&&(pt=!0,et<re&&(re=et),tt<ve&&(ve=tt),et>Ue&&(Ue=et),tt>de&&(de=tt));if(pt){this.left=ve/this.pixelRatio,this.top=re/this.pixelRatio,this.width=(de-ve)/this.pixelRatio,this.height=(Ue-re)/this.pixelRatio;var dt=document.createElement("canvas");dt.width=de-ve,dt.height=Ue-re,dt.getContext("2d").putImageData(this.canvasContext.getImageData(ve,re,de-ve,Ue-re),0,0),this.drawingImgUrl=dt.toDataURL("image/png"),this.setDrawingImage(),this._state="select",this.onMarkerCreated&&this.onMarkerCreated(this)}this.overlayContainer.innerHTML=""},ne.prototype.setDrawingImage=function(){De.setAttributes(this.drawingImage,[["width",this.width.toString()],["height",this.height.toString()]]),De.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},ce.prototype.getState.call(this));return te.typeName=ne.typeName,te},ne.prototype.restoreState=function(te){this.createVisual(),ce.prototype.restoreState.call(this,te),this.drawingImgUrl=te.drawingImgUrl,this.setDrawingImage()},ne.prototype.scale=function(te,le){ce.prototype.scale.call(this,te,le),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}(oe),pe=function(ce){function ne(te,le,ve){var re=ce.call(this,te,ve||'<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=le,re.setCurrentType=re.setCurrentType.bind(re),re}return xe(ne,ce),ne.prototype.getUi=function(){var te=this,le=document.createElement("div");le.style.display="flex",le.style.overflow="hidden",le.style.flexGrow="2";for(var ve=function(Ue){var pt="both";switch(Ue){case 0:pt="both";break;case 1:pt="start";break;case 2:pt="end";break;case 3:pt="none"}var et=document.createElement("div");if(et.style.display="flex",et.style.flexGrow="2",et.style.alignItems="center",et.style.justifyContent="space-between",et.style.padding="5px",et.style.borderWidth="2px",et.style.borderStyle="solid",et.style.borderColor=pt===re.currentType?re.uiStyleSettings.toolboxAccentColor:"transparent",et.addEventListener("click",function(){te.setCurrentType(pt,et)}),le.appendChild(et),pt==="both"||pt==="start"){var tt=document.createElement("div");tt.style.display="flex",tt.style.alignItems="center",tt.style.minHeight="20px",tt.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>`,tt.style.marginLeft="5px",et.appendChild(tt)}var dt=document.createElement("div");dt.style.display="flex",dt.style.alignItems="center",dt.style.minHeight="20px",dt.style.flexGrow="2";var gt=document.createElement("hr");if(gt.style.minWidth="20px",gt.style.border="0px",gt.style.borderTop="3px solid "+(re.uiStyleSettings!==void 0?re.uiStyleSettings.toolboxColor:"#eeeeee"),gt.style.flexGrow="2",dt.appendChild(gt),et.appendChild(dt),pt==="both"||pt==="end"){var St=document.createElement("div");St.style.display="flex",St.style.alignItems="center",St.style.minHeight="20px",St.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>`,St.style.marginRight="5px",et.appendChild(St)}re.typeBoxes.push(et)},re=this,de=0;de<4;de++)ve(de);return le},ne.prototype.setCurrentType=function(te,le){var ve=this;this.currentType=te,this.typeBoxes.forEach(function(re){re.style.borderColor=re===le?ve.uiStyleSettings!==void 0?ve.uiStyleSettings.toolboxAccentColor:"#3080c3":"transparent"}),this.onArrowTypeChanged&&this.onArrowTypeChanged(this.currentType)},ne}(Ce),qe=function(ce){function ne(te,le,ve){var re=ce.call(this,te,le,ve)||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 pe("Arrow type","end"),re.arrowTypePanel.onArrowTypeChanged=re.setArrowType,re}return xe(ne,ce),ne.prototype.ownsTarget=function(te){return!(!ce.prototype.ownsTarget.call(this,te)&&te!==this.arrow1&&te!==this.arrow2)},ne.prototype.getArrowPoints=function(te,le){var ve=this.arrowBaseWidth+2*this.strokeWidth,re=this.arrowBaseHeight+2*this.strokeWidth;return te-ve/2+","+(le+re/2)+" "+te+","+(le-re/2)+" "+(te+ve/2)+","+(le+re/2)},ne.prototype.createTips=function(){this.arrow1=De.createPolygon(this.getArrowPoints(this.x1,this.y1),[["fill",this.strokeColor]]),this.arrow1.transform.baseVal.appendItem(De.createTransform()),this.visual.appendChild(this.arrow1),this.arrow2=De.createPolygon(this.getArrowPoints(this.x2,this.y2),[["fill",this.strokeColor]]),this.arrow2.transform.baseVal.appendItem(De.createTransform()),this.visual.appendChild(this.arrow2)},ne.prototype.pointerDown=function(te,le){ce.prototype.pointerDown.call(this,te,le),this.state==="creating"&&this.createTips()},ne.prototype.adjustVisual=function(){if(ce.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",De.setAttributes(this.arrow1,[["points",this.getArrowPoints(this.x1,this.y1)],["fill",this.strokeColor]]),De.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 le=this.arrow1.transform.baseVal.getItem(0);le.setRotate(te,this.x1,this.y1),this.arrow1.transform.baseVal.replaceItem(le,0);var ve=this.arrow2.transform.baseVal.getItem(0);ve.setRotate(te+180,this.x2,this.y2),this.arrow2.transform.baseVal.replaceItem(ve,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},ce.prototype.getState.call(this));return te.typeName=ne.typeName,te},ne.prototype.restoreState=function(te){ce.prototype.restoreState.call(this,te);var le=te;this.arrowType=le.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}(Ve),Xe=function(ce){function ne(te,le,ve){var re=ce.call(this,te,le,ve)||this;return re.fillColor=ve.defaultFillColor,re.strokeWidth=0,re.fillPanel=new me("Color",ve.defaultColorSet,ve.defaultFillColor),re.fillPanel.onColorChanged=re.setFillColor,re}return xe(ne,ce),Object.defineProperty(ne.prototype,"toolboxPanels",{get:function(){return[this.fillPanel]},enumerable:!1,configurable:!0}),ne.prototype.getState=function(){var te=ce.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}(Fe),Ct=function(ce){function ne(te,le,ve,re){var de=ce.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 de.opacities=[],de.opacityBoxes=[],de.opacities=le,de.currentOpacity=ve,de.setCurrentOpacity=de.setCurrentOpacity.bind(de),de}return xe(ne,ce),ne.prototype.getUi=function(){var te=this,le=document.createElement("div");return le.style.display="flex",le.style.overflow="hidden",le.style.flexGrow="2",le.style.justifyContent="space-between",this.opacities.forEach(function(ve){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=ve===te.currentOpacity?te.uiStyleSettings.toolboxAccentColor:"transparent",re.addEventListener("click",function(){te.setCurrentOpacity(ve,re)}),le.appendChild(re);var de=document.createElement("div");de.innerText=100*ve+"%",re.appendChild(de),te.opacityBoxes.push(re)}),le},ne.prototype.setCurrentOpacity=function(te,le){var ve=this;this.currentOpacity=te,this.opacityBoxes.forEach(function(re){re.style.borderColor=re===le?ve.uiStyleSettings.toolboxAccentColor:"transparent"}),this.onOpacityChanged&&this.onOpacityChanged(this.currentOpacity)},ne}(Ce),Yt=function(ce){function ne(te,le,ve){var re=ce.call(this,te,le,ve)||this;return re.setOpacity=re.setOpacity.bind(re),re.fillColor=ve.defaultHighlightColor,re.strokeWidth=0,re.opacity=ve.defaultHighlightOpacity,re.fillPanel=new me("Color",ve.defaultColorSet,re.fillColor),re.fillPanel.onColorChanged=re.setFillColor,re.opacityPanel=new Ct("Opacity",ve.defaultOpacitySteps,re.opacity),re.opacityPanel.onOpacityChanged=re.setOpacity,re}return xe(ne,ce),ne.prototype.setOpacity=function(te){this.opacity=te,this.visual&&De.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=ce.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}(Xe),We='<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>',Be='<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>',Dt=function(ce){function ne(te,le,ve){var re=ce.call(this,te,le,ve)||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=ve.defaultStrokeColor,re.bgColor=ve.defaultFillColor,re.fontFamily=ve.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 me("Text color",ve.defaultColorSet,re.color,We),re.colorPanel.onColorChanged=re.setColor,re.bgColorPanel=new me("Fill color",ve.defaultColorSet,re.bgColor,Be),re.bgColorPanel.onColorChanged=re.setBgColor,re.fontFamilyPanel=new Pe("Font",ve.defaultFontFamilies,ve.defaultFontFamily),re.fontFamilyPanel.onFontChanged=re.setFont,re.tipGrip=new Ze,re.tipGrip.visual.transform.baseVal.appendItem(De.createTransform()),re.controlBox.appendChild(re.tipGrip.visual),re}return xe(ne,ce),ne.prototype.ownsTarget=function(te){return ce.prototype.ownsTarget.call(this,te)||this.tipGrip.ownsTarget(te)||this.tip===te},ne.prototype.createTip=function(){De.setAttributes(this.bgRectangle,[["fill",this.bgColor],["rx","10px"]]),this.tip=De.createPolygon(this.getTipPoints(),[["fill",this.bgColor]]),this.visual.appendChild(this.tip)},ne.prototype.pointerDown=function(te,le){this.state==="new"&&ce.prototype.pointerDown.call(this,te,le),this.state==="creating"?this.createTip():this.tipGrip.ownsTarget(le)?(this.manipulationStartLeft=this.left,this.manipulationStartTop=this.top,this.tipMoving=!0):ce.prototype.pointerDown.call(this,te,le)},ne.prototype.pointerUp=function(te){if(this.tipMoving)this.tipMoving=!1,this.isMoved=!0,ce.prototype.pointerUp.call(this,te);else{var le=this.state==="creating";ce.prototype.pointerUp.call(this,te),this.setTipPoints(le),this.positionTip()}},ne.prototype.manipulate=function(te){if(this.tipMoving){var le=this.unrotatePoint(te);this.tipPosition={x:le.x-this.manipulationStartLeft,y:le.y-this.manipulationStartTop},this.positionTip()}else ce.prototype.manipulate.call(this,te)},ne.prototype.setBgColor=function(te){this.bgRectangle&&this.tip&&(De.setAttributes(this.bgRectangle,[["fill",te]]),De.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 le=Math.min(this.height/2,15),ve=this.height/5;te&&(this.tipPosition={x:le+ve/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))?(ve=this.width/5,le=Math.min(this.width/2,15),this.tipBase1Position={x:le,y:0},this.tipBase2Position={x:le+ve,y:0}):(this.tipBase1Position={x:0,y:le},this.tipBase2Position={x:0,y:le+ve}):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))?(ve=this.width/5,le=Math.min(this.width/2,15),this.tipBase1Position={x:this.width-le-ve,y:0},this.tipBase2Position={x:this.width-le,y:0}):(this.tipBase1Position={x:this.width,y:le},this.tipBase2Position={x:this.width,y:le+ve}):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))?(ve=this.width/5,le=Math.min(this.width/2,15),this.tipBase1Position={x:this.width-le-ve,y:this.height},this.tipBase2Position={x:this.width-le,y:this.height}):(this.tipBase1Position={x:this.width,y:this.height-le-ve},this.tipBase2Position={x:this.width,y:this.height-le}):re<Math.atan((this.tipPosition.y-this.height/2)/(this.width/2-this.tipPosition.x))?(ve=this.width/5,le=Math.min(this.width/2,15),this.tipBase1Position={x:le,y:this.height},this.tipBase2Position={x:le+ve,y:this.height}):(this.tipBase1Position={x:0,y:this.height-le},this.tipBase2Position={x:0,y:this.height-le-ve})},ne.prototype.resize=function(te){ce.prototype.resize.call(this,te),this.positionTip()},ne.prototype.positionTip=function(){De.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(),ce.prototype.select.call(this)},ne.prototype.getState=function(){var te=Object.assign({bgColor:this.bgColor,tipPosition:this.tipPosition},ce.prototype.getState.call(this));return te.typeName=ne.typeName,te},ne.prototype.restoreState=function(te){var le=te;this.bgColor=le.bgColor,this.tipPosition=le.tipPosition,ce.prototype.restoreState.call(this,te),this.createTip(),this.setTipPoints()},ne.prototype.scale=function(te,le){ce.prototype.scale.call(this,te,le),this.tipPosition={x:this.tipPosition.x*te,y:this.tipPosition.y*le},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}(it),Zt=function(ce){function ne(te,le,ve){var re=ce.call(this,te,le,ve)||this;return re.fillColor="transparent",re.strokeColor="transparent",re.strokeWidth=0,re.strokeDasharray="",re.opacity=1,re.strokeColor=ve.defaultColor,re.strokeWidth=ve.defaultStrokeWidth,re.strokeDasharray=ve.defaultStrokeDasharray,re.fillColor=ve.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 me("Line color",be(ve.defaultColorSet,["transparent"]),ve.defaultColor),re.strokePanel.onColorChanged=re.setStrokeColor,re.fillPanel=new me("Fill color",be(ve.defaultColorSet,["transparent"]),re.fillColor,Be),re.fillPanel.onColorChanged=re.setFillColor,re.strokeWidthPanel=new rt("Line width",ve.defaultStrokeWidths,ve.defaultStrokeWidth),re.strokeWidthPanel.onWidthChanged=re.setStrokeWidth,re.strokeStylePanel=new Ne("Line style",ve.defaultStrokeDasharrays,ve.defaultStrokeDasharray),re.strokeStylePanel.onStyleChanged=re.setStrokeDasharray,re.opacityPanel=new Ct("Opacity",ve.defaultOpacitySteps,re.opacity),re.opacityPanel.onOpacityChanged=re.setOpacity,re}return xe(ne,ce),ne.prototype.ownsTarget=function(te){return!(!ce.prototype.ownsTarget.call(this,te)&&te!==this.visual)},ne.prototype.createVisual=function(){this.visual=De.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,le){ce.prototype.pointerDown.call(this,te,le),this.state==="new"&&(this.createVisual(),this.moveVisual(te),this._state="creating")},ne.prototype.manipulate=function(te){ce.prototype.manipulate.call(this,te)},ne.prototype.resize=function(te){ce.prototype.resize.call(this,te),this.setSize()},ne.prototype.setSize=function(){ce.prototype.setSize.call(this),De.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){ce.prototype.pointerUp.call(this,te),this.setSize()},ne.prototype.setStrokeColor=function(te){this.strokeColor=te,this.visual&&De.setAttributes(this.visual,[["stroke",this.strokeColor]]),this.colorChanged(te),this.stateChanged()},ne.prototype.setFillColor=function(te){this.fillColor=te,this.visual&&De.setAttributes(this.visual,[["fill",this.fillColor]]),this.fillColorChanged(te),this.stateChanged()},ne.prototype.setStrokeWidth=function(te){this.strokeWidth=te,this.visual&&De.setAttributes(this.visual,[["stroke-width",this.strokeWidth.toString()]]),this.stateChanged()},ne.prototype.setStrokeDasharray=function(te){this.strokeDasharray=te,this.visual&&De.setAttributes(this.visual,[["stroke-dasharray",this.strokeDasharray]]),this.stateChanged()},ne.prototype.setOpacity=function(te){this.opacity=te,this.visual&&De.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},ce.prototype.getState.call(this));return te.typeName=ne.typeName,te},ne.prototype.restoreState=function(te){var le=te;this.fillColor=le.fillColor,this.strokeColor=le.strokeColor,this.strokeWidth=le.strokeWidth,this.strokeDasharray=le.strokeDasharray,this.opacity=le.opacity,this.createVisual(),ce.prototype.restoreState.call(this,te),this.setSize()},ne.prototype.scale=function(te,le){ce.prototype.scale.call(this,te,le),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}(oe),lt=function(ce){function ne(te,le,ve){return ce.call(this,te,le,ve)||this}return xe(ne,ce),Object.defineProperty(ne.prototype,"tipLength",{get:function(){return 10+3*this.strokeWidth},enumerable:!1,configurable:!0}),ne.prototype.ownsTarget=function(te){return!(!ce.prototype.ownsTarget.call(this,te)&&te!==this.tip1&&te!==this.tip2)},ne.prototype.createTips=function(){this.tip1=De.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(De.createTransform()),this.visual.appendChild(this.tip1),this.tip2=De.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(De.createTransform()),this.visual.appendChild(this.tip2)},ne.prototype.pointerDown=function(te,le){ce.prototype.pointerDown.call(this,te,le),this.state==="creating"&&this.createTips()},ne.prototype.adjustVisual=function(){if(ce.prototype.adjustVisual.call(this),this.tip1&&this.tip2&&(De.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()]]),De.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),le=this.tip1.transform.baseVal.getItem(0);le.setRotate(te,this.x1,this.y1),this.tip1.transform.baseVal.replaceItem(le,0);var ve=this.tip2.transform.baseVal.getItem(0);ve.setRotate(te+180,this.x2,this.y2),this.tip2.transform.baseVal.replaceItem(ve,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=ce.prototype.getState.call(this);return te.typeName=ne.typeName,te},ne.prototype.restoreState=function(te){ce.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}(Ve),Se=function(ce){function ne(te,le,ve){var re=ce.call(this,te,le,ve)||this;return re.strokePanel.colors=ve.defaultColorSet,re.fillColor="transparent",re}return xe(ne,ce),Object.defineProperty(ne.prototype,"toolboxPanels",{get:function(){return[this.strokePanel,this.strokeWidthPanel,this.strokeStylePanel]},enumerable:!1,configurable:!0}),ne.prototype.getState=function(){var te=ce.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}(Zt),Re=function(){function ce(){this.undoStack=[],this.redoStack=[]}return Object.defineProperty(ce.prototype,"isUndoPossible",{get:function(){return this.undoStack.length>0},enumerable:!1,configurable:!0}),Object.defineProperty(ce.prototype,"isRedoPossible",{get:function(){return this.redoStack.length>0},enumerable:!1,configurable:!0}),Object.defineProperty(ce.prototype,"undoStepCount",{get:function(){return this.undoStack.length},enumerable:!1,configurable:!0}),Object.defineProperty(ce.prototype,"redoStepCount",{get:function(){return this.redoStack.length},enumerable:!1,configurable:!0}),ce.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))},ce.prototype.replaceLastUndoStep=function(ne){this.undoStack.length>0&&(this.undoStack[this.undoStack.length-1]=ne)},ce.prototype.getLastUndoStep=function(){return this.undoStack.length>0?this.undoStack[this.undoStack.length-1]:void 0},ce.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}},ce.prototype.redo=function(){return this.lastRedoStep=this.redoStack.pop(),this.lastRedoStep},ce}(),at=function(ce){function ne(te,le,ve){var re=ce.call(this,te,le,ve)||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=ve.defaultColor,re.strokeWidth=ve.defaultStrokeWidth,re.strokeDasharray=ve.defaultStrokeDasharray,re.strokePanel=new me("Line color",ve.defaultColorSet,ve.defaultColor),re.strokePanel.onColorChanged=re.setStrokeColor,re.strokeWidthPanel=new rt("Line width",ve.defaultStrokeWidths,ve.defaultStrokeWidth),re.strokeWidthPanel.onWidthChanged=re.setStrokeWidth,re.strokeStylePanel=new Ne("Line style",ve.defaultStrokeDasharrays,ve.defaultStrokeDasharray),re.strokeStylePanel.onStyleChanged=re.setStrokeDasharray,re}return xe(ne,ce),ne.prototype.ownsTarget=function(te){return!(!ce.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=De.createGroup(),this.selectorCurve=De.createPath(this.getPathD(),[["stroke","transparent"],["stroke-width",(this.strokeWidth+10).toString()],["fill","transparent"]]),this.visibleCurve=De.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,le){ce.prototype.pointerDown.call(this,te,le),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(le)&&(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()),De.setAttributes(this.visibleCurve,[["stroke",this.strokeColor]]),De.setAttributes(this.visibleCurve,[["stroke-width",this.strokeWidth.toString()]]),De.setAttributes(this.visibleCurve,[["stroke-dasharray",this.strokeDasharray.toString()]]))},ne.prototype.setupControlBox=function(){ce.prototype.setupControlBox.call(this),this.curveControlLine1=De.createLine(this.x1,this.y1,this.curveX,this.curveY,[["stroke","black"],["stroke-width","1"],["stroke-opacity","0.5"],["stroke-dasharray","3, 2"]]),this.curveControlLine2=De.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,ce.prototype.addControlGrips.call(this)},ne.prototype.positionGrips=function(){ce.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),ce.prototype.manipulate.call(this,te)},ne.prototype.resize=function(te){this.activeGrip===this.curveGrip&&(this.curveX=te.x,this.curveY=te.y),ce.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,le){this.curveX=this.curveX*te,this.curveY=this.curveY*le,ce.prototype.scale.call(this,te,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=Object.assign({strokeColor:this.strokeColor,strokeWidth:this.strokeWidth,strokeDasharray:this.strokeDasharray,curveX:this.curveX,curveY:this.curveY},ce.prototype.getState.call(this));return te.typeName=ne.typeName,te},ne.prototype.restoreState=function(te){ce.prototype.restoreState.call(this,te);var le=te;this.strokeColor=le.strokeColor,this.strokeWidth=le.strokeWidth,this.strokeDasharray=le.strokeDasharray,this.curveX=le.curveX,this.curveY=le.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}(Oe),jt=function(ce){function ne(te,le,ve){var re=ce.call(this,te,le,ve)||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=ve.defaultColor,re.strokeWidth=ve.defaultStrokeWidth,re.strokeDasharray=ve.defaultStrokeDasharray,re.fillColor=ve.defaultFillColor,re.textColor=ve.defaultStrokeColor,re.fontFamily=ve.defaultFontFamily,re.fontSize=ve.defaultCaptionFontSize,re.captionText=ve.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 me("Line color",be(ve.defaultColorSet,["transparent"]),re.strokeColor),re.strokePanel.onColorChanged=re.setStrokeColor,re.fillPanel=new me("Fill color",be(ve.defaultColorSet,["transparent"]),re.fillColor,Be),re.fillPanel.onColorChanged=re.setFillColor,re.strokeWidthPanel=new rt("Line width",ve.defaultStrokeWidths,ve.defaultStrokeWidth),re.strokeWidthPanel.onWidthChanged=re.setStrokeWidth,re.strokeStylePanel=new Ne("Line style",ve.defaultStrokeDasharrays,ve.defaultStrokeDasharray),re.strokeStylePanel.onStyleChanged=re.setStrokeDasharray,re.fontFamilyPanel=new Pe("Font",ve.defaultFontFamilies,ve.defaultFontFamily),re.fontFamilyPanel.onFontChanged=re.setFont,re.textColorPanel=new me("Text color",ve.defaultColorSet,re.textColor,We),re.textColorPanel.onColorChanged=re.setTextColor,re}return xe(ne,ce),ne.prototype.ownsTarget=function(te){return!(!ce.prototype.ownsTarget.call(this,te)&&te!==this.visual&&te!==this.frame&&te!==this.captionBg&&te!==this.captionElement)},ne.prototype.createVisual=function(){this.visual=De.createGroup(),this.addMarkerVisualToContainer(this.visual),this.captionBg=De.createRect(1,1,[["fill",this.fillColor]]),this.visual.appendChild(this.captionBg),this.captionElement=De.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=De.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,le){ce.prototype.pointerDown.call(this,te,le),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){ce.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){ce.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),De.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')"]]),De.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(le){le.stopPropagation()}),this.textEditBox.addEventListener("keypress",function(le){le.key==="Enter"&&te.finishTextEditing(te.textEditBox.value)}),this.textEditBox.addEventListener("keyup",function(le){le.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&&De.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&&De.setAttributes(this.captionElement,[["fill",te]]),this.textColor=te,this.textEditBox&&(this.textEditBox.style.color=this.textColor),this.stateChanged()},ne.prototype.setSize=function(){ce.prototype.setSize.call(this),De.setAttributes(this.frame,[["width",this.width.toString()],["height",this.height.toString()]]),this.sizeCaption()},ne.prototype.pointerUp=function(te){ce.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,le){ce.prototype.dblClick.call(this,te,le),this.showTextEditor()},ne.prototype.setStrokeColor=function(te){this.strokeColor=te,this.frame&&De.setAttributes(this.frame,[["stroke",this.strokeColor]]),this.colorChanged(te),this.stateChanged()},ne.prototype.setFillColor=function(te){this.fillColor=te,this.captionBg&&De.setAttributes(this.captionBg,[["fill",this.fillColor]]),this.fillColorChanged(te),this.stateChanged()},ne.prototype.setStrokeWidth=function(te){this.strokeWidth=te,this.frame&&De.setAttributes(this.frame,[["stroke-width",this.strokeWidth.toString()]]),this.stateChanged()},ne.prototype.setStrokeDasharray=function(te){this.strokeDasharray=te,this.frame&&De.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},ce.prototype.getState.call(this));return te.typeName=this.typeName,te},ne.prototype.restoreState=function(te){var le=te;this.fillColor=le.fillColor,this.strokeColor=le.strokeColor,this.strokeWidth=le.strokeWidth,this.strokeDasharray=le.strokeDasharray,this.textColor=le.textColor,this.fontFamily=le.fontFamily,this.captionText=le.captionText,this.fontSize=le.fontSize,this.createVisual(),ce.prototype.restoreState.call(this,te),this.setSize()},ne.prototype.scale=function(te,le){ce.prototype.scale.call(this,te,le),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}(oe),ft=function(){function ce(ne,te){te===void 0&&(te=!1),this.cancelable=!1,this._defaultPrevented=!1,this.markerArea=ne,this.cancelable=te}return Object.defineProperty(ce.prototype,"defaultPrevented",{get:function(){return this._defaultPrevented},enumerable:!1,configurable:!0}),ce.prototype.preventDefault=function(){this._defaultPrevented=!0},ce}(),Wt=function(ce){function ne(te,le,ve){var re=ce.call(this,te,!1)||this;return re.dataUrl=le,re.state=ve,re}return xe(ne,ce),ne}(ft),xt=function(ce){function ne(te,le,ve){ve===void 0&&(ve=!1);var re=ce.call(this,te,ve)||this;return re.marker=le,re}return xe(ne,ce),ne}(ft),$t=function(){function ce(){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 ce.prototype.addEventListener=function(ne,te){this[ne].push(te)},ce.prototype.removeEventListener=function(ne,te){var le=this[ne].indexOf(te);le>-1&&this[ne].splice(le,1)},ce}(),Rt=function(){function ce(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 ge,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 $t,this._silentRenderMode=!1,this._isFocused=!1,this._instanceNo=ce.instanceCounter++,this.styles=new se(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(ce.prototype,"ALL_MARKER_TYPES",{get:function(){return[Ge,Le,qe,it,Se,Zt,Yt,Dt,lt,Xe,Ve,at,jt]},enumerable:!1,configurable:!0}),Object.defineProperty(ce.prototype,"DEFAULT_MARKER_TYPES",{get:function(){return[Ge,Le,qe,it,Zt,Yt,Dt]},enumerable:!1,configurable:!0}),Object.defineProperty(ce.prototype,"BASIC_MARKER_TYPES",{get:function(){return[Ge,Le,qe,it,Yt]},enumerable:!1,configurable:!0}),Object.defineProperty(ce.prototype,"availableMarkerTypes",{get:function(){return this._availableMarkerTypes},set:function(ne){var te=this;this._availableMarkerTypes.splice(0),ne.forEach(function(le){if(typeof le=="string"){var ve=te.ALL_MARKER_TYPES.find(function(re){return re.typeName===le});ve!==void 0&&te._availableMarkerTypes.push(ve)}else te._availableMarkerTypes.push(le)})},enumerable:!1,configurable:!0}),Object.defineProperty(ce.prototype,"currentMarker",{get:function(){return this._currentMarker},enumerable:!1,configurable:!0}),Object.defineProperty(ce.prototype,"isOpen",{get:function(){return this._isOpen},enumerable:!1,configurable:!0}),Object.defineProperty(ce.prototype,"isUndoPossible",{get:function(){return!(!this.undoRedoManager||!this.undoRedoManager.isUndoPossible)},enumerable:!1,configurable:!0}),Object.defineProperty(ce.prototype,"isRedoPossible",{get:function(){return!(!this.undoRedoManager||!this.undoRedoManager.isRedoPossible)},enumerable:!1,configurable:!0}),Object.defineProperty(ce.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(ce.prototype,"instanceNo",{get:function(){return this._instanceNo},enumerable:!1,configurable:!0}),ce.prototype.open=function(){this.setupResizeObserver(),this.setEditingTarget(),this.setTopLeft(),this.initMarkerCanvas(),this.initOverlay(),this.attachEvents(),this.settings.displayMode==="popup"&&this.onPopupTargetResize(),ye.isLicensed||this.addLogo(),this._isOpen=!0,this._isFocused=!0},ce.prototype.show=function(){var ne=this;this.styles.styleSheetRoot===void 0&&we.styleSheetRoot!==void 0&&(this.styles.styleSheetRoot=we.styleSheetRoot),this.setWindowHeight(),this.showUI(),this.open(),this.eventListeners.show.forEach(function(te){return te(new ft(ne))})},ce.prototype.render=function(){return he(this,void 0,void 0,function(){var ne;return je(this,function(te){switch(te.label){case 0:return this.setCurrentMarker(),(ne=new ze).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()]}})})},ce.prototype.close=function(ne){var te=this;if(ne===void 0&&(ne=!1),this.isOpen){var le=!1;ne||this.eventListeners.beforeclose.forEach(function(ve){var re=new ft(te,!0);ve(re),re.defaultPrevented&&(le=!0)}),le||(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(ve){return ve(new ft(te))}),this.detachEvents(),this._isOpen=!1)}},ce.prototype.addMarkersToToolbar=function(){for(var ne,te=[],le=0;le<arguments.length;le++)te[le]=arguments[le];(ne=this._availableMarkerTypes).push.apply(ne,te)},ce.prototype.addRenderEventListener=function(ne){this.addEventListener("render",function(te){ne(te.dataUrl,te.state)})},ce.prototype.removeRenderEventListener=function(ne){},ce.prototype.addCloseEventListener=function(ne){this.addEventListener("close",function(){ne()})},ce.prototype.removeCloseEventListener=function(ne){},ce.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))},ce.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,le=te<this.editorCanvas.clientWidth?this.editorCanvas.clientHeight:this.editorCanvas.clientWidth/ne;this.resize(te,le)},ce.prototype.setWindowHeight=function(){this.windowHeight=window.innerHeight},ce.prototype.resize=function(ne,te){this._isResizing=!0;var le=ne/this.imageWidth,ve=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(le,ve),this._isResizing=!1},ce.prototype.scaleMarkers=function(ne,te){var le,ve=this;this._currentMarker&&this._currentMarker instanceof it?this._currentMarker.scale(ne,te):(le=this._currentMarker,this.setCurrentMarker()),this.markers.forEach(function(re){re!==ve._currentMarker&&re.scale(ne,te)}),le!==void 0&&this.setCurrentMarker(le)},ce.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"},ce.prototype.setTopLeft=function(){var ne=this.editingTarget.getBoundingClientRect(),te=this.editorCanvas.getBoundingClientRect();this.left=ne.left-te.left,this.top=ne.top-te.top},ce.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)},ce.prototype.addDefs=function(){for(var ne,te=[],le=0;le<arguments.length;le++)te[le]=arguments[le];this.defs=De.createDefs(),this.addDefsToImage(),(ne=this.defs).append.apply(ne,te)},ce.prototype.addDefsToImage=function(){this.defs&&this.markerImage.insertBefore(this.defs,this.markerImage.firstChild)},ce.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)},ce.prototype.positionMarkerImage=function(){this.markerImageHolder.style.top=this.top/this.zoomLevel+"px",this.markerImageHolder.style.left=this.left/this.zoomLevel+"px"},ce.prototype.attachEvents=function(){this.markerImage.addEventListener("pointerdown",this.onPointerDown),this.markerImage.addEventListener("dblclick",this.onDblClick),this.attachWindowEvents()},ce.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)},ce.prototype.detachEvents=function(){this.markerImage.removeEventListener("pointerdown",this.onPointerDown),this.markerImage.removeEventListener("dblclick",this.onDblClick),this.detachWindowEvents()},ce.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)},ce.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()},ce.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")},ce.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"},ce.prototype.restoreOverflow=function(){document.body.style.overflow=this.bodyOverflowState,window.scroll({top:this.scrollYState,left:this.scrollXState})},ce.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 ke(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 Ae(this.uiDiv,this.settings.displayMode,this.uiStyleSettings,this.styles),this.toolbox.show(this._silentRenderMode||this.uiStyleSettings.hideToolbox?"hidden":"visible")},ce.prototype.closeUI=function(){this.settings.displayMode==="popup"&&this.restoreOverflow(),this.targetRoot.removeChild(this.coverDiv)},ce.prototype.removeMarker=function(ne){this.markerImage.removeChild(ne.container),this.markers.indexOf(ne)>-1&&this.markers.splice(this.markers.indexOf(ne),1),ne.dispose()},ce.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())},ce.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()}},ce.prototype.deleteSelectedMarker=function(){var ne=this;if(this._currentMarker!==void 0){var te=!1;if(this.eventListeners.markerbeforedelete.forEach(function(ve){var re=new xt(ne,ne._currentMarker,!0);ve(re),re.defaultPrevented&&(te=!0)}),!te){var le=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(ve){return ve(new xt(ne,le))})}}},ce.prototype.clear=function(){var ne=this,te=!1;if(this.markers.length>0&&(this.eventListeners.markerbeforedelete.forEach(function(de){var Ue=new xt(ne,void 0,!0);de(Ue),Ue.defaultPrevented&&(te=!0)}),!te)){this.setCurrentMarker();for(var le=function(de){var Ue=ve.markers[de];ve.setCurrentMarker(ve.markers[de]),ve._currentMarker.dispose(),ve.markerImage.removeChild(ve._currentMarker.container),ve.markers.splice(ve.markers.indexOf(ve._currentMarker),1),ve.eventListeners.markerdelete.forEach(function(pt){return pt(new xt(ne,Ue))})},ve=this,re=this.markers.length-1;re>=0;re--)le(re);this.addUndoStep()}},Object.defineProperty(ce.prototype,"isNotesAreaOpen",{get:function(){return this.notesArea!==void 0},enumerable:!1,configurable:!0}),ce.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))},ce.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)},ce.prototype.selectLastMarker=function(){this.markers.length>0?this.setCurrentMarker(this.markers[this.markers.length-1]):this.setCurrentMarker()},ce.prototype.addUndoStep=function(){var ne=this;if(this._currentMarker===void 0||this._currentMarker.state!=="edit"){var te=this.getState(),le=this.undoRedoManager.getLastUndoStep();if(!le||le.width===te.width&&le.height===te.height){var ve=this.undoRedoManager.undoStepCount;this.undoRedoManager.addUndoStep(te),ve<this.undoRedoManager.undoStepCount&&this.eventListeners.statechange.forEach(function(re){return re(new ft(ne))})}else this.undoRedoManager.replaceLastUndoStep(te),this.eventListeners.statechange.forEach(function(re){return re(new ft(ne))})}},ce.prototype.undo=function(){this.switchToSelectMode(),this.addUndoStep(),this.undoStep()},ce.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(le){return le(new ft(ne))}))},ce.prototype.redo=function(){this.switchToSelectMode(),this.redoStep()},ce.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(le){return le(new ft(ne))}))},ce.prototype.stepZoom=function(){var ne=this.zoomSteps.indexOf(this.zoomLevel);this.zoomLevel=ne<this.zoomSteps.length-1?this.zoomSteps[ne+1]:this.zoomSteps[0]},ce.prototype.panTo=function(ne){this.contentDiv.scrollBy({left:this.prevPanPoint.x-ne.x,top:this.prevPanPoint.y-ne.y}),this.prevPanPoint=ne},ce.prototype.startRenderAndClose=function(){return he(this,void 0,void 0,function(){var ne,te,le=this;return je(this,function(ve){switch(ve.label){case 0:return[4,this.render()];case 1:return ne=ve.sent(),te=this.getState(),this.eventListeners.render.forEach(function(re){return re(new Wt(le,ne,te))}),this.close(!0),[2]}})})},ce.prototype.getState=function(ne){ne===!0&&this.setCurrentMarker();var te={width:this.imageWidth,height:this.imageHeight,markers:[]};return this.markers.forEach(function(le){return te.markers.push(le.getState())}),te},ce.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(le){var ve=te._availableMarkerTypes.find(function(de){return de.typeName===le.typeName});if(ve!==void 0){var re=te.addNewMarker(ve);re.restoreState(le),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(le){return le(new ft(te))})},ce.prototype.addNewMarker=function(ne){var te=De.createGroup();return this.markerImage.appendChild(te),new ne(te,this.overlayContainer,this.settings)},ce.prototype.createNewMarker=function(ne){var te,le=this;(te=typeof ne=="string"?this._availableMarkerTypes.find(function(ve){return ve.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(ve){return ve(new xt(le,le._currentMarker))}))},ce.prototype.markerCreated=function(ne){var te=this;this.mode="select",this.markerImage.style.cursor="default",this.markers.push(ne),this.setCurrentMarker(ne),ne instanceof Le&&this.settings.newFreehandMarkerOnPointerUp?this.createNewMarker(Le):this.toolbar.setSelectMode(),this.addUndoStep(),this.eventListeners.markercreate.forEach(function(le){return le(new xt(te,te._currentMarker))})},ce.prototype.colorChanged=function(ne){this.settings.defaultColorsFollowCurrentColors&&(this.settings.defaultColor=ne,this.settings.defaultStrokeColor=ne)},ce.prototype.fillColorChanged=function(ne){this.settings.defaultColorsFollowCurrentColors&&(this.settings.defaultFillColor=ne)},ce.prototype.markerStateChanged=function(ne){var te=this;this.eventListeners.markerchange.forEach(function(le){return le(new xt(te,ne))})},ce.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(le){return le(new xt(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(le){return le(new xt(te,te._currentMarker))}))},ce.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(le){return le.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))},ce.prototype.onDblClick=function(ne){if(this._isFocused||this.focus(),this.mode==="select"){var te=this.markers.find(function(le){return le.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()}},ce.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}))},ce.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()},ce.prototype.onPointerOut=function(){this.touchPoints>0&&this.touchPoints--},ce.prototype.onKeyUp=function(ne){this._currentMarker===void 0||this.notesArea!==void 0||ne.key!=="Delete"&&ne.key!=="Backspace"||this.deleteSelectedMarker()},ce.prototype.clientToLocalCoordinates=function(ne,te){var le=this.markerImage.getBoundingClientRect();return{x:(ne-le.left)/this.zoomLevel,y:(te-le.top)/this.zoomLevel}},ce.prototype.onWindowResize=function(){this.positionUI()},ce.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()},ce.prototype.addLicenseKey=function(ne){ye.addKey(ne)},ce.prototype.addEventListener=function(ne,te){this.eventListeners.addEventListener(ne,te)},ce.prototype.removeEventListener=function(ne,te){this.eventListeners.removeEventListener(ne,te)},ce.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(ce.prototype,"isFocused",{get:function(){return this._isFocused},enumerable:!1,configurable:!0}),ce.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 ft(ne))}))},ce.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 ft(ne))}))},ce.instanceCounter=0,ce}()},6551:function(dn,yt,E){"use strict";E.d(yt,{ZP:function(){return ye}});var y=E(42978),xe=E(59301),he=E(47273),je=0,be=(0,he.Z)();function De(){var ze;return be?(ze=je,je+=1):ze="TEST_OR_SSR",ze}function ye(ze){var we=xe.useState(),se=(0,y.Z)(we,2),Ye=se[0],fe=se[1];return xe.useEffect(function(){fe("rc_select_".concat(De()))},[]),ze||Ye}},37463:function(dn,yt,E){"use strict";E.d(yt,{Ac:function(){return Vt},Xo:function(){return sn},Wx:function(){return Lt},ZP:function(){return dr},lk:function(){return Qe}});var y=E(54476),xe=E(94480),he=E(20068),je=E(33885),be=E(42978),De=E(75931),ye=E(76190),ze=E(18929),we=E(48736),se=E(59301),Ye=E(92310),fe=E.n(Ye),ke=E(34280),Ae=E(49658),Ce=E(8654),me=function(Jt){var vt=Jt.className,Tt=Jt.customizeIcon,Et=Jt.customizeIconProps,Ht=Jt.children,ot=Jt.onMouseDown,Xt=Jt.onClick,nn=typeof Tt=="function"?Tt(Et):Tt;return se.createElement("span",{className:vt,onMouseDown:function(nt){nt.preventDefault(),ot==null||ot(nt)},style:{userSelect:"none",WebkitUserSelect:"none"},unselectable:"on",onClick:Xt,"aria-hidden":!0},nn!==void 0?nn:se.createElement("span",{className:fe()(vt.split(/\s+/).map(function(Kt){return"".concat(Kt,"-icon")}))},Ht))},ue=me,Me=function(Jt,vt,Tt,Et,Ht){var ot=arguments.length>5&&arguments[5]!==void 0?arguments[5]:!1,Xt=arguments.length>6?arguments[6]:void 0,nn=arguments.length>7?arguments[7]:void 0,Kt=se.useMemo(function(){if((0,ye.Z)(Et)==="object")return Et.clearIcon;if(Ht)return Ht},[Et,Ht]),nt=se.useMemo(function(){return!!(!ot&&Et&&(Tt.length||Xt)&&!(nn==="combobox"&&Xt===""))},[Et,ot,Tt.length,Xt,nn]);return{allowClear:nt,clearIcon:se.createElement(ue,{className:"".concat(Jt,"-clear"),onMouseDown:vt,customizeIcon:Kt},"\xD7")}},Ze=se.createContext(null);function Qe(){return se.useContext(Ze)}function oe(){var Ot=arguments.length>0&&arguments[0]!==void 0?arguments[0]:10,Jt=se.useState(!1),vt=(0,be.Z)(Jt,2),Tt=vt[0],Et=vt[1],Ht=se.useRef(null),ot=function(){window.clearTimeout(Ht.current)};se.useEffect(function(){return ot},[]);var Xt=function(Kt,nt){ot(),Ht.current=window.setTimeout(function(){Et(Kt),nt&&nt()},Ot)};return[Tt,Xt,ot]}function Fe(){var Ot=arguments.length>0&&arguments[0]!==void 0?arguments[0]:250,Jt=se.useRef(null),vt=se.useRef(null);se.useEffect(function(){return function(){window.clearTimeout(vt.current)}},[]);function Tt(Et){(Et||Jt.current===null)&&(Jt.current=Et),window.clearTimeout(vt.current),vt.current=window.setTimeout(function(){Jt.current=null},Ot)}return[function(){return Jt.current},Tt]}function rt(Ot,Jt,vt,Tt){var Et=se.useRef(null);Et.current={open:Jt,triggerOpen:vt,customizedTrigger:Tt},se.useEffect(function(){function Ht(ot){var Xt;if(!((Xt=Et.current)!==null&&Xt!==void 0&&Xt.customizedTrigger)){var nn=ot.target;nn.shadowRoot&&ot.composed&&(nn=ot.composedPath()[0]||nn),Et.current.open&&Ot().filter(function(Kt){return Kt}).every(function(Kt){return!Kt.contains(nn)&&Kt!==nn})&&Et.current.triggerOpen(!1)}}return window.addEventListener("mousedown",Ht),function(){return window.removeEventListener("mousedown",Ht)}},[])}var Ne=E(10228);function Ge(Ot){return Ot&&![Ne.Z.ESC,Ne.Z.SHIFT,Ne.Z.BACKSPACE,Ne.Z.TAB,Ne.Z.WIN_KEY,Ne.Z.ALT,Ne.Z.META,Ne.Z.WIN_KEY_RIGHT,Ne.Z.CTRL,Ne.Z.SEMICOLON,Ne.Z.EQUALS,Ne.Z.CAPS_LOCK,Ne.Z.CONTEXT_MENU,Ne.Z.F1,Ne.Z.F2,Ne.Z.F3,Ne.Z.F4,Ne.Z.F5,Ne.Z.F6,Ne.Z.F7,Ne.Z.F8,Ne.Z.F9,Ne.Z.F10,Ne.Z.F11,Ne.Z.F12].includes(Ot)}var ge=E(26112),Oe=E(83836);function Ve(Ot,Jt,vt){var Tt=(0,je.Z)((0,je.Z)({},Ot),vt?Jt:{});return Object.keys(Jt).forEach(function(Et){var Ht=Jt[Et];typeof Ht=="function"&&(Tt[Et]=function(){for(var ot,Xt=arguments.length,nn=new Array(Xt),Kt=0;Kt<Xt;Kt++)nn[Kt]=arguments[Kt];return Ht.apply(void 0,nn),(ot=Ot[Et])===null||ot===void 0?void 0:ot.call.apply(ot,[Ot].concat(nn))})}),Tt}var Pe=Ve,it=["prefixCls","id","inputElement","autoFocus","autoComplete","editable","activeDescendantId","value","open","attrs"],Le=function(Jt,vt){var Tt=Jt.prefixCls,Et=Jt.id,Ht=Jt.inputElement,ot=Jt.autoFocus,Xt=Jt.autoComplete,nn=Jt.editable,Kt=Jt.activeDescendantId,nt=Jt.value,Bt=Jt.open,It=Jt.attrs,_t=(0,De.Z)(Jt,it),Ln=Ht||se.createElement("input",null),zn=Ln,Vn=zn.ref,Or=zn.props;return(0,we.Kp)(!("maxLength"in Ln.props),"Passing 'maxLength' to input element directly may not work because input in BaseSelect is controlled."),Ln=se.cloneElement(Ln,(0,je.Z)((0,je.Z)((0,je.Z)({type:"search"},Pe(_t,Or,!0)),{},{id:Et,ref:(0,Ce.sQ)(vt,Vn),autoComplete:Xt||"off",autoFocus:ot,className:fe()("".concat(Tt,"-selection-search-input"),Or==null?void 0:Or.className),role:"combobox","aria-expanded":Bt||!1,"aria-haspopup":"listbox","aria-owns":"".concat(Et,"_list"),"aria-autocomplete":"list","aria-controls":"".concat(Et,"_list"),"aria-activedescendant":Bt?Kt:void 0},It),{},{value:nn?nt:"",readOnly:!nn,unselectable:nn?null:"on",style:(0,je.Z)((0,je.Z)({},Or.style),{},{opacity:nn?null:0})})),Ln},pe=se.forwardRef(Le),qe=pe;function Xe(Ot){return Array.isArray(Ot)?Ot:Ot!==void 0?[Ot]:[]}var Ct=typeof window!="undefined"&&window.document&&window.document.documentElement,Yt=Ct;function We(Ot){return Ot!=null}function Be(Ot){return!Ot&&Ot!==0}function Dt(Ot){return["string","number"].includes((0,ye.Z)(Ot))}function Zt(Ot){var Jt=void 0;return Ot&&(Dt(Ot.title)?Jt=Ot.title.toString():Dt(Ot.label)&&(Jt=Ot.label.toString())),Jt}function lt(Ot,Jt){Yt?se.useLayoutEffect(Ot,Jt):se.useEffect(Ot,Jt)}function Se(Ot){var Jt;return(Jt=Ot.key)!==null&&Jt!==void 0?Jt:Ot.value}var Re=function(Jt){Jt.preventDefault(),Jt.stopPropagation()},at=function(Jt){var vt=Jt.id,Tt=Jt.prefixCls,Et=Jt.values,Ht=Jt.open,ot=Jt.searchValue,Xt=Jt.autoClearSearchValue,nn=Jt.inputRef,Kt=Jt.placeholder,nt=Jt.disabled,Bt=Jt.mode,It=Jt.showSearch,_t=Jt.autoFocus,Ln=Jt.autoComplete,zn=Jt.activeDescendantId,Vn=Jt.tabIndex,Or=Jt.removeIcon,Hr=Jt.maxTagCount,to=Jt.maxTagTextLength,mr=Jt.maxTagPlaceholder,Er=mr===void 0?function(er){return"+ ".concat(er.length," ...")}:mr,Nr=Jt.tagRender,Yr=Jt.onToggleOpen,ro=Jt.onRemove,oo=Jt.onInputChange,ao=Jt.onInputPaste,Lr=Jt.onInputKeyDown,eo=Jt.onInputMouseDown,$r=Jt.onInputCompositionStart,Wo=Jt.onInputCompositionEnd,Vo=Jt.onInputBlur,ir=se.useRef(null),Ro=(0,se.useState)(0),ei=(0,be.Z)(Ro,2),yo=ei[0],Zo=ei[1],vo=(0,se.useState)(!1),ui=(0,be.Z)(vo,2),yi=ui[0],$o=ui[1],pi="".concat(Tt,"-selection"),ki=Ht||Bt==="multiple"&&Xt===!1||Bt==="tags"?ot:"",Ci=Bt==="tags"||Bt==="multiple"&&Xt===!1||It&&(Ht||yi);lt(function(){Zo(ir.current.scrollWidth)},[ki]);var Oi=function(Rn,Nn,yr,Zn,Hn){return se.createElement("span",{title:Zt(Rn),className:fe()("".concat(pi,"-item"),(0,he.Z)({},"".concat(pi,"-item-disabled"),yr))},se.createElement("span",{className:"".concat(pi,"-item-content")},Nn),Zn&&se.createElement(ue,{className:"".concat(pi,"-item-remove"),onMouseDown:Re,onClick:Hn,customizeIcon:Or},"\xD7"))},No=function(Rn,Nn,yr,Zn,Hn,or){var kr=function(ci){Re(ci),Yr(!Ht)};return se.createElement("span",{onMouseDown:kr},Nr({label:Nn,value:Rn,disabled:yr,closable:Zn,onClose:Hn,isMaxTag:!!or}))},Je=function(Rn){var Nn=Rn.disabled,yr=Rn.label,Zn=Rn.value,Hn=!nt&&!Nn,or=yr;if(typeof to=="number"&&(typeof yr=="string"||typeof yr=="number")){var kr=String(or);kr.length>to&&(or="".concat(kr.slice(0,to),"..."))}var wo=function(ii){ii&&ii.stopPropagation(),ro(Rn)};return typeof Nr=="function"?No(Zn,or,Nn,Hn,wo):Oi(Rn,or,Nn,Hn,wo)},hn=function(Rn){if(!Et.length)return null;var Nn=typeof Er=="function"?Er(Rn):Er;return typeof Nr=="function"?No(void 0,Nn,!1,!1,void 0,!0):Oi({title:Nn},Nn,!1)},Mt=se.createElement("div",{className:"".concat(pi,"-search"),style:{width:yo},onFocus:function(){$o(!0)},onBlur:function(){$o(!1)}},se.createElement(qe,{ref:nn,open:Ht,prefixCls:Tt,id:vt,inputElement:null,disabled:nt,autoFocus:_t,autoComplete:Ln,editable:Ci,activeDescendantId:zn,value:ki,onKeyDown:Lr,onMouseDown:eo,onChange:oo,onPaste:ao,onCompositionStart:$r,onCompositionEnd:Wo,onBlur:Vo,tabIndex:Vn,attrs:(0,ge.Z)(Jt,!0)}),se.createElement("span",{ref:ir,className:"".concat(pi,"-search-mirror"),"aria-hidden":!0},ki,"\xA0")),bn=se.createElement(Oe.Z,{prefixCls:"".concat(pi,"-overflow"),data:Et,renderItem:Je,renderRest:hn,suffix:Mt,itemKey:Se,maxCount:Hr});return se.createElement("span",{className:"".concat(pi,"-wrap")},bn,!Et.length&&!ki&&se.createElement("span",{className:"".concat(pi,"-placeholder")},Kt))},jt=at,ft=function(Jt){var vt=Jt.inputElement,Tt=Jt.prefixCls,Et=Jt.id,Ht=Jt.inputRef,ot=Jt.disabled,Xt=Jt.autoFocus,nn=Jt.autoComplete,Kt=Jt.activeDescendantId,nt=Jt.mode,Bt=Jt.open,It=Jt.values,_t=Jt.placeholder,Ln=Jt.tabIndex,zn=Jt.showSearch,Vn=Jt.searchValue,Or=Jt.activeValue,Hr=Jt.maxLength,to=Jt.onInputKeyDown,mr=Jt.onInputMouseDown,Er=Jt.onInputChange,Nr=Jt.onInputPaste,Yr=Jt.onInputCompositionStart,ro=Jt.onInputCompositionEnd,oo=Jt.onInputBlur,ao=Jt.title,Lr=se.useState(!1),eo=(0,be.Z)(Lr,2),$r=eo[0],Wo=eo[1],Vo=nt==="combobox",ir=Vo||zn,Ro=It[0],ei=Vn||"";Vo&&Or&&!$r&&(ei=Or),se.useEffect(function(){Vo&&Wo(!1)},[Vo,Or]);var yo=nt!=="combobox"&&!Bt&&!zn?!1:!!ei,Zo=ao===void 0?Zt(Ro):ao,vo=se.useMemo(function(){return Ro?null:se.createElement("span",{className:"".concat(Tt,"-selection-placeholder"),style:yo?{visibility:"hidden"}:void 0},_t)},[Ro,yo,_t,Tt]);return se.createElement("span",{className:"".concat(Tt,"-selection-wrap")},se.createElement("span",{className:"".concat(Tt,"-selection-search")},se.createElement(qe,{ref:Ht,prefixCls:Tt,id:Et,open:Bt,inputElement:vt,disabled:ot,autoFocus:Xt,autoComplete:nn,editable:ir,activeDescendantId:Kt,value:ei,onKeyDown:to,onMouseDown:mr,onChange:function(yi){Wo(!0),Er(yi)},onPaste:Nr,onCompositionStart:Yr,onCompositionEnd:ro,onBlur:oo,tabIndex:Ln,attrs:(0,ge.Z)(Jt,!0),maxLength:Vo?Hr:void 0})),!Vo&&Ro?se.createElement("span",{className:"".concat(Tt,"-selection-item"),title:Zo,style:yo?{visibility:"hidden"}:void 0},Ro.label):null,vo)},Wt=ft,xt=function(Jt,vt){var Tt=(0,se.useRef)(null),Et=(0,se.useRef)(!1),Ht=Jt.prefixCls,ot=Jt.open,Xt=Jt.mode,nn=Jt.showSearch,Kt=Jt.tokenWithEnter,nt=Jt.disabled,Bt=Jt.prefix,It=Jt.autoClearSearchValue,_t=Jt.onSearch,Ln=Jt.onSearchSubmit,zn=Jt.onToggleOpen,Vn=Jt.onInputKeyDown,Or=Jt.onInputBlur,Hr=Jt.domRef;se.useImperativeHandle(vt,function(){return{focus:function(Zo){Tt.current.focus(Zo)},blur:function(){Tt.current.blur()}}});var to=Fe(0),mr=(0,be.Z)(to,2),Er=mr[0],Nr=mr[1],Yr=function(Zo){var vo=Zo.which,ui=Tt.current instanceof HTMLTextAreaElement;!ui&&ot&&(vo===Ne.Z.UP||vo===Ne.Z.DOWN)&&Zo.preventDefault(),Vn&&Vn(Zo),vo===Ne.Z.ENTER&&Xt==="tags"&&!Et.current&&!ot&&(Ln==null||Ln(Zo.target.value)),!(ui&&!ot&&~[Ne.Z.UP,Ne.Z.DOWN,Ne.Z.LEFT,Ne.Z.RIGHT].indexOf(vo))&&Ge(vo)&&zn(!0)},ro=function(){Nr(!0)},oo=(0,se.useRef)(null),ao=function(Zo){_t(Zo,!0,Et.current)!==!1&&zn(!0)},Lr=function(){Et.current=!0},eo=function(Zo){Et.current=!1,Xt!=="combobox"&&ao(Zo.target.value)},$r=function(Zo){var vo=Zo.target.value;if(Kt&&oo.current&&/[\r\n]/.test(oo.current)){var ui=oo.current.replace(/[\r\n]+$/,"").replace(/\r\n/g," ").replace(/[\r\n]/g," ");vo=vo.replace(ui,oo.current)}oo.current=null,ao(vo)},Wo=function(Zo){var vo=Zo.clipboardData,ui=vo==null?void 0:vo.getData("text");oo.current=ui||""},Vo=function(Zo){var vo=Zo.target;if(vo!==Tt.current){var ui=document.body.style.msTouchAction!==void 0;ui?setTimeout(function(){Tt.current.focus()}):Tt.current.focus()}},ir=function(Zo){var vo=Er();Zo.target!==Tt.current&&!vo&&!(Xt==="combobox"&&nt)&&Zo.preventDefault(),(Xt!=="combobox"&&(!nn||!vo)||!ot)&&(ot&&It!==!1&&_t("",!0,!1),zn())},Ro={inputRef:Tt,onInputKeyDown:Yr,onInputMouseDown:ro,onInputChange:$r,onInputPaste:Wo,onInputCompositionStart:Lr,onInputCompositionEnd:eo,onInputBlur:Or},ei=Xt==="multiple"||Xt==="tags"?se.createElement(jt,(0,y.Z)({},Jt,Ro)):se.createElement(Wt,(0,y.Z)({},Jt,Ro));return se.createElement("div",{ref:Hr,className:"".concat(Ht,"-selector"),onClick:Vo,onMouseDown:ir},Bt&&se.createElement("div",{className:"".concat(Ht,"-prefix")},Bt),ei)},$t=se.forwardRef(xt),Rt=$t,ce=E(65030),ne=["prefixCls","disabled","visible","children","popupElement","animation","transitionName","dropdownStyle","dropdownClassName","direction","placement","builtinPlacements","dropdownMatchSelectWidth","dropdownRender","dropdownAlign","getPopupContainer","empty","getTriggerDOMNode","onPopupVisibleChange","onPopupMouseEnter"],te=function(Jt){var vt=Jt===!0?0:1;return{bottomLeft:{points:["tl","bl"],offset:[0,4],overflow:{adjustX:vt,adjustY:1},htmlRegion:"scroll"},bottomRight:{points:["tr","br"],offset:[0,4],overflow:{adjustX:vt,adjustY:1},htmlRegion:"scroll"},topLeft:{points:["bl","tl"],offset:[0,-4],overflow:{adjustX:vt,adjustY:1},htmlRegion:"scroll"},topRight:{points:["br","tr"],offset:[0,-4],overflow:{adjustX:vt,adjustY:1},htmlRegion:"scroll"}}},le=function(Jt,vt){var Tt=Jt.prefixCls,Et=Jt.disabled,Ht=Jt.visible,ot=Jt.children,Xt=Jt.popupElement,nn=Jt.animation,Kt=Jt.transitionName,nt=Jt.dropdownStyle,Bt=Jt.dropdownClassName,It=Jt.direction,_t=It===void 0?"ltr":It,Ln=Jt.placement,zn=Jt.builtinPlacements,Vn=Jt.dropdownMatchSelectWidth,Or=Jt.dropdownRender,Hr=Jt.dropdownAlign,to=Jt.getPopupContainer,mr=Jt.empty,Er=Jt.getTriggerDOMNode,Nr=Jt.onPopupVisibleChange,Yr=Jt.onPopupMouseEnter,ro=(0,De.Z)(Jt,ne),oo="".concat(Tt,"-dropdown"),ao=Xt;Or&&(ao=Or(Xt));var Lr=se.useMemo(function(){return zn||te(Vn)},[zn,Vn]),eo=nn?"".concat(oo,"-").concat(nn):Kt,$r=typeof Vn=="number",Wo=se.useMemo(function(){return $r?null:Vn===!1?"minWidth":"width"},[Vn,$r]),Vo=nt;$r&&(Vo=(0,je.Z)((0,je.Z)({},Vo),{},{width:Vn}));var ir=se.useRef(null);return se.useImperativeHandle(vt,function(){return{getPopupElement:function(){var ei;return(ei=ir.current)===null||ei===void 0?void 0:ei.popupElement}}}),se.createElement(ce.Z,(0,y.Z)({},ro,{showAction:Nr?["click"]:[],hideAction:Nr?["click"]:[],popupPlacement:Ln||(_t==="rtl"?"bottomRight":"bottomLeft"),builtinPlacements:Lr,prefixCls:oo,popupTransitionName:eo,popup:se.createElement("div",{onMouseEnter:Yr},ao),ref:ir,stretch:Wo,popupAlign:Hr,popupVisible:Ht,getPopupContainer:to,popupClassName:fe()(Bt,(0,he.Z)({},"".concat(oo,"-empty"),mr)),popupStyle:Vo,getTriggerDOMNode:Er,onPopupVisibleChange:Nr}),ot)},ve=se.forwardRef(le),re=ve,de=E(66712);function Ue(Ot,Jt){var vt=Ot.key,Tt;return"value"in Ot&&(Tt=Ot.value),vt!=null?vt:Tt!==void 0?Tt:"rc-index-key-".concat(Jt)}function pt(Ot){return typeof Ot!="undefined"&&!Number.isNaN(Ot)}function et(Ot,Jt){var vt=Ot||{},Tt=vt.label,Et=vt.value,Ht=vt.options,ot=vt.groupLabel,Xt=Tt||(Jt?"children":"label");return{label:Xt,value:Et||"value",options:Ht||"options",groupLabel:ot||Xt}}function tt(Ot){var Jt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},vt=Jt.fieldNames,Tt=Jt.childrenAsData,Et=[],Ht=et(vt,!1),ot=Ht.label,Xt=Ht.value,nn=Ht.options,Kt=Ht.groupLabel;function nt(Bt,It){Array.isArray(Bt)&&Bt.forEach(function(_t){if(It||!(nn in _t)){var Ln=_t[Xt];Et.push({key:Ue(_t,Et.length),groupOption:It,data:_t,label:_t[ot],value:Ln})}else{var zn=_t[Kt];zn===void 0&&Tt&&(zn=_t.label),Et.push({key:Ue(_t,Et.length),group:!0,data:_t,label:zn}),nt(_t[nn],!0)}})}return nt(Ot,!1),Et}function dt(Ot){var Jt=(0,je.Z)({},Ot);return"props"in Jt||Object.defineProperty(Jt,"props",{get:function(){return(0,we.ZP)(!1,"Return type is option instead of Option instance. Please read value directly instead of reading from `props`."),Jt}}),Jt}var gt=function(Jt,vt,Tt){if(!vt||!vt.length)return null;var Et=!1,Ht=function Xt(nn,Kt){var nt=(0,de.Z)(Kt),Bt=nt[0],It=nt.slice(1);if(!Bt)return[nn];var _t=nn.split(Bt);return Et=Et||_t.length>1,_t.reduce(function(Ln,zn){return[].concat((0,xe.Z)(Ln),(0,xe.Z)(Xt(zn,It)))},[]).filter(Boolean)},ot=Ht(Jt,vt);return Et?typeof Tt!="undefined"?ot.slice(0,Tt):ot:null},St=se.createContext(null),_e=St;function st(Ot){var Jt=Ot.visible,vt=Ot.values;if(!Jt)return null;var Tt=50;return se.createElement("span",{"aria-live":"polite",style:{width:0,height:0,position:"absolute",overflow:"hidden",opacity:0}},"".concat(vt.slice(0,Tt).map(function(Et){var Ht=Et.label,ot=Et.value;return["number","string"].includes((0,ye.Z)(Ht))?Ht:ot}).join(", ")),vt.length>Tt?", ...":null)}var en=["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"],Ut=["value","onChange","removeIcon","placeholder","autoFocus","maxTagCount","maxTagTextLength","maxTagPlaceholder","choiceTransitionName","onInputKeyDown","onPopupScroll","tabIndex"],yn=function(Jt){return Jt==="tags"||Jt==="multiple"},tn=se.forwardRef(function(Ot,Jt){var vt,Tt=Ot.id,Et=Ot.prefixCls,Ht=Ot.className,ot=Ot.showSearch,Xt=Ot.tagRender,nn=Ot.direction,Kt=Ot.omitDomProps,nt=Ot.displayValues,Bt=Ot.onDisplayValuesChange,It=Ot.emptyOptions,_t=Ot.notFoundContent,Ln=_t===void 0?"Not Found":_t,zn=Ot.onClear,Vn=Ot.mode,Or=Ot.disabled,Hr=Ot.loading,to=Ot.getInputElement,mr=Ot.getRawInputElement,Er=Ot.open,Nr=Ot.defaultOpen,Yr=Ot.onDropdownVisibleChange,ro=Ot.activeValue,oo=Ot.onActiveValueChange,ao=Ot.activeDescendantId,Lr=Ot.searchValue,eo=Ot.autoClearSearchValue,$r=Ot.onSearch,Wo=Ot.onSearchSplit,Vo=Ot.tokenSeparators,ir=Ot.allowClear,Ro=Ot.prefix,ei=Ot.suffixIcon,yo=Ot.clearIcon,Zo=Ot.OptionList,vo=Ot.animation,ui=Ot.transitionName,yi=Ot.dropdownStyle,$o=Ot.dropdownClassName,pi=Ot.dropdownMatchSelectWidth,ki=Ot.dropdownRender,Ci=Ot.dropdownAlign,Oi=Ot.placement,No=Ot.builtinPlacements,Je=Ot.getPopupContainer,hn=Ot.showAction,Mt=hn===void 0?[]:hn,bn=Ot.onFocus,er=Ot.onBlur,Rn=Ot.onKeyUp,Nn=Ot.onKeyDown,yr=Ot.onMouseDown,Zn=(0,De.Z)(Ot,en),Hn=yn(Vn),or=(ot!==void 0?ot:Hn)||Vn==="combobox",kr=(0,je.Z)({},Zn);Ut.forEach(function(oa){delete kr[oa]}),Kt==null||Kt.forEach(function(oa){delete kr[oa]});var wo=se.useState(!1),ci=(0,be.Z)(wo,2),ii=ci[0],oi=ci[1];se.useEffect(function(){oi((0,Ae.Z)())},[]);var vi=se.useRef(null),mi=se.useRef(null),Li=se.useRef(null),Bi=se.useRef(null),Ti=se.useRef(null),Ki=se.useRef(!1),sa=oe(),fa=(0,be.Z)(sa,3),wa=fa[0],ha=fa[1],Ao=fa[2];se.useImperativeHandle(Jt,function(){var oa,Wi;return{focus:(oa=Bi.current)===null||oa===void 0?void 0:oa.focus,blur:(Wi=Bi.current)===null||Wi===void 0?void 0:Wi.blur,scrollTo:function(fl){var Va;return(Va=Ti.current)===null||Va===void 0?void 0:Va.scrollTo(fl)},nativeElement:vi.current||mi.current}});var Do=se.useMemo(function(){var oa;if(Vn!=="combobox")return Lr;var Wi=(oa=nt[0])===null||oa===void 0?void 0:oa.value;return typeof Wi=="string"||typeof Wi=="number"?String(Wi):""},[Lr,Vn,nt]),Co=Vn==="combobox"&&typeof to=="function"&&to()||null,Ji=typeof mr=="function"&&mr(),Uo=(0,Ce.x1)(mi,Ji==null||(vt=Ji.props)===null||vt===void 0?void 0:vt.ref),Ho=se.useState(!1),Mi=(0,be.Z)(Ho,2),bi=Mi[0],hi=Mi[1];(0,ke.Z)(function(){hi(!0)},[]);var _o=(0,ze.Z)(!1,{defaultValue:Nr,value:Er}),Ma=(0,be.Z)(_o,2),Ha=Ma[0],Aa=Ma[1],ra=bi?Ha:!1,El=!Ln&&It;(Or||El&&ra&&Vn==="combobox")&&(ra=!1);var qa=El?!1:ra,qo=se.useCallback(function(oa){var Wi=oa!==void 0?oa:!ra;Or||(Aa(Wi),ra!==Wi&&(Yr==null||Yr(Wi)))},[Or,ra,Aa,Yr]),Ei=se.useMemo(function(){return(Vo||[]).some(function(oa){return[`
`,`\r
`].includes(oa)})},[Vo]),Qo=se.useContext(_e)||{},di=Qo.maxCount,zi=Qo.rawValues,$i=function(Wi,Ua,fl){if(!(Hn&&pt(di)&&(zi==null?void 0:zi.size)>=di)){var Va=!0,Ga=Wi;oo==null||oo(null);var Nl=gt(Wi,Vo,pt(di)?di-zi.size:void 0),Ml=fl?null:Nl;return Vn!=="combobox"&&Ml&&(Ga="",Wo==null||Wo(Ml),qo(!1),Va=!1),$r&&Do!==Ga&&$r(Ga,{source:Ua?"typing":"effect"}),Va}},ko=function(Wi){!Wi||!Wi.trim()||$r(Wi,{source:"submit"})};se.useEffect(function(){!ra&&!Hn&&Vn!=="combobox"&&$i("",!1,!1)},[ra]),se.useEffect(function(){Ha&&Or&&Aa(!1),Or&&!Ki.current&&ha(!1)},[Or]);var Gi=Fe(),gr=(0,be.Z)(Gi,2),Qr=gr[0],Yo=gr[1],Zi=se.useRef(!1),Ba=function(Wi){var Ua=Qr(),fl=Wi.key,Va=fl==="Enter";if(Va&&(Vn!=="combobox"&&Wi.preventDefault(),ra||qo(!0)),Yo(!!Do),fl==="Backspace"&&!Ua&&Hn&&!Do&&nt.length){for(var Ga=(0,xe.Z)(nt),Nl=null,Ml=Ga.length-1;Ml>=0;Ml-=1){var Vl=Ga[Ml];if(!Vl.disabled){Ga.splice(Ml,1),Nl=Vl;break}}Nl&&Bt(Ga,{type:"remove",values:[Nl]})}for(var hl=arguments.length,Al=new Array(hl>1?hl-1:0),kl=1;kl<hl;kl++)Al[kl-1]=arguments[kl];if(ra&&(!Va||!Zi.current)){var ns;Va&&(Zi.current=!0),(ns=Ti.current)===null||ns===void 0||ns.onKeyDown.apply(ns,[Wi].concat(Al))}Nn==null||Nn.apply(void 0,[Wi].concat(Al))},xl=function(Wi){for(var Ua=arguments.length,fl=new Array(Ua>1?Ua-1:0),Va=1;Va<Ua;Va++)fl[Va-1]=arguments[Va];if(ra){var Ga;(Ga=Ti.current)===null||Ga===void 0||Ga.onKeyUp.apply(Ga,[Wi].concat(fl))}Wi.key==="Enter"&&(Zi.current=!1),Rn==null||Rn.apply(void 0,[Wi].concat(fl))},ji=function(Wi){var Ua=nt.filter(function(fl){return fl!==Wi});Bt(Ua,{type:"remove",values:[Wi]})},Sl=function(){Zi.current=!1},Wl=se.useRef(!1),rs=function(){ha(!0),Or||(bn&&!Wl.current&&bn.apply(void 0,arguments),Mt.includes("focus")&&qo(!0)),Wl.current=!0},us=function(){Ki.current=!0,ha(!1,function(){Wl.current=!1,Ki.current=!1,qo(!1)}),!Or&&(Do&&(Vn==="tags"?$r(Do,{source:"submit"}):Vn==="multiple"&&$r("",{source:"blur"})),er&&er.apply(void 0,arguments))},po=[];se.useEffect(function(){return function(){po.forEach(function(oa){return clearTimeout(oa)}),po.splice(0,po.length)}},[]);var _i=function(Wi){var Ua,fl=Wi.target,Va=(Ua=Li.current)===null||Ua===void 0?void 0:Ua.getPopupElement();if(Va&&Va.contains(fl)){var Ga=setTimeout(function(){var hl=po.indexOf(Ga);if(hl!==-1&&po.splice(hl,1),Ao(),!ii&&!Va.contains(document.activeElement)){var Al;(Al=Bi.current)===null||Al===void 0||Al.focus()}});po.push(Ga)}for(var Nl=arguments.length,Ml=new Array(Nl>1?Nl-1:0),Vl=1;Vl<Nl;Vl++)Ml[Vl-1]=arguments[Vl];yr==null||yr.apply(void 0,[Wi].concat(Ml))},Za=se.useState({}),wl=(0,be.Z)(Za,2),Hl=wl[1];function ql(){Hl({})}var _l;Ji&&(_l=function(Wi){qo(Wi)}),rt(function(){var oa;return[vi.current,(oa=Li.current)===null||oa===void 0?void 0:oa.getPopupElement()]},qa,qo,!!Ji);var xs=se.useMemo(function(){return(0,je.Z)((0,je.Z)({},Ot),{},{notFoundContent:Ln,open:ra,triggerOpen:qa,id:Tt,showSearch:or,multiple:Hn,toggleOpen:qo})},[Ot,Ln,qa,ra,Tt,or,Hn,qo]),es=!!ei||Hr,el;es&&(el=se.createElement(ue,{className:fe()("".concat(Et,"-arrow"),(0,he.Z)({},"".concat(Et,"-arrow-loading"),Hr)),customizeIcon:ei,customizeIconProps:{loading:Hr,searchValue:Do,open:ra,focused:wa,showSearch:or}}));var Kl=function(){var Wi;zn==null||zn(),(Wi=Bi.current)===null||Wi===void 0||Wi.focus(),Bt([],{type:"clear",values:nt}),$i("",!1,!1)},Ta=Me(Et,Kl,nt,ir,yo,Or,Do,Vn),Ll=Ta.allowClear,Tl=Ta.clearIcon,tl=se.createElement(Zo,{ref:Ti}),Ss=fe()(Et,Ht,(0,he.Z)((0,he.Z)((0,he.Z)((0,he.Z)((0,he.Z)((0,he.Z)((0,he.Z)((0,he.Z)((0,he.Z)((0,he.Z)({},"".concat(Et,"-focused"),wa),"".concat(Et,"-multiple"),Hn),"".concat(Et,"-single"),!Hn),"".concat(Et,"-allow-clear"),ir),"".concat(Et,"-show-arrow"),es),"".concat(Et,"-disabled"),Or),"".concat(Et,"-loading"),Hr),"".concat(Et,"-open"),ra),"".concat(Et,"-customize-input"),Co),"".concat(Et,"-show-search"),or)),ts=se.createElement(re,{ref:Li,disabled:Or,prefixCls:Et,visible:qa,popupElement:tl,animation:vo,transitionName:ui,dropdownStyle:yi,dropdownClassName:$o,direction:nn,dropdownMatchSelectWidth:pi,dropdownRender:ki,dropdownAlign:Ci,placement:Oi,builtinPlacements:No,getPopupContainer:Je,empty:It,getTriggerDOMNode:function(Wi){return mi.current||Wi},onPopupVisibleChange:_l,onPopupMouseEnter:ql},Ji?se.cloneElement(Ji,{ref:Uo}):se.createElement(Rt,(0,y.Z)({},Ot,{domRef:mi,prefixCls:Et,inputElement:Co,ref:Bi,id:Tt,prefix:Ro,showSearch:or,autoClearSearchValue:eo,mode:Vn,activeDescendantId:ao,tagRender:Xt,values:nt,open:ra,onToggleOpen:qo,activeValue:ro,searchValue:Do,onSearch:$i,onSearchSubmit:ko,onRemove:ji,tokenWithEnter:Ei,onInputBlur:Sl}))),Ja;return Ji?Ja=ts:Ja=se.createElement("div",(0,y.Z)({className:Ss},kr,{ref:vi,onMouseDown:_i,onKeyDown:Ba,onKeyUp:xl,onFocus:rs,onBlur:us}),se.createElement(st,{visible:wa&&!ra,values:nt}),ts,el,Ll&&Tl),se.createElement(Ze.Provider,{value:xs},Ja)}),Vt=tn,Qt=function(){return null};Qt.isSelectOptGroup=!0;var sn=Qt,bt=function(){return null};bt.isSelectOption=!0;var Lt=bt,un=E(80547),Cn=E(2738),ut=E(48911);function kt(){return/(mac\sos|macintosh)/i.test(navigator.appVersion)}var wt=["disabled","title","children","style","className"];function cn(Ot){return typeof Ot=="string"||typeof Ot=="number"}var An=function(Jt,vt){var Tt=Qe(),Et=Tt.prefixCls,Ht=Tt.id,ot=Tt.open,Xt=Tt.multiple,nn=Tt.mode,Kt=Tt.searchValue,nt=Tt.toggleOpen,Bt=Tt.notFoundContent,It=Tt.onPopupScroll,_t=se.useContext(_e),Ln=_t.maxCount,zn=_t.flattenOptions,Vn=_t.onActiveValue,Or=_t.defaultActiveFirstOption,Hr=_t.onSelect,to=_t.menuItemSelectedIcon,mr=_t.rawValues,Er=_t.fieldNames,Nr=_t.virtual,Yr=_t.direction,ro=_t.listHeight,oo=_t.listItemHeight,ao=_t.optionRender,Lr="".concat(Et,"-item"),eo=(0,un.Z)(function(){return zn},[ot,zn],function(hn,Mt){return Mt[0]&&hn[1]!==Mt[1]}),$r=se.useRef(null),Wo=se.useMemo(function(){return Xt&&pt(Ln)&&(mr==null?void 0:mr.size)>=Ln},[Xt,Ln,mr==null?void 0:mr.size]),Vo=function(Mt){Mt.preventDefault()},ir=function(Mt){var bn;(bn=$r.current)===null||bn===void 0||bn.scrollTo(typeof Mt=="number"?{index:Mt}:Mt)},Ro=se.useCallback(function(hn){return nn==="combobox"?!1:mr.has(hn)},[nn,(0,xe.Z)(mr).toString(),mr.size]),ei=function(Mt){for(var bn=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1,er=eo.length,Rn=0;Rn<er;Rn+=1){var Nn=(Mt+Rn*bn+er)%er,yr=eo[Nn]||{},Zn=yr.group,Hn=yr.data;if(!Zn&&!(Hn!=null&&Hn.disabled)&&(Ro(Hn.value)||!Wo))return Nn}return-1},yo=se.useState(function(){return ei(0)}),Zo=(0,be.Z)(yo,2),vo=Zo[0],ui=Zo[1],yi=function(Mt){var bn=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;ui(Mt);var er={source:bn?"keyboard":"mouse"},Rn=eo[Mt];if(!Rn){Vn(null,-1,er);return}Vn(Rn.value,Mt,er)};(0,se.useEffect)(function(){yi(Or!==!1?ei(0):-1)},[eo.length,Kt]);var $o=se.useCallback(function(hn){return nn==="combobox"?String(hn).toLowerCase()===Kt.toLowerCase():mr.has(hn)},[nn,Kt,(0,xe.Z)(mr).toString(),mr.size]);(0,se.useEffect)(function(){var hn=setTimeout(function(){if(!Xt&&ot&&mr.size===1){var bn=Array.from(mr)[0],er=eo.findIndex(function(Rn){var Nn=Rn.data;return Kt?String(Nn.value).startsWith(Kt):Nn.value===bn});er!==-1&&(yi(er),ir(er))}});if(ot){var Mt;(Mt=$r.current)===null||Mt===void 0||Mt.scrollTo(void 0)}return function(){return clearTimeout(hn)}},[ot,Kt]);var pi=function(Mt){Mt!==void 0&&Hr(Mt,{selected:!mr.has(Mt)}),Xt||nt(!1)};if(se.useImperativeHandle(vt,function(){return{onKeyDown:function(Mt){var bn=Mt.which,er=Mt.ctrlKey;switch(bn){case Ne.Z.N:case Ne.Z.P:case Ne.Z.UP:case Ne.Z.DOWN:{var Rn=0;if(bn===Ne.Z.UP?Rn=-1:bn===Ne.Z.DOWN?Rn=1:kt()&&er&&(bn===Ne.Z.N?Rn=1:bn===Ne.Z.P&&(Rn=-1)),Rn!==0){var Nn=ei(vo+Rn,Rn);ir(Nn),yi(Nn,!0)}break}case Ne.Z.TAB:case Ne.Z.ENTER:{var yr,Zn=eo[vo];Zn&&!(Zn!=null&&(yr=Zn.data)!==null&&yr!==void 0&&yr.disabled)&&!Wo?pi(Zn.value):pi(void 0),ot&&Mt.preventDefault();break}case Ne.Z.ESC:nt(!1),ot&&Mt.stopPropagation()}},onKeyUp:function(){},scrollTo:function(Mt){ir(Mt)}}}),eo.length===0)return se.createElement("div",{role:"listbox",id:"".concat(Ht,"_list"),className:"".concat(Lr,"-empty"),onMouseDown:Vo},Bt);var ki=Object.keys(Er).map(function(hn){return Er[hn]}),Ci=function(Mt){return Mt.label};function Oi(hn,Mt){var bn=hn.group;return{role:bn?"presentation":"option",id:"".concat(Ht,"_list_").concat(Mt)}}var No=function(Mt){var bn=eo[Mt];if(!bn)return null;var er=bn.data||{},Rn=er.value,Nn=bn.group,yr=(0,ge.Z)(er,!0),Zn=Ci(bn);return bn?se.createElement("div",(0,y.Z)({"aria-label":typeof Zn=="string"&&!Nn?Zn:null},yr,{key:Mt},Oi(bn,Mt),{"aria-selected":$o(Rn)}),Rn):null},Je={role:"listbox",id:"".concat(Ht,"_list")};return se.createElement(se.Fragment,null,Nr&&se.createElement("div",(0,y.Z)({},Je,{style:{height:0,width:0,overflow:"hidden"}}),No(vo-1),No(vo),No(vo+1)),se.createElement(ut.Z,{itemKey:"key",ref:$r,data:eo,height:ro,itemHeight:oo,fullHeight:!1,onMouseDown:Vo,onScroll:It,virtual:Nr,direction:Yr,innerProps:Nr?null:Je},function(hn,Mt){var bn=hn.group,er=hn.groupOption,Rn=hn.data,Nn=hn.label,yr=hn.value,Zn=Rn.key;if(bn){var Hn,or=(Hn=Rn.title)!==null&&Hn!==void 0?Hn:cn(Nn)?Nn.toString():void 0;return se.createElement("div",{className:fe()(Lr,"".concat(Lr,"-group"),Rn.className),title:or},Nn!==void 0?Nn:Zn)}var kr=Rn.disabled,wo=Rn.title,ci=Rn.children,ii=Rn.style,oi=Rn.className,vi=(0,De.Z)(Rn,wt),mi=(0,Cn.Z)(vi,ki),Li=Ro(yr),Bi=kr||!Li&&Wo,Ti="".concat(Lr,"-option"),Ki=fe()(Lr,Ti,oi,(0,he.Z)((0,he.Z)((0,he.Z)((0,he.Z)({},"".concat(Ti,"-grouped"),er),"".concat(Ti,"-active"),vo===Mt&&!Bi),"".concat(Ti,"-disabled"),Bi),"".concat(Ti,"-selected"),Li)),sa=Ci(hn),fa=!to||typeof to=="function"||Li,wa=typeof sa=="number"?sa:sa||yr,ha=cn(wa)?wa.toString():void 0;return wo!==void 0&&(ha=wo),se.createElement("div",(0,y.Z)({},(0,ge.Z)(mi),Nr?{}:Oi(hn,Mt),{"aria-selected":$o(yr),className:Ki,title:ha,onMouseMove:function(){vo===Mt||Bi||yi(Mt)},onClick:function(){Bi||pi(yr)},style:ii}),se.createElement("div",{className:"".concat(Ti,"-content")},typeof ao=="function"?ao(hn,{index:Mt}):wa),se.isValidElement(to)||Li,fa&&se.createElement(ue,{className:"".concat(Lr,"-option-state"),customizeIcon:to,customizeIconProps:{value:yr,disabled:Bi,isSelected:Li}},Li?"\u2713":null))}))},Kn=se.forwardRef(An),rr=Kn,sr=function(Ot,Jt){var vt=se.useRef({values:new Map,options:new Map}),Tt=se.useMemo(function(){var Ht=vt.current,ot=Ht.values,Xt=Ht.options,nn=Ot.map(function(Bt){if(Bt.label===void 0){var It;return(0,je.Z)((0,je.Z)({},Bt),{},{label:(It=ot.get(Bt.value))===null||It===void 0?void 0:It.label})}return Bt}),Kt=new Map,nt=new Map;return nn.forEach(function(Bt){Kt.set(Bt.value,Bt),nt.set(Bt.value,Jt.get(Bt.value)||Xt.get(Bt.value))}),vt.current.values=Kt,vt.current.options=nt,nn},[Ot,Jt]),Et=se.useCallback(function(Ht){return Jt.get(Ht)||vt.current.options.get(Ht)},[Jt]);return[Tt,Et]};function kn(Ot,Jt){return Xe(Ot).join("").toUpperCase().includes(Jt)}var Jn=function(Ot,Jt,vt,Tt,Et){return se.useMemo(function(){if(!vt||Tt===!1)return Ot;var Ht=Jt.options,ot=Jt.label,Xt=Jt.value,nn=[],Kt=typeof Tt=="function",nt=vt.toUpperCase(),Bt=Kt?Tt:function(_t,Ln){return Et?kn(Ln[Et],nt):Ln[Ht]?kn(Ln[ot!=="children"?ot:"label"],nt):kn(Ln[Xt],nt)},It=Kt?function(_t){return dt(_t)}:function(_t){return _t};return Ot.forEach(function(_t){if(_t[Ht]){var Ln=Bt(vt,It(_t));if(Ln)nn.push(_t);else{var zn=_t[Ht].filter(function(Vn){return Bt(vt,It(Vn))});zn.length&&nn.push((0,je.Z)((0,je.Z)({},_t),{},(0,he.Z)({},Ht,zn)))}return}Bt(vt,It(_t))&&nn.push(_t)}),nn},[Ot,Tt,Et,vt,Jt])},zt=E(6551),mn=E(11592),an=["children","value"],ln=["children"];function qt(Ot){var Jt=Ot,vt=Jt.key,Tt=Jt.props,Et=Tt.children,Ht=Tt.value,ot=(0,De.Z)(Tt,an);return(0,je.Z)({key:vt,value:Ht!==void 0?Ht:vt,children:Et},ot)}function xn(Ot){var Jt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;return(0,mn.Z)(Ot).map(function(vt,Tt){if(!se.isValidElement(vt)||!vt.type)return null;var Et=vt,Ht=Et.type.isSelectOptGroup,ot=Et.key,Xt=Et.props,nn=Xt.children,Kt=(0,De.Z)(Xt,ln);return Jt||!Ht?qt(vt):(0,je.Z)((0,je.Z)({key:"__RC_SELECT_GRP__".concat(ot===null?Tt:ot,"__"),label:ot},Kt),{},{options:xn(nn)})}).filter(function(vt){return vt})}var En=function(Jt,vt,Tt,Et,Ht){return se.useMemo(function(){var ot=Jt,Xt=!Jt;Xt&&(ot=xn(vt));var nn=new Map,Kt=new Map,nt=function(_t,Ln,zn){zn&&typeof zn=="string"&&_t.set(Ln[zn],Ln)},Bt=function It(_t){for(var Ln=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,zn=0;zn<_t.length;zn+=1){var Vn=_t[zn];!Vn[Tt.options]||Ln?(nn.set(Vn[Tt.value],Vn),nt(Kt,Vn,Tt.label),nt(Kt,Vn,Et),nt(Kt,Vn,Ht)):It(Vn[Tt.options],!0)}};return Bt(ot),{options:ot,valueOptions:nn,labelOptions:Kt}},[Jt,vt,Tt,Et,Ht])},_n=En;function $n(Ot){var Jt=se.useRef();Jt.current=Ot;var vt=se.useCallback(function(){return Jt.current.apply(Jt,arguments)},[]);return vt}function Yn(Ot){var Jt=Ot.mode,vt=Ot.options,Tt=Ot.children,Et=Ot.backfill,Ht=Ot.allowClear,ot=Ot.placeholder,Xt=Ot.getInputElement,nn=Ot.showSearch,Kt=Ot.onSearch,nt=Ot.defaultOpen,Bt=Ot.autoFocus,It=Ot.labelInValue,_t=Ot.value,Ln=Ot.inputValue,zn=Ot.optionLabelProp,Vn=isMultiple(Jt),Or=nn!==void 0?nn:Vn||Jt==="combobox",Hr=vt||convertChildrenToData(Tt);if(warning(Jt!=="tags"||Hr.every(function(Nr){return!Nr.disabled}),"Please avoid setting option to disabled in tags mode since user can always type text as tag."),Jt==="tags"||Jt==="combobox"){var to=Hr.some(function(Nr){return Nr.options?Nr.options.some(function(Yr){return typeof("value"in Yr?Yr.value:Yr.key)=="number"}):typeof("value"in Nr?Nr.value:Nr.key)=="number"});warning(!to,"`value` of Option should not use number type when `mode` is `tags` or `combobox`.")}if(warning(Jt!=="combobox"||!zn,"`combobox` mode not support `optionLabelProp`. Please set `value` on Option directly."),warning(Jt==="combobox"||!Et,"`backfill` only works with `combobox` mode."),warning(Jt==="combobox"||!Xt,"`getInputElement` only work with `combobox` mode."),noteOnce(Jt!=="combobox"||!Xt||!Ht||!ot,"Customize `getInputElement` should customize clear and placeholder logic instead of configuring `allowClear` and `placeholder`."),Kt&&!Or&&Jt!=="combobox"&&Jt!=="tags"&&warning(!1,"`onSearch` should work with `showSearch` instead of use alone."),noteOnce(!nt||Bt,"`defaultOpen` makes Select open without focus which means it will not close by click outside. You can set `autoFocus` if needed."),_t!=null){var mr=toArray(_t);warning(!It||mr.every(function(Nr){return _typeof(Nr)==="object"&&("key"in Nr||"value"in Nr)}),"`value` should in shape of `{ value: string | number, label?: ReactNode }` when you set `labelInValue` to `true`"),warning(!Vn||Array.isArray(_t),"`value` should be array when `mode` is `multiple` or `tags`")}if(Tt){var Er=null;toNodeArray(Tt).some(function(Nr){if(!React.isValidElement(Nr)||!Nr.type)return!1;var Yr=Nr,ro=Yr.type;if(ro.isSelectOption)return!1;if(ro.isSelectOptGroup){var oo=toNodeArray(Nr.props.children).every(function(ao){return!React.isValidElement(ao)||!Nr.type||ao.type.isSelectOption?!0:(Er=ao.type,!1)});return!oo}return Er=ro,!0}),Er&&warning(!1,"`children` should be `Select.Option` or `Select.OptGroup` instead of `".concat(Er.displayName||Er.name||Er,"`.")),warning(Ln===void 0,"`inputValue` is deprecated, please use `searchValue` instead.")}}function Gn(Ot,Jt){if(Ot){var vt=function Tt(Et){for(var Ht=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,ot=0;ot<Et.length;ot++){var Xt=Et[ot];if(Xt[Jt==null?void 0:Jt.value]===null)return warning(!1,"`value` in Select options should not be `null`."),!0;if(!Ht&&Array.isArray(Xt[Jt==null?void 0:Jt.options])&&Tt(Xt[Jt==null?void 0:Jt.options],!0))break}};vt(Ot)}}var Qn=null,nr=["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 Ir(Ot){return!Ot||(0,ye.Z)(Ot)!=="object"}var Bn=se.forwardRef(function(Ot,Jt){var vt=Ot.id,Tt=Ot.mode,Et=Ot.prefixCls,Ht=Et===void 0?"rc-select":Et,ot=Ot.backfill,Xt=Ot.fieldNames,nn=Ot.inputValue,Kt=Ot.searchValue,nt=Ot.onSearch,Bt=Ot.autoClearSearchValue,It=Bt===void 0?!0:Bt,_t=Ot.onSelect,Ln=Ot.onDeselect,zn=Ot.dropdownMatchSelectWidth,Vn=zn===void 0?!0:zn,Or=Ot.filterOption,Hr=Ot.filterSort,to=Ot.optionFilterProp,mr=Ot.optionLabelProp,Er=Ot.options,Nr=Ot.optionRender,Yr=Ot.children,ro=Ot.defaultActiveFirstOption,oo=Ot.menuItemSelectedIcon,ao=Ot.virtual,Lr=Ot.direction,eo=Ot.listHeight,$r=eo===void 0?200:eo,Wo=Ot.listItemHeight,Vo=Wo===void 0?20:Wo,ir=Ot.labelRender,Ro=Ot.value,ei=Ot.defaultValue,yo=Ot.labelInValue,Zo=Ot.onChange,vo=Ot.maxCount,ui=(0,De.Z)(Ot,nr),yi=(0,zt.ZP)(vt),$o=yn(Tt),pi=!!(!Er&&Yr),ki=se.useMemo(function(){return Or===void 0&&Tt==="combobox"?!1:Or},[Or,Tt]),Ci=se.useMemo(function(){return et(Xt,pi)},[JSON.stringify(Xt),pi]),Oi=(0,ze.Z)("",{value:Kt!==void 0?Kt:nn,postState:function(Ei){return Ei||""}}),No=(0,be.Z)(Oi,2),Je=No[0],hn=No[1],Mt=_n(Er,Yr,Ci,to,mr),bn=Mt.valueOptions,er=Mt.labelOptions,Rn=Mt.options,Nn=se.useCallback(function(qo){var Ei=Xe(qo);return Ei.map(function(Qo){var di,zi,$i,ko,Gi;if(Ir(Qo))di=Qo;else{var gr;$i=Qo.key,zi=Qo.label,di=(gr=Qo.value)!==null&&gr!==void 0?gr:$i}var Qr=bn.get(di);if(Qr){var Yo;if(zi===void 0&&(zi=Qr==null?void 0:Qr[mr||Ci.label]),$i===void 0&&($i=(Yo=Qr==null?void 0:Qr.key)!==null&&Yo!==void 0?Yo:di),ko=Qr==null?void 0:Qr.disabled,Gi=Qr==null?void 0:Qr.title,0)var Zi}return{label:zi,value:di,key:$i,disabled:ko,title:Gi}})},[Ci,mr,bn]),yr=(0,ze.Z)(ei,{value:Ro}),Zn=(0,be.Z)(yr,2),Hn=Zn[0],or=Zn[1],kr=se.useMemo(function(){var qo,Ei=$o&&Hn===null?[]:Hn,Qo=Nn(Ei);return Tt==="combobox"&&Be((qo=Qo[0])===null||qo===void 0?void 0:qo.value)?[]:Qo},[Hn,Nn,Tt,$o]),wo=sr(kr,bn),ci=(0,be.Z)(wo,2),ii=ci[0],oi=ci[1],vi=se.useMemo(function(){if(!Tt&&ii.length===1){var qo=ii[0];if(qo.value===null&&(qo.label===null||qo.label===void 0))return[]}return ii.map(function(Ei){var Qo;return(0,je.Z)((0,je.Z)({},Ei),{},{label:(Qo=typeof ir=="function"?ir(Ei):Ei.label)!==null&&Qo!==void 0?Qo:Ei.value})})},[Tt,ii,ir]),mi=se.useMemo(function(){return new Set(ii.map(function(qo){return qo.value}))},[ii]);se.useEffect(function(){if(Tt==="combobox"){var qo,Ei=(qo=ii[0])===null||qo===void 0?void 0:qo.value;hn(We(Ei)?String(Ei):"")}},[ii]);var Li=$n(function(qo,Ei){var Qo=Ei!=null?Ei:qo;return(0,he.Z)((0,he.Z)({},Ci.value,qo),Ci.label,Qo)}),Bi=se.useMemo(function(){if(Tt!=="tags")return Rn;var qo=(0,xe.Z)(Rn),Ei=function(di){return bn.has(di)};return(0,xe.Z)(ii).sort(function(Qo,di){return Qo.value<di.value?-1:1}).forEach(function(Qo){var di=Qo.value;Ei(di)||qo.push(Li(di,Qo.label))}),qo},[Li,Rn,bn,ii,Tt]),Ti=Jn(Bi,Ci,Je,ki,to),Ki=se.useMemo(function(){return Tt!=="tags"||!Je||Ti.some(function(qo){return qo[to||"value"]===Je})||Ti.some(function(qo){return qo[Ci.value]===Je})?Ti:[Li(Je)].concat((0,xe.Z)(Ti))},[Li,to,Tt,Ti,Je,Ci]),sa=function qo(Ei){var Qo=(0,xe.Z)(Ei).sort(function(di,zi){return Hr(di,zi,{searchValue:Je})});return Qo.map(function(di){return Array.isArray(di.options)?(0,je.Z)((0,je.Z)({},di),{},{options:di.options.length>0?qo(di.options):di.options}):di})},fa=se.useMemo(function(){return Hr?sa(Ki):Ki},[Ki,Hr,Je]),wa=se.useMemo(function(){return tt(fa,{fieldNames:Ci,childrenAsData:pi})},[fa,Ci,pi]),ha=function(Ei){var Qo=Nn(Ei);if(or(Qo),Zo&&(Qo.length!==ii.length||Qo.some(function($i,ko){var Gi;return((Gi=ii[ko])===null||Gi===void 0?void 0:Gi.value)!==($i==null?void 0:$i.value)}))){var di=yo?Qo:Qo.map(function($i){return $i.value}),zi=Qo.map(function($i){return dt(oi($i.value))});Zo($o?di:di[0],$o?zi:zi[0])}},Ao=se.useState(null),Do=(0,be.Z)(Ao,2),Co=Do[0],Ji=Do[1],Uo=se.useState(0),Ho=(0,be.Z)(Uo,2),Mi=Ho[0],bi=Ho[1],hi=ro!==void 0?ro:Tt!=="combobox",_o=se.useCallback(function(qo,Ei){var Qo=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},di=Qo.source,zi=di===void 0?"keyboard":di;bi(Ei),ot&&Tt==="combobox"&&qo!==null&&zi==="keyboard"&&Ji(String(qo))},[ot,Tt]),Ma=function(Ei,Qo,di){var zi=function(){var ji,Sl=oi(Ei);return[yo?{label:Sl==null?void 0:Sl[Ci.label],value:Ei,key:(ji=Sl==null?void 0:Sl.key)!==null&&ji!==void 0?ji:Ei}:Ei,dt(Sl)]};if(Qo&&_t){var $i=zi(),ko=(0,be.Z)($i,2),Gi=ko[0],gr=ko[1];_t(Gi,gr)}else if(!Qo&&Ln&&di!=="clear"){var Qr=zi(),Yo=(0,be.Z)(Qr,2),Zi=Yo[0],Ba=Yo[1];Ln(Zi,Ba)}},Ha=$n(function(qo,Ei){var Qo,di=$o?Ei.selected:!0;di?Qo=$o?[].concat((0,xe.Z)(ii),[qo]):[qo]:Qo=ii.filter(function(zi){return zi.value!==qo}),ha(Qo),Ma(qo,di),Tt==="combobox"?Ji(""):(!yn||It)&&(hn(""),Ji(""))}),Aa=function(Ei,Qo){ha(Ei);var di=Qo.type,zi=Qo.values;(di==="remove"||di==="clear")&&zi.forEach(function($i){Ma($i.value,!1,di)})},ra=function(Ei,Qo){if(hn(Ei),Ji(null),Qo.source==="submit"){var di=(Ei||"").trim();if(di){var zi=Array.from(new Set([].concat((0,xe.Z)(mi),[di])));ha(zi),Ma(di,!0),hn("")}return}Qo.source!=="blur"&&(Tt==="combobox"&&ha(Ei),nt==null||nt(Ei))},El=function(Ei){var Qo=Ei;Tt!=="tags"&&(Qo=Ei.map(function(zi){var $i=er.get(zi);return $i==null?void 0:$i.value}).filter(function(zi){return zi!==void 0}));var di=Array.from(new Set([].concat((0,xe.Z)(mi),(0,xe.Z)(Qo))));ha(di),di.forEach(function(zi){Ma(zi,!0)})},qa=se.useMemo(function(){var qo=ao!==!1&&Vn!==!1;return(0,je.Z)((0,je.Z)({},Mt),{},{flattenOptions:wa,onActiveValue:_o,defaultActiveFirstOption:hi,onSelect:Ha,menuItemSelectedIcon:oo,rawValues:mi,fieldNames:Ci,virtual:qo,direction:Lr,listHeight:$r,listItemHeight:Vo,childrenAsData:pi,maxCount:vo,optionRender:Nr})},[vo,Mt,wa,_o,hi,Ha,oo,mi,Ci,ao,Vn,Lr,$r,Vo,pi,Nr]);return se.createElement(_e.Provider,{value:qa},se.createElement(Vt,(0,y.Z)({},ui,{id:yi,prefixCls:Ht,ref:Jt,omitDomProps:Rr,mode:Tt,displayValues:vi,onDisplayValuesChange:Aa,direction:Lr,searchValue:Je,onSearch:ra,autoClearSearchValue:It,onSearchSplit:El,dropdownMatchSelectWidth:Vn,OptionList:rr,emptyOptions:!wa.length,activeValue:Co,activeDescendantId:"".concat(yi,"_list_").concat(Mi)})))}),Mn=Bn;Mn.Option=Lt,Mn.OptGroup=sn;var ur=Mn,dr=ur},22711:function(dn,yt,E){"use strict";E.r(yt),E.d(yt,{ResizableTextArea:function(){return Pe},default:function(){return qe}});var y=E(54476),xe=E(20068),he=E(33885),je=E(94480),be=E(42978),De=E(75931),ye=E(92310),ze=E.n(ye),we=E(36901),se=E(66003),Ye=E(30292),fe=E(18929),ke=E(59301),Ae=E(76190),Ce=E(29301),me=E(34280),ue=E(16089),Me=`
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;
`,Ze=["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"],Qe={},oe;function Fe(Xe){var Ct=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,Yt=Xe.getAttribute("id")||Xe.getAttribute("data-reactid")||Xe.getAttribute("name");if(Ct&&Qe[Yt])return Qe[Yt];var We=window.getComputedStyle(Xe),Be=We.getPropertyValue("box-sizing")||We.getPropertyValue("-moz-box-sizing")||We.getPropertyValue("-webkit-box-sizing"),Dt=parseFloat(We.getPropertyValue("padding-bottom"))+parseFloat(We.getPropertyValue("padding-top")),Zt=parseFloat(We.getPropertyValue("border-bottom-width"))+parseFloat(We.getPropertyValue("border-top-width")),lt=Ze.map(function(Re){return"".concat(Re,":").concat(We.getPropertyValue(Re))}).join(";"),Se={sizingStyle:lt,paddingSize:Dt,borderSize:Zt,boxSizing:Be};return Ct&&Yt&&(Qe[Yt]=Se),Se}function rt(Xe){var Ct=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,Yt=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null,We=arguments.length>3&&arguments[3]!==void 0?arguments[3]:null;oe||(oe=document.createElement("textarea"),oe.setAttribute("tab-index","-1"),oe.setAttribute("aria-hidden","true"),oe.setAttribute("name","hiddenTextarea"),document.body.appendChild(oe)),Xe.getAttribute("wrap")?oe.setAttribute("wrap",Xe.getAttribute("wrap")):oe.removeAttribute("wrap");var Be=Fe(Xe,Ct),Dt=Be.paddingSize,Zt=Be.borderSize,lt=Be.boxSizing,Se=Be.sizingStyle;oe.setAttribute("style","".concat(Se,";").concat(Me)),oe.value=Xe.value||Xe.placeholder||"";var Re=void 0,at=void 0,jt,ft=oe.scrollHeight;if(lt==="border-box"?ft+=Zt:lt==="content-box"&&(ft-=Dt),Yt!==null||We!==null){oe.value=" ";var Wt=oe.scrollHeight-Dt;Yt!==null&&(Re=Wt*Yt,lt==="border-box"&&(Re=Re+Dt+Zt),ft=Math.max(Re,ft)),We!==null&&(at=Wt*We,lt==="border-box"&&(at=at+Dt+Zt),jt=ft>at?"":"hidden",ft=Math.min(at,ft))}var xt={height:ft,overflowY:jt,resize:"none"};return Re&&(xt.minHeight=Re),at&&(xt.maxHeight=at),xt}var Ne=["prefixCls","defaultValue","value","autoSize","onResize","className","style","disabled","onChange","onInternalAutoSize"],Ge=0,ge=1,Oe=2,Ve=ke.forwardRef(function(Xe,Ct){var Yt=Xe,We=Yt.prefixCls,Be=Yt.defaultValue,Dt=Yt.value,Zt=Yt.autoSize,lt=Yt.onResize,Se=Yt.className,Re=Yt.style,at=Yt.disabled,jt=Yt.onChange,ft=Yt.onInternalAutoSize,Wt=(0,De.Z)(Yt,Ne),xt=(0,fe.Z)(Be,{value:Dt,postState:function(Lt){return Lt!=null?Lt:""}}),$t=(0,be.Z)(xt,2),Rt=$t[0],ce=$t[1],ne=function(Lt){ce(Lt.target.value),jt==null||jt(Lt)},te=ke.useRef();ke.useImperativeHandle(Ct,function(){return{textArea:te.current}});var le=ke.useMemo(function(){return Zt&&(0,Ae.Z)(Zt)==="object"?[Zt.minRows,Zt.maxRows]:[]},[Zt]),ve=(0,be.Z)(le,2),re=ve[0],de=ve[1],Ue=!!Zt,pt=function(){try{if(document.activeElement===te.current){var Lt=te.current,un=Lt.selectionStart,Cn=Lt.selectionEnd,ut=Lt.scrollTop;te.current.setSelectionRange(un,Cn),te.current.scrollTop=ut}}catch(kt){}},et=ke.useState(Oe),tt=(0,be.Z)(et,2),dt=tt[0],gt=tt[1],St=ke.useState(),_e=(0,be.Z)(St,2),st=_e[0],en=_e[1],Ut=function(){gt(Ge)};(0,me.Z)(function(){Ue&&Ut()},[Dt,re,de,Ue]),(0,me.Z)(function(){if(dt===Ge)gt(ge);else if(dt===ge){var bt=rt(te.current,!1,re,de);gt(Oe),en(bt)}else pt()},[dt]);var yn=ke.useRef(),tn=function(){ue.Z.cancel(yn.current)},Vt=function(Lt){dt===Oe&&(lt==null||lt(Lt),Zt&&(tn(),yn.current=(0,ue.Z)(function(){Ut()})))};ke.useEffect(function(){return tn},[]);var Qt=Ue?st:null,sn=(0,he.Z)((0,he.Z)({},Re),Qt);return(dt===Ge||dt===ge)&&(sn.overflowY="hidden",sn.overflowX="hidden"),ke.createElement(Ce.Z,{onResize:Vt,disabled:!(Zt||lt)},ke.createElement("textarea",(0,y.Z)({},Wt,{ref:te,style:sn,className:ze()(We,Se,(0,xe.Z)({},"".concat(We,"-disabled"),at)),disabled:at,value:Rt,onChange:ne})))}),Pe=Ve,it=["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"],Le=ke.forwardRef(function(Xe,Ct){var Yt,We=Xe.defaultValue,Be=Xe.value,Dt=Xe.onFocus,Zt=Xe.onBlur,lt=Xe.onChange,Se=Xe.allowClear,Re=Xe.maxLength,at=Xe.onCompositionStart,jt=Xe.onCompositionEnd,ft=Xe.suffix,Wt=Xe.prefixCls,xt=Wt===void 0?"rc-textarea":Wt,$t=Xe.showCount,Rt=Xe.count,ce=Xe.className,ne=Xe.style,te=Xe.disabled,le=Xe.hidden,ve=Xe.classNames,re=Xe.styles,de=Xe.onResize,Ue=Xe.onClear,pt=Xe.onPressEnter,et=Xe.readOnly,tt=Xe.autoSize,dt=Xe.onKeyDown,gt=(0,De.Z)(Xe,it),St=(0,fe.Z)(We,{value:Be,defaultValue:We}),_e=(0,be.Z)(St,2),st=_e[0],en=_e[1],Ut=st==null?"":String(st),yn=ke.useState(!1),tn=(0,be.Z)(yn,2),Vt=tn[0],Qt=tn[1],sn=ke.useRef(!1),bt=ke.useState(null),Lt=(0,be.Z)(bt,2),un=Lt[0],Cn=Lt[1],ut=(0,ke.useRef)(null),kt=(0,ke.useRef)(null),wt=function(){var Mn;return(Mn=kt.current)===null||Mn===void 0?void 0:Mn.textArea},cn=function(){wt().focus()};(0,ke.useImperativeHandle)(Ct,function(){var Bn;return{resizableTextArea:kt.current,focus:cn,blur:function(){wt().blur()},nativeElement:((Bn=ut.current)===null||Bn===void 0?void 0:Bn.nativeElement)||wt()}}),(0,ke.useEffect)(function(){Qt(function(Bn){return!te&&Bn})},[te]);var An=ke.useState(null),Kn=(0,be.Z)(An,2),rr=Kn[0],sr=Kn[1];ke.useEffect(function(){if(rr){var Bn;(Bn=wt()).setSelectionRange.apply(Bn,(0,je.Z)(rr))}},[rr]);var kn=(0,se.Z)(Rt,$t),Jn=(Yt=kn.max)!==null&&Yt!==void 0?Yt:Re,zt=Number(Jn)>0,mn=kn.strategy(Ut),an=!!Jn&&mn>Jn,ln=function(Mn,ur){var dr=ur;!sn.current&&kn.exceedFormatter&&kn.max&&kn.strategy(ur)>kn.max&&(dr=kn.exceedFormatter(ur,{max:kn.max}),ur!==dr&&sr([wt().selectionStart||0,wt().selectionEnd||0])),en(dr),(0,Ye.rJ)(Mn.currentTarget,Mn,lt,dr)},qt=function(Mn){sn.current=!0,at==null||at(Mn)},xn=function(Mn){sn.current=!1,ln(Mn,Mn.currentTarget.value),jt==null||jt(Mn)},En=function(Mn){ln(Mn,Mn.target.value)},_n=function(Mn){Mn.key==="Enter"&&pt&&pt(Mn),dt==null||dt(Mn)},$n=function(Mn){Qt(!0),Dt==null||Dt(Mn)},Yn=function(Mn){Qt(!1),Zt==null||Zt(Mn)},Gn=function(Mn){en(""),cn(),(0,Ye.rJ)(wt(),Mn,lt)},Qn=ft,nr;kn.show&&(kn.showFormatter?nr=kn.showFormatter({value:Ut,count:mn,maxLength:Jn}):nr="".concat(mn).concat(zt?" / ".concat(Jn):""),Qn=ke.createElement(ke.Fragment,null,Qn,ke.createElement("span",{className:ze()("".concat(xt,"-data-count"),ve==null?void 0:ve.count),style:re==null?void 0:re.count},nr)));var Rr=function(Mn){var ur;de==null||de(Mn),(ur=wt())!==null&&ur!==void 0&&ur.style.height&&Cn(!0)},Ir=!tt&&!$t&&!Se;return ke.createElement(we.BaseInput,{ref:ut,value:Ut,allowClear:Se,handleReset:Gn,suffix:Qn,prefixCls:xt,classNames:(0,he.Z)((0,he.Z)({},ve),{},{affixWrapper:ze()(ve==null?void 0:ve.affixWrapper,(0,xe.Z)((0,xe.Z)({},"".concat(xt,"-show-count"),$t),"".concat(xt,"-textarea-allow-clear"),Se))}),disabled:te,focused:Vt,className:ze()(ce,an&&"".concat(xt,"-out-of-range")),style:(0,he.Z)((0,he.Z)({},ne),un&&!Ir?{height:"auto"}:{}),dataAttrs:{affixWrapper:{"data-count":typeof nr=="string"?nr:void 0}},hidden:le,readOnly:et,onClear:Ue},ke.createElement(Pe,(0,y.Z)({},gt,{autoSize:tt,maxLength:Re,onKeyDown:_n,onChange:En,onFocus:$n,onBlur:Yn,onCompositionStart:qt,onCompositionEnd:xn,className:ze()(ve==null?void 0:ve.textarea),style:(0,he.Z)((0,he.Z)({},re==null?void 0:re.textarea),{},{resize:ne==null?void 0:ne.resize}),disabled:te,prefixCls:xt,onResize:Rr,ref:kt,readOnly:et})))}),pe=Le,qe=pe},639:function(dn,yt,E){"use strict";E.d(yt,{Z:function(){return Qe}});var y=E(54476),xe=E(20068),he=E(33885),je=E(42978),be=E(75931),De=E(59301),ye=E(92310),ze=E.n(ye),we=E(26112),se=E(30699),Ye=function(Fe){for(var rt=Fe.prefixCls,Ne=Fe.level,Ge=Fe.isStart,ge=Fe.isEnd,Oe="".concat(rt,"-indent-unit"),Ve=[],Pe=0;Pe<Ne;Pe+=1)Ve.push(De.createElement("span",{key:Pe,className:ze()(Oe,(0,xe.Z)((0,xe.Z)({},"".concat(Oe,"-start"),Ge[Pe]),"".concat(Oe,"-end"),ge[Pe]))}));return De.createElement("span",{"aria-hidden":"true",className:"".concat(rt,"-indent")},Ve)},fe=De.memo(Ye),ke=E(65065),Ae=E(34061),Ce=["eventKey","className","style","dragOver","dragOverGapTop","dragOverGapBottom","isLeaf","isStart","isEnd","expanded","selected","checked","halfChecked","loading","domRef","active","data","onMouseMove","selectable"],me="open",ue="close",Me="---",Ze=function(Fe){var rt,Ne,Ge,ge=Fe.eventKey,Oe=Fe.className,Ve=Fe.style,Pe=Fe.dragOver,it=Fe.dragOverGapTop,Le=Fe.dragOverGapBottom,pe=Fe.isLeaf,qe=Fe.isStart,Xe=Fe.isEnd,Ct=Fe.expanded,Yt=Fe.selected,We=Fe.checked,Be=Fe.halfChecked,Dt=Fe.loading,Zt=Fe.domRef,lt=Fe.active,Se=Fe.data,Re=Fe.onMouseMove,at=Fe.selectable,jt=(0,be.Z)(Fe,Ce),ft=De.useContext(se.k),Wt=De.useContext(se.y),xt=De.useRef(null),$t=De.useState(!1),Rt=(0,je.Z)($t,2),ce=Rt[0],ne=Rt[1],te=!!(ft.disabled||Fe.disabled||(rt=Wt.nodeDisabled)!==null&&rt!==void 0&&rt.call(Wt,Se)),le=De.useMemo(function(){return!ft.checkable||Fe.checkable===!1?!1:ft.checkable},[ft.checkable,Fe.checkable]),ve=function(mn){te||ft.onNodeSelect(mn,(0,Ae.F)(Fe))},re=function(mn){te||!le||Fe.disableCheckbox||ft.onNodeCheck(mn,(0,Ae.F)(Fe),!We)},de=De.useMemo(function(){return typeof at=="boolean"?at:ft.selectable},[at,ft.selectable]),Ue=function(mn){ft.onNodeClick(mn,(0,Ae.F)(Fe)),de?ve(mn):re(mn)},pt=function(mn){ft.onNodeDoubleClick(mn,(0,Ae.F)(Fe))},et=function(mn){ft.onNodeMouseEnter(mn,(0,Ae.F)(Fe))},tt=function(mn){ft.onNodeMouseLeave(mn,(0,Ae.F)(Fe))},dt=function(mn){ft.onNodeContextMenu(mn,(0,Ae.F)(Fe))},gt=De.useMemo(function(){return!!(ft.draggable&&(!ft.draggable.nodeDraggable||ft.draggable.nodeDraggable(Se)))},[ft.draggable,Se]),St=function(mn){mn.stopPropagation(),ne(!0),ft.onNodeDragStart(mn,Fe);try{mn.dataTransfer.setData("text/plain","")}catch(an){}},_e=function(mn){mn.preventDefault(),mn.stopPropagation(),ft.onNodeDragEnter(mn,Fe)},st=function(mn){mn.preventDefault(),mn.stopPropagation(),ft.onNodeDragOver(mn,Fe)},en=function(mn){mn.stopPropagation(),ft.onNodeDragLeave(mn,Fe)},Ut=function(mn){mn.stopPropagation(),ne(!1),ft.onNodeDragEnd(mn,Fe)},yn=function(mn){mn.preventDefault(),mn.stopPropagation(),ne(!1),ft.onNodeDrop(mn,Fe)},tn=function(mn){Dt||ft.onNodeExpand(mn,(0,Ae.F)(Fe))},Vt=De.useMemo(function(){var zt=(0,ke.Z)(ft.keyEntities,ge)||{},mn=zt.children;return!!(mn||[]).length},[ft.keyEntities,ge]),Qt=De.useMemo(function(){return pe===!1?!1:pe||!ft.loadData&&!Vt||ft.loadData&&Fe.loaded&&!Vt},[pe,ft.loadData,Vt,Fe.loaded]);De.useEffect(function(){Dt||typeof ft.loadData=="function"&&Ct&&!Qt&&!Fe.loaded&&ft.onNodeLoad((0,Ae.F)(Fe))},[Dt,ft.loadData,ft.onNodeLoad,Ct,Qt,Fe]);var sn=De.useMemo(function(){var zt;return(zt=ft.draggable)!==null&&zt!==void 0&&zt.icon?De.createElement("span",{className:"".concat(ft.prefixCls,"-draggable-icon")},ft.draggable.icon):null},[ft.draggable]),bt=function(mn){var an=Fe.switcherIcon||ft.switcherIcon;return typeof an=="function"?an((0,he.Z)((0,he.Z)({},Fe),{},{isLeaf:mn})):an},Lt=function(){if(Qt){var mn=bt(!0);return mn!==!1?De.createElement("span",{className:ze()("".concat(ft.prefixCls,"-switcher"),"".concat(ft.prefixCls,"-switcher-noop"))},mn):null}var an=bt(!1);return an!==!1?De.createElement("span",{onClick:tn,className:ze()("".concat(ft.prefixCls,"-switcher"),"".concat(ft.prefixCls,"-switcher_").concat(Ct?me:ue))},an):null},un=De.useMemo(function(){if(!le)return null;var zt=typeof le!="boolean"?le:null;return De.createElement("span",{className:ze()("".concat(ft.prefixCls,"-checkbox"),(0,xe.Z)((0,xe.Z)((0,xe.Z)({},"".concat(ft.prefixCls,"-checkbox-checked"),We),"".concat(ft.prefixCls,"-checkbox-indeterminate"),!We&&Be),"".concat(ft.prefixCls,"-checkbox-disabled"),te||Fe.disableCheckbox)),onClick:re,role:"checkbox","aria-checked":Be?"mixed":We,"aria-disabled":te||Fe.disableCheckbox,"aria-label":"Select ".concat(typeof Fe.title=="string"?Fe.title:"tree node")},zt)},[le,We,Be,te,Fe.disableCheckbox,Fe.title]),Cn=De.useMemo(function(){return Qt?null:Ct?me:ue},[Qt,Ct]),ut=De.useMemo(function(){return De.createElement("span",{className:ze()("".concat(ft.prefixCls,"-iconEle"),"".concat(ft.prefixCls,"-icon__").concat(Cn||"docu"),(0,xe.Z)({},"".concat(ft.prefixCls,"-icon_loading"),Dt))})},[ft.prefixCls,Cn,Dt]),kt=De.useMemo(function(){var zt=!!ft.draggable,mn=!Fe.disabled&&zt&&ft.dragOverNodeKey===ge;return mn?ft.dropIndicatorRender({dropPosition:ft.dropPosition,dropLevelOffset:ft.dropLevelOffset,indent:ft.indent,prefixCls:ft.prefixCls,direction:ft.direction}):null},[ft.dropPosition,ft.dropLevelOffset,ft.indent,ft.prefixCls,ft.direction,ft.draggable,ft.dragOverNodeKey,ft.dropIndicatorRender]),wt=De.useMemo(function(){var zt=Fe.title,mn=zt===void 0?Me:zt,an="".concat(ft.prefixCls,"-node-content-wrapper"),ln;if(ft.showIcon){var qt=Fe.icon||ft.icon;ln=qt?De.createElement("span",{className:ze()("".concat(ft.prefixCls,"-iconEle"),"".concat(ft.prefixCls,"-icon__customize"))},typeof qt=="function"?qt(Fe):qt):ut}else ft.loadData&&Dt&&(ln=ut);var xn;return typeof mn=="function"?xn=mn(Se):ft.titleRender?xn=ft.titleRender(Se):xn=mn,De.createElement("span",{ref:xt,title:typeof mn=="string"?mn:"",className:ze()(an,"".concat(an,"-").concat(Cn||"normal"),(0,xe.Z)({},"".concat(ft.prefixCls,"-node-selected"),!te&&(Yt||ce))),onMouseEnter:et,onMouseLeave:tt,onContextMenu:dt,onClick:Ue,onDoubleClick:pt},ln,De.createElement("span",{className:"".concat(ft.prefixCls,"-title")},xn),kt)},[ft.prefixCls,ft.showIcon,Fe,ft.icon,ut,ft.titleRender,Se,Cn,et,tt,dt,Ue,pt]),cn=(0,we.Z)(jt,{aria:!0,data:!0}),An=(0,ke.Z)(ft.keyEntities,ge)||{},Kn=An.level,rr=Xe[Xe.length-1],sr=!te&&gt,kn=ft.draggingNodeKey===ge,Jn=at!==void 0?{"aria-selected":!!at}:void 0;return De.createElement("div",(0,y.Z)({ref:Zt,role:"treeitem","aria-expanded":pe?void 0:Ct,className:ze()(Oe,"".concat(ft.prefixCls,"-treenode"),(Ge={},(0,xe.Z)((0,xe.Z)((0,xe.Z)((0,xe.Z)((0,xe.Z)((0,xe.Z)((0,xe.Z)((0,xe.Z)((0,xe.Z)((0,xe.Z)(Ge,"".concat(ft.prefixCls,"-treenode-disabled"),te),"".concat(ft.prefixCls,"-treenode-switcher-").concat(Ct?"open":"close"),!pe),"".concat(ft.prefixCls,"-treenode-checkbox-checked"),We),"".concat(ft.prefixCls,"-treenode-checkbox-indeterminate"),Be),"".concat(ft.prefixCls,"-treenode-selected"),Yt),"".concat(ft.prefixCls,"-treenode-loading"),Dt),"".concat(ft.prefixCls,"-treenode-active"),lt),"".concat(ft.prefixCls,"-treenode-leaf-last"),rr),"".concat(ft.prefixCls,"-treenode-draggable"),gt),"dragging",kn),(0,xe.Z)((0,xe.Z)((0,xe.Z)((0,xe.Z)((0,xe.Z)((0,xe.Z)((0,xe.Z)(Ge,"drop-target",ft.dropTargetKey===ge),"drop-container",ft.dropContainerKey===ge),"drag-over",!te&&Pe),"drag-over-gap-top",!te&&it),"drag-over-gap-bottom",!te&&Le),"filter-node",(Ne=ft.filterTreeNode)===null||Ne===void 0?void 0:Ne.call(ft,(0,Ae.F)(Fe))),"".concat(ft.prefixCls,"-treenode-leaf"),Qt))),style:Ve,draggable:sr,onDragStart:sr?St:void 0,onDragEnter:gt?_e:void 0,onDragOver:gt?st:void 0,onDragLeave:gt?en:void 0,onDrop:gt?yn:void 0,onDragEnd:gt?Ut:void 0,onMouseMove:Re},Jn,cn),De.createElement(fe,{prefixCls:ft.prefixCls,level:Kn,isStart:qe,isEnd:Xe}),sn,Lt(),un,wt)};Ze.isTreeNode=1;var Qe=Ze},30699:function(dn,yt,E){"use strict";E.d(yt,{k:function(){return xe},y:function(){return he}});var y=E(59301),xe=y.createContext(null),he=y.createContext({})},3741:function(dn,yt,E){"use strict";E.d(yt,{OF:function(){return ge.Z},y6:function(){return ue.y},ZP:function(){return te}});var y=E(54476),xe=E(76190),he=E(33885),je=E(94480),be=E(67732),De=E(83652),ye=E(31226),ze=E(42403),we=E(158),se=E(20068),Ye=E(92310),fe=E.n(Ye),ke=E(10228),Ae=E(26112),Ce=E(48736),me=E(59301),ue=E(30699),Me=function(ve){var re=ve.dropPosition,de=ve.dropLevelOffset,Ue=ve.indent,pt={pointerEvents:"none",position:"absolute",right:0,backgroundColor:"red",height:2};switch(re){case-1:pt.top=0,pt.left=-de*Ue;break;case 1:pt.bottom=0,pt.left=-de*Ue;break;case 0:pt.bottom=0,pt.left=Ue;break}return me.createElement("div",{style:pt})},Ze=Me;function Qe(le){if(le==null)throw new TypeError("Cannot destructure "+le)}var oe=E(42978),Fe=E(75931),rt=E(34280),Ne=E(48911),Ge=E(77900),ge=E(639);function Oe(le,ve){var re=me.useState(!1),de=(0,oe.Z)(re,2),Ue=de[0],pt=de[1];(0,rt.Z)(function(){if(Ue)return le(),function(){ve()}},[Ue]),(0,rt.Z)(function(){return pt(!0),function(){pt(!1)}},[])}var Ve=Oe,Pe=E(34061),it=["className","style","motion","motionNodes","motionType","onMotionStart","onMotionEnd","active","treeNodeRequiredProps"],Le=me.forwardRef(function(le,ve){var re=le.className,de=le.style,Ue=le.motion,pt=le.motionNodes,et=le.motionType,tt=le.onMotionStart,dt=le.onMotionEnd,gt=le.active,St=le.treeNodeRequiredProps,_e=(0,Fe.Z)(le,it),st=me.useState(!0),en=(0,oe.Z)(st,2),Ut=en[0],yn=en[1],tn=me.useContext(ue.k),Vt=tn.prefixCls,Qt=pt&&et!=="hide";(0,rt.Z)(function(){pt&&Qt!==Ut&&yn(Qt)},[pt]);var sn=function(){pt&&tt()},bt=me.useRef(!1),Lt=function(){pt&&!bt.current&&(bt.current=!0,dt())};Ve(sn,Lt);var un=function(ut){Qt===ut&&Lt()};return pt?me.createElement(Ge.default,(0,y.Z)({ref:ve,visible:Ut},Ue,{motionAppear:et==="show",onVisibleChanged:un}),function(Cn,ut){var kt=Cn.className,wt=Cn.style;return me.createElement("div",{ref:ut,className:fe()("".concat(Vt,"-treenode-motion"),kt),style:wt},pt.map(function(cn){var An=Object.assign({},(Qe(cn.data),cn.data)),Kn=cn.title,rr=cn.key,sr=cn.isStart,kn=cn.isEnd;delete An.children;var Jn=(0,Pe.H8)(rr,St);return me.createElement(ge.Z,(0,y.Z)({},An,Jn,{title:Kn,active:gt,data:cn.data,key:rr,isStart:sr,isEnd:kn}))}))}):me.createElement(ge.Z,(0,y.Z)({domRef:ve,className:re,style:de},_e,{active:gt}))}),pe=Le;function qe(){var le=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],ve=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],re=le.length,de=ve.length;if(Math.abs(re-de)!==1)return{add:!1,key:null};function Ue(pt,et){var tt=new Map;pt.forEach(function(gt){tt.set(gt,!0)});var dt=et.filter(function(gt){return!tt.has(gt)});return dt.length===1?dt[0]:null}return re<de?{add:!0,key:Ue(le,ve)}:{add:!1,key:Ue(ve,le)}}function Xe(le,ve,re){var de=le.findIndex(function(tt){return tt.key===re}),Ue=le[de+1],pt=ve.findIndex(function(tt){return tt.key===re});if(Ue){var et=ve.findIndex(function(tt){return tt.key===Ue.key});return ve.slice(pt+1,et)}return ve.slice(pt+1)}var Ct=["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"],Yt={width:0,height:0,display:"flex",overflow:"hidden",opacity:0,border:0,padding:0,margin:0},We=function(){},Be="RC_TREE_MOTION_".concat(Math.random()),Dt={key:Be},Zt={key:Be,level:0,index:0,pos:"0",node:Dt,nodes:[Dt]},lt={parent:null,children:[],pos:Zt.pos,data:Dt,title:null,key:Be,isStart:[],isEnd:[]};function Se(le,ve,re,de){return ve===!1||!re?le:le.slice(0,Math.ceil(re/de)+1)}function Re(le){var ve=le.key,re=le.pos;return(0,Pe.km)(ve,re)}function at(le){for(var ve=String(le.data.key),re=le;re.parent;)re=re.parent,ve="".concat(re.data.key," > ").concat(ve);return ve}var jt=me.forwardRef(function(le,ve){var re=le.prefixCls,de=le.data,Ue=le.selectable,pt=le.checkable,et=le.expandedKeys,tt=le.selectedKeys,dt=le.checkedKeys,gt=le.loadedKeys,St=le.loadingKeys,_e=le.halfCheckedKeys,st=le.keyEntities,en=le.disabled,Ut=le.dragging,yn=le.dragOverNodeKey,tn=le.dropPosition,Vt=le.motion,Qt=le.height,sn=le.itemHeight,bt=le.virtual,Lt=le.scrollWidth,un=le.focusable,Cn=le.activeItem,ut=le.focused,kt=le.tabIndex,wt=le.onKeyDown,cn=le.onFocus,An=le.onBlur,Kn=le.onActiveChange,rr=le.onListChangeStart,sr=le.onListChangeEnd,kn=(0,Fe.Z)(le,Ct),Jn=me.useRef(null),zt=me.useRef(null);me.useImperativeHandle(ve,function(){return{scrollTo:function(Xt){Jn.current.scrollTo(Xt)},getIndentWidth:function(){return zt.current.offsetWidth}}});var mn=me.useState(et),an=(0,oe.Z)(mn,2),ln=an[0],qt=an[1],xn=me.useState(de),En=(0,oe.Z)(xn,2),_n=En[0],$n=En[1],Yn=me.useState(de),Gn=(0,oe.Z)(Yn,2),Qn=Gn[0],nr=Gn[1],Rr=me.useState([]),Ir=(0,oe.Z)(Rr,2),Bn=Ir[0],Mn=Ir[1],ur=me.useState(null),dr=(0,oe.Z)(ur,2),Ot=dr[0],Jt=dr[1],vt=me.useRef(de);vt.current=de;function Tt(){var ot=vt.current;$n(ot),nr(ot),Mn([]),Jt(null),sr()}(0,rt.Z)(function(){qt(et);var ot=qe(ln,et);if(ot.key!==null)if(ot.add){var Xt=_n.findIndex(function(_t){var Ln=_t.key;return Ln===ot.key}),nn=Se(Xe(_n,de,ot.key),bt,Qt,sn),Kt=_n.slice();Kt.splice(Xt+1,0,lt),nr(Kt),Mn(nn),Jt("show")}else{var nt=de.findIndex(function(_t){var Ln=_t.key;return Ln===ot.key}),Bt=Se(Xe(de,_n,ot.key),bt,Qt,sn),It=de.slice();It.splice(nt+1,0,lt),nr(It),Mn(Bt),Jt("hide")}else _n!==de&&($n(de),nr(de))},[et,de]),me.useEffect(function(){Ut||Tt()},[Ut]);var Et=Vt?Qn:de,Ht={expandedKeys:et,selectedKeys:tt,loadedKeys:gt,loadingKeys:St,checkedKeys:dt,halfCheckedKeys:_e,dragOverNodeKey:yn,dropPosition:tn,keyEntities:st};return me.createElement(me.Fragment,null,ut&&Cn&&me.createElement("span",{style:Yt,"aria-live":"assertive"},at(Cn)),me.createElement("div",null,me.createElement("input",{style:Yt,disabled:un===!1||en,tabIndex:un!==!1?kt:null,onKeyDown:wt,onFocus:cn,onBlur:An,value:"",onChange:We,"aria-label":"for screen reader"})),me.createElement("div",{className:"".concat(re,"-treenode"),"aria-hidden":!0,style:{position:"absolute",pointerEvents:"none",visibility:"hidden",height:0,overflow:"hidden",border:0,padding:0}},me.createElement("div",{className:"".concat(re,"-indent")},me.createElement("div",{ref:zt,className:"".concat(re,"-indent-unit")}))),me.createElement(Ne.Z,(0,y.Z)({},kn,{data:Et,itemKey:Re,height:Qt,fullHeight:!1,virtual:bt,itemHeight:sn,scrollWidth:Lt,prefixCls:"".concat(re,"-list"),ref:Jn,role:"tree",onVisibleChange:function(Xt){Xt.every(function(nn){return Re(nn)!==Be})&&Tt()}}),function(ot){var Xt=ot.pos,nn=Object.assign({},(Qe(ot.data),ot.data)),Kt=ot.title,nt=ot.key,Bt=ot.isStart,It=ot.isEnd,_t=(0,Pe.km)(nt,Xt);delete nn.key,delete nn.children;var Ln=(0,Pe.H8)(_t,Ht);return me.createElement(pe,(0,y.Z)({},nn,Ln,{title:Kt,active:!!Cn&&nt===Cn.key,pos:Xt,data:ot.data,isStart:Bt,isEnd:It,motion:Vt,motionNodes:nt===Be?Bn:null,motionType:Ot,onMotionStart:rr,onMotionEnd:Tt,treeNodeRequiredProps:Ht,onMouseMove:function(){Kn(null)}}))}))}),ft=jt,Wt=E(82661),xt=E(34643),$t=E(65065),Rt=10,ce=function(le){(0,ze.Z)(re,le);var ve=(0,we.Z)(re);function re(){var de;(0,be.Z)(this,re);for(var Ue=arguments.length,pt=new Array(Ue),et=0;et<Ue;et++)pt[et]=arguments[et];return de=ve.call.apply(ve,[this].concat(pt)),(0,se.Z)((0,ye.Z)(de),"destroyed",!1),(0,se.Z)((0,ye.Z)(de),"delayedDragEnterLogic",void 0),(0,se.Z)((0,ye.Z)(de),"loadingRetryTimes",{}),(0,se.Z)((0,ye.Z)(de),"state",{keyEntities:{},indent:null,selectedKeys:[],checkedKeys:[],halfCheckedKeys:[],loadedKeys:[],loadingKeys:[],expandedKeys:[],draggingNodeKey:null,dragChildrenKeys:[],dropTargetKey:null,dropPosition:null,dropContainerKey:null,dropLevelOffset:null,dropTargetPos:null,dropAllowed:!0,dragOverNodeKey:null,treeData:[],flattenNodes:[],focused:!1,activeKey:null,listChanging:!1,prevProps:null,fieldNames:(0,Pe.w$)()}),(0,se.Z)((0,ye.Z)(de),"dragStartMousePosition",null),(0,se.Z)((0,ye.Z)(de),"dragNodeProps",null),(0,se.Z)((0,ye.Z)(de),"currentMouseOverDroppableNodeKey",null),(0,se.Z)((0,ye.Z)(de),"listRef",me.createRef()),(0,se.Z)((0,ye.Z)(de),"onNodeDragStart",function(tt,dt){var gt=de.state,St=gt.expandedKeys,_e=gt.keyEntities,st=de.props.onDragStart,en=dt.eventKey;de.dragNodeProps=dt,de.dragStartMousePosition={x:tt.clientX,y:tt.clientY};var Ut=(0,Wt._5)(St,en);de.setState({draggingNodeKey:en,dragChildrenKeys:(0,Wt.wA)(en,_e),indent:de.listRef.current.getIndentWidth()}),de.setExpandedKeys(Ut),window.addEventListener("dragend",de.onWindowDragEnd),st==null||st({event:tt,node:(0,Pe.F)(dt)})}),(0,se.Z)((0,ye.Z)(de),"onNodeDragEnter",function(tt,dt){var gt=de.state,St=gt.expandedKeys,_e=gt.keyEntities,st=gt.dragChildrenKeys,en=gt.flattenNodes,Ut=gt.indent,yn=de.props,tn=yn.onDragEnter,Vt=yn.onExpand,Qt=yn.allowDrop,sn=yn.direction,bt=dt.pos,Lt=dt.eventKey;if(de.currentMouseOverDroppableNodeKey!==Lt&&(de.currentMouseOverDroppableNodeKey=Lt),!de.dragNodeProps){de.resetDragState();return}var un=(0,Wt.OM)(tt,de.dragNodeProps,dt,Ut,de.dragStartMousePosition,Qt,en,_e,St,sn),Cn=un.dropPosition,ut=un.dropLevelOffset,kt=un.dropTargetKey,wt=un.dropContainerKey,cn=un.dropTargetPos,An=un.dropAllowed,Kn=un.dragOverNodeKey;if(st.includes(kt)||!An){de.resetDragState();return}if(de.delayedDragEnterLogic||(de.delayedDragEnterLogic={}),Object.keys(de.delayedDragEnterLogic).forEach(function(rr){clearTimeout(de.delayedDragEnterLogic[rr])}),de.dragNodeProps.eventKey!==dt.eventKey&&(tt.persist(),de.delayedDragEnterLogic[bt]=window.setTimeout(function(){if(de.state.draggingNodeKey!==null){var rr=(0,je.Z)(St),sr=(0,$t.Z)(_e,dt.eventKey);sr&&(sr.children||[]).length&&(rr=(0,Wt.L0)(St,dt.eventKey)),de.props.hasOwnProperty("expandedKeys")||de.setExpandedKeys(rr),Vt==null||Vt(rr,{node:(0,Pe.F)(dt),expanded:!0,nativeEvent:tt.nativeEvent})}},800)),de.dragNodeProps.eventKey===kt&&ut===0){de.resetDragState();return}de.setState({dragOverNodeKey:Kn,dropPosition:Cn,dropLevelOffset:ut,dropTargetKey:kt,dropContainerKey:wt,dropTargetPos:cn,dropAllowed:An}),tn==null||tn({event:tt,node:(0,Pe.F)(dt),expandedKeys:St})}),(0,se.Z)((0,ye.Z)(de),"onNodeDragOver",function(tt,dt){var gt=de.state,St=gt.dragChildrenKeys,_e=gt.flattenNodes,st=gt.keyEntities,en=gt.expandedKeys,Ut=gt.indent,yn=de.props,tn=yn.onDragOver,Vt=yn.allowDrop,Qt=yn.direction;if(de.dragNodeProps){var sn=(0,Wt.OM)(tt,de.dragNodeProps,dt,Ut,de.dragStartMousePosition,Vt,_e,st,en,Qt),bt=sn.dropPosition,Lt=sn.dropLevelOffset,un=sn.dropTargetKey,Cn=sn.dropContainerKey,ut=sn.dropTargetPos,kt=sn.dropAllowed,wt=sn.dragOverNodeKey;St.includes(un)||!kt||(de.dragNodeProps.eventKey===un&&Lt===0?de.state.dropPosition===null&&de.state.dropLevelOffset===null&&de.state.dropTargetKey===null&&de.state.dropContainerKey===null&&de.state.dropTargetPos===null&&de.state.dropAllowed===!1&&de.state.dragOverNodeKey===null||de.resetDragState():bt===de.state.dropPosition&&Lt===de.state.dropLevelOffset&&un===de.state.dropTargetKey&&Cn===de.state.dropContainerKey&&ut===de.state.dropTargetPos&&kt===de.state.dropAllowed&&wt===de.state.dragOverNodeKey||de.setState({dropPosition:bt,dropLevelOffset:Lt,dropTargetKey:un,dropContainerKey:Cn,dropTargetPos:ut,dropAllowed:kt,dragOverNodeKey:wt}),tn==null||tn({event:tt,node:(0,Pe.F)(dt)}))}}),(0,se.Z)((0,ye.Z)(de),"onNodeDragLeave",function(tt,dt){de.currentMouseOverDroppableNodeKey===dt.eventKey&&!tt.currentTarget.contains(tt.relatedTarget)&&(de.resetDragState(),de.currentMouseOverDroppableNodeKey=null);var gt=de.props.onDragLeave;gt==null||gt({event:tt,node:(0,Pe.F)(dt)})}),(0,se.Z)((0,ye.Z)(de),"onWindowDragEnd",function(tt){de.onNodeDragEnd(tt,null,!0),window.removeEventListener("dragend",de.onWindowDragEnd)}),(0,se.Z)((0,ye.Z)(de),"onNodeDragEnd",function(tt,dt){var gt=de.props.onDragEnd;de.setState({dragOverNodeKey:null}),de.cleanDragState(),gt==null||gt({event:tt,node:(0,Pe.F)(dt)}),de.dragNodeProps=null,window.removeEventListener("dragend",de.onWindowDragEnd)}),(0,se.Z)((0,ye.Z)(de),"onNodeDrop",function(tt,dt){var gt,St=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1,_e=de.state,st=_e.dragChildrenKeys,en=_e.dropPosition,Ut=_e.dropTargetKey,yn=_e.dropTargetPos,tn=_e.dropAllowed;if(tn){var Vt=de.props.onDrop;if(de.setState({dragOverNodeKey:null}),de.cleanDragState(),Ut!==null){var Qt=(0,he.Z)((0,he.Z)({},(0,Pe.H8)(Ut,de.getTreeNodeRequiredProps())),{},{active:((gt=de.getActiveItem())===null||gt===void 0?void 0:gt.key)===Ut,data:(0,$t.Z)(de.state.keyEntities,Ut).node}),sn=st.includes(Ut);(0,Ce.ZP)(!sn,"Can not drop to dragNode's children node. This is a bug of rc-tree. Please report an issue.");var bt=(0,Wt.yx)(yn),Lt={event:tt,node:(0,Pe.F)(Qt),dragNode:de.dragNodeProps?(0,Pe.F)(de.dragNodeProps):null,dragNodesKeys:[de.dragNodeProps.eventKey].concat(st),dropToGap:en!==0,dropPosition:en+Number(bt[bt.length-1])};St||Vt==null||Vt(Lt),de.dragNodeProps=null}}}),(0,se.Z)((0,ye.Z)(de),"cleanDragState",function(){var tt=de.state.draggingNodeKey;tt!==null&&de.setState({draggingNodeKey:null,dropPosition:null,dropContainerKey:null,dropTargetKey:null,dropLevelOffset:null,dropAllowed:!0,dragOverNodeKey:null}),de.dragStartMousePosition=null,de.currentMouseOverDroppableNodeKey=null}),(0,se.Z)((0,ye.Z)(de),"triggerExpandActionExpand",function(tt,dt){var gt=de.state,St=gt.expandedKeys,_e=gt.flattenNodes,st=dt.expanded,en=dt.key,Ut=dt.isLeaf;if(!(Ut||tt.shiftKey||tt.metaKey||tt.ctrlKey)){var yn=_e.filter(function(Vt){return Vt.key===en})[0],tn=(0,Pe.F)((0,he.Z)((0,he.Z)({},(0,Pe.H8)(en,de.getTreeNodeRequiredProps())),{},{data:yn.data}));de.setExpandedKeys(st?(0,Wt._5)(St,en):(0,Wt.L0)(St,en)),de.onNodeExpand(tt,tn)}}),(0,se.Z)((0,ye.Z)(de),"onNodeClick",function(tt,dt){var gt=de.props,St=gt.onClick,_e=gt.expandAction;_e==="click"&&de.triggerExpandActionExpand(tt,dt),St==null||St(tt,dt)}),(0,se.Z)((0,ye.Z)(de),"onNodeDoubleClick",function(tt,dt){var gt=de.props,St=gt.onDoubleClick,_e=gt.expandAction;_e==="doubleClick"&&de.triggerExpandActionExpand(tt,dt),St==null||St(tt,dt)}),(0,se.Z)((0,ye.Z)(de),"onNodeSelect",function(tt,dt){var gt=de.state.selectedKeys,St=de.state,_e=St.keyEntities,st=St.fieldNames,en=de.props,Ut=en.onSelect,yn=en.multiple,tn=dt.selected,Vt=dt[st.key],Qt=!tn;Qt?yn?gt=(0,Wt.L0)(gt,Vt):gt=[Vt]:gt=(0,Wt._5)(gt,Vt);var sn=gt.map(function(bt){var Lt=(0,$t.Z)(_e,bt);return Lt?Lt.node:null}).filter(Boolean);de.setUncontrolledState({selectedKeys:gt}),Ut==null||Ut(gt,{event:"select",selected:Qt,node:dt,selectedNodes:sn,nativeEvent:tt.nativeEvent})}),(0,se.Z)((0,ye.Z)(de),"onNodeCheck",function(tt,dt,gt){var St=de.state,_e=St.keyEntities,st=St.checkedKeys,en=St.halfCheckedKeys,Ut=de.props,yn=Ut.checkStrictly,tn=Ut.onCheck,Vt=dt.key,Qt,sn={event:"check",node:dt,checked:gt,nativeEvent:tt.nativeEvent};if(yn){var bt=gt?(0,Wt.L0)(st,Vt):(0,Wt._5)(st,Vt),Lt=(0,Wt._5)(en,Vt);Qt={checked:bt,halfChecked:Lt},sn.checkedNodes=bt.map(function(cn){return(0,$t.Z)(_e,cn)}).filter(Boolean).map(function(cn){return cn.node}),de.setUncontrolledState({checkedKeys:bt})}else{var un=(0,xt.S)([].concat((0,je.Z)(st),[Vt]),!0,_e),Cn=un.checkedKeys,ut=un.halfCheckedKeys;if(!gt){var kt=new Set(Cn);kt.delete(Vt);var wt=(0,xt.S)(Array.from(kt),{checked:!1,halfCheckedKeys:ut},_e);Cn=wt.checkedKeys,ut=wt.halfCheckedKeys}Qt=Cn,sn.checkedNodes=[],sn.checkedNodesPositions=[],sn.halfCheckedKeys=ut,Cn.forEach(function(cn){var An=(0,$t.Z)(_e,cn);if(An){var Kn=An.node,rr=An.pos;sn.checkedNodes.push(Kn),sn.checkedNodesPositions.push({node:Kn,pos:rr})}}),de.setUncontrolledState({checkedKeys:Cn},!1,{halfCheckedKeys:ut})}tn==null||tn(Qt,sn)}),(0,se.Z)((0,ye.Z)(de),"onNodeLoad",function(tt){var dt,gt=tt.key,St=de.state.keyEntities,_e=(0,$t.Z)(St,gt);if(!(_e!=null&&(dt=_e.children)!==null&&dt!==void 0&&dt.length)){var st=new Promise(function(en,Ut){de.setState(function(yn){var tn=yn.loadedKeys,Vt=tn===void 0?[]:tn,Qt=yn.loadingKeys,sn=Qt===void 0?[]:Qt,bt=de.props,Lt=bt.loadData,un=bt.onLoad;if(!Lt||Vt.includes(gt)||sn.includes(gt))return null;var Cn=Lt(tt);return Cn.then(function(){var ut=de.state.loadedKeys,kt=(0,Wt.L0)(ut,gt);un==null||un(kt,{event:"load",node:tt}),de.setUncontrolledState({loadedKeys:kt}),de.setState(function(wt){return{loadingKeys:(0,Wt._5)(wt.loadingKeys,gt)}}),en()}).catch(function(ut){if(de.setState(function(wt){return{loadingKeys:(0,Wt._5)(wt.loadingKeys,gt)}}),de.loadingRetryTimes[gt]=(de.loadingRetryTimes[gt]||0)+1,de.loadingRetryTimes[gt]>=Rt){var kt=de.state.loadedKeys;(0,Ce.ZP)(!1,"Retry for `loadData` many times but still failed. No more retry."),de.setUncontrolledState({loadedKeys:(0,Wt.L0)(kt,gt)}),en()}Ut(ut)}),{loadingKeys:(0,Wt.L0)(sn,gt)}})});return st.catch(function(){}),st}}),(0,se.Z)((0,ye.Z)(de),"onNodeMouseEnter",function(tt,dt){var gt=de.props.onMouseEnter;gt==null||gt({event:tt,node:dt})}),(0,se.Z)((0,ye.Z)(de),"onNodeMouseLeave",function(tt,dt){var gt=de.props.onMouseLeave;gt==null||gt({event:tt,node:dt})}),(0,se.Z)((0,ye.Z)(de),"onNodeContextMenu",function(tt,dt){var gt=de.props.onRightClick;gt&&(tt.preventDefault(),gt({event:tt,node:dt}))}),(0,se.Z)((0,ye.Z)(de),"onFocus",function(){var tt=de.props.onFocus;de.setState({focused:!0});for(var dt=arguments.length,gt=new Array(dt),St=0;St<dt;St++)gt[St]=arguments[St];tt==null||tt.apply(void 0,gt)}),(0,se.Z)((0,ye.Z)(de),"onBlur",function(){var tt=de.props.onBlur;de.setState({focused:!1}),de.onActiveChange(null);for(var dt=arguments.length,gt=new Array(dt),St=0;St<dt;St++)gt[St]=arguments[St];tt==null||tt.apply(void 0,gt)}),(0,se.Z)((0,ye.Z)(de),"getTreeNodeRequiredProps",function(){var tt=de.state,dt=tt.expandedKeys,gt=tt.selectedKeys,St=tt.loadedKeys,_e=tt.loadingKeys,st=tt.checkedKeys,en=tt.halfCheckedKeys,Ut=tt.dragOverNodeKey,yn=tt.dropPosition,tn=tt.keyEntities;return{expandedKeys:dt||[],selectedKeys:gt||[],loadedKeys:St||[],loadingKeys:_e||[],checkedKeys:st||[],halfCheckedKeys:en||[],dragOverNodeKey:Ut,dropPosition:yn,keyEntities:tn}}),(0,se.Z)((0,ye.Z)(de),"setExpandedKeys",function(tt){var dt=de.state,gt=dt.treeData,St=dt.fieldNames,_e=(0,Pe.oH)(gt,tt,St);de.setUncontrolledState({expandedKeys:tt,flattenNodes:_e},!0)}),(0,se.Z)((0,ye.Z)(de),"onNodeExpand",function(tt,dt){var gt=de.state.expandedKeys,St=de.state,_e=St.listChanging,st=St.fieldNames,en=de.props,Ut=en.onExpand,yn=en.loadData,tn=dt.expanded,Vt=dt[st.key];if(!_e){var Qt=gt.includes(Vt),sn=!tn;if((0,Ce.ZP)(tn&&Qt||!tn&&!Qt,"Expand state not sync with index check"),gt=sn?(0,Wt.L0)(gt,Vt):(0,Wt._5)(gt,Vt),de.setExpandedKeys(gt),Ut==null||Ut(gt,{node:dt,expanded:sn,nativeEvent:tt.nativeEvent}),sn&&yn){var bt=de.onNodeLoad(dt);bt&&bt.then(function(){var Lt=(0,Pe.oH)(de.state.treeData,gt,st);de.setUncontrolledState({flattenNodes:Lt})}).catch(function(){var Lt=de.state.expandedKeys,un=(0,Wt._5)(Lt,Vt);de.setExpandedKeys(un)})}}}),(0,se.Z)((0,ye.Z)(de),"onListChangeStart",function(){de.setUncontrolledState({listChanging:!0})}),(0,se.Z)((0,ye.Z)(de),"onListChangeEnd",function(){setTimeout(function(){de.setUncontrolledState({listChanging:!1})})}),(0,se.Z)((0,ye.Z)(de),"onActiveChange",function(tt){var dt=de.state.activeKey,gt=de.props,St=gt.onActiveChange,_e=gt.itemScrollOffset,st=_e===void 0?0:_e;dt!==tt&&(de.setState({activeKey:tt}),tt!==null&&de.scrollTo({key:tt,offset:st}),St==null||St(tt))}),(0,se.Z)((0,ye.Z)(de),"getActiveItem",function(){var tt=de.state,dt=tt.activeKey,gt=tt.flattenNodes;return dt===null?null:gt.find(function(St){var _e=St.key;return _e===dt})||null}),(0,se.Z)((0,ye.Z)(de),"offsetActiveKey",function(tt){var dt=de.state,gt=dt.flattenNodes,St=dt.activeKey,_e=gt.findIndex(function(Ut){var yn=Ut.key;return yn===St});_e===-1&&tt<0&&(_e=gt.length),_e=(_e+tt+gt.length)%gt.length;var st=gt[_e];if(st){var en=st.key;de.onActiveChange(en)}else de.onActiveChange(null)}),(0,se.Z)((0,ye.Z)(de),"onKeyDown",function(tt){var dt=de.state,gt=dt.activeKey,St=dt.expandedKeys,_e=dt.checkedKeys,st=dt.fieldNames,en=de.props,Ut=en.onKeyDown,yn=en.checkable,tn=en.selectable;switch(tt.which){case ke.Z.UP:{de.offsetActiveKey(-1),tt.preventDefault();break}case ke.Z.DOWN:{de.offsetActiveKey(1),tt.preventDefault();break}}var Vt=de.getActiveItem();if(Vt&&Vt.data){var Qt=de.getTreeNodeRequiredProps(),sn=Vt.data.isLeaf===!1||!!(Vt.data[st.children]||[]).length,bt=(0,Pe.F)((0,he.Z)((0,he.Z)({},(0,Pe.H8)(gt,Qt)),{},{data:Vt.data,active:!0}));switch(tt.which){case ke.Z.LEFT:{sn&&St.includes(gt)?de.onNodeExpand({},bt):Vt.parent&&de.onActiveChange(Vt.parent.key),tt.preventDefault();break}case ke.Z.RIGHT:{sn&&!St.includes(gt)?de.onNodeExpand({},bt):Vt.children&&Vt.children.length&&de.onActiveChange(Vt.children[0].key),tt.preventDefault();break}case ke.Z.ENTER:case ke.Z.SPACE:{yn&&!bt.disabled&&bt.checkable!==!1&&!bt.disableCheckbox?de.onNodeCheck({},bt,!_e.includes(gt)):!yn&&tn&&!bt.disabled&&bt.selectable!==!1&&de.onNodeSelect({},bt);break}}}Ut==null||Ut(tt)}),(0,se.Z)((0,ye.Z)(de),"setUncontrolledState",function(tt){var dt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,gt=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null;if(!de.destroyed){var St=!1,_e=!0,st={};Object.keys(tt).forEach(function(en){if(de.props.hasOwnProperty(en)){_e=!1;return}St=!0,st[en]=tt[en]}),St&&(!dt||_e)&&de.setState((0,he.Z)((0,he.Z)({},st),gt))}}),(0,se.Z)((0,ye.Z)(de),"scrollTo",function(tt){de.listRef.current.scrollTo(tt)}),de}return(0,De.Z)(re,[{key:"componentDidMount",value:function(){this.destroyed=!1,this.onUpdated()}},{key:"componentDidUpdate",value:function(){this.onUpdated()}},{key:"onUpdated",value:function(){var Ue=this.props,pt=Ue.activeKey,et=Ue.itemScrollOffset,tt=et===void 0?0:et;pt!==void 0&&pt!==this.state.activeKey&&(this.setState({activeKey:pt}),pt!==null&&this.scrollTo({key:pt,offset:tt}))}},{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 Ue=this.state,pt=Ue.focused,et=Ue.flattenNodes,tt=Ue.keyEntities,dt=Ue.draggingNodeKey,gt=Ue.activeKey,St=Ue.dropLevelOffset,_e=Ue.dropContainerKey,st=Ue.dropTargetKey,en=Ue.dropPosition,Ut=Ue.dragOverNodeKey,yn=Ue.indent,tn=this.props,Vt=tn.prefixCls,Qt=tn.className,sn=tn.style,bt=tn.showLine,Lt=tn.focusable,un=tn.tabIndex,Cn=un===void 0?0:un,ut=tn.selectable,kt=tn.showIcon,wt=tn.icon,cn=tn.switcherIcon,An=tn.draggable,Kn=tn.checkable,rr=tn.checkStrictly,sr=tn.disabled,kn=tn.motion,Jn=tn.loadData,zt=tn.filterTreeNode,mn=tn.height,an=tn.itemHeight,ln=tn.scrollWidth,qt=tn.virtual,xn=tn.titleRender,En=tn.dropIndicatorRender,_n=tn.onContextMenu,$n=tn.onScroll,Yn=tn.direction,Gn=tn.rootClassName,Qn=tn.rootStyle,nr=(0,Ae.Z)(this.props,{aria:!0,data:!0}),Rr;An&&((0,xe.Z)(An)==="object"?Rr=An:typeof An=="function"?Rr={nodeDraggable:An}:Rr={});var Ir={prefixCls:Vt,selectable:ut,showIcon:kt,icon:wt,switcherIcon:cn,draggable:Rr,draggingNodeKey:dt,checkable:Kn,checkStrictly:rr,disabled:sr,keyEntities:tt,dropLevelOffset:St,dropContainerKey:_e,dropTargetKey:st,dropPosition:en,dragOverNodeKey:Ut,indent:yn,direction:Yn,dropIndicatorRender:En,loadData:Jn,filterTreeNode:zt,titleRender:xn,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 me.createElement(ue.k.Provider,{value:Ir},me.createElement("div",{className:fe()(Vt,Qt,Gn,(0,se.Z)((0,se.Z)((0,se.Z)({},"".concat(Vt,"-show-line"),bt),"".concat(Vt,"-focused"),pt),"".concat(Vt,"-active-focused"),gt!==null)),style:Qn},me.createElement(ft,(0,y.Z)({ref:this.listRef,prefixCls:Vt,style:sn,data:et,disabled:sr,selectable:ut,checkable:!!Kn,motion:kn,dragging:dt!==null,height:mn,itemHeight:an,virtual:qt,focusable:Lt,focused:pt,tabIndex:Cn,activeItem:this.getActiveItem(),onFocus:this.onFocus,onBlur:this.onBlur,onKeyDown:this.onKeyDown,onActiveChange:this.onActiveChange,onListChangeStart:this.onListChangeStart,onListChangeEnd:this.onListChangeEnd,onContextMenu:_n,onScroll:$n,scrollWidth:ln},this.getTreeNodeRequiredProps(),nr))))}}],[{key:"getDerivedStateFromProps",value:function(Ue,pt){var et=pt.prevProps,tt={prevProps:Ue};function dt(Cn){return!et&&Ue.hasOwnProperty(Cn)||et&&et[Cn]!==Ue[Cn]}var gt,St=pt.fieldNames;if(dt("fieldNames")&&(St=(0,Pe.w$)(Ue.fieldNames),tt.fieldNames=St),dt("treeData")?gt=Ue.treeData:dt("children")&&((0,Ce.ZP)(!1,"`children` of Tree is deprecated. Please use `treeData` instead."),gt=(0,Pe.zn)(Ue.children)),gt){tt.treeData=gt;var _e=(0,Pe.I8)(gt,{fieldNames:St});tt.keyEntities=(0,he.Z)((0,se.Z)({},Be,Zt),_e.keyEntities)}var st=tt.keyEntities||pt.keyEntities;if(dt("expandedKeys")||et&&dt("autoExpandParent"))tt.expandedKeys=Ue.autoExpandParent||!et&&Ue.defaultExpandParent?(0,Wt.r7)(Ue.expandedKeys,st):Ue.expandedKeys;else if(!et&&Ue.defaultExpandAll){var en=(0,he.Z)({},st);delete en[Be];var Ut=[];Object.keys(en).forEach(function(Cn){var ut=en[Cn];ut.children&&ut.children.length&&Ut.push(ut.key)}),tt.expandedKeys=Ut}else!et&&Ue.defaultExpandedKeys&&(tt.expandedKeys=Ue.autoExpandParent||Ue.defaultExpandParent?(0,Wt.r7)(Ue.defaultExpandedKeys,st):Ue.defaultExpandedKeys);if(tt.expandedKeys||delete tt.expandedKeys,gt||tt.expandedKeys){var yn=(0,Pe.oH)(gt||pt.treeData,tt.expandedKeys||pt.expandedKeys,St);tt.flattenNodes=yn}if(Ue.selectable&&(dt("selectedKeys")?tt.selectedKeys=(0,Wt.BT)(Ue.selectedKeys,Ue):!et&&Ue.defaultSelectedKeys&&(tt.selectedKeys=(0,Wt.BT)(Ue.defaultSelectedKeys,Ue))),Ue.checkable){var tn;if(dt("checkedKeys")?tn=(0,Wt.E6)(Ue.checkedKeys)||{}:!et&&Ue.defaultCheckedKeys?tn=(0,Wt.E6)(Ue.defaultCheckedKeys)||{}:gt&&(tn=(0,Wt.E6)(Ue.checkedKeys)||{checkedKeys:pt.checkedKeys,halfCheckedKeys:pt.halfCheckedKeys}),tn){var Vt=tn,Qt=Vt.checkedKeys,sn=Qt===void 0?[]:Qt,bt=Vt.halfCheckedKeys,Lt=bt===void 0?[]:bt;if(!Ue.checkStrictly){var un=(0,xt.S)(sn,!0,st);sn=un.checkedKeys,Lt=un.halfCheckedKeys}tt.checkedKeys=sn,tt.halfCheckedKeys=Lt}}return dt("loadedKeys")&&(tt.loadedKeys=Ue.loadedKeys),tt}}]),re}(me.Component);(0,se.Z)(ce,"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:Ze,allowDrop:function(){return!0},expandAction:!1}),(0,se.Z)(ce,"TreeNode",ge.Z);var ne=ce,te=ne},82661:function(dn,yt,E){"use strict";E.d(yt,{BT:function(){return me},E6:function(){return Ze},L0:function(){return se},OM:function(){return Ce},_5:function(){return we},r7:function(){return Qe},wA:function(){return fe},yx:function(){return Ye}});var y=E(94480),xe=E(76190),he=E(48736),je=E(59301),be=E(639),De=E(65065),ye=E(34061),ze=null;function we(oe,Fe){if(!oe)return[];var rt=oe.slice(),Ne=rt.indexOf(Fe);return Ne>=0&&rt.splice(Ne,1),rt}function se(oe,Fe){var rt=(oe||[]).slice();return rt.indexOf(Fe)===-1&&rt.push(Fe),rt}function Ye(oe){return oe.split("-")}function fe(oe,Fe){var rt=[],Ne=(0,De.Z)(Fe,oe);function Ge(){var ge=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];ge.forEach(function(Oe){var Ve=Oe.key,Pe=Oe.children;rt.push(Ve),Ge(Pe)})}return Ge(Ne.children),rt}function ke(oe){if(oe.parent){var Fe=Ye(oe.pos);return Number(Fe[Fe.length-1])===oe.parent.children.length-1}return!1}function Ae(oe){var Fe=Ye(oe.pos);return Number(Fe[Fe.length-1])===0}function Ce(oe,Fe,rt,Ne,Ge,ge,Oe,Ve,Pe,it){var Le,pe=oe.clientX,qe=oe.clientY,Xe=oe.target.getBoundingClientRect(),Ct=Xe.top,Yt=Xe.height,We=(it==="rtl"?-1:1)*(((Ge==null?void 0:Ge.x)||0)-pe),Be=(We-12)/Ne,Dt=Pe.filter(function(te){var le;return(le=Ve[te])===null||le===void 0||(le=le.children)===null||le===void 0?void 0:le.length}),Zt=(0,De.Z)(Ve,rt.eventKey);if(qe<Ct+Yt/2){var lt=Oe.findIndex(function(te){return te.key===Zt.key}),Se=lt<=0?0:lt-1,Re=Oe[Se].key;Zt=(0,De.Z)(Ve,Re)}var at=Zt.key,jt=Zt,ft=Zt.key,Wt=0,xt=0;if(!Dt.includes(at))for(var $t=0;$t<Be&&ke(Zt);$t+=1)Zt=Zt.parent,xt+=1;var Rt=Fe.data,ce=Zt.node,ne=!0;return Ae(Zt)&&Zt.level===0&&qe<Ct+Yt/2&&ge({dragNode:Rt,dropNode:ce,dropPosition:-1})&&Zt.key===rt.eventKey?Wt=-1:(jt.children||[]).length&&Dt.includes(ft)?ge({dragNode:Rt,dropNode:ce,dropPosition:0})?Wt=0:ne=!1:xt===0?Be>-1.5?ge({dragNode:Rt,dropNode:ce,dropPosition:1})?Wt=1:ne=!1:ge({dragNode:Rt,dropNode:ce,dropPosition:0})?Wt=0:ge({dragNode:Rt,dropNode:ce,dropPosition:1})?Wt=1:ne=!1:ge({dragNode:Rt,dropNode:ce,dropPosition:1})?Wt=1:ne=!1,{dropPosition:Wt,dropLevelOffset:xt,dropTargetKey:Zt.key,dropTargetPos:Zt.pos,dragOverNodeKey:ft,dropContainerKey:Wt===0?null:((Le=Zt.parent)===null||Le===void 0?void 0:Le.key)||null,dropAllowed:ne}}function me(oe,Fe){if(oe){var rt=Fe.multiple;return rt?oe.slice():oe.length?[oe[0]]:oe}}var ue=function(Fe){return Fe};function Me(oe,Fe){if(!oe)return[];var rt=Fe||{},Ne=rt.processProps,Ge=Ne===void 0?ue:Ne,ge=Array.isArray(oe)?oe:[oe];return ge.map(function(Oe){var Ve=Oe.children,Pe=_objectWithoutProperties(Oe,ze),it=Me(Ve,Fe);return React.createElement(TreeNode,_extends({key:Pe.key},Ge(Pe)),it)})}function Ze(oe){if(!oe)return null;var Fe;if(Array.isArray(oe))Fe={checkedKeys:oe,halfCheckedKeys:void 0};else if((0,xe.Z)(oe)==="object")Fe={checkedKeys:oe.checked||void 0,halfCheckedKeys:oe.halfChecked||void 0};else return(0,he.ZP)(!1,"`checkedKeys` is not an array or an object"),null;return Fe}function Qe(oe,Fe){var rt=new Set;function Ne(Ge){if(!rt.has(Ge)){var ge=(0,De.Z)(Fe,Ge);if(ge){rt.add(Ge);var Oe=ge.parent,Ve=ge.node;Ve.disabled||Oe&&Ne(Oe.key)}}}return(oe||[]).forEach(function(Ge){Ne(Ge)}),(0,y.Z)(rt)}},34643:function(dn,yt,E){"use strict";E.d(yt,{S:function(){return ye}});var y=E(48736),xe=E(65065);function he(ze,we){var se=new Set;return ze.forEach(function(Ye){we.has(Ye)||se.add(Ye)}),se}function je(ze){var we=ze||{},se=we.disabled,Ye=we.disableCheckbox,fe=we.checkable;return!!(se||Ye)||fe===!1}function be(ze,we,se,Ye){for(var fe=new Set(ze),ke=new Set,Ae=0;Ae<=se;Ae+=1){var Ce=we.get(Ae)||new Set;Ce.forEach(function(Ze){var Qe=Ze.key,oe=Ze.node,Fe=Ze.children,rt=Fe===void 0?[]:Fe;fe.has(Qe)&&!Ye(oe)&&rt.filter(function(Ne){return!Ye(Ne.node)}).forEach(function(Ne){fe.add(Ne.key)})})}for(var me=new Set,ue=se;ue>=0;ue-=1){var Me=we.get(ue)||new Set;Me.forEach(function(Ze){var Qe=Ze.parent,oe=Ze.node;if(!(Ye(oe)||!Ze.parent||me.has(Ze.parent.key))){if(Ye(Ze.parent.node)){me.add(Qe.key);return}var Fe=!0,rt=!1;(Qe.children||[]).filter(function(Ne){return!Ye(Ne.node)}).forEach(function(Ne){var Ge=Ne.key,ge=fe.has(Ge);Fe&&!ge&&(Fe=!1),!rt&&(ge||ke.has(Ge))&&(rt=!0)}),Fe&&fe.add(Qe.key),rt&&ke.add(Qe.key),me.add(Qe.key)}})}return{checkedKeys:Array.from(fe),halfCheckedKeys:Array.from(he(ke,fe))}}function De(ze,we,se,Ye,fe){for(var ke=new Set(ze),Ae=new Set(we),Ce=0;Ce<=Ye;Ce+=1){var me=se.get(Ce)||new Set;me.forEach(function(Qe){var oe=Qe.key,Fe=Qe.node,rt=Qe.children,Ne=rt===void 0?[]:rt;!ke.has(oe)&&!Ae.has(oe)&&!fe(Fe)&&Ne.filter(function(Ge){return!fe(Ge.node)}).forEach(function(Ge){ke.delete(Ge.key)})})}Ae=new Set;for(var ue=new Set,Me=Ye;Me>=0;Me-=1){var Ze=se.get(Me)||new Set;Ze.forEach(function(Qe){var oe=Qe.parent,Fe=Qe.node;if(!(fe(Fe)||!Qe.parent||ue.has(Qe.parent.key))){if(fe(Qe.parent.node)){ue.add(oe.key);return}var rt=!0,Ne=!1;(oe.children||[]).filter(function(Ge){return!fe(Ge.node)}).forEach(function(Ge){var ge=Ge.key,Oe=ke.has(ge);rt&&!Oe&&(rt=!1),!Ne&&(Oe||Ae.has(ge))&&(Ne=!0)}),rt||ke.delete(oe.key),Ne&&Ae.add(oe.key),ue.add(oe.key)}})}return{checkedKeys:Array.from(ke),halfCheckedKeys:Array.from(he(Ae,ke))}}function ye(ze,we,se,Ye){var fe=[],ke;Ye?ke=Ye:ke=je;var Ae=new Set(ze.filter(function(Me){var Ze=!!(0,xe.Z)(se,Me);return Ze||fe.push(Me),Ze})),Ce=new Map,me=0;Object.keys(se).forEach(function(Me){var Ze=se[Me],Qe=Ze.level,oe=Ce.get(Qe);oe||(oe=new Set,Ce.set(Qe,oe)),oe.add(Ze),me=Math.max(me,Qe)}),(0,y.ZP)(!fe.length,"Tree missing follow keys: ".concat(fe.slice(0,100).map(function(Me){return"'".concat(Me,"'")}).join(", ")));var ue;return we===!0?ue=be(Ae,Ce,me,ke):ue=De(Ae,we.halfCheckedKeys,Ce,me,ke),ue}},65065:function(dn,yt,E){"use strict";E.d(yt,{Z:function(){return y}});function y(xe,he){return xe[he]}},34061:function(dn,yt,E){"use strict";E.d(yt,{F:function(){return Qe},H8:function(){return Ze},I8:function(){return Me},km:function(){return fe},oH:function(){return me},w$:function(){return ke},zn:function(){return Ce}});var y=E(76190),xe=E(94480),he=E(33885),je=E(75931),be=E(11592),De=E(2738),ye=E(48736),ze=E(65065),we=["children"];function se(oe,Fe){return"".concat(oe,"-").concat(Fe)}function Ye(oe){return oe&&oe.type&&oe.type.isTreeNode}function fe(oe,Fe){return oe!=null?oe:Fe}function ke(oe){var Fe=oe||{},rt=Fe.title,Ne=Fe._title,Ge=Fe.key,ge=Fe.children,Oe=rt||"title";return{title:Oe,_title:Ne||[Oe],key:Ge||"key",children:ge||"children"}}function Ae(oe,Fe){var rt=new Map;function Ne(Ge){var ge=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";(Ge||[]).forEach(function(Oe){var Ve=Oe[Fe.key],Pe=Oe[Fe.children];warning(Ve!=null,"Tree node must have a certain key: [".concat(ge).concat(Ve,"]"));var it=String(Ve);warning(!rt.has(it)||Ve===null||Ve===void 0,"Same 'key' exist in the Tree: ".concat(it)),rt.set(it,!0),Ne(Pe,"".concat(ge).concat(it," > "))})}Ne(oe)}function Ce(oe){function Fe(rt){var Ne=(0,be.Z)(rt);return Ne.map(function(Ge){if(!Ye(Ge))return(0,ye.ZP)(!Ge,"Tree/TreeNode can only accept TreeNode as children."),null;var ge=Ge.key,Oe=Ge.props,Ve=Oe.children,Pe=(0,je.Z)(Oe,we),it=(0,he.Z)({key:ge},Pe),Le=Fe(Ve);return Le.length&&(it.children=Le),it}).filter(function(Ge){return Ge})}return Fe(oe)}function me(oe,Fe,rt){var Ne=ke(rt),Ge=Ne._title,ge=Ne.key,Oe=Ne.children,Ve=new Set(Fe===!0?[]:Fe),Pe=[];function it(Le){var pe=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;return Le.map(function(qe,Xe){for(var Ct=se(pe?pe.pos:"0",Xe),Yt=fe(qe[ge],Ct),We,Be=0;Be<Ge.length;Be+=1){var Dt=Ge[Be];if(qe[Dt]!==void 0){We=qe[Dt];break}}var Zt=Object.assign((0,De.Z)(qe,[].concat((0,xe.Z)(Ge),[ge,Oe])),{title:We,key:Yt,parent:pe,pos:Ct,children:null,data:qe,isStart:[].concat((0,xe.Z)(pe?pe.isStart:[]),[Xe===0]),isEnd:[].concat((0,xe.Z)(pe?pe.isEnd:[]),[Xe===Le.length-1])});return Pe.push(Zt),Fe===!0||Ve.has(Yt)?Zt.children=it(qe[Oe]||[],Zt):Zt.children=[],Zt})}return it(oe),Pe}function ue(oe,Fe,rt){var Ne={};(0,y.Z)(rt)==="object"?Ne=rt:Ne={externalGetKey:rt},Ne=Ne||{};var Ge=Ne,ge=Ge.childrenPropName,Oe=Ge.externalGetKey,Ve=Ge.fieldNames,Pe=ke(Ve),it=Pe.key,Le=Pe.children,pe=ge||Le,qe;Oe?typeof Oe=="string"?qe=function(Yt){return Yt[Oe]}:typeof Oe=="function"&&(qe=function(Yt){return Oe(Yt)}):qe=function(Yt,We){return fe(Yt[it],We)};function Xe(Ct,Yt,We,Be){var Dt=Ct?Ct[pe]:oe,Zt=Ct?se(We.pos,Yt):"0",lt=Ct?[].concat((0,xe.Z)(Be),[Ct]):[];if(Ct){var Se=qe(Ct,Zt),Re={node:Ct,index:Yt,pos:Zt,key:Se,parentPos:We.node?We.pos:null,level:We.level+1,nodes:lt};Fe(Re)}Dt&&Dt.forEach(function(at,jt){Xe(at,jt,{node:Ct,pos:Zt,level:We?We.level+1:-1},lt)})}Xe(null)}function Me(oe){var Fe=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},rt=Fe.initWrapper,Ne=Fe.processEntity,Ge=Fe.onProcessFinished,ge=Fe.externalGetKey,Oe=Fe.childrenPropName,Ve=Fe.fieldNames,Pe=arguments.length>2?arguments[2]:void 0,it=ge||Pe,Le={},pe={},qe={posEntities:Le,keyEntities:pe};return rt&&(qe=rt(qe)||qe),ue(oe,function(Xe){var Ct=Xe.node,Yt=Xe.index,We=Xe.pos,Be=Xe.key,Dt=Xe.parentPos,Zt=Xe.level,lt=Xe.nodes,Se={node:Ct,nodes:lt,index:Yt,key:Be,pos:We,level:Zt},Re=fe(Be,We);Le[We]=Se,pe[Re]=Se,Se.parent=Le[Dt],Se.parent&&(Se.parent.children=Se.parent.children||[],Se.parent.children.push(Se)),Ne&&Ne(Se,qe)},{externalGetKey:it,childrenPropName:Oe,fieldNames:Ve}),Ge&&Ge(qe),qe}function Ze(oe,Fe){var rt=Fe.expandedKeys,Ne=Fe.selectedKeys,Ge=Fe.loadedKeys,ge=Fe.loadingKeys,Oe=Fe.checkedKeys,Ve=Fe.halfCheckedKeys,Pe=Fe.dragOverNodeKey,it=Fe.dropPosition,Le=Fe.keyEntities,pe=(0,ze.Z)(Le,oe),qe={eventKey:oe,expanded:rt.indexOf(oe)!==-1,selected:Ne.indexOf(oe)!==-1,loaded:Ge.indexOf(oe)!==-1,loading:ge.indexOf(oe)!==-1,checked:Oe.indexOf(oe)!==-1,halfChecked:Ve.indexOf(oe)!==-1,pos:String(pe?pe.pos:""),dragOver:Pe===oe&&it===0,dragOverGapTop:Pe===oe&&it===-1,dragOverGapBottom:Pe===oe&&it===1};return qe}function Qe(oe){var Fe=oe.data,rt=oe.expanded,Ne=oe.selected,Ge=oe.checked,ge=oe.loaded,Oe=oe.loading,Ve=oe.halfChecked,Pe=oe.dragOver,it=oe.dragOverGapTop,Le=oe.dragOverGapBottom,pe=oe.pos,qe=oe.active,Xe=oe.eventKey,Ct=(0,he.Z)((0,he.Z)({},Fe),{},{expanded:rt,selected:Ne,checked:Ge,loaded:ge,loading:Oe,halfChecked:Ve,dragOver:Pe,dragOverGapTop:it,dragOverGapBottom:Le,pos:pe,active:qe,key:Xe});return"props"in Ct||Object.defineProperty(Ct,"props",{get:function(){return(0,ye.ZP)(!1,"Second param return from event is node data instead of TreeNode instance. Please read value directly instead of reading from `props`."),oe}}),Ct}},8224:function(dn,yt,E){"use strict";E.d(yt,{Z:function(){return xe}});var y=E(4676);function xe(he,je,be,De){var ye=y.unstable_batchedUpdates?function(we){y.unstable_batchedUpdates(be,we)}:be;return he!=null&&he.addEventListener&&he.addEventListener(je,ye,De),{remove:function(){he!=null&&he.removeEventListener&&he.removeEventListener(je,ye,De)}}}},3465:function(dn,yt,E){"use strict";E.d(yt,{G:function(){return je}});var y=E(47273),xe=function(De){if((0,y.Z)()&&window.document.documentElement){var ye=Array.isArray(De)?De:[De],ze=window.document.documentElement;return ye.some(function(we){return we in ze.style})}return!1},he=function(De,ye){if(!xe(De))return!1;var ze=document.createElement("div"),we=ze.style[De];return ze.style[De]=ye,ze.style[De]!==we};function je(be,De){return!Array.isArray(be)&&De!==void 0?he(be,De):xe(be)}},48911:function(dn,yt,E){"use strict";E.d(yt,{Z:function(){return Rt}});var y=E(54476),xe=E(76190),he=E(33885),je=E(20068),be=E(42978),De=E(75931),ye=E(92310),ze=E.n(ye),we=E(29301),se=E(70425),Ye=E(34280),fe=E(59301),ke=E(4676),Ae=fe.forwardRef(function(ce,ne){var te=ce.height,le=ce.offsetY,ve=ce.offsetX,re=ce.children,de=ce.prefixCls,Ue=ce.onInnerResize,pt=ce.innerProps,et=ce.rtl,tt=ce.extra,dt={},gt={display:"flex",flexDirection:"column"};return le!==void 0&&(dt={height:te,position:"relative",overflow:"hidden"},gt=(0,he.Z)((0,he.Z)({},gt),{},(0,je.Z)((0,je.Z)((0,je.Z)((0,je.Z)((0,je.Z)({transform:"translateY(".concat(le,"px)")},et?"marginRight":"marginLeft",-ve),"position","absolute"),"left",0),"right",0),"top",0))),fe.createElement("div",{style:dt},fe.createElement(we.Z,{onResize:function(_e){var st=_e.offsetHeight;st&&Ue&&Ue()}},fe.createElement("div",(0,y.Z)({style:gt,className:ze()((0,je.Z)({},"".concat(de,"-holder-inner"),de)),ref:ne},pt),re,tt)))});Ae.displayName="Filler";var Ce=Ae;function me(ce){var ne=ce.children,te=ce.setRef,le=fe.useCallback(function(ve){te(ve)},[]);return fe.cloneElement(ne,{ref:le})}function ue(ce,ne,te,le,ve,re,de,Ue){var pt=Ue.getKey;return ce.slice(ne,te+1).map(function(et,tt){var dt=ne+tt,gt=de(et,dt,{style:{width:le},offsetX:ve}),St=pt(et);return fe.createElement(me,{key:St,setRef:function(st){return re(et,st)}},gt)})}function Me(ce,ne,te,le){var ve=te-ce,re=ne-te,de=Math.min(ve,re)*2;if(le<=de){var Ue=Math.floor(le/2);return le%2?te+Ue+1:te-Ue}return ve>re?te-(le-re):te+(le-ve)}function Ze(ce,ne,te){var le=ce.length,ve=ne.length,re,de;if(le===0&&ve===0)return null;le<ve?(re=ce,de=ne):(re=ne,de=ce);var Ue={__EMPTY_ITEM__:!0};function pt(_e){return _e!==void 0?te(_e):Ue}for(var et=null,tt=Math.abs(le-ve)!==1,dt=0;dt<de.length;dt+=1){var gt=pt(re[dt]),St=pt(de[dt]);if(gt!==St){et=dt,tt=tt||gt!==pt(de[dt+1]);break}}return et===null?null:{index:et,multiple:tt}}function Qe(ce,ne,te){var le=fe.useState(ce),ve=(0,be.Z)(le,2),re=ve[0],de=ve[1],Ue=fe.useState(null),pt=(0,be.Z)(Ue,2),et=pt[0],tt=pt[1];return fe.useEffect(function(){var dt=Ze(re||[],ce||[],ne);(dt==null?void 0:dt.index)!==void 0&&(te==null||te(dt.index),tt(ce[dt.index])),de(ce)},[ce]),[et]}var oe=E(16089),Fe=(typeof navigator=="undefined"?"undefined":(0,xe.Z)(navigator))==="object"&&/Firefox/i.test(navigator.userAgent),rt=Fe,Ne=function(ce,ne,te,le){var ve=(0,fe.useRef)(!1),re=(0,fe.useRef)(null);function de(){clearTimeout(re.current),ve.current=!0,re.current=setTimeout(function(){ve.current=!1},50)}var Ue=(0,fe.useRef)({top:ce,bottom:ne,left:te,right:le});return Ue.current.top=ce,Ue.current.bottom=ne,Ue.current.left=te,Ue.current.right=le,function(pt,et){var tt=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1,dt=pt?et<0&&Ue.current.left||et>0&&Ue.current.right:et<0&&Ue.current.top||et>0&&Ue.current.bottom;return tt&&dt?(clearTimeout(re.current),ve.current=!1):(!dt||ve.current)&&de(),!ve.current&&dt}};function Ge(ce,ne,te,le,ve,re,de){var Ue=(0,fe.useRef)(0),pt=(0,fe.useRef)(null),et=(0,fe.useRef)(null),tt=(0,fe.useRef)(!1),dt=Ne(ne,te,le,ve);function gt(yn,tn){if(oe.Z.cancel(pt.current),!dt(!1,tn)){var Vt=yn;if(!Vt._virtualHandled)Vt._virtualHandled=!0;else return;Ue.current+=tn,et.current=tn,rt||Vt.preventDefault(),pt.current=(0,oe.Z)(function(){var Qt=tt.current?10:1;de(Ue.current*Qt,!1),Ue.current=0})}}function St(yn,tn){de(tn,!0),rt||yn.preventDefault()}var _e=(0,fe.useRef)(null),st=(0,fe.useRef)(null);function en(yn){if(ce){oe.Z.cancel(st.current),st.current=(0,oe.Z)(function(){_e.current=null},2);var tn=yn.deltaX,Vt=yn.deltaY,Qt=yn.shiftKey,sn=tn,bt=Vt;(_e.current==="sx"||!_e.current&&Qt&&Vt&&!tn)&&(sn=Vt,bt=0,_e.current="sx");var Lt=Math.abs(sn),un=Math.abs(bt);_e.current===null&&(_e.current=re&&Lt>un?"x":"y"),_e.current==="y"?gt(yn,bt):St(yn,sn)}}function Ut(yn){ce&&(tt.current=yn.detail===et.current)}return[en,Ut]}function ge(ce,ne,te,le){var ve=fe.useMemo(function(){return[new Map,[]]},[ce,te.id,le]),re=(0,be.Z)(ve,2),de=re[0],Ue=re[1],pt=function(tt){var dt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:tt,gt=de.get(tt),St=de.get(dt);if(gt===void 0||St===void 0)for(var _e=ce.length,st=Ue.length;st<_e;st+=1){var en,Ut=ce[st],yn=ne(Ut);de.set(yn,st);var tn=(en=te.get(yn))!==null&&en!==void 0?en:le;if(Ue[st]=(Ue[st-1]||0)+tn,yn===tt&&(gt=st),yn===dt&&(St=st),gt!==void 0&&St!==void 0)break}return{top:Ue[gt-1]||0,bottom:Ue[St]}};return pt}var Oe=E(67732),Ve=E(83652),Pe=function(){function ce(){(0,Oe.Z)(this,ce),(0,je.Z)(this,"maps",void 0),(0,je.Z)(this,"id",0),(0,je.Z)(this,"diffRecords",new Map),this.maps=Object.create(null)}return(0,Ve.Z)(ce,[{key:"set",value:function(te,le){this.diffRecords.set(te,this.maps[te]),this.maps[te]=le,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}}]),ce}(),it=Pe;function Le(ce){var ne=parseFloat(ce);return isNaN(ne)?0:ne}function pe(ce,ne,te){var le=fe.useState(0),ve=(0,be.Z)(le,2),re=ve[0],de=ve[1],Ue=(0,fe.useRef)(new Map),pt=(0,fe.useRef)(new it),et=(0,fe.useRef)(0);function tt(){et.current+=1}function dt(){var St=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1;tt();var _e=function(){var Ut=!1;Ue.current.forEach(function(yn,tn){if(yn&&yn.offsetParent){var Vt=yn.offsetHeight,Qt=getComputedStyle(yn),sn=Qt.marginTop,bt=Qt.marginBottom,Lt=Le(sn),un=Le(bt),Cn=Vt+Lt+un;pt.current.get(tn)!==Cn&&(pt.current.set(tn,Cn),Ut=!0)}}),Ut&&de(function(yn){return yn+1})};if(St)_e();else{et.current+=1;var st=et.current;Promise.resolve().then(function(){st===et.current&&_e()})}}function gt(St,_e){var st=ce(St),en=Ue.current.get(st);_e?(Ue.current.set(st,_e),dt()):Ue.current.delete(st),!en!=!_e&&(_e?ne==null||ne(St):te==null||te(St))}return(0,fe.useEffect)(function(){return tt},[]),[gt,dt,pt.current,re]}var qe=14/15;function Xe(ce,ne,te){var le=(0,fe.useRef)(!1),ve=(0,fe.useRef)(0),re=(0,fe.useRef)(0),de=(0,fe.useRef)(null),Ue=(0,fe.useRef)(null),pt,et=function(St){if(le.current){var _e=Math.ceil(St.touches[0].pageX),st=Math.ceil(St.touches[0].pageY),en=ve.current-_e,Ut=re.current-st,yn=Math.abs(en)>Math.abs(Ut);yn?ve.current=_e:re.current=st;var tn=te(yn,yn?en:Ut,!1,St);tn&&St.preventDefault(),clearInterval(Ue.current),tn&&(Ue.current=setInterval(function(){yn?en*=qe:Ut*=qe;var Vt=Math.floor(yn?en:Ut);(!te(yn,Vt,!0)||Math.abs(Vt)<=.1)&&clearInterval(Ue.current)},16))}},tt=function(){le.current=!1,pt()},dt=function(St){pt(),St.touches.length===1&&!le.current&&(le.current=!0,ve.current=Math.ceil(St.touches[0].pageX),re.current=Math.ceil(St.touches[0].pageY),de.current=St.target,de.current.addEventListener("touchmove",et,{passive:!1}),de.current.addEventListener("touchend",tt,{passive:!0}))};pt=function(){de.current&&(de.current.removeEventListener("touchmove",et),de.current.removeEventListener("touchend",tt))},(0,Ye.Z)(function(){return ce&&ne.current.addEventListener("touchstart",dt,{passive:!0}),function(){var gt;(gt=ne.current)===null||gt===void 0||gt.removeEventListener("touchstart",dt),pt(),clearInterval(Ue.current)}},[ce])}function Ct(ce){return Math.floor(Math.pow(ce,.5))}function Yt(ce,ne){var te="touches"in ce?ce.touches[0]:ce;return te[ne?"pageX":"pageY"]-window[ne?"scrollX":"scrollY"]}function We(ce,ne,te){fe.useEffect(function(){var le=ne.current;if(ce&&le){var ve=!1,re,de,Ue=function(){oe.Z.cancel(re)},pt=function gt(){Ue(),re=(0,oe.Z)(function(){te(de),gt()})},et=function(){ve=!1,Ue()},tt=function(St){if(!(St.target.draggable||St.button!==0)){var _e=St;_e._virtualHandled||(_e._virtualHandled=!0,ve=!0)}},dt=function(St){if(ve){var _e=Yt(St,!1),st=le.getBoundingClientRect(),en=st.top,Ut=st.bottom;if(_e<=en){var yn=en-_e;de=-Ct(yn),pt()}else if(_e>=Ut){var tn=_e-Ut;de=Ct(tn),pt()}else Ue()}};return le.addEventListener("mousedown",tt),le.ownerDocument.addEventListener("mouseup",et),le.ownerDocument.addEventListener("mousemove",dt),le.ownerDocument.addEventListener("dragend",et),function(){le.removeEventListener("mousedown",tt),le.ownerDocument.removeEventListener("mouseup",et),le.ownerDocument.removeEventListener("mousemove",dt),le.ownerDocument.removeEventListener("dragend",et),Ue()}}},[ce])}var Be=10;function Dt(ce,ne,te,le,ve,re,de,Ue){var pt=fe.useRef(),et=fe.useState(null),tt=(0,be.Z)(et,2),dt=tt[0],gt=tt[1];return(0,Ye.Z)(function(){if(dt&&dt.times<Be){if(!ce.current){gt(function(kn){return(0,he.Z)({},kn)});return}re();var St=dt.targetAlign,_e=dt.originAlign,st=dt.index,en=dt.offset,Ut=ce.current.clientHeight,yn=!1,tn=St,Vt=null;if(Ut){for(var Qt=St||_e,sn=0,bt=0,Lt=0,un=Math.min(ne.length-1,st),Cn=0;Cn<=un;Cn+=1){var ut=ve(ne[Cn]);bt=sn;var kt=te.get(ut);Lt=bt+(kt===void 0?le:kt),sn=Lt}for(var wt=Qt==="top"?en:Ut-en,cn=un;cn>=0;cn-=1){var An=ve(ne[cn]),Kn=te.get(An);if(Kn===void 0){yn=!0;break}if(wt-=Kn,wt<=0)break}switch(Qt){case"top":Vt=bt-en;break;case"bottom":Vt=Lt-Ut+en;break;default:{var rr=ce.current.scrollTop,sr=rr+Ut;bt<rr?tn="top":Lt>sr&&(tn="bottom")}}Vt!==null&&de(Vt),Vt!==dt.lastTop&&(yn=!0)}yn&&gt((0,he.Z)((0,he.Z)({},dt),{},{times:dt.times+1,targetAlign:tn,lastTop:Vt}))}},[dt,ce.current]),function(St){if(St==null){Ue();return}if(oe.Z.cancel(pt.current),typeof St=="number")de(St);else if(St&&(0,xe.Z)(St)==="object"){var _e,st=St.align;"index"in St?_e=St.index:_e=ne.findIndex(function(yn){return ve(yn)===St.key});var en=St.offset,Ut=en===void 0?0:en;gt({times:0,index:_e,offset:Ut,originAlign:st})}}}var Zt=fe.forwardRef(function(ce,ne){var te=ce.prefixCls,le=ce.rtl,ve=ce.scrollOffset,re=ce.scrollRange,de=ce.onStartMove,Ue=ce.onStopMove,pt=ce.onScroll,et=ce.horizontal,tt=ce.spinSize,dt=ce.containerSize,gt=ce.style,St=ce.thumbStyle,_e=ce.showScrollBar,st=fe.useState(!1),en=(0,be.Z)(st,2),Ut=en[0],yn=en[1],tn=fe.useState(null),Vt=(0,be.Z)(tn,2),Qt=Vt[0],sn=Vt[1],bt=fe.useState(null),Lt=(0,be.Z)(bt,2),un=Lt[0],Cn=Lt[1],ut=!le,kt=fe.useRef(),wt=fe.useRef(),cn=fe.useState(_e),An=(0,be.Z)(cn,2),Kn=An[0],rr=An[1],sr=fe.useRef(),kn=function(){_e===!0||_e===!1||(clearTimeout(sr.current),rr(!0),sr.current=setTimeout(function(){rr(!1)},3e3))},Jn=re-dt||0,zt=dt-tt||0,mn=fe.useMemo(function(){if(ve===0||Jn===0)return 0;var Gn=ve/Jn;return Gn*zt},[ve,Jn,zt]),an=function(Qn){Qn.stopPropagation(),Qn.preventDefault()},ln=fe.useRef({top:mn,dragging:Ut,pageY:Qt,startTop:un});ln.current={top:mn,dragging:Ut,pageY:Qt,startTop:un};var qt=function(Qn){yn(!0),sn(Yt(Qn,et)),Cn(ln.current.top),de(),Qn.stopPropagation(),Qn.preventDefault()};fe.useEffect(function(){var Gn=function(Ir){Ir.preventDefault()},Qn=kt.current,nr=wt.current;return Qn.addEventListener("touchstart",Gn,{passive:!1}),nr.addEventListener("touchstart",qt,{passive:!1}),function(){Qn.removeEventListener("touchstart",Gn),nr.removeEventListener("touchstart",qt)}},[]);var xn=fe.useRef();xn.current=Jn;var En=fe.useRef();En.current=zt,fe.useEffect(function(){if(Ut){var Gn,Qn=function(Ir){var Bn=ln.current,Mn=Bn.dragging,ur=Bn.pageY,dr=Bn.startTop;oe.Z.cancel(Gn);var Ot=kt.current.getBoundingClientRect(),Jt=dt/(et?Ot.width:Ot.height);if(Mn){var vt=(Yt(Ir,et)-ur)*Jt,Tt=dr;!ut&&et?Tt-=vt:Tt+=vt;var Et=xn.current,Ht=En.current,ot=Ht?Tt/Ht:0,Xt=Math.ceil(ot*Et);Xt=Math.max(Xt,0),Xt=Math.min(Xt,Et),Gn=(0,oe.Z)(function(){pt(Xt,et)})}},nr=function(){yn(!1),Ue()};return window.addEventListener("mousemove",Qn,{passive:!0}),window.addEventListener("touchmove",Qn,{passive:!0}),window.addEventListener("mouseup",nr,{passive:!0}),window.addEventListener("touchend",nr,{passive:!0}),function(){window.removeEventListener("mousemove",Qn),window.removeEventListener("touchmove",Qn),window.removeEventListener("mouseup",nr),window.removeEventListener("touchend",nr),oe.Z.cancel(Gn)}}},[Ut]),fe.useEffect(function(){return kn(),function(){clearTimeout(sr.current)}},[ve]),fe.useImperativeHandle(ne,function(){return{delayHidden:kn}});var _n="".concat(te,"-scrollbar"),$n={position:"absolute",visibility:Kn?null:"hidden"},Yn={position:"absolute",borderRadius:99,background:"var(--rc-virtual-list-scrollbar-bg, rgba(0, 0, 0, 0.5))",cursor:"pointer",userSelect:"none"};return et?(Object.assign($n,{height:8,left:0,right:0,bottom:0}),Object.assign(Yn,(0,je.Z)({height:"100%",width:tt},ut?"left":"right",mn))):(Object.assign($n,(0,je.Z)({width:8,top:0,bottom:0},ut?"right":"left",0)),Object.assign(Yn,{width:"100%",height:tt,top:mn})),fe.createElement("div",{ref:kt,className:ze()(_n,(0,je.Z)((0,je.Z)((0,je.Z)({},"".concat(_n,"-horizontal"),et),"".concat(_n,"-vertical"),!et),"".concat(_n,"-visible"),Kn)),style:(0,he.Z)((0,he.Z)({},$n),gt),onMouseDown:an,onMouseMove:kn},fe.createElement("div",{ref:wt,className:ze()("".concat(_n,"-thumb"),(0,je.Z)({},"".concat(_n,"-thumb-moving"),Ut)),style:(0,he.Z)((0,he.Z)({},Yn),St),onMouseDown:qt}))}),lt=Zt,Se=20;function Re(){var ce=arguments.length>0&&arguments[0]!==void 0?arguments[0]:0,ne=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,te=ce/ne*ce;return isNaN(te)&&(te=0),te=Math.max(te,Se),Math.floor(te)}var at=["prefixCls","className","height","itemHeight","fullHeight","style","data","children","itemKey","virtual","direction","scrollWidth","component","onScroll","onVirtualScroll","onVisibleChange","innerProps","extraRender","styles","showScrollBar"],jt=[],ft={overflowY:"auto",overflowAnchor:"none"};function Wt(ce,ne){var te=ce.prefixCls,le=te===void 0?"rc-virtual-list":te,ve=ce.className,re=ce.height,de=ce.itemHeight,Ue=ce.fullHeight,pt=Ue===void 0?!0:Ue,et=ce.style,tt=ce.data,dt=ce.children,gt=ce.itemKey,St=ce.virtual,_e=ce.direction,st=ce.scrollWidth,en=ce.component,Ut=en===void 0?"div":en,yn=ce.onScroll,tn=ce.onVirtualScroll,Vt=ce.onVisibleChange,Qt=ce.innerProps,sn=ce.extraRender,bt=ce.styles,Lt=ce.showScrollBar,un=Lt===void 0?"optional":Lt,Cn=(0,De.Z)(ce,at),ut=fe.useCallback(function(Mt){return typeof gt=="function"?gt(Mt):Mt==null?void 0:Mt[gt]},[gt]),kt=pe(ut,null,null),wt=(0,be.Z)(kt,4),cn=wt[0],An=wt[1],Kn=wt[2],rr=wt[3],sr=!!(St!==!1&&re&&de),kn=fe.useMemo(function(){return Object.values(Kn.maps).reduce(function(Mt,bn){return Mt+bn},0)},[Kn.id,Kn.maps]),Jn=sr&&tt&&(Math.max(de*tt.length,kn)>re||!!st),zt=_e==="rtl",mn=ze()(le,(0,je.Z)({},"".concat(le,"-rtl"),zt),ve),an=tt||jt,ln=(0,fe.useRef)(),qt=(0,fe.useRef)(),xn=(0,fe.useRef)(),En=(0,fe.useState)(0),_n=(0,be.Z)(En,2),$n=_n[0],Yn=_n[1],Gn=(0,fe.useState)(0),Qn=(0,be.Z)(Gn,2),nr=Qn[0],Rr=Qn[1],Ir=(0,fe.useState)(!1),Bn=(0,be.Z)(Ir,2),Mn=Bn[0],ur=Bn[1],dr=function(){ur(!0)},Ot=function(){ur(!1)},Jt={getKey:ut};function vt(Mt){Yn(function(bn){var er;typeof Mt=="function"?er=Mt(bn):er=Mt;var Rn=ro(er);return ln.current.scrollTop=Rn,Rn})}var Tt=(0,fe.useRef)({start:0,end:an.length}),Et=(0,fe.useRef)(),Ht=Qe(an,ut),ot=(0,be.Z)(Ht,1),Xt=ot[0];Et.current=Xt;var nn=fe.useMemo(function(){if(!sr)return{scrollHeight:void 0,start:0,end:an.length-1,offset:void 0};if(!Jn){var Mt;return{scrollHeight:((Mt=qt.current)===null||Mt===void 0?void 0:Mt.offsetHeight)||0,start:0,end:an.length-1,offset:void 0}}for(var bn=0,er,Rn,Nn,yr=an.length,Zn=0;Zn<yr;Zn+=1){var Hn=an[Zn],or=ut(Hn),kr=Kn.get(or),wo=bn+(kr===void 0?de:kr);wo>=$n&&er===void 0&&(er=Zn,Rn=bn),wo>$n+re&&Nn===void 0&&(Nn=Zn),bn=wo}return er===void 0&&(er=0,Rn=0,Nn=Math.ceil(re/de)),Nn===void 0&&(Nn=an.length-1),Nn=Math.min(Nn+1,an.length-1),{scrollHeight:bn,start:er,end:Nn,offset:Rn}},[Jn,sr,$n,an,rr,re]),Kt=nn.scrollHeight,nt=nn.start,Bt=nn.end,It=nn.offset;Tt.current.start=nt,Tt.current.end=Bt,fe.useLayoutEffect(function(){var Mt=Kn.getRecord();if(Mt.size===1){var bn=Array.from(Mt.keys())[0],er=Mt.get(bn),Rn=an[nt];if(Rn&&er===void 0){var Nn=ut(Rn);if(Nn===bn){var yr=Kn.get(bn),Zn=yr-de;vt(function(Hn){return Hn+Zn})}}}Kn.resetRecord()},[Kt]);var _t=fe.useState({width:0,height:re}),Ln=(0,be.Z)(_t,2),zn=Ln[0],Vn=Ln[1],Or=function(bn){Vn({width:bn.offsetWidth,height:bn.offsetHeight})},Hr=(0,fe.useRef)(),to=(0,fe.useRef)(),mr=fe.useMemo(function(){return Re(zn.width,st)},[zn.width,st]),Er=fe.useMemo(function(){return Re(zn.height,Kt)},[zn.height,Kt]),Nr=Kt-re,Yr=(0,fe.useRef)(Nr);Yr.current=Nr;function ro(Mt){var bn=Mt;return Number.isNaN(Yr.current)||(bn=Math.min(bn,Yr.current)),bn=Math.max(bn,0),bn}var oo=$n<=0,ao=$n>=Nr,Lr=nr<=0,eo=nr>=st,$r=Ne(oo,ao,Lr,eo),Wo=function(){return{x:zt?-nr:nr,y:$n}},Vo=(0,fe.useRef)(Wo()),ir=(0,se.zX)(function(Mt){if(tn){var bn=(0,he.Z)((0,he.Z)({},Wo()),Mt);(Vo.current.x!==bn.x||Vo.current.y!==bn.y)&&(tn(bn),Vo.current=bn)}});function Ro(Mt,bn){var er=Mt;bn?((0,ke.flushSync)(function(){Rr(er)}),ir()):vt(er)}function ei(Mt){var bn=Mt.currentTarget.scrollTop;bn!==$n&&vt(bn),yn==null||yn(Mt),ir()}var yo=function(bn){var er=bn,Rn=st?st-zn.width:0;return er=Math.max(er,0),er=Math.min(er,Rn),er},Zo=(0,se.zX)(function(Mt,bn){bn?((0,ke.flushSync)(function(){Rr(function(er){var Rn=er+(zt?-Mt:Mt);return yo(Rn)})}),ir()):vt(function(er){var Rn=er+Mt;return Rn})}),vo=Ge(sr,oo,ao,Lr,eo,!!st,Zo),ui=(0,be.Z)(vo,2),yi=ui[0],$o=ui[1];Xe(sr,ln,function(Mt,bn,er,Rn){var Nn=Rn;return $r(Mt,bn,er)?!1:!Nn||!Nn._virtualHandled?(Nn&&(Nn._virtualHandled=!0),yi({preventDefault:function(){},deltaX:Mt?bn:0,deltaY:Mt?0:bn}),!0):!1}),We(Jn,ln,function(Mt){vt(function(bn){return bn+Mt})}),(0,Ye.Z)(function(){function Mt(er){var Rn=oo&&er.detail<0,Nn=ao&&er.detail>0;sr&&!Rn&&!Nn&&er.preventDefault()}var bn=ln.current;return bn.addEventListener("wheel",yi,{passive:!1}),bn.addEventListener("DOMMouseScroll",$o,{passive:!0}),bn.addEventListener("MozMousePixelScroll",Mt,{passive:!1}),function(){bn.removeEventListener("wheel",yi),bn.removeEventListener("DOMMouseScroll",$o),bn.removeEventListener("MozMousePixelScroll",Mt)}},[sr,oo,ao]),(0,Ye.Z)(function(){if(st){var Mt=yo(nr);Rr(Mt),ir({x:Mt})}},[zn.width,st]);var pi=function(){var bn,er;(bn=Hr.current)===null||bn===void 0||bn.delayHidden(),(er=to.current)===null||er===void 0||er.delayHidden()},ki=Dt(ln,an,Kn,de,ut,function(){return An(!0)},vt,pi);fe.useImperativeHandle(ne,function(){return{nativeElement:xn.current,getScrollInfo:Wo,scrollTo:function(bn){function er(Rn){return Rn&&(0,xe.Z)(Rn)==="object"&&("left"in Rn||"top"in Rn)}er(bn)?(bn.left!==void 0&&Rr(yo(bn.left)),ki(bn.top)):ki(bn)}}}),(0,Ye.Z)(function(){if(Vt){var Mt=an.slice(nt,Bt+1);Vt(Mt,an)}},[nt,Bt,an]);var Ci=ge(an,ut,Kn,de),Oi=sn==null?void 0:sn({start:nt,end:Bt,virtual:Jn,offsetX:nr,offsetY:It,rtl:zt,getSize:Ci}),No=ue(an,nt,Bt,st,nr,cn,dt,Jt),Je=null;re&&(Je=(0,he.Z)((0,je.Z)({},pt?"height":"maxHeight",re),ft),sr&&(Je.overflowY="hidden",st&&(Je.overflowX="hidden"),Mn&&(Je.pointerEvents="none")));var hn={};return zt&&(hn.dir="rtl"),fe.createElement("div",(0,y.Z)({ref:xn,style:(0,he.Z)((0,he.Z)({},et),{},{position:"relative"}),className:mn},hn,Cn),fe.createElement(we.Z,{onResize:Or},fe.createElement(Ut,{className:"".concat(le,"-holder"),style:Je,ref:ln,onScroll:ei,onMouseEnter:pi},fe.createElement(Ce,{prefixCls:le,height:Kt,offsetX:nr,offsetY:It,scrollWidth:st,onInnerResize:An,ref:qt,innerProps:Qt,rtl:zt,extra:Oi},No))),Jn&&Kt>re&&fe.createElement(lt,{ref:Hr,prefixCls:le,scrollOffset:$n,scrollRange:Kt,rtl:zt,onScroll:Ro,onStartMove:dr,onStopMove:Ot,spinSize:Er,containerSize:zn.height,style:bt==null?void 0:bt.verticalScrollBar,thumbStyle:bt==null?void 0:bt.verticalScrollBarThumb,showScrollBar:un}),Jn&&st>zn.width&&fe.createElement(lt,{ref:to,prefixCls:le,scrollOffset:nr,scrollRange:st,rtl:zt,onScroll:Ro,onStartMove:dr,onStopMove:Ot,spinSize:mr,containerSize:zn.width,horizontal:!0,style:bt==null?void 0:bt.horizontalScrollBar,thumbStyle:bt==null?void 0:bt.horizontalScrollBarThumb,showScrollBar:un}))}var xt=fe.forwardRef(Wt);xt.displayName="List";var $t=xt,Rt=$t},51353:function(dn,yt,E){"use strict";Object.defineProperty(yt,"__esModule",{value:!0}),Object.defineProperty(yt,"DraggableCore",{enumerable:!0,get:function(){return ze.default}}),yt.default=void 0;var y=Ye(E(59301)),xe=se(E(12708)),he=se(E(4676)),je=E(14625),be=E(77026),De=E(22013),ye=E(80217),ze=se(E(68555)),we=se(E(97510));function se(ue){return ue&&ue.__esModule?ue:{default:ue}}function Ye(ue,Me){if(typeof WeakMap=="function")var Ze=new WeakMap,Qe=new WeakMap;return(Ye=function(oe,Fe){if(!Fe&&oe&&oe.__esModule)return oe;var rt,Ne,Ge={__proto__:null,default:oe};if(oe===null||typeof oe!="object"&&typeof oe!="function")return Ge;if(rt=Fe?Qe:Ze){if(rt.has(oe))return rt.get(oe);rt.set(oe,Ge)}for(const ge in oe)ge!=="default"&&{}.hasOwnProperty.call(oe,ge)&&((Ne=(rt=Object.defineProperty)&&Object.getOwnPropertyDescriptor(oe,ge))&&(Ne.get||Ne.set)?rt(Ge,ge,Ne):Ge[ge]=oe[ge]);return Ge})(ue,Me)}function fe(){return fe=Object.assign?Object.assign.bind():function(ue){for(var Me=1;Me<arguments.length;Me++){var Ze=arguments[Me];for(var Qe in Ze)({}).hasOwnProperty.call(Ze,Qe)&&(ue[Qe]=Ze[Qe])}return ue},fe.apply(null,arguments)}function ke(ue,Me,Ze){return(Me=Ae(Me))in ue?Object.defineProperty(ue,Me,{value:Ze,enumerable:!0,configurable:!0,writable:!0}):ue[Me]=Ze,ue}function Ae(ue){var Me=Ce(ue,"string");return typeof Me=="symbol"?Me:Me+""}function Ce(ue,Me){if(typeof ue!="object"||!ue)return ue;var Ze=ue[Symbol.toPrimitive];if(Ze!==void 0){var Qe=Ze.call(ue,Me||"default");if(typeof Qe!="object")return Qe;throw new TypeError("@@toPrimitive must return a primitive value.")}return(Me==="string"?String:Number)(ue)}class me extends y.Component{static getDerivedStateFromProps(Me,Ze){let{position:Qe}=Me,{prevPropsPosition:oe}=Ze;return Qe&&(!oe||Qe.x!==oe.x||Qe.y!==oe.y)?((0,we.default)("Draggable: getDerivedStateFromProps %j",{position:Qe,prevPropsPosition:oe}),{x:Qe.x,y:Qe.y,prevPropsPosition:Es({},Qe)}):null}constructor(Me){super(Me),ke(this,"onDragStart",(Ze,Qe)=>{if((0,we.default)("Draggable: onDragStart: %j",Qe),this.props.onStart(Ze,(0,De.createDraggableData)(this,Qe))===!1)return!1;this.setState({dragging:!0,dragged:!0})}),ke(this,"onDrag",(Ze,Qe)=>{if(!this.state.dragging)return!1;(0,we.default)("Draggable: onDrag: %j",Qe);const oe=(0,De.createDraggableData)(this,Qe),Fe={x:oe.x,y:oe.y,slackX:0,slackY:0};if(this.props.bounds){const{x:Ne,y:Ge}=Fe;Fe.x+=this.state.slackX,Fe.y+=this.state.slackY;const[ge,Oe]=(0,De.getBoundPosition)(this,Fe.x,Fe.y);Fe.x=ge,Fe.y=Oe,Fe.slackX=this.state.slackX+(Ne-Fe.x),Fe.slackY=this.state.slackY+(Ge-Fe.y),oe.x=Fe.x,oe.y=Fe.y,oe.deltaX=Fe.x-this.state.x,oe.deltaY=Fe.y-this.state.y}if(this.props.onDrag(Ze,oe)===!1)return!1;this.setState(Fe)}),ke(this,"onDragStop",(Ze,Qe)=>{if(!this.state.dragging||this.props.onStop(Ze,(0,De.createDraggableData)(this,Qe))===!1)return!1;(0,we.default)("Draggable: onDragStop: %j",Qe);const Fe={dragging:!1,slackX:0,slackY:0};if(!!this.props.position){const{x:Ne,y:Ge}=this.props.position;Fe.x=Ne,Fe.y=Ge}this.setState(Fe)}),this.state={dragging:!1,dragged:!1,x:Me.position?Me.position.x:Me.defaultPosition.x,y:Me.position?Me.position.y:Me.defaultPosition.y,prevPropsPosition:Es({},Me.position),slackX:0,slackY:0,isElementSVG:!1},Me.position&&!(Me.onDrag||Me.onStop)&&console.warn("A `position` was applied to this <Draggable>, without drag handlers. This will make this component effectively undraggable. Please attach `onDrag` or `onStop` handlers so you can adjust the `position` of this element.")}componentDidMount(){typeof window.SVGElement!="undefined"&&this.findDOMNode()instanceof window.SVGElement&&this.setState({isElementSVG:!0})}componentWillUnmount(){this.state.dragging&&this.setState({dragging:!1})}findDOMNode(){var Me,Ze,Qe;return(Qe=(Ze=(Me=this.props)==null?void 0:Me.nodeRef)==null?void 0:Ze.current)!=null?Qe:he.default.findDOMNode(this)}render(){const Yt=this.props,{axis:Me,bounds:Ze,children:Qe,defaultPosition:oe,defaultClassName:Fe,defaultClassNameDragging:rt,defaultClassNameDragged:Ne,position:Ge,positionOffset:ge,scale:Oe}=Yt,Ve=Gu(Yt,["axis","bounds","children","defaultPosition","defaultClassName","defaultClassNameDragging","defaultClassNameDragged","position","positionOffset","scale"]);let Pe={},it=null;const pe=!!!Ge||this.state.dragging,qe=Ge||oe,Xe={x:(0,De.canDragX)(this)&&pe?this.state.x:qe.x,y:(0,De.canDragY)(this)&&pe?this.state.y:qe.y};this.state.isElementSVG?it=(0,be.createSVGTransform)(Xe,ge):Pe=(0,be.createCSSTransform)(Xe,ge);const Ct=(0,je.clsx)(Qe.props.className||"",Fe,{[rt]:this.state.dragging,[Ne]:this.state.dragged});return y.createElement(ze.default,fe({},Ve,{onStart:this.onDragStart,onDrag:this.onDrag,onStop:this.onDragStop}),y.cloneElement(y.Children.only(Qe),{className:Ct,style:Es(Es({},Qe.props.style),Pe),transform:it}))}}yt.default=me,ke(me,"displayName","Draggable"),ke(me,"propTypes",Tu(Es({},ze.default.propTypes),{axis:xe.default.oneOf(["both","x","y","none"]),bounds:xe.default.oneOfType([xe.default.shape({left:xe.default.number,right:xe.default.number,top:xe.default.number,bottom:xe.default.number}),xe.default.string,xe.default.oneOf([!1])]),defaultClassName:xe.default.string,defaultClassNameDragging:xe.default.string,defaultClassNameDragged:xe.default.string,defaultPosition:xe.default.shape({x:xe.default.number,y:xe.default.number}),positionOffset:xe.default.shape({x:xe.default.oneOfType([xe.default.number,xe.default.string]),y:xe.default.oneOfType([xe.default.number,xe.default.string])}),position:xe.default.shape({x:xe.default.number,y:xe.default.number}),className:ye.dontSetMe,style:ye.dontSetMe,transform:ye.dontSetMe})),ke(me,"defaultProps",Tu(Es({},ze.default.defaultProps),{axis:"both",bounds:!1,defaultClassName:"react-draggable",defaultClassNameDragging:"react-draggable-dragging",defaultClassNameDragged:"react-draggable-dragged",defaultPosition:{x:0,y:0},scale:1}))},68555:function(dn,yt,E){"use strict";Object.defineProperty(yt,"__esModule",{value:!0}),yt.default=void 0;var y=we(E(59301)),xe=ze(E(12708)),he=ze(E(4676)),je=E(77026),be=E(22013),De=E(80217),ye=ze(E(97510));function ze(me){return me&&me.__esModule?me:{default:me}}function we(me,ue){if(typeof WeakMap=="function")var Me=new WeakMap,Ze=new WeakMap;return(we=function(Qe,oe){if(!oe&&Qe&&Qe.__esModule)return Qe;var Fe,rt,Ne={__proto__:null,default:Qe};if(Qe===null||typeof Qe!="object"&&typeof Qe!="function")return Ne;if(Fe=oe?Ze:Me){if(Fe.has(Qe))return Fe.get(Qe);Fe.set(Qe,Ne)}for(const Ge in Qe)Ge!=="default"&&{}.hasOwnProperty.call(Qe,Ge)&&((rt=(Fe=Object.defineProperty)&&Object.getOwnPropertyDescriptor(Qe,Ge))&&(rt.get||rt.set)?Fe(Ne,Ge,rt):Ne[Ge]=Qe[Ge]);return Ne})(me,ue)}function se(me,ue,Me){return(ue=Ye(ue))in me?Object.defineProperty(me,ue,{value:Me,enumerable:!0,configurable:!0,writable:!0}):me[ue]=Me,me}function Ye(me){var ue=fe(me,"string");return typeof ue=="symbol"?ue:ue+""}function fe(me,ue){if(typeof me!="object"||!me)return me;var Me=me[Symbol.toPrimitive];if(Me!==void 0){var Ze=Me.call(me,ue||"default");if(typeof Ze!="object")return Ze;throw new TypeError("@@toPrimitive must return a primitive value.")}return(ue==="string"?String:Number)(me)}const ke={touch:{start:"touchstart",move:"touchmove",stop:"touchend"},mouse:{start:"mousedown",move:"mousemove",stop:"mouseup"}};let Ae=ke.mouse;class Ce extends y.Component{constructor(){super(...arguments),se(this,"dragging",!1),se(this,"lastX",NaN),se(this,"lastY",NaN),se(this,"touchIdentifier",null),se(this,"mounted",!1),se(this,"handleDragStart",ue=>{if(this.props.onMouseDown(ue),!this.props.allowAnyClick&&typeof ue.button=="number"&&ue.button!==0)return!1;const Me=this.findDOMNode();if(!Me||!Me.ownerDocument||!Me.ownerDocument.body)throw new Error("<DraggableCore> not mounted on DragStart!");const{ownerDocument:Ze}=Me;if(this.props.disabled||!(ue.target instanceof Ze.defaultView.Node)||this.props.handle&&!(0,je.matchesSelectorAndParentsTo)(ue.target,this.props.handle,Me)||this.props.cancel&&(0,je.matchesSelectorAndParentsTo)(ue.target,this.props.cancel,Me))return;ue.type==="touchstart"&&!this.props.allowMobileScroll&&ue.preventDefault();const Qe=(0,je.getTouchIdentifier)(ue);this.touchIdentifier=Qe;const oe=(0,be.getControlPosition)(ue,Qe,this);if(oe==null)return;const{x:Fe,y:rt}=oe,Ne=(0,be.createCoreData)(this,Fe,rt);(0,ye.default)("DraggableCore: handleDragStart: %j",Ne),(0,ye.default)("calling",this.props.onStart),!(this.props.onStart(ue,Ne)===!1||this.mounted===!1)&&(this.props.enableUserSelectHack&&(0,je.addUserSelectStyles)(Ze),this.dragging=!0,this.lastX=Fe,this.lastY=rt,(0,je.addEvent)(Ze,Ae.move,this.handleDrag),(0,je.addEvent)(Ze,Ae.stop,this.handleDragStop))}),se(this,"handleDrag",ue=>{const Me=(0,be.getControlPosition)(ue,this.touchIdentifier,this);if(Me==null)return;let{x:Ze,y:Qe}=Me;if(Array.isArray(this.props.grid)){let rt=Ze-this.lastX,Ne=Qe-this.lastY;if([rt,Ne]=(0,be.snapToGrid)(this.props.grid,rt,Ne),!rt&&!Ne)return;Ze=this.lastX+rt,Qe=this.lastY+Ne}const oe=(0,be.createCoreData)(this,Ze,Qe);if((0,ye.default)("DraggableCore: handleDrag: %j",oe),this.props.onDrag(ue,oe)===!1||this.mounted===!1){try{this.handleDragStop(new MouseEvent("mouseup"))}catch(rt){const Ne=document.createEvent("MouseEvents");Ne.initMouseEvent("mouseup",!0,!0,window,0,0,0,0,0,!1,!1,!1,!1,0,null),this.handleDragStop(Ne)}return}this.lastX=Ze,this.lastY=Qe}),se(this,"handleDragStop",ue=>{if(!this.dragging)return;const Me=(0,be.getControlPosition)(ue,this.touchIdentifier,this);if(Me==null)return;let{x:Ze,y:Qe}=Me;if(Array.isArray(this.props.grid)){let Ne=Ze-this.lastX||0,Ge=Qe-this.lastY||0;[Ne,Ge]=(0,be.snapToGrid)(this.props.grid,Ne,Ge),Ze=this.lastX+Ne,Qe=this.lastY+Ge}const oe=(0,be.createCoreData)(this,Ze,Qe);if(this.props.onStop(ue,oe)===!1||this.mounted===!1)return!1;const rt=this.findDOMNode();rt&&this.props.enableUserSelectHack&&(0,je.scheduleRemoveUserSelectStyles)(rt.ownerDocument),(0,ye.default)("DraggableCore: handleDragStop: %j",oe),this.dragging=!1,this.lastX=NaN,this.lastY=NaN,rt&&((0,ye.default)("DraggableCore: Removing handlers"),(0,je.removeEvent)(rt.ownerDocument,Ae.move,this.handleDrag),(0,je.removeEvent)(rt.ownerDocument,Ae.stop,this.handleDragStop))}),se(this,"onMouseDown",ue=>(Ae=ke.mouse,this.handleDragStart(ue))),se(this,"onMouseUp",ue=>(Ae=ke.mouse,this.handleDragStop(ue))),se(this,"onTouchStart",ue=>(Ae=ke.touch,this.handleDragStart(ue))),se(this,"onTouchEnd",ue=>(Ae=ke.touch,this.handleDragStop(ue)))}componentDidMount(){this.mounted=!0;const ue=this.findDOMNode();ue&&(0,je.addEvent)(ue,ke.touch.start,this.onTouchStart,{passive:!1})}componentWillUnmount(){this.mounted=!1;const ue=this.findDOMNode();if(ue){const{ownerDocument:Me}=ue;(0,je.removeEvent)(Me,ke.mouse.move,this.handleDrag),(0,je.removeEvent)(Me,ke.touch.move,this.handleDrag),(0,je.removeEvent)(Me,ke.mouse.stop,this.handleDragStop),(0,je.removeEvent)(Me,ke.touch.stop,this.handleDragStop),(0,je.removeEvent)(ue,ke.touch.start,this.onTouchStart,{passive:!1}),this.props.enableUserSelectHack&&(0,je.scheduleRemoveUserSelectStyles)(Me)}}findDOMNode(){var ue,Me,Ze;return(ue=this.props)!=null&&ue.nodeRef?(Ze=(Me=this.props)==null?void 0:Me.nodeRef)==null?void 0:Ze.current:he.default.findDOMNode(this)}render(){return y.cloneElement(y.Children.only(this.props.children),{onMouseDown:this.onMouseDown,onMouseUp:this.onMouseUp,onTouchEnd:this.onTouchEnd})}}yt.default=Ce,se(Ce,"displayName","DraggableCore"),se(Ce,"propTypes",{allowAnyClick:xe.default.bool,allowMobileScroll:xe.default.bool,children:xe.default.node.isRequired,disabled:xe.default.bool,enableUserSelectHack:xe.default.bool,offsetParent:function(me,ue){if(me[ue]&&me[ue].nodeType!==1)throw new Error("Draggable's offsetParent must be a DOM Node.")},grid:xe.default.arrayOf(xe.default.number),handle:xe.default.string,cancel:xe.default.string,nodeRef:xe.default.object,onStart:xe.default.func,onDrag:xe.default.func,onStop:xe.default.func,onMouseDown:xe.default.func,scale:xe.default.number,className:De.dontSetMe,style:De.dontSetMe,transform:De.dontSetMe}),se(Ce,"defaultProps",{allowAnyClick:!1,allowMobileScroll:!1,disabled:!1,enableUserSelectHack:!0,onStart:function(){},onDrag:function(){},onStop:function(){},onMouseDown:function(){},scale:1})},96249:function(dn,yt,E){"use strict";const{default:y,DraggableCore:xe}=E(51353);dn.exports=y,dn.exports.default=y,dn.exports.DraggableCore=xe},77026:function(dn,yt,E){"use strict";Object.defineProperty(yt,"__esModule",{value:!0}),yt.addClassName=Fe,yt.addEvent=ye,yt.addUserSelectStyles=Ze,yt.createCSSTransform=Ae,yt.createSVGTransform=Ce,yt.getTouch=ue,yt.getTouchIdentifier=Me,yt.getTranslation=me,yt.innerHeight=Ye,yt.innerWidth=fe,yt.matchesSelector=be,yt.matchesSelectorAndParentsTo=De,yt.offsetXYFromParent=ke,yt.outerHeight=we,yt.outerWidth=se,yt.removeClassName=rt,yt.removeEvent=ze,yt.scheduleRemoveUserSelectStyles=Qe;var y=E(80217),xe=he(E(76172));function he(Ne,Ge){if(typeof WeakMap=="function")var ge=new WeakMap,Oe=new WeakMap;return(he=function(Ve,Pe){if(!Pe&&Ve&&Ve.__esModule)return Ve;var it,Le,pe={__proto__:null,default:Ve};if(Ve===null||typeof Ve!="object"&&typeof Ve!="function")return pe;if(it=Pe?Oe:ge){if(it.has(Ve))return it.get(Ve);it.set(Ve,pe)}for(const qe in Ve)qe!=="default"&&{}.hasOwnProperty.call(Ve,qe)&&((Le=(it=Object.defineProperty)&&Object.getOwnPropertyDescriptor(Ve,qe))&&(Le.get||Le.set)?it(pe,qe,Le):pe[qe]=Ve[qe]);return pe})(Ne,Ge)}let je="";function be(Ne,Ge){return je||(je=(0,y.findInArray)(["matches","webkitMatchesSelector","mozMatchesSelector","msMatchesSelector","oMatchesSelector"],function(ge){return(0,y.isFunction)(Ne[ge])})),(0,y.isFunction)(Ne[je])?Ne[je](Ge):!1}function De(Ne,Ge,ge){let Oe=Ne;do{if(be(Oe,Ge))return!0;if(Oe===ge)return!1;Oe=Oe.parentNode}while(Oe);return!1}function ye(Ne,Ge,ge,Oe){if(!Ne)return;const Ve=Es({capture:!0},Oe);Ne.addEventListener?Ne.addEventListener(Ge,ge,Ve):Ne.attachEvent?Ne.attachEvent("on"+Ge,ge):Ne["on"+Ge]=ge}function ze(Ne,Ge,ge,Oe){if(!Ne)return;const Ve=Es({capture:!0},Oe);Ne.removeEventListener?Ne.removeEventListener(Ge,ge,Ve):Ne.detachEvent?Ne.detachEvent("on"+Ge,ge):Ne["on"+Ge]=null}function we(Ne){let Ge=Ne.clientHeight;const ge=Ne.ownerDocument.defaultView.getComputedStyle(Ne);return Ge+=(0,y.int)(ge.borderTopWidth),Ge+=(0,y.int)(ge.borderBottomWidth),Ge}function se(Ne){let Ge=Ne.clientWidth;const ge=Ne.ownerDocument.defaultView.getComputedStyle(Ne);return Ge+=(0,y.int)(ge.borderLeftWidth),Ge+=(0,y.int)(ge.borderRightWidth),Ge}function Ye(Ne){let Ge=Ne.clientHeight;const ge=Ne.ownerDocument.defaultView.getComputedStyle(Ne);return Ge-=(0,y.int)(ge.paddingTop),Ge-=(0,y.int)(ge.paddingBottom),Ge}function fe(Ne){let Ge=Ne.clientWidth;const ge=Ne.ownerDocument.defaultView.getComputedStyle(Ne);return Ge-=(0,y.int)(ge.paddingLeft),Ge-=(0,y.int)(ge.paddingRight),Ge}function ke(Ne,Ge,ge){const Ve=Ge===Ge.ownerDocument.body?{left:0,top:0}:Ge.getBoundingClientRect(),Pe=(Ne.clientX+Ge.scrollLeft-Ve.left)/ge,it=(Ne.clientY+Ge.scrollTop-Ve.top)/ge;return{x:Pe,y:it}}function Ae(Ne,Ge){const ge=me(Ne,Ge,"px");return{[(0,xe.browserPrefixToKey)("transform",xe.default)]:ge}}function Ce(Ne,Ge){return me(Ne,Ge,"")}function me(Ne,Ge,ge){let{x:Oe,y:Ve}=Ne,Pe=`translate(${Oe}${ge},${Ve}${ge})`;if(Ge){const it=`${typeof Ge.x=="string"?Ge.x:Ge.x+ge}`,Le=`${typeof Ge.y=="string"?Ge.y:Ge.y+ge}`;Pe=`translate(${it}, ${Le})`+Pe}return Pe}function ue(Ne,Ge){return Ne.targetTouches&&(0,y.findInArray)(Ne.targetTouches,ge=>Ge===ge.identifier)||Ne.changedTouches&&(0,y.findInArray)(Ne.changedTouches,ge=>Ge===ge.identifier)}function Me(Ne){if(Ne.targetTouches&&Ne.targetTouches[0])return Ne.targetTouches[0].identifier;if(Ne.changedTouches&&Ne.changedTouches[0])return Ne.changedTouches[0].identifier}function Ze(Ne){if(!Ne)return;let Ge=Ne.getElementById("react-draggable-style-el");Ge||(Ge=Ne.createElement("style"),Ge.type="text/css",Ge.id="react-draggable-style-el",Ge.innerHTML=`.react-draggable-transparent-selection *::-moz-selection {all: inherit;}
`,Ge.innerHTML+=`.react-draggable-transparent-selection *::selection {all: inherit;}
`,Ne.getElementsByTagName("head")[0].appendChild(Ge)),Ne.body&&Fe(Ne.body,"react-draggable-transparent-selection")}function Qe(Ne){window.requestAnimationFrame?window.requestAnimationFrame(()=>{oe(Ne)}):oe(Ne)}function oe(Ne){if(Ne)try{if(Ne.body&&rt(Ne.body,"react-draggable-transparent-selection"),Ne.selection)Ne.selection.empty();else{const Ge=(Ne.defaultView||window).getSelection();Ge&&Ge.type!=="Caret"&&Ge.removeAllRanges()}}catch(Ge){}}function Fe(Ne,Ge){Ne.classList?Ne.classList.add(Ge):Ne.className.match(new RegExp(`(?:^|\\s)${Ge}(?!\\S)`))||(Ne.className+=` ${Ge}`)}function rt(Ne,Ge){Ne.classList?Ne.classList.remove(Ge):Ne.className=Ne.className.replace(new RegExp(`(?:^|\\s)${Ge}(?!\\S)`,"g"),"")}},76172:function(dn,yt){"use strict";Object.defineProperty(yt,"__esModule",{value:!0}),yt.browserPrefixToKey=xe,yt.browserPrefixToStyle=he,yt.default=void 0,yt.getPrefix=y;const E=["Moz","Webkit","O","ms"];function y(){var ze,we;let De=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"transform";if(typeof window=="undefined")return"";const ye=(we=(ze=window.document)==null?void 0:ze.documentElement)==null?void 0:we.style;if(!ye||De in ye)return"";for(let se=0;se<E.length;se++)if(xe(De,E[se])in ye)return E[se];return""}function xe(De,ye){return ye?`${ye}${je(De)}`:De}function he(De,ye){return ye?`-${ye.toLowerCase()}-${De}`:De}function je(De){let ye="",ze=!0;for(let we=0;we<De.length;we++)ze?(ye+=De[we].toUpperCase(),ze=!1):De[we]==="-"?ze=!0:ye+=De[we];return ye}var be=yt.default=y()},97510:function(dn,yt){"use strict";Object.defineProperty(yt,"__esModule",{value:!0}),yt.default=E;function E(){}},22013:function(dn,yt,E){"use strict";Object.defineProperty(yt,"__esModule",{value:!0}),yt.canDragX=be,yt.canDragY=De,yt.createCoreData=ze,yt.createDraggableData=we,yt.getBoundPosition=he,yt.getControlPosition=ye,yt.snapToGrid=je;var y=E(80217),xe=E(77026);function he(fe,ke,Ae){if(!fe.props.bounds)return[ke,Ae];let{bounds:Ce}=fe.props;Ce=typeof Ce=="string"?Ce:se(Ce);const me=Ye(fe);if(typeof Ce=="string"){const{ownerDocument:ue}=me,Me=ue.defaultView;let Ze;if(Ce==="parent"?Ze=me.parentNode:Ze=me.getRootNode().querySelector(Ce),!(Ze instanceof Me.HTMLElement))throw new Error('Bounds selector "'+Ce+'" could not find an element.');const Qe=Ze,oe=Me.getComputedStyle(me),Fe=Me.getComputedStyle(Qe);Ce={left:-me.offsetLeft+(0,y.int)(Fe.paddingLeft)+(0,y.int)(oe.marginLeft),top:-me.offsetTop+(0,y.int)(Fe.paddingTop)+(0,y.int)(oe.marginTop),right:(0,xe.innerWidth)(Qe)-(0,xe.outerWidth)(me)-me.offsetLeft+(0,y.int)(Fe.paddingRight)-(0,y.int)(oe.marginRight),bottom:(0,xe.innerHeight)(Qe)-(0,xe.outerHeight)(me)-me.offsetTop+(0,y.int)(Fe.paddingBottom)-(0,y.int)(oe.marginBottom)}}return(0,y.isNum)(Ce.right)&&(ke=Math.min(ke,Ce.right)),(0,y.isNum)(Ce.bottom)&&(Ae=Math.min(Ae,Ce.bottom)),(0,y.isNum)(Ce.left)&&(ke=Math.max(ke,Ce.left)),(0,y.isNum)(Ce.top)&&(Ae=Math.max(Ae,Ce.top)),[ke,Ae]}function je(fe,ke,Ae){const Ce=Math.round(ke/fe[0])*fe[0],me=Math.round(Ae/fe[1])*fe[1];return[Ce,me]}function be(fe){return fe.props.axis==="both"||fe.props.axis==="x"}function De(fe){return fe.props.axis==="both"||fe.props.axis==="y"}function ye(fe,ke,Ae){const Ce=typeof ke=="number"?(0,xe.getTouch)(fe,ke):null;if(typeof ke=="number"&&!Ce)return null;const me=Ye(Ae),ue=Ae.props.offsetParent||me.offsetParent||me.ownerDocument.body;return(0,xe.offsetXYFromParent)(Ce||fe,ue,Ae.props.scale)}function ze(fe,ke,Ae){const Ce=!(0,y.isNum)(fe.lastX),me=Ye(fe);return Ce?{node:me,deltaX:0,deltaY:0,lastX:ke,lastY:Ae,x:ke,y:Ae}:{node:me,deltaX:ke-fe.lastX,deltaY:Ae-fe.lastY,lastX:fe.lastX,lastY:fe.lastY,x:ke,y:Ae}}function we(fe,ke){const Ae=fe.props.scale;return{node:ke.node,x:fe.state.x+ke.deltaX/Ae,y:fe.state.y+ke.deltaY/Ae,deltaX:ke.deltaX/Ae,deltaY:ke.deltaY/Ae,lastX:fe.state.x,lastY:fe.state.y}}function se(fe){return{left:fe.left,top:fe.top,right:fe.right,bottom:fe.bottom}}function Ye(fe){const ke=fe.findDOMNode();if(!ke)throw new Error("<DraggableCore>: Unmounted during event!");return ke}},80217:function(dn,yt){"use strict";Object.defineProperty(yt,"__esModule",{value:!0}),yt.dontSetMe=je,yt.findInArray=E,yt.int=he,yt.isFunction=y,yt.isNum=xe;function E(be,De){for(let ye=0,ze=be.length;ye<ze;ye++)if(De.apply(De,[be[ye],ye,be]))return be[ye]}function y(be){return typeof be=="function"||Object.prototype.toString.call(be)==="[object Function]"}function xe(be){return typeof be=="number"&&!isNaN(be)}function he(be){return parseInt(be,10)}function je(be,De,ye){if(be[De])return new Error(`Invalid prop ${De} passed to ${ye} - do not set this, set it on the child.`)}},51581:function(dn,yt,E){"use strict";Object.defineProperty(yt,"__esModule",{value:!0});var y=function(){function fe(ke,Ae){for(var Ce=0;Ce<Ae.length;Ce++){var me=Ae[Ce];me.enumerable=me.enumerable||!1,me.configurable=!0,"value"in me&&(me.writable=!0),Object.defineProperty(ke,me.key,me)}}return function(ke,Ae,Ce){return Ae&&fe(ke.prototype,Ae),Ce&&fe(ke,Ce),ke}}(),xe=E(59301),he=De(xe),je=E(12708),be=De(je);function De(fe){return fe&&fe.__esModule?fe:{default:fe}}function ye(fe,ke){var Ae={};for(var Ce in fe)ke.indexOf(Ce)>=0||Object.prototype.hasOwnProperty.call(fe,Ce)&&(Ae[Ce]=fe[Ce]);return Ae}function ze(fe,ke){if(!(fe instanceof ke))throw new TypeError("Cannot call a class as a function")}function we(fe,ke){if(!fe)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return ke&&(typeof ke=="object"||typeof ke=="function")?ke:fe}function se(fe,ke){if(typeof ke!="function"&&ke!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof ke);fe.prototype=Object.create(ke&&ke.prototype,{constructor:{value:fe,enumerable:!1,writable:!0,configurable:!0}}),ke&&(Object.setPrototypeOf?Object.setPrototypeOf(fe,ke):fe.__proto__=ke)}var Ye=function(fe){se(ke,fe);function ke(Ae){ze(this,ke);var Ce=we(this,(ke.__proto__||Object.getPrototypeOf(ke)).call(this,Ae));return Ce.scrollListener=Ce.scrollListener.bind(Ce),Ce.eventListenerOptions=Ce.eventListenerOptions.bind(Ce),Ce.mousewheelListener=Ce.mousewheelListener.bind(Ce),Ce}return y(ke,[{key:"componentDidMount",value:function(){this.pageLoaded=this.props.pageStart,this.options=this.eventListenerOptions(),this.attachScrollListener()}},{key:"componentDidUpdate",value:function(){if(this.props.isReverse&&this.loadMore){var Ce=this.getParentElement(this.scrollComponent);Ce.scrollTop=Ce.scrollHeight-this.beforeScrollHeight+this.beforeScrollTop,this.loadMore=!1}this.attachScrollListener()}},{key:"componentWillUnmount",value:function(){this.detachScrollListener(),this.detachMousewheelListener()}},{key:"isPassiveSupported",value:function(){var Ce=!1,me={get passive(){Ce=!0}};try{document.addEventListener("test",null,me),document.removeEventListener("test",null,me)}catch(ue){}return Ce}},{key:"eventListenerOptions",value:function(){var Ce=this.props.useCapture;return this.isPassiveSupported()&&(Ce={useCapture:this.props.useCapture,passive:!0}),Ce}},{key:"setDefaultLoader",value:function(Ce){this.defaultLoader=Ce}},{key:"detachMousewheelListener",value:function(){var Ce=window;this.props.useWindow===!1&&(Ce=this.scrollComponent.parentNode),Ce.removeEventListener("mousewheel",this.mousewheelListener,this.options?this.options:this.props.useCapture)}},{key:"detachScrollListener",value:function(){var Ce=window;this.props.useWindow===!1&&(Ce=this.getParentElement(this.scrollComponent)),Ce.removeEventListener("scroll",this.scrollListener,this.options?this.options:this.props.useCapture),Ce.removeEventListener("resize",this.scrollListener,this.options?this.options:this.props.useCapture)}},{key:"getParentElement",value:function(Ce){var me=this.props.getScrollParent&&this.props.getScrollParent();return me!=null?me:Ce&&Ce.parentNode}},{key:"filterProps",value:function(Ce){return Ce}},{key:"attachScrollListener",value:function(){var Ce=this.getParentElement(this.scrollComponent);if(!(!this.props.hasMore||!Ce)){var me=window;this.props.useWindow===!1&&(me=Ce),me.addEventListener("mousewheel",this.mousewheelListener,this.options?this.options:this.props.useCapture),me.addEventListener("scroll",this.scrollListener,this.options?this.options:this.props.useCapture),me.addEventListener("resize",this.scrollListener,this.options?this.options:this.props.useCapture),this.props.initialLoad&&this.scrollListener()}}},{key:"mousewheelListener",value:function(Ce){Ce.deltaY===1&&!this.isPassiveSupported()&&Ce.preventDefault()}},{key:"scrollListener",value:function(){var Ce=this.scrollComponent,me=window,ue=this.getParentElement(Ce),Me=void 0;if(this.props.useWindow){var Ze=document.documentElement||document.body.parentNode||document.body,Qe=me.pageYOffset!==void 0?me.pageYOffset:Ze.scrollTop;this.props.isReverse?Me=Qe:Me=this.calculateOffset(Ce,Qe)}else this.props.isReverse?Me=ue.scrollTop:Me=Ce.scrollHeight-ue.scrollTop-ue.clientHeight;Me<Number(this.props.threshold)&&Ce&&Ce.offsetParent!==null&&(this.detachScrollListener(),this.beforeScrollHeight=ue.scrollHeight,this.beforeScrollTop=ue.scrollTop,typeof this.props.loadMore=="function"&&(this.props.loadMore(this.pageLoaded+=1),this.loadMore=!0))}},{key:"calculateOffset",value:function(Ce,me){return Ce?this.calculateTopPosition(Ce)+(Ce.offsetHeight-me-window.innerHeight):0}},{key:"calculateTopPosition",value:function(Ce){return Ce?Ce.offsetTop+this.calculateTopPosition(Ce.offsetParent):0}},{key:"render",value:function(){var Ce=this,me=this.filterProps(this.props),ue=me.children,Me=me.element,Ze=me.hasMore,Qe=me.initialLoad,oe=me.isReverse,Fe=me.loader,rt=me.loadMore,Ne=me.pageStart,Ge=me.ref,ge=me.threshold,Oe=me.useCapture,Ve=me.useWindow,Pe=me.getScrollParent,it=ye(me,["children","element","hasMore","initialLoad","isReverse","loader","loadMore","pageStart","ref","threshold","useCapture","useWindow","getScrollParent"]);it.ref=function(pe){Ce.scrollComponent=pe,Ge&&Ge(pe)};var Le=[ue];return Ze&&(Fe?oe?Le.unshift(Fe):Le.push(Fe):this.defaultLoader&&(oe?Le.unshift(this.defaultLoader):Le.push(this.defaultLoader))),he.default.createElement(Me,it,Le)}}]),ke}(xe.Component);Ye.propTypes={children:be.default.node.isRequired,element:be.default.node,hasMore:be.default.bool,initialLoad:be.default.bool,isReverse:be.default.bool,loader:be.default.node,loadMore:be.default.func.isRequired,pageStart:be.default.number,ref:be.default.func,getScrollParent:be.default.func,threshold:be.default.number,useCapture:be.default.bool,useWindow:be.default.bool},Ye.defaultProps={element:"div",hasMore:!1,initialLoad:!0,pageStart:0,ref:null,threshold:250,useWindow:!0,isReverse:!1,useCapture:!1,loader:null,getScrollParent:null},yt.default=Ye,dn.exports=yt.default},26724:function(dn,yt,E){dn.exports=E(51581)},80010:function(dn,yt,E){"use strict";yt.__esModule=!0,yt.default=void 0;var y=be(E(59301)),xe=E(96249),he=E(73638),je=E(6217);function be(Ae){return Ae&&Ae.__esModule?Ae:{default:Ae}}function De(){return De=Object.assign||function(Ae){for(var Ce=1;Ce<arguments.length;Ce++){var me=arguments[Ce];for(var ue in me)Object.prototype.hasOwnProperty.call(me,ue)&&(Ae[ue]=me[ue])}return Ae},De.apply(this,arguments)}function ye(Ae,Ce){var me=Object.keys(Ae);if(Object.getOwnPropertySymbols){var ue=Object.getOwnPropertySymbols(Ae);Ce&&(ue=ue.filter(function(Me){return Object.getOwnPropertyDescriptor(Ae,Me).enumerable})),me.push.apply(me,ue)}return me}function ze(Ae){for(var Ce=1;Ce<arguments.length;Ce++){var me=arguments[Ce]!=null?arguments[Ce]:{};Ce%2?ye(Object(me),!0).forEach(function(ue){fe(Ae,ue,me[ue])}):Object.getOwnPropertyDescriptors?Object.defineProperties(Ae,Object.getOwnPropertyDescriptors(me)):ye(Object(me)).forEach(function(ue){Object.defineProperty(Ae,ue,Object.getOwnPropertyDescriptor(me,ue))})}return Ae}function we(Ae,Ce){if(Ae==null)return{};var me={},ue=Object.keys(Ae),Me,Ze;for(Ze=0;Ze<ue.length;Ze++)Me=ue[Ze],!(Ce.indexOf(Me)>=0)&&(me[Me]=Ae[Me]);return me}function se(Ae){if(Ae===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return Ae}function Ye(Ae,Ce){Ae.prototype=Object.create(Ce.prototype),Ae.prototype.constructor=Ae,Ae.__proto__=Ce}function fe(Ae,Ce,me){return Ce in Ae?Object.defineProperty(Ae,Ce,{value:me,enumerable:!0,configurable:!0,writable:!0}):Ae[Ce]=me,Ae}var ke=function(Ae){Ye(Ce,Ae);function Ce(){for(var ue,Me=arguments.length,Ze=new Array(Me),Qe=0;Qe<Me;Qe++)Ze[Qe]=arguments[Qe];return ue=Ae.call.apply(Ae,[this].concat(Ze))||this,fe(se(ue),"state",void 0),fe(se(ue),"lastHandleRect",null),fe(se(ue),"slack",null),ue}var me=Ce.prototype;return me.componentWillUnmount=function(){this.resetData()},me.lockAspectRatio=function(Me,Ze,Qe){return Ze=Me/Qe,Me=Ze*Qe,[Me,Ze]},me.resetData=function(){this.lastHandleRect=this.slack=null},me.runConstraints=function(Me,Ze){var Qe=[this.props.minConstraints,this.props.maxConstraints],oe=Qe[0],Fe=Qe[1];if(!oe&&!Fe)return[Me,Ze];if(this.props.lockAspectRatio){var rt=Ze===this.props.height;if(rt){var Ne=this.props.width/this.props.height;Ze=Me/Ne,Me=Ze*Ne}else{var Ge=this.props.height/this.props.width;Me=Ze/Ge,Ze=Me*Ge}}var ge=Me,Oe=Ze,Ve=this.slack||[0,0],Pe=Ve[0],it=Ve[1];return Me+=Pe,Ze+=it,oe&&(Me=Math.max(oe[0],Me),Ze=Math.max(oe[1],Ze)),Fe&&(Me=Math.min(Fe[0],Me),Ze=Math.min(Fe[1],Ze)),this.slack=[Pe+(ge-Me),it+(Oe-Ze)],[Me,Ze]},me.resizeHandler=function(Me,Ze){var Qe=this;return function(oe,Fe){var rt=Fe.node,Ne=Fe.deltaX,Ge=Fe.deltaY;Me==="onResizeStart"&&Qe.resetData();var ge=(Qe.props.axis==="both"||Qe.props.axis==="x")&&Ze!=="n"&&Ze!=="s",Oe=(Qe.props.axis==="both"||Qe.props.axis==="y")&&Ze!=="e"&&Ze!=="w";if(!(!ge&&!Oe)){var Ve=Ze[0],Pe=Ze[Ze.length-1],it=rt.getBoundingClientRect();if(Qe.lastHandleRect!=null){if(Pe==="w"){var Le=it.left-Qe.lastHandleRect.left;Ne+=Le}if(Ve==="n"){var pe=it.top-Qe.lastHandleRect.top;Ge+=pe}}Qe.lastHandleRect=it,Pe==="w"&&(Ne=-Ne),Ve==="n"&&(Ge=-Ge);var qe=Qe.props.width+(ge?Ne/Qe.props.transformScale:0),Xe=Qe.props.height+(Oe?Ge/Qe.props.transformScale:0),Ct=Qe.runConstraints(qe,Xe);qe=Ct[0],Xe=Ct[1];var Yt=qe!==Qe.props.width||Xe!==Qe.props.height,We=typeof Qe.props[Me]=="function"?Qe.props[Me]:null,Be=Me==="onResize"&&!Yt;We&&!Be&&(typeof oe.persist=="function"&&oe.persist(),We(oe,{node:rt,size:{width:qe,height:Xe},handle:Ze})),Me==="onResizeStop"&&Qe.resetData()}}},me.renderResizeHandle=function(Me){var Ze=this.props.handle;return Ze?typeof Ze=="function"?Ze(Me):Ze:y.default.createElement("span",{className:"react-resizable-handle react-resizable-handle-"+Me})},me.render=function(){var Me=this,Ze=this.props,Qe=Ze.children,oe=Ze.className,Fe=Ze.draggableOpts,rt=Ze.width,Ne=Ze.height,Ge=Ze.handle,ge=Ze.handleSize,Oe=Ze.lockAspectRatio,Ve=Ze.axis,Pe=Ze.minConstraints,it=Ze.maxConstraints,Le=Ze.onResize,pe=Ze.onResizeStop,qe=Ze.onResizeStart,Xe=Ze.resizeHandles,Ct=Ze.transformScale,Yt=we(Ze,["children","className","draggableOpts","width","height","handle","handleSize","lockAspectRatio","axis","minConstraints","maxConstraints","onResize","onResizeStop","onResizeStart","resizeHandles","transformScale"]);return(0,he.cloneElement)(Qe,ze(ze({},Yt),{},{className:(oe?oe+" ":"")+"react-resizable",children:[].concat(Qe.props.children,Xe.map(function(We){return y.default.createElement(xe.DraggableCore,De({},Fe,{key:"resizableHandle-"+We,onStop:Me.resizeHandler("onResizeStop",We),onStart:Me.resizeHandler("onResizeStart",We),onDrag:Me.resizeHandler("onResize",We)}),Me.renderResizeHandle(We))}))}))},Ce}(y.default.Component);yt.default=ke,fe(ke,"propTypes",je.resizableProps),fe(ke,"defaultProps",{handleSize:[20,20],lockAspectRatio:!1,axis:"both",minConstraints:[20,20],maxConstraints:[1/0,1/0],resizeHandles:["se"],transformScale:1})},60842:function(dn,yt,E){"use strict";var y;y=!0,yt.default=void 0;var xe=ze(E(59301)),he=De(E(12708)),je=De(E(80010)),be=E(6217);function De(ue){return ue&&ue.__esModule?ue:{default:ue}}function ye(){if(typeof WeakMap!="function")return null;var ue=new WeakMap;return ye=function(){return ue},ue}function ze(ue){if(ue&&ue.__esModule)return ue;if(ue===null||typeof ue!="object"&&typeof ue!="function")return{default:ue};var Me=ye();if(Me&&Me.has(ue))return Me.get(ue);var Ze={},Qe=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var oe in ue)if(Object.prototype.hasOwnProperty.call(ue,oe)){var Fe=Qe?Object.getOwnPropertyDescriptor(ue,oe):null;Fe&&(Fe.get||Fe.set)?Object.defineProperty(Ze,oe,Fe):Ze[oe]=ue[oe]}return Ze.default=ue,Me&&Me.set(ue,Ze),Ze}function we(){return we=Object.assign||function(ue){for(var Me=1;Me<arguments.length;Me++){var Ze=arguments[Me];for(var Qe in Ze)Object.prototype.hasOwnProperty.call(Ze,Qe)&&(ue[Qe]=Ze[Qe])}return ue},we.apply(this,arguments)}function se(ue,Me){var Ze=Object.keys(ue);if(Object.getOwnPropertySymbols){var Qe=Object.getOwnPropertySymbols(ue);Me&&(Qe=Qe.filter(function(oe){return Object.getOwnPropertyDescriptor(ue,oe).enumerable})),Ze.push.apply(Ze,Qe)}return Ze}function Ye(ue){for(var Me=1;Me<arguments.length;Me++){var Ze=arguments[Me]!=null?arguments[Me]:{};Me%2?se(Object(Ze),!0).forEach(function(Qe){Ce(ue,Qe,Ze[Qe])}):Object.getOwnPropertyDescriptors?Object.defineProperties(ue,Object.getOwnPropertyDescriptors(Ze)):se(Object(Ze)).forEach(function(Qe){Object.defineProperty(ue,Qe,Object.getOwnPropertyDescriptor(Ze,Qe))})}return ue}function fe(ue,Me){if(ue==null)return{};var Ze={},Qe=Object.keys(ue),oe,Fe;for(Fe=0;Fe<Qe.length;Fe++)oe=Qe[Fe],!(Me.indexOf(oe)>=0)&&(Ze[oe]=ue[oe]);return Ze}function ke(ue){if(ue===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return ue}function Ae(ue,Me){ue.prototype=Object.create(Me.prototype),ue.prototype.constructor=ue,ue.__proto__=Me}function Ce(ue,Me,Ze){return Me in ue?Object.defineProperty(ue,Me,{value:Ze,enumerable:!0,configurable:!0,writable:!0}):ue[Me]=Ze,ue}var me=function(ue){Ae(Me,ue);function Me(){for(var Qe,oe=arguments.length,Fe=new Array(oe),rt=0;rt<oe;rt++)Fe[rt]=arguments[rt];return Qe=ue.call.apply(ue,[this].concat(Fe))||this,Ce(ke(Qe),"state",{width:Qe.props.width,height:Qe.props.height,propsWidth:Qe.props.width,propsHeight:Qe.props.height}),Ce(ke(Qe),"onResize",function(Ne,Ge){var ge=Ge.size;Qe.props.onResize?(Ne.persist&&Ne.persist(),Qe.setState(ge,function(){return Qe.props.onResize&&Qe.props.onResize(Ne,Ge)})):Qe.setState(ge)}),Qe}Me.getDerivedStateFromProps=function(oe,Fe){return Fe.propsWidth!==oe.width||Fe.propsHeight!==oe.height?{width:oe.width,height:oe.height,propsWidth:oe.width,propsHeight:oe.height}:null};var Ze=Me.prototype;return Ze.render=function(){var oe=this.props,Fe=oe.handle,rt=oe.handleSize,Ne=oe.onResize,Ge=oe.onResizeStart,ge=oe.onResizeStop,Oe=oe.draggableOpts,Ve=oe.minConstraints,Pe=oe.maxConstraints,it=oe.lockAspectRatio,Le=oe.axis,pe=oe.width,qe=oe.height,Xe=oe.resizeHandles,Ct=oe.style,Yt=oe.transformScale,We=fe(oe,["handle","handleSize","onResize","onResizeStart","onResizeStop","draggableOpts","minConstraints","maxConstraints","lockAspectRatio","axis","width","height","resizeHandles","style","transformScale"]);return xe.createElement(je.default,{axis:Le,draggableOpts:Oe,handle:Fe,handleSize:rt,height:this.state.height,lockAspectRatio:it,maxConstraints:Pe,minConstraints:Ve,onResizeStart:Ge,onResize:this.onResize,onResizeStop:ge,resizeHandles:Xe,transformScale:Yt,width:this.state.width},xe.createElement("div",we({},We,{style:Ye(Ye({},Ct),{},{width:this.state.width+"px",height:this.state.height+"px"})})))},Me}(xe.Component);yt.default=me,Ce(me,"propTypes",Ye(Ye({},be.resizableProps),{},{children:he.default.element}))},6217:function(dn,yt,E){"use strict";yt.__esModule=!0,yt.resizableProps=void 0;var y=he(E(12708)),xe=E(96249);function he(be){return be&&be.__esModule?be:{default:be}}var je={axis:y.default.oneOf(["both","x","y","none"]),className:y.default.string,children:y.default.element.isRequired,draggableOpts:y.default.shape({allowAnyClick:y.default.bool,cancel:y.default.string,children:y.default.node,disabled:y.default.bool,enableUserSelectHack:y.default.bool,offsetParent:y.default.node,grid:y.default.arrayOf(y.default.number),handle:y.default.string,nodeRef:y.default.object,onStart:y.default.func,onDrag:y.default.func,onStop:y.default.func,onMouseDown:y.default.func,scale:y.default.number}),height:y.default.number.isRequired,handle:y.default.oneOfType([y.default.node,y.default.func]),handleSize:y.default.arrayOf(y.default.number),lockAspectRatio:y.default.bool,maxConstraints:y.default.arrayOf(y.default.number),minConstraints:y.default.arrayOf(y.default.number),onResizeStop:y.default.func,onResizeStart:y.default.func,onResize:y.default.func,resizeHandles:y.default.arrayOf(y.default.oneOf(["s","w","e","n","sw","nw","se","ne"])),transformScale:y.default.number,width:y.default.number.isRequired};yt.resizableProps=je},73638:function(dn,yt,E){"use strict";yt.__esModule=!0,yt.cloneElement=De;var y=xe(E(59301));function xe(ye){return ye&&ye.__esModule?ye:{default:ye}}function he(ye,ze){var we=Object.keys(ye);if(Object.getOwnPropertySymbols){var se=Object.getOwnPropertySymbols(ye);ze&&(se=se.filter(function(Ye){return Object.getOwnPropertyDescriptor(ye,Ye).enumerable})),we.push.apply(we,se)}return we}function je(ye){for(var ze=1;ze<arguments.length;ze++){var we=arguments[ze]!=null?arguments[ze]:{};ze%2?he(Object(we),!0).forEach(function(se){be(ye,se,we[se])}):Object.getOwnPropertyDescriptors?Object.defineProperties(ye,Object.getOwnPropertyDescriptors(we)):he(Object(we)).forEach(function(se){Object.defineProperty(ye,se,Object.getOwnPropertyDescriptor(we,se))})}return ye}function be(ye,ze,we){return ze in ye?Object.defineProperty(ye,ze,{value:we,enumerable:!0,configurable:!0,writable:!0}):ye[ze]=we,ye}function De(ye,ze){return ze.style&&ye.props.style&&(ze.style=je(je({},ye.props.style),ze.style)),ze.className&&ye.props.className&&(ze.className=ye.props.className+" "+ze.className),y.default.cloneElement(ye,ze)}},9221:function(dn,yt,E){"use strict";dn.exports=function(){throw new Error("Don't instantiate Resizable directly! Use require('react-resizable').Resizable")},dn.exports.Resizable=E(80010).default,dn.exports.ResizableBox=E(60842).default},25510:function(dn){"use strict";dn.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAiwAAAIsCAYAAADRd/LpAAAgAElEQVR4Xuyda5BtVXXvV3efc+CAYBQRjaJBeWjiVVKVB0mMUV6GKv0cvVVG/XTrViUlSd0bqUoQg4KapKJW8j3mWinNx1SRSgkciKARYiqi1ycvFZSggHgFDofz6L71m3v/9xk9eq695ty91t67u8eimu6z91zzMcaYY/znGGPOudLEExQICgQFggJBgaBAUGDJKbBC/26+98jGkvczuhcUCAoEBYICQYGgwB6lwJUXnroSgGWPMj+GHRQICgQFggJBgZ1CgS2A5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OHLvplpsDYGG30Lrrrms//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+z2O2+zbbZ5hy2x5FT7xS9+YVtsvkVwdtzyp1tst/d/MOQq2XD6dPvZz061iePH2zVXX2OXX3G5HXHkkbbV1l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XAUEq5lCzUNhj0dQmhUQBRArQWBalBCGoAtBqlqAZAuM9QLzKlvCjgzaHDceCgydslc+Eqk8nNoSiYIRn7r9PpUCEiAn/vMxvAepN1BYTgFkBuUYoUApoCEBYcWEUpuSaRSK/UqIBkQghbZX2W7jhgKKWylCx9WwOPdoTQhylIE0IRbemzzGe9La+oTHGA+aWjBIkE9Byl5JSEw6EaFaRHCCFs+3lH0h0FTHK6bjIFhoNtm8pTOQd8wgGiJsBPtSvLrAIPe6vqOw8YguGg5YDx1oCVl+OCA4SoCb1PAcO6Zt6SAe0IpQ9TigcBRANwHhSxfGaUc8A1B1g4s0RC8B8l5JQE9/mWzFF/iw/9hOjrGkCiYKDmQz9AaxKCqpSSagAtP/S7njRllIIUEELZgT+VgqZwIDeMh34JUUlAr1FaRg/9noxm8bUy1esq6+1cK5vORiS8/FrZEy7fmbzOrpUBqgGImhCoCUqulaU8zSBSWbpEh/SqVYmVz+0700rxpd7RM4z45ng3hz3BJSREoadQSDkSZKBQgPIKUAeCS8IHMiElE16aBZeAnICTWQouCYHUJMQ0Ci9vCy6JlIJKOJOAkqNMcGkrwCTMFJdYCCwtBZilBZbsO5NWwiQPoaUFlsQouGQSS8oTkzCzRHAJGIWVtLTgEryOAtpiwSUTWjJhJqi14JKnKCKEFoKgEITLlxDk63laICXIh4Hme0Nw6d3RvzOl/R8AdGoXzom1qQAAAABJRU5ErkJggg=="},96622:function(dn){"use strict";dn.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABwAAAAUCAYAAACeXl35AAAAAXNSR0IArs4c6QAAAI5JREFUSEtjZKASMI65Jnl2idZzQsYxElJArLxR/CVjxr8szwhZSlULQY4jZCnVLSRkKU0sxGcpzSzEZSkjKLKJTRjkqEOPU5pbiO5TuliIbCndLIRZOnwthCUeuvgQOaXS3EKMbEFO3sKmB1t+xlau0qykwVWI08RCfDUG1S2ka/VEyDJw5qdWoiG2iQEA4ntvEVdpqFkAAAAASUVORK5CYII="},12971:function(dn){"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V+0cZzm6hz59bSNvWyYtW2O+cX5pjlvTBUDZciLHXxyLARC+Q4+gWEVne9GsdQHKfyTcn/QOo7vUqbqS7sqqy/kzyA2Ttyp/LUtfoUmaOqHAVtj9sYbq1F/OlQxBvsCJ84/STL274zDWODWOD/uF8xlwpf6v2flucwfSU6+tXZAsBYsSX5wh6TQ+o/zoHygTub4zP+vSs7X2BWZ9+2vyyHOh/orU2G6/sPeSOntWeNpYpLmQ/XObrBP7g/XU3ikL2v8AIAf8etAcp/JNxxxyddj4b5J3GSmF6y3TheG4qWOHGPTX2rosmtKoiMdkJxA1t++BGa0idji4YDQlSF8z4PY6FkfxlWWUG259vIPiGwcfoKU4gNDAssOZcTIRWhaOQUU35lHZIQpWuOwciOqDV7h9zmNb0sGHZHpivpY0fNdbZJkd7HLJcaxq83fSwZ4nmeSMI0D5XJfGcETmxyFjSUUrRtL2NI5/d9h0Jp2HSOBuxSTIzMxvbbIsgzLL8tPCgrSMkyzKDnHW9qtcNLPCDHIqQwQjNIIVkQ7FfNI9zl59TWeBD11jTqR1tIvrKda2d/e3kmOOIW3vLiR7E6asQTyjjNeqDGMKFKrWCariPcqrz5O1tik2blTb5tPGx2rgU9VjmPUEWSWYGmoKSN61fBSYZgiSnsRSlIZRBRzyuRo2tRE52nlB5NeOOObkDzCzPhmY5j2OVqo5FTvpevk3v+nNcnStciqioqKiqi87CieF7hkarXNVUVFTp16flP8AUX7oqfRU+qc4DIwzGkG5HNciKiovX7/hf8VPsqL0VFRUVEVOYc6+c+OOOOOOOOOOOOOOOOOOOOOOOObjjzFTMhhY573uRqI1FXrtevk7r+mtanaucqoiIiqqoic7BCeZ7RjarnOVERETr06/lf8AET7qq/RE+q84EIwLHEI5GtaiqqqvT7fhP9VfsiJ1VVVERFVef//Z"},69429:function(dn,yt,E){"use strict";dn.exports=E.p+"static/lock.1b5026ee.png"},16722:function(dn,yt,E){"use strict";E.d(yt,{Z:function(){return ze}});const y=we=>typeof we=="object"&&we!=null&&we.nodeType===1,xe=(we,se)=>(!se||we!=="hidden")&&we!=="visible"&&we!=="clip",he=(we,se)=>{if(we.clientHeight<we.scrollHeight||we.clientWidth<we.scrollWidth){const Ye=getComputedStyle(we,null);return xe(Ye.overflowY,se)||xe(Ye.overflowX,se)||(fe=>{const ke=(Ae=>{if(!Ae.ownerDocument||!Ae.ownerDocument.defaultView)return null;try{return Ae.ownerDocument.defaultView.frameElement}catch(Ce){return null}})(fe);return!!ke&&(ke.clientHeight<fe.scrollHeight||ke.clientWidth<fe.scrollWidth)})(we)}return!1},je=(we,se,Ye,fe,ke,Ae,Ce,me)=>Ae<we&&Ce>se||Ae>we&&Ce<se?0:Ae<=we&&me<=Ye||Ce>=se&&me>=Ye?Ae-we-fe:Ce>se&&me<Ye||Ae<we&&me>Ye?Ce-se+ke:0,be=we=>{const se=we.parentElement;return se==null?we.getRootNode().host||null:se},De=(we,se)=>{var Ye,fe,ke,Ae;if(typeof document=="undefined")return[];const{scrollMode:Ce,block:me,inline:ue,boundary:Me,skipOverflowHiddenElements:Ze}=se,Qe=typeof Me=="function"?Me:lt=>lt!==Me;if(!y(we))throw new TypeError("Invalid target");const oe=document.scrollingElement||document.documentElement,Fe=[];let rt=we;for(;y(rt)&&Qe(rt);){if(rt=be(rt),rt===oe){Fe.push(rt);break}rt!=null&&rt===document.body&&he(rt)&&!he(document.documentElement)||rt!=null&&he(rt,Ze)&&Fe.push(rt)}const Ne=(fe=(Ye=window.visualViewport)==null?void 0:Ye.width)!=null?fe:innerWidth,Ge=(Ae=(ke=window.visualViewport)==null?void 0:ke.height)!=null?Ae:innerHeight,{scrollX:ge,scrollY:Oe}=window,{height:Ve,width:Pe,top:it,right:Le,bottom:pe,left:qe}=we.getBoundingClientRect(),{top:Xe,right:Ct,bottom:Yt,left:We}=(lt=>{const Se=window.getComputedStyle(lt);return{top:parseFloat(Se.scrollMarginTop)||0,right:parseFloat(Se.scrollMarginRight)||0,bottom:parseFloat(Se.scrollMarginBottom)||0,left:parseFloat(Se.scrollMarginLeft)||0}})(we);let Be=me==="start"||me==="nearest"?it-Xe:me==="end"?pe+Yt:it+Ve/2-Xe+Yt,Dt=ue==="center"?qe+Pe/2-We+Ct:ue==="end"?Le+Ct:qe-We;const Zt=[];for(let lt=0;lt<Fe.length;lt++){const Se=Fe[lt],{height:Re,width:at,top:jt,right:ft,bottom:Wt,left:xt}=Se.getBoundingClientRect();if(Ce==="if-needed"&&it>=0&&qe>=0&&pe<=Ge&&Le<=Ne&&(Se===oe&&!he(Se)||it>=jt&&pe<=Wt&&qe>=xt&&Le<=ft))return Zt;const $t=getComputedStyle(Se),Rt=parseInt($t.borderLeftWidth,10),ce=parseInt($t.borderTopWidth,10),ne=parseInt($t.borderRightWidth,10),te=parseInt($t.borderBottomWidth,10);let le=0,ve=0;const re="offsetWidth"in Se?Se.offsetWidth-Se.clientWidth-Rt-ne:0,de="offsetHeight"in Se?Se.offsetHeight-Se.clientHeight-ce-te:0,Ue="offsetWidth"in Se?Se.offsetWidth===0?0:at/Se.offsetWidth:0,pt="offsetHeight"in Se?Se.offsetHeight===0?0:Re/Se.offsetHeight:0;if(oe===Se)le=me==="start"?Be:me==="end"?Be-Ge:me==="nearest"?je(Oe,Oe+Ge,Ge,ce,te,Oe+Be,Oe+Be+Ve,Ve):Be-Ge/2,ve=ue==="start"?Dt:ue==="center"?Dt-Ne/2:ue==="end"?Dt-Ne:je(ge,ge+Ne,Ne,Rt,ne,ge+Dt,ge+Dt+Pe,Pe),le=Math.max(0,le+Oe),ve=Math.max(0,ve+ge);else{le=me==="start"?Be-jt-ce:me==="end"?Be-Wt+te+de:me==="nearest"?je(jt,Wt,Re,ce,te+de,Be,Be+Ve,Ve):Be-(jt+Re/2)+de/2,ve=ue==="start"?Dt-xt-Rt:ue==="center"?Dt-(xt+at/2)+re/2:ue==="end"?Dt-ft+ne+re:je(xt,ft,at,Rt,ne+re,Dt,Dt+Pe,Pe);const{scrollLeft:et,scrollTop:tt}=Se;le=pt===0?0:Math.max(0,Math.min(tt+le/pt,Se.scrollHeight-Re/pt+de)),ve=Ue===0?0:Math.max(0,Math.min(et+ve/Ue,Se.scrollWidth-at/Ue+re)),Be+=tt-le,Dt+=et-ve}Zt.push({el:Se,top:le,left:ve})}return Zt},ye=we=>we===!1?{block:"end",inline:"nearest"}:(se=>se===Object(se)&&Object.keys(se).length!==0)(we)?we:{block:"start",inline:"nearest"};function ze(we,se){if(!we.isConnected||!(ke=>{let Ae=ke;for(;Ae&&Ae.parentNode;){if(Ae.parentNode===document)return!0;Ae=Ae.parentNode instanceof ShadowRoot?Ae.parentNode.host:Ae.parentNode}return!1})(we))return;const Ye=(ke=>{const Ae=window.getComputedStyle(ke);return{top:parseFloat(Ae.scrollMarginTop)||0,right:parseFloat(Ae.scrollMarginRight)||0,bottom:parseFloat(Ae.scrollMarginBottom)||0,left:parseFloat(Ae.scrollMarginLeft)||0}})(we);if((ke=>typeof ke=="object"&&typeof ke.behavior=="function")(se))return se.behavior(De(we,se));const fe=typeof se=="boolean"||se==null?void 0:se.behavior;for(const{el:ke,top:Ae,left:Ce}of De(we,ye(se))){const me=Ae-Ye.top+Ye.bottom,ue=Ce-Ye.left+Ye.right;ke.scroll({top:me,left:ue,behavior:fe})}}}}]);
}());