|
|
!(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 Ku=(mn,Ct,E)=>Ct in mn?ac(mn,Ct,{enumerable:!0,configurable:!0,writable:!0,value:E}):mn[Ct]=E,Es=(mn,Ct)=>{for(var E in Ct||(Ct={}))Uu.call(Ct,E)&&Ku(mn,E,Ct[E]);if(xu)for(var E of xu(Ct))Yu.call(Ct,E)&&Ku(mn,E,Ct[E]);return mn},Tu=(mn,Ct)=>lc(mn,sc(Ct));var _u=(mn,Ct)=>{var E={};for(var y in mn)Uu.call(mn,y)&&Ct.indexOf(y)<0&&(E[y]=mn[y]);if(mn!=null&&xu)for(var y of xu(mn))Ct.indexOf(y)<0&&Yu.call(mn,y)&&(E[y]=mn[y]);return E};(self.webpackChunk=self.webpackChunk||[]).push([[5825],{89489:function(mn,Ct,E){"use strict";E.d(Ct,{Z:function(){return je}});var y=E(60499),Ae=E(59301),pe={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"},ze=pe,Ce=E(7657),Fe=function(se,Ue){return Ae.createElement(Ce.Z,(0,y.Z)({},se,{ref:Ue,icon:ze}))},ge=Ae.forwardRef(Fe),je=ge},59477:function(mn,Ct,E){"use strict";E.d(Ct,{Z:function(){return je}});var y=E(60499),Ae=E(59301),pe={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"},ze=pe,Ce=E(7657),Fe=function(se,Ue){return Ae.createElement(Ce.Z,(0,y.Z)({},se,{ref:Ue,icon:ze}))},ge=Ae.forwardRef(Fe),je=ge},40001:function(mn,Ct,E){"use strict";E.d(Ct,{Z:function(){return je}});var y=E(60499),Ae=E(59301),pe={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"},ze=pe,Ce=E(7657),Fe=function(se,Ue){return Ae.createElement(Ce.Z,(0,y.Z)({},se,{ref:Ue,icon:ze}))},ge=Ae.forwardRef(Fe),je=ge},26227:function(mn,Ct,E){"use strict";E.d(Ct,{Z:function(){return je}});var y=E(60499),Ae=E(59301),pe={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"},ze=pe,Ce=E(7657),Fe=function(se,Ue){return Ae.createElement(Ce.Z,(0,y.Z)({},se,{ref:Ue,icon:ze}))},ge=Ae.forwardRef(Fe),je=ge},49198:function(mn,Ct,E){"use strict";E.d(Ct,{Z:function(){return je}});var y=E(60499),Ae=E(59301),pe={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"},ze=pe,Ce=E(7657),Fe=function(se,Ue){return Ae.createElement(Ce.Z,(0,y.Z)({},se,{ref:Ue,icon:ze}))},ge=Ae.forwardRef(Fe),je=ge},41464:function(mn,Ct,E){"use strict";E.d(Ct,{Z:function(){return je}});var y=E(60499),Ae=E(59301),pe={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"},ze=pe,Ce=E(7657),Fe=function(se,Ue){return Ae.createElement(Ce.Z,(0,y.Z)({},se,{ref:Ue,icon:ze}))},ge=Ae.forwardRef(Fe),je=ge},87169:function(mn,Ct,E){"use strict";E.d(Ct,{Z:function(){return je}});var y=E(60499),Ae=E(59301),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:"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"},ze=pe,Ce=E(7657),Fe=function(se,Ue){return Ae.createElement(Ce.Z,(0,y.Z)({},se,{ref:Ue,icon:ze}))},ge=Ae.forwardRef(Fe),je=ge},73331:function(mn,Ct,E){"use strict";E.d(Ct,{Z:function(){return je}});var y=E(60499),Ae=E(59301),pe={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"},ze=pe,Ce=E(7657),Fe=function(se,Ue){return Ae.createElement(Ce.Z,(0,y.Z)({},se,{ref:Ue,icon:ze}))},ge=Ae.forwardRef(Fe),je=ge},15277:function(mn,Ct,E){"use strict";E.d(Ct,{Z:function(){return je}});var y=E(60499),Ae=E(59301),pe={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"},ze=pe,Ce=E(7657),Fe=function(se,Ue){return Ae.createElement(Ce.Z,(0,y.Z)({},se,{ref:Ue,icon:ze}))},ge=Ae.forwardRef(Fe),je=ge},52671:function(mn,Ct,E){"use strict";E.d(Ct,{Z:function(){return je}});var y=E(60499),Ae=E(59301),pe={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"},ze=pe,Ce=E(7657),Fe=function(se,Ue){return Ae.createElement(Ce.Z,(0,y.Z)({},se,{ref:Ue,icon:ze}))},ge=Ae.forwardRef(Fe),je=ge},8657:function(mn,Ct,E){"use strict";E.d(Ct,{Z:function(){return je}});var y=E(60499),Ae=E(59301),pe={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"},ze=pe,Ce=E(7657),Fe=function(se,Ue){return Ae.createElement(Ce.Z,(0,y.Z)({},se,{ref:Ue,icon:ze}))},ge=Ae.forwardRef(Fe),je=ge},56082:function(mn,Ct,E){"use strict";E.d(Ct,{Z:function(){return je}});var y=E(60499),Ae=E(59301),pe={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"},ze=pe,Ce=E(7657),Fe=function(se,Ue){return Ae.createElement(Ce.Z,(0,y.Z)({},se,{ref:Ue,icon:ze}))},ge=Ae.forwardRef(Fe),je=ge},33853:function(mn,Ct,E){"use strict";E.d(Ct,{Z:function(){return je}});var y=E(60499),Ae=E(59301),pe={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"},ze=pe,Ce=E(7657),Fe=function(se,Ue){return Ae.createElement(Ce.Z,(0,y.Z)({},se,{ref:Ue,icon:ze}))},ge=Ae.forwardRef(Fe),je=ge},15075:function(mn,Ct,E){"use strict";E.d(Ct,{Z:function(){return je}});var y=E(60499),Ae=E(59301),pe={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"},ze=pe,Ce=E(7657),Fe=function(se,Ue){return Ae.createElement(Ce.Z,(0,y.Z)({},se,{ref:Ue,icon:ze}))},ge=Ae.forwardRef(Fe),je=ge},43531:function(mn,Ct,E){"use strict";E.d(Ct,{Z:function(){return je}});var y=E(60499),Ae=E(59301),pe={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"},ze=pe,Ce=E(7657),Fe=function(se,Ue){return Ae.createElement(Ce.Z,(0,y.Z)({},se,{ref:Ue,icon:ze}))},ge=Ae.forwardRef(Fe),je=ge},61485:function(mn,Ct,E){"use strict";E.d(Ct,{Z:function(){return je}});var y=E(60499),Ae=E(59301),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:"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"},ze=pe,Ce=E(7657),Fe=function(se,Ue){return Ae.createElement(Ce.Z,(0,y.Z)({},se,{ref:Ue,icon:ze}))},ge=Ae.forwardRef(Fe),je=ge},47472:function(mn,Ct,E){"use strict";E.d(Ct,{Z:function(){return je}});var y=E(60499),Ae=E(59301),pe={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"},ze=pe,Ce=E(7657),Fe=function(se,Ue){return Ae.createElement(Ce.Z,(0,y.Z)({},se,{ref:Ue,icon:ze}))},ge=Ae.forwardRef(Fe),je=ge},87395:function(mn,Ct,E){"use strict";E.d(Ct,{Z:function(){return je}});var y=E(60499),Ae=E(59301),pe={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"},ze=pe,Ce=E(7657),Fe=function(se,Ue){return Ae.createElement(Ce.Z,(0,y.Z)({},se,{ref:Ue,icon:ze}))},ge=Ae.forwardRef(Fe),je=ge},88319:function(){"use strict"},94896:function(){"use strict"},74501:function(mn,Ct){"use strict";Ct.Z={lists:"lists___xhHyq",item:"item___pWJAA",children:"children___sDG61",diamond:"diamond___FwgzD",button:"button___WPN6r",mathWrap:"mathWrap___FmnMJ",mathFillWrap:"mathFillWrap___PmY3H"}},53822:function(mn,Ct){"use strict";Ct.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"}},90834:function(mn,Ct){"use strict";Ct.Z={flex_box_center:"flex_box_center___IBr6x",flex_space_between:"flex_space_between___n2Iz0",flex_box_vertical_center:"flex_box_vertical_center___1umwO",flex_box_center_end:"flex_box_center_end___SRZYb",flex_box_column:"flex_box_column___b90Da",form:"form___V3fAH",title_icon:"title_icon____uDZy",title:"title___RxKwK",content:"content___vFT5m",pubColSty:"pubColSty___dfLkL",selectSty:"selectSty____Wuek",borderSty:"borderSty___EuFYV",delSty:"delSty___AdEeI",delBorder:"delBorder___vcTJc",copHover:"copHover___JVVXI",multiple_select:"multiple_select___ZMPhl",work_checkbox_group:"work_checkbox_group___sGLxY",disabled_link:"disabled_link___usmze",myselect:"myselect___QgOHu",upname:"upname___Dsj6F",upnames:"upnames___cGA7K",imghover:"imghover___C5Gjb",zybzForm:"zybzForm___AL0Nr",flexRow:"flexRow___AJEUu",formWrap:"formWrap___W4o4T",hasAnswer:"hasAnswer___Z7EaU",noAnswer:"noAnswer___BvSay"}},83889:function(mn,Ct){"use strict";Ct.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"}},45050:function(mn,Ct,E){"use strict";var y=E(59301),Ae=Object.defineProperty,pe=Object.getOwnPropertySymbols,ze=Object.prototype.hasOwnProperty,Ce=Object.prototype.propertyIsEnumerable,Fe=(De,se,Ue)=>se in De?Ae(De,se,{enumerable:!0,configurable:!0,writable:!0,value:Ue}):De[se]=Ue,ge=(De,se)=>{for(var Ue in se||(se={}))ze.call(se,Ue)&&Fe(De,Ue,se[Ue]);if(pe)for(var Ue of pe(se))Ce.call(se,Ue)&&Fe(De,Ue,se[Ue]);return De};const je=De=>React.createElement("svg",ge({width:14,height:14,xmlns:"http://www.w3.org/2000/svg"},De),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"})));Ct.Z="data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTQiIGhlaWdodD0iMTQiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGcgZmlsbD0ibm9uZSIgZmlsbC1ydWxlPSJldmVub2RkIj48Y2lyY2xlIGZpbGw9IiNGQ0IwNDEiIGN4PSI3IiBjeT0iNyIgcj0iNyIvPjxwYXRoIGQ9Ik03LjUzMSA5LjYzOGEuNjE2LjYxNiAwIDEgMS0xLjIzMSAwdi0uMDJhLjYxNi42MTYgMCAxIDEgMS4yMzEgMHYuMDJabTAtMi4yNWEuNjE2LjYxNiAwIDEgMS0xLjIzMSAwVjQuMTE3YS42MTYuNjE2IDAgMSAxIDEuMjMxIDB2My4yNzNaIiBmaWxsPSIjRkZGIiBmaWxsLXJ1bGU9Im5vbnplcm8iLz48L2c+PC9zdmc+"},84915:function(module,exports,__webpack_require__){var __WEBPACK_AMD_DEFINE_ARRAY__,__WEBPACK_AMD_DEFINE_RESULT__;(function(){if(typeof window.GGBApplet=="function"){console.warn("deployggb.js was loaded twice");return}var isRenderGGBElementEnabled=!1,scriptLoadStarted=!1,html5AppletsToProcess=null,ggbHTML5LoadedCodebaseIsWebSimple=!1,ggbHTML5LoadedCodebaseVersion=null,ggbHTML5LoadedScript=null,GGBApplet=function(){"use strict";for(var mn={},Ct="5.0",E={},y=null,Ae=!1,pe=!1,ze=null,Ce=!1,Fe=null,ge=null,je=0;je<arguments.length;je++){var De=arguments[je];if(De!==null)switch(typeof De){case"number":Ct=De.toFixed(1);break;case"string":De.match(new RegExp("^[0-9]\\.[0-9]+$"))?Ct=De:ze=De;break;case"object":typeof De.is3D!="undefined"?y=De:E=De;break;case"boolean":Ae=De,pe=!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&&!pe&&(Ae=!0)),ze!==null&&E.id===void 0&&(E.id=ze);var se="",Ue="",me=!1,Ne=null,we=null,be=null,he=!1,ce=null,Ie=null,Ze=null,$e=null,oe=null;E.height!==void 0&&(E.height=Math.round(E.height)),E.width!==void 0&&(E.width=Math.round(E.width));var Be=function(xe){return parseFloat(xe)>4?parseFloat(xe):5};mn.setHTML5Codebase=function(xe,ke){ge=xe,Ft(xe,ke)},mn.setJavaCodebase=mn.setJavaCodebaseVersion=mn.isCompiledInstalled=mn.setPreCompiledScriptPath=mn.setPreCompiledResourcePath=function(){},mn.setHTML5CodebaseVersion=function(xe,ke){var at=parseFloat(xe);if(at!==NaN&&at<5){console.log("The GeoGebra HTML5 codebase version "+at+" is deprecated. Using version latest instead.");return}Fe=xe,Se(xe,ke)},mn.getHTML5CodebaseVersion=function(){return we},mn.getParameters=function(){return E},mn.setFontsCSSURL=function(xe){$e=xe},mn.setGiacJSURL=function(xe){},mn.setJNLPFile=function(xe){se=xe},mn.setJNLPBaseDir=function(xe){},mn.inject=function(){function xe(){return window.frameElement&&window.frameElement.getAttribute("data-singleton")}for(var ke="auto",at=E.id,Rt,ft=!1,Nt=0;Nt<arguments.length;Nt++){var xt=arguments[Nt];typeof xt=="string"?(xt=xt.toLowerCase(),xt.match(/^(prefer)?(java|html5|compiled|auto|screenshot)$/)?ke=xt:at=arguments[Nt]):typeof xt=="boolean"?ft=xt:xt instanceof HTMLElement&&(Rt=xt)}Xt();function Xt(){if(!Ce){setTimeout(Xt,200);return}ke=Tt(ke);var Wt=Rt||document.getElementById(at);if(!Wt){console.log("possibly bug on ajax loading? ");return}if(mn.removeExistingApplet(Wt,!1),E.width===void 0&&Wt.clientWidth&&(E.width=Wt.clientWidth),E.height===void 0&&Wt.clientHeight&&(E.height=Wt.clientHeight),!(E.width&&E.height)&&ke==="html5"&&(delete E.width,delete E.height),Ne=ke,ke==="screenshot")Oe(Wt,E);else{var de=!1;E.hasOwnProperty("playButton")&&E.playButton||E.hasOwnProperty("clickToLoad")&&E.clickToLoad?de=!0:E.hasOwnProperty("playButtonAutoDecide")&&E.playButtonAutoDecide&&(de=(!tt()||xe())&&Re()),de?(Ne="screenshot",Xe(Wt,E,ft,ke)):it(Wt,E,ft)}}};function tt(){try{return window.self!==window.top}catch(xe){return!0}}function Re(){return E.hasOwnProperty("screenshotGenerator")&&E.screenshotGenerator?!1:Math.max(screen.width,screen.height)<800}mn.getViews=function(){return y},mn.isJavaInstalled=function(){return!1};var _e=function(xe){var ke=function(Nt){var xt=JSON.parse(Nt),Xt=function(ne){return ne.type=="G"||ne.type=="E"},Wt=xt.elements?xt.elements.filter(Xt)[0]:xt;if(!Wt||!Wt.url){at();return}E.fileName=Wt.url,ye(Wt.settings||{}),y.is3D=!0;var de="https://www.geogebra.org/images/";mn.setPreviewImage(ce||Wt.previewUrl,de+"GeoGebra_loading.png",de+"applet_play.png"),xe()},at=function(){E.onError&&E.onError(),It("Error: Fetching material (id "+E.material_id+") failed.",E)},Rt=location.host.match(/(www|stage|beta|groot|alpha).geogebra.(org|net)/)?location.host:"www.geogebra.org",ft="/materials/"+E.material_id+"?scope=basic";Le("https://"+Rt+"/api/proxy.php?path="+encodeURIComponent(ft),ke,at)};function ye(xe){var ke=["width","height","showToolBar","showMenuBar","showAlgebraInput","allowStyleBar","showResetIcon","enableLabelDrags","enableShiftDragZoom","enableRightClick","appName"];["enableLabelDrags","enableShiftDragZoom","enableRightClick"].forEach(function(at){xe[at]=!!xe[at]}),ke.forEach(function(at){E[at]===void 0&&xe[at]!==void 0&&(E[at]=xe[at])}),E.showToolBarHelp===void 0&&(E.showToolBarHelp=E.showToolBar)}function Le(xe,ke,at){var Rt=new XMLHttpRequest;Rt.open("GET",xe),Rt.onload=function(){ke(Rt.responseText)},Rt.onerror=at,Rt.send()}mn.isHTML5Installed=function(){return!0},mn.getLoadedAppletType=function(){return Ne},mn.setPreviewImage=function(xe,ke,at){ce=xe,Ie=ke,Ze=at},mn.removeExistingApplet=function(xe,ke){var at;typeof xe=="string"&&(xe=document.getElementById(xe)),Ne=null;var Rt=null;for(at=0;at<xe.childNodes.length;at++){var ft=xe.childNodes[at],Nt=ft.className;Nt==="applet_screenshot"?ke?(ft.style.display="block",Ne="screenshot"):ft.style.display="none":Nt!=="applet_scaler prerender"&&(xe.removeChild(ft),Rt=Nt&&Nt.indexOf("appletParameters")!=-1?ft.id:null,at--)}var xt=E.id!==void 0?E.id:Rt,Xt=window[xt];Xt&&typeof Xt.getBase64=="function"&&(Xt.remove(),window[xt]=null)},mn.refreshHitPoints=function(){if(Be(ggbHTML5LoadedCodebaseVersion)>=5)return!0;var xe=mn.getAppletObject();return xe&&typeof xe.recalculateEnvironments=="function"?(xe.recalculateEnvironments(),!0):!1},mn.startAnimation=function(){var xe=mn.getAppletObject();return xe&&typeof xe.startAnimation=="function"?(xe.startAnimation(),!0):!1},mn.stopAnimation=function(){var xe=mn.getAppletObject();return xe&&typeof xe.stopAnimation=="function"?(xe.stopAnimation(),!0):!1},mn.getAppletObject=function(){var xe=E.id!==void 0?E.id:"ggbApplet";return window[xe]},mn.resize=function(){};var Ve=function(xe,ke,at){var Rt=document.createElement("param");Rt.setAttribute("name",ke),Rt.setAttribute("value",at),xe.appendChild(Rt)},Pe=function(xe){return xe&&xe!=="false"},it=function(xe,ke,at){Be(we)<=4.2&&(at=!0);var Rt=!isRenderGGBElementEnabled&&!scriptLoadStarted;(!isRenderGGBElementEnabled&&!scriptLoadStarted||ggbHTML5LoadedCodebaseVersion!==we||ggbHTML5LoadedCodebaseIsWebSimple&&!he)&&(Rt=!0,isRenderGGBElementEnabled=!1,scriptLoadStarted=!1);var ft=document.createElement("div");ft.classList.add("appletParameters","notranslate");var Nt=ke.width,xt=ke.height;if(ke.disableAutoScale=ke.disableAutoScale===void 0?GGBAppletUtils.isFlexibleWorksheetEditor():ke.disableAutoScale,ke.width!==void 0)if(Be(we)<=4.4)Pe(ke.showToolBar)&&(ke.height-=7),Pe(ke.showAlgebraInput)&&(ke.height-=37),ke.width<605&&Pe(ke.showToolBar)&&(ke.width=605,Nt=605);else{var Xt=100;(Pe(ke.showToolBar)||Pe(ke.showMenuBar))&&(ke.hasOwnProperty("customToolBar")&&(ke.customToolbar=ke.customToolBar),Xt=Pe(ke.showMenuBar)?245:155),Nt<Xt&&(ke.width=Xt,Nt=Xt)}ft.style.border="none",ft.style.display="inline-block";for(var Wt in ke)ke.hasOwnProperty(Wt)&&Wt!=="appletOnLoad"&&ft.setAttribute("data-param-"+Wt,ke[Wt]);$e&&ft.setAttribute("data-param-fontscssurl",$e),mn.resize=function(){GGBAppletUtils.responsiveResize(xe,ke)},window.addEventListener("resize",function(yt){mn.resize()});var de=typeof ke.appletOnLoad=="function"?ke.appletOnLoad:function(){};if(!at&&ke.width!==void 0){ke.hasOwnProperty("showSplash")||ft.setAttribute("data-param-showSplash","false");var ne=xe.querySelector(".applet_scaler.prerender"),te=ne!==null;if(te)var le=ne.querySelector(".ggb_preview");else{var le=lt(Nt,xt,ke.borderColor,!1);ne=document.createElement("div"),ne.className="applet_scaler",ne.style.position="relative",ne.style.display="block",ne.style.width=Nt+"px",ne.style.height=xt+"px"}window.GGBT_spinner&&window.GGBT_spinner.attachSpinner(ne,"66%"),Be(we)>=5?(ke.appletOnLoad=function(yt){var St=xe.querySelector(".ggb_preview");St&&St.parentNode.removeChild(St),window.GGBT_spinner&&window.GGBT_spinner.removeSpinner(ne),window.GGBT_wsf_view&&$(window).trigger("resize"),de(yt)},te||ne.appendChild(le)):ft.appendChild(le),ne.appendChild(ft),te||xe.appendChild(ne),setTimeout(function(){mn.resize()},1)}else{var ve=document.createElement("div");ve.className="applet_scaler",ve.style.position="relative",ve.style.display="block",ve.appendChild(ft),xe.appendChild(ve),ke.appletOnLoad=function(yt){mn.resize(),de(yt)}}function re(yt,St){St&&typeof St.appletOnLoad=="function"&&typeof renderGGBElement=="function"?renderGGBElement(yt,St.appletOnLoad):renderGGBElement(yt),It("GeoGebra HTML5 applet injected and rendered with previously loaded codebase.",St)}function fe(yt,St){typeof renderGGBElement=="undefined"?(html5AppletsToProcess===null&&(html5AppletsToProcess=[]),html5AppletsToProcess.push({article:yt,params:St}),window.renderGGBElementReady=function(){isRenderGGBElementEnabled=!0,html5AppletsToProcess!==null&&html5AppletsToProcess.length&&(html5AppletsToProcess.forEach(function(Qe){re(Qe.article,Qe.params)}),html5AppletsToProcess=null)},Be(we)<5&&(yt.className+=" geogebraweb")):re(yt,St)}if(Rt){scriptLoadStarted=!0;for(var Ye=0;Ye<ft.childNodes.length;Ye++){var vt=ft.childNodes[Ye].tagName;vt==="TABLE"&&(ft.removeChild(ft.childNodes[Ye]),Ye--)}if(ggbHTML5LoadedScript!==null){var et=document.querySelector('script[src="'+ggbHTML5LoadedScript+'"]');et!=null&&et.parentNode.removeChild(et)}var nt=document.createElement("script"),mt=function(){fe(ft,ke)};nt.src=Ue+be,ggbHTML5LoadedCodebaseIsWebSimple=he,ggbHTML5LoadedCodebaseVersion=we,ggbHTML5LoadedScript=nt.src,It("GeoGebra HTML5 codebase loaded: '"+Ue+"'.",ke),!ge&&(!Fe||Fe=="5.0")?(he?webSimple.succeeded=webSimple.succeeded||webSimple():web3d.succeeded=web3d.succeeded||web3d(),mt()):Ue.requirejs?__webpack_require__.e(4510).then(function(){var yt=[__webpack_require__(4510)];mt.apply(null,yt)}.bind(this)).catch(__webpack_require__.oe):(nt.onload=mt,xe.appendChild(nt))}else fe(ft,ke);ke.height=xt,ke.width=Nt},Oe=function(xe,ke,at){var Rt=lt(ke.width,ke.height,ke.borderColor,at),ft=document.createElement("div");ft.style.position="relative",ft.style.display="block",ft.style.width=ke.width+"px",ft.style.height=ke.height+"px",ft.className="applet_screenshot applet_scaler"+(at?" applet_screenshot_play":""),ft.appendChild(Rt);var Nt=GGBAppletUtils.getScale(ke,xe,at);at?(xe.appendChild(Ge()),window.GGBT_wsf_view||(xe.style.position="relative")):window.GGBT_spinner&&window.GGBT_spinner.attachSpinner(ft,"66%"),xe.appendChild(ft),Nt!==1&&!isNaN(Nt)&&(GGBAppletUtils.scaleElement(ft,Nt),ft.style.width=ke.width+"px",ft.style.height=ke.height+"px",ft.parentNode.style.width=ke.width*Nt+"px",ft.parentNode.style.height=ke.height*Nt+"px"),mn.resize=function(){ue(xe,Rt,ft,at)},window.addEventListener("resize",function(xt){mn.resize()}),mn.resize()};function ue(xe,ke,at,Rt){if(xe.contains(ke)){if(typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()){if(xe.id!=="fullscreencontent")return;window.GGBT_wsf_view.setCloseBtnPosition(xe)}var ft=GGBAppletUtils.getScale(E,xe,Rt);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(xe),typeof window.GGBT_ws_header_footer=="object"&&window.GGBT_ws_header_footer.setWsScrollerHeight()}}mn.onExitFullscreen=function(xe,ke){ke.appendChild(xe)};var Xe=function(xe,ke,at,Rt){Oe(xe,ke,!0);for(var ft=function(){var Xt=[];for(xt=0;xt<xe.childNodes.length;xt++)Xt.push(xe.childNodes[xt]);if(window.GGBT_wsf_view){var Wt=window.GGBT_wsf_view.renderFullScreen(xe,ke.id),de=document.getElementById("fullscreencontainer"),ne=jQuery(xe).find(".fullscreencontent");ne.length>0?(Wt.remove(),ne.attr("id","fullscreencontent").show(),jQuery(de).append(ne),window.dispatchEvent(new Event("resize"))):it(Wt,ke,!1),window.GGBT_wsf_view.launchFullScreen(de)}else Ne=Rt,it(xe,ke,!1);if(!window.GGBT_wsf_view)for(xt=0;xt<Xt.length;xt++)xe.removeChild(Xt[xt])},Nt=xe.getElementsByClassName("ggb_preview_play"),xt=0;xt<Nt.length;xt++)Nt[xt].addEventListener("click",ft,!1),Nt[xt].addEventListener("ontouchstart",ft,!1);typeof window.ggbAppletPlayerOnload=="function"&&window.ggbAppletPlayerOnload(xe),Re()&&window.GGBT_wsf_view&&$(".wsf-element-fullscreen-button").remove()},Ge=function(){var xe=document.createElement("div");if(xe.className="ggb_preview_play icon-applet-play",!window.GGBT_wsf_view){var ke='.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=ke:at.appendChild(document.createTextNode(ke)),document.getElementsByTagName("head")[0].appendChild(at)}return xe},lt=function(xe,ke,at,Rt){var ft=document.createElement("div");ft.className="ggb_preview",ft.style.position="absolute",ft.style.zIndex="90",ft.style.width=xe-2+"px",ft.style.height=ke-2+"px",ft.style.top="0px",ft.style.left="0px",ft.style.overflow="hidden",ft.style.backgroundColor="white";var Nt="lightgrey";at!==void 0&&(at==="none"?Nt="transparent":Nt=at),ft.style.border="1px solid "+Nt;var xt=document.createElement("img");if(xt.style.position="relative",xt.style.zIndex="1000",xt.style.top="-1px",xt.style.left="-1px",ce!==null&&xt.setAttribute("src",ce),xt.style.opacity=.7,Ie!==null){var Xt,Wt,de;if(!Rt){Xt=document.createElement("img"),Xt.style.position="absolute",Xt.style.zIndex="1001",Xt.style.opacity=1,xt.style.opacity=.3,Wt=360,Wt>xe/4*3&&(Wt=xe/4*3),de=Wt/5.8,Xt.setAttribute("src",Ie),Xt.setAttribute("width",Wt),Xt.setAttribute("height",de);var ne=(xe-Wt)/2,te=(ke-de)/2;Xt.style.left=ne+"px",Xt.style.top=te+"px",ft.appendChild(Xt)}}return ft.appendChild(xt),ft},Tt=function(xe){return xe=xe.toLowerCase(),xe==="html5"||xe==="screenshot"?xe:"html5"},Ke=["web","webSimple","web3d","tablet","tablet3d","phone"],Se=function(xe,ke){if(we=xe,ke){Ft(we,!0);return}var at=!Ae;if(at){var Rt=Be(we);!isNaN(Rt)&&Rt<4.4&&(at=!1)}var ft,Nt;window.location.protocol.substr(0,4)==="http"?ft=window.location.protocol:ft="http:";var xt=we.indexOf("//");xt>0?Nt=we:xt===0?Nt=ft+we:Nt="https://www.geogebra.org/apps/5.2.814.0/";for(var Xt in Ke)if(we.slice(Ke[Xt].length*-1)===Ke[Xt]||we.slice((Ke[Xt].length+1)*-1)===Ke[Xt]+"/"){Ft(Nt,!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")?Nt+="webSimple/":Nt+="web3d/",Ft(Nt,!1)},Ft=function(xe,ke){if(xe.requirejs){Ue=xe;return}xe.slice(-1)!=="/"&&(xe+="/"),Ue=xe,ke===null&&(ke=xe.indexOf("http")===-1),me=ke,be="web.nocache.js",he=!1;var at=Ue.split("/");at.length>1&&(!ke&&at[at.length-2]==="webSimple"?(be="webSimple.nocache.js",he=!0):Ke.indexOf(at[at.length-2])>=0&&(be=at[at.length-2]+".nocache.js")),at=xe.split("/"),we=at[at.length-3],we.substr(0,4)==="test"?we=we.substr(4,1)+"."+we.substr(5,1):(we.substr(0,3)==="war"||we.substr(0,4)==="beta")&&(we="5.0");var Rt=parseFloat(we);Rt!==NaN&&Rt<5&&xe.indexOf("geogebra.org")>=0&&(console.log("The GeoGebra HTML5 codebase version "+Rt+" is deprecated. Using version latest instead."),Se("5.0",ke))},It=function(xe,ke){window.console&&window.console.log&&(!ke||typeof ke.showLogging=="undefined"||ke.showLogging&&ke.showLogging!=="false")&&console.log(xe)};E.material_id!==void 0?_e(ut):ut();function ut(){var xe=Ct;Fe!==null?xe=Fe:parseFloat(xe)<5&&(xe="5.0"),Se(xe,!1),ge!==null&&Ft(ge,me),Ce=!0}return mn},GGBAppletUtils=function(){"use strict";function mn(){return window.GGBT_wsf_edit!==void 0}function Ct(Ce,Fe){Fe!=1?(Ce.style.transformOrigin="0% 0% 0px",Ce.style.webkitTransformOrigin="0% 0% 0px",Ce.style.transform="scale("+Fe+","+Fe+")",Ce.style.webkitTransform="scale("+Fe+","+Fe+")",Ce.style.maxWidth="initial",Ce.querySelector(".ggb_preview")!==null&&(Ce.querySelector(".ggb_preview").style.maxWidth="initial"),Ce.querySelectorAll(".ggb_preview img")[0]!==void 0&&(Ce.querySelectorAll(".ggb_preview img")[0].style.maxWidth="initial"),Ce.querySelectorAll(".ggb_preview img")[1]!==void 0&&(Ce.querySelectorAll(".ggb_preview img")[1].style.maxWidth="initial")):(Ce.style.transform="none",Ce.style.webkitTransform="none")}function E(Ce,Fe,ge,je,De,se){var Ue=null;if(se!=null&&se!="")for(var me=Ce.parentNode;me!=null;)if((" "+me.className+" ").indexOf(" "+se+" ")>-1){Ue=me;break}else me=me.parentNode;var Ne=0,we=0,be=0,he=0,ce=0,Ie=0,Ze=0;if(Ue)Ne=Ue.offsetWidth,we=Math.max(je?Ue.offsetWidth:0,Ue.offsetHeight);else{if(window.innerWidth&&document.documentElement.clientWidth?(Ne=Math.min(window.innerWidth,document.documentElement.clientWidth),we=Math.min(window.innerHeight,document.documentElement.clientHeight),be=Ne):(Ne=window.innerWidth,we=window.innerHeight,be=window.innerWidth),Ce){var $e=Ce.getBoundingClientRect();$e.left>0&&$e.left<=Ne&&(De===void 0||!De)&&(document.dir==="rtl"?(ce=Ne-$e.width-$e.left,Ie=be<=480?10:30):(Ie=$e.left,ce=be<=480?10:30),he=Ie+ce)}if(Ce&&typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()){var oe=Ce.getBoundingClientRect();window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionRight"?(he=40,Ze=0):window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionTop"&&(he=0,Ze=40)}}return Ce&&((ge===void 0||!ge)&&Fe>0&&Fe+he<Ne?Ne=Fe:Ne-=he,typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()&&(ge===void 0||!ge)&&(we-=Ze)),{width:Ne,height:we}}function y(Ce,Fe,ge,je,De){if(Ce.isScreenshoGenerator)return 1;var se=je!==void 0&&je,Ue=Ce.noScaleMargin!=null&&Ce.noScaleMargin,me=function(oe){return oe&&oe!=="false"},Ne=me(Ce.autoHeight),we=E(Fe,Ce.width,ge,Ne,se&&window.GGBT_wsf_view||Ue,De),be=parseInt(we.width),he=Ce.width,ce=Ce.height;if(he===void 0){var Ie=Fe.querySelector(".appletParameters");Ie&&(he=Ie.offsetWidth,ce=Ie.offsetHeight)}var Ze=be/he,$e=se?1:we.height/ce;return ge!==void 0&&!ge&&(Ze=Math.min(1,Ze),$e=Math.min(1,$e)),Math.min(Ze,$e)}function Ae(Ce,Fe,ge){var je=1,De,se=!1;if(Ce.hasOwnProperty("allowUpscale")&&(se=Ce.allowUpscale),Ce.hasOwnProperty("scale")&&(je=parseFloat(Ce.scale),(isNaN(je)||je===null||je===0)&&(je=1),je>1&&(se=!0)),Fe&&typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()&&(se=!0),!(Ce.hasOwnProperty("disableAutoScale")&&Ce.disableAutoScale))De=y(Ce,Fe,se,ge,Ce.scaleContainerClass);else return je;return se&&(!Ce.hasOwnProperty("scale")||je===1)?De:Math.min(je,De)}function pe(Ce){var Fe=Math.min(window.innerWidth,document.documentElement.clientWidth),ge=Math.min(window.innerHeight,document.documentElement.clientHeight),je=Ce.getBoundingClientRect(),De=(Fe-je.width)/2,se=(ge-je.height)/2;se<0&&(se=0),Ce.style.position="relative",window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionRight"?(De<40?Ce.style.left="40px":Ce.style.left=De+"px",Ce.style.top=se+"px"):window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionTop"&&(se<40?Ce.style.top="40px":Ce.style.top=se+"px",Ce.style.left=De+"px")}function ze(Ce,Fe){var ge=Ce.querySelector(".appletParameters");if(ge){if(typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()){if(Fe.id!==ge.getAttribute("data-param-id"))return;window.GGBT_wsf_view.setCloseBtnPosition(Ce)}if(ge.parentElement&&/fullscreen/.test(ge.parentElement.className))return;var je=Ae(Fe,Ce);mn()&&ge.setAttribute("data-param-scale",je);for(var De=null,se=0;se<Ce.childNodes.length;se++)if(Ce.childNodes[se].className!==void 0&&Ce.childNodes[se].className.match(/^applet_scaler/)){De=Ce.childNodes[se];break}if(De!==null&&De.querySelector(".noscale")!==null)return;var Ue=Fe.id!==void 0?Fe.id:"ggbApplet",me=window[Ue];(me==null||!me.recalculateEnvironments)&&De!==null&&!De.className.match(/fullscreen/)&&(De.parentNode.style.transform="",!isNaN(je)&&je!==1?(De.parentNode.style.width=Fe.width*je+"px",De.parentNode.style.height=Fe.height*je+"px",Ct(De,je)):(Ct(De,1),De.parentNode.style.width=Fe.width+"px",De.parentNode.style.height=Fe.height+"px")),typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()&&pe(Ce),window.GGBT_wsf_view&&!window.GGBT_wsf_view.isFullscreen()&&window.GGBT_wsf_general.adjustContentToResize($(ge).parents(".content-added-content"))}}return{responsiveResize:ze,isFlexibleWorksheetEditor:mn,positionCenter:pe,getScale:Ae,scaleElement:Ct}}();__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 mn=n.location.search;return mn.indexOf(J)!=-1||mn.indexOf(K)!=-1}function q(mn,Ct){}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(mn){var Ct=s[L].bindings;s[L].bindings=function(){for(var E=Ct?Ct():{},y=mn[webModule.__softPermutationId],Ae=O;Ae<y.length;Ae++){var pe=y[Ae];E[pe[O]]=pe[P]}return E}};var t;function u(){return v(),t}function v(){if(!t){var mn=o.createElement(Q);if(mn.id=L,mn.style.cssText=R+S,mn.tabIndex=-1,o.body.appendChild(mn),t=mn.contentWindow.document,navigator.userAgent.indexOf(T)==-1){t.open();var Ct=document.compatMode==U?V:W;t.write(Ct+X),t.close()}}}function w(mn){function Ct(y){function Ae(){return typeof o.readyState==Y?typeof o.body!=Y&&o.body!=null:/loaded|complete/.test(o.readyState)}var pe=Ae();if(pe){y();return}function ze(){if(!pe){if(!Ae())return;pe=!0,y(),o.removeEventListener&&o.removeEventListener(Z,ze,!1),Ce&&clearInterval(Ce)}}o.addEventListener&&o.addEventListener(Z,ze,!1);var Ce=setInterval(function(){ze()},$)}function E(y){var Ae=u(),pe=Ae.body,ze=Ae.createElement(_);ze.language=ab,ze.crossOrigin=W,ze.src=y,webModule.__errFn&&(ze.onerror=function(){webModule.__errFn(L,new Error(bb+y))}),pe.appendChild(ze)}Ct(function(){E(mn)})}webModule.__startLoadingFragment=function(mn){return C(mn)},webModule.__installRunAsyncCode=function(mn){var Ct=u(),E=Ct.body,y=Ct.createElement(_);y.language=ab,y.text=mn,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(mn){alert(nb+k+ob)}}else if(j==pb&&(k=i.getAttribute(kb),k))try{e=eval(k)}catch(mn){alert(nb+k+qb)}}}__gwt_getMetaProperty=function(mn){var Ct=c[mn];return Ct==null?null:Ct},r=d,webModule.__errFn=e}function B(){function mn(Ce){var Fe=Ce.lastIndexOf(rb);Fe==-1&&(Fe=Ce.length);var ge=Ce.indexOf(sb);ge==-1&&(ge=Ce.length);var je=Ce.lastIndexOf(tb,Math.min(ge,Fe));return je>=O?Ce.substring(O,je+P):W}function Ct(Ce){if(!Ce.match(/^\w+:\/\//)){var Fe=o.createElement(ub);Fe.src=Ce+vb,Ce=mn(Fe.src)}return Ce}function E(){var Ce=__gwt_getMetaProperty(wb);return Ce!=null?Ce:W}function y(){for(var Ce=o.getElementsByTagName(_),Fe=O;Fe<Ce.length;++Fe)if(Ce[Fe].src.indexOf(xb)!=-1)return mn(Ce[Fe].src);return W}function Ae(){var Ce=o.getElementsByTagName(yb);return Ce.length>O?Ce[Ce.length-P].href:W}function pe(){var Ce=o.location;return Ce.href==Ce.protocol+zb+Ce.host+Ce.pathname+Ce.search+Ce.hash}var ze=E();return ze==W&&(ze=y()),ze==W&&(ze=Ae()),ze==W&&pe()&&(ze=mn(o.location.href)),ze=Ct(ze),ze}function C(mn){return mn.match(/^\//)||mn.match(/^[a-zA-Z]+:\/\//)?mn:webModule.__moduleBase+mn}function D(){var mn=[],Ct=O,E=[],y=[];function Ae(Ce){var Fe=y[Ce](),ge=E[Ce];if(Fe in ge)return Fe;var je=[];for(var De in ge)je[ge[De]]=De;throw r&&r(Ce,je,Fe),null}if(__gwt_isKnownPropertyValue=function(Ce,Fe){return Fe in E[Ce]},webModule.__getPropMap=function(){var Ce={};for(var Fe in E)E.hasOwnProperty(Fe)&&(Ce[Fe]=Ae(Fe));return Ce},webModule.__computePropValue=Ae,n.__gwt_activeModules[L].bindings=webModule.__getPropMap,p())return C(Bb);var pe;try{pe=Cb;var ze=pe.indexOf(Db);ze!=-1&&(Ct=parseInt(pe.substring(ze+P),$),pe=pe.substring(O,ze))}catch(Ce){}return webModule.__softPermutationId=Ct,C(pe+Eb)}function F(){n.__gwt_stylesLoaded||(n.__gwt_stylesLoaded={})}A(),webModule.__moduleBase="/js/mathematicalGraphics/"+name+"/",s[L].moduleBase=webModule.__moduleBase;var G=D();return F(),w(G),!0}return webModule},typeof window.web3d!="function"&&(window.web3d=GGBAppletUtils.makeModule("web3d","A18F540516513B1292CA7CEF2F6AFC7E")),typeof window.webSimple!="function"&&(window.webSimple=GGBAppletUtils.makeModule("webSimple","96B09BF1B436BF53F0DF54116700F16A")),window.GGBApplet=GGBApplet})()},23216:function(mn,Ct,E){"use strict";E.d(Ct,{Ax:function(){return ze},Ds:function(){return Ce},KI:function(){return ge},SI:function(){return pe},f1:function(){return Ae}});var y=E(14185);function Ae(je){let De=!0;if(je.length>0){for(let se=0;se<je.length;se++)if(je[se].compile_success==0||!je[se].compile_success){De=!1;break}}else De=!1;return De}function pe(je,De=""){let se=[];for(let Ue=0;Ue<je.length;Ue++){let me=je[Ue],Ne=De?`${De}/${me.name}`:`${me.name}`;se.push({title:me.name,type:me.type,isLeaf:me.type!=="tree",key:Ne})}return se}function ze(je,De,se){for(let Ue=0;Ue<je.length;Ue++){let me=je[Ue];if(me.key===De){me.children=se;break}me.children&&ze(me.children,De,se)}return je}function Ce(je,De,se){let Ue;return function(){let me=this,Ne=arguments,we=function(){Ue=null,se||je.apply(me,Ne)},be=se&&!Ue;clearTimeout(Ue),Ue=setTimeout(we,De),be&&je.apply(me,Ne)}}const Fe=!0,ge=y.Z.API_SERVER},35139:function(mn,Ct,E){"use strict";E.d(Ct,{Z:function(){return Ne}});var y=E(59301),Ae=E(6767),pe=E(37568),ze={codeBox:"codeBox___WpkVl"},Ce=E(92310),Fe=E.n(Ce),ge=Object.defineProperty,je=(we,be,he)=>be in we?ge(we,be,{enumerable:!0,configurable:!0,writable:!0,value:he}):we[be]=he,De=(we,be,he)=>je(we,typeof be!="symbol"?be+"":be,he),se=(we,be,he)=>new Promise((ce,Ie)=>{var Ze=Be=>{try{oe(he.next(Be))}catch(tt){Ie(tt)}},$e=Be=>{try{oe(he.throw(Be))}catch(tt){Ie(tt)}},oe=Be=>Be.done?ce(Be.value):Promise.resolve(Be.value).then(Ze,$e);oe((he=he.apply(we,be)).next())});class Ue extends y.Component{constructor(be){super(be),De(this,"canvas"),De(this,"randomNum",(he,ce)=>Math.floor(Math.random()*(ce-he)+he)),De(this,"drawPic",()=>{this.randomCode()}),De(this,"reloadPic",()=>{this.drawPic()}),De(this,"changeCode",he=>{console.log(he.target.value,222),this.setState({value:he.target.value,showError:!1})}),De(this,"onVerify",()=>{let he;return this.state.value.toLowerCase()!==""&&this.state.value.toLowerCase()!==this.state.code.toLowerCase()?(he=!0,Ae.ZP.error("\u8BF7\u8F93\u5165\u6B63\u786E\u7684\u9A8C\u8BC1\u7801"),this.reloadPic()):this.state.value.toLowerCase()===""?(he=!0,Ae.ZP.error("\u8BF7\u8F93\u5165\u9A8C\u8BC1\u7801")):this.state.value.toLowerCase()===this.state.code.toLowerCase()&&(he=!1),this.setState({showError:he}),he}),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(be,he){const ce=this.randomNum(be,he),Ie=this.randomNum(be,he),Ze=this.randomNum(be,he);return`rgb(${ce}, ${Ie}, ${Ze})`}drawText(be,he,ce){be.fillStyle=this.randomColor(this.state.colorMin,this.state.colorMax);const Ie=this.randomNum(this.state.fontSizeMin,this.state.fontSizeMax);be.font=Ie+"px SimHei";const Ze=10,$e=(this.state.contentWidth-40)/(this.state.code.length-1);let oe=Ze;ce>0&&(oe=Ze+ce*$e);let Be=this.randomNum(this.state.fontSizeMax,this.state.contentHeight-5);Ie>40&&(Be=40);const tt=this.randomNum(-10,10);be.translate(oe,Be),be.rotate(tt*Math.PI/180),be.fillText(he,0,0),be.rotate(-tt*Math.PI/180),be.translate(-oe,-Be)}drawLine(be){for(let he=0;he<1;he++)be.strokeStyle=this.randomColor(this.state.lineColorMin,this.state.lineColorMax),be.beginPath(),be.moveTo(this.randomNum(0,this.state.contentWidth),this.randomNum(0,this.state.contentHeight)),be.lineTo(this.randomNum(0,this.state.contentWidth),this.randomNum(0,this.state.contentHeight)),be.stroke()}drawDot(be){for(let he=0;he<100;he++)be.fillStyle=this.randomColor(0,255),be.beginPath(),be.arc(this.randomNum(0,this.state.contentWidth),this.randomNum(0,this.state.contentHeight),1,0,2*Math.PI),be.fill()}randomCode(){let be="";const he="QWERTYUPLKJHGFDSAZXCVBNMqwertyupkjhgfdsazxcvbnm1234567890";for(let ce=0;ce<this.state.codeLength;ce++){const Ie=Math.floor(Math.random()*57);be+=he[Ie]}this.setState({code:be},()=>{const Ie=this.canvas.current.getContext("2d");Ie.textBaseline="bottom",Ie.fillStyle=this.randomColor(this.state.backgroundColorMin,this.state.backgroundColorMax),Ie.fillRect(0,0,this.state.contentWidth,this.state.contentHeight);for(let Ze=0;Ze<this.state.code.length;Ze++)this.drawText(Ie,this.state.code[Ze],Ze);this.drawLine(Ie),this.drawDot(Ie)})}render(){const{className:be,width:he=300}=this.props;return y.createElement("div",{className:Fe()(ze.codeBox,be),style:{width:he}},y.createElement("aside",null,y.createElement(pe.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 me=(we,be)=>{let he;Modal.confirm({centered:!0,okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",title:"\u63D0\u793A",content:React.createElement("div",null,React.createElement("p",null,be),React.createElement(Ue,{ref:ce=>he=ce})),onOk:()=>se(void 0,null,function*(){if(he.onVerify())return Promise.reject();we()})})};var Ne=Ue},44240:function(mn,Ct,E){"use strict";E.d(Ct,{Z:function(){return Fe}});var y=E(37639),Ae={text:"text___FxbAX",wrap:"wrap___UlBQ1",contact:"contact____pUDq",img:"img___BapAv"},pe=E(32637),ze=E(59301),Fe=({type:ge,style:je})=>{const De=ze.createElement("div",{className:Ae.wrap,onClick:se=>{se.preventDefault(),se.stopPropagation()}},ze.createElement("p",null,ge==="shixun"||ge==="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",ze.createElement("br",null),"\u6839\u636E\u5E73\u53F0\u4F7F\u7528\u89C4\u5219\uFF0C\u9700\u8981\u6388\u6743\u624D\u80FD\u4F7F\u7528\u3002",ge==="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"),ze.createElement("div",{className:Ae.contact},ze.createElement("div",{className:Ae.img},ze.createElement("img",{src:pe,width:"124px",height:"124px"})),ze.createElement("div",{className:"tc font14 mt10",style:{color:"#777A93"}},"\u626B\u4E00\u626B\uFF0C\u83B7\u53D6\u6388\u6743\u7801")));return ze.createElement(y.Z,{content:De},ze.createElement("span",{className:Ae.text,style:je},"\u9AD8\u6D88\u8017"))}},40254:function(mn,Ct,E){"use strict";E.d(Ct,{Z:function(){return Ue}});var y=E(59301),Ae={imageDimensions:"imageDimensions___a7crR",img:"img___Kroat",fullWidth:"fullWidth___c492T"},pe=E(92310),ze=E.n(pe),Ce=E(29787),Fe=E(2859),ge=E(49317),je=E(76406),De=(me,Ne,we)=>new Promise((be,he)=>{var ce=$e=>{try{Ze(we.next($e))}catch(oe){he(oe)}},Ie=$e=>{try{Ze(we.throw($e))}catch(oe){he(oe)}},Ze=$e=>$e.done?be($e.value):Promise.resolve($e.value).then(ce,Ie);Ze((we=we.apply(me,Ne)).next())}),Ue=({data:me,className:Ne,fullWidth:we,style:be={},onClose:he,onOk:ce,showFullTools:Ie,noAssociationId:Ze})=>{const $e=(0,y.useRef)(null),oe=(0,y.useRef)(null),Be=(0,y.useRef)(null),tt=(0,y.useRef)(null),[Re,_e]=(0,y.useState)(!1),[ye,Le]=(0,y.useState)("\u6B63\u5728\u52A0\u8F7D\u4E2D");(0,y.useEffect)(()=>(Be.current||(Be.current=document.createElement("style"),document.head.appendChild(Be.current)),me!=null&&me.visible?(document.body.setAttribute("data-custom","y-hidden"),Be.current.innerHTML=" html { overflow-y: hidden; }",me!=null&&me.src&&Ve()):(document.body.removeAttribute("data-custom"),Be.current&&(document.head.removeChild(Be.current),Be.current=null)),()=>{document.body.removeAttribute("data-custom"),Be.current&&(document.head.removeChild(Be.current),Be.current=null)}),[me==null?void 0:me.visible]);const Ve=()=>De(void 0,null,function*(){_e(!0),Le("\u6B63\u5728\u52A0\u8F7D\u4E2D");const ue=yield(0,je.ZJ)(me==null?void 0:me.src);$e.current.src="",$e.current.src=ue,$e.current.onload=function(){Oe()},_e(!1),Le("")}),Pe=ue=>De(void 0,null,function*(){_e(!0),Le("\u6B63\u5728\u4FDD\u5B58\u4E2D");const Xe=yield(0,ge.ZP)("/api/attachments.json",{method:"post",body:{file_type:"base64",original_filename:me.title,file:ue.dataUrl}});Xe!=null&&Xe.id&&!Ze?(yield(0,ge.ZP)(`/api/attachments/${me.id}/add_subitem.json`,{method:"post",body:{subitem_id:Xe==null?void 0:Xe.id,settings:JSON.stringify(ue.state)}})).status===0&&ce():Xe!=null&&Xe.id&&ce(Xe),_e(!1),Le("")}),it=()=>{const ue=document.querySelector('a[href="https://markerjs.com/"]');ue&&ue.parentNode&&(ue.parentNode.style.display="none"),[{name:'[data-action="select"]',title:"\u9009\u62E9"},{name:'[data-action="delete"]',title:"\u5220\u9664\u5143\u7D20"},{name:'[data-action="undo"]',title:"\u64A4\u9500"},{name:'[data-type-name="FrameMarker"]',title:"\u77E9\u5F62"},{name:'[data-type-name="FreehandMarker"]',title:"\u753B\u7EBF"},{name:'[data-type-name="ArrowMarker"]',title:"\u7BAD\u5934"},{name:'[data-type-name="TextMarker"]',title:"\u6587\u672C"},{name:'[data-type-name="EllipseMarker"]',title:"\u692D\u5706"},{name:'[data-type-name="HighlightMarker"]',title:"\u65B9\u5757"},{name:'[data-type-name="CalloutMarker"]',title:"\u6CE8\u91CA"},{name:'[data-action="render"]',title:"\u4FDD\u5B58"},{name:'[data-action="close"]',title:"\u9000\u51FA"}].forEach(Ge=>{const lt=document.querySelector(Ge.name);lt&<.setAttribute("title",Ge.title)})},Oe=()=>{oe.current=new Fe.hP($e.current),oe.current.targetRoot=tt.current,oe.current.addEventListener("render",Pe),oe.current.addEventListener("beforeclose",he),Ie&&(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(),me!=null&&me.snapshotData&&oe.current.restoreState(me.snapshotData),setTimeout(()=>{window.scrollTo(0,0),it()},300)};return y.createElement(y.Fragment,null,(me==null?void 0:me.visible)&&y.createElement(Ce.Z,{spinning:Re,tip:ye,style:{position:"absolute",width:"100vw"}},y.createElement("div",{ref:tt,className:ze()(Ae.imageDimensions,Ne,we?Ae.fullWidth:""),style:be},y.createElement("img",{className:Ae.img,ref:$e}))))}},9057:function(mn,Ct,E){"use strict";var y=E(59301),Ae=E(77019),pe=E(5269),ze=E(31691),Ce=E(7939),Fe=E(35883),ge=E(74501),je=E(48136),De=E(59301);const se=(0,y.forwardRef)(({callback:Ue,showSaveButton:me,value:Ne=""},we)=>{const be=(0,y.useRef)(),he=[{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 "}]}]}],ce=[{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}`}]}]}],Ie=oe=>{be.current.setValue(be.current.getValue()+" "+oe.value+" ")},Ze=[{key:"1",label:"\u5FEB\u6377\u6A21\u677F",children:De.createElement(Ae.Z,{className:ge.Z.lists,gutter:[10,10]},he.map((oe,Be)=>De.createElement(pe.Z,{flex:"110px",className:ge.Z.item},De.createElement("div",null,De.createElement(Fe.Z,{value:`$$${oe.value}$$`}),oe.name),De.createElement("div",{className:ge.Z.children},oe.children.map((tt,Re)=>De.createElement("div",{key:Re},De.createElement("h1",null,tt.name),De.createElement(Ae.Z,{gutter:[10,10]},tt.data.map((_e,ye)=>De.createElement(pe.Z,{key:ye,onClick:()=>Ie(_e),className:ge.Z.diamond},De.createElement(Fe.Z,{value:"`$$"+_e.value+"$$`"}))))))))))},{key:"2",label:"\u516C\u5F0F\u6A21\u677F",children:De.createElement(Ae.Z,{className:ge.Z.lists,gutter:[10,10]},ce.map((oe,Be)=>De.createElement(pe.Z,{flex:"110px",className:ge.Z.item},De.createElement("div",null,De.createElement(Fe.Z,{value:"`$$"+oe.value+"$$`"}),oe.name),De.createElement("div",{className:ge.Z.children},oe.children.map((tt,Re)=>De.createElement("div",{key:Re},tt.name&&De.createElement("h1",null,tt.name),De.createElement(Ae.Z,{gutter:[10,10]},tt.data.map((_e,ye)=>De.createElement(pe.Z,{key:ye,onClick:()=>Ie(_e),className:ge.Z.diamond},De.createElement(Fe.Z,{value:"`$$"+_e.value+"$$`"}))))))))))}],$e=()=>{var oe=document.createElement("div");oe.innerHTML=be.current.getValue();var Be=oe.innerText;return Ue&&Ue(Be),Be};return(0,y.useImperativeHandle)(we,()=>({getData:$e})),De.createElement("div",{className:ge.Z.mathWrap},De.createElement(ze.default,{defaultActiveKey:"1",items:Ze}),De.createElement("math-field",{locale:"zh_cn",className:ge.Z.mathField,placeholder:"\u8BF7\u6253\u5F00\u952E\u76D8\uFF0C\u8F93\u5165\u516C\u5F0F",ref:be,style:{width:800,marginTop:30,fontSize:18}},Ne||""),me&&De.createElement("div",{className:ge.Z.button},De.createElement(Ce.ZP,{size:"large",onClick:$e,style:{zIndex:8,marginTop:10},type:"primary"},"\u4FDD\u5B58\u5230\u7F16\u8F91\u5668")))});Ct.Z=se},90736:function(mn,Ct,E){"use strict";var y=E(59301),Ae=E(4977),pe=E(7939),ze=Object.defineProperty,Ce=Object.defineProperties,Fe=Object.getOwnPropertyDescriptors,ge=Object.getOwnPropertySymbols,je=Object.prototype.hasOwnProperty,De=Object.prototype.propertyIsEnumerable,se=(we,be,he)=>be in we?ze(we,be,{enumerable:!0,configurable:!0,writable:!0,value:he}):we[be]=he,Ue=(we,be)=>{for(var he in be||(be={}))je.call(be,he)&&se(we,he,be[he]);if(ge)for(var he of ge(be))De.call(be,he)&&se(we,he,be[he]);return we},me=(we,be)=>Ce(we,Fe(be));const Ne=({img:we,buttonProps:be={},styles:he={},customText:ce,ButtonText:Ie,ButtonClick:Ze,Buttonclass:$e,ButtonTwo:oe,imgStyles:Be,loading:tt=!1,className:Re=""})=>y.createElement("section",{className:`tc animated fadeIn ${Re}`,style:Ue({color:"#999",margin:"100px auto",visibility:tt?"hidden":"visible"},he)},y.createElement("img",{src:we||Ae,style:me(Ue({},Be),{pointerEvents:"none",userSelect:"none"})}),y.createElement("p",{className:"mt20 font14"},ce||"\u6682\u65F6\u8FD8\u6CA1\u6709\u76F8\u5173\u6570\u636E\u54E6!"),Ie&&y.createElement(pe.ZP,Ue({className:$e,onClick:Ze},be),Ie),oe&&oe);Ct.Z=Ne},47026:function(mn,Ct,E){"use strict";E.d(Ct,{Q:function(){return Fe}});var y=E(59301),Ae=E(82326),pe=E(47889),ze=E(4875),Ce=E(59301),Fe=(je=>(je[je.Number=1]="Number",je[je.Percent=2]="Percent",je))(Fe||{});const ge=({value:je,onChange:De,disabled:se,hidePercentOption:Ue=!1,percentType:me="select"})=>{const Ne=(0,y.useMemo)(()=>Ue?1:2,[Ue]),[we,be]=(0,y.useState)(Ne);console.log(we);const he=Ie=>je.type===1?`${Ie}\u5206`:`${Ie}%`,ce=(0,y.useCallback)(Ie=>{if(we===1){const Ze=Ie.replace("\u5206","");return isNaN(parseInt(Ze,10))?0:Ze}else return Ie.replace("%","")},[we]);return(0,y.useEffect)(()=>{be(je.type)},[je]),Ce.createElement("div",{style:{display:"flex",alignItems:"center"}},me=="select"&&Ce.createElement(Ae.default,{size:"large",onChange:Ie=>{be(Ie),De({type:Ie,inputValue:Ie===1?5:20})},value:we||Ne,style:{width:100},options:Ue?[{label:"\u5206\u503C",value:1}]:[{label:"\u767E\u5206\u6BD4",value:2},{label:"\u5206\u503C",value:1}],disabled:se}),me=="radio"&&Ce.createElement(pe.ZP.Group,{size:"large",onChange:Ie=>{const Ze=Ie.target.value;be(Ze),De({type:Ze,inputValue:Ze===1?5:20})},value:we||Ne,disabled:se},!Ue&&Ce.createElement(pe.ZP,{value:2,style:{marginRight:"50px"}},"\u767E\u5206\u6BD4\u6263\u5206"),Ce.createElement(pe.ZP,{value:1},"\u56FA\u5B9A\u5206\u503C")),me=="radio"&&Ce.createElement("div",{style:{marginRight:"10px",color:"#000000"}},je.type==2?"\u6263\u9664\u8865\u4EA4\u9636\u6BB5\u5F97\u5206\u7684":"\u6263\u9664\u603B\u6210\u7EE9\u7684"),Ce.createElement(ze.Z,{size:"large",disabled:se,value:je.inputValue,style:{width:"120px"},parser:ce,addonAfter:je.type===1?"\u5206":"%",max:we===2?100:Number.MAX_SAFE_INTEGER,min:0,precision:0,onChange:Ie=>{De({type:we,inputValue:Ie})}}),me=="radio"&&je.type==2&&Ce.createElement("div",{style:{marginLeft:"10px",color:"#000000"}},"\u5206\u6570"))};Ct.Z=ge},86974:function(mn,Ct,E){"use strict";E.d(Ct,{Z:function(){return $e}});var y=E(59301),Ae={wrp:"wrp___dq7YK",bgBlack:"bgBlack___ARIUV",monaco:"monaco___VnZC3",darkBlue:"darkBlue___UprA9",close:"close___LKoWu",showClose:"showClose___edZQA",embed:"embed___hvpEJ"},pe=E(7939),ze=E(70557),Ce=E(34728),Fe=E(25399),ge=E(76406),je=E(84849),De=E(90736),se=E(14185),Ue=E(52078),me=E(59301),Ne=Object.defineProperty,we=Object.getOwnPropertySymbols,be=Object.prototype.hasOwnProperty,he=Object.prototype.propertyIsEnumerable,ce=(oe,Be,tt)=>Be in oe?Ne(oe,Be,{enumerable:!0,configurable:!0,writable:!0,value:tt}):oe[Be]=tt,Ie=(oe,Be)=>{for(var tt in Be||(Be={}))be.call(Be,tt)&&ce(oe,tt,Be[tt]);if(we)for(var tt of we(Be))he.call(Be,tt)&&ce(oe,tt,Be[tt]);return oe},Ze=(oe,Be,tt)=>new Promise((Re,_e)=>{var ye=Pe=>{try{Ve(tt.next(Pe))}catch(it){_e(it)}},Le=Pe=>{try{Ve(tt.throw(Pe))}catch(it){_e(it)}},Ve=Pe=>Pe.done?Re(Pe.value):Promise.resolve(Pe.value).then(ye,Le);Ve((tt=tt.apply(oe,Be)).next())}),$e=({editOffice:oe="view",data:Be,issaver:tt,onSaver:Re,theme:_e,type:ye,filename:Le,monacoEditor:Ve,className:Pe,style:it,close:Oe,onClose:ue,hasMask:Xe,disabledDownload:Ge,onImgDimensions:lt,showNodata:Tt,recordInfo:Ke})=>{const[Se,Ft]=(0,y.useState)("https://view.officeapps.live.com/op/view.aspx?src=http://testgs.educoder.net//rails/active_storage/blobs/eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaHBCZz09IiwiZXhwIjpudWxsLCJwdXIiOiJibG9iX2lkIn19--03541f6234b93d7ac3b2d84e7eb0e6594a952945/1.ppt"),[It,ut]=(0,y.useState)(""),[xe,ke]=(0,y.useState)(),at=window.ENV==="build"?"/react/build":"",Rt=location.host.startsWith("localhost")?se.Z.PROXY_SERVER:se.Z.API_SERVER,Nt=10*(1024*1024),xt=(0,y.useRef)();Be!=null&&Be.startsWith("/api")&&ye!=="txt"&&(Be=se.Z.API_SERVER+Be);const Xt=ve=>ve.substring(ve.lastIndexOf("/")+1).split(".").pop();Le&&Ve&&(Ve.filename=Le),(0,y.useEffect)(()=>{var ve,re;const fe=(re=(ve=document.cookie)==null?void 0:ve.replace(/\s/g,""))==null?void 0:re.split(";");fe==null||fe.map(Ye=>{let vt=Ye.split("=");vt[0]==="_educoder_session"&&ut(vt[1])})},[]),(0,y.useEffect)(()=>{ye==="office"&&(Be.indexOf("bigfilescdn.")>-1||Be.indexOf("bigfiles1")>-1?ke({url:Be,fileType:Xt(Be),model:Be.indexOf("model=edit")?"edit":"view"}):Be.indexOf("coze")>-1?ke({url:Be,fileType:"doc",model:"view"}):de())},[ye,Be]);function Wt(ve){return Ze(this,null,function*(){ve.data.type==="pdfdata"&&(Re(ve.data.data),window.removeEventListener("message",Wt,!1)),console.log("mess---:",ve.data)})}const de=()=>Ze(void 0,null,function*(){console.log("data:",Be);let ve=Be;Be.startsWith("http")||(ve=location.origin+ve);let re=new URL(ve).pathname.split("/").pop();const fe=yield(0,je.gJ)({attachment_id:re});fe.url=Rt+fe.url,ke(fe)}),ne=()=>{if(Be.startsWith("http")||Be.startsWith("blob:")){te();return}(0,ge.Sv)(Le||"educoder",Be,Le)},te=()=>{Ke&&(0,Ue.fc)({id:Ke==null?void 0:Ke.id,watch_type:1,course_id:Ke==null?void 0:Ke.course_id}),(0,ge.Nd)(Le||"educoder",decodeURIComponent(Be))};(0,y.useEffect)(()=>(window.addEventListener("message",le),()=>{window.removeEventListener("message",le)}),[]);const le=ve=>{var re;((re=ve==null?void 0:ve.data)==null?void 0:re.type)==="closePop"&&ue()};return me.createElement("div",{style:Ie({},it||{}),className:`${Xe&&Ae.bgBlack} ${ye?Ae.wrp:"hide"}`},!!ye&&Oe&&me.createElement("div",{id:"closePop",className:Ae.close,ref:xt},!!lt&&me.createElement(Fe.Z,{title:"\u70B9\u51FB\u5BF9\u56FE\u7247\u8FDB\u884C\u6279\u6CE8",getPopupContainer:()=>xt.current},me.createElement("span",{onClick:()=>{ue(),lt()}},me.createElement("i",{className:"icon-yulanpizhu"}))),!Ge&&window.parent===window&&me.createElement(Fe.Z,{title:"\u70B9\u51FB\u4E0B\u8F7D\u6B64\u6587\u4EF6",getPopupContainer:()=>xt.current},me.createElement("span",{onClick:te},me.createElement("i",{className:"icon-quxiaozhiding"}))),tt&&me.createElement(Fe.Z,{title:"\u4FDD\u5B58pdf\u5E76\u9000\u51FA",getPopupContainer:()=>xt.current},me.createElement("span",{className:"",onClick:()=>{const ve=document.getElementById("pdfiframe");window.addEventListener("message",Wt,!1),setTimeout(()=>{ve.contentWindow.postMessage("getData","*")},300)}},me.createElement("i",{className:"icon-baocun"}))),me.createElement(Fe.Z,{title:"\u5173\u95ED",getPopupContainer:()=>xt.current},me.createElement("span",{className:"",onClick:()=>{ue()}},me.createElement("i",{className:"icon-guanbi1"})))),me.createElement("div",{className:`${Ae[Pe]} ${Pe} ${Ae.monaco} ${ye==="txt"?"show":"hide"}`},ye==="txt"&&me.createElement(me.Fragment,null,me.createElement(Ce.ZP,Ie({},Ve)))),ye==="audio"&&me.createElement("audio",{controls:!0,src:`${(Be==null?void 0:Be.indexOf("http://"))>-1||(Be==null?void 0:Be.indexOf("https://"))>-1?"":"data:audio/mp3;base64,"}${Be}`,autoPlay:!0}),ye==="video"&&me.createElement(me.Fragment,null,(Be==null?void 0:Be.indexOf("http"))>-1?me.createElement("video",{controls:!0,src:`${Be}`,autoPlay:!0}):me.createElement("video",{controls:!0,src:`data:video/mp4;base64,${Be}`,autoPlay:!0})),ye==="office"&&xe&&me.createElement("iframe",{src:`${at}/office.html?key=${xe.key}&url=${btoa(xe.url)}&callbackUrl=${Rt+(xe.callbackUrl||"")}&fileType=${xe.fileType}&title=${xe.title||""}&model=${oe}&officeServer=${se.Z.ONLYOFFICE}&disabledDownload=${!!Ge}`}),ye==="html"&&me.createElement("iframe",{src:Be+"&disposition=inline"}),ye==="pdf"&&me.createElement("iframe",{id:"pdfiframe",src:`${at}/js/pdf/index.html?filename=${Le||"educoder.pdf"}&url=${encodeURIComponent(Be)}&disabledDownload=${!!Ge}&model=${oe}`}),ye==="image"&&me.createElement("img",{src:`${(Be==null?void 0:Be.indexOf("http://"))>-1||(Be==null?void 0:Be.indexOf("https://"))>-1?"":"data:image/png;base64,"}${Be}`}),(ye==="other"||ye==="download")&&me.createElement(me.Fragment,null,Tt?me.createElement(De.Z,{customText:"\u5F53\u524D\u6587\u4EF6\u4E0D\u652F\u6301\u9884\u89C8\uFF0C\u53EF\u70B9\u51FB\u4E0B\u8F7D\u67E5\u770B",ButtonTwo:me.createElement(pe.ZP,{icon:me.createElement("i",{className:"iconfont icon-xiazai4 font14"}),type:"primary",size:"middle",onClick:ne,disabled:Ge},"\u4E0B\u8F7D")}):me.createElement(pe.ZP,{type:"primary",size:"middle",onClick:ne,disabled:Ge},me.createElement(ze.Z,null),"\u70B9\u51FB\u4E0B\u8F7D")),ye==="flowChart"&&me.createElement("div",{className:"embed"},me.createElement("iframe",{src:`/drawio/src/main/webapp/viewer.html?id=${Be||""}&gapi=0&od=0&db=0&gh=0&gl=0`,width:"100%",height:"100%",frameBorder:"0"})))}},35883:function(mn,Ct,E){"use strict";E.d(Ct,{z:function(){return Ve},Z:function(){return Pe}});var y=E(59301),Ae=E(46214),pe=E(20047),ze=E(64018),Ce=E(16471),Fe=E(14185),ge=E(76406),je=E(15342),De=E(44104),se=E(7939),Ue=E(1012),me=E(86974),Ne=E(59301),be=({html:it})=>{const Oe=(0,y.useRef)(null),ue=(0,y.useRef)(null),Xe=`.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 Ge=Oe.current.attachShadow({mode:"open"});ue.current=document.createElement("div"),ue.current.className="markdown-body",ue.current.innerHTML=it,Ge.appendChild(ue.current);const lt=document.createElement("style");return lt.textContent=Xe,Ge.appendChild(lt),()=>{Ge.innerHTML=""}},[]),(0,y.useEffect)(()=>{ue.current&&(ue.current.innerHTML=it)},[it]),Ne.createElement("div",{ref:Oe})};function he(it){const Oe=["onabort","onanimationend","onanimationiteration","onanimationstart","onauxclick","onblur","oncancel","oncanplay","oncanplaythrough","onchange","onclick","onclose","oncontextmenu","oncopy","oncut","ondblclick","ondrag","ondragend","ondragenter","ondragleave","ondragover","ondragstart","ondrop","ondurationchange","onemptied","onended","onerror","onfocus","onformdata","ongotpointercapture","oninput","oninvalid","onkeydown","onkeypress","onkeyup","onload","onloadeddata","onloadedmetadata","onloadstart","onlostpointercapture","onmousedown","onmousemove","onmouseout","onmouseover","onmouseup","onpaste","onpause","onplay","onplaying","onpointercancel","onpointerdown","onpointerenter","onpointerleave","onpointermove","onpointerout","onpointerover","onpointerup","onprogress","onratechange","onreset","onresize","onscroll","onsecuritypolicyviolation","onseeked","onseeking","onselect","onslotchange","onstalled","onsubmit","onsuspend","ontimeupdate","ontoggle","ontouchcancel","ontouchend","ontouchmove","ontouchstart","ontransitionend","onvolumechange","onwaiting","onwheel"],ue=new RegExp(`\\b(${Oe.join("|")})\\s*=\\s*(?:"[^"]*"|'[^']*'|[^\\s>]*)`,"gi"),Xe=/<meta\s+http-equiv\s*=\s*["']?refresh["']?[^>]*>/gi;return it.replace(ue,"").replace(Xe,"").trim()}var ce={mdBody:"mdBody___raKXb",button:"button___Ch5Pc",previewFlowChart:"previewFlowChart___vY1dq"},Ie=Object.defineProperty,Ze=Object.getOwnPropertySymbols,$e=Object.prototype.hasOwnProperty,oe=Object.prototype.propertyIsEnumerable,Be=(it,Oe,ue)=>Oe in it?Ie(it,Oe,{enumerable:!0,configurable:!0,writable:!0,value:ue}):it[Oe]=ue,tt=(it,Oe)=>{for(var ue in Oe||(Oe={}))$e.call(Oe,ue)&&Be(it,ue,Oe[ue]);if(Ze)for(var ue of Ze(Oe))oe.call(Oe,ue)&&Be(it,ue,Oe[ue]);return it};const Re="@\u2581\u2581@",_e="@\u2581@",ye=/<pre[^>]*>/g;function Le(it){let Oe=document.createElement("div");return Oe.innerHTML=it,Oe.childNodes.length===0?"":Oe.childNodes[0].nodeValue}const Ve=(it,Oe)=>{it=it||"";const ue=/(?:https?:\/\/[^\/]+)?\/api\/attachments\/([A-Za-z0-9+/=]+)(\?.*?)?\)|(?:https?:\/\/[^\/]+)?\/api\/attachments\/([A-Za-z0-9+/=]+)(\?.*?)?|(?:https?:\/\/[^\/]+)?\/attachments\/download\/([A-Za-z0-9+/=]+)(\?.*?)?\//g,Xe=/\"(?:https?:\/\/[^\/]+)?\/api\/attachments\/([A-Za-z0-9+/=]+)(\?.*?)?|\"(?:https?:\/\/[^\/]+)?\/attachments\/download\/([A-Za-z0-9+/=]+)(\?.*?)?\//g,Ge=/\(\s+(?:https?:\/\/[^\/]+)?\/files\/uploads\/([A-Za-z0-9+/=]+)(\?.*?)?|\"(?:https?:\/\/[^\/]+)?\/files\/uploads\/([A-Za-z0-9+/=]+)(\?.*?)?\//g,lt=/(?:https?:\/\/[^\/]+)?\/attachments\/download\/([A-Za-z0-9+/=]+)(\?.*?)?\//g;return Oe?it.replaceAll("https://www.educoder.net","").replaceAll("https://www-cdn.educoder.net","").replaceAll("//api/attachments","/api/attachments").replace(ue,(Tt,Ke,Se,Ft,It,ut,xe)=>{const ke=Ke||Ft||ut,at=Se||It||xe||"?";return Fe.Z.API_SERVER+"/api/attachments/"+ke+at+"&t="+(0,ge.Jn)(ke,Date.now())+(Tt.indexOf(")")>-1?")":"&")}).replaceAll('src="(','src="').replaceAll("src='(",'src="'):(it=it.replace(lt,(Tt,Ke,Se,Ft,It,ut,xe)=>{const ke=Ke||Ft||ut,at=Se||It||xe||"?";return Fe.Z.API_SERVER+"/attachments/download/"+ke+at+"&t="+(0,ge.Jn)(ke,Date.now())+(Tt.indexOf(")")>-1?")":"&")}).replace(ue,(Tt,Ke,Se,Ft,It,ut,xe)=>{const ke=Ke||Ft||ut,at=Se||It||xe||"?";return Fe.Z.API_SERVER+"/api/attachments/"+ke+at+"&t="+(0,ge.Jn)(ke,Date.now())+(Tt.indexOf(")")>-1?")":"&")}).replace(Xe,(Tt,Ke,Se,Ft,It)=>{const ut=Ke||Ft,xe=Se||It||"";return'"'+Fe.Z.API_SERVER+"/api/attachments/"+ut+xe+ut+xe+"&t="+(0,ge.Jn)(ut,Date.now())}).replace(Ge,(Tt,Ke,Se,Ft,It)=>{const ut=Ke||Ft,xe=Se||It||"";return"("+Fe.Z.API_SERVER+"/files/uploads/"+ut+xe+ut+xe+"&t="+(0,ge.Jn)(ut,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:Oe=!1,className:ue,showTextOnly:Xe,showLines:Ge,style:lt={},stylesPrev:Tt={},highlightKeywords:Ke,showProgramFill:Se,isProgramFill:Ft,disabledFill:It=!1,programFillValue:ut,openEditor:xe=()=>{},onFillChange:ke=ft=>{},onFillBlur:at=()=>{},onFillFocus:Rt=()=>{}})=>{let ft=he(String(it||""));const Nt=(0,y.useRef)(),xt=(0,y.useRef)(),[Xt,Wt]=(0,y.useState)(""),[de,ne]=(0,y.useState)("office"),[te,le]=(0,y.useState)([]),ve=(0,y.useRef)("a"+(0,Ue.Z)()),re={},fe=Yt=>/<style[\s\S]*?>/i.test(Yt||""),Ye=(Yt,Jt,cn)=>{const bt=document.createElement(Yt===_e?"input":"textarea");bt.style.width="100%",bt.style.height=Yt===_e?"40px":"151px",bt.rows=5,bt.spellcheck=!1,bt.name="edu-program-fill",bt.placeholder="\u8BF7\u8F93\u5165",bt.dataset.id=Jt;const zt=Object.keys(re).length;return re[zt]=bt,`<span class="edu-program-fill-wrap ${Yt===_e?"":"show"}" style="width:${Yt===_e?"600px":"100%"}" title=${cn||""}><span>${bt.outerHTML}<span class="edu-program-fill-score" style="margin:0 6px"></span></span></span>`};function vt(Yt){return Yt=Yt.replace(/!\[.*?\]\(.*?\)/g,""),Yt=Yt.replace(/\[.*?\]\(.*?\)/g,""),Yt=Yt.replace(new RegExp("<iframe.*?<\\/iframe>","gs"),""),Yt=Yt.replace(/<embed.*?>/g,""),Yt=Yt.replace(/<img.*?>/g,""),Yt=Yt.replace(new RegExp("<video.*?>.*?<\\/video>","gs"),""),Yt=Yt.replace(new RegExp("<audio.*?>.*?<\\/audio>","gs"),""),Yt=Yt.replace(new RegExp("<style.*?>.*?<\\/style>","gs"),""),Yt=Yt.replace(new RegExp("<script.*?>.*?<\\/script>","gs"),""),Yt}const et=Yt=>!Xe&&fe(ft)?Yt:Yt.replace(/<style.*?>([\s\S]+?)<\/style>/gim,function(Jt,cn){let bt=cn.replace(/(\n|\r)/g,"").split("}"),zt=[];return bt.map(un=>{un!=""&&zt.push(`.${ve.current} ${un}`)}),`<style>${zt.join("}")}</style>`}),nt=(0,y.useMemo)(()=>{(0,pe.Iy)();try{const bt=/\(\s+\/api\/attachments\/|\(\/api\/attachments\//g,zt=/\"\/api\/attachments\/|\"\/attachments\/download\//g,un=/\(\s+\/files\/uploads\/|\"\/files\/uploads\//g,Cn=/\(\/attachments\/download\//g;ft=ft.replace(Cn,"("+Fe.Z.API_SERVER+"/attachments/download/").replace(bt,"("+Fe.Z.API_SERVER+"/api/attachments/").replace(zt,'"'+Fe.Z.API_SERVER+"/api/attachments/").replace(un,'"'+Fe.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,`
|
|
|
`),Nt.current.style.display="none"}catch(bt){}if(Se){let bt=-1;return ft=ft.replaceAll("<","<").replaceAll(">",">").replace(/(@▁▁@|@▁@)/g,function(zt,un,Cn){var ct;return++bt,Ye(zt,bt,(ct=ut==null?void 0:ut[bt])==null?void 0:ct.value.replaceAll("<","<").replaceAll(">",">"))}),`<pre style="background:#fff;padding:4px">${et(ft||"")}</pre>`}let Yt=et(ft);Yt=(0,pe.ZP)(Yt);const Jt=(0,pe.ez)();ft.match(/\[TOC\]/)&&(Yt=Yt.replace("<p>[TOC]</p>",(0,pe.Qv)()),(0,pe.Iy)()),Yt=Yt.replace(/(__special_katext_id_\d+__)/g,(bt,zt)=>{const{type:un,expression:Cn}=Jt[zt];return(0,je.renderToString)(Le(Cn)||"",{displayMode:un==="block",throwOnError:!1,output:"html"})}),Yt=Yt.replace(/▁/g,"\u2581\u2581\u2581\u2581\u2581"),(0,pe.AL)();const cn=document.createElement("div");if(cn.innerHTML=Yt,Xe)return cn.innerText;if(Ke){const bt=Ke.replace(/[.*+?^${}()|[\]\\]/g,"\\$&");return Qe(cn,bt),cn.innerHTML}return setTimeout(()=>Kt(),500),cn.innerHTML},[ft,Ke]);(0,y.useEffect)(()=>{st.current&&st.current.querySelectorAll(["input","textarea"]).forEach(Jt=>{Jt.oninput=mt,Jt.onblur=yt,Jt.onfocus=St})},[te]),(0,y.useEffect)(()=>{var Yt,Jt,cn,bt,zt;if(ut!=null&&ut.length)try{const un=st.current.querySelectorAll(".edu-program-fill-score"),Cn=st.current.querySelectorAll('[name="edu-program-fill"]');for(const[ct,Zt]of Cn.entries())Zt.value=((Yt=ut==null?void 0:ut[ct])==null?void 0:Yt.value)||"",((Jt=ut==null?void 0:ut[ct])==null?void 0:Jt.type)==="warning"?Zt.className="program-fill-warning":((cn=ut==null?void 0:ut[ct])==null?void 0:cn.type)==="success"?Zt.className="program-fill-success":Zt.className="";for(const[ct,Zt]of un.entries())Zt.innerHTML=(bt=ut==null?void 0:ut[ct])!=null&&bt.score?`${(zt=ut==null?void 0:ut[ct])==null?void 0:zt.score}\u5206`:"";le(ut)}catch(un){console.log(un,"error")}},[ut]);const mt=Yt=>{te[Yt.target.dataset.id]=te[Yt.target.dataset.id]||{},te[Yt.target.dataset.id].value=Yt.target.value,le([...te]),ke(te,Yt.target.dataset.id)},yt=Yt=>{te[Yt.target.dataset.id]=te[Yt.target.dataset.id]||{},te[Yt.target.dataset.id].value=Yt.target.value,le([...te]),at(te,Yt.target.dataset.id)},St=Yt=>{te[Yt.target.dataset.id]=te[Yt.target.dataset.id]||{},te[Yt.target.dataset.id].value=Yt.target.value,le([...te]),Rt(te,Yt.target.dataset.id)};function Qe(Yt,Jt){return Yt.childNodes.forEach(cn=>{var bt;if(cn.childNodes.length>0)Qe(cn,Jt);else if(cn.nodeName!=="IMG")if(cn.innerHTML)cn.innerHTML=(bt=cn.innerHTML)==null?void 0:bt.replace(new RegExp(Jt,"gi"),'<span style="color:#0152d9;background-color:#1890ff33">$&</span>');else{const zt=document.createElement("span");zt.innerHTML=cn.textContent.replace(new RegExp(Jt,"gi"),'<span style="color:#0152d9;background-color:#1890ff33">$&</span>'),cn.replaceWith(zt)}})}const st=(0,y.useRef)();pe.jb.WebkitLineClamp=Ge,Ge&&(lt=tt(tt({},lt),pe.jb));function en(Yt){let Jt=Yt.target;if(Jt.tagName.toUpperCase()==="A"){let cn=Jt.getAttribute("href");if(cn.indexOf("office")>-1)Yt.preventDefault(),Wt(cn),ne("office");else if(cn.indexOf("application/pdf")>-1)Yt.preventDefault(),Wt(cn),ne("pdf");else if(cn.indexOf("text/html")>-1)Yt.preventDefault(),Wt(cn),ne("html");else if(cn.startsWith("#")){Yt.preventDefault();let bt=document.getElementById(cn.replace("#",""));bt&&bt.scrollIntoView(!0)}}}const Kt=()=>{var Yt;const Jt=(Yt=st.current)==null?void 0:Yt.querySelectorAll("video");Jt==null||Jt.forEach(cn=>{if(cn.oncontextmenu=()=>!1,cn.src.indexOf(".m3u8")>-1&&!cn.canPlayType("application/vnd.apple.mpegurl")){if(Ce.ZP.isSupported()){var bt=new Ce.ZP;bt.loadSource(cn.src),bt.attachMedia(cn)}}})};(0,y.useEffect)(()=>{if(st.current&&nt&&nt.match(ye)&&window.PR.prettyPrint(),st.current)return st.current.addEventListener("click",en),()=>{var Yt;(Yt=st.current)==null||Yt.removeEventListener("click",en),(0,pe.AL)(),(0,pe.Iy)()}},[nt,st.current,en]);const vn=Yt=>{Yt.target.nodeName==="IMG"&&Yt.target.className.indexOf("draw-flowchart")>-1?(Nt.current.style.zIndex=1,Nt.current.style.display="flex",Nt.current.style.width=Yt.target.clientWidth+"px",Nt.current.style.height=Yt.target.clientHeight+"px",Nt.current.style.top=Yt.target.offsetTop+"px",Nt.current.style.left=Yt.target.offsetLeft+"px",Yt.target.id&&(xt.current=Yt.target.id)):Nt.current.style.display="none"},nn=()=>{Nt.current.style.display="none"};return(0,y.useEffect)(()=>{var Yt;const Jt=cn=>{cn.preventDefault(),cn.clipboardData.setData("text",window.getSelection().toString())};return(Yt=st.current)==null||Yt.addEventListener("copy",Jt),()=>{var cn;(cn=st.current)==null||cn.removeEventListener("copy",Jt)}},[st.current]),y.createElement("div",{style:{position:"relative"},onMouseLeave:nn},Xe&&y.createElement("div",{ref:st,className:`${ce.mdBody} `},nt),!Xe&&!fe(nt)&&y.createElement("div",{ref:st,style:tt({},lt),onMouseOver:vn,className:`${ue||""} ${It?"disabled-fill":""} markdown-body ${ce.mdBody} ${ve.current}`,dangerouslySetInnerHTML:{__html:nt}}),!Xe&&fe(nt)&&y.createElement(be,{html:nt}),y.createElement("div",{ref:Nt,className:`${ce.button} ${Oe?"":ce.previewFlowChart}`},y.createElement(De.Z,null,y.createElement(se.ZP,{onClick:()=>{Oe?xe(xt.current):(Wt(xt.current),ne("flowChart"))}},Oe?"\u7F16\u8F91":"\u9884\u89C8"))),y.createElement(me.Z,{close:!0,data:Xt,type:Xt!=null&&Xt.length?de:"",style:tt({},Tt),onClose:()=>Wt("")}))}},59722:function(mn,Ct,E){"use strict";E.d(Ct,{Z:function(){return Re}});var y=E(59301),Ae=E(9221),pe=Object.defineProperty,ze=Object.getOwnPropertySymbols,Ce=Object.prototype.hasOwnProperty,Fe=Object.prototype.propertyIsEnumerable,ge=(_e,ye,Le)=>ye in _e?pe(_e,ye,{enumerable:!0,configurable:!0,writable:!0,value:Le}):_e[ye]=Le,je=(_e,ye)=>{for(var Le in ye||(ye={}))Ce.call(ye,Le)&&ge(_e,Le,ye[Le]);if(ze)for(var Le of ze(ye))Fe.call(ye,Le)&&ge(_e,Le,ye[Le]);return _e},De=(_e,ye)=>{var Le={};for(var Ve in _e)Ce.call(_e,Ve)&&ye.indexOf(Ve)<0&&(Le[Ve]=_e[Ve]);if(_e!=null&&ze)for(var Ve of ze(_e))ye.indexOf(Ve)<0&&Fe.call(_e,Ve)&&(Le[Ve]=_e[Ve]);return Le};const Ue={header:{cell:_e=>{var ye=_e,{onResize:Le,width:Ve}=ye,Pe=De(ye,["onResize","width"]);return Ve?y.createElement(Ae.Resizable,{width:Ve,height:0,handle:y.createElement("span",{className:"react-resizable-handle",onClick:it=>{it.stopPropagation()}}),onResize:Le,draggableOpts:{enableUserSelectHack:!1}},y.createElement("th",je({},Pe))):y.createElement("th",je({},Pe))}}};var me=E(70858),Ne=Object.defineProperty,we=Object.defineProperties,be=Object.getOwnPropertyDescriptors,he=Object.getOwnPropertySymbols,ce=Object.prototype.hasOwnProperty,Ie=Object.prototype.propertyIsEnumerable,Ze=(_e,ye,Le)=>ye in _e?Ne(_e,ye,{enumerable:!0,configurable:!0,writable:!0,value:Le}):_e[ye]=Le,$e=(_e,ye)=>{for(var Le in ye||(ye={}))ce.call(ye,Le)&&Ze(_e,Le,ye[Le]);if(he)for(var Le of he(ye))Ie.call(ye,Le)&&Ze(_e,Le,ye[Le]);return _e},oe=(_e,ye)=>we(_e,be(ye)),Be=(_e,ye)=>{var Le={};for(var Ve in _e)ce.call(_e,Ve)&&ye.indexOf(Ve)<0&&(Le[Ve]=_e[Ve]);if(_e!=null&&he)for(var Ve of he(_e))ye.indexOf(Ve)<0&&Ie.call(_e,Ve)&&(Le[Ve]=_e[Ve]);return Le},Re=_e=>{var ye=_e,{pagination:Le,resColumns:Ve,dataSource:Pe,onRow:it}=ye,Oe=Be(ye,["pagination","resColumns","dataSource","onRow"]);const[ue,Xe]=(0,y.useState)(!1),[Ge,lt]=(0,y.useState)([{}]),Tt=(0,y.useRef)(null);(0,y.useEffect)(()=>{let Se=Ve;Se=Se.map((Ft,It)=>oe($e({},Ft),{onHeaderCell:ut=>({width:ut.width,onResize:Ke(It)})})),lt(Se)},[]),(0,y.useEffect)(()=>{Tt.current=Ge},[Ge]);const Ke=Se=>(Ft,{size:It})=>{const ut=[...Tt.current];ut[Se]=oe($e({},ut[Se]),{width:It.width}),lt(ut)};return y.createElement("div",null,y.createElement(me.default,oe($e({bordered:!0,components:Ue,columns:Ge,dataSource:Pe,pagination:Le,loading:ue,onRow:it},Oe),{rowKey:Se=>Se.key||Se.id})))}},75284:function(mn,Ct,E){"use strict";E.d(Ct,{Z:function(){return ye},P:function(){return tt}});var y=E(59301),Ae=E(28284),pe=E(62957),ze=E(47889),Ce=E(37568),Fe=E(70858),ge={brief:"brief___LOzpE",contentTitle:"contentTitle___xkdcN",content:"content___Vtri0",tips:"tips___tuAtH",antdTable:"antdTable___s8T2N",tableCell:"tableCell___kN9Fw",antdModal:"antdModal___WVBk3",orangeColor:"orangeColor___ryB2u"},je=E(66443),De=Object.defineProperty,se=Object.defineProperties,Ue=Object.getOwnPropertyDescriptors,me=Object.getOwnPropertySymbols,Ne=Object.prototype.hasOwnProperty,we=Object.prototype.propertyIsEnumerable,be=(Le,Ve,Pe)=>Ve in Le?De(Le,Ve,{enumerable:!0,configurable:!0,writable:!0,value:Pe}):Le[Ve]=Pe,he=(Le,Ve)=>{for(var Pe in Ve||(Ve={}))Ne.call(Ve,Pe)&&be(Le,Pe,Ve[Pe]);if(me)for(var Pe of me(Ve))we.call(Ve,Pe)&&be(Le,Pe,Ve[Pe]);return Le},ce=(Le,Ve)=>se(Le,Ue(Ve)),Ie=(Le,Ve)=>{var Pe={};for(var it in Le)Ne.call(Le,it)&&Ve.indexOf(it)<0&&(Pe[it]=Le[it]);if(Le!=null&&me)for(var it of me(Le))Ve.indexOf(it)<0&&we.call(Le,it)&&(Pe[it]=Le[it]);return Pe},Ze=(Le,Ve,Pe)=>new Promise((it,Oe)=>{var ue=lt=>{try{Ge(Pe.next(lt))}catch(Tt){Oe(Tt)}},Xe=lt=>{try{Ge(Pe.throw(lt))}catch(Tt){Oe(Tt)}},Ge=lt=>lt.done?it(lt.value):Promise.resolve(lt.value).then(ue,Xe);Ge((Pe=Pe.apply(Le,Ve)).next())});const $e=({studentNames:Le,total:Ve})=>{const Pe=["","\u4E00","\u4E24","\u4E09"];return Ve>3?y.createElement(y.Fragment,null,"\u8BFE\u5802\u5185\u6709",y.createElement("span",{className:ge.orangeColor},Le==null?void 0:Le.join("\u3001")),"\u7B49",y.createElement("span",{className:ge.orangeColor},Ve),"\u540D\u5B66\u751F"):y.createElement(y.Fragment,null,"\u8BFE\u5802\u5185\u6709",y.createElement("span",{className:ge.orangeColor},Le==null?void 0:Le.join("\u3001")),Pe[Ve],"\u540D\u5B66\u751F")},oe=({used:Le,copy:Ve,canNotCopy:Pe,studentNames:it,studentCount:Oe,inPaper:ue,is_random:Xe=!1,position:Ge=""})=>{const lt=()=>{if(Ve>0&&Pe>0)return y.createElement(y.Fragment,null,"\u5176\u4E2D",y.createElement("span",{className:ge.orangeColor},Ve),"\u4E2A\u9879\u76EE\u652F\u6301\u590D\u5236\uFF0C",y.createElement("span",{className:ge.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:ge.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:ge.orangeColor},Pe),"\u4E2A\u9879\u76EE\u4E0D\u652F\u6301\u590D\u5236")},Tt=Ge||(ue?"\u8BD5\u5377":"\u8BFE\u7A0B");return y.createElement("span",null,y.createElement($e,{studentNames:it,total:Oe}),"\u5B66\u4E60\u8FC7",Tt,"\u4E2D\u7684",y.createElement("span",{className:ge.orangeColor},Le),"\u4E2A\u9879\u76EE\uFF0C",lt(),"\u3002\u8BF7\u9009\u62E9",Xe?"":"\u662F\u5426\u7EE7\u7EED\u4F7F\u7528\u548C","\u662F\u5426\u590D\u5236\u4E3A\u65B0\u9879\u76EE\u53D1\u9001\u81F3\u8BFE\u5802\u4E2D\uFF1F")},Be=({onCancel:Le,onOk:Ve,visible:Pe,inPaper:it,renderData:Oe,type:ue,isMultipleCourse:Xe=!1})=>{const[Ge]=Ae.default.useForm(),[lt,Tt]=(0,y.useState)(1),[Ke,Se]=(0,y.useState)(!1),Ft=(0,y.useMemo)(()=>(Oe==null?void 0:Oe.total_num)===1&&(Oe==null?void 0:Oe.can_copy_num)===1,[Oe]),It=(0,y.useMemo)(()=>{var ut;return(ut=Oe==null?void 0:Oe.course_data_list)==null?void 0:ut.filter(xe=>xe.is_show)},[Oe]);return y.createElement(y.Fragment,null,Ft?y.createElement(pe.default,{centered:!0,closable:!0,open:Pe,destroyOnClose:!0,title:"\u63D0\u793A",className:ge.antdModal,width:682,confirmLoading:Ke,onCancel:Le,onOk:()=>Ze(void 0,null,function*(){var ut;Se(!0);let xe=lt;if(Xe){const ke=he({},Ge.getFieldsValue());xe=(ut=Oe==null?void 0:Oe.course_data_list)==null?void 0:ut.map(at=>ke[at.id]!==void 0?ce(he({},at),{is_copy:ke[at.id]}):at)}yield Ve(xe),Se(!1)})},y.createElement("div",{className:ge.content,style:{marginBottom:20}},Xe?"\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($e,{studentNames:Oe==null?void 0:Oe.student_names,total:Oe==null?void 0:Oe.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")),Xe?y.createElement(Ae.default,{form:Ge,preserve:!1},It==null?void 0:It.map(ut=>y.createElement(y.Fragment,{key:ut.id},y.createElement("h3",{className:"ml15 mb5"},ut.name),y.createElement(Ae.default.Item,{name:ut.id,initialValue:1},y.createElement(ze.ZP.Group,{className:ge.content},y.createElement(ze.ZP,{value:1,style:{color:"#464f66"}},"\u590D\u5236\u5B9E\u8BAD"),y.createElement(ze.ZP,{value:0,style:{color:"#464f66"}},"\u4E0D\u590D\u5236\u5B9E\u8BAD")))))):y.createElement(ze.ZP.Group,{value:lt,onChange:ut=>Tt(ut.target.value),className:ge.content,style:{marginBottom:30}},y.createElement(ze.ZP,{value:1,style:{color:"#464f66"}},"\u590D\u5236"),y.createElement(ze.ZP,{value:0,style:{color:"#464f66"}},"\u4E0D\u590D\u5236")),y.createElement("div",null,y.createElement("div",{className:ge.content,style:{marginBottom:10}},"* \u8BF4\u660E\uFF1A"),y.createElement("div",{className:ge.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:`${ge.content} ${ge.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(pe.default,{centered:!0,closable:!0,destroyOnClose:!0,open:Pe,confirmLoading:Ke,title:"\u63D0\u793A",width:682,onCancel:Le,onOk:()=>Ze(void 0,null,function*(){var ut;Se(!0);let xe=0;if(Xe){const ke=he({},Ge.getFieldsValue());xe=(ut=Oe==null?void 0:Oe.course_data_list)==null?void 0:ut.map(at=>ke[at.id]!==void 0?ce(he({},at),{is_use:ke[at.id]}):at)}yield Ve(xe),Se(!1)})},y.createElement("div",{className:ge.content},y.createElement($e,{studentNames:Oe==null?void 0:Oe.student_names,total:Oe==null?void 0:Oe.student_count}),"\u5B66\u4E60\u8FC7\u8BE5\u5B9E\u8DF5\u9879\u76EE\u3002",Xe?y.createElement(Ae.default,{form:Ge,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"),It==null?void 0:It.map(ut=>y.createElement(y.Fragment,{key:ut.id},y.createElement("h3",{className:"ml15 mb5"},ut.name),y.createElement(Ae.default.Item,{name:ut.id,initialValue:1},y.createElement(ze.ZP.Group,{className:ge.content},y.createElement(ze.ZP,{value:1,style:{color:"#464f66"}},"\u7EE7\u7EED\u4F7F\u7528"),y.createElement(ze.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:ge.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"))))},tt=function(){const[Le,Ve]=(0,y.useState)(!1),[Pe,it]=(0,y.useState)();return[Le,()=>Ve(!1),Pe,Xe=>Ze(this,null,function*(){var Ge;const lt=Xe,{isImportMultipleCourse:Tt=!1}=lt,Ke=Ie(lt,["isImportMultipleCourse"]);console.log(Xe);const Se=(Xe==null?void 0:Xe.result)||(yield(0,je.Tr)(Ke));return"status"in Se?!1:Tt?((Ge=Se==null?void 0:Se.course_data_list)==null?void 0:Ge.some(It=>It.is_show))?(it(Se),Ve(!0),!0):Se.course_data_list||[]:Se.student_count===0?!1:(it(Se),Ve(!0),!0)})]},Re=Le=>{const[Ve]=Ae.default.useForm(),[Pe,it]=(0,y.useState)(!1),{onCancel:Oe,onOk:ue,visible:Xe,inPaper:Ge=!1,renderData:lt,type:Tt,isMultipleCourse:Ke=!1,position:Se}=Le;let Ft=(0,y.useMemo)(()=>Ge?[{title:"\u5B9E\u8DF5\u9879\u76EE\u540D\u79F0",dataIndex:"name",width:424,align:"center",ellipsis:!0,className:ge.tableCell,render(xe,ke){return y.createElement("a",{href:`/shixuns/${ke.identifier}/challenges`,target:"_blank"},xe)}},{title:"\u662F\u5426\u590D\u5236",dataIndex:"is_copy",align:"center",render:(xe,ke)=>y.createElement(y.Fragment,null,y.createElement(Ae.default.Item,{name:[`${Tt==="subject"?ke.stage_shixun_id:ke.shixun_course_id||ke.id}`,"is_copy"],initialValue:1},y.createElement(ze.ZP.Group,null,y.createElement(ze.ZP,{value:1},"\u662F"),y.createElement(ze.ZP,{value:0},"\u5426"))),y.createElement(Ae.default.Item,{name:[`${Tt==="subject"?ke==null?void 0:ke.stage_shixun_id:ke.shixun_course_id||ke.id}`,"is_use"],hidden:!0,initialValue:1},y.createElement(Ce.default,{type:"hidden"})))}]:[{title:"\u5B9E\u8DF5\u9879\u76EE\u540D\u79F0",dataIndex:"name",width:424,align:"center",ellipsis:!0,className:ge.tableCell,render(xe,ke){return y.createElement("a",{href:`/shixuns/${ke.identifier}/challenges`,target:"_blank"},xe)}},{title:"\u662F\u5426\u4F7F\u7528",dataIndex:"is_use",align:"center",render:(xe,ke)=>y.createElement(Ae.default.Item,{name:[`${Tt==="subject"?ke.stage_shixun_id:ke.shixun_course_id||ke.id}`,"is_use"],initialValue:1},y.createElement(ze.ZP.Group,null,y.createElement(ze.ZP,{value:1},"\u662F"),y.createElement(ze.ZP,{value:0},"\u5426")))},{title:"\u662F\u5426\u590D\u5236",dataIndex:"is_copy",align:"center",render:(xe,ke)=>y.createElement(Ae.default.Item,{name:[`${Tt==="subject"?ke.stage_shixun_id:ke.shixun_course_id||ke.id}`,"is_copy"],initialValue:1},y.createElement(ze.ZP.Group,null,y.createElement(ze.ZP,{value:1},"\u662F"),y.createElement(ze.ZP,{value:0},"\u5426")))}],[Ge]),It=(0,y.useMemo)(()=>Ge?[{title:"\u5B9E\u8DF5\u9879\u76EE\u540D\u79F0",dataIndex:"name",width:424,className:ge.tableCell,align:"center",ellipsis:!0,render:(xe,ke)=>y.createElement(y.Fragment,null,y.createElement("a",{href:`/shixuns/${ke.identifier}/challenges`,target:"_blank"},xe),y.createElement(Ae.default.Item,{name:[`${Tt==="subject"?ke==null?void 0:ke.stage_shixun_id:ke.shixun_course_id||ke.id}`,"is_copy"],hidden:!0,initialValue:0},y.createElement(Ce.default,{type:"hidden"})),y.createElement(Ae.default.Item,{name:[`${Tt==="subject"?ke==null?void 0:ke.stage_shixun_id:ke.shixun_course_id||ke.id}`,"is_use"],hidden:!0,initialValue:1},y.createElement(Ce.default,{type:"hidden"})))}]:[{title:"\u5B9E\u8DF5\u9879\u76EE\u540D\u79F0",dataIndex:"name",width:424,className:ge.tableCell,ellipsis:!0,align:"center",render:(xe,ke)=>y.createElement("a",{href:`/shixuns/${ke.identifier}/challenges`,target:"_blank"},xe)},{title:"\u662F\u5426\u4F7F\u7528",dataIndex:"is_use",align:"center",render:(xe,ke)=>y.createElement(y.Fragment,null,y.createElement(Ae.default.Item,{name:[`${Tt==="subject"?ke==null?void 0:ke.stage_shixun_id:ke.shixun_course_id||ke.id}`,"is_use"],initialValue:0},y.createElement(ze.ZP.Group,null,y.createElement(ze.ZP,{value:1},"\u662F"),y.createElement(ze.ZP,{value:0},"\u5426"))),y.createElement(Ae.default.Item,{name:[`${Tt==="subject"?ke==null?void 0:ke.stage_shixun_id:ke.shixun_course_id||ke.id}`,"is_copy"],hidden:!0,initialValue:0},y.createElement(Ce.default,{type:"hidden"})))}],[Ge]);if(Ke){const xe={title:"\u8BFE\u5802\u540D\u79F0",ellipsis:!0,dataIndex:"course_name",width:190,align:"center",className:ge.tableCell,render:(ke,at)=>y.createElement("a",{href:`/classrooms/${at.course_id}`},ke)};Ft=[xe,...Ft],It=[xe,...It]}const ut=(0,y.useMemo)(()=>oe({used:lt==null?void 0:lt.repeat_shixun_num,copy:lt==null?void 0:lt.can_copy_num,canNotCopy:lt==null?void 0:lt.no_copy_num,studentNames:lt==null?void 0:lt.student_names,studentCount:lt==null?void 0:lt.student_count,is_random:lt==null?void 0:lt.is_random,inPaper:Ge,position:Se}),[lt,Ge,Se]);return y.createElement(pe.default,{title:"\u63D0\u793A",centered:!0,open:Xe,confirmLoading:Pe,onOk:()=>Ze(void 0,null,function*(){it(!0);const xe=Ve.getFieldsValue(),ke=Object.keys(xe).map(at=>({id:parseInt(at.split("_")[0]),course_id:parseInt(at.split("_")[1]),is_use:xe[at].is_use,is_copy:xe[at].is_copy}));yield ue(ke),it(!1)}),onCancel:Oe,width:880,okText:"\u786E\u8BA4",className:ge.antdModal,destroyOnClose:!0},y.createElement(Ae.default,{form:Ve,preserve:!1},y.createElement("div",{className:ge.brief},ut),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:ge.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")),(lt==null?void 0:lt.can_copy_num)>0&&y.createElement("div",null,y.createElement("div",{className:ge.contentTitle},"\u652F\u6301\u590D\u5236\u7684\u9879\u76EE"),y.createElement(Fe.default,{columns:Ft,className:ge.antdTable,dataSource:lt==null?void 0:lt.can_copy_list,rowKey:Tt==="subject"?"stage_shixun_id":"id",pagination:!1,scroll:{y:240},bordered:!0})),(lt==null?void 0:lt.no_copy_num)>0&&y.createElement("div",null,y.createElement("div",{className:ge.contentTitle},"\u4E0D\u652F\u6301\u590D\u5236\u7684\u9879\u76EE"),y.createElement(Fe.default,{columns:It,className:ge.antdTable,dataSource:lt==null?void 0:lt.no_copy_list,rowKey:Tt==="subject"?"stage_shixun_id":"id",pagination:!1,scroll:{y:200},bordered:!0})),(lt==null?void 0:lt.no_use_list.length)>0&&(lt==null?void 0:lt.no_use_list.map(xe=>y.createElement("div",{key:Tt==="subject"?xe.stage_shixun_id:xe.shixun_course_id||xe.id},y.createElement(Ae.default.Item,{name:[`${Tt==="subject"?xe==null?void 0:xe.stage_shixun_id:xe.shixun_course_id||xe.id}`,"is_copy"],hidden:!0,initialValue:0},y.createElement(Ce.default,{type:"hidden"})),y.createElement(Ae.default.Item,{name:[`${Tt==="subject"?xe==null?void 0:xe.stage_shixun_id:xe.shixun_course_id||xe.id}`,"is_use"],hidden:!0,initialValue:1},y.createElement(Ce.default,{type:"hidden"})))))))};var ye=Le=>{const{modalType:Ve}=Le;return Ve==="multiple"?y.createElement(Re,he({},Le)):y.createElement(Be,he({},Le))}},27878:function(mn,Ct,E){"use strict";E.d(Ct,{Z:function(){return je}});var y=E(59301),Ae={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"},pe=E(62957),ze="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAA4AAAAPCAYAAADUFP50AAAAAXNSR0IArs4c6QAAAUFJREFUOE+V0ktKw1AUxvH/rVqIxT4wkgwEUSmK4APRBfiYCKU7cOZEBOkadAMZiwhuwJETBQciFRTtwJkPBLW2BRGrRanU9kpN2sSYiGaWc/PjuznnCN2Qh8AkPo+AzXxKLLiPhW7ICtDqB4GzQkqM/huGFZgZcDCBBDaaicsTMKbZH2xfwdY5/ICAEGSasC0AwRYblj+gKkENwfy4WS9V4LHsgsk49EZteJKHdBa6w7AybdZzr3D64ILxGKjtNrx9gfsSRBSYtf6xZh1/u+qQClrIhtdFuHmGvhisJcz65RPsZl2Jc/3QE7FhpgDHuT80x2+O9cR1K/GiCDt3rkQ/+Ns43gDFD0YVmHIuQGOOmiGTARhxwkGd1cZ7Vwd0OppWr3911StpcV++Iwn67q/kyBMuHchErcqwFxT1XZXsfQJqo2zI6kdI4QAAAABJRU5ErkJggg==",Ce="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAA4AAAAOCAYAAAAfSC3RAAAAAXNSR0IArs4c6QAAAW1JREFUOE+dkj1IQmEUht9z/blp4VQEjS39eW+oSCFCpFCI4BiKFGWWQUSrCjVVg+lQNJZQDZGNTm1B4NTibS3n2lo0wuqEN8i/a0HfeN7v+d73nO+QJEcKAJzQPAwCnSpKNtoqkyRHqgDrtUFAb6Rnedx43KgT6O5P0GQijFiNLe/Sy3/B8g+YTIRRrb5jP32JYNADr8eOldU0RJEqVlm8r1kyuA/AIEB10OWy4vBgA4ryCIdjCJlMDmfn1zAY6EmyGY/UrAwrgGATWKsn4mGEQl4Uiw+YX9hT73aZiEcl8eMbZAGA0AT6/ZPY3Ykiny/A55tA7uoGqdQFBD2VbDbDugoSTTEj3gTGYgG8Vt7UeG63hNkZJ7a2s+gw1XqPnf5REKhkt4kxNakO08ycbOtRC/7FcakCwNTJ0WwmDI+1LUCZZDkSYGa5Eewf0G0KAnprNYtFQHdPbZhNS1cmLafF5bUTJsyBSVMHPm+/ADTrfrtCH68WAAAAAElFTkSuQmCC",Fe=(De,se,Ue)=>new Promise((me,Ne)=>{var we=ce=>{try{he(Ue.next(ce))}catch(Ie){Ne(Ie)}},be=ce=>{try{he(Ue.throw(ce))}catch(Ie){Ne(Ie)}},he=ce=>ce.done?me(ce.value):Promise.resolve(ce.value).then(we,be);he((Ue=Ue.apply(De,se)).next())}),je=({type:De,resdata:se,onok:Ue,oktext:me,okloading:Ne})=>{const[we,be]=(0,y.useState)(!1),{can_copy_list:he,can_copy_num:ce,challenge_type:Ie,course_data_list:Ze,no_copy_list:$e,no_copy_num:oe,no_use_list:Be,no_use_num:tt,repeat_shixun_num:Re,student_count:_e,total_num:ye,use_num:Le}=se;let Ve=ce>0||De==="exercise";(0,y.useEffect)(()=>{(se==null?void 0:se.student_count)>0&&be(!0)},[se]),console.log("---11",Ne),(0,y.useEffect)(()=>{Ne||be(!1)},[Ne]);const Pe=()=>{if(De==="exercise"&&Ie===1)return y.createElement(y.Fragment,null,"\u8BFE\u5802\u5185\u6709",y.createElement("span",{className:Ae.orangeColor},_e),"\u540D\u5B66\u751F\u5DF2\u5728\u5176\u4ED6\u8003\u8BD5\u4E2D\u6311\u6218\u8FC7\u5176\u4E2D\u7684",y.createElement("span",{className:Ae.orangeColor},Le),"\u4E2A\u5B9E\u8DF5\u9879\u76EE\uFF0C",y.createElement("span",{className:Ae.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(De==="exercise"&&Ie===2)return y.createElement(y.Fragment,null,"\u8BFE\u5802\u5185\u6709",y.createElement("span",{className:Ae.orangeColor},_e),"\u540D\u5B66\u751F\u5DF2\u5728\u8BFE\u5802\u5B9E\u9A8C\u4E2D\u6311\u6218\u8FC7\u5176\u4E2D\u7684",y.createElement("span",{className:Ae.orangeColor},Le),"\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:Ae.redColor},"\u91CD\u590D\u53D1\u5E03\u4F1A\u5BFC\u81F4\u8FD9\u90E8\u5206\u5B66\u751F\u65E0\u6CD5\u518D\u63D0\u4EA4\u4F5C\u4E1A\u3002"));if(De==="shixun"&&Ie===1)return y.createElement(y.Fragment,null,"\u8BFE\u5802\u5185\u6709",y.createElement("span",{className:Ae.orangeColor},_e),"\u540D\u5B66\u751F\u5DF2\u5728\u8003\u8BD5\u4E2D\u6311\u6218\u8FC7\u8BE5\u5B9E\u8DF5\u9879\u76EE\uFF0C",y.createElement("span",{className:Ae.redColor},"\u91CD\u590D\u53D1\u9001\u4F1A\u5BFC\u81F4\u8FD9\u90E8\u5206\u5B66\u751F\u65E0\u6CD5\u518D\u63D0\u4EA4\u4F5C\u4E1A\u3002"));if(De==="shixun"&&Ie===2)return y.createElement(y.Fragment,null,"\u8BFE\u5802\u5185\u6709",y.createElement("span",{className:Ae.orangeColor},_e),"\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:Ae.redColor},"\u91CD\u590D\u53D1\u9001\u4F1A\u5BFC\u81F4\u8FD9\u90E8\u5206\u5B66\u751F\u65E0\u6CD5\u518D\u63D0\u4EA4\u4F5C\u4E1A\u3002"));if(De==="subject"&&Ie===1)return y.createElement(y.Fragment,null,"\u8BFE\u5802\u5185\u6709",y.createElement("span",{className:Ae.orangeColor},_e),"\u540D\u5B66\u751F\u5DF2\u5728\u8003\u8BD5\u4E2D\u6311\u6218\u8FC7\u5176\u4E2D\u7684",y.createElement("span",{className:Ae.orangeColor},Le),"\u4E2A\u5B9E\u8DF5\u9879\u76EE\uFF0C",y.createElement("span",{className:Ae.redColor},"\u91CD\u590D\u53D1\u9001\u4F1A\u5BFC\u81F4\u8FD9\u90E8\u5206\u5B66\u751F\u65E0\u6CD5\u518D\u63D0\u4EA4\u4F5C\u4E1A\u3002"));if(De==="subject"&&Ie===2)return y.createElement(y.Fragment,null,"\u8BFE\u5802\u5185\u6709 ",y.createElement("span",{className:Ae.orangeColor},_e)," \u540D\u5B66\u751F\u5DF2\u5728\u8BFE\u5802\u5B9E\u9A8C\u6311\u6218\u8FC7\u5176\u4E2D\u7684 ",y.createElement("span",{className:Ae.orangeColor},Le)," \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:Ae.redColor},"\u91CD\u590D\u53D1\u9001\u4F1A\u5BFC\u81F4\u8FD9\u90E8\u5206\u5B66\u751F\u65E0\u6CD5\u518D\u63D0\u4EA4\u4F5C\u4E1A\u3002"));if(De==="exercisepush")return y.createElement(y.Fragment,null,"\u8BFE\u5802\u5185\u6709",y.createElement("span",{className:Ae.orangeColor},_e),"\u540D\u5B66\u751F\u5DF2\u5728\u5176\u4ED6\u8003\u8BD5\u4E2D\u6311\u6218\u8FC7\u8BD5\u5377\u4E2D\u7684",y.createElement("span",{className:Ae.orangeColor},Le),"\u4E2A\u5B9E\u8DF5\u9879\u76EE \uFF0C",y.createElement("span",{className:Ae.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(De==="shixunpush"&&Ie===1)return y.createElement(y.Fragment,null,"\u8BFE\u5802\u5185\u6709",y.createElement("span",{className:Ae.orangeColor},_e),"\u540D\u5B66\u751F\u5DF2\u5728\u8003\u8BD5\u4E2D\u6311\u6218\u8FC7\u5176\u4E2D\u7684",y.createElement("span",{className:Ae.orangeColor},Le),"\u4E2A\u5B9E\u8DF5\u9879\u76EE\uFF0C",y.createElement("span",{className:Ae.redColor},"\u91CD\u590D\u53D1\u5E03\u4F1A\u5BFC\u81F4\u8FD9\u90E8\u5206\u5B66\u751F\u65E0\u6CD5\u518D\u63D0\u4EA4\u4F5C\u4E1A\u3002"));if(De==="shixunpush"&&Ie===2)return y.createElement(y.Fragment,null,"\u8BFE\u5802\u5185\u6709",y.createElement("span",{className:Ae.orangeColor},_e),"\u540D\u5B66\u751F\u5DF2\u5728\u8BFE\u5802\u5B9E\u9A8C\u4E2D\u6311\u6218\u8FC7",y.createElement("span",{className:Ae.orangeColor},Le),"\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:Ae.redColor},"\u91CD\u590D\u53D1\u5E03\u4F1A\u5BFC\u81F4\u8FD9\u90E8\u5206\u5B66\u751F\u65E0\u6CD5\u518D\u63D0\u4EA4\u4F5C\u4E1A\u3002"))},it=()=>{if(De==="exercise"||De==="subject"||De==="exercisepush"||De==="shixunpush")return y.createElement("div",{style:{marginTop:20}},oe>0&&y.createElement("div",null,y.createElement("span",{className:Ae.flex},y.createElement("img",{src:Ce,style:{width:14}}),y.createElement("span",{className:Ae.statustitle},"\u4E0D\u652F\u6301\u590D\u5236\u7684\u5B9E\u8DF5\u9879\u76EE")),y.createElement("div",{className:Ae.statusbody},De==="exercise"&&y.createElement("div",{style:{marginBottom:15}},"\u6CA1\u6709\u590D\u5236\u6743\u9650\u7684\u5B9E\u8DF5\u9879\u76EE\uFF0C",y.createElement("span",{className:Ae.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"),(De==="subject"||De==="exercisepush")&&y.createElement("div",{style:{marginBottom:15}},"\u6CA1\u6709\u590D\u5236\u6743\u9650\u7684\u5B9E\u8DF5\u9879\u76EE\uFF0C",Ve&&y.createElement("span",{className:Ae.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"),De==="shixunpush"&&y.createElement("div",{style:{marginBottom:15}},"\u6CA1\u6709\u590D\u5236\u6743\u9650\u7684\u5B9E\u8DF5\u9879\u76EE\uFF0C",Ve&&y.createElement("span",{className:Ae.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,$e==null?void 0:$e.map((Oe,ue)=>y.createElement("a",{href:`/shixuns/${Oe.identifier}/challenges`,target:"_blank"},"\u300A",Oe==null?void 0:Oe.name,"\u300B",ue+1!==oe&&"\u3001"))))),ce>0&&y.createElement("div",{style:{marginTop:20}},y.createElement("span",{className:Ae.flex},y.createElement("img",{src:ze,style:{width:14}}),y.createElement("span",{className:Ae.statustitle},"\u652F\u6301\u590D\u5236\u7684\u5B9E\u8DF5\u9879\u76EE")),y.createElement("div",{className:Ae.statusbody},De==="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"),(De==="subject"||De==="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"),De==="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,he==null?void 0:he.map((Oe,ue)=>y.createElement("a",{href:`/shixuns/${Oe.identifier}/challenges`,target:"_blank"},"\u300A",Oe==null?void 0:Oe.name,"\u300B",ue+1!==ce&&"\u3001"))))));if(De==="shixun")return y.createElement("div",{style:{marginTop:20}},ce>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(pe.default,{open:we,onCancel:()=>{be(!1)},cancelText:"\u53D6\u6D88",title:"\u63D0\u793A",width:700,centered:!0,cancelButtonProps:{style:{display:!Ve&&"none"}},zIndex:1003,confirmLoading:Ne,okText:Ve?me:"\u6211\u77E5\u9053\u4E86",onOk:()=>Fe(void 0,null,function*(){Ve?yield Ue([...he,...Be]):be(!1)})},y.createElement("div",{style:{maxHeight:600,overflow:"auto"}},Pe(),it()))}},66502:function(mn,Ct,E){"use strict";var y=E(59301),Ae=E(44283),pe=E(62957),ze=E(35139),Ce=E(59301),Fe=(je,De,se)=>new Promise((Ue,me)=>{var Ne=he=>{try{be(se.next(he))}catch(ce){me(ce)}},we=he=>{try{be(se.throw(he))}catch(ce){me(ce)}},be=he=>he.done?Ue(he.value):Promise.resolve(he.value).then(Ne,we);be((se=se.apply(je,De)).next())});const ge=({classroomList:je,dispatch:De})=>{var se,Ue;const me=(0,y.useRef)(null),[Ne,we]=(0,y.useState)(!1),be=()=>{De({type:"classroomList/setActionTabs",payload:{}})};return Ce.createElement(pe.default,{centered:!0,maskClosable:!1,width:560,title:"\u540C\u6B65\u786E\u8BA4",open:((se=je==null?void 0:je.actionTabs)==null?void 0:se.key)==="\u5B9E\u8BAD\u540C\u6B65\u786E\u8BA4",destroyOnClose:!0,onCancel:be,onOk:()=>Fe(void 0,null,function*(){var he,ce;(he=me.current)!=null&&he.onVerify()||(we(!0),yield(ce=je==null?void 0:je.actionTabs)==null?void 0:ce.onOK(),we(!1))}),okText:"\u786E\u8BA4\u540C\u6B65",comfirmLoading:(Ue=je==null?void 0:je.actionTabs)==null?void 0:Ue.loading},Ce.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"),Ce.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"),Ce.createElement(ze.Z,{ref:he=>me.current=he}))};Ct.Z=(0,Ae.connect)(({classroomList:je})=>({classroomList:je}))(ge)},73704:function(mn,Ct,E){"use strict";E.d(Ct,{Z:function(){return Ce}});var y=E(59301),Ae={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"},pe=E(25399),Ce=({children:Fe,tips:ge,title:je,style:De})=>{const se=je||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 Fe&&ge?y.createElement(pe.Z,{overlayStyle:{maxWidth:"initial"},title:se},y.createElement("span",{className:Ae.disabled,style:De},Fe)):Fe&&!ge?y.createElement(y.Fragment,null,Fe):y.createElement(y.Fragment,null)}},10015:function(mn,Ct,E){"use strict";var y=E(59301),Ae=E(62957),pe=E(70858);const ze=({dataSource:Ce,visible:Fe,onClose:ge=()=>{},onSuccess:je=()=>{},text:De,okText:se})=>{var Ue;return y.createElement(Ae.default,{centered:!0,destroyOnClose:!0,open:!!Fe,title:"\u63D0\u793A",width:"600px",okText:se,cancelText:"\u53D6\u6D88",onCancel:ge,onOk:je},Fe==="single"&&y.createElement("div",{className:"c-grey-333"},"\u5F53\u524D\u8BD5\u5377\u603B\u5206\u4E3A",y.createElement("span",{style:{color:"#FA6400",margin:"0 5px"}},(Ue=Ce==null?void 0:Ce[0])==null?void 0:Ue.total_score),"\u5206\uFF0C\u8BF7\u786E\u8BA4",De),Fe==="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",De),y.createElement(pe.default,{columns:[{title:"\u8BD5\u5377\u540D\u79F0",dataIndex:"name",ellipsis:!0},{title:"\u603B\u5206",width:90,dataIndex:"total_score"}],dataSource:Ce,scroll:(Ce==null?void 0:Ce.length)>7?{y:300}:{},pagination:!1})))};Ct.Z=ze},28267:function(mn,Ct,E){"use strict";E.d(Ct,{h:function(){return oe}});var y=E(59301),Ae=E(82326),pe=E(28284),ze=E(7939),Ce=E(89780),Fe=E.n(Ce),ge=E(88319),je=E(94896),De=Object.defineProperty,se=Object.defineProperties,Ue=Object.getOwnPropertyDescriptors,me=Object.getOwnPropertySymbols,Ne=Object.prototype.hasOwnProperty,we=Object.prototype.propertyIsEnumerable,be=(Be,tt,Re)=>tt in Be?De(Be,tt,{enumerable:!0,configurable:!0,writable:!0,value:Re}):Be[tt]=Re,he=(Be,tt)=>{for(var Re in tt||(tt={}))Ne.call(tt,Re)&&be(Be,Re,tt[Re]);if(me)for(var Re of me(tt))we.call(tt,Re)&&be(Be,Re,tt[Re]);return Be},ce=(Be,tt)=>se(Be,Ue(tt));const Ie=Ae.default.Option,Ze={labelCol:{span:4},wrapperCol:{span:20}},$e={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"]};Ct.Z=({callback:Be,onCancel:tt})=>{const[Re,_e]=(0,y.useState)("python");function ye(Ve){_e($e[Ve][1])}function Le(Ve){Be(Ve)}return y.createElement(pe.default,ce(he({},Ze),{className:"code-block-panel",initialValues:{language:"python",content:""},onFinish:Le,style:{width:500}}),y.createElement(pe.default.Item,{label:"\u4EE3\u7801\u8BED\u8A00",name:"language"},y.createElement(Ae.default,{getPopupContainer:Ve=>Ve.parentNode,onChange:ye},Object.keys($e).map(Ve=>y.createElement(Ie,{key:Ve,value:Ve},$e[Ve][0])))),y.createElement(pe.default.Item,{label:"\u4EE3\u7801\u5185\u5BB9",name:"content",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u4EE3\u7801\u5185\u5BB9"}]},y.createElement(oe,{mode:Re})),y.createElement("div",{className:"flex-container flex-end"},y.createElement(ze.ZP,{type:"primary",htmlType:"submit",style:{marginRight:10}},"\u786E\u5B9A"),y.createElement(ze.ZP,{type:"ghost",onClick:tt},"\u53D6\u6D88")))};function oe({value:Be,onChange:tt,mode:Re,options:_e={}}){const ye=(0,y.useRef)(),[Le,Ve]=(0,y.useState)();return(0,y.useEffect)(()=>{if(Le){let Pe=function(it){const Oe=it.getValue();tt&&tt(Oe)};return Le.on("change",Pe),()=>{Le.off("change",Pe)}}},[Le,tt]),(0,y.useEffect)(()=>{Le&&Le.setOption("mode",Re)},[Le,Re]),(0,y.useEffect)(()=>{Le&&(Be!==Le.getValue()||Be==="")&&setTimeout(()=>{Le.setValue(Be||"")},300)},[Le,Be]),(0,y.useEffect)(()=>{if(ye.current&&!Le){const Pe=Fe().fromTextArea(ye.current,he({mode:Re,lineNumbers:!0,lineWrapping:!0,autoCloseBrackets:!0,tabSize:4,autofocus:!0,autoCloseTags:!0,matchBrackets:!0,styleActiveLine:!0},_e));Ve(Pe)}},[ye.current,Le]),y.createElement("div",{className:"my-codemirror-container"},y.createElement("textarea",{ref:ye}))}},39116:function(mn,Ct,E){"use strict";E.d(Ct,{Z:function(){return an}});var y=E(59301),Ae=E(44283),pe=E(89780),ze=E.n(pe),Ce=E(76374),Fe=E(88319),ge=E(6313),je=E(25717),De=E(99498),se=E(25419),Ue=E(67549),me=E(35883),Ne=({value:tn="",className:Bn,showTextOnly:xn,showLines:jn,style:nr={}})=>{const Gn=(0,y.useMemo)(()=>"",[tn]);return y.createElement(y.Fragment,null,y.createElement("div",{dangerouslySetInnerHTML:{__html:Gn}}))},we=Object.defineProperty,be=Object.defineProperties,he=Object.getOwnPropertyDescriptors,ce=Object.getOwnPropertySymbols,Ie=Object.prototype.hasOwnProperty,Ze=Object.prototype.propertyIsEnumerable,$e=(tn,Bn,xn)=>Bn in tn?we(tn,Bn,{enumerable:!0,configurable:!0,writable:!0,value:xn}):tn[Bn]=xn,oe=(tn,Bn)=>{for(var xn in Bn||(Bn={}))Ie.call(Bn,xn)&&$e(tn,xn,Bn[xn]);if(ce)for(var xn of ce(Bn))Ze.call(Bn,xn)&&$e(tn,xn,Bn[xn]);return tn},Be=(tn,Bn)=>be(tn,he(Bn));let tt=[{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 Re({onActionCallback:tn,title:Bn,icon:xn,actionName:jn,className:nr="",children:Gn}){function Ln(){tn(jn)}return y.createElement("a",{title:Bn,className:nr,onClick:Ln},y.createElement("i",{className:`${xn}`}),Gn)}var _e=({watch:tn,showNullButton:Bn,showNullProgramButton:xn,onActionCallback:jn,fullScreen:nr,insertTemp:Gn,hidetoolBar:Ln,extraUse:mr})=>{const ir=[...tt,{title:`${tn?"\u5173\u95ED\u5B9E\u65F6\u9884\u89C8":"\u5F00\u542F\u5B9E\u65F6\u9884\u89C8"}`,icon:`${tn?"md-iconfont icon-eye-slash":"md-iconfont icon-eye"}`,actionName:"trigger-watch"}];return y.createElement("ul",{className:"markdown-toolbar-container"},!Ln&&ir.map((jr,Nr)=>y.createElement("li",{key:Nr},jr.actionName?y.createElement(Re,Be(oe({},jr),{onActionCallback:jn})):y.createElement("span",{className:"v-line"}))),Bn?y.createElement("li",null,y.createElement(Re,{icon:"iconfont icon-tianjia5 insert-blank",className:"btn-null ml5",title:"\u589E\u52A0\u586B\u7A7A",actionName:"add-null-ch",onActionCallback:jn},y.createElement("span",{className:"fill-tip"},"\u70B9\u51FB\u65B0\u589E\u586B\u7A7A\u9879"))):null,xn?y.createElement(y.Fragment,null,y.createElement("li",null,y.createElement(Re,{icon:"md-iconfont icon-edit insert-blank",className:"btn-null",title:"\u589E\u52A0\u586B\u7A7A",actionName:"add-signal",onActionCallback:jn},y.createElement("span",{className:"fill-tip"},"\u6DFB\u52A0\u5355\u884C\u586B\u7A7A\u9879"))),y.createElement("li",null,y.createElement(Re,{icon:"md-iconfont icon-uniE900 insert-blank",className:"btn-null",title:"\u589E\u52A0\u586B\u7A7A",actionName:"add-multiple",onActionCallback:jn},y.createElement("span",{className:"fill-tip"},"\u6DFB\u52A0\u591A\u884C\u586B\u7A7A\u9879")))):null,Gn&&y.createElement("li",null,y.createElement(Re,{icon:"md-iconfont icon-edit",className:"btn-null",title:"\u63D2\u5165\u6A21\u677F",actionName:`inster-template-${Gn}`,onActionCallback:jn},y.createElement("span",{className:"fill-tip"},"\u63D2\u5165\u6A21\u677F"))),mr&&y.createElement("li",null,mr),y.createElement("li",{className:"btn-full-screen"},y.createElement(Re,{icon:`${nr?"md-iconfont icon-shrink":"md-iconfont icon-enlarge"}`,title:nr?"\u5173\u95ED\u5168\u5C4F":"\u5F00\u542F\u5168\u5C4F",actionName:"trigger-full-screen",onActionCallback:jn})))},ye=E(88487),Le=E(28284),Ve=E(37568),Pe=E(7939),it=Object.defineProperty,Oe=Object.defineProperties,ue=Object.getOwnPropertyDescriptors,Xe=Object.getOwnPropertySymbols,Ge=Object.prototype.hasOwnProperty,lt=Object.prototype.propertyIsEnumerable,Tt=(tn,Bn,xn)=>Bn in tn?it(tn,Bn,{enumerable:!0,configurable:!0,writable:!0,value:xn}):tn[Bn]=xn,Ke=(tn,Bn)=>{for(var xn in Bn||(Bn={}))Ge.call(Bn,xn)&&Tt(tn,xn,Bn[xn]);if(Xe)for(var xn of Xe(Bn))lt.call(Bn,xn)&&Tt(tn,xn,Bn[xn]);return tn},Se=(tn,Bn)=>Oe(tn,ue(Bn));const Ft={labelCol:{span:4},wrapperCol:{span:20}};var It=({callback:tn,onCancel:Bn})=>{function xn(jn){tn(jn)}return y.createElement(Le.default,Se(Ke({},Ft),{initialValues:{link:"http://",title:""},className:"link-panel",onFinish:xn,style:{width:500}}),y.createElement(Le.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(Le.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:Bn},"\u53D6\u6D88")))},ut=E(28267),xe=E(53332),ke=E(62957),at=E(77019),Rt=E(40254),ft=E(59301),Nt=({callback:tn,onCancel:Bn})=>{const xn=document.createElement("canvas"),jn=xn.getContext("2d");xn.width=1e3,xn.height=800,jn.fillStyle="#ffffff",jn.fillRect(0,0,xn.width,xn.height);const nr=xn.toDataURL("image/png");return ft.createElement(ke.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(Rt.Z,{fullWidth:!0,noAssociationId:!0,showFullTools:!0,data:{src:nr,visible:!0,title:String(Date.now())},onOk:Gn=>{tn({src:Gn.url})},onClose:Bn})))},xt=E(36207),Xt=E(5269),Wt=E(6767),de={myPaletteDiv:"myPaletteDiv___Xjz2I",flowChartWrp:"flowChartWrp____f45r",maxH60:"maxH60___Pd4Re",drawerWrap:"drawerWrap___MfDw8"},ne=E(59301),le=(0,y.forwardRef)(({onCancel:tn,editImgId:Bn,callback:xn},jn)=>{let nr=(0,y.useRef)(),Gn=(0,y.useRef)(),Ln=(0,y.useRef)(),mr=(0,y.useRef)(!1);const ir=(0,y.useRef)(!1);console.log("ref:",jn);const[jr,Nr]=(0,y.useState)(0),[Fn,Nn]=(0,y.useState)("100vh");return(0,y.useEffect)(()=>{Nr(1)},[]),(0,y.useImperativeHandle)(jn,()=>({setHeight:Nn})),ne.createElement("div",{ref:ir,className:"body-overflow-initial"},ne.createElement(xt.Z,{width:"100vw",height:Fn,footer:null,closable:!0,placement:"bottom",open:!!jr,destroyOnClose:!0,maskClosable:!1,mask:!1,rootClassName:`zIndex-9999 ${de.drawerWrap}`,onClose:()=>{window.saveDrawData(cr=>{xn({src:`/api/attachments/${cr}`,id:cr})})},title:ne.createElement(at.Z,{align:"middle"},ne.createElement(Xt.Z,{flex:1},"\u63D2\u5165\u6D41\u7A0B\u56FE"),ne.createElement(Xt.Z,{onClick:()=>{Nn(Fn==="60px"?"100vh":"60px")}},ne.createElement("span",{className:"current c-blue",style:{fontWeight:400}},"\u5C55\u5F00/\u6536\u8D77")),ne.createElement(Xt.Z,{onClick:()=>{window.saveDrawData(cr=>{if(cr===null){Wt.ZP.warning({content:"\u5185\u5BB9\u4E3A\u7A7A\uFF0C\u8BF7\u5148\u7ED8\u5236\u6D41\u7A0B\u56FE",key:"saveFlowChart"});return}Wt.ZP.success({content:"\u4FDD\u5B58\u6210\u529F",key:"saveFlowChart",style:{zIndex:999999999}}),xn({src:`/api/attachments/${cr}`,id:cr,disabledClose:!0})})}},ne.createElement(Pe.ZP,{type:"primary",className:"ml20"},"\u4FDD\u5B58")))},ne.createElement("iframe",{src:`/drawio/src/main/webapp/?id=${Bn||""}&gapi=0&od=0&db=0&gh=0&gl=0&local=0`,width:"100%",height:"100%",frameBorder:"0",ref:Gn})))}),ve=E(14185),re=E(47889),fe=E(4875);const Ye=re.ZP.Group,vt={margin:"0 8px"};var et=({callback:tn,onCancel:Bn})=>{function xn(jn){tn(jn)}return y.createElement(Le.default,{className:"add-table-panel",initialValues:{row:3,col:2,align:"default"},onFinish:xn},y.createElement("div",{className:"flex-container",style:{alignItems:"baseline"}},y.createElement("span",{style:vt},"\u5355\u5143\u683C\u6570\uFF1A"),y.createElement("span",{style:vt},"\u884C\u6570"),y.createElement(Le.default.Item,{name:"row",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u884C\u6570"}]},y.createElement(fe.Z,null)),y.createElement("span",{style:vt},"\u5217\u6570"),y.createElement(Le.default.Item,{name:"col",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u5217\u6570"}]},y.createElement(fe.Z,null))),y.createElement("div",{className:"flex-container",style:{marginTop:12,alignItems:"baseline"}},y.createElement("span",{style:vt},"\u5BF9\u9F50\u65B9\u5F0F\uFF1A"),y.createElement(Le.default.Item,{name:"align"},y.createElement(Ye,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:Bn},"\u53D6\u6D88")))},nt=E(58755),mt=E(84915),yt=E.n(mt),Qe=(0,y.forwardRef)(({use3d:tn,width:Bn,height:xn,callback:jn,showSaveButton:nr},Gn)=>{const Ln=(0,y.useRef)(),mr=(0,y.useRef)(),[ir,jr]=(0,y.useState)(!1),Nr=(0,y.useRef)({id:Ln,appName:"graphing",width:Bn||1e3,height:xn||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)(()=>{mr.current=new(yt())(Nr.current,!0),window.onload=function(){mr.current.inject("applet_container")}},[]);const Fn=()=>{var Nn=window.ggbApplet.getPNGBase64(1,!0,72);return jn&&jn(Nn),Nn};return(0,y.useEffect)(()=>{Nr.current.appName=ir?"3D":"graphing",mr.current.inject("applet_container")},[ir]),(0,y.useEffect)(()=>{jr(tn)},[tn]),(0,y.useImperativeHandle)(Gn,()=>({getImgData:Fn})),y.createElement(y.Fragment,null,y.createElement("div",{style:{width:"100%",height:"100%"},id:"applet_container",ref:Ln}),y.createElement(at.Z,{align:"middle"},y.createElement(Xt.Z,{flex:1},y.createElement(nt.Z,{size:"default",checkedChildren:"\u5173\u95ED3D\u56FE\u50CF",unCheckedChildren:"\u5F00\u542F3D\u56FE\u50CF",checked:ir,onChange:Nn=>jr(Nn)})),y.createElement(Xt.Z,null,y.createElement(Pe.ZP,{size:"large",onClick:Fn,style:{zIndex:8,marginTop:10},type:"primary"},"\u4FDD\u5B58\u5230\u7F16\u8F91\u5668"))))}),st=E(9057);const en="link",Kt="upload-image",vn="add-flowchart",nn="draw-image",Yt="add-flowchart",Jt="code-block",cn="add-table",bt="------------",zt={default:bt,left:`:${bt}`,center:`:${bt}:`,right:`${bt}:`};var un=E(79006),Cn=E(76406);function ct(){}let Zt=0;const wt=1e4,dn="\u2581",wn="@\u2581\u2581@",Un="@\u2581@",er=`
|
|
|
**\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`,lr=["pptm","pptx","ppt","pot","pps","ppa","potx","ppsx","ppam","pptm","potm","ppsm","doc","docx","dot","dotx","docm","dotm","xls","xlsx","csv","xlt","xla","xltx","xlsm","xltm","xlam","xlsb"];function Rn(tn){return/^\d+$/.test(tn)?`${tn}px`:tn}const Vt=navigator.platform.toUpperCase().indexOf("MAC")>=0?"Cmd":"Ctrl",Lt={[Vt+"-B"]:"bold",[Vt+"-I"]:"italic"},sn={[en]:"\u6DFB\u52A0\u94FE\u63A5",[Jt]:"\u6DFB\u52A0\u4EE3\u7801\u5757",[Kt]:"\u6DFB\u52A0\u56FE\u7247",[nn]:"\u6DFB\u52A0\u753B\u56FE",[vn]:"\u63D2\u5165\u6D41\u7A0B\u56FE",[cn]:"\u6DFB\u52A0\u8868\u683C","maths-latex":"\u6570\u5B66\u56FE\u50CF","inline-latex":"LATEX\u516C\u5F0F"};var an=({defaultValue:tn="",onChange:Bn,width:xn="100%",height:jn=400,miniToolbar:nr=!1,isFocus:Gn=!1,watch:Ln,insertTemp:mr,mode:ir="markdown",id:jr="markdown-editor-id",showResizeBar:Nr=!1,noStorage:Fn=!1,showNullButton:Nn=!1,showNullProgramButton:cr=!1,hidetoolBar:sr=!1,fullScreen:kt=!1,onBlur:qt,onCMBeforeChange:gt,onFullScreen:Ht,className:Et="",disablePaste:Ut=!1,disabled:ot=!1,disabledFill:Qt=!1,placeholder:rn="",values:_t="",extraUse:rt,onAddBlank:Bt})=>{const[Ot,$t]=(0,y.useState)(null),[On,Wn]=(0,y.useState)(tn),[Yn,Mr]=(0,y.useState)(Ln),[Hr,to]=(0,y.useState)(kt),[fr,Er]=(0,y.useState)(""),[Tr,Yr]=(0,y.useState)(0),[ro,oo]=(0,y.useState)(jn),[ao,Or]=(0,y.useState)(!1),[eo,Jr]=(0,y.useState)(0),[Wo,Ko]=(0,y.useState)(0),rr=(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,Ae.useDispatch)();(0,y.useEffect)(()=>{const zn=window.scrollY||window.pageYOffset;Wn(_t),Ot==null||Ot.setValue(_t),window.scrollTo(0,zn)},[_t]),(0,y.useEffect)(()=>{Ht==null||Ht(Hr)},[Hr]),(0,y.useEffect)(()=>{if(rr.current){let zn=function(tr,kr){var wo;if(Ut){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(),ir=="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,xe.I)(mi,Bi=>{var Ti,Vi,sa;Bi.id?((Ti=mi==null?void 0:mi.type)==null?void 0:Ti.indexOf("image"))>-1?Kn.replaceSelection(`<img width="100%" src="/api/attachments/${Bi.id}?type=${Bi.content_type})" alt="" />`):((Vi=mi==null?void 0:mi.type)==null?void 0:Vi.indexOf("video"))>-1?Kn.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?Kn.replaceSelection(`<a href="/api/attachments/${Bi.id}?type=${mi.type}&disposition=inline" target="_blank">${mi.name}</a>`):lr.includes(Li)?Kn.replaceSelection(`<a href="/api/attachments/${Bi.id}?type=office&disposition=inline" target="_blank">${mi.name}</a>`):Kn.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){Wt.ZP.warning("\u8BF7\u4F7F\u7528chrome\u6D4F\u89C8\u5668\u7C98\u8D34")}return!0}else return!0}return!0};const Kn=ze().fromTextArea(rr.current,{mode:ir,lineNumbers:!nr,lineWrapping:!0,value:tn,autoCloseTags:!0,autoCloseBrackets:!0});return Kn.on("keyup",function(tr,kr){kr.keyCode===8&&(tr.getValue()==""?Kn.setOption("placeholder",rn):Kn.setOption("placeholder",null))}),Kn.on("keydown",function(tr,kr){if(kr.keyCode===8){var wo=Jo(tr);wo&&kr.preventDefault()}}),Gn&&Kn.focus(),Kn.on("paste",zn),ot&&Kn.on("beforeChange",function(tr,kr){(kr.origin==="paste"||kr.origin==="+input")&&kr.cancel()}),$t(Kn),()=>{Kn.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 Kn=new Ce.Z(tr=>{for(let kr of tr)(kr.target.offsetHeight>0||kr.target.offsetWidth>0)&&(yi(),Ot.setSize("100%","100%"),Ot.refresh())});return Kn.observe(rr.current.parentElement),Kn}if(Ot){const Kn=zn();return()=>{var tr,kr;(tr=rr.current)!=null&&tr.parentElement&&Kn.unobserve((kr=rr.current)==null?void 0:kr.parentElement)}}},[Ot,yi]),(0,y.useEffect)(()=>{if(Ot){let zn=[];for(const[Kn,tr]of Object.entries(Lt)){let kr={[Kn]:()=>{pi(tr)}};zn.push(kr),Ot.addKeyMap(kr)}return()=>{for(let Kn of zn)Ot.removeKeyMap(Kn)}}},[Ot]),(0,y.useEffect)(()=>{kt!==Hr&&to(kt)},[kt]),(0,un.Z)(()=>{if(!Fn&&Tr>0){let zn=new Date().getTime(),Kn=window.sessionStorage.getItem(jr);zn>=Tr+wt&&(!Kn||Kn!==On)&&(window.sessionStorage.setItem(jr,On),Or(!0))}},wt),(0,y.useEffect)(()=>{Mr(Ln)},[Ot,Ln]),(0,y.useEffect)(()=>{Ot&&Gn&&Ot.focus()},[Ot,Gn]),(0,y.useEffect)(()=>{if(Yn&&Ot){let zn=function(tr){let kr=tr.target;if(yo.current){let wo=kr.scrollTop/kr.scrollHeight;yo.current.scrollTop=yo.current.scrollHeight*wo}};const Kn=Ot.getScrollerElement();return Kn.addEventListener("scroll",zn),()=>{Kn.removeEventListener("scroll",zn)}}},[Ot,Yn]),(0,y.useEffect)(()=>{if(Ot&>){let zn=function(Kn,tr){gt(Kn,tr)};return Ot.on("beforeChange",zn),()=>{Ot.off("beforeChange",zn)}}},[Ot,gt]),(0,y.useEffect)(()=>{if(Ot&&qt){let zn=function(){qt(Ot.getValue())};return Ot.on("blur",zn),()=>{Ot.off("blur",zn)}}},[Ot,qt]);function Jo(zn,Kn){var tr=zn.getDoc(),kr=tr.getCursor(),wo=tr.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(wn.indexOf(ci)===-1)return null;if(console.log("change1:",Kn,zn,wo,kr,vi,ii,oi,ci),vi>=0&&kr.ch-vi<5){var Li=vi+mi;return tr.replaceRange("",{line:kr.line,ch:vi},{line:kr.line,ch:Li}),{line:kr.line,ch:Li}}return null}(0,y.useEffect)(()=>{if(Ot){let zn=function(Kn,tr){const kr=Kn.getValue();Wn(kr),Yr(new Date().getTime()),Kn.getScrollerElement().dispatchEvent(new CustomEvent("scroll")),Bn&&(cr?Bn(kr,bn(kr)):Bn(kr))};return Ot.on("change",zn),()=>{Ot.off("change",zn)}}},[Ot,Bn]),(0,y.useEffect)(()=>{if(Ot)if(tn==null)Ot.setValue(""),Wn("");else{const zn=window.scrollY||window.pageYOffset;tn!==Ot.getValue()&&(Ot.setValue(tn),Wn(tn),Ot.setCursor(ot?1:Ot.lineCount(),0),window.scrollTo(0,zn))}},[Ot,tn]);const pi=(0,y.useCallback)(zn=>{const Kn=Ot.getCursor(),tr=Ot.getSelection();let kr=tr.split(`
|
|
|
`);switch(zn){case"bold":return Ot.replaceSelection("**"+tr+"**"),tr===""&&Ot.setCursor(Kn.line,Kn.ch+2),Ot.focus();case"italic":return Ot.replaceSelection("*"+tr+"*"),tr===""&&Ot.setCursor(Kn.line,Kn.ch+1),Ot.focus();case"code":return Ot.replaceSelection("`"+tr+"`"),tr===""&&Ot.setCursor(Kn.line,Kn.ch+1),Ot.focus();case"inline-latex":return(0,Cn.Ye)(ui)?void 0:(Er("inline-latex"),Ot.focus());case"latex":return Ot.replaceSelection("```latex\n"+tr+"\n```"),Ot.setCursor(Kn.line+1,tr.length+1),Ot.focus();case"line-break":return Ot.replaceSelection(`<br/>
|
|
|
`),Ot.focus();case"list-ul":return tr===""?Ot.replaceSelection("- "+tr):Ot.replaceSelection(kr.map(wo=>wo===""?"":`- ${wo}`).join(`
|
|
|
`)),Ot.focus();case"list-ol":return tr===""?Ot.replaceSelection("1. "+tr):Ot.replaceSelection(kr.map((wo,ci)=>wo===""?"":`${ci+1}. ${wo}`).join(`
|
|
|
`)),Ot.focus();case"add-null-ch":Bt==null||Bt();return;case"add-signal":return tr===""&&Ot.setCursor(Kn.line,Kn.ch),Ot.replaceSelection(Un),Ot.focus();case"add-multiple":return tr===""&&Ot.setCursor(Kn.line,Kn.ch),Ot.replaceSelection(wn),Ot.focus();case"inster-template-1":return tr===""&&Ot.setCursor(Kn.line,Kn.ch),Ot.replaceSelection(er),Ot.focus();case"eraser":return Ot.setValue(""),Ot.focus();case"trigger-watch":return Mr(!Yn),Ot.focus();case"trigger-full-screen":return to(!Hr),Ot.focus();case en:Er(en);return;case Jt:Er(Jt);return;case Kt:Er(Kt);return;case nn:Er(nn);return;case"maths-latex":if((0,Cn.Ye)(ui))return;Er("maths-latex");return;case vn:Zo.current="",sessionStorage.removeItem("file_id"),Er(vn);return;case cn:Er(cn);return;default:throw new Error}},[Ot,Yn,Hr]),ki=(0,y.useCallback)((zn,Kn)=>{var tr,kr,wo,ci,ii,oi;zn!=null&&zn.disabledClose||Er("");const{src:vi,alt:mi,id:Li}=zn||{};switch(fr){case en:const{title:fa,link:wa}=zn;return Ot.replaceSelection(`[${fa}](${wa})`),Ot.focus();case Jt:const{language:ha,content:Ao}=zn;return Ot.replaceSelection(["```"+ha,Ao,"```"].join(`
|
|
|
`)),Ot.focus();case"maths-latex":for(var Bi=atob(zn),Ti=new Uint8Array(Bi.length),Vi=0;Vi<Bi.length;Vi++)Ti[Vi]=Bi.charCodeAt(Vi);var sa=new Blob([Ti],{type:"image/png"});return(0,xe.I)(sa,bi=>{bi.id?Ot.replaceSelection(``):(bi==null?void 0:bi.status)===401&&(document.location.href="/user/login")}),Ot.focus();case"inline-latex":return(0,Cn.Ye)(ui)?void 0:(Ot.replaceSelection("`$$"+zn+"$$`"),Ot.focus());case Yt:return Li?(Ot.getValue().indexOf(vi)===-1?Ot.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(),Ot.focus()):void 0;case Kt:case nn:const Do=Kn,Co=(wo=(kr=(tr=Do==null?void 0:Do.name)==null?void 0:tr.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?Ot.replaceSelection(`<p style="text-align:${Do.align||"initial"}"><img width="${Do.width?Do.width+"%":"initial"}" src="${vi}" alt="${mi||""}" /></p>`):Ot.replaceSelection(`<img width="100%" src="${vi}" alt="${mi||""}" />`):((ii=Do==null?void 0:Do.type)==null?void 0:ii.indexOf("video"))>-1?Ot.replaceSelection(`<video width="100%" controls src="${vi}"></video>`):((oi=Do==null?void 0:Do.type)==null?void 0:oi.indexOf("pdf"))>-1?Ot.replaceSelection(`<a href="${vi}?type=${Do.type}&disposition=inline" target="_blank">${Do.name}</a>`):lr.includes(Co)?Ot.replaceSelection(`<a href="${vi}?type=office&disposition=inline" target="_blank">${Do.name}</a>`):Ot.replaceSelection(`[${Do.name}](${vi})`),Ot.focus();case cn:const{row:$i,col:Uo,align:Ho}=zn;let Ii=`
|
|
|
`;for(let bi=0;bi<$i;bi++){let hi=[],Xo=[];for(let Ia=0;Ia<Uo;Ia++)bi===1&&Xo.push(zt[Ho]),hi.push(" ");bi===1&&(Ii+=`| ${Xo.join(" | ")} |
|
|
|
`),Ii+=`| ${hi.join(Uo===1?"":" | ")} |
|
|
|
`}return Ot.replaceSelection(Ii+`
|
|
|
`),Ot.focus();default:throw new Error}},[Ot,fr]),Ci=(0,y.useMemo)(()=>{switch(fr){case en:return y.createElement(It,{callback:ki,onCancel:Oi});case Jt:return y.createElement(ut.Z,{callback:ki,onCancel:Oi});case Kt:return y.createElement(xe.Z,{callback:ki,onCancel:Oi});case vn:return y.createElement(le,{editImgId:Zo.current,callback:ki,onCancel:Oi});case cn:return y.createElement(et,{callback:ki,onCancel:Oi});case"maths-latex":return y.createElement(Qe,{showSaveButton:!0,callback:ki});case"inline-latex":return y.createElement(st.Z,{showSaveButton:!0,callback:ki});default:return null}},[fr]);function Oi(){Er("")}(0,y.useEffect)(()=>{if(ei.current){let zn=function(ii){wo=!0,ci=ii.pageY},Kn=function(){wo=!1},tr=function(ii){if(wo){let oi=ii.pageY-ci;oi<0&&(oi=0),oi>300&&(oi=300);let vi=jn+oi+"px";oo(vi)}},kr=ei.current,wo=!1,ci=0;return kr.addEventListener("mousedown",zn),document.addEventListener("mousemove",tr),document.addEventListener("mouseup",Kn),()=>{kr.removeEventListener("mousedown",zn),document.removeEventListener("mousemove",tr),document.removeEventListener("mouseup",Kn)}}},[Ot,ei]),(0,y.useEffect)(()=>{oo(jn)},[jn]);const No=Rn(xn),Je=Rn(ro),hn={width:No,height:Je},Mt=(0,y.useMemo)(()=>{if(Tr){let zn=new Date(Tr),Kn=zn.getHours(),tr=zn.getMinutes(),kr=zn.getSeconds();return Kn=Kn<10?"0"+Kn:Kn,tr=tr<10?"0"+tr:tr,kr=kr<10?"0"+kr:kr,`${Kn}:${tr}:${kr}`}return 0},[Tr]),bn=zn=>{const Kn=[];if(cr){let tr=-1;zn=zn.replace(/(@▁▁@|@▁@)/g,function(kr,wo,ci){Kn.push({multiLine:kr!==Un})})}return Kn};function Jn(){window.sessionStorage.removeItem(jr),Or(!1),Yr(0)}function Zn(){Or(!1),Yr(0),Ot.setValue(window.sessionStorage.getItem(jr))}(0,y.useEffect)(()=>{sn[fr]&&fr!==nn&&fr!==vn&&setTimeout(()=>{const zn=document.getElementsByClassName("markdown-popup-form")[0],Kn=window.innerWidth/2-zn.offsetWidth/2,tr=window.innerHeight/2-zn.offsetHeight/2;Jr(Kn),Ko(tr)},0)},[fr]);const kn=zn=>{zn.preventDefault();const Kn=zn.clientX-eo,tr=zn.clientY-Wo;document.body.onmousemove=kr=>{let wo=kr.clientX-Kn,ci=kr.clientY-tr;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,Kn,tr)&&(Jr(wo),Ko(ci))},document.body.onmouseup=function(){document.body.onmousemove=null}},yr=(zn,Kn,tr,kr)=>{const wo=document.body.clientHeight,ci=document.body.clientWidth;return zn<20&&tr>zn||zn>ci-20&&tr<zn||Kn<20&&kr>Kn||Kn>wo-20&&kr<Kn?(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} ${Yn?"on-preview":""} ${nr?"mini":""} ${Hr?"full-screen":""}`,style:hn},y.createElement(_e,{insertTemp:mr,watch:Yn,fullScreen:Hr,showNullButton:Nn,showNullProgramButton:cr,onActionCallback:pi,hidetoolBar:sr,extraUse:rt}),y.createElement("div",{className:"markdown-editor-body"},y.createElement("div",{className:"codemirror-container"},y.createElement("textarea",{ref:rr,placeholder:rn})),Yn?y.createElement("div",{ref:yo,className:"preview-container"},ir==="stex"&&y.createElement(Ne,{value:On}),ir!=="stex"&&y.createElement(me.Z,{edit:!0,disabledFill:Qt,showProgramFill:cr,value:On,openEditor:zn=>{var Kn;Zo.current=zn,(Kn=vo.current)==null||Kn.setHeight("100vh"),setTimeout(()=>{Er("add-flowchart")},150)}})):null))),Nr?y.createElement("a",{ref:ei,className:"editor-resize"}):null,fr===nn&&y.createElement(Nt,{callback:ki,onCancel:Oi}),fr===vn&&y.createElement(le,{ref:vo,editImgId:Zo.current,callback:ki,onCancel:Oi}),y.createElement(ye.Z,null,sn[fr]&&fr!==nn&&fr!==vn?y.createElement(ke.default,{maskClosable:!1,centered:!0,style:{position:"absolute",left:eo,top:Wo},title:y.createElement("div",{style:{cursor:"move"},onMouseDown:kn},sn[fr]),open:!0,onCancel:Oi,footer:null,destroyOnClose:!0,width:fr===vn?"1200px":null,height:fr===vn?"80vh":null,className:"markdown-popup-form"},Ci):null))}},53332:function(mn,Ct,E){"use strict";E.d(Ct,{Z:function(){return tt},I:function(){return _e}});var y=E(28284),Ae=E(6767),pe=E(37568),ze=E(44104),Ce=E(4875),Fe=E(47889),ge=E(7939),je=E(23216),De=E(59301),se=E(59301),Ue=Object.defineProperty,me=Object.defineProperties,Ne=Object.getOwnPropertyDescriptors,we=Object.getOwnPropertySymbols,be=Object.prototype.hasOwnProperty,he=Object.prototype.propertyIsEnumerable,ce=(ye,Le,Ve)=>Le in ye?Ue(ye,Le,{enumerable:!0,configurable:!0,writable:!0,value:Ve}):ye[Le]=Ve,Ie=(ye,Le)=>{for(var Ve in Le||(Le={}))be.call(Le,Ve)&&ce(ye,Ve,Le[Ve]);if(we)for(var Ve of we(Le))he.call(Le,Ve)&&ce(ye,Ve,Le[Ve]);return ye},Ze=(ye,Le)=>me(ye,Ne(Le));const{useForm:$e}=y.default,oe={width:280,marginRight:10},Be={labelCol:{span:5},wrapperCol:{span:19}};var tt=({callback:ye,onCancel:Le})=>{const[Ve]=$e();let Pe=(0,De.useRef)();function it(Xe){Pe.current.width=Ve.getFieldValue("width"),Pe.current.align=Ve.getFieldValue("align"),ye(Xe,Pe.current)}function Oe(Xe,Ge){if(Xe.status===-1){Ae.ZP.error(Xe.message);return}Ve.setFieldsValue({src:`/api/attachments/${Xe.id}`,type:Ge.type})}function ue(Xe){let Ge=Xe.target.files[0];Pe.current=Ge,_e(Ge,Oe)}return se.createElement(y.default,Ze(Ie({form:Ve},Be),{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(pe.default,{style:oe})),se.createElement(Re,{onFileChange:ue}))),se.createElement(y.default.Item,{label:"\u56FE\u7247\u63CF\u8FF0",name:"alt"},se.createElement(pe.default,{style:{width:264}})),se.createElement(y.default.Item,{label:"\u56FE\u7247\u5BBD\u5EA6",name:"width"},se.createElement(ze.Z,null,se.createElement(y.default.Item,{name:"width",style:{margin:0}},se.createElement(Ce.Z,{style:{width:264}})),se.createElement("span",{className:"ml8"},"%"))),se.createElement(y.default.Item,{label:"\u5BF9\u9F50\u65B9\u5F0F",name:"align"},se.createElement(Fe.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(ge.ZP,{type:"primary",htmlType:"submit",style:{marginRight:10}},"\u786E\u5B9A"),se.createElement(ge.ZP,{type:"default",onClick:Le},"\u53D6\u6D88"))))};function Re({onFileChange:ye}){return se.createElement("label",{className:"upload-button",style:{cursor:"pointer"}},"\u672C\u5730\u4E0A\u4F20",se.createElement("input",{type:"file",onChange:ye}))}function _e(ye,Le){if(!ye)throw new String("\u6CA1\u6709\u6587\u4EF6");let Ve=new FormData;Ve.append("editormd-image-file",ye),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){Le(JSON.parse(it.target.responseText),ye)},!1),Pe.addEventListener("error",function(it){console.error(it)},!1),Pe.open("POST",`${je.KI}/api/attachments.json`),Pe.send(Ve)}},88487:function(mn,Ct,E){"use strict";E.d(Ct,{Z:function(){return pe}});var y=E(59301),Ae=E(4676);class pe extends y.Component{constructor(Ce){super(Ce);const Fe=window.document;this.node=Fe.createElement("div"),Fe.body.appendChild(this.node)}render(){const{children:Ce}=this.props;return(0,Ae.createPortal)(Ce,this.node)}componentWillUnmount(){window.document.body.removeChild(this.node)}}},34728:function(mn,Ct,E){"use strict";E.d(Ct,{SV:function(){return Nt},ZP:function(){return ft}});var y=E(59301),Ae=E(76374);const pe={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"]},ze={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"]},Ce={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(`
|
|
|
`)}]},Fe={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(`
|
|
|
`)}]},ge={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 je=E(53184),De=E.n(je),se=(xt,Xt,Wt)=>new Promise((de,ne)=>{var te=re=>{try{ve(Wt.next(re))}catch(fe){ne(fe)}},le=re=>{try{ve(Wt.throw(re))}catch(fe){ne(fe)}},ve=re=>re.done?de(re.value):Promise.resolve(re.value).then(te,le);ve((Wt=Wt.apply(xt,Xt)).next())});const Ue={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"]}},me=(xt,Xt,Wt,de)=>{const ne=Xt.getValueInRange({startLineNumber:1,startColumn:1,endLineNumber:Wt.lineNumber,endColumn:Wt.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:de}))},Ne=(xt,Xt,Wt,de)=>{xt.languages.registerCompletionItemProvider(Xt,{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:[...me(xt,ne,te,ve),...Wt.map(Ye=>({label:Ye,kind:xt.languages.CompletionItemKind.Keyword,documentation:Ye,insertText:Ye,insertTextRules:xt.languages.CompletionItemInsertTextRule.InsertAsSnippet,range:ve})),...de.map(Ye=>({label:Ye.label,kind:xt.languages.CompletionItemKind.Snippet,documentation:Ye.content,insertText:re.startsWith("#")?Ye.content.replace(/#/,""):Ye.content,insertTextRules:xt.languages.CompletionItemInsertTextRule.InsertAsSnippet,range:ve}))]}}})};var we=xt=>{Ue.languages.forEach(Xt=>{xt.languages.registerDocumentFormattingEditProvider(Xt,{provideDocumentFormattingEdits(Wt){return se(this,null,function*(){const de=De()(Wt.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:Wt.getFullModelRange(),text:de}]})}})}),Ne(xt,"java",ze.keywords,ze.quickKey),Ne(xt,"cpp",Ce.keywords,Ce.quickKey),Ne(xt,"c",pe.keywords,[]),Ne(xt,"python",Fe.keywords,Fe.quickKey),Ne(xt,"scala",ge.keywords,ge.quickKey)};const be="\u8BE5\u4EFB\u52A1\u5173\u5361\u8BBE\u7F6E\u4E86\u7981\u6B62\u590D\u5236\u7C98\u8D34\uFF0C\u8BF7\u624B\u52A8\u8F93\u5165\u4EE3\u7801\u3002";var he=Object.defineProperty,ce=(xt,Xt,Wt)=>Xt in xt?he(xt,Xt,{enumerable:!0,configurable:!0,writable:!0,value:Wt}):xt[Xt]=Wt,Ie=(xt,Xt,Wt)=>ce(xt,typeof Xt!="symbol"?Xt+"":Xt,Wt);const Ze=class Gu{constructor(Xt,Wt,de){this.placeholder=Xt,this.editor=Wt,this.monaco=de,Wt.onDidChangeModelContent(()=>this.onDidChangeModelContent()),this.onDidChangeModelContent()}onDidChangeModelContent(){this.editor.getValue()===""?this.editor.addContentWidget(this):this.editor.removeContentWidget(this)}getId(){return Gu.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)}};Ie(Ze,"ID","editor.widget.placeholderHint");var oe=Ze,Be=E(96236),tt=E(6767),Re=E(25399),_e=E(78267),ye=E(33156),Le=E(56102),Ve=Object.defineProperty,Pe=Object.defineProperties,it=Object.getOwnPropertyDescriptors,Oe=Object.getOwnPropertySymbols,ue=Object.prototype.hasOwnProperty,Xe=Object.prototype.propertyIsEnumerable,Ge=(xt,Xt,Wt)=>Xt in xt?Ve(xt,Xt,{enumerable:!0,configurable:!0,writable:!0,value:Wt}):xt[Xt]=Wt,lt=(xt,Xt)=>{for(var Wt in Xt||(Xt={}))ue.call(Xt,Wt)&&Ge(xt,Wt,Xt[Wt]);if(Oe)for(var Wt of Oe(Xt))Xe.call(Xt,Wt)&&Ge(xt,Wt,Xt[Wt]);return xt},Tt=(xt,Xt)=>Pe(xt,it(Xt)),Ke=(xt,Xt)=>{var Wt={};for(var de in xt)ue.call(xt,de)&&Xt.indexOf(de)<0&&(Wt[de]=xt[de]);if(xt!=null&&Oe)for(var de of Oe(xt))Xt.indexOf(de)<0&&Xe.call(xt,de)&&(Wt[de]=xt[de]);return Wt},Se=(xt,Xt,Wt)=>new Promise((de,ne)=>{var te=re=>{try{ve(Wt.next(re))}catch(fe){ne(fe)}},le=re=>{try{ve(Wt.throw(re))}catch(fe){ne(fe)}},ve=re=>re.done?de(re.value):Promise.resolve(re.value).then(te,le);ve((Wt=Wt.apply(xt,Xt)).next())});function Ft(xt){return/^\d+$/.test(xt)?`${xt}px`:xt}function It(){}let ut=!1;const xe={"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 ke(xt=[]){let Xt=xt;if(Array.isArray(xt)){for(let Wt=0;Wt<xt.length;Wt++){let de=xe[xt[Wt]];if(de)return de}return Xt[0]}return xe[Xt]||Xt}let at=null;const Rt=()=>Se(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 Xt=xt,{width:Wt="100%",height:de="100%",value:ne,language:te="javascript",style:le={},options:ve={},overrideServices:re={},theme:fe="vs-dark",onEditBlur:Ye,isCopy:vt=!1,onSave:et,autoHeight:nt=!1,forbidCopy:mt=!1,forbidCopyTips:yt,onChange:St=It,editorDidMount:Qe=It,onFocus:st=It,onBreakPoint:en=It,breakPointValue:Kt=[],filename:vn="educoder.txt",errorLine:nn,errorContent:Yt="",highlightLine:Jt,openBreakPoint:cn=!1,placeholder:bt="",showMiniMap:zt=!0}=Xt,un=Ke(Xt,["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)(),ct=(0,y.useRef)({}),Zt=(0,y.useRef)(),wt=(0,y.useRef)(),dn=(0,y.useRef)([]),wn=(0,y.useRef)(!1),Un=(0,y.useRef)(),er=(0,y.useRef)(),lr=(0,y.useRef)(!1),[Rn,Qn]=(0,y.useState)(!1);function Vt(){let Fn;return Cn.current&&(Fn=new Ae.Z(Nn=>{for(let cr of Nn)(cr.target.offsetHeight>0||cr.target.offsetWidth>0)&&ct.current.instance.layout()}),Fn.observe(Cn.current)),Fn}function Lt(){tt.ZP.warning({content:decodeURIComponent(yt||be),key:"monaco-editor-tip"})}const sn=()=>{let Fn=ct.current.instance;if(ne!=null&&Fn&&Rn){const Nn=Fn.getModel();Nn&&ne!==Nn.getValue()&&(ut=!0,Nn.setValue(ne),Fn.layout(),ut=!1)}};(0,y.useEffect)(()=>{const Fn=ye.Z.subscribe("formatDocument",Nn=>{var cr;let sr=ct.current.instance;(cr=sr==null?void 0:sr.getAction)==null||cr.call(sr,"editor.action.formatDocument").run()});return window.updateMonacoValue=Nn=>{St(Nn)},Fn},[]),(0,y.useEffect)(()=>{var Fn;let Nn=ct.current.instance;wt.current&&clearTimeout(wt.current),wt.current=setTimeout(()=>{sn()},500),ne&&(ne!=null&&ne.length)&&((Fn=Nn==null?void 0:Nn.updateOptions)==null||Fn.call(Nn,{lineNumbersMinChars:Math.max(Math.floor(Math.log10(ne.split(/\r\n|\r|\n/g).length))+3,5)}))},[ne,Rn,ct.current]),(0,y.useEffect)(()=>{if(nn&&ct.current&&ct.current.instance){let Nn=ct.current.instance;Nn.changeViewZones(function(cr){var sr=document.createElement("div");sr.style.padding="10px 20px",sr.style.width="calc(100% - 20px)",sr.className="my-error-line-wrp",sr.innerHTML=Yt,cr.addZone({afterLineNumber:nn||11,heightInLines:3,domNode:sr})});var Fn={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}};Nn.addOverlayWidget(Fn),Nn.revealPositionInCenter({lineNumber:20,column:1})}},[nn,ct.current,Rn]);const an=(Fn="",Nn)=>{if(!Fn||Fn.trim()==="")return!0;const sr=ct.current.instance.getModel().getLineTokens(Nn);let kt=!1;for(let qt=0;qt<2;qt++)sr.getStandardTokenType(qt)===1&&(kt=!0);return kt};(0,y.useEffect)(()=>{var Fn;const Nn=(Fn=ct.current)==null?void 0:Fn.instance;if(Nn&&Rn&&mt){const cr=Nn.onDidBlurEditorWidget(()=>{lr.current=!1}),sr=Nn.onDidFocusEditorText(()=>{lr.current=!0});return()=>{cr.dispose(),sr.dispose()}}},[ct.current,Rn,mt]),(0,y.useEffect)(()=>{var Fn;if((Fn=ct.current)!=null&&Fn.instance&&Rn&&cn){let Nn=ct.current.instance,cr=Nn.getModel();if(!cr)return;(()=>{var rt;let Bt=[],Ot=[];const $t=cr.getAllDecorations();for(let Wn of $t)Wn.options.className==="highlighted-line"&&(Bt.push((rt=Wn==null?void 0:Wn.range)==null?void 0:rt.startLineNumber),Ot.push(Wn==null?void 0:Wn.id));if(Jt===Bt[0])return;cr.deltaDecorations(Ot,[]);const On=cr.getLineCount();Jt&&Jt<=On&&(Nn.deltaDecorations([],[{range:new at.Range(Jt,1,Jt,cr.getLineMaxColumn(Jt)),options:{isWholeLine:!0,className:"highlighted-line"}}]),Nn.revealLineInCenter(Jt))})();const kt=(rt=!1)=>{var Bt;let Ot=[],$t=[];const On=cr.getAllDecorations();for(let Wn of On)Wn.options.linesDecorationsClassName==="breakpoints-select"&&(Ot.push((Bt=Wn==null?void 0:Wn.range)==null?void 0:Bt.startLineNumber),$t.push(Wn==null?void 0:Wn.id));if(rt)return{lines:Ot,ids:$t};en(Ot)},qt=rt=>Se(void 0,null,function*(){let Bt={range:new at.Range(rt,1,rt,1),options:{isWholeLine:!1,linesDecorationsClassName:"breakpoints-select"}};yield cr.deltaDecorations([],[Bt]),kt()}),gt=rt=>Se(void 0,null,function*(){let Bt=[];const Ot=Nn.getLineDecorations(rt);for(let $t of Ot)$t.options.linesDecorationsClassName==="breakpoints-select"&&Bt.push($t.id);yield cr.deltaDecorations(Bt,[]),kt()}),Ht=rt=>{let Bt=Nn.getLineDecorations(rt);for(let Ot of Bt)if(Ot.options.linesDecorationsClassName==="breakpoints-select")return!0;return!1};if(!(0,_e.isEqual)(Kt,kt(!0).lines)){cr.deltaDecorations(kt(!0).ids,[]);const rt=Kt.map(Bt=>({range:new at.Range(Bt,1,Bt,1),options:{isWholeLine:!1,linesDecorationsClassName:"breakpoints-select"}}));cr.deltaDecorations([],rt)}const Et=Nn.onDidChangeModelContent(rt=>{let Bt=Nn.getPosition();if(Bt){let Ot=Bt.lineNumber;clearTimeout(er.current),er.current=setTimeout(()=>{an(cr.getLineContent(Ot),Ot)?gt(Ot):Ht(Ot)?(gt(Ot),qt(Ot)):kt()},100)}}),Ut=Nn.onMouseDown(rt=>{var Bt,Ot,$t;if(rt.target.detail&&(($t=(Ot=(Bt=rt.target)==null?void 0:Bt.element)==null?void 0:Ot.className)!=null&&$t.includes("line-numbers"))){let On=rt.target.position.lineNumber;if(an(cr.getLineContent(On),On))return;Ht(On)?gt(On):qt(On)}}),ot=rt=>{let Bt={range:new at.Range(rt,1,rt,1),options:{isWholeLine:!1,linesDecorationsClassName:"breakpoints-fake"}};dn.current=Nn.deltaDecorations(dn.current,[Bt])},Qt=()=>{dn.current=Nn.deltaDecorations(dn.current,[])},rn=Nn.onMouseMove(rt=>{var Bt,Ot,$t;if(Qt(),rt.target.detail&&(($t=(Ot=(Bt=rt.target)==null?void 0:Bt.element)==null?void 0:Ot.className)!=null&&$t.includes("line-numbers"))){let On=rt.target.position.lineNumber;if(an(cr.getLineContent(On),On))return;ot(On)}}),_t=Nn.onMouseLeave(()=>{Qt()});return()=>{Et.dispose(),Ut.dispose(),rn.dispose(),_t.dispose()}}},[ct.current,Rn,Kt,Jt,cn,te]),(0,y.useEffect)(()=>{var Fn;(Fn=ct.current)!=null&&Fn.instance&&cn&&ct.current.instance.setPosition({lineNumber:0,column:0})},[Jt]);function tn(){let Fn=ct.current.instance;if(Fn){const Nn=Fn.getSelection(),cr=ct.current.pastePos||{},sr=new at.Range(cr.startLineNumber||Nn.endLineNumber,cr.startColumn||Nn.endColumn,cr.endLineNumber||Nn.endLineNumber,cr.endColumn||Nn.endColumn);setTimeout(()=>{Fn.executeEdits("",[{range:sr,text:""}])},300)}}function Bn(Fn){(window.navigator.platform.match("Mac")?Fn.metaKey:Fn.ctrlKey)&&Fn.keyCode==83&&(Fn.preventDefault(),et())}const xn=()=>{if(nt&&ct.current.instance){const Fn=ct.current.instance.getContentHeight();jr(Fn<de?de:Fn)}else jr(de)};function jn(Fn){var Nn=document.createEvent("MouseEvents");Nn.initMouseEvent("click",!0,!1,window,0,0,0,0,0,!1,!1,!1,!1,0,null),Fn.dispatchEvent(Nn)}const nr=Fn=>{if(!lr.current)return;const{keyCode:Nn,ctrlKey:cr,metaKey:sr,target:kt,type:qt}=Fn;return(qt==="paste"||(Nn===67||Nn===86)&&(sr||cr))&&kt.nodeName==="TEXTAREA"&&(Lt(),Fn.preventDefault()),!1};function Gn(Fn,Nn){var cr=window.URL||window.webkitURL||window,sr=new Blob([Nn]),kt=document.createElementNS("http://www.w3.org/1999/xhtml","a");kt.href=cr.createObjectURL(sr),kt.download=Fn,jn(kt)}(0,y.useEffect)(()=>{xn()},[xn]),(0,y.useEffect)(()=>{Cn.current&&!Rn&&Promise.all([E.e(8909),E.e(5977)]).then(E.bind(E,71448)).then(Fn=>{try{at=Fn,ct.current.instance=at.editor.create(Cn.current,{value:ne,language:ke(te),theme:fe,requireConfig:{"vs/nls":{availableLanguages:{"*":"zh-cn"}}},wordWrap:!0,autoIndent:!0,contextmenu:!0,formatOnType:!0,minimap:{enabled:zt||!1}},re);const Nn=ct.current.instance;let kt=[...Be.BH._menuItems].find(Et=>Et[0]._debugName=="EditorContext")[1],qt=["editor.action.clipboardCopyWithSyntaxHighlightingAction","editor.action.quickCommand","editor.action.clipboardCopyAction","editor.action.clipboardPasteAction","editor.action.clipboardCutAction"],gt=(Et,Ut)=>{var ot,Qt;let rn=Et._first;do Ut.includes((Qt=(ot=rn.element)==null?void 0:ot.command)==null?void 0:Qt.id)&&Et._remove(rn);while(rn=rn.next)};if(Qe(Nn,at),setTimeout(()=>{xn(),ct.current.instance.addAction({id:"d123123",label:"Download File",contextMenuGroupId:"9_cutcopypaste",run:()=>{Gn(vn||"educoder.txt",Nn.getValue())}})},500),ct.current.subscription=Nn.onDidChangeModelContent(Et=>{wn.current?clearTimeout(Un.current):(xn(),St(Nn.getValue(),Et)),Un.current=setTimeout(()=>{wn.current=!1},500)}),window.Monaco||we(at,ke(te)),mt&&(gt(kt,qt),Cn.current.classList.add("noCopyPaste"),window.removeEventListener("keydown",nr),window.removeEventListener("paste",nr),window.addEventListener("keydown",nr),window.addEventListener("paste",nr)),window.Monaco=at,Ye&&Nn.onDidBlurEditorWidget(()=>{Ye(Nn.getValue())}),st&&Nn.onDidFocusEditorText(()=>{mt&&Rt(),st(Nn.getValue())}),mt){Rt();try{Nn.onDidPaste(Et=>{const Ut=Nn.getSelection(),ot=ct.current.pastePos||{},Qt=new at.Range(ot.startLineNumber||Ut.endLineNumber,ot.startColumn||Ut.endColumn,ot.endLineNumber||Ut.endLineNumber,ot.endColumn||Ut.endColumn);Nn.executeEdits("",[{range:Et.range,text:""}])})}catch(Et){}}let Ht=Vt();return bt&&typeof bt=="string"&&new oe(bt,Nn,at),Qn(!0),()=>{const Et=ct.current.instance;Et.dispose();const Ut=Et.getModel();Ut&&Ut.dispose(),ct.current.subscription&&ct.current.subscription.dispose(),Ht.unobserve(Cn.current)}}catch(Nn){}})},[]),(0,y.useEffect)(()=>{if(ct.current.instance&&Rn)return document.addEventListener("keydown",Bn,!1),()=>{document.removeEventListener("keydown",Bn)}},[et,Rn]),(0,y.useEffect)(()=>{let Fn=ct.current.instance;if(Fn&&Rn){let Nn=ke(te);at.editor.setModelLanguage(Fn.getModel(),Nn)}},[te,Rn]),(0,y.useEffect)(()=>{ct.current.instance&&Rn&&at.editor.setTheme(fe)},[fe,Rn]),(0,y.useEffect)(()=>{let Fn=ct.current.instance;Zt.current=ve,Fn&&Rn&&(Fn.updateOptions(lt({},ve)),setTimeout(()=>{Fn.getModel().updateOptions(lt({},ve))},200))},[JSON.stringify(ve),Rn]),(0,y.useEffect)(()=>{let Fn=ct.current.instance;Fn&&Rn&&Fn.layout()},[Wt,de,Rn]);const[Ln,mr]=(0,y.useState)(Ft(Wt)),[ir,jr]=(0,y.useState)(Ft(de)),Nr=Tt(lt({},le),{width:Ln,height:ir,position:"relative"});return y.createElement("div",{className:"my-monaco-editor",ref:Cn,style:Nr,onFocus:()=>{mt&&Rt()}},vt&&y.createElement(Le.CopyToClipboard,{text:ne,onCopy:()=>tt.ZP.success("\u590D\u5236\u6210\u529F")},y.createElement(Re.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 Nt({width:xt="100%",height:Xt="100%",original:Wt,modified:de,language:ne,options:te={}}){const le=(0,y.useRef)(),[ve,re]=(0,y.useState)(null);function fe(nt){let mt;return le.current&&(mt=new Ae.Z(yt=>{for(let St of yt)(St.target.offsetHeight>0||St.target.offsetWidth>0)&&nt.layout()}),mt.observe(le.current)),mt}(0,y.useEffect)(()=>(le.current&&Promise.all([E.e(8909),E.e(9404)]).then(E.bind(E,2550)).then(nt=>{at=nt;const mt=at.editor.createDiffEditor(le.current,Tt(lt({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(mt);let yt=fe(mt);return()=>{mt.dispose();const St=mt.getModel();St&&St.dispose(),yt.unobserve(le.current)}}),()=>{window.removeEventListener("keydown",checkPaste),window.removeEventListener("paste",checkPaste)}),[]),(0,y.useEffect)(()=>{ve&&ve.setModel({original:at.editor.createModel(Wt,ne),modified:at.editor.createModel(de,ne)})},[Wt,de,ne,ve]);const Ye=Ft(xt),vt=Ft(Xt),et={width:Ye,height:vt};return y.createElement("div",{className:"my-diff-editor",ref:le,style:et})}},54077:function(mn,Ct,E){"use strict";E.d(Ct,{Z:function(){return Ue}});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"},Ae=E(29787),pe=E(25399),ze=E(89787),Ce=E(92310),Fe=E.n(Ce),ge=E(76406),je=E(90736),De=E(59301),Ue=({className:me,dataSource:Ne=[],col:we=4,right:be,bottom:he=23,precision:ce=0,wrapWidth:Ie=1200,trackEventItems:Ze,loading:$e,onRemove:oe=()=>{},isCurrent:Be=!0,showProgress:tt=!1,showAlias:Re=!1,category:_e="notDisplay",hiddenClick:ye=()=>{}})=>{const Le=Math.floor((Ie-(we-1)*be)/we),Ve=[{name:"\u63A8\u8350\u81EA\u5B66",ptimg:"/images/tjzx.png",swimg:"/images/sw_tjzx.png",ptclass:"sprite-70",swclass:"sprite-68"},{name:"101\u8BA1\u5212",ptimg:"/images/jh.png",swimg:"/images/sw_jh.png",ptclass:"sprite-60",swclass:"sprite-65"},{name:"\u56FD\u5BB6\u4E00\u6D41",ptimg:"/images/gjyl.png",swimg:"/images/sw_gjyl.png",ptclass:"sprite-58",swclass:"sprite-63"},{name:"\u7701\u7EA7\u4E00\u6D41",ptimg:"/images/sjyl.png",swimg:"/images/sw_sjyl.png",ptclass:"sprite-62",swclass:"sprite-67"},{name:"\u7CBE\u54C1\u8BFE\u7A0B",ptimg:"/images/jpkc.png",swimg:"/images/sw_jpkc.png",ptclass:"sprite-61",swclass:"sprite-66"},{name:"\u519B\u961F\u4E00\u6D41",ptimg:"/images/jdyl.png",swimg:"/images/sw_jdyl.png",ptclass:"sprite-59",swclass:"sprite-64"},{name:"\u65B0\u578B\u6559\u6750",ptimg:"/images/xxjc.png",swimg:"/images/sw_xxjc.png",ptclass:"sprite-71",swclass:"sprite-69"}];return De.createElement(Ae.Z,{spinning:$e},De.createElement("div",{className:Fe()(y.list,me)},!!(Ne!=null&&Ne.length)&&(Ne==null?void 0:Ne.map((Pe,it)=>{var Oe,ue,Xe,Ge,lt,Tt,Ke;const{name:Se,id:Ft,identifier:It,featured:ut,school_name:xe,image_url:ke,excellent:at,is_plan:Rt}=Pe;return De.createElement("div",{key:Ft,className:Be&&tt?y.wrapisCurrent:y.wrap,style:{width:Le,marginRight:(1+it)%we===0?0:be+ce,marginBottom:he}},De.createElement("a",{className:y.li,onClick:ft=>{ft.preventDefault(),ft.stopPropagation(),Ze&&(0,ge.L9)([Ze]),(0,ge.xg)(`/paths/${It}`)}},De.createElement("div",{className:y.img},De.createElement("img",{className:y.cover,src:`${ke}`}),(Oe=Pe==null?void 0:Pe.subject_tags)==null?void 0:Oe.map((ft,Nt)=>{var xt,Xt;if(Nt===0){const de=(xt=Ve.find(ne=>ne.name==ft))==null?void 0:xt.swclass;return De.createElement("span",{className:`sprite ${de} ${y.sign}`,style:{left:"-4px"}})}const Wt=(Xt=Ve.find(de=>de.name==ft))==null?void 0:Xt.ptclass;return De.createElement("span",{className:`sprite ${Wt} ${y.sign}`,style:{left:`${48+52*(Nt-1)+2*Nt}px`}})}),De.createElement("div",{className:y.tagsDom},De.createElement("div",{className:"flex flex-wrap item-center",style:{gap:"0 6px"}},(Pe==null?void 0:Pe.excellent)&&De.createElement("div",{className:y.bq},"\u5F00\u653E\u8BFE\u7A0B"),((ue=Pe==null?void 0:Pe.custom_tags)==null?void 0:ue.length)>0&&(Pe==null?void 0:Pe.custom_tags.map((ft,Nt)=>{var xt;return De.createElement(pe.Z,{title:ft==null?void 0:ft.tag_name,key:Nt},De.createElement("div",{className:"font12 rounded-2px c-white flex item-center",style:{height:22,padding:"0 6px",maxWidth:((xt=Pe==null?void 0:Pe.custom_tags)==null?void 0:xt.length)>2?"60px":"71px",background:"rgba(48, 97, 208, .6)",border:"1px solid #8FAFF8"}},De.createElement("span",{className:"multi-llipsis1e"},ft==null?void 0:ft.tag_name)))})))),_e=="hide"&&(Pe==null?void 0:Pe.studying)&&Be&&De.createElement("div",{className:`${y.movebq} user-path-items`,onClick:ft=>{ft.stopPropagation(),oe(Pe)}},De.createElement("i",{className:"iconfont icon-yichu1 font12"}),De.createElement("span",null,"\u79FB\u9664")),!["notDisplay","collect","payed"].includes(_e)&&Be&&De.createElement("div",{className:`${y.hiddenbq} user-path-items`,onClick:ft=>{ft.stopPropagation(),ye(Pe)}},De.createElement("i",{className:`iconfont ${_e=="hide"?"icon-chakan2":"icon-yincangtiaojianshezhi"} font12`}),De.createElement("span",null,_e=="hide"?"\u53D6\u6D88\u9690\u85CF":"\u9690\u85CF"))),De.createElement("div",{className:y.name},De.createElement(pe.Z,{title:Re&&(Pe!=null&&Pe.excellent_alias_name)?De.createElement("span",null,`\u8BFE\u7A0B\u539F\u540D\uFF1A${Se}`,De.createElement("br",null),De.createElement("span",null,`\u8BFE\u7A0B\u522B\u540D\uFF1A${Pe==null?void 0:Pe.excellent_alias_name}`)):Se},De.createElement("span",{className:y.e},Re&&(Pe==null?void 0:Pe.excellent_alias_name)||Se))),Be&&tt&&((Xe=Pe==null?void 0:Pe.progress)==null?void 0:Xe.all_score)!=0&&De.createElement("div",{style:{padding:"0px 10px",color:"#333",marginTop:10}},De.createElement(ze.Z,{strokeColor:"#44d7b6",gap:"small",percent:(((Ge=Pe==null?void 0:Pe.progress)==null?void 0:Ge.my_score)/((lt=Pe==null?void 0:Pe.progress)==null?void 0:lt.all_score)*100).toFixed(),showInfo:!1}),"\u5DF2\u5B8C\u6210 ",(Tt=Pe==null?void 0:Pe.progress)==null?void 0:Tt.my_score,"/",(Ke=Pe==null?void 0:Pe.progress)==null?void 0:Ke.all_score),(!Be||!tt)&&De.createElement(pe.Z,{title:`\u53D1\u5E03\u5355\u4F4D\uFF1A${xe}`},De.createElement("div",{className:y.unit},De.createElement("i",{className:"iconfont icon-danwei1 font14 mr3"}),xe)),(!Be||!tt)&&De.createElement("div",{className:y.tags},De.createElement("div",null,De.createElement(pe.Z,{placement:"bottom",title:"\u7AE0\u8282\u6570"},De.createElement("span",null,De.createElement("i",{className:"iconfont icon-zhangjie1 font14 mr3"}),De.createElement("span",null,Pe.stages_count))),De.createElement(pe.Z,{placement:"bottom",title:"\u5B66\u4E60\u4EBA\u6570"},De.createElement("span",null,De.createElement("i",{className:"iconfont icon-chengyuan font14 mr3"}),De.createElement("span",null,Pe.members_count)))))))})),!Ne.length&&De.createElement(je.Z,null)))}},70467:function(mn,Ct,E){"use strict";E.d(Ct,{jL:function(){return ze},w9:function(){return Se},QD:function(){return Kt},cQ:function(){return it.Z},op:function(){return mt},O5:function(){return Vt},_b:function(){return bt},t7:function(){return ce},Gi:function(){return at},YG:function(){return xe},qp:function(){return se},vr:function(){return Yt},qE:function(){return Qe},Je:function(){return $e},wb:function(){return Pe},cq:function(){return Wt},tp:function(){return Ne}});var y=E(59301),Ae={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"},ze=({dataSource:Lt=[],img:sn,imgWidth:an=346,title:tn,sunTitle:Bn,bannerExtraContent:xn})=>y.createElement("div",{className:Ae.banner},y.createElement("div",{className:Ae.content},y.createElement("aside",null,y.createElement("p",null,y.createElement("b",null,tn),y.createElement("span",null,Bn)),Lt.length>0&&y.createElement("div",{className:Ae.btns},Lt.map((jn,nr)=>y.createElement("div",{key:nr,onClick:jn.click},jn.name,jn.sign?y.createElement("span",{className:"sprite sprite-33"}):null))),xn),sn&&y.createElement("img",{style:{marginTop:33,marginRight:38},src:sn,width:an}))),Ce={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"},Fe=E(92310),ge=E.n(Fe),je=E(78267),se=({dataSource:Lt=[],value:sn,onChange:an,onTitleChange:tn,className:Bn,title:xn,titleWidth:jn=41,style:nr={},fontColor:Gn="#6A7283",showCount:Ln})=>{const[mr,ir]=(0,y.useState)(1),[jr,Nr]=(0,y.useState)(!1),Fn=(0,y.useRef)(null),Nn=(0,y.useRef)(null);return(0,y.useEffect)(()=>{var cr;Lt.length!==0&&(((cr=Fn==null?void 0:Fn.current)==null?void 0:cr.clientHeight)>97?ir(1):ir(0)),Lt.length===0&&ir(0),Nr(!1)},[Lt]),y.createElement("div",{className:ge()(Ce.row,Bn,"fadeIn","animated"),style:nr},y.createElement("div",{onClick:(0,je.throttle)(()=>tn==null?void 0:tn(),2e3),style:{width:jn,marginTop:jr?12:4},className:`${Ce.title} ${tn?"current":""}`},xn),y.createElement("div",{className:jr?`${Ce.tagsWrap} ${Ce.tagsBorderWrap}`:Ce.tagsWrap},y.createElement("div",{className:Ce.bar,ref:Nn,style:mr>0?{height:mr===1?97:"auto",overflow:mr===1?"hidden":"auto",paddingRight:55}:{paddingRight:0}},y.createElement("div",{className:Ce.tag,ref:Fn},Lt==null?void 0:Lt.map(cr=>y.createElement("span",{onClick:()=>an(cr.id),key:cr.id,style:{color:Gn},className:sn===cr.id?Ce.active:""},y.createElement("span",{title:cr.name,className:Ce.name},cr.name),!!Ln&&y.createElement("span",{className:Ce.num},cr.count))))),!!mr&&y.createElement(y.Fragment,null,mr===1?y.createElement("div",{onClick:()=>{var cr;ir(2),((cr=Fn==null?void 0:Fn.current)==null?void 0:cr.clientHeight)>245?Nr(!0):Nr(!1)},className:Ce.action},"\u5C55\u5F00",y.createElement("i",{style:{transform:"translateY(1px) scale(0.6)"},className:"iconfont icon-zhankai4"})):y.createElement("div",{onClick:()=>{Nn.current.scrollTop=0,ir(1),Nr(!1)},className:Ce.action},"\u6536\u8D77",y.createElement("i",{style:{transform:"translateY(0px) scale(0.6)"},className:"iconfont icon-shouqi3"})))))},Ue={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"},Ne=({dataSource:Lt=[],value:sn,onChange:an,className:tn,style:Bn={}})=>y.createElement("div",{style:Bn,className:ge()(Ue.tabs,tn)},Lt.map(xn=>y.createElement("span",{onClick:()=>an(xn.id),className:sn===xn.id?Ue.active:"",key:xn.id},xn.name))),we={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"},be=E(37568),ce=({dataSource:Lt=[],value:sn="",onChange:an,onInputChange:tn=()=>{},className:Bn,style:xn={},placeholder:jn,allowClear:nr=!1})=>{var Gn;const[Ln,mr]=(0,y.useState)(""),[ir,jr]=(0,y.useState)("");(0,y.useEffect)(()=>{var Nn;let cr=sn;(Nn=JSON.stringify(sn))!=null&&Nn.includes("{")&&(mr(sn.id),cr=sn.value||"");try{jr(decodeURIComponent(cr||""))}catch(sr){jr(decodeURIComponent(cr||""))}},[sn]);const Nr=()=>{an(encodeURIComponent(ir),Ln||null)},Fn=Nn=>{Nn!==Ln&&(mr(Nn),an(encodeURIComponent(ir),Nn))};return y.createElement("div",{className:ge()(we.input,Bn),style:xn},!!Lt.length&&y.createElement("div",{className:we.dropdown},y.createElement("div",{className:we.text},(Gn=Lt.find(Nn=>Nn.id===Ln))==null?void 0:Gn.name,y.createElement("i",{className:"iconfont icon-zhankai4"}),y.createElement("b",{className:we.b1}),y.createElement("b",{className:we.b2})),y.createElement("div",{className:we.menu},Lt.map((Nn,cr)=>y.createElement("div",{key:cr,onClick:()=>Fn(Nn.id)},Nn.name)))),y.createElement(be.default,{onPressEnter:Nr,value:ir,onChange:Nn=>{jr(Nn.target.value),tn(encodeURIComponent(Nn.target.value),Ln||null)},placeholder:jn,variant:"borderless",allowClear:nr,onClear:()=>an("",Ln||null)}),y.createElement("i",{onClick:Nr,className:"iconfont icon-sousuo9 font14 current"}))},Ie={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"},$e=({value:Lt,onChange:sn,className:an,total:tn,pageSize:Bn,style:xn={}})=>{const jn=Lt<2,nr=Lt>=Math.ceil(tn/Bn);return tn<=Bn?y.createElement(y.Fragment,null):y.createElement("div",{className:ge()(Ie.quickPager,an),style:xn},y.createElement("div",{onClick:()=>{jn||sn(Lt-1,"prev")},className:jn?Ie.disabled:""},"\u4E0A\u4E00\u9875"),y.createElement("div",{onClick:()=>{nr||sn(Lt+1,"next")},className:nr?Ie.disabled:""},"\u4E0B\u4E00\u9875"))},oe={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"},Be=E(29787),tt=E(25399),Re=E(63139),_e=E(14185),ye=E(76406),Le=E(90736),Pe=({className:Lt,dataSource:sn=[],col:an=4,right:tn,bottom:Bn=23,precision:xn=0,wrapWidth:jn=1200,trackEventItems:nr,loading:Gn})=>{const Ln=Math.floor((jn-(an-1)*tn)/an);return y.createElement(Be.Z,{spinning:Gn},y.createElement("div",{className:ge()(oe.list,Lt)},!!sn.length&&sn.map((mr,ir)=>{const{name:jr,id:Nr,identifier:Fn,power:Nn,cover_image_id:cr,pic:sr}=mr;return y.createElement("div",{className:oe.wrap,key:Nr,style:{width:Ln,marginRight:(1+ir)%an===0?0:tn+xn,marginBottom:Bn}},y.createElement("a",{target:"_blank",href:`/shixuns/${Fn}/challenges`,className:oe.li,onClick:kt=>{kt.preventDefault(),nr&&(0,ye.L9)([nr]),Nn&&(0,ye.xg)(`/shixuns/${Fn}/challenges`)}},y.createElement("div",{className:oe.img},y.createElement("img",{className:oe.cover,src:`${sr}`}),mr.is_jupyter&&y.createElement("span",{className:`sprite sprite-43 ${oe.sign}`}),mr.is_jupyter_lab&&y.createElement("span",{className:`sprite sprite-42 ${oe.sign}`}),mr.is_unity_3d&&y.createElement("span",{className:`sprite sprite-44 ${oe.sign}`})),y.createElement("div",{className:oe.name},y.createElement(tt.Z,{title:jr||"\u5B9E\u8DF5\u9879\u76EE\u540D\u79F0-\u672A\u586B\u5199"},y.createElement("span",{className:oe.e},jr||"\u5B9E\u8DF5\u9879\u76EE\u540D\u79F0-\u672A\u586B\u5199"))),y.createElement("div",{className:oe.tags},y.createElement(tt.Z,{placement:"bottom",title:"\u5173\u5361\u6570"},y.createElement("span",null,y.createElement("i",{className:"iconfont icon-shixunguanqia font14 mr2"}),y.createElement("span",null,mr.challenges_count))),!!mr.myshixuns_count&&y.createElement(tt.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,mr.myshixuns_count))),y.createElement(tt.Z,{placement:"bottom",title:"\u96BE\u5EA6\u7B49\u7EA7"},y.createElement("span",null,y.createElement("span",null,mr.level))),y.createElement("div",{className:oe.rate},y.createElement(Re.Z,{allowHalf:!0,disabled:!0,defaultValue:mr.score_info}),y.createElement("span",null,"\xA0",mr.score_info?`${mr.score_info}\u5206`:"5\u5206")))),!Nn&&y.createElement("div",{className:oe.lockWrap},y.createElement("img",{src:`${_e.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")))}),!sn.length&&y.createElement(Le.Z,null)))},it=E(54077),Oe={flex_box_center:"flex_box_center___eMcr7",flex_space_between:"flex_space_between___HcNca",flex_box_vertical_center:"flex_box_vertical_center___ZnvVN",flex_box_center_end:"flex_box_center_end___fdgDf",flex_box_column:"flex_box_column___SEKvd",list:"list___L1hmU",hidden:"hidden___NniIi",wrap:"wrap___pKgcW",btnsTop:"btnsTop___Lrm6T",lockWrap:"lockWrap___SMhkK",top:"top___udHSB",sign:"sign___uwRpq",name:"name___Fpf90",img:"img___AMLhL",text:"text___KiTb7",btns:"btns___i6IuZ",bottom:"bottom____k2sh"},ue=E(62957),Xe=E(96599),Ge="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAHgAAAB4CAYAAAA5ZDbSAAAAAXNSR0IArs4c6QAAIABJREFUeF7tXWmQXFd1/s59r3t6nX00o93GluV9AQNxiAkIB0OMISFsFQqSAhOohFR+JKmEQPILClJZfpEfIUAChFQSHIJxnGDiDYwsb8KRLUuWZcmSxqN9pJF6nV7eSZ373u1509Mzvd2eGVt6VV2z9Ht3+9459+yX8Bq4mDmWK2GLqla3MvFWZt4KpjVMSBNzGoQ0M6WJkJbpMiNDxBkwMkyUIUYGxCeJaB8x7fMcZ18yiv1EVHy1Lw+9GicwO8tXlSrlbSB6O4HfANAmZlY250JEHsBHGLQTzA9H3chDfX2012Yfy9HWqwJgZh7NF6vvY/a2gWkbgyeWY3Hq+yDQcRA/RKQeSsSce4jo9EqMo50+Vy3AzNxXKFTv9MAfB/AuZo60M7Fe30tEZQA/UqBvx+POvUQ02+s+O2l/1QGcy5Xe6Cn1SXj8YYAHO5nU8j9DM1D0b8rzvpFMRp9a/v4X73HVAJwplN9GHj7P4NtW0wK1OxYCPcAKX0rHI4+0+2wv7l9xgHPFyrs9j78A5l/sxQRXrE2ix5SiLyZj7v+s2BgArBjA+XzpzR7oq8x880ouQK/7JqKnFfiziUT0iV731aj9ZQeYmYez+fJXiOguZl72/ldkkYmYmb+eSkT+lIjOLOcYlm2BBcx8sfoJz+O/BHhkOSe5evqiaaXoTxIx55tExMsxrmUBOJ/njVVUvgvmW5djUqu+D6JHHbgfTSRostdj7TnAuWLl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sjcLmMz89VQi8qdEdKYlZCzdtOwAm3EHIblfZeabLc1lVTYjccsK/NlEIvrESgxwxQAOCWHv9jz+Aph/cSUWoGd9Ej2mFH3RlkWq03GuOMBm4JLwRh4+z+DbOp3ManhOsvxY4UvpeOSR1TGe1TCK0BiC/OS7APoQwKHqHKtsoPOGQzMA/7sCvp5MRp9aTSNdNRRcvyhSTqJQqN7pgT8O4F3MvArC3uZGKdVsAPxIgb4djzv3EtHsagLWjGXVAhxeLCnxlC9W38fsbQPTNgZPrMRiSgU5ED9EpB5KxJx7iKjFkxlXYrR+n68KgOuXJ6ituQ1E2wj8eoA2McuxWPYuqbcM8BEG7QTzw1E38pBtR4C90S7e0qsS4AbsPJYrYYuqVrcy8VZm3gqmcSakiTkFQpqZ0kRIy7PMyBBxBowME2WJkQHxCSLaR0z7PMfZl4xiPxFdXaKvAAAADElEQVQVlwOEXvbx/3Bccpan8cseAAAAAElFTkSuQmCC",lt=E(59301),Tt=(Lt,sn,an)=>new Promise((tn,Bn)=>{var xn=Gn=>{try{nr(an.next(Gn))}catch(Ln){Bn(Ln)}},jn=Gn=>{try{nr(an.throw(Gn))}catch(Ln){Bn(Ln)}},nr=Gn=>Gn.done?tn(Gn.value):Promise.resolve(Gn.value).then(xn,jn);nr((an=an.apply(Lt,sn)).next())}),Se=({className:Lt,dataSource:sn=[],col:an=4,right:tn,bottom:Bn=23,precision:xn=0,wrapWidth:jn=1200,trackEventItems:nr,loading:Gn,category:Ln,hiddenClick:mr,handleVery:ir=()=>!0,isCurrent:jr})=>{const[Nr,Fn]=ue.default.useModal(),Nn=Math.floor((jn-(an-1)*tn)/an),cr=sr=>Tt(void 0,null,function*(){Nr.confirm({title:"\u7F6E\u9876",width:500,content:lt.createElement("div",null,"\u60A8\u786E\u5B9A\u8981\u5C06",lt.createElement("span",{className:"c-blue"},"\u201C",sr.name,"\u201D"),"\u8BFE\u5802\u7F6E\u9876\u5417\uFF1F"),okText:"\u786E\u8BA4\u7F6E\u9876",centered:!0,cancelText:"\u53D6\u6D88"})});return lt.createElement(Be.Z,{spinning:Gn},Fn,lt.createElement("div",{className:ge()(Oe.list,Lt)},!!sn.length&&sn.map((sr,kt)=>{const{subject_identifier:qt,id:gt,identifier:Ht,power:Et}=sr,Ut=sr.is_public!=0&&sr.is_public;return lt.createElement("div",{className:Oe.wrap,key:gt,style:{width:Nn,marginRight:(1+kt)%an===0?0:tn+xn,marginBottom:Bn}},sr.homepage_show&<.createElement("div",{className:Oe.btnsTop},lt.createElement(Xe.default,{color:"red"},"\u7F6E\u9876")),lt.createElement("a",{className:Oe.li,onClick:ot=>{ot.preventDefault(),ir(sr==null?void 0:sr.first_category_url)&&(nr&&(0,ye.L9)([nr]),(0,ye.xg)(sr.first_category_url))}},lt.createElement("div",{className:Oe.top},lt.createElement(tt.Z,{title:sr.name},lt.createElement("div",{className:Oe.name},sr.name)),lt.createElement("img",{className:Oe.img,src:_e.Z.IMG_SERVER+"/images/"+sr.avatar_url}),lt.createElement("div",{className:Oe.text,title:sr.creator},sr.creator),qt&<.createElement("div",{className:Oe.btns},lt.createElement("div",null,"\u5F00\u653E\u8BFE\u7A0B"),lt.createElement("aside",null,"\u5F00\u653E\u8BFE\u5802")),Ut&<.createElement("div",{className:Oe.sign},"\u516C\u5F00"),jr&<.createElement("div",{className:Oe.hidden,onClick:ot=>{ot.stopPropagation(),mr(sr)}},lt.createElement("i",{className:`iconfont ${Ln=="hide"?"icon-chakan2":"icon-yincangtiaojianshezhi"} font12`}),Ln=="hide"?"\u53D6\u6D88\u9690\u85CF":"\u9690\u85CF")),lt.createElement("div",{className:Oe.bottom},sr.visits>0&<.createElement(tt.Z,{title:"\u8BBF\u95EE\u91CF",placement:"bottom"},lt.createElement("span",null,lt.createElement("i",{className:"iconfont icon-liulanyan"}),lt.createElement("span",null,sr.visits))),sr.course_members_count>0&<.createElement(tt.Z,{title:"\u6210\u5458",placement:"bottom"},lt.createElement("span",null,lt.createElement("i",{className:"iconfont icon-chengyuan"}),sr.course_members_count)),sr.tasks_count>0&<.createElement(tt.Z,{title:"\u4F5C\u4E1A",placement:"bottom"},lt.createElement("span",null,lt.createElement("i",{className:"iconfont icon-zuoye"}),sr.tasks_count)),sr.is_end?lt.createElement("div",{style:{color:"#6B758B"}}):lt.createElement("div",{style:{color:"#00B187"}},"\u8FDB\u884C\u4E2D"))),!sr.is_accessible&<.createElement("div",{className:Oe.lockWrap},lt.createElement("img",{src:`${_e.Z.IMG_SERVER}/images/educoder/icon/lockclose.svg`}),lt.createElement("span",{className:"mt15 font16 c-white"},"\u975E\u8BFE\u5802\u6210\u5458\u4E0D\u53EF\u8FDB\u5165")))}),!sn.length&<.createElement(Le.Z,null)))},Ft={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"},It=E(44283),xe=({dataSource:Lt=[],value:sn,onChange:an,className:tn,style:Bn={},tabBarExtraContent:xn})=>y.createElement("div",{className:ge()(Ft.tabs,tn),style:Bn},y.createElement("div",{className:Ft.tabsWrap},Lt.map((jn,nr)=>!(jn!=null&&jn.hide)&&y.createElement("aside",{className:Ft.tab,onClick:()=>{an(jn.id),jn.link&&It.history.push(jn.link)},key:nr},y.createElement("div",{className:sn===jn.id?Ft.active:""},jn.name),(jn==null?void 0:jn.resetCount)==null&&(jn==null?void 0:jn.total)!==void 0&&y.createElement("span",null,"\uFF08",jn==null?void 0:jn.total,"\uFF09"),(jn==null?void 0:jn.resetCount)!==void 0&&(jn==null?void 0:jn.total)!==void 0&&y.createElement(tt.Z,{title:(jn==null?void 0:jn.tip)!=null?jn==null?void 0:jn.tip:""},y.createElement("span",{style:{color:"#9096A3"}},"\uFF08",y.createElement("span",{style:{color:"#000"}},jn==null?void 0:jn.resetCount),"/",y.createElement("span",null,jn==null?void 0:jn.total),"\uFF09"))))),y.createElement("div",{className:Ft.tabBar},xn)),at=({className:Lt,style:sn={},children:an})=>y.createElement("div",{className:ge()(Lt),style:sn},an),Rt={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"},ft=E(75727),Nt=E(93041);const xt=[{id:"updated_at",name:"\u6700\u65B0\u52A8\u6001"},{id:"created_at",name:"\u6700\u65B0\u521B\u5EFA"},{id:"name",name:"\u540D\u79F0\u6392\u5E8F"}];var Wt=({sortValue:Lt,dropValue:sn,className:an,onSort:tn,onDrop:Bn,dataSource:xn=xt})=>{var jn;return y.createElement("div",{className:ge()(Rt.orderWrap,an)},y.createElement(ft.Z,{dropdownRender:()=>y.createElement(Nt.default,null,xn.map((nr,Gn)=>y.createElement(Nt.default.Item,{key:Gn,onClick:()=>Bn(nr.id)},nr.name)))},y.createElement("span",{className:Rt.orderTextWrap},(jn=xn.find(nr=>sn===nr.id))==null?void 0:jn.name)),y.createElement("span",{className:Rt.orderIconWrap},y.createElement("span",{className:Rt.orderAsc},y.createElement("i",{className:Lt==="asc"?`iconfont icon-sanjiaoxing-up font12 ${Rt.cursorPointer} ${Rt.active}`:`iconfont icon-sanjiaoxing-up font12 ${Rt.cursorPointer}`,onClick:()=>tn(Lt==="asc"?"desc":"asc")})),y.createElement("span",{className:Rt.orderDesc},y.createElement("i",{className:Lt==="desc"?`iconfont icon-sanjiaoxing-down font12 ${Rt.cursorPointer} ${Rt.active}`:`iconfont icon-sanjiaoxing-down font12 ${Rt.cursorPointer}`,onClick:()=>tn(Lt==="asc"?"desc":"asc")}))))},de={flex_box_center:"flex_box_center___LCi0B",flex_space_between:"flex_space_between___hzONe",flex_box_vertical_center:"flex_box_vertical_center___ZyQRE",flex_box_center_end:"flex_box_center_end___XKM74",flex_box_column:"flex_box_column___p8LCU",btn:"btn___In02G","mediacy-round":"mediacy-round___uveEv","mediacy-default":"mediacy-default___dDxsd",default:"default___K791v"},ne=E(7939),te=Object.defineProperty,le=Object.getOwnPropertySymbols,ve=Object.prototype.hasOwnProperty,re=Object.prototype.propertyIsEnumerable,fe=(Lt,sn,an)=>sn in Lt?te(Lt,sn,{enumerable:!0,configurable:!0,writable:!0,value:an}):Lt[sn]=an,Ye=(Lt,sn)=>{for(var an in sn||(sn={}))ve.call(sn,an)&&fe(Lt,an,sn[an]);if(le)for(var an of le(sn))re.call(sn,an)&&fe(Lt,an,sn[an]);return Lt},vt=(Lt,sn)=>{var an={};for(var tn in Lt)ve.call(Lt,tn)&&sn.indexOf(tn)<0&&(an[tn]=Lt[tn]);if(Lt!=null&&le)for(var tn of le(Lt))sn.indexOf(tn)<0&&re.call(Lt,tn)&&(an[tn]=Lt[tn]);return an},et=(Lt,sn,an)=>new Promise((tn,Bn)=>{var xn=Gn=>{try{nr(an.next(Gn))}catch(Ln){Bn(Ln)}},jn=Gn=>{try{nr(an.throw(Gn))}catch(Ln){Bn(Ln)}},nr=Gn=>Gn.done?tn(Gn.value):Promise.resolve(Gn.value).then(xn,jn);nr((an=an.apply(Lt,sn)).next())}),mt=Lt=>{var sn=Lt,{className:an,style:tn,children:Bn,loading:xn=!1,openLoading:jn,onClick:nr=()=>{},size:Gn="middle",shape:Ln="round"}=sn,mr=vt(sn,["className","style","children","loading","openLoading","onClick","size","shape"]);const[ir,jr]=(0,y.useState)(!1);return y.createElement(ne.ZP,Ye({onClick:(0,je.throttle)(Nr=>et(void 0,null,function*(){jn&&jr(!0);try{yield nr(Nr)}catch(Fn){console.log("error",Fn)}jn&&jr(!1)}),2e3,{leading:!0,trailing:!1}),className:ge()(de.btn,de[`${Gn}-${Ln}`],an),style:tn,size:Gn,shape:Ln,loading:ir||xn},mr),Bn)},yt={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"},Qe=({className:Lt,style:sn,children:an=null,onClick:tn,title:Bn})=>y.createElement("div",{className:ge()(yt.head,Lt),style:sn},y.createElement("span",{className:"primary-hover",onClick:tn},y.createElement("i",{className:"iconfont icon-fanhui2 font12"}),"\u8FD4\u56DE"),y.createElement("b",{title:Bn},Bn),y.createElement("div",{className:yt.node},an)),st={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"},Kt=({confirmShow:Lt=!0,confirmTitle:sn,confirmClick:an,cancelShow:tn=!0,cancelTitle:Bn,cancelClick:xn,className:jn,style:nr,confirmLoading:Gn=!1})=>y.createElement("div",{className:ge()(st.btns,jn),style:nr},Lt&&y.createElement(ne.ZP,{loading:Gn,onClick:an,type:"primary",className:st.confirm},sn),tn&&y.createElement(ne.ZP,{onClick:xn,className:st.cancel},Bn)),vn={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"},Yt=({className:Lt,style:sn={},LeftContent:an,children:tn,RightContent:Bn})=>y.createElement("div",{className:ge()(vn.fixedBottom,Lt),style:sn},y.createElement("div",{className:vn.wrap},y.createElement("div",{className:vn.left},an),y.createElement("div",{className:vn.center},tn),y.createElement("div",{className:vn.right},Bn))),Jt={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"},bt=({className:Lt,style:sn={},dataSource:an=[]})=>y.createElement("div",{className:ge()(Jt.crumbs,Lt),style:sn},an.map((tn,Bn)=>Bn<an.length-1?y.createElement(y.Fragment,{key:Bn},tn.path||tn.onClick?y.createElement("span",{className:Jt.hover,onClick:tn!=null&&tn.onClick?tn.onClick:()=>It.history.push(tn.path)},tn.name):y.createElement("span",null,tn.name),y.createElement("span",null,"\xA0",">","\xA0")):y.createElement("span",{key:Bn,style:{color:"#5F6368"}},tn.name))),zt=E(11938),un=Object.defineProperty,Cn=Object.defineProperties,ct=Object.getOwnPropertyDescriptors,Zt=Object.getOwnPropertySymbols,wt=Object.prototype.hasOwnProperty,dn=Object.prototype.propertyIsEnumerable,wn=(Lt,sn,an)=>sn in Lt?un(Lt,sn,{enumerable:!0,configurable:!0,writable:!0,value:an}):Lt[sn]=an,Un=(Lt,sn)=>{for(var an in sn||(sn={}))wt.call(sn,an)&&wn(Lt,an,sn[an]);if(Zt)for(var an of Zt(sn))dn.call(sn,an)&&wn(Lt,an,sn[an]);return Lt},er=(Lt,sn)=>Cn(Lt,ct(sn)),lr=(Lt,sn)=>{var an={};for(var tn in Lt)wt.call(Lt,tn)&&sn.indexOf(tn)<0&&(an[tn]=Lt[tn]);if(Lt!=null&&Zt)for(var tn of Zt(Lt))sn.indexOf(tn)<0&&dn.call(Lt,tn)&&(an[tn]=Lt[tn]);return an};const{Countdown:Rn}=zt.default;var Vt=Lt=>{var sn=Lt,{onChange:an}=sn,tn=lr(sn,["onChange"]);const[Bn,xn]=(0,y.useState)(null);(0,y.useEffect)(()=>{typeof Bn=="number"&&Bn>=0&&an(Bn)},[Bn]);const jn=nr=>{const Gn=Math.floor(nr/1e3);xn(Gn)};return y.createElement(Rn,er(Un({},tn),{onChange:jn}))}},79006:function(mn,Ct,E){"use strict";E.d(Ct,{Z:function(){return Ae}});var y=E(59301);function Ae(pe,ze){const Ce=(0,y.useRef)();(0,y.useEffect)(()=>{Ce.current=pe}),(0,y.useEffect)(()=>{function Fe(){Ce.current()}if(ze!==null){let ge=setInterval(Fe,ze);return()=>clearInterval(ge)}},[ze])}},80283:function(mn,Ct,E){"use strict";var y=E(59301),Ae=E(62957),pe=E(49317),ze=E(44283),Ce=E(59301),Fe=(je,De,se)=>new Promise((Ue,me)=>{var Ne=he=>{try{be(se.next(he))}catch(ce){me(ce)}},we=he=>{try{be(se.throw(he))}catch(ce){me(ce)}},be=he=>he.done?Ue(he.value):Promise.resolve(he.value).then(Ne,we);be((se=se.apply(je,De)).next())});const ge=({exercise:je,dispatch:De,init:se,haveInit:Ue=!1})=>{const me=(0,ze.useParams)(),[Ne,we]=(0,y.useState)(!1);let[be,he]=(0,y.useState)();const[ce,Ie]=(0,y.useState)(!1),[Ze,$e]=(0,y.useState)(!1);(0,y.useEffect)(()=>{je.actionTabs.key==="\u5355\u4E2A\u52A0\u5165\u8BD5\u5377\u5E93"&&oe()},[je.actionTabs]);function oe(){return Fe(this,null,function*(){var Be,tt;let Re=yield(0,pe.ZP)(`/api/courses/${me==null?void 0:me.coursesId}/exercises/check_exercise_cover.json`,{method:"post",body:{check_ids:je.actionTabs.selectArrs}});if(((Be=Re==null?void 0:Re.cover_exercises)==null?void 0:Be.length)>0)we(!0),he((tt=Re==null?void 0:Re.cover_exercises)==null?void 0:tt[0]);else{let _e=yield(0,pe.ZP)(`/api/courses/${me==null?void 0:me.coursesId}/exercises/join_examination_banks.json`,{method:"post",body:{check_ids:je.actionTabs.selectArrs}});De({type:"exercise/setActionTabs",payload:{key:""}}),(_e==null?void 0:_e.status)===0&&(Ue&&se(),Ae.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:()=>{ze.history.push("/paperlibrary")}}))}})}return Ce.createElement("div",null,Ce.createElement(Ae.default,{open:Ne,centered:!0,onCancel:Be=>Fe(void 0,null,function*(){if(Be.target.outerText==="\u8986\u76D6\u539F\u6765\u7684\u8BD5\u5377"){Ie(!0);let tt=yield(0,pe.ZP)(`/api/courses/${me==null?void 0:me.coursesId}/exercises/join_examination_banks.json`,{method:"post",body:{check_ids:je.actionTabs.selectArrs,update:1}});De({type:"exercise/setActionTabs",payload:{key:""}}),Ie(!1),(tt==null?void 0:tt.status)===0&&(Ue&&se(),we(!1),Ae.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:()=>{ze.history.push("/paperlibrary")}}))}else we(!1)}),cancelButtonProps:{loading:ce},okText:"\u5F62\u6210\u65B0\u8BD5\u5377",cancelText:"\u8986\u76D6\u539F\u6765\u7684\u8BD5\u5377",okButtonProps:{loading:Ze},onOk:()=>Fe(void 0,null,function*(){$e(!0);let Be=yield(0,pe.ZP)(`/api/courses/${me==null?void 0:me.coursesId}/exercises/join_examination_banks.json`,{method:"post",body:{check_ids:je.actionTabs.selectArrs}});$e(!1),(Be==null?void 0:Be.status)===0&&(Ue&&se(),De({type:"exercise/setActionTabs",payload:{key:""}}),we(!1),Ae.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:()=>{ze.history.push("/paperlibrary")}}))}),title:"\u52A0\u5165\u8BD5\u5377\u5E93\u63D0\u793A"},Ce.createElement("div",null,Ce.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"),Ce.createElement("div",null,Ce.createElement("div",null,"\u8BD5\u5377\uFF1A",be==null?void 0:be.origin_exercise_nam),Ce.createElement("div",null,"\u539F\u8BD5\u5377\uFF1A",Ce.createElement("a",{href:`/paperlibrary/see/${be==null?void 0:be.examination_bank_id}?defaultActiveKey=0`,target:"_blank"},be==null?void 0:be.examination_bank_name))))))};Ct.Z=(0,ze.connect)(({exercise:je})=>({exercise:je}))(ge)},69186:function(mn,Ct,E){"use strict";E.d(Ct,{Z:function(){return _e}});var y=E(59301),Ae=E(62957),pe=E(77019),ze=E(5269),Ce=E(82326),Fe=E(70858),ge=E(7939),je=E(70467),De=E(49317),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"},Ue=E(44283),me=E(96622),Ne=E(59301),we=Object.defineProperty,be=Object.defineProperties,he=Object.getOwnPropertyDescriptors,ce=Object.getOwnPropertySymbols,Ie=Object.prototype.hasOwnProperty,Ze=Object.prototype.propertyIsEnumerable,$e=(ye,Le,Ve)=>Le in ye?we(ye,Le,{enumerable:!0,configurable:!0,writable:!0,value:Ve}):ye[Le]=Ve,oe=(ye,Le)=>{for(var Ve in Le||(Le={}))Ie.call(Le,Ve)&&$e(ye,Ve,Le[Ve]);if(ce)for(var Ve of ce(Le))Ze.call(Le,Ve)&&$e(ye,Ve,Le[Ve]);return ye},Be=(ye,Le)=>be(ye,he(Le)),tt=(ye,Le,Ve)=>new Promise((Pe,it)=>{var Oe=Ge=>{try{Xe(Ve.next(Ge))}catch(lt){it(lt)}},ue=Ge=>{try{Xe(Ve.throw(Ge))}catch(lt){it(lt)}},Xe=Ge=>Ge.done?Pe(Ge.value):Promise.resolve(Ge.value).then(Oe,ue);Xe((Ve=Ve.apply(ye,Le)).next())});const Re=({visible:ye,setVisible:Le,onK:Ve,selectKeys:Pe,selectRows:it,appointStudent:Oe,modalParams:ue,courseId:Xe})=>{const Ge=(0,Ue.useParams)(),[lt,Tt]=(0,y.useState)(!1),[Ke,Se]=(0,y.useState)(!1),[Ft,It]=(0,y.useState)([]),[ut,xe]=(0,y.useState)([]),[ke,at]=(0,y.useState)([]),[Rt,ft]=(0,y.useState)("all"),[Nt,xt]=(0,y.useState)("all");let[Xt,Wt]=(0,y.useState)(!0);const[de,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:ut,columnWidth:40,hideSelectAll:!0,onSelect:(et,nt,mt)=>{let yt=!0;for(let St=0;St<ut.length;St++)(et==null?void 0:et.user_id)===ut[St]&&(ut==null||ut.splice(St,1),ke==null||ke.splice(St,1),yt=!1);yt&&(ut.push(et==null?void 0:et.user_id),ke.push(et)),xe([...ut]),at([...ke])},onSelectAll:(et,nt,mt)=>{if(et&&mt.length>0){mt.forEach(yt=>{ut.push(yt.user_id),ke.push(yt)}),xe([...ut]),at([...ke]);return}if(!et&&mt.length>0){let yt=[],St=[];const Qe=new Set(mt),st=new Set(ut),en=new Set(ke);yt=[...st].filter(Kt=>[...Qe].every(vn=>vn.user_id!==Kt)),St=[...en].filter(Kt=>[...Qe].every(vn=>vn.user_id!==Kt.user_id)),xe([...yt]),at([...St])}}};(0,y.useEffect)(()=>{ye&&Pe&&(xe([...Pe]),at(it))},[ye,Pe]),(0,y.useEffect)(()=>{ye&&(!Oe&&ue?te.status=ue:te.status=null,le(oe({},te)),fe())},[ye,Oe,ue]);const re=[{title:"\u5E8F\u53F7",dataIndex:"name",key:"name",ellipsis:!0,fixed:"left",width:100,render:(et,nt,mt)=>Ne.createElement("span",{style:{color:"#333"}},mt+1)},{title:"\u59D3\u540D",dataIndex:"user_name",key:"user_name",ellipsis:!0,render:(et,nt,mt)=>Ne.createElement("span",null,et)},{title:"\u5B66\u53F7",dataIndex:"student_id",key:"student_id",ellipsis:!0,render:(et,nt,mt)=>Ne.createElement("span",{style:{color:"#666"}},et)},{title:"\u5206\u73ED1",dataIndex:"user_group_name",key:"user_group_name",align:"left",ellipsis:!0,render:(et,nt)=>Ne.createElement("span",null,et)},{title:"\u6700\u7EC8\u6210\u7EE9",dataIndex:"score",key:"score",sorter:!0,render:(et,nt)=>Ne.createElement("span",null,et||"--")},{title:"\u72B6\u6001",dataIndex:"status_cn",key:"status_cn",align:"center",ellipsis:!0,render:(et,nt)=>Ne.createElement("span",null,et)}].filter(et=>ue===1||ue===2?et.title!=="\u72B6\u6001":!0),fe=()=>tt(void 0,null,function*(){var et,nt,mt;Se(!0);const yt=yield(0,De.ZP)(`/api/exercises/${Ge.categoryId||Xe}/wait_make_up_students.json`,{method:"get",params:Be(oe({},te),{keywords:(et=te==null?void 0:te.keywords)==null?void 0:et.trim()})});if(yt.status===0){const St=((mt=(nt=yt==null?void 0:yt.data)==null?void 0:nt.all_course_groups)==null?void 0:mt.map(Qe=>({value:Qe==null?void 0:Qe.id,label:Qe==null?void 0:Qe.name})))||[];ne([{value:"all",label:"\u5168\u90E8\u5206\u73ED"},...St]),It(yt.data)}Se(!1)}),Ye=()=>{te.page=1,te.status=null,te.course_group_id=null,te.keywords="",ft("all"),xt("all"),xe([]),at([]),le(oe({},te)),Oe&&Ve(ut==null?void 0:ut.length,ut,ke)},vt=()=>{te.page=1,te.status=null,te.course_group_id=null,te.keywords="",le(oe({},te)),ft("all"),xt("all"),xe([]),at([]),Le(!1)};return Ne.createElement(Ae.default,{centered:!0,className:se.cstuModal,title:ue===1?"\u7F3A\u8003\u5B66\u751F":ue===2?"\u672A\u53CA\u683C\u5B66\u751F":"\u9009\u62E9\u8865\u8003\u5B66\u751F",open:ye,width:1200,footer:null,onCancel:()=>{vt()}},Ne.createElement(pe.Z,{style:{marginBottom:"20px",marginTop:"15px",display:"flex",alignItems:"center",justifyContent:"space-between"}},Ne.createElement(pe.Z,null,Ne.createElement(ze.Z,null,Ne.createElement(Ce.default,{size:"large",value:Rt,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)),fe()},options:de})),Oe&&Ne.createElement(ze.Z,null,Ne.createElement(Ce.default,{size:"large",value:Nt,style:{width:200},onChange:et=>{xt(et),et==="all"?te.status=null:te.status=et,te.page=1,le(oe({},te)),fe()},options:[{value:"all",label:"\u5168\u90E8\u72B6\u6001"},{value:"1",label:"\u7F3A\u8003"},{value:"2",label:"\u672A\u53CA\u683C"},{value:"3",label:"\u53CA\u683C"}]}))),Ne.createElement(ze.Z,null,Ne.createElement(je.t7,{style:{width:300,marginLeft:15},value:te.keywords,allowClear:!0,onChange:et=>{te.keywords=et,te.page=1,le(oe({},te)),fe()},placeholder:"\u8BF7\u8F93\u5165\u59D3\u540D\u6216\u5B66\u53F7\u8FDB\u884C\u641C\u7D22"}))),Ne.createElement(pe.Z,{align:"middle",className:"mb30"},Ne.createElement(ze.Z,{span:14},Ne.createElement("div",{className:"flexd-table-header"},Ne.createElement(Fe.default,{pagination:!1,dataSource:[],columns:re,rowSelection:Oe?ve:null,rowKey:et=>et.user_id})),Ne.createElement("div",null,Ne.createElement(Fe.default,{rowSelection:Oe?ve:null,columns:re,showHeader:!1,style:{minHeight:390},scroll:{y:390},rowKey:et=>et.user_id,loading:Ke,dataSource:Ft==null?void 0:Ft.exercise_users,onChange:(et,nt,mt)=>{te.page=et==null?void 0:et.current,te.limit=et==null?void 0:et.pageSize,mt!=null&&mt.order?(te.sort_by=mt==null?void 0:mt.field,te.direction=(mt==null?void 0:mt.order)==="ascend"?"asc":"desc"):(te.sort_by=null,te.direction=null),le(oe({},te)),fe()},pagination:!1}))),Ne.createElement(ze.Z,{span:1},Ne.createElement("img",{src:me,style:{marginLeft:10}})),Ne.createElement(ze.Z,{span:9,style:{display:"flex",justifyContent:"flex-end"}},Ne.createElement("div",{className:se.searchMember,style:{width:550}},Ne.createElement(pe.Z,{className:se.searchMemberHeader},Ne.createElement(ze.Z,{className:"ml30",flex:"100px"},"\u59D3\u540D"),Ne.createElement(ze.Z,{flex:"110px"},"\u5B66\u53F7"),Ne.createElement(ze.Z,{flex:"120px",style:{marginLeft:5}},"\u5206\u73ED")),Ne.createElement("div",{style:{overflow:"auto",height:390}},ke==null?void 0:ke.map((et,nt)=>Ne.createElement(pe.Z,{key:nt,align:"middle",style:{height:48,lineHeight:"48px",paddingLeft:30,borderBottom:"1px solid rgba(48,97,208,0.1)"}},Ne.createElement(ze.Z,{flex:"100px"},et.user_name),Ne.createElement(ze.Z,{flex:"110px"},et.student_id),Ne.createElement(ze.Z,{flex:"120px",style:{marginLeft:5}},et.user_group_name),Ne.createElement(ze.Z,{style:{marginLeft:10}},Ne.createElement("i",{className:"iconfont icon-shanchudiao current",onClick:()=>{at(ke.filter(mt=>mt.user_id!=et.user_id)),xe(ut.filter(mt=>mt!=et.user_id))}})))))))),!(ue===1||ue===2)&&Ne.createElement("div",{className:se.bottom},Ne.createElement(ge.ZP,{className:se.no,onClick:()=>{vt()}},"\u53D6\u6D88"),Ne.createElement(ge.ZP,{loading:lt,type:"primary",onClick:()=>{Ye()}},"\u786E\u5B9A")))};var _e=(0,Ue.connect)(({})=>({}))(Re)},93965:function(mn,Ct,E){"use strict";var y=E(59301),Ae=E(28284),pe=E(6767),ze=E(62957),Ce=E(29787),Fe=E(77019),ge=E(47889),je=E(24017),De=E(62673),se=E(66649),Ue=E.n(se),me=E(49317),Ne=E(76406),we=E(44283),be=E(45050),he=E(75976),ce=Object.defineProperty,Ie=Object.defineProperties,Ze=Object.getOwnPropertyDescriptors,$e=Object.getOwnPropertySymbols,oe=Object.prototype.hasOwnProperty,Be=Object.prototype.propertyIsEnumerable,tt=(it,Oe,ue)=>Oe in it?ce(it,Oe,{enumerable:!0,configurable:!0,writable:!0,value:ue}):it[Oe]=ue,Re=(it,Oe)=>{for(var ue in Oe||(Oe={}))oe.call(Oe,ue)&&tt(it,ue,Oe[ue]);if($e)for(var ue of $e(Oe))Be.call(Oe,ue)&&tt(it,ue,Oe[ue]);return it},_e=(it,Oe)=>Ie(it,Ze(Oe)),ye=(it,Oe,ue)=>new Promise((Xe,Ge)=>{var lt=Se=>{try{Ke(ue.next(Se))}catch(Ft){Ge(Ft)}},Tt=Se=>{try{Ke(ue.throw(Se))}catch(Ft){Ge(Ft)}},Ke=Se=>Se.done?Xe(Se.value):Promise.resolve(Se.value).then(lt,Tt);Ke((ue=ue.apply(it,Oe)).next())});function Le(it,Oe){const ue=[];for(let Xe=it;Xe<Oe;Xe++)ue.push(Xe);return ue}const Ve=it=>{let Oe=new Date;const ue=Ue()(it).format("HH");if(Ue()(it).isSame(Ue()(Oe),"day")){const Xe=Ue()(Oe).format("HH"),Ge=Ue()(Oe).format("mm");return{disabledHours:()=>Le(0,24).splice(1,Xe*1-1),disabledMinutes:()=>Ue()(it).isSame(Ue()(Oe),"hour")&&ue<=Xe?Le(0,60).splice(0,Ge):Le(60,60)}}else if(Ue()(it).isSame(Ue()(),"day")){const Xe=Ue()().format("HH"),Ge=Ue()().format("mm");return{disabledHours:()=>Le(0,24).splice(0,Xe),disabledMinutes:()=>ue<=Xe?Le(0,Ge):Le(60,60)}}else return!1},Pe=({exercise:it,dispatch:Oe})=>{var ue;const Xe=(0,we.useParams)(),[Ge]=Ae.default.useForm(),[lt,Tt]=(0,y.useState)(1),[Ke,Se]=(0,y.useState)([]),[Ft,It]=(0,y.useState)(!0),[ut,xe]=(0,y.useState)([]),[ke,at]=(0,y.useState)(!0),[Rt,ft]=(0,y.useState)(!1);(0,y.useEffect)(()=>{it.actionTabs.key==="\u6279\u91CF\u7ED3\u675F"&&Nt()},[it.actionTabs]);const Nt=Wt=>ye(void 0,null,function*(){var de,ne;It(!0);const te=yield Oe({type:"exercise/getEndGroups",payload:_e(Re({},Xe),{check_ids:[...((de=it.actionTabs.selectArrs)==null?void 0:de.map(ve=>Number(ve)))||[]]})}),le=(ne=te==null?void 0:te.course_info)==null?void 0:ne.map((ve,re)=>_e(Re({},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)&&(Se([...le]),Ge.setFieldsValue({end_time:Ue()(Ue()(new Date((0,Ne.qd)("/"))).add(7,"days").format("YYYY-MM-DD HH:mm"))})),It(!1)}),xt=()=>ye(void 0,null,function*(){var Wt,de,ne,te;const le=Re({},Ge.getFieldsValue());if((ut==null?void 0:ut.length)<=0&&Ke.length>0&&!((Wt=it.actionTabs)!=null&&Wt.unified_setting)){pe.ZP.info("\u73ED\u7EA7\u4E0D\u80FD\u4E3A\u7A7A");return}ft(!0);const ve={check_ids:[...((de=it.actionTabs.selectArrs)==null?void 0:de.map(fe=>Number(fe)))||[]],group_ids:ut};ke||(ve.end_time=Ue()(le.end_time).format("YYYY-MM-DD HH:mm")),ve.group_ids=ut.map(fe=>fe.course_group_id),(yield(0,me.ZP)(`/api/courses/${Xe.coursesId}/exercises/end_exercise.json`,{method:"post",body:ve})).status===0&&(pe.ZP.success("\u64CD\u4F5C\u6210\u529F"),(0,Ne.L9)(["\u6559\u5B66\u8BFE\u5802","\u8BD5\u5377","\u6279\u91CF\u7ED3\u675F"]),Oe({type:"exercise/setActionTabs",payload:{}}),(ne=it==null?void 0:it.actionTabs)!=null&&ne.cb?(te=it==null?void 0:it.actionTabs)==null||te.cb():Oe({type:"classroomList/getClassroomExercisesList",payload:Re({},it.actionTabs.params)})),ft(!1)}),Xt=()=>{Tt(1),Se([]),xe([]),at(!0)};return y.createElement(ze.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:Rt||Ft,onCancel:()=>{Xt(),Oe({type:"exercise/setActionTabs",payload:{}})}},y.createElement(Ce.Z,{spinning:Ft},Ke&&y.createElement(Ae.default,{form:Ge},y.createElement("div",{style:{color:"#333333",display:"flex"},className:"font14 mb10"},y.createElement("img",{style:{marginRight:5,objectFit:"contain"},src:be.Z}),"\u8003\u8BD5\u65F6\u95F4\u7ED3\u675F\u540E\uFF0C\u5B66\u751F\u5C06\u4E0D\u80FD\u518D\u7B54\u9898\u3002"),y.createElement(Fe.Z,{className:"mt20 mb10"},y.createElement("span",{className:"mr10"},y.createElement("span",{style:{color:"red",marginRight:3}},"*"),"\u7ED3\u675F\u65F6\u95F4"),y.createElement(ge.ZP.Group,{value:ke,onChange:Wt=>{at(Wt.target.value),xe([])}},y.createElement(ge.ZP,{value:!0},"\u7ACB\u5373\u7ED3\u675F"),y.createElement(ge.ZP,{value:!1},"\u5B9A\u65F6\u7ED3\u675F")),y.createElement(Ae.default.Item,{name:"end_time",style:{marginTop:-3,visibility:ke?"hidden":"visible"}},y.createElement(je.default,{style:{width:170},placeholder:"\u8BF7\u9009\u62E9\u7ED3\u675F\u65F6\u95F4",showTime:{format:"HH:mm",defaultValue:Ue()((0,Ne.U6)(),"HH:mm")},disabledDate:Wt=>Wt&&Wt<Ue()().subtract(0,"days"),disabledTime:Ve,format:"YYYY-MM-DD HH:mm",allowClear:!1}))),Ke.length>0&&!((ue=it.actionTabs)!=null&&ue.unified_setting)&&y.createElement(Fe.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,Ke.length>0&&y.createElement("div",{style:{display:"flex",justifyContent:"space-between",marginBottom:"10px"}},y.createElement("span",{style:{flex:1}},y.createElement(De.default,{checked:ut.length===Ke.length,onChange:Wt=>{ut.length===Ke.length?xe([]):xe(Ke)}},"\u5168\u9009")," "),y.createElement("span",{style:{width:16}}),y.createElement("span",{style:{flex:1}},"\u5DF2\u9009\u62E9",ut.length||0,"\u4E2A\u5206\u73ED")),y.createElement(he.Z,{data:Ke,selectedRowKeys:ut,setSelectedRowKeys:xe}))))))};Ct.Z=(0,we.connect)(({exercise:it})=>({exercise:it}))(Pe)},88068:function(mn,Ct,E){"use strict";E.d(Ct,{Z:function(){return It}});var y=E(59301),Ae=E(28284),pe=E(6767),ze=E(62957),Ce=E(29787),Fe=E(77019),ge=E(47889),je=E(4875),De=E(24017),se=E(58755),Ue=E(62673),me=E(7939),Ne=E(66649),we=E.n(Ne),be=E(49317),he=E(76406),ce=E(44283),Ie=E(84849),Ze=E(45050),$e=E(75976),oe=E(69186),Be={contentInterval:"contentInterval___wAfD8",numberInput:"numberInput___R9kLf",minorRuleText:"minorRuleText___LjpSg",failedList:"failedList___KYTHd",name:"name___MqNtz",publish:"publish___TPl6Z"},tt=E(27878),Re=E(66443),_e=E(10015),ye=E(59301),Le=Object.defineProperty,Ve=Object.defineProperties,Pe=Object.getOwnPropertyDescriptors,it=Object.getOwnPropertySymbols,Oe=Object.prototype.hasOwnProperty,ue=Object.prototype.propertyIsEnumerable,Xe=(ut,xe,ke)=>xe in ut?Le(ut,xe,{enumerable:!0,configurable:!0,writable:!0,value:ke}):ut[xe]=ke,Ge=(ut,xe)=>{for(var ke in xe||(xe={}))Oe.call(xe,ke)&&Xe(ut,ke,xe[ke]);if(it)for(var ke of it(xe))ue.call(xe,ke)&&Xe(ut,ke,xe[ke]);return ut},lt=(ut,xe)=>Ve(ut,Pe(xe)),Tt=(ut,xe,ke)=>new Promise((at,Rt)=>{var ft=Xt=>{try{xt(ke.next(Xt))}catch(Wt){Rt(Wt)}},Nt=Xt=>{try{xt(ke.throw(Xt))}catch(Wt){Rt(Wt)}},xt=Xt=>Xt.done?at(Xt.value):Promise.resolve(Xt.value).then(ft,Nt);xt((ke=ke.apply(ut,xe)).next())});function Ke(ut,xe){const ke=[];for(let at=ut;at<xe;at++)ke.push(at);return ke}const Se=ut=>{let xe=new Date;const ke=we()(ut).format("HH");if(we()(ut).isSame(we()(xe),"day")){const at=we()(xe).format("HH"),Rt=we()(xe).format("mm");return{disabledHours:()=>Ke(0,24).splice(1,at*1-1),disabledMinutes:()=>(console.log("\u7981\u6B62\u65F6\u95F4\uFF1A",ke,at),we()(ut).isSame(we()(xe),"hour")&&ke<=at?Ke(0,60).splice(0,Rt):Ke(60,60))}}else if(we()(ut).isSame(we()(),"day")){const at=we()().format("HH"),Rt=we()().format("mm");return{disabledHours:()=>Ke(0,24).splice(0,at),disabledMinutes:()=>ke<=at?Ke(0,Rt):Ke(60,60)}}else return!1},Ft=({exercise:ut,dispatch:xe})=>{var ke,at,Rt,ft,Nt,xt,Xt,Wt,de,ne,te,le,ve,re,fe,Ye,vt,et,nt,mt,yt,St,Qe;const st=(0,ce.useParams)(),[en]=Ae.default.useForm(),[Kt,vn]=(0,y.useState)(1),[nn,Yt]=(0,y.useState)([]),[Jt,cn]=(0,y.useState)(!0),[bt,zt]=(0,y.useState)([]),[un,Cn]=(0,y.useState)(!0),[ct,Zt]=(0,y.useState)(!1),{workSetting:wt}=ut,[dn,wn]=(0,y.useState)(!1),[Un,er]=(0,y.useState)([]),[lr,Rn]=(0,y.useState)([]),[Qn,Vt]=(0,y.useState)(!1),[Lt,sn]=(0,y.useState)(!1),[an,tn]=(0,y.useState)(!1),[Bn,xn]=(0,y.useState)(null),[jn,nr]=(0,y.useState)(1),[Gn,Ln]=(0,y.useState)({}),[mr,ir]=(0,y.useState)({}),[jr,Nr]=(0,y.useState)(!1),[Fn,Nn]=(0,y.useState)(!1),[cr,sr]=(0,y.useState)(!1),[kt,qt]=(0,y.useState)([]);(0,y.useEffect)(()=>{if(ut.actionTabs.key==="\u6279\u91CF\u53D1\u5E03"){const{selectArrsAll:_t=[],type:rt}=ut.actionTabs||{},Bt=_t.filter(Ot=>![100,120,150].includes(Number(Ot.total_score)));Bt.length?(sr(rt===1?"multiple":"single"),qt(Bt.map(Ot=>lt(Ge({},Ot),{name:Ot.exercise_name})))):Nn(!0)}},[(ke=ut==null?void 0:ut.actionTabs)==null?void 0:ke.key]),console.log(cr,"visible"),(0,y.useEffect)(()=>{var _t;if(ut.actionTabs.key==="\u6279\u91CF\u53D1\u5E03"&&(Ht(),Qt(),ut.actionTabs.type===2)){const rt=(_t=ut.actionTabs)==null?void 0:_t.unified_setting;Cn(rt)}},[ut.actionTabs]),(0,y.useEffect)(()=>{var _t,rt,Bt,Ot,$t,On,Wn;(_t=wt==null?void 0:wt.exercise)!=null&&_t.publish_time&&en.setFieldsValue({publish_time:we()((rt=wt==null?void 0:wt.exercise)==null?void 0:rt.publish_time)}),(Bt=wt==null?void 0:wt.exercise)!=null&&Bt.end_time&&en.setFieldsValue({end_time:we()((Ot=wt==null?void 0:wt.exercise)==null?void 0:Ot.end_time)}),en.setFieldsValue({exercise_type:($t=wt==null?void 0:wt.exercise)==null?void 0:$t.exercise_type,simulate_exercise_num:(On=wt==null?void 0:wt.exercise)==null?void 0:On.simulate_exercise_num}),nr((Wn=wt==null?void 0:wt.exercise)==null?void 0:Wn.exercise_type)},[ut]);const gt=_t=>{var rt;const Bt=en.getFieldValue("publish_time");if(!Bt||(rt=wt==null?void 0:wt.exercise)!=null&&rt.publish_time)return;let Ot;_t===1?Ot=we()(Bt).add(120,"minutes"):Ot=we()(Bt).add(7,"days"),en.setFieldsValue({end_time:Ot})},Ht=_t=>Tt(void 0,null,function*(){var rt,Bt;cn(!0);const Ot=yield(0,Ie.N3)({coursesId:st.coursesId,check_ids:[...((rt=ut.actionTabs.selectArrs)==null?void 0:rt.map(On=>Number(On)))||[]]});console.log(Ot,"res");const $t=((Bt=Ot==null?void 0:Ot.course_info)==null?void 0:Bt.map((On,Wn)=>lt(Ge({},On),{key:On.course_group_id,title:On.course_group_name,name:On.course_group_name,disabled:!!On.is_published})))||[];if((Ot==null?void 0:Ot.status)!==-1){Yt([...$t]);const On=we()();en.setFieldsValue({publish_time:On}),(en.getFieldValue("exercise_type")||1)===1?en.setFieldsValue({end_time:we()(On).add(120,"minutes")}):en.setFieldsValue({end_time:we()(On).add(7,"days")})}cn(!1)});(0,y.useEffect)(()=>{var _t,rt,Bt,Ot,$t,On;if((_t=wt==null?void 0:wt.exercise)!=null&&_t.is_appoint_user){const Wn=((Bt=(rt=wt==null?void 0:wt.exercise)==null?void 0:rt.all_exercise_users)==null?void 0:Bt.map(Yn=>Yn.user_id))||[];er([...Wn])}Vt((Ot=wt==null?void 0:wt.exercise)==null?void 0:Ot.is_appoint_user),sn(($t=wt==null?void 0:wt.exercise)==null?void 0:$t.is_miss_exam_user),tn((On=wt==null?void 0:wt.exercise)==null?void 0:On.is_no_passing_user)},[wt]),(0,y.useEffect)(()=>{var _t,rt,Bt,Ot,$t,On,Wn,Yn;(rt=(_t=ut==null?void 0:ut.actionTabs)==null?void 0:_t.selectArrs)!=null&&rt[0]&&ut.actionTabs.key==="\u6279\u91CF\u53D1\u5E03"&&xe({type:"exercise/getWorkSetting",payload:{categoryId:(Ot=(Bt=ut==null?void 0:ut.actionTabs)==null?void 0:Bt.selectArrs)==null?void 0:Ot[0],category:(On=($t=ut==null?void 0:ut.actionTabs)==null?void 0:$t.selectArrs)==null?void 0:On[0],coursesId:(Yn=(Wn=ut==null?void 0:ut.actionTabs)==null?void 0:Wn.params)==null?void 0:Yn.id}})},[(at=ut==null?void 0:ut.actionTabs)==null?void 0:at.selectArrs]);const Et=()=>Tt(void 0,null,function*(){var _t,rt,Bt,Ot,$t,On,Wn;const Yn=Ge({},en.getFieldsValue()),Mr=we()(we()(Yn.publish_time).format("YYYY-MM-DD HH:mm")).valueOf(),Hr=we()(we()(Yn.end_time).format("YYYY-MM-DD HH:mm")).valueOf();if(console.log(Mr,Mr,33),Hr<=Mr){pe.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&&nn.length>0&&!((_t=wt==null?void 0:wt.exercise)!=null&&_t.is_make_up_exercise)){pe.ZP.info("\u73ED\u7EA7\u4E0D\u80FD\u4E3A\u7A7A");return}const to=nn.map(rr=>rr.key),fr={check_ids:[...((rt=ut.actionTabs.selectArrs)==null?void 0:rt.map(rr=>Number(rr)))||[]],end_time:we()(Yn.end_time).format("YYYY-MM-DD HH:mm"),publish_time:we()(Yn.publish_time).format("YYYY-MM-DD HH:mm"),group_ids:bt.map(rr=>rr.course_group_id),unified_setting:!bt.length,exercise_type:Yn.exercise_type,simulate_exercise_num:Yn.simulate_exercise_num};if(((Bt=ut.actionTabs.selectArrsAll)==null?void 0:Bt.length)>0&&ut.actionTabs.type===1&&(fr.check_ids=[...(($t=(Ot=ut.actionTabs.selectArrsAll)==null?void 0:Ot.filter(rr=>!rr.high_resources_consume||rr.high_resources_consume_permission))==null?void 0:$t.map(rr=>Number(rr==null?void 0:rr.id)))||[]]),(On=wt==null?void 0:wt.exercise)!=null&&On.is_make_up_exercise){if(Qn&&Un.length<=0||!Qn&&!(Lt||an)){pe.ZP.error("\u8BF7\u9009\u62E9\u8865\u8003\u5B66\u751F");return}fr.is_appoint_user=Qn,fr.is_miss_exam_user=Lt,fr.is_no_passing_user=an,Qn?fr.make_up_exercise_users=Un.map(rr=>({user_id:rr})):fr.make_up_exercise_user=[]}let{is_locked:Er,open_camera:Tr,screen_open:Yr,login_restrict:ro,ip_bind:oo,ip_limit:ao,is_random:Or,id:eo,identity_verify:Jr,open_phone_video_recording:Wo}=wt==null?void 0:wt.exercise;if(ut.actionTabs.key!=="\u6279\u91CF\u53D1\u5E03"||(Er||Tr||Yr||ro||oo||ao=="pub"||ao=="inner"||Jr||Wo)&&Yn.exercise_type==2){if(Nn(!1),xe({type:"exercise/setActionTabs",payload:{}}),ut.actionTabs.type==2){let rr=ze.default.confirm({width:666,centered:!0,okText:"\u7ACB\u5373\u8C03\u6574",cancelText:"\u4E0D\u9700\u8981",title:"\u63D0\u793A",icon:null,content:ye.createElement("div",null,"\u5F53\u524D\u8003\u8BD5\u6A21\u5F0F\u4E3A\u201C\u6A21\u62DF\u8003\u8BD5\u201D\uFF0C\u60A8\u5DF2\u5F00\u542F",ye.createElement("span",{style:{color:"#FA6400"}}," ",(0,he.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:()=>Tt(void 0,null,function*(){var Ro;Nr(!0);let ei=yield(0,Re.Tr)({exercise_ids:[...((Ro=ut.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(fr))&&ut.actionTabs.isRouter){rr.destroy(),ce.history.push(`/classrooms/${st.coursesId}/exercise/${eo}/detail?random=${Or}&tabs=3&childrenTabs=2`);return}xe({type:"exercise/setActionTabs",payload:{key:"\u8C03\u6574tabs\u9009\u4E2D"}})}else ir(fr),Ln(ei)}),onCancel:()=>{rr.destroy(),Nr(!1),ot(fr)}})}else{let rr=ze.default.info({width:580,centered:!0,okText:"\u6211\u77E5\u9053\u4E86",title:"\u63D0\u793A",icon:null,content:ye.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:()=>Tt(void 0,null,function*(){var Ro;Nr(!0);let ei=yield(0,Re.Tr)({exercise_ids:[...((Ro=ut.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(fr))&&ut.actionTabs.isRouter){ce.history.push(`/classrooms/${st.coursesId}/exercise/${eo}/detail?random=${Or}&tabs=3&childrenTabs=2`);return}xe({type:"exercise/setActionTabs",payload:{key:"\u8C03\u6574tabs\u9009\u4E2D"}})}else ir(fr),Ln(ei)})})}return}let Ko=yield(0,Re.Tr)({exercise_ids:[...((Wn=ut.actionTabs.selectArrs)==null?void 0:Wn.map(rr=>Number(rr)))||[]],course_id:st.coursesId,type:"exercise"});(Ko==null?void 0:Ko.student_count)===0?ot(fr):(ir(fr),Ln(Ko))}),Ut=()=>{var _t;let rt=[...(_t=ut.actionTabs.selectArrsAll)==null?void 0:_t.filter(Bt=>Bt.high_resources_consume&&!Bt.high_resources_consume_permission)];(rt==null?void 0:rt.length)>0&&ut.actionTabs.type===1&&ze.default.confirm({centered:!0,icon:null,footer:null,width:560,title:"\u63D0\u793A",closable:!0,content:ye.createElement("div",null,ye.createElement("div",{className:Be.tipcontent},ye.createElement("div",{style:{color:"#191919"}},"\u60A8\u6709 ",rt==null?void 0:rt.length," \u4E2A\u9AD8\u6D88\u8017\u7C7B\u578B\u7684\u5B9E\u9A8C\u53D1\u5E03\u5931\u8D25\uFF0C\u8BF7\u5355\u72EC\u8FDB\u884C\u53D1\u5E03\u3002"),ye.createElement("div",{className:"mt20 mb20"},rt==null?void 0:rt.map(Bt=>ye.createElement("div",{className:Be.failedList,key:Bt.id},ye.createElement("div",{className:Be.name},Bt==null?void 0:Bt.exercise_name),ye.createElement("div",{className:Be.publish,onClick:()=>{(0,he.xg)(`/classrooms/${st.coursesId}/exercise/${Bt.id}/detail?random=${Bt.is_random}`)}},"\u53D1\u5E03"))))))})},ot=_t=>Tt(void 0,null,function*(){var rt,Bt,Ot;if(ut.actionTabs.type===1){let Wn=[...(rt=ut.actionTabs.selectArrsAll)==null?void 0:rt.filter(Yn=>Yn.high_resources_consume&&!Yn.high_resources_consume_permission)];if((Wn==null?void 0:Wn.length)==ut.actionTabs.selectArrsAll.length){Nn(!1),xe({type:"exercise/setActionTabs",payload:{}}),Ut();return}}let $t=!1;return Zt(!0),(yield(0,be.ZP)(`/api/courses/${st.coursesId}/exercises/publish.json`,{method:"post",body:_t})).status===0&&((0,he.L9)(["\u6559\u5B66\u8BFE\u5802","\u8BD5\u5377","\u7ACB\u5373\u53D1\u5E03"]),Qt(),pe.ZP.success("\u53D1\u5E03\u6210\u529F"),Nn(!1),xe({type:"exercise/setActionTabs",payload:{}}),(Bt=ut==null?void 0:ut.actionTabs)!=null&&Bt.cb?(Ot=ut==null?void 0:ut.actionTabs)==null||Ot.cb():xe({type:"classroomList/getClassroomExercisesList",payload:Ge({},ut.actionTabs.params)}),$t=!0,ut.actionTabs.type===1&&Ut()),Zt(!1),$t}),Qt=()=>{vn(1),Yt([]),zt([])},rn=(_t,rt,Bt)=>{_t<=0?pe.ZP.info("\u8BF7\u9009\u62E9\u8865\u8003\u5B66\u751F"):(er(rt),Rn(Bt),wn(!1))};return ye.createElement(y.Fragment,null,ye.createElement(ze.default,{centered:!0,title:"\u53D1\u5E03\u8003\u8BD5",open:Fn,okText:"\u786E\u8BA4",cancelText:"\u53D6\u6D88",width:660,onOk:Et,confirmLoading:ct||Jt,onCancel:()=>{Qt(),Nn(!1),xe({type:"exercise/setActionTabs",payload:{}})}},ye.createElement(Ce.Z,{spinning:Jt},nn&&ye.createElement(Ae.default,{form:en},!!((Rt=ut==null?void 0:ut.actionTabs)!=null&&Rt.disabled)&&ye.createElement("div",{style:{color:"#333333",display:"flex"},className:"font14 mb10"},ye.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)&&ye.createElement(ye.Fragment,null,ye.createElement(Fe.Z,null,ye.createElement("span",{className:"mr10",style:{lineHeight:"32px"}},ye.createElement("span",{style:{color:"red",marginRight:3}},"*"),"\u8003\u8BD5\u6A21\u5F0F"),ye.createElement(Ae.default.Item,{name:"exercise_type"},ye.createElement(ge.ZP.Group,{disabled:((Nt=wt==null?void 0:wt.exercise)==null?void 0:Nt.exercise_status)>1,onChange:_t=>{nr(_t.target.value),gt(_t.target.value)}},ye.createElement(ge.ZP,{value:1},"\u6B63\u5F0F\u8003\u8BD5"),ye.createElement(ge.ZP,{value:2},"\u6A21\u62DF\u8003\u8BD5")))),jn==2&&ye.createElement(Fe.Z,{className:`${Be.contentInterval}`},ye.createElement("span",{className:`${Be.minorRuleText}`,style:{marginLeft:50}},"\u6BCF\u4E2A\u5B66\u751F\u5141\u8BB8\u8FDB\u884C\u8003\u8BD5"),ye.createElement(Ae.default.Item,{name:"simulate_exercise_num"},ye.createElement(je.Z,{className:Be.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})),ye.createElement("span",null,"\u6B21",ye.createElement("span",{style:{color:"#999999"}},"\uFF08\u53EF\u8BBE\u7F6E1~999\u6B21\uFF09")))),ye.createElement(Fe.Z,null,ye.createElement("span",{className:"mr10 mt5"},ye.createElement("span",{style:{color:"red",marginRight:3}},"*"),"\u8003\u8BD5\u65F6\u95F4"),ye.createElement(Ae.default.Item,{name:"publish_time"},ye.createElement(De.default,{style:{width:170},disabledDate:_t=>_t&&_t<=we()().subtract(0,"days"),disabledTime:Se,placeholder:"\u8BF7\u9009\u62E9\u53D1\u5E03\u65F6\u95F4",showTime:{format:"HH:mm",defaultValue:we()((0,he.U6)(),"HH:mm")},format:"YYYY-MM-DD HH:mm",allowClear:!1})),ye.createElement("span",{className:"mt5 ml5 mr5"},"\u5230"),ye.createElement(Ae.default.Item,{name:"end_time"},ye.createElement(De.default,{style:{width:170},placeholder:"\u8BF7\u9009\u62E9\u7ED3\u675F\u65F6\u95F4",showTime:{format:"HH:mm",defaultValue:we()((0,he.U6)(),"HH:mm")},disabledDate:_t=>_t&&_t<we()().subtract(0,"days"),disabledTime:Se,format:"YYYY-MM-DD HH:mm",allowClear:!1}))),((Xt=wt==null?void 0:wt.exercise)==null?void 0:Xt.is_make_up_exercise)&&ye.createElement(ye.Fragment,null,ye.createElement(Fe.Z,null,ye.createElement("span",{style:{marginRight:"20px",fontSize:"14px",color:"3333",fontWeight:600}},"\u5F85\u8865\u8003\u5B66\u751F"),ye.createElement(se.Z,{checked:Qn,onChange:(_t,rt)=>{var Bt,Ot,$t,On,Wn;if(Vt(_t),_t)if((Bt=wt==null?void 0:wt.exercise)!=null&&Bt.is_appoint_user){const Yn=($t=(Ot=wt==null?void 0:wt.exercise)==null?void 0:Ot.all_exercise_users)==null?void 0:$t.map(Mr=>Mr.user_id);er([...Yn])}else er([]),sn(!1),tn(!1);else sn((On=wt==null?void 0:wt.exercise)==null?void 0:On.is_miss_exam_user),tn((Wn=wt==null?void 0:wt.exercise)==null?void 0:Wn.is_no_passing_user)},disabled:((Wt=wt==null?void 0:wt.exercise)==null?void 0:Wt.exercise_status)!==1}),ye.createElement("span",{style:{marginLeft:"10px",fontSize:"14px",color:"3333"}},"\u6307\u5B9A\u5B66\u751F")),!Qn&&ye.createElement(Fe.Z,{className:"mt20",style:{paddingLeft:"90px"},align:"middle"},ye.createElement(Ue.default,{checked:Lt,disabled:((de=wt==null?void 0:wt.exercise)==null?void 0:de.exercise_status)!==1||((ne=wt==null?void 0:wt.exercise)==null?void 0:ne.miss_exam_count)<=0,onChange:_t=>{sn(_t.target.checked)}},ye.createElement("span",{style:{fontSize:"14px",color:"#333"}},"\u7F3A\u8003")),ye.createElement("span",{style:{color:"#0152d9",cursor:"pointer",marginRight:"60px"},onClick:()=>{xn(1),Vt(!1),wn(!0)}},"\uFF08",`${(te=wt==null?void 0:wt.exercise)==null?void 0:te.miss_exam_count}\u4EBA`,"\uFF09"),ye.createElement(Ue.default,{checked:an,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:_t=>{tn(_t.target.checked)}},ye.createElement("span",{style:{fontSize:"14px",color:"#333"}},"\u672A\u53CA\u683C")),ye.createElement("span",{style:{color:"#0152d9",cursor:"pointer"},onClick:()=>{xn(2),Vt(!1),wn(!0)}},"\uFF08",`${(re=wt==null?void 0:wt.exercise)==null?void 0:re.no_passing_count}\u4EBA`,"\uFF09")),Qn&&ye.createElement(Fe.Z,{className:"mt20",style:{paddingLeft:"90px"}},ye.createElement(me.ZP,{type:"primary",ghost:!0,disabled:((fe=wt==null?void 0:wt.exercise)==null?void 0:fe.exercise_status)!==1,onClick:()=>{wn(!0),xn(void 0)}},ye.createElement("span",null,ye.createElement("i",{className:"iconfont icon-tianjia4 mr5",style:{fontSize:"14px"}})),ye.createElement("span",null,"\u9009\u62E9\u5B66\u751F")),ye.createElement("span",{style:{color:"#333",display:"inline-block",height:"32px",lineHeight:"32px",marginLeft:"10px"}},"\uFF08\u5DF2\u9009 ",`${Un.length||0} \u4EBA`,"\uFF09"))),ut.actionTabs.type===2&&!((Ye=wt==null?void 0:wt.exercise)!=null&&Ye.is_make_up_exercise)&&ye.createElement(Fe.Z,{style:{marginBottom:"10px"}},ye.createElement("span",{className:"mr10"},ye.createElement("span",{style:{color:"red",marginRight:3}},"*"),"\u9009\u62E9\u73ED\u7EA7"),ye.createElement(ge.ZP.Group,{value:un,onChange:_t=>{Cn(_t.target.value),zt([])}},ye.createElement(ge.ZP,{disabled:!!((vt=ut==null?void 0:ut.actionTabs)!=null&&vt.disabled)||nn.some(_t=>_t==null?void 0:_t.is_published)||!((et=ut==null?void 0:ut.actionTabs)!=null&&et.manage_all_group),value:!0},"\u7EDF\u4E00\u53D1\u5E03"),ye.createElement(ge.ZP,{disabled:nn.length<=0,value:!1},"\u5206\u73ED\u53D1\u5E03"))),nn.length<=0&&ut.actionTabs.type===2&&!((nt=wt==null?void 0:wt.exercise)!=null&&nt.is_make_up_exercise)&&ye.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"'),(ut.actionTabs.type===1||!un)&&!((mt=wt==null?void 0:wt.exercise)!=null&&mt.is_make_up_exercise)&&nn.length>0&&ye.createElement("div",{style:{display:"flex",justifyContent:"space-between",marginBottom:"10px"}},ye.createElement("span",{style:{flex:1}},ye.createElement(Ue.default,{checked:bt.length===nn.length,onChange:_t=>{bt.length===nn.length?zt([]):zt(nn)}},"\u5168\u9009")),ye.createElement("span",{style:{width:16}}),ye.createElement("span",{style:{flex:1}},"\u5DF2\u9009\u62E9",bt.length||0,"\u4E2A\u5206\u73ED")),(ut.actionTabs.type===1||!un)&&!((yt=wt==null?void 0:wt.exercise)!=null&&yt.is_make_up_exercise)&&nn.length>0&&ye.createElement($e.Z,{data:nn,selectedRowKeys:bt,setSelectedRowKeys:zt})),ye.createElement(oe.Z,{visible:dn,setVisible:wn,onK:rn,selectKeys:Un,selectRows:lr,appointStudent:Qn,modalParams:Bn,courseId:st.categoryId||((Qe=(St=ut==null?void 0:ut.actionTabs)==null?void 0:St.selectArrs)==null?void 0:Qe[0])})),ye.createElement(tt.Z,{resdata:Gn,type:"exercisepush",okloading:ct,oktext:(Gn==null?void 0:Gn.can_copy_num)===0?"\u786E\u5B9A":"\u4E00\u952E\u590D\u5236\u5E76\u66FF\u6362",onok:_t=>Tt(void 0,null,function*(){var rt,Bt,Ot;Zt(!0);let $t=yield(0,be.ZP)(`/api/courses/${st.coursesId}/batch_copy_shixuns.json`,{method:"post",body:{type:"exercise",ids:[...((rt=ut.actionTabs.selectArrs)==null?void 0:rt.map(On=>Number(On)))||[]]}});if(Zt(!1),($t==null?void 0:$t.status)===0)if(jr){let On=yield ot(mr);if(ze.default.destroyAll(),On&&ut.actionTabs.isRouter){ce.history.push(`/classrooms/${st.coursesId}/exercise/${(Bt=wt==null?void 0:wt.exercise)==null?void 0:Bt.id}/detail?random=${(Ot=wt==null?void 0:wt.exercise)==null?void 0:Ot.is_random}&tabs=3&childrenTabs=2`);return}xe({type:"exercise/setActionTabs",payload:{key:"\u8C03\u6574tabs\u9009\u4E2D"}})}else ot(mr)})})),ye.createElement(_e.Z,{text:"\u662F\u5426\u7EE7\u7EED\u5728\u6559\u5B66\u8BFE\u5802\u4E2D\u53D1\u5E03\uFF1F",okText:"\u786E\u8BA4\u53D1\u5E03",visible:cr,dataSource:kt,onSuccess:()=>{sr(!1),Nn(!0)},onClose:()=>{sr(!1),Qt(),xe({type:"exercise/setActionTabs",payload:{}})}}))};var It=(0,ce.connect)(({exercise:ut})=>({exercise:ut}))(Ft)},75976:function(mn,Ct,E){"use strict";E.d(Ct,{Z:function(){return se}});var y=E(59301),Ae=E(37568),pe=E(62673),ze=E(77019),Ce={leftdiv:"leftdiv___iuhY9",listClass:"listClass___o5N53",spantitle:"spantitle___KVMSL",rightdiv:"rightdiv___f2zZr"},Fe="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAbVJREFUOE+Nk79rFUEUhb+zE4OFwUD+CyGKKQQbSaMikQQ7C1tBBIsUQaJvl2Fn/cWDpAiIYJsi7YOIaCUWFoKKRhG0sbEzEImFGnev7G6yyXsxeU5159yZb87l3hG9q2WLiBO79FIwXpLp0s6cwITnQCMWrGDM43jdBckZQ0wTMdrong2R2Bxm0/98sZ8ozdcOEm5hjOC41u9Olc9ZQKySclOVkNhljCmCzjeAJM/4FbW5p+8k5tlggTtarfKxLSM6pHq4BTiL0SboaAOIi284jeP1nti+ApMEvdoEvEPMkOpJDZi1IwzwgqDh/wSsYZwk08ca4O0Qua3zW8OV5crmHg6u22EGbQ2nIbx+1IC6rrK+cYJW9gXEVrbxGUEj5bltQGJvgBapHu0LSGwCyEh1vBsQWwd4TNCDPg6uAOcImuoFlL1dJ9WNPg5uYwwRVM3MzhJmKIpjZK6e9bj4jNNpvL4QFx9wuoDXJ1r5IlH0llTtXgcXwa4SolObnYnwKnbFcfEcdJ+gpW6AtzFynuIop/Fn053u4CA5yzjO4FV9tu0Syl2S38WiSWBgD8AfoEPQ7Fb+LwIiyhxWwe2KAAAAAElFTkSuQmCC",ge=E(90736),je=(Ue,me,Ne)=>new Promise((we,be)=>{var he=Ze=>{try{Ie(Ne.next(Ze))}catch($e){be($e)}},ce=Ze=>{try{Ie(Ne.throw(Ze))}catch($e){be($e)}},Ie=Ze=>Ze.done?we(Ze.value):Promise.resolve(Ze.value).then(he,ce);Ie((Ne=Ne.apply(Ue,me)).next())}),se=({data:Ue,value:me=[],handleChangePage:Ne,setSelectedRowKeys:we,selectedRowKeys:be,onChange:he=()=>{}})=>{const[ce,Ie]=(0,y.useState)([]),[Ze,$e]=(0,y.useState)([]),[oe,Be]=(0,y.useState)([]);let[tt,Re]=(0,y.useState)(1),[_e,ye]=(0,y.useState)();return(0,y.useEffect)(()=>{Ie(Ue),$e([]),Be([])},[Ue]),(0,y.useEffect)(()=>{we&&($e(be),Be(be))},[be]),y.createElement("div",{style:{display:"flex",justifyContent:"space-between"}},y.createElement("div",{className:Ce.leftdiv},y.createElement(Ae.default.Search,{size:"middle",onChange:Le=>je(void 0,null,function*(){Ie(Ue.filter(Ve=>{var Pe;return(Pe=Ve==null?void 0:Ve.name)==null?void 0:Pe.includes(Le.target.value)}))}),placeholder:"\u53EF\u8F93\u5165\u73ED\u7EA7\u540D\u79F0\u67E5\u8BE2"}),ce.length===0&&y.createElement(ge.Z,{styles:{margin:"70px auto"},customText:"\u6682\u65E0\u5206\u73ED"}),y.createElement("div",{style:{height:"85%",overflow:"auto",overflowX:"hidden"}},y.createElement(pe.default.Group,{value:Ze.map(Le=>`${Le.course_group_id}`),onChange:Le=>{we(ce.filter(Ve=>Le.includes(`${Ve.course_group_id}`)))},style:{marginTop:"10px",flexDirection:"column"}},ce.map((Le,Ve)=>y.createElement(ze.Z,{key:Le.course_group_id,style:{marginTop:"10px",lineHeight:"24px",display:"flex",width:200}},y.createElement(pe.default,{style:{display:"flex",height:"24px",alignItems:"center"},disabled:Le.is_published,value:`${Le.course_group_id}`},y.createElement("div",{className:Ce.listClass},y.createElement("span",{className:Ce.spantitle,style:{width:Le.is_published?"108px":"170px"}},Le.name),Le.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:Ce.rightdiv},y.createElement(Ae.default.Search,{onChange:Le=>{Be(Ze.filter(Ve=>Ve.name.includes(Le.target.value)))},size:"middle",placeholder:"\u53EF\u8F93\u5165\u73ED\u7EA7\u540D\u79F0\u67E5\u8BE2"}),oe.length===0&&y.createElement(ge.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((Le,Ve)=>y.createElement(ze.Z,{justify:"space-between",style:{marginTop:"10px"},key:Le.course_group_id},y.createElement("div",{style:{overflow:"hidden",whiteSpace:"nowrap",textOverflow:"ellipsis",marginRight:"5px",marginLeft:"5px",width:"75%"}},Le.name),y.createElement("img",{src:Fe,style:{cursor:"pointer",height:"16px",marginRight:17},onClick:()=>{we(Ze.filter(Pe=>`${Pe.course_group_name}`!=`${Le.course_group_name}`))}})))))))}},83601:function(mn,Ct,E){"use strict";var y=E(59301),Ae=E(11938),pe=E(4875),ze=E(28284),Ce=E(62957),Fe=E(29787),ge=E(70858),je=E(37568),De=E(77019),se=E(5269),Ue=E(7939),me=E(84849),Ne=E(66649),we=E.n(Ne),be=E(44283),he=E(76406),ce=E(92427),Ie=E(15267),Ze=E(63392),$e=E(59301),oe=(_e,ye,Le)=>new Promise((Ve,Pe)=>{var it=Xe=>{try{ue(Le.next(Xe))}catch(Ge){Pe(Ge)}},Oe=Xe=>{try{ue(Le.throw(Xe))}catch(Ge){Pe(Ge)}},ue=Xe=>Xe.done?Ve(Xe.value):Promise.resolve(Xe.value).then(it,Oe);ue((Le=Le.apply(_e,ye)).next())});const{Countdown:Be}=Ae.default,tt=({value:_e,onChange:ye,MaxMinutes:Le})=>$e.createElement($e.Fragment,null,$e.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",$e.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",$e.createElement("br",null)),$e.createElement(pe.Z,{value:_e,onChange:ye,min:0,precision:0,max:Le,style:{width:"100%"},placeholder:`\u6700\u5927\u53EF\u5EF6\u957F\u65F6\u95F4\u4E3A${Le}\u5206\u949F\uFF0C\u5728\u5B66\u751F\u5269\u4F59\u65F6\u95F4\u57FA\u7840\u4E0A\u5EF6\u65F6`,addonAfter:"\u5206\u949F"})),Re=({exercise:_e,successCb:ye,dispatch:Le})=>{var Ve,Pe,it,Oe;const ue=(0,be.useParams)(),[Xe]=ze.default.useForm(),Ge=ze.default.useWatch("time",Xe),[lt,Tt]=(0,y.useState)(!1),Ke=(0,y.useRef)(),{actionTabs:Se}=_e,[Ft,It]=(0,y.useState)(),[,ut,xe,ke]=(0,Ze.U)(me.n7,{id:ue.categoryId}),[,at,Rt]=(0,Ze.U)(me.Cd,{});(0,y.useEffect)(()=>{_e.actionTabs.key==="student-unlock"&&(Tt(!1),Xe.resetFields())},[_e.actionTabs.key]);const ft=()=>new Promise(ve=>oe(void 0,null,function*(){var re,fe;return Ke.current=yield(0,ce.y)({ip_limit:(re=Se==null?void 0:Se.exerciseParams)==null?void 0:re.ip_limit,ip_bind:(fe=Se==null?void 0:Se.exerciseParams)==null?void 0:fe.ip_bind_type}),ve()})),Nt=()=>oe(void 0,null,function*(){var ve,re,fe,Ye,vt;yield Xe.validateFields();const et=Xe.getFieldsValue();if(Tt(!0),(((ve=Se==null?void 0:Se.exerciseParams)==null?void 0:ve.ip_limit)!=="no"||(re=Se==null?void 0:Se.exerciseParams)!=null&&re.ip_bind_type)&&(yield ft()),(yield(0,me.ZD)((fe=Se==null?void 0:Se.exerciseParams)==null?void 0:fe.id,{exercise_user_id:(Ye=Se==null?void 0:Se.exerciseParams)==null?void 0:Ye.exercise_user_id,unlock_key:et.unlock_key,time:et.time,ip:Ke.current})).status===0){if(ye){Le({type:"exercise/setActionTabs",payload:{}}),ye();return}const mt=Se==null?void 0:Se.exerciseParams;(0,he.nr)({inner_ip:mt.inner_ip,public_ip:mt.public_ip,open_camera:mt.open_camera,ip_limit:mt.ip_limit,ip_bind:mt.ip_bind,ip_bind_type:mt.ip_bind_type,exercise_tips:mt.exercise_tips,exerciseId:mt.id,screen_open:mt.screen_open,screen_num:mt.screen_num,screen_sec:mt.screen_sec,coursesId:ue.coursesId,login:(vt=(0,Ie.eY)())==null?void 0:vt.login,history,identity_verify:mt.identity_verify,open_phone_video_recording:mt.open_phone_video_recording,current_status:mt.current_status}),Le({type:"exercise/setActionTabs",payload:{}})}Tt(!1)}),xt=[{title:"IP\u5730\u5740",dataIndex:"ip",key:"ip",render:ve=>$e.createElement("span",{className:ve.indexOf("\u5F02\u5E38")>-1?"c-red":"c-green"},ve)},{title:"\u6D4F\u89C8\u5668",dataIndex:"browser",key:"browser",render:ve=>$e.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"}],Xt=((Ve=Se==null?void 0:Se.exerciseParams)==null?void 0:Ve.errorMessage)&&typeof((Pe=Se==null?void 0:Se.exerciseParams)==null?void 0:Pe.errorMessage)=="object";(0,y.useEffect)(()=>{_e.actionTabs.key==="student-unlock"&&oe(void 0,null,function*(){const ve=yield Rt(ue);yield xe({}),ve.status||It(ve)})},[_e.actionTabs.key]);const{time:Wt,end_time:de}=(Ft==null?void 0:Ft.exercise)||{},ne=ke!=null&&ke.user_end_time?we()(ke==null?void 0:ke.user_end_time).add(1,"minutes"):we()(),te=we()(ke==null?void 0:ke.user_total_end_time)>ne?Math.round(we().duration(we()(ke==null?void 0:ke.user_total_end_time).diff(ne.startOf("minute"))).asMinutes()):0,le=((ke==null?void 0:ke.student_left_minutes)||0)+(Ge||0);return $e.createElement($e.Fragment,null,$e.createElement(Ce.default,{width:514,centered:!0,closable:!!((it=Se==null?void 0:Se.exerciseParams)!=null&&it.unlockClose),maskClosable:!1,keyboard:!1,maskStyle:{background:"#000"},title:"\u63D0\u793A",open:_e.actionTabs.key==="student-unlock",footer:null,onCancel:()=>{Le({type:"exercise/setActionTabs",payload:{}})}},$e.createElement(Fe.Z,{spinning:ut||at},Xt&&$e.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 "),!Xt&&$e.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"),Xt&&$e.createElement(ge.default,{className:"mb20",pagination:{hideOnSinglePage:!0},dataSource:[((Oe=Se==null?void 0:Se.exerciseParams)==null?void 0:Oe.errorMessage)||{}],columns:xt}),$e.createElement("div",{className:""},$e.createElement(ze.default,{form:Xe,layout:"vertical",autoComplete:"off"},$e.createElement(ze.default.Item,{label:"\u8003\u8BD5\u89E3\u9501\u7801",name:"unlock_key",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u8003\u8BD5\u89E3\u9501\u7801"}]},$e.createElement(je.default.Password,{autoComplete:"off",placeholder:"\u8BF7\u8F93\u5165\u8003\u8BD5\u89E3\u9501\u7801",visibilityToggle:!1})),Wt!==-1?$e.createElement($e.Fragment,null,$e.createElement(ze.default.Item,{name:"time",label:$e.createElement("span",null,"\u5EF6\u957F\u65F6\u95F4\uFF08",$e.createElement("span",{style:{color:"#9096A3"}},"\u5F53\u524D\u8003\u8BD5\u622A\u6B62\u65F6\u95F4",we()(ke==null?void 0:ke.user_total_end_time).format("YYYY-MM-DD HH:mm")),"\uFF09")},$e.createElement(tt,{MaxMinutes:te})),$e.createElement("div",{className:"mb20",style:{color:"#FA6400"}},"\u8BE5\u5B66\u751F\u5269\u4F59\u8003\u8BD5\u65F6\u95F4\uFF1A",$e.createElement("span",{className:"ml5"},ut||at?"--":le),"\u5206\u949F",le!==0&&(ke==null?void 0:ke.user_end_time)&&$e.createElement("span",null,"\uFF0C\u4EA4\u5377\u622A\u6B62\u65F6\u95F4\uFF1A",$e.createElement("span",{className:"ml5"},we()(ke==null?void 0:ke.user_end_time).add(Ge||0,"m").format("YYYY-MM-DD HH:mm:ss"))))):$e.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 ",we()(de).format("YYYY-MM-DD HH:mm")))),$e.createElement(De.Z,{justify:"space-between",align:"middle"},$e.createElement(se.Z,null),$e.createElement(se.Z,null,$e.createElement(Ue.ZP,{loading:lt,onClick:Nt},"\u8FDB\u5165\u8003\u8BD5"))))))};Ct.Z=(0,be.connect)(({exercise:_e})=>({exercise:_e}))(Re)},6453:function(mn,Ct,E){"use strict";E.d(Ct,{w:function(){return Fe}});var y=E(49317),Ae=E(62957),pe=E(44283),ze=E(59301),Ce=(ge,je,De)=>new Promise((se,Ue)=>{var me=be=>{try{we(De.next(be))}catch(he){Ue(he)}},Ne=be=>{try{we(De.throw(be))}catch(he){Ue(he)}},we=be=>be.done?se(be.value):Promise.resolve(be.value).then(me,Ne);we((De=De.apply(ge,je)).next())});const Fe=(ge,je,De="\u6B63\u5728\u8FDB\u5165\u8BC4\u9605\uFF0C\u8BF7\u7A0D\u540E...",se=1,Ue=2)=>Ce(void 0,null,function*(){se===1&&(0,pe.getDvaApp)()._store.dispatch({type:"globalSetting/setGlobalLoading",payload:{show:!0,text:se===1?De:"\u6B63\u5728\u68C0\u6D4B\u4E2D\uFF0C\u8BF7\u7A0D\u540E..."}});const me=yield(0,y.ZP)(`/api/exercises/${je}/user_appraise_status.json`,{method:"get",params:{appraise_type:se}});if((me==null?void 0:me.status)===-1)return(0,pe.getDvaApp)()._store.dispatch({type:"globalSetting/setGlobalLoading",payload:{show:!1}}),Promise.reject();let Ne={status:0};if((me==null?void 0:me.type)===2&&(Ne=yield(0,y.ZP)(`/api/exercises/${je}/create_appraise_students.json`,{method:"get"})),(0,pe.getDvaApp)()._store.dispatch({type:"globalSetting/setGlobalLoading",payload:{show:!1,text:""}}),(Ne==null?void 0:Ne.status)===-1)return Promise.reject();if((me==null?void 0:me.type)===2){const we=()=>{pe.history.replace(`/classrooms/${ge}/exercise/${je}/centralizeReview/${Ne==null?void 0:Ne.login}`)};if(Ae.default.confirm({centered:!0,width:470,okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",title:"\u63D0\u793A",keyboard:!1,onOk:we,onCancel:()=>{Ue===1&&pe.history.replace(`/classrooms/${ge}/exercise/${je}/detail`)},content:ze.createElement("div",null,ze.createElement("div",null,"\u60A8\u5DF2\u6210\u4E3A\u6307\u5B9A\u9605\u5377\u6559\u5E08\uFF0C\u662F\u5426\u73B0\u5728\u524D\u5F80",ze.createElement("span",{onClick:we,className:"ml5 mr5 c-light-primary current"},"\u96C6\u4E2D\u9605\u5377"),"\u7EE7\u7EED\u8BC4\u9605\uFF1F"),ze.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"))}),Ue!==3)return Promise.reject()}if((me==null?void 0:me.type)===3&&(Ae.default.info({centered:!0,width:470,okText:"\u786E\u5B9A",keyboard:!1,title:"\u63D0\u793A",onOk:()=>{Ue===1&&pe.history.replace(`/classrooms/${ge}/exercise/${je}/detail`)},content:ze.createElement("div",null,(me==null?void 0:me.message)||"")}),Ue!==3)||(me==null?void 0:me.type)===4&&(Ae.default.info({centered:!0,width:470,okText:"\u786E\u5B9A",title:"\u63D0\u793A",keyboard:!1,onOk:()=>{Ue===1&&pe.history.replace(`/classrooms/${ge}/exercise/${je}/detail`)},content:ze.createElement("div",null,(me==null?void 0:me.message)||"")}),Ue!==3))return Promise.reject()})},9388:function(mn,Ct,E){"use strict";E.r(Ct),E.d(Ct,{default:function(){return No}});var y=E(59301),Ae=E(44283),pe=E(62957),ze=E(93041),Ce=E(6767),Fe=E(458),ge=E(31709),je=E(48608),De=E(7939),se=E(62673),Ue=E(66649),me=E.n(Ue),Ne=E(15267),we=E(76406),be=E(90736),he=E(49317),ce=E(31691),Ie=E(28284),Ze=E(25399),$e=E(4875),oe=E(82326),Be=E(37568),tt=E(26724),Re=E.n(tt),_e=E(59722),ye=E(53822),Le=E(24532),Ve=E(75284),Pe=E(88627),it=E(44240),Oe=E(27878),ue=E(66443),Xe=E(59301),Ge=Object.defineProperty,lt=Object.defineProperties,Tt=Object.getOwnPropertyDescriptors,Ke=Object.getOwnPropertySymbols,Se=Object.prototype.hasOwnProperty,Ft=Object.prototype.propertyIsEnumerable,It=(Je,hn,Mt)=>hn in Je?Ge(Je,hn,{enumerable:!0,configurable:!0,writable:!0,value:Mt}):Je[hn]=Mt,ut=(Je,hn)=>{for(var Mt in hn||(hn={}))Se.call(hn,Mt)&&It(Je,Mt,hn[Mt]);if(Ke)for(var Mt of Ke(hn))Ft.call(hn,Mt)&&It(Je,Mt,hn[Mt]);return Je},xe=(Je,hn)=>lt(Je,Tt(hn)),ke=(Je,hn,Mt)=>new Promise((bn,Jn)=>{var Zn=zn=>{try{yr(Mt.next(zn))}catch(Kn){Jn(Kn)}},kn=zn=>{try{yr(Mt.throw(zn))}catch(Kn){Jn(Kn)}},yr=zn=>zn.done?bn(zn.value):Promise.resolve(zn.value).then(Zn,kn);yr((Mt=Mt.apply(Je,hn)).next())});const{TabPane:at}=ce.default,Rt=({classroomList:Je,exercise:hn,loading:Mt,dispatch:bn})=>{var Jn;const Zn=(0,Ae.useParams)(),kn=(0,Ae.useLocation)(),[yr]=Ie.default.useForm(),{brankList:zn}=hn;let[Kn,tr]=(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)(),[Vi,sa]=(0,y.useState)([]);const fa=(0,y.useRef)(null),[wa,ha]=(0,y.useState)(!1),[Ao,Do]=(0,y.useState)(""),[Co,$i]=(0,y.useState)(""),[Uo,Ho]=(0,y.useState)(!1),[Ii,bi]=(0,y.useState)({}),hi=[{title:"\u8BD5\u5377\u540D\u79F0",dataIndex:"name",ellipsis:!0,align:"left",render:(ko,_i,gr)=>Xe.createElement("div",{style:{display:"flex",alignItems:"center"}},Xe.createElement(Ze.Z,{title:ko},Xe.createElement("div",{title:ko,className:ye.Z.name},ko)),(_i==null?void 0:_i.high_resources_consume)&&Xe.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=>Xe.createElement(Ze.Z,{title:ko},Xe.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,_i)=>Xe.createElement("a",{href:ko?`/randompaper/detail/${_i.id}`:`/paperlibrary/see/${_i.id}?defaultActiveKey=1`,target:"_blank>"},"\u9884\u89C8")}],[Xo,Ia]=(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=()=>ke(void 0,null,function*(){const ko=yield bn({type:"paperlibrary/getTeachGroupData"});Li(ko)}),Aa=ko=>{const _i=parseInt(ko);return isNaN(_i)?"":_i},ra=()=>ke(void 0,null,function*(){var ko,_i;if(Kn){++Xo.page,tr(!1);const gr=yield bn({type:"exercise/getBrankList",payload:xe(ut({},Xo),{search:(ko=Xo.search)==null?void 0:ko.trim()})});oi=gr!=null&&gr.object_list?[...oi.concat(gr==null?void 0:gr.object_list)]:oi,Xo.filter==="public"?Ti(gr.is_teacher):Ti(!0),((_i=gr.object_list)==null?void 0:_i.length)<Xo.limit?tr(!1):tr(!0),vi([...oi])}}),El=ko=>{fa.current.scrollTop=0,oi=[],Xo.page=0,Xo.group_id=ko,Kn=!0,sa([]),Ia(ut({},Xo)),ra()},qa={selectedRowKeys:Vi,onChange:ko=>{sa(ko)},type:"radio"},qo=()=>{Ia(ut({},{page:0,limit:20,group_id:null,object_type:"examination_bank",search:"",filter:"myself"})),vi([]),tr(!0),ii("myself"),bn({type:"exercise/setActionTabs",payload:{}}),wo(!1)},[Ei,Qo,di,zi]=(0,Ve.P)(),Ji=ko=>ke(void 0,null,function*(){let _i=!1;oi.forEach(Zi=>{Vi.includes(Zi.id)&&(_i=Zi.is_random)});const gr=ko.map(Zi=>({shixun_id:Zi.id,is_use:Zi.is_use,is_copy:Zi.is_copy}));if(!_i){Ho(!0);const Zi=yield bn({type:"exercise/saveBanks",payload:{course_id:Zn.coursesId,category_id:(Zn==null?void 0:Zn.categoryId)||null,object_type:"examination_bank",bank_id:Vi,shixuns_info:gr}});Ho(!1),(Zi==null?void 0:Zi.status)===0&&((0,we.L9)(["\u6559\u5B66\u8BFE\u5802","\u8BD5\u5377","\u8BD5\u5377\u9009\u7528"]),bn({type:"classroomList/getClassroomExercisesList",payload:ut({},hn.actionTabs.params)}),bn({type:"classroomList/getClassroomLeftMenus",payload:{id:Zn.coursesId}}),Do(`/classrooms/${Zn.coursesId}/exercise/${Zi.exercise_id}/detail?random=${Zi.is_random}&tabs=3`),$i(`/classrooms/${Zn.coursesId}/exercise/add/${Zi.exercise_id}?random=${Zi.is_random}&type=2`),ha(!0),Ce.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=pe.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:Xe.createElement("div",{className:ye.Z.modalColumn},Xe.createElement("div",{className:ye.Z.modalRow},Xe.createElement("sup",{className:ye.Z.sup},"*"),Xe.createElement("span",{style:{flexShrink:0}},"\u968F\u673A\u51FA\u5377\u6570\u91CF\uFF1A"),Xe.createElement($e.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"}})),Xe.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:()=>ke(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:Zn.coursesId,object_type:"examination_bank",bank_id:Vi,shixuns_info:gr,num:Qr}});Yo.update({cancelButtonProps:{disabled:!1}}),Zi&&Zi.status===0?((0,we.L9)(["\u6559\u5B66\u8BFE\u5802","\u8BD5\u5377","\u8BD5\u5377\u9009\u7528"]),pe.default.destroyAll(),bn({type:"classroomList/getClassroomExercisesList",payload:ut({},hn.actionTabs.params)}),qo(),Qo(),Ce.ZP.success("\u751F\u6210\u8BD5\u5377\u6210\u529F")):(qo(),Qo())})})});return Xe.createElement(Xe.Fragment,null,Xe.createElement(pe.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:ye.Z.warpModal,onOk:()=>ke(void 0,null,function*(){var ko;if(!Vi.length){Ce.ZP.error("\u8BF7\u9009\u62E9\u8BD5\u5377");return}wo(!0);let _i=!1,gr=!1;if(oi.forEach(Yo=>{Vi.includes(Yo.id)&&Yo.need_authorize&&(_i=Yo.need_authorize),Vi.includes(Yo.id)&&(gr=Yo.is_random)}),_i){(0,Le.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,ue.Tr)({id:`${Vi[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?Ji([]):bi(Qr)}),onCancel:qo},Xe.createElement(ce.default,{activeKey:ci,onTabClick:ko=>ke(void 0,null,function*(){fa.current.scrollTop=0,oi=[],ci!==ko&&sa([]),ii(ko),Xo.page=0,Xo.filter=ko,Xo.group_id=null,Kn=!0,ra()})},Xe.createElement(at,{tab:Xe.createElement("span",null,"\u6211\u7684\u8BD5\u5377\u5E93"),key:"myself"}),Xe.createElement(at,{tab:Xe.createElement("span",null,"\u6559\u7814\u5171\u4EAB"),key:"teacher"}),Xe.createElement(at,{tab:Xe.createElement("span",null,"\u516C\u5171\u8BD5\u5377\u5E93"),key:"public"})),Xe.createElement("div",{className:ye.Z.tabSearch},ci==="teacher"&&Xe.createElement(oe.default,{value:Xo.group_id,onChange:El,size:"middle",style:{width:200,marginRight:30}},Xe.createElement(oe.default.Option,{value:null},"\u5168\u90E8\u6559\u7814\u56E2\u961F"),(Jn=mi==null?void 0:mi.groups)==null?void 0:Jn.map(ko=>Xe.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))),Xe.createElement(Be.default.Search,{placeholder:"\u8BF7\u8F93\u5165\u8BD5\u5377\u540D\u79F0\u8FDB\u884C\u641C\u7D22",value:Xo.search,onChange:ko=>{Xo.search=ko.target.value,Ia(ut({},Xo))},onSearch:ko=>{fa.current.scrollTop=0,oi=[],Xo.page=0,Kn=!0,sa([]),ko&&(0,Pe.tk)({name:ko,copywriting:ko,position:"Exercise"}),ra()}})),Xe.createElement("div",{ref:fa,style:{maxHeight:350,overflowY:"auto",overflowX:"hidden",marginTop:10,paddingBottom:20}},!Bi&&ci==="public"&&Xe.createElement("div",{style:{display:"flex",flexDirection:"column",paddingTop:"30px",alignItems:"center",justifyContent:"center"}},Xe.createElement("span",null,"\u901A\u8FC7\u804C\u4E1A\u8BA4\u8BC1\u7684\u6559\u5E08\u624D\u80FD\u8BBF\u95EE\u516C\u5171\u8BD5\u5377\u5E93\u8D44\u6E90"),Xe.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")),Xe.createElement(Re(),{initialLoad:!1,pageStart:0,loadMore:()=>{ra()},hasMore:Kn,useWindow:!1},hn.actionTabs.key==="\u8BD5\u5377\u9009\u7528"&&Bi&&Xe.createElement(_e.Z,{className:ye.Z.hideHeadCheckbox,pagination:!1,hideSelectAll:!0,dataSource:oi,onRow:ko=>({onClick:()=>{sa([ko==null?void 0:ko.id])}}),resColumns:hi,rowSelection:qa})))),Xe.createElement(pe.default,{title:"\u63D0\u793A",open:wa,confirmLoading:!1,centered:!0,okText:"\u8BBE\u7F6E\u89C4\u5219",cancelText:"\u4FEE\u6539\u8BD5\u5377",footer:Xe.createElement("div",null,Xe.createElement(De.ZP,{onClick:()=>{ha(!1),Ae.history.push(Co)}},"\u4FEE\u6539\u8BD5\u5377"),Xe.createElement(De.ZP,{type:"primary",onClick:()=>{Ae.history.push(Ao),ha(!1)}},"\u8BBE\u7F6E\u89C4\u5219")),onCancel:()=>{ha(!1)}},Xe.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")),Xe.createElement(Oe.Z,{resdata:Ii,type:"exercise",okloading:Uo,oktext:(Ii==null?void 0:Ii.can_copy_num)===0?"\u786E\u5B9A":"\u4E00\u952E\u590D\u5236\u5E76\u66FF\u6362",onok:ko=>{Ji(ko)}}),Xe.createElement(Ve.Z,{inPaper:!0,visible:Ei,onCancel:Qo,onOk:Ji,renderData:di,modalType:"multiple",type:"examination_bank"}))};var ft=(0,Ae.connect)(({exercise:Je,loading:hn,classroomList:Mt})=>({exercise:Je,loading:hn,classroomList:Mt}))(Rt),Nt=E(88068),xt=E(93965),Xt=Object.defineProperty,Wt=Object.getOwnPropertySymbols,de=Object.prototype.hasOwnProperty,ne=Object.prototype.propertyIsEnumerable,te=(Je,hn,Mt)=>hn in Je?Xt(Je,hn,{enumerable:!0,configurable:!0,writable:!0,value:Mt}):Je[hn]=Mt,le=(Je,hn)=>{for(var Mt in hn||(hn={}))de.call(hn,Mt)&&te(Je,Mt,hn[Mt]);if(Wt)for(var Mt of Wt(hn))ne.call(hn,Mt)&&te(Je,Mt,hn[Mt]);return Je},ve=(Je,hn,Mt)=>new Promise((bn,Jn)=>{var Zn=zn=>{try{yr(Mt.next(zn))}catch(Kn){Jn(Kn)}},kn=zn=>{try{yr(Mt.throw(zn))}catch(Kn){Jn(Kn)}},yr=zn=>zn.done?bn(zn.value):Promise.resolve(zn.value).then(Zn,kn);yr((Mt=Mt.apply(Je,hn)).next())});const re=({exercise:Je,dispatch:hn})=>{const Mt=(0,Ae.useParams)();return y.createElement(pe.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,he.ZP)(`/api/courses/${Mt.coursesId}/exercises/set_public.json`,{method:"post",body:{check_ids:[...Je.actionTabs.selectArrs]}})).status===0&&((0,we.L9)(["\u6559\u5B66\u8BFE\u5802","\u8BD5\u5377","\u8BBE\u4E3A\u516C\u5F00"]),Ce.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 fe=(0,Ae.connect)(({exercise:Je})=>({exercise:Je}))(re),Ye=E(35139),vt=Object.defineProperty,et=Object.getOwnPropertySymbols,nt=Object.prototype.hasOwnProperty,mt=Object.prototype.propertyIsEnumerable,yt=(Je,hn,Mt)=>hn in Je?vt(Je,hn,{enumerable:!0,configurable:!0,writable:!0,value:Mt}):Je[hn]=Mt,St=(Je,hn)=>{for(var Mt in hn||(hn={}))nt.call(hn,Mt)&&yt(Je,Mt,hn[Mt]);if(et)for(var Mt of et(hn))mt.call(hn,Mt)&&yt(Je,Mt,hn[Mt]);return Je},Qe=(Je,hn)=>{var Mt={};for(var bn in Je)nt.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&&mt.call(Je,bn)&&(Mt[bn]=Je[bn]);return Mt},st=(Je,hn,Mt)=>new Promise((bn,Jn)=>{var Zn=zn=>{try{yr(Mt.next(zn))}catch(Kn){Jn(Kn)}},kn=zn=>{try{yr(Mt.throw(zn))}catch(Kn){Jn(Kn)}},yr=zn=>zn.done?bn(zn.value):Promise.resolve(zn.value).then(Zn,kn);yr((Mt=Mt.apply(Je,hn)).next())});const en=Je=>{var hn=Je,{exercise:Mt,dispatch:bn,user:Jn}=hn,Zn=Qe(hn,["exercise","dispatch","user"]),kn,yr;const zn=(0,Ae.useParams)(),[Kn,tr]=(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,Ne.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=Jn.userInfo)==null?void 0:Bi.login)?++mi.hasNum:++mi.noHasNum}),mi.noHasNum>0?pe.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(pe.default,{centered:!0,title:"\u63D0\u793A",open:kr,okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",confirmLoading:Kn,destroyOnClose:!0,onOk:()=>st(void 0,null,function*(){var oi;if((oi=ci.current)!=null&&oi.onVerify())return;tr(!0);const vi=yield(0,he.ZP)(`/api/courses/${zn.coursesId}/exercises/destroys.json`,{method:"post",body:{check_ids:[...Mt.actionTabs.selectArrs]}});tr(!1),vi.status===0&&((0,we.L9)(["\u6559\u5B66\u8BFE\u5802","\u8BD5\u5377","\u5220\u9664"]),Ce.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:{}})}},!((kn=Mt==null?void 0:Mt.actionTabs)!=null&&kn.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(Ye.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 Kt=(0,Ae.connect)(({exercise:Je,user:hn})=>({exercise:Je,user:hn}))(en),vn=Object.getOwnPropertySymbols,nn=Object.prototype.hasOwnProperty,Yt=Object.prototype.propertyIsEnumerable,Jt=(Je,hn)=>{var Mt={};for(var bn in Je)nn.call(Je,bn)&&hn.indexOf(bn)<0&&(Mt[bn]=Je[bn]);if(Je!=null&&vn)for(var bn of vn(Je))hn.indexOf(bn)<0&&Yt.call(Je,bn)&&(Mt[bn]=Je[bn]);return Mt},cn=(Je,hn,Mt)=>new Promise((bn,Jn)=>{var Zn=zn=>{try{yr(Mt.next(zn))}catch(Kn){Jn(Kn)}},kn=zn=>{try{yr(Mt.throw(zn))}catch(Kn){Jn(Kn)}},yr=zn=>zn.done?bn(zn.value):Promise.resolve(zn.value).then(Zn,kn);yr((Mt=Mt.apply(Je,hn)).next())});const bt=Je=>{var hn=Je,{exercise:Mt,dispatch:bn}=hn,Jn=Jt(hn,["exercise","dispatch"]);const Zn=(0,Ae.useParams)();return Zn.id=Zn.coursesId,(0,y.useEffect)(()=>{Mt.actionTabs.key==="\u52A0\u5165\u8BD5\u5377\u5E93"&&new Promise(()=>cn(void 0,null,function*(){(yield(0,he.ZP)(`/api/courses/${Zn.id}/exercises/join_examination_banks.json`,{method:"post",body:{check_ids:[...Mt.actionTabs.selectArrs]}})).status===0&&((0,we.L9)(["\u6559\u5B66\u8BFE\u5802","\u8BD5\u5377","\u52A0\u5165\u8BD5\u5377\u5E93"]),Ce.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 zt=(0,Ae.connect)(({exercise:Je})=>({exercise:Je}))(bt),un=E(37639),Cn=E(70858),ct={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"},Zt=Object.defineProperty,wt=Object.getOwnPropertySymbols,dn=Object.prototype.hasOwnProperty,wn=Object.prototype.propertyIsEnumerable,Un=(Je,hn,Mt)=>hn in Je?Zt(Je,hn,{enumerable:!0,configurable:!0,writable:!0,value:Mt}):Je[hn]=Mt,er=(Je,hn)=>{for(var Mt in hn||(hn={}))dn.call(hn,Mt)&&Un(Je,Mt,hn[Mt]);if(wt)for(var Mt of wt(hn))wn.call(hn,Mt)&&Un(Je,Mt,hn[Mt]);return Je};const lr=Je=>React.createElement("svg",er({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 Rn="data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjIiIGhlaWdodD0iMjIiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGcgZmlsbD0ibm9uZSIgZmlsbC1ydWxlPSJldmVub2RkIj48cGF0aCBkPSJNMCAwaDIydjIySDB6Ii8+PGcgZmlsbD0iIzk3OTc5NyIgZmlsbC1ydWxlPSJub256ZXJvIj48cGF0aCBkPSJNMTAuNDIyIDUuODE4aC44djEwLjRoLS44eiIvPjxwYXRoIGQ9Ik0xMC43NDMgMTcuMDE4YS40OS40OSAwIDAgMS0uMzgtLjE5N2MtLjM4LS41NDEtMS4yMS0uOTEtMS45OTMtLjkxSDMuNjk3YS40ODUuNDg1IDAgMCAxLS40NzUtLjQ5M1Y0Ljg4M2MwLS4xNzMuMDcxLS4zMi4xNjYtLjQ0My4yMTQtLjIyMi41MjItLjIyMi43MzYtLjIyMmg0LjEwNGMxLjEzOSAwIDIuMzAxLjY0IDIuODIzIDEuNTc2LjE0My4yMjEuMDcxLjU0MS0uMTY2LjY2NGEuNDM4LjQzOCAwIDAgMS0uNjQtLjE3MkM5Ljg4OSA1LjY3IDkuMDEgNS4xNzggOC4yMjggNS4xNzhINC4xNzF2OS43MjNoNC4yYzEuMDY3IDAgMi4xODIuNTE3IDIuNzUxIDEuMjhhLjQ5My40OTMgMCAwIDEtLjA5NS42OWMtLjA5NC4wOTgtLjE5LjE0Ny0uMjg0LjE0N1oiLz48cGF0aCBkPSJNMTEuMDA2IDE3LjAxOGEuNDY5LjQ2OSAwIDAgMS0uMjk0LS4wOTguNDgzLjQ4MyAwIDAgMS0uMDk4LS42OWMuNTg4LS43NjMgMS43MTQtMS4yOCAyLjg0LTEuMjhoMy45OVY1LjIwM2gtMy44NjhjLS44NTcgMC0xLjg4NS40OTItMi4yNTIgMS4xMDctLjE0Ny4yMjItLjQ0LjMyLS42Ni4xNzMtLjIyLS4xNDgtLjMxOS0uNDQzLS4xNzItLjY2NS42MTItMS4wMzQgMi4wNTYtMS42IDMuMDg0LTEuNmg0LjIzNGMuMDk4IDAgLjI5NCAwIC40NC4xNDguMTcyLjE3Mi4xNzIuMzcuMTcyLjQ2OHYxMC41ODRjMCAuMjcxLS4yMi40OTItLjQ5LjQ5MkgxMy40M2MtLjgwOCAwLTEuNjQuMzctMi4wNTYuOTExYS40My40MyAwIDAgMS0uMzY3LjE5N1oiLz48L2c+PC9nPjwvc3ZnPg==",Qn=Object.defineProperty,Vt=Object.getOwnPropertySymbols,Lt=Object.prototype.hasOwnProperty,sn=Object.prototype.propertyIsEnumerable,an=(Je,hn,Mt)=>hn in Je?Qn(Je,hn,{enumerable:!0,configurable:!0,writable:!0,value:Mt}):Je[hn]=Mt,tn=(Je,hn)=>{for(var Mt in hn||(hn={}))Lt.call(hn,Mt)&&an(Je,Mt,hn[Mt]);if(Vt)for(var Mt of Vt(hn))sn.call(hn,Mt)&&an(Je,Mt,hn[Mt]);return Je};const Bn=Je=>React.createElement("svg",tn({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 xn="data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjIiIGhlaWdodD0iMjIiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGcgZmlsbD0ibm9uZSIgZmlsbC1ydWxlPSJldmVub2RkIj48cGF0aCB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TItLjQ5LjQ5MkgxMy40M2MtLjgwOCAwLTEuNjQuMzctMi4wNTYuOTExYS40My40MyAwIDAgMS0uMzY3LjE5N1oiIGZpbGw9IiMwMTUyZDkiLz48L2c+PC9nPjwvc3ZnPg==",jn=E(41727),nr=E(12971),Gn=Object.defineProperty,Ln=Object.getOwnPropertySymbols,mr=Object.prototype.hasOwnProperty,ir=Object.prototype.propertyIsEnumerable,jr=(Je,hn,Mt)=>hn in Je?Gn(Je,hn,{enumerable:!0,configurable:!0,writable:!0,value:Mt}):Je[hn]=Mt,Nr=(Je,hn)=>{for(var Mt in hn||(hn={}))mr.call(hn,Mt)&&jr(Je,Mt,hn[Mt]);if(Ln)for(var Mt of Ln(hn))ir.call(hn,Mt)&&jr(Je,Mt,hn[Mt]);return Je};const Fn=Je=>React.createElement("svg",Nr({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 Nn="data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjQiIGhlaWdodD0iMjQiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiPjxkZWZzPjxwYXRoIGlkPSJhIiBkPSJNMCAwaDI0djI0SDB6Ii8+PC9kZWZzPjxnIGZpbGw9Im5vbmUiIGZpbGwtcnVsZT0iZXZlbm9kZCI+PG1hc2sgaWQ9ImIiIGZpbGw9IiNmZmYiPjx1c2UgeGxpbms6aHJlZj0iI2EiLz48L21hc2s+PHVzZSBmaWxsPSIjRjRGOEZGIiBvcGFjaXR5PSIuMDEiIHhsaW5rOmhyZWY9IiNhIi8+PGcgbWFzaz0idXJsKCNiKSIgZmlsbC1ydWxlPSJub256ZXJvIj48cGF0aCBkPSJNNy41OTggMi41ODIgMi44IDMuNDI4QTEuNzAxIDEuNzAxIDAgMCAwIDEuNDIgNS4zOTZsMi45MiAxNi41NjJhMS42OTUgMS42OTUgMCAwIDAgMS45NjkgMS4zOGwxLjU2NC0uMjc3YTEuMTUyIDEuMTUyIDAgMCAxLS4yNzYtLjc0OVYyLjU4MloiIGZpbGw9IiNBRUYwRkYiLz48cGF0aCBkPSJNMjEuODYzIDEuNDAzSDguNzU1Yy0uNjM5IDAtMS4xNTYuNTE4LTEuMTU3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QgMCAuMTUtLjA0Mi4yOTctLjEyMS40MjNhLjMzLjMzIDAgMSAwIC41Ni4zNDdjLjE0NC0uMjMuMjItLjQ5Ny4yMi0uNzY5IDAtLjY3NS0uNDY3LTEuMjUtMS4xMTUtMS40NTdWMi41NmMwLS40NTYuMzctLjgyNi44MjctLjgyN2gxMi45MTh2MjEuNDA2WiIgZmlsbD0iIzUxMkM1NiIvPjxwYXRoIGQ9Ik0xMS41NjUgOC40MDJoNi45NTNhLjEwMS4xMDEgMCAwIDAgLjEtLjEwMVY0LjY5OWEuMTAxLjEwMSAwIDAgMC0uMS0uMTAxaC02Ljk1M2EuMTAxLjEwMSAwIDAgMC0uMTAxLjEwMXYzLjYwNWEuMS4xIDAgMCAwIC4xMDEuMDk4Wm0uNTU4LTMuMTQ0aDUuODMzdjIuNDg1aC01LjgzM1Y1LjI1OFptNS4xNjMgMTEuODloLTQuNDg5YS4zMy4zMyAwIDEgMCAwIC42NTloNC40ODlhLjMzLjMzIDAgMSAwIDAtLjY2Wm0wIDIuMzM0aC00LjQ4OWEuMzMuMzMgMCAwIDAgMCAuNjZoNC40ODlhLjMzLjMzIDAgMSAwIDAtLjY2WiIgZmlsbD0iIzUxMkM1NiIvPjwvZz48L2c+PC9zdmc+",cr=E(73704),sr=E(6453),kt=E(83601),qt=E(69429),gt=Object.defineProperty,Ht=Object.getOwnPropertySymbols,Et=Object.prototype.hasOwnProperty,Ut=Object.prototype.propertyIsEnumerable,ot=(Je,hn,Mt)=>hn in Je?gt(Je,hn,{enumerable:!0,configurable:!0,writable:!0,value:Mt}):Je[hn]=Mt,Qt=(Je,hn)=>{for(var Mt in hn||(hn={}))Et.call(hn,Mt)&&ot(Je,Mt,hn[Mt]);if(Ht)for(var Mt of Ht(hn))Ut.call(hn,Mt)&&ot(Je,Mt,hn[Mt]);return Je};const rn=Je=>React.createElement("svg",Qt({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 _t="data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTgiIGhlaWdodD0iMTMiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGcgZmlsbD0ibm9uZSIgZmlsbC1ydWxlPSJldmVub2RkIj48cGF0aCBkPSJtMi4yODggNC45NSA1LjQ1NiAxLjcyNSAzLjA4NS0xLjAxNmMuMTc2LS4wNTguMTc2LjAzOS4wMTMuMTY3LS42ODYuNTQ0LTEuMjg2IDEuMjQtMS42MTMgMi4wNzZhNC42NzkgNC42NzkgMCAwIDAgMi40MTQgMi41NDJsLTEuMzEzIDEuMzExLTIuNzQ4Ljg2My01LjI5NC0xL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,Ot=Object.defineProperties,$t=Object.getOwnPropertyDescriptors,On=Object.getOwnPropertySymbols,Wn=Object.prototype.hasOwnProperty,Yn=Object.prototype.propertyIsEnumerable,Mr=(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={}))Wn.call(hn,Mt)&&Mr(Je,Mt,hn[Mt]);if(On)for(var Mt of On(hn))Yn.call(hn,Mt)&&Mr(Je,Mt,hn[Mt]);return Je},to=(Je,hn)=>Ot(Je,$t(hn)),fr=(Je,hn,Mt)=>new Promise((bn,Jn)=>{var Zn=zn=>{try{yr(Mt.next(zn))}catch(Kn){Jn(Kn)}},kn=zn=>{try{yr(Mt.throw(zn))}catch(Kn){Jn(Kn)}},yr=zn=>zn.done?bn(zn.value):Promise.resolve(zn.value).then(Zn,kn);yr((Mt=Mt.apply(Je,hn)).next())});const Er=({v:Je,k:hn,match:Mt,selectArrs:bn,setSelectArrs:Jn,dispatch:Zn,params:kn,classroomList:yr,batchStatus:zn,manageAllGroup:Kn,user:tr})=>{var kr,wo,ci,ii,oi,vi,mi,Li,Bi,Ti,Vi,sa,fa,wa,ha,Ao,Do,Co,$i;const[Uo,Ho]=(0,y.useState)([]),[Ii,bi]=(0,y.useState)(!1),hi=(0,y.useRef)(),Xo=(0,y.useRef)(),[Ia,Ha]=(0,y.useState)(!1);var Aa=!1;const ra="YYYY-MM-DD",El=me()("2020-11-15",ra);function qa(){return fr(this,null,function*(){console.log(kn,222);let gr=yield(0,he.ZP)(`/api/courses/${kn==null?void 0:kn.coursesId}/exercises/group_use_list.json`,{method:"get",params:to(Hr({},kn),{id:Je.id})});Ho((gr==null?void 0:gr.groups)||[])})}const qo=()=>pe.default.info({title:"\u9898\u5E93\u6539\u7248\u544A\u77E5",content:rt.createElement(rt.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;Ae.history.push(`/classrooms/${kn.coursesId}/exercisenotice/${gr.id}/users/${(Yo=(0,Ne.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)=>rt.createElement("div",null,gr===1&&rt.createElement("span",null,rt.createElement("i",{className:ct.dot,style:{background:"#C3C3C3"}}),"\u672A\u5F00\u59CB"),gr===2&&rt.createElement("span",null,rt.createElement("i",{className:ct.dot,style:{background:"#4EACFF"}}),"\u8003\u8BD5\u4E2D"),gr===3&&rt.createElement("span",null,rt.createElement("i",{className:ct.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:kn.order_by==="publish_time"?kn.sort_direction==="desc"?"descend":"ascend":null},{title:"\u622A\u6B62\u65F6\u95F4",dataIndex:"end_time",key:"end_time",sorter:!0,width:170,showSorterTooltip:!1,sortOrder:kn.order_by==="end_time"?kn.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?"-":rt.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?rt.createElement("span",{style:{cursor:"no-drop",color:"#999999"}},gr):rt.createElement("a",{onClick:()=>(0,we.xg)(`/classrooms/${kn==null?void 0:kn.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?rt.createElement("img",{style:{cursor:"not-allowed"},src:Rn}):rt.createElement(Ze.Z,{title:"\u8BC4\u9605"},rt.createElement("a",{onClick:()=>(0,we.xg)(`/classrooms/${kn==null?void 0:kn.coursesId}/exercise/${Je==null?void 0:Je.id}/detail?random=false&exercise_group_id=${Qr.course_group_id}`)},rt.createElement("img",{src:xn})))}],di=gr=>{if(Aa)return rt.createElement("span",{style:{backgroundColor:"#f59a23"},className:"tag-style mr10"},"\u96C6\u4E2D\u9605\u5377");if(gr!=null&&gr.includes("\u672A\u5F00\u59CB"))return rt.createElement("span",{style:{backgroundColor:"#B8B8B8"},className:"tag-style mr10"},"\u672A\u5F00\u59CB");if(gr!=null&&gr.includes("\u8003\u8BD5\u4E2D"))return rt.createElement("span",{style:{backgroundColor:"#007AFF"},className:"tag-style mr10"},"\u8003\u8BD5\u4E2D");if(gr!=null&&gr.includes("\u5DF2\u622A\u6B62"))return rt.createElement("span",{style:{backgroundColor:"#FC2D6B"},className:"tag-style mr10"},"\u5DF2\u622A\u6B62");if(gr!=null&&gr.includes("\u5BFC\u5165"))return rt.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},Ji=(gr=Je)=>{var Qr,Yo,Zi;if(gr!=null&&gr.is_encrypt){Zn({type:"classroomList/setActionTabs",payload:{open:"\u89E3\u5C01",id:gr==null?void 0:gr.id,phone:(Qr=tr==null?void 0:tr.userInfo)==null?void 0:Qr.phone,login:(Yo=tr==null?void 0:tr.userInfo)==null?void 0:Yo.login}});return}(Zi=tr==null?void 0:tr.userInfo)!=null&&Zi.phone?Zn({type:"classroomList/setActionTabs",payload:{open:"\u8BD5\u5377\u5C01\u5B58",id:gr==null?void 0:gr.id}}):Zn({type:"classroomList/setActionTabs",payload:{open:"\u624B\u673A\u53F7\u7ED1\u5B9A"}})},ko=gr=>{var Qr,Yo,Zi;if(((Qr=tr==null?void 0:tr.userInfo)==null?void 0:Qr.login)!==(Je==null?void 0:Je.author_login)){Ce.ZP.warning("\u8BD5\u5377\u5DF2\u5C01\u5B58\uFF0C\u8BF7\u8054\u7CFB\u8BD5\u5377\u6240\u6709\u8005\u8FDB\u884C\u89E3\u5C01~");return}Zn({type:"classroomList/setActionTabs",payload:{open:"\u63D0\u793A",id:Je==null?void 0:Je.id,phone:(Yo=tr==null?void 0:tr.userInfo)==null?void 0:Yo.phone,login:(Zi=tr==null?void 0:tr.userInfo)==null?void 0:Zi.login,onFinish:gr}})},_i=gr=>fr(void 0,null,function*(){const Qr=yield(0,he.ZP)(`/api/courses/${kn==null?void 0:kn.coursesId}/sync_shixuns.json`,{method:"post",body:{exercise_ids:[gr]}});(Qr==null?void 0:Qr.status)===0&&(Zn({type:"classroomList/setActionTabs",payload:{}}),Ce.ZP.info("\u5B9E\u8BAD\u540C\u6B65\u4E2D\uFF0C\u8BF7\u7A0D\u540E"),Zn({type:"classroomList/getClassroomExercisesList",payload:Hr({},kn)}))});return rt.createElement("div",{className:ct.listItem,onClick:gr=>{const Qr=()=>{(!(0,Ne.GJ)()||(0,Ne.GJ)()&&Xo.current&&!Xo.current.contains(gr.target))&&(0,we.xg)(`/classrooms/${kn.coursesId}/exercise/${Je.id}/detail?random=${Je.is_random}`)};if(Je!=null&&Je.is_encrypt){ko(Qr);return}Qr()}},(0,Ne.GJ)()&&rt.createElement("span",{ref:Xo},rt.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?Jn(bn.filter(Yo=>Yo!==Je.id)):Jn(bn.concat(Je.id))}})),rt.createElement("div",{className:ct.info},rt.createElement("div",{className:ct.title},rt.createElement("div",{className:ct.titleLeft,style:{marginRight:15}},di(Je==null?void 0:Je.exercise_tips),(Je==null?void 0:Je.is_make_up_exercise)&&rt.createElement("img",{src:jn,width:44,height:24,style:{marginRight:10}}),rt.createElement(Ze.Z,{title:Je.exercise_name},rt.createElement("span",{className:ct.name},Je.exercise_name)),(0,Ne.G5)()&&(Je==null?void 0:Je.shixun_change)&&rt.createElement(un.Z,{open:Ia,onOpenChange:gr=>{Ha(gr)},placement:"bottomLeft",title:null,content:rt.createElement("div",{style:{width:"310px",color:"#000"},onClick:gr=>gr.stopPropagation()},rt.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"),rt.createElement("div",{className:ct.btn_warp},rt.createElement(De.ZP,{size:"small",onClick:()=>Ha(!1)},"\u5FFD\u7565"),rt.createElement(De.ZP,{className:"ml20",size:"small",type:"primary",onClick:()=>{Ha(!1),Zn({type:"classroomList/setActionTabs",payload:{key:"\u5B9E\u8BAD\u540C\u6B65\u786E\u8BA4",onOK:()=>_i(Je==null?void 0:Je.id)}})}},"\u786E\u8BA4\u540C\u6B65"),rt.createElement(De.ZP,{className:"ml20",size:"small",type:"primary",onClick:()=>(0,we.xg)(`/classrooms/${kn.coursesId}/exercise/${Je.id}/detail?random=${Je.is_random}&tabs=2`)},"\u524D\u5F80\u67E5\u770B")))},rt.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)&&rt.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)&&rt.createElement("span",{className:ct.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)&&rt.createElement(Ze.Z,{title:"\u5DF2\u5BF9\u5B66\u751F\u9690\u85CF"},rt.createElement("img",{src:_t,width:20,className:"ml10"})),!Je.is_public&&(0,Ne.GJ)()&&rt.createElement(Ze.Z,{title:"\u79C1\u6709\u5C5E\u6027\uFF0C\u975E\u8BFE\u5802\u6210\u5458\u4E0D\u80FD\u8BBF\u95EE"},rt.createElement("span",{className:"iconfont icon-suo1 ml10 mr10 c-light-black font12"})),(Je==null?void 0:Je.exercise_type)==2&&rt.createElement("span",{style:{flexShrink:0,marginLeft:10,display:"flex",alignItems:"center"},className:ct.moni},rt.createElement("img",{src:nr,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"))&&rt.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)&&rt.createElement("span",{className:ct.ErrorPushTag},rt.createElement("img",{src:Nn,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"))&&rt.createElement("span",{style:{flexShrink:0,backgroundColor:"#B8B8B8"},className:"tag-style ml10"},"\u672A\u63D0\u4EA4"),(Je==null?void 0:Je.is_encrypt)&&rt.createElement(Ze.Z,{title:"\u8BD5\u5377\u5DF2\u52A0\u5BC6"}," ",rt.createElement("img",{src:qt,width:21,className:"ml10",style:{marginTop:"-8px"}})," ")),rt.createElement("div",{className:ct.titleRight,onClick:gr=>{gr.stopPropagation(),gr.preventDefault()}},(Je==null?void 0:Je.appraise_setting)&&rt.createElement("span",{className:ct.flexBox,style:{marginRight:"16px"},onClick:()=>fr(void 0,null,function*(){const gr=()=>fr(void 0,null,function*(){Zn({type:"globalSetting/setGlobalLoading",payload:{show:!0,text:"\u6B63\u5728\u8FDB\u5165\u8BC4\u9605\uFF0C\u8BF7\u7A0D\u540E..."}});const Qr=yield(0,he.ZP)(`/api/exercises/${Je.id}/create_appraise_students.json`,{method:"get"});Zn({type:"globalSetting/setGlobalLoading",payload:{show:!1,text:""}}),(0,we.xg)(`/classrooms/${kn==null?void 0:kn.coursesId}/exercise/${Je.id}/centralizeReview/${Qr==null?void 0:Qr.login}`)});if(Je!=null&&Je.is_encrypt){ko(gr);return}gr()})},rt.createElement("i",{className:"iconfont icon-jizhongyuejuan"}),rt.createElement("div",null,"\u96C6\u4E2D\u9605\u5377")),!(Je!=null&&Je.exercise_tips.includes("\u5BFC\u5165"))&&(0,Ne.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))&&rt.createElement(cr.Z,{tips:Je==null?void 0:Je.open_appraise},rt.createElement("span",{className:ct.flexBox,style:{marginRight:"16px"},onClick:()=>{const gr=()=>{var Qr,Yo,Zi;if(((Qr=tr==null?void 0:tr.userInfo)==null?void 0:Qr.user_status)===2){(0,Le.Rd)();return}if((0,Ne.Rm)()&&!((Zi=(Yo=yr==null?void 0:yr.AssistantObject)==null?void 0:Yo.exercise)!=null&&Zi.can_publish)){Ce.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){Ce.ZP.warning("\u8BD5\u5377\u5185\u6CA1\u6709\u8BD5\u9898\u4E0D\u5141\u8BB8\u53D1\u5E03\u8003\u8BD5");return}let Ba=()=>{Zn({type:"exercise/setActionTabs",payload:{key:"\u6279\u91CF\u53D1\u5E03",selectArrs:[Je.id],selectArrsAll:[Je],unified_setting:Je.unified_setting,params:kn,disabled:Je.exercise_status!==1,type:2,manage_all_group:Kn,isRouter:!0}})};Je!=null&&Je.high_resources_consume&&!(Je!=null&&Je.high_resources_consume_permission)?Zn({type:"classroomList/setActionTabs",payload:{key:"\u6388\u6743\u4F7F\u7528",id:kn.coursesId,type:"exercise",type_id:Je.id,name:Je.exercise_name,fn:()=>{Zn({type:"classroomList/getClassroomExercisesList",payload:Hr({},kn)}),Ba()}}}):Ba()};if(Je!=null&&Je.is_encrypt){ko(gr);return}gr()}},rt.createElement("i",{className:"iconfont icon-yishezhifabushijian1"}),rt.createElement("div",null,"\u53D1\u5E03"))),!(Je!=null&&Je.exercise_tips.includes("\u5BFC\u5165"))&&(0,Ne.GJ)()&&!(0,we._m)()&&Je.assistant_auth&&rt.createElement("span",{className:ct.flexBox,style:{marginRight:"16px"},onClick:gr=>{gr.stopPropagation();const Qr=()=>{var Yo,Zi;if((0,Ne.Rm)()&&!((Zi=(Yo=yr==null?void 0:yr.AssistantObject)==null?void 0:Yo.exercise)!=null&&Zi.can_preview)){Ce.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=me()(Je.created_at,ra);me()(El).diff(me()(Ba),"days")>0&&(Je!=null&&Je.is_random)?qo():Je!=null&&Je.is_random?(0,we.xg)(`/classrooms/${kn.coursesId}/exercise/${Je.id}/random/preview?random=${Je.is_random}`):(0,we.xg)(`/classrooms/${kn.coursesId}/exercise/${Je.id}/detail?random=${Je.is_random}&tabs=2`)};if(Je!=null&&Je.is_encrypt){ko(Qr);return}Qr()}},rt.createElement("i",{className:"iconfont icon-yulan3"}),rt.createElement("div",null,"\u9884\u89C8")),(0,Ne.RV)()&&rt.createElement("span",{className:ct.flexBox,style:{marginRight:"16px"},onClick:()=>{const gr=()=>{(0,we.xg)(`/classrooms/${kn.coursesId}/exercise/${Je.id}/detail?random=${Je.is_random}`)};if(Je!=null&&Je.is_encrypt){ko(gr);return}gr()}},rt.createElement("i",{className:"iconfont icon-yuyuexiangqing1"}),rt.createElement("div",null,"\u8BE6\u60C5")),(0,Ne.GJ)()&&!(0,we._m)()&&rt.createElement(un.Z,{placement:"bottom",content:rt.createElement("div",{className:ct.popover},!(Je!=null&&Je.exercise_tips.includes("\u5BFC\u5165"))&&rt.createElement("p",{onClick:gr=>fr(void 0,null,function*(){const Qr=()=>{(0,we.xg)(`/classrooms/${kn.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"))&&rt.createElement("p",{onClick:gr=>fr(void 0,null,function*(){const Qr=()=>{Zn({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,Ne.GJ)()&&Je.is_random&&Je.assistant_auth&&rt.createElement("p",{onClick:gr=>{gr.stopPropagation();const Qr=()=>{const Yo=me()(Je.created_at,ra);me()(El).diff(me()(Yo),"days")>0&&(Je!=null&&Je.is_random)?qo():(0,we.xg)(`/classrooms/${kn.coursesId}/exercise/${Je.id}/random/edit?type=settings`)};if(Je!=null&&Je.is_encrypt){ko(Qr);return}Qr()}},"\u7F16\u8F91\u8003\u8BD5"),rt.createElement("p",{onClick:gr=>fr(void 0,null,function*(){const Qr=()=>{var Yo;Zn({type:"exercise/setActionTabs",payload:{key:"\u6279\u91CF\u5220\u9664",selectArrs:[Je.id],selectArrsAll:[Je],params:kn,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"))&&rt.createElement("p",{onClick:()=>{const gr=()=>{Zn({type:"exercise/setActionTabs",payload:{key:"\u5355\u4E2A\u52A0\u5165\u8BD5\u5377\u5E93",selectArrs:[Je.id],params:kn}})};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=tr==null?void 0:tr.userInfo)==null?void 0:mi.login)&&rt.createElement("p",{onClick:gr=>fr(void 0,null,function*(){Ji(Je)})}," ",Je!=null&&Je.is_encrypt?"\u89E3\u5C01":"\u52A0\u5BC6\u5C01\u5B58"),!(Je!=null&&Je.exercise_tips.includes("\u5BFC\u5165"))&&((0,Ne.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)&&rt.createElement("p",{onClick:gr=>fr(void 0,null,function*(){const Qr=()=>{var Yo,Zi;if((0,Ne.Rm)()&&!((Zi=(Yo=yr==null?void 0:yr.AssistantObject)==null?void 0:Yo.exercise)!=null&&Zi.can_stop)){Ce.ZP.warning("\u60A8\u672A\u83B7\u53D6\u6B64\u6743\u9650\uFF0C\u9700\u5411\u8BFE\u5802\u7BA1\u7406\u5458\u7533\u8BF7\u6743\u9650\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD");return}Zn({type:"exercise/setActionTabs",payload:{key:"\u6279\u91CF\u7ED3\u675F",selectArrs:[Je.id],params:kn,unified_setting:Je.unified_setting}})};if(Je!=null&&Je.is_encrypt){ko(Qr);return}Qr()})},"\u7ED3\u675F\u8003\u8BD5"))},rt.createElement("span",{onClick:gr=>gr.stopPropagation(),className:ct.flexBox,style:{cursor:"default"}},rt.createElement("i",{className:"iconfont icon-gengduo4"}),rt.createElement("div",null,"\u66F4\u591A"))),(0,Ne.dE)()&&rt.createElement(rt.Fragment,null,!!Je.off_limits&&rt.createElement(Ze.Z,{title:`\u8FDF\u5230\u8D85\u8FC7${Je==null?void 0:Je.last_times}\u5206\u949F\uFF0C\u7981\u6B62\u8FDB\u5165\u7B54\u9898`},rt.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"))&&rt.createElement("a",{className:ct.flexBox,style:{marginRight:"16px"},onClick:gr=>{gr.stopPropagation(),gr.preventDefault(),Ei(Je,!0)},href:""},rt.createElement("i",{className:"iconfont icon-jixukaoshi"}),rt.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")),!((Vi=Je.exercise_tips)!=null&&Vi.includes("\u5DF2\u622A\u6B62"))&&(Je==null?void 0:Je.screen_used_num)>(Je==null?void 0:Je.screen_total_num)&&rt.createElement("a",{className:ct.flexBox,style:{marginRight:"16px"},onClick:gr=>{gr.stopPropagation(),gr.preventDefault(),Ei(Je,!0)},href:""},rt.createElement("i",{className:"iconfont icon-jixukaoshi"}),rt.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)&&rt.createElement("span",{className:ct.flexBox,style:{marginRight:"16px"},onClick:gr=>fr(void 0,null,function*(){var Qr;if(gr.stopPropagation(),!(Je!=null&&Je.answered_open)){Ce.ZP.info("\u8001\u5E08\u5DF2\u8BBE\u7F6E\u672C\u8BD5\u5377\u5728\u4EA4\u5377\u540E\u4E0D\u53EF\u67E5\u770B");return}yield(0,sr.w)(kn.coursesId,Je.id,"\u6B63\u5728\u8FDB\u5165\u67E5\u770B\uFF0C\u8BF7\u7A0D\u540E..."),(0,we.xg)(`/classrooms/${kn.coursesId}/exercise/${Je.id}/users/${(Qr=(0,Ne.eY)())==null?void 0:Qr.login}?check=true`)})},rt.createElement("i",{className:"iconfont icon-chakankaoshi"}),rt.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"))&&rt.createElement("a",{className:ct.flexBox,style:{marginRight:"16px",color:(Je==null?void 0:Je.is_redo)===1&&"red"},onClick:gr=>{gr.stopPropagation(),gr.preventDefault(),Ei(Je)},href:""},rt.createElement("i",{className:"iconfont icon-a-kaishijixudajuan"}),rt.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"))&&rt.createElement(Ze.Z,{title:rt.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")},rt.createElement("a",{className:ct.flexBox,onClick:gr=>{zi()==0&&(Je==null?void 0:Je.current_status)!=0||(gr.stopPropagation(),gr.preventDefault(),Ei(Je))},href:""},rt.createElement("i",{className:`iconfont ${(Je==null?void 0:Je.current_status)!=0?"icon-a-kaishijixudajuan":"icon-jixukaoshi"}`}),rt.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"))&&rt.createElement("span",{className:ct.flexBox,style:{marginRight:"16px"},onClick:gr=>fr(void 0,null,function*(){var Qr,Yo;if(gr.stopPropagation(),(Je==null?void 0:Je.wrong_questions_size)===0){Ce.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){Ce.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,we.xg)(`/classrooms/${kn.coursesId}/exercise/${Je.id}/wrongAnswer/${(Yo=(0,Ne.eY)())==null?void 0:Yo.login}`)})},rt.createElement("i",{className:"iconfont icon-cuotigonggu"}),rt.createElement("div",null,"\u9519\u9898\u5DE9\u56FA"))))),(0,Ne.GJ)()&&rt.createElement("p",{style:{display:"flex"}},rt.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),rt.createElement("span",{className:"ml30 c-grey-666"},"\u521B\u5EFA\u65F6\u95F4\uFF1A",me()(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&&rt.createElement("span",{className:"ml30 c-grey-666"},"\u5F00\u59CB\u65F6\u95F4\uFF1A",me()(Je.publish_time).format("YYYY-MM-DD HH:mm:ss")),rt.createElement("span",{className:"ml30 c-grey-666"},"\u7B54\u9898\u65F6\u957F\uFF1A",Je.time===null?"\u4E0D\u9650":`${Je.time}\u5206\u949F`),rt.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"))&&rt.createElement("span",{className:ct.iconV,style:{marginLeft:"auto",textAlign:"end"},onClick:gr=>fr(void 0,null,function*(){gr.stopPropagation(),gr.preventDefault(),Ii||qa(),bi(!Ii)})},rt.createElement(Ze.Z,{title:`${Ii?"\u6536\u8D77":"\u5C55\u5F00"}`},rt.createElement("i",{className:`iconfont icon-${Ii?"shouqi":"xiala2"}`})))),(0,Ne.dE)()&&rt.createElement("p",{style:{display:"flex"}},rt.createElement("span",{className:"c-grey-333"},Je.author),rt.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)&&rt.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)&&rt.createElement("span",{className:"ml15 c-grey-999"},"\u8DDD\u79BB\u8003\u8BD5\u5F00\u59CB\u65F6\u95F4\uFF1A",Je==null?void 0:Je.before_start)),(0,Ne.GJ)()&&!((Do=Je==null?void 0:Je.exercise_tips)!=null&&Do.includes("\u672A\u5F00\u59CB"))&&rt.createElement("p",null,rt.createElement("span",{style:{letterSpacing:2},className:"c-grey-333 mr15"},"\u63D0\u4EA4\u72B6\u6001\uFF1A"),rt.createElement("span",{className:"c-grey-333 mr20"},"\u672A\u5F00\u59CB ",rt.createElement("span",null,Je==null?void 0:Je.unanswer_users)),rt.createElement("span",{className:"c-grey-333 mr20"},"\u8003\u8BD5\u4E2D ",rt.createElement("span",{style:{color:"rgb(90, 184, 145)"}},Je==null?void 0:Je.answering_users)),rt.createElement("span",{className:"c-grey-333 mr20"},"\u5DF2\u4EA4\u5377 ",rt.createElement("span",{style:{color:"#FC2D6B"}},Je==null?void 0:Je.answer_users)),rt.createElement("span",{className:"c-grey-333"},"\u5DF2\u4EA4\u5377/\u672A\u7B54 ",rt.createElement("span",{style:{color:"#FC2D6B"}},Je==null?void 0:Je.commit_with_no_answers_users))),(0,Ne.GJ)()&&!((Co=Je==null?void 0:Je.exercise_tips)!=null&&Co.includes("\u672A\u5F00\u59CB"))&&Ii&&Uo.length>5&&rt.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&&(kn.order_by=Yo.field),Yo.order||(kn.sort_direction="asc"),Yo.order==="ascend"&&(kn.sort_direction="asc"),Yo.order==="descend"&&(kn.sort_direction="desc"),Yo.order||(kn.sort_direction="asc"),qa()},columns:Qo}),(0,Ne.GJ)()&&!(($i=Je==null?void 0:Je.exercise_tips)!=null&&$i.includes("\u672A\u5F00\u59CB"))&&Ii&&Uo.length<6&&Uo.length>0&&rt.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&&(kn.order_by=Yo.field),Yo.order||(kn.sort_direction="asc"),Yo.order==="ascend"&&(kn.sort_direction="asc"),Yo.order==="descend"&&(kn.sort_direction="desc"),Yo.order||(kn.sort_direction="asc"),qa()},columns:Qo}),(Je==null?void 0:Je.total)!==void 0&&rt.createElement("p",null,rt.createElement("span",{className:"c-grey-333 mr15"},"\u96C6\u4E2D\u9605\u5377\u603B\u8FDB\u5EA6\uFF1A"),rt.createElement("span",{className:"c-grey-333 mr20"},"\u603B\u8BC4\u6570",rt.createElement("span",null,Je==null?void 0:Je.total)),rt.createElement("span",{className:"c-grey-333 mr20"},"\u5DF2\u8BC4\u9605 ",rt.createElement("span",{style:{color:"#4EACFF"}},Je==null?void 0:Je.finish_total)),rt.createElement("span",{className:"c-grey-333"},"\u5F85\u8BC4\u9605 ",rt.createElement("span",{style:{color:"#FC2D6B"}},Je==null?void 0:Je.unfinished_total)))),rt.createElement(kt.Z,{closable:!0,successCb:()=>Ei(hi.current)}))};var Tr=(0,Ae.connect)(({classroomList:Je})=>({classroomList:Je}))(Er),Yr=E(37934),ro=E(42986),oo=E(56404),ao=E(80283),Or=E(87169),eo=E(87962),Jr=E(39623),Wo=E(7192),Ko=E(66502),rr=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,Jo=(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,Jn)=>{var Zn=zn=>{try{yr(Mt.next(zn))}catch(Kn){Jn(Kn)}},kn=zn=>{try{yr(Mt.throw(zn))}catch(Kn){Jn(Kn)}},yr=zn=>zn.done?bn(zn.value):Promise.resolve(zn.value).then(Zn,kn);yr((Mt=Mt.apply(Je,hn)).next())});const Oi=Je=>{var hn=Je,{user:Mt,classroomList:bn,globalSetting:Jn,loading:Zn,dispatch:kn,match:yr}=hn,zn=ki(hn,["user","classroomList","globalSetting","loading","dispatch","match"]),Kn,tr,kr,wo,ci,ii,oi,vi,mi,Li,Bi,Ti,Vi,sa,fa,wa,ha;const Ao=(0,Ae.useParams)(),[Do]=(0,Ae.useSearchParams)(),[Co,$i]=(0,y.useState)(()=>pi(Jo({},Ao),{limit:20})),Uo=(0,Ae.useLocation)(),{detailExerciseList:Ho,detailTopBanner:Ii,detailLeftMenus:bi}=bn,[hi,Xo]=(0,y.useState)([]),[Ia,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,Ji]=(0,y.useState)(!1),[ko,_i]=(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,Xi,Za;if((po=Mt==null?void 0:Mt.userInfo)!=null&&po.login){if((0,Ne.GJ)()){const wl=we.cX.getItem(`${(Xi=Mt==null?void 0:Mt.userInfo)==null?void 0:Xi.login}Teacher`,"Exercise");wl&&(Co.sort_by=wl==null?void 0:wl.type,Co.sort_direction=wl==null?void 0:wl.direction,_i(wl==null?void 0:wl.name))}kn({type:"classroomList/getClassroomExercisesList",payload:Jo(Jo({},Co),Ao)})}else(Za=Mt==null?void 0:Mt.userInfo)!=null&&Za.username&&kn({type:"classroomList/getClassroomExercisesList",payload:Jo(Jo({},Co),Ao)});Ha(!1)},[(Kn=Mt==null?void 0:Mt.userInfo)==null?void 0:Kn.login,Uo.pathname]),(0,y.useEffect)(()=>{bn.actionTabs.key==="\u76EE\u5F55\u91CD\u547D\u540D\u6210\u529F"&&kn({type:"classroomList/getClassroomExercisesList",payload:Jo(Jo({},Co),Ao)})},[bn.actionTabs.key]),(0,y.useEffect)(()=>{bn.actionTabs.key==="\u5728\u7EBF\u8003\u8BD5\u8BBE\u7F6E"&&(qa(!0),Ei(Ii==null?void 0:Ii.show_unstart_exercise),di(Ii==null?void 0:Ii.forbid_end_exercise))},[bn.actionTabs.key]),(0,y.useEffect)(()=>{Xo([])},[Ho]);const Qr=(po,Xi)=>{Xo([]),Co.page=po,Co.limit=Xi,kn({type:"classroomList/getClassroomExercisesList",payload:Jo(Jo({},Co),Ao)})},Yo=po=>{Co.type=po.key==="all"?"":po.key,Co.page=1,Ae.history.replace(`${Uo.pathname}?tabs=${po.key}`),Ji(!1),kn({type:"classroomList/getClassroomExercisesList",payload:Jo(Jo({},Co),Ao)})};(0,y.useEffect)(()=>{Do.get("tabs")==="all"&&(Co.type="",Co.page=1)},[Do.get("tabs")]),(0,y.useEffect)(()=>{(0,Ne.Rm)()&&kn({type:"classroomList/getAssistantPermissions",payload:{course_id:Co.coursesId}})},[(tr=Mt==null?void 0:Mt.userInfo)==null?void 0:tr.username]),(0,y.useEffect)(()=>{const po=sessionStorage.getItem("illegalEntry");sessionStorage.getItem("illegalEntry")&&(sessionStorage.removeItem("illegalEntry"),pe.default.info({title:"\u63D0\u793A",centered:!0,width:600,content:rr.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",rr.createElement("br",null),"1\u3001\u5728",rr.createElement("span",{className:"c-red blod"},"\u8003\u8BD5\u5217\u8868"),"\u9875\u9762\u4E2D\uFF0C\u70B9\u51FB\u201C",rr.createElement("span",{className:"c-blue blod"},"\u5F00\u59CB\u8003\u8BD5"),"\u201D\u6216\u201C",rr.createElement("span",{className:"c-blue blod"},"\u7EE7\u7EED\u8003\u8BD5"),"\u201D\u6309\u94AE\u8FDB\u5165\u8003\u8BD5\u7B54\u9898\u9875\u9762\u3002",rr.createElement("br",null),"2\u3001\u5728",rr.createElement("span",{className:"c-red blod"},"\u8003\u8BD5\u8BE6\u60C5"),"\u9875\u9762\u4E2D\uFF0C\u70B9\u51FB\u201C",rr.createElement("span",{className:"c-blue blod"},"\u5F00\u59CB\u8003\u8BD5"),"\u201D\u6216\u201C",rr.createElement("span",{className:"c-blue blod"},"\u7EE7\u7EED\u8003\u8BD5"),"\u201D\u6309\u94AE\u8FDB\u5165\u8003\u8BD5\u7B54\u9898\u9875\u9762\u3002",rr.createElement("br",null),po==="allowRouter"&&rr.createElement(rr.Fragment,null,"3\u3001",rr.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:rr.createElement("i",{className:"iconfont icon-fabu5"})},{name:"\u6279\u91CF\u7ED3\u675F",icon:rr.createElement("i",{className:"iconfont icon-piliangjiezhi2"})},{name:"\u6279\u91CF\u5220\u9664",icon:rr.createElement("i",{className:"iconfont icon-piliangshanchu2"})},{name:"\u8BBE\u4E3A\u516C\u5F00",icon:rr.createElement("i",{className:"iconfont icon-sheweigongkai2"})},{name:"\u52A0\u5165\u8BD5\u5377\u5E93",icon:rr.createElement("i",{className:"iconfont icon-piliangjiaru font14"})}].filter(po=>(0,Ne.GJ)()?!0:po.name!=="\u6279\u91CF\u5220\u9664").filter(po=>Ii.is_public?!0:po.name!=="\u8BBE\u4E3A\u516C\u5F00"),xl=()=>pe.default.info({title:"\u9898\u5E93\u6539\u7248\u544A\u77E5",content:rr.createElement(rr.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=me()("2020-11-15",ji),Wl=po=>{var Xi;Co.sort_by=po.type,Co.sort_direction=po.direction,(0,Ne.GJ)()&&we.cX.setItem(`${(Xi=Mt==null?void 0:Mt.userInfo)==null?void 0:Xi.login}Teacher`,po,"Exercise"),Co.page=1,kn({type:"classroomList/getClassroomExercisesList",payload:Jo({},Co)}),_i(po.name)},rs=()=>rr.createElement(ze.default,null,rr.createElement(ze.default.Item,{key:1,onClick:()=>{var po,Xi;if((0,Ne.Rm)()&&!((Xi=(po=bn==null?void 0:bn.AssistantObject)==null?void 0:po.exercise)!=null&&Xi.can_create)){Ce.ZP.warning("\u60A8\u672A\u83B7\u53D6\u6B64\u6743\u9650\uFF0C\u9700\u5411\u8BFE\u5802\u7BA1\u7406\u5458\u7533\u8BF7\u6743\u9650\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD");return}kn({type:"exercise/setActionTabs",payload:{key:"\u8BD5\u5377\u9009\u7528",params:Co}})}},"\u5FEB\u901F\u9009\u62E9\u8BD5\u5377"),rr.createElement(ze.default.Item,{key:2,onClick:()=>{var po,Xi;if((0,Ne.Rm)()&&!((Xi=(po=bn==null?void 0:bn.AssistantObject)==null?void 0:po.exercise)!=null&&Xi.can_create)){Ce.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),Ae.history.push(`/classrooms/${Co.coursesId}/exercise/add?catalogue=${(Ao==null?void 0:Ao.categoryId)||""}`)}},"\u521B\u5EFA\u65B0\u8BD5\u5377"),rr.createElement(ze.default.Item,{key:3,onClick:()=>{var po,Xi;if(!(0,we.Ye)(kn)){if((0,Ne.Rm)()&&!((Xi=(po=bn.AssistantObject)==null?void 0:po.practice)!=null&&Xi.can_create)){Ce.ZP.warning("\u60A8\u672A\u83B7\u53D6\u6B64\u6743\u9650\uFF0C\u9700\u5411\u8BFE\u5802\u7BA1\u7406\u5458\u7533\u8BF7\u6743\u9650\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD");return}kn({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 Xi,Za,wl,Hl,ql,Xl,xs,es;const el=po.name;if(((Xi=Mt==null?void 0:Mt.userInfo)==null?void 0:Xi.user_status)===2&&po.name==="\u6279\u91CF\u53D1\u5E03"){(0,Le.Rd)();return}const Vl=[];if((Za=Ho.exercises)==null||Za.map(Ta=>{if(hi.includes(Ta.id)&&Ta.is_random){const Ll=me()(Ta.created_at,ji);me()(Sl).diff(me()(Ll),"days")>0&&(Ta!=null&&Ta.is_random)&&Vl.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"),Ce.ZP.error(Ta)}else if(Vl.length)xl();else{if(el==="\u6279\u91CF\u53D1\u5E03"){if((0,Ne.Rm)()&&!((Hl=(wl=bn==null?void 0:bn.AssistantObject)==null?void 0:wl.exercise)!=null&&Hl.can_publish)){Ce.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=(Xl=(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:Xl.exercise_name,(Ll==null?void 0:Ll.length)>0){Ce.ZP.warning(`${Ll}\u8BD5\u5377\u5185\u6CA1\u6709\u8BD5\u9898\u4E0D\u5141\u8BB8\u53D1\u5E03\u8003\u8BD5`);return}if(Ta){Ce.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){Ce.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,he.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}}kn({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 rr.createElement("section",{className:"minH500"},rr.createElement(Yr.Z,{isLoading:Zn["classroomList/getClassroomExercisesList"],tabDataSource:Zi,isAdmin:(0,Ne.GJ)(),dispatch:kn,type:Ho==null?void 0:Ho.main_category_name,isExercise:!0,user:Mt,getDropdownMenu:rs,onTabMenuClick:Yo,classroomList:bn,defaultSelectedKeys:[Co.type||"all"]}),rr.createElement(ro.Z,{dataSource:Ho.exercises||[],isAdmin:(0,Ne.GJ)(),batchStatus:zi,SortMenuName:ko,setSortMenuName:_i,SortMenus:gr,onSearch:po=>{Co.search=po.trim(),Co.page=1,kn({type:"classroomList/getClassroomExercisesList",payload:Jo({},Co)})},isShowMode:!0,onModeChange:po=>{Co.is_normal=po,Co.page=1,kn({type:"classroomList/getClassroomExercisesList",payload:Jo({},Co)})},onSort:Wl,onBatch:po=>Ji(po)}),rr.createElement(Fe.Z,{loading:Zn["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,Xi){return rr.createElement(Tr,{key:Xi,v:po,k:Xi,match:yr,batchStatus:zi,selectArrs:hi,setSelectArrs:Xo,dispatch:kn,params:Co,user:Mt,manageAllGroup:Ho.manage_all_group})}):rr.createElement(be.Z,null),rr.createElement("aside",{className:"tc mb50 mt30"},((mi=Ho.exercises_counts)==null?void 0:mi.exercises_all_counts)>0&&rr.createElement(ge.Z,{showTotal:po=>{var Xi;return`\u5171 ${(Xi=Ho==null?void 0:Ho.exercises_counts)==null?void 0:Xi.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,Ne.GJ)()&&rr.createElement(je.Z,{offsetBottom:0},rr.createElement(oo.Z,{buttonDataSource:Ba,onButtonClick:us,useBatchStatus:Ji,setSeleArr:Xo,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(),kn({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===((Vi=(Ti=Ho.exercises)==null?void 0:Ti.filter(po=>!po.is_make_up_exercise))==null?void 0:Vi.length):!1,setAllSelect:po=>{var Xi;po.target.checked?Xo((Xi=Ho==null?void 0:Ho.exercises)==null?void 0:Xi.filter(Za=>!Za.is_make_up_exercise).map(Za=>Za.id)):Xo([])},selectArrs:hi,onMenuClick:po=>Ci(void 0,[po],function*({key:Xi}){if(hi=="")return Ce.ZP.error("\u8BF7\u9009\u62E9\u4F60\u8981\u64CD\u4F5C\u7684\u4EFB\u52A1"),null;(yield(0,he.ZP)(`/api/courses/${Co.id}/exercises/move_to_category.json`,{method:"post",body:{exercise_ids:hi,new_category_id:Xi}})).status===0&&(Ce.ZP.success("\u64CD\u4F5C\u6210\u529F"),kn({type:"classroomList/getClassroomExercisesList",payload:Jo({},Ao)}))})})),rr.createElement(Nt.Z,null),rr.createElement(xt.Z,null),rr.createElement(Kt,null),rr.createElement(fe,null),rr.createElement(eo.Z,{onOk:()=>{kn({type:"classroomList/getClassroomExercisesList",payload:Jo({},Ao)})}}),rr.createElement(Jr.Z,{onOk:()=>{}}),rr.createElement(ft,{cb:()=>Xo([])}),rr.createElement(zt,null),rr.createElement(kt.Z,null),rr.createElement(pe.default,{title:rr.createElement("span",null,rr.createElement(Or.Z,{style:{color:"#faad14",fontSize:"18px"}})," \u52A0\u5165\u8BD5\u5377\u5E93\u63D0\u793A"),open:Aa.length>0,footer:!1,onCancel:()=>{ra([])}},rr.createElement("div",{style:{height:300,overflow:"auto"}},rr.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=>rr.createElement("div",{style:{marginTop:25}},rr.createElement("div",null,"\u8BD5\u5377\uFF1A",po==null?void 0:po.origin_exercise_nam),rr.createElement("div",null,"\u539F\u8BD5\u5377\uFF1A",rr.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))))),rr.createElement("div",{style:{textAlign:"end"}},rr.createElement(De.ZP,{style:{height:30},onClick:()=>Ci(void 0,null,function*(){const po=yield(0,he.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&&(Ce.ZP.info("\u8986\u76D6\u6210\u529F"),ra([]))})},"\u8986\u76D6\u539F\u6765\u7684\u8BD5\u5377"),rr.createElement(De.ZP,{type:"primary",onClick:()=>Ci(void 0,null,function*(){const po=yield(0,he.ZP)(`/api/courses/${Co.id}/exercises/join_examination_banks.json`,{method:"post",body:{check_ids:[...hi]}});(po==null?void 0:po.status)===0&&(Ce.ZP.info("\u5F62\u6210\u6210\u529F"),ra([]))}),style:{marginLeft:10,height:30}},"\u5F62\u6210\u65B0\u8BD5\u5377"))),rr.createElement(pe.default,{title:"\u5728\u7EBF\u8003\u8BD5\u8BBE\u7F6E",open:El,centered:!0,onOk:()=>Ci(void 0,null,function*(){let po=yield(0,he.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),kn({type:"classroomList/setActionTabs",payload:{key:""}}),kn({type:"classroomList/getClassroomTopBanner",payload:{id:Co.coursesId}}),Ce.ZP.info("\u64CD\u4F5C\u6210\u529F"))}),onCancel:()=>{qa(!1),kn({type:"classroomList/setActionTabs",payload:{key:""}})}},rr.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",rr.createElement("span",{style:{color:"#666666"}},"\uFF08\u8003\u8BD5\u5F00\u59CB\u4E4B\u540E\u5B66\u751F\u624D\u80FD\u4F5C\u7B54\uFF09")),rr.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")),rr.createElement(ao.Z,null),rr.createElement(rr.Fragment,null,rr.createElement(Wo.T$,{onCancel:()=>{kn({type:"classroomList/setActionTabs",payload:pi(Jo({},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"}),rr.createElement(Wo.$i,{onCancel:()=>{kn({type:"classroomList/setActionTabs",payload:pi(Jo({},bn==null?void 0:bn.actionTabs),{open:""})})},onFinish:()=>{kn({type:"classroomList/getClassroomExercisesList",payload:Jo(Jo({},Co),Ao)})},open:((fa=bn==null?void 0:bn.actionTabs)==null?void 0:fa.open)==="\u8BD5\u5377\u5C01\u5B58",Data:pi(Jo({},bn==null?void 0:bn.actionTabs),{type:"exercise"})}),rr.createElement(Wo.K1,{onCancel:()=>{kn({type:"classroomList/setActionTabs",payload:pi(Jo({},bn==null?void 0:bn.actionTabs),{open:""})})},onFinish:()=>{kn({type:"classroomList/getClassroomExercisesList",payload:Jo(Jo({},Co),Ao)})},open:((wa=bn==null?void 0:bn.actionTabs)==null?void 0:wa.open)==="\u89E3\u5C01",Data:pi(Jo({},bn==null?void 0:bn.actionTabs),{type:"exercise"})}),rr.createElement(Wo.O7,{onCancel:()=>{kn({type:"classroomList/setActionTabs",payload:pi(Jo({},bn==null?void 0:bn.actionTabs),{open:""})})},onFinish:()=>{kn({type:"classroomList/getClassroomExercisesList",payload:Jo(Jo({},Co),Ao)})},open:((ha=bn==null?void 0:bn.actionTabs)==null?void 0:ha.open)==="\u63D0\u793A",Data:pi(Jo({},bn==null?void 0:bn.actionTabs),{type:"exercise"})})),rr.createElement(Ko.Z,null))};var No=(0,Ae.connect)(({user:Je,classroomList:hn,loading:Mt,globalSetting:bn})=>({user:Je,classroomList:hn,globalSetting:bn,loading:Mt.effects}))(Oi)},28450:function(mn,Ct,E){"use strict";E.d(Ct,{Q8:function(){return Se},d0:function(){return Ft},w6:function(){return Ke}});var y=E(59301),Ae=E(24017),pe=E(82326),ze=E(6767),Ce=E(62957),Fe=E(47889),ge=E(77019),je=E(5269),De=E(25399),se=E(62673),Ue=E(7939),me=E(66649),Ne=E.n(me),we=E(15267),be=E(49317),he=E(78267),ce=E.n(he),Ie=E(76406),Ze=E(90834),$e=E(44283),oe=E(47026),Be=E(24532),tt=E(44624),Re=E(27878),_e=E(66443),ye=E(59301),Le=Object.defineProperty,Ve=Object.defineProperties,Pe=Object.getOwnPropertyDescriptors,it=Object.getOwnPropertySymbols,Oe=Object.prototype.hasOwnProperty,ue=Object.prototype.propertyIsEnumerable,Xe=(at,Rt,ft)=>Rt in at?Le(at,Rt,{enumerable:!0,configurable:!0,writable:!0,value:ft}):at[Rt]=ft,Ge=(at,Rt)=>{for(var ft in Rt||(Rt={}))Oe.call(Rt,ft)&&Xe(at,ft,Rt[ft]);if(it)for(var ft of it(Rt))ue.call(Rt,ft)&&Xe(at,ft,Rt[ft]);return at},lt=(at,Rt)=>Ve(at,Pe(Rt)),Tt=(at,Rt,ft)=>new Promise((Nt,xt)=>{var Xt=ne=>{try{de(ft.next(ne))}catch(te){xt(te)}},Wt=ne=>{try{de(ft.throw(ne))}catch(te){xt(te)}},de=ne=>ne.done?Nt(ne.value):Promise.resolve(ne.value).then(Xt,Wt);de((ft=ft.apply(at,Rt)).next())});function Ke(at,Rt){const ft=[];for(let Nt=at;Nt<Rt;Nt++)ft.push(Nt);return ft}const Se=(at,Rt,ft)=>{const Nt=at<Ne()().startOf("day"),xt=at>Ne()(Rt).endOf("day"),Xt=at<Ne()(ft).startOf("day");return Rt?ft?Ne()()<=Ne()(ft)?Xt||xt:Nt||xt:at&&Nt||xt:ft&&Ne()()<=Ne()(ft)?Xt:Nt},Ft=(at,Rt)=>{const ft=parseInt(Ne()(at).format("HH")),Nt=parseInt(Ne()().format("HH")),xt=parseInt(Ne()().format("mm"));if(!at)return{disabledHours:()=>Ke(0,Nt),disabledMinutes:()=>Ke(0,xt)};if(Rt){const Xt=parseInt(Ne()(Rt).format("HH")),Wt=parseInt(Ne()(Rt).format("mm"));return Ne()(at).isSame(Ne()(Rt),"day")?{disabledHours:()=>Ke(0,Xt),disabledMinutes:()=>ft<=Xt?Ke(0,Wt):[]}:void 0}if(Ne()(at).isSame(Ne()(),"day"))return{disabledHours:()=>Ke(0,Nt),disabledMinutes:()=>Ne()(at).isSame(Ne()(),"hour")&&ft<=Nt?Ke(0,xt):[]}},It=(at,Rt)=>at==null?void 0:at.map(ft=>{var Nt;return(Nt=Rt==null?void 0:Rt.find(xt=>xt.value===ft))==null?void 0:Nt.id}),{RangePicker:ut}=Ae.default,{Option:xe}=pe.default,ke=({shixunHomeworks:at,loading:Rt,dispatch:ft,classroomList:Nt,user:xt})=>{var Xt,Wt,de,ne,te,le,ve,re,fe;const Ye=(0,$e.useParams)(),{workSetting:vt,workList:et,shixunWorkList:nt,headerInfo:mt,changeData:yt}=at,[St,Qe]=(0,y.useState)(!1),[st,en]=(0,y.useState)(!1);let[Kt,vn]=(0,y.useState)([]),[nn,Yt]=(0,y.useState)([]),[Jt,cn]=(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,zt]=(0,y.useState)({}),[un,Cn]=(0,y.useState)({});(0,y.useEffect)(()=>()=>{vn([])},[]),(0,y.useEffect)(()=>{Qe(!(0,we.GJ)())},[(0,we.GJ)()]);const ct=()=>{ft({type:"shixunHomeworks/getWorkSetting",payload:Ge({},Ye)})};(0,y.useEffect)(()=>{if(!(vt!=null&&vt.course_id))return;Object.keys(Jt).map(function(Lt){Jt[Lt]=vt[Lt]}),(!Jt.allow_late||!Jt.unified_late)&&(Jt.late_penalty=20,Jt.penalty_type=oe.Q.Percent),Jt.unified_setting||(Jt.unified_late=!1,Jt.unified_anonymous_comment=!1,Jt.unified_anonymous_appeal=!1),Kt=JSON.parse(JSON.stringify(vt.group_settings.map(Lt=>lt(Ge({},Lt),{group_name:[Lt.group_name]})).filter(Lt=>Lt.publish_time!==null))),nn=JSON.parse(JSON.stringify(vt.allow_late_settings.map(Lt=>lt(Ge({},Lt),{group_name:[Lt.group_name]})).filter(Lt=>Lt.late_time!==null))),cn(Ge({},Jt));const Vt=(0,Ie.QE)((Kt==null?void 0:Kt.length)>0?Kt:[]);vn([...Vt]),(nn==null?void 0:nn.length)<=0?Yt([{penalty_type:oe.Q.Percent,late_penalty:20}]):Yt([...nn])},[vt]);const Zt=()=>Tt(void 0,null,function*(){var Vt,Lt,sn,an,tn,Bn,xn,jn;if(((sn=(Lt=(Vt=xt==null?void 0:xt.userInfo)==null?void 0:Vt.course)==null?void 0:Lt.shixun_homework_info)==null?void 0:sn.shixun_homework_remaining_count)===0&&((tn=(an=at==null?void 0:at.headerInfo)==null?void 0:an.homework_status)!=null&&tn.includes("\u672A\u53D1\u5E03"))){(0,Ie.bR)(`\u60A8\u4ECA\u65E5\u5728\u3010${(xn=(Bn=(0,we.eY)())==null?void 0:Bn.course)==null?void 0:xn.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(((jn=xt==null?void 0:xt.userInfo)==null?void 0:jn.user_status)===2){(0,Be.Rd)();return}const nr=JSON.parse(JSON.stringify(Jt));if(nr.challenge_settings.filter(Ln=>!Ln.hide),nr.categoryId=Ye.categoryId,console.log(Kt),!Jt.unified_setting)Kt=Kt==null?void 0:Kt.map(Ln=>{var mr;if(!Ln.publish_time||!Ln.end_time)throw ze.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(!Ln.group_name)throw ze.ZP.error("\u8BF7\u9009\u62E9\u5206\u73ED\u540D\u79F0"),new String("\u8BF7\u9009\u62E9\u5206\u73ED\u540D\u79F0");return Ln.group_name=typeof(Ln==null?void 0:Ln.group_name)=="string"?[Ln==null?void 0:Ln.group_name]:Ln==null?void 0:Ln.group_name,Ln.group_id=(mr=vt.group_settings)==null?void 0:mr.filter(ir=>{var jr;return(jr=Ln==null?void 0:Ln.group_name)==null?void 0:jr.includes(ir.group_name)}).map(ir=>ir.group_id||ir.id).toString().split(","),Ln});else if(!Jt.publish_time||!Jt.end_time)throw ze.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(nr.group_settings=Kt,Jt.allow_late)if(Jt.unified_late){if(Jt.late_penalty===null||Jt.late_penalty===void 0||Jt.late_penalty<0||Jt.late_penalty>100)throw ze.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(!Jt.late_time)throw ze.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 nn=nn==null?void 0:nn.map(Ln=>{var mr,ir;if(Ln.late_penalty===null||Ln.late_penalty===void 0||Ln.late_penalty<0||Ln.late_penalty>100)throw ze.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(!Ln.late_time)throw ze.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(!Ln.group_name)throw ze.ZP.error("\u8BF7\u9009\u62E9\u5206\u73ED\u540D\u79F0"),new String("\u8BF7\u9009\u62E9\u5206\u73ED\u540D\u79F0");return Ln.group_name=typeof(Ln==null?void 0:Ln.group_name)=="string"?[Ln==null?void 0:Ln.group_name]:Ln==null?void 0:Ln.group_name,Ln.group_id=(ir=(mr=Ln==null?void 0:Ln.group_name)==null?void 0:mr.map(jr=>{var Nr,Fn;let Nn=(Fn=(Nr=vt.group_settings)==null?void 0:Nr.filter(cr=>(cr==null?void 0:cr.group_name)===jr))==null?void 0:Fn[0];return Nn==null?void 0:Nn.group_id}))==null?void 0:ir.toString().split(","),Ln}),nr.allow_late_settings=nn;let Gn=yield(0,_e.Tr)({homework_common_ids:[parseInt(Ye.categoryId)],course_id:Ye.coursesId,type:"homework_common"});(Gn==null?void 0:Gn.student_count)===0?wt(nr):(Cn(nr),zt(Gn))}),wt=Vt=>{if(Vt.total_score===null){ze.ZP.warning("\u603B\u5206\u503C\u4E0D\u80FD\u4E3A\u7A7A");return}if(Vt!=null&&Vt.work_efficiency&&Vt.eff_score===null){ze.ZP.warning("\u6548\u7387\u5206\u4E0D\u80FD\u4E3A\u7A7A");return}const Lt=Vt.challenge_settings.reduce((tn,Bn)=>tn+Number(Bn.challenge_score),0),sn={shixun_evaluation:Vt.shixun_evaluation,challenge_settings:Vt.challenge_settings};let an=()=>{var tn;const Bn=()=>Tt(void 0,null,function*(){en(!0),(yield(0,be.ZP)(`/api/homework_commons/${Ye.categoryId}/publish_setting.json`,{method:"post",body:Ge({},Vt)})).status===0&&(ze.ZP.success("\u66F4\u65B0\u6210\u529F"),ct(),ft({type:"user/getUserInfo",payload:{course_id:Ye.coursesId}}),ft({type:"shixunHomeworks/getShixunWorkHeadInfo",payload:Ge({},Ye)})),en(!1)});!(0,he.isEqual)(yt,sn)&&!((tn=mt==null?void 0:mt.homework_status)!=null&&tn.includes("\u672A\u53D1\u5E03"))?Ce.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:Bn}):Bn()};vt!=null&&vt.high_resources_consume&&!(vt!=null&&vt.high_resources_consume_permission)?ft({type:"classroomList/setActionTabs",payload:{key:"\u6388\u6743\u4F7F\u7528",id:Ye.coursesId,type:"shixun",type_id:Ye.categoryId,name:vt.homework_name,fn:()=>{an()}}}):an()},dn=(Vt,Lt,sn="group_id")=>{var an;return Lt?Lt.find(tn=>tn[sn]===Vt):(an=vt==null?void 0:vt.group_settings)==null?void 0:an.find(tn=>tn.group_id[0]===Vt)},wn=(vt==null?void 0:vt.allow_late)||(vt==null?void 0:vt.anonymous_comment),Un=Vt=>{var Lt,sn;const an=dn(Vt,vt==null?void 0:vt.allow_late_settings,"id"),tn=dn(Vt,vt==null?void 0:vt.anonymous_comment_settings),Bn=dn(Vt);return(vt==null?void 0:vt.allow_late)&&an&&Ne()(an==null?void 0:an.late_time)<=Ne()()||(vt==null?void 0:vt.anonymous_comment)&&tn&&(tn==null?void 0:tn.evaluation_start)!==null||((sn=(Ne()(Bn==null?void 0:Bn.end_time)<=Ne()()&&((Lt=vt==null?void 0:vt.allow_late_settings)==null?void 0:Lt.filter(xn=>xn.group_id.includes(Vt))))[0])==null?void 0:sn.late_time)!=null},er=(0,y.useMemo)(()=>(vt==null?void 0:vt.allow_late)||(vt==null?void 0:vt.all_group_late),[vt,mt]),lr=vt==null?void 0:vt.anonymous_comment,Rn=Vt=>{if(!Vt)return!1;const Lt=dn(Vt,vt==null?void 0:vt.anonymous_comment_settings);return(vt==null?void 0:vt.anonymous_comment)&&Lt&&(Lt==null?void 0:Lt.evaluation_start)!==null},Qn=(Vt,Lt)=>{var sn,an,tn,Bn,xn;Vt!=null&&Vt.group_id||(Vt.group_id=It(Vt==null?void 0:Vt.group_name,vt==null?void 0:vt.group_settings)),ft({type:"classroomList/setActionTabs",payload:{key:"\u5206\u73ED\u53D1\u5E03-\u53D1\u5E03\u89C4\u5219\u62C6\u5206",data:Vt,index:Lt,rangePickerDisabled:(an=(sn=Vt==null?void 0:Vt.group_id)==null?void 0:sn[0])!=null&&an.publish_time?St||(Ne()()<=Ne()((Bn=dn((tn=Vt==null?void 0:Vt.group_id)==null?void 0:tn[0]))==null?void 0:Bn.publish_time)?!1:[!0,Un((xn=Vt==null?void 0:Vt.group_id)==null?void 0:xn[0])]):!1,disabledDate:vt==null?void 0:vt.course_end_date}})};return ye.createElement("section",{className:Ze.Z.form},ye.createElement("div",{className:Ze.Z.title},"\u4F5C\u4E1A\u53D1\u5E03",ye.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")),ye.createElement("div",null,ye.createElement("div",{style:{background:"#F6F7F9",padding:"13px 30px",display:"flex",alignItems:"center"}},ye.createElement(Fe.ZP.Group,{disabled:St||!((Xt=mt==null?void 0:mt.homework_status)!=null&&Xt.includes("\u672A\u53D1\u5E03"))||(0,we.Rm)()&&!((Wt=Nt.AssistantObject.practice)!=null&&Wt.can_publish),value:Jt.unified_setting,onChange:Vt=>{var Lt;if(!((Lt=mt==null?void 0:mt.homework_status)!=null&&Lt.includes("\u672A\u53D1\u5E03"))){ze.ZP.error("\u5DF2\u53D1\u5E03\uFF0C\u4E0D\u80FD\u518D\u4FEE\u6539\u7EDF\u4E00\u8BBE\u7F6E");return}if(Jt.unified_setting=!Jt.unified_setting,Jt.unified_setting||(Jt.unified_late=!1,Yt([{late_penalty:5}])),cn(Object.assign({},Jt)),Jt.unified_setting===!1&&Kt==""){vn(Kt.concat({}));return}Jt.unified_setting&&(vn([]),Yt([{late_penalty:5}]))}},ye.createElement(Fe.ZP,{value:!0,disabled:St||!(vt!=null&&vt.manage_all_group),style:{marginRight:"50px"}},"\u7EDF\u4E00\u53D1\u5E03"),ye.createElement(Fe.ZP,{disabled:St||!((de=vt==null?void 0:vt.group_settings)!=null&&de.length),value:!1},"\u5206\u73ED\u53D1\u5E03")),((ne=vt==null?void 0:vt.group_settings)==null?void 0:ne.length)===0&&ye.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")),Jt.unified_setting&&ye.createElement("div",{style:{display:"flex",color:"#666666",background:"#F6F7F9",padding:"5px 30px",height:"50px",marginTop:"1px"}},ye.createElement(ge.Z,{align:"middle"},ye.createElement(je.Z,{style:{marginLeft:"23px"}},"\u53D1\u5E03\u65F6\u95F4"),ye.createElement(je.Z,{className:"ml10"},ye.createElement(Ae.default,{size:"large",disabled:St||!((te=mt==null?void 0:mt.homework_status)!=null&&te.includes("\u672A\u53D1\u5E03")||(le=mt==null?void 0:mt.homework_status)!=null&&le.includes("\u672A\u5F00\u59CB"))||(0,we.Rm)()&&!((ve=Nt.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:Vt=>Se(Vt,vt==null?void 0:vt.course_end_date),disabledTime:Vt=>Ft(Vt),value:Jt.publish_time?Ne()(Jt.publish_time):"",onChange:(Vt,Lt)=>{Jt.publish_time=Lt,(Jt.end_time==""||!Jt.end_time)&&Jt.unified_setting&&(Jt.end_time=Ne()(Vt).add(7,"days").format("YYYY-MM-DD HH:mm:ss")),cn(Object.assign({},Jt))}}))),ye.createElement(ge.Z,{align:"middle",className:"pl30"},ye.createElement(je.Z,null,"\u622A\u6B62\u65F6\u95F4"),ye.createElement(je.Z,{className:"ml10"},ye.createElement(Ae.default,{size:"large",style:{width:170},allowClear:!1,placeholder:"\u8BF7\u9009\u62E9\u622A\u6B62\u65F6\u95F4",showTime:{format:"HH:mm",defaultValue:Ne()((0,Ie.U6)(),"HH:mm")},format:"YYYY-MM-DD HH:mm",disabled:(vt==null?void 0:vt.allow_late)&&(vt==null?void 0:vt.homework_status.includes("\u5DF2\u622A\u6B62"))||St||(vt==null?void 0:vt.allow_late)&&Ne()()>=Ne()(vt==null?void 0:vt.end_time)||(0,we.Rm)()&&!((re=Nt.AssistantObject.practice)!=null&&re.can_publish),disabledDate:Vt=>Se(Vt,vt==null?void 0:vt.course_end_date,Jt.publish_time),disabledTime:Vt=>Ft(Vt,Jt.publish_time),value:Jt.end_time?Ne()(Jt.end_time):"",onChange:(Vt,Lt)=>{Jt.end_time=Lt,cn(Object.assign({},Jt))}})))),!Jt.unified_setting&&(Kt==null?void 0:Kt.length)>0&&ye.createElement(ge.Z,{style:{display:"flex",color:"#666666",background:"#F6F7F9",padding:"5px 30px",marginTop:"1px"}},Kt&&Kt.map(function(Vt,Lt){var sn,an,tn,Bn,xn,jn,nr;return ye.createElement(je.Z,{span:24,key:Lt},ye.createElement(ge.Z,{gutter:[8,16],style:{display:"flex",alignItems:"center",marginBottom:Lt==(Kt==null?void 0:Kt.length)-1?"0px":"10px"}},ye.createElement("div",{style:{minWidth:85,marginRight:"15px",textAlign:"right"}},"\u53D1\u5E03\u89C4\u5219",Lt+1),ye.createElement(pe.default,{disabled:St||((sn=mt==null?void 0:mt.homework_status)!=null&&sn.includes("\u672A\u53D1\u5E03")&&Vt.id||Ne()()<Ne()(Vt==null?void 0:Vt.publish_time)?!1:!!(Vt!=null&&Vt.publish_time))||(0,we.Rm)()&&!((an=Nt.AssistantObject.practice)!=null&&an.can_publish),mode:"multiple",className:Ze.Z.multiple_select,style:{width:"250px"},value:Vt.group_name,placeholder:"\u8BF7\u9009\u62E9\u5206\u73ED\u540D\u79F0",onChange:Gn=>{var Ln;if((0,we.Rm)()&&!((Ln=Nt.AssistantObject.practice)!=null&&Ln.can_publish)){ze.ZP.warning("\u60A8\u672A\u83B7\u53D6\u6B64\u6743\u9650\uFF0C\u9700\u5411\u8BFE\u5802\u7BA1\u7406\u5458\u7533\u8BF7\u6743\u9650\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD");return}Kt[Lt].group_name=Gn,Kt[Lt].group_id=Vt.group_id;const mr=(0,he.flattenDeep)(Kt.map(jr=>jr.group_name)),ir=nn.map(jr=>{let Nr=(jr==null?void 0:jr.group_name)||[];return lt(Ge({},jr),{group_name:(0,he.remove)(Nr,Fn=>mr.includes(Fn))})});Yt(ir),vn(Kt.slice())},maxTagCount:4,maxTagPlaceholder:Gn=>ye.createElement("div",{style:{cursor:"pointer"},onClick:()=>Qn(Vt,Lt)},"+",Gn==null?void 0:Gn.length)},vt.group_settings&&vt.group_settings.map(function(Gn){if(!Kt.map(mr=>mr.group_name).flat().includes(Gn.group_name))return ye.createElement(xe,{value:Gn.group_name,key:Gn.id},Gn.group_name)})),ye.createElement("div",{className:"ml20"},ye.createElement(ut,{size:"large",ranges:{\u6B64\u523B:[Vt.publish_time?Ne()(Vt.publish_time):Ne()(),Ne()()]},allowClear:!1,disabled:St||(Ne()()<=Ne()((Bn=dn((tn=Vt==null?void 0:Vt.group_id)==null?void 0:tn[0]))==null?void 0:Bn.publish_time)?!1:[!0,Un((xn=Vt==null?void 0:Vt.group_id)==null?void 0:xn[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:Gn=>Se(Gn,vt==null?void 0:vt.course_end_date),disabledTime:Gn=>Ft(Gn),showTime:{showNow:!0,format:"HH:mm",defaultValue:[Ne()((0,Ie.U6)(),"HH:mm"),Ne()((0,Ie.U6)(),"HH:mm")]},format:"YYYY-MM-DD HH:mm",value:[Vt.publish_time?Ne()(Vt.publish_time):void 0,Vt.end_time?Ne()(Vt.end_time):void 0],onChange:(Gn,Ln)=>{var mr;if((0,we.Rm)()&&!((mr=Nt.AssistantObject.practice)!=null&&mr.can_publish)){ze.ZP.warning("\u60A8\u672A\u83B7\u53D6\u6B64\u6743\u9650\uFF0C\u9700\u5411\u8BFE\u5802\u7BA1\u7406\u5458\u7533\u8BF7\u6743\u9650\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD");return}Kt[Lt].publish_time=Ln[0],!Vt.end_time&&Ln[0]?Kt[Lt].end_time=Ne()(Ln[0]).add(7,"days"):Kt[Lt].end_time=Ln[1],vn([...Kt])},onCalendarChange:(Gn,Ln,mr)=>{if(Ln!=null&&Ln[0]&&!Ln[1]){const ir=Ne()(Ln[0]).add(7,"days");Kt[Lt].publish_time=Ln[0],Kt[Lt].end_time=ir,vn([...Kt])}}})),!St&&ye.createElement("div",{style:{display:"flex",width:"50px"}},((jn=Vt==null?void 0:Vt.group_id)==null?void 0:jn.length)>1&&ye.createElement(De.Z,{title:"\u89C4\u5219\u62C6\u5206"},ye.createElement("i",{className:"iconfont icon-chaifen ml10",style:{cursor:"pointer",color:"#3061d0"},onClick:()=>Qn(Vt,Lt)})),Kt.length<((nr=vt==null?void 0:vt.group_settings)==null?void 0:nr.length)&&ye.createElement("i",{className:"iconfont icon-zengjia1 ml10 mr10",style:{cursor:"pointer",color:"#00B187"},onClick:()=>{var Gn;if((0,we.Rm)()&&!((Gn=Nt.AssistantObject.practice)!=null&&Gn.can_publish)){ze.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}vn(Kt.concat({}))}}),((Vt==null?void 0:Vt.publish_time)&&Ne()()<Ne()(Vt==null?void 0:Vt.publish_time)||!(Vt!=null&&Vt.publish_time))&&Lt!=0&&ye.createElement("i",{className:"iconfont icon-shanjian1",style:{cursor:"pointer",color:"#E30000"},onClick:()=>{const Gn=(0,he.cloneDeep)(nn);Gn.forEach((Ln,mr)=>{Ln.group_name&&(Ln.group_name=Ln.group_name.filter(ir=>{var jr;return!((jr=Kt[Lt].group_name)!=null&&jr.includes(ir))}))}),Kt=Kt.filter((Ln,mr)=>Lt!==mr),Yt(Gn),vn(Kt.slice()),setTimeout(()=>vn(Kt.slice()),10)}}))))}))),ye.createElement(ge.Z,null,ye.createElement(je.Z,null,ye.createElement("div",{className:Ze.Z.title,style:{marginTop:"30px"}},"\u8865\u4EA4\u8BBE\u7F6E",ye.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"))),ye.createElement(je.Z,{span:24,style:{background:"#F6F7F9",padding:"13px 30px",display:"flex",alignItems:"center"}},ye.createElement(se.default,{checked:Jt.allow_late,disabled:St||er,onChange:Vt=>{var Lt;if((0,we.Rm)()&&!((Lt=Nt.AssistantObject.practice)!=null&&Lt.can_late)){ze.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.target.checked&&Ce.default.warning({title:"\u5F00\u542F\u8865\u4EA4\u63D0\u793A",centered:!0,width:480,content:ye.createElement("div",{style:{padding:10,background:"#f5f6f9"}},ye.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"),ye.createElement("div",null,"2.\u8865\u4EA4\u622A\u6B62\u65F6\u95F4\u5FC5\u987B\u665A\u4E8E\u4F5C\u4E1A\u622A\u6B62\u65F6\u95F4\uFF1B"),ye.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"))}),Jt.allow_late=!Jt.allow_late,nn==""&&Yt([{late_penalty:5}]),cn(Object.assign({},Jt))}},ye.createElement("strong",null,"\u5F00\u542F\u8865\u4EA4")))),(Jt==null?void 0:Jt.allow_late)&&ye.createElement("div",{style:{background:"#F6F7F9",padding:"10px 30px",marginTop:"1px",color:"#666666"}},ye.createElement("div",{style:{display:"flex"}},ye.createElement("div",{style:{width:"110px",textAlign:"right"}},"\u8865\u4EA4\u65B9\u5F0F"),ye.createElement(Fe.ZP.Group,{style:{marginLeft:"20px"},disabled:St||(vt==null?void 0:vt.anonymous_comment)||(vt==null?void 0:vt.allow_late),value:Jt.unified_late,onChange:Vt=>{var Lt;if((0,we.Rm)()&&!((Lt=Nt.AssistantObject.practice)!=null&&Lt.can_late)){ze.ZP.warning("\u60A8\u672A\u83B7\u53D6\u6B64\u6743\u9650\uFF0C\u9700\u5411\u8BFE\u5802\u7BA1\u7406\u5458\u7533\u8BF7\u6743\u9650\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD");return}Jt.unified_late=Vt.target.value,nn==""&&!Vt.target.value&&Yt([{penalty_type:oe.Q.Percent,late_penalty:20}]),cn(Ge({},Jt))}},(Jt==null?void 0:Jt.unified_setting)&&ye.createElement(Fe.ZP,{value:!0,disabled:!(vt!=null&&vt.manage_all_group),style:{marginRight:"50px"}},"\u7EDF\u4E00\u8865\u4EA4"),((fe=vt==null?void 0:vt.group_settings)==null?void 0:fe.length)>0&&ye.createElement(Fe.ZP,{value:!1},"\u5206\u73ED\u8865\u4EA4"))),Jt!=null&&Jt.unified_late?ye.createElement(ye.Fragment,null,ye.createElement(ge.Z,{align:"middle",style:{marginTop:"10px"}},ye.createElement(je.Z,{style:{width:"110px",textAlign:"right"}},"\u8865\u4EA4\u6263\u5206"),ye.createElement(je.Z,{className:"ml20"},ye.createElement(oe.Z,{disabled:St||lr,value:{type:Jt.penalty_type,inputValue:Jt.late_penalty},onChange:Vt=>{var Lt;if((0,we.Rm)()&&!((Lt=Nt.AssistantObject.practice)!=null&&Lt.can_late)){ze.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}cn(lt(Ge({},Jt),{late_penalty:Vt.inputValue,penalty_type:Vt.type}))}})),ye.createElement(je.Z,{flex:"1",className:"ml5"},ye.createElement("span",{className:"c-grey-c ml10"},Jt.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)"))),ye.createElement(ge.Z,{align:"middle",style:{marginTop:"15px"}},ye.createElement(je.Z,{style:{width:"110px",textAlign:"right"}},"\u8865\u4EA4\u622A\u6B62\u65F6\u95F4"),ye.createElement(je.Z,{className:"ml20"},ye.createElement(Ae.default,{size:"large",allowClear:!1,style:{width:170},placeholder:"\u8BF7\u9009\u62E9\u622A\u6B62\u65F6\u95F4",showTime:{format:"HH:mm",defaultValue:Ne()((0,Ie.U6)(),"HH:mm")},format:"YYYY-MM-DD HH:mm",disabled:St||lr,value:Jt.late_time?Ne()(Jt.late_time):"",disabledDate:Vt=>Se(Vt,vt==null?void 0:vt.course_end_date),onChange:(Vt,Lt)=>{var sn;if((0,we.Rm)()&&!((sn=Nt.AssistantObject.practice)!=null&&sn.can_late)){ze.ZP.warning("\u60A8\u672A\u83B7\u53D6\u6B64\u6743\u9650\uFF0C\u9700\u5411\u8BFE\u5802\u7BA1\u7406\u5458\u7533\u8BF7\u6743\u9650\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD");return}Jt.late_time=Lt,cn(Object.assign({},Jt))}})))):nn.map(function(Vt,Lt){var sn;return ye.createElement(je.Z,{span:24,key:Lt},ye.createElement(ge.Z,{style:{display:"flex",alignItems:"center",marginTop:"10px"}},ye.createElement("div",{style:{width:"85px",marginLeft:"27px",textAlign:"right"}},"\u8865\u4EA4\u89C4\u5219",Lt+1),ye.createElement(pe.default,{disabled:St||!((sn=mt==null?void 0:mt.homework_status)!=null&&sn.includes("\u672A\u53D1\u5E03"))&&Vt.id||(vt==null?void 0:vt.anonymous_comment),mode:"multiple",className:Ze.Z.multiple_select,style:{width:"212px",marginLeft:"18px"},value:typeof Vt.group_name=="string"?[Vt.group_name]:Vt.group_name,placeholder:"\u8BF7\u9009\u62E9\u5206\u73ED\u540D\u79F0",onChange:an=>{var tn;if((0,we.Rm)()&&!((tn=Nt.AssistantObject.practice)!=null&&tn.can_late)){ze.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[Lt].group_name=an,nn[Lt].group_id=Vt.group_id,Yt(nn.slice())}},vt.group_settings&&vt.group_settings.map(function(an){const tn=nn.map(xn=>xn.group_name).flat(),Bn=Kt.map(xn=>xn.group_name).flat();if(Jt!=null&&Jt.unified_setting){if(!tn.includes(an.group_name))return ye.createElement(xe,{value:an.group_name,key:an.id},an.group_name)}else if(Bn.includes(an.group_name)&&!tn.includes(an.group_name))return ye.createElement(xe,{value:an.group_name,key:an.id},an.group_name)})),ye.createElement("div",{className:"ml20 mr10"},"\u8865\u4EA4\u6263\u5206"),ye.createElement(oe.Z,{disabled:St||Rn(Vt.id),value:{type:Vt.penalty_type,inputValue:Vt.late_penalty},onChange:an=>{var tn;if((0,we.Rm)()&&!((tn=Nt.AssistantObject.practice)!=null&&tn.can_late)){ze.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[Lt].late_penalty=an.inputValue,nn[Lt].penalty_type=an.type,Yt([...nn])}}),ye.createElement("div",{className:"ml20 mr10"},"\u8865\u4EA4\u622A\u6B62\u65F6\u95F4"),ye.createElement(Ae.default,{size:"large",disabled:St||Rn(Vt.id),style:{width:225},showTime:{format:"HH:mm",defaultValue:Ne()((0,Ie.U6)(),"HH:mm")},placeholder:"\u8BF7\u9009\u62E9\u622A\u6B62\u65F6\u95F4",disabledDate:an=>Se(an,vt==null?void 0:vt.course_end_date),format:"YYYY-MM-DD HH:mm",value:Vt!=null&&Vt.late_time?Ne()(Vt.late_time):void 0,onChange:(an,tn)=>{var Bn;if((0,we.Rm)()&&!((Bn=Nt.AssistantObject.practice)!=null&&Bn.can_late)){ze.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[Lt].late_time=tn,Yt([...nn])}}),!St&&ye.createElement("div",{style:{display:"flex",width:"50px"}},ye.createElement("i",{className:"iconfont icon-zengjia1 ml10 mr10",style:{cursor:"pointer",color:"#00B187"},onClick:()=>{var an;if((0,we.Rm)()&&!((an=Nt.AssistantObject.practice)!=null&&an.can_late)){ze.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}Yt(nn.concat({penalty_type:oe.Q.Percent,late_penalty:20}))}}),Lt>0&&!Vt.id&&ye.createElement("i",{className:"iconfont icon-shanjian1",style:{cursor:"pointer",color:"#E30000"},onClick:()=>{var an;if((0,we.Rm)()&&!((an=Nt.AssistantObject.practice)!=null&&an.can_late)){ze.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=nn.filter((tn,Bn)=>Lt!==Bn),Yt(nn.slice()),setTimeout(()=>Yt(nn.slice()),10)}}))))})),!St&&ye.createElement(ye.Fragment,null,ye.createElement(Ue.ZP,{type:"primary",size:"large",loading:st,style:{width:"138px",marginTop:"30px"},onClick:()=>Zt()},"\u4FDD\u5B58")),ye.createElement(tt.Z,{onConfirm:(Vt,Lt)=>{Kt.splice(Vt,0,...Lt),Kt.splice(Vt+Lt.length,1);const sn=(0,Ie.QE)([...Kt]);vn([...sn])}}),ye.createElement(Re.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:Vt=>Tt(void 0,null,function*(){en(!0);let Lt=yield(0,be.ZP)(`/api/courses/${Ye.coursesId}/batch_copy_shixuns.json`,{method:"post",body:{type:"homework_common",ids:[parseInt(Ye.categoryId)]}});en(!1),(Lt==null?void 0:Lt.status)===0&&wt(un)})}))};Ct.ZP=(0,$e.connect)(({shixunHomeworks:at,classroomList:Rt,loading:ft,user:Nt})=>({shixunHomeworks:at,classroomList:Rt,loading:ft.effects,user:Nt}))(ke)},39623:function(mn,Ct,E){"use strict";var y=E(59301),Ae=E(94968),pe=E(28284),ze=E(62957),Ce=E(6767),Fe=E(70858),ge=E(44283),je=E(14185),De=E(83889),se=E(49317),Ue=E(66649),me=E.n(Ue),Ne=E(76406),we=E(59301),be=Object.defineProperty,he=Object.getOwnPropertySymbols,ce=Object.prototype.hasOwnProperty,Ie=Object.prototype.propertyIsEnumerable,Ze=(Re,_e,ye)=>_e in Re?be(Re,_e,{enumerable:!0,configurable:!0,writable:!0,value:ye}):Re[_e]=ye,$e=(Re,_e)=>{for(var ye in _e||(_e={}))ce.call(_e,ye)&&Ze(Re,ye,_e[ye]);if(he)for(var ye of he(_e))Ie.call(_e,ye)&&Ze(Re,ye,_e[ye]);return Re},oe=(Re,_e,ye)=>new Promise((Le,Ve)=>{var Pe=ue=>{try{Oe(ye.next(ue))}catch(Xe){Ve(Xe)}},it=ue=>{try{Oe(ye.throw(ue))}catch(Xe){Ve(Xe)}},Oe=ue=>ue.done?Le(ue.value):Promise.resolve(ue.value).then(Pe,it);Oe((ye=ye.apply(Re,_e)).next())});const{Dragger:Be}=Ae.default,tt=({classroomList:Re,dispatch:_e,onOk:ye})=>{const Le=(0,ge.useParams)(),[Ve]=pe.default.useForm(),[Pe,it]=(0,y.useState)(),[Oe,ue]=(0,y.useState)(!1),Xe={height:100,onRemove:()=>{it("")},accept:".xls,.xlsx",multiple:!1,maxCount:1,beforeUpload:Ge=>oe(void 0,null,function*(){return it(Ge),!1})};return(0,y.useEffect)(()=>{Ve.setFieldsValue({publish_time:me()(me()(new Date).add(0,"days").format("YYYY-MM-DD HH:mm")),end_time:me()(me()(new Date((0,Ne.qd)("/"))).add(7,"days").format("YYYY-MM-DD HH:mm"))})},[]),we.createElement(ze.default,{centered:!0,title:"\u8865\u5145\u6210\u7EE9",open:Re.actionTabs.key==="\u8865\u5145\u6210\u7EE9",okText:"\u786E\u5B9A",width:750,destroyOnClose:!0,cancelText:"\u53D6\u6D88",okButtonProps:{loading:Oe},onOk:()=>oe(void 0,null,function*(){Ve.submit()}),onCancel:()=>{Ve.resetFields(),_e({type:"classroomList/setActionTabs",payload:{}})}},we.createElement(pe.default,{form:Ve,onFinish:Ge=>oe(void 0,null,function*(){var lt,Tt,Ke;if(!(Pe!=null&&Pe.size)){Ce.ZP.info("\u8BF7\u4E0A\u4F20\u6587\u4EF6");return}ue(!0);let Se=new FormData;Se.append("type",Re.actionTabs.type),Se.append("file",Pe);let Ft;window.location.href.indexOf("exercise")>-1?Ft=`/api/exercises/${Re.actionTabs.id}/supplement_score.json`:Ft=`/api/homework_commons/${Re.actionTabs.id}/supplement_score.json`;let It=yield(0,se.ZP)(Ft,{method:"post",body:Se},!0);ue(!1),(It==null?void 0:It.status)===0&&(ye(),Ve.resetFields(),_e({type:"classroomList/setActionTabs",payload:{}}),((Tt=(lt=It==null?void 0:It.data)==null?void 0:lt.fail)==null?void 0:Tt.length)>0&&ze.default.confirm({title:"\u5BFC\u5165\u5931\u8D25",closable:!0,icon:null,width:610,content:we.createElement(Fe.default,{pagination:!1,dataSource:(Ke=It==null?void 0:It.data)==null?void 0:Ke.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,Ne.FH)("",je.Z.API_SERVER+`/api/courses/get_external_score_fail_data.xlsx?type=${Re.actionTabs.type}`)}}))})},we.createElement(pe.default.Item,{label:"\u4F5C\u4E1A\u540D\u79F0",labelCol:{span:3},name:"name"},Re.actionTabs.name),we.createElement(pe.default.Item,{style:{marginBottom:0},label:we.createElement("div",null,we.createElement("span",{style:{color:"#ff4d4f",marginRight:5,fontFamily:"SimSun,sans-serif"}},"*"),we.createElement("span",null,"\u5BFC\u5165\u6587\u4EF6")),labelCol:{span:3},rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u4F5C\u4E1A\u540D\u79F0"}]},we.createElement("div",null,we.createElement("a",{download:"\u6A21\u7248.xlsx",className:De.Z.downloadbutton,href:je.Z.API_SERVER+`/api/courses/down_external_score_template.json?type=${Re.actionTabs.type}`},"\u4E0B\u8F7D\u6A21\u7248\u8868\u683C"),we.createElement("span",{style:{marginLeft:10,color:"#999999"}},"\uFF08\u6839\u636E\u63D0\u793A\u4FE1\u606F\u5B8C\u5584\u8868\u683C\u5185\u5BB9\uFF09")),we.createElement(pe.default.Item,{style:{marginBottom:0}},we.createElement(Be,$e({},Xe),we.createElement("a",{className:De.Z.downloadbutton,style:{width:96}},"\u9009\u62E9\u6587\u4EF6"),we.createElement("br",null),we.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"))))))};Ct.Z=(0,ge.connect)(({classroomList:Re})=>({classroomList:Re}))(tt)},87962:function(mn,Ct,E){"use strict";var y=E(59301),Ae=E(94968),pe=E(28284),ze=E(62957),Ce=E(6767),Fe=E(70858),ge=E(37568),je=E(77019),De=E(5269),se=E(4875),Ue=E(24017),me=E(44283),Ne=E(39116),we=E(14185),be=E(83889),he=E(49317),ce=E(28450),Ie=E(66649),Ze=E.n(Ie),$e=E(76406),oe=E(59301),Be=Object.defineProperty,tt=Object.getOwnPropertySymbols,Re=Object.prototype.hasOwnProperty,_e=Object.prototype.propertyIsEnumerable,ye=(Oe,ue,Xe)=>ue in Oe?Be(Oe,ue,{enumerable:!0,configurable:!0,writable:!0,value:Xe}):Oe[ue]=Xe,Le=(Oe,ue)=>{for(var Xe in ue||(ue={}))Re.call(ue,Xe)&&ye(Oe,Xe,ue[Xe]);if(tt)for(var Xe of tt(ue))_e.call(ue,Xe)&&ye(Oe,Xe,ue[Xe]);return Oe},Ve=(Oe,ue,Xe)=>new Promise((Ge,lt)=>{var Tt=Ft=>{try{Se(Xe.next(Ft))}catch(It){lt(It)}},Ke=Ft=>{try{Se(Xe.throw(Ft))}catch(It){lt(It)}},Se=Ft=>Ft.done?Ge(Ft.value):Promise.resolve(Ft.value).then(Tt,Ke);Se((Xe=Xe.apply(Oe,ue)).next())});const{Dragger:Pe}=Ae.default,it=({classroomList:Oe,dispatch:ue,onOk:Xe})=>{const Ge=(0,me.useParams)(),[lt]=pe.default.useForm(),[Tt,Ke]=(0,y.useState)(),[Se,Ft]=(0,y.useState)(!1),It={height:100,onRemove:()=>{Ke("")},accept:".xls,.xlsx",maxCount:1,multiple:!1,beforeUpload:ut=>Ve(void 0,null,function*(){return Ke(ut),!1})};return(0,y.useEffect)(()=>{lt.setFieldsValue({publish_time:Ze()(Ze()(new Date).add(0,"days").format("YYYY-MM-DD HH:mm")),end_time:Ze()(Ze()(new Date((0,$e.qd)("/"))).add(7,"days").format("YYYY-MM-DD HH:mm"))})},[Oe.actionTabs.key==="\u5BFC\u5165\u5916\u90E8\u6210\u7EE9"]),oe.createElement(ze.default,{centered:!0,title:"\u5BFC\u5165\u5916\u90E8\u6210\u7EE9",open:Oe.actionTabs.key==="\u5BFC\u5165\u5916\u90E8\u6210\u7EE9",okText:"\u786E\u5B9A",width:750,destroyOnClose:!0,cancelText:"\u53D6\u6D88",okButtonProps:{loading:Se},onOk:()=>Ve(void 0,null,function*(){lt.submit()}),onCancel:()=>{lt.resetFields(),ue({type:"classroomList/setActionTabs",payload:{}})}},oe.createElement(pe.default,{form:lt,colon:!1,onFinish:ut=>Ve(void 0,null,function*(){var xe,ke,at;if(!(Tt!=null&&Tt.size)){Ce.ZP.info("\u8BF7\u4E0A\u4F20\u6587\u4EF6");return}Ft(!0);let Rt=new FormData;Rt.append("name",ut.name),Rt.append("type",Oe.actionTabs.type),Rt.append("category_id",(Ge==null?void 0:Ge.categoryId)||null),Oe.actionTabs.type==="exercise"?(Rt.append("time",ut.time||""),Rt.append("total_score",ut.total_score)):Rt.append("description",ut.description||""),Rt.append("publish_time",Ze()(ut.publish_time).format("YYYY-MM-DD HH:mm")),Rt.append("end_time",Ze()(ut.end_time).format("YYYY-MM-DD HH:mm")),Rt.append("file",Tt);let ft=yield(0,he.ZP)(`/api/courses/${Ge.coursesId}/export_external_score_homework.json`,{method:"post",body:Rt},!0);Ft(!1),(ft==null?void 0:ft.status)===0&&(lt.resetFields(),ue({type:"classroomList/setActionTabs",payload:{}}),Xe(),((ke=(xe=ft==null?void 0:ft.data)==null?void 0:xe.fail)==null?void 0:ke.length)>0&&ze.default.confirm({title:"\u5BFC\u5165\u5931\u8D25",closable:!0,icon:null,width:610,content:oe.createElement(Fe.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,$e.FH)("",we.Z.API_SERVER+`/api/courses/get_external_score_fail_data.xlsx?type=${Oe.actionTabs.type}`)}}))})},oe.createElement(pe.default.Item,{label:Oe.actionTabs.type!=="exercise"?"\u4F5C\u4E1A":"\u8BD5\u5377\u540D\u79F0",labelCol:{span:3},name:"name",rules:[{required:!0,message:`\u8BF7\u8F93\u5165${Oe.actionTabs.type!=="exercise"?"\u4F5C\u4E1A":"\u8BD5\u5377"}\u540D\u79F0`}]},oe.createElement(ge.default,{showCount:!0,placeholder:`\u8BF7\u8F93\u5165${Oe.actionTabs.type!=="exercise"?"\u4F5C\u4E1A":"\u8BD5\u5377"}\u540D\u79F0`,maxLength:60})),Oe.actionTabs.type!=="exercise"&&oe.createElement(pe.default.Item,{label:"\u4F5C\u4E1A\u63CF\u8FF0",labelCol:{span:3},name:"description"},oe.createElement(Ne.Z,{watch:!0})),Oe.actionTabs.type==="exercise"&&oe.createElement(je.Z,{style:{marginLeft:6}},oe.createElement(De.Z,{span:12},oe.createElement(pe.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(ge.default,{placeholder:"\u8BF7\u8F93\u5165\u8BD5\u5377\u603B\u5206",style:{width:256},addonAfter:"\u5206"}))),oe.createElement(De.Z,{span:12},oe.createElement(pe.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(je.Z,{style:{marginLeft:6,marginBottom:12}},oe.createElement(De.Z,{span:12},oe.createElement(pe.default.Item,{label:"\u5F00\u59CB\u65F6\u95F4",name:"publish_time",rules:[{required:!0,message:"\u8BF7\u9009\u62E9\u5F00\u59CB\u65F6\u95F4"}]},oe.createElement(Ue.default,{placeholder:"\u8BF7\u9009\u62E9\u53D1\u5E03\u65F6\u95F4",showTime:{format:"HH:mm"},style:{width:256},disabledDate:ut=>(0,ce.Q8)(ut),disabledTime:ut=>(0,ce.d0)(ut),allowClear:!1,format:"YYYY-MM-DD HH:mm"}))),oe.createElement(De.Z,{span:12},oe.createElement(pe.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(Ue.default,{placeholder:"\u8BF7\u9009\u62E9\u53D1\u5E03\u65F6\u95F4",showTime:{format:"HH:mm"},style:{width:"100%"},disabledDate:ut=>(0,ce.Q8)(ut,"",lt.getFieldValue("publish_time")),disabledTime:ut=>(0,ce.d0)(ut,lt.getFieldValue("publish_time")),allowClear:!1,format:"YYYY-MM-DD HH:mm"})))),oe.createElement(pe.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:be.Z.downloadbutton,href:we.Z.API_SERVER+`/api/courses/down_external_score_template.json?type=${Oe.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(pe.default.Item,{style:{marginBottom:0}},oe.createElement(Pe,Le({},It),oe.createElement("a",{className:be.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"))))))};Ct.Z=(0,me.connect)(({classroomList:Oe})=>({classroomList:Oe}))(it)},56404:function(mn,Ct,E){"use strict";E.d(Ct,{Z:function(){return Ue}});var y=E(59301),Ae=E(93041),pe=E(37568),ze=E(62673),Ce=E(7939),Fe=E(75727),ge={bottomControlContainer:"bottomControlContainer___woAeo",buttonWrap:"buttonWrap___iRw4K",moveCategory:"moveCategory___oiQqw"},je=E(15267),De=E(84105),Ue=({buttonDataSource:me,onButtonClick:Ne,useBatchStatus:we,allSelect:be,setAllSelect:he,selectArrs:ce,onMenuClick:Ie,setSeleArr:Ze,catalogue:$e,addCatalogue:oe})=>{const[Be,tt]=(0,y.useState)(!1),[Re,_e]=(0,y.useState)("");console.log("---",$e);const ye=y.createElement("div",{className:ge.moveCategory,onMouseLeave:Le=>tt(!1)},y.createElement(Ae.default,{onClick:Ie,style:{maxHeight:300,width:240,overflow:"auto"}},y.createElement("li",{className:"ant-menu-item multi-llipsis1e ant-menu-item-only-child"},y.createElement(pe.default,{onChange:Le=>{_e(Le.target.value)}})),$e==null?void 0:$e.map(function(Le,Ve){var Pe;if(!(Re!==""&&Le.category_name.indexOf(Re)<0))return y.createElement(y.Fragment,null,y.createElement(Ae.default.Item,{className:"multi-llipsis1e",key:Le.category_id,title:Le.category_name},Le.category_name),(Pe=Le==null?void 0:Le.third_category)==null?void 0:Pe.map(it=>y.createElement(Ae.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:ge.bottomControlContainer},y.createElement("div",null,y.createElement("div",null,y.createElement(ze.default,{checked:be,onChange:he},"\u5168\u9009\u672C\u9875\uFF08",ce.length,"\uFF09")),(0,je.GJ)()&&me.map(Le=>y.createElement("div",{key:Le.name},y.createElement(Ce.ZP,{type:"primary",icon:Le.icon,className:ge.buttonWrap,onClick:()=>Ne(Le)},Le.name))),(0,je.GJ)()&&(oe||$e)&&y.createElement("div",null,y.createElement(Fe.Z,{open:Be,placement:"topLeft",autoAdjustOverflow:!1,dropdownRender:()=>ye,getPopupContainer:Le=>Le.parentNode},y.createElement("span",{className:"ant-dropdown-link",onMouseEnter:Le=>tt(!0)},y.createElement(Ce.ZP,{type:"primary",className:ge.buttonWrap,icon:y.createElement("i",{className:"iconfont icon-yidongmulu"})},y.createElement("span",null,"\u79FB\u52A8\u5230\u76EE\u5F55 ",y.createElement(De.Z,null))))))),y.createElement("div",null,y.createElement(Ce.ZP,{type:"primary",ghost:!0,onClick:()=>{we(!1),Ze([])}},"\u53D6\u6D88\u64CD\u4F5C")))}},44624:function(mn,Ct,E){"use strict";E.d(Ct,{Z:function(){return ce}});var y=E(59301),Ae=E(44283),pe=E(24017),ze=E(62957),Ce=E(37568),Fe=E(6767),ge=E(77019),je=E(5269),De={title_tooltip:"title_tooltip___LLdrn",multiple_select:"multiple_select___kDXUm",modal_con:"modal_con___ERnkW"},se=E(66649),Ue=E.n(se),me=E(76406),Ne=E(90736),we=E(59301);const{RangePicker:be}=pe.default,he=({dispatch:Ie,classroomList:Ze,onConfirm:$e})=>{const[oe,Be]=(0,y.useState)([]),[tt,Re]=(0,y.useState)([]),[_e,ye]=(0,y.useState)(""),[Le,Ve]=(0,y.useState)([!1,!1]);(0,y.useEffect)(()=>{var Oe,ue,Xe,Ge;if(Ze.actionTabs.key==="\u5206\u73ED\u53D1\u5E03-\u53D1\u5E03\u89C4\u5219\u62C6\u5206"){console.log((Oe=Ze.actionTabs)==null?void 0:Oe.rangePickerDisabled),(ue=Ze.actionTabs)!=null&&ue.rangePickerDisabled?Ve((Xe=Ze.actionTabs)==null?void 0:Xe.rangePickerDisabled):Ve([!1,!1]);let lt=Ze.actionTabs.data,Tt=(Ge=lt==null?void 0:lt.group_name)==null?void 0:Ge.map((Ke,Se)=>{var Ft;return{group_id:lt==null?void 0:lt.group_id[Se],group_name:lt==null?void 0:lt.group_name[Se],is_admin:lt==null?void 0:lt.is_admin,end_time:lt==null?void 0:lt.end_time,publish_time:Array.isArray(lt==null?void 0:lt.publish_time)?(Ft=lt==null?void 0:lt.publish_time)==null?void 0:Ft[0]:lt==null?void 0:lt.publish_time}});Tt&&(Be([...Tt]),Re([...Tt]))}},[Ze.actionTabs]);const Pe=()=>{Ie({type:"classroomList/setActionTabs",payload:{}}),ye("")},it=Oe=>{if(Oe){const ue=tt==null?void 0:tt.filter(Xe=>{var Ge,lt;return(lt=(Ge=Xe==null?void 0:Xe.group_name)==null?void 0:Ge.toLowerCase())==null?void 0:lt.includes(Oe==null?void 0:Oe.toLowerCase())});Be(ue)}else Be(tt)};return we.createElement(ze.default,{width:980,title:we.createElement("div",{style:{fontWeight:"bold",display:"flex"}},we.createElement("div",null,"\u5206\u73ED\u53D1\u5E03-\u53D1\u5E03\u89C4\u5219\u62C6\u5206",we.createElement("span",{className:De.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")),we.createElement(Ce.default.Search,{allowClear:!0,placeholder:"\u8BF7\u8F93\u5165\u5173\u952E\u5B57\u8FDB\u884C\u641C\u7D22",style:{width:220,marginLeft:"60px"},value:_e,onChange:Oe=>{ye(Oe.target.value.trim()),it(Oe.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 Oe;if(tt.some(Xe=>!Xe.end_time||!Xe.publish_time)){Fe.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}$e((Oe=Ze.actionTabs)==null?void 0:Oe.index,tt),Pe()}},we.createElement("div",{className:De.modal_con},we.createElement(ge.Z,{style:{display:"flex",color:"#666666",padding:"5px",marginTop:"1px"}},(oe==null?void 0:oe.length)>0?oe.map(function(Oe,ue){return we.createElement(je.Z,{span:24,key:ue},we.createElement(ge.Z,{gutter:[8,16],style:{display:"flex",alignItems:"center",marginBottom:ue==(oe==null?void 0:oe.length)-1?"0px":"10px"}},we.createElement("div",{className:De.multiple_select,title:Oe==null?void 0:Oe.group_name},Oe==null?void 0:Oe.group_name),we.createElement("div",{className:"ml20"},we.createElement(be,{size:"large",allowClear:!1,disabled:Le,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:Xe=>{var Ge;return(0,me.Q8)(Xe,(Ge=Ze.actionTabs)==null?void 0:Ge.disabledDate)},disabledTime:Xe=>(0,me.d0)(Xe),showTime:{showNow:!0,format:"HH:mm",defaultValue:[Ue()((0,me.U6)(),"HH:mm"),Ue()((0,me.U6)(),"HH:mm")]},format:"YYYY-MM-DD HH:mm",value:(Oe==null?void 0:Oe.publish_time)&&[Ue()(Oe==null?void 0:Oe.publish_time),Oe!=null&&Oe.end_time?Ue()(Oe==null?void 0:Oe.end_time):void 0],onChange:(Xe,Ge)=>{oe[ue].publish_time=Ge[0],oe[ue].end_time=Ge[1],Be([...oe]),tt.forEach(lt=>{lt.group_id===(Oe==null?void 0:Oe.group_id)&&(lt.publish_time=Ge[0],lt.end_time=Ge[1])}),Re([...tt])},onCalendarChange:(Xe,Ge,lt)=>{if(Ge!=null&&Ge[0]&&!Ge[1]){const Tt=Ue()(Ge[0]).add(7,"days");oe[ue].publish_time=Ge[0],oe[ue].end_time=Tt,Be([...oe]),tt.forEach(Ke=>{Ke.group_id===(Oe==null?void 0:Oe.group_id)&&(Ke.publish_time=Ge[0],Ke.end_time=Tt)}),Re([...tt])}}})),Le[0]?we.createElement("i",{className:"iconfont icon-shanjian1 ml15",style:{color:"#E30000",opacity:"0.2",cursor:"not-allowed"}}):we.createElement("i",{className:"iconfont icon-shanjian1 ml15",style:{cursor:"pointer",color:"#E30000"},onClick:()=>{oe.splice(ue,1),Be([...oe]),tt.forEach((Xe,Ge)=>{Xe.group_id===(Oe==null?void 0:Oe.group_id)&&tt.splice(Ge,1)}),Re([...tt])}})))}):we.createElement(Ne.Z,null))))};var ce=(0,Ae.connect)(({classroomList:Ie})=>({classroomList:Ie}))(he)},42986:function(mn,Ct,E){"use strict";E.d(Ct,{Z:function(){return Ze}});var y=E(59301),Ae=E(93041),pe=E(62673),ze=E(7939),Ce=E(75727),Fe=E(25399),ge=E(82326),je=E(37568),De={searchSortControllerContainer:"searchSortControllerContainer___Xca1m",btn:"btn___sNJPX",btnSort:"btnSort___Fx9OM",tips:"tips___LrmpR",capacity:"capacity___kEj1v",title:"title___kVH8u",value:"value___EvnCZ"},se=E(15267),Ue=E(87395),me=E(84105),Ne=E(26724),we=E.n(Ne),be=E(44283),he=E(76406),ce=($e,oe,Be)=>new Promise((tt,Re)=>{var _e=Ve=>{try{Le(Be.next(Ve))}catch(Pe){Re(Pe)}},ye=Ve=>{try{Le(Be.throw(Ve))}catch(Pe){Re(Pe)}},Le=Ve=>Ve.done?tt(Ve.value):Promise.resolve(Ve.value).then(_e,ye);Le((Be=Be.apply($e,oe)).next())}),Ze=({dataSource:$e,batchStatus:oe,SortMenuName:Be,setSortMenuName:tt,detailCourseGroupsList:Re,onSearch:_e,onBoard:ye,onSort:Le,isboard:Ve,dispatch:Pe,onBatch:it,SortMenus:Oe,capacity:ue,isShowMode:Xe=!1,isLeftAuto:Ge=!1,onModeChange:lt})=>{var Tt,Ke,Se,Ft;const It=location.pathname.includes("attachment")||location.pathname.includes("video"),[ut,xe]=(0,y.useState)(!1),[ke,at]=(0,y.useState)([]),[Rt,ft]=(0,y.useState)(!0);let[Nt,xt]=(0,y.useState)([]);const[Xt,Wt]=(0,y.useState)(1),[de,ne]=(0,y.useState)(!1),te=(0,be.useDispatch)(),le=(Ke=(Tt=(0,se.eY)())==null?void 0:Tt.paid_version)==null?void 0:Ke.version_type,{globalSetting:ve}=(0,be.getDvaApp)()._store.getState(),re=(0,be.useParams)(),fe=nt=>{tt(nt.name),Le(nt)};(0,y.useEffect)(()=>{},[Ve]);const Ye=()=>ce(void 0,null,function*(){var nt;if(Rt&&!de){ne(!0),Wt(Xt+1);const mt=yield Pe({type:"classroomList/getCourseGroupsList",payload:{page:Xt,id:re.coursesId,limit:20,nonenavigate:!0}});let yt=[...(mt==null?void 0:mt.course_groups)||[]];((nt=mt==null?void 0:mt.course_groups)==null?void 0:nt.length)<20&&(ft(!1),yt.push({id:0,name:"\u672A\u5206\u73ED"})),ne(!1),xt([...Nt,...yt])}}),vt=y.createElement("section",{className:De.dropmenu},y.createElement("div",{style:{maxHeight:200,overflow:"auto"}},y.createElement(we(),{initialLoad:!1,pageStart:1,threshold:20,loadMore:nt=>{Ye()},hasMore:Rt,useWindow:!1},y.createElement(Ae.default,{style:{width:240,zIndex:10}},(Re==null?void 0:Re.group_count)>0&&(Nt==null?void 0:Nt.filter(nt=>nt.edit_auth||nt.name==="\u672A\u5206\u73ED").map(function(nt,mt){return y.createElement(Ae.default.Item,{key:nt.id},y.createElement(pe.default,{checked:ke.includes(nt.id),value:nt.id,onChange:yt=>{let St=ke.indexOf(nt.id);ke.indexOf(nt.id)>-1?at(ke.filter(Qe=>Qe!==nt.id)):at(ke.concat(nt.id))}},nt.name))}))))),y.createElement("aside",{style:{background:"#fff"}},y.createElement("div",null,y.createElement(ze.ZP,{type:"link",onClick:()=>{ye(ke)}},"\u786E\u5B9A"),y.createElement(ze.ZP,{type:"link",onClick:()=>{at([])}},"\u91CD\u7F6E")))),et=Be==="\u9ED8\u8BA4\u6392\u5E8F";return y.createElement("div",{className:De.searchSortControllerContainer},!!(Oe!=null&&Oe.length)&&y.createElement("div",null,y.createElement(Ce.Z,{dropdownRender:()=>y.createElement(Ae.default,{selectedKeys:[Be]},Oe.map(nt=>y.createElement(Ae.default.Item,{key:nt.name,onClick:()=>fe(nt)},nt.name)))},y.createElement("div",null,y.createElement("span",{className:`${De.btn} ${et?De.btnSort:""}`},y.createElement("i",{className:"iconfont icon-paixu font14 mr5"}),Be)))),et&&y.createElement(Fe.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:De.tips},y.createElement("i",{className:"iconfont icon-a-wenhaobeifen2"}))),Xe&&y.createElement(ge.default,{defaultValue:"",onChange:lt,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)()&&It&&(0,se.GJ)()&&((Se=ve==null?void 0:ve.setting)==null?void 0:Se.main_site)&&y.createElement(Fe.Z,{overlayInnerStyle:{width:"380px"},title:y.createElement("div",null,"\u60A8\u7684\u3010",(Ft=he.vs[le])==null?void 0:Ft.name,"\u3011\u8D26\u53F7\u6700\u591A\u652F\u6301\u4F7F\u7528",(0,he.RD)((ue==null?void 0:ue.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:De.capacity},y.createElement("div",{className:De.title},"\u8D44\u6599\u5BB9\u91CF"),y.createElement("div",{className:De.value},(()=>{const nt=(0,he.Mi)((ue==null?void 0:ue.used)||0,(ue==null?void 0:ue.total)||0,!0);return y.createElement(y.Fragment,null,nt==null?void 0:nt.split("/")[0],y.createElement("span",{style:{color:"#5F6A95"}},"/",nt==null?void 0:nt.split("/")[1]))})()))),y.createElement(je.default.Search,{allowClear:!0,placeholder:"\u8BF7\u8F93\u5165\u540D\u79F0\u8FDB\u884C\u641C\u7D22",onSearch:_e,style:{width:220,marginLeft:Ge?"auto":Xe||!(0,se.Ny)()&&(0,se.GJ)()?"":"auto"}}),(0,se.eB)()&&Ve&&y.createElement(Ce.Z,{dropdownRender:()=>vt,open:ut,onOpenChange:nt=>{Nt!=null&&Nt.length||Ye(),xe(nt)}},y.createElement("a",null,"\u5206\u73ED",ut?y.createElement(Ue.Z,{style:{marginLeft:6}}):y.createElement(me.Z,{style:{marginLeft:6}}))))}},37934:function(mn,Ct,E){"use strict";E.d(Ct,{Z:function(){return Ne}});var y=E(59301),Ae=E(77019),pe=E(5269),ze=E(93041),Ce=E(75727),Fe=E(6767),ge=E(25399),je={tabMenuContainer:"tabMenuContainer___uf5IP",control:"control___GheLs",iconH:"iconH___Wzw_r",selectBtn:"selectBtn___mfEnI",selectBtn1:"selectBtn1___rJF8S"},De=E(44283),se=E(15267),Ue=E(76406),Ne=({isLoading:we,addText:be,tabDataSource:he,isAdmin:ce,dispatch:Ie,classroomList:Ze,type:$e,isExercise:oe,defaultSelectedKeys:Be,onTabMenuClick:tt,getDropdownMenu:Re,showControlButton:_e,buttonText:ye,buttonIcon:Le="icon-tianjiadaohang",extraNode:Ve,user:Pe,onButtonClick:it,isModelUser:Oe,menuItemWidth:ue=125,showExtra:Xe=!1})=>{var Ge,lt,Tt,Ke,Se;const Ft=(0,De.useParams)();return y.createElement("div",{className:je.tabMenuContainer},y.createElement(Ae.Z,null,y.createElement(pe.Z,{flex:"1"},y.createElement(ze.default,{onSelect:It=>we?{}:tt(It),mode:"horizontal",selectedKeys:Be},he.map(It=>y.createElement(ze.default.Item,{style:{width:ue},key:typeof It.index=="number"?It.index:It.id},y.createElement("span",{className:"c-grey-666"},It.name),It.total!==void 0&&ce&&y.createElement("span",{className:"c-grey-999 ml20"},It.total||0))))),ce&&oe&&y.createElement("i",{className:"iconfont icon-shezhi8",style:{display:"flex",alignItems:"center",cursor:"pointer"},onClick:()=>{Ie({type:"classroomList/setActionTabs",payload:{key:"\u5728\u7EBF\u8003\u8BD5\u8BBE\u7F6E"}})}}),(ce||Xe)&&y.createElement(pe.Z,{className:"mr20 gutter-row",style:{display:"flex",alignItems:"center",color:"#0152d9",paddingBottom:3}},oe&&y.createElement(Ce.Z,{className:"mr15",placement:"bottom",arrow:!0,dropdownRender:()=>y.createElement(ze.default,null,y.createElement(ze.default.Item,{key:1,onClick:()=>{var It;if(!(0,Ue.Ye)(Ie)){if((0,se.Rm)()&&!((It=Ze.AssistantObject.exercise)!=null&&It.can_download)){Fe.ZP.warning("\u60A8\u672A\u83B7\u53D6\u6B64\u6743\u9650\uFF0C\u9700\u5411\u8BFE\u5802\u7BA1\u7406\u5458\u7533\u8BF7\u6743\u9650\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD");return}Ie({type:"classroomList/setActionTabs",payload:{key:"\u5BFC\u51FA\u6210\u7EE9",type:$e,exportType:"exercise",category_id:Ft.categoryId}})}}},"\u5B66\u751F\u6210\u7EE9"),y.createElement(ze.default.Item,{key:3,onClick:()=>{var It;if(!(0,Ue.Ye)(Ie)){if((0,se.Rm)()&&!((It=Ze.AssistantObject.exercise)!=null&&It.can_download)){Fe.ZP.warning("\u60A8\u672A\u83B7\u53D6\u6B64\u6743\u9650\uFF0C\u9700\u5411\u8BFE\u5802\u7BA1\u7406\u5458\u7533\u8BF7\u6743\u9650\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD");return}De.history.push(`/classrooms/${Ft==null?void 0:Ft.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:je.control},y.createElement("div",{className:je.extra},Ve),_e&&(ye=="\u6DFB\u52A0\u76F4\u64AD"?y.createElement(Ce.Z,{menu:{items:(lt=(Ge=[{label:y.createElement("div",{onClick:()=>{it("\u5916\u94FE")}},"\u5916\u94FE\u76F4\u64AD"),key:"1",show:!0},(Oe||(0,se.ag)())&&{label:y.createElement("div",{onClick:()=>{it("\u5934\u6B4C")}},"\u5934\u6B4C\u76F4\u64AD"),key:"2",show:!0}])==null?void 0:Ge.filter(It=>It==null?void 0:It.show))==null?void 0:lt.map(It=>({label:It==null?void 0:It.label,key:It==null?void 0:It.key}))}},y.createElement("span",{className:je.selectBtn},y.createElement("span",null,y.createElement("i",{className:`iconfont ${Le}`})),y.createElement("span",null,ye))):y.createElement("span",{onClick:it,style:{cursor:"pointer"},className:je.selectBtn},y.createElement("span",null,y.createElement("i",{className:`iconfont ${Le}`})),y.createElement("span",null,ye))),!!Re&&y.createElement(Ce.Z,{disabled:((Tt=Pe==null?void 0:Pe.userInfo)==null?void 0:Tt.user_status)===2,className:"ml10",dropdownRender:Re},y.createElement("span",{className:((Ke=Pe==null?void 0:Pe.userInfo)==null?void 0:Ke.user_status)===2?je.selectBtn1:je.selectBtn},y.createElement("span",null,y.createElement("i",{className:"iconfont icon-tianjiadaohang"})),y.createElement(ge.Z,{title:((Se=Pe==null?void 0:Pe.userInfo)==null?void 0:Se.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,be||"\u521B\u5EFA\u8BD5\u5377"))))))))}},7192:function(mn,Ct,E){"use strict";E.d(Ct,{$i:function(){return Le},K1:function(){return Pe},O7:function(){return it},T$:function(){return ye}});var y=E(70467),Ae=E(37166),pe=E(84849),ze=E(32352),Ce=E(63392),Fe=E(62957),ge=E(28284),je=E(6767),De=E(37568),se=E(77019),Ue=E(5269),me=E(59301),Ne=E(44283),we=E(28209),be=E.n(we),he=E(76406),ce=E(59301),Ie=Object.defineProperty,Ze=Object.getOwnPropertySymbols,$e=Object.prototype.hasOwnProperty,oe=Object.prototype.propertyIsEnumerable,Be=(Oe,ue,Xe)=>ue in Oe?Ie(Oe,ue,{enumerable:!0,configurable:!0,writable:!0,value:Xe}):Oe[ue]=Xe,tt=(Oe,ue)=>{for(var Xe in ue||(ue={}))$e.call(ue,Xe)&&Be(Oe,Xe,ue[Xe]);if(Ze)for(var Xe of Ze(ue))oe.call(ue,Xe)&&Be(Oe,Xe,ue[Xe]);return Oe},Re=(Oe,ue,Xe)=>new Promise((Ge,lt)=>{var Tt=Ft=>{try{Se(Xe.next(Ft))}catch(It){lt(It)}},Ke=Ft=>{try{Se(Xe.throw(Ft))}catch(It){lt(It)}},Se=Ft=>Ft.done?Ge(Ft.value):Promise.resolve(Ft.value).then(Tt,Ke);Se((Xe=Xe.apply(Oe,ue)).next())});const _e=Oe=>{const ue=be().enc.Utf8.parse("c03f36595bd5610b");return be().AES.encrypt(Oe||"",ue,{iv:ue,mode:be().mode.CBC}).toString()},ye=({onCancel:Oe,open:ue})=>ce.createElement(Fe.default,{title:"\u63D0\u793A",width:619,centered:!0,open:ue,destroyOnClose:!0,okText:"\u7ACB\u5373\u524D\u5F80",cancelText:"\u7A0D\u540E\u518D\u8BF4",onCancel:Oe,onOk:()=>{Ne.history.push("/account/secure")}},ce.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")),Le=({onCancel:Oe,onFinish:ue,open:Xe,Data:Ge})=>{const[lt]=ge.default.useForm(),[,Tt,Ke]=(0,Ce.U)((Ge==null?void 0:Ge.type)=="exercise"?pe.yE:Ae.yE,{id:Ge==null?void 0:Ge.id});return(0,me.useEffect)(()=>{Xe||lt.resetFields()},[Xe]),ce.createElement(Fe.default,{title:"\u8BD5\u5377\u52A0\u5BC6\u5C01\u5B58",width:619,centered:!0,open:Xe,destroyOnClose:!0,confirmLoading:Tt,onCancel:Oe,onOk:()=>{lt==null||lt.submit()}},ce.createElement("div",{className:"pt16 pb16 pl12 pr12 rounded-4px flex item-center gap-8px",style:{background:"rgba(233, 127, 55, .06)",color:"#FA6400"}},ce.createElement("i",{className:"iconfont icon-tishi7"}),ce.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")),ce.createElement(ge.default,{form:lt,className:"mt-20px",size:"large",colon:!1,onFinish:Se=>Re(void 0,null,function*(){const Ft=yield Ke({id:Ge==null?void 0:Ge.id,is_encrypt:!0,pwd:_e(Se.pwd),pwd_confirm:_e(Se.pwd_confirm)});Ft.status===0?(je.ZP.success("\u52A0\u5BC6\u6210\u529F"),ue==null||ue(Ft),Oe()):lt.setFields([{name:"pwd",errors:[Ft==null?void 0:Ft.message]}])})},ce.createElement(ge.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"}]},ce.createElement(De.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"})),ce.createElement(ge.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:Se})=>({validator(Ft,It){return!It||Se("pwd")===It?Promise.resolve():Promise.reject(new Error("\u4E24\u6B21\u8F93\u5165\u7684\u5BC6\u7801\u4E0D\u4E00\u81F4"))}})]},ce.createElement(De.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:Oe,open:ue,Data:Xe})=>{var Ge;const[lt]=ge.default.useForm(),[Tt]=ge.default.useForm(),[Ke,Se]=(0,me.useState)(!1),[Ft,It]=(0,me.useState)(0),[,,ut]=(0,Ce.U)(ze.o1,{type:(Xe==null?void 0:Xe.type)=="exercise"?12:11}),[,xe,ke]=(0,Ce.U)((Xe==null?void 0:Xe.type)=="exercise"?pe.dp:Ae.dp,{id:Xe==null?void 0:Xe.id}),[,at,Rt]=(0,Ce.U)((Xe==null?void 0:Xe.type)=="exercise"?pe.Qc:Ae.Qc,{id:Xe==null?void 0:Xe.id});return(0,me.useEffect)(()=>{var ft;Xe!=null&&Xe.phone&<.setFieldsValue({login:(ft=Xe==null?void 0:Xe.phone)==null?void 0:ft.replace(/(\d{3})\d{4}(\d{4})/,"$1****$2")})},[Xe==null?void 0:Xe.phone]),(0,me.useEffect)(()=>{Ft>0&&setTimeout(()=>{It(Ft-1)},1e3)},[Ft]),(0,me.useEffect)(()=>{ue||(lt.resetFields(),Tt.resetFields())},[ue]),ce.createElement(ce.Fragment,null,ce.createElement(Fe.default,{title:"\u624B\u673A\u53F7\u7801\u6821\u9A8C",width:619,centered:!0,open:ue,destroyOnClose:!0,confirmLoading:xe,onCancel:Oe,onOk:()=>{lt==null||lt.submit()}},ce.createElement("div",{style:{color:"#191919"}},"\u8BF7\u5148\u8FDB\u884C\u624B\u673A\u53F7\u7801\u6821\u9A8C"),ce.createElement(ge.default,{className:"mt20",initialValues:{phone:(Ge=Xe==null?void 0:Xe.phone)==null?void 0:Ge.replace(/(\d{3})\d{4}(\d{4})/,"$1****$2")},form:lt,size:"large",colon:!1,onFinish:ft=>Re(void 0,null,function*(){console.log("allValue",ft);const Nt=yield ke({code:ft==null?void 0:ft.code,login:Xe==null?void 0:Xe.phone,id:Xe==null?void 0:Xe.id});Nt.status===0?(je.ZP.success("\u6821\u9A8C\u6210\u529F"),Oe==null||Oe(),Se(!0)):lt.setFields([{name:"code",errors:[Nt==null?void 0:Nt.message]}])})},ce.createElement(ge.default.Item,{label:"\u624B\u673A\u53F7",name:"login",required:!0},ce.createElement(De.default,{placeholder:"\u8BF7\u8F93\u5165\u624B\u673A\u53F7",disabled:!0})),ce.createElement(se.Z,{wrap:!1,gutter:20},ce.createElement(Ue.Z,{flex:1},ce.createElement(ge.default.Item,{label:"\u9A8C\u8BC1\u7801",name:"code",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u9A8C\u8BC1\u7801"}]},ce.createElement(De.default,{placeholder:"\u8BF7\u8F93\u5165\u9A8C\u8BC1\u7801"}))),ce.createElement(Ue.Z,null,ce.createElement(y.op,{openLoading:!0,size:"large",disabled:Ft>0,style:{borderRadius:"4px"},onClick:()=>Re(void 0,null,function*(){const ft=yield ut({type:(Xe==null?void 0:Xe.type)=="exercise"?12:11,login:Xe==null?void 0:Xe.phone,smscode:(0,he.M)(Xe==null?void 0:Xe.phone)});(ft==null?void 0:ft.status)===1&&(je.ZP.success("\u53D1\u9001\u6210\u529F"),It(60))})},Ft===0?"\u83B7\u53D6\u9A8C\u8BC1\u7801":`(${Ft})\u79D2\u53EF\u91CD\u65B0\u83B7\u53D6`))))),ce.createElement(Fe.default,{title:"\u91CD\u7F6E\u5C01\u5B58\u5BC6\u7801",width:619,centered:!0,open:Ke,destroyOnClose:!0,confirmLoading:at,onCancel:()=>{Se(!1)},onOk:()=>{Tt==null||Tt.submit()}},ce.createElement(ge.default,{className:"mt20",form:Tt,size:"large",colon:!1,onFinish:ft=>Re(void 0,null,function*(){console.log("allValue",ft),(yield Rt(tt({id:Xe==null?void 0:Xe.id},ft))).status===0&&(je.ZP.success("\u91CD\u7F6E\u6210\u529F"),Se(!1))})},ce.createElement(ge.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"}]},ce.createElement(De.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"})),ce.createElement(ge.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(Nt,xt){return!xt||ft("pwd")===xt?Promise.resolve():Promise.reject(new Error("\u4E24\u6B21\u8F93\u5165\u7684\u5BC6\u7801\u4E0D\u4E00\u81F4"))}})]},ce.createElement(De.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:Oe,onFinish:ue,open:Xe,Data:Ge})=>{const[lt]=ge.default.useForm(),[Tt,Ke]=(0,me.useState)(!1),[,Se,Ft]=(0,Ce.U)((Ge==null?void 0:Ge.type)=="exercise"?pe.yE:Ae.yE,{id:Ge==null?void 0:Ge.id});return(0,me.useEffect)(()=>{Xe||lt.resetFields()},[Xe]),ce.createElement(ce.Fragment,null,ce.createElement(Fe.default,{title:"\u8BD5\u5377\u89E3\u5C01",width:619,centered:!0,open:Xe,destroyOnClose:!0,confirmLoading:Se,onCancel:Oe,onOk:()=>{lt==null||lt.submit()}},ce.createElement(se.Z,{wrap:!1,align:"top",gutter:16},ce.createElement(Ue.Z,{flex:1},ce.createElement(ge.default,{form:lt,size:"large",colon:!1,onFinish:It=>Re(void 0,null,function*(){const ut=yield Ft({id:Ge==null?void 0:Ge.id,is_encrypt:!1,pwd:_e(It.pwd)});(ut==null?void 0:ut.status)===0?(je.ZP.success("\u89E3\u5C01\u6210\u529F"),ue==null||ue(ut),Oe==null||Oe()):lt.setFields([{name:"pwd",errors:[ut==null?void 0:ut.message]}])})},ce.createElement(ge.default.Item,{label:"\u5C01\u5B58\u5BC6\u7801",name:"pwd",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u5C01\u5B58\u5BC6\u7801"}]},ce.createElement(De.default.Password,{placeholder:"\u8BF7\u8F93\u5165\u5C01\u5B58\u5BC6\u7801"})))),ce.createElement(Ue.Z,null,ce.createElement("a",{style:{lineHeight:"40px",whiteSpace:"nowrap"},onClick:()=>{Ke(!0),Oe==null||Oe()}},"\u5FD8\u8BB0\u5BC6\u7801\uFF1F")))),ce.createElement(Ve,{onCancel:()=>{Ke(!1)},open:Tt,Data:tt({},Ge)}))},it=({onCancel:Oe,onFinish:ue,open:Xe,Data:Ge})=>{const[lt]=ge.default.useForm(),[Tt,Ke]=(0,me.useState)(!1),[,Se,Ft]=(0,Ce.U)((Ge==null?void 0:Ge.type)=="exercise"?pe.yE:Ae.yE,{id:Ge==null?void 0:Ge.id});return(0,me.useEffect)(()=>{Xe||lt.resetFields()},[Xe]),ce.createElement(ce.Fragment,null,ce.createElement(Fe.default,{title:"\u63D0\u793A",width:619,centered:!0,open:Xe,destroyOnClose:!0,confirmLoading:Se,onCancel:Oe,onOk:()=>{lt==null||lt.submit()}},ce.createElement("div",{className:"pt16 pb16 pl12 pr12 rounded-4px flex item-center gap-8px",style:{background:"rgba(233, 127, 55, .06)",color:"#FA6400"}},ce.createElement("i",{className:"iconfont icon-tishi7"}),ce.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")),ce.createElement(ge.default,{form:lt,className:"mt-20px",size:"large",colon:!1,onFinish:It=>Re(void 0,null,function*(){const ut=yield Ft({id:Ge==null?void 0:Ge.id,is_encrypt:!1,pwd:_e(It.pwd)});(ut==null?void 0:ut.status)===0?(je.ZP.success("\u89E3\u5C01\u6210\u529F"),ue==null||ue(ut),Oe==null||Oe()):lt.setFields([{name:"pwd",errors:[ut==null?void 0:ut.message]}])})},ce.createElement(se.Z,{wrap:!1,gutter:20},ce.createElement(Ue.Z,{flex:1},ce.createElement(ge.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"}]},ce.createElement(De.default.Password,{placeholder:"\u8BF7\u8F93\u5165\u5C01\u5B58\u5BC6\u7801"}))),ce.createElement(Ue.Z,null,ce.createElement("a",{style:{lineHeight:"40px",whiteSpace:"nowrap"},onClick:()=>{Ke(!0),Oe==null||Oe()}},"\u5FD8\u8BB0\u5BC6\u7801\uFF1F"))))),ce.createElement(Ve,{onCancel:()=>{Ke(!1)},open:Tt,Data:tt({},Ge)}))}},63392:function(mn,Ct,E){"use strict";E.d(Ct,{U:function(){return De}});var y=E(59301),Ae=Object.defineProperty,pe=Object.getOwnPropertySymbols,ze=Object.prototype.hasOwnProperty,Ce=Object.prototype.propertyIsEnumerable,Fe=(se,Ue,me)=>Ue in se?Ae(se,Ue,{enumerable:!0,configurable:!0,writable:!0,value:me}):se[Ue]=me,ge=(se,Ue)=>{for(var me in Ue||(Ue={}))ze.call(Ue,me)&&Fe(se,me,Ue[me]);if(pe)for(var me of pe(Ue))Ce.call(Ue,me)&&Fe(se,me,Ue[me]);return se},je=(se,Ue,me)=>new Promise((Ne,we)=>{var be=Ie=>{try{ce(me.next(Ie))}catch(Ze){we(Ze)}},he=Ie=>{try{ce(me.throw(Ie))}catch(Ze){we(Ze)}},ce=Ie=>Ie.done?Ne(Ie.value):Promise.resolve(Ie.value).then(be,he);ce((me=me.apply(se,Ue)).next())});function De(se,Ue){const[me,Ne]=(0,y.useState)(Ue),[we,be]=(0,y.useState)(!1),[he,ce]=(0,y.useState)();return[me,we,(Ze,$e=!1)=>je(this,null,function*(){const oe=$e?Ue:ge(ge({},me),Ze);be(!0),Ne(oe);const Be=yield se(oe);return be(!1),ce(Be),Be}),he,ce]}},20047:function(mn,Ct,E){"use strict";E.d(Ct,{AL:function(){return oe},Iy:function(){return Ue},Qv:function(){return we},ez:function(){return $e},jb:function(){return me}});var y=E(32834),Ae=E.n(y),pe=E(11690),ze=E.n(pe);let Ce=1;function Fe(ye,Le){const Ve=ye.match(/^(\s+)(?:```)/);if(Ve===null)return Le;const Pe=Ve[1];return Le.split(`
|
|
|
`).map(it=>{const Oe=it.match(/^\s+/);if(Oe===null)return it;const[ue]=Oe;return ue.length>=Pe.length?it.slice(Pe.length):it}).join(`
|
|
|
`)}let ge=[],je=["<ul>"];const De=new(Ae()).Renderer,se=/^ *(#{1,6}) *([^\n]+?) *(?:#+ *)?(?:\n+|$)/;function Ue(){ge.length=0,je=["<ul>"]}const me={overflow:"hidden",WebkitBoxOrient:"vertical",display:"-webkit-box",WebkitLineClamp:2};function Ne(ye,Le,Ve,Pe){if(Le>=ye.length||ye[Le].level<=Ve)return Le;var it=ye[Le];Pe.push("<li><a href='#"+Ce+it.anchor+"'>"+it.text+"</a>"),Le++;var Oe=[];return Le=Ne(ye,Le,it.level,Oe),Oe.length>0&&(Pe.push("<ul>"),Oe.forEach(function(ue){Pe.push(ue)}),Pe.push("</ul>")),Pe.push("</li>"),Le=Ne(ye,Le,Ve,Pe),Le}function we(){return Ne(ge,0,0,je),je.push("</ul>"),je.join("")}const be={heading(ye){const Le=se.exec(ye);if(Ce+=1,Le)return{type:"heading",raw:Le[0],depth:Le[1].length,text:Le[2]}},fences(ye){const Le=this.rules.block.fences.exec(ye);if(Le){const Ve=Le[0];let Pe=Fe(Ve,Le[3]||"");const it=Le[2]?Le[2].trim():Le[2];if(["latex","katex","math"].indexOf(it)>=0){const Oe=Ie(),ue=Pe;Pe=Oe,Ze[Oe]={type:"block",expression:ue}}return{type:"code",raw:Ve,lang:it,text:Pe}}}},he=/(?:\${2})([^\n`]+?)(?:\${2})/gi;let ce=0;const Ie=()=>`__special_katext_id_${ce++}__`;let Ze={};function $e(){return Ze}function oe(){ce=0,Ze={}}function Be(ye){return ye=ye.replace(he,(Le,Ve)=>{const Pe=Ie();return Ze[Pe]={type:"inline",expression:Ve},Pe}),ye}const tt=De.listitem;De.listitem=function(ye){return tt(Be(ye))};const Re=De.paragraph;De.paragraph=function(ye){return Re(Be(ye))};const _e=De.tablecell;De.tablecell=function(ye,Le){return _e(Be(ye),Le)},De.code=function(ye,Le,Ve){const Pe=(Le||"").match(/\S*/)[0];return Pe?["latex","katex","math"].indexOf(Pe)>=0?`<p class='editormd-tex'>${ye}</p>`:`<pre class="prettyprint linenums"><code class="language-${Le}">${Ve?ye:(0,pe.escape)(ye,!0)}</code></pre>
|
|
|
`:'<pre class="prettyprint linenums"><code>'+(Ve?ye:(0,pe.escape)(ye,!0))+"</code></pre>"},De.heading=function(ye,Le,Ve){let Pe=this.options.headerPrefix+Ve.toLowerCase().replace(/[^\w\\u4e00-\\u9fa5]]+/g,"-");return ge.push({anchor:Pe,level:Le,text:ye}),"<h"+Le+' id="'+Ce+Pe+'">'+ye+"</h"+Le+">"},Ae().setOptions({silent:!0,gfm:!0,pedantic:!1}),Ae().use({tokenizer:be,renderer:De}),Ct.ZP=Ae()},24532:function(mn,Ct,E){"use strict";E.d(Ct,{rX:function(){return Be},pW:function(){return tt},gy:function(){return Re},xY:function(){return oe},O5:function(){return $e},hs:function(){return he},tJ:function(){return we},o1:function(){return be},Rd:function(){return Ze}});var y=E(44283),Ae=E(62957),pe=E(37285),ze=E(6767),Ce=E(15267),Fe=E(76406),ge=E(87169),je=E(25510),De="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAZAAAAGQCAIAAAAP3aGbAAAABGdBTUEAALGPC/xhBQAAACBjSFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAABmJLR0QA/wD/AP+gvaeTAAAACXBIWXMAABcRAAAXEQHKJvM/AAAouElEQVR42u3de5gU1Z038HOqqu89PQPMhQHkNqCiCCK5qMRojIkXRNFERDTGNRvik5hNjPtgzEuyJLq6sq/EbEyy+u5jjBEhSEREvKyXQJRVs1FEMARhhhlgLsDAMD3T96o67x8zzPQMPTPVU12XX8/38/D4PDZdVedUd3+py6nf4UIIBgBAgeR0AwAAjEJgAQAZCCwAIAOBBQBkILAAgAwEFgCQgcACADIQWABABgILAMhAYAEAGQgsACADgQUAZCCwAIAMxfhbOedOt7a/nKUmcrbT2aIUxned8Xaa/DhMbsi2dppk8nO3ovG27XnbemTbDmE4wgIAQhBYAEAGAgsAyEBgAQAZCC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Yg7NIP99vRd+tKDlg2zutYLxJzk7/Ydv+dOEcKwPBERYAkIHAAgAyEFgAQAYCCwDIQGABABkILAAgowiHNYzk4QJWPEzvwm7mZEVlBZP1Epwd65CTbSMYLBq5giMsACADgQUAZCCwAIAMBBYAkIHAAgAyEFgAQIYlwxpaWlrMLG5yBgrbSvfbVnKASsED25j8iE2u0/jiJsc6uLBWhLPrZBYFVsHnvAEAYDglBABCEFgAQAYCCwDIQGABABlmL7qvWrUqHA5b3cotW7bYszsAwM24FXeIbUPl0XPbahsY76ZtU3W48+64ma0bZ9tnZFtdB9tKoQwEp4QAQAYCCwDIQGABABkILAAgA4EFAGQgsACAjDyGNQAAOAtHWABABgILAMhAYAEAGQgsACADgQUAZCCwAIAMBBYAkIHAAgAyEFgAQAYCCwDIQGABABkILAAgA4EFAGQgsACAjP8Prqme11Be/zoAAAAASUVORK5CYII=",se=E.p+"static/newqrcode.a8740efb.png",Ue=E(32637),me=E(59301),Ne=(_e,ye,Le)=>new Promise((Ve,Pe)=>{var it=Xe=>{try{ue(Le.next(Xe))}catch(Ge){Pe(Ge)}},Oe=Xe=>{try{ue(Le.throw(Xe))}catch(Ge){Pe(Ge)}},ue=Xe=>Xe.done?Ve(Xe.value):Promise.resolve(Xe.value).then(it,Oe);ue((Le=Le.apply(_e,ye)).next())});const we=(_e,ye=!1,Le=!1,Ve="",Pe=!1)=>!!(be(_e)&&ce(_e,ye,Le,Ve,Pe)),be=_e=>(0,Ce.bg)()?!0:(_e({type:"user/showPopLogin",payload:{showPopLogin:!0,showClosable:!0}}),!1),he=_e=>{var ye,Le,Ve;const{user:Pe}=(0,y.getDvaApp)()._store.getState();(0,Ce.bg)()&&!((Le=(ye=Pe==null?void 0:Pe.userInfo)==null?void 0:ye.course)!=null&&Le.course_public)&&!((Ve=Pe==null?void 0:Pe.userInfo)!=null&&Ve.profile_completed)&&_e({type:"user/showUpdateProfilePanel",payload:{showUpdateProfilePanel:!0,showClosable:!0,backurl:"/account/profile/edit",isCurrentPage:!0}})},ce=(_e,ye=!1,Le=!0,Ve="",Pe=!1)=>{var it;const{user:Oe}=(0,y.getDvaApp)()._store.getState();return(it=Oe.userInfo)!=null&&it.profile_completed?!0:(Le?_e({type:"user/showUpdateProfilePanel",payload:{showUpdateProfilePanel:!0,showClosable:!0,backurl:Ve,isCurrentPage:Pe}}):Ae.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,Fe.xg)("/account/profile/edit"),Ie()}}),!1)},Ie=()=>{Ae.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=()=>{Ae.default.warning({title:"\u63D0\u793A",icon:null,width:400,content:me.createElement("div",{style:{textAlign:"center"}},me.createElement("div",{style:{color:"#191919",fontSize:14,marginBottom:15,textAlign:"left"}},"\u8001\u5E08\u60A8\u597D\uFF0C\u60A8\u7684\u8BFE\u5802\u8BD5\u7528\u671F\u5DF2\u7ED3\u675F\uFF0C\u76F8\u5173\u529F\u80FD\u88AB\u9650\u5236\u3002 \u5982\u9700\u7EE7\u7EED\u4F7F\u7528\uFF0C\u8BF7\u5C3D\u5FEB\u5BF9\u63A5\u4EBA\u5DE5\u652F\u6301\uFF01"),me.createElement("img",{style:{border:"1px solid #D8E3E9",width:190,height:180},src:Ue}),me.createElement("div",{style:{color:"#666666",fontSize:14,marginTop:15}},"\u6DFB\u52A0\u5BA2\u670D\u4EBA\u5458\u5FAE\u4FE1\uFF0C\u83B7\u5F97\u66F4\u591A\u652F\u6301"))})},$e=()=>{var _e;const{user:ye}=(0,y.getDvaApp)()._store.getState();return(_e=ye.userInfo)!=null&&_e.professional_certification?!0:(Ae.default.confirm({title:"\u63D0\u793A",centered:!0,content:me.createElement("div",{className:"tc"},"\u60A8\u9700\u8981\u53BB\u5B8C\u6210\u60A8\u7684\u804C\u4E1A\u8BA4\u8BC1\uFF0C\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD"),okText:"\u7ACB\u5373\u5B8C\u5584",cancelText:"\u7A0D\u540E\u5B8C\u5584",onOk:()=>{(0,Fe.xg)("/account/certification")}}),!1)},oe=()=>(0,Ce.V9)()?!0:(Ae.default.warning({centered:!0,width:530,title:"\u63D0\u793A",content:me.createElement("div",{className:"tc",style:{marginLeft:-38}},me.createElement("p",null,"\u626B\u7801\u52A0\u5934\u6B4C\u52A9\u6559\uFF0C\u7533\u8BF7\u64CD\u4F5C\u6743\u9650"),me.createElement("img",{src:se,width:200})),okText:"\u6211\u77E5\u9053\u4E86",maskClosable:!0}),!1),Be=(_e,ye)=>_e?!0:(Ae.default.confirm({centered:!0,zIndex:1e4,width:530,title:"\u63D0\u793A",content:me.createElement("div",null,me.createElement("p",null,ye||"\u8BE5\u5B9E\u8DF5\u8D44\u6E90\u9700\u6388\u6743\u540E\u624D\u53EF\u4F7F\u7528\u3002 \u60A8\u53EF\u4EE5\u5728QQ\u670D\u52A1\u7FA4\u5411\u7BA1\u7406\u5458\u7533\u8BF7\uFF0C\u83B7\u5F97\u7EE7\u7EED\u64CD\u4F5C\u7684\u6743\u9650\u3002"),me.createElement("div",{style:{marginLeft:"110px"}},me.createElement("img",{src:De,width:200}),me.createElement("div",{style:{marginLeft:"35px"}},"\u7FA4\u53F7\uFF1A","714336072"))),okText:"\u7ACB\u5373\u8054\u7CFB",cancelText:"\u53D6\u6D88",onOk:()=>{(0,Fe.xg)("https://qm.qq.com/cgi-bin/qm/qr?k=tIyDPXUtE0yEk-MOJxhH55lTUJS-nYAM&jump_from=webapi")}}),!1),tt=_e=>{Ae.default.info({title:"\u8054\u7CFB\u5E73\u53F0\u8FD0\u8425",icon:null,width:615,centered:!0,content:me.createElement("div",null,me.createElement("div",null,me.createElement("p",{style:{color:"#191919",fontWeight:400,fontSize:14}},"\u201C\u4FDD\u5B58\u5B9E\u9A8C\u4E34\u65F6\u6570\u636E\u201D\u529F\u80FD\u4E3A\u4ED8\u8D39\u529F\u80FD\uFF0C\u8BF7\u8054\u7CFB\u5E73\u53F0\u8FD0\u8425\u8FDB\u884C\u5F00\u901A\u3002"),me.createElement(pe.Z,null),me.createElement("p",{style:{color:"#666666",fontSize:12}}," ",me.createElement("span",{style:{display:"inline-flex",width:14,height:14,borderRadius:2,background:"#F3F3F3",justifyContent:"center",color:"#666666",fontSize:12,lineHeight:"14px",marginRight:8}},"1")," \u56E0\u5E73\u53F0\u7684\u5B9E\u9A8C\u6570\u636E\u50A8\u5B58\u5BB9\u91CF\u548C\u6210\u672C\u6D88\u8017\u8F83\u5927\uFF0C\u5B9E\u8DF5\u9879\u76EE\u9ED8\u8BA4\u4FDD\u5B58\u5B9E\u9A8C\u73AF\u5883\u4E2D\u4E34\u65F6\u6570\u636E ",me.createElement("a",null,_e),"\u5929\u3002"),me.createElement("p",{style:{color:"#666666",fontSize:12}}," ",me.createElement("span",{style:{display:"inline-flex",width:14,height:14,borderRadius:2,background:"#F3F3F3",justifyContent:"center",color:"#666666",fontSize:12,lineHeight:"14px",marginRight:8}},"2"),"\u82E5\u60A8\u9700\u8981\u4E2A\u6027\u5316\u7684\u6570\u636E\u4FDD\u5B58\u5468\u671F\u670D\u52A1\uFF0C\u6211\u4EEC\u53EF\u4EE5\u63D0\u4F9B\u76F8\u5173\u6280\u672F\u652F\u6301\uFF0C\u5E76\u6839\u636E\u60A8\u7684\u9700\u6C42\u6536\u53D6\u5B9A\u5236\u8D39\u7528\u3002")),me.createElement("div",{style:{textAlign:"center",marginTop:30}},me.createElement("img",{style:{border:"4px solid #0152d9",borderRadius:"4px"},src:je,alt:"\u4E8C\u7EF4\u7801",width:160})))})},Re=(_e,ye="")=>{const{shixunsDetail:{detail:Le}}=(0,y.getDvaApp)()._store.getState();if((Le==null?void 0:Le.public)===2||(Le==null?void 0:Le.public)===1||(Le==null?void 0:Le.shixun_status)===3){let Ve="";return(Le==null?void 0:Le.public)===2&&(Ve="\u5DF2\u516C\u5F00"),(Le==null?void 0:Le.public)===1&&(Ve="\u5F85\u5BA1\u6838"),(Le==null?void 0:Le.shixun_status)===3&&(Ve="\u5DF2\u5173\u95ED"),Ae.default.info({centered:!0,icon:me.createElement(ge.Z,{style:{color:"#faad14"}}),width:460,title:"\u63D0\u793A",content:me.createElement("div",{className:"tc",style:{marginLeft:-38}},me.createElement("div",{style:{display:"flex",flexDirection:"column",alignItems:"flex-start",paddingLeft:38,margin:"12px 0"}},me.createElement("span",null,"\u8BE5\u5B9E\u8DF5\u9879\u76EE\u7684\u72B6\u6001\u4E3A",Ve,"\uFF0C",ye,"\u3002"),me.createElement("p",null,"\u5982\u6709\u9700\u8981\uFF0C\u8BF7\u8054\u7CFB\u5E73\u53F0\u7BA1\u7406\u5458\u8FDB\u884C\u6280\u672F\u652F\u6301\u3002")),me.createElement("img",{style:{border:"4px solid #0152d9",borderRadius:"4px"},src:je,alt:"\u4E8C\u7EF4\u7801",width:160})),okText:"\u6211\u77E5\u9053\u4E86"}),!0}return(Le==null?void 0:Le.shixun_status)===2?(Ae.default.confirm({centered:!0,icon:me.createElement(ge.Z,null),title:"\u63D0\u793A",content:me.createElement("div",null,me.createElement("span",null,"\u8BE5\u5B9E\u8DF5\u9879\u76EE\u5DF2\u53D1\u5E03\uFF0C",ye,"\u3002"),me.createElement("br",null),me.createElement("span",null,"\u5982\u6709\u9700\u8981\uFF0C\u60A8\u53EF\u4EE5\u64A4\u9500\u53D1\u5E03\u540E\uFF0C\u518D\u8FDB\u884C\u64CD\u4F5C\u3002")),okText:"\u64A4\u9500\u53D1\u5E03",cancelText:"\u53D6\u6D88",onOk:()=>{Ae.default.confirm({width:440,centered:!0,icon:me.createElement(ge.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:()=>Ne(void 0,null,function*(){(yield _e({type:"shixunsDetail/cancelRelease",payload:{id:Le==null?void 0:Le.identifier}})).status!==401&&(ze.ZP.success("\u64A4\u9500\u53D1\u5E03\u6210\u529F\u3002\u5B9E\u8BAD\u56DE\u5230\u672A\u53D1\u5E03\u7684\u72B6\u6001\u3002"),_e({type:"shixunsDetail/getShixunsDetail",payload:{id:Le==null?void 0:Le.identifier}}),_e({type:"practiceSetting/getCommonData",payload:{id:Le==null?void 0:Le.identifier}}))})})}}),!0):!1}},9981:function(mn,Ct){"use strict";const E=function(){const y=Object.assign({},arguments.length<=0?void 0:arguments[0]);for(let Ae=1;Ae<arguments.length;Ae++){const pe=Ae<0||arguments.length<=Ae?void 0:arguments[Ae];pe&&Object.keys(pe).forEach(ze=>{const Ce=pe[ze];Ce!==void 0&&(y[ze]=Ce)})}return y};Ct.Z=E},86013:function(mn,Ct,E){"use strict";var y=E(59301),Ae=E(19248);const pe=ze=>{let Ce;return typeof ze=="object"&&(ze!=null&&ze.clearIcon)?Ce=ze:ze&&(Ce={clearIcon:y.createElement(Ae.Z,null)}),Ce};Ct.Z=pe},54500:function(mn,Ct,E){"use strict";E.d(Ct,{Z:function(){return y}});const y=Ae=>Ae?typeof Ae=="function"?Ae():Ae:null},97224:function(mn,Ct,E){"use strict";E.d(Ct,{F:function(){return y}});function y(pe){return pe!=null&&pe===pe.window}const Ae=pe=>{var ze,Ce;if(typeof window=="undefined")return 0;let Fe=0;return y(pe)?Fe=pe.pageYOffset:pe instanceof Document?Fe=pe.documentElement.scrollTop:(pe instanceof HTMLElement||pe)&&(Fe=pe.scrollTop),pe&&!y(pe)&&typeof Fe!="number"&&(Fe=(Ce=((ze=pe.ownerDocument)!==null&&ze!==void 0?ze:pe).documentElement)===null||Ce===void 0?void 0:Ce.scrollTop),Fe};Ct.Z=Ae},83010:function(mn,Ct,E){"use strict";E.d(Ct,{Z:function(){return ze}});var y=E(16089);function Ae(Ce,Fe,ge,je){const De=ge-Fe;return Ce/=je/2,Ce<1?De/2*Ce*Ce*Ce+Fe:De/2*((Ce-=2)*Ce*Ce+2)+Fe}var pe=E(97224);function ze(Ce){let Fe=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const{getContainer:ge=()=>window,callback:je,duration:De=450}=Fe,se=ge(),Ue=(0,pe.Z)(se),me=Date.now(),Ne=()=>{const be=Date.now()-me,he=Ae(be>De?De:be,Ue,Ce,De);(0,pe.F)(se)?se.scrollTo(window.pageXOffset,he):se instanceof Document||se.constructor.name==="HTMLDocument"?se.documentElement.scrollTop=he:se.scrollTop=he,be<De?(0,y.Z)(Ne):typeof je=="function"&&je()};(0,y.Z)(Ne)}},41780:function(mn,Ct,E){"use strict";var y=E(77654),Ae=E(16089);function pe(ze){let Ce;const Fe=je=>()=>{Ce=null,ze.apply(void 0,(0,y.Z)(je))},ge=function(){if(Ce==null){for(var je=arguments.length,De=new Array(je),se=0;se<je;se++)De[se]=arguments[se];Ce=(0,Ae.Z)(Fe(De))}};return ge.cancel=()=>{Ae.Z.cancel(Ce),Ce=null},ge}Ct.Z=pe},48608:function(mn,Ct,E){"use strict";E.d(Ct,{Z:function(){return $e}});var y=E(59301),Ae=E(92310),pe=E.n(Ae),ze=E(29301),Ce=E(41780),Fe=E(48755),ge=E(16931);const je=oe=>{const{componentCls:Be}=oe;return{[Be]:{position:"fixed",zIndex:oe.zIndexPopup}}},De=oe=>({zIndexPopup:oe.zIndexBase+10});var se=(0,ge.I$)("Affix",je,De);function Ue(oe){return oe!==window?oe.getBoundingClientRect():{top:0,bottom:window.innerHeight}}function me(oe,Be,tt){if(tt!==void 0&&Math.round(Be.top)>Math.round(oe.top)-tt)return tt+Be.top}function Ne(oe,Be,tt){if(tt!==void 0&&Math.round(Be.bottom)<Math.round(oe.bottom)+tt){const Re=window.innerHeight-Be.bottom;return tt+Re}}var we=function(oe,Be){var tt={};for(var Re in oe)Object.prototype.hasOwnProperty.call(oe,Re)&&Be.indexOf(Re)<0&&(tt[Re]=oe[Re]);if(oe!=null&&typeof Object.getOwnPropertySymbols=="function")for(var _e=0,Re=Object.getOwnPropertySymbols(oe);_e<Re.length;_e++)Be.indexOf(Re[_e])<0&&Object.prototype.propertyIsEnumerable.call(oe,Re[_e])&&(tt[Re[_e]]=oe[Re[_e]]);return tt};const be=["resize","scroll","touchstart","touchmove","touchend","pageshow","load"];function he(){return typeof window!="undefined"?window:null}const ce=0,Ie=1;var $e=y.forwardRef((oe,Be)=>{var tt;const{style:Re,offsetTop:_e,offsetBottom:ye,prefixCls:Le,className:Ve,rootClassName:Pe,children:it,target:Oe,onChange:ue,onTestUpdatePosition:Xe}=oe,Ge=we(oe,["style","offsetTop","offsetBottom","prefixCls","className","rootClassName","children","target","onChange","onTestUpdatePosition"]),{getPrefixCls:lt,getTargetContainer:Tt}=y.useContext(Fe.E_),Ke=lt("affix",Le),[Se,Ft]=y.useState(!1),[It,ut]=y.useState(),[xe,ke]=y.useState(),at=y.useRef(ce),Rt=y.useRef(null),ft=y.useRef(null),Nt=y.useRef(null),xt=y.useRef(null),Xt=y.useRef(null),Wt=(tt=Oe!=null?Oe:Tt)!==null&&tt!==void 0?tt:he,de=ye===void 0&&_e===void 0?0:_e,ne=()=>{if(at.current!==Ie||!xt.current||!Nt.current||!Wt)return;const yt=Wt();if(yt){const St={status:ce},Qe=Ue(Nt.current);if(Qe.top===0&&Qe.left===0&&Qe.width===0&&Qe.height===0)return;const st=Ue(yt),en=me(Qe,st,de),Kt=Ne(Qe,st,ye);en!==void 0?(St.affixStyle={position:"fixed",top:en,width:Qe.width,height:Qe.height},St.placeholderStyle={width:Qe.width,height:Qe.height}):Kt!==void 0&&(St.affixStyle={position:"fixed",bottom:Kt,width:Qe.width,height:Qe.height},St.placeholderStyle={width:Qe.width,height:Qe.height}),St.lastAffix=!!St.affixStyle,Se!==St.lastAffix&&(ue==null||ue(St.lastAffix)),at.current=St.status,ut(St.affixStyle),ke(St.placeholderStyle),Ft(St.lastAffix)}},te=()=>{at.current=Ie,ne()},le=(0,Ce.Z)(()=>{te()}),ve=(0,Ce.Z)(()=>{if(Wt&&It){const yt=Wt();if(yt&&Nt.current){const St=Ue(yt),Qe=Ue(Nt.current),st=me(Qe,St,de),en=Ne(Qe,St,ye);if(st!==void 0&&It.top===st||en!==void 0&&It.bottom===en)return}}te()}),re=()=>{const yt=Wt==null?void 0:Wt();yt&&(be.forEach(St=>{var Qe;ft.current&&((Qe=Rt.current)===null||Qe===void 0||Qe.removeEventListener(St,ft.current)),yt==null||yt.addEventListener(St,ve)}),Rt.current=yt,ft.current=ve)},fe=()=>{Xt.current&&(clearTimeout(Xt.current),Xt.current=null);const yt=Wt==null?void 0:Wt();be.forEach(St=>{var Qe;yt==null||yt.removeEventListener(St,ve),ft.current&&((Qe=Rt.current)===null||Qe===void 0||Qe.removeEventListener(St,ft.current))}),le.cancel(),ve.cancel()};y.useImperativeHandle(Be,()=>({updatePosition:le})),y.useEffect(()=>(Xt.current=setTimeout(re),()=>fe()),[]),y.useEffect(()=>{re()},[Oe,It,Se]),y.useEffect(()=>{le()},[Oe,_e,ye]);const[Ye,vt,et]=se(Ke),nt=pe()(Pe,vt,Ke,et),mt=pe()({[nt]:It});return Ye(y.createElement(ze.Z,{onResize:le},y.createElement("div",Object.assign({style:Re,className:Ve,ref:Nt},Ge),It&&y.createElement("div",{style:xe,"aria-hidden":"true"}),y.createElement("div",{className:mt,ref:xt,style:It},y.createElement(ze.Z,{onResize:le},it)))))})},62673:function(mn,Ct,E){"use strict";E.d(Ct,{default:function(){return ye}});var y=E(59301),Ae=E(92310),pe=E.n(Ae),ze=E(16632),Ce=E(8654),Fe=E(12919),ge=E(63872),je=E(48755),De=E(2171),se=E(83397),Ue=E(56553),Ne=y.createContext(null),we=E(36170),be=E(74632),he=function(Le,Ve){var Pe={};for(var it in Le)Object.prototype.hasOwnProperty.call(Le,it)&&Ve.indexOf(it)<0&&(Pe[it]=Le[it]);if(Le!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Oe=0,it=Object.getOwnPropertySymbols(Le);Oe<it.length;Oe++)Ve.indexOf(it[Oe])<0&&Object.prototype.propertyIsEnumerable.call(Le,it[Oe])&&(Pe[it[Oe]]=Le[it[Oe]]);return Pe};const ce=(Le,Ve)=>{var Pe;const{prefixCls:it,className:Oe,rootClassName:ue,children:Xe,indeterminate:Ge=!1,style:lt,onMouseEnter:Tt,onMouseLeave:Ke,skipGroup:Se=!1,disabled:Ft}=Le,It=he(Le,["prefixCls","className","rootClassName","children","indeterminate","style","onMouseEnter","onMouseLeave","skipGroup","disabled"]),{getPrefixCls:ut,direction:xe,checkbox:ke}=y.useContext(je.E_),at=y.useContext(Ne),{isFormItemInput:Rt}=y.useContext(Ue.aM),ft=y.useContext(De.Z),Nt=(Pe=(at==null?void 0:at.disabled)||Ft)!==null&&Pe!==void 0?Pe:ft,xt=y.useRef(It.value),Xt=y.useRef(null),Wt=(0,Ce.sQ)(Ve,Xt);y.useEffect(()=>{at==null||at.registerValue(It.value)},[]),y.useEffect(()=>{if(!Se)return It.value!==xt.current&&(at==null||at.cancelValue(xt.current),at==null||at.registerValue(It.value),xt.current=It.value),()=>at==null?void 0:at.cancelValue(It.value)},[It.value]),y.useEffect(()=>{var nt;!((nt=Xt.current)===null||nt===void 0)&&nt.input&&(Xt.current.input.indeterminate=Ge)},[Ge]);const de=ut("checkbox",it),ne=(0,se.Z)(de),[te,le,ve]=(0,we.ZP)(de,ne),re=Object.assign({},It);at&&!Se&&(re.onChange=function(){It.onChange&&It.onChange.apply(It,arguments),at.toggleOption&&at.toggleOption({label:Xe,value:It.value})},re.name=at.name,re.checked=at.value.includes(It.value));const fe=pe()(`${de}-wrapper`,{[`${de}-rtl`]:xe==="rtl",[`${de}-wrapper-checked`]:re.checked,[`${de}-wrapper-disabled`]:Nt,[`${de}-wrapper-in-form-item`]:Rt},ke==null?void 0:ke.className,Oe,ue,ve,ne,le),Ye=pe()({[`${de}-indeterminate`]:Ge},ge.A,le),[vt,et]=(0,be.Z)(re.onClick);return te(y.createElement(Fe.Z,{component:"Checkbox",disabled:Nt},y.createElement("label",{className:fe,style:Object.assign(Object.assign({},ke==null?void 0:ke.style),lt),onMouseEnter:Tt,onMouseLeave:Ke,onClick:vt},y.createElement(ze.Z,Object.assign({},re,{onClick:et,prefixCls:de,className:Ye,disabled:Nt,ref:Wt})),Xe!==void 0&&y.createElement("span",{className:`${de}-label`},Xe))))};var Ze=y.forwardRef(ce),$e=E(77654),oe=E(2738),Be=function(Le,Ve){var Pe={};for(var it in Le)Object.prototype.hasOwnProperty.call(Le,it)&&Ve.indexOf(it)<0&&(Pe[it]=Le[it]);if(Le!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Oe=0,it=Object.getOwnPropertySymbols(Le);Oe<it.length;Oe++)Ve.indexOf(it[Oe])<0&&Object.prototype.propertyIsEnumerable.call(Le,it[Oe])&&(Pe[it[Oe]]=Le[it[Oe]]);return Pe},Re=y.forwardRef((Le,Ve)=>{const{defaultValue:Pe,children:it,options:Oe=[],prefixCls:ue,className:Xe,rootClassName:Ge,style:lt,onChange:Tt}=Le,Ke=Be(Le,["defaultValue","children","options","prefixCls","className","rootClassName","style","onChange"]),{getPrefixCls:Se,direction:Ft}=y.useContext(je.E_),[It,ut]=y.useState(Ke.value||Pe||[]),[xe,ke]=y.useState([]);y.useEffect(()=>{"value"in Ke&&ut(Ke.value||[])},[Ke.value]);const at=y.useMemo(()=>Oe.map(Ye=>typeof Ye=="string"||typeof Ye=="number"?{label:Ye,value:Ye}:Ye),[Oe]),Rt=Ye=>{ke(vt=>vt.filter(et=>et!==Ye))},ft=Ye=>{ke(vt=>[].concat((0,$e.Z)(vt),[Ye]))},Nt=Ye=>{const vt=It.indexOf(Ye.value),et=(0,$e.Z)(It);vt===-1?et.push(Ye.value):et.splice(vt,1),"value"in Ke||ut(et),Tt==null||Tt(et.filter(nt=>xe.includes(nt)).sort((nt,mt)=>{const yt=at.findIndex(Qe=>Qe.value===nt),St=at.findIndex(Qe=>Qe.value===mt);return yt-St}))},xt=Se("checkbox",ue),Xt=`${xt}-group`,Wt=(0,se.Z)(xt),[de,ne,te]=(0,we.ZP)(xt,Wt),le=(0,oe.Z)(Ke,["value","disabled"]),ve=Oe.length?at.map(Ye=>y.createElement(Ze,{prefixCls:xt,key:Ye.value.toString(),disabled:"disabled"in Ye?Ye.disabled:Ke.disabled,value:Ye.value,checked:It.includes(Ye.value),onChange:Ye.onChange,className:`${Xt}-item`,style:Ye.style,title:Ye.title,id:Ye.id,required:Ye.required},Ye.label)):it,re={toggleOption:Nt,value:It,disabled:Ke.disabled,name:Ke.name,registerValue:ft,cancelValue:Rt},fe=pe()(Xt,{[`${Xt}-rtl`]:Ft==="rtl"},Xe,Ge,te,Wt,ne);return de(y.createElement("div",Object.assign({className:fe,style:lt},le,{ref:Ve}),y.createElement(Ne.Provider,{value:re},ve)))});const _e=Ze;_e.Group=Re,_e.__ANT_CHECKBOX=!0;var ye=_e},36170:function(mn,Ct,E){"use strict";E.d(Ct,{C2:function(){return Fe}});var y=E(36237),Ae=E(63356),pe=E(51636),ze=E(16931);const Ce=ge=>{const{checkboxCls:je}=ge,De=`${je}-wrapper`;return[{[`${je}-group`]:Object.assign(Object.assign({},(0,Ae.Wf)(ge)),{display:"inline-flex",flexWrap:"wrap",columnGap:ge.marginXS,[`> ${ge.antCls}-row`]:{flex:1}}),[De]:Object.assign(Object.assign({},(0,Ae.Wf)(ge)),{display:"inline-flex",alignItems:"baseline",cursor:"pointer","&:after":{display:"inline-block",width:0,overflow:"hidden",content:"'\\a0'"},[`& + ${De}`]:{marginInlineStart:0},[`&${De}-in-form-item`]:{'input[type="checkbox"]':{width:14,height:14}}}),[je]:Object.assign(Object.assign({},(0,Ae.Wf)(ge)),{position:"relative",whiteSpace:"nowrap",lineHeight:1,cursor:"pointer",borderRadius:ge.borderRadiusSM,alignSelf:"center",[`${je}-input`]:{position:"absolute",inset:0,zIndex:1,cursor:"pointer",opacity:0,margin:0,[`&:focus-visible + ${je}-inner`]:Object.assign({},(0,Ae.oN)(ge))},[`${je}-inner`]:{boxSizing:"border-box",display:"block",width:ge.checkboxSize,height:ge.checkboxSize,direction:"ltr",backgroundColor:ge.colorBgContainer,border:`${(0,y.unit)(ge.lineWidth)} ${ge.lineType} ${ge.colorBorder}`,borderRadius:ge.borderRadiusSM,borderCollapse:"separate",transition:`all ${ge.motionDurationSlow}`,"&:after":{boxSizing:"border-box",position:"absolute",top:"50%",insetInlineStart:"25%",display:"table",width:ge.calc(ge.checkboxSize).div(14).mul(5).equal(),height:ge.calc(ge.checkboxSize).div(14).mul(8).equal(),border:`${(0,y.unit)(ge.lineWidthBold)} solid ${ge.colorWhite}`,borderTop:0,borderInlineStart:0,transform:"rotate(45deg) scale(0) translate(-50%,-50%)",opacity:0,content:'""',transition:`all ${ge.motionDurationFast} ${ge.motionEaseInBack}, opacity ${ge.motionDurationFast}`}},"& + span":{paddingInlineStart:ge.paddingXS,paddingInlineEnd:ge.paddingXS}})},{[`
|
|
|
${De}:not(${De}-disabled),
|
|
|
${je}:not(${je}-disabled)
|
|
|
`]:{[`&:hover ${je}-inner`]:{borderColor:ge.colorPrimary}},[`${De}:not(${De}-disabled)`]:{[`&:hover ${je}-checked:not(${je}-disabled) ${je}-inner`]:{backgroundColor:ge.colorPrimaryHover,borderColor:"transparent"},[`&:hover ${je}-checked:not(${je}-disabled):after`]:{borderColor:ge.colorPrimaryHover}}},{[`${je}-checked`]:{[`${je}-inner`]:{backgroundColor:ge.colorPrimary,borderColor:ge.colorPrimary,"&:after":{opacity:1,transform:"rotate(45deg) scale(1) translate(-50%,-50%)",transition:`all ${ge.motionDurationMid} ${ge.motionEaseOutBack} ${ge.motionDurationFast}`}}},[`
|
|
|
${De}-checked:not(${De}-disabled),
|
|
|
${je}-checked:not(${je}-disabled)
|
|
|
`]:{[`&:hover ${je}-inner`]:{backgroundColor:ge.colorPrimaryHover,borderColor:"transparent"}}},{[je]:{"&-indeterminate":{[`${je}-inner`]:{backgroundColor:`${ge.colorBgContainer} !important`,borderColor:`${ge.colorBorder} !important`,"&:after":{top:"50%",insetInlineStart:"50%",width:ge.calc(ge.fontSizeLG).div(2).equal(),height:ge.calc(ge.fontSizeLG).div(2).equal(),backgroundColor:ge.colorPrimary,border:0,transform:"translate(-50%, -50%) scale(1)",opacity:1,content:'""'}},[`&:hover ${je}-inner`]:{backgroundColor:`${ge.colorBgContainer} !important`,borderColor:`${ge.colorPrimary} !important`}}}},{[`${De}-disabled`]:{cursor:"not-allowed"},[`${je}-disabled`]:{[`&, ${je}-input`]:{cursor:"not-allowed",pointerEvents:"none"},[`${je}-inner`]:{background:ge.colorBgContainerDisabled,borderColor:ge.colorBorder,"&:after":{borderColor:ge.colorTextDisabled}},"&:after":{display:"none"},"& + span":{color:ge.colorTextDisabled},[`&${je}-indeterminate ${je}-inner::after`]:{background:ge.colorTextDisabled}}}]};function Fe(ge,je){const De=(0,pe.mergeToken)(je,{checkboxCls:`.${ge}`,checkboxSize:je.controlInteractiveSize});return[Ce(De)]}Ct.ZP=(0,ze.I$)("Checkbox",(ge,je)=>{let{prefixCls:De}=je;return[Fe(De,ge)]})},38406:function(mn,Ct,E){"use strict";var y=E(59301),Ae=E(48755),pe=E(584);const ze=Ce=>{const{componentName:Fe}=Ce,{getPrefixCls:ge}=(0,y.useContext)(Ae.E_),je=ge("empty");switch(Fe){case"Table":case"List":return y.createElement(pe.Z,{image:pe.Z.PRESENTED_IMAGE_SIMPLE});case"Select":case"TreeSelect":case"Cascader":case"Transfer":case"Mentions":return y.createElement(pe.Z,{image:pe.Z.PRESENTED_IMAGE_SIMPLE,className:`${je}-small`});case"Table.filter":return null;default:return y.createElement(pe.Z,null)}};Ct.Z=ze},24017:function(mn,Ct,E){"use strict";E.d(Ct,{default:function(){return fs}});var y=E(66649),Ae=E.n(y),pe=E(9007),ze=E.n(pe),Ce=E(50991),Fe=E.n(Ce),ge=E(9084),je=E.n(ge),De=E(58626),se=E.n(De),Ue=E(13477),me=E.n(Ue),Ne=E(64796),we=E.n(Ne);Ae().extend(we()),Ae().extend(me()),Ae().extend(ze()),Ae().extend(Fe()),Ae().extend(je()),Ae().extend(se()),Ae().extend(function(ae,We){var dt=We.prototype,Dt=dt.format;dt.format=function(pn){var An=(pn||"").replace("Wo","wo");return Dt.bind(this)(An)}});var be={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"},he=function(We){var dt=be[We];return dt||We.split("_")[0]},ce=function(){},Ie={getNow:function(){var We=Ae()();return typeof We.tz=="function"?We.tz():We},getFixedDate:function(We){return Ae()(We,["YYYY-M-DD","YYYY-MM-DD"])},getEndDate:function(We){return We.endOf("month")},getWeekDay:function(We){var dt=We.locale("en");return dt.weekday()+dt.localeData().firstDayOfWeek()},getYear:function(We){return We.year()},getMonth:function(We){return We.month()},getDate:function(We){return We.date()},getHour:function(We){return We.hour()},getMinute:function(We){return We.minute()},getSecond:function(We){return We.second()},getMillisecond:function(We){return We.millisecond()},addYear:function(We,dt){return We.add(dt,"year")},addMonth:function(We,dt){return We.add(dt,"month")},addDate:function(We,dt){return We.add(dt,"day")},setYear:function(We,dt){return We.year(dt)},setMonth:function(We,dt){return We.month(dt)},setDate:function(We,dt){return We.date(dt)},setHour:function(We,dt){return We.hour(dt)},setMinute:function(We,dt){return We.minute(dt)},setSecond:function(We,dt){return We.second(dt)},setMillisecond:function(We,dt){return We.millisecond(dt)},isAfter:function(We,dt){return We.isAfter(dt)},isValidate:function(We){return We.isValid()},locale:{getWeekFirstDay:function(We){return Ae()().locale(he(We)).localeData().firstDayOfWeek()},getWeekFirstDate:function(We,dt){return dt.locale(he(We)).weekday(0)},getWeek:function(We,dt){return dt.locale(he(We)).week()},getShortWeekDays:function(We){return Ae()().locale(he(We)).localeData().weekdaysMin()},getShortMonths:function(We){return Ae()().locale(he(We)).localeData().monthsShort()},format:function(We,dt,Dt){return dt.locale(he(We)).format(Dt)},parse:function(We,dt,Dt){for(var Pt=he(We),pn=0;pn<Dt.length;pn+=1){var An=Dt[pn],Pn=dt;if(An.includes("wo")||An.includes("Wo")){for(var Xn=Pn.split("-")[0],qn=Pn.split("-")[1],In=Ae()(Xn,"YYYY").startOf("year").locale(Pt),ur=0;ur<=52;ur+=1){var pr=In.add(ur,"week");if(pr.format("Wo")===qn)return pr}return ce(),null}var hr=Ae()(Pn,An,!0).locale(Pt);if(hr.isValid())return hr}return dt&&ce(),null}}},Ze=Ie,$e=E(45915),oe=E(59301),Be=E(60499),tt={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"},Re=tt,_e=E(7657),ye=function(We,dt){return oe.createElement(_e.Z,(0,Be.Z)({},We,{ref:dt,icon:Re}))},Le=oe.forwardRef(ye),Ve=Le,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,Oe=function(We,dt){return oe.createElement(_e.Z,(0,Be.Z)({},We,{ref:dt,icon:it}))},ue=oe.forwardRef(Oe),Xe=ue,Ge={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M873.1 596.2l-164-208A32 32 0 00684 376h-64.8c-6.7 0-10.4 7.7-6.3 13l144.3 183H152c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h695.9c26.8 0 41.7-30.8 25.2-51.8z"}}]},name:"swap-right",theme:"outlined"},lt=Ge,Tt=function(We,dt){return oe.createElement(_e.Z,(0,Be.Z)({},We,{ref:dt,icon:lt}))},Ke=oe.forwardRef(Tt),Se=Ke,Ft=E(92310),It=E.n(Ft),ut=E(77654),xe=E(85899),ke=E(72190),at=E(70425),Rt=E(34280),ft=E(2738),Nt=E(26112),xt=E(48736),Xt=E(18642),Wt=E(68196);function de(ae,We){return ae!==void 0?ae:We?"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 We=ae.popupElement,dt=ae.popupStyle,Dt=ae.popupClassName,Pt=ae.popupAlign,pn=ae.transitionName,An=ae.getPopupContainer,Pn=ae.children,Xn=ae.range,qn=ae.placement,In=ae.builtinPlacements,ur=In===void 0?le:In,pr=ae.direction,hr=ae.visible,dr=ae.onClose,Cr=oe.useContext(te),xr=Cr.prefixCls,Sr="".concat(xr,"-dropdown"),qr=de(qn,pr==="rtl");return oe.createElement(Wt.Z,{showAction:[],hideAction:["click"],popupPlacement:qr,builtinPlacements:ur,prefixCls:Sr,popupTransitionName:pn,popup:We,popupAlign:Pt,popupVisible:hr,popupClassName:It()(Dt,(0,Xt.Z)((0,Xt.Z)({},"".concat(Sr,"-range"),Xn),"".concat(Sr,"-rtl"),pr==="rtl")),popupStyle:dt,stretch:"minWidth",getPopupContainer:An,onPopupVisibleChange:function(Br){Br||dr()}},Pn)}var re=ve;function fe(ae,We){for(var dt=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"0",Dt=String(ae);Dt.length<We;)Dt="".concat(dt).concat(Dt);return Dt}function Ye(ae){return ae==null?[]:Array.isArray(ae)?ae:[ae]}function vt(ae,We,dt){var Dt=(0,ut.Z)(ae);return Dt[We]=dt,Dt}function et(ae,We){var dt={},Dt=We||Object.keys(ae);return Dt.forEach(function(Pt){ae[Pt]!==void 0&&(dt[Pt]=ae[Pt])}),dt}function nt(ae,We,dt){if(dt)return dt;switch(ae){case"time":return We.fieldTimeFormat;case"datetime":return We.fieldDateTimeFormat;case"month":return We.fieldMonthFormat;case"year":return We.fieldYearFormat;case"quarter":return We.fieldQuarterFormat;case"week":return We.fieldWeekFormat;default:return We.fieldDateFormat}}function mt(ae,We,dt){var Dt=dt!==void 0?dt:We[We.length-1],Pt=We.find(function(pn){return ae[pn]});return Dt!==Pt?ae[Pt]:void 0}function yt(ae){return et(ae,["placement","builtinPlacements","popupAlign","getPopupContainer","transitionName","direction"])}function St(ae,We,dt,Dt){var Pt=oe.useMemo(function(){return ae||function(An,Pn){var Xn=An;return We&&Pn.type==="date"?We(Xn,Pn.today):dt&&Pn.type==="month"?dt(Xn,Pn.locale):Pn.originNode}},[ae,dt,We]),pn=oe.useCallback(function(An,Pn){return Pt(An,(0,xe.Z)((0,xe.Z)({},Pn),{},{range:Dt}))},[Pt,Dt]);return pn}function Qe(ae,We){var dt=arguments.length>2&&arguments[2]!==void 0?arguments[2]:[],Dt=oe.useState([!1,!1]),Pt=(0,ke.Z)(Dt,2),pn=Pt[0],An=Pt[1],Pn=function(In,ur){An(function(pr){return vt(pr,ur,In)})},Xn=oe.useMemo(function(){return pn.map(function(qn,In){if(qn)return!0;var ur=ae[In];return ur?!!(!dt[In]&&!ur||ur&&We(ur,{activeIndex:In})):!1})},[ae,pn,We,dt]);return[Xn,Pn]}function st(ae,We,dt,Dt,Pt){var pn="",An=[];return ae&&An.push(Pt?"hh":"HH"),We&&An.push("mm"),dt&&An.push("ss"),pn=An.join(":"),Dt&&(pn+=".SSS"),Pt&&(pn+=" A"),pn}function en(ae,We,dt,Dt,Pt,pn){var An=ae.fieldDateTimeFormat,Pn=ae.fieldDateFormat,Xn=ae.fieldTimeFormat,qn=ae.fieldMonthFormat,In=ae.fieldYearFormat,ur=ae.fieldWeekFormat,pr=ae.fieldQuarterFormat,hr=ae.yearFormat,dr=ae.cellYearFormat,Cr=ae.cellQuarterFormat,xr=ae.dayFormat,Sr=ae.cellDateFormat,qr=st(We,dt,Dt,Pt,pn);return(0,xe.Z)((0,xe.Z)({},ae),{},{fieldDateTimeFormat:An||"YYYY-MM-DD ".concat(qr),fieldDateFormat:Pn||"YYYY-MM-DD",fieldTimeFormat:Xn||qr,fieldMonthFormat:qn||"YYYY-MM",fieldYearFormat:In||"YYYY",fieldWeekFormat:ur||"gggg-wo",fieldQuarterFormat:pr||"YYYY-[Q]Q",yearFormat:hr||"YYYY",cellYearFormat:dr||"YYYY",cellQuarterFormat:Cr||"[Q]Q",cellDateFormat:Sr||xr||"D"})}function Kt(ae,We){var dt=We.showHour,Dt=We.showMinute,Pt=We.showSecond,pn=We.showMillisecond,An=We.use12Hours;return oe.useMemo(function(){return en(ae,dt,Dt,Pt,pn,An)},[ae,dt,Dt,Pt,pn,An])}var vn=E(43749);function nn(ae,We,dt){return dt!=null?dt:We.some(function(Dt){return ae.includes(Dt)})}var Yt=["showNow","showHour","showMinute","showSecond","showMillisecond","use12Hours","hourStep","minuteStep","secondStep","millisecondStep","hideDisabledOptions","defaultValue","disabledHours","disabledMinutes","disabledSeconds","disabledMilliseconds","disabledTime","changeOnScroll","defaultOpenValue"];function Jt(ae){var We=et(ae,Yt),dt=ae.format,Dt=ae.picker,Pt=null;return dt&&(Pt=dt,Array.isArray(Pt)&&(Pt=Pt[0]),Pt=(0,vn.Z)(Pt)==="object"?Pt.format:Pt),Dt==="time"&&(We.format=Pt),[We,Pt]}function cn(ae){return ae&&typeof ae=="string"}function bt(ae,We,dt,Dt){return[ae,We,dt,Dt].some(function(Pt){return Pt!==void 0})}function zt(ae,We,dt,Dt,Pt){var pn=We,An=dt,Pn=Dt;if(!ae&&!pn&&!An&&!Pn&&!Pt)pn=!0,An=!0,Pn=!0;else if(ae){var Xn,qn,In,ur=[pn,An,Pn].some(function(dr){return dr===!1}),pr=[pn,An,Pn].some(function(dr){return dr===!0}),hr=ur?!0:!pr;pn=(Xn=pn)!==null&&Xn!==void 0?Xn:hr,An=(qn=An)!==null&&qn!==void 0?qn:hr,Pn=(In=Pn)!==null&&In!==void 0?In:hr}return[pn,An,Pn,Pt]}function un(ae){var We=ae.showTime,dt=Jt(ae),Dt=(0,ke.Z)(dt,2),Pt=Dt[0],pn=Dt[1],An=We&&(0,vn.Z)(We)==="object"?We:{},Pn=(0,xe.Z)((0,xe.Z)({defaultOpenValue:An.defaultOpenValue||An.defaultValue},Pt),An),Xn=Pn.showMillisecond,qn=Pn.showHour,In=Pn.showMinute,ur=Pn.showSecond,pr=bt(qn,In,ur,Xn),hr=zt(pr,qn,In,ur,Xn),dr=(0,ke.Z)(hr,3);return qn=dr[0],In=dr[1],ur=dr[2],[Pn,(0,xe.Z)((0,xe.Z)({},Pn),{},{showHour:qn,showMinute:In,showSecond:ur,showMillisecond:Xn}),Pn.format,pn]}function Cn(ae,We,dt,Dt,Pt){var pn=ae==="time";if(ae==="datetime"||pn){for(var An=Dt,Pn=nt(ae,Pt,null),Xn=Pn,qn=[We,dt],In=0;In<qn.length;In+=1){var ur=Ye(qn[In])[0];if(cn(ur)){Xn=ur;break}}var pr=An.showHour,hr=An.showMinute,dr=An.showSecond,Cr=An.showMillisecond,xr=An.use12Hours,Sr=nn(Xn,["a","A","LT","LLL","LTS"],xr),qr=bt(pr,hr,dr,Cr);qr||(pr=nn(Xn,["H","h","k","LT","LLL"]),hr=nn(Xn,["m","LT","LLL"]),dr=nn(Xn,["s","LTS"]),Cr=nn(Xn,["SSS"]));var Vr=zt(qr,pr,hr,dr,Cr),Br=(0,ke.Z)(Vr,3);pr=Br[0],hr=Br[1],dr=Br[2];var io=We||st(pr,hr,dr,Cr,Sr);return(0,xe.Z)((0,xe.Z)({},An),{},{format:io,showHour:pr,showMinute:hr,showSecond:dr,showMillisecond:Cr,use12Hours:Sr})}return null}function ct(ae,We,dt){if(We===!1)return null;var Dt=We&&(0,vn.Z)(We)==="object"?We:{};return Dt.clearIcon||dt||oe.createElement("span",{className:"".concat(ae,"-clear-btn")})}var Zt=7;function wt(ae,We,dt){return!ae&&!We||ae===We?!0:!ae||!We?!1:dt()}function dn(ae,We,dt){return wt(We,dt,function(){var Dt=Math.floor(ae.getYear(We)/10),Pt=Math.floor(ae.getYear(dt)/10);return Dt===Pt})}function wn(ae,We,dt){return wt(We,dt,function(){return ae.getYear(We)===ae.getYear(dt)})}function Un(ae,We){var dt=Math.floor(ae.getMonth(We)/3);return dt+1}function er(ae,We,dt){return wt(We,dt,function(){return wn(ae,We,dt)&&Un(ae,We)===Un(ae,dt)})}function lr(ae,We,dt){return wt(We,dt,function(){return wn(ae,We,dt)&&ae.getMonth(We)===ae.getMonth(dt)})}function Rn(ae,We,dt){return wt(We,dt,function(){return wn(ae,We,dt)&&lr(ae,We,dt)&&ae.getDate(We)===ae.getDate(dt)})}function Qn(ae,We,dt){return wt(We,dt,function(){return ae.getHour(We)===ae.getHour(dt)&&ae.getMinute(We)===ae.getMinute(dt)&&ae.getSecond(We)===ae.getSecond(dt)})}function Vt(ae,We,dt){return wt(We,dt,function(){return Rn(ae,We,dt)&&Qn(ae,We,dt)&&ae.getMillisecond(We)===ae.getMillisecond(dt)})}function Lt(ae,We,dt,Dt){return wt(dt,Dt,function(){var Pt=ae.locale.getWeekFirstDate(We,dt),pn=ae.locale.getWeekFirstDate(We,Dt);return wn(ae,Pt,pn)&&ae.locale.getWeek(We,dt)===ae.locale.getWeek(We,Dt)})}function sn(ae,We,dt,Dt,Pt){switch(Pt){case"date":return Rn(ae,dt,Dt);case"week":return Lt(ae,We.locale,dt,Dt);case"month":return lr(ae,dt,Dt);case"quarter":return er(ae,dt,Dt);case"year":return wn(ae,dt,Dt);case"decade":return dn(ae,dt,Dt);case"time":return Qn(ae,dt,Dt);default:return Vt(ae,dt,Dt)}}function an(ae,We,dt,Dt){return!We||!dt||!Dt?!1:ae.isAfter(Dt,We)&&ae.isAfter(dt,Dt)}function tn(ae,We,dt,Dt,Pt){return sn(ae,We,dt,Dt,Pt)?!0:ae.isAfter(dt,Dt)}function Bn(ae,We,dt){var Dt=We.locale.getWeekFirstDay(ae),Pt=We.setDate(dt,1),pn=We.getWeekDay(Pt),An=We.addDate(Pt,Dt-pn);return We.getMonth(An)===We.getMonth(dt)&&We.getDate(An)>1&&(An=We.addDate(An,-7)),An}function xn(ae,We){var dt=We.generateConfig,Dt=We.locale,Pt=We.format;return ae?typeof Pt=="function"?Pt(ae):dt.locale.format(Dt.locale,ae,Pt):""}function jn(ae,We,dt){var Dt=We,Pt=["getHour","getMinute","getSecond","getMillisecond"],pn=["setHour","setMinute","setSecond","setMillisecond"];return pn.forEach(function(An,Pn){dt?Dt=ae[An](Dt,ae[Pt[Pn]](dt)):Dt=ae[An](Dt,0)}),Dt}function nr(ae,We,dt,Dt,Pt){var pn=(0,at.zX)(function(An,Pn){return!!(dt&&dt(An,Pn)||Dt&&ae.isAfter(Dt,An)&&!sn(ae,We,Dt,An,Pn.type)||Pt&&ae.isAfter(An,Pt)&&!sn(ae,We,Pt,An,Pn.type))});return pn}function Gn(ae,We,dt){return oe.useMemo(function(){var Dt=nt(ae,We,dt),Pt=Ye(Dt),pn=Pt[0],An=(0,vn.Z)(pn)==="object"&&pn.type==="mask"?pn.format:null;return[Pt.map(function(Pn){return typeof Pn=="string"||typeof Pn=="function"?Pn:Pn.format}),An]},[ae,We,dt])}function Ln(ae,We,dt){return typeof ae[0]=="function"||dt?!0:We}function mr(ae,We,dt,Dt){var Pt=(0,at.zX)(function(pn,An){var Pn=(0,xe.Z)({type:We},An);if(delete Pn.activeIndex,!ae.isValidate(pn)||dt&&dt(pn,Pn))return!0;if((We==="date"||We==="time")&&Dt){var Xn,qn=An&&An.activeIndex===1?"end":"start",In=((Xn=Dt.disabledTime)===null||Xn===void 0?void 0:Xn.call(Dt,pn,qn,{from:Pn.from}))||{},ur=In.disabledHours,pr=In.disabledMinutes,hr=In.disabledSeconds,dr=In.disabledMilliseconds,Cr=Dt.disabledHours,xr=Dt.disabledMinutes,Sr=Dt.disabledSeconds,qr=ur||Cr,Vr=pr||xr,Br=hr||Sr,io=ae.getHour(pn),Zr=ae.getMinute(pn),Ur=ae.getSecond(pn),_o=ae.getMillisecond(pn);if(qr&&qr().includes(io)||Vr&&Vr(io).includes(Zr)||Br&&Br(io,Zr).includes(Ur)||dr&&dr(io,Zr,Ur).includes(_o))return!0}return!1});return Pt}function ir(ae){var We=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,dt=oe.useMemo(function(){var Dt=ae&&Ye(ae);return We&&Dt&&(Dt[1]=Dt[1]||Dt[0]),Dt},[ae,We]);return dt}function jr(ae,We){var dt=ae.generateConfig,Dt=ae.locale,Pt=ae.picker,pn=Pt===void 0?"date":Pt,An=ae.prefixCls,Pn=An===void 0?"rc-picker":An,Xn=ae.styles,qn=Xn===void 0?{}:Xn,In=ae.classNames,ur=In===void 0?{}:In,pr=ae.order,hr=pr===void 0?!0:pr,dr=ae.components,Cr=dr===void 0?{}:dr,xr=ae.inputRender,Sr=ae.allowClear,qr=ae.clearIcon,Vr=ae.needConfirm,Br=ae.multiple,io=ae.format,Zr=ae.inputReadOnly,Ur=ae.disabledDate,_o=ae.minDate,So=ae.maxDate,Po=ae.showTime,bo=ae.value,ti=ae.defaultValue,Oo=ae.pickerValue,uo=ae.defaultPickerValue,no=ir(bo),mo=ir(ti),fo=ir(Oo),ai=ir(uo),ni=pn==="date"&&Po?"datetime":pn,Fo=ni==="time"||ni==="datetime",To=Fo||Br,co=Vr!=null?Vr:Fo,Io=un(ae),Bo=(0,ke.Z)(Io,4),li=Bo[0],Di=Bo[1],Pi=Bo[2],Te=Bo[3],Me=Kt(Dt,Di),pt=oe.useMemo(function(){return Cn(ni,Pi,Te,li,Me)},[ni,Pi,Te,li,Me]),At=oe.useMemo(function(){return(0,xe.Z)((0,xe.Z)({},ae),{},{prefixCls:Pn,locale:Me,picker:pn,styles:qn,classNames:ur,order:hr,components:(0,xe.Z)({input:xr},Cr),clearIcon:ct(Pn,Sr,qr),showTime:pt,value:no,defaultValue:mo,pickerValue:fo,defaultPickerValue:ai},We==null?void 0:We())},[ae]),jt=Gn(ni,Me,io),Gt=(0,ke.Z)(jt,2),fn=Gt[0],ln=Gt[1],yn=Ln(fn,Zr,Br),En=nr(dt,Dt,Ur,_o,So),Vn=mr(dt,pn,En,pt),Tn=oe.useMemo(function(){return(0,xe.Z)((0,xe.Z)({},At),{},{needConfirm:co,inputReadOnly:yn,disabledDate:En})},[At,co,yn,En]);return[Tn,ni,To,fn,ln,Vn]}var Nr=E(16089);function Fn(ae,We,dt){var Dt=(0,at.C8)(We,{value:ae}),Pt=(0,ke.Z)(Dt,2),pn=Pt[0],An=Pt[1],Pn=oe.useRef(ae),Xn=oe.useRef(),qn=function(){Nr.Z.cancel(Xn.current)},In=(0,at.zX)(function(){An(Pn.current),dt&&pn!==Pn.current&&dt(Pn.current)}),ur=(0,at.zX)(function(pr,hr){qn(),Pn.current=pr,pr||hr?In():Xn.current=(0,Nr.Z)(In)});return oe.useEffect(function(){return qn},[]),[pn,ur]}function Nn(ae,We){var dt=arguments.length>2&&arguments[2]!==void 0?arguments[2]:[],Dt=arguments.length>3?arguments[3]:void 0,Pt=dt.every(function(In){return In})?!1:ae,pn=Fn(Pt,We||!1,Dt),An=(0,ke.Z)(pn,2),Pn=An[0],Xn=An[1];function qn(In){var ur=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};(!ur.inherit||Pn)&&Xn(In,ur.force)}return[Pn,qn]}function cr(ae){var We=oe.useRef();return oe.useImperativeHandle(ae,function(){var dt;return{nativeElement:(dt=We.current)===null||dt===void 0?void 0:dt.nativeElement,focus:function(Pt){var pn;(pn=We.current)===null||pn===void 0||pn.focus(Pt)},blur:function(){var Pt;(Pt=We.current)===null||Pt===void 0||Pt.blur()}}}),We}function sr(ae,We){return oe.useMemo(function(){return ae||(We?((0,xt.ZP)(!1,"`ranges` is deprecated. Please use `presets` instead."),Object.entries(We).map(function(dt){var Dt=(0,ke.Z)(dt,2),Pt=Dt[0],pn=Dt[1];return{label:Pt,value:pn}})):[])},[ae,We])}function kt(ae,We){var dt=arguments.length>2&&arguments[2]!==void 0?arguments[2]:1,Dt=oe.useRef(We);Dt.current=We,(0,Rt.o)(function(){if(ae)Dt.current(ae);else{var Pt=(0,Nr.Z)(function(){Dt.current(ae)},dt);return function(){Nr.Z.cancel(Pt)}}},[ae])}function qt(ae){var We=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],dt=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1,Dt=oe.useState(0),Pt=(0,ke.Z)(Dt,2),pn=Pt[0],An=Pt[1],Pn=oe.useState(!1),Xn=(0,ke.Z)(Pn,2),qn=Xn[0],In=Xn[1],ur=oe.useRef([]),pr=oe.useRef(null),hr=oe.useRef(null),dr=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=ur.current,Zr=new Set(io.filter(function(_o){return Br[_o]||We[_o]})),Ur=io[io.length-1]===0?1:0;return Zr.size>=2||ae[Ur]?null:Ur};return kt(qn||dt,function(){qn||(ur.current=[],dr(null))}),oe.useEffect(function(){qn&&ur.current.push(pn)},[qn,pn]),[qn,xr,Sr,pn,An,qr,ur.current,dr,Cr]}function gt(ae,We,dt,Dt,Pt,pn){var An=dt[dt.length-1],Pn=function(qn,In){var ur=(0,ke.Z)(ae,2),pr=ur[0],hr=ur[1],dr=(0,xe.Z)((0,xe.Z)({},In),{},{from:mt(ae,dt)});return An===1&&We[0]&&pr&&!sn(Dt,Pt,pr,qn,dr.type)&&Dt.isAfter(pr,qn)||An===0&&We[1]&&hr&&!sn(Dt,Pt,hr,qn,dr.type)&&Dt.isAfter(qn,hr)?!0:pn==null?void 0:pn(qn,dr)};return Pn}function Ht(ae,We,dt,Dt){switch(We){case"date":case"week":return ae.addMonth(dt,Dt);case"month":case"quarter":return ae.addYear(dt,Dt);case"year":return ae.addYear(dt,Dt*10);case"decade":return ae.addYear(dt,Dt*100);default:return dt}}var Et=[];function Ut(ae,We,dt,Dt,Pt,pn,An,Pn){var Xn=arguments.length>8&&arguments[8]!==void 0?arguments[8]:Et,qn=arguments.length>9&&arguments[9]!==void 0?arguments[9]:Et,In=arguments.length>10&&arguments[10]!==void 0?arguments[10]:Et,ur=arguments.length>11?arguments[11]:void 0,pr=arguments.length>12?arguments[12]:void 0,hr=arguments.length>13?arguments[13]:void 0,dr=An==="time",Cr=pn||0,xr=function(fo){var ai=ae.getNow();return dr&&(ai=jn(ae,ai)),Xn[fo]||dt[fo]||ai},Sr=(0,ke.Z)(qn,2),qr=Sr[0],Vr=Sr[1],Br=(0,at.C8)(function(){return xr(0)},{value:qr}),io=(0,ke.Z)(Br,2),Zr=io[0],Ur=io[1],_o=(0,at.C8)(function(){return xr(1)},{value:Vr}),So=(0,ke.Z)(_o,2),Po=So[0],bo=So[1],ti=oe.useMemo(function(){var mo=[Zr,Po][Cr];return dr?mo:jn(ae,mo,In[Cr])},[dr,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,ur&&(!sn(ae,We,Zr,Fo[0],An)||!sn(ae,We,Po,Fo[1],An))&&ur(Fo,{source:ai,range:Cr===1?"end":"start",mode:Dt})},uo=function(fo,ai){if(Pn){var ni={date:"month",week:"month",month:"year",quarter:"year"},Fo=ni[An];if(Fo&&!sn(ae,We,fo,ai,Fo))return Ht(ae,An,ai,-1);if(An==="year"&&fo){var To=Math.floor(ae.getYear(fo)/10),co=Math.floor(ae.getYear(ai)/10);if(To!==co)return Ht(ae,An,ai,-1)}}return ai},no=oe.useRef(null);return(0,Rt.Z)(function(){if(Pt&&!Xn[Cr]){var mo=dr?null:ae.getNow();if(no.current!==null&&no.current!==Cr?mo=[Zr,Po][Cr^1]:dt[Cr]?mo=Cr===0?dt[0]:uo(dt[0],dt[1]):dt[Cr^1]&&(mo=dt[Cr^1]),mo){pr&&ae.isAfter(pr,mo)&&(mo=pr);var fo=Pn?Ht(ae,An,mo,1):mo;hr&&ae.isAfter(fo,hr)&&(mo=Pn?Ht(ae,An,hr,-1):hr),Oo(mo,"reset")}}},[Pt,Cr,dt[Cr]]),oe.useEffect(function(){Pt?no.current=Cr:no.current=null},[Pt,Cr]),(0,Rt.Z)(function(){Pt&&Xn&&Xn[Cr]&&Oo(Xn[Cr],"reset")},[Pt,Cr]),[ti,Oo]}function ot(ae,We){var dt=oe.useRef(ae),Dt=oe.useState({}),Pt=(0,ke.Z)(Dt,2),pn=Pt[1],An=function(qn){return qn&&We!==void 0?We:dt.current},Pn=function(qn){dt.current=qn,pn({})};return[An,Pn,An(!0)]}var Qt=[];function rn(ae,We,dt){var Dt=function(An){return An.map(function(Pn){return xn(Pn,{generateConfig:ae,locale:We,format:dt[0]})})},Pt=function(An,Pn){for(var Xn=Math.max(An.length,Pn.length),qn=-1,In=0;In<Xn;In+=1){var ur=An[In]||null,pr=Pn[In]||null;if(ur!==pr&&!Vt(ae,ur,pr)){qn=In;break}}return[qn<0,qn!==0]};return[Dt,Pt]}function _t(ae,We){return(0,ut.Z)(ae).sort(function(dt,Dt){return We.isAfter(dt,Dt)?1:-1})}function rt(ae){var We=ot(ae),dt=(0,ke.Z)(We,2),Dt=dt[0],Pt=dt[1],pn=(0,at.zX)(function(){Pt(ae)});return oe.useEffect(function(){pn()},[ae]),[Dt,Pt]}function Bt(ae,We,dt,Dt,Pt,pn,An,Pn,Xn){var qn=(0,at.C8)(pn,{value:An}),In=(0,ke.Z)(qn,2),ur=In[0],pr=In[1],hr=ur||Qt,dr=rt(hr),Cr=(0,ke.Z)(dr,2),xr=Cr[0],Sr=Cr[1],qr=rn(ae,We,dt),Vr=(0,ke.Z)(qr,2),Br=Vr[0],io=Vr[1],Zr=(0,at.zX)(function(_o){var So=(0,ut.Z)(_o);if(Dt)for(var Po=0;Po<2;Po+=1)So[Po]=So[Po]||null;else Pt&&(So=_t(So.filter(function(mo){return mo}),ae));var bo=io(xr(),So),ti=(0,ke.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 Ot(ae,We,dt,Dt,Pt,pn,An,Pn,Xn,qn){var In=ae.generateConfig,ur=ae.locale,pr=ae.picker,hr=ae.onChange,dr=ae.allowEmpty,Cr=ae.order,xr=pn.some(function(Oo){return Oo})?!1:Cr,Sr=rn(In,ur,An),qr=(0,ke.Z)(Sr,2),Vr=qr[0],Br=qr[1],io=ot(We),Zr=(0,ke.Z)(io,2),Ur=Zr[0],_o=Zr[1],So=(0,at.zX)(function(){_o(We)});oe.useEffect(function(){So()},[We]);var Po=(0,at.zX)(function(Oo){var uo=Oo===null,no=(0,ut.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=_t(no,In)),Pt(no);var ai=no,ni=(0,ke.Z)(ai,2),Fo=ni[0],To=ni[1],co=!Fo,Io=!To,Bo=dr?(!co||dr[0])&&(!Io||dr[1]):!0,li=!Cr||co||Io||sn(In,ur,Fo,To,pr)||In.isAfter(To,Fo),Di=(pn[0]||!Fo||!qn(Fo,{activeIndex:0}))&&(pn[1]||!To||!qn(To,{from:Fo,activeIndex:1})),Pi=uo||Bo&&li&&Di;if(Pi){dt(no);var Te=Br(no,We),Me=(0,ke.Z)(Te,1),pt=Me[0];hr&&!pt&&hr(uo&&no.every(function(At){return!At})?null:no,Vr(no))}return Pi}),bo=(0,at.zX)(function(Oo,uo){var no=vt(Ur(),Oo,Dt()[Oo]);_o(no),uo&&Po()}),ti=!Pn&&!Xn;return kt(!ti,function(){ti&&(Po(),Pt(We),So())},2),[bo,Po]}function $t(ae,We,dt,Dt,Pt){return We!=="date"&&We!=="time"?!1:dt!==void 0?dt:Dt!==void 0?Dt:!Pt&&(ae==="date"||ae==="time")}var On=E(29301);function Wn(ae,We,dt,Dt,Pt,pn){var An=ae;function Pn(ur,pr,hr){var dr=pn[ur](An),Cr=hr.find(function(Vr){return Vr.value===dr});if(!Cr||Cr.disabled){var xr=hr.filter(function(Vr){return!Vr.disabled}),Sr=(0,ut.Z)(xr).reverse(),qr=Sr.find(function(Vr){return Vr.value<=dr})||xr[0];qr&&(dr=qr.value,An=pn[pr](An,dr))}return dr}var Xn=Pn("getHour","setHour",We()),qn=Pn("getMinute","setMinute",dt(Xn)),In=Pn("getSecond","setSecond",Dt(Xn,qn));return Pn("getMillisecond","setMillisecond",Pt(Xn,qn,In)),An}function Yn(){return[]}function Mr(ae,We){for(var dt=arguments.length>2&&arguments[2]!==void 0?arguments[2]:1,Dt=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,An=[],Pn=dt>=1?dt|0:1,Xn=ae;Xn<=We;Xn+=Pn){var qn=Pt.includes(Xn);(!qn||!Dt)&&An.push({label:fe(Xn,pn),value:Xn,disabled:qn})}return An}function Hr(ae){var We=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},dt=arguments.length>2?arguments[2]:void 0,Dt=We||{},Pt=Dt.use12Hours,pn=Dt.hourStep,An=pn===void 0?1:pn,Pn=Dt.minuteStep,Xn=Pn===void 0?1:Pn,qn=Dt.secondStep,In=qn===void 0?1:qn,ur=Dt.millisecondStep,pr=ur===void 0?100:ur,hr=Dt.hideDisabledOptions,dr=Dt.disabledTime,Cr=Dt.disabledHours,xr=Dt.disabledMinutes,Sr=Dt.disabledSeconds,qr=oe.useMemo(function(){return dt||ae.getNow()},[dt,ae]);if(0)var Vr,Br,io;var Zr=oe.useCallback(function(To){var co=(dr==null?void 0:dr(To))||{};return[co.disabledHours||Cr||Yn,co.disabledMinutes||xr||Yn,co.disabledSeconds||Sr||Yn,co.disabledMilliseconds||Yn]},[dr,Cr,xr,Sr]),Ur=oe.useMemo(function(){return Zr(qr)},[qr,Zr]),_o=(0,ke.Z)(Ur,4),So=_o[0],Po=_o[1],bo=_o[2],ti=_o[3],Oo=oe.useCallback(function(To,co,Io,Bo){var li=Mr(0,23,An,hr,To()),Di=Pt?li.map(function(pt){return(0,xe.Z)((0,xe.Z)({},pt),{},{label:fe(pt.value%12||12,2)})}):li,Pi=function(At){return Mr(0,59,Xn,hr,co(At))},Te=function(At,jt){return Mr(0,59,In,hr,Io(At,jt))},Me=function(At,jt,Gt){return Mr(0,999,pr,hr,Bo(At,jt,Gt),3)};return[Di,Pi,Te,Me]},[hr,An,Pt,pr,Xn,In]),uo=oe.useMemo(function(){return Oo(So,Po,bo,ti)},[Oo,So,Po,bo,ti]),no=(0,ke.Z)(uo,4),mo=no[0],fo=no[1],ai=no[2],ni=no[3],Fo=function(co,Io){var Bo=function(){return mo},li=fo,Di=ai,Pi=ni;if(Io){var Te=Zr(Io),Me=(0,ke.Z)(Te,4),pt=Me[0],At=Me[1],jt=Me[2],Gt=Me[3],fn=Oo(pt,At,jt,Gt),ln=(0,ke.Z)(fn,4),yn=ln[0],En=ln[1],Vn=ln[2],Tn=ln[3];Bo=function(){return yn},li=En,Di=Vn,Pi=Tn}var Mn=Wn(co,Bo,li,Di,Pi,ae);return Mn};return[Fo,mo,fo,ai,ni]}function to(ae){var We=ae.mode,dt=ae.internalMode,Dt=ae.renderExtraFooter,Pt=ae.showNow,pn=ae.showTime,An=ae.onSubmit,Pn=ae.onNow,Xn=ae.invalid,qn=ae.needConfirm,In=ae.generateConfig,ur=ae.disabledDate,pr=oe.useContext(te),hr=pr.prefixCls,dr=pr.locale,Cr=pr.button,xr=Cr===void 0?"button":Cr,Sr=In.getNow(),qr=Hr(In,pn,Sr),Vr=(0,ke.Z)(qr,1),Br=Vr[0],io=Dt==null?void 0:Dt(We),Zr=ur(Sr,{type:We}),Ur=function(){if(!Zr){var uo=Br(Sr);Pn(uo)}},_o="".concat(hr,"-now"),So="".concat(_o,"-btn"),Po=Pt&&oe.createElement("li",{className:_o},oe.createElement("a",{className:It()(So,Zr&&"".concat(So,"-disabled")),"aria-disabled":Zr,onClick:Ur},dt==="date"?dr.today:dr.now)),bo=qn&&oe.createElement("li",{className:"".concat(hr,"-ok")},oe.createElement(xr,{disabled:Xn,onClick:An},dr.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 fr(ae,We,dt){function Dt(Pt,pn){var An=Pt.findIndex(function(Xn){return sn(ae,We,Xn,pn,dt)});if(An===-1)return[].concat((0,ut.Z)(Pt),[pn]);var Pn=(0,ut.Z)(Pt);return Pn.splice(An,1),Pn}return Dt}var Er=oe.createContext(null);function Tr(){return oe.useContext(Er)}function Yr(ae,We){var dt=ae.prefixCls,Dt=ae.generateConfig,Pt=ae.locale,pn=ae.disabledDate,An=ae.minDate,Pn=ae.maxDate,Xn=ae.cellRender,qn=ae.hoverValue,In=ae.hoverRangeValue,ur=ae.onHover,pr=ae.values,hr=ae.pickerValue,dr=ae.onSelect,Cr=ae.prevIcon,xr=ae.nextIcon,Sr=ae.superPrevIcon,qr=ae.superNextIcon,Vr=Dt.getNow(),Br={now:Vr,values:pr,pickerValue:hr,prefixCls:dt,disabledDate:pn,minDate:An,maxDate:Pn,cellRender:Xn,hoverValue:qn,hoverRangeValue:In,onHover:ur,locale:Pt,generateConfig:Dt,onSelect:dr,panelType:We,prevIcon:Cr,nextIcon:xr,superPrevIcon:Sr,superNextIcon:qr};return[Br,Vr]}var ro=oe.createContext({});function oo(ae){for(var We=ae.rowNum,dt=ae.colNum,Dt=ae.baseDate,Pt=ae.getCellDate,pn=ae.prefixColumn,An=ae.rowClassName,Pn=ae.titleFormat,Xn=ae.getCellText,qn=ae.getCellClassName,In=ae.headerCells,ur=ae.cellSelection,pr=ur===void 0?!0:ur,hr=ae.disabledDate,dr=Tr(),Cr=dr.prefixCls,xr=dr.panelType,Sr=dr.now,qr=dr.disabledDate,Vr=dr.cellRender,Br=dr.onHover,io=dr.hoverValue,Zr=dr.hoverRangeValue,Ur=dr.generateConfig,_o=dr.values,So=dr.locale,Po=dr.onSelect,bo=hr||qr,ti="".concat(Cr,"-cell"),Oo=oe.useContext(ro),uo=Oo.onCellDblClick,no=function(Io){return _o.some(function(Bo){return Bo&&sn(Ur,So,Io,Bo,xr)})},mo=[],fo=0;fo<We;fo+=1){for(var ai=[],ni=void 0,Fo=function(){var Io=fo*dt+To,Bo=Pt(Dt,Io),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 Me=(0,ke.Z)(Zr,2),pt=Me[0],At=Me[1];Di=an(Ur,pt,At,Bo),Pi=sn(Ur,So,Bo,pt,xr),Te=sn(Ur,So,Bo,At,xr)}var jt=Pn?xn(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:jt,className:It()(ti,(0,xe.Z)((0,Xt.Z)((0,Xt.Z)((0,Xt.Z)((0,Xt.Z)((0,Xt.Z)((0,Xt.Z)({},"".concat(ti,"-disabled"),li),"".concat(ti,"-hover"),(io||[]).some(function(fn){return sn(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)),qn(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)}},Vr?Vr(Bo,{prefixCls:Cr,originNode:Gt,today:Sr,type:xr,locale:So}):Gt))},To=0;To<dt;To+=1)Fo();mo.push(oe.createElement("tr",{key:fo,className:An==null?void 0:An(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 Or(ae){var We=ae.offset,dt=ae.superOffset,Dt=ae.onChange,Pt=ae.getStart,pn=ae.getEnd,An=ae.children,Pn=Tr(),Xn=Pn.prefixCls,qn=Pn.prevIcon,In=qn===void 0?"\u2039":qn,ur=Pn.nextIcon,pr=ur===void 0?"\u203A":ur,hr=Pn.superPrevIcon,dr=hr===void 0?"\xAB":hr,Cr=Pn.superNextIcon,xr=Cr===void 0?"\xBB":Cr,Sr=Pn.minDate,qr=Pn.maxDate,Vr=Pn.generateConfig,Br=Pn.locale,io=Pn.pickerValue,Zr=Pn.panelType,Ur="".concat(Xn,"-header"),_o=oe.useContext(ro),So=_o.hidePrev,Po=_o.hideNext,bo=_o.hideHeader,ti=oe.useMemo(function(){if(!Sr||!We||!pn)return!1;var co=pn(We(-1,io));return!tn(Vr,Br,co,Sr,Zr)},[Sr,We,io,pn,Vr,Br,Zr]),Oo=oe.useMemo(function(){if(!Sr||!dt||!pn)return!1;var co=pn(dt(-1,io));return!tn(Vr,Br,co,Sr,Zr)},[Sr,dt,io,pn,Vr,Br,Zr]),uo=oe.useMemo(function(){if(!qr||!We||!Pt)return!1;var co=Pt(We(1,io));return!tn(Vr,Br,qr,co,Zr)},[qr,We,io,Pt,Vr,Br,Zr]),no=oe.useMemo(function(){if(!qr||!dt||!Pt)return!1;var co=Pt(dt(1,io));return!tn(Vr,Br,qr,co,Zr)},[qr,dt,io,Pt,Vr,Br,Zr]),mo=function(Io){We&&Dt(We(Io,io))},fo=function(Io){dt&&Dt(dt(Io,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},dt&&oe.createElement("button",{type:"button","aria-label":Br.previousYear,onClick:function(){return fo(-1)},tabIndex:-1,className:It()(Fo,Oo&&"".concat(Fo,"-disabled")),disabled:Oo,style:So?ao:{}},dr),We&&oe.createElement("button",{type:"button","aria-label":Br.previousMonth,onClick:function(){return mo(-1)},tabIndex:-1,className:It()(ai,ti&&"".concat(ai,"-disabled")),disabled:ti,style:So?ao:{}},In),oe.createElement("div",{className:"".concat(Ur,"-view")},An),We&&oe.createElement("button",{type:"button","aria-label":Br.nextMonth,onClick:function(){return mo(1)},tabIndex:-1,className:It()(ni,uo&&"".concat(ni,"-disabled")),disabled:uo,style:Po?ao:{}},pr),dt&&oe.createElement("button",{type:"button","aria-label":Br.nextYear,onClick:function(){return fo(1)},tabIndex:-1,className:It()(To,no&&"".concat(To,"-disabled")),disabled:no,style:Po?ao:{}},xr))}var eo=Or;function Jr(ae){var We=ae.prefixCls,dt=ae.panelName,Dt=dt===void 0?"date":dt,Pt=ae.locale,pn=ae.generateConfig,An=ae.pickerValue,Pn=ae.onPickerValueChange,Xn=ae.onModeChange,qn=ae.mode,In=qn===void 0?"date":qn,ur=ae.disabledDate,pr=ae.onSelect,hr=ae.onHover,dr=ae.showWeek,Cr="".concat(We,"-").concat(Dt,"-panel"),xr="".concat(We,"-cell"),Sr=In==="week",qr=Yr(ae,In),Vr=(0,ke.Z)(qr,2),Br=Vr[0],io=Vr[1],Zr=pn.locale.getWeekFirstDay(Pt.locale),Ur=pn.setDate(An,1),_o=Bn(Pt.locale,pn,Ur),So=pn.getMonth(An),Po=dr===void 0?Sr:dr,bo=Po?function(co){var Io=ur==null?void 0:ur(co,{type:"week"});return oe.createElement("td",{key:"week",className:It()(xr,"".concat(xr,"-week"),(0,Xt.Z)({},"".concat(xr,"-disabled"),Io)),onClick:function(){Io||pr(co)},onMouseEnter:function(){Io||hr==null||hr(co)},onMouseLeave:function(){Io||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<Zt;uo+=1)ti.push(oe.createElement("th",{key:uo},Oo[(uo+Zr)%Zt]));var no=function(Io,Bo){return pn.addDate(Io,Bo)},mo=function(Io){return xn(Io,{locale:Pt,format:Pt.cellDateFormat,generateConfig:pn})},fo=function(Io){var Bo=(0,Xt.Z)((0,Xt.Z)({},"".concat(We,"-cell-in-view"),lr(pn,Io,An)),"".concat(We,"-cell-today"),Rn(pn,Io,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",An)},tabIndex:-1,className:"".concat(We,"-year-btn")},xn(An,{locale:Pt,format:Pt.yearFormat,generateConfig:pn})),Fo=oe.createElement("button",{type:"button","aria-label":Pt.monthSelect,key:"month",onClick:function(){Xn("month",An)},tabIndex:-1,className:"".concat(We,"-month-btn")},Pt.monthFormat?xn(An,{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:It()(Cr,dr&&"".concat(Cr,"-show-week"))},oe.createElement(eo,{offset:function(Io){return pn.addMonth(An,Io)},superOffset:function(Io){return pn.addYear(An,Io)},onChange:Pn,getStart:function(Io){return pn.setDate(Io,1)},getEnd:function(Io){var Bo=pn.setDate(Io,1);return Bo=pn.addMonth(Bo,1),pn.addDate(Bo,-1)}},To),oe.createElement(oo,(0,Be.Z)({titleFormat:Pt.fieldDateFormat},ae,{colNum:Zt,rowNum:6,baseDate:_o,headerCells:ti,getCellDate:no,getCellText:mo,getCellClassName:fo,prefixColumn:bo,cellSelection:!Sr}))))}var Wo=E(29194),Ko=1/3;function rr(ae,We){var dt=oe.useRef(!1),Dt=oe.useRef(null),Pt=oe.useRef(null),pn=function(){return dt.current},An=function(){Nr.Z.cancel(Dt.current),dt.current=!1},Pn=oe.useRef(),Xn=function(){var ur=ae.current;if(Pt.current=null,Pn.current=0,ur){var pr=ur.querySelector('[data-value="'.concat(We,'"]')),hr=ur.querySelector("li"),dr=function Cr(){An(),dt.current=!0,Pn.current+=1;var xr=ur.scrollTop,Sr=hr.offsetTop,qr=pr.offsetTop,Vr=qr-Sr;if(qr===0&&pr!==hr||!(0,Wo.Z)(ur)){Pn.current<=5&&(Dt.current=(0,Nr.Z)(Cr));return}var Br=xr+(Vr-xr)*Ko,io=Math.abs(Vr-Br);if(Pt.current!==null&&Pt.current<io){An();return}if(Pt.current=io,io<=1){ur.scrollTop=Vr,An();return}ur.scrollTop=Br,Dt.current=(0,Nr.Z)(Cr)};pr&&hr&&dr()}},qn=(0,at.zX)(Xn);return[qn,An,pn]}var Ro=300;function ei(ae){return ae.map(function(We){var dt=We.value,Dt=We.label,Pt=We.disabled;return[dt,Dt,Pt].join(",")}).join(";")}function yo(ae){var We=ae.units,dt=ae.value,Dt=ae.optionalValue,Pt=ae.type,pn=ae.onChange,An=ae.onHover,Pn=ae.onDblClick,Xn=ae.changeOnScroll,qn=Tr(),In=qn.prefixCls,ur=qn.cellRender,pr=qn.now,hr=qn.locale,dr="".concat(In,"-time-panel"),Cr="".concat(In,"-time-panel-cell"),xr=oe.useRef(null),Sr=oe.useRef(),qr=function(){clearTimeout(Sr.current)},Vr=rr(xr,dt!=null?dt:Dt),Br=(0,ke.Z)(Vr,3),io=Br[0],Zr=Br[1],Ur=Br[2];(0,Rt.Z)(function(){return io(),qr(),function(){Zr(),qr()}},[dt,Dt,ei(We)]);var _o=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 We[co].disabled?Number.MAX_SAFE_INTEGER:Math.abs(To-ti.scrollTop)}),ai=Math.min.apply(Math,(0,ut.Z)(fo)),ni=fo.findIndex(function(To){return To===ai}),Fo=We[ni];Fo&&!Fo.disabled&&pn(Fo.value)},Ro))},So="".concat(dr,"-column");return oe.createElement("ul",{className:So,ref:xr,"data-type":Pt,onScroll:_o},We.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:It()(Cr,(0,Xt.Z)((0,Xt.Z)({},"".concat(Cr,"-selected"),dt===ti),"".concat(Cr,"-disabled"),Oo)),onClick:function(){Oo||pn(ti)},onDoubleClick:function(){!Oo&&Pn&&Pn()},onMouseEnter:function(){An(ti)},onMouseLeave:function(){An(null)},"data-value":ti},ur?ur(ti,{prefixCls:In,originNode:uo,today:pr,type:"time",subType:Pt,locale:hr}):uo)}))}function Zo(ae){return ae<12}function vo(ae){var We=ae.showHour,dt=ae.showMinute,Dt=ae.showSecond,Pt=ae.showMillisecond,pn=ae.use12Hours,An=ae.changeOnScroll,Pn=Tr(),Xn=Pn.prefixCls,qn=Pn.values,In=Pn.generateConfig,ur=Pn.locale,pr=Pn.onSelect,hr=Pn.onHover,dr=hr===void 0?function(){}:hr,Cr=Pn.pickerValue,xr=(qn==null?void 0:qn[0])||null,Sr=oe.useContext(ro),qr=Sr.onCellDblClick,Vr=Hr(In,ae,xr),Br=(0,ke.Z)(Vr,5),io=Br[0],Zr=Br[1],Ur=Br[2],_o=Br[3],So=Br[4],Po=function(or){var Rr=xr&&In[or](xr),Gr=Cr&&In[or](Cr);return[Rr,Gr]},bo=Po("getHour"),ti=(0,ke.Z)(bo,2),Oo=ti[0],uo=ti[1],no=Po("getMinute"),mo=(0,ke.Z)(no,2),fo=mo[0],ai=mo[1],ni=Po("getSecond"),Fo=(0,ke.Z)(ni,2),To=Fo[0],co=Fo[1],Io=Po("getMillisecond"),Bo=(0,ke.Z)(Io,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(ar){return Zo(ar.value)}):Zr.filter(function(ar){return!Zo(ar.value)}):Zr},[Oo,Zr,pn]),Me=function(or,Rr){var Gr,lo=or.filter(function(Lo){return!Lo.disabled});return Rr!=null?Rr:lo==null||(Gr=lo[0])===null||Gr===void 0?void 0:Gr.value},pt=Me(Zr,Oo),At=oe.useMemo(function(){return Ur(pt)},[Ur,pt]),jt=Me(At,fo),Gt=oe.useMemo(function(){return _o(pt,jt)},[_o,pt,jt]),fn=Me(Gt,To),ln=oe.useMemo(function(){return So(pt,jt,fn)},[So,pt,jt,fn]),yn=Me(ln,li),En=oe.useMemo(function(){if(!pn)return[];var ar=In.getNow(),or=In.setHour(ar,6),Rr=In.setHour(ar,18),Gr=function(Lo,Xr){var Fi=ur.cellMeridiemFormat;return Fi?xn(Lo,{generateConfig:In,locale:ur,format:Fi}):Xr};return[{label:Gr(or,"AM"),value:"am",disabled:Zr.every(function(lo){return lo.disabled||!Zo(lo.value)})},{label:Gr(Rr,"PM"),value:"pm",disabled:Zr.every(function(lo){return lo.disabled||Zo(lo.value)})}]},[Zr,pn,In,ur]),Vn=function(or){var Rr=io(or);pr(Rr)},Tn=oe.useMemo(function(){var ar=xr||Cr||In.getNow(),or=function(Gr){return Gr!=null};return or(Oo)?(ar=In.setHour(ar,Oo),ar=In.setMinute(ar,fo),ar=In.setSecond(ar,To),ar=In.setMillisecond(ar,li)):or(uo)?(ar=In.setHour(ar,uo),ar=In.setMinute(ar,ai),ar=In.setSecond(ar,co),ar=In.setMillisecond(ar,Di)):or(pt)&&(ar=In.setHour(ar,pt),ar=In.setMinute(ar,jt),ar=In.setSecond(ar,fn),ar=In.setMillisecond(ar,yn)),ar},[xr,Cr,Oo,fo,To,li,pt,jt,fn,yn,uo,ai,co,Di,In]),Mn=function(or,Rr){return or===null?null:In[Rr](Tn,or)},Dn=function(or){return Mn(or,"setHour")},Sn=function(or){return Mn(or,"setMinute")},vr=function(or){return Mn(or,"setSecond")},$n=function(or){return Mn(or,"setMillisecond")},Ar=function(or){return or===null?null:or==="am"&&!Zo(Oo)?In.setHour(Tn,Oo-12):or==="pm"&&Zo(Oo)?In.setHour(Tn,Oo+12):Tn},br=function(or){Vn(Dn(or))},Lr=function(or){Vn(Sn(or))},Dr=function(or){Vn(vr(or))},Pr=function(or){Vn($n(or))},Wr=function(or){Vn(Ar(or))},_r=function(or){dr(Dn(or))},$r=function(or){dr(Sn(or))},Mo=function(or){dr(vr(or))},Ir=function(or){dr($n(or))},Fr=function(or){dr(Ar(or))},zr={onDblClick:qr,changeOnScroll:An};return oe.createElement("div",{className:"".concat(Xn,"-content")},We&&oe.createElement(yo,(0,Be.Z)({units:Te,value:Oo,optionalValue:uo,type:"hour",onChange:br,onHover:_r},zr)),dt&&oe.createElement(yo,(0,Be.Z)({units:At,value:fo,optionalValue:ai,type:"minute",onChange:Lr,onHover:$r},zr)),Dt&&oe.createElement(yo,(0,Be.Z)({units:Gt,value:To,optionalValue:co,type:"second",onChange:Dr,onHover:Mo},zr)),Pt&&oe.createElement(yo,(0,Be.Z)({units:ln,value:li,optionalValue:Di,type:"millisecond",onChange:Pr,onHover:Ir},zr)),pn&&oe.createElement(yo,(0,Be.Z)({units:En,value:Pi,type:"meridiem",onChange:Wr,onHover:Fr},zr)))}function ui(ae){var We=ae.prefixCls,dt=ae.value,Dt=ae.locale,Pt=ae.generateConfig,pn=ae.showTime,An=pn||{},Pn=An.format,Xn="".concat(We,"-time-panel"),qn=Yr(ae,"time"),In=(0,ke.Z)(qn,1),ur=In[0];return oe.createElement(Er.Provider,{value:ur},oe.createElement("div",{className:It()(Xn)},oe.createElement(eo,null,dt?xn(dt,{locale:Dt,format:Pn,generateConfig:Pt}):"\xA0"),oe.createElement(vo,pn)))}function yi(ae){var We=ae.prefixCls,dt=ae.generateConfig,Dt=ae.showTime,Pt=ae.onSelect,pn=ae.value,An=ae.pickerValue,Pn=ae.onHover,Xn="".concat(We,"-datetime-panel"),qn=Hr(dt,Dt),In=(0,ke.Z)(qn,1),ur=In[0],pr=function(xr){return pn?jn(dt,xr,pn):jn(dt,xr,An)},hr=function(xr){Pn==null||Pn(xr&&pr(xr))},dr=function(xr){var Sr=pr(xr);Pt(ur(Sr,Sr))};return oe.createElement("div",{className:Xn},oe.createElement(Jr,(0,Be.Z)({},ae,{onSelect:dr,onHover:hr})),oe.createElement(ui,ae))}function Jo(ae){var We=ae.prefixCls,dt=ae.locale,Dt=ae.generateConfig,Pt=ae.pickerValue,pn=ae.disabledDate,An=ae.onPickerValueChange,Pn="".concat(We,"-decade-panel"),Xn=Yr(ae,"decade"),qn=(0,ke.Z)(Xn,1),In=qn[0],ur=function(Zr){var Ur=Math.floor(Dt.getYear(Zr)/100)*100;return Dt.setYear(Zr,Ur)},pr=function(Zr){var Ur=ur(Zr);return Dt.addYear(Ur,99)},hr=ur(Pt),dr=pr(Pt),Cr=Dt.addYear(hr,-10),xr=function(Zr,Ur){return Dt.addYear(Zr,Ur*10)},Sr=function(Zr){var Ur=dt.cellYearFormat,_o=xn(Zr,{locale:dt,format:Ur,generateConfig:Dt}),So=xn(Dt.addYear(Zr,9),{locale:dt,format:Ur,generateConfig:Dt});return"".concat(_o,"-").concat(So)},qr=function(Zr){return(0,Xt.Z)({},"".concat(We,"-cell-in-view"),dn(Dt,Zr,hr)||dn(Dt,Zr,dr)||an(Dt,hr,dr,Zr))},Vr=pn?function(io,Zr){var Ur=Dt.setDate(io,1),_o=Dt.setMonth(Ur,0),So=Dt.setYear(_o,Math.floor(Dt.getYear(_o)/10)*10),Po=Dt.addYear(So,10),bo=Dt.addDate(Po,-1);return pn(So,Zr)&&pn(bo,Zr)}:null,Br="".concat(xn(hr,{locale:dt,format:dt.yearFormat,generateConfig:Dt}),"-").concat(xn(dr,{locale:dt,format:dt.yearFormat,generateConfig:Dt}));return oe.createElement(Er.Provider,{value:In},oe.createElement("div",{className:Pn},oe.createElement(eo,{superOffset:function(Zr){return Dt.addYear(Pt,Zr*100)},onChange:An,getStart:ur,getEnd:pr},Br),oe.createElement(oo,(0,Be.Z)({},ae,{disabledDate:Vr,colNum:3,rowNum:4,baseDate:Cr,getCellDate:xr,getCellText:Sr,getCellClassName:qr}))))}function pi(ae){var We=ae.prefixCls,dt=ae.locale,Dt=ae.generateConfig,Pt=ae.pickerValue,pn=ae.disabledDate,An=ae.onPickerValueChange,Pn=ae.onModeChange,Xn="".concat(We,"-month-panel"),qn=Yr(ae,"month"),In=(0,ke.Z)(qn,1),ur=In[0],pr=Dt.setMonth(Pt,0),hr=dt.shortMonths||(Dt.locale.getShortMonths?Dt.locale.getShortMonths(dt.locale):[]),dr=function(Br,io){return Dt.addMonth(Br,io)},Cr=function(Br){var io=Dt.getMonth(Br);return dt.monthFormat?xn(Br,{locale:dt,format:dt.monthFormat,generateConfig:Dt}):hr[io]},xr=function(){return(0,Xt.Z)({},"".concat(We,"-cell-in-view"),!0)},Sr=pn?function(Vr,Br){var io=Dt.setDate(Vr,1),Zr=Dt.setMonth(io,Dt.getMonth(io)+1),Ur=Dt.addDate(Zr,-1);return pn(io,Br)&&pn(Ur,Br)}:null,qr=oe.createElement("button",{type:"button",key:"year","aria-label":dt.yearSelect,onClick:function(){Pn("year")},tabIndex:-1,className:"".concat(We,"-year-btn")},xn(Pt,{locale:dt,format:dt.yearFormat,generateConfig:Dt}));return oe.createElement(Er.Provider,{value:ur},oe.createElement("div",{className:Xn},oe.createElement(eo,{superOffset:function(Br){return Dt.addYear(Pt,Br)},onChange:An,getStart:function(Br){return Dt.setMonth(Br,0)},getEnd:function(Br){return Dt.setMonth(Br,11)}},qr),oe.createElement(oo,(0,Be.Z)({},ae,{disabledDate:Sr,titleFormat:dt.fieldMonthFormat,colNum:3,rowNum:4,baseDate:pr,getCellDate:dr,getCellText:Cr,getCellClassName:xr}))))}function ki(ae){var We=ae.prefixCls,dt=ae.locale,Dt=ae.generateConfig,Pt=ae.pickerValue,pn=ae.onPickerValueChange,An=ae.onModeChange,Pn="".concat(We,"-quarter-panel"),Xn=Yr(ae,"quarter"),qn=(0,ke.Z)(Xn,1),In=qn[0],ur=Dt.setMonth(Pt,0),pr=function(Sr,qr){return Dt.addMonth(Sr,qr*3)},hr=function(Sr){return xn(Sr,{locale:dt,format:dt.cellQuarterFormat,generateConfig:Dt})},dr=function(){return(0,Xt.Z)({},"".concat(We,"-cell-in-view"),!0)},Cr=oe.createElement("button",{type:"button",key:"year","aria-label":dt.yearSelect,onClick:function(){An("year")},tabIndex:-1,className:"".concat(We,"-year-btn")},xn(Pt,{locale:dt,format:dt.yearFormat,generateConfig:Dt}));return oe.createElement(Er.Provider,{value:In},oe.createElement("div",{className:Pn},oe.createElement(eo,{superOffset:function(Sr){return Dt.addYear(Pt,Sr)},onChange:pn,getStart:function(Sr){return Dt.setMonth(Sr,0)},getEnd:function(Sr){return Dt.setMonth(Sr,11)}},Cr),oe.createElement(oo,(0,Be.Z)({},ae,{titleFormat:dt.fieldQuarterFormat,colNum:4,rowNum:1,baseDate:ur,getCellDate:pr,getCellText:hr,getCellClassName:dr}))))}function Ci(ae){var We=ae.prefixCls,dt=ae.generateConfig,Dt=ae.locale,Pt=ae.value,pn=ae.hoverValue,An=ae.hoverRangeValue,Pn=Dt.locale,Xn="".concat(We,"-week-panel-row"),qn=function(ur){var pr={};if(An){var hr=(0,ke.Z)(An,2),dr=hr[0],Cr=hr[1],xr=Lt(dt,Pn,dr,ur),Sr=Lt(dt,Pn,Cr,ur);pr["".concat(Xn,"-range-start")]=xr,pr["".concat(Xn,"-range-end")]=Sr,pr["".concat(Xn,"-range-hover")]=!xr&&!Sr&&an(dt,dr,Cr,ur)}return pn&&(pr["".concat(Xn,"-hover")]=pn.some(function(qr){return Lt(dt,Pn,ur,qr)})),It()(Xn,(0,Xt.Z)({},"".concat(Xn,"-selected"),!An&&Lt(dt,Pn,Pt,ur)),pr)};return oe.createElement(Jr,(0,Be.Z)({},ae,{mode:"week",panelName:"week",rowClassName:qn}))}function Oi(ae){var We=ae.prefixCls,dt=ae.locale,Dt=ae.generateConfig,Pt=ae.pickerValue,pn=ae.disabledDate,An=ae.onPickerValueChange,Pn=ae.onModeChange,Xn="".concat(We,"-year-panel"),qn=Yr(ae,"year"),In=(0,ke.Z)(qn,1),ur=In[0],pr=function(Ur){var _o=Math.floor(Dt.getYear(Ur)/10)*10;return Dt.setYear(Ur,_o)},hr=function(Ur){var _o=pr(Ur);return Dt.addYear(_o,9)},dr=pr(Pt),Cr=hr(Pt),xr=Dt.addYear(dr,-1),Sr=function(Ur,_o){return Dt.addYear(Ur,_o)},qr=function(Ur){return xn(Ur,{locale:dt,format:dt.cellYearFormat,generateConfig:Dt})},Vr=function(Ur){return(0,Xt.Z)({},"".concat(We,"-cell-in-view"),wn(Dt,Ur,dr)||wn(Dt,Ur,Cr)||an(Dt,dr,Cr,Ur))},Br=pn?function(Zr,Ur){var _o=Dt.setMonth(Zr,0),So=Dt.setDate(_o,1),Po=Dt.addYear(So,1),bo=Dt.addDate(Po,-1);return pn(So,Ur)&&pn(bo,Ur)}:null,io=oe.createElement("button",{type:"button",key:"decade","aria-label":dt.decadeSelect,onClick:function(){Pn("decade")},tabIndex:-1,className:"".concat(We,"-decade-btn")},xn(dr,{locale:dt,format:dt.yearFormat,generateConfig:Dt}),"-",xn(Cr,{locale:dt,format:dt.yearFormat,generateConfig:Dt}));return oe.createElement(Er.Provider,{value:ur},oe.createElement("div",{className:Xn},oe.createElement(eo,{superOffset:function(Ur){return Dt.addYear(Pt,Ur*10)},onChange:An,getStart:pr,getEnd:hr},io),oe.createElement(oo,(0,Be.Z)({},ae,{disabledDate:Br,titleFormat:dt.fieldYearFormat,colNum:3,rowNum:4,baseDate:xr,getCellDate:Sr,getCellText:qr,getCellClassName:Vr}))))}var No={date:Jr,datetime:yi,week:Ci,month:pi,quarter:ki,year:Oi,decade:Jo,time:ui};function Je(ae,We){var dt,Dt=ae.locale,Pt=ae.generateConfig,pn=ae.direction,An=ae.prefixCls,Pn=ae.tabIndex,Xn=Pn===void 0?0:Pn,qn=ae.multiple,In=ae.defaultValue,ur=ae.value,pr=ae.onChange,hr=ae.onSelect,dr=ae.defaultPickerValue,Cr=ae.pickerValue,xr=ae.onPickerValueChange,Sr=ae.mode,qr=ae.onPanelChange,Vr=ae.picker,Br=Vr===void 0?"date":Vr,io=ae.showTime,Zr=ae.hoverValue,Ur=ae.hoverRangeValue,_o=ae.cellRender,So=ae.dateRender,Po=ae.monthCellRender,bo=ae.components,ti=bo===void 0?{}:bo,Oo=ae.hideHeader,uo=((dt=oe.useContext(te))===null||dt===void 0?void 0:dt.prefixCls)||An||"rc-picker",no=oe.useRef();oe.useImperativeHandle(We,function(){return{nativeElement:no.current}});var mo=un(ae),fo=(0,ke.Z)(mo,4),ai=fo[0],ni=fo[1],Fo=fo[2],To=fo[3],co=Kt(Dt,ni),Io=Br==="date"&&io?"datetime":Br,Bo=oe.useMemo(function(){return Cn(Io,Fo,To,ai,co)},[Io,Fo,To,ai,co]),li=Pt.getNow(),Di=(0,at.C8)(Br,{value:Sr,postState:function(Fr){return Fr||"date"}}),Pi=(0,ke.Z)(Di,2),Te=Pi[0],Me=Pi[1],pt=Te==="date"&&Bo?"datetime":Te,At=fr(Pt,Dt,Io),jt=(0,at.C8)(In,{value:ur}),Gt=(0,ke.Z)(jt,2),fn=Gt[0],ln=Gt[1],yn=oe.useMemo(function(){var Ir=Ye(fn).filter(function(Fr){return Fr});return qn?Ir:Ir.slice(0,1)},[fn,qn]),En=(0,at.zX)(function(Ir){ln(Ir),pr&&(Ir===null||yn.length!==Ir.length||yn.some(function(Fr,zr){return!sn(Pt,Dt,Fr,Ir[zr],Io)}))&&(pr==null||pr(qn?Ir:Ir[0]))}),Vn=(0,at.zX)(function(Ir){if(hr==null||hr(Ir),Te===Br){var Fr=qn?At(yn,Ir):[Ir];En(Fr)}}),Tn=(0,at.C8)(dr||yn[0]||li,{value:Cr}),Mn=(0,ke.Z)(Tn,2),Dn=Mn[0],Sn=Mn[1];oe.useEffect(function(){yn[0]&&!Cr&&Sn(yn[0])},[yn[0]]);var vr=function(Fr,zr){qr==null||qr(Fr||Cr,zr||Te)},$n=function(Fr){var zr=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;Sn(Fr),xr==null||xr(Fr),zr&&vr(Fr)},Ar=function(Fr,zr){Me(Fr),zr&&$n(zr),vr(zr,Fr)},br=function(Fr){if(Vn(Fr),$n(Fr),Te!==Br){var zr=["decade","year"],ar=[].concat(zr,["month"]),or={quarter:[].concat(zr,["quarter"]),week:[].concat((0,ut.Z)(ar),["week"]),date:[].concat((0,ut.Z)(ar),["date"])},Rr=or[Br]||ar,Gr=Rr.indexOf(Te),lo=Rr[Gr+1];lo&&Ar(lo,Fr)}},Lr=oe.useMemo(function(){var Ir,Fr;if(Array.isArray(Ur)){var zr=(0,ke.Z)(Ur,2);Ir=zr[0],Fr=zr[1]}else Ir=Ur;return!Ir&&!Fr?null:(Ir=Ir||Fr,Fr=Fr||Ir,Pt.isAfter(Ir,Fr)?[Fr,Ir]:[Ir,Fr])},[Ur,Pt]),Dr=St(_o,So,Po),Pr=ti[pt]||No[pt]||Jr,Wr=oe.useContext(ro),_r=oe.useMemo(function(){return(0,xe.Z)((0,xe.Z)({},Wr),{},{hideHeader:Oo})},[Wr,Oo]),$r="".concat(uo,"-panel"),Mo=et(ae,["showWeek","prevIcon","nextIcon","superPrevIcon","superNextIcon","disabledDate","minDate","maxDate","onHover"]);return oe.createElement(ro.Provider,{value:_r},oe.createElement("div",{ref:no,tabIndex:Xn,className:It()($r,(0,Xt.Z)({},"".concat($r,"-rtl"),pn==="rtl"))},oe.createElement(Pr,(0,Be.Z)({},Mo,{showTime:Bo,prefixCls:uo,locale:co,generateConfig:Pt,onModeChange:Ar,pickerValue:Dn,onPickerValueChange:function(Fr){$n(Fr,!0)},value:yn[0],onSelect:br,values:yn,cellRender:Dr,hoverRangeValue:Lr,hoverValue:Zr}))))}var hn=oe.memo(oe.forwardRef(Je)),Mt=hn;function bn(ae){var We=ae.picker,dt=ae.multiplePanel,Dt=ae.pickerValue,Pt=ae.onPickerValueChange,pn=ae.needConfirm,An=ae.onSubmit,Pn=ae.range,Xn=ae.hoverValue,qn=oe.useContext(te),In=qn.prefixCls,ur=qn.generateConfig,pr=oe.useCallback(function(qr,Vr){return Ht(ur,We,qr,Vr)},[ur,We]),hr=oe.useMemo(function(){return pr(Dt,1)},[Dt,pr]),dr=function(Vr){Pt(pr(Vr,-1))},Cr={onCellDblClick:function(){pn&&An()}},xr=We==="time",Sr=(0,xe.Z)((0,xe.Z)({},ae),{},{hoverValue:null,hoverRangeValue:null,hideHeader:xr});return Pn?Sr.hoverRangeValue=Xn:Sr.hoverValue=Xn,dt?oe.createElement("div",{className:"".concat(In,"-panels")},oe.createElement(ro.Provider,{value:(0,xe.Z)((0,xe.Z)({},Cr),{},{hideNext:!0})},oe.createElement(Mt,Sr)),oe.createElement(ro.Provider,{value:(0,xe.Z)((0,xe.Z)({},Cr),{},{hidePrev:!0})},oe.createElement(Mt,(0,Be.Z)({},Sr,{pickerValue:hr,onPickerValueChange:dr})))):oe.createElement(ro.Provider,{value:(0,xe.Z)({},Cr)},oe.createElement(Mt,Sr))}function Jn(ae){return typeof ae=="function"?ae():ae}function Zn(ae){var We=ae.prefixCls,dt=ae.presets,Dt=ae.onClick,Pt=ae.onHover;return dt.length?oe.createElement("div",{className:"".concat(We,"-presets")},oe.createElement("ul",null,dt.map(function(pn,An){var Pn=pn.label,Xn=pn.value;return oe.createElement("li",{key:An,onClick:function(){Dt(Jn(Xn))},onMouseEnter:function(){Pt(Jn(Xn))},onMouseLeave:function(){Pt(null)}},Pn)}))):null}function kn(ae){var We=ae.panelRender,dt=ae.internalMode,Dt=ae.picker,Pt=ae.showNow,pn=ae.range,An=ae.multiple,Pn=ae.activeInfo,Xn=Pn===void 0?[0,0,0]:Pn,qn=ae.presets,In=ae.onPresetHover,ur=ae.onPresetSubmit,pr=ae.onFocus,hr=ae.onBlur,dr=ae.onPanelMouseDown,Cr=ae.direction,xr=ae.value,Sr=ae.onSelect,qr=ae.isInvalid,Vr=ae.defaultOpenValue,Br=ae.onOk,io=ae.onSubmit,Zr=oe.useContext(te),Ur=Zr.prefixCls,_o="".concat(Ur,"-panel"),So=Cr==="rtl",Po=oe.useRef(null),bo=oe.useRef(null),ti=oe.useState(0),Oo=(0,ke.Z)(ti,2),uo=Oo[0],no=Oo[1],mo=oe.useState(0),fo=(0,ke.Z)(mo,2),ai=fo[0],ni=fo[1],Fo=oe.useState(0),To=(0,ke.Z)(Fo,2),co=To[0],Io=To[1],Bo=function(br){br.width&&no(br.width)},li=(0,ke.Z)(Xn,3),Di=li[0],Pi=li[1],Te=li[2],Me=oe.useState(0),pt=(0,ke.Z)(Me,2),At=pt[0],jt=pt[1];oe.useEffect(function(){jt(10)},[Di]),oe.useEffect(function(){if(pn&&bo.current){var Ar,br=((Ar=Po.current)===null||Ar===void 0?void 0:Ar.offsetWidth)||0,Lr=bo.current.getBoundingClientRect();if(!Lr.height||Lr.right<0){jt(function(_r){return Math.max(0,_r-1)});return}var Dr=(So?Pi-br:Di)-Lr.left;if(Io(Dr),uo&&uo<Te){var Pr=So?Lr.right-(Pi-br+uo):Di+br-Lr.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(Ye(xr))},[xr]),ln=Dt==="time"&&!fn.length,yn=oe.useMemo(function(){return ln?Gt([Vr]):fn},[ln,fn,Vr]),En=ln?Vr:fn,Vn=oe.useMemo(function(){return yn.length?yn.some(function(Ar){return qr(Ar)}):!0},[yn,qr]),Tn=function(){ln&&Sr(Vr),Br(),io()},Mn=oe.createElement("div",{className:"".concat(Ur,"-panel-layout")},oe.createElement(Zn,{prefixCls:Ur,presets:qn,onClick:ur,onHover:In}),oe.createElement("div",null,oe.createElement(bn,(0,Be.Z)({},ae,{value:En})),oe.createElement(to,(0,Be.Z)({},ae,{showNow:An?!1:Pt,invalid:Vn,onSubmit:Tn}))));We&&(Mn=We(Mn));var Dn="".concat(_o,"-container"),Sn="marginLeft",vr="marginRight",$n=oe.createElement("div",{onMouseDown:dr,tabIndex:-1,className:It()(Dn,"".concat(Ur,"-").concat(dt,"-panel-container")),style:(0,Xt.Z)((0,Xt.Z)({},So?vr:Sn,ai),So?Sn:vr,"auto"),onFocus:pr,onBlur:hr},Mn);return pn&&($n=oe.createElement("div",{onMouseDown:dr,ref:bo,className:It()("".concat(Ur,"-range-wrapper"),"".concat(Ur,"-").concat(Dt,"-range-wrapper"))},oe.createElement("div",{ref:Po,className:"".concat(Ur,"-range-arrow"),style:{left:co}}),oe.createElement(On.Z,{onResize:Bo},$n))),$n}var yr=E(42244);function zn(ae,We){var dt=ae.format,Dt=ae.maskFormat,Pt=ae.generateConfig,pn=ae.locale,An=ae.preserveInvalidOnBlur,Pn=ae.inputReadOnly,Xn=ae.required,qn=ae["aria-required"],In=ae.onSubmit,ur=ae.onFocus,pr=ae.onBlur,hr=ae.onInputChange,dr=ae.onInvalid,Cr=ae.open,xr=ae.onOpenChange,Sr=ae.onKeyDown,qr=ae.onChange,Vr=ae.activeHelp,Br=ae.name,io=ae.autoComplete,Zr=ae.id,Ur=ae.value,_o=ae.invalid,So=ae.placeholder,Po=ae.disabled,bo=ae.activeIndex,ti=ae.allHelp,Oo=ae.picker,uo=function(co,Io){var Bo=Pt.locale.parse(pn.locale,co,[Io]);return Bo&&Pt.isValidate(Bo)?Bo:null},no=dt[0],mo=oe.useCallback(function(To){return xn(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 Io=0;Io<dt.length;Io+=1){var Bo=dt[Io];if(typeof Bo=="string"){var li=uo(co,Bo);if(li)return li}}return!1},Fo=function(co){function Io(Di){return co!==void 0?Di[co]:Di}var Bo=(0,Nt.Z)(ae,{aria:!0,data:!0}),li=(0,xe.Z)((0,xe.Z)({},Bo),{},{format:Dt,validateFormat:function(Pi){return!!ni(Pi)},preserveInvalidOnBlur:An,readOnly:Pn,required:Xn,"aria-required":qn,name:Br,autoComplete:io,size:ai,id:Io(Zr),value:Io(fo)||"",invalid:Io(_o),placeholder:Io(So),active:bo===co,helped:ti||Vr&&bo===co,disabled:Io(Po),onFocus:function(Pi){ur(Pi,co)},onBlur:function(Pi){pr(Pi,co)},onSubmit:In,onChange:function(Pi){hr();var Te=ni(Pi);if(Te){dr(!1,co),qr(Te,co);return}dr(!!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}}},We==null?void 0:We({valueTexts:fo}));return Object.keys(li).forEach(function(Di){li[Di]===void 0&&delete li[Di]}),li};return[Fo,mo]}var Kn=["onMouseEnter","onMouseLeave"];function tr(ae){return oe.useMemo(function(){return et(ae,Kn)},[ae])}var kr=["icon","type"],wo=["onClear"];function ci(ae){var We=ae.icon,dt=ae.type,Dt=(0,yr.Z)(ae,kr),Pt=oe.useContext(te),pn=Pt.prefixCls;return We?oe.createElement("span",(0,Be.Z)({className:"".concat(pn,"-").concat(dt)},Dt),We):null}function ii(ae){var We=ae.onClear,dt=(0,yr.Z)(ae,wo);return oe.createElement(ci,(0,Be.Z)({},dt,{type:"clear",role:"button",onMouseDown:function(Pt){Pt.preventDefault()},onClick:function(Pt){Pt.stopPropagation(),We()}}))}var oi=E(38705),vi=E(17212),mi=["YYYY","MM","DD","HH","mm","ss","SSS"],Li="\u9867",Bi=function(){function ae(We){(0,oi.Z)(this,ae),(0,Xt.Z)(this,"format",void 0),(0,Xt.Z)(this,"maskFormat",void 0),(0,Xt.Z)(this,"cells",void 0),(0,Xt.Z)(this,"maskCells",void 0),this.format=We;var dt=mi.map(function(Pn){return"(".concat(Pn,")")}).join("|"),Dt=new RegExp(dt,"g");this.maskFormat=We.replace(Dt,function(Pn){return Li.repeat(Pn.length)});var Pt=new RegExp("(".concat(mi.join("|"),")")),pn=(We.split(Pt)||[]).filter(function(Pn){return Pn}),An=0;this.cells=pn.map(function(Pn){var Xn=mi.includes(Pn),qn=An,In=An+Pn.length;return An=In,{text:Pn,mask:Xn,start:qn,end:In}}),this.maskCells=this.cells.filter(function(Pn){return Pn.mask})}return(0,vi.Z)(ae,[{key:"getSelection",value:function(dt){var Dt=this.maskCells[dt]||{},Pt=Dt.start,pn=Dt.end;return[Pt||0,pn||0]}},{key:"match",value:function(dt){for(var Dt=0;Dt<this.maskFormat.length;Dt+=1){var Pt=this.maskFormat[Dt],pn=dt[Dt];if(!pn||Pt!==Li&&Pt!==pn)return!1}return!0}},{key:"size",value:function(){return this.maskCells.length}},{key:"getMaskCellIndex",value:function(dt){for(var Dt=Number.MAX_SAFE_INTEGER,Pt=0,pn=0;pn<this.maskCells.length;pn+=1){var An=this.maskCells[pn],Pn=An.start,Xn=An.end;if(dt>=Pn&&dt<=Xn)return pn;var qn=Math.min(Math.abs(dt-Pn),Math.abs(dt-Xn));qn<Dt&&(Dt=qn,Pt=pn)}return Pt}}]),ae}();function Ti(ae){var We={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 We[ae]}var Vi=["active","showActiveCls","suffixIcon","format","validateFormat","onChange","onInput","helped","onHelp","onSubmit","onKeyDown","preserveInvalidOnBlur","invalid","clearIcon"],sa=oe.forwardRef(function(ae,We){var dt=ae.active,Dt=ae.showActiveCls,Pt=Dt===void 0?!0:Dt,pn=ae.suffixIcon,An=ae.format,Pn=ae.validateFormat,Xn=ae.onChange,qn=ae.onInput,In=ae.helped,ur=ae.onHelp,pr=ae.onSubmit,hr=ae.onKeyDown,dr=ae.preserveInvalidOnBlur,Cr=dr===void 0?!1:dr,xr=ae.invalid,Sr=ae.clearIcon,qr=(0,yr.Z)(ae,Vi),Vr=ae.value,Br=ae.onFocus,io=ae.onBlur,Zr=ae.onMouseUp,Ur=oe.useContext(te),_o=Ur.prefixCls,So=Ur.input,Po=So===void 0?"input":So,bo="".concat(_o,"-input"),ti=oe.useState(!1),Oo=(0,ke.Z)(ti,2),uo=Oo[0],no=Oo[1],mo=oe.useState(Vr),fo=(0,ke.Z)(mo,2),ai=fo[0],ni=fo[1],Fo=oe.useState(""),To=(0,ke.Z)(Fo,2),co=To[0],Io=To[1],Bo=oe.useState(null),li=(0,ke.Z)(Bo,2),Di=li[0],Pi=li[1],Te=oe.useState(null),Me=(0,ke.Z)(Te,2),pt=Me[0],At=Me[1],jt=ai||"";oe.useEffect(function(){ni(Vr)},[Vr]);var Gt=oe.useRef(),fn=oe.useRef();oe.useImperativeHandle(We,function(){return{nativeElement:Gt.current,inputElement:fn.current,focus:function(Fr){fn.current.focus(Fr)},blur:function(){fn.current.blur()}}});var ln=oe.useMemo(function(){return new Bi(An||"")},[An]),yn=oe.useMemo(function(){return In?[0,0]:ln.getSelection(Di)},[ln,Di,In]),En=(0,ke.Z)(yn,2),Vn=En[0],Tn=En[1],Mn=function(Fr){Fr&&Fr!==An&&Fr!==Vr&&ur()},Dn=(0,at.zX)(function(Ir){Pn(Ir)&&Xn(Ir),ni(Ir),Mn(Ir)}),Sn=function(Fr){if(!An){var zr=Fr.target.value;Mn(zr),ni(zr),Xn(zr)}},vr=function(Fr){var zr=Fr.clipboardData.getData("text");Pn(zr)&&Dn(zr)},$n=oe.useRef(!1),Ar=function(){$n.current=!0},br=function(Fr){var zr=Fr.target,ar=zr.selectionStart,or=ln.getMaskCellIndex(ar);Pi(or),At({}),Zr==null||Zr(Fr),$n.current=!1},Lr=function(Fr){no(!0),Pi(0),Io(""),Br(Fr)},Dr=function(Fr){io(Fr)},Pr=function(Fr){no(!1),Dr(Fr)};kt(dt,function(){!dt&&!Cr&&ni(Vr)});var Wr=function(Fr){Fr.key==="Enter"&&Pn(jt)&&pr(),hr==null||hr(Fr)},_r=function(Fr){Wr(Fr);var zr=Fr.key,ar=null,or=null,Rr=Tn-Vn,Gr=An.slice(Vn,Tn),lo=function(xi){Pi(function(pa){var Qi=pa+xi;return Qi=Math.max(Qi,0),Qi=Math.min(Qi,ln.size()-1),Qi})},Lo=function(xi){var pa=Ti(Gr),Qi=(0,ke.Z)(pa,3),ua=Qi[0],ga=Qi[1],Ca=Qi[2],Ri=jt.slice(Vn,Tn),Ni=Number(Ri);if(isNaN(Ni))return String(Ca||(xi>0?ua:ga));var Pa=Ni+xi,Ma=ga-ua+1;return String(ua+(Ma+Pa-ua)%Ma)};switch(zr){case"Backspace":case"Delete":ar="",or=Gr;break;case"ArrowLeft":ar="",lo(-1);break;case"ArrowRight":ar="",lo(1);break;case"ArrowUp":ar="",or=Lo(1);break;case"ArrowDown":ar="",or=Lo(-1);break;default:isNaN(Number(zr))||(ar=co+zr,or=ar);break}if(ar!==null&&(Io(ar),ar.length>=Rr&&(lo(1),Io(""))),or!==null){var Xr=jt.slice(0,Vn)+fe(or,Rr)+jt.slice(Tn);Dn(Xr.slice(0,An.length))}At({})},$r=oe.useRef();(0,Rt.Z)(function(){if(!(!uo||!An||$n.current)){if(!ln.match(jt)){Dn(An);return}return fn.current.setSelectionRange(Vn,Tn),$r.current=(0,Nr.Z)(function(){fn.current.setSelectionRange(Vn,Tn)}),function(){Nr.Z.cancel($r.current)}}},[ln,An,uo,jt,Di,Vn,Tn,pt,Dn]);var Mo=An?{onFocus:Lr,onBlur:Pr,onKeyDown:_r,onMouseDown:Ar,onMouseUp:br,onPaste:vr}:{};return oe.createElement("div",{ref:Gt,className:It()(bo,(0,Xt.Z)((0,Xt.Z)({},"".concat(bo,"-active"),dt&&Pt),"".concat(bo,"-placeholder"),In))},oe.createElement(Po,(0,Be.Z)({ref:fn,"aria-invalid":xr,autoComplete:"off"},qr,{onKeyDown:Wr,onBlur:Dr},Mo,{value:jt,onChange:Sn})),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,We){var dt=ae.id,Dt=ae.prefix,Pt=ae.clearIcon,pn=ae.suffixIcon,An=ae.separator,Pn=An===void 0?"~":An,Xn=ae.activeIndex,qn=ae.activeHelp,In=ae.allHelp,ur=ae.focused,pr=ae.onFocus,hr=ae.onBlur,dr=ae.onKeyDown,Cr=ae.locale,xr=ae.generateConfig,Sr=ae.placeholder,qr=ae.className,Vr=ae.style,Br=ae.onClick,io=ae.onClear,Zr=ae.value,Ur=ae.onChange,_o=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,Io=ae["aria-required"],Bo=ae.autoFocus,li=ae.tabIndex,Di=(0,yr.Z)(ae,wa),Pi=fo==="rtl",Te=oe.useContext(te),Me=Te.prefixCls,pt=oe.useMemo(function(){if(typeof dt=="string")return[dt];var Dr=dt||{};return[Dr.start,Dr.end]},[dt]),At=oe.useRef(),jt=oe.useRef(),Gt=oe.useRef(),fn=function(Pr){var Wr;return(Wr=[jt,Gt][Pr])===null||Wr===void 0?void 0:Wr.current};oe.useImperativeHandle(We,function(){return{nativeElement:At.current,focus:function(Pr){if((0,vn.Z)(Pr)==="object"){var Wr,_r=Pr||{},$r=_r.index,Mo=$r===void 0?0:$r,Ir=(0,yr.Z)(_r,ha);(Wr=fn(Mo))===null||Wr===void 0||Wr.focus(Ir)}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 ln=tr(Di),yn=oe.useMemo(function(){return Array.isArray(Sr)?Sr:[Sr,Sr]},[Sr]),En=zn((0,xe.Z)((0,xe.Z)({},ae),{},{id:pt,placeholder:yn})),Vn=(0,ke.Z)(En,1),Tn=Vn[0],Mn=oe.useState({position:"absolute",width:0}),Dn=(0,ke.Z)(Mn,2),Sn=Dn[0],vr=Dn[1],$n=(0,at.zX)(function(){var Dr=fn(Xn);if(Dr){var Pr=Dr.nativeElement.getBoundingClientRect(),Wr=At.current.getBoundingClientRect(),_r=Pr.left-Wr.left;vr(function($r){return(0,xe.Z)((0,xe.Z)({},$r),{},{width:Pr.width,left:_r})}),ni([Pr.left,Pr.right,Wr.width])}});oe.useEffect(function(){$n()},[Xn]);var Ar=Pt&&(Zr[0]&&!uo[0]||Zr[1]&&!uo[1]),br=Bo&&!uo[0],Lr=Bo&&!br&&!uo[1];return oe.createElement(On.Z,{onResize:$n},oe.createElement("div",(0,Be.Z)({},ln,{className:It()(Me,"".concat(Me,"-range"),(0,Xt.Z)((0,Xt.Z)((0,Xt.Z)((0,Xt.Z)({},"".concat(Me,"-focused"),ur),"".concat(Me,"-disabled"),uo.every(function(Dr){return Dr})),"".concat(Me,"-invalid"),no.some(function(Dr){return Dr})),"".concat(Me,"-rtl"),Pi),qr),style:Vr,ref:At,onClick:Br,onMouseDown:function(Pr){var Wr=Pr.target;Wr!==jt.current.inputElement&&Wr!==Gt.current.inputElement&&Pr.preventDefault(),To==null||To(Pr)}}),Dt&&oe.createElement("div",{className:"".concat(Me,"-prefix")},Dt),oe.createElement(fa,(0,Be.Z)({ref:jt},Tn(0),{autoFocus:br,tabIndex:li,"date-range":"start"})),oe.createElement("div",{className:"".concat(Me,"-range-separator")},Pn),oe.createElement(fa,(0,Be.Z)({ref:Gt},Tn(1),{autoFocus:Lr,tabIndex:li,"date-range":"end"})),oe.createElement("div",{className:"".concat(Me,"-active-bar"),style:Sn}),oe.createElement(ci,{type:"suffix",icon:pn}),Ar&&oe.createElement(ii,{icon:Pt,onClear:io})))}var Do=oe.forwardRef(Ao),Co=Do;function $i(ae,We){var dt=ae!=null?ae:We;return Array.isArray(dt)?dt:[dt,dt]}function Uo(ae){return ae===1?"end":"start"}function Ho(ae,We){var dt=jr(ae,function(){var aa=ae.disabled,Hi=ae.allowEmpty,ho=$i(aa,!1),fi=$i(Hi,!1);return{disabled:ho,allowEmpty:fi}}),Dt=(0,ke.Z)(dt,6),Pt=Dt[0],pn=Dt[1],An=Dt[2],Pn=Dt[3],Xn=Dt[4],qn=Dt[5],In=Pt.prefixCls,ur=Pt.styles,pr=Pt.classNames,hr=Pt.defaultValue,dr=Pt.value,Cr=Pt.needConfirm,xr=Pt.onKeyDown,Sr=Pt.disabled,qr=Pt.allowEmpty,Vr=Pt.disabledDate,Br=Pt.minDate,io=Pt.maxDate,Zr=Pt.defaultOpen,Ur=Pt.open,_o=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,Io=Pt.suffixIcon,Bo=Pt.onFocus,li=Pt.onBlur,Di=Pt.presets,Pi=Pt.ranges,Te=Pt.components,Me=Pt.cellRender,pt=Pt.dateRender,At=Pt.monthCellRender,jt=Pt.onClick,Gt=cr(We),fn=Nn(Ur,Zr,Sr,_o),ln=(0,ke.Z)(fn,2),yn=ln[0],En=ln[1],Vn=function(Hi,ho){(Sr.some(function(fi){return!fi})||!Hi)&&En(Hi,ho)},Tn=Bt(Po,So,Pn,!0,!1,hr,dr,fo,ai),Mn=(0,ke.Z)(Tn,5),Dn=Mn[0],Sn=Mn[1],vr=Mn[2],$n=Mn[3],Ar=Mn[4],br=vr(),Lr=qt(Sr,qr,yn),Dr=(0,ke.Z)(Lr,9),Pr=Dr[0],Wr=Dr[1],_r=Dr[2],$r=Dr[3],Mo=Dr[4],Ir=Dr[5],Fr=Dr[6],zr=Dr[7],ar=Dr[8],or=function(Hi,ho){Wr(!0),Bo==null||Bo(Hi,{range:Uo(ho!=null?ho:$r)})},Rr=function(Hi,ho){Wr(!1),li==null||li(Hi,{range:Uo(ho!=null?ho:$r)})},Gr=oe.useMemo(function(){if(!uo)return null;var aa=uo.disabledTime,Hi=aa?function(ho){var fi=Uo($r),Yi=mt(br,Fr,$r);return aa(ho,fi,{from:Yi})}:void 0;return(0,xe.Z)((0,xe.Z)({},uo),{},{disabledTime:Hi})},[uo,$r,br,Fr]),lo=(0,at.C8)([bo,bo],{value:no}),Lo=(0,ke.Z)(lo,2),Xr=Lo[0],Fi=Lo[1],xi=Xr[$r]||bo,pa=xi==="date"&&Gr?"datetime":xi,Qi=pa===bo&&pa!=="time",ua=$t(bo,xi,ti,Oo,!0),ga=Ot(Pt,Dn,Sn,vr,$n,Sr,Pn,Pr,yn,qn),Ca=(0,ke.Z)(ga,2),Ri=Ca[0],Ni=Ca[1],Pa=gt(br,Sr,Fr,Po,So,Vr),Ma=Qe(br,qn,qr),Vo=(0,ke.Z)(Ma,2),Si=Vo[0],zo=Vo[1],go=Ut(Po,So,br,Xr,yn,$r,pn,Qi,ni,Fo,Gr==null?void 0:Gr.defaultOpenValue,To,Br,io),Ki=(0,ke.Z)(go,2),qi=Ki[0],ba=Ki[1],ea=(0,at.zX)(function(aa,Hi,ho){var fi=vt(Xr,$r,Hi);if((fi[0]!==Xr[0]||fi[1]!==Xr[1])&&Fi(fi),mo&&ho!==!1){var Yi=(0,ut.Z)(br);aa&&(Yi[$r]=aa),mo(Yi,fi)}}),Oa=function(Hi,ho){return vt(br,ho,Hi)},Da=function(Hi,ho){var fi=br;Hi&&(fi=Oa(Hi,$r)),zr($r);var Yi=Ir(fi);$n(fi),Ri($r,Yi===null),Yi===null?Vn(!1,{force:!0}):ho||Gt.current.focus({index:Yi})},$o=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(Va){return!Va});Yi>=0&&Gt.current.focus({index:Yi})}Vn(!0),jt==null||jt(Hi)},si=function(){Ni(null),Vn(!1,{force:!0})},ta=oe.useState(null),ca=(0,ke.Z)(ta,2),da=ca[0],za=ca[1],Ea=oe.useState(null),Ga=(0,ke.Z)(Ea,2),ya=Ga[0],Ui=Ga[1],va=oe.useMemo(function(){return ya||br},[br,ya]);oe.useEffect(function(){yn||Ui(null)},[yn]);var xa=oe.useState([0,0,0]),Ra=(0,ke.Z)(xa,2),La=Ra[0],Gi=Ra[1],Fa=sr(Di,Pi),ia=function(Hi){Ui(Hi),za("preset")},Xa=function(Hi){var ho=Ni(Hi);ho&&Vn(!1,{force:!0})},ja=function(Hi){Da(Hi)},nl=function(Hi){Ui(Hi?Oa(Hi,$r):null),za("cell")},ll=function(Hi){Vn(!0),or(Hi)},Ml=function(){_r("panel")},Sa=function(Hi){var ho=vt(br,$r,Hi);$n(ho),!Cr&&!An&&pn===pa&&Da(Hi)},as=function(){Vn(!1)},rl=St(Me,pt,At,Uo($r)),Dl=br[$r]||null,pl=(0,at.zX)(function(aa){return qn(aa,{activeIndex:$r})}),wi=oe.useMemo(function(){var aa=(0,Nt.Z)(Pt,!1),Hi=(0,ft.Z)(Pt,[].concat((0,ut.Z)(Object.keys(aa)),["onChange","onCalendarChange","style","className","onPanelChange","disabledTime"]));return Hi},[Pt]),jo=oe.createElement(kn,(0,Be.Z)({},wi,{showNow:ua,showTime:Gr,range:!0,multiplePanel:Qi,activeInfo:La,disabledDate:Pa,onFocus:ll,onBlur:Rr,onPanelMouseDown:Ml,picker:bo,mode:xi,internalMode:pa,onPanelChange:ea,format:Xn,value:Dl,isInvalid:pl,onChange:null,onSelect:Sa,pickerValue:qi,defaultOpenValue:Ye(uo==null?void 0:uo.defaultOpenValue)[$r],onPickerValueChange:ba,hoverValue:va,onHover:nl,needConfirm:Cr,onSubmit:Da,onOk:Ar,presets:Fa,onPresetHover:ia,onPresetSubmit:Xa,onNow:ja,cellRender:rl})),Na=function(Hi,ho){var fi=Oa(Hi,ho);$n(fi)},sl=function(){_r("input")},Bl=function(Hi,ho){var fi=Fr.length,Yi=Fr[fi-1];if(fi&&Yi!==ho&&Cr&&!qr[Yi]&&!ar(Yi)&&br[Yi]){Gt.current.focus({index:Yi});return}_r("input"),Vn(!0,{inherit:!0}),$r!==ho&&yn&&!Cr&&An&&Da(null,!0),Mo(ho),or(Hi,ho)},_l=function(Hi,ho){if(Vn(!1),!Cr&&_r()==="input"){var fi=Ir(br);Ri($r,fi===null)}Rr(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,Rt.Z)(function(){yn&&$r!==void 0&&ea(null,bo,!1)},[yn,$r,bo]),(0,Rt.Z)(function(){var aa=_r();!yn&&aa==="input"&&(Vn(!1),Da(null,!0)),!yn&&An&&!Cr&&aa==="panel"&&(Vn(!0),Da())},[yn]),0)var Rs;return oe.createElement(te.Provider,{value:Fs},oe.createElement(re,(0,Be.Z)({},yt(Pt),{popupElement:jo,popupStyle:ur.popup,popupClassName:pr.popup,visible:yn,onClose:as,range:!0}),oe.createElement(Co,(0,Be.Z)({},Pt,{ref:Gt,suffixIcon:Io,activeIndex:Pr||yn?$r:null,activeHelp:!!ya,allHelp:!!ya&&da==="preset",focused:Pr,onFocus:Bl,onBlur:_l,onKeyDown:Ds,onSubmit:Da,value:va,maskFormat:Xn,onChange:Na,onInputChange:sl,format:Pn,inputReadOnly:co,disabled:Sr,open:yn,onOpenChange:Vn,onClick:$o,onClear:si,invalid:Si,onInvalid:zo,onActiveInfo:Gi}))))}var Ii=oe.forwardRef(Ho),bi=Ii,hi=E(83836);function Xo(ae){var We=ae.prefixCls,dt=ae.value,Dt=ae.onRemove,Pt=ae.removeIcon,pn=Pt===void 0?"\xD7":Pt,An=ae.formatDate,Pn=ae.disabled,Xn=ae.maxTagCount,qn=ae.placeholder,In="".concat(We,"-selector"),ur="".concat(We,"-selection"),pr="".concat(ur,"-overflow");function hr(xr,Sr){return oe.createElement("span",{className:It()("".concat(ur,"-item")),title:typeof xr=="string"?xr:null},oe.createElement("span",{className:"".concat(ur,"-item-content")},xr),!Pn&&Sr&&oe.createElement("span",{onMouseDown:function(Vr){Vr.preventDefault()},onClick:Sr,className:"".concat(ur,"-item-remove")},pn))}function dr(xr){var Sr=An(xr),qr=function(Br){Br&&Br.stopPropagation(),Dt(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:dt,renderItem:dr,renderRest:Cr,itemKey:function(Sr){return An(Sr)},maxCount:Xn}),!dt.length&&oe.createElement("span",{className:"".concat(We,"-selection-placeholder")},qn))}var Ia=["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,We){var dt=ae.id,Dt=ae.open,Pt=ae.prefix,pn=ae.clearIcon,An=ae.suffixIcon,Pn=ae.activeHelp,Xn=ae.allHelp,qn=ae.focused,In=ae.onFocus,ur=ae.onBlur,pr=ae.onKeyDown,hr=ae.locale,dr=ae.generateConfig,Cr=ae.placeholder,xr=ae.className,Sr=ae.style,qr=ae.onClick,Vr=ae.onClear,Br=ae.internalPicker,io=ae.value,Zr=ae.onChange,Ur=ae.onSubmit,_o=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"],Io=ae.autoFocus,Bo=ae.tabIndex,li=ae.removeIcon,Di=(0,yr.Z)(ae,Ia),Pi=ai==="rtl",Te=oe.useContext(te),Me=Te.prefixCls,pt=oe.useRef(),At=oe.useRef();oe.useImperativeHandle(We,function(){return{nativeElement:pt.current,focus:function(Sn){var vr;(vr=At.current)===null||vr===void 0||vr.focus(Sn)},blur:function(){var Sn;(Sn=At.current)===null||Sn===void 0||Sn.blur()}}});var jt=tr(Di),Gt=function(Sn){Zr([Sn])},fn=function(Sn){var vr=io.filter(function($n){return $n&&!sn(dr,hr,$n,Sn,Br)});Zr(vr),Dt||Ur()},ln=zn((0,xe.Z)((0,xe.Z)({},ae),{},{onChange:Gt}),function(Dn){var Sn=Dn.valueTexts;return{value:Sn[0]||"",active:qn}}),yn=(0,ke.Z)(ln,2),En=yn[0],Vn=yn[1],Tn=!!(pn&&io.length&&!no),Mn=So?oe.createElement(oe.Fragment,null,oe.createElement(Xo,{prefixCls:Me,value:io,onRemove:fn,formatDate:Vn,maxTagCount:Po,disabled:no,removeIcon:li,placeholder:Cr}),oe.createElement("input",{className:"".concat(Me,"-multiple-input"),value:io.map(Vn).join(","),ref:At,readOnly:!0,autoFocus:Io,tabIndex:Bo}),oe.createElement(ci,{type:"suffix",icon:An}),Tn&&oe.createElement(ii,{icon:pn,onClear:Vr})):oe.createElement(fa,(0,Be.Z)({ref:At},En(),{autoFocus:Io,tabIndex:Bo,suffixIcon:An,clearIcon:Tn&&oe.createElement(ii,{icon:pn,onClear:Vr}),showActiveCls:!1}));return oe.createElement("div",(0,Be.Z)({},jt,{className:It()(Me,(0,Xt.Z)((0,Xt.Z)((0,Xt.Z)((0,Xt.Z)((0,Xt.Z)({},"".concat(Me,"-multiple"),So),"".concat(Me,"-focused"),qn),"".concat(Me,"-disabled"),no),"".concat(Me,"-invalid"),mo),"".concat(Me,"-rtl"),Pi),xr),style:Sr,ref:pt,onClick:qr,onMouseDown:function(Sn){var vr,$n=Sn.target;$n!==((vr=At.current)===null||vr===void 0?void 0:vr.inputElement)&&Sn.preventDefault(),Fo==null||Fo(Sn)}}),Pt&&oe.createElement("div",{className:"".concat(Me,"-prefix")},Pt),Mn)}var Aa=oe.forwardRef(Ha),ra=Aa;function El(ae,We){var dt=jr(ae),Dt=(0,ke.Z)(dt,6),Pt=Dt[0],pn=Dt[1],An=Dt[2],Pn=Dt[3],Xn=Dt[4],qn=Dt[5],In=Pt,ur=In.prefixCls,pr=In.styles,hr=In.classNames,dr=In.order,Cr=In.defaultValue,xr=In.value,Sr=In.needConfirm,qr=In.onChange,Vr=In.onKeyDown,Br=In.disabled,io=In.disabledDate,Zr=In.minDate,Ur=In.maxDate,_o=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,Io=In.pickerValue,Bo=In.onPickerValueChange,li=In.inputReadOnly,Di=In.suffixIcon,Pi=In.removeIcon,Te=In.onFocus,Me=In.onBlur,pt=In.presets,At=In.components,jt=In.cellRender,Gt=In.dateRender,fn=In.monthCellRender,ln=In.onClick,yn=cr(We);function En(wi){return wi===null?null:To?wi:wi[0]}var Vn=fr(ti,bo,pn),Tn=Nn(So,_o,[Br],Po),Mn=(0,ke.Z)(Tn,2),Dn=Mn[0],Sn=Mn[1],vr=function(jo,Na,sl){if(ni){var Bl=(0,xe.Z)({},sl);delete Bl.range,ni(En(jo),En(Na),Bl)}},$n=function(jo){Fo==null||Fo(En(jo))},Ar=Bt(ti,bo,Pn,!1,dr,Cr,xr,vr,$n),br=(0,ke.Z)(Ar,5),Lr=br[0],Dr=br[1],Pr=br[2],Wr=br[3],_r=br[4],$r=Pr(),Mo=qt([Br]),Ir=(0,ke.Z)(Mo,4),Fr=Ir[0],zr=Ir[1],ar=Ir[2],or=Ir[3],Rr=function(jo){zr(!0),Te==null||Te(jo,{})},Gr=function(jo){zr(!1),Me==null||Me(jo,{})},lo=(0,at.C8)(Oo,{value:fo}),Lo=(0,ke.Z)(lo,2),Xr=Lo[0],Fi=Lo[1],xi=Xr==="date"&&mo?"datetime":Xr,pa=$t(Oo,Xr,uo,no),Qi=qr&&function(wi,jo){qr(En(wi),En(jo))},ua=Ot((0,xe.Z)((0,xe.Z)({},Pt),{},{onChange:Qi}),Lr,Dr,Pr,Wr,[],Pn,Fr,Dn,qn),ga=(0,ke.Z)(ua,2),Ca=ga[1],Ri=Qe($r,qn),Ni=(0,ke.Z)(Ri,2),Pa=Ni[0],Ma=Ni[1],Vo=oe.useMemo(function(){return Pa.some(function(wi){return wi})},[Pa]),Si=function(jo,Na){if(Bo){var sl=(0,xe.Z)((0,xe.Z)({},Na),{},{mode:Na.mode[0]});delete sl.range,Bo(jo[0],sl)}},zo=Ut(ti,bo,$r,[Xr],Dn,or,pn,!1,co,Io,Ye(mo==null?void 0:mo.defaultOpenValue),Si,Zr,Ur),go=(0,ke.Z)(zo,2),Ki=go[0],qi=go[1],ba=(0,at.zX)(function(wi,jo,Na){if(Fi(jo),ai&&Na!==!1){var sl=wi||$r[$r.length-1];ai(sl,jo)}}),ea=function(){Ca(Pr()),Sn(!1,{force:!0})},Oa=function(jo){!Br&&!yn.current.nativeElement.contains(document.activeElement)&&yn.current.focus(),Sn(!0),ln==null||ln(jo)},Da=function(){Ca(null),Sn(!1,{force:!0})},$o=oe.useState(null),si=(0,ke.Z)($o,2),ta=si[0],ca=si[1],da=oe.useState(null),za=(0,ke.Z)(da,2),Ea=za[0],Ga=za[1],ya=oe.useMemo(function(){var wi=[Ea].concat((0,ut.Z)($r)).filter(function(jo){return jo});return To?wi:wi.slice(0,1)},[$r,Ea,To]),Ui=oe.useMemo(function(){return!To&&Ea?[Ea]:$r.filter(function(wi){return wi})},[$r,Ea,To]);oe.useEffect(function(){Dn||Ga(null)},[Dn]);var va=sr(pt),xa=function(jo){Ga(jo),ca("preset")},Ra=function(jo){var Na=To?Vn(Pr(),jo):[jo],sl=Ca(Na);sl&&!To&&Sn(!1,{force:!0})},La=function(jo){Ra(jo)},Gi=function(jo){Ga(jo),ca("cell")},Fa=function(jo){Sn(!0),Rr(jo)},ia=function(jo){if(ar("panel"),!(To&&xi!==Oo)){var Na=To?Vn(Pr(),jo):[jo];Wr(Na),!Sr&&!An&&pn===xi&&ea()}},Xa=function(){Sn(!1)},ja=St(jt,Gt,fn),nl=oe.useMemo(function(){var wi=(0,Nt.Z)(Pt,!1),jo=(0,ft.Z)(Pt,[].concat((0,ut.Z)(Object.keys(wi)),["onChange","onCalendarChange","style","className","onPanelChange"]));return(0,xe.Z)((0,xe.Z)({},jo),{},{multiple:Pt.multiple})},[Pt]),ll=oe.createElement(kn,(0,Be.Z)({},nl,{showNow:pa,showTime:mo,disabledDate:io,onFocus:Fa,onBlur:Gr,picker:Oo,mode:Xr,internalMode:xi,onPanelChange:ba,format:Xn,value:$r,isInvalid:qn,onChange:null,onSelect:ia,pickerValue:Ki,defaultOpenValue:mo==null?void 0:mo.defaultOpenValue,onPickerValueChange:qi,hoverValue:ya,onHover:Gi,needConfirm:Sr,onSubmit:ea,onOk:_r,presets:va,onPresetHover:xa,onPresetSubmit:Ra,onNow:La,cellRender:ja})),Ml=function(jo){Wr(jo)},Sa=function(){ar("input")},as=function(jo){ar("input"),Sn(!0,{inherit:!0}),Rr(jo)},rl=function(jo){Sn(!1),Gr(jo)},Dl=function(jo,Na){jo.key==="Tab"&&ea(),Vr==null||Vr(jo,Na)},pl=oe.useMemo(function(){return{prefixCls:ur,locale:bo,generateConfig:ti,button:At.button,input:At.input}},[ur,bo,ti,At.button,At.input]);return(0,Rt.Z)(function(){Dn&&or!==void 0&&ba(null,Oo,!1)},[Dn,or,Oo]),(0,Rt.Z)(function(){var wi=ar();!Dn&&wi==="input"&&(Sn(!1),ea()),!Dn&&An&&!Sr&&wi==="panel"&&ea()},[Dn]),oe.createElement(te.Provider,{value:pl},oe.createElement(re,(0,Be.Z)({},yt(Pt),{popupElement:ll,popupStyle:pr.popup,popupClassName:hr.popup,visible:Dn,onClose:Xa}),oe.createElement(ra,(0,Be.Z)({},Pt,{ref:yn,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:Ml,onInputChange:Sa,internalPicker:pn,format:Pn,inputReadOnly:li,disabled:Br,open:Dn,onOpenChange:Sn,onClick:Oa,onClear:Da,invalid:Vo,onInvalid:function(jo){Ma(jo,0)}}))))}var qa=oe.forwardRef(El),qo=qa,Ei=qo,Qo=E(62487),di=E(75030),zi=E(82855),Ji=E(48755),ko=E(2171),_i=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),Xi=E(93873),Za=E(36305),wl=E(16931),Hl=E(51636),ql=E(26743);const Xl=(ae,We)=>{const{componentCls:dt,controlHeight:Dt}=ae,Pt=We?`${dt}-${We}`:"",pn=(0,ql.gp)(ae);return[{[`${dt}-multiple${Pt}`]:{paddingBlock:pn.containerPadding,paddingInlineStart:pn.basePadding,minHeight:Dt,[`${dt}-selection-item`]:{height:pn.itemHeight,lineHeight:(0,ji.unit)(pn.itemLineHeight)}}}]};var es=ae=>{const{componentCls:We,calc:dt,lineWidth:Dt}=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:dt(ae.multipleItemHeightLG).sub(dt(Dt).mul(2).equal()).equal(),fontSize:ae.fontSizeLG,selectHeight:ae.controlHeightLG,multipleSelectItemHeight:ae.multipleItemHeightLG,borderRadius:ae.borderRadiusLG,borderRadiusSM:ae.borderRadius,controlHeight:ae.controlHeightLG});return[Xl(Pt,"small"),Xl(ae),Xl(pn,"large"),{[`${We}${We}-multiple`]:Object.assign(Object.assign({width:"100%",cursor:"text",[`${We}-selector`]:{flex:"auto",padding:0,position:"relative","&:after":{margin:0},[`${We}-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)),{[`${We}-multiple-input`]:{width:0,height:0,border:0,visibility:"hidden",position:"absolute",zIndex:-1}})}]},el=E(17835);const Vl=ae=>{const{pickerCellCls:We,pickerCellInnerCls:dt,cellHeight:Dt,borderRadiusSM:Pt,motionDurationMid:pn,cellHoverBg:An,lineWidth:Pn,lineType:Xn,colorPrimary:qn,cellActiveWithRangeBg:In,colorTextLightSolid:ur,colorTextDisabled:pr,cellBgDisabled:hr,colorFillSecondary:dr}=ae;return{"&::before":{position:"absolute",top:"50%",insetInlineStart:0,insetInlineEnd:0,zIndex:1,height:Dt,transform:"translateY(-50%)",content:'""',pointerEvents:"none"},[dt]:{position:"relative",zIndex:2,display:"inline-block",minWidth:Dt,height:Dt,lineHeight:(0,ji.unit)(Dt),borderRadius:Pt,transition:`background ${pn}`},[`&:hover:not(${We}-in-view):not(${We}-disabled),
|
|
|
&:hover:not(${We}-selected):not(${We}-range-start):not(${We}-range-end):not(${We}-disabled)`]:{[dt]:{background:An}},[`&-in-view${We}-today ${dt}`]:{"&::before":{position:"absolute",top:0,insetInlineEnd:0,bottom:0,insetInlineStart:0,zIndex:1,border:`${(0,ji.unit)(Pn)} ${Xn} ${qn}`,borderRadius:Pt,content:'""'}},[`&-in-view${We}-in-range,
|
|
|
&-in-view${We}-range-start,
|
|
|
&-in-view${We}-range-end`]:{position:"relative",[`&:not(${We}-disabled):before`]:{background:In}},[`&-in-view${We}-selected,
|
|
|
&-in-view${We}-range-start,
|
|
|
&-in-view${We}-range-end`]:{[`&:not(${We}-disabled) ${dt}`]:{color:ur,background:qn},[`&${We}-disabled ${dt}`]:{background:dr}},[`&-in-view${We}-range-start:not(${We}-disabled):before`]:{insetInlineStart:"50%"},[`&-in-view${We}-range-end:not(${We}-disabled):before`]:{insetInlineEnd:"50%"},[`&-in-view${We}-range-start:not(${We}-range-end) ${dt}`]:{borderStartStartRadius:Pt,borderEndStartRadius:Pt,borderStartEndRadius:0,borderEndEndRadius:0},[`&-in-view${We}-range-end:not(${We}-range-start) ${dt}`]:{borderStartStartRadius:0,borderEndStartRadius:0,borderStartEndRadius:Pt,borderEndEndRadius:Pt},"&-disabled":{color:pr,cursor:"not-allowed",[dt]:{background:"transparent"},"&::before":{background:hr}},[`&-disabled${We}-today ${dt}::before`]:{borderColor:pr}}},Ta=ae=>{const{componentCls:We,pickerCellCls:dt,pickerCellInnerCls:Dt,pickerYearMonthCellWidth:Pt,pickerControlIconSize:pn,cellWidth:An,paddingSM:Pn,paddingXS:Xn,paddingXXS:qn,colorBgContainer:In,lineWidth:ur,lineType:pr,borderRadiusLG:hr,colorPrimary:dr,colorTextHeading:Cr,colorSplit:xr,pickerControlIconBorderWidth:Sr,colorIcon:qr,textHeight:Vr,motionDurationMid:Br,colorIconHover:io,fontWeightStrong:Zr,cellHeight:Ur,pickerCellPaddingVertical:_o,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:Io,pickerControlIconMargin:Bo}=ae,li=ae.calc(An).mul(7).add(ae.calc(Io).mul(2)).equal();return{[We]:{"&-panel":{display:"inline-flex",flexDirection:"column",textAlign:"center",background:In,borderRadius:hr,outline:"none","&-focused":{borderColor:dr},"&-rtl":{[`${We}-prev-icon,
|
|
|
${We}-super-prev-icon`]:{transform:"rotate(45deg)"},[`${We}-next-icon,
|
|
|
${We}-super-next-icon`]:{transform:"rotate(-135deg)"},[`${We}-time-panel`]:{[`${We}-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)(ur)} ${pr} ${xr}`,"> *":{flex:"none"},button:{padding:0,color:qr,lineHeight:(0,ji.unit)(Vr),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)(Vr),"> button":{color:"inherit",fontWeight:"inherit",verticalAlign:"top","&:not(:first-child)":{marginInlineStart:Xn},"&:hover":{color:dr}}}},"&-prev-icon,\n &-next-icon,\n &-super-prev-icon,\n &-super-next-icon":{position:"relative",width:pn,height:pn,"&::before":{position:"absolute",top:0,insetInlineStart:0,width:pn,height:pn,border:"0 solid currentcolor",borderBlockStartWidth: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(_o).mul(2)).equal(),color:Po,verticalAlign:"middle"}},"&-cell":Object.assign({padding:`${(0,ji.unit)(_o)} 0`,color:So,cursor:"pointer","&-in-view":{color:Po}},Vl(ae)),"&-decade-panel,\n &-year-panel,\n &-quarter-panel,\n &-month-panel":{[`${We}-content`]:{height:ae.calc(Oo).mul(4).equal()},[Dt]:{padding:`0 ${(0,ji.unit)(Xn)}`}},"&-quarter-panel":{[`${We}-content`]:{height:uo}},"&-decade-panel":{[Dt]:{padding:`0 ${(0,ji.unit)(ae.calc(Xn).div(2).equal())}`},[`${We}-cell::before`]:{display:"none"}},"&-year-panel,\n &-quarter-panel,\n &-month-panel":{[`${We}-body`]:{padding:`0 ${(0,ji.unit)(Xn)}`},[Dt]:{width:Pt}},"&-date-panel":{[`${We}-body`]:{padding:`${(0,ji.unit)(Xn)} ${(0,ji.unit)(Io)}`},[`${We}-content th`]:{boxSizing:"border-box",padding:0}},"&-week-panel":{[`${We}-cell`]:{[`&:hover ${Dt},
|
|
|
&-selected ${Dt},
|
|
|
${Dt}`]:{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":{[`&${dt}`]:{"&:before":{background:dr},[`&${We}-cell-week`]:{color:new el.FastColor(mo).setA(.5).toHexString()},[Dt]:{color:mo}}},"&-range-hover td:before":{background:To}}},"&-week-panel, &-date-panel-show-week":{[`${We}-body`]:{padding:`${(0,ji.unit)(Xn)} ${(0,ji.unit)(Pn)}`},[`${We}-content th`]:{width:"auto"}},"&-datetime-panel":{display:"flex",[`${We}-time-panel`]:{borderInlineStart:`${(0,ji.unit)(ur)} ${pr} ${xr}`},[`${We}-date-panel,
|
|
|
${We}-time-panel`]:{transition:`opacity ${ti}`},"&-active":{[`${We}-date-panel,
|
|
|
${We}-time-panel`]:{opacity:.3,"&-active":{opacity:1}}}},"&-time-panel":{width:"auto",minWidth:"auto",[`${We}-content`]:{display:"flex",flex:"auto",height:ai},"&-column":{flex:"1 0 auto",width:ni,margin:`${(0,ji.unit)(qn)} 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)(ur)} ${pr} ${xr}`},"&-active":{background:new el.FastColor(To).setA(.2).toHexString()},"&:hover":{overflowY:"auto"},"> li":{margin:0,padding:0,[`&${We}-time-panel-cell`]:{marginInline:co,[`${We}-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":{[`${We}-time-panel-cell-inner`]:{background:To}},"&-disabled":{[`${We}-time-panel-cell-inner`]:{color:So,background:"transparent",cursor:"not-allowed"}}}}}}}}};var Tl=ae=>{const{componentCls:We,textHeight:dt,lineWidth:Dt,paddingSM:Pt,antCls:pn,colorPrimary:An,cellActiveWithRangeBg:Pn,colorPrimaryBorder:Xn,lineType:qn,colorSplit:In}=ae;return{[`${We}-dropdown`]:{[`${We}-footer`]:{borderTop:`${(0,ji.unit)(Dt)} ${qn} ${In}`,"&-extra":{padding:`0 ${(0,ji.unit)(Pt)}`,lineHeight:(0,ji.unit)(ae.calc(dt).sub(ae.calc(Dt).mul(2)).equal()),textAlign:"start","&:not(:last-child)":{borderBottom:`${(0,ji.unit)(Dt)} ${qn} ${In}`}}},[`${We}-panels + ${We}-footer ${We}-ranges`]:{justifyContent:"space-between"},[`${We}-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(dt).sub(ae.calc(Dt).mul(2)).equal()),display:"inline-block"},[`${We}-now-btn-disabled`]:{pointerEvents:"none",color:ae.colorTextDisabled},[`${We}-preset > ${pn}-tag-blue`]:{color:An,background:Pn,borderColor:Xn,cursor:"pointer"},[`${We}-ok`]:{paddingBlock:ae.calc(Dt).mul(2).equal(),marginInlineStart:"auto"}}}}};const tl=ae=>{const{componentCls:We,controlHeightLG:dt,paddingXXS:Dt,padding:Pt}=ae;return{pickerCellCls:`${We}-cell`,pickerCellInnerCls:`${We}-cell-inner`,pickerYearMonthCellWidth:ae.calc(dt).mul(1.5).equal(),pickerQuarterPanelContentHeight:ae.calc(dt).mul(1.4).equal(),pickerCellPaddingVertical:ae.calc(Dt).add(ae.calc(Dt).div(2)).equal(),pickerCellBorderGap:2,pickerControlIconSize:7,pickerControlIconMargin:4,pickerControlIconBorderWidth:1.5,pickerDatePanelPaddingHorizontal:ae.calc(Pt).add(ae.calc(Dt).div(2)).equal()}},Ss=ae=>{const{colorBgContainerDisabled:We,controlHeight:dt,controlHeightSM:Dt,controlHeightLG:Pt,paddingXXS:pn,lineWidth:An}=ae,Pn=pn*2,Xn=An*2,qn=Math.min(dt-Pn,dt-Xn),In=Math.min(Dt-Pn,Dt-Xn),ur=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:We,timeColumnWidth:Pt*1.4,timeColumnHeight:28*8,timeCellHeight:28,cellWidth:Dt*1.5,cellHeight:Dt,textHeight:Pt,withoutTimeCellHeight:Pt*1.65,multipleItemBg:ae.colorFillSecondary,multipleItemBorderColor:"transparent",multipleItemHeight:qn,multipleItemHeightSM:In,multipleItemHeightLG:ur,multipleSelectorBgDisabled:We,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 $a=E(39082),Wi=ae=>{const{componentCls:We}=ae;return{[We]:[Object.assign(Object.assign(Object.assign(Object.assign({},(0,$a.qG)(ae)),(0,$a.vc)(ae)),(0,$a.H8)(ae)),(0,$a.Mu)(ae)),{"&-outlined":{[`&${We}-multiple ${We}-selection-item`]:{background:ae.multipleItemBg,border:`${(0,ji.unit)(ae.lineWidth)} ${ae.lineType} ${ae.multipleItemBorderColor}`}},"&-filled":{[`&${We}-multiple ${We}-selection-item`]:{background:ae.colorBgContainer,border:`${(0,ji.unit)(ae.lineWidth)} ${ae.lineType} ${ae.colorSplit}`}},"&-borderless":{[`&${We}-multiple ${We}-selection-item`]:{background:ae.multipleItemBg,border:`${(0,ji.unit)(ae.lineWidth)} ${ae.lineType} ${ae.multipleItemBorderColor}`}},"&-underlined":{[`&${We}-multiple ${We}-selection-item`]:{background:ae.multipleItemBg,border:`${(0,ji.unit)(ae.lineWidth)} ${ae.lineType} ${ae.multipleItemBorderColor}`}}}]}};const Ua=(ae,We,dt,Dt)=>{const Pt=ae.calc(dt).add(2).equal(),pn=ae.max(ae.calc(We).sub(Pt).div(2).equal(),0),An=ae.max(ae.calc(We).sub(Pt).sub(pn).equal(),0);return{padding:`${(0,ji.unit)(pn)} ${(0,ji.unit)(Dt)} ${(0,ji.unit)(An)}`}},fl=ae=>{const{componentCls:We,colorError:dt,colorWarning:Dt}=ae;return{[`${We}:not(${We}-disabled):not([disabled])`]:{[`&${We}-status-error`]:{[`${We}-active-bar`]:{background:dt}},[`&${We}-status-warning`]:{[`${We}-active-bar`]:{background:Dt}}}}},Ka=ae=>{const{componentCls:We,antCls:dt,controlHeight:Dt,paddingInline:Pt,lineWidth:pn,lineType:An,colorBorder:Pn,borderRadius:Xn,motionDurationMid:qn,colorTextDisabled:In,colorTextPlaceholder:ur,controlHeightLG:pr,fontSizeLG:hr,controlHeightSM:dr,paddingInlineSM:Cr,paddingXS:xr,marginXS:Sr,colorTextDescription:qr,lineWidthBold:Vr,colorPrimary:Br,motionDurationSlow:io,zIndexPopup:Zr,paddingXXS:Ur,sizePopupArrow:_o,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[{[We]:Object.assign(Object.assign(Object.assign({},(0,rs.Wf)(ae)),Ua(ae,Dt,ai,Pt)),{position:"relative",display:"inline-flex",alignItems:"center",lineHeight:1,borderRadius:Xn,transition:`border ${qn}, box-shadow ${qn}, background ${qn}`,[`${We}-prefix`]:{flex:"0 0 auto",marginInlineEnd:ae.inputAffixPadding},[`${We}-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 ${qn}`},(0,Sl.nz)(ur)),{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:ur}}},"&-large":Object.assign(Object.assign({},Ua(ae,pr,ni,Pt)),{[`${We}-input > input`]:{fontSize:hr,lineHeight:Fo}}),"&-small":Object.assign({},Ua(ae,dr,ai,Cr)),[`${We}-suffix`]:{display:"flex",flex:"none",alignSelf:"center",marginInlineStart:ae.calc(xr).div(2).equal(),color:In,lineHeight:1,pointerEvents:"none",transition:`opacity ${qn}, color ${qn}`,"> *":{verticalAlign:"top","&:not(:last-child)":{marginInlineEnd:Sr}}},[`${We}-clear`]:{position:"absolute",top:"50%",insetInlineEnd:0,color:In,lineHeight:1,transform:"translateY(-50%)",cursor:"pointer",opacity:0,transition:`opacity ${qn}, color ${qn}`,"> *":{verticalAlign:"top"},"&:hover":{color:qr}},"&:hover":{[`${We}-clear`]:{opacity:1},[`${We}-suffix:not(:last-child)`]:{opacity:0}},[`${We}-separator`]:{position:"relative",display:"inline-block",width:"1em",height:hr,color:In,fontSize:hr,verticalAlign:"top",cursor:"default",[`${We}-focused &`]:{color:qr},[`${We}-range-separator &`]:{[`${We}-disabled &`]:{cursor:"not-allowed"}}},"&-range":{position:"relative",display:"inline-flex",[`${We}-active-bar`]:{bottom:ae.calc(pn).mul(-1).equal(),height:Vr,background:Br,opacity:0,transition:`all ${io} ease-out`,pointerEvents:"none"},[`&${We}-focused`]:{[`${We}-active-bar`]:{opacity:1}},[`${We}-range-separator`]:{alignItems:"center",padding:`0 ${(0,ji.unit)(xr)}`,lineHeight:1}},"&-range, &-multiple":{[`${We}-clear`]:{insetInlineEnd:Pt},[`&${We}-small`]:{[`${We}-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,[`&${We}-dropdown-hidden`]:{display:"none"},"&-rtl":{direction:"rtl"},[`&${We}-dropdown-placement-bottomLeft,
|
|
|
&${We}-dropdown-placement-bottomRight`]:{[`${We}-range-arrow`]:{top:0,display:"block",transform:"translateY(-100%)"}},[`&${We}-dropdown-placement-topLeft,
|
|
|
&${We}-dropdown-placement-topRight`]:{[`${We}-range-arrow`]:{bottom:0,display:"block",transform:"translateY(100%) rotate(180deg)"}},[`&${dt}-slide-up-appear, &${dt}-slide-up-enter`]:{[`${We}-range-arrow${We}-range-arrow`]:{transition:"none"}},[`&${dt}-slide-up-enter${dt}-slide-up-enter-active${We}-dropdown-placement-topLeft,
|
|
|
&${dt}-slide-up-enter${dt}-slide-up-enter-active${We}-dropdown-placement-topRight,
|
|
|
&${dt}-slide-up-appear${dt}-slide-up-appear-active${We}-dropdown-placement-topLeft,
|
|
|
&${dt}-slide-up-appear${dt}-slide-up-appear-active${We}-dropdown-placement-topRight`]:{animationName:po.Qt},[`&${dt}-slide-up-enter${dt}-slide-up-enter-active${We}-dropdown-placement-bottomLeft,
|
|
|
&${dt}-slide-up-enter${dt}-slide-up-enter-active${We}-dropdown-placement-bottomRight,
|
|
|
&${dt}-slide-up-appear${dt}-slide-up-appear-active${We}-dropdown-placement-bottomLeft,
|
|
|
&${dt}-slide-up-appear${dt}-slide-up-appear-active${We}-dropdown-placement-bottomRight`]:{animationName:po.fJ},[`&${dt}-slide-up-leave ${We}-panel-container`]:{pointerEvents:"none"},[`&${dt}-slide-up-leave${dt}-slide-up-leave-active${We}-dropdown-placement-topLeft,
|
|
|
&${dt}-slide-up-leave${dt}-slide-up-leave-active${We}-dropdown-placement-topRight`]:{animationName:po.ly},[`&${dt}-slide-up-leave${dt}-slide-up-leave-active${We}-dropdown-placement-bottomLeft,
|
|
|
&${dt}-slide-up-leave${dt}-slide-up-leave-active${We}-dropdown-placement-bottomRight`]:{animationName:po.Uw},[`${We}-panel > ${We}-time-panel`]:{paddingTop:Ur},[`${We}-range-wrapper`]:{display:"flex",position:"relative"},[`${We}-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()}}),[`${We}-panel-container`]:{overflow:"hidden",verticalAlign:"top",background:So,borderRadius:Po,boxShadow:bo,transition:`margin ${io}`,display:"inline-block",pointerEvents:"auto",[`${We}-panel-layout`]:{display:"flex",flexWrap:"nowrap",alignItems:"stretch"},[`${We}-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)} ${An} ${Oo}`,li:Object.assign(Object.assign({},rs.vS),{borderRadius:ti,paddingInline:xr,paddingBlock:ae.calc(dr).sub(ai).div(2).equal(),cursor:"pointer",transition:`all ${io}`,"+ li":{marginTop:Sr},"&:hover":{background:uo}})}},[`${We}-panels`]:{display:"inline-flex",flexWrap:"nowrap","&:last-child":{[`${We}-panel`]:{borderWidth:0}}},[`${We}-panel`]:{verticalAlign:"top",background:"transparent",borderRadius:0,borderWidth:0,[`${We}-content, table`]:{textAlign:"center"},"&-focused":{borderColor:Pn}}}}),"&-dropdown-range":{padding:`${(0,ji.unit)(ae.calc(_o).mul(2).div(3).equal())} 0`,"&-hidden":{display:"none"}},"&-rtl":{direction:"rtl",[`${We}-separator`]:{transform:"scale(-1, 1)"},[`${We}-footer`]:{"&-extra":{direction:"rtl"}}}})},(0,po.oN)(ae,"slide-up"),(0,po.oN)(ae,"slide-down"),(0,Xi.Fm)(ae,"move-up"),(0,Xi.Fm)(ae,"move-down")]};var _a=(0,wl.I$)("DatePicker",ae=>{const We=(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(We),Ka(We),Wi(We),fl(We),es(We),(0,us.c)(ae,{focusElCls:`${ae.componentCls}-focused`})]},ts),Nl=E(68525);function Il(ae,We,dt){return dt!==void 0?dt:We==="year"&&ae.lang.yearPlaceholder?ae.lang.yearPlaceholder:We==="quarter"&&ae.lang.quarterPlaceholder?ae.lang.quarterPlaceholder:We==="month"&&ae.lang.monthPlaceholder?ae.lang.monthPlaceholder:We==="week"&&ae.lang.weekPlaceholder?ae.lang.weekPlaceholder:We==="time"&&ae.timePickerLocale.placeholder?ae.timePickerLocale.placeholder:ae.lang.placeholder}function Kl(ae,We,dt){return dt!==void 0?dt:We==="year"&&ae.lang.yearPlaceholder?ae.lang.rangeYearPlaceholder:We==="quarter"&&ae.lang.quarterPlaceholder?ae.lang.rangeQuarterPlaceholder:We==="month"&&ae.lang.monthPlaceholder?ae.lang.rangeMonthPlaceholder:We==="week"&&ae.lang.weekPlaceholder?ae.lang.rangeWeekPlaceholder:We==="time"&&ae.timePickerLocale.placeholder?ae.timePickerLocale.rangePlaceholder:ae.lang.rangePlaceholder}function hl(ae,We){const{allowClear:dt=!0}=ae,{clearIcon:Dt,removeIcon:Pt}=(0,Nl.Z)(Object.assign(Object.assign({},ae),{prefixCls:We,componentName:"DatePicker"}));return[oe.useMemo(()=>dt===!1?!1:Object.assign({clearIcon:Dt},dt===!0?{}:dt),[dt,Dt]),Pt]}const[Al,kl]=["week","WeekPicker"],[ns,Ls]=["month","MonthPicker"],[Ts,cs]=["year","YearPicker"],[Ql,Ul]=["quarter","QuarterPicker"],[al,$l]=["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,We){var dt={};for(var Dt in ae)Object.prototype.hasOwnProperty.call(ae,Dt)&&We.indexOf(Dt)<0&&(dt[Dt]=ae[Dt]);if(ae!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Pt=0,Dt=Object.getOwnPropertySymbols(ae);Pt<Dt.length;Pt++)We.indexOf(Dt[Pt])<0&&Object.prototype.propertyIsEnumerable.call(ae,Dt[Pt])&&(dt[Dt[Pt]]=ae[Dt[Pt]]);return dt},Ys=ae=>(0,oe.forwardRef)((dt,Dt)=>{var Pt;const{prefixCls:pn,getPopupContainer:An,components:Pn,className:Xn,style:qn,placement:In,size:ur,disabled:pr,bordered:hr=!0,placeholder:dr,popupClassName:Cr,dropdownClassName:xr,status:Sr,rootClassName:qr,variant:Vr,picker:Br}=dt,io=os(dt,["prefixCls","getPopupContainer","components","className","style","placement","size","disabled","bordered","placeholder","popupClassName","dropdownClassName","status","rootClassName","variant","picker"]),Zr=oe.useRef(null),{getPrefixCls:Ur,direction:_o,getPopupContainer:So,rangePicker:Po}=(0,oe.useContext)(Ji.E_),bo=Ur("picker",pn),{compactSize:ti,compactItemClassnames:Oo}=(0,Ba.ri)(bo,_o),uo=Ur(),[no,mo]=(0,Yo.Z)("rangePicker",Vr,hr),fo=(0,_i.Z)(bo),[ai,ni,Fo]=_a(bo,fo),[To]=hl(dt,bo),co=As(Pn),Io=(0,gr.Z)(fn=>{var ln;return(ln=ur!=null?ur:ti)!==null&&ln!==void 0?ln:fn}),Bo=oe.useContext(ko.Z),li=pr!=null?pr:Bo,Di=(0,oe.useContext)(Qr.aM),{hasFeedback:Pi,status:Te,feedbackIcon:Me}=Di,pt=oe.createElement(oe.Fragment,null,Br===al?oe.createElement(Xe,null):oe.createElement(Ve,null),Pi&&Me);(0,oe.useImperativeHandle)(Dt,()=>Zr.current);const[At]=(0,Zi.Z)("Calendar",xl.Z),jt=Object.assign(Object.assign({},At),dt.locale),[Gt]=(0,di.Cn)("DatePicker",(Pt=dt.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(Se,null)),disabled:li,ref:Zr,placement:In,placeholder:Kl(jt,Br,dr),suffixIcon:pt,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:It()({[`${bo}-${Io}`]:Io,[`${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),qn),locale:jt.lang,prefixCls:bo,getPopupContainer:An||So,generateConfig:ae,components:co,direction:_o,classNames:{popup:It()(ni,Cr||xr,Fo,fo,qr)},styles:{popup:Object.assign(Object.assign({},dt.popupStyle),{zIndex:Gt})},allowClear:To}))))}),vs=function(ae,We){var dt={};for(var Dt in ae)Object.prototype.hasOwnProperty.call(ae,Dt)&&We.indexOf(Dt)<0&&(dt[Dt]=ae[Dt]);if(ae!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Pt=0,Dt=Object.getOwnPropertySymbols(ae);Pt<Dt.length;Pt++)We.indexOf(Dt[Pt])<0&&Object.prototype.propertyIsEnumerable.call(ae,Dt[Pt])&&(dt[Dt[Pt]]=ae[Dt[Pt]]);return dt},Ns=ae=>{const We=(Xn,qn)=>{const In=qn===$l?"timePicker":"datePicker";return(0,oe.forwardRef)((pr,hr)=>{var dr;const{prefixCls:Cr,getPopupContainer:xr,components:Sr,style:qr,className:Vr,rootClassName:Br,size:io,bordered:Zr,placement:Ur,placeholder:_o,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)(Ji.E_),Fo=mo("picker",Cr),{compactSize:To,compactItemClassnames:co}=(0,Ba.ri)(Fo,fo),Io=oe.useRef(null),[Bo,li]=(0,Yo.Z)("datePicker",Oo,Zr),Di=(0,_i.Z)(Fo),[Pi,Te,Me]=_a(Fo,Di);(0,oe.useImperativeHandle)(hr,()=>Io.current);const pt={showToday:!0},At=Xn||pr.picker,jt=mo(),{onSelect:Gt,multiple:fn}=no,ln=Gt&&Xn==="time"&&!fn,yn=(_r,$r,Mo)=>{uo==null||uo(_r,$r,Mo),ln&&Gt(_r)},[En,Vn]=hl(pr,Fo),Tn=As(Sr),Mn=(0,gr.Z)(_r=>{var $r;return($r=io!=null?io:To)!==null&&$r!==void 0?$r:_r}),Dn=oe.useContext(ko.Z),Sn=bo!=null?bo:Dn,vr=(0,oe.useContext)(Qr.aM),{hasFeedback:$n,status:Ar,feedbackIcon:br}=vr,Lr=oe.createElement(oe.Fragment,null,At==="time"?oe.createElement(Xe,null):oe.createElement(Ve,null),$n&&br),[Dr]=(0,Zi.Z)("DatePicker",xl.Z),Pr=Object.assign(Object.assign({},Dr),pr.locale),[Wr]=(0,di.Cn)("DatePicker",(dr=pr.popupStyle)===null||dr===void 0?void 0:dr.zIndex);return Pi(oe.createElement(Qo.Z,{space:!0},oe.createElement(Ei,Object.assign({ref:Io,placeholder:Il(Pr,At,_o),suffixIcon:Lr,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:`${jt}-slide-up`,picker:Xn,onCalendarChange:yn},pt,no,{locale:Pr.lang,className:It()({[`${Fo}-${Mn}`]:Mn,[`${Fo}-${Bo}`]:li},(0,zi.Z)(Fo,(0,zi.F)(Ar,ti),$n),Te,co,ni==null?void 0:ni.className,Vr,Me,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:Sn,classNames:{popup:It()(Te,Me,Di,Br,So||Po)},styles:{popup:Object.assign(Object.assign({},pr.popupStyle),{zIndex:Wr})},allowClear:En,removeIcon:Vn}))))})},dt=We(),Dt=We(Al,kl),Pt=We(ns,Ls),pn=We(Ts,cs),An=We(Ql,Ul),Pn=We(al,$l);return{DatePicker:dt,WeekPicker:Dt,MonthPicker:Pt,YearPicker:pn,TimePicker:Pn,QuarterPicker:An}},ks=ae=>{const{DatePicker:We,WeekPicker:dt,MonthPicker:Dt,YearPicker:Pt,TimePicker:pn,QuarterPicker:An}=Ns(ae),Pn=Ys(ae),Xn=We;return Xn.WeekPicker=dt,Xn.MonthPicker=Dt,Xn.YearPicker=Pt,Xn.RangePicker=Pn,Xn.TimePicker=pn,Xn.QuarterPicker=An,Xn};const is=ks(Ze),ds=(0,$e.Z)(is,"popupAlign",void 0,"picker");is._InternalPanelDoNotUseOrYouWillBeFired=ds;const gi=(0,$e.Z)(is.RangePicker,"popupAlign",void 0,"picker");is._InternalRangePanelDoNotUseOrYouWillBeFired=gi,is.generatePicker=ks;var fs=is},37285:function(mn,Ct,E){"use strict";E.d(Ct,{Z:function(){return we}});var y=E(59301),Ae=E(92310),pe=E.n(Ae),ze=E(48755),Ce=E(36237),Fe=E(63356),ge=E(16931),je=E(51636);const De=be=>{const{componentCls:he,sizePaddingEdgeHorizontal:ce,colorSplit:Ie,lineWidth:Ze,textPaddingInline:$e,orientationMargin:oe,verticalMarginInline:Be}=be;return{[he]:Object.assign(Object.assign({},(0,Fe.Wf)(be)),{borderBlockStart:`${(0,Ce.unit)(Ze)} solid ${Ie}`,"&-vertical":{position:"relative",top:"-0.06em",display:"inline-block",height:"0.9em",marginInline:Be,marginBlock:0,verticalAlign:"middle",borderTop:0,borderInlineStart:`${(0,Ce.unit)(Ze)} solid ${Ie}`},"&-horizontal":{display:"flex",clear:"both",width:"100%",minWidth:"100%",margin:`${(0,Ce.unit)(be.dividerHorizontalGutterMargin)} 0`},[`&-horizontal${he}-with-text`]:{display:"flex",alignItems:"center",margin:`${(0,Ce.unit)(be.dividerHorizontalWithTextGutterMargin)} 0`,color:be.colorTextHeading,fontWeight:500,fontSize:be.fontSizeLG,whiteSpace:"nowrap",textAlign:"center",borderBlockStart:`0 ${Ie}`,"&::before, &::after":{position:"relative",width:"50%",borderBlockStart:`${(0,Ce.unit)(Ze)} solid transparent`,borderBlockStartColor:"inherit",borderBlockEnd:0,transform:"translateY(50%)",content:"''"}},[`&-horizontal${he}-with-text-start`]:{"&::before":{width:`calc(${oe} * 100%)`},"&::after":{width:`calc(100% - ${oe} * 100%)`}},[`&-horizontal${he}-with-text-end`]:{"&::before":{width:`calc(100% - ${oe} * 100%)`},"&::after":{width:`calc(${oe} * 100%)`}},[`${he}-inner-text`]:{display:"inline-block",paddingBlock:0,paddingInline:$e},"&-dashed":{background:"none",borderColor:Ie,borderStyle:"dashed",borderWidth:`${(0,Ce.unit)(Ze)} 0 0`},[`&-horizontal${he}-with-text${he}-dashed`]:{"&::before, &::after":{borderStyle:"dashed none none"}},[`&-vertical${he}-dashed`]:{borderInlineStartWidth:Ze,borderInlineEnd:0,borderBlockStart:0,borderBlockEnd:0},"&-dotted":{background:"none",borderColor:Ie,borderStyle:"dotted",borderWidth:`${(0,Ce.unit)(Ze)} 0 0`},[`&-horizontal${he}-with-text${he}-dotted`]:{"&::before, &::after":{borderStyle:"dotted none none"}},[`&-vertical${he}-dotted`]:{borderInlineStartWidth:Ze,borderInlineEnd:0,borderBlockStart:0,borderBlockEnd:0},[`&-plain${he}-with-text`]:{color:be.colorText,fontWeight:"normal",fontSize:be.fontSize},[`&-horizontal${he}-with-text-start${he}-no-default-orientation-margin-start`]:{"&::before":{width:0},"&::after":{width:"100%"},[`${he}-inner-text`]:{paddingInlineStart:ce}},[`&-horizontal${he}-with-text-end${he}-no-default-orientation-margin-end`]:{"&::before":{width:"100%"},"&::after":{width:0},[`${he}-inner-text`]:{paddingInlineEnd:ce}}})}},se=be=>({textPaddingInline:"1em",orientationMargin:.05,verticalMarginInline:be.marginXS});var Ue=(0,ge.I$)("Divider",be=>{const he=(0,je.mergeToken)(be,{dividerHorizontalWithTextGutterMargin:be.margin,dividerHorizontalGutterMargin:be.marginLG,sizePaddingEdgeHorizontal:0});return[De(he)]},se,{unitless:{orientationMargin:!0}}),me=function(be,he){var ce={};for(var Ie in be)Object.prototype.hasOwnProperty.call(be,Ie)&&he.indexOf(Ie)<0&&(ce[Ie]=be[Ie]);if(be!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Ze=0,Ie=Object.getOwnPropertySymbols(be);Ze<Ie.length;Ze++)he.indexOf(Ie[Ze])<0&&Object.prototype.propertyIsEnumerable.call(be,Ie[Ze])&&(ce[Ie[Ze]]=be[Ie[Ze]]);return ce},we=be=>{const{getPrefixCls:he,direction:ce,className:Ie,style:Ze}=(0,ze.dj)("divider"),{prefixCls:$e,type:oe="horizontal",orientation:Be="center",orientationMargin:tt,className:Re,rootClassName:_e,children:ye,dashed:Le,variant:Ve="solid",plain:Pe,style:it}=be,Oe=me(be,["prefixCls","type","orientation","orientationMargin","className","rootClassName","children","dashed","variant","plain","style"]),ue=he("divider",$e),[Xe,Ge,lt]=Ue(ue),Tt=!!ye,Ke=y.useMemo(()=>Be==="left"?ce==="rtl"?"end":"start":Be==="right"?ce==="rtl"?"start":"end":Be,[ce,Be]),Se=Ke==="start"&&tt!=null,Ft=Ke==="end"&&tt!=null,It=pe()(ue,Ie,Ge,lt,`${ue}-${oe}`,{[`${ue}-with-text`]:Tt,[`${ue}-with-text-${Ke}`]:Tt,[`${ue}-dashed`]:!!Le,[`${ue}-${Ve}`]:Ve!=="solid",[`${ue}-plain`]:!!Pe,[`${ue}-rtl`]:ce==="rtl",[`${ue}-no-default-orientation-margin-start`]:Se,[`${ue}-no-default-orientation-margin-end`]:Ft},Re,_e),ut=y.useMemo(()=>typeof tt=="number"?tt:/^\d+$/.test(tt)?Number(tt):tt,[tt]),xe={marginInlineStart:Se?ut:void 0,marginInlineEnd:Ft?ut:void 0};return Xe(y.createElement("div",Object.assign({className:It,style:Object.assign(Object.assign({},Ze),it)},Oe,{role:"separator"}),ye&&oe!=="vertical"&&y.createElement("span",{className:`${ue}-inner-text`,style:xe},ye)))}},36207:function(mn,Ct,E){"use strict";E.d(Ct,{Z:function(){return vt}});var y=E(59301),Ae=E(92310),pe=E.n(Ae),ze=E(85899),Ce=E(72190),Fe=E(43403),ge=E(34280),je=y.createContext(null),De=y.createContext({}),se=je,Ue=E(18642),me=E(60499),Ne=E(77900),we=E(10228),be=E(26112),he=E(42244),ce=E(8654),Ie=["prefixCls","className","containerRef"],Ze=function(nt){var mt=nt.prefixCls,yt=nt.className,St=nt.containerRef,Qe=(0,he.Z)(nt,Ie),st=y.useContext(De),en=st.panel,Kt=(0,ce.x1)(en,St);return y.createElement("div",(0,me.Z)({className:pe()("".concat(mt,"-content"),yt),role:"dialog",ref:Kt},(0,be.Z)(nt,{aria:!0}),{"aria-modal":"true"},Qe))},$e=Ze,oe=E(48736);function Be(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 tt(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 Re={width:0,height:0,overflow:"hidden",outline:"none",position:"absolute"};function _e(et,nt){var mt,yt,St,Qe=et.prefixCls,st=et.open,en=et.placement,Kt=et.inline,vn=et.push,nn=et.forceRender,Yt=et.autoFocus,Jt=et.keyboard,cn=et.classNames,bt=et.rootClassName,zt=et.rootStyle,un=et.zIndex,Cn=et.className,ct=et.id,Zt=et.style,wt=et.motion,dn=et.width,wn=et.height,Un=et.children,er=et.mask,lr=et.maskClosable,Rn=et.maskMotion,Qn=et.maskClassName,Vt=et.maskStyle,Lt=et.afterOpenChange,sn=et.onClose,an=et.onMouseEnter,tn=et.onMouseOver,Bn=et.onMouseLeave,xn=et.onClick,jn=et.onKeyDown,nr=et.onKeyUp,Gn=et.styles,Ln=et.drawerRender,mr=y.useRef(),ir=y.useRef(),jr=y.useRef();y.useImperativeHandle(nt,function(){return mr.current});var Nr=function(Bt){var Ot=Bt.keyCode,$t=Bt.shiftKey;switch(Ot){case we.Z.TAB:{if(Ot===we.Z.TAB){if(!$t&&document.activeElement===jr.current){var On;(On=ir.current)===null||On===void 0||On.focus({preventScroll:!0})}else if($t&&document.activeElement===ir.current){var Wn;(Wn=jr.current)===null||Wn===void 0||Wn.focus({preventScroll:!0})}}break}case we.Z.ESC:{sn&&Jt&&(Bt.stopPropagation(),sn(Bt));break}}};y.useEffect(function(){if(st&&Yt){var rt;(rt=mr.current)===null||rt===void 0||rt.focus({preventScroll:!0})}},[st]);var Fn=y.useState(!1),Nn=(0,Ce.Z)(Fn,2),cr=Nn[0],sr=Nn[1],kt=y.useContext(se),qt;typeof vn=="boolean"?qt=vn?{}:{distance:0}:qt=vn||{};var gt=(mt=(yt=(St=qt)===null||St===void 0?void 0:St.distance)!==null&&yt!==void 0?yt:kt==null?void 0:kt.pushDistance)!==null&&mt!==void 0?mt:180,Ht=y.useMemo(function(){return{pushDistance:gt,push:function(){sr(!0)},pull:function(){sr(!1)}}},[gt]);y.useEffect(function(){if(st){var rt;kt==null||(rt=kt.push)===null||rt===void 0||rt.call(kt)}else{var Bt;kt==null||(Bt=kt.pull)===null||Bt===void 0||Bt.call(kt)}},[st]),y.useEffect(function(){return function(){var rt;kt==null||(rt=kt.pull)===null||rt===void 0||rt.call(kt)}},[]);var Et=er&&y.createElement(Ne.default,(0,me.Z)({key:"mask"},Rn,{visible:st}),function(rt,Bt){var Ot=rt.className,$t=rt.style;return y.createElement("div",{className:pe()("".concat(Qe,"-mask"),Ot,cn==null?void 0:cn.mask,Qn),style:(0,ze.Z)((0,ze.Z)((0,ze.Z)({},$t),Vt),Gn==null?void 0:Gn.mask),onClick:lr&&st?sn:void 0,ref:Bt})}),Ut=typeof wt=="function"?wt(en):wt,ot={};if(cr&>)switch(en){case"top":ot.transform="translateY(".concat(gt,"px)");break;case"bottom":ot.transform="translateY(".concat(-gt,"px)");break;case"left":ot.transform="translateX(".concat(gt,"px)");break;default:ot.transform="translateX(".concat(-gt,"px)");break}en==="left"||en==="right"?ot.width=Be(dn):ot.height=Be(wn);var Qt={onMouseEnter:an,onMouseOver:tn,onMouseLeave:Bn,onClick:xn,onKeyDown:jn,onKeyUp:nr},rn=y.createElement(Ne.default,(0,me.Z)({key:"panel"},Ut,{visible:st,forceRender:nn,onVisibleChanged:function(Bt){Lt==null||Lt(Bt)},removeOnLeave:!1,leavedClassName:"".concat(Qe,"-content-wrapper-hidden")}),function(rt,Bt){var Ot=rt.className,$t=rt.style,On=y.createElement($e,(0,me.Z)({id:ct,containerRef:Bt,prefixCls:Qe,className:pe()(Cn,cn==null?void 0:cn.content),style:(0,ze.Z)((0,ze.Z)({},Zt),Gn==null?void 0:Gn.content)},(0,be.Z)(et,{aria:!0}),Qt),Un);return y.createElement("div",(0,me.Z)({className:pe()("".concat(Qe,"-content-wrapper"),cn==null?void 0:cn.wrapper,Ot),style:(0,ze.Z)((0,ze.Z)((0,ze.Z)({},ot),$t),Gn==null?void 0:Gn.wrapper)},(0,be.Z)(et,{data:!0})),Ln?Ln(On):On)}),_t=(0,ze.Z)({},zt);return un&&(_t.zIndex=un),y.createElement(se.Provider,{value:Ht},y.createElement("div",{className:pe()(Qe,"".concat(Qe,"-").concat(en),bt,(0,Ue.Z)((0,Ue.Z)({},"".concat(Qe,"-open"),st),"".concat(Qe,"-inline"),Kt)),style:_t,tabIndex:-1,ref:mr,onKeyDown:Nr},Et,y.createElement("div",{tabIndex:0,ref:ir,style:Re,"aria-hidden":"true","data-sentinel":"start"}),rn,y.createElement("div",{tabIndex:0,ref:jr,style:Re,"aria-hidden":"true","data-sentinel":"end"})))}var ye=y.forwardRef(_e),Le=ye,Ve=function(nt){var mt=nt.open,yt=mt===void 0?!1:mt,St=nt.prefixCls,Qe=St===void 0?"rc-drawer":St,st=nt.placement,en=st===void 0?"right":st,Kt=nt.autoFocus,vn=Kt===void 0?!0:Kt,nn=nt.keyboard,Yt=nn===void 0?!0:nn,Jt=nt.width,cn=Jt===void 0?378:Jt,bt=nt.mask,zt=bt===void 0?!0:bt,un=nt.maskClosable,Cn=un===void 0?!0:un,ct=nt.getContainer,Zt=nt.forceRender,wt=nt.afterOpenChange,dn=nt.destroyOnClose,wn=nt.onMouseEnter,Un=nt.onMouseOver,er=nt.onMouseLeave,lr=nt.onClick,Rn=nt.onKeyDown,Qn=nt.onKeyUp,Vt=nt.panelRef,Lt=y.useState(!1),sn=(0,Ce.Z)(Lt,2),an=sn[0],tn=sn[1],Bn=y.useState(!1),xn=(0,Ce.Z)(Bn,2),jn=xn[0],nr=xn[1];(0,ge.Z)(function(){nr(!0)},[]);var Gn=jn?yt:!1,Ln=y.useRef(),mr=y.useRef();(0,ge.Z)(function(){Gn&&(mr.current=document.activeElement)},[Gn]);var ir=function(cr){var sr;if(tn(cr),wt==null||wt(cr),!cr&&mr.current&&!((sr=Ln.current)!==null&&sr!==void 0&&sr.contains(mr.current))){var kt;(kt=mr.current)===null||kt===void 0||kt.focus({preventScroll:!0})}},jr=y.useMemo(function(){return{panel:Vt}},[Vt]);if(!Zt&&!an&&!Gn&&dn)return null;var Nr={onMouseEnter:wn,onMouseOver:Un,onMouseLeave:er,onClick:lr,onKeyDown:Rn,onKeyUp:Qn},Fn=(0,ze.Z)((0,ze.Z)({},nt),{},{open:Gn,prefixCls:Qe,placement:en,autoFocus:vn,keyboard:Yt,width:cn,mask:zt,maskClosable:Cn,inline:ct===!1,afterOpenChange:ir,ref:Ln},Nr);return y.createElement(De.Provider,{value:jr},y.createElement(Fe.Z,{open:Gn||Zt||an,autoDestroy:!1,getContainer:ct,autoLock:zt&&(Gn||an)},y.createElement(Le,Fn)))},Pe=Ve,it=Pe,Oe=E(62487),ue=E(75030),Xe=E(86641),Ge=E(55743),lt=E(48755),Tt=E(91190),Ke=E(78776),Se=E(458),It=et=>{var nt,mt;const{prefixCls:yt,title:St,footer:Qe,extra:st,loading:en,onClose:Kt,headerStyle:vn,bodyStyle:nn,footerStyle:Yt,children:Jt,classNames:cn,styles:bt}=et,zt=(0,lt.dj)("drawer"),un=y.useCallback(dn=>y.createElement("button",{type:"button",onClick:Kt,"aria-label":"Close",className:`${yt}-close`},dn),[Kt]),[Cn,ct]=(0,Ke.Z)((0,Ke.w)(et),(0,Ke.w)(zt),{closable:!0,closeIconRender:un}),Zt=y.useMemo(()=>{var dn,wn;return!St&&!Cn?null:y.createElement("div",{style:Object.assign(Object.assign(Object.assign({},(dn=zt.styles)===null||dn===void 0?void 0:dn.header),vn),bt==null?void 0:bt.header),className:pe()(`${yt}-header`,{[`${yt}-header-close-only`]:Cn&&!St&&!st},(wn=zt.classNames)===null||wn===void 0?void 0:wn.header,cn==null?void 0:cn.header)},y.createElement("div",{className:`${yt}-header-title`},ct,St&&y.createElement("div",{className:`${yt}-title`},St)),st&&y.createElement("div",{className:`${yt}-extra`},st))},[Cn,ct,st,vn,yt,St]),wt=y.useMemo(()=>{var dn,wn;if(!Qe)return null;const Un=`${yt}-footer`;return y.createElement("div",{className:pe()(Un,(dn=zt.classNames)===null||dn===void 0?void 0:dn.footer,cn==null?void 0:cn.footer),style:Object.assign(Object.assign(Object.assign({},(wn=zt.styles)===null||wn===void 0?void 0:wn.footer),Yt),bt==null?void 0:bt.footer)},Qe)},[Qe,Yt,yt]);return y.createElement(y.Fragment,null,Zt,y.createElement("div",{className:pe()(`${yt}-body`,cn==null?void 0:cn.body,(nt=zt.classNames)===null||nt===void 0?void 0:nt.body),style:Object.assign(Object.assign(Object.assign({},(mt=zt.styles)===null||mt===void 0?void 0:mt.body),nn),bt==null?void 0:bt.body)},en?y.createElement(Se.Z,{active:!0,title:!1,paragraph:{rows:5},className:`${yt}-body-skeleton`}):Jt),wt)},ut=E(36237),xe=E(63356),ke=E(16931),at=E(51636);const Rt=et=>{const nt="100%";return{left:`translateX(-${nt})`,right:`translateX(${nt})`,top:`translateY(-${nt})`,bottom:`translateY(${nt})`}[et]},ft=(et,nt)=>({"&-enter, &-appear":Object.assign(Object.assign({},et),{"&-active":nt}),"&-leave":Object.assign(Object.assign({},nt),{"&-active":et})}),Nt=(et,nt)=>Object.assign({"&-enter, &-appear, &-leave":{"&-start":{transition:"none"},"&-active":{transition:`all ${nt}`}}},ft({opacity:et},{opacity:1})),xt=(et,nt)=>[Nt(.7,nt),ft({transform:Rt(et)},{transform:"none"})];var Wt=et=>{const{componentCls:nt,motionDurationSlow:mt}=et;return{[nt]:{[`${nt}-mask-motion`]:Nt(0,mt),[`${nt}-panel-motion`]:["left","right","top","bottom"].reduce((yt,St)=>Object.assign(Object.assign({},yt),{[`&-${St}`]:xt(St,mt)}),{})}}};const de=et=>{const{borderRadiusSM:nt,componentCls:mt,zIndexPopup:yt,colorBgMask:St,colorBgElevated:Qe,motionDurationSlow:st,motionDurationMid:en,paddingXS:Kt,padding:vn,paddingLG:nn,fontSizeLG:Yt,lineHeightLG:Jt,lineWidth:cn,lineType:bt,colorSplit:zt,marginXS:un,colorIcon:Cn,colorIconHover:ct,colorBgTextHover:Zt,colorBgTextActive:wt,colorText:dn,fontWeightStrong:wn,footerPaddingBlock:Un,footerPaddingInline:er,calc:lr}=et,Rn=`${mt}-content-wrapper`;return{[mt]:{position:"fixed",inset:0,zIndex:yt,pointerEvents:"none",color:dn,"&-pure":{position:"relative",background:Qe,display:"flex",flexDirection:"column",[`&${mt}-left`]:{boxShadow:et.boxShadowDrawerLeft},[`&${mt}-right`]:{boxShadow:et.boxShadowDrawerRight},[`&${mt}-top`]:{boxShadow:et.boxShadowDrawerUp},[`&${mt}-bottom`]:{boxShadow:et.boxShadowDrawerDown}},"&-inline":{position:"absolute"},[`${mt}-mask`]:{position:"absolute",inset:0,zIndex:yt,background:St,pointerEvents:"auto"},[Rn]:{position:"absolute",zIndex:yt,maxWidth:"100vw",transition:`all ${st}`,"&-hidden":{display:"none"}},[`&-left > ${Rn}`]:{top:0,bottom:0,left:{_skip_check_:!0,value:0},boxShadow:et.boxShadowDrawerLeft},[`&-right > ${Rn}`]:{top:0,right:{_skip_check_:!0,value:0},bottom:0,boxShadow:et.boxShadowDrawerRight},[`&-top > ${Rn}`]:{top:0,insetInline:0,boxShadow:et.boxShadowDrawerUp},[`&-bottom > ${Rn}`]:{bottom:0,insetInline:0,boxShadow:et.boxShadowDrawerDown},[`${mt}-content`]:{display:"flex",flexDirection:"column",width:"100%",height:"100%",overflow:"auto",background:Qe,pointerEvents:"auto"},[`${mt}-header`]:{display:"flex",flex:0,alignItems:"center",padding:`${(0,ut.unit)(vn)} ${(0,ut.unit)(nn)}`,fontSize:Yt,lineHeight:Jt,borderBottom:`${(0,ut.unit)(cn)} ${bt} ${zt}`,"&-title":{display:"flex",flex:1,alignItems:"center",minWidth:0,minHeight:0}},[`${mt}-extra`]:{flex:"none"},[`${mt}-close`]:Object.assign({display:"inline-flex",width:lr(Yt).add(Kt).equal(),height:lr(Yt).add(Kt).equal(),borderRadius:nt,justifyContent:"center",alignItems:"center",marginInlineEnd:un,color:Cn,fontWeight:wn,fontSize:Yt,fontStyle:"normal",lineHeight:1,textAlign:"center",textTransform:"none",textDecoration:"none",background:"transparent",border:0,cursor:"pointer",transition:`all ${en}`,textRendering:"auto","&:hover":{color:ct,backgroundColor:Zt,textDecoration:"none"},"&:active":{backgroundColor:wt}},(0,xe.Qy)(et)),[`${mt}-title`]:{flex:1,margin:0,fontWeight:et.fontWeightStrong,fontSize:Yt,lineHeight:Jt},[`${mt}-body`]:{flex:1,minWidth:0,minHeight:0,padding:nn,overflow:"auto",[`${mt}-body-skeleton`]:{width:"100%",height:"100%",display:"flex",justifyContent:"center"}},[`${mt}-footer`]:{flexShrink:0,padding:`${(0,ut.unit)(Un)} ${(0,ut.unit)(er)}`,borderTop:`${(0,ut.unit)(cn)} ${bt} ${zt}`},"&-rtl":{direction:"rtl"}}}},ne=et=>({zIndexPopup:et.zIndexPopupBase,footerPaddingBlock:et.paddingXS,footerPaddingInline:et.padding});var te=(0,ke.I$)("Drawer",et=>{const nt=(0,at.mergeToken)(et,{});return[de(nt),Wt(nt)]},ne),le=function(et,nt){var mt={};for(var yt in et)Object.prototype.hasOwnProperty.call(et,yt)&&nt.indexOf(yt)<0&&(mt[yt]=et[yt]);if(et!=null&&typeof Object.getOwnPropertySymbols=="function")for(var St=0,yt=Object.getOwnPropertySymbols(et);St<yt.length;St++)nt.indexOf(yt[St])<0&&Object.prototype.propertyIsEnumerable.call(et,yt[St])&&(mt[yt[St]]=et[yt[St]]);return mt};const ve=null,re={distance:180},fe=et=>{var nt;const{rootClassName:mt,width:yt,height:St,size:Qe="default",mask:st=!0,push:en=re,open:Kt,afterOpenChange:vn,onClose:nn,prefixCls:Yt,getContainer:Jt,style:cn,className:bt,visible:zt,afterVisibleChange:un,maskStyle:Cn,drawerStyle:ct,contentWrapperStyle:Zt}=et,wt=le(et,["rootClassName","width","height","size","mask","push","open","afterOpenChange","onClose","prefixCls","getContainer","style","className","visible","afterVisibleChange","maskStyle","drawerStyle","contentWrapperStyle"]),{getPopupContainer:dn,getPrefixCls:wn,direction:Un,className:er,style:lr,classNames:Rn,styles:Qn}=(0,lt.dj)("drawer"),Vt=wn("drawer",Yt),[Lt,sn,an]=te(Vt),tn=Jt===void 0&&dn?()=>dn(document.body):Jt,Bn=pe()({"no-mask":!st,[`${Vt}-rtl`]:Un==="rtl"},mt,sn,an),xn=y.useMemo(()=>yt!=null?yt:Qe==="large"?736:378,[yt,Qe]),jn=y.useMemo(()=>St!=null?St:Qe==="large"?736:378,[St,Qe]),nr={motionName:(0,Xe.m)(Vt,"mask-motion"),motionAppear:!0,motionEnter:!0,motionLeave:!0,motionDeadline:500},Gn=Fn=>({motionName:(0,Xe.m)(Vt,`panel-motion-${Fn}`),motionAppear:!0,motionEnter:!0,motionLeave:!0,motionDeadline:500}),Ln=(0,Tt.H)(),[mr,ir]=(0,ue.Cn)("Drawer",wt.zIndex),{classNames:jr={},styles:Nr={}}=wt;return Lt(y.createElement(Oe.Z,{form:!0,space:!0},y.createElement(Ge.Z.Provider,{value:ir},y.createElement(it,Object.assign({prefixCls:Vt,onClose:nn,maskMotion:nr,motion:Gn},wt,{classNames:{mask:pe()(jr.mask,Rn.mask),content:pe()(jr.content,Rn.content),wrapper:pe()(jr.wrapper,Rn.wrapper)},styles:{mask:Object.assign(Object.assign(Object.assign({},Nr.mask),Cn),Qn.mask),content:Object.assign(Object.assign(Object.assign({},Nr.content),ct),Qn.content),wrapper:Object.assign(Object.assign(Object.assign({},Nr.wrapper),Zt),Qn.wrapper)},open:Kt!=null?Kt:zt,mask:st,push:en,width:xn,height:jn,style:Object.assign(Object.assign({},lr),cn),className:pe()(er,bt),rootClassName:Bn,getContainer:tn,afterOpenChange:vn!=null?vn:un,panelRef:Ln,zIndex:mr}),y.createElement(It,Object.assign({prefixCls:Vt},wt,{onClose:nn}))))))},Ye=et=>{const{prefixCls:nt,style:mt,className:yt,placement:St="right"}=et,Qe=le(et,["prefixCls","style","className","placement"]),{getPrefixCls:st}=y.useContext(lt.E_),en=st("drawer",nt),[Kt,vn,nn]=te(en),Yt=pe()(en,`${en}-pure`,`${en}-${St}`,vn,nn,yt);return Kt(y.createElement("div",{className:Yt,style:mt},y.createElement(It,Object.assign({prefixCls:en},Qe))))};fe._InternalPanelDoNotUseOrYouWillBeFired=Ye;var vt=fe},19563:function(mn,Ct,E){"use strict";E.d(Ct,{Z:function(){return ut}});var y=E(59301),Ae=E(33853),pe=E(38819),ze=E(92310),Ce=E.n(ze),Fe=E(96478),ge=E(6089),je=E(18929),De=E(2738),se=E(75030),me=xe=>typeof xe!="object"&&typeof xe!="function"||xe===null,Ne=E(52838),we=E(45915),be=E(22703),he=E(32383),ce=E(55743),Ie=E(48755),Ze=E(83397),$e=E(93041),oe=E(78857),Be=E(57700),tt=E(36237),Re=E(63356),_e=E(46e3),ye=E(93873),Le=E(34925),Ve=E(37645),Pe=E(36305),it=E(16931),Oe=E(51636),Xe=xe=>{const{componentCls:ke,menuCls:at,colorError:Rt,colorTextLightSolid:ft}=xe,Nt=`${at}-item`;return{[`${ke}, ${ke}-menu-submenu`]:{[`${at} ${Nt}`]:{[`&${Nt}-danger:not(${Nt}-disabled)`]:{color:Rt,"&:hover":{color:ft,backgroundColor:Rt}}}}}};const Ge=xe=>{const{componentCls:ke,menuCls:at,zIndexPopup:Rt,dropdownArrowDistance:ft,sizePopupArrow:Nt,antCls:xt,iconCls:Xt,motionDurationMid:Wt,paddingBlock:de,fontSize:ne,dropdownEdgeChildPadding:te,colorTextDisabled:le,fontSizeIcon:ve,controlPaddingHorizontal:re,colorBgElevated:fe}=xe;return[{[ke]:{position:"absolute",top:-9999,left:{_skip_check_:!0,value:-9999},zIndex:Rt,display:"block","&::before":{position:"absolute",insetBlock:xe.calc(Nt).div(2).sub(ft).equal(),zIndex:-9999,opacity:1e-4,content:'""'},"&-menu-vertical":{maxHeight:"100vh",overflowY:"auto"},[`&-trigger${xt}-btn`]:{[`& > ${Xt}-down, & > ${xt}-btn-icon > ${Xt}-down`]:{fontSize:ve}},[`${ke}-wrap`]:{position:"relative",[`${xt}-btn > ${Xt}-down`]:{fontSize:ve},[`${Xt}-down::before`]:{transition:`transform ${Wt}`}},[`${ke}-wrap-open`]:{[`${Xt}-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${ke}-placement-bottomLeft,
|
|
|
&${xt}-slide-down-appear${xt}-slide-down-appear-active${ke}-placement-bottomLeft,
|
|
|
&${xt}-slide-down-enter${xt}-slide-down-enter-active${ke}-placement-bottom,
|
|
|
&${xt}-slide-down-appear${xt}-slide-down-appear-active${ke}-placement-bottom,
|
|
|
&${xt}-slide-down-enter${xt}-slide-down-enter-active${ke}-placement-bottomRight,
|
|
|
&${xt}-slide-down-appear${xt}-slide-down-appear-active${ke}-placement-bottomRight`]:{animationName:_e.fJ},[`&${xt}-slide-up-enter${xt}-slide-up-enter-active${ke}-placement-topLeft,
|
|
|
&${xt}-slide-up-appear${xt}-slide-up-appear-active${ke}-placement-topLeft,
|
|
|
&${xt}-slide-up-enter${xt}-slide-up-enter-active${ke}-placement-top,
|
|
|
&${xt}-slide-up-appear${xt}-slide-up-appear-active${ke}-placement-top,
|
|
|
&${xt}-slide-up-enter${xt}-slide-up-enter-active${ke}-placement-topRight,
|
|
|
&${xt}-slide-up-appear${xt}-slide-up-appear-active${ke}-placement-topRight`]:{animationName:_e.Qt},[`&${xt}-slide-down-leave${xt}-slide-down-leave-active${ke}-placement-bottomLeft,
|
|
|
&${xt}-slide-down-leave${xt}-slide-down-leave-active${ke}-placement-bottom,
|
|
|
&${xt}-slide-down-leave${xt}-slide-down-leave-active${ke}-placement-bottomRight`]:{animationName:_e.Uw},[`&${xt}-slide-up-leave${xt}-slide-up-leave-active${ke}-placement-topLeft,
|
|
|
&${xt}-slide-up-leave${xt}-slide-up-leave-active${ke}-placement-top,
|
|
|
&${xt}-slide-up-leave${xt}-slide-up-leave-active${ke}-placement-topRight`]:{animationName:_e.ly}}},(0,Ve.ZP)(xe,fe,{arrowPlacement:{top:!0,bottom:!0}}),{[`${ke} ${at}`]:{position:"relative",margin:0},[`${at}-submenu-popup`]:{position:"absolute",zIndex:Rt,background:"transparent",boxShadow:"none",transformOrigin:"0 0","ul, li":{listStyle:"none",margin:0}},[`${ke}, ${ke}-menu-submenu`]:Object.assign(Object.assign({},(0,Re.Wf)(xe)),{[at]:Object.assign(Object.assign({padding:te,listStyleType:"none",backgroundColor:fe,backgroundClip:"padding-box",borderRadius:xe.borderRadiusLG,outline:"none",boxShadow:xe.boxShadowSecondary},(0,Re.Qy)(xe)),{"&:empty":{padding:0,boxShadow:"none"},[`${at}-item-group-title`]:{padding:`${(0,tt.unit)(de)} ${(0,tt.unit)(re)}`,color:xe.colorTextDescription,transition:`all ${Wt}`},[`${at}-item`]:{position:"relative",display:"flex",alignItems:"center"},[`${at}-item-icon`]:{minWidth:ne,marginInlineEnd:xe.marginXS,fontSize:xe.fontSizeSM},[`${at}-title-content`]:{flex:"auto","&-with-extra":{display:"inline-flex",alignItems:"center",width:"100%"},"> a":{color:"inherit",transition:`all ${Wt}`,"&:hover":{color:"inherit"},"&::after":{position:"absolute",inset:0,content:'""'}},[`${at}-item-extra`]:{paddingInlineStart:xe.padding,marginInlineStart:"auto",fontSize:xe.fontSizeSM,color:xe.colorTextDescription}},[`${at}-item, ${at}-submenu-title`]:Object.assign(Object.assign({display:"flex",margin:0,padding:`${(0,tt.unit)(de)} ${(0,tt.unit)(re)}`,color:xe.colorText,fontWeight:"normal",fontSize:ne,lineHeight:xe.lineHeight,cursor:"pointer",transition:`all ${Wt}`,borderRadius:xe.borderRadiusSM,"&:hover, &-active":{backgroundColor:xe.controlItemBgHover}},(0,Re.Qy)(xe)),{"&-selected":{color:xe.colorPrimary,backgroundColor:xe.controlItemBgActive,"&:hover, &-active":{backgroundColor:xe.controlItemBgActiveHover}},"&-disabled":{color:le,cursor:"not-allowed","&:hover":{color:le,backgroundColor:fe,cursor:"not-allowed"},a:{pointerEvents:"none"}},"&-divider":{height:1,margin:`${(0,tt.unit)(xe.marginXXS)} 0`,overflow:"hidden",lineHeight:0,backgroundColor:xe.colorSplit},[`${ke}-menu-submenu-expand-icon`]:{position:"absolute",insetInlineEnd:xe.paddingXS,[`${ke}-menu-submenu-arrow-icon`]:{marginInlineEnd:"0 !important",color:xe.colorTextDescription,fontSize:ve,fontStyle:"normal"}}}),[`${at}-item-group-list`]:{margin:`0 ${(0,tt.unit)(xe.marginXS)}`,padding:0,listStyle:"none"},[`${at}-submenu-title`]:{paddingInlineEnd:xe.calc(re).add(xe.fontSizeSM).equal()},[`${at}-submenu-vertical`]:{position:"relative"},[`${at}-submenu${at}-submenu-disabled ${ke}-menu-submenu-title`]:{[`&, ${ke}-menu-submenu-arrow-icon`]:{color:le,backgroundColor:fe,cursor:"not-allowed"}},[`${at}-submenu-selected ${ke}-menu-submenu-title`]:{color:xe.colorPrimary}})})},[(0,_e.oN)(xe,"slide-up"),(0,_e.oN)(xe,"slide-down"),(0,ye.Fm)(xe,"move-up"),(0,ye.Fm)(xe,"move-down"),(0,Le._y)(xe,"zoom-big")]]},lt=xe=>Object.assign(Object.assign({zIndexPopup:xe.zIndexPopupBase+50,paddingBlock:(xe.controlHeight-xe.fontSize*xe.lineHeight)/2},(0,Ve.wZ)({contentRadius:xe.borderRadiusLG,limitVerticalRadius:!0})),(0,Pe.w)(xe));var Tt=(0,it.I$)("Dropdown",xe=>{const{marginXXS:ke,sizePopupArrow:at,paddingXXS:Rt,componentCls:ft}=xe,Nt=(0,Oe.mergeToken)(xe,{menuCls:`${ft}-menu`,dropdownArrowDistance:xe.calc(at).div(2).add(ke).equal(),dropdownEdgeChildPadding:Rt});return[Ge(Nt),Xe(Nt)]},lt,{resetStyle:!1});const Ke=null,Se=xe=>{var ke;const{menu:at,arrow:Rt,prefixCls:ft,children:Nt,trigger:xt,disabled:Xt,dropdownRender:Wt,getPopupContainer:de,overlayClassName:ne,rootClassName:te,overlayStyle:le,open:ve,onOpenChange:re,visible:fe,onVisibleChange:Ye,mouseEnterDelay:vt=.15,mouseLeaveDelay:et=.1,autoAdjustOverflow:nt=!0,placement:mt="",overlay:yt,transitionName:St}=xe,{getPopupContainer:Qe,getPrefixCls:st,direction:en,dropdown:Kt}=y.useContext(Ie.E_),vn=(0,he.ln)("Dropdown"),nn=y.useMemo(()=>{const tn=st();return St!==void 0?St:mt.includes("top")?`${tn}-slide-down`:`${tn}-slide-up`},[st,mt,St]),Yt=y.useMemo(()=>mt?mt.includes("Center")?mt.slice(0,mt.indexOf("Center")):mt:en==="rtl"?"bottomRight":"bottomLeft",[mt,en]),Jt=st("dropdown",ft),cn=(0,Ze.Z)(Jt),[bt,zt,un]=Tt(Jt,cn),[,Cn]=(0,Be.ZP)(),ct=y.Children.only(me(Nt)?y.createElement("span",null,Nt):Nt),Zt=(0,be.Tm)(ct,{className:Ce()(`${Jt}-trigger`,{[`${Jt}-rtl`]:en==="rtl"},ct.props.className),disabled:(ke=ct.props.disabled)!==null&&ke!==void 0?ke:Xt}),wt=Xt?[]:xt,dn=!!(wt!=null&&wt.includes("contextMenu")),[wn,Un]=(0,je.Z)(!1,{value:ve!=null?ve:fe}),er=(0,ge.Z)(tn=>{re==null||re(tn,{source:"trigger"}),Ye==null||Ye(tn),Un(tn)}),lr=Ce()(ne,te,zt,un,cn,Kt==null?void 0:Kt.className,{[`${Jt}-rtl`]:en==="rtl"}),Rn=(0,Ne.Z)({arrowPointAtCenter:typeof Rt=="object"&&Rt.pointAtCenter,autoAdjustOverflow:nt,offset:Cn.marginXXS,arrowWidth:Rt?Cn.sizePopupArrow:0,borderRadius:Cn.borderRadius}),Qn=y.useCallback(()=>{at!=null&&at.selectable&&(at!=null&&at.multiple)||(re==null||re(!1,{source:"menu"}),Un(!1))},[at==null?void 0:at.selectable,at==null?void 0:at.multiple]),Vt=()=>{let tn;return at!=null&&at.items?tn=y.createElement($e.default,Object.assign({},at)):typeof yt=="function"?tn=yt():tn=yt,Wt&&(tn=Wt(tn)),tn=y.Children.only(typeof tn=="string"?y.createElement("span",null,tn):tn),y.createElement(oe.J,{prefixCls:`${Jt}-menu`,rootClassName:Ce()(un,cn),expandIcon:y.createElement("span",{className:`${Jt}-menu-submenu-arrow`},en==="rtl"?y.createElement(Ae.Z,{className:`${Jt}-menu-submenu-arrow-icon`}):y.createElement(pe.Z,{className:`${Jt}-menu-submenu-arrow-icon`})),mode:"vertical",selectable:!1,onClick:Qn,validator:Bn=>{let{mode:xn}=Bn}},tn)},[Lt,sn]=(0,se.Cn)("Dropdown",le==null?void 0:le.zIndex);let an=y.createElement(Fe.Z,Object.assign({alignPoint:dn},(0,De.Z)(xe,["rootClassName"]),{mouseEnterDelay:vt,mouseLeaveDelay:et,visible:wn,builtinPlacements:Rn,arrow:!!Rt,overlayClassName:lr,prefixCls:Jt,getPopupContainer:de||Qe,transitionName:nn,trigger:wt,overlay:Vt,placement:Yt,onVisibleChange:er,overlayStyle:Object.assign(Object.assign(Object.assign({},Kt==null?void 0:Kt.style),le),{zIndex:Lt})}),Zt);return Lt&&(an=y.createElement(ce.Z.Provider,{value:sn},an)),bt(an)},Ft=(0,we.Z)(Se,"align",void 0,"dropdown",xe=>xe),It=xe=>y.createElement(Ft,Object.assign({},xe),y.createElement("span",null));Se._InternalPanelDoNotUseOrYouWillBeFired=It;var ut=Se},75727:function(mn,Ct,E){"use strict";E.d(Ct,{Z:function(){return we}});var y=E(19563),Ae=E(59301),pe=E(18785),ze=E(92310),Ce=E.n(ze),Fe=E(7939),ge=E(48755),je=E(44104),De=E(70045),se=function(be,he){var ce={};for(var Ie in be)Object.prototype.hasOwnProperty.call(be,Ie)&&he.indexOf(Ie)<0&&(ce[Ie]=be[Ie]);if(be!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Ze=0,Ie=Object.getOwnPropertySymbols(be);Ze<Ie.length;Ze++)he.indexOf(Ie[Ze])<0&&Object.prototype.propertyIsEnumerable.call(be,Ie[Ze])&&(ce[Ie[Ze]]=be[Ie[Ze]]);return ce};const Ue=be=>{const{getPopupContainer:he,getPrefixCls:ce,direction:Ie}=Ae.useContext(ge.E_),{prefixCls:Ze,type:$e="default",danger:oe,disabled:Be,loading:tt,onClick:Re,htmlType:_e,children:ye,className:Le,menu:Ve,arrow:Pe,autoFocus:it,overlay:Oe,trigger:ue,align:Xe,open:Ge,onOpenChange:lt,placement:Tt,getPopupContainer:Ke,href:Se,icon:Ft=Ae.createElement(pe.Z,null),title:It,buttonsRender:ut=vt=>vt,mouseEnterDelay:xe,mouseLeaveDelay:ke,overlayClassName:at,overlayStyle:Rt,destroyPopupOnHide:ft,dropdownRender:Nt}=be,xt=se(be,["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"]),Xt=ce("dropdown",Ze),Wt=`${Xt}-button`,de={menu:Ve,arrow:Pe,autoFocus:it,align:Xe,disabled:Be,trigger:Be?[]:ue,onOpenChange:lt,getPopupContainer:Ke||he,mouseEnterDelay:xe,mouseLeaveDelay:ke,overlayClassName:at,overlayStyle:Rt,destroyPopupOnHide:ft,dropdownRender:Nt},{compactSize:ne,compactItemClassnames:te}=(0,De.ri)(Xt,Ie),le=Ce()(Wt,te,Le);"overlay"in be&&(de.overlay=Oe),"open"in be&&(de.open=Ge),"placement"in be?de.placement=Tt:de.placement=Ie==="rtl"?"bottomLeft":"bottomRight";const ve=Ae.createElement(Fe.ZP,{type:$e,danger:oe,disabled:Be,loading:tt,onClick:Re,htmlType:_e,href:Se,title:It},ye),re=Ae.createElement(Fe.ZP,{type:$e,danger:oe,icon:Ft}),[fe,Ye]=ut([ve,re]);return Ae.createElement(je.Z.Compact,Object.assign({className:le,size:ne,block:!0},xt),fe,Ae.createElement(y.Z,Object.assign({},de),Ye))};Ue.__ANT_BUTTON=!0;var me=Ue;const Ne=y.Z;Ne.Button=me;var we=Ne},584:function(mn,Ct,E){"use strict";E.d(Ct,{Z:function(){return $e}});var y=E(59301),Ae=E(92310),pe=E.n(Ae),ze=E(9017),Ce=E(17835),Fe=E(57700),je=()=>{const[,oe]=(0,Fe.ZP)(),[Be]=(0,ze.Z)("Empty"),Re=new Ce.FastColor(oe.colorBgBase).toHsl().l<.5?{opacity:.65}:{};return y.createElement("svg",{style:Re,width:"184",height:"152",viewBox:"0 0 184 152",xmlns:"http://www.w3.org/2000/svg"},y.createElement("title",null,(Be==null?void 0:Be.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,Fe.ZP)(),[Be]=(0,ze.Z)("Empty"),{colorFill:tt,colorFillTertiary:Re,colorFillQuaternary:_e,colorBgContainer:ye}=oe,{borderColor:Le,shadowColor:Ve,contentColor:Pe}=(0,y.useMemo)(()=>({borderColor:new Ce.FastColor(tt).onBackground(ye).toHexString(),shadowColor:new Ce.FastColor(Re).onBackground(ye).toHexString(),contentColor:new Ce.FastColor(_e).onBackground(ye).toHexString()}),[tt,Re,_e,ye]);return y.createElement("svg",{width:"64",height:"41",viewBox:"0 0 64 41",xmlns:"http://www.w3.org/2000/svg"},y.createElement("title",null,(Be==null?void 0:Be.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:Le},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}))))},Ue=E(16931),me=E(51636);const Ne=oe=>{const{componentCls:Be,margin:tt,marginXS:Re,marginXL:_e,fontSize:ye,lineHeight:Le}=oe;return{[Be]:{marginInline:Re,fontSize:ye,lineHeight:Le,textAlign:"center",[`${Be}-image`]:{height:oe.emptyImgHeight,marginBottom:Re,opacity:oe.opacityImage,img:{height:"100%"},svg:{maxWidth:"100%",height:"100%",margin:"auto"}},[`${Be}-description`]:{color:oe.colorTextDescription},[`${Be}-footer`]:{marginTop:tt},"&-normal":{marginBlock:_e,color:oe.colorTextDescription,[`${Be}-description`]:{color:oe.colorTextDescription},[`${Be}-image`]:{height:oe.emptyImgHeightMD}},"&-small":{marginBlock:Re,color:oe.colorTextDescription,[`${Be}-image`]:{height:oe.emptyImgHeightSM}}}}};var we=(0,Ue.I$)("Empty",oe=>{const{componentCls:Be,controlHeightLG:tt,calc:Re}=oe,_e=(0,me.mergeToken)(oe,{emptyImgCls:`${Be}-img`,emptyImgHeight:Re(tt).mul(2.5).equal(),emptyImgHeightMD:tt,emptyImgHeightSM:Re(tt).mul(.875).equal()});return[Ne(_e)]}),be=E(48755),he=function(oe,Be){var tt={};for(var Re in oe)Object.prototype.hasOwnProperty.call(oe,Re)&&Be.indexOf(Re)<0&&(tt[Re]=oe[Re]);if(oe!=null&&typeof Object.getOwnPropertySymbols=="function")for(var _e=0,Re=Object.getOwnPropertySymbols(oe);_e<Re.length;_e++)Be.indexOf(Re[_e])<0&&Object.prototype.propertyIsEnumerable.call(oe,Re[_e])&&(tt[Re[_e]]=oe[Re[_e]]);return tt};const ce=y.createElement(je,null),Ie=y.createElement(se,null),Ze=oe=>{const{className:Be,rootClassName:tt,prefixCls:Re,image:_e=ce,description:ye,children:Le,imageStyle:Ve,style:Pe,classNames:it,styles:Oe}=oe,ue=he(oe,["className","rootClassName","prefixCls","image","description","children","imageStyle","style","classNames","styles"]),{getPrefixCls:Xe,direction:Ge,className:lt,style:Tt,classNames:Ke,styles:Se}=(0,be.dj)("empty"),Ft=Xe("empty",Re),[It,ut,xe]=we(Ft),[ke]=(0,ze.Z)("Empty"),at=typeof ye!="undefined"?ye:ke==null?void 0:ke.description,Rt=typeof at=="string"?at:"empty";let ft=null;return typeof _e=="string"?ft=y.createElement("img",{alt:Rt,src:_e}):ft=_e,It(y.createElement("div",Object.assign({className:pe()(ut,xe,Ft,lt,{[`${Ft}-normal`]:_e===Ie,[`${Ft}-rtl`]:Ge==="rtl"},Be,tt,Ke.root,it==null?void 0:it.root),style:Object.assign(Object.assign(Object.assign(Object.assign({},Se.root),Tt),Oe==null?void 0:Oe.root),Pe)},ue),y.createElement("div",{className:pe()(`${Ft}-image`,Ke.image,it==null?void 0:it.image),style:Object.assign(Object.assign(Object.assign({},Ve),Se.image),Oe==null?void 0:Oe.image)},ft),at&&y.createElement("div",{className:pe()(`${Ft}-description`,Ke.description,it==null?void 0:it.description),style:Object.assign(Object.assign({},Se.description),Oe==null?void 0:Oe.description)},at),Le&&y.createElement("div",{className:pe()(`${Ft}-footer`,Ke.footer,it==null?void 0:it.footer),style:Object.assign(Object.assign({},Se.footer),Oe==null?void 0:Oe.footer)},Le)))};Ze.PRESENTED_IMAGE_DEFAULT=ce,Ze.PRESENTED_IMAGE_SIMPLE=Ie;var $e=Ze},28284:function(mn,Ct,E){"use strict";E.d(Ct,{default:function(){return qt}});var y=E(56553),Ae=E(77654),pe=E(59301),ze=E(92310),Ce=E.n(ze),Fe=E(77900),ge=E(86641),je=E(83397);function De(gt){const[Ht,Et]=pe.useState(gt);return pe.useEffect(()=>{const Ut=setTimeout(()=>{Et(gt)},gt.length?0:10);return()=>{clearTimeout(Ut)}},[gt]),Ht}var se=E(36237),Ue=E(63356),me=E(34925),Ne=E(34961),we=E(51636),be=E(16931),ce=gt=>{const{componentCls:Ht}=gt,Et=`${Ht}-show-help`,Ut=`${Ht}-show-help-item`;return{[Et]:{transition:`opacity ${gt.motionDurationFast} ${gt.motionEaseInOut}`,"&-appear, &-enter":{opacity:0,"&-active":{opacity:1}},"&-leave":{opacity:1,"&-active":{opacity:0}},[Ut]:{overflow:"hidden",transition:`height ${gt.motionDurationFast} ${gt.motionEaseInOut},
|
|
|
opacity ${gt.motionDurationFast} ${gt.motionEaseInOut},
|
|
|
transform ${gt.motionDurationFast} ${gt.motionEaseInOut} !important`,[`&${Ut}-appear, &${Ut}-enter`]:{transform:"translateY(-5px)",opacity:0,"&-active":{transform:"translateY(0)",opacity:1}},[`&${Ut}-leave-active`]:{transform:"translateY(-5px)"}}}}};const Ie=gt=>({legend:{display:"block",width:"100%",marginBottom:gt.marginLG,padding:0,color:gt.colorTextDescription,fontSize:gt.fontSizeLG,lineHeight:"inherit",border:0,borderBottom:`${(0,se.unit)(gt.lineWidth)} ${gt.lineType} ${gt.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)(gt.controlOutlineWidth)} ${gt.controlOutline}`},output:{display:"block",paddingTop:15,color:gt.colorText,fontSize:gt.fontSize,lineHeight:gt.lineHeight}}),Ze=(gt,Ht)=>{const{formItemCls:Et}=gt;return{[Et]:{[`${Et}-label > label`]:{height:Ht},[`${Et}-control-input`]:{minHeight:Ht}}}},$e=gt=>{const{componentCls:Ht}=gt;return{[gt.componentCls]:Object.assign(Object.assign(Object.assign({},(0,Ue.Wf)(gt)),Ie(gt)),{[`${Ht}-text`]:{display:"inline-block",paddingInlineEnd:gt.paddingSM},"&-small":Object.assign({},Ze(gt,gt.controlHeightSM)),"&-large":Object.assign({},Ze(gt,gt.controlHeightLG))})}},oe=gt=>{const{formItemCls:Ht,iconCls:Et,rootPrefixCls:Ut,antCls:ot,labelRequiredMarkColor:Qt,labelColor:rn,labelFontSize:_t,labelHeight:rt,labelColonMarginInlineStart:Bt,labelColonMarginInlineEnd:Ot,itemMarginBottom:$t}=gt;return{[Ht]:Object.assign(Object.assign({},(0,Ue.Wf)(gt)),{marginBottom:$t,verticalAlign:"top","&-with-help":{transition:"none"},[`&-hidden,
|
|
|
&-hidden${ot}-row`]:{display:"none"},"&-has-warning":{[`${Ht}-split`]:{color:gt.colorError}},"&-has-error":{[`${Ht}-split`]:{color:gt.colorWarning}},[`${Ht}-label`]:{flexGrow:0,overflow:"hidden",whiteSpace:"nowrap",textAlign:"end",verticalAlign:"middle","&-left":{textAlign:"start"},"&-wrap":{overflow:"unset",lineHeight:gt.lineHeight,whiteSpace:"unset"},"> label":{position:"relative",display:"inline-flex",alignItems:"center",maxWidth:"100%",height:rt,color:rn,fontSize:_t,[`> ${Et}`]:{fontSize:gt.fontSize,verticalAlign:"top"},[`&${Ht}-required`]:{"&::before":{display:"inline-block",marginInlineEnd:gt.marginXXS,color:Qt,fontSize:gt.fontSize,fontFamily:"SimSun, sans-serif",lineHeight:1,content:'"*"'},[`&${Ht}-required-mark-hidden, &${Ht}-required-mark-optional`]:{"&::before":{display:"none"}}},[`${Ht}-optional`]:{display:"inline-block",marginInlineStart:gt.marginXXS,color:gt.colorTextDescription,[`&${Ht}-required-mark-hidden`]:{display:"none"}},[`${Ht}-tooltip`]:{color:gt.colorTextDescription,cursor:"help",writingMode:"horizontal-tb",marginInlineStart:gt.marginXXS},"&::after":{content:'":"',position:"relative",marginBlock:0,marginInlineStart:Bt,marginInlineEnd:Ot},[`&${Ht}-no-colon::after`]:{content:'"\\a0"'}}},[`${Ht}-control`]:{"--ant-display":"flex",flexDirection:"column",flexGrow:1,[`&:first-child:not([class^="'${Ut}-col-'"]):not([class*="' ${Ut}-col-'"])`]:{width:"100%"},"&-input":{position:"relative",display:"flex",alignItems:"center",minHeight:gt.controlHeight,"&-content":{flex:"auto",maxWidth:"100%"}}},[Ht]:{"&-additional":{display:"flex",flexDirection:"column"},"&-explain, &-extra":{clear:"both",color:gt.colorTextDescription,fontSize:gt.fontSize,lineHeight:gt.lineHeight},"&-explain-connected":{width:"100%"},"&-extra":{minHeight:gt.controlHeightSM,transition:`color ${gt.motionDurationMid} ${gt.motionEaseOut}`},"&-explain":{"&-error":{color:gt.colorError},"&-warning":{color:gt.colorWarning}}},[`&-with-help ${Ht}-explain`]:{height:"auto",opacity:1},[`${Ht}-feedback-icon`]:{fontSize:gt.fontSize,textAlign:"center",visibility:"visible",animationName:me.kr,animationDuration:gt.motionDurationMid,animationTimingFunction:gt.motionEaseOutBack,pointerEvents:"none","&-success":{color:gt.colorSuccess},"&-error":{color:gt.colorError},"&-warning":{color:gt.colorWarning},"&-validating":{color:gt.colorPrimary}}})}},Be=(gt,Ht)=>{const{formItemCls:Et}=gt;return{[`${Ht}-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"}}}}},tt=gt=>{const{componentCls:Ht,formItemCls:Et,inlineItemMarginBottom:Ut}=gt;return{[`${Ht}-inline`]:{display:"flex",flexWrap:"wrap",[Et]:{flex:"none",marginInlineEnd:gt.margin,marginBottom:Ut,"&-row":{flexWrap:"nowrap"},[`> ${Et}-label,
|
|
|
> ${Et}-control`]:{display:"inline-block",verticalAlign:"top"},[`> ${Et}-label`]:{flex:"none"},[`${Ht}-text`]:{display:"inline-block"},[`${Et}-has-feedback`]:{display:"inline-block"}}}}},Re=gt=>({padding:gt.verticalLabelPadding,margin:gt.verticalLabelMargin,whiteSpace:"initial",textAlign:"start","> label":{margin:0,"&::after":{visibility:"hidden"}}}),_e=gt=>{const{componentCls:Ht,formItemCls:Et,rootPrefixCls:Ut}=gt;return{[`${Et} ${Et}-label`]:Re(gt),[`${Ht}:not(${Ht}-inline)`]:{[Et]:{flexWrap:"wrap",[`${Et}-label, ${Et}-control`]:{[`&:not([class*=" ${Ut}-col-xs"])`]:{flex:"0 0 100%",maxWidth:"100%"}}}}}},ye=gt=>{const{componentCls:Ht,formItemCls:Et,antCls:Ut}=gt;return{[`${Ht}-vertical`]:{[`${Et}:not(${Et}-horizontal)`]:{[`${Et}-row`]:{flexDirection:"column"},[`${Et}-label > label`]:{height:"auto"},[`${Et}-control`]:{width:"100%"},[`${Et}-label,
|
|
|
${Ut}-col-24${Et}-label,
|
|
|
${Ut}-col-xl-24${Et}-label`]:Re(gt)}},[`@media (max-width: ${(0,se.unit)(gt.screenXSMax)})`]:[_e(gt),{[Ht]:{[`${Et}:not(${Et}-horizontal)`]:{[`${Ut}-col-xs-24${Et}-label`]:Re(gt)}}}],[`@media (max-width: ${(0,se.unit)(gt.screenSMMax)})`]:{[Ht]:{[`${Et}:not(${Et}-horizontal)`]:{[`${Ut}-col-sm-24${Et}-label`]:Re(gt)}}},[`@media (max-width: ${(0,se.unit)(gt.screenMDMax)})`]:{[Ht]:{[`${Et}:not(${Et}-horizontal)`]:{[`${Ut}-col-md-24${Et}-label`]:Re(gt)}}},[`@media (max-width: ${(0,se.unit)(gt.screenLGMax)})`]:{[Ht]:{[`${Et}:not(${Et}-horizontal)`]:{[`${Ut}-col-lg-24${Et}-label`]:Re(gt)}}}}},Le=gt=>{const{formItemCls:Ht,antCls:Et}=gt;return{[`${Ht}-vertical`]:{[`${Ht}-row`]:{flexDirection:"column"},[`${Ht}-label > label`]:{height:"auto"},[`${Ht}-control`]:{width:"100%"}},[`${Ht}-vertical ${Ht}-label,
|
|
|
${Et}-col-24${Ht}-label,
|
|
|
${Et}-col-xl-24${Ht}-label`]:Re(gt),[`@media (max-width: ${(0,se.unit)(gt.screenXSMax)})`]:[_e(gt),{[Ht]:{[`${Et}-col-xs-24${Ht}-label`]:Re(gt)}}],[`@media (max-width: ${(0,se.unit)(gt.screenSMMax)})`]:{[Ht]:{[`${Et}-col-sm-24${Ht}-label`]:Re(gt)}},[`@media (max-width: ${(0,se.unit)(gt.screenMDMax)})`]:{[Ht]:{[`${Et}-col-md-24${Ht}-label`]:Re(gt)}},[`@media (max-width: ${(0,se.unit)(gt.screenLGMax)})`]:{[Ht]:{[`${Et}-col-lg-24${Ht}-label`]:Re(gt)}}}},Ve=gt=>({labelRequiredMarkColor:gt.colorError,labelColor:gt.colorTextHeading,labelFontSize:gt.fontSize,labelHeight:gt.controlHeight,labelColonMarginInlineStart:gt.marginXXS/2,labelColonMarginInlineEnd:gt.marginXS,itemMarginBottom:gt.marginLG,verticalLabelPadding:`0 0 ${gt.paddingXS}px`,verticalLabelMargin:0,inlineItemMarginBottom:0}),Pe=(gt,Ht)=>(0,we.mergeToken)(gt,{formItemCls:`${gt.componentCls}-item`,rootPrefixCls:Ht});var it=(0,be.I$)("Form",(gt,Ht)=>{let{rootPrefixCls:Et}=Ht;const Ut=Pe(gt,Et);return[$e(Ut),oe(Ut),ce(Ut),Be(Ut,Ut.componentCls),Be(Ut,Ut.formItemCls),tt(Ut),ye(Ut),Le(Ut),(0,Ne.Z)(Ut),me.kr]},Ve,{order:-1e3});const Oe=[];function ue(gt,Ht,Et){let Ut=arguments.length>3&&arguments[3]!==void 0?arguments[3]:0;return{key:typeof gt=="string"?gt:`${Ht}-${Ut}`,error:gt,errorStatus:Et}}var Ge=gt=>{let{help:Ht,helpStatus:Et,errors:Ut=Oe,warnings:ot=Oe,className:Qt,fieldId:rn,onVisibleChanged:_t}=gt;const{prefixCls:rt}=pe.useContext(y.Rk),Bt=`${rt}-item-explain`,Ot=(0,je.Z)(rt),[$t,On,Wn]=it(rt,Ot),Yn=pe.useMemo(()=>(0,ge.Z)(rt),[rt]),Mr=De(Ut),Hr=De(ot),to=pe.useMemo(()=>Ht!=null?[ue(Ht,"help",Et)]:[].concat((0,Ae.Z)(Mr.map((Tr,Yr)=>ue(Tr,"error","error",Yr))),(0,Ae.Z)(Hr.map((Tr,Yr)=>ue(Tr,"warning","warning",Yr)))),[Ht,Et,Mr,Hr]),fr=pe.useMemo(()=>{const Tr={};return to.forEach(Yr=>{let{key:ro}=Yr;Tr[ro]=(Tr[ro]||0)+1}),to.map((Yr,ro)=>Object.assign(Object.assign({},Yr),{key:Tr[Yr.key]>1?`${Yr.key}-fallback-${ro}`:Yr.key}))},[to]),Er={};return rn&&(Er.id=`${rn}_help`),$t(pe.createElement(Fe.default,{motionDeadline:Yn.motionDeadline,motionName:`${rt}-show-help`,visible:!!fr.length,onVisibleChanged:_t},Tr=>{const{className:Yr,style:ro}=Tr;return pe.createElement("div",Object.assign({},Er,{className:Ce()(Bt,Yr,Wn,Ot,Qt,On),style:ro}),pe.createElement(Fe.CSSMotionList,Object.assign({keys:fr},(0,ge.Z)(rt),{motionName:`${rt}-show-help-item`,component:!1}),oo=>{const{key:ao,error:Or,errorStatus:eo,className:Jr,style:Wo}=oo;return pe.createElement("div",{key:ao,className:Ce()(Jr,{[`${Bt}-${eo}`]:eo}),style:Wo},Or)}))}))},lt=E(69180),Tt=E(48755),Ke=E(2171),Se=E(31756),Ft=E(23069),It=E(76846),ut=E(16722);const xe=["parentNode"],ke="form_item";function at(gt){return gt===void 0||gt===!1?[]:Array.isArray(gt)?gt:[gt]}function Rt(gt,Ht){if(!gt.length)return;const Et=gt.join("_");return Ht?`${Ht}_${Et}`:xe.includes(Et)?`${ke}_${Et}`:Et}function ft(gt,Ht,Et,Ut,ot,Qt){let rn=Ut;return Qt!==void 0?rn=Qt:Et.validating?rn="validating":gt.length?rn="error":Ht.length?rn="warning":(Et.touched||ot&&Et.validated)&&(rn="success"),rn}var Nt=function(gt,Ht){var Et={};for(var Ut in gt)Object.prototype.hasOwnProperty.call(gt,Ut)&&Ht.indexOf(Ut)<0&&(Et[Ut]=gt[Ut]);if(gt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var ot=0,Ut=Object.getOwnPropertySymbols(gt);ot<Ut.length;ot++)Ht.indexOf(Ut[ot])<0&&Object.prototype.propertyIsEnumerable.call(gt,Ut[ot])&&(Et[Ut[ot]]=gt[Ut[ot]]);return Et};function xt(gt){return at(gt).join("_")}function Xt(gt,Ht){const Et=Ht.getFieldInstance(gt),Ut=(0,It.bn)(Et);if(Ut)return Ut;const ot=Rt(at(gt),Ht.__INTERNAL__.name);if(ot)return document.getElementById(ot)}function Wt(gt){const[Ht]=(0,lt.useForm)(),Et=pe.useRef({}),Ut=pe.useMemo(()=>gt!=null?gt:Object.assign(Object.assign({},Ht),{__INTERNAL__:{itemRef:ot=>Qt=>{const rn=xt(ot);Qt?Et.current[rn]=Qt:delete Et.current[rn]}},scrollToField:function(ot){let Qt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const{focus:rn}=Qt,_t=Nt(Qt,["focus"]),rt=Xt(ot,Ut);rt&&((0,ut.Z)(rt,Object.assign({scrollMode:"if-needed",block:"nearest"},_t)),rn&&Ut.focusField(ot))},focusField:ot=>{var Qt,rn;const _t=Ut.getFieldInstance(ot);typeof(_t==null?void 0:_t.focus)=="function"?_t.focus():(rn=(Qt=Xt(ot,Ut))===null||Qt===void 0?void 0:Qt.focus)===null||rn===void 0||rn.call(Qt)},getFieldInstance:ot=>{const Qt=xt(ot);return Et.current[Qt]}}),[gt,Ht]);return[Ut]}var de=E(98350),ne=function(gt,Ht){var Et={};for(var Ut in gt)Object.prototype.hasOwnProperty.call(gt,Ut)&&Ht.indexOf(Ut)<0&&(Et[Ut]=gt[Ut]);if(gt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var ot=0,Ut=Object.getOwnPropertySymbols(gt);ot<Ut.length;ot++)Ht.indexOf(Ut[ot])<0&&Object.prototype.propertyIsEnumerable.call(gt,Ut[ot])&&(Et[Ut[ot]]=gt[Ut[ot]]);return Et};const te=(gt,Ht)=>{const Et=pe.useContext(Ke.Z),{getPrefixCls:Ut,direction:ot,requiredMark:Qt,colon:rn,scrollToFirstError:_t,className:rt,style:Bt}=(0,Tt.dj)("form"),{prefixCls:Ot,className:$t,rootClassName:On,size:Wn,disabled:Yn=Et,form:Mr,colon:Hr,labelAlign:to,labelWrap:fr,labelCol:Er,wrapperCol:Tr,hideRequiredMark:Yr,layout:ro="horizontal",scrollToFirstError:oo,requiredMark:ao,onFinishFailed:Or,name:eo,style:Jr,feedbackIcons:Wo,variant:Ko}=gt,rr=ne(gt,["prefixCls","className","rootClassName","size","disabled","form","colon","labelAlign","labelWrap","labelCol","wrapperCol","hideRequiredMark","layout","scrollToFirstError","requiredMark","onFinishFailed","name","style","feedbackIcons","variant"]),Ro=(0,Se.Z)(Wn),ei=pe.useContext(de.Z),yo=pe.useMemo(()=>ao!==void 0?ao:Yr?!1:Qt!==void 0?Qt:!0,[Yr,ao,Qt]),Zo=Hr!=null?Hr:rn,vo=Ut("form",Ot),ui=(0,je.Z)(vo),[yi,Jo,pi]=it(vo,ui),ki=Ce()(vo,`${vo}-${ro}`,{[`${vo}-hide-required-mark`]:yo===!1,[`${vo}-rtl`]:ot==="rtl",[`${vo}-${Ro}`]:Ro},pi,ui,Jo,rt,$t,On),[Ci]=Wt(Mr),{__INTERNAL__:Oi}=Ci;Oi.name=eo;const No=pe.useMemo(()=>({name:eo,labelAlign:to,labelCol:Er,labelWrap:fr,wrapperCol:Tr,vertical:ro==="vertical",colon:Zo,requiredMark:yo,itemRef:Oi.itemRef,form:Ci,feedbackIcons:Wo}),[eo,to,Er,Tr,ro,Zo,yo,Ci,Wo]),Je=pe.useRef(null);pe.useImperativeHandle(Ht,()=>{var bn;return Object.assign(Object.assign({},Ci),{nativeElement:(bn=Je.current)===null||bn===void 0?void 0:bn.nativeElement})});const hn=(bn,Jn)=>{if(bn){let Zn={block:"nearest"};typeof bn=="object"&&(Zn=Object.assign(Object.assign({},Zn),bn)),Ci.scrollToField(Jn,Zn)}},Mt=bn=>{if(Or==null||Or(bn),bn.errorFields.length){const Jn=bn.errorFields[0].name;if(oo!==void 0){hn(oo,Jn);return}_t!==void 0&&hn(_t,Jn)}};return yi(pe.createElement(y.pg.Provider,{value:Ko},pe.createElement(Ke.n,{disabled:Yn},pe.createElement(Ft.Z.Provider,{value:Ro},pe.createElement(y.RV,{validateMessages:ei},pe.createElement(y.q3.Provider,{value:No},pe.createElement(lt.default,Object.assign({id:eo},rr,{name:eo,onFinishFailed:Mt,form:Ci,ref:Je,style:Object.assign(Object.assign({},Bt),Jr),className:ki}))))))))};var ve=pe.forwardRef(te),re=E(41799),fe=E(8654),Ye=E(22703),vt=E(32383),et=E(11592);function nt(gt){if(typeof gt=="function")return gt;const Ht=(0,et.Z)(gt);return Ht.length<=1?Ht[0]:Ht}const mt=()=>{const{status:gt,errors:Ht=[],warnings:Et=[]}=pe.useContext(y.aM);return{status:gt,errors:Ht,warnings:Et}};mt.Context=y.aM;var yt=mt,St=E(16089);function Qe(gt){const[Ht,Et]=pe.useState(gt),Ut=pe.useRef(null),ot=pe.useRef([]),Qt=pe.useRef(!1);pe.useEffect(()=>(Qt.current=!1,()=>{Qt.current=!0,St.Z.cancel(Ut.current),Ut.current=null}),[]);function rn(_t){Qt.current||(Ut.current===null&&(ot.current=[],Ut.current=(0,St.Z)(()=>{Ut.current=null,Et(rt=>{let Bt=rt;return ot.current.forEach(Ot=>{Bt=Ot(Bt)}),Bt})})),ot.current.push(_t))}return[Ht,rn]}function st(){const{itemRef:gt}=pe.useContext(y.q3),Ht=pe.useRef({});function Et(Ut,ot){const Qt=ot&&typeof ot=="object"&&(0,fe.C4)(ot),rn=Ut.join("_");return(Ht.current.name!==rn||Ht.current.originRef!==Qt)&&(Ht.current.name=rn,Ht.current.originRef=Qt,Ht.current.ref=(0,fe.sQ)(gt(Ut),Qt)),Ht.current.ref}return Et}var en=E(29194),Kt=E(34280),vn=E(2738),nn=E(65970),Yt=E(70425),Jt=E(5472);const cn=gt=>{const{formItemCls:Ht}=gt;return{"@media screen and (-ms-high-contrast: active), (-ms-high-contrast: none)":{[`${Ht}-control`]:{display:"flex"}}}};var bt=(0,be.bk)(["Form","item-item"],(gt,Ht)=>{let{rootPrefixCls:Et}=Ht;const Ut=Pe(gt,Et);return[cn(Ut)]}),zt=function(gt,Ht){var Et={};for(var Ut in gt)Object.prototype.hasOwnProperty.call(gt,Ut)&&Ht.indexOf(Ut)<0&&(Et[Ut]=gt[Ut]);if(gt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var ot=0,Ut=Object.getOwnPropertySymbols(gt);ot<Ut.length;ot++)Ht.indexOf(Ut[ot])<0&&Object.prototype.propertyIsEnumerable.call(gt,Ut[ot])&&(Et[Ut[ot]]=gt[Ut[ot]]);return Et};const un=24;var ct=gt=>{const{prefixCls:Ht,status:Et,labelCol:Ut,wrapperCol:ot,children:Qt,errors:rn,warnings:_t,_internalItemRender:rt,extra:Bt,help:Ot,fieldId:$t,marginBottom:On,onErrorVisibleChanged:Wn,label:Yn}=gt,Mr=`${Ht}-item`,Hr=pe.useContext(y.q3),to=pe.useMemo(()=>{let rr=Object.assign({},ot||Hr.wrapperCol||{});return Yn===null&&!Ut&&!ot&&Hr.labelCol&&[void 0,"xs","sm","md","lg","xl","xxl"].forEach(ei=>{const yo=ei?[ei]:[],Zo=(0,Yt.U2)(Hr.labelCol,yo),vo=typeof Zo=="object"?Zo:{},ui=(0,Yt.U2)(rr,yo),yi=typeof ui=="object"?ui:{};"span"in vo&&!("offset"in yi)&&vo.span<un&&(rr=(0,Yt.t8)(rr,[].concat(yo,["offset"]),vo.span))}),rr},[ot,Hr]),fr=Ce()(`${Mr}-control`,to.className),Er=pe.useMemo(()=>{const{labelCol:rr,wrapperCol:Ro}=Hr;return zt(Hr,["labelCol","wrapperCol"])},[Hr]),Tr=pe.useRef(null),[Yr,ro]=pe.useState(0);(0,Kt.Z)(()=>{Bt&&Tr.current?ro(Tr.current.clientHeight):ro(0)},[Bt]);const oo=pe.createElement("div",{className:`${Mr}-control-input`},pe.createElement("div",{className:`${Mr}-control-input-content`},Qt)),ao=pe.useMemo(()=>({prefixCls:Ht,status:Et}),[Ht,Et]),Or=On!==null||rn.length||_t.length?pe.createElement(y.Rk.Provider,{value:ao},pe.createElement(Ge,{fieldId:$t,errors:rn,warnings:_t,help:Ot,helpStatus:Et,className:`${Mr}-explain-connected`,onVisibleChanged:Wn})):null,eo={};$t&&(eo.id=`${$t}_extra`);const Jr=Bt?pe.createElement("div",Object.assign({},eo,{className:`${Mr}-extra`,ref:Tr}),Bt):null,Wo=Or||Jr?pe.createElement("div",{className:`${Mr}-additional`,style:On?{minHeight:On+Yr}:{}},Or,Jr):null,Ko=rt&&rt.mark==="pro_table_render"&&rt.render?rt.render(gt,{input:oo,errorList:Or,extra:Jr}):pe.createElement(pe.Fragment,null,oo,Wo);return pe.createElement(y.q3.Provider,{value:Er},pe.createElement(Jt.Z,Object.assign({},to,{className:fr}),Ko),pe.createElement(bt,{prefixCls:Ht}))},Zt=E(61485),wt=E(9017),dn=E(85981),wn=E(25399),Un=function(gt,Ht){var Et={};for(var Ut in gt)Object.prototype.hasOwnProperty.call(gt,Ut)&&Ht.indexOf(Ut)<0&&(Et[Ut]=gt[Ut]);if(gt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var ot=0,Ut=Object.getOwnPropertySymbols(gt);ot<Ut.length;ot++)Ht.indexOf(Ut[ot])<0&&Object.prototype.propertyIsEnumerable.call(gt,Ut[ot])&&(Et[Ut[ot]]=gt[Ut[ot]]);return Et};function er(gt){return gt?typeof gt=="object"&&!pe.isValidElement(gt)?gt:{title:gt}:null}var Rn=gt=>{let{prefixCls:Ht,label:Et,htmlFor:Ut,labelCol:ot,labelAlign:Qt,colon:rn,required:_t,requiredMark:rt,tooltip:Bt,vertical:Ot}=gt;var $t;const[On]=(0,wt.Z)("Form"),{labelAlign:Wn,labelCol:Yn,labelWrap:Mr,colon:Hr}=pe.useContext(y.q3);if(!Et)return null;const to=ot||Yn||{},fr=Qt||Wn,Er=`${Ht}-item-label`,Tr=Ce()(Er,fr==="left"&&`${Er}-left`,to.className,{[`${Er}-wrap`]:!!Mr});let Yr=Et;const ro=rn===!0||Hr!==!1&&rn!==!1;ro&&!Ot&&typeof Et=="string"&&Et.trim()&&(Yr=Et.replace(/[:|:]\s*$/,""));const ao=er(Bt);if(ao){const{icon:rr=pe.createElement(Zt.Z,null)}=ao,Ro=Un(ao,["icon"]),ei=pe.createElement(wn.Z,Object.assign({},Ro),pe.cloneElement(rr,{className:`${Ht}-item-tooltip`,title:"",onClick:yo=>{yo.preventDefault()},tabIndex:null}));Yr=pe.createElement(pe.Fragment,null,Yr,ei)}const Or=rt==="optional",eo=typeof rt=="function",Jr=rt===!1;eo?Yr=rt(Yr,{required:!!_t}):Or&&!_t&&(Yr=pe.createElement(pe.Fragment,null,Yr,pe.createElement("span",{className:`${Ht}-item-optional`,title:""},(On==null?void 0:On.optional)||(($t=dn.Z.Form)===null||$t===void 0?void 0:$t.optional))));let Wo;Jr?Wo="hidden":(Or||eo)&&(Wo="optional");const Ko=Ce()({[`${Ht}-item-required`]:_t,[`${Ht}-item-required-mark-${Wo}`]:Wo,[`${Ht}-item-no-colon`]:!ro});return pe.createElement(Jt.Z,Object.assign({},to,{className:Tr}),pe.createElement("label",{htmlFor:Ut,className:Ko,title:typeof Et=="string"?Et:""},Yr))},Qn=E(29679),Vt=E(19248),Lt=E(96512),sn=E(58617);const an={success:Qn.Z,warning:Lt.Z,error:Vt.Z,validating:sn.Z};function tn(gt){let{children:Ht,errors:Et,warnings:Ut,hasFeedback:ot,validateStatus:Qt,prefixCls:rn,meta:_t,noStyle:rt}=gt;const Bt=`${rn}-item`,{feedbackIcons:Ot}=pe.useContext(y.q3),$t=ft(Et,Ut,_t,null,!!ot,Qt),{isFormItemInput:On,status:Wn,hasFeedback:Yn,feedbackIcon:Mr}=pe.useContext(y.aM),Hr=pe.useMemo(()=>{var to;let fr;if(ot){const Tr=ot!==!0&&ot.icons||Ot,Yr=$t&&((to=Tr==null?void 0:Tr({status:$t,errors:Et,warnings:Ut}))===null||to===void 0?void 0:to[$t]),ro=$t&&an[$t];fr=Yr!==!1&&ro?pe.createElement("span",{className:Ce()(`${Bt}-feedback-icon`,`${Bt}-feedback-icon-${$t}`)},Yr||pe.createElement(ro,null)):null}const Er={status:$t||"",errors:Et,warnings:Ut,hasFeedback:!!ot,feedbackIcon:fr,isFormItemInput:!0};return rt&&(Er.status=($t!=null?$t:Wn)||"",Er.isFormItemInput=On,Er.hasFeedback=!!(ot!=null?ot:Yn),Er.feedbackIcon=ot!==void 0?Er.feedbackIcon:Mr),Er},[$t,ot,rt,On,Wn]);return pe.createElement(y.aM.Provider,{value:Hr},Ht)}var Bn=function(gt,Ht){var Et={};for(var Ut in gt)Object.prototype.hasOwnProperty.call(gt,Ut)&&Ht.indexOf(Ut)<0&&(Et[Ut]=gt[Ut]);if(gt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var ot=0,Ut=Object.getOwnPropertySymbols(gt);ot<Ut.length;ot++)Ht.indexOf(Ut[ot])<0&&Object.prototype.propertyIsEnumerable.call(gt,Ut[ot])&&(Et[Ut[ot]]=gt[Ut[ot]]);return Et};function xn(gt){const{prefixCls:Ht,className:Et,rootClassName:Ut,style:ot,help:Qt,errors:rn,warnings:_t,validateStatus:rt,meta:Bt,hasFeedback:Ot,hidden:$t,children:On,fieldId:Wn,required:Yn,isRequired:Mr,onSubItemMetaChange:Hr,layout:to}=gt,fr=Bn(gt,["prefixCls","className","rootClassName","style","help","errors","warnings","validateStatus","meta","hasFeedback","hidden","children","fieldId","required","isRequired","onSubItemMetaChange","layout"]),Er=`${Ht}-item`,{requiredMark:Tr,vertical:Yr}=pe.useContext(y.q3),ro=Yr||to==="vertical",oo=pe.useRef(null),ao=De(rn),Or=De(_t),eo=Qt!=null,Jr=!!(eo||rn.length||_t.length),Wo=!!oo.current&&(0,en.Z)(oo.current),[Ko,rr]=pe.useState(null);(0,Kt.Z)(()=>{if(Jr&&oo.current){const vo=getComputedStyle(oo.current);rr(parseInt(vo.marginBottom,10))}},[Jr,Wo]);const Ro=vo=>{vo||rr(null)},yo=function(){let vo=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1;const ui=vo?ao:Bt.errors,yi=vo?Or:Bt.warnings;return ft(ui,yi,Bt,"",!!Ot,rt)}(),Zo=Ce()(Er,Et,Ut,{[`${Er}-with-help`]:eo||ao.length||Or.length,[`${Er}-has-feedback`]:yo&&Ot,[`${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 pe.createElement("div",{className:Zo,style:ot,ref:oo},pe.createElement(nn.Z,Object.assign({className:`${Er}-row`},(0,vn.Z)(fr,["_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"])),pe.createElement(Rn,Object.assign({htmlFor:Wn},gt,{requiredMark:Tr,required:Yn!=null?Yn:Mr,prefixCls:Ht,vertical:ro})),pe.createElement(ct,Object.assign({},gt,Bt,{errors:ao,warnings:Or,prefixCls:Ht,status:yo,help:Qt,marginBottom:Ko,onErrorVisibleChanged:Ro}),pe.createElement(y.qI.Provider,{value:Hr},pe.createElement(tn,{prefixCls:Ht,meta:Bt,errors:Bt.errors,warnings:Bt.warnings,hasFeedback:Ot,validateStatus:yo},On)))),!!Ko&&pe.createElement("div",{className:`${Er}-margin-offset`,style:{marginBottom:-Ko}}))}const jn="__SPLIT__",nr=null;function Gn(gt,Ht){const Et=Object.keys(gt),Ut=Object.keys(Ht);return Et.length===Ut.length&&Et.every(ot=>{const Qt=gt[ot],rn=Ht[ot];return Qt===rn||typeof Qt=="function"||typeof rn=="function"})}const Ln=pe.memo(gt=>{let{children:Ht}=gt;return Ht},(gt,Ht)=>Gn(gt.control,Ht.control)&>.update===Ht.update&>.childProps.length===Ht.childProps.length&>.childProps.every((Et,Ut)=>Et===Ht.childProps[Ut]));function mr(){return{errors:[],warnings:[],touched:!1,validating:!1,name:[],validated:!1}}function ir(gt){const{name:Ht,noStyle:Et,className:Ut,dependencies:ot,prefixCls:Qt,shouldUpdate:rn,rules:_t,children:rt,required:Bt,label:Ot,messageVariables:$t,trigger:On="onChange",validateTrigger:Wn,hidden:Yn,help:Mr,layout:Hr}=gt,{getPrefixCls:to}=pe.useContext(Tt.E_),{name:fr}=pe.useContext(y.q3),Er=nt(rt),Tr=typeof Er=="function",Yr=pe.useContext(y.qI),{validateTrigger:ro}=pe.useContext(lt.FieldContext),oo=Wn!==void 0?Wn:ro,ao=Ht!=null,Or=to("form",Qt),eo=(0,je.Z)(Or),[Jr,Wo,Ko]=it(Or,eo),rr=(0,vt.ln)("Form.Item"),Ro=pe.useContext(lt.ListContext),ei=pe.useRef(null),[yo,Zo]=Qe({}),[vo,ui]=(0,re.Z)(()=>mr()),yi=Je=>{const hn=Ro==null?void 0:Ro.getKey(Je.name);if(ui(Je.destroy?mr():Je,!0),Et&&Mr!==!1&&Yr){let Mt=Je.name;if(Je.destroy)Mt=ei.current||Mt;else if(hn!==void 0){const[bn,Jn]=hn;Mt=[bn].concat((0,Ae.Z)(Jn)),ei.current=Mt}Yr(Je,Mt)}},Jo=(Je,hn)=>{Zo(Mt=>{const bn=Object.assign({},Mt),Zn=[].concat((0,Ae.Z)(Je.name.slice(0,-1)),(0,Ae.Z)(hn)).join(jn);return Je.destroy?delete bn[Zn]:bn[Zn]=Je,bn})},[pi,ki]=pe.useMemo(()=>{const Je=(0,Ae.Z)(vo.errors),hn=(0,Ae.Z)(vo.warnings);return Object.values(yo).forEach(Mt=>{Je.push.apply(Je,(0,Ae.Z)(Mt.errors||[])),hn.push.apply(hn,(0,Ae.Z)(Mt.warnings||[]))}),[Je,hn]},[yo,vo.errors,vo.warnings]),Ci=st();function Oi(Je,hn,Mt){return Et&&!Yn?pe.createElement(tn,{prefixCls:Or,hasFeedback:gt.hasFeedback,validateStatus:gt.validateStatus,meta:vo,errors:pi,warnings:ki,noStyle:!0},Je):pe.createElement(xn,Object.assign({key:"row"},gt,{className:Ce()(Ut,Ko,eo,Wo),prefixCls:Or,fieldId:hn,isRequired:Mt,errors:pi,warnings:ki,meta:vo,onSubItemMetaChange:Jo,layout:Hr}),Je)}if(!ao&&!Tr&&!ot)return Jr(Oi(Er));let No={};return typeof Ot=="string"?No.label=Ot:Ht&&(No.label=String(Ht)),$t&&(No=Object.assign(Object.assign({},No),$t)),Jr(pe.createElement(lt.Field,Object.assign({},gt,{messageVariables:No,trigger:On,validateTrigger:oo,onMetaChange:yi}),(Je,hn,Mt)=>{const bn=at(Ht).length&&hn?hn.name:[],Jn=Rt(bn,fr),Zn=Bt!==void 0?Bt:!!(_t!=null&&_t.some(zn=>{if(zn&&typeof zn=="object"&&zn.required&&!zn.warningOnly)return!0;if(typeof zn=="function"){const Kn=zn(Mt);return(Kn==null?void 0:Kn.required)&&!(Kn!=null&&Kn.warningOnly)}return!1})),kn=Object.assign({},Je);let yr=null;if(Array.isArray(Er)&&ao)yr=Er;else if(!(Tr&&(!(rn||ot)||ao))){if(!(ot&&!Tr&&!ao))if(pe.isValidElement(Er)){const zn=Object.assign(Object.assign({},Er.props),kn);if(zn.id||(zn.id=Jn),Mr||pi.length>0||ki.length>0||gt.extra){const kr=[];(Mr||pi.length>0)&&kr.push(`${Jn}_help`),gt.extra&&kr.push(`${Jn}_extra`),zn["aria-describedby"]=kr.join(" ")}pi.length>0&&(zn["aria-invalid"]="true"),Zn&&(zn["aria-required"]="true"),(0,fe.Yr)(Er)&&(zn.ref=Ci(bn,Er)),new Set([].concat((0,Ae.Z)(at(On)),(0,Ae.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=kn[kr])===null||ii===void 0||(wo=ii).call.apply(wo,[kn].concat(Li)),(vi=(oi=Er.props)[kr])===null||vi===void 0||(ci=vi).call.apply(ci,[oi].concat(Li))}});const tr=[zn["aria-required"],zn["aria-invalid"],zn["aria-describedby"]];yr=pe.createElement(Ln,{control:kn,update:Er,childProps:tr},(0,Ye.Tm)(Er,zn))}else Tr&&(rn||ot)&&!ao?yr=Er(Mt):yr=Er}return Oi(yr,Jn,Zn)}))}const jr=ir;jr.useStatus=yt;var Nr=jr,Fn=function(gt,Ht){var Et={};for(var Ut in gt)Object.prototype.hasOwnProperty.call(gt,Ut)&&Ht.indexOf(Ut)<0&&(Et[Ut]=gt[Ut]);if(gt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var ot=0,Ut=Object.getOwnPropertySymbols(gt);ot<Ut.length;ot++)Ht.indexOf(Ut[ot])<0&&Object.prototype.propertyIsEnumerable.call(gt,Ut[ot])&&(Et[Ut[ot]]=gt[Ut[ot]]);return Et},cr=gt=>{var{prefixCls:Ht,children:Et}=gt,Ut=Fn(gt,["prefixCls","children"]);const{getPrefixCls:ot}=pe.useContext(Tt.E_),Qt=ot("form",Ht),rn=pe.useMemo(()=>({prefixCls:Qt,status:"error"}),[Qt]);return pe.createElement(lt.List,Object.assign({},Ut),(_t,rt,Bt)=>pe.createElement(y.Rk.Provider,{value:rn},Et(_t.map(Ot=>Object.assign(Object.assign({},Ot),{fieldKey:Ot.key})),rt,{errors:Bt.errors,warnings:Bt.warnings})))};function sr(){const{form:gt}=pe.useContext(y.q3);return gt}const kt=ve;kt.Item=Nr,kt.List=cr,kt.ErrorList=Ge,kt.useForm=Wt,kt.useFormInstance=sr,kt.useWatch=lt.useWatch,kt.Provider=y.RV,kt.create=()=>{};var qt=kt},4875:function(mn,Ct,E){"use strict";E.d(Ct,{Z:function(){return Cn}});var y=E(59301),Ae=E(84105),pe=E(87395),ze=E(92310),Ce=E.n(ze),Fe=E(60499),ge=E(18642),je=E(43749),De=E(72190),se=E(42244),Ue=E(38705),me=E(17212);function Ne(){return typeof BigInt=="function"}function we(ct){return!ct&&ct!==0&&!Number.isNaN(ct)||!String(ct).trim()}function be(ct){var Zt=ct.trim(),wt=Zt.startsWith("-");wt&&(Zt=Zt.slice(1)),Zt=Zt.replace(/(\.\d*[^0])0*$/,"$1").replace(/\.0*$/,"").replace(/^0+/,""),Zt.startsWith(".")&&(Zt="0".concat(Zt));var dn=Zt||"0",wn=dn.split("."),Un=wn[0]||"0",er=wn[1]||"0";Un==="0"&&er==="0"&&(wt=!1);var lr=wt?"-":"";return{negative:wt,negativeStr:lr,trimStr:dn,integerStr:Un,decimalStr:er,fullStr:"".concat(lr).concat(dn)}}function he(ct){var Zt=String(ct);return!Number.isNaN(Number(Zt))&&Zt.includes("e")}function ce(ct){var Zt=String(ct);if(he(ct)){var wt=Number(Zt.slice(Zt.indexOf("e-")+2)),dn=Zt.match(/\.(\d+)/);return dn!=null&&dn[1]&&(wt+=dn[1].length),wt}return Zt.includes(".")&&Ze(Zt)?Zt.length-Zt.indexOf(".")-1:0}function Ie(ct){var Zt=String(ct);if(he(ct)){if(ct>Number.MAX_SAFE_INTEGER)return String(Ne()?BigInt(ct).toString():Number.MAX_SAFE_INTEGER);if(ct<Number.MIN_SAFE_INTEGER)return String(Ne()?BigInt(ct).toString():Number.MIN_SAFE_INTEGER);Zt=ct.toFixed(ce(Zt))}return be(Zt).fullStr}function Ze(ct){return typeof ct=="number"?!Number.isNaN(ct):ct?/^\s*-?\d+(\.\d+)?\s*$/.test(ct)||/^\s*-?\d+\.\s*$/.test(ct)||/^\s*-?\.\d+\s*$/.test(ct):!1}var $e=function(){function ct(Zt){if((0,Ue.Z)(this,ct),(0,ge.Z)(this,"origin",""),(0,ge.Z)(this,"negative",void 0),(0,ge.Z)(this,"integer",void 0),(0,ge.Z)(this,"decimal",void 0),(0,ge.Z)(this,"decimalLen",void 0),(0,ge.Z)(this,"empty",void 0),(0,ge.Z)(this,"nan",void 0),we(Zt)){this.empty=!0;return}if(this.origin=String(Zt),Zt==="-"||Number.isNaN(Zt)){this.nan=!0;return}var wt=Zt;if(he(wt)&&(wt=Number(wt)),wt=typeof wt=="string"?wt:Ie(wt),Ze(wt)){var dn=be(wt);this.negative=dn.negative;var wn=dn.trimStr.split(".");this.integer=BigInt(wn[0]);var Un=wn[1]||"0";this.decimal=BigInt(Un),this.decimalLen=Un.length}else this.nan=!0}return(0,me.Z)(ct,[{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 dn="".concat(this.getMark()).concat(this.getIntegerStr()).concat(this.getDecimalStr().padEnd(wt,"0"));return BigInt(dn)}},{key:"negate",value:function(){var wt=new ct(this.toString());return wt.negative=!wt.negative,wt}},{key:"cal",value:function(wt,dn,wn){var Un=Math.max(this.getDecimalStr().length,wt.getDecimalStr().length),er=this.alignDecimal(Un),lr=wt.alignDecimal(Un),Rn=dn(er,lr).toString(),Qn=wn(Un),Vt=be(Rn),Lt=Vt.negativeStr,sn=Vt.trimStr,an="".concat(Lt).concat(sn.padStart(Qn+1,"0"));return new ct("".concat(an.slice(0,-Qn),".").concat(an.slice(-Qn)))}},{key:"add",value:function(wt){if(this.isInvalidate())return new ct(wt);var dn=new ct(wt);return dn.isInvalidate()?this:this.cal(dn,function(wn,Un){return wn+Un},function(wn){return wn})}},{key:"multi",value:function(wt){var dn=new ct(wt);return this.isInvalidate()||dn.isInvalidate()?new ct(NaN):this.cal(dn,function(wn,Un){return wn*Un},function(wn){return wn*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()?"":be("".concat(this.getMark()).concat(this.getIntegerStr(),".").concat(this.getDecimalStr())).fullStr:this.origin}}]),ct}(),oe=function(){function ct(Zt){if((0,Ue.Z)(this,ct),(0,ge.Z)(this,"origin",""),(0,ge.Z)(this,"number",void 0),(0,ge.Z)(this,"empty",void 0),we(Zt)){this.empty=!0;return}this.origin=String(Zt),this.number=Number(Zt)}return(0,me.Z)(ct,[{key:"negate",value:function(){return new ct(-this.toNumber())}},{key:"add",value:function(wt){if(this.isInvalidate())return new ct(wt);var dn=Number(wt);if(Number.isNaN(dn))return this;var wn=this.number+dn;if(wn>Number.MAX_SAFE_INTEGER)return new ct(Number.MAX_SAFE_INTEGER);if(wn<Number.MIN_SAFE_INTEGER)return new ct(Number.MIN_SAFE_INTEGER);var Un=Math.max(ce(this.number),ce(dn));return new ct(wn.toFixed(Un))}},{key:"multi",value:function(wt){var dn=Number(wt);if(this.isInvalidate()||Number.isNaN(dn))return new ct(NaN);var wn=this.number*dn;if(wn>Number.MAX_SAFE_INTEGER)return new ct(Number.MAX_SAFE_INTEGER);if(wn<Number.MIN_SAFE_INTEGER)return new ct(Number.MIN_SAFE_INTEGER);var Un=Math.max(ce(this.number),ce(dn));return new ct(wn.toFixed(Un))}},{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()?"":Ie(this.number):this.origin}}]),ct}();function Be(ct){return Ne()?new $e(ct):new oe(ct)}function tt(ct,Zt,wt){var dn=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!1;if(ct==="")return"";var wn=be(ct),Un=wn.negativeStr,er=wn.integerStr,lr=wn.decimalStr,Rn="".concat(Zt).concat(lr),Qn="".concat(Un).concat(er);if(wt>=0){var Vt=Number(lr[wt]);if(Vt>=5&&!dn){var Lt=Be(ct).add("".concat(Un,"0.").concat("0".repeat(wt)).concat(10-Vt));return tt(Lt.toString(),Zt,wt,dn)}return wt===0?Qn:"".concat(Qn).concat(Zt).concat(lr.padEnd(wt,"0").slice(0,wt))}return Rn===".0"?Qn:"".concat(Qn).concat(Rn)}var Re=Be,_e=E(36901),ye=E(34280);function Le(ct,Zt){return typeof Proxy!="undefined"&&ct?new Proxy(ct,{get:function(dn,wn){if(Zt[wn])return Zt[wn];var Un=dn[wn];return typeof Un=="function"?Un.bind(dn):Un}}):ct}var Ve=E(8654),Pe=E(48736);function it(ct,Zt){var wt=(0,y.useRef)(null);function dn(){try{var Un=ct.selectionStart,er=ct.selectionEnd,lr=ct.value,Rn=lr.substring(0,Un),Qn=lr.substring(er);wt.current={start:Un,end:er,value:lr,beforeTxt:Rn,afterTxt:Qn}}catch(Vt){}}function wn(){if(ct&&wt.current&&Zt)try{var Un=ct.value,er=wt.current,lr=er.beforeTxt,Rn=er.afterTxt,Qn=er.start,Vt=Un.length;if(Un.startsWith(lr))Vt=lr.length;else if(Un.endsWith(Rn))Vt=Un.length-wt.current.afterTxt.length;else{var Lt=lr[Qn-1],sn=Un.indexOf(Lt,Qn-1);sn!==-1&&(Vt=sn+1)}ct.setSelectionRange(Vt,Vt)}catch(an){(0,Pe.ZP)(!1,"Something warning of cursor restore. Please fire issue about this: ".concat(an.message))}}return[dn,wn]}var Oe=E(49658),ue=function(){var Zt=(0,y.useState)(!1),wt=(0,De.Z)(Zt,2),dn=wt[0],wn=wt[1];return(0,ye.Z)(function(){wn((0,Oe.Z)())},[]),dn},Xe=ue,Ge=E(16089),lt=200,Tt=600;function Ke(ct){var Zt=ct.prefixCls,wt=ct.upNode,dn=ct.downNode,wn=ct.upDisabled,Un=ct.downDisabled,er=ct.onStep,lr=y.useRef(),Rn=y.useRef([]),Qn=y.useRef();Qn.current=er;var Vt=function(){clearTimeout(lr.current)},Lt=function(Gn,Ln){Gn.preventDefault(),Vt(),Qn.current(Ln);function mr(){Qn.current(Ln),lr.current=setTimeout(mr,lt)}lr.current=setTimeout(mr,Tt)};y.useEffect(function(){return function(){Vt(),Rn.current.forEach(function(nr){return Ge.Z.cancel(nr)})}},[]);var sn=Xe();if(sn)return null;var an="".concat(Zt,"-handler"),tn=Ce()(an,"".concat(an,"-up"),(0,ge.Z)({},"".concat(an,"-up-disabled"),wn)),Bn=Ce()(an,"".concat(an,"-down"),(0,ge.Z)({},"".concat(an,"-down-disabled"),Un)),xn=function(){return Rn.current.push((0,Ge.Z)(Vt))},jn={unselectable:"on",role:"button",onMouseUp:xn,onMouseLeave:xn};return y.createElement("div",{className:"".concat(an,"-wrap")},y.createElement("span",(0,Fe.Z)({},jn,{onMouseDown:function(Gn){Lt(Gn,!0)},"aria-label":"Increase Value","aria-disabled":wn,className:tn}),wt||y.createElement("span",{unselectable:"on",className:"".concat(Zt,"-handler-up-inner")})),y.createElement("span",(0,Fe.Z)({},jn,{onMouseDown:function(Gn){Lt(Gn,!1)},"aria-label":"Decrease Value","aria-disabled":Un,className:Bn}),dn||y.createElement("span",{unselectable:"on",className:"".concat(Zt,"-handler-down-inner")})))}function Se(ct){var Zt=typeof ct=="number"?Ie(ct):be(ct).fullStr,wt=Zt.includes(".");return wt?be(Zt.replace(/(\d)\.(\d)/g,"$1$2.")).fullStr:ct+"0"}var Ft=E(30292),It=function(){var ct=(0,y.useRef)(0),Zt=function(){Ge.Z.cancel(ct.current)};return(0,y.useEffect)(function(){return Zt},[]),function(wt){Zt(),ct.current=(0,Ge.Z)(function(){wt()})}},ut=["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"],xe=["disabled","style","prefixCls","value","prefix","suffix","addonBefore","addonAfter","className","classNames"],ke=function(Zt,wt){return Zt||wt.isEmpty()?wt.toString():wt.toNumber()},at=function(Zt){var wt=Re(Zt);return wt.isInvalidate()?null:wt},Rt=y.forwardRef(function(ct,Zt){var wt=ct.prefixCls,dn=ct.className,wn=ct.style,Un=ct.min,er=ct.max,lr=ct.step,Rn=lr===void 0?1:lr,Qn=ct.defaultValue,Vt=ct.value,Lt=ct.disabled,sn=ct.readOnly,an=ct.upHandler,tn=ct.downHandler,Bn=ct.keyboard,xn=ct.changeOnWheel,jn=xn===void 0?!1:xn,nr=ct.controls,Gn=nr===void 0?!0:nr,Ln=ct.classNames,mr=ct.stringMode,ir=ct.parser,jr=ct.formatter,Nr=ct.precision,Fn=ct.decimalSeparator,Nn=ct.onChange,cr=ct.onInput,sr=ct.onPressEnter,kt=ct.onStep,qt=ct.changeOnBlur,gt=qt===void 0?!0:qt,Ht=ct.domRef,Et=(0,se.Z)(ct,ut),Ut="".concat(wt,"-input"),ot=y.useRef(null),Qt=y.useState(!1),rn=(0,De.Z)(Qt,2),_t=rn[0],rt=rn[1],Bt=y.useRef(!1),Ot=y.useRef(!1),$t=y.useRef(!1),On=y.useState(function(){return Re(Vt!=null?Vt:Qn)}),Wn=(0,De.Z)(On,2),Yn=Wn[0],Mr=Wn[1];function Hr(Jn){Vt===void 0&&Mr(Jn)}var to=y.useCallback(function(Jn,Zn){if(!Zn)return Nr>=0?Nr:Math.max(ce(Jn),ce(Rn))},[Nr,Rn]),fr=y.useCallback(function(Jn){var Zn=String(Jn);if(ir)return ir(Zn);var kn=Zn;return Fn&&(kn=kn.replace(Fn,".")),kn.replace(/[^\w.-]+/g,"")},[ir,Fn]),Er=y.useRef(""),Tr=y.useCallback(function(Jn,Zn){if(jr)return jr(Jn,{userTyping:Zn,input:String(Er.current)});var kn=typeof Jn=="number"?Ie(Jn):Jn;if(!Zn){var yr=to(kn,Zn);if(Ze(kn)&&(Fn||yr>=0)){var zn=Fn||".";kn=tt(kn,zn,yr)}}return kn},[jr,to,Fn]),Yr=y.useState(function(){var Jn=Qn!=null?Qn:Vt;return Yn.isInvalidate()&&["string","number"].includes((0,je.Z)(Jn))?Number.isNaN(Jn)?"":Jn:Tr(Yn.toString(),!1)}),ro=(0,De.Z)(Yr,2),oo=ro[0],ao=ro[1];Er.current=oo;function Or(Jn,Zn){ao(Tr(Jn.isInvalidate()?Jn.toString(!1):Jn.toString(!Zn),Zn))}var eo=y.useMemo(function(){return at(er)},[er,Nr]),Jr=y.useMemo(function(){return at(Un)},[Un,Nr]),Wo=y.useMemo(function(){return!eo||!Yn||Yn.isInvalidate()?!1:eo.lessEquals(Yn)},[eo,Yn]),Ko=y.useMemo(function(){return!Jr||!Yn||Yn.isInvalidate()?!1:Yn.lessEquals(Jr)},[Jr,Yn]),rr=it(ot.current,_t),Ro=(0,De.Z)(rr,2),ei=Ro[0],yo=Ro[1],Zo=function(Zn){return eo&&!Zn.lessEquals(eo)?eo:Jr&&!Jr.lessEquals(Zn)?Jr:null},vo=function(Zn){return!Zo(Zn)},ui=function(Zn,kn){var yr=Zn,zn=vo(yr)||yr.isEmpty();if(!yr.isEmpty()&&!kn&&(yr=Zo(yr)||yr,zn=!0),!sn&&!Lt&&zn){var Kn=yr.toString(),tr=to(Kn,kn);return tr>=0&&(yr=Re(tt(Kn,".",tr)),vo(yr)||(yr=Re(tt(Kn,".",tr,!0)))),yr.equals(Yn)||(Hr(yr),Nn==null||Nn(yr.isEmpty()?null:ke(mr,yr)),Vt===void 0&&Or(yr,kn)),yr}return Yn},yi=It(),Jo=function Jn(Zn){if(ei(),Er.current=Zn,ao(Zn),!Ot.current){var kn=fr(Zn),yr=Re(kn);yr.isNaN()||ui(yr,!0)}cr==null||cr(Zn),yi(function(){var zn=Zn;ir||(zn=Zn.replace(/。/g,".")),zn!==Zn&&Jn(zn)})},pi=function(){Ot.current=!0},ki=function(){Ot.current=!1,Jo(ot.current.value)},Ci=function(Zn){Jo(Zn.target.value)},Oi=function(Zn){var kn;if(!(Zn&&Wo||!Zn&&Ko)){Bt.current=!1;var yr=Re($t.current?Se(Rn):Rn);Zn||(yr=yr.negate());var zn=(Yn||Re(0)).add(yr.toString()),Kn=ui(zn,!1);kt==null||kt(ke(mr,Kn),{offset:$t.current?Se(Rn):Rn,type:Zn?"up":"down"}),(kn=ot.current)===null||kn===void 0||kn.focus()}},No=function(Zn){var kn=Re(fr(oo)),yr;kn.isNaN()?yr=ui(Yn,Zn):yr=ui(kn,Zn),Vt!==void 0?Or(Yn,!1):yr.isNaN()||Or(yr,!1)},Je=function(){Bt.current=!0},hn=function(Zn){var kn=Zn.key,yr=Zn.shiftKey;Bt.current=!0,$t.current=yr,kn==="Enter"&&(Ot.current||(Bt.current=!1),No(!1),sr==null||sr(Zn)),Bn!==!1&&!Ot.current&&["Up","ArrowUp","Down","ArrowDown"].includes(kn)&&(Oi(kn==="Up"||kn==="ArrowUp"),Zn.preventDefault())},Mt=function(){Bt.current=!1,$t.current=!1};y.useEffect(function(){if(jn&&_t){var Jn=function(yr){Oi(yr.deltaY<0),yr.preventDefault()},Zn=ot.current;if(Zn)return Zn.addEventListener("wheel",Jn,{passive:!1}),function(){return Zn.removeEventListener("wheel",Jn)}}});var bn=function(){gt&&No(!1),rt(!1),Bt.current=!1};return(0,ye.o)(function(){Yn.isInvalidate()||Or(Yn,!1)},[Nr,jr]),(0,ye.o)(function(){var Jn=Re(Vt);Mr(Jn);var Zn=Re(fr(oo));(!Jn.equals(Zn)||!Bt.current||jr)&&Or(Jn,Bt.current)},[Vt]),(0,ye.o)(function(){jr&&yo()},[oo]),y.createElement("div",{ref:Ht,className:Ce()(wt,dn,(0,ge.Z)((0,ge.Z)((0,ge.Z)((0,ge.Z)((0,ge.Z)({},"".concat(wt,"-focused"),_t),"".concat(wt,"-disabled"),Lt),"".concat(wt,"-readonly"),sn),"".concat(wt,"-not-a-number"),Yn.isNaN()),"".concat(wt,"-out-of-range"),!Yn.isInvalidate()&&!vo(Yn))),style:wn,onFocus:function(){rt(!0)},onBlur:bn,onKeyDown:hn,onKeyUp:Mt,onCompositionStart:pi,onCompositionEnd:ki,onBeforeInput:Je},Gn&&y.createElement(Ke,{prefixCls:wt,upNode:an,downNode:tn,upDisabled:Wo,downDisabled:Ko,onStep:Oi}),y.createElement("div",{className:"".concat(Ut,"-wrap")},y.createElement("input",(0,Fe.Z)({autoComplete:"off",role:"spinbutton","aria-valuemin":Un,"aria-valuemax":er,"aria-valuenow":Yn.isInvalidate()?null:Yn.toString(),step:Rn},Et,{ref:(0,Ve.sQ)(ot,Zt),className:Ut,value:oo,onChange:Ci,disabled:Lt,readOnly:sn}))))}),ft=y.forwardRef(function(ct,Zt){var wt=ct.disabled,dn=ct.style,wn=ct.prefixCls,Un=wn===void 0?"rc-input-number":wn,er=ct.value,lr=ct.prefix,Rn=ct.suffix,Qn=ct.addonBefore,Vt=ct.addonAfter,Lt=ct.className,sn=ct.classNames,an=(0,se.Z)(ct,xe),tn=y.useRef(null),Bn=y.useRef(null),xn=y.useRef(null),jn=function(Gn){xn.current&&(0,Ft.nH)(xn.current,Gn)};return y.useImperativeHandle(Zt,function(){return Le(xn.current,{focus:jn,nativeElement:tn.current.nativeElement||Bn.current})}),y.createElement(_e.BaseInput,{className:Lt,triggerFocus:jn,prefixCls:Un,value:er,disabled:wt,style:dn,prefix:lr,suffix:Rn,addonAfter:Vt,addonBefore:Qn,classNames:sn,components:{affixWrapper:"div",groupWrapper:"div",wrapper:"div",groupAddon:"div"},ref:tn},y.createElement(Rt,(0,Fe.Z)({prefixCls:Un,disabled:wt,ref:xn,domRef:Bn,className:sn==null?void 0:sn.input},an)))}),Nt=ft,xt=Nt,Xt=E(62487),Wt=E(82855),de=E(48755),ne=E(60840),te=E(2171),le=E(83397),ve=E(31756),re=E(56553),fe=E(24971),Ye=E(70045),vt=E(36237),et=E(53075),nt=E(64910),mt=E(39082),yt=E(63356),St=E(56119),Qe=E(16931),st=E(51636),en=E(17835);const Kt=ct=>{var Zt;const wt=(Zt=ct.handleVisible)!==null&&Zt!==void 0?Zt:"auto",dn=ct.controlHeightSM-ct.lineWidth*2;return Object.assign(Object.assign({},(0,nt.T)(ct)),{controlWidth:90,handleWidth:dn,handleFontSize:ct.fontSize/2,handleVisible:wt,handleActiveBg:ct.colorFillAlter,handleBg:ct.colorBgContainer,filledHandleBg:new en.FastColor(ct.colorFillSecondary).onBackground(ct.colorBgContainer).toHexString(),handleHoverColor:ct.colorPrimary,handleBorderColor:ct.colorBorder,handleOpacity:wt===!0?1:0,handleVisibleWidth:wt===!0?dn:0})},vn=(ct,Zt)=>{let{componentCls:wt,borderRadiusSM:dn,borderRadiusLG:wn}=ct;const Un=Zt==="lg"?wn:dn;return{[`&-${Zt}`]:{[`${wt}-handler-wrap`]:{borderStartEndRadius:Un,borderEndEndRadius:Un},[`${wt}-handler-up`]:{borderStartEndRadius:Un},[`${wt}-handler-down`]:{borderEndEndRadius:Un}}}},nn=ct=>{const{componentCls:Zt,lineWidth:wt,lineType:dn,borderRadius:wn,inputFontSizeSM:Un,inputFontSizeLG:er,controlHeightLG:lr,controlHeightSM:Rn,colorError:Qn,paddingInlineSM:Vt,paddingBlockSM:Lt,paddingBlockLG:sn,paddingInlineLG:an,colorTextDescription:tn,motionDurationMid:Bn,handleHoverColor:xn,handleOpacity:jn,paddingInline:nr,paddingBlock:Gn,handleBg:Ln,handleActiveBg:mr,colorTextDisabled:ir,borderRadiusSM:jr,borderRadiusLG:Nr,controlWidth:Fn,handleBorderColor:Nn,filledHandleBg:cr,lineHeightLG:sr,calc:kt}=ct;return[{[Zt]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},(0,yt.Wf)(ct)),(0,et.ik)(ct)),{display:"inline-block",width:Fn,margin:0,padding:0,borderRadius:wn}),(0,mt.qG)(ct,{[`${Zt}-handler-wrap`]:{background:Ln,[`${Zt}-handler-down`]:{borderBlockStart:`${(0,vt.unit)(wt)} ${dn} ${Nn}`}}})),(0,mt.H8)(ct,{[`${Zt}-handler-wrap`]:{background:cr,[`${Zt}-handler-down`]:{borderBlockStart:`${(0,vt.unit)(wt)} ${dn} ${Nn}`}},"&:focus-within":{[`${Zt}-handler-wrap`]:{background:Ln}}})),(0,mt.vc)(ct,{[`${Zt}-handler-wrap`]:{background:Ln,[`${Zt}-handler-down`]:{borderBlockStart:`${(0,vt.unit)(wt)} ${dn} ${Nn}`}}})),(0,mt.Mu)(ct)),{"&-rtl":{direction:"rtl",[`${Zt}-input`]:{direction:"rtl"}},"&-lg":{padding:0,fontSize:er,lineHeight:sr,borderRadius:Nr,[`input${Zt}-input`]:{height:kt(lr).sub(kt(wt).mul(2)).equal(),padding:`${(0,vt.unit)(sn)} ${(0,vt.unit)(an)}`}},"&-sm":{padding:0,fontSize:Un,borderRadius:jr,[`input${Zt}-input`]:{height:kt(Rn).sub(kt(wt).mul(2)).equal(),padding:`${(0,vt.unit)(Lt)} ${(0,vt.unit)(Vt)}`}},"&-out-of-range":{[`${Zt}-input-wrap`]:{input:{color:Qn}}},"&-group":Object.assign(Object.assign(Object.assign({},(0,yt.Wf)(ct)),(0,et.s7)(ct)),{"&-wrapper":Object.assign(Object.assign(Object.assign({display:"inline-block",textAlign:"start",verticalAlign:"top",[`${Zt}-affix-wrapper`]:{width:"100%"},"&-lg":{[`${Zt}-group-addon`]:{borderRadius:Nr,fontSize:ct.fontSizeLG}},"&-sm":{[`${Zt}-group-addon`]:{borderRadius:jr}}},(0,mt.ir)(ct)),(0,mt.S5)(ct)),{[`&:not(${Zt}-compact-first-item):not(${Zt}-compact-last-item)${Zt}-compact-item`]:{[`${Zt}, ${Zt}-group-addon`]:{borderRadius:0}},[`&:not(${Zt}-compact-last-item)${Zt}-compact-first-item`]:{[`${Zt}, ${Zt}-group-addon`]:{borderStartEndRadius:0,borderEndEndRadius:0}},[`&:not(${Zt}-compact-first-item)${Zt}-compact-last-item`]:{[`${Zt}, ${Zt}-group-addon`]:{borderStartStartRadius:0,borderEndStartRadius:0}}})}),[`&-disabled ${Zt}-input`]:{cursor:"not-allowed"},[Zt]:{"&-input":Object.assign(Object.assign(Object.assign(Object.assign({},(0,yt.Wf)(ct)),{width:"100%",padding:`${(0,vt.unit)(Gn)} ${(0,vt.unit)(nr)}`,textAlign:"start",backgroundColor:"transparent",border:0,borderRadius:wn,outline:0,transition:`all ${Bn} linear`,appearance:"textfield",fontSize:"inherit"}),(0,et.nz)(ct.colorTextPlaceholder)),{'&[type="number"]::-webkit-inner-spin-button, &[type="number"]::-webkit-outer-spin-button':{margin:0,appearance:"none"}})},[`&:hover ${Zt}-handler-wrap, &-focused ${Zt}-handler-wrap`]:{width:ct.handleWidth,opacity:1}})},{[Zt]:Object.assign(Object.assign(Object.assign({[`${Zt}-handler-wrap`]:{position:"absolute",insetBlockStart:0,insetInlineEnd:0,width:ct.handleVisibleWidth,opacity:jn,height:"100%",borderStartStartRadius:0,borderStartEndRadius:wn,borderEndEndRadius:wn,borderEndStartRadius:0,display:"flex",flexDirection:"column",alignItems:"stretch",transition:`all ${Bn}`,overflow:"hidden",[`${Zt}-handler`]:{display:"flex",alignItems:"center",justifyContent:"center",flex:"auto",height:"40%",[`
|
|
|
${Zt}-handler-up-inner,
|
|
|
${Zt}-handler-down-inner
|
|
|
`]:{marginInlineEnd:0,fontSize:ct.handleFontSize}}},[`${Zt}-handler`]:{height:"50%",overflow:"hidden",color:tn,fontWeight:"bold",lineHeight:0,textAlign:"center",cursor:"pointer",borderInlineStart:`${(0,vt.unit)(wt)} ${dn} ${Nn}`,transition:`all ${Bn} linear`,"&:active":{background:mr},"&:hover":{height:"60%",[`
|
|
|
${Zt}-handler-up-inner,
|
|
|
${Zt}-handler-down-inner
|
|
|
`]:{color:xn}},"&-up-inner, &-down-inner":Object.assign(Object.assign({},(0,yt.Ro)()),{color:tn,transition:`all ${Bn} linear`,userSelect:"none"})},[`${Zt}-handler-up`]:{borderStartEndRadius:wn},[`${Zt}-handler-down`]:{borderEndEndRadius:wn}},vn(ct,"lg")),vn(ct,"sm")),{"&-disabled, &-readonly":{[`${Zt}-handler-wrap`]:{display:"none"},[`${Zt}-input`]:{color:"inherit"}},[`
|
|
|
${Zt}-handler-up-disabled,
|
|
|
${Zt}-handler-down-disabled
|
|
|
`]:{cursor:"not-allowed"},[`
|
|
|
${Zt}-handler-up-disabled:hover &-handler-up-inner,
|
|
|
${Zt}-handler-down-disabled:hover &-handler-down-inner
|
|
|
`]:{color:ir}})}]},Yt=ct=>{const{componentCls:Zt,paddingBlock:wt,paddingInline:dn,inputAffixPadding:wn,controlWidth:Un,borderRadiusLG:er,borderRadiusSM:lr,paddingInlineLG:Rn,paddingInlineSM:Qn,paddingBlockLG:Vt,paddingBlockSM:Lt,motionDurationMid:sn}=ct;return{[`${Zt}-affix-wrapper`]:Object.assign(Object.assign({[`input${Zt}-input`]:{padding:`${(0,vt.unit)(wt)} 0`}},(0,et.ik)(ct)),{position:"relative",display:"inline-flex",alignItems:"center",width:Un,padding:0,paddingInlineStart:dn,"&-lg":{borderRadius:er,paddingInlineStart:Rn,[`input${Zt}-input`]:{padding:`${(0,vt.unit)(Vt)} 0`}},"&-sm":{borderRadius:lr,paddingInlineStart:Qn,[`input${Zt}-input`]:{padding:`${(0,vt.unit)(Lt)} 0`}},[`&:not(${Zt}-disabled):hover`]:{zIndex:1},"&-focused, &:focus":{zIndex:1},[`&-disabled > ${Zt}-disabled`]:{background:"transparent"},[`> div${Zt}`]:{width:"100%",border:"none",outline:"none",[`&${Zt}-focused`]:{boxShadow:"none !important"}},"&::before":{display:"inline-block",width:0,visibility:"hidden",content:'"\\a0"'},[`${Zt}-handler-wrap`]:{zIndex:2},[Zt]:{position:"static",color:"inherit","&-prefix, &-suffix":{display:"flex",flex:"none",alignItems:"center",pointerEvents:"none"},"&-prefix":{marginInlineEnd:wn},"&-suffix":{insetBlockStart:0,insetInlineEnd:0,height:"100%",marginInlineEnd:dn,marginInlineStart:wn,transition:`margin ${sn}`}},[`&:hover ${Zt}-handler-wrap, &-focused ${Zt}-handler-wrap`]:{width:ct.handleWidth,opacity:1},[`&:not(${Zt}-affix-wrapper-without-controls):hover ${Zt}-suffix`]:{marginInlineEnd:ct.calc(ct.handleWidth).add(dn).equal()}})}};var Jt=(0,Qe.I$)("InputNumber",ct=>{const Zt=(0,st.mergeToken)(ct,(0,nt.e)(ct));return[nn(Zt),Yt(Zt),(0,St.c)(Zt)]},Kt,{unitless:{handleOpacity:!0}}),cn=function(ct,Zt){var wt={};for(var dn in ct)Object.prototype.hasOwnProperty.call(ct,dn)&&Zt.indexOf(dn)<0&&(wt[dn]=ct[dn]);if(ct!=null&&typeof Object.getOwnPropertySymbols=="function")for(var wn=0,dn=Object.getOwnPropertySymbols(ct);wn<dn.length;wn++)Zt.indexOf(dn[wn])<0&&Object.prototype.propertyIsEnumerable.call(ct,dn[wn])&&(wt[dn[wn]]=ct[dn[wn]]);return wt};const bt=y.forwardRef((ct,Zt)=>{const{getPrefixCls:wt,direction:dn}=y.useContext(de.E_),wn=y.useRef(null);y.useImperativeHandle(Zt,()=>wn.current);const{className:Un,rootClassName:er,size:lr,disabled:Rn,prefixCls:Qn,addonBefore:Vt,addonAfter:Lt,prefix:sn,suffix:an,bordered:tn,readOnly:Bn,status:xn,controls:jn,variant:nr}=ct,Gn=cn(ct,["className","rootClassName","size","disabled","prefixCls","addonBefore","addonAfter","prefix","suffix","bordered","readOnly","status","controls","variant"]),Ln=wt("input-number",Qn),mr=(0,le.Z)(Ln),[ir,jr,Nr]=Jt(Ln,mr),{compactSize:Fn,compactItemClassnames:Nn}=(0,Ye.ri)(Ln,dn);let cr=y.createElement(pe.Z,{className:`${Ln}-handler-up-inner`}),sr=y.createElement(Ae.Z,{className:`${Ln}-handler-down-inner`});const kt=typeof jn=="boolean"?jn:void 0;typeof jn=="object"&&(cr=typeof jn.upIcon=="undefined"?cr:y.createElement("span",{className:`${Ln}-handler-up-inner`},jn.upIcon),sr=typeof jn.downIcon=="undefined"?sr:y.createElement("span",{className:`${Ln}-handler-down-inner`},jn.downIcon));const{hasFeedback:qt,status:gt,isFormItemInput:Ht,feedbackIcon:Et}=y.useContext(re.aM),Ut=(0,Wt.F)(gt,xn),ot=(0,ve.Z)(Wn=>{var Yn;return(Yn=lr!=null?lr:Fn)!==null&&Yn!==void 0?Yn:Wn}),Qt=y.useContext(te.Z),rn=Rn!=null?Rn:Qt,[_t,rt]=(0,fe.Z)("inputNumber",nr,tn),Bt=qt&&y.createElement(y.Fragment,null,Et),Ot=Ce()({[`${Ln}-lg`]:ot==="large",[`${Ln}-sm`]:ot==="small",[`${Ln}-rtl`]:dn==="rtl",[`${Ln}-in-form-item`]:Ht},jr),$t=`${Ln}-group`,On=y.createElement(xt,Object.assign({ref:wn,disabled:rn,className:Ce()(Nr,mr,Un,er,Nn),upHandler:cr,downHandler:sr,prefixCls:Ln,readOnly:Bn,controls:kt,prefix:sn,suffix:Bt||an,addonBefore:Vt&&y.createElement(Xt.Z,{form:!0,space:!0},Vt),addonAfter:Lt&&y.createElement(Xt.Z,{form:!0,space:!0},Lt),classNames:{input:Ot,variant:Ce()({[`${Ln}-${_t}`]:rt},(0,Wt.Z)(Ln,Ut,qt)),affixWrapper:Ce()({[`${Ln}-affix-wrapper-sm`]:ot==="small",[`${Ln}-affix-wrapper-lg`]:ot==="large",[`${Ln}-affix-wrapper-rtl`]:dn==="rtl",[`${Ln}-affix-wrapper-without-controls`]:jn===!1||rn},jr),wrapper:Ce()({[`${$t}-rtl`]:dn==="rtl"},jr),groupWrapper:Ce()({[`${Ln}-group-wrapper-sm`]:ot==="small",[`${Ln}-group-wrapper-lg`]:ot==="large",[`${Ln}-group-wrapper-rtl`]:dn==="rtl",[`${Ln}-group-wrapper-${_t}`]:rt},(0,Wt.Z)(`${Ln}-group-wrapper`,Ut,qt),jr)}},Gn));return ir(On)}),zt=bt,un=ct=>y.createElement(ne.ZP,{theme:{components:{InputNumber:{handleVisible:!0}}}},y.createElement(bt,Object.assign({},ct)));zt._InternalPanelDoNotUseOrYouWillBeFired=un;var Cn=zt},49397:function(mn,Ct,E){"use strict";E.d(Ct,{Z:function(){return oe}});var y=E(59301),Ae=E(92310),pe=E.n(Ae),ze=E(36901),Ce=E(8654),Fe=E(62487),ge=E(86013),je=E(82855),De=E(48755),se=E(2171),Ue=E(83397),me=E(31756),Ne=E(56553),we=E(24971),be=E(70045),he=E(23826),ce=E(53075);function Ie(Be){return!!(Be.prefix||Be.suffix||Be.allowClear||Be.showCount)}var Ze=function(Be,tt){var Re={};for(var _e in Be)Object.prototype.hasOwnProperty.call(Be,_e)&&tt.indexOf(_e)<0&&(Re[_e]=Be[_e]);if(Be!=null&&typeof Object.getOwnPropertySymbols=="function")for(var ye=0,_e=Object.getOwnPropertySymbols(Be);ye<_e.length;ye++)tt.indexOf(_e[ye])<0&&Object.prototype.propertyIsEnumerable.call(Be,_e[ye])&&(Re[_e[ye]]=Be[_e[ye]]);return Re},oe=(0,y.forwardRef)((Be,tt)=>{const{prefixCls:Re,bordered:_e=!0,status:ye,size:Le,disabled:Ve,onBlur:Pe,onFocus:it,suffix:Oe,allowClear:ue,addonAfter:Xe,addonBefore:Ge,className:lt,style:Tt,styles:Ke,rootClassName:Se,onChange:Ft,classNames:It,variant:ut}=Be,xe=Ze(Be,["prefixCls","bordered","status","size","disabled","onBlur","onFocus","suffix","allowClear","addonAfter","addonBefore","className","style","styles","rootClassName","onChange","classNames","variant"]),{getPrefixCls:ke,direction:at,allowClear:Rt,autoComplete:ft,className:Nt,style:xt,classNames:Xt,styles:Wt}=(0,De.dj)("input"),de=ke("input",Re),ne=(0,y.useRef)(null),te=(0,Ue.Z)(de),[le,ve,re]=(0,ce.TI)(de,Se),[fe]=(0,ce.ZP)(de,te),{compactSize:Ye,compactItemClassnames:vt}=(0,be.ri)(de,at),et=(0,me.Z)(Cn=>{var ct;return(ct=Le!=null?Le:Ye)!==null&&ct!==void 0?ct:Cn}),nt=y.useContext(se.Z),mt=Ve!=null?Ve:nt,{status:yt,hasFeedback:St,feedbackIcon:Qe}=(0,y.useContext)(Ne.aM),st=(0,je.F)(yt,ye),en=Ie(Be)||!!St,Kt=(0,y.useRef)(en),vn=(0,he.Z)(ne,!0),nn=Cn=>{vn(),Pe==null||Pe(Cn)},Yt=Cn=>{vn(),it==null||it(Cn)},Jt=Cn=>{vn(),Ft==null||Ft(Cn)},cn=(St||Oe)&&y.createElement(y.Fragment,null,Oe,St&&Qe),bt=(0,ge.Z)(ue!=null?ue:Rt),[zt,un]=(0,we.Z)("input",ut,_e);return le(fe(y.createElement(ze.default,Object.assign({ref:(0,Ce.sQ)(tt,ne),prefixCls:de,autoComplete:ft},xe,{disabled:mt,onBlur:nn,onFocus:Yt,style:Object.assign(Object.assign({},xt),Tt),styles:Object.assign(Object.assign({},Wt),Ke),suffix:cn,allowClear:bt,className:pe()(lt,Se,re,te,vt,Nt),onChange:Jt,addonBefore:Ge&&y.createElement(Fe.Z,{form:!0,space:!0},Ge),addonAfter:Xe&&y.createElement(Fe.Z,{form:!0,space:!0},Xe),classNames:Object.assign(Object.assign(Object.assign({},It),Xt),{input:pe()({[`${de}-sm`]:et==="small",[`${de}-lg`]:et==="large",[`${de}-rtl`]:at==="rtl"},It==null?void 0:It.input,Xt.input,ve),variant:pe()({[`${de}-${zt}`]:un},(0,je.Z)(de,st)),affixWrapper:pe()({[`${de}-affix-wrapper-sm`]:et==="small",[`${de}-affix-wrapper-lg`]:et==="large",[`${de}-affix-wrapper-rtl`]:at==="rtl"},ve),wrapper:pe()({[`${de}-group-rtl`]:at==="rtl"},ve),groupWrapper:pe()({[`${de}-group-wrapper-sm`]:et==="small",[`${de}-group-wrapper-lg`]:et==="large",[`${de}-group-wrapper-rtl`]:at==="rtl",[`${de}-group-wrapper-${zt}`]:un},(0,je.Z)(`${de}-group-wrapper`,st,St),ve)})}))))})},79809:function(mn,Ct,E){"use strict";E.d(Ct,{Z:function(){return tt}});var y=E(59301),Ae=E(92310),pe=E.n(Ae),ze=E(22711),Ce=E(86013),Fe=E(82855),ge=E(48755),je=E(2171),De=E(83397),se=E(31756),Ue=E(56553),me=E(24971),Ne=E(70045),we=E(30292),be=E(53075),he=E(16931),ce=E(51636),Ie=E(64910);const Ze=Re=>{const{componentCls:_e,paddingLG:ye}=Re,Le=`${_e}-textarea`;return{[`textarea${_e}`]:{maxWidth:"100%",height:"auto",minHeight:Re.controlHeight,lineHeight:Re.lineHeight,verticalAlign:"bottom",transition:`all ${Re.motionDurationSlow}`,resize:"vertical",[`&${_e}-mouse-active`]:{transition:`all ${Re.motionDurationSlow}, height 0s, width 0s`}},[`${_e}-textarea-affix-wrapper-resize-dirty`]:{width:"auto"},[Le]:{position:"relative","&-show-count":{[`> ${_e}`]:{height:"100%"},[`${_e}-data-count`]:{position:"absolute",bottom:Re.calc(Re.fontSize).mul(Re.lineHeight).mul(-1).equal(),insetInlineEnd:0,color:Re.colorTextDescription,whiteSpace:"nowrap",pointerEvents:"none"}},[`
|
|
|
&-allow-clear > ${_e},
|
|
|
&-affix-wrapper${Le}-has-feedback ${_e}
|
|
|
`]:{paddingInlineEnd:ye},[`&-affix-wrapper${_e}-affix-wrapper`]:{padding:0,[`> textarea${_e}`]:{fontSize:"inherit",border:"none",outline:"none",background:"transparent",minHeight:Re.calc(Re.controlHeight).sub(Re.calc(Re.lineWidth).mul(2)).equal(),"&:focus":{boxShadow:"none !important"}},[`${_e}-suffix`]:{margin:0,"> *:not(:last-child)":{marginInline:0},[`${_e}-clear-icon`]:{position:"absolute",insetInlineEnd:Re.paddingInline,insetBlockStart:Re.paddingXS},[`${Le}-suffix`]:{position:"absolute",top:0,insetInlineEnd:Re.paddingInline,bottom:0,zIndex:1,display:"inline-flex",alignItems:"center",margin:"auto",pointerEvents:"none"}}},[`&-affix-wrapper${_e}-affix-wrapper-sm`]:{[`${_e}-suffix`]:{[`${_e}-clear-icon`]:{insetInlineEnd:Re.paddingInlineSM}}}}}};var $e=(0,he.I$)(["Input","TextArea"],Re=>{const _e=(0,ce.mergeToken)(Re,(0,Ie.e)(Re));return[Ze(_e)]},Ie.T,{resetFont:!1}),oe=function(Re,_e){var ye={};for(var Le in Re)Object.prototype.hasOwnProperty.call(Re,Le)&&_e.indexOf(Le)<0&&(ye[Le]=Re[Le]);if(Re!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Ve=0,Le=Object.getOwnPropertySymbols(Re);Ve<Le.length;Ve++)_e.indexOf(Le[Ve])<0&&Object.prototype.propertyIsEnumerable.call(Re,Le[Ve])&&(ye[Le[Ve]]=Re[Le[Ve]]);return ye},tt=(0,y.forwardRef)((Re,_e)=>{var ye;const{prefixCls:Le,bordered:Ve=!0,size:Pe,disabled:it,status:Oe,allowClear:ue,classNames:Xe,rootClassName:Ge,className:lt,style:Tt,styles:Ke,variant:Se,showCount:Ft,onMouseDown:It,onResize:ut}=Re,xe=oe(Re,["prefixCls","bordered","size","disabled","status","allowClear","classNames","rootClassName","className","style","styles","variant","showCount","onMouseDown","onResize"]),{getPrefixCls:ke,direction:at,allowClear:Rt,autoComplete:ft,className:Nt,style:xt,classNames:Xt,styles:Wt}=(0,ge.dj)("textArea"),de=y.useContext(je.Z),ne=it!=null?it:de,{status:te,hasFeedback:le,feedbackIcon:ve}=y.useContext(Ue.aM),re=(0,Fe.F)(te,Oe),fe=y.useRef(null);y.useImperativeHandle(_e,()=>{var un;return{resizableTextArea:(un=fe.current)===null||un===void 0?void 0:un.resizableTextArea,focus:Cn=>{var ct,Zt;(0,we.nH)((Zt=(ct=fe.current)===null||ct===void 0?void 0:ct.resizableTextArea)===null||Zt===void 0?void 0:Zt.textArea,Cn)},blur:()=>{var Cn;return(Cn=fe.current)===null||Cn===void 0?void 0:Cn.blur()}}});const Ye=ke("input",Le),vt=(0,De.Z)(Ye),[et,nt,mt]=(0,be.TI)(Ye,Ge),[yt]=$e(Ye,vt),{compactSize:St,compactItemClassnames:Qe}=(0,Ne.ri)(Ye,at),st=(0,se.Z)(un=>{var Cn;return(Cn=Pe!=null?Pe:St)!==null&&Cn!==void 0?Cn:un}),[en,Kt]=(0,me.Z)("textArea",Se,Ve),vn=(0,Ce.Z)(ue!=null?ue:Rt),[nn,Yt]=y.useState(!1),[Jt,cn]=y.useState(!1),bt=un=>{Yt(!0),It==null||It(un);const Cn=()=>{Yt(!1),document.removeEventListener("mouseup",Cn)};document.addEventListener("mouseup",Cn)},zt=un=>{var Cn,ct;if(ut==null||ut(un),nn&&typeof getComputedStyle=="function"){const Zt=(ct=(Cn=fe.current)===null||Cn===void 0?void 0:Cn.nativeElement)===null||ct===void 0?void 0:ct.querySelector("textarea");Zt&&getComputedStyle(Zt).resize==="both"&&cn(!0)}};return et(yt(y.createElement(ze.default,Object.assign({autoComplete:ft},xe,{style:Object.assign(Object.assign({},xt),Tt),styles:Object.assign(Object.assign({},Wt),Ke),disabled:ne,allowClear:vn,className:pe()(mt,vt,lt,Ge,Qe,Nt,Jt&&`${Ye}-textarea-affix-wrapper-resize-dirty`),classNames:Object.assign(Object.assign(Object.assign({},Xe),Xt),{textarea:pe()({[`${Ye}-sm`]:st==="small",[`${Ye}-lg`]:st==="large"},nt,Xe==null?void 0:Xe.textarea,Xt.textarea,nn&&`${Ye}-mouse-active`),variant:pe()({[`${Ye}-${en}`]:Kt},(0,Fe.Z)(Ye,re)),affixWrapper:pe()(`${Ye}-textarea-affix-wrapper`,{[`${Ye}-affix-wrapper-rtl`]:at==="rtl",[`${Ye}-affix-wrapper-sm`]:st==="small",[`${Ye}-affix-wrapper-lg`]:st==="large",[`${Ye}-textarea-show-count`]:Ft||((ye=Re.count)===null||ye===void 0?void 0:ye.show)},nt)}),prefixCls:Ye,suffix:le&&y.createElement("span",{className:`${Ye}-textarea-suffix`},ve),showCount:Ft,ref:fe,onResize:zt,onMouseDown:bt}))))})},23826:function(mn,Ct,E){"use strict";E.d(Ct,{Z:function(){return Ae}});var y=E(59301);function Ae(pe,ze){const Ce=(0,y.useRef)([]),Fe=()=>{Ce.current.push(setTimeout(()=>{var ge,je,De,se;!((ge=pe.current)===null||ge===void 0)&&ge.input&&((je=pe.current)===null||je===void 0?void 0:je.input.getAttribute("type"))==="password"&&(!((De=pe.current)===null||De===void 0)&&De.input.hasAttribute("value"))&&((se=pe.current)===null||se===void 0||se.input.removeAttribute("value"))}))};return(0,y.useEffect)(()=>(ze&&Fe(),()=>Ce.current.forEach(ge=>{ge&&clearTimeout(ge)})),[]),Fe}},37568:function(mn,Ct,E){"use strict";E.d(Ct,{default:function(){return Xt}});var y=E(59301),Ae=E(92310),pe=E.n(Ae),ze=E(48755),Ce=E(56553),Fe=E(53075),je=Wt=>{const{getPrefixCls:de,direction:ne}=(0,y.useContext)(ze.E_),{prefixCls:te,className:le}=Wt,ve=de("input-group",te),re=de("input"),[fe,Ye,vt]=(0,Fe.ZP)(re),et=pe()(ve,vt,{[`${ve}-lg`]:Wt.size==="large",[`${ve}-sm`]:Wt.size==="small",[`${ve}-compact`]:Wt.compact,[`${ve}-rtl`]:ne==="rtl"},Ye,le),nt=(0,y.useContext)(Ce.aM),mt=(0,y.useMemo)(()=>Object.assign(Object.assign({},nt),{isFormItemInput:!1}),[nt]);return fe(y.createElement("span",{className:et,style:Wt.style,onMouseEnter:Wt.onMouseEnter,onMouseLeave:Wt.onMouseLeave,onFocus:Wt.onFocus,onBlur:Wt.onBlur},y.createElement(Ce.aM.Provider,{value:mt},Wt.children)))},De=E(49397),se=E(77654),Ue=E(6089),me=E(26112),Ne=E(82855),we=E(31756),be=E(16931),he=E(51636),ce=E(64910);const Ie=Wt=>{const{componentCls:de,paddingXS:ne}=Wt;return{[de]:{display:"inline-flex",alignItems:"center",flexWrap:"nowrap",columnGap:ne,"&-rtl":{direction:"rtl"},[`${de}-input`]:{textAlign:"center",paddingInline:Wt.paddingXXS},[`&${de}-sm ${de}-input`]:{paddingInline:Wt.calc(Wt.paddingXXS).div(2).equal()},[`&${de}-lg ${de}-input`]:{paddingInline:Wt.paddingXS}}}};var Ze=(0,be.I$)(["Input","OTP"],Wt=>{const de=(0,he.mergeToken)(Wt,(0,ce.e)(Wt));return[Ie(de)]},ce.T),$e=E(16089),oe=function(Wt,de){var ne={};for(var te in Wt)Object.prototype.hasOwnProperty.call(Wt,te)&&de.indexOf(te)<0&&(ne[te]=Wt[te]);if(Wt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var le=0,te=Object.getOwnPropertySymbols(Wt);le<te.length;le++)de.indexOf(te[le])<0&&Object.prototype.propertyIsEnumerable.call(Wt,te[le])&&(ne[te[le]]=Wt[te[le]]);return ne},tt=y.forwardRef((Wt,de)=>{const{value:ne,onChange:te,onActiveChange:le,index:ve,mask:re}=Wt,fe=oe(Wt,["value","onChange","onActiveChange","index","mask"]),Ye=ne&&typeof re=="string"?re:ne,vt=St=>{te(ve,St.target.value)},et=y.useRef(null);y.useImperativeHandle(de,()=>et.current);const nt=()=>{(0,$e.Z)(()=>{var St;const Qe=(St=et.current)===null||St===void 0?void 0:St.input;document.activeElement===Qe&&Qe&&Qe.select()})},mt=St=>{const{key:Qe,ctrlKey:st,metaKey:en}=St;Qe==="ArrowLeft"?le(ve-1):Qe==="ArrowRight"?le(ve+1):Qe==="z"&&(st||en)&&St.preventDefault(),nt()},yt=St=>{St.key==="Backspace"&&!ne&&le(ve-1),nt()};return y.createElement(De.Z,Object.assign({type:re===!0?"password":"text"},fe,{ref:et,value:Ye,onInput:vt,onFocus:nt,onKeyDown:mt,onKeyUp:yt,onMouseDown:nt,onMouseUp:nt}))}),Re=function(Wt,de){var ne={};for(var te in Wt)Object.prototype.hasOwnProperty.call(Wt,te)&&de.indexOf(te)<0&&(ne[te]=Wt[te]);if(Wt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var le=0,te=Object.getOwnPropertySymbols(Wt);le<te.length;le++)de.indexOf(te[le])<0&&Object.prototype.propertyIsEnumerable.call(Wt,te[le])&&(ne[te[le]]=Wt[te[le]]);return ne};function _e(Wt){return(Wt||"").split("")}const ye=Wt=>{const{index:de,prefixCls:ne,separator:te}=Wt,le=typeof te=="function"?te(de):te;return le?y.createElement("span",{className:`${ne}-separator`},le):null};var Ve=y.forwardRef((Wt,de)=>{const{prefixCls:ne,length:te=6,size:le,defaultValue:ve,value:re,onChange:fe,formatter:Ye,separator:vt,variant:et,disabled:nt,status:mt,autoFocus:yt,mask:St,type:Qe,onInput:st,inputMode:en}=Wt,Kt=Re(Wt,["prefixCls","length","size","defaultValue","value","onChange","formatter","separator","variant","disabled","status","autoFocus","mask","type","onInput","inputMode"]),{getPrefixCls:vn,direction:nn}=y.useContext(ze.E_),Yt=vn("otp",ne),Jt=(0,me.Z)(Kt,{aria:!0,data:!0,attr:!0}),[cn,bt,zt]=Ze(Yt),un=(0,we.Z)(sn=>le!=null?le:sn),Cn=y.useContext(Ce.aM),ct=(0,Ne.F)(Cn.status,mt),Zt=y.useMemo(()=>Object.assign(Object.assign({},Cn),{status:ct,hasFeedback:!1,feedbackIcon:null}),[Cn,ct]),wt=y.useRef(null),dn=y.useRef({});y.useImperativeHandle(de,()=>({focus:()=>{var sn;(sn=dn.current[0])===null||sn===void 0||sn.focus()},blur:()=>{var sn;for(let an=0;an<te;an+=1)(sn=dn.current[an])===null||sn===void 0||sn.blur()},nativeElement:wt.current}));const wn=sn=>Ye?Ye(sn):sn,[Un,er]=y.useState(()=>_e(wn(ve||"")));y.useEffect(()=>{re!==void 0&&er(_e(re))},[re]);const lr=(0,Ue.Z)(sn=>{er(sn),st&&st(sn),fe&&sn.length===te&&sn.every(an=>an)&&sn.some((an,tn)=>Un[tn]!==an)&&fe(sn.join(""))}),Rn=(0,Ue.Z)((sn,an)=>{let tn=(0,se.Z)(Un);for(let xn=0;xn<sn;xn+=1)tn[xn]||(tn[xn]="");an.length<=1?tn[sn]=an:tn=tn.slice(0,sn).concat(_e(an)),tn=tn.slice(0,te);for(let xn=tn.length-1;xn>=0&&!tn[xn];xn-=1)tn.pop();const Bn=wn(tn.map(xn=>xn||" ").join(""));return tn=_e(Bn).map((xn,jn)=>xn===" "&&!tn[jn]?tn[jn]:xn),tn}),Qn=(sn,an)=>{var tn;const Bn=Rn(sn,an),xn=Math.min(sn+an.length,te-1);xn!==sn&&Bn[sn]!==void 0&&((tn=dn.current[xn])===null||tn===void 0||tn.focus()),lr(Bn)},Vt=sn=>{var an;(an=dn.current[sn])===null||an===void 0||an.focus()},Lt={variant:et,disabled:nt,status:ct,mask:St,type:Qe,inputMode:en};return cn(y.createElement("div",Object.assign({},Jt,{ref:wt,className:pe()(Yt,{[`${Yt}-sm`]:un==="small",[`${Yt}-lg`]:un==="large",[`${Yt}-rtl`]:nn==="rtl"},zt,bt)}),y.createElement(Ce.aM.Provider,{value:Zt},Array.from({length:te}).map((sn,an)=>{const tn=`otp-${an}`,Bn=Un[an]||"";return y.createElement(y.Fragment,{key:tn},y.createElement(tt,Object.assign({ref:xn=>{dn.current[an]=xn},index:an,size:un,htmlSize:1,className:`${Yt}-input`,onChange:Qn,value:Bn,onActiveChange:Vt,autoFocus:an===0&&yt},Lt)),an<te-1&&y.createElement(ye,{separator:vt,index:an,prefixCls:Yt}))}))))}),Pe=E(73331),it=E(15277),Oe=E(2738),ue=E(8654),Xe=E(2171),Ge=E(23826),lt=function(Wt,de){var ne={};for(var te in Wt)Object.prototype.hasOwnProperty.call(Wt,te)&&de.indexOf(te)<0&&(ne[te]=Wt[te]);if(Wt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var le=0,te=Object.getOwnPropertySymbols(Wt);le<te.length;le++)de.indexOf(te[le])<0&&Object.prototype.propertyIsEnumerable.call(Wt,te[le])&&(ne[te[le]]=Wt[te[le]]);return ne};const Tt=Wt=>Wt?y.createElement(it.Z,null):y.createElement(Pe.Z,null),Ke={click:"onClick",hover:"onMouseOver"};var Ft=y.forwardRef((Wt,de)=>{const{disabled:ne,action:te="click",visibilityToggle:le=!0,iconRender:ve=Tt}=Wt,re=y.useContext(Xe.Z),fe=ne!=null?ne:re,Ye=typeof le=="object"&&le.visible!==void 0,[vt,et]=(0,y.useState)(()=>Ye?le.visible:!1),nt=(0,y.useRef)(null);y.useEffect(()=>{Ye&&et(le.visible)},[Ye,le]);const mt=(0,Ge.Z)(nt),yt=()=>{var un;if(fe)return;vt&&mt();const Cn=!vt;et(Cn),typeof le=="object"&&((un=le.onVisibleChange)===null||un===void 0||un.call(le,Cn))},St=un=>{const Cn=Ke[te]||"",ct=ve(vt),Zt={[Cn]:yt,className:`${un}-icon`,key:"passwordIcon",onMouseDown:wt=>{wt.preventDefault()},onMouseUp:wt=>{wt.preventDefault()}};return y.cloneElement(y.isValidElement(ct)?ct:y.createElement("span",null,ct),Zt)},{className:Qe,prefixCls:st,inputPrefixCls:en,size:Kt}=Wt,vn=lt(Wt,["className","prefixCls","inputPrefixCls","size"]),{getPrefixCls:nn}=y.useContext(ze.E_),Yt=nn("input",en),Jt=nn("input-password",st),cn=le&&St(Jt),bt=pe()(Jt,Qe,{[`${Jt}-${Kt}`]:!!Kt}),zt=Object.assign(Object.assign({},(0,Oe.Z)(vn,["suffix","iconRender","visibilityToggle"])),{type:vt?"text":"password",className:bt,prefixCls:Yt,suffix:cn});return Kt&&(zt.size=Kt),y.createElement(De.Z,Object.assign({ref:(0,ue.sQ)(de,nt)},zt))}),It=E(47472),ut=E(22703),xe=E(7939),ke=E(70045),at=function(Wt,de){var ne={};for(var te in Wt)Object.prototype.hasOwnProperty.call(Wt,te)&&de.indexOf(te)<0&&(ne[te]=Wt[te]);if(Wt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var le=0,te=Object.getOwnPropertySymbols(Wt);le<te.length;le++)de.indexOf(te[le])<0&&Object.prototype.propertyIsEnumerable.call(Wt,te[le])&&(ne[te[le]]=Wt[te[le]]);return ne},ft=y.forwardRef((Wt,de)=>{const{prefixCls:ne,inputPrefixCls:te,className:le,size:ve,suffix:re,enterButton:fe=!1,addonAfter:Ye,loading:vt,disabled:et,onSearch:nt,onChange:mt,onCompositionStart:yt,onCompositionEnd:St}=Wt,Qe=at(Wt,["prefixCls","inputPrefixCls","className","size","suffix","enterButton","addonAfter","loading","disabled","onSearch","onChange","onCompositionStart","onCompositionEnd"]),{getPrefixCls:st,direction:en}=y.useContext(ze.E_),Kt=y.useRef(!1),vn=st("input-search",ne),nn=st("input",te),{compactSize:Yt}=(0,ke.ri)(vn,en),Jt=(0,we.Z)(Qn=>{var Vt;return(Vt=ve!=null?ve:Yt)!==null&&Vt!==void 0?Vt:Qn}),cn=y.useRef(null),bt=Qn=>{Qn!=null&&Qn.target&&Qn.type==="click"&&nt&&nt(Qn.target.value,Qn,{source:"clear"}),mt==null||mt(Qn)},zt=Qn=>{var Vt;document.activeElement===((Vt=cn.current)===null||Vt===void 0?void 0:Vt.input)&&Qn.preventDefault()},un=Qn=>{var Vt,Lt;nt&&nt((Lt=(Vt=cn.current)===null||Vt===void 0?void 0:Vt.input)===null||Lt===void 0?void 0:Lt.value,Qn,{source:"input"})},Cn=Qn=>{Kt.current||vt||un(Qn)},ct=typeof fe=="boolean"?y.createElement(It.Z,null):null,Zt=`${vn}-button`;let wt;const dn=fe||{},wn=dn.type&&dn.type.__ANT_BUTTON===!0;wn||dn.type==="button"?wt=(0,ut.Tm)(dn,Object.assign({onMouseDown:zt,onClick:Qn=>{var Vt,Lt;(Lt=(Vt=dn==null?void 0:dn.props)===null||Vt===void 0?void 0:Vt.onClick)===null||Lt===void 0||Lt.call(Vt,Qn),un(Qn)},key:"enterButton"},wn?{className:Zt,size:Jt}:{})):wt=y.createElement(xe.ZP,{className:Zt,type:fe?"primary":void 0,size:Jt,disabled:et,key:"enterButton",onMouseDown:zt,onClick:un,loading:vt,icon:ct},fe),Ye&&(wt=[wt,(0,ut.Tm)(Ye,{key:"addonAfter"})]);const Un=pe()(vn,{[`${vn}-rtl`]:en==="rtl",[`${vn}-${Jt}`]:!!Jt,[`${vn}-with-button`]:!!fe},le),er=Object.assign(Object.assign({},Qe),{className:Un,prefixCls:nn,type:"search"}),lr=Qn=>{Kt.current=!0,yt==null||yt(Qn)},Rn=Qn=>{Kt.current=!1,St==null||St(Qn)};return y.createElement(De.Z,Object.assign({ref:(0,ue.sQ)(cn,de),onPressEnter:Cn},er,{size:Jt,onCompositionStart:lr,onCompositionEnd:Rn,addonAfter:wt,suffix:re,onChange:bt,disabled:et}))}),Nt=E(79809);const xt=De.Z;xt.Group=je,xt.Search=ft,xt.TextArea=Nt.Z,xt.Password=Ft,xt.OTP=Ve;var Xt=xt},24303:function(mn,Ct,E){"use strict";E.d(Ct,{D:function(){return Re},Z:function(){return Le}});var y=E(59301),Ae=E(60499),pe={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"},ze=pe,Ce=E(7657),Fe=function(Pe,it){return y.createElement(Ce.Z,(0,Ae.Z)({},Pe,{ref:it,icon:ze}))},ge=y.forwardRef(Fe),je=ge,De=E(33853),se=E(38819),Ue=E(92310),me=E.n(Ue),Ne=E(2738),we=E(48755),be=E(6989),he=E(36237),ce=E(48923),Ie=E(16931);const Ze=Ve=>{const{componentCls:Pe,siderBg:it,motionDurationMid:Oe,motionDurationSlow:ue,antCls:Xe,triggerHeight:Ge,triggerColor:lt,triggerBg:Tt,headerHeight:Ke,zeroTriggerWidth:Se,zeroTriggerHeight:Ft,borderRadiusLG:It,lightSiderBg:ut,lightTriggerColor:xe,lightTriggerBg:ke,bodyBg:at}=Ve;return{[Pe]:{position:"relative",minWidth:0,background:it,transition:`all ${Oe}, background 0s`,"&-has-trigger":{paddingBottom:Ge},"&-right":{order:1},[`${Pe}-children`]:{height:"100%",marginTop:-.1,paddingTop:.1,[`${Xe}-menu${Xe}-menu-inline-collapsed`]:{width:"auto"}},[`&-zero-width ${Pe}-children`]:{overflow:"hidden"},[`${Pe}-trigger`]:{position:"fixed",bottom:0,zIndex:1,height:Ge,color:lt,lineHeight:(0,he.unit)(Ge),textAlign:"center",background:Tt,cursor:"pointer",transition:`all ${Oe}`},[`${Pe}-zero-width-trigger`]:{position:"absolute",top:Ke,insetInlineEnd:Ve.calc(Se).mul(-1).equal(),zIndex:1,width:Se,height:Ft,color:lt,fontSize:Ve.fontSizeXL,display:"flex",alignItems:"center",justifyContent:"center",background:it,borderRadius:`0 ${(0,he.unit)(It)} ${(0,he.unit)(It)} 0`,cursor:"pointer",transition:`background ${ue} ease`,"&::after":{position:"absolute",inset:0,background:"transparent",transition:`all ${ue}`,content:'""'},"&:hover::after":{background:"rgba(255, 255, 255, 0.2)"},"&-right":{insetInlineStart:Ve.calc(Se).mul(-1).equal(),borderRadius:`${(0,he.unit)(It)} 0 0 ${(0,he.unit)(It)}`}},"&-light":{background:ut,[`${Pe}-trigger`]:{color:xe,background:ke},[`${Pe}-zero-width-trigger`]:{color:xe,background:ke,border:`1px solid ${at}`,borderInlineStart:0}}}}};var $e=(0,Ie.I$)(["Layout","Sider"],Ve=>[Ze(Ve)],ce.eh,{deprecatedTokens:ce.jn}),oe=function(Ve,Pe){var it={};for(var Oe in Ve)Object.prototype.hasOwnProperty.call(Ve,Oe)&&Pe.indexOf(Oe)<0&&(it[Oe]=Ve[Oe]);if(Ve!=null&&typeof Object.getOwnPropertySymbols=="function")for(var ue=0,Oe=Object.getOwnPropertySymbols(Ve);ue<Oe.length;ue++)Pe.indexOf(Oe[ue])<0&&Object.prototype.propertyIsEnumerable.call(Ve,Oe[ue])&&(it[Oe[ue]]=Ve[Oe[ue]]);return it};const Be={xs:"479.98px",sm:"575.98px",md:"767.98px",lg:"991.98px",xl:"1199.98px",xxl:"1599.98px"},tt=Ve=>!Number.isNaN(Number.parseFloat(Ve))&&isFinite(Ve),Re=y.createContext({}),_e=(()=>{let Ve=0;return function(){let Pe=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"";return Ve+=1,`${Pe}${Ve}`}})();var Le=y.forwardRef((Ve,Pe)=>{const{prefixCls:it,className:Oe,trigger:ue,children:Xe,defaultCollapsed:Ge=!1,theme:lt="dark",style:Tt={},collapsible:Ke=!1,reverseArrow:Se=!1,width:Ft=200,collapsedWidth:It=80,zeroWidthTriggerStyle:ut,breakpoint:xe,onCollapse:ke,onBreakpoint:at}=Ve,Rt=oe(Ve,["prefixCls","className","trigger","children","defaultCollapsed","theme","style","collapsible","reverseArrow","width","collapsedWidth","zeroWidthTriggerStyle","breakpoint","onCollapse","onBreakpoint"]),{siderHook:ft}=(0,y.useContext)(be.V),[Nt,xt]=(0,y.useState)("collapsed"in Ve?Ve.collapsed:Ge),[Xt,Wt]=(0,y.useState)(!1);(0,y.useEffect)(()=>{"collapsed"in Ve&&xt(Ve.collapsed)},[Ve.collapsed]);const de=(Jt,cn)=>{"collapsed"in Ve||xt(Jt),ke==null||ke(Jt,cn)},{getPrefixCls:ne,direction:te}=(0,y.useContext)(we.E_),le=ne("layout-sider",it),[ve,re,fe]=$e(le),Ye=(0,y.useRef)(null);Ye.current=Jt=>{Wt(Jt.matches),at==null||at(Jt.matches),Nt!==Jt.matches&&de(Jt.matches,"responsive")},(0,y.useEffect)(()=>{function Jt(bt){return Ye.current(bt)}let cn;if(typeof window!="undefined"){const{matchMedia:bt}=window;if(bt&&xe&&xe in Be){cn=bt(`screen and (max-width: ${Be[xe]})`);try{cn.addEventListener("change",Jt)}catch(zt){cn.addListener(Jt)}Jt(cn)}}return()=>{try{cn==null||cn.removeEventListener("change",Jt)}catch(bt){cn==null||cn.removeListener(Jt)}}},[xe]),(0,y.useEffect)(()=>{const Jt=_e("ant-sider-");return ft.addSider(Jt),()=>ft.removeSider(Jt)},[]);const vt=()=>{de(!Nt,"clickTrigger")},et=(0,Ne.Z)(Rt,["collapsed"]),nt=Nt?It:Ft,mt=tt(nt)?`${nt}px`:String(nt),yt=parseFloat(String(It||0))===0?y.createElement("span",{onClick:vt,className:me()(`${le}-zero-width-trigger`,`${le}-zero-width-trigger-${Se?"right":"left"}`),style:ut},ue||y.createElement(je,null)):null,St=te==="rtl"==!Se,en={expanded:St?y.createElement(se.Z,null):y.createElement(De.Z,null),collapsed:St?y.createElement(De.Z,null):y.createElement(se.Z,null)}[Nt?"collapsed":"expanded"],Kt=ue!==null?yt||y.createElement("div",{className:`${le}-trigger`,onClick:vt,style:{width:mt}},ue||en):null,vn=Object.assign(Object.assign({},Tt),{flex:`0 0 ${mt}`,maxWidth:mt,minWidth:mt,width:mt}),nn=me()(le,`${le}-${lt}`,{[`${le}-collapsed`]:!!Nt,[`${le}-has-trigger`]:Ke&&ue!==null&&!yt,[`${le}-below`]:!!Xt,[`${le}-zero-width`]:parseFloat(mt)===0},Oe,re,fe),Yt=y.useMemo(()=>({siderCollapsed:Nt}),[Nt]);return ve(y.createElement(Re.Provider,{value:Yt},y.createElement("aside",Object.assign({className:nn},et,{style:vn,ref:Pe}),y.createElement("div",{className:`${le}-children`},Xe),Ke||Xt&&yt?Kt:null)))})},6989:function(mn,Ct,E){"use strict";E.d(Ct,{V:function(){return Ae}});var y=E(59301);const Ae=y.createContext({siderHook:{addSider:()=>null,removeSider:()=>null}})},48923:function(mn,Ct,E){"use strict";E.d(Ct,{eh:function(){return ze},jn:function(){return Ce}});var y=E(36237),Ae=E(16931);const pe=Fe=>{const{antCls:ge,componentCls:je,colorText:De,footerBg:se,headerHeight:Ue,headerPadding:me,headerColor:Ne,footerPadding:we,fontSize:be,bodyBg:he,headerBg:ce}=Fe;return{[je]:{display:"flex",flex:"auto",flexDirection:"column",minHeight:0,background:he,"&, *":{boxSizing:"border-box"},[`&${je}-has-sider`]:{flexDirection:"row",[`> ${je}, > ${je}-content`]:{width:0}},[`${je}-header, &${je}-footer`]:{flex:"0 0 auto"},"&-rtl":{direction:"rtl"}},[`${je}-header`]:{height:Ue,padding:me,color:Ne,lineHeight:(0,y.unit)(Ue),background:ce,[`${ge}-menu`]:{lineHeight:"inherit"}},[`${je}-footer`]:{padding:we,color:De,fontSize:be,background:se},[`${je}-content`]:{flex:"auto",color:De,minHeight:0}}},ze=Fe=>{const{colorBgLayout:ge,controlHeight:je,controlHeightLG:De,colorText:se,controlHeightSM:Ue,marginXXS:me,colorTextLightSolid:Ne,colorBgContainer:we}=Fe,be=De*1.25;return{colorBgHeader:"#001529",colorBgBody:ge,colorBgTrigger:"#002140",bodyBg:ge,headerBg:"#001529",headerHeight:je*2,headerPadding:`0 ${be}px`,headerColor:se,footerPadding:`${Ue}px ${be}px`,footerBg:ge,siderBg:"#001529",triggerHeight:De+me*2,triggerBg:"#002140",triggerColor:Ne,zeroTriggerWidth:De,zeroTriggerHeight:De,lightSiderBg:we,lightTriggerBg:we,lightTriggerColor:se}},Ce=[["colorBgBody","bodyBg"],["colorBgHeader","headerBg"],["colorBgTrigger","triggerBg"]];Ct.ZP=(0,Ae.I$)("Layout",Fe=>[pe(Fe)],ze,{deprecatedTokens:Ce})},78857:function(mn,Ct,E){"use strict";E.d(Ct,{J:function(){return Fe}});var y=E(59301),Ae=E(8654),pe=E(62487),ze=function(ge,je){var De={};for(var se in ge)Object.prototype.hasOwnProperty.call(ge,se)&&je.indexOf(se)<0&&(De[se]=ge[se]);if(ge!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Ue=0,se=Object.getOwnPropertySymbols(ge);Ue<se.length;Ue++)je.indexOf(se[Ue])<0&&Object.prototype.propertyIsEnumerable.call(ge,se[Ue])&&(De[se[Ue]]=ge[se[Ue]]);return De};const Ce=y.createContext(null),Fe=y.forwardRef((ge,je)=>{const{children:De}=ge,se=ze(ge,["children"]),Ue=y.useContext(Ce),me=y.useMemo(()=>Object.assign(Object.assign({},Ue),se),[Ue,se.prefixCls,se.mode,se.selectable,se.rootClassName]),Ne=(0,Ae.t4)(De),we=(0,Ae.x1)(je,Ne?(0,Ae.C4)(De):null);return y.createElement(Ce.Provider,{value:me},y.createElement(pe.Z,{space:!0},Ne?y.cloneElement(De,{ref:we}):De))});Ct.Z=Ce},93041:function(mn,Ct,E){"use strict";E.d(Ct,{default:function(){return ve}});var y=E(59301),Ae=E(28321),pe=E(24303),ze=E(18785),Ce=E(92310),Fe=E.n(Ce),ge=E(6089),je=E(2738),De=E(86641),se=E(22703),Ue=E(48755),me=E(83397),we=(0,y.createContext)({prefixCls:"",firstLevel:!0,inlineCollapsed:!1}),be=function(re,fe){var Ye={};for(var vt in re)Object.prototype.hasOwnProperty.call(re,vt)&&fe.indexOf(vt)<0&&(Ye[vt]=re[vt]);if(re!=null&&typeof Object.getOwnPropertySymbols=="function")for(var et=0,vt=Object.getOwnPropertySymbols(re);et<vt.length;et++)fe.indexOf(vt[et])<0&&Object.prototype.propertyIsEnumerable.call(re,vt[et])&&(Ye[vt[et]]=re[vt[et]]);return Ye},ce=re=>{const{prefixCls:fe,className:Ye,dashed:vt}=re,et=be(re,["prefixCls","className","dashed"]),{getPrefixCls:nt}=y.useContext(Ue.E_),mt=nt("menu",fe),yt=Fe()({[`${mt}-item-divider-dashed`]:!!vt},Ye);return y.createElement(Ae.iz,Object.assign({className:yt},et))},Ie=E(11592),Ze=E(25399),oe=re=>{var fe;const{className:Ye,children:vt,icon:et,title:nt,danger:mt,extra:yt}=re,{prefixCls:St,firstLevel:Qe,direction:st,disableMenuItemTitleTooltip:en,inlineCollapsed:Kt}=y.useContext(we),vn=zt=>{const un=vt==null?void 0:vt[0],Cn=y.createElement("span",{className:Fe()(`${St}-title-content`,{[`${St}-title-content-with-extra`]:!!yt||yt===0})},vt);return(!et||y.isValidElement(vt)&&vt.type==="span")&&vt&&zt&&Qe&&typeof un=="string"?y.createElement("div",{className:`${St}-inline-collapsed-noicon`},un.charAt(0)):Cn},{siderCollapsed:nn}=y.useContext(pe.D);let Yt=nt;typeof nt=="undefined"?Yt=Qe?vt:"":nt===!1&&(Yt="");const Jt={title:Yt};!nn&&!Kt&&(Jt.title=null,Jt.open=!1);const cn=(0,Ie.Z)(vt).length;let bt=y.createElement(Ae.ck,Object.assign({},(0,je.Z)(re,["title","icon","danger"]),{className:Fe()({[`${St}-item-danger`]:mt,[`${St}-item-only-child`]:(et?cn+1:cn)===1},Ye),title:typeof nt=="string"?nt:void 0}),(0,se.Tm)(et,{className:Fe()(y.isValidElement(et)?(fe=et.props)===null||fe===void 0?void 0:fe.className:"",`${St}-item-icon`)}),vn(Kt));return en||(bt=y.createElement(Ze.Z,Object.assign({},Jt,{placement:st==="rtl"?"left":"right",classNames:{root:`${St}-inline-collapsed-tooltip`}}),bt)),bt},Be=E(78857),tt=E(36237),Re=E(17835),_e=E(63356),ye=E(34961),Le=E(46e3),Ve=E(34925),Pe=E(16931),it=E(51636),ue=re=>{const{componentCls:fe,motionDurationSlow:Ye,horizontalLineHeight:vt,colorSplit:et,lineWidth:nt,lineType:mt,itemPaddingInline:yt}=re;return{[`${fe}-horizontal`]:{lineHeight:vt,border:0,borderBottom:`${(0,tt.unit)(nt)} ${mt} ${et}`,boxShadow:"none","&::after":{display:"block",clear:"both",height:0,content:'"\\20"'},[`${fe}-item, ${fe}-submenu`]:{position:"relative",display:"inline-block",verticalAlign:"bottom",paddingInline:yt},[`> ${fe}-item:hover,
|
|
|
> ${fe}-item-active,
|
|
|
> ${fe}-submenu ${fe}-submenu-title:hover`]:{backgroundColor:"transparent"},[`${fe}-item, ${fe}-submenu-title`]:{transition:[`border-color ${Ye}`,`background ${Ye}`].join(",")},[`${fe}-submenu-arrow`]:{display:"none"}}}},Ge=re=>{let{componentCls:fe,menuArrowOffset:Ye,calc:vt}=re;return{[`${fe}-rtl`]:{direction:"rtl"},[`${fe}-submenu-rtl`]:{transformOrigin:"100% 0"},[`${fe}-rtl${fe}-vertical,
|
|
|
${fe}-submenu-rtl ${fe}-vertical`]:{[`${fe}-submenu-arrow`]:{"&::before":{transform:`rotate(-45deg) translateY(${(0,tt.unit)(vt(Ye).mul(-1).equal())})`},"&::after":{transform:`rotate(45deg) translateY(${(0,tt.unit)(Ye)})`}}}}};const lt=re=>Object.assign({},(0,_e.oN)(re));var Ke=(re,fe)=>{const{componentCls:Ye,itemColor:vt,itemSelectedColor:et,subMenuItemSelectedColor:nt,groupTitleColor:mt,itemBg:yt,subMenuItemBg:St,itemSelectedBg:Qe,activeBarHeight:st,activeBarWidth:en,activeBarBorderWidth:Kt,motionDurationSlow:vn,motionEaseInOut:nn,motionEaseOut:Yt,itemPaddingInline:Jt,motionDurationMid:cn,itemHoverColor:bt,lineType:zt,colorSplit:un,itemDisabledColor:Cn,dangerItemColor:ct,dangerItemHoverColor:Zt,dangerItemSelectedColor:wt,dangerItemActiveBg:dn,dangerItemSelectedBg:wn,popupBg:Un,itemHoverBg:er,itemActiveBg:lr,menuSubMenuBg:Rn,horizontalItemSelectedColor:Qn,horizontalItemSelectedBg:Vt,horizontalItemBorderRadius:Lt,horizontalItemHoverBg:sn}=re;return{[`${Ye}-${fe}, ${Ye}-${fe} > ${Ye}`]:{color:vt,background:yt,[`&${Ye}-root:focus-visible`]:Object.assign({},lt(re)),[`${Ye}-item`]:{"&-group-title, &-extra":{color:mt}},[`${Ye}-submenu-selected > ${Ye}-submenu-title`]:{color:nt},[`${Ye}-item, ${Ye}-submenu-title`]:{color:vt,[`&:not(${Ye}-item-disabled):focus-visible`]:Object.assign({},lt(re))},[`${Ye}-item-disabled, ${Ye}-submenu-disabled`]:{color:`${Cn} !important`},[`${Ye}-item:not(${Ye}-item-selected):not(${Ye}-submenu-selected)`]:{[`&:hover, > ${Ye}-submenu-title:hover`]:{color:bt}},[`&:not(${Ye}-horizontal)`]:{[`${Ye}-item:not(${Ye}-item-selected)`]:{"&:hover":{backgroundColor:er},"&:active":{backgroundColor:lr}},[`${Ye}-submenu-title`]:{"&:hover":{backgroundColor:er},"&:active":{backgroundColor:lr}}},[`${Ye}-item-danger`]:{color:ct,[`&${Ye}-item:hover`]:{[`&:not(${Ye}-item-selected):not(${Ye}-submenu-selected)`]:{color:Zt}},[`&${Ye}-item:active`]:{background:dn}},[`${Ye}-item a`]:{"&, &:hover":{color:"inherit"}},[`${Ye}-item-selected`]:{color:et,[`&${Ye}-item-danger`]:{color:wt},"a, a:hover":{color:"inherit"}},[`& ${Ye}-item-selected`]:{backgroundColor:Qe,[`&${Ye}-item-danger`]:{backgroundColor:wn}},[`&${Ye}-submenu > ${Ye}`]:{backgroundColor:Rn},[`&${Ye}-popup > ${Ye}`]:{backgroundColor:Un},[`&${Ye}-submenu-popup > ${Ye}`]:{backgroundColor:Un},[`&${Ye}-horizontal`]:Object.assign(Object.assign({},fe==="dark"?{borderBottom:0}:{}),{[`> ${Ye}-item, > ${Ye}-submenu`]:{top:Kt,marginTop:re.calc(Kt).mul(-1).equal(),marginBottom:0,borderRadius:Lt,"&::after":{position:"absolute",insetInline:Jt,bottom:0,borderBottom:`${(0,tt.unit)(st)} solid transparent`,transition:`border-color ${vn} ${nn}`,content:'""'},"&:hover, &-active, &-open":{background:sn,"&::after":{borderBottomWidth:st,borderBottomColor:Qn}},"&-selected":{color:Qn,backgroundColor:Vt,"&:hover":{backgroundColor:Vt},"&::after":{borderBottomWidth:st,borderBottomColor:Qn}}}}),[`&${Ye}-root`]:{[`&${Ye}-inline, &${Ye}-vertical`]:{borderInlineEnd:`${(0,tt.unit)(Kt)} ${zt} ${un}`}},[`&${Ye}-inline`]:{[`${Ye}-sub${Ye}-inline`]:{background:St},[`${Ye}-item`]:{position:"relative","&::after":{position:"absolute",insetBlock:0,insetInlineEnd:0,borderInlineEnd:`${(0,tt.unit)(en)} solid ${et}`,transform:"scaleY(0.0001)",opacity:0,transition:[`transform ${cn} ${Yt}`,`opacity ${cn} ${Yt}`].join(","),content:'""'},[`&${Ye}-item-danger`]:{"&::after":{borderInlineEndColor:wt}}},[`${Ye}-selected, ${Ye}-item-selected`]:{"&::after":{transform:"scaleY(1)",opacity:1,transition:[`transform ${cn} ${nn}`,`opacity ${cn} ${nn}`].join(",")}}}}}};const Se=re=>{const{componentCls:fe,itemHeight:Ye,itemMarginInline:vt,padding:et,menuArrowSize:nt,marginXS:mt,itemMarginBlock:yt,itemWidth:St,itemPaddingInline:Qe}=re,st=re.calc(nt).add(et).add(mt).equal();return{[`${fe}-item`]:{position:"relative",overflow:"hidden"},[`${fe}-item, ${fe}-submenu-title`]:{height:Ye,lineHeight:(0,tt.unit)(Ye),paddingInline:Qe,overflow:"hidden",textOverflow:"ellipsis",marginInline:vt,marginBlock:yt,width:St},[`> ${fe}-item,
|
|
|
> ${fe}-submenu > ${fe}-submenu-title`]:{height:Ye,lineHeight:(0,tt.unit)(Ye)},[`${fe}-item-group-list ${fe}-submenu-title,
|
|
|
${fe}-submenu-title`]:{paddingInlineEnd:st}}};var It=re=>{const{componentCls:fe,iconCls:Ye,itemHeight:vt,colorTextLightSolid:et,dropdownWidth:nt,controlHeightLG:mt,motionEaseOut:yt,paddingXL:St,itemMarginInline:Qe,fontSizeLG:st,motionDurationFast:en,motionDurationSlow:Kt,paddingXS:vn,boxShadowSecondary:nn,collapsedWidth:Yt,collapsedIconSize:Jt}=re,cn={height:vt,lineHeight:(0,tt.unit)(vt),listStylePosition:"inside",listStyleType:"disc"};return[{[fe]:{"&-inline, &-vertical":Object.assign({[`&${fe}-root`]:{boxShadow:"none"}},Se(re))},[`${fe}-submenu-popup`]:{[`${fe}-vertical`]:Object.assign(Object.assign({},Se(re)),{boxShadow:nn})}},{[`${fe}-submenu-popup ${fe}-vertical${fe}-sub`]:{minWidth:nt,maxHeight:`calc(100vh - ${(0,tt.unit)(re.calc(mt).mul(2.5).equal())})`,padding:"0",overflow:"hidden",borderInlineEnd:0,"&:not([class*='-active'])":{overflowX:"hidden",overflowY:"auto"}}},{[`${fe}-inline`]:{width:"100%",[`&${fe}-root`]:{[`${fe}-item, ${fe}-submenu-title`]:{display:"flex",alignItems:"center",transition:[`border-color ${Kt}`,`background ${Kt}`,`padding ${en} ${yt}`].join(","),[`> ${fe}-title-content`]:{flex:"auto",minWidth:0,overflow:"hidden",textOverflow:"ellipsis"},"> *":{flex:"none"}}},[`${fe}-sub${fe}-inline`]:{padding:0,border:0,borderRadius:0,boxShadow:"none",[`& > ${fe}-submenu > ${fe}-submenu-title`]:cn,[`& ${fe}-item-group-title`]:{paddingInlineStart:St}},[`${fe}-item`]:cn}},{[`${fe}-inline-collapsed`]:{width:Yt,[`&${fe}-root`]:{[`${fe}-item, ${fe}-submenu ${fe}-submenu-title`]:{[`> ${fe}-inline-collapsed-noicon`]:{fontSize:st,textAlign:"center"}}},[`> ${fe}-item,
|
|
|
> ${fe}-item-group > ${fe}-item-group-list > ${fe}-item,
|
|
|
> ${fe}-item-group > ${fe}-item-group-list > ${fe}-submenu > ${fe}-submenu-title,
|
|
|
> ${fe}-submenu > ${fe}-submenu-title`]:{insetInlineStart:0,paddingInline:`calc(50% - ${(0,tt.unit)(re.calc(Jt).div(2).equal())} - ${(0,tt.unit)(Qe)})`,textOverflow:"clip",[`
|
|
|
${fe}-submenu-arrow,
|
|
|
${fe}-submenu-expand-icon
|
|
|
`]:{opacity:0},[`${fe}-item-icon, ${Ye}`]:{margin:0,fontSize:Jt,lineHeight:(0,tt.unit)(vt),"+ span":{display:"inline-block",opacity:0}}},[`${fe}-item-icon, ${Ye}`]:{display:"inline-block"},"&-tooltip":{pointerEvents:"none",[`${fe}-item-icon, ${Ye}`]:{display:"none"},"a, a:hover":{color:et}},[`${fe}-item-group-title`]:Object.assign(Object.assign({},_e.vS),{paddingInline:vn})}}]};const ut=re=>{const{componentCls:fe,motionDurationSlow:Ye,motionDurationMid:vt,motionEaseInOut:et,motionEaseOut:nt,iconCls:mt,iconSize:yt,iconMarginInlineEnd:St}=re;return{[`${fe}-item, ${fe}-submenu-title`]:{position:"relative",display:"block",margin:0,whiteSpace:"nowrap",cursor:"pointer",transition:[`border-color ${Ye}`,`background ${Ye}`,`padding calc(${Ye} + 0.1s) ${et}`].join(","),[`${fe}-item-icon, ${mt}`]:{minWidth:yt,fontSize:yt,transition:[`font-size ${vt} ${nt}`,`margin ${Ye} ${et}`,`color ${Ye}`].join(","),"+ span":{marginInlineStart:St,opacity:1,transition:[`opacity ${Ye} ${et}`,`margin ${Ye}`,`color ${Ye}`].join(",")}},[`${fe}-item-icon`]:Object.assign({},(0,_e.Ro)()),[`&${fe}-item-only-child`]:{[`> ${mt}, > ${fe}-item-icon`]:{marginInlineEnd:0}}},[`${fe}-item-disabled, ${fe}-submenu-disabled`]:{background:"none !important",cursor:"not-allowed","&::after":{borderColor:"transparent !important"},a:{color:"inherit !important",cursor:"not-allowed",pointerEvents:"none"},[`> ${fe}-submenu-title`]:{color:"inherit !important",cursor:"not-allowed"}}}},xe=re=>{const{componentCls:fe,motionDurationSlow:Ye,motionEaseInOut:vt,borderRadius:et,menuArrowSize:nt,menuArrowOffset:mt}=re;return{[`${fe}-submenu`]:{"&-expand-icon, &-arrow":{position:"absolute",top:"50%",insetInlineEnd:re.margin,width:nt,color:"currentcolor",transform:"translateY(-50%)",transition:`transform ${Ye} ${vt}, opacity ${Ye}`},"&-arrow":{"&::before, &::after":{position:"absolute",width:re.calc(nt).mul(.6).equal(),height:re.calc(nt).mul(.15).equal(),backgroundColor:"currentcolor",borderRadius:et,transition:[`background ${Ye} ${vt}`,`transform ${Ye} ${vt}`,`top ${Ye} ${vt}`,`color ${Ye} ${vt}`].join(","),content:'""'},"&::before":{transform:`rotate(45deg) translateY(${(0,tt.unit)(re.calc(mt).mul(-1).equal())})`},"&::after":{transform:`rotate(-45deg) translateY(${(0,tt.unit)(mt)})`}}}}},ke=re=>{const{antCls:fe,componentCls:Ye,fontSize:vt,motionDurationSlow:et,motionDurationMid:nt,motionEaseInOut:mt,paddingXS:yt,padding:St,colorSplit:Qe,lineWidth:st,zIndexPopup:en,borderRadiusLG:Kt,subMenuItemBorderRadius:vn,menuArrowSize:nn,menuArrowOffset:Yt,lineType:Jt,groupTitleLineHeight:cn,groupTitleFontSize:bt}=re;return[{"":{[Ye]:Object.assign(Object.assign({},(0,_e.dF)()),{"&-hidden":{display:"none"}})},[`${Ye}-submenu-hidden`]:{display:"none"}},{[Ye]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},(0,_e.Wf)(re)),(0,_e.dF)()),{marginBottom:0,paddingInlineStart:0,fontSize:vt,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",[`${Ye}-item`]:{flex:"none"}},[`${Ye}-item, ${Ye}-submenu, ${Ye}-submenu-title`]:{borderRadius:re.itemBorderRadius},[`${Ye}-item-group-title`]:{padding:`${(0,tt.unit)(yt)} ${(0,tt.unit)(St)}`,fontSize:bt,lineHeight:cn,transition:`all ${et}`},[`&-horizontal ${Ye}-submenu`]:{transition:[`border-color ${et} ${mt}`,`background ${et} ${mt}`].join(",")},[`${Ye}-submenu, ${Ye}-submenu-inline`]:{transition:[`border-color ${et} ${mt}`,`background ${et} ${mt}`,`padding ${nt} ${mt}`].join(",")},[`${Ye}-submenu ${Ye}-sub`]:{cursor:"initial",transition:[`background ${et} ${mt}`,`padding ${et} ${mt}`].join(",")},[`${Ye}-title-content`]:{transition:`color ${et}`,"&-with-extra":{display:"inline-flex",alignItems:"center",width:"100%"},[`> ${fe}-typography-ellipsis-single-line`]:{display:"inline",verticalAlign:"unset"},[`${Ye}-item-extra`]:{marginInlineStart:"auto",paddingInlineStart:re.padding}},[`${Ye}-item a`]:{"&::before":{position:"absolute",inset:0,backgroundColor:"transparent",content:'""'}},[`${Ye}-item-divider`]:{overflow:"hidden",lineHeight:0,borderColor:Qe,borderStyle:Jt,borderWidth:0,borderTopWidth:st,marginBlock:st,padding:0,"&-dashed":{borderStyle:"dashed"}}}),ut(re)),{[`${Ye}-item-group`]:{[`${Ye}-item-group-list`]:{margin:0,padding:0,[`${Ye}-item, ${Ye}-submenu-title`]:{paddingInline:`${(0,tt.unit)(re.calc(vt).mul(2).equal())} ${(0,tt.unit)(St)}`}}},"&-submenu":{"&-popup":{position:"absolute",zIndex:en,borderRadius:Kt,boxShadow:"none",transformOrigin:"0 0",[`&${Ye}-submenu`]:{background:"transparent"},"&::before":{position:"absolute",inset:0,zIndex:-1,width:"100%",height:"100%",opacity:0,content:'""'},[`> ${Ye}`]:Object.assign(Object.assign(Object.assign({borderRadius:Kt},ut(re)),xe(re)),{[`${Ye}-item, ${Ye}-submenu > ${Ye}-submenu-title`]:{borderRadius:vn},[`${Ye}-submenu-title::after`]:{transition:`transform ${et} ${mt}`}})},"\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}}}),xe(re)),{[`&-inline-collapsed ${Ye}-submenu-arrow,
|
|
|
&-inline ${Ye}-submenu-arrow`]:{"&::before":{transform:`rotate(-45deg) translateX(${(0,tt.unit)(Yt)})`},"&::after":{transform:`rotate(45deg) translateX(${(0,tt.unit)(re.calc(Yt).mul(-1).equal())})`}},[`${Ye}-submenu-open${Ye}-submenu-inline > ${Ye}-submenu-title > ${Ye}-submenu-arrow`]:{transform:`translateY(${(0,tt.unit)(re.calc(nn).mul(.2).mul(-1).equal())})`,"&::after":{transform:`rotate(-45deg) translateX(${(0,tt.unit)(re.calc(Yt).mul(-1).equal())})`},"&::before":{transform:`rotate(45deg) translateX(${(0,tt.unit)(Yt)})`}}})},{[`${fe}-layout-header`]:{[Ye]:{lineHeight:"inherit"}}}]},at=re=>{var fe,Ye,vt;const{colorPrimary:et,colorError:nt,colorTextDisabled:mt,colorErrorBg:yt,colorText:St,colorTextDescription:Qe,colorBgContainer:st,colorFillAlter:en,colorFillContent:Kt,lineWidth:vn,lineWidthBold:nn,controlItemBgActive:Yt,colorBgTextHover:Jt,controlHeightLG:cn,lineHeight:bt,colorBgElevated:zt,marginXXS:un,padding:Cn,fontSize:ct,controlHeightSM:Zt,fontSizeLG:wt,colorTextLightSolid:dn,colorErrorHover:wn}=re,Un=(fe=re.activeBarWidth)!==null&&fe!==void 0?fe:0,er=(Ye=re.activeBarBorderWidth)!==null&&Ye!==void 0?Ye:vn,lr=(vt=re.itemMarginInline)!==null&&vt!==void 0?vt:re.marginXXS,Rn=new Re.FastColor(dn).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:Qe,groupTitleColor:Qe,colorItemTextSelected:et,itemSelectedColor:et,subMenuItemSelectedColor:et,colorItemTextSelectedHorizontal:et,horizontalItemSelectedColor:et,colorItemBg:st,itemBg:st,colorItemBgHover:Jt,itemHoverBg:Jt,colorItemBgActive:Kt,itemActiveBg:Yt,colorSubItemBg:en,subMenuItemBg:en,colorItemBgSelected:Yt,itemSelectedBg:Yt,colorItemBgSelectedHorizontal:"transparent",horizontalItemSelectedBg:"transparent",colorActiveBarWidth:0,activeBarWidth:Un,colorActiveBarHeight:nn,activeBarHeight:nn,colorActiveBarBorderSize:vn,activeBarBorderWidth:er,colorItemTextDisabled:mt,itemDisabledColor:mt,colorDangerItemText:nt,dangerItemColor:nt,colorDangerItemTextHover:nt,dangerItemHoverColor:nt,colorDangerItemTextSelected:nt,dangerItemSelectedColor:nt,colorDangerItemBgActive:yt,dangerItemActiveBg:yt,colorDangerItemBgSelected:yt,dangerItemSelectedBg:yt,itemMarginInline:lr,horizontalItemBorderRadius:0,horizontalItemHoverBg:"transparent",itemHeight:cn,groupTitleLineHeight:bt,collapsedWidth:cn*2,popupBg:zt,itemMarginBlock:un,itemPaddingInline:Cn,horizontalLineHeight:`${cn*1.15}px`,iconSize:ct,iconMarginInlineEnd:Zt-ct,collapsedIconSize:wt,groupTitleFontSize:ct,darkItemDisabledColor:new Re.FastColor(dn).setA(.25).toRgbString(),darkItemColor:Rn,darkDangerItemColor:nt,darkItemBg:"#001529",darkPopupBg:"#001529",darkSubMenuItemBg:"#000c17",darkItemSelectedColor:dn,darkItemSelectedBg:et,darkDangerItemSelectedBg:nt,darkItemHoverBg:"transparent",darkGroupTitleColor:Rn,darkItemHoverColor:dn,darkDangerItemHoverColor:wn,darkDangerItemSelectedColor:dn,darkDangerItemActiveBg:nt,itemWidth:Un?`calc(100% + ${er}px)`:`calc(100% - ${lr*2}px)`}};var Rt=function(re){let fe=arguments.length>1&&arguments[1]!==void 0?arguments[1]:re,Ye=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!0;return(0,Pe.I$)("Menu",et=>{const{colorBgElevated:nt,controlHeightLG:mt,fontSize:yt,darkItemColor:St,darkDangerItemColor:Qe,darkItemBg:st,darkSubMenuItemBg:en,darkItemSelectedColor:Kt,darkItemSelectedBg:vn,darkDangerItemSelectedBg:nn,darkItemHoverBg:Yt,darkGroupTitleColor:Jt,darkItemHoverColor:cn,darkItemDisabledColor:bt,darkDangerItemHoverColor:zt,darkDangerItemSelectedColor:un,darkDangerItemActiveBg:Cn,popupBg:ct,darkPopupBg:Zt}=et,wt=et.calc(yt).div(7).mul(5).equal(),dn=(0,it.mergeToken)(et,{menuArrowSize:wt,menuHorizontalHeight:et.calc(mt).mul(1.15).equal(),menuArrowOffset:et.calc(wt).mul(.25).equal(),menuSubMenuBg:nt,calc:et.calc,popupBg:ct}),wn=(0,it.mergeToken)(dn,{itemColor:St,itemHoverColor:cn,groupTitleColor:Jt,itemSelectedColor:Kt,subMenuItemSelectedColor:Kt,itemBg:st,popupBg:Zt,subMenuItemBg:en,itemActiveBg:"transparent",itemSelectedBg:vn,activeBarHeight:0,activeBarBorderWidth:0,itemHoverBg:Yt,itemDisabledColor:bt,dangerItemColor:Qe,dangerItemHoverColor:zt,dangerItemSelectedColor:un,dangerItemActiveBg:Cn,dangerItemSelectedBg:nn,menuSubMenuBg:en,horizontalItemSelectedColor:Kt,horizontalItemSelectedBg:vn});return[ke(dn),ue(dn),It(dn),Ke(dn,"light"),Ke(wn,"dark"),Ge(dn),(0,ye.Z)(dn),(0,Le.oN)(dn,"slide-up"),(0,Le.oN)(dn,"slide-down"),(0,Ve._y)(dn,"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:Ye,unitless:{groupTitleLineHeight:!0}})(re,fe)},ft=E(75030),xt=re=>{var fe;const{popupClassName:Ye,icon:vt,title:et,theme:nt}=re,mt=y.useContext(we),{prefixCls:yt,inlineCollapsed:St,theme:Qe}=mt,st=(0,Ae.Xl)();let en;if(!vt)en=St&&!st.length&&et&&typeof et=="string"?y.createElement("div",{className:`${yt}-inline-collapsed-noicon`},et.charAt(0)):y.createElement("span",{className:`${yt}-title-content`},et);else{const nn=y.isValidElement(et)&&et.type==="span";en=y.createElement(y.Fragment,null,(0,se.Tm)(vt,{className:Fe()(y.isValidElement(vt)?(fe=vt.props)===null||fe===void 0?void 0:fe.className:"",`${yt}-item-icon`)}),nn?et:y.createElement("span",{className:`${yt}-title-content`},et))}const Kt=y.useMemo(()=>Object.assign(Object.assign({},mt),{firstLevel:!1}),[mt]),[vn]=(0,ft.Cn)("Menu");return y.createElement(we.Provider,{value:Kt},y.createElement(Ae.Wd,Object.assign({},(0,je.Z)(re,["icon"]),{title:en,popupClassName:Fe()(yt,Ye,`${yt}-${nt||Qe}`),popupStyle:Object.assign({zIndex:vn},re.popupStyle)})))},Xt=function(re,fe){var Ye={};for(var vt in re)Object.prototype.hasOwnProperty.call(re,vt)&&fe.indexOf(vt)<0&&(Ye[vt]=re[vt]);if(re!=null&&typeof Object.getOwnPropertySymbols=="function")for(var et=0,vt=Object.getOwnPropertySymbols(re);et<vt.length;et++)fe.indexOf(vt[et])<0&&Object.prototype.propertyIsEnumerable.call(re,vt[et])&&(Ye[vt[et]]=re[vt[et]]);return Ye};function Wt(re){return re===null||re===!1}const de={item:oe,submenu:xt,divider:ce};var te=(0,y.forwardRef)((re,fe)=>{var Ye;const vt=y.useContext(Be.Z),et=vt||{},{getPrefixCls:nt,getPopupContainer:mt,direction:yt,menu:St}=y.useContext(Ue.E_),Qe=nt(),{prefixCls:st,className:en,style:Kt,theme:vn="light",expandIcon:nn,_internalDisableMenuItemTitleTooltip:Yt,inlineCollapsed:Jt,siderCollapsed:cn,rootClassName:bt,mode:zt,selectable:un,onClick:Cn,overflowedIndicatorPopupClassName:ct}=re,Zt=Xt(re,["prefixCls","className","style","theme","expandIcon","_internalDisableMenuItemTitleTooltip","inlineCollapsed","siderCollapsed","rootClassName","mode","selectable","onClick","overflowedIndicatorPopupClassName"]),wt=(0,je.Z)(Zt,["collapsedWidth"]);(Ye=et.validator)===null||Ye===void 0||Ye.call(et,{mode:zt});const dn=(0,ge.Z)(function(){var xn;Cn==null||Cn.apply(void 0,arguments),(xn=et.onClick)===null||xn===void 0||xn.call(et)}),wn=et.mode||zt,Un=un!=null?un:et.selectable,er=Jt!=null?Jt:cn,lr={horizontal:{motionName:`${Qe}-slide-up`},inline:(0,De.Z)(Qe),other:{motionName:`${Qe}-zoom-big`}},Rn=nt("menu",st||et.prefixCls),Qn=(0,me.Z)(Rn),[Vt,Lt,sn]=Rt(Rn,Qn,!vt),an=Fe()(`${Rn}-${vn}`,St==null?void 0:St.className,en),tn=y.useMemo(()=>{var xn,jn;if(typeof nn=="function"||Wt(nn))return nn||null;if(typeof et.expandIcon=="function"||Wt(et.expandIcon))return et.expandIcon||null;if(typeof(St==null?void 0:St.expandIcon)=="function"||Wt(St==null?void 0:St.expandIcon))return(St==null?void 0:St.expandIcon)||null;const nr=(xn=nn!=null?nn:et==null?void 0:et.expandIcon)!==null&&xn!==void 0?xn:St==null?void 0:St.expandIcon;return(0,se.Tm)(nr,{className:Fe()(`${Rn}-submenu-expand-icon`,y.isValidElement(nr)?(jn=nr.props)===null||jn===void 0?void 0:jn.className:void 0)})},[nn,et==null?void 0:et.expandIcon,St==null?void 0:St.expandIcon,Rn]),Bn=y.useMemo(()=>({prefixCls:Rn,inlineCollapsed:er||!1,direction:yt,firstLevel:!0,theme:vn,mode:wn,disableMenuItemTitleTooltip:Yt}),[Rn,er,yt,Yt,vn]);return Vt(y.createElement(Be.Z.Provider,{value:null},y.createElement(we.Provider,{value:Bn},y.createElement(Ae.ZP,Object.assign({getPopupContainer:mt,overflowedIndicator:y.createElement(ze.Z,null),overflowedIndicatorPopupClassName:Fe()(Rn,`${Rn}-${vn}`,ct),mode:wn,selectable:Un,onClick:dn},wt,{inlineCollapsed:er,style:Object.assign(Object.assign({},St==null?void 0:St.style),Kt),className:an,prefixCls:Rn,direction:yt,defaultMotions:lr,expandIcon:tn,ref:fe,rootClassName:Fe()(bt,Lt,et.rootClassName,sn,Qn),_internalComponents:de})))))});const le=(0,y.forwardRef)((re,fe)=>{const Ye=(0,y.useRef)(null),vt=y.useContext(pe.D);return(0,y.useImperativeHandle)(fe,()=>({menu:Ye.current,focus:et=>{var nt;(nt=Ye.current)===null||nt===void 0||nt.focus(et)}})),y.createElement(te,Object.assign({ref:Ye},re,vt))});le.Item=oe,le.SubMenu=xt,le.Divider=ce,le.ItemGroup=Ae.BW;var ve=le},31709:function(mn,Ct,E){"use strict";E.d(Ct,{Z:function(){return St}});var y=E(59301),Ae=E(60499),pe={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"},ze=pe,Ce=E(7657),Fe=function(st,en){return y.createElement(Ce.Z,(0,Ae.Z)({},st,{ref:en,icon:ze}))},ge=y.forwardRef(Fe),je=ge,De=E(49198),se=E(33853),Ue=E(38819),me=E(92310),Ne=E.n(me),we=E(18642),be=E(43749),he=E(85899),ce=E(72190),Ie=E(18929),Ze=E(10228),$e=E(26112),oe=E(48736),Be=E(17119),tt=[10,20,50,100],Re=function(st){var en=st.pageSizeOptions,Kt=en===void 0?tt:en,vn=st.locale,nn=st.changeSize,Yt=st.pageSize,Jt=st.goButton,cn=st.quickGo,bt=st.rootPrefixCls,zt=st.disabled,un=st.buildOptionText,Cn=st.showSizeChanger,ct=st.sizeChangerRender,Zt=y.useState(""),wt=(0,ce.Z)(Zt,2),dn=wt[0],wn=wt[1],Un=function(){return!dn||Number.isNaN(dn)?void 0:Number(dn)},er=typeof un=="function"?un:function(Bn){return"".concat(Bn," ").concat(vn.items_per_page)},lr=function(xn){wn(xn.target.value)},Rn=function(xn){Jt||dn===""||(wn(""),!(xn.relatedTarget&&(xn.relatedTarget.className.indexOf("".concat(bt,"-item-link"))>=0||xn.relatedTarget.className.indexOf("".concat(bt,"-item"))>=0))&&(cn==null||cn(Un())))},Qn=function(xn){dn!==""&&(xn.keyCode===Ze.Z.ENTER||xn.type==="click")&&(wn(""),cn==null||cn(Un()))},Vt=function(){return Kt.some(function(xn){return xn.toString()===Yt.toString()})?Kt:Kt.concat([Yt]).sort(function(xn,jn){var nr=Number.isNaN(Number(xn))?0:Number(xn),Gn=Number.isNaN(Number(jn))?0:Number(jn);return nr-Gn})},Lt="".concat(bt,"-options");if(!Cn&&!cn)return null;var sn=null,an=null,tn=null;return Cn&&ct&&(sn=ct({disabled:zt,size:Yt,onSizeChange:function(xn){nn==null||nn(Number(xn))},"aria-label":vn.page_size,className:"".concat(Lt,"-size-changer"),options:Vt().map(function(Bn){return{label:er(Bn),value:Bn}})})),cn&&(Jt&&(tn=typeof Jt=="boolean"?y.createElement("button",{type:"button",onClick:Qn,onKeyUp:Qn,disabled:zt,className:"".concat(Lt,"-quick-jumper-button")},vn.jump_to_confirm):y.createElement("span",{onClick:Qn,onKeyUp:Qn},Jt)),an=y.createElement("div",{className:"".concat(Lt,"-quick-jumper")},vn.jump_to,y.createElement("input",{disabled:zt,type:"text",value:dn,onChange:lr,onKeyUp:Qn,onBlur:Rn,"aria-label":vn.page}),vn.page,tn)),y.createElement("li",{className:Lt},sn,an)},_e=Re,ye=function(st){var en=st.rootPrefixCls,Kt=st.page,vn=st.active,nn=st.className,Yt=st.showTitle,Jt=st.onClick,cn=st.onKeyPress,bt=st.itemRender,zt="".concat(en,"-item"),un=Ne()(zt,"".concat(zt,"-").concat(Kt),(0,we.Z)((0,we.Z)({},"".concat(zt,"-active"),vn),"".concat(zt,"-disabled"),!Kt),nn),Cn=function(){Jt(Kt)},ct=function(dn){cn(dn,Jt,Kt)},Zt=bt(Kt,"page",y.createElement("a",{rel:"nofollow"},Kt));return Zt?y.createElement("li",{title:Yt?String(Kt):null,className:un,onClick:Cn,onKeyDown:ct,tabIndex:0},Zt):null},Le=ye,Ve=function(st,en,Kt){return Kt};function Pe(){}function it(Qe){var st=Number(Qe);return typeof st=="number"&&!Number.isNaN(st)&&isFinite(st)&&Math.floor(st)===st}function Oe(Qe,st,en){var Kt=typeof Qe=="undefined"?st:Qe;return Math.floor((en-1)/Kt)+1}var ue=function(st){var en=st.prefixCls,Kt=en===void 0?"rc-pagination":en,vn=st.selectPrefixCls,nn=vn===void 0?"rc-select":vn,Yt=st.className,Jt=st.current,cn=st.defaultCurrent,bt=cn===void 0?1:cn,zt=st.total,un=zt===void 0?0:zt,Cn=st.pageSize,ct=st.defaultPageSize,Zt=ct===void 0?10:ct,wt=st.onChange,dn=wt===void 0?Pe:wt,wn=st.hideOnSinglePage,Un=st.align,er=st.showPrevNextJumpers,lr=er===void 0?!0:er,Rn=st.showQuickJumper,Qn=st.showLessItems,Vt=st.showTitle,Lt=Vt===void 0?!0:Vt,sn=st.onShowSizeChange,an=sn===void 0?Pe:sn,tn=st.locale,Bn=tn===void 0?Be.Z:tn,xn=st.style,jn=st.totalBoundaryShowSizeChanger,nr=jn===void 0?50:jn,Gn=st.disabled,Ln=st.simple,mr=st.showTotal,ir=st.showSizeChanger,jr=ir===void 0?un>nr:ir,Nr=st.sizeChangerRender,Fn=st.pageSizeOptions,Nn=st.itemRender,cr=Nn===void 0?Ve:Nn,sr=st.jumpPrevIcon,kt=st.jumpNextIcon,qt=st.prevIcon,gt=st.nextIcon,Ht=y.useRef(null),Et=(0,Ie.Z)(10,{value:Cn,defaultValue:Zt}),Ut=(0,ce.Z)(Et,2),ot=Ut[0],Qt=Ut[1],rn=(0,Ie.Z)(1,{value:Jt,defaultValue:bt,postState:function(Do){return Math.max(1,Math.min(Do,Oe(void 0,ot,un)))}}),_t=(0,ce.Z)(rn,2),rt=_t[0],Bt=_t[1],Ot=y.useState(rt),$t=(0,ce.Z)(Ot,2),On=$t[0],Wn=$t[1];(0,y.useEffect)(function(){Wn(rt)},[rt]);var Yn=dn!==Pe,Mr="current"in st,Hr=Math.max(1,rt-(Qn?3:5)),to=Math.min(Oe(void 0,ot,un),rt+(Qn?3:5));function fr(Ao,Do){var Co=Ao||y.createElement("button",{type:"button","aria-label":Do,className:"".concat(Kt,"-item-link")});return typeof Ao=="function"&&(Co=y.createElement(Ao,(0,he.Z)({},st))),Co}function Er(Ao){var Do=Ao.target.value,Co=Oe(void 0,ot,un),$i;return Do===""?$i=Do:Number.isNaN(Number(Do))?$i=On:Do>=Co?$i=Co:$i=Number(Do),$i}function Tr(Ao){return it(Ao)&&Ao!==rt&&it(un)&&un>0}var Yr=un>ot?Rn:!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!==On&&Wn(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 Or(Ao){var Do=Oe(Ao,ot,un),Co=rt>Do&&Do!==0?Do:rt;Qt(Ao),Wn(Co),an==null||an(rt,Ao),Bt(Co),dn==null||dn(Co,Ao)}function eo(Ao){if(Tr(Ao)&&!Gn){var Do=Oe(void 0,ot,un),Co=Ao;return Ao>Do?Co=Do:Ao<1&&(Co=1),Co!==On&&Wn(Co),Bt(Co),dn==null||dn(Co,ot),Co}return rt}var Jr=rt>1,Wo=rt<Oe(void 0,ot,un);function Ko(){Jr&&eo(rt-1)}function rr(){Wo&&eo(rt+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,$i=new Array(Co>2?Co-2:0),Uo=2;Uo<Co;Uo++)$i[Uo-2]=arguments[Uo];Do.apply(void 0,$i)}}function Zo(Ao){yo(Ao,Ko)}function vo(Ao){yo(Ao,rr)}function ui(Ao){yo(Ao,Ro)}function yi(Ao){yo(Ao,ei)}function Jo(Ao){var Do=cr(Ao,"prev",fr(qt,"prev page"));return y.isValidElement(Do)?y.cloneElement(Do,{disabled:!Jr}):Do}function pi(Ao){var Do=cr(Ao,"next",fr(gt,"next page"));return y.isValidElement(Do)?y.cloneElement(Do,{disabled:!Wo}):Do}function ki(Ao){(Ao.type==="click"||Ao.keyCode===Ze.Z.ENTER)&&eo(On)}var Ci=null,Oi=(0,$e.Z)(st,{aria:!0,data:!0}),No=mr&&y.createElement("li",{className:"".concat(Kt,"-total-text")},mr(un,[un===0?0:(rt-1)*ot+1,rt*ot>un?un:rt*ot])),Je=null,hn=Oe(void 0,ot,un);if(wn&&un<=ot)return null;var Mt=[],bn={rootPrefixCls:Kt,onClick:eo,onKeyPress:yo,showTitle:Lt,itemRender:cr,page:-1},Jn=rt-1>0?rt-1:0,Zn=rt+1<hn?rt+1:hn,kn=Rn&&Rn.goButton,yr=(0,be.Z)(Ln)==="object"?Ln.readOnly:!Ln,zn=kn,Kn=null;Ln&&(kn&&(typeof kn=="boolean"?zn=y.createElement("button",{type:"button",onClick:ki,onKeyUp:ki},Bn.jump_to_confirm):zn=y.createElement("span",{onClick:ki,onKeyUp:ki},kn),zn=y.createElement("li",{title:Lt?"".concat(Bn.jump_to).concat(rt,"/").concat(hn):null,className:"".concat(Kt,"-simple-pager")},zn)),Kn=y.createElement("li",{title:Lt?"".concat(rt,"/").concat(hn):null,className:"".concat(Kt,"-simple-pager")},yr?On:y.createElement("input",{type:"text","aria-label":Bn.jump_to,value:On,disabled:Gn,onKeyDown:ro,onKeyUp:oo,onChange:oo,onBlur:ao,size:3}),y.createElement("span",{className:"".concat(Kt,"-slash")},"/"),hn));var tr=Qn?1:2;if(hn<=3+tr*2){hn||Mt.push(y.createElement(Le,(0,Ae.Z)({},bn,{key:"noPager",page:1,className:"".concat(Kt,"-item-disabled")})));for(var kr=1;kr<=hn;kr+=1)Mt.push(y.createElement(Le,(0,Ae.Z)({},bn,{key:kr,page:kr,active:rt===kr})))}else{var wo=Qn?Bn.prev_3:Bn.prev_5,ci=Qn?Bn.next_3:Bn.next_5,ii=cr(Hr,"jump-prev",fr(sr,"prev page")),oi=cr(to,"jump-next",fr(kt,"next page"));lr&&(Ci=ii?y.createElement("li",{title:Lt?wo:null,key:"prev",onClick:Ro,tabIndex:0,onKeyDown:ui,className:Ne()("".concat(Kt,"-jump-prev"),(0,we.Z)({},"".concat(Kt,"-jump-prev-custom-icon"),!!sr))},ii):null,Je=oi?y.createElement("li",{title:Lt?ci:null,key:"next",onClick:ei,tabIndex:0,onKeyDown:yi,className:Ne()("".concat(Kt,"-jump-next"),(0,we.Z)({},"".concat(Kt,"-jump-next-custom-icon"),!!kt))},oi):null);var vi=Math.max(1,rt-tr),mi=Math.min(rt+tr,hn);rt-1<=tr&&(mi=1+tr*2),hn-rt<=tr&&(vi=hn-tr*2);for(var Li=vi;Li<=mi;Li+=1)Mt.push(y.createElement(Le,(0,Ae.Z)({},bn,{key:Li,page:Li,active:rt===Li})));if(rt-1>=tr*2&&rt!==3&&(Mt[0]=y.cloneElement(Mt[0],{className:Ne()("".concat(Kt,"-item-after-jump-prev"),Mt[0].props.className)}),Mt.unshift(Ci)),hn-rt>=tr*2&&rt!==hn-2){var Bi=Mt[Mt.length-1];Mt[Mt.length-1]=y.cloneElement(Bi,{className:Ne()("".concat(Kt,"-item-before-jump-next"),Bi.props.className)}),Mt.push(Je)}vi!==1&&Mt.unshift(y.createElement(Le,(0,Ae.Z)({},bn,{key:1,page:1}))),mi!==hn&&Mt.push(y.createElement(Le,(0,Ae.Z)({},bn,{key:hn,page:hn})))}var Ti=Jo(Jn);if(Ti){var Vi=!Jr||!hn;Ti=y.createElement("li",{title:Lt?Bn.prev_page:null,onClick:Ko,tabIndex:Vi?null:0,onKeyDown:Zo,className:Ne()("".concat(Kt,"-prev"),(0,we.Z)({},"".concat(Kt,"-disabled"),Vi)),"aria-disabled":Vi},Ti)}var sa=pi(Zn);if(sa){var fa,wa;Ln?(fa=!Wo,wa=Jr?0:null):(fa=!Wo||!hn,wa=fa?null:0),sa=y.createElement("li",{title:Lt?Bn.next_page:null,onClick:rr,tabIndex:wa,onKeyDown:vo,className:Ne()("".concat(Kt,"-next"),(0,we.Z)({},"".concat(Kt,"-disabled"),fa)),"aria-disabled":fa},sa)}var ha=Ne()(Kt,Yt,(0,we.Z)((0,we.Z)((0,we.Z)((0,we.Z)((0,we.Z)({},"".concat(Kt,"-start"),Un==="start"),"".concat(Kt,"-center"),Un==="center"),"".concat(Kt,"-end"),Un==="end"),"".concat(Kt,"-simple"),Ln),"".concat(Kt,"-disabled"),Gn));return y.createElement("ul",(0,Ae.Z)({className:ha,style:xn,ref:Ht},Oi),No,Ti,Ln?Kn:Mt,sa,y.createElement(_e,{locale:Bn,rootPrefixCls:Kt,disabled:Gn,selectPrefixCls:nn,changeSize:Or,pageSize:ot,pageSizeOptions:Fn,quickGo:Yr?eo:null,goButton:zn,showSizeChanger:jr,sizeChangerRender:Nr}))},Xe=ue,Ge=E(61852),lt=E(48755),Tt=E(31756),Ke=E(13783),Se=E(9017),Ft=E(82326),It=E(57700),ut=E(36237),xe=E(53075),ke=E(64910),at=E(39082),Rt=E(63356),ft=E(51636),Nt=E(16931);const xt=Qe=>{const{componentCls:st}=Qe;return{[`${st}-disabled`]:{"&, &:hover":{cursor:"not-allowed",[`${st}-item-link`]:{color:Qe.colorTextDisabled,cursor:"not-allowed"}},"&:focus-visible":{cursor:"not-allowed",[`${st}-item-link`]:{color:Qe.colorTextDisabled,cursor:"not-allowed"}}},[`&${st}-disabled`]:{cursor:"not-allowed",[`${st}-item`]:{cursor:"not-allowed",backgroundColor:"transparent","&:hover, &:active":{backgroundColor:"transparent"},a:{color:Qe.colorTextDisabled,backgroundColor:"transparent",border:"none",cursor:"not-allowed"},"&-active":{borderColor:Qe.colorBorder,backgroundColor:Qe.itemActiveBgDisabled,"&:hover, &:active":{backgroundColor:Qe.itemActiveBgDisabled},a:{color:Qe.itemActiveColorDisabled}}},[`${st}-item-link`]:{color:Qe.colorTextDisabled,cursor:"not-allowed","&:hover, &:active":{backgroundColor:"transparent"},[`${st}-simple&`]:{backgroundColor:"transparent","&:hover, &:active":{backgroundColor:"transparent"}}},[`${st}-simple-pager`]:{color:Qe.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"}}}}}},Xt=Qe=>{const{componentCls:st}=Qe;return{[`&${st}-mini ${st}-total-text, &${st}-mini ${st}-simple-pager`]:{height:Qe.itemSizeSM,lineHeight:(0,ut.unit)(Qe.itemSizeSM)},[`&${st}-mini ${st}-item`]:{minWidth:Qe.itemSizeSM,height:Qe.itemSizeSM,margin:0,lineHeight:(0,ut.unit)(Qe.calc(Qe.itemSizeSM).sub(2).equal())},[`&${st}-mini ${st}-prev, &${st}-mini ${st}-next`]:{minWidth:Qe.itemSizeSM,height:Qe.itemSizeSM,margin:0,lineHeight:(0,ut.unit)(Qe.itemSizeSM)},[`&${st}-mini:not(${st}-disabled)`]:{[`${st}-prev, ${st}-next`]:{[`&:hover ${st}-item-link`]:{backgroundColor:Qe.colorBgTextHover},[`&:active ${st}-item-link`]:{backgroundColor:Qe.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:Qe.itemSizeSM,lineHeight:(0,ut.unit)(Qe.itemSizeSM)}},[`&${st}-mini ${st}-jump-prev, &${st}-mini ${st}-jump-next`]:{height:Qe.itemSizeSM,marginInlineEnd:0,lineHeight:(0,ut.unit)(Qe.itemSizeSM)},[`&${st}-mini ${st}-options`]:{marginInlineStart:Qe.paginationMiniOptionsMarginInlineStart,"&-size-changer":{top:Qe.miniOptionsSizeChangerTop},"&-quick-jumper":{height:Qe.itemSizeSM,lineHeight:(0,ut.unit)(Qe.itemSizeSM),input:Object.assign(Object.assign({},(0,xe.x0)(Qe)),{width:Qe.paginationMiniQuickJumperInputWidth,height:Qe.controlHeightSM})}}}},Wt=Qe=>{const{componentCls:st}=Qe;return{[`
|
|
|
&${st}-simple ${st}-prev,
|
|
|
&${st}-simple ${st}-next
|
|
|
`]:{height:Qe.itemSizeSM,lineHeight:(0,ut.unit)(Qe.itemSizeSM),verticalAlign:"top",[`${st}-item-link`]:{height:Qe.itemSizeSM,backgroundColor:"transparent",border:0,"&:hover":{backgroundColor:Qe.colorBgTextHover},"&:active":{backgroundColor:Qe.colorBgTextActive},"&::after":{height:Qe.itemSizeSM,lineHeight:(0,ut.unit)(Qe.itemSizeSM)}}},[`&${st}-simple ${st}-simple-pager`]:{display:"inline-block",height:Qe.itemSizeSM,marginInlineEnd:Qe.marginXS,input:{boxSizing:"border-box",height:"100%",padding:`0 ${(0,ut.unit)(Qe.paginationItemPaddingInline)}`,textAlign:"center",backgroundColor:Qe.itemInputBg,border:`${(0,ut.unit)(Qe.lineWidth)} ${Qe.lineType} ${Qe.colorBorder}`,borderRadius:Qe.borderRadius,outline:"none",transition:`border-color ${Qe.motionDurationMid}`,color:"inherit","&:hover":{borderColor:Qe.colorPrimary},"&:focus":{borderColor:Qe.colorPrimaryHover,boxShadow:`${(0,ut.unit)(Qe.inputOutlineOffset)} 0 ${(0,ut.unit)(Qe.controlOutlineWidth)} ${Qe.controlOutline}`},"&[disabled]":{color:Qe.colorTextDisabled,backgroundColor:Qe.colorBgContainerDisabled,borderColor:Qe.colorBorder,cursor:"not-allowed"}}}}},de=Qe=>{const{componentCls:st}=Qe;return{[`${st}-jump-prev, ${st}-jump-next`]:{outline:0,[`${st}-item-container`]:{position:"relative",[`${st}-item-link-icon`]:{color:Qe.colorPrimary,fontSize:Qe.fontSizeSM,opacity:0,transition:`all ${Qe.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:Qe.colorTextDisabled,letterSpacing:Qe.paginationEllipsisLetterSpacing,textAlign:"center",textIndent:Qe.paginationEllipsisTextIndent,opacity:1,transition:`all ${Qe.motionDurationMid}`}},"&:hover":{[`${st}-item-link-icon`]:{opacity:1},[`${st}-item-ellipsis`]:{opacity:0}}},[`
|
|
|
${st}-prev,
|
|
|
${st}-jump-prev,
|
|
|
${st}-jump-next
|
|
|
`]:{marginInlineEnd:Qe.marginXS},[`
|
|
|
${st}-prev,
|
|
|
${st}-next,
|
|
|
${st}-jump-prev,
|
|
|
${st}-jump-next
|
|
|
`]:{display:"inline-block",minWidth:Qe.itemSize,height:Qe.itemSize,color:Qe.colorText,fontFamily:Qe.fontFamily,lineHeight:(0,ut.unit)(Qe.itemSize),textAlign:"center",verticalAlign:"middle",listStyle:"none",borderRadius:Qe.borderRadius,cursor:"pointer",transition:`all ${Qe.motionDurationMid}`},[`${st}-prev, ${st}-next`]:{outline:0,button:{color:Qe.colorText,cursor:"pointer",userSelect:"none"},[`${st}-item-link`]:{display:"block",width:"100%",height:"100%",padding:0,fontSize:Qe.fontSizeSM,textAlign:"center",backgroundColor:"transparent",border:`${(0,ut.unit)(Qe.lineWidth)} ${Qe.lineType} transparent`,borderRadius:Qe.borderRadius,outline:"none",transition:`all ${Qe.motionDurationMid}`},[`&:hover ${st}-item-link`]:{backgroundColor:Qe.colorBgTextHover},[`&:active ${st}-item-link`]:{backgroundColor:Qe.colorBgTextActive},[`&${st}-disabled:hover`]:{[`${st}-item-link`]:{backgroundColor:"transparent"}}},[`${st}-slash`]:{marginInlineEnd:Qe.paginationSlashMarginInlineEnd,marginInlineStart:Qe.paginationSlashMarginInlineStart},[`${st}-options`]:{display:"inline-block",marginInlineStart:Qe.margin,verticalAlign:"middle","&-size-changer":{display:"inline-block",width:"auto"},"&-quick-jumper":{display:"inline-block",height:Qe.controlHeight,marginInlineStart:Qe.marginXS,lineHeight:(0,ut.unit)(Qe.controlHeight),verticalAlign:"top",input:Object.assign(Object.assign(Object.assign({},(0,xe.ik)(Qe)),(0,at.$U)(Qe,{borderColor:Qe.colorBorder,hoverBorderColor:Qe.colorPrimaryHover,activeBorderColor:Qe.colorPrimary,activeShadow:Qe.activeShadow})),{"&[disabled]":Object.assign({},(0,at.Xy)(Qe)),width:Qe.calc(Qe.controlHeightLG).mul(1.25).equal(),height:Qe.controlHeight,boxSizing:"border-box",margin:0,marginInlineStart:Qe.marginXS,marginInlineEnd:Qe.marginXS})}}}},ne=Qe=>{const{componentCls:st}=Qe;return{[`${st}-item`]:{display:"inline-block",minWidth:Qe.itemSize,height:Qe.itemSize,marginInlineEnd:Qe.marginXS,fontFamily:Qe.fontFamily,lineHeight:(0,ut.unit)(Qe.calc(Qe.itemSize).sub(2).equal()),textAlign:"center",verticalAlign:"middle",listStyle:"none",backgroundColor:Qe.itemBg,border:`${(0,ut.unit)(Qe.lineWidth)} ${Qe.lineType} transparent`,borderRadius:Qe.borderRadius,outline:0,cursor:"pointer",userSelect:"none",a:{display:"block",padding:`0 ${(0,ut.unit)(Qe.paginationItemPaddingInline)}`,color:Qe.colorText,"&:hover":{textDecoration:"none"}},[`&:not(${st}-item-active)`]:{"&:hover":{transition:`all ${Qe.motionDurationMid}`,backgroundColor:Qe.colorBgTextHover},"&:active":{backgroundColor:Qe.colorBgTextActive}},"&-active":{fontWeight:Qe.fontWeightStrong,backgroundColor:Qe.itemActiveBg,borderColor:Qe.colorPrimary,a:{color:Qe.colorPrimary},"&:hover":{borderColor:Qe.colorPrimaryHover},"&:hover a":{color:Qe.colorPrimaryHover}}}}},te=Qe=>{const{componentCls:st}=Qe;return{[st]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},(0,Rt.Wf)(Qe)),{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:Qe.itemSize,marginInlineEnd:Qe.marginXS,lineHeight:(0,ut.unit)(Qe.calc(Qe.itemSize).sub(2).equal()),verticalAlign:"middle"}}),ne(Qe)),de(Qe)),Wt(Qe)),Xt(Qe)),xt(Qe)),{[`@media only screen and (max-width: ${Qe.screenLG}px)`]:{[`${st}-item`]:{"&-after-jump-prev, &-before-jump-next":{display:"none"}}},[`@media only screen and (max-width: ${Qe.screenSM}px)`]:{[`${st}-options`]:{display:"none"}}}),[`&${Qe.componentCls}-rtl`]:{direction:"rtl"}}},le=Qe=>{const{componentCls:st}=Qe;return{[`${st}:not(${st}-disabled)`]:{[`${st}-item`]:Object.assign({},(0,Rt.Qy)(Qe)),[`${st}-jump-prev, ${st}-jump-next`]:{"&:focus-visible":Object.assign({[`${st}-item-link-icon`]:{opacity:1},[`${st}-item-ellipsis`]:{opacity:0}},(0,Rt.oN)(Qe))},[`${st}-prev, ${st}-next`]:{[`&:focus-visible ${st}-item-link`]:Object.assign({},(0,Rt.oN)(Qe))}}}},ve=Qe=>Object.assign({itemBg:Qe.colorBgContainer,itemSize:Qe.controlHeight,itemSizeSM:Qe.controlHeightSM,itemActiveBg:Qe.colorBgContainer,itemLinkBg:Qe.colorBgContainer,itemActiveColorDisabled:Qe.colorTextDisabled,itemActiveBgDisabled:Qe.controlItemBgActiveDisabled,itemInputBg:Qe.colorBgContainer,miniOptionsSizeChangerTop:0},(0,ke.T)(Qe)),re=Qe=>(0,ft.mergeToken)(Qe,{inputOutlineOffset:0,paginationMiniOptionsMarginInlineStart:Qe.calc(Qe.marginXXS).div(2).equal(),paginationMiniQuickJumperInputWidth:Qe.calc(Qe.controlHeightLG).mul(1.1).equal(),paginationItemPaddingInline:Qe.calc(Qe.marginXXS).mul(1.5).equal(),paginationEllipsisLetterSpacing:Qe.calc(Qe.marginXXS).div(2).equal(),paginationSlashMarginInlineStart:Qe.marginSM,paginationSlashMarginInlineEnd:Qe.marginSM,paginationEllipsisTextIndent:"0.13em"},(0,ke.e)(Qe));var fe=(0,Nt.I$)("Pagination",Qe=>{const st=re(Qe);return[te(st),le(st)]},ve);const Ye=Qe=>{const{componentCls:st}=Qe;return{[`${st}${st}-bordered${st}-disabled:not(${st}-mini)`]:{"&, &:hover":{[`${st}-item-link`]:{borderColor:Qe.colorBorder}},"&:focus-visible":{[`${st}-item-link`]:{borderColor:Qe.colorBorder}},[`${st}-item, ${st}-item-link`]:{backgroundColor:Qe.colorBgContainerDisabled,borderColor:Qe.colorBorder,[`&:hover:not(${st}-item-active)`]:{backgroundColor:Qe.colorBgContainerDisabled,borderColor:Qe.colorBorder,a:{color:Qe.colorTextDisabled}},[`&${st}-item-active`]:{backgroundColor:Qe.itemActiveBgDisabled}},[`${st}-prev, ${st}-next`]:{"&:hover button":{backgroundColor:Qe.colorBgContainerDisabled,borderColor:Qe.colorBorder,color:Qe.colorTextDisabled},[`${st}-item-link`]:{backgroundColor:Qe.colorBgContainerDisabled,borderColor:Qe.colorBorder}}},[`${st}${st}-bordered:not(${st}-mini)`]:{[`${st}-prev, ${st}-next`]:{"&:hover button":{borderColor:Qe.colorPrimaryHover,backgroundColor:Qe.itemBg},[`${st}-item-link`]:{backgroundColor:Qe.itemLinkBg,borderColor:Qe.colorBorder},[`&:hover ${st}-item-link`]:{borderColor:Qe.colorPrimary,backgroundColor:Qe.itemBg,color:Qe.colorPrimary},[`&${st}-disabled`]:{[`${st}-item-link`]:{borderColor:Qe.colorBorder,color:Qe.colorTextDisabled}}},[`${st}-item`]:{backgroundColor:Qe.itemBg,border:`${(0,ut.unit)(Qe.lineWidth)} ${Qe.lineType} ${Qe.colorBorder}`,[`&:hover:not(${st}-item-active)`]:{borderColor:Qe.colorPrimary,backgroundColor:Qe.itemBg,a:{color:Qe.colorPrimary}},"&-active":{borderColor:Qe.colorPrimary}}}}};var vt=(0,Nt.bk)(["Pagination","bordered"],Qe=>{const st=re(Qe);return[Ye(st)]},ve);function et(Qe){return(0,y.useMemo)(()=>typeof Qe=="boolean"?[Qe,{}]:Qe&&typeof Qe=="object"?[!0,Qe]:[void 0,void 0],[Qe])}var nt=function(Qe,st){var en={};for(var Kt in Qe)Object.prototype.hasOwnProperty.call(Qe,Kt)&&st.indexOf(Kt)<0&&(en[Kt]=Qe[Kt]);if(Qe!=null&&typeof Object.getOwnPropertySymbols=="function")for(var vn=0,Kt=Object.getOwnPropertySymbols(Qe);vn<Kt.length;vn++)st.indexOf(Kt[vn])<0&&Object.prototype.propertyIsEnumerable.call(Qe,Kt[vn])&&(en[Kt[vn]]=Qe[Kt[vn]]);return en},yt=Qe=>{const{align:st,prefixCls:en,selectPrefixCls:Kt,className:vn,rootClassName:nn,style:Yt,size:Jt,locale:cn,responsive:bt,showSizeChanger:zt,selectComponentClass:un,pageSizeOptions:Cn}=Qe,ct=nt(Qe,["align","prefixCls","selectPrefixCls","className","rootClassName","style","size","locale","responsive","showSizeChanger","selectComponentClass","pageSizeOptions"]),{xs:Zt}=(0,Ke.Z)(bt),[,wt]=(0,It.ZP)(),{getPrefixCls:dn,direction:wn,showSizeChanger:Un,className:er,style:lr}=(0,lt.dj)("pagination"),Rn=dn("pagination",en),[Qn,Vt,Lt]=fe(Rn),sn=(0,Tt.Z)(Jt),an=sn==="small"||!!(Zt&&!sn&&bt),[tn]=(0,Se.Z)("Pagination",Ge.Z),Bn=Object.assign(Object.assign({},tn),cn),[xn,jn]=et(zt),[nr,Gn]=et(Un),Ln=xn!=null?xn:nr,mr=jn!=null?jn:Gn,ir=un||Ft.default,jr=y.useMemo(()=>Cn?Cn.map(kt=>Number(kt)):void 0,[Cn]),Nr=kt=>{var qt;const{disabled:gt,size:Ht,onSizeChange:Et,"aria-label":Ut,className:ot,options:Qt}=kt,{className:rn,onChange:_t}=mr||{},rt=(qt=Qt.find(Bt=>String(Bt.value)===String(Ht)))===null||qt===void 0?void 0:qt.value;return y.createElement(ir,Object.assign({disabled:gt,showSearch:!0,popupMatchSelectWidth:!1,getPopupContainer:Bt=>Bt.parentNode,"aria-label":Ut,options:Qt},mr,{value:rt,onChange:(Bt,Ot)=>{Et==null||Et(Bt),_t==null||_t(Bt,Ot)},size:an?"small":"middle",className:Ne()(ot,rn)}))},Fn=y.useMemo(()=>{const kt=y.createElement("span",{className:`${Rn}-item-ellipsis`},"\u2022\u2022\u2022"),qt=y.createElement("button",{className:`${Rn}-item-link`,type:"button",tabIndex:-1},wn==="rtl"?y.createElement(Ue.Z,null):y.createElement(se.Z,null)),gt=y.createElement("button",{className:`${Rn}-item-link`,type:"button",tabIndex:-1},wn==="rtl"?y.createElement(se.Z,null):y.createElement(Ue.Z,null)),Ht=y.createElement("a",{className:`${Rn}-item-link`},y.createElement("div",{className:`${Rn}-item-container`},wn==="rtl"?y.createElement(De.Z,{className:`${Rn}-item-link-icon`}):y.createElement(je,{className:`${Rn}-item-link-icon`}),kt)),Et=y.createElement("a",{className:`${Rn}-item-link`},y.createElement("div",{className:`${Rn}-item-container`},wn==="rtl"?y.createElement(je,{className:`${Rn}-item-link-icon`}):y.createElement(De.Z,{className:`${Rn}-item-link-icon`}),kt));return{prevIcon:qt,nextIcon:gt,jumpPrevIcon:Ht,jumpNextIcon:Et}},[wn,Rn]),Nn=dn("select",Kt),cr=Ne()({[`${Rn}-${st}`]:!!st,[`${Rn}-mini`]:an,[`${Rn}-rtl`]:wn==="rtl",[`${Rn}-bordered`]:wt.wireframe},er,vn,nn,Vt,Lt),sr=Object.assign(Object.assign({},lr),Yt);return Qn(y.createElement(y.Fragment,null,wt.wireframe&&y.createElement(vt,{prefixCls:Rn}),y.createElement(Xe,Object.assign({},Fn,ct,{style:sr,prefixCls:Rn,selectPrefixCls:Nn,className:cr,locale:Bn,pageSizeOptions:jr,showSizeChanger:Ln,sizeChangerRender:Nr}))))},St=yt},69106:function(mn,Ct,E){"use strict";E.d(Ct,{aV:function(){return De},t5:function(){return se}});var y=E(59301),Ae=E(92310),pe=E.n(Ae),ze=E(29125),Ce=E(54500),Fe=E(48755),ge=E(85074),je=function(me,Ne){var we={};for(var be in me)Object.prototype.hasOwnProperty.call(me,be)&&Ne.indexOf(be)<0&&(we[be]=me[be]);if(me!=null&&typeof Object.getOwnPropertySymbols=="function")for(var he=0,be=Object.getOwnPropertySymbols(me);he<be.length;he++)Ne.indexOf(be[he])<0&&Object.prototype.propertyIsEnumerable.call(me,be[he])&&(we[be[he]]=me[be[he]]);return we};const De=me=>{let{title:Ne,content:we,prefixCls:be}=me;return!Ne&&!we?null:y.createElement(y.Fragment,null,Ne&&y.createElement("div",{className:`${be}-title`},Ne),we&&y.createElement("div",{className:`${be}-inner-content`},we))},se=me=>{const{hashId:Ne,prefixCls:we,className:be,style:he,placement:ce="top",title:Ie,content:Ze,children:$e}=me,oe=(0,Ce.Z)(Ie),Be=(0,Ce.Z)(Ze),tt=pe()(Ne,we,`${we}-pure`,`${we}-placement-${ce}`,be);return y.createElement("div",{className:tt,style:he},y.createElement("div",{className:`${we}-arrow`}),y.createElement(ze.G,Object.assign({},me,{className:Ne,prefixCls:we}),$e||y.createElement(De,{prefixCls:we,title:oe,content:Be})))},Ue=me=>{const{prefixCls:Ne,className:we}=me,be=je(me,["prefixCls","className"]),{getPrefixCls:he}=y.useContext(Fe.E_),ce=he("popover",Ne),[Ie,Ze,$e]=(0,ge.Z)(ce);return Ie(y.createElement(se,Object.assign({},be,{prefixCls:ce,hashId:Ze,className:pe()(we,$e)})))};Ct.ZP=Ue},37639:function(mn,Ct,E){"use strict";var y=E(59301),Ae=E(92310),pe=E.n(Ae),ze=E(18929),Ce=E(10228),Fe=E(54500),ge=E(86641),je=E(22703),De=E(25399),se=E(69106),Ue=E(48755),me=E(85074),Ne=function(he,ce){var Ie={};for(var Ze in he)Object.prototype.hasOwnProperty.call(he,Ze)&&ce.indexOf(Ze)<0&&(Ie[Ze]=he[Ze]);if(he!=null&&typeof Object.getOwnPropertySymbols=="function")for(var $e=0,Ze=Object.getOwnPropertySymbols(he);$e<Ze.length;$e++)ce.indexOf(Ze[$e])<0&&Object.prototype.propertyIsEnumerable.call(he,Ze[$e])&&(Ie[Ze[$e]]=he[Ze[$e]]);return Ie};const be=y.forwardRef((he,ce)=>{var Ie,Ze;const{prefixCls:$e,title:oe,content:Be,overlayClassName:tt,placement:Re="top",trigger:_e="hover",children:ye,mouseEnterDelay:Le=.1,mouseLeaveDelay:Ve=.1,onOpenChange:Pe,overlayStyle:it={},styles:Oe,classNames:ue}=he,Xe=Ne(he,["prefixCls","title","content","overlayClassName","placement","trigger","children","mouseEnterDelay","mouseLeaveDelay","onOpenChange","overlayStyle","styles","classNames"]),{getPrefixCls:Ge,className:lt,style:Tt,classNames:Ke,styles:Se}=(0,Ue.dj)("popover"),Ft=Ge("popover",$e),[It,ut,xe]=(0,me.Z)(Ft),ke=Ge(),at=pe()(tt,ut,xe,lt,Ke.root,ue==null?void 0:ue.root),Rt=pe()(Ke.body,ue==null?void 0:ue.body),[ft,Nt]=(0,ze.Z)(!1,{value:(Ie=he.open)!==null&&Ie!==void 0?Ie:he.visible,defaultValue:(Ze=he.defaultOpen)!==null&&Ze!==void 0?Ze:he.defaultVisible}),xt=(te,le)=>{Nt(te,!0),Pe==null||Pe(te,le)},Xt=te=>{te.keyCode===Ce.Z.ESC&&xt(!1,te)},Wt=te=>{xt(te)},de=(0,Fe.Z)(oe),ne=(0,Fe.Z)(Be);return It(y.createElement(De.Z,Object.assign({placement:Re,trigger:_e,mouseEnterDelay:Le,mouseLeaveDelay:Ve},Xe,{prefixCls:Ft,classNames:{root:at,body:Rt},styles:{root:Object.assign(Object.assign(Object.assign(Object.assign({},Se.root),Tt),it),Oe==null?void 0:Oe.root),body:Object.assign(Object.assign({},Se.body),Oe==null?void 0:Oe.body)},ref:ce,open:ft,onOpenChange:Wt,overlay:de||ne?y.createElement(se.aV,{prefixCls:Ft,title:de,content:ne}):null,transitionName:(0,ge.m)(ke,"zoom-big",Xe.transitionName),"data-popover-inject":!0}),(0,je.Tm)(ye,{onKeyDown:te=>{var le,ve;y.isValidElement(ye)&&((ve=ye==null?void 0:(le=ye.props).onKeyDown)===null||ve===void 0||ve.call(le,te)),Xt(te)}})))});be._InternalPanelDoNotUseOrYouWillBeFired=se.ZP,Ct.Z=be},85074:function(mn,Ct,E){"use strict";var y=E(63356),Ae=E(34925),pe=E(37645),ze=E(36305),Ce=E(34998),Fe=E(16931),ge=E(51636);const je=Ue=>{const{componentCls:me,popoverColor:Ne,titleMinWidth:we,fontWeightStrong:be,innerPadding:he,boxShadowSecondary:ce,colorTextHeading:Ie,borderRadiusLG:Ze,zIndexPopup:$e,titleMarginBottom:oe,colorBgElevated:Be,popoverBg:tt,titleBorderBottom:Re,innerContentPadding:_e,titlePadding:ye}=Ue;return[{[me]:Object.assign(Object.assign({},(0,y.Wf)(Ue)),{position:"absolute",top:0,left:{_skip_check_:!0,value:0},zIndex:$e,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":Be,width:"max-content",maxWidth:"100vw","&-rtl":{direction:"rtl"},"&-hidden":{display:"none"},[`${me}-content`]:{position:"relative"},[`${me}-inner`]:{backgroundColor:tt,backgroundClip:"padding-box",borderRadius:Ze,boxShadow:ce,padding:he},[`${me}-title`]:{minWidth:we,marginBottom:oe,color:Ie,fontWeight:be,borderBottom:Re,padding:ye},[`${me}-inner-content`]:{color:Ne,padding:_e}})},(0,pe.ZP)(Ue,"var(--antd-arrow-background-color)"),{[`${me}-pure`]:{position:"relative",maxWidth:"none",margin:Ue.sizePopupArrow,display:"inline-block",[`${me}-content`]:{display:"inline-block"}}}]},De=Ue=>{const{componentCls:me}=Ue;return{[me]:Ce.i.map(Ne=>{const we=Ue[`${Ne}6`];return{[`&${me}-${Ne}`]:{"--antd-arrow-background-color":we,[`${me}-inner`]:{backgroundColor:we},[`${me}-arrow`]:{background:"transparent"}}}})}},se=Ue=>{const{lineWidth:me,controlHeight:Ne,fontHeight:we,padding:be,wireframe:he,zIndexPopupBase:ce,borderRadiusLG:Ie,marginXS:Ze,lineType:$e,colorSplit:oe,paddingSM:Be}=Ue,tt=Ne-we,Re=tt/2,_e=tt/2-me,ye=be;return Object.assign(Object.assign(Object.assign({titleMinWidth:177,zIndexPopup:ce+30},(0,ze.w)(Ue)),(0,pe.wZ)({contentRadius:Ie,limitVerticalRadius:!0})),{innerPadding:he?0:12,titleMarginBottom:he?0:Ze,titlePadding:he?`${Re}px ${ye}px ${_e}px`:0,titleBorderBottom:he?`${me}px ${$e} ${oe}`:"none",innerContentPadding:he?`${Be}px ${ye}px`:0})};Ct.Z=(0,Fe.I$)("Popover",Ue=>{const{colorBgElevated:me,colorText:Ne}=Ue,we=(0,ge.mergeToken)(Ue,{popoverBg:me,popoverColor:Ne});return[je(we),De(we),(0,Ae._y)(we,"zoom-big")]},se,{resetStyle:!1,deprecatedTokens:[["width","titleMinWidth"],["minWidth","titleMinWidth"]]})},89787:function(mn,Ct,E){"use strict";E.d(Ct,{Z:function(){return cn}});var y=E(59301),Ae=E(17835),pe=E(29679),ze=E(40001),Ce=E(19248),Fe=E(99267),ge=E(92310),je=E.n(ge),De=E(2738),se=E(48755),Ue=E(60499),me=E(85899),Ne=E(42244),we={percent:0,prefixCls:"rc-progress",strokeColor:"#2db7f5",strokeLinecap:"round",strokeWidth:1,trailColor:"#D9D9D9",trailWidth:1,gapPosition:"bottom"},be=function(){var zt=(0,y.useRef)([]),un=(0,y.useRef)(null);return(0,y.useEffect)(function(){var Cn=Date.now(),ct=!1;zt.current.forEach(function(Zt){if(Zt){ct=!0;var wt=Zt.style;wt.transitionDuration=".3s, .3s, .3s, .06s",un.current&&Cn-un.current<100&&(wt.transitionDuration="0s, 0s")}}),ct&&(un.current=Date.now())}),zt.current},he=["className","percent","prefixCls","strokeColor","strokeLinecap","strokeWidth","style","trailColor","trailWidth","transition"],ce=function(zt){var un=(0,me.Z)((0,me.Z)({},we),zt),Cn=un.className,ct=un.percent,Zt=un.prefixCls,wt=un.strokeColor,dn=un.strokeLinecap,wn=un.strokeWidth,Un=un.style,er=un.trailColor,lr=un.trailWidth,Rn=un.transition,Qn=(0,Ne.Z)(un,he);delete Qn.gapPosition;var Vt=Array.isArray(ct)?ct:[ct],Lt=Array.isArray(wt)?wt:[wt],sn=be(),an=wn/2,tn=100-wn/2,Bn="M ".concat(dn==="round"?an:0,",").concat(an,`
|
|
|
L `).concat(dn==="round"?tn:100,",").concat(an),xn="0 0 100 ".concat(wn),jn=0;return y.createElement("svg",(0,Ue.Z)({className:je()("".concat(Zt,"-line"),Cn),viewBox:xn,preserveAspectRatio:"none",style:Un},Qn),y.createElement("path",{className:"".concat(Zt,"-line-trail"),d:Bn,strokeLinecap:dn,stroke:er,strokeWidth:lr||wn,fillOpacity:"0"}),Vt.map(function(nr,Gn){var Ln=1;switch(dn){case"round":Ln=1-wn/100;break;case"square":Ln=1-wn/2/100;break;default:Ln=1;break}var mr={strokeDasharray:"".concat(nr*Ln,"px, 100px"),strokeDashoffset:"-".concat(jn,"px"),transition:Rn||"stroke-dashoffset 0.3s ease 0s, stroke-dasharray .3s ease 0s, stroke 0.3s linear"},ir=Lt[Gn]||Lt[Lt.length-1];return jn+=nr,y.createElement("path",{key:Gn,className:"".concat(Zt,"-line-path"),d:Bn,strokeLinecap:dn,stroke:ir,strokeWidth:wn,fillOpacity:"0",ref:function(Nr){sn[Gn]=Nr},style:mr})}))},Ie=ce,Ze=E(43749),$e=E(72190),oe=E(47273),Be=0,tt=(0,oe.Z)();function Re(){var bt;return tt?(bt=Be,Be+=1):bt="TEST_OR_SSR",bt}var _e=function(bt){var zt=y.useState(),un=(0,$e.Z)(zt,2),Cn=un[0],ct=un[1];return y.useEffect(function(){ct("rc_progress_".concat(Re()))},[]),bt||Cn},ye=function(zt){var un=zt.bg,Cn=zt.children;return y.createElement("div",{style:{width:"100%",height:"100%",background:un}},Cn)};function Le(bt,zt){return Object.keys(bt).map(function(un){var Cn=parseFloat(un),ct="".concat(Math.floor(Cn*zt),"%");return"".concat(bt[un]," ").concat(ct)})}var Ve=y.forwardRef(function(bt,zt){var un=bt.prefixCls,Cn=bt.color,ct=bt.gradientId,Zt=bt.radius,wt=bt.style,dn=bt.ptg,wn=bt.strokeLinecap,Un=bt.strokeWidth,er=bt.size,lr=bt.gapDegree,Rn=Cn&&(0,Ze.Z)(Cn)==="object",Qn=Rn?"#FFF":void 0,Vt=er/2,Lt=y.createElement("circle",{className:"".concat(un,"-circle-path"),r:Zt,cx:Vt,cy:Vt,stroke:Qn,strokeLinecap:wn,strokeWidth:Un,opacity:dn===0?0:1,style:wt,ref:zt});if(!Rn)return Lt;var sn="".concat(ct,"-conic"),an=lr?"".concat(180+lr/2,"deg"):"0deg",tn=Le(Cn,(360-lr)/360),Bn=Le(Cn,1),xn="conic-gradient(from ".concat(an,", ").concat(tn.join(", "),")"),jn="linear-gradient(to ".concat(lr?"bottom":"top",", ").concat(Bn.join(", "),")");return y.createElement(y.Fragment,null,y.createElement("mask",{id:sn},Lt),y.createElement("foreignObject",{x:0,y:0,width:er,height:er,mask:"url(#".concat(sn,")")},y.createElement(ye,{bg:jn},y.createElement(ye,{bg:xn}))))}),Pe=Ve,it=100,Oe=function(zt,un,Cn,ct,Zt,wt,dn,wn,Un,er){var lr=arguments.length>10&&arguments[10]!==void 0?arguments[10]:0,Rn=Cn/100*360*((360-wt)/360),Qn=wt===0?0:{bottom:0,top:180,left:90,right:-90}[dn],Vt=(100-ct)/100*un;Un==="round"&&ct!==100&&(Vt+=er/2,Vt>=un&&(Vt=un-.01));var Lt=it/2;return{stroke:typeof wn=="string"?wn:void 0,strokeDasharray:"".concat(un,"px ").concat(zt),strokeDashoffset:Vt+lr,transform:"rotate(".concat(Zt+Rn+Qn,"deg)"),transformOrigin:"".concat(Lt,"px ").concat(Lt,"px"),transition:"stroke-dashoffset .3s ease 0s, stroke-dasharray .3s ease 0s, stroke .3s, stroke-width .06s ease .3s, opacity .3s ease 0s",fillOpacity:0}},ue=["id","prefixCls","steps","strokeWidth","trailWidth","gapDegree","gapPosition","trailColor","strokeLinecap","style","className","strokeColor","percent"];function Xe(bt){var zt=bt!=null?bt:[];return Array.isArray(zt)?zt:[zt]}var Ge=function(zt){var un=(0,me.Z)((0,me.Z)({},we),zt),Cn=un.id,ct=un.prefixCls,Zt=un.steps,wt=un.strokeWidth,dn=un.trailWidth,wn=un.gapDegree,Un=wn===void 0?0:wn,er=un.gapPosition,lr=un.trailColor,Rn=un.strokeLinecap,Qn=un.style,Vt=un.className,Lt=un.strokeColor,sn=un.percent,an=(0,Ne.Z)(un,ue),tn=it/2,Bn=_e(Cn),xn="".concat(Bn,"-gradient"),jn=tn-wt/2,nr=Math.PI*2*jn,Gn=Un>0?90+Un/2:-90,Ln=nr*((360-Un)/360),mr=(0,Ze.Z)(Zt)==="object"?Zt:{count:Zt,gap:2},ir=mr.count,jr=mr.gap,Nr=Xe(sn),Fn=Xe(Lt),Nn=Fn.find(function(Et){return Et&&(0,Ze.Z)(Et)==="object"}),cr=Nn&&(0,Ze.Z)(Nn)==="object",sr=cr?"butt":Rn,kt=Oe(nr,Ln,0,100,Gn,Un,er,lr,sr,wt),qt=be(),gt=function(){var Ut=0;return Nr.map(function(ot,Qt){var rn=Fn[Qt]||Fn[Fn.length-1],_t=Oe(nr,Ln,Ut,ot,Gn,Un,er,rn,sr,wt);return Ut+=ot,y.createElement(Pe,{key:Qt,color:rn,ptg:ot,radius:jn,prefixCls:ct,gradientId:xn,style:_t,strokeLinecap:sr,strokeWidth:wt,gapDegree:Un,ref:function(Bt){qt[Qt]=Bt},size:it})}).reverse()},Ht=function(){var Ut=Math.round(ir*(Nr[0]/100)),ot=100/ir,Qt=0;return new Array(ir).fill(null).map(function(rn,_t){var rt=_t<=Ut-1?Fn[0]:lr,Bt=rt&&(0,Ze.Z)(rt)==="object"?"url(#".concat(xn,")"):void 0,Ot=Oe(nr,Ln,Qt,ot,Gn,Un,er,rt,"butt",wt,jr);return Qt+=(Ln-Ot.strokeDashoffset+jr)*100/Ln,y.createElement("circle",{key:_t,className:"".concat(ct,"-circle-path"),r:jn,cx:tn,cy:tn,stroke:Bt,strokeWidth:wt,opacity:1,style:Ot,ref:function(On){qt[_t]=On}})})};return y.createElement("svg",(0,Ue.Z)({className:je()("".concat(ct,"-circle"),Vt),viewBox:"0 0 ".concat(it," ").concat(it),style:Qn,id:Cn,role:"presentation"},an),!ir&&y.createElement("circle",{className:"".concat(ct,"-circle-trail"),r:jn,cx:tn,cy:tn,stroke:lr,strokeLinecap:sr,strokeWidth:dn||wt,style:kt}),ir?Ht():gt())},lt=Ge,Tt={Line:Ie,Circle:lt},Ke=E(25399),Se=E(68361);function Ft(bt){return!bt||bt<0?0:bt>100?100:bt}function It(bt){let{success:zt,successPercent:un}=bt,Cn=un;return zt&&"progress"in zt&&(Cn=zt.progress),zt&&"percent"in zt&&(Cn=zt.percent),Cn}const ut=bt=>{let{percent:zt,success:un,successPercent:Cn}=bt;const ct=Ft(It({success:un,successPercent:Cn}));return[ct,Ft(Ft(zt)-ct)]},xe=bt=>{let{success:zt={},strokeColor:un}=bt;const{strokeColor:Cn}=zt;return[Cn||Se.presetPrimaryColors.green,un||null]},ke=(bt,zt,un)=>{var Cn,ct,Zt,wt;let dn=-1,wn=-1;if(zt==="step"){const Un=un.steps,er=un.strokeWidth;typeof bt=="string"||typeof bt=="undefined"?(dn=bt==="small"?2:14,wn=er!=null?er:8):typeof bt=="number"?[dn,wn]=[bt,bt]:[dn=14,wn=8]=Array.isArray(bt)?bt:[bt.width,bt.height],dn*=Un}else if(zt==="line"){const Un=un==null?void 0:un.strokeWidth;typeof bt=="string"||typeof bt=="undefined"?wn=Un||(bt==="small"?6:8):typeof bt=="number"?[dn,wn]=[bt,bt]:[dn=-1,wn=8]=Array.isArray(bt)?bt:[bt.width,bt.height]}else(zt==="circle"||zt==="dashboard")&&(typeof bt=="string"||typeof bt=="undefined"?[dn,wn]=bt==="small"?[60,60]:[120,120]:typeof bt=="number"?[dn,wn]=[bt,bt]:Array.isArray(bt)&&(dn=(ct=(Cn=bt[0])!==null&&Cn!==void 0?Cn:bt[1])!==null&&ct!==void 0?ct:120,wn=(wt=(Zt=bt[0])!==null&&Zt!==void 0?Zt:bt[1])!==null&&wt!==void 0?wt:120));return[dn,wn]},at=3,Rt=bt=>at/bt*100;var Nt=bt=>{const{prefixCls:zt,trailColor:un=null,strokeLinecap:Cn="round",gapPosition:ct,gapDegree:Zt,width:wt=120,type:dn,children:wn,success:Un,size:er=wt,steps:lr}=bt,[Rn,Qn]=ke(er,"circle");let{strokeWidth:Vt}=bt;Vt===void 0&&(Vt=Math.max(Rt(Rn),6));const Lt={width:Rn,height:Qn,fontSize:Rn*.15+6},sn=y.useMemo(()=>{if(Zt||Zt===0)return Zt;if(dn==="dashboard")return 75},[Zt,dn]),an=ut(bt),tn=ct||dn==="dashboard"&&"bottom"||void 0,Bn=Object.prototype.toString.call(bt.strokeColor)==="[object Object]",xn=xe({success:Un,strokeColor:bt.strokeColor}),jn=je()(`${zt}-inner`,{[`${zt}-circle-gradient`]:Bn}),nr=y.createElement(lt,{steps:lr,percent:lr?an[1]:an,strokeWidth:Vt,trailWidth:Vt,strokeColor:lr?xn[1]:xn,strokeLinecap:Cn,trailColor:un,prefixCls:zt,gapDegree:sn,gapPosition:tn}),Gn=Rn<=20,Ln=y.createElement("div",{className:jn,style:Lt},nr,!Gn&&wn);return Gn?y.createElement(Ke.Z,{title:wn},Ln):Ln},xt=E(36237),Xt=E(63356),Wt=E(16931),de=E(51636);const ne="--progress-line-stroke-color",te="--progress-percent",le=bt=>{const zt=bt?"100%":"-100%";return new xt.Keyframes(`antProgress${bt?"RTL":"LTR"}Active`,{"0%":{transform:`translateX(${zt}) scaleX(0)`,opacity:.1},"20%":{transform:`translateX(${zt}) scaleX(0)`,opacity:.5},to:{transform:"translateX(0) scaleX(1)",opacity:0}})},ve=bt=>{const{componentCls:zt,iconCls:un}=bt;return{[zt]:Object.assign(Object.assign({},(0,Xt.Wf)(bt)),{display:"inline-block","&-rtl":{direction:"rtl"},"&-line":{position:"relative",width:"100%",fontSize:bt.fontSize},[`${zt}-outer`]:{display:"inline-flex",alignItems:"center",width:"100%"},[`${zt}-inner`]:{position:"relative",display:"inline-block",width:"100%",flex:1,overflow:"hidden",verticalAlign:"middle",backgroundColor:bt.remainingColor,borderRadius:bt.lineBorderRadius},[`${zt}-inner:not(${zt}-circle-gradient)`]:{[`${zt}-circle-path`]:{stroke:bt.defaultColor}},[`${zt}-success-bg, ${zt}-bg`]:{position:"relative",background:bt.defaultColor,borderRadius:bt.lineBorderRadius,transition:`all ${bt.motionDurationSlow} ${bt.motionEaseInOutCirc}`},[`${zt}-layout-bottom`]:{display:"flex",flexDirection:"column",alignItems:"center",justifyContent:"center",[`${zt}-text`]:{width:"max-content",marginInlineStart:0,marginTop:bt.marginXXS}},[`${zt}-bg`]:{overflow:"hidden","&::after":{content:'""',background:{_multi_value_:!0,value:["inherit",`var(${ne})`]},height:"100%",width:`calc(1 / var(${te}) * 100%)`,display:"block"},[`&${zt}-bg-inner`]:{minWidth:"max-content","&::after":{content:"none"},[`${zt}-text-inner`]:{color:bt.colorWhite,[`&${zt}-text-bright`]:{color:"rgba(0, 0, 0, 0.45)"}}}},[`${zt}-success-bg`]:{position:"absolute",insetBlockStart:0,insetInlineStart:0,backgroundColor:bt.colorSuccess},[`${zt}-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},[`&${zt}-text-outer`]:{width:"max-content"},[`&${zt}-text-outer${zt}-text-start`]:{width:"max-content",marginInlineStart:0,marginInlineEnd:bt.marginXS}},[`${zt}-text-inner`]:{display:"flex",justifyContent:"center",alignItems:"center",width:"100%",height:"100%",marginInlineStart:0,padding:`0 ${(0,xt.unit)(bt.paddingXXS)}`,[`&${zt}-text-start`]:{justifyContent:"start"},[`&${zt}-text-end`]:{justifyContent:"end"}},[`&${zt}-status-active`]:{[`${zt}-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:'""'}},[`&${zt}-rtl${zt}-status-active`]:{[`${zt}-bg::before`]:{animationName:le(!0)}},[`&${zt}-status-exception`]:{[`${zt}-bg`]:{backgroundColor:bt.colorError},[`${zt}-text`]:{color:bt.colorError}},[`&${zt}-status-exception ${zt}-inner:not(${zt}-circle-gradient)`]:{[`${zt}-circle-path`]:{stroke:bt.colorError}},[`&${zt}-status-success`]:{[`${zt}-bg`]:{backgroundColor:bt.colorSuccess},[`${zt}-text`]:{color:bt.colorSuccess}},[`&${zt}-status-success ${zt}-inner:not(${zt}-circle-gradient)`]:{[`${zt}-circle-path`]:{stroke:bt.colorSuccess}}})}},re=bt=>{const{componentCls:zt,iconCls:un}=bt;return{[zt]:{[`${zt}-circle-trail`]:{stroke:bt.remainingColor},[`&${zt}-circle ${zt}-inner`]:{position:"relative",lineHeight:1,backgroundColor:"transparent"},[`&${zt}-circle ${zt}-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}},[`${zt}-circle&-status-exception`]:{[`${zt}-text`]:{color:bt.colorError}},[`${zt}-circle&-status-success`]:{[`${zt}-text`]:{color:bt.colorSuccess}}},[`${zt}-inline-circle`]:{lineHeight:1,[`${zt}-inner`]:{verticalAlign:"bottom"}}}},fe=bt=>{const{componentCls:zt}=bt;return{[zt]:{[`${zt}-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}}}}}},Ye=bt=>{const{componentCls:zt,iconCls:un}=bt;return{[zt]:{[`${zt}-small&-line, ${zt}-small&-line ${zt}-text ${un}`]:{fontSize:bt.fontSizeSM}}}},vt=bt=>({circleTextColor:bt.colorText,defaultColor:bt.colorInfo,remainingColor:bt.colorFillSecondary,lineBorderRadius:100,circleTextFontSize:"1em",circleIconFontSize:`${bt.fontSize/bt.fontSizeSM}em`});var et=(0,Wt.I$)("Progress",bt=>{const zt=bt.calc(bt.marginXXS).div(2).equal(),un=(0,de.mergeToken)(bt,{progressStepMarginInlineEnd:zt,progressStepMinWidth:zt,progressActiveMotionDuration:"2.4s"});return[ve(un),re(un),fe(un),Ye(un)]},vt),nt=function(bt,zt){var un={};for(var Cn in bt)Object.prototype.hasOwnProperty.call(bt,Cn)&&zt.indexOf(Cn)<0&&(un[Cn]=bt[Cn]);if(bt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var ct=0,Cn=Object.getOwnPropertySymbols(bt);ct<Cn.length;ct++)zt.indexOf(Cn[ct])<0&&Object.prototype.propertyIsEnumerable.call(bt,Cn[ct])&&(un[Cn[ct]]=bt[Cn[ct]]);return un};const mt=bt=>{let zt=[];return Object.keys(bt).forEach(un=>{const Cn=parseFloat(un.replace(/%/g,""));Number.isNaN(Cn)||zt.push({key:Cn,value:bt[un]})}),zt=zt.sort((un,Cn)=>un.key-Cn.key),zt.map(un=>{let{key:Cn,value:ct}=un;return`${ct} ${Cn}%`}).join(", ")},yt=(bt,zt)=>{const{from:un=Se.presetPrimaryColors.blue,to:Cn=Se.presetPrimaryColors.blue,direction:ct=zt==="rtl"?"to left":"to right"}=bt,Zt=nt(bt,["from","to","direction"]);if(Object.keys(Zt).length!==0){const dn=mt(Zt),wn=`linear-gradient(${ct}, ${dn})`;return{background:wn,[ne]:wn}}const wt=`linear-gradient(${ct}, ${un}, ${Cn})`;return{background:wt,[ne]:wt}};var Qe=bt=>{const{prefixCls:zt,direction:un,percent:Cn,size:ct,strokeWidth:Zt,strokeColor:wt,strokeLinecap:dn="round",children:wn,trailColor:Un=null,percentPosition:er,success:lr}=bt,{align:Rn,type:Qn}=er,Vt=wt&&typeof wt!="string"?yt(wt,un):{[ne]:wt,background:wt},Lt=dn==="square"||dn==="butt"?0:void 0,sn=ct!=null?ct:[-1,Zt||(ct==="small"?6:8)],[an,tn]=ke(sn,"line",{strokeWidth:Zt}),Bn={backgroundColor:Un||void 0,borderRadius:Lt},xn=Object.assign(Object.assign({width:`${Ft(Cn)}%`,height:tn,borderRadius:Lt},Vt),{[te]:Ft(Cn)/100}),jn=It(bt),nr={width:`${Ft(jn)}%`,height:tn,borderRadius:Lt,backgroundColor:lr==null?void 0:lr.strokeColor},Gn={width:an<0?"100%":an},Ln=y.createElement("div",{className:`${zt}-inner`,style:Bn},y.createElement("div",{className:je()(`${zt}-bg`,`${zt}-bg-${Qn}`),style:xn},Qn==="inner"&&wn),jn!==void 0&&y.createElement("div",{className:`${zt}-success-bg`,style:nr})),mr=Qn==="outer"&&Rn==="start",ir=Qn==="outer"&&Rn==="end";return Qn==="outer"&&Rn==="center"?y.createElement("div",{className:`${zt}-layout-bottom`},Ln,wn):y.createElement("div",{className:`${zt}-outer`,style:Gn},mr&&wn,Ln,ir&&wn)},en=bt=>{const{size:zt,steps:un,rounding:Cn=Math.round,percent:ct=0,strokeWidth:Zt=8,strokeColor:wt,trailColor:dn=null,prefixCls:wn,children:Un}=bt,er=Cn(un*(ct/100)),lr=zt==="small"?2:14,Rn=zt!=null?zt:[lr,Zt],[Qn,Vt]=ke(Rn,"step",{steps:un,strokeWidth:Zt}),Lt=Qn/un,sn=Array.from({length:un});for(let an=0;an<un;an++){const tn=Array.isArray(wt)?wt[an]:wt;sn[an]=y.createElement("div",{key:an,className:je()(`${wn}-steps-item`,{[`${wn}-steps-item-active`]:an<=er-1}),style:{backgroundColor:an<=er-1?tn:dn,width:Lt,height:Vt}})}return y.createElement("div",{className:`${wn}-steps-outer`},sn,Un)},Kt=function(bt,zt){var un={};for(var Cn in bt)Object.prototype.hasOwnProperty.call(bt,Cn)&&zt.indexOf(Cn)<0&&(un[Cn]=bt[Cn]);if(bt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var ct=0,Cn=Object.getOwnPropertySymbols(bt);ct<Cn.length;ct++)zt.indexOf(Cn[ct])<0&&Object.prototype.propertyIsEnumerable.call(bt,Cn[ct])&&(un[Cn[ct]]=bt[Cn[ct]]);return un};const vn=null,nn=["normal","exception","active","success"];var Jt=y.forwardRef((bt,zt)=>{const{prefixCls:un,className:Cn,rootClassName:ct,steps:Zt,strokeColor:wt,percent:dn=0,size:wn="default",showInfo:Un=!0,type:er="line",status:lr,format:Rn,style:Qn,percentPosition:Vt={}}=bt,Lt=Kt(bt,["prefixCls","className","rootClassName","steps","strokeColor","percent","size","showInfo","type","status","format","style","percentPosition"]),{align:sn="end",type:an="outer"}=Vt,tn=Array.isArray(wt)?wt[0]:wt,Bn=typeof wt=="string"||Array.isArray(wt)?wt:void 0,xn=y.useMemo(()=>{if(tn){const gt=typeof tn=="string"?tn:Object.values(tn)[0];return new Ae.FastColor(gt).isLight()}return!1},[wt]),jn=y.useMemo(()=>{var gt,Ht;const Et=It(bt);return parseInt(Et!==void 0?(gt=Et!=null?Et:0)===null||gt===void 0?void 0:gt.toString():(Ht=dn!=null?dn:0)===null||Ht===void 0?void 0:Ht.toString(),10)},[dn,bt.success,bt.successPercent]),nr=y.useMemo(()=>!nn.includes(lr)&&jn>=100?"success":lr||"normal",[lr,jn]),{getPrefixCls:Gn,direction:Ln,progress:mr}=y.useContext(se.E_),ir=Gn("progress",un),[jr,Nr,Fn]=et(ir),Nn=er==="line",cr=Nn&&!Zt,sr=y.useMemo(()=>{if(!Un)return null;const gt=It(bt);let Ht;const Et=Rn||(ot=>`${ot}%`),Ut=Nn&&xn&&an==="inner";return an==="inner"||Rn||nr!=="exception"&&nr!=="success"?Ht=Et(Ft(dn),Ft(gt)):nr==="exception"?Ht=Nn?y.createElement(Ce.Z,null):y.createElement(Fe.Z,null):nr==="success"&&(Ht=Nn?y.createElement(pe.Z,null):y.createElement(ze.Z,null)),y.createElement("span",{className:je()(`${ir}-text`,{[`${ir}-text-bright`]:Ut,[`${ir}-text-${sn}`]:cr,[`${ir}-text-${an}`]:cr}),title:typeof Ht=="string"?Ht:void 0},Ht)},[Un,dn,jn,nr,er,ir,Rn]);let kt;er==="line"?kt=Zt?y.createElement(en,Object.assign({},bt,{strokeColor:Bn,prefixCls:ir,steps:typeof Zt=="object"?Zt.count:Zt}),sr):y.createElement(Qe,Object.assign({},bt,{strokeColor:tn,prefixCls:ir,direction:Ln,percentPosition:{align:sn,type:an}}),sr):(er==="circle"||er==="dashboard")&&(kt=y.createElement(Nt,Object.assign({},bt,{strokeColor:tn,prefixCls:ir,progressStatus:nr}),sr));const qt=je()(ir,`${ir}-status-${nr}`,{[`${ir}-${er==="dashboard"&&"circle"||er}`]:er!=="line",[`${ir}-inline-circle`]:er==="circle"&&ke(wn,"circle")[0]<=20,[`${ir}-line`]:cr,[`${ir}-line-align-${sn}`]:cr,[`${ir}-line-position-${an}`]:cr,[`${ir}-steps`]:Zt,[`${ir}-show-info`]:Un,[`${ir}-${wn}`]:typeof wn=="string",[`${ir}-rtl`]:Ln==="rtl"},mr==null?void 0:mr.className,Cn,ct,Nr,Fn);return jr(y.createElement("div",Object.assign({ref:zt,style:Object.assign(Object.assign({},mr==null?void 0:mr.style),Qn),className:qt,role:"progressbar","aria-valuenow":jn,"aria-valuemin":0,"aria-valuemax":100},(0,De.Z)(Lt,["trailColor","strokeWidth","width","gapDegree","gapPosition","strokeLinecap","success","successPercent"])),kt))}),cn=Jt},63139:function(mn,Ct,E){"use strict";E.d(Ct,{Z:function(){return ut}});var y=E(59301),Ae=E(60499),pe={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"},ze=pe,Ce=E(7657),Fe=function(ke,at){return y.createElement(Ce.Z,(0,Ae.Z)({},ke,{ref:at,icon:ze}))},ge=y.forwardRef(Fe),je=ge,De=E(92310),se=E.n(De),Ue=E(18642),me=E(72190),Ne=E(42244),we=E(18929),be=E(10228),he=E(26112);function ce(xe,ke){var at=xe.disabled,Rt=xe.prefixCls,ft=xe.character,Nt=xe.characterRender,xt=xe.index,Xt=xe.count,Wt=xe.value,de=xe.allowHalf,ne=xe.focused,te=xe.onHover,le=xe.onClick,ve=function(yt){te(yt,xt)},re=function(yt){le(yt,xt)},fe=function(yt){yt.keyCode===be.Z.ENTER&&le(yt,xt)},Ye=xt+1,vt=new Set([Rt]);Wt===0&&xt===0&&ne?vt.add("".concat(Rt,"-focused")):de&&Wt+.5>=Ye&&Wt<Ye?(vt.add("".concat(Rt,"-half")),vt.add("".concat(Rt,"-active")),ne&&vt.add("".concat(Rt,"-focused"))):(Ye<=Wt?vt.add("".concat(Rt,"-full")):vt.add("".concat(Rt,"-zero")),Ye===Wt&&ne&&vt.add("".concat(Rt,"-focused")));var et=typeof ft=="function"?ft(xe):ft,nt=y.createElement("li",{className:se()(Array.from(vt)),ref:ke},y.createElement("div",{onClick:at?null:re,onKeyDown:at?null:fe,onMouseMove:at?null:ve,role:"radio","aria-checked":Wt>xt?"true":"false","aria-posinset":xt+1,"aria-setsize":Xt,tabIndex:at?-1:0},y.createElement("div",{className:"".concat(Rt,"-first")},et),y.createElement("div",{className:"".concat(Rt,"-second")},et)));return Nt&&(nt=Nt(nt,xe)),nt}var Ie=y.forwardRef(ce);function Ze(){var xe=y.useRef({});function ke(Rt){return xe.current[Rt]}function at(Rt){return function(ft){xe.current[Rt]=ft}}return[ke,at]}function $e(xe){var ke=xe.pageXOffset,at="scrollLeft";if(typeof ke!="number"){var Rt=xe.document;ke=Rt.documentElement[at],typeof ke!="number"&&(ke=Rt.body[at])}return ke}function oe(xe){var ke,at,Rt=xe.ownerDocument,ft=Rt.body,Nt=Rt&&Rt.documentElement,xt=xe.getBoundingClientRect();return ke=xt.left,at=xt.top,ke-=Nt.clientLeft||ft.clientLeft||0,at-=Nt.clientTop||ft.clientTop||0,{left:ke,top:at}}function Be(xe){var ke=oe(xe),at=xe.ownerDocument,Rt=at.defaultView||at.parentWindow;return ke.left+=$e(Rt),ke.left}var tt=["prefixCls","className","defaultValue","value","count","allowHalf","allowClear","keyboard","character","characterRender","disabled","direction","tabIndex","autoFocus","onHoverChange","onChange","onFocus","onBlur","onKeyDown","onMouseLeave"];function Re(xe,ke){var at=xe.prefixCls,Rt=at===void 0?"rc-rate":at,ft=xe.className,Nt=xe.defaultValue,xt=xe.value,Xt=xe.count,Wt=Xt===void 0?5:Xt,de=xe.allowHalf,ne=de===void 0?!1:de,te=xe.allowClear,le=te===void 0?!0:te,ve=xe.keyboard,re=ve===void 0?!0:ve,fe=xe.character,Ye=fe===void 0?"\u2605":fe,vt=xe.characterRender,et=xe.disabled,nt=xe.direction,mt=nt===void 0?"ltr":nt,yt=xe.tabIndex,St=yt===void 0?0:yt,Qe=xe.autoFocus,st=xe.onHoverChange,en=xe.onChange,Kt=xe.onFocus,vn=xe.onBlur,nn=xe.onKeyDown,Yt=xe.onMouseLeave,Jt=(0,Ne.Z)(xe,tt),cn=Ze(),bt=(0,me.Z)(cn,2),zt=bt[0],un=bt[1],Cn=y.useRef(null),ct=function(){if(!et){var sr;(sr=Cn.current)===null||sr===void 0||sr.focus()}};y.useImperativeHandle(ke,function(){return{focus:ct,blur:function(){if(!et){var sr;(sr=Cn.current)===null||sr===void 0||sr.blur()}}}});var Zt=(0,we.Z)(Nt||0,{value:xt}),wt=(0,me.Z)(Zt,2),dn=wt[0],wn=wt[1],Un=(0,we.Z)(null),er=(0,me.Z)(Un,2),lr=er[0],Rn=er[1],Qn=function(sr,kt){var qt=mt==="rtl",gt=sr+1;if(ne){var Ht=zt(sr),Et=Be(Ht),Ut=Ht.clientWidth;(qt&&kt-Et>Ut/2||!qt&&kt-Et<Ut/2)&&(gt-=.5)}return gt},Vt=function(sr){wn(sr),en==null||en(sr)},Lt=y.useState(!1),sn=(0,me.Z)(Lt,2),an=sn[0],tn=sn[1],Bn=function(){tn(!0),Kt==null||Kt()},xn=function(){tn(!1),vn==null||vn()},jn=y.useState(null),nr=(0,me.Z)(jn,2),Gn=nr[0],Ln=nr[1],mr=function(sr,kt){var qt=Qn(kt,sr.pageX);qt!==lr&&(Ln(qt),Rn(null)),st==null||st(qt)},ir=function(sr){et||(Ln(null),Rn(null),st==null||st(void 0)),sr&&(Yt==null||Yt(sr))},jr=function(sr,kt){var qt=Qn(kt,sr.pageX),gt=!1;le&&(gt=qt===dn),ir(),Vt(gt?0:qt),Rn(gt?qt:null)},Nr=function(sr){var kt=sr.keyCode,qt=mt==="rtl",gt=ne?.5:1;re&&(kt===be.Z.RIGHT&&dn<Wt&&!qt?(Vt(dn+gt),sr.preventDefault()):kt===be.Z.LEFT&&dn>0&&!qt||kt===be.Z.RIGHT&&dn>0&&qt?(Vt(dn-gt),sr.preventDefault()):kt===be.Z.LEFT&&dn<Wt&&qt&&(Vt(dn+gt),sr.preventDefault())),nn==null||nn(sr)};y.useEffect(function(){Qe&&!et&&ct()},[]);var Fn=new Array(Wt).fill(0).map(function(cr,sr){return y.createElement(Ie,{ref:un(sr),index:sr,count:Wt,disabled:et,prefixCls:"".concat(Rt,"-star"),allowHalf:ne,value:Gn===null?dn:Gn,onClick:jr,onHover:mr,key:cr||sr,character:Ye,characterRender:vt,focused:an})}),Nn=se()(Rt,ft,(0,Ue.Z)((0,Ue.Z)({},"".concat(Rt,"-disabled"),et),"".concat(Rt,"-rtl"),mt==="rtl"));return y.createElement("ul",(0,Ae.Z)({className:Nn,onMouseLeave:ir,tabIndex:et?-1:St,onFocus:et?null:Bn,onBlur:et?null:xn,onKeyDown:et?null:Nr,ref:Cn},(0,he.Z)(Jt,{aria:!0,data:!0,attr:!0})),Fn)}var _e=y.forwardRef(Re),ye=_e,Le=E(48755),Ve=E(25399),Pe=E(36237),it=E(63356),Oe=E(16931),ue=E(51636);const Xe=xe=>{const{componentCls:ke}=xe;return{[`${ke}-star`]:{position:"relative",display:"inline-block",color:"inherit",cursor:"pointer","&:not(:last-child)":{marginInlineEnd:xe.marginXS},"> div":{transition:`all ${xe.motionDurationMid}, outline 0s`,"&:hover":{transform:xe.starHoverScale},"&:focus":{outline:0},"&:focus-visible":{outline:`${(0,Pe.unit)(xe.lineWidth)} dashed ${xe.starColor}`,transform:xe.starHoverScale}},"&-first, &-second":{color:xe.starBg,transition:`all ${xe.motionDurationMid}`,userSelect:"none"},"&-first":{position:"absolute",top:0,insetInlineStart:0,width:"50%",height:"100%",overflow:"hidden",opacity:0},[`&-half ${ke}-star-first, &-half ${ke}-star-second`]:{opacity:1},[`&-half ${ke}-star-first, &-full ${ke}-star-second`]:{color:"inherit"}}}},Ge=xe=>({[`&-rtl${xe.componentCls}`]:{direction:"rtl"}}),lt=xe=>{const{componentCls:ke}=xe;return{[ke]:Object.assign(Object.assign(Object.assign(Object.assign({},(0,it.Wf)(xe)),{display:"inline-block",margin:0,padding:0,color:xe.starColor,fontSize:xe.starSize,lineHeight:1,listStyle:"none",outline:"none",[`&-disabled${ke} ${ke}-star`]:{cursor:"default","> div:hover":{transform:"scale(1)"}}}),Xe(xe)),Ge(xe))}},Tt=xe=>({starColor:xe.yellow6,starSize:xe.controlHeightLG*.5,starHoverScale:"scale(1.1)",starBg:xe.colorFillContent});var Ke=(0,Oe.I$)("Rate",xe=>{const ke=(0,ue.mergeToken)(xe,{});return[lt(ke)]},Tt),Se=E(2171),Ft=function(xe,ke){var at={};for(var Rt in xe)Object.prototype.hasOwnProperty.call(xe,Rt)&&ke.indexOf(Rt)<0&&(at[Rt]=xe[Rt]);if(xe!=null&&typeof Object.getOwnPropertySymbols=="function")for(var ft=0,Rt=Object.getOwnPropertySymbols(xe);ft<Rt.length;ft++)ke.indexOf(Rt[ft])<0&&Object.prototype.propertyIsEnumerable.call(xe,Rt[ft])&&(at[Rt[ft]]=xe[Rt[ft]]);return at},ut=y.forwardRef((xe,ke)=>{const{prefixCls:at,className:Rt,rootClassName:ft,style:Nt,tooltips:xt,character:Xt=y.createElement(je,null),disabled:Wt}=xe,de=Ft(xe,["prefixCls","className","rootClassName","style","tooltips","character","disabled"]),ne=(yt,St)=>{let{index:Qe}=St;return xt?y.createElement(Ve.Z,{title:xt[Qe]},yt):yt},{getPrefixCls:te,direction:le,rate:ve}=y.useContext(Le.E_),re=te("rate",at),[fe,Ye,vt]=Ke(re),et=Object.assign(Object.assign({},ve==null?void 0:ve.style),Nt),nt=y.useContext(Se.Z),mt=Wt!=null?Wt:nt;return fe(y.createElement(ye,Object.assign({ref:ke,character:Xt,characterRender:ne,disabled:mt},de,{className:se()(Rt,ft,Ye,vt,ve==null?void 0:ve.className),style:et,prefixCls:re,direction:le})))})},82326:function(mn,Ct,E){"use strict";var y=E(59301),Ae=E(92310),pe=E.n(Ae),ze=E(37463),Ce=E(2738),Fe=E(75030),ge=E(86641),je=E(45915),De=E(82855),se=E(48755),Ue=E(38406),me=E(2171),Ne=E(83397),we=E(31756),be=E(56553),he=E(24971),ce=E(70045),Ie=E(57700),Ze=E(1722),$e=E(90376),oe=E(68525),Be=E(90005),tt=function(Ve,Pe){var it={};for(var Oe in Ve)Object.prototype.hasOwnProperty.call(Ve,Oe)&&Pe.indexOf(Oe)<0&&(it[Oe]=Ve[Oe]);if(Ve!=null&&typeof Object.getOwnPropertySymbols=="function")for(var ue=0,Oe=Object.getOwnPropertySymbols(Ve);ue<Oe.length;ue++)Pe.indexOf(Oe[ue])<0&&Object.prototype.propertyIsEnumerable.call(Ve,Oe[ue])&&(it[Oe[ue]]=Ve[Oe[ue]]);return it};const Re="SECRET_COMBOBOX_MODE_DO_NOT_USE",_e=(Ve,Pe)=>{var it;const{prefixCls:Oe,bordered:ue,className:Xe,rootClassName:Ge,getPopupContainer:lt,popupClassName:Tt,dropdownClassName:Ke,listHeight:Se=256,placement:Ft,listItemHeight:It,size:ut,disabled:xe,notFoundContent:ke,status:at,builtinPlacements:Rt,dropdownMatchSelectWidth:ft,popupMatchSelectWidth:Nt,direction:xt,style:Xt,allowClear:Wt,variant:de,dropdownStyle:ne,transitionName:te,tagRender:le,maxCount:ve,prefix:re}=Ve,fe=tt(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:Ye,getPrefixCls:vt,renderEmpty:et,direction:nt,virtual:mt,popupMatchSelectWidth:yt,popupOverflow:St}=y.useContext(se.E_),Qe=(0,se.dj)("select"),[,st]=(0,Ie.ZP)(),en=It!=null?It:st==null?void 0:st.controlHeight,Kt=vt("select",Oe),vn=vt(),nn=xt!=null?xt:nt,{compactSize:Yt,compactItemClassnames:Jt}=(0,ce.ri)(Kt,nn),[cn,bt]=(0,he.Z)("select",de,ue),zt=(0,Ne.Z)(Kt),[un,Cn,ct]=(0,$e.Z)(Kt,zt),Zt=y.useMemo(()=>{const{mode:Nr}=Ve;if(Nr!=="combobox")return Nr===Re?"combobox":Nr},[Ve.mode]),wt=Zt==="multiple"||Zt==="tags",dn=(0,Be.Z)(Ve.suffixIcon,Ve.showArrow),wn=(it=Nt!=null?Nt:ft)!==null&&it!==void 0?it:yt,{status:Un,hasFeedback:er,isFormItemInput:lr,feedbackIcon:Rn}=y.useContext(be.aM),Qn=(0,De.F)(Un,at);let Vt;ke!==void 0?Vt=ke:Zt==="combobox"?Vt=null:Vt=(et==null?void 0:et("Select"))||y.createElement(Ue.Z,{componentName:"Select"});const{suffixIcon:Lt,itemIcon:sn,removeIcon:an,clearIcon:tn}=(0,oe.Z)(Object.assign(Object.assign({},fe),{multiple:wt,hasFeedback:er,feedbackIcon:Rn,showSuffixIcon:dn,prefixCls:Kt,componentName:"Select"})),Bn=Wt===!0?{clearIcon:tn}:Wt,xn=(0,Ce.Z)(fe,["suffixIcon","itemIcon"]),jn=pe()(Tt||Ke,{[`${Kt}-dropdown-${nn}`]:nn==="rtl"},Ge,ct,zt,Cn),nr=(0,we.Z)(Nr=>{var Fn;return(Fn=ut!=null?ut:Yt)!==null&&Fn!==void 0?Fn:Nr}),Gn=y.useContext(me.Z),Ln=xe!=null?xe:Gn,mr=pe()({[`${Kt}-lg`]:nr==="large",[`${Kt}-sm`]:nr==="small",[`${Kt}-rtl`]:nn==="rtl",[`${Kt}-${cn}`]:bt,[`${Kt}-in-form-item`]:lr},(0,De.Z)(Kt,Qn,er),Jt,Qe.className,Xe,Ge,ct,zt,Cn),ir=y.useMemo(()=>Ft!==void 0?Ft:nn==="rtl"?"bottomRight":"bottomLeft",[Ft,nn]),[jr]=(0,Fe.Cn)("SelectLike",ne==null?void 0:ne.zIndex);return un(y.createElement(ze.ZP,Object.assign({ref:Pe,virtual:mt,showSearch:Qe.showSearch},xn,{style:Object.assign(Object.assign({},Qe.style),Xt),dropdownMatchSelectWidth:wn,transitionName:(0,ge.m)(vn,"slide-up",te),builtinPlacements:(0,Ze.Z)(Rt,St),listHeight:Se,listItemHeight:en,mode:Zt,prefixCls:Kt,placement:ir,direction:nn,prefix:re,suffixIcon:Lt,menuItemSelectedIcon:sn,removeIcon:an,allowClear:Bn,notFoundContent:Vt,className:mr,getPopupContainer:lt||Ye,dropdownClassName:jn,disabled:Ln,dropdownStyle:Object.assign(Object.assign({},ne),{zIndex:jr}),maxCount:wt?ve:void 0,tagRender:wt?le:void 0})))},ye=y.forwardRef(_e),Le=(0,je.Z)(ye,"dropdownAlign");ye.SECRET_COMBOBOX_MODE_DO_NOT_USE=Re,ye.Option=ze.Wx,ye.OptGroup=ze.Xo,ye._InternalPanelDoNotUseOrYouWillBeFired=Le,Ct.default=ye},1722:function(mn,Ct){"use strict";const E=Ae=>{const ze={overflow:{adjustX:!0,adjustY:!0,shiftY:!0},htmlRegion:Ae==="scroll"?"scroll":"visible",dynamicInset:!0};return{bottomLeft:Object.assign(Object.assign({},ze),{points:["tl","bl"],offset:[0,4]}),bottomRight:Object.assign(Object.assign({},ze),{points:["tr","br"],offset:[0,4]}),topLeft:Object.assign(Object.assign({},ze),{points:["bl","tl"],offset:[0,-4]}),topRight:Object.assign(Object.assign({},ze),{points:["br","tr"],offset:[0,-4]})}};function y(Ae,pe){return Ae||E(pe)}Ct.Z=y},90376:function(mn,Ct,E){"use strict";E.d(Ct,{Z:function(){return Oe}});var y=E(63356),Ae=E(56119),pe=E(16931),ze=E(51636),Ce=E(46e3),Fe=E(93873);const ge=ue=>{const{optionHeight:Xe,optionFontSize:Ge,optionLineHeight:lt,optionPadding:Tt}=ue;return{position:"relative",display:"block",minHeight:Xe,padding:Tt,color:ue.colorText,fontWeight:"normal",fontSize:Ge,lineHeight:lt,boxSizing:"border-box"}};var De=ue=>{const{antCls:Xe,componentCls:Ge}=ue,lt=`${Ge}-item`,Tt=`&${Xe}-slide-up-enter${Xe}-slide-up-enter-active`,Ke=`&${Xe}-slide-up-appear${Xe}-slide-up-appear-active`,Se=`&${Xe}-slide-up-leave${Xe}-slide-up-leave-active`,Ft=`${Ge}-dropdown-placement-`,It=`${lt}-option-selected`;return[{[`${Ge}-dropdown`]:Object.assign(Object.assign({},(0,y.Wf)(ue)),{position:"absolute",top:-9999,zIndex:ue.zIndexPopup,boxSizing:"border-box",padding:ue.paddingXXS,overflow:"hidden",fontSize:ue.fontSize,fontVariant:"initial",backgroundColor:ue.colorBgElevated,borderRadius:ue.borderRadiusLG,outline:"none",boxShadow:ue.boxShadowSecondary,[`
|
|
|
${Tt}${Ft}bottomLeft,
|
|
|
${Ke}${Ft}bottomLeft
|
|
|
`]:{animationName:Ce.fJ},[`
|
|
|
${Tt}${Ft}topLeft,
|
|
|
${Ke}${Ft}topLeft,
|
|
|
${Tt}${Ft}topRight,
|
|
|
${Ke}${Ft}topRight
|
|
|
`]:{animationName:Ce.Qt},[`${Se}${Ft}bottomLeft`]:{animationName:Ce.Uw},[`
|
|
|
${Se}${Ft}topLeft,
|
|
|
${Se}${Ft}topRight
|
|
|
`]:{animationName:Ce.ly},"&-hidden":{display:"none"},[lt]:Object.assign(Object.assign({},ge(ue)),{cursor:"pointer",transition:`background ${ue.motionDurationSlow} ease`,borderRadius:ue.borderRadiusSM,"&-group":{color:ue.colorTextDescription,fontSize:ue.fontSizeSM,cursor:"default"},"&-option":{display:"flex","&-content":Object.assign({flex:"auto"},y.vS),"&-state":{flex:"none",display:"flex",alignItems:"center"},[`&-active:not(${lt}-option-disabled)`]:{backgroundColor:ue.optionActiveBg},[`&-selected:not(${lt}-option-disabled)`]:{color:ue.optionSelectedColor,fontWeight:ue.optionSelectedFontWeight,backgroundColor:ue.optionSelectedBg,[`${lt}-option-state`]:{color:ue.colorPrimary}},"&-disabled":{[`&${lt}-option-selected`]:{backgroundColor:ue.colorBgContainerDisabled},color:ue.colorTextDisabled,cursor:"not-allowed"},"&-grouped":{paddingInlineStart:ue.calc(ue.controlPaddingHorizontal).mul(2).equal()}},"&-empty":Object.assign(Object.assign({},ge(ue)),{color:ue.colorTextDisabled})}),[`${It}:has(+ ${It})`]:{borderEndStartRadius:0,borderEndEndRadius:0,[`& + ${It}`]:{borderStartStartRadius:0,borderStartEndRadius:0}},"&-rtl":{direction:"rtl"}})},(0,Ce.oN)(ue,"slide-up"),(0,Ce.oN)(ue,"slide-down"),(0,Fe.Fm)(ue,"move-up"),(0,Fe.Fm)(ue,"move-down")]},se=E(26743),Ue=E(36237);function me(ue,Xe){const{componentCls:Ge,inputPaddingHorizontalBase:lt,borderRadius:Tt}=ue,Ke=ue.calc(ue.controlHeight).sub(ue.calc(ue.lineWidth).mul(2)).equal(),Se=Xe?`${Ge}-${Xe}`:"";return{[`${Ge}-single${Se}`]:{fontSize:ue.fontSize,height:ue.controlHeight,[`${Ge}-selector`]:Object.assign(Object.assign({},(0,y.Wf)(ue,!0)),{display:"flex",borderRadius:Tt,flex:"1 1 auto",[`${Ge}-selection-wrap:after`]:{lineHeight:(0,Ue.unit)(Ke)},[`${Ge}-selection-search`]:{position:"absolute",inset:0,width:"100%","&-input":{width:"100%",WebkitAppearance:"textfield"}},[`
|
|
|
${Ge}-selection-item,
|
|
|
${Ge}-selection-placeholder
|
|
|
`]:{display:"block",padding:0,lineHeight:(0,Ue.unit)(Ke),transition:`all ${ue.motionDurationSlow}, visibility 0s`,alignSelf:"center"},[`${Ge}-selection-placeholder`]:{transition:"none",pointerEvents:"none"},[["&:after",`${Ge}-selection-item:empty:after`,`${Ge}-selection-placeholder:empty:after`].join(",")]:{display:"inline-block",width:0,visibility:"hidden",content:'"\\a0"'}}),[`
|
|
|
&${Ge}-show-arrow ${Ge}-selection-item,
|
|
|
&${Ge}-show-arrow ${Ge}-selection-search,
|
|
|
&${Ge}-show-arrow ${Ge}-selection-placeholder
|
|
|
`]:{paddingInlineEnd:ue.showArrowPaddingInlineEnd},[`&${Ge}-open ${Ge}-selection-item`]:{color:ue.colorTextPlaceholder},[`&:not(${Ge}-customize-input)`]:{[`${Ge}-selector`]:{width:"100%",height:"100%",alignItems:"center",padding:`0 ${(0,Ue.unit)(lt)}`,[`${Ge}-selection-search-input`]:{height:Ke,fontSize:ue.fontSize},"&:after":{lineHeight:(0,Ue.unit)(Ke)}}},[`&${Ge}-customize-input`]:{[`${Ge}-selector`]:{"&:after":{display:"none"},[`${Ge}-selection-search`]:{position:"static",width:"100%"},[`${Ge}-selection-placeholder`]:{position:"absolute",insetInlineStart:0,insetInlineEnd:0,padding:`0 ${(0,Ue.unit)(lt)}`,"&:after":{display:"none"}}}}}}}function Ne(ue){const{componentCls:Xe}=ue,Ge=ue.calc(ue.controlPaddingHorizontalSM).sub(ue.lineWidth).equal();return[me(ue),me((0,ze.mergeToken)(ue,{controlHeight:ue.controlHeightSM,borderRadius:ue.borderRadiusSM}),"sm"),{[`${Xe}-single${Xe}-sm`]:{[`&:not(${Xe}-customize-input)`]:{[`${Xe}-selector`]:{padding:`0 ${(0,Ue.unit)(Ge)}`},[`&${Xe}-show-arrow ${Xe}-selection-search`]:{insetInlineEnd:ue.calc(Ge).add(ue.calc(ue.fontSize).mul(1.5)).equal()},[`
|
|
|
&${Xe}-show-arrow ${Xe}-selection-item,
|
|
|
&${Xe}-show-arrow ${Xe}-selection-placeholder
|
|
|
`]:{paddingInlineEnd:ue.calc(ue.fontSize).mul(1.5).equal()}}}},me((0,ze.mergeToken)(ue,{controlHeight:ue.singleItemHeightLG,fontSize:ue.fontSizeLG,borderRadius:ue.borderRadiusLG}),"lg")]}const we=ue=>{const{fontSize:Xe,lineHeight:Ge,lineWidth:lt,controlHeight:Tt,controlHeightSM:Ke,controlHeightLG:Se,paddingXXS:Ft,controlPaddingHorizontal:It,zIndexPopupBase:ut,colorText:xe,fontWeightStrong:ke,controlItemBgActive:at,controlItemBgHover:Rt,colorBgContainer:ft,colorFillSecondary:Nt,colorBgContainerDisabled:xt,colorTextDisabled:Xt,colorPrimaryHover:Wt,colorPrimary:de,controlOutline:ne}=ue,te=Ft*2,le=lt*2,ve=Math.min(Tt-te,Tt-le),re=Math.min(Ke-te,Ke-le),fe=Math.min(Se-te,Se-le);return{INTERNAL_FIXED_ITEM_MARGIN:Math.floor(Ft/2),zIndexPopup:ut+50,optionSelectedColor:xe,optionSelectedFontWeight:ke,optionSelectedBg:at,optionActiveBg:Rt,optionPadding:`${(Tt-Xe*Ge)/2}px ${It}px`,optionFontSize:Xe,optionLineHeight:Ge,optionHeight:Tt,selectorBg:ft,clearBg:ft,singleItemHeightLG:Se,multipleItemBg:Nt,multipleItemBorderColor:"transparent",multipleItemHeight:ve,multipleItemHeightSM:re,multipleItemHeightLG:fe,multipleSelectorBgDisabled:xt,multipleItemColorDisabled:Xt,multipleItemBorderColorDisabled:"transparent",showArrowPaddingInlineEnd:Math.ceil(ue.fontSize*1.25),hoverBorderColor:Wt,activeBorderColor:de,activeOutlineColor:ne,selectAffixPadding:Ft}},be=(ue,Xe)=>{const{componentCls:Ge,antCls:lt,controlOutlineWidth:Tt}=ue;return{[`&:not(${Ge}-customize-input) ${Ge}-selector`]:{border:`${(0,Ue.unit)(ue.lineWidth)} ${ue.lineType} ${Xe.borderColor}`,background:ue.selectorBg},[`&:not(${Ge}-disabled):not(${Ge}-customize-input):not(${lt}-pagination-size-changer)`]:{[`&:hover ${Ge}-selector`]:{borderColor:Xe.hoverBorderHover},[`${Ge}-focused& ${Ge}-selector`]:{borderColor:Xe.activeBorderColor,boxShadow:`0 0 0 ${(0,Ue.unit)(Tt)} ${Xe.activeOutlineColor}`,outline:0},[`${Ge}-prefix`]:{color:Xe.color}}}},he=(ue,Xe)=>({[`&${ue.componentCls}-status-${Xe.status}`]:Object.assign({},be(ue,Xe))}),ce=ue=>({"&-outlined":Object.assign(Object.assign(Object.assign(Object.assign({},be(ue,{borderColor:ue.colorBorder,hoverBorderHover:ue.hoverBorderColor,activeBorderColor:ue.activeBorderColor,activeOutlineColor:ue.activeOutlineColor,color:ue.colorText})),he(ue,{status:"error",borderColor:ue.colorError,hoverBorderHover:ue.colorErrorHover,activeBorderColor:ue.colorError,activeOutlineColor:ue.colorErrorOutline,color:ue.colorError})),he(ue,{status:"warning",borderColor:ue.colorWarning,hoverBorderHover:ue.colorWarningHover,activeBorderColor:ue.colorWarning,activeOutlineColor:ue.colorWarningOutline,color:ue.colorWarning})),{[`&${ue.componentCls}-disabled`]:{[`&:not(${ue.componentCls}-customize-input) ${ue.componentCls}-selector`]:{background:ue.colorBgContainerDisabled,color:ue.colorTextDisabled}},[`&${ue.componentCls}-multiple ${ue.componentCls}-selection-item`]:{background:ue.multipleItemBg,border:`${(0,Ue.unit)(ue.lineWidth)} ${ue.lineType} ${ue.multipleItemBorderColor}`}})}),Ie=(ue,Xe)=>{const{componentCls:Ge,antCls:lt}=ue;return{[`&:not(${Ge}-customize-input) ${Ge}-selector`]:{background:Xe.bg,border:`${(0,Ue.unit)(ue.lineWidth)} ${ue.lineType} transparent`,color:Xe.color},[`&:not(${Ge}-disabled):not(${Ge}-customize-input):not(${lt}-pagination-size-changer)`]:{[`&:hover ${Ge}-selector`]:{background:Xe.hoverBg},[`${Ge}-focused& ${Ge}-selector`]:{background:ue.selectorBg,borderColor:Xe.activeBorderColor,outline:0}}}},Ze=(ue,Xe)=>({[`&${ue.componentCls}-status-${Xe.status}`]:Object.assign({},Ie(ue,Xe))}),$e=ue=>({"&-filled":Object.assign(Object.assign(Object.assign(Object.assign({},Ie(ue,{bg:ue.colorFillTertiary,hoverBg:ue.colorFillSecondary,activeBorderColor:ue.activeBorderColor,color:ue.colorText})),Ze(ue,{status:"error",bg:ue.colorErrorBg,hoverBg:ue.colorErrorBgHover,activeBorderColor:ue.colorError,color:ue.colorError})),Ze(ue,{status:"warning",bg:ue.colorWarningBg,hoverBg:ue.colorWarningBgHover,activeBorderColor:ue.colorWarning,color:ue.colorWarning})),{[`&${ue.componentCls}-disabled`]:{[`&:not(${ue.componentCls}-customize-input) ${ue.componentCls}-selector`]:{borderColor:ue.colorBorder,background:ue.colorBgContainerDisabled,color:ue.colorTextDisabled}},[`&${ue.componentCls}-multiple ${ue.componentCls}-selection-item`]:{background:ue.colorBgContainer,border:`${(0,Ue.unit)(ue.lineWidth)} ${ue.lineType} ${ue.colorSplit}`}})}),oe=ue=>({"&-borderless":{[`${ue.componentCls}-selector`]:{background:"transparent",border:`${(0,Ue.unit)(ue.lineWidth)} ${ue.lineType} transparent`},[`&${ue.componentCls}-disabled`]:{[`&:not(${ue.componentCls}-customize-input) ${ue.componentCls}-selector`]:{color:ue.colorTextDisabled}},[`&${ue.componentCls}-multiple ${ue.componentCls}-selection-item`]:{background:ue.multipleItemBg,border:`${(0,Ue.unit)(ue.lineWidth)} ${ue.lineType} ${ue.multipleItemBorderColor}`},[`&${ue.componentCls}-status-error`]:{[`${ue.componentCls}-prefix, ${ue.componentCls}-selection-item`]:{color:ue.colorError}},[`&${ue.componentCls}-status-warning`]:{[`${ue.componentCls}-prefix, ${ue.componentCls}-selection-item`]:{color:ue.colorWarning}}}}),Be=(ue,Xe)=>{const{componentCls:Ge,antCls:lt}=ue;return{[`&:not(${Ge}-customize-input) ${Ge}-selector`]:{borderWidth:`0 0 ${(0,Ue.unit)(ue.lineWidth)} 0`,borderStyle:`none none ${ue.lineType} none`,borderColor:Xe.borderColor,background:ue.selectorBg,borderRadius:0},[`&:not(${Ge}-disabled):not(${Ge}-customize-input):not(${lt}-pagination-size-changer)`]:{[`&:hover ${Ge}-selector`]:{borderColor:Xe.hoverBorderHover},[`${Ge}-focused& ${Ge}-selector`]:{borderColor:Xe.activeBorderColor,outline:0},[`${Ge}-prefix`]:{color:Xe.color}}}},tt=(ue,Xe)=>({[`&${ue.componentCls}-status-${Xe.status}`]:Object.assign({},Be(ue,Xe))}),Re=ue=>({"&-underlined":Object.assign(Object.assign(Object.assign(Object.assign({},Be(ue,{borderColor:ue.colorBorder,hoverBorderHover:ue.hoverBorderColor,activeBorderColor:ue.activeBorderColor,activeOutlineColor:ue.activeOutlineColor,color:ue.colorText})),tt(ue,{status:"error",borderColor:ue.colorError,hoverBorderHover:ue.colorErrorHover,activeBorderColor:ue.colorError,activeOutlineColor:ue.colorErrorOutline,color:ue.colorError})),tt(ue,{status:"warning",borderColor:ue.colorWarning,hoverBorderHover:ue.colorWarningHover,activeBorderColor:ue.colorWarning,activeOutlineColor:ue.colorWarningOutline,color:ue.colorWarning})),{[`&${ue.componentCls}-disabled`]:{[`&:not(${ue.componentCls}-customize-input) ${ue.componentCls}-selector`]:{color:ue.colorTextDisabled}},[`&${ue.componentCls}-multiple ${ue.componentCls}-selection-item`]:{background:ue.multipleItemBg,border:`${(0,Ue.unit)(ue.lineWidth)} ${ue.lineType} ${ue.multipleItemBorderColor}`}})});var ye=ue=>({[ue.componentCls]:Object.assign(Object.assign(Object.assign(Object.assign({},ce(ue)),$e(ue)),oe(ue)),Re(ue))});const Le=ue=>{const{componentCls:Xe}=ue;return{position:"relative",transition:`all ${ue.motionDurationMid} ${ue.motionEaseInOut}`,input:{cursor:"pointer"},[`${Xe}-show-search&`]:{cursor:"text",input:{cursor:"auto",color:"inherit",height:"100%"}},[`${Xe}-disabled&`]:{cursor:"not-allowed",input:{cursor:"not-allowed"}}}},Ve=ue=>{const{componentCls:Xe}=ue;return{[`${Xe}-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=ue=>{const{antCls:Xe,componentCls:Ge,inputPaddingHorizontalBase:lt,iconCls:Tt}=ue;return{[Ge]:Object.assign(Object.assign({},(0,y.Wf)(ue)),{position:"relative",display:"inline-flex",cursor:"pointer",[`&:not(${Ge}-customize-input) ${Ge}-selector`]:Object.assign(Object.assign({},Le(ue)),Ve(ue)),[`${Ge}-selection-item`]:Object.assign(Object.assign({flex:1,fontWeight:"normal",position:"relative",userSelect:"none"},y.vS),{[`> ${Xe}-typography`]:{display:"inline"}}),[`${Ge}-selection-placeholder`]:Object.assign(Object.assign({},y.vS),{flex:1,color:ue.colorTextPlaceholder,pointerEvents:"none"}),[`${Ge}-arrow`]:Object.assign(Object.assign({},(0,y.Ro)()),{position:"absolute",top:"50%",insetInlineStart:"auto",insetInlineEnd:lt,height:ue.fontSizeIcon,marginTop:ue.calc(ue.fontSizeIcon).mul(-1).div(2).equal(),color:ue.colorTextQuaternary,fontSize:ue.fontSizeIcon,lineHeight:1,textAlign:"center",pointerEvents:"none",display:"flex",alignItems:"center",transition:`opacity ${ue.motionDurationSlow} ease`,[Tt]:{verticalAlign:"top",transition:`transform ${ue.motionDurationSlow}`,"> svg":{verticalAlign:"top"},[`&:not(${Ge}-suffix)`]:{pointerEvents:"auto"}},[`${Ge}-disabled &`]:{cursor:"not-allowed"},"> *:not(:last-child)":{marginInlineEnd:8}}),[`${Ge}-selection-wrap`]:{display:"flex",width:"100%",position:"relative",minWidth:0,"&:after":{content:'"\\a0"',width:0,overflow:"hidden"}},[`${Ge}-prefix`]:{flex:"none",marginInlineEnd:ue.selectAffixPadding},[`${Ge}-clear`]:{position:"absolute",top:"50%",insetInlineStart:"auto",insetInlineEnd:lt,zIndex:1,display:"inline-block",width:ue.fontSizeIcon,height:ue.fontSizeIcon,marginTop:ue.calc(ue.fontSizeIcon).mul(-1).div(2).equal(),color:ue.colorTextQuaternary,fontSize:ue.fontSizeIcon,fontStyle:"normal",lineHeight:1,textAlign:"center",textTransform:"none",cursor:"pointer",opacity:0,transition:`color ${ue.motionDurationMid} ease, opacity ${ue.motionDurationSlow} ease`,textRendering:"auto","&:before":{display:"block"},"&:hover":{color:ue.colorTextTertiary}},[`&:hover ${Ge}-clear`]:{opacity:1,background:ue.colorBgBase,borderRadius:"50%"}}),[`${Ge}-status`]:{"&-error, &-warning, &-success, &-validating":{[`&${Ge}-has-feedback`]:{[`${Ge}-clear`]:{insetInlineEnd:ue.calc(lt).add(ue.fontSize).add(ue.paddingXS).equal()}}}}}},it=ue=>{const{componentCls:Xe}=ue;return[{[Xe]:{[`&${Xe}-in-form-item`]:{width:"100%"}}},Pe(ue),Ne(ue),(0,se.ZP)(ue),De(ue),{[`${Xe}-rtl`]:{direction:"rtl"}},(0,Ae.c)(ue,{borderElCls:`${Xe}-selector`,focusElCls:`${Xe}-focused`})]};var Oe=(0,pe.I$)("Select",(ue,Xe)=>{let{rootPrefixCls:Ge}=Xe;const lt=(0,ze.mergeToken)(ue,{rootPrefixCls:Ge,inputPaddingHorizontalBase:ue.calc(ue.paddingSM).sub(1).equal(),multipleSelectItemHeight:ue.multipleItemHeight,selectHeight:ue.controlHeight});return[it(lt),ye(lt)]},we,{unitless:{optionLineHeight:!0,optionSelectedFontWeight:!0}})},26743:function(mn,Ct,E){"use strict";E.d(Ct,{_z:function(){return Fe},gp:function(){return ze}});var y=E(36237),Ae=E(63356),pe=E(51636);const ze=se=>{const{multipleSelectItemHeight:Ue,paddingXXS:me,lineWidth:Ne,INTERNAL_FIXED_ITEM_MARGIN:we}=se,be=se.max(se.calc(me).sub(Ne).equal(),0),he=se.max(se.calc(be).sub(we).equal(),0);return{basePadding:be,containerPadding:he,itemHeight:(0,y.unit)(Ue),itemLineHeight:(0,y.unit)(se.calc(Ue).sub(se.calc(se.lineWidth).mul(2)).equal())}},Ce=se=>{const{multipleSelectItemHeight:Ue,selectHeight:me,lineWidth:Ne}=se;return se.calc(me).sub(Ue).div(2).sub(Ne).equal()},Fe=se=>{const{componentCls:Ue,iconCls:me,borderRadiusSM:Ne,motionDurationSlow:we,paddingXS:be,multipleItemColorDisabled:he,multipleItemBorderColorDisabled:ce,colorIcon:Ie,colorIconHover:Ze,INTERNAL_FIXED_ITEM_MARGIN:$e}=se;return{[`${Ue}-selection-overflow`]:{position:"relative",display:"flex",flex:"auto",flexWrap:"wrap",maxWidth:"100%","&-item":{flex:"none",alignSelf:"center",maxWidth:"100%",display:"inline-flex"},[`${Ue}-selection-item`]:{display:"flex",alignSelf:"center",flex:"none",boxSizing:"border-box",maxWidth:"100%",marginBlock:$e,borderRadius:Ne,cursor:"default",transition:`font-size ${we}, line-height ${we}, height ${we}`,marginInlineEnd:se.calc($e).mul(2).equal(),paddingInlineStart:be,paddingInlineEnd:se.calc(be).div(2).equal(),[`${Ue}-disabled&`]:{color:he,borderColor:ce,cursor:"not-allowed"},"&-content":{display:"inline-block",marginInlineEnd:se.calc(be).div(2).equal(),overflow:"hidden",whiteSpace:"pre",textOverflow:"ellipsis"},"&-remove":Object.assign(Object.assign({},(0,Ae.Ro)()),{display:"inline-flex",alignItems:"center",color:Ie,fontWeight:"bold",fontSize:10,lineHeight:"inherit",cursor:"pointer",[`> ${me}`]:{verticalAlign:"-0.2em"},"&:hover":{color:Ze}})}}}},ge=(se,Ue)=>{const{componentCls:me,INTERNAL_FIXED_ITEM_MARGIN:Ne}=se,we=`${me}-selection-overflow`,be=se.multipleSelectItemHeight,he=Ce(se),ce=Ue?`${me}-${Ue}`:"",Ie=ze(se);return{[`${me}-multiple${ce}`]:Object.assign(Object.assign({},Fe(se)),{[`${me}-selector`]:{display:"flex",alignItems:"center",width:"100%",height:"100%",paddingInline:Ie.basePadding,paddingBlock:Ie.containerPadding,borderRadius:se.borderRadius,[`${me}-disabled&`]:{background:se.multipleSelectorBgDisabled,cursor:"not-allowed"},"&:after":{display:"inline-block",width:0,margin:`${(0,y.unit)(Ne)} 0`,lineHeight:(0,y.unit)(be),visibility:"hidden",content:'"\\a0"'}},[`${me}-selection-item`]:{height:Ie.itemHeight,lineHeight:(0,y.unit)(Ie.itemLineHeight)},[`${me}-selection-wrap`]:{alignSelf:"flex-start","&:after":{lineHeight:(0,y.unit)(be),marginBlock:Ne}},[`${me}-prefix`]:{marginInlineStart:se.calc(se.inputPaddingHorizontalBase).sub(Ie.basePadding).equal()},[`${we}-item + ${we}-item,
|
|
|
${me}-prefix + ${me}-selection-wrap
|
|
|
`]:{[`${me}-selection-search`]:{marginInlineStart:0},[`${me}-selection-placeholder`]:{insetInlineStart:0}},[`${we}-item-suffix`]:{minHeight:Ie.itemHeight,marginBlock:Ne},[`${me}-selection-search`]:{display:"inline-flex",position:"relative",maxWidth:"100%",marginInlineStart:se.calc(se.inputPaddingHorizontalBase).sub(he).equal(),"\n &-input,\n &-mirror\n ":{height:be,fontFamily:se.fontFamily,lineHeight:(0,y.unit)(be),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"}},[`${me}-selection-placeholder`]:{position:"absolute",top:"50%",insetInlineStart:se.calc(se.inputPaddingHorizontalBase).sub(Ie.basePadding).equal(),insetInlineEnd:se.inputPaddingHorizontalBase,transform:"translateY(-50%)",transition:`all ${se.motionDurationSlow}`}})}};function je(se,Ue){const{componentCls:me}=se,Ne=Ue?`${me}-${Ue}`:"",we={[`${me}-multiple${Ne}`]:{fontSize:se.fontSize,[`${me}-selector`]:{[`${me}-show-search&`]:{cursor:"text"}},[`
|
|
|
&${me}-show-arrow ${me}-selector,
|
|
|
&${me}-allow-clear ${me}-selector
|
|
|
`]:{paddingInlineEnd:se.calc(se.fontSizeIcon).add(se.controlPaddingHorizontal).equal()}}};return[ge(se,Ue),we]}const De=se=>{const{componentCls:Ue}=se,me=(0,pe.mergeToken)(se,{selectHeight:se.controlHeightSM,multipleSelectItemHeight:se.multipleItemHeightSM,borderRadius:se.borderRadiusSM,borderRadiusSM:se.borderRadiusXS}),Ne=(0,pe.mergeToken)(se,{fontSize:se.fontSizeLG,selectHeight:se.controlHeightLG,multipleSelectItemHeight:se.multipleItemHeightLG,borderRadius:se.borderRadiusLG,borderRadiusSM:se.borderRadius});return[je(se),je(me,"sm"),{[`${Ue}-multiple${Ue}-sm`]:{[`${Ue}-selection-placeholder`]:{insetInline:se.calc(se.controlPaddingHorizontalSM).sub(se.lineWidth).equal()},[`${Ue}-selection-search`]:{marginInlineStart:2}}},je(Ne,"lg")]};Ct.ZP=De},68525:function(mn,Ct,E){"use strict";E.d(Ct,{Z:function(){return je}});var y=E(59301),Ae=E(40001),pe=E(19248),ze=E(99267),Ce=E(84105),Fe=E(58617),ge=E(47472);function je(De){let{suffixIcon:se,clearIcon:Ue,menuItemSelectedIcon:me,removeIcon:Ne,loading:we,multiple:be,hasFeedback:he,prefixCls:ce,showSuffixIcon:Ie,feedbackIcon:Ze,showArrow:$e,componentName:oe}=De;const Be=Ue!=null?Ue:y.createElement(pe.Z,null),tt=Le=>se===null&&!he&&!$e?null:y.createElement(y.Fragment,null,Ie!==!1&&Le,he&&Ze);let Re=null;if(se!==void 0)Re=tt(se);else if(we)Re=tt(y.createElement(Fe.Z,{spin:!0}));else{const Le=`${ce}-suffix`;Re=Ve=>{let{open:Pe,showSearch:it}=Ve;return tt(Pe&&it?y.createElement(ge.Z,{className:Le}):y.createElement(Ce.Z,{className:Le}))}}let _e=null;me!==void 0?_e=me:be?_e=y.createElement(Ae.Z,null):_e=null;let ye=null;return Ne!==void 0?ye=Ne:ye=y.createElement(ze.Z,null),{clearIcon:Be,suffixIcon:Re,itemIcon:_e,removeIcon:ye}}},90005:function(mn,Ct,E){"use strict";E.d(Ct,{Z:function(){return y}});function y(Ae,pe){return pe!==void 0?pe:Ae!==null}},11938:function(mn,Ct,E){"use strict";E.d(Ct,{default:function(){return Ve}});var y=E(59301),Ae=E(40192),pe=E(22703),ze=E(92310),Ce=E.n(ze),Fe=E(26112),ge=E(48755),je=E(458),se=Pe=>{const{value:it,formatter:Oe,precision:ue,decimalSeparator:Xe,groupSeparator:Ge="",prefixCls:lt}=Pe;let Tt;if(typeof Oe=="function")Tt=Oe(it);else{const Ke=String(it),Se=Ke.match(/^(-?)(\d*)(\.(\d+))?$/);if(!Se||Ke==="-")Tt=Ke;else{const Ft=Se[1];let It=Se[2]||"0",ut=Se[4]||"";It=It.replace(/\B(?=(\d{3})+(?!\d))/g,Ge),typeof ue=="number"&&(ut=ut.padEnd(ue,"0").slice(0,ue>0?ue:0)),ut&&(ut=`${Xe}${ut}`),Tt=[y.createElement("span",{key:"int",className:`${lt}-content-value-int`},Ft,It),ut&&y.createElement("span",{key:"decimal",className:`${lt}-content-value-decimal`},ut)]}}return y.createElement("span",{className:`${lt}-content-value`},Tt)},Ue=E(63356),me=E(16931),Ne=E(51636);const we=Pe=>{const{componentCls:it,marginXXS:Oe,padding:ue,colorTextDescription:Xe,titleFontSize:Ge,colorTextHeading:lt,contentFontSize:Tt,fontFamily:Ke}=Pe;return{[it]:Object.assign(Object.assign({},(0,Ue.Wf)(Pe)),{[`${it}-title`]:{marginBottom:Oe,color:Xe,fontSize:Ge},[`${it}-skeleton`]:{paddingTop:ue},[`${it}-content`]:{color:lt,fontSize:Tt,fontFamily:Ke,[`${it}-content-value`]:{display:"inline-block",direction:"ltr"},[`${it}-content-prefix, ${it}-content-suffix`]:{display:"inline-block"},[`${it}-content-prefix`]:{marginInlineEnd:Oe},[`${it}-content-suffix`]:{marginInlineStart:Oe}}})}},be=Pe=>{const{fontSizeHeading3:it,fontSize:Oe}=Pe;return{titleFontSize:Oe,contentFontSize:it}};var he=(0,me.I$)("Statistic",Pe=>{const it=(0,Ne.mergeToken)(Pe,{});return[we(it)]},be),ce=function(Pe,it){var Oe={};for(var ue in Pe)Object.prototype.hasOwnProperty.call(Pe,ue)&&it.indexOf(ue)<0&&(Oe[ue]=Pe[ue]);if(Pe!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Xe=0,ue=Object.getOwnPropertySymbols(Pe);Xe<ue.length;Xe++)it.indexOf(ue[Xe])<0&&Object.prototype.propertyIsEnumerable.call(Pe,ue[Xe])&&(Oe[ue[Xe]]=Pe[ue[Xe]]);return Oe},Ze=Pe=>{const{prefixCls:it,className:Oe,rootClassName:ue,style:Xe,valueStyle:Ge,value:lt=0,title:Tt,valueRender:Ke,prefix:Se,suffix:Ft,loading:It=!1,formatter:ut,precision:xe,decimalSeparator:ke=".",groupSeparator:at=",",onMouseEnter:Rt,onMouseLeave:ft}=Pe,Nt=ce(Pe,["prefixCls","className","rootClassName","style","valueStyle","value","title","valueRender","prefix","suffix","loading","formatter","precision","decimalSeparator","groupSeparator","onMouseEnter","onMouseLeave"]),{getPrefixCls:xt,direction:Xt,className:Wt,style:de}=(0,ge.dj)("statistic"),ne=xt("statistic",it),[te,le,ve]=he(ne),re=y.createElement(se,{decimalSeparator:ke,groupSeparator:at,prefixCls:ne,formatter:ut,precision:xe,value:lt}),fe=Ce()(ne,{[`${ne}-rtl`]:Xt==="rtl"},Wt,Oe,ue,le,ve),Ye=(0,Fe.Z)(Nt,{aria:!0,data:!0});return te(y.createElement("div",Object.assign({},Ye,{className:fe,style:Object.assign(Object.assign({},de),Xe),onMouseEnter:Rt,onMouseLeave:ft}),Tt&&y.createElement("div",{className:`${ne}-title`},Tt),y.createElement(je.Z,{paragraph:!1,loading:It,className:`${ne}-skeleton`},y.createElement("div",{style:Ge,className:`${ne}-content`},Se&&y.createElement("span",{className:`${ne}-content-prefix`},Se),Ke?Ke(re):re,Ft&&y.createElement("span",{className:`${ne}-content-suffix`},Ft)))))};const $e=[["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 Oe=Pe;const ue=/\[[^\]]*]/g,Xe=(it.match(ue)||[]).map(Ke=>Ke.slice(1,-1)),Ge=it.replace(ue,"[]"),lt=$e.reduce((Ke,Se)=>{let[Ft,It]=Se;if(Ke.includes(Ft)){const ut=Math.floor(Oe/It);return Oe-=ut*It,Ke.replace(new RegExp(`${Ft}+`,"g"),xe=>{const ke=xe.length;return ut.toString().padStart(ke,"0")})}return Ke},Ge);let Tt=0;return lt.replace(ue,()=>{const Ke=Xe[Tt];return Tt+=1,Ke})}function Be(Pe,it){const{format:Oe=""}=it,ue=new Date(Pe).getTime(),Xe=Date.now(),Ge=Math.max(ue-Xe,0);return oe(Ge,Oe)}var tt=function(Pe,it){var Oe={};for(var ue in Pe)Object.prototype.hasOwnProperty.call(Pe,ue)&&it.indexOf(ue)<0&&(Oe[ue]=Pe[ue]);if(Pe!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Xe=0,ue=Object.getOwnPropertySymbols(Pe);Xe<ue.length;Xe++)it.indexOf(ue[Xe])<0&&Object.prototype.propertyIsEnumerable.call(Pe,ue[Xe])&&(Oe[ue[Xe]]=Pe[ue[Xe]]);return Oe};const Re=1e3/30;function _e(Pe){return new Date(Pe).getTime()}const ye=Pe=>{const{value:it,format:Oe="HH:mm:ss",onChange:ue,onFinish:Xe}=Pe,Ge=tt(Pe,["value","format","onChange","onFinish"]),lt=(0,Ae.Z)(),Tt=y.useRef(null),Ke=()=>{Xe==null||Xe(),Tt.current&&(clearInterval(Tt.current),Tt.current=null)},Se=()=>{const ut=_e(it);ut>=Date.now()&&(Tt.current=setInterval(()=>{lt(),ue==null||ue(ut-Date.now()),ut<Date.now()&&Ke()},Re))};y.useEffect(()=>(Se(),()=>{Tt.current&&(clearInterval(Tt.current),Tt.current=null)}),[it]);const Ft=(ut,xe)=>Be(ut,Object.assign(Object.assign({},xe),{format:Oe})),It=ut=>(0,pe.Tm)(ut,{title:void 0});return y.createElement(Ze,Object.assign({},Ge,{value:it,valueRender:It,formatter:Ft}))};var Le=y.memo(ye);Ze.Countdown=Le;var Ve=Ze},58755:function(mn,Ct,E){"use strict";E.d(Ct,{Z:function(){return Xe}});var y=E(59301),Ae=E(58617),pe=E(92310),ze=E.n(pe),Ce=E(60499),Fe=E(18642),ge=E(72190),je=E(42244),De=E(18929),se=E(10228),Ue=["prefixCls","className","checked","defaultChecked","disabled","loadingIcon","checkedChildren","unCheckedChildren","onClick","onChange","onKeyDown"],me=y.forwardRef(function(Ge,lt){var Tt,Ke=Ge.prefixCls,Se=Ke===void 0?"rc-switch":Ke,Ft=Ge.className,It=Ge.checked,ut=Ge.defaultChecked,xe=Ge.disabled,ke=Ge.loadingIcon,at=Ge.checkedChildren,Rt=Ge.unCheckedChildren,ft=Ge.onClick,Nt=Ge.onChange,xt=Ge.onKeyDown,Xt=(0,je.Z)(Ge,Ue),Wt=(0,De.Z)(!1,{value:It,defaultValue:ut}),de=(0,ge.Z)(Wt,2),ne=de[0],te=de[1];function le(Ye,vt){var et=ne;return xe||(et=Ye,te(et),Nt==null||Nt(et,vt)),et}function ve(Ye){Ye.which===se.Z.LEFT?le(!1,Ye):Ye.which===se.Z.RIGHT&&le(!0,Ye),xt==null||xt(Ye)}function re(Ye){var vt=le(!ne,Ye);ft==null||ft(vt,Ye)}var fe=ze()(Se,Ft,(Tt={},(0,Fe.Z)(Tt,"".concat(Se,"-checked"),ne),(0,Fe.Z)(Tt,"".concat(Se,"-disabled"),xe),Tt));return y.createElement("button",(0,Ce.Z)({},Xt,{type:"button",role:"switch","aria-checked":ne,disabled:xe,className:fe,ref:lt,onKeyDown:ve,onClick:re}),ke,y.createElement("span",{className:"".concat(Se,"-inner")},y.createElement("span",{className:"".concat(Se,"-inner-checked")},at),y.createElement("span",{className:"".concat(Se,"-inner-unchecked")},Rt)))});me.displayName="Switch";var Ne=me,we=E(12919),be=E(48755),he=E(2171),ce=E(31756),Ie=E(36237),Ze=E(17835),$e=E(63356),oe=E(16931),Be=E(51636);const tt=Ge=>{const{componentCls:lt,trackHeightSM:Tt,trackPadding:Ke,trackMinWidthSM:Se,innerMinMarginSM:Ft,innerMaxMarginSM:It,handleSizeSM:ut,calc:xe}=Ge,ke=`${lt}-inner`,at=(0,Ie.unit)(xe(ut).add(xe(Ke).mul(2)).equal()),Rt=(0,Ie.unit)(xe(It).mul(2).equal());return{[lt]:{[`&${lt}-small`]:{minWidth:Se,height:Tt,lineHeight:(0,Ie.unit)(Tt),[`${lt}-inner`]:{paddingInlineStart:It,paddingInlineEnd:Ft,[`${ke}-checked, ${ke}-unchecked`]:{minHeight:Tt},[`${ke}-checked`]:{marginInlineStart:`calc(-100% + ${at} - ${Rt})`,marginInlineEnd:`calc(100% - ${at} + ${Rt})`},[`${ke}-unchecked`]:{marginTop:xe(Tt).mul(-1).equal(),marginInlineStart:0,marginInlineEnd:0}},[`${lt}-handle`]:{width:ut,height:ut},[`${lt}-loading-icon`]:{top:xe(xe(ut).sub(Ge.switchLoadingIconSize)).div(2).equal(),fontSize:Ge.switchLoadingIconSize},[`&${lt}-checked`]:{[`${lt}-inner`]:{paddingInlineStart:Ft,paddingInlineEnd:It,[`${ke}-checked`]:{marginInlineStart:0,marginInlineEnd:0},[`${ke}-unchecked`]:{marginInlineStart:`calc(100% - ${at} + ${Rt})`,marginInlineEnd:`calc(-100% + ${at} - ${Rt})`}},[`${lt}-handle`]:{insetInlineStart:`calc(100% - ${(0,Ie.unit)(xe(ut).add(Ke).equal())})`}},[`&:not(${lt}-disabled):active`]:{[`&:not(${lt}-checked) ${ke}`]:{[`${ke}-unchecked`]:{marginInlineStart:xe(Ge.marginXXS).div(2).equal(),marginInlineEnd:xe(Ge.marginXXS).mul(-1).div(2).equal()}},[`&${lt}-checked ${ke}`]:{[`${ke}-checked`]:{marginInlineStart:xe(Ge.marginXXS).mul(-1).div(2).equal(),marginInlineEnd:xe(Ge.marginXXS).div(2).equal()}}}}}}},Re=Ge=>{const{componentCls:lt,handleSize:Tt,calc:Ke}=Ge;return{[lt]:{[`${lt}-loading-icon${Ge.iconCls}`]:{position:"relative",top:Ke(Ke(Tt).sub(Ge.fontSize)).div(2).equal(),color:Ge.switchLoadingIconColor,verticalAlign:"top"},[`&${lt}-checked ${lt}-loading-icon`]:{color:Ge.switchColor}}}},_e=Ge=>{const{componentCls:lt,trackPadding:Tt,handleBg:Ke,handleShadow:Se,handleSize:Ft,calc:It}=Ge,ut=`${lt}-handle`;return{[lt]:{[ut]:{position:"absolute",top:Tt,insetInlineStart:Tt,width:Ft,height:Ft,transition:`all ${Ge.switchDuration} ease-in-out`,"&::before":{position:"absolute",top:0,insetInlineEnd:0,bottom:0,insetInlineStart:0,backgroundColor:Ke,borderRadius:It(Ft).div(2).equal(),boxShadow:Se,transition:`all ${Ge.switchDuration} ease-in-out`,content:'""'}},[`&${lt}-checked ${ut}`]:{insetInlineStart:`calc(100% - ${(0,Ie.unit)(It(Ft).add(Tt).equal())})`},[`&:not(${lt}-disabled):active`]:{[`${ut}::before`]:{insetInlineEnd:Ge.switchHandleActiveInset,insetInlineStart:0},[`&${lt}-checked ${ut}::before`]:{insetInlineEnd:0,insetInlineStart:Ge.switchHandleActiveInset}}}}},ye=Ge=>{const{componentCls:lt,trackHeight:Tt,trackPadding:Ke,innerMinMargin:Se,innerMaxMargin:Ft,handleSize:It,calc:ut}=Ge,xe=`${lt}-inner`,ke=(0,Ie.unit)(ut(It).add(ut(Ke).mul(2)).equal()),at=(0,Ie.unit)(ut(Ft).mul(2).equal());return{[lt]:{[xe]:{display:"block",overflow:"hidden",borderRadius:100,height:"100%",paddingInlineStart:Ft,paddingInlineEnd:Se,transition:`padding-inline-start ${Ge.switchDuration} ease-in-out, padding-inline-end ${Ge.switchDuration} ease-in-out`,[`${xe}-checked, ${xe}-unchecked`]:{display:"block",color:Ge.colorTextLightSolid,fontSize:Ge.fontSizeSM,transition:`margin-inline-start ${Ge.switchDuration} ease-in-out, margin-inline-end ${Ge.switchDuration} ease-in-out`,pointerEvents:"none",minHeight:Tt},[`${xe}-checked`]:{marginInlineStart:`calc(-100% + ${ke} - ${at})`,marginInlineEnd:`calc(100% - ${ke} + ${at})`},[`${xe}-unchecked`]:{marginTop:ut(Tt).mul(-1).equal(),marginInlineStart:0,marginInlineEnd:0}},[`&${lt}-checked ${xe}`]:{paddingInlineStart:Se,paddingInlineEnd:Ft,[`${xe}-checked`]:{marginInlineStart:0,marginInlineEnd:0},[`${xe}-unchecked`]:{marginInlineStart:`calc(100% - ${ke} + ${at})`,marginInlineEnd:`calc(-100% + ${ke} - ${at})`}},[`&:not(${lt}-disabled):active`]:{[`&:not(${lt}-checked) ${xe}`]:{[`${xe}-unchecked`]:{marginInlineStart:ut(Ke).mul(2).equal(),marginInlineEnd:ut(Ke).mul(-1).mul(2).equal()}},[`&${lt}-checked ${xe}`]:{[`${xe}-checked`]:{marginInlineStart:ut(Ke).mul(-1).mul(2).equal(),marginInlineEnd:ut(Ke).mul(2).equal()}}}}}},Le=Ge=>{const{componentCls:lt,trackHeight:Tt,trackMinWidth:Ke}=Ge;return{[lt]:Object.assign(Object.assign(Object.assign(Object.assign({},(0,$e.Wf)(Ge)),{position:"relative",display:"inline-block",boxSizing:"border-box",minWidth:Ke,height:Tt,lineHeight:(0,Ie.unit)(Tt),verticalAlign:"middle",background:Ge.colorTextQuaternary,border:"0",borderRadius:100,cursor:"pointer",transition:`all ${Ge.motionDurationMid}`,userSelect:"none",[`&:hover:not(${lt}-disabled)`]:{background:Ge.colorTextTertiary}}),(0,$e.Qy)(Ge)),{[`&${lt}-checked`]:{background:Ge.switchColor,[`&:hover:not(${lt}-disabled)`]:{background:Ge.colorPrimaryHover}},[`&${lt}-loading, &${lt}-disabled`]:{cursor:"not-allowed",opacity:Ge.switchDisabledOpacity,"*":{boxShadow:"none",cursor:"not-allowed"}},[`&${lt}-rtl`]:{direction:"rtl"}})}},Ve=Ge=>{const{fontSize:lt,lineHeight:Tt,controlHeight:Ke,colorWhite:Se}=Ge,Ft=lt*Tt,It=Ke/2,ut=2,xe=Ft-ut*2,ke=It-ut*2;return{trackHeight:Ft,trackHeightSM:It,trackMinWidth:xe*2+ut*4,trackMinWidthSM:ke*2+ut*2,trackPadding:ut,handleBg:Se,handleSize:xe,handleSizeSM:ke,handleShadow:`0 2px 4px 0 ${new Ze.FastColor("#00230b").setA(.2).toRgbString()}`,innerMinMargin:xe/2,innerMaxMargin:xe+ut+ut*2,innerMinMarginSM:ke/2,innerMaxMarginSM:ke+ut+ut*2}};var Pe=(0,oe.I$)("Switch",Ge=>{const lt=(0,Be.mergeToken)(Ge,{switchDuration:Ge.motionDurationMid,switchColor:Ge.colorPrimary,switchDisabledOpacity:Ge.opacityLoading,switchLoadingIconSize:Ge.calc(Ge.fontSizeIcon).mul(.75).equal(),switchLoadingIconColor:`rgba(0, 0, 0, ${Ge.opacityLoading})`,switchHandleActiveInset:"-30%"});return[Le(lt),ye(lt),_e(lt),Re(lt),tt(lt)]},Ve),it=function(Ge,lt){var Tt={};for(var Ke in Ge)Object.prototype.hasOwnProperty.call(Ge,Ke)&<.indexOf(Ke)<0&&(Tt[Ke]=Ge[Ke]);if(Ge!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Se=0,Ke=Object.getOwnPropertySymbols(Ge);Se<Ke.length;Se++)lt.indexOf(Ke[Se])<0&&Object.prototype.propertyIsEnumerable.call(Ge,Ke[Se])&&(Tt[Ke[Se]]=Ge[Ke[Se]]);return Tt};const ue=y.forwardRef((Ge,lt)=>{const{prefixCls:Tt,size:Ke,disabled:Se,loading:Ft,className:It,rootClassName:ut,style:xe,checked:ke,value:at,defaultChecked:Rt,defaultValue:ft,onChange:Nt}=Ge,xt=it(Ge,["prefixCls","size","disabled","loading","className","rootClassName","style","checked","value","defaultChecked","defaultValue","onChange"]),[Xt,Wt]=(0,De.Z)(!1,{value:ke!=null?ke:at,defaultValue:Rt!=null?Rt:ft}),{getPrefixCls:de,direction:ne,switch:te}=y.useContext(be.E_),le=y.useContext(he.Z),ve=(Se!=null?Se:le)||Ft,re=de("switch",Tt),fe=y.createElement("div",{className:`${re}-handle`},Ft&&y.createElement(Ae.Z,{className:`${re}-loading-icon`})),[Ye,vt,et]=Pe(re),nt=(0,ce.Z)(Ke),mt=ze()(te==null?void 0:te.className,{[`${re}-small`]:nt==="small",[`${re}-loading`]:Ft,[`${re}-rtl`]:ne==="rtl"},It,ut,vt,et),yt=Object.assign(Object.assign({},te==null?void 0:te.style),xe),St=function(){Wt(arguments.length<=0?void 0:arguments[0]),Nt==null||Nt.apply(void 0,arguments)};return Ye(y.createElement(we.Z,{component:"Switch"},y.createElement(Ne,Object.assign({},xt,{checked:Xt,onChange:St,prefixCls:re,className:mt,style:yt,disabled:ve,ref:lt,loadingIcon:fe}))))});ue.__ANT_SWITCH=!0;var Xe=ue},70858:function(mn,Ct,E){"use strict";E.d(Ct,{default:function(){return Pi}});var y=E(59301),Ae={},pe="rc-table-internal-hook",ze=E(72190),Ce=E(6089),Fe=E(34280),ge=E(13697),je=E(4676);function De(Te){var Me=y.createContext(void 0),pt=function(jt){var Gt=jt.value,fn=jt.children,ln=y.useRef(Gt);ln.current=Gt;var yn=y.useState(function(){return{getValue:function(){return ln.current},listeners:new Set}}),En=(0,ze.Z)(yn,1),Vn=En[0];return(0,Fe.Z)(function(){(0,je.unstable_batchedUpdates)(function(){Vn.listeners.forEach(function(Tn){Tn(Gt)})})},[Gt]),y.createElement(Me.Provider,{value:Vn},fn)};return{Context:Me,Provider:pt,defaultValue:Te}}function se(Te,Me){var pt=(0,Ce.Z)(typeof Me=="function"?Me:function(Tn){if(Me===void 0)return Tn;if(!Array.isArray(Me))return Tn[Me];var Mn={};return Me.forEach(function(Dn){Mn[Dn]=Tn[Dn]}),Mn}),At=y.useContext(Te==null?void 0:Te.Context),jt=At||{},Gt=jt.listeners,fn=jt.getValue,ln=y.useRef();ln.current=pt(At?fn():Te==null?void 0:Te.defaultValue);var yn=y.useState({}),En=(0,ze.Z)(yn,2),Vn=En[1];return(0,Fe.Z)(function(){if(!At)return;function Tn(Mn){var Dn=pt(Mn);(0,ge.Z)(ln.current,Dn,!0)||Vn({})}return Gt.add(Tn),function(){Gt.delete(Tn)}},[At]),ln.current}var Ue=E(60499),me=E(8654);function Ne(){var Te=y.createContext(null);function Me(){return y.useContext(Te)}function pt(jt,Gt){var fn=(0,me.Yr)(jt),ln=function(En,Vn){var Tn=fn?{ref:Vn}:{},Mn=y.useRef(0),Dn=y.useRef(En),Sn=Me();return Sn!==null?y.createElement(jt,(0,Ue.Z)({},En,Tn)):((!Gt||Gt(Dn.current,En))&&(Mn.current+=1),Dn.current=En,y.createElement(Te.Provider,{value:Mn.current},y.createElement(jt,(0,Ue.Z)({},En,Tn))))};return fn?y.forwardRef(ln):ln}function At(jt,Gt){var fn=(0,me.Yr)(jt),ln=function(En,Vn){var Tn=fn?{ref:Vn}:{};return Me(),y.createElement(jt,(0,Ue.Z)({},En,Tn))};return fn?y.memo(y.forwardRef(ln),Gt):y.memo(ln,Gt)}return{makeImmutable:pt,responseImmutable:At,useImmutableMark:Me}}var we=Ne(),be=we.makeImmutable,he=we.responseImmutable,ce=we.useImmutableMark,Ie=Ne(),Ze=Ie.makeImmutable,$e=Ie.responseImmutable,oe=Ie.useImmutableMark,Be=De(),tt=Be;function Re(Te,Me){var pt=React.useRef(0);pt.current+=1;var At=React.useRef(Te),jt=[];Object.keys(Te||{}).map(function(fn){var ln;(Te==null?void 0:Te[fn])!==((ln=At.current)===null||ln===void 0?void 0:ln[fn])&&jt.push(fn)}),At.current=Te;var Gt=React.useRef([]);return jt.length&&(Gt.current=jt),React.useDebugValue(pt.current),React.useDebugValue(Gt.current.join(", ")),Me&&console.log("".concat(Me,":"),pt.current,Gt.current),pt.current}var _e=null,ye=null,Le=E(43749),Ve=E(85899),Pe=E(18642),it=E(92310),Oe=E.n(it),ue=E(80547),Xe=E(97938),Ge=E(48736),lt=y.createContext({renderWithProps:!1}),Tt=lt,Ke="RC_TABLE_KEY";function Se(Te){return Te==null?[]:Array.isArray(Te)?Te:[Te]}function Ft(Te){var Me=[],pt={};return Te.forEach(function(At){for(var jt=At||{},Gt=jt.key,fn=jt.dataIndex,ln=Gt||Se(fn).join("-")||Ke;pt[ln];)ln="".concat(ln,"_next");pt[ln]=!0,Me.push(ln)}),Me}function It(Te){return Te!=null}function ut(Te){return typeof Te=="number"&&!Number.isNaN(Te)}function xe(Te){return Te&&(0,Le.Z)(Te)==="object"&&!Array.isArray(Te)&&!y.isValidElement(Te)}function ke(Te,Me,pt,At,jt,Gt){var fn=y.useContext(Tt),ln=oe(),yn=(0,ue.Z)(function(){if(It(At))return[At];var En=Me==null||Me===""?[]:Array.isArray(Me)?Me:[Me],Vn=(0,Xe.Z)(Te,En),Tn=Vn,Mn=void 0;if(jt){var Dn=jt(Vn,Te,pt);xe(Dn)?(Tn=Dn.children,Mn=Dn.props,fn.renderWithProps=!0):Tn=Dn}return[Tn,Mn]},[ln,Te,At,Me,jt,pt],function(En,Vn){if(Gt){var Tn=(0,ze.Z)(En,2),Mn=Tn[1],Dn=(0,ze.Z)(Vn,2),Sn=Dn[1];return Gt(Sn,Mn)}return fn.renderWithProps?!0:!(0,ge.Z)(En,Vn,!0)});return yn}function at(Te,Me,pt,At){var jt=Te+Me-1;return Te<=At&&jt>=pt}function Rt(Te,Me){return se(tt,function(pt){var At=at(Te,Me||1,pt.hoverStartRow,pt.hoverEndRow);return[At,pt.onHover]})}var ft=E(70425),Nt=function(Me){var pt=Me.ellipsis,At=Me.rowType,jt=Me.children,Gt,fn=pt===!0?{showTitle:!0}:pt;return fn&&(fn.showTitle||At==="header")&&(typeof jt=="string"||typeof jt=="number"?Gt=jt.toString():y.isValidElement(jt)&&typeof jt.props.children=="string"&&(Gt=jt.props.children)),Gt};function xt(Te){var Me,pt,At,jt,Gt,fn,ln,yn,En=Te.component,Vn=Te.children,Tn=Te.ellipsis,Mn=Te.scope,Dn=Te.prefixCls,Sn=Te.className,vr=Te.align,$n=Te.record,Ar=Te.render,br=Te.dataIndex,Lr=Te.renderIndex,Dr=Te.shouldCellUpdate,Pr=Te.index,Wr=Te.rowType,_r=Te.colSpan,$r=Te.rowSpan,Mo=Te.fixLeft,Ir=Te.fixRight,Fr=Te.firstFixLeft,zr=Te.lastFixLeft,ar=Te.firstFixRight,or=Te.lastFixRight,Rr=Te.appendNode,Gr=Te.additionalProps,lo=Gr===void 0?{}:Gr,Lo=Te.isSticky,Xr="".concat(Dn,"-cell"),Fi=se(tt,["supportSticky","allColumnsFixedLeft","rowHoverable"]),xi=Fi.supportSticky,pa=Fi.allColumnsFixedLeft,Qi=Fi.rowHoverable,ua=ke($n,br,Lr,Vn,Ar,Dr),ga=(0,ze.Z)(ua,2),Ca=ga[0],Ri=ga[1],Ni={},Pa=typeof Mo=="number"&&xi,Ma=typeof Ir=="number"&ξPa&&(Ni.position="sticky",Ni.left=Mo),Ma&&(Ni.position="sticky",Ni.right=Ir);var Vo=(Me=(pt=(At=Ri==null?void 0:Ri.colSpan)!==null&&At!==void 0?At:lo.colSpan)!==null&&pt!==void 0?pt:_r)!==null&&Me!==void 0?Me:1,Si=(jt=(Gt=(fn=Ri==null?void 0:Ri.rowSpan)!==null&&fn!==void 0?fn:lo.rowSpan)!==null&&Gt!==void 0?Gt:$r)!==null&&jt!==void 0?jt:1,zo=Rt(Pr,Si),go=(0,ze.Z)(zo,2),Ki=go[0],qi=go[1],ba=(0,ft.zX)(function(ca){var da;$n&&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;$n&&qi(-1,-1),lo==null||(da=lo.onMouseLeave)===null||da===void 0||da.call(lo,ca)});if(Vo===0||Si===0)return null;var Oa=(ln=lo.title)!==null&&ln!==void 0?ln:Nt({rowType:Wr,ellipsis:Tn,children:Ca}),Da=Oe()(Xr,Sn,(yn={},(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)(yn,"".concat(Xr,"-fix-left"),Pa&&xi),"".concat(Xr,"-fix-left-first"),Fr&&xi),"".concat(Xr,"-fix-left-last"),zr&&xi),"".concat(Xr,"-fix-left-all"),zr&&pa&&xi),"".concat(Xr,"-fix-right"),Ma&&xi),"".concat(Xr,"-fix-right-first"),ar&&xi),"".concat(Xr,"-fix-right-last"),or&&xi),"".concat(Xr,"-ellipsis"),Tn),"".concat(Xr,"-with-append"),Rr),"".concat(Xr,"-fix-sticky"),(Pa||Ma)&&Lo&&xi),(0,Pe.Z)(yn,"".concat(Xr,"-row-hover"),!Ri&&Ki)),lo.className,Ri==null?void 0:Ri.className),$o={};vr&&($o.textAlign=vr);var si=(0,Ve.Z)((0,Ve.Z)((0,Ve.Z)((0,Ve.Z)({},Ri==null?void 0:Ri.style),Ni),$o),lo.style),ta=Ca;return(0,Le.Z)(ta)==="object"&&!Array.isArray(ta)&&!y.isValidElement(ta)&&(ta=null),Tn&&(zr||ar)&&(ta=y.createElement("span",{className:"".concat(Xr,"-content")},ta)),y.createElement(En,(0,Ue.Z)({},Ri,lo,{className:Da,style:si,title:Oa,scope:Mn,onMouseEnter:Qi?ba:void 0,onMouseLeave:Qi?ea:void 0,colSpan:Vo!==1?Vo:null,rowSpan:Si!==1?Si:null}),Rr,ta)}var Xt=y.memo(xt);function Wt(Te,Me,pt,At,jt){var Gt=pt[Te]||{},fn=pt[Me]||{},ln,yn;Gt.fixed==="left"?ln=At.left[jt==="rtl"?Me:Te]:fn.fixed==="right"&&(yn=At.right[jt==="rtl"?Te:Me]);var En=!1,Vn=!1,Tn=!1,Mn=!1,Dn=pt[Me+1],Sn=pt[Te-1],vr=Dn&&!Dn.fixed||Sn&&!Sn.fixed||pt.every(function(Dr){return Dr.fixed==="left"});if(jt==="rtl"){if(ln!==void 0){var $n=Sn&&Sn.fixed==="left";Mn=!$n&&vr}else if(yn!==void 0){var Ar=Dn&&Dn.fixed==="right";Tn=!Ar&&vr}}else if(ln!==void 0){var br=Dn&&Dn.fixed==="left";En=!br&&vr}else if(yn!==void 0){var Lr=Sn&&Sn.fixed==="right";Vn=!Lr&&vr}return{fixLeft:ln,fixRight:yn,lastFixLeft:En,firstFixRight:Vn,lastFixRight:Tn,firstFixLeft:Mn,isSticky:At.isSticky}}var de=y.createContext({}),ne=de;function te(Te){var Me=Te.className,pt=Te.index,At=Te.children,jt=Te.colSpan,Gt=jt===void 0?1:jt,fn=Te.rowSpan,ln=Te.align,yn=se(tt,["prefixCls","direction"]),En=yn.prefixCls,Vn=yn.direction,Tn=y.useContext(ne),Mn=Tn.scrollColumnIndex,Dn=Tn.stickyOffsets,Sn=Tn.flattenColumns,vr=pt+Gt-1,$n=vr+1===Mn?Gt+1:Gt,Ar=Wt(pt,pt+$n-1,Sn,Dn,Vn);return y.createElement(Xt,(0,Ue.Z)({className:Me,index:pt,component:"td",prefixCls:En,record:null,dataIndex:null,align:ln,colSpan:$n,rowSpan:fn,render:function(){return At}},Ar))}var le=E(42244),ve=["children"];function re(Te){var Me=Te.children,pt=(0,le.Z)(Te,ve);return y.createElement("tr",pt,Me)}function fe(Te){var Me=Te.children;return Me}fe.Row=re,fe.Cell=te;var Ye=fe;function vt(Te){var Me=Te.children,pt=Te.stickyOffsets,At=Te.flattenColumns,jt=se(tt,"prefixCls"),Gt=At.length-1,fn=At[Gt],ln=y.useMemo(function(){return{stickyOffsets:pt,flattenColumns:At,scrollColumnIndex:fn!=null&&fn.scrollbar?Gt:null}},[fn,At,Gt,pt]);return y.createElement(ne.Provider,{value:ln},y.createElement("tfoot",{className:"".concat(jt,"-summary")},Me))}var et=$e(vt),nt=Ye,mt=E(29301),yt=E(24514),St=E(75152),Qe=E(26112);function st(Te,Me,pt,At,jt,Gt,fn){Te.push({record:Me,indent:pt,index:fn});var ln=Gt(Me),yn=jt==null?void 0:jt.has(ln);if(Me&&Array.isArray(Me[At])&&yn)for(var En=0;En<Me[At].length;En+=1)st(Te,Me[At][En],pt+1,At,jt,Gt,En)}function en(Te,Me,pt,At){var jt=y.useMemo(function(){if(pt!=null&&pt.size){for(var Gt=[],fn=0;fn<(Te==null?void 0:Te.length);fn+=1){var ln=Te[fn];st(Gt,ln,0,Me,pt,At,fn)}return Gt}return Te==null?void 0:Te.map(function(yn,En){return{record:yn,indent:0,index:En}})},[Te,Me,pt,At]);return jt}function Kt(Te,Me,pt,At){var jt=se(tt,["prefixCls","fixedInfoList","flattenColumns","expandableType","expandRowByClick","onTriggerExpand","rowClassName","expandedRowClassName","indentSize","expandIcon","expandedRowRender","expandIconColumnIndex","expandedKeys","childrenColumnName","rowExpandable","onRow"]),Gt=jt.flattenColumns,fn=jt.expandableType,ln=jt.expandedKeys,yn=jt.childrenColumnName,En=jt.onTriggerExpand,Vn=jt.rowExpandable,Tn=jt.onRow,Mn=jt.expandRowByClick,Dn=jt.rowClassName,Sn=fn==="nest",vr=fn==="row"&&(!Vn||Vn(Te)),$n=vr||Sn,Ar=ln&&ln.has(Me),br=yn&&Te&&Te[yn],Lr=(0,ft.zX)(En),Dr=Tn==null?void 0:Tn(Te,pt),Pr=Dr==null?void 0:Dr.onClick,Wr=function(Ir){Mn&&$n&&En(Te,Ir);for(var Fr=arguments.length,zr=new Array(Fr>1?Fr-1:0),ar=1;ar<Fr;ar++)zr[ar-1]=arguments[ar];Pr==null||Pr.apply(void 0,[Ir].concat(zr))},_r;typeof Dn=="string"?_r=Dn:typeof Dn=="function"&&(_r=Dn(Te,pt,At));var $r=Ft(Gt);return(0,Ve.Z)((0,Ve.Z)({},jt),{},{columnsKey:$r,nestExpandable:Sn,expanded:Ar,hasNestChildren:br,record:Te,onTriggerExpand:Lr,rowSupportExpand:vr,expandable:$n,rowProps:(0,Ve.Z)((0,Ve.Z)({},Dr),{},{className:Oe()(_r,Dr==null?void 0:Dr.className),onClick:Wr})})}function vn(Te){var Me=Te.prefixCls,pt=Te.children,At=Te.component,jt=Te.cellComponent,Gt=Te.className,fn=Te.expanded,ln=Te.colSpan,yn=Te.isEmpty,En=se(tt,["scrollbarSize","fixHeader","fixColumn","componentWidth","horizonScroll"]),Vn=En.scrollbarSize,Tn=En.fixHeader,Mn=En.fixColumn,Dn=En.componentWidth,Sn=En.horizonScroll,vr=pt;return(yn?Sn&&Dn:Mn)&&(vr=y.createElement("div",{style:{width:Dn-(Tn&&!yn?Vn:0),position:"sticky",left:0,overflow:"hidden"},className:"".concat(Me,"-expanded-row-fixed")},vr)),y.createElement(At,{className:Gt,style:{display:fn?null:"none"}},y.createElement(Xt,{component:jt,prefixCls:Me,colSpan:ln},vr))}var nn=vn;function Yt(Te){var Me=Te.prefixCls,pt=Te.record,At=Te.onExpand,jt=Te.expanded,Gt=Te.expandable,fn="".concat(Me,"-row-expand-icon");if(!Gt)return y.createElement("span",{className:Oe()(fn,"".concat(Me,"-row-spaced"))});var ln=function(En){At(pt,En),En.stopPropagation()};return y.createElement("span",{className:Oe()(fn,(0,Pe.Z)((0,Pe.Z)({},"".concat(Me,"-row-expanded"),jt),"".concat(Me,"-row-collapsed"),!jt)),onClick:ln})}function Jt(Te,Me,pt){var At=[];function jt(Gt){(Gt||[]).forEach(function(fn,ln){At.push(Me(fn,ln)),jt(fn[pt])})}return jt(Te),At}function cn(Te,Me,pt,At){return typeof Te=="string"?Te:typeof Te=="function"?Te(Me,pt,At):""}function bt(Te,Me,pt,At,jt){var Gt=Te.record,fn=Te.prefixCls,ln=Te.columnsKey,yn=Te.fixedInfoList,En=Te.expandIconColumnIndex,Vn=Te.nestExpandable,Tn=Te.indentSize,Mn=Te.expandIcon,Dn=Te.expanded,Sn=Te.hasNestChildren,vr=Te.onTriggerExpand,$n=ln[pt],Ar=yn[pt],br;pt===(En||0)&&Vn&&(br=y.createElement(y.Fragment,null,y.createElement("span",{style:{paddingLeft:"".concat(Tn*At,"px")},className:"".concat(fn,"-row-indent indent-level-").concat(At)}),Mn({prefixCls:fn,expanded:Dn,expandable:Sn,record:Gt,onExpand:vr})));var Lr;return Me.onCell&&(Lr=Me.onCell(Gt,jt)),{key:$n,fixedInfo:Ar,appendCellNode:br,additionalCellProps:Lr||{}}}function zt(Te){var Me=Te.className,pt=Te.style,At=Te.record,jt=Te.index,Gt=Te.renderIndex,fn=Te.rowKey,ln=Te.indent,yn=ln===void 0?0:ln,En=Te.rowComponent,Vn=Te.cellComponent,Tn=Te.scopeCellComponent,Mn=Kt(At,fn,jt,yn),Dn=Mn.prefixCls,Sn=Mn.flattenColumns,vr=Mn.expandedRowClassName,$n=Mn.expandedRowRender,Ar=Mn.rowProps,br=Mn.expanded,Lr=Mn.rowSupportExpand,Dr=y.useRef(!1);Dr.current||(Dr.current=br);var Pr=cn(vr,At,jt,yn),Wr=y.createElement(En,(0,Ue.Z)({},Ar,{"data-row-key":fn,className:Oe()(Me,"".concat(Dn,"-row"),"".concat(Dn,"-row-level-").concat(yn),Ar==null?void 0:Ar.className,(0,Pe.Z)({},Pr,yn>=1)),style:(0,Ve.Z)((0,Ve.Z)({},pt),Ar==null?void 0:Ar.style)}),Sn.map(function(Mo,Ir){var Fr=Mo.render,zr=Mo.dataIndex,ar=Mo.className,or=bt(Mn,Mo,Ir,yn,jt),Rr=or.key,Gr=or.fixedInfo,lo=or.appendCellNode,Lo=or.additionalCellProps;return y.createElement(Xt,(0,Ue.Z)({className:ar,ellipsis:Mo.ellipsis,align:Mo.align,scope:Mo.rowScope,component:Mo.rowScope?Tn:Vn,prefixCls:Dn,key:Rr,record:At,index:jt,renderIndex:Gt,dataIndex:zr,render:Fr,shouldCellUpdate:Mo.shouldCellUpdate},Gr,{appendNode:lo,additionalProps:Lo}))})),_r;if(Lr&&(Dr.current||br)){var $r=$n(At,jt,yn+1,br);_r=y.createElement(nn,{expanded:br,className:Oe()("".concat(Dn,"-expanded-row"),"".concat(Dn,"-expanded-row-level-").concat(yn+1),Pr),prefixCls:Dn,component:En,cellComponent:Vn,colSpan:Sn.length,isEmpty:!1},$r)}return y.createElement(y.Fragment,null,Wr,_r)}var un=$e(zt);function Cn(Te){var Me=Te.columnKey,pt=Te.onColumnResize,At=y.useRef();return(0,Fe.Z)(function(){At.current&&pt(Me,At.current.offsetWidth)},[]),y.createElement(mt.Z,{data:Me},y.createElement("td",{ref:At,style:{padding:0,border:0,height:0}},y.createElement("div",{style:{height:0,overflow:"hidden"}},"\xA0")))}var ct=E(29194);function Zt(Te){var Me=Te.prefixCls,pt=Te.columnsKey,At=Te.onColumnResize,jt=y.useRef(null);return y.createElement("tr",{"aria-hidden":"true",className:"".concat(Me,"-measure-row"),style:{height:0,fontSize:0},ref:jt},y.createElement(mt.Z.Collection,{onBatchResize:function(fn){(0,ct.Z)(jt.current)&&fn.forEach(function(ln){var yn=ln.data,En=ln.size;At(yn,En.offsetWidth)})}},pt.map(function(Gt){return y.createElement(Cn,{key:Gt,columnKey:Gt,onColumnResize:At})})))}function wt(Te){var Me=Te.data,pt=Te.measureColumnWidth,At=se(tt,["prefixCls","getComponent","onColumnResize","flattenColumns","getRowKey","expandedKeys","childrenColumnName","emptyNode"]),jt=At.prefixCls,Gt=At.getComponent,fn=At.onColumnResize,ln=At.flattenColumns,yn=At.getRowKey,En=At.expandedKeys,Vn=At.childrenColumnName,Tn=At.emptyNode,Mn=en(Me,Vn,En,yn),Dn=y.useRef({renderWithProps:!1}),Sn=Gt(["body","wrapper"],"tbody"),vr=Gt(["body","row"],"tr"),$n=Gt(["body","cell"],"td"),Ar=Gt(["body","cell"],"th"),br;Me.length?br=Mn.map(function(Dr,Pr){var Wr=Dr.record,_r=Dr.indent,$r=Dr.index,Mo=yn(Wr,Pr);return y.createElement(un,{key:Mo,rowKey:Mo,record:Wr,index:Pr,renderIndex:$r,rowComponent:vr,cellComponent:$n,scopeCellComponent:Ar,indent:_r})}):br=y.createElement(nn,{expanded:!0,className:"".concat(jt,"-placeholder"),prefixCls:jt,component:vr,cellComponent:$n,colSpan:ln.length,isEmpty:!0},Tn);var Lr=Ft(ln);return y.createElement(Tt.Provider,{value:Dn.current},y.createElement(Sn,{className:"".concat(jt,"-tbody")},pt&&y.createElement(Zt,{prefixCls:jt,columnsKey:Lr,onColumnResize:fn}),br))}var dn=$e(wt),wn=["expandable"],Un="RC_TABLE_INTERNAL_COL_DEFINE";function er(Te){var Me=Te.expandable,pt=(0,le.Z)(Te,wn),At;return"expandable"in Te?At=(0,Ve.Z)((0,Ve.Z)({},pt),Me):At=pt,At.showExpandColumn===!1&&(At.expandIconColumnIndex=-1),At}var lr=["columnType"];function Rn(Te){for(var Me=Te.colWidths,pt=Te.columns,At=Te.columCount,jt=se(tt,["tableLayout"]),Gt=jt.tableLayout,fn=[],ln=At||pt.length,yn=!1,En=ln-1;En>=0;En-=1){var Vn=Me[En],Tn=pt&&pt[En],Mn=void 0,Dn=void 0;if(Tn&&(Mn=Tn[Un],Gt==="auto"&&(Dn=Tn.minWidth)),Vn||Dn||Mn||yn){var Sn=Mn||{},vr=Sn.columnType,$n=(0,le.Z)(Sn,lr);fn.unshift(y.createElement("col",(0,Ue.Z)({key:En,style:{width:Vn,minWidth:Dn}},$n))),yn=!0}}return y.createElement("colgroup",null,fn)}var Qn=Rn,Vt=E(77654),Lt=["className","noData","columns","flattenColumns","colWidths","columCount","stickyOffsets","direction","fixHeader","stickyTopOffset","stickyBottomOffset","stickyClassName","onScroll","maxContentScroll","children"];function sn(Te,Me){return(0,y.useMemo)(function(){for(var pt=[],At=0;At<Me;At+=1){var jt=Te[At];if(jt!==void 0)pt[At]=jt;else return null}return pt},[Te.join("_"),Me])}var an=y.forwardRef(function(Te,Me){var pt=Te.className,At=Te.noData,jt=Te.columns,Gt=Te.flattenColumns,fn=Te.colWidths,ln=Te.columCount,yn=Te.stickyOffsets,En=Te.direction,Vn=Te.fixHeader,Tn=Te.stickyTopOffset,Mn=Te.stickyBottomOffset,Dn=Te.stickyClassName,Sn=Te.onScroll,vr=Te.maxContentScroll,$n=Te.children,Ar=(0,le.Z)(Te,Lt),br=se(tt,["prefixCls","scrollbarSize","isSticky","getComponent"]),Lr=br.prefixCls,Dr=br.scrollbarSize,Pr=br.isSticky,Wr=br.getComponent,_r=Wr(["header","table"],"table"),$r=Pr&&!Vn?0:Dr,Mo=y.useRef(null),Ir=y.useCallback(function(Lo){(0,me.mH)(Me,Lo),(0,me.mH)(Mo,Lo)},[]);y.useEffect(function(){var Lo;function Xr(Fi){var xi=Fi,pa=xi.currentTarget,Qi=xi.deltaX;Qi&&(Sn({currentTarget:pa,scrollLeft:pa.scrollLeft+Qi}),Fi.preventDefault())}return(Lo=Mo.current)===null||Lo===void 0||Lo.addEventListener("wheel",Xr,{passive:!1}),function(){var Fi;(Fi=Mo.current)===null||Fi===void 0||Fi.removeEventListener("wheel",Xr)}},[]);var Fr=y.useMemo(function(){return Gt.every(function(Lo){return Lo.width})},[Gt]),zr=Gt[Gt.length-1],ar={fixed:zr?zr.fixed:null,scrollbar:!0,onHeaderCell:function(){return{className:"".concat(Lr,"-cell-scrollbar")}}},or=(0,y.useMemo)(function(){return $r?[].concat((0,Vt.Z)(jt),[ar]):jt},[$r,jt]),Rr=(0,y.useMemo)(function(){return $r?[].concat((0,Vt.Z)(Gt),[ar]):Gt},[$r,Gt]),Gr=(0,y.useMemo)(function(){var Lo=yn.right,Xr=yn.left;return(0,Ve.Z)((0,Ve.Z)({},yn),{},{left:En==="rtl"?[].concat((0,Vt.Z)(Xr.map(function(Fi){return Fi+$r})),[0]):Xr,right:En==="rtl"?Lo:[].concat((0,Vt.Z)(Lo.map(function(Fi){return Fi+$r})),[0]),isSticky:Pr})},[$r,yn,Pr]),lo=sn(fn,ln);return y.createElement("div",{style:(0,Ve.Z)({overflow:"hidden"},Pr?{top:Tn,bottom:Mn}:{}),ref:Ir,className:Oe()(pt,(0,Pe.Z)({},Dn,!!Dn))},y.createElement(_r,{style:{tableLayout:"fixed",visibility:At||lo?null:"hidden"}},(!At||!vr||Fr)&&y.createElement(Qn,{colWidths:lo?[].concat((0,Vt.Z)(lo),[$r]):[],columCount:ln+1,columns:Rr}),$n((0,Ve.Z)((0,Ve.Z)({},Ar),{},{stickyOffsets:Gr,columns:or,flattenColumns:Rr}))))}),tn=y.memo(an),Bn=function(Me){var pt=Me.cells,At=Me.stickyOffsets,jt=Me.flattenColumns,Gt=Me.rowComponent,fn=Me.cellComponent,ln=Me.onHeaderRow,yn=Me.index,En=se(tt,["prefixCls","direction"]),Vn=En.prefixCls,Tn=En.direction,Mn;ln&&(Mn=ln(pt.map(function(Sn){return Sn.column}),yn));var Dn=Ft(pt.map(function(Sn){return Sn.column}));return y.createElement(Gt,Mn,pt.map(function(Sn,vr){var $n=Sn.column,Ar=Wt(Sn.colStart,Sn.colEnd,jt,At,Tn),br;return $n&&$n.onHeaderCell&&(br=Sn.column.onHeaderCell($n)),y.createElement(Xt,(0,Ue.Z)({},Sn,{scope:$n.title?Sn.colSpan>1?"colgroup":"col":null,ellipsis:$n.ellipsis,align:$n.align,component:fn,prefixCls:Vn,key:Dn[vr]},Ar,{additionalProps:br,rowType:"header"}))}))},xn=Bn;function jn(Te){var Me=[];function pt(fn,ln){var yn=arguments.length>2&&arguments[2]!==void 0?arguments[2]:0;Me[yn]=Me[yn]||[];var En=ln,Vn=fn.filter(Boolean).map(function(Tn){var Mn={key:Tn.key,className:Tn.className||"",children:Tn.title,column:Tn,colStart:En},Dn=1,Sn=Tn.children;return Sn&&Sn.length>0&&(Dn=pt(Sn,En,yn+1).reduce(function(vr,$n){return vr+$n},0),Mn.hasSubColumns=!0),"colSpan"in Tn&&(Dn=Tn.colSpan),"rowSpan"in Tn&&(Mn.rowSpan=Tn.rowSpan),Mn.colSpan=Dn,Mn.colEnd=Mn.colStart+Dn-1,Me[yn].push(Mn),En+=Dn,Dn});return Vn}pt(Te,0);for(var At=Me.length,jt=function(ln){Me[ln].forEach(function(yn){!("rowSpan"in yn)&&!yn.hasSubColumns&&(yn.rowSpan=At-ln)})},Gt=0;Gt<At;Gt+=1)jt(Gt);return Me}var nr=function(Me){var pt=Me.stickyOffsets,At=Me.columns,jt=Me.flattenColumns,Gt=Me.onHeaderRow,fn=se(tt,["prefixCls","getComponent"]),ln=fn.prefixCls,yn=fn.getComponent,En=y.useMemo(function(){return jn(At)},[At]),Vn=yn(["header","wrapper"],"thead"),Tn=yn(["header","row"],"tr"),Mn=yn(["header","cell"],"th");return y.createElement(Vn,{className:"".concat(ln,"-thead")},En.map(function(Dn,Sn){var vr=y.createElement(xn,{key:Sn,flattenColumns:jt,cells:Dn,stickyOffsets:pt,rowComponent:Tn,cellComponent:Mn,onHeaderRow:Gt,index:Sn});return vr}))},Gn=$e(nr),Ln=E(11592);function mr(Te){var Me=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";return typeof Me=="number"?Me:Me.endsWith("%")?Te*parseFloat(Me)/100:null}function ir(Te,Me,pt){return y.useMemo(function(){if(Me&&Me>0){var At=0,jt=0;Te.forEach(function(Mn){var Dn=mr(Me,Mn.width);Dn?At+=Dn:jt+=1});var Gt=Math.max(Me,pt),fn=Math.max(Gt-At,jt),ln=jt,yn=fn/jt,En=0,Vn=Te.map(function(Mn){var Dn=(0,Ve.Z)({},Mn),Sn=mr(Me,Dn.width);if(Sn)Dn.width=Sn;else{var vr=Math.floor(yn);Dn.width=ln===1?fn:vr,fn-=vr,ln-=1}return En+=Dn.width,Dn});if(En<Gt){var Tn=Gt/En;fn=Gt,Vn.forEach(function(Mn,Dn){var Sn=Math.floor(Mn.width*Tn);Mn.width=Dn===Vn.length-1?fn:Sn,fn-=Sn})}return[Vn,Math.max(En,Gt)]}return[Te,Me]},[Te,Me,pt])}var jr=["children"],Nr=["fixed"];function Fn(Te){return(0,Ln.Z)(Te).filter(function(Me){return y.isValidElement(Me)}).map(function(Me){var pt=Me.key,At=Me.props,jt=At.children,Gt=(0,le.Z)(At,jr),fn=(0,Ve.Z)({key:pt},Gt);return jt&&(fn.children=Fn(jt)),fn})}function Nn(Te){return Te.filter(function(Me){return Me&&(0,Le.Z)(Me)==="object"&&!Me.hidden}).map(function(Me){var pt=Me.children;return pt&&pt.length>0?(0,Ve.Z)((0,Ve.Z)({},Me),{},{children:Nn(pt)}):Me})}function cr(Te){var Me=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"key";return Te.filter(function(pt){return pt&&(0,Le.Z)(pt)==="object"}).reduce(function(pt,At,jt){var Gt=At.fixed,fn=Gt===!0?"left":Gt,ln="".concat(Me,"-").concat(jt),yn=At.children;return yn&&yn.length>0?[].concat((0,Vt.Z)(pt),(0,Vt.Z)(cr(yn,ln).map(function(En){return(0,Ve.Z)({fixed:fn},En)}))):[].concat((0,Vt.Z)(pt),[(0,Ve.Z)((0,Ve.Z)({key:ln},At),{},{fixed:fn})])},[])}function sr(Te){return Te.map(function(Me){var pt=Me.fixed,At=(0,le.Z)(Me,Nr),jt=pt;return pt==="left"?jt="right":pt==="right"&&(jt="left"),(0,Ve.Z)({fixed:jt},At)})}function kt(Te,Me){var pt=Te.prefixCls,At=Te.columns,jt=Te.children,Gt=Te.expandable,fn=Te.expandedKeys,ln=Te.columnTitle,yn=Te.getRowKey,En=Te.onTriggerExpand,Vn=Te.expandIcon,Tn=Te.rowExpandable,Mn=Te.expandIconColumnIndex,Dn=Te.direction,Sn=Te.expandRowByClick,vr=Te.columnWidth,$n=Te.fixed,Ar=Te.scrollWidth,br=Te.clientWidth,Lr=y.useMemo(function(){var zr=At||Fn(jt)||[];return Nn(zr.slice())},[At,jt]),Dr=y.useMemo(function(){if(Gt){var zr=Lr.slice();if(!zr.includes(Ae)){var ar=Mn||0;ar>=0&&(ar||$n==="left"||!$n)&&zr.splice(ar,0,Ae),$n==="right"&&zr.splice(Lr.length,0,Ae)}var or=zr.indexOf(Ae);zr=zr.filter(function(Lo,Xr){return Lo!==Ae||Xr===or});var Rr=Lr[or],Gr;$n?Gr=$n:Gr=Rr?Rr.fixed:null;var lo=(0,Pe.Z)((0,Pe.Z)((0,Pe.Z)((0,Pe.Z)((0,Pe.Z)((0,Pe.Z)({},Un,{className:"".concat(pt,"-expand-icon-col"),columnType:"EXPAND_COLUMN"}),"title",ln),"fixed",Gr),"className","".concat(pt,"-row-expand-icon-cell")),"width",vr),"render",function(Xr,Fi,xi){var pa=yn(Fi,xi),Qi=fn.has(pa),ua=Tn?Tn(Fi):!0,ga=Vn({prefixCls:pt,expanded:Qi,expandable:ua,record:Fi,onExpand:En});return Sn?y.createElement("span",{onClick:function(Ri){return Ri.stopPropagation()}},ga):ga});return zr.map(function(Lo){return Lo===Ae?lo:Lo})}return Lr.filter(function(Lo){return Lo!==Ae})},[Gt,Lr,yn,fn,Vn,Dn]),Pr=y.useMemo(function(){var zr=Dr;return Me&&(zr=Me(zr)),zr.length||(zr=[{render:function(){return null}}]),zr},[Me,Dr,Dn]),Wr=y.useMemo(function(){return Dn==="rtl"?sr(cr(Pr)):cr(Pr)},[Pr,Dn,Ar]),_r=y.useMemo(function(){for(var zr=-1,ar=Wr.length-1;ar>=0;ar-=1){var or=Wr[ar].fixed;if(or==="left"||or===!0){zr=ar;break}}if(zr>=0)for(var Rr=0;Rr<=zr;Rr+=1){var Gr=Wr[Rr].fixed;if(Gr!=="left"&&Gr!==!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 Xr=Wr[Lo].fixed;if(Xr!=="right")return!0}return!1},[Wr]),$r=ir(Wr,Ar,br),Mo=(0,ze.Z)($r,2),Ir=Mo[0],Fr=Mo[1];return[Pr,Ir,Fr,_r]}var qt=kt;function gt(Te,Me,pt){var At=er(Te),jt=At.expandIcon,Gt=At.expandedRowKeys,fn=At.defaultExpandedRowKeys,ln=At.defaultExpandAllRows,yn=At.expandedRowRender,En=At.onExpand,Vn=At.onExpandedRowsChange,Tn=At.childrenColumnName,Mn=jt||Yt,Dn=Tn||"children",Sn=y.useMemo(function(){return yn?"row":Te.expandable&&Te.internalHooks===pe&&Te.expandable.__PARENT_RENDER_ICON__||Me.some(function(Pr){return Pr&&(0,Le.Z)(Pr)==="object"&&Pr[Dn]})?"nest":!1},[!!yn,Me]),vr=y.useState(function(){return fn||(ln?Jt(Me,pt,Dn):[])}),$n=(0,ze.Z)(vr,2),Ar=$n[0],br=$n[1],Lr=y.useMemo(function(){return new Set(Gt||Ar||[])},[Gt,Ar]),Dr=y.useCallback(function(Pr){var Wr=pt(Pr,Me.indexOf(Pr)),_r,$r=Lr.has(Wr);$r?(Lr.delete(Wr),_r=(0,Vt.Z)(Lr)):_r=[].concat((0,Vt.Z)(Lr),[Wr]),br(_r),En&&En(!$r,Pr),Vn&&Vn(_r)},[pt,Lr,Me,En,Vn]);return[At,Sn,Lr,Mn,Dn,Dr]}function Ht(Te,Me,pt){var At=Te.map(function(jt,Gt){return Wt(Gt,Gt,Te,Me,pt)});return(0,ue.Z)(function(){return At},[At],function(jt,Gt){return!(0,ge.Z)(jt,Gt)})}function Et(Te){var Me=(0,y.useRef)(Te),pt=(0,y.useState)({}),At=(0,ze.Z)(pt,2),jt=At[1],Gt=(0,y.useRef)(null),fn=(0,y.useRef)([]);function ln(yn){fn.current.push(yn);var En=Promise.resolve();Gt.current=En,En.then(function(){if(Gt.current===En){var Vn=fn.current,Tn=Me.current;fn.current=[],Vn.forEach(function(Mn){Me.current=Mn(Me.current)}),Gt.current=null,Tn!==Me.current&&jt({})}})}return(0,y.useEffect)(function(){return function(){Gt.current=null}},[]),[Me.current,ln]}function Ut(Te){var Me=(0,y.useRef)(Te||null),pt=(0,y.useRef)();function At(){window.clearTimeout(pt.current)}function jt(fn){Me.current=fn,At(),pt.current=window.setTimeout(function(){Me.current=null,pt.current=void 0},100)}function Gt(){return Me.current}return(0,y.useEffect)(function(){return At},[]),[jt,Gt]}function ot(){var Te=y.useState(-1),Me=(0,ze.Z)(Te,2),pt=Me[0],At=Me[1],jt=y.useState(-1),Gt=(0,ze.Z)(jt,2),fn=Gt[0],ln=Gt[1],yn=y.useCallback(function(En,Vn){At(En),ln(Vn)},[]);return[pt,fn,yn]}var Qt=E(47273),rn=(0,Qt.Z)()?window:null;function _t(Te,Me){var pt=(0,Le.Z)(Te)==="object"?Te:{},At=pt.offsetHeader,jt=At===void 0?0:At,Gt=pt.offsetSummary,fn=Gt===void 0?0:Gt,ln=pt.offsetScroll,yn=ln===void 0?0:ln,En=pt.getContainer,Vn=En===void 0?function(){return rn}:En,Tn=Vn()||rn,Mn=!!Te;return y.useMemo(function(){return{isSticky:Mn,stickyClassName:Mn?"".concat(Me,"-sticky-holder"):"",offsetHeader:jt,offsetSummary:fn,offsetScroll:yn,container:Tn}},[Mn,yn,jt,fn,Me,Tn])}function rt(Te,Me,pt){var At=(0,y.useMemo)(function(){var jt=Me.length,Gt=function(En,Vn,Tn){for(var Mn=[],Dn=0,Sn=En;Sn!==Vn;Sn+=Tn)Mn.push(Dn),Me[Sn].fixed&&(Dn+=Te[Sn]||0);return Mn},fn=Gt(0,jt,1),ln=Gt(jt-1,-1,-1).reverse();return pt==="rtl"?{left:ln,right:fn}:{left:fn,right:ln}},[Te,Me,pt]);return At}var Bt=rt;function Ot(Te){var Me=Te.className,pt=Te.children;return y.createElement("div",{className:Me},pt)}var $t=Ot,On=E(8224),Wn=E(16089),Yn=E(76846);function Mr(Te){var Me=(0,Yn.bn)(Te),pt=Me.getBoundingClientRect(),At=document.documentElement;return{left:pt.left+(window.pageXOffset||At.scrollLeft)-(At.clientLeft||document.body.clientLeft||0),top:pt.top+(window.pageYOffset||At.scrollTop)-(At.clientTop||document.body.clientTop||0)}}var Hr=function(Me,pt){var At,jt,Gt=Me.scrollBodyRef,fn=Me.onScroll,ln=Me.offsetScroll,yn=Me.container,En=Me.direction,Vn=se(tt,"prefixCls"),Tn=((At=Gt.current)===null||At===void 0?void 0:At.scrollWidth)||0,Mn=((jt=Gt.current)===null||jt===void 0?void 0:jt.clientWidth)||0,Dn=Tn&&Mn*(Mn/Tn),Sn=y.useRef(),vr=Et({scrollLeft:0,isHiddenScrollBar:!0}),$n=(0,ze.Z)(vr,2),Ar=$n[0],br=$n[1],Lr=y.useRef({delta:0,x:0}),Dr=y.useState(!1),Pr=(0,ze.Z)(Dr,2),Wr=Pr[0],_r=Pr[1],$r=y.useRef(null);y.useEffect(function(){return function(){Wn.Z.cancel($r.current)}},[]);var Mo=function(){_r(!1)},Ir=function(Rr){Rr.persist(),Lr.current.delta=Rr.pageX-Ar.scrollLeft,Lr.current.x=0,_r(!0),Rr.preventDefault()},Fr=function(Rr){var Gr,lo=Rr||((Gr=window)===null||Gr===void 0?void 0:Gr.event),Lo=lo.buttons;if(!Wr||Lo===0){Wr&&_r(!1);return}var Xr=Lr.current.x+Rr.pageX-Lr.current.x-Lr.current.delta,Fi=En==="rtl";Xr=Math.max(Fi?Dn-Mn:0,Math.min(Fi?0:Mn-Dn,Xr));var xi=!Fi||Math.abs(Xr)+Math.abs(Dn)<Mn;xi&&(fn({scrollLeft:Xr/Mn*(Tn+2)}),Lr.current.x=Rr.pageX)},zr=function(){Wn.Z.cancel($r.current),$r.current=(0,Wn.Z)(function(){if(Gt.current){var Rr=Mr(Gt.current).top,Gr=Rr+Gt.current.offsetHeight,lo=yn===window?document.documentElement.scrollTop+window.innerHeight:Mr(yn).top+yn.clientHeight;Gr-(0,St.Z)()<=lo||Rr>=lo-ln?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})})}})},ar=function(Rr){br(function(Gr){return(0,Ve.Z)((0,Ve.Z)({},Gr),{},{scrollLeft:Rr/Tn*Mn||0})})};return y.useImperativeHandle(pt,function(){return{setScrollLeft:ar,checkScrollBarVisible:zr}}),y.useEffect(function(){var or=(0,On.Z)(document.body,"mouseup",Mo,!1),Rr=(0,On.Z)(document.body,"mousemove",Fr,!1);return zr(),function(){or.remove(),Rr.remove()}},[Dn,Wr]),y.useEffect(function(){if(Gt.current){for(var or=[],Rr=(0,Yn.bn)(Gt.current);Rr;)or.push(Rr),Rr=Rr.parentElement;return or.forEach(function(Gr){return Gr.addEventListener("scroll",zr,!1)}),window.addEventListener("resize",zr,!1),window.addEventListener("scroll",zr,!1),yn.addEventListener("scroll",zr,!1),function(){or.forEach(function(Gr){return Gr.removeEventListener("scroll",zr)}),window.removeEventListener("resize",zr),window.removeEventListener("scroll",zr),yn.removeEventListener("scroll",zr)}}},[yn]),y.useEffect(function(){Ar.isHiddenScrollBar||br(function(or){var Rr=Gt.current;return Rr?(0,Ve.Z)((0,Ve.Z)({},or),{},{scrollLeft:Rr.scrollLeft/Rr.scrollWidth*Rr.clientWidth}):or})},[Ar.isHiddenScrollBar]),Tn<=Mn||!Dn||Ar.isHiddenScrollBar?null:y.createElement("div",{style:{height:(0,St.Z)(),width:Mn,bottom:ln},className:"".concat(Vn,"-sticky-scroll")},y.createElement("div",{onMouseDown:Ir,ref:Sn,className:Oe()("".concat(Vn,"-sticky-scroll-bar"),(0,Pe.Z)({},"".concat(Vn,"-sticky-scroll-bar-active"),Wr)),style:{width:"".concat(Dn,"px"),transform:"translate3d(".concat(Ar.scrollLeft,"px, 0, 0)")}}))},to=y.forwardRef(Hr);function fr(Te){return null}var Er=fr;function Tr(Te){return null}var Yr=Tr,ro="rc-table",oo=[],ao={};function Or(){return"No Data"}function eo(Te,Me){var pt=(0,Ve.Z)({rowKey:"key",prefixCls:ro,emptyText:Or},Te),At=pt.prefixCls,jt=pt.className,Gt=pt.rowClassName,fn=pt.style,ln=pt.data,yn=pt.rowKey,En=pt.scroll,Vn=pt.tableLayout,Tn=pt.direction,Mn=pt.title,Dn=pt.footer,Sn=pt.summary,vr=pt.caption,$n=pt.id,Ar=pt.showHeader,br=pt.components,Lr=pt.emptyText,Dr=pt.onRow,Pr=pt.onHeaderRow,Wr=pt.onScroll,_r=pt.internalHooks,$r=pt.transformColumns,Mo=pt.internalRefs,Ir=pt.tailor,Fr=pt.getContainerWidth,zr=pt.sticky,ar=pt.rowHoverable,or=ar===void 0?!0:ar,Rr=ln||oo,Gr=!!Rr.length,lo=_r===pe,Lo=y.useCallback(function(la,ma){return(0,Xe.Z)(br,la)||ma},[br]),Xr=y.useMemo(function(){return typeof yn=="function"?yn:function(la){var ma=la&&la[yn];return ma}},[yn]),Fi=Lo(["body"]),xi=ot(),pa=(0,ze.Z)(xi,3),Qi=pa[0],ua=pa[1],ga=pa[2],Ca=gt(pt,Rr,Xr),Ri=(0,ze.Z)(Ca,6),Ni=Ri[0],Pa=Ri[1],Ma=Ri[2],Vo=Ri[3],Si=Ri[4],zo=Ri[5],go=En==null?void 0:En.x,Ki=y.useState(0),qi=(0,ze.Z)(Ki,2),ba=qi[0],ea=qi[1],Oa=qt((0,Ve.Z)((0,Ve.Z)((0,Ve.Z)({},pt),Ni),{},{expandable:!!Ni.expandedRowRender,columnTitle:Ni.columnTitle,expandedKeys:Ma,getRowKey:Xr,onTriggerExpand:zo,expandIcon:Vo,expandIconColumnIndex:Ni.expandIconColumnIndex,direction:Tn,scrollWidth:lo&&Ir&&typeof go=="number"?go:null,clientWidth:ba}),lo?$r:null),Da=(0,ze.Z)(Oa,4),$o=Da[0],si=Da[1],ta=Da[2],ca=Da[3],da=ta!=null?ta:go,za=y.useMemo(function(){return{columns:$o,flattenColumns:si}},[$o,si]),Ea=y.useRef(),Ga=y.useRef(),ya=y.useRef(),Ui=y.useRef();y.useImperativeHandle(Me,function(){return{nativeElement:Ea.current,scrollTo:function(ma){var gl;if(ya.current instanceof HTMLElement){var Rl=ma.index,yl=ma.top,Is=ma.key;if(ut(yl)){var hs;(hs=ya.current)===null||hs===void 0||hs.scrollTo({top:yl})}else{var ls,Ms=Is!=null?Is:Xr(Rr[Rl]);(ls=ya.current.querySelector('[data-row-key="'.concat(Ms,'"]')))===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,ze.Z)(xa,2),La=Ra[0],Gi=Ra[1],Fa=y.useState(!1),ia=(0,ze.Z)(Fa,2),Xa=ia[0],ja=ia[1],nl=y.useState(new Map),ll=(0,ze.Z)(nl,2),Ml=ll[0],Sa=ll[1],as=Ft(si),rl=as.map(function(la){return Ml.get(la)}),Dl=y.useMemo(function(){return rl},[rl.join("_")]),pl=Bt(Dl,si,Tn),wi=En&&It(En.y),jo=En&&It(da)||!!Ni.fixed,Na=jo&&si.some(function(la){var ma=la.fixed;return ma}),sl=y.useRef(),Bl=_t(zr,At),_l=Bl.isSticky,Ds=Bl.offsetHeader,Fs=Bl.offsetSummary,Rs=Bl.offsetScroll,aa=Bl.stickyClassName,Hi=Bl.container,ho=y.useMemo(function(){return Sn==null?void 0:Sn(Rr)},[Sn,Rr]),fi=(wi||_l)&&y.isValidElement(ho)&&ho.type===Ye&&ho.props.fixed,Yi,Va,ul;wi&&(Va={overflowY:Gr?"scroll":"auto",maxHeight:En.y}),jo&&(Yi={overflowX:"auto"},wi||(Va={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})},[]),Jl=Ut(null),vl=(0,ze.Z)(Jl,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,Ce.Z)(function(la){var ma=la.currentTarget,gl=la.scrollLeft,Rl=Tn==="rtl",yl=typeof gl=="number"?gl:ma.scrollLeft,Is=ma||ao;if(!eu()||eu()===Is){var hs;Bs(Is),Zs(yl,Ga.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||Ga.current;if(ls){var Ms=lo&&Ir&&typeof da=="number"?da:ls.scrollWidth,fu=ls.clientWidth;if(Ms===fu){Gi(!1),ja(!1);return}Rl?(Gi(-yl<Ms-fu),ja(-yl>0)):(Gi(yl>0),ja(yl<Ms-fu))}}),_s=(0,Ce.Z)(function(la){gs(la),Wr==null||Wr(la)}),ys=function(){if(jo&&ya.current){var ma;gs({currentTarget:(0,Yn.bn)(ya.current),scrollLeft:(ma=ya.current)===null||ma===void 0?void 0:ma.scrollLeft})}else Gi(!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))},Gs=y.useRef(!1);y.useEffect(function(){Gs.current&&ys()},[jo,ln,$o.length]),y.useEffect(function(){Gs.current=!0},[]);var nu=y.useState(0),vu=(0,ze.Z)(nu,2),ms=vu[0],ru=vu[1],wu=y.useState(!0),ou=(0,ze.Z)(wu,2),zs=ou[0],Au=ou[1];(0,Fe.Z)(function(){(!Ir||!lo)&&(ya.current instanceof Element?ru((0,St.o)(ya.current).width):ru((0,St.o)(Ui.current).width)),Au((0,yt.G)("position","sticky"))},[]),y.useEffect(function(){lo&&Mo&&(Mo.body.current=ya.current)});var Du=y.useCallback(function(la){return y.createElement(y.Fragment,null,y.createElement(Gn,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 Vn||(Na?da==="max-content"?"auto":"fixed":wi||_l||si.some(function(la){var ma=la.ellipsis;return ma})?"fixed":"auto")},[wi,Na,si,Vn,_l]),au,Hs={colWidths:Dl,columCount:si.length,stickyOffsets:pl,onHeaderRow:Pr,fixHeader:wi,scroll:En},lu=y.useMemo(function(){return Gr?null:typeof Lr=="function"?Lr():Lr},[Gr,Lr]),gu=y.createElement(dn,{data:Rr,measureColumnWidth:wi||jo||_l}),su=y.createElement(Qn,{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,Qe.Z)(pt,{data:!0}),Xs=(0,Qe.Z)(pt,{aria:!0});if(wi||_l){var Cs;typeof Fi=="function"?(Cs=Fi(Rr,{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),Va),onScroll:_s,ref:ya,className:Oe()("".concat(At,"-body"))},y.createElement(iu,(0,Ue.Z)({style:(0,Ve.Z)((0,Ve.Z)({},ul),{},{tableLayout:Ws})},Xs),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:!Rr.length,maxContentScroll:jo&&da==="max-content"},Hs),za),{},{direction:Tn,stickyClassName:aa,onScroll:gs});au=y.createElement(y.Fragment,null,Ar!==!1&&y.createElement(tn,(0,Ue.Z)({},Ps,{stickyTopOffset:Ds,className:"".concat(At,"-header"),ref:Ga}),Du),Cs,fi&&fi!=="top"&&y.createElement(tn,(0,Ue.Z)({},Ps,{stickyBottomOffset:Fs,className:"".concat(At,"-summary"),ref:va}),js),_l&&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),Va),className:Oe()("".concat(At,"-content")),onScroll:gs,ref:ya},y.createElement(iu,(0,Ue.Z)({style:(0,Ve.Z)((0,Ve.Z)({},ul),{},{tableLayout:Ws})},Xs),uu,su,Ar!==!1&&y.createElement(Gn,(0,Ue.Z)({},Hs,za)),gu,ho&&y.createElement(et,{stickyOffsets:pl,flattenColumns:si},ho)));var cu=y.createElement("div",(0,Ue.Z)({className:Oe()(At,jt,(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"),Xa),"".concat(At,"-layout-fixed"),Vn==="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:$n,ref:Ea},Fu),Mn&&y.createElement($t,{className:"".concat(At,"-title")},Mn(Rr)),y.createElement("div",{ref:Ui,className:"".concat(At,"-container")},au),Dn&&y.createElement($t,{className:"".concat(At,"-footer")},Dn(Rr)));jo&&(cu=y.createElement(mt.Z,{onResize:tu},cu));var du=Ht(si,pl,Tn),Bu=y.useMemo(function(){return{scrollX:da,prefixCls:At,getComponent:Lo,scrollbarSize:ms,direction:Tn,fixedInfoList:du,isSticky:_l,supportSticky:zs,componentWidth:ba,fixHeader:wi,fixColumn:Na,horizonScroll:jo,tableLayout:Ws,rowClassName:Gt,expandedRowClassName:Ni.expandedRowClassName,expandIcon:Vo,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:$o,flattenColumns:si,onColumnResize:ol,hoverStartRow:Qi,hoverEndRow:ua,onHover:ga,rowExpandable:Ni.rowExpandable,onRow:Dr,getRowKey:Xr,expandedKeys:Ma,childrenColumnName:Si,rowHoverable:or}},[da,At,Lo,ms,Tn,du,_l,zs,ba,wi,Na,jo,Ws,Gt,Ni.expandedRowClassName,Vo,Pa,Ni.expandRowByClick,Ni.expandedRowRender,zo,Ni.expandIconColumnIndex,Ni.indentSize,lu,$o,si,ol,Qi,ua,ga,Ni.rowExpandable,Dr,Xr,Ma,Si,or]);return y.createElement(tt.Provider,{value:Bu},cu)}var Jr=y.forwardRef(eo);function Wo(Te){return Ze(Jr,Te)}var Ko=Wo();Ko.EXPAND_COLUMN=Ae,Ko.INTERNAL_HOOKS=pe,Ko.Column=Er,Ko.ColumnGroup=Yr,Ko.Summary=nt;var rr=Ko,Ro=E(48911),ei=De(null),yo=De(null);function Zo(Te,Me,pt){var At=Me||1;return pt[Te+At]-(pt[Te]||0)}function vo(Te){var Me=Te.rowInfo,pt=Te.column,At=Te.colIndex,jt=Te.indent,Gt=Te.index,fn=Te.component,ln=Te.renderIndex,yn=Te.record,En=Te.style,Vn=Te.className,Tn=Te.inverse,Mn=Te.getHeight,Dn=pt.render,Sn=pt.dataIndex,vr=pt.className,$n=pt.width,Ar=se(yo,["columnsOffset"]),br=Ar.columnsOffset,Lr=bt(Me,pt,At,jt,Gt),Dr=Lr.key,Pr=Lr.fixedInfo,Wr=Lr.appendCellNode,_r=Lr.additionalCellProps,$r=_r.style,Mo=_r.colSpan,Ir=Mo===void 0?1:Mo,Fr=_r.rowSpan,zr=Fr===void 0?1:Fr,ar=At-1,or=Zo(ar,Ir,br),Rr=Ir>1?$n-or:0,Gr=(0,Ve.Z)((0,Ve.Z)((0,Ve.Z)({},$r),En),{},{flex:"0 0 ".concat(or,"px"),width:"".concat(or,"px"),marginRight:Rr,pointerEvents:"auto"}),lo=y.useMemo(function(){return Tn?zr<=1:Ir===0||zr===0||zr>1},[zr,Ir,Tn]);lo?Gr.visibility="hidden":Tn&&(Gr.height=Mn==null?void 0:Mn(zr));var Lo=lo?function(){return null}:Dn,Xr={};return(zr===0||Ir===0)&&(Xr.rowSpan=1,Xr.colSpan=1),y.createElement(Xt,(0,Ue.Z)({className:Oe()(vr,Vn),ellipsis:pt.ellipsis,align:pt.align,scope:pt.rowScope,component:fn,prefixCls:Me.prefixCls,key:Dr,record:yn,index:Gt,renderIndex:ln,dataIndex:Sn,render:Lo,shouldCellUpdate:pt.shouldCellUpdate},Pr,{appendNode:Wr,additionalProps:(0,Ve.Z)((0,Ve.Z)({},_r),{},{style:Gr},Xr)}))}var ui=vo,yi=["data","index","className","rowKey","style","extra","getHeight"],Jo=y.forwardRef(function(Te,Me){var pt=Te.data,At=Te.index,jt=Te.className,Gt=Te.rowKey,fn=Te.style,ln=Te.extra,yn=Te.getHeight,En=(0,le.Z)(Te,yi),Vn=pt.record,Tn=pt.indent,Mn=pt.index,Dn=se(tt,["prefixCls","flattenColumns","fixColumn","componentWidth","scrollX"]),Sn=Dn.scrollX,vr=Dn.flattenColumns,$n=Dn.prefixCls,Ar=Dn.fixColumn,br=Dn.componentWidth,Lr=se(ei,["getComponent"]),Dr=Lr.getComponent,Pr=Kt(Vn,Gt,At,Tn),Wr=Dr(["body","row"],"div"),_r=Dr(["body","cell"],"div"),$r=Pr.rowSupportExpand,Mo=Pr.expanded,Ir=Pr.rowProps,Fr=Pr.expandedRowRender,zr=Pr.expandedRowClassName,ar;if($r&&Mo){var or=Fr(Vn,At,Tn+1,Mo),Rr=cn(zr,Vn,At,Tn),Gr={};Ar&&(Gr={style:(0,Pe.Z)({},"--virtual-width","".concat(br,"px"))});var lo="".concat($n,"-expanded-row-cell");ar=y.createElement(Wr,{className:Oe()("".concat($n,"-expanded-row"),"".concat($n,"-expanded-row-level-").concat(Tn+1),Rr)},y.createElement(Xt,{component:_r,prefixCls:$n,className:Oe()(lo,(0,Pe.Z)({},"".concat(lo,"-fixed"),Ar)),additionalProps:Gr},or))}var Lo=(0,Ve.Z)((0,Ve.Z)({},fn),{},{width:Sn});ln&&(Lo.position="absolute",Lo.pointerEvents="none");var Xr=y.createElement(Wr,(0,Ue.Z)({},Ir,En,{"data-row-key":Gt,ref:$r?null:Me,className:Oe()(jt,"".concat($n,"-row"),Ir==null?void 0:Ir.className,(0,Pe.Z)({},"".concat($n,"-row-extra"),ln)),style:(0,Ve.Z)((0,Ve.Z)({},Lo),Ir==null?void 0:Ir.style)}),vr.map(function(Fi,xi){return y.createElement(ui,{key:xi,component:_r,rowInfo:Pr,column:Fi,colIndex:xi,indent:Tn,index:At,renderIndex:Mn,record:Vn,inverse:ln,getHeight:yn})}));return $r?y.createElement("div",{ref:Me},Xr,ar):Xr}),pi=$e(Jo),ki=pi,Ci=y.forwardRef(function(Te,Me){var pt=Te.data,At=Te.onScroll,jt=se(tt,["flattenColumns","onColumnResize","getRowKey","prefixCls","expandedKeys","childrenColumnName","scrollX","direction"]),Gt=jt.flattenColumns,fn=jt.onColumnResize,ln=jt.getRowKey,yn=jt.expandedKeys,En=jt.prefixCls,Vn=jt.childrenColumnName,Tn=jt.scrollX,Mn=jt.direction,Dn=se(ei),Sn=Dn.sticky,vr=Dn.scrollY,$n=Dn.listItemHeight,Ar=Dn.getComponent,br=Dn.onScroll,Lr=y.useRef(),Dr=en(pt,Vn,yn,ln),Pr=y.useMemo(function(){var ar=0;return Gt.map(function(or){var Rr=or.width,Gr=or.key;return ar+=Rr,[Gr,Rr,ar]})},[Gt]),Wr=y.useMemo(function(){return Pr.map(function(ar){return ar[2]})},[Pr]);y.useEffect(function(){Pr.forEach(function(ar){var or=(0,ze.Z)(ar,2),Rr=or[0],Gr=or[1];fn(Rr,Gr)})},[Pr]),y.useImperativeHandle(Me,function(){var ar,or={scrollTo:function(Gr){var lo;(lo=Lr.current)===null||lo===void 0||lo.scrollTo(Gr)},nativeElement:(ar=Lr.current)===null||ar===void 0?void 0:ar.nativeElement};return Object.defineProperty(or,"scrollLeft",{get:function(){var Gr;return((Gr=Lr.current)===null||Gr===void 0?void 0:Gr.getScrollInfo().x)||0},set:function(Gr){var lo;(lo=Lr.current)===null||lo===void 0||lo.scrollTo({left:Gr})}}),or});var _r=function(or,Rr){var Gr,lo=(Gr=Dr[Rr])===null||Gr===void 0?void 0:Gr.record,Lo=or.onCell;if(Lo){var Xr,Fi=Lo(lo,Rr);return(Xr=Fi==null?void 0:Fi.rowSpan)!==null&&Xr!==void 0?Xr:1}return 1},$r=function(or){var Rr=or.start,Gr=or.end,lo=or.getSize,Lo=or.offsetY;if(Gr<0)return null;for(var Xr=Gt.filter(function(Vo){return _r(Vo,Rr)===0}),Fi=Rr,xi=function(Si){if(Xr=Xr.filter(function(zo){return _r(zo,Si)===0}),!Xr.length)return Fi=Si,1},pa=Rr;pa>=0&&!xi(pa);pa-=1);for(var Qi=Gt.filter(function(Vo){return _r(Vo,Gr)!==1}),ua=Gr,ga=function(Si){if(Qi=Qi.filter(function(zo){return _r(zo,Si)!==1}),!Qi.length)return ua=Math.max(Si-1,Gr),1},Ca=Gr;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 _r(go,Si)>1})&&Ri.push(Si)},Pa=Fi;Pa<=ua;Pa+=1)Ni(Pa);var Ma=Ri.map(function(Vo){var Si=Dr[Vo],zo=ln(Si.record,Vo),go=function(ba){var ea=Vo+ba-1,Oa=ln(Dr[ea].record,ea),Da=lo(zo,Oa);return Da.bottom-Da.top},Ki=lo(zo);return y.createElement(ki,{key:Vo,data:Si,rowKey:zo,index:Vo,style:{top:-Lo+Ki.top},extra:!0,getHeight:go})});return Ma},Mo=y.useMemo(function(){return{columnsOffset:Wr}},[Wr]),Ir="".concat(En,"-tbody"),Fr=Ar(["body","wrapper"]),zr={};return Sn&&(zr.position="sticky",zr.bottom=0,(0,Le.Z)(Sn)==="object"&&Sn.offsetScroll&&(zr.bottom=Sn.offsetScroll)),y.createElement(yo.Provider,{value:Mo},y.createElement(Ro.Z,{fullHeight:!1,ref:Lr,prefixCls:"".concat(Ir,"-virtual"),styles:{horizontalScrollBar:zr},className:Ir,height:vr,itemHeight:$n||24,data:Dr,itemKey:function(or){return ln(or.record)},component:Fr,scrollWidth:Tn,direction:Mn,onVirtualScroll:function(or){var Rr,Gr=or.x;At({currentTarget:(Rr=Lr.current)===null||Rr===void 0?void 0:Rr.nativeElement,scrollLeft:Gr})},onScroll:br,extraRender:$r},function(ar,or,Rr){var Gr=ln(ar.record,or);return y.createElement(ki,{data:ar,rowKey:Gr,index:or,style:Rr.style})}))}),Oi=$e(Ci),No=Oi,Je=function(Me,pt){var At=pt.ref,jt=pt.onScroll;return y.createElement(No,{ref:At,data:Me,onScroll:jt})};function hn(Te,Me){var pt=Te.data,At=Te.columns,jt=Te.scroll,Gt=Te.sticky,fn=Te.prefixCls,ln=fn===void 0?ro:fn,yn=Te.className,En=Te.listItemHeight,Vn=Te.components,Tn=Te.onScroll,Mn=jt||{},Dn=Mn.x,Sn=Mn.y;typeof Dn!="number"&&(Dn=1),typeof Sn!="number"&&(Sn=500);var vr=(0,ft.zX)(function(br,Lr){return(0,Xe.Z)(Vn,br)||Lr}),$n=(0,ft.zX)(Tn),Ar=y.useMemo(function(){return{sticky:Gt,scrollY:Sn,listItemHeight:En,getComponent:vr,onScroll:$n}},[Gt,Sn,En,vr,$n]);return y.createElement(ei.Provider,{value:Ar},y.createElement(rr,(0,Ue.Z)({},Te,{className:Oe()(yn,"".concat(ln,"-virtual")),scroll:(0,Ve.Z)((0,Ve.Z)({},jt),{},{x:Dn}),components:(0,Ve.Z)((0,Ve.Z)({},Vn),{},{body:pt!=null&&pt.length?Je:void 0}),columns:At,internalHooks:pe,tailor:!0,ref:Me})))}var Mt=y.forwardRef(hn);function bn(Te){return Ze(Mt,Te)}var Jn=bn(),Zn=null,yr=Te=>null,Kn=Te=>null,tr=E(84105),kr=E(82661),wo=E(34643),ci=E(34061),ii=E(18929);function oi(Te){const[Me,pt]=(0,y.useState)(null);return[(0,y.useCallback)((Gt,fn,ln)=>{const yn=Me!=null?Me:Gt,En=Math.min(yn||0,Gt),Vn=Math.max(yn||0,Gt),Tn=fn.slice(En,Vn+1).map(Sn=>Te(Sn)),Mn=Tn.some(Sn=>!ln.has(Sn)),Dn=[];return Tn.forEach(Sn=>{Mn?(ln.has(Sn)||Dn.push(Sn),ln.add(Sn)):(ln.delete(Sn),Dn.push(Sn))}),pt(Mn?Vn:null),Dn},[Me]),Gt=>{pt(Gt)}]}var vi=E(32383),mi=E(62673),Li=E(75727),Bi=E(47889);const Ti={},Vi="SELECT_ALL",sa="SELECT_INVERT",fa="SELECT_NONE",wa=[],ha=(Te,Me)=>{let pt=[];return(Me||[]).forEach(At=>{pt.push(At),At&&typeof At=="object"&&Te in At&&(pt=[].concat((0,Vt.Z)(pt),(0,Vt.Z)(ha(Te,At[Te]))))}),pt};var Do=(Te,Me)=>{const{preserveSelectedRowKeys:pt,selectedRowKeys:At,defaultSelectedRowKeys:jt,getCheckboxProps:Gt,onChange:fn,onSelect:ln,onSelectAll:yn,onSelectInvert:En,onSelectNone:Vn,onSelectMultiple:Tn,columnWidth:Mn,type:Dn,selections:Sn,fixed:vr,renderCell:$n,hideSelectAll:Ar,checkStrictly:br=!0}=Me||{},{prefixCls:Lr,data:Dr,pageData:Pr,getRecordByKey:Wr,getRowKey:_r,expandType:$r,childrenColumnName:Mo,locale:Ir,getPopupContainer:Fr}=Te,zr=(0,vi.ln)("Table"),[ar,or]=oi(Vo=>Vo),[Rr,Gr]=(0,ii.Z)(At||jt||wa,{value:At}),lo=y.useRef(new Map),Lo=(0,y.useCallback)(Vo=>{if(pt){const Si=new Map;Vo.forEach(zo=>{let go=Wr(zo);!go&&lo.current.has(zo)&&(go=lo.current.get(zo)),Si.set(zo,go)}),lo.current=Si}},[Wr,pt]);y.useEffect(()=>{Lo(Rr)},[Rr]);const Xr=(0,y.useMemo)(()=>ha(Mo,Pr),[Mo,Pr]),{keyEntities:Fi}=(0,y.useMemo)(()=>{if(br)return{keyEntities:null};let Vo=Dr;if(pt){const Si=new Set(Xr.map((go,Ki)=>_r(go,Ki))),zo=Array.from(lo.current).reduce((go,Ki)=>{let[qi,ba]=Ki;return Si.has(qi)?go:go.concat(ba)},[]);Vo=[].concat((0,Vt.Z)(Vo),(0,Vt.Z)(zo))}return(0,ci.I8)(Vo,{externalGetKey:_r,childrenPropName:Mo})},[Dr,_r,br,Mo,pt,Xr]),xi=(0,y.useMemo)(()=>{const Vo=new Map;return Xr.forEach((Si,zo)=>{const go=_r(Si,zo),Ki=(Gt?Gt(Si):null)||{};Vo.set(go,Ki)}),Vo},[Xr,_r,Gt]),pa=(0,y.useCallback)(Vo=>{const Si=_r(Vo);let zo;return xi.has(Si)?zo=xi.get(_r(Vo)):zo=Gt?Gt(Vo):void 0,!!(zo!=null&&zo.disabled)},[xi,_r]),[Qi,ua]=(0,y.useMemo)(()=>{if(br)return[Rr||[],[]];const{checkedKeys:Vo,halfCheckedKeys:Si}=(0,wo.S)(Rr,!0,Fi,pa);return[Vo||[],Si]},[Rr,br,Fi,pa]),ga=(0,y.useMemo)(()=>{const Vo=Dn==="radio"?Qi.slice(0,1):Qi;return new Set(Vo)},[Qi,Dn]),Ca=(0,y.useMemo)(()=>Dn==="radio"?new Set:new Set(ua),[ua,Dn]);y.useEffect(()=>{Me||Gr(wa)},[!!Me]);const Ri=(0,y.useCallback)((Vo,Si)=>{let zo,go;Lo(Vo),pt?(zo=Vo,go=Vo.map(Ki=>lo.current.get(Ki))):(zo=[],go=[],Vo.forEach(Ki=>{const qi=Wr(Ki);qi!==void 0&&(zo.push(Ki),go.push(qi))})),Gr(zo),fn==null||fn(zo,go,{type:Si})},[Gr,Wr,fn,pt]),Ni=(0,y.useCallback)((Vo,Si,zo,go)=>{if(ln){const Ki=zo.map(qi=>Wr(qi));ln(Wr(Vo),Si,Ki,go)}Ri(zo,"single")},[ln,Wr,Ri]),Pa=(0,y.useMemo)(()=>!Sn||Ar?null:(Sn===!0?[Vi,sa,fa]:Sn).map(Si=>Si===Vi?{key:"all",text:Ir.selectionAll,onSelect(){Ri(Dr.map((zo,go)=>_r(zo,go)).filter(zo=>{const go=xi.get(zo);return!(go!=null&&go.disabled)||ga.has(zo)}),"all")}}:Si===sa?{key:"invert",text:Ir.selectInvert,onSelect(){const zo=new Set(ga);Pr.forEach((Ki,qi)=>{const ba=_r(Ki,qi),ea=xi.get(ba);ea!=null&&ea.disabled||(zo.has(ba)?zo.delete(ba):zo.add(ba))});const go=Array.from(zo);En&&(zr.deprecated(!1,"onSelectInvert","onChange"),En(go)),Ri(go,"invert")}}:Si===fa?{key:"none",text:Ir.selectNone,onSelect(){Vn==null||Vn(),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,Ki=arguments.length,qi=new Array(Ki),ba=0;ba<Ki;ba++)qi[ba]=arguments[ba];(go=Si.onSelect)===null||go===void 0||(zo=go).call.apply(zo,[Si].concat(qi)),or(null)}})),[Sn,ga,Pr,_r,En,Ri]);return[(0,y.useCallback)(Vo=>{var Si;if(!Me)return Vo.filter(Ui=>Ui!==Ti);let zo=(0,Vt.Z)(Vo);const go=new Set(ga),Ki=Xr.map(_r).filter(Ui=>!xi.get(Ui).disabled),qi=Ki.every(Ui=>go.has(Ui)),ba=Ki.some(Ui=>go.has(Ui)),ea=()=>{const Ui=[];qi?Ki.forEach(xa=>{go.delete(xa),Ui.push(xa)}):Ki.forEach(xa=>{go.has(xa)||(go.add(xa),Ui.push(xa))});const va=Array.from(go);yn==null||yn(!qi,va.map(xa=>Wr(xa)),Ui.map(xa=>Wr(xa))),Ri(va,"all"),or(null)};let Oa,Da;if(Dn!=="radio"){let Ui;if(Pa){const Gi={getPopupContainer:Fr,items:Pa.map((Fa,ia)=>{const{key:Xa,text:ja,onSelect:nl}=Fa;return{key:Xa!=null?Xa:ia,onClick:()=>{nl==null||nl(Ki)},label:ja}})};Ui=y.createElement("div",{className:`${Lr}-selection-extra`},y.createElement(Li.Z,{menu:Gi,getPopupContainer:Fr},y.createElement("span",null,y.createElement(tr.Z,null))))}const va=Xr.map((Gi,Fa)=>{const ia=_r(Gi,Fa),Xa=xi.get(ia)||{};return Object.assign({checked:go.has(ia)},Xa)}).filter(Gi=>{let{disabled:Fa}=Gi;return Fa}),xa=!!va.length&&va.length===Xr.length,Ra=xa&&va.every(Gi=>{let{checked:Fa}=Gi;return Fa}),La=xa&&va.some(Gi=>{let{checked:Fa}=Gi;return Fa});Da=y.createElement(mi.default,{checked:xa?Ra:!!Xr.length&&qi,indeterminate:xa?!Ra&&La:!qi&&ba,onChange:ea,disabled:Xr.length===0||xa,"aria-label":Ui?"Custom selection":"Select all",skipGroup:!0}),Oa=!Ar&&y.createElement("div",{className:`${Lr}-selection`},Da,Ui)}let $o;Dn==="radio"?$o=(Ui,va,xa)=>{const Ra=_r(va,xa),La=go.has(Ra),Gi=xi.get(Ra);return{node:y.createElement(Bi.ZP,Object.assign({},Gi,{checked:La,onClick:Fa=>{var ia;Fa.stopPropagation(),(ia=Gi==null?void 0:Gi.onClick)===null||ia===void 0||ia.call(Gi,Fa)},onChange:Fa=>{var ia;go.has(Ra)||Ni(Ra,!0,[Ra],Fa.nativeEvent),(ia=Gi==null?void 0:Gi.onChange)===null||ia===void 0||ia.call(Gi,Fa)}})),checked:La}}:$o=(Ui,va,xa)=>{var Ra;const La=_r(va,xa),Gi=go.has(La),Fa=Ca.has(La),ia=xi.get(La);let Xa;return $r==="nest"?Xa=Fa:Xa=(Ra=ia==null?void 0:ia.indeterminate)!==null&&Ra!==void 0?Ra:Fa,{node:y.createElement(mi.default,Object.assign({},ia,{indeterminate:Xa,checked:Gi,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:Ml}=ll,Sa=Ki.findIndex(rl=>rl===La),as=Qi.some(rl=>Ki.includes(rl));if(Ml&&br&&as){const rl=ar(Sa,Ki,go),Dl=Array.from(go);Tn==null||Tn(!Gi,Dl.map(pl=>Wr(pl)),rl.map(pl=>Wr(pl))),Ri(Dl,"multiple")}else{const rl=Qi;if(br){const Dl=Gi?(0,kr._5)(rl,La):(0,kr.L0)(rl,La);Ni(La,!Gi,Dl,ll)}else{const Dl=(0,wo.S)([].concat((0,Vt.Z)(rl),[La]),!0,Fi,pa),{checkedKeys:pl,halfCheckedKeys:wi}=Dl;let jo=pl;if(Gi){const Na=new Set(pl);Na.delete(La),jo=(0,wo.S)(Array.from(Na),{checked:!1,halfCheckedKeys:wi},Fi,pa).checkedKeys}Ni(La,!Gi,jo,ll)}}or(Gi?null:Sa),(nl=ia==null?void 0:ia.onChange)===null||nl===void 0||nl.call(ia,ja)}})),checked:Gi}};const si=(Ui,va,xa)=>{const{node:Ra,checked:La}=$o(Ui,va,xa);return $n?$n(La,va,xa,Ra):Ra};if(!zo.includes(Ti))if(zo.findIndex(Ui=>{var va;return((va=Ui[Un])===null||va===void 0?void 0:va.columnType)==="EXPAND_COLUMN"})===0){const[Ui,...va]=zo;zo=[Ui,Ti].concat((0,Vt.Z)(va))}else zo=[Ti].concat((0,Vt.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[Un])===null||Si===void 0?void 0:Si.columnType)==="EXPAND_COLUMN"&&ca.fixed===void 0&&(ca.fixed=za);const Ea=Oe()(`${Lr}-selection-col`,{[`${Lr}-selection-col-with-dropdown`]:Sn&&Dn==="checkbox"}),Ga=()=>Me!=null&&Me.columnTitle?typeof Me.columnTitle=="function"?Me.columnTitle(Da):Me.columnTitle:Oa,ya={fixed:za,width:Mn,className:`${Lr}-selection-column`,title:Ga(),render:si,onCell:Me.onCell,[Un]:{className:Ea}};return zo.map(Ui=>Ui===Ti?ya:Ui)},[_r,Xr,Me,Qi,ga,Ca,Mn,Pa,$r,xi,Tn,Ni,pa]),ga]},Co=E(2738);function $i(Te,Me){return Te._antProxy=Te._antProxy||{},Object.keys(Me).forEach(pt=>{if(!(pt in Te._antProxy)){const At=Te[pt];Te._antProxy[pt]=At,Te[pt]=Me[pt]}}),Te}function Uo(Te,Me){return(0,y.useImperativeHandle)(Te,()=>{const pt=Me(),{nativeElement:At}=pt;return typeof Proxy!="undefined"?new Proxy(At,{get(jt,Gt){return pt[Gt]?pt[Gt]:Reflect.get(jt,Gt)}}):$i(At,pt)})}var Ho=E(83010),Ii=E(48755),bi=E(38406),hi=E(83397),Xo=E(31756),Ia=E(13783),Ha=E(85981),Aa=E(31709),ra=E(29787),El=E(57700);function qa(Te){return Me=>{const{prefixCls:pt,onExpand:At,record:jt,expanded:Gt,expandable:fn}=Me,ln=`${pt}-row-expand-icon`;return y.createElement("button",{type:"button",onClick:yn=>{At(jt,yn),yn.stopPropagation()},className:Oe()(ln,{[`${ln}-spaced`]:!fn,[`${ln}-expanded`]:fn&&Gt,[`${ln}-collapsed`]:fn&&!Gt}),"aria-label":Gt?Te.collapse:Te.expand,"aria-expanded":Gt})}}var qo=qa;function Ei(Te){return(pt,At)=>{const jt=pt.querySelector(`.${Te}-container`);let Gt=At;if(jt){const fn=getComputedStyle(jt),ln=parseInt(fn.borderLeftWidth,10),yn=parseInt(fn.borderRightWidth,10);Gt=At-ln-yn}return Gt}}const Qo=(Te,Me)=>"key"in Te&&Te.key!==void 0&&Te.key!==null?Te.key:Te.dataIndex?Array.isArray(Te.dataIndex)?Te.dataIndex.join("."):Te.dataIndex:Me;function di(Te,Me){return Me?`${Me}-${Te}`:`${Te}`}const zi=(Te,Me)=>typeof Te=="function"?Te(Me):Te,Ji=(Te,Me)=>{const pt=zi(Te,Me);return Object.prototype.toString.call(pt)==="[object Object]"?"":pt};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"},_i=ko,gr=E(7657),Qr=function(Me,pt){return y.createElement(gr.Z,(0,Ue.Z)({},Me,{ref:pt,icon:_i}))},Yo=y.forwardRef(Qr),Zi=Yo,Ba=E(9981),xl=E(40192);function ji(Te){const Me=y.useRef(Te),pt=(0,xl.Z)();return[()=>Me.current,At=>{Me.current=At,pt()}]}var Sl=E(7939),Wl=E(584),rs=E(93041),us=E(78857),po=E(18287),Xi=E(47472),Za=E(49397),Hl=Te=>{const{value:Me,filterSearch:pt,tablePrefixCls:At,locale:jt,onChange:Gt}=Te;return pt?y.createElement("div",{className:`${At}-filter-dropdown-search`},y.createElement(Za.Z,{prefix:y.createElement(Xi.Z,null),placeholder:jt.filterSearchPlaceholder,onChange:Gt,value:Me,htmlSize:1,className:`${At}-filter-dropdown-search-input`})):null},ql=E(10228);const Xl=Te=>{const{keyCode:Me}=Te;Me===ql.Z.ENTER&&Te.stopPropagation()};var es=y.forwardRef((Te,Me)=>y.createElement("div",{className:Te.className,onClick:pt=>pt.stopPropagation(),onKeyDown:Xl,ref:Me},Te.children));function el(Te){let Me=[];return(Te||[]).forEach(pt=>{let{value:At,children:jt}=pt;Me.push(At),jt&&(Me=[].concat((0,Vt.Z)(Me),(0,Vt.Z)(el(jt))))}),Me}function Vl(Te){return Te.some(Me=>{let{children:pt}=Me;return pt})}function Ta(Te,Me){return typeof Me=="string"||typeof Me=="number"?Me==null?void 0:Me.toString().toLowerCase().includes(Te.trim().toLowerCase()):!1}function Ll(Te){let{filters:Me,prefixCls:pt,filteredKeys:At,filterMultiple:jt,searchValue:Gt,filterSearch:fn}=Te;return Me.map((ln,yn)=>{const En=String(ln.value);if(ln.children)return{key:En||yn,label:ln.text,popupClassName:`${pt}-dropdown-submenu`,children:Ll({filters:ln.children,prefixCls:pt,filteredKeys:At,filterMultiple:jt,searchValue:Gt,filterSearch:fn})};const Vn=jt?mi.default:Bi.ZP,Tn={key:ln.value!==void 0?En:yn,label:y.createElement(y.Fragment,null,y.createElement(Vn,{checked:At.includes(En)}),y.createElement("span",null,ln.text))};return Gt.trim()?typeof fn=="function"?fn(Gt,ln)?Tn:null:Ta(Gt,ln.text)?Tn:null:Tn})}function Tl(Te){return Te||[]}var Ss=Te=>{var Me,pt,At,jt;const{tablePrefixCls:Gt,prefixCls:fn,column:ln,dropdownPrefixCls:yn,columnKey:En,filterOnClose:Vn,filterMultiple:Tn,filterMode:Mn="menu",filterSearch:Dn=!1,filterState:Sn,triggerFilter:vr,locale:$n,children:Ar,getPopupContainer:br,rootClassName:Lr}=Te,{filterResetToDefaultFilteredValue:Dr,defaultFilteredValue:Pr,filterDropdownProps:Wr={},filterDropdownOpen:_r,filterDropdownVisible:$r,onFilterDropdownVisibleChange:Mo,onFilterDropdownOpenChange:Ir}=ln,[Fr,zr]=y.useState(!1),ar=!!(Sn&&(!((Me=Sn.filteredKeys)===null||Me===void 0)&&Me.length||Sn.forceFiltered)),or=$o=>{var si;zr($o),(si=Wr.onOpenChange)===null||si===void 0||si.call(Wr,$o),Ir==null||Ir($o),Mo==null||Mo($o)},Rr=(jt=(At=(pt=Wr.open)!==null&&pt!==void 0?pt:_r)!==null&&At!==void 0?At:$r)!==null&&jt!==void 0?jt:Fr,Gr=Sn==null?void 0:Sn.filteredKeys,[lo,Lo]=ji(Tl(Gr)),Xr=$o=>{let{selectedKeys:si}=$o;Lo(si)},Fi=($o,si)=>{let{node:ta,checked:ca}=si;Xr(Tn?{selectedKeys:$o}:{selectedKeys:ca&&ta.key?[ta.key]:[]})};y.useEffect(()=>{Fr&&Xr({selectedKeys:Tl(Gr)})},[Gr]);const[xi,pa]=y.useState([]),Qi=$o=>{pa($o)},[ua,ga]=y.useState(""),Ca=$o=>{const{value:si}=$o.target;ga(si)};y.useEffect(()=>{Fr||ga("")},[Fr]);const Ri=$o=>{const si=$o!=null&&$o.length?$o:null;if(si===null&&(!Sn||!Sn.filteredKeys)||(0,ge.Z)(si,Sn==null?void 0:Sn.filteredKeys,!0))return null;vr({column:ln,key:En,filteredKeys:si})},Ni=()=>{or(!1),Ri(lo())},Pa=function(){let{confirm:$o,closeDropdown:si}=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{confirm:!1,closeDropdown:!1};$o&&Ri([]),si&&or(!1),ga(""),Lo(Dr?(Pr||[]).map(ta=>String(ta)):[])},Ma=function(){let{closeDropdown:$o}=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{closeDropdown:!0};$o&&or(!1),Ri(lo())},Vo=($o,si)=>{si.source==="trigger"&&($o&&Gr!==void 0&&Lo(Tl(Gr)),or($o),!$o&&!ln.filterDropdown&&Vn&&Ni())},Si=Oe()({[`${yn}-menu-without-submenu`]:!Vl(ln.filters||[])}),zo=$o=>{if($o.target.checked){const si=el(ln==null?void 0:ln.filters).map(ta=>String(ta));Lo(si)}else Lo([])},go=$o=>{let{filters:si}=$o;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})},Ki=$o=>{var si;return Object.assign(Object.assign({},$o),{text:$o.title,value:$o.key,children:((si=$o.children)===null||si===void 0?void 0:si.map(ta=>Ki(ta)))||[]})};let qi;const{direction:ba,renderEmpty:ea}=y.useContext(Ii.E_);if(typeof ln.filterDropdown=="function")qi=ln.filterDropdown({prefixCls:`${yn}-custom`,setSelectedKeys:$o=>Xr({selectedKeys:$o}),selectedKeys:lo(),confirm:Ma,clearFilters:Pa,filters:ln.filters,visible:Rr,close:()=>{or(!1)}});else if(ln.filterDropdown)qi=ln.filterDropdown;else{const $o=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:$n.filterEmptyText,styles:{image:{height:24}},style:{margin:0,padding:"16px 0"}});if((ln.filters||[]).length===0)return za;if(Mn==="tree")return y.createElement(y.Fragment,null,y.createElement(Hl,{filterSearch:Dn,value:ua,onChange:Ca,tablePrefixCls:Gt,locale:$n}),y.createElement("div",{className:`${Gt}-filter-dropdown-tree`},Tn?y.createElement(mi.default,{checked:$o.length===el(ln.filters).length,indeterminate:$o.length>0&&$o.length<el(ln.filters).length,className:`${Gt}-filter-dropdown-checkall`,onChange:zo},(da=$n==null?void 0:$n.filterCheckall)!==null&&da!==void 0?da:$n==null?void 0:$n.filterCheckAll):null,y.createElement(po.default,{checkable:!0,selectable:!1,blockNode:!0,multiple:Tn,checkStrictly:!Tn,className:`${yn}-menu`,onCheck:Fi,checkedKeys:$o,selectedKeys:$o,showIcon:!1,treeData:go({filters:ln.filters}),autoExpandParent:!0,defaultExpandAll:!0,filterTreeNode:ua.trim()?ya=>typeof Dn=="function"?Dn(ua,Ki(ya)):Ta(ua,ya.title):void 0})));const Ea=Ll({filters:ln.filters||[],filterSearch:Dn,prefixCls:fn,filteredKeys:lo(),filterMultiple:Tn,searchValue:ua}),Ga=Ea.every(ya=>ya===null);return y.createElement(y.Fragment,null,y.createElement(Hl,{filterSearch:Dn,value:ua,onChange:Ca,tablePrefixCls:Gt,locale:$n}),Ga?za:y.createElement(rs.default,{selectable:!0,multiple:Tn,prefixCls:`${yn}-menu`,className:Si,onSelect:Xr,onDeselect:Xr,selectedKeys:$o,getPopupContainer:br,openKeys:xi,onOpenChange:Qi,items:Ea}))},ta=()=>Dr?(0,ge.Z)((Pr||[]).map(ca=>String(ca)),$o,!0):$o.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()},$n.filterReset),y.createElement(Sl.ZP,{type:"primary",size:"small",onClick:Ni},$n.filterConfirm)))}ln.filterDropdown&&(qi=y.createElement(us.J,{selectable:void 0},qi)),qi=y.createElement(es,{className:`${fn}-dropdown`},qi);const Oa=()=>{let $o;return typeof ln.filterIcon=="function"?$o=ln.filterIcon(ar):ln.filterIcon?$o=ln.filterIcon:$o=y.createElement(Zi,null),y.createElement("span",{role:"button",tabIndex:-1,className:Oe()(`${fn}-trigger`,{active:ar}),onClick:si=>{si.stopPropagation()}},$o)},Da=(0,Ba.Z)({trigger:["click"],placement:ba==="rtl"?"bottomLeft":"bottomRight",children:Oa(),getPopupContainer:br},Object.assign(Object.assign({},Wr),{rootClassName:Oe()(Lr,Wr.rootClassName),open:Rr,onOpenChange:Vo,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,Me,pt)=>{let At=[];return(Te||[]).forEach((jt,Gt)=>{var fn;const ln=di(Gt,pt);if(jt.filters||"filterDropdown"in jt||"onFilter"in jt)if("filteredValue"in jt){let yn=jt.filteredValue;"filterDropdown"in jt||(yn=(fn=yn==null?void 0:yn.map(String))!==null&&fn!==void 0?fn:yn),At.push({column:jt,key:Qo(jt,ln),filteredKeys:yn,forceFiltered:jt.filtered})}else At.push({column:jt,key:Qo(jt,ln),filteredKeys:Me&&jt.defaultFilteredValue?jt.defaultFilteredValue:void 0,forceFiltered:jt.filtered});"children"in jt&&(At=[].concat((0,Vt.Z)(At),(0,Vt.Z)(ts(jt.children,Me,ln))))}),At};function $a(Te,Me,pt,At,jt,Gt,fn,ln,yn){return pt.map((En,Vn)=>{const Tn=di(Vn,ln),{filterOnClose:Mn=!0,filterMultiple:Dn=!0,filterMode:Sn,filterSearch:vr}=En;let $n=En;if($n.filters||$n.filterDropdown){const Ar=Qo($n,Tn),br=At.find(Lr=>{let{key:Dr}=Lr;return Ar===Dr});$n=Object.assign(Object.assign({},$n),{title:Lr=>y.createElement(Ss,{tablePrefixCls:Te,prefixCls:`${Te}-filter`,dropdownPrefixCls:Me,column:$n,columnKey:Ar,filterState:br,filterOnClose:Mn,filterMultiple:Dn,filterMode:Sn,filterSearch:vr,triggerFilter:Gt,locale:jt,getPopupContainer:fn,rootClassName:yn},zi(En.title,Lr))})}return"children"in $n&&($n=Object.assign(Object.assign({},$n),{children:$a(Te,Me,$n.children,At,jt,Gt,fn,Tn,yn)})),$n})}const oa=Te=>{const Me={};return Te.forEach(pt=>{let{key:At,filteredKeys:jt,column:Gt}=pt;const fn=At,{filters:ln,filterDropdown:yn}=Gt;if(yn)Me[fn]=jt||null;else if(Array.isArray(jt)){const En=el(ln);Me[fn]=En.filter(Vn=>jt.includes(String(Vn)))}else Me[fn]=null}),Me},Wi=(Te,Me,pt)=>Me.reduce((jt,Gt)=>{const{column:{onFilter:fn,filters:ln},filteredKeys:yn}=Gt;return fn&&yn&&yn.length?jt.map(En=>Object.assign({},En)).filter(En=>yn.some(Vn=>{const Tn=el(ln),Mn=Tn.findIndex(Sn=>String(Sn)===String(Vn)),Dn=Mn!==-1?Tn[Mn]:Vn;return En[pt]&&(En[pt]=Wi(En[pt],Me,pt)),fn(Dn,En)})):jt},Te),Ua=Te=>Te.flatMap(Me=>"children"in Me?[Me].concat((0,Vt.Z)(Ua(Me.children||[]))):[Me]);var Ka=Te=>{const{prefixCls:Me,dropdownPrefixCls:pt,mergedColumns:At,onFilterChange:jt,getPopupContainer:Gt,locale:fn,rootClassName:ln}=Te,yn=(0,vi.ln)("Table"),En=y.useMemo(()=>Ua(At||[]),[At]),[Vn,Tn]=y.useState(()=>ts(En,!0)),Mn=y.useMemo(()=>{const $n=ts(En,!1);if($n.length===0)return $n;let Ar=!0,br=!0;if($n.forEach(Lr=>{let{filteredKeys:Dr}=Lr;Dr!==void 0?Ar=!1:br=!1}),Ar){const Lr=(En||[]).map((Dr,Pr)=>Qo(Dr,di(Pr)));return Vn.filter(Dr=>{let{key:Pr}=Dr;return Lr.includes(Pr)}).map(Dr=>{const Pr=En[Lr.findIndex(Wr=>Wr===Dr.key)];return Object.assign(Object.assign({},Dr),{column:Object.assign(Object.assign({},Dr.column),Pr),forceFiltered:Pr.filtered})})}return $n},[En,Vn]),Dn=y.useMemo(()=>oa(Mn),[Mn]),Sn=$n=>{const Ar=Mn.filter(br=>{let{key:Lr}=br;return Lr!==$n.key});Ar.push($n),Tn(Ar),jt(oa(Ar),Ar)};return[$n=>$a(Me,pt,$n,Mn,fn,Sn,Gt,void 0,ln),Mn,Dn]},Nl=(Te,Me,pt)=>{const At=y.useRef({});function jt(Gt){var fn;if(!At.current||At.current.data!==Te||At.current.childrenColumnName!==Me||At.current.getRowKey!==pt){let yn=function(En){En.forEach((Vn,Tn)=>{const Mn=pt(Vn,Tn);ln.set(Mn,Vn),Vn&&typeof Vn=="object"&&Me in Vn&&yn(Vn[Me]||[])})};const ln=new Map;yn(Te),At.current={data:Te,childrenColumnName:Me,kvMap:ln,getRowKey:pt}}return(fn=At.current.kvMap)===null||fn===void 0?void 0:fn.get(Gt)}return[jt]},Il=function(Te,Me){var pt={};for(var At in Te)Object.prototype.hasOwnProperty.call(Te,At)&&Me.indexOf(At)<0&&(pt[At]=Te[At]);if(Te!=null&&typeof Object.getOwnPropertySymbols=="function")for(var jt=0,At=Object.getOwnPropertySymbols(Te);jt<At.length;jt++)Me.indexOf(At[jt])<0&&Object.prototype.propertyIsEnumerable.call(Te,At[jt])&&(pt[At[jt]]=Te[At[jt]]);return pt};const Kl=10;function hl(Te,Me){const pt={current:Te.current,pageSize:Te.pageSize};return Object.keys(Me&&typeof Me=="object"?Me:{}).forEach(jt=>{const Gt=Te[jt];typeof Gt!="function"&&(pt[jt]=Gt)}),pt}function Al(Te,Me,pt){const At=pt&&typeof pt=="object"?pt:{},{total:jt=0}=At,Gt=Il(At,["total"]),[fn,ln]=(0,y.useState)(()=>({current:"defaultCurrent"in Gt?Gt.defaultCurrent:1,pageSize:"defaultPageSize"in Gt?Gt.defaultPageSize:Kl})),yn=(0,Ba.Z)(fn,Gt,{total:jt>0?jt:Te}),En=Math.ceil((jt||Te)/yn.pageSize);yn.current>En&&(yn.current=En||1);const Vn=(Mn,Dn)=>{ln({current:Mn!=null?Mn:1,pageSize:Dn||yn.pageSize})},Tn=(Mn,Dn)=>{var Sn;pt&&((Sn=pt.onChange)===null||Sn===void 0||Sn.call(pt,Mn,Dn)),Vn(Mn,Dn),Me(Mn,Dn||(yn==null?void 0:yn.pageSize))};return pt===!1?[{},()=>{}]:[Object.assign(Object.assign({},yn),{onChange:Tn}),Vn]}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,$l=(Te,Me)=>Me?Te[Te.indexOf(Me)+1]:Te[0],Yl=(Te,Me,pt)=>{let At=[];const jt=(Gt,fn)=>{At.push({column:Gt,key:Qo(Gt,fn),multiplePriority:Ul(Gt),sortOrder:Gt.sortOrder})};return(Te||[]).forEach((Gt,fn)=>{const ln=di(fn,pt);Gt.children?("sortOrder"in Gt&&jt(Gt,ln),At=[].concat((0,Vt.Z)(At),(0,Vt.Z)(Yl(Gt.children,Me,ln)))):Gt.sorter&&("sortOrder"in Gt?jt(Gt,ln):Me&&Gt.defaultSortOrder&&At.push({column:Gt,key:Qo(Gt,ln),multiplePriority:Ul(Gt),sortOrder:Gt.defaultSortOrder}))}),At},ws=(Te,Me,pt,At,jt,Gt,fn,ln)=>(Me||[]).map((En,Vn)=>{const Tn=di(Vn,ln);let Mn=En;if(Mn.sorter){const Dn=Mn.sortDirections||jt,Sn=Mn.showSorterTooltip===void 0?fn:Mn.showSorterTooltip,vr=Qo(Mn,Tn),$n=pt.find(Mo=>{let{key:Ir}=Mo;return Ir===vr}),Ar=$n?$n.sortOrder:null,br=$l(Dn,Ar);let Lr;if(En.sortIcon)Lr=En.sortIcon({sortOrder:Ar});else{const Mo=Dn.includes(cs)&&y.createElement(Ls.Z,{className:Oe()(`${Te}-column-sorter-up`,{active:Ar===cs})}),Ir=Dn.includes(Ql)&&y.createElement(ns.Z,{className:Oe()(`${Te}-column-sorter-down`,{active:Ar===Ql})});Lr=y.createElement("span",{className:Oe()(`${Te}-column-sorter`,{[`${Te}-column-sorter-full`]:!!(Mo&&Ir)})},y.createElement("span",{className:`${Te}-column-sorter-inner`,"aria-hidden":"true"},Mo,Ir))}const{cancelSort:Dr,triggerAsc:Pr,triggerDesc:Wr}=Gt||{};let _r=Dr;br===Ql?_r=Wr:br===cs&&(_r=Pr);const $r=typeof Sn=="object"?Object.assign({title:_r},Sn):{title:_r};Mn=Object.assign(Object.assign({},Mn),{className:Oe()(Mn.className,{[`${Te}-column-sort`]:Ar}),title:Mo=>{const Ir=`${Te}-column-sorters`,Fr=y.createElement("span",{className:`${Te}-column-title`},zi(En.title,Mo)),zr=y.createElement("div",{className:Ir},Fr,Lr);return Sn?typeof Sn!="boolean"&&(Sn==null?void 0:Sn.target)==="sorter-icon"?y.createElement("div",{className:`${Ir} ${Te}-column-sorters-tooltip-target-sorter`},Fr,y.createElement(Ts.Z,Object.assign({},$r),Lr)):y.createElement(Ts.Z,Object.assign({},$r),zr):zr},onHeaderCell:Mo=>{var Ir;const Fr=((Ir=En.onHeaderCell)===null||Ir===void 0?void 0:Ir.call(En,Mo))||{},zr=Fr.onClick,ar=Fr.onKeyDown;Fr.onClick=Gr=>{At({column:En,key:vr,sortOrder:br,multiplePriority:Ul(En)}),zr==null||zr(Gr)},Fr.onKeyDown=Gr=>{Gr.keyCode===ql.Z.ENTER&&(At({column:En,key:vr,sortOrder:br,multiplePriority:Ul(En)}),ar==null||ar(Gr))};const or=Ji(En.title,{}),Rr=or==null?void 0:or.toString();return Ar&&(Fr["aria-sort"]=Ar==="ascend"?"ascending":"descending"),Fr["aria-label"]=Rr||"",Fr.className=Oe()(Fr.className,`${Te}-column-has-sorters`),Fr.tabIndex=0,En.ellipsis&&(Fr.title=(or!=null?or:"").toString()),Fr}})}return"children"in Mn&&(Mn=Object.assign(Object.assign({},Mn),{children:ws(Te,Mn.children,pt,At,jt,Gt,fn,Tn)})),Mn}),Us=Te=>{const{column:Me,sortOrder:pt}=Te;return{column:Me,order:pt,field:Me.dataIndex,columnKey:Me.key}},As=Te=>{const Me=Te.filter(pt=>{let{sortOrder:At}=pt;return At}).map(Us);if(Me.length===0&&Te.length){const pt=Te.length-1;return Object.assign(Object.assign({},Us(Te[pt])),{column:void 0,order:void 0,field:void 0,columnKey:void 0})}return Me.length<=1?Me[0]||{}:Me},os=(Te,Me,pt)=>{const At=Me.slice().sort((fn,ln)=>ln.multiplePriority-fn.multiplePriority),jt=Te.slice(),Gt=At.filter(fn=>{let{column:{sorter:ln},sortOrder:yn}=fn;return al(ln)&&yn});return Gt.length?jt.sort((fn,ln)=>{for(let yn=0;yn<Gt.length;yn+=1){const En=Gt[yn],{column:{sorter:Vn},sortOrder:Tn}=En,Mn=al(Vn);if(Mn&&Tn){const Dn=Mn(fn,ln,Tn);if(Dn!==0)return Tn===cs?Dn:-Dn}}return 0}).map(fn=>{const ln=fn[pt];return ln?Object.assign(Object.assign({},fn),{[pt]:os(ln,Me,pt)}):fn}):jt};var Ys=Te=>{const{prefixCls:Me,mergedColumns:pt,sortDirections:At,tableLocale:jt,showSorterTooltip:Gt,onSorterChange:fn}=Te,[ln,yn]=y.useState(Yl(pt,!0)),En=(vr,$n)=>{const Ar=[];return vr.forEach((br,Lr)=>{const Dr=di(Lr,$n);if(Ar.push(Qo(br,Dr)),Array.isArray(br.children)){const Pr=En(br.children,Dr);Ar.push.apply(Ar,(0,Vt.Z)(Pr))}}),Ar},Vn=y.useMemo(()=>{let vr=!0;const $n=Yl(pt,!1);if(!$n.length){const Dr=En(pt);return ln.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 Lr=null;return $n.forEach(Dr=>{Lr===null?(br(Dr),Dr.sortOrder&&(Dr.multiplePriority===!1?vr=!1:Lr=!0)):(Lr&&Dr.multiplePriority!==!1||(vr=!1),br(Dr))}),Ar},[pt,ln]),Tn=y.useMemo(()=>{var vr,$n;const Ar=Vn.map(br=>{let{column:Lr,sortOrder:Dr}=br;return{column:Lr,order:Dr}});return{sortColumns:Ar,sortColumn:(vr=Ar[0])===null||vr===void 0?void 0:vr.column,sortOrder:($n=Ar[0])===null||$n===void 0?void 0:$n.order}},[Vn]),Mn=vr=>{let $n;vr.multiplePriority===!1||!Vn.length||Vn[0].multiplePriority===!1?$n=[vr]:$n=[].concat((0,Vt.Z)(Vn.filter(Ar=>{let{key:br}=Ar;return br!==vr.key})),[vr]),yn($n),fn(As($n),$n)};return[vr=>ws(Me,vr,Vn,Mn,At,jt,Gt),Vn,Tn,()=>As(Vn)]};const vs=(Te,Me)=>Te.map(At=>{const jt=Object.assign({},At);return jt.title=zi(At.title,Me),"children"in jt&&(jt.children=vs(jt.children,Me)),jt});var Ns=Te=>[y.useCallback(pt=>vs(pt,Te),[Te])],ks=Wo((Te,Me)=>{const{_renderTimes:pt}=Te,{_renderTimes:At}=Me;return pt!==At}),ds=bn((Te,Me)=>{const{_renderTimes:pt}=Te,{_renderTimes:At}=Me;return pt!==At}),gi=E(36237),fs=E(17835),ae=E(63356),We=E(16931),dt=E(51636),Pt=Te=>{const{componentCls:Me,lineWidth:pt,lineType:At,tableBorderColor:jt,tableHeaderBg:Gt,tablePaddingVertical:fn,tablePaddingHorizontal:ln,calc:yn}=Te,En=`${(0,gi.unit)(pt)} ${At} ${jt}`,Vn=(Tn,Mn,Dn)=>({[`&${Me}-${Tn}`]:{[`> ${Me}-container`]:{[`> ${Me}-content, > ${Me}-body`]:{"\n > table > tbody > tr > th,\n > table > tbody > tr > td\n ":{[`> ${Me}-expanded-row-fixed`]:{margin:`${(0,gi.unit)(yn(Mn).mul(-1).equal())}
|
|
|
${(0,gi.unit)(yn(yn(Dn).add(pt)).mul(-1).equal())}`}}}}}});return{[`${Me}-wrapper`]:{[`${Me}${Me}-bordered`]:Object.assign(Object.assign(Object.assign({[`> ${Me}-title`]:{border:En,borderBottom:0},[`> ${Me}-container`]:{borderInlineStart:En,borderTop:En,[`
|
|
|
> ${Me}-content,
|
|
|
> ${Me}-header,
|
|
|
> ${Me}-body,
|
|
|
> ${Me}-summary
|
|
|
`]:{"> table":{"\n > thead > tr > th,\n > thead > tr > td,\n > tbody > tr > th,\n > tbody > tr > td,\n > tfoot > tr > th,\n > tfoot > tr > td\n ":{borderInlineEnd:En},"> thead":{"> tr:not(:last-child) > th":{borderBottom:En},"> tr > th::before":{backgroundColor:"transparent !important"}},"\n > thead > tr,\n > tbody > tr,\n > tfoot > tr\n ":{[`> ${Me}-cell-fix-right-first::after`]:{borderInlineEnd:En}},"\n > tbody > tr > th,\n > tbody > tr > td\n ":{[`> ${Me}-expanded-row-fixed`]:{margin:`${(0,gi.unit)(yn(fn).mul(-1).equal())} ${(0,gi.unit)(yn(yn(ln).add(pt)).mul(-1).equal())}`,"&::after":{position:"absolute",top:0,insetInlineEnd:pt,bottom:0,borderInlineEnd:En,content:'""'}}}}}},[`&${Me}-scroll-horizontal`]:{[`> ${Me}-container > ${Me}-body`]:{"> table > tbody":{[`
|
|
|
> tr${Me}-expanded-row,
|
|
|
> tr${Me}-placeholder
|
|
|
`]:{"> th, > td":{borderInlineEnd:0}}}}}},Vn("middle",Te.tablePaddingVerticalMiddle,Te.tablePaddingHorizontalMiddle)),Vn("small",Te.tablePaddingVerticalSmall,Te.tablePaddingHorizontalSmall)),{[`> ${Me}-footer`]:{border:En,borderTop:0}}),[`${Me}-cell`]:{[`${Me}-container:first-child`]:{borderTop:0},"&-scrollbar:not([rowspan])":{boxShadow:`0 ${(0,gi.unit)(pt)} 0 ${(0,gi.unit)(pt)} ${Gt}`}},[`${Me}-bordered ${Me}-cell-scrollbar`]:{borderInlineEnd:En}}}},An=Te=>{const{componentCls:Me}=Te;return{[`${Me}-wrapper`]:{[`${Me}-cell-ellipsis`]:Object.assign(Object.assign({},ae.vS),{wordBreak:"keep-all",[`
|
|
|
&${Me}-cell-fix-left-last,
|
|
|
&${Me}-cell-fix-right-first
|
|
|
`]:{overflow:"visible",[`${Me}-cell-content`]:{display:"block",overflow:"hidden",textOverflow:"ellipsis"}},[`${Me}-column-title`]:{overflow:"hidden",textOverflow:"ellipsis",wordBreak:"keep-all"}})}}},Xn=Te=>{const{componentCls:Me}=Te;return{[`${Me}-wrapper`]:{[`${Me}-tbody > tr${Me}-placeholder`]:{textAlign:"center",color:Te.colorTextDisabled,"\n &:hover > th,\n &:hover > td,\n ":{background:Te.colorBgContainer}}}}},In=Te=>{const{componentCls:Me,antCls:pt,motionDurationSlow:At,lineWidth:jt,paddingXS:Gt,lineType:fn,tableBorderColor:ln,tableExpandIconBg:yn,tableExpandColumnWidth:En,borderRadius:Vn,tablePaddingVertical:Tn,tablePaddingHorizontal:Mn,tableExpandedRowBg:Dn,paddingXXS:Sn,expandIconMarginTop:vr,expandIconSize:$n,expandIconHalfInner:Ar,expandIconScale:br,calc:Lr}=Te,Dr=`${(0,gi.unit)(jt)} ${fn} ${ln}`,Pr=Lr(Sn).sub(jt).equal();return{[`${Me}-wrapper`]:{[`${Me}-expand-icon-col`]:{width:En},[`${Me}-row-expand-icon-cell`]:{textAlign:"center",[`${Me}-row-expand-icon`]:{display:"inline-flex",float:"none",verticalAlign:"sub"}},[`${Me}-row-indent`]:{height:1,float:"left"},[`${Me}-row-expand-icon`]:Object.assign(Object.assign({},(0,ae.Nd)(Te)),{position:"relative",float:"left",width:$n,height:$n,color:"inherit",lineHeight:(0,gi.unit)($n),background:yn,border:Dr,borderRadius:Vn,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:jt},"&::after":{top:Pr,bottom:Pr,insetInlineStart:Ar,width:jt,transform:"rotate(90deg)"},"&-collapsed::before":{transform:"rotate(-180deg)"},"&-collapsed::after":{transform:"rotate(0deg)"},"&-spaced":{"&::before, &::after":{display:"none",content:"none"},background:"transparent",border:0,visibility:"hidden"}}),[`${Me}-row-indent + ${Me}-row-expand-icon`]:{marginTop:vr,marginInlineEnd:Gt},[`tr${Me}-expanded-row`]:{"&, &:hover":{"> th, > td":{background:Dn}},[`${pt}-descriptions-view`]:{display:"flex",table:{flex:"auto",width:"100%"}}},[`${Me}-expanded-row-fixed`]:{position:"relative",margin:`${(0,gi.unit)(Lr(Tn).mul(-1).equal())} ${(0,gi.unit)(Lr(Mn).mul(-1).equal())}`,padding:`${(0,gi.unit)(Tn)} ${(0,gi.unit)(Mn)}`}}}},pr=Te=>{const{componentCls:Me,antCls:pt,iconCls:At,tableFilterDropdownWidth:jt,tableFilterDropdownSearchWidth:Gt,paddingXXS:fn,paddingXS:ln,colorText:yn,lineWidth:En,lineType:Vn,tableBorderColor:Tn,headerIconColor:Mn,fontSizeSM:Dn,tablePaddingHorizontal:Sn,borderRadius:vr,motionDurationSlow:$n,colorTextDescription:Ar,colorPrimary:br,tableHeaderFilterActiveBg:Lr,colorTextDisabled:Dr,tableFilterDropdownBg:Pr,tableFilterDropdownHeight:Wr,controlItemBgHover:_r,controlItemBgActive:$r,boxShadowSecondary:Mo,filterDropdownMenuBg:Ir,calc:Fr}=Te,zr=`${pt}-dropdown`,ar=`${Me}-filter-dropdown`,or=`${pt}-tree`,Rr=`${(0,gi.unit)(En)} ${Vn} ${Tn}`;return[{[`${Me}-wrapper`]:{[`${Me}-filter-column`]:{display:"flex",justifyContent:"space-between"},[`${Me}-filter-trigger`]:{position:"relative",display:"flex",alignItems:"center",marginBlock:Fr(fn).mul(-1).equal(),marginInline:`${(0,gi.unit)(fn)} ${(0,gi.unit)(Fr(Sn).div(2).mul(-1).equal())}`,padding:`0 ${(0,gi.unit)(fn)}`,color:Mn,fontSize:Dn,borderRadius:vr,cursor:"pointer",transition:`all ${$n}`,"&:hover":{color:Ar,background:Lr},"&.active":{color:br}}}},{[`${pt}-dropdown`]:{[ar]:Object.assign(Object.assign({},(0,ae.Wf)(Te)),{minWidth:jt,backgroundColor:Pr,borderRadius:vr,boxShadow:Mo,overflow:"hidden",[`${zr}-menu`]:{maxHeight:Wr,overflowX:"hidden",border:0,boxShadow:"none",borderRadius:"unset",backgroundColor:Ir,"&:empty::after":{display:"block",padding:`${(0,gi.unit)(ln)} 0`,color:Dr,fontSize:Dn,textAlign:"center",content:'"Not Found"'}},[`${ar}-tree`]:{paddingBlock:`${(0,gi.unit)(ln)} 0`,paddingInline:ln,[or]:{padding:0},[`${or}-treenode ${or}-node-content-wrapper:hover`]:{backgroundColor:_r},[`${or}-treenode-checkbox-checked ${or}-node-content-wrapper`]:{"&, &:hover":{backgroundColor:$r}}},[`${ar}-search`]:{padding:ln,borderBottom:Rr,"&-input":{input:{minWidth:Gt},[At]:{color:Dr}}},[`${ar}-checkall`]:{width:"100%",marginBottom:fn,marginInlineStart:fn},[`${ar}-btns`]:{display:"flex",justifyContent:"space-between",padding:`${(0,gi.unit)(Fr(ln).sub(En).equal())} ${(0,gi.unit)(ln)}`,overflow:"hidden",borderTop:Rr}})}},{[`${pt}-dropdown ${ar}, ${ar}-submenu`]:{[`${pt}-checkbox-wrapper + span`]:{paddingInlineStart:ln,color:yn},"> ul":{maxHeight:"calc(100vh - 130px)",overflowX:"hidden",overflowY:"auto"}}}]},dr=Te=>{const{componentCls:Me,lineWidth:pt,colorSplit:At,motionDurationSlow:jt,zIndexTableFixed:Gt,tableBg:fn,zIndexTableSticky:ln,calc:yn}=Te,En=At;return{[`${Me}-wrapper`]:{[`
|
|
|
${Me}-cell-fix-left,
|
|
|
${Me}-cell-fix-right
|
|
|
`]:{position:"sticky !important",zIndex:Gt,background:fn},[`
|
|
|
${Me}-cell-fix-left-first::after,
|
|
|
${Me}-cell-fix-left-last::after
|
|
|
`]:{position:"absolute",top:0,right:{_skip_check_:!0,value:0},bottom:yn(pt).mul(-1).equal(),width:30,transform:"translateX(100%)",transition:`box-shadow ${jt}`,content:'""',pointerEvents:"none"},[`${Me}-cell-fix-left-all::after`]:{display:"none"},[`
|
|
|
${Me}-cell-fix-right-first::after,
|
|
|
${Me}-cell-fix-right-last::after
|
|
|
`]:{position:"absolute",top:0,bottom:yn(pt).mul(-1).equal(),left:{_skip_check_:!0,value:0},width:30,transform:"translateX(-100%)",transition:`box-shadow ${jt}`,content:'""',pointerEvents:"none"},[`${Me}-container`]:{position:"relative","&::before, &::after":{position:"absolute",top:0,bottom:0,zIndex:yn(ln).add(1).equal({unit:!1}),width:30,transition:`box-shadow ${jt}`,content:'""',pointerEvents:"none"},"&::before":{insetInlineStart:0},"&::after":{insetInlineEnd:0}},[`${Me}-ping-left`]:{[`&:not(${Me}-has-fix-left) ${Me}-container::before`]:{boxShadow:`inset 10px 0 8px -8px ${En}`},[`
|
|
|
${Me}-cell-fix-left-first::after,
|
|
|
${Me}-cell-fix-left-last::after
|
|
|
`]:{boxShadow:`inset 10px 0 8px -8px ${En}`},[`${Me}-cell-fix-left-last::before`]:{backgroundColor:"transparent !important"}},[`${Me}-ping-right`]:{[`&:not(${Me}-has-fix-right) ${Me}-container::after`]:{boxShadow:`inset -10px 0 8px -8px ${En}`},[`
|
|
|
${Me}-cell-fix-right-first::after,
|
|
|
${Me}-cell-fix-right-last::after
|
|
|
`]:{boxShadow:`inset -10px 0 8px -8px ${En}`}},[`${Me}-fixed-column-gapped`]:{[`
|
|
|
${Me}-cell-fix-left-first::after,
|
|
|
${Me}-cell-fix-left-last::after,
|
|
|
${Me}-cell-fix-right-first::after,
|
|
|
${Me}-cell-fix-right-last::after
|
|
|
`]:{boxShadow:"none"}}}}},xr=Te=>{const{componentCls:Me,antCls:pt,margin:At}=Te;return{[`${Me}-wrapper`]:{[`${Me}-pagination${pt}-pagination`]:{margin:`${(0,gi.unit)(At)} 0`},[`${Me}-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:Me,tableRadius:pt}=Te;return{[`${Me}-wrapper`]:{[Me]:{[`${Me}-title, ${Me}-header`]:{borderRadius:`${(0,gi.unit)(pt)} ${(0,gi.unit)(pt)} 0 0`},[`${Me}-title + ${Me}-container`]:{borderStartStartRadius:0,borderStartEndRadius:0,[`${Me}-header, table`]:{borderRadius:0},"table > thead > tr:first-child":{"th:first-child, th:last-child, td:first-child, td:last-child":{borderRadius:0}}},"&-container":{borderStartStartRadius:pt,borderStartEndRadius:pt,"table > thead > tr:first-child":{"> *:first-child":{borderStartStartRadius:pt},"> *:last-child":{borderStartEndRadius:pt}}},"&-footer":{borderRadius:`0 0 ${(0,gi.unit)(pt)} ${(0,gi.unit)(pt)}`}}}}},Br=Te=>{const{componentCls:Me}=Te;return{[`${Me}-wrapper-rtl`]:{direction:"rtl",table:{direction:"rtl"},[`${Me}-pagination-left`]:{justifyContent:"flex-end"},[`${Me}-pagination-right`]:{justifyContent:"flex-start"},[`${Me}-row-expand-icon`]:{float:"right","&::after":{transform:"rotate(-90deg)"},"&-collapsed::before":{transform:"rotate(180deg)"},"&-collapsed::after":{transform:"rotate(0deg)"}},[`${Me}-container`]:{"&::before":{insetInlineStart:"unset",insetInlineEnd:0},"&::after":{insetInlineStart:0,insetInlineEnd:"unset"},[`${Me}-row-indent`]:{float:"right"}}}}},Zr=Te=>{const{componentCls:Me,antCls:pt,iconCls:At,fontSizeIcon:jt,padding:Gt,paddingXS:fn,headerIconColor:ln,headerIconHoverColor:yn,tableSelectionColumnWidth:En,tableSelectedRowBg:Vn,tableSelectedRowHoverBg:Tn,tableRowHoverBg:Mn,tablePaddingHorizontal:Dn,calc:Sn}=Te;return{[`${Me}-wrapper`]:{[`${Me}-selection-col`]:{width:En,[`&${Me}-selection-col-with-dropdown`]:{width:Sn(En).add(jt).add(Sn(Gt).div(4)).equal()}},[`${Me}-bordered ${Me}-selection-col`]:{width:Sn(En).add(Sn(fn).mul(2)).equal(),[`&${Me}-selection-col-with-dropdown`]:{width:Sn(En).add(jt).add(Sn(Gt).div(4)).add(Sn(fn).mul(2)).equal()}},[`
|
|
|
table tr th${Me}-selection-column,
|
|
|
table tr td${Me}-selection-column,
|
|
|
${Me}-selection-column
|
|
|
`]:{paddingInlineEnd:Te.paddingXS,paddingInlineStart:Te.paddingXS,textAlign:"center",[`${pt}-radio-wrapper`]:{marginInlineEnd:0}},[`table tr th${Me}-selection-column${Me}-cell-fix-left`]:{zIndex:Sn(Te.zIndexTableFixed).add(1).equal({unit:!1})},[`table tr th${Me}-selection-column::after`]:{backgroundColor:"transparent !important"},[`${Me}-selection`]:{position:"relative",display:"inline-flex",flexDirection:"column"},[`${Me}-selection-extra`]:{position:"absolute",top:0,zIndex:1,cursor:"pointer",transition:`all ${Te.motionDurationSlow}`,marginInlineStart:"100%",paddingInlineStart:(0,gi.unit)(Sn(Dn).div(4).equal()),[At]:{color:ln,fontSize:jt,verticalAlign:"baseline","&:hover":{color:yn}}},[`${Me}-tbody`]:{[`${Me}-row`]:{[`&${Me}-row-selected`]:{[`> ${Me}-cell`]:{background:Vn,"&-row-hover":{background:Tn}}},[`> ${Me}-cell-row-hover`]:{background:Mn}}}}}},_o=Te=>{const{componentCls:Me,tableExpandColumnWidth:pt,calc:At}=Te,jt=(Gt,fn,ln,yn)=>({[`${Me}${Me}-${Gt}`]:{fontSize:yn,[`
|
|
|
${Me}-title,
|
|
|
${Me}-footer,
|
|
|
${Me}-cell,
|
|
|
${Me}-thead > tr > th,
|
|
|
${Me}-tbody > tr > th,
|
|
|
${Me}-tbody > tr > td,
|
|
|
tfoot > tr > th,
|
|
|
tfoot > tr > td
|
|
|
`]:{padding:`${(0,gi.unit)(fn)} ${(0,gi.unit)(ln)}`},[`${Me}-filter-trigger`]:{marginInlineEnd:(0,gi.unit)(At(ln).div(2).mul(-1).equal())},[`${Me}-expanded-row-fixed`]:{margin:`${(0,gi.unit)(At(fn).mul(-1).equal())} ${(0,gi.unit)(At(ln).mul(-1).equal())}`},[`${Me}-tbody`]:{[`${Me}-wrapper:only-child ${Me}`]:{marginBlock:(0,gi.unit)(At(fn).mul(-1).equal()),marginInline:`${(0,gi.unit)(At(pt).sub(ln).equal())} ${(0,gi.unit)(At(ln).mul(-1).equal())}`}},[`${Me}-selection-extra`]:{paddingInlineStart:(0,gi.unit)(At(ln).div(4).equal())}}});return{[`${Me}-wrapper`]:Object.assign(Object.assign({},jt("middle",Te.tablePaddingVerticalMiddle,Te.tablePaddingHorizontalMiddle,Te.tableFontSizeMiddle)),jt("small",Te.tablePaddingVerticalSmall,Te.tablePaddingHorizontalSmall,Te.tableFontSizeSmall))}},Po=Te=>{const{componentCls:Me,marginXXS:pt,fontSizeIcon:At,headerIconColor:jt,headerIconHoverColor:Gt}=Te;return{[`${Me}-wrapper`]:{[`${Me}-thead th${Me}-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},[`
|
|
|
&${Me}-cell-fix-left:hover,
|
|
|
&${Me}-cell-fix-right:hover
|
|
|
`]:{background:Te.tableFixedHeaderSortActiveBg}},[`${Me}-thead th${Me}-column-sort`]:{background:Te.tableHeaderSortBg,"&::before":{backgroundColor:"transparent !important"}},[`td${Me}-column-sort`]:{background:Te.tableBodySortBg},[`${Me}-column-title`]:{position:"relative",zIndex:1,flex:1,minWidth:0},[`${Me}-column-sorters`]:{display:"flex",flex:"auto",alignItems:"center",justifyContent:"space-between","&::after":{position:"absolute",inset:0,width:"100%",height:"100%",content:'""'}},[`${Me}-column-sorters-tooltip-target-sorter`]:{"&::after":{content:"none"}},[`${Me}-column-sorter`]:{marginInlineStart:pt,color:jt,fontSize:0,transition:`color ${Te.motionDurationSlow}`,"&-inner":{display:"inline-flex",flexDirection:"column",alignItems:"center"},"&-up, &-down":{fontSize:At,"&.active":{color:Te.colorPrimary}},[`${Me}-column-sorter-up + ${Me}-column-sorter-down`]:{marginTop:"-0.3em"}},[`${Me}-column-sorters:hover ${Me}-column-sorter`]:{color:Gt}}}},ti=Te=>{const{componentCls:Me,opacityLoading:pt,tableScrollThumbBg:At,tableScrollThumbBgHover:jt,tableScrollThumbSize:Gt,tableScrollBg:fn,zIndexTableSticky:ln,stickyScrollBarBorderRadius:yn,lineWidth:En,lineType:Vn,tableBorderColor:Tn}=Te,Mn=`${(0,gi.unit)(En)} ${Vn} ${Tn}`;return{[`${Me}-wrapper`]:{[`${Me}-sticky`]:{"&-holder":{position:"sticky",zIndex:ln,background:Te.colorBgContainer},"&-scroll":{position:"sticky",bottom:0,height:`${(0,gi.unit)(Gt)} !important`,zIndex:ln,display:"flex",alignItems:"center",background:fn,borderTop:Mn,opacity:pt,"&:hover":{transformOrigin:"center bottom"},"&-bar":{height:Gt,backgroundColor:At,borderRadius:yn,transition:`all ${Te.motionDurationSlow}, transform 0s`,position:"absolute",bottom:0,"&:hover, &-active":{backgroundColor:jt}}}}}}},uo=Te=>{const{componentCls:Me,lineWidth:pt,tableBorderColor:At,calc:jt}=Te,Gt=`${(0,gi.unit)(pt)} ${Te.lineType} ${At}`;return{[`${Me}-wrapper`]:{[`${Me}-summary`]:{position:"relative",zIndex:Te.zIndexTableFixed,background:Te.tableBg,"> tr":{"> th, > td":{borderBottom:Gt}}},[`div${Me}-summary`]:{boxShadow:`0 ${(0,gi.unit)(jt(pt).mul(-1).equal())} 0 ${At}`}}}},mo=Te=>{const{componentCls:Me,motionDurationMid:pt,lineWidth:At,lineType:jt,tableBorderColor:Gt,calc:fn}=Te,ln=`${(0,gi.unit)(At)} ${jt} ${Gt}`,yn=`${Me}-expanded-row-cell`;return{[`${Me}-wrapper`]:{[`${Me}-tbody-virtual`]:{[`${Me}-tbody-virtual-holder-inner`]:{[`
|
|
|
& > ${Me}-row,
|
|
|
& > div:not(${Me}-row) > ${Me}-row
|
|
|
`]:{display:"flex",boxSizing:"border-box",width:"100%"}},[`${Me}-cell`]:{borderBottom:ln,transition:`background ${pt}`},[`${Me}-expanded-row`]:{[`${yn}${yn}-fixed`]:{position:"sticky",insetInlineStart:0,overflow:"hidden",width:`calc(var(--virtual-width) - ${(0,gi.unit)(At)})`,borderInlineEnd:"none"}}},[`${Me}-bordered`]:{[`${Me}-tbody-virtual`]:{"&:after":{content:'""',insetInline:0,bottom:0,borderBottom:ln,position:"absolute"},[`${Me}-cell`]:{borderInlineEnd:ln,[`&${Me}-cell-fix-right-first:before`]:{content:'""',position:"absolute",insetBlock:0,insetInlineStart:fn(At).mul(-1).equal(),borderInlineStart:ln}}},[`&${Me}-virtual`]:{[`${Me}-placeholder ${Me}-cell`]:{borderInlineEnd:ln,borderBottom:ln}}}}}};const fo=Te=>{const{componentCls:Me,fontWeightStrong:pt,tablePaddingVertical:At,tablePaddingHorizontal:jt,tableExpandColumnWidth:Gt,lineWidth:fn,lineType:ln,tableBorderColor:yn,tableFontSize:En,tableBg:Vn,tableRadius:Tn,tableHeaderTextColor:Mn,motionDurationMid:Dn,tableHeaderBg:Sn,tableHeaderCellSplitColor:vr,tableFooterTextColor:$n,tableFooterBg:Ar,calc:br}=Te,Lr=`${(0,gi.unit)(fn)} ${ln} ${yn}`;return{[`${Me}-wrapper`]:Object.assign(Object.assign({clear:"both",maxWidth:"100%"},(0,ae.dF)()),{[Me]:Object.assign(Object.assign({},(0,ae.Wf)(Te)),{fontSize:En,background:Vn,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},[`
|
|
|
${Me}-cell,
|
|
|
${Me}-thead > tr > th,
|
|
|
${Me}-tbody > tr > th,
|
|
|
${Me}-tbody > tr > td,
|
|
|
tfoot > tr > th,
|
|
|
tfoot > tr > td
|
|
|
`]:{position:"relative",padding:`${(0,gi.unit)(At)} ${(0,gi.unit)(jt)}`,overflowWrap:"break-word"},[`${Me}-title`]:{padding:`${(0,gi.unit)(At)} ${(0,gi.unit)(jt)}`},[`${Me}-thead`]:{"\n > tr > th,\n > tr > td\n ":{position:"relative",color:Mn,fontWeight:pt,textAlign:"start",background:Sn,borderBottom:Lr,transition:`background ${Dn} ease`,"&[colspan]:not([colspan='1'])":{textAlign:"center"},[`&:not(:last-child):not(${Me}-selection-column):not(${Me}-row-expand-icon-cell):not([colspan])::before`]:{position:"absolute",top:"50%",insetInlineEnd:0,width:1,height:"1.6em",backgroundColor:vr,transform:"translateY(-50%)",transition:`background-color ${Dn}`,content:'""'}},"> tr:not(:last-child) > th[colspan]":{borderBottom:0}},[`${Me}-tbody`]:{"> tr":{"> th, > td":{transition:`background ${Dn}, border-color ${Dn}`,borderBottom:Lr,[`
|
|
|
> ${Me}-wrapper:only-child,
|
|
|
> ${Me}-expanded-row-fixed > ${Me}-wrapper:only-child
|
|
|
`]:{[Me]:{marginBlock:(0,gi.unit)(br(At).mul(-1).equal()),marginInline:`${(0,gi.unit)(br(Gt).sub(jt).equal())}
|
|
|
${(0,gi.unit)(br(jt).mul(-1).equal())}`,[`${Me}-tbody > tr:last-child > td`]:{borderBottomWidth:0,"&:first-child, &:last-child":{borderRadius:0}}}}},"> th":{position:"relative",color:Mn,fontWeight:pt,textAlign:"start",background:Sn,borderBottom:Lr,transition:`background ${Dn} ease`}}},[`${Me}-footer`]:{padding:`${(0,gi.unit)(At)} ${(0,gi.unit)(jt)}`,color:$n,background:Ar}})}},ai=Te=>{const{colorFillAlter:Me,colorBgContainer:pt,colorTextHeading:At,colorFillSecondary:jt,colorFillContent:Gt,controlItemBgActive:fn,controlItemBgActiveHover:ln,padding:yn,paddingSM:En,paddingXS:Vn,colorBorderSecondary:Tn,borderRadiusLG:Mn,controlHeight:Dn,colorTextPlaceholder:Sn,fontSize:vr,fontSizeSM:$n,lineHeight:Ar,lineWidth:br,colorIcon:Lr,colorIconHover:Dr,opacityLoading:Pr,controlInteractiveSize:Wr}=Te,_r=new fs.FastColor(jt).onBackground(pt).toHexString(),$r=new fs.FastColor(Gt).onBackground(pt).toHexString(),Mo=new fs.FastColor(Me).onBackground(pt).toHexString(),Ir=new fs.FastColor(Lr),Fr=new fs.FastColor(Dr),zr=Wr/2-br,ar=zr*2+br*3;return{headerBg:Mo,headerColor:At,headerSortActiveBg:_r,headerSortHoverBg:$r,bodySortBg:Mo,rowHoverBg:Mo,rowSelectedBg:fn,rowSelectedHoverBg:ln,rowExpandedBg:Me,cellPaddingBlock:yn,cellPaddingInline:yn,cellPaddingBlockMD:En,cellPaddingInlineMD:Vn,cellPaddingBlockSM:Vn,cellPaddingInlineSM:Vn,borderColor:Tn,headerBorderRadius:Mn,footerBg:Mo,footerColor:At,cellFontSize:vr,cellFontSizeMD:vr,cellFontSizeSM:vr,headerSplitColor:Tn,fixedHeaderSortActiveBg:_r,headerFilterHoverBg:Gt,filterDropdownMenuBg:pt,filterDropdownBg:pt,expandIconBg:pt,selectionColumnWidth:Dn,stickyScrollBarBg:Sn,stickyScrollBarBorderRadius:100,expandIconMarginTop:(vr*Ar-br*3)/2-Math.ceil(($n*1.4-br*3)/2),headerIconColor:Ir.clone().setA(Ir.a*Pr).toRgbString(),headerIconHoverColor:Fr.clone().setA(Fr.a*Pr).toRgbString(),expandIconHalfInner:zr,expandIconSize:ar,expandIconScale:Wr/ar}},ni=2;var Fo=(0,We.I$)("Table",Te=>{const{colorTextHeading:Me,colorSplit:pt,colorBgContainer:At,controlInteractiveSize:jt,headerBg:Gt,headerColor:fn,headerSortActiveBg:ln,headerSortHoverBg:yn,bodySortBg:En,rowHoverBg:Vn,rowSelectedBg:Tn,rowSelectedHoverBg:Mn,rowExpandedBg:Dn,cellPaddingBlock:Sn,cellPaddingInline:vr,cellPaddingBlockMD:$n,cellPaddingInlineMD:Ar,cellPaddingBlockSM:br,cellPaddingInlineSM:Lr,borderColor:Dr,footerBg:Pr,footerColor:Wr,headerBorderRadius:_r,cellFontSize:$r,cellFontSizeMD:Mo,cellFontSizeSM:Ir,headerSplitColor:Fr,fixedHeaderSortActiveBg:zr,headerFilterHoverBg:ar,filterDropdownBg:or,expandIconBg:Rr,selectionColumnWidth:Gr,stickyScrollBarBg:lo,calc:Lo}=Te,Xr=(0,dt.mergeToken)(Te,{tableFontSize:$r,tableBg:At,tableRadius:_r,tablePaddingVertical:Sn,tablePaddingHorizontal:vr,tablePaddingVerticalMiddle:$n,tablePaddingHorizontalMiddle:Ar,tablePaddingVerticalSmall:br,tablePaddingHorizontalSmall:Lr,tableBorderColor:Dr,tableHeaderTextColor:fn,tableHeaderBg:Gt,tableFooterTextColor:Wr,tableFooterBg:Pr,tableHeaderCellSplitColor:Fr,tableHeaderSortBg:ln,tableHeaderSortHoverBg:yn,tableBodySortBg:En,tableFixedHeaderSortActiveBg:zr,tableHeaderFilterActiveBg:ar,tableFilterDropdownBg:or,tableRowHoverBg:Vn,tableSelectedRowBg:Tn,tableSelectedRowHoverBg:Mn,zIndexTableFixed:ni,zIndexTableSticky:Lo(ni).add(1).equal({unit:!1}),tableFontSizeMiddle:Mo,tableFontSizeSmall:Ir,tableSelectionColumnWidth:Gr,tableExpandIconBg:Rr,tableExpandColumnWidth:Lo(jt).add(Lo(Te.padding).mul(2)).equal(),tableExpandedRowBg:Dn,tableFilterDropdownWidth:120,tableFilterDropdownHeight:264,tableFilterDropdownSearchWidth:140,tableScrollThumbSize:8,tableScrollThumbBg:lo,tableScrollThumbBgHover:Me,tableScrollBg:pt});return[fo(Xr),xr(Xr),uo(Xr),Po(Xr),pr(Xr),Pt(Xr),qr(Xr),In(Xr),uo(Xr),Xn(Xr),Zr(Xr),dr(Xr),ti(Xr),An(Xr),_o(Xr),Br(Xr),mo(Xr)]},ai,{unitless:{expandIconScale:!0}});const To=[],co=(Te,Me)=>{var pt,At;const{prefixCls:jt,className:Gt,rootClassName:fn,style:ln,size:yn,bordered:En,dropdownPrefixCls:Vn,dataSource:Tn,pagination:Mn,rowSelection:Dn,rowKey:Sn="key",rowClassName:vr,columns:$n,children:Ar,childrenColumnName:br,onChange:Lr,getPopupContainer:Dr,loading:Pr,expandIcon:Wr,expandable:_r,expandedRowRender:$r,expandIconColumnIndex:Mo,indentSize:Ir,scroll:Fr,sortDirections:zr,locale:ar,showSorterTooltip:or={target:"full-header"},virtual:Rr}=Te,Gr=(0,vi.ln)("Table"),lo=y.useMemo(()=>$n||Fn(Ar),[$n,Ar]),Lo=y.useMemo(()=>lo.some(ho=>ho.responsive),[lo]),Xr=(0,Ia.Z)(Lo),Fi=y.useMemo(()=>{const ho=new Set(Object.keys(Xr).filter(fi=>Xr[fi]));return lo.filter(fi=>!fi.responsive||fi.responsive.some(Yi=>ho.has(Yi)))},[lo,Xr]),xi=(0,Co.Z)(Te,["className","style","columns"]),{locale:pa=Ha.Z,direction:Qi,table:ua,renderEmpty:ga,getPrefixCls:Ca,getPopupContainer:Ri}=y.useContext(Ii.E_),Ni=(0,Xo.Z)(yn),Pa=Object.assign(Object.assign({},pa.Table),ar),Ma=Tn||To,Vo=Ca("table",jt),Si=Ca("dropdown",Vn),[,zo]=(0,El.ZP)(),go=(0,hi.Z)(Vo),[Ki,qi,ba]=Fo(Vo,go),ea=Object.assign(Object.assign({childrenColumnName:br,expandIconColumnIndex:Mo},_r),{expandIcon:(pt=_r==null?void 0:_r.expandIcon)!==null&&pt!==void 0?pt:(At=ua==null?void 0:ua.expandable)===null||At===void 0?void 0:At.expandIcon}),{childrenColumnName:Oa="children"}=ea,Da=y.useMemo(()=>Ma.some(ho=>ho==null?void 0:ho[Oa])?"nest":$r||_r!=null&&_r.expandedRowRender?"row":null,[Ma]),$o={body:y.useRef(null)},si=Ei(Vo),ta=y.useRef(null),ca=y.useRef(null);Uo(Me,()=>Object.assign(Object.assign({},ca.current),{nativeElement:ta.current}));const da=y.useMemo(()=>typeof Sn=="function"?Sn:ho=>ho==null?void 0:ho[Sn],[Sn]),[za]=Nl(Ma,Oa,da),Ea={},Ga=function(ho,fi){let Yi=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;var Va,ul,ol,Jl;const vl=Object.assign(Object.assign({},Ea),ho);Yi&&((Va=Ea.resetPagination)===null||Va===void 0||Va.call(Ea),!((ul=vl.pagination)===null||ul===void 0)&&ul.current&&(vl.pagination.current=1),Mn&&((ol=Mn.onChange)===null||ol===void 0||ol.call(Mn,1,(Jl=vl.pagination)===null||Jl===void 0?void 0:Jl.pageSize))),Fr&&Fr.scrollToFirstRowOnChange!==!1&&$o.body.current&&(0,Ho.Z)(0,{getContainer:()=>$o.body.current}),Lr==null||Lr(vl.pagination,vl.filters,vl.sorter,{currentDataSource:Wi(os(Ma,vl.sorterStates,Oa),vl.filterStates,Oa),action:fi})},ya=(ho,fi)=>{Ga({sorter:ho,sorterStates:fi},"sort",!1)},[Ui,va,xa,Ra]=Ys({prefixCls:Vo,mergedColumns:Fi,onSorterChange:ya,sortDirections:zr||["ascend","descend"],tableLocale:Pa,showSorterTooltip:or}),La=y.useMemo(()=>os(Ma,va,Oa),[Ma,va]);Ea.sorter=Ra(),Ea.sorterStates=va;const Gi=(ho,fi)=>{Ga({filters:ho,filterStates:fi},"filter",!0)},[Fa,ia,Xa]=Ka({prefixCls:Vo,locale:Pa,dropdownPrefixCls:Si,mergedColumns:Fi,onFilterChange:Gi,getPopupContainer:Dr||Ri,rootClassName:Oe()(fn,go)}),ja=Wi(La,ia,Oa);Ea.filters=Xa,Ea.filterStates=ia;const nl=y.useMemo(()=>{const ho={};return Object.keys(Xa).forEach(fi=>{Xa[fi]!==null&&(ho[fi]=Xa[fi])}),Object.assign(Object.assign({},xa),{filters:ho})},[xa,Xa]),[ll]=Ns(nl),Ml=(ho,fi)=>{Ga({pagination:Object.assign(Object.assign({},Ea.pagination),{current:ho,pageSize:fi})},"paginate")},[Sa,as]=kl(ja.length,Ml,Mn);Ea.pagination=Mn===!1?{}:hl(Sa,Mn),Ea.resetPagination=as;const rl=y.useMemo(()=>{if(Mn===!1||!Sa.pageSize)return ja;const{current:ho=1,total:fi,pageSize:Yi=Kl}=Sa;return ja.length<fi?ja.length>Yi?ja.slice((ho-1)*Yi,ho*Yi):ja:ja.slice((ho-1)*Yi,ho*Yi)},[!!Mn,ja,Sa==null?void 0:Sa.current,Sa==null?void 0:Sa.pageSize,Sa==null?void 0:Sa.total]),[Dl,pl]=Do({prefixCls:Vo,data:ja,pageData:rl,getRowKey:da,getRecordByKey:za,expandType:Da,childrenColumnName:Oa,locale:Pa,getPopupContainer:Dr||Ri},Dn),wi=(ho,fi,Yi)=>{let Va;return typeof vr=="function"?Va=Oe()(vr(ho,fi,Yi)):Va=Oe()(vr),Oe()({[`${Vo}-row-selected`]:pl.has(da(ho,fi))},Va)};ea.__PARENT_RENDER_ICON__=ea.expandIcon,ea.expandIcon=ea.expandIcon||Wr||qo(Pa),Da==="nest"&&ea.expandIconColumnIndex===void 0?ea.expandIconColumnIndex=Dn?1:0:ea.expandIconColumnIndex>0&&Dn&&(ea.expandIconColumnIndex-=1),typeof ea.indentSize!="number"&&(ea.indentSize=typeof Ir=="number"?Ir:15);const jo=y.useCallback(ho=>ll(Dl(Fa(Ui(ho)))),[Ui,Fa,Dl]);let Na,sl;if(Mn!==!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:Oe()(`${Vo}-pagination ${Vo}-pagination-${ul}`,Sa.className),size:ho})),Yi=Qi==="rtl"?"left":"right",{position:Va}=Sa;if(Va!==null&&Array.isArray(Va)){const ul=Va.find(vl=>vl.includes("top")),ol=Va.find(vl=>vl.includes("bottom")),Jl=Va.every(vl=>`${vl}`=="none");!ul&&!ol&&!Jl&&(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 _l=Oe()(ba,go,`${Vo}-wrapper`,ua==null?void 0:ua.className,{[`${Vo}-wrapper-rtl`]:Qi==="rtl"},Gt,fn,qi),Ds=Object.assign(Object.assign({},ua==null?void 0:ua.style),ln),Fs=typeof(ar==null?void 0:ar.emptyText)!="undefined"?ar.emptyText:(ga==null?void 0:ga("Table"))||y.createElement(bi.Z,{componentName:"Table"}),Rs=Rr?ds:ks,aa={},Hi=y.useMemo(()=>{const{fontSize:ho,lineHeight:fi,lineWidth:Yi,padding:Va,paddingXS:ul,paddingSM:ol}=zo,Jl=Math.floor(ho*fi);switch(Ni){case"middle":return ol*2+Jl+Yi;case"small":return ul*2+Jl+Yi;default:return Va*2+Jl+Yi}},[zo,Ni]);return Rr&&(aa.listItemHeight=Hi),Ki(y.createElement("div",{ref:ta,className:_l,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:Vo,className:Oe()({[`${Vo}-middle`]:Ni==="middle",[`${Vo}-small`]:Ni==="small",[`${Vo}-bordered`]:En,[`${Vo}-empty`]:Ma.length===0},ba,go,qi),data:rl,rowKey:da,rowClassName:wi,emptyText:Fs,internalHooks:pe,internalRefs:$o,transformColumns:jo,getContainerWidth:si})),sl)))};var Io=y.forwardRef(co);const Bo=(Te,Me)=>{const pt=y.useRef(0);return pt.current+=1,y.createElement(Io,Object.assign({},Te,{ref:Me,_renderTimes:pt.current}))},li=y.forwardRef(Bo);li.SELECTION_COLUMN=Ti,li.EXPAND_COLUMN=Ae,li.SELECTION_ALL=Vi,li.SELECTION_INVERT=sa,li.SELECTION_NONE=fa,li.Column=yr,li.ColumnGroup=Kn,li.Summary=nt;var Di=li,Pi=Di},96599:function(mn,Ct,E){"use strict";E.d(Ct,{default:function(){return Oe}});var y=E(59301),Ae=E(92310),pe=E.n(Ae),ze=E(2738),Ce=E(29509),Fe=E(78776),ge=E(22703),je=E(12919),De=E(48755),se=E(36237),Ue=E(17835),me=E(63356),Ne=E(51636),we=E(16931);const be=ue=>{const{paddingXXS:Xe,lineWidth:Ge,tagPaddingHorizontal:lt,componentCls:Tt,calc:Ke}=ue,Se=Ke(lt).sub(Ge).equal(),Ft=Ke(Xe).sub(Ge).equal();return{[Tt]:Object.assign(Object.assign({},(0,me.Wf)(ue)),{display:"inline-block",height:"auto",marginInlineEnd:ue.marginXS,paddingInline:Se,fontSize:ue.tagFontSize,lineHeight:ue.tagLineHeight,whiteSpace:"nowrap",background:ue.defaultBg,border:`${(0,se.unit)(ue.lineWidth)} ${ue.lineType} ${ue.colorBorder}`,borderRadius:ue.borderRadiusSM,opacity:1,transition:`all ${ue.motionDurationMid}`,textAlign:"start",position:"relative",[`&${Tt}-rtl`]:{direction:"rtl"},"&, a, a:hover":{color:ue.defaultColor},[`${Tt}-close-icon`]:{marginInlineStart:Ft,fontSize:ue.tagIconSize,color:ue.colorTextDescription,cursor:"pointer",transition:`all ${ue.motionDurationMid}`,"&:hover":{color:ue.colorTextHeading}},[`&${Tt}-has-color`]:{borderColor:"transparent",[`&, a, a:hover, ${ue.iconCls}-close, ${ue.iconCls}-close:hover`]:{color:ue.colorTextLightSolid}},"&-checkable":{backgroundColor:"transparent",borderColor:"transparent",cursor:"pointer",[`&:not(${Tt}-checkable-checked):hover`]:{color:ue.colorPrimary,backgroundColor:ue.colorFillSecondary},"&:active, &-checked":{color:ue.colorTextLightSolid},"&-checked":{backgroundColor:ue.colorPrimary,"&:hover":{backgroundColor:ue.colorPrimaryHover}},"&:active":{backgroundColor:ue.colorPrimaryActive}},"&-hidden":{display:"none"},[`> ${ue.iconCls} + span, > span + ${ue.iconCls}`]:{marginInlineStart:Se}}),[`${Tt}-borderless`]:{borderColor:"transparent",background:ue.tagBorderlessBg}}},he=ue=>{const{lineWidth:Xe,fontSizeIcon:Ge,calc:lt}=ue,Tt=ue.fontSizeSM;return(0,Ne.mergeToken)(ue,{tagFontSize:Tt,tagLineHeight:(0,se.unit)(lt(ue.lineHeightSM).mul(Tt).equal()),tagIconSize:lt(Ge).sub(lt(Xe).mul(2)).equal(),tagPaddingHorizontal:8,tagBorderlessBg:ue.defaultBg})},ce=ue=>({defaultBg:new Ue.FastColor(ue.colorFillQuaternary).onBackground(ue.colorBgContainer).toHexString(),defaultColor:ue.colorText});var Ie=(0,we.I$)("Tag",ue=>{const Xe=he(ue);return be(Xe)},ce),Ze=function(ue,Xe){var Ge={};for(var lt in ue)Object.prototype.hasOwnProperty.call(ue,lt)&&Xe.indexOf(lt)<0&&(Ge[lt]=ue[lt]);if(ue!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Tt=0,lt=Object.getOwnPropertySymbols(ue);Tt<lt.length;Tt++)Xe.indexOf(lt[Tt])<0&&Object.prototype.propertyIsEnumerable.call(ue,lt[Tt])&&(Ge[lt[Tt]]=ue[lt[Tt]]);return Ge},oe=y.forwardRef((ue,Xe)=>{const{prefixCls:Ge,style:lt,className:Tt,checked:Ke,onChange:Se,onClick:Ft}=ue,It=Ze(ue,["prefixCls","style","className","checked","onChange","onClick"]),{getPrefixCls:ut,tag:xe}=y.useContext(De.E_),ke=Xt=>{Se==null||Se(!Ke),Ft==null||Ft(Xt)},at=ut("tag",Ge),[Rt,ft,Nt]=Ie(at),xt=pe()(at,`${at}-checkable`,{[`${at}-checkable-checked`]:Ke},xe==null?void 0:xe.className,Tt,ft,Nt);return Rt(y.createElement("span",Object.assign({},It,{ref:Xe,style:Object.assign(Object.assign({},lt),xe==null?void 0:xe.style),className:xt,onClick:ke})))}),Be=E(93427);const tt=ue=>(0,Be.Z)(ue,(Xe,Ge)=>{let{textColor:lt,lightBorderColor:Tt,lightColor:Ke,darkColor:Se}=Ge;return{[`${ue.componentCls}${ue.componentCls}-${Xe}`]:{color:lt,background:Ke,borderColor:Tt,"&-inverse":{color:ue.colorTextLightSolid,background:Se,borderColor:Se},[`&${ue.componentCls}-borderless`]:{borderColor:"transparent"}}}});var Re=(0,we.bk)(["Tag","preset"],ue=>{const Xe=he(ue);return tt(Xe)},ce);function _e(ue){return typeof ue!="string"?ue:ue.charAt(0).toUpperCase()+ue.slice(1)}const ye=(ue,Xe,Ge)=>{const lt=_e(Ge);return{[`${ue.componentCls}${ue.componentCls}-${Xe}`]:{color:ue[`color${Ge}`],background:ue[`color${lt}Bg`],borderColor:ue[`color${lt}Border`],[`&${ue.componentCls}-borderless`]:{borderColor:"transparent"}}}};var Le=(0,we.bk)(["Tag","status"],ue=>{const Xe=he(ue);return[ye(Xe,"success","Success"),ye(Xe,"processing","Info"),ye(Xe,"error","Error"),ye(Xe,"warning","Warning")]},ce),Ve=function(ue,Xe){var Ge={};for(var lt in ue)Object.prototype.hasOwnProperty.call(ue,lt)&&Xe.indexOf(lt)<0&&(Ge[lt]=ue[lt]);if(ue!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Tt=0,lt=Object.getOwnPropertySymbols(ue);Tt<lt.length;Tt++)Xe.indexOf(lt[Tt])<0&&Object.prototype.propertyIsEnumerable.call(ue,lt[Tt])&&(Ge[lt[Tt]]=ue[lt[Tt]]);return Ge};const it=y.forwardRef((ue,Xe)=>{const{prefixCls:Ge,className:lt,rootClassName:Tt,style:Ke,children:Se,icon:Ft,color:It,onClose:ut,bordered:xe=!0,visible:ke}=ue,at=Ve(ue,["prefixCls","className","rootClassName","style","children","icon","color","onClose","bordered","visible"]),{getPrefixCls:Rt,direction:ft,tag:Nt}=y.useContext(De.E_),[xt,Xt]=y.useState(!0),Wt=(0,ze.Z)(at,["closeIcon","closable"]);y.useEffect(()=>{ke!==void 0&&Xt(ke)},[ke]);const de=(0,Ce.o2)(It),ne=(0,Ce.yT)(It),te=de||ne,le=Object.assign(Object.assign({backgroundColor:It&&!te?It:void 0},Nt==null?void 0:Nt.style),Ke),ve=Rt("tag",Ge),[re,fe,Ye]=Ie(ve),vt=pe()(ve,Nt==null?void 0:Nt.className,{[`${ve}-${It}`]:te,[`${ve}-has-color`]:It&&!te,[`${ve}-hidden`]:!xt,[`${ve}-rtl`]:ft==="rtl",[`${ve}-borderless`]:!xe},lt,Tt,fe,Ye),et=st=>{st.stopPropagation(),ut==null||ut(st),!st.defaultPrevented&&Xt(!1)},[,nt]=(0,Fe.Z)((0,Fe.w)(ue),(0,Fe.w)(Nt),{closable:!1,closeIconRender:st=>{const en=y.createElement("span",{className:`${ve}-close-icon`,onClick:et},st);return(0,ge.wm)(st,en,Kt=>({onClick:vn=>{var nn;(nn=Kt==null?void 0:Kt.onClick)===null||nn===void 0||nn.call(Kt,vn),et(vn)},className:pe()(Kt==null?void 0:Kt.className,`${ve}-close-icon`)}))}}),mt=typeof at.onClick=="function"||Se&&Se.type==="a",yt=Ft||null,St=yt?y.createElement(y.Fragment,null,yt,Se&&y.createElement("span",null,Se)):Se,Qe=y.createElement("span",Object.assign({},Wt,{ref:Xe,className:vt,style:le}),St,nt,de&&y.createElement(Re,{key:"preset",prefixCls:ve}),ne&&y.createElement(Le,{key:"status",prefixCls:ve}));return re(mt?y.createElement(je.Z,{component:"Tag"},Qe):Qe)});it.CheckableTag=oe;var Oe=it},18287:function(mn,Ct,E){"use strict";E.d(Ct,{default:function(){return ut}});var y=E(87632),Ae=E(77654),pe=E(59301),ze=E(52671),Ce=E(8657),Fe=E(60499),ge={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"},je=ge,De=E(7657),se=function(ke,at){return pe.createElement(De.Z,(0,Fe.Z)({},ke,{ref:at,icon:je}))},Ue=pe.forwardRef(se),me=Ue,Ne=E(92310),we=E.n(Ne),be=E(82661),he=E(34061),ce=E(48755),Ie=E(56082),Ze=E(86641),$e=E(57700),oe=E(12425);const Be=4;function tt(xe){const{dropPosition:ke,dropLevelOffset:at,prefixCls:Rt,indent:ft,direction:Nt="ltr"}=xe,xt=Nt==="ltr"?"left":"right",Xt=Nt==="ltr"?"right":"left",Wt={[xt]:-at*ft+Be,[Xt]:0};switch(ke){case-1:Wt.top=-3;break;case 1:Wt.bottom=-3;break;default:Wt.bottom=-3,Wt[xt]=ft+Be;break}return pe.createElement("div",{style:Wt,className:`${Rt}-drop-indicator`})}var Re=tt,_e=E(85278),Le=pe.forwardRef((xe,ke)=>{var at;const{getPrefixCls:Rt,direction:ft,virtual:Nt,tree:xt}=pe.useContext(ce.E_),{prefixCls:Xt,className:Wt,showIcon:de=!1,showLine:ne,switcherIcon:te,switcherLoadingIcon:le,blockNode:ve=!1,children:re,checkable:fe=!1,selectable:Ye=!0,draggable:vt,motion:et,style:nt}=xe,mt=Rt("tree",Xt),yt=Rt(),St=et!=null?et:Object.assign(Object.assign({},(0,Ze.Z)(yt)),{motionAppear:!1}),Qe=Object.assign(Object.assign({},xe),{checkable:fe,selectable:Ye,showIcon:de,motion:St,blockNode:ve,showLine:!!ne,dropIndicatorRender:Re}),[st,en,Kt]=(0,oe.ZP)(mt),[,vn]=(0,$e.ZP)(),nn=vn.paddingXS/2+(((at=vn.Tree)===null||at===void 0?void 0:at.titleHeight)||vn.controlHeightSM),Yt=pe.useMemo(()=>{if(!vt)return!1;let cn={};switch(typeof vt){case"function":cn.nodeDraggable=vt;break;case"object":cn=Object.assign({},vt);break;default:break}return cn.icon!==!1&&(cn.icon=cn.icon||pe.createElement(Ie.Z,null)),cn},[vt]),Jt=cn=>pe.createElement(_e.Z,{prefixCls:mt,switcherIcon:te,switcherLoadingIcon:le,treeNodeProps:cn,showLine:ne});return st(pe.createElement(y.ZP,Object.assign({itemHeight:nn,ref:ke,virtual:Nt},Qe,{style:Object.assign(Object.assign({},xt==null?void 0:xt.style),nt),prefixCls:mt,className:we()({[`${mt}-icon-hide`]:!de,[`${mt}-block-node`]:ve,[`${mt}-unselectable`]:!Ye,[`${mt}-rtl`]:ft==="rtl"},xt==null?void 0:xt.className,Wt,en,Kt),direction:ft,checkable:fe&&pe.createElement("span",{className:`${mt}-checkbox-inner`}),selectable:Ye,switcherIcon:Jt,draggable:Yt}),re))});const Ve=0,Pe=1,it=2;function Oe(xe,ke,at){const{key:Rt,children:ft}=at;function Nt(xt){const Xt=xt[Rt],Wt=xt[ft];ke(Xt,xt)!==!1&&Oe(Wt||[],ke,at)}xe.forEach(Nt)}function ue(xe){let{treeData:ke,expandedKeys:at,startKey:Rt,endKey:ft,fieldNames:Nt}=xe;const xt=[];let Xt=Ve;if(Rt&&Rt===ft)return[Rt];if(!Rt||!ft)return[];function Wt(de){return de===Rt||de===ft}return Oe(ke,de=>{if(Xt===it)return!1;if(Wt(de)){if(xt.push(de),Xt===Ve)Xt=Pe;else if(Xt===Pe)return Xt=it,!1}else Xt===Pe&&xt.push(de);return at.includes(de)},(0,he.w$)(Nt)),xt}function Xe(xe,ke,at){const Rt=(0,Ae.Z)(ke),ft=[];return Oe(xe,(Nt,xt)=>{const Xt=Rt.indexOf(Nt);return Xt!==-1&&(ft.push(xt),Rt.splice(Xt,1)),!!Rt.length},(0,he.w$)(at)),ft}var Ge=function(xe,ke){var at={};for(var Rt in xe)Object.prototype.hasOwnProperty.call(xe,Rt)&&ke.indexOf(Rt)<0&&(at[Rt]=xe[Rt]);if(xe!=null&&typeof Object.getOwnPropertySymbols=="function")for(var ft=0,Rt=Object.getOwnPropertySymbols(xe);ft<Rt.length;ft++)ke.indexOf(Rt[ft])<0&&Object.prototype.propertyIsEnumerable.call(xe,Rt[ft])&&(at[Rt[ft]]=xe[Rt[ft]]);return at};function lt(xe){const{isLeaf:ke,expanded:at}=xe;return ke?pe.createElement(ze.Z,null):at?pe.createElement(Ce.Z,null):pe.createElement(me,null)}function Tt(xe){let{treeData:ke,children:at}=xe;return ke||(0,he.zn)(at)}const Ke=(xe,ke)=>{var{defaultExpandAll:at,defaultExpandParent:Rt,defaultExpandedKeys:ft}=xe,Nt=Ge(xe,["defaultExpandAll","defaultExpandParent","defaultExpandedKeys"]);const xt=pe.useRef(null),Xt=pe.useRef(null),Wt=()=>{const{keyEntities:st}=(0,he.I8)(Tt(Nt));let en;return at?en=Object.keys(st):Rt?en=(0,be.r7)(Nt.expandedKeys||ft||[],st):en=Nt.expandedKeys||ft||[],en},[de,ne]=pe.useState(Nt.selectedKeys||Nt.defaultSelectedKeys||[]),[te,le]=pe.useState(()=>Wt());pe.useEffect(()=>{"selectedKeys"in Nt&&ne(Nt.selectedKeys)},[Nt.selectedKeys]),pe.useEffect(()=>{"expandedKeys"in Nt&&le(Nt.expandedKeys)},[Nt.expandedKeys]);const ve=(st,en)=>{var Kt;return"expandedKeys"in Nt||le(st),(Kt=Nt.onExpand)===null||Kt===void 0?void 0:Kt.call(Nt,st,en)},re=(st,en)=>{var Kt;const{multiple:vn,fieldNames:nn}=Nt,{node:Yt,nativeEvent:Jt}=en,{key:cn=""}=Yt,bt=Tt(Nt),zt=Object.assign(Object.assign({},en),{selected:!0}),un=(Jt==null?void 0:Jt.ctrlKey)||(Jt==null?void 0:Jt.metaKey),Cn=Jt==null?void 0:Jt.shiftKey;let ct;vn&&un?(ct=st,xt.current=cn,Xt.current=ct,zt.selectedNodes=Xe(bt,ct,nn)):vn&&Cn?(ct=Array.from(new Set([].concat((0,Ae.Z)(Xt.current||[]),(0,Ae.Z)(ue({treeData:bt,expandedKeys:te,startKey:cn,endKey:xt.current,fieldNames:nn}))))),zt.selectedNodes=Xe(bt,ct,nn)):(ct=[cn],xt.current=cn,Xt.current=ct,zt.selectedNodes=Xe(bt,ct,nn)),(Kt=Nt.onSelect)===null||Kt===void 0||Kt.call(Nt,ct,zt),"selectedKeys"in Nt||ne(ct)},{getPrefixCls:fe,direction:Ye}=pe.useContext(ce.E_),{prefixCls:vt,className:et,showIcon:nt=!0,expandAction:mt="click"}=Nt,yt=Ge(Nt,["prefixCls","className","showIcon","expandAction"]),St=fe("tree",vt),Qe=we()(`${St}-directory`,{[`${St}-directory-rtl`]:Ye==="rtl"},et);return pe.createElement(Le,Object.assign({icon:lt,ref:ke,blockNode:!0},yt,{showIcon:nt,expandAction:mt,prefixCls:St,className:Qe,expandedKeys:te,selectedKeys:de,onSelect:re,onExpand:ve}))};var Ft=pe.forwardRef(Ke);const It=Le;It.DirectoryTree=Ft,It.TreeNode=y.OF;var ut=It},12425:function(mn,Ct,E){"use strict";E.d(Ct,{ZP:function(){return be},Yk:function(){return me},TM:function(){return Ne}});var y=E(36237),Ae=E(36170),pe=E(63356),ze=E(34961),Ce=E(51636),Fe=E(16931);const ge=he=>{let{treeCls:ce,treeNodeCls:Ie,directoryNodeSelectedBg:Ze,directoryNodeSelectedColor:$e,motionDurationMid:oe,borderRadius:Be,controlItemBgHover:tt}=he;return{[`${ce}${ce}-directory ${Ie}`]:{[`${ce}-node-content-wrapper`]:{position:"static",[`> *:not(${ce}-drop-indicator)`]:{position:"relative"},"&:hover":{background:"transparent"},"&:before":{position:"absolute",inset:0,transition:`background-color ${oe}`,content:'""',borderRadius:Be},"&:hover:before":{background:tt}},[`${ce}-switcher, ${ce}-checkbox, ${ce}-draggable-icon`]:{zIndex:1},"&-selected":{[`${ce}-switcher, ${ce}-draggable-icon`]:{color:$e},[`${ce}-node-content-wrapper`]:{color:$e,background:"transparent","&:before, &:hover:before":{background:Ze}}}}}},je=new y.Keyframes("ant-tree-node-fx-do-not-use",{"0%":{opacity:0},"100%":{opacity:1}}),De=(he,ce)=>({[`.${he}-switcher-icon`]:{display:"inline-block",fontSize:10,verticalAlign:"baseline",svg:{transition:`transform ${ce.motionDurationSlow}`}}}),se=(he,ce)=>({[`.${he}-drop-indicator`]:{position:"absolute",zIndex:1,height:2,backgroundColor:ce.colorPrimary,borderRadius:1,pointerEvents:"none","&:after":{position:"absolute",top:-3,insetInlineStart:-6,width:8,height:8,backgroundColor:"transparent",border:`${(0,y.unit)(ce.lineWidthBold)} solid ${ce.colorPrimary}`,borderRadius:"50%",content:'""'}}}),Ue=(he,ce)=>{const{treeCls:Ie,treeNodeCls:Ze,treeNodePadding:$e,titleHeight:oe,indentSize:Be,nodeSelectedBg:tt,nodeHoverBg:Re,colorTextQuaternary:_e,controlItemBgActiveDisabled:ye}=ce;return{[Ie]:Object.assign(Object.assign({},(0,pe.Wf)(ce)),{background:ce.colorBgContainer,borderRadius:ce.borderRadius,transition:`background-color ${ce.motionDurationSlow}`,"&-rtl":{direction:"rtl"},[`&${Ie}-rtl ${Ie}-switcher_close ${Ie}-switcher-icon svg`]:{transform:"rotate(90deg)"},[`&-focused:not(:hover):not(${Ie}-active-focused)`]:Object.assign({},(0,pe.oN)(ce)),[`${Ie}-list-holder-inner`]:{alignItems:"flex-start"},[`&${Ie}-block-node`]:{[`${Ie}-list-holder-inner`]:{alignItems:"stretch",[`${Ie}-node-content-wrapper`]:{flex:"auto"},[`${Ze}.dragging:after`]:{position:"absolute",inset:0,border:`1px solid ${ce.colorPrimary}`,opacity:0,animationName:je,animationDuration:ce.motionDurationSlow,animationPlayState:"running",animationFillMode:"forwards",content:'""',pointerEvents:"none",borderRadius:ce.borderRadius}}},[Ze]:{display:"flex",alignItems:"flex-start",marginBottom:$e,lineHeight:(0,y.unit)(oe),position:"relative","&:before":{content:'""',position:"absolute",zIndex:1,insetInlineStart:0,width:"100%",top:"100%",height:$e},[`&-disabled ${Ie}-node-content-wrapper`]:{color:ce.colorTextDisabled,cursor:"not-allowed","&:hover":{background:"transparent"}},[`${Ie}-checkbox-disabled + ${Ie}-node-selected,&${Ze}-disabled${Ze}-selected ${Ie}-node-content-wrapper`]:{backgroundColor:ye},[`${Ie}-checkbox-disabled`]:{pointerEvents:"unset"},[`&:not(${Ze}-disabled)`]:{[`${Ie}-node-content-wrapper`]:{"&:hover":{color:ce.nodeHoverColor}}},[`&-active ${Ie}-node-content-wrapper`]:{background:ce.controlItemBgHover},[`&:not(${Ze}-disabled).filter-node ${Ie}-title`]:{color:ce.colorPrimary,fontWeight:500},"&-draggable":{cursor:"grab",[`${Ie}-draggable-icon`]:{flexShrink:0,width:oe,textAlign:"center",visibility:"visible",color:_e},[`&${Ze}-disabled ${Ie}-draggable-icon`]:{visibility:"hidden"}}},[`${Ie}-indent`]:{alignSelf:"stretch",whiteSpace:"nowrap",userSelect:"none","&-unit":{display:"inline-block",width:Be}},[`${Ie}-draggable-icon`]:{visibility:"hidden"},[`${Ie}-switcher, ${Ie}-checkbox`]:{marginInlineEnd:ce.calc(ce.calc(oe).sub(ce.controlInteractiveSize)).div(2).equal()},[`${Ie}-switcher`]:Object.assign(Object.assign({},De(he,ce)),{position:"relative",flex:"none",alignSelf:"stretch",width:oe,textAlign:"center",cursor:"pointer",userSelect:"none",transition:`all ${ce.motionDurationSlow}`,"&-noop":{cursor:"unset"},"&:before":{pointerEvents:"none",content:'""',width:oe,height:oe,position:"absolute",left:{_skip_check_:!0,value:0},top:0,borderRadius:ce.borderRadius,transition:`all ${ce.motionDurationSlow}`},[`&:not(${Ie}-switcher-noop):hover:before`]:{backgroundColor:ce.colorBgTextHover},[`&_close ${Ie}-switcher-icon svg`]:{transform:"rotate(-90deg)"},"&-loading-icon":{color:ce.colorPrimary},"&-leaf-line":{position:"relative",zIndex:1,display:"inline-block",width:"100%",height:"100%","&:before":{position:"absolute",top:0,insetInlineEnd:ce.calc(oe).div(2).equal(),bottom:ce.calc($e).mul(-1).equal(),marginInlineStart:-1,borderInlineEnd:`1px solid ${ce.colorBorder}`,content:'""'},"&:after":{position:"absolute",width:ce.calc(ce.calc(oe).div(2).equal()).mul(.8).equal(),height:ce.calc(oe).div(2).equal(),borderBottom:`1px solid ${ce.colorBorder}`,content:'""'}}}),[`${Ie}-node-content-wrapper`]:Object.assign(Object.assign({position:"relative",minHeight:oe,paddingBlock:0,paddingInline:ce.paddingXS,background:"transparent",borderRadius:ce.borderRadius,cursor:"pointer",transition:`all ${ce.motionDurationMid}, border 0s, line-height 0s, box-shadow 0s`},se(he,ce)),{"&:hover":{backgroundColor:Re},[`&${Ie}-node-selected`]:{color:ce.nodeSelectedColor,backgroundColor:tt},[`${Ie}-iconEle`]:{display:"inline-block",width:oe,height:oe,textAlign:"center",verticalAlign:"top","&:empty":{display:"none"}}}),[`${Ie}-unselectable ${Ie}-node-content-wrapper:hover`]:{backgroundColor:"transparent"},[`${Ze}.drop-container > [draggable]`]:{boxShadow:`0 0 0 2px ${ce.colorPrimary}`},"&-show-line":{[`${Ie}-indent-unit`]:{position:"relative",height:"100%","&:before":{position:"absolute",top:0,insetInlineEnd:ce.calc(oe).div(2).equal(),bottom:ce.calc($e).mul(-1).equal(),borderInlineEnd:`1px solid ${ce.colorBorder}`,content:'""'},"&-end:before":{display:"none"}},[`${Ie}-switcher`]:{background:"transparent","&-line-icon":{verticalAlign:"-0.15em"}}},[`${Ze}-leaf-last ${Ie}-switcher-leaf-line:before`]:{top:"auto !important",bottom:"auto !important",height:`${(0,y.unit)(ce.calc(oe).div(2).equal())} !important`}})}},me=function(he,ce){let Ie=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!0;const Ze=`.${he}`,$e=`${Ze}-treenode`,oe=ce.calc(ce.paddingXS).div(2).equal(),Be=(0,Ce.mergeToken)(ce,{treeCls:Ze,treeNodeCls:$e,treeNodePadding:oe});return[Ue(he,Be),Ie&&ge(Be)].filter(Boolean)},Ne=he=>{const{controlHeightSM:ce,controlItemBgHover:Ie,controlItemBgActive:Ze}=he,$e=ce;return{titleHeight:$e,indentSize:$e,nodeHoverBg:Ie,nodeHoverColor:he.colorText,nodeSelectedBg:Ze,nodeSelectedColor:he.colorText}},we=he=>{const{colorTextLightSolid:ce,colorPrimary:Ie}=he;return Object.assign(Object.assign({},Ne(he)),{directoryNodeSelectedColor:ce,directoryNodeSelectedBg:Ie})};var be=(0,Fe.I$)("Tree",(he,ce)=>{let{prefixCls:Ie}=ce;return[{[he.componentCls]:(0,Ae.C2)(`${Ie}-checkbox`,he)},me(Ie,he),(0,ze.Z)(he)]},we)},85278:function(mn,Ct,E){"use strict";E.d(Ct,{Z:function(){return ce}});var y=E(59301),Ae=E(60499),pe={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"},ze=pe,Ce=E(7657),Fe=function(Ze,$e){return y.createElement(Ce.Z,(0,Ae.Z)({},Ze,{ref:$e,icon:ze}))},ge=y.forwardRef(Fe),je=ge,De=E(52671),se=E(58617),Ue=E(15075),me=E(43531),Ne=E(92310),we=E.n(Ne),be=E(22703),ce=Ie=>{const{prefixCls:Ze,switcherIcon:$e,treeNodeProps:oe,showLine:Be,switcherLoadingIcon:tt}=Ie,{isLeaf:Re,expanded:_e,loading:ye}=oe;if(ye)return y.isValidElement(tt)?tt:y.createElement(se.Z,{className:`${Ze}-switcher-loading-icon`});let Le;if(Be&&typeof Be=="object"&&(Le=Be.showLeafIcon),Re){if(!Be)return null;if(typeof Le!="boolean"&&Le){const it=typeof Le=="function"?Le(oe):Le,Oe=`${Ze}-switcher-line-custom-icon`;return y.isValidElement(it)?(0,be.Tm)(it,{className:we()(it.props.className||"",Oe)}):it}return Le?y.createElement(De.Z,{className:`${Ze}-switcher-line-icon`}):y.createElement("span",{className:`${Ze}-switcher-leaf-line`})}const Ve=`${Ze}-switcher-icon`,Pe=typeof $e=="function"?$e(oe):$e;return y.isValidElement(Pe)?(0,be.Tm)(Pe,{className:we()(Pe.props.className||"",Ve)}):Pe!==void 0?Pe:Be?_e?y.createElement(Ue.Z,{className:`${Ze}-switcher-line-icon`}):y.createElement(me.Z,{className:`${Ze}-switcher-line-icon`}):y.createElement(je,{className:Ve})}},94968:function(mn,Ct,E){"use strict";E.d(Ct,{default:function(){return Ut}});var y=E(59301),Ae=E(77654),pe=E(4676),ze=E(92310),Ce=E.n(ze),Fe=E(60499),ge=E(38705),je=E(17212),De=E(15793),se=E(39153),Ue=E(55401),me=E(18642),Ne=E(85899),we=E(42244),be=E(43749),he=E(73001),ce=E(11576),Ie=E(26112),Ze=E(48736),$e=function(ot,Qt){if(ot&&Qt){var rn=Array.isArray(Qt)?Qt:Qt.split(","),_t=ot.name||"",rt=ot.type||"",Bt=rt.replace(/\/.*$/,"");return rn.some(function(Ot){var $t=Ot.trim();if(/^\*(\/\*)?$/.test(Ot))return!0;if($t.charAt(0)==="."){var On=_t.toLowerCase(),Wn=$t.toLowerCase(),Yn=[Wn];return(Wn===".jpg"||Wn===".jpeg")&&(Yn=[".jpg",".jpeg"]),Yn.some(function(Mr){return On.endsWith(Mr)})}return/\/\*$/.test($t)?Bt===$t.replace(/\/.*$/,""):rt===$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,Qt){var rn="cannot ".concat(ot.method," ").concat(ot.action," ").concat(Qt.status,"'"),_t=new Error(rn);return _t.status=Qt.status,_t.method=ot.method,_t.url=ot.action,_t}function Be(ot){var Qt=ot.responseText||ot.response;if(!Qt)return Qt;try{return JSON.parse(Qt)}catch(rn){return Qt}}function tt(ot){var Qt=new XMLHttpRequest;ot.onProgress&&Qt.upload&&(Qt.upload.onprogress=function(Bt){Bt.total>0&&(Bt.percent=Bt.loaded/Bt.total*100),ot.onProgress(Bt)});var rn=new FormData;ot.data&&Object.keys(ot.data).forEach(function(rt){var Bt=ot.data[rt];if(Array.isArray(Bt)){Bt.forEach(function(Ot){rn.append("".concat(rt,"[]"),Ot)});return}rn.append(rt,Bt)}),ot.file instanceof Blob?rn.append(ot.filename,ot.file,ot.file.name):rn.append(ot.filename,ot.file),Qt.onerror=function(Bt){ot.onError(Bt)},Qt.onload=function(){return Qt.status<200||Qt.status>=300?ot.onError(oe(ot,Qt),Be(Qt)):ot.onSuccess(Be(Qt),Qt)},Qt.open(ot.method,ot.action,!0),ot.withCredentials&&"withCredentials"in Qt&&(Qt.withCredentials=!0);var _t=ot.headers||{};return _t["X-Requested-With"]!==null&&Qt.setRequestHeader("X-Requested-With","XMLHttpRequest"),Object.keys(_t).forEach(function(rt){_t[rt]!==null&&Qt.setRequestHeader(rt,_t[rt])}),Qt.send(rn),{abort:function(){Qt.abort()}}}var Re=function(){var ot=(0,ce.Z)((0,he.Z)().mark(function Qt(rn,_t){var rt,Bt,Ot,$t,On,Wn,Yn,Mr;return(0,he.Z)().wrap(function(to){for(;;)switch(to.prev=to.next){case 0:Wn=function(){return Wn=(0,ce.Z)((0,he.Z)().mark(function Er(Tr){return(0,he.Z)().wrap(function(ro){for(;;)switch(ro.prev=ro.next){case 0:return ro.abrupt("return",new Promise(function(oo){Tr.file(function(ao){_t(ao)?(Tr.fullPath&&!ao.webkitRelativePath&&(Object.defineProperties(ao,{webkitRelativePath:{writable:!0}}),ao.webkitRelativePath=Tr.fullPath.replace(/^\//,""),Object.defineProperties(ao,{webkitRelativePath:{writable:!1}})),oo(ao)):oo(null)})}));case 1:case"end":return ro.stop()}},Er)})),Wn.apply(this,arguments)},On=function(Er){return Wn.apply(this,arguments)},$t=function(){return $t=(0,ce.Z)((0,he.Z)().mark(function Er(Tr){var Yr,ro,oo,ao,Or;return(0,he.Z)().wrap(function(Jr){for(;;)switch(Jr.prev=Jr.next){case 0:Yr=Tr.createReader(),ro=[];case 2:return Jr.next=5,new Promise(function(Wo){Yr.readEntries(Wo,function(){return Wo([])})});case 5:if(oo=Jr.sent,ao=oo.length,ao){Jr.next=9;break}return Jr.abrupt("break",12);case 9:for(Or=0;Or<ao;Or++)ro.push(oo[Or]);Jr.next=2;break;case 12:return Jr.abrupt("return",ro);case 13:case"end":return Jr.stop()}},Er)})),$t.apply(this,arguments)},Ot=function(Er){return $t.apply(this,arguments)},rt=[],Bt=[],rn.forEach(function(fr){return Bt.push(fr.webkitGetAsEntry())}),Yn=function(){var fr=(0,ce.Z)((0,he.Z)().mark(function Er(Tr,Yr){var ro,oo;return(0,he.Z)().wrap(function(Or){for(;;)switch(Or.prev=Or.next){case 0:if(Tr){Or.next=2;break}return Or.abrupt("return");case 2:if(Tr.path=Yr||"",!Tr.isFile){Or.next=10;break}return Or.next=6,On(Tr);case 6:ro=Or.sent,ro&&rt.push(ro),Or.next=15;break;case 10:if(!Tr.isDirectory){Or.next=15;break}return Or.next=13,Ot(Tr);case 13:oo=Or.sent,Bt.push.apply(Bt,(0,Ae.Z)(oo));case 15:case"end":return Or.stop()}},Er)}));return function(Tr,Yr){return fr.apply(this,arguments)}}(),Mr=0;case 9:if(!(Mr<Bt.length)){to.next=15;break}return to.next=12,Yn(Bt[Mr]);case 12:Mr++,to.next=9;break;case 15:return to.abrupt("return",rt);case 16:case"end":return to.stop()}},Qt)}));return function(rn,_t){return ot.apply(this,arguments)}}(),_e=Re,ye=+new Date,Le=0;function Ve(){return"rc-upload-".concat(ye,"-").concat(++Le)}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)(rn,ot);var Qt=(0,Ue.Z)(rn);function rn(){var _t;(0,ge.Z)(this,rn);for(var rt=arguments.length,Bt=new Array(rt),Ot=0;Ot<rt;Ot++)Bt[Ot]=arguments[Ot];return _t=Qt.call.apply(Qt,[this].concat(Bt)),(0,me.Z)((0,De.Z)(_t),"state",{uid:Ve()}),(0,me.Z)((0,De.Z)(_t),"reqs",{}),(0,me.Z)((0,De.Z)(_t),"fileInput",void 0),(0,me.Z)((0,De.Z)(_t),"_isMounted",void 0),(0,me.Z)((0,De.Z)(_t),"onChange",function($t){var On=_t.props,Wn=On.accept,Yn=On.directory,Mr=$t.target.files,Hr=(0,Ae.Z)(Mr).filter(function(to){return!Yn||$e(to,Wn)});_t.uploadFiles(Hr),_t.reset()}),(0,me.Z)((0,De.Z)(_t),"onClick",function($t){var On=_t.fileInput;if(On){var Wn=$t.target,Yn=_t.props.onClick;if(Wn&&Wn.tagName==="BUTTON"){var Mr=On.parentNode;Mr.focus(),Wn.blur()}On.click(),Yn&&Yn($t)}}),(0,me.Z)((0,De.Z)(_t),"onKeyDown",function($t){$t.key==="Enter"&&_t.onClick($t)}),(0,me.Z)((0,De.Z)(_t),"onFileDrop",function(){var $t=(0,ce.Z)((0,he.Z)().mark(function On(Wn){var Yn,Mr,Hr;return(0,he.Z)().wrap(function(fr){for(;;)switch(fr.prev=fr.next){case 0:if(Yn=_t.props.multiple,Wn.preventDefault(),Wn.type!=="dragover"){fr.next=4;break}return fr.abrupt("return");case 4:if(!_t.props.directory){fr.next=11;break}return fr.next=7,_e(Array.prototype.slice.call(Wn.dataTransfer.items),function(Er){return $e(Er,_t.props.accept)});case 7:Mr=fr.sent,_t.uploadFiles(Mr),fr.next=14;break;case 11:Hr=(0,Ae.Z)(Wn.dataTransfer.files).filter(function(Er){return $e(Er,_t.props.accept)}),Yn===!1&&(Hr=Hr.slice(0,1)),_t.uploadFiles(Hr);case 14:case"end":return fr.stop()}},On)}));return function(On){return $t.apply(this,arguments)}}()),(0,me.Z)((0,De.Z)(_t),"uploadFiles",function($t){var On=(0,Ae.Z)($t),Wn=On.map(function(Yn){return Yn.uid=Ve(),_t.processFile(Yn,On)});Promise.all(Wn).then(function(Yn){var Mr=_t.props.onBatchStart;Mr==null||Mr(Yn.map(function(Hr){var to=Hr.origin,fr=Hr.parsedFile;return{file:to,parsedFile:fr}})),Yn.filter(function(Hr){return Hr.parsedFile!==null}).forEach(function(Hr){_t.post(Hr)})})}),(0,me.Z)((0,De.Z)(_t),"processFile",function(){var $t=(0,ce.Z)((0,he.Z)().mark(function On(Wn,Yn){var Mr,Hr,to,fr,Er,Tr,Yr,ro,oo;return(0,he.Z)().wrap(function(Or){for(;;)switch(Or.prev=Or.next){case 0:if(Mr=_t.props.beforeUpload,Hr=Wn,!Mr){Or.next=14;break}return Or.prev=3,Or.next=6,Mr(Wn,Yn);case 6:Hr=Or.sent,Or.next=12;break;case 9:Or.prev=9,Or.t0=Or.catch(3),Hr=!1;case 12:if(Hr!==!1){Or.next=14;break}return Or.abrupt("return",{origin:Wn,parsedFile:null,action:null,data:null});case 14:if(to=_t.props.action,typeof to!="function"){Or.next=21;break}return Or.next=18,to(Wn);case 18:fr=Or.sent,Or.next=22;break;case 21:fr=to;case 22:if(Er=_t.props.data,typeof Er!="function"){Or.next=29;break}return Or.next=26,Er(Wn);case 26:Tr=Or.sent,Or.next=30;break;case 29:Tr=Er;case 30:return Yr=((0,be.Z)(Hr)==="object"||typeof Hr=="string")&&Hr?Hr:Wn,Yr instanceof File?ro=Yr:ro=new File([Yr],Wn.name,{type:Wn.type}),oo=ro,oo.uid=Wn.uid,Or.abrupt("return",{origin:Wn,data:Tr,parsedFile:oo,action:fr});case 35:case"end":return Or.stop()}},On,null,[[3,9]])}));return function(On,Wn){return $t.apply(this,arguments)}}()),(0,me.Z)((0,De.Z)(_t),"saveFileInput",function($t){_t.fileInput=$t}),_t}return(0,je.Z)(rn,[{key:"componentDidMount",value:function(){this._isMounted=!0}},{key:"componentWillUnmount",value:function(){this._isMounted=!1,this.abort()}},{key:"post",value:function(rt){var Bt=this,Ot=rt.data,$t=rt.origin,On=rt.action,Wn=rt.parsedFile;if(this._isMounted){var Yn=this.props,Mr=Yn.onStart,Hr=Yn.customRequest,to=Yn.name,fr=Yn.headers,Er=Yn.withCredentials,Tr=Yn.method,Yr=$t.uid,ro=Hr||tt,oo={action:On,filename:to,data:Ot,file:Wn,headers:fr,withCredentials:Er,method:Tr||"post",onProgress:function(Or){var eo=Bt.props.onProgress;eo==null||eo(Or,Wn)},onSuccess:function(Or,eo){var Jr=Bt.props.onSuccess;Jr==null||Jr(Or,Wn,eo),delete Bt.reqs[Yr]},onError:function(Or,eo){var Jr=Bt.props.onError;Jr==null||Jr(Or,eo,Wn),delete Bt.reqs[Yr]}};Mr($t),this.reqs[Yr]=ro(oo)}}},{key:"reset",value:function(){this.setState({uid:Ve()})}},{key:"abort",value:function(rt){var Bt=this.reqs;if(rt){var Ot=rt.uid?rt.uid:rt;Bt[Ot]&&Bt[Ot].abort&&Bt[Ot].abort(),delete Bt[Ot]}else Object.keys(Bt).forEach(function($t){Bt[$t]&&Bt[$t].abort&&Bt[$t].abort(),delete Bt[$t]})}},{key:"render",value:function(){var rt=this.props,Bt=rt.component,Ot=rt.prefixCls,$t=rt.className,On=rt.classNames,Wn=On===void 0?{}:On,Yn=rt.disabled,Mr=rt.id,Hr=rt.name,to=rt.style,fr=rt.styles,Er=fr===void 0?{}:fr,Tr=rt.multiple,Yr=rt.accept,ro=rt.capture,oo=rt.children,ao=rt.directory,Or=rt.openFileDialogOnClick,eo=rt.onMouseEnter,Jr=rt.onMouseLeave,Wo=rt.hasControlInside,Ko=(0,we.Z)(rt,Pe),rr=Ce()((0,me.Z)((0,me.Z)((0,me.Z)({},Ot,!0),"".concat(Ot,"-disabled"),Yn),$t,$t)),Ro=ao?{directory:"directory",webkitdirectory:"webkitdirectory"}:{},ei=Yn?{}:{onClick:Or?this.onClick:function(){},onKeyDown:Or?this.onKeyDown:function(){},onMouseEnter:eo,onMouseLeave:Jr,onDrop:this.onFileDrop,onDragOver:this.onFileDrop,tabIndex:Wo?void 0:"0"};return y.createElement(Bt,(0,Fe.Z)({},ei,{className:rr,role:Wo?void 0:"button",style:to}),y.createElement("input",(0,Fe.Z)({},(0,Ie.Z)(Ko,{aria:!0,data:!0}),{id:Mr,name:Hr,disabled:Yn,type:"file",ref:this.saveFileInput,onClick:function(Zo){return Zo.stopPropagation()},key:this.state.uid,style:(0,Ne.Z)({display:"none"},Er.input),className:Wn.input,accept:Yr},Ro,{multiple:Tr,onChange:this.onChange},ro!=null?{capture:ro}:{})),oo)}}]),rn}(y.Component),Oe=it;function ue(){}var Xe=function(ot){(0,se.Z)(rn,ot);var Qt=(0,Ue.Z)(rn);function rn(){var _t;(0,ge.Z)(this,rn);for(var rt=arguments.length,Bt=new Array(rt),Ot=0;Ot<rt;Ot++)Bt[Ot]=arguments[Ot];return _t=Qt.call.apply(Qt,[this].concat(Bt)),(0,me.Z)((0,De.Z)(_t),"uploader",void 0),(0,me.Z)((0,De.Z)(_t),"saveUploader",function($t){_t.uploader=$t}),_t}return(0,je.Z)(rn,[{key:"abort",value:function(rt){this.uploader.abort(rt)}},{key:"render",value:function(){return y.createElement(Oe,(0,Fe.Z)({},this.props,{ref:this.saveUploader}))}}]),rn}(y.Component);(0,me.Z)(Xe,"defaultProps",{component:"span",prefixCls:"rc-upload",data:{},headers:{},name:"file",multipart:!1,onStart:ue,onError:ue,onSuccess:ue,multiple:!1,beforeUpload:null,customRequest:null,withCredentials:!1,openFileDialogOnClick:!0,hasControlInside:!1});var Ge=Xe,lt=Ge,Tt=E(18929),Ke=E(48755),Se=E(2171),Ft=E(9017),It=E(85981),ut=E(63356),xe=E(34961),ke=E(16931),at=E(51636),Rt=E(36237),Nt=ot=>{const{componentCls:Qt,iconCls:rn}=ot;return{[`${Qt}-wrapper`]:{[`${Qt}-drag`]:{position:"relative",width:"100%",height:"100%",textAlign:"center",background:ot.colorFillAlter,border:`${(0,Rt.unit)(ot.lineWidth)} dashed ${ot.colorBorder}`,borderRadius:ot.borderRadiusLG,cursor:"pointer",transition:`border-color ${ot.motionDurationSlow}`,[Qt]:{padding:ot.padding},[`${Qt}-btn`]:{display:"table",width:"100%",height:"100%",outline:"none",borderRadius:ot.borderRadiusLG,"&:focus-visible":{outline:`${(0,Rt.unit)(ot.lineWidthFocus)} solid ${ot.colorPrimaryBorder}`}},[`${Qt}-drag-container`]:{display:"table-cell",verticalAlign:"middle"},[`
|
|
|
&:not(${Qt}-disabled):hover,
|
|
|
&-hover:not(${Qt}-disabled)
|
|
|
`]:{borderColor:ot.colorPrimaryHover},[`p${Qt}-drag-icon`]:{marginBottom:ot.margin,[rn]:{color:ot.colorPrimary,fontSize:ot.uploadThumbnailSize}},[`p${Qt}-text`]:{margin:`0 0 ${(0,Rt.unit)(ot.marginXXS)}`,color:ot.colorTextHeading,fontSize:ot.fontSizeLG},[`p${Qt}-hint`]:{color:ot.colorTextDescription,fontSize:ot.fontSize},[`&${Qt}-disabled`]:{[`p${Qt}-drag-icon ${rn},
|
|
|
p${Qt}-text,
|
|
|
p${Qt}-hint
|
|
|
`]:{color:ot.colorTextDisabled}}}}}},Xt=ot=>{const{componentCls:Qt,iconCls:rn,fontSize:_t,lineHeight:rt,calc:Bt}=ot,Ot=`${Qt}-list-item`,$t=`${Ot}-actions`,On=`${Ot}-action`;return{[`${Qt}-wrapper`]:{[`${Qt}-list`]:Object.assign(Object.assign({},(0,ut.dF)()),{lineHeight:ot.lineHeight,[Ot]:{position:"relative",height:Bt(ot.lineHeight).mul(_t).equal(),marginTop:ot.marginXS,fontSize:_t,display:"flex",alignItems:"center",transition:`background-color ${ot.motionDurationSlow}`,borderRadius:ot.borderRadiusSM,"&:hover":{backgroundColor:ot.controlItemBgHover},[`${Ot}-name`]:Object.assign(Object.assign({},ut.vS),{padding:`0 ${(0,Rt.unit)(ot.paddingXS)}`,lineHeight:rt,flex:"auto",transition:`all ${ot.motionDurationSlow}`}),[$t]:{whiteSpace:"nowrap",[On]:{opacity:0},[rn]:{color:ot.actionsColor,transition:`all ${ot.motionDurationSlow}`},[`
|
|
|
${On}:focus-visible,
|
|
|
&.picture ${On}
|
|
|
`]:{opacity:1}},[`${Qt}-icon ${rn}`]:{color:ot.colorTextDescription,fontSize:_t},[`${Ot}-progress`]:{position:"absolute",bottom:ot.calc(ot.uploadProgressOffset).mul(-1).equal(),width:"100%",paddingInlineStart:Bt(_t).add(ot.paddingXS).equal(),fontSize:_t,lineHeight:0,pointerEvents:"none","> div":{margin:0}}},[`${Ot}:hover ${On}`]:{opacity:1},[`${Ot}-error`]:{color:ot.colorError,[`${Ot}-name, ${Qt}-icon ${rn}`]:{color:ot.colorError},[$t]:{[`${rn}, ${rn}:hover`]:{color:ot.colorError},[On]:{opacity:1}}},[`${Qt}-list-item-container`]:{transition:`opacity ${ot.motionDurationSlow}, height ${ot.motionDurationSlow}`,"&::before":{display:"table",width:0,height:0,content:'""'}}})}}},Wt=E(99495),ne=ot=>{const{componentCls:Qt}=ot,rn=new Rt.Keyframes("uploadAnimateInlineIn",{from:{width:0,height:0,padding:0,opacity:0,margin:ot.calc(ot.marginXS).div(-2).equal()}}),_t=new Rt.Keyframes("uploadAnimateInlineOut",{to:{width:0,height:0,padding:0,opacity:0,margin:ot.calc(ot.marginXS).div(-2).equal()}}),rt=`${Qt}-animate-inline`;return[{[`${Qt}-wrapper`]:{[`${rt}-appear, ${rt}-enter, ${rt}-leave`]:{animationDuration:ot.motionDurationSlow,animationTimingFunction:ot.motionEaseInOutCirc,animationFillMode:"forwards"},[`${rt}-appear, ${rt}-enter`]:{animationName:rn},[`${rt}-leave`]:{animationName:_t}}},{[`${Qt}-wrapper`]:(0,Wt.J$)(ot)},rn,_t]},te=E(68361);const le=ot=>{const{componentCls:Qt,iconCls:rn,uploadThumbnailSize:_t,uploadProgressOffset:rt,calc:Bt}=ot,Ot=`${Qt}-list`,$t=`${Ot}-item`;return{[`${Qt}-wrapper`]:{[`
|
|
|
${Ot}${Ot}-picture,
|
|
|
${Ot}${Ot}-picture-card,
|
|
|
${Ot}${Ot}-picture-circle
|
|
|
`]:{[$t]:{position:"relative",height:Bt(_t).add(Bt(ot.lineWidth).mul(2)).add(Bt(ot.paddingXS).mul(2)).equal(),padding:ot.paddingXS,border:`${(0,Rt.unit)(ot.lineWidth)} ${ot.lineType} ${ot.colorBorder}`,borderRadius:ot.borderRadiusLG,"&:hover":{background:"transparent"},[`${$t}-thumbnail`]:Object.assign(Object.assign({},ut.vS),{width:_t,height:_t,lineHeight:(0,Rt.unit)(Bt(_t).add(ot.paddingSM).equal()),textAlign:"center",flex:"none",[rn]:{fontSize:ot.fontSizeHeading2,color:ot.colorPrimary},img:{display:"block",width:"100%",height:"100%",overflow:"hidden"}}),[`${$t}-progress`]:{bottom:rt,width:`calc(100% - ${(0,Rt.unit)(Bt(ot.paddingSM).mul(2).equal())})`,marginTop:0,paddingInlineStart:Bt(_t).add(ot.paddingXS).equal()}},[`${$t}-error`]:{borderColor:ot.colorError,[`${$t}-thumbnail ${rn}`]:{[`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:rt}}},[`${Ot}${Ot}-picture-circle ${$t}`]:{[`&, &::before, ${$t}-thumbnail`]:{borderRadius:"50%"}}}}},ve=ot=>{const{componentCls:Qt,iconCls:rn,fontSizeLG:_t,colorTextLightSolid:rt,calc:Bt}=ot,Ot=`${Qt}-list`,$t=`${Ot}-item`,On=ot.uploadPicCardSize;return{[`
|
|
|
${Qt}-wrapper${Qt}-picture-card-wrapper,
|
|
|
${Qt}-wrapper${Qt}-picture-circle-wrapper
|
|
|
`]:Object.assign(Object.assign({},(0,ut.dF)()),{display:"block",[`${Qt}${Qt}-select`]:{width:On,height:On,textAlign:"center",verticalAlign:"top",backgroundColor:ot.colorFillAlter,border:`${(0,Rt.unit)(ot.lineWidth)} dashed ${ot.colorBorder}`,borderRadius:ot.borderRadiusLG,cursor:"pointer",transition:`border-color ${ot.motionDurationSlow}`,[`> ${Qt}`]:{display:"flex",alignItems:"center",justifyContent:"center",height:"100%",textAlign:"center"},[`&:not(${Qt}-disabled):hover`]:{borderColor:ot.colorPrimary}},[`${Ot}${Ot}-picture-card, ${Ot}${Ot}-picture-circle`]:{display:"flex",flexWrap:"wrap","@supports not (gap: 1px)":{"& > *":{marginBlockEnd:ot.marginXS,marginInlineEnd:ot.marginXS}},"@supports (gap: 1px)":{gap:ot.marginXS},[`${Ot}-item-container`]:{display:"inline-block",width:On,height:On,verticalAlign:"top"},"&::after":{display:"none"},"&::before":{display:"none"},[$t]:{height:"100%",margin:0,"&::before":{position:"absolute",zIndex:1,width:`calc(100% - ${(0,Rt.unit)(Bt(ot.paddingXS).mul(2).equal())})`,height:`calc(100% - ${(0,Rt.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}`,[`
|
|
|
${rn}-eye,
|
|
|
${rn}-download,
|
|
|
${rn}-delete
|
|
|
`]:{zIndex:10,width:_t,margin:`0 ${(0,Rt.unit)(ot.marginXXS)}`,fontSize:_t,cursor:"pointer",transition:`all ${ot.motionDurationSlow}`,color:rt,"&:hover":{color:rt},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,Rt.unit)(Bt(ot.paddingXS).mul(2).equal())})`},[`${$t}-uploading`]:{[`&${$t}`]:{backgroundColor:ot.colorFillAlter},[`&::before, ${rn}-eye, ${rn}-download, ${rn}-delete`]:{display:"none"}},[`${$t}-progress`]:{bottom:ot.marginXL,width:`calc(100% - ${(0,Rt.unit)(Bt(ot.paddingXS).mul(2).equal())})`,paddingInlineStart:0}}}),[`${Qt}-wrapper${Qt}-picture-circle-wrapper`]:{[`${Qt}${Qt}-select`]:{borderRadius:"50%"}}}};var fe=ot=>{const{componentCls:Qt}=ot;return{[`${Qt}-rtl`]:{direction:"rtl"}}};const Ye=ot=>{const{componentCls:Qt,colorTextDisabled:rn}=ot;return{[`${Qt}-wrapper`]:Object.assign(Object.assign({},(0,ut.Wf)(ot)),{[Qt]:{outline:0,"input[type='file']":{cursor:"pointer"}},[`${Qt}-select`]:{display:"inline-block"},[`${Qt}-hidden`]:{display:"none"},[`${Qt}-disabled`]:{color:rn,cursor:"not-allowed"}})}},vt=ot=>({actionsColor:ot.colorTextDescription});var et=(0,ke.I$)("Upload",ot=>{const{fontSizeHeading3:Qt,fontHeight:rn,lineWidth:_t,controlHeightLG:rt,calc:Bt}=ot,Ot=(0,at.mergeToken)(ot,{uploadThumbnailSize:Bt(Qt).mul(2).equal(),uploadProgressOffset:Bt(Bt(rn).div(2)).add(_t).equal(),uploadPicCardSize:Bt(rt).mul(2.55).equal()});return[Ye(Ot),Nt(Ot),le(Ot),ve(Ot),Xt(Ot),ne(Ot),fe(Ot),(0,xe.Z)(Ot)]},vt),nt={icon:function(Qt,rn){return{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M534 352V136H232v752h560V394H576a42 42 0 01-42-42z",fill:rn}},{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:Qt}}]}},name:"file",theme:"twotone"},mt=nt,yt=E(7657),St=function(Qt,rn){return y.createElement(yt.Z,(0,Fe.Z)({},Qt,{ref:rn,icon:mt}))},Qe=y.forwardRef(St),st=Qe,en=E(58617),Kt={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"},vn=Kt,nn=function(Qt,rn){return y.createElement(yt.Z,(0,Fe.Z)({},Qt,{ref:rn,icon:vn}))},Yt=y.forwardRef(nn),Jt=Yt,cn={icon:function(Qt,rn){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:Qt}},{tag:"path",attrs:{d:"M424.6 765.8l-150.1-178L136 752.1V792h752v-30.4L658.1 489z",fill:rn}},{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:rn}},{tag:"path",attrs:{d:"M276 368a28 28 0 1056 0 28 28 0 10-56 0z",fill:rn}},{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:Qt}}]}},name:"picture",theme:"twotone"},bt=cn,zt=function(Qt,rn){return y.createElement(yt.Z,(0,Fe.Z)({},Qt,{ref:rn,icon:bt}))},un=y.forwardRef(zt),Cn=un,ct=E(77900),Zt=E(2738),wt=E(40192),dn=E(86641),wn=E(22703),Un=E(7939);function er(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 lr(ot,Qt){const rn=(0,Ae.Z)(Qt),_t=rn.findIndex(rt=>{let{uid:Bt}=rt;return Bt===ot.uid});return _t===-1?rn.push(ot):rn[_t]=ot,rn}function Rn(ot,Qt){const rn=ot.uid!==void 0?"uid":"name";return Qt.filter(_t=>_t[rn]===ot[rn])[0]}function Qn(ot,Qt){const rn=ot.uid!==void 0?"uid":"name",_t=Qt.filter(rt=>rt[rn]!==ot[rn]);return _t.length===Qt.length?null:_t}const Vt=function(){const Qt=(arguments.length>0&&arguments[0]!==void 0?arguments[0]:"").split("/"),_t=Qt[Qt.length-1].split(/#|\?/)[0];return(/\.[^./\\]*$/.exec(_t)||[""])[0]},Lt=ot=>ot.indexOf("image/")===0,sn=ot=>{if(ot.type&&!ot.thumbUrl)return Lt(ot.type);const Qt=ot.thumbUrl||ot.url||"",rn=Vt(Qt);return/^data:image\//.test(Qt)||/(webp|svg|png|gif|jpg|jpeg|jfif|bmp|dpg|ico|heic|heif)$/i.test(rn)?!0:!(/^data:/.test(Qt)||rn)},an=200;function tn(ot){return new Promise(Qt=>{if(!ot.type||!Lt(ot.type)){Qt("");return}const rn=document.createElement("canvas");rn.width=an,rn.height=an,rn.style.cssText=`position: fixed; left: 0; top: 0; width: ${an}px; height: ${an}px; z-index: 9999; display: none;`,document.body.appendChild(rn);const _t=rn.getContext("2d"),rt=new Image;if(rt.onload=()=>{const{width:Bt,height:Ot}=rt;let $t=an,On=an,Wn=0,Yn=0;Bt>Ot?(On=Ot*(an/Bt),Yn=-(On-$t)/2):($t=Bt*(an/Ot),Wn=-($t-On)/2),_t.drawImage(rt,Wn,Yn,$t,On);const Mr=rn.toDataURL();document.body.removeChild(rn),window.URL.revokeObjectURL(rt.src),Qt(Mr)},rt.crossOrigin="anonymous",ot.type.startsWith("image/svg+xml")){const Bt=new FileReader;Bt.onload=()=>{Bt.result&&typeof Bt.result=="string"&&(rt.src=Bt.result)},Bt.readAsDataURL(ot)}else if(ot.type.startsWith("image/gif")){const Bt=new FileReader;Bt.onload=()=>{Bt.result&&Qt(Bt.result)},Bt.readAsDataURL(ot)}else rt.src=window.URL.createObjectURL(ot)})}var Bn=E(26227),xn=E(41464),jn=E(15277),nr=E(89787),Gn=E(25399),mr=y.forwardRef((ot,Qt)=>{let{prefixCls:rn,className:_t,style:rt,locale:Bt,listType:Ot,file:$t,items:On,progress:Wn,iconRender:Yn,actionIconRender:Mr,itemRender:Hr,isImgUrl:to,showPreviewIcon:fr,showRemoveIcon:Er,showDownloadIcon:Tr,previewIcon:Yr,removeIcon:ro,downloadIcon:oo,extra:ao,onPreview:Or,onDownload:eo,onClose:Jr}=ot;var Wo,Ko;const{status:rr}=$t,[Ro,ei]=y.useState(rr);y.useEffect(()=>{rr!=="removed"&&ei(rr)},[rr]);const[yo,Zo]=y.useState(!1);y.useEffect(()=>{const Kn=setTimeout(()=>{Zo(!0)},300);return()=>{clearTimeout(Kn)}},[]);const vo=Yn($t);let ui=y.createElement("div",{className:`${rn}-icon`},vo);if(Ot==="picture"||Ot==="picture-card"||Ot==="picture-circle")if(Ro==="uploading"||!$t.thumbUrl&&!$t.url){const Kn=Ce()(`${rn}-list-item-thumbnail`,{[`${rn}-list-item-file`]:Ro!=="uploading"});ui=y.createElement("div",{className:Kn},vo)}else{const Kn=to!=null&&to($t)?y.createElement("img",{src:$t.thumbUrl||$t.url,alt:$t.name,className:`${rn}-list-item-image`,crossOrigin:$t.crossOrigin}):vo,tr=Ce()(`${rn}-list-item-thumbnail`,{[`${rn}-list-item-file`]:to&&!to($t)});ui=y.createElement("a",{className:tr,onClick:kr=>Or($t,kr),href:$t.url||$t.thumbUrl,target:"_blank",rel:"noopener noreferrer"},Kn)}const yi=Ce()(`${rn}-list-item`,`${rn}-list-item-${Ro}`),Jo=typeof $t.linkProps=="string"?JSON.parse($t.linkProps):$t.linkProps,pi=(typeof Er=="function"?Er($t):Er)?Mr((typeof ro=="function"?ro($t):ro)||y.createElement(Bn.Z,null),()=>Jr($t),rn,Bt.removeFile,!0):null,ki=(typeof Tr=="function"?Tr($t):Tr)&&Ro==="done"?Mr((typeof oo=="function"?oo($t):oo)||y.createElement(xn.Z,null),()=>eo($t),rn,Bt.downloadFile):null,Ci=Ot!=="picture-card"&&Ot!=="picture-circle"&&y.createElement("span",{key:"download-delete",className:Ce()(`${rn}-list-item-actions`,{picture:Ot==="picture"})},ki,pi),Oi=typeof ao=="function"?ao($t):ao,No=Oi&&y.createElement("span",{className:`${rn}-list-item-extra`},Oi),Je=Ce()(`${rn}-list-item-name`),hn=$t.url?y.createElement("a",Object.assign({key:"view",target:"_blank",rel:"noopener noreferrer",className:Je,title:$t.name},Jo,{href:$t.url,onClick:Kn=>Or($t,Kn)}),$t.name,No):y.createElement("span",{key:"view",className:Je,onClick:Kn=>Or($t,Kn),title:$t.name},$t.name,No),Mt=(typeof fr=="function"?fr($t):fr)&&($t.url||$t.thumbUrl)?y.createElement("a",{href:$t.url||$t.thumbUrl,target:"_blank",rel:"noopener noreferrer",onClick:Kn=>Or($t,Kn),title:Bt.previewFile},typeof Yr=="function"?Yr($t):Yr||y.createElement(jn.Z,null)):null,bn=(Ot==="picture-card"||Ot==="picture-circle")&&Ro!=="uploading"&&y.createElement("span",{className:`${rn}-list-item-actions`},Mt,Ro==="done"&&ki,pi),{getPrefixCls:Jn}=y.useContext(Ke.E_),Zn=Jn(),kn=y.createElement("div",{className:yi},ui,hn,Ci,bn,yo&&y.createElement(ct.default,{motionName:`${Zn}-fade`,visible:Ro==="uploading",motionDeadline:2e3},Kn=>{let{className:tr}=Kn;const kr="percent"in $t?y.createElement(nr.Z,Object.assign({},Wn,{type:"line",percent:$t.percent,"aria-label":$t["aria-label"],"aria-labelledby":$t["aria-labelledby"]})):null;return y.createElement("div",{className:Ce()(`${rn}-list-item-progress`,tr)},kr)})),yr=$t.response&&typeof $t.response=="string"?$t.response:((Wo=$t.error)===null||Wo===void 0?void 0:Wo.statusText)||((Ko=$t.error)===null||Ko===void 0?void 0:Ko.message)||Bt.uploadError,zn=Ro==="error"?y.createElement(Gn.Z,{title:yr,getPopupContainer:Kn=>Kn.parentNode},kn):kn;return y.createElement("div",{className:Ce()(`${rn}-list-item-container`,_t),style:rt,ref:Qt},Hr?Hr(zn,$t,On,{download:eo.bind(null,$t),preview:Or.bind(null,$t),remove:Jr.bind(null,$t)}):zn)});const ir=(ot,Qt)=>{const{listType:rn="text",previewFile:_t=tn,onPreview:rt,onDownload:Bt,onRemove:Ot,locale:$t,iconRender:On,isImageUrl:Wn=sn,prefixCls:Yn,items:Mr=[],showPreviewIcon:Hr=!0,showRemoveIcon:to=!0,showDownloadIcon:fr=!1,removeIcon:Er,previewIcon:Tr,downloadIcon:Yr,extra:ro,progress:oo={size:[-1,2],showInfo:!1},appendAction:ao,appendActionVisible:Or=!0,itemRender:eo,disabled:Jr}=ot,Wo=(0,wt.Z)(),[Ko,rr]=y.useState(!1),Ro=["picture-card","picture-circle"].includes(rn);y.useEffect(()=>{rn.startsWith("picture")&&(Mr||[]).forEach(No=>{!(No.originFileObj instanceof File||No.originFileObj instanceof Blob)||No.thumbUrl!==void 0||(No.thumbUrl="",_t==null||_t(No.originFileObj).then(Je=>{No.thumbUrl=Je||"",Wo()}))})},[rn,Mr,_t]),y.useEffect(()=>{rr(!0)},[]);const ei=(No,Je)=>{if(rt)return Je==null||Je.preventDefault(),rt(No)},yo=No=>{typeof Bt=="function"?Bt(No):No.url&&window.open(No.url)},Zo=No=>{Ot==null||Ot(No)},vo=No=>{if(On)return On(No,rn);const Je=No.status==="uploading";if(rn.startsWith("picture")){const hn=rn==="picture"?y.createElement(en.Z,null):$t.uploading,Mt=Wn!=null&&Wn(No)?y.createElement(Cn,null):y.createElement(st,null);return Je?hn:Mt}return Je?y.createElement(en.Z,null):y.createElement(Jt,null)},ui=(No,Je,hn,Mt,bn)=>{const Jn={type:"text",size:"small",title:Mt,onClick:Zn=>{var kn,yr;Je(),y.isValidElement(No)&&((yr=(kn=No.props).onClick)===null||yr===void 0||yr.call(kn,Zn))},className:`${hn}-list-item-action`};return bn&&(Jn.disabled=Jr),y.isValidElement(No)?y.createElement(Un.ZP,Object.assign({},Jn,{icon:(0,wn.Tm)(No,Object.assign(Object.assign({},No.props),{onClick:()=>{}}))})):y.createElement(Un.ZP,Object.assign({},Jn),y.createElement("span",null,No))};y.useImperativeHandle(Qt,()=>({handlePreview:ei,handleDownload:yo}));const{getPrefixCls:yi}=y.useContext(Ke.E_),Jo=yi("upload",Yn),pi=yi(),ki=Ce()(`${Jo}-list`,`${Jo}-list-${rn}`),Ci=y.useMemo(()=>(0,Zt.Z)((0,dn.Z)(pi),["onAppearEnd","onEnterEnd","onLeaveEnd"]),[pi]),Oi=Object.assign(Object.assign({},Ro?{}:Ci),{motionDeadline:2e3,motionName:`${Jo}-${Ro?"animate-inline":"animate"}`,keys:(0,Ae.Z)(Mr.map(No=>({key:No.uid,file:No}))),motionAppear:Ko});return y.createElement("div",{className:ki},y.createElement(ct.CSSMotionList,Object.assign({},Oi,{component:!1}),No=>{let{key:Je,file:hn,className:Mt,style:bn}=No;return y.createElement(mr,{key:Je,locale:$t,prefixCls:Jo,className:Mt,style:bn,file:hn,items:Mr,progress:oo,listType:rn,isImgUrl:Wn,showPreviewIcon:Hr,showRemoveIcon:to,showDownloadIcon:fr,removeIcon:Er,previewIcon:Tr,downloadIcon:Yr,extra:ro,iconRender:vo,actionIconRender:ui,itemRender:eo,onPreview:ei,onDownload:yo,onClose:Zo})}),ao&&y.createElement(ct.default,Object.assign({},Oi,{visible:Or,forceRender:!0}),No=>{let{className:Je,style:hn}=No;return(0,wn.Tm)(ao,Mt=>({className:Ce()(Mt.className,Je),style:Object.assign(Object.assign(Object.assign({},hn),{pointerEvents:Je?"none":void 0}),Mt.style)}))}))};var Nr=y.forwardRef(ir),Fn=function(ot,Qt,rn,_t){function rt(Bt){return Bt instanceof rn?Bt:new rn(function(Ot){Ot(Bt)})}return new(rn||(rn=Promise))(function(Bt,Ot){function $t(Yn){try{Wn(_t.next(Yn))}catch(Mr){Ot(Mr)}}function On(Yn){try{Wn(_t.throw(Yn))}catch(Mr){Ot(Mr)}}function Wn(Yn){Yn.done?Bt(Yn.value):rt(Yn.value).then($t,On)}Wn((_t=_t.apply(ot,Qt||[])).next())})};const Nn=`__LIST_IGNORE_${Date.now()}__`,cr=(ot,Qt)=>{const{fileList:rn,defaultFileList:_t,onRemove:rt,showUploadList:Bt=!0,listType:Ot="text",onPreview:$t,onDownload:On,onChange:Wn,onDrop:Yn,previewFile:Mr,disabled:Hr,locale:to,iconRender:fr,isImageUrl:Er,progress:Tr,prefixCls:Yr,className:ro,type:oo="select",children:ao,style:Or,itemRender:eo,maxCount:Jr,data:Wo={},multiple:Ko=!1,hasControlInside:rr=!0,action:Ro="",accept:ei="",supportServerRender:yo=!0,rootClassName:Zo}=ot,vo=y.useContext(Se.Z),ui=Hr!=null?Hr:vo,[yi,Jo]=(0,Tt.Z)(_t||[],{value:rn,postState:Uo=>Uo!=null?Uo:[]}),[pi,ki]=y.useState("drop"),Ci=y.useRef(null),Oi=y.useRef(null);y.useMemo(()=>{const Uo=Date.now();(rn||[]).forEach((Ho,Ii)=>{!Ho.uid&&!Object.isFrozen(Ho)&&(Ho.uid=`__AUTO__${Uo}_${Ii}__`)})},[rn]);const No=(Uo,Ho,Ii)=>{let bi=(0,Ae.Z)(Ho),hi=!1;Jr===1?bi=bi.slice(-1):Jr&&(hi=bi.length>Jr,bi=bi.slice(0,Jr)),(0,pe.flushSync)(()=>{Jo(bi)});const Xo={file:Uo,fileList:bi};Ii&&(Xo.event=Ii),(!hi||Uo.status==="removed"||bi.some(Ia=>Ia.uid===Uo.uid))&&(0,pe.flushSync)(()=>{Wn==null||Wn(Xo)})},Je=(Uo,Ho)=>Fn(void 0,void 0,void 0,function*(){const{beforeUpload:Ii,transformFile:bi}=ot;let hi=Uo;if(Ii){const Xo=yield Ii(Uo,Ho);if(Xo===!1)return!1;if(delete Uo[Nn],Xo===Nn)return Object.defineProperty(Uo,Nn,{value:!0,configurable:!0}),!1;typeof Xo=="object"&&Xo&&(hi=Xo)}return bi&&(hi=yield bi(hi)),hi}),hn=Uo=>{const Ho=Uo.filter(hi=>!hi.file[Nn]);if(!Ho.length)return;const Ii=Ho.map(hi=>er(hi.file));let bi=(0,Ae.Z)(yi);Ii.forEach(hi=>{bi=lr(hi,bi)}),Ii.forEach((hi,Xo)=>{let Ia=hi;if(Ho[Xo].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,Ia=Aa}No(Ia,bi)})},Mt=(Uo,Ho,Ii)=>{try{typeof Uo=="string"&&(Uo=JSON.parse(Uo))}catch(Xo){}if(!Rn(Ho,yi))return;const bi=er(Ho);bi.status="done",bi.percent=100,bi.response=Uo,bi.xhr=Ii;const hi=lr(bi,yi);No(bi,hi)},bn=(Uo,Ho)=>{if(!Rn(Ho,yi))return;const Ii=er(Ho);Ii.status="uploading",Ii.percent=Uo.percent;const bi=lr(Ii,yi);No(Ii,bi,Uo)},Jn=(Uo,Ho,Ii)=>{if(!Rn(Ii,yi))return;const bi=er(Ii);bi.error=Uo,bi.response=Ho,bi.status="error";const hi=lr(bi,yi);No(bi,hi)},Zn=Uo=>{let Ho;Promise.resolve(typeof rt=="function"?rt(Uo):rt).then(Ii=>{var bi;if(Ii===!1)return;const hi=Qn(Uo,yi);hi&&(Ho=Object.assign(Object.assign({},Uo),{status:"removed"}),yi==null||yi.forEach(Xo=>{const Ia=Ho.uid!==void 0?"uid":"name";Xo[Ia]===Ho[Ia]&&!Object.isFrozen(Xo)&&(Xo.status="removed")}),(bi=Ci.current)===null||bi===void 0||bi.abort(Ho),No(Ho,hi))})},kn=Uo=>{ki(Uo.type),Uo.type==="drop"&&(Yn==null||Yn(Uo))};y.useImperativeHandle(Qt,()=>({onBatchStart:hn,onSuccess:Mt,onProgress:bn,onError:Jn,fileList:yi,upload:Ci.current,nativeElement:Oi.current}));const{getPrefixCls:yr,direction:zn,upload:Kn}=y.useContext(Ke.E_),tr=yr("upload",Yr),kr=Object.assign(Object.assign({onBatchStart:hn,onError:Jn,onProgress:bn,onSuccess:Mt},ot),{data:Wo,multiple:Ko,action:Ro,accept:ei,supportServerRender:yo,prefixCls:tr,disabled:ui,beforeUpload:Je,onChange:void 0,hasControlInside:rr});delete kr.className,delete kr.style,(!ao||ui)&&delete kr.id;const wo=`${tr}-wrapper`,[ci,ii,oi]=et(tr,wo),[vi]=(0,Ft.Z)("Upload",It.Z.Upload),{showRemoveIcon:mi,showPreviewIcon:Li,showDownloadIcon:Bi,removeIcon:Ti,previewIcon:Vi,downloadIcon:sa,extra:fa}=typeof Bt=="boolean"?{}:Bt,wa=typeof mi=="undefined"?!ui:mi,ha=(Uo,Ho)=>Bt?y.createElement(Nr,{prefixCls:tr,listType:Ot,items:yi,previewFile:Mr,onPreview:$t,onDownload:On,onRemove:Zn,showRemoveIcon:wa,showPreviewIcon:Li,showDownloadIcon:Bi,removeIcon:Ti,previewIcon:Vi,downloadIcon:sa,iconRender:fr,extra:fa,locale:Object.assign(Object.assign({},vi),to),isImageUrl:Er,progress:Tr,appendAction:Uo,appendActionVisible:Ho,itemRender:eo,disabled:ui}):Uo,Ao=Ce()(wo,ro,Zo,ii,oi,Kn==null?void 0:Kn.className,{[`${tr}-rtl`]:zn==="rtl",[`${tr}-picture-card-wrapper`]:Ot==="picture-card",[`${tr}-picture-circle-wrapper`]:Ot==="picture-circle"}),Do=Object.assign(Object.assign({},Kn==null?void 0:Kn.style),Or);if(oo==="drag"){const Uo=Ce()(ii,tr,`${tr}-drag`,{[`${tr}-drag-uploading`]:yi.some(Ho=>Ho.status==="uploading"),[`${tr}-drag-hover`]:pi==="dragover",[`${tr}-disabled`]:ui,[`${tr}-rtl`]:zn==="rtl"});return ci(y.createElement("span",{className:Ao,ref:Oi},y.createElement("div",{className:Uo,style:Do,onDrop:kn,onDragOver:kn,onDragLeave:kn},y.createElement(lt,Object.assign({},kr,{ref:Ci,className:`${tr}-btn`}),y.createElement("div",{className:`${tr}-drag-container`},ao))),ha()))}const Co=Ce()(tr,`${tr}-select`,{[`${tr}-disabled`]:ui,[`${tr}-hidden`]:!ao}),$i=y.createElement("div",{className:Co},y.createElement(lt,Object.assign({},kr,{ref:Ci})));return ci(Ot==="picture-card"||Ot==="picture-circle"?y.createElement("span",{className:Ao,ref:Oi},ha($i,!!ao)):y.createElement("span",{className:Ao,ref:Oi},$i,ha()))};var kt=y.forwardRef(cr),qt=function(ot,Qt){var rn={};for(var _t in ot)Object.prototype.hasOwnProperty.call(ot,_t)&&Qt.indexOf(_t)<0&&(rn[_t]=ot[_t]);if(ot!=null&&typeof Object.getOwnPropertySymbols=="function")for(var rt=0,_t=Object.getOwnPropertySymbols(ot);rt<_t.length;rt++)Qt.indexOf(_t[rt])<0&&Object.prototype.propertyIsEnumerable.call(ot,_t[rt])&&(rn[_t[rt]]=ot[_t[rt]]);return rn},Ht=y.forwardRef((ot,Qt)=>{var{style:rn,height:_t,hasControlInside:rt=!1}=ot,Bt=qt(ot,["style","height","hasControlInside"]);return y.createElement(kt,Object.assign({ref:Qt,hasControlInside:rt},Bt,{type:"drag",style:Object.assign(Object.assign({},rn),{height:_t})}))});const Et=kt;Et.Dragger=Ht,Et.LIST_IGNORE=Nn;var Ut=Et},14625:function(mn){function Ct(y){var Ae,pe,ze="";if(typeof y=="string"||typeof y=="number")ze+=y;else if(typeof y=="object")if(Array.isArray(y)){var Ce=y.length;for(Ae=0;Ae<Ce;Ae++)y[Ae]&&(pe=Ct(y[Ae]))&&(ze&&(ze+=" "),ze+=pe)}else for(pe in y)y[pe]&&(ze&&(ze+=" "),ze+=pe);return ze}function E(){for(var y,Ae,pe=0,ze="",Ce=arguments.length;pe<Ce;pe++)(y=arguments[pe])&&(Ae=Ct(y))&&(ze&&(ze+=" "),ze+=Ae);return ze}mn.exports=E,mn.exports.clsx=E},99498:function(mn,Ct,E){(function(y){y(E(89780))})(function(y){y.defineOption("placeholder","",function(je,De,se){var Ue=se&&se!=y.Init;if(De&&!Ue)je.on("blur",Ce),je.on("change",Fe),je.on("swapDoc",Fe),y.on(je.getInputField(),"compositionupdate",je.state.placeholderCompose=function(){ze(je)}),Fe(je);else if(!De&&Ue){je.off("blur",Ce),je.off("change",Fe),je.off("swapDoc",Fe),y.off(je.getInputField(),"compositionupdate",je.state.placeholderCompose),Ae(je);var me=je.getWrapperElement();me.className=me.className.replace(" CodeMirror-empty","")}De&&!je.hasFocus()&&Ce(je)});function Ae(je){je.state.placeholder&&(je.state.placeholder.parentNode.removeChild(je.state.placeholder),je.state.placeholder=null)}function pe(je){Ae(je);var De=je.state.placeholder=document.createElement("pre");De.style.cssText="height: 0; overflow: visible",De.style.direction=je.getOption("direction"),De.className="CodeMirror-placeholder CodeMirror-line-like";var se=je.getOption("placeholder");typeof se=="string"&&(se=document.createTextNode(se)),De.appendChild(se),je.display.lineSpace.insertBefore(De,je.display.lineSpace.firstChild)}function ze(je){setTimeout(function(){var De=!1,se=je.getInputField();se.nodeName=="TEXTAREA"?De=!se.value:je.lineCount()==1&&(De=!/[^\u200b]/.test(se.querySelector(".CodeMirror-line").textContent)),De?pe(je):Ae(je)},20)}function Ce(je){ge(je)&&pe(je)}function Fe(je){var De=je.getWrapperElement(),se=ge(je);De.className=De.className.replace(" CodeMirror-empty","")+(se?" CodeMirror-empty":""),se?pe(je):Ae(je)}function ge(je){return je.lineCount()===1&&je.getLine(0)===""}})},25717:function(mn,Ct,E){(function(y){y(E(89780))})(function(y){var Ae={pairs:`()[]{}''""`,closeBefore:`)]}'":;>`,triples:"",explode:"[]{}"},pe=y.Pos;y.defineOption("autoCloseBrackets",!1,function(be,he,ce){ce&&ce!=y.Init&&(be.removeKeyMap(Ce),be.state.closeBrackets=null),he&&(Fe(ze(he,"pairs")),be.state.closeBrackets=he,be.addKeyMap(Ce))});function ze(be,he){return he=="pairs"&&typeof be=="string"?be:typeof be=="object"&&be[he]!=null?be[he]:Ae[he]}var Ce={Backspace:De,Enter:se};function Fe(be){for(var he=0;he<be.length;he++){var ce=be.charAt(he),Ie="'"+ce+"'";Ce[Ie]||(Ce[Ie]=ge(ce))}}Fe(Ae.pairs+"`");function ge(be){return function(he){return me(he,be)}}function je(be){var he=be.state.closeBrackets;if(!he||he.override)return he;var ce=be.getModeAt(be.getCursor());return ce.closeBrackets||he}function De(be){var he=je(be);if(!he||be.getOption("disableInput"))return y.Pass;for(var ce=ze(he,"pairs"),Ie=be.listSelections(),Ze=0;Ze<Ie.length;Ze++){if(!Ie[Ze].empty())return y.Pass;var $e=Ne(be,Ie[Ze].head);if(!$e||ce.indexOf($e)%2!=0)return y.Pass}for(var Ze=Ie.length-1;Ze>=0;Ze--){var oe=Ie[Ze].head;be.replaceRange("",pe(oe.line,oe.ch-1),pe(oe.line,oe.ch+1),"+delete")}}function se(be){var he=je(be),ce=he&&ze(he,"explode");if(!ce||be.getOption("disableInput"))return y.Pass;for(var Ie=be.listSelections(),Ze=0;Ze<Ie.length;Ze++){if(!Ie[Ze].empty())return y.Pass;var $e=Ne(be,Ie[Ze].head);if(!$e||ce.indexOf($e)%2!=0)return y.Pass}be.operation(function(){var oe=be.lineSeparator()||`
|
|
|
`;be.replaceSelection(oe+oe,null),be.execCommand("goCharLeft"),Ie=be.listSelections();for(var Be=0;Be<Ie.length;Be++){var tt=Ie[Be].head.line;be.indentLine(tt,null,!0),be.indentLine(tt+1,null,!0)}})}function Ue(be){var he=y.cmpPos(be.anchor,be.head)>0;return{anchor:new pe(be.anchor.line,be.anchor.ch+(he?-1:1)),head:new pe(be.head.line,be.head.ch+(he?1:-1))}}function me(be,he){var ce=je(be);if(!ce||be.getOption("disableInput"))return y.Pass;var Ie=ze(ce,"pairs"),Ze=Ie.indexOf(he);if(Ze==-1)return y.Pass;for(var $e=ze(ce,"closeBefore"),oe=ze(ce,"triples"),Be=Ie.charAt(Ze+1)==he,tt=be.listSelections(),Re=Ze%2==0,_e,ye=0;ye<tt.length;ye++){var Le=tt[ye],Ve=Le.head,Pe,it=be.getRange(Ve,pe(Ve.line,Ve.ch+1));if(Re&&!Le.empty())Pe="surround";else if((Be||!Re)&&it==he)Be&&we(be,Ve)?Pe="both":oe.indexOf(he)>=0&&be.getRange(Ve,pe(Ve.line,Ve.ch+3))==he+he+he?Pe="skipThree":Pe="skip";else if(Be&&Ve.ch>1&&oe.indexOf(he)>=0&&be.getRange(pe(Ve.line,Ve.ch-2),Ve)==he+he){if(Ve.ch>2&&/\bstring/.test(be.getTokenTypeAt(pe(Ve.line,Ve.ch-2))))return y.Pass;Pe="addFour"}else if(Be){var Oe=Ve.ch==0?" ":be.getRange(pe(Ve.line,Ve.ch-1),Ve);if(!y.isWordChar(it)&&Oe!=he&&!y.isWordChar(Oe))Pe="both";else return y.Pass}else if(Re&&(it.length===0||/\s/.test(it)||$e.indexOf(it)>-1))Pe="both";else return y.Pass;if(!_e)_e=Pe;else if(_e!=Pe)return y.Pass}var ue=Ze%2?Ie.charAt(Ze-1):he,Xe=Ze%2?he:Ie.charAt(Ze+1);be.operation(function(){if(_e=="skip")be.execCommand("goCharRight");else if(_e=="skipThree")for(var Ge=0;Ge<3;Ge++)be.execCommand("goCharRight");else if(_e=="surround"){for(var lt=be.getSelections(),Ge=0;Ge<lt.length;Ge++)lt[Ge]=ue+lt[Ge]+Xe;be.replaceSelections(lt,"around"),lt=be.listSelections().slice();for(var Ge=0;Ge<lt.length;Ge++)lt[Ge]=Ue(lt[Ge]);be.setSelections(lt)}else _e=="both"?(be.replaceSelection(ue+Xe,null),be.triggerElectric(ue+Xe),be.execCommand("goCharLeft")):_e=="addFour"&&(be.replaceSelection(ue+ue+ue+ue,"before"),be.execCommand("goCharRight"))})}function Ne(be,he){var ce=be.getRange(pe(he.line,he.ch-1),pe(he.line,he.ch+1));return ce.length==2?ce:null}function we(be,he){var ce=be.getTokenAt(pe(he.line,he.ch+1));return/\bstring/.test(ce.type)&&ce.start==he.ch&&(he.ch==0||!/\bstring/.test(be.getTokenTypeAt(he)))}})},6313:function(mn,Ct,E){(function(y){y(E(89780),E(32855))})(function(y){y.defineOption("autoCloseTags",!1,function(De,se,Ue){if(Ue!=y.Init&&Ue&&De.removeKeyMap("autoCloseTags"),!!se){var me={name:"autoCloseTags"};(typeof se!="object"||se.whenClosing!==!1)&&(me["'/'"]=function(Ne){return Fe(Ne)}),(typeof se!="object"||se.whenOpening!==!1)&&(me["'>'"]=function(Ne){return ze(Ne)}),De.addKeyMap(me)}});var Ae=["area","base","br","col","command","embed","hr","img","input","keygen","link","meta","param","source","track","wbr"],pe=["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 ze(De){if(De.getOption("disableInput"))return y.Pass;for(var se=De.listSelections(),Ue=[],me=De.getOption("autoCloseTags"),Ne=0;Ne<se.length;Ne++){if(!se[Ne].empty())return y.Pass;var we=se[Ne].head,be=De.getTokenAt(we),he=y.innerMode(De.getMode(),be.state),ce=he.state,Ie=he.mode.xmlCurrentTag&&he.mode.xmlCurrentTag(ce),Ze=Ie&&Ie.name;if(!Ze)return y.Pass;var $e=he.mode.configuration=="html",oe=typeof me=="object"&&me.dontCloseTags||$e&&Ae,Be=typeof me=="object"&&me.indentTags||$e&&pe;be.end>we.ch&&(Ze=Ze.slice(0,Ze.length-be.end+we.ch));var tt=Ze.toLowerCase();if(!Ze||be.type=="string"&&(be.end!=we.ch||!/[\"\']/.test(be.string.charAt(be.string.length-1))||be.string.length==1)||be.type=="tag"&&Ie.close||be.string.indexOf("/")==we.ch-be.start-1||oe&&ge(oe,tt)>-1||je(De,he.mode.xmlCurrentContext&&he.mode.xmlCurrentContext(ce)||[],Ze,we,!0))return y.Pass;var Re=typeof me=="object"&&me.emptyTags;if(Re&&ge(Re,Ze)>-1){Ue[Ne]={text:"/>",newPos:y.Pos(we.line,we.ch+2)};continue}var _e=Be&&ge(Be,tt)>-1;Ue[Ne]={indent:_e,text:">"+(_e?`
|
|
|
|
|
|
`:"")+"</"+Ze+">",newPos:_e?y.Pos(we.line+1,0):y.Pos(we.line,we.ch+1)}}for(var ye=typeof me=="object"&&me.dontIndentOnAutoClose,Ne=se.length-1;Ne>=0;Ne--){var Le=Ue[Ne];De.replaceRange(Le.text,se[Ne].head,se[Ne].anchor,"+insert");var Ve=De.listSelections().slice(0);Ve[Ne]={head:Le.newPos,anchor:Le.newPos},De.setSelections(Ve),!ye&&Le.indent&&(De.indentLine(Le.newPos.line,null,!0),De.indentLine(Le.newPos.line+1,null,!0))}}function Ce(De,se){for(var Ue=De.listSelections(),me=[],Ne=se?"/":"</",we=De.getOption("autoCloseTags"),be=typeof we=="object"&&we.dontIndentOnSlash,he=0;he<Ue.length;he++){if(!Ue[he].empty())return y.Pass;var ce=Ue[he].head,Ie=De.getTokenAt(ce),Ze=y.innerMode(De.getMode(),Ie.state),$e=Ze.state;if(se&&(Ie.type=="string"||Ie.string.charAt(0)!="<"||Ie.start!=ce.ch-1))return y.Pass;var oe,Be=Ze.mode.name!="xml"&&De.getMode().name=="htmlmixed";if(Be&&Ze.mode.name=="javascript")oe=Ne+"script";else if(Be&&Ze.mode.name=="css")oe=Ne+"style";else{var tt=Ze.mode.xmlCurrentContext&&Ze.mode.xmlCurrentContext($e);if(!tt||tt.length&&je(De,tt,tt[tt.length-1],ce))return y.Pass;oe=Ne+tt[tt.length-1]}De.getLine(ce.line).charAt(Ie.end)!=">"&&(oe+=">"),me[he]=oe}if(De.replaceSelections(me),Ue=De.listSelections(),!be)for(var he=0;he<Ue.length;he++)(he==Ue.length-1||Ue[he].head.line<Ue[he+1].head.line)&&De.indentLine(Ue[he].head.line)}function Fe(De){return De.getOption("disableInput")?y.Pass:Ce(De,!0)}y.commands.closeTag=function(De){return Ce(De)};function ge(De,se){if(De.indexOf)return De.indexOf(se);for(var Ue=0,me=De.length;Ue<me;++Ue)if(De[Ue]==se)return Ue;return-1}function je(De,se,Ue,me,Ne){if(!y.scanForClosingTag)return!1;var we=Math.min(De.lastLine()+1,me.line+500),be=y.scanForClosingTag(De,me,null,we);if(!be||be.tag!=Ue)return!1;for(var he=Ne?1:0,ce=se.length-1;ce>=0&&se[ce]==Ue;ce--)++he;me=be.to;for(var ce=1;ce<he;ce++){var Ie=y.scanForClosingTag(De,me,null,we);if(!Ie||Ie.tag!=Ue)return!1;me=Ie.to}return!0}})},32855:function(mn,Ct,E){(function(y){y(E(89780))})(function(y){"use strict";var Ae=y.Pos;function pe(ce,Ie){return ce.line-Ie.line||ce.ch-Ie.ch}var ze="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",Ce=ze+"-:.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040",Fe=new RegExp("<(/?)(["+ze+"]["+Ce+"]*)","g");function ge(ce,Ie,Ze,$e){this.line=Ie,this.ch=Ze,this.cm=ce,this.text=ce.getLine(Ie),this.min=$e?Math.max($e.from,ce.firstLine()):ce.firstLine(),this.max=$e?Math.min($e.to-1,ce.lastLine()):ce.lastLine()}function je(ce,Ie){var Ze=ce.cm.getTokenTypeAt(Ae(ce.line,Ie));return Ze&&/\btag\b/.test(Ze)}function De(ce){if(!(ce.line>=ce.max))return ce.ch=0,ce.text=ce.cm.getLine(++ce.line),!0}function se(ce){if(!(ce.line<=ce.min))return ce.text=ce.cm.getLine(--ce.line),ce.ch=ce.text.length,!0}function Ue(ce){for(;;){var Ie=ce.text.indexOf(">",ce.ch);if(Ie==-1){if(De(ce))continue;return}if(!je(ce,Ie+1)){ce.ch=Ie+1;continue}var Ze=ce.text.lastIndexOf("/",Ie),$e=Ze>-1&&!/\S/.test(ce.text.slice(Ze+1,Ie));return ce.ch=Ie+1,$e?"selfClose":"regular"}}function me(ce){for(;;){var Ie=ce.ch?ce.text.lastIndexOf("<",ce.ch-1):-1;if(Ie==-1){if(se(ce))continue;return}if(!je(ce,Ie+1)){ce.ch=Ie;continue}Fe.lastIndex=Ie,ce.ch=Ie;var Ze=Fe.exec(ce.text);if(Ze&&Ze.index==Ie)return Ze}}function Ne(ce){for(;;){Fe.lastIndex=ce.ch;var Ie=Fe.exec(ce.text);if(!Ie){if(De(ce))continue;return}if(!je(ce,Ie.index+1)){ce.ch=Ie.index+1;continue}return ce.ch=Ie.index+Ie[0].length,Ie}}function we(ce){for(;;){var Ie=ce.ch?ce.text.lastIndexOf(">",ce.ch-1):-1;if(Ie==-1){if(se(ce))continue;return}if(!je(ce,Ie+1)){ce.ch=Ie;continue}var Ze=ce.text.lastIndexOf("/",Ie),$e=Ze>-1&&!/\S/.test(ce.text.slice(Ze+1,Ie));return ce.ch=Ie+1,$e?"selfClose":"regular"}}function be(ce,Ie){for(var Ze=[];;){var $e=Ne(ce),oe,Be=ce.line,tt=ce.ch-($e?$e[0].length:0);if(!$e||!(oe=Ue(ce)))return;if(oe!="selfClose")if($e[1]){for(var Re=Ze.length-1;Re>=0;--Re)if(Ze[Re]==$e[2]){Ze.length=Re;break}if(Re<0&&(!Ie||Ie==$e[2]))return{tag:$e[2],from:Ae(Be,tt),to:Ae(ce.line,ce.ch)}}else Ze.push($e[2])}}function he(ce,Ie){for(var Ze=[];;){var $e=we(ce);if(!$e)return;if($e=="selfClose"){me(ce);continue}var oe=ce.line,Be=ce.ch,tt=me(ce);if(!tt)return;if(tt[1])Ze.push(tt[2]);else{for(var Re=Ze.length-1;Re>=0;--Re)if(Ze[Re]==tt[2]){Ze.length=Re;break}if(Re<0&&(!Ie||Ie==tt[2]))return{tag:tt[2],from:Ae(ce.line,ce.ch),to:Ae(oe,Be)}}}}y.registerHelper("fold","xml",function(ce,Ie){for(var Ze=new ge(ce,Ie.line,0);;){var $e=Ne(Ze);if(!$e||Ze.line!=Ie.line)return;var oe=Ue(Ze);if(!oe)return;if(!$e[1]&&oe!="selfClose"){var Be=Ae(Ze.line,Ze.ch),tt=be(Ze,$e[2]);return tt&&pe(tt.from,Be)>0?{from:Be,to:tt.from}:null}}}),y.findMatchingTag=function(ce,Ie,Ze){var $e=new ge(ce,Ie.line,Ie.ch,Ze);if(!($e.text.indexOf(">")==-1&&$e.text.indexOf("<")==-1)){var oe=Ue($e),Be=oe&&Ae($e.line,$e.ch),tt=oe&&me($e);if(!(!oe||!tt||pe($e,Ie)>0)){var Re={from:Ae($e.line,$e.ch),to:Be,tag:tt[2]};return oe=="selfClose"?{open:Re,close:null,at:"open"}:tt[1]?{open:he($e,tt[2]),close:Re,at:"close"}:($e=new ge(ce,Be.line,Be.ch,Ze),{open:Re,close:be($e,tt[2]),at:"open"})}}},y.findEnclosingTag=function(ce,Ie,Ze,$e){for(var oe=new ge(ce,Ie.line,Ie.ch,Ze);;){var Be=he(oe,$e);if(!Be)break;var tt=new ge(ce,Ie.line,Ie.ch,Ze),Re=be(tt,Be.tag);if(Re)return{open:Be,close:Re}}},y.scanForClosingTag=function(ce,Ie,Ze,$e){var oe=new ge(ce,Ie.line,Ie.ch,$e?{from:0,to:$e}:null);return be(oe,Ze)}})},89780:function(mn){(function(Ct,E){mn.exports=E()})(this,function(){"use strict";var Ct=navigator.userAgent,E=navigator.platform,y=/gecko\/\d/i.test(Ct),Ae=/MSIE \d/.test(Ct),pe=/Trident\/(?:[7-9]|\d{2,})\..*rv:(\d+)/.exec(Ct),ze=/Edge\/(\d+)/.exec(Ct),Ce=Ae||pe||ze,Fe=Ce&&(Ae?document.documentMode||6:+(ze||pe)[1]),ge=!ze&&/WebKit\//.test(Ct),je=ge&&/Qt\/\d+\.\d+/.test(Ct),De=!ze&&/Chrome\//.test(Ct),se=/Opera\//.test(Ct),Ue=/Apple Computer/.test(navigator.vendor),me=/Mac OS X 1\d\D([8-9]|\d\d)\D/.test(Ct),Ne=/PhantomJS/.test(Ct),we=!ze&&/AppleWebKit/.test(Ct)&&/Mobile\/\w+/.test(Ct),be=/Android/.test(Ct),he=we||be||/webOS|BlackBerry|Opera Mini|Opera Mobi|IEMobile/i.test(Ct),ce=we||/Mac/.test(E),Ie=/\bCrOS\b/.test(Ct),Ze=/win/i.test(E),$e=se&&Ct.match(/Version\/(\d*\.\d*)/);$e&&($e=Number($e[1])),$e&&$e>=15&&(se=!1,ge=!0);var oe=ce&&(je||se&&($e==null||$e<12.11)),Be=y||Ce&&Fe>=9;function tt(a){return new RegExp("(^|\\s)"+a+"(?:$|\\s)\\s*")}var Re=function(a,b){var z=a.className,x=tt(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 _e(a){for(var b=a.childNodes.length;b>0;--b)a.removeChild(a.firstChild);return a}function ye(a,b){return _e(a).appendChild(b)}function Le(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=Le(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 Oe(){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 ue(a,b){var z=a.className;tt(b).test(z)||(a.className+=(z?" ":"")+b)}function Xe(a,b){for(var z=a.split(" "),x=0;x<z.length;x++)z[x]&&!tt(z[x]).test(b)&&(b+=" "+z[x]);return b}var Ge=function(a){a.select()};we?Ge=function(a){a.selectionStart=0,a.selectionEnd=a.value.length}:Ce&&(Ge=function(a){try{a.select()}catch(b){}});function lt(a){var b=Array.prototype.slice.call(arguments,1);return function(){return a.apply(null,b)}}function Tt(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 Ke(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 He=a.indexOf(" ",ie);if(He<0||He>=b)return Ee+(b-ie);Ee+=He-ie,Ee+=z-Ee%z,ie=He+1}}var Se=function(){this.id=null,this.f=null,this.time=0,this.handler=lt(this.onTimeout,this)};Se.prototype.onTimeout=function(a){a.id=0,a.time<=+new Date?a.f():setTimeout(a.handler,a.time-+new Date)},Se.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 Ft(a,b){for(var z=0;z<a.length;++z)if(a[z]==b)return z;return-1}var It=50,ut={toString:function(){return"CodeMirror.Pass"}},xe={scroll:!1},ke={origin:"*mouse"},at={origin:"+move"};function Rt(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 Nt(a){for(;ft.length<=a;)ft.push(xt(ft)+" ");return ft[a]}function xt(a){return a[a.length-1]}function Xt(a,b){for(var z=[],x=0;x<a.length;x++)z[x]=b(a[x],x);return z}function Wt(a,b,z){for(var x=0,ee=z(b);x<a.length&&z(a[x])<=ee;)x++;a.splice(x,0,b)}function de(){}function ne(a,b){var z;return Object.create?z=Object.create(a):(de.prototype=a,z=new de),b&&Tt(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 fe=/[\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 Ye(a){return a.charCodeAt(0)>=768&&fe.test(a)}function vt(a,b,z){for(;(z<0?b>0:b<a.length)&&Ye(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 nt(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 mt=null;function yt(a,b,z){var x;mt=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:mt=ee),ie.from==b&&(ie.from!=ie.to&&z!="before"?x=ee:mt=ee)}return x!=null?x:mt}var St=function(){var a="bbbbbbbbbtstwsbbbbbbbbbbbbbbssstwNN%%%NNNNNN,N,N1111111111NNNNNNNLLLLLLLLLLLLLLLLLLLLLLLLLLNNNNNNLLLLLLLLLLLLLLLLLLLLLLLLLLNNNNbbbbbbsbbbbbbbbbbbbbbbbbbbbbbbbbb,N%%%%NNNNLNNNNN%%11NLNNN1LNNNNNLLLLLLLLLLLLLLLLLLLLLLLNLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLN",b="nnnnnnNNr%%r,rNNmmmmmmmmmmmrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrmmmmmmmmmmmmmmmmmmmmmnnnnnnnnnn%nnrrrmrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrmmmmmmmnNmmmmmmrrmmNmmmmrr1111111111";function z(ht){return ht<=247?a.charAt(ht):1424<=ht&&ht<=1524?"R":1536<=ht&&ht<=1785?b.charAt(ht-1536):1774<=ht&&ht<=2220?"r":8192<=ht&&ht<=8203?"w":ht==8204?"b":"L"}var x=/[\u0590-\u05f4\u0600-\u06ff\u0700-\u08ac]/,ee=/[stwN]/,ie=/[LRr]/,Ee=/[Lb1n]/,He=/[1n]/;function qe(ht,on,gn){this.level=ht,this.from=on,this.to=gn}return function(ht,on){var gn=on=="ltr"?"L":"R";if(ht.length==0||on=="ltr"&&!x.test(ht))return!1;for(var _n=ht.length,Hn=[],wr=0;wr<_n;++wr)Hn.push(z(ht.charCodeAt(wr)));for(var Kr=0,so=gn;Kr<_n;++Kr){var Eo=Hn[Kr];Eo=="m"?Hn[Kr]=so:so=Eo}for(var Go=0,xo=gn;Go<_n;++Go){var ri=Hn[Go];ri=="1"&&xo=="r"?Hn[Go]="n":ie.test(ri)&&(xo=ri,ri=="r"&&(Hn[Go]="R"))}for(var Mi=1,Ai=Hn[0];Mi<_n-1;++Mi){var na=Hn[Mi];na=="+"&&Ai=="1"&&Hn[Mi+1]=="1"?Hn[Mi]="1":na==","&&Ai==Hn[Mi+1]&&(Ai=="1"||Ai=="n")&&(Hn[Mi]=Ai),Ai=na}for(var Wa=0;Wa<_n;++Wa){var Cl=Hn[Wa];if(Cl==",")Hn[Wa]="N";else if(Cl=="%"){var Qa=void 0;for(Qa=Wa+1;Qa<_n&&Hn[Qa]=="%";++Qa);for(var Gl=Wa&&Hn[Wa-1]=="!"||Qa<_n&&Hn[Qa]=="1"?"1":"N",Zl=Wa;Zl<Qa;++Zl)Hn[Zl]=Gl;Wa=Qa-1}}for(var cl=0,zl=gn;cl<_n;++cl){var Fl=Hn[cl];zl=="L"&&Fl=="1"?Hn[cl]="L":ie.test(Fl)&&(zl=Fl)}for(var ml=0;ml<_n;++ml)if(ee.test(Hn[ml])){var dl=void 0;for(dl=ml+1;dl<_n&&ee.test(Hn[dl]);++dl);for(var Ja=(ml?Hn[ml-1]:gn)=="L",jl=(dl<_n?Hn[dl]:gn)=="L",Js=Ja==jl?Ja?"L":"R":gn,Os=ml;Os<dl;++Os)Hn[Os]=Js;ml=dl-1}for(var Pl=[],ps,bl=0;bl<_n;)if(Ee.test(Hn[bl])){var Ou=bl;for(++bl;bl<_n&&Ee.test(Hn[bl]);++bl);Pl.push(new qe(0,Ou,bl))}else{var bs=bl,Vs=Pl.length,Ks=on=="rtl"?1:0;for(++bl;bl<_n&&Hn[bl]!="L";++bl);for(var Ol=bs;Ol<bl;)if(He.test(Hn[Ol])){bs<Ol&&(Pl.splice(Vs,0,new qe(1,bs,Ol)),Vs+=Ks);var qs=Ol;for(++Ol;Ol<bl&&He.test(Hn[Ol]);++Ol);Pl.splice(Vs,0,new qe(2,qs,Ol)),Vs+=Ks,bs=Ol}else++Ol;bs<bl&&Pl.splice(Vs,0,new qe(1,bs,bl))}return on=="ltr"&&(Pl[0].level==1&&(ps=ht.match(/^\s+/))&&(Pl[0].from=ps[0].length,Pl.unshift(new qe(0,0,ps[0].length))),xt(Pl).level==1&&(ps=ht.match(/\s+$/))&&(xt(Pl).to-=ps[0].length,Pl.push(new qe(0,_n-ps[0].length,_n)))),on=="rtl"?Pl.reverse():Pl}}();function Qe(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 Kt(a,b){return a._handlers&&a._handlers[b]||st}function vn(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=Ft(ee,z);ie>-1&&(x[b]=ee.slice(0,ie).concat(ee.slice(ie+1)))}}}function nn(a,b){var z=Kt(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 Yt(a,b,z){return typeof b=="string"&&(b={type:b,preventDefault:function(){this.defaultPrevented=!0}}),nn(a,z||b.type,a,b),Cn(b)||b.codemirrorIgnore}function Jt(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)Ft(z,b[x])==-1&&z.push(b[x])}function cn(a,b){return Kt(a,b).length>0}function bt(a){a.prototype.on=function(b,z){en(this,b,z)},a.prototype.off=function(b,z){vn(this,b,z)}}function zt(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 ct(a){zt(a),un(a)}function Zt(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)),ce&&a.ctrlKey&&b==1&&(b=3),b}var dn=function(){if(Ce&&Fe<9)return!1;var a=Le("div");return"draggable"in a||"dragDrop"in a}(),wn;function Un(a){if(wn==null){var b=Le("span","\u200B");ye(a,Le("span",[b,document.createTextNode("x")])),a.firstChild.offsetHeight!=0&&(wn=b.offsetWidth<=1&&b.offsetHeight>2&&!(Ce&&Fe<8))}var z=wn?Le("span","\u200B"):Le("span","\xA0",null,"display: inline-block; width: 1px; margin-right: -1px");return z.setAttribute("cm-text",""),z}var er;function lr(a){if(er!=null)return er;var b=ye(a,document.createTextNode("A\u062EA")),z=Pe(b,0,1).getBoundingClientRect(),x=Pe(b,1,2).getBoundingClientRect();return _e(a),!z||z.left==z.right?!1:er=x.right-z.right<3}var Rn=`
|
|
|
|
|
|
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/)},Qn=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},Vt=function(){var a=Le("div");return"oncopy"in a?!0:(a.setAttribute("oncopy","return;"),typeof a.oncopy=="function")}(),Lt=null;function sn(a){if(Lt!=null)return Lt;var b=ye(a,Le("span","x")),z=b.getBoundingClientRect(),x=Pe(b,0,1).getBoundingClientRect();return Lt=Math.abs(z.left-x.left)>1}var an={},tn={};function Bn(a,b){arguments.length>2&&(b.dependencies=Array.prototype.slice.call(arguments,2)),an[a]=b}function xn(a,b){tn[a]=b}function jn(a){if(typeof a=="string"&&tn.hasOwnProperty(a))a=tn[a];else if(a&&typeof a.name=="string"&&tn.hasOwnProperty(a.name)){var b=tn[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 jn("application/xml");if(typeof a=="string"&&/^[\w\-]+\/[\w\-]+\+json$/.test(a))return jn("application/json")}return typeof a=="string"?{name:a}:a||{name:"null"}}function nr(a,b){b=jn(b);var z=an[b.name];if(!z)return nr(a,"text/plain");var x=z(a,b);if(Gn.hasOwnProperty(b.name)){var ee=Gn[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 Gn={};function Ln(a,b){var z=Gn.hasOwnProperty(a)?Gn[a]:Gn[a]={};Tt(b,z)}function mr(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 ir(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 jr(a,b,z){return a.startState?a.startState(b,z):!0}var Nr=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};Nr.prototype.eol=function(){return this.pos>=this.string.length},Nr.prototype.sol=function(){return this.pos==this.lineStart},Nr.prototype.peek=function(){return this.string.charAt(this.pos)||void 0},Nr.prototype.next=function(){if(this.pos<this.string.length)return this.string.charAt(this.pos++)},Nr.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},Nr.prototype.eatWhile=function(a){for(var b=this.pos;this.eat(a););return this.pos>b},Nr.prototype.eatSpace=function(){for(var a=this.pos;/[\s\u00a0]/.test(this.string.charAt(this.pos));)++this.pos;return this.pos>a},Nr.prototype.skipToEnd=function(){this.pos=this.string.length},Nr.prototype.skipTo=function(a){var b=this.string.indexOf(a,this.pos);if(b>-1)return this.pos=b,!0},Nr.prototype.backUp=function(a){this.pos-=a},Nr.prototype.column=function(){return this.lastColumnPos<this.start&&(this.lastColumnValue=Ke(this.string,this.start,this.tabSize,this.lastColumnPos,this.lastColumnValue),this.lastColumnPos=this.start),this.lastColumnValue-(this.lineStart?Ke(this.string,this.lineStart,this.tabSize):0)},Nr.prototype.indentation=function(){return Ke(this.string,null,this.tabSize)-(this.lineStart?Ke(this.string,this.lineStart,this.tabSize):0)},Nr.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)}},Nr.prototype.current=function(){return this.string.slice(this.start,this.pos)},Nr.prototype.hideFirstChars=function(a,b){this.lineStart+=a;try{return b()}finally{this.lineStart-=a}},Nr.prototype.lookAhead=function(a){var b=this.lineOracle;return b&&b.lookAhead(a)},Nr.prototype.baseToken=function(){var a=this.lineOracle;return a&&a.baseToken(this.pos)};function Fn(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 Nn(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 cr(a,b,z){var x=[];return a.iter(b,z,function(ee){x.push(ee.text)}),x}function sr(a,b){var z=b-a.height;if(z)for(var x=a;x;x=x.parent)x.height+=z}function kt(a){if(a.parent==null)return null;for(var b=a.parent,z=Ft(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 qt(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 He=a.lines[Ee],qe=He.height;if(b<qe)break;b-=qe}return z+Ee}function gt(a,b){return b>=a.first&&b<a.first+a.size}function Ht(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 Ut(a,b){return a.line-b.line||a.ch-b.ch}function ot(a,b){return a.sticky==b.sticky&&Ut(a,b)==0}function Qt(a){return Et(a.line,a.ch)}function rn(a,b){return Ut(a,b)<0?b:a}function _t(a,b){return Ut(a,b)<0?a:b}function rt(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,Fn(a,z).text.length):Ot(b,Fn(a,b.line).text.length)}function Ot(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 On=function(a,b){this.state=a,this.lookAhead=b},Wn=function(a,b,z,x){this.state=b,this.doc=a,this.line=z,this.maxLookAhead=x||0,this.baseTokens=null,this.baseTokenPos=1};Wn.prototype.lookAhead=function(a){var b=this.doc.getLine(this.line+a);return b!=null&&a>this.maxLookAhead&&(this.maxLookAhead=a),b},Wn.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}},Wn.prototype.nextLine=function(){this.line++,this.maxLookAhead>0&&this.maxLookAhead--},Wn.fromSaved=function(a,b,z){return b instanceof On?new Wn(a,mr(a.mode,b.state),z,b.lookAhead):new Wn(a,mr(a.mode,b),z)},Wn.prototype.save=function(a){var b=a!==!1?mr(this.doc.mode,this.state):this.state;return this.maxLookAhead>0?new On(b,this.maxLookAhead):b};function Yn(a,b,z,x){var ee=[a.state.modeGen],ie={};oo(a,b.text,a.doc.mode,z,function(ht,on){return ee.push(ht,on)},ie,x);for(var Ee=z.state,He=function(ht){z.baseTokens=ee;var on=a.state.overlays[ht],gn=1,_n=0;z.state=!0,oo(a,b.text,on.mode,z,function(Hn,wr){for(var Kr=gn;_n<Hn;){var so=ee[gn];so>Hn&&ee.splice(gn,1,Hn,ee[gn+1],so),gn+=2,_n=Math.min(Hn,so)}if(wr)if(on.opaque)ee.splice(Kr,gn-Kr,Hn,"overlay "+wr),gn=Kr+2;else for(;Kr<gn;Kr+=2){var Eo=ee[Kr+1];ee[Kr+1]=(Eo?Eo+" ":"")+"overlay "+wr}},ie),z.state=Ee,z.baseTokens=null,z.baseTokenPos=1},qe=0;qe<a.state.overlays.length;++qe)He(qe);return{styles:ee,classes:ie.bgClass||ie.textClass?ie:null}}function Mr(a,b,z){if(!b.styles||b.styles[0]!=a.state.modeGen){var x=Hr(a,kt(b)),ee=b.text.length>a.options.maxHighlightLength&&mr(a.doc.mode,x.state),ie=Yn(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 Wn(x,!0,b);var ie=ao(a,b,z),Ee=ie>x.first&&Fn(x,ie-1).stateAfter,He=Ee?Wn.fromSaved(x,Ee,ie):new Wn(x,jr(x.mode),ie);return x.iter(ie,b,function(qe){to(a,qe.text,He);var ht=He.line;qe.stateAfter=ht==b-1||ht%5==0||ht>=ee.viewFrom&&ht<ee.viewTo?He.save():null,He.nextLine()}),z&&(x.modeFrontier=He.line),He}function to(a,b,z,x){var ee=a.doc.mode,ie=new Nr(b,a.options.tabSize,z);for(ie.start=ie.pos=x||0,b==""&&fr(ee,z.state);!ie.eol();)Er(ee,ie,z.state),ie.start=ie.pos}function fr(a,b){if(a.blankLine)return a.blankLine(b);if(a.innerMode){var z=ir(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]=ir(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 Tr=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 He=Fn(ee,b.line),qe=Hr(a,b.line,z),ht=new Nr(He.text,a.options.tabSize,qe),on;for(x&&(on=[]);(x||ht.pos<b.ch)&&!ht.eol();)ht.start=ht.pos,Ee=Er(ie,ht,qe.state),x&&on.push(new Tr(ht,Ee,mr(ee.mode,qe.state)));return x?on:new Tr(ht,Ee,qe.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 He=z.flattenSpans;He==null&&(He=a.options.flattenSpans);var qe=0,ht=null,on=new Nr(b,a.options.tabSize,x),gn,_n=a.options.addModeClass&&[null];for(b==""&&ro(fr(z,x.state),ie);!on.eol();){if(on.pos>a.options.maxHighlightLength?(He=!1,Ee&&to(a,b,x,on.pos),on.pos=b.length,gn=null):gn=ro(Er(z,on,x.state,_n),ie),_n){var Hn=_n[0].name;Hn&&(gn="m-"+(gn?Hn+" "+gn:Hn))}if(!He||ht!=gn){for(;qe<on.start;)qe=Math.min(on.start,qe+5e3),ee(qe,ht);ht=gn}on.start=on.pos}for(;qe<on.pos;){var wr=Math.min(on.pos,qe+5e3);ee(wr,ht),qe=wr}}function ao(a,b,z){for(var x,ee,ie=a.doc,Ee=z?-1:b-(a.doc.mode.innerMode?1e3:100),He=b;He>Ee;--He){if(He<=ie.first)return ie.first;var qe=Fn(ie,He-1),ht=qe.stateAfter;if(ht&&(!z||He+(ht instanceof On?ht.lookAhead:0)<=ie.modeFrontier))return He;var on=Ke(qe.text,null,a.options.tabSize);(ee==null||x>on)&&(ee=He-1,x=on)}return ee}function Or(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=Fn(a,x).stateAfter;if(ee&&(!(ee instanceof On)||x+ee.lookAhead<b)){z=x+1;break}}a.highlightFrontier=Math.min(a.highlightFrontier,z)}}var eo=!1,Jr=!1;function Wo(){eo=!0}function Ko(){Jr=!0}function rr(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,He=ie.from==null||(Ee.inclusiveLeft?ie.from<=b:ie.from<b);if(He||ie.from==b&&Ee.type=="bookmark"&&(!z||!ie.marker.insertLeft)){var qe=ie.to==null||(Ee.inclusiveRight?ie.to>=b:ie.to>b);(x||(x=[])).push(new rr(Ee,ie.from,qe?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,He=ie.to==null||(Ee.inclusiveRight?ie.to>=b:ie.to>b);if(He||ie.from==b&&Ee.type=="bookmark"&&(!z||ie.marker.insertLeft)){var qe=ie.from==null||(Ee.inclusiveLeft?ie.from<=b:ie.from<b);(x||(x=[])).push(new rr(Ee,qe?null:ie.from-b,ie.to==null?null:ie.to-b))}}return x}function ui(a,b){if(b.full)return null;var z=gt(a,b.from.line)&&Fn(a,b.from.line).markedSpans,x=gt(a,b.to.line)&&Fn(a,b.to.line).markedSpans;if(!z&&!x)return null;var ee=b.from.ch,ie=b.to.ch,Ee=Ut(b.from,b.to)==0,He=Zo(z,ee,Ee),qe=vo(x,ie,Ee),ht=b.text.length==1,on=xt(b.text).length+(ht?ee:0);if(He)for(var gn=0;gn<He.length;++gn){var _n=He[gn];if(_n.to==null){var Hn=Ro(qe,_n.marker);Hn?ht&&(_n.to=Hn.to==null?null:Hn.to+on):_n.to=ee}}if(qe)for(var wr=0;wr<qe.length;++wr){var Kr=qe[wr];if(Kr.to!=null&&(Kr.to+=on),Kr.from==null){var so=Ro(He,Kr.marker);so||(Kr.from=on,ht&&(He||(He=[])).push(Kr))}else Kr.from+=on,ht&&(He||(He=[])).push(Kr)}He&&(He=yi(He)),qe&&qe!=He&&(qe=yi(qe));var Eo=[He];if(!ht){var Go=b.text.length-2,xo;if(Go>0&&He)for(var ri=0;ri<He.length;++ri)He[ri].to==null&&(xo||(xo=[])).push(new rr(He[ri].marker,null,null));for(var Mi=0;Mi<Go;++Mi)Eo.push(xo);Eo.push(qe)}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 Jo(a,b,z){var x=null;if(a.iter(b.line,z.line+1,function(Hn){if(Hn.markedSpans)for(var wr=0;wr<Hn.markedSpans.length;++wr){var Kr=Hn.markedSpans[wr].marker;Kr.readOnly&&(!x||Ft(x,Kr)==-1)&&(x||(x=[])).push(Kr)}}),!x)return null;for(var ee=[{from:b,to:z}],ie=0;ie<x.length;++ie)for(var Ee=x[ie],He=Ee.find(0),qe=0;qe<ee.length;++qe){var ht=ee[qe];if(!(Ut(ht.to,He.from)<0||Ut(ht.from,He.to)>0)){var on=[qe,1],gn=Ut(ht.from,He.from),_n=Ut(ht.to,He.to);(gn<0||!Ee.inclusiveLeft&&!gn)&&on.push({from:ht.from,to:He.from}),(_n>0||!Ee.inclusiveRight&&!_n)&&on.push({from:He.to,to:ht.to}),ee.splice.apply(ee,on),qe+=on.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=Ut(x.from,ee.from)||Ci(a)-Ci(b);if(ie)return-ie;var Ee=Ut(x.to,ee.to)||Oi(a)-Oi(b);return Ee||b.id-a.id}function Je(a,b){var z=Jr&&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=Jr&&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 Jn(a,b,z,x,ee){var ie=Fn(a,b),Ee=Jr&&ie.markedSpans;if(Ee)for(var He=0;He<Ee.length;++He){var qe=Ee[He];if(qe.marker.collapsed){var ht=qe.marker.find(0),on=Ut(ht.from,z)||Ci(qe.marker)-Ci(ee),gn=Ut(ht.to,x)||Oi(qe.marker)-Oi(ee);if(!(on>=0&&gn<=0||on<=0&&gn>=0)&&(on<=0&&(qe.marker.inclusiveRight&&ee.inclusiveLeft?Ut(ht.to,z)>=0:Ut(ht.to,z)>0)||on>=0&&(qe.marker.inclusiveRight&&ee.inclusiveLeft?Ut(ht.from,x)<=0:Ut(ht.from,x)<0)))return!0}}}function Zn(a){for(var b;b=hn(a);)a=b.find(-1,!0).line;return a}function kn(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=Fn(a,b),x=Zn(z);return z==x?b:kt(x)}function Kn(a,b){if(b>a.lastLine())return b;var z=Fn(a,b),x;if(!tr(a,z))return b;for(;x=Mt(z);)z=x.find(1,!0).line;return kt(z)+1}function tr(a,b){var z=Jr&&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=Zn(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 He=ie.children[Ee];if(He==z)break;b+=He.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=Fn(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 kt(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&&sr(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 Vi(a,b){var z=Ve("span",null,null,ge?"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,lr(a.display.measure)&&(Ee=Qe(ie,a.doc.direction))&&(x.addToken=ha(x.addToken,Ee)),x.map=[];var He=b!=a.display.externalMeasured&&kt(ie);Do(ie,x,Mr(a,ie,He)),ie.styleClasses&&(ie.styleClasses.bgClass&&(x.bgClass=Xe(ie.styleClasses.bgClass,x.bgClass||"")),ie.styleClasses.textClass&&(x.textClass=Xe(ie.styleClasses.textClass,x.textClass||""))),x.map.length==0&&x.map.push(0,0,x.content.appendChild(Un(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(ge){var qe=x.content.lastChild;(/\bcm-tab\b/.test(qe.className)||qe.querySelector&&qe.querySelector(".cm-tab"))&&(x.content.className="cm-tab-wrap-hack")}return nn(a,"renderLine",a,b.line,x.pre),x.pre.className&&(x.textClass=Xe(x.pre.className,x.textClass||"")),x}function sa(a){var b=Le("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 He=a.splitSpaces?wa(b,a.trailingSpace):b,qe=a.cm.state.specialChars,ht=!1,on;if(!qe.test(b))a.col+=b.length,on=document.createTextNode(He),a.map.push(a.pos,a.pos+b.length,on),Ce&&Fe<9&&(ht=!0),a.pos+=b.length;else{on=document.createDocumentFragment();for(var gn=0;;){qe.lastIndex=gn;var _n=qe.exec(b),Hn=_n?_n.index-gn:b.length-gn;if(Hn){var wr=document.createTextNode(He.slice(gn,gn+Hn));Ce&&Fe<9?on.appendChild(Le("span",[wr])):on.appendChild(wr),a.map.push(a.pos,a.pos+Hn,wr),a.col+=Hn,a.pos+=Hn}if(!_n)break;gn+=Hn+1;var Kr=void 0;if(_n[0]==" "){var so=a.cm.options.tabSize,Eo=so-a.col%so;Kr=on.appendChild(Le("span",Nt(Eo),"cm-tab")),Kr.setAttribute("role","presentation"),Kr.setAttribute("cm-text"," "),a.col+=Eo}else _n[0]=="\r"||_n[0]==`
|
|
|
`?(Kr=on.appendChild(Le("span",_n[0]=="\r"?"\u240D":"\u2424","cm-invalidchar")),Kr.setAttribute("cm-text",_n[0]),a.col+=1):(Kr=a.cm.options.specialCharPlaceholder(_n[0]),Kr.setAttribute("cm-text",_n[0]),Ce&&Fe<9?on.appendChild(Le("span",[Kr])):on.appendChild(Kr),a.col+=1);a.map.push(a.pos,a.pos+1,Kr),a.pos++}}if(a.trailingSpace=He.charCodeAt(b.length-1)==32,z||x||ee||ht||ie||Ee){var Go=z||"";x&&(Go+=x),ee&&(Go+=ee);var xo=Le("span",[on],Go,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(on)}}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,He,qe){ee=ee?ee+" cm-force-border":"cm-force-border";for(var ht=z.pos,on=ht+x.length;;){for(var gn=void 0,_n=0;_n<b.length&&(gn=b[_n],!(gn.to>ht&&gn.from<=ht));_n++);if(gn.to>=on)return a(z,x,ee,ie,Ee,He,qe);a(z,x.slice(0,gn.to-ht),ee,ie,null,He,qe),ie=null,x=x.slice(gn.to-ht),ht=gn.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 He=ee.length,qe=0,ht=1,on="",gn,_n,Hn=0,wr,Kr,so,Eo,Go;;){if(Hn==qe){wr=Kr=so=_n="",Go=null,Eo=null,Hn=1/0;for(var xo=[],ri=void 0,Mi=0;Mi<x.length;++Mi){var Ai=x[Mi],na=Ai.marker;if(na.type=="bookmark"&&Ai.from==qe&&na.widgetNode)xo.push(na);else if(Ai.from<=qe&&(Ai.to==null||Ai.to>qe||na.collapsed&&Ai.to==qe&&Ai.from==qe)){if(Ai.to!=null&&Ai.to!=qe&&Hn>Ai.to&&(Hn=Ai.to,Kr=""),na.className&&(wr+=" "+na.className),na.css&&(_n=(_n?_n+";":"")+na.css),na.startStyle&&Ai.from==qe&&(so+=" "+na.startStyle),na.endStyle&&Ai.to==Hn&&(ri||(ri=[])).push(na.endStyle,Ai.to),na.title&&((Go||(Go={})).title=na.title),na.attributes)for(var Wa in na.attributes)(Go||(Go={}))[Wa]=na.attributes[Wa];na.collapsed&&(!Eo||No(Eo.marker,na)<0)&&(Eo=Ai)}else Ai.from>qe&&Hn>Ai.from&&(Hn=Ai.from)}if(ri)for(var Cl=0;Cl<ri.length;Cl+=2)ri[Cl+1]==Hn&&(Kr+=" "+ri[Cl]);if(!Eo||Eo.from==qe)for(var Qa=0;Qa<xo.length;++Qa)Ao(b,0,xo[Qa]);if(Eo&&(Eo.from||0)==qe){if(Ao(b,(Eo.to==null?He+1:Eo.to)-qe,Eo.marker,Eo.from==null),Eo.to==null)return;Eo.to==qe&&(Eo=!1)}}if(qe>=He)break;for(var Gl=Math.min(He,Hn);;){if(on){var Zl=qe+on.length;if(!Eo){var cl=Zl>Gl?on.slice(0,Gl-qe):on;b.addToken(b,cl,gn?gn+wr:wr,so,qe+cl.length==Hn?Kr:"",_n,Go)}if(Zl>=Gl){on=on.slice(Gl-qe),qe=Gl;break}qe=Zl,so=""}on=ee.slice(ie,ie=z[ht++]),gn=Ti(z[ht++],b.cm.options)}}}function Co(a,b,z){this.line=b,this.rest=yr(b),this.size=this.rest?kt(xt(this.rest))-z+1:1,this.node=this.text=null,this.hidden=tr(a,b)}function $i(a,b,z){for(var x=[],ee,ie=b;ie<z;ie=ee){var Ee=new Co(a.doc,Fn(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 Ii(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{Ii(z)}finally{Uo=null,b(z)}}var hi=null;function Xo(a,b){var z=Kt(a,b);if(z.length){var x=Array.prototype.slice.call(arguments,2),ee;Uo?ee=Uo.delayedCallbacks:hi?ee=hi:(ee=hi=[],setTimeout(Ia,0));for(var ie=function(He){ee.push(function(){return z[He].apply(null,x)})},Ee=0;Ee<z.length;++Ee)ie(Ee)}}function Ia(){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=Le("div",null,null,"position: relative"),a.text.parentNode&&a.text.parentNode.replaceChild(a.node,a.text),a.node.appendChild(a.text),Ce&&Fe<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(Le("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):Vi(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=Le("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),He=b.gutter=Le("div",null,"CodeMirror-gutter-wrapper","left: "+(a.options.fixedGutter?x.fixedPos:-x.gutterTotalWidth)+"px");if(a.display.input.setUneditable(He),Ee.insertBefore(He,b.text),b.line.gutterClass&&(He.className+=" "+b.line.gutterClass),a.options.lineNumbers&&(!ie||!ie["CodeMirror-linenumbers"])&&(b.lineNumber=He.appendChild(Le("div",Ht(a.options,z),"CodeMirror-linenumber CodeMirror-gutter-elt","left: "+x.gutterLeft["CodeMirror-linenumbers"]+"px; width: "+a.display.lineNumInnerWidth+"px"))),ie)for(var qe=0;qe<a.display.gutterSpecs.length;++qe){var ht=a.display.gutterSpecs[qe].className,on=ie.hasOwnProperty(ht)&&ie[ht];on&&He.appendChild(Le("div",[on],"CodeMirror-gutter-elt","left: "+x.gutterLeft[ht]+"px; width: "+x.gutterWidth[ht]+"px"))}}}function Qo(a,b,z){b.alignable&&(b.alignable=null);for(var x=tt("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(Ji(a,b.line,b,z,!0),b.rest)for(var x=0;x<b.rest.length;x++)Ji(a,b.rest[x],b,z,!1)}function Ji(a,b,z,x,ee){if(b.widgets)for(var ie=Aa(z),Ee=0,He=b.widgets;Ee<He.length;++Ee){var qe=He[Ee],ht=Le("div",[qe.node],"CodeMirror-linewidget"+(qe.className?" "+qe.className:""));qe.handleMouseEvents||ht.setAttribute("cm-ignore-events","true"),ko(qe,ht,z,x),a.display.input.setUneditable(ht),ee&&qe.above?ie.insertBefore(ht,z.gutter||z.text):ie.appendChild(ht),Xo(qe,"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 _i(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;"),ye(b.display.measure,Le("div",[a.node],null,z))}return a.height=a.node.parentNode.offsetHeight}function gr(a,b){for(var z=Zt(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=ye(a.measure,Le("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 It-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(),He=0;He<Ee.length-1;He++){var qe=Ee[He],ht=Ee[He+1];Math.abs(qe.bottom-ht.bottom)>2&&ie.push((qe.bottom+ht.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(kt(a.rest[ee])>z)return{map:a.measure.maps[ee],cache:a.measure.caches[ee],before:!0}}function rs(a,b){b=Zn(b);var z=kt(b),x=a.display.externalMeasured=new Co(a.doc,b,z);x.lineN=z;var ee=x.built=Vi(a,x);return x.text=ee.pre,ye(a.display.lineMeasure,ee.pre),x}function us(a,b,z,x){return Za(a,Xi(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 Xi(a,b){var z=kt(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=Xl(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,He,qe,ht=0;ht<a.length;ht+=3)if(He=a[ht],qe=a[ht+1],b<He?(ee=0,ie=1,Ee="left"):b<qe?(ee=b-He,ie=ee+1):(ht==a.length-3||b==qe&&a[ht+3]>b)&&(ie=qe-He,ee=ie-1,b>=qe&&(Ee="right")),ee!=null){if(x=a[ht+2],He==qe&&z==(x.insertLeft?"left":"right")&&(Ee=z),z=="left"&&ee==0)for(;ht&&a[ht-2]==a[ht-3]&&a[ht-1].insertLeft;)x=a[(ht-=3)+2],Ee="left";if(z=="right"&&ee==qe-He)for(;ht<a.length-3&&a[ht+3]==a[ht+4]&&!a[ht+5].insertLeft;)x=a[(ht+=3)+2],Ee="right";break}return{node:x,start:ee,end:ie,collapse:Ee,coverStart:He,coverEnd:qe}}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 Xl(a,b,z,x){var ee=Hl(b.map,z,x),ie=ee.node,Ee=ee.start,He=ee.end,qe=ee.collapse,ht;if(ie.nodeType==3){for(var on=0;on<4;on++){for(;Ee&&Ye(b.line.text.charAt(ee.coverStart+Ee));)--Ee;for(;ee.coverStart+He<ee.coverEnd&&Ye(b.line.text.charAt(ee.coverStart+He));)++He;if(Ce&&Fe<9&&Ee==0&&He==ee.coverEnd-ee.coverStart?ht=ie.parentNode.getBoundingClientRect():ht=ql(Pe(ie,Ee,He).getClientRects(),x),ht.left||ht.right||Ee==0)break;He=Ee,Ee=Ee-1,qe="right"}Ce&&Fe<11&&(ht=xs(a.display.measure,ht))}else{Ee>0&&(qe=x="right");var gn;a.options.lineWrapping&&(gn=ie.getClientRects()).length>1?ht=gn[x=="right"?gn.length-1:0]:ht=ie.getBoundingClientRect()}if(Ce&&Fe<9&&!Ee&&(!ht||!ht.left&&!ht.right)){var _n=ie.parentNode.getClientRects()[0];_n?ht={left:_n.left,right:_n.left+kl(a.display),top:_n.top,bottom:_n.bottom}:ht=wl}for(var Hn=ht.top-b.rect.top,wr=ht.bottom-b.rect.top,Kr=(Hn+wr)/2,so=b.view.measure.heights,Eo=0;Eo<so.length-1&&!(Kr<so[Eo]);Eo++);var Go=Eo?so[Eo-1]:0,xo=so[Eo],ri={left:(qe=="right"?ht.right:ht.left)-b.rect.left,right:(qe=="left"?ht.left:ht.right)-b.rect.left,top:Go,bottom:xo};return!ht.left&&!ht.right&&(ri.bogus=!0),a.options.singleCursorHeightPerLine||(ri.rtop=Hn,ri.rbottom=wr),ri}function xs(a,b){if(!window.screen||screen.logicalXDPI==null||screen.logicalXDPI==screen.deviceXDPI||!sn(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,_e(a.display.lineMeasure);for(var b=0;b<a.display.view.length;b++)es(a.display.view[b])}function Vl(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 De&&be?-(document.body.getBoundingClientRect().left-parseInt(getComputedStyle(document.body).marginLeft)):window.pageXOffset||(document.documentElement||document.body).scrollLeft}function Ll(){return De&&be?-(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+=_i(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 He=a.display.lineSpace.getBoundingClientRect();Ee+=He.top+(x=="window"?0:Ll());var qe=He.left+(x=="window"?0:Ta());z.left+=qe,z.right+=qe}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=Fn(a.doc,b.line)),tl(a,x,us(a,x,b.ch,ee),z)}function $a(a,b,z,x,ee,ie){x=x||Fn(a.doc,b.line),ee||(ee=Xi(a,x));function Ee(wr,Kr){var so=Za(a,ee,wr,Kr?"right":"left",ie);return Kr?so.left=so.right:so.right=so.left,tl(a,x,so,z)}var He=Qe(x,a.doc.direction),qe=b.ch,ht=b.sticky;if(qe>=x.text.length?(qe=x.text.length,ht="before"):qe<=0&&(qe=0,ht="after"),!He)return Ee(ht=="before"?qe-1:qe,ht=="before");function on(wr,Kr,so){var Eo=He[Kr],Go=Eo.level==1;return Ee(so?wr-1:wr,Go!=so)}var gn=yt(He,qe,ht),_n=mt,Hn=on(qe,gn,ht=="before");return _n!=null&&(Hn.other=on(qe,_n,ht!="before")),Hn}function oa(a,b){var z=0;b=Bt(a.doc,b),a.options.lineWrapping||(z=kl(a.display)*b.ch);var x=Fn(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=qt(x,z),ie=x.first+x.size-1;if(ee>ie)return Wi(x.first+x.size-1,Fn(x,ie).text.length,null,1,1);b<0&&(b=0);for(var Ee=Fn(x,ee);;){var He=Nl(a,Ee,ee,b,z),qe=bn(Ee,He.ch+(He.xRel>0||He.outside>0?1:0));if(!qe)return He;var ht=qe.find(1);if(ht.line==ee)return ht;Ee=Fn(x,ee=ht.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 Ka(a,b,z,x){z||(z=Xi(a,b));var ee=tl(a,b,Za(a,z,x),"line").top;return fl(a,b,z,ee)}function _a(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=Xi(a,b),Ee=Tl(b),He=0,qe=b.text.length,ht=!0,on=Qe(b,a.doc.direction);if(on){var gn=(a.options.lineWrapping?Kl:Il)(a,b,z,ie,on,x,ee);ht=gn.level!=1,He=ht?gn.from:gn.to-1,qe=ht?gn.to:gn.from-1}var _n=null,Hn=null,wr=et(function(Mi){var Ai=Za(a,ie,Mi);return Ai.top+=Ee,Ai.bottom+=Ee,_a(Ai,x,ee,!1)?(Ai.top<=ee&&Ai.left<=x&&(_n=Mi,Hn=Ai),!0):!1},He,qe),Kr,so,Eo=!1;if(Hn){var Go=x-Hn.left<Hn.right-x,xo=Go==ht;wr=_n+(xo?0:1),so=xo?"after":"before",Kr=Go?Hn.left:Hn.right}else{!ht&&(wr==qe||wr==He)&&wr++,so=wr==0?"after":wr==b.text.length?"before":Za(a,ie,wr-(ht?1:0)).bottom+Ee<=ee==ht?"after":"before";var ri=$a(a,Et(z,wr,so),"line",b,ie);Kr=ri.left,Eo=ee<ri.top?-1:ee>=ri.bottom?1:0}return wr=vt(b.text,wr,1),Wi(z,wr,so,Eo,x-Kr)}function Il(a,b,z,x,ee,ie,Ee){var He=et(function(gn){var _n=ee[gn],Hn=_n.level!=1;return _a($a(a,Et(z,Hn?_n.to:_n.from,Hn?"before":"after"),"line",b,x),ie,Ee,!0)},0,ee.length-1),qe=ee[He];if(He>0){var ht=qe.level!=1,on=$a(a,Et(z,ht?qe.from:qe.to,ht?"after":"before"),"line",b,x);_a(on,ie,Ee,!0)&&on.top>Ee&&(qe=ee[He-1])}return qe}function Kl(a,b,z,x,ee,ie,Ee){var He=fl(a,b,x,Ee),qe=He.begin,ht=He.end;/\s/.test(b.text.charAt(ht-1))&&ht--;for(var on=null,gn=null,_n=0;_n<ee.length;_n++){var Hn=ee[_n];if(!(Hn.from>=ht||Hn.to<=qe)){var wr=Hn.level!=1,Kr=Za(a,x,wr?Math.min(ht,Hn.to)-1:Math.max(qe,Hn.from)).right,so=Kr<ie?ie-Kr+1e9:Kr-ie;(!on||gn>so)&&(on=Hn,gn=so)}}return on||(on=ee[ee.length-1]),on.from<qe&&(on={from:qe,to:on.to,level:on.level}),on.to>ht&&(on={from:on.from,to:ht,level:on.level}),on}var hl;function Al(a){if(a.cachedTextHeight!=null)return a.cachedTextHeight;if(hl==null){hl=Le("pre",null,"CodeMirror-line-like");for(var b=0;b<49;++b)hl.appendChild(document.createTextNode("x")),hl.appendChild(Le("br"));hl.appendChild(document.createTextNode("x"))}ye(a.measure,hl);var z=hl.offsetHeight/50;return z>3&&(a.cachedTextHeight=z),_e(a.measure),z||1}function kl(a){if(a.cachedCharWidth!=null)return a.cachedCharWidth;var b=Le("span","xxxxxxxxxx"),z=Le("pre",[b],"CodeMirror-line-like");ye(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 He=a.display.gutterSpecs[Ee].className;z[He]=ie.offsetLeft+ie.clientLeft+ee,x[He]=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(tr(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&&sr(x,ee)})}function Ql(a,b,z,x){var ee=a.display;if(!z&&Zt(b).getAttribute("cm-not-content")=="true")return null;var ie,Ee,He=ee.lineSpace.getBoundingClientRect();try{ie=b.clientX-He.left,Ee=b.clientY-He.top}catch(gn){return null}var qe=Ua(a,ie,Ee),ht;if(x&&qe.xRel>0&&(ht=Fn(a.doc,qe.line).text).length==qe.ch){var on=Ke(ht,ht.length,a.options.tabSize)-ht.length;qe=Et(qe.line,Math.max(0,Math.round((ie-Zi(a.display).left)/kl(a.display))-on))}return qe}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)Jr&&zn(a.doc,b)<ee.viewTo&&Yl(a);else if(z<=ee.viewFrom)Jr&&Kn(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 He=ws(a,b,b,-1),qe=ws(a,z,z+x,1);He&&qe?(ee.view=ee.view.slice(0,He.index).concat($i(a,He.lineN,qe.lineN)).concat(ee.view.slice(qe.index)),ee.viewTo+=x):Yl(a)}var ht=ee.externalMeasured;ht&&(z<ht.lineN?ht.lineN+=x:b<ht.lineN+ht.size&&(ee.externalMeasured=null))}function $l(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=[]);Ft(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(!Jr||z==a.doc.first+a.doc.size)return{index:ee,lineN:z};for(var He=a.display.viewFrom,qe=0;qe<ee;qe++)He+=Ee[qe].size;if(He!=b){if(x>0){if(ee==Ee.length-1)return null;ie=He+Ee[ee].size-b,ee++}else ie=He-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=$i(a,b,z),x.viewFrom=b):(x.viewFrom>b?x.view=$i(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($i(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 He=z.sel.ranges[Ee];if(!(He.from().line>=a.display.viewTo||He.to().line<a.display.viewFrom)){var qe=He.empty();(qe||a.options.showCursorWhenSelecting)&&Ys(a,He.head,ee),qe||Su(a,He,ie)}}return x}function Ys(a,b,z){var x=$a(a,b,"div",null,null,!a.options.singleCursorHeightPerLine),ee=z.appendChild(Le("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(Le("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),He=Ee.left,qe=Math.max(x.sizerWidth,xl(a)-x.sizer.offsetLeft)-Ee.right,ht=ee.direction=="ltr";function on(xo,ri,Mi,Ai){ri<0&&(ri=0),ri=Math.round(ri),Ai=Math.round(Ai),ie.appendChild(Le("div",null,"CodeMirror-selected","position: absolute; left: "+xo+`px;
|
|
|
top: `+ri+"px; width: "+(Mi==null?qe-xo:Mi)+`px;
|
|
|
height: `+(Ai-ri)+"px"))}function gn(xo,ri,Mi){var Ai=Fn(ee,xo),na=Ai.text.length,Wa,Cl;function Qa(cl,zl){return ts(a,Et(xo,cl),"div",Ai,zl)}function Gl(cl,zl,Fl){var ml=Ka(a,Ai,null,cl),dl=zl=="ltr"==(Fl=="after")?"left":"right",Ja=Fl=="after"?ml.begin:ml.end-(/\s/.test(Ai.text.charAt(ml.end-1))?2:1);return Qa(Ja,dl)[dl]}var Zl=Qe(Ai,ee.direction);return nt(Zl,ri||0,Mi==null?na:Mi,function(cl,zl,Fl,ml){var dl=Fl=="ltr",Ja=Qa(cl,dl?"left":"right"),jl=Qa(zl-1,dl?"right":"left"),Js=ri==null&&cl==0,Os=Mi==null&&zl==na,Pl=ml==0,ps=!Zl||ml==Zl.length-1;if(jl.top-Ja.top<=3){var bl=(ht?Js:Os)&&Pl,Ou=(ht?Os:Js)&&ps,bs=bl?He:(dl?Ja:jl).left,Vs=Ou?qe:(dl?jl:Ja).right;on(bs,Ja.top,Vs-bs,Ja.bottom)}else{var Ks,Ol,qs,Lu;dl?(Ks=ht&&Js&&Pl?He:Ja.left,Ol=ht?qe:Gl(cl,Fl,"before"),qs=ht?He:Gl(zl,Fl,"after"),Lu=ht&&Os&&ps?qe:jl.right):(Ks=ht?Gl(cl,Fl,"before"):He,Ol=!ht&&Js&&Pl?qe:Ja.right,qs=!ht&&Os&&ps?He:jl.left,Lu=ht?Gl(zl,Fl,"after"):qe),on(Ks,Ja.top,Ol-Ks,Ja.bottom),Ja.bottom<jl.top&&on(He,Ja.bottom,null,jl.top),on(qs,jl.top,Lu-qs,jl.bottom)}(!Wa||vs(Ja,Wa)<0)&&(Wa=Ja),vs(jl,Wa)<0&&(Wa=jl),(!Cl||vs(Ja,Cl)<0)&&(Cl=Ja),vs(jl,Cl)<0&&(Cl=jl)}),{start:Wa,end:Cl}}var _n=b.from(),Hn=b.to();if(_n.line==Hn.line)gn(_n.line,_n.ch,Hn.ch);else{var wr=Fn(ee,_n.line),Kr=Fn(ee,Hn.line),so=Zn(wr)==Zn(Kr),Eo=gn(_n.line,_n.ch,so?wr.text.length+1:null).end,Go=gn(Hn.line,so?0:null,Hn.ch).start;so&&(Eo.top<Go.top-2?(on(Eo.right,Eo.top,null,Eo.bottom),on(He,Go.top,Go.left,Go.bottom)):on(Eo.right,Eo.top,Go.left-Eo.right,Eo.bottom)),Eo.bottom<Go.top&&on(He,Eo.bottom,null,Go.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||(nn(a,"focus",a,b),a.state.focused=!0,ue(a.display.wrapper,"CodeMirror-focused"),!a.curOp&&a.display.selForContextMenu!=a.doc.sel&&(a.display.input.reset(),ge&&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&&(nn(a,"blur",a,b),a.state.focused=!1,Re(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,He=0;if(!ee.hidden){if(Ce&&Fe<8){var qe=ee.node.offsetTop+ee.node.offsetHeight;Ee=qe-z,z=qe}else{var ht=ee.node.getBoundingClientRect();Ee=ht.bottom-ht.top,!ie&&ee.text.firstChild&&(He=ee.text.firstChild.getBoundingClientRect().right-ht.left-1)}var on=ee.line.height-Ee;if((on>.005||on<-.005)&&(sr(ee.line,Ee),fs(ee.line),ee.rest))for(var gn=0;gn<ee.rest.length;gn++)fs(ee.rest[gn]);if(He>a.display.sizerWidth){var _n=Math.ceil(He/kl(a.display));_n>a.display.maxLineLength&&(a.display.maxLineLength=_n,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=qt(b,x),Ee=qt(b,ee);if(z&&z.ensure){var He=z.ensure.from.line,qe=z.ensure.to.line;He<ie?(ie=He,Ee=qt(b,wo(Fn(b,He))+a.wrapper.clientHeight)):Math.min(qe,b.lastLine())>=Ee&&(ie=qt(b,wo(Fn(b,qe))-a.wrapper.clientHeight),Ee=qe)}return{from:ie,to:Math.max(Ee,ie+1)}}function We(a,b){if(!Yt(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&&!Ne){var ie=Le("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 dt(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,He=$a(a,b),qe=!z||z==b?He:$a(a,z);ee={left:Math.min(He.left,qe.left),top:Math.min(He.top,qe.top)-x,right:Math.max(He.left,qe.left),bottom:Math.max(He.bottom,qe.bottom)+x};var ht=Pt(a,ee),on=a.doc.scrollTop,gn=a.doc.scrollLeft;if(ht.scrollTop!=null&&(ur(a,ht.scrollTop),Math.abs(a.doc.scrollTop-on)>1&&(Ee=!0)),ht.scrollLeft!=null&&(hr(a,ht.scrollLeft),Math.abs(a.doc.scrollLeft-gn)>1&&(Ee=!0)),!Ee)break}return ee}function Dt(a,b){var z=Pt(a,b);z.scrollTop!=null&&ur(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 He=a.doc.height+Yo(z),qe=b.top<x,ht=b.bottom>He-x;if(b.top<ee)Ee.scrollTop=qe?0:b.top;else if(b.bottom>ee+ie){var on=Math.min(b.top,(ht?He:b.bottom)-ie);on!=ee&&(Ee.scrollTop=on)}var gn=a.options.fixedGutter?0:z.gutters.offsetWidth,_n=a.curOp&&a.curOp.scrollLeft!=null?a.curOp.scrollLeft:z.scroller.scrollLeft-gn,Hn=xl(a)-z.gutters.offsetWidth,wr=b.right-b.left>Hn;return wr&&(b.right=b.left+Hn),b.left<10?Ee.scrollLeft=0:b.left<_n?Ee.scrollLeft=Math.max(0,b.left+gn-(wr?0:10)):b.right>Hn+_n-3&&(Ee.scrollLeft=b.right+(wr?0:10)-Hn),Ee}function pn(a,b){b!=null&&(qn(a),a.curOp.scrollTop=(a.curOp.scrollTop==null?a.doc.scrollTop:a.curOp.scrollTop)+b)}function An(a){qn(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)&&qn(a),b!=null&&(a.curOp.scrollLeft=b),z!=null&&(a.curOp.scrollTop=z)}function Xn(a,b){qn(a),a.curOp.scrollToPos=b}function qn(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 ur(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,pt(a),a.display.scroller.scrollLeft!=b&&(a.display.scroller.scrollLeft=b),a.display.scrollbars.setScrollLeft(b))}function dr(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=Le("div",[Le("div",null,null,"min-width: 1px")],"CodeMirror-vscrollbar"),ee=this.horiz=Le("div",[Le("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,Ce&&Fe<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=ce&&!me?"12px":"18px";this.horiz.style.height=this.vert.style.width=a,this.horiz.style.pointerEvents=this.vert.style.pointerEvents="none",this.disableHoriz=new Se,this.disableVert=new Se},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=dr(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,dr(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 Vr={native:Cr,null:xr};function Br(a){a.display.scrollbars&&(a.display.scrollbars.clear(),a.display.scrollbars.addClass&&Re(a.display.wrapper,a.display.scrollbars.addClass)),a.display.scrollbars=new Vr[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):ur(a,b)},a),a.display.scrollbars.addClass&&ue(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;_o(z)})}function _o(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=dr(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==Oe();a.preparedSelection&&b.display.input.showSelection(a.preparedSelection,z),(a.updatedDisplay||a.startHeight!=b.doc.height)&&Sr(b,a.barMeasure),a.updatedDisplay&&Me(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=dt(b,Bt(x,a.scrollToPos.from),Bt(x,a.scrollToPos.to),a.scrollToPos.margin);We(b,ee)}var ie=a.maybeHiddenMarkers,Ee=a.maybeUnhiddenMarkers;if(ie)for(var He=0;He<ie.length;++He)ie[He].lines.length||nn(ie[He],"hide");if(Ee)for(var qe=0;qe<Ee.length;++qe)Ee[qe].lines.length&&nn(Ee[qe],"unhide");z.wrapper.offsetHeight&&(x.scrollTop=b.display.scroller.scrollTop),a.changeObjs&&nn(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,lt(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,He=ie.text.length>a.options.maxHighlightLength?mr(b.mode,x.state):null,qe=Yn(a,ie,x,!0);He&&(x.state=He),ie.styles=qe.styles;var ht=ie.styleClasses,on=qe.classes;on?ie.styleClasses=on:ht&&(ie.styleClasses=null);for(var gn=!Ee||Ee.length!=ie.styles.length||ht!=on&&(!ht||!on||ht.bgClass!=on.bgClass||ht.textClass!=on.textClass),_n=0;!gn&&_n<Ee.length;++_n)gn=Ee[_n]!=ie.styles[_n];gn&&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++)$l(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){cn(a,b)&&this.events.push(arguments)},Fo.prototype.finish=function(){for(var a=0;a<this.events.length;a++)nn.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=Oe();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 Io(a){if(!(!a||!a.activeElt||a.activeElt==Oe())&&(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)),Jr&&(ie=zn(a.doc,ie),Ee=Kn(a.doc,Ee));var He=ie!=z.viewFrom||Ee!=z.viewTo||z.lastWrapHeight!=b.wrapperHeight||z.lastWrapWidth!=b.wrapperWidth;Us(a,ie,Ee),z.viewOffset=wo(Fn(a.doc,z.viewFrom)),a.display.mover.style.top=z.viewOffset+"px";var qe=As(a);if(!He&&qe==0&&!b.force&&z.renderedView==z.view&&(z.updateLineNumbers==null||z.updateLineNumbers>=z.viewTo))return!1;var ht=co(a);return qe>4&&(z.lineDiv.style.display="none"),Pi(a,z.updateLineNumbers,b.dims),qe>4&&(z.lineDiv.style.display=""),z.renderedView=z.view,Io(ht),_e(z.cursorDiv),_e(z.selectionDiv),z.gutters.style.height=z.sizer.style.minHeight=0,He&&(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=dr(a);os(a),Sr(a,ee),Me(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=dr(a);os(a),Sr(a,x),Me(a,x),z.finish()}}function Pi(a,b,z){var x=a.display,ee=a.options.lineNumbers,ie=x.lineDiv,Ee=ie.firstChild;function He(wr){var Kr=wr.nextSibling;return ge&&ce&&a.display.currentWheelTarget==wr?wr.style.display="none":wr.parentNode.removeChild(wr),Kr}for(var qe=x.view,ht=x.viewFrom,on=0;on<qe.length;on++){var gn=qe[on];if(!gn.hidden)if(!gn.node||gn.node.parentNode!=ie){var _n=di(a,gn,ht,z);ie.insertBefore(_n,Ee)}else{for(;Ee!=gn.node;)Ee=He(Ee);var Hn=ee&&b!=null&&b<=ht&&gn.lineNumber;gn.changes&&(Ft(gn.changes,"gutter")>-1&&(Hn=!1),Ha(a,gn,ht,z)),Hn&&(_e(gn.lineNumber),gn.lineNumber.appendChild(document.createTextNode(Ht(a.options,ht)))),Ee=gn.node.nextSibling}ht+=gn.size}for(;Ee;)Ee=He(Ee)}function Te(a){var b=a.gutters.offsetWidth;a.sizer.style.marginLeft=b+"px"}function Me(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 pt(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 He=z[Ee].alignable;if(He)for(var qe=0;qe<He.length;qe++)He[qe].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=Ht(a.options,b.first+b.size-1),x=a.display;if(z.length!=x.lineNumChars){var ee=x.measure.appendChild(Le("div",[Le("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 jt(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;_e(b),a.lineGutter=null;for(var x=0;x<z.length;++x){var ee=z[x],ie=ee.className,Ee=ee.style,He=b.appendChild(Le("div",null,"CodeMirror-gutter "+ie));Ee&&(He.style.cssText=Ee),ie=="CodeMirror-linenumbers"&&(a.lineGutter=He,He.style.width=(a.lineNumWidth||1)+"px")}b.style.display=z.length?"":"none",Te(a)}function fn(a){Gt(a.display),al(a),pt(a)}function ln(a,b,z,x){var ee=this;this.input=z,ee.scrollbarFiller=Le("div",null,"CodeMirror-scrollbar-filler"),ee.scrollbarFiller.setAttribute("cm-not-content","true"),ee.gutterFiller=Le("div",null,"CodeMirror-gutter-filler"),ee.gutterFiller.setAttribute("cm-not-content","true"),ee.lineDiv=Ve("div",null,"CodeMirror-code"),ee.selectionDiv=Le("div",null,null,"position: relative; z-index: 1"),ee.cursorDiv=Le("div",null,"CodeMirror-cursors"),ee.measure=Le("div",null,"CodeMirror-measure"),ee.lineMeasure=Le("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=Le("div",[ie],null,"position: relative"),ee.sizer=Le("div",[ee.mover],"CodeMirror-sizer"),ee.sizerWidth=null,ee.heightForcer=Le("div",null,null,"position: absolute; height: "+It+"px; width: 1px;"),ee.gutters=Le("div",null,"CodeMirror-gutters"),ee.lineGutter=null,ee.scroller=Le("div",[ee.sizer,ee.heightForcer,ee.gutters],"CodeMirror-scroll"),ee.scroller.setAttribute("tabIndex","-1"),ee.wrapper=Le("div",[ee.scrollbarFiller,ee.gutterFiller,ee.scroller],"CodeMirror"),Ce&&Fe<8&&(ee.gutters.style.zIndex=-1,ee.scroller.style.paddingRight=0),!ge&&!(y&&he)&&(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=jt(x.gutters,x.lineNumbers),Gt(ee),z.init(ee)}var yn=0,En=null;Ce?En=-.53:y?En=15:De?En=-.7:Ue&&(En=-1/3);function Vn(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=Vn(a);return b.x*=En,b.y*=En,b}function Mn(a,b){var z=Vn(b),x=z.x,ee=z.y,ie=a.display,Ee=ie.scroller,He=Ee.scrollWidth>Ee.clientWidth,qe=Ee.scrollHeight>Ee.clientHeight;if(x&&He||ee&&qe){if(ee&&ce&&ge){e:for(var ht=b.target,on=ie.view;ht!=Ee;ht=ht.parentNode)for(var gn=0;gn<on.length;gn++)if(on[gn].node==ht){a.display.currentWheelTarget=ht;break e}}if(x&&!y&&!se&&En!=null){ee&&qe&&ur(a,Math.max(0,Ee.scrollTop+ee*En)),hr(a,Math.max(0,Ee.scrollLeft+x*En)),(!ee||ee&&qe)&&zt(b),ie.wheelStartX=null;return}if(ee&&En!=null){var _n=ee*En,Hn=a.doc.scrollTop,wr=Hn+ie.wrapper.clientHeight;_n<0?Hn=Math.max(0,Hn+_n-50):wr=Math.min(a.doc.height,wr+_n+50),Di(a,{top:Hn,bottom:wr})}yn<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 Kr=Ee.scrollLeft-ie.wheelStartX,so=Ee.scrollTop-ie.wheelStartY,Eo=so&&ie.wheelDY&&so/ie.wheelDY||Kr&&ie.wheelDX&&Kr/ie.wheelDX;ie.wheelStartX=ie.wheelStartY=null,Eo&&(En=(En*yn+Eo)/(yn+1),++yn)}},200)):(ie.wheelDX+=x,ie.wheelDY+=ee))}}var Dn=function(a,b){this.ranges=a,this.primIndex=b};Dn.prototype.primary=function(){return this.ranges[this.primIndex]},Dn.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},Dn.prototype.deepCopy=function(){for(var a=[],b=0;b<this.ranges.length;b++)a[b]=new Sn(Qt(this.ranges[b].anchor),Qt(this.ranges[b].head));return new Dn(a,this.primIndex)},Dn.prototype.somethingSelected=function(){for(var a=0;a<this.ranges.length;a++)if(!this.ranges[a].empty())return!0;return!1},Dn.prototype.contains=function(a,b){b||(b=a);for(var z=0;z<this.ranges.length;z++){var x=this.ranges[z];if(Ut(b,x.from())>=0&&Ut(a,x.to())<=0)return z}return-1};var Sn=function(a,b){this.anchor=a,this.head=b};Sn.prototype.from=function(){return _t(this.anchor,this.head)},Sn.prototype.to=function(){return rn(this.anchor,this.head)},Sn.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(_n,Hn){return Ut(_n.from(),Hn.from())}),z=Ft(b,ee);for(var ie=1;ie<b.length;ie++){var Ee=b[ie],He=b[ie-1],qe=Ut(He.to(),Ee.from());if(x&&!Ee.empty()?qe>0:qe>=0){var ht=_t(He.from(),Ee.from()),on=rn(He.to(),Ee.to()),gn=He.empty()?Ee.from()==Ee.head:He.from()==He.head;ie<=z&&--z,b.splice(--ie,2,new Sn(gn?on:ht,gn?ht:on))}}return new Dn(b,z)}function $n(a,b){return new Dn([new Sn(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(Ut(a,b.from)<0)return a;if(Ut(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 Lr(a,b){for(var z=[],x=0;x<a.sel.ranges.length;x++){var ee=a.sel.ranges[x];z.push(new Sn(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 He=b[Ee],qe=Dr(He.from,ee,ie),ht=Dr(Ar(He),ee,ie);if(ee=He.to,ie=ht,z=="around"){var on=a.sel.ranges[Ee],gn=Ut(on.head,on.anchor)<0;x[Ee]=new Sn(gn?ht:qe,gn?qe:ht)}else x[Ee]=new Sn(qe,qe)}return new Dn(x,a.sel.primIndex)}function Wr(a){a.doc.mode=nr(a.options,a.doc.modeOption),_r(a)}function _r(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 $r(a,b){return b.from.ch==0&&b.to.ch==0&&xt(b.text)==""&&(!a.cm||a.cm.options.wholeLineUpdateBefore)}function Mo(a,b,z,x){function ee(Go){return z?z[Go]:null}function ie(Go,xo,ri){vi(Go,xo,ri,x),Xo(Go,"change",Go,b)}function Ee(Go,xo){for(var ri=[],Mi=Go;Mi<xo;++Mi)ri.push(new oi(ht[Mi],ee(Mi),x));return ri}var He=b.from,qe=b.to,ht=b.text,on=Fn(a,He.line),gn=Fn(a,qe.line),_n=xt(ht),Hn=ee(ht.length-1),wr=qe.line-He.line;if(b.full)a.insert(0,Ee(0,ht.length)),a.remove(ht.length,a.size-ht.length);else if($r(a,b)){var Kr=Ee(0,ht.length-1);ie(gn,gn.text,Hn),wr&&a.remove(He.line,wr),Kr.length&&a.insert(He.line,Kr)}else if(on==gn)if(ht.length==1)ie(on,on.text.slice(0,He.ch)+_n+on.text.slice(qe.ch),Hn);else{var so=Ee(1,ht.length-1);so.push(new oi(_n+on.text.slice(qe.ch),Hn,x)),ie(on,on.text.slice(0,He.ch)+ht[0],ee(0)),a.insert(He.line+1,so)}else if(ht.length==1)ie(on,on.text.slice(0,He.ch)+ht[0]+gn.text.slice(qe.ch),ee(0)),a.remove(He.line+1,wr);else{ie(on,on.text.slice(0,He.ch)+ht[0],ee(0)),ie(gn,_n+gn.text.slice(qe.ch),Hn);var Eo=Ee(1,ht.length-1);wr>1&&a.remove(He.line+1,wr-1),a.insert(He.line+1,Eo)}Xo(a,"change",a,b)}function Ir(a,b,z){function x(ee,ie,Ee){if(ee.linked)for(var He=0;He<ee.linked.length;++He){var qe=ee.linked[He];if(qe.doc!=ie){var ht=Ee&&qe.sharedHist;z&&!ht||(b(qe.doc,ht),x(qe.doc,ee,ht))}}}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),zr(a),a.options.lineWrapping||ii(a),a.options.mode=b.modeOption,al(a)}function zr(a){(a.doc.direction=="rtl"?ue:Re)(a.display.lineDiv,"CodeMirror-rtl")}function ar(a){uo(a,function(){zr(a),al(a)})}function or(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 Rr(a,b){var z={from:Qt(b.from),to:Ar(b),text:Nn(a,b.from,b.to)};return pa(a,z,b.from.line,b.to.line+1),Ir(a,function(x){return pa(x,z,b.from.line,b.to.line+1)},!0),z}function Gr(a){for(;a.length;){var b=xt(a);if(b.ranges)a.pop();else break}}function lo(a,b){if(b)return Gr(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,He;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)))He=xt(Ee.changes),Ut(b.from,b.to)==0&&Ut(b.from,He.to)==0?He.to=Ar(b):Ee.changes.push(Rr(a,b));else{var qe=xt(ee.done);for((!qe||!qe.ranges)&&xi(a.sel,ee.done),Ee={changes:[Rr(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,He||nn(a,"historyAdded")}function Xr(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||Xr(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&&Gr(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 He=0;He<Ee.length;++He){for(var qe=Ee[He],ht=0;ht<ie.length;++ht)if(ie[ht].marker==qe.marker)continue e;ie.push(qe)}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?Dn.prototype.deepCopy.call(ie):ie);continue}var Ee=ie.changes,He=[];x.push({changes:He});for(var qe=0;qe<Ee.length;++qe){var ht=Ee[qe],on=void 0;if(He.push({from:ht.from,to:ht.to,text:ht.text}),b)for(var gn in ht)(on=gn.match(/^spans_(\d+)$/))&&Ft(b,Number(on[1]))>-1&&(xt(He)[gn]=ht[gn],delete ht[gn])}}return x}function Ri(a,b,z,x){if(x){var ee=a.anchor;if(z){var ie=Ut(b,ee)<0;ie!=Ut(z,ee)<0?(ee=b,b=z):ie!=Ut(b,z)<0&&(b=z)}return new Sn(ee,b)}else return new Sn(z||b,b)}function Ni(a,b,z,x,ee){ee==null&&(ee=a.cm&&(a.cm.display.shift||a.extend)),go(a,new Dn([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 Ma(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 Vo(a,b,z,x){go(a,$n(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 Sn(Bt(a,ee[ie].anchor),Bt(a,ee[ie].head))},origin:z&&z.origin};return nn(a,"beforeSelectionChange",a,x),a.cm&&nn(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,Ki(a,b,z)):go(a,b,z)}function go(a,b,z){Ki(a,b,z),Fi(a,a.sel,a.cm?a.cm.curOp.id:NaN,z)}function Ki(a,b,z){(cn(a,"beforeSelectionChange")||a.cm&&cn(a.cm,"beforeSelectionChange"))&&(b=Si(a,b,z));var x=z&&z.bias||(Ut(b.primary().head,a.sel.primary().head)<0?-1:1);qi(a,ea(a,b,x,!0)),!(z&&z.scroll===!1)&&a.cm&&An(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,Jt(a.cm)),Xo(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],He=b.ranges.length==a.sel.ranges.length&&a.sel.ranges[ie],qe=Da(a,Ee.anchor,He&&He.anchor,z,x),ht=Da(a,Ee.head,He&&He.head,z,x);(ee||qe!=Ee.anchor||ht!=Ee.head)&&(ee||(ee=b.ranges.slice(0,ie)),ee[ie]=new Sn(qe,ht))}return ee?vr(a.cm,ee,b.primIndex):b}function Oa(a,b,z,x,ee){var ie=Fn(a,b.line);if(ie.markedSpans)for(var Ee=0;Ee<ie.markedSpans.length;++Ee){var He=ie.markedSpans[Ee],qe=He.marker,ht="selectLeft"in qe?!qe.selectLeft:qe.inclusiveLeft,on="selectRight"in qe?!qe.selectRight:qe.inclusiveRight;if((He.from==null||(ht?He.from<=b.ch:He.from<b.ch))&&(He.to==null||(on?He.to>=b.ch:He.to>b.ch))){if(ee&&(nn(qe,"beforeCursorEnter"),qe.explicitlyCleared))if(ie.markedSpans){--Ee;continue}else break;if(!qe.atomic)continue;if(z){var gn=qe.find(x<0?1:-1),_n=void 0;if((x<0?on:ht)&&(gn=$o(a,gn,-x,gn&&gn.line==b.line?ie:null)),gn&&gn.line==b.line&&(_n=Ut(gn,z))&&(x<0?_n<0:_n>0))return Oa(a,gn,b,x,ee)}var Hn=qe.find(x<0?-1:1);return(x<0?ht:on)&&(Hn=$o(a,Hn,x,Hn.line==b.line?ie:null)),Hn?Oa(a,Hn,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 $o(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||Fn(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()),xe)}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,He){ee&&(x.from=Bt(a,ee)),ie&&(x.to=Bt(a,ie)),Ee&&(x.text=Ee),He!==void 0&&(x.origin=He)}),nn(a,"beforeChange",a,x),a.cm&&nn(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(!((cn(a,"beforeChange")||a.cm&&cn(a.cm,"beforeChange"))&&(b=ta(a,b,!0),!b))){var x=eo&&!z&&Jo(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]==""&&Ut(b.from,b.to)==0)){var z=Lr(a,b);Lo(a,b,z,a.cm?a.cm.curOp.id:NaN),Ga(a,b,z,ui(a,b));var x=[];Ir(a,function(ee,ie){!ie&&Ft(x,ee.history)==-1&&(Ra(ee.history,b),x.push(ee.history)),Ga(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,He=b=="undo"?ee.done:ee.undone,qe=b=="undo"?ee.undone:ee.done,ht=0;ht<He.length&&(ie=He[ht],!(z?ie.ranges&&!ie.equals(a.sel):!ie.ranges));ht++);if(ht!=He.length){for(ee.lastOrigin=ee.lastSelOrigin=null;;)if(ie=He.pop(),ie.ranges){if(xi(ie,qe),z&&!ie.equals(a.sel)){go(a,ie,{clearRedo:!1});return}Ee=ie}else if(x){He.push(ie);return}else break;var on=[];xi(Ee,qe),qe.push({changes:on,generation:ee.generation}),ee.generation=ie.generation||++ee.maxGeneration;for(var gn=cn(a,"beforeChange")||a.cm&&cn(a.cm,"beforeChange"),_n=function(Kr){var so=ie.changes[Kr];if(so.origin=b,gn&&!ta(a,so,!1))return He.length=0,{};on.push(Rr(a,so));var Eo=Kr?Lr(a,so):xt(He);Ga(a,so,Eo,ga(a,so)),!Kr&&a.cm&&a.cm.scrollIntoView({from:so.from,to:Ar(so)});var Go=[];Ir(a,function(xo,ri){!ri&&Ft(Go,xo.history)==-1&&(Ra(xo.history,so),Go.push(xo.history)),Ga(xo,so,null,ga(xo,so))})},Hn=ie.changes.length-1;Hn>=0;--Hn){var wr=_n(Hn);if(wr)return wr.v}}}}function Ea(a,b){if(b!=0&&(a.first+=b,a.sel=new Dn(Xt(a.sel.ranges,function(ee){return new Sn(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++)$l(a.cm,x,"gutter")}}function Ga(a,b,z,x){if(a.cm&&!a.cm.curOp)return no(a.cm,Ga)(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,Fn(a,ie).text.length),text:[b.text[0]],origin:b.origin}),b.removed=Nn(a,b.from,b.to),z||(z=Lr(a,b)),a.cm?ya(a.cm,b,x):Mo(a,b,x),Ki(a,z,xe),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,He=!1,qe=ie.line;a.options.lineWrapping||(qe=kt(Zn(Fn(x,ie.line))),x.iter(qe,Ee.line+1,function(Hn){if(Hn==ee.maxLine)return He=!0,!0})),x.sel.contains(b.from,b.to)>-1&&Jt(a),Mo(x,b,z,Ts(a)),a.options.lineWrapping||(x.iter(qe,ie.line+b.text.length,function(Hn){var wr=ci(Hn);wr>ee.maxLineLength&&(ee.maxLine=Hn,ee.maxLineLength=wr,ee.maxLineChanged=!0,He=!1)}),He&&(a.curOp.updateMaxLine=!0)),Or(x,ie.line),ai(a,400);var ht=b.text.length-(Ee.line-ie.line)-1;b.full?al(a):ie.line==Ee.line&&b.text.length==1&&!$r(a.doc,b)?$l(a,ie.line,"text"):al(a,ie.line,Ee.line+1,ht);var on=cn(a,"changes"),gn=cn(a,"change");if(gn||on){var _n={from:ie,to:Ee,text:b.text,removed:b.removed,origin:b.origin};gn&&Xo(a,"change",a,_n),on&&(a.curOp.changeObjs||(a.curOp.changeObjs=[])).push(_n)}a.display.selForContextMenu=null}function Ui(a,b,z,x,ee){var ie;x||(x=z),Ut(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 He=0;He<ie.ranges.length;He++)va(ie.ranges[He].anchor,b,z,x),va(ie.ranges[He].head,b,z,x);continue}for(var qe=0;qe<ie.changes.length;++qe){var ht=ie.changes[qe];if(z<ht.from.line)ht.from=Et(ht.from.line+x,ht.from.ch),ht.to=Et(ht.to.line+x,ht.to.ch);else if(b<=ht.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=Fn(a,rt(a,b)):ee=kt(b),ee==null?null:(x(ie,ee)&&a.cm&&$l(a.cm,ee,z),ie)}function Gi(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}Gi.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),Xo(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 Gi))){var He=[];this.collapse(He),this.children=[new Gi(He)],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,He=Ee;He<ee.lines.length;){var qe=new Gi(ee.lines.slice(He,He+=25));ee.height-=qe.height,this.children.splice(++x,0,qe),qe.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=Ft(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=kt(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=_i(this);sr(z,Math.max(0,z.height-ie)),a&&(uo(a,function(){Xa(a,z,-ie),$l(a,x,"widget")}),Xo(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=_i(this)-b;ee&&(tr(this.doc,x)||sr(x,x.height+ee),z&&uo(z,function(){z.curOp.forceUpdate=!0,Xa(z,x,ee),Xo(z,"lineWidgetChanged",z,a,kt(x))}))},bt(ia);function Xa(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 He=Ee.widgets||(Ee.widgets=[]);if(ee.insertAt==null?He.push(ee):He.splice(Math.min(He.length-1,Math.max(0,ee.insertAt)),0,ee),ee.line=Ee,ie&&!tr(a,Ee)){var qe=wo(Ee)<a.scrollTop;sr(Ee,Ee.height+_i(ee)),qe&&pn(ie,ee.height),ie.curOp.forceUpdate=!0}return!0}),ie&&Xo(ie,"lineWidgetAdded",ie,ee,typeof b=="number"?b:kt(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),cn(this,"clear")){var z=this.find();z&&Xo(this,"clear",z.from,z.to)}for(var x=null,ee=null,ie=0;ie<this.lines.length;++ie){var Ee=this.lines[ie],He=Ro(Ee.markedSpans,this);a&&!this.collapsed?$l(a,kt(Ee),"text"):a&&(He.to!=null&&(ee=kt(Ee)),He.from!=null&&(x=kt(Ee))),Ee.markedSpans=ei(Ee.markedSpans,He),He.from==null&&this.collapsed&&!tr(this.doc,Ee)&&a&&sr(Ee,Al(a.display))}if(a&&this.collapsed&&!a.options.lineWrapping)for(var qe=0;qe<this.lines.length;++qe){var ht=Zn(this.lines[qe]),on=ci(ht);on>a.display.maxLineLength&&(a.display.maxLine=ht,a.display.maxLineLength=on,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&&Xo(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:kt(ie),Ee.from),a==-1))return z;if(Ee.to!=null&&(x=Et(b?ie:kt(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=kt(b.line),Ee=po(x,ie);if(Ee&&(es(Ee),x.curOp.selectionChanged=x.curOp.forceUpdate=!0),x.curOp.updateMaxLine=!0,!tr(z.doc,ee)&&z.height!=null){var He=z.height;z.height=null;var qe=_i(z)-He;qe&&sr(ee,ee.height+qe)}Xo(x,"markerChanged",x,a)})},ll.prototype.attachLine=function(a){if(!this.lines.length&&this.doc.cm){var b=this.doc.cm.curOp;(!b.maybeHiddenMarkers||Ft(b.maybeHiddenMarkers,this)==-1)&&(b.maybeUnhiddenMarkers||(b.maybeUnhiddenMarkers=[])).push(this)}this.lines.push(a)},ll.prototype.detachLine=function(a){if(this.lines.splice(Ft(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 Ml(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,Ml)(a,b,z,x,ee);var ie=new ll(a,ee),Ee=Ut(b,z);if(x&&Tt(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(Jn(a,b.line,b,z,ie)||b.line!=z.line&&Jn(a,z.line,b,z,ie))throw new Error("Inserting collapsed marker partially overlapping an existing one");Ko()}ie.addToHistory&&Lo(a,{from:b,to:z,origin:"markText"},a.sel,NaN);var He=b.line,qe=a.cm,ht;if(a.iter(He,z.line+1,function(gn){qe&&ie.collapsed&&!qe.options.lineWrapping&&Zn(gn)==qe.display.maxLine&&(ht=!0),ie.collapsed&&He!=b.line&&sr(gn,0),yo(gn,new rr(ie,He==b.line?b.ch:null,He==z.line?z.ch:null)),++He}),ie.collapsed&&a.iter(b.line,z.line+1,function(gn){tr(a,gn)&&sr(gn,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),qe){if(ht&&(qe.curOp.updateMaxLine=!0),ie.collapsed)al(qe,b.line,z.line+1);else if(ie.className||ie.startStyle||ie.endStyle||ie.css||ie.attributes||ie.title)for(var on=b.line;on<=z.line;on++)$l(qe,on,"text");ie.atomic&&ba(qe.doc),Xo(qe,"markerAdded",qe,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();Xo(this,"clear")}},Sa.prototype.find=function(a,b){return this.primary.find(a,b)},bt(Sa);function as(a,b,z,x,ee){x=Tt(x),x.shared=!1;var ie=[Ml(a,b,z,x,ee)],Ee=ie[0],He=x.widgetNode;return Ir(a,function(qe){He&&(x.widgetNode=He.cloneNode(!0)),ie.push(Ml(qe,Bt(qe,b),Bt(qe,z),x,ee));for(var ht=0;ht<qe.linked.length;++ht)if(qe.linked[ht].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(Ut(ie,Ee)){var He=Ml(a,ie,Ee,x.primary,x.primary.type);x.markers.push(He),He.parent=x}}}function pl(a){for(var b=function(x){var ee=a[x],ie=[ee.primary.doc];Ir(ee.primary.doc,function(qe){return ie.push(qe)});for(var Ee=0;Ee<ee.markers.length;Ee++){var He=ee.markers[Ee];Ft(ie,He.doc)==-1&&(He.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 Gi([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=$n(ie),this.history=new or(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)),Mo(this,{from:ie,to:ie,text:a}),go(this,$n(ie),xe)};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=cr(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,Fn(this,z).text.length),text:this.splitLines(a),origin:"setValue",full:!0},!0),this.cm&&Pn(this.cm,0,0),go(this,$n(b),xe)}),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=Nn(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(gt(this,a))return Fn(this,a)},getLineNumber:function(a){return kt(a)},getLineHandleVisualStart:function(a){return typeof a=="number"&&(a=Fn(this,a)),Zn(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){Vo(this,Bt(this,typeof a=="number"?Et(a,b||0):a),null,z)}),setSelection:fo(function(a,b,z){Vo(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=Xt(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 Sn(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 Sn(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=Nn(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=Nn(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 He=b&&b!="end"&&Pr(this,x,b),qe=x.length-1;qe>=0;qe--)ca(this,x[qe]);He?zo(this,He):this.cm&&An(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 or(this.history.maxGeneration),Ir(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 or(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(!gt(this,a)||(b=a,a=Fn(this,a),!a))return null}else if(b=kt(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(tt(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(tt(z));if(!Ee)return!1;var He=Ee.index+Ee[0].length;x[ee]=ie.slice(0,Ee.index)+(!Ee.index||He==ie.length?"":" ")+ie.slice(He)||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 Ml(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),Ml(this,a,a,z,"bookmark")},findMarksAt:function(a){a=Bt(this,a);var b=[],z=Fn(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 He=0;He<Ee.length;He++){var qe=Ee[He];!(qe.to!=null&&ee==a.line&&a.ch>=qe.to||qe.from==null&&ee!=a.line||qe.from!=null&&ee==b.line&&qe.from>=b.ch)&&(!z||z(qe.marker))&&x.push(qe.marker.parent||qe.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(cr(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(cr(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];Ir(a,function(ee){return x.push(ee.id)},!0),a.history=new or(null),a.history.done=Ca(this.history.done,x),a.history.undone=Ca(this.history.undone,x)}},iterLinkedDocs:function(a){Ir(this,a)},getMode:function(){return this.mode},getEditor:function(){return this.cm},splitLines:function(a){return this.lineSep?a.split(this.lineSep):Rn(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&&ar(this.cm))})}),jo.prototype.eachLine=jo.prototype.iter;var Na=0;function sl(a){var b=this;if(Ds(b),!(Yt(b,a)||gr(b.display,a))){zt(a),Ce&&(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,He=function(){++Ee==ee&&no(b,function(){z=Bt(b.doc,z);var Hn={from:z,to:z,text:b.doc.splitLines(ie.filter(function(wr){return wr!=null}).join(b.doc.lineSeparator())),origin:"paste"};ca(b.doc,Hn),zo(b.doc,$n(Bt(b.doc,z),Bt(b.doc,Ar(Hn))))})()},qe=function(Hn,wr){if(b.options.allowDropFileTypes&&Ft(b.options.allowDropFileTypes,Hn.type)==-1){He();return}var Kr=new FileReader;Kr.onerror=function(){return He()},Kr.onload=function(){var so=Kr.result;if(/[\x00-\x08\x0e-\x1f]{2}/.test(so)){He();return}ie[wr]=so,He()},Kr.readAsText(Hn)},ht=0;ht<x.length;ht++)qe(x[ht],ht);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 on=a.dataTransfer.getData("Text");if(on){var gn;if(b.state.draggingText&&!b.state.draggingText.copy&&(gn=b.listSelections()),Ki(b.doc,$n(z,z)),gn)for(var _n=0;_n<gn.length;++_n)Ui(b.doc,"",gn[_n].anchor,gn[_n].head,"drag");b.replaceSelection(on,"around","paste"),b.display.input.focus()}}catch(Hn){}}}}function Bl(a,b){if(Ce&&(!a.state.draggingText||+new Date-Na<100)){ct(b);return}if(!(Yt(a,b)||gr(a.display,b))&&(b.dataTransfer.setData("Text",a.getSelection()),b.dataTransfer.effectAllowed="copyMove",b.dataTransfer.setDragImage&&!Ue)){var z=Le("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 _l(a,b){var z=Ql(a,b);if(z){var x=document.createDocumentFragment();Ys(a,z,x),a.display.dragCursor||(a.display.dragCursor=Le("div",null,"CodeMirror-cursors CodeMirror-dragcursors"),a.display.lineSpace.insertBefore(a.display.dragCursor,a.display.cursorDiv)),ye(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 Va=65;Va<=90;Va++)fi[Va]=String.fromCharCode(Va);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=ce?ol.macDefault:ol.pcDefault;function Jl(a){var b=a.split(/-(?!$)/);a=b[b.length-1];for(var z,x,ee,ie,Ee=0;Ee<b.length-1;Ee++){var He=b[Ee];if(/^(cmd|meta|m)$/i.test(He))ie=!0;else if(/^a(lt)?$/i.test(He))z=!0;else if(/^(c|ctrl|control)$/i.test(He))x=!0;else if(/^s(hift)?$/i.test(He))ee=!0;else throw new Error("Unrecognized modifier name: "+He)}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=Xt(z.split(" "),Jl),ie=0;ie<ee.length;ie++){var Ee=void 0,He=void 0;ie==ee.length-1?(He=ee.join(" "),Ee=x):(He=ee.slice(0,ie+1).join(" "),Ee="...");var qe=b[He];if(!qe)b[He]=Ee;else if(qe!=Ee)throw new Error("Inconsistent bindings for "+He)}delete a[z]}for(var ht in b)a[ht]=b[ht];return a}function Bs(a,b,z,x){b=_s(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 _s(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&&Ut(ie.from,xt(x).to)<=0;){var Ee=x.pop();if(Ut(Ee.from,ie.from)<0){ie.from=Ee.from;break}}x.push(ie)}uo(a,function(){for(var He=x.length-1;He>=0;He--)Ui(a.doc,"",x[He].from,x[He].to,"+delete");An(a)})}function tu(a,b,z){var x=vt(a.text,b+z,z);return x<0||x>a.text.length?null:x}function Gs(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=Qe(z,b.doc.direction);if(ie){var Ee=ee<0?xt(ie):ie[0],He=ee<0==(Ee.level==1),qe=He?"after":"before",ht;if(Ee.level>0||b.doc.direction=="rtl"){var on=Xi(b,z);ht=ee<0?z.text.length-1:0;var gn=Za(b,on,ht).top;ht=et(function(_n){return Za(b,on,_n).top==gn},ee<0==(Ee.level==1)?Ee.from:Ee.to-1,ht),qe=="before"&&(ht=tu(z,ht,1))}else ht=ee<0?Ee.to:Ee.from;return new Et(x,ht,qe)}}return new Et(x,ee<0?z.text.length:0,ee<0?"before":"after")}function vu(a,b,z,x){var ee=Qe(b,a.doc.direction);if(!ee)return Gs(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=yt(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 Gs(b,z,x);var He=function(Eo,Go){return tu(b,Eo instanceof Et?Eo.ch:Eo,Go)},qe,ht=function(Eo){return a.options.lineWrapping?(qe=qe||Xi(a,b),Ka(a,b,qe,Eo)):{begin:0,end:b.text.length}},on=ht(z.sticky=="before"?He(z,-1):z.ch);if(a.doc.direction=="rtl"||Ee.level==1){var gn=Ee.level==1==x<0,_n=He(z,gn?1:-1);if(_n!=null&&(gn?_n<=Ee.to&&_n<=on.end:_n>=Ee.from&&_n>=on.begin)){var Hn=gn?"before":"after";return new Et(z.line,_n,Hn)}}var wr=function(Eo,Go,xo){for(var ri=function(Wa,Cl){return Cl?new Et(z.line,He(Wa,1),"before"):new Et(z.line,Wa,"after")};Eo>=0&&Eo<ee.length;Eo+=Go){var Mi=ee[Eo],Ai=Go>0==(Mi.level!=1),na=Ai?xo.begin:He(xo.end,-1);if(Mi.from<=na&&na<Mi.to||(na=Ai?Mi.from:He(Mi.to,-1),xo.begin<=na&&na<xo.end))return ri(na,Ai)}},Kr=wr(ie+x,x,on);if(Kr)return Kr;var so=x>0?on.end:He(on.begin,-1);return so!=null&&!(x>0&&so==b.text.length)&&(Kr=wr(x>0?0:ee.length-1,x,ht(so)),Kr)?Kr:null}var ms={selectAll:si,singleSelection:function(a){return a.setSelection(a.getCursor("anchor"),a.getCursor("head"),xe)},killLine:function(a){return ys(a,function(b){if(b.empty()){var z=Fn(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=Ke(a.getLine(ie.line),ie.ch,x);b.push(Nt(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=Fn(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=Fn(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 Sn(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);An(a)})},openLine:function(a){return a.replaceSelection(`
|
|
|
`,"start")},toggleOverwrite:function(a){return a.toggleOverwrite()}};function ru(a,b){var z=Fn(a.doc,b),x=Zn(z);return x!=z&&(b=kt(x)),nu(!0,a,x,b,1)}function wu(a,b){var z=Fn(a.doc,b),x=kn(z);return x!=z&&(b=kt(x)),nu(!0,a,z,b,-1)}function ou(a,b){var z=ru(a,b.line),x=Fn(a.doc,z.line),ee=Qe(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)!=ut}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 Se;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"&&Xo(a,"keyHandled",a,b,z),(ee=="handled"||ee=="multi")&&(zt(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=Oe(),!Yt(b,a))){Ce&&Fe<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&&!Vt&&(ce?a.metaKey:a.ctrlKey)&&b.replaceSelection("",null,"cut")),y&&!ce&&!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;ue(b,"CodeMirror-crosshair");function z(x){(x.keyCode==18||!x.altKey)&&(Re(b,"CodeMirror-crosshair"),vn(document,"keyup",z),vn(document,"mouseover",z))}en(document,"keyup",z),en(document,"mouseover",z)}function su(a){a.keyCode==16&&(this.doc.sel.shift=!1),Yt(this,a)}function uu(a){var b=this;if(!(a.target&&a.target!=b.display.input.getField())&&!(gr(b.display,a)||Yt(b,a)||a.ctrlKey&&!a.altKey||ce&&a.metaKey)){var z=a.keyCode,x=a.charCode;if(se&&z==Hs){Hs=null,zt(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,Xs=function(a,b,z){this.time=a,this.pos=b,this.button=z};Xs.prototype.compare=function(a,b,z){return this.time+Fu>a&&Ut(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 Xs(z,a,b),Cs=null,"double"):(Cs=new Xs(z,a,b),Ps=null,"single")}function du(a){var b=this,z=b.display;if(!(Yt(b,a)||z.activeTouch&&z.input.supportsTouch())){if(z.input.ensurePolled(),z.shift=a.shiftKey,gr(z,a)){ge||(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):Zt(a)==z.scroller&&zt(a):ee==2?(x&&Ni(b.doc,x),setTimeout(function(){return z.input.focus()},20)):ee==3&&(Be?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 He=!1;try{a.isReadOnly()&&(a.state.suppressEdits=!0),He=Ee(a,z)!=ut}finally{a.state.suppressEdits=!1}return He})}function la(a,b,z){var x=a.getOption("configureMouse"),ee=x?x(a,b,z):{};if(ee.unit==null){var ie=Ie?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=ce?z.metaKey:z.ctrlKey),ee.moveOnDrag==null&&(ee.moveOnDrag=!(ce?z.altKey:z.ctrlKey)),ee}function ma(a,b,z,x){Ce?setTimeout(lt(pu,a),0):a.curOp.focus=Oe();var ee=la(a,z,x),ie=a.doc.sel,Ee;a.options.dragDrop&&dn&&!a.isReadOnly()&&z=="single"&&(Ee=ie.contains(b))>-1&&(Ut((Ee=ie.ranges[Ee]).from(),b)<0||b.xRel>0)&&(Ut(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(ht){ge&&(ee.scroller.draggable=!1),a.state.draggingText=!1,vn(ee.wrapper.ownerDocument,"mouseup",Ee),vn(ee.wrapper.ownerDocument,"mousemove",He),vn(ee.scroller,"dragstart",qe),vn(ee.scroller,"drop",Ee),ie||(zt(ht),x.addNew||Ni(a.doc,z,null,null,x.extend),ge&&!Ue||Ce&&Fe==9?setTimeout(function(){ee.wrapper.ownerDocument.body.focus({preventScroll:!0}),ee.input.focus()},20):ee.input.focus())}),He=function(ht){ie=ie||Math.abs(b.clientX-ht.clientX)+Math.abs(b.clientY-ht.clientY)>=10},qe=function(){return ie=!0};ge&&(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",He),en(ee.scroller,"dragstart",qe),en(ee.scroller,"drop",Ee),ks(a),setTimeout(function(){return ee.input.focus()},20)}function Rl(a,b,z){if(z=="char")return new Sn(b,b);if(z=="word")return a.findWordAt(b);if(z=="line")return new Sn(Et(b.line,0),Bt(a.doc,Et(b.line+1,0)));var x=z(a,b);return new Sn(x.from,x.to)}function yl(a,b,z,x){var ee=a.display,ie=a.doc;zt(b);var Ee,He,qe=ie.sel,ht=qe.ranges;if(x.addNew&&!x.extend?(He=ie.sel.contains(z),He>-1?Ee=ht[He]:Ee=new Sn(z,z)):(Ee=ie.sel.primary(),He=ie.sel.primIndex),x.unit=="rectangle")x.addNew||(Ee=new Sn(z,z)),z=Ql(a,b,!0,!0),He=-1;else{var on=Rl(a,z,x.unit);x.extend?Ee=Ri(Ee,on.anchor,on.head,x.extend):Ee=on}x.addNew?He==-1?(He=ht.length,go(ie,vr(a,ht.concat([Ee]),He),{scroll:!1,origin:"*mouse"})):ht.length>1&&ht[He].empty()&&x.unit=="char"&&!x.extend?(go(ie,vr(a,ht.slice(0,He).concat(ht.slice(He+1)),0),{scroll:!1,origin:"*mouse"}),qe=ie.sel):Ma(ie,He,Ee,ke):(He=0,go(ie,new Dn([Ee],0),ke),qe=ie.sel);var gn=z;function _n(xo){if(Ut(gn,xo)!=0)if(gn=xo,x.unit=="rectangle"){for(var ri=[],Mi=a.options.tabSize,Ai=Ke(Fn(ie,z.line).text,z.ch,Mi),na=Ke(Fn(ie,xo.line).text,xo.ch,Mi),Wa=Math.min(Ai,na),Cl=Math.max(Ai,na),Qa=Math.min(z.line,xo.line),Gl=Math.min(a.lastLine(),Math.max(z.line,xo.line));Qa<=Gl;Qa++){var Zl=Fn(ie,Qa).text,cl=Rt(Zl,Wa,Mi);Wa==Cl?ri.push(new Sn(Et(Qa,cl),Et(Qa,cl))):Zl.length>cl&&ri.push(new Sn(Et(Qa,cl),Et(Qa,Rt(Zl,Cl,Mi))))}ri.length||ri.push(new Sn(z,z)),go(ie,vr(a,qe.ranges.slice(0,He).concat(ri),He),{origin:"*mouse",scroll:!1}),a.scrollIntoView(xo)}else{var zl=Ee,Fl=Rl(a,xo,x.unit),ml=zl.anchor,dl;Ut(Fl.anchor,ml)>0?(dl=Fl.head,ml=_t(zl.from(),Fl.anchor)):(dl=Fl.anchor,ml=rn(zl.to(),Fl.head));var Ja=qe.ranges.slice(0);Ja[He]=Is(a,new Sn(Bt(ie,ml),dl)),go(ie,vr(a,Ja,He),ke)}}var Hn=ee.wrapper.getBoundingClientRect(),wr=0;function Kr(xo){var ri=++wr,Mi=Ql(a,xo,!0,x.unit=="rectangle");if(Mi)if(Ut(Mi,gn)!=0){a.curOp.focus=Oe(),_n(Mi);var Ai=ae(ee,ie);(Mi.line>=Ai.to||Mi.line<Ai.from)&&setTimeout(no(a,function(){wr==ri&&Kr(xo)}),150)}else{var na=xo.clientY<Hn.top?-20:xo.clientY>Hn.bottom?20:0;na&&setTimeout(no(a,function(){wr==ri&&(ee.scroller.scrollTop+=na,Kr(xo))}),50)}}function so(xo){a.state.selectingText=!1,wr=1/0,xo&&(zt(xo),ee.input.focus()),vn(ee.wrapper.ownerDocument,"mousemove",Eo),vn(ee.wrapper.ownerDocument,"mouseup",Go),ie.history.lastSelOrigin=null}var Eo=no(a,function(xo){xo.buttons===0||!wt(xo)?so(xo):Kr(xo)}),Go=no(a,so);a.state.selectingText=Go,en(ee.wrapper.ownerDocument,"mousemove",Eo),en(ee.wrapper.ownerDocument,"mouseup",Go)}function Is(a,b){var z=b.anchor,x=b.head,ee=Fn(a.doc,z.line);if(Ut(z,x)==0&&z.sticky==x.sticky)return b;var ie=Qe(ee);if(!ie)return b;var Ee=yt(ie,z.ch,z.sticky),He=ie[Ee];if(He.from!=z.ch&&He.to!=z.ch)return b;var qe=Ee+(He.from==z.ch==(He.level!=1)?0:1);if(qe==0||qe==ie.length)return b;var ht;if(x.line!=z.line)ht=(x.line-z.line)*(a.doc.direction=="ltr"?1:-1)>0;else{var on=yt(ie,x.ch,x.sticky),gn=on-Ee||(x.ch-z.ch)*(He.level==1?-1:1);on==qe-1||on==qe?ht=gn<0:ht=gn>0}var _n=ie[qe+(ht?-1:0)],Hn=ht==(_n.level==1),wr=Hn?_n.from:_n.to,Kr=Hn?"after":"before";return z.ch==wr&&z.sticky==Kr?b:new Sn(new Et(z.line,wr,Kr),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(_n){return!1}if(ee>=Math.floor(a.display.gutters.getBoundingClientRect().right))return!1;x&&zt(b);var Ee=a.display,He=Ee.lineDiv.getBoundingClientRect();if(ie>He.bottom||!cn(a,z))return Cn(b);ie-=He.top-Ee.viewOffset;for(var qe=0;qe<a.display.gutterSpecs.length;++qe){var ht=Ee.gutters.childNodes[qe];if(ht&&ht.getBoundingClientRect().right>=ee){var on=qt(a.doc,ie),gn=a.display.gutterSpecs[qe];return nn(a,z,a,on,gn.className,b),Cn(b)}}}function ls(a,b){return hs(a,b,"gutterClick",!0)}function Ms(a,b){gr(a.display,b)||fu(a,b)||Yt(a,b,"contextmenu")||Be||a.display.input.onContextMenu(b)}function fu(a,b){return cn(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-"),Vl(a)}var Qs={toString:function(){return"CodeMirror.Init"}},ku={},yu={};function Xu(a){var b=a.optionHandlers;function z(x,ee,ie,Ee){a.defaults[x]=ee,ie&&(b[x]=Ee?function(He,qe,ht){ht!=Qs&&ie(He,qe,ht)}: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){_r(x),Vl(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(qe){for(var ht=0;;){var on=qe.text.indexOf(ee,ht);if(on==-1)break;ht=on+ee.length,ie.push(Et(Ee,on))}Ee++});for(var He=ie.length-1;He>=0;He--)Ui(x.doc,ee,ie[He],Et(ie[He].line,ie[He].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",he?"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=_s(ee),He=ie!=Qs&&_s(ie);He&&He.detach&&He.detach(x,Ee),Ee.attach&&Ee.attach(x,He||null)}),z("extraKeys",null),z("configureMouse",null),z("lineWrapping",!1,$u,!0),z("gutters",[],function(x,ee){x.display.gutterSpecs=jt(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=jt(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,_r,!0),z("addModeClass",!1,_r,!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,_r,!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:vn;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 $u(a){a.options.lineWrapping?(ue(a.display.wrapper,"CodeMirror-wrap"),a.display.sizer.style.minWidth="",a.display.sizerWidth=null):(Re(a.display.wrapper,"CodeMirror-wrap"),ii(a)),cs(a),al(a),Vl(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?Tt(b):{},Tt(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 ln(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 Se,keySeq:null,specialChars:null},b.autofocus&&!he&&ie.input.focus(),Ce&&Fe<11&&setTimeout(function(){return z.display.input.reset(!0)},20),Ju(this),aa(),Zr(this),this.curOp.forceUpdate=!0,Fr(this,x),b.autofocus&&!he||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 He=0;He<Pu.length;++He)Pu[He](this);Ur(this),ge&&b.lineWrapping&&getComputedStyle(ie.lineDiv).textRendering=="optimizelegibility"&&(ie.lineDiv.style.textRendering="auto")}Ya.defaults=ku,Ya.optionHandlers=yu;function Ju(a){var b=a.display;en(b.scroller,"mousedown",no(a,du)),Ce&&Fe<11?en(b.scroller,"dblclick",no(a,function(qe){if(!Yt(a,qe)){var ht=Ql(a,qe);if(!(!ht||ls(a,qe)||gr(a.display,qe))){zt(qe);var on=a.findWordAt(ht);Ni(a.doc,on.anchor,on.head)}}})):en(b.scroller,"dblclick",function(qe){return Yt(a,qe)||zt(qe)}),en(b.scroller,"contextmenu",function(qe){return Ms(a,qe)}),en(b.input.getField(),"contextmenu",function(qe){b.scroller.contains(qe.target)||Ms(a,qe)});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(qe){if(qe.touches.length!=1)return!1;var ht=qe.touches[0];return ht.radiusX<=1&&ht.radiusY<=1}function Ee(qe,ht){if(ht.left==null)return!0;var on=ht.left-qe.left,gn=ht.top-qe.top;return on*on+gn*gn>20*20}en(b.scroller,"touchstart",function(qe){if(!Yt(a,qe)&&!ie(qe)&&!ls(a,qe)){b.input.ensurePolled(),clearTimeout(z);var ht=+new Date;b.activeTouch={start:ht,moved:!1,prev:ht-x.end<=300?x:null},qe.touches.length==1&&(b.activeTouch.left=qe.touches[0].pageX,b.activeTouch.top=qe.touches[0].pageY)}}),en(b.scroller,"touchmove",function(){b.activeTouch&&(b.activeTouch.moved=!0)}),en(b.scroller,"touchend",function(qe){var ht=b.activeTouch;if(ht&&!gr(b,qe)&&ht.left!=null&&!ht.moved&&new Date-ht.start<300){var on=a.coordsChar(b.activeTouch,"page"),gn;!ht.prev||Ee(ht,ht.prev)?gn=new Sn(on,on):!ht.prev.prev||Ee(ht,ht.prev.prev)?gn=a.findWordAt(on):gn=new Sn(Et(on.line,0),Bt(a.doc,Et(on.line+1,0))),a.setSelection(gn.anchor,gn.head),a.focus(),zt(qe)}ee()}),en(b.scroller,"touchcancel",ee),en(b.scroller,"scroll",function(){b.scroller.clientHeight&&(ur(a,b.scroller.scrollTop),hr(a,b.scroller.scrollLeft,!0),nn(a,"scroll",a))}),en(b.scroller,"mousewheel",function(qe){return Mn(a,qe)}),en(b.scroller,"DOMMouseScroll",function(qe){return Mn(a,qe)}),en(b.wrapper,"scroll",function(){return b.wrapper.scrollTop=b.wrapper.scrollLeft=0}),b.dragFunctions={enter:function(qe){Yt(a,qe)||ct(qe)},over:function(qe){Yt(a,qe)||(_l(a,qe),ct(qe))},start:function(qe){return Bl(a,qe)},drop:no(a,sl),leave:function(qe){Yt(a,qe)||Ds(a)}};var He=b.input.getField();en(He,"keyup",function(qe){return su.call(a,qe)}),en(He,"keydown",no(a,lu)),en(He,"keypress",no(a,uu)),en(He,"focus",function(qe){return is(a,qe)}),en(He,"blur",function(qe){return ds(a,qe)})}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,He=Fn(ee,b),qe=Ke(He.text,null,Ee);He.stateAfter&&(He.stateAfter=null);var ht=He.text.match(/^\s*/)[0],on;if(!x&&!/\S/.test(He.text))on=0,z="not";else if(z=="smart"&&(on=ee.mode.indent(ie,He.text.slice(ht.length),He.text),on==ut||on>150)){if(!x)return;z="prev"}z=="prev"?b>ee.first?on=Ke(Fn(ee,b-1).text,null,Ee):on=0:z=="add"?on=qe+a.options.indentUnit:z=="subtract"?on=qe-a.options.indentUnit:typeof z=="number"&&(on=qe+z),on=Math.max(0,on);var gn="",_n=0;if(a.options.indentWithTabs)for(var Hn=Math.floor(on/Ee);Hn;--Hn)_n+=Ee,gn+=" ";if(_n<on&&(gn+=Nt(on-_n)),gn!=ht)return Ui(ee,gn,Et(b,0),Et(b,ht.length),"+input"),He.stateAfter=null,!0;for(var wr=0;wr<ee.sel.ranges.length;wr++){var Kr=ee.sel.ranges[wr];if(Kr.head.line==b&&Kr.head.ch<ht.length){var so=Et(b,ht.length);Ma(ee,wr,new Sn(so,so));break}}}var ss=null;function Cu(a){ss=a}function Iu(a,b,z,x,ee){var ie=a.doc;a.display.shift=!1,x||(x=ie.sel);var Ee=+new Date-200,He=ee=="paste"||a.state.pasteIncoming>Ee,qe=Rn(b),ht=null;if(He&&x.ranges.length>1)if(ss&&ss.text.join(`
|
|
|
`)==b){if(x.ranges.length%ss.text.length==0){ht=[];for(var on=0;on<ss.text.length;on++)ht.push(ie.splitLines(ss.text[on]))}}else qe.length==x.ranges.length&&a.options.pasteLinesPerSelection&&(ht=Xt(qe,function(Eo){return[Eo]}));for(var gn=a.curOp.updateInput,_n=x.ranges.length-1;_n>=0;_n--){var Hn=x.ranges[_n],wr=Hn.from(),Kr=Hn.to();Hn.empty()&&(z&&z>0?wr=Et(wr.line,wr.ch-z):a.state.overwrite&&!He?Kr=Et(Kr.line,Math.min(Fn(ie,Kr.line).text.length,Kr.ch+xt(qe).length)):He&&ss&&ss.lineWise&&ss.text.join(`
|
|
|
`)==qe.join(`
|
|
|
`)&&(wr=Kr=Et(wr.line,0)));var so={from:wr,to:Kr,text:ht?ht[_n%ht.length]:qe,origin:ee||(He?"paste":a.state.cutIncoming>Ee?"cut":"+input")};ca(a.doc,so),Xo(a,"inputRead",a,so)}b&&!He&&Zu(a,b),An(a),a.curOp.updateInput<2&&(a.curOp.updateInput=gn),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 Iu(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 He=0;He<ie.electricChars.length;He++)if(b.indexOf(ie.electricChars.charAt(He))>-1){Ee=mu(a,ee.head.line,"smart");break}}else ie.electricInput&&ie.electricInput.test(Fn(a.doc,ee.head.line).text.slice(0,ee.head.ch))&&(Ee=mu(a,ee.head.line,"smart"));Ee&&Xo(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=Le("textarea",null,null,"position: absolute; bottom: -1em; padding: 0; width: 1px; height: 1em; outline: none"),b=Le("div",[a],null,"overflow: hidden; position: relative; width: 3px; height: 0px;");return ge?a.style.width="1000px":a.setAttribute("wrap","off"),we&&(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),nn(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"](_s(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.");Wt(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"),gt(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 He=ee[Ee];if(He.empty())He.head.line>ie&&(mu(this,He.head.line,x,!0),ie=He.head.line,Ee==this.doc.sel.primIndex&&An(this));else{var qe=He.from(),ht=He.to(),on=Math.max(ie,qe.line);ie=Math.min(this.lastLine(),ht.line-(ht.ch?0:1))+1;for(var gn=on;gn<ie;++gn)mu(this,gn,x);var _n=this.doc.sel.ranges;qe.ch==0&&ee.length==_n.length&&_n[Ee].from().ch>0&&Ma(this.doc,Ee,new Sn(qe,_n[Ee].to()),xe)}}}),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=Mr(this,Fn(this.doc,x.line)),ie=0,Ee=(ee.length-1)/2,He=x.ch,qe;if(He==0)qe=ee[2];else for(;;){var ht=ie+Ee>>1;if((ht?ee[ht*2-1]:0)>=He)Ee=ht;else if(ee[ht*2+1]<He)ie=ht+1;else{qe=ee[ht*2+2];break}}var on=qe?qe.indexOf("overlay "):-1;return on<0?qe:on==0?null:qe.slice(0,on-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],He=this.getModeAt(x);if(typeof He[ee]=="string")Ee[He[ee]]&&ie.push(Ee[He[ee]]);else if(He[ee])for(var qe=0;qe<He[ee].length;qe++){var ht=Ee[He[ee][qe]];ht&&ie.push(ht)}else He.helperType&&Ee[He.helperType]?ie.push(Ee[He.helperType]):Ee[He.name]&&ie.push(Ee[He.name]);for(var on=0;on<Ee._global.length;on++){var gn=Ee._global[on];gn.pred(He,this)&&Ft(ie,gn.val)==-1&&ie.push(gn.val)}return ie},getStateAfter:function(x,ee){var ie=this.doc;return x=rt(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(),$a(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,qt(this.doc,x+this.display.viewOffset)},heightAtLine:function(x,ee,ie){var Ee=!1,He;if(typeof x=="number"){var qe=this.doc.first+this.doc.size-1;x<this.doc.first?x=this.doc.first:x>qe&&(x=qe,Ee=!0),He=Fn(this.doc,x)}else He=x;return tl(this,He,{top:0,left:0},ee||"page",ie||Ee).top+(Ee?this.doc.height-wo(He):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,He){var qe=this.display;x=$a(this,Bt(this.doc,x));var ht=x.bottom,on=x.left;if(ee.style.position="absolute",ee.setAttribute("cm-ignore-events","true"),this.display.input.setUneditable(ee),qe.sizer.appendChild(ee),Ee=="over")ht=x.top;else if(Ee=="above"||Ee=="near"){var gn=Math.max(qe.wrapper.clientHeight,this.doc.height),_n=Math.max(qe.sizer.clientWidth,qe.lineSpace.clientWidth);(Ee=="above"||x.bottom+ee.offsetHeight>gn)&&x.top>ee.offsetHeight?ht=x.top-ee.offsetHeight:x.bottom+ee.offsetHeight<=gn&&(ht=x.bottom),on+ee.offsetWidth>_n&&(on=_n-ee.offsetWidth)}ee.style.top=ht+"px",ee.style.left=ee.style.right="",He=="right"?(on=qe.sizer.clientWidth-ee.offsetWidth,ee.style.right="0px"):(He=="left"?on=0:He=="middle"&&(on=(qe.sizer.clientWidth-ee.offsetWidth)/2),ee.style.left=on+"px"),ie&&Dt(this,{left:on,top:ht,right:on+ee.offsetWidth,bottom:ht+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 He=1;ee<0&&(He=-1,ee=-ee);for(var qe=Bt(this.doc,x),ht=0;ht<ee&&(qe=Mu(this.doc,qe,He,ie,Ee),!qe.hitSide);++ht);return qe},moveH:mo(function(x,ee){var ie=this;this.extendSelectionsBy(function(Ee){return ie.display.shift||ie.doc.extend||Ee.empty()?Mu(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(He){var qe=Mu(Ee,He.head,x,ee,!1);return x<0?{from:qe,to:He.head}:{from:He.head,to:qe}})}),findPosV:function(x,ee,ie,Ee){var He=1,qe=Ee;ee<0&&(He=-1,ee=-ee);for(var ht=Bt(this.doc,x),on=0;on<ee;++on){var gn=$a(this,ht,"div");if(qe==null?qe=gn.left:gn.left=qe,ht=Hu(this,gn,He,ie),ht.hitSide)break}return ht},moveV:mo(function(x,ee){var ie=this,Ee=this.doc,He=[],qe=!this.display.shift&&!Ee.extend&&Ee.sel.somethingSelected();if(Ee.extendSelectionsBy(function(on){if(qe)return x<0?on.from():on.to();var gn=$a(ie,on.head,"div");on.goalColumn!=null&&(gn.left=on.goalColumn),He.push(gn.left);var _n=Hu(ie,gn,x,ee);return ee=="page"&&on==Ee.sel.primary()&&pn(ie,ts(ie,_n,"div").top-gn.top),_n},at),He.length)for(var ht=0;ht<Ee.sel.ranges.length;ht++)Ee.sel.ranges[ht].goalColumn=He[ht]}),findWordAt:function(x){var ee=this.doc,ie=Fn(ee,x.line).text,Ee=x.ch,He=x.ch;if(ie){var qe=this.getHelper(x,"wordChars");(x.sticky=="before"||He==ie.length)&&Ee?--Ee:++He;for(var ht=ie.charAt(Ee),on=ve(ht,qe)?function(gn){return ve(gn,qe)}:/\s/.test(ht)?function(gn){return/\s/.test(gn)}:function(gn){return!/\s/.test(gn)&&!ve(gn)};Ee>0&&on(ie.charAt(Ee-1));)--Ee;for(;He<ie.length&&on(ie.charAt(He));)++He}return new Sn(Et(x.line,Ee),Et(x.line,He))},toggleOverwrite:function(x){x!=null&&x==this.state.overwrite||((this.state.overwrite=!this.state.overwrite)?ue(this.display.cursorDiv,"CodeMirror-overwrite"):Re(this.display.cursorDiv,"CodeMirror-overwrite"),nn(this,"overwriteToggle",this,this.state.overwrite))},hasFocus:function(){return this.display.input.getField()==Oe()},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(qe){return typeof qe=="number"||/^\d+$/.test(String(qe))?qe+"px":qe};x!=null&&(this.display.wrapper.style.width=Ee(x)),ee!=null&&(this.display.wrapper.style.height=Ee(ee)),this.options.lineWrapping&&el(this);var He=this.display.viewFrom;this.doc.iter(He,this.display.viewTo,function(qe){if(qe.widgets){for(var ht=0;ht<qe.widgets.length;ht++)if(qe.widgets[ht].noHScroll){$l(ie,He,"widget");break}}++He}),this.curOp.forceUpdate=!0,nn(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,Vl(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),nn(this,"refresh",this)}),swapDoc:mo(function(x){var ee=this.doc;return ee.cm=null,this.state.selectingText&&this.state.selectingText(),Fr(this,x),Vl(this),this.display.input.reset(),Pn(this,x.scrollLeft,x.scrollTop),this.curOp.forceScroll=!0,Xo(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 Mu(a,b,z,x,ee){var ie=b,Ee=z,He=Fn(a,b.line),qe=ee&&a.direction=="rtl"?-z:z;function ht(){var Go=b.line+qe;return Go<a.first||Go>=a.first+a.size?!1:(b=new Et(Go,b.ch,b.sticky),He=Fn(a,Go))}function on(Go){var xo;if(x=="codepoint"){var ri=He.text.charCodeAt(b.ch+(x>0?0:-1));isNaN(ri)?xo=null:xo=new Et(b.line,Math.max(0,Math.min(He.text.length,b.ch+z*(ri>=55296&&ri<56320?2:1))),-z)}else ee?xo=vu(a.cm,He,b,z):xo=Gs(He,b,z);if(xo==null)if(!Go&&ht())b=nu(ee,a.cm,He,b.line,qe);else return!1;else b=xo;return!0}if(x=="char"||x=="codepoint")on();else if(x=="column")on(!0);else if(x=="word"||x=="group")for(var gn=null,_n=x=="group",Hn=a.cm&&a.cm.getHelper(b,"wordChars"),wr=!0;!(z<0&&!on(!wr));wr=!1){var Kr=He.text.charAt(b.ch)||`
|
|
|
`,so=ve(Kr,Hn)?"w":_n&&Kr==`
|
|
|
`?"n":!_n||/\s/.test(Kr)?null:"p";if(_n&&!wr&&!so&&(so="s"),gn&&gn!=so){z<0&&(z=1,on(),b.sticky="after");break}if(so&&(gn=so),z>0&&!on(!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 He=Math.min(a.display.wrapper.clientHeight,window.innerHeight||document.documentElement.clientHeight),qe=Math.max(He-.5*Al(a.display),3);Ee=(z>0?b.bottom:b.top)+z*qe}else x=="line"&&(Ee=z>0?b.bottom+3:b.top-3);for(var ht;ht=Ua(a,ie,Ee),!!ht.outside;){if(z<0?Ee<=0:Ee>=ee.height){ht.hitSide=!0;break}Ee+=z*5}return ht}var ka=function(a){this.cm=a,this.lastAnchorNode=this.lastAnchorOffset=this.lastFocusNode=this.lastFocusOffset=null,this.polling=new Se,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(He){for(var qe=He.target;qe;qe=qe.parentNode){if(qe==ee)return!0;if(/\bCodeMirror-(?:line)?widget\b/.test(qe.className))break}return!1}en(ee,"paste",function(He){!ie(He)||Yt(x,He)||Ru(He,x)||Fe<=11&&setTimeout(no(x,function(){return b.updateFromDOM()}),20)}),en(ee,"compositionstart",function(He){b.composing={data:He.data,done:!1}}),en(ee,"compositionupdate",function(He){b.composing||(b.composing={data:He.data,done:!1})}),en(ee,"compositionend",function(He){b.composing&&(He.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(He){if(!(!ie(He)||Yt(x,He))){if(x.somethingSelected())Cu({lineWise:!1,text:x.getSelections()}),He.type=="cut"&&x.replaceSelection("",null,"cut");else if(x.options.lineWiseCopyCut){var qe=zu(x);Cu({lineWise:!0,text:qe.text}),He.type=="cut"&&x.operation(function(){x.setSelections(qe.ranges,0,xe),x.replaceSelection("",null,"cut")})}else return;if(He.clipboardData){He.clipboardData.clearData();var ht=ss.text.join(`
|
|
|
`);if(He.clipboardData.setData("Text",ht),He.clipboardData.getData("Text")==ht){He.preventDefault();return}}var on=Wu(),gn=on.firstChild;x.display.lineSpace.insertBefore(on,x.display.lineSpace.firstChild),gn.value=ss.text.join(`
|
|
|
`);var _n=document.activeElement;Ge(gn),setTimeout(function(){x.display.lineSpace.removeChild(on),_n.focus(),_n==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&&Ut(_t(ie,Ee),x)==0&&Ut(rn(ie,Ee),ee)==0)){var He=b.display.view,qe=x.line>=b.display.viewFrom&&Vu(b,x)||{node:He[0].measure.map[2],offset:0},ht=ee.line<b.display.viewTo&&Vu(b,ee);if(!ht){var on=He[He.length-1].measure,gn=on.maps?on.maps[on.maps.length-1]:on.map;ht={node:gn[gn.length-1],offset:gn[gn.length-2]-gn[gn.length-3]}}if(!qe||!ht){a.removeAllRanges();return}var _n=a.rangeCount&&a.getRangeAt(0),Hn;try{Hn=Pe(qe.node,qe.offset,ht.offset,ht.node)}catch(wr){}Hn&&(!y&&b.state.focused?(a.collapse(qe.node,qe.offset),Hn.collapsed||(a.removeAllRanges(),a.addRange(Hn))):(a.removeAllRanges(),a.addRange(Hn)),_n&&a.anchorNode==null?a.addRange(_n):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){ye(this.cm.display.cursorDiv,a.cursors),ye(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(be&&De&&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,$n(z,x),xe),(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,Fn(a.doc,x.line-1).length)),ee.ch==Fn(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,He;x.line==b.viewFrom||(ie=Ul(a,x.line))==0?(Ee=kt(b.view[0].line),He=b.view[0].node):(Ee=kt(b.view[ie].line),He=b.view[ie-1].node.nextSibling);var qe=Ul(a,ee.line),ht,on;if(qe==b.view.length-1?(ht=b.viewTo-1,on=b.lineDiv.lastChild):(ht=kt(b.view[qe+1].line)-1,on=b.view[qe+1].node.previousSibling),!He)return!1;for(var gn=a.doc.splitLines(tc(a,He,on,Ee,ht)),_n=Nn(a.doc,Et(Ee,0),Et(ht,Fn(a.doc,ht).text.length));gn.length>1&&_n.length>1;)if(xt(gn)==xt(_n))gn.pop(),_n.pop(),ht--;else if(gn[0]==_n[0])gn.shift(),_n.shift(),Ee++;else break;for(var Hn=0,wr=0,Kr=gn[0],so=_n[0],Eo=Math.min(Kr.length,so.length);Hn<Eo&&Kr.charCodeAt(Hn)==so.charCodeAt(Hn);)++Hn;for(var Go=xt(gn),xo=xt(_n),ri=Math.min(Go.length-(gn.length==1?Hn:0),xo.length-(_n.length==1?Hn:0));wr<ri&&Go.charCodeAt(Go.length-wr-1)==xo.charCodeAt(xo.length-wr-1);)++wr;if(gn.length==1&&_n.length==1&&Ee==x.line)for(;Hn&&Hn>x.ch&&Go.charCodeAt(Go.length-wr-1)==xo.charCodeAt(xo.length-wr-1);)Hn--,wr++;gn[gn.length-1]=Go.slice(0,Go.length-wr).replace(/^\u200b+/,""),gn[0]=gn[0].slice(Hn).replace(/\u200b+$/,"");var Mi=Et(Ee,Hn),Ai=Et(ht,_n.length?xt(_n).length-wr:0);if(gn.length>1||gn[0]||Ut(Mi,Ai))return Ui(a.doc,gn,Mi,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,Iu)(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 Vu(a,b){var z=po(a,b.line);if(!z||z.hidden)return null;var x=Fn(a.doc,b.line),ee=Wl(z,x,b.line),ie=Qe(x,a.doc.direction),Ee="left";if(ie){var He=yt(ie,b.ch);Ee=He%2?"right":"left"}var qe=Hl(ee.map,b.ch,Ee);return qe.offset=qe.collapse=="right"?qe.end:qe.start,qe}function ec(a){for(var b=a;b;b=b.parentNode)if(/CodeMirror-gutter-wrapper/.test(b.className))return!0;return!1}function $s(a,b){return b&&(a.bad=!0),a}function tc(a,b,z,x,ee){var ie="",Ee=!1,He=a.doc.lineSeparator(),qe=!1;function ht(Hn){return function(wr){return wr.id==Hn}}function on(){Ee&&(ie+=He,qe&&(ie+=He),Ee=qe=!1)}function gn(Hn){Hn&&(on(),ie+=Hn)}function _n(Hn){if(Hn.nodeType==1){var wr=Hn.getAttribute("cm-text");if(wr){gn(wr);return}var Kr=Hn.getAttribute("cm-marker"),so;if(Kr){var Eo=a.findMarks(Et(x,0),Et(ee+1,0),ht(+Kr));Eo.length&&(so=Eo[0].find(0))&&gn(Nn(a.doc,so.from,so.to).join(He));return}if(Hn.getAttribute("contenteditable")=="false")return;var Go=/^(pre|div|p|li|table|br)$/i.test(Hn.nodeName);if(!/^br$/i.test(Hn.nodeName)&&Hn.textContent.length==0)return;Go&&on();for(var xo=0;xo<Hn.childNodes.length;xo++)_n(Hn.childNodes[xo]);/^(pre|p)$/i.test(Hn.nodeName)&&(qe=!0),Go&&(Ee=!0)}else Hn.nodeType==3&&gn(Hn.nodeValue.replace(/\u200b/g,"").replace(/\u00a0/g," "))}for(;_n(b),b!=z;)b=b.nextSibling,qe=!1;return ie}function bu(a,b,z){var x;if(b==a.display.lineDiv){if(x=a.display.lineDiv.childNodes[z],!x)return $s(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 $s(Et(kt(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 $s(Et(kt(ie),ie.text.length),ee)}var Ee=b.nodeType==3?b:null,He=b;for(!Ee&&b.childNodes.length==1&&b.firstChild.nodeType==3&&(Ee=b.firstChild,z&&(z=Ee.nodeValue.length));He.parentNode!=x;)He=He.parentNode;var qe=a.measure,ht=qe.maps;function on(so,Eo,Go){for(var xo=-1;xo<(ht?ht.length:0);xo++)for(var ri=xo<0?qe.map:ht[xo],Mi=0;Mi<ri.length;Mi+=3){var Ai=ri[Mi+2];if(Ai==so||Ai==Eo){var na=kt(xo<0?a.line:a.rest[xo]),Wa=ri[Mi]+Go;return(Go<0||Ai!=so)&&(Wa=ri[Mi+(Go?1:0)]),Et(na,Wa)}}}var gn=on(Ee,He,z);if(gn)return $s(gn,ee);for(var _n=He.nextSibling,Hn=Ee?Ee.nodeValue.length-z:0;_n;_n=_n.nextSibling){if(gn=on(_n,_n.firstChild,0),gn)return $s(Et(gn.line,gn.ch-Hn),ee);Hn+=_n.textContent.length}for(var wr=He.previousSibling,Kr=z;wr;wr=wr.previousSibling){if(gn=on(wr,wr.firstChild,-1),gn)return $s(Et(gn.line,gn.ch+Kr),ee);Kr+=wr.textContent.length}}var il=function(a){this.cm=a,this.prevInput="",this.pollingFast=!1,this.polling=new Se,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),we&&(ee.style.width="0px"),en(ee,"input",function(){Ce&&Fe>=9&&b.hasSelection&&(b.hasSelection=null),z.poll()}),en(ee,"paste",function(Ee){Yt(x,Ee)||Ru(Ee,x)||(x.state.pasteIncoming=+new Date,z.fastPoll())});function ie(Ee){if(!Yt(x,Ee)){if(x.somethingSelected())Cu({lineWise:!1,text:x.getSelections()});else if(x.options.lineWiseCopyCut){var He=zu(x);Cu({lineWise:!0,text:He.text}),Ee.type=="cut"?x.setSelections(He.ranges,null,xe):(z.prevInput="",ee.value=He.text.join(`
|
|
|
`),Ge(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)||Yt(x,Ee))){if(!ee.dispatchEvent){x.state.pasteIncoming=+new Date,z.focus();return}var He=new Event("paste");He.clipboardData=Ee.clipboardData,ee.dispatchEvent(He)}}),en(a.lineSpace,"selectstart",function(Ee){gr(a,Ee)||zt(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=$a(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;ye(z.cursorDiv,a.cursors),ye(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&&Ge(this.textarea),Ce&&Fe>=9&&(this.hasSelection=z)}else a||(this.prevInput=this.textarea.value="",Ce&&Fe>=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"&&(!he||Oe()!=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||Qn(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(Ce&&Fe>=9&&this.hasSelection===ee||ce&&/[\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,He=Math.min(x.length,ee.length);Ee<He&&x.charCodeAt(Ee)==ee.charCodeAt(Ee);)++Ee;return uo(b,function(){Iu(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(){Ce&&Fe>=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 He=z.options.resetSelectionOnContextMenu;He&&z.doc.sel.contains(ie)==-1&&no(z,go)(z.doc,$n(ie),xe);var qe=ee.style.cssText,ht=b.wrapper.style.cssText,on=b.wrapper.offsetParent.getBoundingClientRect();b.wrapper.style.cssText="position: static",ee.style.cssText=`position: absolute; width: 30px; height: 30px;
|
|
|
top: `+(a.clientY-on.top-5)+"px; left: "+(a.clientX-on.left-5)+`px;
|
|
|
z-index: 1000; background: `+(Ce?"rgba(255, 255, 255, .05)":"transparent")+`;
|
|
|
outline: none; border-width: 0; outline: none; overflow: hidden; opacity: .05; filter: alpha(opacity=5);`;var gn;ge&&(gn=window.scrollY),x.input.focus(),ge&&window.scrollTo(null,gn),x.input.reset(),z.somethingSelected()||(ee.value=b.prevInput=" "),b.contextMenuPending=Hn,x.selForContextMenu=z.doc.sel,clearTimeout(x.detectingSelectAll);function _n(){if(ee.selectionStart!=null){var Kr=z.somethingSelected(),so="\u200B"+(Kr?ee.value:"");ee.value="\u21DA",ee.value=so,b.prevInput=Kr?"":"\u200B",ee.selectionStart=1,ee.selectionEnd=so.length,x.selForContextMenu=z.doc.sel}}function Hn(){if(b.contextMenuPending==Hn&&(b.contextMenuPending=!1,b.wrapper.style.cssText=ht,ee.style.cssText=qe,Ce&&Fe<9&&x.scrollbars.setScrollTop(x.scroller.scrollTop=Ee),ee.selectionStart!=null)){(!Ce||Ce&&Fe<9)&&_n();var Kr=0,so=function(){x.selForContextMenu==z.doc.sel&&ee.selectionStart==0&&ee.selectionEnd>0&&b.prevInput=="\u200B"?no(z,si)(z):Kr++<10?x.detectingSelectAll=setTimeout(so,500):(x.selForContextMenu=null,x.input.reset())};x.detectingSelectAll=setTimeout(so,200)}}if(Ce&&Fe>=9&&_n(),Be){ct(a);var wr=function(){vn(window,"mouseup",wr),setTimeout(Hn,20)};en(window,"mouseup",wr)}else setTimeout(Hn,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?Tt(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=Oe();b.autofocus=z==a||a.getAttribute("autofocus")!=null&&z==document.body}function x(){a.value=He.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(qe){}}b.finishInit=function(qe){qe.save=x,qe.getTextArea=function(){return a},qe.toTextArea=function(){qe.toTextArea=isNaN,x(),a.parentNode.removeChild(qe.getWrapperElement()),a.style.display="",a.form&&(vn(a.form,"submit",x),!b.leaveSubmitMethodAlone&&typeof a.form.submit=="function"&&(a.form.submit=ee))}},a.style.display="none";var He=Ya(function(qe){return a.parentNode.insertBefore(qe,a.nextSibling)},b);return He}function oc(a){a.off=vn,a.on=en,a.wheelEventPixels=Tn,a.Doc=jo,a.splitLines=Rn,a.countColumn=Ke,a.findColumn=Rt,a.isWordChar=le,a.Pass=ut,a.signal=nn,a.Line=oi,a.changeEnd=Ar,a.scrollbarModel=Vr,a.Pos=Et,a.cmpPos=Ut,a.modes=an,a.mimeModes=tn,a.resolveMode=jn,a.getMode=nr,a.modeExtensions=Gn,a.extendMode=Ln,a.copyState=mr,a.startState=jr,a.innerMode=ir,a.commands=ms,a.keyMap=ol,a.keyName=gs,a.isModifierKey=eu,a.lookupKey=Bs,a.normalizeKeyMap=vl,a.StringStream=Nr,a.SharedTextMarker=Sa,a.TextMarker=ll,a.LineWidget=ia,a.e_preventDefault=zt,a.e_stopPropagation=un,a.e_stop=ct,a.addClass=ue,a.contains=it,a.rmClass=Re,a.keyNames=fi}Xu(Ya),qu(Ya);var ic="iter insert remove copy getEditor constructor".split(" ");for(var Eu in jo.prototype)jo.prototype.hasOwnProperty(Eu)&&Ft(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),Bn.apply(this,arguments)},Ya.defineMIME=xn,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(mn,Ct,E){(function(y){y(E(89780),E(15525),E(98101))})(function(y){"use strict";y.defineMode("markdown",function(Ae,pe){var ze=y.getMode(Ae,"text/html"),Ce=ze.name=="null";function Fe(Ke){if(y.findModeByName){var Se=y.findModeByName(Ke);Se&&(Ke=Se.mime||Se.mimes[0])}var Ft=y.getMode(Ae,Ke);return Ft.name=="null"?null:Ft}pe.highlightFormatting===void 0&&(pe.highlightFormatting=!1),pe.maxBlockquoteDepth===void 0&&(pe.maxBlockquoteDepth=0),pe.taskLists===void 0&&(pe.taskLists=!1),pe.strikethrough===void 0&&(pe.strikethrough=!1),pe.emoji===void 0&&(pe.emoji=!1),pe.fencedCodeBlockHighlighting===void 0&&(pe.fencedCodeBlockHighlighting=!0),pe.fencedCodeBlockDefaultMode===void 0&&(pe.fencedCodeBlockDefaultMode="text/plain"),pe.xml===void 0&&(pe.xml=!0),pe.tokenTypeOverrides===void 0&&(pe.tokenTypeOverrides={});var ge={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 je in ge)ge.hasOwnProperty(je)&&pe.tokenTypeOverrides[je]&&(ge[je]=pe.tokenTypeOverrides[je]);var De=/^([*\-_])(?:\s*\1){2,}\s*$/,se=/^(?:[*\-+]|^[0-9]+([.)]))\s+/,Ue=/^\[(x| )\](?=\s)/i,me=pe.allowAtxHeaderWithoutSpace?/^(#+)/:/^(#+)(?: |$)/,Ne=/^ {0,3}(?:\={1,}|-{2,})\s*$/,we=/^[^#!\[\]*_\\<>` "'(~:]+/,be=/^(~~~+|```+)[ \t]*([\w\/+#-]*)[^\n`]*$/,he=/^\s*\[[^\]]+?\]:.*$/,ce=/[!"#$%&'()*+,\-.\/:;<=>?@\[\\\]^_`{|}~\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]/,Ie=" ";function Ze(Ke,Se,Ft){return Se.f=Se.inline=Ft,Ft(Ke,Se)}function $e(Ke,Se,Ft){return Se.f=Se.block=Ft,Ft(Ke,Se)}function oe(Ke){return!Ke||!/\S/.test(Ke.string)}function Be(Ke){if(Ke.linkTitle=!1,Ke.linkHref=!1,Ke.linkText=!1,Ke.em=!1,Ke.strong=!1,Ke.strikethrough=!1,Ke.quote=0,Ke.indentedCode=!1,Ke.f==Re){var Se=Ce;if(!Se){var Ft=y.innerMode(ze,Ke.htmlState);Se=Ft.mode.name=="xml"&&Ft.state.tagStart===null&&!Ft.state.context&&Ft.state.tokenize.isInText}Se&&(Ke.f=Ve,Ke.block=tt,Ke.htmlState=null)}return Ke.trailingSpace=0,Ke.trailingSpaceNewLine=!1,Ke.prevLine=Ke.thisLine,Ke.thisLine={stream:null},null}function tt(Ke,Se){var Ft=Ke.column()===Se.indentation,It=oe(Se.prevLine.stream),ut=Se.indentedCode,xe=Se.prevLine.hr,ke=Se.list!==!1,at=(Se.listStack[Se.listStack.length-1]||0)+3;Se.indentedCode=!1;var Rt=Se.indentation;if(Se.indentationDiff===null&&(Se.indentationDiff=Se.indentation,ke)){for(Se.list=null;Rt<Se.listStack[Se.listStack.length-1];)Se.listStack.pop(),Se.listStack.length?Se.indentation=Se.listStack[Se.listStack.length-1]:Se.list=!1;Se.list!==!1&&(Se.indentationDiff=Rt-Se.listStack[Se.listStack.length-1])}var ft=!It&&!xe&&!Se.prevLine.header&&(!ke||!ut)&&!Se.prevLine.fencedCodeEnd,Nt=(Se.list===!1||xe||It)&&Se.indentation<=at&&Ke.match(De),xt=null;if(Se.indentationDiff>=4&&(ut||Se.prevLine.fencedCodeEnd||Se.prevLine.header||It))return Ke.skipToEnd(),Se.indentedCode=!0,ge.code;if(Ke.eatSpace())return null;if(Ft&&Se.indentation<=at&&(xt=Ke.match(me))&&xt[1].length<=6)return Se.quote=0,Se.header=xt[1].length,Se.thisLine.header=!0,pe.highlightFormatting&&(Se.formatting="header"),Se.f=Se.inline,ye(Se);if(Se.indentation<=at&&Ke.eat(">"))return Se.quote=Ft?1:Se.quote+1,pe.highlightFormatting&&(Se.formatting="quote"),Ke.eatSpace(),ye(Se);if(!Nt&&!Se.setext&&Ft&&Se.indentation<=at&&(xt=Ke.match(se))){var Xt=xt[1]?"ol":"ul";return Se.indentation=Rt+Ke.current().length,Se.list=!0,Se.quote=0,Se.listStack.push(Se.indentation),Se.em=!1,Se.strong=!1,Se.code=!1,Se.strikethrough=!1,pe.taskLists&&Ke.match(Ue,!1)&&(Se.taskList=!0),Se.f=Se.inline,pe.highlightFormatting&&(Se.formatting=["list","list-"+Xt]),ye(Se)}else{if(Ft&&Se.indentation<=at&&(xt=Ke.match(be,!0)))return Se.quote=0,Se.fencedEndRE=new RegExp(xt[1]+"+ *$"),Se.localMode=pe.fencedCodeBlockHighlighting&&Fe(xt[2]||pe.fencedCodeBlockDefaultMode),Se.localMode&&(Se.localState=y.startState(Se.localMode)),Se.f=Se.block=_e,pe.highlightFormatting&&(Se.formatting="code-block"),Se.code=-1,ye(Se);if(Se.setext||(!ft||!ke)&&!Se.quote&&Se.list===!1&&!Se.code&&!Nt&&!he.test(Ke.string)&&(xt=Ke.lookAhead(1))&&(xt=xt.match(Ne)))return Se.setext?(Se.header=Se.setext,Se.setext=0,Ke.skipToEnd(),pe.highlightFormatting&&(Se.formatting="header")):(Se.header=xt[0].charAt(0)=="="?1:2,Se.setext=Se.header),Se.thisLine.header=!0,Se.f=Se.inline,ye(Se);if(Nt)return Ke.skipToEnd(),Se.hr=!0,Se.thisLine.hr=!0,ge.hr;if(Ke.peek()==="[")return Ze(Ke,Se,Xe)}return Ze(Ke,Se,Se.inline)}function Re(Ke,Se){var Ft=ze.token(Ke,Se.htmlState);if(!Ce){var It=y.innerMode(ze,Se.htmlState);(It.mode.name=="xml"&&It.state.tagStart===null&&!It.state.context&&It.state.tokenize.isInText||Se.md_inside&&Ke.current().indexOf(">")>-1)&&(Se.f=Ve,Se.block=tt,Se.htmlState=null)}return Ft}function _e(Ke,Se){var Ft=Se.listStack[Se.listStack.length-1]||0,It=Se.indentation<Ft,ut=Ft+3;if(Se.fencedEndRE&&Se.indentation<=ut&&(It||Ke.match(Se.fencedEndRE))){pe.highlightFormatting&&(Se.formatting="code-block");var xe;return It||(xe=ye(Se)),Se.localMode=Se.localState=null,Se.block=tt,Se.f=Ve,Se.fencedEndRE=null,Se.code=0,Se.thisLine.fencedCodeEnd=!0,It?$e(Ke,Se,Se.block):xe}else return Se.localMode?Se.localMode.token(Ke,Se.localState):(Ke.skipToEnd(),ge.code)}function ye(Ke){var Se=[];if(Ke.formatting){Se.push(ge.formatting),typeof Ke.formatting=="string"&&(Ke.formatting=[Ke.formatting]);for(var Ft=0;Ft<Ke.formatting.length;Ft++)Se.push(ge.formatting+"-"+Ke.formatting[Ft]),Ke.formatting[Ft]==="header"&&Se.push(ge.formatting+"-"+Ke.formatting[Ft]+"-"+Ke.header),Ke.formatting[Ft]==="quote"&&(!pe.maxBlockquoteDepth||pe.maxBlockquoteDepth>=Ke.quote?Se.push(ge.formatting+"-"+Ke.formatting[Ft]+"-"+Ke.quote):Se.push("error"))}if(Ke.taskOpen)return Se.push("meta"),Se.length?Se.join(" "):null;if(Ke.taskClosed)return Se.push("property"),Se.length?Se.join(" "):null;if(Ke.linkHref?Se.push(ge.linkHref,"url"):(Ke.strong&&Se.push(ge.strong),Ke.em&&Se.push(ge.em),Ke.strikethrough&&Se.push(ge.strikethrough),Ke.emoji&&Se.push(ge.emoji),Ke.linkText&&Se.push(ge.linkText),Ke.code&&Se.push(ge.code),Ke.image&&Se.push(ge.image),Ke.imageAltText&&Se.push(ge.imageAltText,"link"),Ke.imageMarker&&Se.push(ge.imageMarker)),Ke.header&&Se.push(ge.header,ge.header+"-"+Ke.header),Ke.quote&&(Se.push(ge.quote),!pe.maxBlockquoteDepth||pe.maxBlockquoteDepth>=Ke.quote?Se.push(ge.quote+"-"+Ke.quote):Se.push(ge.quote+"-"+pe.maxBlockquoteDepth)),Ke.list!==!1){var It=(Ke.listStack.length-1)%3;It?It===1?Se.push(ge.list2):Se.push(ge.list3):Se.push(ge.list1)}return Ke.trailingSpaceNewLine?Se.push("trailing-space-new-line"):Ke.trailingSpace&&Se.push("trailing-space-"+(Ke.trailingSpace%2?"a":"b")),Se.length?Se.join(" "):null}function Le(Ke,Se){if(Ke.match(we,!0))return ye(Se)}function Ve(Ke,Se){var Ft=Se.text(Ke,Se);if(typeof Ft!="undefined")return Ft;if(Se.list)return Se.list=null,ye(Se);if(Se.taskList){var It=Ke.match(Ue,!0)[1]===" ";return It?Se.taskOpen=!0:Se.taskClosed=!0,pe.highlightFormatting&&(Se.formatting="task"),Se.taskList=!1,ye(Se)}if(Se.taskOpen=!1,Se.taskClosed=!1,Se.header&&Ke.match(/^#+$/,!0))return pe.highlightFormatting&&(Se.formatting="header"),ye(Se);var ut=Ke.next();if(Se.linkTitle){Se.linkTitle=!1;var xe=ut;ut==="("&&(xe=")"),xe=(xe+"").replace(/([.?*+^\[\]\\(){}|-])/g,"\\$1");var ke="^\\s*(?:[^"+xe+"\\\\]+|\\\\\\\\|\\\\.)"+xe;if(Ke.match(new RegExp(ke),!0))return ge.linkHref}if(ut==="`"){var at=Se.formatting;pe.highlightFormatting&&(Se.formatting="code"),Ke.eatWhile("`");var Rt=Ke.current().length;if(Se.code==0&&(!Se.quote||Rt==1))return Se.code=Rt,ye(Se);if(Rt==Se.code){var ft=ye(Se);return Se.code=0,ft}else return Se.formatting=at,ye(Se)}else if(Se.code)return ye(Se);if(ut==="\\"&&(Ke.next(),pe.highlightFormatting)){var Nt=ye(Se),xt=ge.formatting+"-escape";return Nt?Nt+" "+xt:xt}if(ut==="!"&&Ke.match(/\[[^\]]*\] ?(?:\(|\[)/,!1))return Se.imageMarker=!0,Se.image=!0,pe.highlightFormatting&&(Se.formatting="image"),ye(Se);if(ut==="["&&Se.imageMarker&&Ke.match(/[^\]]*\](\(.*?\)| ?\[.*?\])/,!1))return Se.imageMarker=!1,Se.imageAltText=!0,pe.highlightFormatting&&(Se.formatting="image"),ye(Se);if(ut==="]"&&Se.imageAltText){pe.highlightFormatting&&(Se.formatting="image");var Nt=ye(Se);return Se.imageAltText=!1,Se.image=!1,Se.inline=Se.f=it,Nt}if(ut==="["&&!Se.image)return Se.linkText&&Ke.match(/^.*?\]/)||(Se.linkText=!0,pe.highlightFormatting&&(Se.formatting="link")),ye(Se);if(ut==="]"&&Se.linkText){pe.highlightFormatting&&(Se.formatting="link");var Nt=ye(Se);return Se.linkText=!1,Se.inline=Se.f=Ke.match(/\(.*?\)| ?\[.*?\]/,!1)?it:Ve,Nt}if(ut==="<"&&Ke.match(/^(https?|ftps?):\/\/(?:[^\\>]|\\.)+>/,!1)){Se.f=Se.inline=Pe,pe.highlightFormatting&&(Se.formatting="link");var Nt=ye(Se);return Nt?Nt+=" ":Nt="",Nt+ge.linkInline}if(ut==="<"&&Ke.match(/^[^> \\]+@(?:[^\\>]|\\.)+>/,!1)){Se.f=Se.inline=Pe,pe.highlightFormatting&&(Se.formatting="link");var Nt=ye(Se);return Nt?Nt+=" ":Nt="",Nt+ge.linkEmail}if(pe.xml&&ut==="<"&&Ke.match(/^(!--|\?|!\[CDATA\[|[a-z][a-z0-9-]*(?:\s+[a-z_:.\-]+(?:\s*=\s*[^>]+)?)*\s*(?:>|$))/i,!1)){var Xt=Ke.string.indexOf(">",Ke.pos);if(Xt!=-1){var Wt=Ke.string.substring(Ke.start,Xt);/markdown\s*=\s*('|"){0,1}1('|"){0,1}/.test(Wt)&&(Se.md_inside=!0)}return Ke.backUp(1),Se.htmlState=y.startState(ze),$e(Ke,Se,Re)}if(pe.xml&&ut==="<"&&Ke.match(/^\/\w*?>/))return Se.md_inside=!1,"tag";if(ut==="*"||ut==="_"){for(var de=1,ne=Ke.pos==1?" ":Ke.string.charAt(Ke.pos-2);de<3&&Ke.eat(ut);)de++;var te=Ke.peek()||" ",le=!/\s/.test(te)&&(!ce.test(te)||/\s/.test(ne)||ce.test(ne)),ve=!/\s/.test(ne)&&(!ce.test(ne)||/\s/.test(te)||ce.test(te)),re=null,fe=null;if(de%2&&(!Se.em&&le&&(ut==="*"||!ve||ce.test(ne))?re=!0:Se.em==ut&&ve&&(ut==="*"||!le||ce.test(te))&&(re=!1)),de>1&&(!Se.strong&&le&&(ut==="*"||!ve||ce.test(ne))?fe=!0:Se.strong==ut&&ve&&(ut==="*"||!le||ce.test(te))&&(fe=!1)),fe!=null||re!=null){pe.highlightFormatting&&(Se.formatting=re==null?"strong":fe==null?"em":"strong em"),re===!0&&(Se.em=ut),fe===!0&&(Se.strong=ut);var ft=ye(Se);return re===!1&&(Se.em=!1),fe===!1&&(Se.strong=!1),ft}}else if(ut===" "&&(Ke.eat("*")||Ke.eat("_"))){if(Ke.peek()===" ")return ye(Se);Ke.backUp(1)}if(pe.strikethrough){if(ut==="~"&&Ke.eatWhile(ut)){if(Se.strikethrough){pe.highlightFormatting&&(Se.formatting="strikethrough");var ft=ye(Se);return Se.strikethrough=!1,ft}else if(Ke.match(/^[^\s]/,!1))return Se.strikethrough=!0,pe.highlightFormatting&&(Se.formatting="strikethrough"),ye(Se)}else if(ut===" "&&Ke.match(/^~~/,!0)){if(Ke.peek()===" ")return ye(Se);Ke.backUp(2)}}if(pe.emoji&&ut===":"&&Ke.match(/^(?:[a-z_\d+][a-z_\d+-]*|\-[a-z_\d+][a-z_\d+-]*):/)){Se.emoji=!0,pe.highlightFormatting&&(Se.formatting="emoji");var Ye=ye(Se);return Se.emoji=!1,Ye}return ut===" "&&(Ke.match(/^ +$/,!1)?Se.trailingSpace++:Se.trailingSpace&&(Se.trailingSpaceNewLine=!0)),ye(Se)}function Pe(Ke,Se){var Ft=Ke.next();if(Ft===">"){Se.f=Se.inline=Ve,pe.highlightFormatting&&(Se.formatting="link");var It=ye(Se);return It?It+=" ":It="",It+ge.linkInline}return Ke.match(/^[^>]+/,!0),ge.linkInline}function it(Ke,Se){if(Ke.eatSpace())return null;var Ft=Ke.next();return Ft==="("||Ft==="["?(Se.f=Se.inline=ue(Ft==="("?")":"]"),pe.highlightFormatting&&(Se.formatting="link-string"),Se.linkHref=!0,ye(Se)):"error"}var Oe={")":/^(?:[^\\\(\)]|\\.|\((?:[^\\\(\)]|\\.)*\))*?(?=\))/,"]":/^(?:[^\\\[\]]|\\.|\[(?:[^\\\[\]]|\\.)*\])*?(?=\])/};function ue(Ke){return function(Se,Ft){var It=Se.next();if(It===Ke){Ft.f=Ft.inline=Ve,pe.highlightFormatting&&(Ft.formatting="link-string");var ut=ye(Ft);return Ft.linkHref=!1,ut}return Se.match(Oe[Ke]),Ft.linkHref=!0,ye(Ft)}}function Xe(Ke,Se){return Ke.match(/^([^\]\\]|\\.)*\]:/,!1)?(Se.f=Ge,Ke.next(),pe.highlightFormatting&&(Se.formatting="link"),Se.linkText=!0,ye(Se)):Ze(Ke,Se,Ve)}function Ge(Ke,Se){if(Ke.match(/^\]:/,!0)){Se.f=Se.inline=lt,pe.highlightFormatting&&(Se.formatting="link");var Ft=ye(Se);return Se.linkText=!1,Ft}return Ke.match(/^([^\]\\]|\\.)+/,!0),ge.linkText}function lt(Ke,Se){return Ke.eatSpace()?null:(Ke.match(/^[^\s]+/,!0),Ke.peek()===void 0?Se.linkTitle=!0:Ke.match(/^(?:\s+(?:"(?:[^"\\]|\\\\|\\.)+"|'(?:[^'\\]|\\\\|\\.)+'|\((?:[^)\\]|\\\\|\\.)+\)))?/,!0),Se.f=Se.inline=Ve,ge.linkHref+" url")}var Tt={startState:function(){return{f:tt,prevLine:{stream:null},thisLine:{stream:null},block:tt,htmlState:null,indentation:0,inline:Ve,text:Le,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(Ke){return{f:Ke.f,prevLine:Ke.prevLine,thisLine:Ke.thisLine,block:Ke.block,htmlState:Ke.htmlState&&y.copyState(ze,Ke.htmlState),indentation:Ke.indentation,localMode:Ke.localMode,localState:Ke.localMode?y.copyState(Ke.localMode,Ke.localState):null,inline:Ke.inline,text:Ke.text,formatting:!1,linkText:Ke.linkText,linkTitle:Ke.linkTitle,linkHref:Ke.linkHref,code:Ke.code,em:Ke.em,strong:Ke.strong,strikethrough:Ke.strikethrough,emoji:Ke.emoji,header:Ke.header,setext:Ke.setext,hr:Ke.hr,taskList:Ke.taskList,list:Ke.list,listStack:Ke.listStack.slice(0),quote:Ke.quote,indentedCode:Ke.indentedCode,trailingSpace:Ke.trailingSpace,trailingSpaceNewLine:Ke.trailingSpaceNewLine,md_inside:Ke.md_inside,fencedEndRE:Ke.fencedEndRE}},token:function(Ke,Se){if(Se.formatting=!1,Ke!=Se.thisLine.stream){if(Se.header=0,Se.hr=!1,Ke.match(/^\s*$/,!0))return Be(Se),null;if(Se.prevLine=Se.thisLine,Se.thisLine={stream:Ke},Se.taskList=!1,Se.trailingSpace=0,Se.trailingSpaceNewLine=!1,!Se.localState&&(Se.f=Se.block,Se.f!=Re)){var Ft=Ke.match(/^\s*/,!0)[0].replace(/\t/g,Ie).length;if(Se.indentation=Ft,Se.indentationDiff=null,Ft>0)return null}}return Se.f(Ke,Se)},innerMode:function(Ke){return Ke.block==Re?{state:Ke.htmlState,mode:ze}:Ke.localState?{state:Ke.localState,mode:Ke.localMode}:{state:Ke,mode:Tt}},indent:function(Ke,Se,Ft){return Ke.block==Re&&ze.indent?ze.indent(Ke.htmlState,Se,Ft):Ke.localState&&Ke.localMode.indent?Ke.localMode.indent(Ke.localState,Se,Ft):y.Pass},blankLine:Be,getType:ye,blockCommentStart:"<!--",blockCommentEnd:"-->",closeBrackets:"()[]{}''\"\"``",fold:"markdown"};return Tt},"xml"),y.defineMIME("text/markdown","markdown"),y.defineMIME("text/x-markdown","markdown")})},98101:function(mn,Ct,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 Ae=0;Ae<y.modeInfo.length;Ae++){var pe=y.modeInfo[Ae];pe.mimes&&(pe.mime=pe.mimes[0])}y.findModeByMIME=function(ze){ze=ze.toLowerCase();for(var Ce=0;Ce<y.modeInfo.length;Ce++){var Fe=y.modeInfo[Ce];if(Fe.mime==ze)return Fe;if(Fe.mimes){for(var ge=0;ge<Fe.mimes.length;ge++)if(Fe.mimes[ge]==ze)return Fe}}if(/\+xml$/.test(ze))return y.findModeByMIME("application/xml");if(/\+json$/.test(ze))return y.findModeByMIME("application/json")},y.findModeByExtension=function(ze){ze=ze.toLowerCase();for(var Ce=0;Ce<y.modeInfo.length;Ce++){var Fe=y.modeInfo[Ce];if(Fe.ext){for(var ge=0;ge<Fe.ext.length;ge++)if(Fe.ext[ge]==ze)return Fe}}},y.findModeByFileName=function(ze){for(var Ce=0;Ce<y.modeInfo.length;Ce++){var Fe=y.modeInfo[Ce];if(Fe.file&&Fe.file.test(ze))return Fe}var ge=ze.lastIndexOf("."),je=ge>-1&&ze.substring(ge+1,ze.length);if(je)return y.findModeByExtension(je)},y.findModeByName=function(ze){ze=ze.toLowerCase();for(var Ce=0;Ce<y.modeInfo.length;Ce++){var Fe=y.modeInfo[Ce];if(Fe.name.toLowerCase()==ze)return Fe;if(Fe.alias){for(var ge=0;ge<Fe.alias.length;ge++)if(Fe.alias[ge].toLowerCase()==ze)return Fe}}}})},67549:function(mn,Ct,E){(function(y){y(E(89780))})(function(y){"use strict";y.defineMode("stex",function(Ae,pe){"use strict";function ze(we,be){we.cmdState.push(be)}function Ce(we){return we.cmdState.length>0?we.cmdState[we.cmdState.length-1]:null}function Fe(we){var be=we.cmdState.pop();be&&be.closeBracket()}function ge(we){for(var be=we.cmdState,he=be.length-1;he>=0;he--){var ce=be[he];if(ce.name!="DEFAULT")return ce}return{styleIdentifier:function(){return null}}}function je(we,be,he){return function(){this.name=we,this.bracketNo=0,this.style=be,this.styles=he,this.argument=null,this.styleIdentifier=function(){return this.styles[this.bracketNo-1]||null},this.openBracket=function(){return this.bracketNo++,"bracket"},this.closeBracket=function(){}}}var De={};De.importmodule=je("importmodule","tag",["string","builtin"]),De.documentclass=je("documentclass","tag",["","atom"]),De.usepackage=je("usepackage","tag",["atom"]),De.begin=je("begin","tag",["atom"]),De.end=je("end","tag",["atom"]),De.label=je("label","tag",["atom"]),De.ref=je("ref","tag",["atom"]),De.eqref=je("eqref","tag",["atom"]),De.cite=je("cite","tag",["atom"]),De.bibitem=je("bibitem","tag",["atom"]),De.Bibitem=je("Bibitem","tag",["atom"]),De.RBibitem=je("RBibitem","tag",["atom"]),De.DEFAULT=function(){this.name="DEFAULT",this.style="tag",this.styleIdentifier=this.openBracket=this.closeBracket=function(){}};function se(we,be){we.f=be}function Ue(we,be){var he;if(we.match(/^\\[a-zA-Z@]+/)){var ce=we.current().slice(1);return he=De.hasOwnProperty(ce)?De[ce]:De.DEFAULT,he=new he,ze(be,he),se(be,Ne),he.style}if(we.match(/^\\[$&%#{}_]/)||we.match(/^\\[,;!\/\\]/))return"tag";if(we.match("\\["))return se(be,function(Ze,$e){return me(Ze,$e,"\\]")}),"keyword";if(we.match("\\("))return se(be,function(Ze,$e){return me(Ze,$e,"\\)")}),"keyword";if(we.match("$$"))return se(be,function(Ze,$e){return me(Ze,$e,"$$")}),"keyword";if(we.match("$"))return se(be,function(Ze,$e){return me(Ze,$e,"$")}),"keyword";var Ie=we.next();if(Ie=="%")return we.skipToEnd(),"comment";if(Ie=="}"||Ie=="]"){if(he=Ce(be),he)he.closeBracket(Ie),se(be,Ne);else return"error";return"bracket"}else return Ie=="{"||Ie=="["?(he=De.DEFAULT,he=new he,ze(be,he),"bracket"):/\d/.test(Ie)?(we.eatWhile(/[\w.%]/),"atom"):(we.eatWhile(/[\w\-_]/),he=ge(be),he.name=="begin"&&(he.argument=we.current()),he.styleIdentifier())}function me(we,be,he){if(we.eatSpace())return null;if(he&&we.match(he))return se(be,Ue),"keyword";if(we.match(/^\\[a-zA-Z@]+/))return"tag";if(we.match(/^[a-zA-Z]+/))return"variable-2";if(we.match(/^\\[$&%#{}_]/)||we.match(/^\\[,;!\/]/)||we.match(/^[\^_&]/))return"tag";if(we.match(/^[+\-<>|=,\/@!*:;'"`~#?]/))return null;if(we.match(/^(\d+\.\d*|\d*\.\d+|\d+)/))return"number";var ce=we.next();return ce=="{"||ce=="}"||ce=="["||ce=="]"||ce=="("||ce==")"?"bracket":ce=="%"?(we.skipToEnd(),"comment"):"error"}function Ne(we,be){var he=we.peek(),ce;return he=="{"||he=="["?(ce=Ce(be),ce.openBracket(he),we.eat(he),se(be,Ue),"bracket"):/[ \t\r]/.test(he)?(we.eat(he),null):(se(be,Ue),Fe(be),Ue(we,be))}return{startState:function(){var we=pe.inMathMode?function(be,he){return me(be,he)}:Ue;return{cmdState:[],f:we}},copyState:function(we){return{cmdState:we.cmdState.slice(),f:we.f}},token:function(we,be){return be.f(we,be)},blankLine:function(we){we.f=Ue,we.cmdState.length=0},lineComment:"%"}}),y.defineMIME("text/x-stex","stex"),y.defineMIME("text/x-latex","stex")})},15525:function(mn,Ct,E){(function(y){y(E(89780))})(function(y){"use strict";var Ae={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},pe={autoSelfClosers:{},implicitlyClosed:{},contextGrabbers:{},doNotIndent:{},allowUnquoted:!1,allowMissing:!1,allowMissingTagName:!1,caseFold:!1};y.defineMode("xml",function(ze,Ce){var Fe=ze.indentUnit,ge={},je=Ce.htmlMode?Ae:pe;for(var De in je)ge[De]=je[De];for(var De in Ce)ge[De]=Ce[De];var se,Ue;function me(Pe,it){function Oe(Ge){return it.tokenize=Ge,Ge(Pe,it)}var ue=Pe.next();if(ue=="<")return Pe.eat("!")?Pe.eat("[")?Pe.match("CDATA[")?Oe(be("atom","]]>")):null:Pe.match("--")?Oe(be("comment","-->")):Pe.match("DOCTYPE",!0,!0)?(Pe.eatWhile(/[\w\._\-]/),Oe(he(1))):null:Pe.eat("?")?(Pe.eatWhile(/[\w\._\-]/),it.tokenize=be("meta","?>"),"meta"):(se=Pe.eat("/")?"closeTag":"openTag",it.tokenize=Ne,"tag bracket");if(ue=="&"){var Xe;return Pe.eat("#")?Pe.eat("x")?Xe=Pe.eatWhile(/[a-fA-F\d]/)&&Pe.eat(";"):Xe=Pe.eatWhile(/[\d]/)&&Pe.eat(";"):Xe=Pe.eatWhile(/[\w\.\-:]/)&&Pe.eat(";"),Xe?"atom":"error"}else return Pe.eatWhile(/[^&<]/),null}me.isInText=!0;function Ne(Pe,it){var Oe=Pe.next();if(Oe==">"||Oe=="/"&&Pe.eat(">"))return it.tokenize=me,se=Oe==">"?"endTag":"selfcloseTag","tag bracket";if(Oe=="=")return se="equals",null;if(Oe=="<"){it.tokenize=me,it.state=$e,it.tagName=it.tagStart=null;var ue=it.tokenize(Pe,it);return ue?ue+" tag error":"tag error"}else return/[\'\"]/.test(Oe)?(it.tokenize=we(Oe),it.stringStartCol=Pe.column(),it.tokenize(Pe,it)):(Pe.match(/^[^\s\u00a0=<>\"\']*[^\s\u00a0=<>\"\'\/]/),"word")}function we(Pe){var it=function(Oe,ue){for(;!Oe.eol();)if(Oe.next()==Pe){ue.tokenize=Ne;break}return"string"};return it.isInAttribute=!0,it}function be(Pe,it){return function(Oe,ue){for(;!Oe.eol();){if(Oe.match(it)){ue.tokenize=me;break}Oe.next()}return Pe}}function he(Pe){return function(it,Oe){for(var ue;(ue=it.next())!=null;){if(ue=="<")return Oe.tokenize=he(Pe+1),Oe.tokenize(it,Oe);if(ue==">")if(Pe==1){Oe.tokenize=me;break}else return Oe.tokenize=he(Pe-1),Oe.tokenize(it,Oe)}return"meta"}}function ce(Pe,it,Oe){this.prev=Pe.context,this.tagName=it,this.indent=Pe.indented,this.startOfLine=Oe,(ge.doNotIndent.hasOwnProperty(it)||Pe.context&&Pe.context.noIndent)&&(this.noIndent=!0)}function Ie(Pe){Pe.context&&(Pe.context=Pe.context.prev)}function Ze(Pe,it){for(var Oe;;){if(!Pe.context||(Oe=Pe.context.tagName,!ge.contextGrabbers.hasOwnProperty(Oe)||!ge.contextGrabbers[Oe].hasOwnProperty(it)))return;Ie(Pe)}}function $e(Pe,it,Oe){return Pe=="openTag"?(Oe.tagStart=it.column(),oe):Pe=="closeTag"?Be:$e}function oe(Pe,it,Oe){return Pe=="word"?(Oe.tagName=it.current(),Ue="tag",_e):ge.allowMissingTagName&&Pe=="endTag"?(Ue="tag bracket",_e(Pe,it,Oe)):(Ue="error",oe)}function Be(Pe,it,Oe){if(Pe=="word"){var ue=it.current();return Oe.context&&Oe.context.tagName!=ue&&ge.implicitlyClosed.hasOwnProperty(Oe.context.tagName)&&Ie(Oe),Oe.context&&Oe.context.tagName==ue||ge.matchClosing===!1?(Ue="tag",tt):(Ue="tag error",Re)}else return ge.allowMissingTagName&&Pe=="endTag"?(Ue="tag bracket",tt(Pe,it,Oe)):(Ue="error",Re)}function tt(Pe,it,Oe){return Pe!="endTag"?(Ue="error",tt):(Ie(Oe),$e)}function Re(Pe,it,Oe){return Ue="error",tt(Pe,it,Oe)}function _e(Pe,it,Oe){if(Pe=="word")return Ue="attribute",ye;if(Pe=="endTag"||Pe=="selfcloseTag"){var ue=Oe.tagName,Xe=Oe.tagStart;return Oe.tagName=Oe.tagStart=null,Pe=="selfcloseTag"||ge.autoSelfClosers.hasOwnProperty(ue)?Ze(Oe,ue):(Ze(Oe,ue),Oe.context=new ce(Oe,ue,Xe==Oe.indented)),$e}return Ue="error",_e}function ye(Pe,it,Oe){return Pe=="equals"?Le:(ge.allowMissing||(Ue="error"),_e(Pe,it,Oe))}function Le(Pe,it,Oe){return Pe=="string"?Ve:Pe=="word"&&ge.allowUnquoted?(Ue="string",_e):(Ue="error",_e(Pe,it,Oe))}function Ve(Pe,it,Oe){return Pe=="string"?Ve:_e(Pe,it,Oe)}return{startState:function(Pe){var it={tokenize:me,state:$e,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 Oe=it.tokenize(Pe,it);return(Oe||se)&&Oe!="comment"&&(Ue=null,it.state=it.state(se||Oe,Pe,it),Ue&&(Oe=Ue=="error"?Oe+" error":Ue)),Oe},indent:function(Pe,it,Oe){var ue=Pe.context;if(Pe.tokenize.isInAttribute)return Pe.tagStart==Pe.indented?Pe.stringStartCol+1:Pe.indented+Fe;if(ue&&ue.noIndent)return y.Pass;if(Pe.tokenize!=Ne&&Pe.tokenize!=me)return Oe?Oe.match(/^(\s*)/)[0].length:0;if(Pe.tagName)return ge.multilineTagIndentPastTag!==!1?Pe.tagStart+Pe.tagName.length+2:Pe.tagStart+Fe*(ge.multilineTagIndentFactor||1);if(ge.alignCDATA&&/<!\[CDATA\[/.test(it))return 0;var Xe=it&&/^<(\/)?([\w_:\.-]*)/.exec(it);if(Xe&&Xe[1])for(;ue;)if(ue.tagName==Xe[2]){ue=ue.prev;break}else if(ge.implicitlyClosed.hasOwnProperty(ue.tagName))ue=ue.prev;else break;else if(Xe)for(;ue;){var Ge=ge.contextGrabbers[ue.tagName];if(Ge&&Ge.hasOwnProperty(Xe[2]))ue=ue.prev;else break}for(;ue&&ue.prev&&!ue.startOfLine;)ue=ue.prev;return ue?ue.indent+Fe:Pe.baseIndent||0},electricInput:/<\/[\s\w:]+>$/,blockCommentStart:"<!--",blockCommentEnd:"-->",configuration:ge.htmlMode?"html":"xml",helperType:ge.htmlMode?"html":"xml",skipAttribute:function(Pe){Pe.state==Le&&(Pe.state=_e)},xmlCurrentTag:function(Pe){return Pe.tagName?{name:Pe.tagName,close:Pe.type=="closeTag"}:null},xmlCurrentContext:function(Pe){for(var it=[],Oe=Pe.context;Oe;Oe=Oe.prev)Oe.tagName&&it.push(Oe.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(mn,Ct,E){"use strict";E.d(Ct,{hP:function(){return Wt}});var y=function(de,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])})(de,ne)};function Ae(de,ne){function te(){this.constructor=de}y(de,ne),de.prototype=ne===null?Object.create(ne):(te.prototype=ne.prototype,new te)}function pe(de,ne,te,le){return new(te||(te=Promise))(function(ve,re){function fe(et){try{vt(le.next(et))}catch(nt){re(nt)}}function Ye(et){try{vt(le.throw(et))}catch(nt){re(nt)}}function vt(et){var nt;et.done?ve(et.value):(nt=et.value,nt instanceof te?nt:new te(function(mt){mt(nt)})).then(fe,Ye)}vt((le=le.apply(de,ne||[])).next())})}function ze(de,ne){var te,le,ve,re,fe={label:0,sent:function(){if(1&ve[0])throw ve[1];return ve[1]},trys:[],ops:[]};return re={next:Ye(0),throw:Ye(1),return:Ye(2)},typeof Symbol=="function"&&(re[Symbol.iterator]=function(){return this}),re;function Ye(vt){return function(et){return function(nt){if(te)throw new TypeError("Generator is already executing.");for(;fe;)try{if(te=1,le&&(ve=2&nt[0]?le.return:nt[0]?le.throw||((ve=le.return)&&ve.call(le),0):le.next)&&!(ve=ve.call(le,nt[1])).done)return ve;switch(le=0,ve&&(nt=[2&nt[0],ve.value]),nt[0]){case 0:case 1:ve=nt;break;case 4:return fe.label++,{value:nt[1],done:!1};case 5:fe.label++,le=nt[1],nt=[0];continue;case 7:nt=fe.ops.pop(),fe.trys.pop();continue;default:if(ve=fe.trys,!((ve=ve.length>0&&ve[ve.length-1])||nt[0]!==6&&nt[0]!==2)){fe=0;continue}if(nt[0]===3&&(!ve||nt[1]>ve[0]&&nt[1]<ve[3])){fe.label=nt[1];break}if(nt[0]===6&&fe.label<ve[1]){fe.label=ve[1],ve=nt;break}if(ve&&fe.label<ve[2]){fe.label=ve[2],fe.ops.push(nt);break}ve[2]&&fe.ops.pop(),fe.trys.pop();continue}nt=ne.call(de,fe)}catch(mt){nt=[6,mt],le=0}finally{te=ve=0}if(5&nt[0])throw nt[1];return{value:nt[0]?nt[1]:void 0,done:!0}}([vt,et])}}}function Ce(){for(var de=0,ne=0,te=arguments.length;ne<te;ne++)de+=arguments[ne].length;var le=Array(de),ve=0;for(ne=0;ne<te;ne++)for(var re=arguments[ne],fe=0,Ye=re.length;fe<Ye;fe++,ve++)le[ve]=re[fe];return le}var Fe=function(){function de(){}return de.createDefs=function(){return document.createElementNS("http://www.w3.org/2000/svg","defs")},de.setAttributes=function(ne,te){for(var le=0,ve=te;le<ve.length;le++){var re=ve[le],fe=re[0],Ye=re[1];ne.setAttribute(fe,Ye)}},de.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&&de.setAttributes(ve,le),ve},de.createLine=function(ne,te,le,ve,re){var fe=document.createElementNS("http://www.w3.org/2000/svg","line");return fe.setAttribute("x1",ne.toString()),fe.setAttribute("y1",te.toString()),fe.setAttribute("x2",le.toString()),fe.setAttribute("y2",ve.toString()),re&&de.setAttributes(fe,re),fe},de.createPolygon=function(ne,te){var le=document.createElementNS("http://www.w3.org/2000/svg","polygon");return le.setAttribute("points",ne),te&&de.setAttributes(le,te),le},de.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&&de.setAttributes(le,te),le},de.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&&de.setAttributes(ve,le),ve},de.createGroup=function(ne){var te=document.createElementNS("http://www.w3.org/2000/svg","g");return ne&&de.setAttributes(te,ne),te},de.createTransform=function(){return document.createElementNS("http://www.w3.org/2000/svg","svg").createSVGTransform()},de.createMarker=function(ne,te,le,ve,re,fe,Ye){var vt=document.createElementNS("http://www.w3.org/2000/svg","marker");return de.setAttributes(vt,[["id",ne],["orient",te],["markerWidth",le.toString()],["markerHeight",ve.toString()],["refX",re.toString()],["refY",fe.toString()]]),vt.appendChild(Ye),vt},de.createText=function(ne){var te=document.createElementNS("http://www.w3.org/2000/svg","text");return te.setAttribute("x","0"),te.setAttribute("y","0"),ne&&de.setAttributes(te,ne),te},de.createTSpan=function(ne,te){var le=document.createElementNS("http://www.w3.org/2000/svg","tspan");return le.textContent=ne,te&&de.setAttributes(le,te),le},de.createImage=function(ne){var te=document.createElementNS("http://www.w3.org/2000/svg","image");return ne&&de.setAttributes(te,ne),te},de.createPoint=function(ne,te){var le=document.createElementNS("http://www.w3.org/2000/svg","svg").createSVGPoint();return le.x=ne,le.y=te,le},de.createPath=function(ne,te){var le=document.createElementNS("http://www.w3.org/2000/svg","path");return le.setAttribute("d",ne),te&&de.setAttributes(le,te),le},de}(),ge=function(){function de(){}return de.addKey=function(ne){de.key=ne},Object.defineProperty(de,"isLicensed",{get:function(){return!!de.key&&new RegExp(/^MJS2-[A-Z][0-9]{3}-[A-Z][0-9]{3}-[0-9]{4}$/,"i").test(de.key)},enumerable:!1,configurable:!0}),de}(),je=function(){function de(){this.naturalSize=!1,this.imageType="image/png",this.markersOnly=!1}return de.prototype.rasterize=function(ne,te,le){var ve=this;return new Promise(function(re){var fe=le!==void 0?le:document.createElement("canvas");ne===null&&(ve.markersOnly=!0,ve.naturalSize=!1);var Ye=document.createElementNS("http://www.w3.org/2000/svg","svg");Ye.setAttribute("xmlns","http://www.w3.org/2000/svg"),Ye.setAttribute("width",te.width.baseVal.valueAsString),Ye.setAttribute("height",te.height.baseVal.valueAsString),Ye.setAttribute("viewBox","0 0 "+te.viewBox.baseVal.width.toString()+" "+te.viewBox.baseVal.height.toString()),Ye.innerHTML=te.innerHTML,ve.naturalSize===!0?(Ye.width.baseVal.value=ne.naturalWidth,Ye.height.baseVal.value=ne.naturalHeight):ve.width!==void 0&&ve.height!==void 0&&(Ye.width.baseVal.value=ve.width,Ye.height.baseVal.value=ve.height),fe.width=Ye.width.baseVal.value,fe.height=Ye.height.baseVal.value;var vt=Ye.outerHTML,et=fe.getContext("2d");ve.markersOnly!==!0&&et.drawImage(ne,0,0,fe.width,fe.height);var nt=window.URL,mt=new Image(fe.width,fe.height);mt.setAttribute("crossOrigin","anonymous");var yt=new Blob([vt],{type:"image/svg+xml"}),St=nt.createObjectURL(yt);mt.onload=function(){et.drawImage(mt,0,0),nt.revokeObjectURL(St);var Qe=fe.toDataURL(ve.imageType,ve.imageQuality);re(Qe)},mt.src=St})},de}(),De=function(){},se=function(){function de(ne){this._classNamePrefixBase="__markerjs2_",this.classes=[],this.rules=[],this.settings=this.defaultSettings,this._classNamePrefix=this._classNamePrefixBase+"_"+ne+"_"}return Object.defineProperty(de.prototype,"classNamePrefixBase",{get:function(){return this._classNamePrefixBase},enumerable:!1,configurable:!0}),Object.defineProperty(de.prototype,"classNamePrefix",{get:function(){return this._classNamePrefix},enumerable:!1,configurable:!0}),Object.defineProperty(de.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(de.prototype,"fadeInAnimationClassName",{get:function(){return this.classNamePrefix+"fade_in"},enumerable:!1,configurable:!0}),Object.defineProperty(de.prototype,"fadeOutAnimationClassName",{get:function(){return this.classNamePrefix+"fade_out"},enumerable:!1,configurable:!0}),de.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},de.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)},de.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 Ue("."+this.classNamePrefix+" h3","font-family: sans-serif")),this.addRule(new Ue("@keyframes "+this.classNamePrefix+"_fade_in_animation_frames",`
|
|
|
from {
|
|
|
opacity: 0;
|
|
|
}
|
|
|
to {
|
|
|
opacity: 1;
|
|
|
}
|
|
|
`)),this.addRule(new Ue("@keyframes "+this.classNamePrefix+"_fade_out_animation_frames",`
|
|
|
from {
|
|
|
opacity: 1;
|
|
|
}
|
|
|
to {
|
|
|
opacity: 0;
|
|
|
}
|
|
|
`)),this.addClass(new me("fade_in",`
|
|
|
animation-duration: 0.3s;
|
|
|
animation-name: `+this.classNamePrefix+`_fade_in_animation_frames;
|
|
|
`)),this.addClass(new me("fade_out",`
|
|
|
animation-duration: 0.3s;
|
|
|
animation-name: `+this.classNamePrefix+`_fade_out_animation_frames;
|
|
|
`))},de.prototype.removeStyleSheet=function(){var ne;this.styleSheet&&(((ne=this.styleSheetRoot)!==null&&ne!==void 0?ne:document.head).removeChild(this.styleSheet),this.styleSheet=void 0)},de}(),Ue=function(de,ne){this.selector=de,this.style=ne},me=function(de,ne){this.localName=de,this.style=ne},Ne=function(){function de(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 de.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 fe=document.createElement("div");fe.className=""+te.toolbarButtonStyleClass.name,fe.setAttribute("data-type-name",re.typeName),fe.innerHTML=re.icon,fe.addEventListener("click",function(){te.markerToolbarButtonClicked(fe,re)}),te.buttons.push(fe),te.markerButtons.push(fe)}),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()},de.prototype.addButtonClickListener=function(ne){this.buttonClickListeners.push(ne)},de.prototype.removeButtonClickListener=function(ne){this.buttonClickListeners.indexOf(ne)>-1&&this.buttonClickListeners.splice(this.buttonClickListeners.indexOf(ne),1)},de.prototype.setSelectMode=function(){this.resetButtonStyles(),this.setActiveButton(this.buttons[0])},de.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]))}},de.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")},de.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)})},de.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)},de.prototype.addStyles=function(){this.toolbarStyleClass=this.styles.addClass(new me("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 me("toolbar_colors",`
|
|
|
background-color: `+this.uiStyleSettings.toolbarBackgroundColor+`;
|
|
|
box-shadow: 0px 3px rgba(33, 33, 33, 0.1);
|
|
|
`)),this.toolbarBlockStyleClass=this.styles.addClass(new me("toolbar-block",`
|
|
|
display: inline-block;
|
|
|
box-sizing: content-box;
|
|
|
`)),this.toolbarOverflowBlockStyleClass=this.styles.addClass(new me("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 me("toolbar-overflow-block_colors",`
|
|
|
background-color: `+this.uiStyleSettings.toolbarBackgroundColor+`;
|
|
|
`));var ne=this.uiStyleSettings.toolbarHeight/4;this.toolbarButtonStyleClass=this.styles.addClass(new me("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 me("toolbar_button_colors",`
|
|
|
fill: `+this.uiStyleSettings.toolbarColor+`;
|
|
|
`)),this.toolbarActiveButtonStyleColorsClass=this.styles.addClass(new me("toolbar_active_button",`
|
|
|
fill: `+this.uiStyleSettings.toolbarColor+`;
|
|
|
background-color: `+this.uiStyleSettings.toolbarBackgroundHoverColor+`
|
|
|
`)),this.styles.addRule(new Ue("."+this.toolbarButtonStyleClass.name+" svg",`
|
|
|
height: `+this.uiStyleSettings.toolbarHeight/2+`px;
|
|
|
`)),this.styles.addRule(new Ue("."+this.toolbarButtonStyleColorsClass.name+":hover",`
|
|
|
background-color: `+this.uiStyleSettings.toolbarBackgroundHoverColor+`
|
|
|
`))},de.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"},de.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])},de.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)},de.prototype.setActiveMarkerButton=function(ne){var te=this.markerButtons.find(function(le){return le.getAttribute("data-type-name")===ne});te&&this.setActiveButton(te)},de.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")})},de}(),we=function(){function de(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 de.prototype.addStyles=function(){var ne;this.toolboxStyleClass=this.styles.addClass(new me("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 me("toolbox_colors",`
|
|
|
color: `+this.uiStyleSettings.toolboxColor+`;
|
|
|
`));var te=this.uiStyleSettings.toolbarHeight/4;this.toolboxButtonRowStyleClass=this.styles.addClass(new me("toolbox-button-row",`
|
|
|
display: flex;
|
|
|
cursor: default;
|
|
|
box-sizing: content-box;
|
|
|
`)),this.toolboxButtonRowStyleColorsClass=this.styles.addClass(new me("toolbox-button-row_colors",`
|
|
|
background-color: `+this.uiStyleSettings.toolbarBackgroundColor+`;
|
|
|
`)),this.toolboxPanelRowStyleClass=this.styles.addClass(new me("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 me("toolbox-panel-row_colors",`
|
|
|
background-color: `+((ne=this.uiStyleSettings.toolboxBackgroundColor)!==null&&ne!==void 0?ne:this.uiStyleSettings.toolbarBackgroundHoverColor)+`;
|
|
|
`)),this.toolboxButtonStyleClass=this.styles.addClass(new me("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 me("toolbox-button_colors",`
|
|
|
fill: `+this.uiStyleSettings.toolbarColor+`;
|
|
|
`)),this.toolboxActiveButtonStyleColorsClass=this.styles.addClass(new me("toolbox-active-button_colors",`
|
|
|
background-color: `+this.uiStyleSettings.toolbarBackgroundHoverColor+`;
|
|
|
fill: `+this.uiStyleSettings.toolbarColor+`;
|
|
|
`)),this.styles.addRule(new Ue("."+this.toolboxButtonStyleColorsClass.name+":hover",`
|
|
|
background-color: `+this.uiStyleSettings.toolbarBackgroundHoverColor+`
|
|
|
`)),this.styles.addRule(new Ue("."+this.toolboxButtonStyleClass.name+" svg",`
|
|
|
height: `+this.uiStyleSettings.toolbarHeight/2+`px;
|
|
|
`))},de.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)},de.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 fe;re.uiStyleSettings=ve.uiStyleSettings;var Ye=document.createElement("div");Ye.className=ve.toolboxButtonStyleClass.name+" "+((fe=ve.uiStyleSettings.toolboxButtonStyleColorsClassName)!==null&&fe!==void 0?fe:ve.toolboxButtonStyleColorsClass.name),Ye.innerHTML=re.icon,Ye.title=re.title,Ye.addEventListener("click",function(){ve.panelButtonClick(re)}),ve.panelButtons.push(Ye),ve.buttonRow.appendChild(Ye)}),this.displayMode==="inline"?this.panelRow.style.display="none":this.panelRow.style.visibility="hidden")},de.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,fe){var Ye,vt;re.className=te.toolboxButtonStyleClass.name+" "+(fe===le?""+((Ye=te.uiStyleSettings.toolboxActiveButtonStyleColorsClassName)!==null&&Ye!==void 0?Ye:te.toolboxActiveButtonStyleColorsClass.name):""+((vt=te.uiStyleSettings.toolboxButtonStyleColorsClassName)!==null&&vt!==void 0?vt:te.toolboxButtonStyleColorsClass.name))})},de}(),be=function(de,ne){this.title=de,this.icon=ne},he=function(de){function ne(te,le,ve,re){var fe=de.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 fe.colors=[],fe.addTransparent=!1,fe.colorBoxes=[],fe.colors=le,fe.currentColor=ve,fe.setCurrentColor=fe.setCurrentColor.bind(fe),fe.getColorBox=fe.getColorBox.bind(fe),fe}return Ae(ne,de),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,fe=document.createElement("div");fe.style.display="inline-block",fe.style.boxSizing="content-box",fe.style.width=re-2+"px",fe.style.height=re-2+"px",fe.style.padding="1px",fe.style.marginRight="2px",fe.style.marginBottom="2px",fe.style.borderWidth="2px",fe.style.borderStyle="solid",fe.style.borderRadius=(re+2)/2+"px",fe.style.borderColor=te===this.currentColor?this.uiStyleSettings.toolboxAccentColor:"transparent",fe.addEventListener("click",function(){le.setCurrentColor(te,fe)});var Ye=document.createElement("div");return Ye.style.display="inline-block",Ye.style.width=re-2+"px",Ye.style.height=re-2+"px",Ye.style.backgroundColor=te,Ye.style.borderRadius=re/2+"px",te==="transparent"&&(Ye.style.fill=this.uiStyleSettings.toolboxAccentColor,Ye.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>`),fe.appendChild(Ye),fe},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}(be),ce=function(){function de(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(de.prototype,"typeName",{get:function(){return Object.getPrototypeOf(this).constructor.typeName},enumerable:!1,configurable:!0}),Object.defineProperty(de.prototype,"container",{get:function(){return this._container},enumerable:!1,configurable:!0}),Object.defineProperty(de.prototype,"overlayContainer",{get:function(){return this._overlayContainer},enumerable:!1,configurable:!0}),Object.defineProperty(de.prototype,"state",{get:function(){return this._state},enumerable:!1,configurable:!0}),Object.defineProperty(de.prototype,"toolboxPanels",{get:function(){return[]},enumerable:!1,configurable:!0}),de.prototype.ownsTarget=function(ne){return!1},Object.defineProperty(de.prototype,"isSelected",{get:function(){return this._isSelected},enumerable:!1,configurable:!0}),de.prototype.select=function(){this.container.style.cursor="move",this._isSelected=!0,this.manipulationStartState=this.getState()},de.prototype.deselect=function(){this.container.style.cursor="default",this._isSelected=!1,this.stateChanged()},de.prototype.pointerDown=function(ne,te){},de.prototype.dblClick=function(ne,te){},de.prototype.manipulate=function(ne){},de.prototype.pointerUp=function(ne){this.stateChanged()},de.prototype.dispose=function(){},de.prototype.addMarkerVisualToContainer=function(ne){this.container.childNodes.length>0?this.container.insertBefore(ne,this.container.childNodes[0]):this.container.appendChild(ne)},de.prototype.getState=function(){return{typeName:de.typeName,state:this.state,notes:this.notes}},de.prototype.restoreState=function(ne){this._state=ne.state,this.notes=ne.notes},de.prototype.scale=function(ne,te){},de.prototype.colorChanged=function(ne){this.onColorChanged&&this.onColorChanged(ne),this.stateChanged()},de.prototype.fillColorChanged=function(ne){this.onFillColorChanged&&this.onFillColorChanged(ne),this.stateChanged()},de.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)}},de.typeName="MarkerBase",de}(),Ie=function(){function de(){this.findGripByVisual=this.findGripByVisual.bind(this)}return de.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},de}(),Ze=function(){function de(){this.GRIP_SIZE=10,this.visual=Fe.createGroup(),this.visual.appendChild(Fe.createCircle(1.5*this.GRIP_SIZE,[["fill","transparent"]])),this.visual.appendChild(Fe.createCircle(this.GRIP_SIZE,[["fill","#cccccc"],["fill-opacity","0.7"],["stroke","#333333"],["stroke-width","2"],["stroke-opacity","0.7"]]))}return de.prototype.ownsTarget=function(ne){return ne===this.visual||ne===this.visual.childNodes[0]||ne===this.visual.childNodes[1]},de}(),$e=function(){function de(){}return de.toITransformMatrix=function(ne){return{a:ne.a,b:ne.b,c:ne.c,d:ne.d,e:ne.e,f:ne.f}},de.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},de}(),oe=function(de){function ne(te,le,ve){var re=de.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(Fe.createTransform()),re.setupControlBox(),re}return Ae(ne,de),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=Fe.createTransform();this._visual.transform.baseVal.appendItem(le)},enumerable:!1,configurable:!0}),ne.prototype.ownsTarget=function(te){return!!de.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){de.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 fe=this.container.transform.baseVal.getItem(0);fe.setRotate(this.rotationAngle,this.centerX,this.centerY),this.container.transform.baseVal.replaceItem(fe,0),this.adjustControlBox(),this._state="rotate"}else this._state="move"},ne.prototype.pointerUp=function(te){var le=this.state;de.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,fe=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,fe=this.manipulationStartHeight+this.manipulationStartTop-re;break;case this.controlGrips.bottomCenter:case this.controlGrips.bottomLeft:case this.controlGrips.bottomRight:case void 0:fe=this.manipulationStartHeight+te.y-this.manipulationStartY}ve>=0?(this.left=le,this.width=ve):(this.left=le+ve,this.width=-ve),fe>=0?(this.top=re,this.height=fe):(this.top=re+fe,this.height=-fe),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=Fe.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=Fe.createPoint(te.x,te.y);return{x:(ve=ve.matrixTransform(le)).x,y:ve.y}},ne.prototype.select=function(){de.prototype.select.call(this),this.adjustControlBox(),this.controlBox.style.display=""},ne.prototype.deselect=function(){de.prototype.deselect.call(this),this.controlBox.style.display="none"},ne.prototype.setupControlBox=function(){this.controlBox=Fe.createGroup();var te=Fe.createTransform();te.setTranslate(-this.CB_DISTANCE/2,-this.CB_DISTANCE/2),this.controlBox.transform.baseVal.appendItem(te),this.container.appendChild(this.controlBox),this.controlRect=Fe.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=Fe.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 Ie,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(Fe.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,fe=(this.height+this.CB_DISTANCE)/2-te/2,Ye=this.height+this.CB_DISTANCE-te/2,vt=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,vt,ve),this.positionGrip(this.controlGrips.centerLeft.visual,le,fe),this.positionGrip(this.controlGrips.centerRight.visual,vt,fe),this.positionGrip(this.controlGrips.bottomLeft.visual,le,Ye),this.positionGrip(this.controlGrips.bottomCenter.visual,re,Ye),this.positionGrip(this.controlGrips.bottomRight.visual,vt,Ye),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:$e.toITransformMatrix(this.visual.transform.baseVal.getItem(0).matrix),containerTransformMatrix:$e.toITransformMatrix(this.container.transform.baseVal.getItem(0).matrix)},de.prototype.getState.call(this))},ne.prototype.restoreState=function(te){de.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($e.toSVGMatrix(this.visual.transform.baseVal.getItem(0).matrix,le.visualTransformMatrix)),this.container.transform.baseVal.getItem(0).setMatrix($e.toSVGMatrix(this.container.transform.baseVal.getItem(0).matrix,le.containerTransformMatrix))},ne.prototype.scale=function(te,le){de.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}(ce),Be=function(de){function ne(te,le,ve){var re=de.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 Ae(ne,de),ne.prototype.ownsTarget=function(te){return!(!de.prototype.ownsTarget.call(this,te)&&te!==this.visual)},ne.prototype.createVisual=function(){this.visual=Fe.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){de.prototype.pointerDown.call(this,te,le),this.state==="new"&&(this.createVisual(),this.moveVisual(te),this._state="creating")},ne.prototype.manipulate=function(te){de.prototype.manipulate.call(this,te)},ne.prototype.resize=function(te){de.prototype.resize.call(this,te),this.setSize()},ne.prototype.setSize=function(){de.prototype.setSize.call(this),Fe.setAttributes(this.visual,[["width",this.width.toString()],["height",this.height.toString()]])},ne.prototype.pointerUp=function(te){de.prototype.pointerUp.call(this,te),this.setSize()},ne.prototype.setStrokeColor=function(te){this.strokeColor=te,this.visual&&Fe.setAttributes(this.visual,[["stroke",this.strokeColor]]),this.colorChanged(te),this.stateChanged()},ne.prototype.setFillColor=function(te){this.fillColor=te,this.visual&&Fe.setAttributes(this.visual,[["fill",this.fillColor]]),this.stateChanged()},ne.prototype.setStrokeWidth=function(te){this.strokeWidth=te,this.visual&&Fe.setAttributes(this.visual,[["stroke-width",this.strokeWidth.toString()]]),this.stateChanged()},ne.prototype.setStrokeDasharray=function(te){this.strokeDasharray=te,this.visual&&Fe.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},de.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(),de.prototype.restoreState.call(this,te),this.setSize()},ne.prototype.scale=function(te,le){de.prototype.scale.call(this,te,le),this.setSize()},ne.title="Rectangle marker",ne}(oe),tt=function(de){function ne(te,le,ve,re){var fe=de.call(this,te,re||'<svg viewBox="0 0 24 24"><path d="M3 17h18v-2H3v2m0 3h18v-1H3v1m0-7h18v-3H3v3m0-9v4h18V4H3z"/></svg>')||this;return fe.widths=[],fe.widthBoxes=[],fe.widths=le,fe.currentWidth=ve,fe.setCurrentWidth=fe.setCurrentWidth.bind(fe),fe}return Ae(ne,de),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 fe=document.createElement("div");fe.innerText=ve.toString(),fe.style.marginRight="5px",re.appendChild(fe);var Ye=document.createElement("div");Ye.style.minHeight="20px",Ye.style.flexGrow="2",Ye.style.display="flex",Ye.style.alignItems="center";var vt=document.createElement("hr");vt.style.minWidth="20px",vt.style.border="0px",vt.style.borderTop=ve+"px solid "+te.uiStyleSettings.toolboxColor,vt.style.flexGrow="2",Ye.appendChild(vt),re.appendChild(Ye),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}(be),Re=function(de){function ne(te,le,ve,re){var fe=de.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 fe.styles=[],fe.styleBoxes=[],fe.styles=le,fe.currentStyle=ve,fe.setCurrentStyle=fe.setCurrentStyle.bind(fe),fe}return Ae(ne,de),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 fe=document.createElement("div");fe.style.minHeight="20px",fe.style.flexGrow="2",fe.style.overflow="hidden";var Ye=`<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>`;fe.innerHTML=Ye,re.appendChild(fe),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}(be),_e=function(de){function ne(te,le,ve){var re=de.call(this,te,le,ve)||this;return re.strokeColor=ve.defaultColor,re.strokeWidth=ve.defaultStrokeWidth,re.strokeDasharray=ve.defaultStrokeDasharray,re.strokePanel=new he("Line color",ve.defaultColorSet,ve.defaultColor),re.strokePanel.onColorChanged=re.setStrokeColor,re.strokeWidthPanel=new tt("Line width",ve.defaultStrokeWidths,ve.defaultStrokeWidth),re.strokeWidthPanel.onWidthChanged=re.setStrokeWidth,re.strokeStylePanel=new Re("Line style",ve.defaultStrokeDasharrays,ve.defaultStrokeDasharray),re.strokeStylePanel.onStyleChanged=re.setStrokeDasharray,re}return Ae(ne,de),Object.defineProperty(ne.prototype,"toolboxPanels",{get:function(){return[this.strokePanel,this.strokeWidthPanel,this.strokeStylePanel]},enumerable:!1,configurable:!0}),ne.prototype.getState=function(){var te=de.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}(Be),ye=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"},Le=function(de){function ne(te,le,ve){var re=de.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 Ae(ne,de),ne.prototype.ownsTarget=function(te){return!!de.prototype.ownsTarget.call(this,te)||!(!this.grip1.ownsTarget(te)&&!this.grip2.ownsTarget(te))},ne.prototype.pointerDown=function(te,le){de.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;de.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(){de.prototype.select.call(this),this.adjustControlBox(),this.controlBox.style.display=""},ne.prototype.deselect=function(){de.prototype.deselect.call(this),this.controlBox.style.display="none"},ne.prototype.setupControlBox=function(){this.controlBox=Fe.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(Fe.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},de.prototype.getState.call(this))},ne.prototype.restoreState=function(te){de.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){de.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}(ce),Ve=function(de){function ne(te,le,ve){var re=de.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 he("Line color",ve.defaultColorSet,ve.defaultColor),re.strokePanel.onColorChanged=re.setStrokeColor,re.strokeWidthPanel=new tt("Line width",ve.defaultStrokeWidths,ve.defaultStrokeWidth),re.strokeWidthPanel.onWidthChanged=re.setStrokeWidth,re.strokeStylePanel=new Re("Line style",ve.defaultStrokeDasharrays,ve.defaultStrokeDasharray),re.strokeStylePanel.onStyleChanged=re.setStrokeDasharray,re}return Ae(ne,de),ne.prototype.ownsTarget=function(te){return!(!de.prototype.ownsTarget.call(this,te)&&te!==this.visual&&te!==this.selectorLine&&te!==this.visibleLine)},ne.prototype.createVisual=function(){this.visual=Fe.createGroup(),this.selectorLine=Fe.createLine(this.x1,this.y1,this.x2,this.y2,[["stroke","transparent"],["stroke-width",(this.strokeWidth+10).toString()]]),this.visibleLine=Fe.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){de.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()),Fe.setAttributes(this.visibleLine,[["stroke",this.strokeColor]]),Fe.setAttributes(this.visibleLine,[["stroke-width",this.strokeWidth.toString()]]),Fe.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},de.prototype.getState.call(this));return te.typeName=ne.typeName,te},ne.prototype.restoreState=function(te){de.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}(Le),Pe=function(de){function ne(te,le,ve,re){var fe=de.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 fe.fonts=[],fe.fontBoxes=[],fe.fonts=le,fe.currentFont=ve,fe.setCurrentFont=fe.setCurrentFont.bind(fe),fe}return Ae(ne,de),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 fe=document.createElement("div");fe.style.display="flex",fe.style.minHeight="20px",fe.style.flexGrow="2",fe.style.fontFamily=ve,fe.style.overflow="hidden";var Ye=document.createElement("div");Ye.style.whiteSpace="nowrap",Ye.style.overflow="hidden",Ye.style.textOverflow="ellipsis",Ye.innerHTML="The quick brown fox jumps over the lazy dog",fe.appendChild(Ye),re.appendChild(fe),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}(be),it=function(de){function ne(te,le,ve){var re=de.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 he("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 Ae(ne,de),ne.prototype.ownsTarget=function(te){if(de.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=Fe.createGroup(),this.bgRectangle=Fe.createRect(1,1,[["fill","transparent"]]),this.visual.appendChild(this.bgRectangle),this.textElement=Fe.createText([["fill",this.color],["font-family",this.fontFamily],["font-size","16px"],["x","0"],["y","0"]]),this.textElement.transform.baseVal.appendItem(Fe.createTransform()),this.textElement.transform.baseVal.appendItem(Fe.createTransform()),this.visual.appendChild(this.textElement),this.addMarkerVisualToContainer(this.visual),this.renderText()},ne.prototype.pointerDown=function(te,le){de.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(Fe.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){de.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){de.prototype.resize.call(this,te),this.isMoved=!0,this.setSize(),this.sizeText()},ne.prototype.setSize=function(){de.prototype.setSize.call(this),this.visual&&this.bgRectangle&&(Fe.setAttributes(this.visual,[["width",this.width.toString()],["height",this.height.toString()]]),Fe.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),de.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(){de.prototype.select.call(this),this.state==="edit"&&this.textEditDivClicked(this.textEditor.innerText)},ne.prototype.deselect=function(){this.state==="edit"&&this.textEditDivClicked(this.textEditor.innerText),de.prototype.deselect.call(this)},ne.prototype.dblClick=function(te,le){de.prototype.dblClick.call(this,te,le),this.showTextEditor()},ne.prototype.setColor=function(te){this.textElement&&Fe.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&&Fe.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},de.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(),de.prototype.restoreState.call(this,te),this.setSize()},ne.prototype.scale=function(te,le){de.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),Oe=function(de){function ne(te,le,ve){var re=de.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 he("Color",ve.defaultColorSet,ve.defaultColor),re.colorPanel.onColorChanged=re.setColor,re.lineWidthPanel=new tt("Line width",ve.defaultStrokeWidths,ve.defaultStrokeWidth),re.lineWidthPanel.onWidthChanged=re.setLineWidth,re}return Ae(ne,de),ne.prototype.ownsTarget=function(te){return!(!de.prototype.ownsTarget.call(this,te)&&te!==this.visual&&te!==this.drawingImage)},ne.prototype.createVisual=function(){this.visual=Fe.createGroup(),this.drawingImage=Fe.createImage(),this.visual.appendChild(this.drawingImage);var te=Fe.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):de.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()):de.prototype.manipulate.call(this,te)},ne.prototype.resize=function(te){de.prototype.resize.call(this,te),Fe.setAttributes(this.visual,[["width",this.width.toString()],["height",this.height.toString()]]),Fe.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()):de.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(),de.prototype.select.call(this)},ne.prototype.deselect=function(){this.state==="creating"&&this.finishCreation(),de.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],fe=le[2],Ye=le[3],vt=!1,et=0;et<this.canvasElement.height;et++)for(var nt=0;nt<this.canvasElement.width;nt++)te.data[et*this.canvasElement.width*4+4*nt+3]>0&&(vt=!0,et<re&&(re=et),nt<ve&&(ve=nt),et>Ye&&(Ye=et),nt>fe&&(fe=nt));if(vt){this.left=ve/this.pixelRatio,this.top=re/this.pixelRatio,this.width=(fe-ve)/this.pixelRatio,this.height=(Ye-re)/this.pixelRatio;var mt=document.createElement("canvas");mt.width=fe-ve,mt.height=Ye-re,mt.getContext("2d").putImageData(this.canvasContext.getImageData(ve,re,fe-ve,Ye-re),0,0),this.drawingImgUrl=mt.toDataURL("image/png"),this.setDrawingImage(),this._state="select",this.onMarkerCreated&&this.onMarkerCreated(this)}this.overlayContainer.innerHTML=""},ne.prototype.setDrawingImage=function(){Fe.setAttributes(this.drawingImage,[["width",this.width.toString()],["height",this.height.toString()]]),Fe.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},de.prototype.getState.call(this));return te.typeName=ne.typeName,te},ne.prototype.restoreState=function(te){this.createVisual(),de.prototype.restoreState.call(this,te),this.drawingImgUrl=te.drawingImgUrl,this.setDrawingImage()},ne.prototype.scale=function(te,le){de.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),ue=function(de){function ne(te,le,ve){var re=de.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 Ae(ne,de),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(Ye){var vt="both";switch(Ye){case 0:vt="both";break;case 1:vt="start";break;case 2:vt="end";break;case 3:vt="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=vt===re.currentType?re.uiStyleSettings.toolboxAccentColor:"transparent",et.addEventListener("click",function(){te.setCurrentType(vt,et)}),le.appendChild(et),vt==="both"||vt==="start"){var nt=document.createElement("div");nt.style.display="flex",nt.style.alignItems="center",nt.style.minHeight="20px",nt.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>`,nt.style.marginLeft="5px",et.appendChild(nt)}var mt=document.createElement("div");mt.style.display="flex",mt.style.alignItems="center",mt.style.minHeight="20px",mt.style.flexGrow="2";var yt=document.createElement("hr");if(yt.style.minWidth="20px",yt.style.border="0px",yt.style.borderTop="3px solid "+(re.uiStyleSettings!==void 0?re.uiStyleSettings.toolboxColor:"#eeeeee"),yt.style.flexGrow="2",mt.appendChild(yt),et.appendChild(mt),vt==="both"||vt==="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,fe=0;fe<4;fe++)ve(fe);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}(be),Xe=function(de){function ne(te,le,ve){var re=de.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 ue("Arrow type","end"),re.arrowTypePanel.onArrowTypeChanged=re.setArrowType,re}return Ae(ne,de),ne.prototype.ownsTarget=function(te){return!(!de.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=Fe.createPolygon(this.getArrowPoints(this.x1,this.y1),[["fill",this.strokeColor]]),this.arrow1.transform.baseVal.appendItem(Fe.createTransform()),this.visual.appendChild(this.arrow1),this.arrow2=Fe.createPolygon(this.getArrowPoints(this.x2,this.y2),[["fill",this.strokeColor]]),this.arrow2.transform.baseVal.appendItem(Fe.createTransform()),this.visual.appendChild(this.arrow2)},ne.prototype.pointerDown=function(te,le){de.prototype.pointerDown.call(this,te,le),this.state==="creating"&&this.createTips()},ne.prototype.adjustVisual=function(){if(de.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",Fe.setAttributes(this.arrow1,[["points",this.getArrowPoints(this.x1,this.y1)],["fill",this.strokeColor]]),Fe.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},de.prototype.getState.call(this));return te.typeName=ne.typeName,te},ne.prototype.restoreState=function(te){de.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),Ge=function(de){function ne(te,le,ve){var re=de.call(this,te,le,ve)||this;return re.fillColor=ve.defaultFillColor,re.strokeWidth=0,re.fillPanel=new he("Color",ve.defaultColorSet,ve.defaultFillColor),re.fillPanel.onColorChanged=re.setFillColor,re}return Ae(ne,de),Object.defineProperty(ne.prototype,"toolboxPanels",{get:function(){return[this.fillPanel]},enumerable:!1,configurable:!0}),ne.prototype.getState=function(){var te=de.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}(Be),lt=function(de){function ne(te,le,ve,re){var fe=de.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 fe.opacities=[],fe.opacityBoxes=[],fe.opacities=le,fe.currentOpacity=ve,fe.setCurrentOpacity=fe.setCurrentOpacity.bind(fe),fe}return Ae(ne,de),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 fe=document.createElement("div");fe.innerText=100*ve+"%",re.appendChild(fe),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}(be),Tt=function(de){function ne(te,le,ve){var re=de.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 he("Color",ve.defaultColorSet,re.fillColor),re.fillPanel.onColorChanged=re.setFillColor,re.opacityPanel=new lt("Opacity",ve.defaultOpacitySteps,re.opacity),re.opacityPanel.onOpacityChanged=re.setOpacity,re}return Ae(ne,de),ne.prototype.setOpacity=function(te){this.opacity=te,this.visual&&Fe.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=de.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}(Ge),Ke='<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>',Se='<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>',Ft=function(de){function ne(te,le,ve){var re=de.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 he("Text color",ve.defaultColorSet,re.color,Ke),re.colorPanel.onColorChanged=re.setColor,re.bgColorPanel=new he("Fill color",ve.defaultColorSet,re.bgColor,Se),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(Fe.createTransform()),re.controlBox.appendChild(re.tipGrip.visual),re}return Ae(ne,de),ne.prototype.ownsTarget=function(te){return de.prototype.ownsTarget.call(this,te)||this.tipGrip.ownsTarget(te)||this.tip===te},ne.prototype.createTip=function(){Fe.setAttributes(this.bgRectangle,[["fill",this.bgColor],["rx","10px"]]),this.tip=Fe.createPolygon(this.getTipPoints(),[["fill",this.bgColor]]),this.visual.appendChild(this.tip)},ne.prototype.pointerDown=function(te,le){this.state==="new"&&de.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):de.prototype.pointerDown.call(this,te,le)},ne.prototype.pointerUp=function(te){if(this.tipMoving)this.tipMoving=!1,this.isMoved=!0,de.prototype.pointerUp.call(this,te);else{var le=this.state==="creating";de.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 de.prototype.manipulate.call(this,te)},ne.prototype.setBgColor=function(te){this.bgRectangle&&this.tip&&(Fe.setAttributes(this.bgRectangle,[["fill",te]]),Fe.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){de.prototype.resize.call(this,te),this.positionTip()},ne.prototype.positionTip=function(){Fe.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(),de.prototype.select.call(this)},ne.prototype.getState=function(){var te=Object.assign({bgColor:this.bgColor,tipPosition:this.tipPosition},de.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,de.prototype.restoreState.call(this,te),this.createTip(),this.setTipPoints()},ne.prototype.scale=function(te,le){de.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),It=function(de){function ne(te,le,ve){var re=de.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 he("Line color",Ce(ve.defaultColorSet,["transparent"]),ve.defaultColor),re.strokePanel.onColorChanged=re.setStrokeColor,re.fillPanel=new he("Fill color",Ce(ve.defaultColorSet,["transparent"]),re.fillColor,Se),re.fillPanel.onColorChanged=re.setFillColor,re.strokeWidthPanel=new tt("Line width",ve.defaultStrokeWidths,ve.defaultStrokeWidth),re.strokeWidthPanel.onWidthChanged=re.setStrokeWidth,re.strokeStylePanel=new Re("Line style",ve.defaultStrokeDasharrays,ve.defaultStrokeDasharray),re.strokeStylePanel.onStyleChanged=re.setStrokeDasharray,re.opacityPanel=new lt("Opacity",ve.defaultOpacitySteps,re.opacity),re.opacityPanel.onOpacityChanged=re.setOpacity,re}return Ae(ne,de),ne.prototype.ownsTarget=function(te){return!(!de.prototype.ownsTarget.call(this,te)&&te!==this.visual)},ne.prototype.createVisual=function(){this.visual=Fe.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){de.prototype.pointerDown.call(this,te,le),this.state==="new"&&(this.createVisual(),this.moveVisual(te),this._state="creating")},ne.prototype.manipulate=function(te){de.prototype.manipulate.call(this,te)},ne.prototype.resize=function(te){de.prototype.resize.call(this,te),this.setSize()},ne.prototype.setSize=function(){de.prototype.setSize.call(this),Fe.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){de.prototype.pointerUp.call(this,te),this.setSize()},ne.prototype.setStrokeColor=function(te){this.strokeColor=te,this.visual&&Fe.setAttributes(this.visual,[["stroke",this.strokeColor]]),this.colorChanged(te),this.stateChanged()},ne.prototype.setFillColor=function(te){this.fillColor=te,this.visual&&Fe.setAttributes(this.visual,[["fill",this.fillColor]]),this.fillColorChanged(te),this.stateChanged()},ne.prototype.setStrokeWidth=function(te){this.strokeWidth=te,this.visual&&Fe.setAttributes(this.visual,[["stroke-width",this.strokeWidth.toString()]]),this.stateChanged()},ne.prototype.setStrokeDasharray=function(te){this.strokeDasharray=te,this.visual&&Fe.setAttributes(this.visual,[["stroke-dasharray",this.strokeDasharray]]),this.stateChanged()},ne.prototype.setOpacity=function(te){this.opacity=te,this.visual&&Fe.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},de.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(),de.prototype.restoreState.call(this,te),this.setSize()},ne.prototype.scale=function(te,le){de.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),ut=function(de){function ne(te,le,ve){return de.call(this,te,le,ve)||this}return Ae(ne,de),Object.defineProperty(ne.prototype,"tipLength",{get:function(){return 10+3*this.strokeWidth},enumerable:!1,configurable:!0}),ne.prototype.ownsTarget=function(te){return!(!de.prototype.ownsTarget.call(this,te)&&te!==this.tip1&&te!==this.tip2)},ne.prototype.createTips=function(){this.tip1=Fe.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(Fe.createTransform()),this.visual.appendChild(this.tip1),this.tip2=Fe.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(Fe.createTransform()),this.visual.appendChild(this.tip2)},ne.prototype.pointerDown=function(te,le){de.prototype.pointerDown.call(this,te,le),this.state==="creating"&&this.createTips()},ne.prototype.adjustVisual=function(){if(de.prototype.adjustVisual.call(this),this.tip1&&this.tip2&&(Fe.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()]]),Fe.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=de.prototype.getState.call(this);return te.typeName=ne.typeName,te},ne.prototype.restoreState=function(te){de.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),xe=function(de){function ne(te,le,ve){var re=de.call(this,te,le,ve)||this;return re.strokePanel.colors=ve.defaultColorSet,re.fillColor="transparent",re}return Ae(ne,de),Object.defineProperty(ne.prototype,"toolboxPanels",{get:function(){return[this.strokePanel,this.strokeWidthPanel,this.strokeStylePanel]},enumerable:!1,configurable:!0}),ne.prototype.getState=function(){var te=de.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}(It),ke=function(){function de(){this.undoStack=[],this.redoStack=[]}return Object.defineProperty(de.prototype,"isUndoPossible",{get:function(){return this.undoStack.length>0},enumerable:!1,configurable:!0}),Object.defineProperty(de.prototype,"isRedoPossible",{get:function(){return this.redoStack.length>0},enumerable:!1,configurable:!0}),Object.defineProperty(de.prototype,"undoStepCount",{get:function(){return this.undoStack.length},enumerable:!1,configurable:!0}),Object.defineProperty(de.prototype,"redoStepCount",{get:function(){return this.redoStack.length},enumerable:!1,configurable:!0}),de.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))},de.prototype.replaceLastUndoStep=function(ne){this.undoStack.length>0&&(this.undoStack[this.undoStack.length-1]=ne)},de.prototype.getLastUndoStep=function(){return this.undoStack.length>0?this.undoStack[this.undoStack.length-1]:void 0},de.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}},de.prototype.redo=function(){return this.lastRedoStep=this.redoStack.pop(),this.lastRedoStep},de}(),at=function(de){function ne(te,le,ve){var re=de.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 he("Line color",ve.defaultColorSet,ve.defaultColor),re.strokePanel.onColorChanged=re.setStrokeColor,re.strokeWidthPanel=new tt("Line width",ve.defaultStrokeWidths,ve.defaultStrokeWidth),re.strokeWidthPanel.onWidthChanged=re.setStrokeWidth,re.strokeStylePanel=new Re("Line style",ve.defaultStrokeDasharrays,ve.defaultStrokeDasharray),re.strokeStylePanel.onStyleChanged=re.setStrokeDasharray,re}return Ae(ne,de),ne.prototype.ownsTarget=function(te){return!(!de.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=Fe.createGroup(),this.selectorCurve=Fe.createPath(this.getPathD(),[["stroke","transparent"],["stroke-width",(this.strokeWidth+10).toString()],["fill","transparent"]]),this.visibleCurve=Fe.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){de.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()),Fe.setAttributes(this.visibleCurve,[["stroke",this.strokeColor]]),Fe.setAttributes(this.visibleCurve,[["stroke-width",this.strokeWidth.toString()]]),Fe.setAttributes(this.visibleCurve,[["stroke-dasharray",this.strokeDasharray.toString()]]))},ne.prototype.setupControlBox=function(){de.prototype.setupControlBox.call(this),this.curveControlLine1=Fe.createLine(this.x1,this.y1,this.curveX,this.curveY,[["stroke","black"],["stroke-width","1"],["stroke-opacity","0.5"],["stroke-dasharray","3, 2"]]),this.curveControlLine2=Fe.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,de.prototype.addControlGrips.call(this)},ne.prototype.positionGrips=function(){de.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),de.prototype.manipulate.call(this,te)},ne.prototype.resize=function(te){this.activeGrip===this.curveGrip&&(this.curveX=te.x,this.curveY=te.y),de.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,de.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},de.prototype.getState.call(this));return te.typeName=ne.typeName,te},ne.prototype.restoreState=function(te){de.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}(Le),Rt=function(de){function ne(te,le,ve){var re=de.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 he("Line color",Ce(ve.defaultColorSet,["transparent"]),re.strokeColor),re.strokePanel.onColorChanged=re.setStrokeColor,re.fillPanel=new he("Fill color",Ce(ve.defaultColorSet,["transparent"]),re.fillColor,Se),re.fillPanel.onColorChanged=re.setFillColor,re.strokeWidthPanel=new tt("Line width",ve.defaultStrokeWidths,ve.defaultStrokeWidth),re.strokeWidthPanel.onWidthChanged=re.setStrokeWidth,re.strokeStylePanel=new Re("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 he("Text color",ve.defaultColorSet,re.textColor,Ke),re.textColorPanel.onColorChanged=re.setTextColor,re}return Ae(ne,de),ne.prototype.ownsTarget=function(te){return!(!de.prototype.ownsTarget.call(this,te)&&te!==this.visual&&te!==this.frame&&te!==this.captionBg&&te!==this.captionElement)},ne.prototype.createVisual=function(){this.visual=Fe.createGroup(),this.addMarkerVisualToContainer(this.visual),this.captionBg=Fe.createRect(1,1,[["fill",this.fillColor]]),this.visual.appendChild(this.captionBg),this.captionElement=Fe.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=Fe.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){de.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){de.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){de.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),Fe.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')"]]),Fe.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&&Fe.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&&Fe.setAttributes(this.captionElement,[["fill",te]]),this.textColor=te,this.textEditBox&&(this.textEditBox.style.color=this.textColor),this.stateChanged()},ne.prototype.setSize=function(){de.prototype.setSize.call(this),Fe.setAttributes(this.frame,[["width",this.width.toString()],["height",this.height.toString()]]),this.sizeCaption()},ne.prototype.pointerUp=function(te){de.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){de.prototype.dblClick.call(this,te,le),this.showTextEditor()},ne.prototype.setStrokeColor=function(te){this.strokeColor=te,this.frame&&Fe.setAttributes(this.frame,[["stroke",this.strokeColor]]),this.colorChanged(te),this.stateChanged()},ne.prototype.setFillColor=function(te){this.fillColor=te,this.captionBg&&Fe.setAttributes(this.captionBg,[["fill",this.fillColor]]),this.fillColorChanged(te),this.stateChanged()},ne.prototype.setStrokeWidth=function(te){this.strokeWidth=te,this.frame&&Fe.setAttributes(this.frame,[["stroke-width",this.strokeWidth.toString()]]),this.stateChanged()},ne.prototype.setStrokeDasharray=function(te){this.strokeDasharray=te,this.frame&&Fe.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},de.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(),de.prototype.restoreState.call(this,te),this.setSize()},ne.prototype.scale=function(te,le){de.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 de(ne,te){te===void 0&&(te=!1),this.cancelable=!1,this._defaultPrevented=!1,this.markerArea=ne,this.cancelable=te}return Object.defineProperty(de.prototype,"defaultPrevented",{get:function(){return this._defaultPrevented},enumerable:!1,configurable:!0}),de.prototype.preventDefault=function(){this._defaultPrevented=!0},de}(),Nt=function(de){function ne(te,le,ve){var re=de.call(this,te,!1)||this;return re.dataUrl=le,re.state=ve,re}return Ae(ne,de),ne}(ft),xt=function(de){function ne(te,le,ve){ve===void 0&&(ve=!1);var re=de.call(this,te,ve)||this;return re.marker=le,re}return Ae(ne,de),ne}(ft),Xt=function(){function de(){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 de.prototype.addEventListener=function(ne,te){this[ne].push(te)},de.prototype.removeEventListener=function(ne,te){var le=this[ne].indexOf(te);le>-1&&this[ne].splice(le,1)},de}(),Wt=function(){function de(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 ye,this._isOpen=!1,this.undoRedoManager=new ke,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 Xt,this._silentRenderMode=!1,this._isFocused=!1,this._instanceNo=de.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(de.prototype,"ALL_MARKER_TYPES",{get:function(){return[_e,Oe,Xe,it,xe,It,Tt,Ft,ut,Ge,Ve,at,Rt]},enumerable:!1,configurable:!0}),Object.defineProperty(de.prototype,"DEFAULT_MARKER_TYPES",{get:function(){return[_e,Oe,Xe,it,It,Tt,Ft]},enumerable:!1,configurable:!0}),Object.defineProperty(de.prototype,"BASIC_MARKER_TYPES",{get:function(){return[_e,Oe,Xe,it,Tt]},enumerable:!1,configurable:!0}),Object.defineProperty(de.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(de.prototype,"currentMarker",{get:function(){return this._currentMarker},enumerable:!1,configurable:!0}),Object.defineProperty(de.prototype,"isOpen",{get:function(){return this._isOpen},enumerable:!1,configurable:!0}),Object.defineProperty(de.prototype,"isUndoPossible",{get:function(){return!(!this.undoRedoManager||!this.undoRedoManager.isUndoPossible)},enumerable:!1,configurable:!0}),Object.defineProperty(de.prototype,"isRedoPossible",{get:function(){return!(!this.undoRedoManager||!this.undoRedoManager.isRedoPossible)},enumerable:!1,configurable:!0}),Object.defineProperty(de.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(de.prototype,"instanceNo",{get:function(){return this._instanceNo},enumerable:!1,configurable:!0}),de.prototype.open=function(){this.setupResizeObserver(),this.setEditingTarget(),this.setTopLeft(),this.initMarkerCanvas(),this.initOverlay(),this.attachEvents(),this.settings.displayMode==="popup"&&this.onPopupTargetResize(),ge.isLicensed||this.addLogo(),this._isOpen=!0,this._isFocused=!0},de.prototype.show=function(){var ne=this;this.styles.styleSheetRoot===void 0&&De.styleSheetRoot!==void 0&&(this.styles.styleSheetRoot=De.styleSheetRoot),this.setWindowHeight(),this.showUI(),this.open(),this.eventListeners.show.forEach(function(te){return te(new ft(ne))})},de.prototype.render=function(){return pe(this,void 0,void 0,function(){var ne;return ze(this,function(te){switch(te.label){case 0:return this.setCurrentMarker(),(ne=new je).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()]}})})},de.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)}},de.prototype.addMarkersToToolbar=function(){for(var ne,te=[],le=0;le<arguments.length;le++)te[le]=arguments[le];(ne=this._availableMarkerTypes).push.apply(ne,te)},de.prototype.addRenderEventListener=function(ne){this.addEventListener("render",function(te){ne(te.dataUrl,te.state)})},de.prototype.removeRenderEventListener=function(ne){},de.prototype.addCloseEventListener=function(ne){this.addEventListener("close",function(){ne()})},de.prototype.removeCloseEventListener=function(ne){},de.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))},de.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)},de.prototype.setWindowHeight=function(){this.windowHeight=window.innerHeight},de.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},de.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)},de.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"},de.prototype.setTopLeft=function(){var ne=this.editingTarget.getBoundingClientRect(),te=this.editorCanvas.getBoundingClientRect();this.left=ne.left-te.left,this.top=ne.top-te.top},de.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)},de.prototype.addDefs=function(){for(var ne,te=[],le=0;le<arguments.length;le++)te[le]=arguments[le];this.defs=Fe.createDefs(),this.addDefsToImage(),(ne=this.defs).append.apply(ne,te)},de.prototype.addDefsToImage=function(){this.defs&&this.markerImage.insertBefore(this.defs,this.markerImage.firstChild)},de.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)},de.prototype.positionMarkerImage=function(){this.markerImageHolder.style.top=this.top/this.zoomLevel+"px",this.markerImageHolder.style.left=this.left/this.zoomLevel+"px"},de.prototype.attachEvents=function(){this.markerImage.addEventListener("pointerdown",this.onPointerDown),this.markerImage.addEventListener("dblclick",this.onDblClick),this.attachWindowEvents()},de.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)},de.prototype.detachEvents=function(){this.markerImage.removeEventListener("pointerdown",this.onPointerDown),this.markerImage.removeEventListener("dblclick",this.onDblClick),this.detachWindowEvents()},de.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)},de.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()},de.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")},de.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"},de.prototype.restoreOverflow=function(){document.body.style.overflow=this.bodyOverflowState,window.scroll({top:this.scrollYState,left:this.scrollXState})},de.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 Ne(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 we(this.uiDiv,this.settings.displayMode,this.uiStyleSettings,this.styles),this.toolbox.show(this._silentRenderMode||this.uiStyleSettings.hideToolbox?"hidden":"visible")},de.prototype.closeUI=function(){this.settings.displayMode==="popup"&&this.restoreOverflow(),this.targetRoot.removeChild(this.coverDiv)},de.prototype.removeMarker=function(ne){this.markerImage.removeChild(ne.container),this.markers.indexOf(ne)>-1&&this.markers.splice(this.markers.indexOf(ne),1),ne.dispose()},de.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())},de.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()}},de.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))})}}},de.prototype.clear=function(){var ne=this,te=!1;if(this.markers.length>0&&(this.eventListeners.markerbeforedelete.forEach(function(fe){var Ye=new xt(ne,void 0,!0);fe(Ye),Ye.defaultPrevented&&(te=!0)}),!te)){this.setCurrentMarker();for(var le=function(fe){var Ye=ve.markers[fe];ve.setCurrentMarker(ve.markers[fe]),ve._currentMarker.dispose(),ve.markerImage.removeChild(ve._currentMarker.container),ve.markers.splice(ve.markers.indexOf(ve._currentMarker),1),ve.eventListeners.markerdelete.forEach(function(vt){return vt(new xt(ne,Ye))})},ve=this,re=this.markers.length-1;re>=0;re--)le(re);this.addUndoStep()}},Object.defineProperty(de.prototype,"isNotesAreaOpen",{get:function(){return this.notesArea!==void 0},enumerable:!1,configurable:!0}),de.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))},de.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)},de.prototype.selectLastMarker=function(){this.markers.length>0?this.setCurrentMarker(this.markers[this.markers.length-1]):this.setCurrentMarker()},de.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))})}},de.prototype.undo=function(){this.switchToSelectMode(),this.addUndoStep(),this.undoStep()},de.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))}))},de.prototype.redo=function(){this.switchToSelectMode(),this.redoStep()},de.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))}))},de.prototype.stepZoom=function(){var ne=this.zoomSteps.indexOf(this.zoomLevel);this.zoomLevel=ne<this.zoomSteps.length-1?this.zoomSteps[ne+1]:this.zoomSteps[0]},de.prototype.panTo=function(ne){this.contentDiv.scrollBy({left:this.prevPanPoint.x-ne.x,top:this.prevPanPoint.y-ne.y}),this.prevPanPoint=ne},de.prototype.startRenderAndClose=function(){return pe(this,void 0,void 0,function(){var ne,te,le=this;return ze(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 Nt(le,ne,te))}),this.close(!0),[2]}})})},de.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},de.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(fe){return fe.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))})},de.prototype.addNewMarker=function(ne){var te=Fe.createGroup();return this.markerImage.appendChild(te),new ne(te,this.overlayContainer,this.settings)},de.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))}))},de.prototype.markerCreated=function(ne){var te=this;this.mode="select",this.markerImage.style.cursor="default",this.markers.push(ne),this.setCurrentMarker(ne),ne instanceof Oe&&this.settings.newFreehandMarkerOnPointerUp?this.createNewMarker(Oe):this.toolbar.setSelectMode(),this.addUndoStep(),this.eventListeners.markercreate.forEach(function(le){return le(new xt(te,te._currentMarker))})},de.prototype.colorChanged=function(ne){this.settings.defaultColorsFollowCurrentColors&&(this.settings.defaultColor=ne,this.settings.defaultStrokeColor=ne)},de.prototype.fillColorChanged=function(ne){this.settings.defaultColorsFollowCurrentColors&&(this.settings.defaultFillColor=ne)},de.prototype.markerStateChanged=function(ne){var te=this;this.eventListeners.markerchange.forEach(function(le){return le(new xt(te,ne))})},de.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))}))},de.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))},de.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()}},de.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}))},de.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()},de.prototype.onPointerOut=function(){this.touchPoints>0&&this.touchPoints--},de.prototype.onKeyUp=function(ne){this._currentMarker===void 0||this.notesArea!==void 0||ne.key!=="Delete"&&ne.key!=="Backspace"||this.deleteSelectedMarker()},de.prototype.clientToLocalCoordinates=function(ne,te){var le=this.markerImage.getBoundingClientRect();return{x:(ne-le.left)/this.zoomLevel,y:(te-le.top)/this.zoomLevel}},de.prototype.onWindowResize=function(){this.positionUI()},de.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()},de.prototype.addLicenseKey=function(ne){ge.addKey(ne)},de.prototype.addEventListener=function(ne,te){this.eventListeners.addEventListener(ne,te)},de.prototype.removeEventListener=function(ne,te){this.eventListeners.removeEventListener(ne,te)},de.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(de.prototype,"isFocused",{get:function(){return this._isFocused},enumerable:!1,configurable:!0}),de.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))}))},de.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))}))},de.instanceCounter=0,de}()},6551:function(mn,Ct,E){"use strict";E.d(Ct,{ZP:function(){return ge}});var y=E(72190),Ae=E(59301),pe=E(47273),ze=0,Ce=(0,pe.Z)();function Fe(){var je;return Ce?(je=ze,ze+=1):je="TEST_OR_SSR",je}function ge(je){var De=Ae.useState(),se=(0,y.Z)(De,2),Ue=se[0],me=se[1];return Ae.useEffect(function(){me("rc_select_".concat(Fe()))},[]),je||Ue}},37463:function(mn,Ct,E){"use strict";E.d(Ct,{Ac:function(){return Yt},Xo:function(){return cn},Wx:function(){return zt},ZP:function(){return sr},lk:function(){return $e}});var y=E(60499),Ae=E(77654),pe=E(18642),ze=E(85899),Ce=E(72190),Fe=E(42244),ge=E(43749),je=E(18929),De=E(48736),se=E(59301),Ue=E(92310),me=E.n(Ue),Ne=E(34280),we=E(49658),be=E(8654),he=function(qt){var gt=qt.className,Ht=qt.customizeIcon,Et=qt.customizeIconProps,Ut=qt.children,ot=qt.onMouseDown,Qt=qt.onClick,rn=typeof Ht=="function"?Ht(Et):Ht;return se.createElement("span",{className:gt,onMouseDown:function(rt){rt.preventDefault(),ot==null||ot(rt)},style:{userSelect:"none",WebkitUserSelect:"none"},unselectable:"on",onClick:Qt,"aria-hidden":!0},rn!==void 0?rn:se.createElement("span",{className:me()(gt.split(/\s+/).map(function(_t){return"".concat(_t,"-icon")}))},Ut))},ce=he,Ie=function(qt,gt,Ht,Et,Ut){var ot=arguments.length>5&&arguments[5]!==void 0?arguments[5]:!1,Qt=arguments.length>6?arguments[6]:void 0,rn=arguments.length>7?arguments[7]:void 0,_t=se.useMemo(function(){if((0,ge.Z)(Et)==="object")return Et.clearIcon;if(Ut)return Ut},[Et,Ut]),rt=se.useMemo(function(){return!!(!ot&&Et&&(Ht.length||Qt)&&!(rn==="combobox"&&Qt===""))},[Et,ot,Ht.length,Qt,rn]);return{allowClear:rt,clearIcon:se.createElement(ce,{className:"".concat(qt,"-clear"),onMouseDown:gt,customizeIcon:_t},"\xD7")}},Ze=se.createContext(null);function $e(){return se.useContext(Ze)}function oe(){var kt=arguments.length>0&&arguments[0]!==void 0?arguments[0]:10,qt=se.useState(!1),gt=(0,Ce.Z)(qt,2),Ht=gt[0],Et=gt[1],Ut=se.useRef(null),ot=function(){window.clearTimeout(Ut.current)};se.useEffect(function(){return ot},[]);var Qt=function(_t,rt){ot(),Ut.current=window.setTimeout(function(){Et(_t),rt&&rt()},kt)};return[Ht,Qt,ot]}function Be(){var kt=arguments.length>0&&arguments[0]!==void 0?arguments[0]:250,qt=se.useRef(null),gt=se.useRef(null);se.useEffect(function(){return function(){window.clearTimeout(gt.current)}},[]);function Ht(Et){(Et||qt.current===null)&&(qt.current=Et),window.clearTimeout(gt.current),gt.current=window.setTimeout(function(){qt.current=null},kt)}return[function(){return qt.current},Ht]}function tt(kt,qt,gt,Ht){var Et=se.useRef(null);Et.current={open:qt,triggerOpen:gt,customizedTrigger:Ht},se.useEffect(function(){function Ut(ot){var Qt;if(!((Qt=Et.current)!==null&&Qt!==void 0&&Qt.customizedTrigger)){var rn=ot.target;rn.shadowRoot&&ot.composed&&(rn=ot.composedPath()[0]||rn),Et.current.open&&kt().filter(function(_t){return _t}).every(function(_t){return!_t.contains(rn)&&_t!==rn})&&Et.current.triggerOpen(!1)}}return window.addEventListener("mousedown",Ut),function(){return window.removeEventListener("mousedown",Ut)}},[])}var Re=E(10228);function _e(kt){return kt&&![Re.Z.ESC,Re.Z.SHIFT,Re.Z.BACKSPACE,Re.Z.TAB,Re.Z.WIN_KEY,Re.Z.ALT,Re.Z.META,Re.Z.WIN_KEY_RIGHT,Re.Z.CTRL,Re.Z.SEMICOLON,Re.Z.EQUALS,Re.Z.CAPS_LOCK,Re.Z.CONTEXT_MENU,Re.Z.F1,Re.Z.F2,Re.Z.F3,Re.Z.F4,Re.Z.F5,Re.Z.F6,Re.Z.F7,Re.Z.F8,Re.Z.F9,Re.Z.F10,Re.Z.F11,Re.Z.F12].includes(kt)}var ye=E(26112),Le=E(83836);function Ve(kt,qt,gt){var Ht=(0,ze.Z)((0,ze.Z)({},kt),gt?qt:{});return Object.keys(qt).forEach(function(Et){var Ut=qt[Et];typeof Ut=="function"&&(Ht[Et]=function(){for(var ot,Qt=arguments.length,rn=new Array(Qt),_t=0;_t<Qt;_t++)rn[_t]=arguments[_t];return Ut.apply(void 0,rn),(ot=kt[Et])===null||ot===void 0?void 0:ot.call.apply(ot,[kt].concat(rn))})}),Ht}var Pe=Ve,it=["prefixCls","id","inputElement","autoFocus","autoComplete","editable","activeDescendantId","value","open","attrs"],Oe=function(qt,gt){var Ht=qt.prefixCls,Et=qt.id,Ut=qt.inputElement,ot=qt.autoFocus,Qt=qt.autoComplete,rn=qt.editable,_t=qt.activeDescendantId,rt=qt.value,Bt=qt.open,Ot=qt.attrs,$t=(0,Fe.Z)(qt,it),On=Ut||se.createElement("input",null),Wn=On,Yn=Wn.ref,Mr=Wn.props;return(0,De.Kp)(!("maxLength"in On.props),"Passing 'maxLength' to input element directly may not work because input in BaseSelect is controlled."),On=se.cloneElement(On,(0,ze.Z)((0,ze.Z)((0,ze.Z)({type:"search"},Pe($t,Mr,!0)),{},{id:Et,ref:(0,be.sQ)(gt,Yn),autoComplete:Qt||"off",autoFocus:ot,className:me()("".concat(Ht,"-selection-search-input"),Mr==null?void 0:Mr.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?_t:void 0},Ot),{},{value:rn?rt:"",readOnly:!rn,unselectable:rn?null:"on",style:(0,ze.Z)((0,ze.Z)({},Mr.style),{},{opacity:rn?null:0})})),On},ue=se.forwardRef(Oe),Xe=ue;function Ge(kt){return Array.isArray(kt)?kt:kt!==void 0?[kt]:[]}var lt=typeof window!="undefined"&&window.document&&window.document.documentElement,Tt=lt;function Ke(kt){return kt!=null}function Se(kt){return!kt&&kt!==0}function Ft(kt){return["string","number"].includes((0,ge.Z)(kt))}function It(kt){var qt=void 0;return kt&&(Ft(kt.title)?qt=kt.title.toString():Ft(kt.label)&&(qt=kt.label.toString())),qt}function ut(kt,qt){Tt?se.useLayoutEffect(kt,qt):se.useEffect(kt,qt)}function xe(kt){var qt;return(qt=kt.key)!==null&&qt!==void 0?qt:kt.value}var ke=function(qt){qt.preventDefault(),qt.stopPropagation()},at=function(qt){var gt=qt.id,Ht=qt.prefixCls,Et=qt.values,Ut=qt.open,ot=qt.searchValue,Qt=qt.autoClearSearchValue,rn=qt.inputRef,_t=qt.placeholder,rt=qt.disabled,Bt=qt.mode,Ot=qt.showSearch,$t=qt.autoFocus,On=qt.autoComplete,Wn=qt.activeDescendantId,Yn=qt.tabIndex,Mr=qt.removeIcon,Hr=qt.maxTagCount,to=qt.maxTagTextLength,fr=qt.maxTagPlaceholder,Er=fr===void 0?function(Jn){return"+ ".concat(Jn.length," ...")}:fr,Tr=qt.tagRender,Yr=qt.onToggleOpen,ro=qt.onRemove,oo=qt.onInputChange,ao=qt.onInputPaste,Or=qt.onInputKeyDown,eo=qt.onInputMouseDown,Jr=qt.onInputCompositionStart,Wo=qt.onInputCompositionEnd,Ko=qt.onInputBlur,rr=se.useRef(null),Ro=(0,se.useState)(0),ei=(0,Ce.Z)(Ro,2),yo=ei[0],Zo=ei[1],vo=(0,se.useState)(!1),ui=(0,Ce.Z)(vo,2),yi=ui[0],Jo=ui[1],pi="".concat(Ht,"-selection"),ki=Ut||Bt==="multiple"&&Qt===!1||Bt==="tags"?ot:"",Ci=Bt==="tags"||Bt==="multiple"&&Qt===!1||Ot&&(Ut||yi);ut(function(){Zo(rr.current.scrollWidth)},[ki]);var Oi=function(Zn,kn,yr,zn,Kn){return se.createElement("span",{title:It(Zn),className:me()("".concat(pi,"-item"),(0,pe.Z)({},"".concat(pi,"-item-disabled"),yr))},se.createElement("span",{className:"".concat(pi,"-item-content")},kn),zn&&se.createElement(ce,{className:"".concat(pi,"-item-remove"),onMouseDown:ke,onClick:Kn,customizeIcon:Mr},"\xD7"))},No=function(Zn,kn,yr,zn,Kn,tr){var kr=function(ci){ke(ci),Yr(!Ut)};return se.createElement("span",{onMouseDown:kr},Tr({label:kn,value:Zn,disabled:yr,closable:zn,onClose:Kn,isMaxTag:!!tr}))},Je=function(Zn){var kn=Zn.disabled,yr=Zn.label,zn=Zn.value,Kn=!rt&&!kn,tr=yr;if(typeof to=="number"&&(typeof yr=="string"||typeof yr=="number")){var kr=String(tr);kr.length>to&&(tr="".concat(kr.slice(0,to),"..."))}var wo=function(ii){ii&&ii.stopPropagation(),ro(Zn)};return typeof Tr=="function"?No(zn,tr,kn,Kn,wo):Oi(Zn,tr,kn,Kn,wo)},hn=function(Zn){if(!Et.length)return null;var kn=typeof Er=="function"?Er(Zn):Er;return typeof Tr=="function"?No(void 0,kn,!1,!1,void 0,!0):Oi({title:kn},kn,!1)},Mt=se.createElement("div",{className:"".concat(pi,"-search"),style:{width:yo},onFocus:function(){Jo(!0)},onBlur:function(){Jo(!1)}},se.createElement(Xe,{ref:rn,open:Ut,prefixCls:Ht,id:gt,inputElement:null,disabled:rt,autoFocus:$t,autoComplete:On,editable:Ci,activeDescendantId:Wn,value:ki,onKeyDown:Or,onMouseDown:eo,onChange:oo,onPaste:ao,onCompositionStart:Jr,onCompositionEnd:Wo,onBlur:Ko,tabIndex:Yn,attrs:(0,ye.Z)(qt,!0)}),se.createElement("span",{ref:rr,className:"".concat(pi,"-search-mirror"),"aria-hidden":!0},ki,"\xA0")),bn=se.createElement(Le.Z,{prefixCls:"".concat(pi,"-overflow"),data:Et,renderItem:Je,renderRest:hn,suffix:Mt,itemKey:xe,maxCount:Hr});return se.createElement("span",{className:"".concat(pi,"-wrap")},bn,!Et.length&&!ki&&se.createElement("span",{className:"".concat(pi,"-placeholder")},_t))},Rt=at,ft=function(qt){var gt=qt.inputElement,Ht=qt.prefixCls,Et=qt.id,Ut=qt.inputRef,ot=qt.disabled,Qt=qt.autoFocus,rn=qt.autoComplete,_t=qt.activeDescendantId,rt=qt.mode,Bt=qt.open,Ot=qt.values,$t=qt.placeholder,On=qt.tabIndex,Wn=qt.showSearch,Yn=qt.searchValue,Mr=qt.activeValue,Hr=qt.maxLength,to=qt.onInputKeyDown,fr=qt.onInputMouseDown,Er=qt.onInputChange,Tr=qt.onInputPaste,Yr=qt.onInputCompositionStart,ro=qt.onInputCompositionEnd,oo=qt.onInputBlur,ao=qt.title,Or=se.useState(!1),eo=(0,Ce.Z)(Or,2),Jr=eo[0],Wo=eo[1],Ko=rt==="combobox",rr=Ko||Wn,Ro=Ot[0],ei=Yn||"";Ko&&Mr&&!Jr&&(ei=Mr),se.useEffect(function(){Ko&&Wo(!1)},[Ko,Mr]);var yo=rt!=="combobox"&&!Bt&&!Wn?!1:!!ei,Zo=ao===void 0?It(Ro):ao,vo=se.useMemo(function(){return Ro?null:se.createElement("span",{className:"".concat(Ht,"-selection-placeholder"),style:yo?{visibility:"hidden"}:void 0},$t)},[Ro,yo,$t,Ht]);return se.createElement("span",{className:"".concat(Ht,"-selection-wrap")},se.createElement("span",{className:"".concat(Ht,"-selection-search")},se.createElement(Xe,{ref:Ut,prefixCls:Ht,id:Et,open:Bt,inputElement:gt,disabled:ot,autoFocus:Qt,autoComplete:rn,editable:rr,activeDescendantId:_t,value:ei,onKeyDown:to,onMouseDown:fr,onChange:function(yi){Wo(!0),Er(yi)},onPaste:Tr,onCompositionStart:Yr,onCompositionEnd:ro,onBlur:oo,tabIndex:On,attrs:(0,ye.Z)(qt,!0),maxLength:Ko?Hr:void 0})),!Ko&&Ro?se.createElement("span",{className:"".concat(Ht,"-selection-item"),title:Zo,style:yo?{visibility:"hidden"}:void 0},Ro.label):null,vo)},Nt=ft,xt=function(qt,gt){var Ht=(0,se.useRef)(null),Et=(0,se.useRef)(!1),Ut=qt.prefixCls,ot=qt.open,Qt=qt.mode,rn=qt.showSearch,_t=qt.tokenWithEnter,rt=qt.disabled,Bt=qt.prefix,Ot=qt.autoClearSearchValue,$t=qt.onSearch,On=qt.onSearchSubmit,Wn=qt.onToggleOpen,Yn=qt.onInputKeyDown,Mr=qt.onInputBlur,Hr=qt.domRef;se.useImperativeHandle(gt,function(){return{focus:function(Zo){Ht.current.focus(Zo)},blur:function(){Ht.current.blur()}}});var to=Be(0),fr=(0,Ce.Z)(to,2),Er=fr[0],Tr=fr[1],Yr=function(Zo){var vo=Zo.which,ui=Ht.current instanceof HTMLTextAreaElement;!ui&&ot&&(vo===Re.Z.UP||vo===Re.Z.DOWN)&&Zo.preventDefault(),Yn&&Yn(Zo),vo===Re.Z.ENTER&&Qt==="tags"&&!Et.current&&!ot&&(On==null||On(Zo.target.value)),!(ui&&!ot&&~[Re.Z.UP,Re.Z.DOWN,Re.Z.LEFT,Re.Z.RIGHT].indexOf(vo))&&_e(vo)&&Wn(!0)},ro=function(){Tr(!0)},oo=(0,se.useRef)(null),ao=function(Zo){$t(Zo,!0,Et.current)!==!1&&Wn(!0)},Or=function(){Et.current=!0},eo=function(Zo){Et.current=!1,Qt!=="combobox"&&ao(Zo.target.value)},Jr=function(Zo){var vo=Zo.target.value;if(_t&&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||""},Ko=function(Zo){var vo=Zo.target;if(vo!==Ht.current){var ui=document.body.style.msTouchAction!==void 0;ui?setTimeout(function(){Ht.current.focus()}):Ht.current.focus()}},rr=function(Zo){var vo=Er();Zo.target!==Ht.current&&!vo&&!(Qt==="combobox"&&rt)&&Zo.preventDefault(),(Qt!=="combobox"&&(!rn||!vo)||!ot)&&(ot&&Ot!==!1&&$t("",!0,!1),Wn())},Ro={inputRef:Ht,onInputKeyDown:Yr,onInputMouseDown:ro,onInputChange:Jr,onInputPaste:Wo,onInputCompositionStart:Or,onInputCompositionEnd:eo,onInputBlur:Mr},ei=Qt==="multiple"||Qt==="tags"?se.createElement(Rt,(0,y.Z)({},qt,Ro)):se.createElement(Nt,(0,y.Z)({},qt,Ro));return se.createElement("div",{ref:Hr,className:"".concat(Ut,"-selector"),onClick:Ko,onMouseDown:rr},Bt&&se.createElement("div",{className:"".concat(Ut,"-prefix")},Bt),ei)},Xt=se.forwardRef(xt),Wt=Xt,de=E(68196),ne=["prefixCls","disabled","visible","children","popupElement","animation","transitionName","dropdownStyle","dropdownClassName","direction","placement","builtinPlacements","dropdownMatchSelectWidth","dropdownRender","dropdownAlign","getPopupContainer","empty","getTriggerDOMNode","onPopupVisibleChange","onPopupMouseEnter"],te=function(qt){var gt=qt===!0?0:1;return{bottomLeft:{points:["tl","bl"],offset:[0,4],overflow:{adjustX:gt,adjustY:1},htmlRegion:"scroll"},bottomRight:{points:["tr","br"],offset:[0,4],overflow:{adjustX:gt,adjustY:1},htmlRegion:"scroll"},topLeft:{points:["bl","tl"],offset:[0,-4],overflow:{adjustX:gt,adjustY:1},htmlRegion:"scroll"},topRight:{points:["br","tr"],offset:[0,-4],overflow:{adjustX:gt,adjustY:1},htmlRegion:"scroll"}}},le=function(qt,gt){var Ht=qt.prefixCls,Et=qt.disabled,Ut=qt.visible,ot=qt.children,Qt=qt.popupElement,rn=qt.animation,_t=qt.transitionName,rt=qt.dropdownStyle,Bt=qt.dropdownClassName,Ot=qt.direction,$t=Ot===void 0?"ltr":Ot,On=qt.placement,Wn=qt.builtinPlacements,Yn=qt.dropdownMatchSelectWidth,Mr=qt.dropdownRender,Hr=qt.dropdownAlign,to=qt.getPopupContainer,fr=qt.empty,Er=qt.getTriggerDOMNode,Tr=qt.onPopupVisibleChange,Yr=qt.onPopupMouseEnter,ro=(0,Fe.Z)(qt,ne),oo="".concat(Ht,"-dropdown"),ao=Qt;Mr&&(ao=Mr(Qt));var Or=se.useMemo(function(){return Wn||te(Yn)},[Wn,Yn]),eo=rn?"".concat(oo,"-").concat(rn):_t,Jr=typeof Yn=="number",Wo=se.useMemo(function(){return Jr?null:Yn===!1?"minWidth":"width"},[Yn,Jr]),Ko=rt;Jr&&(Ko=(0,ze.Z)((0,ze.Z)({},Ko),{},{width:Yn}));var rr=se.useRef(null);return se.useImperativeHandle(gt,function(){return{getPopupElement:function(){var ei;return(ei=rr.current)===null||ei===void 0?void 0:ei.popupElement}}}),se.createElement(de.Z,(0,y.Z)({},ro,{showAction:Tr?["click"]:[],hideAction:Tr?["click"]:[],popupPlacement:On||($t==="rtl"?"bottomRight":"bottomLeft"),builtinPlacements:Or,prefixCls:oo,popupTransitionName:eo,popup:se.createElement("div",{onMouseEnter:Yr},ao),ref:rr,stretch:Wo,popupAlign:Hr,popupVisible:Ut,getPopupContainer:to,popupClassName:me()(Bt,(0,pe.Z)({},"".concat(oo,"-empty"),fr)),popupStyle:Ko,getTriggerDOMNode:Er,onPopupVisibleChange:Tr}),ot)},ve=se.forwardRef(le),re=ve,fe=E(48745);function Ye(kt,qt){var gt=kt.key,Ht;return"value"in kt&&(Ht=kt.value),gt!=null?gt:Ht!==void 0?Ht:"rc-index-key-".concat(qt)}function vt(kt){return typeof kt!="undefined"&&!Number.isNaN(kt)}function et(kt,qt){var gt=kt||{},Ht=gt.label,Et=gt.value,Ut=gt.options,ot=gt.groupLabel,Qt=Ht||(qt?"children":"label");return{label:Qt,value:Et||"value",options:Ut||"options",groupLabel:ot||Qt}}function nt(kt){var qt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},gt=qt.fieldNames,Ht=qt.childrenAsData,Et=[],Ut=et(gt,!1),ot=Ut.label,Qt=Ut.value,rn=Ut.options,_t=Ut.groupLabel;function rt(Bt,Ot){Array.isArray(Bt)&&Bt.forEach(function($t){if(Ot||!(rn in $t)){var On=$t[Qt];Et.push({key:Ye($t,Et.length),groupOption:Ot,data:$t,label:$t[ot],value:On})}else{var Wn=$t[_t];Wn===void 0&&Ht&&(Wn=$t.label),Et.push({key:Ye($t,Et.length),group:!0,data:$t,label:Wn}),rt($t[rn],!0)}})}return rt(kt,!1),Et}function mt(kt){var qt=(0,ze.Z)({},kt);return"props"in qt||Object.defineProperty(qt,"props",{get:function(){return(0,De.ZP)(!1,"Return type is option instead of Option instance. Please read value directly instead of reading from `props`."),qt}}),qt}var yt=function(qt,gt,Ht){if(!gt||!gt.length)return null;var Et=!1,Ut=function Qt(rn,_t){var rt=(0,fe.Z)(_t),Bt=rt[0],Ot=rt.slice(1);if(!Bt)return[rn];var $t=rn.split(Bt);return Et=Et||$t.length>1,$t.reduce(function(On,Wn){return[].concat((0,Ae.Z)(On),(0,Ae.Z)(Qt(Wn,Ot)))},[]).filter(Boolean)},ot=Ut(qt,gt);return Et?typeof Ht!="undefined"?ot.slice(0,Ht):ot:null},St=se.createContext(null),Qe=St;function st(kt){var qt=kt.visible,gt=kt.values;if(!qt)return null;var Ht=50;return se.createElement("span",{"aria-live":"polite",style:{width:0,height:0,position:"absolute",overflow:"hidden",opacity:0}},"".concat(gt.slice(0,Ht).map(function(Et){var Ut=Et.label,ot=Et.value;return["number","string"].includes((0,ge.Z)(Ut))?Ut:ot}).join(", ")),gt.length>Ht?", ...":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"],Kt=["value","onChange","removeIcon","placeholder","autoFocus","maxTagCount","maxTagTextLength","maxTagPlaceholder","choiceTransitionName","onInputKeyDown","onPopupScroll","tabIndex"],vn=function(qt){return qt==="tags"||qt==="multiple"},nn=se.forwardRef(function(kt,qt){var gt,Ht=kt.id,Et=kt.prefixCls,Ut=kt.className,ot=kt.showSearch,Qt=kt.tagRender,rn=kt.direction,_t=kt.omitDomProps,rt=kt.displayValues,Bt=kt.onDisplayValuesChange,Ot=kt.emptyOptions,$t=kt.notFoundContent,On=$t===void 0?"Not Found":$t,Wn=kt.onClear,Yn=kt.mode,Mr=kt.disabled,Hr=kt.loading,to=kt.getInputElement,fr=kt.getRawInputElement,Er=kt.open,Tr=kt.defaultOpen,Yr=kt.onDropdownVisibleChange,ro=kt.activeValue,oo=kt.onActiveValueChange,ao=kt.activeDescendantId,Or=kt.searchValue,eo=kt.autoClearSearchValue,Jr=kt.onSearch,Wo=kt.onSearchSplit,Ko=kt.tokenSeparators,rr=kt.allowClear,Ro=kt.prefix,ei=kt.suffixIcon,yo=kt.clearIcon,Zo=kt.OptionList,vo=kt.animation,ui=kt.transitionName,yi=kt.dropdownStyle,Jo=kt.dropdownClassName,pi=kt.dropdownMatchSelectWidth,ki=kt.dropdownRender,Ci=kt.dropdownAlign,Oi=kt.placement,No=kt.builtinPlacements,Je=kt.getPopupContainer,hn=kt.showAction,Mt=hn===void 0?[]:hn,bn=kt.onFocus,Jn=kt.onBlur,Zn=kt.onKeyUp,kn=kt.onKeyDown,yr=kt.onMouseDown,zn=(0,Fe.Z)(kt,en),Kn=vn(Yn),tr=(ot!==void 0?ot:Kn)||Yn==="combobox",kr=(0,ze.Z)({},zn);Kt.forEach(function(oa){delete kr[oa]}),_t==null||_t.forEach(function(oa){delete kr[oa]});var wo=se.useState(!1),ci=(0,Ce.Z)(wo,2),ii=ci[0],oi=ci[1];se.useEffect(function(){oi((0,we.Z)())},[]);var vi=se.useRef(null),mi=se.useRef(null),Li=se.useRef(null),Bi=se.useRef(null),Ti=se.useRef(null),Vi=se.useRef(!1),sa=oe(),fa=(0,Ce.Z)(sa,3),wa=fa[0],ha=fa[1],Ao=fa[2];se.useImperativeHandle(qt,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 Ka;return(Ka=Ti.current)===null||Ka===void 0?void 0:Ka.scrollTo(fl)},nativeElement:vi.current||mi.current}});var Do=se.useMemo(function(){var oa;if(Yn!=="combobox")return Or;var Wi=(oa=rt[0])===null||oa===void 0?void 0:oa.value;return typeof Wi=="string"||typeof Wi=="number"?String(Wi):""},[Or,Yn,rt]),Co=Yn==="combobox"&&typeof to=="function"&&to()||null,$i=typeof fr=="function"&&fr(),Uo=(0,be.x1)(mi,$i==null||(gt=$i.props)===null||gt===void 0?void 0:gt.ref),Ho=se.useState(!1),Ii=(0,Ce.Z)(Ho,2),bi=Ii[0],hi=Ii[1];(0,Ne.Z)(function(){hi(!0)},[]);var Xo=(0,je.Z)(!1,{defaultValue:Tr,value:Er}),Ia=(0,Ce.Z)(Xo,2),Ha=Ia[0],Aa=Ia[1],ra=bi?Ha:!1,El=!On&&Ot;(Mr||El&&ra&&Yn==="combobox")&&(ra=!1);var qa=El?!1:ra,qo=se.useCallback(function(oa){var Wi=oa!==void 0?oa:!ra;Mr||(Aa(Wi),ra!==Wi&&(Yr==null||Yr(Wi)))},[Mr,ra,Aa,Yr]),Ei=se.useMemo(function(){return(Ko||[]).some(function(oa){return[`
|
|
|
`,`\r
|
|
|
`].includes(oa)})},[Ko]),Qo=se.useContext(Qe)||{},di=Qo.maxCount,zi=Qo.rawValues,Ji=function(Wi,Ua,fl){if(!(Kn&&vt(di)&&(zi==null?void 0:zi.size)>=di)){var Ka=!0,_a=Wi;oo==null||oo(null);var Nl=yt(Wi,Ko,vt(di)?di-zi.size:void 0),Il=fl?null:Nl;return Yn!=="combobox"&&Il&&(_a="",Wo==null||Wo(Il),qo(!1),Ka=!1),Jr&&Do!==_a&&Jr(_a,{source:Ua?"typing":"effect"}),Ka}},ko=function(Wi){!Wi||!Wi.trim()||Jr(Wi,{source:"submit"})};se.useEffect(function(){!ra&&!Kn&&Yn!=="combobox"&&Ji("",!1,!1)},[ra]),se.useEffect(function(){Ha&&Mr&&Aa(!1),Mr&&!Vi.current&&ha(!1)},[Mr]);var _i=Be(),gr=(0,Ce.Z)(_i,2),Qr=gr[0],Yo=gr[1],Zi=se.useRef(!1),Ba=function(Wi){var Ua=Qr(),fl=Wi.key,Ka=fl==="Enter";if(Ka&&(Yn!=="combobox"&&Wi.preventDefault(),ra||qo(!0)),Yo(!!Do),fl==="Backspace"&&!Ua&&Kn&&!Do&&rt.length){for(var _a=(0,Ae.Z)(rt),Nl=null,Il=_a.length-1;Il>=0;Il-=1){var Kl=_a[Il];if(!Kl.disabled){_a.splice(Il,1),Nl=Kl;break}}Nl&&Bt(_a,{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&&(!Ka||!Zi.current)){var ns;Ka&&(Zi.current=!0),(ns=Ti.current)===null||ns===void 0||ns.onKeyDown.apply(ns,[Wi].concat(Al))}kn==null||kn.apply(void 0,[Wi].concat(Al))},xl=function(Wi){for(var Ua=arguments.length,fl=new Array(Ua>1?Ua-1:0),Ka=1;Ka<Ua;Ka++)fl[Ka-1]=arguments[Ka];if(ra){var _a;(_a=Ti.current)===null||_a===void 0||_a.onKeyUp.apply(_a,[Wi].concat(fl))}Wi.key==="Enter"&&(Zi.current=!1),Zn==null||Zn.apply(void 0,[Wi].concat(fl))},ji=function(Wi){var Ua=rt.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),Mr||(bn&&!Wl.current&&bn.apply(void 0,arguments),Mt.includes("focus")&&qo(!0)),Wl.current=!0},us=function(){Vi.current=!0,ha(!1,function(){Wl.current=!1,Vi.current=!1,qo(!1)}),!Mr&&(Do&&(Yn==="tags"?Jr(Do,{source:"submit"}):Yn==="multiple"&&Jr("",{source:"blur"})),Jn&&Jn.apply(void 0,arguments))},po=[];se.useEffect(function(){return function(){po.forEach(function(oa){return clearTimeout(oa)}),po.splice(0,po.length)}},[]);var Xi=function(Wi){var Ua,fl=Wi.target,Ka=(Ua=Li.current)===null||Ua===void 0?void 0:Ua.getPopupElement();if(Ka&&Ka.contains(fl)){var _a=setTimeout(function(){var hl=po.indexOf(_a);if(hl!==-1&&po.splice(hl,1),Ao(),!ii&&!Ka.contains(document.activeElement)){var Al;(Al=Bi.current)===null||Al===void 0||Al.focus()}});po.push(_a)}for(var Nl=arguments.length,Il=new Array(Nl>1?Nl-1:0),Kl=1;Kl<Nl;Kl++)Il[Kl-1]=arguments[Kl];yr==null||yr.apply(void 0,[Wi].concat(Il))},Za=se.useState({}),wl=(0,Ce.Z)(Za,2),Hl=wl[1];function ql(){Hl({})}var Xl;$i&&(Xl=function(Wi){qo(Wi)}),tt(function(){var oa;return[vi.current,(oa=Li.current)===null||oa===void 0?void 0:oa.getPopupElement()]},qa,qo,!!$i);var xs=se.useMemo(function(){return(0,ze.Z)((0,ze.Z)({},kt),{},{notFoundContent:On,open:ra,triggerOpen:qa,id:Ht,showSearch:tr,multiple:Kn,toggleOpen:qo})},[kt,On,qa,ra,Ht,tr,Kn,qo]),es=!!ei||Hr,el;es&&(el=se.createElement(ce,{className:me()("".concat(Et,"-arrow"),(0,pe.Z)({},"".concat(Et,"-arrow-loading"),Hr)),customizeIcon:ei,customizeIconProps:{loading:Hr,searchValue:Do,open:ra,focused:wa,showSearch:tr}}));var Vl=function(){var Wi;Wn==null||Wn(),(Wi=Bi.current)===null||Wi===void 0||Wi.focus(),Bt([],{type:"clear",values:rt}),Ji("",!1,!1)},Ta=Ie(Et,Vl,rt,rr,yo,Mr,Do,Yn),Ll=Ta.allowClear,Tl=Ta.clearIcon,tl=se.createElement(Zo,{ref:Ti}),Ss=me()(Et,Ut,(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(Et,"-focused"),wa),"".concat(Et,"-multiple"),Kn),"".concat(Et,"-single"),!Kn),"".concat(Et,"-allow-clear"),rr),"".concat(Et,"-show-arrow"),es),"".concat(Et,"-disabled"),Mr),"".concat(Et,"-loading"),Hr),"".concat(Et,"-open"),ra),"".concat(Et,"-customize-input"),Co),"".concat(Et,"-show-search"),tr)),ts=se.createElement(re,{ref:Li,disabled:Mr,prefixCls:Et,visible:qa,popupElement:tl,animation:vo,transitionName:ui,dropdownStyle:yi,dropdownClassName:Jo,direction:rn,dropdownMatchSelectWidth:pi,dropdownRender:ki,dropdownAlign:Ci,placement:Oi,builtinPlacements:No,getPopupContainer:Je,empty:Ot,getTriggerDOMNode:function(Wi){return mi.current||Wi},onPopupVisibleChange:Xl,onPopupMouseEnter:ql},$i?se.cloneElement($i,{ref:Uo}):se.createElement(Wt,(0,y.Z)({},kt,{domRef:mi,prefixCls:Et,inputElement:Co,ref:Bi,id:Ht,prefix:Ro,showSearch:tr,autoClearSearchValue:eo,mode:Yn,activeDescendantId:ao,tagRender:Qt,values:rt,open:ra,onToggleOpen:qo,activeValue:ro,searchValue:Do,onSearch:Ji,onSearchSubmit:ko,onRemove:ji,tokenWithEnter:Ei,onInputBlur:Sl}))),$a;return $i?$a=ts:$a=se.createElement("div",(0,y.Z)({className:Ss},kr,{ref:vi,onMouseDown:Xi,onKeyDown:Ba,onKeyUp:xl,onFocus:rs,onBlur:us}),se.createElement(st,{visible:wa&&!ra,values:rt}),ts,el,Ll&&Tl),se.createElement(Ze.Provider,{value:xs},$a)}),Yt=nn,Jt=function(){return null};Jt.isSelectOptGroup=!0;var cn=Jt,bt=function(){return null};bt.isSelectOption=!0;var zt=bt,un=E(80547),Cn=E(2738),ct=E(48911);function Zt(){return/(mac\sos|macintosh)/i.test(navigator.appVersion)}var wt=["disabled","title","children","style","className"];function dn(kt){return typeof kt=="string"||typeof kt=="number"}var wn=function(qt,gt){var Ht=$e(),Et=Ht.prefixCls,Ut=Ht.id,ot=Ht.open,Qt=Ht.multiple,rn=Ht.mode,_t=Ht.searchValue,rt=Ht.toggleOpen,Bt=Ht.notFoundContent,Ot=Ht.onPopupScroll,$t=se.useContext(Qe),On=$t.maxCount,Wn=$t.flattenOptions,Yn=$t.onActiveValue,Mr=$t.defaultActiveFirstOption,Hr=$t.onSelect,to=$t.menuItemSelectedIcon,fr=$t.rawValues,Er=$t.fieldNames,Tr=$t.virtual,Yr=$t.direction,ro=$t.listHeight,oo=$t.listItemHeight,ao=$t.optionRender,Or="".concat(Et,"-item"),eo=(0,un.Z)(function(){return Wn},[ot,Wn],function(hn,Mt){return Mt[0]&&hn[1]!==Mt[1]}),Jr=se.useRef(null),Wo=se.useMemo(function(){return Qt&&vt(On)&&(fr==null?void 0:fr.size)>=On},[Qt,On,fr==null?void 0:fr.size]),Ko=function(Mt){Mt.preventDefault()},rr=function(Mt){var bn;(bn=Jr.current)===null||bn===void 0||bn.scrollTo(typeof Mt=="number"?{index:Mt}:Mt)},Ro=se.useCallback(function(hn){return rn==="combobox"?!1:fr.has(hn)},[rn,(0,Ae.Z)(fr).toString(),fr.size]),ei=function(Mt){for(var bn=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1,Jn=eo.length,Zn=0;Zn<Jn;Zn+=1){var kn=(Mt+Zn*bn+Jn)%Jn,yr=eo[kn]||{},zn=yr.group,Kn=yr.data;if(!zn&&!(Kn!=null&&Kn.disabled)&&(Ro(Kn.value)||!Wo))return kn}return-1},yo=se.useState(function(){return ei(0)}),Zo=(0,Ce.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 Jn={source:bn?"keyboard":"mouse"},Zn=eo[Mt];if(!Zn){Yn(null,-1,Jn);return}Yn(Zn.value,Mt,Jn)};(0,se.useEffect)(function(){yi(Mr!==!1?ei(0):-1)},[eo.length,_t]);var Jo=se.useCallback(function(hn){return rn==="combobox"?String(hn).toLowerCase()===_t.toLowerCase():fr.has(hn)},[rn,_t,(0,Ae.Z)(fr).toString(),fr.size]);(0,se.useEffect)(function(){var hn=setTimeout(function(){if(!Qt&&ot&&fr.size===1){var bn=Array.from(fr)[0],Jn=eo.findIndex(function(Zn){var kn=Zn.data;return _t?String(kn.value).startsWith(_t):kn.value===bn});Jn!==-1&&(yi(Jn),rr(Jn))}});if(ot){var Mt;(Mt=Jr.current)===null||Mt===void 0||Mt.scrollTo(void 0)}return function(){return clearTimeout(hn)}},[ot,_t]);var pi=function(Mt){Mt!==void 0&&Hr(Mt,{selected:!fr.has(Mt)}),Qt||rt(!1)};if(se.useImperativeHandle(gt,function(){return{onKeyDown:function(Mt){var bn=Mt.which,Jn=Mt.ctrlKey;switch(bn){case Re.Z.N:case Re.Z.P:case Re.Z.UP:case Re.Z.DOWN:{var Zn=0;if(bn===Re.Z.UP?Zn=-1:bn===Re.Z.DOWN?Zn=1:Zt()&&Jn&&(bn===Re.Z.N?Zn=1:bn===Re.Z.P&&(Zn=-1)),Zn!==0){var kn=ei(vo+Zn,Zn);rr(kn),yi(kn,!0)}break}case Re.Z.TAB:case Re.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 Re.Z.ESC:rt(!1),ot&&Mt.stopPropagation()}},onKeyUp:function(){},scrollTo:function(Mt){rr(Mt)}}}),eo.length===0)return se.createElement("div",{role:"listbox",id:"".concat(Ut,"_list"),className:"".concat(Or,"-empty"),onMouseDown:Ko},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(Ut,"_list_").concat(Mt)}}var No=function(Mt){var bn=eo[Mt];if(!bn)return null;var Jn=bn.data||{},Zn=Jn.value,kn=bn.group,yr=(0,ye.Z)(Jn,!0),zn=Ci(bn);return bn?se.createElement("div",(0,y.Z)({"aria-label":typeof zn=="string"&&!kn?zn:null},yr,{key:Mt},Oi(bn,Mt),{"aria-selected":Jo(Zn)}),Zn):null},Je={role:"listbox",id:"".concat(Ut,"_list")};return se.createElement(se.Fragment,null,Tr&&se.createElement("div",(0,y.Z)({},Je,{style:{height:0,width:0,overflow:"hidden"}}),No(vo-1),No(vo),No(vo+1)),se.createElement(ct.Z,{itemKey:"key",ref:Jr,data:eo,height:ro,itemHeight:oo,fullHeight:!1,onMouseDown:Ko,onScroll:Ot,virtual:Tr,direction:Yr,innerProps:Tr?null:Je},function(hn,Mt){var bn=hn.group,Jn=hn.groupOption,Zn=hn.data,kn=hn.label,yr=hn.value,zn=Zn.key;if(bn){var Kn,tr=(Kn=Zn.title)!==null&&Kn!==void 0?Kn:dn(kn)?kn.toString():void 0;return se.createElement("div",{className:me()(Or,"".concat(Or,"-group"),Zn.className),title:tr},kn!==void 0?kn:zn)}var kr=Zn.disabled,wo=Zn.title,ci=Zn.children,ii=Zn.style,oi=Zn.className,vi=(0,Fe.Z)(Zn,wt),mi=(0,Cn.Z)(vi,ki),Li=Ro(yr),Bi=kr||!Li&&Wo,Ti="".concat(Or,"-option"),Vi=me()(Or,Ti,oi,(0,pe.Z)((0,pe.Z)((0,pe.Z)((0,pe.Z)({},"".concat(Ti,"-grouped"),Jn),"".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=dn(wa)?wa.toString():void 0;return wo!==void 0&&(ha=wo),se.createElement("div",(0,y.Z)({},(0,ye.Z)(mi),Tr?{}:Oi(hn,Mt),{"aria-selected":Jo(yr),className:Vi,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(ce,{className:"".concat(Or,"-option-state"),customizeIcon:to,customizeIconProps:{value:yr,disabled:Bi,isSelected:Li}},Li?"\u2713":null))}))},Un=se.forwardRef(wn),er=Un,lr=function(kt,qt){var gt=se.useRef({values:new Map,options:new Map}),Ht=se.useMemo(function(){var Ut=gt.current,ot=Ut.values,Qt=Ut.options,rn=kt.map(function(Bt){if(Bt.label===void 0){var Ot;return(0,ze.Z)((0,ze.Z)({},Bt),{},{label:(Ot=ot.get(Bt.value))===null||Ot===void 0?void 0:Ot.label})}return Bt}),_t=new Map,rt=new Map;return rn.forEach(function(Bt){_t.set(Bt.value,Bt),rt.set(Bt.value,qt.get(Bt.value)||Qt.get(Bt.value))}),gt.current.values=_t,gt.current.options=rt,rn},[kt,qt]),Et=se.useCallback(function(Ut){return qt.get(Ut)||gt.current.options.get(Ut)},[qt]);return[Ht,Et]};function Rn(kt,qt){return Ge(kt).join("").toUpperCase().includes(qt)}var Qn=function(kt,qt,gt,Ht,Et){return se.useMemo(function(){if(!gt||Ht===!1)return kt;var Ut=qt.options,ot=qt.label,Qt=qt.value,rn=[],_t=typeof Ht=="function",rt=gt.toUpperCase(),Bt=_t?Ht:function($t,On){return Et?Rn(On[Et],rt):On[Ut]?Rn(On[ot!=="children"?ot:"label"],rt):Rn(On[Qt],rt)},Ot=_t?function($t){return mt($t)}:function($t){return $t};return kt.forEach(function($t){if($t[Ut]){var On=Bt(gt,Ot($t));if(On)rn.push($t);else{var Wn=$t[Ut].filter(function(Yn){return Bt(gt,Ot(Yn))});Wn.length&&rn.push((0,ze.Z)((0,ze.Z)({},$t),{},(0,pe.Z)({},Ut,Wn)))}return}Bt(gt,Ot($t))&&rn.push($t)}),rn},[kt,Ht,Et,gt,qt])},Vt=E(6551),Lt=E(11592),sn=["children","value"],an=["children"];function tn(kt){var qt=kt,gt=qt.key,Ht=qt.props,Et=Ht.children,Ut=Ht.value,ot=(0,Fe.Z)(Ht,sn);return(0,ze.Z)({key:gt,value:Ut!==void 0?Ut:gt,children:Et},ot)}function Bn(kt){var qt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;return(0,Lt.Z)(kt).map(function(gt,Ht){if(!se.isValidElement(gt)||!gt.type)return null;var Et=gt,Ut=Et.type.isSelectOptGroup,ot=Et.key,Qt=Et.props,rn=Qt.children,_t=(0,Fe.Z)(Qt,an);return qt||!Ut?tn(gt):(0,ze.Z)((0,ze.Z)({key:"__RC_SELECT_GRP__".concat(ot===null?Ht:ot,"__"),label:ot},_t),{},{options:Bn(rn)})}).filter(function(gt){return gt})}var xn=function(qt,gt,Ht,Et,Ut){return se.useMemo(function(){var ot=qt,Qt=!qt;Qt&&(ot=Bn(gt));var rn=new Map,_t=new Map,rt=function($t,On,Wn){Wn&&typeof Wn=="string"&&$t.set(On[Wn],On)},Bt=function Ot($t){for(var On=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,Wn=0;Wn<$t.length;Wn+=1){var Yn=$t[Wn];!Yn[Ht.options]||On?(rn.set(Yn[Ht.value],Yn),rt(_t,Yn,Ht.label),rt(_t,Yn,Et),rt(_t,Yn,Ut)):Ot(Yn[Ht.options],!0)}};return Bt(ot),{options:ot,valueOptions:rn,labelOptions:_t}},[qt,gt,Ht,Et,Ut])},jn=xn;function nr(kt){var qt=se.useRef();qt.current=kt;var gt=se.useCallback(function(){return qt.current.apply(qt,arguments)},[]);return gt}function Gn(kt){var qt=kt.mode,gt=kt.options,Ht=kt.children,Et=kt.backfill,Ut=kt.allowClear,ot=kt.placeholder,Qt=kt.getInputElement,rn=kt.showSearch,_t=kt.onSearch,rt=kt.defaultOpen,Bt=kt.autoFocus,Ot=kt.labelInValue,$t=kt.value,On=kt.inputValue,Wn=kt.optionLabelProp,Yn=isMultiple(qt),Mr=rn!==void 0?rn:Yn||qt==="combobox",Hr=gt||convertChildrenToData(Ht);if(warning(qt!=="tags"||Hr.every(function(Tr){return!Tr.disabled}),"Please avoid setting option to disabled in tags mode since user can always type text as tag."),qt==="tags"||qt==="combobox"){var to=Hr.some(function(Tr){return Tr.options?Tr.options.some(function(Yr){return typeof("value"in Yr?Yr.value:Yr.key)=="number"}):typeof("value"in Tr?Tr.value:Tr.key)=="number"});warning(!to,"`value` of Option should not use number type when `mode` is `tags` or `combobox`.")}if(warning(qt!=="combobox"||!Wn,"`combobox` mode not support `optionLabelProp`. Please set `value` on Option directly."),warning(qt==="combobox"||!Et,"`backfill` only works with `combobox` mode."),warning(qt==="combobox"||!Qt,"`getInputElement` only work with `combobox` mode."),noteOnce(qt!=="combobox"||!Qt||!Ut||!ot,"Customize `getInputElement` should customize clear and placeholder logic instead of configuring `allowClear` and `placeholder`."),_t&&!Mr&&qt!=="combobox"&&qt!=="tags"&&warning(!1,"`onSearch` should work with `showSearch` instead of use alone."),noteOnce(!rt||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 fr=toArray($t);warning(!Ot||fr.every(function(Tr){return _typeof(Tr)==="object"&&("key"in Tr||"value"in Tr)}),"`value` should in shape of `{ value: string | number, label?: ReactNode }` when you set `labelInValue` to `true`"),warning(!Yn||Array.isArray($t),"`value` should be array when `mode` is `multiple` or `tags`")}if(Ht){var Er=null;toNodeArray(Ht).some(function(Tr){if(!React.isValidElement(Tr)||!Tr.type)return!1;var Yr=Tr,ro=Yr.type;if(ro.isSelectOption)return!1;if(ro.isSelectOptGroup){var oo=toNodeArray(Tr.props.children).every(function(ao){return!React.isValidElement(ao)||!Tr.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(On===void 0,"`inputValue` is deprecated, please use `searchValue` instead.")}}function Ln(kt,qt){if(kt){var gt=function Ht(Et){for(var Ut=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,ot=0;ot<Et.length;ot++){var Qt=Et[ot];if(Qt[qt==null?void 0:qt.value]===null)return warning(!1,"`value` in Select options should not be `null`."),!0;if(!Ut&&Array.isArray(Qt[qt==null?void 0:qt.options])&&Ht(Qt[qt==null?void 0:qt.options],!0))break}};gt(kt)}}var mr=null,ir=["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"],jr=["inputValue"];function Nr(kt){return!kt||(0,ge.Z)(kt)!=="object"}var Fn=se.forwardRef(function(kt,qt){var gt=kt.id,Ht=kt.mode,Et=kt.prefixCls,Ut=Et===void 0?"rc-select":Et,ot=kt.backfill,Qt=kt.fieldNames,rn=kt.inputValue,_t=kt.searchValue,rt=kt.onSearch,Bt=kt.autoClearSearchValue,Ot=Bt===void 0?!0:Bt,$t=kt.onSelect,On=kt.onDeselect,Wn=kt.dropdownMatchSelectWidth,Yn=Wn===void 0?!0:Wn,Mr=kt.filterOption,Hr=kt.filterSort,to=kt.optionFilterProp,fr=kt.optionLabelProp,Er=kt.options,Tr=kt.optionRender,Yr=kt.children,ro=kt.defaultActiveFirstOption,oo=kt.menuItemSelectedIcon,ao=kt.virtual,Or=kt.direction,eo=kt.listHeight,Jr=eo===void 0?200:eo,Wo=kt.listItemHeight,Ko=Wo===void 0?20:Wo,rr=kt.labelRender,Ro=kt.value,ei=kt.defaultValue,yo=kt.labelInValue,Zo=kt.onChange,vo=kt.maxCount,ui=(0,Fe.Z)(kt,ir),yi=(0,Vt.ZP)(gt),Jo=vn(Ht),pi=!!(!Er&&Yr),ki=se.useMemo(function(){return Mr===void 0&&Ht==="combobox"?!1:Mr},[Mr,Ht]),Ci=se.useMemo(function(){return et(Qt,pi)},[JSON.stringify(Qt),pi]),Oi=(0,je.Z)("",{value:_t!==void 0?_t:rn,postState:function(Ei){return Ei||""}}),No=(0,Ce.Z)(Oi,2),Je=No[0],hn=No[1],Mt=jn(Er,Yr,Ci,to,fr),bn=Mt.valueOptions,Jn=Mt.labelOptions,Zn=Mt.options,kn=se.useCallback(function(qo){var Ei=Ge(qo);return Ei.map(function(Qo){var di,zi,Ji,ko,_i;if(Nr(Qo))di=Qo;else{var gr;Ji=Qo.key,zi=Qo.label,di=(gr=Qo.value)!==null&&gr!==void 0?gr:Ji}var Qr=bn.get(di);if(Qr){var Yo;if(zi===void 0&&(zi=Qr==null?void 0:Qr[fr||Ci.label]),Ji===void 0&&(Ji=(Yo=Qr==null?void 0:Qr.key)!==null&&Yo!==void 0?Yo:di),ko=Qr==null?void 0:Qr.disabled,_i=Qr==null?void 0:Qr.title,0)var Zi}return{label:zi,value:di,key:Ji,disabled:ko,title:_i}})},[Ci,fr,bn]),yr=(0,je.Z)(ei,{value:Ro}),zn=(0,Ce.Z)(yr,2),Kn=zn[0],tr=zn[1],kr=se.useMemo(function(){var qo,Ei=Jo&&Kn===null?[]:Kn,Qo=kn(Ei);return Ht==="combobox"&&Se((qo=Qo[0])===null||qo===void 0?void 0:qo.value)?[]:Qo},[Kn,kn,Ht,Jo]),wo=lr(kr,bn),ci=(0,Ce.Z)(wo,2),ii=ci[0],oi=ci[1],vi=se.useMemo(function(){if(!Ht&&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,ze.Z)((0,ze.Z)({},Ei),{},{label:(Qo=typeof rr=="function"?rr(Ei):Ei.label)!==null&&Qo!==void 0?Qo:Ei.value})})},[Ht,ii,rr]),mi=se.useMemo(function(){return new Set(ii.map(function(qo){return qo.value}))},[ii]);se.useEffect(function(){if(Ht==="combobox"){var qo,Ei=(qo=ii[0])===null||qo===void 0?void 0:qo.value;hn(Ke(Ei)?String(Ei):"")}},[ii]);var Li=nr(function(qo,Ei){var Qo=Ei!=null?Ei:qo;return(0,pe.Z)((0,pe.Z)({},Ci.value,qo),Ci.label,Qo)}),Bi=se.useMemo(function(){if(Ht!=="tags")return Zn;var qo=(0,Ae.Z)(Zn),Ei=function(di){return bn.has(di)};return(0,Ae.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,Zn,bn,ii,Ht]),Ti=Qn(Bi,Ci,Je,ki,to),Vi=se.useMemo(function(){return Ht!=="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,Ae.Z)(Ti))},[Li,to,Ht,Ti,Je,Ci]),sa=function qo(Ei){var Qo=(0,Ae.Z)(Ei).sort(function(di,zi){return Hr(di,zi,{searchValue:Je})});return Qo.map(function(di){return Array.isArray(di.options)?(0,ze.Z)((0,ze.Z)({},di),{},{options:di.options.length>0?qo(di.options):di.options}):di})},fa=se.useMemo(function(){return Hr?sa(Vi):Vi},[Vi,Hr,Je]),wa=se.useMemo(function(){return nt(fa,{fieldNames:Ci,childrenAsData:pi})},[fa,Ci,pi]),ha=function(Ei){var Qo=kn(Ei);if(tr(Qo),Zo&&(Qo.length!==ii.length||Qo.some(function(Ji,ko){var _i;return((_i=ii[ko])===null||_i===void 0?void 0:_i.value)!==(Ji==null?void 0:Ji.value)}))){var di=yo?Qo:Qo.map(function(Ji){return Ji.value}),zi=Qo.map(function(Ji){return mt(oi(Ji.value))});Zo(Jo?di:di[0],Jo?zi:zi[0])}},Ao=se.useState(null),Do=(0,Ce.Z)(Ao,2),Co=Do[0],$i=Do[1],Uo=se.useState(0),Ho=(0,Ce.Z)(Uo,2),Ii=Ho[0],bi=Ho[1],hi=ro!==void 0?ro:Ht!=="combobox",Xo=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&&Ht==="combobox"&&qo!==null&&zi==="keyboard"&&$i(String(qo))},[ot,Ht]),Ia=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,mt(Sl)]};if(Qo&&$t){var Ji=zi(),ko=(0,Ce.Z)(Ji,2),_i=ko[0],gr=ko[1];$t(_i,gr)}else if(!Qo&&On&&di!=="clear"){var Qr=zi(),Yo=(0,Ce.Z)(Qr,2),Zi=Yo[0],Ba=Yo[1];On(Zi,Ba)}},Ha=nr(function(qo,Ei){var Qo,di=Jo?Ei.selected:!0;di?Qo=Jo?[].concat((0,Ae.Z)(ii),[qo]):[qo]:Qo=ii.filter(function(zi){return zi.value!==qo}),ha(Qo),Ia(qo,di),Ht==="combobox"?$i(""):(!vn||Ot)&&(hn(""),$i(""))}),Aa=function(Ei,Qo){ha(Ei);var di=Qo.type,zi=Qo.values;(di==="remove"||di==="clear")&&zi.forEach(function(Ji){Ia(Ji.value,!1,di)})},ra=function(Ei,Qo){if(hn(Ei),$i(null),Qo.source==="submit"){var di=(Ei||"").trim();if(di){var zi=Array.from(new Set([].concat((0,Ae.Z)(mi),[di])));ha(zi),Ia(di,!0),hn("")}return}Qo.source!=="blur"&&(Ht==="combobox"&&ha(Ei),rt==null||rt(Ei))},El=function(Ei){var Qo=Ei;Ht!=="tags"&&(Qo=Ei.map(function(zi){var Ji=Jn.get(zi);return Ji==null?void 0:Ji.value}).filter(function(zi){return zi!==void 0}));var di=Array.from(new Set([].concat((0,Ae.Z)(mi),(0,Ae.Z)(Qo))));ha(di),di.forEach(function(zi){Ia(zi,!0)})},qa=se.useMemo(function(){var qo=ao!==!1&&Yn!==!1;return(0,ze.Z)((0,ze.Z)({},Mt),{},{flattenOptions:wa,onActiveValue:Xo,defaultActiveFirstOption:hi,onSelect:Ha,menuItemSelectedIcon:oo,rawValues:mi,fieldNames:Ci,virtual:qo,direction:Or,listHeight:Jr,listItemHeight:Ko,childrenAsData:pi,maxCount:vo,optionRender:Tr})},[vo,Mt,wa,Xo,hi,Ha,oo,mi,Ci,ao,Yn,Or,Jr,Ko,pi,Tr]);return se.createElement(Qe.Provider,{value:qa},se.createElement(Yt,(0,y.Z)({},ui,{id:yi,prefixCls:Ut,ref:qt,omitDomProps:jr,mode:Ht,displayValues:vi,onDisplayValuesChange:Aa,direction:Or,searchValue:Je,onSearch:ra,autoClearSearchValue:Ot,onSearchSplit:El,dropdownMatchSelectWidth:Yn,OptionList:er,emptyOptions:!wa.length,activeValue:Co,activeDescendantId:"".concat(yi,"_list_").concat(Ii)})))}),Nn=Fn;Nn.Option=zt,Nn.OptGroup=cn;var cr=Nn,sr=cr},22711:function(mn,Ct,E){"use strict";E.r(Ct),E.d(Ct,{ResizableTextArea:function(){return Pe},default:function(){return Xe}});var y=E(60499),Ae=E(18642),pe=E(85899),ze=E(77654),Ce=E(72190),Fe=E(42244),ge=E(92310),je=E.n(ge),De=E(36901),se=E(66003),Ue=E(30292),me=E(18929),Ne=E(59301),we=E(43749),be=E(29301),he=E(34280),ce=E(16089),Ie=`
|
|
|
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"],$e={},oe;function Be(Ge){var lt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,Tt=Ge.getAttribute("id")||Ge.getAttribute("data-reactid")||Ge.getAttribute("name");if(lt&&$e[Tt])return $e[Tt];var Ke=window.getComputedStyle(Ge),Se=Ke.getPropertyValue("box-sizing")||Ke.getPropertyValue("-moz-box-sizing")||Ke.getPropertyValue("-webkit-box-sizing"),Ft=parseFloat(Ke.getPropertyValue("padding-bottom"))+parseFloat(Ke.getPropertyValue("padding-top")),It=parseFloat(Ke.getPropertyValue("border-bottom-width"))+parseFloat(Ke.getPropertyValue("border-top-width")),ut=Ze.map(function(ke){return"".concat(ke,":").concat(Ke.getPropertyValue(ke))}).join(";"),xe={sizingStyle:ut,paddingSize:Ft,borderSize:It,boxSizing:Se};return lt&&Tt&&($e[Tt]=xe),xe}function tt(Ge){var lt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,Tt=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null,Ke=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)),Ge.getAttribute("wrap")?oe.setAttribute("wrap",Ge.getAttribute("wrap")):oe.removeAttribute("wrap");var Se=Be(Ge,lt),Ft=Se.paddingSize,It=Se.borderSize,ut=Se.boxSizing,xe=Se.sizingStyle;oe.setAttribute("style","".concat(xe,";").concat(Ie)),oe.value=Ge.value||Ge.placeholder||"";var ke=void 0,at=void 0,Rt,ft=oe.scrollHeight;if(ut==="border-box"?ft+=It:ut==="content-box"&&(ft-=Ft),Tt!==null||Ke!==null){oe.value=" ";var Nt=oe.scrollHeight-Ft;Tt!==null&&(ke=Nt*Tt,ut==="border-box"&&(ke=ke+Ft+It),ft=Math.max(ke,ft)),Ke!==null&&(at=Nt*Ke,ut==="border-box"&&(at=at+Ft+It),Rt=ft>at?"":"hidden",ft=Math.min(at,ft))}var xt={height:ft,overflowY:Rt,resize:"none"};return ke&&(xt.minHeight=ke),at&&(xt.maxHeight=at),xt}var Re=["prefixCls","defaultValue","value","autoSize","onResize","className","style","disabled","onChange","onInternalAutoSize"],_e=0,ye=1,Le=2,Ve=Ne.forwardRef(function(Ge,lt){var Tt=Ge,Ke=Tt.prefixCls,Se=Tt.defaultValue,Ft=Tt.value,It=Tt.autoSize,ut=Tt.onResize,xe=Tt.className,ke=Tt.style,at=Tt.disabled,Rt=Tt.onChange,ft=Tt.onInternalAutoSize,Nt=(0,Fe.Z)(Tt,Re),xt=(0,me.Z)(Se,{value:Ft,postState:function(zt){return zt!=null?zt:""}}),Xt=(0,Ce.Z)(xt,2),Wt=Xt[0],de=Xt[1],ne=function(zt){de(zt.target.value),Rt==null||Rt(zt)},te=Ne.useRef();Ne.useImperativeHandle(lt,function(){return{textArea:te.current}});var le=Ne.useMemo(function(){return It&&(0,we.Z)(It)==="object"?[It.minRows,It.maxRows]:[]},[It]),ve=(0,Ce.Z)(le,2),re=ve[0],fe=ve[1],Ye=!!It,vt=function(){try{if(document.activeElement===te.current){var zt=te.current,un=zt.selectionStart,Cn=zt.selectionEnd,ct=zt.scrollTop;te.current.setSelectionRange(un,Cn),te.current.scrollTop=ct}}catch(Zt){}},et=Ne.useState(Le),nt=(0,Ce.Z)(et,2),mt=nt[0],yt=nt[1],St=Ne.useState(),Qe=(0,Ce.Z)(St,2),st=Qe[0],en=Qe[1],Kt=function(){yt(_e)};(0,he.Z)(function(){Ye&&Kt()},[Ft,re,fe,Ye]),(0,he.Z)(function(){if(mt===_e)yt(ye);else if(mt===ye){var bt=tt(te.current,!1,re,fe);yt(Le),en(bt)}else vt()},[mt]);var vn=Ne.useRef(),nn=function(){ce.Z.cancel(vn.current)},Yt=function(zt){mt===Le&&(ut==null||ut(zt),It&&(nn(),vn.current=(0,ce.Z)(function(){Kt()})))};Ne.useEffect(function(){return nn},[]);var Jt=Ye?st:null,cn=(0,pe.Z)((0,pe.Z)({},ke),Jt);return(mt===_e||mt===ye)&&(cn.overflowY="hidden",cn.overflowX="hidden"),Ne.createElement(be.Z,{onResize:Yt,disabled:!(It||ut)},Ne.createElement("textarea",(0,y.Z)({},Nt,{ref:te,style:cn,className:je()(Ke,xe,(0,Ae.Z)({},"".concat(Ke,"-disabled"),at)),disabled:at,value:Wt,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"],Oe=Ne.forwardRef(function(Ge,lt){var Tt,Ke=Ge.defaultValue,Se=Ge.value,Ft=Ge.onFocus,It=Ge.onBlur,ut=Ge.onChange,xe=Ge.allowClear,ke=Ge.maxLength,at=Ge.onCompositionStart,Rt=Ge.onCompositionEnd,ft=Ge.suffix,Nt=Ge.prefixCls,xt=Nt===void 0?"rc-textarea":Nt,Xt=Ge.showCount,Wt=Ge.count,de=Ge.className,ne=Ge.style,te=Ge.disabled,le=Ge.hidden,ve=Ge.classNames,re=Ge.styles,fe=Ge.onResize,Ye=Ge.onClear,vt=Ge.onPressEnter,et=Ge.readOnly,nt=Ge.autoSize,mt=Ge.onKeyDown,yt=(0,Fe.Z)(Ge,it),St=(0,me.Z)(Ke,{value:Se,defaultValue:Ke}),Qe=(0,Ce.Z)(St,2),st=Qe[0],en=Qe[1],Kt=st==null?"":String(st),vn=Ne.useState(!1),nn=(0,Ce.Z)(vn,2),Yt=nn[0],Jt=nn[1],cn=Ne.useRef(!1),bt=Ne.useState(null),zt=(0,Ce.Z)(bt,2),un=zt[0],Cn=zt[1],ct=(0,Ne.useRef)(null),Zt=(0,Ne.useRef)(null),wt=function(){var Nn;return(Nn=Zt.current)===null||Nn===void 0?void 0:Nn.textArea},dn=function(){wt().focus()};(0,Ne.useImperativeHandle)(lt,function(){var Fn;return{resizableTextArea:Zt.current,focus:dn,blur:function(){wt().blur()},nativeElement:((Fn=ct.current)===null||Fn===void 0?void 0:Fn.nativeElement)||wt()}}),(0,Ne.useEffect)(function(){Jt(function(Fn){return!te&&Fn})},[te]);var wn=Ne.useState(null),Un=(0,Ce.Z)(wn,2),er=Un[0],lr=Un[1];Ne.useEffect(function(){if(er){var Fn;(Fn=wt()).setSelectionRange.apply(Fn,(0,ze.Z)(er))}},[er]);var Rn=(0,se.Z)(Wt,Xt),Qn=(Tt=Rn.max)!==null&&Tt!==void 0?Tt:ke,Vt=Number(Qn)>0,Lt=Rn.strategy(Kt),sn=!!Qn&&Lt>Qn,an=function(Nn,cr){var sr=cr;!cn.current&&Rn.exceedFormatter&&Rn.max&&Rn.strategy(cr)>Rn.max&&(sr=Rn.exceedFormatter(cr,{max:Rn.max}),cr!==sr&&lr([wt().selectionStart||0,wt().selectionEnd||0])),en(sr),(0,Ue.rJ)(Nn.currentTarget,Nn,ut,sr)},tn=function(Nn){cn.current=!0,at==null||at(Nn)},Bn=function(Nn){cn.current=!1,an(Nn,Nn.currentTarget.value),Rt==null||Rt(Nn)},xn=function(Nn){an(Nn,Nn.target.value)},jn=function(Nn){Nn.key==="Enter"&&vt&&vt(Nn),mt==null||mt(Nn)},nr=function(Nn){Jt(!0),Ft==null||Ft(Nn)},Gn=function(Nn){Jt(!1),It==null||It(Nn)},Ln=function(Nn){en(""),dn(),(0,Ue.rJ)(wt(),Nn,ut)},mr=ft,ir;Rn.show&&(Rn.showFormatter?ir=Rn.showFormatter({value:Kt,count:Lt,maxLength:Qn}):ir="".concat(Lt).concat(Vt?" / ".concat(Qn):""),mr=Ne.createElement(Ne.Fragment,null,mr,Ne.createElement("span",{className:je()("".concat(xt,"-data-count"),ve==null?void 0:ve.count),style:re==null?void 0:re.count},ir)));var jr=function(Nn){var cr;fe==null||fe(Nn),(cr=wt())!==null&&cr!==void 0&&cr.style.height&&Cn(!0)},Nr=!nt&&!Xt&&!xe;return Ne.createElement(De.BaseInput,{ref:ct,value:Kt,allowClear:xe,handleReset:Ln,suffix:mr,prefixCls:xt,classNames:(0,pe.Z)((0,pe.Z)({},ve),{},{affixWrapper:je()(ve==null?void 0:ve.affixWrapper,(0,Ae.Z)((0,Ae.Z)({},"".concat(xt,"-show-count"),Xt),"".concat(xt,"-textarea-allow-clear"),xe))}),disabled:te,focused:Yt,className:je()(de,sn&&"".concat(xt,"-out-of-range")),style:(0,pe.Z)((0,pe.Z)({},ne),un&&!Nr?{height:"auto"}:{}),dataAttrs:{affixWrapper:{"data-count":typeof ir=="string"?ir:void 0}},hidden:le,readOnly:et,onClear:Ye},Ne.createElement(Pe,(0,y.Z)({},yt,{autoSize:nt,maxLength:ke,onKeyDown:jn,onChange:xn,onFocus:nr,onBlur:Gn,onCompositionStart:tn,onCompositionEnd:Bn,className:je()(ve==null?void 0:ve.textarea),style:(0,pe.Z)((0,pe.Z)({},re==null?void 0:re.textarea),{},{resize:ne==null?void 0:ne.resize}),disabled:te,prefixCls:xt,onResize:jr,ref:Zt,readOnly:et})))}),ue=Oe,Xe=ue},639:function(mn,Ct,E){"use strict";E.d(Ct,{Z:function(){return $e}});var y=E(60499),Ae=E(18642),pe=E(85899),ze=E(72190),Ce=E(42244),Fe=E(59301),ge=E(92310),je=E.n(ge),De=E(26112),se=E(30699),Ue=function(Be){for(var tt=Be.prefixCls,Re=Be.level,_e=Be.isStart,ye=Be.isEnd,Le="".concat(tt,"-indent-unit"),Ve=[],Pe=0;Pe<Re;Pe+=1)Ve.push(Fe.createElement("span",{key:Pe,className:je()(Le,(0,Ae.Z)((0,Ae.Z)({},"".concat(Le,"-start"),_e[Pe]),"".concat(Le,"-end"),ye[Pe]))}));return Fe.createElement("span",{"aria-hidden":"true",className:"".concat(tt,"-indent")},Ve)},me=Fe.memo(Ue),Ne=E(65065),we=E(34061),be=["eventKey","className","style","dragOver","dragOverGapTop","dragOverGapBottom","isLeaf","isStart","isEnd","expanded","selected","checked","halfChecked","loading","domRef","active","data","onMouseMove","selectable"],he="open",ce="close",Ie="---",Ze=function(Be){var tt,Re,_e,ye=Be.eventKey,Le=Be.className,Ve=Be.style,Pe=Be.dragOver,it=Be.dragOverGapTop,Oe=Be.dragOverGapBottom,ue=Be.isLeaf,Xe=Be.isStart,Ge=Be.isEnd,lt=Be.expanded,Tt=Be.selected,Ke=Be.checked,Se=Be.halfChecked,Ft=Be.loading,It=Be.domRef,ut=Be.active,xe=Be.data,ke=Be.onMouseMove,at=Be.selectable,Rt=(0,Ce.Z)(Be,be),ft=Fe.useContext(se.k),Nt=Fe.useContext(se.y),xt=Fe.useRef(null),Xt=Fe.useState(!1),Wt=(0,ze.Z)(Xt,2),de=Wt[0],ne=Wt[1],te=!!(ft.disabled||Be.disabled||(tt=Nt.nodeDisabled)!==null&&tt!==void 0&&tt.call(Nt,xe)),le=Fe.useMemo(function(){return!ft.checkable||Be.checkable===!1?!1:ft.checkable},[ft.checkable,Be.checkable]),ve=function(Lt){te||ft.onNodeSelect(Lt,(0,we.F)(Be))},re=function(Lt){te||!le||Be.disableCheckbox||ft.onNodeCheck(Lt,(0,we.F)(Be),!Ke)},fe=Fe.useMemo(function(){return typeof at=="boolean"?at:ft.selectable},[at,ft.selectable]),Ye=function(Lt){ft.onNodeClick(Lt,(0,we.F)(Be)),fe?ve(Lt):re(Lt)},vt=function(Lt){ft.onNodeDoubleClick(Lt,(0,we.F)(Be))},et=function(Lt){ft.onNodeMouseEnter(Lt,(0,we.F)(Be))},nt=function(Lt){ft.onNodeMouseLeave(Lt,(0,we.F)(Be))},mt=function(Lt){ft.onNodeContextMenu(Lt,(0,we.F)(Be))},yt=Fe.useMemo(function(){return!!(ft.draggable&&(!ft.draggable.nodeDraggable||ft.draggable.nodeDraggable(xe)))},[ft.draggable,xe]),St=function(Lt){Lt.stopPropagation(),ne(!0),ft.onNodeDragStart(Lt,Be);try{Lt.dataTransfer.setData("text/plain","")}catch(sn){}},Qe=function(Lt){Lt.preventDefault(),Lt.stopPropagation(),ft.onNodeDragEnter(Lt,Be)},st=function(Lt){Lt.preventDefault(),Lt.stopPropagation(),ft.onNodeDragOver(Lt,Be)},en=function(Lt){Lt.stopPropagation(),ft.onNodeDragLeave(Lt,Be)},Kt=function(Lt){Lt.stopPropagation(),ne(!1),ft.onNodeDragEnd(Lt,Be)},vn=function(Lt){Lt.preventDefault(),Lt.stopPropagation(),ne(!1),ft.onNodeDrop(Lt,Be)},nn=function(Lt){Ft||ft.onNodeExpand(Lt,(0,we.F)(Be))},Yt=Fe.useMemo(function(){var Vt=(0,Ne.Z)(ft.keyEntities,ye)||{},Lt=Vt.children;return!!(Lt||[]).length},[ft.keyEntities,ye]),Jt=Fe.useMemo(function(){return ue===!1?!1:ue||!ft.loadData&&!Yt||ft.loadData&&Be.loaded&&!Yt},[ue,ft.loadData,Yt,Be.loaded]);Fe.useEffect(function(){Ft||typeof ft.loadData=="function"&<&&!Jt&&!Be.loaded&&ft.onNodeLoad((0,we.F)(Be))},[Ft,ft.loadData,ft.onNodeLoad,lt,Jt,Be]);var cn=Fe.useMemo(function(){var Vt;return(Vt=ft.draggable)!==null&&Vt!==void 0&&Vt.icon?Fe.createElement("span",{className:"".concat(ft.prefixCls,"-draggable-icon")},ft.draggable.icon):null},[ft.draggable]),bt=function(Lt){var sn=Be.switcherIcon||ft.switcherIcon;return typeof sn=="function"?sn((0,pe.Z)((0,pe.Z)({},Be),{},{isLeaf:Lt})):sn},zt=function(){if(Jt){var Lt=bt(!0);return Lt!==!1?Fe.createElement("span",{className:je()("".concat(ft.prefixCls,"-switcher"),"".concat(ft.prefixCls,"-switcher-noop"))},Lt):null}var sn=bt(!1);return sn!==!1?Fe.createElement("span",{onClick:nn,className:je()("".concat(ft.prefixCls,"-switcher"),"".concat(ft.prefixCls,"-switcher_").concat(lt?he:ce))},sn):null},un=Fe.useMemo(function(){if(!le)return null;var Vt=typeof le!="boolean"?le:null;return Fe.createElement("span",{className:je()("".concat(ft.prefixCls,"-checkbox"),(0,Ae.Z)((0,Ae.Z)((0,Ae.Z)({},"".concat(ft.prefixCls,"-checkbox-checked"),Ke),"".concat(ft.prefixCls,"-checkbox-indeterminate"),!Ke&&Se),"".concat(ft.prefixCls,"-checkbox-disabled"),te||Be.disableCheckbox)),onClick:re,role:"checkbox","aria-checked":Se?"mixed":Ke,"aria-disabled":te||Be.disableCheckbox,"aria-label":"Select ".concat(typeof Be.title=="string"?Be.title:"tree node")},Vt)},[le,Ke,Se,te,Be.disableCheckbox,Be.title]),Cn=Fe.useMemo(function(){return Jt?null:lt?he:ce},[Jt,lt]),ct=Fe.useMemo(function(){return Fe.createElement("span",{className:je()("".concat(ft.prefixCls,"-iconEle"),"".concat(ft.prefixCls,"-icon__").concat(Cn||"docu"),(0,Ae.Z)({},"".concat(ft.prefixCls,"-icon_loading"),Ft))})},[ft.prefixCls,Cn,Ft]),Zt=Fe.useMemo(function(){var Vt=!!ft.draggable,Lt=!Be.disabled&&Vt&&ft.dragOverNodeKey===ye;return Lt?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=Fe.useMemo(function(){var Vt=Be.title,Lt=Vt===void 0?Ie:Vt,sn="".concat(ft.prefixCls,"-node-content-wrapper"),an;if(ft.showIcon){var tn=Be.icon||ft.icon;an=tn?Fe.createElement("span",{className:je()("".concat(ft.prefixCls,"-iconEle"),"".concat(ft.prefixCls,"-icon__customize"))},typeof tn=="function"?tn(Be):tn):ct}else ft.loadData&&Ft&&(an=ct);var Bn;return typeof Lt=="function"?Bn=Lt(xe):ft.titleRender?Bn=ft.titleRender(xe):Bn=Lt,Fe.createElement("span",{ref:xt,title:typeof Lt=="string"?Lt:"",className:je()(sn,"".concat(sn,"-").concat(Cn||"normal"),(0,Ae.Z)({},"".concat(ft.prefixCls,"-node-selected"),!te&&(Tt||de))),onMouseEnter:et,onMouseLeave:nt,onContextMenu:mt,onClick:Ye,onDoubleClick:vt},an,Fe.createElement("span",{className:"".concat(ft.prefixCls,"-title")},Bn),Zt)},[ft.prefixCls,ft.showIcon,Be,ft.icon,ct,ft.titleRender,xe,Cn,et,nt,mt,Ye,vt]),dn=(0,De.Z)(Rt,{aria:!0,data:!0}),wn=(0,Ne.Z)(ft.keyEntities,ye)||{},Un=wn.level,er=Ge[Ge.length-1],lr=!te&&yt,Rn=ft.draggingNodeKey===ye,Qn=at!==void 0?{"aria-selected":!!at}:void 0;return Fe.createElement("div",(0,y.Z)({ref:It,role:"treeitem","aria-expanded":ue?void 0:lt,className:je()(Le,"".concat(ft.prefixCls,"-treenode"),(_e={},(0,Ae.Z)((0,Ae.Z)((0,Ae.Z)((0,Ae.Z)((0,Ae.Z)((0,Ae.Z)((0,Ae.Z)((0,Ae.Z)((0,Ae.Z)((0,Ae.Z)(_e,"".concat(ft.prefixCls,"-treenode-disabled"),te),"".concat(ft.prefixCls,"-treenode-switcher-").concat(lt?"open":"close"),!ue),"".concat(ft.prefixCls,"-treenode-checkbox-checked"),Ke),"".concat(ft.prefixCls,"-treenode-checkbox-indeterminate"),Se),"".concat(ft.prefixCls,"-treenode-selected"),Tt),"".concat(ft.prefixCls,"-treenode-loading"),Ft),"".concat(ft.prefixCls,"-treenode-active"),ut),"".concat(ft.prefixCls,"-treenode-leaf-last"),er),"".concat(ft.prefixCls,"-treenode-draggable"),yt),"dragging",Rn),(0,Ae.Z)((0,Ae.Z)((0,Ae.Z)((0,Ae.Z)((0,Ae.Z)((0,Ae.Z)((0,Ae.Z)(_e,"drop-target",ft.dropTargetKey===ye),"drop-container",ft.dropContainerKey===ye),"drag-over",!te&&Pe),"drag-over-gap-top",!te&&it),"drag-over-gap-bottom",!te&&Oe),"filter-node",(Re=ft.filterTreeNode)===null||Re===void 0?void 0:Re.call(ft,(0,we.F)(Be))),"".concat(ft.prefixCls,"-treenode-leaf"),Jt))),style:Ve,draggable:lr,onDragStart:lr?St:void 0,onDragEnter:yt?Qe:void 0,onDragOver:yt?st:void 0,onDragLeave:yt?en:void 0,onDrop:yt?vn:void 0,onDragEnd:yt?Kt:void 0,onMouseMove:ke},Qn,dn),Fe.createElement(me,{prefixCls:ft.prefixCls,level:Un,isStart:Xe,isEnd:Ge}),cn,zt(),un,wt)};Ze.isTreeNode=1;var $e=Ze},30699:function(mn,Ct,E){"use strict";E.d(Ct,{k:function(){return Ae},y:function(){return pe}});var y=E(59301),Ae=y.createContext(null),pe=y.createContext({})},87632:function(mn,Ct,E){"use strict";E.d(Ct,{OF:function(){return ye.Z},y6:function(){return ce.y},ZP:function(){return te}});var y=E(60499),Ae=E(43749),pe=E(85899),ze=E(77654),Ce=E(38705),Fe=E(17212),ge=E(15793),je=E(39153),De=E(55401),se=E(18642),Ue=E(92310),me=E.n(Ue),Ne=E(10228),we=E(26112),be=E(48736),he=E(59301),ce=E(30699),Ie=function(ve){var re=ve.dropPosition,fe=ve.dropLevelOffset,Ye=ve.indent,vt={pointerEvents:"none",position:"absolute",right:0,backgroundColor:"red",height:2};switch(re){case-1:vt.top=0,vt.left=-fe*Ye;break;case 1:vt.bottom=0,vt.left=-fe*Ye;break;case 0:vt.bottom=0,vt.left=Ye;break}return he.createElement("div",{style:vt})},Ze=Ie;function $e(le){if(le==null)throw new TypeError("Cannot destructure "+le)}var oe=E(72190),Be=E(42244),tt=E(34280),Re=E(48911),_e=E(77900),ye=E(639);function Le(le,ve){var re=he.useState(!1),fe=(0,oe.Z)(re,2),Ye=fe[0],vt=fe[1];(0,tt.Z)(function(){if(Ye)return le(),function(){ve()}},[Ye]),(0,tt.Z)(function(){return vt(!0),function(){vt(!1)}},[])}var Ve=Le,Pe=E(34061),it=["className","style","motion","motionNodes","motionType","onMotionStart","onMotionEnd","active","treeNodeRequiredProps"],Oe=he.forwardRef(function(le,ve){var re=le.className,fe=le.style,Ye=le.motion,vt=le.motionNodes,et=le.motionType,nt=le.onMotionStart,mt=le.onMotionEnd,yt=le.active,St=le.treeNodeRequiredProps,Qe=(0,Be.Z)(le,it),st=he.useState(!0),en=(0,oe.Z)(st,2),Kt=en[0],vn=en[1],nn=he.useContext(ce.k),Yt=nn.prefixCls,Jt=vt&&et!=="hide";(0,tt.Z)(function(){vt&&Jt!==Kt&&vn(Jt)},[vt]);var cn=function(){vt&&nt()},bt=he.useRef(!1),zt=function(){vt&&!bt.current&&(bt.current=!0,mt())};Ve(cn,zt);var un=function(ct){Jt===ct&&zt()};return vt?he.createElement(_e.default,(0,y.Z)({ref:ve,visible:Kt},Ye,{motionAppear:et==="show",onVisibleChanged:un}),function(Cn,ct){var Zt=Cn.className,wt=Cn.style;return he.createElement("div",{ref:ct,className:me()("".concat(Yt,"-treenode-motion"),Zt),style:wt},vt.map(function(dn){var wn=Object.assign({},($e(dn.data),dn.data)),Un=dn.title,er=dn.key,lr=dn.isStart,Rn=dn.isEnd;delete wn.children;var Qn=(0,Pe.H8)(er,St);return he.createElement(ye.Z,(0,y.Z)({},wn,Qn,{title:Un,active:yt,data:dn.data,key:er,isStart:lr,isEnd:Rn}))}))}):he.createElement(ye.Z,(0,y.Z)({domRef:ve,className:re,style:fe},Qe,{active:yt}))}),ue=Oe;function Xe(){var le=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],ve=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],re=le.length,fe=ve.length;if(Math.abs(re-fe)!==1)return{add:!1,key:null};function Ye(vt,et){var nt=new Map;vt.forEach(function(yt){nt.set(yt,!0)});var mt=et.filter(function(yt){return!nt.has(yt)});return mt.length===1?mt[0]:null}return re<fe?{add:!0,key:Ye(le,ve)}:{add:!1,key:Ye(ve,le)}}function Ge(le,ve,re){var fe=le.findIndex(function(nt){return nt.key===re}),Ye=le[fe+1],vt=ve.findIndex(function(nt){return nt.key===re});if(Ye){var et=ve.findIndex(function(nt){return nt.key===Ye.key});return ve.slice(vt+1,et)}return ve.slice(vt+1)}var lt=["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"],Tt={width:0,height:0,display:"flex",overflow:"hidden",opacity:0,border:0,padding:0,margin:0},Ke=function(){},Se="RC_TREE_MOTION_".concat(Math.random()),Ft={key:Se},It={key:Se,level:0,index:0,pos:"0",node:Ft,nodes:[Ft]},ut={parent:null,children:[],pos:It.pos,data:Ft,title:null,key:Se,isStart:[],isEnd:[]};function xe(le,ve,re,fe){return ve===!1||!re?le:le.slice(0,Math.ceil(re/fe)+1)}function ke(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 Rt=he.forwardRef(function(le,ve){var re=le.prefixCls,fe=le.data,Ye=le.selectable,vt=le.checkable,et=le.expandedKeys,nt=le.selectedKeys,mt=le.checkedKeys,yt=le.loadedKeys,St=le.loadingKeys,Qe=le.halfCheckedKeys,st=le.keyEntities,en=le.disabled,Kt=le.dragging,vn=le.dragOverNodeKey,nn=le.dropPosition,Yt=le.motion,Jt=le.height,cn=le.itemHeight,bt=le.virtual,zt=le.scrollWidth,un=le.focusable,Cn=le.activeItem,ct=le.focused,Zt=le.tabIndex,wt=le.onKeyDown,dn=le.onFocus,wn=le.onBlur,Un=le.onActiveChange,er=le.onListChangeStart,lr=le.onListChangeEnd,Rn=(0,Be.Z)(le,lt),Qn=he.useRef(null),Vt=he.useRef(null);he.useImperativeHandle(ve,function(){return{scrollTo:function(Qt){Qn.current.scrollTo(Qt)},getIndentWidth:function(){return Vt.current.offsetWidth}}});var Lt=he.useState(et),sn=(0,oe.Z)(Lt,2),an=sn[0],tn=sn[1],Bn=he.useState(fe),xn=(0,oe.Z)(Bn,2),jn=xn[0],nr=xn[1],Gn=he.useState(fe),Ln=(0,oe.Z)(Gn,2),mr=Ln[0],ir=Ln[1],jr=he.useState([]),Nr=(0,oe.Z)(jr,2),Fn=Nr[0],Nn=Nr[1],cr=he.useState(null),sr=(0,oe.Z)(cr,2),kt=sr[0],qt=sr[1],gt=he.useRef(fe);gt.current=fe;function Ht(){var ot=gt.current;nr(ot),ir(ot),Nn([]),qt(null),lr()}(0,tt.Z)(function(){tn(et);var ot=Xe(an,et);if(ot.key!==null)if(ot.add){var Qt=jn.findIndex(function($t){var On=$t.key;return On===ot.key}),rn=xe(Ge(jn,fe,ot.key),bt,Jt,cn),_t=jn.slice();_t.splice(Qt+1,0,ut),ir(_t),Nn(rn),qt("show")}else{var rt=fe.findIndex(function($t){var On=$t.key;return On===ot.key}),Bt=xe(Ge(fe,jn,ot.key),bt,Jt,cn),Ot=fe.slice();Ot.splice(rt+1,0,ut),ir(Ot),Nn(Bt),qt("hide")}else jn!==fe&&(nr(fe),ir(fe))},[et,fe]),he.useEffect(function(){Kt||Ht()},[Kt]);var Et=Yt?mr:fe,Ut={expandedKeys:et,selectedKeys:nt,loadedKeys:yt,loadingKeys:St,checkedKeys:mt,halfCheckedKeys:Qe,dragOverNodeKey:vn,dropPosition:nn,keyEntities:st};return he.createElement(he.Fragment,null,ct&&Cn&&he.createElement("span",{style:Tt,"aria-live":"assertive"},at(Cn)),he.createElement("div",null,he.createElement("input",{style:Tt,disabled:un===!1||en,tabIndex:un!==!1?Zt:null,onKeyDown:wt,onFocus:dn,onBlur:wn,value:"",onChange:Ke,"aria-label":"for screen reader"})),he.createElement("div",{className:"".concat(re,"-treenode"),"aria-hidden":!0,style:{position:"absolute",pointerEvents:"none",visibility:"hidden",height:0,overflow:"hidden",border:0,padding:0}},he.createElement("div",{className:"".concat(re,"-indent")},he.createElement("div",{ref:Vt,className:"".concat(re,"-indent-unit")}))),he.createElement(Re.Z,(0,y.Z)({},Rn,{data:Et,itemKey:ke,height:Jt,fullHeight:!1,virtual:bt,itemHeight:cn,scrollWidth:zt,prefixCls:"".concat(re,"-list"),ref:Qn,role:"tree",onVisibleChange:function(Qt){Qt.every(function(rn){return ke(rn)!==Se})&&Ht()}}),function(ot){var Qt=ot.pos,rn=Object.assign({},($e(ot.data),ot.data)),_t=ot.title,rt=ot.key,Bt=ot.isStart,Ot=ot.isEnd,$t=(0,Pe.km)(rt,Qt);delete rn.key,delete rn.children;var On=(0,Pe.H8)($t,Ut);return he.createElement(ue,(0,y.Z)({},rn,On,{title:_t,active:!!Cn&&rt===Cn.key,pos:Qt,data:ot.data,isStart:Bt,isEnd:Ot,motion:Yt,motionNodes:rt===Se?Fn:null,motionType:kt,onMotionStart:er,onMotionEnd:Ht,treeNodeRequiredProps:Ut,onMouseMove:function(){Un(null)}}))}))}),ft=Rt,Nt=E(82661),xt=E(34643),Xt=E(65065),Wt=10,de=function(le){(0,je.Z)(re,le);var ve=(0,De.Z)(re);function re(){var fe;(0,Ce.Z)(this,re);for(var Ye=arguments.length,vt=new Array(Ye),et=0;et<Ye;et++)vt[et]=arguments[et];return fe=ve.call.apply(ve,[this].concat(vt)),(0,se.Z)((0,ge.Z)(fe),"destroyed",!1),(0,se.Z)((0,ge.Z)(fe),"delayedDragEnterLogic",void 0),(0,se.Z)((0,ge.Z)(fe),"loadingRetryTimes",{}),(0,se.Z)((0,ge.Z)(fe),"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,ge.Z)(fe),"dragStartMousePosition",null),(0,se.Z)((0,ge.Z)(fe),"dragNodeProps",null),(0,se.Z)((0,ge.Z)(fe),"currentMouseOverDroppableNodeKey",null),(0,se.Z)((0,ge.Z)(fe),"listRef",he.createRef()),(0,se.Z)((0,ge.Z)(fe),"onNodeDragStart",function(nt,mt){var yt=fe.state,St=yt.expandedKeys,Qe=yt.keyEntities,st=fe.props.onDragStart,en=mt.eventKey;fe.dragNodeProps=mt,fe.dragStartMousePosition={x:nt.clientX,y:nt.clientY};var Kt=(0,Nt._5)(St,en);fe.setState({draggingNodeKey:en,dragChildrenKeys:(0,Nt.wA)(en,Qe),indent:fe.listRef.current.getIndentWidth()}),fe.setExpandedKeys(Kt),window.addEventListener("dragend",fe.onWindowDragEnd),st==null||st({event:nt,node:(0,Pe.F)(mt)})}),(0,se.Z)((0,ge.Z)(fe),"onNodeDragEnter",function(nt,mt){var yt=fe.state,St=yt.expandedKeys,Qe=yt.keyEntities,st=yt.dragChildrenKeys,en=yt.flattenNodes,Kt=yt.indent,vn=fe.props,nn=vn.onDragEnter,Yt=vn.onExpand,Jt=vn.allowDrop,cn=vn.direction,bt=mt.pos,zt=mt.eventKey;if(fe.currentMouseOverDroppableNodeKey!==zt&&(fe.currentMouseOverDroppableNodeKey=zt),!fe.dragNodeProps){fe.resetDragState();return}var un=(0,Nt.OM)(nt,fe.dragNodeProps,mt,Kt,fe.dragStartMousePosition,Jt,en,Qe,St,cn),Cn=un.dropPosition,ct=un.dropLevelOffset,Zt=un.dropTargetKey,wt=un.dropContainerKey,dn=un.dropTargetPos,wn=un.dropAllowed,Un=un.dragOverNodeKey;if(st.includes(Zt)||!wn){fe.resetDragState();return}if(fe.delayedDragEnterLogic||(fe.delayedDragEnterLogic={}),Object.keys(fe.delayedDragEnterLogic).forEach(function(er){clearTimeout(fe.delayedDragEnterLogic[er])}),fe.dragNodeProps.eventKey!==mt.eventKey&&(nt.persist(),fe.delayedDragEnterLogic[bt]=window.setTimeout(function(){if(fe.state.draggingNodeKey!==null){var er=(0,ze.Z)(St),lr=(0,Xt.Z)(Qe,mt.eventKey);lr&&(lr.children||[]).length&&(er=(0,Nt.L0)(St,mt.eventKey)),fe.props.hasOwnProperty("expandedKeys")||fe.setExpandedKeys(er),Yt==null||Yt(er,{node:(0,Pe.F)(mt),expanded:!0,nativeEvent:nt.nativeEvent})}},800)),fe.dragNodeProps.eventKey===Zt&&ct===0){fe.resetDragState();return}fe.setState({dragOverNodeKey:Un,dropPosition:Cn,dropLevelOffset:ct,dropTargetKey:Zt,dropContainerKey:wt,dropTargetPos:dn,dropAllowed:wn}),nn==null||nn({event:nt,node:(0,Pe.F)(mt),expandedKeys:St})}),(0,se.Z)((0,ge.Z)(fe),"onNodeDragOver",function(nt,mt){var yt=fe.state,St=yt.dragChildrenKeys,Qe=yt.flattenNodes,st=yt.keyEntities,en=yt.expandedKeys,Kt=yt.indent,vn=fe.props,nn=vn.onDragOver,Yt=vn.allowDrop,Jt=vn.direction;if(fe.dragNodeProps){var cn=(0,Nt.OM)(nt,fe.dragNodeProps,mt,Kt,fe.dragStartMousePosition,Yt,Qe,st,en,Jt),bt=cn.dropPosition,zt=cn.dropLevelOffset,un=cn.dropTargetKey,Cn=cn.dropContainerKey,ct=cn.dropTargetPos,Zt=cn.dropAllowed,wt=cn.dragOverNodeKey;St.includes(un)||!Zt||(fe.dragNodeProps.eventKey===un&&zt===0?fe.state.dropPosition===null&&fe.state.dropLevelOffset===null&&fe.state.dropTargetKey===null&&fe.state.dropContainerKey===null&&fe.state.dropTargetPos===null&&fe.state.dropAllowed===!1&&fe.state.dragOverNodeKey===null||fe.resetDragState():bt===fe.state.dropPosition&&zt===fe.state.dropLevelOffset&&un===fe.state.dropTargetKey&&Cn===fe.state.dropContainerKey&&ct===fe.state.dropTargetPos&&Zt===fe.state.dropAllowed&&wt===fe.state.dragOverNodeKey||fe.setState({dropPosition:bt,dropLevelOffset:zt,dropTargetKey:un,dropContainerKey:Cn,dropTargetPos:ct,dropAllowed:Zt,dragOverNodeKey:wt}),nn==null||nn({event:nt,node:(0,Pe.F)(mt)}))}}),(0,se.Z)((0,ge.Z)(fe),"onNodeDragLeave",function(nt,mt){fe.currentMouseOverDroppableNodeKey===mt.eventKey&&!nt.currentTarget.contains(nt.relatedTarget)&&(fe.resetDragState(),fe.currentMouseOverDroppableNodeKey=null);var yt=fe.props.onDragLeave;yt==null||yt({event:nt,node:(0,Pe.F)(mt)})}),(0,se.Z)((0,ge.Z)(fe),"onWindowDragEnd",function(nt){fe.onNodeDragEnd(nt,null,!0),window.removeEventListener("dragend",fe.onWindowDragEnd)}),(0,se.Z)((0,ge.Z)(fe),"onNodeDragEnd",function(nt,mt){var yt=fe.props.onDragEnd;fe.setState({dragOverNodeKey:null}),fe.cleanDragState(),yt==null||yt({event:nt,node:(0,Pe.F)(mt)}),fe.dragNodeProps=null,window.removeEventListener("dragend",fe.onWindowDragEnd)}),(0,se.Z)((0,ge.Z)(fe),"onNodeDrop",function(nt,mt){var yt,St=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1,Qe=fe.state,st=Qe.dragChildrenKeys,en=Qe.dropPosition,Kt=Qe.dropTargetKey,vn=Qe.dropTargetPos,nn=Qe.dropAllowed;if(nn){var Yt=fe.props.onDrop;if(fe.setState({dragOverNodeKey:null}),fe.cleanDragState(),Kt!==null){var Jt=(0,pe.Z)((0,pe.Z)({},(0,Pe.H8)(Kt,fe.getTreeNodeRequiredProps())),{},{active:((yt=fe.getActiveItem())===null||yt===void 0?void 0:yt.key)===Kt,data:(0,Xt.Z)(fe.state.keyEntities,Kt).node}),cn=st.includes(Kt);(0,be.ZP)(!cn,"Can not drop to dragNode's children node. This is a bug of rc-tree. Please report an issue.");var bt=(0,Nt.yx)(vn),zt={event:nt,node:(0,Pe.F)(Jt),dragNode:fe.dragNodeProps?(0,Pe.F)(fe.dragNodeProps):null,dragNodesKeys:[fe.dragNodeProps.eventKey].concat(st),dropToGap:en!==0,dropPosition:en+Number(bt[bt.length-1])};St||Yt==null||Yt(zt),fe.dragNodeProps=null}}}),(0,se.Z)((0,ge.Z)(fe),"cleanDragState",function(){var nt=fe.state.draggingNodeKey;nt!==null&&fe.setState({draggingNodeKey:null,dropPosition:null,dropContainerKey:null,dropTargetKey:null,dropLevelOffset:null,dropAllowed:!0,dragOverNodeKey:null}),fe.dragStartMousePosition=null,fe.currentMouseOverDroppableNodeKey=null}),(0,se.Z)((0,ge.Z)(fe),"triggerExpandActionExpand",function(nt,mt){var yt=fe.state,St=yt.expandedKeys,Qe=yt.flattenNodes,st=mt.expanded,en=mt.key,Kt=mt.isLeaf;if(!(Kt||nt.shiftKey||nt.metaKey||nt.ctrlKey)){var vn=Qe.filter(function(Yt){return Yt.key===en})[0],nn=(0,Pe.F)((0,pe.Z)((0,pe.Z)({},(0,Pe.H8)(en,fe.getTreeNodeRequiredProps())),{},{data:vn.data}));fe.setExpandedKeys(st?(0,Nt._5)(St,en):(0,Nt.L0)(St,en)),fe.onNodeExpand(nt,nn)}}),(0,se.Z)((0,ge.Z)(fe),"onNodeClick",function(nt,mt){var yt=fe.props,St=yt.onClick,Qe=yt.expandAction;Qe==="click"&&fe.triggerExpandActionExpand(nt,mt),St==null||St(nt,mt)}),(0,se.Z)((0,ge.Z)(fe),"onNodeDoubleClick",function(nt,mt){var yt=fe.props,St=yt.onDoubleClick,Qe=yt.expandAction;Qe==="doubleClick"&&fe.triggerExpandActionExpand(nt,mt),St==null||St(nt,mt)}),(0,se.Z)((0,ge.Z)(fe),"onNodeSelect",function(nt,mt){var yt=fe.state.selectedKeys,St=fe.state,Qe=St.keyEntities,st=St.fieldNames,en=fe.props,Kt=en.onSelect,vn=en.multiple,nn=mt.selected,Yt=mt[st.key],Jt=!nn;Jt?vn?yt=(0,Nt.L0)(yt,Yt):yt=[Yt]:yt=(0,Nt._5)(yt,Yt);var cn=yt.map(function(bt){var zt=(0,Xt.Z)(Qe,bt);return zt?zt.node:null}).filter(Boolean);fe.setUncontrolledState({selectedKeys:yt}),Kt==null||Kt(yt,{event:"select",selected:Jt,node:mt,selectedNodes:cn,nativeEvent:nt.nativeEvent})}),(0,se.Z)((0,ge.Z)(fe),"onNodeCheck",function(nt,mt,yt){var St=fe.state,Qe=St.keyEntities,st=St.checkedKeys,en=St.halfCheckedKeys,Kt=fe.props,vn=Kt.checkStrictly,nn=Kt.onCheck,Yt=mt.key,Jt,cn={event:"check",node:mt,checked:yt,nativeEvent:nt.nativeEvent};if(vn){var bt=yt?(0,Nt.L0)(st,Yt):(0,Nt._5)(st,Yt),zt=(0,Nt._5)(en,Yt);Jt={checked:bt,halfChecked:zt},cn.checkedNodes=bt.map(function(dn){return(0,Xt.Z)(Qe,dn)}).filter(Boolean).map(function(dn){return dn.node}),fe.setUncontrolledState({checkedKeys:bt})}else{var un=(0,xt.S)([].concat((0,ze.Z)(st),[Yt]),!0,Qe),Cn=un.checkedKeys,ct=un.halfCheckedKeys;if(!yt){var Zt=new Set(Cn);Zt.delete(Yt);var wt=(0,xt.S)(Array.from(Zt),{checked:!1,halfCheckedKeys:ct},Qe);Cn=wt.checkedKeys,ct=wt.halfCheckedKeys}Jt=Cn,cn.checkedNodes=[],cn.checkedNodesPositions=[],cn.halfCheckedKeys=ct,Cn.forEach(function(dn){var wn=(0,Xt.Z)(Qe,dn);if(wn){var Un=wn.node,er=wn.pos;cn.checkedNodes.push(Un),cn.checkedNodesPositions.push({node:Un,pos:er})}}),fe.setUncontrolledState({checkedKeys:Cn},!1,{halfCheckedKeys:ct})}nn==null||nn(Jt,cn)}),(0,se.Z)((0,ge.Z)(fe),"onNodeLoad",function(nt){var mt,yt=nt.key,St=fe.state.keyEntities,Qe=(0,Xt.Z)(St,yt);if(!(Qe!=null&&(mt=Qe.children)!==null&&mt!==void 0&&mt.length)){var st=new Promise(function(en,Kt){fe.setState(function(vn){var nn=vn.loadedKeys,Yt=nn===void 0?[]:nn,Jt=vn.loadingKeys,cn=Jt===void 0?[]:Jt,bt=fe.props,zt=bt.loadData,un=bt.onLoad;if(!zt||Yt.includes(yt)||cn.includes(yt))return null;var Cn=zt(nt);return Cn.then(function(){var ct=fe.state.loadedKeys,Zt=(0,Nt.L0)(ct,yt);un==null||un(Zt,{event:"load",node:nt}),fe.setUncontrolledState({loadedKeys:Zt}),fe.setState(function(wt){return{loadingKeys:(0,Nt._5)(wt.loadingKeys,yt)}}),en()}).catch(function(ct){if(fe.setState(function(wt){return{loadingKeys:(0,Nt._5)(wt.loadingKeys,yt)}}),fe.loadingRetryTimes[yt]=(fe.loadingRetryTimes[yt]||0)+1,fe.loadingRetryTimes[yt]>=Wt){var Zt=fe.state.loadedKeys;(0,be.ZP)(!1,"Retry for `loadData` many times but still failed. No more retry."),fe.setUncontrolledState({loadedKeys:(0,Nt.L0)(Zt,yt)}),en()}Kt(ct)}),{loadingKeys:(0,Nt.L0)(cn,yt)}})});return st.catch(function(){}),st}}),(0,se.Z)((0,ge.Z)(fe),"onNodeMouseEnter",function(nt,mt){var yt=fe.props.onMouseEnter;yt==null||yt({event:nt,node:mt})}),(0,se.Z)((0,ge.Z)(fe),"onNodeMouseLeave",function(nt,mt){var yt=fe.props.onMouseLeave;yt==null||yt({event:nt,node:mt})}),(0,se.Z)((0,ge.Z)(fe),"onNodeContextMenu",function(nt,mt){var yt=fe.props.onRightClick;yt&&(nt.preventDefault(),yt({event:nt,node:mt}))}),(0,se.Z)((0,ge.Z)(fe),"onFocus",function(){var nt=fe.props.onFocus;fe.setState({focused:!0});for(var mt=arguments.length,yt=new Array(mt),St=0;St<mt;St++)yt[St]=arguments[St];nt==null||nt.apply(void 0,yt)}),(0,se.Z)((0,ge.Z)(fe),"onBlur",function(){var nt=fe.props.onBlur;fe.setState({focused:!1}),fe.onActiveChange(null);for(var mt=arguments.length,yt=new Array(mt),St=0;St<mt;St++)yt[St]=arguments[St];nt==null||nt.apply(void 0,yt)}),(0,se.Z)((0,ge.Z)(fe),"getTreeNodeRequiredProps",function(){var nt=fe.state,mt=nt.expandedKeys,yt=nt.selectedKeys,St=nt.loadedKeys,Qe=nt.loadingKeys,st=nt.checkedKeys,en=nt.halfCheckedKeys,Kt=nt.dragOverNodeKey,vn=nt.dropPosition,nn=nt.keyEntities;return{expandedKeys:mt||[],selectedKeys:yt||[],loadedKeys:St||[],loadingKeys:Qe||[],checkedKeys:st||[],halfCheckedKeys:en||[],dragOverNodeKey:Kt,dropPosition:vn,keyEntities:nn}}),(0,se.Z)((0,ge.Z)(fe),"setExpandedKeys",function(nt){var mt=fe.state,yt=mt.treeData,St=mt.fieldNames,Qe=(0,Pe.oH)(yt,nt,St);fe.setUncontrolledState({expandedKeys:nt,flattenNodes:Qe},!0)}),(0,se.Z)((0,ge.Z)(fe),"onNodeExpand",function(nt,mt){var yt=fe.state.expandedKeys,St=fe.state,Qe=St.listChanging,st=St.fieldNames,en=fe.props,Kt=en.onExpand,vn=en.loadData,nn=mt.expanded,Yt=mt[st.key];if(!Qe){var Jt=yt.includes(Yt),cn=!nn;if((0,be.ZP)(nn&&Jt||!nn&&!Jt,"Expand state not sync with index check"),yt=cn?(0,Nt.L0)(yt,Yt):(0,Nt._5)(yt,Yt),fe.setExpandedKeys(yt),Kt==null||Kt(yt,{node:mt,expanded:cn,nativeEvent:nt.nativeEvent}),cn&&vn){var bt=fe.onNodeLoad(mt);bt&&bt.then(function(){var zt=(0,Pe.oH)(fe.state.treeData,yt,st);fe.setUncontrolledState({flattenNodes:zt})}).catch(function(){var zt=fe.state.expandedKeys,un=(0,Nt._5)(zt,Yt);fe.setExpandedKeys(un)})}}}),(0,se.Z)((0,ge.Z)(fe),"onListChangeStart",function(){fe.setUncontrolledState({listChanging:!0})}),(0,se.Z)((0,ge.Z)(fe),"onListChangeEnd",function(){setTimeout(function(){fe.setUncontrolledState({listChanging:!1})})}),(0,se.Z)((0,ge.Z)(fe),"onActiveChange",function(nt){var mt=fe.state.activeKey,yt=fe.props,St=yt.onActiveChange,Qe=yt.itemScrollOffset,st=Qe===void 0?0:Qe;mt!==nt&&(fe.setState({activeKey:nt}),nt!==null&&fe.scrollTo({key:nt,offset:st}),St==null||St(nt))}),(0,se.Z)((0,ge.Z)(fe),"getActiveItem",function(){var nt=fe.state,mt=nt.activeKey,yt=nt.flattenNodes;return mt===null?null:yt.find(function(St){var Qe=St.key;return Qe===mt})||null}),(0,se.Z)((0,ge.Z)(fe),"offsetActiveKey",function(nt){var mt=fe.state,yt=mt.flattenNodes,St=mt.activeKey,Qe=yt.findIndex(function(Kt){var vn=Kt.key;return vn===St});Qe===-1&&nt<0&&(Qe=yt.length),Qe=(Qe+nt+yt.length)%yt.length;var st=yt[Qe];if(st){var en=st.key;fe.onActiveChange(en)}else fe.onActiveChange(null)}),(0,se.Z)((0,ge.Z)(fe),"onKeyDown",function(nt){var mt=fe.state,yt=mt.activeKey,St=mt.expandedKeys,Qe=mt.checkedKeys,st=mt.fieldNames,en=fe.props,Kt=en.onKeyDown,vn=en.checkable,nn=en.selectable;switch(nt.which){case Ne.Z.UP:{fe.offsetActiveKey(-1),nt.preventDefault();break}case Ne.Z.DOWN:{fe.offsetActiveKey(1),nt.preventDefault();break}}var Yt=fe.getActiveItem();if(Yt&&Yt.data){var Jt=fe.getTreeNodeRequiredProps(),cn=Yt.data.isLeaf===!1||!!(Yt.data[st.children]||[]).length,bt=(0,Pe.F)((0,pe.Z)((0,pe.Z)({},(0,Pe.H8)(yt,Jt)),{},{data:Yt.data,active:!0}));switch(nt.which){case Ne.Z.LEFT:{cn&&St.includes(yt)?fe.onNodeExpand({},bt):Yt.parent&&fe.onActiveChange(Yt.parent.key),nt.preventDefault();break}case Ne.Z.RIGHT:{cn&&!St.includes(yt)?fe.onNodeExpand({},bt):Yt.children&&Yt.children.length&&fe.onActiveChange(Yt.children[0].key),nt.preventDefault();break}case Ne.Z.ENTER:case Ne.Z.SPACE:{vn&&!bt.disabled&&bt.checkable!==!1&&!bt.disableCheckbox?fe.onNodeCheck({},bt,!Qe.includes(yt)):!vn&&nn&&!bt.disabled&&bt.selectable!==!1&&fe.onNodeSelect({},bt);break}}}Kt==null||Kt(nt)}),(0,se.Z)((0,ge.Z)(fe),"setUncontrolledState",function(nt){var mt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,yt=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null;if(!fe.destroyed){var St=!1,Qe=!0,st={};Object.keys(nt).forEach(function(en){if(fe.props.hasOwnProperty(en)){Qe=!1;return}St=!0,st[en]=nt[en]}),St&&(!mt||Qe)&&fe.setState((0,pe.Z)((0,pe.Z)({},st),yt))}}),(0,se.Z)((0,ge.Z)(fe),"scrollTo",function(nt){fe.listRef.current.scrollTo(nt)}),fe}return(0,Fe.Z)(re,[{key:"componentDidMount",value:function(){this.destroyed=!1,this.onUpdated()}},{key:"componentDidUpdate",value:function(){this.onUpdated()}},{key:"onUpdated",value:function(){var Ye=this.props,vt=Ye.activeKey,et=Ye.itemScrollOffset,nt=et===void 0?0:et;vt!==void 0&&vt!==this.state.activeKey&&(this.setState({activeKey:vt}),vt!==null&&this.scrollTo({key:vt,offset:nt}))}},{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 Ye=this.state,vt=Ye.focused,et=Ye.flattenNodes,nt=Ye.keyEntities,mt=Ye.draggingNodeKey,yt=Ye.activeKey,St=Ye.dropLevelOffset,Qe=Ye.dropContainerKey,st=Ye.dropTargetKey,en=Ye.dropPosition,Kt=Ye.dragOverNodeKey,vn=Ye.indent,nn=this.props,Yt=nn.prefixCls,Jt=nn.className,cn=nn.style,bt=nn.showLine,zt=nn.focusable,un=nn.tabIndex,Cn=un===void 0?0:un,ct=nn.selectable,Zt=nn.showIcon,wt=nn.icon,dn=nn.switcherIcon,wn=nn.draggable,Un=nn.checkable,er=nn.checkStrictly,lr=nn.disabled,Rn=nn.motion,Qn=nn.loadData,Vt=nn.filterTreeNode,Lt=nn.height,sn=nn.itemHeight,an=nn.scrollWidth,tn=nn.virtual,Bn=nn.titleRender,xn=nn.dropIndicatorRender,jn=nn.onContextMenu,nr=nn.onScroll,Gn=nn.direction,Ln=nn.rootClassName,mr=nn.rootStyle,ir=(0,we.Z)(this.props,{aria:!0,data:!0}),jr;wn&&((0,Ae.Z)(wn)==="object"?jr=wn:typeof wn=="function"?jr={nodeDraggable:wn}:jr={});var Nr={prefixCls:Yt,selectable:ct,showIcon:Zt,icon:wt,switcherIcon:dn,draggable:jr,draggingNodeKey:mt,checkable:Un,checkStrictly:er,disabled:lr,keyEntities:nt,dropLevelOffset:St,dropContainerKey:Qe,dropTargetKey:st,dropPosition:en,dragOverNodeKey:Kt,indent:vn,direction:Gn,dropIndicatorRender:xn,loadData:Qn,filterTreeNode:Vt,titleRender:Bn,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 he.createElement(ce.k.Provider,{value:Nr},he.createElement("div",{className:me()(Yt,Jt,Ln,(0,se.Z)((0,se.Z)((0,se.Z)({},"".concat(Yt,"-show-line"),bt),"".concat(Yt,"-focused"),vt),"".concat(Yt,"-active-focused"),yt!==null)),style:mr},he.createElement(ft,(0,y.Z)({ref:this.listRef,prefixCls:Yt,style:cn,data:et,disabled:lr,selectable:ct,checkable:!!Un,motion:Rn,dragging:mt!==null,height:Lt,itemHeight:sn,virtual:tn,focusable:zt,focused:vt,tabIndex:Cn,activeItem:this.getActiveItem(),onFocus:this.onFocus,onBlur:this.onBlur,onKeyDown:this.onKeyDown,onActiveChange:this.onActiveChange,onListChangeStart:this.onListChangeStart,onListChangeEnd:this.onListChangeEnd,onContextMenu:jn,onScroll:nr,scrollWidth:an},this.getTreeNodeRequiredProps(),ir))))}}],[{key:"getDerivedStateFromProps",value:function(Ye,vt){var et=vt.prevProps,nt={prevProps:Ye};function mt(Cn){return!et&&Ye.hasOwnProperty(Cn)||et&&et[Cn]!==Ye[Cn]}var yt,St=vt.fieldNames;if(mt("fieldNames")&&(St=(0,Pe.w$)(Ye.fieldNames),nt.fieldNames=St),mt("treeData")?yt=Ye.treeData:mt("children")&&((0,be.ZP)(!1,"`children` of Tree is deprecated. Please use `treeData` instead."),yt=(0,Pe.zn)(Ye.children)),yt){nt.treeData=yt;var Qe=(0,Pe.I8)(yt,{fieldNames:St});nt.keyEntities=(0,pe.Z)((0,se.Z)({},Se,It),Qe.keyEntities)}var st=nt.keyEntities||vt.keyEntities;if(mt("expandedKeys")||et&&mt("autoExpandParent"))nt.expandedKeys=Ye.autoExpandParent||!et&&Ye.defaultExpandParent?(0,Nt.r7)(Ye.expandedKeys,st):Ye.expandedKeys;else if(!et&&Ye.defaultExpandAll){var en=(0,pe.Z)({},st);delete en[Se];var Kt=[];Object.keys(en).forEach(function(Cn){var ct=en[Cn];ct.children&&ct.children.length&&Kt.push(ct.key)}),nt.expandedKeys=Kt}else!et&&Ye.defaultExpandedKeys&&(nt.expandedKeys=Ye.autoExpandParent||Ye.defaultExpandParent?(0,Nt.r7)(Ye.defaultExpandedKeys,st):Ye.defaultExpandedKeys);if(nt.expandedKeys||delete nt.expandedKeys,yt||nt.expandedKeys){var vn=(0,Pe.oH)(yt||vt.treeData,nt.expandedKeys||vt.expandedKeys,St);nt.flattenNodes=vn}if(Ye.selectable&&(mt("selectedKeys")?nt.selectedKeys=(0,Nt.BT)(Ye.selectedKeys,Ye):!et&&Ye.defaultSelectedKeys&&(nt.selectedKeys=(0,Nt.BT)(Ye.defaultSelectedKeys,Ye))),Ye.checkable){var nn;if(mt("checkedKeys")?nn=(0,Nt.E6)(Ye.checkedKeys)||{}:!et&&Ye.defaultCheckedKeys?nn=(0,Nt.E6)(Ye.defaultCheckedKeys)||{}:yt&&(nn=(0,Nt.E6)(Ye.checkedKeys)||{checkedKeys:vt.checkedKeys,halfCheckedKeys:vt.halfCheckedKeys}),nn){var Yt=nn,Jt=Yt.checkedKeys,cn=Jt===void 0?[]:Jt,bt=Yt.halfCheckedKeys,zt=bt===void 0?[]:bt;if(!Ye.checkStrictly){var un=(0,xt.S)(cn,!0,st);cn=un.checkedKeys,zt=un.halfCheckedKeys}nt.checkedKeys=cn,nt.halfCheckedKeys=zt}}return mt("loadedKeys")&&(nt.loadedKeys=Ye.loadedKeys),nt}}]),re}(he.Component);(0,se.Z)(de,"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)(de,"TreeNode",ye.Z);var ne=de,te=ne},82661:function(mn,Ct,E){"use strict";E.d(Ct,{BT:function(){return he},E6:function(){return Ze},L0:function(){return se},OM:function(){return be},_5:function(){return De},r7:function(){return $e},wA:function(){return me},yx:function(){return Ue}});var y=E(77654),Ae=E(43749),pe=E(48736),ze=E(59301),Ce=E(639),Fe=E(65065),ge=E(34061),je=null;function De(oe,Be){if(!oe)return[];var tt=oe.slice(),Re=tt.indexOf(Be);return Re>=0&&tt.splice(Re,1),tt}function se(oe,Be){var tt=(oe||[]).slice();return tt.indexOf(Be)===-1&&tt.push(Be),tt}function Ue(oe){return oe.split("-")}function me(oe,Be){var tt=[],Re=(0,Fe.Z)(Be,oe);function _e(){var ye=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];ye.forEach(function(Le){var Ve=Le.key,Pe=Le.children;tt.push(Ve),_e(Pe)})}return _e(Re.children),tt}function Ne(oe){if(oe.parent){var Be=Ue(oe.pos);return Number(Be[Be.length-1])===oe.parent.children.length-1}return!1}function we(oe){var Be=Ue(oe.pos);return Number(Be[Be.length-1])===0}function be(oe,Be,tt,Re,_e,ye,Le,Ve,Pe,it){var Oe,ue=oe.clientX,Xe=oe.clientY,Ge=oe.target.getBoundingClientRect(),lt=Ge.top,Tt=Ge.height,Ke=(it==="rtl"?-1:1)*(((_e==null?void 0:_e.x)||0)-ue),Se=(Ke-12)/Re,Ft=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}),It=(0,Fe.Z)(Ve,tt.eventKey);if(Xe<lt+Tt/2){var ut=Le.findIndex(function(te){return te.key===It.key}),xe=ut<=0?0:ut-1,ke=Le[xe].key;It=(0,Fe.Z)(Ve,ke)}var at=It.key,Rt=It,ft=It.key,Nt=0,xt=0;if(!Ft.includes(at))for(var Xt=0;Xt<Se&&Ne(It);Xt+=1)It=It.parent,xt+=1;var Wt=Be.data,de=It.node,ne=!0;return we(It)&&It.level===0&&Xe<lt+Tt/2&&ye({dragNode:Wt,dropNode:de,dropPosition:-1})&&It.key===tt.eventKey?Nt=-1:(Rt.children||[]).length&&Ft.includes(ft)?ye({dragNode:Wt,dropNode:de,dropPosition:0})?Nt=0:ne=!1:xt===0?Se>-1.5?ye({dragNode:Wt,dropNode:de,dropPosition:1})?Nt=1:ne=!1:ye({dragNode:Wt,dropNode:de,dropPosition:0})?Nt=0:ye({dragNode:Wt,dropNode:de,dropPosition:1})?Nt=1:ne=!1:ye({dragNode:Wt,dropNode:de,dropPosition:1})?Nt=1:ne=!1,{dropPosition:Nt,dropLevelOffset:xt,dropTargetKey:It.key,dropTargetPos:It.pos,dragOverNodeKey:ft,dropContainerKey:Nt===0?null:((Oe=It.parent)===null||Oe===void 0?void 0:Oe.key)||null,dropAllowed:ne}}function he(oe,Be){if(oe){var tt=Be.multiple;return tt?oe.slice():oe.length?[oe[0]]:oe}}var ce=function(Be){return Be};function Ie(oe,Be){if(!oe)return[];var tt=Be||{},Re=tt.processProps,_e=Re===void 0?ce:Re,ye=Array.isArray(oe)?oe:[oe];return ye.map(function(Le){var Ve=Le.children,Pe=_objectWithoutProperties(Le,je),it=Ie(Ve,Be);return React.createElement(TreeNode,_extends({key:Pe.key},_e(Pe)),it)})}function Ze(oe){if(!oe)return null;var Be;if(Array.isArray(oe))Be={checkedKeys:oe,halfCheckedKeys:void 0};else if((0,Ae.Z)(oe)==="object")Be={checkedKeys:oe.checked||void 0,halfCheckedKeys:oe.halfChecked||void 0};else return(0,pe.ZP)(!1,"`checkedKeys` is not an array or an object"),null;return Be}function $e(oe,Be){var tt=new Set;function Re(_e){if(!tt.has(_e)){var ye=(0,Fe.Z)(Be,_e);if(ye){tt.add(_e);var Le=ye.parent,Ve=ye.node;Ve.disabled||Le&&Re(Le.key)}}}return(oe||[]).forEach(function(_e){Re(_e)}),(0,y.Z)(tt)}},34643:function(mn,Ct,E){"use strict";E.d(Ct,{S:function(){return ge}});var y=E(48736),Ae=E(65065);function pe(je,De){var se=new Set;return je.forEach(function(Ue){De.has(Ue)||se.add(Ue)}),se}function ze(je){var De=je||{},se=De.disabled,Ue=De.disableCheckbox,me=De.checkable;return!!(se||Ue)||me===!1}function Ce(je,De,se,Ue){for(var me=new Set(je),Ne=new Set,we=0;we<=se;we+=1){var be=De.get(we)||new Set;be.forEach(function(Ze){var $e=Ze.key,oe=Ze.node,Be=Ze.children,tt=Be===void 0?[]:Be;me.has($e)&&!Ue(oe)&&tt.filter(function(Re){return!Ue(Re.node)}).forEach(function(Re){me.add(Re.key)})})}for(var he=new Set,ce=se;ce>=0;ce-=1){var Ie=De.get(ce)||new Set;Ie.forEach(function(Ze){var $e=Ze.parent,oe=Ze.node;if(!(Ue(oe)||!Ze.parent||he.has(Ze.parent.key))){if(Ue(Ze.parent.node)){he.add($e.key);return}var Be=!0,tt=!1;($e.children||[]).filter(function(Re){return!Ue(Re.node)}).forEach(function(Re){var _e=Re.key,ye=me.has(_e);Be&&!ye&&(Be=!1),!tt&&(ye||Ne.has(_e))&&(tt=!0)}),Be&&me.add($e.key),tt&&Ne.add($e.key),he.add($e.key)}})}return{checkedKeys:Array.from(me),halfCheckedKeys:Array.from(pe(Ne,me))}}function Fe(je,De,se,Ue,me){for(var Ne=new Set(je),we=new Set(De),be=0;be<=Ue;be+=1){var he=se.get(be)||new Set;he.forEach(function($e){var oe=$e.key,Be=$e.node,tt=$e.children,Re=tt===void 0?[]:tt;!Ne.has(oe)&&!we.has(oe)&&!me(Be)&&Re.filter(function(_e){return!me(_e.node)}).forEach(function(_e){Ne.delete(_e.key)})})}we=new Set;for(var ce=new Set,Ie=Ue;Ie>=0;Ie-=1){var Ze=se.get(Ie)||new Set;Ze.forEach(function($e){var oe=$e.parent,Be=$e.node;if(!(me(Be)||!$e.parent||ce.has($e.parent.key))){if(me($e.parent.node)){ce.add(oe.key);return}var tt=!0,Re=!1;(oe.children||[]).filter(function(_e){return!me(_e.node)}).forEach(function(_e){var ye=_e.key,Le=Ne.has(ye);tt&&!Le&&(tt=!1),!Re&&(Le||we.has(ye))&&(Re=!0)}),tt||Ne.delete(oe.key),Re&&we.add(oe.key),ce.add(oe.key)}})}return{checkedKeys:Array.from(Ne),halfCheckedKeys:Array.from(pe(we,Ne))}}function ge(je,De,se,Ue){var me=[],Ne;Ue?Ne=Ue:Ne=ze;var we=new Set(je.filter(function(Ie){var Ze=!!(0,Ae.Z)(se,Ie);return Ze||me.push(Ie),Ze})),be=new Map,he=0;Object.keys(se).forEach(function(Ie){var Ze=se[Ie],$e=Ze.level,oe=be.get($e);oe||(oe=new Set,be.set($e,oe)),oe.add(Ze),he=Math.max(he,$e)}),(0,y.ZP)(!me.length,"Tree missing follow keys: ".concat(me.slice(0,100).map(function(Ie){return"'".concat(Ie,"'")}).join(", ")));var ce;return De===!0?ce=Ce(we,be,he,Ne):ce=Fe(we,De.halfCheckedKeys,be,he,Ne),ce}},65065:function(mn,Ct,E){"use strict";E.d(Ct,{Z:function(){return y}});function y(Ae,pe){return Ae[pe]}},34061:function(mn,Ct,E){"use strict";E.d(Ct,{F:function(){return $e},H8:function(){return Ze},I8:function(){return Ie},km:function(){return me},oH:function(){return he},w$:function(){return Ne},zn:function(){return be}});var y=E(43749),Ae=E(77654),pe=E(85899),ze=E(42244),Ce=E(11592),Fe=E(2738),ge=E(48736),je=E(65065),De=["children"];function se(oe,Be){return"".concat(oe,"-").concat(Be)}function Ue(oe){return oe&&oe.type&&oe.type.isTreeNode}function me(oe,Be){return oe!=null?oe:Be}function Ne(oe){var Be=oe||{},tt=Be.title,Re=Be._title,_e=Be.key,ye=Be.children,Le=tt||"title";return{title:Le,_title:Re||[Le],key:_e||"key",children:ye||"children"}}function we(oe,Be){var tt=new Map;function Re(_e){var ye=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";(_e||[]).forEach(function(Le){var Ve=Le[Be.key],Pe=Le[Be.children];warning(Ve!=null,"Tree node must have a certain key: [".concat(ye).concat(Ve,"]"));var it=String(Ve);warning(!tt.has(it)||Ve===null||Ve===void 0,"Same 'key' exist in the Tree: ".concat(it)),tt.set(it,!0),Re(Pe,"".concat(ye).concat(it," > "))})}Re(oe)}function be(oe){function Be(tt){var Re=(0,Ce.Z)(tt);return Re.map(function(_e){if(!Ue(_e))return(0,ge.ZP)(!_e,"Tree/TreeNode can only accept TreeNode as children."),null;var ye=_e.key,Le=_e.props,Ve=Le.children,Pe=(0,ze.Z)(Le,De),it=(0,pe.Z)({key:ye},Pe),Oe=Be(Ve);return Oe.length&&(it.children=Oe),it}).filter(function(_e){return _e})}return Be(oe)}function he(oe,Be,tt){var Re=Ne(tt),_e=Re._title,ye=Re.key,Le=Re.children,Ve=new Set(Be===!0?[]:Be),Pe=[];function it(Oe){var ue=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;return Oe.map(function(Xe,Ge){for(var lt=se(ue?ue.pos:"0",Ge),Tt=me(Xe[ye],lt),Ke,Se=0;Se<_e.length;Se+=1){var Ft=_e[Se];if(Xe[Ft]!==void 0){Ke=Xe[Ft];break}}var It=Object.assign((0,Fe.Z)(Xe,[].concat((0,Ae.Z)(_e),[ye,Le])),{title:Ke,key:Tt,parent:ue,pos:lt,children:null,data:Xe,isStart:[].concat((0,Ae.Z)(ue?ue.isStart:[]),[Ge===0]),isEnd:[].concat((0,Ae.Z)(ue?ue.isEnd:[]),[Ge===Oe.length-1])});return Pe.push(It),Be===!0||Ve.has(Tt)?It.children=it(Xe[Le]||[],It):It.children=[],It})}return it(oe),Pe}function ce(oe,Be,tt){var Re={};(0,y.Z)(tt)==="object"?Re=tt:Re={externalGetKey:tt},Re=Re||{};var _e=Re,ye=_e.childrenPropName,Le=_e.externalGetKey,Ve=_e.fieldNames,Pe=Ne(Ve),it=Pe.key,Oe=Pe.children,ue=ye||Oe,Xe;Le?typeof Le=="string"?Xe=function(Tt){return Tt[Le]}:typeof Le=="function"&&(Xe=function(Tt){return Le(Tt)}):Xe=function(Tt,Ke){return me(Tt[it],Ke)};function Ge(lt,Tt,Ke,Se){var Ft=lt?lt[ue]:oe,It=lt?se(Ke.pos,Tt):"0",ut=lt?[].concat((0,Ae.Z)(Se),[lt]):[];if(lt){var xe=Xe(lt,It),ke={node:lt,index:Tt,pos:It,key:xe,parentPos:Ke.node?Ke.pos:null,level:Ke.level+1,nodes:ut};Be(ke)}Ft&&Ft.forEach(function(at,Rt){Ge(at,Rt,{node:lt,pos:It,level:Ke?Ke.level+1:-1},ut)})}Ge(null)}function Ie(oe){var Be=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},tt=Be.initWrapper,Re=Be.processEntity,_e=Be.onProcessFinished,ye=Be.externalGetKey,Le=Be.childrenPropName,Ve=Be.fieldNames,Pe=arguments.length>2?arguments[2]:void 0,it=ye||Pe,Oe={},ue={},Xe={posEntities:Oe,keyEntities:ue};return tt&&(Xe=tt(Xe)||Xe),ce(oe,function(Ge){var lt=Ge.node,Tt=Ge.index,Ke=Ge.pos,Se=Ge.key,Ft=Ge.parentPos,It=Ge.level,ut=Ge.nodes,xe={node:lt,nodes:ut,index:Tt,key:Se,pos:Ke,level:It},ke=me(Se,Ke);Oe[Ke]=xe,ue[ke]=xe,xe.parent=Oe[Ft],xe.parent&&(xe.parent.children=xe.parent.children||[],xe.parent.children.push(xe)),Re&&Re(xe,Xe)},{externalGetKey:it,childrenPropName:Le,fieldNames:Ve}),_e&&_e(Xe),Xe}function Ze(oe,Be){var tt=Be.expandedKeys,Re=Be.selectedKeys,_e=Be.loadedKeys,ye=Be.loadingKeys,Le=Be.checkedKeys,Ve=Be.halfCheckedKeys,Pe=Be.dragOverNodeKey,it=Be.dropPosition,Oe=Be.keyEntities,ue=(0,je.Z)(Oe,oe),Xe={eventKey:oe,expanded:tt.indexOf(oe)!==-1,selected:Re.indexOf(oe)!==-1,loaded:_e.indexOf(oe)!==-1,loading:ye.indexOf(oe)!==-1,checked:Le.indexOf(oe)!==-1,halfChecked:Ve.indexOf(oe)!==-1,pos:String(ue?ue.pos:""),dragOver:Pe===oe&&it===0,dragOverGapTop:Pe===oe&&it===-1,dragOverGapBottom:Pe===oe&&it===1};return Xe}function $e(oe){var Be=oe.data,tt=oe.expanded,Re=oe.selected,_e=oe.checked,ye=oe.loaded,Le=oe.loading,Ve=oe.halfChecked,Pe=oe.dragOver,it=oe.dragOverGapTop,Oe=oe.dragOverGapBottom,ue=oe.pos,Xe=oe.active,Ge=oe.eventKey,lt=(0,pe.Z)((0,pe.Z)({},Be),{},{expanded:tt,selected:Re,checked:_e,loaded:ye,loading:Le,halfChecked:Ve,dragOver:Pe,dragOverGapTop:it,dragOverGapBottom:Oe,pos:ue,active:Xe,key:Ge});return"props"in lt||Object.defineProperty(lt,"props",{get:function(){return(0,ge.ZP)(!1,"Second param return from event is node data instead of TreeNode instance. Please read value directly instead of reading from `props`."),oe}}),lt}},8224:function(mn,Ct,E){"use strict";E.d(Ct,{Z:function(){return Ae}});var y=E(4676);function Ae(pe,ze,Ce,Fe){var ge=y.unstable_batchedUpdates?function(De){y.unstable_batchedUpdates(Ce,De)}:Ce;return pe!=null&&pe.addEventListener&&pe.addEventListener(ze,ge,Fe),{remove:function(){pe!=null&&pe.removeEventListener&&pe.removeEventListener(ze,ge,Fe)}}}},24514:function(mn,Ct,E){"use strict";E.d(Ct,{G:function(){return ze}});var y=E(47273),Ae=function(Fe){if((0,y.Z)()&&window.document.documentElement){var ge=Array.isArray(Fe)?Fe:[Fe],je=window.document.documentElement;return ge.some(function(De){return De in je.style})}return!1},pe=function(Fe,ge){if(!Ae(Fe))return!1;var je=document.createElement("div"),De=je.style[Fe];return je.style[Fe]=ge,je.style[Fe]!==De};function ze(Ce,Fe){return!Array.isArray(Ce)&&Fe!==void 0?pe(Ce,Fe):Ae(Ce)}},48911:function(mn,Ct,E){"use strict";E.d(Ct,{Z:function(){return Wt}});var y=E(60499),Ae=E(43749),pe=E(85899),ze=E(18642),Ce=E(72190),Fe=E(42244),ge=E(92310),je=E.n(ge),De=E(29301),se=E(70425),Ue=E(34280),me=E(59301),Ne=E(4676),we=me.forwardRef(function(de,ne){var te=de.height,le=de.offsetY,ve=de.offsetX,re=de.children,fe=de.prefixCls,Ye=de.onInnerResize,vt=de.innerProps,et=de.rtl,nt=de.extra,mt={},yt={display:"flex",flexDirection:"column"};return le!==void 0&&(mt={height:te,position:"relative",overflow:"hidden"},yt=(0,pe.Z)((0,pe.Z)({},yt),{},(0,ze.Z)((0,ze.Z)((0,ze.Z)((0,ze.Z)((0,ze.Z)({transform:"translateY(".concat(le,"px)")},et?"marginRight":"marginLeft",-ve),"position","absolute"),"left",0),"right",0),"top",0))),me.createElement("div",{style:mt},me.createElement(De.Z,{onResize:function(Qe){var st=Qe.offsetHeight;st&&Ye&&Ye()}},me.createElement("div",(0,y.Z)({style:yt,className:je()((0,ze.Z)({},"".concat(fe,"-holder-inner"),fe)),ref:ne},vt),re,nt)))});we.displayName="Filler";var be=we;function he(de){var ne=de.children,te=de.setRef,le=me.useCallback(function(ve){te(ve)},[]);return me.cloneElement(ne,{ref:le})}function ce(de,ne,te,le,ve,re,fe,Ye){var vt=Ye.getKey;return de.slice(ne,te+1).map(function(et,nt){var mt=ne+nt,yt=fe(et,mt,{style:{width:le},offsetX:ve}),St=vt(et);return me.createElement(he,{key:St,setRef:function(st){return re(et,st)}},yt)})}function Ie(de,ne,te,le){var ve=te-de,re=ne-te,fe=Math.min(ve,re)*2;if(le<=fe){var Ye=Math.floor(le/2);return le%2?te+Ye+1:te-Ye}return ve>re?te-(le-re):te+(le-ve)}function Ze(de,ne,te){var le=de.length,ve=ne.length,re,fe;if(le===0&&ve===0)return null;le<ve?(re=de,fe=ne):(re=ne,fe=de);var Ye={__EMPTY_ITEM__:!0};function vt(Qe){return Qe!==void 0?te(Qe):Ye}for(var et=null,nt=Math.abs(le-ve)!==1,mt=0;mt<fe.length;mt+=1){var yt=vt(re[mt]),St=vt(fe[mt]);if(yt!==St){et=mt,nt=nt||yt!==vt(fe[mt+1]);break}}return et===null?null:{index:et,multiple:nt}}function $e(de,ne,te){var le=me.useState(de),ve=(0,Ce.Z)(le,2),re=ve[0],fe=ve[1],Ye=me.useState(null),vt=(0,Ce.Z)(Ye,2),et=vt[0],nt=vt[1];return me.useEffect(function(){var mt=Ze(re||[],de||[],ne);(mt==null?void 0:mt.index)!==void 0&&(te==null||te(mt.index),nt(de[mt.index])),fe(de)},[de]),[et]}var oe=E(16089),Be=(typeof navigator=="undefined"?"undefined":(0,Ae.Z)(navigator))==="object"&&/Firefox/i.test(navigator.userAgent),tt=Be,Re=function(de,ne,te,le){var ve=(0,me.useRef)(!1),re=(0,me.useRef)(null);function fe(){clearTimeout(re.current),ve.current=!0,re.current=setTimeout(function(){ve.current=!1},50)}var Ye=(0,me.useRef)({top:de,bottom:ne,left:te,right:le});return Ye.current.top=de,Ye.current.bottom=ne,Ye.current.left=te,Ye.current.right=le,function(vt,et){var nt=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1,mt=vt?et<0&&Ye.current.left||et>0&&Ye.current.right:et<0&&Ye.current.top||et>0&&Ye.current.bottom;return nt&&mt?(clearTimeout(re.current),ve.current=!1):(!mt||ve.current)&&fe(),!ve.current&&mt}};function _e(de,ne,te,le,ve,re,fe){var Ye=(0,me.useRef)(0),vt=(0,me.useRef)(null),et=(0,me.useRef)(null),nt=(0,me.useRef)(!1),mt=Re(ne,te,le,ve);function yt(vn,nn){if(oe.Z.cancel(vt.current),!mt(!1,nn)){var Yt=vn;if(!Yt._virtualHandled)Yt._virtualHandled=!0;else return;Ye.current+=nn,et.current=nn,tt||Yt.preventDefault(),vt.current=(0,oe.Z)(function(){var Jt=nt.current?10:1;fe(Ye.current*Jt,!1),Ye.current=0})}}function St(vn,nn){fe(nn,!0),tt||vn.preventDefault()}var Qe=(0,me.useRef)(null),st=(0,me.useRef)(null);function en(vn){if(de){oe.Z.cancel(st.current),st.current=(0,oe.Z)(function(){Qe.current=null},2);var nn=vn.deltaX,Yt=vn.deltaY,Jt=vn.shiftKey,cn=nn,bt=Yt;(Qe.current==="sx"||!Qe.current&&Jt&&Yt&&!nn)&&(cn=Yt,bt=0,Qe.current="sx");var zt=Math.abs(cn),un=Math.abs(bt);Qe.current===null&&(Qe.current=re&&zt>un?"x":"y"),Qe.current==="y"?yt(vn,bt):St(vn,cn)}}function Kt(vn){de&&(nt.current=vn.detail===et.current)}return[en,Kt]}function ye(de,ne,te,le){var ve=me.useMemo(function(){return[new Map,[]]},[de,te.id,le]),re=(0,Ce.Z)(ve,2),fe=re[0],Ye=re[1],vt=function(nt){var mt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:nt,yt=fe.get(nt),St=fe.get(mt);if(yt===void 0||St===void 0)for(var Qe=de.length,st=Ye.length;st<Qe;st+=1){var en,Kt=de[st],vn=ne(Kt);fe.set(vn,st);var nn=(en=te.get(vn))!==null&&en!==void 0?en:le;if(Ye[st]=(Ye[st-1]||0)+nn,vn===nt&&(yt=st),vn===mt&&(St=st),yt!==void 0&&St!==void 0)break}return{top:Ye[yt-1]||0,bottom:Ye[St]}};return vt}var Le=E(38705),Ve=E(17212),Pe=function(){function de(){(0,Le.Z)(this,de),(0,ze.Z)(this,"maps",void 0),(0,ze.Z)(this,"id",0),(0,ze.Z)(this,"diffRecords",new Map),this.maps=Object.create(null)}return(0,Ve.Z)(de,[{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}}]),de}(),it=Pe;function Oe(de){var ne=parseFloat(de);return isNaN(ne)?0:ne}function ue(de,ne,te){var le=me.useState(0),ve=(0,Ce.Z)(le,2),re=ve[0],fe=ve[1],Ye=(0,me.useRef)(new Map),vt=(0,me.useRef)(new it),et=(0,me.useRef)(0);function nt(){et.current+=1}function mt(){var St=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1;nt();var Qe=function(){var Kt=!1;Ye.current.forEach(function(vn,nn){if(vn&&vn.offsetParent){var Yt=vn.offsetHeight,Jt=getComputedStyle(vn),cn=Jt.marginTop,bt=Jt.marginBottom,zt=Oe(cn),un=Oe(bt),Cn=Yt+zt+un;vt.current.get(nn)!==Cn&&(vt.current.set(nn,Cn),Kt=!0)}}),Kt&&fe(function(vn){return vn+1})};if(St)Qe();else{et.current+=1;var st=et.current;Promise.resolve().then(function(){st===et.current&&Qe()})}}function yt(St,Qe){var st=de(St),en=Ye.current.get(st);Qe?(Ye.current.set(st,Qe),mt()):Ye.current.delete(st),!en!=!Qe&&(Qe?ne==null||ne(St):te==null||te(St))}return(0,me.useEffect)(function(){return nt},[]),[yt,mt,vt.current,re]}var Xe=14/15;function Ge(de,ne,te){var le=(0,me.useRef)(!1),ve=(0,me.useRef)(0),re=(0,me.useRef)(0),fe=(0,me.useRef)(null),Ye=(0,me.useRef)(null),vt,et=function(St){if(le.current){var Qe=Math.ceil(St.touches[0].pageX),st=Math.ceil(St.touches[0].pageY),en=ve.current-Qe,Kt=re.current-st,vn=Math.abs(en)>Math.abs(Kt);vn?ve.current=Qe:re.current=st;var nn=te(vn,vn?en:Kt,!1,St);nn&&St.preventDefault(),clearInterval(Ye.current),nn&&(Ye.current=setInterval(function(){vn?en*=Xe:Kt*=Xe;var Yt=Math.floor(vn?en:Kt);(!te(vn,Yt,!0)||Math.abs(Yt)<=.1)&&clearInterval(Ye.current)},16))}},nt=function(){le.current=!1,vt()},mt=function(St){vt(),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),fe.current=St.target,fe.current.addEventListener("touchmove",et,{passive:!1}),fe.current.addEventListener("touchend",nt,{passive:!0}))};vt=function(){fe.current&&(fe.current.removeEventListener("touchmove",et),fe.current.removeEventListener("touchend",nt))},(0,Ue.Z)(function(){return de&&ne.current.addEventListener("touchstart",mt,{passive:!0}),function(){var yt;(yt=ne.current)===null||yt===void 0||yt.removeEventListener("touchstart",mt),vt(),clearInterval(Ye.current)}},[de])}function lt(de){return Math.floor(Math.pow(de,.5))}function Tt(de,ne){var te="touches"in de?de.touches[0]:de;return te[ne?"pageX":"pageY"]-window[ne?"scrollX":"scrollY"]}function Ke(de,ne,te){me.useEffect(function(){var le=ne.current;if(de&&le){var ve=!1,re,fe,Ye=function(){oe.Z.cancel(re)},vt=function yt(){Ye(),re=(0,oe.Z)(function(){te(fe),yt()})},et=function(){ve=!1,Ye()},nt=function(St){if(!(St.target.draggable||St.button!==0)){var Qe=St;Qe._virtualHandled||(Qe._virtualHandled=!0,ve=!0)}},mt=function(St){if(ve){var Qe=Tt(St,!1),st=le.getBoundingClientRect(),en=st.top,Kt=st.bottom;if(Qe<=en){var vn=en-Qe;fe=-lt(vn),vt()}else if(Qe>=Kt){var nn=Qe-Kt;fe=lt(nn),vt()}else Ye()}};return le.addEventListener("mousedown",nt),le.ownerDocument.addEventListener("mouseup",et),le.ownerDocument.addEventListener("mousemove",mt),le.ownerDocument.addEventListener("dragend",et),function(){le.removeEventListener("mousedown",nt),le.ownerDocument.removeEventListener("mouseup",et),le.ownerDocument.removeEventListener("mousemove",mt),le.ownerDocument.removeEventListener("dragend",et),Ye()}}},[de])}var Se=10;function Ft(de,ne,te,le,ve,re,fe,Ye){var vt=me.useRef(),et=me.useState(null),nt=(0,Ce.Z)(et,2),mt=nt[0],yt=nt[1];return(0,Ue.Z)(function(){if(mt&&mt.times<Se){if(!de.current){yt(function(Rn){return(0,pe.Z)({},Rn)});return}re();var St=mt.targetAlign,Qe=mt.originAlign,st=mt.index,en=mt.offset,Kt=de.current.clientHeight,vn=!1,nn=St,Yt=null;if(Kt){for(var Jt=St||Qe,cn=0,bt=0,zt=0,un=Math.min(ne.length-1,st),Cn=0;Cn<=un;Cn+=1){var ct=ve(ne[Cn]);bt=cn;var Zt=te.get(ct);zt=bt+(Zt===void 0?le:Zt),cn=zt}for(var wt=Jt==="top"?en:Kt-en,dn=un;dn>=0;dn-=1){var wn=ve(ne[dn]),Un=te.get(wn);if(Un===void 0){vn=!0;break}if(wt-=Un,wt<=0)break}switch(Jt){case"top":Yt=bt-en;break;case"bottom":Yt=zt-Kt+en;break;default:{var er=de.current.scrollTop,lr=er+Kt;bt<er?nn="top":zt>lr&&(nn="bottom")}}Yt!==null&&fe(Yt),Yt!==mt.lastTop&&(vn=!0)}vn&&yt((0,pe.Z)((0,pe.Z)({},mt),{},{times:mt.times+1,targetAlign:nn,lastTop:Yt}))}},[mt,de.current]),function(St){if(St==null){Ye();return}if(oe.Z.cancel(vt.current),typeof St=="number")fe(St);else if(St&&(0,Ae.Z)(St)==="object"){var Qe,st=St.align;"index"in St?Qe=St.index:Qe=ne.findIndex(function(vn){return ve(vn)===St.key});var en=St.offset,Kt=en===void 0?0:en;yt({times:0,index:Qe,offset:Kt,originAlign:st})}}}var It=me.forwardRef(function(de,ne){var te=de.prefixCls,le=de.rtl,ve=de.scrollOffset,re=de.scrollRange,fe=de.onStartMove,Ye=de.onStopMove,vt=de.onScroll,et=de.horizontal,nt=de.spinSize,mt=de.containerSize,yt=de.style,St=de.thumbStyle,Qe=de.showScrollBar,st=me.useState(!1),en=(0,Ce.Z)(st,2),Kt=en[0],vn=en[1],nn=me.useState(null),Yt=(0,Ce.Z)(nn,2),Jt=Yt[0],cn=Yt[1],bt=me.useState(null),zt=(0,Ce.Z)(bt,2),un=zt[0],Cn=zt[1],ct=!le,Zt=me.useRef(),wt=me.useRef(),dn=me.useState(Qe),wn=(0,Ce.Z)(dn,2),Un=wn[0],er=wn[1],lr=me.useRef(),Rn=function(){Qe===!0||Qe===!1||(clearTimeout(lr.current),er(!0),lr.current=setTimeout(function(){er(!1)},3e3))},Qn=re-mt||0,Vt=mt-nt||0,Lt=me.useMemo(function(){if(ve===0||Qn===0)return 0;var Ln=ve/Qn;return Ln*Vt},[ve,Qn,Vt]),sn=function(mr){mr.stopPropagation(),mr.preventDefault()},an=me.useRef({top:Lt,dragging:Kt,pageY:Jt,startTop:un});an.current={top:Lt,dragging:Kt,pageY:Jt,startTop:un};var tn=function(mr){vn(!0),cn(Tt(mr,et)),Cn(an.current.top),fe(),mr.stopPropagation(),mr.preventDefault()};me.useEffect(function(){var Ln=function(Nr){Nr.preventDefault()},mr=Zt.current,ir=wt.current;return mr.addEventListener("touchstart",Ln,{passive:!1}),ir.addEventListener("touchstart",tn,{passive:!1}),function(){mr.removeEventListener("touchstart",Ln),ir.removeEventListener("touchstart",tn)}},[]);var Bn=me.useRef();Bn.current=Qn;var xn=me.useRef();xn.current=Vt,me.useEffect(function(){if(Kt){var Ln,mr=function(Nr){var Fn=an.current,Nn=Fn.dragging,cr=Fn.pageY,sr=Fn.startTop;oe.Z.cancel(Ln);var kt=Zt.current.getBoundingClientRect(),qt=mt/(et?kt.width:kt.height);if(Nn){var gt=(Tt(Nr,et)-cr)*qt,Ht=sr;!ct&&et?Ht-=gt:Ht+=gt;var Et=Bn.current,Ut=xn.current,ot=Ut?Ht/Ut:0,Qt=Math.ceil(ot*Et);Qt=Math.max(Qt,0),Qt=Math.min(Qt,Et),Ln=(0,oe.Z)(function(){vt(Qt,et)})}},ir=function(){vn(!1),Ye()};return window.addEventListener("mousemove",mr,{passive:!0}),window.addEventListener("touchmove",mr,{passive:!0}),window.addEventListener("mouseup",ir,{passive:!0}),window.addEventListener("touchend",ir,{passive:!0}),function(){window.removeEventListener("mousemove",mr),window.removeEventListener("touchmove",mr),window.removeEventListener("mouseup",ir),window.removeEventListener("touchend",ir),oe.Z.cancel(Ln)}}},[Kt]),me.useEffect(function(){return Rn(),function(){clearTimeout(lr.current)}},[ve]),me.useImperativeHandle(ne,function(){return{delayHidden:Rn}});var jn="".concat(te,"-scrollbar"),nr={position:"absolute",visibility:Un?null:"hidden"},Gn={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(nr,{height:8,left:0,right:0,bottom:0}),Object.assign(Gn,(0,ze.Z)({height:"100%",width:nt},ct?"left":"right",Lt))):(Object.assign(nr,(0,ze.Z)({width:8,top:0,bottom:0},ct?"right":"left",0)),Object.assign(Gn,{width:"100%",height:nt,top:Lt})),me.createElement("div",{ref:Zt,className:je()(jn,(0,ze.Z)((0,ze.Z)((0,ze.Z)({},"".concat(jn,"-horizontal"),et),"".concat(jn,"-vertical"),!et),"".concat(jn,"-visible"),Un)),style:(0,pe.Z)((0,pe.Z)({},nr),yt),onMouseDown:sn,onMouseMove:Rn},me.createElement("div",{ref:wt,className:je()("".concat(jn,"-thumb"),(0,ze.Z)({},"".concat(jn,"-thumb-moving"),Kt)),style:(0,pe.Z)((0,pe.Z)({},Gn),St),onMouseDown:tn}))}),ut=It,xe=20;function ke(){var de=arguments.length>0&&arguments[0]!==void 0?arguments[0]:0,ne=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,te=de/ne*de;return isNaN(te)&&(te=0),te=Math.max(te,xe),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"],Rt=[],ft={overflowY:"auto",overflowAnchor:"none"};function Nt(de,ne){var te=de.prefixCls,le=te===void 0?"rc-virtual-list":te,ve=de.className,re=de.height,fe=de.itemHeight,Ye=de.fullHeight,vt=Ye===void 0?!0:Ye,et=de.style,nt=de.data,mt=de.children,yt=de.itemKey,St=de.virtual,Qe=de.direction,st=de.scrollWidth,en=de.component,Kt=en===void 0?"div":en,vn=de.onScroll,nn=de.onVirtualScroll,Yt=de.onVisibleChange,Jt=de.innerProps,cn=de.extraRender,bt=de.styles,zt=de.showScrollBar,un=zt===void 0?"optional":zt,Cn=(0,Fe.Z)(de,at),ct=me.useCallback(function(Mt){return typeof yt=="function"?yt(Mt):Mt==null?void 0:Mt[yt]},[yt]),Zt=ue(ct,null,null),wt=(0,Ce.Z)(Zt,4),dn=wt[0],wn=wt[1],Un=wt[2],er=wt[3],lr=!!(St!==!1&&re&&fe),Rn=me.useMemo(function(){return Object.values(Un.maps).reduce(function(Mt,bn){return Mt+bn},0)},[Un.id,Un.maps]),Qn=lr&&nt&&(Math.max(fe*nt.length,Rn)>re||!!st),Vt=Qe==="rtl",Lt=je()(le,(0,ze.Z)({},"".concat(le,"-rtl"),Vt),ve),sn=nt||Rt,an=(0,me.useRef)(),tn=(0,me.useRef)(),Bn=(0,me.useRef)(),xn=(0,me.useState)(0),jn=(0,Ce.Z)(xn,2),nr=jn[0],Gn=jn[1],Ln=(0,me.useState)(0),mr=(0,Ce.Z)(Ln,2),ir=mr[0],jr=mr[1],Nr=(0,me.useState)(!1),Fn=(0,Ce.Z)(Nr,2),Nn=Fn[0],cr=Fn[1],sr=function(){cr(!0)},kt=function(){cr(!1)},qt={getKey:ct};function gt(Mt){Gn(function(bn){var Jn;typeof Mt=="function"?Jn=Mt(bn):Jn=Mt;var Zn=ro(Jn);return an.current.scrollTop=Zn,Zn})}var Ht=(0,me.useRef)({start:0,end:sn.length}),Et=(0,me.useRef)(),Ut=$e(sn,ct),ot=(0,Ce.Z)(Ut,1),Qt=ot[0];Et.current=Qt;var rn=me.useMemo(function(){if(!lr)return{scrollHeight:void 0,start:0,end:sn.length-1,offset:void 0};if(!Qn){var Mt;return{scrollHeight:((Mt=tn.current)===null||Mt===void 0?void 0:Mt.offsetHeight)||0,start:0,end:sn.length-1,offset:void 0}}for(var bn=0,Jn,Zn,kn,yr=sn.length,zn=0;zn<yr;zn+=1){var Kn=sn[zn],tr=ct(Kn),kr=Un.get(tr),wo=bn+(kr===void 0?fe:kr);wo>=nr&&Jn===void 0&&(Jn=zn,Zn=bn),wo>nr+re&&kn===void 0&&(kn=zn),bn=wo}return Jn===void 0&&(Jn=0,Zn=0,kn=Math.ceil(re/fe)),kn===void 0&&(kn=sn.length-1),kn=Math.min(kn+1,sn.length-1),{scrollHeight:bn,start:Jn,end:kn,offset:Zn}},[Qn,lr,nr,sn,er,re]),_t=rn.scrollHeight,rt=rn.start,Bt=rn.end,Ot=rn.offset;Ht.current.start=rt,Ht.current.end=Bt,me.useLayoutEffect(function(){var Mt=Un.getRecord();if(Mt.size===1){var bn=Array.from(Mt.keys())[0],Jn=Mt.get(bn),Zn=sn[rt];if(Zn&&Jn===void 0){var kn=ct(Zn);if(kn===bn){var yr=Un.get(bn),zn=yr-fe;gt(function(Kn){return Kn+zn})}}}Un.resetRecord()},[_t]);var $t=me.useState({width:0,height:re}),On=(0,Ce.Z)($t,2),Wn=On[0],Yn=On[1],Mr=function(bn){Yn({width:bn.offsetWidth,height:bn.offsetHeight})},Hr=(0,me.useRef)(),to=(0,me.useRef)(),fr=me.useMemo(function(){return ke(Wn.width,st)},[Wn.width,st]),Er=me.useMemo(function(){return ke(Wn.height,_t)},[Wn.height,_t]),Tr=_t-re,Yr=(0,me.useRef)(Tr);Yr.current=Tr;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=nr<=0,ao=nr>=Tr,Or=ir<=0,eo=ir>=st,Jr=Re(oo,ao,Or,eo),Wo=function(){return{x:Vt?-ir:ir,y:nr}},Ko=(0,me.useRef)(Wo()),rr=(0,se.zX)(function(Mt){if(nn){var bn=(0,pe.Z)((0,pe.Z)({},Wo()),Mt);(Ko.current.x!==bn.x||Ko.current.y!==bn.y)&&(nn(bn),Ko.current=bn)}});function Ro(Mt,bn){var Jn=Mt;bn?((0,Ne.flushSync)(function(){jr(Jn)}),rr()):gt(Jn)}function ei(Mt){var bn=Mt.currentTarget.scrollTop;bn!==nr&>(bn),vn==null||vn(Mt),rr()}var yo=function(bn){var Jn=bn,Zn=st?st-Wn.width:0;return Jn=Math.max(Jn,0),Jn=Math.min(Jn,Zn),Jn},Zo=(0,se.zX)(function(Mt,bn){bn?((0,Ne.flushSync)(function(){jr(function(Jn){var Zn=Jn+(Vt?-Mt:Mt);return yo(Zn)})}),rr()):gt(function(Jn){var Zn=Jn+Mt;return Zn})}),vo=_e(lr,oo,ao,Or,eo,!!st,Zo),ui=(0,Ce.Z)(vo,2),yi=ui[0],Jo=ui[1];Ge(lr,an,function(Mt,bn,Jn,Zn){var kn=Zn;return Jr(Mt,bn,Jn)?!1:!kn||!kn._virtualHandled?(kn&&(kn._virtualHandled=!0),yi({preventDefault:function(){},deltaX:Mt?bn:0,deltaY:Mt?0:bn}),!0):!1}),Ke(Qn,an,function(Mt){gt(function(bn){return bn+Mt})}),(0,Ue.Z)(function(){function Mt(Jn){var Zn=oo&&Jn.detail<0,kn=ao&&Jn.detail>0;lr&&!Zn&&!kn&&Jn.preventDefault()}var bn=an.current;return bn.addEventListener("wheel",yi,{passive:!1}),bn.addEventListener("DOMMouseScroll",Jo,{passive:!0}),bn.addEventListener("MozMousePixelScroll",Mt,{passive:!1}),function(){bn.removeEventListener("wheel",yi),bn.removeEventListener("DOMMouseScroll",Jo),bn.removeEventListener("MozMousePixelScroll",Mt)}},[lr,oo,ao]),(0,Ue.Z)(function(){if(st){var Mt=yo(ir);jr(Mt),rr({x:Mt})}},[Wn.width,st]);var pi=function(){var bn,Jn;(bn=Hr.current)===null||bn===void 0||bn.delayHidden(),(Jn=to.current)===null||Jn===void 0||Jn.delayHidden()},ki=Ft(an,sn,Un,fe,ct,function(){return wn(!0)},gt,pi);me.useImperativeHandle(ne,function(){return{nativeElement:Bn.current,getScrollInfo:Wo,scrollTo:function(bn){function Jn(Zn){return Zn&&(0,Ae.Z)(Zn)==="object"&&("left"in Zn||"top"in Zn)}Jn(bn)?(bn.left!==void 0&&jr(yo(bn.left)),ki(bn.top)):ki(bn)}}}),(0,Ue.Z)(function(){if(Yt){var Mt=sn.slice(rt,Bt+1);Yt(Mt,sn)}},[rt,Bt,sn]);var Ci=ye(sn,ct,Un,fe),Oi=cn==null?void 0:cn({start:rt,end:Bt,virtual:Qn,offsetX:ir,offsetY:Ot,rtl:Vt,getSize:Ci}),No=ce(sn,rt,Bt,st,ir,dn,mt,qt),Je=null;re&&(Je=(0,pe.Z)((0,ze.Z)({},vt?"height":"maxHeight",re),ft),lr&&(Je.overflowY="hidden",st&&(Je.overflowX="hidden"),Nn&&(Je.pointerEvents="none")));var hn={};return Vt&&(hn.dir="rtl"),me.createElement("div",(0,y.Z)({ref:Bn,style:(0,pe.Z)((0,pe.Z)({},et),{},{position:"relative"}),className:Lt},hn,Cn),me.createElement(De.Z,{onResize:Mr},me.createElement(Kt,{className:"".concat(le,"-holder"),style:Je,ref:an,onScroll:ei,onMouseEnter:pi},me.createElement(be,{prefixCls:le,height:_t,offsetX:ir,offsetY:Ot,scrollWidth:st,onInnerResize:wn,ref:tn,innerProps:Jt,rtl:Vt,extra:Oi},No))),Qn&&_t>re&&me.createElement(ut,{ref:Hr,prefixCls:le,scrollOffset:nr,scrollRange:_t,rtl:Vt,onScroll:Ro,onStartMove:sr,onStopMove:kt,spinSize:Er,containerSize:Wn.height,style:bt==null?void 0:bt.verticalScrollBar,thumbStyle:bt==null?void 0:bt.verticalScrollBarThumb,showScrollBar:un}),Qn&&st>Wn.width&&me.createElement(ut,{ref:to,prefixCls:le,scrollOffset:ir,scrollRange:st,rtl:Vt,onScroll:Ro,onStartMove:sr,onStopMove:kt,spinSize:fr,containerSize:Wn.width,horizontal:!0,style:bt==null?void 0:bt.horizontalScrollBar,thumbStyle:bt==null?void 0:bt.horizontalScrollBarThumb,showScrollBar:un}))}var xt=me.forwardRef(Nt);xt.displayName="List";var Xt=xt,Wt=Xt},51353:function(mn,Ct,E){"use strict";Object.defineProperty(Ct,"__esModule",{value:!0}),Object.defineProperty(Ct,"DraggableCore",{enumerable:!0,get:function(){return je.default}}),Ct.default=void 0;var y=Ue(E(59301)),Ae=se(E(12708)),pe=se(E(4676)),ze=E(14625),Ce=E(77026),Fe=E(22013),ge=E(80217),je=se(E(68555)),De=se(E(97510));function se(ce){return ce&&ce.__esModule?ce:{default:ce}}function Ue(ce,Ie){if(typeof WeakMap=="function")var Ze=new WeakMap,$e=new WeakMap;return(Ue=function(oe,Be){if(!Be&&oe&&oe.__esModule)return oe;var tt,Re,_e={__proto__:null,default:oe};if(oe===null||typeof oe!="object"&&typeof oe!="function")return _e;if(tt=Be?$e:Ze){if(tt.has(oe))return tt.get(oe);tt.set(oe,_e)}for(const ye in oe)ye!=="default"&&{}.hasOwnProperty.call(oe,ye)&&((Re=(tt=Object.defineProperty)&&Object.getOwnPropertyDescriptor(oe,ye))&&(Re.get||Re.set)?tt(_e,ye,Re):_e[ye]=oe[ye]);return _e})(ce,Ie)}function me(){return me=Object.assign?Object.assign.bind():function(ce){for(var Ie=1;Ie<arguments.length;Ie++){var Ze=arguments[Ie];for(var $e in Ze)({}).hasOwnProperty.call(Ze,$e)&&(ce[$e]=Ze[$e])}return ce},me.apply(null,arguments)}function Ne(ce,Ie,Ze){return(Ie=we(Ie))in ce?Object.defineProperty(ce,Ie,{value:Ze,enumerable:!0,configurable:!0,writable:!0}):ce[Ie]=Ze,ce}function we(ce){var Ie=be(ce,"string");return typeof Ie=="symbol"?Ie:Ie+""}function be(ce,Ie){if(typeof ce!="object"||!ce)return ce;var Ze=ce[Symbol.toPrimitive];if(Ze!==void 0){var $e=Ze.call(ce,Ie||"default");if(typeof $e!="object")return $e;throw new TypeError("@@toPrimitive must return a primitive value.")}return(Ie==="string"?String:Number)(ce)}class he extends y.Component{static getDerivedStateFromProps(Ie,Ze){let{position:$e}=Ie,{prevPropsPosition:oe}=Ze;return $e&&(!oe||$e.x!==oe.x||$e.y!==oe.y)?((0,De.default)("Draggable: getDerivedStateFromProps %j",{position:$e,prevPropsPosition:oe}),{x:$e.x,y:$e.y,prevPropsPosition:Es({},$e)}):null}constructor(Ie){super(Ie),Ne(this,"onDragStart",(Ze,$e)=>{if((0,De.default)("Draggable: onDragStart: %j",$e),this.props.onStart(Ze,(0,Fe.createDraggableData)(this,$e))===!1)return!1;this.setState({dragging:!0,dragged:!0})}),Ne(this,"onDrag",(Ze,$e)=>{if(!this.state.dragging)return!1;(0,De.default)("Draggable: onDrag: %j",$e);const oe=(0,Fe.createDraggableData)(this,$e),Be={x:oe.x,y:oe.y,slackX:0,slackY:0};if(this.props.bounds){const{x:Re,y:_e}=Be;Be.x+=this.state.slackX,Be.y+=this.state.slackY;const[ye,Le]=(0,Fe.getBoundPosition)(this,Be.x,Be.y);Be.x=ye,Be.y=Le,Be.slackX=this.state.slackX+(Re-Be.x),Be.slackY=this.state.slackY+(_e-Be.y),oe.x=Be.x,oe.y=Be.y,oe.deltaX=Be.x-this.state.x,oe.deltaY=Be.y-this.state.y}if(this.props.onDrag(Ze,oe)===!1)return!1;this.setState(Be)}),Ne(this,"onDragStop",(Ze,$e)=>{if(!this.state.dragging||this.props.onStop(Ze,(0,Fe.createDraggableData)(this,$e))===!1)return!1;(0,De.default)("Draggable: onDragStop: %j",$e);const Be={dragging:!1,slackX:0,slackY:0};if(!!this.props.position){const{x:Re,y:_e}=this.props.position;Be.x=Re,Be.y=_e}this.setState(Be)}),this.state={dragging:!1,dragged:!1,x:Ie.position?Ie.position.x:Ie.defaultPosition.x,y:Ie.position?Ie.position.y:Ie.defaultPosition.y,prevPropsPosition:Es({},Ie.position),slackX:0,slackY:0,isElementSVG:!1},Ie.position&&!(Ie.onDrag||Ie.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 Ie,Ze,$e;return($e=(Ze=(Ie=this.props)==null?void 0:Ie.nodeRef)==null?void 0:Ze.current)!=null?$e:pe.default.findDOMNode(this)}render(){const Tt=this.props,{axis:Ie,bounds:Ze,children:$e,defaultPosition:oe,defaultClassName:Be,defaultClassNameDragging:tt,defaultClassNameDragged:Re,position:_e,positionOffset:ye,scale:Le}=Tt,Ve=_u(Tt,["axis","bounds","children","defaultPosition","defaultClassName","defaultClassNameDragging","defaultClassNameDragged","position","positionOffset","scale"]);let Pe={},it=null;const ue=!!!_e||this.state.dragging,Xe=_e||oe,Ge={x:(0,Fe.canDragX)(this)&&ue?this.state.x:Xe.x,y:(0,Fe.canDragY)(this)&&ue?this.state.y:Xe.y};this.state.isElementSVG?it=(0,Ce.createSVGTransform)(Ge,ye):Pe=(0,Ce.createCSSTransform)(Ge,ye);const lt=(0,ze.clsx)($e.props.className||"",Be,{[tt]:this.state.dragging,[Re]:this.state.dragged});return y.createElement(je.default,me({},Ve,{onStart:this.onDragStart,onDrag:this.onDrag,onStop:this.onDragStop}),y.cloneElement(y.Children.only($e),{className:lt,style:Es(Es({},$e.props.style),Pe),transform:it}))}}Ct.default=he,Ne(he,"displayName","Draggable"),Ne(he,"propTypes",Tu(Es({},je.default.propTypes),{axis:Ae.default.oneOf(["both","x","y","none"]),bounds:Ae.default.oneOfType([Ae.default.shape({left:Ae.default.number,right:Ae.default.number,top:Ae.default.number,bottom:Ae.default.number}),Ae.default.string,Ae.default.oneOf([!1])]),defaultClassName:Ae.default.string,defaultClassNameDragging:Ae.default.string,defaultClassNameDragged:Ae.default.string,defaultPosition:Ae.default.shape({x:Ae.default.number,y:Ae.default.number}),positionOffset:Ae.default.shape({x:Ae.default.oneOfType([Ae.default.number,Ae.default.string]),y:Ae.default.oneOfType([Ae.default.number,Ae.default.string])}),position:Ae.default.shape({x:Ae.default.number,y:Ae.default.number}),className:ge.dontSetMe,style:ge.dontSetMe,transform:ge.dontSetMe})),Ne(he,"defaultProps",Tu(Es({},je.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(mn,Ct,E){"use strict";Object.defineProperty(Ct,"__esModule",{value:!0}),Ct.default=void 0;var y=De(E(59301)),Ae=je(E(12708)),pe=je(E(4676)),ze=E(77026),Ce=E(22013),Fe=E(80217),ge=je(E(97510));function je(he){return he&&he.__esModule?he:{default:he}}function De(he,ce){if(typeof WeakMap=="function")var Ie=new WeakMap,Ze=new WeakMap;return(De=function($e,oe){if(!oe&&$e&&$e.__esModule)return $e;var Be,tt,Re={__proto__:null,default:$e};if($e===null||typeof $e!="object"&&typeof $e!="function")return Re;if(Be=oe?Ze:Ie){if(Be.has($e))return Be.get($e);Be.set($e,Re)}for(const _e in $e)_e!=="default"&&{}.hasOwnProperty.call($e,_e)&&((tt=(Be=Object.defineProperty)&&Object.getOwnPropertyDescriptor($e,_e))&&(tt.get||tt.set)?Be(Re,_e,tt):Re[_e]=$e[_e]);return Re})(he,ce)}function se(he,ce,Ie){return(ce=Ue(ce))in he?Object.defineProperty(he,ce,{value:Ie,enumerable:!0,configurable:!0,writable:!0}):he[ce]=Ie,he}function Ue(he){var ce=me(he,"string");return typeof ce=="symbol"?ce:ce+""}function me(he,ce){if(typeof he!="object"||!he)return he;var Ie=he[Symbol.toPrimitive];if(Ie!==void 0){var Ze=Ie.call(he,ce||"default");if(typeof Ze!="object")return Ze;throw new TypeError("@@toPrimitive must return a primitive value.")}return(ce==="string"?String:Number)(he)}const Ne={touch:{start:"touchstart",move:"touchmove",stop:"touchend"},mouse:{start:"mousedown",move:"mousemove",stop:"mouseup"}};let we=Ne.mouse;class be 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",ce=>{if(this.props.onMouseDown(ce),!this.props.allowAnyClick&&typeof ce.button=="number"&&ce.button!==0)return!1;const Ie=this.findDOMNode();if(!Ie||!Ie.ownerDocument||!Ie.ownerDocument.body)throw new Error("<DraggableCore> not mounted on DragStart!");const{ownerDocument:Ze}=Ie;if(this.props.disabled||!(ce.target instanceof Ze.defaultView.Node)||this.props.handle&&!(0,ze.matchesSelectorAndParentsTo)(ce.target,this.props.handle,Ie)||this.props.cancel&&(0,ze.matchesSelectorAndParentsTo)(ce.target,this.props.cancel,Ie))return;ce.type==="touchstart"&&!this.props.allowMobileScroll&&ce.preventDefault();const $e=(0,ze.getTouchIdentifier)(ce);this.touchIdentifier=$e;const oe=(0,Ce.getControlPosition)(ce,$e,this);if(oe==null)return;const{x:Be,y:tt}=oe,Re=(0,Ce.createCoreData)(this,Be,tt);(0,ge.default)("DraggableCore: handleDragStart: %j",Re),(0,ge.default)("calling",this.props.onStart),!(this.props.onStart(ce,Re)===!1||this.mounted===!1)&&(this.props.enableUserSelectHack&&(0,ze.addUserSelectStyles)(Ze),this.dragging=!0,this.lastX=Be,this.lastY=tt,(0,ze.addEvent)(Ze,we.move,this.handleDrag),(0,ze.addEvent)(Ze,we.stop,this.handleDragStop))}),se(this,"handleDrag",ce=>{const Ie=(0,Ce.getControlPosition)(ce,this.touchIdentifier,this);if(Ie==null)return;let{x:Ze,y:$e}=Ie;if(Array.isArray(this.props.grid)){let tt=Ze-this.lastX,Re=$e-this.lastY;if([tt,Re]=(0,Ce.snapToGrid)(this.props.grid,tt,Re),!tt&&!Re)return;Ze=this.lastX+tt,$e=this.lastY+Re}const oe=(0,Ce.createCoreData)(this,Ze,$e);if((0,ge.default)("DraggableCore: handleDrag: %j",oe),this.props.onDrag(ce,oe)===!1||this.mounted===!1){try{this.handleDragStop(new MouseEvent("mouseup"))}catch(tt){const Re=document.createEvent("MouseEvents");Re.initMouseEvent("mouseup",!0,!0,window,0,0,0,0,0,!1,!1,!1,!1,0,null),this.handleDragStop(Re)}return}this.lastX=Ze,this.lastY=$e}),se(this,"handleDragStop",ce=>{if(!this.dragging)return;const Ie=(0,Ce.getControlPosition)(ce,this.touchIdentifier,this);if(Ie==null)return;let{x:Ze,y:$e}=Ie;if(Array.isArray(this.props.grid)){let Re=Ze-this.lastX||0,_e=$e-this.lastY||0;[Re,_e]=(0,Ce.snapToGrid)(this.props.grid,Re,_e),Ze=this.lastX+Re,$e=this.lastY+_e}const oe=(0,Ce.createCoreData)(this,Ze,$e);if(this.props.onStop(ce,oe)===!1||this.mounted===!1)return!1;const tt=this.findDOMNode();tt&&this.props.enableUserSelectHack&&(0,ze.scheduleRemoveUserSelectStyles)(tt.ownerDocument),(0,ge.default)("DraggableCore: handleDragStop: %j",oe),this.dragging=!1,this.lastX=NaN,this.lastY=NaN,tt&&((0,ge.default)("DraggableCore: Removing handlers"),(0,ze.removeEvent)(tt.ownerDocument,we.move,this.handleDrag),(0,ze.removeEvent)(tt.ownerDocument,we.stop,this.handleDragStop))}),se(this,"onMouseDown",ce=>(we=Ne.mouse,this.handleDragStart(ce))),se(this,"onMouseUp",ce=>(we=Ne.mouse,this.handleDragStop(ce))),se(this,"onTouchStart",ce=>(we=Ne.touch,this.handleDragStart(ce))),se(this,"onTouchEnd",ce=>(we=Ne.touch,this.handleDragStop(ce)))}componentDidMount(){this.mounted=!0;const ce=this.findDOMNode();ce&&(0,ze.addEvent)(ce,Ne.touch.start,this.onTouchStart,{passive:!1})}componentWillUnmount(){this.mounted=!1;const ce=this.findDOMNode();if(ce){const{ownerDocument:Ie}=ce;(0,ze.removeEvent)(Ie,Ne.mouse.move,this.handleDrag),(0,ze.removeEvent)(Ie,Ne.touch.move,this.handleDrag),(0,ze.removeEvent)(Ie,Ne.mouse.stop,this.handleDragStop),(0,ze.removeEvent)(Ie,Ne.touch.stop,this.handleDragStop),(0,ze.removeEvent)(ce,Ne.touch.start,this.onTouchStart,{passive:!1}),this.props.enableUserSelectHack&&(0,ze.scheduleRemoveUserSelectStyles)(Ie)}}findDOMNode(){var ce,Ie,Ze;return(ce=this.props)!=null&&ce.nodeRef?(Ze=(Ie=this.props)==null?void 0:Ie.nodeRef)==null?void 0:Ze.current:pe.default.findDOMNode(this)}render(){return y.cloneElement(y.Children.only(this.props.children),{onMouseDown:this.onMouseDown,onMouseUp:this.onMouseUp,onTouchEnd:this.onTouchEnd})}}Ct.default=be,se(be,"displayName","DraggableCore"),se(be,"propTypes",{allowAnyClick:Ae.default.bool,allowMobileScroll:Ae.default.bool,children:Ae.default.node.isRequired,disabled:Ae.default.bool,enableUserSelectHack:Ae.default.bool,offsetParent:function(he,ce){if(he[ce]&&he[ce].nodeType!==1)throw new Error("Draggable's offsetParent must be a DOM Node.")},grid:Ae.default.arrayOf(Ae.default.number),handle:Ae.default.string,cancel:Ae.default.string,nodeRef:Ae.default.object,onStart:Ae.default.func,onDrag:Ae.default.func,onStop:Ae.default.func,onMouseDown:Ae.default.func,scale:Ae.default.number,className:Fe.dontSetMe,style:Fe.dontSetMe,transform:Fe.dontSetMe}),se(be,"defaultProps",{allowAnyClick:!1,allowMobileScroll:!1,disabled:!1,enableUserSelectHack:!0,onStart:function(){},onDrag:function(){},onStop:function(){},onMouseDown:function(){},scale:1})},96249:function(mn,Ct,E){"use strict";const{default:y,DraggableCore:Ae}=E(51353);mn.exports=y,mn.exports.default=y,mn.exports.DraggableCore=Ae},77026:function(mn,Ct,E){"use strict";Object.defineProperty(Ct,"__esModule",{value:!0}),Ct.addClassName=Be,Ct.addEvent=ge,Ct.addUserSelectStyles=Ze,Ct.createCSSTransform=we,Ct.createSVGTransform=be,Ct.getTouch=ce,Ct.getTouchIdentifier=Ie,Ct.getTranslation=he,Ct.innerHeight=Ue,Ct.innerWidth=me,Ct.matchesSelector=Ce,Ct.matchesSelectorAndParentsTo=Fe,Ct.offsetXYFromParent=Ne,Ct.outerHeight=De,Ct.outerWidth=se,Ct.removeClassName=tt,Ct.removeEvent=je,Ct.scheduleRemoveUserSelectStyles=$e;var y=E(80217),Ae=pe(E(76172));function pe(Re,_e){if(typeof WeakMap=="function")var ye=new WeakMap,Le=new WeakMap;return(pe=function(Ve,Pe){if(!Pe&&Ve&&Ve.__esModule)return Ve;var it,Oe,ue={__proto__:null,default:Ve};if(Ve===null||typeof Ve!="object"&&typeof Ve!="function")return ue;if(it=Pe?Le:ye){if(it.has(Ve))return it.get(Ve);it.set(Ve,ue)}for(const Xe in Ve)Xe!=="default"&&{}.hasOwnProperty.call(Ve,Xe)&&((Oe=(it=Object.defineProperty)&&Object.getOwnPropertyDescriptor(Ve,Xe))&&(Oe.get||Oe.set)?it(ue,Xe,Oe):ue[Xe]=Ve[Xe]);return ue})(Re,_e)}let ze="";function Ce(Re,_e){return ze||(ze=(0,y.findInArray)(["matches","webkitMatchesSelector","mozMatchesSelector","msMatchesSelector","oMatchesSelector"],function(ye){return(0,y.isFunction)(Re[ye])})),(0,y.isFunction)(Re[ze])?Re[ze](_e):!1}function Fe(Re,_e,ye){let Le=Re;do{if(Ce(Le,_e))return!0;if(Le===ye)return!1;Le=Le.parentNode}while(Le);return!1}function ge(Re,_e,ye,Le){if(!Re)return;const Ve=Es({capture:!0},Le);Re.addEventListener?Re.addEventListener(_e,ye,Ve):Re.attachEvent?Re.attachEvent("on"+_e,ye):Re["on"+_e]=ye}function je(Re,_e,ye,Le){if(!Re)return;const Ve=Es({capture:!0},Le);Re.removeEventListener?Re.removeEventListener(_e,ye,Ve):Re.detachEvent?Re.detachEvent("on"+_e,ye):Re["on"+_e]=null}function De(Re){let _e=Re.clientHeight;const ye=Re.ownerDocument.defaultView.getComputedStyle(Re);return _e+=(0,y.int)(ye.borderTopWidth),_e+=(0,y.int)(ye.borderBottomWidth),_e}function se(Re){let _e=Re.clientWidth;const ye=Re.ownerDocument.defaultView.getComputedStyle(Re);return _e+=(0,y.int)(ye.borderLeftWidth),_e+=(0,y.int)(ye.borderRightWidth),_e}function Ue(Re){let _e=Re.clientHeight;const ye=Re.ownerDocument.defaultView.getComputedStyle(Re);return _e-=(0,y.int)(ye.paddingTop),_e-=(0,y.int)(ye.paddingBottom),_e}function me(Re){let _e=Re.clientWidth;const ye=Re.ownerDocument.defaultView.getComputedStyle(Re);return _e-=(0,y.int)(ye.paddingLeft),_e-=(0,y.int)(ye.paddingRight),_e}function Ne(Re,_e,ye){const Ve=_e===_e.ownerDocument.body?{left:0,top:0}:_e.getBoundingClientRect(),Pe=(Re.clientX+_e.scrollLeft-Ve.left)/ye,it=(Re.clientY+_e.scrollTop-Ve.top)/ye;return{x:Pe,y:it}}function we(Re,_e){const ye=he(Re,_e,"px");return{[(0,Ae.browserPrefixToKey)("transform",Ae.default)]:ye}}function be(Re,_e){return he(Re,_e,"")}function he(Re,_e,ye){let{x:Le,y:Ve}=Re,Pe=`translate(${Le}${ye},${Ve}${ye})`;if(_e){const it=`${typeof _e.x=="string"?_e.x:_e.x+ye}`,Oe=`${typeof _e.y=="string"?_e.y:_e.y+ye}`;Pe=`translate(${it}, ${Oe})`+Pe}return Pe}function ce(Re,_e){return Re.targetTouches&&(0,y.findInArray)(Re.targetTouches,ye=>_e===ye.identifier)||Re.changedTouches&&(0,y.findInArray)(Re.changedTouches,ye=>_e===ye.identifier)}function Ie(Re){if(Re.targetTouches&&Re.targetTouches[0])return Re.targetTouches[0].identifier;if(Re.changedTouches&&Re.changedTouches[0])return Re.changedTouches[0].identifier}function Ze(Re){if(!Re)return;let _e=Re.getElementById("react-draggable-style-el");_e||(_e=Re.createElement("style"),_e.type="text/css",_e.id="react-draggable-style-el",_e.innerHTML=`.react-draggable-transparent-selection *::-moz-selection {all: inherit;}
|
|
|
`,_e.innerHTML+=`.react-draggable-transparent-selection *::selection {all: inherit;}
|
|
|
`,Re.getElementsByTagName("head")[0].appendChild(_e)),Re.body&&Be(Re.body,"react-draggable-transparent-selection")}function $e(Re){window.requestAnimationFrame?window.requestAnimationFrame(()=>{oe(Re)}):oe(Re)}function oe(Re){if(Re)try{if(Re.body&&tt(Re.body,"react-draggable-transparent-selection"),Re.selection)Re.selection.empty();else{const _e=(Re.defaultView||window).getSelection();_e&&_e.type!=="Caret"&&_e.removeAllRanges()}}catch(_e){}}function Be(Re,_e){Re.classList?Re.classList.add(_e):Re.className.match(new RegExp(`(?:^|\\s)${_e}(?!\\S)`))||(Re.className+=` ${_e}`)}function tt(Re,_e){Re.classList?Re.classList.remove(_e):Re.className=Re.className.replace(new RegExp(`(?:^|\\s)${_e}(?!\\S)`,"g"),"")}},76172:function(mn,Ct){"use strict";Object.defineProperty(Ct,"__esModule",{value:!0}),Ct.browserPrefixToKey=Ae,Ct.browserPrefixToStyle=pe,Ct.default=void 0,Ct.getPrefix=y;const E=["Moz","Webkit","O","ms"];function y(){var je,De;let Fe=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"transform";if(typeof window=="undefined")return"";const ge=(De=(je=window.document)==null?void 0:je.documentElement)==null?void 0:De.style;if(!ge||Fe in ge)return"";for(let se=0;se<E.length;se++)if(Ae(Fe,E[se])in ge)return E[se];return""}function Ae(Fe,ge){return ge?`${ge}${ze(Fe)}`:Fe}function pe(Fe,ge){return ge?`-${ge.toLowerCase()}-${Fe}`:Fe}function ze(Fe){let ge="",je=!0;for(let De=0;De<Fe.length;De++)je?(ge+=Fe[De].toUpperCase(),je=!1):Fe[De]==="-"?je=!0:ge+=Fe[De];return ge}var Ce=Ct.default=y()},97510:function(mn,Ct){"use strict";Object.defineProperty(Ct,"__esModule",{value:!0}),Ct.default=E;function E(){}},22013:function(mn,Ct,E){"use strict";Object.defineProperty(Ct,"__esModule",{value:!0}),Ct.canDragX=Ce,Ct.canDragY=Fe,Ct.createCoreData=je,Ct.createDraggableData=De,Ct.getBoundPosition=pe,Ct.getControlPosition=ge,Ct.snapToGrid=ze;var y=E(80217),Ae=E(77026);function pe(me,Ne,we){if(!me.props.bounds)return[Ne,we];let{bounds:be}=me.props;be=typeof be=="string"?be:se(be);const he=Ue(me);if(typeof be=="string"){const{ownerDocument:ce}=he,Ie=ce.defaultView;let Ze;if(be==="parent"?Ze=he.parentNode:Ze=he.getRootNode().querySelector(be),!(Ze instanceof Ie.HTMLElement))throw new Error('Bounds selector "'+be+'" could not find an element.');const $e=Ze,oe=Ie.getComputedStyle(he),Be=Ie.getComputedStyle($e);be={left:-he.offsetLeft+(0,y.int)(Be.paddingLeft)+(0,y.int)(oe.marginLeft),top:-he.offsetTop+(0,y.int)(Be.paddingTop)+(0,y.int)(oe.marginTop),right:(0,Ae.innerWidth)($e)-(0,Ae.outerWidth)(he)-he.offsetLeft+(0,y.int)(Be.paddingRight)-(0,y.int)(oe.marginRight),bottom:(0,Ae.innerHeight)($e)-(0,Ae.outerHeight)(he)-he.offsetTop+(0,y.int)(Be.paddingBottom)-(0,y.int)(oe.marginBottom)}}return(0,y.isNum)(be.right)&&(Ne=Math.min(Ne,be.right)),(0,y.isNum)(be.bottom)&&(we=Math.min(we,be.bottom)),(0,y.isNum)(be.left)&&(Ne=Math.max(Ne,be.left)),(0,y.isNum)(be.top)&&(we=Math.max(we,be.top)),[Ne,we]}function ze(me,Ne,we){const be=Math.round(Ne/me[0])*me[0],he=Math.round(we/me[1])*me[1];return[be,he]}function Ce(me){return me.props.axis==="both"||me.props.axis==="x"}function Fe(me){return me.props.axis==="both"||me.props.axis==="y"}function ge(me,Ne,we){const be=typeof Ne=="number"?(0,Ae.getTouch)(me,Ne):null;if(typeof Ne=="number"&&!be)return null;const he=Ue(we),ce=we.props.offsetParent||he.offsetParent||he.ownerDocument.body;return(0,Ae.offsetXYFromParent)(be||me,ce,we.props.scale)}function je(me,Ne,we){const be=!(0,y.isNum)(me.lastX),he=Ue(me);return be?{node:he,deltaX:0,deltaY:0,lastX:Ne,lastY:we,x:Ne,y:we}:{node:he,deltaX:Ne-me.lastX,deltaY:we-me.lastY,lastX:me.lastX,lastY:me.lastY,x:Ne,y:we}}function De(me,Ne){const we=me.props.scale;return{node:Ne.node,x:me.state.x+Ne.deltaX/we,y:me.state.y+Ne.deltaY/we,deltaX:Ne.deltaX/we,deltaY:Ne.deltaY/we,lastX:me.state.x,lastY:me.state.y}}function se(me){return{left:me.left,top:me.top,right:me.right,bottom:me.bottom}}function Ue(me){const Ne=me.findDOMNode();if(!Ne)throw new Error("<DraggableCore>: Unmounted during event!");return Ne}},80217:function(mn,Ct){"use strict";Object.defineProperty(Ct,"__esModule",{value:!0}),Ct.dontSetMe=ze,Ct.findInArray=E,Ct.int=pe,Ct.isFunction=y,Ct.isNum=Ae;function E(Ce,Fe){for(let ge=0,je=Ce.length;ge<je;ge++)if(Fe.apply(Fe,[Ce[ge],ge,Ce]))return Ce[ge]}function y(Ce){return typeof Ce=="function"||Object.prototype.toString.call(Ce)==="[object Function]"}function Ae(Ce){return typeof Ce=="number"&&!isNaN(Ce)}function pe(Ce){return parseInt(Ce,10)}function ze(Ce,Fe,ge){if(Ce[Fe])return new Error(`Invalid prop ${Fe} passed to ${ge} - do not set this, set it on the child.`)}},51581:function(mn,Ct,E){"use strict";Object.defineProperty(Ct,"__esModule",{value:!0});var y=function(){function me(Ne,we){for(var be=0;be<we.length;be++){var he=we[be];he.enumerable=he.enumerable||!1,he.configurable=!0,"value"in he&&(he.writable=!0),Object.defineProperty(Ne,he.key,he)}}return function(Ne,we,be){return we&&me(Ne.prototype,we),be&&me(Ne,be),Ne}}(),Ae=E(59301),pe=Fe(Ae),ze=E(12708),Ce=Fe(ze);function Fe(me){return me&&me.__esModule?me:{default:me}}function ge(me,Ne){var we={};for(var be in me)Ne.indexOf(be)>=0||Object.prototype.hasOwnProperty.call(me,be)&&(we[be]=me[be]);return we}function je(me,Ne){if(!(me instanceof Ne))throw new TypeError("Cannot call a class as a function")}function De(me,Ne){if(!me)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return Ne&&(typeof Ne=="object"||typeof Ne=="function")?Ne:me}function se(me,Ne){if(typeof Ne!="function"&&Ne!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof Ne);me.prototype=Object.create(Ne&&Ne.prototype,{constructor:{value:me,enumerable:!1,writable:!0,configurable:!0}}),Ne&&(Object.setPrototypeOf?Object.setPrototypeOf(me,Ne):me.__proto__=Ne)}var Ue=function(me){se(Ne,me);function Ne(we){je(this,Ne);var be=De(this,(Ne.__proto__||Object.getPrototypeOf(Ne)).call(this,we));return be.scrollListener=be.scrollListener.bind(be),be.eventListenerOptions=be.eventListenerOptions.bind(be),be.mousewheelListener=be.mousewheelListener.bind(be),be}return y(Ne,[{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 be=this.getParentElement(this.scrollComponent);be.scrollTop=be.scrollHeight-this.beforeScrollHeight+this.beforeScrollTop,this.loadMore=!1}this.attachScrollListener()}},{key:"componentWillUnmount",value:function(){this.detachScrollListener(),this.detachMousewheelListener()}},{key:"isPassiveSupported",value:function(){var be=!1,he={get passive(){be=!0}};try{document.addEventListener("test",null,he),document.removeEventListener("test",null,he)}catch(ce){}return be}},{key:"eventListenerOptions",value:function(){var be=this.props.useCapture;return this.isPassiveSupported()&&(be={useCapture:this.props.useCapture,passive:!0}),be}},{key:"setDefaultLoader",value:function(be){this.defaultLoader=be}},{key:"detachMousewheelListener",value:function(){var be=window;this.props.useWindow===!1&&(be=this.scrollComponent.parentNode),be.removeEventListener("mousewheel",this.mousewheelListener,this.options?this.options:this.props.useCapture)}},{key:"detachScrollListener",value:function(){var be=window;this.props.useWindow===!1&&(be=this.getParentElement(this.scrollComponent)),be.removeEventListener("scroll",this.scrollListener,this.options?this.options:this.props.useCapture),be.removeEventListener("resize",this.scrollListener,this.options?this.options:this.props.useCapture)}},{key:"getParentElement",value:function(be){var he=this.props.getScrollParent&&this.props.getScrollParent();return he!=null?he:be&&be.parentNode}},{key:"filterProps",value:function(be){return be}},{key:"attachScrollListener",value:function(){var be=this.getParentElement(this.scrollComponent);if(!(!this.props.hasMore||!be)){var he=window;this.props.useWindow===!1&&(he=be),he.addEventListener("mousewheel",this.mousewheelListener,this.options?this.options:this.props.useCapture),he.addEventListener("scroll",this.scrollListener,this.options?this.options:this.props.useCapture),he.addEventListener("resize",this.scrollListener,this.options?this.options:this.props.useCapture),this.props.initialLoad&&this.scrollListener()}}},{key:"mousewheelListener",value:function(be){be.deltaY===1&&!this.isPassiveSupported()&&be.preventDefault()}},{key:"scrollListener",value:function(){var be=this.scrollComponent,he=window,ce=this.getParentElement(be),Ie=void 0;if(this.props.useWindow){var Ze=document.documentElement||document.body.parentNode||document.body,$e=he.pageYOffset!==void 0?he.pageYOffset:Ze.scrollTop;this.props.isReverse?Ie=$e:Ie=this.calculateOffset(be,$e)}else this.props.isReverse?Ie=ce.scrollTop:Ie=be.scrollHeight-ce.scrollTop-ce.clientHeight;Ie<Number(this.props.threshold)&&be&&be.offsetParent!==null&&(this.detachScrollListener(),this.beforeScrollHeight=ce.scrollHeight,this.beforeScrollTop=ce.scrollTop,typeof this.props.loadMore=="function"&&(this.props.loadMore(this.pageLoaded+=1),this.loadMore=!0))}},{key:"calculateOffset",value:function(be,he){return be?this.calculateTopPosition(be)+(be.offsetHeight-he-window.innerHeight):0}},{key:"calculateTopPosition",value:function(be){return be?be.offsetTop+this.calculateTopPosition(be.offsetParent):0}},{key:"render",value:function(){var be=this,he=this.filterProps(this.props),ce=he.children,Ie=he.element,Ze=he.hasMore,$e=he.initialLoad,oe=he.isReverse,Be=he.loader,tt=he.loadMore,Re=he.pageStart,_e=he.ref,ye=he.threshold,Le=he.useCapture,Ve=he.useWindow,Pe=he.getScrollParent,it=ge(he,["children","element","hasMore","initialLoad","isReverse","loader","loadMore","pageStart","ref","threshold","useCapture","useWindow","getScrollParent"]);it.ref=function(ue){be.scrollComponent=ue,_e&&_e(ue)};var Oe=[ce];return Ze&&(Be?oe?Oe.unshift(Be):Oe.push(Be):this.defaultLoader&&(oe?Oe.unshift(this.defaultLoader):Oe.push(this.defaultLoader))),pe.default.createElement(Ie,it,Oe)}}]),Ne}(Ae.Component);Ue.propTypes={children:Ce.default.node.isRequired,element:Ce.default.node,hasMore:Ce.default.bool,initialLoad:Ce.default.bool,isReverse:Ce.default.bool,loader:Ce.default.node,loadMore:Ce.default.func.isRequired,pageStart:Ce.default.number,ref:Ce.default.func,getScrollParent:Ce.default.func,threshold:Ce.default.number,useCapture:Ce.default.bool,useWindow:Ce.default.bool},Ue.defaultProps={element:"div",hasMore:!1,initialLoad:!0,pageStart:0,ref:null,threshold:250,useWindow:!0,isReverse:!1,useCapture:!1,loader:null,getScrollParent:null},Ct.default=Ue,mn.exports=Ct.default},26724:function(mn,Ct,E){mn.exports=E(51581)},80010:function(mn,Ct,E){"use strict";Ct.__esModule=!0,Ct.default=void 0;var y=Ce(E(59301)),Ae=E(96249),pe=E(73638),ze=E(6217);function Ce(we){return we&&we.__esModule?we:{default:we}}function Fe(){return Fe=Object.assign||function(we){for(var be=1;be<arguments.length;be++){var he=arguments[be];for(var ce in he)Object.prototype.hasOwnProperty.call(he,ce)&&(we[ce]=he[ce])}return we},Fe.apply(this,arguments)}function ge(we,be){var he=Object.keys(we);if(Object.getOwnPropertySymbols){var ce=Object.getOwnPropertySymbols(we);be&&(ce=ce.filter(function(Ie){return Object.getOwnPropertyDescriptor(we,Ie).enumerable})),he.push.apply(he,ce)}return he}function je(we){for(var be=1;be<arguments.length;be++){var he=arguments[be]!=null?arguments[be]:{};be%2?ge(Object(he),!0).forEach(function(ce){me(we,ce,he[ce])}):Object.getOwnPropertyDescriptors?Object.defineProperties(we,Object.getOwnPropertyDescriptors(he)):ge(Object(he)).forEach(function(ce){Object.defineProperty(we,ce,Object.getOwnPropertyDescriptor(he,ce))})}return we}function De(we,be){if(we==null)return{};var he={},ce=Object.keys(we),Ie,Ze;for(Ze=0;Ze<ce.length;Ze++)Ie=ce[Ze],!(be.indexOf(Ie)>=0)&&(he[Ie]=we[Ie]);return he}function se(we){if(we===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return we}function Ue(we,be){we.prototype=Object.create(be.prototype),we.prototype.constructor=we,we.__proto__=be}function me(we,be,he){return be in we?Object.defineProperty(we,be,{value:he,enumerable:!0,configurable:!0,writable:!0}):we[be]=he,we}var Ne=function(we){Ue(be,we);function be(){for(var ce,Ie=arguments.length,Ze=new Array(Ie),$e=0;$e<Ie;$e++)Ze[$e]=arguments[$e];return ce=we.call.apply(we,[this].concat(Ze))||this,me(se(ce),"state",void 0),me(se(ce),"lastHandleRect",null),me(se(ce),"slack",null),ce}var he=be.prototype;return he.componentWillUnmount=function(){this.resetData()},he.lockAspectRatio=function(Ie,Ze,$e){return Ze=Ie/$e,Ie=Ze*$e,[Ie,Ze]},he.resetData=function(){this.lastHandleRect=this.slack=null},he.runConstraints=function(Ie,Ze){var $e=[this.props.minConstraints,this.props.maxConstraints],oe=$e[0],Be=$e[1];if(!oe&&!Be)return[Ie,Ze];if(this.props.lockAspectRatio){var tt=Ze===this.props.height;if(tt){var Re=this.props.width/this.props.height;Ze=Ie/Re,Ie=Ze*Re}else{var _e=this.props.height/this.props.width;Ie=Ze/_e,Ze=Ie*_e}}var ye=Ie,Le=Ze,Ve=this.slack||[0,0],Pe=Ve[0],it=Ve[1];return Ie+=Pe,Ze+=it,oe&&(Ie=Math.max(oe[0],Ie),Ze=Math.max(oe[1],Ze)),Be&&(Ie=Math.min(Be[0],Ie),Ze=Math.min(Be[1],Ze)),this.slack=[Pe+(ye-Ie),it+(Le-Ze)],[Ie,Ze]},he.resizeHandler=function(Ie,Ze){var $e=this;return function(oe,Be){var tt=Be.node,Re=Be.deltaX,_e=Be.deltaY;Ie==="onResizeStart"&&$e.resetData();var ye=($e.props.axis==="both"||$e.props.axis==="x")&&Ze!=="n"&&Ze!=="s",Le=($e.props.axis==="both"||$e.props.axis==="y")&&Ze!=="e"&&Ze!=="w";if(!(!ye&&!Le)){var Ve=Ze[0],Pe=Ze[Ze.length-1],it=tt.getBoundingClientRect();if($e.lastHandleRect!=null){if(Pe==="w"){var Oe=it.left-$e.lastHandleRect.left;Re+=Oe}if(Ve==="n"){var ue=it.top-$e.lastHandleRect.top;_e+=ue}}$e.lastHandleRect=it,Pe==="w"&&(Re=-Re),Ve==="n"&&(_e=-_e);var Xe=$e.props.width+(ye?Re/$e.props.transformScale:0),Ge=$e.props.height+(Le?_e/$e.props.transformScale:0),lt=$e.runConstraints(Xe,Ge);Xe=lt[0],Ge=lt[1];var Tt=Xe!==$e.props.width||Ge!==$e.props.height,Ke=typeof $e.props[Ie]=="function"?$e.props[Ie]:null,Se=Ie==="onResize"&&!Tt;Ke&&!Se&&(typeof oe.persist=="function"&&oe.persist(),Ke(oe,{node:tt,size:{width:Xe,height:Ge},handle:Ze})),Ie==="onResizeStop"&&$e.resetData()}}},he.renderResizeHandle=function(Ie){var Ze=this.props.handle;return Ze?typeof Ze=="function"?Ze(Ie):Ze:y.default.createElement("span",{className:"react-resizable-handle react-resizable-handle-"+Ie})},he.render=function(){var Ie=this,Ze=this.props,$e=Ze.children,oe=Ze.className,Be=Ze.draggableOpts,tt=Ze.width,Re=Ze.height,_e=Ze.handle,ye=Ze.handleSize,Le=Ze.lockAspectRatio,Ve=Ze.axis,Pe=Ze.minConstraints,it=Ze.maxConstraints,Oe=Ze.onResize,ue=Ze.onResizeStop,Xe=Ze.onResizeStart,Ge=Ze.resizeHandles,lt=Ze.transformScale,Tt=De(Ze,["children","className","draggableOpts","width","height","handle","handleSize","lockAspectRatio","axis","minConstraints","maxConstraints","onResize","onResizeStop","onResizeStart","resizeHandles","transformScale"]);return(0,pe.cloneElement)($e,je(je({},Tt),{},{className:(oe?oe+" ":"")+"react-resizable",children:[].concat($e.props.children,Ge.map(function(Ke){return y.default.createElement(Ae.DraggableCore,Fe({},Be,{key:"resizableHandle-"+Ke,onStop:Ie.resizeHandler("onResizeStop",Ke),onStart:Ie.resizeHandler("onResizeStart",Ke),onDrag:Ie.resizeHandler("onResize",Ke)}),Ie.renderResizeHandle(Ke))}))}))},be}(y.default.Component);Ct.default=Ne,me(Ne,"propTypes",ze.resizableProps),me(Ne,"defaultProps",{handleSize:[20,20],lockAspectRatio:!1,axis:"both",minConstraints:[20,20],maxConstraints:[1/0,1/0],resizeHandles:["se"],transformScale:1})},60842:function(mn,Ct,E){"use strict";var y;y=!0,Ct.default=void 0;var Ae=je(E(59301)),pe=Fe(E(12708)),ze=Fe(E(80010)),Ce=E(6217);function Fe(ce){return ce&&ce.__esModule?ce:{default:ce}}function ge(){if(typeof WeakMap!="function")return null;var ce=new WeakMap;return ge=function(){return ce},ce}function je(ce){if(ce&&ce.__esModule)return ce;if(ce===null||typeof ce!="object"&&typeof ce!="function")return{default:ce};var Ie=ge();if(Ie&&Ie.has(ce))return Ie.get(ce);var Ze={},$e=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var oe in ce)if(Object.prototype.hasOwnProperty.call(ce,oe)){var Be=$e?Object.getOwnPropertyDescriptor(ce,oe):null;Be&&(Be.get||Be.set)?Object.defineProperty(Ze,oe,Be):Ze[oe]=ce[oe]}return Ze.default=ce,Ie&&Ie.set(ce,Ze),Ze}function De(){return De=Object.assign||function(ce){for(var Ie=1;Ie<arguments.length;Ie++){var Ze=arguments[Ie];for(var $e in Ze)Object.prototype.hasOwnProperty.call(Ze,$e)&&(ce[$e]=Ze[$e])}return ce},De.apply(this,arguments)}function se(ce,Ie){var Ze=Object.keys(ce);if(Object.getOwnPropertySymbols){var $e=Object.getOwnPropertySymbols(ce);Ie&&($e=$e.filter(function(oe){return Object.getOwnPropertyDescriptor(ce,oe).enumerable})),Ze.push.apply(Ze,$e)}return Ze}function Ue(ce){for(var Ie=1;Ie<arguments.length;Ie++){var Ze=arguments[Ie]!=null?arguments[Ie]:{};Ie%2?se(Object(Ze),!0).forEach(function($e){be(ce,$e,Ze[$e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(ce,Object.getOwnPropertyDescriptors(Ze)):se(Object(Ze)).forEach(function($e){Object.defineProperty(ce,$e,Object.getOwnPropertyDescriptor(Ze,$e))})}return ce}function me(ce,Ie){if(ce==null)return{};var Ze={},$e=Object.keys(ce),oe,Be;for(Be=0;Be<$e.length;Be++)oe=$e[Be],!(Ie.indexOf(oe)>=0)&&(Ze[oe]=ce[oe]);return Ze}function Ne(ce){if(ce===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return ce}function we(ce,Ie){ce.prototype=Object.create(Ie.prototype),ce.prototype.constructor=ce,ce.__proto__=Ie}function be(ce,Ie,Ze){return Ie in ce?Object.defineProperty(ce,Ie,{value:Ze,enumerable:!0,configurable:!0,writable:!0}):ce[Ie]=Ze,ce}var he=function(ce){we(Ie,ce);function Ie(){for(var $e,oe=arguments.length,Be=new Array(oe),tt=0;tt<oe;tt++)Be[tt]=arguments[tt];return $e=ce.call.apply(ce,[this].concat(Be))||this,be(Ne($e),"state",{width:$e.props.width,height:$e.props.height,propsWidth:$e.props.width,propsHeight:$e.props.height}),be(Ne($e),"onResize",function(Re,_e){var ye=_e.size;$e.props.onResize?(Re.persist&&Re.persist(),$e.setState(ye,function(){return $e.props.onResize&&$e.props.onResize(Re,_e)})):$e.setState(ye)}),$e}Ie.getDerivedStateFromProps=function(oe,Be){return Be.propsWidth!==oe.width||Be.propsHeight!==oe.height?{width:oe.width,height:oe.height,propsWidth:oe.width,propsHeight:oe.height}:null};var Ze=Ie.prototype;return Ze.render=function(){var oe=this.props,Be=oe.handle,tt=oe.handleSize,Re=oe.onResize,_e=oe.onResizeStart,ye=oe.onResizeStop,Le=oe.draggableOpts,Ve=oe.minConstraints,Pe=oe.maxConstraints,it=oe.lockAspectRatio,Oe=oe.axis,ue=oe.width,Xe=oe.height,Ge=oe.resizeHandles,lt=oe.style,Tt=oe.transformScale,Ke=me(oe,["handle","handleSize","onResize","onResizeStart","onResizeStop","draggableOpts","minConstraints","maxConstraints","lockAspectRatio","axis","width","height","resizeHandles","style","transformScale"]);return Ae.createElement(ze.default,{axis:Oe,draggableOpts:Le,handle:Be,handleSize:tt,height:this.state.height,lockAspectRatio:it,maxConstraints:Pe,minConstraints:Ve,onResizeStart:_e,onResize:this.onResize,onResizeStop:ye,resizeHandles:Ge,transformScale:Tt,width:this.state.width},Ae.createElement("div",De({},Ke,{style:Ue(Ue({},lt),{},{width:this.state.width+"px",height:this.state.height+"px"})})))},Ie}(Ae.Component);Ct.default=he,be(he,"propTypes",Ue(Ue({},Ce.resizableProps),{},{children:pe.default.element}))},6217:function(mn,Ct,E){"use strict";Ct.__esModule=!0,Ct.resizableProps=void 0;var y=pe(E(12708)),Ae=E(96249);function pe(Ce){return Ce&&Ce.__esModule?Ce:{default:Ce}}var ze={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};Ct.resizableProps=ze},73638:function(mn,Ct,E){"use strict";Ct.__esModule=!0,Ct.cloneElement=Fe;var y=Ae(E(59301));function Ae(ge){return ge&&ge.__esModule?ge:{default:ge}}function pe(ge,je){var De=Object.keys(ge);if(Object.getOwnPropertySymbols){var se=Object.getOwnPropertySymbols(ge);je&&(se=se.filter(function(Ue){return Object.getOwnPropertyDescriptor(ge,Ue).enumerable})),De.push.apply(De,se)}return De}function ze(ge){for(var je=1;je<arguments.length;je++){var De=arguments[je]!=null?arguments[je]:{};je%2?pe(Object(De),!0).forEach(function(se){Ce(ge,se,De[se])}):Object.getOwnPropertyDescriptors?Object.defineProperties(ge,Object.getOwnPropertyDescriptors(De)):pe(Object(De)).forEach(function(se){Object.defineProperty(ge,se,Object.getOwnPropertyDescriptor(De,se))})}return ge}function Ce(ge,je,De){return je in ge?Object.defineProperty(ge,je,{value:De,enumerable:!0,configurable:!0,writable:!0}):ge[je]=De,ge}function Fe(ge,je){return je.style&&ge.props.style&&(je.style=ze(ze({},ge.props.style),je.style)),je.className&&ge.props.className&&(je.className=ge.props.className+" "+je.className),y.default.cloneElement(ge,je)}},9221:function(mn,Ct,E){"use strict";mn.exports=function(){throw new Error("Don't instantiate Resizable directly! Use require('react-resizable').Resizable")},mn.exports.Resizable=E(80010).default,mn.exports.ResizableBox=E(60842).default},25510:function(mn){"use strict";mn.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAiwAAAIsCAYAAADRd/LpAAAgAElEQVR4Xuyda5BtVXXvV3efc+CAYBQRjaJBeWjiVVKVB0mMUV6GKv0cvVVG/XTrViUlSd0bqUoQg4KapKJW8j3mWinNx1SRSgkciKARYiqi1ycvFZSggHgFDofz6L71m3v/9xk9eq695ty91t67u8eimu6z91zzMcaYY/znGGPOudLEExQICgQFggJBgaBAUGDJKbBC/26+98jGkvczuhcUCAoEBYICQYGgwB6lwJUXnroSgGWPMj+GHRQICgQFggJBgZ1CgS2A5YoLTtkpfY9+BgWCAkGBoEBQICiwyylwy33PpREGYNnljI7hBQWCAkGBoEBQYCdTIADLTuZe9D0oE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/5if34Jz+1d22xnR197Ddt2rrr2uxZs23s+LEBsLBbJ8Szjhphs+bOC5YO3FOvvPyy/ebMM+zggw6y5595zsaMHm2LTppgL7/wYtiQvOOu/2jv/cAH7P27vc/m2Ov2u4vOtyuuuNyO+eY3bez4Cbbi8svbqy/PtJf+9oLNnTXbRsydZ8d+81u21VZb2wpvfasdcMD+dtIpPwoxLJMmTwrbp595/Anb7O1vt2223Mq+9pWv2siJE+33l15iJ//0p/brs39jy660oj14/73hbKQVV1jBPrznXnbAgQeGocAVRF+gr790rnUBLAWwtCsOC2DJp1wBLAWw5HNNB54ogKUZsMjCcuXlV9hvzzrHvnPccTZ50mRbcurUEAD68ssvhziM0WPG2vhJE23Ft65kxxx/rM18eaZ9fr/97E+3/skmjB9v3zjqKFt6yaXs+quutUsvuMiuue5aW2T8Inbu+efZVltvHbZG33LrLfaRj3zEXnvtVVtnnbXt9F/+0iZMnBjcUQR7H3HEkbbV5pvZT37ykwBifnDiD0KW1n9+3wfsC1/6oq215po2ZpGxfUGsNrtvU01I+DbK5r4+x8aMGGUv/O0Fm3H3Pfbv/7a3PXD/X23XXXe19ddfzzbb5G12wcUX2+k//6W99tosW3+99e1XZ54Z3DCf+PQn7eprrrannn/aPvjB3e0D73+/PfPUU3brLX+y478JPSbaN75xtG280UZhq/deH/mwzXx1pu20y062yz/ubBPfsqjtt+8X7MmHH7X11p5m//Otb9vqq69tN15/rZ140g/sxz/7ic0dO9Le99732YYbTLcVll/epq21tm20ySbzdzD17S9iy7cy7gZXyPw5UABLASztisMCWPIpVwBLASz5XNOBJwpg6QMs7CB59NFHbcsttwxU1Xb4kOhtvmK84vLf2zlnnWXHH3ucTZo4ySZNmmSjx4wOwbFYENiGO2nRybbKaqvaMccdazded4Mdeeih9tijj4Wg2lN/9rOwK2jG7XfY1b//vX3xC1+28YtOsF+feaZtseWWNmvOHLvplpsDYGG30Lrrrms//elPQ06Na66+OgCWww873LbeZhs76Yc/tD/84UY78cQT7cKLLrL37/FB+++v7G9rrLGmjSADLwnm5r7WlzyMlLbs+QnpS14P7bn5pltt749+xJZdehk78sgjbOONN7IllphiL738ou237352+SWX29hRY+17J37fVnjrCvbxT37C/vDHP9riUxcPcSwrLLO8vfDC32zGXXfZx/b+t5Cw8dvHn2Brr72O3XvfvfbZfT9jq6y+in1or73sA8ThjFvEDjn8SDvzF7+2xSZOtgM//2V7/7+83/508y32fz/8vp38s1Ns1PhF7Mprr7ZVlls+ZLcdM2qMjRnLoZEcc9C3zbtvbxCRyH1gZX4aluISKjEsbUvDAljySVcASwEs+VzTgScKYGkGLH0JZV+3q6+6yn7323PtW0cfbWuvsaZt+45t+/JdjCThGnlMRtioMWNssSmL2ft2+4Cdecav7bhvHWcv/O1vtsvOO9uJP/iBjRk5xh595CG76Y832gfe///sLYsvZr88/XTbfMstQv6Tm2+91fbYfY/g/thg/fUDYFl08mS7WoDl8CNtm222thN/eJLdfPNNAbj87ne/tX9833vtawd9LcTUAFiwrMx9ffb8RGucJzSq75yiESPt7rtn2JVXXm2f/cxnbf31N7Djjv2WTZ++QThO4PUR8+yggw6ys848y5576nk79LDDbM01VrPPf+m/QgDt6musbuedf74tOXVJe+WVl+0v9/3F9tjjQ/bIww/bN446Ouyauv322+yrB+5vSy+7tG2+xWb2trdvYiNHj7RzLrzYbrjyGpsy+S22z3982j7x8U/aH2/6g/3gRyfZz375c3vLkovbTTfdbMtNmdJ3oGJIudJ34GII8OGMGfH8/DOaOCuJq1hYioWlXXFYAEs+5QpgKYAln2s68EQBLM2AhWX9vLlz7bprr7XzzzvPjv7GUbb9dtvbFz//haDAcVPMsXk2dvy4cA4QwGPqUkvZ9/7ve/a9737PXnv1VfvAbrvZccceGzLG/u3F5+z2O2+zbbZ5hy2x5FT7xS9+YVtsvkVwdtzyp1tst/d/MOQq2XD6dPvZz061iePH2zVXX2OXX3G5HXHkkbbV1lvZD086yW67/TY75eST7de//rW9Y4ft7agjjrT11l03HHgYzhsaafbySy8FlxWuq3Hjxtn4CRPt5ptvtQ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oSiYIRn7r9PpUCEiAn/vMxvAepN1BYTgFkBuUYoUApoCEBYcWEUpuSaRSK/UqIBkQghbZX2W7jhgKKWylCx9WwOPdoTQhylIE0IRbemzzGe9La+oTHGA+aWjBIkE9Byl5JSEw6EaFaRHCCFs+3lH0h0FTHK6bjIFhoNtm8pTOQd8wgGiJsBPtSvLrAIPe6vqOw8YguGg5YDx1oCVl+OCA4SoCb1PAcO6Zt6SAe0IpQ9TigcBRANwHhSxfGaUc8A1B1g4s0RC8B8l5JQE9/mWzFF/iw/9hOjrGkCiYKDmQz9AaxKCqpSSagAtP/S7njRllIIUEELZgT+VgqZwIDeMh34JUUlAr1FaRg/9noxm8bUy1esq6+1cK5vORiS8/FrZEy7fmbzOrpUBqgGImhCoCUqulaU8zSBSWbpEh/SqVYmVz+0700rxpd7RM4z45ng3hz3BJSREoadQSDkSZKBQgPIKUAeCS8IHMiElE16aBZeAnICTWQouCYHUJMQ0Ci9vCy6JlIJKOJOAkqNMcGkrwCTMFJdYCCwtBZilBZbsO5NWwiQPoaUFlsQouGQSS8oTkzCzRHAJGIWVtLTgEryOAtpiwSUTWjJhJqi14JKnKCKEFoKgEITLlxDk63laICXIh4Hme0Nw6d3RvzOl/R8AdGoXzom1qQAAAABJRU5ErkJggg=="},96622:function(mn){"use strict";mn.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABwAAAAUCAYAAACeXl35AAAAAXNSR0IArs4c6QAAAI5JREFUSEtjZKASMI65Jnl2idZzQsYxElJArLxR/CVjxr8szwhZSlULQY4jZCnVLSRkKU0sxGcpzSzEZSkjKLKJTRjkqEOPU5pbiO5TuliIbCndLIRZOnwthCUeuvgQOaXS3EKMbEFO3sKmB1t+xlau0qykwVWI08RCfDUG1S2ka/VEyDJw5qdWoiG2iQEA4ntvEVdpqFkAAAAASUVORK5CYII="},12971:function(mn){"use strict";mn.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACQAAAAcCAYAAAAJKR1YAAAAAXNSR0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Acp/JNxxxyddj4b5J3GSmF6y3TheG4qWOHGPTX2rosmtKoiMdkJxA1t++BGa0idji4YDQlSF8z4PY6FkfxlWWUG259vIPiGwcfoKU4gNDAssOZcTIRWhaOQUU35lHZIQpWuOwciOqDV7h9zmNb0sGHZHpivpY0fNdbZJkd7HLJcaxq83fSwZ4nmeSMI0D5XJfGcETmxyFjSUUrRtL2NI5/d9h0Jp2HSOBuxSTIzMxvbbIsgzLL8tPCgrSMkyzKDnHW9qtcNLPCDHIqQwQjNIIVkQ7FfNI9zl59TWeBD11jTqR1tIvrKda2d/e3kmOOIW3vLiR7E6asQTyjjNeqDGMKFKrWCariPcqrz5O1tik2blTb5tPGx2rgU9VjmPUEWSWYGmoKSN61fBSYZgiSnsRSlIZRBRzyuRo2tRE52nlB5NeOOObkDzCzPhmY5j2OVqo5FTvpevk3v+nNcnStciqioqKiqi87CieF7hkarXNVUVFTp16flP8AUX7oqfRU+qc4DIwzGkG5HNciKiovX7/hf8VPsqL0VFRUVEVOYc6+c+OOOOOOOOOOOOOOOOOOOOOOOObjjzFTMhhY573uRqI1FXrtevk7r+mtanaucqoiIiqqoic7BCeZ7RjarnOVERETr06/lf8AET7qq/RE+q84EIwLHEI5GtaiqqqvT7fhP9VfsiJ1VVVERFVef//Z"},69429:function(mn,Ct,E){"use strict";mn.exports=E.p+"static/lock.1b5026ee.png"},16722:function(mn,Ct,E){"use strict";E.d(Ct,{Z:function(){return je}});const y=De=>typeof De=="object"&&De!=null&&De.nodeType===1,Ae=(De,se)=>(!se||De!=="hidden")&&De!=="visible"&&De!=="clip",pe=(De,se)=>{if(De.clientHeight<De.scrollHeight||De.clientWidth<De.scrollWidth){const Ue=getComputedStyle(De,null);return Ae(Ue.overflowY,se)||Ae(Ue.overflowX,se)||(me=>{const Ne=(we=>{if(!we.ownerDocument||!we.ownerDocument.defaultView)return null;try{return we.ownerDocument.defaultView.frameElement}catch(be){return null}})(me);return!!Ne&&(Ne.clientHeight<me.scrollHeight||Ne.clientWidth<me.scrollWidth)})(De)}return!1},ze=(De,se,Ue,me,Ne,we,be,he)=>we<De&&be>se||we>De&&be<se?0:we<=De&&he<=Ue||be>=se&&he>=Ue?we-De-me:be>se&&he<Ue||we<De&&he>Ue?be-se+Ne:0,Ce=De=>{const se=De.parentElement;return se==null?De.getRootNode().host||null:se},Fe=(De,se)=>{var Ue,me,Ne,we;if(typeof document=="undefined")return[];const{scrollMode:be,block:he,inline:ce,boundary:Ie,skipOverflowHiddenElements:Ze}=se,$e=typeof Ie=="function"?Ie:ut=>ut!==Ie;if(!y(De))throw new TypeError("Invalid target");const oe=document.scrollingElement||document.documentElement,Be=[];let tt=De;for(;y(tt)&&$e(tt);){if(tt=Ce(tt),tt===oe){Be.push(tt);break}tt!=null&&tt===document.body&&pe(tt)&&!pe(document.documentElement)||tt!=null&&pe(tt,Ze)&&Be.push(tt)}const Re=(me=(Ue=window.visualViewport)==null?void 0:Ue.width)!=null?me:innerWidth,_e=(we=(Ne=window.visualViewport)==null?void 0:Ne.height)!=null?we:innerHeight,{scrollX:ye,scrollY:Le}=window,{height:Ve,width:Pe,top:it,right:Oe,bottom:ue,left:Xe}=De.getBoundingClientRect(),{top:Ge,right:lt,bottom:Tt,left:Ke}=(ut=>{const xe=window.getComputedStyle(ut);return{top:parseFloat(xe.scrollMarginTop)||0,right:parseFloat(xe.scrollMarginRight)||0,bottom:parseFloat(xe.scrollMarginBottom)||0,left:parseFloat(xe.scrollMarginLeft)||0}})(De);let Se=he==="start"||he==="nearest"?it-Ge:he==="end"?ue+Tt:it+Ve/2-Ge+Tt,Ft=ce==="center"?Xe+Pe/2-Ke+lt:ce==="end"?Oe+lt:Xe-Ke;const It=[];for(let ut=0;ut<Be.length;ut++){const xe=Be[ut],{height:ke,width:at,top:Rt,right:ft,bottom:Nt,left:xt}=xe.getBoundingClientRect();if(be==="if-needed"&&it>=0&&Xe>=0&&ue<=_e&&Oe<=Re&&(xe===oe&&!pe(xe)||it>=Rt&&ue<=Nt&&Xe>=xt&&Oe<=ft))return It;const Xt=getComputedStyle(xe),Wt=parseInt(Xt.borderLeftWidth,10),de=parseInt(Xt.borderTopWidth,10),ne=parseInt(Xt.borderRightWidth,10),te=parseInt(Xt.borderBottomWidth,10);let le=0,ve=0;const re="offsetWidth"in xe?xe.offsetWidth-xe.clientWidth-Wt-ne:0,fe="offsetHeight"in xe?xe.offsetHeight-xe.clientHeight-de-te:0,Ye="offsetWidth"in xe?xe.offsetWidth===0?0:at/xe.offsetWidth:0,vt="offsetHeight"in xe?xe.offsetHeight===0?0:ke/xe.offsetHeight:0;if(oe===xe)le=he==="start"?Se:he==="end"?Se-_e:he==="nearest"?ze(Le,Le+_e,_e,de,te,Le+Se,Le+Se+Ve,Ve):Se-_e/2,ve=ce==="start"?Ft:ce==="center"?Ft-Re/2:ce==="end"?Ft-Re:ze(ye,ye+Re,Re,Wt,ne,ye+Ft,ye+Ft+Pe,Pe),le=Math.max(0,le+Le),ve=Math.max(0,ve+ye);else{le=he==="start"?Se-Rt-de:he==="end"?Se-Nt+te+fe:he==="nearest"?ze(Rt,Nt,ke,de,te+fe,Se,Se+Ve,Ve):Se-(Rt+ke/2)+fe/2,ve=ce==="start"?Ft-xt-Wt:ce==="center"?Ft-(xt+at/2)+re/2:ce==="end"?Ft-ft+ne+re:ze(xt,ft,at,Wt,ne+re,Ft,Ft+Pe,Pe);const{scrollLeft:et,scrollTop:nt}=xe;le=vt===0?0:Math.max(0,Math.min(nt+le/vt,xe.scrollHeight-ke/vt+fe)),ve=Ye===0?0:Math.max(0,Math.min(et+ve/Ye,xe.scrollWidth-at/Ye+re)),Se+=nt-le,Ft+=et-ve}It.push({el:xe,top:le,left:ve})}return It},ge=De=>De===!1?{block:"end",inline:"nearest"}:(se=>se===Object(se)&&Object.keys(se).length!==0)(De)?De:{block:"start",inline:"nearest"};function je(De,se){if(!De.isConnected||!(Ne=>{let we=Ne;for(;we&&we.parentNode;){if(we.parentNode===document)return!0;we=we.parentNode instanceof ShadowRoot?we.parentNode.host:we.parentNode}return!1})(De))return;const Ue=(Ne=>{const we=window.getComputedStyle(Ne);return{top:parseFloat(we.scrollMarginTop)||0,right:parseFloat(we.scrollMarginRight)||0,bottom:parseFloat(we.scrollMarginBottom)||0,left:parseFloat(we.scrollMarginLeft)||0}})(De);if((Ne=>typeof Ne=="object"&&typeof Ne.behavior=="function")(se))return se.behavior(Fe(De,se));const me=typeof se=="boolean"||se==null?void 0:se.behavior;for(const{el:Ne,top:we,left:be}of Fe(De,ge(se))){const he=we-Ue.top+Ue.bottom,ce=be-Ue.left+Ue.right;Ne.scroll({top:he,left:ce,behavior:me})}}}}]);
|
|
|
}()); |