(self.webpackChunk=self.webpackChunk||[]).push([[6095],{89489:function(Ln,pt,M){"use strict";M.d(pt,{Z:function(){return m}});var h=M(54476),k=M(59301),P={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"},_=P,B=M(7657),C=function(d,l){return k.createElement(B.Z,(0,h.Z)({},d,{ref:l,icon:_}))},p=k.forwardRef(C),m=p},59477:function(Ln,pt,M){"use strict";M.d(pt,{Z:function(){return m}});var h=M(54476),k=M(59301),P={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"},_=P,B=M(7657),C=function(d,l){return k.createElement(B.Z,(0,h.Z)({},d,{ref:l,icon:_}))},p=k.forwardRef(C),m=p},40001:function(Ln,pt,M){"use strict";M.d(pt,{Z:function(){return m}});var h=M(54476),k=M(59301),P={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"},_=P,B=M(7657),C=function(d,l){return k.createElement(B.Z,(0,h.Z)({},d,{ref:l,icon:_}))},p=k.forwardRef(C),m=p},26227:function(Ln,pt,M){"use strict";M.d(pt,{Z:function(){return m}});var h=M(54476),k=M(59301),P={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"},_=P,B=M(7657),C=function(d,l){return k.createElement(B.Z,(0,h.Z)({},d,{ref:l,icon:_}))},p=k.forwardRef(C),m=p},49198:function(Ln,pt,M){"use strict";M.d(pt,{Z:function(){return m}});var h=M(54476),k=M(59301),P={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"},_=P,B=M(7657),C=function(d,l){return k.createElement(B.Z,(0,h.Z)({},d,{ref:l,icon:_}))},p=k.forwardRef(C),m=p},41464:function(Ln,pt,M){"use strict";M.d(pt,{Z:function(){return m}});var h=M(54476),k=M(59301),P={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"},_=P,B=M(7657),C=function(d,l){return k.createElement(B.Z,(0,h.Z)({},d,{ref:l,icon:_}))},p=k.forwardRef(C),m=p},73331:function(Ln,pt,M){"use strict";M.d(pt,{Z:function(){return m}});var h=M(54476),k=M(59301),P={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"},_=P,B=M(7657),C=function(d,l){return k.createElement(B.Z,(0,h.Z)({},d,{ref:l,icon:_}))},p=k.forwardRef(C),m=p},15277:function(Ln,pt,M){"use strict";M.d(pt,{Z:function(){return m}});var h=M(54476),k=M(59301),P={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"},_=P,B=M(7657),C=function(d,l){return k.createElement(B.Z,(0,h.Z)({},d,{ref:l,icon:_}))},p=k.forwardRef(C),m=p},52671:function(Ln,pt,M){"use strict";M.d(pt,{Z:function(){return m}});var h=M(54476),k=M(59301),P={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"},_=P,B=M(7657),C=function(d,l){return k.createElement(B.Z,(0,h.Z)({},d,{ref:l,icon:_}))},p=k.forwardRef(C),m=p},8657:function(Ln,pt,M){"use strict";M.d(pt,{Z:function(){return m}});var h=M(54476),k=M(59301),P={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"},_=P,B=M(7657),C=function(d,l){return k.createElement(B.Z,(0,h.Z)({},d,{ref:l,icon:_}))},p=k.forwardRef(C),m=p},56082:function(Ln,pt,M){"use strict";M.d(pt,{Z:function(){return m}});var h=M(54476),k=M(59301),P={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"},_=P,B=M(7657),C=function(d,l){return k.createElement(B.Z,(0,h.Z)({},d,{ref:l,icon:_}))},p=k.forwardRef(C),m=p},33853:function(Ln,pt,M){"use strict";M.d(pt,{Z:function(){return m}});var h=M(54476),k=M(59301),P={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"},_=P,B=M(7657),C=function(d,l){return k.createElement(B.Z,(0,h.Z)({},d,{ref:l,icon:_}))},p=k.forwardRef(C),m=p},15075:function(Ln,pt,M){"use strict";M.d(pt,{Z:function(){return m}});var h=M(54476),k=M(59301),P={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"},_=P,B=M(7657),C=function(d,l){return k.createElement(B.Z,(0,h.Z)({},d,{ref:l,icon:_}))},p=k.forwardRef(C),m=p},43531:function(Ln,pt,M){"use strict";M.d(pt,{Z:function(){return m}});var h=M(54476),k=M(59301),P={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"},_=P,B=M(7657),C=function(d,l){return k.createElement(B.Z,(0,h.Z)({},d,{ref:l,icon:_}))},p=k.forwardRef(C),m=p},61485:function(Ln,pt,M){"use strict";M.d(pt,{Z:function(){return m}});var h=M(54476),k=M(59301),P={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"},_=P,B=M(7657),C=function(d,l){return k.createElement(B.Z,(0,h.Z)({},d,{ref:l,icon:_}))},p=k.forwardRef(C),m=p},47472:function(Ln,pt,M){"use strict";M.d(pt,{Z:function(){return m}});var h=M(54476),k=M(59301),P={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"},_=P,B=M(7657),C=function(d,l){return k.createElement(B.Z,(0,h.Z)({},d,{ref:l,icon:_}))},p=k.forwardRef(C),m=p},70031:function(Ln,pt){"use strict";pt.Z={flex_box_center:"flex_box_center___vG4eV",flex_space_between:"flex_space_between___qVVxe",flex_box_vertical_center:"flex_box_vertical_center___P8Z8s",flex_box_center_end:"flex_box_center_end___VMme3",flex_box_column:"flex_box_column___VMHwm",dropdownmenus:"dropdownmenus___oVzoj",popupClassNames:"popupClassNames___OcZq7",selectdown:"selectdown___mmcA8"}},97563:function(Ln,pt){"use strict";pt.Z={ChangeBut:"ChangeBut___VMCUO",DefaultDiv:"DefaultDiv___diOnG",DefaultDivItemActive:"DefaultDivItemActive___p8PnJ",DefaultDivItem:"DefaultDivItem___BkCuW",TableStyle:"TableStyle___DOsaq",ProgressStyle:"ProgressStyle___Mbw5z",ProgressStyle2:"ProgressStyle2___w9DG9",RankingDiv:"RankingDiv___RCXlB",NavBgTwo:"NavBgTwo___KU7t1",NavBgTwoActive:"NavBgTwoActive___hkC0h",NavBgItem:"NavBgItem___TBfQf",InputStyle:"InputStyle___BAYzG",TableMyHeader:"TableMyHeader___nZel6",TableMyDiv:"TableMyDiv___F4fkZ",CollapseStyle:"CollapseStyle___VkVMr",Item:"Item___pqPqX",SituationItem:"SituationItem___MzguO",waveDom:"waveDom___N1Yew",wave:"wave___UTqsO",select:"select___Yd9qe",selectWrap:"selectWrap___ddND4",masteryList:"masteryList___jQNpd",row:"row___h3q8Q",masteryHead:"masteryHead___B6Wcy",masteryBody:"masteryBody___DZSiT",dot:"dot___ZZ043"}},96435:function(Ln,pt,M){"use strict";var h=M(59301),k=Object.defineProperty,P=Object.getOwnPropertySymbols,_=Object.prototype.hasOwnProperty,B=Object.prototype.propertyIsEnumerable,C=(E,d,l)=>d in E?k(E,d,{enumerable:!0,configurable:!0,writable:!0,value:l}):E[d]=l,p=(E,d)=>{for(var l in d||(d={}))_.call(d,l)&&C(E,l,d[l]);if(P)for(var l of P(d))B.call(d,l)&&C(E,l,d[l]);return E};const m=E=>React.createElement("svg",p({className:"jiangxu_svg__icon",viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg",width:32,height:32},E),React.createElement("path",{d:"M365.714 73.143H1024v73.143H365.714zm0 292.571H1024v73.143H365.714zm0 292.572H1024v73.143H365.714zm0 292.571H1024V1024H365.714v-73.143z",fill:"#98BDF7"}),React.createElement("path",{d:"m248.686 803.182-65.829 75.922V658.286h-73.143v220.818l-65.828-75.995L0 851.383 146.286 1024 292.57 851.53z",fill:"#145DFF"}),React.createElement("path",{d:"M146.286 0 0 158.72l43.886 55.223 65.828-75.922v227.693h73.143V138.021l65.829 75.922 43.885-55.223z",fill:"#98BDF7"}));pt.Z="data:image/svg+xml;base64,PHN2ZyBjbGFzcz0iaWNvbiIgdmlld0JveD0iMCAwIDEwMjQgMTAyNCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB3aWR0aD0iMzIiIGhlaWdodD0iMzIiPjxwYXRoIGQ9Ik0zNjUuNzE0IDczLjE0M0gxMDI0djczLjE0M0gzNjUuNzE0em0wIDI5Mi41NzFIMTAyNHY3My4xNDNIMzY1LjcxNHptMCAyOTIuNTcySDEwMjR2NzMuMTQzSDM2NS43MTR6bTAgMjkyLjU3MUgxMDI0VjEwMjRIMzY1LjcxNHYtNzMuMTQzeiIgZmlsbD0iIzk4QkRGNyIvPjxwYXRoIGQ9Im0yNDguNjg2IDgwMy4xODItNjUuODI5IDc1LjkyMlY2NTguMjg2aC03My4xNDN2MjIwLjgxOGwtNjUuODI4LTc1Ljk5NUwwIDg1MS4zODMgMTQ2LjI4NiAxMDI0IDI5Mi41NyA4NTEuNTN6IiBmaWxsPSIjMTQ1REZGIi8+PHBhdGggZD0iTTE0Ni4yODYgMCAwIDE1OC43Mmw0My44ODYgNTUuMjIzIDY1LjgyOC03NS45MjJ2MjI3LjY5M2g3My4xNDNWMTM4LjAyMWw2NS44MjkgNzUuOTIyIDQzLjg4NS01NS4yMjN6IiBmaWxsPSIjOThCREY3Ii8+PC9zdmc+"},64303:function(Ln,pt,M){"use strict";var h=M(59301),k=Object.defineProperty,P=Object.getOwnPropertySymbols,_=Object.prototype.hasOwnProperty,B=Object.prototype.propertyIsEnumerable,C=(E,d,l)=>d in E?k(E,d,{enumerable:!0,configurable:!0,writable:!0,value:l}):E[d]=l,p=(E,d)=>{for(var l in d||(d={}))_.call(d,l)&&C(E,l,d[l]);if(P)for(var l of P(d))B.call(d,l)&&C(E,l,d[l]);return E};const m=E=>React.createElement("svg",p({className:"shengxu_svg__icon",viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg",width:32,height:32},E),React.createElement("path",{d:"M365.714 73.143H1024v73.143H365.714zm0 292.571H1024v73.143H365.714zm0 292.572H1024v73.143H365.714zm0 292.571H1024V1024H365.714v-73.143zM248.686 803.182l-65.829 75.922V658.286h-73.143v220.818l-65.828-75.995L0 851.383 146.286 1024 292.57 851.53z",fill:"#98BDF7"}),React.createElement("path",{d:"M146.286 0 0 158.72l43.886 55.223 65.828-75.922v227.693h73.143V138.021l65.829 75.922 43.885-55.223z",fill:"#145DFF"}));pt.Z="data:image/svg+xml;base64,PHN2ZyBjbGFzcz0iaWNvbiIgdmlld0JveD0iMCAwIDEwMjQgMTAyNCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB3aWR0aD0iMzIiIGhlaWdodD0iMzIiPjxwYXRoIGQ9Ik0zNjUuNzE0IDczLjE0M0gxMDI0djczLjE0M0gzNjUuNzE0em0wIDI5Mi41NzFIMTAyNHY3My4xNDNIMzY1LjcxNHptMCAyOTIuNTcySDEwMjR2NzMuMTQzSDM2NS43MTR6bTAgMjkyLjU3MUgxMDI0VjEwMjRIMzY1LjcxNHYtNzMuMTQzek0yNDguNjg2IDgwMy4xODJsLTY1LjgyOSA3NS45MjJWNjU4LjI4NmgtNzMuMTQzdjIyMC44MThsLTY1LjgyOC03NS45OTVMMCA4NTEuMzgzIDE0Ni4yODYgMTAyNCAyOTIuNTcgODUxLjUzeiIgZmlsbD0iIzk4QkRGNyIvPjxwYXRoIGQ9Ik0xNDYuMjg2IDAgMCAxNTguNzJsNDMuODg2IDU1LjIyMyA2NS44MjgtNzUuOTIydjIyNy42OTNoNzMuMTQzVjEzOC4wMjFsNjUuODI5IDc1LjkyMiA0My44ODUtNTUuMjIzeiIgZmlsbD0iIzE0NURGRiIvPjwvc3ZnPg=="},73375:function(Ln,pt){var M=(h,k,P)=>new Promise((_,B)=>{var C=E=>{try{m(P.next(E))}catch(d){B(d)}},p=E=>{try{m(P.throw(E))}catch(d){B(d)}},m=E=>E.done?_(E.value):Promise.resolve(E.value).then(C,p);m((P=P.apply(h,k)).next())});(function(h,k){k(pt)})(this,function(h){"use strict";var k={value:()=>{}};function P(){for(var S,R=0,U=arguments.length,H={};R=0&&(H=U.slice(G+1),U=U.slice(0,G)),U&&!R.hasOwnProperty(U))throw new Error("unknown type: "+U);return{type:U,name:H}})}function C(S,R){for(var U,H=0,G=S.length;H0)for(var U,H,G=new Array(U),Q=0;Q=0&&(R=S.slice(0,U))!=="xmlns"&&(S=S.slice(U+1)),E.hasOwnProperty(R)?{space:E[R],local:S}:S}function l(S){return function(){var R=this.ownerDocument,U=this.namespaceURI;return U===m&&R.documentElement.namespaceURI===m?R.createElement(S):R.createElementNS(U,S)}}function o(S){return function(){return this.ownerDocument.createElementNS(S.space,S.local)}}function g(S){var R=d(S);return(R.local?o:l)(R)}function r(){}function n(S){return S==null?r:function(){return this.querySelector(S)}}function a(S){return S==null?[]:Array.isArray(S)?S:Array.from(S)}function c(){return[]}function u(S){return S==null?c:function(){return this.querySelectorAll(S)}}function s(S){return function(){return this.matches(S)}}function v(S){return function(R){return R.matches(S)}}var e=Array.prototype.find;function t(){return this.firstElementChild}var i=Array.prototype.filter;function f(){return Array.from(this.children)}function y(S){return new Array(S.length)}function b(S,R){this.ownerDocument=S.ownerDocument,this.namespaceURI=S.namespaceURI,this._next=null,this._parent=S,this.__data__=R}function x(S){return function(){return S}}function A(S,R,U,H,G,Q){for(var ce,ae=0,Se=R.length,pe=Q.length;aeR?1:S>=R?0:NaN}function N(S){return function(){this.removeAttribute(S)}}function I(S){return function(){this.removeAttributeNS(S.space,S.local)}}function K(S,R){return function(){this.setAttribute(S,R)}}function F(S,R){return function(){this.setAttributeNS(S.space,S.local,R)}}function W(S,R){return function(){var U=R.apply(this,arguments);U==null?this.removeAttribute(S):this.setAttribute(S,U)}}function j(S,R){return function(){var U=R.apply(this,arguments);U==null?this.removeAttributeNS(S.space,S.local):this.setAttributeNS(S.space,S.local,U)}}function X(S){return S.ownerDocument&&S.ownerDocument.defaultView||S.document&&S||S.defaultView}function Y(S){return function(){this.style.removeProperty(S)}}function le(S,R,U){return function(){this.style.setProperty(S,R,U)}}function J(S,R,U){return function(){var H=R.apply(this,arguments);H==null?this.style.removeProperty(S):this.style.setProperty(S,H,U)}}function ve(S,R){return S.style.getPropertyValue(R)||X(S).getComputedStyle(S,null).getPropertyValue(R)}function Ce(S){return function(){delete this[S]}}function be(S,R){return function(){this[S]=R}}function Ae(S,R){return function(){var U=R.apply(this,arguments);U==null?delete this[S]:this[S]=U}}function Ue(S){return S.trim().split(/^|\s+/)}function we(S){return S.classList||new $e(S)}function $e(S){this._node=S,this._names=Ue(S.getAttribute("class")||"")}function Re(S,R){for(var U=we(S),H=-1,G=R.length;++H=0&&(U=R.slice(H+1),R=R.slice(0,H)),{type:R,name:U}})}function Je(S){return function(){var R=this.__on;if(R){for(var U,H=0,G=-1,Q=R.length;H=0&&(this._names.splice(R,1),this._node.setAttribute("class",this._names.join(" ")))},contains:function(S){return this._names.indexOf(S)>=0}};var Ke=[null];function Oe(S,R){this._groups=S,this._parents=R}function Ye(){return new Oe([[document.documentElement]],Ke)}function rt(S){return typeof S=="string"?new Oe([[document.querySelector(S)]],[document.documentElement]):new Oe([[S]],Ke)}function yt(S,R){if(S=function(Q){let ce;for(;ce=Q.sourceEvent;)Q=ce;return Q}(S),R===void 0&&(R=S.currentTarget),R){var U=R.ownerSVGElement||R;if(U.createSVGPoint){var H=U.createSVGPoint();return H.x=S.clientX,H.y=S.clientY,[(H=H.matrixTransform(R.getScreenCTM().inverse())).x,H.y]}if(R.getBoundingClientRect){var G=R.getBoundingClientRect();return[S.clientX-G.left-R.clientLeft,S.clientY-G.top-R.clientTop]}}return[S.pageX,S.pageY]}Oe.prototype=Ye.prototype={constructor:Oe,select:function(S){typeof S!="function"&&(S=n(S));for(var R=this._groups,U=R.length,H=new Array(U),G=0;G=Kn&&(Kn=Ht+1);!(Vt=st[Kn])&&++Kn=0;)(H=G[Q])&&(ce&&4^H.compareDocumentPosition(ce)&&ce.parentNode.insertBefore(H,ce),ce=H);return this},sort:function(S){function R(ze,Xe){return ze&&Xe?S(ze.__data__,Xe.__data__):!ze-!Xe}S||(S=O);for(var U=this._groups,H=U.length,G=new Array(H),Q=0;Q1?this.each((R==null?Y:typeof R=="function"?J:le)(S,R,U==null?"":U)):ve(this.node(),S)},property:function(S,R){return arguments.length>1?this.each((R==null?Ce:typeof R=="function"?Ae:be)(S,R)):this.node()[S]},classed:function(S,R){var U=Ue(S+"");if(arguments.length<2){for(var H=we(this.node()),G=-1,Q=U.length;++G()=>S;function Pn(S,{sourceEvent:R,subject:U,target:H,identifier:G,active:Q,x:ce,y:ae,dx:Se,dy:pe,dispatch:Me}){Object.defineProperties(this,{type:{value:S,enumerable:!0,configurable:!0},sourceEvent:{value:R,enumerable:!0,configurable:!0},subject:{value:U,enumerable:!0,configurable:!0},target:{value:H,enumerable:!0,configurable:!0},identifier:{value:G,enumerable:!0,configurable:!0},active:{value:Q,enumerable:!0,configurable:!0},x:{value:ce,enumerable:!0,configurable:!0},y:{value:ae,enumerable:!0,configurable:!0},dx:{value:Se,enumerable:!0,configurable:!0},dy:{value:pe,enumerable:!0,configurable:!0},_:{value:Me}})}function qt(S){return!S.ctrlKey&&!S.button}function jt(){return this.parentNode}function kt(S,R){return R==null?{x:S.x,y:S.y}:R}function rn(){return navigator.maxTouchPoints||"ontouchstart"in this}function It(S,R,U){S.prototype=R.prototype=U,U.constructor=S}function Bt(S,R){var U=Object.create(S.prototype);for(var H in R)U[H]=R[H];return U}function Wt(){}Pn.prototype.on=function(){var S=this._.on.apply(this._,arguments);return S===this._?this:S};var Xt=.7,_n=1/Xt,_t="\\s*([+-]?\\d+)\\s*",T="\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)\\s*",z="\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)%\\s*",Z=/^#([0-9a-f]{3,8})$/,ie=new RegExp(`^rgb\\(${_t},${_t},${_t}\\)$`),se=new RegExp(`^rgb\\(${z},${z},${z}\\)$`),Qe=new RegExp(`^rgba\\(${_t},${_t},${_t},${T}\\)$`),lt=new RegExp(`^rgba\\(${z},${z},${z},${T}\\)$`),xt=new RegExp(`^hsl\\(${T},${z},${z}\\)$`),at=new RegExp(`^hsla\\(${T},${z},${z},${T}\\)$`),Nt={aliceblue:15792383,antiquewhite:16444375,aqua:65535,aquamarine:8388564,azure:15794175,beige:16119260,bisque:16770244,black:0,blanchedalmond:16772045,blue:255,blueviolet:9055202,brown:10824234,burlywood:14596231,cadetblue:6266528,chartreuse:8388352,chocolate:13789470,coral:16744272,cornflowerblue:6591981,cornsilk:16775388,crimson:14423100,cyan:65535,darkblue:139,darkcyan:35723,darkgoldenrod:12092939,darkgray:11119017,darkgreen:25600,darkgrey:11119017,darkkhaki:12433259,darkmagenta:9109643,darkolivegreen:5597999,darkorange:16747520,darkorchid:10040012,darkred:9109504,darksalmon:15308410,darkseagreen:9419919,darkslateblue:4734347,darkslategray:3100495,darkslategrey:3100495,darkturquoise:52945,darkviolet:9699539,deeppink:16716947,deepskyblue:49151,dimgray:6908265,dimgrey:6908265,dodgerblue:2003199,firebrick:11674146,floralwhite:16775920,forestgreen:2263842,fuchsia:16711935,gainsboro:14474460,ghostwhite:16316671,gold:16766720,goldenrod:14329120,gray:8421504,green:32768,greenyellow:11403055,grey:8421504,honeydew:15794160,hotpink:16738740,indianred:13458524,indigo:4915330,ivory:16777200,khaki:15787660,lavender:15132410,lavenderblush:16773365,lawngreen:8190976,lemonchiffon:16775885,lightblue:11393254,lightcoral:15761536,lightcyan:14745599,lightgoldenrodyellow:16448210,lightgray:13882323,lightgreen:9498256,lightgrey:13882323,lightpink:16758465,lightsalmon:16752762,lightseagreen:2142890,lightskyblue:8900346,lightslategray:7833753,lightslategrey:7833753,lightsteelblue:11584734,lightyellow:16777184,lime:65280,limegreen:3329330,linen:16445670,magenta:16711935,maroon:8388608,mediumaquamarine:6737322,mediumblue:205,mediumorchid:12211667,mediumpurple:9662683,mediumseagreen:3978097,mediumslateblue:8087790,mediumspringgreen:64154,mediumturquoise:4772300,mediumvioletred:13047173,midnightblue:1644912,mintcream:16121850,mistyrose:16770273,moccasin:16770229,navajowhite:16768685,navy:128,oldlace:16643558,olive:8421376,olivedrab:7048739,orange:16753920,orangered:16729344,orchid:14315734,palegoldenrod:15657130,palegreen:10025880,paleturquoise:11529966,palevioletred:14381203,papayawhip:16773077,peachpuff:16767673,peru:13468991,pink:16761035,plum:14524637,powderblue:11591910,purple:8388736,rebeccapurple:6697881,red:16711680,rosybrown:12357519,royalblue:4286945,saddlebrown:9127187,salmon:16416882,sandybrown:16032864,seagreen:3050327,seashell:16774638,sienna:10506797,silver:12632256,skyblue:8900331,slateblue:6970061,slategray:7372944,slategrey:7372944,snow:16775930,springgreen:65407,steelblue:4620980,tan:13808780,teal:32896,thistle:14204888,tomato:16737095,turquoise:4251856,violet:15631086,wheat:16113331,white:16777215,whitesmoke:16119285,yellow:16776960,yellowgreen:10145074};function Gt(){return this.rgb().formatHex()}function je(){return this.rgb().formatRgb()}function Ne(S){var R,U;return S=(S+"").trim().toLowerCase(),(R=Z.exec(S))?(U=R[1].length,R=parseInt(R[1],16),U===6?Ee(R):U===3?new he(R>>8&15|R>>4&240,R>>4&15|240&R,(15&R)<<4|15&R,1):U===8?Le(R>>24&255,R>>16&255,R>>8&255,(255&R)/255):U===4?Le(R>>12&15|R>>8&240,R>>8&15|R>>4&240,R>>4&15|240&R,((15&R)<<4|15&R)/255):null):(R=ie.exec(S))?new he(R[1],R[2],R[3],1):(R=se.exec(S))?new he(255*R[1]/100,255*R[2]/100,255*R[3]/100,1):(R=Qe.exec(S))?Le(R[1],R[2],R[3],R[4]):(R=lt.exec(S))?Le(255*R[1]/100,255*R[2]/100,255*R[3]/100,R[4]):(R=xt.exec(S))?ke(R[1],R[2]/100,R[3]/100,1):(R=at.exec(S))?ke(R[1],R[2]/100,R[3]/100,R[4]):Nt.hasOwnProperty(S)?Ee(Nt[S]):S==="transparent"?new he(NaN,NaN,NaN,0):null}function Ee(S){return new he(S>>16&255,S>>8&255,255&S,1)}function Le(S,R,U,H){return H<=0&&(S=R=U=NaN),new he(S,R,U,H)}function Pe(S){return S instanceof Wt||(S=Ne(S)),S?new he((S=S.rgb()).r,S.g,S.b,S.opacity):new he}function We(S,R,U,H){return arguments.length===1?Pe(S):new he(S,R,U,H==null?1:H)}function he(S,R,U,H){this.r=+S,this.g=+R,this.b=+U,this.opacity=+H}function Ve(){return`#${_e(this.r)}${_e(this.g)}${_e(this.b)}`}function tt(){const S=me(this.opacity);return`${S===1?"rgb(":"rgba("}${ye(this.r)}, ${ye(this.g)}, ${ye(this.b)}${S===1?")":`, ${S})`}`}function me(S){return isNaN(S)?1:Math.max(0,Math.min(1,S))}function ye(S){return Math.max(0,Math.min(255,Math.round(S)||0))}function _e(S){return((S=ye(S))<16?"0":"")+S.toString(16)}function ke(S,R,U,H){return H<=0?S=R=U=NaN:U<=0||U>=1?S=R=NaN:R<=0&&(S=NaN),new ct(S,R,U,H)}function De(S){if(S instanceof ct)return new ct(S.h,S.s,S.l,S.opacity);if(S instanceof Wt||(S=Ne(S)),!S)return new ct;if(S instanceof ct)return S;var R=(S=S.rgb()).r/255,U=S.g/255,H=S.b/255,G=Math.min(R,U,H),Q=Math.max(R,U,H),ce=NaN,ae=Q-G,Se=(Q+G)/2;return ae?(ce=R===Q?(U-H)/ae+6*(U0&&Se<1?0:ce,new ct(ce,ae,Se,S.opacity)}function ct(S,R,U,H){this.h=+S,this.s=+R,this.l=+U,this.opacity=+H}function At(S){return(S=(S||0)%360)<0?S+360:S}function Pt(S){return Math.max(0,Math.min(1,S||0))}function Yt(S,R,U){return 255*(S<60?R+(U-R)*S/60:S<180?U:S<240?R+(U-R)*(240-S)/60:R)}It(Wt,Ne,{copy(S){return Object.assign(new this.constructor,this,S)},displayable(){return this.rgb().displayable()},hex:Gt,formatHex:Gt,formatHex8:function(){return this.rgb().formatHex8()},formatHsl:function(){return De(this).formatHsl()},formatRgb:je,toString:je}),It(he,We,Bt(Wt,{brighter(S){return S=S==null?_n:Math.pow(_n,S),new he(this.r*S,this.g*S,this.b*S,this.opacity)},darker(S){return S=S==null?Xt:Math.pow(Xt,S),new he(this.r*S,this.g*S,this.b*S,this.opacity)},rgb(){return this},clamp(){return new he(ye(this.r),ye(this.g),ye(this.b),me(this.opacity))},displayable(){return-.5<=this.r&&this.r<255.5&&-.5<=this.g&&this.g<255.5&&-.5<=this.b&&this.b<255.5&&0<=this.opacity&&this.opacity<=1},hex:Ve,formatHex:Ve,formatHex8:function(){return`#${_e(this.r)}${_e(this.g)}${_e(this.b)}${_e(255*(isNaN(this.opacity)?1:this.opacity))}`},formatRgb:tt,toString:tt})),It(ct,function(S,R,U,H){return arguments.length===1?De(S):new ct(S,R,U,H==null?1:H)},Bt(Wt,{brighter(S){return S=S==null?_n:Math.pow(_n,S),new ct(this.h,this.s,this.l*S,this.opacity)},darker(S){return S=S==null?Xt:Math.pow(Xt,S),new ct(this.h,this.s,this.l*S,this.opacity)},rgb(){var S=this.h%360+360*(this.h<0),R=isNaN(S)||isNaN(this.s)?0:this.s,U=this.l,H=U+(U<.5?U:1-U)*R,G=2*U-H;return new he(Yt(S>=240?S-240:S+120,G,H),Yt(S,G,H),Yt(S<120?S+240:S-120,G,H),this.opacity)},clamp(){return new ct(At(this.h),Pt(this.s),Pt(this.l),me(this.opacity))},displayable(){return(0<=this.s&&this.s<=1||isNaN(this.s))&&0<=this.l&&this.l<=1&&0<=this.opacity&&this.opacity<=1},formatHsl(){const S=me(this.opacity);return`${S===1?"hsl(":"hsla("}${At(this.h)}, ${100*Pt(this.s)}%, ${100*Pt(this.l)}%${S===1?")":`, ${S})`}`}}));var sn=S=>()=>S;function wn(S){return(S=+S)==1?En:function(R,U){return U-R?function(H,G,Q){return H=Math.pow(H,Q),G=Math.pow(G,Q)-H,Q=1/Q,function(ce){return Math.pow(H+ce*G,Q)}}(R,U,S):sn(isNaN(R)?U:R)}}function En(S,R){var U=R-S;return U?function(H,G){return function(Q){return H+Q*G}}(S,U):sn(isNaN(S)?R:S)}var nn=function S(R){var U=wn(R);function H(G,Q){var ce=U((G=We(G)).r,(Q=We(Q)).r),ae=U(G.g,Q.g),Se=U(G.b,Q.b),pe=En(G.opacity,Q.opacity);return function(Me){return G.r=ce(Me),G.g=ae(Me),G.b=Se(Me),G.opacity=pe(Me),G+""}}return H.gamma=S,H}(1);function fn(S,R){R||(R=[]);var U,H=S?Math.min(R.length,S.length):0,G=R.slice();return function(Q){for(U=0;UQ&&(G=R.slice(Q,G),ae[ce]?ae[ce]+=G:ae[++ce]=G),(U=U[0])===(H=H[0])?ae[ce]?ae[ce]+=H:ae[++ce]=H:(ae[++ce]=null,Se.push({i:ce,x:Mn(U,H)})),Q=Wn.lastIndex;return Q180?Me+=360:Me-pe>180&&(pe+=360),Xe.push({i:ze.push(G(ze)+"rotate(",null,H)-2,x:Mn(pe,Me)})):Me&&ze.push(G(ze)+"rotate("+Me+H)}(Q.rotate,ce.rotate,ae,Se),function(pe,Me,ze,Xe){pe!==Me?Xe.push({i:ze.push(G(ze)+"skewX(",null,H)-2,x:Mn(pe,Me)}):Me&&ze.push(G(ze)+"skewX("+Me+H)}(Q.skewX,ce.skewX,ae,Se),function(pe,Me,ze,Xe,mt,dt){if(pe!==ze||Me!==Xe){var nt=mt.push(G(mt)+"scale(",null,",",null,")");dt.push({i:nt-4,x:Mn(pe,ze)},{i:nt-2,x:Mn(Me,Xe)})}else ze===1&&Xe===1||mt.push(G(mt)+"scale("+ze+","+Xe+")")}(Q.scaleX,Q.scaleY,ce.scaleX,ce.scaleY,ae,Se),Q=ce=null,function(pe){for(var Me,ze=-1,Xe=Se.length;++ze=0&&R._call.call(void 0,S),R=R._next;--Hr})()}finally{Hr=0,function(){for(var S,R,U=Pr,H=1/0;U;)U._call?(H>U._time&&(H=U._time),S=U,U=U._next):(R=U._next,U._next=null,U=S?S._next=R:Pr=R);Xr=S,Tt(H)}(),tr=0}}function et(){var S=Ft.now(),R=S-rr;R>1e3&&(Nn-=R,rr=S)}function Tt(S){Hr||(Fr&&(Fr=clearTimeout(Fr)),S-tr>24?(S<1/0&&(Fr=setTimeout(yr,S-Ft.now()-Nn)),$r&&($r=clearInterval($r))):($r||(rr=Ft.now(),$r=setInterval(et,1e3)),Hr=1,hn(yr)))}function Ct(S,R,U){var H=new gr;return R=R==null?0:+R,H.restart(G=>{H.stop(),S(G+R)},R,U),H}gr.prototype=Mr.prototype={constructor:gr,restart:function(S,R,U){if(typeof S!="function")throw new TypeError("callback is not a function");U=(U==null?Gn():+U)+(R==null?0:+R),this._next||Xr===this||(Xr?Xr._next=this:Pr=this,Xr=this),this._call=S,this._time=U,Tt()},stop:function(){this._call&&(this._call=null,this._time=1/0,Tt())}};var Cn=P("start","end","cancel","interrupt"),cr=[];function it(S,R,U,H,G,Q){var ce=S.__transition;if(ce){if(U in ce)return}else S.__transition={};(function(ae,Se,pe){var Me,ze=ae.__transition;function Xe(st){pe.state=1,pe.timer.restart(mt,pe.delay,pe.time),pe.delay<=st&&mt(st-pe.delay)}function mt(st){var Ot,bt,Vt,Ht;if(pe.state!==1)return nt();for(Ot in ze)if((Ht=ze[Ot]).name===pe.name){if(Ht.state===3)return Ct(mt);Ht.state===4?(Ht.state=6,Ht.timer.stop(),Ht.on.call("interrupt",ae,ae.__data__,Ht.index,Ht.group),delete ze[Ot]):+Ot0)throw new Error("too late; already scheduled");return U}function Dn(S,R){var U=un(S,R);if(U.state>3)throw new Error("too late; already running");return U}function un(S,R){var U=S.__transition;if(!U||!(U=U[R]))throw new Error("transition not found");return U}function Un(S,R){var U,H,G,Q=S.__transition,ce=!0;if(Q){for(G in R=R==null?null:R+"",Q)(U=Q[G]).name===R?(H=U.state>2&&U.state<5,U.state=6,U.timer.stop(),U.on.call(H?"interrupt":"cancel",S,S.__data__,U.index,U.group),delete Q[G]):ce=!1;ce&&delete S.__transition}}function vr(S,R){var U,H;return function(){var G=Dn(this,S),Q=G.tween;if(Q!==U){for(var ce=0,ae=(H=U=Q).length;ce=0&&(ae=ae.slice(0,Se)),!ae||ae==="start"})}(R)?Tr:Dn;return function(){var ce=Q(this,S),ae=ce.on;ae!==H&&(G=(H=ae).copy()).on(R,U),ce.on=G}}var Lr=Ye.prototype.constructor;function ma(S){return function(){this.style.removeProperty(S)}}function Ca(S,R,U){return function(H){this.style.setProperty(S,R.call(this,H),U)}}function Ur(S,R,U){var H,G;function Q(){var ce=R.apply(this,arguments);return ce!==G&&(H=(G=ce)&&Ca(S,ce,U)),H}return Q._value=R,Q}function kn(S){return function(R){this.textContent=S.call(this,R)}}function Qn(S){var R,U;function H(){var G=S.apply(this,arguments);return G!==U&&(R=(U=G)&&kn(G)),R}return H._value=S,H}var jn=0;function lr(S,R,U,H){this._groups=S,this._parents=R,this._name=U,this._id=H}function Rt(){return++jn}var Yr=Ye.prototype;lr.prototype={constructor:lr,select:function(S){var R=this._name,U=this._id;typeof S!="function"&&(S=n(S));for(var H=this._groups,G=H.length,Q=new Array(G),ce=0;ce=(Q=(nt+Ot)/2))?nt=Q:Ot=Q,(Me=U>=(ce=(st+bt)/2))?st=ce:bt=ce,G=mt,!(mt=mt[ze=Me<<1|pe]))return G[ze]=dt,S;if(ae=+S._x.call(null,mt.data),Se=+S._y.call(null,mt.data),R===ae&&U===Se)return dt.next=mt,G?G[ze]=dt:S._root=dt,S;do G=G?G[ze]=new Array(4):S._root=new Array(4),(pe=R>=(Q=(nt+Ot)/2))?nt=Q:Ot=Q,(Me=U>=(ce=(st+bt)/2))?st=ce:bt=ce;while((ze=Me<<1|pe)==(Xe=(Se>=ce)<<1|ae>=Q));return G[Xe]=mt,G[ze]=dt,S}function Ea(S,R,U,H,G){this.node=S,this.x0=R,this.y0=U,this.x1=H,this.y1=G}function Za(S){return S[0]}function Fa(S){return S[1]}function Xa(S,R,U){var H=new Ua(R==null?Za:R,U==null?Fa:U,NaN,NaN,NaN,NaN);return S==null?H:H.addAll(S)}function Ua(S,R,U,H,G,Q){this._x=S,this._y=R,this._x0=U,this._y0=H,this._x1=G,this._y1=Q,this._root=void 0}function ba(S){for(var R={data:S.data},U=R;S=S.next;)U=U.next={data:S.data};return R}na.prototype=ga.prototype={constructor:na,moveTo:function(S,R){this._+="M"+(this._x0=this._x1=+S)+","+(this._y0=this._y1=+R)},closePath:function(){this._x1!==null&&(this._x1=this._x0,this._y1=this._y0,this._+="Z")},lineTo:function(S,R){this._+="L"+(this._x1=+S)+","+(this._y1=+R)},quadraticCurveTo:function(S,R,U,H){this._+="Q"+ +S+","+ +R+","+(this._x1=+U)+","+(this._y1=+H)},bezierCurveTo:function(S,R,U,H,G,Q){this._+="C"+ +S+","+ +R+","+ +U+","+ +H+","+(this._x1=+G)+","+(this._y1=+Q)},arcTo:function(S,R,U,H,G){S=+S,R=+R,U=+U,H=+H,G=+G;var Q=this._x1,ce=this._y1,ae=U-S,Se=H-R,pe=Q-S,Me=ce-R,ze=pe*pe+Me*Me;if(G<0)throw new Error("negative radius: "+G);if(this._x1===null)this._+="M"+(this._x1=S)+","+(this._y1=R);else if(ze>jr)if(Math.abs(Me*ae-Se*pe)>jr&&G){var Xe=U-Q,mt=H-ce,dt=ae*ae+Se*Se,nt=Xe*Xe+mt*mt,st=Math.sqrt(dt),Ot=Math.sqrt(ze),bt=G*Math.tan((ea-Math.acos((dt+ze-nt)/(2*st*Ot)))/2),Vt=bt/Ot,Ht=bt/st;Math.abs(Vt-1)>jr&&(this._+="L"+(S+Vt*pe)+","+(R+Vt*Me)),this._+="A"+G+","+G+",0,0,"+ +(Me*Xe>pe*mt)+","+(this._x1=S+Ht*ae)+","+(this._y1=R+Ht*Se)}else this._+="L"+(this._x1=S)+","+(this._y1=R)},arc:function(S,R,U,H,G,Q){S=+S,R=+R,Q=!!Q;var ce=(U=+U)*Math.cos(H),ae=U*Math.sin(H),Se=S+ce,pe=R+ae,Me=1^Q,ze=Q?H-G:G-H;if(U<0)throw new Error("negative radius: "+U);this._x1===null?this._+="M"+Se+","+pe:(Math.abs(this._x1-Se)>jr||Math.abs(this._y1-pe)>jr)&&(this._+="L"+Se+","+pe),U&&(ze<0&&(ze=ze%Hn+Hn),ze>sa?this._+="A"+U+","+U+",0,1,"+Me+","+(S-ce)+","+(R-ae)+"A"+U+","+U+",0,1,"+Me+","+(this._x1=Se)+","+(this._y1=pe):ze>jr&&(this._+="A"+U+","+U+",0,"+ +(ze>=ea)+","+Me+","+(this._x1=S+U*Math.cos(G))+","+(this._y1=R+U*Math.sin(G))))},rect:function(S,R,U,H){this._+="M"+(this._x0=this._x1=+S)+","+(this._y0=this._y1=+R)+"h"+ +U+"v"+ +H+"h"+-U+"Z"},toString:function(){return this._}};var Gr=Xa.prototype=Ua.prototype;function wa(S){return function(){return S}}function ti(S){return 1e-6*(S()-.5)}function ci(S){return S.x+S.vx}function ir(S){return S.y+S.vy}function Qr(S){return S.index}function Pa(S,R){var U=S.get(R);if(!U)throw new Error("node not found: "+R);return U}function Ba(S){var R,U,H,G,Q,ce,ae=Qr,Se=function(nt){return 1/Math.min(G[nt.source.index],G[nt.target.index])},pe=wa(30),Me=1;function ze(nt){for(var st=0,Ot=S.length;st[ae(Ht,Kn,H),Ht]));for(nt=0,G=new Array(Ot);ntMe&&(Me=H),Gze&&(ze=G));if(Se>Me||pe>ze)return this;for(this.cover(Se,pe).cover(Me,ze),U=0;US||S>=G||H>R||R>=Q;)switch(ae=(RXe||(Q=Se.y0)>mt||(ce=Se.x1)=Ot)<<1|S>=st)&&(Se=dt[dt.length-1],dt[dt.length-1]=dt[dt.length-1-pe],dt[dt.length-1-pe]=Se)}else{var bt=S-+this._x.call(null,nt.data),Vt=R-+this._y.call(null,nt.data),Ht=bt*bt+Vt*Vt;if(Ht=(ae=(dt+st)/2))?dt=ae:st=ae,(Me=ce>=(Se=(nt+Ot)/2))?nt=Se:Ot=Se,R=mt,!(mt=mt[ze=Me<<1|pe]))return this;if(!mt.length)break;(R[ze+1&3]||R[ze+2&3]||R[ze+3&3])&&(U=R,Xe=ze)}for(;mt.data!==S;)if(H=mt,!(mt=mt.next))return this;return(G=mt.next)&&delete mt.next,H?(G?H.next=G:delete H.next,this):R?(G?R[ze]=G:delete R[ze],(mt=R[0]||R[1]||R[2]||R[3])&&mt===(R[3]||R[2]||R[1]||R[0])&&!mt.length&&(U?U[Xe]=mt:this._root=mt),this):(this._root=G,this)},Gr.removeAll=function(S){for(var R=0,U=S.length;R(nt=(1664525*nt+1013904223)%Ia)/Ia}();function ze(){Xe(),pe.call("tick",R),U1?(st==null?ae.delete(nt):ae.set(nt,dt(st)),R):ae.get(nt)},find:function(nt,st,Ot){var bt,Vt,Ht,Kn,on,Rn=0,br=S.length;for(Ot==null?Ot=1/0:Ot*=Ot,Rn=0;Rn1?(pe.on(nt,st),R):pe.on(nt)}}}function Kr(S){return function(){return S}}const La=Math.abs,Zr=Math.atan2,wr=Math.cos,Ya=Math.max,Ma=Math.min,Aa=Math.sin,qa=Math.sqrt,Qa=1e-12,ka=Math.PI,_i=ka/2,Sa=2*ka;function hi(S){return S>1?0:S<-1?ka:Math.acos(S)}function Ii(S){return S>=1?_i:S<=-1?-_i:Math.asin(S)}function ji(S){return S.innerRadius}function Po(S){return S.outerRadius}function co(S){return S.startAngle}function qi(S){return S.endAngle}function $i(S){return S&&S.padAngle}function eo(S,R,U,H,G,Q,ce,ae){var Se=U-S,pe=H-R,Me=ce-G,ze=ae-Q,Xe=ze*Se-Me*pe;if(!(Xe*Xedn*dn+zn*zn&&(br=Sn,Er=Tn),{cx:br,cy:Er,x01:-Me,y01:-ze,x11:br*(G/Kn-1),y11:Er*(G/Kn-1)}}function _o(){var S=ji,R=Po,U=Kr(0),H=null,G=co,Q=qi,ce=$i,ae=null;function Se(){var pe,Me,ze=+S.apply(this,arguments),Xe=+R.apply(this,arguments),mt=G.apply(this,arguments)-_i,dt=Q.apply(this,arguments)-_i,nt=La(dt-mt),st=dt>mt;if(ae||(ae=pe=ga()),XeQa)if(nt>Sa-Qa)ae.moveTo(Xe*wr(mt),Xe*Aa(mt)),ae.arc(0,0,Xe,mt,dt,!st),ze>Qa&&(ae.moveTo(ze*wr(dt),ze*Aa(dt)),ae.arc(0,0,ze,dt,mt,st));else{var Ot,bt,Vt=mt,Ht=dt,Kn=mt,on=dt,Rn=nt,br=nt,Er=ce.apply(this,arguments)/2,Sn=Er>Qa&&(H?+H.apply(this,arguments):qa(ze*ze+Xe*Xe)),Tn=Ma(La(Xe-ze)/2,+U.apply(this,arguments)),Jn=Tn,Dt=Tn;if(Sn>Qa){var dn=Ii(Sn/ze*Aa(Er)),zn=Ii(Sn/Xe*Aa(Er));(Rn-=2*dn)>Qa?(Kn+=dn*=st?1:-1,on-=dn):(Rn=0,Kn=on=(mt+dt)/2),(br-=2*zn)>Qa?(Vt+=zn*=st?1:-1,Ht-=zn):(br=0,Vt=Ht=(mt+dt)/2)}var Qt=Xe*wr(Vt),In=Xe*Aa(Vt),ln=ze*wr(on),yn=ze*Aa(on);if(Tn>Qa){var _r,Br=Xe*wr(Ht),mr=Xe*Aa(Ht),ra=ze*wr(Kn),ua=ze*Aa(Kn);if(ntQa?Dt>Qa?(Ot=to(ra,ua,Qt,In,Xe,Dt,st),bt=to(Br,mr,ln,yn,Xe,Dt,st),ae.moveTo(Ot.cx+Ot.x01,Ot.cy+Ot.y01),DtQa&&Rn>Qa?Jn>Qa?(Ot=to(ln,yn,Br,mr,ze,-Jn,st),bt=to(Qt,In,ra,ua,ze,-Jn,st),ae.lineTo(Ot.cx+Ot.x01,Ot.cy+Ot.y01),JnS?1:R>=S?0:NaN}function Eo(S){return S}function io(){var S=Eo,R=ao,U=null,H=Kr(0),G=Kr(Sa),Q=Kr(0);function ce(ae){var Se,pe,Me,ze,Xe,mt=(ae=fo(ae)).length,dt=0,nt=new Array(mt),st=new Array(mt),Ot=+H.apply(this,arguments),bt=Math.min(Sa,Math.max(-Sa,G.apply(this,arguments)-Ot)),Vt=Math.min(Math.abs(bt)/mt,Q.apply(this,arguments)),Ht=Vt*(bt<0?-1:1);for(Se=0;Se0&&(dt+=Xe);for(R!=null?nt.sort(function(Kn,on){return R(st[Kn],st[on])}):U!=null&&nt.sort(function(Kn,on){return U(ae[Kn],ae[on])}),Se=0,Me=dt?(bt-mt*Ht)/dt:0;Se0?Xe*Me:0)+Ht,st[pe]={data:ae[pe],index:Se,value:Xe,startAngle:Ot,endAngle:ze,padAngle:Vt};return st}return ce.value=function(ae){return arguments.length?(S=typeof ae=="function"?ae:Kr(+ae),ce):S},ce.sortValues=function(ae){return arguments.length?(R=ae,U=null,ce):R},ce.sort=function(ae){return arguments.length?(U=ae,R=null,ce):U},ce.startAngle=function(ae){return arguments.length?(H=typeof ae=="function"?ae:Kr(+ae),ce):H},ce.endAngle=function(ae){return arguments.length?(G=typeof ae=="function"?ae:Kr(+ae),ce):G},ce.padAngle=function(ae){return arguments.length?(Q=typeof ae=="function"?ae:Kr(+ae),ce):Q},ce}var Li=S=>()=>S;function xo(S,{sourceEvent:R,target:U,transform:H,dispatch:G}){Object.defineProperties(this,{type:{value:S,enumerable:!0,configurable:!0},sourceEvent:{value:R,enumerable:!0,configurable:!0},target:{value:U,enumerable:!0,configurable:!0},transform:{value:H,enumerable:!0,configurable:!0},_:{value:G}})}function $a(S,R,U){this.k=S,this.x=R,this.y=U}$a.prototype={constructor:$a,scale:function(S){return S===1?this:new $a(this.k*S,this.x,this.y)},translate:function(S,R){return S===0&R===0?this:new $a(this.k,this.x+this.k*S,this.y+this.k*R)},apply:function(S){return[S[0]*this.k+this.x,S[1]*this.k+this.y]},applyX:function(S){return S*this.k+this.x},applyY:function(S){return S*this.k+this.y},invert:function(S){return[(S[0]-this.x)/this.k,(S[1]-this.y)/this.k]},invertX:function(S){return(S-this.x)/this.k},invertY:function(S){return(S-this.y)/this.k},rescaleX:function(S){return S.copy().domain(S.range().map(this.invertX,this).map(S.invert,S))},rescaleY:function(S){return S.copy().domain(S.range().map(this.invertY,this).map(S.invert,S))},toString:function(){return"translate("+this.x+","+this.y+") scale("+this.k+")"}};var Si=new $a(1,0,0);function ho(S){S.stopImmediatePropagation()}function Zi(S){S.preventDefault(),S.stopImmediatePropagation()}function Vo(S){return!(S.ctrlKey&&S.type!=="wheel"||S.button)}function jo(){var S=this;return S instanceof SVGElement?(S=S.ownerSVGElement||S).hasAttribute("viewBox")?[[(S=S.viewBox.baseVal).x,S.y],[S.x+S.width,S.y+S.height]]:[[0,0],[S.width.baseVal.value,S.height.baseVal.value]]:[[0,0],[S.clientWidth,S.clientHeight]]}function Io(){return this.__zoom||Si}function Co(S){return-S.deltaY*(S.deltaMode===1?.05:S.deltaMode?1:.002)*(S.ctrlKey?10:1)}function ia(){return navigator.maxTouchPoints||"ontouchstart"in this}function Yi(S,R,U){var H=S.invertX(R[0][0])-U[0][0],G=S.invertX(R[1][0])-U[1][0],Q=S.invertY(R[0][1])-U[0][1],ce=S.invertY(R[1][1])-U[1][1];return S.translate(G>H?(H+G)/2:Math.min(0,H)||Math.max(0,G),ce>Q?(Q+ce)/2:Math.min(0,Q)||Math.max(0,ce))}function Ui(){var S,R,U,H=Vo,G=jo,Q=Yi,ce=Co,ae=ia,Se=[0,1/0],pe=[[-1/0,-1/0],[1/0,1/0]],Me=250,ze=Ir,Xe=P("start","zoom","end"),mt=500,dt=0,nt=10;function st(Dt){Dt.property("__zoom",Io).on("wheel.zoom",Rn,{passive:!1}).on("mousedown.zoom",br).on("dblclick.zoom",Er).filter(ae).on("touchstart.zoom",Sn).on("touchmove.zoom",Tn).on("touchend.zoom touchcancel.zoom",Jn).style("-webkit-tap-highlight-color","rgba(0,0,0,0)")}function Ot(Dt,dn){return(dn=Math.max(Se[0],Math.min(Se[1],dn)))===Dt.k?Dt:new $a(dn,Dt.x,Dt.y)}function bt(Dt,dn,zn){var Qt=dn[0]-zn[0]*Dt.k,In=dn[1]-zn[1]*Dt.k;return Qt===Dt.x&&In===Dt.y?Dt:new $a(Dt.k,Qt,In)}function Vt(Dt){return[(+Dt[0][0]+ +Dt[1][0])/2,(+Dt[0][1]+ +Dt[1][1])/2]}function Ht(Dt,dn,zn,Qt){Dt.on("start.zoom",function(){Kn(this,arguments).event(Qt).start()}).on("interrupt.zoom end.zoom",function(){Kn(this,arguments).event(Qt).end()}).tween("zoom",function(){var In=this,ln=arguments,yn=Kn(In,ln).event(Qt),_r=G.apply(In,ln),Br=zn==null?Vt(_r):typeof zn=="function"?zn.apply(In,ln):zn,mr=Math.max(_r[1][0]-_r[0][0],_r[1][1]-_r[0][1]),ra=In.__zoom,ua=typeof dn=="function"?dn.apply(In,ln):dn,_a=ze(ra.invert(Br).concat(mr/ra.k),ua.invert(Br).concat(mr/ua.k));return function(Sr){if(Sr===1)Sr=ua;else{var zr=_a(Sr),xa=mr/zr[2];Sr=new $a(xa,Br[0]-zr[0]*xa,Br[1]-zr[1]*xa)}yn.zoom(null,Sr)}})}function Kn(Dt,dn,zn){return!zn&&Dt.__zooming||new on(Dt,dn)}function on(Dt,dn){this.that=Dt,this.args=dn,this.active=0,this.sourceEvent=null,this.extent=G.apply(Dt,dn),this.taps=0}function Rn(Dt,...dn){if(H.apply(this,arguments)){var zn=Kn(this,dn).event(Dt),Qt=this.__zoom,In=Math.max(Se[0],Math.min(Se[1],Qt.k*Math.pow(2,ce.apply(this,arguments)))),ln=yt(Dt);if(zn.wheel)zn.mouse[0][0]===ln[0]&&zn.mouse[0][1]===ln[1]||(zn.mouse[1]=Qt.invert(zn.mouse[0]=ln)),clearTimeout(zn.wheel);else{if(Qt.k===In)return;zn.mouse=[ln,Qt.invert(ln)],Un(this),zn.start()}Zi(Dt),zn.wheel=setTimeout(yn,150),zn.zoom("mouse",Q(bt(Ot(Qt,In),zn.mouse[0],zn.mouse[1]),zn.extent,pe))}function yn(){zn.wheel=null,zn.end()}}function br(Dt,...dn){if(!U&&H.apply(this,arguments)){var zn=Dt.currentTarget,Qt=Kn(this,dn,!0).event(Dt),In=rt(Dt.view).on("mousemove.zoom",Br,!0).on("mouseup.zoom",mr,!0),ln=yt(Dt,zn),yn=Dt.clientX,_r=Dt.clientY;vn(Dt.view),ho(Dt),Qt.mouse=[ln,this.__zoom.invert(ln)],Un(this),Qt.start()}function Br(ra){if(Zi(ra),!Qt.moved){var ua=ra.clientX-yn,_a=ra.clientY-_r;Qt.moved=ua*ua+_a*_a>dt}Qt.event(ra).zoom("mouse",Q(bt(Qt.that.__zoom,Qt.mouse[0]=yt(ra,zn),Qt.mouse[1]),Qt.extent,pe))}function mr(ra){In.on("mousemove.zoom mouseup.zoom",null),Fn(ra.view,Qt.moved),Zi(ra),Qt.event(ra).end()}}function Er(Dt,...dn){if(H.apply(this,arguments)){var zn=this.__zoom,Qt=yt(Dt.changedTouches?Dt.changedTouches[0]:Dt,this),In=zn.invert(Qt),ln=zn.k*(Dt.shiftKey?.5:2),yn=Q(bt(Ot(zn,ln),Qt,In),G.apply(this,dn),pe);Zi(Dt),Me>0?rt(this).transition().duration(Me).call(Ht,yn,Qt,Dt):rt(this).call(st.transform,yn,Qt,Dt)}}function Sn(Dt,...dn){if(H.apply(this,arguments)){var zn,Qt,In,ln,yn=Dt.touches,_r=yn.length,Br=Kn(this,dn,Dt.changedTouches.length===_r).event(Dt);for(ho(Dt),Qt=0;Qt<_r;++Qt)ln=[ln=yt(In=yn[Qt],this),this.__zoom.invert(ln),In.identifier],Br.touch0?Br.touch1||Br.touch0[2]===ln[2]||(Br.touch1=ln,Br.taps=0):(Br.touch0=ln,zn=!0,Br.taps=1+!!S);S&&(S=clearTimeout(S)),zn&&(Br.taps<2&&(R=ln[0],S=setTimeout(function(){S=null},mt)),Un(this),Br.start())}}function Tn(Dt,...dn){if(this.__zooming){var zn,Qt,In,ln,yn=Kn(this,dn).event(Dt),_r=Dt.changedTouches,Br=_r.length;for(Zi(Dt),zn=0;zn=0;--Dt){var dn=this.tryEntries[Dt],zn=dn.completion;if(dn.tryLoc==="root")return Jn("end");if(dn.tryLoc<=this.prev){var Qt=U.call(dn,"catchLoc"),In=U.call(dn,"finallyLoc");if(Qt&&In){if(this.prev=0;--Jn){var Dt=this.tryEntries[Jn];if(Dt.tryLoc<=this.prev&&U.call(Dt,"finallyLoc")&&this.prev=0;--Tn){var Jn=this.tryEntries[Tn];if(Jn.finallyLoc===Sn)return this.complete(Jn.completion,Jn.afterLoc),on(Jn),Me}},catch:function(Sn){for(var Tn=this.tryEntries.length-1;Tn>=0;--Tn){var Jn=this.tryEntries[Tn];if(Jn.tryLoc===Sn){var Dt=Jn.completion;if(Dt.type==="throw"){var dn=Dt.arg;on(Jn)}return dn}}throw new Error("illegal catch attempt")},delegateYield:function(Sn,Tn,Jn){return this.delegate={iterator:br(Sn),resultName:Tn,nextLoc:Jn},this.method==="next"&&(this.arg=void 0),Me}},S}function mi(S){return mi=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(R){return typeof R}:function(R){return R&&typeof Symbol=="function"&&R.constructor===Symbol&&R!==Symbol.prototype?"symbol":typeof R},mi(S)}function bo(S,R,U,H,G,Q,ce){try{var ae=S[Q](ce),Se=ae.value}catch(pe){return void U(pe)}ae.done?R(Se):Promise.resolve(Se).then(H,G)}function no(S){return function(){var R=this,U=arguments;return new Promise(function(H,G){var Q=S.apply(R,U);function ce(Se){bo(Q,H,G,ce,ae,"next",Se)}function ae(Se){bo(Q,H,G,ce,ae,"throw",Se)}ce(void 0)})}}function Zo(S,R){if(!(S instanceof R))throw new TypeError("Cannot call a class as a function")}function vo(S,R){for(var U=0;US.length)&&(R=S.length);for(var U=0,H=new Array(R);U=S.length?{done:!0}:{done:!1,value:S[H++]}},e:function(Se){throw Se},f:G}}throw new TypeError(`Invalid attempt to iterate non-iterable instance. In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var Q,ce=!0,ae=!1;return{s:function(){U=U.call(S)},n:function(){var Se=U.next();return ce=Se.done,Se},e:function(Se){ae=!0,Q=Se},f:function(){try{ce||U.return==null||U.return()}finally{if(ae)throw Q}}}}function mo(S){var R=32;switch(S){case 0:R=23;break;case 1:R=26;break;case 2:default:R=32;break;case 3:R=38}return R}function Do(S){S=S.sort();for(var R=[],U=0;UR&&U<2*R||U>R&&U<3*R)&&H.push(S.length);var Se=H.length;Se===1?G.push({text:S,x:0,y:0}):Se===2?H.forEach(function(pe,Me){Me===0?G.push({text:S.substring(0,pe),x:0,y:-7}):G.push({text:S.substring(H[0],pe),x:0,y:7})}):H.forEach(function(pe,Me){Me===0?G.push({text:S.substring(0,pe),x:0,y:-12}):Me===1?G.push({text:S.substring(H[0],pe+1),x:0,y:4}):S.length>pe?(()=>{var ze=G.reduce((Xe,mt)=>Xe+mt.text.length,0);G.push({text:S.substring(ze,ze+2)+(S.length-(ze+2)>0?"...":""),x:0,y:16})})():G.push({text:S.substring(H[1]+1,pe),x:0,y:16})})}(),G}$a.prototype;var Ho=["circle","rect","ellipse"],qr=["url(#radialGradient-1)","url(#radialGradient-2)","url(#radialGradient-3)"],vi=["url(#lines1)","url(#lines2)","url(#lines3)"];function No(S,R,U){return S.selectAll(".node-circle").remove(),S.selectAll(".node-circle").data(R,function(H){return H.id}).enter().append(function(H){return Ho.includes(H.shape)?document.createElementNS("http://www.w3.org/2000/svg",H.shape):document.createElementNS("http://www.w3.org/2000/svg","circle")}).style("display",function(H){return H.hide?"none":"block"}).style("opacity",function(H){return H.hide?"0":"1"}).attr("r",function(H){return H.shape=="circle"?Hi(H.size):null}).attr("rx",function(H){return H.shape=="ellipse"?Hi(H.size)+10:H.shape=="rect"?10:null}).attr("ry",function(H){return H.shape=="ellipse"?Hi(H.size)+10:H.shape=="rect"?10:null}).attr("width",function(H){return H.shape=="rect"?3*(Hi(H.size)-6):2*(Hi(H.size)-6)}).attr("height",function(H){return H.shape=="rect"?1.5*(Hi(H.size)-6):2*(Hi(H.size)-6)}).attr("fill",function(H){return H.colorType?qr[H.colorType-1]:H.color||"url(#radialGradient-1)"}).attr("color",function(H){return H.color||"#2E8B57"}).attr("class",function(H){return"node-circle node-circle-".concat(H.id," transition-opacity duration-500")}).attr("id",function(H){return"node-circle".concat(H.id)}).style("cursor","pointer").on("mouseover",function(H,G){var Q=G.activeColor||"#008FFF";H.target.setAttribute("stroke",Q),H.target.setAttribute("stroke-width","8")}).on("mouseout",function(H){H.target.setAttribute("stroke-width","0")}).append("title").text(function(H){return H.name}),S.selectAll(".node-circle")}function Hi(S){var R=32;switch(S){case 0:R=23;break;case 1:R=26;break;case 2:default:R=32;break;case 3:R=38}return R}function Fo(S,R){return S.selectAll("text").remove(),S.selectAll("text").data(R,function(U){return U.id}).enter().append("text").attr("dy",".35em").attr("text-anchor","middle").attr("pointer-events","none").style("fill","#fff").style("font-size","10px").style("text-anchor","middle").attr("class",function(U){return"node-text node-circle node-circle--text-".concat(U.id," node-text-").concat(U.id," transition-opacity duration-500")}).style("cursor","pointer").append("svg:title").text(function(U){return U.name}),S.selectAll("text").style("display",function(U){return U.hide?"none":"block"}),S.selectAll("text").attr("d",function(U){U.shape=="rect"?rt(".node-circle--text-".concat(U.id)).append("tspan").style("cursor","pointer").append("tspan").text(function(H){return H.name}):Di(U.name,Hi(U.size)).forEach(function(H,G){rt(".node-circle--text-".concat(U.id)).append("tspan").style("cursor","pointer").attr("class",function(Q){return"node-circle--tspan-".concat(Q.id,"-").concat(G)}).attr("x",H.x).attr("y",H.y).text(function(){return H.text})})}),S.selectAll("text")}function Uo(S){var R=arguments.length>1&&arguments[1]!==void 0&&arguments[1],U=arguments.length>2&&arguments[2]!==void 0?arguments[2]:[],H=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{},G=H._ops,Q=rt("body"),ce=[];if(R&&G.isShowBatchOperation)return U.push(S.id),rt("".concat(G.containerName)).style("background","#5e5e5e"),U.forEach(function(ze){ce.push(Q.select("".concat(G.containerName," .node-circle-").concat(ze)).attr("color"))}),Q.selectAll("".concat(G.containerName," .node-circle")).attr("fill","#3c3b3b"),U.forEach(function(ze,Xe){Q.select("".concat(G.containerName," .node-circle-").concat(ze)).attr("fill",ce[Xe])}),void rt(".graph-bath").style("display","block");if(G.isShowMask){var ae=[],Se=[];G.links.map(function(ze){ze.source.id==S.id&&(ae.push(ze.target.id),Se.push(ze.source.id+ze.target.id)),ze.target.id==S.id&&(ae.push(ze.source.id),Se.push(ze.source.id+ze.target.id))});var pe=Do(ae),Me=Do(Se);pe.push(S.id),Q.selectAll("".concat(G.containerName," .line-item")).style("display","none"),rt("".concat(G.containerName)).style("background","#5e5e5e"),pe.forEach(function(ze){ce.push(Q.select("".concat(G.containerName," .node-circle-").concat(ze)).attr("color"))}),Q.selectAll("".concat(G.containerName," .node-circle")).attr("fill","#3c3b3b"),pe.forEach(function(ze,Xe){Q.select("".concat(G.containerName," .node-circle-").concat(ze)).attr("fill",ce[Xe])}),Me.forEach(function(ze){Q.selectAll("".concat(G.containerName," .line-item-").concat(ze)).style("display",function(Xe){return Xe.hide?"none":"block"})})}}var ro=[],wo={addPath:function(S){S.forEach(function(R){var U=ro.indexOf(R);U!=-1&&ro.splice(U,1),ro.unshift(R)})},getPath:function(){return ro},clearPath:function(){ro.length=0}};function Ni(S,R,U,H){return Mo.apply(this,arguments)}function Mo(){return Mo=no(Bi().mark(function S(R,U,H,G){var Q;return Bi().wrap(function(ce){for(;;)switch(ce.prev=ce.next){case 0:return Q=H._ops,ce.delegateYield(Bi().mark(function ae(){var Se,pe,Me,ze,Xe,mt,dt,nt,st,Ot,bt,Vt,Ht,Kn,on,Rn,br,Er,Sn,Tn,Jn,Dt,dn,zn,Qt,In,ln,yn,_r,Br;return Bi().wrap(function(mr){for(;;)switch(mr.prev=mr.next){case 0:mr.t0=R,mr.next=mr.t0==="remove"?3:mr.t0==="hide"?19:mr.t0==="contraction"?22:mr.t0==="extend"?42:mr.t0==="editSize"?62:mr.t0==="editColor"?71:mr.t0==="editShape"?79:mr.t0==="extend-path"?87:mr.t0==="contraction-path"?96:100;break;case 3:Se=0;case 4:if(!(Se1?ln[1]:null)&&pi.contractionPath(yn,ln,H),pi.extendPath(In,H),pi.previousStep.id=In,pi.previousStep.operate="extend",H.update(),mr.abrupt("break",100);case 96:return _r=U[0],(Br=wo.getPath()).indexOf(_r)!=-1&&(pi.contractionPath(_r,Br,H),pi.previousStep.operate=="extend"&&pi.previousStep.id!=_r?(pi.extendPath(pi.previousStep.id,H),pi.previousStep.operate="extend"):(pi.previousStep.id=_r,pi.previousStep.operate="contraction"),H.update()),mr.abrupt("break",100);case 100:case"end":return mr.stop()}},ae)})(),"t0",2);case 2:rt(Q.containerName).style("background",Q.background);case 3:case"end":return ce.stop()}},S)})),Mo.apply(this,arguments)}var po,pi={extendPath:function(S,R){for(var U=R._ops,H=U.nodes,G=U.links,Q=[],ce=[],ae=0;ae0)for(var Me=0;Me1&&arguments[1]!==void 0?arguments[1]:{};po=S,R._linkContainer.selectAll(".connect-item")._groups[0].length||R._linkContainer.append("g").attr("class","connect-item").append("path").attr("stroke-width",2).attr("stroke","#5e5ef0").attr("class","connect-item-inner"),rt("".concat(R._ops.containerName)).on("mousemove",function(U){Vr(U,R)})}function Vr(S,R){var U,H,G,Q=(U=R._linkContainer._groups[0][0].parentNode.attributes.transform,{translate:(G=(H=U)&&/translate/.test(H.value)&&/scale/.test(H.value)&&H.value.match(/translate\(([^\)]+)\)\s?scale\(([^\)]+)/))&&G[1].split(",")||[0,0],scale:G&&G[2]||1}),ce=Q.translate,ae=Q.scale;R._linkContainer.selectAll(".connect-item-inner").attr("d",function(){return"M".concat(po.x,", ").concat(po.y," L").concat(S.offsetX/ae-ce[0]/ae,", ").concat(S.offsetY/ae-ce[1]/ae)})}function Va(S){return Array.isArray(S[0])?{message:"success",done:function(R){for(var U=0;U1&&arguments[1]!==void 0?arguments[1]:"order",U=arguments.length>2&&arguments[2]!==void 0?arguments[2]:1,H=arguments.length>3&&arguments[3]!==void 0?arguments[3]:1,G=arguments.length>4&&arguments[4]!==void 0?arguments[4]:1,Q=!0;return H==1&&S.length%2==0&&(Q=!1),S.map(function(ce,ae){ce._level=H,ce._value=H==1?ae+1:ae+1+(U-1)*S.length,ce._parent=H==2?1:G,ce._site=H!=1||Q?R:ae=st/2){var Kn=Vt.startAngle;Vt.startAngle=Vt.endAngle,Vt.endAngle=Kn}return Vt})):(st=pe._level==1?pe.children.length*ze._toolbarData.length:pe.children.length*pe._num,nt=io()(new Array(st).fill(1)).map(function(Vt){if(pe._site=="left"){var Ht=Vt.startAngle;Vt.startAngle=Vt.endAngle,Vt.endAngle=Ht}return Vt})),Me._num=nt.length;var bt=pe._value;return Me._site=="left"?(Ot=nt.slice(nt.length/2,nt.length),bt=pe._value-pe._num/2):Ot=nt.slice(0,nt.length/2),Xe=ot(Ot,Ot.length/(pe._num/2))[bt-1],pe._level==0&&(Xe=nt),Xe}(U,Q,H),Se=Cr(ae[ce].startAngle,ae[ce].endAngle);return function(pe){return yi?function(Me,ze,Xe,mt,dt,nt,st,Ot){var bt=ue(Xe[st].startAngle,ze(Me),dt._level+1,dt._level+2,Ot),Vt=bt.centroid(Xe[st]);return mt[st].setAttribute("x",Vt[0]-6),mt[st].setAttribute("y",Vt[1]-6),Ot._operationContainer.selectAll("".concat(nt," .pie-icon")).transition().delay(150).styleTween("display",function(){return qn("none",yi?"block":"none")}),bt()}(pe,Se,ae,G,U,R,ce,H):""}})}}}]),S}();function te(S){S.selectAll(".arc-item .pie-item").interrupt().attr("d",null),S.selectAll(".arc-item .pie-icon").interrupt().style("display","none"),S.style("display","none"),S.selectAll(".operation-item").attr("transform",function(){return"rotate(0)"}),yi=!1}var ue=function(S,R){var U=arguments.length>2&&arguments[2]!==void 0?arguments[2]:1,H=arguments.length>3&&arguments[3]!==void 0?arguments[3]:2,G=arguments.length>4?arguments[4]:void 0;return _o().innerRadius(U*G.containerSize+2).outerRadius(H*G.containerSize).padAngle(.02).startAngle(S).endAngle(R)};function Ie(){return Ie=no(Bi().mark(function S(R,U,H){var G,Q,ce;return Bi().wrap(function(ae){for(;;)switch(ae.prev=ae.next){case 0:ae.t0=R.type,ae.next=ae.t0==="connect"?3:ae.t0==="unlocked"?8:33;break;case 3:return ii.length=0,ki=!0,ii.push(U),Jr(U,H._example),ae.abrupt("break",36);case 8:Q=Bo(H._example._ops.nodes),ae.prev=9,Q.s();case 11:if((ce=Q.n()).done){ae.next=19;break}if((G=ce.value).id!=U.id){ae.next=17;break}return G.fx=null,G.fy=null,ae.abrupt("break",19);case 17:ae.next=11;break;case 19:ae.next=24;break;case 21:ae.prev=21,ae.t1=ae.catch(9),Q.e(ae.t1);case 24:return ae.prev=24,Q.f(),ae.finish(24);case 27:return H._example._simulation._simulation.nodes(H._example._ops.nodes),H._example._simulation._simulation.alphaTarget(.08).restart(),setTimeout(function(){H._example._simulation._simulation.alphaTarget(0)},300),ae.next=32,R.click(U);case 32:return ae.abrupt("break",36);case 33:return ae.next=35,R.click({node:U});case 35:Ni(R.type,[U.id],H._example);case 36:Wa=null,te(H._operationContainer);case 38:case"end":return ae.stop()}},S,null,[[9,21,24,27]])})),Ie.apply(this,arguments)}function He(){return(He=no(Bi().mark(function S(R,U){var H,G,Q;return Bi().wrap(function(ce){for(;;)switch(ce.prev=ce.next){case 0:return rt(".graph-container").on("mousemove",null),ki=!1,ii.push(R),G={node:R,connects:(H=[]).concat.apply(H,ii)},ce.next=6,gi.click(G);case 6:Q=ce.sent,Va(Q||[ii.splice(0)]).done(U),Uo(G.connects[0],!1,[],U),ii.length=0;case 11:case"end":return ce.stop()}},S)}))).apply(this,arguments)}function ot(S,R){for(var U=[],H=0;H4&&arguments[4]!==void 0?arguments[4]:1,Q=arguments.length>5&&arguments[5]!==void 0?arguments[5]:7,ce=arguments.length>6&&arguments[6]!==void 0?arguments[6]:7;this.deflection=H;var ae=function(ln){return ln*ln},Se=this.deflection*Math.PI/180,pe={x:Math.cos(Se)*S,y:Math.sin(Se)*S},Me=S/(R+ce),ze=-U*Me/(1-Me),Xe=function(ln,yn,_r,Br){var mr=ln.y/(ln.x-ze),ra=ln.y-mr*ln.x,ua=1+ae(mr),_a=2*(mr*ra-_r),Sr=ae(ra)+ae(_r)-ae(yn),zr={x:(-_a+Br*Math.sqrt(ae(_a)-4*ua*Sr))/(2*ua)};return zr.y=(zr.x-ze)*mr,zr},mt=Xe(pe,R+ce,U,-1),dt=-pe.x/pe.y,nt=pe.y+ae(pe.x)/pe.y,st=-(mt.x-U)/mt.y,Ot=mt.y+(mt.x-U)*mt.x/mt.y,bt=(nt-Ot)/(st-dt),Vt=dt*bt+nt,Ht=Math.sqrt(ae(bt-pe.x)+ae(Vt-pe.y)),Kn=Math.atan2(pe.x-bt,Vt-pe.y),on=Math.atan2(mt.x-bt,Vt-mt.y),Rn=(Kn+on)/2;this.deflection>0&&(Rn+=Math.PI);var br=on-Kn;this.deflection>0&&(br=2*Math.PI-br),this.shaftLength=br*Ht,Kn>on&&(this.shaftLength=0),this.midShaftPoint={x:bt+Ht*Math.sin(Rn),y:Vt-Ht*Math.cos(Rn)};var Er=function(ln){var yn=(ln<0?1:-1)*Math.sqrt(ae(ln)/(1+ae(dt))),_r=dt*yn;return{x:pe.x+yn,y:pe.y+_r}},Sn=function(ln){var yn=(ln<0?-1:1)*Math.sqrt(ae(ln)/(1+ae(st))),_r=st*yn;return{x:mt.x+yn,y:mt.y+_r}},Tn=function(ln,yn){return{x:bt+(Ht+yn)*Math.sin(ln),y:Vt-(Ht+yn)*Math.cos(ln)}},Jn=function(ln){var yn=(ln<0?-1:1)*Math.sqrt(ae(ln)/(1+ae(1/st))),_r=yn/st;return{x:mt.x+yn,y:mt.y-_r}},Dt=function(ln){return ln.x+","+ln.y},dn=G/2,zn=Q/2,Qt=pe.y>0?0:1,In=pe.y<0?0:1;this.outline=function(){if(Kn>on)return["M",Dt(Sn(-zn)),"L",Dt(Jn(ce)),"L",Dt(Sn(zn)),"Z"].join(" ");var ln=Rn-0,yn=Rn+0;return["M",Dt(Er(dn)),"L",Dt(Er(-dn)),"A",Ht-dn,Ht-dn,0,0,Qt,Dt(Tn(ln,-dn)),"L",Dt(Tn(ln,dn)),"A",Ht+dn,Ht+dn,0,0,In,Dt(Er(dn)),"Z","M",Dt(Tn(yn,dn)),"L",Dt(Tn(yn,-dn)),"A",Ht-dn,Ht-dn,0,0,Qt,Dt(Sn(-dn)),"L",Dt(Sn(-zn)),"L",Dt(Jn(ce)),"L",Dt(Sn(zn)),"L",Dt(Sn(dn)),"A",Ht+dn,Ht+dn,0,0,In,Dt(Tn(yn,dn))].join(" ")}}function Ut(S,R,U){var H=arguments.length>3&&arguments[3]!==void 0?arguments[3]:8,G=arguments.length>4&&arguments[4]!==void 0?arguments[4]:1,Q=arguments.length>5&&arguments[5]!==void 0?arguments[5]:7,ce=arguments.length>6&&arguments[6]!==void 0?arguments[6]:7,ae=U*Math.PI/180,Se=S,pe=S+ce,Me=S+R,ze=Me*Math.tan(ae/2),Xe=G/2;function mt(bt,Vt){return bt+","+Vt}this.shaftLength=3*ze+G;var dt=function(bt,Vt,Ht){var Kn=Vt*Math.tan(ae/2),on=Vt/Math.cos(ae/2);return mt((Kn+Ht)*Math.sin(bt),on+(Kn+Ht)*Math.cos(bt))},nt=function(){var bt=dt(0,Me,Xe+H/2+2).split(",");return{x:bt[0],y:bt[1]}};this.midShaftPoint=nt();var st=function(bt,Vt){return dt((Math.PI+ae)/2,bt,Vt)},Ot=function(bt,Vt){return dt(-(Math.PI+ae)/2,bt,Vt)};this.outline=function(){var bt=ze-Xe,Vt=ze+Xe;return["M",st(Se,Xe),"L",st(Me,Xe),"A",Vt,Vt,0,1,1,Ot(Me,Xe),"L",Ot(pe,Xe),"L",Ot(pe,-Q/2),"L",Ot(Se,0),"L",Ot(pe,Q/2),"L",Ot(pe,-Xe),"L",Ot(Me,-Xe),"A",bt,bt,0,1,0,st(Me,-Xe),"L",st(Se,-Xe),"Z"].join(" ")}}function Mt(S,R,U){var H=arguments.length>3&&arguments[3]!==void 0?arguments[3]:1,G=arguments.length>4&&arguments[4]!==void 0?arguments[4]:7,Q=arguments.length>5&&arguments[5]!==void 0?arguments[5]:7;this.length=U-(S+R),this.shaftLength=this.length-Q;var ce=S,ae=ce+this.shaftLength,Se=ce+this.length,pe=H/2,Me=G/2;this.midShaftPoint={x:ce+this.shaftLength/2,y:0},this.outline=function(){var ze=0,Xe=0;return["M",ce,pe,"L",ze,pe,"L",ze,-pe,"L",ce,-pe,"Z","M",Xe,pe,"L",ae,pe,"L",ae,Me,"L",Se,0,"L",ae,-Me,"L",ae,-pe,"L",Xe,-pe,"Z"].join(" ")}}function Kt(){}var Zt=new Kt;function xn(S,R){this.relationships=[],S.idH)return U;var G=Math.ceil((H-R)/12);return U.length-G<=0?"":U.substr(0,U.length-G)+"\u2026"}},Kt.prototype.distributeAnglesForLoopArrows=function(S,R){for(var U,H=0,G=Array.from(S);H0){var Xe=void 0,mt=void 0,dt={start:0,end:0};for(Q=0;Qdt.end-dt.start&&(dt.start=mt,dt.end=Xe);for(ce=(dt.end-dt.start)/(U.relationships.length+1),Q=0;Q150?150/pe:30,ze=0;zeXe.x&&(Q=Xe.x),ceXe.y&&(ae=Xe.y),Se=Xe)){(bt.data!==ce||bt.next)&&(on===0&&(Er+=(on=ti(ae))*on),Rn===0&&(Er+=(Rn=ti(ae))*Rn),ErOt+zn||Tnbt+zn||Jnst.index){var Qt=Ot-Dt.x-Dt.vx,In=bt-Dt.y-Dt.vy,ln=Qt*Qt+In*In;lndt.r&&(dt.r=dt[nt].r)}function mt(){if(ce){var dt,nt,st=ce.length;for(ae=new Array(st),dt=0;dt3&&arguments[3]!==void 0?arguments[3]:1,Q=H.benchmark,ce=H.height,ae=H.width,Se=H.isResize,pe=H.layout,Me=pe.distance?pe.distance:Math.min(ce,ae)/2-80,ze=Ba(U).iterations(.05).id(function(Xe){return Xe[Q]}).distance(function(){return U.length<=5&&Se?100:U.length<=20&&Se?Me:U.length<=60?180:230});this._simulation.nodes(R).force("link",ze).velocityDecay(.2).alpha(G).alphaDecay(.08),this._simulation.restart()}},{key:"addSimulationEvent",value:function(R,U,H,G){var Q=this,ce=Ao(R,3),ae=ce[0],Se=ce[1],pe=ce[2];this._simulation.on("tick",function(){return Zt.layoutRelationships(G),Q._root.layout.force&&Zt.layoutNodes(Q._root),ae.attr("transform",function(Me){return"translate("+Me.source.x+" "+Me.source.y+") rotate("+(Me.naturalAngle-180)+")"}),Se.attr("d",function(Me){return Me.arrow.outline(Me)}),pe.attr("x",function(Me){return Me.arrow.midShaftPoint.x}).attr("y",function(Me){return Me.arrow.midShaftPoint.y+13}).attr("transform",function(Me){return Me.naturalAngle<90||Me.naturalAngle>270?"rotate(180 "+Me.arrow.midShaftPoint.x+" "+Me.arrow.midShaftPoint.y+")":null}).text(function(Me){return Me.shortCaption}),U.attr("cx",function(Me){return Me.x}).attr("cy",function(Me){return Me.y}).attr("x",function(Me){return Me.shape=="rect"?Me.x-mo(Me.size):Me.x-Me.size+6}).attr("y",function(Me){return Me.shape=="rect"?Me.y-mo(Me.size)/1.5:Me.y-Me.size+6}),void H.attr("x",function(Me){return Di(Me.name,mo(Me.size)).forEach(function(ze,Xe){rt(".node-circle--tspan-".concat(Me.id,"-").concat(Xe)).attr("x",Me.x).attr("y",ze.y+Me.y)}),Me.x}).attr("y",function(Me){return Me.y})})}},{key:"drag",value:function(){var R=this;return function(){var U,H,G,Q,ce=qt,ae=jt,Se=kt,pe=rn,Me={},ze=P("start","drag","end"),Xe=0,mt=0;function dt(on){on.on("mousedown.drag",nt).filter(pe).on("touchstart.drag",bt).on("touchmove.drag",Vt,Et).on("touchend.drag touchcancel.drag",Ht).style("touch-action","none").style("-webkit-tap-highlight-color","rgba(0,0,0,0)")}function nt(on,Rn){if(!Q&&ce.call(this,on,Rn)){var br=Kn(this,ae.call(this,on,Rn),on,Rn,"mouse");br&&(rt(on.view).on("mousemove.drag",st,cn).on("mouseup.drag",Ot,cn),vn(on.view),Jt(on),G=!1,U=on.clientX,H=on.clientY,br("start",on))}}function st(on){if(zt(on),!G){var Rn=on.clientX-U,br=on.clientY-H;G=Rn*Rn+br*br>mt}Me.mouse("drag",on)}function Ot(on){rt(on.view).on("mousemove.drag mouseup.drag",null),Fn(on.view,G),zt(on),Me.mouse("end",on)}function bt(on,Rn){if(ce.call(this,on,Rn)){var br,Er,Sn=on.changedTouches,Tn=ae.call(this,on,Rn),Jn=Sn.length;for(br=0;br `;h.createContainer=class{constructor(S){var R=["style","innerHTML","body","absolute","append","defsvg","div","createElement","zIndex"],U=function(ae,Se){ae=ae-0;var pe=R[ae];return pe};if(!document.getElementById("defsvg")){var H=document[U("0x7")](U("0x6"));H.id=U("0x5"),H[U("0x1")]=mn,H[U("0x0")].position=U("0x3"),H.style.top="-10000px",H[U("0x0")][U("0x8")]=-1,document[U("0x2")][U("0x4")](H)}Ye.prototype.addElement=function(ae){for(var Se=arguments.length,pe=new Array(Se>1?Se-1:0),Me=1;Me2&&arguments[2]!==void 0?arguments[2]:.1,nt=arguments.length>3&&arguments[3]!==void 0?arguments[3]:15,st=Ui().scaleExtent([dt,nt]).on("zoom",function(Ot){mt.attr("transform",Ot.transform)});ce.zoom=st,Xe.call(st),mt.on("dblclick.zoom",null),Xe.on("dblclick.zoom",null)}(Me,ze,pe.zoomOptions.minScale,pe.zoomOptions.maxScale)}(G,this),this._simulation=new an(this),this._pie=new so(this),this.update()}addNode(S){(function(R,U){U._ops.nodes.push(R),U.update()})(S,this)}zoomIn(){rt(this._ops.containerName).select("svg").transition().duration(750).call(this.zoom.scaleBy,1.2)}zoomOut(){rt(this._ops.containerName).select("svg").transition().duration(750).call(this.zoom.scaleBy,.8)}toggleNode(S){if(!this._ops.clickToggle)return;var R=this._ops.nodes,U=this._ops.links;S.isExtendedState=!S.isExtendedState;var H=!S.isExtendedState,G=[S.id];function Q(ce,ae,Se){Se.forEach(pe=>{if(pe.source.id===ce){pe.hide=H;const Me=ae.find(ze=>ze.id===pe.target.id);Me&&(Me.hide=H,G.push(Me.id),Q(Me.id,ae,Se))}})}setTimeout(()=>{G.forEach(ce=>{U.forEach(ae=>{(ae.source.id===ce||ae.target.id===ce)&&ae.target.id!==S.id&&(ae.hide=H)})}),this.update()},100),Q(S.id,R,U)}showAllNodes(){this._ops.nodes.forEach(S=>{S.hide=!1}),this._ops.links.forEach(S=>{S.hide=!1}),this.update()}deleteNode(S){(function(R,U){U._ops.nodes=U._ops.nodes.filter(function(H){return H.id!==R.id}),U._ops.links=U._ops.links.filter(function(H){return H.source.id!==R.id&&H.target.id!==R.id}),U.update(),te(U.operationContainer)})(S,this)}scrollToNode(S){const U=document.querySelector(this._ops.containerName+" svg").querySelector("g.graph-box"),H=this._ops.nodes.find(Me=>Me.id===S);if(!H)return;const G=H.x,Q=H.y,ce=1287,ae=596,Se=ce/2-G,pe=ae/2-Q;U.setAttribute("transform",`translate(${Se}, ${pe})`)}selectToNode(S){const R=document.querySelector(this._ops.containerName+" svg");document.body.querySelectorAll("circle.node-circle").forEach(U=>{U.classList.remove("highlightNode")}),S&&R.querySelector(".node-circle-"+S).classList.add("highlightNode")}update(S=!0,R={}){var U,H;this._pie.showPie("");const G=this._ops.nodes,Q=this._ops.links,ce=this._nodeContainer.addElement(No,G,this),ae=this._linkContainer.addElement(wt,Q,this),Se=this._textContainer.addElement(Fo,G);ce.on("click",(Xe,mt)=>M(this,null,function*(){this.toggleNode(mt);const dt=yield this._ops.nodeClick(mt);if(dt){const{type:nt,id:st}=dt;Ni(nt,st,this)}})),this._ops.isCustomMouse&&(ce.on("mouseover",(Xe,mt)=>M(this,null,function*(){yield this._ops.nodeMouseover(mt)})),ce.on("mouseout",()=>M(this,null,function*(){yield this._ops.nodeMouseout()}))),ce.on("contextmenu",(Xe,mt)=>{Xe.preventDefault(),this._pie.showPie(mt,Xe)}),ce.call(this._simulation.drag());const pe=(U=document.querySelector(this._ops.containerName))===null||U===void 0?void 0:U.clientWidth,Me=(H=document.querySelector(this._ops.containerName))===null||H===void 0?void 0:H.clientHeight,ze=document.getElementsByClassName(`${this._ops.containerName}-graph-container`)[0];ze&&pe&&Me&&(this._ops.width=pe,this._ops.height=Me,ze.setAttribute("viewBox",`0 0 ${pe} ${Me}`)),S?this._simulation.updateSimulation(G,Q,this._ops):this._simulation.updateSimulation(G,Q,this._ops,.1),this._simulation.addSimulationEvent(ae,ce,Se,Q),function(Xe,mt){var dt=["object","function","undefined"];if(mi(mt)!=="object")return Xe;for(var nt in mt)dt.indexOf(mi(mt[nt]))===-1&&(Xe[nt]=mt[nt])}(this._ops,R),Object.getOwnPropertyNames(R).length&&this._updateBaseTheme()}_updateBaseTheme(){rt(this._ops.containerName).style("background",this._ops.background)}},h.storage=wo,Object.defineProperty(h,"__esModule",{value:!0})})},90463:function(Ln,pt,M){"use strict";M.d(pt,{Z:function(){return C}});var h=M(37639),k={text:"text___FxbAX",wrap:"wrap___UlBQ1",contact:"contact____pUDq",img:"img___BapAv"},P=M(32637),_=M(59301),C=({type:p,style:m})=>{const E=_.createElement("div",{className:k.wrap,onClick:d=>{d.preventDefault(),d.stopPropagation()}},_.createElement("p",null,p==="shixun"||p==="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",_.createElement("br",null),"\u6839\u636E\u5E73\u53F0\u4F7F\u7528\u89C4\u5219\uFF0C\u9700\u8981\u6388\u6743\u624D\u80FD\u4F7F\u7528\u3002",p==="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"),_.createElement("div",{className:k.contact},_.createElement("div",{className:k.img},_.createElement("img",{src:P,width:"124px",height:"124px"})),_.createElement("div",{className:"tc font14 mt10",style:{color:"#777A93"}},"\u626B\u4E00\u626B\uFF0C\u83B7\u53D6\u6388\u6743\u7801")));return _.createElement(h.Z,{content:E},_.createElement("span",{className:k.text,style:m},"\u9AD8\u6D88\u8017"))}},2524:function(Ln,pt,M){"use strict";var h=M(59301),k=M(93314),P=M(7939),_=Object.defineProperty,B=Object.defineProperties,C=Object.getOwnPropertyDescriptors,p=Object.getOwnPropertySymbols,m=Object.prototype.hasOwnProperty,E=Object.prototype.propertyIsEnumerable,d=(r,n,a)=>n in r?_(r,n,{enumerable:!0,configurable:!0,writable:!0,value:a}):r[n]=a,l=(r,n)=>{for(var a in n||(n={}))m.call(n,a)&&d(r,a,n[a]);if(p)for(var a of p(n))E.call(n,a)&&d(r,a,n[a]);return r},o=(r,n)=>B(r,C(n));const g=({img:r,buttonProps:n={},styles:a={},customText:c,ButtonText:u,ButtonClick:s,Buttonclass:v,ButtonTwo:e,imgStyles:t,loading:i=!1,className:f=""})=>h.createElement("section",{className:`tc animated fadeIn ${f}`,style:l({color:"#999",margin:"100px auto",visibility:i?"hidden":"visible"},a)},h.createElement("img",{src:r||k,style:o(l({},t),{pointerEvents:"none",userSelect:"none"})}),h.createElement("p",{className:"mt20 font14"},c||"\u6682\u65F6\u8FD8\u6CA1\u6709\u76F8\u5173\u6570\u636E\u54E6!"),u&&h.createElement(P.ZP,l({className:v,onClick:s},n),u),e&&e);pt.Z=g},52918:function(Ln,pt,M){"use strict";M.d(pt,{Z:function(){return v}});var h=M(59301),k={wrp:"wrp___dq7YK",bgBlack:"bgBlack___ARIUV",monaco:"monaco___VnZC3",darkBlue:"darkBlue___UprA9",close:"close___LKoWu",embed:"embed___hvpEJ"},P=M(7939),_=M(70557),B=M(50258),C=M(25399),p=M(65862),m=M(87513),E=M(2524),d=M(74128),l=M(7310),o=M(59301),g=Object.defineProperty,r=Object.getOwnPropertySymbols,n=Object.prototype.hasOwnProperty,a=Object.prototype.propertyIsEnumerable,c=(e,t,i)=>t in e?g(e,t,{enumerable:!0,configurable:!0,writable:!0,value:i}):e[t]=i,u=(e,t)=>{for(var i in t||(t={}))n.call(t,i)&&c(e,i,t[i]);if(r)for(var i of r(t))a.call(t,i)&&c(e,i,t[i]);return e},s=(e,t,i)=>new Promise((f,y)=>{var b=w=>{try{A(i.next(w))}catch(L){y(L)}},x=w=>{try{A(i.throw(w))}catch(L){y(L)}},A=w=>w.done?f(w.value):Promise.resolve(w.value).then(b,x);A((i=i.apply(e,t)).next())}),v=({editOffice:e="view",data:t,issaver:i,onSaver:f,theme:y,type:b,filename:x,monacoEditor:A,className:w,style:L,close:D,onClose:O,hasMask:N,disabledDownload:I,onImgDimensions:K,showNodata:F,recordInfo:W})=>{const[j,X]=(0,h.useState)("https://view.officeapps.live.com/op/view.aspx?src=http://testgs.educoder.net//rails/active_storage/blobs/eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaHBCZz09IiwiZXhwIjpudWxsLCJwdXIiOiJibG9iX2lkIn19--03541f6234b93d7ac3b2d84e7eb0e6594a952945/1.ppt"),[Y,le]=(0,h.useState)(""),[J,ve]=(0,h.useState)(),Ce=window.ENV==="build"?"/react/build":"",be=location.host.startsWith("localhost")?d.Z.PROXY_SERVER:d.Z.API_SERVER,Ue=10*(1024*1024),we=(0,h.useRef)();t!=null&&t.startsWith("/api")&&b!=="txt"&&(t=d.Z.API_SERVER+t);const $e=Te=>Te.substring(Te.lastIndexOf("/")+1).split(".").pop();x&&A&&(A.filename=x),(0,h.useEffect)(()=>{var Te,Ge;const Be=(Ge=(Te=document.cookie)==null?void 0:Te.replace(/\s/g,""))==null?void 0:Ge.split(";");Be==null||Be.map(V=>{let q=V.split("=");q[0]==="_educoder_session"&&le(q[1])})},[]),(0,h.useEffect)(()=>{b==="office"&&(t.indexOf("bigfilescdn.")>-1||t.indexOf("bigfiles1")>-1?ve({url:t,fileType:$e(t),model:t.indexOf("model=edit")?"edit":"view"}):ge())},[b,t]);function Re(Te){return s(this,null,function*(){Te.data.type==="pdfdata"&&(f(Te.data.data),window.removeEventListener("message",Re,!1)),console.log("mess---:",Te.data)})}const ge=()=>s(void 0,null,function*(){console.log("data:",t);let Te=t;t.startsWith("http")||(Te=location.origin+Te);let Ge=new URL(Te).pathname.split("/").pop();const Be=yield(0,m.gJ)({attachment_id:Ge});Be.url=be+Be.url,ve(Be)}),Ze=()=>{if(t.startsWith("http")||t.startsWith("blob:")){Fe();return}(0,p.Sv)(x||"educoder",t,x)},Fe=()=>{W&&(0,l.fc)({id:W==null?void 0:W.id,watch_type:1,course_id:W==null?void 0:W.course_id}),(0,p.Nd)(x||"educoder",decodeURIComponent(t))};return o.createElement("div",{style:u({},L||{}),className:`${N&&k.bgBlack} ${b?k.wrp:"hide"}`},D&&o.createElement("div",{className:k.close,ref:we},!!K&&o.createElement(C.Z,{title:"\u70B9\u51FB\u5BF9\u56FE\u7247\u8FDB\u884C\u6279\u6CE8",getPopupContainer:()=>we.current},o.createElement("span",{onClick:()=>{O(),K()}},o.createElement("i",{className:"icon-yulanpizhu"}))),!I&&o.createElement(C.Z,{title:"\u70B9\u51FB\u4E0B\u8F7D\u6B64\u6587\u4EF6",getPopupContainer:()=>we.current},o.createElement("span",{onClick:Fe},o.createElement("i",{className:"icon-quxiaozhiding"}))),i&&o.createElement(C.Z,{title:"\u4FDD\u5B58pdf\u5E76\u9000\u51FA",getPopupContainer:()=>we.current},o.createElement("span",{className:"",onClick:()=>{const Te=document.getElementById("pdfiframe");window.addEventListener("message",Re,!1),setTimeout(()=>{Te.contentWindow.postMessage("getData","*")},300)}},o.createElement("i",{className:"icon-baocun"}))),o.createElement(C.Z,{title:"\u5173\u95ED",getPopupContainer:()=>we.current},o.createElement("span",{className:"",onClick:()=>{O()}},o.createElement("i",{className:"icon-guanbi1"})))),o.createElement("div",{className:`${k[w]} ${w} ${k.monaco} ${b==="txt"?"show":"hide"}`},b==="txt"&&o.createElement(o.Fragment,null,o.createElement(B.ZP,u({},A)))),b==="audio"&&o.createElement("audio",{src:`${(t==null?void 0:t.indexOf("http://"))>-1||(t==null?void 0:t.indexOf("https://"))>-1?"":"data:audio/mp3;base64,"}${t}`,autoPlay:!0}),b==="video"&&o.createElement(o.Fragment,null,(t==null?void 0:t.indexOf("http"))>-1?o.createElement("video",{controls:!0,src:`${t}`,autoPlay:!0}):o.createElement("video",{controls:!0,src:`data:video/mp4;base64,${t}`,autoPlay:!0})),b==="office"&&J&&o.createElement("iframe",{src:`${Ce}/office.html?key=${J.key}&url=${btoa(J.url)}&callbackUrl=${be+(J.callbackUrl||"")}&fileType=${J.fileType}&title=${J.title||""}&model=${e}&officeServer=${d.Z.ONLYOFFICE}&disabledDownload=${!!I}`}),b==="html"&&o.createElement("iframe",{src:t+"&disposition=inline"}),b==="pdf"&&o.createElement("iframe",{id:"pdfiframe",src:`${Ce}/js/pdf/index.html?filename=${x||"educoder.pdf"}&url=${encodeURIComponent(t)}&disabledDownload=${!!I}&model=${e}`}),b==="image"&&o.createElement("img",{src:`${(t==null?void 0:t.indexOf("http://"))>-1||(t==null?void 0:t.indexOf("https://"))>-1?"":"data:image/png;base64,"}${t}`}),(b==="other"||b==="download")&&o.createElement(o.Fragment,null,F?o.createElement(E.Z,{customText:"\u5F53\u524D\u6587\u4EF6\u4E0D\u652F\u6301\u9884\u89C8\uFF0C\u53EF\u70B9\u51FB\u4E0B\u8F7D\u67E5\u770B",ButtonTwo:o.createElement(P.ZP,{icon:o.createElement("i",{className:"iconfont icon-xiazai4 font14"}),type:"primary",size:"middle",onClick:Ze,disabled:I},"\u4E0B\u8F7D")}):o.createElement(P.ZP,{type:"primary",size:"middle",onClick:Ze,disabled:I},o.createElement(_.Z,null),"\u70B9\u51FB\u4E0B\u8F7D")),b==="flowChart"&&o.createElement("div",{className:"embed"},o.createElement("iframe",{src:`/drawio/src/main/webapp/viewer.html?id=${t||""}&gapi=0&od=0&db=0&gh=0&gl=0`,width:"100%",height:"100%",frameBorder:"0"})))}},97442:function(Ln,pt,M){"use strict";M.d(pt,{Z:function(){return p}});var h=M(36237),k=M(60840),_={token:{colorPrimary:"#1B8565",colorInfo:"#1B8565",colorLink:"#1B8565",borderRadius:2,fontSizeLG:14},components:{Radio:{radioSize:16,dotSize:6},Modal:{titleFontSize:16,titleColor:"#000"}}},B=M(59301),p=({children:m,prefixCls:E="knowledgeGraph"})=>document.documentElement.style.fontSize!==""?B.createElement(h.StyleProvider,{transformers:[(0,h.px2remTransformer)({rootValue:1})]},B.createElement(k.ZP,{prefixCls:E,theme:_},m)):B.createElement(B.Fragment,null,m)},95097:function(Ln,pt,M){"use strict";M.d(pt,{z:function(){return A},Z:function(){return w}});var h=M(59301),k=M(48850),P=M(49142),_=M(64018),B=M(17030),C=M(74128),p=M(65862),m=M(15342),E=M(44104),d=M(7939),l=M(1012),o=M(52918),g=M(59301),n=({html:L})=>{const D=(0,h.useRef)(null),O=(0,h.useRef)(null),N=`.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,h.useEffect)(()=>{const I=D.current.attachShadow({mode:"open"});O.current=document.createElement("div"),O.current.className="markdown-body",O.current.innerHTML=L,I.appendChild(O.current);const K=document.createElement("style");return K.textContent=N,I.appendChild(K),()=>{I.innerHTML=""}},[]),(0,h.useEffect)(()=>{O.current&&(O.current.innerHTML=L)},[L]),g.createElement("div",{ref:D})};function a(L){const D=["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"],O=new RegExp(`\\b(${D.join("|")})\\s*=\\s*(?:"[^"]*"|'[^']*'|[^\\s>]*)`,"gi");return L.replace(O,"").trim()}var c={mdBody:"mdBody___raKXb",button:"button___Ch5Pc",previewFlowChart:"previewFlowChart___vY1dq"},u=Object.defineProperty,s=Object.getOwnPropertySymbols,v=Object.prototype.hasOwnProperty,e=Object.prototype.propertyIsEnumerable,t=(L,D,O)=>D in L?u(L,D,{enumerable:!0,configurable:!0,writable:!0,value:O}):L[D]=O,i=(L,D)=>{for(var O in D||(D={}))v.call(D,O)&&t(L,O,D[O]);if(s)for(var O of s(D))e.call(D,O)&&t(L,O,D[O]);return L};const f="@\u2581\u2581@",y="@\u2581@",b=/]*>/g;function x(L){let D=document.createElement("div");return D.innerHTML=L,D.childNodes.length===0?"":D.childNodes[0].nodeValue}const A=(L,D)=>{L=L||"";const O=/(?:https?:\/\/[^\/]+)?\/api\/attachments\/([A-Za-z0-9+/=]+)(\?.*?)?\)|(?:https?:\/\/[^\/]+)?\/api\/attachments\/([A-Za-z0-9+/=]+)(\?.*?)?|(?:https?:\/\/[^\/]+)?\/attachments\/download\/([A-Za-z0-9+/=]+)(\?.*?)?\//g,N=/\"(?:https?:\/\/[^\/]+)?\/api\/attachments\/([A-Za-z0-9+/=]+)(\?.*?)?|\"(?:https?:\/\/[^\/]+)?\/attachments\/download\/([A-Za-z0-9+/=]+)(\?.*?)?\//g,I=/\(\s+(?:https?:\/\/[^\/]+)?\/files\/uploads\/([A-Za-z0-9+/=]+)(\?.*?)?|\"(?:https?:\/\/[^\/]+)?\/files\/uploads\/([A-Za-z0-9+/=]+)(\?.*?)?\//g,K=/(?:https?:\/\/[^\/]+)?\/attachments\/download\/([A-Za-z0-9+/=]+)(\?.*?)?\//g;return D?L.replaceAll("https://www.educoder.net","").replaceAll("https://www-cdn.educoder.net","").replaceAll("//api/attachments","/api/attachments").replace(O,(F,W,j,X,Y,le,J)=>{const ve=W||X||le,Ce=j||Y||J||"?";return C.Z.API_SERVER+"/api/attachments/"+ve+Ce+"&t="+(0,p.Jn)(ve,Date.now())+(F.indexOf(")")>-1?")":"&")}).replaceAll('src="(','src="').replaceAll("src='(",'src="'):(L=L.replace(K,(F,W,j,X,Y,le,J)=>{const ve=W||X||le,Ce=j||Y||J||"?";return C.Z.API_SERVER+"/attachments/download/"+ve+Ce+"&t="+(0,p.Jn)(ve,Date.now())+(F.indexOf(")")>-1?")":"&")}).replace(O,(F,W,j,X,Y,le,J)=>{const ve=W||X||le,Ce=j||Y||J||"?";return C.Z.API_SERVER+"/api/attachments/"+ve+Ce+"&t="+(0,p.Jn)(ve,Date.now())+(F.indexOf(")")>-1?")":"&")}).replace(N,(F,W,j,X,Y)=>{const le=W||X,J=j||Y||"";return'"'+C.Z.API_SERVER+"/api/attachments/"+le+J+le+J+"&t="+(0,p.Jn)(le,Date.now())}).replace(I,(F,W,j,X,Y)=>{const le=W||X,J=j||Y||"";return"("+C.Z.API_SERVER+"/files/uploads/"+le+J+le+J+"&t="+(0,p.Jn)(le,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,` `),L)};var w=({value:L="",edit:D=!1,className:O,showTextOnly:N,showLines:I,style:K={},stylesPrev:F={},highlightKeywords:W,showProgramFill:j,isProgramFill:X,disabledFill:Y=!1,programFillValue:le,openEditor:J=()=>{},onFillChange:ve=Ae=>{},onFillBlur:Ce=()=>{},onFillFocus:be=()=>{}})=>{let Ae=a(String(L||""));const Ue=(0,h.useRef)(),we=(0,h.useRef)(),[$e,Re]=(0,h.useState)(""),[ge,Ze]=(0,h.useState)("office"),[Fe,Te]=(0,h.useState)([]),Ge=(0,h.useRef)("a"+(0,l.Z)()),Be={},V=qe=>//i.test(qe||""),q=(qe,ft,Ke)=>{const Oe=document.createElement(qe===y?"input":"textarea");Oe.style.width="100%",Oe.style.height=qe===y?"40px":"151px",Oe.rows=5,Oe.spellcheck=!1,Oe.name="edu-program-fill",Oe.placeholder="\u8BF7\u8F93\u5165",Oe.dataset.id=ft;const Ye=Object.keys(Be).length;return Be[Ye]=Oe,`${Oe.outerHTML}`};function re(qe){return qe=qe.replace(/!\[.*?\]\(.*?\)/g,""),qe=qe.replace(/\[.*?\]\(.*?\)/g,""),qe=qe.replace(new RegExp("","gs"),""),qe=qe.replace(//g,""),qe=qe.replace(//g,""),qe=qe.replace(new RegExp(".*?<\\/video>","gs"),""),qe=qe.replace(new RegExp(".*?<\\/audio>","gs"),""),qe=qe.replace(new RegExp(".*?<\\/style>","gs"),""),qe=qe.replace(new RegExp(".*?<\\/script>","gs"),""),qe}const ee=qe=>!N&&V(Ae)?qe:qe.replace(/([\s\S]+?)<\/style>/gim,function(ft,Ke){let Oe=Ke.replace(/(\n|\r)/g,"").split("}"),Ye=[];return Oe.map(rt=>{rt!=""&&Ye.push(`.${Ge.current} ${rt}`)}),``}),oe=(0,h.useMemo)(()=>{try{const Oe=/\(\s+\/api\/attachments\/|\(\/api\/attachments\//g,Ye=/\"\/api\/attachments\/|\"\/attachments\/download\//g,rt=/\(\s+\/files\/uploads\/|\"\/files\/uploads\//g,yt=/\(\/attachments\/download\//g;Ae=Ae.replace(yt,"("+C.Z.API_SERVER+"/attachments/download/").replace(Oe,"("+C.Z.API_SERVER+"/api/attachments/").replace(Ye,'"'+C.Z.API_SERVER+"/api/attachments/").replace(rt,'"'+C.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,` `),Ue.current.style.display="none"}catch(Oe){}if(j){let Oe=-1;return Ae=Ae.replaceAll("<","<").replaceAll(">",">").replace(/(@▁▁@|@▁@)/g,function(Ye,rt,yt){var Et;return++Oe,q(Ye,Oe,(Et=le==null?void 0:le[Oe])==null?void 0:Et.value.replaceAll("<","<").replaceAll(">",">"))}),`
${ee(Ae||"")}
`}let qe=ee(Ae);qe=(0,P.ZP)(qe);const ft=(0,P.ez)();Ae.match(/\[TOC\]/)&&(qe=qe.replace("

[TOC]

",(0,P.Qv)()),(0,P.Iy)()),qe=qe.replace(/(__special_katext_id_\d+__)/g,(Oe,Ye)=>{const{type:rt,expression:yt}=ft[Ye];return(0,m.renderToString)(x(yt)||"",{displayMode:rt==="block",throwOnError:!1,output:"html"})}),qe=qe.replace(/▁/g,"\u2581\u2581\u2581\u2581\u2581"),(0,P.AL)();const Ke=document.createElement("div");if(Ke.innerHTML=qe,N)return Ke.innerText;if(W){const Oe=W.replace(/[.*+?^${}()|[\]\\]/g,"\\$&");return ne(Ke,Oe),Ke.innerHTML}return setTimeout(()=>Je(),500),Ke.innerHTML},[Ae,W]);(0,h.useEffect)(()=>{de.current&&de.current.querySelectorAll(["input","textarea"]).forEach(ft=>{ft.oninput=$,ft.onblur=fe,ft.onfocus=xe})},[Fe]),(0,h.useEffect)(()=>{var qe,ft,Ke,Oe,Ye;if(le!=null&&le.length)try{const rt=de.current.querySelectorAll(".edu-program-fill-score"),yt=de.current.querySelectorAll('[name="edu-program-fill"]');for(const[Et,cn]of yt.entries())cn.value=((qe=le==null?void 0:le[Et])==null?void 0:qe.value)||"",((ft=le==null?void 0:le[Et])==null?void 0:ft.type)==="warning"?cn.className="program-fill-warning":((Ke=le==null?void 0:le[Et])==null?void 0:Ke.type)==="success"?cn.className="program-fill-success":cn.className="";for(const[Et,cn]of rt.entries())cn.innerHTML=(Oe=le==null?void 0:le[Et])!=null&&Oe.score?`${(Ye=le==null?void 0:le[Et])==null?void 0:Ye.score}\u5206`:"";Te(le)}catch(rt){console.log(rt,"error")}},[le]);const $=qe=>{Fe[qe.target.dataset.id]=Fe[qe.target.dataset.id]||{},Fe[qe.target.dataset.id].value=qe.target.value,Te([...Fe]),ve(Fe,qe.target.dataset.id)},fe=qe=>{Fe[qe.target.dataset.id]=Fe[qe.target.dataset.id]||{},Fe[qe.target.dataset.id].value=qe.target.value,Te([...Fe]),Ce(Fe,qe.target.dataset.id)},xe=qe=>{Fe[qe.target.dataset.id]=Fe[qe.target.dataset.id]||{},Fe[qe.target.dataset.id].value=qe.target.value,Te([...Fe]),be(Fe,qe.target.dataset.id)};function ne(qe,ft){return qe.childNodes.forEach(Ke=>{var Oe;if(Ke.childNodes.length>0)ne(Ke,ft);else if(Ke.nodeName!=="IMG")if(Ke.innerHTML)Ke.innerHTML=(Oe=Ke.innerHTML)==null?void 0:Oe.replace(new RegExp(ft,"gi"),'$&');else{const Ye=document.createElement("span");Ye.innerHTML=Ke.textContent.replace(new RegExp(ft,"gi"),'$&'),Ke.replaceWith(Ye)}})}const de=(0,h.useRef)();P.jb.WebkitLineClamp=I,I&&(K=i(i({},K),P.jb));function ut(qe){let ft=qe.target;if(ft.tagName.toUpperCase()==="A"){let Ke=ft.getAttribute("href");if(Ke.indexOf("office")>-1)qe.preventDefault(),Re(Ke),Ze("office");else if(Ke.indexOf("application/pdf")>-1)qe.preventDefault(),Re(Ke),Ze("pdf");else if(Ke.indexOf("text/html")>-1)qe.preventDefault(),Re(Ke),Ze("html");else if(Ke.startsWith("#")){qe.preventDefault();let Oe=document.getElementById(Ke.replace("#",""));Oe&&Oe.scrollIntoView(!0)}}}const Je=()=>{var qe;const ft=(qe=de.current)==null?void 0:qe.querySelectorAll("video");ft==null||ft.forEach(Ke=>{if(Ke.oncontextmenu=()=>!1,Ke.src.indexOf(".m3u8")>-1&&!Ke.canPlayType("application/vnd.apple.mpegurl")){if(B.ZP.isSupported()){var Oe=new B.ZP;Oe.loadSource(Ke.src),Oe.attachMedia(Ke)}}})};(0,h.useEffect)(()=>{if(de.current&&oe&&oe.match(b)&&window.PR.prettyPrint(),de.current)return de.current.addEventListener("click",ut),()=>{var qe;(qe=de.current)==null||qe.removeEventListener("click",ut),(0,P.AL)(),(0,P.Iy)()}},[oe,de.current,ut]);const ht=qe=>{qe.target.nodeName==="IMG"&&qe.target.className.indexOf("draw-flowchart")>-1?(Ue.current.style.zIndex=1,Ue.current.style.display="flex",Ue.current.style.width=qe.target.clientWidth+"px",Ue.current.style.height=qe.target.clientHeight+"px",Ue.current.style.top=qe.target.offsetTop+"px",Ue.current.style.left=qe.target.offsetLeft+"px",qe.target.id&&(we.current=qe.target.id)):Ue.current.style.display="none"},vt=()=>{Ue.current.style.display="none"};return(0,h.useEffect)(()=>{var qe;const ft=Ke=>{Ke.preventDefault(),Ke.clipboardData.setData("text",window.getSelection().toString())};return(qe=de.current)==null||qe.addEventListener("copy",ft),()=>{var Ke;(Ke=de.current)==null||Ke.removeEventListener("copy",ft)}},[de.current]),h.createElement("div",{style:{position:"relative"},onMouseLeave:vt},N&&h.createElement("div",{ref:de,className:`${c.mdBody} `},oe),!N&&!V(oe)&&h.createElement("div",{ref:de,style:i({},K),onMouseOver:ht,className:`${O||""} ${Y?"disabled-fill":""} markdown-body ${c.mdBody} ${Ge.current}`,dangerouslySetInnerHTML:{__html:oe}}),!N&&V(oe)&&h.createElement(n,{html:oe}),h.createElement("div",{ref:Ue,className:`${c.button} ${D?"":c.previewFlowChart}`},h.createElement(E.Z,null,h.createElement(d.ZP,{onClick:()=>{D?J(we.current):(Re(we.current),Ze("flowChart"))}},D?"\u7F16\u8F91":"\u9884\u89C8"))),h.createElement(o.Z,{close:!0,data:$e,type:$e!=null&&$e.length?ge:"",style:i({},F),onClose:()=>Re("")}))}},46919:function(Ln,pt,M){"use strict";var h=M(59301),k=M(28284),P=M(77019),_=M(82326),B=M(37568),C=M(1560),p=M(7939),m=M(62673),E=M(25399),d=M(6767),l=M(70858),o=M(65582),g=M(66649),r=M.n(g),n=M(26724),a=M.n(n),c=M(58143),u=M(33270),s=M(82636),v=M(70031),e=M(59301),t=Object.defineProperty,i=Object.defineProperties,f=Object.getOwnPropertyDescriptors,y=Object.getOwnPropertySymbols,b=Object.prototype.hasOwnProperty,x=Object.prototype.propertyIsEnumerable,A=(W,j,X)=>j in W?t(W,j,{enumerable:!0,configurable:!0,writable:!0,value:X}):W[j]=X,w=(W,j)=>{for(var X in j||(j={}))b.call(j,X)&&A(W,X,j[X]);if(y)for(var X of y(j))x.call(j,X)&&A(W,X,j[X]);return W},L=(W,j)=>i(W,f(j)),D=(W,j,X)=>new Promise((Y,le)=>{var J=be=>{try{Ce(X.next(be))}catch(Ae){le(Ae)}},ve=be=>{try{Ce(X.throw(be))}catch(Ae){le(Ae)}},Ce=be=>be.done?Y(be.value):Promise.resolve(be.value).then(J,ve);Ce((X=X.apply(W,j)).next())});const O=[];function N({onSearch:W,schools:j}){return e.createElement(k.default,{colon:!1,layout:"horizontal",onFinish:W,initialValues:{keyword:"",school_name:"",search_type:"1"}},e.createElement(P.Z,{style:{flexWrap:"nowrap"}},e.createElement(k.default.Item,{name:"search_type",label:"\u641C\u7D22\u7C7B\u578B"},e.createElement(_.default,{popupClassName:v.Z.selectdown,style:{width:106}},e.createElement(_.default.Option,{value:"1"},"\u59D3\u540D"),e.createElement(_.default.Option,{value:"2"},"\u624B\u673A\u53F7"),e.createElement(_.default.Option,{value:"3"},"\u90AE\u7BB1"))),e.createElement(k.default.Item,{style:{marginLeft:20},label:"\u641C\u7D22\u5185\u5BB9",name:"keyword",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u641C\u7D22\u5185\u5BB9"}]},e.createElement(B.default,{allowClear:!0,style:{width:300},size:"middle"})),e.createElement(k.default.Item,{style:{marginLeft:20},label:"\u5355\u4F4D",name:"school_name"},e.createElement(C.Z,{options:j,style:{width:300},size:"middle",showSearch:!0,filterOption:(X,Y)=>Y.value.toUpperCase().indexOf(X.toUpperCase())!==-1,placeholder:"\u8BF7\u8F93\u5165\u5355\u4F4D\u540D\u79F0"})),e.createElement(p.ZP,{type:"primary",style:{background:"#F6F7F9 linear-gradient(180deg, #FFFFFF 0%, #F6F7F9 100%)",boxShadow:"0px 2px 4px 0px #E0DFE1, inset 0px 1px 3px 0px rgba(255,255,255,0.5)",borderRadius:16,color:"#165DFF",marginLeft:40,border:"1px solid #BACFFE"},htmlType:"submit"},"\u641C\u7D22")))}var I=(W=>(W[W.INITDATA=0]="INITDATA",W[W.INITSCHOOLS=1]="INITSCHOOLS",W[W.SHOWLOADING=2]="SHOWLOADING",W[W.SELECTEDIDS=3]="SELECTEDIDS",W[W.SETQUERY=4]="SETQUERY",W[W.SETPAGE=5]="SETPAGE",W))(I||{});function K(W,j){switch(j.type){case 0:return w(w({},W),j.payload);case 4:return w(w({},W),j.payload);case 5:return L(w({},W),{page:j.payload,reload:!1});case 2:return L(w({},W),{loading:j.payload});case 1:return L(w({},W),{schools:j.payload});case 3:return L(w({},W),{selectedIds:j.payload});default:throw new Error}}const F={data:[],schools:[],loading:!1,selectedIds:[],query:null,page:1,count:0,reload:!1};pt.Z=({onSelect:W,onCancel:j,container_id:X,container_type:Y})=>{const[le,J]=(0,h.useReducer)(K,F),{data:ve,schools:Ce,loading:be,selectedIds:Ae,page:Ue,count:we,query:$e,reload:Re}=le;(0,h.useEffect)(()=>{function V(){return D(this,null,function*(){const{users:q,user_count:re}=yield(0,u.nQ)(L(w({},$e),{page:Ue,container_type:Y,container_id:X,display_aliases:!0}));J({type:0,payload:{data:Re?q:[...ve,...q],count:re}})})}$e&&V()},[Ue,$e,Re,X,Y]),(0,h.useEffect)(()=>{function V(){return D(this,null,function*(){const{school_names:q}=yield(0,u.K$)({display_aliases:!0});J({type:1,payload:q.map(re=>({value:re}))})})}V()},[]);const ge=[{title:"",dataIndex:"added",width:40,ellipsis:!0,render:(V,q)=>e.createElement(m.default,{value:q.numid,checked:Ae.includes(q.numid),disabled:!!V})},{title:"\u59D3\u540D",width:100,ellipsis:!0,align:"left",dataIndex:"username",render:(V,q)=>e.createElement("div",null,e.createElement(E.Z,{placement:"bottom",title:V},e.createElement(o.Link,{style:{color:"#000000"},className:"bold c-black",to:`/users/${q.login}`,target:"_blank"},V||"--")))},{title:"\u624B\u673A",width:100,dataIndex:"phone",ellipsis:!0,render:V=>e.createElement(E.Z,{placement:"bottom",title:V},e.createElement("span",{style:{color:"#000000"}},V||"--"))},{title:"\u90AE\u7BB1",dataIndex:"email",width:100,ellipsis:!0,render:V=>e.createElement(E.Z,{placement:"bottom",title:V},e.createElement("span",{style:{color:"#000000"}},V||"--"))},{title:"\u5B66\u53F7/\u5DE5\u53F7",width:100,dataIndex:"student_number",ellipsis:!0,render:V=>e.createElement(E.Z,{placement:"bottom",title:V},e.createElement("span",{style:{color:"#000000"}},V||"--"))},{title:"\u5B66\u6821/\u5355\u4F4D",width:150,dataIndex:"school_name",ellipsis:!0,render:V=>e.createElement(E.Z,{placement:"bottom",title:V},e.createElement("span",{style:{color:"#000000"}},V||"--"))},{title:"\u9662\u7CFB/\u90E8\u95E8",dataIndex:"depart_name",width:130,ellipsis:!0,render:V=>e.createElement(E.Z,{placement:"bottom",title:V},e.createElement("span",{style:{color:"#000000"}},V||"--"))},{title:"\u5B9E\u540D\u8BA4\u8BC1",dataIndex:"auth",width:100,render:V=>e.createElement("span",{style:{color:"#000000"}},V?"\u662F":"\u5426")},{title:"\u6700\u540E\u767B\u5F55\u65F6\u95F4",dataIndex:"last_login_on",width:140,ellipsis:!0,render:V=>e.createElement(E.Z,{placement:"bottom",title:V},e.createElement("span",{style:{color:"#000000"}},r()(V).format("YYYY-MM-DD HH:mm")))},{title:"\u72B6\u6001",dataIndex:"added",width:80,render:V=>{if(V===1)return e.createElement("span",{style:{color:"#000000"}},"\u5DF2\u6DFB\u52A0")}}];function Ze(V){J({type:4,payload:{page:1,reload:!0,query:V}})}function Fe(V){J({type:5,payload:V})}function Te(V){let q=Ae.indexOf(V);q>=0?Ae.splice(q,1):Ae.push(V),J({type:3,payload:[...Ae]})}function Ge(){Ae.length===0?d.ZP.warning("\u8BF7\u5148\u5728\u4E0B\u9762\u5217\u8868\u4E2D\u9009\u62E9\u8981\u6DFB\u52A0\u6210\u5458"):(W(Ae,X),J({type:0,payload:{data:[],count:0,page:1,selectedIds:[],query:null,reload:!1}}))}const Be=we>Ue*10;return e.createElement("div",{className:"select-user-container",style:{paddingBottom:20}},e.createElement(N,{onSearch:Ze,schools:Ce}),$e?e.createElement(e.Fragment,null,e.createElement("div",{className:"flexd-table-header mt20"},e.createElement(s.Gi,null,e.createElement(l.default,{pagination:!1,dataSource:O,columns:ge}))),e.createElement("div",{style:{maxHeight:260,overflow:"auto",marginBottom:20}},e.createElement(a(),{initialLoad:!1,pageStart:1,threshold:20,loadMore:Fe,hasMore:Be,useWindow:!1},e.createElement(s.Gi,null,e.createElement(l.default,{loading:be,showHeader:!1,pagination:!1,dataSource:ve,columns:ge,onRow:V=>({onClick:q=>{V.added!==1&&Te(V.numid)}})})))),e.createElement("div",{className:"flex-container flex-end"},e.createElement(p.ZP,{type:"ghost",style:{marginRight:10,border:"1px solid #C3CFE0",color:"#464F66"},onClick:j},"\u53D6\u6D88"),e.createElement(p.ZP,{style:{background:"#F6F7F9 linear-gradient(180deg, #FFFFFF 0%, #F6F7F9 100%)",boxShadow:"0px 2px 4px 0px #E0DFE1, inset 0px 1px 3px 0px rgba(255,255,255,0.5)",borderRadius:2,color:"#165DFF",border:"1px solid #BACFFE"},type:"primary",onClick:Ge},"\u786E\u5B9A"))):e.createElement("div",{className:"tc font16 c-light-black mt40 pb30"},e.createElement("img",{src:c,width:"100",alt:""}),e.createElement("br",null),e.createElement("p",{className:"mt20"},"\u8BF7\u641C\u7D22\u8981\u6DFB\u52A0\u7684\u4EBA\u5458")))}},44080:function(Ln,pt,M){"use strict";M.d(pt,{Z:function(){return n}});var h=M(59301),k=M(6767),P=M(75727),_=M(73217),B=M(17030),C=M(41867),p=M(56102),m=M(84056),E={watermark:"watermark___hNYlv",videovideo:"videovideo___ovOkV",animate__loop:"animate__loop___mvL6s",upDown:"upDown___SlgHv",container:"container___g1WYG","video-container":"video-container___XPkWR","video-controls":"video-controls___to0Zq",hide:"hide___NA3DV","video-progress":"video-progress___gqHsd",seek:"seek___iZHBm","seek-tooltip":"seek-tooltip___uWyXx","bottom-controls":"bottom-controls___uoIBm","left-controls":"left-controls___mBEx4","right-controls":"right-controls___e9L6r",rateOverlay:"rateOverlay___HHBWe",controlText:"controlText___M_BWR","volume-controls":"volume-controls___fa3mE","fullscreen-button":"fullscreen-button___ur0es","fullscreen-button1":"fullscreen-button1___rfaXm","pip-button":"pip-button___GFO8W","playback-animation":"playback-animation___ndURq",volume:"volume___OTmpP",hidden:"hidden___o7GkT"},d=(a,c,u)=>new Promise((s,v)=>{var e=f=>{try{i(u.next(f))}catch(y){v(y)}},t=f=>{try{i(u.throw(f))}catch(y){v(y)}},i=f=>f.done?s(f.value):Promise.resolve(f.value).then(e,t);i((u=u.apply(a,c)).next())});function l(a){if(isNaN(a))return{minutes:"00",seconds:"00"};const c=new Date(a*1e3).toISOString().substr(11,8);return{hour:c.substr(0,2),minutes:c.substr(3,2),seconds:c.substr(6,2)}}Object.defineProperty(HTMLMediaElement.prototype,"playing",{get:function(){return this.currentTime>0&&!this.paused&&!this.ended&&this.readyState>2}});function o(a,c){return a-c}function g(a){a.sort(o);let c=0;for(let u=0;u{},handlePlay:f=()=>{},handlePlayEnded:y=()=>{},autoPlay:b=!1,onPlayEnded:x=()=>{},isShowWaterMark:A=!0},w)=>{var L;c=c==null?void 0:c.replace("http://","https://");const O=((L=c==null?void 0:c.split("."))==null?void 0:L.pop())==="flv",N=(0,h.useRef)(),I=(0,h.useRef)(),K=(0,h.useRef)(),F=(0,h.useRef)(),W=(0,h.useRef)(),j=(0,h.useRef)(),X=(0,h.useRef)(),Y=(0,h.useRef)(),le=(0,h.useRef)(),J=(0,h.useRef)(),ve=(0,h.useRef)(),Ce=(0,h.useRef)(),be=(0,h.useRef)(),Ae=(0,h.useRef)(),Ue=navigator.userAgent.toLowerCase().match(r),we=Ue?Ue[0]:"pc",$e=(0,h.useRef)(!1),Re=(0,C.eY)();let ge=0,Ze=0,Fe=0,Te=null,Ge=!1,Be=20,V=1,q=!1,re=!1,ee=[];(0,h.useImperativeHandle)(w,()=>({getLastUpdatedTime:()=>N.current.currentTime,getDuration:()=>N.current.duration})),k.ZP.config({maxCount:1,getContainer:()=>K.current});const oe=(0,h.useCallback)((Je,ht=!1)=>{let vt={point:N.current.currentTime};Te?(vt.log_id=Te,vt.watch_duration=g(ee),vt.total_duration=Ze):(e?(vt.video_id=parseInt(s,10),vt.course_id=e):vt.video_id=s,vt.duration=ge,vt.device=we),ht&&(vt.ed="1");function qe(){return d(this,null,function*(){q=!0,Te=yield v==null?void 0:v(vt),q=!1,Je&&Je()})}qe()},[s,e]);(0,h.useEffect)(()=>{N.current&&(F.current.style.display="none",W.current.style.display="block"),k.ZP.destroy();let Je=null;return _.Z.isSupported&&O&&c&&(c==null?void 0:c.indexOf(".m3u8"))<0?(Je=_.Z.createPlayer({type:"flv",volume:.8,cors:!0,url:c,muted:!1}),N.current&&(Je.attachMediaElement(N.current),Je.load())):N.current.setAttribute("src",c),fe(),()=>{Je&&(Je.unload(),Je.pause(),Je.destroy(),Je=null)}},[N,O,c]);function $(){N.current.paused?(F.current.style.display="none",W.current.style.display="block"):(F.current.style.display="block",W.current.style.display="none")}function fe(){ve.current.style.display="none",be.current.style.display="none",Ce.current.style.display="none",N.current.muted||N.current.volume===0?ve.current.style.display="block":N.current.volume>0&&N.current.volume<=.5?be.current.style.display="block":Ce.current.style.display="block"}(0,h.useEffect)(()=>{const Je=document.getElementById("play"),ht=document.querySelectorAll(".playback-icons use");function vt(){f(),t&&!$e.current&&(N.current.currentTime=t),$e.current=!0,ee.push(N.current.currentTime),Ge||(Ge=!0,u&&oe())}function qe(){return d(this,null,function*(){$(),ee.push(N.current.currentTime),u&&oe(()=>{Te=null,Fe=0,Ge=!1,q=!1,re=!1,ee=[],Ze=0,V=1},!0),x()})}function ft(){j.current.value=Math.round(N.current.currentTime),X.current.value=Math.round(N.current.currentTime)}function Ke(){const tn=l(Math.round(N.current.currentTime));le.current.innerText=`${tn.hour>0?tn.hour+":":""}${tn.minutes}:${tn.seconds}`,le.current.setAttribute("datetime",`${tn.hour>0?" "+tn.hour+" ":""}${tn.minutes}m ${tn.seconds}s`)}function Oe(){var tn,Pn,qt,jt,kt,rn,It;const Bt=Math.round((tn=N.current)==null?void 0:tn.duration);(qt=(Pn=j.current)==null?void 0:Pn.setAttribute)==null||qt.call(Pn,"max",Bt),(kt=(jt=X.current)==null?void 0:jt.setAttribute)==null||kt.call(jt,"max",Bt);const Wt=l(Bt);Y.current&&(Y.current.innerText=`${Wt.hour>0?Wt.hour+":":""}${Wt.minutes}:${Wt.seconds}`,(It=(rn=Y.current).setAttribute)==null||It.call(rn,"datetime",`${Wt.hour>0?" "+Wt.hour+" ":""}${Wt.minutes}m ${Wt.seconds}s`))}function Ye(){try{const tn=Math.round(N.current.duration);j.current.setAttribute("max",tn),X.current.setAttribute("max",tn);const Pn=l(tn);Y.current.innerText=`${Pn.hour>0?Pn.hour+":":""}${Pn.minutes}:${Pn.seconds}`,Y.current.setAttribute("datetime",`${Pn.hour>0?" "+Pn.hour+" ":""}${Pn.minutes}m ${Pn.seconds}s`),ft(),Ke();const{width:qt,height:jt,x:kt,y:rn}=I.current.getBoundingClientRect();if(kt<0||rn<0,!re){let It=N.current.currentTime,Bt=It-Fe;Math.abs(Bt)<10?(Ze+=Math.abs(Bt),Fe=It,q||Ze-V*Be>=0&&(V++,ee.push(Fe),u&&oe())):(Fe=It,u&&oe())}}catch(tn){console.log("videoplaying:",tn)}}function rt(){re=!0}function yt(){N.current.playing&&ee.push(N.current.currentTime,Fe),Fe=N.current.currentTime,re=!1}function Et(){ge=N.current.duration,ge<=20&&(Be=ge/3),N.current.addEventListener("play",vt)}function cn(tn){tn.preventDefault(),(0,m.vp)()?(N.current.style.width="100%",N.current.style.height="100%"):N.current.style.cssText=""}function Jt(){i()}function zt(tn){if(!a){k.ZP.warning("\u8BE5\u89C6\u9891\u7981\u6B62\u5FEB\u8FDB/\u540E\u9000\u64AD\u653E");return}const Pn=tn.target.dataset.seek?tn.target.dataset.seek:tn.target.value;N.current.currentTime=Pn,X.current.value=Pn,j.current.value=Pn}function vn(tn){const Pn=Math.round(tn.offsetX/tn.target.clientWidth*parseInt(tn.target.getAttribute("max"),10));j.current.setAttribute("data-seek",Pn);const qt=l(Pn);J.current.textContent=`${qt.hour>0?qt.hour+":":""}${qt.minutes}:${qt.seconds}`;const jt=N.current.getBoundingClientRect();J.current.style.left=`${tn.pageX-jt.left}px`}function Fn(tn){switch(tn.code){case"Space":tn.preventDefault(),de();break;case"ArrowRight":if(tn.preventDefault(),!a){k.ZP.warning("\u8BE5\u89C6\u9891\u7981\u6B62\u5FEB\u8FDB/\u540E\u9000\u64AD\u653E");break}if(N.current.currentTime>=N.current.duration)break;N.current.currentTime=parseInt(N.current.currentTime)+5,ft();break;case"ArrowLeft":if(tn.preventDefault(),!a){k.ZP.warning("\u8BE5\u89C6\u9891\u7981\u6B62\u5FEB\u8FDB/\u540E\u9000\u64AD\u653E");break}if(N.current.currentTime===0)break;N.current.currentTime=parseInt(N.current.currentTime)-5,ft();break;case"ArrowUp":tn.preventDefault(),N.current.volume<1&&(N.current.volume=(parseInt(N.current.volume*10)+1)/10);break;case"ArrowDown":tn.preventDefault(),N.current.volume>0&&(N.current.volume=(parseInt(N.current.volume*10)-1)/10);break}}return K.current.addEventListener((0,m.gH)(),cn),N.current.addEventListener("canplay",Et),N.current.addEventListener("ended",qe),N.current.addEventListener("seeking",rt),N.current.addEventListener("seeked",yt),N.current.addEventListener("loadedmetadata",Oe),j.current.addEventListener("mousemove",vn),j.current.addEventListener("input",zt),N.current.addEventListener("timeupdate",Ye),N.current.addEventListener("pause",Jt),N.current.addEventListener("volumechange",fe),document.addEventListener("keydown",Fn),()=>{var tn,Pn,qt,jt,kt,rn,It,Bt,Wt,Xt,_n,_t;(tn=N.current)==null||tn.removeEventListener("canplay",Et),(Pn=N.current)==null||Pn.removeEventListener("play",vt),(qt=N.current)==null||qt.removeEventListener("ended",qe),(jt=N.current)==null||jt.removeEventListener("seeking",rt),(kt=N.current)==null||kt.removeEventListener("seeked",yt),(rn=j.current)==null||rn.removeEventListener("mousemove",vn),(It=j.current)==null||It.removeEventListener("input",zt),(Bt=N.current)==null||Bt.removeEventListener("timeupdate",Ye),(Wt=N.current)==null||Wt.removeEventListener("pause",Jt),(Xt=N.current)==null||Xt.removeEventListener("loadedmetadata",Oe),(_n=N.current)==null||_n.removeEventListener("volumechange",fe),document.removeEventListener("keydown",Fn),(_t=N.current)!=null&&_t.playing&&(ee.push(Fe,N.current.currentTime),u&&oe())}},[N,c]),(0,h.useEffect)(()=>{if(N.current.onended=()=>{y(N)},N.current.oncontextmenu=()=>!1,(c==null?void 0:c.indexOf(".m3u8"))>-1){if(N.current.canPlayType("application/vnd.apple.mpegurl"))N.current.src=c;else if(B.ZP.isSupported()){var Je=new B.ZP;Je.loadSource(c),Je.attachMedia(N.current)}}},[c]);const[xe,ne]=(0,h.useState)(1),de=()=>{N.current.paused||N.current.ended?N.current.play():N.current.pause(),$()};function ut(){N.current.muted=!N.current.muted,N.current.muted?(Ae.current.setAttribute("data-volume",volume.value),Ae.current.value=0):Ae.current.value=Ae.current.dataset.volume}return h.createElement("div",{style:{position:"relative"},ref:K},h.createElement("div",{ref:I,className:`${E.watermark} animated_alternate animate__animated_10s animate__infinite animate__stepstart ${E.animate__loop}`},A&&Re?Re.login:" "),h.createElement("div",{className:E.container},h.createElement("div",{className:E["video-container"],id:"video-container"},h.createElement("div",{className:E["playback-animation"],id:"playback-animation"},h.createElement("svg",{className:E["playback-icons"]},h.createElement("use",{className:"hidden",href:"#play-icon"}),h.createElement("use",{href:"#pause"}))),h.createElement("video",{className:E.video,id:"video",preload:"auto",disablePictureInPicture:!0,ref:N,autoPlay:b}),h.createElement("div",{className:`${E["video-controls"]} `,id:"video-controls"},h.createElement("div",{className:E["bottom-controls"]},h.createElement("div",{className:E["left-controls"]},h.createElement("button",{"data-title":"\u64AD\u653E/\u6682\u505C",id:"play",onClick:de},h.createElement("svg",{className:E["playback-icons"]},h.createElement("use",{ref:W,href:"#play-icon"}),h.createElement("use",{ref:F,style:{display:"none"},href:"#pause"}))),h.createElement("div",{className:E.time},h.createElement("time",{id:"time-elapsed",ref:le},"00:00"),h.createElement("span",null," / "),h.createElement("time",{id:"duration",ref:Y},"00:00"))),h.createElement("div",{className:E["right-controls"]},a&&h.createElement(P.Z,{placement:"top",overlayClassName:E.rateOverlay,getPopupContainer:Je=>Je.parentNode,menu:{items:[{key:"1",label:h.createElement("span",{onClick:()=>{ne(1),N.current.playbackRate=1}},"1.0x")},{key:"2",label:h.createElement("span",{onClick:()=>{ne(1.5),N.current.playbackRate=1.5}},"1.5x")},{key:"3",label:h.createElement("span",{onClick:()=>{ne(2),N.current.playbackRate=2}},"2.0x")}]}},h.createElement("div",{className:`${E.controlText} mr5`},"\u500D\u901F")),h.createElement(p.CopyToClipboard,{text:c,onCopy:()=>k.ZP.success("\u590D\u5236\u6210\u529F")},h.createElement("button",{"data-title":"\u590D\u5236\u94FE\u63A5"},h.createElement("i",{className:"icon-lianjie2 iconfont",style:{fontSize:"12px",color:"white"}}))),h.createElement("div",{className:E["volume-controls"]},h.createElement("button",{"data-title":"\u5F00\u542F/\u5173\u95ED\u58F0\u97F3",className:E["volume-button"],id:"volume-button",onClick:ut},h.createElement("i",{ref:ve,className:"icon-a-bianzu8 iconfont",style:{fontSize:"14px",color:"white"}}),h.createElement("i",{ref:be,className:"icon-shengyinkaibeifen iconfont",style:{fontSize:"14px",color:"white"}}),h.createElement("i",{ref:Ce,className:"icon-shengyinkai iconfont",style:{fontSize:"14px",color:"white"}})),h.createElement("input",{className:E.volume,id:"volume",value:"1","data-mute":"0.5",type:"range",max:"1",min:"0",step:"0.01",ref:Ae,style:{display:"none"},onClick:fe})),h.createElement("button",{"data-title":"\u5168\u5C4F/\u9000\u51FA\u5168\u5C4F",className:E["fullscreen-button"],onClick:()=>{(0,m.vp)()?(0,m.BU)():(0,m.Dj)(K.current)}},h.createElement("i",{className:"icon-fangda1 iconfont",style:{fontSize:"12px",color:"white"}})))),h.createElement("div",{className:E["video-progress"]},h.createElement("progress",{ref:X,value:"0",min:"0"}),h.createElement("input",{className:E.seek,ref:j,value:"0",min:"0",type:"range",step:"1"}),h.createElement("div",{className:E["seek-tooltip"],ref:J,id:"seek-tooltip"},"00:00"))))),h.createElement("svg",{style:{display:"none"}},h.createElement("defs",null,h.createElement("symbol",{id:"pause",viewBox:"0 0 24 24"},h.createElement("path",{d:"M14.016 5.016h3.984v13.969h-3.984v-13.969zM6 18.984v-13.969h3.984v13.969h-3.984z"})),h.createElement("symbol",{id:"play-icon",viewBox:"0 0 24 24"},h.createElement("path",{d:"M8.016 5.016l10.969 6.984-10.969 6.984v-13.969z"})),h.createElement("symbol",{id:"volume-high",viewBox:"0 0 24 24"},h.createElement("path",{d:"M14.016 3.234q3.047 0.656 5.016 3.117t1.969 5.648-1.969 5.648-5.016 3.117v-2.063q2.203-0.656 3.586-2.484t1.383-4.219-1.383-4.219-3.586-2.484v-2.063zM16.5 12q0 2.813-2.484 4.031v-8.063q1.031 0.516 1.758 1.688t0.727 2.344zM3 9h3.984l5.016-5.016v16.031l-5.016-5.016h-3.984v-6z"})),h.createElement("symbol",{id:"volume-low",viewBox:"0 0 24 24"},h.createElement("path",{d:"M5.016 9h3.984l5.016-5.016v16.031l-5.016-5.016h-3.984v-6zM18.516 12q0 2.766-2.531 4.031v-8.063q1.031 0.516 1.781 1.711t0.75 2.32z"})),h.createElement("symbol",{id:"volume-mute",viewBox:"0 0 24 24"},h.createElement("path",{d:"M12 3.984v4.219l-2.109-2.109zM4.266 3l16.734 16.734-1.266 1.266-2.063-2.063q-1.547 1.313-3.656 1.828v-2.063q1.172-0.328 2.25-1.172l-4.266-4.266v6.75l-5.016-5.016h-3.984v-6h4.734l-4.734-4.734zM18.984 12q0-2.391-1.383-4.219t-3.586-2.484v-2.063q3.047 0.656 5.016 3.117t1.969 5.648q0 2.203-1.031 4.172l-1.5-1.547q0.516-1.266 0.516-2.625zM16.5 12q0 0.422-0.047 0.609l-2.438-2.438v-2.203q1.031 0.516 1.758 1.688t0.727 2.344z"})),h.createElement("symbol",{id:"fullscreen",viewBox:"0 0 24 24"},h.createElement("path",{d:"M14.016 5.016h4.969v4.969h-1.969v-3h-3v-1.969zM17.016 17.016v-3h1.969v4.969h-4.969v-1.969h3zM5.016 9.984v-4.969h4.969v1.969h-3v3h-1.969zM6.984 14.016v3h3v1.969h-4.969v-4.969h1.969z"})),h.createElement("symbol",{id:"fullscreen-exit",viewBox:"0 0 24 24"},h.createElement("path",{d:"M15.984 8.016h3v1.969h-4.969v-4.969h1.969v3zM14.016 18.984v-4.969h4.969v1.969h-3v3h-1.969zM8.016 8.016v-3h1.969v4.969h-4.969v-1.969h3zM5.016 15.984v-1.969h4.969v4.969h-1.969v-3h-3z"})),h.createElement("symbol",{id:"pip",viewBox:"0 0 24 24"},h.createElement("path",{d:"M21 19.031v-14.063h-18v14.063h18zM23.016 18.984q0 0.797-0.609 1.406t-1.406 0.609h-18q-0.797 0-1.406-0.609t-0.609-1.406v-14.016q0-0.797 0.609-1.383t1.406-0.586h18q0.797 0 1.406 0.586t0.609 1.383v14.016zM18.984 11.016v6h-7.969v-6h7.969z"})))))})},50258:function(Ln,pt,M){"use strict";M.d(pt,{SV:function(){return Ue},ZP:function(){return Ae}});var h=M(59301),k=M(76374);const P={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"]},_={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"]},B={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 ",content:["#include "].join(` `)},{label:"include ",content:["#include "].join(` `)},{label:"include ",content:["#include "].join(` `)},{label:"include ",content:["#include "].join(` `)},{label:"include ",content:["#include "].join(` `)},{label:"include ",content:["#include "].join(` `)},{label:"include ",content:["#include "].join(` `)},{label:"include ",content:["#include "].join(` `)},{label:"include ",content:["#include "].join(` `)}]},C={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(` `)}]},p={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 m=M(53184),E=M.n(m),d=(we,$e,Re)=>new Promise((ge,Ze)=>{var Fe=Be=>{try{Ge(Re.next(Be))}catch(V){Ze(V)}},Te=Be=>{try{Ge(Re.throw(Be))}catch(V){Ze(V)}},Ge=Be=>Be.done?ge(Be.value):Promise.resolve(Be.value).then(Fe,Te);Ge((Re=Re.apply(we,$e)).next())});const l={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"]}},o=(we,$e,Re,ge)=>{const Ze=$e.getValueInRange({startLineNumber:1,startColumn:1,endLineNumber:Re.lineNumber,endColumn:Re.column});return Array.from(new Set(Ze.match(/\b\w{2,}\b/g)||[])).map(Te=>({label:Te,kind:we.languages.CompletionItemKind.Text,insertText:Te,range:ge}))},g=(we,$e,Re,ge)=>{we.languages.registerCompletionItemProvider($e,{provideCompletionItems(Ze,Fe){const Te=Ze.getWordUntilPosition(Fe),Ge={startLineNumber:Fe.lineNumber,endLineNumber:Fe.lineNumber,startColumn:Te.startColumn,endColumn:Te.endColumn},Be=Ze.getLineContent(Fe.lineNumber).substring(Te.startColumn-2,Te.endColumn);return{suggestions:[...o(we,Ze,Fe,Ge),...Re.map(q=>({label:q,kind:we.languages.CompletionItemKind.Keyword,documentation:q,insertText:q,insertTextRules:we.languages.CompletionItemInsertTextRule.InsertAsSnippet,range:Ge})),...ge.map(q=>({label:q.label,kind:we.languages.CompletionItemKind.Snippet,documentation:q.content,insertText:Be.startsWith("#")?q.content.replace(/#/,""):q.content,insertTextRules:we.languages.CompletionItemInsertTextRule.InsertAsSnippet,range:Ge}))]}}})};var r=we=>{l.languages.forEach($e=>{we.languages.registerDocumentFormattingEditProvider($e,{provideDocumentFormattingEdits(Re){return d(this,null,function*(){const ge=E()(Re.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:Re.getFullModelRange(),text:ge}]})}})}),g(we,"java",_.keywords,_.quickKey),g(we,"cpp",B.keywords,B.quickKey),g(we,"c",P.keywords,[]),g(we,"python",C.keywords,C.quickKey),g(we,"scala",p.keywords,p.quickKey)};const n="\u8BE5\u4EFB\u52A1\u5173\u5361\u8BBE\u7F6E\u4E86\u7981\u6B62\u590D\u5236\u7C98\u8D34\uFF0C\u8BF7\u624B\u52A8\u8F93\u5165\u4EE3\u7801\u3002";var a=Object.defineProperty,c=(we,$e,Re)=>$e in we?a(we,$e,{enumerable:!0,configurable:!0,writable:!0,value:Re}):we[$e]=Re,u=(we,$e,Re)=>c(we,typeof $e!="symbol"?$e+"":$e,Re);const s=class Es{constructor($e,Re,ge){this.placeholder=$e,this.editor=Re,this.monaco=ge,Re.onDidChangeModelContent(()=>this.onDidChangeModelContent()),this.onDidChangeModelContent()}onDidChangeModelContent(){this.editor.getValue()===""?this.editor.addContentWidget(this):this.editor.removeContentWidget(this)}getId(){return Es.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)}};u(s,"ID","editor.widget.placeholderHint");var e=s,t=M(96236),i=M(6767),f=M(25399),y=M(89392),b=M(77254),x=M(56102),A=Object.defineProperty,w=Object.defineProperties,L=Object.getOwnPropertyDescriptors,D=Object.getOwnPropertySymbols,O=Object.prototype.hasOwnProperty,N=Object.prototype.propertyIsEnumerable,I=(we,$e,Re)=>$e in we?A(we,$e,{enumerable:!0,configurable:!0,writable:!0,value:Re}):we[$e]=Re,K=(we,$e)=>{for(var Re in $e||($e={}))O.call($e,Re)&&I(we,Re,$e[Re]);if(D)for(var Re of D($e))N.call($e,Re)&&I(we,Re,$e[Re]);return we},F=(we,$e)=>w(we,L($e)),W=(we,$e)=>{var Re={};for(var ge in we)O.call(we,ge)&&$e.indexOf(ge)<0&&(Re[ge]=we[ge]);if(we!=null&&D)for(var ge of D(we))$e.indexOf(ge)<0&&N.call(we,ge)&&(Re[ge]=we[ge]);return Re},j=(we,$e,Re)=>new Promise((ge,Ze)=>{var Fe=Be=>{try{Ge(Re.next(Be))}catch(V){Ze(V)}},Te=Be=>{try{Ge(Re.throw(Be))}catch(V){Ze(V)}},Ge=Be=>Be.done?ge(Be.value):Promise.resolve(Be.value).then(Fe,Te);Ge((Re=Re.apply(we,$e)).next())});function X(we){return/^\d+$/.test(we)?`${we}px`:we}function Y(){}let le=!1;const J={"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 ve(we=[]){let $e=we;if(Array.isArray(we)){for(let Re=0;Rej(void 0,null,function*(){try{yield navigator.clipboard.writeText(" "),console.log("\u5185\u5BB9\u5DF2\u81EA\u52A8\u590D\u5236\u5230\u526A\u8D34\u677F:")}catch(we){console.error("\u81EA\u52A8\u590D\u5236\u5931\u8D25:",we)}});var Ae=we=>{var $e=we,{width:Re="100%",height:ge="100%",value:Ze,language:Fe="javascript",style:Te={},options:Ge={},overrideServices:Be={},theme:V="vs-dark",onEditBlur:q,isCopy:re=!1,onSave:ee,autoHeight:oe=!1,forbidCopy:$=!1,forbidCopyTips:fe,onChange:xe=Y,editorDidMount:ne=Y,onFocus:de=Y,onBreakPoint:ut=Y,breakPointValue:Je=[],filename:ht="educoder.txt",errorLine:vt,errorContent:qe="",highlightLine:ft,openBreakPoint:Ke=!1,placeholder:Oe="",showMiniMap:Ye=!0}=$e,rt=W($e,["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 yt=(0,h.useRef)(),Et=(0,h.useRef)({}),cn=(0,h.useRef)(),Jt=(0,h.useRef)(),zt=(0,h.useRef)([]),vn=(0,h.useRef)(!1),Fn=(0,h.useRef)(),tn=(0,h.useRef)(),Pn=(0,h.useRef)(!1),[qt,jt]=(0,h.useState)(!1);function kt(){let xt;return yt.current&&(xt=new k.Z(at=>{for(let Nt of at)(Nt.target.offsetHeight>0||Nt.target.offsetWidth>0)&&Et.current.instance.layout()}),xt.observe(yt.current)),xt}function rn(){i.ZP.warning({content:decodeURIComponent(fe||n),key:"monaco-editor-tip"})}const It=()=>{let xt=Et.current.instance;if(Ze!=null&&xt&&qt){const at=xt.getModel();at&&Ze!==at.getValue()&&(le=!0,at.setValue(Ze),xt.layout(),le=!1)}};(0,h.useEffect)(()=>{const xt=b.Z.subscribe("formatDocument",at=>{var Nt;let Gt=Et.current.instance;(Nt=Gt==null?void 0:Gt.getAction)==null||Nt.call(Gt,"editor.action.formatDocument").run()});return window.updateMonacoValue=at=>{xe(at)},xt},[]),(0,h.useEffect)(()=>{var xt;let at=Et.current.instance;Jt.current&&clearTimeout(Jt.current),Jt.current=setTimeout(()=>{It()},500),Ze&&(Ze!=null&&Ze.length)&&((xt=at==null?void 0:at.updateOptions)==null||xt.call(at,{lineNumbersMinChars:Math.max(Math.floor(Math.log10(Ze.split(/\r\n|\r|\n/g).length))+3,5)}))},[Ze,qt,Et.current]),(0,h.useEffect)(()=>{if(vt&&Et.current&&Et.current.instance){let at=Et.current.instance;at.changeViewZones(function(Nt){var Gt=document.createElement("div");Gt.style.padding="10px 20px",Gt.style.width="calc(100% - 20px)",Gt.className="my-error-line-wrp",Gt.innerHTML=qe,Nt.addZone({afterLineNumber:vt||11,heightInLines:3,domNode:Gt})});var xt={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}};at.addOverlayWidget(xt),at.revealPositionInCenter({lineNumber:20,column:1})}},[vt,Et.current,qt]);const Bt=(xt="",at)=>{if(!xt||xt.trim()==="")return!0;const Gt=Et.current.instance.getModel().getLineTokens(at);let je=!1;for(let Ne=0;Ne<2;Ne++)Gt.getStandardTokenType(Ne)===1&&(je=!0);return je};(0,h.useEffect)(()=>{var xt;const at=(xt=Et.current)==null?void 0:xt.instance;if(at&&qt&&$){const Nt=at.onDidBlurEditorWidget(()=>{Pn.current=!1}),Gt=at.onDidFocusEditorText(()=>{Pn.current=!0});return()=>{Nt.dispose(),Gt.dispose()}}},[Et.current,qt,$]),(0,h.useEffect)(()=>{var xt;if((xt=Et.current)!=null&&xt.instance&&qt&&Ke){let at=Et.current.instance,Nt=at.getModel();if(!Nt)return;(()=>{var ye;let _e=[],ke=[];const De=Nt.getAllDecorations();for(let At of De)At.options.className==="highlighted-line"&&(_e.push((ye=At==null?void 0:At.range)==null?void 0:ye.startLineNumber),ke.push(At==null?void 0:At.id));if(ft===_e[0])return;Nt.deltaDecorations(ke,[]);const ct=Nt.getLineCount();ft&&ft<=ct&&(at.deltaDecorations([],[{range:new Ce.Range(ft,1,ft,Nt.getLineMaxColumn(ft)),options:{isWholeLine:!0,className:"highlighted-line"}}]),at.revealLineInCenter(ft))})();const je=(ye=!1)=>{var _e;let ke=[],De=[];const ct=Nt.getAllDecorations();for(let At of ct)At.options.linesDecorationsClassName==="breakpoints-select"&&(ke.push((_e=At==null?void 0:At.range)==null?void 0:_e.startLineNumber),De.push(At==null?void 0:At.id));if(ye)return{lines:ke,ids:De};ut(ke)},Ne=ye=>j(void 0,null,function*(){let _e={range:new Ce.Range(ye,1,ye,1),options:{isWholeLine:!1,linesDecorationsClassName:"breakpoints-select"}};yield Nt.deltaDecorations([],[_e]),je()}),Ee=ye=>j(void 0,null,function*(){let _e=[];const ke=at.getLineDecorations(ye);for(let De of ke)De.options.linesDecorationsClassName==="breakpoints-select"&&_e.push(De.id);yield Nt.deltaDecorations(_e,[]),je()}),Le=ye=>{let _e=at.getLineDecorations(ye);for(let ke of _e)if(ke.options.linesDecorationsClassName==="breakpoints-select")return!0;return!1};if(!(0,y.isEqual)(Je,je(!0).lines)){Nt.deltaDecorations(je(!0).ids,[]);const ye=Je.map(_e=>({range:new Ce.Range(_e,1,_e,1),options:{isWholeLine:!1,linesDecorationsClassName:"breakpoints-select"}}));Nt.deltaDecorations([],ye)}const Pe=at.onDidChangeModelContent(ye=>{let _e=at.getPosition();if(_e){let ke=_e.lineNumber;clearTimeout(tn.current),tn.current=setTimeout(()=>{Bt(Nt.getLineContent(ke),ke)?Ee(ke):Le(ke)?(Ee(ke),Ne(ke)):je()},100)}}),We=at.onMouseDown(ye=>{var _e,ke,De;if(ye.target.detail&&((De=(ke=(_e=ye.target)==null?void 0:_e.element)==null?void 0:ke.className)!=null&&De.includes("line-numbers"))){let ct=ye.target.position.lineNumber;if(Bt(Nt.getLineContent(ct),ct))return;Le(ct)?Ee(ct):Ne(ct)}}),he=ye=>{let _e={range:new Ce.Range(ye,1,ye,1),options:{isWholeLine:!1,linesDecorationsClassName:"breakpoints-fake"}};zt.current=at.deltaDecorations(zt.current,[_e])},Ve=()=>{zt.current=at.deltaDecorations(zt.current,[])},tt=at.onMouseMove(ye=>{var _e,ke,De;if(Ve(),ye.target.detail&&((De=(ke=(_e=ye.target)==null?void 0:_e.element)==null?void 0:ke.className)!=null&&De.includes("line-numbers"))){let ct=ye.target.position.lineNumber;if(Bt(Nt.getLineContent(ct),ct))return;he(ct)}}),me=at.onMouseLeave(()=>{Ve()});return()=>{Pe.dispose(),We.dispose(),tt.dispose(),me.dispose()}}},[Et.current,qt,Je,ft,Ke,Fe]),(0,h.useEffect)(()=>{var xt;(xt=Et.current)!=null&&xt.instance&&Ke&&Et.current.instance.setPosition({lineNumber:0,column:0})},[ft]);function Wt(){let xt=Et.current.instance;if(xt){const at=xt.getSelection(),Nt=Et.current.pastePos||{},Gt=new Ce.Range(Nt.startLineNumber||at.endLineNumber,Nt.startColumn||at.endColumn,Nt.endLineNumber||at.endLineNumber,Nt.endColumn||at.endColumn);setTimeout(()=>{xt.executeEdits("",[{range:Gt,text:""}])},300)}}function Xt(xt){(window.navigator.platform.match("Mac")?xt.metaKey:xt.ctrlKey)&&xt.keyCode==83&&(xt.preventDefault(),ee())}const _n=()=>{if(oe&&Et.current.instance){const xt=Et.current.instance.getContentHeight();Qe(xt{if(!Pn.current)return;const{keyCode:at,ctrlKey:Nt,metaKey:Gt,target:je,type:Ne}=xt;return(Ne==="paste"||(at===67||at===86)&&(Gt||Nt))&&je.nodeName==="TEXTAREA"&&(rn(),xt.preventDefault()),!1};function z(xt,at){var Nt=window.URL||window.webkitURL||window,Gt=new Blob([at]),je=document.createElementNS("http://www.w3.org/1999/xhtml","a");je.href=Nt.createObjectURL(Gt),je.download=xt,_t(je)}(0,h.useEffect)(()=>{_n()},[_n]),(0,h.useEffect)(()=>{yt.current&&!qt&&Promise.all([M.e(8909),M.e(2460)]).then(M.bind(M,71448)).then(xt=>{try{Ce=xt,Et.current.instance=Ce.editor.create(yt.current,{value:Ze,language:ve(Fe),theme:V,requireConfig:{"vs/nls":{availableLanguages:{"*":"zh-cn"}}},wordWrap:!0,autoIndent:!0,contextmenu:!0,formatOnType:!0,minimap:{enabled:Ye||!1}},Be);const at=Et.current.instance;let je=[...t.BH._menuItems].find(Pe=>Pe[0]._debugName=="EditorContext")[1],Ne=["editor.action.clipboardCopyWithSyntaxHighlightingAction","editor.action.quickCommand","editor.action.clipboardCopyAction","editor.action.clipboardPasteAction","editor.action.clipboardCutAction"],Ee=(Pe,We)=>{var he,Ve;let tt=Pe._first;do We.includes((Ve=(he=tt.element)==null?void 0:he.command)==null?void 0:Ve.id)&&Pe._remove(tt);while(tt=tt.next)};if(ne(at,Ce),setTimeout(()=>{_n(),Et.current.instance.addAction({id:"d123123",label:"Download File",contextMenuGroupId:"9_cutcopypaste",run:()=>{z(ht||"educoder.txt",at.getValue())}})},500),Et.current.subscription=at.onDidChangeModelContent(Pe=>{vn.current?clearTimeout(Fn.current):(_n(),xe(at.getValue(),Pe)),Fn.current=setTimeout(()=>{vn.current=!1},500)}),window.Monaco||r(Ce,ve(Fe)),$&&(Ee(je,Ne),yt.current.classList.add("noCopyPaste"),window.removeEventListener("keydown",T),window.removeEventListener("paste",T),window.addEventListener("keydown",T),window.addEventListener("paste",T)),window.Monaco=Ce,q&&at.onDidBlurEditorWidget(()=>{q(at.getValue())}),de&&at.onDidFocusEditorText(()=>{$&&be(),de(at.getValue())}),$){be();try{at.onDidPaste(Pe=>{const We=at.getSelection(),he=Et.current.pastePos||{},Ve=new Ce.Range(he.startLineNumber||We.endLineNumber,he.startColumn||We.endColumn,he.endLineNumber||We.endLineNumber,he.endColumn||We.endColumn);at.executeEdits("",[{range:Pe.range,text:""}])})}catch(Pe){}}let Le=kt();return Oe&&typeof Oe=="string"&&new e(Oe,at,Ce),jt(!0),()=>{const Pe=Et.current.instance;Pe.dispose();const We=Pe.getModel();We&&We.dispose(),Et.current.subscription&&Et.current.subscription.dispose(),Le.unobserve(yt.current)}}catch(at){}})},[]),(0,h.useEffect)(()=>{if(Et.current.instance&&qt)return document.addEventListener("keydown",Xt,!1),()=>{document.removeEventListener("keydown",Xt)}},[ee,qt]),(0,h.useEffect)(()=>{let xt=Et.current.instance;if(xt&&qt){let at=ve(Fe);Ce.editor.setModelLanguage(xt.getModel(),at)}},[Fe,qt]),(0,h.useEffect)(()=>{Et.current.instance&&qt&&Ce.editor.setTheme(V)},[V,qt]),(0,h.useEffect)(()=>{let xt=Et.current.instance;cn.current=Ge,xt&&qt&&(xt.updateOptions(K({},Ge)),setTimeout(()=>{xt.getModel().updateOptions(K({},Ge))},200))},[JSON.stringify(Ge),qt]),(0,h.useEffect)(()=>{let xt=Et.current.instance;xt&&qt&&xt.layout()},[Re,ge,qt]);const[Z,ie]=(0,h.useState)(X(Re)),[se,Qe]=(0,h.useState)(X(ge)),lt=F(K({},Te),{width:Z,height:se,position:"relative"});return h.createElement("div",{className:"my-monaco-editor",ref:yt,style:lt,onFocus:()=>{$&&be()}},re&&h.createElement(x.CopyToClipboard,{text:Ze,onCopy:()=>i.ZP.success("\u590D\u5236\u6210\u529F")},h.createElement(f.Z,{title:"\u590D\u5236\u4EE3\u7801"},h.createElement("div",{style:{position:"absolute",top:0,right:10,cursor:"pointer",zIndex:10,color:"#165DFF"}},h.createElement("i",{className:"iconfont icon-fuzhi8",style:{fontSize:14}})," \u590D\u5236\u4EE3\u7801"))))};function Ue({width:we="100%",height:$e="100%",original:Re,modified:ge,language:Ze,options:Fe={}}){const Te=(0,h.useRef)(),[Ge,Be]=(0,h.useState)(null);function V(oe){let $;return Te.current&&($=new k.Z(fe=>{for(let xe of fe)(xe.target.offsetHeight>0||xe.target.offsetWidth>0)&&oe.layout()}),$.observe(Te.current)),$}(0,h.useEffect)(()=>(Te.current&&Promise.all([M.e(8909),M.e(9404)]).then(M.bind(M,2550)).then(oe=>{Ce=oe;const $=Ce.editor.createDiffEditor(Te.current,F(K({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},Fe),{wordWrap:!0}));Be($);let fe=V($);return()=>{$.dispose();const xe=$.getModel();xe&&xe.dispose(),fe.unobserve(Te.current)}}),()=>{window.removeEventListener("keydown",checkPaste),window.removeEventListener("paste",checkPaste)}),[]),(0,h.useEffect)(()=>{Ge&&Ge.setModel({original:Ce.editor.createModel(Re,Ze),modified:Ce.editor.createModel(ge,Ze)})},[Re,ge,Ze,Ge]);const q=X(we),re=X($e),ee={width:q,height:re};return h.createElement("div",{className:"my-diff-editor",ref:Te,style:ee})}},61584:function(Ln,pt,M){"use strict";M.d(pt,{Z:function(){return l}});var h={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"},k=M(29787),P=M(25399),_=M(89787),B=M(92310),C=M.n(B),p=M(65862),m=M(2524),E=M(59301),l=({className:o,dataSource:g=[],col:r=4,right:n,bottom:a=23,precision:c=0,wrapWidth:u=1200,trackEventItems:s,loading:v,onRemove:e=()=>{},isCurrent:t=!0,showProgress:i=!1,showAlias:f=!1,category:y,hiddenClick:b})=>{const x=Math.floor((u-(r-1)*n)/r),A=[{name:"\u63A8\u8350\u81EA\u5B66",ptimg:"/images/tjzx.png",swimg:"/images/sw_tjzx.png"},{name:"101\u8BA1\u5212",ptimg:"/images/jh.png",swimg:"/images/sw_jh.png"},{name:"\u56FD\u5BB6\u4E00\u6D41",ptimg:"/images/gjyl.png",swimg:"/images/sw_gjyl.png"},{name:"\u7701\u7EA7\u4E00\u6D41",ptimg:"/images/sjyl.png",swimg:"/images/sw_sjyl.png"},{name:"\u7CBE\u54C1\u8BFE\u7A0B",ptimg:"/images/jpkc.png",swimg:"/images/sw_jpkc.png"},{name:"\u519B\u961F\u4E00\u6D41",ptimg:"/images/jdyl.png",swimg:"/images/sw_jdyl.png"},{name:"\u65B0\u578B\u6559\u6750",ptimg:"/images/xxjc.png",swimg:"/images/sw_xxjc.png"}];return E.createElement(k.Z,{spinning:v},E.createElement("div",{className:C()(h.list,o)},!!(g!=null&&g.length)&&(g==null?void 0:g.map((w,L)=>{var D,O,N,I,K,F,W,j,X,Y,le,J,ve;const{name:Ce,id:be,identifier:Ae,featured:Ue,school_name:we,image_url:$e,excellent:Re,is_plan:ge}=w;return E.createElement("div",{key:be,className:t&&i?h.wrapisCurrent:h.wrap,style:{width:x,marginRight:(1+L)%r===0?0:n+c,marginBottom:a}},E.createElement("a",{className:h.li,onClick:Ze=>{Ze.preventDefault(),Ze.stopPropagation(),s&&(0,p.L9)([s]),(0,p.xg)(`/paths/${Ae}`)}},E.createElement("div",{className:h.img},E.createElement("img",{className:h.cover,src:`${$e}`}),(D=w==null?void 0:w.subject_tags)==null?void 0:D.map((Ze,Fe)=>{var Te,Ge;if(Fe===0){const V=(Te=A.find(q=>q.name==Ze))==null?void 0:Te.swimg;return E.createElement("img",{className:h.sign,src:V,style:{left:"-4px"}})}const Be=(Ge=A.find(V=>V.name==Ze))==null?void 0:Ge.ptimg;return E.createElement("img",{className:h.sign,src:Be,style:{left:`${48+52*(Fe-1)+2*Fe}px`}})}),E.createElement("div",{className:h.tagsDom},E.createElement("div",{className:"flex flex-wrap gap-10px item-center"},(w==null?void 0:w.excellent)&&E.createElement("div",{className:h.bq},"\u5F00\u653E\u8BFE\u7A0B"),((O=w==null?void 0:w.custom_tags)==null?void 0:O.length)>0&&E.createElement(P.Z,{title:(K=(I=w==null?void 0:w.custom_tags)==null?void 0:I[((N=w==null?void 0:w.custom_tags)==null?void 0:N.length)-1])==null?void 0:K.tag_name},E.createElement("div",{className:"px-6px rounded-2px c-white h-16px flex item-center",style:{maxWidth:"62px",background:"#3061D0",border:"0.5px solid #8FAFF8"}},E.createElement("span",{className:"multi-llipsis1e text-10px"},(j=(W=w==null?void 0:w.custom_tags)==null?void 0:W[((F=w==null?void 0:w.custom_tags)==null?void 0:F.length)-1])==null?void 0:j.tag_name))))),y=="hide"&&(w==null?void 0:w.studying)&&t&&E.createElement("div",{className:`${h.movebq} user-path-items`,onClick:Ze=>{Ze.stopPropagation(),e(w)}},E.createElement("i",{className:"iconfont icon-yichu1 font12"}),E.createElement("span",null,"\u79FB\u9664")),!["collect","payed"].includes(y)&&t&&E.createElement("div",{className:`${h.hiddenbq} user-path-items`,onClick:Ze=>{Ze.stopPropagation(),b(w)}},E.createElement("i",{className:`iconfont ${y=="hide"?"icon-chakan2":"icon-yincangtiaojianshezhi"} font12`}),E.createElement("span",null,y=="hide"?"\u53D6\u6D88\u9690\u85CF":"\u9690\u85CF"))),E.createElement("div",{className:h.name},E.createElement(P.Z,{title:f&&(w!=null&&w.excellent_alias_name)?E.createElement("span",null,`\u8BFE\u7A0B\u539F\u540D\uFF1A${Ce}`,E.createElement("br",null),E.createElement("span",null,`\u8BFE\u7A0B\u522B\u540D\uFF1A${w==null?void 0:w.excellent_alias_name}`)):Ce},E.createElement("span",{className:h.e},f&&(w==null?void 0:w.excellent_alias_name)||Ce))),t&&i&&((X=w==null?void 0:w.progress)==null?void 0:X.all_score)!=0&&E.createElement("div",{style:{padding:"0px 10px",color:"#333",marginTop:10}},E.createElement(_.Z,{strokeColor:"#44d7b6",gap:"small",percent:(((Y=w==null?void 0:w.progress)==null?void 0:Y.my_score)/((le=w==null?void 0:w.progress)==null?void 0:le.all_score)*100).toFixed(),showInfo:!1}),"\u5DF2\u5B8C\u6210 ",(J=w==null?void 0:w.progress)==null?void 0:J.my_score,"/",(ve=w==null?void 0:w.progress)==null?void 0:ve.all_score),(!t||!i)&&E.createElement(P.Z,{title:`\u53D1\u5E03\u5355\u4F4D\uFF1A${we}`},E.createElement("div",{className:h.unit},E.createElement("i",{className:"iconfont icon-danwei1 font14 mr3"}),we)),(!t||!i)&&E.createElement("div",{className:h.tags},E.createElement("div",null,E.createElement(P.Z,{placement:"bottom",title:"\u7AE0\u8282\u6570"},E.createElement("span",null,E.createElement("i",{className:"iconfont icon-zhangjie1 font14 mr3"}),E.createElement("span",null,w.stages_count))),E.createElement(P.Z,{placement:"bottom",title:"\u5B66\u4E60\u4EBA\u6570"},E.createElement("span",null,E.createElement("i",{className:"iconfont icon-chengyuan font14 mr3"}),E.createElement("span",null,w.members_count)))))))})),!g.length&&E.createElement(m.Z,null)))}},82636:function(Ln,pt,M){"use strict";M.d(pt,{jL:function(){return B},w9:function(){return X},QD:function(){return ht},cQ:function(){return I.Z},op:function(){return fe},O5:function(){return rn},_b:function(){return Ye},t7:function(){return u},Gi:function(){return be},YG:function(){return ve},qp:function(){return l},vr:function(){return ft},qE:function(){return de},Je:function(){return e},wb:function(){return N},cq:function(){return ge},tp:function(){return r}});var h=M(59301),k={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"},P="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAE4AAAA0CAYAAAAkEw66AAAAAXNSR0IArs4c6QAAGNVJREFUeF7VmwmwHVWdxr9zuvvu9+3ZXsxCiNkIQZOwEzMgyADjggsWgzPqOAJaMiC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gLEjkPzyz/qzjo3zcwKSyqOfy2avePKuNHgwUjEB3j4FbB1R973/3zfsh9ten/+nerk35RM36MPfswdu2qMDoqOY9BO59jhb6zJdbVneyhSMixPpnphR7BSBr3tAf9i2cH45j9k0Dy58Zreitwr0dSRK5J0YbwJDLfo39eWTDrTOebkDeL2+13e5nnPZfrh/UTdmVvOJb6fq6OsIzziK9H8lCI6RldtMcX46ZbDT9V//oJ6fAz4iBI7VMfYp5SBmEFw1uTNcezFcB56YQPv329qHfPXo8n2vF4BX8rsXbdS/WD0L72ZThfA4NrqiLIdlMGSfjtBYn1Nx9HH1wDQ7Nj9v6/zGB3S5HWCvUlFfvWiGWMYFQpQzzXSoAfxlWD1w0X1y33tPEkyy33CPk6/TBx8yF7f05pDjuIrOzuaaVUoExxKT43a5akFCtVys3+Wcwweu1dbHV+LxN3VhPsEx8jANGfOAh4eiL5x0iHPeG47YtAv+9I3xp9f0yIvLDAw6ySIY/ExSnpkqVcels/x/syLgtXHpx9bhlF2CO/tanVuzHHfPqmJVOf0nNdr5SFP7D02Eb/3iEfkdtdsbFeCXbtYfXlDGueU85iKZsjXZklnpyZdpGmgWFcS4pGsQnzvuOBG/4CzXFX/Qp+zZi28pPzkZHeNIS337X2+Qp+IckWajb1RsyXWffqOeN8tRH+rKyWOhsSBnYyYziiCAa0k8EQKb2kF01acPc3akXS8IbsW1Onf6AnVib16ewqWz21vq9qu2yNPeqL7thW7xZ65391jcV1jE/1qKFcaeCfDwOYeK9D83nv32/wHzrWgvjJ8Q7AAAAABJRU5ErkJggg==",B=({dataSource:It=[],img:Bt,imgWidth:Wt=346,title:Xt,sunTitle:_n,bannerExtraContent:_t})=>h.createElement("div",{className:k.banner},h.createElement("div",{className:k.content},h.createElement("aside",null,h.createElement("p",null,h.createElement("b",null,Xt),h.createElement("span",null,_n)),It.length>0&&h.createElement("div",{className:k.btns},It.map((T,z)=>h.createElement("div",{key:z,onClick:T.click},T.name,T.sign?h.createElement("img",{src:P,width:39}):null))),_t),Bt&&h.createElement("img",{style:{marginTop:33,marginRight:38},src:Bt,width:Wt}))),C={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"},p=M(92310),m=M.n(p),E=M(89392),l=({dataSource:It=[],value:Bt,onChange:Wt,onTitleChange:Xt,className:_n,title:_t,titleWidth:T=41,style:z={},fontColor:Z="#6A7283",showCount:ie})=>{const[se,Qe]=(0,h.useState)(1),[lt,xt]=(0,h.useState)(!1),at=(0,h.useRef)(null),Nt=(0,h.useRef)(null);return(0,h.useEffect)(()=>{var Gt;It.length!==0&&(((Gt=at==null?void 0:at.current)==null?void 0:Gt.clientHeight)>97?Qe(1):Qe(0)),It.length===0&&Qe(0),xt(!1)},[It]),h.createElement("div",{className:m()(C.row,_n,"fadeIn","animated"),style:z},h.createElement("div",{onClick:(0,E.throttle)(()=>Xt==null?void 0:Xt(),2e3),style:{width:T,marginTop:lt?12:4},className:`${C.title} ${Xt?"current":""}`},_t),h.createElement("div",{className:lt?`${C.tagsWrap} ${C.tagsBorderWrap}`:C.tagsWrap},h.createElement("div",{className:C.bar,ref:Nt,style:se>0?{height:se===1?97:"auto",overflow:se===1?"hidden":"auto",paddingRight:55}:{paddingRight:0}},h.createElement("div",{className:C.tag,ref:at},It==null?void 0:It.map(Gt=>h.createElement("span",{onClick:()=>Wt(Gt.id),key:Gt.id,style:{color:Z},className:Bt===Gt.id?C.active:""},h.createElement("span",{title:Gt.name,className:C.name},Gt.name),!!ie&&h.createElement("span",{className:C.num},Gt.count))))),!!se&&h.createElement(h.Fragment,null,se===1?h.createElement("div",{onClick:()=>{var Gt;Qe(2),((Gt=at==null?void 0:at.current)==null?void 0:Gt.clientHeight)>245?xt(!0):xt(!1)},className:C.action},"\u5C55\u5F00",h.createElement("i",{style:{transform:"translateY(1px) scale(0.6)"},className:"iconfont icon-zhankai4"})):h.createElement("div",{onClick:()=>{Nt.current.scrollTop=0,Qe(1),xt(!1)},className:C.action},"\u6536\u8D77",h.createElement("i",{style:{transform:"translateY(0px) scale(0.6)"},className:"iconfont icon-shouqi3"})))))},o={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"},r=({dataSource:It=[],value:Bt,onChange:Wt,className:Xt,style:_n={}})=>h.createElement("div",{style:_n,className:m()(o.tabs,Xt)},It.map(_t=>h.createElement("span",{onClick:()=>Wt(_t.id),className:Bt===_t.id?o.active:"",key:_t.id},_t.name))),n={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"},a=M(37568),u=({dataSource:It=[],value:Bt="",onChange:Wt,onInputChange:Xt=()=>{},className:_n,style:_t={},placeholder:T,allowClear:z=!1})=>{var Z;const[ie,se]=(0,h.useState)(""),[Qe,lt]=(0,h.useState)("");(0,h.useEffect)(()=>{var Nt;let Gt=Bt;(Nt=JSON.stringify(Bt))!=null&&Nt.includes("{")&&(se(Bt.id),Gt=Bt.value||"");try{lt(decodeURIComponent(Gt||""))}catch(je){lt(decodeURIComponent(Gt||""))}},[Bt]);const xt=()=>{Wt(encodeURIComponent(Qe),ie||null)},at=Nt=>{Nt!==ie&&(se(Nt),Wt(encodeURIComponent(Qe),Nt))};return h.createElement("div",{className:m()(n.input,_n),style:_t},!!It.length&&h.createElement("div",{className:n.dropdown},h.createElement("div",{className:n.text},(Z=It.find(Nt=>Nt.id===ie))==null?void 0:Z.name,h.createElement("i",{className:"iconfont icon-zhankai4"}),h.createElement("b",{className:n.b1}),h.createElement("b",{className:n.b2})),h.createElement("div",{className:n.menu},It.map((Nt,Gt)=>h.createElement("div",{key:Gt,onClick:()=>at(Nt.id)},Nt.name)))),h.createElement(a.default,{onPressEnter:xt,value:Qe,onChange:Nt=>{lt(Nt.target.value),Xt(encodeURIComponent(Nt.target.value),ie||null)},placeholder:T,variant:"borderless",allowClear:z,onClear:()=>Wt("",ie||null)}),h.createElement("i",{onClick:xt,className:"iconfont icon-sousuo9 font14 current"}))},s={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:It,onChange:Bt,className:Wt,total:Xt,pageSize:_n,style:_t={}})=>{const T=It<2,z=It>=Math.ceil(Xt/_n);return Xt<=_n?h.createElement(h.Fragment,null):h.createElement("div",{className:m()(s.quickPager,Wt),style:_t},h.createElement("div",{onClick:()=>{T||Bt(It-1,"prev")},className:T?s.disabled:""},"\u4E0A\u4E00\u9875"),h.createElement("div",{onClick:()=>{z||Bt(It+1,"next")},className:z?s.disabled:""},"\u4E0B\u4E00\u9875"))},t={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"},i=M(29787),f=M(25399),y=M(63139),b=M(74128),x=M(65862),A=M(96908),w=M(57177),L=M(81378),D=M(2524),N=({className:It,dataSource:Bt=[],col:Wt=4,right:Xt,bottom:_n=23,precision:_t=0,wrapWidth:T=1200,trackEventItems:z,loading:Z})=>{const ie=Math.floor((T-(Wt-1)*Xt)/Wt);return h.createElement(i.Z,{spinning:Z},h.createElement("div",{className:m()(t.list,It)},!!Bt.length&&Bt.map((se,Qe)=>{const{name:lt,id:xt,identifier:at,power:Nt,cover_image_id:Gt,pic:je}=se;return h.createElement("div",{className:t.wrap,key:xt,style:{width:ie,marginRight:(1+Qe)%Wt===0?0:Xt+_t,marginBottom:_n}},h.createElement("a",{target:"_blank",href:`/shixuns/${at}/challenges`,className:t.li,onClick:Ne=>{Ne.preventDefault(),z&&(0,x.L9)([z]),Nt&&(0,x.xg)(`/shixuns/${at}/challenges`)}},h.createElement("div",{className:t.img},h.createElement("img",{className:t.cover,src:`${je}`}),se.is_jupyter&&h.createElement("img",{className:t.sign,src:A}),se.is_jupyter_lab&&h.createElement("img",{className:t.sign,src:w}),se.is_unity_3d&&h.createElement("img",{className:t.sign,src:L})),h.createElement("div",{className:t.name},h.createElement(f.Z,{title:lt||"\u5B9E\u8DF5\u9879\u76EE\u540D\u79F0-\u672A\u586B\u5199"},h.createElement("span",{className:t.e},lt||"\u5B9E\u8DF5\u9879\u76EE\u540D\u79F0-\u672A\u586B\u5199"))),h.createElement("div",{className:t.tags},h.createElement(f.Z,{placement:"bottom",title:"\u5173\u5361\u6570"},h.createElement("span",null,h.createElement("i",{className:"iconfont icon-shixunguanqia font14 mr2"}),h.createElement("span",null,se.challenges_count))),!!se.myshixuns_count&&h.createElement(f.Z,{placement:"bottom",title:"\u5B66\u4E60\u4EBA\u6570"},h.createElement("span",null,h.createElement("i",{className:"iconfont icon-chengyuan font14 mr2"}),h.createElement("span",null,se.myshixuns_count))),h.createElement(f.Z,{placement:"bottom",title:"\u96BE\u5EA6\u7B49\u7EA7"},h.createElement("span",null,h.createElement("span",null,se.level))),h.createElement("div",{className:t.rate},h.createElement(y.Z,{allowHalf:!0,disabled:!0,defaultValue:se.score_info}),h.createElement("span",null,"\xA0",se.score_info?`${se.score_info}\u5206`:"5\u5206")))),!Nt&&h.createElement("div",{className:t.lockWrap},h.createElement("img",{src:`${b.Z.IMG_SERVER}/images/educoder/icon/lockclose.svg`}),h.createElement("span",{className:"mt15 font16 c-white"},"\u5B9A\u5411\u5F00\u653E\u5185\u5BB9\uFF0C\u9700\u8981\u6388\u6743")))}),!Bt.length&&h.createElement(D.Z,null)))},I=M(61584),K={flex_box_center:"flex_box_center___eMcr7",flex_space_between:"flex_space_between___HcNca",flex_box_vertical_center:"flex_box_vertical_center___ZnvVN",flex_box_center_end:"flex_box_center_end___fdgDf",flex_box_column:"flex_box_column___SEKvd",list:"list___L1hmU",hidden:"hidden___NniIi",wrap:"wrap___pKgcW",lockWrap:"lockWrap___SMhkK",top:"top___udHSB",sign:"sign___uwRpq",name:"name___Fpf90",img:"img___AMLhL",text:"text___KiTb7",btns:"btns___i6IuZ",bottom:"bottom____k2sh"},F="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAHgAAAB4CAYAAAA5ZDbSAAAAAXNSR0IArs4c6QAAIABJREFUeF7tXWmQXFd1/s59r3t6nX00o93GluV9AQNxiAkIB0OMISFsFQqSAhOohFR+JKmEQPILClJZfpEfIUAChFQSHIJxnGDiDYwsb8KRLUuWZcmSxqN9pJF6nV7eSZ373u1509Mzvd2eGVt6VV2z9Ht3+9459+yX8Bq4mDmWK2GLqla3MvFWZt4KpjVMSBNzGoQ0M6WJkJbpMiNDxBkwMkyUIUYGxCeJaB8x7fMcZ18yiv1EVHy1Lw+9GicwO8tXlSrlbSB6O4HfANAmZlY250JEHsBHGLQTzA9H3chDfX2012Yfy9HWqwJgZh7NF6vvY/a2gWkbg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gEiyivwOxKJ6OOdrkxXAEun4nVij+VQS+sRRp1O6rXwnOy1pOi9yZj7P93Mp2uApfNMvvIRAn/nIsjdQDH3rIDLoI+lE+6/dtuiFYBDlHz3RXbdHSTClknRB7qlXDMKawCbPbnK9F8XBa9OQRYrFb+nmz23vmerABvpulwt339RhWoPZFGFIk7k9k6l5cV6sw6w0ZOrqHzvojGkRZCJdjhwP9iJntush54ALJ2KwJUrVL4M4A9frbbrZovX7fdiWwbwN8m4+7l2LVSt9t0zgM0AxEHhVflbF/flBbvjtHLot9pxHLQK6jxdupOH2n1GuxpR+S6Yb2332dfk/USPOnA/2qrLr5s16DkFm8EJm84Xq5/wPP7LC5eaaVop+pNEzPlmwJ67wa6lZ5cN4BDQw9l8+StEdNeFsjcLmMz89VQi8qdEdKYlZCzdtOwAm3EHIblfZeabLc1lVTYjccsK/NlEIvrESgxwxQAOCWHv9jz+Aph/cSUWoGd9Ej2mFH3RlkWq03GuOMBm4JLwRh4+z+DbOp3ManhOsvxY4UvpeOSR1TGe1TCK0BiC/OS7APoQwKHqHKtsoPOGQzMA/7sCvp5MRp9aTSNdNRRcvyhSTqJQqN7pgT8O4F3MvArC3uZGKdVsAPxIgb4djzv3EtHsagLWjGXVAhxeLCnxlC9W38fsbQPTNgZPrMRiSgU5ED9EpB5KxJx7iKjFkxlXYrR+n68KgOuXJ6ituQ1E2wj8eoA2McuxWPYuqbcM8BEG7QTzw1E38pBtR4C90S7e0qsS4AbsPJYrYYuqVrcy8VZm3gqmcSakiTkFQpqZ0kRIy7PMyBBxBowME2WJkQHxCSLaR0z7PMfZl4xiPxFdXaKvAAAADElEQVQVlwOEXvbx/3Bccpan8cseAAAAAElFTkSuQmCC",W=M(59301),X=({className:It,dataSource:Bt=[],col:Wt=4,right:Xt,bottom:_n=23,precision:_t=0,wrapWidth:T=1200,trackEventItems:z,loading:Z,category:ie,hiddenClick:se,handleVery:Qe=()=>!0,isCurrent:lt})=>{const xt=Math.floor((T-(Wt-1)*Xt)/Wt);return W.createElement(i.Z,{spinning:Z},W.createElement("div",{className:m()(K.list,It)},!!Bt.length&&Bt.map((at,Nt)=>{const{subject_identifier:Gt,id:je,identifier:Ne,power:Ee}=at,Le=at.is_public!=0&&at.is_public;return W.createElement("div",{className:K.wrap,key:je,style:{width:xt,marginRight:(1+Nt)%Wt===0?0:Xt+_t,marginBottom:_n}},W.createElement("a",{className:K.li,onClick:Pe=>{Pe.preventDefault(),Qe(at==null?void 0:at.first_category_url)&&(z&&(0,x.L9)([z]),(0,x.xg)(at.first_category_url))}},W.createElement("div",{className:K.top},W.createElement(f.Z,{title:at.name},W.createElement("div",{className:K.name},at.name)),W.createElement("img",{className:K.img,src:b.Z.IMG_SERVER+"/images/"+at.avatar_url}),W.createElement("div",{className:K.text,title:at.creator},at.creator),Gt&&W.createElement("div",{className:K.btns},W.createElement("div",null,"\u5F00\u653E\u8BFE\u7A0B"),W.createElement("aside",null,"\u5F00\u653E\u8BFE\u5802")),Le&&W.createElement("div",{className:K.sign},"\u516C\u5F00"),lt&&W.createElement("div",{className:K.hidden,onClick:Pe=>{Pe.stopPropagation(),se(at)}},W.createElement("i",{className:`iconfont ${ie=="hide"?"icon-chakan2":"icon-yincangtiaojianshezhi"} font12`}),ie=="hide"?"\u53D6\u6D88\u9690\u85CF":"\u9690\u85CF")),W.createElement("div",{className:K.bottom},at.visits>0&&W.createElement(f.Z,{title:"\u8BBF\u95EE\u91CF",placement:"bottom"},W.createElement("span",null,W.createElement("i",{className:"iconfont icon-liulanyan"}),W.createElement("span",null,at.visits))),at.course_members_count>0&&W.createElement(f.Z,{title:"\u6210\u5458",placement:"bottom"},W.createElement("span",null,W.createElement("i",{className:"iconfont icon-chengyuan"}),at.course_members_count)),at.tasks_count>0&&W.createElement(f.Z,{title:"\u4F5C\u4E1A",placement:"bottom"},W.createElement("span",null,W.createElement("i",{className:"iconfont icon-zuoye"}),at.tasks_count)),at.is_end?W.createElement("div",{style:{color:"#6B758B"}},"\u5DF2\u7ED3\u675F"):W.createElement("div",{style:{color:"#00B187"}},"\u8FDB\u884C\u4E2D"))),!at.is_accessible&&W.createElement("div",{className:K.lockWrap},W.createElement("img",{src:`${b.Z.IMG_SERVER}/images/educoder/icon/lockclose.svg`}),W.createElement("span",{className:"mt15 font16 c-white"},"\u975E\u8BFE\u5802\u6210\u5458\u4E0D\u53EF\u8FDB\u5165")))}),!Bt.length&&W.createElement(D.Z,null)))},Y={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"},le=M(65582),ve=({dataSource:It=[],value:Bt,onChange:Wt,className:Xt,style:_n={},tabBarExtraContent:_t})=>h.createElement("div",{className:m()(Y.tabs,Xt),style:_n},h.createElement("div",{className:Y.tabsWrap},It.map((T,z)=>!(T!=null&&T.hide)&&h.createElement("aside",{className:Y.tab,onClick:()=>{Wt(T.id),T.link&&le.history.push(T.link)},key:z},h.createElement("div",{className:Bt===T.id?Y.active:""},T.name),(T==null?void 0:T.resetCount)==null&&(T==null?void 0:T.total)!==void 0&&h.createElement("span",null,"\uFF08",T==null?void 0:T.total,"\uFF09"),(T==null?void 0:T.resetCount)!==void 0&&(T==null?void 0:T.total)!==void 0&&h.createElement(f.Z,{title:(T==null?void 0:T.tip)!=null?T==null?void 0:T.tip:""},h.createElement("span",{style:{color:"#9096A3"}},"\uFF08",h.createElement("span",{style:{color:"#000"}},T==null?void 0:T.resetCount),"/",h.createElement("span",null,T==null?void 0:T.total),"\uFF09"))))),h.createElement("div",{className:Y.tabBar},_t)),be=({className:It,style:Bt={},children:Wt})=>h.createElement("div",{className:m()(It),style:Bt},Wt),Ae={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"},Ue=M(75727),we=M(93041);const $e=[{id:"updated_at",name:"\u6700\u65B0\u52A8\u6001"},{id:"created_at",name:"\u6700\u65B0\u521B\u5EFA"},{id:"name",name:"\u540D\u79F0\u6392\u5E8F"}];var ge=({sortValue:It,dropValue:Bt,className:Wt,onSort:Xt,onDrop:_n,dataSource:_t=$e})=>{var T;return h.createElement("div",{className:m()(Ae.orderWrap,Wt)},h.createElement(Ue.Z,{dropdownRender:()=>h.createElement(we.default,null,_t.map((z,Z)=>h.createElement(we.default.Item,{key:Z,onClick:()=>_n(z.id)},z.name)))},h.createElement("span",{className:Ae.orderTextWrap},(T=_t.find(z=>Bt===z.id))==null?void 0:T.name)),h.createElement("span",{className:Ae.orderIconWrap},h.createElement("span",{className:Ae.orderAsc},h.createElement("i",{className:It==="asc"?`iconfont icon-sanjiaoxing-up font12 ${Ae.cursorPointer} ${Ae.active}`:`iconfont icon-sanjiaoxing-up font12 ${Ae.cursorPointer}`,onClick:()=>Xt(It==="asc"?"desc":"asc")})),h.createElement("span",{className:Ae.orderDesc},h.createElement("i",{className:It==="desc"?`iconfont icon-sanjiaoxing-down font12 ${Ae.cursorPointer} ${Ae.active}`:`iconfont icon-sanjiaoxing-down font12 ${Ae.cursorPointer}`,onClick:()=>Xt(It==="asc"?"desc":"asc")}))))},Ze={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"},Fe=M(7939),Te=Object.defineProperty,Ge=Object.getOwnPropertySymbols,Be=Object.prototype.hasOwnProperty,V=Object.prototype.propertyIsEnumerable,q=(It,Bt,Wt)=>Bt in It?Te(It,Bt,{enumerable:!0,configurable:!0,writable:!0,value:Wt}):It[Bt]=Wt,re=(It,Bt)=>{for(var Wt in Bt||(Bt={}))Be.call(Bt,Wt)&&q(It,Wt,Bt[Wt]);if(Ge)for(var Wt of Ge(Bt))V.call(Bt,Wt)&&q(It,Wt,Bt[Wt]);return It},ee=(It,Bt)=>{var Wt={};for(var Xt in It)Be.call(It,Xt)&&Bt.indexOf(Xt)<0&&(Wt[Xt]=It[Xt]);if(It!=null&&Ge)for(var Xt of Ge(It))Bt.indexOf(Xt)<0&&V.call(It,Xt)&&(Wt[Xt]=It[Xt]);return Wt},oe=(It,Bt,Wt)=>new Promise((Xt,_n)=>{var _t=Z=>{try{z(Wt.next(Z))}catch(ie){_n(ie)}},T=Z=>{try{z(Wt.throw(Z))}catch(ie){_n(ie)}},z=Z=>Z.done?Xt(Z.value):Promise.resolve(Z.value).then(_t,T);z((Wt=Wt.apply(It,Bt)).next())}),fe=It=>{var Bt=It,{className:Wt,style:Xt,children:_n,loading:_t=!1,openLoading:T,onClick:z=()=>{},size:Z="middle",shape:ie="round"}=Bt,se=ee(Bt,["className","style","children","loading","openLoading","onClick","size","shape"]);const[Qe,lt]=(0,h.useState)(!1);return h.createElement(Fe.ZP,re({onClick:(0,E.throttle)(xt=>oe(void 0,null,function*(){T&<(!0);try{yield z(xt)}catch(at){console.log("error",at)}T&<(!1)}),2e3,{leading:!0,trailing:!1}),className:m()(Ze.btn,Ze[`${Z}-${ie}`],Wt),style:Xt,size:Z,shape:ie,loading:Qe||_t},se),_n)},xe={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"},de=({className:It,style:Bt,children:Wt=null,onClick:Xt,title:_n})=>h.createElement("div",{className:m()(xe.head,It),style:Bt},h.createElement("span",{className:"primary-hover",onClick:Xt},h.createElement("i",{className:"iconfont icon-fanhui2 font12"}),"\u8FD4\u56DE"),h.createElement("b",{title:_n},_n),h.createElement("div",{className:xe.node},Wt)),ut={flex_box_center:"flex_box_center___AlHuF",flex_space_between:"flex_space_between___vN2LW",flex_box_vertical_center:"flex_box_vertical_center___Ac7D2",flex_box_center_end:"flex_box_center_end___y38I7",flex_box_column:"flex_box_column___iQE6P",btns:"btns___sNgTb",confirm:"confirm___Ozirl",cancel:"cancel___aiq1I"},ht=({confirmShow:It=!0,confirmTitle:Bt,confirmClick:Wt,cancelShow:Xt=!0,cancelTitle:_n,cancelClick:_t,className:T,style:z,confirmLoading:Z=!1})=>h.createElement("div",{className:m()(ut.btns,T),style:z},It&&h.createElement(Fe.ZP,{loading:Z,onClick:Wt,type:"primary",className:ut.confirm},Bt),Xt&&h.createElement(Fe.ZP,{onClick:_t,className:ut.cancel},_n)),vt={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"},ft=({className:It,style:Bt={},LeftContent:Wt,children:Xt,RightContent:_n})=>h.createElement("div",{className:m()(vt.fixedBottom,It),style:Bt},h.createElement("div",{className:vt.wrap},h.createElement("div",{className:vt.left},Wt),h.createElement("div",{className:vt.center},Xt),h.createElement("div",{className:vt.right},_n))),Ke={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"},Ye=({className:It,style:Bt={},dataSource:Wt=[]})=>h.createElement("div",{className:m()(Ke.crumbs,It),style:Bt},Wt.map((Xt,_n)=>_nle.history.push(Xt.path)},Xt.name):h.createElement("span",null,Xt.name),h.createElement("span",null,"\xA0",">","\xA0")):h.createElement("span",{key:_n,style:{color:"#5F6368"}},Xt.name))),rt=M(11938),yt=Object.defineProperty,Et=Object.defineProperties,cn=Object.getOwnPropertyDescriptors,Jt=Object.getOwnPropertySymbols,zt=Object.prototype.hasOwnProperty,vn=Object.prototype.propertyIsEnumerable,Fn=(It,Bt,Wt)=>Bt in It?yt(It,Bt,{enumerable:!0,configurable:!0,writable:!0,value:Wt}):It[Bt]=Wt,tn=(It,Bt)=>{for(var Wt in Bt||(Bt={}))zt.call(Bt,Wt)&&Fn(It,Wt,Bt[Wt]);if(Jt)for(var Wt of Jt(Bt))vn.call(Bt,Wt)&&Fn(It,Wt,Bt[Wt]);return It},Pn=(It,Bt)=>Et(It,cn(Bt)),qt=(It,Bt)=>{var Wt={};for(var Xt in It)zt.call(It,Xt)&&Bt.indexOf(Xt)<0&&(Wt[Xt]=It[Xt]);if(It!=null&&Jt)for(var Xt of Jt(It))Bt.indexOf(Xt)<0&&vn.call(It,Xt)&&(Wt[Xt]=It[Xt]);return Wt};const{Countdown:jt}=rt.default;var rn=It=>{var Bt=It,{onChange:Wt}=Bt,Xt=qt(Bt,["onChange"]);const[_n,_t]=(0,h.useState)(null);(0,h.useEffect)(()=>{typeof _n=="number"&&_n>=0&&Wt(_n)},[_n]);const T=z=>{const Z=Math.floor(z/1e3);_t(Z)};return h.createElement(jt,Pn(tn({},Xt),{onChange:T}))}},79942:function(Ln,pt,M){"use strict";M.r(pt),M.d(pt,{NoData:function(){return ge},default:function(){return Be}});var h=M(59301),k=M(7939),P=M(62957),_="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAlgAAAIwCAYAAABawRXrAADVaUlEQVR42uydCXhcdbn/RRAEURGvC4LgAsJ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iUf4+HyMb9XTqoOkF+T6+XX6Er5NTtbfg1xGTECgUAgEAkoY0dLITtelo64hHSqnAg7U0raOXJKjC/LvUius+gne3Zu8JG2/5VZlofk/ZHcJP20zK6NlsLxqhznHy95VzZXT5EZnGxZ8tKTZ1B2pvthqu7vf1f3cV+Xn8sYWVobJT/X38mM4FB5WfA98t82QK4d4H/z/8jH4DvyMblAPkbn/P9Bw0wIGoa8aNNyoLBmGk15o2AUjCwAAJpj3XJMmgW8AAAAAElFTkSuQmCC",B=M(38147);function C(){return(0,B.U2)("teach_groups.json")}function p(V){return(0,B.v_)("teach_groups.json",V)}function m(V,q){return(0,B.gz)(`teach_groups/${V}.json`,q)}function E(V){return(0,B.v_)("teach_group_members.json",V)}function d(V){return(0,B.IV)(`teach_group_members/${V}.json`)}function l(V,q){return(0,B.gz)(`teach_groups/${V}/change_admin.json`,{member_id:q})}function o(V,q){return(0,B.IV)(`teach_groups/${V}/del_member.json`,{member_id:q})}function g(V){return(0,B.IV)(`teach_groups/${V}.json`)}function r(V){return(0,B.U2)(`teach_groups/${V}/show_permission.json`)}function n(V){return(0,B.gz)(`teach_groups/${V==null?void 0:V.id}/update_permission.json`,V)}var a=M(28284),c=M(37568),u=M(70031),s=({callback:V,visible:q,onCancel:re,id:ee,name:oe})=>{function $(xe){V(xe)}const[fe]=a.default.useForm();return(0,h.useEffect)(()=>{fe.setFieldsValue({name:oe})},[oe]),h.createElement(P.default,{centered:!0,title:ee?"\u4FEE\u6539\u540D\u79F0":"\u65B0\u5EFA",open:q,onCancel:re,onOk:()=>{fe.submit()},wrapClassName:u.Z.CustomCss},h.createElement(a.default,{form:fe,initialValues:{name:oe},onFinish:$},h.createElement(a.default.Item,{label:"\u6559\u7814\u56E2\u961F\u540D\u79F0",name:"name",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u4E0D\u8D85\u8FC720\u5B57\u7684\u540D\u79F0"}]},h.createElement(c.default,{placeholder:"\u8BF7\u8F93\u5165\u4E0D\u8D85\u8FC720\u5B57\u7684\u540D\u79F0",maxLength:20}))))},v=M(62673),e=M(75727),t=M(93041),i=M(70858),f=M(6767),y=M(47889),b=Object.defineProperty,x=Object.getOwnPropertySymbols,A=Object.prototype.hasOwnProperty,w=Object.prototype.propertyIsEnumerable,L=(V,q,re)=>q in V?b(V,q,{enumerable:!0,configurable:!0,writable:!0,value:re}):V[q]=re,D=(V,q)=>{for(var re in q||(q={}))A.call(q,re)&&L(V,re,q[re]);if(x)for(var re of x(q))w.call(q,re)&&L(V,re,q[re]);return V};const O=V=>React.createElement("svg",D({className:"cjz_svg__icon",viewBox:"0 0 3194 1024",xmlns:"http://www.w3.org/2000/svg",width:623.828,height:200},V),React.createElement("path",{d:"M512 0h2170.88c282.624 0 512 229.376 512 512s-229.376 512-512 512H512C229.376 1024 0 794.624 0 512S229.376 0 512 0z",fill:"#EBEEFD"}),React.createElement("path",{d:"M1638.4 741.376c28.672 0 40.96-16.384 40.96-45.056V294.912h-36.864v393.216c0 16.384-8.192 20.48-20.48 20.48-24.576 0-45.056 0-73.728-4.096l8.192 32.768h81.92zm-372.736-258.048c49.152-45.056 90.112-94.208 126.976-147.456 32.768 32.768 69.632 77.824 110.592 135.168l24.576-24.576c-40.96-49.152-81.92-98.304-122.88-143.36h-24.576c-40.96 57.344-81.92 110.592-131.072 155.648l16.384 24.576zm323.584 159.744V339.968h-32.768v307.2h32.768zm-131.072 94.208c24.576 0 36.864-4.096 45.056-12.288s16.384-36.864 20.48-77.824l-32.768-12.288c0 28.672-4.096 45.056-8.192 53.248s-16.384 12.288-32.768 12.288h-98.304c-12.288 0-20.48-4.096-20.48-16.384v-204.8h106.496v94.208c0 12.288-8.192 20.48-20.48 20.48-16.384 0-32.768 0-49.152-4.096l8.192 32.768h53.248c28.672 0 40.96-16.384 40.96-40.96V450.56h-176.128v245.76c0 24.576 12.288 36.864 40.96 36.864h122.88zm585.728-53.248V634.88h131.072v-28.672h-131.072v-40.96h114.688v-28.672h-114.688v-40.96H2150.4v-69.632h32.768v-28.672H2150.4V327.68h-106.496v-32.768h-32.768v32.768h-86.016v28.672h86.016v36.864h-110.592v28.672h110.592v40.96h-86.016v28.672h86.016v40.96h-98.304v28.672h98.304v40.96h-110.592v28.672h110.592v49.152h32.768zm-270.336 57.344c24.576-16.384 40.96-36.864 57.344-61.44 4.096 4.096 12.288 8.192 16.384 12.288 36.864 24.576 102.4 36.864 188.416 36.864h147.456l4.096-32.768c-57.344 0-110.592 4.096-167.936 4.096-65.536 0-118.784-12.288-151.552-28.672-8.192-4.096-16.384-12.288-24.576-20.48 24.576-45.056 36.864-98.304 36.864-163.84v-20.48h-77.824c24.576-32.768 49.152-73.728 73.728-118.784v-28.672H1761.28v32.768h81.92c-24.576 40.96-49.152 81.92-77.824 118.784v28.672h90.112c-4.096 45.056-12.288 86.016-28.672 122.88-12.288-20.48-24.576-49.152-32.768-86.016l-32.768 12.288c12.288 40.96 28.672 77.824 45.056 106.496-16.384 24.576-36.864 40.96-57.344 57.344l24.576 28.672zm339.968-344.064h-69.632v-36.864h69.632v36.864zm0 69.632h-69.632v-40.96h69.632v40.96zm253.952 278.528v-20.48h212.992v20.48h36.864V524.288h-184.32c28.672-12.288 53.248-24.576 77.824-40.96l20.48-12.288h151.552v-32.768h-106.496c32.768-24.576 65.536-57.344 94.208-90.112l-32.768-20.48c-36.864 40.96-73.728 77.824-122.88 110.592h-61.44v-61.44h114.688v-32.768h-114.688v-49.152h-36.864v53.248h-135.168v32.768h135.168v57.344h-180.224v32.768h225.28c-69.632 40.96-147.456 69.632-229.376 90.112l16.384 32.768c28.672-8.192 57.344-20.48 81.92-28.672v180.224h36.864zm212.992-139.264h-212.992v-49.152h212.992v49.152zm0 86.016h-212.992v-53.248h212.992v53.248z",fill:"#165DFF"}),React.createElement("path",{d:"M573.44 204.8h327.68c90.112 0 163.84 73.728 163.84 163.84v327.68c0 90.112-73.728 163.84-163.84 163.84H573.44c-90.112 0-163.84-73.728-163.84-163.84V368.64c0-90.112 73.728-163.84 163.84-163.84z",fill:"#C2D0FF"}),React.createElement("path",{d:"M868.352 581.632c4.096 24.576 12.288 49.152 16.384 69.632 0 8.192 4.096 16.384 4.096 24.576s4.096 16.384 4.096 24.576 4.096 12.288 4.096 16.384v8.192c0 8.192 0 12.288-4.096 12.288-4.096 4.096-8.192 4.096-12.288 4.096h-8.192c-4.096 0-4.096 0-8.192-4.096L737.28 667.648c-24.576 12.288-45.056 24.576-61.44 36.864L651.264 716.8c-8.192 4.096-16.384 8.192-20.48 12.288-8.192 4.096-16.384 8.192-20.48 12.288s-8.192 4.096-8.192 4.096c-4.096 0-8.192 4.096-8.192 0-4.096 0-8.192 0-8.192-4.096-4.096 0-4.096-4.096-4.096-8.192v-8.192s0-4.096 4.096-8.192c0-4.096 4.096-12.288 4.096-16.384 0-8.192 4.096-16.384 4.096-24.576s4.096-16.384 8.192-24.576c4.096-20.48 12.288-45.056 16.384-69.632-24.576-16.384-45.056-28.672-57.344-45.056-8.192-4.096-16.384-8.192-20.48-16.384s-12.288-8.192-16.384-12.288S512 499.712 512 495.616c-4.096-4.096-8.192-4.096-8.192-4.096-4.096-4.096-4.096-8.192-8.192-12.288s-4.096-8.192-4.096-12.288 4.096-8.192 4.096-12.288c4.096 0 8.192-4.096 12.288-4.096l151.552-12.288L716.8 307.2c0-4.096 4.096-8.192 8.192-12.288 0-8.192 8.192-8.192 12.288-8.192s4.096 0 8.192 4.096c4.096 0 4.096 4.096 4.096 4.096l4.096 4.096s0 4.096 4.096 4.096l53.248 131.072 155.648 16.384c8.192 0 12.288 4.096 12.288 4.096 4.096 4.096 4.096 8.192 4.096 12.288s0 8.192-4.096 12.288l-12.288 12.288-98.304 90.112z",fill:"#2E5BEC"}));var N="data:image/svg+xml;base64,PHN2ZyBjbGFzcz0iaWNvbiIgdmlld0JveD0iMCAwIDMxOTQgMTAyNCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB3aWR0aD0iNjIzLjgyOCIgaGVpZ2h0PSIy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DQuMDk2czAgNC4wOTYgNC4wOTYgNC4wOTZsNTMuMjQ4IDEzMS4wNzIgMTU1LjY0OCAxNi4zODRjOC4xOTIgMCAxMi4yODggNC4wOTYgMTIuMjg4IDQuMDk2IDQuMDk2IDQuMDk2IDQuMDk2IDguMTkyIDQuMDk2IDEyLjI4OHMwIDguMTkyLTQuMDk2IDEyLjI4OGwtMTIuMjg4IDEyLjI4OC05OC4zMDQgOTAuMTEyeiIgZmlsbD0iIzJFNUJFQyIvPjwvc3ZnPg==",I=M(82636),K=(V,q,re)=>new Promise((ee,oe)=>{var $=ne=>{try{xe(re.next(ne))}catch(de){oe(de)}},fe=ne=>{try{xe(re.throw(ne))}catch(de){oe(de)}},xe=ne=>ne.done?ee(ne.value):Promise.resolve(ne.value).then($,fe);xe((re=re.apply(V,q)).next())});const F=50;var W=({data:V,isAdminOrTeacher:q,onDelGroup:re,onChangeGroupName:ee,onPlusMember:oe,onDelMember:$,onExitGroup:fe,Transferteams:xe})=>{var ne,de;const[ut,Je]=(0,h.useState)(0),[ht,vt]=(0,h.useState)(0);let[qe,ft]=(0,h.useState)(),[Ke,Oe]=(0,h.useState)(),[Ye,rt]=(0,h.useState)(!1),[yt,Et]=(0,h.useState)(),[cn,Jt]=(0,h.useState)(),[zt,vn]=(0,h.useState)(!1),[Fn,tn]=(0,h.useState)(!1),[Pn,qt]=(0,h.useState)("");function jt(_t){let T=parseInt(_t.key,10);qt(T),tn(!0)}function kt(_t){let T=parseInt(_t.key,10);P.default.confirm({title:"\u9000\u51FA\u63D0\u793A",okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",content:"\u9000\u51FA\u5C06\u5BF9\u60A8\u4E0E\u7EC4\u5185\u6210\u5458\u5171\u540C\u5F00\u5C55\u6559\u7814\u6D3B\u52A8\u9020\u6210\u4E0D\u4FBF\u3002\u60A8\u786E\u5B9A\u8981\u9000\u51FA\u5417\uFF1F",onOk:()=>{fe(T)}})}function rn(_t){let T=parseInt(_t,10);P.default.confirm({title:"\u9000\u51FA\u63D0\u793A",okText:"\u786E\u5B9A",icon:!1,className:u.Z.CustomTipsModalCss,cancelText:"\u53D6\u6D88",content:"\u9000\u51FA\u5C06\u5BF9\u60A8\u4E0E\u7EC4\u5185\u6210\u5458\u5171\u540C\u5F00\u5C55\u6559\u7814\u6D3B\u52A8\u9020\u6210\u4E0D\u4FBF\u3002\u60A8\u786E\u5B9A\u8981\u9000\u51FA\u5417\uFF1F",onOk:()=>{fe(T)}})}function It(_t,T){P.default.confirm({title:"\u6E29\u99A8\u63D0\u793A",content:"\u786E\u5B9A\u8981\u5220\u9664\u8FD9\u4E2A\u7EC4\u5458\u5417?",icon:!1,className:u.Z.CustomTipsModalCss,okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",onOk:()=>{$(_t,T)}})}const Bt={display:"block",height:"30px",lineHeight:"30px"};function Wt(_t){Jt(_t),Et(_t==null?void 0:_t.id),vn(!0)}const Xt=[{title:"\u6210\u5458\u540D\u79F0",dataIndex:"name",width:150},{title:"\u4F7F\u7528\u5171\u4EAB\u8BD5\u9898",dataIndex:"item_bank",align:"center",width:150,render:(_t,T,z)=>h.createElement(v.default,{disabled:T==null?void 0:T.is_creator,defaultChecked:_t,onChange:Z=>{n({id:yt,member_id:T.id,clazz:"item_bank",enable:Z.target.checked})}})},{title:"\u7F16\u8F91\u5171\u4EAB\u8BD5\u9898",dataIndex:"edit_item_bank",align:"center",width:150,render:(_t,T,z)=>h.createElement(v.default,{disabled:T==null?void 0:T.is_creator,defaultChecked:_t,onChange:Z=>{n({id:yt,member_id:T.id,clazz:"edit_item_bank",enable:Z.target.checked})}})},{title:"\u4F7F\u7528\u5171\u4EAB\u8BD5\u5377",dataIndex:"exercise",align:"center",render:(_t,T,z)=>h.createElement(v.default,{disabled:T==null?void 0:T.is_creator,defaultChecked:_t,onChange:Z=>{n({id:yt,member_id:T.id,clazz:"exercise",enable:Z.target.checked})}})}];function _n(_t){return K(this,null,function*(){const T=yield r(_t==null?void 0:_t.id);Et(_t==null?void 0:_t.id),Oe(T),rt(!0)})}return h.createElement("ul",{className:"teaching-lists"},V.map((_t,T)=>h.createElement("li",{key:_t.id,style:{marginTop:T===0?30:16},onClick:()=>Je(T)},h.createElement("div",{className:"item-group"},h.createElement("span",{style:{color:"#000000",fontSize:16,fontWeight:600}},_t.name,"\u7684\u6559\u7814\u56E2\u961F"),h.createElement("div",{className:"action-group"})),h.createElement("div",{style:{display:"flex"}},h.createElement("span",{style:{marginTop:29,marginLeft:24,color:"#5F6367"}},"\u56E2\u961F\u6210\u5458\uFF1A"),h.createElement("ul",{className:"info",style:{flex:1}},_t.memers.map(z=>{var Z;return h.createElement("li",{key:z.id||z.name,onClick:()=>{vt(z.id)},className:"directionItemWrap"},h.createElement("div",{className:"hovename",style:{display:"flex",alignItems:"center",justifyContent:"center",fontWeight:400,fontSize:14,color:z!=null&&z.is_creater?"#000000":"#5F6367"}},((Z=z.name)==null?void 0:Z.length)>6?z.name.substr(0,6)+"....":z.name,h.createElement("img",{src:N,style:{marginLeft:5,display:!(z!=null&&z.is_creater)&&"none",height:25,width:78}})),_t.is_creat?h.createElement("div",{className:"groupActionWrap",style:{display:!(z!=null&&z.id)&&"none"}},h.createElement("a",{className:"btn-del",onClick:ie=>{ie.preventDefault(),ie.stopPropagation(),It(_t.id,z.id)}},"x")):null)})),_t.is_creat||q?h.createElement(e.Z,{overlayClassName:"dropdowns",dropdownRender:()=>h.createElement(t.default,null,h.createElement(t.default.Item,{onClick:()=>{ee(_t)}},"\u4FEE\u6539\u540D\u79F0"),h.createElement(t.default.Item,{disabled:_t.memers.length>=50,onClick:()=>{oe(_t)}},"\u6DFB\u52A0\u6210\u5458"),_t.is_creat&&h.createElement(t.default.Item,{onClick:()=>_n(_t)},"\u6743\u9650\u914D\u7F6E"),_t.is_creat&&h.createElement(t.default.Item,{onClick:()=>Wt(_t)},"\u8F6C\u8BA9\u56E2\u961F"),h.createElement(t.default.Item,{key:_t.id+"",onClick:_t.is_creat?jt:kt},_t.is_creat?"\u89E3\u6563":"\u9000\u51FA"))},h.createElement("span",{style:{marginTop:30,marginRight:24,color:"#165DFF",fontSize:14,height:20}},"\u8BBE\u7F6E",h.createElement("i",{style:{marginLeft:5,color:"#979797"},className:"iconfont icon-a-bianzu11"}))):h.createElement("span",{key:_t.id+"",style:{marginTop:30,marginRight:24,color:"#165DFF",fontSize:14,height:20},className:"c-grey-c",onClick:()=>rn(_t.id)},"\u9000\u51FA")))),h.createElement(P.default,{width:700,wrapClassName:u.Z.CustomCss,title:"\u6743\u9650\u914D\u7F6E",footer:null,open:Ye,onCancel:()=>rt(!1)},h.createElement(I.Gi,null,h.createElement(i.default,{dataSource:Ke==null?void 0:Ke.members,columns:Xt,pagination:!1,scroll:{y:240}})),h.createElement("p",{style:{color:"#FF9D18",marginTop:5}},"*\u9009\u4E2D\u4EE3\u8868\u8BE5\u6210\u5458\u53EF\u4EE5\u4F7F\u7528\u56E2\u961F\u5185\u6240\u6709\u6210\u5458\u5171\u4EAB\u7684\u8D44\u6E90\uFF0C\u5426\u5219\u4E0D\u53EF\u4EE5")),h.createElement(P.default,{title:"\u89E3\u6563\u63D0\u793A",wrapClassName:u.Z.CustomCss,onOk:()=>{re(Pn),tn(!1)},open:Fn,onCancel:()=>tn(!1)},h.createElement("p",null,"\u89E3\u6563\u6559\u7814\u56E2\u961F\u5C06\u5BF9\u56E2\u961F\u6210\u5458\u4E4B\u95F4\u5171\u4EAB\u5B9E\u8BAD\u3001\u8BD5\u5377\u7B49\u529F\u80FD\u9020\u6210\u4E0D\u4FBF\u3002"),h.createElement("p",null,"\u60A8\u786E\u5B9A\u8981\u89E3\u6563\u672C\u6559\u7814\u56E2\u961F\u5417\uFF1F")),h.createElement(P.default,{wrapClassName:u.Z.CustomCss,title:"\u8F6C\u8BA9\u56E2\u961F",onOk:()=>{if(!qe){f.ZP.info("\u521B\u5EFA\u4EBA\u4E0D\u80FD\u4E3A\u7A7A");return}xe(yt,qe),vn(!1),qe=""},open:zt,onCancel:()=>{vn(!1),qe=""}},h.createElement("p",{style:{textAlign:"left"}},"\u9009\u4E2D\u7684\u6210\u5458\u5C06\u4F1A\u4EE5\u65B0\u7684\u521B\u5EFA\u4EBA\u8EAB\u4EFD\u63A5\u7BA1\u56E2\u4F53 ",h.createElement("br",null)," \u60A8\u5C06\u4E0D\u518D\u62E5\u6709\u521B\u5EFA\u4EBA\u7684\u8EAB\u4EFD\u548C\u6743\u9650\uFF0C\u4F46\u60A8\u4ECD\u662F\u56E2\u961F\u4E2D\u7684\u4E00\u5458"),h.createElement("div",null,h.createElement(y.ZP.Group,{defaultValue:[],onChange:_t=>{qe=_t.target.value,ft(_t.target.value)}},(de=(ne=cn==null?void 0:cn.memers)==null?void 0:ne.filter(_t=>_t.is_teacher))==null?void 0:de.map((_t,T)=>h.createElement(y.ZP,{style:Bt,value:_t==null?void 0:_t.id},_t==null?void 0:_t.name))))))},j=M(65862),X=M(65582),Y=M(46919),le=Object.defineProperty,J=Object.defineProperties,ve=Object.getOwnPropertyDescriptors,Ce=Object.getOwnPropertySymbols,be=Object.prototype.hasOwnProperty,Ae=Object.prototype.propertyIsEnumerable,Ue=(V,q,re)=>q in V?le(V,q,{enumerable:!0,configurable:!0,writable:!0,value:re}):V[q]=re,we=(V,q)=>{for(var re in q||(q={}))be.call(q,re)&&Ue(V,re,q[re]);if(Ce)for(var re of Ce(q))Ae.call(q,re)&&Ue(V,re,q[re]);return V},$e=(V,q)=>J(V,ve(q)),Re=(V,q,re)=>new Promise((ee,oe)=>{var $=ne=>{try{xe(re.next(ne))}catch(de){oe(de)}},fe=ne=>{try{xe(re.throw(ne))}catch(de){oe(de)}},xe=ne=>ne.done?ee(ne.value):Promise.resolve(ne.value).then($,fe);xe((re=re.apply(V,q)).next())});function ge({children:V}){return h.createElement("div",{className:"no-data"},h.createElement("img",{src:_,alt:"no-data",width:300}),V)}const Ze={data:[],loading:!0,selectedGroup:{},showFormPanel:!1,showMemberPanel:!1,index:0};var Fe=(V=>(V[V.INITDATA=0]="INITDATA",V[V.SHOWLOADING=1]="SHOWLOADING",V[V.SHOWFORMPANEL=2]="SHOWFORMPANEL",V[V.SHOWMEMBERPANEL=3]="SHOWMEMBERPANEL",V[V.SELECTGROUP=4]="SELECTGROUP",V[V.SETINDEX=5]="SETINDEX",V))(Fe||{});function Te(V,q){switch(q.type){case 0:return we(we({},V),q.payload);case 1:return $e(we({},V),{loading:q.payload});case 5:return $e(we({},V),{index:q.payload});case 2:return we(we({},V),q.payload);case 3:return we(we({},V),q.payload);case 4:return $e(we({},V),{selectedGroup:q.payload,showFormPanel:!0});default:throw new Error}}function Ge({user:V}){var q;const re=(0,X.useLocation)(),[ee]=(0,X.useSearchParams)(),[oe,$]=(0,h.useReducer)(Te,Ze),{data:fe,index:xe,loading:ne,showFormPanel:de,selectedGroup:ut,showMemberPanel:Je}=oe,ht=(q=V.userInfo)==null?void 0:q.role,[vt,qe]=(0,h.useState)(ee.get("category")||"0"),ft=(0,h.useMemo)(()=>{let jt=[],kt=[];if(fe){for(let rn of fe)rn.is_creat?jt.push(rn):kt.push(rn);return[jt,kt]}},[fe]);(0,h.useEffect)(()=>{ht===15&&$({type:5,payload:1})},[ht]);function Ke(){return Re(this,null,function*(){const jt=yield C();(jt==null?void 0:jt.status)!==401&&$({type:0,payload:{loading:!1,showFormPanel:!1,data:jt.groups,index:ee.get("category")||0}})})}(0,h.useEffect)(()=>{Ke()},[]);function Oe(jt){return Re(this,null,function*(){ut.id?yield m(ut.id,jt):yield p(jt),Ke()})}function Ye(){$({type:2,payload:{showFormPanel:!0,selectedGroup:{}}})}function rt(jt){$({type:4,payload:jt})}function yt(){$({type:2,payload:{showFormPanel:!1}})}function Et(){$({type:3,payload:{showMemberPanel:!1,selectedGroup:{}}})}function cn(jt){$({type:3,payload:{showMemberPanel:!0,selectedGroup:jt}})}function Jt(jt,kt){return Re(this,null,function*(){yield o(jt,kt),Ke()})}function zt(jt){return Re(this,null,function*(){yield g(jt),Ke()})}function vn(jt){return Re(this,null,function*(){yield d(jt),Ke()})}function Fn(jt,kt){return Re(this,null,function*(){yield l(jt,kt),Ke()})}function tn(jt){$({type:5,payload:parseInt(jt.target.id,10)})}function Pn(jt,kt){return Re(this,null,function*(){Et(),yield E({user_ids:jt,group_id:kt}),Ke()})}const qt=[{id:"0",name:"\u6211\u521B\u5EFA\u7684"},{id:"1",name:"\u6211\u52A0\u5165\u7684"}];return h.createElement(h.Fragment,null,h.createElement("div",{className:"teaching-circling-container",style:{paddingLeft:45,paddingTop:22}},h.createElement("div",{className:"teaching-circling-body"},ht===15?null:h.createElement(I.YG,{value:vt,onChange:jt=>{var kt;(kt=window.location.href.toString())!=null&&kt.includes("category")?(0,j.jz)("category",jt):window.history.replaceState(null,"",window.location.href.indexOf("?")>-1?window.location.href+`&category=${jt}`:`?category=${jt}`),qe(jt),$({type:5,payload:parseInt(jt,10)})},tabBarExtraContent:h.createElement(k.ZP,{type:"primary",disabled:fe.length>=50,style:{width:60,height:32,borderRadius:16,border:"1px solid #BACFFE",background:"#F6F7F9 linear-gradient(180deg, #FFFFFF 0%, #F6F7F9 100%)",boxShadow:"0px 2px 4px 0px #E0DFE1, inset 0px 1px 3px 0px rgba(255,255,255,0.5)",color:"#3061D0"},title:fe.length>=50?"\u60A8\u52A0\u5165\u7684\u6559\u7814\u7EC4\u5DF2\u8FBE\u4E0A\u9650":"",onClick:Ye},"\u65B0\u5EFA"),className:"mb25",dataSource:qt}),h.createElement("div",{className:ft[xe].length===0?"nodata-content":"main-content"},ft[xe].length===0?h.createElement(ge,null,ht<=12?h.createElement(h.Fragment,null," ",h.createElement("p",null,"\u6559\u7814\u56E2\u961F\u6709\u52A9\u4E8E\u4F60\u548C\u4F60\u7684\u4F19\u4F34\u4EEC\u4E00\u8D77\u521B\u5EFA\u5B9E\u8BAD\u3001\u534F\u540C\u6559\u5B66\uFF0C\u6216\u5F00\u5C55\u5176\u4ED6\u6559\u7814\u6D3B\u52A8\u3002")," ",h.createElement("p",null,"\u5F53\u524D\u60A8\u5C1A\u672A\u7EC4\u5EFA\u5C5E\u4E8E\u81EA\u5DF1\u6559\u7814\u56E2\u961F\uFF0C\u5FEB\u53BB\u7EC4\u5EFA\u5427\uFF01")," "):h.createElement("p",null," \u60A8\u5C1A\u672A\u52A0\u5165\u4EFB\u4F55\u6559\u7814\u5C0F\u7EC4\uFF0C\u8BF7\u7B49\u5F85\u8001\u5E08\u7684\u53EC\u5524\u5427\uFF01 ")):h.createElement(W,{onExitGroup:vn,Transferteams:Fn,onPlusMember:cn,onDelMember:Jt,onDelGroup:zt,isAdminOrTeacher:ht<=12,onChangeGroupName:rt,data:ft[xe]})))),h.createElement(s,{callback:Oe,visible:de,onCancel:yt,id:ut.id,name:ut.name}),h.createElement(P.default,{centered:!0,title:"\u6DFB\u52A0\u6210\u5458",open:Je,onCancel:Et,footer:null,width:1150,bodyStyle:{minHeight:200},wrapClassName:u.Z.CustomCss},h.createElement(Y.Z,{container_id:ut.id,container_type:4,onSelect:Pn,onCancel:Et})))}var Be=(0,X.connect)(({user:V})=>({user:V}))(Ge)},7619:function(Ln,pt,M){"use strict";var h=M(59301),k=M(76411),P=M.n(k),_=M(48961),B=M.n(_),C=M(59301),p=Object.defineProperty,m=Object.getOwnPropertySymbols,E=Object.prototype.hasOwnProperty,d=Object.prototype.propertyIsEnumerable,l=(r,n,a)=>n in r?p(r,n,{enumerable:!0,configurable:!0,writable:!0,value:a}):r[n]=a,o=(r,n)=>{for(var a in n||(n={}))E.call(n,a)&&l(r,a,n[a]);if(m)for(var a of m(n))d.call(n,a)&&l(r,a,n[a]);return r};const g=({dataSource:r,height:n,labelTextColor:a,legend:c={}})=>{console.log("dataSource:",r);const u=(0,h.useRef)(null),s=(0,h.useRef)(null),[v,e]=(0,h.useState)({}),[t,i]=(0,h.useState)(""),[f,y]=(0,h.useState)(""),b=r||[{name:"\u638C\u63E1\u738780%~100%",value:1,itemStyle:{color:"rgb(223,209,38)"}},{name:"\u638C\u63D0\u738760%~79%",value:2,itemStyle:{color:"rgb(6,234,230)"}},{name:"\u638C\u63A8\u738759%\u4EE5\u4E0B",value:3,itemStyle:{color:"rgb(6,110,247)"}}];(0,h.useEffect)(()=>(A(),window.addEventListener("resize",x),()=>{window.removeEventListener("resize",x)}),[]),(0,h.useEffect)(()=>{r!=null&&r.length&&x()},[r]);const x=()=>{var I,K;const F=w(b,.8);(I=s.current)==null||I.setOption(F),(K=s.current)==null||K.resize()},A=()=>{const I=u.current;s.current=k.init(I);const K=w(b,.8);e(K),s.current.setOption(K),s.current.getZr().off("mousewheel"),K.series.push({name:"\u638C\u63E1\u7387",type:"pie",labelLine:{length:10,length2:10},startAngle:-20,clockwise:!1,radius:["20%","50%"],center:["50%","50%"],data:b,itemStyle:{opacity:0}}),s.current.setOption(K),N(s.current)},w=(I,K)=>{let F,W=[],j=0,X=0,Y=0,le=[],J=[],ve=1-K;I.sort((be,Ae)=>Ae.value-be.value);for(let be=0;bewe.name===be)[0],Ue=O(Ae.value*100,2)+"%";return`${Ae.name} ${Ue}`}},c),labelLine:{show:!0,lineStyle:{color:"#7BC0CB"}},label:{show:!0,position:"outside",rich:{b:{color:a||"#FFF",fontSize:12,lineHeight:20},c:{fontSize:16,lineHeight:24,color:a||"#FFF"}},formatter:`{b|{b} }{c|{c}}{b|}`},xAxis3D:{min:-1,max:1},yAxis3D:{min:-1,max:1},zAxis3D:{min:-1,max:1},grid3D:{show:!1,boxHeight:Ce,viewControl:{alpha:40,distance:300,rotateSensitivity:0,zoomSensitivity:0,panSensitivity:0,autoRotate:!1}},series:W}},L=(I,K)=>(I.sort((F,W)=>W.pieData.value-F.pieData.value),K*25/I[0].pieData.value),D=(I,K,F,W,j,X)=>{let Y=(I+K)/2,le=I*Math.PI*2,J=K*Math.PI*2,ve=Y*Math.PI*2;I===0&&K===1&&(F=!1),j=typeof j!="undefined"?j:1/3;let Ce=F?Math.cos(ve)*.1:0,be=F?Math.sin(ve)*.1:0,Ae=W?1.05:1;return{u:{min:-Math.PI,max:Math.PI*3,step:Math.PI/32},v:{min:0,max:Math.PI*2,step:Math.PI/20},x:function(Ue,we){return UeJ?Ce+Math.cos(J)*(1+Math.cos(we)*j)*Ae:Ce+Math.cos(Ue)*(1+Math.cos(we)*j)*Ae},y:function(Ue,we){return UeJ?be+Math.sin(J)*(1+Math.cos(we)*j)*Ae:be+Math.sin(Ue)*(1+Math.cos(we)*j)*Ae},z:function(Ue,we){return Ue<-Math.PI*.5?Math.sin(Ue):Ue>Math.PI*2.5?Math.sin(Ue)*X*.1:Math.sin(we)>0?1*X*.1:-1}}},O=(I,K)=>{let F=parseFloat(I);if(isNaN(F))return!1;F=Math.round(I*Math.pow(10,K))/Math.pow(10,K);let W=F.toString();(W==null?void 0:W.indexOf("."))<0&&(W+=".");for(let X=W.length-(W==null?void 0:W.indexOf("."));X<=K;X++)W+="0";return W},N=()=>{s.current.on("click",function(I){if(I.seriesName==="pie2d"){i(I.dataIndex);let K=s.current.getWidth()/2,F=s.current.getHeight()/2;s.current.dispatchAction({type:"pieSelect",seriesIndex:0,dataIndex:I.dataIndex})}}),s.current.on("mousemove",function(I){}),s.current.on("mouseout",function(){s.current.dispatchAction({type:"pieUnSelect",seriesIndex:0,dataIndex:f}),y("")})};return C.createElement("div",{ref:u,style:{width:"100%",height:n||"500rem"}})};pt.Z=g},68700:function(Ln,pt,M){"use strict";M.d(pt,{Z:function(){return yr}});var h=M(59301),k=M(65582),P=M(28284),_=M(6767),B=M(94968),C=M(36207),p=M(7939),m=M(62957),E=M(37568),d=M(25399),l=M(31691),o=M(29787),g=M(47889),r=M(18287),n={flex_box_center:"flex_box_center___bAhU8",flex_space_between:"flex_space_between___fGcUL",flex_box_vertical_center:"flex_box_vertical_center___hqbFm",flex_box_center_end:"flex_box_center_end___h8cjt",flex_box_column:"flex_box_column___jkfSL",detailmodal:"detailmodal___KEy8k",title:"title___M0Bdn",button:"button___oEMiZ",drawer:"drawer___Pwq6m",tabstyle:"tabstyle___hGelr",items:"items___RrF7L",itemsactivite:"itemsactivite____kVzF",nodetitle:"nodetitle___UgLxl",nodeboyd:"nodeboyd___R1M87",listitem:"listitem___CjR4j",Tabs:"Tabs___gAkar",addmodal:"addmodal___KHvV4",gxcoent:"gxcoent___B8UeJ",gxtitle:"gxtitle___Ezw1C",Colortitle:"Colortitle___kChPm",gxbody:"gxbody___HmZPk",tag:"tag___b2Gak",form:"form___wY8YH",radioform:"radioform___RW7Fy",settingmodal:"settingmodal___LgbSA",body:"body___KaaXx",left:"left___BbRKH",header:"header___E8vej",treenode:"treenode___XViAn",hudong:"hudong___MzZbW",colortitle:"colortitle___PgqHg",right:"right___jzXCF",multiple:"multiple___GQEEM",settingtag:"settingtag___XVMCI",tree:"tree___zz_WU",select:"select___HL7_r",input:"input___reuVt",DetailStatistics:"DetailStatistics___v31Uq",xxrs:"xxrs___Q156g",xxrscount:"xxrscount___OdU60",righttop:"righttop___dnIBD",rightbottom:"rightbottom___B0s8j",gllist:"gllist___JZ9mz",gltag:"gltag___RF_cu"},a=M(99267),c=M(43531),u=M(15075),s={tag:"tag___aXy_L",active:"active___kZOMC",tagsModal:"tagsModal___wsl_M",btn:"btn___S2nL4",modal:"modal___r3iAS",mHead:"mHead___imW9A",body:"body___fZUhx",add:"add___QHMDJ",error:"error___aJzBo"},v=M(92310),e=M.n(v),t=M(38147),i=M(59301),f=Object.defineProperty,y=Object.getOwnPropertySymbols,b=Object.prototype.hasOwnProperty,x=Object.prototype.propertyIsEnumerable,A=(et,Tt,Ct)=>Tt in et?f(et,Tt,{enumerable:!0,configurable:!0,writable:!0,value:Ct}):et[Tt]=Ct,w=(et,Tt)=>{for(var Ct in Tt||(Tt={}))b.call(Tt,Ct)&&A(et,Ct,Tt[Ct]);if(y)for(var Ct of y(Tt))x.call(Tt,Ct)&&A(et,Ct,Tt[Ct]);return et},L=(et,Tt,Ct)=>new Promise((Cn,cr)=>{var it=un=>{try{Dn(Ct.next(un))}catch(Un){cr(Un)}},Tr=un=>{try{Dn(Ct.throw(un))}catch(Un){cr(Un)}},Dn=un=>un.done?Cn(un.value):Promise.resolve(un.value).then(it,Tr);Dn((Ct=Ct.apply(et,Tt)).next())});let D=[{name:"\u4F5C\u4E1A",id:"zy",item_type:2},{name:"\u5B9E\u8BAD",id:"sx",item_type:2},{name:"\u6559\u6750",id:"jc",item_type:2},{name:"\u89C6\u9891",id:"sp",item_type:2},{name:"\u8BFE\u4EF6",id:"kj",item_type:2},{name:"\u8BD5\u5377",id:"sj",item_type:2},{name:"\u9898\u96C6",id:"tj",item_type:2},{name:"\u8BD5\u9898",id:"st",item_type:2}],O=[{name:"\u7AE0\u8282",id:"zj",item_type:1},{name:"\u77E5\u8BC6\u70B9",id:"zsd",item_type:1}];var I=({value:et=[],onChange:Tt,type:Ct,dataSources:Cn=[],pathsDetail:cr={},showmodal:it,containerRef:Tr})=>{const Dn=(0,k.useParams)(),[un,Un]=(0,h.useState)(!1),[vr,On]=(0,h.useState)([]),[hr,An]=(0,h.useState)(),[Or,or]=(0,h.useState)(""),[Rr,sr]=(0,h.useState)(""),[$n,Dr]=(0,h.useState)(""),[xr,dr]=(0,h.useState)(!1),[kr,ta]=(0,h.useState)(!1),[Ar,Xn]=(0,h.useState)([]),[aa,oa]=(0,h.useState)("");(0,h.useEffect)(()=>{un&&la()},[un]);function la(){return L(this,null,function*(){let kn=yield(0,t.ZP)("/api/knowledge_items.json",{method:"get",params:{item_type:Ct,subject_id:Dn==null?void 0:Dn.pathId}});(kn==null?void 0:kn.status)===0&&(Ct===3?On(kn==null?void 0:kn.data):(On([...O,...kn==null?void 0:kn.data]),Xn([...D,...kn==null?void 0:kn.data2])))})}const va=[{background:"#6236FF",borderColor:"#9D82FF"},{background:"#6DB9FF",borderColor:"#6DB9FF"},{background:"rgba(27,175,234,0.8)",borderColor:"#68D5FF"},{background:"#C1AC15",borderColor:"#DCC51C"},{background:"#E07E37",borderColor:"#F79046"},{background:"rgba(29,94,255,0.8)",borderColor:"#6D97FE"},{background:"#E75454",borderColor:"#FE8383"},{background:"#A557D8",borderColor:"#C57AF6"},{background:"#2CA768",borderColor:"#43CC86"},{background:"#1F9269",borderColor:"#38B588"},{background:"#CA7720",borderColor:"#E99338"},{background:"rgba(224,32,32,0.8)",borderColor:"#E02020"},{background:"rgba(255,126,15,0.8)",borderColor:"#FF7E0F"},{background:"rgba(29,94,255,0.8)",borderColor:"#1D5EFF"},{background:"#2BAC8E",borderColor:"#30CB9D"},{background:"#EE5D5D",borderColor:"#FF8181"},{background:"#7E5AFE",borderColor:"#9173FA"},{background:"#3ABCEF",borderColor:"#6FD6FF"},{background:"#B132C2",borderColor:"#C57AF6"},{background:"#46A4FB",borderColor:"#72BBFF"},{background:"#C1AC15",borderColor:"#DCC51C"},{background:"#E07E37",borderColor:"#F79046"},{background:"#1D5EFF",borderColor:"#6D97FE"},{background:"#2CA768",borderColor:"#43CC86"},{background:"#A557D8",borderColor:"#C57AF6"},{background:"#1F9269",borderColor:"#38B588"},{background:"#CA7720",borderColor:"#E99338"}],Lr="\u6807\u7B7E";(0,h.useEffect)(()=>{On(Cn)},[]),(0,h.useEffect)(()=>{un&&An(et)},[un]);const ma=({title:kn="",style:Qn={},values:jn="",showDelete:lr=!0,modal:Rt=!1,active:Yr=!1})=>{const da=(jr=>jr.split("").reduce((sa,na)=>sa+na.charCodeAt(0),0))(kn)%va.length,{background:ea,borderColor:Hn}=va[da];return i.createElement("div",{className:e()(s.tag,Yr?s.active:""),onClick:()=>{var jr;if(Rt){if(un===1){let sa=[...vr,...Ar];An([...sa.filter(na=>(na==null?void 0:na.id)===jn)])}un===2&&((jr=hr==null?void 0:hr.map(sa=>sa.id))!=null&&jr.includes(jn)?An(hr.filter(sa=>sa.id!==jn)):An([...hr,...vr.filter(sa=>(sa==null?void 0:sa.id)===jn)]))}},style:w({background:ea,borderColor:Hn},Qn)},i.createElement("span",null,kn),lr&&i.createElement("i",{onClick:jr=>L(void 0,null,function*(){var sa;if(jr.stopPropagation(),Rt){On(vr.filter(ga=>ga.name!==kn)),On(vr.filter(ga=>ga.name!==kn));let na=yield(0,t.ZP)(`/api/knowledge_items/${jn}.json`,{method:"delete",body:{id:jn,subject_id:(sa=cr==null?void 0:cr.detail)==null?void 0:sa.id}});(na==null?void 0:na.status)===0&&la()}else Tt(et.filter(na=>na.id!==jn))}),className:"iconfont icon-shanchu5"}))},Ca=()=>{Tt(hr),Un(!1)},Ur=kn=>L(void 0,null,function*(){if(!Or.replace(/\s+/g,"")&&kn===1){Dr(`${Lr}\u4E0D\u80FD\u4E3A\u7A7A`);return}if(!Rr.replace(/\s+/g,"")&&kn===2){oa("\u8D44\u6E90\u4E0D\u80FD\u4E3A\u7A7A");return}if((vr.map(jn=>jn.name).includes(Or)||Ar.map(jn=>jn.name).includes(Or))&&kn===1){Dr(`\u8BE5${Lr}\u5DF2\u5B58\u5728\uFF0C\u8BF7\u52FF\u91CD\u590D\u6DFB\u52A0\uFF01`);return}if((Ar.map(jn=>jn.name).includes(Rr)||vr.map(jn=>jn.name).includes(Rr))&&kn===2){oa("\u8BE5\u8D44\u6E90\u5DF2\u5B58\u5728\uFF0C\u8BF7\u52FF\u91CD\u590D\u6DFB\u52A0\uFF01");return}let Qn=yield(0,t.ZP)("/api/knowledge_items.json",{method:"post",body:{item_type:Ct===3?3:kn,name:Ct===3||kn===1?Or:Rr,subject_id:Dn==null?void 0:Dn.pathId}});(Qn==null?void 0:Qn.status)===0&&la(),kn===1&&dr(!1),kn===2&&ta(!1)});return i.createElement("div",{className:s.tagsModal},Ct===5&&i.createElement(i.Fragment,null,et==null?void 0:et.map((kn,Qn)=>i.createElement(ma,{values:kn.id,key:Qn,title:kn.name,showDelete:!1,style:{marginRight:"20rem",marginBottom:0}})),it&&i.createElement("div",{onClick:()=>Un(1),style:{marginBottom:"0rem"},className:s.btn},i.createElement("i",{className:"iconfont icon-genghuanguanliyuan1"}),et!=null&&et.length?"\u66F4\u6362":"\u9009\u62E9","\u7C7B\u578B")),Ct===3&&i.createElement(i.Fragment,null,et==null?void 0:et.map((kn,Qn)=>i.createElement(ma,{values:kn.id,key:Qn,title:kn.name})),it&&i.createElement("div",{onClick:()=>Un(2),className:s.btn,style:{marginBottom:"10rem"}},i.createElement("i",{className:"iconfont icon-tianjiatixing"}),et!=null&&et.length?"\u66F4\u6362":"\u9009\u62E9","\u6807\u7B7E")),i.createElement(m.default,{open:!!un,centered:!0,width:"1000rem",okText:"\u4FDD\u5B58",getContainer:()=>Tr.current,onCancel:()=>Un(!1),cancelText:"\u53D6\u6D88",afterClose:()=>{dr(!1),ta(!1),Dr(""),or("")},onOk:Ca,title:`\u9009\u62E9${Lr}`},i.createElement("div",{className:s.modal},i.createElement("div",{className:s.mHead},i.createElement("b",null),i.createElement("span",null,`${Lr}`,"\uFF08",vr.length,"\uFF09"),i.createElement("div",{onClick:()=>{dr(!0),Dr(""),or("")},className:s.btn},i.createElement("i",{className:"iconfont icon-tianjiatixing"}),"\u6DFB\u52A0")),i.createElement("div",{className:s.body},vr==null?void 0:vr.map((kn,Qn)=>{var jn,lr,Rt;return i.createElement(ma,{showDelete:Ct===3?!((jn=hr==null?void 0:hr.map(Yr=>Yr==null?void 0:Yr.id))!=null&&jn.includes(kn==null?void 0:kn.id)):!((lr=hr==null?void 0:hr.map(Yr=>Yr==null?void 0:Yr.id))!=null&&lr.includes(kn==null?void 0:kn.id))&&!((Rt=O.map(Yr=>Yr.name))!=null&&Rt.includes(kn.name)),modal:!0,style:{cursor:"pointer"},active:hr==null?void 0:hr.map(Yr=>Yr==null?void 0:Yr.id).includes(kn==null?void 0:kn.id),key:kn==null?void 0:kn.id,values:kn==null?void 0:kn.id,title:kn==null?void 0:kn.name})}),xr&&i.createElement("div",{className:s.add},i.createElement(E.default,{style:{width:"rem"},size:"large",value:Or,onChange:kn=>{Dr(""),or(kn.target.value)}}),i.createElement("i",{onClick:()=>Ur(1),className:"iconfont icon-dui",style:{color:"#1B8565"}}),i.createElement("i",{onClick:()=>dr(!1),className:"iconfont icon-shanchu10",style:{color:"#9096A3"}}),!!$n&&i.createElement("div",{className:s.error},$n)))),Ct===5&&i.createElement("div",{className:s.modal},i.createElement("div",{className:s.mHead},i.createElement("b",null),i.createElement("span",null,"\u8D44\u6E90","\uFF08",Ar.length,"\uFF09"),i.createElement("div",{onClick:()=>{ta(!0),oa(""),sr("")},className:s.btn},i.createElement("i",{className:"iconfont icon-tianjiatixing"}),"\u6DFB\u52A0")),i.createElement("div",{className:s.body},Ar==null?void 0:Ar.map((kn,Qn)=>{var jn,lr;return i.createElement(ma,{showDelete:!((jn=hr==null?void 0:hr.map(Rt=>Rt==null?void 0:Rt.id))!=null&&jn.includes(kn==null?void 0:kn.id))&&!((lr=D.map(Rt=>Rt.name))!=null&&lr.includes(kn.name)),modal:!0,style:{cursor:"pointer"},active:hr==null?void 0:hr.map(Rt=>Rt==null?void 0:Rt.id).includes(kn==null?void 0:kn.id),key:kn==null?void 0:kn.id,values:kn==null?void 0:kn.id,title:kn==null?void 0:kn.name})}),kr&&i.createElement("div",{className:s.add},i.createElement(E.default,{style:{width:"rem"},size:"large",value:Rr,onChange:kn=>{oa(""),sr(kn.target.value)}}),i.createElement("i",{onClick:()=>Ur(2),className:"iconfont icon-dui",style:{color:"#1B8565"}}),i.createElement("i",{onClick:()=>ta(!1),className:"iconfont icon-shanchu10",style:{color:"#9096A3"}}),!!aa&&i.createElement("div",{className:s.error},aa))))))},K=M(74128),F=M(82326),W=M(70858),j=M(31709),X=M(44080),Y=M(59301),le=Object.getOwnPropertySymbols,J=Object.prototype.hasOwnProperty,ve=Object.prototype.propertyIsEnumerable,Ce=(et,Tt)=>{var Ct={};for(var Cn in et)J.call(et,Cn)&&Tt.indexOf(Cn)<0&&(Ct[Cn]=et[Cn]);if(et!=null&&le)for(var Cn of le(et))Tt.indexOf(Cn)<0&&ve.call(et,Cn)&&(Ct[Cn]=et[Cn]);return Ct},be=(et,Tt,Ct)=>new Promise((Cn,cr)=>{var it=un=>{try{Dn(Ct.next(un))}catch(Un){cr(Un)}},Tr=un=>{try{Dn(Ct.throw(un))}catch(Un){cr(Un)}},Dn=un=>un.done?Cn(un.value):Promise.resolve(un.value).then(it,Tr);Dn((Ct=Ct.apply(et,Tt)).next())});let Ae=[{label:"\u5B9E\u8BAD",key:"1"},{label:"\u89C6\u9891",key:"2"},{label:"\u8BFE\u4EF6",key:"3"},{label:"\u8BD5\u5377",key:"4"}];const Ue=et=>{var Tt=et,{types:Ct,globalSetting:Cn,loading:cr,dispatch:it,pathsDetail:Tr,onChange:Dn,ktzykey:un,getother:Un}=Tt,vr=Ce(Tt,["types","globalSetting","loading","dispatch","pathsDetail","onChange","ktzykey","getother"]),On,hr,An,Or;let[or,Rr]=(0,h.useState)({page:1,limit:10,type:Ct,keyword:"",select_type:1,subject_id:"",course_id:""});const[sr,$n]=(0,h.useState)([]);(0,h.useEffect)(()=>{Dr()},[Ct]);function Dr(){return be(this,null,function*(){or.select_type===3&&(or.subject_id="",or.course_id=""),or.select_type===2&&(or.subject_id=""),or.select_type===1&&(or.course_id="");let xr=yield(0,t.ZP)("/api/paths/search_all.json",{method:"get",params:or});(xr==null?void 0:xr.status)===0&&$n(xr)})}return Y.createElement("div",{style:{padding:"10rem 20rem"}},Y.createElement("div",{style:{display:"flex"}},Y.createElement("div",null,Ct==="1"&&Y.createElement(E.default,{placeholder:"\u8BF7\u8F93\u5165\u5173\u952E\u8BCD\u67E5\u8BE2",style:{width:"992rem",marginRight:"10rem",height:"40rem"},onChange:xr=>{or.keyword=xr.target.value,or.page=1,or.limit=10,Rr(or)}}),Ct!=="1"&&Y.createElement("div",{style:{display:"flex"}},Y.createElement("div",{style:{width:"223rem",alignItems:"center",display:"flex",height:"40rem"}},Y.createElement("span",{style:{width:"92rem",border:"1rem solid #DCDCDC",borderRightStyle:"none",background:"#F6F7F9",height:"40rem",display:"flex",alignItems:"center",justifyContent:"center",lineHeight:"40rem",fontSize:"16rem",color:"#666666"}},"\u6240\u5728\u4F4D\u7F6E"),Y.createElement(F.default,{value:or.select_type,onChange:xr=>{or.select_type=xr,or.page=1,or.limit=10,Rr(or),Dr()},className:n.select,style:{width:"131rem",height:"40rem"}},Y.createElement(F.default.Option,{value:1},"\u5B9E\u8DF5\u8BFE\u7A0B"),Y.createElement(F.default.Option,{value:2},"\u6559\u5B66\u8BFE\u5802"),Y.createElement(F.default.Option,{value:3},"\u4E2A\u4EBA\u4E2D\u5FC3"))),or.select_type!==3&&Y.createElement(F.default,{value:or.subject_id||or.course_id,onChange:xr=>{or.course_id=xr,or.subject_id=xr,or.page=1,or.limit=10,Rr(or),Dr()},className:n.select,style:{width:"270rem",marginLeft:"8rem"}},or.select_type===1&&((On=sr==null?void 0:sr.subjects)==null?void 0:On.map(xr=>Y.createElement(F.default.Option,{value:xr.id},xr.name))),or.select_type===2&&((hr=sr==null?void 0:sr.courses)==null?void 0:hr.map(xr=>Y.createElement(F.default.Option,{value:xr.id},xr.name)))),Y.createElement(E.default,{onChange:xr=>{or.keyword=xr.target.value,or.page=1,or.limit=10,Rr(or)},addonBefore:((An=Ae==null?void 0:Ae.find(xr=>xr.key===Ct))==null?void 0:An.label)+"\u540D\u79F0",className:n.input,style:{marginLeft:"10rem",width:"486rem",height:"40rem"}}))),Y.createElement(p.ZP,{type:"primary",style:{height:"40rem",fontSize:"14rem",boxShadow:"none",lineHeight:"40rem",width:"108rem",padding:"0",marginLeft:"10rem"},onClick:()=>{Dr()}},"\u67E5\u8BE2")),Y.createElement(W.default,{style:{marginTop:"10rem"},dataSource:sr==null?void 0:sr.data,pagination:!1,rowKey:xr=>xr.id,scroll:{y:"400rem"},columns:[{title:((Or=Ae==null?void 0:Ae.find(xr=>xr.key===Ct))==null?void 0:Or.label)+"\u540D\u79F0",dataIndex:"name",ellipsis:!0,key:"name"},{title:Ct==="1"?"\u5408\u4F5C\u8005":"\u6240\u5C5E\u6A21\u5757",dataIndex:"name",key:"name",ellipsis:!0,render:(xr,dr)=>Y.createElement("span",null,Ct==="1"?dr==null?void 0:dr.user_names:dr==null?void 0:dr.model)},{title:Ct==="1"?"\u6700\u8FD1\u4FEE\u6539\u65F6\u95F4":"\u6240\u5728\u4F4D\u7F6E",dataIndex:"updated_at",ellipsis:!0,render:(xr,dr)=>Y.createElement("span",null,Ct==="1"?dr==null?void 0:dr.updated_at:dr==null?void 0:dr.stage_name)},{title:"\u64CD\u4F5C",dataIndex:"url",width:"100rem",render:(xr,dr)=>Y.createElement("a",{onClick:()=>{(dr==null?void 0:dr.container_type)==="Video"?m.default.confirm({icon:null,title:"\u89C6\u9891\u64AD\u653E",centered:!0,closable:!0,footer:!1,width:600,content:Y.createElement(X.Z,{allow_skip:!0,src:xr})}):Ct==="3"?Un(xr):window.open(xr)}},"\u67E5\u770B")}],rowSelection:{type:"radio",onChange(xr,dr){Dn(dr)}}}),Y.createElement(j.Z,{hideOnSinglePage:!0,style:{marginTop:"20rem"},total:sr==null?void 0:sr.total_count,current:or==null?void 0:or.page,pageSize:or==null?void 0:or.limit,onChange:(xr,dr)=>{or.page=xr,or.limit=dr,Rr(or),Dr()}}))};var we=(0,k.connect)(({pathsDetail:et,user:Tt,loading:Ct,globalSetting:Cn})=>({pathsDetail:et,user:Tt,globalSetting:Cn,loading:Ct.models.index}))(Ue),$e=M(84105),Re=M(65862),ge=M(59301),Ze=Object.defineProperty,Fe=Object.defineProperties,Te=Object.getOwnPropertyDescriptors,Ge=Object.getOwnPropertySymbols,Be=Object.prototype.hasOwnProperty,V=Object.prototype.propertyIsEnumerable,q=(et,Tt,Ct)=>Tt in et?Ze(et,Tt,{enumerable:!0,configurable:!0,writable:!0,value:Ct}):et[Tt]=Ct,re=(et,Tt)=>{for(var Ct in Tt||(Tt={}))Be.call(Tt,Ct)&&q(et,Ct,Tt[Ct]);if(Ge)for(var Ct of Ge(Tt))V.call(Tt,Ct)&&q(et,Ct,Tt[Ct]);return et},ee=(et,Tt)=>Fe(et,Te(Tt)),oe=(et,Tt)=>{var Ct={};for(var Cn in et)Be.call(et,Cn)&&Tt.indexOf(Cn)<0&&(Ct[Cn]=et[Cn]);if(et!=null&&Ge)for(var Cn of Ge(et))Tt.indexOf(Cn)<0&&V.call(et,Cn)&&(Ct[Cn]=et[Cn]);return Ct},$=(et,Tt,Ct)=>new Promise((Cn,cr)=>{var it=un=>{try{Dn(Ct.next(un))}catch(Un){cr(Un)}},Tr=un=>{try{Dn(Ct.throw(un))}catch(Un){cr(Un)}},Dn=un=>un.done?Cn(un.value):Promise.resolve(un.value).then(it,Tr);Dn((Ct=Ct.apply(et,Tt)).next())});const fe=et=>{var Tt=et,{typesdata:Ct,globalSetting:Cn,loading:cr,dispatch:it,pathsDetail:Tr,onChange:Dn,uuid:un,itemsuuid:Un}=Tt,vr=oe(Tt,["typesdata","globalSetting","loading","dispatch","pathsDetail","onChange","uuid","itemsuuid"]),On,hr,An,Or,or,Rr,sr,$n,Dr,xr,dr,kr;const ta=(0,k.useParams)();let[Ar,Xn]=(0,h.useState)([]),[aa,oa]=(0,h.useState)(!1);const[la,va]=(0,h.useState)([]),[Lr,ma]=(0,h.useState)(""),[Ca,Ur]=(0,h.useState)(""),[kn,Qn]=(0,h.useState)([]),[jn,lr]=(0,h.useState)(!1);let[Rt,Yr]=(0,h.useState)({bh:[],qx:[],hx:[],gl:[]});(0,h.useEffect)(()=>{fa()},[un]),(0,h.useEffect)(()=>{if(Ct){let Hn=JSON.parse(sessionStorage.getItem("typesdatajsoncopy"));Yr(Hn)}return()=>{}},[Ct]);function fa(){return $(this,null,function*(){var Hn,jr,sa,na,ga;oa(!0);let ha=yield(0,t.ZP)("/api/knowledge/v2/get_node.json",{method:"get",params:{nodeUuid:un,subject_id:ta==null?void 0:ta.pathId,depth:-1,relationshipFilter:"\u5305\u542B>"}});if(oa(!1),(ha==null?void 0:ha.status)===0){va(ha==null?void 0:ha.data);const Za=[...(0,Re.fX)((jr=(Hn=ha==null?void 0:ha.data)==null?void 0:Hn.nodes)==null?void 0:jr.map((Fa,Xa)=>{var Ua,ba;return ee(re({},Fa),{key:(Ua=Fa==null?void 0:Fa.properties)==null?void 0:Ua.uuid,title:(ba=Fa==null?void 0:Fa.properties)==null?void 0:ba.name})}),(ga=(na=(sa=ha==null?void 0:ha.data)==null?void 0:sa.relationships)==null?void 0:na.filter(Fa=>Fa.type==="\u5305\u542B"||Fa.type==="\u524D\u5E8F"))==null?void 0:ga.filter((Fa,Xa,Ua)=>Xa===Ua.findIndex(ba=>ba.endNodeUuid===Fa.endNodeUuid))).children||[]];Ar=Za,Ur(JSON.stringify(Za)),Xn(Za)}})}(0,h.useEffect)(()=>{Dn(Rt)},[Rt]);function da(Hn,jr,sa){for(let na of Hn)na!=null&&na.title.includes(jr)&&sa.push(na),na.children&&na.children.length>0&&(da(na.children,jr,sa),ea(na.children,jr,sa)&&sa.push(na))}function ea(Hn,jr,sa){for(let na of Hn)if(na!=null&&na.title.includes(jr))return!0}return ge.createElement(o.Z,{spinning:aa},ge.createElement("div",{className:n.body},ge.createElement("div",{className:n.left},ge.createElement("div",{className:n.header},ge.createElement("div",null,"\u5171",ge.createElement("span",{style:{color:"#1B8565"}},((hr=(On=la==null?void 0:la.metricCounters)==null?void 0:On[0])==null?void 0:hr.count)||0),"\u4E2A\u6807\u7B7E\u8282\u70B9\uFF0C",ge.createElement("span",{style:{color:"#1B8565"}},((Or=(An=la==null?void 0:la.metricCounters)==null?void 0:An[1])==null?void 0:Or.count)||0),"\u4E2A\u77E5\u8BC6\u8282\u70B9"),ge.createElement(E.default.Search,{style:{width:"350rem",borderRadius:"50%"},onChange:Hn=>{var jr,sa,na,ga;const{value:ha}=Hn.target;ma(ha);let Ea=[];da(JSON.parse(Ca),ha,Ea),Ea.push((jr=la==null?void 0:la.nodes)==null?void 0:jr[0]);const Za=(sa=la==null?void 0:la.nodes)==null?void 0:sa.filter(Ua=>{var ba,Gr;return((Gr=(ba=Ua==null?void 0:Ua.properties)==null?void 0:ba.name)==null?void 0:Gr.indexOf(ha))>-1}).map(Ua=>{var ba;return(ba=Ua==null?void 0:Ua.properties)==null?void 0:ba.uuid});Qn(Za);const Xa=[...(0,Re.fX)(Ea,(ga=(na=la==null?void 0:la.relationships)==null?void 0:na.filter(Ua=>Ua.type==="\u5305\u542B"||Ua.type==="\u524D\u5E8F"))==null?void 0:ga.filter((Ua,ba,Gr)=>ba===Gr.findIndex(wa=>wa.endNodeUuid===Ua.endNodeUuid)).filter(Ua=>(Ea==null?void 0:Ea.map(ba=>ba==null?void 0:ba.key).includes(Ua.endNodeUuid))||(Ea==null?void 0:Ea.map(ba=>ba==null?void 0:ba.key).includes(Ua.startNodeUuid)))).children||[]];Ar=Xa,Xn(Xa),lr(!0)},placeholder:"\u8BF7\u8F93\u5165\u5173\u952E\u8BCD\u641C\u7D22"})),ge.createElement(r.default,{style:{marginTop:"30rem",maxHeight:"320rem",overflow:"auto"},showLine:!0,treeData:Ar,className:n.tree,expandedKeys:kn,onExpand:Hn=>{Qn(Hn),lr(!1)},autoExpandParent:jn,blockNode:!0,switcherIcon:ge.createElement($e.Z,null),titleRender:Hn=>{var jr,sa,na,ga,ha,Ea,Za,Fa,Xa,Ua,ba,Gr,wa,ti,ci;return ge.createElement("div",{className:n.treenode,key:(jr=Hn==null?void 0:Hn.properties)==null?void 0:jr.uuid},ge.createElement("div",{style:{width:"50%",display:"flex",alignItems:"center"}},((sa=Rt==null?void 0:Rt.bh)==null?void 0:sa.find(ir=>{var Qr;return(ir==null?void 0:ir.uuid)===((Qr=Hn==null?void 0:Hn.properties)==null?void 0:Qr.uuid)}))&&ge.createElement("span",{className:n.settingtag,style:{background:"#6236ff"}},"\u5305\u542B"),((na=Rt==null?void 0:Rt.qx)==null?void 0:na.find(ir=>{var Qr;return(ir==null?void 0:ir.uuid)===((Qr=Hn==null?void 0:Hn.properties)==null?void 0:Qr.uuid)}))&&ge.createElement("span",{className:n.settingtag,style:{background:"#24A881"}},"\u524D\u7F6E"),((ga=Rt==null?void 0:Rt.hx)==null?void 0:ga.find(ir=>{var Qr;return(ir==null?void 0:ir.uuid)===((Qr=Hn==null?void 0:Hn.properties)==null?void 0:Qr.uuid)}))&&ge.createElement("span",{className:n.settingtag,style:{background:"#EC8657"}},"\u540E\u7F6E"),((ha=Rt==null?void 0:Rt.gl)==null?void 0:ha.find(ir=>{var Qr;return(ir==null?void 0:ir.uuid)===((Qr=Hn==null?void 0:Hn.properties)==null?void 0:Qr.uuid)}))&&ge.createElement("span",{className:n.settingtag,style:{background:"#497DFF"}},"\u5173\u8054"),ge.createElement("div",{className:n.multiple,title:Hn==null?void 0:Hn.title,dangerouslySetInnerHTML:{__html:(Ea=Hn==null?void 0:Hn.title)==null?void 0:Ea.replaceAll(Lr,`${Lr}`)},style:{width:"100%",fontSize:"14rem",color:"#000",fontWeight:400}})),ge.createElement("div",{className:n.hudong},!((Za=Rt==null?void 0:Rt.qx)!=null&&Za.find(ir=>{var Qr;return(ir==null?void 0:ir.uuid)===((Qr=Hn==null?void 0:Hn.properties)==null?void 0:Qr.uuid)})||(Fa=Rt==null?void 0:Rt.bh)!=null&&Fa.find(ir=>{var Qr;return(ir==null?void 0:ir.uuid)===((Qr=Hn==null?void 0:Hn.properties)==null?void 0:Qr.uuid)})||(Xa=Rt==null?void 0:Rt.hx)!=null&&Xa.find(ir=>{var Qr;return(ir==null?void 0:ir.uuid)===((Qr=Hn==null?void 0:Hn.properties)==null?void 0:Qr.uuid)})||(Ua=Rt==null?void 0:Rt.gl)!=null&&Ua.find(ir=>{var Qr;return(ir==null?void 0:ir.uuid)===((Qr=Hn==null?void 0:Hn.properties)==null?void 0:Qr.uuid)}))&&Un!==((ba=Hn==null?void 0:Hn.properties)==null?void 0:ba.uuid)&&ge.createElement("div",null,ge.createElement("span",{onClick:()=>{var ir,Qr,Pa,Ba;if(!(((Qr=(ir=Rt==null?void 0:Rt.bh)==null?void 0:ir.filter(Ia=>{var gn;return(Ia==null?void 0:Ia.uuid)===((gn=Hn==null?void 0:Hn.properties)==null?void 0:gn.uuid)}))==null?void 0:Qr.length)>0)){let Ia=[];Ia.push({name:(Pa=Hn==null?void 0:Hn.properties)==null?void 0:Pa.name,uuid:(Ba=Hn==null?void 0:Hn.properties)==null?void 0:Ba.uuid}),Yr({bh:[...Ia,...Rt==null?void 0:Rt.bh],qx:Rt==null?void 0:Rt.qx,hx:Rt==null?void 0:Rt.hx,gl:Rt==null?void 0:Rt.gl})}},className:n.colortitle,style:{marginRight:"20rem"}},"\u8BBE\u4E3A\u5305\u542B"),ge.createElement("span",{onClick:()=>{var ir,Qr,Pa,Ba;if(!(((Qr=(ir=Rt==null?void 0:Rt.qx)==null?void 0:ir.filter(Ia=>{var gn;return(Ia==null?void 0:Ia.uuid)===((gn=Hn==null?void 0:Hn.properties)==null?void 0:gn.uuid)}))==null?void 0:Qr.length)>0)){let Ia=[];Ia.push({name:(Pa=Hn==null?void 0:Hn.properties)==null?void 0:Pa.name,uuid:(Ba=Hn==null?void 0:Hn.properties)==null?void 0:Ba.uuid}),Yr({qx:[...Ia,...Rt==null?void 0:Rt.qx],hx:Rt==null?void 0:Rt.hx,bh:Rt==null?void 0:Rt.bh,gl:Rt==null?void 0:Rt.gl})}},className:n.colortitle},"\u8BBE\u4E3A\u524D\u7F6E"),ge.createElement("span",{onClick:()=>{var ir,Qr,Pa,Ba;if(!(((Qr=(ir=Rt==null?void 0:Rt.hx)==null?void 0:ir.filter(Ia=>{var gn;return(Ia==null?void 0:Ia.uuid)===((gn=Hn==null?void 0:Hn.properties)==null?void 0:gn.uuid)}))==null?void 0:Qr.length)>0)){let Ia=[];Ia.push({name:(Pa=Hn==null?void 0:Hn.properties)==null?void 0:Pa.name,uuid:(Ba=Hn==null?void 0:Hn.properties)==null?void 0:Ba.uuid}),Yr({qx:Rt==null?void 0:Rt.qx,hx:[...Ia,...Rt==null?void 0:Rt.hx],bh:Rt==null?void 0:Rt.bh,gl:Rt==null?void 0:Rt.gl})}},style:{margin:"0rem 20rem"},className:n.colortitle},"\u8BBE\u4E3A\u540E\u7F6E"),ge.createElement("span",{onClick:()=>{var ir,Qr,Pa,Ba;if(!(((Qr=(ir=Rt==null?void 0:Rt.gl)==null?void 0:ir.filter(Ia=>{var gn;return(Ia==null?void 0:Ia.uuid)===((gn=Hn==null?void 0:Hn.properties)==null?void 0:gn.uuid)}))==null?void 0:Qr.length)>0)){let Ia=[];Ia.push({name:(Pa=Hn==null?void 0:Hn.properties)==null?void 0:Pa.name,uuid:(Ba=Hn==null?void 0:Hn.properties)==null?void 0:Ba.uuid}),Yr({qx:Rt==null?void 0:Rt.qx,hx:Rt==null?void 0:Rt.hx,gl:[...Ia,...Rt==null?void 0:Rt.gl],bh:Rt==null?void 0:Rt.bh})}},className:n.colortitle},"\u8BBE\u4E3A\u5173\u8054")),ge.createElement("span",{onClick:()=>{var ir;let Qr=(ir=Rt==null?void 0:Rt.bh)==null?void 0:ir.filter(Pa=>{var Ba;return Pa.uuid!==((Ba=Hn==null?void 0:Hn.properties)==null?void 0:Ba.uuid)});Yr({bh:Qr,hx:Rt==null?void 0:Rt.hx,qx:Rt==null?void 0:Rt.qx,gl:Rt==null?void 0:Rt.gl})}},((Gr=Rt==null?void 0:Rt.bh)==null?void 0:Gr.find(ir=>{var Qr;return(ir==null?void 0:ir.uuid)===((Qr=Hn==null?void 0:Hn.properties)==null?void 0:Qr.uuid)}))&&"\u53D6\u6D88\u5305\u542B"),ge.createElement("span",{onClick:()=>{var ir;let Qr=(ir=Rt==null?void 0:Rt.qx)==null?void 0:ir.filter(Pa=>{var Ba;return Pa.uuid!==((Ba=Hn==null?void 0:Hn.properties)==null?void 0:Ba.uuid)});Yr({qx:Qr,hx:Rt==null?void 0:Rt.hx,bh:Rt==null?void 0:Rt.bh,gl:Rt==null?void 0:Rt.gl})}},((wa=Rt==null?void 0:Rt.qx)==null?void 0:wa.find(ir=>{var Qr;return(ir==null?void 0:ir.uuid)===((Qr=Hn==null?void 0:Hn.properties)==null?void 0:Qr.uuid)}))&&"\u53D6\u6D88\u524D\u7F6E"),ge.createElement("span",{onClick:()=>{var ir;let Qr=(ir=Rt==null?void 0:Rt.hx)==null?void 0:ir.filter(Pa=>{var Ba;return Pa.uuid!==((Ba=Hn==null?void 0:Hn.properties)==null?void 0:Ba.uuid)});Yr({qx:Rt==null?void 0:Rt.qx,hx:Qr,bh:Rt==null?void 0:Rt.bh,gl:Rt==null?void 0:Rt.gl})}},((ti=Rt==null?void 0:Rt.hx)==null?void 0:ti.find(ir=>{var Qr;return(ir==null?void 0:ir.uuid)===((Qr=Hn==null?void 0:Hn.properties)==null?void 0:Qr.uuid)}))&&"\u53D6\u6D88\u540E\u7F6E"),ge.createElement("span",{onClick:()=>{var ir;let Qr=(ir=Rt==null?void 0:Rt.gl)==null?void 0:ir.filter(Pa=>{var Ba;return Pa.uuid!==((Ba=Hn==null?void 0:Hn.properties)==null?void 0:Ba.uuid)});Yr({qx:Rt==null?void 0:Rt.qx,hx:Rt==null?void 0:Rt.hx,bh:Rt==null?void 0:Rt.bh,gl:Qr})}},((ci=Rt==null?void 0:Rt.gl)==null?void 0:ci.find(ir=>{var Qr;return(ir==null?void 0:ir.uuid)===((Qr=Hn==null?void 0:Hn.properties)==null?void 0:Qr.uuid)}))&&"\u53D6\u6D88\u5173\u8054")))}})),ge.createElement("div",{className:n.right},ge.createElement("div",{className:n.title},"\u5DF2\u5173\u8054\u5173\u7CFB"),ge.createElement("div",{style:{padding:"20rem 25rem"}},ge.createElement("div",{className:n.gxtitle},ge.createElement("div",{className:n.Colortitle,style:{background:"#6236ff"}}),ge.createElement("div",null,"\u88AB\u5305\u542B\uFF08",(or=Rt.bh)==null?void 0:or.length,"\uFF09")),ge.createElement("div",{className:n.gxbody},(Rr=Rt==null?void 0:Rt.bh)==null?void 0:Rr.map(Hn=>ge.createElement("div",{className:n.tag,style:{background:"#6236ff"}},ge.createElement("span",{style:{marginRight:"10rem"}},Hn==null?void 0:Hn.name)," ",ge.createElement(a.Z,{onClick:()=>{var jr;let sa=(jr=Rt==null?void 0:Rt.bh)==null?void 0:jr.filter(na=>na.uuid!==Hn.uuid);Yr({bh:sa,hx:Rt==null?void 0:Rt.hx,qx:Rt==null?void 0:Rt.qx,gl:Rt==null?void 0:Rt.gl})}})))),ge.createElement("div",{className:n.gxtitle,style:{marginTop:"30rem"}},ge.createElement("div",{className:n.Colortitle,style:{background:"#24A881"}}),ge.createElement("div",null,"\u524D\u5E8F\uFF08",(sr=Rt.qx)==null?void 0:sr.length,"\uFF09")),ge.createElement("div",{className:n.gxbody},($n=Rt==null?void 0:Rt.qx)==null?void 0:$n.map(Hn=>ge.createElement("div",{className:n.tag,style:{background:"#24A881"}},ge.createElement("span",{style:{marginRight:"10rem"}},Hn==null?void 0:Hn.name)," ",ge.createElement(a.Z,{onClick:()=>{var jr;let sa=(jr=Rt==null?void 0:Rt.qx)==null?void 0:jr.filter(na=>na.uuid!==Hn.uuid);Yr({qx:sa,hx:Rt==null?void 0:Rt.hx,bh:Rt==null?void 0:Rt.bh,gl:Rt==null?void 0:Rt.gl})}})))),ge.createElement("div",{className:n.gxtitle,style:{marginTop:"30rem"}},ge.createElement("div",{className:n.Colortitle,style:{background:"#EC8657"}}),ge.createElement("div",null,"\u540E\u5E8F\uFF08",(Dr=Rt.hx)==null?void 0:Dr.length,"\uFF09")),ge.createElement("div",{className:n.gxbody},(xr=Rt==null?void 0:Rt.hx)==null?void 0:xr.map(Hn=>ge.createElement("div",{className:n.tag,style:{background:"#EC8657"}},ge.createElement("span",{style:{marginRight:"10rem"}},Hn==null?void 0:Hn.name)," ",ge.createElement(a.Z,{onClick:()=>{var jr;let sa=(jr=Rt==null?void 0:Rt.hx)==null?void 0:jr.filter(na=>na.uuid!==Hn.uuid);Yr({qx:Rt==null?void 0:Rt.qx,bh:Rt==null?void 0:Rt.bh,hx:sa,gl:Rt==null?void 0:Rt.gl})}})))),ge.createElement("div",{className:n.gxtitle,style:{marginTop:"30rem"}},ge.createElement("div",{className:n.Colortitle,style:{background:"#497DFF"}}),ge.createElement("div",null,"\u5173\u8054\uFF08",(dr=Rt.gl)==null?void 0:dr.length,"\uFF09")),ge.createElement("div",{className:n.gxbody},(kr=Rt==null?void 0:Rt.gl)==null?void 0:kr.map(Hn=>ge.createElement("div",{className:n.tag,style:{background:"#497DFF"}},ge.createElement("span",{style:{marginRight:"10rem"}},Hn==null?void 0:Hn.name)," ",ge.createElement(a.Z,{onClick:()=>{var jr;let sa=(jr=Rt==null?void 0:Rt.gl)==null?void 0:jr.filter(na=>na.uuid!==Hn.uuid);Yr({qx:Rt==null?void 0:Rt.qx,bh:Rt==null?void 0:Rt.bh,hx:Rt==null?void 0:Rt.hx,gl:sa})}}))))))))};var xe=(0,k.connect)(({pathsDetail:et,user:Tt,loading:Ct,globalSetting:Cn})=>({pathsDetail:et,user:Tt,globalSetting:Cn,loading:Ct.models.index}))(fe),ne=M(89392),de=M(41867),ut=M(73375),Je=M(59301),ht=Object.getOwnPropertySymbols,vt=Object.prototype.hasOwnProperty,qe=Object.prototype.propertyIsEnumerable,ft=(et,Tt)=>{var Ct={};for(var Cn in et)vt.call(et,Cn)&&Tt.indexOf(Cn)<0&&(Ct[Cn]=et[Cn]);if(et!=null&&ht)for(var Cn of ht(et))Tt.indexOf(Cn)<0&&qe.call(et,Cn)&&(Ct[Cn]=et[Cn]);return Ct},Ke=(et,Tt,Ct)=>new Promise((Cn,cr)=>{var it=un=>{try{Dn(Ct.next(un))}catch(Un){cr(Un)}},Tr=un=>{try{Dn(Ct.throw(un))}catch(Un){cr(Un)}},Dn=un=>un.done?Cn(un.value):Promise.resolve(un.value).then(it,Tr);Dn((Ct=Ct.apply(et,Tt)).next())});const Oe=[3,2,1];let Ye=null;const rt=et=>{var Tt=et,{pathsDetail:Ct,user:Cn,globalSetting:cr,loading:it,dispatch:Tr,datas:Dn,items:un}=Tt,Un=ft(Tt,["pathsDetail","user","globalSetting","loading","dispatch","datas","items"]);const vr=(0,h.useRef)(),On=(0,h.useRef)(),hr=(0,h.useRef)(null);(0,h.useEffect)(()=>{Or()},[Dn]),(0,h.useEffect)(()=>(window.addEventListener("resize",An),()=>{window.removeEventListener("resize",An)}),[]);function An(){var or,Rr;(Rr=(or=vr.current)==null?void 0:or.update)==null||Rr.call(or)}function Or(){return Ke(this,null,function*(){var or,Rr,sr,$n,Dr,xr,dr,kr;if(((or=Dn==null?void 0:Dn.nodes)==null?void 0:or.length)>0){let ta=(Rr=Dn==null?void 0:Dn.nodes)==null?void 0:Rr.filter(Xn=>{var aa;return un==null?void 0:un.includes((aa=Xn==null?void 0:Xn.properties)==null?void 0:aa.uuid)}).map(Xn=>{var aa,oa,la,va,Lr,ma,Ca,Ur,kn,Qn,jn,lr;return{rootNodeUuid:(aa=Xn==null?void 0:Xn.properties)==null?void 0:aa.rootNodeUuid,id:((oa=Xn==null?void 0:Xn.properties)==null?void 0:oa.uuid)+"_",name:(la=Xn==null?void 0:Xn.properties)==null?void 0:la.name,description:(va=Xn==null?void 0:Xn.properties)==null?void 0:va.description,nodeType:(Lr=Xn==null?void 0:Xn.properties)==null?void 0:Lr.nodeType,tags:((ma=Xn==null?void 0:Xn.properties)==null?void 0:ma.tags)&&((kn=(Ur=(Ca=Xn==null?void 0:Xn.properties)==null?void 0:Ca.tags)==null?void 0:Ur.split("\uFF0C"))==null?void 0:kn.map(Rt=>({name:Rt}))),colorType:parseInt((Qn=Xn==null?void 0:Xn.properties)==null?void 0:Qn.color)>3?"3":(jn=Xn==null?void 0:Xn.properties)==null?void 0:jn.color,activeColor:"#FA6400",size:Oe[((lr=Xn==null?void 0:Xn.properties)==null?void 0:lr.color)-1]||1,shape:"circle",hide:!1,isExtendedState:!0}}),Ar=(xr=(Dr=($n=(sr=Dn==null?void 0:Dn.relationships)==null?void 0:sr.filter(Xn=>{var aa,oa,la,va,Lr,ma;return Xn.endNodeUuid!==((la=(oa=(aa=Dn==null?void 0:Dn.nodes)==null?void 0:aa[0])==null?void 0:oa.properties)==null?void 0:la.rootNodeUuid)&&Xn.startNodeUuid!==((ma=(Lr=(va=Dn==null?void 0:Dn.nodes)==null?void 0:va[0])==null?void 0:Lr.properties)==null?void 0:ma.rootNodeUuid)}))==null?void 0:$n.filter(Xn=>(un==null?void 0:un.includes(Xn.startNodeUuid))&&(un==null?void 0:un.includes(Xn.endNodeUuid))))==null?void 0:Dr.filter(Xn=>Xn.type==="\u5305\u542B"||Xn.type==="\u524D\u5E8F"||Xn.type==="\u5173\u8054"))==null?void 0:xr.map(Xn=>({hide:!1,id:(Xn==null?void 0:Xn.endNodeUuid)+"_",label:Xn==null?void 0:Xn.type,props:[],colorType:1,sourceRadius:32,targetRadius:32,source:(Xn==null?void 0:Xn.startNodeUuid)+"_",target:(Xn==null?void 0:Xn.endNodeUuid)+"_",value:10}));vr.current=null,On.current.innerHTML="",vr.current=new ut.createContainer({containerName:"#graphRefs",width:((dr=On==null?void 0:On.current)==null?void 0:dr.clientWidth)||0,height:((kr=On==null?void 0:On.current)==null?void 0:kr.clientHeight)||0,toolbarData:[],clickToggle:!1,background:"#fff",isShowMask:!1,nodes:ta,links:Ar,zoomOptions:{minScale:.2,maxScale:5},nodeMouseover:function(Xn){return Xn},nodeClick:function(Xn){var aa;return(aa=vr==null?void 0:vr.current)==null||aa.selectToNode(Xn.id),Xn},layout:{force:!1,x:20,y:60}}),vr.current.zoomOut()}})}return Je.createElement("div",{ref:hr,style:{background:"#fff",height:"455rem"}},Je.createElement("div",{style:{width:"100%",height:"455rem"},ref:On,id:"graphRefs"}))};var yt=(0,k.connect)(({pathsDetail:et,user:Tt,loading:Ct,globalSetting:Cn})=>({pathsDetail:et,user:Tt,globalSetting:Cn,loading:Ct.models.index}))(rt),Et="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAO4AAADICAYAAADvG90JAAAAAXNSR0IArs4c6QAAIABJREFUeF7snQecXlWZ/7/n3vvW6SUzk0kPCZAYQpUOoggIiK4lKqIsritrdy27a1fWVRdl7a6ujb+N1dVdUEFFBUERpIQE0ieTmcn0+vb39nvP33PfiWIlZQZDcm8+72dKzj33nN+5v3me85ynCOIrRiBG4EmHgNg3Yiml+v63Pz/pZhIPOEbgyEdACiGkmmZEVCmlduTPOZ5hjMARgUBEXhFL2iN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G6lgXJ4m9Xyq3nzj6IKW7CmhA6MHT3hjtS7hud0GK+gswh1dID3IWATM4JwKuZfOyntaemzu/Ph/hmcvB4Yn7npreUa+vmfuKtx08BUEBu4nBbdX3zl76aw7XqWreY6nfLAtHhjyMz/KmZAk7UVqy9LLXtAINKuX5cbfuPyd5m2XDt02jHvuaFKecSskKov/XYDzdRvL63F1xUJsPfpPl+6gOglo7Vra8vIpSYsGMPRMAI9mQv/60BrDKTXu+OKbiW9lOxXbxu0JeSXYHu7gz0IVGkNuo1vop3kFz0mehWkow109b4epMHxVGfvw3v+ov6Bl6g3AVBMp/gnhovgnhDOZ9fixh/TozD3p4/MHTK4mFfq1Wa2rZ1DZ8NFgbOCvI0f2BGX69QMX3DjyWe7xPyKs1GfgpVEuAAAAAElFTkSuQmCC",vn=M(37285),Fn=M(42441),tn=M(7619);const Pn=et=>({tooltip:{trigger:"item"},legend:{top:"0%",left:"center"},series:[{name:"\u5B8C\u6210\u5360\u6BD4\u60C5\u51B5",type:"pie",radius:["40%","70%"],avoidLabelOverlap:!1,itemStyle:{borderRadius:10,borderColor:"#fff",borderWidth:2},label:{show:!1,position:"center"},emphasis:{label:{show:!0,fontSize:14,fontWeight:"bold"}},labelLine:{show:!1},data:et}]});var qt=M(79942),jt=M(59301),kt=Object.defineProperty,rn=Object.getOwnPropertySymbols,It=Object.prototype.hasOwnProperty,Bt=Object.prototype.propertyIsEnumerable,Wt=(et,Tt,Ct)=>Tt in et?kt(et,Tt,{enumerable:!0,configurable:!0,writable:!0,value:Ct}):et[Tt]=Ct,Xt=(et,Tt)=>{for(var Ct in Tt||(Tt={}))It.call(Tt,Ct)&&Wt(et,Ct,Tt[Ct]);if(rn)for(var Ct of rn(Tt))Bt.call(Tt,Ct)&&Wt(et,Ct,Tt[Ct]);return et},_n=(et,Tt)=>{var Ct={};for(var Cn in et)It.call(et,Cn)&&Tt.indexOf(Cn)<0&&(Ct[Cn]=et[Cn]);if(et!=null&&rn)for(var Cn of rn(et))Tt.indexOf(Cn)<0&&Bt.call(et,Cn)&&(Ct[Cn]=et[Cn]);return Ct},_t=(et,Tt,Ct)=>new Promise((Cn,cr)=>{var it=un=>{try{Dn(Ct.next(un))}catch(Un){cr(Un)}},Tr=un=>{try{Dn(Ct.throw(un))}catch(Un){cr(Un)}},Dn=un=>un.done?Cn(un.value):Promise.resolve(un.value).then(it,Tr);Dn((Ct=Ct.apply(et,Tt)).next())});const T=[{name:"",value:0,itemStyle:{color:"rgb(223,209,38)"}},{name:"",value:0,itemStyle:{color:"rgb(6,234,230)"}},{name:"",value:0,itemStyle:{color:"rgb(6,110,247)"}}],z=et=>{var Tt=et,{pathsDetail:Ct,user:Cn,globalSetting:cr,loading:it,dispatch:Tr,uuid:Dn}=Tt,un=_n(Tt,["pathsDetail","user","globalSetting","loading","dispatch","uuid"]),Un,vr,On,hr;const An=(0,k.useParams)();let[Or,or]=(0,h.useState)({subject_id:An==null?void 0:An.pathId,course_id:"",parentNodeUuid:Dn,type:1});const[Rr,sr]=(0,h.useState)(),[$n,Dr]=(0,h.useState)([]),[xr,dr]=(0,h.useState)([]),[kr]=(0,k.useSearchParams)();(0,h.useEffect)(()=>{ta()},[Dn]);function ta(){return _t(this,null,function*(){var Ar,Xn,aa;let oa=yield(0,t.ZP)("/api/knowledge/v2/knowledge_statistics.json",{method:"get",params:Or});sr(oa);let la=Object.entries((Ar=oa==null?void 0:oa.data)==null?void 0:Ar.study_grasp_hash).map(([Lr,ma],Ca)=>({name:Lr,value:ma,itemStyle:T[Ca].itemStyle})),va=Object.entries((Xn=oa==null?void 0:oa.data)==null?void 0:Xn.study_complete_hash).map(([Lr,ma],Ca)=>({name:Lr,value:ma}));dr(va),((aa=la==null?void 0:la.filter(Lr=>(Lr==null?void 0:Lr.value)>0))==null?void 0:aa.length)===0?Dr([]):Dr(la)})}return jt.createElement("div",{className:n.DetailStatistics},kr.get("type")!=="classrooms"&&jt.createElement("div",{className:n.header},jt.createElement("span",{className:n.title},"\u7EDF\u8BA1\u8303\u56F4"),jt.createElement(g.ZP.Group,{onChange:Ar=>{Or.type=Ar.target.value,or(Xt({},Or)),ta()},value:Or.type},jt.createElement(g.ZP,{value:1},"\u5168\u90E8"),jt.createElement(g.ZP,{value:2},"\u81EA\u4E3B\u5B66\u4E60"),jt.createElement(g.ZP,{value:3},"\u8BFE\u5802\u5B66\u4E60")),(Or==null?void 0:Or.type)===3&&jt.createElement(F.default,{onChange:Ar=>{Or.course_id=Ar,or(Xt({},Or)),ta()},style:{marginLeft:"-15rem",width:"148rem",height:"36rem"}},(Un=Rr==null?void 0:Rr.courses)==null?void 0:Un.map(Ar=>jt.createElement(F.default.Option,{value:Ar==null?void 0:Ar.id},Ar==null?void 0:Ar.name)))),jt.createElement("div",{style:{marginTop:"16rem",display:"flex"}},jt.createElement("div",{className:n.left,style:{backgroundImage:`url(${Et}),linear-gradient(180deg, rgba(221, 233, 241, 0.4) 0%, rgba(255, 255, 255, 0.49) 100%)`}},jt.createElement("img",{src:cn}),jt.createElement("div",{style:{marginTop:"20rem"}},jt.createElement("div",{className:n.xxrs},"\u5B66\u4E60\u4EBA\u6570"),jt.createElement("div",{className:n.xxrscount},(vr=Rr==null?void 0:Rr.data)==null?void 0:vr.study_count))),jt.createElement("div",{className:n.right},jt.createElement("div",{className:n.righttop},jt.createElement("img",{src:Jt}),jt.createElement("div",null,jt.createElement("div",{className:n.xxrs},"\u5B66\u4E60\u5B8C\u6210\u7387"),jt.createElement("div",{className:n.xxrscount},(On=Rr==null?void 0:Rr.data)==null?void 0:On.study_complete_rate,"%"))),jt.createElement("div",{className:n.rightbottom},jt.createElement("img",{src:zt}),jt.createElement("div",null,jt.createElement("div",{className:n.xxrs},"\u5B66\u4E60\u638C\u63E1\u7387"),jt.createElement("div",{className:n.xxrscount},(hr=Rr==null?void 0:Rr.data)==null?void 0:hr.study_grasp_rate,"%"))))),jt.createElement(vn.Z,{variant:"dashed",style:{borderColor:"#333333"},dashed:!0},"\u5B8C\u6210\u5360\u6BD4\u60C5\u51B5"),jt.createElement(Fn.Z,{option:Pn(xr),style:{height:300,width:400},opts:{renderer:"svg"}}),jt.createElement(vn.Z,{variant:"dashed",style:{borderColor:"#333333"},dashed:!0},"\u638C\u63A7\u7387"),($n==null?void 0:$n.length)>0?jt.createElement(tn.Z,{labelTextColor:"#333",dataSource:$n}):jt.createElement(qt.NoData,{children:jt.createElement("div",{style:{textAlign:"center",fontSize:"14rem"}},"\u6682\u65E0\u638C\u63A7\u7387\u6570\u636E")}))};var Z=(0,k.connect)(({pathsDetail:et,user:Tt,loading:Ct,globalSetting:Cn})=>({pathsDetail:et,user:Tt,globalSetting:Cn,loading:Ct.models.index}))(z),ie=M(2524),se=M(59301),Qe=Object.defineProperty,lt=Object.getOwnPropertySymbols,xt=Object.prototype.hasOwnProperty,at=Object.prototype.propertyIsEnumerable,Nt=(et,Tt,Ct)=>Tt in et?Qe(et,Tt,{enumerable:!0,configurable:!0,writable:!0,value:Ct}):et[Tt]=Ct,Gt=(et,Tt)=>{for(var Ct in Tt||(Tt={}))xt.call(Tt,Ct)&&Nt(et,Ct,Tt[Ct]);if(lt)for(var Ct of lt(Tt))at.call(Tt,Ct)&&Nt(et,Ct,Tt[Ct]);return et},je=(et,Tt)=>{var Ct={};for(var Cn in et)xt.call(et,Cn)&&Tt.indexOf(Cn)<0&&(Ct[Cn]=et[Cn]);if(et!=null&<)for(var Cn of lt(et))Tt.indexOf(Cn)<0&&at.call(et,Cn)&&(Ct[Cn]=et[Cn]);return Ct},Ne=(et,Tt,Ct)=>new Promise((Cn,cr)=>{var it=un=>{try{Dn(Ct.next(un))}catch(Un){cr(Un)}},Tr=un=>{try{Dn(Ct.throw(un))}catch(Un){cr(Un)}},Dn=un=>un.done?Cn(un.value):Promise.resolve(un.value).then(it,Tr);Dn((Ct=Ct.apply(et,Tt)).next())});const Ee=[{name:"",value:0,itemStyle:{color:"rgb(223,209,38)"}},{name:"",value:0,itemStyle:{color:"rgb(6,234,230)"}},{name:"",value:0,itemStyle:{color:"rgb(6,110,247)"}}],Le=et=>{var Tt=et,{pathsDetail:Ct,user:Cn,globalSetting:cr,loading:it,dispatch:Tr,uuid:Dn}=Tt,un=je(Tt,["pathsDetail","user","globalSetting","loading","dispatch","uuid"]),Un,vr,On,hr;const An=(0,k.useParams)();let[Or,or]=(0,h.useState)({subject_id:An==null?void 0:An.pathId,course_id:"",parentNodeUuid:Dn,type:1});const[Rr,sr]=(0,h.useState)(),[$n,Dr]=(0,h.useState)([]),[xr]=(0,k.useSearchParams)(),[dr,kr]=(0,h.useState)([]);(0,h.useEffect)(()=>{ta()},[Dn]);function ta(){return Ne(this,null,function*(){var Ar,Xn,aa;let oa=yield(0,t.ZP)("/api/knowledge/v2/knowledge_statistics.json",{method:"get",params:Or});sr(oa);let la=Object.entries((Ar=oa==null?void 0:oa.data)==null?void 0:Ar.study_grasp_hash).map(([Lr,ma],Ca)=>({name:Lr,value:ma,itemStyle:Ee[Ca].itemStyle})),va=Object.entries((Xn=oa==null?void 0:oa.data)==null?void 0:Xn.study_complete_hash).map(([Lr,ma],Ca)=>({name:Lr,value:ma}));kr(va),((aa=la==null?void 0:la.filter(Lr=>(Lr==null?void 0:Lr.value)>0))==null?void 0:aa.length)===0?Dr([]):Dr(la)})}return se.createElement("div",{className:n.DetailStatistics},xr.get("type")!=="classrooms"&&se.createElement("div",{className:n.header},se.createElement("span",{className:n.title},"\u7EDF\u8BA1\u8303\u56F4"),se.createElement(g.ZP.Group,{onChange:Ar=>{Or.type=Ar.target.value,or(Gt({},Or)),ta()},value:Or.type},se.createElement(g.ZP,{value:1},"\u5168\u90E8"),se.createElement(g.ZP,{value:2},"\u81EA\u4E3B\u5B66\u4E60"),se.createElement(g.ZP,{value:3},"\u8BFE\u5802\u5B66\u4E60")),(Or==null?void 0:Or.type)===3&&se.createElement(F.default,{onChange:Ar=>{Or.course_id=Ar,or(Gt({},Or)),ta()},style:{marginLeft:"-15rem",width:"148rem",height:"36rem"}},(Un=Rr==null?void 0:Rr.courses)==null?void 0:Un.map(Ar=>se.createElement(F.default.Option,{value:Ar==null?void 0:Ar.id},Ar==null?void 0:Ar.name)))),se.createElement("div",{style:{marginTop:"16rem",display:"flex"}},se.createElement("div",{className:n.left,style:{backgroundImage:`url(${Et}),linear-gradient(180deg, rgba(221, 233, 241, 0.4) 0%, rgba(255, 255, 255, 0.49) 100%)`}},se.createElement("img",{src:cn}),se.createElement("div",{style:{marginTop:"20rem"}},se.createElement("div",{className:n.xxrs},"\u5B66\u4E60\u4EBA\u6570"),se.createElement("div",{className:n.xxrscount},(vr=Rr==null?void 0:Rr.data)==null?void 0:vr.study_count))),se.createElement("div",{className:n.right},se.createElement("div",{className:n.righttop},se.createElement("img",{src:Jt}),se.createElement("div",null,se.createElement("div",{className:n.xxrs},"\u5B66\u4E60\u5B8C\u6210\u7387"),se.createElement("div",{className:n.xxrscount},(On=Rr==null?void 0:Rr.data)==null?void 0:On.study_complete_rate,"%"))),se.createElement("div",{className:n.rightbottom},se.createElement("img",{src:zt}),se.createElement("div",null,se.createElement("div",{className:n.xxrs},"\u5B66\u4E60\u638C\u63E1\u7387"),se.createElement("div",{className:n.xxrscount},(hr=Rr==null?void 0:Rr.data)==null?void 0:hr.study_grasp_rate,"%"))))),se.createElement(vn.Z,{variant:"dashed",style:{borderColor:"#333333"},dashed:!0},"\u5B8C\u6210\u5360\u6BD4\u60C5\u51B5"),se.createElement(Fn.Z,{option:Pn(dr),style:{height:300,width:400},opts:{renderer:"svg"}}),se.createElement(vn.Z,{variant:"dashed",style:{borderColor:"#333333"},dashed:!0},"\u638C\u63A7\u7387"),($n==null?void 0:$n.length)>0?se.createElement(tn.Z,{labelTextColor:"#333",dataSource:$n}):se.createElement(ie.Z,{children:se.createElement("div",{style:{textAlign:"center",fontSize:"14rem"}},"\u6682\u65E0\u638C\u63A7\u7387\u6570\u636E")}))};var Pe=(0,k.connect)(({pathsDetail:et,user:Tt,loading:Ct,globalSetting:Cn})=>({pathsDetail:et,user:Tt,globalSetting:Cn,loading:Ct.models.index}))(Le),We=M(52918),he=M(97442),Ve="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABQAAAAUCAYAAACNiR0NAAAAAXNSR0IArs4c6QAAAXlJREFUOE/VlD1Lw1AUhp+YmkGQSnFR8AcUoSJ+LiKCqINQqIODbk51ETpaVHTyD6h/QQddXMRNRal1qLaDOhSFQicdiiKUNrkSmzQxH6WCg2a6Iec+7z3ve24kIYTMLz7SPwSmozPI2h6InroTkqQvywjOQNlm4PDczyV3yxfDT4AFa97fAmhxN/C0u9o8w6wUtYUkFdzAk1CVyC4E+x3cr7YBY7NTtZSB7DLewKF9Xa4xwAnUfU7P+wBHjjy6dgqY77a2r2MG8GV9CaQdhAhYJI8NnuYqEBgFqQ1SswawmEiCttnQIxfMdmKlD5QIXE0ZwMJKGPUjV0uqyYzNbPR6OQTBRbgct3mYX7hDiN46zr7BHq6fYGccUlEb8GFuDaFuuKbCNwtDURgFHdOQTdqA97Ewlfec75xZ99DbE6ULno8dY5MZs9r2mV/fbPQPr3kH8GZwFVXd+lE4doXyW/H7TbmdaKf0eIBWmQRamszbLNOQWxN//wf7CYUnn95U81GtAAAAAElFTkSuQmCC",tt=M(87513),me=M(79939),ye=M(53420),_e={flex_box_center:"flex_box_center___wU4bP",flex_space_between:"flex_space_between___ryVxe",flex_box_vertical_center:"flex_box_vertical_center___J64e0",flex_box_center_end:"flex_box_center_end___ZQTrR",flex_box_column:"flex_box_column___qYlzG",scoremodal:"scoremodal___g_fYu",selectWrapper:"selectWrapper___wbF8t",selectWrappers:"selectWrappers___bAt3m",allqingchu:"allqingchu___IczWP",title:"title___cJxdu",score:"score___W6O3r",close:"close___rZaaH",content:"content___I6bh1",items:"items___NS5if",bottom:"bottom___zStfh",yes:"yes___dvYz0",no:"no___BqowM",titlecount:"titlecount___cx4fQ",add:"add___Vazpd",search:"search___kg8ng",searchIcon:"searchIcon___CaGo3",tabWrap:"tabWrap___CAndG",previewModal:"previewModal___Ms_9O",q_title:"q_title___WfJKh"},ke=M(3033),De={flex_box_center:"flex_box_center___nswYj",flex_space_between:"flex_space_between___fOVoM",flex_box_vertical_center:"flex_box_vertical_center___Q25Hr",flex_box_center_end:"flex_box_center_end___e8x5w",flex_box_column:"flex_box_column___TkKrN",warp:"warp___CyVTN",shixunbutton:"shixunbutton___5A5Bl",redio:"redio____F59s",redioitem:"redioitem___lpnfs",redioitemyes:"redioitemyes___LJh0a",title:"title___pmJ_X",titleyes:"titleyes___xpcjY",yestag:"yestag___DZcUj",qcount:"qcount___N4pNO",score:"score___aNTPQ",qtitle:"qtitle___E_ClM",checkbox:"checkbox___T6Xdo",checkboxitem:"checkboxitem___dfyKW",checkboxitemyes:"checkboxitemyes___Uh2au",bottom:"bottom___uZhfZ",bottomitem:"bottomitem___NElKx",left:"left___CG1Ne",right:"right___iBXmO",completion:"completion___xvAyY",content:"content___Tf9bM",items:"items___zogcz",simple:"simple___zY1bm",shixun:"shixun___AAIlJ",combination:"combination___c7Ghw",program:"program___sXFp_"},ct=M(95097),At=M(24334);const Pt=["A\uFF0E","B\uFF0E","C\uFF0E","D\uFF0E","E\uFF0E","F\uFF0E","G\uFF0E","H\uFF0E","I\uFF0E","J\uFF0E","K\uFF0E","L\uFF0E","M\uFF0E","N\uFF0E","O\uFF0E","P\uFF0E","Q\uFF0E","R\uFF0E","S\uFF0E","T\uFF0E","U\uFF0E","V\uFF0E","W\uFF0E","X\uFF0E","Y\uFF0E","Z\uFF0E"];var sn=({qitem:et})=>{var Tt,Ct,Cn,cr,it,Tr,Dn,un,Un,vr;return h.createElement("div",{className:De.warp},h.createElement("div",{className:De.mainPart},h.createElement("div",{className:De.qcount},(et==null?void 0:et.question_type)===8&&h.createElement(ct.Z,{className:De.content,showProgramFill:!0,value:(Tt=et==null?void 0:et.program_attr)==null?void 0:Tt.description}),(et==null?void 0:et.question_type)!=8&&h.createElement(ct.Z,{className:De.qtitle,value:(et==null?void 0:et.name)||(et==null?void 0:et.title)})),((et==null?void 0:et.question_type)===0||(et==null?void 0:et.question_type)===2)&&h.createElement("div",null,(Ct=et==null?void 0:et.choices)==null?void 0:Ct.map((On,hr)=>h.createElement("div",{className:De.redio},!(On!=null&&On.is_answer)&&h.createElement("span",{className:De.redioitem}),(On==null?void 0:On.is_answer)&&h.createElement("i",{className:`${De.redioitemyes} icon-duigou1`}),h.createElement(ct.Z,{className:On!=null&&On.is_answer?De.titleyes:De.title,value:Pt[hr]+(On==null?void 0:On.choice_text)}),(On==null?void 0:On.is_answer)&&h.createElement("div",{className:De.yestag},"\u6B63\u786E\u7B54\u6848")))),(et==null?void 0:et.question_type)===1&&h.createElement("div",null,(Cn=et==null?void 0:et.choices)==null?void 0:Cn.map((On,hr)=>h.createElement("div",{className:De.checkbox},!(On!=null&&On.is_answer)&&h.createElement("span",{className:De.checkboxitem}),(On==null?void 0:On.is_answer)&&h.createElement("i",{className:`${De.checkboxitemyes} icon-duigou1`}),h.createElement(ct.Z,{className:On!=null&&On.is_answer?De.titleyes:De.title,value:Pt[hr]+(On==null?void 0:On.choice_text)}),(On==null?void 0:On.is_answer)&&h.createElement("div",{className:De.yestag},"\u6B63\u786E\u7B54\u6848")))),(et==null?void 0:et.question_type)===3&&h.createElement("div",{className:De.completion},(cr=et==null?void 0:et.standard_answer)==null?void 0:cr.map((On,hr)=>{var An;return h.createElement("div",{style:{display:"flex"}},h.createElement("span",{className:De.title},"\u586B\u7A7A\u9879",hr+1),h.createElement("div",{className:De.content},(An=On==null?void 0:On.answer_text)==null?void 0:An.map((Or,or)=>h.createElement("div",{className:De.items},Or))))})),(et==null?void 0:et.question_type)===4&&h.createElement("div",{className:De.simple},h.createElement("div",{className:De.title},"\u53C2\u8003\u7B54\u6848"),h.createElement("div",{className:"mt10",style:{fontSize:"16px"}},(it=et==null?void 0:et.answer_texts)!=null&&it[0]?h.createElement(ct.Z,{className:De.content,value:(Tr=et==null?void 0:et.answer_texts)==null?void 0:Tr[0]}):h.createElement("div",{style:{color:"#C1C1C1"}},"\u6682\u672A\u8BBE\u7F6E~"))),(et==null?void 0:et.question_type)===5&&((Dn=et==null?void 0:et.challenge_names)==null?void 0:Dn.map((On,hr)=>h.createElement("div",{className:De.shixun},h.createElement("span",{className:De.qtitle},h.createElement("span",{style:{marginRight:10}},"\u7B2C",(0,Re.EM)(hr+1),"\u9898"),On)))),(et==null?void 0:et.question_type)===6&&h.createElement("div",{className:De.program},h.createElement(ct.Z,{className:De.content,value:((un=et==null?void 0:et.program_attr)==null?void 0:un.description)||"- -"})),(et==null?void 0:et.question_type)===7&&((Un=et==null?void 0:et.sub_item_banks)==null?void 0:Un.map((On,hr)=>{var An,Or,or,Rr,sr;return h.createElement("div",null,h.createElement("div",{className:De.combination},h.createElement("span",{className:De.qtitle},On==null?void 0:On.name)),h.createElement("div",{className:De.warp,style:{padding:"0px",paddingTop:20}},h.createElement("div",null,((On==null?void 0:On.item_type)=="SINGLE"||(On==null?void 0:On.item_type)=="JUDGMENT")&&((An=On==null?void 0:On.choices)==null?void 0:An.map(($n,Dr)=>h.createElement("div",{className:De.redio},!($n!=null&&$n.is_answer)&&h.createElement("span",{className:De.redioitem}),($n==null?void 0:$n.is_answer)&&h.createElement("i",{className:`${De.redioitemyes} icon-duigou1`}),h.createElement(ct.Z,{className:$n!=null&&$n.is_answer?De.titleyes:De.title,value:Pt[Dr]+($n==null?void 0:$n.choice_text)}),($n==null?void 0:$n.is_answer)&&h.createElement("div",{className:De.yestag},"\u6B63\u786E\u7B54\u6848")))),(On==null?void 0:On.item_type)=="MULTIPLE"&&((Or=On==null?void 0:On.choices)==null?void 0:Or.map(($n,Dr)=>h.createElement("div",{className:De.checkbox},!($n!=null&&$n.is_answer)&&h.createElement("span",{className:De.checkboxitem}),($n==null?void 0:$n.is_answer)&&h.createElement("i",{className:`${De.checkboxitemyes} icon-duigou1`}),h.createElement(ct.Z,{className:$n!=null&&$n.is_answer?De.titleyes:De.title,value:Pt[Dr]+($n==null?void 0:$n.choice_text)}),($n==null?void 0:$n.is_answer)&&h.createElement("div",{className:De.yestag},"\u6B63\u786E\u7B54\u6848")))),(On==null?void 0:On.item_type)=="COMPLETION"&&h.createElement("div",{className:De.completion},(or=On==null?void 0:On.standard_answer)==null?void 0:or.map(($n,Dr)=>{var xr;return h.createElement("div",{style:{display:"flex"}},h.createElement("span",{className:De.title},"\u586B\u7A7A\u9879",Dr+1),h.createElement("div",{className:De.content},(xr=$n==null?void 0:$n.answer_text)==null?void 0:xr.map((dr,kr)=>h.createElement("div",{className:De.items},dr))))})),(On==null?void 0:On.item_type)=="SUBJECTIVE"&&h.createElement("div",{className:De.simple},h.createElement("div",{className:De.title},"\u53C2\u8003\u7B54\u6848"),h.createElement("div",{className:"mt10",style:{fontSize:"16px"}},(Rr=On==null?void 0:On.answer_texts)!=null&&Rr[0]?h.createElement(ct.Z,{className:De.content,value:(sr=On==null?void 0:On.answer_texts)==null?void 0:sr[0]}):h.createElement("div",{style:{color:"#C1C1C1"}},"\u6682\u672A\u8BBE\u7F6E~"))))))})),(et==null?void 0:et.question_type)===8&&h.createElement("div",null,h.createElement(ct.Z,{disabledFill:!0,className:De.content,showProgramFill:!0,value:At.Base64.decode(((vr=et==null?void 0:et.program_attr)==null?void 0:vr.code)||"")})),(et==null?void 0:et.question_type)===5&&h.createElement("div",{style:{background:"#F6F7F9",padding:"0px 20px",height:46,lineHeight:"46px",marginTop:40,display:"flex",alignItems:"center"}},h.createElement("div",{style:{flex:1,alignItems:"center",display:"flex"}},h.createElement("div",{style:{marginRight:30}},h.createElement("span",{style:{marginRight:10}},"\u521B\u5EFA\u8005"),h.createElement("span",{style:{color:"#000000"}},(et==null?void 0:et.author_name)||"- -")),h.createElement("div",{style:{marginRight:30}},h.createElement("span",{style:{marginRight:10}},"\u6240\u5C5E\u5355\u4F4D"),h.createElement("span",{style:{color:"#000000"}},(et==null?void 0:et.author_school_name)||"- -")),h.createElement("div",{style:{marginRight:30}},h.createElement("span",{style:{marginRight:10}},"\u5B66\u4E60\u4EBA\u6570"),h.createElement("span",{style:{color:"#000000"}},(et==null?void 0:et.study_count)||"0"))),h.createElement("a",{className:De.shixunbutton,href:`/shixuns/${et==null?void 0:et.identifier}/challenges?exercise=true`,target:"_blank"},h.createElement("i",{onClick:()=>{},style:{marginRight:20},className:"iconfont icon-shixunkecheng mr5 "}),"\u5B9E\u8BAD\u8BE6\u60C5"))),((et==null?void 0:et.question_type)<=4||[6,8].includes(et==null?void 0:et.question_type))&&h.createElement("div",{className:De.bottom},h.createElement("div",{className:De.bottomitem},h.createElement("span",{className:De.left},"\u89E3\u6790"),h.createElement("span",{className:De.right},et!=null&&et.analysis?h.createElement(ct.Z,{value:et==null?void 0:et.analysis}):h.createElement("span",{style:{color:"#C1C1C1"}},"\u6682\u672A\u8BBE\u7F6E~"))),h.createElement("div",{className:De.bottomitem},h.createElement("span",{className:De.left},"\u96BE\u5EA6"),h.createElement("span",{className:De.right},(et==null?void 0:et.difficulty)===1?"\u7B80\u5355":(et==null?void 0:et.difficulty)===2?"\u9002\u4E2D":"\u56F0\u96BE")),h.createElement("div",{className:De.bottomitem},h.createElement("span",{className:De.left},"\u77E5\u8BC6\u70B9"),h.createElement("span",{className:De.right},et!=null&&et.tag_discipline?et==null?void 0:et.tag_discipline:h.createElement("span",{style:{color:"#C1C1C1"}},"\u6682\u672A\u8BBE\u7F6E~")))))},wn=M(64303),En=M(96435),nn=M(61485),fn=M(90463),pn=M(11517),Lt=M(59301),Mn=Object.defineProperty,Zn=Object.defineProperties,bn=Object.getOwnPropertyDescriptors,Wn=Object.getOwnPropertySymbols,qn=Object.prototype.hasOwnProperty,Cr=Object.prototype.propertyIsEnumerable,ur=(et,Tt,Ct)=>Tt in et?Mn(et,Tt,{enumerable:!0,configurable:!0,writable:!0,value:Ct}):et[Tt]=Ct,Bn=(et,Tt)=>{for(var Ct in Tt||(Tt={}))qn.call(Tt,Ct)&&ur(et,Ct,Tt[Ct]);if(Wn)for(var Ct of Wn(Tt))Cr.call(Tt,Ct)&&ur(et,Ct,Tt[Ct]);return et},ar=(et,Tt)=>Zn(et,bn(Tt)),pr=(et,Tt,Ct)=>new Promise((Cn,cr)=>{var it=un=>{try{Dn(Ct.next(un))}catch(Un){cr(Un)}},Tr=un=>{try{Dn(Ct.throw(un))}catch(Un){cr(Un)}},Dn=un=>un.done?Cn(un.value):Promise.resolve(un.value).then(it,Tr);Dn((Ct=Ct.apply(et,Tt)).next())});const nr=({setScoreShow:et,ScoreShow:Tt,listitem:Ct,onOk:Cn,isshixuns:cr,isloadings:it,dispatch:Tr,isIntelligentAssistant:Dn=!1,ispptModal:un=!1,isChangeQuestion:Un=!1,newExercisePaper:vr,shixunsDetail:On})=>{var hr;let[An,Or]=(0,h.useState)({type:"0",page:1,updated_at:"",quotes:"",item_type:null,per_page:10,courseid:"",tag_discipline_id:null,difficulty:null,keyword:null,bigmodel:Dn,is_smart_plan:un,group_id:[]}),[or,Rr]=(0,h.useState)([]),[sr,$n]=(0,h.useState)([]),[Dr,xr]=(0,h.useState)([]),[dr,kr]=(0,h.useState)([]);const[ta,Ar]=(0,h.useState)(!1),[Xn]=P.default.useForm(),[aa,oa]=(0,h.useState)(),[la,va]=(0,h.useState)(!1);let[Lr,ma]=(0,h.useState)(cr);const[Ca,Ur]=(0,h.useState)([]),[kn,Qn]=(0,h.useState)(0),[jn,lr]=(0,h.useState)(!0),[Rt,Yr]=(0,h.useState)([]),[fa,da]=(0,h.useState)([]),ea=[{name:"\u5168\u90E8",value:"",question_type:0},{name:"\u5355\u9009\u9898",value:"SINGLE",question_type:0},{name:"\u591A\u9009\u9898",value:"MULTIPLE",question_type:1},{name:"\u5224\u65AD\u9898",value:"JUDGMENT",question_type:2},{name:"\u586B\u7A7A\u9898",value:"COMPLETION",question_type:3},{name:"\u7B80\u7B54\u9898",value:"SUBJECTIVE",question_type:4},{name:"\u5B9E\u8BAD\u9898",value:"SHIXUN",question_type:5},{name:"\u7F16\u7A0B\u9898",value:"PROGRAM",question_type:6},{name:"\u7EC4\u5408\u9898",value:"COMBINATION",question_type:7},{name:"\u7A0B\u5E8F\u586B\u7A7A\u9898",value:"BPROGRAM",question_type:8}],Hn=[{name:"\u5168\u90E8",value:"",question_type:0},{name:"\u5355\u9009\u9898",value:"SINGLE",question_type:0},{name:"\u591A\u9009\u9898",value:"MULTIPLE",question_type:1},{name:"\u5224\u65AD\u9898",value:"JUDGMENT",question_type:2},{name:"\u7F16\u7A0B\u9898",value:"PROGRAM",question_type:6}];let[jr,sa]=(0,h.useState)({gg:{type:"1",page:1,updated_at:"",quotes:"",item_type:null,courseid:"",per_page:10,tag_discipline_id:null,difficulty:null,keyword:null},ttgx:{type:"3",page:1,updated_at:"",quotes:"",item_type:null,per_page:10,courseid:"",tag_discipline_id:null,difficulty:null,keyword:null,group_id:[]},scj:{type:"2",page:1,updated_at:"",quotes:"",item_type:null,per_page:10,courseid:"",tag_discipline_id:null,difficulty:null,keyword:null},wcjd:{type:"0",page:1,updated_at:"",quotes:"",item_type:null,per_page:10,courseid:"",tag_discipline_id:null,difficulty:null,keyword:null,group_id:[]},yx:{type:"5",page:1,updated_at:"",quotes:"",item_type:null,per_page:10,courseid:"",tag_discipline_id:null,difficulty:null,keyword:null,group_id:null}});const na=(0,h.useRef)(new Set),ga=(0,h.useRef)(new Set),ha=[{name:"\u7B80\u5355",value:1},{name:"\u9002\u4E2D",value:2},{name:"\u56F0\u96BE",value:3}],Ea=[{name:"\u521D\u7EA7",value:1},{name:"\u4E2D\u7EA7",value:2},{name:"\u4E2D\u9AD8\u7EA7",value:3},{name:"\u9AD8\u7EA7",value:4}],Za=[{name:"\u672A\u53D1\u5E03",value:"unpublish"},{name:"\u9759\u9ED8\u53D1\u5E03",value:"silent_publish"},{name:"\u516C\u5F00\u53D1\u5E03",value:"public_publish"}],[Fa,Xa]=(0,h.useState)(!1),Ua=()=>{Xn.resetFields(),Lr=!1,ma(!1),Xa(!1),Xn.submit()};(0,h.useEffect)(()=>{var gn,fr;(((gn=Ct==null?void 0:Ct.questionIdArr)==null?void 0:gn.length)>0||((fr=Ct==null?void 0:Ct.shixun_ids)==null?void 0:fr.length)>0)&&($n([...Ct==null?void 0:Ct.questionIdArr,...Ct==null?void 0:Ct.shixun_ids]),xr([...Ct==null?void 0:Ct.questionIdArr,...Ct==null?void 0:Ct.shixun_ids]),Ur([...Ct==null?void 0:Ct.shixun_ids]),ga.current=new Set([...Ct==null?void 0:Ct.questionIdArr]),na.current=new Set([...Ct==null?void 0:Ct.shixun_ids]))},[Ct]),(0,h.useEffect)(()=>{Tt&&(Xn.setFieldsValue({item_type:"",courseid:"",tag_discipline_id:null,difficulty:null,keyword:null}),jn&&Lr&&(Xn.setFieldsValue({item_type:"SHIXUN"}),An.item_type="SHIXUN",Or(Bn({},An)),lr(!1)),ba(An),Gr(),wa({group_id:0,page:1,per_page:20,sort_by:"updated_at",sort_direction:"desc",type:"0"}))},[Tt]),(0,h.useEffect)(()=>{kn>0&&setTimeout(()=>{Qn(0)},2e3)},[kn]);function ba(gn){return pr(this,null,function*(){var fr,ya,Wr;if(Ar(!0),Or(Bn({},gn)),(Dr==null?void 0:Dr.length)<=0&&gn.type==="5"){kr([]),Ar(!1);return}let Kr=gn.type==="5"?Dr==null?void 0:Dr.filter(wr=>!Ca.includes(wr)):null,La=gn.type==="5"?Dr==null?void 0:Dr.filter(wr=>Ca.includes(wr)):null,Zr=yield(0,t.ZP)("/api/item_banks.json",{method:"get",params:ar(Bn({},gn),{discipline_id:((fr=gn==null?void 0:gn.courseid)==null?void 0:fr[0])||null,sub_discipline_id:((ya=gn==null?void 0:gn.courseid)==null?void 0:ya[1])||null,ids:Kr,shixun_ids:La,include_shixuns:!Dn,group_id:((Wr=gn.group_id)==null?void 0:Wr.map(wr=>wr==null?void 0:wr.value))||null,keyword:gn.keyword?encodeURIComponent(gn.keyword):gn.keyword,type:gn.type==="5"?null:gn.type,clazz:gn.type==="3"?"ItemBanksGroup":null,bigmodel:Dn,is_smart_plan:un})});kr(Zr),Ar(!1)})}function Gr(){return pr(this,null,function*(){let gn=yield(0,t.ZP)("/api/disciplines.json",{method:"get",params:{source:"question",group_id:0,group_type:An.type==="5"?null:An.type,clazz:"ItemBanksGroup"}});Rr((0,ke.L)(gn==null?void 0:gn.disciplines))})}function wa(gn){return pr(this,null,function*(){var fr;let ya=yield(0,t.ZP)("/api/item_banks_groups/for_problemset.json",{method:"post",body:gn}),Wr=[{title:"\u6839\u76EE\u5F55",id:0,pid:0,value:0,key:0,isLeaf:!1,children:(fr=ya==null?void 0:ya.data)==null?void 0:fr.map(Kr=>({title:Kr.name,id:Kr.id,pid:Kr.id,value:Kr.id,key:Kr.id,isLeaf:!Kr.have_child}))}];Yr(Wr)})}function ti(gn){return pr(this,null,function*(){var fr,ya,Wr,Kr;Ar(!0);let La=(fr=gn.list)==null?void 0:fr.filter(Ya=>!Ca.includes(Ya)),Zr=(ya=gn.list)==null?void 0:ya.filter(Ya=>Ca.includes(Ya));if(La.length===0&&Zr.length===0){Ar(!1),kr([]);return}let wr=yield(0,t.ZP)("/api/item_banks.json",{method:"get",params:ar(Bn({},gn),{discipline_id:((Wr=gn==null?void 0:gn.courseid)==null?void 0:Wr[0])||null,sub_discipline_id:((Kr=gn==null?void 0:gn.courseid)==null?void 0:Kr[1])||null,ids:La,shixun_ids:Zr,type:gn.type==="5"?null:gn.type,clazz:gn.type==="3"?"ItemBanksGroup":null})});Ar(!1),kr(wr)})}const ci=gn=>pr(void 0,null,function*(){const fr=yield Tr({type:"shixunsDetail/release",payload:{id:gn}});let ya=fr==null?void 0:fr.tag_position,Wr=(fr==null?void 0:fr.evaluation_set_position)||[],Kr=fr.status;return Kr===0?(_.ZP.success("\u53D1\u5E03\u6210\u529F"),ba(An),!0):(Kr===2?_.ZP.error(`\u7B2C${Wr.join(",")}\u5173\u5C1A\u672A\u5B8C\u6210\uFF0C\u65E0\u6CD5\u7533\u8BF7\u53D1\u5E03`):Kr===3?_.ZP.error(`\u6BCF\u4E00\u4E2A\u5173\u5361\u81F3\u5C11\u9700\u8981\u4E00\u4E2A\u6280\u80FD\u6807\u7B7E, \u7B2C${ya.join(",")}\u5173\u5C1A\u672A\u8BBE\u7F6E\u6280\u80FD\u6807\u7B7E\uFF0C\u8BF7\u8865\u5145`):_.ZP.error("\u5C1A\u672A\u521B\u5EFA\u4EFB\u52A1\u7684\u5B9E\u8BAD\uFF0C\u4E0D\u80FD\u7533\u8BF7\u53D1\u5E03"),!1)}),ir=gn=>(gn==null?void 0:gn.shixun_tag_num)===1?"\u672A\u53D1\u5E03\u7684\u5B9E\u8DF5\u9879\u76EE\u4E0D\u80FD\u88AB\u9009\u7528\uFF0C\u8BF7\u5148\u8FDB\u884C\u53D1\u5E03":"",Qr=(gn,fr,ya)=>gn.map(Wr=>Wr.key===fr?Bn(Bn({},Wr),ya):Wr.children?ar(Bn({},Wr),{children:Qr(Wr.children,fr,ya)}):Wr),Pa=gn=>pr(void 0,null,function*(){const{key:fr}=gn;let ya=An.type;const Wr=yield(0,pn.ex)({page:1,per_page:20,sort_by:"updated_at",sort_direction:"desc",group_id:Math.abs(fr),type:ya}),{data:Kr,total_count:La}=Wr||{};La>0&&Yr(Zr=>Qr(Zr,fr,{children:Kr.map(wr=>({title:wr.name,id:wr.id,pid:wr.id,value:wr.id,key:wr.id,isLeaf:!wr.have_child}))}))});function Ba(gn){console.log("----",An),gn==="1"&&(jr.gg=Bn({},An)),gn==="2"&&(jr.scj=Bn({},An)),gn==="3"&&(jr.ttgx=Bn({},An)),gn==="0"&&(jr.wcjd=Bn({},An)),gn==="5"&&(jr.yx=Bn({},An)),sa(Bn({},jr))}function Ia(){An.type==="1"&&(An=jr.gg),An.type==="2"&&(An=jr.scj),An.type==="3"&&(An=jr.ttgx),An.type==="0"&&(An=jr.wcjd),An.type==="5"&&(An=jr.yx),(An==null?void 0:An.item_type)==="SHIXUN"?(Lr=!0,ma(!0)):(Lr=!1,ma(!1)),Xn.setFieldsValue(Bn({},An)),Or(Bn({},An)),ba(Bn({},An))}return Lt.createElement("div",null,Lt.createElement(m.default,{title:!1,footer:!1,open:Tt,width:1200,centered:!0,className:_e.scoremodal,onCancel:()=>{et(!1)}},Lt.createElement("div",{style:{display:"flex",alignItems:"center"}},Lt.createElement("div",{className:_e.title},Dn?"\u4EE5\u9898\u6362\u9898":"\u9898\u5E93\u9009\u9898")),Dn&&Lt.createElement("div",{style:{padding:10,background:"#F6F7F9",borderRadius:4,marginTop:14}},"\u6839\u636E\u73B0\u6709\u8BD5\u9898\u7684\u9898\u578B\u3001\u65B9\u5411\u3001\u77E5\u8BC6\u70B9\u3001\u96BE\u6613\u5EA6\uFF0C\u5FEB\u901F\u751F\u6210\u65B0\u7684\u8BD5\u9898\uFF0C\u589E\u52A0\u8BD5\u9898\u7684\u4E30\u5BCC\u5EA6"),Lt.createElement(l.default,{className:_e.tabWrap,activeKey:An.type,onChange:gn=>{gn==="3"?(An.show_all_share=!0,wa({group_id:0,page:1,per_page:20,sort_by:"updated_at",sort_direction:"desc",type:"3"})):An.show_all_share=null,gn==="0"&&wa({group_id:0,page:1,per_page:20,sort_by:"updated_at",sort_direction:"desc",type:"0"}),Ba(An.type),An.type=gn,(An==null?void 0:An.item_type)==="SHIXUN"&&An.type!=="5"&&(Lr=!0,ma(!0)),Xa(!1),An.type==="5"&&(Lr=!1,ma(!1)),Ia(),Gr()},items:[{label:"\u56E2\u961F\u5171\u4EAB",key:"3"},{label:"\u6536\u85CF\u5939",key:"2"},{label:"\u6211\u521B\u5EFA\u7684",key:"0"},{label:Lt.createElement("div",null,"\u5DF2\u9009",Dr.length>0&&Lt.createElement("span",{className:_e.titlecount},Dr.length),kn>0&&Lt.createElement("span",{className:_e.add},"+",kn)),key:"5"}]}),Lt.createElement(P.default,{layout:"inline",form:Xn,onValuesChange:(gn,fr)=>{const ya=Object.values(fr).some(Kr=>Kr!==null&&Kr!==""&&Kr!==void 0),Wr=fr.keyword==="";if(Xa(ya||!Wr),An.page=1,(fr==null?void 0:fr.item_type)==="SHIXUN"){if(An.type==="5"?ma(!1):ma(!0),gn.keyword||gn.keyword==="")return;Xn.submit()}else{if(gn!=null&&gn.courseid&&Xn.setFieldsValue({tag_discipline_id:""}),ma(!1),gn.keyword||gn.keyword==="")return;Xn.submit()}},onFinish:gn=>{var fr;An.type==="3"&&(!gn.group_id||((fr=gn==null?void 0:gn.group_id)==null?void 0:fr.length)===0)?An.show_all_share=!0:An.show_all_share=null,Or(Bn(Bn({},An),gn)),ba(Bn(Bn({},An),gn))}},Lt.createElement(P.default.Item,{name:"item_type"},Lt.createElement(F.default,{className:_e.selectWrapper,placeholder:"\u9898\u578B",style:{width:110},size:"middle"},(un?Hn:Dn?ea==null?void 0:ea.filter(gn=>gn.question_type!==5):ea).map(gn=>Lt.createElement(F.default.Option,{key:gn.value},gn.name)))),Lt.createElement(P.default.Item,{name:"courseid"},Lt.createElement(me.Z,{className:_e.selectWrapper,style:{width:160},size:"middle",placeholder:"\u65B9\u5411&\u8BFE\u7A0B",options:or})),!Lr&&Lt.createElement(P.default.Item,{name:"tag_discipline_id"},Lt.createElement(F.default,{className:_e.selectWrapper,placeholder:"\u77E5\u8BC6\u70B9",style:{width:160},size:"middle",allowClear:!0},(hr=dr==null?void 0:dr.tag_disciplines)==null?void 0:hr.map(gn=>Lt.createElement(F.default.Option,{key:gn.id},gn.name)))),Lt.createElement(P.default.Item,{name:Lr?"diff":"difficulty"},Lt.createElement(F.default,{className:_e.selectWrapper,placeholder:"\u96BE\u5EA6",style:{width:118},size:"middle",allowClear:!0},ha.map(gn=>Lt.createElement(F.default.Option,{key:gn.value},gn.name)))),Lr&&Lt.createElement(P.default.Item,{name:"shixun_publish_status"},Lt.createElement(F.default,{className:_e.selectWrapper,placeholder:"\u5168\u90E8\u72B6\u6001",style:{width:118},size:"middle",allowClear:!0},Za.map(gn=>Lt.createElement(F.default.Option,{key:gn.value},gn.name)))),(An.type==="3"||An.type==="0")&&!Lr&&Lt.createElement(P.default.Item,{name:"group_id"},Lt.createElement(ye.default,{treeDataSimpleMode:!0,style:{width:118},className:_e.selectWrappers,multiple:!0,allowClear:!0,showSearch:!0,filterTreeNode:(gn,fr)=>fr.title.toUpperCase().indexOf(gn.toUpperCase())!==-1,dropdownStyle:{maxHeight:400,width:500,overflow:"auto"},placeholder:"\u8BF7\u9009\u62E9\u6587\u4EF6\u5939",treeCheckStrictly:!0,loadData:Pa,treeDefaultExpandedKeys:[0],maxTagCount:0,treeCheckable:!0,treeData:Rt})),Fa&&Lt.createElement("span",{className:_e.allqingchu,onClick:Ua},Lt.createElement("i",{className:"iconfont icon-guanbi4"}),Lt.createElement("span",null,"\u6E05\u9664\u7B5B\u9009\u6761\u4EF6")),Lt.createElement(P.default.Item,{style:{flex:"0 0 auto",marginRight:0,marginLeft:"auto"},name:"keyword"},Lt.createElement(E.default.Search,{className:_e.search,placeholder:"\u8BF7\u8F93\u5165\u5173\u952E\u8BCD\u641C\u7D22",allowClear:!0,suffix:Lt.createElement("i",{className:`iconfont icon-sousuo9 font14 ${_e.searchIcon}`,onClick:()=>Xn.submit()}),onSearch:gn=>{Xn.submit()}}))),Lt.createElement("div",{style:{background:"#F6F7F9",display:"flex",alignItems:"center",marginTop:18,height:40,paddingLeft:10,paddingRight:20}},Lt.createElement("div",{onClick:()=>{An.updated_at==="asc"?An.updated_at="desc":An.updated_at="asc",Or(ar(Bn({},An),{page:1})),ba(ar(Bn({},An),{page:1}))}}," ",An.updated_at?Lt.createElement("img",{src:An.updated_at==="asc"?wn.Z:En.Z,style:{width:"15px",verticalAlign:"text-bottom"},className:"font14 mr5 c-light-primary"}):Lt.createElement("i",{style:{fontSize:"14px"},className:"iconfont icon-jiangxu mr5 c-light-primary"}),"\u6309\u66F4\u65B0\u65F6\u95F4\u6392\u5E8F"),Lt.createElement("div",{onClick:()=>{An.quotes==="asc"?An.quotes="desc":An.quotes="asc",Or(ar(Bn({},An),{page:1})),ba(ar(Bn({},An),{page:1}))},style:{marginLeft:20}}," ",An.quotes?Lt.createElement("img",{src:An.quotes==="asc"?wn.Z:En.Z,style:{width:"15px",verticalAlign:"text-bottom"},className:"font14 mr5 c-light-primary"}):Lt.createElement("i",{style:{fontSize:"14px"},className:"iconfont icon-jiangxu mr5 c-light-primary"}),"\u6309\u4F7F\u7528\u6B21\u6570\u6392\u5E8F")),Lt.createElement(W.default,{style:{marginTop:2,marginBottom:20},scroll:{y:260},dataSource:(dr==null?void 0:dr.items)||(dr==null?void 0:dr.shixun_list),pagination:!1,loading:ta,rowKey:gn=>gn.id,rowSelection:{type:Dn||Un?"radio":"checkbox",selectedRowKeys:sr,getCheckboxProps:gn=>({disabled:gn.shixun_tag_num===1||(fa==null?void 0:fa.find(fr=>gn.id===fr))}),onSelect(gn,fr,ya){if(Dn||Un){$n([gn.id]),ga.current=new Set([gn.id]),Qn(1),xr([gn.id]);return}if(fr)(Lr||gn!=null&&gn.challenge_names)&&Ur([...Ca,gn.id]),$n([...sr,gn.id]),gn.identifier?na.current.add(gn.id):ga.current.add(gn.id),Qn(1),xr([...Dr,gn.id]);else{gn.identifier?na.current.delete(gn.id):ga.current.delete(gn.id);let Wr=Dr.filter(Kr=>Kr!==gn.id);if($n(Wr),xr(Wr),Lr||gn!=null&&gn.challenge_names){let Kr=Ca.filter(La=>La!==gn.id);Ur([...Kr])}if(An.type==="5"){ti(ar(Bn({},An),{list:[...Wr]}));return}}},onSelectAll(gn,fr,ya){var Wr,Kr;if(gn){const La=ya.map(wr=>wr.id),Zr=(Kr=ya==null?void 0:ya.filter(wr=>wr==null?void 0:wr.challenge_names))==null?void 0:Kr.map(wr=>wr.id);Ur([...Ca,...Zr]),$n([...sr,...La]),xr([...Dr,...La]);for(const wr of ya)wr.identifier?na.current.add(wr.id):ga.current.add(wr.id)}else{const La=ya.map(Ma=>Ma.id),Zr=sr.filter(Ma=>!La.some(Aa=>Aa===Ma)),wr=(Wr=ya==null?void 0:ya.filter(Ma=>Ma==null?void 0:Ma.challenge_names))==null?void 0:Wr.map(Ma=>Ma.id);$n([...Zr]),xr([...Zr]);let Ya=Ca.filter(Ma=>!wr.some(Aa=>Aa===Ma.id));Ur([...Ya]),An.type==="5"&&ti(ar(Bn({},An),{list:[...Zr]}));for(const Ma of La)Ma.identifier?na.current.delete(Ma):ga.current.delete(Ma)}}},columns:[{title:"\u9898\u578B",dataIndex:"item_type",key:"item_type",render:(gn,fr,ya)=>{var Wr,Kr;return Lt.createElement(d.Z,{title:ir(fr)},Lt.createElement("div",null,Lr||fr!=null&&fr.challenge_names?"\u5B9E\u8BAD\u9898":(Kr=(Wr=ea==null?void 0:ea.filter(La=>La.value===gn))==null?void 0:Wr[0])==null?void 0:Kr.name))}},{title:"\u8BD5\u9898\u540D\u79F0",dataIndex:"name",width:Lr?"30%":"60%",key:"name",render:(gn,fr,ya)=>{var Wr;return Lt.createElement("div",{style:{display:"flex",alignItems:"center"}},Lt.createElement(d.Z,{title:ir(fr)},Lt.createElement("div",{className:fr!=null&&fr.high_resources_consume?_e.q_title:""},Lt.createElement(ct.Z,{key:1,showLines:1,showTextOnly:!0,value:Lr||fr!=null&&fr.challenge_names?fr!=null&&fr.title||gn===null?"--":gn:(fr==null?void 0:fr.item_type)=="BPROGRAM"?(Wr=fr==null?void 0:fr.program_attr)==null?void 0:Wr.description:gn}))),(fr==null?void 0:fr.high_resources_consume)&&Lt.createElement(fn.Z,{type:"shixun",style:{marginLeft:10}}))}},{title:"\u521B\u5EFA\u8005",dataIndex:"author_name",key:"author_name",hidden:!Lr,render:(gn,fr,ya)=>{var Wr;return Lt.createElement(d.Z,{title:ir(fr)},Lt.createElement("span",null,gn?(Wr=gn==null?void 0:gn.split("\u3001"))==null?void 0:Wr[0]:"- -"))}},{title:"\u6240\u5C5E\u5355\u4F4D",dataIndex:"author_school_name",key:"author_school_name",hidden:!Lr,render:(gn,fr,ya)=>Lt.createElement(d.Z,{title:ir(fr)},Lt.createElement("span",null,gn||"- -"))},{title:"\u96BE\u5EA6",dataIndex:"difficulty",key:"difficulty",render:(gn,fr,ya)=>{var Wr,Kr,La,Zr;return Lt.createElement(d.Z,{title:ir(fr)},Lt.createElement("div",null,Lr||fr!=null&&fr.challenge_names?(fr==null?void 0:fr.level)||((Kr=(Wr=ha==null?void 0:ha.filter(wr=>wr.value===gn))==null?void 0:Wr[0])==null?void 0:Kr.name):(Zr=(La=ha==null?void 0:ha.filter(wr=>wr.value===gn))==null?void 0:La[0])==null?void 0:Zr.name))}},{title:"\u5173\u5361\u6570\u91CF",dataIndex:"challenges_count",key:"challenges_count",hidden:!Lr,render:(gn,fr,ya)=>Lt.createElement(d.Z,{title:ir(fr)},Lt.createElement("div",null,gn||"- -"))},{title:"\u4F7F\u7528\u6B21\u6570",dataIndex:"quotes",key:"quotes",render:(gn,fr,ya)=>Lt.createElement(d.Z,{title:ir(fr)},Lt.createElement("div",null,Lr||fr!=null&&fr.challenge_names?(fr==null?void 0:fr.study_count)||(fr==null?void 0:fr.stu_num):gn))},{title:Lt.createElement("span",null,"\u53D1\u5E03\u72B6\u6001 ",Lt.createElement(d.Z,{title:"\u672A\u53D1\u5E03\u7684\u5B9E\u8DF5\u9879\u76EE\u4E0D\u80FD\u88AB\u9009\u7528"},Lt.createElement(nn.Z,null))),dataIndex:"shixun_tag_num_name",key:"shixun_tag_num_name",hidden:!Lr,render:(gn,fr,ya)=>Lt.createElement(d.Z,{title:ir(fr)},Lt.createElement("div",null,gn||"- -"))},{title:"\u64CD\u4F5C",dataIndex:"id",key:"item_type",render:(gn,fr,ya)=>Lt.createElement(d.Z,{title:ir(fr)},Lt.createElement("div",{style:{flex:1,textAlign:"start"}},Lt.createElement("a",{onClick:()=>{var Wr,Kr;oa(ar(Bn({},fr),{question_type:Lr||fr!=null&&fr.challenge_names?5:(Kr=(Wr=ea==null?void 0:ea.filter(La=>La.value===(fr==null?void 0:fr.item_type)))==null?void 0:Wr[0])==null?void 0:Kr.question_type})),va(!0)}},"\u67E5\u770B"),(fr==null?void 0:fr.shixun_tag_num)===1&&Lt.createElement("a",{style:{marginLeft:10},onClick:()=>{m.default.confirm({title:"\u63D0\u793A",icon:null,centered:!0,width:400,content:Lt.createElement("div",null,"\u662F\u5426\u786E\u5B9A\u53D1\u5E03",Lt.createElement("span",{style:{cursor:"pointer",color:"#3061D0"},onClick:()=>{window.open(`/shixuns/${fr==null?void 0:fr.identifier}/challenges`)}},(fr==null?void 0:fr.shixun_name)||"--"),"\uFF1F"),onOk:()=>pr(void 0,null,function*(){if(!ci(fr==null?void 0:fr.identifier))return new Promise((Wr,Kr)=>{Kr()})})})}},"\u53D1\u5E03")))}].filter(gn=>!gn.hidden)}),Lt.createElement(j.Z,{current:An.page,total:(dr==null?void 0:dr.items_count)||(dr==null?void 0:dr.shixuns_count),style:{marginBottom:20},defaultPageSize:An.per_page,showTotal:gn=>Lt.createElement("span",null,"\u5171\xA0",Lt.createElement("span",{style:{color:"#165DFF"}},gn),"\xA0\u6761\u6570\u636E"),pageSize:An.per_page,onChange:(gn,fr)=>{An.page=gn,An.per_page=fr,Or(Bn({},An)),ba(Bn({},An))}}),Lt.createElement("div",{className:_e.bottom},Lt.createElement(p.ZP,{className:_e.no,onClick:()=>{et(!1)}},"\u53D6\u6D88"),Lt.createElement(p.ZP,{loading:it,style:{width:it&&75},className:_e.yes,onClick:()=>pr(void 0,null,function*(){if((Dr==null?void 0:Dr.length)<=0){_.ZP.info(Dn||Un?"\u8BF7\u9009\u62E9\u4E00\u9053\u8BD5\u9898":"\u5F53\u524D\u6682\u672A\u9009\u62E9\u6570\u636E");return}console.log("----",ga.current,na.current),Cn([...ga.current],[...na.current],!0,Dr==null?void 0:Dr.length)})},Dn?"\u5F00\u59CB\u6362\u9898":"\u786E\u8BA4"))),Lt.createElement(m.default,{open:la,title:"\u9898\u76EE\u8BE6\u60C5",footer:!1,className:_e.previewModal,width:1e3,centered:!0,onCancel:()=>{va(!1)},onOk:()=>{va(!1)}},Lt.createElement(sn,{qitem:aa})))};var er=(0,k.connect)(({shixunsDetail:et,newExercisePaper:Tt})=>({shixunsDetail:et,newExercisePaper:Tt}))(nr),Yn=M(69267),St=M(59301),Pr=Object.defineProperty,Xr=Object.defineProperties,Ir=Object.getOwnPropertyDescriptors,Hr=Object.getOwnPropertySymbols,Fr=Object.prototype.hasOwnProperty,$r=Object.prototype.propertyIsEnumerable,rr=(et,Tt,Ct)=>Tt in et?Pr(et,Tt,{enumerable:!0,configurable:!0,writable:!0,value:Ct}):et[Tt]=Ct,tr=(et,Tt)=>{for(var Ct in Tt||(Tt={}))Fr.call(Tt,Ct)&&rr(et,Ct,Tt[Ct]);if(Hr)for(var Ct of Hr(Tt))$r.call(Tt,Ct)&&rr(et,Ct,Tt[Ct]);return et},Nn=(et,Tt)=>Xr(et,Ir(Tt)),Ft=(et,Tt,Ct)=>new Promise((Cn,cr)=>{var it=un=>{try{Dn(Ct.next(un))}catch(Un){cr(Un)}},Tr=un=>{try{Dn(Ct.throw(un))}catch(Un){cr(Un)}},Dn=un=>un.done?Cn(un.value):Promise.resolve(un.value).then(it,Tr);Dn((Ct=Ct.apply(et,Tt)).next())});let hn=[{name:"\u6839\u8282\u70B9",src:"/images/one.svg",color:"#CC7CF5",bordercolor:"#A150CB",img:"/images/gjd.svg"},{name:"\u8BFE\u7A0B",src:"/images/kc.svg",color:"#3241F7",bordercolor:"#3437D9",img:"/images/kcjd.svg"},{name:"\u7AE0\u8282",src:"/images/zj.svg",color:"#5e54e7",bordercolor:"#7f77f9",img:"/images/zjjd.svg"},{name:"\u77E5\u8BC6\u70B9",src:"/images/zsd.svg",color:"#FFDF55",bordercolor:"#FFD60F",img:"/images/zsdjd.svg"},{name:"\u5B9E\u8BAD",src:"/images/sx.svg",color:"#4E9DFF",bordercolor:"#0882FB",img:"/images/sxjd.svg"},{name:"\u4F5C\u4E1A",src:"/images/zy.svg",color:"#445DF3",bordercolor:"#3149D5",img:"/images/zyjd.svg"},{name:"\u89C6\u9891",src:"/images/sp.svg",color:"#6BC4DE",bordercolor:"#339DC4",img:"/images/spjd.svg"},{name:"\u8BFE\u4EF6",src:"/images/fj.svg",color:"#6BDE73",bordercolor:"#33C448",img:"/images/kjjd.svg"},{name:"\u8BD5\u5377",src:"/images/sj.svg",color:"#2D9534",bordercolor:"#077A04",img:"/images/sjjd.svg"},{name:"\u5176\u4ED6",src:"/images/qt.svg",color:"#2D947C",bordercolor:"#157660",img:"/images/qtjd.svg"}];const Gn=[{name:"\u57FA\u672C\u4FE1\u606F",key:1},{name:"\u5173\u8054\u8D44\u6E90",key:4},{name:"\u5B66\u4E60\u7EDF\u8BA1",key:3}];let Vn=[{name:"\u4F5C\u4E1A",id:"zy",item_type:2},{name:"\u5B9E\u8BAD",id:"sx",item_type:2},{name:"\u6559\u6750",id:"jc",item_type:2},{name:"\u89C6\u9891",id:"sp",item_type:2},{name:"\u8BFE\u4EF6",id:"kj",item_type:2},{name:"\u8BD5\u5377",id:"sj",item_type:2},{name:"\u9898\u96C6",id:"tj",item_type:2},{name:"\u8BD5\u9898",id:"st",item_type:2}],gr=[{name:"\u7AE0\u8282",id:"zj",item_type:1},{name:"\u77E5\u8BC6\u70B9",id:"zsd",item_type:1}];const Mr=({pathsDetail:et,user:Tt,globalSetting:Ct,loading:Cn,dispatch:cr,items:it,showdetail:Tr,setshowdetail:Dn,containerRef:un,getData:Un,setshow:vr,Tabsdatas:On,uuid:hr,tpacti:An,initdata:Or,routeData:or={}})=>{var Rr,sr,$n,Dr,xr,dr,kr,ta,Ar,Xn,aa,oa,la,va,Lr,ma,Ca,Ur,kn,Qn,jn,lr,Rt,Yr,fa,da,ea,Hn,jr,sa,na,ga,ha,Ea,Za,Fa,Xa,Ua,ba;const Gr=(0,k.useParams)(),[wa,ti]=(0,h.useState)(0),[ci]=P.default.useForm(),[ir,Qr]=(0,h.useState)({});let[Pa,Ba]=(0,h.useState)(!1);const[Ia,gn]=(0,h.useState)(!1),[fr,ya]=(0,h.useState)("1"),[Wr,Kr]=(0,h.useState)([]),[La,Zr]=(0,h.useState)(1),[wr,Ya]=(0,h.useState)(2),[Ma,Aa]=(0,h.useState)(2),[qa,Qa]=(0,h.useState)(),[ka,_i]=(0,h.useState)();let[Sa,hi]=(0,h.useState)([]);const[Ii,ji]=(0,h.useState)({}),[Po,co]=(0,h.useState)(!1),[qi,$i]=(0,h.useState)(""),[eo,to]=(0,h.useState)([]),[_o]=(0,k.useSearchParams)(),[fo,ao]=(0,h.useState)(!1),[Eo,io]=(0,h.useState)([]),[Li,xo]=(0,h.useState)([]),[$a,Si]=(0,h.useState)([]),[ho,Zi]=(0,h.useState)(!1),[Vo,jo]=(0,h.useState)(!1),[Io,Co]=(0,h.useState)(!1),[ia,Yi]=(0,h.useState)(!1),[Ui,Bi]=(0,h.useState)([]);let[mi,bo]=(0,h.useState)({tags:[],tagszy:[],tagslx:[]});const[no,Zo]=(0,h.useState)([{label:"\u5B9E\u8BAD",children:St.createElement(we,{getother:Ni,types:"1",ktzykey:fr,onChange:wt=>{Kr(wt)}}),key:"1"},{label:"\u89C6\u9891",children:St.createElement(we,{getother:Ni,types:"2",ktzykey:fr,onChange:wt=>{Kr(wt)}}),key:"2"},{label:"\u8BFE\u4EF6",children:St.createElement(we,{getother:Ni,types:"3",ktzykey:fr,onChange:wt=>{Kr(wt)}}),key:"3"},{label:"\u8BD5\u5377",children:St.createElement(we,{getother:Ni,types:"4",ktzykey:fr,onChange:wt=>{console.log("----",wt),Kr(wt)}}),key:"4"}].filter(wt=>!!wt));let[vo,Lo]=(0,h.useState)([]),[Ao,Ro]=(0,h.useState)([]);const[So,Bo]=(0,h.useState)(0),[mo,Do]=(0,h.useState)(0),[Di,Ho]=(0,h.useState)([]),[qr,vi]=(0,h.useState)({bh:[],qx:[],hx:[],gl:[]}),No=wt=>{var Nr,Jr;return(0,t.ZP)("/api/subject_knowledge/create_study.json",{method:"post",body:{subject_id:Gr==null?void 0:Gr.pathId,uuid:((Nr=wt==null?void 0:wt.items)==null?void 0:Nr.uuid)||((Jr=wt==null?void 0:wt.items)==null?void 0:Jr.id)}}),cr({type:"userDetail/logWatchHistory",payload:tr({},wt)})},Hi=wt=>((0,t.ZP)("/api/subject_knowledge/create_study.json",{method:"post",body:{subject_id:Gr==null?void 0:Gr.pathId,uuid:hr}}),cr({type:"userDetail/logWatchHistory",payload:tr({},wt)}));function Fo(){return Ft(this,null,function*(){Yi(!0);let wt=yield(0,t.ZP)("/api/knowledge/v2/knowledge_resources.json",{method:"get",params:tr({subject_id:Gr==null?void 0:Gr.pathId,uuid:(it==null?void 0:it.keys)||(it==null?void 0:it.id)},or)});Yi(!1),(wt==null?void 0:wt.status)===0&&Bi(wt==null?void 0:wt.data)})}const Uo={maxCount:1,fileList:Sa,accept:((sr=(Rr=ir==null?void 0:ir.label)==null?void 0:Rr[0])==null?void 0:sr.name)==="\u89C6\u9891"?".mp4":"",withCredentials:!0,beforeUpload:wt=>{var Nr,Jr;if(!(wt.type==="video/mp4")&&((Jr=(Nr=ir==null?void 0:ir.label)==null?void 0:Nr[0])==null?void 0:Jr.name)==="\u89C6\u9891")return _.ZP.error("\u53EA\u80FD\u4E0A\u4F20\u89C6\u9891"),B.default.LIST_IGNORE},action:`${K.Z.API_SERVER}/api/attachments.json`,onChange:wt=>{hi(wt==null?void 0:wt.fileList)}};function ro(){return Ft(this,null,function*(){var wt,Nr,Jr,Vr,Va;let pa=yield(0,t.ZP)("/api/knowledge/v2/get_node.json",{method:"get",params:{depth:1,subject_id:Gr==null?void 0:Gr.pathId}});if((pa==null?void 0:pa.status)===0){Bo(hr);const Oa=[...(Va=(Vr=(wt=pa==null?void 0:pa.data)==null?void 0:wt.nodes)==null?void 0:Vr.splice(1,(Jr=(Nr=pa==null?void 0:pa.data)==null?void 0:Nr.nodes)==null?void 0:Jr.length))==null?void 0:Va.map(Wa=>{var ri,gi,yi;return tr({label:(ri=Wa==null?void 0:Wa.properties)==null?void 0:ri.name,children:St.createElement(xe,{onChange:Ri=>{sessionStorage.setItem("typesdatajsoncopy",JSON.stringify(Ri))},itemsuuid:it==null?void 0:it.uuid,uuid:(gi=Wa==null?void 0:Wa.properties)==null?void 0:gi.uuid,typesdata:qr}),key:(yi=Wa==null?void 0:Wa.properties)==null?void 0:yi.uuid},Wa)})];vo=Oa,Lo(Oa),sessionStorage.setItem("typesdatajson",JSON.stringify(qr)),sessionStorage.setItem("typesdatajsoncopy",JSON.stringify(qr)),Ba(!0)}})}function wo(){return Ft(this,null,function*(){var wt;let Nr=yield(0,t.ZP)("/api/knowledge_items.json",{method:"get",params:{item_type:3,subject_id:Gr==null?void 0:Gr.pathId}});(Nr==null?void 0:Nr.status)===0&&(mi.tags=Nr==null?void 0:Nr.data,bo(tr({},mi)));let Jr=yield(0,t.ZP)("/api/knowledge_items.json",{method:"get",params:{item_type:5,subject_id:Gr==null?void 0:Gr.pathId}});(Jr==null?void 0:Jr.status)===0&&(mi.tagszy=[...Vn,...Jr==null?void 0:Jr.data2],mi.tagslx=[...gr,...Jr==null?void 0:Jr.data],bo(tr({},mi)));let Vr=yield(0,t.ZP)("/api/knowledge/v2/get_container_type.json",{method:"get",params:{url:it==null?void 0:it.resourceUrl,item_banks_group_ids:it==null?void 0:it.itemBanksGroupIds}});if($i(""),Si([]),localStorage.setItem("container_type_tupu",Vr==null?void 0:Vr.container_type),(it==null?void 0:it.nodeType)==="\u89C6\u9891"&&(((wt=Vr==null?void 0:Vr.attachment)==null?void 0:wt.file_type)==="video"||(Vr==null?void 0:Vr.container_type)==="video")&&$i(Vr==null?void 0:Vr.id),(it==null?void 0:it.resourceOrigin)===1&&(it==null?void 0:it.nodeType)!=="\u9898\u96C6"){let Va={url:it==null?void 0:it.resourceUrl,name:Vr==null?void 0:Vr.name,id:Vr==null?void 0:Vr.examination_bank_id,questionIdArr:Vr==null?void 0:Vr.item_bank_ids,shixun_ids:Vr==null?void 0:Vr.shixun_ids};Kr([Va])}(it==null?void 0:it.resourceOrigin)===1&&(it==null?void 0:it.nodeType)==="\u9898\u96C6"&&Si(Vr==null?void 0:Vr.item_banks_groups),(it==null?void 0:it.resourceOrigin)===2&&hi([{uid:"123",name:Vr==null?void 0:Vr.name,response:{id:"123",url:it==null?void 0:it.resourceUrl}}])})}function Ni(wt){return Ft(this,null,function*(){var Nr,Jr;let Vr=yield(0,t.ZP)("/api/knowledge/v2/get_container_type.json",{method:"get",params:{url:wt}});(Vr==null?void 0:Vr.status)===0&&((Vr==null?void 0:Vr.container_type)==="att"?ji({url:K.Z.API_SERVER+((Nr=Vr==null?void 0:Vr.attachment)==null?void 0:Nr.url),file_type:(Jr=Vr==null?void 0:Vr.attachment)==null?void 0:Jr.file_type}):window.open(wt))})}function Mo(){return Ft(this,null,function*(){let wt=yield(0,t.ZP)("/api/knowledge/v2/item_bank_groups.json",{method:"get",params:{subject_id:Gr==null?void 0:Gr.pathId}});(wt==null?void 0:wt.status)===0&&io(wt==null?void 0:wt.data)})}function po(){return Ft(this,null,function*(){var wt,Nr,Jr,Vr,Va,pa;Zr(1);let Oa=yield(0,t.ZP)("/api/knowledge/v2/get_node_detail.json",{method:"get",params:{nodeUuid:(it==null?void 0:it.keys)||(it==null?void 0:it.id),parentNodeUuids:On==null?void 0:On.map(Wa=>Wa==null?void 0:Wa.uuid).join(),depth:1,relationshipFilter:">",subgraphDepth:"-1",subgraphRelationshipFilter:"\u5305\u542B>",subject_id:Gr==null?void 0:Gr.pathId}});if((Oa==null?void 0:Oa.status)===0){Ho((wt=Oa==null?void 0:Oa.data)==null?void 0:wt.nodes),Qa((Jr=(Nr=Oa==null?void 0:Oa.data)==null?void 0:Nr.nodes)==null?void 0:Jr.filter(ri=>{var gi;return((gi=ri==null?void 0:ri.properties)==null?void 0:gi.uuid)===(it==null?void 0:it.keys)||(it==null?void 0:it.id)})),_i((Vr=Oa==null?void 0:Oa.data)==null?void 0:Vr.relationships);const Wa=[...(pa=(Va=Oa==null?void 0:Oa.data)==null?void 0:Va.graphNodeMappings)==null?void 0:pa.map((ri,gi)=>{var yi;return{label:`${ri==null?void 0:ri.parentNodeName}\uFF08${(yi=ri==null?void 0:ri.childNodeUuids)==null?void 0:yi.length}\uFF09`,children:St.createElement(yt,{datas:Oa==null?void 0:Oa.data,items:ri==null?void 0:ri.childNodeUuids}),key:gi}})];Do(0),Ao=Wa,Ro(Wa)}})}(0,h.useEffect)(()=>{Tr&&(po(),wo())},[Tr,it]);const pi=(...wt)=>Ft(void 0,[...wt],function*(Nr={}){return yield cr({type:"pathsDetail/getKnowledgeGraphs",payload:tr({graphable_type:_o.get("type")==="classrooms"?"course":"subject",graphable_id:Gr==null?void 0:Gr.pathId},Nr)})});return St.createElement(he.Z,null,St.createElement("div",null,Tr&&St.createElement(C.Z,{open:Tr,width:"700rem",maskStyle:{background:"#000",opacity:"0.1"},keyboard:!0,maskClosable:!0,closable:!1,rootClassName:n.drawer,getContainer:()=>un.current,onClose:()=>{Dn(!1),$i("")}},St.createElement("div",{className:n.detailmodal},St.createElement("div",null,St.createElement("span",{className:n.title},"\u8282\u70B9\u8BE6\u60C5"),(($n=et==null?void 0:et.detail)==null?void 0:$n.can_managed)&&hr!=="\u5B66\u4E60\u8DEF\u5F84"&&(it==null?void 0:it.colorType)!=="1"&&St.createElement("i",{className:"iconfont icon-bianji-moren",onClick:()=>Ft(void 0,null,function*(){var wt,Nr,Jr,Vr,Va,pa,Oa,Wa,ri,gi;ti(3),Dn(!1);let yi={name:it.name,description:it.description,label:((Nr=(wt=qa==null?void 0:qa[0])==null?void 0:wt.labels)==null?void 0:Nr[1])==="\u8D44\u6E90"?(Jr=mi==null?void 0:mi.tagszy)==null?void 0:Jr.filter(te=>(te==null?void 0:te.name)===(it==null?void 0:it.nodeType)):(Vr=mi==null?void 0:mi.tagslx)==null?void 0:Vr.filter(te=>(te==null?void 0:te.name)===(it==null?void 0:it.nodeType)),tag:(Va=mi==null?void 0:mi.tags)==null?void 0:Va.filter(te=>{var ue,Ie;return(Ie=(ue=it==null?void 0:it.tags)==null?void 0:ue.map(He=>He==null?void 0:He.name))==null?void 0:Ie.includes(te==null?void 0:te.name)}),resourceOrigin:it.resourceOrigin,url:(it==null?void 0:it.resourceOrigin)===3?it==null?void 0:it.resourceUrl:""},Ri=(pa=ka==null?void 0:ka.filter(te=>(te==null?void 0:te.type)==="\u88AB\u5305\u542B"&&(te==null?void 0:te.startNodeUuid)===((it==null?void 0:it.keys)||(it==null?void 0:it.id))))==null?void 0:pa.map(te=>{var ue,Ie;return{uuid:te==null?void 0:te.endNodeUuid,name:(Ie=(ue=Di==null?void 0:Di.find(He=>{var ot;return((ot=He==null?void 0:He.properties)==null?void 0:ot.uuid)===(te==null?void 0:te.endNodeUuid)}))==null?void 0:ue.properties)==null?void 0:Ie.name}}),ki=(Oa=ka==null?void 0:ka.filter(te=>(te==null?void 0:te.type)==="\u5305\u542B"&&(te==null?void 0:te.startNodeUuid)===((it==null?void 0:it.keys)||(it==null?void 0:it.id))))==null?void 0:Oa.map(te=>{var ue,Ie;return{uuid:te==null?void 0:te.endNodeUuid,name:(Ie=(ue=Di==null?void 0:Di.find(He=>{var ot;return((ot=He==null?void 0:He.properties)==null?void 0:ot.uuid)===(te==null?void 0:te.endNodeUuid)}))==null?void 0:ue.properties)==null?void 0:Ie.name}});to(ki);let ii=(Wa=ka==null?void 0:ka.filter(te=>(te==null?void 0:te.type)==="\u524D\u5E8F"&&(te==null?void 0:te.startNodeUuid)===((it==null?void 0:it.keys)||(it==null?void 0:it.id))))==null?void 0:Wa.map(te=>{var ue,Ie;return{uuid:te==null?void 0:te.endNodeUuid,name:(Ie=(ue=Di==null?void 0:Di.find(He=>{var ot;return((ot=He==null?void 0:He.properties)==null?void 0:ot.uuid)===(te==null?void 0:te.endNodeUuid)}))==null?void 0:ue.properties)==null?void 0:Ie.name}}),oo=(ri=ka==null?void 0:ka.filter(te=>(te==null?void 0:te.type)==="\u540E\u5E8F"&&(te==null?void 0:te.startNodeUuid)===((it==null?void 0:it.keys)||(it==null?void 0:it.id))))==null?void 0:ri.map(te=>{var ue,Ie;return{uuid:te==null?void 0:te.endNodeUuid,name:(Ie=(ue=Di==null?void 0:Di.find(He=>{var ot;return((ot=He==null?void 0:He.properties)==null?void 0:ot.uuid)===(te==null?void 0:te.endNodeUuid)}))==null?void 0:ue.properties)==null?void 0:Ie.name}}),so=(gi=ka==null?void 0:ka.filter(te=>((te==null?void 0:te.type)==="\u5173\u8054"||(te==null?void 0:te.type)==="\u88AB\u5173\u8054")&&(te==null?void 0:te.startNodeUuid)===((it==null?void 0:it.keys)||(it==null?void 0:it.id))))==null?void 0:gi.map(te=>{var ue,Ie;return{uuid:te==null?void 0:te.endNodeUuid,name:(Ie=(ue=Di==null?void 0:Di.find(He=>{var ot;return((ot=He==null?void 0:He.properties)==null?void 0:ot.uuid)===(te==null?void 0:te.endNodeUuid)}))==null?void 0:ue.properties)==null?void 0:Ie.name}});vi({bh:Ri,qx:ii,hx:oo,gl:so}),ci.setFieldsValue(yi),Qr(yi)}),style:{color:"#1B8565",marginLeft:10,cursor:"pointer"}})),St.createElement("div",{style:{display:"flex",alignItems:"center"}},(it==null?void 0:it.colorType)!=="1"&&((Dr=et==null?void 0:et.detail)==null?void 0:Dr.can_managed)&&hr!=="\u5B66\u4E60\u8DEF\u5F84"&&St.createElement(p.ZP,{type:"primary",className:n.button,onClick:(0,ne.debounce)(()=>Ft(void 0,null,function*(){var wt,Nr;let Jr=yield(0,t.ZP)("/api/knowledge/v2/get_node.json",{method:"get",params:{nodeUuid:(it==null?void 0:it.keys)||(it==null?void 0:it.id),subject_id:Gr==null?void 0:Gr.pathId,depth:1,relationshipFilter:"\u88AB\u5305\u542B>"}});if((Jr==null?void 0:Jr.status)===0){let Vr=(Nr=(wt=Jr==null?void 0:Jr.data)==null?void 0:wt.nodes)==null?void 0:Nr.filter(pa=>{var Oa;return((Oa=pa==null?void 0:pa.properties)==null?void 0:Oa.uuid)!==((it==null?void 0:it.keys)||(it==null?void 0:it.id))}),Va=Vr==null?void 0:Vr.map(pa=>{var Oa,Wa;return{name:(Oa=pa==null?void 0:pa.properties)==null?void 0:Oa.name,uuid:(Wa=pa==null?void 0:pa.properties)==null?void 0:Wa.uuid}});qr.bh=Va,vi(qr),ti(1),Dn(!1),Kr([]),Si([]),hi([])}}),500)},"\u589E\u52A0\u540C\u7EA7\u8282\u70B9"),((xr=et==null?void 0:et.detail)==null?void 0:xr.can_managed)&&hr!=="\u5B66\u4E60\u8DEF\u5F84"&&St.createElement(p.ZP,{type:"primary",className:n.button,onClick:()=>{var wt,Nr;((Nr=(wt=qr==null?void 0:qr.bh)==null?void 0:wt.filter(Jr=>(Jr==null?void 0:Jr.uuid)===(it==null?void 0:it.id)))==null?void 0:Nr.length)>0||qr.bh.push({name:it==null?void 0:it.name,uuid:(it==null?void 0:it.keys)||(it==null?void 0:it.id)}),ti(2),Dn(!1),Kr([]),Si([]),hi([])}},"\u589E\u52A0\u5B50\u7EA7\u8282\u70B9"),((dr=et==null?void 0:et.detail)==null?void 0:dr.can_managed)&&hr!=="\u5B66\u4E60\u8DEF\u5F84"&&St.createElement(p.ZP,{className:n.button,onClick:()=>{let wt="";m.default.confirm({title:"\u63D0\u793A",icon:null,centered:!0,getContainer:un.current,content:St.createElement("div",null,St.createElement("p",null,"\u5220\u9664\u8282\u70B9\u4F1A\u540C\u6B65\u5220\u9664\u5F53\u524D\u8282\u70B9\u7684\u5B50\u7EA7\u8282\u70B9\uFF0C\u8BF7\u5728\u4E0B\u65B9\u8F93\u5165\u6846\u8F93\u5165",St.createElement("span",{style:{color:"red"}},"\u201C\u786E\u8BA4\u5220\u9664\u201D")),St.createElement(E.default,{onChange:Nr=>{wt=Nr.target.value}})),onOk:()=>Ft(void 0,null,function*(){if(wt!=="\u786E\u8BA4\u5220\u9664")return _.ZP.info("\u8BF7\u8F93\u5165\u786E\u8BA4\u5220\u9664"),Promise.reject();if(wt==="\u786E\u8BA4\u5220\u9664"){let Nr=yield(0,t.ZP)("/api/knowledge/v2/del_node.json",{method:"post",body:{uuid:(it==null?void 0:it.keys)||(it==null?void 0:it.id),subject_id:Gr==null?void 0:Gr.pathId}});(Nr==null?void 0:Nr.status)===0&&(_.ZP.info("\u5220\u9664\u6210\u529F"),pi({graphable_id:Gr==null?void 0:Gr.pathId}),(it==null?void 0:it.colorType)!=="1"?(vr(!1),Un()):Or(),Dn(!1))}})})}},"\u5220\u9664\u8282\u70B9"),((kr=et==null?void 0:et.detail)==null?void 0:kr.can_managed)&&hr==="\u5B66\u4E60\u8DEF\u5F84"&&_o.get("type")==="classrooms"&&St.createElement(p.ZP,{type:"primary",className:n.button,onClick:()=>{m.default.confirm({title:"\u63D0\u793A",icon:null,centered:!0,getContainer:un.current,okText:"\u786E\u8BA4\u540C\u6B65",content:St.createElement("div",null,"\u8BE5\u8282\u70B9\u4E0B\u5171",St.createElement("span",{className:"c-light-primary"},it==null?void 0:it.currentResourceTotal),"\u4E2A\u8D44\u6E90\uFF0C\u786E\u8BA4\u540C\u6B65\u540E\uFF0C\u8FD9\u4E9B\u8D44\u6E90\u5C06\u6309\u7167\u7C7B\u578B\u5206\u522B\u53D1\u9001\u5230\u8BFE\u5802\u5B9E\u9A8C\u3001\u56FE\u6587\u4F5C\u4E1A\u3001\u5728\u7EBF\u8003\u8BD5\u3001\u89C6\u9891\u76F4\u64AD\u3001\u6559\u5B66\u8D44\u6599\u6A21\u5757\u4E2D\uFF0C\u53EF\u524D\u5F80\u5BF9\u5E94\u6A21\u5757\u8FDB\u884C\u8D44\u6E90\u53D1\u5E03\u7B49\u64CD\u4F5C\u3002"),onOk:()=>Ft(void 0,null,function*(){const wt=yield(0,t.ZP)("/api/subject_knowledge/send_to_course",{method:"post",body:{id:it==null?void 0:it.resourceid,subject_id:Gr==null?void 0:Gr.pathId}});(wt==null?void 0:wt.status)===0&&_.ZP.success("\u64CD\u4F5C\u6210\u529F")})})}},"\u540C\u6B65\u8D44\u6E90\u5230\u8BFE\u5802"),St.createElement(a.Z,{onClick:()=>{Dn(!1)},style:{marginLeft:"10rem",fontSize:"16rem",color:"#979797"}}))),St.createElement("div",{className:n.tabstyle},Gn==null?void 0:Gn.map(wt=>St.createElement("div",{onClick:()=>{Zr(wt.key),wt.key===4&&Fo()},className:La===(wt==null?void 0:wt.key)?n.itemsactivite:n.items},wt==null?void 0:wt.name))),La===1&&St.createElement("div",null,St.createElement("div",{className:n.nodetitle},wr===1&&St.createElement(c.Z,{onClick:()=>Ya(2)}),wr===2&&St.createElement(u.Z,{onClick:()=>Ya(1)}),St.createElement("span",{style:{marginLeft:"10rem",fontSize:"16rem",color:"#1B8565"}},"\u8282\u70B9\u5C5E\u6027")),wr===2&&St.createElement("div",{className:n.nodeboyd},St.createElement("div",{className:n.listitem,style:{marginTop:"0rem"}},St.createElement("label",null,"\u8282\u70B9\u540D\u79F0"),St.createElement("span",null,it==null?void 0:it.name)),St.createElement("div",{className:n.listitem},St.createElement("label",null,"\u8282\u70B9\u7B80\u4ECB"),St.createElement("pre",null,(it==null?void 0:it.description)||"\u6682\u65E0")),St.createElement("div",{className:n.listitem},St.createElement("label",null,"\u8282\u70B9\u7C7B\u578B"),St.createElement("div",null,(it==null?void 0:it.nodeType)&&St.createElement(I,{containerRef:un,type:5,value:[{name:it==null?void 0:it.nodeType}],pathsDetail:et,showmodal:!1,dataSources:[]})," ")),St.createElement("div",{className:n.listitem},St.createElement("label",null,"\u8282\u70B9\u6807\u7B7E"),St.createElement("span",null,((ta=it==null?void 0:it.tags)==null?void 0:ta.length)>0&&St.createElement(I,{containerRef:un,type:5,pathsDetail:et,value:it==null?void 0:it.tags,showmodal:!1,dataSources:[]}))),(it==null?void 0:it.nodeType)==="\u89C6\u9891"&&(it==null?void 0:it.resourceOrigin)!==3&&qi&&St.createElement("div",{style:{height:"300rem",marginTop:"20rem"}},St.createElement(X.Z,{allow_skip:!0,videoId:qi,toLog:!0,src:it==null?void 0:it.resourceUrl,logWatchHistory:wt=>No(Nn(tr({},wt),{container_type:localStorage.getItem("container_type_tupu"),items:it}))})),(it==null?void 0:it.resourceOrigin)===3&&St.createElement("div",{style:{display:"flex",marginTop:"20rem",alignItems:"center"}},St.createElement("span",{style:{color:"#1B8565",fontSize:"16rem"}},it==null?void 0:it.resourceUrl),St.createElement(p.ZP,{style:{height:"40rem",padding:"0rem 10rem",fontSize:"14rem",marginLeft:"10rem"},onClick:()=>Ft(void 0,null,function*(){let wt=yield(0,t.ZP)("/api/subject_knowledge/create_study.json",{method:"post",body:{subject_id:Gr==null?void 0:Gr.pathId,uuid:it==null?void 0:it.uuid}});window.open(it==null?void 0:it.resourceUrl)}),type:"primary"},"\u524D\u5F80\u67E5\u770B")),(it==null?void 0:it.nodeType)==="\u9898\u96C6"&&($a==null?void 0:$a.map(wt=>St.createElement("div",{style:{display:"flex",alignItems:"center",marginTop:"10rem"}},St.createElement(d.Z,{title:wt==null?void 0:wt.name},St.createElement("span",{className:n.multiple,style:{color:"#1B8565",fontSize:"16rem",maxWidth:"80%"}},wt==null?void 0:wt.name)),St.createElement("div",{style:{marginLeft:"10rem",padding:"0rem 10rem",fontSize:"12rem",background:"#F6F7F9",color:"#909D99",borderRadius:"20rem"}},"\u8BD5\u9898\u6570 ",wt==null?void 0:wt.count)))),(it==null?void 0:it.nodeType)!="\u89C6\u9891"&&(it==null?void 0:it.nodeType)!="\u9898\u96C6"&&(it!=null&&it.resourceOrigin)&&[1,2].includes(it==null?void 0:it.resourceOrigin)?St.createElement("div",{style:{display:"flex",marginTop:"20rem",alignItems:"center"}},St.createElement("span",{style:{color:"#1B8565",fontSize:"16rem"}},(it==null?void 0:it.resourceOrigin)===1?(Ar=Wr==null?void 0:Wr[0])==null?void 0:Ar.name:(Xn=Sa==null?void 0:Sa[0])==null?void 0:Xn.name),(0,de.JA)()&&((it==null?void 0:it.nodeType)==="\u8BD5\u5377"||(it==null?void 0:it.nodeType)==="\u8BD5\u9898")?"":St.createElement(p.ZP,{style:{height:"40rem",padding:"0rem 10rem",fontSize:"14rem",marginLeft:"10rem"},onClick:()=>Ft(void 0,null,function*(){Ni(it==null?void 0:it.resourceUrl);let wt=yield(0,t.ZP)("/api/subject_knowledge/create_study.json",{method:"post",body:{subject_id:Gr==null?void 0:Gr.pathId,uuid:it==null?void 0:it.uuid}})}),type:"primary"},"\u524D\u5F80\u67E5\u770B"),((it==null?void 0:it.nodeType)==="\u8BD5\u5377"||(it==null?void 0:it.nodeType)==="\u8BD5\u9898")&&(it==null?void 0:it.resourceOrigin)===1&&St.createElement(p.ZP,{style:{height:"40rem",padding:"0rem 10rem",fontSize:"14rem",marginLeft:"10rem"},onClick:()=>Ft(void 0,null,function*(){var wt,Nr;const Jr=yield(0,tt.Mb)({categoryId:(wt=Wr==null?void 0:Wr[0])==null?void 0:wt.id});Jr!=null&&Jr.exercise_id&&(0,Re.xg)(`/classrooms/coursesId/exercise/${Jr.exercise_id}/${(Nr=Tt.userInfo)==null?void 0:Nr.login}/initate_answer`)}),type:"primary"},"\u6A21\u62DF\u8003\u8BD5")):""),St.createElement("div",{className:n.nodetitle},Ma===1&&St.createElement(c.Z,{onClick:()=>Aa(2)}),Ma===2&&St.createElement(u.Z,{onClick:()=>Aa(1)}),St.createElement("span",{style:{marginLeft:"10rem",fontSize:"16rem",color:"#1B8565"}},"\u8282\u70B9\u5173\u7CFB")),Ma===2&&St.createElement("div",{className:n.nodeboyd,style:{padding:0,minHeight:"530rem"}},St.createElement(l.default,{className:n.Tabs,activeKey:mo,destroyInactiveTabPane:!0,onChange:wt=>{Do(parseInt(wt))},type:"card",items:Ao}))),La===4&&St.createElement(o.Z,{spinning:ia},St.createElement("div",null,(Ui==null?void 0:Ui.length)===0&&St.createElement(Yn.Z,{text:"\u5F53\u524D\u8282\u70B9\u4E0B\u6682\u65E0\u8D44\u6E90"}),Ui==null?void 0:Ui.map(wt=>{var Nr;return St.createElement("div",{className:n.gllist},St.createElement("div",{style:{display:"flex",alignItems:"center"}},St.createElement("div",{className:n.gltag,style:{background:((Nr=hn==null?void 0:hn.find(Jr=>(Jr==null?void 0:Jr.name)==(wt==null?void 0:wt.nodeType)))==null?void 0:Nr.color)||"#2D947C"}},wt==null?void 0:wt.nodeType),St.createElement("div",{className:n.multiple,style:{flex:1}},wt==null?void 0:wt.name)),St.createElement("div",{style:{marginTop:20,color:"#5F6368",display:"flex",alignItems:"center",justifyContent:"space-between"}},St.createElement("div",{style:{flex:1}}),St.createElement("div",null,(wt==null?void 0:wt.nodeType)==="\u89C6\u9891"&&(wt==null?void 0:wt.resourceOrigin)!==3&&St.createElement(p.ZP,{type:"primary",onClick:()=>Ft(void 0,null,function*(){var Jr;let Vr=yield(0,t.ZP)("/api/knowledge/v2/get_container_type.json",{method:"get",params:{url:wt==null?void 0:wt.resourceUrl,item_banks_group_ids:it==null?void 0:it.itemBanksGroupIds}});(((Jr=Vr==null?void 0:Vr.attachment)==null?void 0:Jr.file_type)==="video"||(Vr==null?void 0:Vr.container_type)==="video")&&m.default.confirm({title:"\u64AD\u653E\u89C6\u9891",icon:null,closable:!0,footer:null,centered:!0,width:500,content:St.createElement(X.Z,{allow_skip:!0,videoId:Vr==null?void 0:Vr.id,toLog:!0,src:wt==null?void 0:wt.resourceUrl,logWatchHistory:Va=>Hi(Nn(tr({},Va),{uuid:wt==null?void 0:wt.uuid,container_type:Vr==null?void 0:Vr.container_type,item:wt}))})})})},"\u64AD\u653E\u89C6\u9891"),(wt==null?void 0:wt.resourceOrigin)===3&&St.createElement("div",{style:{display:"flex",marginTop:"20rem",alignItems:"center"}},St.createElement(p.ZP,{style:{height:"40rem",padding:"0rem 10rem",fontSize:"14rem",marginLeft:"10rem"},onClick:()=>Ft(void 0,null,function*(){let Jr=yield(0,t.ZP)("/api/subject_knowledge/create_study.json",{method:"post",body:{subject_id:Gr==null?void 0:Gr.pathId,uuid:wt==null?void 0:wt.uuid}});window.open(wt==null?void 0:wt.resourceUrl)}),type:"primary"},"\u524D\u5F80\u67E5\u770B")),(wt==null?void 0:wt.nodeType)!="\u89C6\u9891"&&(wt==null?void 0:wt.nodeType)!="\u9898\u96C6"&&(wt!=null&&wt.resourceOrigin)&&[1,2].includes(wt==null?void 0:wt.resourceOrigin)?St.createElement("div",{style:{display:"flex",marginTop:"20rem",alignItems:"center"}},(0,de.JA)()&&((wt==null?void 0:wt.nodeType)==="\u8BD5\u5377"||(wt==null?void 0:wt.nodeType)==="\u8BD5\u9898")?"":St.createElement(p.ZP,{style:{height:"40rem",padding:"0rem 10rem",fontSize:"14rem",marginLeft:"10rem"},onClick:()=>Ft(void 0,null,function*(){Ni(wt==null?void 0:wt.resourceUrl);let Jr=yield(0,t.ZP)("/api/subject_knowledge/create_study.json",{method:"post",body:{subject_id:Gr==null?void 0:Gr.pathId,uuid:wt==null?void 0:wt.uuid}})}),type:"primary"},"\u524D\u5F80\u67E5\u770B"),((wt==null?void 0:wt.nodeType)==="\u8BD5\u5377"||(wt==null?void 0:wt.nodeType)==="\u8BD5\u9898")&&(wt==null?void 0:wt.resourceOrigin)===1&&St.createElement(p.ZP,{style:{height:"40rem",padding:"0rem 10rem",fontSize:"14rem",marginLeft:"10rem"},onClick:()=>Ft(void 0,null,function*(){var Jr;let Vr=yield(0,t.ZP)("/api/knowledge/v2/get_container_type.json",{method:"get",params:{url:wt==null?void 0:wt.resourceUrl,item_banks_group_ids:it==null?void 0:it.itemBanksGroupIds}});if((wt==null?void 0:wt.resourceOrigin)===1&&(wt==null?void 0:wt.nodeType)!=="\u9898\u96C6"&&(Vr==null?void 0:Vr.status)===0){const Va=yield(0,tt.Mb)({categoryId:Vr==null?void 0:Vr.examination_bank_id});Va!=null&&Va.exercise_id&&(0,Re.xg)(`/classrooms/coursesId/exercise/${Va.exercise_id}/${(Jr=Tt.userInfo)==null?void 0:Jr.login}/initate_answer`)}}),type:"primary"},"\u6A21\u62DF\u8003\u8BD5")):"")))}))),La===3&&St.createElement("div",null,(0,de.JA)()?St.createElement(Pe,{uuid:(it==null?void 0:it.keys)||(it==null?void 0:it.id)}):St.createElement(Z,{uuid:(it==null?void 0:it.keys)||(it==null?void 0:it.id)}))),St.createElement(m.default,{title:St.createElement("span",{style:{fontSize:"18rem",color:"#000"}},wa===3?"\u7F16\u8F91":"\u521B\u5EFA","\u8282\u70B9"),centered:!0,destroyOnClose:!0,width:"1200rem",open:wa>0,getContainer:()=>un.current,onCancel:()=>{ti(0),ci.resetFields(),vi({qx:[],bh:[],hx:[],gl:[]}),hi([]),Qr({}),Kr([]),Si([])},okButtonProps:{loading:Po},onOk:()=>{ci.submit()}},St.createElement("div",{className:n.addmodal},St.createElement("div",{className:n.title},"\u8282\u70B9\u5C5E\u6027"),St.createElement(P.default,{className:n.form,labelCol:{flex:"92rem"},layout:"horizontal",form:ci,colon:!1,onValuesChange:(wt,Nr)=>{var Jr,Vr,Va,pa;Qr(tr({},Nr)),(Nr==null?void 0:Nr.resourceOrigin)!==1&&Kr([]),((Vr=(Jr=Nr==null?void 0:Nr.label)==null?void 0:Jr[0])==null?void 0:Vr.name)!=="\u9898\u96C6"&&Si([]),((pa=(Va=Nr==null?void 0:Nr.label)==null?void 0:Va[0])==null?void 0:pa.item_type)!==2&&(Kr([]),hi([]),Si([]),ci.setFieldsValue({resourceOrigin:0,url:""}))},onFinish:(0,ne.debounce)(wt=>Ft(void 0,null,function*(){var Nr,Jr,Vr,Va,pa,Oa,Wa,ri,gi,yi,Ri,ki,ii,oo,so,te,ue,Ie,He,ot,gt,Ut,Mt,Kt,Zt,xn,an,en,$t,mn,S,R,U,H,G,Q,ce,ae,Se,pe,Me,ze,Xe,mt,dt,nt,st,Ot,bt,Vt;if(((Nr=qr==null?void 0:qr.bh)==null?void 0:Nr.length)===0){_.ZP.warning("\u8282\u70B9\u5305\u542B\u5173\u7CFB\u4E0D\u80FD\u4E3A\u7A7A");return}if((wt==null?void 0:wt.resourceOrigin)===0){_.ZP.warning("\u8BF7\u9009\u62E9\u8D44\u6E90\u7C7B\u578B");return}if((wt==null?void 0:wt.resourceOrigin)===1&&(Wr==null?void 0:Wr.length)<=0&&((Jr=wt==null?void 0:wt.label[0])==null?void 0:Jr.name)!=="\u9898\u96C6"){_.ZP.warning("\u8BF7\u9009\u62E9\u5BF9\u5E94\u8D44\u6E90");return}if((wt==null?void 0:wt.resourceOrigin)===1&&($a==null?void 0:$a.length)<=0&&((Vr=wt==null?void 0:wt.label[0])==null?void 0:Vr.name)==="\u9898\u96C6"){_.ZP.warning("\u8BF7\u9009\u62E9\u5BF9\u5E94\u8D44\u6E90");return}if((wt==null?void 0:wt.resourceOrigin)===2&&(Sa==null?void 0:Sa.length)===0){_.ZP.warning("\u8BF7\u4E0A\u4F20\u6587\u4EF6");return}co(!0);let Ht=wa===3?"/api/knowledge/v2/mod_node.json":"/api/knowledge/v2/add_node.json",Kn=wa===3?{subject_id:Gr==null?void 0:Gr.pathId,properties:{description:wt.description,rootNodeUuid:it==null?void 0:it.rootNodeUuid,name:wt.name,uuid:(it==null?void 0:it.keys)||(it==null?void 0:it.id),nodeType:(Va=wt==null?void 0:wt.label[0])==null?void 0:Va.name,tags:((Oa=(pa=wt.tag)==null?void 0:pa.map(Rn=>Rn==null?void 0:Rn.name))==null?void 0:Oa.join("\uFF0C"))||"",color:it==null?void 0:it.color,resourceOrigin:wt.resourceOrigin,resourceUrl:wt.resourceOrigin===3?wt.url:wt.resourceOrigin===2?((gi=(ri=(Wa=Sa==null?void 0:Sa[0])==null?void 0:Wa.response)==null?void 0:ri.url)==null?void 0:gi.indexOf("educoder.net"))>-1?(Ri=(yi=Sa==null?void 0:Sa[0])==null?void 0:yi.response)==null?void 0:Ri.url:((ki=Ct==null?void 0:Ct.setting)==null?void 0:ki.public_bucket_host)+((oo=(ii=Sa==null?void 0:Sa[0])==null?void 0:ii.response)==null?void 0:oo.url):(so=Wr==null?void 0:Wr[0])==null?void 0:so.url,container_type:((te=wt==null?void 0:wt.label[0])==null?void 0:te.name)==="\u9898\u96C6"?"ItemBanksGroup":(wt.resourceOrigin===1||wt.resourceOrigin===2)&&((ue=Wr==null?void 0:Wr[0])==null?void 0:ue.container_type)||((He=(Ie=Sa==null?void 0:Sa[0])==null?void 0:Ie.response)==null?void 0:He.container_type),container_id:(wt.resourceOrigin===1||wt.resourceOrigin===2)&&((ot=Wr==null?void 0:Wr[0])==null?void 0:ot.container_id)||((Ut=(gt=Sa==null?void 0:Sa[0])==null?void 0:gt.response)==null?void 0:Ut.container_id),itemBanksGroupIds:$a==null?void 0:$a.map(Rn=>Rn==null?void 0:Rn.group_id).toString()},subgraphNodeUuid:An,relationships:[...(Mt=qr.bh)==null?void 0:Mt.map(Rn=>({startNodeUuid:Rn.uuid,endNodeUuid:(it==null?void 0:it.keys)||(it==null?void 0:it.id),type:"\u5305\u542B"})),...eo==null?void 0:eo.map(Rn=>({endNodeUuid:Rn.uuid,startNodeUuid:(it==null?void 0:it.keys)||(it==null?void 0:it.id),type:"\u5305\u542B"})),...(Kt=qr.qx)==null?void 0:Kt.map(Rn=>({endNodeUuid:Rn.uuid,startNodeUuid:(it==null?void 0:it.keys)||(it==null?void 0:it.id),type:"\u524D\u5E8F"})),...(Zt=qr.hx)==null?void 0:Zt.map(Rn=>({endNodeUuid:Rn.uuid,startNodeUuid:(it==null?void 0:it.keys)||(it==null?void 0:it.id),type:"\u540E\u5E8F"})),...(xn=qr.gl)==null?void 0:xn.map(Rn=>({startNodeUuid:Rn.uuid,endNodeUuid:(it==null?void 0:it.keys)||(it==null?void 0:it.id),type:"\u5173\u8054"}))]}:{label:((an=wt==null?void 0:wt.label[0])==null?void 0:an.item_type)===1?"\u6807\u7B7E":"\u8D44\u6E90",subject_id:Gr==null?void 0:Gr.pathId,properties:{description:wt.description,rootNodeUuid:it==null?void 0:it.rootNodeUuid,name:wt.name,nodeType:(en=wt==null?void 0:wt.label[0])==null?void 0:en.name,tags:((mn=($t=wt.tag)==null?void 0:$t.map(Rn=>Rn==null?void 0:Rn.name))==null?void 0:mn.join("\uFF0C"))||"",color:wa===1?"2":parseInt(it==null?void 0:it.colorType)+1+"",resourceOrigin:wt.resourceOrigin,resourceUrl:wt.resourceOrigin===3?wt.url:wt.resourceOrigin===2?((U=(R=(S=Sa==null?void 0:Sa[0])==null?void 0:S.response)==null?void 0:R.url)==null?void 0:U.indexOf("educoder.net"))>-1?(G=(H=Sa==null?void 0:Sa[0])==null?void 0:H.response)==null?void 0:G.url:((Q=Ct==null?void 0:Ct.setting)==null?void 0:Q.public_bucket_host)+((ae=(ce=Sa==null?void 0:Sa[0])==null?void 0:ce.response)==null?void 0:ae.url):(Se=Wr==null?void 0:Wr[0])==null?void 0:Se.url,container_type:((pe=wt==null?void 0:wt.label[0])==null?void 0:pe.name)==="\u9898\u96C6"?"ItemBanksGroup":(wt.resourceOrigin===1||wt.resourceOrigin===2)&&((Me=Wr==null?void 0:Wr[0])==null?void 0:Me.container_type)||((Xe=(ze=Sa==null?void 0:Sa[0])==null?void 0:ze.response)==null?void 0:Xe.container_type),container_id:(wt.resourceOrigin===1||wt.resourceOrigin===2)&&((mt=Wr==null?void 0:Wr[0])==null?void 0:mt.container_id)||((nt=(dt=Sa==null?void 0:Sa[0])==null?void 0:dt.response)==null?void 0:nt.container_id),itemBanksGroupIds:$a==null?void 0:$a.map(Rn=>Rn==null?void 0:Rn.group_id).toString()},subgraphNodeUuid:An,relationships:[...(st=qr.bh)==null?void 0:st.map(Rn=>({startNodeUuid:Rn.uuid,type:"\u5305\u542B"})),...(Ot=qr.qx)==null?void 0:Ot.map(Rn=>({startNodeUuid:Rn.uuid,type:"\u524D\u5E8F"})),...(bt=qr.hx)==null?void 0:bt.map(Rn=>({endNodeUuid:Rn.uuid,type:"\u540E\u5E8F"})),...(Vt=qr.gl)==null?void 0:Vt.map(Rn=>({startNodeUuid:Rn.uuid,type:"\u5173\u8054"}))]};const on=yield(0,t.ZP)(Ht,{method:"POST",body:Kn});co(!1),(on==null?void 0:on.status)===0&&(pi({graphable_id:Gr==null?void 0:Gr.pathId}),_.ZP.info(wa===3?"\u7F16\u8F91\u6210\u529F":"\u521B\u5EFA\u6210\u529F"),ti(0),vr(!1),Un(),ci.resetFields(),hi([]),Qr({}),Kr([]),Si([]),vi({qx:[],hx:[],bh:[],gl:[]}))}),500),size:"large"},St.createElement(P.default.Item,{label:"\u8282\u70B9\u540D\u79F0",name:"name",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u8282\u70B9\u540D\u79F0"},{type:"string",max:200,message:"\u8F93\u5165\u8D85\u9650\uFF0C\u8BF7\u7F29\u51CF\u5B57\u7B26\u6570"},{type:"string",whitespace:!0,message:"\u5185\u5BB9\u4E0D\u80FD\u5168\u4E3A\u7A7A\u683C"}]},St.createElement(E.default,{maxLength:200,showCount:!0,placeholder:"\u8BF7\u8F93\u5165"})),St.createElement(P.default.Item,{label:"\u8282\u70B9\u7B80\u4ECB",name:"description",rules:[{type:"string",max:5e3,message:"\u8F93\u5165\u8D85\u9650\uFF0C\u8BF7\u7F29\u51CF\u5B57\u7B26\u6570"},{type:"string",whitespace:!0,message:"\u5185\u5BB9\u4E0D\u80FD\u5168\u4E3A\u7A7A\u683C"}]},St.createElement(E.default.TextArea,{maxLength:5e3,showCount:!0,placeholder:"\u8BF7\u8F93\u5165"})),St.createElement(P.default.Item,{label:"\u8282\u70B9\u7C7B\u578B",name:"label",style:{marginBottom:"0rem"},rules:[{required:!0,message:"\u8BF7\u9009\u62E9\u8282\u70B9\u7C7B\u578B"}]},St.createElement(I,{containerRef:un,type:5,pathsDetail:et,showmodal:wa!==3,dataSources:[]})),((oa=(aa=ir==null?void 0:ir.label)==null?void 0:aa[0])==null?void 0:oa.item_type)===2&&St.createElement(P.default.Item,{label:" ",name:"resourceOrigin",rules:[{required:!0,message:"\u8BF7\u9009\u62E9\u8D44\u6E90\u7C7B\u578B"}]},St.createElement(g.ZP.Group,{className:n.radioform},St.createElement(g.ZP,{value:1},"\u9009\u62E9\u5E73\u53F0\u8D44\u6E90"),((va=(la=ir==null?void 0:ir.label)==null?void 0:la[0])==null?void 0:va.name)!=="\u9898\u96C6"&&St.createElement(g.ZP,{value:2},"\u4E0A\u4F20\u6587\u4EF6"),((ma=(Lr=ir==null?void 0:ir.label)==null?void 0:Lr[0])==null?void 0:ma.name)!=="\u9898\u96C6"&&St.createElement(g.ZP,{value:3},"\u5916\u94FE"))),(ir==null?void 0:ir.resourceOrigin)===1&&((Ur=(Ca=ir==null?void 0:ir.label)==null?void 0:Ca[0])==null?void 0:Ur.item_type)===2&&St.createElement(P.default.Item,{label:" ",name:""},St.createElement(p.ZP,{onClick:()=>{var wt,Nr,Jr,Vr,Va,pa,Oa,Wa;((Nr=(wt=ir==null?void 0:ir.label)==null?void 0:wt[0])==null?void 0:Nr.name)==="\u9898\u96C6"?(ao(!0),xo($a),Mo()):((Vr=(Jr=ir==null?void 0:ir.label)==null?void 0:Jr[0])==null?void 0:Vr.name)==="\u8BD5\u9898"?Zi(!0):(gn(!0),ya(((pa=(Va=ir==null?void 0:ir.label)==null?void 0:Va[0])==null?void 0:pa.name)==="\u89C6\u9891"?"2":((Wa=(Oa=ir==null?void 0:ir.label)==null?void 0:Oa[0])==null?void 0:Wa.name)==="\u8BD5\u5377"?"4":"1"))},type:"primary",style:{height:"40rem",lineHeight:"40rem",padding:"0rem 32rem",boxShadow:"none"}},((Qn=(kn=ir==null?void 0:ir.label)==null?void 0:kn[0])==null?void 0:Qn.name)==="\u9898\u96C6"?"\u9009\u62E9\u9898\u96C6":"\u9009\u62E9\u8D44\u6E90"),(Wr==null?void 0:Wr.length)>0&&St.createElement("div",{style:{color:"#1B8565",marginTop:"5rem",fontSize:"16rem",display:"flex",alignItems:"center"}},St.createElement("div",{className:n.multiple,title:(jn=Wr==null?void 0:Wr[0])==null?void 0:jn.name},((lr=Wr==null?void 0:Wr[0])==null?void 0:lr.name)||ci.getFieldValue("name")+"\uFF08"+((Rt=Wr==null?void 0:Wr[0])==null?void 0:Rt.question_count)+"\uFF09"),St.createElement("i",{style:{fontSize:"16rem",cursor:"pointer",marginLeft:"10rem"},onClick:()=>{Kr([])},className:"iconfont icon-shanchu12"})," "),($a==null?void 0:$a.length)>0&&($a==null?void 0:$a.map(wt=>St.createElement("div",{style:{color:"#1B8565",marginTop:"5rem",fontSize:"16rem",display:"flex",alignItems:"center"}},St.createElement("div",{className:n.multiple,title:wt==null?void 0:wt.name},wt==null?void 0:wt.name),St.createElement("i",{style:{fontSize:"16rem",cursor:"pointer",marginLeft:"10rem"},onClick:()=>{Si($a==null?void 0:$a.filter(Nr=>(Nr==null?void 0:Nr.group_id)!==(wt==null?void 0:wt.group_id)))},className:"iconfont icon-shanchu12"})," ")))),(ir==null?void 0:ir.resourceOrigin)===2&&((fa=(Yr=ir==null?void 0:ir.label)==null?void 0:Yr[0])==null?void 0:fa.item_type)===2&&St.createElement(P.default.Item,{label:" ",name:"file",shouldUpdate:!0},St.createElement(B.default,tr({},Uo),St.createElement(p.ZP,{type:"primary",style:{height:"40rem",lineHeight:"40rem",padding:"0rem 32rem",boxShadow:"none"}},"\u4E0A\u4F20\u6587\u4EF6"))),(ir==null?void 0:ir.resourceOrigin)===3&&((ea=(da=ir==null?void 0:ir.label)==null?void 0:da[0])==null?void 0:ea.item_type)===2&&St.createElement(P.default.Item,{label:" ",name:"url"},St.createElement(P.default.Item,{label:"\u5916\u94FE\u94FE\u63A5",name:"url",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u5916\u94FE"}]},St.createElement(E.default,{style:{height:"40rem"}}))),St.createElement(P.default.Item,{label:"\u8282\u70B9\u6807\u7B7E",name:"tag"},St.createElement(I,{containerRef:un,type:3,pathsDetail:et,showmodal:!0,dataSources:[]})))),St.createElement("div",{className:n.addmodal,style:{marginTop:"20rem"}},St.createElement("div",{className:n.title},St.createElement("span",null,"\u8282\u70B9\u5173\u7CFB"),St.createElement("span",{style:{cursor:"pointer"},onClick:()=>{ro()}},"\u5173\u7CFB\u8BBE\u7F6E")),St.createElement("div",{className:n.gxcoent,style:{padding:"20rem 25rem"}},St.createElement("div",{className:n.gxtitle},St.createElement("div",{className:n.Colortitle,style:{background:"#6236ff"}}),St.createElement("div",null,"\u88AB\u5305\u542B\uFF08",(Hn=qr.bh)==null?void 0:Hn.length,"\uFF09")),St.createElement("div",{className:n.gxbody},(jr=qr==null?void 0:qr.bh)==null?void 0:jr.map(wt=>St.createElement("div",{className:n.tag,style:{background:"#6236ff"}},St.createElement("span",{style:{marginRight:"10rem"}},wt==null?void 0:wt.name)," ",St.createElement(a.Z,{onClick:()=>{var Nr;let Jr=(Nr=qr==null?void 0:qr.bh)==null?void 0:Nr.filter(Vr=>Vr.uuid!==wt.uuid);vi({bh:Jr,hx:qr==null?void 0:qr.hx,qx:qr==null?void 0:qr.qx,gl:qr==null?void 0:qr.gl})}})))),St.createElement("div",{className:n.gxtitle,style:{marginTop:"30rem"}},St.createElement("div",{className:n.Colortitle,style:{background:"#24A881"}}),St.createElement("div",null,"\u524D\u5E8F\uFF08",(sa=qr.qx)==null?void 0:sa.length,"\uFF09")),St.createElement("div",{className:n.gxbody},(na=qr==null?void 0:qr.qx)==null?void 0:na.map(wt=>St.createElement("div",{className:n.tag,style:{background:"#24A881"}},St.createElement("span",{style:{marginRight:"10rem"}},wt==null?void 0:wt.name)," ",St.createElement(a.Z,{onClick:()=>{var Nr;let Jr=(Nr=qr==null?void 0:qr.qx)==null?void 0:Nr.filter(Vr=>Vr.uuid!==wt.uuid);vi({qx:Jr,bh:qr==null?void 0:qr.bh,hx:qr==null?void 0:qr.hx,gl:qr==null?void 0:qr.gl})}})))),St.createElement("div",{className:n.gxtitle,style:{marginTop:"30rem"}},St.createElement("div",{className:n.Colortitle,style:{background:"#EC8657"}}),St.createElement("div",null,"\u540E\u5E8F\uFF08",(ga=qr.hx)==null?void 0:ga.length,"\uFF09")),St.createElement("div",{className:n.gxbody},(ha=qr==null?void 0:qr.hx)==null?void 0:ha.map(wt=>St.createElement("div",{className:n.tag,style:{background:"#EC8657"}},St.createElement("span",{style:{marginRight:"10rem"}},wt==null?void 0:wt.name)," ",St.createElement(a.Z,{onClick:()=>{var Nr;let Jr=(Nr=qr==null?void 0:qr.hx)==null?void 0:Nr.filter(Vr=>Vr.uuid!==wt.uuid);vi({qx:qr==null?void 0:qr.qx,bh:qr==null?void 0:qr.bh,hx:Jr,gl:qr==null?void 0:qr.gl})}})))),St.createElement("div",{className:n.gxtitle,style:{marginTop:"30rem"}},St.createElement("div",{className:n.Colortitle,style:{background:"#497DFF"}}),St.createElement("div",null,"\u5173\u8054\uFF08",(Ea=qr.gl)==null?void 0:Ea.length,"\uFF09")),St.createElement("div",{className:n.gxbody},(Za=qr==null?void 0:qr.gl)==null?void 0:Za.map(wt=>St.createElement("div",{className:n.tag,style:{background:"#497DFF"}},St.createElement("span",{style:{marginRight:"10rem"}},wt==null?void 0:wt.name)," ",St.createElement(a.Z,{onClick:()=>{var Nr;let Jr=(Nr=qr==null?void 0:qr.gl)==null?void 0:Nr.filter(Vr=>Vr.uuid!==wt.uuid);vi({qx:qr==null?void 0:qr.qx,hx:qr==null?void 0:qr.hx,bh:qr==null?void 0:qr.bh,gl:Jr})}}))))))),St.createElement(m.default,{title:"\u9009\u62E9\u9898\u96C6",open:fo,destroyOnClose:!0,centered:!0,getContainer:()=>un.current,width:"1200rem",onOk:()=>{if((Li==null?void 0:Li.length)<=0){_.ZP.info("\u8BF7\u9009\u62E9\u9898\u96C6");return}Si(Li),ao(!1)},onCancel:()=>{xo([]),ao(!1)}},St.createElement(r.default,{checkable:!0,style:{margin:20,maxHeight:400,overflow:"auto"},blockNode:!0,checkStrictly:!0,checkedKeys:Li==null?void 0:Li.map(wt=>wt==null?void 0:wt.group_id),onCheck:(wt,Nr)=>{xo(Nr==null?void 0:Nr.checkedNodes)},treeData:Eo,fieldNames:{key:"group_id",title:"name"},titleRender:wt=>St.createElement("div",{style:{display:"flex",alignItems:"center",paddingRight:"14px"}},St.createElement(d.Z,{title:wt==null?void 0:wt.name},St.createElement("div",{className:n.multiple,style:{display:"flex",alignItems:"center",maxWidth:"80%"}},St.createElement("img",{src:Ve,style:{marginRight:10}}),St.createElement("span",null,wt==null?void 0:wt.name))),St.createElement("div",{style:{padding:"0rem 10rem",fontSize:"12rem",background:"#F6F7F9",color:"#909D99",borderRadius:"20rem"}},"\u8BD5\u9898\u6570 ",wt==null?void 0:wt.count))})),St.createElement(m.default,{title:"\u9009\u62E9\u5E73\u53F0\u8D44\u6E90",open:Ia,destroyOnClose:!0,centered:!0,getContainer:()=>un.current,width:"1200rem",onOk:()=>{gn(!1)},onCancel:()=>{gn(!1),wa!==3&&Kr([]),ya("1")}},St.createElement("div",{className:n.settingmodal},St.createElement(l.default,{className:n.Tabs,activeKey:fr,destroyInactiveTabPane:!0,onChange:wt=>{ya(wt)},type:"card",items:((Xa=(Fa=ir==null?void 0:ir.label)==null?void 0:Fa[0])==null?void 0:Xa.name)==="\u89C6\u9891"?no.filter(wt=>(wt==null?void 0:wt.label)==="\u89C6\u9891"):((ba=(Ua=ir==null?void 0:ir.label)==null?void 0:Ua[0])==null?void 0:ba.name)==="\u8BD5\u5377"?no.filter(wt=>(wt==null?void 0:wt.label)==="\u8BD5\u5377"):no.filter(wt=>(wt==null?void 0:wt.label)!=="\u89C6\u9891")}))),ho&&St.createElement(er,{setScoreShow:Zi,isshixuns:Vo,ScoreShow:ho,listitem:Wr==null?void 0:Wr[0],isloadings:Io,onOk:(wt,Nr,Jr,Vr)=>Ft(void 0,null,function*(){Co(!0);let Va={item_bank_ids:wt,shixun_ids:Nr,name:ci.getFieldValue("name")+"\uFF08"+(parseInt(wt.length)+parseInt(Nr.length))+"\u9053\uFF09",subject_id:Gr==null?void 0:Gr.pathId};Co(!1);let pa=yield(0,t.ZP)("/api/knowledge/v2/create_by_knowledge.json",{method:"post",body:Va});if((pa==null?void 0:pa.status)===0){Zi(!1);let Oa={container_id:pa==null?void 0:pa.container_id,container_type:pa==null?void 0:pa.container_type,url:pa==null?void 0:pa.resourceUrl,question_count:pa==null?void 0:pa.question_count,questionIdArr:wt,shixun_ids:Nr};Kr([Oa])}})}),St.createElement(We.Z,{close:!0,style:{zIndex:1300,background:"rgba(1, 10, 35, 0.5)"},data:Ii==null?void 0:Ii.url,type:Ii==null?void 0:Ii.file_type,disabledDownload:!0,onClose:()=>ji({})}),St.createElement(m.default,{title:"\u5173\u7CFB\u8BBE\u7F6E",open:Pa,destroyOnClose:!0,centered:!0,getContainer:()=>un.current,width:"1200rem",onCancel:()=>{Ba(!1);let wt=JSON.parse(sessionStorage.getItem("typesdatajson"));vi(wt)},onOk:()=>{let wt=JSON.parse(sessionStorage.getItem("typesdatajsoncopy"));vi(wt),Ba(!1)}},St.createElement("div",{className:n.settingmodal},St.createElement(l.default,{className:n.Tabs,activeKey:So,destroyInactiveTabPane:!0,onChange:wt=>{Bo(wt)},type:"card",items:vo})))))};var yr=(0,k.connect)(({pathsDetail:et,user:Tt,loading:Ct,globalSetting:Cn})=>({pathsDetail:et,user:Tt,globalSetting:Cn,loading:Ct.models.index}))(Mr)},69267:function(Ln,pt,M){"use strict";M.d(pt,{Z:function(){return E}});var h={noData:"noData___Luxe1"},k=M(14006),P=M(92310),_=M.n(P),B=M(25399),C=M(61485),p=M(59301),E=({style:d={},className:l,text:o="\u6682\u65E0\u6570\u636E",textColor:g="#666",buttonText:r,buttonTexttow:n,ontwoClick:a,onClick:c})=>p.createElement("div",{className:_()(h.noData,l),style:d},p.createElement("img",{src:k}),!!o&&p.createElement("span",{style:{color:g}},o),p.createElement("span",{style:{display:"flex"}},!!r&&p.createElement("div",{onClick:c},r),!!n&&p.createElement("div",{style:{marginLeft:"20rem",display:"flex",alignItems:"center",justifyContent:"center"},onClick:a},n," ",p.createElement(B.Z,{title:"\u6839\u636E\u65E7\u7248\u77E5\u8BC6\u56FE\u8C31\u5185\u5BB9\u6216\u8BFE\u7A0B\u7AE0\u8282\u53CA\u8D44\u6E90\u5185\u5BB9\u81EA\u52A8\u751F\u6210\u77E5\u8BC6\u56FE\u8C31"},p.createElement(C.Z,{style:{color:"#fff",marginLeft:5,marginTop:0}})))))},84056:function(Ln,pt,M){"use strict";M.d(pt,{BU:function(){return k},Dj:function(){return h},gH:function(){return P},vp:function(){return _}});function h(B){try{B.mozRequestFullScreen?B.mozRequestFullScreen():B.webkitRequestFullScreen&&B.webkitRequestFullScreen()}catch(C){console.log(C,":e")}}function k(){window.top.document.webkitExitFullscreen?window.top.document.webkitExitFullscreen():document.exitFullscreen?window.top.document.exitFullscreen():document.msExitFullscreen?window.top.document.msExitFullscreen():document.mozCancelFullScreen&&window.top.document.mozCancelFullScreen()}const P=()=>{if(document.webkitExitFullscreen)return"webkitfullscreenchange";if(document.exitFullscreen)return"fullscreenchange";if(document.msExitFullscreen)return"msfullscreenchange";if(document.mozCancelFullScreen)return"mozfullscreenchange"};function _(){var B=window.top.document.fullscreenElement||window.top.document.mozFullscreenElement||window.top.document.webkitFullscreenElement,C=document.fullscreenEnabled||document.mozFullscreenEnabled||document.webkitFullscreenEnabled;return console.log("fullscreenElement",B),window.isFullScreen?window.isFullScreen:B!=null}},61527:function(Ln,pt,M){"use strict";M.d(pt,{U:function(){return E}});var h=M(59301),k=Object.defineProperty,P=Object.getOwnPropertySymbols,_=Object.prototype.hasOwnProperty,B=Object.prototype.propertyIsEnumerable,C=(d,l,o)=>l in d?k(d,l,{enumerable:!0,configurable:!0,writable:!0,value:o}):d[l]=o,p=(d,l)=>{for(var o in l||(l={}))_.call(l,o)&&C(d,o,l[o]);if(P)for(var o of P(l))B.call(l,o)&&C(d,o,l[o]);return d},m=(d,l,o)=>new Promise((g,r)=>{var n=u=>{try{c(o.next(u))}catch(s){r(s)}},a=u=>{try{c(o.throw(u))}catch(s){r(s)}},c=u=>u.done?g(u.value):Promise.resolve(u.value).then(n,a);c((o=o.apply(d,l)).next())});function E(d,l){const[o,g]=(0,h.useState)(l),[r,n]=(0,h.useState)(!1),[a,c]=(0,h.useState)();return[o,r,(s,v=!1)=>m(this,null,function*(){const e=v?l:p(p({},o),s);n(!0),g(e);const t=yield d(e);return n(!1),c(t),t}),a,c]}},49142:function(Ln,pt,M){"use strict";M.d(pt,{AL:function(){return e},Iy:function(){return l},Qv:function(){return r},ez:function(){return v},jb:function(){return o}});var h=M(32834),k=M.n(h),P=M(11690),_=M.n(P);let B=1;function C(b,x){const A=b.match(/^(\s+)(?:```)/);if(A===null)return x;const w=A[1];return x.split(` `).map(L=>{const D=L.match(/^\s+/);if(D===null)return L;const[O]=D;return O.length>=w.length?L.slice(w.length):L}).join(` `)}let p=[],m=["
    "];const E=new(k()).Renderer,d=/^ *(#{1,6}) *([^\n]+?) *(?:#+ *)?(?:\n+|$)/;function l(){p.length=0,m=["
      "]}const o={overflow:"hidden",WebkitBoxOrient:"vertical",display:"-webkit-box",WebkitLineClamp:2};function g(b,x,A,w){if(x>=b.length||b[x].level<=A)return x;var L=b[x];w.push("
    • "+L.text+""),x++;var D=[];return x=g(b,x,L.level,D),D.length>0&&(w.push("
        "),D.forEach(function(O){w.push(O)}),w.push("
      ")),w.push("
    • "),x=g(b,x,A,w),x}function r(){return g(p,0,0,m),m.push("
    "),m.join("")}const n={heading(b){const x=d.exec(b);if(B+=1,x)return{type:"heading",raw:x[0],depth:x[1].length,text:x[2]}},fences(b){const x=this.rules.block.fences.exec(b);if(x){const A=x[0];let w=C(A,x[3]||"");const L=x[2]?x[2].trim():x[2];if(["latex","katex","math"].indexOf(L)>=0){const D=u(),O=w;w=D,s[D]={type:"block",expression:O}}return{type:"code",raw:A,lang:L,text:w}}}},a=/(?:\${2})([^\n`]+?)(?:\${2})/gi;let c=0;const u=()=>`__special_katext_id_${c++}__`;let s={};function v(){return s}function e(){c=0,s={}}function t(b){return b=b.replace(a,(x,A)=>{const w=u();return s[w]={type:"inline",expression:A},w}),b}const i=E.listitem;E.listitem=function(b){return i(t(b))};const f=E.paragraph;E.paragraph=function(b){return f(t(b))};const y=E.tablecell;E.tablecell=function(b,x){return y(t(b),x)},E.code=function(b,x,A){const w=(x||"").match(/\S*/)[0];return w?["latex","katex","math"].indexOf(w)>=0?`

    ${b}

    `:`
    ${A?b:(0,P.escape)(b,!0)}
    `:'
    '+(A?b:(0,P.escape)(b,!0))+"
    "},E.heading=function(b,x,A){let w=this.options.headerPrefix+A.toLowerCase().replace(/[^\w\\u4e00-\\u9fa5]]+/g,"-");return p.push({anchor:w,level:x,text:b}),"'+b+""},k().setOptions({silent:!0,gfm:!0,pedantic:!1}),k().use({tokenizer:n,renderer:E}),pt.ZP=k()},73217:function(Ln,pt,M){"use strict";M.d(pt,{Z:function(){return _n}});class h{static install(){Object.setPrototypeOf=Object.setPrototypeOf||function(T,z){return T.__proto__=z,T},Object.assign=Object.assign||function(T){if(T==null)throw new TypeError("Cannot convert undefined or null to object");let z=Object(T);for(let Z=1;Z ${z}`;B.ENABLE_CALLBACK&&B.emitter.emit("log","error",Z),B.ENABLE_ERROR&&(console.error?console.error(Z):console.warn?console.warn(Z):console.log(Z))}static i(T,z){(!T||B.FORCE_GLOBAL_TAG)&&(T=B.GLOBAL_TAG);let Z=`[${T}] > ${z}`;B.ENABLE_CALLBACK&&B.emitter.emit("log","info",Z),B.ENABLE_INFO&&(console.info?console.info(Z):console.log(Z))}static w(T,z){(!T||B.FORCE_GLOBAL_TAG)&&(T=B.GLOBAL_TAG);let Z=`[${T}] > ${z}`;B.ENABLE_CALLBACK&&B.emitter.emit("log","warn",Z),B.ENABLE_WARN&&(console.warn?console.warn(Z):console.log(Z))}static d(T,z){(!T||B.FORCE_GLOBAL_TAG)&&(T=B.GLOBAL_TAG);let Z=`[${T}] > ${z}`;B.ENABLE_CALLBACK&&B.emitter.emit("log","debug",Z),B.ENABLE_DEBUG&&(console.debug?console.debug(Z):console.log(Z))}static v(T,z){(!T||B.FORCE_GLOBAL_TAG)&&(T=B.GLOBAL_TAG);let Z=`[${T}] > ${z}`;B.ENABLE_CALLBACK&&B.emitter.emit("log","verbose",Z),B.ENABLE_VERBOSE&&console.log(Z)}}B.GLOBAL_TAG="flv.js",B.FORCE_GLOBAL_TAG=!1,B.ENABLE_ERROR=!0,B.ENABLE_INFO=!0,B.ENABLE_WARN=!0,B.ENABLE_DEBUG=!0,B.ENABLE_VERBOSE=!0,B.ENABLE_CALLBACK=!1,B.emitter=new(_());var C=B;class p{constructor(){this._firstCheckpoint=0,this._lastCheckpoint=0,this._intervalBytes=0,this._totalBytes=0,this._lastSecondBytes=0,self.performance&&self.performance.now?this._now=self.performance.now.bind(self.performance):this._now=Date.now}reset(){this._firstCheckpoint=this._lastCheckpoint=0,this._totalBytes=this._intervalBytes=0,this._lastSecondBytes=0}addBytes(T){this._firstCheckpoint===0?(this._firstCheckpoint=this._now(),this._lastCheckpoint=this._firstCheckpoint,this._intervalBytes+=T,this._totalBytes+=T):this._now()-this._lastCheckpoint<1e3?(this._intervalBytes+=T,this._totalBytes+=T):(this._lastSecondBytes=this._intervalBytes,this._intervalBytes=T,this._totalBytes+=T,this._lastCheckpoint=this._now())}get currentKBps(){this.addBytes(0);let T=(this._now()-this._lastCheckpoint)/1e3;return T==0&&(T=1),this._intervalBytes/T/1024}get lastSecondKBps(){return this.addBytes(0),this._lastSecondBytes!==0?this._lastSecondBytes/1024:this._now()-this._lastCheckpoint>=500?this.currentKBps:0}get averageKBps(){let T=(this._now()-this._firstCheckpoint)/1e3;return this._totalBytes/T/1024}}var m=p;class E{constructor(T){this._message=T}get name(){return"RuntimeException"}get message(){return this._message}toString(){return this.name+": "+this.message}}class d extends E{constructor(T){super(T)}get name(){return"IllegalStateException"}}class l extends E{constructor(T){super(T)}get name(){return"InvalidArgumentException"}}class o extends E{constructor(T){super(T)}get name(){return"NotImplementedException"}}const g={kIdle:0,kConnecting:1,kBuffering:2,kError:3,kComplete:4},r={OK:"OK",EXCEPTION:"Exception",HTTP_STATUS_CODE_INVALID:"HttpStatusCodeInvalid",CONNECTING_TIMEOUT:"ConnectingTimeout",EARLY_EOF:"EarlyEof",UNRECOVERABLE_EARLY_EOF:"UnrecoverableEarlyEof"};class n{constructor(T){this._type=T||"undefined",this._status=g.kIdle,this._needStash=!1,this._onContentLengthKnown=null,this._onURLRedirect=null,this._onDataArrival=null,this._onError=null,this._onComplete=null}destroy(){this._status=g.kIdle,this._onContentLengthKnown=null,this._onURLRedirect=null,this._onDataArrival=null,this._onError=null,this._onComplete=null}isWorking(){return this._status===g.kConnecting||this._status===g.kBuffering}get type(){return this._type}get status(){return this._status}get needStashBuffer(){return this._needStash}get onContentLengthKnown(){return this._onContentLengthKnown}set onContentLengthKnown(T){this._onContentLengthKnown=T}get onURLRedirect(){return this._onURLRedirect}set onURLRedirect(T){this._onURLRedirect=T}get onDataArrival(){return this._onDataArrival}set onDataArrival(T){this._onDataArrival=T}get onError(){return this._onError}set onError(T){this._onError=T}get onComplete(){return this._onComplete}set onComplete(T){this._onComplete=T}open(T,z){throw new o("Unimplemented abstract function!")}abort(){throw new o("Unimplemented abstract function!")}}let a={};function c(){let _t=self.navigator.userAgent.toLowerCase(),T=/(edge)\/([\w.]+)/.exec(_t)||/(opr)[\/]([\w.]+)/.exec(_t)||/(chrome)[ \/]([\w.]+)/.exec(_t)||/(iemobile)[\/]([\w.]+)/.exec(_t)||/(version)(applewebkit)[ \/]([\w.]+).*(safari)[ \/]([\w.]+)/.exec(_t)||/(webkit)[ \/]([\w.]+).*(version)[ \/]([\w.]+).*(safari)[ \/]([\w.]+)/.exec(_t)||/(webkit)[ \/]([\w.]+)/.exec(_t)||/(opera)(?:.*version|)[ \/]([\w.]+)/.exec(_t)||/(msie) ([\w.]+)/.exec(_t)||_t.indexOf("trident")>=0&&/(rv)(?::| )([\w.]+)/.exec(_t)||_t.indexOf("compatible")<0&&/(firefox)[ \/]([\w.]+)/.exec(_t)||[],z=/(ipad)/.exec(_t)||/(ipod)/.exec(_t)||/(windows phone)/.exec(_t)||/(iphone)/.exec(_t)||/(kindle)/.exec(_t)||/(android)/.exec(_t)||/(windows)/.exec(_t)||/(mac)/.exec(_t)||/(linux)/.exec(_t)||/(cros)/.exec(_t)||[],Z={browser:T[5]||T[3]||T[1]||"",version:T[2]||T[4]||"0",majorVersion:T[4]||T[2]||"0",platform:z[0]||""},ie={};if(Z.browser){ie[Z.browser]=!0;let se=Z.majorVersion.split(".");ie.version={major:parseInt(Z.majorVersion,10),string:Z.version},se.length>1&&(ie.version.minor=parseInt(se[1],10)),se.length>2&&(ie.version.build=parseInt(se[2],10))}if(Z.platform&&(ie[Z.platform]=!0),(ie.chrome||ie.opr||ie.safari)&&(ie.webkit=!0),ie.rv||ie.iemobile){ie.rv&&delete ie.rv;let se="msie";Z.browser=se,ie[se]=!0}if(ie.edge){delete ie.edge;let se="msedge";Z.browser=se,ie[se]=!0}if(ie.opr){let se="opera";Z.browser=se,ie[se]=!0}if(ie.safari&&ie.android){let se="android";Z.browser=se,ie[se]=!0}ie.name=Z.browser,ie.platform=Z.platform;for(let se in a)a.hasOwnProperty(se)&&delete a[se];Object.assign(a,ie)}c();var u=a;class s extends n{static isSupported(){try{let T=u.msedge&&u.version.minor>=15048,z=u.msedge?T:!0;return self.fetch&&self.ReadableStream&&z}catch(T){return!1}}constructor(T,z){super("fetch-stream-loader"),this.TAG="FetchStreamLoader",this._seekHandler=T,this._config=z,this._needStash=!0,this._requestAbort=!1,this._contentLength=null,this._receivedLength=0}destroy(){this.isWorking()&&this.abort(),super.destroy()}open(T,z){this._dataSource=T,this._range=z;let Z=T.url;this._config.reuseRedirectedURL&&T.redirectedURL!=null&&(Z=T.redirectedURL);let ie=this._seekHandler.getConfig(Z,z),se=new self.Headers;if(typeof ie.headers=="object"){let lt=ie.headers;for(let xt in lt)lt.hasOwnProperty(xt)&&se.append(xt,lt[xt])}let Qe={method:"GET",headers:se,mode:"cors",cache:"default",referrerPolicy:"no-referrer-when-downgrade"};if(typeof this._config.headers=="object")for(let lt in this._config.headers)se.append(lt,this._config.headers[lt]);T.cors===!1&&(Qe.mode="same-origin"),T.withCredentials&&(Qe.credentials="include"),T.referrerPolicy&&(Qe.referrerPolicy=T.referrerPolicy),this._status=g.kConnecting,self.fetch(ie.url,Qe).then(lt=>{if(this._requestAbort){this._requestAbort=!1,this._status=g.kIdle;return}if(lt.ok&<.status>=200&<.status<=299){if(lt.url!==ie.url&&this._onURLRedirect){let at=this._seekHandler.removeURLParameters(lt.url);this._onURLRedirect(at)}let xt=lt.headers.get("Content-Length");return xt!=null&&(this._contentLength=parseInt(xt),this._contentLength!==0&&this._onContentLengthKnown&&this._onContentLengthKnown(this._contentLength)),this._pump.call(this,lt.body.getReader())}else if(this._status=g.kError,this._onError)this._onError(r.HTTP_STATUS_CODE_INVALID,{code:lt.status,msg:lt.statusText});else throw new E("FetchStreamLoader: Http code invalid, "+lt.status+" "+lt.statusText)}).catch(lt=>{if(this._status=g.kError,this._onError)this._onError(r.EXCEPTION,{code:-1,msg:lt.message});else throw lt})}abort(){this._requestAbort=!0}_pump(T){return T.read().then(z=>{if(z.done)if(this._contentLength!==null&&this._receivedLength{if(z.code===11&&u.msedge)return;this._status=g.kError;let Z=0,ie=null;if((z.code===19||z.message==="network error")&&(this._contentLength===null||this._contentLength!==null&&this._receivedLength299))if(this._status=g.kError,this._onError)this._onError(r.HTTP_STATUS_CODE_INVALID,{code:z.status,msg:z.statusText});else throw new E("MozChunkedLoader: Http code invalid, "+z.status+" "+z.statusText);else this._status=g.kBuffering}}_onProgress(T){if(this._status===g.kError)return;this._contentLength===null&&T.total!==null&&T.total!==0&&(this._contentLength=T.total,this._onContentLengthKnown&&this._onContentLengthKnown(this._contentLength));let z=T.target.response,Z=this._range.from+this._receivedLength;this._receivedLength+=z.byteLength,this._onDataArrival&&this._onDataArrival(z,Z,this._receivedLength)}_onLoadEnd(T){if(this._requestAbort===!0){this._requestAbort=!1;return}else if(this._status===g.kError)return;this._status=g.kComplete,this._onComplete&&this._onComplete(this._range.from,this._range.from+this._receivedLength-1)}_onXhrError(T){this._status=g.kError;let z=0,Z=null;if(this._contentLength&&T.loaded=200&&z.status<=299){if(this._status=LoaderStatus.kBuffering,z.responseURL!=null){let ie=this._seekHandler.removeURLParameters(z.responseURL);z.responseURL!==this._currentRequestURL&&ie!==this._currentRedirectedURL&&(this._currentRedirectedURL=ie,this._onURLRedirect&&this._onURLRedirect(ie))}let Z=z.getResponseHeader("Content-Length");if(Z!=null&&this._contentLength==null){let ie=parseInt(Z);ie>0&&(this._contentLength=ie,this._onContentLengthKnown&&this._onContentLengthKnown(this._contentLength))}}else if(this._status=LoaderStatus.kError,this._onError)this._onError(LoaderErrors.HTTP_STATUS_CODE_INVALID,{code:z.status,msg:z.statusText});else throw new RuntimeException("MSStreamLoader: Http code invalid, "+z.status+" "+z.statusText);else if(z.readyState===3&&z.status>=200&&z.status<=299){this._status=LoaderStatus.kBuffering;let Z=z.response;this._reader.readAsArrayBuffer(Z)}}_xhrOnError(T){this._status=LoaderStatus.kError;let z=LoaderErrors.EXCEPTION,Z={code:-1,msg:T.constructor.name+" "+T.type};if(this._onError)this._onError(z,Z);else throw new RuntimeException(Z.msg)}_msrOnProgress(T){let Z=T.target.result;if(Z==null){this._doReconnectIfNeeded();return}let ie=Z.slice(this._lastTimeBufferSize);this._lastTimeBufferSize=Z.byteLength;let se=this._totalRange.from+this._receivedLength;this._receivedLength+=ie.byteLength,this._onDataArrival&&this._onDataArrival(ie,se,this._receivedLength),Z.byteLength>=this._bufferLimit&&(Log.v(this.TAG,`MSStream buffer exceeded max size near ${se+ie.byteLength}, reconnecting...`),this._doReconnectIfNeeded())}_doReconnectIfNeeded(){if(this._contentLength==null||this._receivedLength=this._contentLength&&(Z=this._range.from+this._contentLength-1),this._currentRequestRange={from:z,to:Z},this._internalOpen(this._dataSource,this._currentRequestRange)}_internalOpen(T,z){this._lastTimeLoaded=0;let Z=T.url;this._config.reuseRedirectedURL&&(this._currentRedirectedURL!=null?Z=this._currentRedirectedURL:T.redirectedURL!=null&&(Z=T.redirectedURL));let ie=this._seekHandler.getConfig(Z,z);this._currentRequestURL=ie.url;let se=this._xhr=new XMLHttpRequest;if(se.open("GET",ie.url,!0),se.responseType="arraybuffer",se.onreadystatechange=this._onReadyStateChange.bind(this),se.onprogress=this._onProgress.bind(this),se.onload=this._onLoad.bind(this),se.onerror=this._onXhrError.bind(this),T.withCredentials&&(se.withCredentials=!0),typeof ie.headers=="object"){let Qe=ie.headers;for(let lt in Qe)Qe.hasOwnProperty(lt)&&se.setRequestHeader(lt,Qe[lt])}if(typeof this._config.headers=="object"){let Qe=this._config.headers;for(let lt in Qe)Qe.hasOwnProperty(lt)&&se.setRequestHeader(lt,Qe[lt])}se.send()}abort(){this._requestAbort=!0,this._internalAbort(),this._status=g.kComplete}_internalAbort(){this._xhr&&(this._xhr.onreadystatechange=null,this._xhr.onprogress=null,this._xhr.onload=null,this._xhr.onerror=null,this._xhr.abort(),this._xhr=null)}_onReadyStateChange(T){let z=T.target;if(z.readyState===2){if(z.responseURL!=null){let Z=this._seekHandler.removeURLParameters(z.responseURL);z.responseURL!==this._currentRequestURL&&Z!==this._currentRedirectedURL&&(this._currentRedirectedURL=Z,this._onURLRedirect&&this._onURLRedirect(Z))}if(z.status>=200&&z.status<=299){if(this._waitForTotalLength)return;this._status=g.kBuffering}else if(this._status=g.kError,this._onError)this._onError(r.HTTP_STATUS_CODE_INVALID,{code:z.status,msg:z.statusText});else throw new E("RangeLoader: Http code invalid, "+z.status+" "+z.statusText)}}_onProgress(T){if(this._status===g.kError)return;if(this._contentLength===null){let Z=!1;if(this._waitForTotalLength){this._waitForTotalLength=!1,this._totalLengthReceived=!0,Z=!0;let ie=T.total;this._internalAbort(),ie!=null&ie!==0&&(this._totalLength=ie)}if(this._range.to===-1?this._contentLength=this._totalLength-this._range.from:this._contentLength=this._range.to-this._range.from+1,Z){this._openSubRange();return}this._onContentLengthKnown&&this._onContentLengthKnown(this._contentLength)}let z=T.loaded-this._lastTimeLoaded;this._lastTimeLoaded=T.loaded,this._speedSampler.addBytes(z)}_normalizeSpeed(T){let z=this._chunkSizeKBList,Z=z.length-1,ie=0,se=0,Qe=Z;if(T=z[ie]&&T=3&&(z=this._speedSampler.currentKBps)),z!==0){let Qe=this._normalizeSpeed(z);this._currentSpeedNormalized!==Qe&&(this._currentSpeedNormalized=Qe,this._currentChunkSizeKB=Qe)}let Z=T.target.response,ie=this._range.from+this._receivedLength;this._receivedLength+=Z.byteLength;let se=!1;this._contentLength!=null&&this._receivedLength0&&this._receivedLength{this._dispatchArrayBuffer(z.result)},z.readAsArrayBuffer(T.data)}else{this._status=g.kError;let z={code:-1,msg:"Unsupported WebSocket message type: "+T.data.constructor.name};if(this._onError)this._onError(r.EXCEPTION,z);else throw new E(z.msg)}}_dispatchArrayBuffer(T){let z=T,Z=this._receivedLength;this._receivedLength+=z.byteLength,this._onDataArrival&&this._onDataArrival(z,Z,this._receivedLength)}_onWebSocketError(T){this._status=g.kError;let z={code:T.code,msg:T.message};if(this._onError)this._onError(r.EXCEPTION,z);else throw new E(z.msg)}}var A=x;class w{constructor(T){this._zeroStart=T||!1}getConfig(T,z){let Z={};if(z.from!==0||z.to!==-1){let ie;z.to!==-1?ie=`bytes=${z.from.toString()}-${z.to.toString()}`:ie=`bytes=${z.from.toString()}-`,Z.Range=ie}else this._zeroStart&&(Z.Range="bytes=0-");return{url:T,headers:Z}}removeURLParameters(T){return T}}var L=w;class D{constructor(T,z){this._startName=T,this._endName=z}getConfig(T,z){let Z=T;if(z.from!==0||z.to!==-1){let ie=!0;Z.indexOf("?")===-1&&(Z+="?",ie=!1),ie&&(Z+="&"),Z+=`${this._startName}=${z.from.toString()}`,z.to!==-1&&(Z+=`&${this._endName}=${z.to.toString()}`)}return{url:Z,headers:{}}}removeURLParameters(T){let z=T.split("?")[0],Z,ie=T.indexOf("?");ie!==-1&&(Z=T.substring(ie+1));let se="";if(Z!=null&&Z.length>0){let Qe=Z.split("&");for(let lt=0;lt0;xt[0]!==this._startName&&xt[0]!==this._endName&&(at&&(se+="&"),se+=Qe[lt])}}return se.length===0?z:z+"?"+se}}var O=D;class N{constructor(T,z,Z){this.TAG="IOController",this._config=z,this._extraData=Z,this._stashInitialSize=1024*384,z.stashInitialSize!=null&&z.stashInitialSize>0&&(this._stashInitialSize=z.stashInitialSize),this._stashUsed=0,this._stashSize=this._stashInitialSize,this._bufferSize=1024*1024*3,this._stashBuffer=new ArrayBuffer(this._bufferSize),this._stashByteStart=0,this._enableStash=!0,z.enableStashBuffer===!1&&(this._enableStash=!1),this._loader=null,this._loaderClass=null,this._seekHandler=null,this._dataSource=T,this._isWebSocketURL=/wss?:\/\/(.+?)/.test(T.url),this._refTotalLength=T.filesize?T.filesize:null,this._totalLength=this._refTotalLength,this._fullRequestFlag=!1,this._currentRange=null,this._redirectedURL=null,this._speedNormalized=0,this._speedSampler=new m,this._speedNormalizeList=[64,128,256,384,512,768,1024,1536,2048,3072,4096],this._isEarlyEofReconnecting=!1,this._paused=!1,this._resumeFrom=0,this._onDataArrival=null,this._onSeeked=null,this._onError=null,this._onComplete=null,this._onRedirect=null,this._onRecoveredEarlyEof=null,this._selectSeekHandler(),this._selectLoader(),this._createLoader()}destroy(){this._loader.isWorking()&&this._loader.abort(),this._loader.destroy(),this._loader=null,this._loaderClass=null,this._dataSource=null,this._stashBuffer=null,this._stashUsed=this._stashSize=this._bufferSize=this._stashByteStart=0,this._currentRange=null,this._speedSampler=null,this._isEarlyEofReconnecting=!1,this._onDataArrival=null,this._onSeeked=null,this._onError=null,this._onComplete=null,this._onRedirect=null,this._onRecoveredEarlyEof=null,this._extraData=null}isWorking(){return this._loader&&this._loader.isWorking()&&!this._paused}isPaused(){return this._paused}get status(){return this._loader.status}get extraData(){return this._extraData}set extraData(T){this._extraData=T}get onDataArrival(){return this._onDataArrival}set onDataArrival(T){this._onDataArrival=T}get onSeeked(){return this._onSeeked}set onSeeked(T){this._onSeeked=T}get onError(){return this._onError}set onError(T){this._onError=T}get onComplete(){return this._onComplete}set onComplete(T){this._onComplete=T}get onRedirect(){return this._onRedirect}set onRedirect(T){this._onRedirect=T}get onRecoveredEarlyEof(){return this._onRecoveredEarlyEof}set onRecoveredEarlyEof(T){this._onRecoveredEarlyEof=T}get currentURL(){return this._dataSource.url}get hasRedirect(){return this._redirectedURL!=null||this._dataSource.redirectedURL!=null}get currentRedirectedURL(){return this._redirectedURL||this._dataSource.redirectedURL}get currentSpeed(){return this._loaderClass===b?this._loader.currentSpeed:this._speedSampler.lastSecondKBps}get loaderType(){return this._loader.type}_selectSeekHandler(){let T=this._config;if(T.seekType==="range")this._seekHandler=new L(this._config.rangeLoadZeroStart);else if(T.seekType==="param"){let z=T.seekParamStart||"bstart",Z=T.seekParamEnd||"bend";this._seekHandler=new O(z,Z)}else if(T.seekType==="custom"){if(typeof T.customSeekHandler!="function")throw new l("Custom seekType specified in config but invalid customSeekHandler!");this._seekHandler=new T.customSeekHandler}else throw new l(`Invalid seekType in config: ${T.seekType}`)}_selectLoader(){if(this._config.customLoader!=null)this._loaderClass=this._config.customLoader;else if(this._isWebSocketURL)this._loaderClass=A;else if(v.isSupported())this._loaderClass=v;else if(t.isSupported())this._loaderClass=t;else if(b.isSupported())this._loaderClass=b;else throw new E("Your browser doesn't support xhr with arraybuffer responseType!")}_createLoader(){this._loader=new this._loaderClass(this._seekHandler,this._config),this._loader.needStashBuffer===!1&&(this._enableStash=!1),this._loader.onContentLengthKnown=this._onContentLengthKnown.bind(this),this._loader.onURLRedirect=this._onURLRedirect.bind(this),this._loader.onDataArrival=this._onLoaderChunkArrival.bind(this),this._loader.onComplete=this._onLoaderComplete.bind(this),this._loader.onError=this._onLoaderError.bind(this)}open(T){this._currentRange={from:0,to:-1},T&&(this._currentRange.from=T),this._speedSampler.reset(),T||(this._fullRequestFlag=!0),this._loader.open(this._dataSource,Object.assign({},this._currentRange))}abort(){this._loader.abort(),this._paused&&(this._paused=!1,this._resumeFrom=0)}pause(){this.isWorking()&&(this._loader.abort(),this._stashUsed!==0?(this._resumeFrom=this._stashByteStart,this._currentRange.to=this._stashByteStart-1):this._resumeFrom=this._currentRange.to+1,this._stashUsed=0,this._stashByteStart=0,this._paused=!0)}resume(){if(this._paused){this._paused=!1;let T=this._resumeFrom;this._resumeFrom=0,this._internalSeek(T,!0)}}seek(T){this._paused=!1,this._stashUsed=0,this._stashByteStart=0,this._internalSeek(T,!0)}_internalSeek(T,z){this._loader.isWorking()&&this._loader.abort(),this._flushStashBuffer(z),this._loader.destroy(),this._loader=null;let Z={from:T,to:-1};this._currentRange={from:Z.from,to:-1},this._speedSampler.reset(),this._stashSize=this._stashInitialSize,this._createLoader(),this._loader.open(this._dataSource,Z),this._onSeeked&&this._onSeeked()}updateUrl(T){if(!T||typeof T!="string"||T.length===0)throw new l("Url must be a non-empty string!");this._dataSource.url=T}_expandBuffer(T){let z=this._stashSize;for(;z+1024*1024*10){let ie=new Uint8Array(this._stashBuffer,0,this._stashUsed);new Uint8Array(Z,0,z).set(ie,0)}this._stashBuffer=Z,this._bufferSize=z}_normalizeSpeed(T){let z=this._speedNormalizeList,Z=z.length-1,ie=0,se=0,Qe=Z;if(T=z[ie]&&T=512&&T<=1024?z=Math.floor(T*1.5):z=T*2,z>8192&&(z=8192);let Z=z*1024+1024*1024*1;this._bufferSize0){let Qe=this._stashBuffer.slice(0,this._stashUsed),lt=this._dispatchChunks(Qe,this._stashByteStart);if(lt0){let xt=new Uint8Array(Qe,lt);se.set(xt,0),this._stashUsed=xt.byteLength,this._stashByteStart+=lt}}else this._stashUsed=0,this._stashByteStart+=lt;this._stashUsed+T.byteLength>this._bufferSize&&(this._expandBuffer(this._stashUsed+T.byteLength),se=new Uint8Array(this._stashBuffer,0,this._bufferSize)),se.set(new Uint8Array(T),this._stashUsed),this._stashUsed+=T.byteLength}else{let Qe=this._dispatchChunks(T,z);if(Qethis._bufferSize&&(this._expandBuffer(lt),se=new Uint8Array(this._stashBuffer,0,this._bufferSize)),se.set(new Uint8Array(T,Qe),0),this._stashUsed+=lt,this._stashByteStart=z+Qe}}}else if(this._stashUsed===0){let se=this._dispatchChunks(T,z);if(sethis._bufferSize&&this._expandBuffer(Qe),new Uint8Array(this._stashBuffer,0,this._bufferSize).set(new Uint8Array(T,se),0),this._stashUsed+=Qe,this._stashByteStart=z+se}}else{this._stashUsed+T.byteLength>this._bufferSize&&this._expandBuffer(this._stashUsed+T.byteLength);let se=new Uint8Array(this._stashBuffer,0,this._bufferSize);se.set(new Uint8Array(T),this._stashUsed),this._stashUsed+=T.byteLength;let Qe=this._dispatchChunks(this._stashBuffer.slice(0,this._stashUsed),this._stashByteStart);if(Qe0){let lt=new Uint8Array(this._stashBuffer,Qe);se.set(lt,0)}this._stashUsed-=Qe,this._stashByteStart+=Qe}}_flushStashBuffer(T){if(this._stashUsed>0){let z=this._stashBuffer.slice(0,this._stashUsed),Z=this._dispatchChunks(z,this._stashByteStart),ie=z.byteLength-Z;if(Z0){let se=new Uint8Array(this._stashBuffer,0,this._bufferSize),Qe=new Uint8Array(z,Z);se.set(Qe,0),this._stashUsed=Qe.byteLength,this._stashByteStart+=Z}return 0}return this._stashUsed=0,this._stashByteStart=0,ie}return 0}_onLoaderComplete(T,z){this._flushStashBuffer(!0),this._onComplete&&this._onComplete(this._extraData)}_onLoaderError(T,z){switch(C.e(this.TAG,`Loader error, code = ${z.code}, msg = ${z.msg}`),this._flushStashBuffer(!1),this._isEarlyEofReconnecting&&(this._isEarlyEofReconnecting=!1,T=r.UNRECOVERABLE_EARLY_EOF),T){case r.EARLY_EOF:{if(!this._config.isLive&&this._totalLength){let Z=this._currentRange.to+1;Z0){let z=le.getConfig();T.emit("change",z)}}static registerListener(T){le.emitter.addListener("change",T)}static removeListener(T){le.emitter.removeListener("change",T)}static addLogListener(T){C.emitter.addListener("log",T),C.emitter.listenerCount("log")>0&&(C.ENABLE_CALLBACK=!0,le._notifyChange())}static removeLogListener(T){C.emitter.removeListener("log",T),C.emitter.listenerCount("log")===0&&(C.ENABLE_CALLBACK=!1,le._notifyChange())}}le.emitter=new(_());var J=le;class ve{constructor(){this.mimeType=null,this.duration=null,this.hasAudio=null,this.hasVideo=null,this.audioCodec=null,this.videoCodec=null,this.audioDataRate=null,this.videoDataRate=null,this.audioSampleRate=null,this.audioChannelCount=null,this.width=null,this.height=null,this.fps=null,this.profile=null,this.level=null,this.refFrames=null,this.chromaFormat=null,this.sarNum=null,this.sarDen=null,this.metadata=null,this.segments=null,this.segmentCount=null,this.hasKeyframesIndex=null,this.keyframesIndex=null}isComplete(){let T=this.hasAudio===!1||this.hasAudio===!0&&this.audioCodec!=null&&this.audioSampleRate!=null&&this.audioChannelCount!=null,z=this.hasVideo===!1||this.hasVideo===!0&&this.videoCodec!=null&&this.width!=null&&this.height!=null&&this.fps!=null&&this.profile!=null&&this.level!=null&&this.refFrames!=null&&this.chromaFormat!=null&&this.sarNum!=null&&this.sarDen!=null;return this.mimeType!=null&&this.duration!=null&&this.metadata!=null&&this.hasKeyframesIndex!=null&&T&&z}isSeekable(){return this.hasKeyframesIndex===!0}getNearestKeyframe(T){if(this.keyframesIndex==null)return null;let z=this.keyframesIndex,Z=this._search(z.times,T);return{index:Z,milliseconds:z.times[Z],fileposition:z.filepositions[Z]}}_search(T,z){let Z=0,ie=T.length-1,se=0,Qe=0,lt=ie;for(z=T[se]&&z=128){T.push(String.fromCharCode(se&65535)),Z+=2;continue}}}else if(z[Z]<240){if(be(z,Z,2)){let se=(z[Z]&15)<<12|(z[Z+1]&63)<<6|z[Z+2]&63;if(se>=2048&&(se&63488)!==55296){T.push(String.fromCharCode(se&65535)),Z+=3;continue}}}else if(z[Z]<248&&be(z,Z,3)){let se=(z[Z]&7)<<18|(z[Z+1]&63)<<12|(z[Z+2]&63)<<6|z[Z+3]&63;if(se>65536&&se<1114112){se-=65536,T.push(String.fromCharCode(se>>>10|55296)),T.push(String.fromCharCode(se&1023|56320)),Z+=4;continue}}}T.push("\uFFFD"),++Z}return T.join("")}var Ue=Ae;let we=function(){let _t=new ArrayBuffer(2);return new DataView(_t).setInt16(0,256,!0),new Int16Array(_t)[0]===256}();class $e{static parseScriptData(T,z,Z){let ie={};try{let se=$e.parseValue(T,z,Z),Qe=$e.parseValue(T,z+se.size,Z-se.size);ie[se.data]=Qe.data}catch(se){C.e("AMF",se.toString())}return ie}static parseObject(T,z,Z){if(Z<3)throw new d("Data not enough when parse ScriptDataObject");let ie=$e.parseString(T,z,Z),se=$e.parseValue(T,z+ie.size,Z-ie.size),Qe=se.objectEnd;return{data:{name:ie.data,value:se.data},size:ie.size+se.size,objectEnd:Qe}}static parseVariable(T,z,Z){return $e.parseObject(T,z,Z)}static parseString(T,z,Z){if(Z<2)throw new d("Data not enough when parse String");let se=new DataView(T,z,Z).getUint16(0,!we),Qe;return se>0?Qe=Ue(new Uint8Array(T,z+2,se)):Qe="",{data:Qe,size:2+se}}static parseLongString(T,z,Z){if(Z<4)throw new d("Data not enough when parse LongString");let se=new DataView(T,z,Z).getUint32(0,!we),Qe;return se>0?Qe=Ue(new Uint8Array(T,z+4,se)):Qe="",{data:Qe,size:4+se}}static parseDate(T,z,Z){if(Z<10)throw new d("Data size invalid when parse Date");let ie=new DataView(T,z,Z),se=ie.getFloat64(0,!we),Qe=ie.getInt16(8,!we);return se+=Qe*60*1e3,{data:new Date(se),size:10}}static parseValue(T,z,Z){if(Z<1)throw new d("Data not enough when parse Value");let ie=new DataView(T,z,Z),se=1,Qe=ie.getUint8(0),lt,xt=!1;try{switch(Qe){case 0:lt=ie.getFloat64(1,!we),se+=8;break;case 1:{lt=!!ie.getUint8(1),se+=1;break}case 2:{let at=$e.parseString(T,z+1,Z-1);lt=at.data,se+=at.size;break}case 3:{lt={};let at=0;for((ie.getUint32(Z-4,!we)&16777215)===9&&(at=3);se32)throw new l("ExpGolomb: readBits() bits exceeded max 32bits!");if(T<=this._current_word_bits_left){let Qe=this._current_word>>>32-T;return this._current_word<<=T,this._current_word_bits_left-=T,Qe}let z=this._current_word_bits_left?this._current_word:0;z=z>>>32-this._current_word_bits_left;let Z=T-this._current_word_bits_left;this._fillCurrentWord();let ie=Math.min(Z,this._current_word_bits_left),se=this._current_word>>>32-ie;return this._current_word<<=ie,this._current_word_bits_left-=ie,z=z<>>T)return this._current_word<<=T,this._current_word_bits_left-=T,T;return this._fillCurrentWord(),T+this._skipLeadingZero()}readUEG(){let T=this._skipLeadingZero();return this.readBits(T+1)-1}readSEG(){let T=this.readUEG();return T&1?T+1>>>1:-1*(T>>>1)}}var Ze=ge;class Fe{static _ebsp2rbsp(T){let z=T,Z=z.byteLength,ie=new Uint8Array(Z),se=0;for(let Qe=0;Qe=2&&z[Qe]===3&&z[Qe-1]===0&&z[Qe-2]===0||(ie[se]=z[Qe],se++);return new Uint8Array(ie.buffer,0,se)}static parseSPS(T){let z=Fe._ebsp2rbsp(T),Z=new Ze(z);Z.readByte();let ie=Z.readByte();Z.readByte();let se=Z.readByte();Z.readUEG();let Qe=Fe.getProfileString(ie),lt=Fe.getLevelString(se),xt=1,at=420,Nt=[0,420,422,444],Gt=8;if((ie===100||ie===110||ie===122||ie===244||ie===44||ie===83||ie===86||ie===118||ie===128||ie===138||ie===144)&&(xt=Z.readUEG(),xt===3&&Z.readBits(1),xt<=3&&(at=Nt[xt]),Gt=Z.readUEG()+8,Z.readUEG(),Z.readBits(1),Z.readBool())){let pn=xt!==3?8:12;for(let Lt=0;Lt0&&pn<16?(ye=Lt[pn-1],_e=Mn[pn-1]):pn===255&&(ye=Z.readByte()<<8|Z.readByte(),_e=Z.readByte()<<8|Z.readByte())}if(Z.readBool()&&Z.readBool(),Z.readBool()&&(Z.readBits(4),Z.readBool()&&Z.readBits(24)),Z.readBool()&&(Z.readUEG(),Z.readUEG()),Z.readBool()){let pn=Z.readBits(32),Lt=Z.readBits(32);De=Z.readBool(),ct=Lt,At=pn*2,ke=ct/At}}let Yt=1;(ye!==1||_e!==1)&&(Yt=ye/_e);let sn=0,wn=0;if(xt===0)sn=1,wn=2-Pe;else{let pn=xt===3?1:2,Lt=xt===1?2:1;sn=pn,wn=Lt*(2-Pe)}let En=(Ee+1)*16,nn=(2-Pe)*((Le+1)*16);En-=(We+he)*sn,nn-=(Ve+tt)*wn;let fn=Math.ceil(En*Yt);return Z.destroy(),Z=null,{profile_string:Qe,level_string:lt,bit_depth:Gt,ref_frames:Ne,chroma_format:at,chroma_format_string:Fe.getChromaFormatString(at),frame_rate:{fixed:De,fps:ke,fps_den:At,fps_num:ct},sar_ratio:{width:ye,height:_e},codec_size:{width:En,height:nn},present_size:{width:fn,height:nn}}}static _skipScalingList(T,z){let Z=8,ie=8,se=0;for(let Qe=0;Qe>>8&255|(_t&255)<<8}function q(_t){return(_t&4278190080)>>>24|(_t&16711680)>>>8|(_t&65280)<<8|(_t&255)<<24}function re(_t,T){return _t[T]<<24|_t[T+1]<<16|_t[T+2]<<8|_t[T+3]}class ee{constructor(T,z){this.TAG="FLVDemuxer",this._config=z,this._onError=null,this._onMediaInfo=null,this._onMetaDataArrived=null,this._onScriptDataArrived=null,this._onTrackMetadata=null,this._onDataAvailable=null,this._dataOffset=T.dataOffset,this._firstParse=!0,this._dispatch=!1,this._hasAudio=T.hasAudioTrack,this._hasVideo=T.hasVideoTrack,this._hasAudioFlagOverrided=!1,this._hasVideoFlagOverrided=!1,this._audioInitialMetadataDispatched=!1,this._videoInitialMetadataDispatched=!1,this._mediaInfo=new Ce,this._mediaInfo.hasAudio=this._hasAudio,this._mediaInfo.hasVideo=this._hasVideo,this._metadata=null,this._audioMetadata=null,this._videoMetadata=null,this._naluLengthSize=4,this._timestampBase=0,this._timescale=1e3,this._duration=0,this._durationOverrided=!1,this._referenceFrameRate={fixed:!0,fps:23.976,fps_num:23976,fps_den:1e3},this._flvSoundRateTable=[5500,11025,22050,44100,48e3],this._mpegSamplingRates=[96e3,88200,64e3,48e3,44100,32e3,24e3,22050,16e3,12e3,11025,8e3,7350],this._mpegAudioV10SampleRateTable=[44100,48e3,32e3,0],this._mpegAudioV20SampleRateTable=[22050,24e3,16e3,0],this._mpegAudioV25SampleRateTable=[11025,12e3,8e3,0],this._mpegAudioL1BitRateTable=[0,32,64,96,128,160,192,224,256,288,320,352,384,416,448,-1],this._mpegAudioL2BitRateTable=[0,32,48,56,64,80,96,112,128,160,192,224,256,320,384,-1],this._mpegAudioL3BitRateTable=[0,32,40,48,56,64,80,96,112,128,160,192,224,256,320,-1],this._videoTrack={type:"video",id:1,sequenceNumber:0,samples:[],length:0},this._audioTrack={type:"audio",id:2,sequenceNumber:0,samples:[],length:0},this._littleEndian=function(){let Z=new ArrayBuffer(2);return new DataView(Z).setInt16(0,256,!0),new Int16Array(Z)[0]===256}()}destroy(){this._mediaInfo=null,this._metadata=null,this._audioMetadata=null,this._videoMetadata=null,this._videoTrack=null,this._audioTrack=null,this._onError=null,this._onMediaInfo=null,this._onMetaDataArrived=null,this._onScriptDataArrived=null,this._onTrackMetadata=null,this._onDataAvailable=null}static probe(T){let z=new Uint8Array(T),Z={match:!1};if(z[0]!==70||z[1]!==76||z[2]!==86||z[3]!==1)return Z;let ie=(z[4]&4)>>>2!==0,se=(z[4]&1)!==0,Qe=re(z,5);return Qe<9?Z:{match:!0,consumed:Qe,dataOffset:Qe,hasAudioTrack:ie,hasVideoTrack:se}}bindDataSource(T){return T.onDataArrival=this.parseChunks.bind(this),this}get onTrackMetadata(){return this._onTrackMetadata}set onTrackMetadata(T){this._onTrackMetadata=T}get onMediaInfo(){return this._onMediaInfo}set onMediaInfo(T){this._onMediaInfo=T}get onMetaDataArrived(){return this._onMetaDataArrived}set onMetaDataArrived(T){this._onMetaDataArrived=T}get onScriptDataArrived(){return this._onScriptDataArrived}set onScriptDataArrived(T){this._onScriptDataArrived=T}get onError(){return this._onError}set onError(T){this._onError=T}get onDataAvailable(){return this._onDataAvailable}set onDataAvailable(T){this._onDataAvailable=T}get timestampBase(){return this._timestampBase}set timestampBase(T){this._timestampBase=T}get overridedDuration(){return this._duration}set overridedDuration(T){this._durationOverrided=!0,this._duration=T,this._mediaInfo.duration=T}set overridedHasAudio(T){this._hasAudioFlagOverrided=!0,this._hasAudio=T,this._mediaInfo.hasAudio=T}set overridedHasVideo(T){this._hasVideoFlagOverrided=!0,this._hasVideo=T,this._mediaInfo.hasVideo=T}resetMediaInfo(){this._mediaInfo=new Ce}_isInitialMetadataDispatched(){return this._hasAudio&&this._hasVideo?this._audioInitialMetadataDispatched&&this._videoInitialMetadataDispatched:this._hasAudio&&!this._hasVideo?this._audioInitialMetadataDispatched:!this._hasAudio&&this._hasVideo?this._videoInitialMetadataDispatched:!1}parseChunks(T,z){if(!this._onError||!this._onMediaInfo||!this._onTrackMetadata||!this._onDataAvailable)throw new d("Flv: onError & onMediaInfo & onTrackMetadata & onDataAvailable callback must be specified");let Z=0,ie=this._littleEndian;if(z===0)if(T.byteLength>13)Z=ee.probe(T).dataOffset;else return 0;for(this._firstParse&&(this._firstParse=!1,z+Z!==this._dataOffset&&C.w(this.TAG,"First time parsing but chunk byteStart invalid!"),new DataView(T,Z).getUint32(0,!ie)!==0&&C.w(this.TAG,"PrevTagSize0 !== 0 !!!"),Z+=4);ZT.byteLength)break;let Qe=se.getUint8(0),lt=se.getUint32(0,!ie)&16777215;if(Z+11+lt+4>T.byteLength)break;if(Qe!==8&&Qe!==9&&Qe!==18){C.w(this.TAG,`Unsupported tag type ${Qe}, skipped`),Z+=11+lt+4;continue}let xt=se.getUint8(4),at=se.getUint8(5),Nt=se.getUint8(6),Gt=se.getUint8(7),je=Nt|at<<8|xt<<16|Gt<<24;(se.getUint32(7,!ie)&16777215)!==0&&C.w(this.TAG,"Meet tag which has StreamID != 0!");let Ee=Z+11;switch(Qe){case 8:this._parseAudioData(T,Ee,lt,je);break;case 9:this._parseVideoData(T,Ee,lt,je,z+Z);break;case 18:this._parseScriptData(T,Ee,lt);break}let Le=se.getUint32(11+lt,!ie);Le!==11+lt&&C.w(this.TAG,`Invalid PrevTagSize ${Le}`),Z+=11+lt+4}return this._isInitialMetadataDispatched()&&this._dispatch&&(this._audioTrack.length||this._videoTrack.length)&&this._onDataAvailable(this._audioTrack,this._videoTrack),Z}_parseScriptData(T,z,Z){let ie=Re.parseScriptData(T,z,Z);if(ie.hasOwnProperty("onMetaData")){if(ie.onMetaData==null||typeof ie.onMetaData!="object"){C.w(this.TAG,"Invalid onMetaData structure!");return}this._metadata&&C.w(this.TAG,"Found another onMetaData tag!"),this._metadata=ie;let se=this._metadata.onMetaData;if(this._onMetaDataArrived&&this._onMetaDataArrived(Object.assign({},se)),typeof se.hasAudio=="boolean"&&this._hasAudioFlagOverrided===!1&&(this._hasAudio=se.hasAudio,this._mediaInfo.hasAudio=this._hasAudio),typeof se.hasVideo=="boolean"&&this._hasVideoFlagOverrided===!1&&(this._hasVideo=se.hasVideo,this._mediaInfo.hasVideo=this._hasVideo),typeof se.audiodatarate=="number"&&(this._mediaInfo.audioDataRate=se.audiodatarate),typeof se.videodatarate=="number"&&(this._mediaInfo.videoDataRate=se.videodatarate),typeof se.width=="number"&&(this._mediaInfo.width=se.width),typeof se.height=="number"&&(this._mediaInfo.height=se.height),typeof se.duration=="number"){if(!this._durationOverrided){let Qe=Math.floor(se.duration*this._timescale);this._duration=Qe,this._mediaInfo.duration=Qe}}else this._mediaInfo.duration=0;if(typeof se.framerate=="number"){let Qe=Math.floor(se.framerate*1e3);if(Qe>0){let lt=Qe/1e3;this._referenceFrameRate.fixed=!0,this._referenceFrameRate.fps=lt,this._referenceFrameRate.fps_num=Qe,this._referenceFrameRate.fps_den=1e3,this._mediaInfo.fps=lt}}if(typeof se.keyframes=="object"){this._mediaInfo.hasKeyframesIndex=!0;let Qe=se.keyframes;this._mediaInfo.keyframesIndex=this._parseKeyframesIndex(Qe),se.keyframes=null}else this._mediaInfo.hasKeyframesIndex=!1;this._dispatch=!1,this._mediaInfo.metadata=se,C.v(this.TAG,"Parsed onMetaData"),this._mediaInfo.isComplete()&&this._onMediaInfo(this._mediaInfo)}Object.keys(ie).length>0&&this._onScriptDataArrived&&this._onScriptDataArrived(Object.assign({},ie))}_parseKeyframesIndex(T){let z=[],Z=[];for(let ie=1;ie>>4;if(xt!==2&&xt!==10){this._onError(Be.CODEC_UNSUPPORTED,"Flv: Unsupported audio codec idx: "+xt);return}let at=0,Nt=(lt&12)>>>2;if(Nt>=0&&Nt<=4)at=this._flvSoundRateTable[Nt];else{this._onError(Be.FORMAT_ERROR,"Flv: Invalid audio sample rate idx: "+Nt);return}let Gt=(lt&2)>>>1,je=lt&1,Ne=this._audioMetadata,Ee=this._audioTrack;if(Ne||(this._hasAudio===!1&&this._hasAudioFlagOverrided===!1&&(this._hasAudio=!0,this._mediaInfo.hasAudio=!0),Ne=this._audioMetadata={},Ne.type="audio",Ne.id=Ee.id,Ne.timescale=this._timescale,Ne.duration=this._duration,Ne.audioSampleRate=at,Ne.channelCount=je===0?1:2),xt===10){let Le=this._parseAACAudioData(T,z+1,Z-1);if(Le==null)return;if(Le.packetType===0){Ne.config&&C.w(this.TAG,"Found another AudioSpecificConfig!");let Pe=Le.data;Ne.audioSampleRate=Pe.samplingRate,Ne.channelCount=Pe.channelCount,Ne.codec=Pe.codec,Ne.originalCodec=Pe.originalCodec,Ne.config=Pe.config,Ne.refSampleDuration=1024/Ne.audioSampleRate*Ne.timescale,C.v(this.TAG,"Parsed AudioSpecificConfig"),this._isInitialMetadataDispatched()?this._dispatch&&(this._audioTrack.length||this._videoTrack.length)&&this._onDataAvailable(this._audioTrack,this._videoTrack):this._audioInitialMetadataDispatched=!0,this._dispatch=!1,this._onTrackMetadata("audio",Ne);let We=this._mediaInfo;We.audioCodec=Ne.originalCodec,We.audioSampleRate=Ne.audioSampleRate,We.audioChannelCount=Ne.channelCount,We.hasVideo?We.videoCodec!=null&&(We.mimeType='video/x-flv; codecs="'+We.videoCodec+","+We.audioCodec+'"'):We.mimeType='video/x-flv; codecs="'+We.audioCodec+'"',We.isComplete()&&this._onMediaInfo(We)}else if(Le.packetType===1){let Pe=this._timestampBase+ie,We={unit:Le.data,length:Le.data.byteLength,dts:Pe,pts:Pe};Ee.samples.push(We),Ee.length+=Le.data.length}else C.e(this.TAG,`Flv: Unsupported AAC data type ${Le.packetType}`)}else if(xt===2){if(!Ne.codec){let he=this._parseMP3AudioData(T,z+1,Z-1,!0);if(he==null)return;Ne.audioSampleRate=he.samplingRate,Ne.channelCount=he.channelCount,Ne.codec=he.codec,Ne.originalCodec=he.originalCodec,Ne.refSampleDuration=1152/Ne.audioSampleRate*Ne.timescale,C.v(this.TAG,"Parsed MPEG Audio Frame Header"),this._audioInitialMetadataDispatched=!0,this._onTrackMetadata("audio",Ne);let Ve=this._mediaInfo;Ve.audioCodec=Ne.codec,Ve.audioSampleRate=Ne.audioSampleRate,Ve.audioChannelCount=Ne.channelCount,Ve.audioDataRate=he.bitRate,Ve.hasVideo?Ve.videoCodec!=null&&(Ve.mimeType='video/x-flv; codecs="'+Ve.videoCodec+","+Ve.audioCodec+'"'):Ve.mimeType='video/x-flv; codecs="'+Ve.audioCodec+'"',Ve.isComplete()&&this._onMediaInfo(Ve)}let Le=this._parseMP3AudioData(T,z+1,Z-1,!1);if(Le==null)return;let Pe=this._timestampBase+ie,We={unit:Le,length:Le.byteLength,dts:Pe,pts:Pe};Ee.samples.push(We),Ee.length+=Le.length}}_parseAACAudioData(T,z,Z){if(Z<=1){C.w(this.TAG,"Flv: Invalid AAC packet, missing AACPacketType or/and Data!");return}let ie={},se=new Uint8Array(T,z,Z);return ie.packetType=se[0],se[0]===0?ie.data=this._parseAACAudioSpecificConfig(T,z+1,Z-1):ie.data=se.subarray(1),ie}_parseAACAudioSpecificConfig(T,z,Z){let ie=new Uint8Array(T,z,Z),se=null,Qe=0,lt=0,xt=null,at=0,Nt=null;if(Qe=lt=ie[0]>>>3,at=(ie[0]&7)<<1|ie[1]>>>7,at<0||at>=this._mpegSamplingRates.length){this._onError(Be.FORMAT_ERROR,"Flv: AAC invalid sampling frequency index!");return}let Gt=this._mpegSamplingRates[at],je=(ie[1]&120)>>>3;if(je<0||je>=8){this._onError(Be.FORMAT_ERROR,"Flv: AAC invalid channel configuration");return}Qe===5&&(Nt=(ie[1]&7)<<1|ie[2]>>>7,xt=(ie[2]&124)>>>2);let Ne=self.navigator.userAgent.toLowerCase();return Ne.indexOf("firefox")!==-1?at>=6?(Qe=5,se=new Array(4),Nt=at-3):(Qe=2,se=new Array(2),Nt=at):Ne.indexOf("android")!==-1?(Qe=2,se=new Array(2),Nt=at):(Qe=5,Nt=at,se=new Array(4),at>=6?Nt=at-3:je===1&&(Qe=2,se=new Array(2),Nt=at)),se[0]=Qe<<3,se[0]|=(at&15)>>>1,se[1]=(at&15)<<7,se[1]|=(je&15)<<3,Qe===5&&(se[1]|=(Nt&15)>>>1,se[2]=(Nt&1)<<7,se[2]|=8,se[3]=0),{config:se,samplingRate:Gt,channelCount:je,codec:"mp4a.40."+Qe,originalCodec:"mp4a.40."+lt}}_parseMP3AudioData(T,z,Z,ie){if(Z<4){C.w(this.TAG,"Flv: Invalid MP3 packet, header missing!");return}let se=this._littleEndian,Qe=new Uint8Array(T,z,Z),lt=null;if(ie){if(Qe[0]!==255)return;let xt=Qe[1]>>>3&3,at=(Qe[1]&6)>>1,Nt=(Qe[2]&240)>>>4,Gt=(Qe[2]&12)>>>2,Ne=(Qe[3]>>>6&3)!==3?2:1,Ee=0,Le=0,Pe=34,We="mp3";switch(xt){case 0:Ee=this._mpegAudioV25SampleRateTable[Gt];break;case 2:Ee=this._mpegAudioV20SampleRateTable[Gt];break;case 3:Ee=this._mpegAudioV10SampleRateTable[Gt];break}switch(at){case 1:Pe=34,Nt>>4,xt=Qe&15;if(xt!==7){this._onError(Be.CODEC_UNSUPPORTED,`Flv: Unsupported codec in video frame: ${xt}`);return}this._parseAVCVideoPacket(T,z+1,Z-1,ie,se,lt)}_parseAVCVideoPacket(T,z,Z,ie,se,Qe){if(Z<4){C.w(this.TAG,"Flv: Invalid AVC packet, missing AVCPacketType or/and CompositionTime");return}let lt=this._littleEndian,xt=new DataView(T,z,Z),at=xt.getUint8(0),Gt=(xt.getUint32(0,!lt)&16777215)<<8>>8;if(at===0)this._parseAVCDecoderConfigurationRecord(T,z+4,Z-4);else if(at===1)this._parseAVCVideoData(T,z+4,Z-4,ie,se,Qe,Gt);else if(at!==2){this._onError(Be.FORMAT_ERROR,`Flv: Invalid video packet type ${at}`);return}}_parseAVCDecoderConfigurationRecord(T,z,Z){if(Z<7){C.w(this.TAG,"Flv: Invalid AVCDecoderConfigurationRecord, lack of data!");return}let ie=this._videoMetadata,se=this._videoTrack,Qe=this._littleEndian,lt=new DataView(T,z,Z);ie?typeof ie.avcc!="undefined"&&C.w(this.TAG,"Found another AVCDecoderConfigurationRecord!"):(this._hasVideo===!1&&this._hasVideoFlagOverrided===!1&&(this._hasVideo=!0,this._mediaInfo.hasVideo=!0),ie=this._videoMetadata={},ie.type="video",ie.id=se.id,ie.timescale=this._timescale,ie.duration=this._duration);let xt=lt.getUint8(0),at=lt.getUint8(1),Nt=lt.getUint8(2),Gt=lt.getUint8(3);if(xt!==1||at===0){this._onError(Be.FORMAT_ERROR,"Flv: Invalid AVCDecoderConfigurationRecord");return}if(this._naluLengthSize=(lt.getUint8(4)&3)+1,this._naluLengthSize!==3&&this._naluLengthSize!==4){this._onError(Be.FORMAT_ERROR,`Flv: Strange NaluLengthSizeMinusOne: ${this._naluLengthSize-1}`);return}let je=lt.getUint8(5)&31;if(je===0){this._onError(Be.FORMAT_ERROR,"Flv: Invalid AVCDecoderConfigurationRecord: No SPS");return}else je>1&&C.w(this.TAG,`Flv: Strange AVCDecoderConfigurationRecord: SPS Count = ${je}`);let Ne=6;for(let Le=0;Le1&&C.w(this.TAG,`Flv: Strange AVCDecoderConfigurationRecord: PPS Count = ${Ee}`);Ne++;for(let Le=0;Le=Z){C.w(this.TAG,`Malformed Nalu near timestamp ${Ee}, offset = ${je}, dataSize = ${Z}`);break}let Pe=at.getUint32(je,!xt);if(Ne===3&&(Pe>>>=8),Pe>Z-Ne){C.w(this.TAG,`Malformed Nalus near timestamp ${Ee}, NaluSize > DataSize!`);return}let We=at.getUint8(je+Ne)&31;We===5&&(Le=!0);let he=new Uint8Array(T,z+je,Ne+Pe),Ve={type:We,data:he};Nt.push(Ve),Gt+=he.byteLength,je+=Ne+Pe}if(Nt.length){let Pe=this._videoTrack,We={units:Nt,length:Gt,isKeyframe:Le,dts:Ee,cts:lt,pts:Ee+lt};Le&&(We.fileposition=se),Pe.samples.push(We),Pe.length+=Gt}}}var oe=ee;class ${static init(){$.types={avc1:[],avcC:[],btrt:[],dinf:[],dref:[],esds:[],ftyp:[],hdlr:[],mdat:[],mdhd:[],mdia:[],mfhd:[],minf:[],moof:[],moov:[],mp4a:[],mvex:[],mvhd:[],sdtp:[],stbl:[],stco:[],stsc:[],stsd:[],stsz:[],stts:[],tfdt:[],tfhd:[],traf:[],trak:[],trun:[],trex:[],tkhd:[],vmhd:[],smhd:[],".mp3":[]};for(let z in $.types)$.types.hasOwnProperty(z)&&($.types[z]=[z.charCodeAt(0),z.charCodeAt(1),z.charCodeAt(2),z.charCodeAt(3)]);let T=$.constants={};T.FTYP=new Uint8Array([105,115,111,109,0,0,0,1,105,115,111,109,97,118,99,49]),T.STSD_PREFIX=new Uint8Array([0,0,0,0,0,0,0,1]),T.STTS=new Uint8Array([0,0,0,0,0,0,0,0]),T.STSC=T.STCO=T.STTS,T.STSZ=new Uint8Array([0,0,0,0,0,0,0,0,0,0,0,0]),T.HDLR_VIDEO=new Uint8Array([0,0,0,0,0,0,0,0,118,105,100,101,0,0,0,0,0,0,0,0,0,0,0,0,86,105,100,101,111,72,97,110,100,108,101,114,0]),T.HDLR_AUDIO=new Uint8Array([0,0,0,0,0,0,0,0,115,111,117,110,0,0,0,0,0,0,0,0,0,0,0,0,83,111,117,110,100,72,97,110,100,108,101,114,0]),T.DREF=new Uint8Array([0,0,0,0,0,0,0,1,0,0,0,12,117,114,108,32,0,0,0,1]),T.SMHD=new Uint8Array([0,0,0,0,0,0,0,0]),T.VMHD=new Uint8Array([0,0,0,1,0,0,0,0,0,0,0,0])}static box(T){let z=8,Z=null,ie=Array.prototype.slice.call(arguments,1),se=ie.length;for(let lt=0;lt>>24&255,Z[1]=z>>>16&255,Z[2]=z>>>8&255,Z[3]=z&255,Z.set(T,4);let Qe=8;for(let lt=0;lt>>24&255,T>>>16&255,T>>>8&255,T&255,z>>>24&255,z>>>16&255,z>>>8&255,z&255,0,1,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,64,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,255,255,255,255]))}static trak(T){return $.box($.types.trak,$.tkhd(T),$.mdia(T))}static tkhd(T){let z=T.id,Z=T.duration,ie=T.presentWidth,se=T.presentHeight;return $.box($.types.tkhd,new Uint8Array([0,0,0,7,0,0,0,0,0,0,0,0,z>>>24&255,z>>>16&255,z>>>8&255,z&255,0,0,0,0,Z>>>24&255,Z>>>16&255,Z>>>8&255,Z&255,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,64,0,0,0,ie>>>8&255,ie&255,0,0,se>>>8&255,se&255,0,0]))}static mdia(T){return $.box($.types.mdia,$.mdhd(T),$.hdlr(T),$.minf(T))}static mdhd(T){let z=T.timescale,Z=T.duration;return $.box($.types.mdhd,new Uint8Array([0,0,0,0,0,0,0,0,0,0,0,0,z>>>24&255,z>>>16&255,z>>>8&255,z&255,Z>>>24&255,Z>>>16&255,Z>>>8&255,Z&255,85,196,0,0]))}static hdlr(T){let z=null;return T.type==="audio"?z=$.constants.HDLR_AUDIO:z=$.constants.HDLR_VIDEO,$.box($.types.hdlr,z)}static minf(T){let z=null;return T.type==="audio"?z=$.box($.types.smhd,$.constants.SMHD):z=$.box($.types.vmhd,$.constants.VMHD),$.box($.types.minf,z,$.dinf(),$.stbl(T))}static dinf(){return $.box($.types.dinf,$.box($.types.dref,$.constants.DREF))}static stbl(T){return $.box($.types.stbl,$.stsd(T),$.box($.types.stts,$.constants.STTS),$.box($.types.stsc,$.constants.STSC),$.box($.types.stsz,$.constants.STSZ),$.box($.types.stco,$.constants.STCO))}static stsd(T){return T.type==="audio"?T.codec==="mp3"?$.box($.types.stsd,$.constants.STSD_PREFIX,$.mp3(T)):$.box($.types.stsd,$.constants.STSD_PREFIX,$.mp4a(T)):$.box($.types.stsd,$.constants.STSD_PREFIX,$.avc1(T))}static mp3(T){let z=T.channelCount,Z=T.audioSampleRate,ie=new Uint8Array([0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,z,0,16,0,0,0,0,Z>>>8&255,Z&255,0,0]);return $.box($.types[".mp3"],ie)}static mp4a(T){let z=T.channelCount,Z=T.audioSampleRate,ie=new Uint8Array([0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,z,0,16,0,0,0,0,Z>>>8&255,Z&255,0,0]);return $.box($.types.mp4a,ie,$.esds(T))}static esds(T){let z=T.config||[],Z=z.length,ie=new Uint8Array([0,0,0,0,3,23+Z,0,1,0,4,15+Z,64,21,0,0,0,0,0,0,0,0,0,0,0,5].concat([Z]).concat(z).concat([6,1,2]));return $.box($.types.esds,ie)}static avc1(T){let z=T.avcc,Z=T.codecWidth,ie=T.codecHeight,se=new Uint8Array([0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,Z>>>8&255,Z&255,ie>>>8&255,ie&255,0,72,0,0,0,72,0,0,0,0,0,0,0,1,10,120,113,113,47,102,108,118,46,106,115,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,24,255,255]);return $.box($.types.avc1,se,$.box($.types.avcC,z))}static mvex(T){return $.box($.types.mvex,$.trex(T))}static trex(T){let z=T.id,Z=new Uint8Array([0,0,0,0,z>>>24&255,z>>>16&255,z>>>8&255,z&255,0,0,0,1,0,0,0,0,0,0,0,0,0,1,0,1]);return $.box($.types.trex,Z)}static moof(T,z){return $.box($.types.moof,$.mfhd(T.sequenceNumber),$.traf(T,z))}static mfhd(T){let z=new Uint8Array([0,0,0,0,T>>>24&255,T>>>16&255,T>>>8&255,T&255]);return $.box($.types.mfhd,z)}static traf(T,z){let Z=T.id,ie=$.box($.types.tfhd,new Uint8Array([0,0,0,0,Z>>>24&255,Z>>>16&255,Z>>>8&255,Z&255])),se=$.box($.types.tfdt,new Uint8Array([0,0,0,0,z>>>24&255,z>>>16&255,z>>>8&255,z&255])),Qe=$.sdtp(T),lt=$.trun(T,Qe.byteLength+16+16+8+16+8+8);return $.box($.types.traf,ie,se,lt,Qe)}static sdtp(T){let z=T.samples||[],Z=z.length,ie=new Uint8Array(4+Z);for(let se=0;se>>24&255,ie>>>16&255,ie>>>8&255,ie&255,z>>>24&255,z>>>16&255,z>>>8&255,z&255],0);for(let lt=0;lt>>24&255,xt>>>16&255,xt>>>8&255,xt&255,at>>>24&255,at>>>16&255,at>>>8&255,at&255,Nt.isLeading<<2|Nt.dependsOn,Nt.isDependedOn<<6|Nt.hasRedundancy<<4|Nt.isNonSync,0,0,Gt>>>24&255,Gt>>>16&255,Gt>>>8&255,Gt&255],12+16*lt)}return $.box($.types.trun,Qe)}static mdat(T){return $.box($.types.mdat,T)}}$.init();var fe=$;class xe{static getSilentFrame(T,z){if(T==="mp4a.40.2"){if(z===1)return new Uint8Array([0,200,0,128,35,128]);if(z===2)return new Uint8Array([33,0,73,144,2,25,0,35,128]);if(z===3)return new Uint8Array([0,200,0,128,32,132,1,38,64,8,100,0,142]);if(z===4)return new Uint8Array([0,200,0,128,32,132,1,38,64,8,100,0,128,44,128,8,2,56]);if(z===5)return new Uint8Array([0,200,0,128,32,132,1,38,64,8,100,0,130,48,4,153,0,33,144,2,56]);if(z===6)return new Uint8Array([0,200,0,128,32,132,1,38,64,8,100,0,130,48,4,153,0,33,144,2,0,178,0,32,8,224])}else{if(z===1)return new Uint8Array([1,64,34,128,163,78,230,128,186,8,0,0,0,28,6,241,193,10,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,94]);if(z===2)return new Uint8Array([1,64,34,128,163,94,230,128,186,8,0,0,0,0,149,0,6,241,161,10,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,94]);if(z===3)return new Uint8Array([1,64,34,128,163,94,230,128,186,8,0,0,0,0,149,0,6,241,161,10,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,94])}return null}}var ne=xe;class de{constructor(T,z,Z,ie,se){this.dts=T,this.pts=z,this.duration=Z,this.originalDts=ie,this.isSyncPoint=se,this.fileposition=null}}class ut{constructor(){this.beginDts=0,this.endDts=0,this.beginPts=0,this.endPts=0,this.originalBeginDts=0,this.originalEndDts=0,this.syncPoints=[],this.firstSample=null,this.lastSample=null}appendSyncPoint(T){T.isSyncPoint=!0,this.syncPoints.push(T)}}class Je{constructor(){this._list=[]}clear(){this._list=[]}appendArray(T){let z=this._list;T.length!==0&&(z.length>0&&T[0].originalDts=z[se].dts&&Tz[ie].lastSample.originalDts&&T=z[ie].lastSample.originalDts&&(ie===z.length-1||ie0&&(se=this._searchNearestSegmentBefore(Z.originalBeginDts)+1),this._lastAppendLocation=se,this._list.splice(se,0,Z)}getLastSegmentBefore(T){let z=this._searchNearestSegmentBefore(T);return z>=0?this._list[z]:null}getLastSampleBefore(T){let z=this.getLastSegmentBefore(T);return z!=null?z.lastSample:null}getLastSyncPointBefore(T){let z=this._searchNearestSegmentBefore(T),Z=this._list[z].syncPoints;for(;Z.length===0&&z>0;)z--,Z=this._list[z].syncPoints;return Z.length>0?Z[Z.length-1]:null}}class vt{constructor(T){this.TAG="MP4Remuxer",this._config=T,this._isLive=T.isLive===!0,this._dtsBase=-1,this._dtsBaseInited=!1,this._audioDtsBase=1/0,this._videoDtsBase=1/0,this._audioNextDts=void 0,this._videoNextDts=void 0,this._audioStashedLastSample=null,this._videoStashedLastSample=null,this._audioMeta=null,this._videoMeta=null,this._audioSegmentInfoList=new ht("audio"),this._videoSegmentInfoList=new ht("video"),this._onInitSegment=null,this._onMediaSegment=null,this._forceFirstIDR=!!(u.chrome&&(u.version.major<50||u.version.major===50&&u.version.build<2661)),this._fillSilentAfterSeek=u.msedge||u.msie,this._mp3UseMpegAudio=!u.firefox,this._fillAudioTimestampGap=this._config.fixAudioTimestampGap}destroy(){this._dtsBase=-1,this._dtsBaseInited=!1,this._audioMeta=null,this._videoMeta=null,this._audioSegmentInfoList.clear(),this._audioSegmentInfoList=null,this._videoSegmentInfoList.clear(),this._videoSegmentInfoList=null,this._onInitSegment=null,this._onMediaSegment=null}bindDataSource(T){return T.onDataAvailable=this.remux.bind(this),T.onTrackMetadata=this._onTrackMetadataReceived.bind(this),this}get onInitSegment(){return this._onInitSegment}set onInitSegment(T){this._onInitSegment=T}get onMediaSegment(){return this._onMediaSegment}set onMediaSegment(T){this._onMediaSegment=T}insertDiscontinuity(){this._audioNextDts=this._videoNextDts=void 0}seek(T){this._audioStashedLastSample=null,this._videoStashedLastSample=null,this._videoSegmentInfoList.clear(),this._audioSegmentInfoList.clear()}remux(T,z){if(!this._onMediaSegment)throw new d("MP4Remuxer: onMediaSegment callback must be specificed!");this._dtsBaseInited||this._calculateDtsBase(T,z),this._remuxVideo(z),this._remuxAudio(T)}_onTrackMetadataReceived(T,z){let Z=null,ie="mp4",se=z.codec;if(T==="audio")this._audioMeta=z,z.codec==="mp3"&&this._mp3UseMpegAudio?(ie="mpeg",se="",Z=new Uint8Array):Z=fe.generateInitSegment(z);else if(T==="video")this._videoMeta=z,Z=fe.generateInitSegment(z);else return;if(!this._onInitSegment)throw new d("MP4Remuxer: onInitSegment callback must be specified!");this._onInitSegment(T,{type:T,data:Z.buffer,codec:se,container:`${T}/${ie}`,mediaDuration:z.duration})}_calculateDtsBase(T,z){this._dtsBaseInited||(T.samples&&T.samples.length&&(this._audioDtsBase=T.samples[0].dts),z.samples&&z.samples.length&&(this._videoDtsBase=z.samples[0].dts),this._dtsBase=Math.min(this._audioDtsBase,this._videoDtsBase),this._dtsBaseInited=!0)}flushStashedSamples(){let T=this._videoStashedLastSample,z=this._audioStashedLastSample,Z={type:"video",id:1,sequenceNumber:0,samples:[],length:0};T!=null&&(Z.samples.push(T),Z.length=T.length);let ie={type:"audio",id:2,sequenceNumber:0,samples:[],length:0};z!=null&&(ie.samples.push(z),ie.length=z.length),this._videoStashedLastSample=null,this._audioStashedLastSample=null,this._remuxVideo(Z,!0),this._remuxAudio(ie,!0)}_remuxAudio(T,z){if(this._audioMeta==null)return;let Z=T,ie=Z.samples,se,Qe=-1,lt=-1,xt=-1,at=this._audioMeta.refSampleDuration,Nt=this._audioMeta.codec==="mp3"&&this._mp3UseMpegAudio,Gt=this._dtsBaseInited&&this._audioNextDts===void 0,je=!1;if(!ie||ie.length===0||ie.length===1&&!z)return;let Ne=0,Ee=null,Le=0;Nt?(Ne=0,Le=Z.length):(Ne=8,Le=8+Z.length);let Pe=null;if(ie.length>1&&(Pe=ie.pop(),Le-=Pe.length),this._audioStashedLastSample!=null){let _e=this._audioStashedLastSample;this._audioStashedLastSample=null,ie.unshift(_e),Le+=_e.length}Pe!=null&&(this._audioStashedLastSample=Pe);let We=ie[0].dts-this._dtsBase;if(this._audioNextDts)se=We-this._audioNextDts;else if(this._audioSegmentInfoList.isEmpty())se=0,this._fillSilentAfterSeek&&!this._videoSegmentInfoList.isEmpty()&&this._audioMeta.originalCodec!=="mp3"&&(je=!0);else{let _e=this._audioSegmentInfoList.getLastSampleBefore(We);if(_e!=null){let ke=We-(_e.originalDts+_e.duration);ke<=3&&(ke=0);let De=_e.dts+_e.duration+ke;se=We-De}else se=0}if(je){let _e=We-se,ke=this._videoSegmentInfoList.getLastSegmentBefore(We);if(ke!=null&&ke.beginDts<_e){let De=ne.getSilentFrame(this._audioMeta.originalCodec,this._audioMeta.channelCount);if(De){let ct=ke.beginDts,At=_e-ke.beginDts;C.v(this.TAG,`InsertPrefixSilentAudio: dts: ${ct}, duration: ${At}`),ie.unshift({unit:De,dts:ct,pts:ct}),Le+=De.byteLength}}else je=!1}let he=[];for(let _e=0;_e=1?Pt=he[he.length-1].duration:Pt=Math.floor(at);let Yt=!1,sn=null;if(Pt>at*1.5&&this._audioMeta.codec!=="mp3"&&this._fillAudioTimestampGap&&!u.safari){Yt=!0;let wn=Math.abs(Pt-at),En=Math.ceil(wn/at),nn=At+at;C.w(this.TAG,`Large audio timestamp gap detected, may cause AV sync to drift. Silent frames will be generated to avoid unsync. dts: ${At+Pt} ms, expected: ${At+Math.round(at)} ms, delta: ${Math.round(wn)} ms, generate: ${En} frames`);let fn=ne.getSilentFrame(this._audioMeta.originalCodec,this._audioMeta.channelCount);fn==null&&(C.w(this.TAG,`Unable to generate silent frame for ${this._audioMeta.originalCodec} with ${this._audioMeta.channelCount} channels, repeat last frame`),fn=De),sn=[];for(let Lt=0;Lt0){let bn=sn[sn.length-1];bn.duration=Mn-bn.dts}let Zn={dts:Mn,pts:Mn,cts:0,unit:fn,size:fn.byteLength,duration:0,originalDts:ct,flags:{isLeading:0,dependsOn:1,isDependedOn:0,hasRedundancy:0}};sn.push(Zn),Le+=Zn.size,nn+=at}let pn=sn[sn.length-1];pn.duration=At+Pt-pn.dts,Pt=Math.round(at)}he.push({dts:At,pts:At,cts:0,unit:ke.unit,size:ke.unit.byteLength,duration:Pt,originalDts:ct,flags:{isLeading:0,dependsOn:1,isDependedOn:0,hasRedundancy:0}}),Yt&&he.push.apply(he,sn)}Nt?Ee=new Uint8Array(Le):(Ee=new Uint8Array(Le),Ee[0]=Le>>>24&255,Ee[1]=Le>>>16&255,Ee[2]=Le>>>8&255,Ee[3]=Le&255,Ee.set(fe.types.mdat,4));for(let _e=0;_e1&&(Ne=ie.pop(),je-=Ne.length),this._videoStashedLastSample!=null){let Ve=this._videoStashedLastSample;this._videoStashedLastSample=null,ie.unshift(Ve),je+=Ve.length}Ne!=null&&(this._videoStashedLastSample=Ne);let Ee=ie[0].dts-this._dtsBase;if(this._videoNextDts)se=Ee-this._videoNextDts;else if(this._videoSegmentInfoList.isEmpty())se=0;else{let Ve=this._videoSegmentInfoList.getLastSampleBefore(Ee);if(Ve!=null){let tt=Ee-(Ve.originalDts+Ve.duration);tt<=3&&(tt=0);let me=Ve.dts+Ve.duration+tt;se=Ee-me}else se=0}let Le=new ut,Pe=[];for(let Ve=0;Ve=1?ct=Pe[Pe.length-1].duration:ct=Math.floor(this._videoMeta.refSampleDuration),ye){let At=new de(_e,De,ct,tt.dts,!0);At.fileposition=tt.fileposition,Le.appendSyncPoint(At)}Pe.push({dts:_e,pts:De,cts:ke,units:tt.units,size:tt.length,isKeyframe:ye,duration:ct,originalDts:me,flags:{isLeading:0,dependsOn:ye?2:1,isDependedOn:ye?1:0,hasRedundancy:0,isNonSync:ye?0:1}})}Gt=new Uint8Array(je),Gt[0]=je>>>24&255,Gt[1]=je>>>16&255,Gt[2]=je>>>8&255,Gt[3]=je&255,Gt.set(fe.types.mdat,4);for(let Ve=0;Ve{ie.timestampBase=Z,Z+=ie.duration,ie.cors=T.cors,ie.withCredentials=T.withCredentials,z.referrerPolicy&&(ie.referrerPolicy=z.referrerPolicy)}),!isNaN(Z)&&this._mediaDataSource.duration!==Z&&(this._mediaDataSource.duration=Z),this._mediaInfo=null,this._demuxer=null,this._remuxer=null,this._ioctl=null,this._pendingSeekTime=null,this._pendingResolveSeekPoint=null,this._statisticsReporter=null}destroy(){this._mediaInfo=null,this._mediaDataSource=null,this._statisticsReporter&&this._disableStatisticsReporter(),this._ioctl&&(this._ioctl.destroy(),this._ioctl=null),this._demuxer&&(this._demuxer.destroy(),this._demuxer=null),this._remuxer&&(this._remuxer.destroy(),this._remuxer=null),this._emitter.removeAllListeners(),this._emitter=null}on(T,z){this._emitter.addListener(T,z)}off(T,z){this._emitter.removeListener(T,z)}start(){this._loadSegment(0),this._enableStatisticsReporter()}_loadSegment(T,z){this._currentSegmentIndex=T;let Z=this._mediaDataSource.segments[T],ie=this._ioctl=new I(Z,this._config,T);ie.onError=this._onIOException.bind(this),ie.onSeeked=this._onIOSeeked.bind(this),ie.onComplete=this._onIOComplete.bind(this),ie.onRedirect=this._onIORedirect.bind(this),ie.onRecoveredEarlyEof=this._onIORecoveredEarlyEof.bind(this),z?this._demuxer.bindDataSource(this._ioctl):ie.onDataArrival=this._onInitChunkArrival.bind(this),ie.open(z)}stop(){this._internalAbort(),this._disableStatisticsReporter()}_internalAbort(){this._ioctl&&(this._ioctl.destroy(),this._ioctl=null)}pause(){this._ioctl&&this._ioctl.isWorking()&&(this._ioctl.pause(),this._disableStatisticsReporter())}resume(){this._ioctl&&this._ioctl.isPaused()&&(this._ioctl.resume(),this._enableStatisticsReporter())}seek(T){if(this._mediaInfo==null||!this._mediaInfo.isSeekable())return;let z=this._searchSegmentIndexContains(T);if(z===this._currentSegmentIndex){let Z=this._mediaInfo.segments[z];if(Z==null)this._pendingSeekTime=T;else{let ie=Z.getNearestKeyframe(T);this._remuxer.seek(ie.milliseconds),this._ioctl.seek(ie.fileposition),this._pendingResolveSeekPoint=ie.milliseconds}}else{let Z=this._mediaInfo.segments[z];if(Z==null)this._pendingSeekTime=T,this._internalAbort(),this._remuxer.seek(),this._remuxer.insertDiscontinuity(),this._loadSegment(z);else{let ie=Z.getNearestKeyframe(T);this._internalAbort(),this._remuxer.seek(T),this._remuxer.insertDiscontinuity(),this._demuxer.resetMediaInfo(),this._demuxer.timestampBase=this._mediaDataSource.segments[z].timestampBase,this._loadSegment(z,ie.fileposition),this._pendingResolveSeekPoint=ie.milliseconds,this._reportSegmentMediaInfo(z)}}this._enableStatisticsReporter()}_searchSegmentIndexContains(T){let z=this._mediaDataSource.segments,Z=z.length-1;for(let ie=0;ie0)this._demuxer.bindDataSource(this._ioctl),this._demuxer.timestampBase=this._mediaDataSource.segments[this._currentSegmentIndex].timestampBase,ie=this._demuxer.parseChunks(T,z);else if((Z=oe.probe(T)).match){this._demuxer=new oe(Z,this._config),this._remuxer||(this._remuxer=new qe(this._config));let se=this._mediaDataSource;se.duration!=null&&!isNaN(se.duration)&&(this._demuxer.overridedDuration=se.duration),typeof se.hasAudio=="boolean"&&(this._demuxer.overridedHasAudio=se.hasAudio),typeof se.hasVideo=="boolean"&&(this._demuxer.overridedHasVideo=se.hasVideo),this._demuxer.timestampBase=se.segments[this._currentSegmentIndex].timestampBase,this._demuxer.onError=this._onDemuxException.bind(this),this._demuxer.onMediaInfo=this._onMediaInfo.bind(this),this._demuxer.onMetaDataArrived=this._onMetaDataArrived.bind(this),this._demuxer.onScriptDataArrived=this._onScriptDataArrived.bind(this),this._remuxer.bindDataSource(this._demuxer.bindDataSource(this._ioctl)),this._remuxer.onInitSegment=this._onRemuxerInitSegmentArrival.bind(this),this._remuxer.onMediaSegment=this._onRemuxerMediaSegmentArrival.bind(this),ie=this._demuxer.parseChunks(T,z)}else Z=null,C.e(this.TAG,"Non-FLV, Unsupported media type!"),Promise.resolve().then(()=>{this._internalAbort()}),this._emitter.emit(Ke.DEMUX_ERROR,Be.FORMAT_UNSUPPORTED,"Non-FLV, Unsupported media type"),ie=0;return ie}_onMediaInfo(T){this._mediaInfo==null&&(this._mediaInfo=Object.assign({},T),this._mediaInfo.keyframesIndex=null,this._mediaInfo.segments=[],this._mediaInfo.segmentCount=this._mediaDataSource.segments.length,Object.setPrototypeOf(this._mediaInfo,Ce.prototype));let z=Object.assign({},T);Object.setPrototypeOf(z,Ce.prototype),this._mediaInfo.segments[this._currentSegmentIndex]=z,this._reportSegmentMediaInfo(this._currentSegmentIndex),this._pendingSeekTime!=null&&Promise.resolve().then(()=>{let Z=this._pendingSeekTime;this._pendingSeekTime=null,this.seek(Z)})}_onMetaDataArrived(T){this._emitter.emit(Ke.METADATA_ARRIVED,T)}_onScriptDataArrived(T){this._emitter.emit(Ke.SCRIPTDATA_ARRIVED,T)}_onIOSeeked(){this._remuxer.insertDiscontinuity()}_onIOComplete(T){let Z=T+1;Z0&&Z[0].originalDts===ie&&(ie=Z[0].pts),this._emitter.emit(Ke.RECOMMEND_SEEKPOINT,ie)}}_enableStatisticsReporter(){this._statisticsReporter==null&&(this._statisticsReporter=self.setInterval(this._reportStatisticsInfo.bind(this),this._config.statisticsInfoReportInterval))}_disableStatisticsReporter(){this._statisticsReporter&&(self.clearInterval(this._statisticsReporter),this._statisticsReporter=null)}_reportSegmentMediaInfo(T){let z=this._mediaInfo.segments[T],Z=Object.assign({},z);Z.duration=this._mediaInfo.duration,Z.segmentCount=this._mediaInfo.segmentCount,delete Z.segments,delete Z.keyframesIndex,this._emitter.emit(Ke.MEDIA_INFO,Z)}_reportStatisticsInfo(){let T={};T.url=this._ioctl.currentURL,T.hasRedirect=this._ioctl.hasRedirect,T.hasRedirect&&(T.redirectedURL=this._ioctl.currentRedirectedURL),T.speed=this._ioctl.currentSpeed,T.loaderType=this._ioctl.loaderType,T.currentSegmentIndex=this._currentSegmentIndex,T.totalSegmentCount=this._mediaDataSource.segments.length,this._emitter.emit(Ke.STATISTICS_INFO,T)}}var Ye=Oe,yt=function(_t){let T="TransmuxingWorker",z=null,Z=Le.bind(this);k.install(),_t.addEventListener("message",function(Pe){switch(Pe.data.cmd){case"init":z=new Ye(Pe.data.param[0],Pe.data.param[1]),z.on(Ke.IO_ERROR,je.bind(this)),z.on(Ke.DEMUX_ERROR,Ne.bind(this)),z.on(Ke.INIT_SEGMENT,ie.bind(this)),z.on(Ke.MEDIA_SEGMENT,se.bind(this)),z.on(Ke.LOADING_COMPLETE,Qe.bind(this)),z.on(Ke.RECOVERED_EARLY_EOF,lt.bind(this)),z.on(Ke.MEDIA_INFO,xt.bind(this)),z.on(Ke.METADATA_ARRIVED,at.bind(this)),z.on(Ke.SCRIPTDATA_ARRIVED,Nt.bind(this)),z.on(Ke.STATISTICS_INFO,Gt.bind(this)),z.on(Ke.RECOMMEND_SEEKPOINT,Ee.bind(this));break;case"destroy":z&&(z.destroy(),z=null),_t.postMessage({msg:"destroyed"});break;case"start":z.start();break;case"stop":z.stop();break;case"seek":z.seek(Pe.data.param);break;case"pause":z.pause();break;case"resume":z.resume();break;case"logging_config":{let We=Pe.data.param;J.applyConfig(We),We.enableCallback===!0?J.addLogListener(Z):J.removeLogListener(Z);break}}});function ie(Pe,We){let he={msg:Ke.INIT_SEGMENT,data:{type:Pe,data:We}};_t.postMessage(he,[We.data])}function se(Pe,We){let he={msg:Ke.MEDIA_SEGMENT,data:{type:Pe,data:We}};_t.postMessage(he,[We.data])}function Qe(){let Pe={msg:Ke.LOADING_COMPLETE};_t.postMessage(Pe)}function lt(){let Pe={msg:Ke.RECOVERED_EARLY_EOF};_t.postMessage(Pe)}function xt(Pe){let We={msg:Ke.MEDIA_INFO,data:Pe};_t.postMessage(We)}function at(Pe){let We={msg:Ke.METADATA_ARRIVED,data:Pe};_t.postMessage(We)}function Nt(Pe){let We={msg:Ke.SCRIPTDATA_ARRIVED,data:Pe};_t.postMessage(We)}function Gt(Pe){let We={msg:Ke.STATISTICS_INFO,data:Pe};_t.postMessage(We)}function je(Pe,We){_t.postMessage({msg:Ke.IO_ERROR,data:{type:Pe,info:We}})}function Ne(Pe,We){_t.postMessage({msg:Ke.DEMUX_ERROR,data:{type:Pe,info:We}})}function Ee(Pe){_t.postMessage({msg:Ke.RECOMMEND_SEEKPOINT,data:Pe})}function Le(Pe,We){_t.postMessage({msg:"logcat_callback",data:{type:Pe,logcat:We}})}};class Et{constructor(T,z){if(this.TAG="Transmuxer",this._emitter=new(_()),z.enableWorker&&typeof Worker!="undefined")try{let Z=M(82059);this._worker=Z(yt),this._workerDestroying=!1,this._worker.addEventListener("message",this._onWorkerMessage.bind(this)),this._worker.postMessage({cmd:"init",param:[T,z]}),this.e={onLoggingConfigChanged:this._onLoggingConfigChanged.bind(this)},J.registerListener(this.e.onLoggingConfigChanged),this._worker.postMessage({cmd:"logging_config",param:J.getConfig()})}catch(Z){C.e(this.TAG,"Error while initialize transmuxing worker, fallback to inline transmuxing"),this._worker=null,this._controller=new Ye(T,z)}else this._controller=new Ye(T,z);if(this._controller){let Z=this._controller;Z.on(Ke.IO_ERROR,this._onIOError.bind(this)),Z.on(Ke.DEMUX_ERROR,this._onDemuxError.bind(this)),Z.on(Ke.INIT_SEGMENT,this._onInitSegment.bind(this)),Z.on(Ke.MEDIA_SEGMENT,this._onMediaSegment.bind(this)),Z.on(Ke.LOADING_COMPLETE,this._onLoadingComplete.bind(this)),Z.on(Ke.RECOVERED_EARLY_EOF,this._onRecoveredEarlyEof.bind(this)),Z.on(Ke.MEDIA_INFO,this._onMediaInfo.bind(this)),Z.on(Ke.METADATA_ARRIVED,this._onMetaDataArrived.bind(this)),Z.on(Ke.SCRIPTDATA_ARRIVED,this._onScriptDataArrived.bind(this)),Z.on(Ke.STATISTICS_INFO,this._onStatisticsInfo.bind(this)),Z.on(Ke.RECOMMEND_SEEKPOINT,this._onRecommendSeekpoint.bind(this))}}destroy(){this._worker?this._workerDestroying||(this._workerDestroying=!0,this._worker.postMessage({cmd:"destroy"}),J.removeListener(this.e.onLoggingConfigChanged),this.e=null):(this._controller.destroy(),this._controller=null),this._emitter.removeAllListeners(),this._emitter=null}on(T,z){this._emitter.addListener(T,z)}off(T,z){this._emitter.removeListener(T,z)}hasWorker(){return this._worker!=null}open(){this._worker?this._worker.postMessage({cmd:"start"}):this._controller.start()}close(){this._worker?this._worker.postMessage({cmd:"stop"}):this._controller.stop()}seek(T){this._worker?this._worker.postMessage({cmd:"seek",param:T}):this._controller.seek(T)}pause(){this._worker?this._worker.postMessage({cmd:"pause"}):this._controller.pause()}resume(){this._worker?this._worker.postMessage({cmd:"resume"}):this._controller.resume()}_onInitSegment(T,z){Promise.resolve().then(()=>{this._emitter.emit(Ke.INIT_SEGMENT,T,z)})}_onMediaSegment(T,z){Promise.resolve().then(()=>{this._emitter.emit(Ke.MEDIA_SEGMENT,T,z)})}_onLoadingComplete(){Promise.resolve().then(()=>{this._emitter.emit(Ke.LOADING_COMPLETE)})}_onRecoveredEarlyEof(){Promise.resolve().then(()=>{this._emitter.emit(Ke.RECOVERED_EARLY_EOF)})}_onMediaInfo(T){Promise.resolve().then(()=>{this._emitter.emit(Ke.MEDIA_INFO,T)})}_onMetaDataArrived(T){Promise.resolve().then(()=>{this._emitter.emit(Ke.METADATA_ARRIVED,T)})}_onScriptDataArrived(T){Promise.resolve().then(()=>{this._emitter.emit(Ke.SCRIPTDATA_ARRIVED,T)})}_onStatisticsInfo(T){Promise.resolve().then(()=>{this._emitter.emit(Ke.STATISTICS_INFO,T)})}_onIOError(T,z){Promise.resolve().then(()=>{this._emitter.emit(Ke.IO_ERROR,T,z)})}_onDemuxError(T,z){Promise.resolve().then(()=>{this._emitter.emit(Ke.DEMUX_ERROR,T,z)})}_onRecommendSeekpoint(T){Promise.resolve().then(()=>{this._emitter.emit(Ke.RECOMMEND_SEEKPOINT,T)})}_onLoggingConfigChanged(T){this._worker&&this._worker.postMessage({cmd:"logging_config",param:T})}_onWorkerMessage(T){let z=T.data,Z=z.data;if(z.msg==="destroyed"||this._workerDestroying){this._workerDestroying=!1,this._worker.terminate(),this._worker=null;return}switch(z.msg){case Ke.INIT_SEGMENT:case Ke.MEDIA_SEGMENT:this._emitter.emit(z.msg,Z.type,Z.data);break;case Ke.LOADING_COMPLETE:case Ke.RECOVERED_EARLY_EOF:this._emitter.emit(z.msg);break;case Ke.MEDIA_INFO:Object.setPrototypeOf(Z,Ce.prototype),this._emitter.emit(z.msg,Z);break;case Ke.METADATA_ARRIVED:case Ke.SCRIPTDATA_ARRIVED:case Ke.STATISTICS_INFO:this._emitter.emit(z.msg,Z);break;case Ke.IO_ERROR:case Ke.DEMUX_ERROR:this._emitter.emit(z.msg,Z.type,Z.info);break;case Ke.RECOMMEND_SEEKPOINT:this._emitter.emit(z.msg,Z);break;case"logcat_callback":C.emitter.emit("log",Z.type,Z.logcat);break;default:break}}}var cn=Et,zt={ERROR:"error",SOURCE_OPEN:"source_open",UPDATE_END:"update_end",BUFFER_FULL:"buffer_full"};class vn{constructor(T){this.TAG="MSEController",this._config=T,this._emitter=new(_()),this._config.isLive&&this._config.autoCleanupSourceBuffer==null&&(this._config.autoCleanupSourceBuffer=!0),this.e={onSourceOpen:this._onSourceOpen.bind(this),onSourceEnded:this._onSourceEnded.bind(this),onSourceClose:this._onSourceClose.bind(this),onSourceBufferError:this._onSourceBufferError.bind(this),onSourceBufferUpdateEnd:this._onSourceBufferUpdateEnd.bind(this)},this._mediaSource=null,this._mediaSourceObjectURL=null,this._mediaElement=null,this._isBufferFull=!1,this._hasPendingEos=!1,this._requireSetMediaDuration=!1,this._pendingMediaDuration=0,this._pendingSourceBufferInit=[],this._mimeTypes={video:null,audio:null},this._sourceBuffers={video:null,audio:null},this._lastInitSegments={video:null,audio:null},this._pendingSegments={video:[],audio:[]},this._pendingRemoveRanges={video:[],audio:[]},this._idrList=new Je}destroy(){(this._mediaElement||this._mediaSource)&&this.detachMediaElement(),this.e=null,this._emitter.removeAllListeners(),this._emitter=null}on(T,z){this._emitter.addListener(T,z)}off(T,z){this._emitter.removeListener(T,z)}attachMediaElement(T){if(this._mediaSource)throw new d("MediaSource has been attached to an HTMLMediaElement!");let z=this._mediaSource=new window.MediaSource;z.addEventListener("sourceopen",this.e.onSourceOpen),z.addEventListener("sourceended",this.e.onSourceEnded),z.addEventListener("sourceclose",this.e.onSourceClose),this._mediaElement=T,this._mediaSourceObjectURL=window.URL.createObjectURL(this._mediaSource),T.src=this._mediaSourceObjectURL}detachMediaElement(){if(this._mediaSource){let T=this._mediaSource;for(let z in this._sourceBuffers){let Z=this._pendingSegments[z];Z.splice(0,Z.length),this._pendingSegments[z]=null,this._pendingRemoveRanges[z]=null,this._lastInitSegments[z]=null;let ie=this._sourceBuffers[z];if(ie){if(T.readyState!=="closed"){try{T.removeSourceBuffer(ie)}catch(se){C.e(this.TAG,se.message)}ie.removeEventListener("error",this.e.onSourceBufferError),ie.removeEventListener("updateend",this.e.onSourceBufferUpdateEnd)}this._mimeTypes[z]=null,this._sourceBuffers[z]=null}}if(T.readyState==="open")try{T.endOfStream()}catch(z){C.e(this.TAG,z.message)}T.removeEventListener("sourceopen",this.e.onSourceOpen),T.removeEventListener("sourceended",this.e.onSourceEnded),T.removeEventListener("sourceclose",this.e.onSourceClose),this._pendingSourceBufferInit=[],this._isBufferFull=!1,this._idrList.clear(),this._mediaSource=null}this._mediaElement&&(this._mediaElement.src="",this._mediaElement.removeAttribute("src"),this._mediaElement=null),this._mediaSourceObjectURL&&(window.URL.revokeObjectURL(this._mediaSourceObjectURL),this._mediaSourceObjectURL=null)}appendInitSegment(T,z){if(!this._mediaSource||this._mediaSource.readyState!=="open"){this._pendingSourceBufferInit.push(T),this._pendingSegments[T.type].push(T);return}let Z=T,ie=`${Z.container}`;Z.codec&&Z.codec.length>0&&(ie+=`;codecs=${Z.codec}`);let se=!1;if(C.v(this.TAG,"Received Initialization Segment, mimeType: "+ie),this._lastInitSegments[Z.type]=Z,ie!==this._mimeTypes[Z.type]){if(this._mimeTypes[Z.type])C.v(this.TAG,`Notice: ${Z.type} mimeType changed, origin: ${this._mimeTypes[Z.type]}, target: ${ie}`);else{se=!0;try{let Qe=this._sourceBuffers[Z.type]=this._mediaSource.addSourceBuffer(ie);Qe.addEventListener("error",this.e.onSourceBufferError),Qe.addEventListener("updateend",this.e.onSourceBufferUpdateEnd)}catch(Qe){C.e(this.TAG,Qe.message),this._emitter.emit(zt.ERROR,{code:Qe.code,msg:Qe.message});return}}this._mimeTypes[Z.type]=ie}z||this._pendingSegments[Z.type].push(Z),se||this._sourceBuffers[Z.type]&&!this._sourceBuffers[Z.type].updating&&this._doAppendSegments(),u.safari&&Z.container==="audio/mpeg"&&Z.mediaDuration>0&&(this._requireSetMediaDuration=!0,this._pendingMediaDuration=Z.mediaDuration/1e3,this._updateMediaSourceDuration())}appendMediaSegment(T){let z=T;this._pendingSegments[z.type].push(z),this._config.autoCleanupSourceBuffer&&this._needCleanupSourceBuffer()&&this._doCleanupSourceBuffer();let Z=this._sourceBuffers[z.type];Z&&!Z.updating&&!this._hasPendingRemoveRanges()&&this._doAppendSegments()}seek(T){for(let z in this._sourceBuffers){if(!this._sourceBuffers[z])continue;let Z=this._sourceBuffers[z];if(this._mediaSource.readyState==="open")try{Z.abort()}catch(se){C.e(this.TAG,se.message)}this._idrList.clear();let ie=this._pendingSegments[z];if(ie.splice(0,ie.length),this._mediaSource.readyState!=="closed"){for(let se=0;se=1&&T-ie.start(0)>=this._config.autoCleanupMaxBackwardDuration)return!0}}return!1}_doCleanupSourceBuffer(){let T=this._mediaElement.currentTime;for(let z in this._sourceBuffers){let Z=this._sourceBuffers[z];if(Z){let ie=Z.buffered,se=!1;for(let Qe=0;Qe=this._config.autoCleanupMaxBackwardDuration){se=!0;let at=T-this._config.autoCleanupMinBackwardDuration;this._pendingRemoveRanges[z].push({start:lt,end:at})}}else xt0&&(isNaN(z)||Z>z)&&(C.v(this.TAG,`Update MediaSource duration from ${z} to ${Z}`),this._mediaSource.duration=Z),this._requireSetMediaDuration=!1,this._pendingMediaDuration=0}_doRemoveRanges(){for(let T in this._pendingRemoveRanges){if(!this._sourceBuffers[T]||this._sourceBuffers[T].updating)continue;let z=this._sourceBuffers[T],Z=this._pendingRemoveRanges[T];for(;Z.length&&!z.updating;){let ie=Z.shift();z.remove(ie.start,ie.end)}}}_doAppendSegments(){let T=this._pendingSegments;for(let z in T)if(!(!this._sourceBuffers[z]||this._sourceBuffers[z].updating)&&T[z].length>0){let Z=T[z].shift();if(Z.timestampOffset){let ie=this._sourceBuffers[z].timestampOffset,se=Z.timestampOffset/1e3;Math.abs(ie-se)>.1&&(C.v(this.TAG,`Update MPEG audio timestampOffset from ${ie} to ${se}`),this._sourceBuffers[z].timestampOffset=se),delete Z.timestampOffset}if(!Z.data||Z.data.byteLength===0)continue;try{this._sourceBuffers[z].appendBuffer(Z.data),this._isBufferFull=!1,z==="video"&&Z.hasOwnProperty("info")&&this._idrList.appendArray(Z.info.syncPoints)}catch(ie){this._pendingSegments[z].unshift(Z),ie.code===22?(this._isBufferFull||this._emitter.emit(zt.BUFFER_FULL),this._isBufferFull=!0):(C.e(this.TAG,ie.message),this._emitter.emit(zt.ERROR,{code:ie.code,msg:ie.message}))}}}_onSourceOpen(){if(C.v(this.TAG,"MediaSource onSourceOpen"),this._mediaSource.removeEventListener("sourceopen",this.e.onSourceOpen),this._pendingSourceBufferInit.length>0){let T=this._pendingSourceBufferInit;for(;T.length;){let z=T.shift();this.appendInitSegment(z,!0)}}this._hasPendingSegments()&&this._doAppendSegments(),this._emitter.emit(zt.SOURCE_OPEN)}_onSourceEnded(){C.v(this.TAG,"MediaSource onSourceEnded")}_onSourceClose(){C.v(this.TAG,"MediaSource onSourceClose"),this._mediaSource&&this.e!=null&&(this._mediaSource.removeEventListener("sourceopen",this.e.onSourceOpen),this._mediaSource.removeEventListener("sourceended",this.e.onSourceEnded),this._mediaSource.removeEventListener("sourceclose",this.e.onSourceClose))}_hasPendingSegments(){let T=this._pendingSegments;return T.video.length>0||T.audio.length>0}_hasPendingRemoveRanges(){let T=this._pendingRemoveRanges;return T.video.length>0||T.audio.length>0}_onSourceBufferUpdateEnd(){this._requireSetMediaDuration?this._updateMediaSourceDuration():this._hasPendingRemoveRanges()?this._doRemoveRanges():this._hasPendingSegments()?this._doAppendSegments():this._hasPendingEos&&this.endOfStream(),this._emitter.emit(zt.UPDATE_END)}_onSourceBufferError(T){C.e(this.TAG,`SourceBuffer Error: ${T}`)}}var Fn=vn;const tn={NETWORK_ERROR:"NetworkError",MEDIA_ERROR:"MediaError",OTHER_ERROR:"OtherError"},Pn={NETWORK_EXCEPTION:r.EXCEPTION,NETWORK_STATUS_CODE_INVALID:r.HTTP_STATUS_CODE_INVALID,NETWORK_TIMEOUT:r.CONNECTING_TIMEOUT,NETWORK_UNRECOVERABLE_EARLY_EOF:r.UNRECOVERABLE_EARLY_EOF,MEDIA_MSE_ERROR:"MediaMSEError",MEDIA_FORMAT_ERROR:Be.FORMAT_ERROR,MEDIA_FORMAT_UNSUPPORTED:Be.FORMAT_UNSUPPORTED,MEDIA_CODEC_UNSUPPORTED:Be.CODEC_UNSUPPORTED};class qt{constructor(T,z){if(this.TAG="FlvPlayer",this._type="FlvPlayer",this._emitter=new(_()),this._config=F(),typeof z=="object"&&Object.assign(this._config,z),T.type.toLowerCase()!=="flv")throw new l("FlvPlayer requires an flv MediaDataSource input!");T.isLive===!0&&(this._config.isLive=!0),this.e={onvLoadedMetadata:this._onvLoadedMetadata.bind(this),onvSeeking:this._onvSeeking.bind(this),onvCanPlay:this._onvCanPlay.bind(this),onvStalled:this._onvStalled.bind(this),onvProgress:this._onvProgress.bind(this)},self.performance&&self.performance.now?this._now=self.performance.now.bind(self.performance):this._now=Date.now,this._pendingSeekTime=null,this._requestSetTime=!1,this._seekpointRecord=null,this._progressChecker=null,this._mediaDataSource=T,this._mediaElement=null,this._msectl=null,this._transmuxer=null,this._mseSourceOpened=!1,this._hasPendingLoad=!1,this._receivedCanPlay=!1,this._mediaInfo=null,this._statisticsInfo=null;let Z=u.chrome&&(u.version.major<50||u.version.major===50&&u.version.build<2661);this._alwaysSeekKeyframe=!!(Z||u.msedge||u.msie),this._alwaysSeekKeyframe&&(this._config.accurateSeek=!1)}destroy(){this._progressChecker!=null&&(window.clearInterval(this._progressChecker),this._progressChecker=null),this._transmuxer&&this.unload(),this._mediaElement&&this.detachMediaElement(),this.e=null,this._mediaDataSource=null,this._emitter.removeAllListeners(),this._emitter=null}on(T,z){T===Y.MEDIA_INFO?this._mediaInfo!=null&&Promise.resolve().then(()=>{this._emitter.emit(Y.MEDIA_INFO,this.mediaInfo)}):T===Y.STATISTICS_INFO&&this._statisticsInfo!=null&&Promise.resolve().then(()=>{this._emitter.emit(Y.STATISTICS_INFO,this.statisticsInfo)}),this._emitter.addListener(T,z)}off(T,z){this._emitter.removeListener(T,z)}attachMediaElement(T){if(this._mediaElement=T,T.addEventListener("loadedmetadata",this.e.onvLoadedMetadata),T.addEventListener("seeking",this.e.onvSeeking),T.addEventListener("canplay",this.e.onvCanPlay),T.addEventListener("stalled",this.e.onvStalled),T.addEventListener("progress",this.e.onvProgress),this._msectl=new Fn(this._config),this._msectl.on(zt.UPDATE_END,this._onmseUpdateEnd.bind(this)),this._msectl.on(zt.BUFFER_FULL,this._onmseBufferFull.bind(this)),this._msectl.on(zt.SOURCE_OPEN,()=>{this._mseSourceOpened=!0,this._hasPendingLoad&&(this._hasPendingLoad=!1,this.load())}),this._msectl.on(zt.ERROR,z=>{this._emitter.emit(Y.ERROR,tn.MEDIA_ERROR,Pn.MEDIA_MSE_ERROR,z)}),this._msectl.attachMediaElement(T),this._pendingSeekTime!=null)try{T.currentTime=this._pendingSeekTime,this._pendingSeekTime=null}catch(z){}}detachMediaElement(){this._mediaElement&&(this._msectl.detachMediaElement(),this._mediaElement.removeEventListener("loadedmetadata",this.e.onvLoadedMetadata),this._mediaElement.removeEventListener("seeking",this.e.onvSeeking),this._mediaElement.removeEventListener("canplay",this.e.onvCanPlay),this._mediaElement.removeEventListener("stalled",this.e.onvStalled),this._mediaElement.removeEventListener("progress",this.e.onvProgress),this._mediaElement=null),this._msectl&&(this._msectl.destroy(),this._msectl=null)}load(){if(!this._mediaElement)throw new d("HTMLMediaElement must be attached before load()!");if(this._transmuxer)throw new d("FlvPlayer.load() has been called, please call unload() first!");if(!this._hasPendingLoad){if(this._config.deferLoadAfterSourceOpen&&this._mseSourceOpened===!1){this._hasPendingLoad=!0;return}this._mediaElement.readyState>0&&(this._requestSetTime=!0,this._mediaElement.currentTime=0),this._transmuxer=new cn(this._mediaDataSource,this._config),this._transmuxer.on(Ke.INIT_SEGMENT,(T,z)=>{this._msectl.appendInitSegment(z)}),this._transmuxer.on(Ke.MEDIA_SEGMENT,(T,z)=>{if(this._msectl.appendMediaSegment(z),this._config.lazyLoad&&!this._config.isLive){let Z=this._mediaElement.currentTime;z.info.endDts>=(Z+this._config.lazyLoadMaxDuration)*1e3&&this._progressChecker==null&&(C.v(this.TAG,"Maximum buffering duration exceeded, suspend transmuxing task"),this._suspendTransmuxer())}}),this._transmuxer.on(Ke.LOADING_COMPLETE,()=>{this._msectl.endOfStream(),this._emitter.emit(Y.LOADING_COMPLETE)}),this._transmuxer.on(Ke.RECOVERED_EARLY_EOF,()=>{this._emitter.emit(Y.RECOVERED_EARLY_EOF)}),this._transmuxer.on(Ke.IO_ERROR,(T,z)=>{this._emitter.emit(Y.ERROR,tn.NETWORK_ERROR,T,z)}),this._transmuxer.on(Ke.DEMUX_ERROR,(T,z)=>{this._emitter.emit(Y.ERROR,tn.MEDIA_ERROR,T,{code:-1,msg:z})}),this._transmuxer.on(Ke.MEDIA_INFO,T=>{this._mediaInfo=T,this._emitter.emit(Y.MEDIA_INFO,Object.assign({},T))}),this._transmuxer.on(Ke.METADATA_ARRIVED,T=>{this._emitter.emit(Y.METADATA_ARRIVED,T)}),this._transmuxer.on(Ke.SCRIPTDATA_ARRIVED,T=>{this._emitter.emit(Y.SCRIPTDATA_ARRIVED,T)}),this._transmuxer.on(Ke.STATISTICS_INFO,T=>{this._statisticsInfo=this._fillStatisticsInfo(T),this._emitter.emit(Y.STATISTICS_INFO,Object.assign({},this._statisticsInfo))}),this._transmuxer.on(Ke.RECOMMEND_SEEKPOINT,T=>{this._mediaElement&&!this._config.accurateSeek&&(this._requestSetTime=!0,this._mediaElement.currentTime=T/1e3)}),this._transmuxer.open()}}unload(){this._mediaElement&&this._mediaElement.pause(),this._msectl&&this._msectl.seek(0),this._transmuxer&&(this._transmuxer.close(),this._transmuxer.destroy(),this._transmuxer=null)}play(){return this._mediaElement.play()}pause(){this._mediaElement.pause()}get type(){return this._type}get buffered(){return this._mediaElement.buffered}get duration(){return this._mediaElement.duration}get volume(){return this._mediaElement.volume}set volume(T){this._mediaElement.volume=T}get muted(){return this._mediaElement.muted}set muted(T){this._mediaElement.muted=T}get currentTime(){return this._mediaElement?this._mediaElement.currentTime:0}set currentTime(T){this._mediaElement?this._internalSeek(T):this._pendingSeekTime=T}get mediaInfo(){return Object.assign({},this._mediaInfo)}get statisticsInfo(){return this._statisticsInfo==null&&(this._statisticsInfo={}),this._statisticsInfo=this._fillStatisticsInfo(this._statisticsInfo),Object.assign({},this._statisticsInfo)}_fillStatisticsInfo(T){if(T.playerType=this._type,!(this._mediaElement instanceof HTMLVideoElement))return T;let z=!0,Z=0,ie=0;if(this._mediaElement.getVideoPlaybackQuality){let se=this._mediaElement.getVideoPlaybackQuality();Z=se.totalVideoFrames,ie=se.droppedVideoFrames}else this._mediaElement.webkitDecodedFrameCount!=null?(Z=this._mediaElement.webkitDecodedFrameCount,ie=this._mediaElement.webkitDroppedFrameCount):z=!1;return z&&(T.decodedFrames=Z,T.droppedFrames=ie),T}_onmseUpdateEnd(){if(!this._config.lazyLoad||this._config.isLive)return;let T=this._mediaElement.buffered,z=this._mediaElement.currentTime,Z=0,ie=0;for(let se=0;se=z+this._config.lazyLoadMaxDuration&&this._progressChecker==null&&(C.v(this.TAG,"Maximum buffering duration exceeded, suspend transmuxing task"),this._suspendTransmuxer())}_onmseBufferFull(){C.v(this.TAG,"MSE SourceBuffer is full, suspend transmuxing task"),this._progressChecker==null&&this._suspendTransmuxer()}_suspendTransmuxer(){this._transmuxer&&(this._transmuxer.pause(),this._progressChecker==null&&(this._progressChecker=window.setInterval(this._checkProgressAndResume.bind(this),1e3)))}_checkProgressAndResume(){let T=this._mediaElement.currentTime,z=this._mediaElement.buffered,Z=!1;for(let ie=0;ie=se&&T=Qe-this._config.lazyLoadRecoverDuration&&(Z=!0);break}}Z&&(window.clearInterval(this._progressChecker),this._progressChecker=null,Z&&(C.v(this.TAG,"Continue loading from paused position"),this._transmuxer.resume()))}_isTimepointBuffered(T){let z=this._mediaElement.buffered;for(let Z=0;Z=ie&&T0){let se=this._mediaElement.buffered.start(0);(se<1&&T0&&z.currentTime0){let ie=Z.start(0);if(ie<1&&z{this._emitter.emit(Y.MEDIA_INFO,this.mediaInfo)}):T===Y.STATISTICS_INFO&&this._mediaElement!=null&&this._mediaElement.readyState!==0&&Promise.resolve().then(()=>{this._emitter.emit(Y.STATISTICS_INFO,this.statisticsInfo)}),this._emitter.addListener(T,z)}off(T,z){this._emitter.removeListener(T,z)}attachMediaElement(T){if(this._mediaElement=T,T.addEventListener("loadedmetadata",this.e.onvLoadedMetadata),this._pendingSeekTime!=null)try{T.currentTime=this._pendingSeekTime,this._pendingSeekTime=null}catch(z){}}detachMediaElement(){this._mediaElement&&(this._mediaElement.src="",this._mediaElement.removeAttribute("src"),this._mediaElement.removeEventListener("loadedmetadata",this.e.onvLoadedMetadata),this._mediaElement=null),this._statisticsReporter!=null&&(window.clearInterval(this._statisticsReporter),this._statisticsReporter=null)}load(){if(!this._mediaElement)throw new d("HTMLMediaElement must be attached before load()!");this._mediaElement.src=this._mediaDataSource.url,this._mediaElement.readyState>0&&(this._mediaElement.currentTime=0),this._mediaElement.preload="auto",this._mediaElement.load(),this._statisticsReporter=window.setInterval(this._reportStatisticsInfo.bind(this),this._config.statisticsInfoReportInterval)}unload(){this._mediaElement&&(this._mediaElement.src="",this._mediaElement.removeAttribute("src")),this._statisticsReporter!=null&&(window.clearInterval(this._statisticsReporter),this._statisticsReporter=null)}play(){return this._mediaElement.play()}pause(){this._mediaElement.pause()}get type(){return this._type}get buffered(){return this._mediaElement.buffered}get duration(){return this._mediaElement.duration}get volume(){return this._mediaElement.volume}set volume(T){this._mediaElement.volume=T}get muted(){return this._mediaElement.muted}set muted(T){this._mediaElement.muted=T}get currentTime(){return this._mediaElement?this._mediaElement.currentTime:0}set currentTime(T){this._mediaElement?this._mediaElement.currentTime=T:this._pendingSeekTime=T}get mediaInfo(){let z={mimeType:(this._mediaElement instanceof HTMLAudioElement?"audio/":"video/")+this._mediaDataSource.type};return this._mediaElement&&(z.duration=Math.floor(this._mediaElement.duration*1e3),this._mediaElement instanceof HTMLVideoElement&&(z.width=this._mediaElement.videoWidth,z.height=this._mediaElement.videoHeight)),z}get statisticsInfo(){let T={playerType:this._type,url:this._mediaDataSource.url};if(!(this._mediaElement instanceof HTMLVideoElement))return T;let z=!0,Z=0,ie=0;if(this._mediaElement.getVideoPlaybackQuality){let se=this._mediaElement.getVideoPlaybackQuality();Z=se.totalVideoFrames,ie=se.droppedVideoFrames}else this._mediaElement.webkitDecodedFrameCount!=null?(Z=this._mediaElement.webkitDecodedFrameCount,ie=this._mediaElement.webkitDroppedFrameCount):z=!1;return z&&(T.decodedFrames=Z,T.droppedFrames=ie),T}_onvLoadedMetadata(T){this._pendingSeekTime!=null&&(this._mediaElement.currentTime=this._pendingSeekTime,this._pendingSeekTime=null),this._emitter.emit(Y.MEDIA_INFO,this.mediaInfo)}_reportStatisticsInfo(){this._emitter.emit(Y.STATISTICS_INFO,this.statisticsInfo)}}var rn=kt;k.install();function It(_t,T){let z=_t;if(z==null||typeof z!="object")throw new l("MediaDataSource must be an javascript object!");if(!z.hasOwnProperty("type"))throw new l("MediaDataSource must has type field to indicate video file type!");switch(z.type){case"flv":return new jt(z,T);default:return new rn(z,T)}}function Bt(){return j.supportMSEH264Playback()}function Wt(){return j.getFeatureList()}let Xt={};Xt.createPlayer=It,Xt.isSupported=Bt,Xt.getFeatureList=Wt,Xt.BaseLoader=n,Xt.LoaderStatus=g,Xt.LoaderErrors=r,Xt.Events=Y,Xt.ErrorTypes=tn,Xt.ErrorDetails=Pn,Xt.FlvPlayer=jt,Xt.NativePlayer=rn,Xt.LoggingControl=J,Object.defineProperty(Xt,"version",{enumerable:!0,get:function(){return"__VERSION__"}});var _n=Xt},9981:function(Ln,pt){"use strict";const M=function(){const h=Object.assign({},arguments.length<=0?void 0:arguments[0]);for(let k=1;k{const B=P[_];B!==void 0&&(h[_]=B)})}return h};pt.Z=M},86013:function(Ln,pt,M){"use strict";var h=M(59301),k=M(19248);const P=_=>{let B;return typeof _=="object"&&(_!=null&&_.clearIcon)?B=_:_&&(B={clearIcon:h.createElement(k.Z,null)}),B};pt.Z=P},54500:function(Ln,pt,M){"use strict";M.d(pt,{Z:function(){return h}});const h=k=>k?typeof k=="function"?k():k:null},97224:function(Ln,pt,M){"use strict";M.d(pt,{F:function(){return h}});function h(P){return P!=null&&P===P.window}const k=P=>{var _,B;if(typeof window=="undefined")return 0;let C=0;return h(P)?C=P.pageYOffset:P instanceof Document?C=P.documentElement.scrollTop:(P instanceof HTMLElement||P)&&(C=P.scrollTop),P&&!h(P)&&typeof C!="number"&&(C=(B=((_=P.ownerDocument)!==null&&_!==void 0?_:P).documentElement)===null||B===void 0?void 0:B.scrollTop),C};pt.Z=k},83010:function(Ln,pt,M){"use strict";M.d(pt,{Z:function(){return _}});var h=M(16089);function k(B,C,p,m){const E=p-C;return B/=m/2,B<1?E/2*B*B*B+C:E/2*((B-=2)*B*B+2)+C}var P=M(97224);function _(B){let C=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const{getContainer:p=()=>window,callback:m,duration:E=450}=C,d=p(),l=(0,P.Z)(d),o=Date.now(),g=()=>{const n=Date.now()-o,a=k(n>E?E:n,l,B,E);(0,P.F)(d)?d.scrollTo(window.pageXOffset,a):d instanceof Document||d.constructor.name==="HTMLDocument"?d.documentElement.scrollTop=a:d.scrollTop=a,n{var e;const{prefixCls:t,className:i,popupClassName:f,dropdownClassName:y,children:b,dataSource:x}=s,A=(0,p.Z)(b);let w;A.length===1&&_.isValidElement(A[0])&&!l(A[0])&&([w]=A);const L=w?()=>w:void 0;let D;A.length&&l(A[0])?D=b:D=x?x.map(K=>{if(_.isValidElement(K))return K;switch(typeof K){case"string":return _.createElement(d,{key:K,value:K},K);case"object":{const{value:F}=K;return _.createElement(d,{key:F,value:F},K.text)}default:return}}):[];const{getPrefixCls:O}=_.useContext(E.E_),N=O("select",t),[I]=(0,m.Cn)("SelectLike",(e=s.dropdownStyle)===null||e===void 0?void 0:e.zIndex);return _.createElement(P.default,Object.assign({ref:v,suffixIcon:null},(0,h.Z)(s,["dataSource","dropdownClassName"]),{prefixCls:N,popupClassName:f||y,dropdownStyle:Object.assign(Object.assign({},s.dropdownStyle),{zIndex:I}),className:C()(`${N}-auto-complete`,i),mode:P.default.SECRET_COMBOBOX_MODE_DO_NOT_USE,getInputElement:L}),D)};var r=_.forwardRef(o);const{Option:n}=P.default,a=(0,k.Z)(r,"dropdownAlign",s=>(0,h.Z)(s,["visible"])),c=r;c.Option=n,c._InternalPanelDoNotUseOrYouWillBeFired=a;var u=c},79939:function(Ln,pt,M){"use strict";M.d(pt,{Z:function(){return tt}});var h=M(94480),k=M(59301),P=M(92310),_=M.n(P),B=M(54476),C=M(33885),p=M(42978),m=M(75931),E=M(37463),d=M(6551),l=M(6089),o=M(18929),g=k.createContext({}),r=g,n=M(76190),a=M(20068),c="__rc_cascader_search_mark__",u=function(ye,_e,ke){var De=ke.label,ct=De===void 0?"":De;return _e.some(function(At){return String(At[ct]).toLowerCase().includes(ye.toLowerCase())})},s=function(ye,_e,ke,De){return _e.map(function(ct){return ct[De.label]}).join(" / ")},v=function(ye,_e,ke,De,ct,At){var Pt=ct.filter,Yt=Pt===void 0?u:Pt,sn=ct.render,wn=sn===void 0?s:sn,En=ct.limit,nn=En===void 0?50:En,fn=ct.sort;return k.useMemo(function(){var pn=[];if(!ye)return[];function Lt(Mn,Zn){var bn=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;Mn.forEach(function(Wn){if(!(!fn&&nn!==!1&&nn>0&&pn.length>=nn)){var qn=[].concat((0,h.Z)(Zn),[Wn]),Cr=Wn[ke.children],ur=bn||Wn.disabled;if((!Cr||Cr.length===0||At)&&Yt(ye,qn,{label:ke.label})){var Bn;pn.push((0,C.Z)((0,C.Z)({},Wn),{},(Bn={disabled:ur},(0,a.Z)(Bn,ke.label,wn(ye,qn,De,ke)),(0,a.Z)(Bn,c,qn),(0,a.Z)(Bn,ke.children,void 0),Bn)))}Cr&&Lt(Wn[ke.children],qn,ur)}})}return Lt(_e,[]),fn&&pn.sort(function(Mn,Zn){return fn(Mn[c],Zn[c],ye,ke)}),nn!==!1&&nn>0?pn.slice(0,nn):pn},[ye,_e,ke,De,wn,At,Yt,fn,nn])},e=v,t="__RC_CASCADER_SPLIT__",i="SHOW_PARENT",f="SHOW_CHILD";function y(me){return me.join(t)}function b(me){return me.map(y)}function x(me){return me.split(t)}function A(me){var ye=me||{},_e=ye.label,ke=ye.value,De=ye.children,ct=ke||"value";return{label:_e||"label",value:ct,key:ct,children:De||"children"}}function w(me,ye){var _e,ke;return(_e=me.isLeaf)!==null&&_e!==void 0?_e:!((ke=me[ye.children])!==null&&ke!==void 0&&ke.length)}function L(me){var ye=me.parentElement;if(ye){var _e=me.offsetTop-ye.offsetTop;_e-ye.scrollTop<0?ye.scrollTo({top:_e}):_e+me.offsetHeight-ye.scrollTop>ye.offsetHeight&&ye.scrollTo({top:_e+me.offsetHeight-ye.offsetHeight})}}function D(me,ye){return me.map(function(_e){var ke;return(ke=_e[c])===null||ke===void 0?void 0:ke.map(function(De){return De[ye.value]})})}function O(me){return Array.isArray(me)&&Array.isArray(me[0])}function N(me){return me?O(me)?me:(me.length===0?[]:[me]).map(function(ye){return Array.isArray(ye)?ye:[ye]}):[]}function I(me,ye,_e){var ke=new Set(me),De=ye();return me.filter(function(ct){var At=De[ct],Pt=At?At.parent:null,Yt=At?At.children:null;return At&&At.node.disabled?!0:_e===f?!(Yt&&Yt.some(function(sn){return sn.key&&ke.has(sn.key)})):!(Pt&&!Pt.node.disabled&&ke.has(Pt.key))})}function K(me,ye,_e){for(var ke=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!1,De=ye,ct=[],At=function(){var sn,wn,En,nn=me[Pt],fn=(sn=De)===null||sn===void 0?void 0:sn.findIndex(function(Lt){var Mn=Lt[_e.value];return ke?String(Mn)===String(nn):Mn===nn}),pn=fn!==-1?(wn=De)===null||wn===void 0?void 0:wn[fn]:null;ct.push({value:(En=pn==null?void 0:pn[_e.value])!==null&&En!==void 0?En:nn,index:fn,option:pn}),De=pn==null?void 0:pn[_e.children]},Pt=0;Pt1){var Bn=pn.slice(0,-1);bn(Bn)}else sn(!1)},Cr=function(){var Bn,ar=((Bn=Mn[Lt])===null||Bn===void 0?void 0:Bn[_e.children])||[],pr=ar.find(function(er){return!er.disabled});if(pr){var nr=[].concat((0,h.Z)(pn),[pr[_e.value]]);bn(nr)}};k.useImperativeHandle(me,function(){return{onKeyDown:function(Bn){var ar=Bn.which;switch(ar){case Fe.Z.UP:case Fe.Z.DOWN:{var pr=0;ar===Fe.Z.UP?pr=-1:ar===Fe.Z.DOWN&&(pr=1),pr!==0&&Wn(pr);break}case Fe.Z.LEFT:{if(Yt)break;En?Cr():qn();break}case Fe.Z.RIGHT:{if(Yt)break;En?qn():Cr();break}case Fe.Z.BACKSPACE:{Yt||qn();break}case Fe.Z.ENTER:{if(pn.length){var nr=Mn[Lt],er=(nr==null?void 0:nr[c])||[];er.length?ct(er.map(function(Yn){return Yn[_e.value]}),er[er.length-1]):ct(pn,Mn[Lt])}break}case Fe.Z.ESC:sn(!1),wn&&Bn.stopPropagation()}},onKeyUp:function(){}}})},Ge=k.forwardRef(function(me,ye){var _e,ke,De,ct=me.prefixCls,At=me.multiple,Pt=me.searchValue,Yt=me.toggleOpen,sn=me.notFoundContent,wn=me.direction,En=me.open,nn=me.disabled,fn=k.useRef(null),pn=wn==="rtl",Lt=k.useContext(r),Mn=Lt.options,Zn=Lt.values,bn=Lt.halfValues,Wn=Lt.fieldNames,qn=Lt.changeOnSelect,Cr=Lt.onSelect,ur=Lt.searchOptions,Bn=Lt.dropdownPrefixCls,ar=Lt.loadData,pr=Lt.expandTrigger,nr=Bn||ct,er=k.useState([]),Yn=(0,p.Z)(er,2),St=Yn[0],Pr=Yn[1],Xr=function(cr){if(!(!ar||Pt)){var it=K(cr,Mn,Wn),Tr=it.map(function(Un){var vr=Un.option;return vr}),Dn=Tr[Tr.length-1];if(Dn&&!w(Dn,Wn)){var un=y(cr);Pr(function(Un){return[].concat((0,h.Z)(Un),[un])}),ar(Tr)}}};k.useEffect(function(){St.length&&St.forEach(function(Cn){var cr=x(Cn),it=K(cr,Mn,Wn,!0).map(function(Dn){var un=Dn.option;return un}),Tr=it[it.length-1];(!Tr||Tr[Wn.children]||w(Tr,Wn))&&Pr(function(Dn){return Dn.filter(function(un){return un!==Cn})})})},[Mn,St,Wn]);var Ir=k.useMemo(function(){return new Set(b(Zn))},[Zn]),Hr=k.useMemo(function(){return new Set(b(bn))},[bn]),Fr=Ze(At,En),$r=(0,p.Z)(Fr,2),rr=$r[0],tr=$r[1],Nn=function(cr){tr(cr),Xr(cr)},Ft=function(cr){if(nn)return!1;var it=cr.disabled,Tr=w(cr,Wn);return!it&&(Tr||qn||At)},hn=function(cr,it){var Tr=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;Cr(cr),!At&&(it||qn&&(pr==="hover"||Tr))&&Yt(!1)},Gn=k.useMemo(function(){return Pt?ur:Mn},[Pt,ur,Mn]),Vn=k.useMemo(function(){for(var Cn=[{options:Gn}],cr=Gn,it=D(cr,Wn),Tr=function(){var Un=rr[Dn],vr=cr.find(function(hr,An){return(it[An]?y(it[An]):hr[Wn.value])===Un}),On=vr==null?void 0:vr[Wn.children];if(!(On!=null&&On.length))return 1;cr=On,Cn.push({options:On})},Dn=0;Dn":Zn,Wn=_e.loadingIcon,qn=_e.direction,Cr=_e.notFoundContent,ur=Cr===void 0?"Not Found":Cr,Bn=_e.disabled,ar=!!Yt,pr=(0,re.C8)(sn,{value:wn,postState:N}),nr=(0,p.Z)(pr,2),er=nr[0],Yn=nr[1],St=k.useMemo(function(){return A(En)},[JSON.stringify(En)]),Pr=Y(St,Pt),Xr=(0,p.Z)(Pr,3),Ir=Xr[0],Hr=Xr[1],Fr=Xr[2],$r=W(Ir,St),rr=be(ar,er,Hr,Fr,$r),tr=(0,p.Z)(rr,3),Nn=tr[0],Ft=tr[1],hn=tr[2],Gn=(0,re.zX)(function(Tt){if(Yn(Tt),fn){var Ct=N(Tt),Cn=Ct.map(function(Tr){return K(Tr,Ir,St).map(function(Dn){return Dn.option})}),cr=ar?Ct:Ct[0],it=ar?Cn:Cn[0];fn(cr,it)}}),Vn=Ce(ar,Gn,Nn,Ft,hn,Hr,Fr,pn),gr=(0,re.zX)(function(Tt){Vn(Tt)}),Mr=k.useMemo(function(){return{options:Ir,fieldNames:St,values:Nn,halfValues:Ft,changeOnSelect:nn,onSelect:gr,checkable:Yt,searchOptions:[],dropdownPrefixCls:void 0,loadData:Lt,expandTrigger:Mn,expandIcon:bn,loadingIcon:Wn,dropdownMenuColumnStyle:void 0}},[Ir,St,Nn,Ft,nn,gr,Yt,Lt,Mn,bn,Wn]),yr="".concat(De,"-panel"),et=!Ir.length;return k.createElement(r.Provider,{value:Mr},k.createElement("div",{className:_()(yr,(ye={},(0,a.Z)(ye,"".concat(yr,"-rtl"),qn==="rtl"),(0,a.Z)(ye,"".concat(yr,"-empty"),et),ye),At),style:ct},et?ur:k.createElement(Be,{prefixCls:De,searchValue:"",multiple:ar,toggleOpen:ee,open:!0,direction:qn,disabled:Bn})))}function $(me){var ye=me.onPopupVisibleChange,_e=me.popupVisible,ke=me.popupClassName,De=me.popupPlacement;warning(!ye,"`onPopupVisibleChange` is deprecated. Please use `onDropdownVisibleChange` instead."),warning(_e===void 0,"`popupVisible` is deprecated. Please use `open` instead."),warning(ke===void 0,"`popupClassName` is deprecated. Please use `dropdownClassName` instead."),warning(De===void 0,"`popupPlacement` is deprecated. Please use `placement` instead.")}function fe(me,ye){if(me){var _e=function ke(De){for(var ct=0;ct":Xr,Hr=me.loadingIcon,Fr=me.children,$r=me.dropdownMatchSelectWidth,rr=$r===void 0?!1:$r,tr=me.showCheckedStrategy,Nn=tr===void 0?i:tr,Ft=me.optionRender,hn=(0,m.Z)(me,ne),Gn=(0,d.ZP)(_e),Vn=!!En,gr=(0,o.Z)(At,{value:Pt,postState:N}),Mr=(0,p.Z)(gr,2),yr=Mr[0],et=Mr[1],Tt=k.useMemo(function(){return A(ct)},[JSON.stringify(ct)]),Ct=Y(Tt,bn),Cn=(0,p.Z)(Ct,3),cr=Cn[0],it=Cn[1],Tr=Cn[2],Dn=(0,o.Z)("",{value:pn,postState:function(lr){return lr||""}}),un=(0,p.Z)(Dn,2),Un=un[0],vr=un[1],On=function(lr,Rt){vr(lr),Rt.source!=="blur"&&Lt&&Lt(lr)},hr=J(Mn),An=(0,p.Z)(hr,2),Or=An[0],or=An[1],Rr=e(Un,cr,Tt,Wn||De,or,Yt||Vn),sr=W(cr,Tt),$n=be(Vn,yr,it,Tr,sr),Dr=(0,p.Z)($n,3),xr=Dr[0],dr=Dr[1],kr=Dr[2],ta=k.useMemo(function(){var jn=b(xr),lr=I(jn,it,Nn);return[].concat((0,h.Z)(kr),(0,h.Z)(Tr(lr)))},[xr,it,Tr,kr,Nn]),Ar=F(ta,cr,Tt,Vn,wn),Xn=(0,l.Z)(function(jn){if(et(jn),sn){var lr=N(jn),Rt=lr.map(function(da){return K(da,cr,Tt).map(function(ea){return ea.option})}),Yr=Vn?lr:lr[0],fa=Vn?Rt:Rt[0];sn(Yr,fa)}}),aa=Ce(Vn,Xn,xr,dr,kr,it,Tr,Nn),oa=(0,l.Z)(function(jn){(!Vn||fn)&&vr(""),aa(jn)}),la=function(lr,Rt){if(Rt.type==="clear"){Xn([]);return}var Yr=Rt.values[0],fa=Yr.valueCells;oa(fa)},va=ur!==void 0?ur:Cr,Lr=ar||Bn,ma=Yn||er,Ca=function(lr){St==null||St(lr),Pr==null||Pr(lr)},Ur=k.useMemo(function(){return{options:cr,fieldNames:Tt,values:xr,halfValues:dr,changeOnSelect:Yt,onSelect:oa,checkable:En,searchOptions:Rr,dropdownPrefixCls:Wn,loadData:qn,expandTrigger:Zn,expandIcon:Ir,loadingIcon:Hr,dropdownMenuColumnStyle:pr,optionRender:Ft}},[cr,Tt,xr,dr,Yt,oa,En,Rr,Wn,qn,Zn,Ir,Hr,pr,Ft]),kn=!(Un?Rr:cr).length,Qn=Un&&or.matchInputWidth||kn?{}:{minWidth:"auto"};return k.createElement(r.Provider,{value:Ur},k.createElement(E.Ac,(0,B.Z)({},hn,{ref:ye,id:Gn,prefixCls:De,autoClearSearchValue:fn,dropdownMatchSelectWidth:rr,dropdownStyle:(0,C.Z)((0,C.Z)({},Qn),nr),displayValues:Ar,onDisplayValuesChange:la,mode:Vn?"multiple":void 0,searchValue:Un,onSearch:On,showSearch:Or,OptionList:q,emptyOptions:kn,open:va,dropdownClassName:Lr,placement:ma,onDropdownVisibleChange:Ca,getRawInputElement:function(){return Fr}})))});de.SHOW_PARENT=i,de.SHOW_CHILD=f,de.Panel=oe;var ut=de,Je=ut,ht=M(2738),vt=M(75030),qe=M(86641),ft=M(45915),Ke=M(82855),Oe=M(48755),Ye=M(38406),rt=M(2171),yt=M(83397),Et=M(31756),cn=M(56553),Jt=M(24971),zt=M(1722),vn=M(90376),Fn=M(68525),tn=M(90005),Pn=M(70045);function qt(me,ye){const{getPrefixCls:_e,direction:ke,renderEmpty:De}=k.useContext(Oe.E_),ct=ye||ke,At=_e("select",me),Pt=_e("cascader",me);return[At,Pt,ct,De]}var jt=qt;function kt(me,ye){return k.useMemo(()=>ye?k.createElement("span",{className:`${me}-checkbox-inner`}):!1,[ye])}var rn=M(33853),It=M(58617),Bt=M(38819),Xt=(me,ye,_e)=>{let ke=_e;_e||(ke=ye?k.createElement(rn.Z,null):k.createElement(Bt.Z,null));const De=k.createElement("span",{className:`${me}-menu-item-loading-icon`},k.createElement(It.Z,{spin:!0}));return k.useMemo(()=>[ke,De],[ke])},_n=M(56119),_t=M(16931),T=M(36237),z=M(36170),Z=M(63356),se=me=>{const{prefixCls:ye,componentCls:_e}=me,ke=`${_e}-menu-item`,De=` &${ke}-expand ${ke}-expand-icon, ${ke}-loading-icon `;return[(0,z.C2)(`${ye}-checkbox`,me),{[_e]:{"&-checkbox":{top:0,marginInlineEnd:me.paddingXS,pointerEvents:"unset"},"&-menus":{display:"flex",flexWrap:"nowrap",alignItems:"flex-start",[`&${_e}-menu-empty`]:{[`${_e}-menu`]:{width:"100%",height:"auto",[ke]:{color:me.colorTextDisabled}}}},"&-menu":{flexGrow:1,flexShrink:0,minWidth:me.controlItemWidth,height:me.dropdownHeight,margin:0,padding:me.menuPadding,overflow:"auto",verticalAlign:"top",listStyle:"none","-ms-overflow-style":"-ms-autohiding-scrollbar","&:not(:last-child)":{borderInlineEnd:`${(0,T.unit)(me.lineWidth)} ${me.lineType} ${me.colorSplit}`},"&-item":Object.assign(Object.assign({},Z.vS),{display:"flex",flexWrap:"nowrap",alignItems:"center",padding:me.optionPadding,lineHeight:me.lineHeight,cursor:"pointer",transition:`all ${me.motionDurationMid}`,borderRadius:me.borderRadiusSM,"&:hover":{background:me.controlItemBgHover},"&-disabled":{color:me.colorTextDisabled,cursor:"not-allowed","&:hover":{background:"transparent"},[De]:{color:me.colorTextDisabled}},[`&-active:not(${ke}-disabled)`]:{"&, &:hover":{color:me.optionSelectedColor,fontWeight:me.optionSelectedFontWeight,backgroundColor:me.optionSelectedBg}},"&-content":{flex:"auto"},[De]:{marginInlineStart:me.paddingXXS,color:me.colorTextDescription,fontSize:me.fontSizeIcon},"&-keyword":{color:me.colorHighlight}})}}}]};const Qe=me=>{const{componentCls:ye,antCls:_e}=me;return[{[ye]:{width:me.controlWidth}},{[`${ye}-dropdown`]:[{[`&${_e}-select-dropdown`]:{padding:0}},se(me)]},{[`${ye}-dropdown-rtl`]:{direction:"rtl"}},(0,_n.c)(me)]},lt=me=>{const ye=Math.round((me.controlHeight-me.fontSize*me.lineHeight)/2);return{controlWidth:184,controlItemWidth:111,dropdownHeight:180,optionSelectedBg:me.controlItemBgActive,optionSelectedFontWeight:me.fontWeightStrong,optionPadding:`${ye}px ${me.paddingSM}px`,menuPadding:me.paddingXXS,optionSelectedColor:me.colorText}};var xt=(0,_t.I$)("Cascader",me=>[Qe(me)],lt);const at=me=>{const{componentCls:ye}=me;return{[`${ye}-panel`]:[se(me),{display:"inline-flex",border:`${(0,T.unit)(me.lineWidth)} ${me.lineType} ${me.colorSplit}`,borderRadius:me.borderRadiusLG,overflowX:"auto",maxWidth:"100%",[`${ye}-menus`]:{alignItems:"stretch"},[`${ye}-menu`]:{height:"auto"},"&-empty":{padding:me.paddingXXS}}]}};var Nt=(0,_t.A1)(["Cascader","Panel"],me=>at(me),lt);function Gt(me){const{prefixCls:ye,className:_e,multiple:ke,rootClassName:De,notFoundContent:ct,direction:At,expandIcon:Pt,disabled:Yt}=me,sn=k.useContext(rt.Z),wn=Yt!=null?Yt:sn,[En,nn,fn,pn]=jt(ye,At),Lt=(0,yt.Z)(nn),[Mn,Zn,bn]=xt(nn,Lt);Nt(nn);const Wn=fn==="rtl",[qn,Cr]=Xt(En,Wn,Pt),ur=ct||(pn==null?void 0:pn("Cascader"))||k.createElement(Ye.Z,{componentName:"Cascader"}),Bn=kt(nn,ke);return Mn(k.createElement(oe,Object.assign({},me,{checkable:Bn,prefixCls:nn,className:_()(_e,Zn,De,bn,Lt),notFoundContent:ur,direction:fn,expandIcon:qn,loadingIcon:Cr,disabled:wn})))}var je=Gt,Ne=function(me,ye){var _e={};for(var ke in me)Object.prototype.hasOwnProperty.call(me,ke)&&ye.indexOf(ke)<0&&(_e[ke]=me[ke]);if(me!=null&&typeof Object.getOwnPropertySymbols=="function")for(var De=0,ke=Object.getOwnPropertySymbols(me);DeYt===0?[Pt]:[].concat((0,h.Z)(At),[ye,Pt]),[]),De=[];let ct=0;return ke.forEach((At,Pt)=>{const Yt=ct+At.length;let sn=me.slice(ct,Yt);ct=Yt,Pt%2===1&&(sn=k.createElement("span",{className:`${_e}-menu-item-keyword`,key:`separator-${Pt}`},sn)),De.push(sn)}),De}const We=(me,ye,_e,ke)=>{const De=[],ct=me.toLowerCase();return ye.forEach((At,Pt)=>{Pt!==0&&De.push(" / ");let Yt=At[ke.label];const sn=typeof Yt;(sn==="string"||sn==="number")&&(Yt=Pe(String(Yt),ct,_e)),De.push(Yt)}),De},he=k.forwardRef((me,ye)=>{var _e;const{prefixCls:ke,size:De,disabled:ct,className:At,rootClassName:Pt,multiple:Yt,bordered:sn=!0,transitionName:wn,choiceTransitionName:En="",popupClassName:nn,dropdownClassName:fn,expandIcon:pn,placement:Lt,showSearch:Mn,allowClear:Zn=!0,notFoundContent:bn,direction:Wn,getPopupContainer:qn,status:Cr,showArrow:ur,builtinPlacements:Bn,style:ar,variant:pr}=me,nr=Ne(me,["prefixCls","size","disabled","className","rootClassName","multiple","bordered","transitionName","choiceTransitionName","popupClassName","dropdownClassName","expandIcon","placement","showSearch","allowClear","notFoundContent","direction","getPopupContainer","status","showArrow","builtinPlacements","style","variant"]),er=(0,ht.Z)(nr,["suffixIcon"]),{getPrefixCls:Yn,getPopupContainer:St,className:Pr,style:Xr}=(0,Oe.dj)("cascader"),{popupOverflow:Ir}=k.useContext(Oe.E_),{status:Hr,hasFeedback:Fr,isFormItemInput:$r,feedbackIcon:rr}=k.useContext(cn.aM),tr=(0,Ke.F)(Hr,Cr),[Nn,Ft,hn,Gn]=jt(ke,Wn),Vn=hn==="rtl",gr=Yn(),Mr=(0,yt.Z)(Nn),[yr,et,Tt]=(0,vn.Z)(Nn,Mr),Ct=(0,yt.Z)(Ft),[Cn]=xt(Ft,Ct),{compactSize:cr,compactItemClassnames:it}=(0,Pn.ri)(Nn,Wn),[Tr,Dn]=(0,Jt.Z)("cascader",pr,sn),un=bn||(Gn==null?void 0:Gn("Cascader"))||k.createElement(Ye.Z,{componentName:"Cascader"}),Un=_()(nn||fn,`${Ft}-dropdown`,{[`${Ft}-dropdown-rtl`]:hn==="rtl"},Pt,Mr,Ct,et,Tt),vr=k.useMemo(()=>{if(!Mn)return Mn;let Xn={render:We};return typeof Mn=="object"&&(Xn=Object.assign(Object.assign({},Xn),Mn)),Xn},[Mn]),On=(0,Et.Z)(Xn=>{var aa;return(aa=De!=null?De:cr)!==null&&aa!==void 0?aa:Xn}),hr=k.useContext(rt.Z),An=ct!=null?ct:hr,[Or,or]=Xt(Nn,Vn,pn),Rr=kt(Ft,Yt),sr=(0,tn.Z)(me.suffixIcon,ur),{suffixIcon:$n,removeIcon:Dr,clearIcon:xr}=(0,Fn.Z)(Object.assign(Object.assign({},me),{hasFeedback:Fr,feedbackIcon:rr,showSuffixIcon:sr,multiple:Yt,prefixCls:Nn,componentName:"Cascader"})),dr=k.useMemo(()=>Lt!==void 0?Lt:Vn?"bottomRight":"bottomLeft",[Lt,Vn]),kr=Zn===!0?{clearIcon:xr}:Zn,[ta]=(0,vt.Cn)("SelectLike",(_e=er.dropdownStyle)===null||_e===void 0?void 0:_e.zIndex),Ar=k.createElement(Je,Object.assign({prefixCls:Nn,className:_()(!ke&&Ft,{[`${Nn}-lg`]:On==="large",[`${Nn}-sm`]:On==="small",[`${Nn}-rtl`]:Vn,[`${Nn}-${Tr}`]:Dn,[`${Nn}-in-form-item`]:$r},(0,Ke.Z)(Nn,tr,Fr),it,Pr,At,Pt,Mr,Ct,et,Tt),disabled:An,style:Object.assign(Object.assign({},Xr),ar)},er,{builtinPlacements:(0,zt.Z)(Bn,Ir),direction:hn,placement:dr,notFoundContent:un,allowClear:kr,showSearch:vr,expandIcon:Or,suffixIcon:$n,removeIcon:Dr,loadingIcon:or,checkable:Rr,dropdownClassName:Un,dropdownPrefixCls:ke||Ft,dropdownStyle:Object.assign(Object.assign({},er.dropdownStyle),{zIndex:ta}),choiceTransitionName:(0,qe.m)(gr,"",En),transitionName:(0,qe.m)(gr,"slide-up",wn),getPopupContainer:qn||St,ref:ye}));return Cn(yr(Ar))}),Ve=(0,ft.Z)(he,"dropdownAlign",me=>(0,ht.Z)(me,["visible"]));he.SHOW_PARENT=Le,he.SHOW_CHILD=Ee,he.Panel=je,he._InternalPanelDoNotUseOrYouWillBeFired=Ve;var tt=he},62673:function(Ln,pt,M){"use strict";M.d(pt,{default:function(){return b}});var h=M(59301),k=M(92310),P=M.n(k),_=M(16632),B=M(8654),C=M(12919),p=M(63872),m=M(48755),E=M(2171),d=M(83397),l=M(56553),g=h.createContext(null),r=M(36170),n=M(74632),a=function(x,A){var w={};for(var L in x)Object.prototype.hasOwnProperty.call(x,L)&&A.indexOf(L)<0&&(w[L]=x[L]);if(x!=null&&typeof Object.getOwnPropertySymbols=="function")for(var D=0,L=Object.getOwnPropertySymbols(x);D{var w;const{prefixCls:L,className:D,rootClassName:O,children:N,indeterminate:I=!1,style:K,onMouseEnter:F,onMouseLeave:W,skipGroup:j=!1,disabled:X}=x,Y=a(x,["prefixCls","className","rootClassName","children","indeterminate","style","onMouseEnter","onMouseLeave","skipGroup","disabled"]),{getPrefixCls:le,direction:J,checkbox:ve}=h.useContext(m.E_),Ce=h.useContext(g),{isFormItemInput:be}=h.useContext(l.aM),Ae=h.useContext(E.Z),Ue=(w=(Ce==null?void 0:Ce.disabled)||X)!==null&&w!==void 0?w:Ae,we=h.useRef(Y.value),$e=h.useRef(null),Re=(0,B.sQ)(A,$e);h.useEffect(()=>{Ce==null||Ce.registerValue(Y.value)},[]),h.useEffect(()=>{if(!j)return Y.value!==we.current&&(Ce==null||Ce.cancelValue(we.current),Ce==null||Ce.registerValue(Y.value),we.current=Y.value),()=>Ce==null?void 0:Ce.cancelValue(Y.value)},[Y.value]),h.useEffect(()=>{var oe;!((oe=$e.current)===null||oe===void 0)&&oe.input&&($e.current.input.indeterminate=I)},[I]);const ge=le("checkbox",L),Ze=(0,d.Z)(ge),[Fe,Te,Ge]=(0,r.ZP)(ge,Ze),Be=Object.assign({},Y);Ce&&!j&&(Be.onChange=function(){Y.onChange&&Y.onChange.apply(Y,arguments),Ce.toggleOption&&Ce.toggleOption({label:N,value:Y.value})},Be.name=Ce.name,Be.checked=Ce.value.includes(Y.value));const V=P()(`${ge}-wrapper`,{[`${ge}-rtl`]:J==="rtl",[`${ge}-wrapper-checked`]:Be.checked,[`${ge}-wrapper-disabled`]:Ue,[`${ge}-wrapper-in-form-item`]:be},ve==null?void 0:ve.className,D,O,Ge,Ze,Te),q=P()({[`${ge}-indeterminate`]:I},p.A,Te),[re,ee]=(0,n.Z)(Be.onClick);return Fe(h.createElement(C.Z,{component:"Checkbox",disabled:Ue},h.createElement("label",{className:V,style:Object.assign(Object.assign({},ve==null?void 0:ve.style),K),onMouseEnter:F,onMouseLeave:W,onClick:re},h.createElement(_.Z,Object.assign({},Be,{onClick:ee,prefixCls:ge,className:q,disabled:Ue,ref:Re})),N!==void 0&&h.createElement("span",{className:`${ge}-label`},N))))};var s=h.forwardRef(c),v=M(94480),e=M(2738),t=function(x,A){var w={};for(var L in x)Object.prototype.hasOwnProperty.call(x,L)&&A.indexOf(L)<0&&(w[L]=x[L]);if(x!=null&&typeof Object.getOwnPropertySymbols=="function")for(var D=0,L=Object.getOwnPropertySymbols(x);D{const{defaultValue:w,children:L,options:D=[],prefixCls:O,className:N,rootClassName:I,style:K,onChange:F}=x,W=t(x,["defaultValue","children","options","prefixCls","className","rootClassName","style","onChange"]),{getPrefixCls:j,direction:X}=h.useContext(m.E_),[Y,le]=h.useState(W.value||w||[]),[J,ve]=h.useState([]);h.useEffect(()=>{"value"in W&&le(W.value||[])},[W.value]);const Ce=h.useMemo(()=>D.map(q=>typeof q=="string"||typeof q=="number"?{label:q,value:q}:q),[D]),be=q=>{ve(re=>re.filter(ee=>ee!==q))},Ae=q=>{ve(re=>[].concat((0,v.Z)(re),[q]))},Ue=q=>{const re=Y.indexOf(q.value),ee=(0,v.Z)(Y);re===-1?ee.push(q.value):ee.splice(re,1),"value"in W||le(ee),F==null||F(ee.filter(oe=>J.includes(oe)).sort((oe,$)=>{const fe=Ce.findIndex(ne=>ne.value===oe),xe=Ce.findIndex(ne=>ne.value===$);return fe-xe}))},we=j("checkbox",O),$e=`${we}-group`,Re=(0,d.Z)(we),[ge,Ze,Fe]=(0,r.ZP)(we,Re),Te=(0,e.Z)(W,["value","disabled"]),Ge=D.length?Ce.map(q=>h.createElement(s,{prefixCls:we,key:q.value.toString(),disabled:"disabled"in q?q.disabled:W.disabled,value:q.value,checked:Y.includes(q.value),onChange:q.onChange,className:`${$e}-item`,style:q.style,title:q.title,id:q.id,required:q.required},q.label)):L,Be={toggleOption:Ue,value:Y,disabled:W.disabled,name:W.name,registerValue:Ae,cancelValue:be},V=P()($e,{[`${$e}-rtl`]:X==="rtl"},N,I,Fe,Re,Ze);return ge(h.createElement("div",Object.assign({className:V,style:K},Te,{ref:A}),h.createElement(g.Provider,{value:Be},Ge)))});const y=s;y.Group=f,y.__ANT_CHECKBOX=!0;var b=y},36170:function(Ln,pt,M){"use strict";M.d(pt,{C2:function(){return C}});var h=M(36237),k=M(63356),P=M(51636),_=M(16931);const B=p=>{const{checkboxCls:m}=p,E=`${m}-wrapper`;return[{[`${m}-group`]:Object.assign(Object.assign({},(0,k.Wf)(p)),{display:"inline-flex",flexWrap:"wrap",columnGap:p.marginXS,[`> ${p.antCls}-row`]:{flex:1}}),[E]:Object.assign(Object.assign({},(0,k.Wf)(p)),{display:"inline-flex",alignItems:"baseline",cursor:"pointer","&:after":{display:"inline-block",width:0,overflow:"hidden",content:"'\\a0'"},[`& + ${E}`]:{marginInlineStart:0},[`&${E}-in-form-item`]:{'input[type="checkbox"]':{width:14,height:14}}}),[m]:Object.assign(Object.assign({},(0,k.Wf)(p)),{position:"relative",whiteSpace:"nowrap",lineHeight:1,cursor:"pointer",borderRadius:p.borderRadiusSM,alignSelf:"center",[`${m}-input`]:{position:"absolute",inset:0,zIndex:1,cursor:"pointer",opacity:0,margin:0,[`&:focus-visible + ${m}-inner`]:Object.assign({},(0,k.oN)(p))},[`${m}-inner`]:{boxSizing:"border-box",display:"block",width:p.checkboxSize,height:p.checkboxSize,direction:"ltr",backgroundColor:p.colorBgContainer,border:`${(0,h.unit)(p.lineWidth)} ${p.lineType} ${p.colorBorder}`,borderRadius:p.borderRadiusSM,borderCollapse:"separate",transition:`all ${p.motionDurationSlow}`,"&:after":{boxSizing:"border-box",position:"absolute",top:"50%",insetInlineStart:"25%",display:"table",width:p.calc(p.checkboxSize).div(14).mul(5).equal(),height:p.calc(p.checkboxSize).div(14).mul(8).equal(),border:`${(0,h.unit)(p.lineWidthBold)} solid ${p.colorWhite}`,borderTop:0,borderInlineStart:0,transform:"rotate(45deg) scale(0) translate(-50%,-50%)",opacity:0,content:'""',transition:`all ${p.motionDurationFast} ${p.motionEaseInBack}, opacity ${p.motionDurationFast}`}},"& + span":{paddingInlineStart:p.paddingXS,paddingInlineEnd:p.paddingXS}})},{[` ${E}:not(${E}-disabled), ${m}:not(${m}-disabled) `]:{[`&:hover ${m}-inner`]:{borderColor:p.colorPrimary}},[`${E}:not(${E}-disabled)`]:{[`&:hover ${m}-checked:not(${m}-disabled) ${m}-inner`]:{backgroundColor:p.colorPrimaryHover,borderColor:"transparent"},[`&:hover ${m}-checked:not(${m}-disabled):after`]:{borderColor:p.colorPrimaryHover}}},{[`${m}-checked`]:{[`${m}-inner`]:{backgroundColor:p.colorPrimary,borderColor:p.colorPrimary,"&:after":{opacity:1,transform:"rotate(45deg) scale(1) translate(-50%,-50%)",transition:`all ${p.motionDurationMid} ${p.motionEaseOutBack} ${p.motionDurationFast}`}}},[` ${E}-checked:not(${E}-disabled), ${m}-checked:not(${m}-disabled) `]:{[`&:hover ${m}-inner`]:{backgroundColor:p.colorPrimaryHover,borderColor:"transparent"}}},{[m]:{"&-indeterminate":{[`${m}-inner`]:{backgroundColor:`${p.colorBgContainer} !important`,borderColor:`${p.colorBorder} !important`,"&:after":{top:"50%",insetInlineStart:"50%",width:p.calc(p.fontSizeLG).div(2).equal(),height:p.calc(p.fontSizeLG).div(2).equal(),backgroundColor:p.colorPrimary,border:0,transform:"translate(-50%, -50%) scale(1)",opacity:1,content:'""'}},[`&:hover ${m}-inner`]:{backgroundColor:`${p.colorBgContainer} !important`,borderColor:`${p.colorPrimary} !important`}}}},{[`${E}-disabled`]:{cursor:"not-allowed"},[`${m}-disabled`]:{[`&, ${m}-input`]:{cursor:"not-allowed",pointerEvents:"none"},[`${m}-inner`]:{background:p.colorBgContainerDisabled,borderColor:p.colorBorder,"&:after":{borderColor:p.colorTextDisabled}},"&:after":{display:"none"},"& + span":{color:p.colorTextDisabled},[`&${m}-indeterminate ${m}-inner::after`]:{background:p.colorTextDisabled}}}]};function C(p,m){const E=(0,P.mergeToken)(m,{checkboxCls:`.${p}`,checkboxSize:m.controlInteractiveSize});return[B(E)]}pt.ZP=(0,_.I$)("Checkbox",(p,m)=>{let{prefixCls:E}=m;return[C(E,p)]})},38406:function(Ln,pt,M){"use strict";var h=M(59301),k=M(48755),P=M(584);const _=B=>{const{componentName:C}=B,{getPrefixCls:p}=(0,h.useContext)(k.E_),m=p("empty");switch(C){case"Table":case"List":return h.createElement(P.Z,{image:P.Z.PRESENTED_IMAGE_SIMPLE});case"Select":case"TreeSelect":case"Cascader":case"Transfer":case"Mentions":return h.createElement(P.Z,{image:P.Z.PRESENTED_IMAGE_SIMPLE,className:`${m}-small`});case"Table.filter":return null;default:return h.createElement(P.Z,null)}};pt.Z=_},37285:function(Ln,pt,M){"use strict";M.d(pt,{Z:function(){return r}});var h=M(59301),k=M(92310),P=M.n(k),_=M(48755),B=M(36237),C=M(63356),p=M(16931),m=M(51636);const E=n=>{const{componentCls:a,sizePaddingEdgeHorizontal:c,colorSplit:u,lineWidth:s,textPaddingInline:v,orientationMargin:e,verticalMarginInline:t}=n;return{[a]:Object.assign(Object.assign({},(0,C.Wf)(n)),{borderBlockStart:`${(0,B.unit)(s)} solid ${u}`,"&-vertical":{position:"relative",top:"-0.06em",display:"inline-block",height:"0.9em",marginInline:t,marginBlock:0,verticalAlign:"middle",borderTop:0,borderInlineStart:`${(0,B.unit)(s)} solid ${u}`},"&-horizontal":{display:"flex",clear:"both",width:"100%",minWidth:"100%",margin:`${(0,B.unit)(n.dividerHorizontalGutterMargin)} 0`},[`&-horizontal${a}-with-text`]:{display:"flex",alignItems:"center",margin:`${(0,B.unit)(n.dividerHorizontalWithTextGutterMargin)} 0`,color:n.colorTextHeading,fontWeight:500,fontSize:n.fontSizeLG,whiteSpace:"nowrap",textAlign:"center",borderBlockStart:`0 ${u}`,"&::before, &::after":{position:"relative",width:"50%",borderBlockStart:`${(0,B.unit)(s)} solid transparent`,borderBlockStartColor:"inherit",borderBlockEnd:0,transform:"translateY(50%)",content:"''"}},[`&-horizontal${a}-with-text-start`]:{"&::before":{width:`calc(${e} * 100%)`},"&::after":{width:`calc(100% - ${e} * 100%)`}},[`&-horizontal${a}-with-text-end`]:{"&::before":{width:`calc(100% - ${e} * 100%)`},"&::after":{width:`calc(${e} * 100%)`}},[`${a}-inner-text`]:{display:"inline-block",paddingBlock:0,paddingInline:v},"&-dashed":{background:"none",borderColor:u,borderStyle:"dashed",borderWidth:`${(0,B.unit)(s)} 0 0`},[`&-horizontal${a}-with-text${a}-dashed`]:{"&::before, &::after":{borderStyle:"dashed none none"}},[`&-vertical${a}-dashed`]:{borderInlineStartWidth:s,borderInlineEnd:0,borderBlockStart:0,borderBlockEnd:0},"&-dotted":{background:"none",borderColor:u,borderStyle:"dotted",borderWidth:`${(0,B.unit)(s)} 0 0`},[`&-horizontal${a}-with-text${a}-dotted`]:{"&::before, &::after":{borderStyle:"dotted none none"}},[`&-vertical${a}-dotted`]:{borderInlineStartWidth:s,borderInlineEnd:0,borderBlockStart:0,borderBlockEnd:0},[`&-plain${a}-with-text`]:{color:n.colorText,fontWeight:"normal",fontSize:n.fontSize},[`&-horizontal${a}-with-text-start${a}-no-default-orientation-margin-start`]:{"&::before":{width:0},"&::after":{width:"100%"},[`${a}-inner-text`]:{paddingInlineStart:c}},[`&-horizontal${a}-with-text-end${a}-no-default-orientation-margin-end`]:{"&::before":{width:"100%"},"&::after":{width:0},[`${a}-inner-text`]:{paddingInlineEnd:c}}})}},d=n=>({textPaddingInline:"1em",orientationMargin:.05,verticalMarginInline:n.marginXS});var l=(0,p.I$)("Divider",n=>{const a=(0,m.mergeToken)(n,{dividerHorizontalWithTextGutterMargin:n.margin,dividerHorizontalGutterMargin:n.marginLG,sizePaddingEdgeHorizontal:0});return[E(a)]},d,{unitless:{orientationMargin:!0}}),o=function(n,a){var c={};for(var u in n)Object.prototype.hasOwnProperty.call(n,u)&&a.indexOf(u)<0&&(c[u]=n[u]);if(n!=null&&typeof Object.getOwnPropertySymbols=="function")for(var s=0,u=Object.getOwnPropertySymbols(n);s{const{getPrefixCls:a,direction:c,className:u,style:s}=(0,_.dj)("divider"),{prefixCls:v,type:e="horizontal",orientation:t="center",orientationMargin:i,className:f,rootClassName:y,children:b,dashed:x,variant:A="solid",plain:w,style:L}=n,D=o(n,["prefixCls","type","orientation","orientationMargin","className","rootClassName","children","dashed","variant","plain","style"]),O=a("divider",v),[N,I,K]=l(O),F=!!b,W=h.useMemo(()=>t==="left"?c==="rtl"?"end":"start":t==="right"?c==="rtl"?"start":"end":t,[c,t]),j=W==="start"&&i!=null,X=W==="end"&&i!=null,Y=P()(O,u,I,K,`${O}-${e}`,{[`${O}-with-text`]:F,[`${O}-with-text-${W}`]:F,[`${O}-dashed`]:!!x,[`${O}-${A}`]:A!=="solid",[`${O}-plain`]:!!w,[`${O}-rtl`]:c==="rtl",[`${O}-no-default-orientation-margin-start`]:j,[`${O}-no-default-orientation-margin-end`]:X},f,y),le=h.useMemo(()=>typeof i=="number"?i:/^\d+$/.test(i)?Number(i):i,[i]),J={marginInlineStart:j?le:void 0,marginInlineEnd:X?le:void 0};return N(h.createElement("div",Object.assign({className:Y,style:Object.assign(Object.assign({},s),L)},D,{role:"separator"}),b&&e!=="vertical"&&h.createElement("span",{className:`${O}-inner-text`,style:J},b)))}},36207:function(Ln,pt,M){"use strict";M.d(pt,{Z:function(){return re}});var h=M(59301),k=M(92310),P=M.n(k),_=M(33885),B=M(42978),C=M(43403),p=M(34280),m=h.createContext(null),E=h.createContext({}),d=m,l=M(20068),o=M(54476),g=M(77900),r=M(10228),n=M(26112),a=M(75931),c=M(8654),u=["prefixCls","className","containerRef"],s=function(oe){var $=oe.prefixCls,fe=oe.className,xe=oe.containerRef,ne=(0,a.Z)(oe,u),de=h.useContext(E),ut=de.panel,Je=(0,c.x1)(ut,xe);return h.createElement("div",(0,o.Z)({className:P()("".concat($,"-content"),fe),role:"dialog",ref:Je},(0,n.Z)(oe,{aria:!0}),{"aria-modal":"true"},ne))},v=s,e=M(48736);function t(ee){return typeof ee=="string"&&String(Number(ee))===ee?((0,e.ZP)(!1,"Invalid value type of `width` or `height` which should be number type instead."),Number(ee)):ee}function i(ee){warning(!("wrapperClassName"in ee),"'wrapperClassName' is removed. Please use 'rootClassName' instead."),warning(canUseDom()||!ee.open,"Drawer with 'open' in SSR is not work since no place to createPortal. Please move to 'useEffect' instead.")}var f={width:0,height:0,overflow:"hidden",outline:"none",position:"absolute"};function y(ee,oe){var $,fe,xe,ne=ee.prefixCls,de=ee.open,ut=ee.placement,Je=ee.inline,ht=ee.push,vt=ee.forceRender,qe=ee.autoFocus,ft=ee.keyboard,Ke=ee.classNames,Oe=ee.rootClassName,Ye=ee.rootStyle,rt=ee.zIndex,yt=ee.className,Et=ee.id,cn=ee.style,Jt=ee.motion,zt=ee.width,vn=ee.height,Fn=ee.children,tn=ee.mask,Pn=ee.maskClosable,qt=ee.maskMotion,jt=ee.maskClassName,kt=ee.maskStyle,rn=ee.afterOpenChange,It=ee.onClose,Bt=ee.onMouseEnter,Wt=ee.onMouseOver,Xt=ee.onMouseLeave,_n=ee.onClick,_t=ee.onKeyDown,T=ee.onKeyUp,z=ee.styles,Z=ee.drawerRender,ie=h.useRef(),se=h.useRef(),Qe=h.useRef();h.useImperativeHandle(oe,function(){return ie.current});var lt=function(_e){var ke=_e.keyCode,De=_e.shiftKey;switch(ke){case r.Z.TAB:{if(ke===r.Z.TAB){if(!De&&document.activeElement===Qe.current){var ct;(ct=se.current)===null||ct===void 0||ct.focus({preventScroll:!0})}else if(De&&document.activeElement===se.current){var At;(At=Qe.current)===null||At===void 0||At.focus({preventScroll:!0})}}break}case r.Z.ESC:{It&&ft&&(_e.stopPropagation(),It(_e));break}}};h.useEffect(function(){if(de&&qe){var ye;(ye=ie.current)===null||ye===void 0||ye.focus({preventScroll:!0})}},[de]);var xt=h.useState(!1),at=(0,B.Z)(xt,2),Nt=at[0],Gt=at[1],je=h.useContext(d),Ne;typeof ht=="boolean"?Ne=ht?{}:{distance:0}:Ne=ht||{};var Ee=($=(fe=(xe=Ne)===null||xe===void 0?void 0:xe.distance)!==null&&fe!==void 0?fe:je==null?void 0:je.pushDistance)!==null&&$!==void 0?$:180,Le=h.useMemo(function(){return{pushDistance:Ee,push:function(){Gt(!0)},pull:function(){Gt(!1)}}},[Ee]);h.useEffect(function(){if(de){var ye;je==null||(ye=je.push)===null||ye===void 0||ye.call(je)}else{var _e;je==null||(_e=je.pull)===null||_e===void 0||_e.call(je)}},[de]),h.useEffect(function(){return function(){var ye;je==null||(ye=je.pull)===null||ye===void 0||ye.call(je)}},[]);var Pe=tn&&h.createElement(g.default,(0,o.Z)({key:"mask"},qt,{visible:de}),function(ye,_e){var ke=ye.className,De=ye.style;return h.createElement("div",{className:P()("".concat(ne,"-mask"),ke,Ke==null?void 0:Ke.mask,jt),style:(0,_.Z)((0,_.Z)((0,_.Z)({},De),kt),z==null?void 0:z.mask),onClick:Pn&&de?It:void 0,ref:_e})}),We=typeof Jt=="function"?Jt(ut):Jt,he={};if(Nt&&Ee)switch(ut){case"top":he.transform="translateY(".concat(Ee,"px)");break;case"bottom":he.transform="translateY(".concat(-Ee,"px)");break;case"left":he.transform="translateX(".concat(Ee,"px)");break;default:he.transform="translateX(".concat(-Ee,"px)");break}ut==="left"||ut==="right"?he.width=t(zt):he.height=t(vn);var Ve={onMouseEnter:Bt,onMouseOver:Wt,onMouseLeave:Xt,onClick:_n,onKeyDown:_t,onKeyUp:T},tt=h.createElement(g.default,(0,o.Z)({key:"panel"},We,{visible:de,forceRender:vt,onVisibleChanged:function(_e){rn==null||rn(_e)},removeOnLeave:!1,leavedClassName:"".concat(ne,"-content-wrapper-hidden")}),function(ye,_e){var ke=ye.className,De=ye.style,ct=h.createElement(v,(0,o.Z)({id:Et,containerRef:_e,prefixCls:ne,className:P()(yt,Ke==null?void 0:Ke.content),style:(0,_.Z)((0,_.Z)({},cn),z==null?void 0:z.content)},(0,n.Z)(ee,{aria:!0}),Ve),Fn);return h.createElement("div",(0,o.Z)({className:P()("".concat(ne,"-content-wrapper"),Ke==null?void 0:Ke.wrapper,ke),style:(0,_.Z)((0,_.Z)((0,_.Z)({},he),De),z==null?void 0:z.wrapper)},(0,n.Z)(ee,{data:!0})),Z?Z(ct):ct)}),me=(0,_.Z)({},Ye);return rt&&(me.zIndex=rt),h.createElement(d.Provider,{value:Le},h.createElement("div",{className:P()(ne,"".concat(ne,"-").concat(ut),Oe,(0,l.Z)((0,l.Z)({},"".concat(ne,"-open"),de),"".concat(ne,"-inline"),Je)),style:me,tabIndex:-1,ref:ie,onKeyDown:lt},Pe,h.createElement("div",{tabIndex:0,ref:se,style:f,"aria-hidden":"true","data-sentinel":"start"}),tt,h.createElement("div",{tabIndex:0,ref:Qe,style:f,"aria-hidden":"true","data-sentinel":"end"})))}var b=h.forwardRef(y),x=b,A=function(oe){var $=oe.open,fe=$===void 0?!1:$,xe=oe.prefixCls,ne=xe===void 0?"rc-drawer":xe,de=oe.placement,ut=de===void 0?"right":de,Je=oe.autoFocus,ht=Je===void 0?!0:Je,vt=oe.keyboard,qe=vt===void 0?!0:vt,ft=oe.width,Ke=ft===void 0?378:ft,Oe=oe.mask,Ye=Oe===void 0?!0:Oe,rt=oe.maskClosable,yt=rt===void 0?!0:rt,Et=oe.getContainer,cn=oe.forceRender,Jt=oe.afterOpenChange,zt=oe.destroyOnClose,vn=oe.onMouseEnter,Fn=oe.onMouseOver,tn=oe.onMouseLeave,Pn=oe.onClick,qt=oe.onKeyDown,jt=oe.onKeyUp,kt=oe.panelRef,rn=h.useState(!1),It=(0,B.Z)(rn,2),Bt=It[0],Wt=It[1],Xt=h.useState(!1),_n=(0,B.Z)(Xt,2),_t=_n[0],T=_n[1];(0,p.Z)(function(){T(!0)},[]);var z=_t?fe:!1,Z=h.useRef(),ie=h.useRef();(0,p.Z)(function(){z&&(ie.current=document.activeElement)},[z]);var se=function(Nt){var Gt;if(Wt(Nt),Jt==null||Jt(Nt),!Nt&&ie.current&&!((Gt=Z.current)!==null&&Gt!==void 0&&Gt.contains(ie.current))){var je;(je=ie.current)===null||je===void 0||je.focus({preventScroll:!0})}},Qe=h.useMemo(function(){return{panel:kt}},[kt]);if(!cn&&!Bt&&!z&&zt)return null;var lt={onMouseEnter:vn,onMouseOver:Fn,onMouseLeave:tn,onClick:Pn,onKeyDown:qt,onKeyUp:jt},xt=(0,_.Z)((0,_.Z)({},oe),{},{open:z,prefixCls:ne,placement:ut,autoFocus:ht,keyboard:qe,width:Ke,mask:Ye,maskClosable:yt,inline:Et===!1,afterOpenChange:se,ref:Z},lt);return h.createElement(E.Provider,{value:Qe},h.createElement(C.Z,{open:z||cn||Bt,autoDestroy:!1,getContainer:Et,autoLock:Ye&&(z||Bt)},h.createElement(x,xt)))},w=A,L=w,D=M(62487),O=M(75030),N=M(86641),I=M(55743),K=M(48755),F=M(91190),W=M(78776),j=M(458),Y=ee=>{var oe,$;const{prefixCls:fe,title:xe,footer:ne,extra:de,loading:ut,onClose:Je,headerStyle:ht,bodyStyle:vt,footerStyle:qe,children:ft,classNames:Ke,styles:Oe}=ee,Ye=(0,K.dj)("drawer"),rt=h.useCallback(zt=>h.createElement("button",{type:"button",onClick:Je,"aria-label":"Close",className:`${fe}-close`},zt),[Je]),[yt,Et]=(0,W.Z)((0,W.w)(ee),(0,W.w)(Ye),{closable:!0,closeIconRender:rt}),cn=h.useMemo(()=>{var zt,vn;return!xe&&!yt?null:h.createElement("div",{style:Object.assign(Object.assign(Object.assign({},(zt=Ye.styles)===null||zt===void 0?void 0:zt.header),ht),Oe==null?void 0:Oe.header),className:P()(`${fe}-header`,{[`${fe}-header-close-only`]:yt&&!xe&&!de},(vn=Ye.classNames)===null||vn===void 0?void 0:vn.header,Ke==null?void 0:Ke.header)},h.createElement("div",{className:`${fe}-header-title`},Et,xe&&h.createElement("div",{className:`${fe}-title`},xe)),de&&h.createElement("div",{className:`${fe}-extra`},de))},[yt,Et,de,ht,fe,xe]),Jt=h.useMemo(()=>{var zt,vn;if(!ne)return null;const Fn=`${fe}-footer`;return h.createElement("div",{className:P()(Fn,(zt=Ye.classNames)===null||zt===void 0?void 0:zt.footer,Ke==null?void 0:Ke.footer),style:Object.assign(Object.assign(Object.assign({},(vn=Ye.styles)===null||vn===void 0?void 0:vn.footer),qe),Oe==null?void 0:Oe.footer)},ne)},[ne,qe,fe]);return h.createElement(h.Fragment,null,cn,h.createElement("div",{className:P()(`${fe}-body`,Ke==null?void 0:Ke.body,(oe=Ye.classNames)===null||oe===void 0?void 0:oe.body),style:Object.assign(Object.assign(Object.assign({},($=Ye.styles)===null||$===void 0?void 0:$.body),vt),Oe==null?void 0:Oe.body)},ut?h.createElement(j.Z,{active:!0,title:!1,paragraph:{rows:5},className:`${fe}-body-skeleton`}):ft),Jt)},le=M(36237),J=M(63356),ve=M(16931),Ce=M(51636);const be=ee=>{const oe="100%";return{left:`translateX(-${oe})`,right:`translateX(${oe})`,top:`translateY(-${oe})`,bottom:`translateY(${oe})`}[ee]},Ae=(ee,oe)=>({"&-enter, &-appear":Object.assign(Object.assign({},ee),{"&-active":oe}),"&-leave":Object.assign(Object.assign({},oe),{"&-active":ee})}),Ue=(ee,oe)=>Object.assign({"&-enter, &-appear, &-leave":{"&-start":{transition:"none"},"&-active":{transition:`all ${oe}`}}},Ae({opacity:ee},{opacity:1})),we=(ee,oe)=>[Ue(.7,oe),Ae({transform:be(ee)},{transform:"none"})];var Re=ee=>{const{componentCls:oe,motionDurationSlow:$}=ee;return{[oe]:{[`${oe}-mask-motion`]:Ue(0,$),[`${oe}-panel-motion`]:["left","right","top","bottom"].reduce((fe,xe)=>Object.assign(Object.assign({},fe),{[`&-${xe}`]:we(xe,$)}),{})}}};const ge=ee=>{const{borderRadiusSM:oe,componentCls:$,zIndexPopup:fe,colorBgMask:xe,colorBgElevated:ne,motionDurationSlow:de,motionDurationMid:ut,paddingXS:Je,padding:ht,paddingLG:vt,fontSizeLG:qe,lineHeightLG:ft,lineWidth:Ke,lineType:Oe,colorSplit:Ye,marginXS:rt,colorIcon:yt,colorIconHover:Et,colorBgTextHover:cn,colorBgTextActive:Jt,colorText:zt,fontWeightStrong:vn,footerPaddingBlock:Fn,footerPaddingInline:tn,calc:Pn}=ee,qt=`${$}-content-wrapper`;return{[$]:{position:"fixed",inset:0,zIndex:fe,pointerEvents:"none",color:zt,"&-pure":{position:"relative",background:ne,display:"flex",flexDirection:"column",[`&${$}-left`]:{boxShadow:ee.boxShadowDrawerLeft},[`&${$}-right`]:{boxShadow:ee.boxShadowDrawerRight},[`&${$}-top`]:{boxShadow:ee.boxShadowDrawerUp},[`&${$}-bottom`]:{boxShadow:ee.boxShadowDrawerDown}},"&-inline":{position:"absolute"},[`${$}-mask`]:{position:"absolute",inset:0,zIndex:fe,background:xe,pointerEvents:"auto"},[qt]:{position:"absolute",zIndex:fe,maxWidth:"100vw",transition:`all ${de}`,"&-hidden":{display:"none"}},[`&-left > ${qt}`]:{top:0,bottom:0,left:{_skip_check_:!0,value:0},boxShadow:ee.boxShadowDrawerLeft},[`&-right > ${qt}`]:{top:0,right:{_skip_check_:!0,value:0},bottom:0,boxShadow:ee.boxShadowDrawerRight},[`&-top > ${qt}`]:{top:0,insetInline:0,boxShadow:ee.boxShadowDrawerUp},[`&-bottom > ${qt}`]:{bottom:0,insetInline:0,boxShadow:ee.boxShadowDrawerDown},[`${$}-content`]:{display:"flex",flexDirection:"column",width:"100%",height:"100%",overflow:"auto",background:ne,pointerEvents:"auto"},[`${$}-header`]:{display:"flex",flex:0,alignItems:"center",padding:`${(0,le.unit)(ht)} ${(0,le.unit)(vt)}`,fontSize:qe,lineHeight:ft,borderBottom:`${(0,le.unit)(Ke)} ${Oe} ${Ye}`,"&-title":{display:"flex",flex:1,alignItems:"center",minWidth:0,minHeight:0}},[`${$}-extra`]:{flex:"none"},[`${$}-close`]:Object.assign({display:"inline-flex",width:Pn(qe).add(Je).equal(),height:Pn(qe).add(Je).equal(),borderRadius:oe,justifyContent:"center",alignItems:"center",marginInlineEnd:rt,color:yt,fontWeight:vn,fontSize:qe,fontStyle:"normal",lineHeight:1,textAlign:"center",textTransform:"none",textDecoration:"none",background:"transparent",border:0,cursor:"pointer",transition:`all ${ut}`,textRendering:"auto","&:hover":{color:Et,backgroundColor:cn,textDecoration:"none"},"&:active":{backgroundColor:Jt}},(0,J.Qy)(ee)),[`${$}-title`]:{flex:1,margin:0,fontWeight:ee.fontWeightStrong,fontSize:qe,lineHeight:ft},[`${$}-body`]:{flex:1,minWidth:0,minHeight:0,padding:vt,overflow:"auto",[`${$}-body-skeleton`]:{width:"100%",height:"100%",display:"flex",justifyContent:"center"}},[`${$}-footer`]:{flexShrink:0,padding:`${(0,le.unit)(Fn)} ${(0,le.unit)(tn)}`,borderTop:`${(0,le.unit)(Ke)} ${Oe} ${Ye}`},"&-rtl":{direction:"rtl"}}}},Ze=ee=>({zIndexPopup:ee.zIndexPopupBase,footerPaddingBlock:ee.paddingXS,footerPaddingInline:ee.padding});var Fe=(0,ve.I$)("Drawer",ee=>{const oe=(0,Ce.mergeToken)(ee,{});return[ge(oe),Re(oe)]},Ze),Te=function(ee,oe){var $={};for(var fe in ee)Object.prototype.hasOwnProperty.call(ee,fe)&&oe.indexOf(fe)<0&&($[fe]=ee[fe]);if(ee!=null&&typeof Object.getOwnPropertySymbols=="function")for(var xe=0,fe=Object.getOwnPropertySymbols(ee);xe{var oe;const{rootClassName:$,width:fe,height:xe,size:ne="default",mask:de=!0,push:ut=Be,open:Je,afterOpenChange:ht,onClose:vt,prefixCls:qe,getContainer:ft,style:Ke,className:Oe,visible:Ye,afterVisibleChange:rt,maskStyle:yt,drawerStyle:Et,contentWrapperStyle:cn}=ee,Jt=Te(ee,["rootClassName","width","height","size","mask","push","open","afterOpenChange","onClose","prefixCls","getContainer","style","className","visible","afterVisibleChange","maskStyle","drawerStyle","contentWrapperStyle"]),{getPopupContainer:zt,getPrefixCls:vn,direction:Fn,className:tn,style:Pn,classNames:qt,styles:jt}=(0,K.dj)("drawer"),kt=vn("drawer",qe),[rn,It,Bt]=Fe(kt),Wt=ft===void 0&&zt?()=>zt(document.body):ft,Xt=P()({"no-mask":!de,[`${kt}-rtl`]:Fn==="rtl"},$,It,Bt),_n=h.useMemo(()=>fe!=null?fe:ne==="large"?736:378,[fe,ne]),_t=h.useMemo(()=>xe!=null?xe:ne==="large"?736:378,[xe,ne]),T={motionName:(0,N.m)(kt,"mask-motion"),motionAppear:!0,motionEnter:!0,motionLeave:!0,motionDeadline:500},z=xt=>({motionName:(0,N.m)(kt,`panel-motion-${xt}`),motionAppear:!0,motionEnter:!0,motionLeave:!0,motionDeadline:500}),Z=(0,F.H)(),[ie,se]=(0,O.Cn)("Drawer",Jt.zIndex),{classNames:Qe={},styles:lt={}}=Jt;return rn(h.createElement(D.Z,{form:!0,space:!0},h.createElement(I.Z.Provider,{value:se},h.createElement(L,Object.assign({prefixCls:kt,onClose:vt,maskMotion:T,motion:z},Jt,{classNames:{mask:P()(Qe.mask,qt.mask),content:P()(Qe.content,qt.content),wrapper:P()(Qe.wrapper,qt.wrapper)},styles:{mask:Object.assign(Object.assign(Object.assign({},lt.mask),yt),jt.mask),content:Object.assign(Object.assign(Object.assign({},lt.content),Et),jt.content),wrapper:Object.assign(Object.assign(Object.assign({},lt.wrapper),cn),jt.wrapper)},open:Je!=null?Je:Ye,mask:de,push:ut,width:_n,height:_t,style:Object.assign(Object.assign({},Pn),Ke),className:P()(tn,Oe),rootClassName:Xt,getContainer:Wt,afterOpenChange:ht!=null?ht:rt,panelRef:Z,zIndex:ie}),h.createElement(Y,Object.assign({prefixCls:kt},Jt,{onClose:vt}))))))},q=ee=>{const{prefixCls:oe,style:$,className:fe,placement:xe="right"}=ee,ne=Te(ee,["prefixCls","style","className","placement"]),{getPrefixCls:de}=h.useContext(K.E_),ut=de("drawer",oe),[Je,ht,vt]=Fe(ut),qe=P()(ut,`${ut}-pure`,`${ut}-${xe}`,ht,vt,fe);return Je(h.createElement("div",{className:qe,style:$},h.createElement(Y,Object.assign({prefixCls:ut},ne))))};V._InternalPanelDoNotUseOrYouWillBeFired=q;var re=V},19563:function(Ln,pt,M){"use strict";M.d(pt,{Z:function(){return le}});var h=M(59301),k=M(33853),P=M(38819),_=M(92310),B=M.n(_),C=M(96478),p=M(6089),m=M(18929),E=M(2738),d=M(75030),o=J=>typeof J!="object"&&typeof J!="function"||J===null,g=M(52838),r=M(45915),n=M(22703),a=M(32383),c=M(55743),u=M(48755),s=M(83397),v=M(93041),e=M(78857),t=M(57700),i=M(36237),f=M(63356),y=M(46e3),b=M(93873),x=M(34925),A=M(37645),w=M(36305),L=M(16931),D=M(51636),N=J=>{const{componentCls:ve,menuCls:Ce,colorError:be,colorTextLightSolid:Ae}=J,Ue=`${Ce}-item`;return{[`${ve}, ${ve}-menu-submenu`]:{[`${Ce} ${Ue}`]:{[`&${Ue}-danger:not(${Ue}-disabled)`]:{color:be,"&:hover":{color:Ae,backgroundColor:be}}}}}};const I=J=>{const{componentCls:ve,menuCls:Ce,zIndexPopup:be,dropdownArrowDistance:Ae,sizePopupArrow:Ue,antCls:we,iconCls:$e,motionDurationMid:Re,paddingBlock:ge,fontSize:Ze,dropdownEdgeChildPadding:Fe,colorTextDisabled:Te,fontSizeIcon:Ge,controlPaddingHorizontal:Be,colorBgElevated:V}=J;return[{[ve]:{position:"absolute",top:-9999,left:{_skip_check_:!0,value:-9999},zIndex:be,display:"block","&::before":{position:"absolute",insetBlock:J.calc(Ue).div(2).sub(Ae).equal(),zIndex:-9999,opacity:1e-4,content:'""'},"&-menu-vertical":{maxHeight:"100vh",overflowY:"auto"},[`&-trigger${we}-btn`]:{[`& > ${$e}-down, & > ${we}-btn-icon > ${$e}-down`]:{fontSize:Ge}},[`${ve}-wrap`]:{position:"relative",[`${we}-btn > ${$e}-down`]:{fontSize:Ge},[`${$e}-down::before`]:{transition:`transform ${Re}`}},[`${ve}-wrap-open`]:{[`${$e}-down::before`]:{transform:"rotate(180deg)"}},"\n &-hidden,\n &-menu-hidden,\n &-menu-submenu-hidden\n ":{display:"none"},[`&${we}-slide-down-enter${we}-slide-down-enter-active${ve}-placement-bottomLeft, &${we}-slide-down-appear${we}-slide-down-appear-active${ve}-placement-bottomLeft, &${we}-slide-down-enter${we}-slide-down-enter-active${ve}-placement-bottom, &${we}-slide-down-appear${we}-slide-down-appear-active${ve}-placement-bottom, &${we}-slide-down-enter${we}-slide-down-enter-active${ve}-placement-bottomRight, &${we}-slide-down-appear${we}-slide-down-appear-active${ve}-placement-bottomRight`]:{animationName:y.fJ},[`&${we}-slide-up-enter${we}-slide-up-enter-active${ve}-placement-topLeft, &${we}-slide-up-appear${we}-slide-up-appear-active${ve}-placement-topLeft, &${we}-slide-up-enter${we}-slide-up-enter-active${ve}-placement-top, &${we}-slide-up-appear${we}-slide-up-appear-active${ve}-placement-top, &${we}-slide-up-enter${we}-slide-up-enter-active${ve}-placement-topRight, &${we}-slide-up-appear${we}-slide-up-appear-active${ve}-placement-topRight`]:{animationName:y.Qt},[`&${we}-slide-down-leave${we}-slide-down-leave-active${ve}-placement-bottomLeft, &${we}-slide-down-leave${we}-slide-down-leave-active${ve}-placement-bottom, &${we}-slide-down-leave${we}-slide-down-leave-active${ve}-placement-bottomRight`]:{animationName:y.Uw},[`&${we}-slide-up-leave${we}-slide-up-leave-active${ve}-placement-topLeft, &${we}-slide-up-leave${we}-slide-up-leave-active${ve}-placement-top, &${we}-slide-up-leave${we}-slide-up-leave-active${ve}-placement-topRight`]:{animationName:y.ly}}},(0,A.ZP)(J,V,{arrowPlacement:{top:!0,bottom:!0}}),{[`${ve} ${Ce}`]:{position:"relative",margin:0},[`${Ce}-submenu-popup`]:{position:"absolute",zIndex:be,background:"transparent",boxShadow:"none",transformOrigin:"0 0","ul, li":{listStyle:"none",margin:0}},[`${ve}, ${ve}-menu-submenu`]:Object.assign(Object.assign({},(0,f.Wf)(J)),{[Ce]:Object.assign(Object.assign({padding:Fe,listStyleType:"none",backgroundColor:V,backgroundClip:"padding-box",borderRadius:J.borderRadiusLG,outline:"none",boxShadow:J.boxShadowSecondary},(0,f.Qy)(J)),{"&:empty":{padding:0,boxShadow:"none"},[`${Ce}-item-group-title`]:{padding:`${(0,i.unit)(ge)} ${(0,i.unit)(Be)}`,color:J.colorTextDescription,transition:`all ${Re}`},[`${Ce}-item`]:{position:"relative",display:"flex",alignItems:"center"},[`${Ce}-item-icon`]:{minWidth:Ze,marginInlineEnd:J.marginXS,fontSize:J.fontSizeSM},[`${Ce}-title-content`]:{flex:"auto","&-with-extra":{display:"inline-flex",alignItems:"center",width:"100%"},"> a":{color:"inherit",transition:`all ${Re}`,"&:hover":{color:"inherit"},"&::after":{position:"absolute",inset:0,content:'""'}},[`${Ce}-item-extra`]:{paddingInlineStart:J.padding,marginInlineStart:"auto",fontSize:J.fontSizeSM,color:J.colorTextDescription}},[`${Ce}-item, ${Ce}-submenu-title`]:Object.assign(Object.assign({display:"flex",margin:0,padding:`${(0,i.unit)(ge)} ${(0,i.unit)(Be)}`,color:J.colorText,fontWeight:"normal",fontSize:Ze,lineHeight:J.lineHeight,cursor:"pointer",transition:`all ${Re}`,borderRadius:J.borderRadiusSM,"&:hover, &-active":{backgroundColor:J.controlItemBgHover}},(0,f.Qy)(J)),{"&-selected":{color:J.colorPrimary,backgroundColor:J.controlItemBgActive,"&:hover, &-active":{backgroundColor:J.controlItemBgActiveHover}},"&-disabled":{color:Te,cursor:"not-allowed","&:hover":{color:Te,backgroundColor:V,cursor:"not-allowed"},a:{pointerEvents:"none"}},"&-divider":{height:1,margin:`${(0,i.unit)(J.marginXXS)} 0`,overflow:"hidden",lineHeight:0,backgroundColor:J.colorSplit},[`${ve}-menu-submenu-expand-icon`]:{position:"absolute",insetInlineEnd:J.paddingXS,[`${ve}-menu-submenu-arrow-icon`]:{marginInlineEnd:"0 !important",color:J.colorTextDescription,fontSize:Ge,fontStyle:"normal"}}}),[`${Ce}-item-group-list`]:{margin:`0 ${(0,i.unit)(J.marginXS)}`,padding:0,listStyle:"none"},[`${Ce}-submenu-title`]:{paddingInlineEnd:J.calc(Be).add(J.fontSizeSM).equal()},[`${Ce}-submenu-vertical`]:{position:"relative"},[`${Ce}-submenu${Ce}-submenu-disabled ${ve}-menu-submenu-title`]:{[`&, ${ve}-menu-submenu-arrow-icon`]:{color:Te,backgroundColor:V,cursor:"not-allowed"}},[`${Ce}-submenu-selected ${ve}-menu-submenu-title`]:{color:J.colorPrimary}})})},[(0,y.oN)(J,"slide-up"),(0,y.oN)(J,"slide-down"),(0,b.Fm)(J,"move-up"),(0,b.Fm)(J,"move-down"),(0,x._y)(J,"zoom-big")]]},K=J=>Object.assign(Object.assign({zIndexPopup:J.zIndexPopupBase+50,paddingBlock:(J.controlHeight-J.fontSize*J.lineHeight)/2},(0,A.wZ)({contentRadius:J.borderRadiusLG,limitVerticalRadius:!0})),(0,w.w)(J));var F=(0,L.I$)("Dropdown",J=>{const{marginXXS:ve,sizePopupArrow:Ce,paddingXXS:be,componentCls:Ae}=J,Ue=(0,D.mergeToken)(J,{menuCls:`${Ae}-menu`,dropdownArrowDistance:J.calc(Ce).div(2).add(ve).equal(),dropdownEdgeChildPadding:be});return[I(Ue),N(Ue)]},K,{resetStyle:!1});const W=null,j=J=>{var ve;const{menu:Ce,arrow:be,prefixCls:Ae,children:Ue,trigger:we,disabled:$e,dropdownRender:Re,getPopupContainer:ge,overlayClassName:Ze,rootClassName:Fe,overlayStyle:Te,open:Ge,onOpenChange:Be,visible:V,onVisibleChange:q,mouseEnterDelay:re=.15,mouseLeaveDelay:ee=.1,autoAdjustOverflow:oe=!0,placement:$="",overlay:fe,transitionName:xe}=J,{getPopupContainer:ne,getPrefixCls:de,direction:ut,dropdown:Je}=h.useContext(u.E_),ht=(0,a.ln)("Dropdown"),vt=h.useMemo(()=>{const Wt=de();return xe!==void 0?xe:$.includes("top")?`${Wt}-slide-down`:`${Wt}-slide-up`},[de,$,xe]),qe=h.useMemo(()=>$?$.includes("Center")?$.slice(0,$.indexOf("Center")):$:ut==="rtl"?"bottomRight":"bottomLeft",[$,ut]),ft=de("dropdown",Ae),Ke=(0,s.Z)(ft),[Oe,Ye,rt]=F(ft,Ke),[,yt]=(0,t.ZP)(),Et=h.Children.only(o(Ue)?h.createElement("span",null,Ue):Ue),cn=(0,n.Tm)(Et,{className:B()(`${ft}-trigger`,{[`${ft}-rtl`]:ut==="rtl"},Et.props.className),disabled:(ve=Et.props.disabled)!==null&&ve!==void 0?ve:$e}),Jt=$e?[]:we,zt=!!(Jt!=null&&Jt.includes("contextMenu")),[vn,Fn]=(0,m.Z)(!1,{value:Ge!=null?Ge:V}),tn=(0,p.Z)(Wt=>{Be==null||Be(Wt,{source:"trigger"}),q==null||q(Wt),Fn(Wt)}),Pn=B()(Ze,Fe,Ye,rt,Ke,Je==null?void 0:Je.className,{[`${ft}-rtl`]:ut==="rtl"}),qt=(0,g.Z)({arrowPointAtCenter:typeof be=="object"&&be.pointAtCenter,autoAdjustOverflow:oe,offset:yt.marginXXS,arrowWidth:be?yt.sizePopupArrow:0,borderRadius:yt.borderRadius}),jt=h.useCallback(()=>{Ce!=null&&Ce.selectable&&(Ce!=null&&Ce.multiple)||(Be==null||Be(!1,{source:"menu"}),Fn(!1))},[Ce==null?void 0:Ce.selectable,Ce==null?void 0:Ce.multiple]),kt=()=>{let Wt;return Ce!=null&&Ce.items?Wt=h.createElement(v.default,Object.assign({},Ce)):typeof fe=="function"?Wt=fe():Wt=fe,Re&&(Wt=Re(Wt)),Wt=h.Children.only(typeof Wt=="string"?h.createElement("span",null,Wt):Wt),h.createElement(e.J,{prefixCls:`${ft}-menu`,rootClassName:B()(rt,Ke),expandIcon:h.createElement("span",{className:`${ft}-menu-submenu-arrow`},ut==="rtl"?h.createElement(k.Z,{className:`${ft}-menu-submenu-arrow-icon`}):h.createElement(P.Z,{className:`${ft}-menu-submenu-arrow-icon`})),mode:"vertical",selectable:!1,onClick:jt,validator:Xt=>{let{mode:_n}=Xt}},Wt)},[rn,It]=(0,d.Cn)("Dropdown",Te==null?void 0:Te.zIndex);let Bt=h.createElement(C.Z,Object.assign({alignPoint:zt},(0,E.Z)(J,["rootClassName"]),{mouseEnterDelay:re,mouseLeaveDelay:ee,visible:vn,builtinPlacements:qt,arrow:!!be,overlayClassName:Pn,prefixCls:ft,getPopupContainer:ge||ne,transitionName:vt,trigger:Jt,overlay:kt,placement:qe,onVisibleChange:tn,overlayStyle:Object.assign(Object.assign(Object.assign({},Je==null?void 0:Je.style),Te),{zIndex:rn})}),cn);return rn&&(Bt=h.createElement(c.Z.Provider,{value:It},Bt)),Oe(Bt)},X=(0,r.Z)(j,"align",void 0,"dropdown",J=>J),Y=J=>h.createElement(X,Object.assign({},J),h.createElement("span",null));j._InternalPanelDoNotUseOrYouWillBeFired=Y;var le=j},75727:function(Ln,pt,M){"use strict";M.d(pt,{Z:function(){return r}});var h=M(19563),k=M(59301),P=M(18785),_=M(92310),B=M.n(_),C=M(7939),p=M(48755),m=M(44104),E=M(70045),d=function(n,a){var c={};for(var u in n)Object.prototype.hasOwnProperty.call(n,u)&&a.indexOf(u)<0&&(c[u]=n[u]);if(n!=null&&typeof Object.getOwnPropertySymbols=="function")for(var s=0,u=Object.getOwnPropertySymbols(n);s{const{getPopupContainer:a,getPrefixCls:c,direction:u}=k.useContext(p.E_),{prefixCls:s,type:v="default",danger:e,disabled:t,loading:i,onClick:f,htmlType:y,children:b,className:x,menu:A,arrow:w,autoFocus:L,overlay:D,trigger:O,align:N,open:I,onOpenChange:K,placement:F,getPopupContainer:W,href:j,icon:X=k.createElement(P.Z,null),title:Y,buttonsRender:le=re=>re,mouseEnterDelay:J,mouseLeaveDelay:ve,overlayClassName:Ce,overlayStyle:be,destroyPopupOnHide:Ae,dropdownRender:Ue}=n,we=d(n,["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"]),$e=c("dropdown",s),Re=`${$e}-button`,ge={menu:A,arrow:w,autoFocus:L,align:N,disabled:t,trigger:t?[]:O,onOpenChange:K,getPopupContainer:W||a,mouseEnterDelay:J,mouseLeaveDelay:ve,overlayClassName:Ce,overlayStyle:be,destroyPopupOnHide:Ae,dropdownRender:Ue},{compactSize:Ze,compactItemClassnames:Fe}=(0,E.ri)($e,u),Te=B()(Re,Fe,x);"overlay"in n&&(ge.overlay=D),"open"in n&&(ge.open=I),"placement"in n?ge.placement=F:ge.placement=u==="rtl"?"bottomLeft":"bottomRight";const Ge=k.createElement(C.ZP,{type:v,danger:e,disabled:t,loading:i,onClick:f,htmlType:y,href:j,title:Y},b),Be=k.createElement(C.ZP,{type:v,danger:e,icon:X}),[V,q]=le([Ge,Be]);return k.createElement(m.Z.Compact,Object.assign({className:Te,size:Ze,block:!0},we),V,k.createElement(h.Z,Object.assign({},ge),q))};l.__ANT_BUTTON=!0;var o=l;const g=h.Z;g.Button=o;var r=g},584:function(Ln,pt,M){"use strict";M.d(pt,{Z:function(){return v}});var h=M(59301),k=M(92310),P=M.n(k),_=M(9017),B=M(17835),C=M(57700),m=()=>{const[,e]=(0,C.ZP)(),[t]=(0,_.Z)("Empty"),f=new B.FastColor(e.colorBgBase).toHsl().l<.5?{opacity:.65}:{};return h.createElement("svg",{style:f,width:"184",height:"152",viewBox:"0 0 184 152",xmlns:"http://www.w3.org/2000/svg"},h.createElement("title",null,(t==null?void 0:t.description)||"Empty"),h.createElement("g",{fill:"none",fillRule:"evenodd"},h.createElement("g",{transform:"translate(24 31.67)"},h.createElement("ellipse",{fillOpacity:".8",fill:"#F5F5F7",cx:"67.797",cy:"106.89",rx:"67.797",ry:"12.668"}),h.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"}),h.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)"}),h.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"}),h.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"})),h.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"}),h.createElement("g",{transform:"translate(149.65 15.383)",fill:"#FFF"},h.createElement("ellipse",{cx:"20.654",cy:"3.167",rx:"2.849",ry:"2.815"}),h.createElement("path",{d:"M5.698 5.63H0L2.898.704zM9.259.704h4.985V5.63H9.259z"}))))},d=()=>{const[,e]=(0,C.ZP)(),[t]=(0,_.Z)("Empty"),{colorFill:i,colorFillTertiary:f,colorFillQuaternary:y,colorBgContainer:b}=e,{borderColor:x,shadowColor:A,contentColor:w}=(0,h.useMemo)(()=>({borderColor:new B.FastColor(i).onBackground(b).toHexString(),shadowColor:new B.FastColor(f).onBackground(b).toHexString(),contentColor:new B.FastColor(y).onBackground(b).toHexString()}),[i,f,y,b]);return h.createElement("svg",{width:"64",height:"41",viewBox:"0 0 64 41",xmlns:"http://www.w3.org/2000/svg"},h.createElement("title",null,(t==null?void 0:t.description)||"Empty"),h.createElement("g",{transform:"translate(0 1)",fill:"none",fillRule:"evenodd"},h.createElement("ellipse",{fill:A,cx:"32",cy:"33",rx:"32",ry:"7"}),h.createElement("g",{fillRule:"nonzero",stroke:x},h.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"}),h.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:w}))))},l=M(16931),o=M(51636);const g=e=>{const{componentCls:t,margin:i,marginXS:f,marginXL:y,fontSize:b,lineHeight:x}=e;return{[t]:{marginInline:f,fontSize:b,lineHeight:x,textAlign:"center",[`${t}-image`]:{height:e.emptyImgHeight,marginBottom:f,opacity:e.opacityImage,img:{height:"100%"},svg:{maxWidth:"100%",height:"100%",margin:"auto"}},[`${t}-description`]:{color:e.colorTextDescription},[`${t}-footer`]:{marginTop:i},"&-normal":{marginBlock:y,color:e.colorTextDescription,[`${t}-description`]:{color:e.colorTextDescription},[`${t}-image`]:{height:e.emptyImgHeightMD}},"&-small":{marginBlock:f,color:e.colorTextDescription,[`${t}-image`]:{height:e.emptyImgHeightSM}}}}};var r=(0,l.I$)("Empty",e=>{const{componentCls:t,controlHeightLG:i,calc:f}=e,y=(0,o.mergeToken)(e,{emptyImgCls:`${t}-img`,emptyImgHeight:f(i).mul(2.5).equal(),emptyImgHeightMD:i,emptyImgHeightSM:f(i).mul(.875).equal()});return[g(y)]}),n=M(48755),a=function(e,t){var i={};for(var f in e)Object.prototype.hasOwnProperty.call(e,f)&&t.indexOf(f)<0&&(i[f]=e[f]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var y=0,f=Object.getOwnPropertySymbols(e);y{const{className:t,rootClassName:i,prefixCls:f,image:y=c,description:b,children:x,imageStyle:A,style:w,classNames:L,styles:D}=e,O=a(e,["className","rootClassName","prefixCls","image","description","children","imageStyle","style","classNames","styles"]),{getPrefixCls:N,direction:I,className:K,style:F,classNames:W,styles:j}=(0,n.dj)("empty"),X=N("empty",f),[Y,le,J]=r(X),[ve]=(0,_.Z)("Empty"),Ce=typeof b!="undefined"?b:ve==null?void 0:ve.description,be=typeof Ce=="string"?Ce:"empty";let Ae=null;return typeof y=="string"?Ae=h.createElement("img",{alt:be,src:y}):Ae=y,Y(h.createElement("div",Object.assign({className:P()(le,J,X,K,{[`${X}-normal`]:y===u,[`${X}-rtl`]:I==="rtl"},t,i,W.root,L==null?void 0:L.root),style:Object.assign(Object.assign(Object.assign(Object.assign({},j.root),F),D==null?void 0:D.root),w)},O),h.createElement("div",{className:P()(`${X}-image`,W.image,L==null?void 0:L.image),style:Object.assign(Object.assign(Object.assign({},A),j.image),D==null?void 0:D.image)},Ae),Ce&&h.createElement("div",{className:P()(`${X}-description`,W.description,L==null?void 0:L.description),style:Object.assign(Object.assign({},j.description),D==null?void 0:D.description)},Ce),x&&h.createElement("div",{className:P()(`${X}-footer`,W.footer,L==null?void 0:L.footer),style:Object.assign(Object.assign({},j.footer),D==null?void 0:D.footer)},x)))};s.PRESENTED_IMAGE_DEFAULT=c,s.PRESENTED_IMAGE_SIMPLE=u;var v=s},28284:function(Ln,pt,M){"use strict";M.d(pt,{default:function(){return Ne}});var h=M(56553),k=M(94480),P=M(59301),_=M(92310),B=M.n(_),C=M(77900),p=M(86641),m=M(83397);function E(Ee){const[Le,Pe]=P.useState(Ee);return P.useEffect(()=>{const We=setTimeout(()=>{Pe(Ee)},Ee.length?0:10);return()=>{clearTimeout(We)}},[Ee]),Le}var d=M(36237),l=M(63356),o=M(34925),g=M(34961),r=M(51636),n=M(16931),c=Ee=>{const{componentCls:Le}=Ee,Pe=`${Le}-show-help`,We=`${Le}-show-help-item`;return{[Pe]:{transition:`opacity ${Ee.motionDurationFast} ${Ee.motionEaseInOut}`,"&-appear, &-enter":{opacity:0,"&-active":{opacity:1}},"&-leave":{opacity:1,"&-active":{opacity:0}},[We]:{overflow:"hidden",transition:`height ${Ee.motionDurationFast} ${Ee.motionEaseInOut}, opacity ${Ee.motionDurationFast} ${Ee.motionEaseInOut}, transform ${Ee.motionDurationFast} ${Ee.motionEaseInOut} !important`,[`&${We}-appear, &${We}-enter`]:{transform:"translateY(-5px)",opacity:0,"&-active":{transform:"translateY(0)",opacity:1}},[`&${We}-leave-active`]:{transform:"translateY(-5px)"}}}}};const u=Ee=>({legend:{display:"block",width:"100%",marginBottom:Ee.marginLG,padding:0,color:Ee.colorTextDescription,fontSize:Ee.fontSizeLG,lineHeight:"inherit",border:0,borderBottom:`${(0,d.unit)(Ee.lineWidth)} ${Ee.lineType} ${Ee.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,d.unit)(Ee.controlOutlineWidth)} ${Ee.controlOutline}`},output:{display:"block",paddingTop:15,color:Ee.colorText,fontSize:Ee.fontSize,lineHeight:Ee.lineHeight}}),s=(Ee,Le)=>{const{formItemCls:Pe}=Ee;return{[Pe]:{[`${Pe}-label > label`]:{height:Le},[`${Pe}-control-input`]:{minHeight:Le}}}},v=Ee=>{const{componentCls:Le}=Ee;return{[Ee.componentCls]:Object.assign(Object.assign(Object.assign({},(0,l.Wf)(Ee)),u(Ee)),{[`${Le}-text`]:{display:"inline-block",paddingInlineEnd:Ee.paddingSM},"&-small":Object.assign({},s(Ee,Ee.controlHeightSM)),"&-large":Object.assign({},s(Ee,Ee.controlHeightLG))})}},e=Ee=>{const{formItemCls:Le,iconCls:Pe,rootPrefixCls:We,antCls:he,labelRequiredMarkColor:Ve,labelColor:tt,labelFontSize:me,labelHeight:ye,labelColonMarginInlineStart:_e,labelColonMarginInlineEnd:ke,itemMarginBottom:De}=Ee;return{[Le]:Object.assign(Object.assign({},(0,l.Wf)(Ee)),{marginBottom:De,verticalAlign:"top","&-with-help":{transition:"none"},[`&-hidden, &-hidden${he}-row`]:{display:"none"},"&-has-warning":{[`${Le}-split`]:{color:Ee.colorError}},"&-has-error":{[`${Le}-split`]:{color:Ee.colorWarning}},[`${Le}-label`]:{flexGrow:0,overflow:"hidden",whiteSpace:"nowrap",textAlign:"end",verticalAlign:"middle","&-left":{textAlign:"start"},"&-wrap":{overflow:"unset",lineHeight:Ee.lineHeight,whiteSpace:"unset"},"> label":{position:"relative",display:"inline-flex",alignItems:"center",maxWidth:"100%",height:ye,color:tt,fontSize:me,[`> ${Pe}`]:{fontSize:Ee.fontSize,verticalAlign:"top"},[`&${Le}-required`]:{"&::before":{display:"inline-block",marginInlineEnd:Ee.marginXXS,color:Ve,fontSize:Ee.fontSize,fontFamily:"SimSun, sans-serif",lineHeight:1,content:'"*"'},[`&${Le}-required-mark-hidden, &${Le}-required-mark-optional`]:{"&::before":{display:"none"}}},[`${Le}-optional`]:{display:"inline-block",marginInlineStart:Ee.marginXXS,color:Ee.colorTextDescription,[`&${Le}-required-mark-hidden`]:{display:"none"}},[`${Le}-tooltip`]:{color:Ee.colorTextDescription,cursor:"help",writingMode:"horizontal-tb",marginInlineStart:Ee.marginXXS},"&::after":{content:'":"',position:"relative",marginBlock:0,marginInlineStart:_e,marginInlineEnd:ke},[`&${Le}-no-colon::after`]:{content:'"\\a0"'}}},[`${Le}-control`]:{"--ant-display":"flex",flexDirection:"column",flexGrow:1,[`&:first-child:not([class^="'${We}-col-'"]):not([class*="' ${We}-col-'"])`]:{width:"100%"},"&-input":{position:"relative",display:"flex",alignItems:"center",minHeight:Ee.controlHeight,"&-content":{flex:"auto",maxWidth:"100%"}}},[Le]:{"&-additional":{display:"flex",flexDirection:"column"},"&-explain, &-extra":{clear:"both",color:Ee.colorTextDescription,fontSize:Ee.fontSize,lineHeight:Ee.lineHeight},"&-explain-connected":{width:"100%"},"&-extra":{minHeight:Ee.controlHeightSM,transition:`color ${Ee.motionDurationMid} ${Ee.motionEaseOut}`},"&-explain":{"&-error":{color:Ee.colorError},"&-warning":{color:Ee.colorWarning}}},[`&-with-help ${Le}-explain`]:{height:"auto",opacity:1},[`${Le}-feedback-icon`]:{fontSize:Ee.fontSize,textAlign:"center",visibility:"visible",animationName:o.kr,animationDuration:Ee.motionDurationMid,animationTimingFunction:Ee.motionEaseOutBack,pointerEvents:"none","&-success":{color:Ee.colorSuccess},"&-error":{color:Ee.colorError},"&-warning":{color:Ee.colorWarning},"&-validating":{color:Ee.colorPrimary}}})}},t=(Ee,Le)=>{const{formItemCls:Pe}=Ee;return{[`${Le}-horizontal`]:{[`${Pe}-label`]:{flexGrow:0},[`${Pe}-control`]:{flex:"1 1 0",minWidth:0},[`${Pe}-label[class$='-24'], ${Pe}-label[class*='-24 ']`]:{[`& + ${Pe}-control`]:{minWidth:"unset"}}}}},i=Ee=>{const{componentCls:Le,formItemCls:Pe,inlineItemMarginBottom:We}=Ee;return{[`${Le}-inline`]:{display:"flex",flexWrap:"wrap",[Pe]:{flex:"none",marginInlineEnd:Ee.margin,marginBottom:We,"&-row":{flexWrap:"nowrap"},[`> ${Pe}-label, > ${Pe}-control`]:{display:"inline-block",verticalAlign:"top"},[`> ${Pe}-label`]:{flex:"none"},[`${Le}-text`]:{display:"inline-block"},[`${Pe}-has-feedback`]:{display:"inline-block"}}}}},f=Ee=>({padding:Ee.verticalLabelPadding,margin:Ee.verticalLabelMargin,whiteSpace:"initial",textAlign:"start","> label":{margin:0,"&::after":{visibility:"hidden"}}}),y=Ee=>{const{componentCls:Le,formItemCls:Pe,rootPrefixCls:We}=Ee;return{[`${Pe} ${Pe}-label`]:f(Ee),[`${Le}:not(${Le}-inline)`]:{[Pe]:{flexWrap:"wrap",[`${Pe}-label, ${Pe}-control`]:{[`&:not([class*=" ${We}-col-xs"])`]:{flex:"0 0 100%",maxWidth:"100%"}}}}}},b=Ee=>{const{componentCls:Le,formItemCls:Pe,antCls:We}=Ee;return{[`${Le}-vertical`]:{[`${Pe}:not(${Pe}-horizontal)`]:{[`${Pe}-row`]:{flexDirection:"column"},[`${Pe}-label > label`]:{height:"auto"},[`${Pe}-control`]:{width:"100%"},[`${Pe}-label, ${We}-col-24${Pe}-label, ${We}-col-xl-24${Pe}-label`]:f(Ee)}},[`@media (max-width: ${(0,d.unit)(Ee.screenXSMax)})`]:[y(Ee),{[Le]:{[`${Pe}:not(${Pe}-horizontal)`]:{[`${We}-col-xs-24${Pe}-label`]:f(Ee)}}}],[`@media (max-width: ${(0,d.unit)(Ee.screenSMMax)})`]:{[Le]:{[`${Pe}:not(${Pe}-horizontal)`]:{[`${We}-col-sm-24${Pe}-label`]:f(Ee)}}},[`@media (max-width: ${(0,d.unit)(Ee.screenMDMax)})`]:{[Le]:{[`${Pe}:not(${Pe}-horizontal)`]:{[`${We}-col-md-24${Pe}-label`]:f(Ee)}}},[`@media (max-width: ${(0,d.unit)(Ee.screenLGMax)})`]:{[Le]:{[`${Pe}:not(${Pe}-horizontal)`]:{[`${We}-col-lg-24${Pe}-label`]:f(Ee)}}}}},x=Ee=>{const{formItemCls:Le,antCls:Pe}=Ee;return{[`${Le}-vertical`]:{[`${Le}-row`]:{flexDirection:"column"},[`${Le}-label > label`]:{height:"auto"},[`${Le}-control`]:{width:"100%"}},[`${Le}-vertical ${Le}-label, ${Pe}-col-24${Le}-label, ${Pe}-col-xl-24${Le}-label`]:f(Ee),[`@media (max-width: ${(0,d.unit)(Ee.screenXSMax)})`]:[y(Ee),{[Le]:{[`${Pe}-col-xs-24${Le}-label`]:f(Ee)}}],[`@media (max-width: ${(0,d.unit)(Ee.screenSMMax)})`]:{[Le]:{[`${Pe}-col-sm-24${Le}-label`]:f(Ee)}},[`@media (max-width: ${(0,d.unit)(Ee.screenMDMax)})`]:{[Le]:{[`${Pe}-col-md-24${Le}-label`]:f(Ee)}},[`@media (max-width: ${(0,d.unit)(Ee.screenLGMax)})`]:{[Le]:{[`${Pe}-col-lg-24${Le}-label`]:f(Ee)}}}},A=Ee=>({labelRequiredMarkColor:Ee.colorError,labelColor:Ee.colorTextHeading,labelFontSize:Ee.fontSize,labelHeight:Ee.controlHeight,labelColonMarginInlineStart:Ee.marginXXS/2,labelColonMarginInlineEnd:Ee.marginXS,itemMarginBottom:Ee.marginLG,verticalLabelPadding:`0 0 ${Ee.paddingXS}px`,verticalLabelMargin:0,inlineItemMarginBottom:0}),w=(Ee,Le)=>(0,r.mergeToken)(Ee,{formItemCls:`${Ee.componentCls}-item`,rootPrefixCls:Le});var L=(0,n.I$)("Form",(Ee,Le)=>{let{rootPrefixCls:Pe}=Le;const We=w(Ee,Pe);return[v(We),e(We),c(We),t(We,We.componentCls),t(We,We.formItemCls),i(We),b(We),x(We),(0,g.Z)(We),o.kr]},A,{order:-1e3});const D=[];function O(Ee,Le,Pe){let We=arguments.length>3&&arguments[3]!==void 0?arguments[3]:0;return{key:typeof Ee=="string"?Ee:`${Le}-${We}`,error:Ee,errorStatus:Pe}}var I=Ee=>{let{help:Le,helpStatus:Pe,errors:We=D,warnings:he=D,className:Ve,fieldId:tt,onVisibleChanged:me}=Ee;const{prefixCls:ye}=P.useContext(h.Rk),_e=`${ye}-item-explain`,ke=(0,m.Z)(ye),[De,ct,At]=L(ye,ke),Pt=P.useMemo(()=>(0,p.Z)(ye),[ye]),Yt=E(We),sn=E(he),wn=P.useMemo(()=>Le!=null?[O(Le,"help",Pe)]:[].concat((0,k.Z)(Yt.map((fn,pn)=>O(fn,"error","error",pn))),(0,k.Z)(sn.map((fn,pn)=>O(fn,"warning","warning",pn)))),[Le,Pe,Yt,sn]),En=P.useMemo(()=>{const fn={};return wn.forEach(pn=>{let{key:Lt}=pn;fn[Lt]=(fn[Lt]||0)+1}),wn.map((pn,Lt)=>Object.assign(Object.assign({},pn),{key:fn[pn.key]>1?`${pn.key}-fallback-${Lt}`:pn.key}))},[wn]),nn={};return tt&&(nn.id=`${tt}_help`),De(P.createElement(C.default,{motionDeadline:Pt.motionDeadline,motionName:`${ye}-show-help`,visible:!!En.length,onVisibleChanged:me},fn=>{const{className:pn,style:Lt}=fn;return P.createElement("div",Object.assign({},nn,{className:B()(_e,pn,At,ke,Ve,ct),style:Lt}),P.createElement(C.CSSMotionList,Object.assign({keys:En},(0,p.Z)(ye),{motionName:`${ye}-show-help-item`,component:!1}),Mn=>{const{key:Zn,error:bn,errorStatus:Wn,className:qn,style:Cr}=Mn;return P.createElement("div",{key:Zn,className:B()(qn,{[`${_e}-${Wn}`]:Wn}),style:Cr},bn)}))}))},K=M(22001),F=M(48755),W=M(2171),j=M(31756),X=M(23069),Y=M(76846),le=M(16722);const J=["parentNode"],ve="form_item";function Ce(Ee){return Ee===void 0||Ee===!1?[]:Array.isArray(Ee)?Ee:[Ee]}function be(Ee,Le){if(!Ee.length)return;const Pe=Ee.join("_");return Le?`${Le}_${Pe}`:J.includes(Pe)?`${ve}_${Pe}`:Pe}function Ae(Ee,Le,Pe,We,he,Ve){let tt=We;return Ve!==void 0?tt=Ve:Pe.validating?tt="validating":Ee.length?tt="error":Le.length?tt="warning":(Pe.touched||he&&Pe.validated)&&(tt="success"),tt}var Ue=function(Ee,Le){var Pe={};for(var We in Ee)Object.prototype.hasOwnProperty.call(Ee,We)&&Le.indexOf(We)<0&&(Pe[We]=Ee[We]);if(Ee!=null&&typeof Object.getOwnPropertySymbols=="function")for(var he=0,We=Object.getOwnPropertySymbols(Ee);heEe!=null?Ee:Object.assign(Object.assign({},Le),{__INTERNAL__:{itemRef:he=>Ve=>{const tt=we(he);Ve?Pe.current[tt]=Ve:delete Pe.current[tt]}},scrollToField:function(he){let Ve=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const{focus:tt}=Ve,me=Ue(Ve,["focus"]),ye=$e(he,We);ye&&((0,le.Z)(ye,Object.assign({scrollMode:"if-needed",block:"nearest"},me)),tt&&We.focusField(he))},focusField:he=>{var Ve,tt;const me=We.getFieldInstance(he);typeof(me==null?void 0:me.focus)=="function"?me.focus():(tt=(Ve=$e(he,We))===null||Ve===void 0?void 0:Ve.focus)===null||tt===void 0||tt.call(Ve)},getFieldInstance:he=>{const Ve=we(he);return Pe.current[Ve]}}),[Ee,Le]);return[We]}var ge=M(98350),Ze=function(Ee,Le){var Pe={};for(var We in Ee)Object.prototype.hasOwnProperty.call(Ee,We)&&Le.indexOf(We)<0&&(Pe[We]=Ee[We]);if(Ee!=null&&typeof Object.getOwnPropertySymbols=="function")for(var he=0,We=Object.getOwnPropertySymbols(Ee);he{const Pe=P.useContext(W.Z),{getPrefixCls:We,direction:he,requiredMark:Ve,colon:tt,scrollToFirstError:me,className:ye,style:_e}=(0,F.dj)("form"),{prefixCls:ke,className:De,rootClassName:ct,size:At,disabled:Pt=Pe,form:Yt,colon:sn,labelAlign:wn,labelWrap:En,labelCol:nn,wrapperCol:fn,hideRequiredMark:pn,layout:Lt="horizontal",scrollToFirstError:Mn,requiredMark:Zn,onFinishFailed:bn,name:Wn,style:qn,feedbackIcons:Cr,variant:ur}=Ee,Bn=Ze(Ee,["prefixCls","className","rootClassName","size","disabled","form","colon","labelAlign","labelWrap","labelCol","wrapperCol","hideRequiredMark","layout","scrollToFirstError","requiredMark","onFinishFailed","name","style","feedbackIcons","variant"]),ar=(0,j.Z)(At),pr=P.useContext(ge.Z),nr=P.useMemo(()=>Zn!==void 0?Zn:pn?!1:Ve!==void 0?Ve:!0,[pn,Zn,Ve]),er=sn!=null?sn:tt,Yn=We("form",ke),St=(0,m.Z)(Yn),[Pr,Xr,Ir]=L(Yn,St),Hr=B()(Yn,`${Yn}-${Lt}`,{[`${Yn}-hide-required-mark`]:nr===!1,[`${Yn}-rtl`]:he==="rtl",[`${Yn}-${ar}`]:ar},Ir,St,Xr,ye,De,ct),[Fr]=Re(Yt),{__INTERNAL__:$r}=Fr;$r.name=Wn;const rr=P.useMemo(()=>({name:Wn,labelAlign:wn,labelCol:nn,labelWrap:En,wrapperCol:fn,vertical:Lt==="vertical",colon:er,requiredMark:nr,itemRef:$r.itemRef,form:Fr,feedbackIcons:Cr}),[Wn,wn,nn,fn,Lt,er,nr,Fr,Cr]),tr=P.useRef(null);P.useImperativeHandle(Le,()=>{var hn;return Object.assign(Object.assign({},Fr),{nativeElement:(hn=tr.current)===null||hn===void 0?void 0:hn.nativeElement})});const Nn=(hn,Gn)=>{if(hn){let Vn={block:"nearest"};typeof hn=="object"&&(Vn=Object.assign(Object.assign({},Vn),hn)),Fr.scrollToField(Gn,Vn)}},Ft=hn=>{if(bn==null||bn(hn),hn.errorFields.length){const Gn=hn.errorFields[0].name;if(Mn!==void 0){Nn(Mn,Gn);return}me!==void 0&&Nn(me,Gn)}};return Pr(P.createElement(h.pg.Provider,{value:ur},P.createElement(W.n,{disabled:Pt},P.createElement(X.Z.Provider,{value:ar},P.createElement(h.RV,{validateMessages:pr},P.createElement(h.q3.Provider,{value:rr},P.createElement(K.default,Object.assign({id:Wn},Bn,{name:Wn,onFinishFailed:Ft,form:Fr,ref:tr,style:Object.assign(Object.assign({},_e),qn),className:Hr}))))))))};var Ge=P.forwardRef(Fe),Be=M(41799),V=M(8654),q=M(22703),re=M(32383),ee=M(11592);function oe(Ee){if(typeof Ee=="function")return Ee;const Le=(0,ee.Z)(Ee);return Le.length<=1?Le[0]:Le}const $=()=>{const{status:Ee,errors:Le=[],warnings:Pe=[]}=P.useContext(h.aM);return{status:Ee,errors:Le,warnings:Pe}};$.Context=h.aM;var fe=$,xe=M(16089);function ne(Ee){const[Le,Pe]=P.useState(Ee),We=P.useRef(null),he=P.useRef([]),Ve=P.useRef(!1);P.useEffect(()=>(Ve.current=!1,()=>{Ve.current=!0,xe.Z.cancel(We.current),We.current=null}),[]);function tt(me){Ve.current||(We.current===null&&(he.current=[],We.current=(0,xe.Z)(()=>{We.current=null,Pe(ye=>{let _e=ye;return he.current.forEach(ke=>{_e=ke(_e)}),_e})})),he.current.push(me))}return[Le,tt]}function de(){const{itemRef:Ee}=P.useContext(h.q3),Le=P.useRef({});function Pe(We,he){const Ve=he&&typeof he=="object"&&(0,V.C4)(he),tt=We.join("_");return(Le.current.name!==tt||Le.current.originRef!==Ve)&&(Le.current.name=tt,Le.current.originRef=Ve,Le.current.ref=(0,V.sQ)(Ee(We),Ve)),Le.current.ref}return Pe}var ut=M(29194),Je=M(34280),ht=M(2738),vt=M(65970),qe=M(70425),ft=M(5472);const Ke=Ee=>{const{formItemCls:Le}=Ee;return{"@media screen and (-ms-high-contrast: active), (-ms-high-contrast: none)":{[`${Le}-control`]:{display:"flex"}}}};var Oe=(0,n.bk)(["Form","item-item"],(Ee,Le)=>{let{rootPrefixCls:Pe}=Le;const We=w(Ee,Pe);return[Ke(We)]}),Ye=function(Ee,Le){var Pe={};for(var We in Ee)Object.prototype.hasOwnProperty.call(Ee,We)&&Le.indexOf(We)<0&&(Pe[We]=Ee[We]);if(Ee!=null&&typeof Object.getOwnPropertySymbols=="function")for(var he=0,We=Object.getOwnPropertySymbols(Ee);he{const{prefixCls:Le,status:Pe,labelCol:We,wrapperCol:he,children:Ve,errors:tt,warnings:me,_internalItemRender:ye,extra:_e,help:ke,fieldId:De,marginBottom:ct,onErrorVisibleChanged:At,label:Pt}=Ee,Yt=`${Le}-item`,sn=P.useContext(h.q3),wn=P.useMemo(()=>{let Bn=Object.assign({},he||sn.wrapperCol||{});return Pt===null&&!We&&!he&&sn.labelCol&&[void 0,"xs","sm","md","lg","xl","xxl"].forEach(pr=>{const nr=pr?[pr]:[],er=(0,qe.U2)(sn.labelCol,nr),Yn=typeof er=="object"?er:{},St=(0,qe.U2)(Bn,nr),Pr=typeof St=="object"?St:{};"span"in Yn&&!("offset"in Pr)&&Yn.span{const{labelCol:Bn,wrapperCol:ar}=sn;return Ye(sn,["labelCol","wrapperCol"])},[sn]),fn=P.useRef(null),[pn,Lt]=P.useState(0);(0,Je.Z)(()=>{_e&&fn.current?Lt(fn.current.clientHeight):Lt(0)},[_e]);const Mn=P.createElement("div",{className:`${Yt}-control-input`},P.createElement("div",{className:`${Yt}-control-input-content`},Ve)),Zn=P.useMemo(()=>({prefixCls:Le,status:Pe}),[Le,Pe]),bn=ct!==null||tt.length||me.length?P.createElement(h.Rk.Provider,{value:Zn},P.createElement(I,{fieldId:De,errors:tt,warnings:me,help:ke,helpStatus:Pe,className:`${Yt}-explain-connected`,onVisibleChanged:At})):null,Wn={};De&&(Wn.id=`${De}_extra`);const qn=_e?P.createElement("div",Object.assign({},Wn,{className:`${Yt}-extra`,ref:fn}),_e):null,Cr=bn||qn?P.createElement("div",{className:`${Yt}-additional`,style:ct?{minHeight:ct+pn}:{}},bn,qn):null,ur=ye&&ye.mark==="pro_table_render"&&ye.render?ye.render(Ee,{input:Mn,errorList:bn,extra:qn}):P.createElement(P.Fragment,null,Mn,Cr);return P.createElement(h.q3.Provider,{value:nn},P.createElement(ft.Z,Object.assign({},wn,{className:En}),ur),P.createElement(Oe,{prefixCls:Le}))},cn=M(61485),Jt=M(9017),zt=M(85981),vn=M(25399),Fn=function(Ee,Le){var Pe={};for(var We in Ee)Object.prototype.hasOwnProperty.call(Ee,We)&&Le.indexOf(We)<0&&(Pe[We]=Ee[We]);if(Ee!=null&&typeof Object.getOwnPropertySymbols=="function")for(var he=0,We=Object.getOwnPropertySymbols(Ee);he{let{prefixCls:Le,label:Pe,htmlFor:We,labelCol:he,labelAlign:Ve,colon:tt,required:me,requiredMark:ye,tooltip:_e,vertical:ke}=Ee;var De;const[ct]=(0,Jt.Z)("Form"),{labelAlign:At,labelCol:Pt,labelWrap:Yt,colon:sn}=P.useContext(h.q3);if(!Pe)return null;const wn=he||Pt||{},En=Ve||At,nn=`${Le}-item-label`,fn=B()(nn,En==="left"&&`${nn}-left`,wn.className,{[`${nn}-wrap`]:!!Yt});let pn=Pe;const Lt=tt===!0||sn!==!1&&tt!==!1;Lt&&!ke&&typeof Pe=="string"&&Pe.trim()&&(pn=Pe.replace(/[:|:]\s*$/,""));const Zn=tn(_e);if(Zn){const{icon:Bn=P.createElement(cn.Z,null)}=Zn,ar=Fn(Zn,["icon"]),pr=P.createElement(vn.Z,Object.assign({},ar),P.cloneElement(Bn,{className:`${Le}-item-tooltip`,title:"",onClick:nr=>{nr.preventDefault()},tabIndex:null}));pn=P.createElement(P.Fragment,null,pn,pr)}const bn=ye==="optional",Wn=typeof ye=="function",qn=ye===!1;Wn?pn=ye(pn,{required:!!me}):bn&&!me&&(pn=P.createElement(P.Fragment,null,pn,P.createElement("span",{className:`${Le}-item-optional`,title:""},(ct==null?void 0:ct.optional)||((De=zt.Z.Form)===null||De===void 0?void 0:De.optional))));let Cr;qn?Cr="hidden":(bn||Wn)&&(Cr="optional");const ur=B()({[`${Le}-item-required`]:me,[`${Le}-item-required-mark-${Cr}`]:Cr,[`${Le}-item-no-colon`]:!Lt});return P.createElement(ft.Z,Object.assign({},wn,{className:fn}),P.createElement("label",{htmlFor:We,className:ur,title:typeof Pe=="string"?Pe:""},pn))},jt=M(29679),kt=M(19248),rn=M(96512),It=M(58617);const Bt={success:jt.Z,warning:rn.Z,error:kt.Z,validating:It.Z};function Wt(Ee){let{children:Le,errors:Pe,warnings:We,hasFeedback:he,validateStatus:Ve,prefixCls:tt,meta:me,noStyle:ye}=Ee;const _e=`${tt}-item`,{feedbackIcons:ke}=P.useContext(h.q3),De=Ae(Pe,We,me,null,!!he,Ve),{isFormItemInput:ct,status:At,hasFeedback:Pt,feedbackIcon:Yt}=P.useContext(h.aM),sn=P.useMemo(()=>{var wn;let En;if(he){const fn=he!==!0&&he.icons||ke,pn=De&&((wn=fn==null?void 0:fn({status:De,errors:Pe,warnings:We}))===null||wn===void 0?void 0:wn[De]),Lt=De&&Bt[De];En=pn!==!1&&Lt?P.createElement("span",{className:B()(`${_e}-feedback-icon`,`${_e}-feedback-icon-${De}`)},pn||P.createElement(Lt,null)):null}const nn={status:De||"",errors:Pe,warnings:We,hasFeedback:!!he,feedbackIcon:En,isFormItemInput:!0};return ye&&(nn.status=(De!=null?De:At)||"",nn.isFormItemInput=ct,nn.hasFeedback=!!(he!=null?he:Pt),nn.feedbackIcon=he!==void 0?nn.feedbackIcon:Yt),nn},[De,he,ye,ct,At]);return P.createElement(h.aM.Provider,{value:sn},Le)}var Xt=function(Ee,Le){var Pe={};for(var We in Ee)Object.prototype.hasOwnProperty.call(Ee,We)&&Le.indexOf(We)<0&&(Pe[We]=Ee[We]);if(Ee!=null&&typeof Object.getOwnPropertySymbols=="function")for(var he=0,We=Object.getOwnPropertySymbols(Ee);he{if(qn&&Mn.current){const Yn=getComputedStyle(Mn.current);Bn(parseInt(Yn.marginBottom,10))}},[qn,Cr]);const ar=Yn=>{Yn||Bn(null)},nr=function(){let Yn=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1;const St=Yn?Zn:_e.errors,Pr=Yn?bn:_e.warnings;return Ae(St,Pr,_e,"",!!ke,ye)}(),er=B()(nn,Pe,We,{[`${nn}-with-help`]:Wn||Zn.length||bn.length,[`${nn}-has-feedback`]:nr&&ke,[`${nn}-has-success`]:nr==="success",[`${nn}-has-warning`]:nr==="warning",[`${nn}-has-error`]:nr==="error",[`${nn}-is-validating`]:nr==="validating",[`${nn}-hidden`]:De,[`${nn}-${wn}`]:wn});return P.createElement("div",{className:er,style:he,ref:Mn},P.createElement(vt.Z,Object.assign({className:`${nn}-row`},(0,ht.Z)(En,["_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"])),P.createElement(qt,Object.assign({htmlFor:At},Ee,{requiredMark:fn,required:Pt!=null?Pt:Yt,prefixCls:Le,vertical:Lt})),P.createElement(Et,Object.assign({},Ee,_e,{errors:Zn,warnings:bn,prefixCls:Le,status:nr,help:Ve,marginBottom:ur,onErrorVisibleChanged:ar}),P.createElement(h.qI.Provider,{value:sn},P.createElement(Wt,{prefixCls:Le,meta:_e,errors:_e.errors,warnings:_e.warnings,hasFeedback:ke,validateStatus:nr},ct)))),!!ur&&P.createElement("div",{className:`${nn}-margin-offset`,style:{marginBottom:-ur}}))}const _t="__SPLIT__",T=null;function z(Ee,Le){const Pe=Object.keys(Ee),We=Object.keys(Le);return Pe.length===We.length&&Pe.every(he=>{const Ve=Ee[he],tt=Le[he];return Ve===tt||typeof Ve=="function"||typeof tt=="function"})}const Z=P.memo(Ee=>{let{children:Le}=Ee;return Le},(Ee,Le)=>z(Ee.control,Le.control)&&Ee.update===Le.update&&Ee.childProps.length===Le.childProps.length&&Ee.childProps.every((Pe,We)=>Pe===Le.childProps[We]));function ie(){return{errors:[],warnings:[],touched:!1,validating:!1,name:[],validated:!1}}function se(Ee){const{name:Le,noStyle:Pe,className:We,dependencies:he,prefixCls:Ve,shouldUpdate:tt,rules:me,children:ye,required:_e,label:ke,messageVariables:De,trigger:ct="onChange",validateTrigger:At,hidden:Pt,help:Yt,layout:sn}=Ee,{getPrefixCls:wn}=P.useContext(F.E_),{name:En}=P.useContext(h.q3),nn=oe(ye),fn=typeof nn=="function",pn=P.useContext(h.qI),{validateTrigger:Lt}=P.useContext(K.FieldContext),Mn=At!==void 0?At:Lt,Zn=Le!=null,bn=wn("form",Ve),Wn=(0,m.Z)(bn),[qn,Cr,ur]=L(bn,Wn),Bn=(0,re.ln)("Form.Item"),ar=P.useContext(K.ListContext),pr=P.useRef(null),[nr,er]=ne({}),[Yn,St]=(0,Be.Z)(()=>ie()),Pr=tr=>{const Nn=ar==null?void 0:ar.getKey(tr.name);if(St(tr.destroy?ie():tr,!0),Pe&&Yt!==!1&&pn){let Ft=tr.name;if(tr.destroy)Ft=pr.current||Ft;else if(Nn!==void 0){const[hn,Gn]=Nn;Ft=[hn].concat((0,k.Z)(Gn)),pr.current=Ft}pn(tr,Ft)}},Xr=(tr,Nn)=>{er(Ft=>{const hn=Object.assign({},Ft),Vn=[].concat((0,k.Z)(tr.name.slice(0,-1)),(0,k.Z)(Nn)).join(_t);return tr.destroy?delete hn[Vn]:hn[Vn]=tr,hn})},[Ir,Hr]=P.useMemo(()=>{const tr=(0,k.Z)(Yn.errors),Nn=(0,k.Z)(Yn.warnings);return Object.values(nr).forEach(Ft=>{tr.push.apply(tr,(0,k.Z)(Ft.errors||[])),Nn.push.apply(Nn,(0,k.Z)(Ft.warnings||[]))}),[tr,Nn]},[nr,Yn.errors,Yn.warnings]),Fr=de();function $r(tr,Nn,Ft){return Pe&&!Pt?P.createElement(Wt,{prefixCls:bn,hasFeedback:Ee.hasFeedback,validateStatus:Ee.validateStatus,meta:Yn,errors:Ir,warnings:Hr,noStyle:!0},tr):P.createElement(_n,Object.assign({key:"row"},Ee,{className:B()(We,ur,Wn,Cr),prefixCls:bn,fieldId:Nn,isRequired:Ft,errors:Ir,warnings:Hr,meta:Yn,onSubItemMetaChange:Xr,layout:sn}),tr)}if(!Zn&&!fn&&!he)return qn($r(nn));let rr={};return typeof ke=="string"?rr.label=ke:Le&&(rr.label=String(Le)),De&&(rr=Object.assign(Object.assign({},rr),De)),qn(P.createElement(K.Field,Object.assign({},Ee,{messageVariables:rr,trigger:ct,validateTrigger:Mn,onMetaChange:Pr}),(tr,Nn,Ft)=>{const hn=Ce(Le).length&&Nn?Nn.name:[],Gn=be(hn,En),Vn=_e!==void 0?_e:!!(me!=null&&me.some(yr=>{if(yr&&typeof yr=="object"&&yr.required&&!yr.warningOnly)return!0;if(typeof yr=="function"){const et=yr(Ft);return(et==null?void 0:et.required)&&!(et!=null&&et.warningOnly)}return!1})),gr=Object.assign({},tr);let Mr=null;if(Array.isArray(nn)&&Zn)Mr=nn;else if(!(fn&&(!(tt||he)||Zn))){if(!(he&&!fn&&!Zn))if(P.isValidElement(nn)){const yr=Object.assign(Object.assign({},nn.props),gr);if(yr.id||(yr.id=Gn),Yt||Ir.length>0||Hr.length>0||Ee.extra){const Ct=[];(Yt||Ir.length>0)&&Ct.push(`${Gn}_help`),Ee.extra&&Ct.push(`${Gn}_extra`),yr["aria-describedby"]=Ct.join(" ")}Ir.length>0&&(yr["aria-invalid"]="true"),Vn&&(yr["aria-required"]="true"),(0,V.Yr)(nn)&&(yr.ref=Fr(hn,nn)),new Set([].concat((0,k.Z)(Ce(ct)),(0,k.Z)(Ce(Mn)))).forEach(Ct=>{yr[Ct]=function(){for(var Cn,cr,it,Tr,Dn,un=arguments.length,Un=new Array(un),vr=0;vr{var{prefixCls:Le,children:Pe}=Ee,We=xt(Ee,["prefixCls","children"]);const{getPrefixCls:he}=P.useContext(F.E_),Ve=he("form",Le),tt=P.useMemo(()=>({prefixCls:Ve,status:"error"}),[Ve]);return P.createElement(K.List,Object.assign({},We),(me,ye,_e)=>P.createElement(h.Rk.Provider,{value:tt},Pe(me.map(ke=>Object.assign(Object.assign({},ke),{fieldKey:ke.key})),ye,{errors:_e.errors,warnings:_e.warnings})))};function Gt(){const{form:Ee}=P.useContext(h.q3);return Ee}const je=Ge;je.Item=lt,je.List=Nt,je.ErrorList=I,je.useForm=Re,je.useFormInstance=Gt,je.useWatch=K.useWatch,je.Provider=h.RV,je.create=()=>{};var Ne=je},49397:function(Ln,pt,M){"use strict";M.d(pt,{Z:function(){return e}});var h=M(59301),k=M(92310),P=M.n(k),_=M(36901),B=M(8654),C=M(62487),p=M(86013),m=M(82855),E=M(48755),d=M(2171),l=M(83397),o=M(31756),g=M(56553),r=M(24971),n=M(70045),a=M(23826),c=M(53075);function u(t){return!!(t.prefix||t.suffix||t.allowClear||t.showCount)}var s=function(t,i){var f={};for(var y in t)Object.prototype.hasOwnProperty.call(t,y)&&i.indexOf(y)<0&&(f[y]=t[y]);if(t!=null&&typeof Object.getOwnPropertySymbols=="function")for(var b=0,y=Object.getOwnPropertySymbols(t);b{const{prefixCls:f,bordered:y=!0,status:b,size:x,disabled:A,onBlur:w,onFocus:L,suffix:D,allowClear:O,addonAfter:N,addonBefore:I,className:K,style:F,styles:W,rootClassName:j,onChange:X,classNames:Y,variant:le}=t,J=s(t,["prefixCls","bordered","status","size","disabled","onBlur","onFocus","suffix","allowClear","addonAfter","addonBefore","className","style","styles","rootClassName","onChange","classNames","variant"]),{getPrefixCls:ve,direction:Ce,allowClear:be,autoComplete:Ae,className:Ue,style:we,classNames:$e,styles:Re}=(0,E.dj)("input"),ge=ve("input",f),Ze=(0,h.useRef)(null),Fe=(0,l.Z)(ge),[Te,Ge,Be]=(0,c.TI)(ge,j),[V]=(0,c.ZP)(ge,Fe),{compactSize:q,compactItemClassnames:re}=(0,n.ri)(ge,Ce),ee=(0,o.Z)(yt=>{var Et;return(Et=x!=null?x:q)!==null&&Et!==void 0?Et:yt}),oe=h.useContext(d.Z),$=A!=null?A:oe,{status:fe,hasFeedback:xe,feedbackIcon:ne}=(0,h.useContext)(g.aM),de=(0,m.F)(fe,b),ut=u(t)||!!xe,Je=(0,h.useRef)(ut),ht=(0,a.Z)(Ze,!0),vt=yt=>{ht(),w==null||w(yt)},qe=yt=>{ht(),L==null||L(yt)},ft=yt=>{ht(),X==null||X(yt)},Ke=(xe||D)&&h.createElement(h.Fragment,null,D,xe&&ne),Oe=(0,p.Z)(O!=null?O:be),[Ye,rt]=(0,r.Z)("input",le,y);return Te(V(h.createElement(_.default,Object.assign({ref:(0,B.sQ)(i,Ze),prefixCls:ge,autoComplete:Ae},J,{disabled:$,onBlur:vt,onFocus:qe,style:Object.assign(Object.assign({},we),F),styles:Object.assign(Object.assign({},Re),W),suffix:Ke,allowClear:Oe,className:P()(K,j,Be,Fe,re,Ue),onChange:ft,addonBefore:I&&h.createElement(C.Z,{form:!0,space:!0},I),addonAfter:N&&h.createElement(C.Z,{form:!0,space:!0},N),classNames:Object.assign(Object.assign(Object.assign({},Y),$e),{input:P()({[`${ge}-sm`]:ee==="small",[`${ge}-lg`]:ee==="large",[`${ge}-rtl`]:Ce==="rtl"},Y==null?void 0:Y.input,$e.input,Ge),variant:P()({[`${ge}-${Ye}`]:rt},(0,m.Z)(ge,de)),affixWrapper:P()({[`${ge}-affix-wrapper-sm`]:ee==="small",[`${ge}-affix-wrapper-lg`]:ee==="large",[`${ge}-affix-wrapper-rtl`]:Ce==="rtl"},Ge),wrapper:P()({[`${ge}-group-rtl`]:Ce==="rtl"},Ge),groupWrapper:P()({[`${ge}-group-wrapper-sm`]:ee==="small",[`${ge}-group-wrapper-lg`]:ee==="large",[`${ge}-group-wrapper-rtl`]:Ce==="rtl",[`${ge}-group-wrapper-${Ye}`]:rt},(0,m.Z)(`${ge}-group-wrapper`,de,xe),Ge)})}))))})},79809:function(Ln,pt,M){"use strict";M.d(pt,{Z:function(){return i}});var h=M(59301),k=M(92310),P=M.n(k),_=M(22711),B=M(86013),C=M(82855),p=M(48755),m=M(2171),E=M(83397),d=M(31756),l=M(56553),o=M(24971),g=M(70045),r=M(30292),n=M(53075),a=M(16931),c=M(51636),u=M(64910);const s=f=>{const{componentCls:y,paddingLG:b}=f,x=`${y}-textarea`;return{[`textarea${y}`]:{maxWidth:"100%",height:"auto",minHeight:f.controlHeight,lineHeight:f.lineHeight,verticalAlign:"bottom",transition:`all ${f.motionDurationSlow}`,resize:"vertical",[`&${y}-mouse-active`]:{transition:`all ${f.motionDurationSlow}, height 0s, width 0s`}},[`${y}-textarea-affix-wrapper-resize-dirty`]:{width:"auto"},[x]:{position:"relative","&-show-count":{[`> ${y}`]:{height:"100%"},[`${y}-data-count`]:{position:"absolute",bottom:f.calc(f.fontSize).mul(f.lineHeight).mul(-1).equal(),insetInlineEnd:0,color:f.colorTextDescription,whiteSpace:"nowrap",pointerEvents:"none"}},[` &-allow-clear > ${y}, &-affix-wrapper${x}-has-feedback ${y} `]:{paddingInlineEnd:b},[`&-affix-wrapper${y}-affix-wrapper`]:{padding:0,[`> textarea${y}`]:{fontSize:"inherit",border:"none",outline:"none",background:"transparent",minHeight:f.calc(f.controlHeight).sub(f.calc(f.lineWidth).mul(2)).equal(),"&:focus":{boxShadow:"none !important"}},[`${y}-suffix`]:{margin:0,"> *:not(:last-child)":{marginInline:0},[`${y}-clear-icon`]:{position:"absolute",insetInlineEnd:f.paddingInline,insetBlockStart:f.paddingXS},[`${x}-suffix`]:{position:"absolute",top:0,insetInlineEnd:f.paddingInline,bottom:0,zIndex:1,display:"inline-flex",alignItems:"center",margin:"auto",pointerEvents:"none"}}},[`&-affix-wrapper${y}-affix-wrapper-sm`]:{[`${y}-suffix`]:{[`${y}-clear-icon`]:{insetInlineEnd:f.paddingInlineSM}}}}}};var v=(0,a.I$)(["Input","TextArea"],f=>{const y=(0,c.mergeToken)(f,(0,u.e)(f));return[s(y)]},u.T,{resetFont:!1}),e=function(f,y){var b={};for(var x in f)Object.prototype.hasOwnProperty.call(f,x)&&y.indexOf(x)<0&&(b[x]=f[x]);if(f!=null&&typeof Object.getOwnPropertySymbols=="function")for(var A=0,x=Object.getOwnPropertySymbols(f);A{var b;const{prefixCls:x,bordered:A=!0,size:w,disabled:L,status:D,allowClear:O,classNames:N,rootClassName:I,className:K,style:F,styles:W,variant:j,showCount:X,onMouseDown:Y,onResize:le}=f,J=e(f,["prefixCls","bordered","size","disabled","status","allowClear","classNames","rootClassName","className","style","styles","variant","showCount","onMouseDown","onResize"]),{getPrefixCls:ve,direction:Ce,allowClear:be,autoComplete:Ae,className:Ue,style:we,classNames:$e,styles:Re}=(0,p.dj)("textArea"),ge=h.useContext(m.Z),Ze=L!=null?L:ge,{status:Fe,hasFeedback:Te,feedbackIcon:Ge}=h.useContext(l.aM),Be=(0,C.F)(Fe,D),V=h.useRef(null);h.useImperativeHandle(y,()=>{var rt;return{resizableTextArea:(rt=V.current)===null||rt===void 0?void 0:rt.resizableTextArea,focus:yt=>{var Et,cn;(0,r.nH)((cn=(Et=V.current)===null||Et===void 0?void 0:Et.resizableTextArea)===null||cn===void 0?void 0:cn.textArea,yt)},blur:()=>{var yt;return(yt=V.current)===null||yt===void 0?void 0:yt.blur()}}});const q=ve("input",x),re=(0,E.Z)(q),[ee,oe,$]=(0,n.TI)(q,I),[fe]=v(q,re),{compactSize:xe,compactItemClassnames:ne}=(0,g.ri)(q,Ce),de=(0,d.Z)(rt=>{var yt;return(yt=w!=null?w:xe)!==null&&yt!==void 0?yt:rt}),[ut,Je]=(0,o.Z)("textArea",j,A),ht=(0,B.Z)(O!=null?O:be),[vt,qe]=h.useState(!1),[ft,Ke]=h.useState(!1),Oe=rt=>{qe(!0),Y==null||Y(rt);const yt=()=>{qe(!1),document.removeEventListener("mouseup",yt)};document.addEventListener("mouseup",yt)},Ye=rt=>{var yt,Et;if(le==null||le(rt),vt&&typeof getComputedStyle=="function"){const cn=(Et=(yt=V.current)===null||yt===void 0?void 0:yt.nativeElement)===null||Et===void 0?void 0:Et.querySelector("textarea");cn&&getComputedStyle(cn).resize==="both"&&Ke(!0)}};return ee(fe(h.createElement(_.default,Object.assign({autoComplete:Ae},J,{style:Object.assign(Object.assign({},we),F),styles:Object.assign(Object.assign({},Re),W),disabled:Ze,allowClear:ht,className:P()($,re,K,I,ne,Ue,ft&&`${q}-textarea-affix-wrapper-resize-dirty`),classNames:Object.assign(Object.assign(Object.assign({},N),$e),{textarea:P()({[`${q}-sm`]:de==="small",[`${q}-lg`]:de==="large"},oe,N==null?void 0:N.textarea,$e.textarea,vt&&`${q}-mouse-active`),variant:P()({[`${q}-${ut}`]:Je},(0,C.Z)(q,Be)),affixWrapper:P()(`${q}-textarea-affix-wrapper`,{[`${q}-affix-wrapper-rtl`]:Ce==="rtl",[`${q}-affix-wrapper-sm`]:de==="small",[`${q}-affix-wrapper-lg`]:de==="large",[`${q}-textarea-show-count`]:X||((b=f.count)===null||b===void 0?void 0:b.show)},oe)}),prefixCls:q,suffix:Te&&h.createElement("span",{className:`${q}-textarea-suffix`},Ge),showCount:X,ref:V,onResize:Ye,onMouseDown:Oe}))))})},23826:function(Ln,pt,M){"use strict";M.d(pt,{Z:function(){return k}});var h=M(59301);function k(P,_){const B=(0,h.useRef)([]),C=()=>{B.current.push(setTimeout(()=>{var p,m,E,d;!((p=P.current)===null||p===void 0)&&p.input&&((m=P.current)===null||m===void 0?void 0:m.input.getAttribute("type"))==="password"&&(!((E=P.current)===null||E===void 0)&&E.input.hasAttribute("value"))&&((d=P.current)===null||d===void 0||d.input.removeAttribute("value"))}))};return(0,h.useEffect)(()=>(_&&C(),()=>B.current.forEach(p=>{p&&clearTimeout(p)})),[]),C}},37568:function(Ln,pt,M){"use strict";M.d(pt,{default:function(){return $e}});var h=M(59301),k=M(92310),P=M.n(k),_=M(48755),B=M(56553),C=M(53075),m=Re=>{const{getPrefixCls:ge,direction:Ze}=(0,h.useContext)(_.E_),{prefixCls:Fe,className:Te}=Re,Ge=ge("input-group",Fe),Be=ge("input"),[V,q,re]=(0,C.ZP)(Be),ee=P()(Ge,re,{[`${Ge}-lg`]:Re.size==="large",[`${Ge}-sm`]:Re.size==="small",[`${Ge}-compact`]:Re.compact,[`${Ge}-rtl`]:Ze==="rtl"},q,Te),oe=(0,h.useContext)(B.aM),$=(0,h.useMemo)(()=>Object.assign(Object.assign({},oe),{isFormItemInput:!1}),[oe]);return V(h.createElement("span",{className:ee,style:Re.style,onMouseEnter:Re.onMouseEnter,onMouseLeave:Re.onMouseLeave,onFocus:Re.onFocus,onBlur:Re.onBlur},h.createElement(B.aM.Provider,{value:$},Re.children)))},E=M(49397),d=M(94480),l=M(6089),o=M(26112),g=M(82855),r=M(31756),n=M(16931),a=M(51636),c=M(64910);const u=Re=>{const{componentCls:ge,paddingXS:Ze}=Re;return{[ge]:{display:"inline-flex",alignItems:"center",flexWrap:"nowrap",columnGap:Ze,"&-rtl":{direction:"rtl"},[`${ge}-input`]:{textAlign:"center",paddingInline:Re.paddingXXS},[`&${ge}-sm ${ge}-input`]:{paddingInline:Re.calc(Re.paddingXXS).div(2).equal()},[`&${ge}-lg ${ge}-input`]:{paddingInline:Re.paddingXS}}}};var s=(0,n.I$)(["Input","OTP"],Re=>{const ge=(0,a.mergeToken)(Re,(0,c.e)(Re));return[u(ge)]},c.T),v=M(16089),e=function(Re,ge){var Ze={};for(var Fe in Re)Object.prototype.hasOwnProperty.call(Re,Fe)&&ge.indexOf(Fe)<0&&(Ze[Fe]=Re[Fe]);if(Re!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Te=0,Fe=Object.getOwnPropertySymbols(Re);Te{const{value:Ze,onChange:Fe,onActiveChange:Te,index:Ge,mask:Be}=Re,V=e(Re,["value","onChange","onActiveChange","index","mask"]),q=Ze&&typeof Be=="string"?Be:Ze,re=xe=>{Fe(Ge,xe.target.value)},ee=h.useRef(null);h.useImperativeHandle(ge,()=>ee.current);const oe=()=>{(0,v.Z)(()=>{var xe;const ne=(xe=ee.current)===null||xe===void 0?void 0:xe.input;document.activeElement===ne&&ne&&ne.select()})},$=xe=>{const{key:ne,ctrlKey:de,metaKey:ut}=xe;ne==="ArrowLeft"?Te(Ge-1):ne==="ArrowRight"?Te(Ge+1):ne==="z"&&(de||ut)&&xe.preventDefault(),oe()},fe=xe=>{xe.key==="Backspace"&&!Ze&&Te(Ge-1),oe()};return h.createElement(E.Z,Object.assign({type:Be===!0?"password":"text"},V,{ref:ee,value:q,onInput:re,onFocus:oe,onKeyDown:$,onKeyUp:fe,onMouseDown:oe,onMouseUp:oe}))}),f=function(Re,ge){var Ze={};for(var Fe in Re)Object.prototype.hasOwnProperty.call(Re,Fe)&&ge.indexOf(Fe)<0&&(Ze[Fe]=Re[Fe]);if(Re!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Te=0,Fe=Object.getOwnPropertySymbols(Re);Te{const{index:ge,prefixCls:Ze,separator:Fe}=Re,Te=typeof Fe=="function"?Fe(ge):Fe;return Te?h.createElement("span",{className:`${Ze}-separator`},Te):null};var A=h.forwardRef((Re,ge)=>{const{prefixCls:Ze,length:Fe=6,size:Te,defaultValue:Ge,value:Be,onChange:V,formatter:q,separator:re,variant:ee,disabled:oe,status:$,autoFocus:fe,mask:xe,type:ne,onInput:de,inputMode:ut}=Re,Je=f(Re,["prefixCls","length","size","defaultValue","value","onChange","formatter","separator","variant","disabled","status","autoFocus","mask","type","onInput","inputMode"]),{getPrefixCls:ht,direction:vt}=h.useContext(_.E_),qe=ht("otp",Ze),ft=(0,o.Z)(Je,{aria:!0,data:!0,attr:!0}),[Ke,Oe,Ye]=s(qe),rt=(0,r.Z)(It=>Te!=null?Te:It),yt=h.useContext(B.aM),Et=(0,g.F)(yt.status,$),cn=h.useMemo(()=>Object.assign(Object.assign({},yt),{status:Et,hasFeedback:!1,feedbackIcon:null}),[yt,Et]),Jt=h.useRef(null),zt=h.useRef({});h.useImperativeHandle(ge,()=>({focus:()=>{var It;(It=zt.current[0])===null||It===void 0||It.focus()},blur:()=>{var It;for(let Bt=0;Btq?q(It):It,[Fn,tn]=h.useState(()=>y(vn(Ge||"")));h.useEffect(()=>{Be!==void 0&&tn(y(Be))},[Be]);const Pn=(0,l.Z)(It=>{tn(It),de&&de(It),V&&It.length===Fe&&It.every(Bt=>Bt)&&It.some((Bt,Wt)=>Fn[Wt]!==Bt)&&V(It.join(""))}),qt=(0,l.Z)((It,Bt)=>{let Wt=(0,d.Z)(Fn);for(let _n=0;_n=0&&!Wt[_n];_n-=1)Wt.pop();const Xt=vn(Wt.map(_n=>_n||" ").join(""));return Wt=y(Xt).map((_n,_t)=>_n===" "&&!Wt[_t]?Wt[_t]:_n),Wt}),jt=(It,Bt)=>{var Wt;const Xt=qt(It,Bt),_n=Math.min(It+Bt.length,Fe-1);_n!==It&&Xt[It]!==void 0&&((Wt=zt.current[_n])===null||Wt===void 0||Wt.focus()),Pn(Xt)},kt=It=>{var Bt;(Bt=zt.current[It])===null||Bt===void 0||Bt.focus()},rn={variant:ee,disabled:oe,status:Et,mask:xe,type:ne,inputMode:ut};return Ke(h.createElement("div",Object.assign({},ft,{ref:Jt,className:P()(qe,{[`${qe}-sm`]:rt==="small",[`${qe}-lg`]:rt==="large",[`${qe}-rtl`]:vt==="rtl"},Ye,Oe)}),h.createElement(B.aM.Provider,{value:cn},Array.from({length:Fe}).map((It,Bt)=>{const Wt=`otp-${Bt}`,Xt=Fn[Bt]||"";return h.createElement(h.Fragment,{key:Wt},h.createElement(i,Object.assign({ref:_n=>{zt.current[Bt]=_n},index:Bt,size:rt,htmlSize:1,className:`${qe}-input`,onChange:jt,value:Xt,onActiveChange:kt,autoFocus:Bt===0&&fe},rn)),BtRe?h.createElement(L.Z,null):h.createElement(w.Z,null),W={click:"onClick",hover:"onMouseOver"};var X=h.forwardRef((Re,ge)=>{const{disabled:Ze,action:Fe="click",visibilityToggle:Te=!0,iconRender:Ge=F}=Re,Be=h.useContext(N.Z),V=Ze!=null?Ze:Be,q=typeof Te=="object"&&Te.visible!==void 0,[re,ee]=(0,h.useState)(()=>q?Te.visible:!1),oe=(0,h.useRef)(null);h.useEffect(()=>{q&&ee(Te.visible)},[q,Te]);const $=(0,I.Z)(oe),fe=()=>{var rt;if(V)return;re&&$();const yt=!re;ee(yt),typeof Te=="object"&&((rt=Te.onVisibleChange)===null||rt===void 0||rt.call(Te,yt))},xe=rt=>{const yt=W[Fe]||"",Et=Ge(re),cn={[yt]:fe,className:`${rt}-icon`,key:"passwordIcon",onMouseDown:Jt=>{Jt.preventDefault()},onMouseUp:Jt=>{Jt.preventDefault()}};return h.cloneElement(h.isValidElement(Et)?Et:h.createElement("span",null,Et),cn)},{className:ne,prefixCls:de,inputPrefixCls:ut,size:Je}=Re,ht=K(Re,["className","prefixCls","inputPrefixCls","size"]),{getPrefixCls:vt}=h.useContext(_.E_),qe=vt("input",ut),ft=vt("input-password",de),Ke=Te&&xe(ft),Oe=P()(ft,ne,{[`${ft}-${Je}`]:!!Je}),Ye=Object.assign(Object.assign({},(0,D.Z)(ht,["suffix","iconRender","visibilityToggle"])),{type:re?"text":"password",className:Oe,prefixCls:qe,suffix:Ke});return Je&&(Ye.size=Je),h.createElement(E.Z,Object.assign({ref:(0,O.sQ)(ge,oe)},Ye))}),Y=M(47472),le=M(22703),J=M(7939),ve=M(70045),Ce=function(Re,ge){var Ze={};for(var Fe in Re)Object.prototype.hasOwnProperty.call(Re,Fe)&&ge.indexOf(Fe)<0&&(Ze[Fe]=Re[Fe]);if(Re!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Te=0,Fe=Object.getOwnPropertySymbols(Re);Te{const{prefixCls:Ze,inputPrefixCls:Fe,className:Te,size:Ge,suffix:Be,enterButton:V=!1,addonAfter:q,loading:re,disabled:ee,onSearch:oe,onChange:$,onCompositionStart:fe,onCompositionEnd:xe}=Re,ne=Ce(Re,["prefixCls","inputPrefixCls","className","size","suffix","enterButton","addonAfter","loading","disabled","onSearch","onChange","onCompositionStart","onCompositionEnd"]),{getPrefixCls:de,direction:ut}=h.useContext(_.E_),Je=h.useRef(!1),ht=de("input-search",Ze),vt=de("input",Fe),{compactSize:qe}=(0,ve.ri)(ht,ut),ft=(0,r.Z)(jt=>{var kt;return(kt=Ge!=null?Ge:qe)!==null&&kt!==void 0?kt:jt}),Ke=h.useRef(null),Oe=jt=>{jt!=null&&jt.target&&jt.type==="click"&&oe&&oe(jt.target.value,jt,{source:"clear"}),$==null||$(jt)},Ye=jt=>{var kt;document.activeElement===((kt=Ke.current)===null||kt===void 0?void 0:kt.input)&&jt.preventDefault()},rt=jt=>{var kt,rn;oe&&oe((rn=(kt=Ke.current)===null||kt===void 0?void 0:kt.input)===null||rn===void 0?void 0:rn.value,jt,{source:"input"})},yt=jt=>{Je.current||re||rt(jt)},Et=typeof V=="boolean"?h.createElement(Y.Z,null):null,cn=`${ht}-button`;let Jt;const zt=V||{},vn=zt.type&&zt.type.__ANT_BUTTON===!0;vn||zt.type==="button"?Jt=(0,le.Tm)(zt,Object.assign({onMouseDown:Ye,onClick:jt=>{var kt,rn;(rn=(kt=zt==null?void 0:zt.props)===null||kt===void 0?void 0:kt.onClick)===null||rn===void 0||rn.call(kt,jt),rt(jt)},key:"enterButton"},vn?{className:cn,size:ft}:{})):Jt=h.createElement(J.ZP,{className:cn,type:V?"primary":void 0,size:ft,disabled:ee,key:"enterButton",onMouseDown:Ye,onClick:rt,loading:re,icon:Et},V),q&&(Jt=[Jt,(0,le.Tm)(q,{key:"addonAfter"})]);const Fn=P()(ht,{[`${ht}-rtl`]:ut==="rtl",[`${ht}-${ft}`]:!!ft,[`${ht}-with-button`]:!!V},Te),tn=Object.assign(Object.assign({},ne),{className:Fn,prefixCls:vt,type:"search"}),Pn=jt=>{Je.current=!0,fe==null||fe(jt)},qt=jt=>{Je.current=!1,xe==null||xe(jt)};return h.createElement(E.Z,Object.assign({ref:(0,O.sQ)(Ke,ge),onPressEnter:yt},tn,{size:ft,onCompositionStart:Pn,onCompositionEnd:qt,addonAfter:Jt,suffix:Be,onChange:Oe,disabled:ee}))}),Ue=M(79809);const we=E.Z;we.Group=m,we.Search=Ae,we.TextArea=Ue.Z,we.Password=X,we.OTP=A;var $e=we},24303:function(Ln,pt,M){"use strict";M.d(pt,{D:function(){return f},Z:function(){return x}});var h=M(59301),k=M(54476),P={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"},_=P,B=M(7657),C=function(w,L){return h.createElement(B.Z,(0,k.Z)({},w,{ref:L,icon:_}))},p=h.forwardRef(C),m=p,E=M(33853),d=M(38819),l=M(92310),o=M.n(l),g=M(2738),r=M(48755),n=M(6989),a=M(36237),c=M(48923),u=M(16931);const s=A=>{const{componentCls:w,siderBg:L,motionDurationMid:D,motionDurationSlow:O,antCls:N,triggerHeight:I,triggerColor:K,triggerBg:F,headerHeight:W,zeroTriggerWidth:j,zeroTriggerHeight:X,borderRadiusLG:Y,lightSiderBg:le,lightTriggerColor:J,lightTriggerBg:ve,bodyBg:Ce}=A;return{[w]:{position:"relative",minWidth:0,background:L,transition:`all ${D}, background 0s`,"&-has-trigger":{paddingBottom:I},"&-right":{order:1},[`${w}-children`]:{height:"100%",marginTop:-.1,paddingTop:.1,[`${N}-menu${N}-menu-inline-collapsed`]:{width:"auto"}},[`&-zero-width ${w}-children`]:{overflow:"hidden"},[`${w}-trigger`]:{position:"fixed",bottom:0,zIndex:1,height:I,color:K,lineHeight:(0,a.unit)(I),textAlign:"center",background:F,cursor:"pointer",transition:`all ${D}`},[`${w}-zero-width-trigger`]:{position:"absolute",top:W,insetInlineEnd:A.calc(j).mul(-1).equal(),zIndex:1,width:j,height:X,color:K,fontSize:A.fontSizeXL,display:"flex",alignItems:"center",justifyContent:"center",background:L,borderRadius:`0 ${(0,a.unit)(Y)} ${(0,a.unit)(Y)} 0`,cursor:"pointer",transition:`background ${O} ease`,"&::after":{position:"absolute",inset:0,background:"transparent",transition:`all ${O}`,content:'""'},"&:hover::after":{background:"rgba(255, 255, 255, 0.2)"},"&-right":{insetInlineStart:A.calc(j).mul(-1).equal(),borderRadius:`${(0,a.unit)(Y)} 0 0 ${(0,a.unit)(Y)}`}},"&-light":{background:le,[`${w}-trigger`]:{color:J,background:ve},[`${w}-zero-width-trigger`]:{color:J,background:ve,border:`1px solid ${Ce}`,borderInlineStart:0}}}}};var v=(0,u.I$)(["Layout","Sider"],A=>[s(A)],c.eh,{deprecatedTokens:c.jn}),e=function(A,w){var L={};for(var D in A)Object.prototype.hasOwnProperty.call(A,D)&&w.indexOf(D)<0&&(L[D]=A[D]);if(A!=null&&typeof Object.getOwnPropertySymbols=="function")for(var O=0,D=Object.getOwnPropertySymbols(A);O!Number.isNaN(Number.parseFloat(A))&&isFinite(A),f=h.createContext({}),y=(()=>{let A=0;return function(){let w=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"";return A+=1,`${w}${A}`}})();var x=h.forwardRef((A,w)=>{const{prefixCls:L,className:D,trigger:O,children:N,defaultCollapsed:I=!1,theme:K="dark",style:F={},collapsible:W=!1,reverseArrow:j=!1,width:X=200,collapsedWidth:Y=80,zeroWidthTriggerStyle:le,breakpoint:J,onCollapse:ve,onBreakpoint:Ce}=A,be=e(A,["prefixCls","className","trigger","children","defaultCollapsed","theme","style","collapsible","reverseArrow","width","collapsedWidth","zeroWidthTriggerStyle","breakpoint","onCollapse","onBreakpoint"]),{siderHook:Ae}=(0,h.useContext)(n.V),[Ue,we]=(0,h.useState)("collapsed"in A?A.collapsed:I),[$e,Re]=(0,h.useState)(!1);(0,h.useEffect)(()=>{"collapsed"in A&&we(A.collapsed)},[A.collapsed]);const ge=(ft,Ke)=>{"collapsed"in A||we(ft),ve==null||ve(ft,Ke)},{getPrefixCls:Ze,direction:Fe}=(0,h.useContext)(r.E_),Te=Ze("layout-sider",L),[Ge,Be,V]=v(Te),q=(0,h.useRef)(null);q.current=ft=>{Re(ft.matches),Ce==null||Ce(ft.matches),Ue!==ft.matches&&ge(ft.matches,"responsive")},(0,h.useEffect)(()=>{function ft(Oe){return q.current(Oe)}let Ke;if(typeof window!="undefined"){const{matchMedia:Oe}=window;if(Oe&&J&&J in t){Ke=Oe(`screen and (max-width: ${t[J]})`);try{Ke.addEventListener("change",ft)}catch(Ye){Ke.addListener(ft)}ft(Ke)}}return()=>{try{Ke==null||Ke.removeEventListener("change",ft)}catch(Oe){Ke==null||Ke.removeListener(ft)}}},[J]),(0,h.useEffect)(()=>{const ft=y("ant-sider-");return Ae.addSider(ft),()=>Ae.removeSider(ft)},[]);const re=()=>{ge(!Ue,"clickTrigger")},ee=(0,g.Z)(be,["collapsed"]),oe=Ue?Y:X,$=i(oe)?`${oe}px`:String(oe),fe=parseFloat(String(Y||0))===0?h.createElement("span",{onClick:re,className:o()(`${Te}-zero-width-trigger`,`${Te}-zero-width-trigger-${j?"right":"left"}`),style:le},O||h.createElement(m,null)):null,xe=Fe==="rtl"==!j,ut={expanded:xe?h.createElement(d.Z,null):h.createElement(E.Z,null),collapsed:xe?h.createElement(E.Z,null):h.createElement(d.Z,null)}[Ue?"collapsed":"expanded"],Je=O!==null?fe||h.createElement("div",{className:`${Te}-trigger`,onClick:re,style:{width:$}},O||ut):null,ht=Object.assign(Object.assign({},F),{flex:`0 0 ${$}`,maxWidth:$,minWidth:$,width:$}),vt=o()(Te,`${Te}-${K}`,{[`${Te}-collapsed`]:!!Ue,[`${Te}-has-trigger`]:W&&O!==null&&!fe,[`${Te}-below`]:!!$e,[`${Te}-zero-width`]:parseFloat($)===0},D,Be,V),qe=h.useMemo(()=>({siderCollapsed:Ue}),[Ue]);return Ge(h.createElement(f.Provider,{value:qe},h.createElement("aside",Object.assign({className:vt},ee,{style:ht,ref:w}),h.createElement("div",{className:`${Te}-children`},N),W||$e&&fe?Je:null)))})},6989:function(Ln,pt,M){"use strict";M.d(pt,{V:function(){return k}});var h=M(59301);const k=h.createContext({siderHook:{addSider:()=>null,removeSider:()=>null}})},48923:function(Ln,pt,M){"use strict";M.d(pt,{eh:function(){return _},jn:function(){return B}});var h=M(36237),k=M(16931);const P=C=>{const{antCls:p,componentCls:m,colorText:E,footerBg:d,headerHeight:l,headerPadding:o,headerColor:g,footerPadding:r,fontSize:n,bodyBg:a,headerBg:c}=C;return{[m]:{display:"flex",flex:"auto",flexDirection:"column",minHeight:0,background:a,"&, *":{boxSizing:"border-box"},[`&${m}-has-sider`]:{flexDirection:"row",[`> ${m}, > ${m}-content`]:{width:0}},[`${m}-header, &${m}-footer`]:{flex:"0 0 auto"},"&-rtl":{direction:"rtl"}},[`${m}-header`]:{height:l,padding:o,color:g,lineHeight:(0,h.unit)(l),background:c,[`${p}-menu`]:{lineHeight:"inherit"}},[`${m}-footer`]:{padding:r,color:E,fontSize:n,background:d},[`${m}-content`]:{flex:"auto",color:E,minHeight:0}}},_=C=>{const{colorBgLayout:p,controlHeight:m,controlHeightLG:E,colorText:d,controlHeightSM:l,marginXXS:o,colorTextLightSolid:g,colorBgContainer:r}=C,n=E*1.25;return{colorBgHeader:"#001529",colorBgBody:p,colorBgTrigger:"#002140",bodyBg:p,headerBg:"#001529",headerHeight:m*2,headerPadding:`0 ${n}px`,headerColor:d,footerPadding:`${l}px ${n}px`,footerBg:p,siderBg:"#001529",triggerHeight:E+o*2,triggerBg:"#002140",triggerColor:g,zeroTriggerWidth:E,zeroTriggerHeight:E,lightSiderBg:r,lightTriggerBg:r,lightTriggerColor:d}},B=[["colorBgBody","bodyBg"],["colorBgHeader","headerBg"],["colorBgTrigger","triggerBg"]];pt.ZP=(0,k.I$)("Layout",C=>[P(C)],_,{deprecatedTokens:B})},78857:function(Ln,pt,M){"use strict";M.d(pt,{J:function(){return C}});var h=M(59301),k=M(8654),P=M(62487),_=function(p,m){var E={};for(var d in p)Object.prototype.hasOwnProperty.call(p,d)&&m.indexOf(d)<0&&(E[d]=p[d]);if(p!=null&&typeof Object.getOwnPropertySymbols=="function")for(var l=0,d=Object.getOwnPropertySymbols(p);l{const{children:E}=p,d=_(p,["children"]),l=h.useContext(B),o=h.useMemo(()=>Object.assign(Object.assign({},l),d),[l,d.prefixCls,d.mode,d.selectable,d.rootClassName]),g=(0,k.t4)(E),r=(0,k.x1)(m,g?(0,k.C4)(E):null);return h.createElement(B.Provider,{value:o},h.createElement(P.Z,{space:!0},g?h.cloneElement(E,{ref:r}):E))});pt.Z=B},93041:function(Ln,pt,M){"use strict";M.d(pt,{default:function(){return Ge}});var h=M(59301),k=M(28321),P=M(24303),_=M(18785),B=M(92310),C=M.n(B),p=M(6089),m=M(2738),E=M(86641),d=M(22703),l=M(48755),o=M(83397),r=(0,h.createContext)({prefixCls:"",firstLevel:!0,inlineCollapsed:!1}),n=function(Be,V){var q={};for(var re in Be)Object.prototype.hasOwnProperty.call(Be,re)&&V.indexOf(re)<0&&(q[re]=Be[re]);if(Be!=null&&typeof Object.getOwnPropertySymbols=="function")for(var ee=0,re=Object.getOwnPropertySymbols(Be);ee{const{prefixCls:V,className:q,dashed:re}=Be,ee=n(Be,["prefixCls","className","dashed"]),{getPrefixCls:oe}=h.useContext(l.E_),$=oe("menu",V),fe=C()({[`${$}-item-divider-dashed`]:!!re},q);return h.createElement(k.iz,Object.assign({className:fe},ee))},u=M(11592),s=M(25399),e=Be=>{var V;const{className:q,children:re,icon:ee,title:oe,danger:$,extra:fe}=Be,{prefixCls:xe,firstLevel:ne,direction:de,disableMenuItemTitleTooltip:ut,inlineCollapsed:Je}=h.useContext(r),ht=Ye=>{const rt=re==null?void 0:re[0],yt=h.createElement("span",{className:C()(`${xe}-title-content`,{[`${xe}-title-content-with-extra`]:!!fe||fe===0})},re);return(!ee||h.isValidElement(re)&&re.type==="span")&&re&&Ye&&ne&&typeof rt=="string"?h.createElement("div",{className:`${xe}-inline-collapsed-noicon`},rt.charAt(0)):yt},{siderCollapsed:vt}=h.useContext(P.D);let qe=oe;typeof oe=="undefined"?qe=ne?re:"":oe===!1&&(qe="");const ft={title:qe};!vt&&!Je&&(ft.title=null,ft.open=!1);const Ke=(0,u.Z)(re).length;let Oe=h.createElement(k.ck,Object.assign({},(0,m.Z)(Be,["title","icon","danger"]),{className:C()({[`${xe}-item-danger`]:$,[`${xe}-item-only-child`]:(ee?Ke+1:Ke)===1},q),title:typeof oe=="string"?oe:void 0}),(0,d.Tm)(ee,{className:C()(h.isValidElement(ee)?(V=ee.props)===null||V===void 0?void 0:V.className:"",`${xe}-item-icon`)}),ht(Je));return ut||(Oe=h.createElement(s.Z,Object.assign({},ft,{placement:de==="rtl"?"left":"right",classNames:{root:`${xe}-inline-collapsed-tooltip`}}),Oe)),Oe},t=M(78857),i=M(36237),f=M(17835),y=M(63356),b=M(34961),x=M(46e3),A=M(34925),w=M(16931),L=M(51636),O=Be=>{const{componentCls:V,motionDurationSlow:q,horizontalLineHeight:re,colorSplit:ee,lineWidth:oe,lineType:$,itemPaddingInline:fe}=Be;return{[`${V}-horizontal`]:{lineHeight:re,border:0,borderBottom:`${(0,i.unit)(oe)} ${$} ${ee}`,boxShadow:"none","&::after":{display:"block",clear:"both",height:0,content:'"\\20"'},[`${V}-item, ${V}-submenu`]:{position:"relative",display:"inline-block",verticalAlign:"bottom",paddingInline:fe},[`> ${V}-item:hover, > ${V}-item-active, > ${V}-submenu ${V}-submenu-title:hover`]:{backgroundColor:"transparent"},[`${V}-item, ${V}-submenu-title`]:{transition:[`border-color ${q}`,`background ${q}`].join(",")},[`${V}-submenu-arrow`]:{display:"none"}}}},I=Be=>{let{componentCls:V,menuArrowOffset:q,calc:re}=Be;return{[`${V}-rtl`]:{direction:"rtl"},[`${V}-submenu-rtl`]:{transformOrigin:"100% 0"},[`${V}-rtl${V}-vertical, ${V}-submenu-rtl ${V}-vertical`]:{[`${V}-submenu-arrow`]:{"&::before":{transform:`rotate(-45deg) translateY(${(0,i.unit)(re(q).mul(-1).equal())})`},"&::after":{transform:`rotate(45deg) translateY(${(0,i.unit)(q)})`}}}}};const K=Be=>Object.assign({},(0,y.oN)(Be));var W=(Be,V)=>{const{componentCls:q,itemColor:re,itemSelectedColor:ee,subMenuItemSelectedColor:oe,groupTitleColor:$,itemBg:fe,subMenuItemBg:xe,itemSelectedBg:ne,activeBarHeight:de,activeBarWidth:ut,activeBarBorderWidth:Je,motionDurationSlow:ht,motionEaseInOut:vt,motionEaseOut:qe,itemPaddingInline:ft,motionDurationMid:Ke,itemHoverColor:Oe,lineType:Ye,colorSplit:rt,itemDisabledColor:yt,dangerItemColor:Et,dangerItemHoverColor:cn,dangerItemSelectedColor:Jt,dangerItemActiveBg:zt,dangerItemSelectedBg:vn,popupBg:Fn,itemHoverBg:tn,itemActiveBg:Pn,menuSubMenuBg:qt,horizontalItemSelectedColor:jt,horizontalItemSelectedBg:kt,horizontalItemBorderRadius:rn,horizontalItemHoverBg:It}=Be;return{[`${q}-${V}, ${q}-${V} > ${q}`]:{color:re,background:fe,[`&${q}-root:focus-visible`]:Object.assign({},K(Be)),[`${q}-item`]:{"&-group-title, &-extra":{color:$}},[`${q}-submenu-selected > ${q}-submenu-title`]:{color:oe},[`${q}-item, ${q}-submenu-title`]:{color:re,[`&:not(${q}-item-disabled):focus-visible`]:Object.assign({},K(Be))},[`${q}-item-disabled, ${q}-submenu-disabled`]:{color:`${yt} !important`},[`${q}-item:not(${q}-item-selected):not(${q}-submenu-selected)`]:{[`&:hover, > ${q}-submenu-title:hover`]:{color:Oe}},[`&:not(${q}-horizontal)`]:{[`${q}-item:not(${q}-item-selected)`]:{"&:hover":{backgroundColor:tn},"&:active":{backgroundColor:Pn}},[`${q}-submenu-title`]:{"&:hover":{backgroundColor:tn},"&:active":{backgroundColor:Pn}}},[`${q}-item-danger`]:{color:Et,[`&${q}-item:hover`]:{[`&:not(${q}-item-selected):not(${q}-submenu-selected)`]:{color:cn}},[`&${q}-item:active`]:{background:zt}},[`${q}-item a`]:{"&, &:hover":{color:"inherit"}},[`${q}-item-selected`]:{color:ee,[`&${q}-item-danger`]:{color:Jt},"a, a:hover":{color:"inherit"}},[`& ${q}-item-selected`]:{backgroundColor:ne,[`&${q}-item-danger`]:{backgroundColor:vn}},[`&${q}-submenu > ${q}`]:{backgroundColor:qt},[`&${q}-popup > ${q}`]:{backgroundColor:Fn},[`&${q}-submenu-popup > ${q}`]:{backgroundColor:Fn},[`&${q}-horizontal`]:Object.assign(Object.assign({},V==="dark"?{borderBottom:0}:{}),{[`> ${q}-item, > ${q}-submenu`]:{top:Je,marginTop:Be.calc(Je).mul(-1).equal(),marginBottom:0,borderRadius:rn,"&::after":{position:"absolute",insetInline:ft,bottom:0,borderBottom:`${(0,i.unit)(de)} solid transparent`,transition:`border-color ${ht} ${vt}`,content:'""'},"&:hover, &-active, &-open":{background:It,"&::after":{borderBottomWidth:de,borderBottomColor:jt}},"&-selected":{color:jt,backgroundColor:kt,"&:hover":{backgroundColor:kt},"&::after":{borderBottomWidth:de,borderBottomColor:jt}}}}),[`&${q}-root`]:{[`&${q}-inline, &${q}-vertical`]:{borderInlineEnd:`${(0,i.unit)(Je)} ${Ye} ${rt}`}},[`&${q}-inline`]:{[`${q}-sub${q}-inline`]:{background:xe},[`${q}-item`]:{position:"relative","&::after":{position:"absolute",insetBlock:0,insetInlineEnd:0,borderInlineEnd:`${(0,i.unit)(ut)} solid ${ee}`,transform:"scaleY(0.0001)",opacity:0,transition:[`transform ${Ke} ${qe}`,`opacity ${Ke} ${qe}`].join(","),content:'""'},[`&${q}-item-danger`]:{"&::after":{borderInlineEndColor:Jt}}},[`${q}-selected, ${q}-item-selected`]:{"&::after":{transform:"scaleY(1)",opacity:1,transition:[`transform ${Ke} ${vt}`,`opacity ${Ke} ${vt}`].join(",")}}}}}};const j=Be=>{const{componentCls:V,itemHeight:q,itemMarginInline:re,padding:ee,menuArrowSize:oe,marginXS:$,itemMarginBlock:fe,itemWidth:xe,itemPaddingInline:ne}=Be,de=Be.calc(oe).add(ee).add($).equal();return{[`${V}-item`]:{position:"relative",overflow:"hidden"},[`${V}-item, ${V}-submenu-title`]:{height:q,lineHeight:(0,i.unit)(q),paddingInline:ne,overflow:"hidden",textOverflow:"ellipsis",marginInline:re,marginBlock:fe,width:xe},[`> ${V}-item, > ${V}-submenu > ${V}-submenu-title`]:{height:q,lineHeight:(0,i.unit)(q)},[`${V}-item-group-list ${V}-submenu-title, ${V}-submenu-title`]:{paddingInlineEnd:de}}};var Y=Be=>{const{componentCls:V,iconCls:q,itemHeight:re,colorTextLightSolid:ee,dropdownWidth:oe,controlHeightLG:$,motionEaseOut:fe,paddingXL:xe,itemMarginInline:ne,fontSizeLG:de,motionDurationFast:ut,motionDurationSlow:Je,paddingXS:ht,boxShadowSecondary:vt,collapsedWidth:qe,collapsedIconSize:ft}=Be,Ke={height:re,lineHeight:(0,i.unit)(re),listStylePosition:"inside",listStyleType:"disc"};return[{[V]:{"&-inline, &-vertical":Object.assign({[`&${V}-root`]:{boxShadow:"none"}},j(Be))},[`${V}-submenu-popup`]:{[`${V}-vertical`]:Object.assign(Object.assign({},j(Be)),{boxShadow:vt})}},{[`${V}-submenu-popup ${V}-vertical${V}-sub`]:{minWidth:oe,maxHeight:`calc(100vh - ${(0,i.unit)(Be.calc($).mul(2.5).equal())})`,padding:"0",overflow:"hidden",borderInlineEnd:0,"&:not([class*='-active'])":{overflowX:"hidden",overflowY:"auto"}}},{[`${V}-inline`]:{width:"100%",[`&${V}-root`]:{[`${V}-item, ${V}-submenu-title`]:{display:"flex",alignItems:"center",transition:[`border-color ${Je}`,`background ${Je}`,`padding ${ut} ${fe}`].join(","),[`> ${V}-title-content`]:{flex:"auto",minWidth:0,overflow:"hidden",textOverflow:"ellipsis"},"> *":{flex:"none"}}},[`${V}-sub${V}-inline`]:{padding:0,border:0,borderRadius:0,boxShadow:"none",[`& > ${V}-submenu > ${V}-submenu-title`]:Ke,[`& ${V}-item-group-title`]:{paddingInlineStart:xe}},[`${V}-item`]:Ke}},{[`${V}-inline-collapsed`]:{width:qe,[`&${V}-root`]:{[`${V}-item, ${V}-submenu ${V}-submenu-title`]:{[`> ${V}-inline-collapsed-noicon`]:{fontSize:de,textAlign:"center"}}},[`> ${V}-item, > ${V}-item-group > ${V}-item-group-list > ${V}-item, > ${V}-item-group > ${V}-item-group-list > ${V}-submenu > ${V}-submenu-title, > ${V}-submenu > ${V}-submenu-title`]:{insetInlineStart:0,paddingInline:`calc(50% - ${(0,i.unit)(Be.calc(ft).div(2).equal())} - ${(0,i.unit)(ne)})`,textOverflow:"clip",[` ${V}-submenu-arrow, ${V}-submenu-expand-icon `]:{opacity:0},[`${V}-item-icon, ${q}`]:{margin:0,fontSize:ft,lineHeight:(0,i.unit)(re),"+ span":{display:"inline-block",opacity:0}}},[`${V}-item-icon, ${q}`]:{display:"inline-block"},"&-tooltip":{pointerEvents:"none",[`${V}-item-icon, ${q}`]:{display:"none"},"a, a:hover":{color:ee}},[`${V}-item-group-title`]:Object.assign(Object.assign({},y.vS),{paddingInline:ht})}}]};const le=Be=>{const{componentCls:V,motionDurationSlow:q,motionDurationMid:re,motionEaseInOut:ee,motionEaseOut:oe,iconCls:$,iconSize:fe,iconMarginInlineEnd:xe}=Be;return{[`${V}-item, ${V}-submenu-title`]:{position:"relative",display:"block",margin:0,whiteSpace:"nowrap",cursor:"pointer",transition:[`border-color ${q}`,`background ${q}`,`padding calc(${q} + 0.1s) ${ee}`].join(","),[`${V}-item-icon, ${$}`]:{minWidth:fe,fontSize:fe,transition:[`font-size ${re} ${oe}`,`margin ${q} ${ee}`,`color ${q}`].join(","),"+ span":{marginInlineStart:xe,opacity:1,transition:[`opacity ${q} ${ee}`,`margin ${q}`,`color ${q}`].join(",")}},[`${V}-item-icon`]:Object.assign({},(0,y.Ro)()),[`&${V}-item-only-child`]:{[`> ${$}, > ${V}-item-icon`]:{marginInlineEnd:0}}},[`${V}-item-disabled, ${V}-submenu-disabled`]:{background:"none !important",cursor:"not-allowed","&::after":{borderColor:"transparent !important"},a:{color:"inherit !important",cursor:"not-allowed",pointerEvents:"none"},[`> ${V}-submenu-title`]:{color:"inherit !important",cursor:"not-allowed"}}}},J=Be=>{const{componentCls:V,motionDurationSlow:q,motionEaseInOut:re,borderRadius:ee,menuArrowSize:oe,menuArrowOffset:$}=Be;return{[`${V}-submenu`]:{"&-expand-icon, &-arrow":{position:"absolute",top:"50%",insetInlineEnd:Be.margin,width:oe,color:"currentcolor",transform:"translateY(-50%)",transition:`transform ${q} ${re}, opacity ${q}`},"&-arrow":{"&::before, &::after":{position:"absolute",width:Be.calc(oe).mul(.6).equal(),height:Be.calc(oe).mul(.15).equal(),backgroundColor:"currentcolor",borderRadius:ee,transition:[`background ${q} ${re}`,`transform ${q} ${re}`,`top ${q} ${re}`,`color ${q} ${re}`].join(","),content:'""'},"&::before":{transform:`rotate(45deg) translateY(${(0,i.unit)(Be.calc($).mul(-1).equal())})`},"&::after":{transform:`rotate(-45deg) translateY(${(0,i.unit)($)})`}}}}},ve=Be=>{const{antCls:V,componentCls:q,fontSize:re,motionDurationSlow:ee,motionDurationMid:oe,motionEaseInOut:$,paddingXS:fe,padding:xe,colorSplit:ne,lineWidth:de,zIndexPopup:ut,borderRadiusLG:Je,subMenuItemBorderRadius:ht,menuArrowSize:vt,menuArrowOffset:qe,lineType:ft,groupTitleLineHeight:Ke,groupTitleFontSize:Oe}=Be;return[{"":{[q]:Object.assign(Object.assign({},(0,y.dF)()),{"&-hidden":{display:"none"}})},[`${q}-submenu-hidden`]:{display:"none"}},{[q]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},(0,y.Wf)(Be)),(0,y.dF)()),{marginBottom:0,paddingInlineStart:0,fontSize:re,lineHeight:0,listStyle:"none",outline:"none",transition:`width ${ee} cubic-bezier(0.2, 0, 0, 1) 0s`,"ul, ol":{margin:0,padding:0,listStyle:"none"},"&-overflow":{display:"flex",[`${q}-item`]:{flex:"none"}},[`${q}-item, ${q}-submenu, ${q}-submenu-title`]:{borderRadius:Be.itemBorderRadius},[`${q}-item-group-title`]:{padding:`${(0,i.unit)(fe)} ${(0,i.unit)(xe)}`,fontSize:Oe,lineHeight:Ke,transition:`all ${ee}`},[`&-horizontal ${q}-submenu`]:{transition:[`border-color ${ee} ${$}`,`background ${ee} ${$}`].join(",")},[`${q}-submenu, ${q}-submenu-inline`]:{transition:[`border-color ${ee} ${$}`,`background ${ee} ${$}`,`padding ${oe} ${$}`].join(",")},[`${q}-submenu ${q}-sub`]:{cursor:"initial",transition:[`background ${ee} ${$}`,`padding ${ee} ${$}`].join(",")},[`${q}-title-content`]:{transition:`color ${ee}`,"&-with-extra":{display:"inline-flex",alignItems:"center",width:"100%"},[`> ${V}-typography-ellipsis-single-line`]:{display:"inline",verticalAlign:"unset"},[`${q}-item-extra`]:{marginInlineStart:"auto",paddingInlineStart:Be.padding}},[`${q}-item a`]:{"&::before":{position:"absolute",inset:0,backgroundColor:"transparent",content:'""'}},[`${q}-item-divider`]:{overflow:"hidden",lineHeight:0,borderColor:ne,borderStyle:ft,borderWidth:0,borderTopWidth:de,marginBlock:de,padding:0,"&-dashed":{borderStyle:"dashed"}}}),le(Be)),{[`${q}-item-group`]:{[`${q}-item-group-list`]:{margin:0,padding:0,[`${q}-item, ${q}-submenu-title`]:{paddingInline:`${(0,i.unit)(Be.calc(re).mul(2).equal())} ${(0,i.unit)(xe)}`}}},"&-submenu":{"&-popup":{position:"absolute",zIndex:ut,borderRadius:Je,boxShadow:"none",transformOrigin:"0 0",[`&${q}-submenu`]:{background:"transparent"},"&::before":{position:"absolute",inset:0,zIndex:-1,width:"100%",height:"100%",opacity:0,content:'""'},[`> ${q}`]:Object.assign(Object.assign(Object.assign({borderRadius:Je},le(Be)),J(Be)),{[`${q}-item, ${q}-submenu > ${q}-submenu-title`]:{borderRadius:ht},[`${q}-submenu-title::after`]:{transition:`transform ${ee} ${$}`}})},"\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:Be.paddingXS},"\n &-placement-rightTop,\n &-placement-rightBottom\n ":{paddingInlineStart:Be.paddingXS},"\n &-placement-topRight,\n &-placement-topLeft\n ":{paddingBottom:Be.paddingXS},"\n &-placement-bottomRight,\n &-placement-bottomLeft\n ":{paddingTop:Be.paddingXS}}}),J(Be)),{[`&-inline-collapsed ${q}-submenu-arrow, &-inline ${q}-submenu-arrow`]:{"&::before":{transform:`rotate(-45deg) translateX(${(0,i.unit)(qe)})`},"&::after":{transform:`rotate(45deg) translateX(${(0,i.unit)(Be.calc(qe).mul(-1).equal())})`}},[`${q}-submenu-open${q}-submenu-inline > ${q}-submenu-title > ${q}-submenu-arrow`]:{transform:`translateY(${(0,i.unit)(Be.calc(vt).mul(.2).mul(-1).equal())})`,"&::after":{transform:`rotate(-45deg) translateX(${(0,i.unit)(Be.calc(qe).mul(-1).equal())})`},"&::before":{transform:`rotate(45deg) translateX(${(0,i.unit)(qe)})`}}})},{[`${V}-layout-header`]:{[q]:{lineHeight:"inherit"}}}]},Ce=Be=>{var V,q,re;const{colorPrimary:ee,colorError:oe,colorTextDisabled:$,colorErrorBg:fe,colorText:xe,colorTextDescription:ne,colorBgContainer:de,colorFillAlter:ut,colorFillContent:Je,lineWidth:ht,lineWidthBold:vt,controlItemBgActive:qe,colorBgTextHover:ft,controlHeightLG:Ke,lineHeight:Oe,colorBgElevated:Ye,marginXXS:rt,padding:yt,fontSize:Et,controlHeightSM:cn,fontSizeLG:Jt,colorTextLightSolid:zt,colorErrorHover:vn}=Be,Fn=(V=Be.activeBarWidth)!==null&&V!==void 0?V:0,tn=(q=Be.activeBarBorderWidth)!==null&&q!==void 0?q:ht,Pn=(re=Be.itemMarginInline)!==null&&re!==void 0?re:Be.marginXXS,qt=new f.FastColor(zt).setA(.65).toRgbString();return{dropdownWidth:160,zIndexPopup:Be.zIndexPopupBase+50,radiusItem:Be.borderRadiusLG,itemBorderRadius:Be.borderRadiusLG,radiusSubMenuItem:Be.borderRadiusSM,subMenuItemBorderRadius:Be.borderRadiusSM,colorItemText:xe,itemColor:xe,colorItemTextHover:xe,itemHoverColor:xe,colorItemTextHoverHorizontal:ee,horizontalItemHoverColor:ee,colorGroupTitle:ne,groupTitleColor:ne,colorItemTextSelected:ee,itemSelectedColor:ee,subMenuItemSelectedColor:ee,colorItemTextSelectedHorizontal:ee,horizontalItemSelectedColor:ee,colorItemBg:de,itemBg:de,colorItemBgHover:ft,itemHoverBg:ft,colorItemBgActive:Je,itemActiveBg:qe,colorSubItemBg:ut,subMenuItemBg:ut,colorItemBgSelected:qe,itemSelectedBg:qe,colorItemBgSelectedHorizontal:"transparent",horizontalItemSelectedBg:"transparent",colorActiveBarWidth:0,activeBarWidth:Fn,colorActiveBarHeight:vt,activeBarHeight:vt,colorActiveBarBorderSize:ht,activeBarBorderWidth:tn,colorItemTextDisabled:$,itemDisabledColor:$,colorDangerItemText:oe,dangerItemColor:oe,colorDangerItemTextHover:oe,dangerItemHoverColor:oe,colorDangerItemTextSelected:oe,dangerItemSelectedColor:oe,colorDangerItemBgActive:fe,dangerItemActiveBg:fe,colorDangerItemBgSelected:fe,dangerItemSelectedBg:fe,itemMarginInline:Pn,horizontalItemBorderRadius:0,horizontalItemHoverBg:"transparent",itemHeight:Ke,groupTitleLineHeight:Oe,collapsedWidth:Ke*2,popupBg:Ye,itemMarginBlock:rt,itemPaddingInline:yt,horizontalLineHeight:`${Ke*1.15}px`,iconSize:Et,iconMarginInlineEnd:cn-Et,collapsedIconSize:Jt,groupTitleFontSize:Et,darkItemDisabledColor:new f.FastColor(zt).setA(.25).toRgbString(),darkItemColor:qt,darkDangerItemColor:oe,darkItemBg:"#001529",darkPopupBg:"#001529",darkSubMenuItemBg:"#000c17",darkItemSelectedColor:zt,darkItemSelectedBg:ee,darkDangerItemSelectedBg:oe,darkItemHoverBg:"transparent",darkGroupTitleColor:qt,darkItemHoverColor:zt,darkDangerItemHoverColor:vn,darkDangerItemSelectedColor:zt,darkDangerItemActiveBg:oe,itemWidth:Fn?`calc(100% + ${tn}px)`:`calc(100% - ${Pn*2}px)`}};var be=function(Be){let V=arguments.length>1&&arguments[1]!==void 0?arguments[1]:Be,q=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!0;return(0,w.I$)("Menu",ee=>{const{colorBgElevated:oe,controlHeightLG:$,fontSize:fe,darkItemColor:xe,darkDangerItemColor:ne,darkItemBg:de,darkSubMenuItemBg:ut,darkItemSelectedColor:Je,darkItemSelectedBg:ht,darkDangerItemSelectedBg:vt,darkItemHoverBg:qe,darkGroupTitleColor:ft,darkItemHoverColor:Ke,darkItemDisabledColor:Oe,darkDangerItemHoverColor:Ye,darkDangerItemSelectedColor:rt,darkDangerItemActiveBg:yt,popupBg:Et,darkPopupBg:cn}=ee,Jt=ee.calc(fe).div(7).mul(5).equal(),zt=(0,L.mergeToken)(ee,{menuArrowSize:Jt,menuHorizontalHeight:ee.calc($).mul(1.15).equal(),menuArrowOffset:ee.calc(Jt).mul(.25).equal(),menuSubMenuBg:oe,calc:ee.calc,popupBg:Et}),vn=(0,L.mergeToken)(zt,{itemColor:xe,itemHoverColor:Ke,groupTitleColor:ft,itemSelectedColor:Je,subMenuItemSelectedColor:Je,itemBg:de,popupBg:cn,subMenuItemBg:ut,itemActiveBg:"transparent",itemSelectedBg:ht,activeBarHeight:0,activeBarBorderWidth:0,itemHoverBg:qe,itemDisabledColor:Oe,dangerItemColor:ne,dangerItemHoverColor:Ye,dangerItemSelectedColor:rt,dangerItemActiveBg:yt,dangerItemSelectedBg:vt,menuSubMenuBg:ut,horizontalItemSelectedColor:Je,horizontalItemSelectedBg:ht});return[ve(zt),O(zt),Y(zt),W(zt,"light"),W(vn,"dark"),I(zt),(0,b.Z)(zt),(0,x.oN)(zt,"slide-up"),(0,x.oN)(zt,"slide-down"),(0,A._y)(zt,"zoom-big")]},Ce,{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:q,unitless:{groupTitleLineHeight:!0}})(Be,V)},Ae=M(75030),we=Be=>{var V;const{popupClassName:q,icon:re,title:ee,theme:oe}=Be,$=h.useContext(r),{prefixCls:fe,inlineCollapsed:xe,theme:ne}=$,de=(0,k.Xl)();let ut;if(!re)ut=xe&&!de.length&&ee&&typeof ee=="string"?h.createElement("div",{className:`${fe}-inline-collapsed-noicon`},ee.charAt(0)):h.createElement("span",{className:`${fe}-title-content`},ee);else{const vt=h.isValidElement(ee)&&ee.type==="span";ut=h.createElement(h.Fragment,null,(0,d.Tm)(re,{className:C()(h.isValidElement(re)?(V=re.props)===null||V===void 0?void 0:V.className:"",`${fe}-item-icon`)}),vt?ee:h.createElement("span",{className:`${fe}-title-content`},ee))}const Je=h.useMemo(()=>Object.assign(Object.assign({},$),{firstLevel:!1}),[$]),[ht]=(0,Ae.Cn)("Menu");return h.createElement(r.Provider,{value:Je},h.createElement(k.Wd,Object.assign({},(0,m.Z)(Be,["icon"]),{title:ut,popupClassName:C()(fe,q,`${fe}-${oe||ne}`),popupStyle:Object.assign({zIndex:ht},Be.popupStyle)})))},$e=function(Be,V){var q={};for(var re in Be)Object.prototype.hasOwnProperty.call(Be,re)&&V.indexOf(re)<0&&(q[re]=Be[re]);if(Be!=null&&typeof Object.getOwnPropertySymbols=="function")for(var ee=0,re=Object.getOwnPropertySymbols(Be);ee{var q;const re=h.useContext(t.Z),ee=re||{},{getPrefixCls:oe,getPopupContainer:$,direction:fe,menu:xe}=h.useContext(l.E_),ne=oe(),{prefixCls:de,className:ut,style:Je,theme:ht="light",expandIcon:vt,_internalDisableMenuItemTitleTooltip:qe,inlineCollapsed:ft,siderCollapsed:Ke,rootClassName:Oe,mode:Ye,selectable:rt,onClick:yt,overflowedIndicatorPopupClassName:Et}=Be,cn=$e(Be,["prefixCls","className","style","theme","expandIcon","_internalDisableMenuItemTitleTooltip","inlineCollapsed","siderCollapsed","rootClassName","mode","selectable","onClick","overflowedIndicatorPopupClassName"]),Jt=(0,m.Z)(cn,["collapsedWidth"]);(q=ee.validator)===null||q===void 0||q.call(ee,{mode:Ye});const zt=(0,p.Z)(function(){var _n;yt==null||yt.apply(void 0,arguments),(_n=ee.onClick)===null||_n===void 0||_n.call(ee)}),vn=ee.mode||Ye,Fn=rt!=null?rt:ee.selectable,tn=ft!=null?ft:Ke,Pn={horizontal:{motionName:`${ne}-slide-up`},inline:(0,E.Z)(ne),other:{motionName:`${ne}-zoom-big`}},qt=oe("menu",de||ee.prefixCls),jt=(0,o.Z)(qt),[kt,rn,It]=be(qt,jt,!re),Bt=C()(`${qt}-${ht}`,xe==null?void 0:xe.className,ut),Wt=h.useMemo(()=>{var _n,_t;if(typeof vt=="function"||Re(vt))return vt||null;if(typeof ee.expandIcon=="function"||Re(ee.expandIcon))return ee.expandIcon||null;if(typeof(xe==null?void 0:xe.expandIcon)=="function"||Re(xe==null?void 0:xe.expandIcon))return(xe==null?void 0:xe.expandIcon)||null;const T=(_n=vt!=null?vt:ee==null?void 0:ee.expandIcon)!==null&&_n!==void 0?_n:xe==null?void 0:xe.expandIcon;return(0,d.Tm)(T,{className:C()(`${qt}-submenu-expand-icon`,h.isValidElement(T)?(_t=T.props)===null||_t===void 0?void 0:_t.className:void 0)})},[vt,ee==null?void 0:ee.expandIcon,xe==null?void 0:xe.expandIcon,qt]),Xt=h.useMemo(()=>({prefixCls:qt,inlineCollapsed:tn||!1,direction:fe,firstLevel:!0,theme:ht,mode:vn,disableMenuItemTitleTooltip:qe}),[qt,tn,fe,qe,ht]);return kt(h.createElement(t.Z.Provider,{value:null},h.createElement(r.Provider,{value:Xt},h.createElement(k.ZP,Object.assign({getPopupContainer:$,overflowedIndicator:h.createElement(_.Z,null),overflowedIndicatorPopupClassName:C()(qt,`${qt}-${ht}`,Et),mode:vn,selectable:Fn,onClick:zt},Jt,{inlineCollapsed:tn,style:Object.assign(Object.assign({},xe==null?void 0:xe.style),Je),className:Bt,prefixCls:qt,direction:fe,defaultMotions:Pn,expandIcon:Wt,ref:V,rootClassName:C()(Oe,rn,ee.rootClassName,It,jt),_internalComponents:ge})))))});const Te=(0,h.forwardRef)((Be,V)=>{const q=(0,h.useRef)(null),re=h.useContext(P.D);return(0,h.useImperativeHandle)(V,()=>({menu:q.current,focus:ee=>{var oe;(oe=q.current)===null||oe===void 0||oe.focus(ee)}})),h.createElement(Fe,Object.assign({ref:q},Be,re))});Te.Item=e,Te.SubMenu=we,Te.Divider=c,Te.ItemGroup=k.BW;var Ge=Te},31709:function(Ln,pt,M){"use strict";M.d(pt,{Z:function(){return xe}});var h=M(59301),k=M(54476),P={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"},_=P,B=M(7657),C=function(de,ut){return h.createElement(B.Z,(0,k.Z)({},de,{ref:ut,icon:_}))},p=h.forwardRef(C),m=p,E=M(49198),d=M(33853),l=M(38819),o=M(92310),g=M.n(o),r=M(20068),n=M(76190),a=M(33885),c=M(42978),u=M(18929),s=M(10228),v=M(26112),e=M(48736),t=M(17119),i=[10,20,50,100],f=function(de){var ut=de.pageSizeOptions,Je=ut===void 0?i:ut,ht=de.locale,vt=de.changeSize,qe=de.pageSize,ft=de.goButton,Ke=de.quickGo,Oe=de.rootPrefixCls,Ye=de.disabled,rt=de.buildOptionText,yt=de.showSizeChanger,Et=de.sizeChangerRender,cn=h.useState(""),Jt=(0,c.Z)(cn,2),zt=Jt[0],vn=Jt[1],Fn=function(){return!zt||Number.isNaN(zt)?void 0:Number(zt)},tn=typeof rt=="function"?rt:function(Xt){return"".concat(Xt," ").concat(ht.items_per_page)},Pn=function(_n){vn(_n.target.value)},qt=function(_n){ft||zt===""||(vn(""),!(_n.relatedTarget&&(_n.relatedTarget.className.indexOf("".concat(Oe,"-item-link"))>=0||_n.relatedTarget.className.indexOf("".concat(Oe,"-item"))>=0))&&(Ke==null||Ke(Fn())))},jt=function(_n){zt!==""&&(_n.keyCode===s.Z.ENTER||_n.type==="click")&&(vn(""),Ke==null||Ke(Fn()))},kt=function(){return Je.some(function(_n){return _n.toString()===qe.toString()})?Je:Je.concat([qe]).sort(function(_n,_t){var T=Number.isNaN(Number(_n))?0:Number(_n),z=Number.isNaN(Number(_t))?0:Number(_t);return T-z})},rn="".concat(Oe,"-options");if(!yt&&!Ke)return null;var It=null,Bt=null,Wt=null;return yt&&Et&&(It=Et({disabled:Ye,size:qe,onSizeChange:function(_n){vt==null||vt(Number(_n))},"aria-label":ht.page_size,className:"".concat(rn,"-size-changer"),options:kt().map(function(Xt){return{label:tn(Xt),value:Xt}})})),Ke&&(ft&&(Wt=typeof ft=="boolean"?h.createElement("button",{type:"button",onClick:jt,onKeyUp:jt,disabled:Ye,className:"".concat(rn,"-quick-jumper-button")},ht.jump_to_confirm):h.createElement("span",{onClick:jt,onKeyUp:jt},ft)),Bt=h.createElement("div",{className:"".concat(rn,"-quick-jumper")},ht.jump_to,h.createElement("input",{disabled:Ye,type:"text",value:zt,onChange:Pn,onKeyUp:jt,onBlur:qt,"aria-label":ht.page}),ht.page,Wt)),h.createElement("li",{className:rn},It,Bt)},y=f,b=function(de){var ut=de.rootPrefixCls,Je=de.page,ht=de.active,vt=de.className,qe=de.showTitle,ft=de.onClick,Ke=de.onKeyPress,Oe=de.itemRender,Ye="".concat(ut,"-item"),rt=g()(Ye,"".concat(Ye,"-").concat(Je),(0,r.Z)((0,r.Z)({},"".concat(Ye,"-active"),ht),"".concat(Ye,"-disabled"),!Je),vt),yt=function(){ft(Je)},Et=function(zt){Ke(zt,ft,Je)},cn=Oe(Je,"page",h.createElement("a",{rel:"nofollow"},Je));return cn?h.createElement("li",{title:qe?String(Je):null,className:rt,onClick:yt,onKeyDown:Et,tabIndex:0},cn):null},x=b,A=function(de,ut,Je){return Je};function w(){}function L(ne){var de=Number(ne);return typeof de=="number"&&!Number.isNaN(de)&&isFinite(de)&&Math.floor(de)===de}function D(ne,de,ut){var Je=typeof ne=="undefined"?de:ne;return Math.floor((ut-1)/Je)+1}var O=function(de){var ut=de.prefixCls,Je=ut===void 0?"rc-pagination":ut,ht=de.selectPrefixCls,vt=ht===void 0?"rc-select":ht,qe=de.className,ft=de.current,Ke=de.defaultCurrent,Oe=Ke===void 0?1:Ke,Ye=de.total,rt=Ye===void 0?0:Ye,yt=de.pageSize,Et=de.defaultPageSize,cn=Et===void 0?10:Et,Jt=de.onChange,zt=Jt===void 0?w:Jt,vn=de.hideOnSinglePage,Fn=de.align,tn=de.showPrevNextJumpers,Pn=tn===void 0?!0:tn,qt=de.showQuickJumper,jt=de.showLessItems,kt=de.showTitle,rn=kt===void 0?!0:kt,It=de.onShowSizeChange,Bt=It===void 0?w:It,Wt=de.locale,Xt=Wt===void 0?t.Z:Wt,_n=de.style,_t=de.totalBoundaryShowSizeChanger,T=_t===void 0?50:_t,z=de.disabled,Z=de.simple,ie=de.showTotal,se=de.showSizeChanger,Qe=se===void 0?rt>T:se,lt=de.sizeChangerRender,xt=de.pageSizeOptions,at=de.itemRender,Nt=at===void 0?A:at,Gt=de.jumpPrevIcon,je=de.jumpNextIcon,Ne=de.prevIcon,Ee=de.nextIcon,Le=h.useRef(null),Pe=(0,u.Z)(10,{value:yt,defaultValue:cn}),We=(0,c.Z)(Pe,2),he=We[0],Ve=We[1],tt=(0,u.Z)(1,{value:ft,defaultValue:Oe,postState:function($n){return Math.max(1,Math.min($n,D(void 0,he,rt)))}}),me=(0,c.Z)(tt,2),ye=me[0],_e=me[1],ke=h.useState(ye),De=(0,c.Z)(ke,2),ct=De[0],At=De[1];(0,h.useEffect)(function(){At(ye)},[ye]);var Pt=zt!==w,Yt="current"in de,sn=Math.max(1,ye-(jt?3:5)),wn=Math.min(D(void 0,he,rt),ye+(jt?3:5));function En(sr,$n){var Dr=sr||h.createElement("button",{type:"button","aria-label":$n,className:"".concat(Je,"-item-link")});return typeof sr=="function"&&(Dr=h.createElement(sr,(0,a.Z)({},de))),Dr}function nn(sr){var $n=sr.target.value,Dr=D(void 0,he,rt),xr;return $n===""?xr=$n:Number.isNaN(Number($n))?xr=ct:$n>=Dr?xr=Dr:xr=Number($n),xr}function fn(sr){return L(sr)&&sr!==ye&&L(rt)&&rt>0}var pn=rt>he?qt:!1;function Lt(sr){(sr.keyCode===s.Z.UP||sr.keyCode===s.Z.DOWN)&&sr.preventDefault()}function Mn(sr){var $n=nn(sr);switch($n!==ct&&At($n),sr.keyCode){case s.Z.ENTER:Wn($n);break;case s.Z.UP:Wn($n-1);break;case s.Z.DOWN:Wn($n+1);break;default:break}}function Zn(sr){Wn(nn(sr))}function bn(sr){var $n=D(sr,he,rt),Dr=ye>$n&&$n!==0?$n:ye;Ve(sr),At(Dr),Bt==null||Bt(ye,sr),_e(Dr),zt==null||zt(Dr,sr)}function Wn(sr){if(fn(sr)&&!z){var $n=D(void 0,he,rt),Dr=sr;return sr>$n?Dr=$n:sr<1&&(Dr=1),Dr!==ct&&At(Dr),_e(Dr),zt==null||zt(Dr,he),Dr}return ye}var qn=ye>1,Cr=ye2?Dr-2:0),dr=2;drrt?rt:ye*he])),tr=null,Nn=D(void 0,he,rt);if(vn&&rt<=he)return null;var Ft=[],hn={rootPrefixCls:Je,onClick:Wn,onKeyPress:nr,showTitle:rn,itemRender:Nt,page:-1},Gn=ye-1>0?ye-1:0,Vn=ye+1=Tt*2&&ye!==3&&(Ft[0]=h.cloneElement(Ft[0],{className:g()("".concat(Je,"-item-after-jump-prev"),Ft[0].props.className)}),Ft.unshift(Fr)),Nn-ye>=Tt*2&&ye!==Nn-2){var vr=Ft[Ft.length-1];Ft[Ft.length-1]=h.cloneElement(vr,{className:g()("".concat(Je,"-item-before-jump-next"),vr.props.className)}),Ft.push(tr)}Dn!==1&&Ft.unshift(h.createElement(x,(0,k.Z)({},hn,{key:1,page:1}))),un!==Nn&&Ft.push(h.createElement(x,(0,k.Z)({},hn,{key:Nn,page:Nn})))}var On=Xr(Gn);if(On){var hr=!qn||!Nn;On=h.createElement("li",{title:rn?Xt.prev_page:null,onClick:ur,tabIndex:hr?null:0,onKeyDown:er,className:g()("".concat(Je,"-prev"),(0,r.Z)({},"".concat(Je,"-disabled"),hr)),"aria-disabled":hr},On)}var An=Ir(Vn);if(An){var Or,or;Z?(Or=!Cr,or=qn?0:null):(Or=!Cr||!Nn,or=Or?null:0),An=h.createElement("li",{title:rn?Xt.next_page:null,onClick:Bn,tabIndex:or,onKeyDown:Yn,className:g()("".concat(Je,"-next"),(0,r.Z)({},"".concat(Je,"-disabled"),Or)),"aria-disabled":Or},An)}var Rr=g()(Je,qe,(0,r.Z)((0,r.Z)((0,r.Z)((0,r.Z)((0,r.Z)({},"".concat(Je,"-start"),Fn==="start"),"".concat(Je,"-center"),Fn==="center"),"".concat(Je,"-end"),Fn==="end"),"".concat(Je,"-simple"),Z),"".concat(Je,"-disabled"),z));return h.createElement("ul",(0,k.Z)({className:Rr,style:_n,ref:Le},$r),rr,On,Z?et:Ft,An,h.createElement(y,{locale:Xt,rootPrefixCls:Je,disabled:z,selectPrefixCls:vt,changeSize:bn,pageSize:he,pageSizeOptions:xt,quickGo:pn?Wn:null,goButton:yr,showSizeChanger:Qe,sizeChangerRender:lt}))},N=O,I=M(61852),K=M(48755),F=M(31756),W=M(13783),j=M(9017),X=M(82326),Y=M(57700),le=M(36237),J=M(53075),ve=M(64910),Ce=M(39082),be=M(63356),Ae=M(51636),Ue=M(16931);const we=ne=>{const{componentCls:de}=ne;return{[`${de}-disabled`]:{"&, &:hover":{cursor:"not-allowed",[`${de}-item-link`]:{color:ne.colorTextDisabled,cursor:"not-allowed"}},"&:focus-visible":{cursor:"not-allowed",[`${de}-item-link`]:{color:ne.colorTextDisabled,cursor:"not-allowed"}}},[`&${de}-disabled`]:{cursor:"not-allowed",[`${de}-item`]:{cursor:"not-allowed",backgroundColor:"transparent","&:hover, &:active":{backgroundColor:"transparent"},a:{color:ne.colorTextDisabled,backgroundColor:"transparent",border:"none",cursor:"not-allowed"},"&-active":{borderColor:ne.colorBorder,backgroundColor:ne.itemActiveBgDisabled,"&:hover, &:active":{backgroundColor:ne.itemActiveBgDisabled},a:{color:ne.itemActiveColorDisabled}}},[`${de}-item-link`]:{color:ne.colorTextDisabled,cursor:"not-allowed","&:hover, &:active":{backgroundColor:"transparent"},[`${de}-simple&`]:{backgroundColor:"transparent","&:hover, &:active":{backgroundColor:"transparent"}}},[`${de}-simple-pager`]:{color:ne.colorTextDisabled},[`${de}-jump-prev, ${de}-jump-next`]:{[`${de}-item-link-icon`]:{opacity:0},[`${de}-item-ellipsis`]:{opacity:1}}},[`&${de}-simple`]:{[`${de}-prev, ${de}-next`]:{[`&${de}-disabled ${de}-item-link`]:{"&:hover, &:active":{backgroundColor:"transparent"}}}}}},$e=ne=>{const{componentCls:de}=ne;return{[`&${de}-mini ${de}-total-text, &${de}-mini ${de}-simple-pager`]:{height:ne.itemSizeSM,lineHeight:(0,le.unit)(ne.itemSizeSM)},[`&${de}-mini ${de}-item`]:{minWidth:ne.itemSizeSM,height:ne.itemSizeSM,margin:0,lineHeight:(0,le.unit)(ne.calc(ne.itemSizeSM).sub(2).equal())},[`&${de}-mini ${de}-prev, &${de}-mini ${de}-next`]:{minWidth:ne.itemSizeSM,height:ne.itemSizeSM,margin:0,lineHeight:(0,le.unit)(ne.itemSizeSM)},[`&${de}-mini:not(${de}-disabled)`]:{[`${de}-prev, ${de}-next`]:{[`&:hover ${de}-item-link`]:{backgroundColor:ne.colorBgTextHover},[`&:active ${de}-item-link`]:{backgroundColor:ne.colorBgTextActive},[`&${de}-disabled:hover ${de}-item-link`]:{backgroundColor:"transparent"}}},[` &${de}-mini ${de}-prev ${de}-item-link, &${de}-mini ${de}-next ${de}-item-link `]:{backgroundColor:"transparent",borderColor:"transparent","&::after":{height:ne.itemSizeSM,lineHeight:(0,le.unit)(ne.itemSizeSM)}},[`&${de}-mini ${de}-jump-prev, &${de}-mini ${de}-jump-next`]:{height:ne.itemSizeSM,marginInlineEnd:0,lineHeight:(0,le.unit)(ne.itemSizeSM)},[`&${de}-mini ${de}-options`]:{marginInlineStart:ne.paginationMiniOptionsMarginInlineStart,"&-size-changer":{top:ne.miniOptionsSizeChangerTop},"&-quick-jumper":{height:ne.itemSizeSM,lineHeight:(0,le.unit)(ne.itemSizeSM),input:Object.assign(Object.assign({},(0,J.x0)(ne)),{width:ne.paginationMiniQuickJumperInputWidth,height:ne.controlHeightSM})}}}},Re=ne=>{const{componentCls:de}=ne;return{[` &${de}-simple ${de}-prev, &${de}-simple ${de}-next `]:{height:ne.itemSizeSM,lineHeight:(0,le.unit)(ne.itemSizeSM),verticalAlign:"top",[`${de}-item-link`]:{height:ne.itemSizeSM,backgroundColor:"transparent",border:0,"&:hover":{backgroundColor:ne.colorBgTextHover},"&:active":{backgroundColor:ne.colorBgTextActive},"&::after":{height:ne.itemSizeSM,lineHeight:(0,le.unit)(ne.itemSizeSM)}}},[`&${de}-simple ${de}-simple-pager`]:{display:"inline-block",height:ne.itemSizeSM,marginInlineEnd:ne.marginXS,input:{boxSizing:"border-box",height:"100%",padding:`0 ${(0,le.unit)(ne.paginationItemPaddingInline)}`,textAlign:"center",backgroundColor:ne.itemInputBg,border:`${(0,le.unit)(ne.lineWidth)} ${ne.lineType} ${ne.colorBorder}`,borderRadius:ne.borderRadius,outline:"none",transition:`border-color ${ne.motionDurationMid}`,color:"inherit","&:hover":{borderColor:ne.colorPrimary},"&:focus":{borderColor:ne.colorPrimaryHover,boxShadow:`${(0,le.unit)(ne.inputOutlineOffset)} 0 ${(0,le.unit)(ne.controlOutlineWidth)} ${ne.controlOutline}`},"&[disabled]":{color:ne.colorTextDisabled,backgroundColor:ne.colorBgContainerDisabled,borderColor:ne.colorBorder,cursor:"not-allowed"}}}}},ge=ne=>{const{componentCls:de}=ne;return{[`${de}-jump-prev, ${de}-jump-next`]:{outline:0,[`${de}-item-container`]:{position:"relative",[`${de}-item-link-icon`]:{color:ne.colorPrimary,fontSize:ne.fontSizeSM,opacity:0,transition:`all ${ne.motionDurationMid}`,"&-svg":{top:0,insetInlineEnd:0,bottom:0,insetInlineStart:0,margin:"auto"}},[`${de}-item-ellipsis`]:{position:"absolute",top:0,insetInlineEnd:0,bottom:0,insetInlineStart:0,display:"block",margin:"auto",color:ne.colorTextDisabled,letterSpacing:ne.paginationEllipsisLetterSpacing,textAlign:"center",textIndent:ne.paginationEllipsisTextIndent,opacity:1,transition:`all ${ne.motionDurationMid}`}},"&:hover":{[`${de}-item-link-icon`]:{opacity:1},[`${de}-item-ellipsis`]:{opacity:0}}},[` ${de}-prev, ${de}-jump-prev, ${de}-jump-next `]:{marginInlineEnd:ne.marginXS},[` ${de}-prev, ${de}-next, ${de}-jump-prev, ${de}-jump-next `]:{display:"inline-block",minWidth:ne.itemSize,height:ne.itemSize,color:ne.colorText,fontFamily:ne.fontFamily,lineHeight:(0,le.unit)(ne.itemSize),textAlign:"center",verticalAlign:"middle",listStyle:"none",borderRadius:ne.borderRadius,cursor:"pointer",transition:`all ${ne.motionDurationMid}`},[`${de}-prev, ${de}-next`]:{outline:0,button:{color:ne.colorText,cursor:"pointer",userSelect:"none"},[`${de}-item-link`]:{display:"block",width:"100%",height:"100%",padding:0,fontSize:ne.fontSizeSM,textAlign:"center",backgroundColor:"transparent",border:`${(0,le.unit)(ne.lineWidth)} ${ne.lineType} transparent`,borderRadius:ne.borderRadius,outline:"none",transition:`all ${ne.motionDurationMid}`},[`&:hover ${de}-item-link`]:{backgroundColor:ne.colorBgTextHover},[`&:active ${de}-item-link`]:{backgroundColor:ne.colorBgTextActive},[`&${de}-disabled:hover`]:{[`${de}-item-link`]:{backgroundColor:"transparent"}}},[`${de}-slash`]:{marginInlineEnd:ne.paginationSlashMarginInlineEnd,marginInlineStart:ne.paginationSlashMarginInlineStart},[`${de}-options`]:{display:"inline-block",marginInlineStart:ne.margin,verticalAlign:"middle","&-size-changer":{display:"inline-block",width:"auto"},"&-quick-jumper":{display:"inline-block",height:ne.controlHeight,marginInlineStart:ne.marginXS,lineHeight:(0,le.unit)(ne.controlHeight),verticalAlign:"top",input:Object.assign(Object.assign(Object.assign({},(0,J.ik)(ne)),(0,Ce.$U)(ne,{borderColor:ne.colorBorder,hoverBorderColor:ne.colorPrimaryHover,activeBorderColor:ne.colorPrimary,activeShadow:ne.activeShadow})),{"&[disabled]":Object.assign({},(0,Ce.Xy)(ne)),width:ne.calc(ne.controlHeightLG).mul(1.25).equal(),height:ne.controlHeight,boxSizing:"border-box",margin:0,marginInlineStart:ne.marginXS,marginInlineEnd:ne.marginXS})}}}},Ze=ne=>{const{componentCls:de}=ne;return{[`${de}-item`]:{display:"inline-block",minWidth:ne.itemSize,height:ne.itemSize,marginInlineEnd:ne.marginXS,fontFamily:ne.fontFamily,lineHeight:(0,le.unit)(ne.calc(ne.itemSize).sub(2).equal()),textAlign:"center",verticalAlign:"middle",listStyle:"none",backgroundColor:ne.itemBg,border:`${(0,le.unit)(ne.lineWidth)} ${ne.lineType} transparent`,borderRadius:ne.borderRadius,outline:0,cursor:"pointer",userSelect:"none",a:{display:"block",padding:`0 ${(0,le.unit)(ne.paginationItemPaddingInline)}`,color:ne.colorText,"&:hover":{textDecoration:"none"}},[`&:not(${de}-item-active)`]:{"&:hover":{transition:`all ${ne.motionDurationMid}`,backgroundColor:ne.colorBgTextHover},"&:active":{backgroundColor:ne.colorBgTextActive}},"&-active":{fontWeight:ne.fontWeightStrong,backgroundColor:ne.itemActiveBg,borderColor:ne.colorPrimary,a:{color:ne.colorPrimary},"&:hover":{borderColor:ne.colorPrimaryHover},"&:hover a":{color:ne.colorPrimaryHover}}}}},Fe=ne=>{const{componentCls:de}=ne;return{[de]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},(0,be.Wf)(ne)),{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:'""'},[`${de}-total-text`]:{display:"inline-block",height:ne.itemSize,marginInlineEnd:ne.marginXS,lineHeight:(0,le.unit)(ne.calc(ne.itemSize).sub(2).equal()),verticalAlign:"middle"}}),Ze(ne)),ge(ne)),Re(ne)),$e(ne)),we(ne)),{[`@media only screen and (max-width: ${ne.screenLG}px)`]:{[`${de}-item`]:{"&-after-jump-prev, &-before-jump-next":{display:"none"}}},[`@media only screen and (max-width: ${ne.screenSM}px)`]:{[`${de}-options`]:{display:"none"}}}),[`&${ne.componentCls}-rtl`]:{direction:"rtl"}}},Te=ne=>{const{componentCls:de}=ne;return{[`${de}:not(${de}-disabled)`]:{[`${de}-item`]:Object.assign({},(0,be.Qy)(ne)),[`${de}-jump-prev, ${de}-jump-next`]:{"&:focus-visible":Object.assign({[`${de}-item-link-icon`]:{opacity:1},[`${de}-item-ellipsis`]:{opacity:0}},(0,be.oN)(ne))},[`${de}-prev, ${de}-next`]:{[`&:focus-visible ${de}-item-link`]:Object.assign({},(0,be.oN)(ne))}}}},Ge=ne=>Object.assign({itemBg:ne.colorBgContainer,itemSize:ne.controlHeight,itemSizeSM:ne.controlHeightSM,itemActiveBg:ne.colorBgContainer,itemLinkBg:ne.colorBgContainer,itemActiveColorDisabled:ne.colorTextDisabled,itemActiveBgDisabled:ne.controlItemBgActiveDisabled,itemInputBg:ne.colorBgContainer,miniOptionsSizeChangerTop:0},(0,ve.T)(ne)),Be=ne=>(0,Ae.mergeToken)(ne,{inputOutlineOffset:0,paginationMiniOptionsMarginInlineStart:ne.calc(ne.marginXXS).div(2).equal(),paginationMiniQuickJumperInputWidth:ne.calc(ne.controlHeightLG).mul(1.1).equal(),paginationItemPaddingInline:ne.calc(ne.marginXXS).mul(1.5).equal(),paginationEllipsisLetterSpacing:ne.calc(ne.marginXXS).div(2).equal(),paginationSlashMarginInlineStart:ne.marginSM,paginationSlashMarginInlineEnd:ne.marginSM,paginationEllipsisTextIndent:"0.13em"},(0,ve.e)(ne));var V=(0,Ue.I$)("Pagination",ne=>{const de=Be(ne);return[Fe(de),Te(de)]},Ge);const q=ne=>{const{componentCls:de}=ne;return{[`${de}${de}-bordered${de}-disabled:not(${de}-mini)`]:{"&, &:hover":{[`${de}-item-link`]:{borderColor:ne.colorBorder}},"&:focus-visible":{[`${de}-item-link`]:{borderColor:ne.colorBorder}},[`${de}-item, ${de}-item-link`]:{backgroundColor:ne.colorBgContainerDisabled,borderColor:ne.colorBorder,[`&:hover:not(${de}-item-active)`]:{backgroundColor:ne.colorBgContainerDisabled,borderColor:ne.colorBorder,a:{color:ne.colorTextDisabled}},[`&${de}-item-active`]:{backgroundColor:ne.itemActiveBgDisabled}},[`${de}-prev, ${de}-next`]:{"&:hover button":{backgroundColor:ne.colorBgContainerDisabled,borderColor:ne.colorBorder,color:ne.colorTextDisabled},[`${de}-item-link`]:{backgroundColor:ne.colorBgContainerDisabled,borderColor:ne.colorBorder}}},[`${de}${de}-bordered:not(${de}-mini)`]:{[`${de}-prev, ${de}-next`]:{"&:hover button":{borderColor:ne.colorPrimaryHover,backgroundColor:ne.itemBg},[`${de}-item-link`]:{backgroundColor:ne.itemLinkBg,borderColor:ne.colorBorder},[`&:hover ${de}-item-link`]:{borderColor:ne.colorPrimary,backgroundColor:ne.itemBg,color:ne.colorPrimary},[`&${de}-disabled`]:{[`${de}-item-link`]:{borderColor:ne.colorBorder,color:ne.colorTextDisabled}}},[`${de}-item`]:{backgroundColor:ne.itemBg,border:`${(0,le.unit)(ne.lineWidth)} ${ne.lineType} ${ne.colorBorder}`,[`&:hover:not(${de}-item-active)`]:{borderColor:ne.colorPrimary,backgroundColor:ne.itemBg,a:{color:ne.colorPrimary}},"&-active":{borderColor:ne.colorPrimary}}}}};var re=(0,Ue.bk)(["Pagination","bordered"],ne=>{const de=Be(ne);return[q(de)]},Ge);function ee(ne){return(0,h.useMemo)(()=>typeof ne=="boolean"?[ne,{}]:ne&&typeof ne=="object"?[!0,ne]:[void 0,void 0],[ne])}var oe=function(ne,de){var ut={};for(var Je in ne)Object.prototype.hasOwnProperty.call(ne,Je)&&de.indexOf(Je)<0&&(ut[Je]=ne[Je]);if(ne!=null&&typeof Object.getOwnPropertySymbols=="function")for(var ht=0,Je=Object.getOwnPropertySymbols(ne);ht{const{align:de,prefixCls:ut,selectPrefixCls:Je,className:ht,rootClassName:vt,style:qe,size:ft,locale:Ke,responsive:Oe,showSizeChanger:Ye,selectComponentClass:rt,pageSizeOptions:yt}=ne,Et=oe(ne,["align","prefixCls","selectPrefixCls","className","rootClassName","style","size","locale","responsive","showSizeChanger","selectComponentClass","pageSizeOptions"]),{xs:cn}=(0,W.Z)(Oe),[,Jt]=(0,Y.ZP)(),{getPrefixCls:zt,direction:vn,showSizeChanger:Fn,className:tn,style:Pn}=(0,K.dj)("pagination"),qt=zt("pagination",ut),[jt,kt,rn]=V(qt),It=(0,F.Z)(ft),Bt=It==="small"||!!(cn&&!It&&Oe),[Wt]=(0,j.Z)("Pagination",I.Z),Xt=Object.assign(Object.assign({},Wt),Ke),[_n,_t]=ee(Ye),[T,z]=ee(Fn),Z=_n!=null?_n:T,ie=_t!=null?_t:z,se=rt||X.default,Qe=h.useMemo(()=>yt?yt.map(je=>Number(je)):void 0,[yt]),lt=je=>{var Ne;const{disabled:Ee,size:Le,onSizeChange:Pe,"aria-label":We,className:he,options:Ve}=je,{className:tt,onChange:me}=ie||{},ye=(Ne=Ve.find(_e=>String(_e.value)===String(Le)))===null||Ne===void 0?void 0:Ne.value;return h.createElement(se,Object.assign({disabled:Ee,showSearch:!0,popupMatchSelectWidth:!1,getPopupContainer:_e=>_e.parentNode,"aria-label":We,options:Ve},ie,{value:ye,onChange:(_e,ke)=>{Pe==null||Pe(_e),me==null||me(_e,ke)},size:Bt?"small":"middle",className:g()(he,tt)}))},xt=h.useMemo(()=>{const je=h.createElement("span",{className:`${qt}-item-ellipsis`},"\u2022\u2022\u2022"),Ne=h.createElement("button",{className:`${qt}-item-link`,type:"button",tabIndex:-1},vn==="rtl"?h.createElement(l.Z,null):h.createElement(d.Z,null)),Ee=h.createElement("button",{className:`${qt}-item-link`,type:"button",tabIndex:-1},vn==="rtl"?h.createElement(d.Z,null):h.createElement(l.Z,null)),Le=h.createElement("a",{className:`${qt}-item-link`},h.createElement("div",{className:`${qt}-item-container`},vn==="rtl"?h.createElement(E.Z,{className:`${qt}-item-link-icon`}):h.createElement(m,{className:`${qt}-item-link-icon`}),je)),Pe=h.createElement("a",{className:`${qt}-item-link`},h.createElement("div",{className:`${qt}-item-container`},vn==="rtl"?h.createElement(m,{className:`${qt}-item-link-icon`}):h.createElement(E.Z,{className:`${qt}-item-link-icon`}),je));return{prevIcon:Ne,nextIcon:Ee,jumpPrevIcon:Le,jumpNextIcon:Pe}},[vn,qt]),at=zt("select",Je),Nt=g()({[`${qt}-${de}`]:!!de,[`${qt}-mini`]:Bt,[`${qt}-rtl`]:vn==="rtl",[`${qt}-bordered`]:Jt.wireframe},tn,ht,vt,kt,rn),Gt=Object.assign(Object.assign({},Pn),qe);return jt(h.createElement(h.Fragment,null,Jt.wireframe&&h.createElement(re,{prefixCls:qt}),h.createElement(N,Object.assign({},xt,Et,{style:Gt,prefixCls:qt,selectPrefixCls:at,className:Nt,locale:Xt,pageSizeOptions:Qe,showSizeChanger:Z,sizeChangerRender:lt}))))},xe=fe},69106:function(Ln,pt,M){"use strict";M.d(pt,{aV:function(){return E},t5:function(){return d}});var h=M(59301),k=M(92310),P=M.n(k),_=M(29125),B=M(54500),C=M(48755),p=M(85074),m=function(o,g){var r={};for(var n in o)Object.prototype.hasOwnProperty.call(o,n)&&g.indexOf(n)<0&&(r[n]=o[n]);if(o!=null&&typeof Object.getOwnPropertySymbols=="function")for(var a=0,n=Object.getOwnPropertySymbols(o);a{let{title:g,content:r,prefixCls:n}=o;return!g&&!r?null:h.createElement(h.Fragment,null,g&&h.createElement("div",{className:`${n}-title`},g),r&&h.createElement("div",{className:`${n}-inner-content`},r))},d=o=>{const{hashId:g,prefixCls:r,className:n,style:a,placement:c="top",title:u,content:s,children:v}=o,e=(0,B.Z)(u),t=(0,B.Z)(s),i=P()(g,r,`${r}-pure`,`${r}-placement-${c}`,n);return h.createElement("div",{className:i,style:a},h.createElement("div",{className:`${r}-arrow`}),h.createElement(_.G,Object.assign({},o,{className:g,prefixCls:r}),v||h.createElement(E,{prefixCls:r,title:e,content:t})))},l=o=>{const{prefixCls:g,className:r}=o,n=m(o,["prefixCls","className"]),{getPrefixCls:a}=h.useContext(C.E_),c=a("popover",g),[u,s,v]=(0,p.Z)(c);return u(h.createElement(d,Object.assign({},n,{prefixCls:c,hashId:s,className:P()(r,v)})))};pt.ZP=l},37639:function(Ln,pt,M){"use strict";var h=M(59301),k=M(92310),P=M.n(k),_=M(18929),B=M(10228),C=M(54500),p=M(86641),m=M(22703),E=M(25399),d=M(69106),l=M(48755),o=M(85074),g=function(a,c){var u={};for(var s in a)Object.prototype.hasOwnProperty.call(a,s)&&c.indexOf(s)<0&&(u[s]=a[s]);if(a!=null&&typeof Object.getOwnPropertySymbols=="function")for(var v=0,s=Object.getOwnPropertySymbols(a);v{var u,s;const{prefixCls:v,title:e,content:t,overlayClassName:i,placement:f="top",trigger:y="hover",children:b,mouseEnterDelay:x=.1,mouseLeaveDelay:A=.1,onOpenChange:w,overlayStyle:L={},styles:D,classNames:O}=a,N=g(a,["prefixCls","title","content","overlayClassName","placement","trigger","children","mouseEnterDelay","mouseLeaveDelay","onOpenChange","overlayStyle","styles","classNames"]),{getPrefixCls:I,className:K,style:F,classNames:W,styles:j}=(0,l.dj)("popover"),X=I("popover",v),[Y,le,J]=(0,o.Z)(X),ve=I(),Ce=P()(i,le,J,K,W.root,O==null?void 0:O.root),be=P()(W.body,O==null?void 0:O.body),[Ae,Ue]=(0,_.Z)(!1,{value:(u=a.open)!==null&&u!==void 0?u:a.visible,defaultValue:(s=a.defaultOpen)!==null&&s!==void 0?s:a.defaultVisible}),we=(Fe,Te)=>{Ue(Fe,!0),w==null||w(Fe,Te)},$e=Fe=>{Fe.keyCode===B.Z.ESC&&we(!1,Fe)},Re=Fe=>{we(Fe)},ge=(0,C.Z)(e),Ze=(0,C.Z)(t);return Y(h.createElement(E.Z,Object.assign({placement:f,trigger:y,mouseEnterDelay:x,mouseLeaveDelay:A},N,{prefixCls:X,classNames:{root:Ce,body:be},styles:{root:Object.assign(Object.assign(Object.assign(Object.assign({},j.root),F),L),D==null?void 0:D.root),body:Object.assign(Object.assign({},j.body),D==null?void 0:D.body)},ref:c,open:Ae,onOpenChange:Re,overlay:ge||Ze?h.createElement(d.aV,{prefixCls:X,title:ge,content:Ze}):null,transitionName:(0,p.m)(ve,"zoom-big",N.transitionName),"data-popover-inject":!0}),(0,m.Tm)(b,{onKeyDown:Fe=>{var Te,Ge;h.isValidElement(b)&&((Ge=b==null?void 0:(Te=b.props).onKeyDown)===null||Ge===void 0||Ge.call(Te,Fe)),$e(Fe)}})))});n._InternalPanelDoNotUseOrYouWillBeFired=d.ZP,pt.Z=n},85074:function(Ln,pt,M){"use strict";var h=M(63356),k=M(34925),P=M(37645),_=M(36305),B=M(34998),C=M(16931),p=M(51636);const m=l=>{const{componentCls:o,popoverColor:g,titleMinWidth:r,fontWeightStrong:n,innerPadding:a,boxShadowSecondary:c,colorTextHeading:u,borderRadiusLG:s,zIndexPopup:v,titleMarginBottom:e,colorBgElevated:t,popoverBg:i,titleBorderBottom:f,innerContentPadding:y,titlePadding:b}=l;return[{[o]:Object.assign(Object.assign({},(0,h.Wf)(l)),{position:"absolute",top:0,left:{_skip_check_:!0,value:0},zIndex:v,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":t,width:"max-content",maxWidth:"100vw","&-rtl":{direction:"rtl"},"&-hidden":{display:"none"},[`${o}-content`]:{position:"relative"},[`${o}-inner`]:{backgroundColor:i,backgroundClip:"padding-box",borderRadius:s,boxShadow:c,padding:a},[`${o}-title`]:{minWidth:r,marginBottom:e,color:u,fontWeight:n,borderBottom:f,padding:b},[`${o}-inner-content`]:{color:g,padding:y}})},(0,P.ZP)(l,"var(--antd-arrow-background-color)"),{[`${o}-pure`]:{position:"relative",maxWidth:"none",margin:l.sizePopupArrow,display:"inline-block",[`${o}-content`]:{display:"inline-block"}}}]},E=l=>{const{componentCls:o}=l;return{[o]:B.i.map(g=>{const r=l[`${g}6`];return{[`&${o}-${g}`]:{"--antd-arrow-background-color":r,[`${o}-inner`]:{backgroundColor:r},[`${o}-arrow`]:{background:"transparent"}}}})}},d=l=>{const{lineWidth:o,controlHeight:g,fontHeight:r,padding:n,wireframe:a,zIndexPopupBase:c,borderRadiusLG:u,marginXS:s,lineType:v,colorSplit:e,paddingSM:t}=l,i=g-r,f=i/2,y=i/2-o,b=n;return Object.assign(Object.assign(Object.assign({titleMinWidth:177,zIndexPopup:c+30},(0,_.w)(l)),(0,P.wZ)({contentRadius:u,limitVerticalRadius:!0})),{innerPadding:a?0:12,titleMarginBottom:a?0:s,titlePadding:a?`${f}px ${b}px ${y}px`:0,titleBorderBottom:a?`${o}px ${v} ${e}`:"none",innerContentPadding:a?`${t}px ${b}px`:0})};pt.Z=(0,C.I$)("Popover",l=>{const{colorBgElevated:o,colorText:g}=l,r=(0,p.mergeToken)(l,{popoverBg:o,popoverColor:g});return[m(r),E(r),(0,k._y)(r,"zoom-big")]},d,{resetStyle:!1,deprecatedTokens:[["width","titleMinWidth"],["minWidth","titleMinWidth"]]})},89787:function(Ln,pt,M){"use strict";M.d(pt,{Z:function(){return Ke}});var h=M(59301),k=M(17835),P=M(29679),_=M(40001),B=M(19248),C=M(99267),p=M(92310),m=M.n(p),E=M(2738),d=M(48755),l=M(54476),o=M(33885),g=M(75931),r={percent:0,prefixCls:"rc-progress",strokeColor:"#2db7f5",strokeLinecap:"round",strokeWidth:1,trailColor:"#D9D9D9",trailWidth:1,gapPosition:"bottom"},n=function(){var Ye=(0,h.useRef)([]),rt=(0,h.useRef)(null);return(0,h.useEffect)(function(){var yt=Date.now(),Et=!1;Ye.current.forEach(function(cn){if(cn){Et=!0;var Jt=cn.style;Jt.transitionDuration=".3s, .3s, .3s, .06s",rt.current&&yt-rt.current<100&&(Jt.transitionDuration="0s, 0s")}}),Et&&(rt.current=Date.now())}),Ye.current},a=["className","percent","prefixCls","strokeColor","strokeLinecap","strokeWidth","style","trailColor","trailWidth","transition"],c=function(Ye){var rt=(0,o.Z)((0,o.Z)({},r),Ye),yt=rt.className,Et=rt.percent,cn=rt.prefixCls,Jt=rt.strokeColor,zt=rt.strokeLinecap,vn=rt.strokeWidth,Fn=rt.style,tn=rt.trailColor,Pn=rt.trailWidth,qt=rt.transition,jt=(0,g.Z)(rt,a);delete jt.gapPosition;var kt=Array.isArray(Et)?Et:[Et],rn=Array.isArray(Jt)?Jt:[Jt],It=n(),Bt=vn/2,Wt=100-vn/2,Xt="M ".concat(zt==="round"?Bt:0,",").concat(Bt,` L `).concat(zt==="round"?Wt:100,",").concat(Bt),_n="0 0 100 ".concat(vn),_t=0;return h.createElement("svg",(0,l.Z)({className:m()("".concat(cn,"-line"),yt),viewBox:_n,preserveAspectRatio:"none",style:Fn},jt),h.createElement("path",{className:"".concat(cn,"-line-trail"),d:Xt,strokeLinecap:zt,stroke:tn,strokeWidth:Pn||vn,fillOpacity:"0"}),kt.map(function(T,z){var Z=1;switch(zt){case"round":Z=1-vn/100;break;case"square":Z=1-vn/2/100;break;default:Z=1;break}var ie={strokeDasharray:"".concat(T*Z,"px, 100px"),strokeDashoffset:"-".concat(_t,"px"),transition:qt||"stroke-dashoffset 0.3s ease 0s, stroke-dasharray .3s ease 0s, stroke 0.3s linear"},se=rn[z]||rn[rn.length-1];return _t+=T,h.createElement("path",{key:z,className:"".concat(cn,"-line-path"),d:Xt,strokeLinecap:zt,stroke:se,strokeWidth:vn,fillOpacity:"0",ref:function(lt){It[z]=lt},style:ie})}))},u=c,s=M(76190),v=M(42978),e=M(47273),t=0,i=(0,e.Z)();function f(){var Oe;return i?(Oe=t,t+=1):Oe="TEST_OR_SSR",Oe}var y=function(Oe){var Ye=h.useState(),rt=(0,v.Z)(Ye,2),yt=rt[0],Et=rt[1];return h.useEffect(function(){Et("rc_progress_".concat(f()))},[]),Oe||yt},b=function(Ye){var rt=Ye.bg,yt=Ye.children;return h.createElement("div",{style:{width:"100%",height:"100%",background:rt}},yt)};function x(Oe,Ye){return Object.keys(Oe).map(function(rt){var yt=parseFloat(rt),Et="".concat(Math.floor(yt*Ye),"%");return"".concat(Oe[rt]," ").concat(Et)})}var A=h.forwardRef(function(Oe,Ye){var rt=Oe.prefixCls,yt=Oe.color,Et=Oe.gradientId,cn=Oe.radius,Jt=Oe.style,zt=Oe.ptg,vn=Oe.strokeLinecap,Fn=Oe.strokeWidth,tn=Oe.size,Pn=Oe.gapDegree,qt=yt&&(0,s.Z)(yt)==="object",jt=qt?"#FFF":void 0,kt=tn/2,rn=h.createElement("circle",{className:"".concat(rt,"-circle-path"),r:cn,cx:kt,cy:kt,stroke:jt,strokeLinecap:vn,strokeWidth:Fn,opacity:zt===0?0:1,style:Jt,ref:Ye});if(!qt)return rn;var It="".concat(Et,"-conic"),Bt=Pn?"".concat(180+Pn/2,"deg"):"0deg",Wt=x(yt,(360-Pn)/360),Xt=x(yt,1),_n="conic-gradient(from ".concat(Bt,", ").concat(Wt.join(", "),")"),_t="linear-gradient(to ".concat(Pn?"bottom":"top",", ").concat(Xt.join(", "),")");return h.createElement(h.Fragment,null,h.createElement("mask",{id:It},rn),h.createElement("foreignObject",{x:0,y:0,width:tn,height:tn,mask:"url(#".concat(It,")")},h.createElement(b,{bg:_t},h.createElement(b,{bg:_n}))))}),w=A,L=100,D=function(Ye,rt,yt,Et,cn,Jt,zt,vn,Fn,tn){var Pn=arguments.length>10&&arguments[10]!==void 0?arguments[10]:0,qt=yt/100*360*((360-Jt)/360),jt=Jt===0?0:{bottom:0,top:180,left:90,right:-90}[zt],kt=(100-Et)/100*rt;Fn==="round"&&Et!==100&&(kt+=tn/2,kt>=rt&&(kt=rt-.01));var rn=L/2;return{stroke:typeof vn=="string"?vn:void 0,strokeDasharray:"".concat(rt,"px ").concat(Ye),strokeDashoffset:kt+Pn,transform:"rotate(".concat(cn+qt+jt,"deg)"),transformOrigin:"".concat(rn,"px ").concat(rn,"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}},O=["id","prefixCls","steps","strokeWidth","trailWidth","gapDegree","gapPosition","trailColor","strokeLinecap","style","className","strokeColor","percent"];function N(Oe){var Ye=Oe!=null?Oe:[];return Array.isArray(Ye)?Ye:[Ye]}var I=function(Ye){var rt=(0,o.Z)((0,o.Z)({},r),Ye),yt=rt.id,Et=rt.prefixCls,cn=rt.steps,Jt=rt.strokeWidth,zt=rt.trailWidth,vn=rt.gapDegree,Fn=vn===void 0?0:vn,tn=rt.gapPosition,Pn=rt.trailColor,qt=rt.strokeLinecap,jt=rt.style,kt=rt.className,rn=rt.strokeColor,It=rt.percent,Bt=(0,g.Z)(rt,O),Wt=L/2,Xt=y(yt),_n="".concat(Xt,"-gradient"),_t=Wt-Jt/2,T=Math.PI*2*_t,z=Fn>0?90+Fn/2:-90,Z=T*((360-Fn)/360),ie=(0,s.Z)(cn)==="object"?cn:{count:cn,gap:2},se=ie.count,Qe=ie.gap,lt=N(It),xt=N(rn),at=xt.find(function(Pe){return Pe&&(0,s.Z)(Pe)==="object"}),Nt=at&&(0,s.Z)(at)==="object",Gt=Nt?"butt":qt,je=D(T,Z,0,100,z,Fn,tn,Pn,Gt,Jt),Ne=n(),Ee=function(){var We=0;return lt.map(function(he,Ve){var tt=xt[Ve]||xt[xt.length-1],me=D(T,Z,We,he,z,Fn,tn,tt,Gt,Jt);return We+=he,h.createElement(w,{key:Ve,color:tt,ptg:he,radius:_t,prefixCls:Et,gradientId:_n,style:me,strokeLinecap:Gt,strokeWidth:Jt,gapDegree:Fn,ref:function(_e){Ne[Ve]=_e},size:L})}).reverse()},Le=function(){var We=Math.round(se*(lt[0]/100)),he=100/se,Ve=0;return new Array(se).fill(null).map(function(tt,me){var ye=me<=We-1?xt[0]:Pn,_e=ye&&(0,s.Z)(ye)==="object"?"url(#".concat(_n,")"):void 0,ke=D(T,Z,Ve,he,z,Fn,tn,ye,"butt",Jt,Qe);return Ve+=(Z-ke.strokeDashoffset+Qe)*100/Z,h.createElement("circle",{key:me,className:"".concat(Et,"-circle-path"),r:_t,cx:Wt,cy:Wt,stroke:_e,strokeWidth:Jt,opacity:1,style:ke,ref:function(ct){Ne[me]=ct}})})};return h.createElement("svg",(0,l.Z)({className:m()("".concat(Et,"-circle"),kt),viewBox:"0 0 ".concat(L," ").concat(L),style:jt,id:yt,role:"presentation"},Bt),!se&&h.createElement("circle",{className:"".concat(Et,"-circle-trail"),r:_t,cx:Wt,cy:Wt,stroke:Pn,strokeLinecap:Gt,strokeWidth:zt||Jt,style:je}),se?Le():Ee())},K=I,F={Line:u,Circle:K},W=M(25399),j=M(68361);function X(Oe){return!Oe||Oe<0?0:Oe>100?100:Oe}function Y(Oe){let{success:Ye,successPercent:rt}=Oe,yt=rt;return Ye&&"progress"in Ye&&(yt=Ye.progress),Ye&&"percent"in Ye&&(yt=Ye.percent),yt}const le=Oe=>{let{percent:Ye,success:rt,successPercent:yt}=Oe;const Et=X(Y({success:rt,successPercent:yt}));return[Et,X(X(Ye)-Et)]},J=Oe=>{let{success:Ye={},strokeColor:rt}=Oe;const{strokeColor:yt}=Ye;return[yt||j.presetPrimaryColors.green,rt||null]},ve=(Oe,Ye,rt)=>{var yt,Et,cn,Jt;let zt=-1,vn=-1;if(Ye==="step"){const Fn=rt.steps,tn=rt.strokeWidth;typeof Oe=="string"||typeof Oe=="undefined"?(zt=Oe==="small"?2:14,vn=tn!=null?tn:8):typeof Oe=="number"?[zt,vn]=[Oe,Oe]:[zt=14,vn=8]=Array.isArray(Oe)?Oe:[Oe.width,Oe.height],zt*=Fn}else if(Ye==="line"){const Fn=rt==null?void 0:rt.strokeWidth;typeof Oe=="string"||typeof Oe=="undefined"?vn=Fn||(Oe==="small"?6:8):typeof Oe=="number"?[zt,vn]=[Oe,Oe]:[zt=-1,vn=8]=Array.isArray(Oe)?Oe:[Oe.width,Oe.height]}else(Ye==="circle"||Ye==="dashboard")&&(typeof Oe=="string"||typeof Oe=="undefined"?[zt,vn]=Oe==="small"?[60,60]:[120,120]:typeof Oe=="number"?[zt,vn]=[Oe,Oe]:Array.isArray(Oe)&&(zt=(Et=(yt=Oe[0])!==null&&yt!==void 0?yt:Oe[1])!==null&&Et!==void 0?Et:120,vn=(Jt=(cn=Oe[0])!==null&&cn!==void 0?cn:Oe[1])!==null&&Jt!==void 0?Jt:120));return[zt,vn]},Ce=3,be=Oe=>Ce/Oe*100;var Ue=Oe=>{const{prefixCls:Ye,trailColor:rt=null,strokeLinecap:yt="round",gapPosition:Et,gapDegree:cn,width:Jt=120,type:zt,children:vn,success:Fn,size:tn=Jt,steps:Pn}=Oe,[qt,jt]=ve(tn,"circle");let{strokeWidth:kt}=Oe;kt===void 0&&(kt=Math.max(be(qt),6));const rn={width:qt,height:jt,fontSize:qt*.15+6},It=h.useMemo(()=>{if(cn||cn===0)return cn;if(zt==="dashboard")return 75},[cn,zt]),Bt=le(Oe),Wt=Et||zt==="dashboard"&&"bottom"||void 0,Xt=Object.prototype.toString.call(Oe.strokeColor)==="[object Object]",_n=J({success:Fn,strokeColor:Oe.strokeColor}),_t=m()(`${Ye}-inner`,{[`${Ye}-circle-gradient`]:Xt}),T=h.createElement(K,{steps:Pn,percent:Pn?Bt[1]:Bt,strokeWidth:kt,trailWidth:kt,strokeColor:Pn?_n[1]:_n,strokeLinecap:yt,trailColor:rt,prefixCls:Ye,gapDegree:It,gapPosition:Wt}),z=qt<=20,Z=h.createElement("div",{className:_t,style:rn},T,!z&&vn);return z?h.createElement(W.Z,{title:vn},Z):Z},we=M(36237),$e=M(63356),Re=M(16931),ge=M(51636);const Ze="--progress-line-stroke-color",Fe="--progress-percent",Te=Oe=>{const Ye=Oe?"100%":"-100%";return new we.Keyframes(`antProgress${Oe?"RTL":"LTR"}Active`,{"0%":{transform:`translateX(${Ye}) scaleX(0)`,opacity:.1},"20%":{transform:`translateX(${Ye}) scaleX(0)`,opacity:.5},to:{transform:"translateX(0) scaleX(1)",opacity:0}})},Ge=Oe=>{const{componentCls:Ye,iconCls:rt}=Oe;return{[Ye]:Object.assign(Object.assign({},(0,$e.Wf)(Oe)),{display:"inline-block","&-rtl":{direction:"rtl"},"&-line":{position:"relative",width:"100%",fontSize:Oe.fontSize},[`${Ye}-outer`]:{display:"inline-flex",alignItems:"center",width:"100%"},[`${Ye}-inner`]:{position:"relative",display:"inline-block",width:"100%",flex:1,overflow:"hidden",verticalAlign:"middle",backgroundColor:Oe.remainingColor,borderRadius:Oe.lineBorderRadius},[`${Ye}-inner:not(${Ye}-circle-gradient)`]:{[`${Ye}-circle-path`]:{stroke:Oe.defaultColor}},[`${Ye}-success-bg, ${Ye}-bg`]:{position:"relative",background:Oe.defaultColor,borderRadius:Oe.lineBorderRadius,transition:`all ${Oe.motionDurationSlow} ${Oe.motionEaseInOutCirc}`},[`${Ye}-layout-bottom`]:{display:"flex",flexDirection:"column",alignItems:"center",justifyContent:"center",[`${Ye}-text`]:{width:"max-content",marginInlineStart:0,marginTop:Oe.marginXXS}},[`${Ye}-bg`]:{overflow:"hidden","&::after":{content:'""',background:{_multi_value_:!0,value:["inherit",`var(${Ze})`]},height:"100%",width:`calc(1 / var(${Fe}) * 100%)`,display:"block"},[`&${Ye}-bg-inner`]:{minWidth:"max-content","&::after":{content:"none"},[`${Ye}-text-inner`]:{color:Oe.colorWhite,[`&${Ye}-text-bright`]:{color:"rgba(0, 0, 0, 0.45)"}}}},[`${Ye}-success-bg`]:{position:"absolute",insetBlockStart:0,insetInlineStart:0,backgroundColor:Oe.colorSuccess},[`${Ye}-text`]:{display:"inline-block",marginInlineStart:Oe.marginXS,color:Oe.colorText,lineHeight:1,width:"2em",whiteSpace:"nowrap",textAlign:"start",verticalAlign:"middle",wordBreak:"normal",[rt]:{fontSize:Oe.fontSize},[`&${Ye}-text-outer`]:{width:"max-content"},[`&${Ye}-text-outer${Ye}-text-start`]:{width:"max-content",marginInlineStart:0,marginInlineEnd:Oe.marginXS}},[`${Ye}-text-inner`]:{display:"flex",justifyContent:"center",alignItems:"center",width:"100%",height:"100%",marginInlineStart:0,padding:`0 ${(0,we.unit)(Oe.paddingXXS)}`,[`&${Ye}-text-start`]:{justifyContent:"start"},[`&${Ye}-text-end`]:{justifyContent:"end"}},[`&${Ye}-status-active`]:{[`${Ye}-bg::before`]:{position:"absolute",inset:0,backgroundColor:Oe.colorBgContainer,borderRadius:Oe.lineBorderRadius,opacity:0,animationName:Te(),animationDuration:Oe.progressActiveMotionDuration,animationTimingFunction:Oe.motionEaseOutQuint,animationIterationCount:"infinite",content:'""'}},[`&${Ye}-rtl${Ye}-status-active`]:{[`${Ye}-bg::before`]:{animationName:Te(!0)}},[`&${Ye}-status-exception`]:{[`${Ye}-bg`]:{backgroundColor:Oe.colorError},[`${Ye}-text`]:{color:Oe.colorError}},[`&${Ye}-status-exception ${Ye}-inner:not(${Ye}-circle-gradient)`]:{[`${Ye}-circle-path`]:{stroke:Oe.colorError}},[`&${Ye}-status-success`]:{[`${Ye}-bg`]:{backgroundColor:Oe.colorSuccess},[`${Ye}-text`]:{color:Oe.colorSuccess}},[`&${Ye}-status-success ${Ye}-inner:not(${Ye}-circle-gradient)`]:{[`${Ye}-circle-path`]:{stroke:Oe.colorSuccess}}})}},Be=Oe=>{const{componentCls:Ye,iconCls:rt}=Oe;return{[Ye]:{[`${Ye}-circle-trail`]:{stroke:Oe.remainingColor},[`&${Ye}-circle ${Ye}-inner`]:{position:"relative",lineHeight:1,backgroundColor:"transparent"},[`&${Ye}-circle ${Ye}-text`]:{position:"absolute",insetBlockStart:"50%",insetInlineStart:0,width:"100%",margin:0,padding:0,color:Oe.circleTextColor,fontSize:Oe.circleTextFontSize,lineHeight:1,whiteSpace:"normal",textAlign:"center",transform:"translateY(-50%)",[rt]:{fontSize:Oe.circleIconFontSize}},[`${Ye}-circle&-status-exception`]:{[`${Ye}-text`]:{color:Oe.colorError}},[`${Ye}-circle&-status-success`]:{[`${Ye}-text`]:{color:Oe.colorSuccess}}},[`${Ye}-inline-circle`]:{lineHeight:1,[`${Ye}-inner`]:{verticalAlign:"bottom"}}}},V=Oe=>{const{componentCls:Ye}=Oe;return{[Ye]:{[`${Ye}-steps`]:{display:"inline-block","&-outer":{display:"flex",flexDirection:"row",alignItems:"center"},"&-item":{flexShrink:0,minWidth:Oe.progressStepMinWidth,marginInlineEnd:Oe.progressStepMarginInlineEnd,backgroundColor:Oe.remainingColor,transition:`all ${Oe.motionDurationSlow}`,"&-active":{backgroundColor:Oe.defaultColor}}}}}},q=Oe=>{const{componentCls:Ye,iconCls:rt}=Oe;return{[Ye]:{[`${Ye}-small&-line, ${Ye}-small&-line ${Ye}-text ${rt}`]:{fontSize:Oe.fontSizeSM}}}},re=Oe=>({circleTextColor:Oe.colorText,defaultColor:Oe.colorInfo,remainingColor:Oe.colorFillSecondary,lineBorderRadius:100,circleTextFontSize:"1em",circleIconFontSize:`${Oe.fontSize/Oe.fontSizeSM}em`});var ee=(0,Re.I$)("Progress",Oe=>{const Ye=Oe.calc(Oe.marginXXS).div(2).equal(),rt=(0,ge.mergeToken)(Oe,{progressStepMarginInlineEnd:Ye,progressStepMinWidth:Ye,progressActiveMotionDuration:"2.4s"});return[Ge(rt),Be(rt),V(rt),q(rt)]},re),oe=function(Oe,Ye){var rt={};for(var yt in Oe)Object.prototype.hasOwnProperty.call(Oe,yt)&&Ye.indexOf(yt)<0&&(rt[yt]=Oe[yt]);if(Oe!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Et=0,yt=Object.getOwnPropertySymbols(Oe);Et{let Ye=[];return Object.keys(Oe).forEach(rt=>{const yt=parseFloat(rt.replace(/%/g,""));Number.isNaN(yt)||Ye.push({key:yt,value:Oe[rt]})}),Ye=Ye.sort((rt,yt)=>rt.key-yt.key),Ye.map(rt=>{let{key:yt,value:Et}=rt;return`${Et} ${yt}%`}).join(", ")},fe=(Oe,Ye)=>{const{from:rt=j.presetPrimaryColors.blue,to:yt=j.presetPrimaryColors.blue,direction:Et=Ye==="rtl"?"to left":"to right"}=Oe,cn=oe(Oe,["from","to","direction"]);if(Object.keys(cn).length!==0){const zt=$(cn),vn=`linear-gradient(${Et}, ${zt})`;return{background:vn,[Ze]:vn}}const Jt=`linear-gradient(${Et}, ${rt}, ${yt})`;return{background:Jt,[Ze]:Jt}};var ne=Oe=>{const{prefixCls:Ye,direction:rt,percent:yt,size:Et,strokeWidth:cn,strokeColor:Jt,strokeLinecap:zt="round",children:vn,trailColor:Fn=null,percentPosition:tn,success:Pn}=Oe,{align:qt,type:jt}=tn,kt=Jt&&typeof Jt!="string"?fe(Jt,rt):{[Ze]:Jt,background:Jt},rn=zt==="square"||zt==="butt"?0:void 0,It=Et!=null?Et:[-1,cn||(Et==="small"?6:8)],[Bt,Wt]=ve(It,"line",{strokeWidth:cn}),Xt={backgroundColor:Fn||void 0,borderRadius:rn},_n=Object.assign(Object.assign({width:`${X(yt)}%`,height:Wt,borderRadius:rn},kt),{[Fe]:X(yt)/100}),_t=Y(Oe),T={width:`${X(_t)}%`,height:Wt,borderRadius:rn,backgroundColor:Pn==null?void 0:Pn.strokeColor},z={width:Bt<0?"100%":Bt},Z=h.createElement("div",{className:`${Ye}-inner`,style:Xt},h.createElement("div",{className:m()(`${Ye}-bg`,`${Ye}-bg-${jt}`),style:_n},jt==="inner"&&vn),_t!==void 0&&h.createElement("div",{className:`${Ye}-success-bg`,style:T})),ie=jt==="outer"&&qt==="start",se=jt==="outer"&&qt==="end";return jt==="outer"&&qt==="center"?h.createElement("div",{className:`${Ye}-layout-bottom`},Z,vn):h.createElement("div",{className:`${Ye}-outer`,style:z},ie&&vn,Z,se&&vn)},ut=Oe=>{const{size:Ye,steps:rt,rounding:yt=Math.round,percent:Et=0,strokeWidth:cn=8,strokeColor:Jt,trailColor:zt=null,prefixCls:vn,children:Fn}=Oe,tn=yt(rt*(Et/100)),Pn=Ye==="small"?2:14,qt=Ye!=null?Ye:[Pn,cn],[jt,kt]=ve(qt,"step",{steps:rt,strokeWidth:cn}),rn=jt/rt,It=Array.from({length:rt});for(let Bt=0;Bt{const{prefixCls:rt,className:yt,rootClassName:Et,steps:cn,strokeColor:Jt,percent:zt=0,size:vn="default",showInfo:Fn=!0,type:tn="line",status:Pn,format:qt,style:jt,percentPosition:kt={}}=Oe,rn=Je(Oe,["prefixCls","className","rootClassName","steps","strokeColor","percent","size","showInfo","type","status","format","style","percentPosition"]),{align:It="end",type:Bt="outer"}=kt,Wt=Array.isArray(Jt)?Jt[0]:Jt,Xt=typeof Jt=="string"||Array.isArray(Jt)?Jt:void 0,_n=h.useMemo(()=>{if(Wt){const Ee=typeof Wt=="string"?Wt:Object.values(Wt)[0];return new k.FastColor(Ee).isLight()}return!1},[Jt]),_t=h.useMemo(()=>{var Ee,Le;const Pe=Y(Oe);return parseInt(Pe!==void 0?(Ee=Pe!=null?Pe:0)===null||Ee===void 0?void 0:Ee.toString():(Le=zt!=null?zt:0)===null||Le===void 0?void 0:Le.toString(),10)},[zt,Oe.success,Oe.successPercent]),T=h.useMemo(()=>!vt.includes(Pn)&&_t>=100?"success":Pn||"normal",[Pn,_t]),{getPrefixCls:z,direction:Z,progress:ie}=h.useContext(d.E_),se=z("progress",rt),[Qe,lt,xt]=ee(se),at=tn==="line",Nt=at&&!cn,Gt=h.useMemo(()=>{if(!Fn)return null;const Ee=Y(Oe);let Le;const Pe=qt||(he=>`${he}%`),We=at&&_n&&Bt==="inner";return Bt==="inner"||qt||T!=="exception"&&T!=="success"?Le=Pe(X(zt),X(Ee)):T==="exception"?Le=at?h.createElement(B.Z,null):h.createElement(C.Z,null):T==="success"&&(Le=at?h.createElement(P.Z,null):h.createElement(_.Z,null)),h.createElement("span",{className:m()(`${se}-text`,{[`${se}-text-bright`]:We,[`${se}-text-${It}`]:Nt,[`${se}-text-${Bt}`]:Nt}),title:typeof Le=="string"?Le:void 0},Le)},[Fn,zt,_t,T,tn,se,qt]);let je;tn==="line"?je=cn?h.createElement(ut,Object.assign({},Oe,{strokeColor:Xt,prefixCls:se,steps:typeof cn=="object"?cn.count:cn}),Gt):h.createElement(ne,Object.assign({},Oe,{strokeColor:Wt,prefixCls:se,direction:Z,percentPosition:{align:It,type:Bt}}),Gt):(tn==="circle"||tn==="dashboard")&&(je=h.createElement(Ue,Object.assign({},Oe,{strokeColor:Wt,prefixCls:se,progressStatus:T}),Gt));const Ne=m()(se,`${se}-status-${T}`,{[`${se}-${tn==="dashboard"&&"circle"||tn}`]:tn!=="line",[`${se}-inline-circle`]:tn==="circle"&&ve(vn,"circle")[0]<=20,[`${se}-line`]:Nt,[`${se}-line-align-${It}`]:Nt,[`${se}-line-position-${Bt}`]:Nt,[`${se}-steps`]:cn,[`${se}-show-info`]:Fn,[`${se}-${vn}`]:typeof vn=="string",[`${se}-rtl`]:Z==="rtl"},ie==null?void 0:ie.className,yt,Et,lt,xt);return Qe(h.createElement("div",Object.assign({ref:Ye,style:Object.assign(Object.assign({},ie==null?void 0:ie.style),jt),className:Ne,role:"progressbar","aria-valuenow":_t,"aria-valuemin":0,"aria-valuemax":100},(0,E.Z)(rn,["trailColor","strokeWidth","width","gapDegree","gapPosition","strokeLinecap","success","successPercent"])),je))}),Ke=ft},63139:function(Ln,pt,M){"use strict";M.d(pt,{Z:function(){return le}});var h=M(59301),k=M(54476),P={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"},_=P,B=M(7657),C=function(ve,Ce){return h.createElement(B.Z,(0,k.Z)({},ve,{ref:Ce,icon:_}))},p=h.forwardRef(C),m=p,E=M(92310),d=M.n(E),l=M(20068),o=M(42978),g=M(75931),r=M(18929),n=M(10228),a=M(26112);function c(J,ve){var Ce=J.disabled,be=J.prefixCls,Ae=J.character,Ue=J.characterRender,we=J.index,$e=J.count,Re=J.value,ge=J.allowHalf,Ze=J.focused,Fe=J.onHover,Te=J.onClick,Ge=function(fe){Fe(fe,we)},Be=function(fe){Te(fe,we)},V=function(fe){fe.keyCode===n.Z.ENTER&&Te(fe,we)},q=we+1,re=new Set([be]);Re===0&&we===0&&Ze?re.add("".concat(be,"-focused")):ge&&Re+.5>=q&&Rewe?"true":"false","aria-posinset":we+1,"aria-setsize":$e,tabIndex:Ce?-1:0},h.createElement("div",{className:"".concat(be,"-first")},ee),h.createElement("div",{className:"".concat(be,"-second")},ee)));return Ue&&(oe=Ue(oe,J)),oe}var u=h.forwardRef(c);function s(){var J=h.useRef({});function ve(be){return J.current[be]}function Ce(be){return function(Ae){J.current[be]=Ae}}return[ve,Ce]}function v(J){var ve=J.pageXOffset,Ce="scrollLeft";if(typeof ve!="number"){var be=J.document;ve=be.documentElement[Ce],typeof ve!="number"&&(ve=be.body[Ce])}return ve}function e(J){var ve,Ce,be=J.ownerDocument,Ae=be.body,Ue=be&&be.documentElement,we=J.getBoundingClientRect();return ve=we.left,Ce=we.top,ve-=Ue.clientLeft||Ae.clientLeft||0,Ce-=Ue.clientTop||Ae.clientTop||0,{left:ve,top:Ce}}function t(J){var ve=e(J),Ce=J.ownerDocument,be=Ce.defaultView||Ce.parentWindow;return ve.left+=v(be),ve.left}var i=["prefixCls","className","defaultValue","value","count","allowHalf","allowClear","keyboard","character","characterRender","disabled","direction","tabIndex","autoFocus","onHoverChange","onChange","onFocus","onBlur","onKeyDown","onMouseLeave"];function f(J,ve){var Ce=J.prefixCls,be=Ce===void 0?"rc-rate":Ce,Ae=J.className,Ue=J.defaultValue,we=J.value,$e=J.count,Re=$e===void 0?5:$e,ge=J.allowHalf,Ze=ge===void 0?!1:ge,Fe=J.allowClear,Te=Fe===void 0?!0:Fe,Ge=J.keyboard,Be=Ge===void 0?!0:Ge,V=J.character,q=V===void 0?"\u2605":V,re=J.characterRender,ee=J.disabled,oe=J.direction,$=oe===void 0?"ltr":oe,fe=J.tabIndex,xe=fe===void 0?0:fe,ne=J.autoFocus,de=J.onHoverChange,ut=J.onChange,Je=J.onFocus,ht=J.onBlur,vt=J.onKeyDown,qe=J.onMouseLeave,ft=(0,g.Z)(J,i),Ke=s(),Oe=(0,o.Z)(Ke,2),Ye=Oe[0],rt=Oe[1],yt=h.useRef(null),Et=function(){if(!ee){var Gt;(Gt=yt.current)===null||Gt===void 0||Gt.focus()}};h.useImperativeHandle(ve,function(){return{focus:Et,blur:function(){if(!ee){var Gt;(Gt=yt.current)===null||Gt===void 0||Gt.blur()}}}});var cn=(0,r.Z)(Ue||0,{value:we}),Jt=(0,o.Z)(cn,2),zt=Jt[0],vn=Jt[1],Fn=(0,r.Z)(null),tn=(0,o.Z)(Fn,2),Pn=tn[0],qt=tn[1],jt=function(Gt,je){var Ne=$==="rtl",Ee=Gt+1;if(Ze){var Le=Ye(Gt),Pe=t(Le),We=Le.clientWidth;(Ne&&je-Pe>We/2||!Ne&&je-Pe0&&!Ne||je===n.Z.RIGHT&&zt>0&&Ne?(kt(zt-Ee),Gt.preventDefault()):je===n.Z.LEFT&&zt{const{componentCls:ve}=J;return{[`${ve}-star`]:{position:"relative",display:"inline-block",color:"inherit",cursor:"pointer","&:not(:last-child)":{marginInlineEnd:J.marginXS},"> div":{transition:`all ${J.motionDurationMid}, outline 0s`,"&:hover":{transform:J.starHoverScale},"&:focus":{outline:0},"&:focus-visible":{outline:`${(0,w.unit)(J.lineWidth)} dashed ${J.starColor}`,transform:J.starHoverScale}},"&-first, &-second":{color:J.starBg,transition:`all ${J.motionDurationMid}`,userSelect:"none"},"&-first":{position:"absolute",top:0,insetInlineStart:0,width:"50%",height:"100%",overflow:"hidden",opacity:0},[`&-half ${ve}-star-first, &-half ${ve}-star-second`]:{opacity:1},[`&-half ${ve}-star-first, &-full ${ve}-star-second`]:{color:"inherit"}}}},I=J=>({[`&-rtl${J.componentCls}`]:{direction:"rtl"}}),K=J=>{const{componentCls:ve}=J;return{[ve]:Object.assign(Object.assign(Object.assign(Object.assign({},(0,L.Wf)(J)),{display:"inline-block",margin:0,padding:0,color:J.starColor,fontSize:J.starSize,lineHeight:1,listStyle:"none",outline:"none",[`&-disabled${ve} ${ve}-star`]:{cursor:"default","> div:hover":{transform:"scale(1)"}}}),N(J)),I(J))}},F=J=>({starColor:J.yellow6,starSize:J.controlHeightLG*.5,starHoverScale:"scale(1.1)",starBg:J.colorFillContent});var W=(0,D.I$)("Rate",J=>{const ve=(0,O.mergeToken)(J,{});return[K(ve)]},F),j=M(2171),X=function(J,ve){var Ce={};for(var be in J)Object.prototype.hasOwnProperty.call(J,be)&&ve.indexOf(be)<0&&(Ce[be]=J[be]);if(J!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Ae=0,be=Object.getOwnPropertySymbols(J);Ae{const{prefixCls:Ce,className:be,rootClassName:Ae,style:Ue,tooltips:we,character:$e=h.createElement(m,null),disabled:Re}=J,ge=X(J,["prefixCls","className","rootClassName","style","tooltips","character","disabled"]),Ze=(fe,xe)=>{let{index:ne}=xe;return we?h.createElement(A.Z,{title:we[ne]},fe):fe},{getPrefixCls:Fe,direction:Te,rate:Ge}=h.useContext(x.E_),Be=Fe("rate",Ce),[V,q,re]=W(Be),ee=Object.assign(Object.assign({},Ge==null?void 0:Ge.style),Ue),oe=h.useContext(j.Z),$=Re!=null?Re:oe;return V(h.createElement(b,Object.assign({ref:ve,character:$e,characterRender:Ze,disabled:$},ge,{className:d()(be,Ae,q,re,Ge==null?void 0:Ge.className),style:ee,prefixCls:Be,direction:Te})))})},82326:function(Ln,pt,M){"use strict";var h=M(59301),k=M(92310),P=M.n(k),_=M(37463),B=M(2738),C=M(75030),p=M(86641),m=M(45915),E=M(82855),d=M(48755),l=M(38406),o=M(2171),g=M(83397),r=M(31756),n=M(56553),a=M(24971),c=M(70045),u=M(57700),s=M(1722),v=M(90376),e=M(68525),t=M(90005),i=function(A,w){var L={};for(var D in A)Object.prototype.hasOwnProperty.call(A,D)&&w.indexOf(D)<0&&(L[D]=A[D]);if(A!=null&&typeof Object.getOwnPropertySymbols=="function")for(var O=0,D=Object.getOwnPropertySymbols(A);O{var L;const{prefixCls:D,bordered:O,className:N,rootClassName:I,getPopupContainer:K,popupClassName:F,dropdownClassName:W,listHeight:j=256,placement:X,listItemHeight:Y,size:le,disabled:J,notFoundContent:ve,status:Ce,builtinPlacements:be,dropdownMatchSelectWidth:Ae,popupMatchSelectWidth:Ue,direction:we,style:$e,allowClear:Re,variant:ge,dropdownStyle:Ze,transitionName:Fe,tagRender:Te,maxCount:Ge,prefix:Be}=A,V=i(A,["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:q,getPrefixCls:re,renderEmpty:ee,direction:oe,virtual:$,popupMatchSelectWidth:fe,popupOverflow:xe}=h.useContext(d.E_),ne=(0,d.dj)("select"),[,de]=(0,u.ZP)(),ut=Y!=null?Y:de==null?void 0:de.controlHeight,Je=re("select",D),ht=re(),vt=we!=null?we:oe,{compactSize:qe,compactItemClassnames:ft}=(0,c.ri)(Je,vt),[Ke,Oe]=(0,a.Z)("select",ge,O),Ye=(0,g.Z)(Je),[rt,yt,Et]=(0,v.Z)(Je,Ye),cn=h.useMemo(()=>{const{mode:lt}=A;if(lt!=="combobox")return lt===f?"combobox":lt},[A.mode]),Jt=cn==="multiple"||cn==="tags",zt=(0,t.Z)(A.suffixIcon,A.showArrow),vn=(L=Ue!=null?Ue:Ae)!==null&&L!==void 0?L:fe,{status:Fn,hasFeedback:tn,isFormItemInput:Pn,feedbackIcon:qt}=h.useContext(n.aM),jt=(0,E.F)(Fn,Ce);let kt;ve!==void 0?kt=ve:cn==="combobox"?kt=null:kt=(ee==null?void 0:ee("Select"))||h.createElement(l.Z,{componentName:"Select"});const{suffixIcon:rn,itemIcon:It,removeIcon:Bt,clearIcon:Wt}=(0,e.Z)(Object.assign(Object.assign({},V),{multiple:Jt,hasFeedback:tn,feedbackIcon:qt,showSuffixIcon:zt,prefixCls:Je,componentName:"Select"})),Xt=Re===!0?{clearIcon:Wt}:Re,_n=(0,B.Z)(V,["suffixIcon","itemIcon"]),_t=P()(F||W,{[`${Je}-dropdown-${vt}`]:vt==="rtl"},I,Et,Ye,yt),T=(0,r.Z)(lt=>{var xt;return(xt=le!=null?le:qe)!==null&&xt!==void 0?xt:lt}),z=h.useContext(o.Z),Z=J!=null?J:z,ie=P()({[`${Je}-lg`]:T==="large",[`${Je}-sm`]:T==="small",[`${Je}-rtl`]:vt==="rtl",[`${Je}-${Ke}`]:Oe,[`${Je}-in-form-item`]:Pn},(0,E.Z)(Je,jt,tn),ft,ne.className,N,I,Et,Ye,yt),se=h.useMemo(()=>X!==void 0?X:vt==="rtl"?"bottomRight":"bottomLeft",[X,vt]),[Qe]=(0,C.Cn)("SelectLike",Ze==null?void 0:Ze.zIndex);return rt(h.createElement(_.ZP,Object.assign({ref:w,virtual:$,showSearch:ne.showSearch},_n,{style:Object.assign(Object.assign({},ne.style),$e),dropdownMatchSelectWidth:vn,transitionName:(0,p.m)(ht,"slide-up",Fe),builtinPlacements:(0,s.Z)(be,xe),listHeight:j,listItemHeight:ut,mode:cn,prefixCls:Je,placement:se,direction:vt,prefix:Be,suffixIcon:rn,menuItemSelectedIcon:It,removeIcon:Bt,allowClear:Xt,notFoundContent:kt,className:ie,getPopupContainer:K||q,dropdownClassName:_t,disabled:Z,dropdownStyle:Object.assign(Object.assign({},Ze),{zIndex:Qe}),maxCount:Jt?Ge:void 0,tagRender:Jt?Te:void 0})))},b=h.forwardRef(y),x=(0,m.Z)(b,"dropdownAlign");b.SECRET_COMBOBOX_MODE_DO_NOT_USE=f,b.Option=_.Wx,b.OptGroup=_.Xo,b._InternalPanelDoNotUseOrYouWillBeFired=x,pt.default=b},1722:function(Ln,pt){"use strict";const M=k=>{const _={overflow:{adjustX:!0,adjustY:!0,shiftY:!0},htmlRegion:k==="scroll"?"scroll":"visible",dynamicInset:!0};return{bottomLeft:Object.assign(Object.assign({},_),{points:["tl","bl"],offset:[0,4]}),bottomRight:Object.assign(Object.assign({},_),{points:["tr","br"],offset:[0,4]}),topLeft:Object.assign(Object.assign({},_),{points:["bl","tl"],offset:[0,-4]}),topRight:Object.assign(Object.assign({},_),{points:["br","tr"],offset:[0,-4]})}};function h(k,P){return k||M(P)}pt.Z=h},90376:function(Ln,pt,M){"use strict";M.d(pt,{Z:function(){return D}});var h=M(63356),k=M(56119),P=M(16931),_=M(51636),B=M(46e3),C=M(93873);const p=O=>{const{optionHeight:N,optionFontSize:I,optionLineHeight:K,optionPadding:F}=O;return{position:"relative",display:"block",minHeight:N,padding:F,color:O.colorText,fontWeight:"normal",fontSize:I,lineHeight:K,boxSizing:"border-box"}};var E=O=>{const{antCls:N,componentCls:I}=O,K=`${I}-item`,F=`&${N}-slide-up-enter${N}-slide-up-enter-active`,W=`&${N}-slide-up-appear${N}-slide-up-appear-active`,j=`&${N}-slide-up-leave${N}-slide-up-leave-active`,X=`${I}-dropdown-placement-`,Y=`${K}-option-selected`;return[{[`${I}-dropdown`]:Object.assign(Object.assign({},(0,h.Wf)(O)),{position:"absolute",top:-9999,zIndex:O.zIndexPopup,boxSizing:"border-box",padding:O.paddingXXS,overflow:"hidden",fontSize:O.fontSize,fontVariant:"initial",backgroundColor:O.colorBgElevated,borderRadius:O.borderRadiusLG,outline:"none",boxShadow:O.boxShadowSecondary,[` ${F}${X}bottomLeft, ${W}${X}bottomLeft `]:{animationName:B.fJ},[` ${F}${X}topLeft, ${W}${X}topLeft, ${F}${X}topRight, ${W}${X}topRight `]:{animationName:B.Qt},[`${j}${X}bottomLeft`]:{animationName:B.Uw},[` ${j}${X}topLeft, ${j}${X}topRight `]:{animationName:B.ly},"&-hidden":{display:"none"},[K]:Object.assign(Object.assign({},p(O)),{cursor:"pointer",transition:`background ${O.motionDurationSlow} ease`,borderRadius:O.borderRadiusSM,"&-group":{color:O.colorTextDescription,fontSize:O.fontSizeSM,cursor:"default"},"&-option":{display:"flex","&-content":Object.assign({flex:"auto"},h.vS),"&-state":{flex:"none",display:"flex",alignItems:"center"},[`&-active:not(${K}-option-disabled)`]:{backgroundColor:O.optionActiveBg},[`&-selected:not(${K}-option-disabled)`]:{color:O.optionSelectedColor,fontWeight:O.optionSelectedFontWeight,backgroundColor:O.optionSelectedBg,[`${K}-option-state`]:{color:O.colorPrimary}},"&-disabled":{[`&${K}-option-selected`]:{backgroundColor:O.colorBgContainerDisabled},color:O.colorTextDisabled,cursor:"not-allowed"},"&-grouped":{paddingInlineStart:O.calc(O.controlPaddingHorizontal).mul(2).equal()}},"&-empty":Object.assign(Object.assign({},p(O)),{color:O.colorTextDisabled})}),[`${Y}:has(+ ${Y})`]:{borderEndStartRadius:0,borderEndEndRadius:0,[`& + ${Y}`]:{borderStartStartRadius:0,borderStartEndRadius:0}},"&-rtl":{direction:"rtl"}})},(0,B.oN)(O,"slide-up"),(0,B.oN)(O,"slide-down"),(0,C.Fm)(O,"move-up"),(0,C.Fm)(O,"move-down")]},d=M(26743),l=M(36237);function o(O,N){const{componentCls:I,inputPaddingHorizontalBase:K,borderRadius:F}=O,W=O.calc(O.controlHeight).sub(O.calc(O.lineWidth).mul(2)).equal(),j=N?`${I}-${N}`:"";return{[`${I}-single${j}`]:{fontSize:O.fontSize,height:O.controlHeight,[`${I}-selector`]:Object.assign(Object.assign({},(0,h.Wf)(O,!0)),{display:"flex",borderRadius:F,flex:"1 1 auto",[`${I}-selection-wrap:after`]:{lineHeight:(0,l.unit)(W)},[`${I}-selection-search`]:{position:"absolute",inset:0,width:"100%","&-input":{width:"100%",WebkitAppearance:"textfield"}},[` ${I}-selection-item, ${I}-selection-placeholder `]:{display:"block",padding:0,lineHeight:(0,l.unit)(W),transition:`all ${O.motionDurationSlow}, visibility 0s`,alignSelf:"center"},[`${I}-selection-placeholder`]:{transition:"none",pointerEvents:"none"},[["&:after",`${I}-selection-item:empty:after`,`${I}-selection-placeholder:empty:after`].join(",")]:{display:"inline-block",width:0,visibility:"hidden",content:'"\\a0"'}}),[` &${I}-show-arrow ${I}-selection-item, &${I}-show-arrow ${I}-selection-search, &${I}-show-arrow ${I}-selection-placeholder `]:{paddingInlineEnd:O.showArrowPaddingInlineEnd},[`&${I}-open ${I}-selection-item`]:{color:O.colorTextPlaceholder},[`&:not(${I}-customize-input)`]:{[`${I}-selector`]:{width:"100%",height:"100%",alignItems:"center",padding:`0 ${(0,l.unit)(K)}`,[`${I}-selection-search-input`]:{height:W,fontSize:O.fontSize},"&:after":{lineHeight:(0,l.unit)(W)}}},[`&${I}-customize-input`]:{[`${I}-selector`]:{"&:after":{display:"none"},[`${I}-selection-search`]:{position:"static",width:"100%"},[`${I}-selection-placeholder`]:{position:"absolute",insetInlineStart:0,insetInlineEnd:0,padding:`0 ${(0,l.unit)(K)}`,"&:after":{display:"none"}}}}}}}function g(O){const{componentCls:N}=O,I=O.calc(O.controlPaddingHorizontalSM).sub(O.lineWidth).equal();return[o(O),o((0,_.mergeToken)(O,{controlHeight:O.controlHeightSM,borderRadius:O.borderRadiusSM}),"sm"),{[`${N}-single${N}-sm`]:{[`&:not(${N}-customize-input)`]:{[`${N}-selector`]:{padding:`0 ${(0,l.unit)(I)}`},[`&${N}-show-arrow ${N}-selection-search`]:{insetInlineEnd:O.calc(I).add(O.calc(O.fontSize).mul(1.5)).equal()},[` &${N}-show-arrow ${N}-selection-item, &${N}-show-arrow ${N}-selection-placeholder `]:{paddingInlineEnd:O.calc(O.fontSize).mul(1.5).equal()}}}},o((0,_.mergeToken)(O,{controlHeight:O.singleItemHeightLG,fontSize:O.fontSizeLG,borderRadius:O.borderRadiusLG}),"lg")]}const r=O=>{const{fontSize:N,lineHeight:I,lineWidth:K,controlHeight:F,controlHeightSM:W,controlHeightLG:j,paddingXXS:X,controlPaddingHorizontal:Y,zIndexPopupBase:le,colorText:J,fontWeightStrong:ve,controlItemBgActive:Ce,controlItemBgHover:be,colorBgContainer:Ae,colorFillSecondary:Ue,colorBgContainerDisabled:we,colorTextDisabled:$e,colorPrimaryHover:Re,colorPrimary:ge,controlOutline:Ze}=O,Fe=X*2,Te=K*2,Ge=Math.min(F-Fe,F-Te),Be=Math.min(W-Fe,W-Te),V=Math.min(j-Fe,j-Te);return{INTERNAL_FIXED_ITEM_MARGIN:Math.floor(X/2),zIndexPopup:le+50,optionSelectedColor:J,optionSelectedFontWeight:ve,optionSelectedBg:Ce,optionActiveBg:be,optionPadding:`${(F-N*I)/2}px ${Y}px`,optionFontSize:N,optionLineHeight:I,optionHeight:F,selectorBg:Ae,clearBg:Ae,singleItemHeightLG:j,multipleItemBg:Ue,multipleItemBorderColor:"transparent",multipleItemHeight:Ge,multipleItemHeightSM:Be,multipleItemHeightLG:V,multipleSelectorBgDisabled:we,multipleItemColorDisabled:$e,multipleItemBorderColorDisabled:"transparent",showArrowPaddingInlineEnd:Math.ceil(O.fontSize*1.25),hoverBorderColor:Re,activeBorderColor:ge,activeOutlineColor:Ze,selectAffixPadding:X}},n=(O,N)=>{const{componentCls:I,antCls:K,controlOutlineWidth:F}=O;return{[`&:not(${I}-customize-input) ${I}-selector`]:{border:`${(0,l.unit)(O.lineWidth)} ${O.lineType} ${N.borderColor}`,background:O.selectorBg},[`&:not(${I}-disabled):not(${I}-customize-input):not(${K}-pagination-size-changer)`]:{[`&:hover ${I}-selector`]:{borderColor:N.hoverBorderHover},[`${I}-focused& ${I}-selector`]:{borderColor:N.activeBorderColor,boxShadow:`0 0 0 ${(0,l.unit)(F)} ${N.activeOutlineColor}`,outline:0},[`${I}-prefix`]:{color:N.color}}}},a=(O,N)=>({[`&${O.componentCls}-status-${N.status}`]:Object.assign({},n(O,N))}),c=O=>({"&-outlined":Object.assign(Object.assign(Object.assign(Object.assign({},n(O,{borderColor:O.colorBorder,hoverBorderHover:O.hoverBorderColor,activeBorderColor:O.activeBorderColor,activeOutlineColor:O.activeOutlineColor,color:O.colorText})),a(O,{status:"error",borderColor:O.colorError,hoverBorderHover:O.colorErrorHover,activeBorderColor:O.colorError,activeOutlineColor:O.colorErrorOutline,color:O.colorError})),a(O,{status:"warning",borderColor:O.colorWarning,hoverBorderHover:O.colorWarningHover,activeBorderColor:O.colorWarning,activeOutlineColor:O.colorWarningOutline,color:O.colorWarning})),{[`&${O.componentCls}-disabled`]:{[`&:not(${O.componentCls}-customize-input) ${O.componentCls}-selector`]:{background:O.colorBgContainerDisabled,color:O.colorTextDisabled}},[`&${O.componentCls}-multiple ${O.componentCls}-selection-item`]:{background:O.multipleItemBg,border:`${(0,l.unit)(O.lineWidth)} ${O.lineType} ${O.multipleItemBorderColor}`}})}),u=(O,N)=>{const{componentCls:I,antCls:K}=O;return{[`&:not(${I}-customize-input) ${I}-selector`]:{background:N.bg,border:`${(0,l.unit)(O.lineWidth)} ${O.lineType} transparent`,color:N.color},[`&:not(${I}-disabled):not(${I}-customize-input):not(${K}-pagination-size-changer)`]:{[`&:hover ${I}-selector`]:{background:N.hoverBg},[`${I}-focused& ${I}-selector`]:{background:O.selectorBg,borderColor:N.activeBorderColor,outline:0}}}},s=(O,N)=>({[`&${O.componentCls}-status-${N.status}`]:Object.assign({},u(O,N))}),v=O=>({"&-filled":Object.assign(Object.assign(Object.assign(Object.assign({},u(O,{bg:O.colorFillTertiary,hoverBg:O.colorFillSecondary,activeBorderColor:O.activeBorderColor,color:O.colorText})),s(O,{status:"error",bg:O.colorErrorBg,hoverBg:O.colorErrorBgHover,activeBorderColor:O.colorError,color:O.colorError})),s(O,{status:"warning",bg:O.colorWarningBg,hoverBg:O.colorWarningBgHover,activeBorderColor:O.colorWarning,color:O.colorWarning})),{[`&${O.componentCls}-disabled`]:{[`&:not(${O.componentCls}-customize-input) ${O.componentCls}-selector`]:{borderColor:O.colorBorder,background:O.colorBgContainerDisabled,color:O.colorTextDisabled}},[`&${O.componentCls}-multiple ${O.componentCls}-selection-item`]:{background:O.colorBgContainer,border:`${(0,l.unit)(O.lineWidth)} ${O.lineType} ${O.colorSplit}`}})}),e=O=>({"&-borderless":{[`${O.componentCls}-selector`]:{background:"transparent",border:`${(0,l.unit)(O.lineWidth)} ${O.lineType} transparent`},[`&${O.componentCls}-disabled`]:{[`&:not(${O.componentCls}-customize-input) ${O.componentCls}-selector`]:{color:O.colorTextDisabled}},[`&${O.componentCls}-multiple ${O.componentCls}-selection-item`]:{background:O.multipleItemBg,border:`${(0,l.unit)(O.lineWidth)} ${O.lineType} ${O.multipleItemBorderColor}`},[`&${O.componentCls}-status-error`]:{[`${O.componentCls}-prefix, ${O.componentCls}-selection-item`]:{color:O.colorError}},[`&${O.componentCls}-status-warning`]:{[`${O.componentCls}-prefix, ${O.componentCls}-selection-item`]:{color:O.colorWarning}}}}),t=(O,N)=>{const{componentCls:I,antCls:K}=O;return{[`&:not(${I}-customize-input) ${I}-selector`]:{borderWidth:`0 0 ${(0,l.unit)(O.lineWidth)} 0`,borderStyle:`none none ${O.lineType} none`,borderColor:N.borderColor,background:O.selectorBg,borderRadius:0},[`&:not(${I}-disabled):not(${I}-customize-input):not(${K}-pagination-size-changer)`]:{[`&:hover ${I}-selector`]:{borderColor:N.hoverBorderHover},[`${I}-focused& ${I}-selector`]:{borderColor:N.activeBorderColor,outline:0},[`${I}-prefix`]:{color:N.color}}}},i=(O,N)=>({[`&${O.componentCls}-status-${N.status}`]:Object.assign({},t(O,N))}),f=O=>({"&-underlined":Object.assign(Object.assign(Object.assign(Object.assign({},t(O,{borderColor:O.colorBorder,hoverBorderHover:O.hoverBorderColor,activeBorderColor:O.activeBorderColor,activeOutlineColor:O.activeOutlineColor,color:O.colorText})),i(O,{status:"error",borderColor:O.colorError,hoverBorderHover:O.colorErrorHover,activeBorderColor:O.colorError,activeOutlineColor:O.colorErrorOutline,color:O.colorError})),i(O,{status:"warning",borderColor:O.colorWarning,hoverBorderHover:O.colorWarningHover,activeBorderColor:O.colorWarning,activeOutlineColor:O.colorWarningOutline,color:O.colorWarning})),{[`&${O.componentCls}-disabled`]:{[`&:not(${O.componentCls}-customize-input) ${O.componentCls}-selector`]:{color:O.colorTextDisabled}},[`&${O.componentCls}-multiple ${O.componentCls}-selection-item`]:{background:O.multipleItemBg,border:`${(0,l.unit)(O.lineWidth)} ${O.lineType} ${O.multipleItemBorderColor}`}})});var b=O=>({[O.componentCls]:Object.assign(Object.assign(Object.assign(Object.assign({},c(O)),v(O)),e(O)),f(O))});const x=O=>{const{componentCls:N}=O;return{position:"relative",transition:`all ${O.motionDurationMid} ${O.motionEaseInOut}`,input:{cursor:"pointer"},[`${N}-show-search&`]:{cursor:"text",input:{cursor:"auto",color:"inherit",height:"100%"}},[`${N}-disabled&`]:{cursor:"not-allowed",input:{cursor:"not-allowed"}}}},A=O=>{const{componentCls:N}=O;return{[`${N}-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"}}}},w=O=>{const{antCls:N,componentCls:I,inputPaddingHorizontalBase:K,iconCls:F}=O;return{[I]:Object.assign(Object.assign({},(0,h.Wf)(O)),{position:"relative",display:"inline-flex",cursor:"pointer",[`&:not(${I}-customize-input) ${I}-selector`]:Object.assign(Object.assign({},x(O)),A(O)),[`${I}-selection-item`]:Object.assign(Object.assign({flex:1,fontWeight:"normal",position:"relative",userSelect:"none"},h.vS),{[`> ${N}-typography`]:{display:"inline"}}),[`${I}-selection-placeholder`]:Object.assign(Object.assign({},h.vS),{flex:1,color:O.colorTextPlaceholder,pointerEvents:"none"}),[`${I}-arrow`]:Object.assign(Object.assign({},(0,h.Ro)()),{position:"absolute",top:"50%",insetInlineStart:"auto",insetInlineEnd:K,height:O.fontSizeIcon,marginTop:O.calc(O.fontSizeIcon).mul(-1).div(2).equal(),color:O.colorTextQuaternary,fontSize:O.fontSizeIcon,lineHeight:1,textAlign:"center",pointerEvents:"none",display:"flex",alignItems:"center",transition:`opacity ${O.motionDurationSlow} ease`,[F]:{verticalAlign:"top",transition:`transform ${O.motionDurationSlow}`,"> svg":{verticalAlign:"top"},[`&:not(${I}-suffix)`]:{pointerEvents:"auto"}},[`${I}-disabled &`]:{cursor:"not-allowed"},"> *:not(:last-child)":{marginInlineEnd:8}}),[`${I}-selection-wrap`]:{display:"flex",width:"100%",position:"relative",minWidth:0,"&:after":{content:'"\\a0"',width:0,overflow:"hidden"}},[`${I}-prefix`]:{flex:"none",marginInlineEnd:O.selectAffixPadding},[`${I}-clear`]:{position:"absolute",top:"50%",insetInlineStart:"auto",insetInlineEnd:K,zIndex:1,display:"inline-block",width:O.fontSizeIcon,height:O.fontSizeIcon,marginTop:O.calc(O.fontSizeIcon).mul(-1).div(2).equal(),color:O.colorTextQuaternary,fontSize:O.fontSizeIcon,fontStyle:"normal",lineHeight:1,textAlign:"center",textTransform:"none",cursor:"pointer",opacity:0,transition:`color ${O.motionDurationMid} ease, opacity ${O.motionDurationSlow} ease`,textRendering:"auto","&:before":{display:"block"},"&:hover":{color:O.colorTextTertiary}},[`&:hover ${I}-clear`]:{opacity:1,background:O.colorBgBase,borderRadius:"50%"}}),[`${I}-status`]:{"&-error, &-warning, &-success, &-validating":{[`&${I}-has-feedback`]:{[`${I}-clear`]:{insetInlineEnd:O.calc(K).add(O.fontSize).add(O.paddingXS).equal()}}}}}},L=O=>{const{componentCls:N}=O;return[{[N]:{[`&${N}-in-form-item`]:{width:"100%"}}},w(O),g(O),(0,d.ZP)(O),E(O),{[`${N}-rtl`]:{direction:"rtl"}},(0,k.c)(O,{borderElCls:`${N}-selector`,focusElCls:`${N}-focused`})]};var D=(0,P.I$)("Select",(O,N)=>{let{rootPrefixCls:I}=N;const K=(0,_.mergeToken)(O,{rootPrefixCls:I,inputPaddingHorizontalBase:O.calc(O.paddingSM).sub(1).equal(),multipleSelectItemHeight:O.multipleItemHeight,selectHeight:O.controlHeight});return[L(K),b(K)]},r,{unitless:{optionLineHeight:!0,optionSelectedFontWeight:!0}})},26743:function(Ln,pt,M){"use strict";M.d(pt,{_z:function(){return C},gp:function(){return _}});var h=M(36237),k=M(63356),P=M(51636);const _=d=>{const{multipleSelectItemHeight:l,paddingXXS:o,lineWidth:g,INTERNAL_FIXED_ITEM_MARGIN:r}=d,n=d.max(d.calc(o).sub(g).equal(),0),a=d.max(d.calc(n).sub(r).equal(),0);return{basePadding:n,containerPadding:a,itemHeight:(0,h.unit)(l),itemLineHeight:(0,h.unit)(d.calc(l).sub(d.calc(d.lineWidth).mul(2)).equal())}},B=d=>{const{multipleSelectItemHeight:l,selectHeight:o,lineWidth:g}=d;return d.calc(o).sub(l).div(2).sub(g).equal()},C=d=>{const{componentCls:l,iconCls:o,borderRadiusSM:g,motionDurationSlow:r,paddingXS:n,multipleItemColorDisabled:a,multipleItemBorderColorDisabled:c,colorIcon:u,colorIconHover:s,INTERNAL_FIXED_ITEM_MARGIN:v}=d;return{[`${l}-selection-overflow`]:{position:"relative",display:"flex",flex:"auto",flexWrap:"wrap",maxWidth:"100%","&-item":{flex:"none",alignSelf:"center",maxWidth:"100%",display:"inline-flex"},[`${l}-selection-item`]:{display:"flex",alignSelf:"center",flex:"none",boxSizing:"border-box",maxWidth:"100%",marginBlock:v,borderRadius:g,cursor:"default",transition:`font-size ${r}, line-height ${r}, height ${r}`,marginInlineEnd:d.calc(v).mul(2).equal(),paddingInlineStart:n,paddingInlineEnd:d.calc(n).div(2).equal(),[`${l}-disabled&`]:{color:a,borderColor:c,cursor:"not-allowed"},"&-content":{display:"inline-block",marginInlineEnd:d.calc(n).div(2).equal(),overflow:"hidden",whiteSpace:"pre",textOverflow:"ellipsis"},"&-remove":Object.assign(Object.assign({},(0,k.Ro)()),{display:"inline-flex",alignItems:"center",color:u,fontWeight:"bold",fontSize:10,lineHeight:"inherit",cursor:"pointer",[`> ${o}`]:{verticalAlign:"-0.2em"},"&:hover":{color:s}})}}}},p=(d,l)=>{const{componentCls:o,INTERNAL_FIXED_ITEM_MARGIN:g}=d,r=`${o}-selection-overflow`,n=d.multipleSelectItemHeight,a=B(d),c=l?`${o}-${l}`:"",u=_(d);return{[`${o}-multiple${c}`]:Object.assign(Object.assign({},C(d)),{[`${o}-selector`]:{display:"flex",alignItems:"center",width:"100%",height:"100%",paddingInline:u.basePadding,paddingBlock:u.containerPadding,borderRadius:d.borderRadius,[`${o}-disabled&`]:{background:d.multipleSelectorBgDisabled,cursor:"not-allowed"},"&:after":{display:"inline-block",width:0,margin:`${(0,h.unit)(g)} 0`,lineHeight:(0,h.unit)(n),visibility:"hidden",content:'"\\a0"'}},[`${o}-selection-item`]:{height:u.itemHeight,lineHeight:(0,h.unit)(u.itemLineHeight)},[`${o}-selection-wrap`]:{alignSelf:"flex-start","&:after":{lineHeight:(0,h.unit)(n),marginBlock:g}},[`${o}-prefix`]:{marginInlineStart:d.calc(d.inputPaddingHorizontalBase).sub(u.basePadding).equal()},[`${r}-item + ${r}-item, ${o}-prefix + ${o}-selection-wrap `]:{[`${o}-selection-search`]:{marginInlineStart:0},[`${o}-selection-placeholder`]:{insetInlineStart:0}},[`${r}-item-suffix`]:{minHeight:u.itemHeight,marginBlock:g},[`${o}-selection-search`]:{display:"inline-flex",position:"relative",maxWidth:"100%",marginInlineStart:d.calc(d.inputPaddingHorizontalBase).sub(a).equal(),"\n &-input,\n &-mirror\n ":{height:n,fontFamily:d.fontFamily,lineHeight:(0,h.unit)(n),transition:`all ${d.motionDurationSlow}`},"&-input":{width:"100%",minWidth:4.1},"&-mirror":{position:"absolute",top:0,insetInlineStart:0,insetInlineEnd:"auto",zIndex:999,whiteSpace:"pre",visibility:"hidden"}},[`${o}-selection-placeholder`]:{position:"absolute",top:"50%",insetInlineStart:d.calc(d.inputPaddingHorizontalBase).sub(u.basePadding).equal(),insetInlineEnd:d.inputPaddingHorizontalBase,transform:"translateY(-50%)",transition:`all ${d.motionDurationSlow}`}})}};function m(d,l){const{componentCls:o}=d,g=l?`${o}-${l}`:"",r={[`${o}-multiple${g}`]:{fontSize:d.fontSize,[`${o}-selector`]:{[`${o}-show-search&`]:{cursor:"text"}},[` &${o}-show-arrow ${o}-selector, &${o}-allow-clear ${o}-selector `]:{paddingInlineEnd:d.calc(d.fontSizeIcon).add(d.controlPaddingHorizontal).equal()}}};return[p(d,l),r]}const E=d=>{const{componentCls:l}=d,o=(0,P.mergeToken)(d,{selectHeight:d.controlHeightSM,multipleSelectItemHeight:d.multipleItemHeightSM,borderRadius:d.borderRadiusSM,borderRadiusSM:d.borderRadiusXS}),g=(0,P.mergeToken)(d,{fontSize:d.fontSizeLG,selectHeight:d.controlHeightLG,multipleSelectItemHeight:d.multipleItemHeightLG,borderRadius:d.borderRadiusLG,borderRadiusSM:d.borderRadius});return[m(d),m(o,"sm"),{[`${l}-multiple${l}-sm`]:{[`${l}-selection-placeholder`]:{insetInline:d.calc(d.controlPaddingHorizontalSM).sub(d.lineWidth).equal()},[`${l}-selection-search`]:{marginInlineStart:2}}},m(g,"lg")]};pt.ZP=E},68525:function(Ln,pt,M){"use strict";M.d(pt,{Z:function(){return m}});var h=M(59301),k=M(40001),P=M(19248),_=M(99267),B=M(84105),C=M(58617),p=M(47472);function m(E){let{suffixIcon:d,clearIcon:l,menuItemSelectedIcon:o,removeIcon:g,loading:r,multiple:n,hasFeedback:a,prefixCls:c,showSuffixIcon:u,feedbackIcon:s,showArrow:v,componentName:e}=E;const t=l!=null?l:h.createElement(P.Z,null),i=x=>d===null&&!a&&!v?null:h.createElement(h.Fragment,null,u!==!1&&x,a&&s);let f=null;if(d!==void 0)f=i(d);else if(r)f=i(h.createElement(C.Z,{spin:!0}));else{const x=`${c}-suffix`;f=A=>{let{open:w,showSearch:L}=A;return i(w&&L?h.createElement(p.Z,{className:x}):h.createElement(B.Z,{className:x}))}}let y=null;o!==void 0?y=o:n?y=h.createElement(k.Z,null):y=null;let b=null;return g!==void 0?b=g:b=h.createElement(_.Z,null),{clearIcon:t,suffixIcon:f,itemIcon:y,removeIcon:b}}},90005:function(Ln,pt,M){"use strict";M.d(pt,{Z:function(){return h}});function h(k,P){return P!==void 0?P:k!==null}},11938:function(Ln,pt,M){"use strict";M.d(pt,{default:function(){return A}});var h=M(59301),k=M(40192),P=M(22703),_=M(92310),B=M.n(_),C=M(26112),p=M(48755),m=M(458),d=w=>{const{value:L,formatter:D,precision:O,decimalSeparator:N,groupSeparator:I="",prefixCls:K}=w;let F;if(typeof D=="function")F=D(L);else{const W=String(L),j=W.match(/^(-?)(\d*)(\.(\d+))?$/);if(!j||W==="-")F=W;else{const X=j[1];let Y=j[2]||"0",le=j[4]||"";Y=Y.replace(/\B(?=(\d{3})+(?!\d))/g,I),typeof O=="number"&&(le=le.padEnd(O,"0").slice(0,O>0?O:0)),le&&(le=`${N}${le}`),F=[h.createElement("span",{key:"int",className:`${K}-content-value-int`},X,Y),le&&h.createElement("span",{key:"decimal",className:`${K}-content-value-decimal`},le)]}}return h.createElement("span",{className:`${K}-content-value`},F)},l=M(63356),o=M(16931),g=M(51636);const r=w=>{const{componentCls:L,marginXXS:D,padding:O,colorTextDescription:N,titleFontSize:I,colorTextHeading:K,contentFontSize:F,fontFamily:W}=w;return{[L]:Object.assign(Object.assign({},(0,l.Wf)(w)),{[`${L}-title`]:{marginBottom:D,color:N,fontSize:I},[`${L}-skeleton`]:{paddingTop:O},[`${L}-content`]:{color:K,fontSize:F,fontFamily:W,[`${L}-content-value`]:{display:"inline-block",direction:"ltr"},[`${L}-content-prefix, ${L}-content-suffix`]:{display:"inline-block"},[`${L}-content-prefix`]:{marginInlineEnd:D},[`${L}-content-suffix`]:{marginInlineStart:D}}})}},n=w=>{const{fontSizeHeading3:L,fontSize:D}=w;return{titleFontSize:D,contentFontSize:L}};var a=(0,o.I$)("Statistic",w=>{const L=(0,g.mergeToken)(w,{});return[r(L)]},n),c=function(w,L){var D={};for(var O in w)Object.prototype.hasOwnProperty.call(w,O)&&L.indexOf(O)<0&&(D[O]=w[O]);if(w!=null&&typeof Object.getOwnPropertySymbols=="function")for(var N=0,O=Object.getOwnPropertySymbols(w);N{const{prefixCls:L,className:D,rootClassName:O,style:N,valueStyle:I,value:K=0,title:F,valueRender:W,prefix:j,suffix:X,loading:Y=!1,formatter:le,precision:J,decimalSeparator:ve=".",groupSeparator:Ce=",",onMouseEnter:be,onMouseLeave:Ae}=w,Ue=c(w,["prefixCls","className","rootClassName","style","valueStyle","value","title","valueRender","prefix","suffix","loading","formatter","precision","decimalSeparator","groupSeparator","onMouseEnter","onMouseLeave"]),{getPrefixCls:we,direction:$e,className:Re,style:ge}=(0,p.dj)("statistic"),Ze=we("statistic",L),[Fe,Te,Ge]=a(Ze),Be=h.createElement(d,{decimalSeparator:ve,groupSeparator:Ce,prefixCls:Ze,formatter:le,precision:J,value:K}),V=B()(Ze,{[`${Ze}-rtl`]:$e==="rtl"},Re,D,O,Te,Ge),q=(0,C.Z)(Ue,{aria:!0,data:!0});return Fe(h.createElement("div",Object.assign({},q,{className:V,style:Object.assign(Object.assign({},ge),N),onMouseEnter:be,onMouseLeave:Ae}),F&&h.createElement("div",{className:`${Ze}-title`},F),h.createElement(m.Z,{paragraph:!1,loading:Y,className:`${Ze}-skeleton`},h.createElement("div",{style:I,className:`${Ze}-content`},j&&h.createElement("span",{className:`${Ze}-content-prefix`},j),W?W(Be):Be,X&&h.createElement("span",{className:`${Ze}-content-suffix`},X)))))};const v=[["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 e(w,L){let D=w;const O=/\[[^\]]*]/g,N=(L.match(O)||[]).map(W=>W.slice(1,-1)),I=L.replace(O,"[]"),K=v.reduce((W,j)=>{let[X,Y]=j;if(W.includes(X)){const le=Math.floor(D/Y);return D-=le*Y,W.replace(new RegExp(`${X}+`,"g"),J=>{const ve=J.length;return le.toString().padStart(ve,"0")})}return W},I);let F=0;return K.replace(O,()=>{const W=N[F];return F+=1,W})}function t(w,L){const{format:D=""}=L,O=new Date(w).getTime(),N=Date.now(),I=Math.max(O-N,0);return e(I,D)}var i=function(w,L){var D={};for(var O in w)Object.prototype.hasOwnProperty.call(w,O)&&L.indexOf(O)<0&&(D[O]=w[O]);if(w!=null&&typeof Object.getOwnPropertySymbols=="function")for(var N=0,O=Object.getOwnPropertySymbols(w);N{const{value:L,format:D="HH:mm:ss",onChange:O,onFinish:N}=w,I=i(w,["value","format","onChange","onFinish"]),K=(0,k.Z)(),F=h.useRef(null),W=()=>{N==null||N(),F.current&&(clearInterval(F.current),F.current=null)},j=()=>{const le=y(L);le>=Date.now()&&(F.current=setInterval(()=>{K(),O==null||O(le-Date.now()),le(j(),()=>{F.current&&(clearInterval(F.current),F.current=null)}),[L]);const X=(le,J)=>t(le,Object.assign(Object.assign({},J),{format:D})),Y=le=>(0,P.Tm)(le,{title:void 0});return h.createElement(s,Object.assign({},I,{value:L,valueRender:Y,formatter:X}))};var x=h.memo(b);s.Countdown=x;var A=s},70858:function(Ln,pt,M){"use strict";M.d(pt,{default:function(){return so}});var h=M(59301),k={},P="rc-table-internal-hook",_=M(42978),B=M(6089),C=M(34280),p=M(13697),m=M(4676);function E(te){var ue=h.createContext(void 0),Ie=function(ot){var gt=ot.value,Ut=ot.children,Mt=h.useRef(gt);Mt.current=gt;var Kt=h.useState(function(){return{getValue:function(){return Mt.current},listeners:new Set}}),Zt=(0,_.Z)(Kt,1),xn=Zt[0];return(0,C.Z)(function(){(0,m.unstable_batchedUpdates)(function(){xn.listeners.forEach(function(an){an(gt)})})},[gt]),h.createElement(ue.Provider,{value:xn},Ut)};return{Context:ue,Provider:Ie,defaultValue:te}}function d(te,ue){var Ie=(0,B.Z)(typeof ue=="function"?ue:function(an){if(ue===void 0)return an;if(!Array.isArray(ue))return an[ue];var en={};return ue.forEach(function($t){en[$t]=an[$t]}),en}),He=h.useContext(te==null?void 0:te.Context),ot=He||{},gt=ot.listeners,Ut=ot.getValue,Mt=h.useRef();Mt.current=Ie(He?Ut():te==null?void 0:te.defaultValue);var Kt=h.useState({}),Zt=(0,_.Z)(Kt,2),xn=Zt[1];return(0,C.Z)(function(){if(!He)return;function an(en){var $t=Ie(en);(0,p.Z)(Mt.current,$t,!0)||xn({})}return gt.add(an),function(){gt.delete(an)}},[He]),Mt.current}var l=M(54476),o=M(8654);function g(){var te=h.createContext(null);function ue(){return h.useContext(te)}function Ie(ot,gt){var Ut=(0,o.Yr)(ot),Mt=function(Zt,xn){var an=Ut?{ref:xn}:{},en=h.useRef(0),$t=h.useRef(Zt),mn=ue();return mn!==null?h.createElement(ot,(0,l.Z)({},Zt,an)):((!gt||gt($t.current,Zt))&&(en.current+=1),$t.current=Zt,h.createElement(te.Provider,{value:en.current},h.createElement(ot,(0,l.Z)({},Zt,an))))};return Ut?h.forwardRef(Mt):Mt}function He(ot,gt){var Ut=(0,o.Yr)(ot),Mt=function(Zt,xn){var an=Ut?{ref:xn}:{};return ue(),h.createElement(ot,(0,l.Z)({},Zt,an))};return Ut?h.memo(h.forwardRef(Mt),gt):h.memo(Mt,gt)}return{makeImmutable:Ie,responseImmutable:He,useImmutableMark:ue}}var r=g(),n=r.makeImmutable,a=r.responseImmutable,c=r.useImmutableMark,u=g(),s=u.makeImmutable,v=u.responseImmutable,e=u.useImmutableMark,t=E(),i=t;function f(te,ue){var Ie=React.useRef(0);Ie.current+=1;var He=React.useRef(te),ot=[];Object.keys(te||{}).map(function(Ut){var Mt;(te==null?void 0:te[Ut])!==((Mt=He.current)===null||Mt===void 0?void 0:Mt[Ut])&&ot.push(Ut)}),He.current=te;var gt=React.useRef([]);return ot.length&&(gt.current=ot),React.useDebugValue(Ie.current),React.useDebugValue(gt.current.join(", ")),ue&&console.log("".concat(ue,":"),Ie.current,gt.current),Ie.current}var y=null,b=null,x=M(76190),A=M(33885),w=M(20068),L=M(92310),D=M.n(L),O=M(80547),N=M(97938),I=M(48736),K=h.createContext({renderWithProps:!1}),F=K,W="RC_TABLE_KEY";function j(te){return te==null?[]:Array.isArray(te)?te:[te]}function X(te){var ue=[],Ie={};return te.forEach(function(He){for(var ot=He||{},gt=ot.key,Ut=ot.dataIndex,Mt=gt||j(Ut).join("-")||W;Ie[Mt];)Mt="".concat(Mt,"_next");Ie[Mt]=!0,ue.push(Mt)}),ue}function Y(te){return te!=null}function le(te){return typeof te=="number"&&!Number.isNaN(te)}function J(te){return te&&(0,x.Z)(te)==="object"&&!Array.isArray(te)&&!h.isValidElement(te)}function ve(te,ue,Ie,He,ot,gt){var Ut=h.useContext(F),Mt=e(),Kt=(0,O.Z)(function(){if(Y(He))return[He];var Zt=ue==null||ue===""?[]:Array.isArray(ue)?ue:[ue],xn=(0,N.Z)(te,Zt),an=xn,en=void 0;if(ot){var $t=ot(xn,te,Ie);J($t)?(an=$t.children,en=$t.props,Ut.renderWithProps=!0):an=$t}return[an,en]},[Mt,te,He,ue,ot,Ie],function(Zt,xn){if(gt){var an=(0,_.Z)(Zt,2),en=an[1],$t=(0,_.Z)(xn,2),mn=$t[1];return gt(mn,en)}return Ut.renderWithProps?!0:!(0,p.Z)(Zt,xn,!0)});return Kt}function Ce(te,ue,Ie,He){var ot=te+ue-1;return te<=He&&ot>=Ie}function be(te,ue){return d(i,function(Ie){var He=Ce(te,ue||1,Ie.hoverStartRow,Ie.hoverEndRow);return[He,Ie.onHover]})}var Ae=M(70425),Ue=function(ue){var Ie=ue.ellipsis,He=ue.rowType,ot=ue.children,gt,Ut=Ie===!0?{showTitle:!0}:Ie;return Ut&&(Ut.showTitle||He==="header")&&(typeof ot=="string"||typeof ot=="number"?gt=ot.toString():h.isValidElement(ot)&&typeof ot.props.children=="string"&&(gt=ot.props.children)),gt};function we(te){var ue,Ie,He,ot,gt,Ut,Mt,Kt,Zt=te.component,xn=te.children,an=te.ellipsis,en=te.scope,$t=te.prefixCls,mn=te.className,S=te.align,R=te.record,U=te.render,H=te.dataIndex,G=te.renderIndex,Q=te.shouldCellUpdate,ce=te.index,ae=te.rowType,Se=te.colSpan,pe=te.rowSpan,Me=te.fixLeft,ze=te.fixRight,Xe=te.firstFixLeft,mt=te.lastFixLeft,dt=te.firstFixRight,nt=te.lastFixRight,st=te.appendNode,Ot=te.additionalProps,bt=Ot===void 0?{}:Ot,Vt=te.isSticky,Ht="".concat($t,"-cell"),Kn=d(i,["supportSticky","allColumnsFixedLeft","rowHoverable"]),on=Kn.supportSticky,Rn=Kn.allColumnsFixedLeft,br=Kn.rowHoverable,Er=ve(R,H,G,xn,U,Q),Sn=(0,_.Z)(Er,2),Tn=Sn[0],Jn=Sn[1],Dt={},dn=typeof Me=="number"&&on,zn=typeof ze=="number"&&on;dn&&(Dt.position="sticky",Dt.left=Me),zn&&(Dt.position="sticky",Dt.right=ze);var Qt=(ue=(Ie=(He=Jn==null?void 0:Jn.colSpan)!==null&&He!==void 0?He:bt.colSpan)!==null&&Ie!==void 0?Ie:Se)!==null&&ue!==void 0?ue:1,In=(ot=(gt=(Ut=Jn==null?void 0:Jn.rowSpan)!==null&&Ut!==void 0?Ut:bt.rowSpan)!==null&>!==void 0?gt:pe)!==null&&ot!==void 0?ot:1,ln=be(ce,In),yn=(0,_.Z)(ln,2),_r=yn[0],Br=yn[1],mr=(0,Ae.zX)(function(Ha){var Ra;R&&Br(ce,ce+In-1),bt==null||(Ra=bt.onMouseEnter)===null||Ra===void 0||Ra.call(bt,Ha)}),ra=(0,Ae.zX)(function(Ha){var Ra;R&&Br(-1,-1),bt==null||(Ra=bt.onMouseLeave)===null||Ra===void 0||Ra.call(bt,Ha)});if(Qt===0||In===0)return null;var ua=(Mt=bt.title)!==null&&Mt!==void 0?Mt:Ue({rowType:ae,ellipsis:an,children:Tn}),_a=D()(Ht,mn,(Kt={},(0,w.Z)((0,w.Z)((0,w.Z)((0,w.Z)((0,w.Z)((0,w.Z)((0,w.Z)((0,w.Z)((0,w.Z)((0,w.Z)(Kt,"".concat(Ht,"-fix-left"),dn&&on),"".concat(Ht,"-fix-left-first"),Xe&&on),"".concat(Ht,"-fix-left-last"),mt&&on),"".concat(Ht,"-fix-left-all"),mt&&Rn&&on),"".concat(Ht,"-fix-right"),zn&&on),"".concat(Ht,"-fix-right-first"),dt&&on),"".concat(Ht,"-fix-right-last"),nt&&on),"".concat(Ht,"-ellipsis"),an),"".concat(Ht,"-with-append"),st),"".concat(Ht,"-fix-sticky"),(dn||zn)&&Vt&&on),(0,w.Z)(Kt,"".concat(Ht,"-row-hover"),!Jn&&_r)),bt.className,Jn==null?void 0:Jn.className),Sr={};S&&(Sr.textAlign=S);var zr=(0,A.Z)((0,A.Z)((0,A.Z)((0,A.Z)({},Jn==null?void 0:Jn.style),Dt),Sr),bt.style),xa=Tn;return(0,x.Z)(xa)==="object"&&!Array.isArray(xa)&&!h.isValidElement(xa)&&(xa=null),an&&(mt||dt)&&(xa=h.createElement("span",{className:"".concat(Ht,"-content")},xa)),h.createElement(Zt,(0,l.Z)({},Jn,bt,{className:_a,style:zr,title:ua,scope:en,onMouseEnter:br?mr:void 0,onMouseLeave:br?ra:void 0,colSpan:Qt!==1?Qt:null,rowSpan:In!==1?In:null}),st,xa)}var $e=h.memo(we);function Re(te,ue,Ie,He,ot){var gt=Ie[te]||{},Ut=Ie[ue]||{},Mt,Kt;gt.fixed==="left"?Mt=He.left[ot==="rtl"?ue:te]:Ut.fixed==="right"&&(Kt=He.right[ot==="rtl"?te:ue]);var Zt=!1,xn=!1,an=!1,en=!1,$t=Ie[ue+1],mn=Ie[te-1],S=$t&&!$t.fixed||mn&&!mn.fixed||Ie.every(function(Q){return Q.fixed==="left"});if(ot==="rtl"){if(Mt!==void 0){var R=mn&&mn.fixed==="left";en=!R&&S}else if(Kt!==void 0){var U=$t&&$t.fixed==="right";an=!U&&S}}else if(Mt!==void 0){var H=$t&&$t.fixed==="left";Zt=!H&&S}else if(Kt!==void 0){var G=mn&&mn.fixed==="right";xn=!G&&S}return{fixLeft:Mt,fixRight:Kt,lastFixLeft:Zt,firstFixRight:xn,lastFixRight:an,firstFixLeft:en,isSticky:He.isSticky}}var ge=h.createContext({}),Ze=ge;function Fe(te){var ue=te.className,Ie=te.index,He=te.children,ot=te.colSpan,gt=ot===void 0?1:ot,Ut=te.rowSpan,Mt=te.align,Kt=d(i,["prefixCls","direction"]),Zt=Kt.prefixCls,xn=Kt.direction,an=h.useContext(Ze),en=an.scrollColumnIndex,$t=an.stickyOffsets,mn=an.flattenColumns,S=Ie+gt-1,R=S+1===en?gt+1:gt,U=Re(Ie,Ie+R-1,mn,$t,xn);return h.createElement($e,(0,l.Z)({className:ue,index:Ie,component:"td",prefixCls:Zt,record:null,dataIndex:null,align:Mt,colSpan:R,rowSpan:Ut,render:function(){return He}},U))}var Te=M(75931),Ge=["children"];function Be(te){var ue=te.children,Ie=(0,Te.Z)(te,Ge);return h.createElement("tr",Ie,ue)}function V(te){var ue=te.children;return ue}V.Row=Be,V.Cell=Fe;var q=V;function re(te){var ue=te.children,Ie=te.stickyOffsets,He=te.flattenColumns,ot=d(i,"prefixCls"),gt=He.length-1,Ut=He[gt],Mt=h.useMemo(function(){return{stickyOffsets:Ie,flattenColumns:He,scrollColumnIndex:Ut!=null&&Ut.scrollbar?gt:null}},[Ut,He,gt,Ie]);return h.createElement(Ze.Provider,{value:Mt},h.createElement("tfoot",{className:"".concat(ot,"-summary")},ue))}var ee=v(re),oe=q,$=M(29301),fe=M(3465),xe=M(75152),ne=M(26112);function de(te,ue,Ie,He,ot,gt,Ut){te.push({record:ue,indent:Ie,index:Ut});var Mt=gt(ue),Kt=ot==null?void 0:ot.has(Mt);if(ue&&Array.isArray(ue[He])&&Kt)for(var Zt=0;Zt1?Xe-1:0),dt=1;dt=1)),style:(0,A.Z)((0,A.Z)({},Ie),U==null?void 0:U.style)}),mn.map(function(Me,ze){var Xe=Me.render,mt=Me.dataIndex,dt=Me.className,nt=Oe(en,Me,ze,Kt,ot),st=nt.key,Ot=nt.fixedInfo,bt=nt.appendCellNode,Vt=nt.additionalCellProps;return h.createElement($e,(0,l.Z)({className:dt,ellipsis:Me.ellipsis,align:Me.align,scope:Me.rowScope,component:Me.rowScope?an:xn,prefixCls:$t,key:st,record:He,index:ot,renderIndex:gt,dataIndex:mt,render:Xe,shouldCellUpdate:Me.shouldCellUpdate},Ot,{appendNode:bt,additionalProps:Vt}))})),Se;if(G&&(Q.current||H)){var pe=R(He,ot,Kt+1,H);Se=h.createElement(vt,{expanded:H,className:D()("".concat($t,"-expanded-row"),"".concat($t,"-expanded-row-level-").concat(Kt+1),ce),prefixCls:$t,component:Zt,cellComponent:xn,colSpan:mn.length,isEmpty:!1},pe)}return h.createElement(h.Fragment,null,ae,Se)}var rt=v(Ye);function yt(te){var ue=te.columnKey,Ie=te.onColumnResize,He=h.useRef();return(0,C.Z)(function(){He.current&&Ie(ue,He.current.offsetWidth)},[]),h.createElement($.Z,{data:ue},h.createElement("td",{ref:He,style:{padding:0,border:0,height:0}},h.createElement("div",{style:{height:0,overflow:"hidden"}},"\xA0")))}var Et=M(29194);function cn(te){var ue=te.prefixCls,Ie=te.columnsKey,He=te.onColumnResize,ot=h.useRef(null);return h.createElement("tr",{"aria-hidden":"true",className:"".concat(ue,"-measure-row"),style:{height:0,fontSize:0},ref:ot},h.createElement($.Z.Collection,{onBatchResize:function(Ut){(0,Et.Z)(ot.current)&&Ut.forEach(function(Mt){var Kt=Mt.data,Zt=Mt.size;He(Kt,Zt.offsetWidth)})}},Ie.map(function(gt){return h.createElement(yt,{key:gt,columnKey:gt,onColumnResize:He})})))}function Jt(te){var ue=te.data,Ie=te.measureColumnWidth,He=d(i,["prefixCls","getComponent","onColumnResize","flattenColumns","getRowKey","expandedKeys","childrenColumnName","emptyNode"]),ot=He.prefixCls,gt=He.getComponent,Ut=He.onColumnResize,Mt=He.flattenColumns,Kt=He.getRowKey,Zt=He.expandedKeys,xn=He.childrenColumnName,an=He.emptyNode,en=ut(ue,xn,Zt,Kt),$t=h.useRef({renderWithProps:!1}),mn=gt(["body","wrapper"],"tbody"),S=gt(["body","row"],"tr"),R=gt(["body","cell"],"td"),U=gt(["body","cell"],"th"),H;ue.length?H=en.map(function(Q,ce){var ae=Q.record,Se=Q.indent,pe=Q.index,Me=Kt(ae,ce);return h.createElement(rt,{key:Me,rowKey:Me,record:ae,index:ce,renderIndex:pe,rowComponent:S,cellComponent:R,scopeCellComponent:U,indent:Se})}):H=h.createElement(vt,{expanded:!0,className:"".concat(ot,"-placeholder"),prefixCls:ot,component:S,cellComponent:R,colSpan:Mt.length,isEmpty:!0},an);var G=X(Mt);return h.createElement(F.Provider,{value:$t.current},h.createElement(mn,{className:"".concat(ot,"-tbody")},Ie&&h.createElement(cn,{prefixCls:ot,columnsKey:G,onColumnResize:Ut}),H))}var zt=v(Jt),vn=["expandable"],Fn="RC_TABLE_INTERNAL_COL_DEFINE";function tn(te){var ue=te.expandable,Ie=(0,Te.Z)(te,vn),He;return"expandable"in te?He=(0,A.Z)((0,A.Z)({},Ie),ue):He=Ie,He.showExpandColumn===!1&&(He.expandIconColumnIndex=-1),He}var Pn=["columnType"];function qt(te){for(var ue=te.colWidths,Ie=te.columns,He=te.columCount,ot=d(i,["tableLayout"]),gt=ot.tableLayout,Ut=[],Mt=He||Ie.length,Kt=!1,Zt=Mt-1;Zt>=0;Zt-=1){var xn=ue[Zt],an=Ie&&Ie[Zt],en=void 0,$t=void 0;if(an&&(en=an[Fn],gt==="auto"&&($t=an.minWidth)),xn||$t||en||Kt){var mn=en||{},S=mn.columnType,R=(0,Te.Z)(mn,Pn);Ut.unshift(h.createElement("col",(0,l.Z)({key:Zt,style:{width:xn,minWidth:$t}},R))),Kt=!0}}return h.createElement("colgroup",null,Ut)}var jt=qt,kt=M(94480),rn=["className","noData","columns","flattenColumns","colWidths","columCount","stickyOffsets","direction","fixHeader","stickyTopOffset","stickyBottomOffset","stickyClassName","onScroll","maxContentScroll","children"];function It(te,ue){return(0,h.useMemo)(function(){for(var Ie=[],He=0;He1?"colgroup":"col":null,ellipsis:R.ellipsis,align:R.align,component:Ut,prefixCls:xn,key:$t[S]},U,{additionalProps:H,rowType:"header"}))}))},_n=Xt;function _t(te){var ue=[];function Ie(Ut,Mt){var Kt=arguments.length>2&&arguments[2]!==void 0?arguments[2]:0;ue[Kt]=ue[Kt]||[];var Zt=Mt,xn=Ut.filter(Boolean).map(function(an){var en={key:an.key,className:an.className||"",children:an.title,column:an,colStart:Zt},$t=1,mn=an.children;return mn&&mn.length>0&&($t=Ie(mn,Zt,Kt+1).reduce(function(S,R){return S+R},0),en.hasSubColumns=!0),"colSpan"in an&&($t=an.colSpan),"rowSpan"in an&&(en.rowSpan=an.rowSpan),en.colSpan=$t,en.colEnd=en.colStart+$t-1,ue[Kt].push(en),Zt+=$t,$t});return xn}Ie(te,0);for(var He=ue.length,ot=function(Mt){ue[Mt].forEach(function(Kt){!("rowSpan"in Kt)&&!Kt.hasSubColumns&&(Kt.rowSpan=He-Mt)})},gt=0;gt1&&arguments[1]!==void 0?arguments[1]:"";return typeof ue=="number"?ue:ue.endsWith("%")?te*parseFloat(ue)/100:null}function se(te,ue,Ie){return h.useMemo(function(){if(ue&&ue>0){var He=0,ot=0;te.forEach(function(en){var $t=ie(ue,en.width);$t?He+=$t:ot+=1});var gt=Math.max(ue,Ie),Ut=Math.max(gt-He,ot),Mt=ot,Kt=Ut/ot,Zt=0,xn=te.map(function(en){var $t=(0,A.Z)({},en),mn=ie(ue,$t.width);if(mn)$t.width=mn;else{var S=Math.floor(Kt);$t.width=Mt===1?Ut:S,Ut-=S,Mt-=1}return Zt+=$t.width,$t});if(Zt0?(0,A.Z)((0,A.Z)({},ue),{},{children:at(Ie)}):ue})}function Nt(te){var ue=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"key";return te.filter(function(Ie){return Ie&&(0,x.Z)(Ie)==="object"}).reduce(function(Ie,He,ot){var gt=He.fixed,Ut=gt===!0?"left":gt,Mt="".concat(ue,"-").concat(ot),Kt=He.children;return Kt&&Kt.length>0?[].concat((0,kt.Z)(Ie),(0,kt.Z)(Nt(Kt,Mt).map(function(Zt){return(0,A.Z)({fixed:Ut},Zt)}))):[].concat((0,kt.Z)(Ie),[(0,A.Z)((0,A.Z)({key:Mt},He),{},{fixed:Ut})])},[])}function Gt(te){return te.map(function(ue){var Ie=ue.fixed,He=(0,Te.Z)(ue,lt),ot=Ie;return Ie==="left"?ot="right":Ie==="right"&&(ot="left"),(0,A.Z)({fixed:ot},He)})}function je(te,ue){var Ie=te.prefixCls,He=te.columns,ot=te.children,gt=te.expandable,Ut=te.expandedKeys,Mt=te.columnTitle,Kt=te.getRowKey,Zt=te.onTriggerExpand,xn=te.expandIcon,an=te.rowExpandable,en=te.expandIconColumnIndex,$t=te.direction,mn=te.expandRowByClick,S=te.columnWidth,R=te.fixed,U=te.scrollWidth,H=te.clientWidth,G=h.useMemo(function(){var mt=He||xt(ot)||[];return at(mt.slice())},[He,ot]),Q=h.useMemo(function(){if(gt){var mt=G.slice();if(!mt.includes(k)){var dt=en||0;dt>=0&&(dt||R==="left"||!R)&&mt.splice(dt,0,k),R==="right"&&mt.splice(G.length,0,k)}var nt=mt.indexOf(k);mt=mt.filter(function(Vt,Ht){return Vt!==k||Ht===nt});var st=G[nt],Ot;R?Ot=R:Ot=st?st.fixed:null;var bt=(0,w.Z)((0,w.Z)((0,w.Z)((0,w.Z)((0,w.Z)((0,w.Z)({},Fn,{className:"".concat(Ie,"-expand-icon-col"),columnType:"EXPAND_COLUMN"}),"title",Mt),"fixed",Ot),"className","".concat(Ie,"-row-expand-icon-cell")),"width",S),"render",function(Ht,Kn,on){var Rn=Kt(Kn,on),br=Ut.has(Rn),Er=an?an(Kn):!0,Sn=xn({prefixCls:Ie,expanded:br,expandable:Er,record:Kn,onExpand:Zt});return mn?h.createElement("span",{onClick:function(Jn){return Jn.stopPropagation()}},Sn):Sn});return mt.map(function(Vt){return Vt===k?bt:Vt})}return G.filter(function(Vt){return Vt!==k})},[gt,G,Kt,Ut,xn,$t]),ce=h.useMemo(function(){var mt=Q;return ue&&(mt=ue(mt)),mt.length||(mt=[{render:function(){return null}}]),mt},[ue,Q,$t]),ae=h.useMemo(function(){return $t==="rtl"?Gt(Nt(ce)):Nt(ce)},[ce,$t,U]),Se=h.useMemo(function(){for(var mt=-1,dt=ae.length-1;dt>=0;dt-=1){var nt=ae[dt].fixed;if(nt==="left"||nt===!0){mt=dt;break}}if(mt>=0)for(var st=0;st<=mt;st+=1){var Ot=ae[st].fixed;if(Ot!=="left"&&Ot!==!0)return!0}var bt=ae.findIndex(function(Kn){var on=Kn.fixed;return on==="right"});if(bt>=0)for(var Vt=bt;Vt=bt-Mt?H(function(Vt){return(0,A.Z)((0,A.Z)({},Vt),{},{isHiddenScrollBar:!0})}):H(function(Vt){return(0,A.Z)((0,A.Z)({},Vt),{},{isHiddenScrollBar:!1})})}})},dt=function(st){H(function(Ot){return(0,A.Z)((0,A.Z)({},Ot),{},{scrollLeft:st/an*en||0})})};return h.useImperativeHandle(Ie,function(){return{setScrollLeft:dt,checkScrollBarVisible:mt}}),h.useEffect(function(){var nt=(0,ct.Z)(document.body,"mouseup",Me,!1),st=(0,ct.Z)(document.body,"mousemove",Xe,!1);return mt(),function(){nt.remove(),st.remove()}},[$t,ae]),h.useEffect(function(){if(gt.current){for(var nt=[],st=(0,Pt.bn)(gt.current);st;)nt.push(st),st=st.parentElement;return nt.forEach(function(Ot){return Ot.addEventListener("scroll",mt,!1)}),window.addEventListener("resize",mt,!1),window.addEventListener("scroll",mt,!1),Kt.addEventListener("scroll",mt,!1),function(){nt.forEach(function(Ot){return Ot.removeEventListener("scroll",mt)}),window.removeEventListener("resize",mt),window.removeEventListener("scroll",mt),Kt.removeEventListener("scroll",mt)}}},[Kt]),h.useEffect(function(){U.isHiddenScrollBar||H(function(nt){var st=gt.current;return st?(0,A.Z)((0,A.Z)({},nt),{},{scrollLeft:st.scrollLeft/st.scrollWidth*st.clientWidth}):nt})},[U.isHiddenScrollBar]),an<=en||!$t||U.isHiddenScrollBar?null:h.createElement("div",{style:{height:(0,xe.Z)(),width:en,bottom:Mt},className:"".concat(xn,"-sticky-scroll")},h.createElement("div",{onMouseDown:ze,ref:mn,className:D()("".concat(xn,"-sticky-scroll-bar"),(0,w.Z)({},"".concat(xn,"-sticky-scroll-bar-active"),ae)),style:{width:"".concat($t,"px"),transform:"translate3d(".concat(U.scrollLeft,"px, 0, 0)")}}))},wn=h.forwardRef(sn);function En(te){return null}var nn=En;function fn(te){return null}var pn=fn,Lt="rc-table",Mn=[],Zn={};function bn(){return"No Data"}function Wn(te,ue){var Ie=(0,A.Z)({rowKey:"key",prefixCls:Lt,emptyText:bn},te),He=Ie.prefixCls,ot=Ie.className,gt=Ie.rowClassName,Ut=Ie.style,Mt=Ie.data,Kt=Ie.rowKey,Zt=Ie.scroll,xn=Ie.tableLayout,an=Ie.direction,en=Ie.title,$t=Ie.footer,mn=Ie.summary,S=Ie.caption,R=Ie.id,U=Ie.showHeader,H=Ie.components,G=Ie.emptyText,Q=Ie.onRow,ce=Ie.onHeaderRow,ae=Ie.onScroll,Se=Ie.internalHooks,pe=Ie.transformColumns,Me=Ie.internalRefs,ze=Ie.tailor,Xe=Ie.getContainerWidth,mt=Ie.sticky,dt=Ie.rowHoverable,nt=dt===void 0?!0:dt,st=Mt||Mn,Ot=!!st.length,bt=Se===P,Vt=h.useCallback(function(Da,Ta){return(0,N.Z)(H,Da)||Ta},[H]),Ht=h.useMemo(function(){return typeof Kt=="function"?Kt:function(Da){var Ta=Da&&Da[Kt];return Ta}},[Kt]),Kn=Vt(["body"]),on=he(),Rn=(0,_.Z)(on,3),br=Rn[0],Er=Rn[1],Sn=Rn[2],Tn=Ee(Ie,st,Ht),Jn=(0,_.Z)(Tn,6),Dt=Jn[0],dn=Jn[1],zn=Jn[2],Qt=Jn[3],In=Jn[4],ln=Jn[5],yn=Zt==null?void 0:Zt.x,_r=h.useState(0),Br=(0,_.Z)(_r,2),mr=Br[0],ra=Br[1],ua=Ne((0,A.Z)((0,A.Z)((0,A.Z)({},Ie),Dt),{},{expandable:!!Dt.expandedRowRender,columnTitle:Dt.columnTitle,expandedKeys:zn,getRowKey:Ht,onTriggerExpand:ln,expandIcon:Qt,expandIconColumnIndex:Dt.expandIconColumnIndex,direction:an,scrollWidth:bt&&ze&&typeof yn=="number"?yn:null,clientWidth:mr}),bt?pe:null),_a=(0,_.Z)(ua,4),Sr=_a[0],zr=_a[1],xa=_a[2],Ha=_a[3],Ra=xa!=null?xa:yn,Ei=h.useMemo(function(){return{columns:Sr,flattenColumns:zr}},[Sr,zr]),oi=h.useRef(),Gi=h.useRef(),ei=h.useRef(),za=h.useRef();h.useImperativeHandle(ue,function(){return{nativeElement:oi.current,scrollTo:function(Ta){var bi;if(ei.current instanceof HTMLElement){var Vi=Ta.index,Ai=Ta.top,To=Ta.key;if(le(Ai)){var go;(go=ei.current)===null||go===void 0||go.scrollTo({top:Ai})}else{var yo,Ko=To!=null?To:Ht(st[Vi]);(yo=ei.current.querySelector('[data-row-key="'.concat(Ko,'"]')))===null||yo===void 0||yo.scrollIntoView()}}else(bi=ei.current)!==null&&bi!==void 0&&bi.scrollTo&&ei.current.scrollTo(Ta)}}});var Ga=h.useRef(),Ja=h.useState(!1),di=(0,_.Z)(Ja,2),ui=di[0],Na=di[1],ai=h.useState(!1),ja=(0,_.Z)(ai,2),xi=ja[0],si=ja[1],wi=h.useState(new Map),lo=(0,_.Z)(wi,2),Wo=lo[0],ni=lo[1],zo=X(zr),Mi=zo.map(function(Da){return Wo.get(Da)}),Wi=h.useMemo(function(){return Mi},[Mi.join("_")]),Fi=_e(Wi,zr,an),Oi=Zt&&Y(Zt.y),Ti=Zt&&Y(Ra)||!!Dt.fixed,zi=Ti&&zr.some(function(Da){var Ta=Da.fixed;return Ta}),uo=h.useRef(),Qi=me(mt,He),Ji=Qi.isSticky,Qo=Qi.offsetHeader,Jo=Qi.offsetSummary,qo=Qi.offsetScroll,ko=Qi.stickyClassName,$o=Qi.container,ca=h.useMemo(function(){return mn==null?void 0:mn(st)},[mn,st]),Ka=(Oi||Ji)&&h.isValidElement(ca)&&ca.type===q&&ca.props.fixed,li,fi,Pi;Oi&&(fi={overflowY:Ot?"scroll":"auto",maxHeight:Zt.y}),Ti&&(li={overflowX:"auto"},Oi||(fi={overflowY:"hidden"}),Pi={width:Ra===!0?"auto":Ra,minWidth:"100%"});var Ki=h.useCallback(function(Da,Ta){ni(function(bi){if(bi.get(Da)!==Ta){var Vi=new Map(bi);return Vi.set(Da,Ta),Vi}return bi})},[]),Xi=We(null),Ci=(0,_.Z)(Xi,2),xs=Ci[0],is=Ci[1];function Go(Da,Ta){Ta&&(typeof Ta=="function"?Ta(Da):Ta.scrollLeft!==Da&&(Ta.scrollLeft=Da,Ta.scrollLeft!==Da&&setTimeout(function(){Ta.scrollLeft=Da},0)))}var Oo=(0,B.Z)(function(Da){var Ta=Da.currentTarget,bi=Da.scrollLeft,Vi=an==="rtl",Ai=typeof bi=="number"?bi:Ta.scrollLeft,To=Ta||Zn;if(!is()||is()===To){var go;xs(To),Go(Ai,Gi.current),Go(Ai,ei.current),Go(Ai,Ga.current),Go(Ai,(go=uo.current)===null||go===void 0?void 0:go.setScrollLeft)}var yo=Ta||Gi.current;if(yo){var Ko=bt&&ze&&typeof Ra=="number"?Ra:yo.scrollWidth,as=yo.clientWidth;if(Ko===as){Na(!1),si(!1);return}Vi?(Na(-Ai0)):(Na(Ai>0),si(Ai1?R-nt:0,Ot=(0,A.Z)((0,A.Z)((0,A.Z)({},pe),Zt),{},{flex:"0 0 ".concat(nt,"px"),width:"".concat(nt,"px"),marginRight:st,pointerEvents:"auto"}),bt=h.useMemo(function(){return an?mt<=1:ze===0||mt===0||mt>1},[mt,ze,an]);bt?Ot.visibility="hidden":an&&(Ot.height=en==null?void 0:en(mt));var Vt=bt?function(){return null}:$t,Ht={};return(mt===0||ze===0)&&(Ht.rowSpan=1,Ht.colSpan=1),h.createElement($e,(0,l.Z)({className:D()(S,xn),ellipsis:Ie.ellipsis,align:Ie.align,scope:Ie.rowScope,component:Ut,prefixCls:ue.prefixCls,key:Q,record:Kt,index:gt,renderIndex:Mt,dataIndex:mn,render:Vt,shouldCellUpdate:Ie.shouldCellUpdate},ce,{appendNode:ae,additionalProps:(0,A.Z)((0,A.Z)({},Se),{},{style:Ot},Ht)}))}var St=Yn,Pr=["data","index","className","rowKey","style","extra","getHeight"],Xr=h.forwardRef(function(te,ue){var Ie=te.data,He=te.index,ot=te.className,gt=te.rowKey,Ut=te.style,Mt=te.extra,Kt=te.getHeight,Zt=(0,Te.Z)(te,Pr),xn=Ie.record,an=Ie.indent,en=Ie.index,$t=d(i,["prefixCls","flattenColumns","fixColumn","componentWidth","scrollX"]),mn=$t.scrollX,S=$t.flattenColumns,R=$t.prefixCls,U=$t.fixColumn,H=$t.componentWidth,G=d(pr,["getComponent"]),Q=G.getComponent,ce=Je(xn,gt,He,an),ae=Q(["body","row"],"div"),Se=Q(["body","cell"],"div"),pe=ce.rowSupportExpand,Me=ce.expanded,ze=ce.rowProps,Xe=ce.expandedRowRender,mt=ce.expandedRowClassName,dt;if(pe&&Me){var nt=Xe(xn,He,an+1,Me),st=Ke(mt,xn,He,an),Ot={};U&&(Ot={style:(0,w.Z)({},"--virtual-width","".concat(H,"px"))});var bt="".concat(R,"-expanded-row-cell");dt=h.createElement(ae,{className:D()("".concat(R,"-expanded-row"),"".concat(R,"-expanded-row-level-").concat(an+1),st)},h.createElement($e,{component:Se,prefixCls:R,className:D()(bt,(0,w.Z)({},"".concat(bt,"-fixed"),U)),additionalProps:Ot},nt))}var Vt=(0,A.Z)((0,A.Z)({},Ut),{},{width:mn});Mt&&(Vt.position="absolute",Vt.pointerEvents="none");var Ht=h.createElement(ae,(0,l.Z)({},ze,Zt,{"data-row-key":gt,ref:pe?null:ue,className:D()(ot,"".concat(R,"-row"),ze==null?void 0:ze.className,(0,w.Z)({},"".concat(R,"-row-extra"),Mt)),style:(0,A.Z)((0,A.Z)({},Vt),ze==null?void 0:ze.style)}),S.map(function(Kn,on){return h.createElement(St,{key:on,component:Se,rowInfo:ce,column:Kn,colIndex:on,indent:an,index:He,renderIndex:en,record:xn,inverse:Mt,getHeight:Kt})}));return pe?h.createElement("div",{ref:ue},Ht,dt):Ht}),Ir=v(Xr),Hr=Ir,Fr=h.forwardRef(function(te,ue){var Ie=te.data,He=te.onScroll,ot=d(i,["flattenColumns","onColumnResize","getRowKey","prefixCls","expandedKeys","childrenColumnName","scrollX","direction"]),gt=ot.flattenColumns,Ut=ot.onColumnResize,Mt=ot.getRowKey,Kt=ot.expandedKeys,Zt=ot.prefixCls,xn=ot.childrenColumnName,an=ot.scrollX,en=ot.direction,$t=d(pr),mn=$t.sticky,S=$t.scrollY,R=$t.listItemHeight,U=$t.getComponent,H=$t.onScroll,G=h.useRef(),Q=ut(Ie,xn,Kt,Mt),ce=h.useMemo(function(){var dt=0;return gt.map(function(nt){var st=nt.width,Ot=nt.key;return dt+=st,[Ot,st,dt]})},[gt]),ae=h.useMemo(function(){return ce.map(function(dt){return dt[2]})},[ce]);h.useEffect(function(){ce.forEach(function(dt){var nt=(0,_.Z)(dt,2),st=nt[0],Ot=nt[1];Ut(st,Ot)})},[ce]),h.useImperativeHandle(ue,function(){var dt,nt={scrollTo:function(Ot){var bt;(bt=G.current)===null||bt===void 0||bt.scrollTo(Ot)},nativeElement:(dt=G.current)===null||dt===void 0?void 0:dt.nativeElement};return Object.defineProperty(nt,"scrollLeft",{get:function(){var Ot;return((Ot=G.current)===null||Ot===void 0?void 0:Ot.getScrollInfo().x)||0},set:function(Ot){var bt;(bt=G.current)===null||bt===void 0||bt.scrollTo({left:Ot})}}),nt});var Se=function(nt,st){var Ot,bt=(Ot=Q[st])===null||Ot===void 0?void 0:Ot.record,Vt=nt.onCell;if(Vt){var Ht,Kn=Vt(bt,st);return(Ht=Kn==null?void 0:Kn.rowSpan)!==null&&Ht!==void 0?Ht:1}return 1},pe=function(nt){var st=nt.start,Ot=nt.end,bt=nt.getSize,Vt=nt.offsetY;if(Ot<0)return null;for(var Ht=gt.filter(function(Qt){return Se(Qt,st)===0}),Kn=st,on=function(In){if(Ht=Ht.filter(function(ln){return Se(ln,In)===0}),!Ht.length)return Kn=In,1},Rn=st;Rn>=0&&!on(Rn);Rn-=1);for(var br=gt.filter(function(Qt){return Se(Qt,Ot)!==1}),Er=Ot,Sn=function(In){if(br=br.filter(function(ln){return Se(ln,In)!==1}),!br.length)return Er=Math.max(In-1,Ot),1},Tn=Ot;Tn1})&&Jn.push(In)},dn=Kn;dn<=Er;dn+=1)Dt(dn);var zn=Jn.map(function(Qt){var In=Q[Qt],ln=Mt(In.record,Qt),yn=function(mr){var ra=Qt+mr-1,ua=Mt(Q[ra].record,ra),_a=bt(ln,ua);return _a.bottom-_a.top},_r=bt(ln);return h.createElement(Hr,{key:Qt,data:In,rowKey:ln,index:Qt,style:{top:-Vt+_r.top},extra:!0,getHeight:yn})});return zn},Me=h.useMemo(function(){return{columnsOffset:ae}},[ae]),ze="".concat(Zt,"-tbody"),Xe=U(["body","wrapper"]),mt={};return mn&&(mt.position="sticky",mt.bottom=0,(0,x.Z)(mn)==="object"&&mn.offsetScroll&&(mt.bottom=mn.offsetScroll)),h.createElement(nr.Provider,{value:Me},h.createElement(ar.Z,{fullHeight:!1,ref:G,prefixCls:"".concat(ze,"-virtual"),styles:{horizontalScrollBar:mt},className:ze,height:S,itemHeight:R||24,data:Q,itemKey:function(nt){return Mt(nt.record)},component:Xe,scrollWidth:an,direction:en,onVirtualScroll:function(nt){var st,Ot=nt.x;He({currentTarget:(st=G.current)===null||st===void 0?void 0:st.nativeElement,scrollLeft:Ot})},onScroll:H,extraRender:pe},function(dt,nt,st){var Ot=Mt(dt.record,nt);return h.createElement(Hr,{data:dt,rowKey:Ot,index:nt,style:st.style})}))}),$r=v(Fr),rr=$r,tr=function(ue,Ie){var He=Ie.ref,ot=Ie.onScroll;return h.createElement(rr,{ref:He,data:ue,onScroll:ot})};function Nn(te,ue){var Ie=te.data,He=te.columns,ot=te.scroll,gt=te.sticky,Ut=te.prefixCls,Mt=Ut===void 0?Lt:Ut,Kt=te.className,Zt=te.listItemHeight,xn=te.components,an=te.onScroll,en=ot||{},$t=en.x,mn=en.y;typeof $t!="number"&&($t=1),typeof mn!="number"&&(mn=500);var S=(0,Ae.zX)(function(H,G){return(0,N.Z)(xn,H)||G}),R=(0,Ae.zX)(an),U=h.useMemo(function(){return{sticky:gt,scrollY:mn,listItemHeight:Zt,getComponent:S,onScroll:R}},[gt,mn,Zt,S,R]);return h.createElement(pr.Provider,{value:U},h.createElement(Bn,(0,l.Z)({},te,{className:D()(Kt,"".concat(Mt,"-virtual")),scroll:(0,A.Z)((0,A.Z)({},ot),{},{x:$t}),components:(0,A.Z)((0,A.Z)({},xn),{},{body:Ie!=null&&Ie.length?tr:void 0}),columns:He,internalHooks:P,tailor:!0,ref:ue})))}var Ft=h.forwardRef(Nn);function hn(te){return s(Ft,te)}var Gn=hn(),Vn=null,Mr=te=>null,et=te=>null,Tt=M(84105),Ct=M(82661),Cn=M(34643),cr=M(34061),it=M(18929);function Tr(te){const[ue,Ie]=(0,h.useState)(null);return[(0,h.useCallback)((gt,Ut,Mt)=>{const Kt=ue!=null?ue:gt,Zt=Math.min(Kt||0,gt),xn=Math.max(Kt||0,gt),an=Ut.slice(Zt,xn+1).map(mn=>te(mn)),en=an.some(mn=>!Mt.has(mn)),$t=[];return an.forEach(mn=>{en?(Mt.has(mn)||$t.push(mn),Mt.add(mn)):(Mt.delete(mn),$t.push(mn))}),Ie(en?xn:null),$t},[ue]),gt=>{Ie(gt)}]}var Dn=M(32383),un=M(62673),Un=M(75727),vr=M(47889);const On={},hr="SELECT_ALL",An="SELECT_INVERT",Or="SELECT_NONE",or=[],Rr=(te,ue)=>{let Ie=[];return(ue||[]).forEach(He=>{Ie.push(He),He&&typeof He=="object"&&te in He&&(Ie=[].concat((0,kt.Z)(Ie),(0,kt.Z)(Rr(te,He[te]))))}),Ie};var $n=(te,ue)=>{const{preserveSelectedRowKeys:Ie,selectedRowKeys:He,defaultSelectedRowKeys:ot,getCheckboxProps:gt,onChange:Ut,onSelect:Mt,onSelectAll:Kt,onSelectInvert:Zt,onSelectNone:xn,onSelectMultiple:an,columnWidth:en,type:$t,selections:mn,fixed:S,renderCell:R,hideSelectAll:U,checkStrictly:H=!0}=ue||{},{prefixCls:G,data:Q,pageData:ce,getRecordByKey:ae,getRowKey:Se,expandType:pe,childrenColumnName:Me,locale:ze,getPopupContainer:Xe}=te,mt=(0,Dn.ln)("Table"),[dt,nt]=Tr(Qt=>Qt),[st,Ot]=(0,it.Z)(He||ot||or,{value:He}),bt=h.useRef(new Map),Vt=(0,h.useCallback)(Qt=>{if(Ie){const In=new Map;Qt.forEach(ln=>{let yn=ae(ln);!yn&&bt.current.has(ln)&&(yn=bt.current.get(ln)),In.set(ln,yn)}),bt.current=In}},[ae,Ie]);h.useEffect(()=>{Vt(st)},[st]);const Ht=(0,h.useMemo)(()=>Rr(Me,ce),[Me,ce]),{keyEntities:Kn}=(0,h.useMemo)(()=>{if(H)return{keyEntities:null};let Qt=Q;if(Ie){const In=new Set(Ht.map((yn,_r)=>Se(yn,_r))),ln=Array.from(bt.current).reduce((yn,_r)=>{let[Br,mr]=_r;return In.has(Br)?yn:yn.concat(mr)},[]);Qt=[].concat((0,kt.Z)(Qt),(0,kt.Z)(ln))}return(0,cr.I8)(Qt,{externalGetKey:Se,childrenPropName:Me})},[Q,Se,H,Me,Ie,Ht]),on=(0,h.useMemo)(()=>{const Qt=new Map;return Ht.forEach((In,ln)=>{const yn=Se(In,ln),_r=(gt?gt(In):null)||{};Qt.set(yn,_r)}),Qt},[Ht,Se,gt]),Rn=(0,h.useCallback)(Qt=>{const In=Se(Qt);let ln;return on.has(In)?ln=on.get(Se(Qt)):ln=gt?gt(Qt):void 0,!!(ln!=null&&ln.disabled)},[on,Se]),[br,Er]=(0,h.useMemo)(()=>{if(H)return[st||[],[]];const{checkedKeys:Qt,halfCheckedKeys:In}=(0,Cn.S)(st,!0,Kn,Rn);return[Qt||[],In]},[st,H,Kn,Rn]),Sn=(0,h.useMemo)(()=>{const Qt=$t==="radio"?br.slice(0,1):br;return new Set(Qt)},[br,$t]),Tn=(0,h.useMemo)(()=>$t==="radio"?new Set:new Set(Er),[Er,$t]);h.useEffect(()=>{ue||Ot(or)},[!!ue]);const Jn=(0,h.useCallback)((Qt,In)=>{let ln,yn;Vt(Qt),Ie?(ln=Qt,yn=Qt.map(_r=>bt.current.get(_r))):(ln=[],yn=[],Qt.forEach(_r=>{const Br=ae(_r);Br!==void 0&&(ln.push(_r),yn.push(Br))})),Ot(ln),Ut==null||Ut(ln,yn,{type:In})},[Ot,ae,Ut,Ie]),Dt=(0,h.useCallback)((Qt,In,ln,yn)=>{if(Mt){const _r=ln.map(Br=>ae(Br));Mt(ae(Qt),In,_r,yn)}Jn(ln,"single")},[Mt,ae,Jn]),dn=(0,h.useMemo)(()=>!mn||U?null:(mn===!0?[hr,An,Or]:mn).map(In=>In===hr?{key:"all",text:ze.selectionAll,onSelect(){Jn(Q.map((ln,yn)=>Se(ln,yn)).filter(ln=>{const yn=on.get(ln);return!(yn!=null&&yn.disabled)||Sn.has(ln)}),"all")}}:In===An?{key:"invert",text:ze.selectInvert,onSelect(){const ln=new Set(Sn);ce.forEach((_r,Br)=>{const mr=Se(_r,Br),ra=on.get(mr);ra!=null&&ra.disabled||(ln.has(mr)?ln.delete(mr):ln.add(mr))});const yn=Array.from(ln);Zt&&(mt.deprecated(!1,"onSelectInvert","onChange"),Zt(yn)),Jn(yn,"invert")}}:In===Or?{key:"none",text:ze.selectNone,onSelect(){xn==null||xn(),Jn(Array.from(Sn).filter(ln=>{const yn=on.get(ln);return yn==null?void 0:yn.disabled}),"none")}}:In).map(In=>Object.assign(Object.assign({},In),{onSelect:function(){for(var ln,yn,_r=arguments.length,Br=new Array(_r),mr=0;mr<_r;mr++)Br[mr]=arguments[mr];(yn=In.onSelect)===null||yn===void 0||(ln=yn).call.apply(ln,[In].concat(Br)),nt(null)}})),[mn,Sn,ce,Se,Zt,Jn]);return[(0,h.useCallback)(Qt=>{var In;if(!ue)return Qt.filter(za=>za!==On);let ln=(0,kt.Z)(Qt);const yn=new Set(Sn),_r=Ht.map(Se).filter(za=>!on.get(za).disabled),Br=_r.every(za=>yn.has(za)),mr=_r.some(za=>yn.has(za)),ra=()=>{const za=[];Br?_r.forEach(Ja=>{yn.delete(Ja),za.push(Ja)}):_r.forEach(Ja=>{yn.has(Ja)||(yn.add(Ja),za.push(Ja))});const Ga=Array.from(yn);Kt==null||Kt(!Br,Ga.map(Ja=>ae(Ja)),za.map(Ja=>ae(Ja))),Jn(Ga,"all"),nt(null)};let ua,_a;if($t!=="radio"){let za;if(dn){const Na={getPopupContainer:Xe,items:dn.map((ai,ja)=>{const{key:xi,text:si,onSelect:wi}=ai;return{key:xi!=null?xi:ja,onClick:()=>{wi==null||wi(_r)},label:si}})};za=h.createElement("div",{className:`${G}-selection-extra`},h.createElement(Un.Z,{menu:Na,getPopupContainer:Xe},h.createElement("span",null,h.createElement(Tt.Z,null))))}const Ga=Ht.map((Na,ai)=>{const ja=Se(Na,ai),xi=on.get(ja)||{};return Object.assign({checked:yn.has(ja)},xi)}).filter(Na=>{let{disabled:ai}=Na;return ai}),Ja=!!Ga.length&&Ga.length===Ht.length,di=Ja&&Ga.every(Na=>{let{checked:ai}=Na;return ai}),ui=Ja&&Ga.some(Na=>{let{checked:ai}=Na;return ai});_a=h.createElement(un.default,{checked:Ja?di:!!Ht.length&&Br,indeterminate:Ja?!di&&ui:!Br&&mr,onChange:ra,disabled:Ht.length===0||Ja,"aria-label":za?"Custom selection":"Select all",skipGroup:!0}),ua=!U&&h.createElement("div",{className:`${G}-selection`},_a,za)}let Sr;$t==="radio"?Sr=(za,Ga,Ja)=>{const di=Se(Ga,Ja),ui=yn.has(di),Na=on.get(di);return{node:h.createElement(vr.ZP,Object.assign({},Na,{checked:ui,onClick:ai=>{var ja;ai.stopPropagation(),(ja=Na==null?void 0:Na.onClick)===null||ja===void 0||ja.call(Na,ai)},onChange:ai=>{var ja;yn.has(di)||Dt(di,!0,[di],ai.nativeEvent),(ja=Na==null?void 0:Na.onChange)===null||ja===void 0||ja.call(Na,ai)}})),checked:ui}}:Sr=(za,Ga,Ja)=>{var di;const ui=Se(Ga,Ja),Na=yn.has(ui),ai=Tn.has(ui),ja=on.get(ui);let xi;return pe==="nest"?xi=ai:xi=(di=ja==null?void 0:ja.indeterminate)!==null&&di!==void 0?di:ai,{node:h.createElement(un.default,Object.assign({},ja,{indeterminate:xi,checked:Na,skipGroup:!0,onClick:si=>{var wi;si.stopPropagation(),(wi=ja==null?void 0:ja.onClick)===null||wi===void 0||wi.call(ja,si)},onChange:si=>{var wi;const{nativeEvent:lo}=si,{shiftKey:Wo}=lo,ni=_r.findIndex(Mi=>Mi===ui),zo=br.some(Mi=>_r.includes(Mi));if(Wo&&H&&zo){const Mi=dt(ni,_r,yn),Wi=Array.from(yn);an==null||an(!Na,Wi.map(Fi=>ae(Fi)),Mi.map(Fi=>ae(Fi))),Jn(Wi,"multiple")}else{const Mi=br;if(H){const Wi=Na?(0,Ct._5)(Mi,ui):(0,Ct.L0)(Mi,ui);Dt(ui,!Na,Wi,lo)}else{const Wi=(0,Cn.S)([].concat((0,kt.Z)(Mi),[ui]),!0,Kn,Rn),{checkedKeys:Fi,halfCheckedKeys:Oi}=Wi;let Ti=Fi;if(Na){const zi=new Set(Fi);zi.delete(ui),Ti=(0,Cn.S)(Array.from(zi),{checked:!1,halfCheckedKeys:Oi},Kn,Rn).checkedKeys}Dt(ui,!Na,Ti,lo)}}nt(Na?null:ni),(wi=ja==null?void 0:ja.onChange)===null||wi===void 0||wi.call(ja,si)}})),checked:Na}};const zr=(za,Ga,Ja)=>{const{node:di,checked:ui}=Sr(za,Ga,Ja);return R?R(ui,Ga,Ja,di):di};if(!ln.includes(On))if(ln.findIndex(za=>{var Ga;return((Ga=za[Fn])===null||Ga===void 0?void 0:Ga.columnType)==="EXPAND_COLUMN"})===0){const[za,...Ga]=ln;ln=[za,On].concat((0,kt.Z)(Ga))}else ln=[On].concat((0,kt.Z)(ln));const xa=ln.indexOf(On);ln=ln.filter((za,Ga)=>za!==On||Ga===xa);const Ha=ln[xa-1],Ra=ln[xa+1];let Ei=S;Ei===void 0&&((Ra==null?void 0:Ra.fixed)!==void 0?Ei=Ra.fixed:(Ha==null?void 0:Ha.fixed)!==void 0&&(Ei=Ha.fixed)),Ei&&Ha&&((In=Ha[Fn])===null||In===void 0?void 0:In.columnType)==="EXPAND_COLUMN"&&Ha.fixed===void 0&&(Ha.fixed=Ei);const oi=D()(`${G}-selection-col`,{[`${G}-selection-col-with-dropdown`]:mn&&$t==="checkbox"}),Gi=()=>ue!=null&&ue.columnTitle?typeof ue.columnTitle=="function"?ue.columnTitle(_a):ue.columnTitle:ua,ei={fixed:Ei,width:en,className:`${G}-selection-column`,title:Gi(),render:zr,onCell:ue.onCell,[Fn]:{className:oi}};return ln.map(za=>za===On?ei:za)},[Se,Ht,ue,br,Sn,Tn,en,dn,pe,on,an,Dt,Rn]),Sn]},Dr=M(2738);function xr(te,ue){return te._antProxy=te._antProxy||{},Object.keys(ue).forEach(Ie=>{if(!(Ie in te._antProxy)){const He=te[Ie];te._antProxy[Ie]=He,te[Ie]=ue[Ie]}}),te}function dr(te,ue){return(0,h.useImperativeHandle)(te,()=>{const Ie=ue(),{nativeElement:He}=Ie;return typeof Proxy!="undefined"?new Proxy(He,{get(ot,gt){return Ie[gt]?Ie[gt]:Reflect.get(ot,gt)}}):xr(He,Ie)})}var kr=M(83010),ta=M(48755),Ar=M(38406),Xn=M(83397),aa=M(31756),oa=M(13783),la=M(85981),va=M(31709),Lr=M(29787),ma=M(57700);function Ca(te){return ue=>{const{prefixCls:Ie,onExpand:He,record:ot,expanded:gt,expandable:Ut}=ue,Mt=`${Ie}-row-expand-icon`;return h.createElement("button",{type:"button",onClick:Kt=>{He(ot,Kt),Kt.stopPropagation()},className:D()(Mt,{[`${Mt}-spaced`]:!Ut,[`${Mt}-expanded`]:Ut&>,[`${Mt}-collapsed`]:Ut&&!gt}),"aria-label":gt?te.collapse:te.expand,"aria-expanded":gt})}}var Ur=Ca;function kn(te){return(Ie,He)=>{const ot=Ie.querySelector(`.${te}-container`);let gt=He;if(ot){const Ut=getComputedStyle(ot),Mt=parseInt(Ut.borderLeftWidth,10),Kt=parseInt(Ut.borderRightWidth,10);gt=He-Mt-Kt}return gt}}const Qn=(te,ue)=>"key"in te&&te.key!==void 0&&te.key!==null?te.key:te.dataIndex?Array.isArray(te.dataIndex)?te.dataIndex.join("."):te.dataIndex:ue;function jn(te,ue){return ue?`${ue}-${te}`:`${te}`}const lr=(te,ue)=>typeof te=="function"?te(ue):te,Rt=(te,ue)=>{const Ie=lr(te,ue);return Object.prototype.toString.call(Ie)==="[object Object]"?"":Ie};var Yr={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"},fa=Yr,da=M(7657),ea=function(ue,Ie){return h.createElement(da.Z,(0,l.Z)({},ue,{ref:Ie,icon:fa}))},Hn=h.forwardRef(ea),jr=Hn,sa=M(9981),na=M(40192);function ga(te){const ue=h.useRef(te),Ie=(0,na.Z)();return[()=>ue.current,He=>{ue.current=He,Ie()}]}var ha=M(7939),Ea=M(584),Za=M(93041),Fa=M(78857),Xa=M(18287),Ua=M(47472),ba=M(49397),wa=te=>{const{value:ue,filterSearch:Ie,tablePrefixCls:He,locale:ot,onChange:gt}=te;return Ie?h.createElement("div",{className:`${He}-filter-dropdown-search`},h.createElement(ba.Z,{prefix:h.createElement(Ua.Z,null),placeholder:ot.filterSearchPlaceholder,onChange:gt,value:ue,htmlSize:1,className:`${He}-filter-dropdown-search-input`})):null},ti=M(10228);const ci=te=>{const{keyCode:ue}=te;ue===ti.Z.ENTER&&te.stopPropagation()};var Qr=h.forwardRef((te,ue)=>h.createElement("div",{className:te.className,onClick:Ie=>Ie.stopPropagation(),onKeyDown:ci,ref:ue},te.children));function Pa(te){let ue=[];return(te||[]).forEach(Ie=>{let{value:He,children:ot}=Ie;ue.push(He),ot&&(ue=[].concat((0,kt.Z)(ue),(0,kt.Z)(Pa(ot))))}),ue}function Ba(te){return te.some(ue=>{let{children:Ie}=ue;return Ie})}function Ia(te,ue){return typeof ue=="string"||typeof ue=="number"?ue==null?void 0:ue.toString().toLowerCase().includes(te.trim().toLowerCase()):!1}function gn(te){let{filters:ue,prefixCls:Ie,filteredKeys:He,filterMultiple:ot,searchValue:gt,filterSearch:Ut}=te;return ue.map((Mt,Kt)=>{const Zt=String(Mt.value);if(Mt.children)return{key:Zt||Kt,label:Mt.text,popupClassName:`${Ie}-dropdown-submenu`,children:gn({filters:Mt.children,prefixCls:Ie,filteredKeys:He,filterMultiple:ot,searchValue:gt,filterSearch:Ut})};const xn=ot?un.default:vr.ZP,an={key:Mt.value!==void 0?Zt:Kt,label:h.createElement(h.Fragment,null,h.createElement(xn,{checked:He.includes(Zt)}),h.createElement("span",null,Mt.text))};return gt.trim()?typeof Ut=="function"?Ut(gt,Mt)?an:null:Ia(gt,Mt.text)?an:null:an})}function fr(te){return te||[]}var Wr=te=>{var ue,Ie,He,ot;const{tablePrefixCls:gt,prefixCls:Ut,column:Mt,dropdownPrefixCls:Kt,columnKey:Zt,filterOnClose:xn,filterMultiple:an,filterMode:en="menu",filterSearch:$t=!1,filterState:mn,triggerFilter:S,locale:R,children:U,getPopupContainer:H,rootClassName:G}=te,{filterResetToDefaultFilteredValue:Q,defaultFilteredValue:ce,filterDropdownProps:ae={},filterDropdownOpen:Se,filterDropdownVisible:pe,onFilterDropdownVisibleChange:Me,onFilterDropdownOpenChange:ze}=Mt,[Xe,mt]=h.useState(!1),dt=!!(mn&&(!((ue=mn.filteredKeys)===null||ue===void 0)&&ue.length||mn.forceFiltered)),nt=Sr=>{var zr;mt(Sr),(zr=ae.onOpenChange)===null||zr===void 0||zr.call(ae,Sr),ze==null||ze(Sr),Me==null||Me(Sr)},st=(ot=(He=(Ie=ae.open)!==null&&Ie!==void 0?Ie:Se)!==null&&He!==void 0?He:pe)!==null&&ot!==void 0?ot:Xe,Ot=mn==null?void 0:mn.filteredKeys,[bt,Vt]=ga(fr(Ot)),Ht=Sr=>{let{selectedKeys:zr}=Sr;Vt(zr)},Kn=(Sr,zr)=>{let{node:xa,checked:Ha}=zr;Ht(an?{selectedKeys:Sr}:{selectedKeys:Ha&&xa.key?[xa.key]:[]})};h.useEffect(()=>{Xe&&Ht({selectedKeys:fr(Ot)})},[Ot]);const[on,Rn]=h.useState([]),br=Sr=>{Rn(Sr)},[Er,Sn]=h.useState(""),Tn=Sr=>{const{value:zr}=Sr.target;Sn(zr)};h.useEffect(()=>{Xe||Sn("")},[Xe]);const Jn=Sr=>{const zr=Sr!=null&&Sr.length?Sr:null;if(zr===null&&(!mn||!mn.filteredKeys)||(0,p.Z)(zr,mn==null?void 0:mn.filteredKeys,!0))return null;S({column:Mt,key:Zt,filteredKeys:zr})},Dt=()=>{nt(!1),Jn(bt())},dn=function(){let{confirm:Sr,closeDropdown:zr}=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{confirm:!1,closeDropdown:!1};Sr&&Jn([]),zr&&nt(!1),Sn(""),Vt(Q?(ce||[]).map(xa=>String(xa)):[])},zn=function(){let{closeDropdown:Sr}=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{closeDropdown:!0};Sr&&nt(!1),Jn(bt())},Qt=(Sr,zr)=>{zr.source==="trigger"&&(Sr&&Ot!==void 0&&Vt(fr(Ot)),nt(Sr),!Sr&&!Mt.filterDropdown&&xn&&Dt())},In=D()({[`${Kt}-menu-without-submenu`]:!Ba(Mt.filters||[])}),ln=Sr=>{if(Sr.target.checked){const zr=Pa(Mt==null?void 0:Mt.filters).map(xa=>String(xa));Vt(zr)}else Vt([])},yn=Sr=>{let{filters:zr}=Sr;return(zr||[]).map((xa,Ha)=>{const Ra=String(xa.value),Ei={title:xa.text,key:xa.value!==void 0?Ra:String(Ha)};return xa.children&&(Ei.children=yn({filters:xa.children})),Ei})},_r=Sr=>{var zr;return Object.assign(Object.assign({},Sr),{text:Sr.title,value:Sr.key,children:((zr=Sr.children)===null||zr===void 0?void 0:zr.map(xa=>_r(xa)))||[]})};let Br;const{direction:mr,renderEmpty:ra}=h.useContext(ta.E_);if(typeof Mt.filterDropdown=="function")Br=Mt.filterDropdown({prefixCls:`${Kt}-custom`,setSelectedKeys:Sr=>Ht({selectedKeys:Sr}),selectedKeys:bt(),confirm:zn,clearFilters:dn,filters:Mt.filters,visible:st,close:()=>{nt(!1)}});else if(Mt.filterDropdown)Br=Mt.filterDropdown;else{const Sr=bt()||[],zr=()=>{var Ha,Ra;const Ei=(Ha=ra==null?void 0:ra("Table.filter"))!==null&&Ha!==void 0?Ha:h.createElement(Ea.Z,{image:Ea.Z.PRESENTED_IMAGE_SIMPLE,description:R.filterEmptyText,styles:{image:{height:24}},style:{margin:0,padding:"16px 0"}});if((Mt.filters||[]).length===0)return Ei;if(en==="tree")return h.createElement(h.Fragment,null,h.createElement(wa,{filterSearch:$t,value:Er,onChange:Tn,tablePrefixCls:gt,locale:R}),h.createElement("div",{className:`${gt}-filter-dropdown-tree`},an?h.createElement(un.default,{checked:Sr.length===Pa(Mt.filters).length,indeterminate:Sr.length>0&&Sr.lengthtypeof $t=="function"?$t(Er,_r(ei)):Ia(Er,ei.title):void 0})));const oi=gn({filters:Mt.filters||[],filterSearch:$t,prefixCls:Ut,filteredKeys:bt(),filterMultiple:an,searchValue:Er}),Gi=oi.every(ei=>ei===null);return h.createElement(h.Fragment,null,h.createElement(wa,{filterSearch:$t,value:Er,onChange:Tn,tablePrefixCls:gt,locale:R}),Gi?Ei:h.createElement(Za.default,{selectable:!0,multiple:an,prefixCls:`${Kt}-menu`,className:In,onSelect:Ht,onDeselect:Ht,selectedKeys:Sr,getPopupContainer:H,openKeys:on,onOpenChange:br,items:oi}))},xa=()=>Q?(0,p.Z)((ce||[]).map(Ha=>String(Ha)),Sr,!0):Sr.length===0;Br=h.createElement(h.Fragment,null,zr(),h.createElement("div",{className:`${Ut}-dropdown-btns`},h.createElement(ha.ZP,{type:"link",size:"small",disabled:xa(),onClick:()=>dn()},R.filterReset),h.createElement(ha.ZP,{type:"primary",size:"small",onClick:Dt},R.filterConfirm)))}Mt.filterDropdown&&(Br=h.createElement(Fa.J,{selectable:void 0},Br)),Br=h.createElement(Qr,{className:`${Ut}-dropdown`},Br);const ua=()=>{let Sr;return typeof Mt.filterIcon=="function"?Sr=Mt.filterIcon(dt):Mt.filterIcon?Sr=Mt.filterIcon:Sr=h.createElement(jr,null),h.createElement("span",{role:"button",tabIndex:-1,className:D()(`${Ut}-trigger`,{active:dt}),onClick:zr=>{zr.stopPropagation()}},Sr)},_a=(0,sa.Z)({trigger:["click"],placement:mr==="rtl"?"bottomLeft":"bottomRight",children:ua(),getPopupContainer:H},Object.assign(Object.assign({},ae),{rootClassName:D()(G,ae.rootClassName),open:st,onOpenChange:Qt,dropdownRender:()=>typeof(ae==null?void 0:ae.dropdownRender)=="function"?ae.dropdownRender(Br):Br}));return h.createElement("div",{className:`${Ut}-column`},h.createElement("span",{className:`${gt}-column-title`},U),h.createElement(Un.Z,Object.assign({},_a)))};const Kr=(te,ue,Ie)=>{let He=[];return(te||[]).forEach((ot,gt)=>{var Ut;const Mt=jn(gt,Ie);if(ot.filters||"filterDropdown"in ot||"onFilter"in ot)if("filteredValue"in ot){let Kt=ot.filteredValue;"filterDropdown"in ot||(Kt=(Ut=Kt==null?void 0:Kt.map(String))!==null&&Ut!==void 0?Ut:Kt),He.push({column:ot,key:Qn(ot,Mt),filteredKeys:Kt,forceFiltered:ot.filtered})}else He.push({column:ot,key:Qn(ot,Mt),filteredKeys:ue&&ot.defaultFilteredValue?ot.defaultFilteredValue:void 0,forceFiltered:ot.filtered});"children"in ot&&(He=[].concat((0,kt.Z)(He),(0,kt.Z)(Kr(ot.children,ue,Mt))))}),He};function La(te,ue,Ie,He,ot,gt,Ut,Mt,Kt){return Ie.map((Zt,xn)=>{const an=jn(xn,Mt),{filterOnClose:en=!0,filterMultiple:$t=!0,filterMode:mn,filterSearch:S}=Zt;let R=Zt;if(R.filters||R.filterDropdown){const U=Qn(R,an),H=He.find(G=>{let{key:Q}=G;return U===Q});R=Object.assign(Object.assign({},R),{title:G=>h.createElement(Wr,{tablePrefixCls:te,prefixCls:`${te}-filter`,dropdownPrefixCls:ue,column:R,columnKey:U,filterState:H,filterOnClose:en,filterMultiple:$t,filterMode:mn,filterSearch:S,triggerFilter:gt,locale:ot,getPopupContainer:Ut,rootClassName:Kt},lr(Zt.title,G))})}return"children"in R&&(R=Object.assign(Object.assign({},R),{children:La(te,ue,R.children,He,ot,gt,Ut,an,Kt)})),R})}const Zr=te=>{const ue={};return te.forEach(Ie=>{let{key:He,filteredKeys:ot,column:gt}=Ie;const Ut=He,{filters:Mt,filterDropdown:Kt}=gt;if(Kt)ue[Ut]=ot||null;else if(Array.isArray(ot)){const Zt=Pa(Mt);ue[Ut]=Zt.filter(xn=>ot.includes(String(xn)))}else ue[Ut]=null}),ue},wr=(te,ue,Ie)=>ue.reduce((ot,gt)=>{const{column:{onFilter:Ut,filters:Mt},filteredKeys:Kt}=gt;return Ut&&Kt&&Kt.length?ot.map(Zt=>Object.assign({},Zt)).filter(Zt=>Kt.some(xn=>{const an=Pa(Mt),en=an.findIndex(mn=>String(mn)===String(xn)),$t=en!==-1?an[en]:xn;return Zt[Ie]&&(Zt[Ie]=wr(Zt[Ie],ue,Ie)),Ut($t,Zt)})):ot},te),Ya=te=>te.flatMap(ue=>"children"in ue?[ue].concat((0,kt.Z)(Ya(ue.children||[]))):[ue]);var Aa=te=>{const{prefixCls:ue,dropdownPrefixCls:Ie,mergedColumns:He,onFilterChange:ot,getPopupContainer:gt,locale:Ut,rootClassName:Mt}=te,Kt=(0,Dn.ln)("Table"),Zt=h.useMemo(()=>Ya(He||[]),[He]),[xn,an]=h.useState(()=>Kr(Zt,!0)),en=h.useMemo(()=>{const R=Kr(Zt,!1);if(R.length===0)return R;let U=!0,H=!0;if(R.forEach(G=>{let{filteredKeys:Q}=G;Q!==void 0?U=!1:H=!1}),U){const G=(Zt||[]).map((Q,ce)=>Qn(Q,jn(ce)));return xn.filter(Q=>{let{key:ce}=Q;return G.includes(ce)}).map(Q=>{const ce=Zt[G.findIndex(ae=>ae===Q.key)];return Object.assign(Object.assign({},Q),{column:Object.assign(Object.assign({},Q.column),ce),forceFiltered:ce.filtered})})}return R},[Zt,xn]),$t=h.useMemo(()=>Zr(en),[en]),mn=R=>{const U=en.filter(H=>{let{key:G}=H;return G!==R.key});U.push(R),an(U),ot(Zr(U),U)};return[R=>La(ue,Ie,R,en,Ut,mn,gt,void 0,Mt),en,$t]},Qa=(te,ue,Ie)=>{const He=h.useRef({});function ot(gt){var Ut;if(!He.current||He.current.data!==te||He.current.childrenColumnName!==ue||He.current.getRowKey!==Ie){let Kt=function(Zt){Zt.forEach((xn,an)=>{const en=Ie(xn,an);Mt.set(en,xn),xn&&typeof xn=="object"&&ue in xn&&Kt(xn[ue]||[])})};const Mt=new Map;Kt(te),He.current={data:te,childrenColumnName:ue,kvMap:Mt,getRowKey:Ie}}return(Ut=He.current.kvMap)===null||Ut===void 0?void 0:Ut.get(gt)}return[ot]},ka=function(te,ue){var Ie={};for(var He in te)Object.prototype.hasOwnProperty.call(te,He)&&ue.indexOf(He)<0&&(Ie[He]=te[He]);if(te!=null&&typeof Object.getOwnPropertySymbols=="function")for(var ot=0,He=Object.getOwnPropertySymbols(te);ot{const gt=te[ot];typeof gt!="function"&&(Ie[ot]=gt)}),Ie}function hi(te,ue,Ie){const He=Ie&&typeof Ie=="object"?Ie:{},{total:ot=0}=He,gt=ka(He,["total"]),[Ut,Mt]=(0,h.useState)(()=>({current:"defaultCurrent"in gt?gt.defaultCurrent:1,pageSize:"defaultPageSize"in gt?gt.defaultPageSize:_i})),Kt=(0,sa.Z)(Ut,gt,{total:ot>0?ot:te}),Zt=Math.ceil((ot||te)/Kt.pageSize);Kt.current>Zt&&(Kt.current=Zt||1);const xn=(en,$t)=>{Mt({current:en!=null?en:1,pageSize:$t||Kt.pageSize})},an=(en,$t)=>{var mn;Ie&&((mn=Ie.onChange)===null||mn===void 0||mn.call(Ie,en,$t)),xn(en,$t),ue(en,$t||(Kt==null?void 0:Kt.pageSize))};return Ie===!1?[{},()=>{}]:[Object.assign(Object.assign({},Kt),{onChange:an}),xn]}var Ii=hi,ji=M(89489),Po=M(59477),co=M(25399);const qi="ascend",$i="descend",eo=te=>typeof te.sorter=="object"&&typeof te.sorter.multiple=="number"?te.sorter.multiple:!1,to=te=>typeof te=="function"?te:te&&typeof te=="object"&&te.compare?te.compare:!1,_o=(te,ue)=>ue?te[te.indexOf(ue)+1]:te[0],fo=(te,ue,Ie)=>{let He=[];const ot=(gt,Ut)=>{He.push({column:gt,key:Qn(gt,Ut),multiplePriority:eo(gt),sortOrder:gt.sortOrder})};return(te||[]).forEach((gt,Ut)=>{const Mt=jn(Ut,Ie);gt.children?("sortOrder"in gt&&ot(gt,Mt),He=[].concat((0,kt.Z)(He),(0,kt.Z)(fo(gt.children,ue,Mt)))):gt.sorter&&("sortOrder"in gt?ot(gt,Mt):ue&>.defaultSortOrder&&He.push({column:gt,key:Qn(gt,Mt),multiplePriority:eo(gt),sortOrder:gt.defaultSortOrder}))}),He},ao=(te,ue,Ie,He,ot,gt,Ut,Mt)=>(ue||[]).map((Zt,xn)=>{const an=jn(xn,Mt);let en=Zt;if(en.sorter){const $t=en.sortDirections||ot,mn=en.showSorterTooltip===void 0?Ut:en.showSorterTooltip,S=Qn(en,an),R=Ie.find(Me=>{let{key:ze}=Me;return ze===S}),U=R?R.sortOrder:null,H=_o($t,U);let G;if(Zt.sortIcon)G=Zt.sortIcon({sortOrder:U});else{const Me=$t.includes(qi)&&h.createElement(Po.Z,{className:D()(`${te}-column-sorter-up`,{active:U===qi})}),ze=$t.includes($i)&&h.createElement(ji.Z,{className:D()(`${te}-column-sorter-down`,{active:U===$i})});G=h.createElement("span",{className:D()(`${te}-column-sorter`,{[`${te}-column-sorter-full`]:!!(Me&&ze)})},h.createElement("span",{className:`${te}-column-sorter-inner`,"aria-hidden":"true"},Me,ze))}const{cancelSort:Q,triggerAsc:ce,triggerDesc:ae}=gt||{};let Se=Q;H===$i?Se=ae:H===qi&&(Se=ce);const pe=typeof mn=="object"?Object.assign({title:Se},mn):{title:Se};en=Object.assign(Object.assign({},en),{className:D()(en.className,{[`${te}-column-sort`]:U}),title:Me=>{const ze=`${te}-column-sorters`,Xe=h.createElement("span",{className:`${te}-column-title`},lr(Zt.title,Me)),mt=h.createElement("div",{className:ze},Xe,G);return mn?typeof mn!="boolean"&&(mn==null?void 0:mn.target)==="sorter-icon"?h.createElement("div",{className:`${ze} ${te}-column-sorters-tooltip-target-sorter`},Xe,h.createElement(co.Z,Object.assign({},pe),G)):h.createElement(co.Z,Object.assign({},pe),mt):mt},onHeaderCell:Me=>{var ze;const Xe=((ze=Zt.onHeaderCell)===null||ze===void 0?void 0:ze.call(Zt,Me))||{},mt=Xe.onClick,dt=Xe.onKeyDown;Xe.onClick=Ot=>{He({column:Zt,key:S,sortOrder:H,multiplePriority:eo(Zt)}),mt==null||mt(Ot)},Xe.onKeyDown=Ot=>{Ot.keyCode===ti.Z.ENTER&&(He({column:Zt,key:S,sortOrder:H,multiplePriority:eo(Zt)}),dt==null||dt(Ot))};const nt=Rt(Zt.title,{}),st=nt==null?void 0:nt.toString();return U&&(Xe["aria-sort"]=U==="ascend"?"ascending":"descending"),Xe["aria-label"]=st||"",Xe.className=D()(Xe.className,`${te}-column-has-sorters`),Xe.tabIndex=0,Zt.ellipsis&&(Xe.title=(nt!=null?nt:"").toString()),Xe}})}return"children"in en&&(en=Object.assign(Object.assign({},en),{children:ao(te,en.children,Ie,He,ot,gt,Ut,an)})),en}),Eo=te=>{const{column:ue,sortOrder:Ie}=te;return{column:ue,order:Ie,field:ue.dataIndex,columnKey:ue.key}},io=te=>{const ue=te.filter(Ie=>{let{sortOrder:He}=Ie;return He}).map(Eo);if(ue.length===0&&te.length){const Ie=te.length-1;return Object.assign(Object.assign({},Eo(te[Ie])),{column:void 0,order:void 0,field:void 0,columnKey:void 0})}return ue.length<=1?ue[0]||{}:ue},Li=(te,ue,Ie)=>{const He=ue.slice().sort((Ut,Mt)=>Mt.multiplePriority-Ut.multiplePriority),ot=te.slice(),gt=He.filter(Ut=>{let{column:{sorter:Mt},sortOrder:Kt}=Ut;return to(Mt)&&Kt});return gt.length?ot.sort((Ut,Mt)=>{for(let Kt=0;Kt{const Mt=Ut[Ie];return Mt?Object.assign(Object.assign({},Ut),{[Ie]:Li(Mt,ue,Ie)}):Ut}):ot};var $a=te=>{const{prefixCls:ue,mergedColumns:Ie,sortDirections:He,tableLocale:ot,showSorterTooltip:gt,onSorterChange:Ut}=te,[Mt,Kt]=h.useState(fo(Ie,!0)),Zt=(S,R)=>{const U=[];return S.forEach((H,G)=>{const Q=jn(G,R);if(U.push(Qn(H,Q)),Array.isArray(H.children)){const ce=Zt(H.children,Q);U.push.apply(U,(0,kt.Z)(ce))}}),U},xn=h.useMemo(()=>{let S=!0;const R=fo(Ie,!1);if(!R.length){const Q=Zt(Ie);return Mt.filter(ce=>{let{key:ae}=ce;return Q.includes(ae)})}const U=[];function H(Q){S?U.push(Q):U.push(Object.assign(Object.assign({},Q),{sortOrder:null}))}let G=null;return R.forEach(Q=>{G===null?(H(Q),Q.sortOrder&&(Q.multiplePriority===!1?S=!1:G=!0)):(G&&Q.multiplePriority!==!1||(S=!1),H(Q))}),U},[Ie,Mt]),an=h.useMemo(()=>{var S,R;const U=xn.map(H=>{let{column:G,sortOrder:Q}=H;return{column:G,order:Q}});return{sortColumns:U,sortColumn:(S=U[0])===null||S===void 0?void 0:S.column,sortOrder:(R=U[0])===null||R===void 0?void 0:R.order}},[xn]),en=S=>{let R;S.multiplePriority===!1||!xn.length||xn[0].multiplePriority===!1?R=[S]:R=[].concat((0,kt.Z)(xn.filter(U=>{let{key:H}=U;return H!==S.key})),[S]),Kt(R),Ut(io(R),R)};return[S=>ao(ue,S,xn,en,He,ot,gt),xn,an,()=>io(xn)]};const Si=(te,ue)=>te.map(He=>{const ot=Object.assign({},He);return ot.title=lr(He.title,ue),"children"in ot&&(ot.children=Si(ot.children,ue)),ot});var Zi=te=>[h.useCallback(Ie=>Si(Ie,te),[te])],jo=Cr((te,ue)=>{const{_renderTimes:Ie}=te,{_renderTimes:He}=ue;return Ie!==He}),Co=hn((te,ue)=>{const{_renderTimes:Ie}=te,{_renderTimes:He}=ue;return Ie!==He}),ia=M(36237),Yi=M(17835),Ui=M(63356),Bi=M(16931),mi=M(51636),no=te=>{const{componentCls:ue,lineWidth:Ie,lineType:He,tableBorderColor:ot,tableHeaderBg:gt,tablePaddingVertical:Ut,tablePaddingHorizontal:Mt,calc:Kt}=te,Zt=`${(0,ia.unit)(Ie)} ${He} ${ot}`,xn=(an,en,$t)=>({[`&${ue}-${an}`]:{[`> ${ue}-container`]:{[`> ${ue}-content, > ${ue}-body`]:{"\n > table > tbody > tr > th,\n > table > tbody > tr > td\n ":{[`> ${ue}-expanded-row-fixed`]:{margin:`${(0,ia.unit)(Kt(en).mul(-1).equal())} ${(0,ia.unit)(Kt(Kt($t).add(Ie)).mul(-1).equal())}`}}}}}});return{[`${ue}-wrapper`]:{[`${ue}${ue}-bordered`]:Object.assign(Object.assign(Object.assign({[`> ${ue}-title`]:{border:Zt,borderBottom:0},[`> ${ue}-container`]:{borderInlineStart:Zt,borderTop:Zt,[` > ${ue}-content, > ${ue}-header, > ${ue}-body, > ${ue}-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:Zt},"> thead":{"> tr:not(:last-child) > th":{borderBottom:Zt},"> tr > th::before":{backgroundColor:"transparent !important"}},"\n > thead > tr,\n > tbody > tr,\n > tfoot > tr\n ":{[`> ${ue}-cell-fix-right-first::after`]:{borderInlineEnd:Zt}},"\n > tbody > tr > th,\n > tbody > tr > td\n ":{[`> ${ue}-expanded-row-fixed`]:{margin:`${(0,ia.unit)(Kt(Ut).mul(-1).equal())} ${(0,ia.unit)(Kt(Kt(Mt).add(Ie)).mul(-1).equal())}`,"&::after":{position:"absolute",top:0,insetInlineEnd:Ie,bottom:0,borderInlineEnd:Zt,content:'""'}}}}}},[`&${ue}-scroll-horizontal`]:{[`> ${ue}-container > ${ue}-body`]:{"> table > tbody":{[` > tr${ue}-expanded-row, > tr${ue}-placeholder `]:{"> th, > td":{borderInlineEnd:0}}}}}},xn("middle",te.tablePaddingVerticalMiddle,te.tablePaddingHorizontalMiddle)),xn("small",te.tablePaddingVerticalSmall,te.tablePaddingHorizontalSmall)),{[`> ${ue}-footer`]:{border:Zt,borderTop:0}}),[`${ue}-cell`]:{[`${ue}-container:first-child`]:{borderTop:0},"&-scrollbar:not([rowspan])":{boxShadow:`0 ${(0,ia.unit)(Ie)} 0 ${(0,ia.unit)(Ie)} ${gt}`}},[`${ue}-bordered ${ue}-cell-scrollbar`]:{borderInlineEnd:Zt}}}},vo=te=>{const{componentCls:ue}=te;return{[`${ue}-wrapper`]:{[`${ue}-cell-ellipsis`]:Object.assign(Object.assign({},Ui.vS),{wordBreak:"keep-all",[` &${ue}-cell-fix-left-last, &${ue}-cell-fix-right-first `]:{overflow:"visible",[`${ue}-cell-content`]:{display:"block",overflow:"hidden",textOverflow:"ellipsis"}},[`${ue}-column-title`]:{overflow:"hidden",textOverflow:"ellipsis",wordBreak:"keep-all"}})}}},Ao=te=>{const{componentCls:ue}=te;return{[`${ue}-wrapper`]:{[`${ue}-tbody > tr${ue}-placeholder`]:{textAlign:"center",color:te.colorTextDisabled,"\n &:hover > th,\n &:hover > td,\n ":{background:te.colorBgContainer}}}}},So=te=>{const{componentCls:ue,antCls:Ie,motionDurationSlow:He,lineWidth:ot,paddingXS:gt,lineType:Ut,tableBorderColor:Mt,tableExpandIconBg:Kt,tableExpandColumnWidth:Zt,borderRadius:xn,tablePaddingVertical:an,tablePaddingHorizontal:en,tableExpandedRowBg:$t,paddingXXS:mn,expandIconMarginTop:S,expandIconSize:R,expandIconHalfInner:U,expandIconScale:H,calc:G}=te,Q=`${(0,ia.unit)(ot)} ${Ut} ${Mt}`,ce=G(mn).sub(ot).equal();return{[`${ue}-wrapper`]:{[`${ue}-expand-icon-col`]:{width:Zt},[`${ue}-row-expand-icon-cell`]:{textAlign:"center",[`${ue}-row-expand-icon`]:{display:"inline-flex",float:"none",verticalAlign:"sub"}},[`${ue}-row-indent`]:{height:1,float:"left"},[`${ue}-row-expand-icon`]:Object.assign(Object.assign({},(0,Ui.Nd)(te)),{position:"relative",float:"left",width:R,height:R,color:"inherit",lineHeight:(0,ia.unit)(R),background:Kt,border:Q,borderRadius:xn,transform:`scale(${H})`,"&:focus, &:hover, &:active":{borderColor:"currentcolor"},"&::before, &::after":{position:"absolute",background:"currentcolor",transition:`transform ${He} ease-out`,content:'""'},"&::before":{top:U,insetInlineEnd:ce,insetInlineStart:ce,height:ot},"&::after":{top:ce,bottom:ce,insetInlineStart:U,width:ot,transform:"rotate(90deg)"},"&-collapsed::before":{transform:"rotate(-180deg)"},"&-collapsed::after":{transform:"rotate(0deg)"},"&-spaced":{"&::before, &::after":{display:"none",content:"none"},background:"transparent",border:0,visibility:"hidden"}}),[`${ue}-row-indent + ${ue}-row-expand-icon`]:{marginTop:S,marginInlineEnd:gt},[`tr${ue}-expanded-row`]:{"&, &:hover":{"> th, > td":{background:$t}},[`${Ie}-descriptions-view`]:{display:"flex",table:{flex:"auto",width:"100%"}}},[`${ue}-expanded-row-fixed`]:{position:"relative",margin:`${(0,ia.unit)(G(an).mul(-1).equal())} ${(0,ia.unit)(G(en).mul(-1).equal())}`,padding:`${(0,ia.unit)(an)} ${(0,ia.unit)(en)}`}}}},mo=te=>{const{componentCls:ue,antCls:Ie,iconCls:He,tableFilterDropdownWidth:ot,tableFilterDropdownSearchWidth:gt,paddingXXS:Ut,paddingXS:Mt,colorText:Kt,lineWidth:Zt,lineType:xn,tableBorderColor:an,headerIconColor:en,fontSizeSM:$t,tablePaddingHorizontal:mn,borderRadius:S,motionDurationSlow:R,colorTextDescription:U,colorPrimary:H,tableHeaderFilterActiveBg:G,colorTextDisabled:Q,tableFilterDropdownBg:ce,tableFilterDropdownHeight:ae,controlItemBgHover:Se,controlItemBgActive:pe,boxShadowSecondary:Me,filterDropdownMenuBg:ze,calc:Xe}=te,mt=`${Ie}-dropdown`,dt=`${ue}-filter-dropdown`,nt=`${Ie}-tree`,st=`${(0,ia.unit)(Zt)} ${xn} ${an}`;return[{[`${ue}-wrapper`]:{[`${ue}-filter-column`]:{display:"flex",justifyContent:"space-between"},[`${ue}-filter-trigger`]:{position:"relative",display:"flex",alignItems:"center",marginBlock:Xe(Ut).mul(-1).equal(),marginInline:`${(0,ia.unit)(Ut)} ${(0,ia.unit)(Xe(mn).div(2).mul(-1).equal())}`,padding:`0 ${(0,ia.unit)(Ut)}`,color:en,fontSize:$t,borderRadius:S,cursor:"pointer",transition:`all ${R}`,"&:hover":{color:U,background:G},"&.active":{color:H}}}},{[`${Ie}-dropdown`]:{[dt]:Object.assign(Object.assign({},(0,Ui.Wf)(te)),{minWidth:ot,backgroundColor:ce,borderRadius:S,boxShadow:Me,overflow:"hidden",[`${mt}-menu`]:{maxHeight:ae,overflowX:"hidden",border:0,boxShadow:"none",borderRadius:"unset",backgroundColor:ze,"&:empty::after":{display:"block",padding:`${(0,ia.unit)(Mt)} 0`,color:Q,fontSize:$t,textAlign:"center",content:'"Not Found"'}},[`${dt}-tree`]:{paddingBlock:`${(0,ia.unit)(Mt)} 0`,paddingInline:Mt,[nt]:{padding:0},[`${nt}-treenode ${nt}-node-content-wrapper:hover`]:{backgroundColor:Se},[`${nt}-treenode-checkbox-checked ${nt}-node-content-wrapper`]:{"&, &:hover":{backgroundColor:pe}}},[`${dt}-search`]:{padding:Mt,borderBottom:st,"&-input":{input:{minWidth:gt},[He]:{color:Q}}},[`${dt}-checkall`]:{width:"100%",marginBottom:Ut,marginInlineStart:Ut},[`${dt}-btns`]:{display:"flex",justifyContent:"space-between",padding:`${(0,ia.unit)(Xe(Mt).sub(Zt).equal())} ${(0,ia.unit)(Mt)}`,overflow:"hidden",borderTop:st}})}},{[`${Ie}-dropdown ${dt}, ${dt}-submenu`]:{[`${Ie}-checkbox-wrapper + span`]:{paddingInlineStart:Mt,color:Kt},"> ul":{maxHeight:"calc(100vh - 130px)",overflowX:"hidden",overflowY:"auto"}}}]},Di=te=>{const{componentCls:ue,lineWidth:Ie,colorSplit:He,motionDurationSlow:ot,zIndexTableFixed:gt,tableBg:Ut,zIndexTableSticky:Mt,calc:Kt}=te,Zt=He;return{[`${ue}-wrapper`]:{[` ${ue}-cell-fix-left, ${ue}-cell-fix-right `]:{position:"sticky !important",zIndex:gt,background:Ut},[` ${ue}-cell-fix-left-first::after, ${ue}-cell-fix-left-last::after `]:{position:"absolute",top:0,right:{_skip_check_:!0,value:0},bottom:Kt(Ie).mul(-1).equal(),width:30,transform:"translateX(100%)",transition:`box-shadow ${ot}`,content:'""',pointerEvents:"none"},[`${ue}-cell-fix-left-all::after`]:{display:"none"},[` ${ue}-cell-fix-right-first::after, ${ue}-cell-fix-right-last::after `]:{position:"absolute",top:0,bottom:Kt(Ie).mul(-1).equal(),left:{_skip_check_:!0,value:0},width:30,transform:"translateX(-100%)",transition:`box-shadow ${ot}`,content:'""',pointerEvents:"none"},[`${ue}-container`]:{position:"relative","&::before, &::after":{position:"absolute",top:0,bottom:0,zIndex:Kt(Mt).add(1).equal({unit:!1}),width:30,transition:`box-shadow ${ot}`,content:'""',pointerEvents:"none"},"&::before":{insetInlineStart:0},"&::after":{insetInlineEnd:0}},[`${ue}-ping-left`]:{[`&:not(${ue}-has-fix-left) ${ue}-container::before`]:{boxShadow:`inset 10px 0 8px -8px ${Zt}`},[` ${ue}-cell-fix-left-first::after, ${ue}-cell-fix-left-last::after `]:{boxShadow:`inset 10px 0 8px -8px ${Zt}`},[`${ue}-cell-fix-left-last::before`]:{backgroundColor:"transparent !important"}},[`${ue}-ping-right`]:{[`&:not(${ue}-has-fix-right) ${ue}-container::after`]:{boxShadow:`inset -10px 0 8px -8px ${Zt}`},[` ${ue}-cell-fix-right-first::after, ${ue}-cell-fix-right-last::after `]:{boxShadow:`inset -10px 0 8px -8px ${Zt}`}},[`${ue}-fixed-column-gapped`]:{[` ${ue}-cell-fix-left-first::after, ${ue}-cell-fix-left-last::after, ${ue}-cell-fix-right-first::after, ${ue}-cell-fix-right-last::after `]:{boxShadow:"none"}}}}},qr=te=>{const{componentCls:ue,antCls:Ie,margin:He}=te;return{[`${ue}-wrapper`]:{[`${ue}-pagination${Ie}-pagination`]:{margin:`${(0,ia.unit)(He)} 0`},[`${ue}-pagination`]:{display:"flex",flexWrap:"wrap",rowGap:te.paddingXS,"> *":{flex:"none"},"&-left":{justifyContent:"flex-start"},"&-center":{justifyContent:"center"},"&-right":{justifyContent:"flex-end"}}}}},No=te=>{const{componentCls:ue,tableRadius:Ie}=te;return{[`${ue}-wrapper`]:{[ue]:{[`${ue}-title, ${ue}-header`]:{borderRadius:`${(0,ia.unit)(Ie)} ${(0,ia.unit)(Ie)} 0 0`},[`${ue}-title + ${ue}-container`]:{borderStartStartRadius:0,borderStartEndRadius:0,[`${ue}-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:Ie,borderStartEndRadius:Ie,"table > thead > tr:first-child":{"> *:first-child":{borderStartStartRadius:Ie},"> *:last-child":{borderStartEndRadius:Ie}}},"&-footer":{borderRadius:`0 0 ${(0,ia.unit)(Ie)} ${(0,ia.unit)(Ie)}`}}}}},Fo=te=>{const{componentCls:ue}=te;return{[`${ue}-wrapper-rtl`]:{direction:"rtl",table:{direction:"rtl"},[`${ue}-pagination-left`]:{justifyContent:"flex-end"},[`${ue}-pagination-right`]:{justifyContent:"flex-start"},[`${ue}-row-expand-icon`]:{float:"right","&::after":{transform:"rotate(-90deg)"},"&-collapsed::before":{transform:"rotate(180deg)"},"&-collapsed::after":{transform:"rotate(0deg)"}},[`${ue}-container`]:{"&::before":{insetInlineStart:"unset",insetInlineEnd:0},"&::after":{insetInlineStart:0,insetInlineEnd:"unset"},[`${ue}-row-indent`]:{float:"right"}}}}},ro=te=>{const{componentCls:ue,antCls:Ie,iconCls:He,fontSizeIcon:ot,padding:gt,paddingXS:Ut,headerIconColor:Mt,headerIconHoverColor:Kt,tableSelectionColumnWidth:Zt,tableSelectedRowBg:xn,tableSelectedRowHoverBg:an,tableRowHoverBg:en,tablePaddingHorizontal:$t,calc:mn}=te;return{[`${ue}-wrapper`]:{[`${ue}-selection-col`]:{width:Zt,[`&${ue}-selection-col-with-dropdown`]:{width:mn(Zt).add(ot).add(mn(gt).div(4)).equal()}},[`${ue}-bordered ${ue}-selection-col`]:{width:mn(Zt).add(mn(Ut).mul(2)).equal(),[`&${ue}-selection-col-with-dropdown`]:{width:mn(Zt).add(ot).add(mn(gt).div(4)).add(mn(Ut).mul(2)).equal()}},[` table tr th${ue}-selection-column, table tr td${ue}-selection-column, ${ue}-selection-column `]:{paddingInlineEnd:te.paddingXS,paddingInlineStart:te.paddingXS,textAlign:"center",[`${Ie}-radio-wrapper`]:{marginInlineEnd:0}},[`table tr th${ue}-selection-column${ue}-cell-fix-left`]:{zIndex:mn(te.zIndexTableFixed).add(1).equal({unit:!1})},[`table tr th${ue}-selection-column::after`]:{backgroundColor:"transparent !important"},[`${ue}-selection`]:{position:"relative",display:"inline-flex",flexDirection:"column"},[`${ue}-selection-extra`]:{position:"absolute",top:0,zIndex:1,cursor:"pointer",transition:`all ${te.motionDurationSlow}`,marginInlineStart:"100%",paddingInlineStart:(0,ia.unit)(mn($t).div(4).equal()),[He]:{color:Mt,fontSize:ot,verticalAlign:"baseline","&:hover":{color:Kt}}},[`${ue}-tbody`]:{[`${ue}-row`]:{[`&${ue}-row-selected`]:{[`> ${ue}-cell`]:{background:xn,"&-row-hover":{background:an}}},[`> ${ue}-cell-row-hover`]:{background:en}}}}}},Ni=te=>{const{componentCls:ue,tableExpandColumnWidth:Ie,calc:He}=te,ot=(gt,Ut,Mt,Kt)=>({[`${ue}${ue}-${gt}`]:{fontSize:Kt,[` ${ue}-title, ${ue}-footer, ${ue}-cell, ${ue}-thead > tr > th, ${ue}-tbody > tr > th, ${ue}-tbody > tr > td, tfoot > tr > th, tfoot > tr > td `]:{padding:`${(0,ia.unit)(Ut)} ${(0,ia.unit)(Mt)}`},[`${ue}-filter-trigger`]:{marginInlineEnd:(0,ia.unit)(He(Mt).div(2).mul(-1).equal())},[`${ue}-expanded-row-fixed`]:{margin:`${(0,ia.unit)(He(Ut).mul(-1).equal())} ${(0,ia.unit)(He(Mt).mul(-1).equal())}`},[`${ue}-tbody`]:{[`${ue}-wrapper:only-child ${ue}`]:{marginBlock:(0,ia.unit)(He(Ut).mul(-1).equal()),marginInline:`${(0,ia.unit)(He(Ie).sub(Mt).equal())} ${(0,ia.unit)(He(Mt).mul(-1).equal())}`}},[`${ue}-selection-extra`]:{paddingInlineStart:(0,ia.unit)(He(Mt).div(4).equal())}}});return{[`${ue}-wrapper`]:Object.assign(Object.assign({},ot("middle",te.tablePaddingVerticalMiddle,te.tablePaddingHorizontalMiddle,te.tableFontSizeMiddle)),ot("small",te.tablePaddingVerticalSmall,te.tablePaddingHorizontalSmall,te.tableFontSizeSmall))}},po=te=>{const{componentCls:ue,marginXXS:Ie,fontSizeIcon:He,headerIconColor:ot,headerIconHoverColor:gt}=te;return{[`${ue}-wrapper`]:{[`${ue}-thead th${ue}-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},[` &${ue}-cell-fix-left:hover, &${ue}-cell-fix-right:hover `]:{background:te.tableFixedHeaderSortActiveBg}},[`${ue}-thead th${ue}-column-sort`]:{background:te.tableHeaderSortBg,"&::before":{backgroundColor:"transparent !important"}},[`td${ue}-column-sort`]:{background:te.tableBodySortBg},[`${ue}-column-title`]:{position:"relative",zIndex:1,flex:1,minWidth:0},[`${ue}-column-sorters`]:{display:"flex",flex:"auto",alignItems:"center",justifyContent:"space-between","&::after":{position:"absolute",inset:0,width:"100%",height:"100%",content:'""'}},[`${ue}-column-sorters-tooltip-target-sorter`]:{"&::after":{content:"none"}},[`${ue}-column-sorter`]:{marginInlineStart:Ie,color:ot,fontSize:0,transition:`color ${te.motionDurationSlow}`,"&-inner":{display:"inline-flex",flexDirection:"column",alignItems:"center"},"&-up, &-down":{fontSize:He,"&.active":{color:te.colorPrimary}},[`${ue}-column-sorter-up + ${ue}-column-sorter-down`]:{marginTop:"-0.3em"}},[`${ue}-column-sorters:hover ${ue}-column-sorter`]:{color:gt}}}},wt=te=>{const{componentCls:ue,opacityLoading:Ie,tableScrollThumbBg:He,tableScrollThumbBgHover:ot,tableScrollThumbSize:gt,tableScrollBg:Ut,zIndexTableSticky:Mt,stickyScrollBarBorderRadius:Kt,lineWidth:Zt,lineType:xn,tableBorderColor:an}=te,en=`${(0,ia.unit)(Zt)} ${xn} ${an}`;return{[`${ue}-wrapper`]:{[`${ue}-sticky`]:{"&-holder":{position:"sticky",zIndex:Mt,background:te.colorBgContainer},"&-scroll":{position:"sticky",bottom:0,height:`${(0,ia.unit)(gt)} !important`,zIndex:Mt,display:"flex",alignItems:"center",background:Ut,borderTop:en,opacity:Ie,"&:hover":{transformOrigin:"center bottom"},"&-bar":{height:gt,backgroundColor:He,borderRadius:Kt,transition:`all ${te.motionDurationSlow}, transform 0s`,position:"absolute",bottom:0,"&:hover, &-active":{backgroundColor:ot}}}}}}},Jr=te=>{const{componentCls:ue,lineWidth:Ie,tableBorderColor:He,calc:ot}=te,gt=`${(0,ia.unit)(Ie)} ${te.lineType} ${He}`;return{[`${ue}-wrapper`]:{[`${ue}-summary`]:{position:"relative",zIndex:te.zIndexTableFixed,background:te.tableBg,"> tr":{"> th, > td":{borderBottom:gt}}},[`div${ue}-summary`]:{boxShadow:`0 ${(0,ia.unit)(ot(Ie).mul(-1).equal())} 0 ${He}`}}}},Va=te=>{const{componentCls:ue,motionDurationMid:Ie,lineWidth:He,lineType:ot,tableBorderColor:gt,calc:Ut}=te,Mt=`${(0,ia.unit)(He)} ${ot} ${gt}`,Kt=`${ue}-expanded-row-cell`;return{[`${ue}-wrapper`]:{[`${ue}-tbody-virtual`]:{[`${ue}-tbody-virtual-holder-inner`]:{[` & > ${ue}-row, & > div:not(${ue}-row) > ${ue}-row `]:{display:"flex",boxSizing:"border-box",width:"100%"}},[`${ue}-cell`]:{borderBottom:Mt,transition:`background ${Ie}`},[`${ue}-expanded-row`]:{[`${Kt}${Kt}-fixed`]:{position:"sticky",insetInlineStart:0,overflow:"hidden",width:`calc(var(--virtual-width) - ${(0,ia.unit)(He)})`,borderInlineEnd:"none"}}},[`${ue}-bordered`]:{[`${ue}-tbody-virtual`]:{"&:after":{content:'""',insetInline:0,bottom:0,borderBottom:Mt,position:"absolute"},[`${ue}-cell`]:{borderInlineEnd:Mt,[`&${ue}-cell-fix-right-first:before`]:{content:'""',position:"absolute",insetBlock:0,insetInlineStart:Ut(He).mul(-1).equal(),borderInlineStart:Mt}}},[`&${ue}-virtual`]:{[`${ue}-placeholder ${ue}-cell`]:{borderInlineEnd:Mt,borderBottom:Mt}}}}}};const pa=te=>{const{componentCls:ue,fontWeightStrong:Ie,tablePaddingVertical:He,tablePaddingHorizontal:ot,tableExpandColumnWidth:gt,lineWidth:Ut,lineType:Mt,tableBorderColor:Kt,tableFontSize:Zt,tableBg:xn,tableRadius:an,tableHeaderTextColor:en,motionDurationMid:$t,tableHeaderBg:mn,tableHeaderCellSplitColor:S,tableFooterTextColor:R,tableFooterBg:U,calc:H}=te,G=`${(0,ia.unit)(Ut)} ${Mt} ${Kt}`;return{[`${ue}-wrapper`]:Object.assign(Object.assign({clear:"both",maxWidth:"100%"},(0,Ui.dF)()),{[ue]:Object.assign(Object.assign({},(0,Ui.Wf)(te)),{fontSize:Zt,background:xn,borderRadius:`${(0,ia.unit)(an)} ${(0,ia.unit)(an)} 0 0`,scrollbarColor:`${te.tableScrollThumbBg} ${te.tableScrollBg}`}),table:{width:"100%",textAlign:"start",borderRadius:`${(0,ia.unit)(an)} ${(0,ia.unit)(an)} 0 0`,borderCollapse:"separate",borderSpacing:0},[` ${ue}-cell, ${ue}-thead > tr > th, ${ue}-tbody > tr > th, ${ue}-tbody > tr > td, tfoot > tr > th, tfoot > tr > td `]:{position:"relative",padding:`${(0,ia.unit)(He)} ${(0,ia.unit)(ot)}`,overflowWrap:"break-word"},[`${ue}-title`]:{padding:`${(0,ia.unit)(He)} ${(0,ia.unit)(ot)}`},[`${ue}-thead`]:{"\n > tr > th,\n > tr > td\n ":{position:"relative",color:en,fontWeight:Ie,textAlign:"start",background:mn,borderBottom:G,transition:`background ${$t} ease`,"&[colspan]:not([colspan='1'])":{textAlign:"center"},[`&:not(:last-child):not(${ue}-selection-column):not(${ue}-row-expand-icon-cell):not([colspan])::before`]:{position:"absolute",top:"50%",insetInlineEnd:0,width:1,height:"1.6em",backgroundColor:S,transform:"translateY(-50%)",transition:`background-color ${$t}`,content:'""'}},"> tr:not(:last-child) > th[colspan]":{borderBottom:0}},[`${ue}-tbody`]:{"> tr":{"> th, > td":{transition:`background ${$t}, border-color ${$t}`,borderBottom:G,[` > ${ue}-wrapper:only-child, > ${ue}-expanded-row-fixed > ${ue}-wrapper:only-child `]:{[ue]:{marginBlock:(0,ia.unit)(H(He).mul(-1).equal()),marginInline:`${(0,ia.unit)(H(gt).sub(ot).equal())} ${(0,ia.unit)(H(ot).mul(-1).equal())}`,[`${ue}-tbody > tr:last-child > td`]:{borderBottomWidth:0,"&:first-child, &:last-child":{borderRadius:0}}}}},"> th":{position:"relative",color:en,fontWeight:Ie,textAlign:"start",background:mn,borderBottom:G,transition:`background ${$t} ease`}}},[`${ue}-footer`]:{padding:`${(0,ia.unit)(He)} ${(0,ia.unit)(ot)}`,color:R,background:U}})}},Oa=te=>{const{colorFillAlter:ue,colorBgContainer:Ie,colorTextHeading:He,colorFillSecondary:ot,colorFillContent:gt,controlItemBgActive:Ut,controlItemBgActiveHover:Mt,padding:Kt,paddingSM:Zt,paddingXS:xn,colorBorderSecondary:an,borderRadiusLG:en,controlHeight:$t,colorTextPlaceholder:mn,fontSize:S,fontSizeSM:R,lineHeight:U,lineWidth:H,colorIcon:G,colorIconHover:Q,opacityLoading:ce,controlInteractiveSize:ae}=te,Se=new Yi.FastColor(ot).onBackground(Ie).toHexString(),pe=new Yi.FastColor(gt).onBackground(Ie).toHexString(),Me=new Yi.FastColor(ue).onBackground(Ie).toHexString(),ze=new Yi.FastColor(G),Xe=new Yi.FastColor(Q),mt=ae/2-H,dt=mt*2+H*3;return{headerBg:Me,headerColor:He,headerSortActiveBg:Se,headerSortHoverBg:pe,bodySortBg:Me,rowHoverBg:Me,rowSelectedBg:Ut,rowSelectedHoverBg:Mt,rowExpandedBg:ue,cellPaddingBlock:Kt,cellPaddingInline:Kt,cellPaddingBlockMD:Zt,cellPaddingInlineMD:xn,cellPaddingBlockSM:xn,cellPaddingInlineSM:xn,borderColor:an,headerBorderRadius:en,footerBg:Me,footerColor:He,cellFontSize:S,cellFontSizeMD:S,cellFontSizeSM:S,headerSplitColor:an,fixedHeaderSortActiveBg:Se,headerFilterHoverBg:gt,filterDropdownMenuBg:Ie,filterDropdownBg:Ie,expandIconBg:Ie,selectionColumnWidth:$t,stickyScrollBarBg:mn,stickyScrollBarBorderRadius:100,expandIconMarginTop:(S*U-H*3)/2-Math.ceil((R*1.4-H*3)/2),headerIconColor:ze.clone().setA(ze.a*ce).toRgbString(),headerIconHoverColor:Xe.clone().setA(Xe.a*ce).toRgbString(),expandIconHalfInner:mt,expandIconSize:dt,expandIconScale:ae/dt}},Wa=2;var ri=(0,Bi.I$)("Table",te=>{const{colorTextHeading:ue,colorSplit:Ie,colorBgContainer:He,controlInteractiveSize:ot,headerBg:gt,headerColor:Ut,headerSortActiveBg:Mt,headerSortHoverBg:Kt,bodySortBg:Zt,rowHoverBg:xn,rowSelectedBg:an,rowSelectedHoverBg:en,rowExpandedBg:$t,cellPaddingBlock:mn,cellPaddingInline:S,cellPaddingBlockMD:R,cellPaddingInlineMD:U,cellPaddingBlockSM:H,cellPaddingInlineSM:G,borderColor:Q,footerBg:ce,footerColor:ae,headerBorderRadius:Se,cellFontSize:pe,cellFontSizeMD:Me,cellFontSizeSM:ze,headerSplitColor:Xe,fixedHeaderSortActiveBg:mt,headerFilterHoverBg:dt,filterDropdownBg:nt,expandIconBg:st,selectionColumnWidth:Ot,stickyScrollBarBg:bt,calc:Vt}=te,Ht=(0,mi.mergeToken)(te,{tableFontSize:pe,tableBg:He,tableRadius:Se,tablePaddingVertical:mn,tablePaddingHorizontal:S,tablePaddingVerticalMiddle:R,tablePaddingHorizontalMiddle:U,tablePaddingVerticalSmall:H,tablePaddingHorizontalSmall:G,tableBorderColor:Q,tableHeaderTextColor:Ut,tableHeaderBg:gt,tableFooterTextColor:ae,tableFooterBg:ce,tableHeaderCellSplitColor:Xe,tableHeaderSortBg:Mt,tableHeaderSortHoverBg:Kt,tableBodySortBg:Zt,tableFixedHeaderSortActiveBg:mt,tableHeaderFilterActiveBg:dt,tableFilterDropdownBg:nt,tableRowHoverBg:xn,tableSelectedRowBg:an,tableSelectedRowHoverBg:en,zIndexTableFixed:Wa,zIndexTableSticky:Vt(Wa).add(1).equal({unit:!1}),tableFontSizeMiddle:Me,tableFontSizeSmall:ze,tableSelectionColumnWidth:Ot,tableExpandIconBg:st,tableExpandColumnWidth:Vt(ot).add(Vt(te.padding).mul(2)).equal(),tableExpandedRowBg:$t,tableFilterDropdownWidth:120,tableFilterDropdownHeight:264,tableFilterDropdownSearchWidth:140,tableScrollThumbSize:8,tableScrollThumbBg:bt,tableScrollThumbBgHover:ue,tableScrollBg:Ie});return[pa(Ht),qr(Ht),Jr(Ht),po(Ht),mo(Ht),no(Ht),No(Ht),So(Ht),Jr(Ht),Ao(Ht),ro(Ht),Di(Ht),wt(Ht),vo(Ht),Ni(Ht),Fo(Ht),Va(Ht)]},Oa,{unitless:{expandIconScale:!0}});const gi=[],yi=(te,ue)=>{var Ie,He;const{prefixCls:ot,className:gt,rootClassName:Ut,style:Mt,size:Kt,bordered:Zt,dropdownPrefixCls:xn,dataSource:an,pagination:en,rowSelection:$t,rowKey:mn="key",rowClassName:S,columns:R,children:U,childrenColumnName:H,onChange:G,getPopupContainer:Q,loading:ce,expandIcon:ae,expandable:Se,expandedRowRender:pe,expandIconColumnIndex:Me,indentSize:ze,scroll:Xe,sortDirections:mt,locale:dt,showSorterTooltip:nt={target:"full-header"},virtual:st}=te,Ot=(0,Dn.ln)("Table"),bt=h.useMemo(()=>R||xt(U),[R,U]),Vt=h.useMemo(()=>bt.some(ca=>ca.responsive),[bt]),Ht=(0,oa.Z)(Vt),Kn=h.useMemo(()=>{const ca=new Set(Object.keys(Ht).filter(Ka=>Ht[Ka]));return bt.filter(Ka=>!Ka.responsive||Ka.responsive.some(li=>ca.has(li)))},[bt,Ht]),on=(0,Dr.Z)(te,["className","style","columns"]),{locale:Rn=la.Z,direction:br,table:Er,renderEmpty:Sn,getPrefixCls:Tn,getPopupContainer:Jn}=h.useContext(ta.E_),Dt=(0,aa.Z)(Kt),dn=Object.assign(Object.assign({},Rn.Table),dt),zn=an||gi,Qt=Tn("table",ot),In=Tn("dropdown",xn),[,ln]=(0,ma.ZP)(),yn=(0,Xn.Z)(Qt),[_r,Br,mr]=ri(Qt,yn),ra=Object.assign(Object.assign({childrenColumnName:H,expandIconColumnIndex:Me},Se),{expandIcon:(Ie=Se==null?void 0:Se.expandIcon)!==null&&Ie!==void 0?Ie:(He=Er==null?void 0:Er.expandable)===null||He===void 0?void 0:He.expandIcon}),{childrenColumnName:ua="children"}=ra,_a=h.useMemo(()=>zn.some(ca=>ca==null?void 0:ca[ua])?"nest":pe||Se!=null&&Se.expandedRowRender?"row":null,[zn]),Sr={body:h.useRef(null)},zr=kn(Qt),xa=h.useRef(null),Ha=h.useRef(null);dr(ue,()=>Object.assign(Object.assign({},Ha.current),{nativeElement:xa.current}));const Ra=h.useMemo(()=>typeof mn=="function"?mn:ca=>ca==null?void 0:ca[mn],[mn]),[Ei]=Qa(zn,ua,Ra),oi={},Gi=function(ca,Ka){let li=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;var fi,Pi,Ki,Xi;const Ci=Object.assign(Object.assign({},oi),ca);li&&((fi=oi.resetPagination)===null||fi===void 0||fi.call(oi),!((Pi=Ci.pagination)===null||Pi===void 0)&&Pi.current&&(Ci.pagination.current=1),en&&((Ki=en.onChange)===null||Ki===void 0||Ki.call(en,1,(Xi=Ci.pagination)===null||Xi===void 0?void 0:Xi.pageSize))),Xe&&Xe.scrollToFirstRowOnChange!==!1&&Sr.body.current&&(0,kr.Z)(0,{getContainer:()=>Sr.body.current}),G==null||G(Ci.pagination,Ci.filters,Ci.sorter,{currentDataSource:wr(Li(zn,Ci.sorterStates,ua),Ci.filterStates,ua),action:Ka})},ei=(ca,Ka)=>{Gi({sorter:ca,sorterStates:Ka},"sort",!1)},[za,Ga,Ja,di]=$a({prefixCls:Qt,mergedColumns:Kn,onSorterChange:ei,sortDirections:mt||["ascend","descend"],tableLocale:dn,showSorterTooltip:nt}),ui=h.useMemo(()=>Li(zn,Ga,ua),[zn,Ga]);oi.sorter=di(),oi.sorterStates=Ga;const Na=(ca,Ka)=>{Gi({filters:ca,filterStates:Ka},"filter",!0)},[ai,ja,xi]=Aa({prefixCls:Qt,locale:dn,dropdownPrefixCls:In,mergedColumns:Kn,onFilterChange:Na,getPopupContainer:Q||Jn,rootClassName:D()(Ut,yn)}),si=wr(ui,ja,ua);oi.filters=xi,oi.filterStates=ja;const wi=h.useMemo(()=>{const ca={};return Object.keys(xi).forEach(Ka=>{xi[Ka]!==null&&(ca[Ka]=xi[Ka])}),Object.assign(Object.assign({},Ja),{filters:ca})},[Ja,xi]),[lo]=Zi(wi),Wo=(ca,Ka)=>{Gi({pagination:Object.assign(Object.assign({},oi.pagination),{current:ca,pageSize:Ka})},"paginate")},[ni,zo]=Ii(si.length,Wo,en);oi.pagination=en===!1?{}:Sa(ni,en),oi.resetPagination=zo;const Mi=h.useMemo(()=>{if(en===!1||!ni.pageSize)return si;const{current:ca=1,total:Ka,pageSize:li=_i}=ni;return si.lengthli?si.slice((ca-1)*li,ca*li):si:si.slice((ca-1)*li,ca*li)},[!!en,si,ni==null?void 0:ni.current,ni==null?void 0:ni.pageSize,ni==null?void 0:ni.total]),[Wi,Fi]=$n({prefixCls:Qt,data:si,pageData:Mi,getRowKey:Ra,getRecordByKey:Ei,expandType:_a,childrenColumnName:ua,locale:dn,getPopupContainer:Q||Jn},$t),Oi=(ca,Ka,li)=>{let fi;return typeof S=="function"?fi=D()(S(ca,Ka,li)):fi=D()(S),D()({[`${Qt}-row-selected`]:Fi.has(Ra(ca,Ka))},fi)};ra.__PARENT_RENDER_ICON__=ra.expandIcon,ra.expandIcon=ra.expandIcon||ae||Ur(dn),_a==="nest"&&ra.expandIconColumnIndex===void 0?ra.expandIconColumnIndex=$t?1:0:ra.expandIconColumnIndex>0&&$t&&(ra.expandIconColumnIndex-=1),typeof ra.indentSize!="number"&&(ra.indentSize=typeof ze=="number"?ze:15);const Ti=h.useCallback(ca=>lo(Wi(ai(za(ca)))),[za,ai,Wi]);let zi,uo;if(en!==!1&&(ni!=null&&ni.total)){let ca;ni.size?ca=ni.size:ca=Dt==="small"||Dt==="middle"?"small":void 0;const Ka=Pi=>h.createElement(va.Z,Object.assign({},ni,{className:D()(`${Qt}-pagination ${Qt}-pagination-${Pi}`,ni.className),size:ca})),li=br==="rtl"?"left":"right",{position:fi}=ni;if(fi!==null&&Array.isArray(fi)){const Pi=fi.find(Ci=>Ci.includes("top")),Ki=fi.find(Ci=>Ci.includes("bottom")),Xi=fi.every(Ci=>`${Ci}`=="none");!Pi&&!Ki&&!Xi&&(uo=Ka(li)),Pi&&(zi=Ka(Pi.toLowerCase().replace("top",""))),Ki&&(uo=Ka(Ki.toLowerCase().replace("bottom","")))}else uo=Ka(li)}let Qi;typeof ce=="boolean"?Qi={spinning:ce}:typeof ce=="object"&&(Qi=Object.assign({spinning:!0},ce));const Ji=D()(mr,yn,`${Qt}-wrapper`,Er==null?void 0:Er.className,{[`${Qt}-wrapper-rtl`]:br==="rtl"},gt,Ut,Br),Qo=Object.assign(Object.assign({},Er==null?void 0:Er.style),Mt),Jo=typeof(dt==null?void 0:dt.emptyText)!="undefined"?dt.emptyText:(Sn==null?void 0:Sn("Table"))||h.createElement(Ar.Z,{componentName:"Table"}),qo=st?Co:jo,ko={},$o=h.useMemo(()=>{const{fontSize:ca,lineHeight:Ka,lineWidth:li,padding:fi,paddingXS:Pi,paddingSM:Ki}=ln,Xi=Math.floor(ca*Ka);switch(Dt){case"middle":return Ki*2+Xi+li;case"small":return Pi*2+Xi+li;default:return fi*2+Xi+li}},[ln,Dt]);return st&&(ko.listItemHeight=$o),_r(h.createElement("div",{ref:xa,className:Ji,style:Qo},h.createElement(Lr.Z,Object.assign({spinning:!1},Qi),zi,h.createElement(qo,Object.assign({},ko,on,{ref:Ha,columns:Kn,direction:br,expandable:ra,prefixCls:Qt,className:D()({[`${Qt}-middle`]:Dt==="middle",[`${Qt}-small`]:Dt==="small",[`${Qt}-bordered`]:Zt,[`${Qt}-empty`]:zn.length===0},mr,yn,Br),data:Mi,rowKey:Ra,rowClassName:Oi,emptyText:Jo,internalHooks:P,internalRefs:Sr,transformColumns:Ti,getContainerWidth:zr})),uo)))};var Ri=h.forwardRef(yi);const ki=(te,ue)=>{const Ie=h.useRef(0);return Ie.current+=1,h.createElement(Ri,Object.assign({},te,{ref:ue,_renderTimes:Ie.current}))},ii=h.forwardRef(ki);ii.SELECTION_COLUMN=On,ii.EXPAND_COLUMN=k,ii.SELECTION_ALL=hr,ii.SELECTION_INVERT=An,ii.SELECTION_NONE=Or,ii.Column=Mr,ii.ColumnGroup=et,ii.Summary=oe;var oo=ii,so=oo},53420:function(Ln,pt,M){"use strict";M.d(pt,{default:function(){return _t}});var h=M(59301),k=M(92310),P=M.n(k),_=M(54476),B=M(94480),C=M(33885),p=M(42978),m=M(75931),E=M(76190),d=M(37463),l=M(6551),o=M(34643),g=M(18929),r=M(48736),n=function(T){var z=h.useRef({valueLabels:new Map});return h.useMemo(function(){var Z=z.current.valueLabels,ie=new Map,se=T.map(function(Qe){var lt=Qe.value,xt=Qe.label,at=xt!=null?xt:Z.get(lt);return ie.set(lt,at),(0,C.Z)((0,C.Z)({},Qe),{},{label:at})});return z.current.valueLabels=ie,[se]},[T])},a=function(z,Z,ie,se){return h.useMemo(function(){var Qe=function(Ee){return Ee.map(function(Le){var Pe=Le.value;return Pe})},lt=Qe(z),xt=Qe(Z),at=lt.filter(function(Ne){return!se[Ne]}),Nt=lt,Gt=xt;if(ie){var je=(0,o.S)(lt,!0,se);Nt=je.checkedKeys,Gt=je.halfCheckedKeys}return[Array.from(new Set([].concat((0,B.Z)(at),(0,B.Z)(Nt)))),Gt]},[z,Z,ie,se])},c=a,u=M(34061),s=function(T,z){return h.useMemo(function(){var Z=(0,u.I8)(T,{fieldNames:z,initWrapper:function(se){return(0,C.Z)((0,C.Z)({},se),{},{valueEntities:new Map})},processEntity:function(se,Qe){var lt=se.node[z.value];if(0)var xt;Qe.valueEntities.set(lt,se)}});return Z},[T,z])},v=M(20068),e=M(11592),t=function(){return null},i=t,f=["children","value"];function y(T){return(0,e.Z)(T).map(function(z){if(!h.isValidElement(z)||!z.type)return null;var Z=z,ie=Z.key,se=Z.props,Qe=se.children,lt=se.value,xt=(0,m.Z)(se,f),at=(0,C.Z)({key:ie,value:lt},xt),Nt=y(Qe);return Nt.length&&(at.children=Nt),at}).filter(function(z){return z})}function b(T){if(!T)return T;var z=(0,C.Z)({},T);return"props"in z||Object.defineProperty(z,"props",{get:function(){return(0,r.ZP)(!1,"New `rc-tree-select` not support return node instance as argument anymore. Please consider to remove `props` access."),z}}),z}function x(T,z,Z,ie,se,Qe){var lt=null,xt=null;function at(){function Nt(Gt){var je=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"0",Ne=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;return Gt.map(function(Ee,Le){var Pe="".concat(je,"-").concat(Le),We=Ee[Qe.value],he=Z.includes(We),Ve=Nt(Ee[Qe.children]||[],Pe,he),tt=h.createElement(i,Ee,Ve.map(function(ye){return ye.node}));if(z===We&&(lt=tt),he){var me={pos:Pe,node:tt,children:Ve};return Ne||xt.push(me),me}return null}).filter(function(Ee){return Ee})}xt||(xt=[],Nt(ie),xt.sort(function(Gt,je){var Ne=Gt.node.props.value,Ee=je.node.props.value,Le=Z.indexOf(Ne),Pe=Z.indexOf(Ee);return Le-Pe}))}Object.defineProperty(T,"triggerNode",{get:function(){return(0,r.ZP)(!1,"`triggerNode` is deprecated. Please consider decoupling data with node."),at(),lt}}),Object.defineProperty(T,"allCheckedNodes",{get:function(){return(0,r.ZP)(!1,"`allCheckedNodes` is deprecated. Please consider decoupling data with node."),at(),se?xt:xt.map(function(Gt){var je=Gt.node;return je})}})}var A=function(z,Z,ie){var se=ie.fieldNames,Qe=ie.treeNodeFilterProp,lt=ie.filterTreeNode,xt=se.children;return h.useMemo(function(){if(!Z||lt===!1)return z;var at=typeof lt=="function"?lt:function(Gt,je){return String(je[Qe]).toUpperCase().includes(Z.toUpperCase())},Nt=function Gt(je){var Ne=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;return je.reduce(function(Ee,Le){var Pe=Le[xt],We=Ne||at(Z,b(Le)),he=Gt(Pe||[],We);return(We||he.length)&&Ee.push((0,C.Z)((0,C.Z)({},Le),{},(0,v.Z)({isLeaf:void 0},xt,he))),Ee},[])};return Nt(z)},[z,Z,xt,Qe,lt])},w=A;function L(T){var z=h.useRef();z.current=T;var Z=h.useCallback(function(){return z.current.apply(z,arguments)},[]);return Z}function D(T,z){var Z=z.id,ie=z.pId,se=z.rootPId,Qe=new Map,lt=[];return T.forEach(function(xt){var at=xt[Z],Nt=(0,C.Z)((0,C.Z)({},xt),{},{key:xt.key||at});Qe.set(at,Nt)}),Qe.forEach(function(xt){var at=xt[ie],Nt=Qe.get(at);Nt?(Nt.children=Nt.children||[],Nt.children.push(xt)):(at===se||se===null)&<.push(xt)}),lt}function O(T,z,Z){return h.useMemo(function(){if(T){if(Z){var ie=(0,C.Z)({id:"id",pId:"pId",rootPId:null},(0,E.Z)(Z)==="object"?Z:{});return D(T,ie)}return T}return y(z)},[z,Z,T])}var N=h.createContext(null),I=N,K=M(19251),F=M(3741),W=M(10228),j=M(80547),X=h.createContext(null),Y=X,le=function(z){return Array.isArray(z)?z:z!==void 0?[z]:[]},J=function(z){var Z=z||{},ie=Z.label,se=Z.value,Qe=Z.children;return{_title:ie?[ie]:["title","label"],value:se||"value",key:se||"value",children:Qe||"children"}},ve=function(z){return!z||z.disabled||z.disableCheckbox||z.checkable===!1},Ce=function(z,Z){var ie=[],se=function Qe(lt){lt.forEach(function(xt){var at=xt[Z.children];at&&(ie.push(xt[Z.value]),Qe(at))})};return se(z),ie},be=function(z){return z==null},Ae=M(70425),Ue={width:0,height:0,display:"flex",overflow:"hidden",opacity:0,border:0,padding:0,margin:0},we=function(z,Z){var ie=(0,d.lk)(),se=ie.prefixCls,Qe=ie.multiple,lt=ie.searchValue,xt=ie.toggleOpen,at=ie.open,Nt=ie.notFoundContent,Gt=h.useContext(Y),je=Gt.virtual,Ne=Gt.listHeight,Ee=Gt.listItemHeight,Le=Gt.listItemScrollOffset,Pe=Gt.treeData,We=Gt.fieldNames,he=Gt.onSelect,Ve=Gt.dropdownMatchSelectWidth,tt=Gt.treeExpandAction,me=Gt.treeTitleRender,ye=Gt.onPopupScroll,_e=Gt.leftMaxCount,ke=Gt.leafCountOnly,De=Gt.valueEntities,ct=h.useContext(I),At=ct.checkable,Pt=ct.checkedKeys,Yt=ct.halfCheckedKeys,sn=ct.treeExpandedKeys,wn=ct.treeDefaultExpandAll,En=ct.treeDefaultExpandedKeys,nn=ct.onTreeExpand,fn=ct.treeIcon,pn=ct.showTreeIcon,Lt=ct.switcherIcon,Mn=ct.treeLine,Zn=ct.treeNodeFilterProp,bn=ct.loadData,Wn=ct.treeLoadedKeys,qn=ct.treeMotion,Cr=ct.onTreeLoad,ur=ct.keyEntities,Bn=h.useRef(),ar=(0,j.Z)(function(){return Pe},[at,Pe],function(Un,vr){return vr[0]&&Un[1]!==vr[1]}),pr=h.useMemo(function(){return At?{checked:Pt,halfChecked:Yt}:null},[At,Pt,Yt]);h.useEffect(function(){if(at&&!Qe&&Pt.length){var Un;(Un=Bn.current)===null||Un===void 0||Un.scrollTo({key:Pt[0]})}},[at]);var nr=function(vr){vr.preventDefault()},er=function(vr,On){var hr=On.node;At&&ve(hr)||(he(hr.key,{selected:!Pt.includes(hr.key)}),Qe||xt(!1))},Yn=h.useState(En),St=(0,p.Z)(Yn,2),Pr=St[0],Xr=St[1],Ir=h.useState(null),Hr=(0,p.Z)(Ir,2),Fr=Hr[0],$r=Hr[1],rr=h.useMemo(function(){return sn?(0,B.Z)(sn):lt?Fr:Pr},[Pr,Fr,sn,lt]),tr=function(vr){Xr(vr),$r(vr),nn&&nn(vr)},Nn=String(lt).toLowerCase(),Ft=function(vr){return Nn?String(vr[Zn]).toLowerCase().includes(Nn):!1};h.useEffect(function(){lt&&$r(Ce(Pe,We))},[lt]);var hn=h.useState(function(){return new Map}),Gn=(0,p.Z)(hn,2),Vn=Gn[0],gr=Gn[1];h.useEffect(function(){_e&&gr(new Map)},[_e]);function Mr(Un){var vr=Un[We.value];if(!Vn.has(vr)){var On=De.get(vr),hr=(On.children||[]).length===0;if(hr)Vn.set(vr,!1);else{var An=On.children.filter(function(or){return!or.node.disabled&&!or.node.disableCheckbox&&!Pt.includes(or.node[We.value])}),Or=An.length;Vn.set(vr,Or>_e)}}return Vn.get(vr)}var yr=(0,Ae.zX)(function(Un){var vr=Un[We.value];return Pt.includes(vr)||_e===null?!1:_e<=0?!0:ke&&_e?Mr(Un):!1}),et=function Un(vr){var On=(0,K.Z)(vr),hr;try{for(On.s();!(hr=On.n()).done;){var An=hr.value;if(!(An.disabled||An.selectable===!1)){if(lt){if(Ft(An))return An}else return An;if(An[We.children]){var Or=Un(An[We.children]);if(Or)return Or}}}}catch(or){On.e(or)}finally{On.f()}return null},Tt=h.useState(null),Ct=(0,p.Z)(Tt,2),Cn=Ct[0],cr=Ct[1],it=ur[Cn];h.useEffect(function(){if(at){var Un=null,vr=function(){var hr=et(ar);return hr?hr[We.value]:null};!Qe&&Pt.length&&!lt?Un=Pt[0]:Un=vr(),cr(Un)}},[at,lt]),h.useImperativeHandle(Z,function(){var Un;return{scrollTo:(Un=Bn.current)===null||Un===void 0?void 0:Un.scrollTo,onKeyDown:function(On){var hr,An=On.which;switch(An){case W.Z.UP:case W.Z.DOWN:case W.Z.LEFT:case W.Z.RIGHT:(hr=Bn.current)===null||hr===void 0||hr.onKeyDown(On);break;case W.Z.ENTER:{if(it){var Or=yr(it.node),or=(it==null?void 0:it.node)||{},Rr=or.selectable,sr=or.value,$n=or.disabled;Rr!==!1&&!$n&&!Or&&er(null,{node:{key:Cn},selected:!Pt.includes(sr)})}break}case W.Z.ESC:xt(!1)}},onKeyUp:function(){}}});var Tr=(0,j.Z)(function(){return!lt},[lt,sn||Pr],function(Un,vr){var On=(0,p.Z)(Un,1),hr=On[0],An=(0,p.Z)(vr,2),Or=An[0],or=An[1];return hr!==Or&&!!(Or||or)}),Dn=Tr?bn:null;if(ar.length===0)return h.createElement("div",{role:"listbox",className:"".concat(se,"-empty"),onMouseDown:nr},Nt);var un={fieldNames:We};return Wn&&(un.loadedKeys=Wn),rr&&(un.expandedKeys=rr),h.createElement("div",{onMouseDown:nr},it&&at&&h.createElement("span",{style:Ue,"aria-live":"assertive"},it.node.value),h.createElement(F.y6.Provider,{value:{nodeDisabled:yr}},h.createElement(F.ZP,(0,_.Z)({ref:Bn,focusable:!1,prefixCls:"".concat(se,"-tree"),treeData:ar,height:Ne,itemHeight:Ee,itemScrollOffset:Le,virtual:je!==!1&&Ve!==!1,multiple:Qe,icon:fn,showIcon:pn,switcherIcon:Lt,showLine:Mn,loadData:Dn,motion:qn,activeKey:Cn,checkable:At,checkStrictly:!0,checkedKeys:pr,selectedKeys:At?[]:Pt,defaultExpandAll:wn,titleRender:me},un,{onActiveChange:cr,onSelect:er,onCheck:er,onExpand:tr,onLoad:Cr,filterTreeNode:Ft,expandAction:tt,onScroll:ye}))))},$e=h.forwardRef(we),Re=$e,ge="SHOW_ALL",Ze="SHOW_PARENT",Fe="SHOW_CHILD";function Te(T,z,Z,ie){var se=new Set(T);return z===Fe?T.filter(function(Qe){var lt=Z[Qe];return!lt||!lt.children||!lt.children.some(function(xt){var at=xt.node;return se.has(at[ie.value])})||!lt.children.every(function(xt){var at=xt.node;return ve(at)||se.has(at[ie.value])})}):z===Ze?T.filter(function(Qe){var lt=Z[Qe],xt=lt?lt.parent:null;return!xt||ve(xt.node)||!se.has(xt.key)}):T}function Ge(T){var z=T.searchPlaceholder,Z=T.treeCheckStrictly,ie=T.treeCheckable,se=T.labelInValue,Qe=T.value,lt=T.multiple,xt=T.showCheckedStrategy,at=T.maxCount;warning(!z,"`searchPlaceholder` has been removed."),Z&&se===!1&&warning(!1,"`treeCheckStrictly` will force set `labelInValue` to `true`."),(se||Z)&&warning(toArray(Qe).every(function(Nt){return Nt&&_typeof(Nt)==="object"&&"value"in Nt}),"Invalid prop `value` supplied to `TreeSelect`. You should use { label: string, value: string | number } or [{ label: string, value: string | number }] instead."),Z||lt||ie?warning(!Qe||Array.isArray(Qe),"`value` should be an array when `TreeSelect` is checkable or multiple."):warning(!Array.isArray(Qe),"`value` should not be array when `TreeSelect` is single mode."),at&&(xt==="SHOW_ALL"&&!Z||xt==="SHOW_PARENT")&&warning(!1,"`maxCount` not work with `showCheckedStrategy=SHOW_ALL` (when `treeCheckStrictly=false`) or `showCheckedStrategy=SHOW_PARENT`.")}var Be=null,V=["id","prefixCls","value","defaultValue","onChange","onSelect","onDeselect","searchValue","inputValue","onSearch","autoClearSearchValue","filterTreeNode","treeNodeFilterProp","showCheckedStrategy","treeNodeLabelProp","multiple","treeCheckable","treeCheckStrictly","labelInValue","maxCount","fieldNames","treeDataSimpleMode","treeData","children","loadData","treeLoadedKeys","onTreeLoad","treeDefaultExpandAll","treeExpandedKeys","treeDefaultExpandedKeys","onTreeExpand","treeExpandAction","virtual","listHeight","listItemHeight","listItemScrollOffset","onDropdownVisibleChange","dropdownMatchSelectWidth","treeLine","treeIcon","showTreeIcon","switcherIcon","treeMotion","treeTitleRender","onPopupScroll"];function q(T){return!T||(0,E.Z)(T)!=="object"}var re=h.forwardRef(function(T,z){var Z=T.id,ie=T.prefixCls,se=ie===void 0?"rc-tree-select":ie,Qe=T.value,lt=T.defaultValue,xt=T.onChange,at=T.onSelect,Nt=T.onDeselect,Gt=T.searchValue,je=T.inputValue,Ne=T.onSearch,Ee=T.autoClearSearchValue,Le=Ee===void 0?!0:Ee,Pe=T.filterTreeNode,We=T.treeNodeFilterProp,he=We===void 0?"value":We,Ve=T.showCheckedStrategy,tt=T.treeNodeLabelProp,me=T.multiple,ye=T.treeCheckable,_e=T.treeCheckStrictly,ke=T.labelInValue,De=T.maxCount,ct=T.fieldNames,At=T.treeDataSimpleMode,Pt=T.treeData,Yt=T.children,sn=T.loadData,wn=T.treeLoadedKeys,En=T.onTreeLoad,nn=T.treeDefaultExpandAll,fn=T.treeExpandedKeys,pn=T.treeDefaultExpandedKeys,Lt=T.onTreeExpand,Mn=T.treeExpandAction,Zn=T.virtual,bn=T.listHeight,Wn=bn===void 0?200:bn,qn=T.listItemHeight,Cr=qn===void 0?20:qn,ur=T.listItemScrollOffset,Bn=ur===void 0?0:ur,ar=T.onDropdownVisibleChange,pr=T.dropdownMatchSelectWidth,nr=pr===void 0?!0:pr,er=T.treeLine,Yn=T.treeIcon,St=T.showTreeIcon,Pr=T.switcherIcon,Xr=T.treeMotion,Ir=T.treeTitleRender,Hr=T.onPopupScroll,Fr=(0,m.Z)(T,V),$r=(0,l.ZP)(Z),rr=ye&&!_e,tr=ye||_e,Nn=_e||ke,Ft=tr||me,hn=(0,g.Z)(lt,{value:Qe}),Gn=(0,p.Z)(hn,2),Vn=Gn[0],gr=Gn[1],Mr=h.useMemo(function(){return ye?Ve||Fe:ge},[Ve,ye]),yr=h.useMemo(function(){return J(ct)},[JSON.stringify(ct)]),et=(0,g.Z)("",{value:Gt!==void 0?Gt:je,postState:function(jn){return jn||""}}),Tt=(0,p.Z)(et,2),Ct=Tt[0],Cn=Tt[1],cr=function(jn){Cn(jn),Ne==null||Ne(jn)},it=O(Pt,Yt,At),Tr=s(it,yr),Dn=Tr.keyEntities,un=Tr.valueEntities,Un=h.useCallback(function(Qn){var jn=[],lr=[];return Qn.forEach(function(Rt){un.has(Rt)?lr.push(Rt):jn.push(Rt)}),{missingRawValues:jn,existRawValues:lr}},[un]),vr=w(it,Ct,{fieldNames:yr,treeNodeFilterProp:he,filterTreeNode:Pe}),On=h.useCallback(function(Qn){if(Qn){if(tt)return Qn[tt];for(var jn=yr._title,lr=0;lrla)){var Yr=An(Qn);if(gr(Yr),Le&&Cn(""),xt){var fa=Qn;rr&&(fa=Rt.map(function(Za){var Fa=un.get(Za);return Fa?Fa.node[yr.value]:Za}));var da=jn||{triggerValue:void 0,selected:void 0},ea=da.triggerValue,Hn=da.selected,jr=fa;if(_e){var sa=$n.filter(function(Za){return!fa.includes(Za.value)});jr=[].concat((0,B.Z)(jr),(0,B.Z)(sa))}var na=An(jr),ga={preValue:sr,triggerValue:ea},ha=!0;(_e||lr==="selection"&&!Hn)&&(ha=!1),x(ga,ea,Qn,it,ha,yr),tr?ga.checked=Hn:ga.selected=Hn;var Ea=Nn?na:na.map(function(Za){return Za.value});xt(Ft?Ea:Ea[0],Nn?null:na.map(function(Za){return Za.label}),ga)}}}),Lr=h.useCallback(function(Qn,jn){var lr,Rt=jn.selected,Yr=jn.source,fa=Dn[Qn],da=fa==null?void 0:fa.node,ea=(lr=da==null?void 0:da[yr.value])!==null&&lr!==void 0?lr:Qn;if(!Ft)va([ea],{selected:!0,triggerValue:ea},"option");else{var Hn=Rt?[].concat((0,B.Z)(Dr),[ea]):kr.filter(function(Fa){return Fa!==ea});if(rr){var jr=Un(Hn),sa=jr.missingRawValues,na=jr.existRawValues,ga=na.map(function(Fa){return un.get(Fa).key}),ha;if(Rt){var Ea=(0,o.S)(ga,!0,Dn);ha=Ea.checkedKeys}else{var Za=(0,o.S)(ga,{checked:!1,halfCheckedKeys:ta},Dn);ha=Za.checkedKeys}Hn=[].concat((0,B.Z)(sa),(0,B.Z)(ha.map(function(Fa){return Dn[Fa].node[yr.value]})))}va(Hn,{selected:Rt,triggerValue:ea},Yr||"option")}Rt||!Ft?at==null||at(ea,b(da)):Nt==null||Nt(ea,b(da))},[Un,un,Dn,yr,Ft,Dr,va,rr,at,Nt,kr,ta,De]),ma=h.useCallback(function(Qn){if(ar){var jn={};Object.defineProperty(jn,"documentClickClose",{get:function(){return(0,r.ZP)(!1,"Second param of `onDropdownVisibleChange` has been removed."),!1}}),ar(Qn,jn)}},[ar]),Ca=L(function(Qn,jn){var lr=Qn.map(function(Rt){return Rt.value});if(jn.type==="clear"){va(lr,{},"selection");return}jn.values.length&&Lr(jn.values[0].value,{selected:!1,source:"selection"})}),Ur=h.useMemo(function(){return{virtual:Zn,dropdownMatchSelectWidth:nr,listHeight:Wn,listItemHeight:Cr,listItemScrollOffset:Bn,treeData:vr,fieldNames:yr,onSelect:Lr,treeExpandAction:Mn,treeTitleRender:Ir,onPopupScroll:Hr,leftMaxCount:De===void 0?null:De-oa.length,leafCountOnly:Mr==="SHOW_CHILD"&&!_e&&!!ye,valueEntities:un}},[Zn,nr,Wn,Cr,Bn,vr,yr,Lr,Mn,Ir,Hr,De,oa.length,Mr,_e,ye,un]),kn=h.useMemo(function(){return{checkable:tr,loadData:sn,treeLoadedKeys:wn,onTreeLoad:En,checkedKeys:kr,halfCheckedKeys:ta,treeDefaultExpandAll:nn,treeExpandedKeys:fn,treeDefaultExpandedKeys:pn,onTreeExpand:Lt,treeIcon:Yn,treeMotion:Xr,showTreeIcon:St,switcherIcon:Pr,treeLine:er,treeNodeFilterProp:he,keyEntities:Dn}},[tr,sn,wn,En,kr,ta,nn,fn,pn,Lt,Yn,Xr,St,Pr,er,he,Dn]);return h.createElement(Y.Provider,{value:Ur},h.createElement(I.Provider,{value:kn},h.createElement(d.Ac,(0,_.Z)({ref:z},Fr,{id:$r,prefixCls:se,mode:Ft?"multiple":void 0,displayValues:oa,onDisplayValuesChange:Ca,searchValue:Ct,onSearch:cr,OptionList:Re,emptyOptions:!it.length,onDropdownVisibleChange:ma,dropdownMatchSelectWidth:nr}))))}),ee=re;ee.TreeNode=i,ee.SHOW_ALL=ge,ee.SHOW_PARENT=Ze,ee.SHOW_CHILD=Fe;var oe=ee,$=oe,fe=M(2738),xe=M(75030),ne=M(86641),de=M(45915),ut=M(82855),Je=M(48755),ht=M(38406),vt=M(2171),qe=M(83397),ft=M(31756),Ke=M(56553),Oe=M(24971),Ye=M(1722),rt=M(90376),yt=M(68525),Et=M(90005),cn=M(70045),Jt=M(57700),zt=M(85278),vn=M(36237),Fn=M(36170),tn=M(51636),Pn=M(16931),qt=M(12425);const jt=T=>{const{componentCls:z,treePrefixCls:Z,colorBgElevated:ie}=T,se=`.${Z}`;return[{[`${z}-dropdown`]:[{padding:`${(0,vn.unit)(T.paddingXS)} ${(0,vn.unit)(T.calc(T.paddingXS).div(2).equal())}`},(0,qt.Yk)(Z,(0,tn.mergeToken)(T,{colorBgContainer:ie}),!1),{[se]:{borderRadius:0,[`${se}-list-holder-inner`]:{alignItems:"stretch",[`${se}-treenode`]:{[`${se}-node-content-wrapper`]:{flex:"auto"}}}}},(0,Fn.C2)(`${Z}-checkbox`,T),{"&-rtl":{direction:"rtl",[`${se}-switcher${se}-switcher_close`]:{[`${se}-switcher-icon svg`]:{transform:"rotate(90deg)"}}}}]}]},kt=null;function rn(T,z,Z){return(0,Pn.I$)("TreeSelect",ie=>{const se=(0,tn.mergeToken)(ie,{treePrefixCls:z});return[jt(se)]},qt.TM)(T,Z)}var It=function(T,z){var Z={};for(var ie in T)Object.prototype.hasOwnProperty.call(T,ie)&&z.indexOf(ie)<0&&(Z[ie]=T[ie]);if(T!=null&&typeof Object.getOwnPropertySymbols=="function")for(var se=0,ie=Object.getOwnPropertySymbols(T);se{var Z;const{prefixCls:ie,size:se,disabled:Qe,bordered:lt=!0,className:xt,rootClassName:at,treeCheckable:Nt,multiple:Gt,listHeight:je=256,listItemHeight:Ne,placement:Ee,notFoundContent:Le,switcherIcon:Pe,treeLine:We,getPopupContainer:he,popupClassName:Ve,dropdownClassName:tt,treeIcon:me=!1,transitionName:ye,choiceTransitionName:_e="",status:ke,treeExpandAction:De,builtinPlacements:ct,dropdownMatchSelectWidth:At,popupMatchSelectWidth:Pt,allowClear:Yt,variant:sn,dropdownStyle:wn,tagRender:En,maxCount:nn,showCheckedStrategy:fn,treeCheckStrictly:pn}=T,Lt=It(T,["prefixCls","size","disabled","bordered","className","rootClassName","treeCheckable","multiple","listHeight","listItemHeight","placement","notFoundContent","switcherIcon","treeLine","getPopupContainer","popupClassName","dropdownClassName","treeIcon","transitionName","choiceTransitionName","status","treeExpandAction","builtinPlacements","dropdownMatchSelectWidth","popupMatchSelectWidth","allowClear","variant","dropdownStyle","tagRender","maxCount","showCheckedStrategy","treeCheckStrictly"]),{getPopupContainer:Mn,getPrefixCls:Zn,renderEmpty:bn,direction:Wn,virtual:qn,popupMatchSelectWidth:Cr,popupOverflow:ur}=h.useContext(Je.E_),[,Bn]=(0,Jt.ZP)(),ar=Ne!=null?Ne:(Bn==null?void 0:Bn.controlHeightSM)+(Bn==null?void 0:Bn.paddingXXS),pr=Zn(),nr=Zn("select",ie),er=Zn("select-tree",ie),Yn=Zn("tree-select",ie),{compactSize:St,compactItemClassnames:Pr}=(0,cn.ri)(nr,Wn),Xr=(0,qe.Z)(nr),Ir=(0,qe.Z)(Yn),[Hr,Fr,$r]=(0,rt.Z)(nr,Xr),[rr]=rn(Yn,er,Ir),[tr,Nn]=(0,Oe.Z)("treeSelect",sn,lt),Ft=P()(Ve||tt,`${Yn}-dropdown`,{[`${Yn}-dropdown-rtl`]:Wn==="rtl"},at,$r,Xr,Ir,Fr),hn=!!(Nt||Gt),Gn=h.useMemo(()=>{if(!(nn&&(fn==="SHOW_ALL"&&!pn||fn==="SHOW_PARENT")))return nn},[nn,fn,pn]),Vn=(0,Et.Z)(T.suffixIcon,T.showArrow),gr=(Z=Pt!=null?Pt:At)!==null&&Z!==void 0?Z:Cr,{status:Mr,hasFeedback:yr,isFormItemInput:et,feedbackIcon:Tt}=h.useContext(Ke.aM),Ct=(0,ut.F)(Mr,ke),{suffixIcon:Cn,removeIcon:cr,clearIcon:it}=(0,yt.Z)(Object.assign(Object.assign({},Lt),{multiple:hn,showSuffixIcon:Vn,hasFeedback:yr,feedbackIcon:Tt,prefixCls:nr,componentName:"TreeSelect"})),Tr=Yt===!0?{clearIcon:it}:Yt;let Dn;Le!==void 0?Dn=Le:Dn=(bn==null?void 0:bn("Select"))||h.createElement(ht.Z,{componentName:"Select"});const un=(0,fe.Z)(Lt,["suffixIcon","removeIcon","clearIcon","itemIcon","switcherIcon"]),Un=h.useMemo(()=>Ee!==void 0?Ee:Wn==="rtl"?"bottomRight":"bottomLeft",[Ee,Wn]),vr=(0,ft.Z)(sr=>{var $n;return($n=se!=null?se:St)!==null&&$n!==void 0?$n:sr}),On=h.useContext(vt.Z),hr=Qe!=null?Qe:On,An=P()(!ie&&Yn,{[`${nr}-lg`]:vr==="large",[`${nr}-sm`]:vr==="small",[`${nr}-rtl`]:Wn==="rtl",[`${nr}-${tr}`]:Nn,[`${nr}-in-form-item`]:et},(0,ut.Z)(nr,Ct,yr),Pr,xt,at,$r,Xr,Ir,Fr),Or=sr=>h.createElement(zt.Z,{prefixCls:er,switcherIcon:Pe,treeNodeProps:sr,showLine:We}),[or]=(0,xe.Cn)("SelectLike",wn==null?void 0:wn.zIndex),Rr=h.createElement($,Object.assign({virtual:qn,disabled:hr},un,{dropdownMatchSelectWidth:gr,builtinPlacements:(0,Ye.Z)(ct,ur),ref:z,prefixCls:nr,className:An,listHeight:je,listItemHeight:ar,treeCheckable:Nt&&h.createElement("span",{className:`${nr}-tree-checkbox-inner`}),treeLine:!!We,suffixIcon:Cn,multiple:hn,placement:Un,removeIcon:cr,allowClear:Tr,switcherIcon:Or,showTreeIcon:me,notFoundContent:Dn,getPopupContainer:he||Mn,treeMotion:null,dropdownClassName:Ft,dropdownStyle:Object.assign(Object.assign({},wn),{zIndex:or}),choiceTransitionName:(0,ne.m)(pr,"",_e),transitionName:(0,ne.m)(pr,"slide-up",ye),treeExpandAction:De,tagRender:hn?En:void 0,maxCount:Gn,showCheckedStrategy:fn,treeCheckStrictly:pn}));return Hr(rr(Rr))},Xt=h.forwardRef(Bt),_n=(0,de.Z)(Xt,"dropdownAlign",T=>(0,fe.Z)(T,["visible"]));Xt.TreeNode=i,Xt.SHOW_ALL=ge,Xt.SHOW_PARENT=Ze,Xt.SHOW_CHILD=Fe,Xt._InternalPanelDoNotUseOrYouWillBeFired=_n;var _t=Xt},18287:function(Ln,pt,M){"use strict";M.d(pt,{default:function(){return le}});var h=M(3741),k=M(94480),P=M(59301),_=M(52671),B=M(8657),C=M(54476),p={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"},m=p,E=M(7657),d=function(ve,Ce){return P.createElement(E.Z,(0,C.Z)({},ve,{ref:Ce,icon:m}))},l=P.forwardRef(d),o=l,g=M(92310),r=M.n(g),n=M(82661),a=M(34061),c=M(48755),u=M(56082),s=M(86641),v=M(57700),e=M(12425);const t=4;function i(J){const{dropPosition:ve,dropLevelOffset:Ce,prefixCls:be,indent:Ae,direction:Ue="ltr"}=J,we=Ue==="ltr"?"left":"right",$e=Ue==="ltr"?"right":"left",Re={[we]:-Ce*Ae+t,[$e]:0};switch(ve){case-1:Re.top=-3;break;case 1:Re.bottom=-3;break;default:Re.bottom=-3,Re[we]=Ae+t;break}return P.createElement("div",{style:Re,className:`${be}-drop-indicator`})}var f=i,y=M(85278),x=P.forwardRef((J,ve)=>{var Ce;const{getPrefixCls:be,direction:Ae,virtual:Ue,tree:we}=P.useContext(c.E_),{prefixCls:$e,className:Re,showIcon:ge=!1,showLine:Ze,switcherIcon:Fe,switcherLoadingIcon:Te,blockNode:Ge=!1,children:Be,checkable:V=!1,selectable:q=!0,draggable:re,motion:ee,style:oe}=J,$=be("tree",$e),fe=be(),xe=ee!=null?ee:Object.assign(Object.assign({},(0,s.Z)(fe)),{motionAppear:!1}),ne=Object.assign(Object.assign({},J),{checkable:V,selectable:q,showIcon:ge,motion:xe,blockNode:Ge,showLine:!!Ze,dropIndicatorRender:f}),[de,ut,Je]=(0,e.ZP)($),[,ht]=(0,v.ZP)(),vt=ht.paddingXS/2+(((Ce=ht.Tree)===null||Ce===void 0?void 0:Ce.titleHeight)||ht.controlHeightSM),qe=P.useMemo(()=>{if(!re)return!1;let Ke={};switch(typeof re){case"function":Ke.nodeDraggable=re;break;case"object":Ke=Object.assign({},re);break;default:break}return Ke.icon!==!1&&(Ke.icon=Ke.icon||P.createElement(u.Z,null)),Ke},[re]),ft=Ke=>P.createElement(y.Z,{prefixCls:$,switcherIcon:Fe,switcherLoadingIcon:Te,treeNodeProps:Ke,showLine:Ze});return de(P.createElement(h.ZP,Object.assign({itemHeight:vt,ref:ve,virtual:Ue},ne,{style:Object.assign(Object.assign({},we==null?void 0:we.style),oe),prefixCls:$,className:r()({[`${$}-icon-hide`]:!ge,[`${$}-block-node`]:Ge,[`${$}-unselectable`]:!q,[`${$}-rtl`]:Ae==="rtl"},we==null?void 0:we.className,Re,ut,Je),direction:Ae,checkable:V&&P.createElement("span",{className:`${$}-checkbox-inner`}),selectable:q,switcherIcon:ft,draggable:qe}),Be))});const A=0,w=1,L=2;function D(J,ve,Ce){const{key:be,children:Ae}=Ce;function Ue(we){const $e=we[be],Re=we[Ae];ve($e,we)!==!1&&D(Re||[],ve,Ce)}J.forEach(Ue)}function O(J){let{treeData:ve,expandedKeys:Ce,startKey:be,endKey:Ae,fieldNames:Ue}=J;const we=[];let $e=A;if(be&&be===Ae)return[be];if(!be||!Ae)return[];function Re(ge){return ge===be||ge===Ae}return D(ve,ge=>{if($e===L)return!1;if(Re(ge)){if(we.push(ge),$e===A)$e=w;else if($e===w)return $e=L,!1}else $e===w&&we.push(ge);return Ce.includes(ge)},(0,a.w$)(Ue)),we}function N(J,ve,Ce){const be=(0,k.Z)(ve),Ae=[];return D(J,(Ue,we)=>{const $e=be.indexOf(Ue);return $e!==-1&&(Ae.push(we),be.splice($e,1)),!!be.length},(0,a.w$)(Ce)),Ae}var I=function(J,ve){var Ce={};for(var be in J)Object.prototype.hasOwnProperty.call(J,be)&&ve.indexOf(be)<0&&(Ce[be]=J[be]);if(J!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Ae=0,be=Object.getOwnPropertySymbols(J);Ae{var{defaultExpandAll:Ce,defaultExpandParent:be,defaultExpandedKeys:Ae}=J,Ue=I(J,["defaultExpandAll","defaultExpandParent","defaultExpandedKeys"]);const we=P.useRef(null),$e=P.useRef(null),Re=()=>{const{keyEntities:de}=(0,a.I8)(F(Ue));let ut;return Ce?ut=Object.keys(de):be?ut=(0,n.r7)(Ue.expandedKeys||Ae||[],de):ut=Ue.expandedKeys||Ae||[],ut},[ge,Ze]=P.useState(Ue.selectedKeys||Ue.defaultSelectedKeys||[]),[Fe,Te]=P.useState(()=>Re());P.useEffect(()=>{"selectedKeys"in Ue&&Ze(Ue.selectedKeys)},[Ue.selectedKeys]),P.useEffect(()=>{"expandedKeys"in Ue&&Te(Ue.expandedKeys)},[Ue.expandedKeys]);const Ge=(de,ut)=>{var Je;return"expandedKeys"in Ue||Te(de),(Je=Ue.onExpand)===null||Je===void 0?void 0:Je.call(Ue,de,ut)},Be=(de,ut)=>{var Je;const{multiple:ht,fieldNames:vt}=Ue,{node:qe,nativeEvent:ft}=ut,{key:Ke=""}=qe,Oe=F(Ue),Ye=Object.assign(Object.assign({},ut),{selected:!0}),rt=(ft==null?void 0:ft.ctrlKey)||(ft==null?void 0:ft.metaKey),yt=ft==null?void 0:ft.shiftKey;let Et;ht&&rt?(Et=de,we.current=Ke,$e.current=Et,Ye.selectedNodes=N(Oe,Et,vt)):ht&&yt?(Et=Array.from(new Set([].concat((0,k.Z)($e.current||[]),(0,k.Z)(O({treeData:Oe,expandedKeys:Fe,startKey:Ke,endKey:we.current,fieldNames:vt}))))),Ye.selectedNodes=N(Oe,Et,vt)):(Et=[Ke],we.current=Ke,$e.current=Et,Ye.selectedNodes=N(Oe,Et,vt)),(Je=Ue.onSelect)===null||Je===void 0||Je.call(Ue,Et,Ye),"selectedKeys"in Ue||Ze(Et)},{getPrefixCls:V,direction:q}=P.useContext(c.E_),{prefixCls:re,className:ee,showIcon:oe=!0,expandAction:$="click"}=Ue,fe=I(Ue,["prefixCls","className","showIcon","expandAction"]),xe=V("tree",re),ne=r()(`${xe}-directory`,{[`${xe}-directory-rtl`]:q==="rtl"},ee);return P.createElement(x,Object.assign({icon:K,ref:ve,blockNode:!0},fe,{showIcon:oe,expandAction:$,prefixCls:xe,className:ne,expandedKeys:Fe,selectedKeys:ge,onSelect:Be,onExpand:Ge}))};var X=P.forwardRef(W);const Y=x;Y.DirectoryTree=X,Y.TreeNode=h.OF;var le=Y},12425:function(Ln,pt,M){"use strict";M.d(pt,{ZP:function(){return n},Yk:function(){return o},TM:function(){return g}});var h=M(36237),k=M(36170),P=M(63356),_=M(34961),B=M(51636),C=M(16931);const p=a=>{let{treeCls:c,treeNodeCls:u,directoryNodeSelectedBg:s,directoryNodeSelectedColor:v,motionDurationMid:e,borderRadius:t,controlItemBgHover:i}=a;return{[`${c}${c}-directory ${u}`]:{[`${c}-node-content-wrapper`]:{position:"static",[`> *:not(${c}-drop-indicator)`]:{position:"relative"},"&:hover":{background:"transparent"},"&:before":{position:"absolute",inset:0,transition:`background-color ${e}`,content:'""',borderRadius:t},"&:hover:before":{background:i}},[`${c}-switcher, ${c}-checkbox, ${c}-draggable-icon`]:{zIndex:1},"&-selected":{[`${c}-switcher, ${c}-draggable-icon`]:{color:v},[`${c}-node-content-wrapper`]:{color:v,background:"transparent","&:before, &:hover:before":{background:s}}}}}},m=new h.Keyframes("ant-tree-node-fx-do-not-use",{"0%":{opacity:0},"100%":{opacity:1}}),E=(a,c)=>({[`.${a}-switcher-icon`]:{display:"inline-block",fontSize:10,verticalAlign:"baseline",svg:{transition:`transform ${c.motionDurationSlow}`}}}),d=(a,c)=>({[`.${a}-drop-indicator`]:{position:"absolute",zIndex:1,height:2,backgroundColor:c.colorPrimary,borderRadius:1,pointerEvents:"none","&:after":{position:"absolute",top:-3,insetInlineStart:-6,width:8,height:8,backgroundColor:"transparent",border:`${(0,h.unit)(c.lineWidthBold)} solid ${c.colorPrimary}`,borderRadius:"50%",content:'""'}}}),l=(a,c)=>{const{treeCls:u,treeNodeCls:s,treeNodePadding:v,titleHeight:e,indentSize:t,nodeSelectedBg:i,nodeHoverBg:f,colorTextQuaternary:y,controlItemBgActiveDisabled:b}=c;return{[u]:Object.assign(Object.assign({},(0,P.Wf)(c)),{background:c.colorBgContainer,borderRadius:c.borderRadius,transition:`background-color ${c.motionDurationSlow}`,"&-rtl":{direction:"rtl"},[`&${u}-rtl ${u}-switcher_close ${u}-switcher-icon svg`]:{transform:"rotate(90deg)"},[`&-focused:not(:hover):not(${u}-active-focused)`]:Object.assign({},(0,P.oN)(c)),[`${u}-list-holder-inner`]:{alignItems:"flex-start"},[`&${u}-block-node`]:{[`${u}-list-holder-inner`]:{alignItems:"stretch",[`${u}-node-content-wrapper`]:{flex:"auto"},[`${s}.dragging:after`]:{position:"absolute",inset:0,border:`1px solid ${c.colorPrimary}`,opacity:0,animationName:m,animationDuration:c.motionDurationSlow,animationPlayState:"running",animationFillMode:"forwards",content:'""',pointerEvents:"none",borderRadius:c.borderRadius}}},[s]:{display:"flex",alignItems:"flex-start",marginBottom:v,lineHeight:(0,h.unit)(e),position:"relative","&:before":{content:'""',position:"absolute",zIndex:1,insetInlineStart:0,width:"100%",top:"100%",height:v},[`&-disabled ${u}-node-content-wrapper`]:{color:c.colorTextDisabled,cursor:"not-allowed","&:hover":{background:"transparent"}},[`${u}-checkbox-disabled + ${u}-node-selected,&${s}-disabled${s}-selected ${u}-node-content-wrapper`]:{backgroundColor:b},[`${u}-checkbox-disabled`]:{pointerEvents:"unset"},[`&:not(${s}-disabled)`]:{[`${u}-node-content-wrapper`]:{"&:hover":{color:c.nodeHoverColor}}},[`&-active ${u}-node-content-wrapper`]:{background:c.controlItemBgHover},[`&:not(${s}-disabled).filter-node ${u}-title`]:{color:c.colorPrimary,fontWeight:500},"&-draggable":{cursor:"grab",[`${u}-draggable-icon`]:{flexShrink:0,width:e,textAlign:"center",visibility:"visible",color:y},[`&${s}-disabled ${u}-draggable-icon`]:{visibility:"hidden"}}},[`${u}-indent`]:{alignSelf:"stretch",whiteSpace:"nowrap",userSelect:"none","&-unit":{display:"inline-block",width:t}},[`${u}-draggable-icon`]:{visibility:"hidden"},[`${u}-switcher, ${u}-checkbox`]:{marginInlineEnd:c.calc(c.calc(e).sub(c.controlInteractiveSize)).div(2).equal()},[`${u}-switcher`]:Object.assign(Object.assign({},E(a,c)),{position:"relative",flex:"none",alignSelf:"stretch",width:e,textAlign:"center",cursor:"pointer",userSelect:"none",transition:`all ${c.motionDurationSlow}`,"&-noop":{cursor:"unset"},"&:before":{pointerEvents:"none",content:'""',width:e,height:e,position:"absolute",left:{_skip_check_:!0,value:0},top:0,borderRadius:c.borderRadius,transition:`all ${c.motionDurationSlow}`},[`&:not(${u}-switcher-noop):hover:before`]:{backgroundColor:c.colorBgTextHover},[`&_close ${u}-switcher-icon svg`]:{transform:"rotate(-90deg)"},"&-loading-icon":{color:c.colorPrimary},"&-leaf-line":{position:"relative",zIndex:1,display:"inline-block",width:"100%",height:"100%","&:before":{position:"absolute",top:0,insetInlineEnd:c.calc(e).div(2).equal(),bottom:c.calc(v).mul(-1).equal(),marginInlineStart:-1,borderInlineEnd:`1px solid ${c.colorBorder}`,content:'""'},"&:after":{position:"absolute",width:c.calc(c.calc(e).div(2).equal()).mul(.8).equal(),height:c.calc(e).div(2).equal(),borderBottom:`1px solid ${c.colorBorder}`,content:'""'}}}),[`${u}-node-content-wrapper`]:Object.assign(Object.assign({position:"relative",minHeight:e,paddingBlock:0,paddingInline:c.paddingXS,background:"transparent",borderRadius:c.borderRadius,cursor:"pointer",transition:`all ${c.motionDurationMid}, border 0s, line-height 0s, box-shadow 0s`},d(a,c)),{"&:hover":{backgroundColor:f},[`&${u}-node-selected`]:{color:c.nodeSelectedColor,backgroundColor:i},[`${u}-iconEle`]:{display:"inline-block",width:e,height:e,textAlign:"center",verticalAlign:"top","&:empty":{display:"none"}}}),[`${u}-unselectable ${u}-node-content-wrapper:hover`]:{backgroundColor:"transparent"},[`${s}.drop-container > [draggable]`]:{boxShadow:`0 0 0 2px ${c.colorPrimary}`},"&-show-line":{[`${u}-indent-unit`]:{position:"relative",height:"100%","&:before":{position:"absolute",top:0,insetInlineEnd:c.calc(e).div(2).equal(),bottom:c.calc(v).mul(-1).equal(),borderInlineEnd:`1px solid ${c.colorBorder}`,content:'""'},"&-end:before":{display:"none"}},[`${u}-switcher`]:{background:"transparent","&-line-icon":{verticalAlign:"-0.15em"}}},[`${s}-leaf-last ${u}-switcher-leaf-line:before`]:{top:"auto !important",bottom:"auto !important",height:`${(0,h.unit)(c.calc(e).div(2).equal())} !important`}})}},o=function(a,c){let u=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!0;const s=`.${a}`,v=`${s}-treenode`,e=c.calc(c.paddingXS).div(2).equal(),t=(0,B.mergeToken)(c,{treeCls:s,treeNodeCls:v,treeNodePadding:e});return[l(a,t),u&&p(t)].filter(Boolean)},g=a=>{const{controlHeightSM:c,controlItemBgHover:u,controlItemBgActive:s}=a,v=c;return{titleHeight:v,indentSize:v,nodeHoverBg:u,nodeHoverColor:a.colorText,nodeSelectedBg:s,nodeSelectedColor:a.colorText}},r=a=>{const{colorTextLightSolid:c,colorPrimary:u}=a;return Object.assign(Object.assign({},g(a)),{directoryNodeSelectedColor:c,directoryNodeSelectedBg:u})};var n=(0,C.I$)("Tree",(a,c)=>{let{prefixCls:u}=c;return[{[a.componentCls]:(0,k.C2)(`${u}-checkbox`,a)},o(u,a),(0,_.Z)(a)]},r)},85278:function(Ln,pt,M){"use strict";M.d(pt,{Z:function(){return c}});var h=M(59301),k=M(54476),P={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"},_=P,B=M(7657),C=function(s,v){return h.createElement(B.Z,(0,k.Z)({},s,{ref:v,icon:_}))},p=h.forwardRef(C),m=p,E=M(52671),d=M(58617),l=M(15075),o=M(43531),g=M(92310),r=M.n(g),n=M(22703),c=u=>{const{prefixCls:s,switcherIcon:v,treeNodeProps:e,showLine:t,switcherLoadingIcon:i}=u,{isLeaf:f,expanded:y,loading:b}=e;if(b)return h.isValidElement(i)?i:h.createElement(d.Z,{className:`${s}-switcher-loading-icon`});let x;if(t&&typeof t=="object"&&(x=t.showLeafIcon),f){if(!t)return null;if(typeof x!="boolean"&&x){const L=typeof x=="function"?x(e):x,D=`${s}-switcher-line-custom-icon`;return h.isValidElement(L)?(0,n.Tm)(L,{className:r()(L.props.className||"",D)}):L}return x?h.createElement(E.Z,{className:`${s}-switcher-line-icon`}):h.createElement("span",{className:`${s}-switcher-leaf-line`})}const A=`${s}-switcher-icon`,w=typeof v=="function"?v(e):v;return h.isValidElement(w)?(0,n.Tm)(w,{className:r()(w.props.className||"",A)}):w!==void 0?w:t?y?h.createElement(l.Z,{className:`${s}-switcher-line-icon`}):h.createElement(o.Z,{className:`${s}-switcher-line-icon`}):h.createElement(m,{className:A})}},94968:function(Ln,pt,M){"use strict";M.d(pt,{default:function(){return We}});var h=M(59301),k=M(94480),P=M(4676),_=M(92310),B=M.n(_),C=M(54476),p=M(67732),m=M(83652),E=M(31226),d=M(42403),l=M(158),o=M(20068),g=M(33885),r=M(75931),n=M(76190),a=M(75044),c=M(3202),u=M(26112),s=M(48736),v=function(he,Ve){if(he&&Ve){var tt=Array.isArray(Ve)?Ve:Ve.split(","),me=he.name||"",ye=he.type||"",_e=ye.replace(/\/.*$/,"");return tt.some(function(ke){var De=ke.trim();if(/^\*(\/\*)?$/.test(ke))return!0;if(De.charAt(0)==="."){var ct=me.toLowerCase(),At=De.toLowerCase(),Pt=[At];return(At===".jpg"||At===".jpeg")&&(Pt=[".jpg",".jpeg"]),Pt.some(function(Yt){return ct.endsWith(Yt)})}return/\/\*$/.test(De)?_e===De.replace(/\/.*$/,""):ye===De?!0:/^\w+$/.test(De)?((0,s.ZP)(!1,"Upload takes an invalidate 'accept' type '".concat(De,"'.Skip for check.")),!0):!1})}return!0};function e(he,Ve){var tt="cannot ".concat(he.method," ").concat(he.action," ").concat(Ve.status,"'"),me=new Error(tt);return me.status=Ve.status,me.method=he.method,me.url=he.action,me}function t(he){var Ve=he.responseText||he.response;if(!Ve)return Ve;try{return JSON.parse(Ve)}catch(tt){return Ve}}function i(he){var Ve=new XMLHttpRequest;he.onProgress&&Ve.upload&&(Ve.upload.onprogress=function(_e){_e.total>0&&(_e.percent=_e.loaded/_e.total*100),he.onProgress(_e)});var tt=new FormData;he.data&&Object.keys(he.data).forEach(function(ye){var _e=he.data[ye];if(Array.isArray(_e)){_e.forEach(function(ke){tt.append("".concat(ye,"[]"),ke)});return}tt.append(ye,_e)}),he.file instanceof Blob?tt.append(he.filename,he.file,he.file.name):tt.append(he.filename,he.file),Ve.onerror=function(_e){he.onError(_e)},Ve.onload=function(){return Ve.status<200||Ve.status>=300?he.onError(e(he,Ve),t(Ve)):he.onSuccess(t(Ve),Ve)},Ve.open(he.method,he.action,!0),he.withCredentials&&"withCredentials"in Ve&&(Ve.withCredentials=!0);var me=he.headers||{};return me["X-Requested-With"]!==null&&Ve.setRequestHeader("X-Requested-With","XMLHttpRequest"),Object.keys(me).forEach(function(ye){me[ye]!==null&&Ve.setRequestHeader(ye,me[ye])}),Ve.send(tt),{abort:function(){Ve.abort()}}}var f=function(){var he=(0,c.Z)((0,a.Z)().mark(function Ve(tt,me){var ye,_e,ke,De,ct,At,Pt,Yt;return(0,a.Z)().wrap(function(wn){for(;;)switch(wn.prev=wn.next){case 0:At=function(){return At=(0,c.Z)((0,a.Z)().mark(function nn(fn){return(0,a.Z)().wrap(function(Lt){for(;;)switch(Lt.prev=Lt.next){case 0:return Lt.abrupt("return",new Promise(function(Mn){fn.file(function(Zn){me(Zn)?(fn.fullPath&&!Zn.webkitRelativePath&&(Object.defineProperties(Zn,{webkitRelativePath:{writable:!0}}),Zn.webkitRelativePath=fn.fullPath.replace(/^\//,""),Object.defineProperties(Zn,{webkitRelativePath:{writable:!1}})),Mn(Zn)):Mn(null)})}));case 1:case"end":return Lt.stop()}},nn)})),At.apply(this,arguments)},ct=function(nn){return At.apply(this,arguments)},De=function(){return De=(0,c.Z)((0,a.Z)().mark(function nn(fn){var pn,Lt,Mn,Zn,bn;return(0,a.Z)().wrap(function(qn){for(;;)switch(qn.prev=qn.next){case 0:pn=fn.createReader(),Lt=[];case 2:return qn.next=5,new Promise(function(Cr){pn.readEntries(Cr,function(){return Cr([])})});case 5:if(Mn=qn.sent,Zn=Mn.length,Zn){qn.next=9;break}return qn.abrupt("break",12);case 9:for(bn=0;bn{const{componentCls:Ve,iconCls:tt}=he;return{[`${Ve}-wrapper`]:{[`${Ve}-drag`]:{position:"relative",width:"100%",height:"100%",textAlign:"center",background:he.colorFillAlter,border:`${(0,be.unit)(he.lineWidth)} dashed ${he.colorBorder}`,borderRadius:he.borderRadiusLG,cursor:"pointer",transition:`border-color ${he.motionDurationSlow}`,[Ve]:{padding:he.padding},[`${Ve}-btn`]:{display:"table",width:"100%",height:"100%",outline:"none",borderRadius:he.borderRadiusLG,"&:focus-visible":{outline:`${(0,be.unit)(he.lineWidthFocus)} solid ${he.colorPrimaryBorder}`}},[`${Ve}-drag-container`]:{display:"table-cell",verticalAlign:"middle"},[` &:not(${Ve}-disabled):hover, &-hover:not(${Ve}-disabled) `]:{borderColor:he.colorPrimaryHover},[`p${Ve}-drag-icon`]:{marginBottom:he.margin,[tt]:{color:he.colorPrimary,fontSize:he.uploadThumbnailSize}},[`p${Ve}-text`]:{margin:`0 0 ${(0,be.unit)(he.marginXXS)}`,color:he.colorTextHeading,fontSize:he.fontSizeLG},[`p${Ve}-hint`]:{color:he.colorTextDescription,fontSize:he.fontSize},[`&${Ve}-disabled`]:{[`p${Ve}-drag-icon ${tt}, p${Ve}-text, p${Ve}-hint `]:{color:he.colorTextDisabled}}}}}},$e=he=>{const{componentCls:Ve,iconCls:tt,fontSize:me,lineHeight:ye,calc:_e}=he,ke=`${Ve}-list-item`,De=`${ke}-actions`,ct=`${ke}-action`;return{[`${Ve}-wrapper`]:{[`${Ve}-list`]:Object.assign(Object.assign({},(0,le.dF)()),{lineHeight:he.lineHeight,[ke]:{position:"relative",height:_e(he.lineHeight).mul(me).equal(),marginTop:he.marginXS,fontSize:me,display:"flex",alignItems:"center",transition:`background-color ${he.motionDurationSlow}`,borderRadius:he.borderRadiusSM,"&:hover":{backgroundColor:he.controlItemBgHover},[`${ke}-name`]:Object.assign(Object.assign({},le.vS),{padding:`0 ${(0,be.unit)(he.paddingXS)}`,lineHeight:ye,flex:"auto",transition:`all ${he.motionDurationSlow}`}),[De]:{whiteSpace:"nowrap",[ct]:{opacity:0},[tt]:{color:he.actionsColor,transition:`all ${he.motionDurationSlow}`},[` ${ct}:focus-visible, &.picture ${ct} `]:{opacity:1}},[`${Ve}-icon ${tt}`]:{color:he.colorTextDescription,fontSize:me},[`${ke}-progress`]:{position:"absolute",bottom:he.calc(he.uploadProgressOffset).mul(-1).equal(),width:"100%",paddingInlineStart:_e(me).add(he.paddingXS).equal(),fontSize:me,lineHeight:0,pointerEvents:"none","> div":{margin:0}}},[`${ke}:hover ${ct}`]:{opacity:1},[`${ke}-error`]:{color:he.colorError,[`${ke}-name, ${Ve}-icon ${tt}`]:{color:he.colorError},[De]:{[`${tt}, ${tt}:hover`]:{color:he.colorError},[ct]:{opacity:1}}},[`${Ve}-list-item-container`]:{transition:`opacity ${he.motionDurationSlow}, height ${he.motionDurationSlow}`,"&::before":{display:"table",width:0,height:0,content:'""'}}})}}},Re=M(99495),Ze=he=>{const{componentCls:Ve}=he,tt=new be.Keyframes("uploadAnimateInlineIn",{from:{width:0,height:0,padding:0,opacity:0,margin:he.calc(he.marginXS).div(-2).equal()}}),me=new be.Keyframes("uploadAnimateInlineOut",{to:{width:0,height:0,padding:0,opacity:0,margin:he.calc(he.marginXS).div(-2).equal()}}),ye=`${Ve}-animate-inline`;return[{[`${Ve}-wrapper`]:{[`${ye}-appear, ${ye}-enter, ${ye}-leave`]:{animationDuration:he.motionDurationSlow,animationTimingFunction:he.motionEaseInOutCirc,animationFillMode:"forwards"},[`${ye}-appear, ${ye}-enter`]:{animationName:tt},[`${ye}-leave`]:{animationName:me}}},{[`${Ve}-wrapper`]:(0,Re.J$)(he)},tt,me]},Fe=M(68361);const Te=he=>{const{componentCls:Ve,iconCls:tt,uploadThumbnailSize:me,uploadProgressOffset:ye,calc:_e}=he,ke=`${Ve}-list`,De=`${ke}-item`;return{[`${Ve}-wrapper`]:{[` ${ke}${ke}-picture, ${ke}${ke}-picture-card, ${ke}${ke}-picture-circle `]:{[De]:{position:"relative",height:_e(me).add(_e(he.lineWidth).mul(2)).add(_e(he.paddingXS).mul(2)).equal(),padding:he.paddingXS,border:`${(0,be.unit)(he.lineWidth)} ${he.lineType} ${he.colorBorder}`,borderRadius:he.borderRadiusLG,"&:hover":{background:"transparent"},[`${De}-thumbnail`]:Object.assign(Object.assign({},le.vS),{width:me,height:me,lineHeight:(0,be.unit)(_e(me).add(he.paddingSM).equal()),textAlign:"center",flex:"none",[tt]:{fontSize:he.fontSizeHeading2,color:he.colorPrimary},img:{display:"block",width:"100%",height:"100%",overflow:"hidden"}}),[`${De}-progress`]:{bottom:ye,width:`calc(100% - ${(0,be.unit)(_e(he.paddingSM).mul(2).equal())})`,marginTop:0,paddingInlineStart:_e(me).add(he.paddingXS).equal()}},[`${De}-error`]:{borderColor:he.colorError,[`${De}-thumbnail ${tt}`]:{[`svg path[fill='${Fe.blue[0]}']`]:{fill:he.colorErrorBg},[`svg path[fill='${Fe.blue.primary}']`]:{fill:he.colorError}}},[`${De}-uploading`]:{borderStyle:"dashed",[`${De}-name`]:{marginBottom:ye}}},[`${ke}${ke}-picture-circle ${De}`]:{[`&, &::before, ${De}-thumbnail`]:{borderRadius:"50%"}}}}},Ge=he=>{const{componentCls:Ve,iconCls:tt,fontSizeLG:me,colorTextLightSolid:ye,calc:_e}=he,ke=`${Ve}-list`,De=`${ke}-item`,ct=he.uploadPicCardSize;return{[` ${Ve}-wrapper${Ve}-picture-card-wrapper, ${Ve}-wrapper${Ve}-picture-circle-wrapper `]:Object.assign(Object.assign({},(0,le.dF)()),{display:"block",[`${Ve}${Ve}-select`]:{width:ct,height:ct,textAlign:"center",verticalAlign:"top",backgroundColor:he.colorFillAlter,border:`${(0,be.unit)(he.lineWidth)} dashed ${he.colorBorder}`,borderRadius:he.borderRadiusLG,cursor:"pointer",transition:`border-color ${he.motionDurationSlow}`,[`> ${Ve}`]:{display:"flex",alignItems:"center",justifyContent:"center",height:"100%",textAlign:"center"},[`&:not(${Ve}-disabled):hover`]:{borderColor:he.colorPrimary}},[`${ke}${ke}-picture-card, ${ke}${ke}-picture-circle`]:{display:"flex",flexWrap:"wrap","@supports not (gap: 1px)":{"& > *":{marginBlockEnd:he.marginXS,marginInlineEnd:he.marginXS}},"@supports (gap: 1px)":{gap:he.marginXS},[`${ke}-item-container`]:{display:"inline-block",width:ct,height:ct,verticalAlign:"top"},"&::after":{display:"none"},"&::before":{display:"none"},[De]:{height:"100%",margin:0,"&::before":{position:"absolute",zIndex:1,width:`calc(100% - ${(0,be.unit)(_e(he.paddingXS).mul(2).equal())})`,height:`calc(100% - ${(0,be.unit)(_e(he.paddingXS).mul(2).equal())})`,backgroundColor:he.colorBgMask,opacity:0,transition:`all ${he.motionDurationSlow}`,content:'" "'}},[`${De}:hover`]:{[`&::before, ${De}-actions`]:{opacity:1}},[`${De}-actions`]:{position:"absolute",insetInlineStart:0,zIndex:10,width:"100%",whiteSpace:"nowrap",textAlign:"center",opacity:0,transition:`all ${he.motionDurationSlow}`,[` ${tt}-eye, ${tt}-download, ${tt}-delete `]:{zIndex:10,width:me,margin:`0 ${(0,be.unit)(he.marginXXS)}`,fontSize:me,cursor:"pointer",transition:`all ${he.motionDurationSlow}`,color:ye,"&:hover":{color:ye},svg:{verticalAlign:"baseline"}}},[`${De}-thumbnail, ${De}-thumbnail img`]:{position:"static",display:"block",width:"100%",height:"100%",objectFit:"contain"},[`${De}-name`]:{display:"none",textAlign:"center"},[`${De}-file + ${De}-name`]:{position:"absolute",bottom:he.margin,display:"block",width:`calc(100% - ${(0,be.unit)(_e(he.paddingXS).mul(2).equal())})`},[`${De}-uploading`]:{[`&${De}`]:{backgroundColor:he.colorFillAlter},[`&::before, ${tt}-eye, ${tt}-download, ${tt}-delete`]:{display:"none"}},[`${De}-progress`]:{bottom:he.marginXL,width:`calc(100% - ${(0,be.unit)(_e(he.paddingXS).mul(2).equal())})`,paddingInlineStart:0}}}),[`${Ve}-wrapper${Ve}-picture-circle-wrapper`]:{[`${Ve}${Ve}-select`]:{borderRadius:"50%"}}}};var V=he=>{const{componentCls:Ve}=he;return{[`${Ve}-rtl`]:{direction:"rtl"}}};const q=he=>{const{componentCls:Ve,colorTextDisabled:tt}=he;return{[`${Ve}-wrapper`]:Object.assign(Object.assign({},(0,le.Wf)(he)),{[Ve]:{outline:0,"input[type='file']":{cursor:"pointer"}},[`${Ve}-select`]:{display:"inline-block"},[`${Ve}-hidden`]:{display:"none"},[`${Ve}-disabled`]:{color:tt,cursor:"not-allowed"}})}},re=he=>({actionsColor:he.colorTextDescription});var ee=(0,ve.I$)("Upload",he=>{const{fontSizeHeading3:Ve,fontHeight:tt,lineWidth:me,controlHeightLG:ye,calc:_e}=he,ke=(0,Ce.mergeToken)(he,{uploadThumbnailSize:_e(Ve).mul(2).equal(),uploadProgressOffset:_e(_e(tt).div(2)).add(me).equal(),uploadPicCardSize:_e(ye).mul(2.55).equal()});return[q(ke),Ue(ke),Te(ke),Ge(ke),$e(ke),Ze(ke),V(ke),(0,J.Z)(ke)]},re),oe={icon:function(Ve,tt){return{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M534 352V136H232v752h560V394H576a42 42 0 01-42-42z",fill:tt}},{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:Ve}}]}},name:"file",theme:"twotone"},$=oe,fe=M(7657),xe=function(Ve,tt){return h.createElement(fe.Z,(0,C.Z)({},Ve,{ref:tt,icon:$}))},ne=h.forwardRef(xe),de=ne,ut=M(58617),Je={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"},ht=Je,vt=function(Ve,tt){return h.createElement(fe.Z,(0,C.Z)({},Ve,{ref:tt,icon:ht}))},qe=h.forwardRef(vt),ft=qe,Ke={icon:function(Ve,tt){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:Ve}},{tag:"path",attrs:{d:"M424.6 765.8l-150.1-178L136 752.1V792h752v-30.4L658.1 489z",fill:tt}},{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:tt}},{tag:"path",attrs:{d:"M276 368a28 28 0 1056 0 28 28 0 10-56 0z",fill:tt}},{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:Ve}}]}},name:"picture",theme:"twotone"},Oe=Ke,Ye=function(Ve,tt){return h.createElement(fe.Z,(0,C.Z)({},Ve,{ref:tt,icon:Oe}))},rt=h.forwardRef(Ye),yt=rt,Et=M(77900),cn=M(2738),Jt=M(40192),zt=M(86641),vn=M(22703),Fn=M(7939);function tn(he){return Object.assign(Object.assign({},he),{lastModified:he.lastModified,lastModifiedDate:he.lastModifiedDate,name:he.name,size:he.size,type:he.type,uid:he.uid,percent:0,originFileObj:he})}function Pn(he,Ve){const tt=(0,k.Z)(Ve),me=tt.findIndex(ye=>{let{uid:_e}=ye;return _e===he.uid});return me===-1?tt.push(he):tt[me]=he,tt}function qt(he,Ve){const tt=he.uid!==void 0?"uid":"name";return Ve.filter(me=>me[tt]===he[tt])[0]}function jt(he,Ve){const tt=he.uid!==void 0?"uid":"name",me=Ve.filter(ye=>ye[tt]!==he[tt]);return me.length===Ve.length?null:me}const kt=function(){const Ve=(arguments.length>0&&arguments[0]!==void 0?arguments[0]:"").split("/"),me=Ve[Ve.length-1].split(/#|\?/)[0];return(/\.[^./\\]*$/.exec(me)||[""])[0]},rn=he=>he.indexOf("image/")===0,It=he=>{if(he.type&&!he.thumbUrl)return rn(he.type);const Ve=he.thumbUrl||he.url||"",tt=kt(Ve);return/^data:image\//.test(Ve)||/(webp|svg|png|gif|jpg|jpeg|jfif|bmp|dpg|ico|heic|heif)$/i.test(tt)?!0:!(/^data:/.test(Ve)||tt)},Bt=200;function Wt(he){return new Promise(Ve=>{if(!he.type||!rn(he.type)){Ve("");return}const tt=document.createElement("canvas");tt.width=Bt,tt.height=Bt,tt.style.cssText=`position: fixed; left: 0; top: 0; width: ${Bt}px; height: ${Bt}px; z-index: 9999; display: none;`,document.body.appendChild(tt);const me=tt.getContext("2d"),ye=new Image;if(ye.onload=()=>{const{width:_e,height:ke}=ye;let De=Bt,ct=Bt,At=0,Pt=0;_e>ke?(ct=ke*(Bt/_e),Pt=-(ct-De)/2):(De=_e*(Bt/ke),At=-(De-ct)/2),me.drawImage(ye,At,Pt,De,ct);const Yt=tt.toDataURL();document.body.removeChild(tt),window.URL.revokeObjectURL(ye.src),Ve(Yt)},ye.crossOrigin="anonymous",he.type.startsWith("image/svg+xml")){const _e=new FileReader;_e.onload=()=>{_e.result&&typeof _e.result=="string"&&(ye.src=_e.result)},_e.readAsDataURL(he)}else if(he.type.startsWith("image/gif")){const _e=new FileReader;_e.onload=()=>{_e.result&&Ve(_e.result)},_e.readAsDataURL(he)}else ye.src=window.URL.createObjectURL(he)})}var Xt=M(26227),_n=M(41464),_t=M(15277),T=M(89787),z=M(25399),ie=h.forwardRef((he,Ve)=>{let{prefixCls:tt,className:me,style:ye,locale:_e,listType:ke,file:De,items:ct,progress:At,iconRender:Pt,actionIconRender:Yt,itemRender:sn,isImgUrl:wn,showPreviewIcon:En,showRemoveIcon:nn,showDownloadIcon:fn,previewIcon:pn,removeIcon:Lt,downloadIcon:Mn,extra:Zn,onPreview:bn,onDownload:Wn,onClose:qn}=he;var Cr,ur;const{status:Bn}=De,[ar,pr]=h.useState(Bn);h.useEffect(()=>{Bn!=="removed"&&pr(Bn)},[Bn]);const[nr,er]=h.useState(!1);h.useEffect(()=>{const et=setTimeout(()=>{er(!0)},300);return()=>{clearTimeout(et)}},[]);const Yn=Pt(De);let St=h.createElement("div",{className:`${tt}-icon`},Yn);if(ke==="picture"||ke==="picture-card"||ke==="picture-circle")if(ar==="uploading"||!De.thumbUrl&&!De.url){const et=B()(`${tt}-list-item-thumbnail`,{[`${tt}-list-item-file`]:ar!=="uploading"});St=h.createElement("div",{className:et},Yn)}else{const et=wn!=null&&wn(De)?h.createElement("img",{src:De.thumbUrl||De.url,alt:De.name,className:`${tt}-list-item-image`,crossOrigin:De.crossOrigin}):Yn,Tt=B()(`${tt}-list-item-thumbnail`,{[`${tt}-list-item-file`]:wn&&!wn(De)});St=h.createElement("a",{className:Tt,onClick:Ct=>bn(De,Ct),href:De.url||De.thumbUrl,target:"_blank",rel:"noopener noreferrer"},et)}const Pr=B()(`${tt}-list-item`,`${tt}-list-item-${ar}`),Xr=typeof De.linkProps=="string"?JSON.parse(De.linkProps):De.linkProps,Ir=(typeof nn=="function"?nn(De):nn)?Yt((typeof Lt=="function"?Lt(De):Lt)||h.createElement(Xt.Z,null),()=>qn(De),tt,_e.removeFile,!0):null,Hr=(typeof fn=="function"?fn(De):fn)&&ar==="done"?Yt((typeof Mn=="function"?Mn(De):Mn)||h.createElement(_n.Z,null),()=>Wn(De),tt,_e.downloadFile):null,Fr=ke!=="picture-card"&&ke!=="picture-circle"&&h.createElement("span",{key:"download-delete",className:B()(`${tt}-list-item-actions`,{picture:ke==="picture"})},Hr,Ir),$r=typeof Zn=="function"?Zn(De):Zn,rr=$r&&h.createElement("span",{className:`${tt}-list-item-extra`},$r),tr=B()(`${tt}-list-item-name`),Nn=De.url?h.createElement("a",Object.assign({key:"view",target:"_blank",rel:"noopener noreferrer",className:tr,title:De.name},Xr,{href:De.url,onClick:et=>bn(De,et)}),De.name,rr):h.createElement("span",{key:"view",className:tr,onClick:et=>bn(De,et),title:De.name},De.name,rr),Ft=(typeof En=="function"?En(De):En)&&(De.url||De.thumbUrl)?h.createElement("a",{href:De.url||De.thumbUrl,target:"_blank",rel:"noopener noreferrer",onClick:et=>bn(De,et),title:_e.previewFile},typeof pn=="function"?pn(De):pn||h.createElement(_t.Z,null)):null,hn=(ke==="picture-card"||ke==="picture-circle")&&ar!=="uploading"&&h.createElement("span",{className:`${tt}-list-item-actions`},Ft,ar==="done"&&Hr,Ir),{getPrefixCls:Gn}=h.useContext(W.E_),Vn=Gn(),gr=h.createElement("div",{className:Pr},St,Nn,Fr,hn,nr&&h.createElement(Et.default,{motionName:`${Vn}-fade`,visible:ar==="uploading",motionDeadline:2e3},et=>{let{className:Tt}=et;const Ct="percent"in De?h.createElement(T.Z,Object.assign({},At,{type:"line",percent:De.percent,"aria-label":De["aria-label"],"aria-labelledby":De["aria-labelledby"]})):null;return h.createElement("div",{className:B()(`${tt}-list-item-progress`,Tt)},Ct)})),Mr=De.response&&typeof De.response=="string"?De.response:((Cr=De.error)===null||Cr===void 0?void 0:Cr.statusText)||((ur=De.error)===null||ur===void 0?void 0:ur.message)||_e.uploadError,yr=ar==="error"?h.createElement(z.Z,{title:Mr,getPopupContainer:et=>et.parentNode},gr):gr;return h.createElement("div",{className:B()(`${tt}-list-item-container`,me),style:ye,ref:Ve},sn?sn(yr,De,ct,{download:Wn.bind(null,De),preview:bn.bind(null,De),remove:qn.bind(null,De)}):yr)});const se=(he,Ve)=>{const{listType:tt="text",previewFile:me=Wt,onPreview:ye,onDownload:_e,onRemove:ke,locale:De,iconRender:ct,isImageUrl:At=It,prefixCls:Pt,items:Yt=[],showPreviewIcon:sn=!0,showRemoveIcon:wn=!0,showDownloadIcon:En=!1,removeIcon:nn,previewIcon:fn,downloadIcon:pn,extra:Lt,progress:Mn={size:[-1,2],showInfo:!1},appendAction:Zn,appendActionVisible:bn=!0,itemRender:Wn,disabled:qn}=he,Cr=(0,Jt.Z)(),[ur,Bn]=h.useState(!1),ar=["picture-card","picture-circle"].includes(tt);h.useEffect(()=>{tt.startsWith("picture")&&(Yt||[]).forEach(rr=>{!(rr.originFileObj instanceof File||rr.originFileObj instanceof Blob)||rr.thumbUrl!==void 0||(rr.thumbUrl="",me==null||me(rr.originFileObj).then(tr=>{rr.thumbUrl=tr||"",Cr()}))})},[tt,Yt,me]),h.useEffect(()=>{Bn(!0)},[]);const pr=(rr,tr)=>{if(ye)return tr==null||tr.preventDefault(),ye(rr)},nr=rr=>{typeof _e=="function"?_e(rr):rr.url&&window.open(rr.url)},er=rr=>{ke==null||ke(rr)},Yn=rr=>{if(ct)return ct(rr,tt);const tr=rr.status==="uploading";if(tt.startsWith("picture")){const Nn=tt==="picture"?h.createElement(ut.Z,null):De.uploading,Ft=At!=null&&At(rr)?h.createElement(yt,null):h.createElement(de,null);return tr?Nn:Ft}return tr?h.createElement(ut.Z,null):h.createElement(ft,null)},St=(rr,tr,Nn,Ft,hn)=>{const Gn={type:"text",size:"small",title:Ft,onClick:Vn=>{var gr,Mr;tr(),h.isValidElement(rr)&&((Mr=(gr=rr.props).onClick)===null||Mr===void 0||Mr.call(gr,Vn))},className:`${Nn}-list-item-action`};return hn&&(Gn.disabled=qn),h.isValidElement(rr)?h.createElement(Fn.ZP,Object.assign({},Gn,{icon:(0,vn.Tm)(rr,Object.assign(Object.assign({},rr.props),{onClick:()=>{}}))})):h.createElement(Fn.ZP,Object.assign({},Gn),h.createElement("span",null,rr))};h.useImperativeHandle(Ve,()=>({handlePreview:pr,handleDownload:nr}));const{getPrefixCls:Pr}=h.useContext(W.E_),Xr=Pr("upload",Pt),Ir=Pr(),Hr=B()(`${Xr}-list`,`${Xr}-list-${tt}`),Fr=h.useMemo(()=>(0,cn.Z)((0,zt.Z)(Ir),["onAppearEnd","onEnterEnd","onLeaveEnd"]),[Ir]),$r=Object.assign(Object.assign({},ar?{}:Fr),{motionDeadline:2e3,motionName:`${Xr}-${ar?"animate-inline":"animate"}`,keys:(0,k.Z)(Yt.map(rr=>({key:rr.uid,file:rr}))),motionAppear:ur});return h.createElement("div",{className:Hr},h.createElement(Et.CSSMotionList,Object.assign({},$r,{component:!1}),rr=>{let{key:tr,file:Nn,className:Ft,style:hn}=rr;return h.createElement(ie,{key:tr,locale:De,prefixCls:Xr,className:Ft,style:hn,file:Nn,items:Yt,progress:Mn,listType:tt,isImgUrl:At,showPreviewIcon:sn,showRemoveIcon:wn,showDownloadIcon:En,removeIcon:nn,previewIcon:fn,downloadIcon:pn,extra:Lt,iconRender:Yn,actionIconRender:St,itemRender:Wn,onPreview:pr,onDownload:nr,onClose:er})}),Zn&&h.createElement(Et.default,Object.assign({},$r,{visible:bn,forceRender:!0}),rr=>{let{className:tr,style:Nn}=rr;return(0,vn.Tm)(Zn,Ft=>({className:B()(Ft.className,tr),style:Object.assign(Object.assign(Object.assign({},Nn),{pointerEvents:tr?"none":void 0}),Ft.style)}))}))};var lt=h.forwardRef(se),xt=function(he,Ve,tt,me){function ye(_e){return _e instanceof tt?_e:new tt(function(ke){ke(_e)})}return new(tt||(tt=Promise))(function(_e,ke){function De(Pt){try{At(me.next(Pt))}catch(Yt){ke(Yt)}}function ct(Pt){try{At(me.throw(Pt))}catch(Yt){ke(Yt)}}function At(Pt){Pt.done?_e(Pt.value):ye(Pt.value).then(De,ct)}At((me=me.apply(he,Ve||[])).next())})};const at=`__LIST_IGNORE_${Date.now()}__`,Nt=(he,Ve)=>{const{fileList:tt,defaultFileList:me,onRemove:ye,showUploadList:_e=!0,listType:ke="text",onPreview:De,onDownload:ct,onChange:At,onDrop:Pt,previewFile:Yt,disabled:sn,locale:wn,iconRender:En,isImageUrl:nn,progress:fn,prefixCls:pn,className:Lt,type:Mn="select",children:Zn,style:bn,itemRender:Wn,maxCount:qn,data:Cr={},multiple:ur=!1,hasControlInside:Bn=!0,action:ar="",accept:pr="",supportServerRender:nr=!0,rootClassName:er}=he,Yn=h.useContext(j.Z),St=sn!=null?sn:Yn,[Pr,Xr]=(0,F.Z)(me||[],{value:tt,postState:dr=>dr!=null?dr:[]}),[Ir,Hr]=h.useState("drop"),Fr=h.useRef(null),$r=h.useRef(null);h.useMemo(()=>{const dr=Date.now();(tt||[]).forEach((kr,ta)=>{!kr.uid&&!Object.isFrozen(kr)&&(kr.uid=`__AUTO__${dr}_${ta}__`)})},[tt]);const rr=(dr,kr,ta)=>{let Ar=(0,k.Z)(kr),Xn=!1;qn===1?Ar=Ar.slice(-1):qn&&(Xn=Ar.length>qn,Ar=Ar.slice(0,qn)),(0,P.flushSync)(()=>{Xr(Ar)});const aa={file:dr,fileList:Ar};ta&&(aa.event=ta),(!Xn||dr.status==="removed"||Ar.some(oa=>oa.uid===dr.uid))&&(0,P.flushSync)(()=>{At==null||At(aa)})},tr=(dr,kr)=>xt(void 0,void 0,void 0,function*(){const{beforeUpload:ta,transformFile:Ar}=he;let Xn=dr;if(ta){const aa=yield ta(dr,kr);if(aa===!1)return!1;if(delete dr[at],aa===at)return Object.defineProperty(dr,at,{value:!0,configurable:!0}),!1;typeof aa=="object"&&aa&&(Xn=aa)}return Ar&&(Xn=yield Ar(Xn)),Xn}),Nn=dr=>{const kr=dr.filter(Xn=>!Xn.file[at]);if(!kr.length)return;const ta=kr.map(Xn=>tn(Xn.file));let Ar=(0,k.Z)(Pr);ta.forEach(Xn=>{Ar=Pn(Xn,Ar)}),ta.forEach((Xn,aa)=>{let oa=Xn;if(kr[aa].parsedFile)Xn.status="uploading";else{const{originFileObj:la}=Xn;let va;try{va=new File([la],la.name,{type:la.type})}catch(Lr){va=new Blob([la],{type:la.type}),va.name=la.name,va.lastModifiedDate=new Date,va.lastModified=new Date().getTime()}va.uid=Xn.uid,oa=va}rr(oa,Ar)})},Ft=(dr,kr,ta)=>{try{typeof dr=="string"&&(dr=JSON.parse(dr))}catch(aa){}if(!qt(kr,Pr))return;const Ar=tn(kr);Ar.status="done",Ar.percent=100,Ar.response=dr,Ar.xhr=ta;const Xn=Pn(Ar,Pr);rr(Ar,Xn)},hn=(dr,kr)=>{if(!qt(kr,Pr))return;const ta=tn(kr);ta.status="uploading",ta.percent=dr.percent;const Ar=Pn(ta,Pr);rr(ta,Ar,dr)},Gn=(dr,kr,ta)=>{if(!qt(ta,Pr))return;const Ar=tn(ta);Ar.error=dr,Ar.response=kr,Ar.status="error";const Xn=Pn(Ar,Pr);rr(Ar,Xn)},Vn=dr=>{let kr;Promise.resolve(typeof ye=="function"?ye(dr):ye).then(ta=>{var Ar;if(ta===!1)return;const Xn=jt(dr,Pr);Xn&&(kr=Object.assign(Object.assign({},dr),{status:"removed"}),Pr==null||Pr.forEach(aa=>{const oa=kr.uid!==void 0?"uid":"name";aa[oa]===kr[oa]&&!Object.isFrozen(aa)&&(aa.status="removed")}),(Ar=Fr.current)===null||Ar===void 0||Ar.abort(kr),rr(kr,Xn))})},gr=dr=>{Hr(dr.type),dr.type==="drop"&&(Pt==null||Pt(dr))};h.useImperativeHandle(Ve,()=>({onBatchStart:Nn,onSuccess:Ft,onProgress:hn,onError:Gn,fileList:Pr,upload:Fr.current,nativeElement:$r.current}));const{getPrefixCls:Mr,direction:yr,upload:et}=h.useContext(W.E_),Tt=Mr("upload",pn),Ct=Object.assign(Object.assign({onBatchStart:Nn,onError:Gn,onProgress:hn,onSuccess:Ft},he),{data:Cr,multiple:ur,action:ar,accept:pr,supportServerRender:nr,prefixCls:Tt,disabled:St,beforeUpload:tr,onChange:void 0,hasControlInside:Bn});delete Ct.className,delete Ct.style,(!Zn||St)&&delete Ct.id;const Cn=`${Tt}-wrapper`,[cr,it,Tr]=ee(Tt,Cn),[Dn]=(0,X.Z)("Upload",Y.Z.Upload),{showRemoveIcon:un,showPreviewIcon:Un,showDownloadIcon:vr,removeIcon:On,previewIcon:hr,downloadIcon:An,extra:Or}=typeof _e=="boolean"?{}:_e,or=typeof un=="undefined"?!St:un,Rr=(dr,kr)=>_e?h.createElement(lt,{prefixCls:Tt,listType:ke,items:Pr,previewFile:Yt,onPreview:De,onDownload:ct,onRemove:Vn,showRemoveIcon:or,showPreviewIcon:Un,showDownloadIcon:vr,removeIcon:On,previewIcon:hr,downloadIcon:An,iconRender:En,extra:Or,locale:Object.assign(Object.assign({},Dn),wn),isImageUrl:nn,progress:fn,appendAction:dr,appendActionVisible:kr,itemRender:Wn,disabled:St}):dr,sr=B()(Cn,Lt,er,it,Tr,et==null?void 0:et.className,{[`${Tt}-rtl`]:yr==="rtl",[`${Tt}-picture-card-wrapper`]:ke==="picture-card",[`${Tt}-picture-circle-wrapper`]:ke==="picture-circle"}),$n=Object.assign(Object.assign({},et==null?void 0:et.style),bn);if(Mn==="drag"){const dr=B()(it,Tt,`${Tt}-drag`,{[`${Tt}-drag-uploading`]:Pr.some(kr=>kr.status==="uploading"),[`${Tt}-drag-hover`]:Ir==="dragover",[`${Tt}-disabled`]:St,[`${Tt}-rtl`]:yr==="rtl"});return cr(h.createElement("span",{className:sr,ref:$r},h.createElement("div",{className:dr,style:$n,onDrop:gr,onDragOver:gr,onDragLeave:gr},h.createElement(K,Object.assign({},Ct,{ref:Fr,className:`${Tt}-btn`}),h.createElement("div",{className:`${Tt}-drag-container`},Zn))),Rr()))}const Dr=B()(Tt,`${Tt}-select`,{[`${Tt}-disabled`]:St,[`${Tt}-hidden`]:!Zn}),xr=h.createElement("div",{className:Dr},h.createElement(K,Object.assign({},Ct,{ref:Fr})));return cr(ke==="picture-card"||ke==="picture-circle"?h.createElement("span",{className:sr,ref:$r},Rr(xr,!!Zn)):h.createElement("span",{className:sr,ref:$r},xr,Rr()))};var je=h.forwardRef(Nt),Ne=function(he,Ve){var tt={};for(var me in he)Object.prototype.hasOwnProperty.call(he,me)&&Ve.indexOf(me)<0&&(tt[me]=he[me]);if(he!=null&&typeof Object.getOwnPropertySymbols=="function")for(var ye=0,me=Object.getOwnPropertySymbols(he);ye{var{style:tt,height:me,hasControlInside:ye=!1}=he,_e=Ne(he,["style","height","hasControlInside"]);return h.createElement(je,Object.assign({ref:Ve,hasControlInside:ye},_e,{type:"drag",style:Object.assign(Object.assign({},tt),{height:me})}))});const Pe=je;Pe.Dragger=Le,Pe.LIST_IGNORE=at;var We=Pe},97774:function(Ln,pt,M){"use strict";Object.defineProperty(pt,"__esModule",{value:!0}),pt.default=void 0;var h=Object.assign||function(a){for(var c=1;c0&&(y=1/Math.sqrt(y),e[0]=t[0]*y,e[1]=t[1]*y),e},g.dot=function(e,t){return e[0]*t[0]+e[1]*t[1]},g.cross=function(e,t,i){var f=t[0]*i[1]-t[1]*i[0];return e[0]=e[1]=0,e[2]=f,e},g.lerp=function(e,t,i,f){var y=t[0],b=t[1];return e[0]=y+f*(i[0]-y),e[1]=b+f*(i[1]-b),e},g.random=function(e,t){t=t||1;var i=d()*2*Math.PI;return e[0]=Math.cos(i)*t,e[1]=Math.sin(i)*t,e},g.transformMat2=function(e,t,i){var f=t[0],y=t[1];return e[0]=i[0]*f+i[2]*y,e[1]=i[1]*f+i[3]*y,e},g.transformMat2d=function(e,t,i){var f=t[0],y=t[1];return e[0]=i[0]*f+i[2]*y+i[4],e[1]=i[1]*f+i[3]*y+i[5],e},g.transformMat3=function(e,t,i){var f=t[0],y=t[1];return e[0]=i[0]*f+i[3]*y+i[6],e[1]=i[1]*f+i[4]*y+i[7],e},g.transformMat4=function(e,t,i){var f=t[0],y=t[1];return e[0]=i[0]*f+i[4]*y+i[12],e[1]=i[1]*f+i[5]*y+i[13],e},g.forEach=function(){var e=g.create();return function(t,i,f,y,b,x){var A,w;for(i||(i=2),f||(f=0),y?w=Math.min(y*i+f,t.length):w=t.length,A=f;A0&&(b=1/Math.sqrt(b),e[0]=t[0]*b,e[1]=t[1]*b,e[2]=t[2]*b),e},r.dot=function(e,t){return e[0]*t[0]+e[1]*t[1]+e[2]*t[2]},r.cross=function(e,t,i){var f=t[0],y=t[1],b=t[2],x=i[0],A=i[1],w=i[2];return e[0]=y*w-b*A,e[1]=b*x-f*w,e[2]=f*A-y*x,e},r.lerp=function(e,t,i,f){var y=t[0],b=t[1],x=t[2];return e[0]=y+f*(i[0]-y),e[1]=b+f*(i[1]-b),e[2]=x+f*(i[2]-x),e},r.random=function(e,t){t=t||1;var i=d()*2*Math.PI,f=d()*2-1,y=Math.sqrt(1-f*f)*t;return e[0]=Math.cos(i)*y,e[1]=Math.sin(i)*y,e[2]=f*t,e},r.transformMat4=function(e,t,i){var f=t[0],y=t[1],b=t[2],x=i[3]*f+i[7]*y+i[11]*b+i[15];return x=x||1,e[0]=(i[0]*f+i[4]*y+i[8]*b+i[12])/x,e[1]=(i[1]*f+i[5]*y+i[9]*b+i[13])/x,e[2]=(i[2]*f+i[6]*y+i[10]*b+i[14])/x,e},r.transformMat3=function(e,t,i){var f=t[0],y=t[1],b=t[2];return e[0]=f*i[0]+y*i[3]+b*i[6],e[1]=f*i[1]+y*i[4]+b*i[7],e[2]=f*i[2]+y*i[5]+b*i[8],e},r.transformQuat=function(e,t,i){var f=t[0],y=t[1],b=t[2],x=i[0],A=i[1],w=i[2],L=i[3],D=L*f+A*b-w*y,O=L*y+w*f-x*b,N=L*b+x*y-A*f,I=-x*f-A*y-w*b;return e[0]=D*L+I*-x+O*-w-N*-A,e[1]=O*L+I*-A+N*-x-D*-w,e[2]=N*L+I*-w+D*-A-O*-x,e},r.rotateX=function(e,t,i,f){var y=[],b=[];return y[0]=t[0]-i[0],y[1]=t[1]-i[1],y[2]=t[2]-i[2],b[0]=y[0],b[1]=y[1]*Math.cos(f)-y[2]*Math.sin(f),b[2]=y[1]*Math.sin(f)+y[2]*Math.cos(f),e[0]=b[0]+i[0],e[1]=b[1]+i[1],e[2]=b[2]+i[2],e},r.rotateY=function(e,t,i,f){var y=[],b=[];return y[0]=t[0]-i[0],y[1]=t[1]-i[1],y[2]=t[2]-i[2],b[0]=y[2]*Math.sin(f)+y[0]*Math.cos(f),b[1]=y[1],b[2]=y[2]*Math.cos(f)-y[0]*Math.sin(f),e[0]=b[0]+i[0],e[1]=b[1]+i[1],e[2]=b[2]+i[2],e},r.rotateZ=function(e,t,i,f){var y=[],b=[];return y[0]=t[0]-i[0],y[1]=t[1]-i[1],y[2]=t[2]-i[2],b[0]=y[0]*Math.cos(f)-y[1]*Math.sin(f),b[1]=y[0]*Math.sin(f)+y[1]*Math.cos(f),b[2]=y[2],e[0]=b[0]+i[0],e[1]=b[1]+i[1],e[2]=b[2]+i[2],e},r.forEach=function(){var e=r.create();return function(t,i,f,y,b,x){var A,w;for(i||(i=3),f||(f=0),y?w=Math.min(y*i+f,t.length):w=t.length,A=f;A1?0:Math.acos(y)},r.str=function(e){return"vec3("+e[0]+", "+e[1]+", "+e[2]+")"},typeof p!="undefined"&&(p.vec3=r);var n={};n.create=function(){var e=new E(4);return e[0]=0,e[1]=0,e[2]=0,e[3]=0,e},n.clone=function(e){var t=new E(4);return t[0]=e[0],t[1]=e[1],t[2]=e[2],t[3]=e[3],t},n.fromValues=function(e,t,i,f){var y=new E(4);return y[0]=e,y[1]=t,y[2]=i,y[3]=f,y},n.copy=function(e,t){return e[0]=t[0],e[1]=t[1],e[2]=t[2],e[3]=t[3],e},n.set=function(e,t,i,f,y){return e[0]=t,e[1]=i,e[2]=f,e[3]=y,e},n.add=function(e,t,i){return e[0]=t[0]+i[0],e[1]=t[1]+i[1],e[2]=t[2]+i[2],e[3]=t[3]+i[3],e},n.subtract=function(e,t,i){return e[0]=t[0]-i[0],e[1]=t[1]-i[1],e[2]=t[2]-i[2],e[3]=t[3]-i[3],e},n.sub=n.subtract,n.multiply=function(e,t,i){return e[0]=t[0]*i[0],e[1]=t[1]*i[1],e[2]=t[2]*i[2],e[3]=t[3]*i[3],e},n.mul=n.multiply,n.divide=function(e,t,i){return e[0]=t[0]/i[0],e[1]=t[1]/i[1],e[2]=t[2]/i[2],e[3]=t[3]/i[3],e},n.div=n.divide,n.min=function(e,t,i){return e[0]=Math.min(t[0],i[0]),e[1]=Math.min(t[1],i[1]),e[2]=Math.min(t[2],i[2]),e[3]=Math.min(t[3],i[3]),e},n.max=function(e,t,i){return e[0]=Math.max(t[0],i[0]),e[1]=Math.max(t[1],i[1]),e[2]=Math.max(t[2],i[2]),e[3]=Math.max(t[3],i[3]),e},n.scale=function(e,t,i){return e[0]=t[0]*i,e[1]=t[1]*i,e[2]=t[2]*i,e[3]=t[3]*i,e},n.scaleAndAdd=function(e,t,i,f){return e[0]=t[0]+i[0]*f,e[1]=t[1]+i[1]*f,e[2]=t[2]+i[2]*f,e[3]=t[3]+i[3]*f,e},n.distance=function(e,t){var i=t[0]-e[0],f=t[1]-e[1],y=t[2]-e[2],b=t[3]-e[3];return Math.sqrt(i*i+f*f+y*y+b*b)},n.dist=n.distance,n.squaredDistance=function(e,t){var i=t[0]-e[0],f=t[1]-e[1],y=t[2]-e[2],b=t[3]-e[3];return i*i+f*f+y*y+b*b},n.sqrDist=n.squaredDistance,n.length=function(e){var t=e[0],i=e[1],f=e[2],y=e[3];return Math.sqrt(t*t+i*i+f*f+y*y)},n.len=n.length,n.squaredLength=function(e){var t=e[0],i=e[1],f=e[2],y=e[3];return t*t+i*i+f*f+y*y},n.sqrLen=n.squaredLength,n.negate=function(e,t){return e[0]=-t[0],e[1]=-t[1],e[2]=-t[2],e[3]=-t[3],e},n.inverse=function(e,t){return e[0]=1/t[0],e[1]=1/t[1],e[2]=1/t[2],e[3]=1/t[3],e},n.normalize=function(e,t){var i=t[0],f=t[1],y=t[2],b=t[3],x=i*i+f*f+y*y+b*b;return x>0&&(x=1/Math.sqrt(x),e[0]=t[0]*x,e[1]=t[1]*x,e[2]=t[2]*x,e[3]=t[3]*x),e},n.dot=function(e,t){return e[0]*t[0]+e[1]*t[1]+e[2]*t[2]+e[3]*t[3]},n.lerp=function(e,t,i,f){var y=t[0],b=t[1],x=t[2],A=t[3];return e[0]=y+f*(i[0]-y),e[1]=b+f*(i[1]-b),e[2]=x+f*(i[2]-x),e[3]=A+f*(i[3]-A),e},n.random=function(e,t){return t=t||1,e[0]=d(),e[1]=d(),e[2]=d(),e[3]=d(),n.normalize(e,e),n.scale(e,e,t),e},n.transformMat4=function(e,t,i){var f=t[0],y=t[1],b=t[2],x=t[3];return e[0]=i[0]*f+i[4]*y+i[8]*b+i[12]*x,e[1]=i[1]*f+i[5]*y+i[9]*b+i[13]*x,e[2]=i[2]*f+i[6]*y+i[10]*b+i[14]*x,e[3]=i[3]*f+i[7]*y+i[11]*b+i[15]*x,e},n.transformQuat=function(e,t,i){var f=t[0],y=t[1],b=t[2],x=i[0],A=i[1],w=i[2],L=i[3],D=L*f+A*b-w*y,O=L*y+w*f-x*b,N=L*b+x*y-A*f,I=-x*f-A*y-w*b;return e[0]=D*L+I*-x+O*-w-N*-A,e[1]=O*L+I*-A+N*-x-D*-w,e[2]=N*L+I*-w+D*-A-O*-x,e},n.forEach=function(){var e=n.create();return function(t,i,f,y,b,x){var A,w;for(i||(i=4),f||(f=0),y?w=Math.min(y*i+f,t.length):w=t.length,A=f;A.999999?(f[0]=0,f[1]=0,f[2]=0,f[3]=1,f):(r.cross(e,y,b),f[0]=e[0],f[1]=e[1],f[2]=e[2],f[3]=1+x,v.normalize(f,f))}}(),v.setAxes=function(){var e=u.create();return function(t,i,f,y){return e[0]=f[0],e[3]=f[1],e[6]=f[2],e[1]=y[0],e[4]=y[1],e[7]=y[2],e[2]=-i[0],e[5]=-i[1],e[8]=-i[2],v.normalize(t,v.fromMat3(t,e))}}(),v.clone=n.clone,v.fromValues=n.fromValues,v.copy=n.copy,v.set=n.set,v.identity=function(e){return e[0]=0,e[1]=0,e[2]=0,e[3]=1,e},v.setAxisAngle=function(e,t,i){i=i*.5;var f=Math.sin(i);return e[0]=f*t[0],e[1]=f*t[1],e[2]=f*t[2],e[3]=Math.cos(i),e},v.add=n.add,v.multiply=function(e,t,i){var f=t[0],y=t[1],b=t[2],x=t[3],A=i[0],w=i[1],L=i[2],D=i[3];return e[0]=f*D+x*A+y*L-b*w,e[1]=y*D+x*w+b*A-f*L,e[2]=b*D+x*L+f*w-y*A,e[3]=x*D-f*A-y*w-b*L,e},v.mul=v.multiply,v.scale=n.scale,v.rotateX=function(e,t,i){i*=.5;var f=t[0],y=t[1],b=t[2],x=t[3],A=Math.sin(i),w=Math.cos(i);return e[0]=f*w+x*A,e[1]=y*w+b*A,e[2]=b*w-y*A,e[3]=x*w-f*A,e},v.rotateY=function(e,t,i){i*=.5;var f=t[0],y=t[1],b=t[2],x=t[3],A=Math.sin(i),w=Math.cos(i);return e[0]=f*w-b*A,e[1]=y*w+x*A,e[2]=b*w+f*A,e[3]=x*w-y*A,e},v.rotateZ=function(e,t,i){i*=.5;var f=t[0],y=t[1],b=t[2],x=t[3],A=Math.sin(i),w=Math.cos(i);return e[0]=f*w+y*A,e[1]=y*w-f*A,e[2]=b*w+x*A,e[3]=x*w-b*A,e},v.calculateW=function(e,t){var i=t[0],f=t[1],y=t[2];return e[0]=i,e[1]=f,e[2]=y,e[3]=Math.sqrt(Math.abs(1-i*i-f*f-y*y)),e},v.dot=n.dot,v.lerp=n.lerp,v.slerp=function(e,t,i,f){var y=t[0],b=t[1],x=t[2],A=t[3],w=i[0],L=i[1],D=i[2],O=i[3],N,I,K,F,W;return I=y*w+b*L+x*D+A*O,I<0&&(I=-I,w=-w,L=-L,D=-D,O=-O),1-I>1e-6?(N=Math.acos(I),K=Math.sin(N),F=Math.sin((1-f)*N)/K,W=Math.sin(f*N)/K):(F=1-f,W=f),e[0]=F*y+W*w,e[1]=F*b+W*L,e[2]=F*x+W*D,e[3]=F*A+W*O,e},v.invert=function(e,t){var i=t[0],f=t[1],y=t[2],b=t[3],x=i*i+f*f+y*y+b*b,A=x?1/x:0;return e[0]=-i*A,e[1]=-f*A,e[2]=-y*A,e[3]=b*A,e},v.conjugate=function(e,t){return e[0]=-t[0],e[1]=-t[1],e[2]=-t[2],e[3]=t[3],e},v.length=n.length,v.len=v.length,v.squaredLength=n.squaredLength,v.sqrLen=v.squaredLength,v.normalize=n.normalize,v.fromMat3=function(e,t){var i=t[0]+t[4]+t[8],f;if(i>0)f=Math.sqrt(i+1),e[3]=.5*f,f=.5/f,e[0]=(t[5]-t[7])*f,e[1]=(t[6]-t[2])*f,e[2]=(t[1]-t[3])*f;else{var y=0;t[4]>t[0]&&(y=1),t[8]>t[y*3+y]&&(y=2);var b=(y+1)%3,x=(y+2)%3;f=Math.sqrt(t[y*3+y]-t[b*3+b]-t[x*3+x]+1),e[y]=.5*f,f=.5/f,e[3]=(t[b*3+x]-t[x*3+b])*f,e[b]=(t[b*3+y]+t[y*3+b])*f,e[x]=(t[x*3+y]+t[y*3+x])*f}return e},v.str=function(e){return"quat("+e[0]+", "+e[1]+", "+e[2]+", "+e[3]+")"},typeof p!="undefined"&&(p.quat=v)}(C.exports)})(this)},function(k,P,_){"use strict";var B=_(24),C=_(46),p=_(5),m=_(6),E=_(7),d=_(17),l=_(28),o=_(13),g=_(0),r=_.n(g),n=_(29),a=_(53),c=_.n(a),u=_(54),s=_(106),v=_(107),e=_(113),t=_(114),i=_(3),f=_(68),y=_(37),b=_(69),x=_(116),A=_(70),w=_(71),L=_(72),D=_(36),O=_(30),N=_(23),I=_(4),K=_(117),F=_(50),W=_(118),j=_(119),X=_(120),Y=_(9),le=_(67),J=_(49),ve=_(15),Ce=_(52),be=_(121),Ae=_(126),Ue=_(63),we=_(127),$e=_(128),Re=_(129),ge=_(130),Ze=_(131),Fe=_(132);r.a.util.extend(l.a.prototype,be.a),E.a.import(Ae.a),E.a.import(Ue.a),E.a.import(we.a),E.a.import($e.a),E.a.import(Re.a),E.a.import(ge.a),E.a.import(Ze.a),E.a.import(Fe.a);function Te(fe){return!fe||fe==="none"}function Ge(fe){return fe instanceof HTMLCanvasElement||fe instanceof HTMLImageElement||fe instanceof Image}function Be(fe){return fe.getZr&&fe.setOption}var V=n.a.prototype.addToScene,q=n.a.prototype.removeFromScene;n.a.prototype.addToScene=function(fe){if(V.call(this,fe),this.__zr){var xe=this.__zr;fe.traverse(function(ne){ne.__zr=xe,ne.addAnimatorsToZr&&ne.addAnimatorsToZr(xe)})}},n.a.prototype.removeFromScene=function(fe){q.call(this,fe),fe.traverse(function(xe){var ne=xe.__zr;xe.__zr=null,ne&&xe.removeAnimatorsFromZr&&xe.removeAnimatorsFromZr(ne)})},d.a.prototype.setTextureImage=function(fe,xe,ne,de){if(this.shader){var ut=ne.getZr(),Je=this,ht;return Je.autoUpdateTextureStatus=!1,Je.disableTexture(fe),Te(xe)||(ht=re.loadTexture(xe,ne,de,function(vt){Je.enableTexture(fe),ut&&ut.refresh()}),Je.set(fe,ht)),ht}};var re={};re.Renderer=C.a,re.Node=l.a,re.Mesh=B.a,re.Shader=E.a,re.Material=d.a,re.Texture=m.a,re.Texture2D=p.a,re.Geometry=o.a,re.SphereGeometry=f.a,re.PlaneGeometry=y.a,re.CubeGeometry=b.a,re.AmbientLight=x.a,re.DirectionalLight=A.a,re.PointLight=w.a,re.SpotLight=L.a,re.PerspectiveCamera=D.a,re.OrthographicCamera=O.a,re.Vector2=N.a,re.Vector3=I.a,re.Vector4=K.a,re.Quaternion=F.a,re.Matrix2=W.a,re.Matrix2d=j.a,re.Matrix3=X.a,re.Matrix4=Y.a,re.Plane=le.a,re.Ray=J.a,re.BoundingBox=ve.a,re.Frustum=Ce.a;var ee=u.a.createBlank("rgba(255,255,255,0)").image;function oe(fe){return Math.pow(2,Math.round(Math.log(fe)/Math.LN2))}function $(fe){if((fe.wrapS===m.a.REPEAT||fe.wrapT===m.a.REPEAT)&&fe.image){var xe=oe(fe.width),ne=oe(fe.height);if(xe!==fe.width||ne!==fe.height){var de=document.createElement("canvas");de.width=xe,de.height=ne;var ut=de.getContext("2d");ut.drawImage(fe.image,0,0,xe,ne),fe.image=de}}}re.loadTexture=function(fe,xe,ne,de){typeof ne=="function"&&(de=ne,ne={}),ne=ne||{};for(var ut=Object.keys(ne).sort(),Je="",ht=0;ht3?xe[3]=fe[3]:xe[3]=1,xe):(xe=r.a.color.parse(fe||"#000",xe)||[0,0,0,0],xe[0]/=255,xe[1]/=255,xe[2]/=255,xe)},re.directionFromAlphaBeta=function(fe,xe){var ne=fe/180*Math.PI+Math.PI/2,de=-xe/180*Math.PI+Math.PI/2,ut=[],Je=Math.sin(ne);return ut[0]=Je*Math.cos(de),ut[1]=-Math.cos(ne),ut[2]=Je*Math.sin(de),ut},re.getShadowResolution=function(fe){var xe=1024;switch(fe){case"low":xe=512;break;case"medium":break;case"high":xe=2048;break;case"ultra":xe=4096;break}return xe},re.COMMON_SHADERS=["lambert","color","realistic","hatching"],re.createShader=function(fe){var xe=E.a.source(fe+".vertex"),ne=E.a.source(fe+".fragment");xe||console.error("Vertex shader of '%s' not exits",fe),ne||console.error("Fragment shader of '%s' not exits",fe);var de=new E.a(xe,ne);return de.name=fe,de},re.createMaterial=function(fe,xe){xe instanceof Array||(xe=[xe]);var ne=re.createShader(fe),de=new d.a({shader:ne});return xe.forEach(function(ut){typeof ut=="string"&&de.define(ut)}),de},re.setMaterialFromModel=function(fe,xe,ne,de){xe.autoUpdateTextureStatus=!1;var ut=ne.getModel(fe+"Material"),Je=ut.get("detailTexture"),ht=i.a.firstNotNull(ut.get("textureTiling"),1),vt=i.a.firstNotNull(ut.get("textureOffset"),0);typeof ht=="number"&&(ht=[ht,ht]),typeof vt=="number"&&(vt=[vt,vt]);var qe=ht[0]>1||ht[1]>1?re.Texture.REPEAT:re.Texture.CLAMP_TO_EDGE,ft={anisotropic:8,wrapS:qe,wrapT:qe};if(fe==="realistic"){var Ke=ut.get("roughness"),Oe=ut.get("metalness");Oe!=null?isNaN(Oe)&&(xe.setTextureImage("metalnessMap",Oe,de,ft),Oe=i.a.firstNotNull(ut.get("metalnessAdjust"),.5)):Oe=0,Ke!=null?isNaN(Ke)&&(xe.setTextureImage("roughnessMap",Ke,de,ft),Ke=i.a.firstNotNull(ut.get("roughnessAdjust"),.5)):Ke=.5;var Ye=ut.get("normalTexture");xe.setTextureImage("detailMap",Je,de,ft),xe.setTextureImage("normalMap",Ye,de,ft),xe.set({roughness:Ke,metalness:Oe,detailUvRepeat:ht,detailUvOffset:vt})}else if(fe==="lambert")xe.setTextureImage("detailMap",Je,de,ft),xe.set({detailUvRepeat:ht,detailUvOffset:vt});else if(fe==="color")xe.setTextureImage("detailMap",Je,de,ft),xe.set({detailUvRepeat:ht,detailUvOffset:vt});else if(fe==="hatching"){var rt=ut.get("hatchingTextures")||[];rt.length<6&&console.error("Invalid hatchingTextures.");for(var yt=0;yt<6;yt++)xe.setTextureImage("hatch"+(yt+1),rt[yt],de,{anisotropic:8,wrapS:re.Texture.REPEAT,wrapT:re.Texture.REPEAT});xe.set({detailUvRepeat:ht,detailUvOffset:vt})}},re.updateVertexAnimation=function(fe,xe,ne,de){var ut=de.get("animation"),Je=de.get("animationDurationUpdate"),ht=de.get("animationEasingUpdate"),vt=ne.shadowDepthMaterial;if(ut&&xe&&Je>0&&xe.geometry.vertexCount===ne.geometry.vertexCount){ne.material.define("vertex","VERTEX_ANIMATION"),ne.ignorePreZ=!0,vt&&vt.define("vertex","VERTEX_ANIMATION");for(var qe=0;qec?c:n}var o=Math.atan2,g=Math.asin,r=Math.abs;m.eulerFromQuat=function(n,a,x){n._dirty=!0,a=a.array;var u=n.array,s=a[0],v=a[1],e=a[2],t=a[3],i=s*s,f=v*v,y=e*e,b=t*t,x=(x||"XYZ").toUpperCase();switch(x){case"XYZ":u[0]=o(2*(s*t-v*e),b-i-f+y),u[1]=g(l(2*(s*e+v*t),-1,1)),u[2]=o(2*(e*t-s*v),b+i-f-y);break;case"YXZ":u[0]=g(l(2*(s*t-v*e),-1,1)),u[1]=o(2*(s*e+v*t),b-i-f+y),u[2]=o(2*(s*v+e*t),b-i+f-y);break;case"ZXY":u[0]=g(l(2*(s*t+v*e),-1,1)),u[1]=o(2*(v*t-e*s),b-i-f+y),u[2]=o(2*(e*t-s*v),b-i+f-y);break;case"ZYX":u[0]=o(2*(s*t+e*v),b-i-f+y),u[1]=g(l(2*(v*t-s*e),-1,1)),u[2]=o(2*(s*v+e*t),b+i-f-y);break;case"YZX":u[0]=o(2*(s*t-e*v),b-i+f-y),u[1]=o(2*(v*t-s*e),b+i-f-y),u[2]=g(l(2*(s*v+e*t),-1,1));break;case"XZY":u[0]=o(2*(s*t+v*e),b-i+f-y),u[1]=o(2*(s*e+v*t),b+i-f-y),u[2]=g(l(2*(e*t-s*v),-1,1));break;default:console.warn("Unkown order: "+x)}return n},m.eulerFromMat3=function(n,a,w){var u=a.array,s=u[0],v=u[3],e=u[6],t=u[1],i=u[4],f=u[7],y=u[2],b=u[5],x=u[8],A=n.array,w=(w||"XYZ").toUpperCase();switch(w){case"XYZ":A[1]=g(l(e,-1,1)),r(e)<.99999?(A[0]=o(-f,x),A[2]=o(-v,s)):(A[0]=o(b,i),A[2]=0);break;case"YXZ":A[0]=g(-l(f,-1,1)),r(f)<.99999?(A[1]=o(e,x),A[2]=o(t,i)):(A[1]=o(-y,s),A[2]=0);break;case"ZXY":A[0]=g(l(b,-1,1)),r(b)<.99999?(A[1]=o(-y,x),A[2]=o(-v,i)):(A[1]=0,A[2]=o(t,s));break;case"ZYX":A[1]=g(-l(y,-1,1)),r(y)<.99999?(A[0]=o(b,x),A[2]=o(t,s)):(A[0]=0,A[2]=o(-v,i));break;case"YZX":A[2]=g(l(t,-1,1)),r(t)<.99999?(A[0]=o(-f,i),A[1]=o(-y,s)):(A[0]=0,A[1]=o(e,x));break;case"XZY":A[2]=g(-l(v,-1,1)),r(v)<.99999?(A[0]=o(b,i),A[1]=o(e,s)):(A[0]=o(-f,x),A[1]=0);break;default:console.warn("Unkown order: "+w)}return n._dirty=!0,n},m.POSITIVE_X=new m(1,0,0),m.NEGATIVE_X=new m(-1,0,0),m.POSITIVE_Y=new m(0,1,0),m.NEGATIVE_Y=new m(0,-1,0),m.POSITIVE_Z=new m(0,0,1),m.NEGATIVE_Z=new m(0,0,-1),m.UP=new m(0,1,0),m.ZERO=new m(0,0,0),P.a=m},function(k,P,_){"use strict";var B=_(6),C=_(11),p=_(66),m=p.a.isPowerOfTwo,E=B.a.extend(function(){return{image:null,pixels:null,mipmaps:[]}},{update:function(d){var l=d.gl;l.bindTexture(l.TEXTURE_2D,this._cache.get("webgl_texture")),this.updateCommon(d);var o=this.format,g=this.type;l.texParameteri(l.TEXTURE_2D,l.TEXTURE_WRAP_S,this.getAvailableWrapS()),l.texParameteri(l.TEXTURE_2D,l.TEXTURE_WRAP_T,this.getAvailableWrapT()),l.texParameteri(l.TEXTURE_2D,l.TEXTURE_MAG_FILTER,this.getAvailableMagFilter()),l.texParameteri(l.TEXTURE_2D,l.TEXTURE_MIN_FILTER,this.getAvailableMinFilter());var r=d.getGLExtension("EXT_texture_filter_anisotropic");if(r&&this.anisotropic>1&&l.texParameterf(l.TEXTURE_2D,r.TEXTURE_MAX_ANISOTROPY_EXT,this.anisotropic),g===36193){var n=d.getGLExtension("OES_texture_half_float");n||(g=C.a.FLOAT)}if(this.mipmaps.length)for(var a=this.width,c=this.height,u=0;u=B.a.COMPRESSED_RGB_S3TC_DXT1_EXT?d.compressedTexImage2D(d.TEXTURE_2D,o,n,g,r,0,l.pixels):d.texImage2D(d.TEXTURE_2D,o,n,g,r,0,n,a,l.pixels)},generateMipmap:function(d){var l=d.gl;this.useMipmap&&!this.NPOT&&(l.bindTexture(l.TEXTURE_2D,this._cache.get("webgl_texture")),l.generateMipmap(l.TEXTURE_2D))},isPowerOfTwo:function(){var d,l;return this.image?(d=this.image.width,l=this.image.height):(d=this.width,l=this.height),m(d)&&m(l)},isRenderable:function(){return this.image?this.image.nodeName==="CANVAS"||this.image.nodeName==="VIDEO"||this.image.complete:!!(this.width&&this.height)},bind:function(d){d.gl.bindTexture(d.gl.TEXTURE_2D,this.getWebGLTexture(d))},unbind:function(d){d.gl.bindTexture(d.gl.TEXTURE_2D,null)},load:function(d,l){var o=new Image;l&&(o.crossOrigin=l);var g=this;return o.onload=function(){g.dirty(),g.trigger("success",g),o.onload=null},o.onerror=function(){g.trigger("error",g),o.onerror=null},o.src=d,this.image=o,this}});Object.defineProperty(E.prototype,"width",{get:function(){return this.image?this.image.width:this._width},set:function(d){this.image?console.warn("Texture from image can't set width"):(this._width!==d&&this.dirty(),this._width=d)}}),Object.defineProperty(E.prototype,"height",{get:function(){return this.image?this.image.height:this._height},set:function(d){this.image?console.warn("Texture from image can't set height"):(this._height!==d&&this.dirty(),this._height=d)}}),P.a=E},function(k,P,_){"use strict";var B=_(8),C=_(11),p=_(48),m=B.a.extend({width:512,height:512,type:C.a.UNSIGNED_BYTE,format:C.a.RGBA,wrapS:C.a.REPEAT,wrapT:C.a.REPEAT,minFilter:C.a.LINEAR_MIPMAP_LINEAR,magFilter:C.a.LINEAR,useMipmap:!0,anisotropic:1,flipY:!0,sRGB:!0,unpackAlignment:4,premultiplyAlpha:!1,dynamic:!1,NPOT:!1},function(){this._cache=new p.a},{getWebGLTexture:function(E){var d=E.gl,l=this._cache;return l.use(E.__uid__),l.miss("webgl_texture")&&l.put("webgl_texture",d.createTexture()),this.dynamic?this.update(E):l.isDirty()&&(this.update(E),l.fresh()),l.get("webgl_texture")},bind:function(){},unbind:function(){},dirty:function(){this._cache&&this._cache.dirtyAll()},update:function(E){},updateCommon:function(E){var d=E.gl;d.pixelStorei(d.UNPACK_FLIP_Y_WEBGL,this.flipY),d.pixelStorei(d.UNPACK_PREMULTIPLY_ALPHA_WEBGL,this.premultiplyAlpha),d.pixelStorei(d.UNPACK_ALIGNMENT,this.unpackAlignment),this.format===C.a.DEPTH_COMPONENT&&(this.useMipmap=!1);var l=E.getGLExtension("EXT_sRGB");this.format===m.SRGB&&!l&&(this.format=m.RGB),this.format===m.SRGB_ALPHA&&!l&&(this.format=m.RGBA),this.NPOT=!this.isPowerOfTwo()},getAvailableWrapS:function(){return this.NPOT?C.a.CLAMP_TO_EDGE:this.wrapS},getAvailableWrapT:function(){return this.NPOT?C.a.CLAMP_TO_EDGE:this.wrapT},getAvailableMinFilter:function(){var E=this.minFilter;return this.NPOT||!this.useMipmap?E==C.a.NEAREST_MIPMAP_NEAREST||E==C.a.NEAREST_MIPMAP_LINEAR?C.a.NEAREST:E==C.a.LINEAR_MIPMAP_LINEAR||E==C.a.LINEAR_MIPMAP_NEAREST?C.a.LINEAR:E:E},getAvailableMagFilter:function(){return this.magFilter},nextHighestPowerOfTwo:function(E){--E;for(var d=1;d<32;d<<=1)E=E|E>>d;return E+1},dispose:function(E){var d=this._cache;d.use(E.__uid__);var l=d.get("webgl_texture");l&&E.gl.deleteTexture(l),d.deleteContext(E.__uid__)},isRenderable:function(){},isPowerOfTwo:function(){}});Object.defineProperty(m.prototype,"width",{get:function(){return this._width},set:function(E){this._width=E}}),Object.defineProperty(m.prototype,"height",{get:function(){return this._height},set:function(E){this._height=E}}),m.BYTE=C.a.BYTE,m.UNSIGNED_BYTE=C.a.UNSIGNED_BYTE,m.SHORT=C.a.SHORT,m.UNSIGNED_SHORT=C.a.UNSIGNED_SHORT,m.INT=C.a.INT,m.UNSIGNED_INT=C.a.UNSIGNED_INT,m.FLOAT=C.a.FLOAT,m.HALF_FLOAT=36193,m.UNSIGNED_INT_24_8_WEBGL=34042,m.DEPTH_COMPONENT=C.a.DEPTH_COMPONENT,m.DEPTH_STENCIL=C.a.DEPTH_STENCIL,m.ALPHA=C.a.ALPHA,m.RGB=C.a.RGB,m.RGBA=C.a.RGBA,m.LUMINANCE=C.a.LUMINANCE,m.LUMINANCE_ALPHA=C.a.LUMINANCE_ALPHA,m.SRGB=35904,m.SRGB_ALPHA=35906,m.COMPRESSED_RGB_S3TC_DXT1_EXT=33776,m.COMPRESSED_RGBA_S3TC_DXT1_EXT=33777,m.COMPRESSED_RGBA_S3TC_DXT3_EXT=33778,m.COMPRESSED_RGBA_S3TC_DXT5_EXT=33779,m.NEAREST=C.a.NEAREST,m.LINEAR=C.a.LINEAR,m.NEAREST_MIPMAP_NEAREST=C.a.NEAREST_MIPMAP_NEAREST,m.LINEAR_MIPMAP_NEAREST=C.a.LINEAR_MIPMAP_NEAREST,m.NEAREST_MIPMAP_LINEAR=C.a.NEAREST_MIPMAP_LINEAR,m.LINEAR_MIPMAP_LINEAR=C.a.LINEAR_MIPMAP_LINEAR,m.REPEAT=C.a.REPEAT,m.CLAMP_TO_EDGE=C.a.CLAMP_TO_EDGE,m.MIRRORED_REPEAT=C.a.MIRRORED_REPEAT,P.a=m},function(k,P,_){"use strict";var B=_(21),C=_(18),p=_(1),m=_.n(p),E=m.a.mat2,d=m.a.mat3,l=m.a.mat4,o=/uniform\s+(bool|float|int|vec2|vec3|vec4|ivec2|ivec3|ivec4|mat2|mat3|mat4|sampler2D|samplerCube)\s+([\w\,]+)?(\[.*?\])?\s*(:\s*([\S\s]+?))?;/g,g=/attribute\s+(float|int|vec2|vec3|vec4)\s+(\w*)\s*(:\s*(\w+))?;/g,r=/#define\s+(\w+)?(\s+[\w-.]+)?\s*;?\s*\n/g,n={bool:"1i",int:"1i",sampler2D:"t",samplerCube:"t",float:"1f",vec2:"2f",vec3:"3f",vec4:"4f",ivec2:"2i",ivec3:"3i",ivec4:"4i",mat2:"m2",mat3:"m3",mat4:"m4"},a={bool:function(){return!0},int:function(){return 0},float:function(){return 0},sampler2D:function(){return null},samplerCube:function(){return null},vec2:function(){return[0,0]},vec3:function(){return[0,0,0]},vec4:function(){return[0,0,0,0]},ivec2:function(){return[0,0]},ivec3:function(){return[0,0,0]},ivec4:function(){return[0,0,0,0]},mat2:function(){return E.create()},mat3:function(){return d.create()},mat4:function(){return l.create()},array:function(){return[]}},c=["POSITION","NORMAL","BINORMAL","TANGENT","TEXCOORD","TEXCOORD_0","TEXCOORD_1","COLOR","JOINT","WEIGHT"],u=["SKIN_MATRIX","VIEWPORT_SIZE","VIEWPORT","DEVICEPIXELRATIO","WINDOW_SIZE","NEAR","FAR","TIME"],s=["WORLD","VIEW","PROJECTION","WORLDVIEW","VIEWPROJECTION","WORLDVIEWPROJECTION","WORLDINVERSE","VIEWINVERSE","PROJECTIONINVERSE","WORLDVIEWINVERSE","VIEWPROJECTIONINVERSE","WORLDVIEWPROJECTIONINVERSE","WORLDTRANSPOSE","VIEWTRANSPOSE","PROJECTIONTRANSPOSE","WORLDVIEWTRANSPOSE","VIEWPROJECTIONTRANSPOSE","WORLDVIEWPROJECTIONTRANSPOSE","WORLDINVERSETRANSPOSE","VIEWINVERSETRANSPOSE","PROJECTIONINVERSETRANSPOSE","WORLDVIEWINVERSETRANSPOSE","VIEWPROJECTIONINVERSETRANSPOSE","WORLDVIEWPROJECTIONINVERSETRANSPOSE"],v={},e={};function t(b,x){var A="vertex:"+b+"fragment:"+x;if(v[A])return v[A];var w=B.a.genGUID();return v[A]=w,e[w]={vertex:b,fragment:x},w}function i(b,x){typeof b=="object"&&(x=b.fragment,b=b.vertex),this._shaderID=t(b,x),this._vertexCode=i.parseImport(b),this._fragmentCode=i.parseImport(x),this.attributeSemantics={},this.matrixSemantics={},this.uniformSemantics={},this.matrixSemanticKeys=[],this.uniformTemplates={},this.attributes={},this.textures={},this.vertexDefines={},this.fragmentDefines={},this._parseAttributes(),this._parseUniforms(),this._parseDefines()}i.prototype={constructor:i,createUniforms:function(){var b={};for(var x in this.uniformTemplates){var A=this.uniformTemplates[x];b[x]={type:A.type,value:A.value()}}return b},_parseImport:function(){this._vertexCode=i.parseImport(this.vertex),this._fragmentCode=i.parseImport(this.fragment)},_parseUniforms:function(){var b={},x=this,A="vertex";this._uniformList=[],this._vertexCode=this._vertexCode.replace(o,w),A="fragment",this._fragmentCode=this._fragmentCode.replace(o,w),x.matrixSemanticKeys=Object.keys(this.matrixSemantics);function w(L,D,O,N,I,K){if(D&&O){var F=n[D],W=!0,j;if(F){if(x._uniformList.push(O),(D==="sampler2D"||D==="samplerCube")&&(x.textures[O]={shaderType:A,type:D}),N&&(F+="v"),K)if(c.indexOf(K)>=0)x.attributeSemantics[K]={symbol:O,type:F},W=!1;else if(s.indexOf(K)>=0){var X=!1,Y=K;K.match(/TRANSPOSE$/)&&(X=!0,Y=K.slice(0,-9)),x.matrixSemantics[K]={symbol:O,type:F,isTranspose:X,semanticNoTranspose:Y},W=!1}else if(u.indexOf(K)>=0)x.uniformSemantics[K]={symbol:O,type:F},W=!1;else if(K==="unconfigurable")W=!1;else if(j=x._parseDefaultValue(D,K),j)K="";else throw new Error('Unkown semantic "'+K+'"');W&&(b[O]={type:F,value:N?a.array:j||a[D],semantic:K||null})}return["uniform",D,O,N].join(" ")+`; `}}this.uniformTemplates=b},_parseDefaultValue:function(b,x){var A=/\[\s*(.*)\s*\]/;if(b==="vec2"||b==="vec3"||b==="vec4"){var w=A.exec(x)[1];if(w){var L=w.split(/\s*,\s*/);return function(){return new C.a.Float32Array(L)}}else return}else{if(b==="bool")return function(){return x.toLowerCase()==="true"};if(b==="float")return function(){return parseFloat(x)};if(b==="int")return function(){return parseInt(x)}}},_parseAttributes:function(){var b={},x=this;this._vertexCode=this._vertexCode.replace(g,A);function A(w,L,D,O,N){if(L&&D){var I=1;switch(L){case"vec4":I=4;break;case"vec3":I=3;break;case"vec2":I=2;break;case"float":I=1;break}if(b[D]={type:"float",size:I,semantic:N||null},N){if(c.indexOf(N)<0)throw new Error('Unkown semantic "'+N+'"');x.attributeSemantics[N]={symbol:D,type:L}}}return["attribute",L,D].join(" ")+`; `}this.attributes=b},_parseDefines:function(){var b=this,x="vertex";this._vertexCode=this._vertexCode.replace(r,A),x="fragment",this._fragmentCode=this._fragmentCode.replace(r,A);function A(w,L,D){var O=x==="vertex"?b.vertexDefines:b.fragmentDefines;return O[L]||(D=="false"?O[L]=!1:D=="true"?O[L]=!0:O[L]=D?isNaN(parseFloat(D))?D.trim():parseFloat(D):null),""}},clone:function(){var b=e[this._shaderID],x=new i(b.vertex,b.fragment);return x}},Object.defineProperty&&(Object.defineProperty(i.prototype,"shaderID",{get:function(){return this._shaderID}}),Object.defineProperty(i.prototype,"vertex",{get:function(){return this._vertexCode}}),Object.defineProperty(i.prototype,"fragment",{get:function(){return this._fragmentCode}}),Object.defineProperty(i.prototype,"uniforms",{get:function(){return this._uniformList}}));var f=/(@import)\s*([0-9a-zA-Z_\-\.]*)/g;i.parseImport=function(b){return b=b.replace(f,function(L,A,w){var L=i.source(w);return L?i.parseImport(L):(console.error('Shader chunk "'+w+'" not existed in library'),"")}),b};var y=/(@export)\s*([0-9a-zA-Z_\-\.]*)\s*\n([\s\S]*?)@end/g;i.import=function(b){b.replace(y,function(x,A,w,D){var D=D.replace(/(^[\s\t\xa0\u3000]+)|([\u3000\xa0\s\t]+\x24)/g,"");if(D){for(var O=w.split("."),N=i.codes,I=0,K;IA[0]&&(A[0]=L),D>A[1]&&(A[1]=D),O>A[2]&&(A[2]=O)}y._dirty=!0,b._dirty=!0}},dirty:function(){for(var i=this.getEnabledAttributes(),f=0;f=0){f||(f=r());var y=this.indices;return f[0]=y[i*3],f[1]=y[i*3+1],f[2]=y[i*3+2],f}},setTriangleIndices:function(i,f){var y=this.indices;y[i*3]=f[0],y[i*3+1]=f[1],y[i*3+2]=f[2]},isUseIndices:function(){return!!this.indices},initIndicesFromArray:function(i){var f,y=this.vertexCount>65535?m.a.Uint32Array:m.a.Uint16Array;if(i[0]&&i[0].length){var b=0,x=3;f=new y(i.length*x);for(var A=0;A=0?(f.splice(y,1),delete this.attributes[i],!0):!1},getAttribute:function(i){return this.attributes[i]},getEnabledAttributes:function(){var i=this._enabledAttributes,f=this._attributeList;if(i)return i;for(var y=[],b=this.vertexCount,x=0;x65535&&(this.indices=new m.a.Uint32Array(this.indices));for(var i=this.attributes,f=this.indices,y=this.getEnabledAttributes(),b={},x=0;x=s.COLOR_ATTACHMENT0&&t<=s.COLOR_ATTACHMENT0+8&&e.push(t);v.drawBuffersEXT(e)}}this.trigger("beforerender",this,c);var i=this.clearDepth?s.DEPTH_BUFFER_BIT:0;if(s.depthMask(!0),this.clearColor){i=i|s.COLOR_BUFFER_BIT,s.colorMask(!0,!0,!0,!0);var f=this.clearColor;Array.isArray(f)&&s.clearColor(f[0],f[1],f[2],f[3])}s.clear(i),this.blendWithPrevious?(s.enable(s.BLEND),this.material.transparent=!0):(s.disable(s.BLEND),this.material.transparent=!1),this.renderQuad(c),this.trigger("afterrender",this,c),u&&this.unbind(c,u)},renderQuad:function(c){r.material=this.material,c.renderPass([r],n)},dispose:function(c){}});P.a=a},function(k,P,_){"use strict";var B=_(4),C=_(1),p=_.n(C),m=p.a.vec3,E=m.copy,d=m.set,l=function(o,g){this.min=o||new B.a(1/0,1/0,1/0),this.max=g||new B.a(-1/0,-1/0,-1/0)};l.prototype={constructor:l,updateFromVertices:function(o){if(o.length>0){var g=this.min,r=this.max,n=g.array,a=r.array;E(n,o[0]),E(a,o[0]);for(var c=1;ca[0]&&(a[0]=u[0]),u[1]>a[1]&&(a[1]=u[1]),u[2]>a[2]&&(a[2]=u[2])}g._dirty=!0,r._dirty=!0}},union:function(o){var g=this.min,r=this.max;return m.min(g.array,g.array,o.min.array),m.max(r.array,r.array,o.max.array),g._dirty=!0,r._dirty=!0,this},intersection:function(o){var g=this.min,r=this.max;return m.max(g.array,g.array,o.min.array),m.min(r.array,r.array,o.max.array),g._dirty=!0,r._dirty=!0,this},intersectBoundingBox:function(o){var g=this.min.array,r=this.max.array,n=o.min.array,a=o.max.array;return!(g[0]>a[0]||g[1]>a[1]||g[2]>a[2]||r[0]=a[0]&&r[1]>=a[1]&&r[2]>=a[2]},containPoint:function(o){var g=this.min.array,r=this.max.array,n=o.array;return g[0]<=n[0]&&g[1]<=n[1]&&g[2]<=n[2]&&r[0]>=n[0]&&r[1]>=n[1]&&r[2]>=n[2]},isFinite:function(){var o=this.min.array,g=this.max.array;return isFinite(o[0])&&isFinite(o[1])&&isFinite(o[2])&&isFinite(g[0])&&isFinite(g[1])&&isFinite(g[2])},applyTransform:function(){var o=m.create(),g=m.create(),r=m.create(),n=m.create(),a=m.create(),c=m.create();return function(u){var s=this.min.array,v=this.max.array,e=u.array;return o[0]=e[0]*s[0],o[1]=e[1]*s[0],o[2]=e[2]*s[0],g[0]=e[0]*v[0],g[1]=e[1]*v[0],g[2]=e[2]*v[0],r[0]=e[4]*s[1],r[1]=e[5]*s[1],r[2]=e[6]*s[1],n[0]=e[4]*v[1],n[1]=e[5]*v[1],n[2]=e[6]*v[1],a[0]=e[8]*s[2],a[1]=e[9]*s[2],a[2]=e[10]*s[2],c[0]=e[8]*v[2],c[1]=e[9]*v[2],c[2]=e[10]*v[2],s[0]=Math.min(o[0],g[0])+Math.min(r[0],n[0])+Math.min(a[0],c[0])+e[12],s[1]=Math.min(o[1],g[1])+Math.min(r[1],n[1])+Math.min(a[1],c[1])+e[13],s[2]=Math.min(o[2],g[2])+Math.min(r[2],n[2])+Math.min(a[2],c[2])+e[14],v[0]=Math.max(o[0],g[0])+Math.max(r[0],n[0])+Math.max(a[0],c[0])+e[12],v[1]=Math.max(o[1],g[1])+Math.max(r[1],n[1])+Math.max(a[1],c[1])+e[13],v[2]=Math.max(o[2],g[2])+Math.max(r[2],n[2])+Math.max(a[2],c[2])+e[14],this.min._dirty=!0,this.max._dirty=!0,this}}(),applyProjection:function(o){var g=this.min.array,r=this.max.array,n=o.array,a=g[0],c=g[1],u=g[2],s=r[0],v=r[1],e=g[2],t=r[0],i=r[1],f=r[2];if(n[15]===1)g[0]=n[0]*a+n[12],g[1]=n[5]*c+n[13],r[2]=n[10]*u+n[14],r[0]=n[0]*t+n[12],r[1]=n[5]*i+n[13],g[2]=n[10]*f+n[14];else{var y=-1/u;g[0]=n[0]*a*y,g[1]=n[5]*c*y,r[2]=(n[10]*u+n[14])*y,y=-1/e,r[0]=n[0]*s*y,r[1]=n[5]*v*y,y=-1/f,g[2]=(n[10]*f+n[14])*y}return this.min._dirty=!0,this.max._dirty=!0,this},updateVertices:function(){var o=this.vertices;if(!o){for(var o=[],g=0;g<8;g++)o[g]=m.fromValues(0,0,0);this.vertices=o}var r=this.min.array,n=this.max.array;return d(o[0],r[0],r[1],r[2]),d(o[1],r[0],n[1],r[2]),d(o[2],n[0],r[1],r[2]),d(o[3],n[0],n[1],r[2]),d(o[4],r[0],r[1],n[2]),d(o[5],r[0],n[1],n[2]),d(o[6],n[0],r[1],n[2]),d(o[7],n[0],n[1],n[2]),this},copy:function(o){var g=this.min,r=this.max;return E(g.array,o.min.array),E(r.array,o.max.array),g._dirty=!0,r._dirty=!0,this},clone:function(){var o=new l;return o.copy(this),o}},P.a=l},function(k,P,_){"use strict";P.a=function(B,C,p){return{seriesType:B,reset:function(m,E){var d=m.getData(),l=m.visualColorAccessPath.split(".");l[l.length-1]="opacity";var o=m.get(l);d.setVisual("opacity",o==null?1:o);function g(r){var n=d.getItemModel(r),a=n.get(l);a!=null&&d.setItemVisual(r,"opacity",a)}return{dataEach:d.hasItemOption?g:null}}}}},function(k,P,_){"use strict";var B=_(8),C=_(6),p=_(21),m=_(93),E=m.a.parseToFloat,d={};function l(r,n,a){var c=Object.keys(r);c.sort();for(var u=[],s=0;s=0},getEnabledUniforms:function(){return this._enabledUniforms},getTextureUniforms:function(){return this._textureUniforms},set:function(r,n){if(typeof r=="object")for(var a in r){var c=r[a];this.setUniform(a,c)}else this.setUniform(r,n)},get:function(r){var n=this.uniforms[r];if(n)return n.value},attachShader:function(r,n){var a=this.uniforms;this.uniforms=r.createUniforms(),this.shader=r;var c=this.uniforms;this._enabledUniforms=Object.keys(c),this._enabledUniforms.sort(),this._textureUniforms=this._enabledUniforms.filter(function(i){var f=this.uniforms[i].type;return f==="t"||f==="tv"},this);var u=this.vertexDefines,s=this.fragmentDefines;if(this.vertexDefines=p.a.clone(r.vertexDefines),this.fragmentDefines=p.a.clone(r.fragmentDefines),n){for(var v in a)c[v]&&(c[v].value=a[v].value);p.a.defaults(this.vertexDefines,u),p.a.defaults(this.fragmentDefines,s)}var e={};for(var t in r.textures)e[t]={shaderType:r.textures[t].shaderType,type:r.textures[t].type,enabled:n&&this._textureStatus[t]?this._textureStatus[t].enabled:!1};this._textureStatus=e,this._programKey=""},clone:function(){var r=new this.constructor({name:this.name,shader:this.shader});for(var n in this.uniforms)r.uniforms[n].value=this.uniforms[n].value;return r.depthTest=this.depthTest,r.depthMask=this.depthMask,r.transparent=this.transparent,r.blend=this.blend,r.vertexDefines=p.a.clone(this.vertexDefines),r.fragmentDefines=p.a.clone(this.fragmentDefines),r.enableTexture(this.getEnabledTextures()),r.precision=this.precision,r},define:function(r,n,a){var c=this.vertexDefines,u=this.fragmentDefines;r!=="vertex"&&r!=="fragment"&&r!=="both"&&arguments.length<3&&(a=n,n=r,r="both"),a=a!=null?a:null,(r==="vertex"||r==="both")&&c[n]!==a&&(c[n]=a,this._programKey=""),(r==="fragment"||r==="both")&&u[n]!==a&&(u[n]=a,r!=="both"&&(this._programKey=""))},undefine:function(r,n){r!=="vertex"&&r!=="fragment"&&r!=="both"&&arguments.length<2&&(n=r,r="both"),(r==="vertex"||r==="both")&&this.isDefined("vertex",n)&&(delete this.vertexDefines[n],this._programKey=""),(r==="fragment"||r==="both")&&this.isDefined("fragment",n)&&(delete this.fragmentDefines[n],r!=="both"&&(this._programKey=""))},isDefined:function(r,n){switch(r){case"vertex":return this.vertexDefines[n]!==void 0;case"fragment":return this.fragmentDefines[n]!==void 0}},getDefine:function(r,n){switch(r){case"vertex":return this.vertexDefines[n];case"fragment":return this.fragmentDefines[n]}},enableTexture:function(r){if(Array.isArray(r)){for(var n=0;n=t.x&&e>=t.y&&v<=t.x+t.width&&e<=t.y+t.height};var s=new g.a;u.prototype.castRay=function(v,e,t){var i=this.layer.renderer,f=i.viewport;return i.viewport=this.viewport,i.screenToNDC(v,e,s),this.camera.castRay(s,t),i.viewport=f,t},u.prototype.prepareRender=function(){this.scene.update(),this.camera.update(),this._needsSortProgressively=!1;for(var v=0;v30},u.prototype._doRender=function(v,e,t){var i=this.scene,f=this.camera;if(t=t||0,this._updateTransparent(v,i,f,t),e||(this._shadowMapPass.kernelPCF=this._pcfKernels[0],this._shadowMapPass.render(v,i,f,!0)),this._updateShadowPCFKernel(t),v.gl.clearColor(0,0,0,0),this._enablePostEffect&&(this.needsTemporalSS()&&this._temporalSS.jitterProjection(v,f),this._compositor.updateNormal(v,i,f,this._temporalSS.getFrame())),this._updateSSAO(v,i,f,this._temporalSS.getFrame()),this._enablePostEffect){var y=this._compositor.getSourceFrameBuffer();y.bind(v),v.gl.clear(v.gl.DEPTH_BUFFER_BIT|v.gl.COLOR_BUFFER_BIT),v.render(i,f,!0,!0),y.unbind(v),this.needsTemporalSS()&&e?(this._compositor.composite(v,f,this._temporalSS.getSourceFrameBuffer(),this._temporalSS.getFrame()),v.setViewport(this.viewport),this._temporalSS.render(v)):(v.setViewport(this.viewport),this._compositor.composite(v,f,null,0))}else if(this.needsTemporalSS()&&e){var y=this._temporalSS.getSourceFrameBuffer();y.bind(v),v.saveClear(),v.clearBit=v.gl.DEPTH_BUFFER_BIT|v.gl.COLOR_BUFFER_BIT,v.render(i,f,!0,!0),v.restoreClear(),y.unbind(v),v.setViewport(this.viewport),this._temporalSS.render(v)}else v.setViewport(this.viewport),v.render(i,f,!0,!0)},u.prototype._updateTransparent=function(v,e,t,i){for(var f=new o.a,y=new l.a,b=t.getWorldPosition(),x=0;xthis.camera.far||v65535?this.indices instanceof Uint16Array&&(this.indices=new Uint32Array(this.indices)):this.indices instanceof Uint32Array&&(this.indices=new Uint16Array(this.indices)))},setTriangleCount:function(r){this.triangleCount!==r&&(r===0?this.indices=null:this.indices=this.vertexCount>65535?new Uint32Array(r*3):new Uint16Array(r*3))},_getCubicCurveApproxStep:function(r,n,a,c){var u=l.dist(r,n)+l.dist(a,n)+l.dist(c,a),s=1/(u+1)*this.segmentScale;return s},getCubicCurveVertexCount:function(r,n,a,c){var u=this._getCubicCurveApproxStep(r,n,a,c),s=Math.ceil(1/u);return this.useNativeLine?s*2:s*2+2},getCubicCurveTriangleCount:function(r,n,a,c){var u=this._getCubicCurveApproxStep(r,n,a,c),s=Math.ceil(1/u);return this.useNativeLine?0:s*2},getLineVertexCount:function(){return this.getPolylineVertexCount(o)},getLineTriangleCount:function(){return this.getPolylineTriangleCount(o)},getPolylineVertexCount:function(r){var n;if(typeof r=="number")n=r;else{var a=typeof r[0]!="number";n=a?r.length:r.length/3}return this.useNativeLine?(n-1)*2:(n-1)*2+2},getPolylineTriangleCount:function(r){var n;if(typeof r=="number")n=r;else{var a=typeof r[0]!="number";n=a?r.length:r.length/3}return this.useNativeLine?0:Math.max(n-1,0)*2},addCubicCurve:function(r,n,a,c,u,s){s==null&&(s=1);for(var v=r[0],e=r[1],t=r[2],i=n[0],f=n[1],y=n[2],b=a[0],x=a[1],A=a[2],w=c[0],L=c[1],D=c[2],O=this._getCubicCurveApproxStep(r,n,a,c),N=O*O,I=N*O,K=3*O,F=3*N,W=6*N,j=6*I,X=v-i*2+b,Y=e-f*2+x,le=t-y*2+A,J=(i-b)*3-v+w,ve=(f-x)*3-e+L,Ce=(y-A)*3-t+D,be=v,Ae=e,Ue=t,we=(i-v)*K+X*F+J*I,$e=(f-e)*K+Y*F+ve*I,Re=(y-t)*K+le*F+Ce*I,ge=X*W+J*j,Ze=Y*W+ve*j,Fe=le*W+Ce*j,Te=J*j,Ge=ve*j,Be=Ce*j,V=0,q=0,re=Math.ceil(1/O),ee=new Float32Array((re+1)*3),ee=[],oe=0,q=0;q1&&(be=we>0?Math.min(be,w):Math.max(be,w),Ae=$e>0?Math.min(Ae,L):Math.max(Ae,L),Ue=Re>0?Math.min(Ue,D):Math.max(Ue,D));return this.addPolyline(ee,u,s)},addLine:function(r,n,a,c){return this.addPolyline([r,n],a,c)},addPolyline:function(r,n,a,c,u){if(r.length){var s=typeof r[0]!="number";if(u==null&&(u=s?r.length:r.length/3),!(u<2)){c==null&&(c=0),a==null&&(a=1),this._itemVertexOffsets.push(this._vertexOffset);var s=typeof r[0]!="number",v=s?typeof n[0]!="number":n.length/4===u,e=this.attributes.position,t=this.attributes.positionPrev,i=this.attributes.positionNext,f=this.attributes.color,y=this.attributes.offset,b=this.indices,x=this._vertexOffset,A,w;a=Math.max(a,.01);for(var L=c;L1&&(e.copy(x,x-1),f.copy(x,x-1),x++):(L0&&(i.set(x-2,A),i.set(x-1,A)),e.set(x,A),e.set(x+1,A),f.set(x,w),f.set(x+1,w),y.set(x,a/2),y.set(x+1,-a/2),x+=2),this.useNativeLine)f.set(x,w),e.set(x,A),x++;else if(L>0){var N=this._triangleOffset*3,b=this.indices;b[N]=x-4,b[N+1]=x-3,b[N+2]=x-2,b[N+3]=x-3,b[N+4]=x-1,b[N+5]=x-2,this._triangleOffset+=2}}if(!this.useNativeLine){var I=this._vertexOffset,K=this._vertexOffset+u*2;t.copy(I,I+2),t.copy(I+1,I+3),i.copy(K-1,K-3),i.copy(K-2,K-4)}return this._vertexOffset=x,this._vertexOffset}}},setItemColor:function(r,n){for(var a=this._itemVertexOffsets[r],c=r0)},render:function(E,d,l){var o=E.gl;if(this.skeleton){this.skeleton.update();var g=this.skeleton.getSubSkinMatrices(this.__uid__,this.joints);l.setUniformOfSemantic(o,"SKIN_MATRIX",g)}return B.a.prototype.render.call(this,E,d,l)},getSkinMatricesTexture:function(){return this._skinMatricesTexture=this._skinMatricesTexture||new p.a({type:C.a.FLOAT,minFilter:C.a.NEAREST,magFilter:C.a.NEAREST,useMipmap:!1,flipY:!1}),this._skinMatricesTexture}});m.POINTS=C.a.POINTS,m.LINES=C.a.LINES,m.LINE_LOOP=C.a.LINE_LOOP,m.LINE_STRIP=C.a.LINE_STRIP,m.TRIANGLES=C.a.TRIANGLES,m.TRIANGLE_STRIP=C.a.TRIANGLE_STRIP,m.TRIANGLE_FAN=C.a.TRIANGLE_FAN,m.BACK=C.a.BACK,m.FRONT=C.a.FRONT,m.FRONT_AND_BACK=C.a.FRONT_AND_BACK,m.CW=C.a.CW,m.CCW=C.a.CCW,P.a=m},function(k,P,_){"use strict";var B=_(6),C=_(11),p=_(21),m=_(66),E=m.a.isPowerOfTwo,d=["px","nx","py","ny","pz","nz"],l=B.a.extend(function(){return{image:{px:null,nx:null,py:null,ny:null,pz:null,nz:null},pixels:{px:null,nx:null,py:null,ny:null,pz:null,nz:null},mipmaps:[]}},{update:function(g){var r=g.gl;r.bindTexture(r.TEXTURE_CUBE_MAP,this._cache.get("webgl_texture")),this.updateCommon(g);var n=this.format,a=this.type;r.texParameteri(r.TEXTURE_CUBE_MAP,r.TEXTURE_WRAP_S,this.getAvailableWrapS()),r.texParameteri(r.TEXTURE_CUBE_MAP,r.TEXTURE_WRAP_T,this.getAvailableWrapT()),r.texParameteri(r.TEXTURE_CUBE_MAP,r.TEXTURE_MAG_FILTER,this.getAvailableMagFilter()),r.texParameteri(r.TEXTURE_CUBE_MAP,r.TEXTURE_MIN_FILTER,this.getAvailableMinFilter());var c=g.getGLExtension("EXT_texture_filter_anisotropic");if(c&&this.anisotropic>1&&r.texParameterf(r.TEXTURE_CUBE_MAP,c.TEXTURE_MAX_ANISOTROPY_EXT,this.anisotropic),a===36193){var u=g.getGLExtension("OES_texture_half_float");u||(a=C.a.FLOAT)}if(this.mipmaps.length)for(var s=this.width,v=this.height,e=0;e0&&console.warn("Found multiple camera in one scene. Use the fist one."),this._cameraList.push(r)),r.name&&(this._nodeRepository[r.name]=r)},removeFromScene:function(r){if(r instanceof p.a){var n=this._cameraList.indexOf(r);n>=0&&this._cameraList.splice(n,1)}r.name&&delete this._nodeRepository[r.name]},getNode:function(r){return this._nodeRepository[r]},cloneNode:function(r){var n=r.clone(),a={},c=function(s,v){s.skeleton&&(v.skeleton=s.skeleton.clone(r,n),v.joints=s.joints.slice()),s.material&&(a[s.material.__uid__]={oldMat:s.material});for(var e=0;e0&&this._updateRenderList(c)}},_updateLightUniforms:function(){var r=this.lights;r.sort(g);var n=this._lightUniforms;for(var a in n)for(var c in n[a])n[a][c].value.length=0;for(var u=0;u0?B[C].value=new Float32Array(B[C].value):B[C].value=null;this.indices&&this.indices.length>0&&(this.indices=this.vertexCount>65535?new Uint32Array(this.indices):new Uint16Array(this.indices)),this.dirty()}}},function(k,P,_){"use strict";var B=_(2),C=_(57),p=_(56),m=_(0),E=_.n(m);function d(){}d.prototype={constructor:d,setScene:function(l){this._scene=l,this._skybox&&this._skybox.attachScene(this._scene)},initLight:function(l){this._lightRoot=l,this.mainLight=new B.a.DirectionalLight({shadowBias:.005}),this.ambientLight=new B.a.AmbientLight,l.add(this.mainLight),l.add(this.ambientLight)},dispose:function(){this._lightRoot&&(this._lightRoot.remove(this.mainLight),this._lightRoot.remove(this.ambientLight))},updateLight:function(l){var o=this.mainLight,g=this.ambientLight,r=l.getModel("light"),n=r.getModel("main"),a=r.getModel("ambient");o.intensity=n.get("intensity"),g.intensity=a.get("intensity"),o.color=B.a.parseColor(n.get("color")).slice(0,3),g.color=B.a.parseColor(a.get("color")).slice(0,3);var c=n.get("alpha")||0,u=n.get("beta")||0;o.position.setArray(B.a.directionFromAlphaBeta(c,u)),o.lookAt(B.a.Vector3.ZERO),o.castShadow=n.get("shadow"),o.shadowResolution=B.a.getShadowResolution(n.get("shadowQuality"))},updateAmbientCubemap:function(l,o,g){var r=o.getModel("light.ambientCubemap"),n=r.get("texture");if(n){this._cubemapLightsCache=this._cubemapLightsCache||{};var a=this._cubemapLightsCache[n];if(!a){var c=this;a=this._cubemapLightsCache[n]=B.a.createAmbientCubemap(r.option,l,g,function(){c._skybox instanceof C.a&&c._skybox.setEnvironmentMap(a.specular.cubemap),g.getZr().refresh()})}this._lightRoot.add(a.diffuse),this._lightRoot.add(a.specular),this._currentCubemapLights=a}else this._currentCubemapLights&&(this._lightRoot.remove(this._currentCubemapLights.diffuse),this._lightRoot.remove(this._currentCubemapLights.specular),this._currentCubemapLights=null)},updateSkybox:function(l,o,g){var r=o.get("environment"),n=this;function a(){return n._skybox instanceof C.a||(n._skybox&&n._skybox.dispose(l),n._skybox=new C.a),n._skybox}function c(){return n._skybox instanceof p.a||(n._skybox&&n._skybox.dispose(l),n._skybox=new p.a),n._skybox}if(r&&r!=="none")if(r==="auto")if(this._currentCubemapLights){var u=a(),s=this._currentCubemapLights.specular.cubemap;u.setEnvironmentMap(s),this._scene&&u.attachScene(this._scene),u.material.set("lod",2)}else this._skybox&&this._skybox.detachScene();else if(typeof r=="object"&&r.colorStops||typeof r=="string"&&E.a.color.parse(r)){var v=c(),e=new B.a.Texture2D({anisotropic:8,flipY:!1});v.setEnvironmentMap(e);var t=e.image=document.createElement("canvas");t.width=t.height=16;var i=t.getContext("2d"),f=new E.a.graphic.Rect({shape:{x:0,y:0,width:16,height:16},style:{fill:r}});f.brush(i),v.attachScene(this._scene)}else{var v=c(),e=B.a.loadTexture(r,g,{anisotropic:8,flipY:!1});v.setEnvironmentMap(e),v.attachScene(this._scene)}else this._skybox&&this._skybox.detachScene(this._scene),this._skybox=null;var y=o.coordinateSystem;if(this._skybox)if(y&&y.viewGL&&r!=="auto"&&!(r.match&&r.match(/.hdr$/))){var b=y.viewGL.isLinearSpace()?"define":"undefine";this._skybox.material[b]("fragment","SRGB_DECODE")}else this._skybox.material.undefine("fragment","SRGB_DECODE")}},P.a=d},function(k,P,_){"use strict";var B=_(0),C=_.n(B);function p(m,E){var d=[];return C.a.util.each(m.dimensions,function(l){var o=m.getDimensionInfo(l),g=o.otherDims,r=g[E];r!=null&&r!==!1&&(d[r]=o.name)}),d}P.a=function(m,E,d){function l(s){var v=!0,e=[],t=p(o,"tooltip");t.length?C.a.util.each(t,function(f){i(o.get(f,E),f)}):C.a.util.each(s,i);function i(f,y){var b=o.getDimensionInfo(y);if(!(!b||b.otherDims.tooltip===!1)){var x=b.type,A=(v?"- "+(b.tooltipName||b.name)+": ":"")+(x==="ordinal"?f+"":x==="time"?d?"":C.a.format.formatTime("yyyy/MM/dd hh:mm:ss",f):C.a.format.addCommas(f));A&&e.push(C.a.format.encodeHTML(A))}}return(v?"
    ":"")+e.join(v?"
    ":", ")}var o=m.getData(),g=m.getRawValue(E),r=C.a.util.isArray(g)?l(g):C.a.format.encodeHTML(C.a.format.addCommas(g)),n=o.getName(E),a=o.getItemVisual(E,"color");C.a.util.isObject(a)&&a.colorStops&&(a=(a.colorStops[0]||{}).color),a=a||"transparent";var c=C.a.format.getTooltipMarker(a),u=m.name;return u==="\0-"&&(u=""),u=u?C.a.format.encodeHTML(u)+(d?": ":"
    "):"",d?c+u+r:u+c+(n?C.a.format.encodeHTML(n)+": "+r:r)}},function(k,P,_){"use strict";var B=_(51),C=B.a.extend({fov:50,aspect:1,near:.1,far:2e3},{updateProjectionMatrix:function(){var p=this.fov/180*Math.PI;this.projectionMatrix.perspective(p,this.aspect,this.near,this.far)},decomposeProjectionMatrix:function(){var p=this.projectionMatrix.array,m=Math.atan(1/p[5])*2;this.fov=m/Math.PI*180,this.aspect=p[5]/p[0],this.near=p[14]/(p[10]-1),this.far=p[14]/(p[10]+1)},clone:function(){var p=B.a.prototype.clone.call(this);return p.fov=this.fov,p.aspect=this.aspect,p.near=this.near,p.far=this.far,p}});P.a=C},function(k,P,_){"use strict";var B=_(13),C=_(15),p=B.a.extend({dynamic:!1,widthSegments:1,heightSegments:1},function(){this.build()},{build:function(){for(var m=this.heightSegments,E=this.widthSegments,d=this.attributes,l=[],o=[],g=[],r=[],n=0;n<=m;n++)for(var a=n/m,c=0;c<=E;c++){var u=c/E;if(l.push([2*u-1,2*a-1,0]),o&&o.push([u,a]),g&&g.push([0,0,1]),c0&&this._notFirst?this.animateTo({alpha:i,beta:f,center:y,distance:s,targetOrthographicSize:v,easing:t.animationEasingUpdate,duration:t.animationDurationUpdate}):(this.setDistance(s),this.setAlpha(i),this.setBeta(f),this.setCenter(y),this.setOrthographicSize(v)),this._notFirst=!0,this._validateProperties()},_validateProperties:function(){l[this.panMouseButton]==null&&console.error("Unkown panMouseButton %s. It should be left|middle|right",this.panMouseButton),l[this.rotateMouseButton]==null&&console.error("Unkown rotateMouseButton %s. It should be left|middle|right",this.rotateMouseButton),this.autoRotateDirection!=="cw"&&this.autoRotateDirection!=="ccw"&&console.error("Unkown autoRotateDirection %s. It should be cw|ccw",this.autoRotateDirection)},animateTo:function(r){var n=this.zr,a=this,c={},u={};return r.distance!=null&&(c.distance=this.getDistance(),u.distance=r.distance),r.orthographicSize!=null&&(c.orthographicSize=this.getOrthographicSize(),u.orthographicSize=r.orthographicSize),r.alpha!=null&&(c.alpha=this.getAlpha(),u.alpha=r.alpha),r.beta!=null&&(c.beta=this.getBeta(),u.beta=r.beta),r.center!=null&&(c.center=this.getCenter(),u.center=r.center),this._addAnimator(n.animation.animate(c).when(r.duration||1e3,u).during(function(){c.alpha!=null&&a.setAlpha(c.alpha),c.beta!=null&&a.setBeta(c.beta),c.distance!=null&&a.setDistance(c.distance),c.center!=null&&a.setCenter(c.center),c.orthographicSize!=null&&a.setOrthographicSize(c.orthographicSize),a._needsUpdate=!0})).start(r.easing||"linear")},stopAllAnimation:function(){for(var r=0;r0},_update:function(r){if(this._rotating){var n=(this.autoRotateDirection==="cw"?1:-1)*this.autoRotateSpeed/180*Math.PI;this._phi-=n*r/1e3,this._needsUpdate=!0}else this._rotateVelocity.len()>0&&(this._needsUpdate=!0);(Math.abs(this._zoomSpeed)>.1||this._panVelocity.len()>0)&&(this._needsUpdate=!0),this._needsUpdate&&(r=Math.min(r,50),this._updateDistanceOrSize(r),this._updatePan(r),this._updateRotate(r),this._updateTransform(),this.getCamera().update(),this.zr&&this.zr.refresh(),this.trigger("update"),this._needsUpdate=!1)},_updateRotate:function(r){var n=this._rotateVelocity;this._phi=n.y*r/20+this._phi,this._theta=n.x*r/20+this._theta,this.setAlpha(this.getAlpha()),this.setBeta(this.getBeta()),this._vectorDamping(n,Math.pow(this.damping,r/16))},_updateDistanceOrSize:function(r){this._projection==="perspective"?this._setDistance(this._distance+this._zoomSpeed*r/20):this._setOrthoSize(this._orthoSize+this._zoomSpeed*r/20),this._zoomSpeed*=Math.pow(this.damping,r/16)},_setDistance:function(r){this._distance=Math.max(Math.min(r,this.maxDistance),this.minDistance)},_setOrthoSize:function(r){this._orthoSize=Math.max(Math.min(r,this.maxOrthographicSize),this.minOrthographicSize);var n=this.getCamera(),a=this._orthoSize,c=a/this.viewGL.viewport.height*this.viewGL.viewport.width;n.left=-c/2,n.right=c/2,n.top=a/2,n.bottom=-a/2},_updatePan:function(r){var n=this._panVelocity,a=this._distance,c=this.getCamera(),u=c.worldTransform.y,s=c.worldTransform.x;this._center.scaleAndAdd(s,-n.x*a/200).scaleAndAdd(u,-n.y*a/200),this._vectorDamping(n,0)},_updateTransform:function(){var r=this.getCamera(),n=new p.a,a=this._theta+Math.PI/2,c=this._phi+Math.PI/2,u=Math.sin(a);n.x=u*Math.cos(c),n.y=-Math.cos(a),n.z=u*Math.sin(c),r.position.copy(this._center).scaleAndAdd(n,this._distance),r.rotation.identity().rotateY(-this._phi).rotateX(-this._theta)},_startCountingStill:function(){clearTimeout(this._stillTimeout);var r=this.autoRotateAfterStill,n=this;!isNaN(r)&&r>0&&(this._stillTimeout=setTimeout(function(){n._rotating=!0},r*1e3))},_vectorDamping:function(r,n){var a=r.len();a=a*n,a<1e-4&&(a=0),r.normalize().scale(a)},_decomposeTransform:function(){if(this.getCamera()){this.getCamera().updateWorldTransform();var r=this.getCamera().worldTransform.z,n=Math.asin(r.y),a=Math.atan2(r.x,r.z);this._theta=n,this._phi=-a,this.setBeta(this.getBeta()),this.setAlpha(this.getAlpha()),this.getCamera().aspect?this._setDistance(this.getCamera().position.dist(this._center)):this._setOrthoSize(this.getCamera().top-this.getCamera().bottom)}},_mouseDownHandler:function(r){if(!r.target&&!this._isAnimating()){var n=r.offsetX,a=r.offsetY;this.viewGL&&!this.viewGL.containPoint(n,a)||(this.zr.on("mousemove",this._mouseMoveHandler),this.zr.on("mouseup",this._mouseUpHandler),r.event.targetTouches?r.event.targetTouches.length===1&&(this._mode="rotate"):r.event.button===l[this.rotateMouseButton]?this._mode="rotate":r.event.button===l[this.panMouseButton]?this._mode="pan":this._mode="",this._rotateVelocity.set(0,0),this._rotating=!1,this.autoRotate&&this._startCountingStill(),this._mouseX=r.offsetX,this._mouseY=r.offsetY)}},_mouseMoveHandler:function(r){if(!(r.target&&r.target.__isGLToZRProxy)&&!this._isAnimating()){var n=o(this.panSensitivity),a=o(this.rotateSensitivity);this._mode==="rotate"?(this._rotateVelocity.y=(r.offsetX-this._mouseX)/this.zr.getHeight()*2*a[0],this._rotateVelocity.x=(r.offsetY-this._mouseY)/this.zr.getWidth()*2*a[1]):this._mode==="pan"&&(this._panVelocity.x=(r.offsetX-this._mouseX)/this.zr.getWidth()*n[0]*400,this._panVelocity.y=(-r.offsetY+this._mouseY)/this.zr.getHeight()*n[1]*400),this._mouseX=r.offsetX,this._mouseY=r.offsetY,r.event.preventDefault()}},_mouseWheelHandler:function(r){if(!this._isAnimating()){var n=r.event.wheelDelta||-r.event.detail;this._zoomHandler(r,n)}},_pinchHandler:function(r){this._isAnimating()||(this._zoomHandler(r,r.pinchScale>1?1:-1),this._mode="")},_zoomHandler:function(r,n){if(n!==0){var a=r.offsetX,c=r.offsetY;if(!(this.viewGL&&!this.viewGL.containPoint(a,c))){var u;this._projection==="perspective"?u=Math.max(Math.max(Math.min(this._distance-this.minDistance,this.maxDistance-this._distance))/20,.5):u=Math.max(Math.max(Math.min(this._orthoSize-this.minOrthographicSize,this.maxOrthographicSize-this._orthoSize))/20,.5),this._zoomSpeed=(n>0?-1:1)*u*this.zoomSensitivity,this._rotating=!1,this.autoRotate&&this._mode==="rotate"&&this._startCountingStill(),r.event.preventDefault()}}},_mouseUpHandler:function(){this.zr.off("mousemove",this._mouseMoveHandler),this.zr.off("mouseup",this._mouseUpHandler)},_isRightMouseButtonUsed:function(){return this.rotateMouseButton==="right"||this.panMouseButton==="right"},_contextMenuHandler:function(r){this._isRightMouseButtonUsed()&&r.preventDefault()},_addAnimator:function(r){var n=this._animators;return n.push(r),r.done(function(){var a=n.indexOf(r);a>=0&&n.splice(a,1)}),r}});Object.defineProperty(g.prototype,"autoRotate",{get:function(r){return this._autoRotate},set:function(r){this._autoRotate=r,this._rotating=r}}),P.a=g},function(k,P,_){"use strict";P.a=`@export ecgl.lines3D.vertex uniform mat4 worldViewProjection : WORLDVIEWPROJECTION; attribute vec3 position: POSITION; attribute vec4 a_Color : COLOR; varying vec4 v_Color; void main() { gl_Position = worldViewProjection * vec4(position, 1.0); v_Color = a_Color; } @end @export ecgl.lines3D.fragment uniform vec4 color : [1.0, 1.0, 1.0, 1.0]; varying vec4 v_Color; @import clay.util.srgb void main() { #ifdef SRGB_DECODE gl_FragColor = sRGBToLinear(color * v_Color); #else gl_FragColor = color * v_Color; #endif } @end @export ecgl.lines3D.clipNear vec4 clipNear(vec4 p1, vec4 p2) { float n = (p1.w - near) / (p1.w - p2.w); return vec4(mix(p1.xy, p2.xy, n), -near, near); } @end @export ecgl.lines3D.expandLine #ifdef VERTEX_ANIMATION vec4 prevProj = worldViewProjection * vec4(mix(prevPositionPrev, positionPrev, percent), 1.0); vec4 currProj = worldViewProjection * vec4(mix(prevPosition, position, percent), 1.0); vec4 nextProj = worldViewProjection * vec4(mix(prevPositionNext, positionNext, percent), 1.0); #else vec4 prevProj = worldViewProjection * vec4(positionPrev, 1.0); vec4 currProj = worldViewProjection * vec4(position, 1.0); vec4 nextProj = worldViewProjection * vec4(positionNext, 1.0); #endif if (currProj.w < 0.0) { if (nextProj.w > 0.0) { currProj = clipNear(currProj, nextProj); } else if (prevProj.w > 0.0) { currProj = clipNear(currProj, prevProj); } } vec2 prevScreen = (prevProj.xy / abs(prevProj.w) + 1.0) * 0.5 * viewport.zw; vec2 currScreen = (currProj.xy / abs(currProj.w) + 1.0) * 0.5 * viewport.zw; vec2 nextScreen = (nextProj.xy / abs(nextProj.w) + 1.0) * 0.5 * viewport.zw; vec2 dir; float len = offset; if (position == positionPrev) { dir = normalize(nextScreen - currScreen); } else if (position == positionNext) { dir = normalize(currScreen - prevScreen); } else { vec2 dirA = normalize(currScreen - prevScreen); vec2 dirB = normalize(nextScreen - currScreen); vec2 tanget = normalize(dirA + dirB); float miter = 1.0 / max(dot(tanget, dirA), 0.5); len *= miter; dir = tanget; } dir = vec2(-dir.y, dir.x) * len; currScreen += dir; currProj.xy = (currScreen / viewport.zw - 0.5) * 2.0 * abs(currProj.w); @end @export ecgl.meshLines3D.vertex attribute vec3 position: POSITION; attribute vec3 positionPrev; attribute vec3 positionNext; attribute float offset; attribute vec4 a_Color : COLOR; #ifdef VERTEX_ANIMATION attribute vec3 prevPosition; attribute vec3 prevPositionPrev; attribute vec3 prevPositionNext; uniform float percent : 1.0; #endif uniform mat4 worldViewProjection : WORLDVIEWPROJECTION; uniform vec4 viewport : VIEWPORT; uniform float near : NEAR; varying vec4 v_Color; @import ecgl.common.wireframe.vertexHeader @import ecgl.lines3D.clipNear void main() { @import ecgl.lines3D.expandLine gl_Position = currProj; v_Color = a_Color; @import ecgl.common.wireframe.vertexMain } @end @export ecgl.meshLines3D.fragment uniform vec4 color : [1.0, 1.0, 1.0, 1.0]; varying vec4 v_Color; @import ecgl.common.wireframe.fragmentHeader @import clay.util.srgb void main() { #ifdef SRGB_DECODE gl_FragColor = sRGBToLinear(color * v_Color); #else gl_FragColor = color * v_Color; #endif @import ecgl.common.wireframe.fragmentMain } @end`},function(k,P,_){var B=_(12),C=_(75),p=_(78),m=p.parsePercent,E=_(149),d=B.each,l=["left","right","top","bottom","width","height"],o=[["width","left","right"],["height","top","bottom"]];function g(f,y,b,x,A){var w=0,L=0;x==null&&(x=1/0),A==null&&(A=1/0);var D=0;y.eachChild(function(O,N){var I=O.position,K=O.getBoundingRect(),F=y.childAt(N+1),W=F&&F.getBoundingRect(),j,X;if(f==="horizontal"){var Y=K.width+(W?-W.x+K.x:0);j=w+Y,j>x||O.newline?(w=0,j=Y,L+=D+b,D=K.height):D=Math.max(D,K.height)}else{var le=K.height+(W?-W.y+K.y:0);X=L+le,X>A||O.newline?(w+=D+b,L=0,X=le,D=K.width):D=Math.max(D,K.width)}O.newline||(I[0]=w,I[1]=L,f==="horizontal"?w=j+b:L=X+b)})}var r=g,n=B.curry(g,"vertical"),a=B.curry(g,"horizontal");function c(f,y,b){var x=y.width,A=y.height,w=m(f.x,x),L=m(f.y,A),D=m(f.x2,x),O=m(f.y2,A);return(isNaN(w)||isNaN(parseFloat(f.x)))&&(w=0),(isNaN(D)||isNaN(parseFloat(f.x2)))&&(D=x),(isNaN(L)||isNaN(parseFloat(f.y)))&&(L=0),(isNaN(O)||isNaN(parseFloat(f.y2)))&&(O=A),b=E.normalizeCssArray(b||0),{width:Math.max(D-w-b[1]-b[3],0),height:Math.max(O-L-b[0]-b[2],0)}}function u(f,y,b){b=E.normalizeCssArray(b||0);var x=y.width,A=y.height,w=m(f.left,x),L=m(f.top,A),D=m(f.right,x),O=m(f.bottom,A),N=m(f.width,x),I=m(f.height,A),K=b[2]+b[0],F=b[1]+b[3],W=f.aspect;switch(isNaN(N)&&(N=x-D-F-w),isNaN(I)&&(I=A-O-K-L),W!=null&&(isNaN(N)&&isNaN(I)&&(W>x/A?N=x*.8:I=A*.8),isNaN(N)&&(N=W*I),isNaN(I)&&(I=N/W)),isNaN(w)&&(w=x-D-N-F),isNaN(L)&&(L=A-O-I-K),f.left||f.right){case"center":w=x/2-N/2-b[3];break;case"right":w=x-N-F;break}switch(f.top||f.bottom){case"middle":case"center":L=A/2-I/2-b[0];break;case"bottom":L=A-I-K;break}w=w||0,L=L||0,isNaN(N)&&(N=x-F-w-(D||0)),isNaN(I)&&(I=A-K-L-(O||0));var j=new C(w+b[3],L+b[0],N,I);return j.margin=b,j}function s(f,y,b,x,A){var w=!A||!A.hv||A.hv[0],L=!A||!A.hv||A.hv[1],D=A&&A.boundingMode||"all";if(!(!w&&!L)){var O;if(D==="raw")O=f.type==="group"?new C(0,0,+y.width||0,+y.height||0):f.getBoundingRect();else if(O=f.getBoundingRect(),f.needLocalTransform()){var N=f.getLocalTransform();O=O.clone(),O.applyTransform(N)}y=u(B.defaults({width:O.width,height:O.height},y),b,x);var I=f.position,K=w?y.x-O.x:0,F=L?y.y-O.y:0;f.attr("position",D==="raw"?[K,F]:[I[0]+K,I[1]+F])}}function v(f,y){return f[o[y][0]]!=null||f[o[y][1]]!=null&&f[o[y][2]]!=null}function e(f,y,b){!B.isObject(b)&&(b={});var x=b.ignoreSize;!B.isArray(x)&&(x=[x,x]);var A=L(o[0],0),w=L(o[1],1);N(o[0],f,A),N(o[1],f,w);function L(I,K){var F={},W=0,j={},X=0,Y=2;if(d(I,function(ve){j[ve]=f[ve]}),d(I,function(ve){D(y,ve)&&(F[ve]=j[ve]=y[ve]),O(F,ve)&&W++,O(j,ve)&&X++}),x[K])return O(y,I[1])?j[I[2]]=null:O(y,I[2])&&(j[I[1]]=null),j;if(X===Y||!W)return j;if(W>=Y)return F;for(var le=0;le0){var m=this.outputs[p];m.keepLastFrame?(this._prevOutputTextures[p]&&this._compositor.releaseTexture(this._prevOutputTextures[p]),this._prevOutputTextures[p]=this._outputTextures[p]):this._compositor.releaseTexture(this._outputTextures[p])}}});P.a=C},function(k,P,_){"use strict";function B(C,p){for(var m=0,E=1/p,d=C;d>0;)m=m+E*(d%p),d=Math.floor(d/p),E=E/p;return m}P.a=B},function(k,P,_){"use strict";var B=_(0),C=_.n(B);P.a=function(p,m,E){E=E||p.getSource();var d=m||C.a.getCoordinateSystemDimensions(p.get("coordinateSystem"))||["x","y","z"],l=C.a.helper.createDimensions(E,{dimensionsDefine:E.dimensionsDefine||p.get("dimensions"),encodeDefine:E.encodeDefine||p.get("encode"),coordDimensions:d.map(function(g){var r=p.getReferringComponents(g+"Axis3D")[0];return{type:r&&r.get("type")==="category"?"ordinal":"float",name:g,stackable:g==="z"}})});p.get("coordinateSystem")==="cartesian3D"&&l.forEach(function(g){if(d.indexOf(g.coordDim)>=0){var r=p.getReferringComponents(g.coordDim+"Axis3D")[0];r&&r.get("type")==="category"&&(g.ordinalMeta=r.getOrdinalMeta())}});var o=new C.a.List(l,p);return o.initData(E),o}},function(k,P){function _(B,C,p){return{seriesType:B,performRawSeries:!0,reset:function(m,E,d){var l=m.getData(),o=m.get("symbol")||C,g=m.get("symbolSize");if(l.setVisual({legendSymbol:p||o,symbol:o,symbolSize:g}),E.isSeriesFiltered(m))return;var r=typeof g=="function";function n(a,c){if(typeof g=="function"){var u=m.getRawValue(c),s=m.getDataParams(c);a.setItemVisual(c,"symbolSize",g(u,s))}if(a.hasItemOption){var v=a.getItemModel(c),e=v.getShallow("symbol",!0),t=v.getShallow("symbolSize",!0);e!=null&&a.setItemVisual(c,"symbol",e),t!=null&&a.setItemVisual(c,"symbolSize",t)}}return{dataEach:l.hasItemOption||r?n:null}}}}k.exports=_},function(k,P,_){"use strict";var B=_(8),C=_(92),p=_(11),m=_(18),E=_(15),d=_(9),l=_(17),o=_(23),g=_(96),r=_(7),n=_(98),a=_(63),c=_(1),u=_.n(c);r.a.import(n.a),r.a.import(a.a);var s=u.a.mat4,v=u.a.vec3,e=s.create,t={};function i(x){return x.material}function f(){}var y=B.a.extend(function(){return{canvas:null,_width:100,_height:100,devicePixelRatio:window.devicePixelRatio||1,clearColor:[0,0,0,0],clearBit:17664,alpha:!0,depth:!0,stencil:!1,antialias:!0,premultipliedAlpha:!0,preserveDrawingBuffer:!1,throwError:!0,gl:null,viewport:{},__currentFrameBuffer:null,_viewportStack:[],_clearStack:[],_sceneRendering:null}},function(){this.canvas||(this.canvas=document.createElement("canvas"));var x=this.canvas;try{var A={alpha:this.alpha,depth:this.depth,stencil:this.stencil,antialias:this.antialias,premultipliedAlpha:this.premultipliedAlpha,preserveDrawingBuffer:this.preserveDrawingBuffer};if(this.gl=x.getContext("webgl",A)||x.getContext("experimental-webgl",A),!this.gl)throw new Error;this._glinfo=new C.a(this.gl),this.gl.targetRenderer&&console.error("Already created a renderer"),this.gl.targetRenderer=this,this.resize()}catch(w){throw"Error creating WebGL Context "+w}this._programMgr=new g.a(this)},{resize:function(x,A){var w=this.canvas,L=this.devicePixelRatio;x!=null?(w.style.width=x+"px",w.style.height=A+"px",w.width=x*L,w.height=A*L,this._width=x,this._height=A):(this._width=w.width/L,this._height=w.height/L),this.setViewport(0,0,this._width,this._height)},getWidth:function(){return this._width},getHeight:function(){return this._height},getViewportAspect:function(){var x=this.viewport;return x.width/x.height},setDevicePixelRatio:function(x){this.devicePixelRatio=x,this.resize(this._width,this._height)},getDevicePixelRatio:function(){return this.devicePixelRatio},getGLExtension:function(x){return this._glinfo.getExtension(x)},getGLParameter:function(x){return this._glinfo.getParameter(x)},setViewport:function(x,A,w,L,D){if(typeof x=="object"){var O=x;x=O.x,A=O.y,w=O.width,L=O.height,D=O.devicePixelRatio}D=D||this.devicePixelRatio,this.gl.viewport(x*D,A*D,w*D,L*D),this.viewport={x,y:A,width:w,height:L,devicePixelRatio:D}},saveViewport:function(){this._viewportStack.push(this.viewport)},restoreViewport:function(){this._viewportStack.length>0&&this.setViewport(this._viewportStack.pop())},saveClear:function(){this._clearStack.push({clearBit:this.clearBit,clearColor:this.clearColor})},restoreClear:function(){if(this._clearStack.length>0){var x=this._clearStack.pop();this.clearColor=x.clearColor,this.clearBit=x.clearBit}},bindSceneRendering:function(x){this._sceneRendering=x},render:function(x,A,w,L){var D=this.gl,O=this.clearColor;if(this.clearBit){D.colorMask(!0,!0,!0,!0),D.depthMask(!0);var N=this.viewport,I=!1,K=N.devicePixelRatio;(N.width!==this._width||N.height!==this._height||K&&K!==this.devicePixelRatio||N.x||N.y)&&(I=!0,D.enable(D.SCISSOR_TEST),D.scissor(N.x*K,N.y*K,N.width*K,N.height*K)),D.clearColor(O[0],O[1],O[2],O[3]),D.clear(this.clearBit),I&&D.disable(D.SCISSOR_TEST)}if(w||x.update(!1),A=A||x.getMainCamera(),!A){console.error("Can't find camera in the scene.");return}A.getScene()||A.update(!0),this._sceneRendering=x,x.viewBoundingBoxLastFrame.min.set(1/0,1/0,1/0),x.viewBoundingBoxLastFrame.max.set(-1/0,-1/0,-1/0);var F=this.cullRenderList(x.opaqueList,x,A),W=this.cullRenderList(x.transparentList,x,A),j=x.material;x.trigger("beforerender",this,x,A),L?(this.renderPreZ(F,x,A),D.depthFunc(D.LEQUAL)):D.depthFunc(D.LESS);for(var X=e(),Y=v.create(),le=0;le0){var I=x[D-1],K=I.joints?I.joints.length:0,F=O.joints.length?O.joints.length:0;if(F===K&&O.material===I.material&&O.lightGroup===I.lightGroup){O.__program=I.__program;continue}}var W=this._programMgr.getProgram(O,N,A);this.validateProgram(W),O.__program=W}},cullRenderList:function(x,A,w){for(var L=[],D=0;D0&&x.min.array[2]<0&&(x.max.array[2]=-1e-20),x.applyProjection(A);var K=x.min.array,F=x.max.array;if(F[0]<-1||K[0]>1||F[1]<-1||K[1]>1||F[2]<-1||K[2]>1)return!0}return!1}}(),disposeScene:function(x){this.disposeNode(x,!0,!0),x.dispose()},disposeNode:function(x,A,w){x.getParent()&&x.getParent().remove(x),x.traverse(function(L){L.geometry&&A&&L.geometry.dispose(this),L.dispose&&L.dispose(this)},this)},disposeGeometry:function(x){x.dispose(this)},disposeTexture:function(x){x.dispose(this)},disposeFrameBuffer:function(x){x.dispose(this)},dispose:function(){},screenToNDC:function(x,A,w){w||(w=new o.a),A=this._height-A;var L=this.viewport,D=w.array;return D[0]=(x-L.x)/L.width,D[0]=D[0]*2-1,D[1]=(A-L.y)/L.height,D[1]=D[1]*2-1,w}});y.opaqueSortCompare=y.prototype.opaqueSortCompare=function(x,A){return x.renderOrder===A.renderOrder?x.__program===A.__program?x.material===A.material?x.geometry.__uid__-A.geometry.__uid__:x.material.__uid__-A.material.__uid__:x.__program&&A.__program?x.__program.__uid__-A.__program.__uid__:0:x.renderOrder-A.renderOrder},y.transparentSortCompare=y.prototype.transparentSortCompare=function(x,A){return x.renderOrder===A.renderOrder?x.__depth===A.__depth?x.__program===A.__program?x.material===A.material?x.geometry.__uid__-A.geometry.__uid__:x.material.__uid__-A.material.__uid__:x.__program&&A.__program?x.__program.__uid__-A.__program.__uid__:0:x.__depth-A.__depth:x.renderOrder-A.renderOrder};var b={IDENTITY:e(),WORLD:e(),VIEW:e(),PROJECTION:e(),WORLDVIEW:e(),VIEWPROJECTION:e(),WORLDVIEWPROJECTION:e(),WORLDINVERSE:e(),VIEWINVERSE:e(),PROJECTIONINVERSE:e(),WORLDVIEWINVERSE:e(),VIEWPROJECTIONINVERSE:e(),WORLDVIEWPROJECTIONINVERSE:e(),WORLDTRANSPOSE:e(),VIEWTRANSPOSE:e(),PROJECTIONTRANSPOSE:e(),WORLDVIEWTRANSPOSE:e(),VIEWPROJECTIONTRANSPOSE:e(),WORLDVIEWPROJECTIONTRANSPOSE:e(),WORLDINVERSETRANSPOSE:e(),VIEWINVERSETRANSPOSE:e(),PROJECTIONINVERSETRANSPOSE:e(),WORLDVIEWINVERSETRANSPOSE:e(),VIEWPROJECTIONINVERSETRANSPOSE:e(),WORLDVIEWPROJECTIONINVERSETRANSPOSE:e()};y.COLOR_BUFFER_BIT=p.a.COLOR_BUFFER_BIT,y.DEPTH_BUFFER_BIT=p.a.DEPTH_BUFFER_BIT,y.STENCIL_BUFFER_BIT=p.a.STENCIL_BUFFER_BIT,P.a=y},function(k,P,_){"use strict";function B(p,m){this.action=p,this.context=m}var C={trigger:function(p){if(this.hasOwnProperty("__handlers__")&&this.__handlers__.hasOwnProperty(p)){var m=this.__handlers__[p],E=m.length,d=-1,l=arguments;switch(l.length){case 1:for(;++dv)){var e=Math.sqrt(v-s),t=c-e,i=c+e;return r||(r=new B.a),t<0?i<0?null:(m.scaleAndAdd(r.array,n,a,i),r):(m.scaleAndAdd(r.array,n,a,t),r)}}}(),intersectBoundingBox:function(l,o){var g=this.direction.array,r=this.origin.array,n=l.min.array,a=l.max.array,c=1/g[0],u=1/g[1],s=1/g[2],v,e,t,i,f,y;if(c>=0?(v=(n[0]-r[0])*c,e=(a[0]-r[0])*c):(e=(n[0]-r[0])*c,v=(a[0]-r[0])*c),u>=0?(t=(n[1]-r[1])*u,i=(a[1]-r[1])*u):(i=(n[1]-r[1])*u,t=(a[1]-r[1])*u),v>i||t>e||((t>v||v!==v)&&(v=t),(i=0?(f=(n[2]-r[2])*s,y=(a[2]-r[2])*s):(y=(n[2]-r[2])*s,f=(a[2]-r[2])*s),v>y||f>e)||((f>v||v!==v)&&(v=f),(y=0?v:e;return o||(o=new B.a),m.scaleAndAdd(o.array,r,g,b),o},intersectTriangle:function(){var l=m.create(),o=m.create(),g=m.create(),r=m.create();return function(n,a,c,u,s,v){var e=this.direction.array,t=this.origin.array;n=n.array,a=a.array,c=c.array,m.sub(l,a,n),m.sub(o,c,n),m.cross(r,o,e);var i=m.dot(l,r);if(u){if(i>-E)return null}else if(i>-E&&i1)return null;m.cross(r,l,g);var y=m.dot(e,r)/i;if(y<0||y>1||f+y>1)return null;m.cross(r,l,o);var b=-m.dot(g,r)/i;return b<0?null:(s||(s=new B.a),v&&B.a.set(v,1-f-y,f,y),m.scaleAndAdd(s.array,t,e,b),s)}}(),applyTransform:function(l){B.a.add(this.direction,this.direction,this.origin),B.a.transformMat4(this.origin,this.origin,l),B.a.transformMat4(this.direction,this.direction,l),B.a.sub(this.direction,this.direction,this.origin),B.a.normalize(this.direction,this.direction)},copy:function(l){B.a.copy(this.origin,l.origin),B.a.copy(this.direction,l.direction)},clone:function(){var l=new d;return l.copy(this),l}},P.a=d},function(k,P,_){"use strict";var B=_(1),C=_.n(B),p=C.a.quat,m=function(l,o,g,r){l=l||0,o=o||0,g=g||0,r=r===void 0?1:r,this.array=p.fromValues(l,o,g,r),this._dirty=!0};m.prototype={constructor:m,add:function(l){return p.add(this.array,this.array,l.array),this._dirty=!0,this},calculateW:function(){return p.calculateW(this.array,this.array),this._dirty=!0,this},set:function(l,o,g,r){return this.array[0]=l,this.array[1]=o,this.array[2]=g,this.array[3]=r,this._dirty=!0,this},setArray:function(l){return this.array[0]=l[0],this.array[1]=l[1],this.array[2]=l[2],this.array[3]=l[3],this._dirty=!0,this},clone:function(){return new m(this.x,this.y,this.z,this.w)},conjugate:function(){return p.conjugate(this.array,this.array),this._dirty=!0,this},copy:function(l){return p.copy(this.array,l.array),this._dirty=!0,this},dot:function(l){return p.dot(this.array,l.array)},fromMat3:function(l){return p.fromMat3(this.array,l.array),this._dirty=!0,this},fromMat4:function(){var l=C.a.mat3,o=l.create();return function(g){return l.fromMat4(o,g.array),l.transpose(o,o),p.fromMat3(this.array,o),this._dirty=!0,this}}(),identity:function(){return p.identity(this.array),this._dirty=!0,this},invert:function(){return p.invert(this.array,this.array),this._dirty=!0,this},len:function(){return p.len(this.array)},length:function(){return p.length(this.array)},lerp:function(l,o,g){return p.lerp(this.array,l.array,o.array,g),this._dirty=!0,this},mul:function(l){return p.mul(this.array,this.array,l.array),this._dirty=!0,this},mulLeft:function(l){return p.multiply(this.array,l.array,this.array),this._dirty=!0,this},multiply:function(l){return p.multiply(this.array,this.array,l.array),this._dirty=!0,this},multiplyLeft:function(l){return p.multiply(this.array,l.array,this.array),this._dirty=!0,this},normalize:function(){return p.normalize(this.array,this.array),this._dirty=!0,this},rotateX:function(l){return p.rotateX(this.array,this.array,l),this._dirty=!0,this},rotateY:function(l){return p.rotateY(this.array,this.array,l),this._dirty=!0,this},rotateZ:function(l){return p.rotateZ(this.array,this.array,l),this._dirty=!0,this},rotationTo:function(l,o){return p.rotationTo(this.array,l.array,o.array),this._dirty=!0,this},setAxes:function(l,o,g){return p.setAxes(this.array,l.array,o.array,g.array),this._dirty=!0,this},setAxisAngle:function(l,o){return p.setAxisAngle(this.array,l.array,o),this._dirty=!0,this},slerp:function(l,o,g){return p.slerp(this.array,l.array,o.array,g),this._dirty=!0,this},sqrLen:function(){return p.sqrLen(this.array)},squaredLength:function(){return p.squaredLength(this.array)},fromEuler:function(l,o){return m.fromEuler(this,l,o)},toString:function(){return"["+Array.prototype.join.call(this.array,",")+"]"},toArray:function(){return Array.prototype.slice.call(this.array)}};var E=Object.defineProperty;if(E){var d=m.prototype;E(d,"x",{get:function(){return this.array[0]},set:function(l){this.array[0]=l,this._dirty=!0}}),E(d,"y",{get:function(){return this.array[1]},set:function(l){this.array[1]=l,this._dirty=!0}}),E(d,"z",{get:function(){return this.array[2]},set:function(l){this.array[2]=l,this._dirty=!0}}),E(d,"w",{get:function(){return this.array[3]},set:function(l){this.array[3]=l,this._dirty=!0}})}m.add=function(l,o,g){return p.add(l.array,o.array,g.array),l._dirty=!0,l},m.set=function(l,o,g,r,n){p.set(l.array,o,g,r,n),l._dirty=!0},m.copy=function(l,o){return p.copy(l.array,o.array),l._dirty=!0,l},m.calculateW=function(l,o){return p.calculateW(l.array,o.array),l._dirty=!0,l},m.conjugate=function(l,o){return p.conjugate(l.array,o.array),l._dirty=!0,l},m.identity=function(l){return p.identity(l.array),l._dirty=!0,l},m.invert=function(l,o){return p.invert(l.array,o.array),l._dirty=!0,l},m.dot=function(l,o){return p.dot(l.array,o.array)},m.len=function(l){return p.length(l.array)},m.lerp=function(l,o,g,r){return p.lerp(l.array,o.array,g.array,r),l._dirty=!0,l},m.slerp=function(l,o,g,r){return p.slerp(l.array,o.array,g.array,r),l._dirty=!0,l},m.mul=function(l,o,g){return p.multiply(l.array,o.array,g.array),l._dirty=!0,l},m.multiply=m.mul,m.rotateX=function(l,o,g){return p.rotateX(l.array,o.array,g),l._dirty=!0,l},m.rotateY=function(l,o,g){return p.rotateY(l.array,o.array,g),l._dirty=!0,l},m.rotateZ=function(l,o,g){return p.rotateZ(l.array,o.array,g),l._dirty=!0,l},m.setAxisAngle=function(l,o,g){return p.setAxisAngle(l.array,o.array,g),l._dirty=!0,l},m.normalize=function(l,o){return p.normalize(l.array,o.array),l._dirty=!0,l},m.sqrLen=function(l){return p.sqrLen(l.array)},m.squaredLength=m.sqrLen,m.fromMat3=function(l,o){return p.fromMat3(l.array,o.array),l._dirty=!0,l},m.setAxes=function(l,o,g,r){return p.setAxes(l.array,o.array,g.array,r.array),l._dirty=!0,l},m.rotationTo=function(l,o,g){return p.rotationTo(l.array,o.array,g.array),l._dirty=!0,l},m.fromEuler=function(l,o,e){l._dirty=!0,o=o.array;var r=l.array,n=Math.cos(o[0]/2),a=Math.cos(o[1]/2),c=Math.cos(o[2]/2),u=Math.sin(o[0]/2),s=Math.sin(o[1]/2),v=Math.sin(o[2]/2),e=(e||"XYZ").toUpperCase();switch(e){case"XYZ":r[0]=u*a*c+n*s*v,r[1]=n*s*c-u*a*v,r[2]=n*a*v+u*s*c,r[3]=n*a*c-u*s*v;break;case"YXZ":r[0]=u*a*c+n*s*v,r[1]=n*s*c-u*a*v,r[2]=n*a*v-u*s*c,r[3]=n*a*c+u*s*v;break;case"ZXY":r[0]=u*a*c-n*s*v,r[1]=n*s*c+u*a*v,r[2]=n*a*v+u*s*c,r[3]=n*a*c-u*s*v;break;case"ZYX":r[0]=u*a*c-n*s*v,r[1]=n*s*c+u*a*v,r[2]=n*a*v-u*s*c,r[3]=n*a*c+u*s*v;break;case"YZX":r[0]=u*a*c+n*s*v,r[1]=n*s*c+u*a*v,r[2]=n*a*v-u*s*c,r[3]=n*a*c-u*s*v;break;case"XZY":r[0]=u*a*c-n*s*v,r[1]=n*s*c-u*a*v,r[2]=n*a*v+u*s*c,r[3]=n*a*c+u*s*v;break}},P.a=m},function(k,P,_){"use strict";var B=_(28),C=_(9),p=_(52),m=_(49),E=_(1),d=_.n(E),l=d.a.vec3,o=d.a.vec4,g=B.a.extend(function(){return{projectionMatrix:new C.a,invProjectionMatrix:new C.a,viewMatrix:new C.a,frustum:new p.a}},function(){this.update(!0)},{update:function(r){B.a.prototype.update.call(this,r),C.a.invert(this.viewMatrix,this.worldTransform),this.updateProjectionMatrix(),C.a.invert(this.invProjectionMatrix,this.projectionMatrix),this.frustum.setFromProjection(this.projectionMatrix)},setViewMatrix:function(r){C.a.copy(this.viewMatrix,r),C.a.invert(this.worldTransform,r),this.decomposeWorldTransform()},decomposeProjectionMatrix:function(){},setProjectionMatrix:function(r){C.a.copy(this.projectionMatrix,r),C.a.invert(this.invProjectionMatrix,r),this.decomposeProjectionMatrix()},updateProjectionMatrix:function(){},castRay:function(){var r=o.create();return function(n,a){var c=a!==void 0?a:new m.a,u=n.array[0],s=n.array[1];return o.set(r,u,s,-1,1),o.transformMat4(r,r,this.invProjectionMatrix.array),o.transformMat4(r,r,this.worldTransform.array),l.scale(c.origin.array,r,1/r[3]),o.set(r,u,s,1,1),o.transformMat4(r,r,this.invProjectionMatrix.array),o.transformMat4(r,r,this.worldTransform.array),l.scale(r,r,1/r[3]),l.sub(c.direction.array,r,c.origin.array),l.normalize(c.direction.array,c.direction.array),c.direction._dirty=!0,c.origin._dirty=!0,c}}()});P.a=g},function(k,P,_){"use strict";var B=_(4),C=_(15),p=_(67),m=_(1),E=_.n(m),d=E.a.vec3,l=d.set,o=d.copy,g=d.transformMat4,r=Math.min,n=Math.max,a=function(){this.planes=[];for(var c=0;c<6;c++)this.planes.push(new p.a);this.boundingBox=new C.a,this.vertices=[];for(var c=0;c<8;c++)this.vertices[c]=d.fromValues(0,0,0)};a.prototype={setFromProjection:function(c){var u=this.planes,s=c.array,v=s[0],e=s[1],t=s[2],i=s[3],f=s[4],y=s[5],b=s[6],x=s[7],A=s[8],w=s[9],L=s[10],D=s[11],O=s[12],N=s[13],I=s[14],K=s[15];l(u[0].normal.array,i-v,x-f,D-A),u[0].distance=-(K-O),u[0].normalize(),l(u[1].normal.array,i+v,x+f,D+A),u[1].distance=-(K+O),u[1].normalize(),l(u[2].normal.array,i+e,x+y,D+w),u[2].distance=-(K+N),u[2].normalize(),l(u[3].normal.array,i-e,x-y,D-w),u[3].distance=-(K-N),u[3].normalize(),l(u[4].normal.array,i-t,x-b,D-L),u[4].distance=-(K-I),u[4].normalize(),l(u[5].normal.array,i+t,x+b,D+L),u[5].distance=-(K+I),u[5].normalize();var F=this.boundingBox;if(K===0){var W=y/v,j=-I/(L-1),X=-I/(L+1),Y=-X/y,le=-j/y;F.min.set(-Y*W,-Y,X),F.max.set(Y*W,Y,j);var J=this.vertices;l(J[0],-Y*W,-Y,X),l(J[1],-Y*W,Y,X),l(J[2],Y*W,-Y,X),l(J[3],Y*W,Y,X),l(J[4],-le*W,-le,j),l(J[5],-le*W,le,j),l(J[6],le*W,-le,j),l(J[7],le*W,le,j)}else{var ve=(-1-O)/v,Ce=(1-O)/v,be=(1-N)/y,Ae=(-1-N)/y,Ue=(-1-I)/L,we=(1-I)/L;F.min.set(Math.min(ve,Ce),Math.min(Ae,be),Math.min(we,Ue)),F.max.set(Math.max(Ce,ve),Math.max(be,Ae),Math.max(Ue,we));var $e=F.min.array,Re=F.max.array,J=this.vertices;l(J[0],$e[0],$e[1],$e[2]),l(J[1],$e[0],Re[1],$e[2]),l(J[2],Re[0],$e[1],$e[2]),l(J[3],Re[0],Re[1],$e[2]),l(J[4],$e[0],$e[1],Re[2]),l(J[5],$e[0],Re[1],Re[2]),l(J[6],Re[0],$e[1],Re[2]),l(J[7],Re[0],Re[1],Re[2])}},getTransformedBoundingBox:function(){var c=d.create();return function(u,s){var v=this.vertices,e=s.array,t=u.min,i=u.max,f=t.array,y=i.array,b=v[0];g(c,b,e),o(f,c),o(y,c);for(var x=1;x<8;x++)b=v[x],g(c,b,e),f[0]=r(c[0],f[0]),f[1]=r(c[1],f[1]),f[2]=r(c[2],f[2]),y[0]=n(c[0],y[0]),y[1]=n(c[1],y[1]),y[2]=n(c[2],y[2]);return t._dirty=!0,i._dirty=!0,u}}()},P.a=a},function(k,P){var _=function(){this.head=null,this.tail=null,this._len=0},B=_.prototype;B.insert=function(d){var l=new C(d);return this.insertEntry(l),l},B.insertEntry=function(d){this.head?(this.tail.next=d,d.prev=this.tail,d.next=null,this.tail=d):this.head=this.tail=d,this._len++},B.remove=function(d){var l=d.prev,o=d.next;l?l.next=o:this.head=o,o?o.prev=l:this.tail=l,d.next=d.prev=null,this._len--},B.len=function(){return this._len},B.clear=function(){this.head=this.tail=null,this._len=0};var C=function(d){this.value=d,this.next,this.prev},p=function(d){this._list=new _,this._map={},this._maxSize=d||10,this._lastRemovedEntry=null},m=p.prototype;m.put=function(d,l){var o=this._list,g=this._map,r=null;if(g[d]==null){var n=o.len(),a=this._lastRemovedEntry;if(n>=this._maxSize&&n>0){var c=o.head;o.remove(c),delete g[c.key],r=c.value,this._lastRemovedEntry=c}a?a.value=l:a=new C(l),a.key=d,o.insertEntry(a),g[d]=a}return r},m.get=function(d){var l=this._map[d],o=this._list;if(l!=null)return l!==o.tail&&(o.remove(l),o.insertEntry(l)),l.value},m.clear=function(){this._list.clear(),this._map={}};var E=p;k.exports=E},function(k,P,_){"use strict";var B=_(5),C=_(25),p=_(102),m=_(55),E=_(56),d=_(29),l=_(104),o=_(105),g={loadTexture:function(r,n,a,c){var u;if(typeof n=="function"?(a=n,c=a,n={}):n=n||{},typeof r=="string"){if(r.match(/.hdr$/)||n.fileType==="hdr")return u=new B.a({width:0,height:0,sRGB:!1}),g._fetchTexture(r,function(s){o.a.parseRGBE(s,u,n.exposure),u.dirty(),a&&a(u)},c),u;r.match(/.dds$/)||n.fileType==="dds"?(u=new B.a({width:0,height:0}),g._fetchTexture(r,function(s){l.a.parse(s,u),u.dirty(),a&&a(u)},c)):(u=new B.a,u.load(r),u.success(a),u.error(c))}else if(typeof r=="object"&&typeof r.px!="undefined"){var u=new C.a;u.load(r),u.success(a),u.error(c)}return u},loadPanorama:function(r,n,a,c,u,s){var v=this;typeof c=="function"?(u=c,s=u,c={}):c=c||{},g.loadTexture(n,c,function(e){e.flipY=c.flipY||!1,v.panoramaToCubeMap(r,e,a,c),e.dispose(r),u&&u(a)},s)},panoramaToCubeMap:function(r,n,a,c){var u=new m.a,s=new E.a({scene:new d.a});return s.material.set("diffuseMap",n),c=c||{},c.encodeRGBM&&s.material.define("fragment","RGBM_ENCODE"),a.sRGB=n.sRGB,u.texture=a,u.render(r,s.scene),u.texture=null,u.dispose(r),a},heightToNormal:function(r,n){var a=document.createElement("canvas"),c=a.width=r.width,u=a.height=r.height,s=a.getContext("2d");s.drawImage(r,0,0,c,u),n=n||!1;for(var v=s.getImageData(0,0,c,u),e=s.createImageData(c,u),t=0;t20)return console.warn("Given image is not a height map"),r}var x,A,w,L;t%(c*4)===0?(x=v.data[t],w=v.data[t+4]):t%(c*4)===(c-1)*4?(x=v.data[t-4],w=v.data[t]):(x=v.data[t-4],w=v.data[t+4]),tc*(u-1)*4?(A=v.data[t-c*4],L=v.data[t]):(A=v.data[t-c*4],L=v.data[t+c*4]),e.data[t]=x-w+127,e.data[t+1]=A-L+127,e.data[t+2]=255,e.data[t+3]=255}return s.putImageData(e,0,0),a},isHeightImage:function(r,n,a){if(!r||!r.width||!r.height)return!1;var c=document.createElement("canvas"),u=c.getContext("2d"),s=n||32;a=a||20,c.width=c.height=s,u.drawImage(r,0,0,s,s);for(var v=u.getImageData(0,0,s,s),e=0;ea)return!1}return!0},_fetchTexture:function(r,n,a){p.a.get({url:r,responseType:"arraybuffer",onload:n,onerror:a})},createChessboard:function(r,n,a,c){r=r||512,n=n||64,a=a||"black",c=c||"white";var u=Math.ceil(r/n),s=document.createElement("canvas");s.width=r,s.height=r;var v=s.getContext("2d");v.fillStyle=c,v.fillRect(0,0,r,r),v.fillStyle=a;for(var e=0;e0?this.material.define("fragment","LOD"):this.material.undefine("fragment","LOD"),l.renderPass([this],o)}});P.a=d},function(k,P,_){"use strict";var B=_(2),C=_(143),p=_(144);B.a.Shader.import(p.a),P.a=B.a.Mesh.extend(function(){var m=new C.a({dynamic:!0}),E=new B.a.Material({shader:B.a.createShader("ecgl.labels"),transparent:!0,depthMask:!1});return{geometry:m,material:E,culling:!1,castShadow:!1,ignorePicking:!0}})},function(k,P,_){"use strict";var B=_(0),C=_.n(B),p=_(2),m=_(186),E=_(22),d=_(3),l=_(1),o=_.n(l),g=_(60),r=_(61),n=_(40),a=o.a.vec3;p.a.Shader.import(n.a);function c(u){this.rootNode=new p.a.Node,this._triangulationResults={},this._shadersMap=p.a.COMMON_SHADERS.reduce(function(v,e){return v[e]=p.a.createShader("ecgl."+e),v},{}),this._linesShader=p.a.createShader("ecgl.meshLines3D");var s={};p.a.COMMON_SHADERS.forEach(function(v){s[v]=new p.a.Material({shader:p.a.createShader("ecgl."+v)})}),this._groundMaterials=s,this._groundMesh=new p.a.Mesh({geometry:new p.a.PlaneGeometry({dynamic:!0}),castShadow:!1,renderNormal:!0,$ignorePicking:!0}),this._groundMesh.rotation.rotateX(-Math.PI/2),this._labelsBuilder=new r.a(512,512,u),this._labelsBuilder.getMesh().renderOrder=100,this._labelsBuilder.getMesh().material.depthTest=!1,this.rootNode.add(this._labelsBuilder.getMesh()),this._initMeshes(),this._api=u}c.prototype={constructor:c,extrudeY:!0,update:function(u,s,v,e,t){var i=u.getData();e==null&&(e=0),t==null&&(t=i.count()),this._startIndex=e,this._endIndex=t-1,this._triangulation(u,e,t);var f=this._getShader(u.get("shading"));this._prepareMesh(u,f,v,e,t),this.rootNode.updateWorldTransform(),this._updateRegionMesh(u,v,e,t);var y=u.coordinateSystem;y.type==="geo3D"&&this._updateGroundPlane(u,y,v);var b=this;this._labelsBuilder.updateData(i,e,t),this._labelsBuilder.getLabelPosition=function(x,A,w){var L=i.getName(x),D,O=w;if(y.type==="geo3D"){var N=y.getRegion(L);return D=N.center,y.dataToPoint([D[0],D[1],O])}else var I=b._triangulationResults[x-b._startIndex],D=b.extrudeY?[(I.max[0]+I.min[0])/2,I.max[1]+O,(I.max[2]+I.min[2])/2]:[(I.max[0]+I.min[0])/2,(I.max[1]+I.min[1])/2,I.max[2]+O]},this._data=i,this._labelsBuilder.updateLabels(),this._updateDebugWireframe(u),this._lastHoverDataIndex=0},_initMeshes:function(){this.rootNode.removeAll();var u=this;function s(){var t=new p.a.Mesh({name:"Polygon",material:new p.a.Material({shader:u._shadersMap.lambert}),culling:!1,geometry:new p.a.Geometry({sortTriangles:!0,dynamic:!0}),ignorePicking:!0,renderNormal:!0});return C.a.util.extend(t.geometry,g.a),t}var v=s(),e=new p.a.Mesh({material:new p.a.Material({shader:this._linesShader}),castShadow:!1,ignorePicking:!0,$ignorePicking:!0,geometry:new E.a({useNativeLine:!1})});this.rootNode.add(v),this.rootNode.add(e),v.material.define("both","VERTEX_COLOR"),v.material.define("fragment","DOUBLE_SIDED"),this._polygonMesh=v,this._linesMesh=e,this.rootNode.add(this._groundMesh)},_getShader:function(u){var s=this._shadersMap[u];return s||(console.warn("Unkown shading "+u),s=this._shadersMap.lambert),s.__shading=u,s},_prepareMesh:function(u,s,v,e,t){for(var i=0,f=0,y=0,b=0,x=e;x65535?new Uint32Array(f*3):new Uint16Array(f*3),L.material.shader!==s&&L.material.attachShader(s,!0),p.a.setMaterialFromModel(s.__shading,L.material,u,v),y>0&&(this._linesMesh.geometry.resetOffset(),this._linesMesh.geometry.setVertexCount(y),this._linesMesh.geometry.setTriangleCount(b)),this._dataIndexOfVertex=new Uint32Array(i),this._vertexRangeOfDataIndex=new Uint32Array((t-e)*2)},_updateRegionMesh:function(u,s,v,e){for(var t=u.getData(),i=0,f=0,y=!1,Y=this._polygonMesh,b=this._linesMesh,x=v;x0;X&&(j*=s.getDevicePixelRatio(),this._updateLinesGeometry(b.geometry,u,x,K,j,u.coordinateSystem.transform)),b.invisible=!X,b.material.set({color:N})}var Y=this._polygonMesh;Y.material.transparent=y,Y.material.depthMask=!y,Y.geometry.updateBoundingBox(),Y.material.get("normalMap")&&Y.geometry.generateTangents(),Y.seriesIndex=u.seriesIndex,Y.on("mousemove",this._onmousemove,this),Y.on("mouseout",this._onmouseout,this)},_updateDebugWireframe:function(u){var s=u.getModel("debug.wireframe");if(s.get("show")){var v=p.a.parseColor(s.get("lineStyle.color")||"rgba(0,0,0,0.5)"),e=d.a.firstNotNull(s.get("lineStyle.width"),1),t=this._polygonMesh;t.geometry.generateBarycentric(),t.material.define("both","WIREFRAME_TRIANGLE"),t.material.set("wireframeLineColor",v),t.material.set("wireframeLineWidth",e)}},_onmousemove:function(u){var s=this._dataIndexOfVertex[u.triangle[0]];s==null&&(s=-1),s!==this._lastHoverDataIndex&&(this.downplay(this._lastHoverDataIndex),this.highlight(s)),this._lastHoverDataIndex=s,this._polygonMesh.dataIndex=s},_onmouseover:function(u){if(u.target){var s=u.target.eventData?this._data.indexOfName(u.target.eventData.name):u.target.dataIndex;s!=null&&(this.highlight(s),this._labelsBuilder.updateLabels([s]))}},_onmouseout:function(u){u.target&&(this.downplay(this._lastHoverDataIndex),this._lastHoverDataIndex=-1,this._polygonMesh.dataIndex=-1)},_updateGroundPlane:function(u,s,v){var e=u.getModel("groundPlane",u);if(this._groundMesh.invisible=!e.get("show",!0),!this._groundMesh.invisible){var t=u.get("shading"),i=this._groundMaterials[t];i||(console.warn("Unkown shading "+t),i=this._groundMaterials.lambert),p.a.setMaterialFromModel(t,i,e,v),i.get("normalMap")&&this._groundMesh.geometry.generateTangents(),this._groundMesh.material=i,this._groundMesh.material.set("color",p.a.parseColor(e.get("color"))),this._groundMesh.scale.set(s.size[0],s.size[2],1)}},_triangulation:function(u,s,v){this._triangulationResults=[];for(var e=[1/0,1/0,1/0],t=[-1/0,-1/0,-1/0],i=u.coordinateSystem,f=s;f1?e:0,$e[re][I]=be.points[oe+2],b.set(t+re,$e[re]),y?(Fe[0]=(be.points[oe]*K[0]-F[0])/j,Fe[1]=(be.points[oe+2]*K[I]-F[I])/j):(Fe[0]=(ee?Te:Te+q)/j,Fe[1]=($e[re][N]*K[N]-F[N])/j),A.set(t+re,Fe)}a.sub(Re,$e[1],$e[0]),a.sub(ge,$e[3],$e[0]),a.cross(Ze,Re,ge),a.normalize(Ze,Ze);for(var re=0;re<4;re++)x.set(t+re,Ze),D&&w.set(t+re,f);for(var re=0;re<6;re++)O[i*3+re]=we[re]+t;t+=4,i+=2,Te+=q}}return s.dirty(),{vertexOffset:t,triangleOffset:i}},_getRegionLinesInfo:function(u,s,v){var e=0,t=0,i=s.getRegionModel(u),f=i.getModel("itemStyle"),y=f.get("borderWidth");if(y>0){var b=s.getRegionPolygonCoords(u);b.forEach(function(x){var A=x.exterior,w=x.interiors;e+=v.getPolylineVertexCount(A),t+=v.getPolylineTriangleCount(A);for(var L=0;Lthis._endIndex)){s-=this._startIndex;for(var e=this._vertexRangeOfDataIndex[s*2];e=2e4},doSortTriangles:function(o,g){var r=this.indices;if(g===0){var n=this.attributes.position,o=o.array;(!this._triangleZList||this._triangleZList.length!==this.triangleCount)&&(this._triangleZList=new Float32Array(this.triangleCount),this._sortedTriangleIndices=new Uint32Array(this.triangleCount),this._indicesTmp=new r.constructor(r.length),this._triangleZListTmp=new Float32Array(this.triangleCount));for(var a=0,c,u=0;u0,n={},a=0;a2?(D=this._updateSymbolSprite(c,w,x,A),f.enableTexture("sprite")):f.disableTexture("sprite"),b.position.init(e-v);var O=[];if(L){f.undefine("VERTEX_SIZE"),f.undefine("VERTEX_COLOR");var N=i.getVisual("color"),I=i.getVisual("opacity");p.a.parseColor(N,O),O[3]*=I,f.set({color:O,u_Size:x.maxSize*this._sizeScale})}else f.set({color:[1,1,1,1]}),f.define("VERTEX_SIZE"),f.define("VERTEX_COLOR"),b.size.init(e-v),b.color.init(e-v),this._originalOpacity=new Float32Array(e-v);for(var K=i.getLayout("points"),F=b.position.value,W=!1,j=0;j1?(e[0]=s.maxSize,e[1]=s.maxSize/s.aspect):(e[1]=s.maxSize,e[0]=s.maxSize*s.aspect),e[0]=e[0]||1,e[1]=e[1]||1,(this._symbolType!==s.type||!n(this._symbolSize,e)||this._lineWidth!==u.lineWidth)&&(m.a.createSymbolSprite(s.type,e,{fill:"#fff",lineWidth:u.lineWidth,stroke:"transparent",shadowColor:"transparent",minMargin:Math.min(e[0]/2,10)},this._spriteImageCanvas),m.a.createSDFFromCanvas(this._spriteImageCanvas,Math.min(this._spriteImageCanvas.width,32),g,this._mesh.material.get("sprite").image),this._symbolType=s.type,this._symbolSize=e,this._lineWidth=u.lineWidth),this._spriteImageCanvas.width/s.maxSize*v},_updateMaterial:function(c,u){var s=c.get("blendMode")==="lighter"?p.a.additiveBlend:null,v=this._mesh.material;v.blend=s,v.set("lineWidth",u.lineWidth/g);var e=p.a.parseColor(u.stroke);v.set("strokeColor",e),v.transparent=!0,v.depthMask=!1,v.depthTest=!this.is2D,v.sortVertices=!this.is2D},_updateLabelBuilder:function(c,i,s){var v=c.getData(),e=this._mesh.geometry,t=e.attributes.position.value,i=this._startDataIndex,f=this._mesh.sizeScale;this._labelsBuilder.updateData(v,i,s),this._labelsBuilder.getLabelPosition=function(y,b,x){var A=(y-i)*3;return[t[A],t[A+1],t[A+2]]},this._labelsBuilder.getLabelDistance=function(y,b,x){var A=e.attributes.size.get(y-i)/f;return A/2+x},this._labelsBuilder.updateLabels()},_updateAnimation:function(c){p.a.updateVertexAnimation([["prevPosition","position"],["prevSize","size"]],this._prevMesh,this._mesh,c)},_updateHandler:function(c,u,s){var v=c.getData(),e=this._mesh,t=this,i=-1,f=c.coordinateSystem&&c.coordinateSystem.type==="cartesian3D",y;f&&(y=c.coordinateSystem.model),e.seriesIndex=c.seriesIndex,e.off("mousemove"),e.off("mouseout"),e.on("mousemove",function(b){var x=b.vertexIndex+t._startDataIndex;x!==i&&(this.highlightOnMouseover&&(this.downplay(v,i),this.highlight(v,x),this._labelsBuilder.updateLabels([x])),f&&s.dispatchAction({type:"grid3DShowAxisPointer",value:[v.get(c.coordDimToDataDim("x")[0],x),v.get(c.coordDimToDataDim("y")[0],x),v.get(c.coordDimToDataDim("z")[0],x)],grid3DIndex:y.componentIndex})),e.dataIndex=x,i=x},this),e.on("mouseout",function(b){var x=b.vertexIndex+t._startDataIndex;this.highlightOnMouseover&&(this.downplay(v,x),this._labelsBuilder.updateLabels()),i=-1,e.dataIndex=-1,f&&s.dispatchAction({type:"grid3DHideAxisPointer",grid3DIndex:y.componentIndex})},this)},updateLayout:function(c,u,s){var v=c.getData();if(this._mesh){var e=this._mesh.geometry.attributes.position.value,t=v.getLayout("points");if(this.is2D)for(var i=0;ithis._endDataIndex||uthis._endDataIndex||u.05&&(i=!0),A!==f&&(y=!0),f=A,t=w}return i&&console.warn("Different symbol width / height ratio will be ignored."),y&&console.warn("Different symbol type will be ignored."),{maxSize:b,type:f,aspect:t}}},P.a=a},function(k,P,_){"use strict";P.a=`@export clay.prez.vertex uniform mat4 worldViewProjection : WORLDVIEWPROJECTION; attribute vec3 position : POSITION; @import clay.chunk.skinning_header void main() { vec3 skinnedPosition = position; #ifdef SKINNING @import clay.chunk.skin_matrix skinnedPosition = (skinMatrixWS * vec4(position, 1.0)).xyz; #endif gl_Position = worldViewProjection * vec4(skinnedPosition, 1.0); } @end @export clay.prez.fragment void main() { gl_FragColor = vec4(0.0, 0.0, 0.0, 1.0); } @end`},function(k,P,_){"use strict";var B=_(28),C=_(11),p=0,m=null,E=!0,d,l=function(){this.triangleCount=0,this.vertexCount=0,this.drawCallCount=0};function o(r,n,a){this.availableAttributes=r,this.availableAttributeSymbols=n,this.indicesBuffer=a,this.vao=null}var g=B.a.extend({material:null,geometry:null,mode:C.a.TRIANGLES,_drawCache:null,_renderInfo:null},function(){this._drawCache={},this._renderInfo=new l},{__program:null,lightGroup:0,renderOrder:0,lineWidth:1,culling:!0,cullFace:C.a.BACK,frontFace:C.a.CCW,frustumCulling:!0,receiveShadow:!0,castShadow:!0,ignorePicking:!1,ignorePreZ:!1,ignoreGBuffer:!1,isRenderable:function(){return this.geometry&&this.material&&this.material.shader&&!this.invisible&&this.geometry.vertexCount>0},beforeRender:function(r){},afterRender:function(r,n){},getBoundingBox:function(r,n){return n=B.a.prototype.getBoundingBox.call(this,r,n),this.geometry&&this.geometry.boundingBox&&n.union(this.geometry.boundingBox),n},render:function(r,n,a){var c=r.gl;n=n||this.material;var u=n.shader,s=this.geometry,v=this.mode,e=s.vertexCount,t=s.isUseIndices(),i=r.getGLExtension("OES_element_index_uint"),f=i&&e>65535,y=f?c.UNSIGNED_INT:c.UNSIGNED_SHORT,b=r.getGLExtension("OES_vertex_array_object"),x=!s.dynamic,A=this._renderInfo;A.vertexCount=e,A.triangleCount=0,A.drawCallCount=0;var w=!1;if(d=r.__uid__+"-"+s.__uid__+"-"+a.__uid__,(d!==p||b&&x||s._cache.isDirty("any"))&&(w=!0),p=d,!w)E?(c.drawElements(v,m.count,y,0),A.triangleCount=m.count/3):c.drawArrays(v,0,e),A.drawCallCount=1;else{var L=this._drawCache[d];if(!L){var D=s.getBufferChunks(r);if(!D)return;L=[];for(var O=0;O>1,C|=C>>2,C|=C>>4,C|=C>>8,C|=C>>16,C++,C},B.nearestPowerOfTwo=function(C){return Math.pow(2,Math.round(Math.log(C)/Math.LN2))},P.a=B},function(k,P,_){"use strict";var B=_(4),C=_(1),p=_.n(C),m=p.a.vec3,E=p.a.mat4,d=p.a.vec4,l=function(o,g){this.normal=o||new B.a(0,1,0),this.distance=g||0};l.prototype={constructor:l,distanceToPoint:function(o){return m.dot(o.array,this.normal.array)-this.distance},projectPoint:function(o,g){g||(g=new B.a);var r=this.distanceToPoint(o);return m.scaleAndAdd(g.array,o.array,this.normal.array,-r),g._dirty=!0,g},normalize:function(){var o=1/m.len(this.normal.array);m.scale(this.normal.array,o),this.distance*=o},intersectFrustum:function(o){for(var g=o.vertices,r=this.normal.array,n=m.dot(g[0].array,r)>this.distance,a=1;a<8;a++)if(m.dot(g[a].array,r)>this.distance!=n)return!0},intersectLine:function(){var o=m.create();return function(g,r,n){var a=this.distanceToPoint(g),c=this.distanceToPoint(r);if(a>0&&c>0||a<0&&c<0)return null;var u=this.normal.array,s=this.distance,v=g.array;m.sub(o,r.array,g.array),m.normalize(o,o);var e=m.dot(u,o);if(e===0)return null;n||(n=new B.a);var t=(m.dot(u,v)-s)/e;return m.scaleAndAdd(n.array,v,o,-t),n._dirty=!0,n}}(),applyTransform:function(){var o=E.create(),g=d.create(),r=d.create();return r[3]=1,function(n){n=n.array,m.scale(r,this.normal.array,this.distance),d.transformMat4(r,r,n),this.distance=m.dot(r,this.normal.array),E.invert(o,n),E.transpose(o,o),g[3]=0,m.copy(g,this.normal.array),d.transformMat4(g,g,o),m.copy(this.normal.array,g)}}(),copy:function(o){m.copy(this.normal.array,o.normal.array),this.normal._dirty=!0,this.distance=o.distance},clone:function(){var o=new l;return o.copy(this),o}},P.a=l},function(k,P,_){"use strict";var B=_(13),C=_(15),p=B.a.extend({dynamic:!1,widthSegments:40,heightSegments:20,phiStart:0,phiLength:Math.PI*2,thetaStart:0,thetaLength:Math.PI,radius:1},function(){this.build()},{build:function(){var m=this.heightSegments,E=this.widthSegments,d=this.attributes.position,l=this.attributes.texcoord0,o=this.attributes.normal,g=(E+1)*(m+1);d.init(g),l.init(g),o.init(g);var r=g>65535?Uint32Array:Uint16Array,n=this.indices=new r(E*m*6),a,c,u,s,v,e,t,x=this.radius,i=this.phiStart,f=this.phiLength,y=this.thetaStart,b=this.thetaLength,x=this.radius,A=[],w=[],L=0,D=1/x;for(t=0;t<=m;t++)for(e=0;e<=E;e++)s=e/E,v=t/m,a=-x*Math.cos(i+s*f)*Math.sin(y+v*b),c=x*Math.cos(y+v*b),u=x*Math.sin(i+s*f)*Math.sin(y+v*b),A[0]=a,A[1]=c,A[2]=u,w[0]=s,w[1]=v,d.set(L,A),l.set(L,w),A[0]*=D,A[1]*=D,A[2]*=D,o.set(L,A),L++;var O,N,I,K,F=E+1,W=0;for(t=0;ta&&(r=this._x=0,n+=this._rowHeight+u,this._y=n,this._rowHeight=0),this._x+=l+u,this._rowHeight=Math.max(this._rowHeight,o),n+o+u>c)return null;d.position[0]+=this.offsetX*this.dpr+r,d.position[1]+=this.offsetY*this.dpr+n,this._zr.add(d);var s=[this.offsetX/this.width,this.offsetY/this.height],v=[[r/a+s[0],n/c+s[1]],[(r+l)/a+s[0],(n+o)/c+s[1]]];return v},_fitElement:function(d,l,o){var g=d.getBoundingRect(),r=l/g.width,n=o/g.height;d.position=[-g.x*r,-g.y*n],d.scale=[r,n],d.update()}};function E(d){d=d||{},d.width=d.width||512,d.height=d.height||512,d.devicePixelRatio=d.devicePixelRatio||1,d.gap=d.gap==null?2:d.gap;var l=document.createElement("canvas");l.width=d.width*d.devicePixelRatio,l.height=d.height*d.devicePixelRatio,this._canvas=l,this._texture=new p.a({image:l,flipY:!1});var o=this;this._zr=C.a.zrender.init(l);var g=this._zr.refreshImmediately;this._zr.refreshImmediately=function(){g.call(this),o._texture.dirty(),o.onupdate&&o.onupdate()},this._dpr=d.devicePixelRatio,this._coords={},this.onupdate=d.onupdate,this._gap=d.gap,this._textureAtlasNodes=[new m(this._zr,0,0,d.width,d.height,this._gap,this._dpr)],this._nodeWidth=d.width,this._nodeHeight=d.height,this._currentNodeIdx=0}E.prototype={clear:function(){for(var d=0;d=d){console.error("Too much labels. Some will be ignored.");return}var n=(g+this._nodeWidth)*this._dpr,a=(r+this._nodeHeight)*this._dpr;try{this._zr.resize({width:n,height:a})}catch(u){this._canvas.width=n,this._canvas.height=a}var c=new m(this._zr,g,r,this._nodeWidth,this._nodeHeight,this._gap,this._dpr);return this._textureAtlasNodes.push(c),c},add:function(d,l,o){if(this._coords[d.id])return console.warn("Element already been add"),this._coords[d.id];var g=this._getCurrentNode().add(d,l,o);if(!g){var r=this._expand();if(!r)return;g=r.add(d,l,o)}return this._coords[d.id]=g,g},getCoordsScale:function(){var d=this._dpr;return[this._nodeWidth/this._canvas.width*d,this._nodeHeight/this._canvas.height*d]},getCoords:function(d){return this._coords[d]}},P.a=E},function(k,P,_){"use strict";P.a=B;function B(C,p,m){var E,d=C.scale;return d.type==="ordinal"&&(typeof m=="function"?(E=d.getTicks()[p],!m(E,d.getLabel(E))):p%(m+1))}},function(k,P,_){var B=_(76),C=_(77),p=B.applyTransform,m=Math.min,E=Math.max;function d(o,g,r,n){r<0&&(o=o+r,r=-r),n<0&&(g=g+n,n=-n),this.x=o,this.y=g,this.width=r,this.height=n}d.prototype={constructor:d,union:function(o){var g=m(o.x,this.x),r=m(o.y,this.y);this.width=E(o.x+o.width,this.x+this.width)-g,this.height=E(o.y+o.height,this.y+this.height)-r,this.x=g,this.y=r},applyTransform:function(){var o=[],g=[],r=[],n=[];return function(a){if(a){o[0]=r[0]=this.x,o[1]=n[1]=this.y,g[0]=n[0]=this.x+this.width,g[1]=r[1]=this.y+this.height,p(o,o,a),p(g,g,a),p(r,r,a),p(n,n,a),this.x=m(o[0],g[0],r[0],n[0]),this.y=m(o[1],g[1],r[1],n[1]);var c=E(o[0],g[0],r[0],n[0]),u=E(o[1],g[1],r[1],n[1]);this.width=c-this.x,this.height=u-this.y}}}(),calculateTransform:function(o){var g=this,r=o.width/g.width,n=o.height/g.height,a=C.create();return C.translate(a,a,[-g.x,-g.y]),C.scale(a,a,[r,n]),C.translate(a,a,[o.x,o.y]),a},intersect:function(o){if(!o)return!1;o instanceof d||(o=d.create(o));var g=this,r=g.x,n=g.x+g.width,a=g.y,c=g.y+g.height,u=o.x,s=o.x+o.width,v=o.y,e=o.y+o.height;return!(n=r.x&&o<=r.x+r.width&&g>=r.y&&g<=r.y+r.height},clone:function(){return new d(this.x,this.y,this.width,this.height)},copy:function(o){this.x=o.x,this.y=o.y,this.width=o.width,this.height=o.height},plain:function(){return{x:this.x,y:this.y,width:this.width,height:this.height}}},d.create=function(o){return new d(o.x,o.y,o.width,o.height)};var l=d;k.exports=l},function(k,P){var _=typeof Float32Array=="undefined"?Array:Float32Array;function B(L,D){var O=new _(2);return L==null&&(L=0),D==null&&(D=0),O[0]=L,O[1]=D,O}function C(L,D){return L[0]=D[0],L[1]=D[1],L}function p(L){var D=new _(2);return D[0]=L[0],D[1]=L[1],D}function m(L,D,O){return L[0]=D,L[1]=O,L}function E(L,D,O){return L[0]=D[0]+O[0],L[1]=D[1]+O[1],L}function d(L,D,O,N){return L[0]=D[0]+O[0]*N,L[1]=D[1]+O[1]*N,L}function l(L,D,O){return L[0]=D[0]-O[0],L[1]=D[1]-O[1],L}function o(L){return Math.sqrt(r(L))}var g=o;function r(L){return L[0]*L[0]+L[1]*L[1]}var n=r;function a(L,D,O){return L[0]=D[0]*O[0],L[1]=D[1]*O[1],L}function c(L,D,O){return L[0]=D[0]/O[0],L[1]=D[1]/O[1],L}function u(L,D){return L[0]*D[0]+L[1]*D[1]}function s(L,D,O){return L[0]=D[0]*O,L[1]=D[1]*O,L}function v(L,D){var O=o(D);return O===0?(L[0]=0,L[1]=0):(L[0]=D[0]/O,L[1]=D[1]/O),L}function e(L,D){return Math.sqrt((L[0]-D[0])*(L[0]-D[0])+(L[1]-D[1])*(L[1]-D[1]))}var t=e;function i(L,D){return(L[0]-D[0])*(L[0]-D[0])+(L[1]-D[1])*(L[1]-D[1])}var f=i;function y(L,D){return L[0]=-D[0],L[1]=-D[1],L}function b(L,D,O,N){return L[0]=D[0]+N*(O[0]-D[0]),L[1]=D[1]+N*(O[1]-D[1]),L}function x(L,D,O){var N=D[0],I=D[1];return L[0]=O[0]*N+O[2]*I+O[4],L[1]=O[1]*N+O[3]*I+O[5],L}function A(L,D,O){return L[0]=Math.min(D[0],O[0]),L[1]=Math.min(D[1],O[1]),L}function w(L,D,O){return L[0]=Math.max(D[0],O[0]),L[1]=Math.max(D[1],O[1]),L}P.create=B,P.copy=C,P.clone=p,P.set=m,P.add=E,P.scaleAndAdd=d,P.sub=l,P.len=o,P.length=g,P.lenSquare=r,P.lengthSquare=n,P.mul=a,P.div=c,P.dot=u,P.scale=s,P.normalize=v,P.distance=e,P.dist=t,P.distanceSquare=i,P.distSquare=f,P.negate=y,P.lerp=b,P.applyTransform=x,P.min=A,P.max=w},function(k,P){var _=typeof Float32Array=="undefined"?Array:Float32Array;function B(){var r=new _(6);return C(r),r}function C(r){return r[0]=1,r[1]=0,r[2]=0,r[3]=1,r[4]=0,r[5]=0,r}function p(r,n){return r[0]=n[0],r[1]=n[1],r[2]=n[2],r[3]=n[3],r[4]=n[4],r[5]=n[5],r}function m(r,n,a){var c=n[0]*a[0]+n[2]*a[1],u=n[1]*a[0]+n[3]*a[1],s=n[0]*a[2]+n[2]*a[3],v=n[1]*a[2]+n[3]*a[3],e=n[0]*a[4]+n[2]*a[5]+n[4],t=n[1]*a[4]+n[3]*a[5]+n[5];return r[0]=c,r[1]=u,r[2]=s,r[3]=v,r[4]=e,r[5]=t,r}function E(r,n,a){return r[0]=n[0],r[1]=n[1],r[2]=n[2],r[3]=n[3],r[4]=n[4]+a[0],r[5]=n[5]+a[1],r}function d(r,n,a){var c=n[0],u=n[2],s=n[4],v=n[1],e=n[3],t=n[5],i=Math.sin(a),f=Math.cos(a);return r[0]=c*f+v*i,r[1]=-c*i+v*f,r[2]=u*f+e*i,r[3]=-u*i+f*e,r[4]=f*s+i*t,r[5]=f*t-i*s,r}function l(r,n,a){var c=a[0],u=a[1];return r[0]=n[0]*c,r[1]=n[1]*u,r[2]=n[2]*c,r[3]=n[3]*u,r[4]=n[4]*c,r[5]=n[5]*u,r}function o(r,n){var a=n[0],c=n[2],u=n[4],s=n[1],v=n[3],e=n[5],t=a*v-s*c;return t?(t=1/t,r[0]=v*t,r[1]=-s*t,r[2]=-c*t,r[3]=a*t,r[4]=(c*e-v*u)*t,r[5]=(s*u-a*e)*t,r):null}function g(r){var n=B();return p(n,r),n}P.create=B,P.identity=C,P.copy=p,P.mul=m,P.translate=E,P.rotate=d,P.scale=l,P.invert=o,P.clone=g},function(k,P,_){var B=_(12),C=1e-4;function p(b){return b.replace(/^\s+/,"").replace(/\s+$/,"")}function m(b,x,A,w){var L=x[1]-x[0],D=A[1]-A[0];if(L===0)return D===0?A[0]:(A[0]+A[1])/2;if(w)if(L>0){if(b<=x[0])return A[0];if(b>=x[1])return A[1]}else{if(b>=x[0])return A[0];if(b<=x[1])return A[1]}else{if(b===x[0])return A[0];if(b===x[1])return A[1]}return(b-x[0])/L*D+A[0]}function E(b,x){switch(b){case"center":case"middle":b="50%";break;case"left":case"top":b="0%";break;case"right":case"bottom":b="100%";break}return typeof b=="string"?p(b).match(/%$/)?parseFloat(b)/100*x:parseFloat(b):b==null?NaN:+b}function d(b,x,A){return x==null&&(x=10),x=Math.min(Math.max(0,x),20),b=(+b).toFixed(x),A?b:+b}function l(b){return b.sort(function(x,A){return x-A}),b}function o(b){if(b=+b,isNaN(b))return 0;for(var x=1,A=0;Math.round(b*x)/x!==b;)x*=10,A++;return A}function g(b){var x=b.toString(),A=x.indexOf("e");if(A>0){var w=+x.slice(A+1);return w<0?-w:0}else{var L=x.indexOf(".");return L<0?0:x.length-1-L}}function r(b,x){var A=Math.log,w=Math.LN10,L=Math.floor(A(b[1]-b[0])/w),D=Math.round(A(Math.abs(x[1]-x[0]))/w),O=Math.min(Math.max(-L+D,0),20);return isFinite(O)?O:20}function n(b,x,A){if(!b[x])return 0;var w=B.reduce(b,function(Y,le){return Y+(isNaN(le)?0:le)},0);if(w===0)return 0;for(var L=Math.pow(10,A),D=B.map(b,function(Y){return(isNaN(Y)?0:Y)/w*L*100}),O=L*100,N=B.map(D,function(Y){return Math.floor(Y)}),I=B.reduce(N,function(Y,le){return Y+le},0),K=B.map(D,function(Y,le){return Y-N[le]});IF&&(F=K[j],W=j);++N[W],K[W]=0,++I}return N[x]/L}var a=9007199254740991;function c(b){var x=Math.PI*2;return(b%x+x)%x}function u(b){return b>-C&&b=-20?+b.toFixed(A<0?-A:0):b}function f(b){b.sort(function(I,K){return N(I,K,0)?-1:1});for(var x=-1/0,A=1,w=0;w=0}P.linearMap=m,P.parsePercent=E,P.round=d,P.asc=l,P.getPrecision=o,P.getPrecisionSafe=g,P.getPixelPrecision=r,P.getPercentWithPrecision=n,P.MAX_SAFE_INTEGER=a,P.remRadian=c,P.isRadianAroundZero=u,P.parseDate=v,P.quantity=e,P.nice=i,P.reformIntervals=f,P.isNumeric=y},function(k,P,_){"use strict";var B=_(5),C=_(11),p=_(21),m=function(){this._pool={},this._allocatedTextures=[]};m.prototype={constructor:m,get:function(r){var n=l(r);this._pool.hasOwnProperty(n)||(this._pool[n]=[]);var a=this._pool[n];if(!a.length){var c=new B.a(r);return this._allocatedTextures.push(c),c}return a.pop()},put:function(r){var n=l(r);this._pool.hasOwnProperty(n)||(this._pool[n]=[]);var a=this._pool[n];a.push(r)},clear:function(r){for(var n=0;nc&&a.push({pivot:Math.floor((u+c)/2),left:c,right:u});var c=r[n].pivot+1,u=r[n].right;u>c&&a.push({pivot:Math.floor((u+c)/2),left:c,right:u})}r=this._parts=a}else for(var n=0;n65535?this.indices instanceof Uint16Array&&(this.indices=new Uint32Array(this.indices)):this.indices instanceof Uint32Array&&(this.indices=new Uint16Array(this.indices)))},setTriangleCount:function(r){this.triangleCount!==r&&(r===0?this.indices=null:this.indices=this.vertexCount>65535?new Uint32Array(r*3):new Uint16Array(r*3))},_getCubicCurveApproxStep:function(r,n,a,c){var u=l.dist(r,n)+l.dist(a,n)+l.dist(c,a),s=1/(u+1)*this.segmentScale;return s},getCubicCurveVertexCount:function(r,n,a,c){var u=this._getCubicCurveApproxStep(r,n,a,c),s=Math.ceil(1/u);return this.useNativeLine?s*2:s*2+2},getCubicCurveTriangleCount:function(r,n,a,c){var u=this._getCubicCurveApproxStep(r,n,a,c),s=Math.ceil(1/u);return this.useNativeLine?0:s*2},getLineVertexCount:function(){return this.getPolylineVertexCount(o)},getLineTriangleCount:function(){return this.getPolylineTriangleCount(o)},getPolylineVertexCount:function(r){var n;if(typeof r=="number")n=r;else{var a=typeof r[0]!="number";n=a?r.length:r.length/2}return this.useNativeLine?(n-1)*2:(n-1)*2+2},getPolylineTriangleCount:function(r){var n;if(typeof r=="number")n=r;else{var a=typeof r[0]!="number";n=a?r.length:r.length/2}return this.useNativeLine?0:(n-1)*2},addCubicCurve:function(r,n,a,c,u,s){s==null&&(s=1);for(var v=r[0],e=r[1],t=n[0],i=n[1],f=a[0],y=a[1],b=c[0],x=c[1],A=this._getCubicCurveApproxStep(r,n,a,c),w=A*A,L=w*A,D=3*A,O=3*w,N=6*w,I=6*L,K=v-t*2+f,F=e-i*2+y,W=(t-f)*3-v+b,j=(i-y)*3-e+x,X=v,Y=e,le=(t-v)*D+K*O+W*L,J=(i-e)*D+F*O+j*L,ve=K*N+W*I,Ce=F*N+j*I,be=W*I,Ae=j*I,Ue=0,we=0,$e=Math.ceil(1/A),Re=new Float32Array(($e+1)*3),Re=[],ge=0,we=0;we<$e+1;we++)Re[ge++]=X,Re[ge++]=Y,X+=le,Y+=J,le+=ve,J+=Ce,ve+=be,Ce+=Ae,Ue+=A,Ue>1&&(X=le>0?Math.min(X,b):Math.max(X,b),Y=J>0?Math.min(Y,x):Math.max(Y,x));this.addPolyline(Re,u,s)},addLine:function(r,n,a,c){this.addPolyline([r,n],a,c)},addPolyline:function(){var r=l.create(),n=l.create(),a=l.create(),c=l.create(),u=[],s=[],v=[];return function(e,t,i,f,y){if(e.length){var b=typeof e[0]!="number";if(y==null&&(y=b?e.length:e.length/2),!(y<2)){f==null&&(f=0),i==null&&(i=1),this._itemVertexOffsets.push(this._vertexOffset);for(var x=b?typeof t[0]!="number":t.length/4===y,A=this.attributes.position,w=this.attributes.color,L=this.attributes.offset,D=this.attributes.normal,O=this.indices,N=this._vertexOffset,I,K=0;K1&&(A.copy(N,N-1),w.copy(N,N-1),N++);else{var j;if(K0){l.sub(r,u,v),l.sub(n,s,u),l.normalize(r,r),l.normalize(n,n),l.add(c,r,n),l.normalize(c,c);var X=i/2*Math.min(1/l.dot(r,c),2);a[0]=-c[1],a[1]=c[0],j=X}else l.sub(r,s,u),l.normalize(r,r),a[0]=-r[1],a[1]=r[0],j=i/2}else l.sub(r,u,v),l.normalize(r,r),a[0]=-r[1],a[1]=r[0],j=i/2;D.set(N,a),D.set(N+1,a),L.set(N,j),L.set(N+1,-j),l.copy(v,u),A.set(N,u),A.set(N+1,u),w.set(N,I),w.set(N+1,I),N+=2}if(this.useNativeLine)w.set(N,I),A.set(N,u),N++;else if(K>0){var Y=this._faceOffset*3,O=this.indices;O[Y]=N-4,O[Y+1]=N-3,O[Y+2]=N-2,O[Y+3]=N-3,O[Y+4]=N-1,O[Y+5]=N-2,this._faceOffset+=2}}this._vertexOffset=N}}}}(),setItemColor:function(r,n){for(var a=this._itemVertexOffsets[r],c=rD&&F=0&&this._viewsToDispose.splice(e,1),this.views.push(v),v.layer=this;var t=this.zr;v.scene.traverse(function(i){i.__zr=t,i.addAnimatorsToZr&&i.addAnimatorsToZr(t)})}};function r(v){var e=v.__zr;v.__zr=null,e&&v.removeAnimatorsFromZr&&v.removeAnimatorsFromZr(e)}g.prototype.removeView=function(v){if(v.layer===this){var e=this.views.indexOf(v);e>=0&&(this.views.splice(e,1),v.scene.traverse(r,this),v.layer=null,this._viewsToDispose.push(v))}},g.prototype.removeViewsAll=function(){this.views.forEach(function(v){v.scene.traverse(r,this),v.layer=null,this._viewsToDispose.push(v)},this),this.views.length=0},g.prototype.resize=function(v,e){var t=this.renderer;t.resize(v,e)},g.prototype.clear=function(){var v=this.renderer.gl;v.clearColor(0,0,0,0),v.depthMask(!0),v.colorMask(!0,!0,!0,!0),v.clear(v.DEPTH_BUFFER_BIT|v.COLOR_BUFFER_BIT)},g.prototype.clearDepth=function(){var v=this.renderer.gl;v.clear(v.DEPTH_BUFFER_BIT)},g.prototype.clearColor=function(){var v=this.renderer.gl;v.clearColor(0,0,0,0),v.clear(v.COLOR_BUFFER_BIT)},g.prototype.needsRefresh=function(){this.zr.refresh()},g.prototype.refresh=function(){for(var v=0;v20)){v=v.event;var i=this.pickObject(v.offsetX,v.offsetY);i&&(this._dispatchEvent(v.type,v,i),this._dispatchDataEvent(v.type,v,i));var f=this._clickToSetFocusPoint(v);if(f){var y=f.view.setDOFFocusOnPoint(f.distance);y&&this.zr.refresh()}}}},g.prototype._clickToSetFocusPoint=function(v){for(var e=this.renderer,t=e.viewport,i=this.views.length-1;i>=0;i--){var f=this.views[i];if(f.hasDOF()&&f.containPoint(v.offsetX,v.offsetY)){this._picking.scene=f.scene,this._picking.camera=f.camera,e.viewport=f.viewport;var y=this._picking.pick(v.offsetX,v.offsetY,!0);if(y)return y.view=f,y}}e.viewport=t},g.prototype.onglobalout=function(v){var e=this._hovered;e&&this._dispatchEvent("mouseout",v,{target:e.target})},g.prototype.pickObject=function(v,e){for(var t=[],i=this.renderer,f=i.viewport,y=0;y=0&&(A.dataIndex=this._lastDataIndex,A.seriesIndex=this._lastSeriesIndex,this.zr.handler.dispatchToElement(w,"mouseout",e)),x=!0):b!=null&&b!==this._lastEventData&&(this._lastEventData!=null&&(A.eventData=this._lastEventData,this.zr.handler.dispatchToElement(w,"mouseout",e)),x=!0),this._lastEventData=b,this._lastDataIndex=f,this._lastSeriesIndex=y),A.eventData=b,A.dataIndex=f,A.seriesIndex=y,(b!=null||parseInt(f,10)>=0)&&(this.zr.handler.dispatchToElement(w,v,e),x&&this.zr.handler.dispatchToElement(w,"mouseover",e))},g.prototype._dispatchToView=function(v,e){for(var t=0;t255?255:t}function E(t){return t=Math.round(t),t<0?0:t>360?360:t}function d(t){return t<0?0:t>1?1:t}function l(t){return t.length&&t.charAt(t.length-1)==="%"?m(parseFloat(t)/100*255):m(parseInt(t,10))}function o(t){return t.length&&t.charAt(t.length-1)==="%"?d(parseFloat(t)/100):d(parseFloat(t))}function g(t,i,f){return f<0?f+=1:f>1&&(f-=1),f*6<1?t+(i-t)*f*6:f*2<1?i:f*3<2?t+(i-t)*(2/3-f)*6:t}function r(t,i,f){return t+(i-t)*f}function n(t,i,f,y,b){return t[0]=i,t[1]=f,t[2]=y,t[3]=b,t}function a(t,i){return t[0]=i[0],t[1]=i[1],t[2]=i[2],t[3]=i[3],t}var c=new B.a(20),u=null;function s(t,i){u&&a(u,i),u=c.put(t,u||i.slice())}C.parse=function(t,i){if(t){i=i||[];var f=c.get(t);if(f)return a(i,f);t=t+"";var y=t.replace(/ /g,"").toLowerCase();if(y in p)return a(i,p[y]),s(t,i),i;if(y.charAt(0)==="#"){if(y.length===4){var b=parseInt(y.substr(1),16);if(!(b>=0&&b<=4095)){n(i,0,0,0,1);return}return n(i,(b&3840)>>4|(b&3840)>>8,b&240|(b&240)>>4,b&15|(b&15)<<4,1),s(t,i),i}else if(y.length===7){var b=parseInt(y.substr(1),16);if(!(b>=0&&b<=16777215)){n(i,0,0,0,1);return}return n(i,(b&16711680)>>16,(b&65280)>>8,b&255,1),s(t,i),i}return}var x=y.indexOf("("),A=y.indexOf(")");if(x!==-1&&A+1===y.length){var w=y.substr(0,x),L=y.substr(x+1,A-(x+1)).split(","),D=1;switch(w){case"rgba":if(L.length!==4){n(i,0,0,0,1);return}D=o(L.pop());case"rgb":if(L.length!==3){n(i,0,0,0,1);return}return n(i,l(L[0]),l(L[1]),l(L[2]),D),s(t,i),i;case"hsla":if(L.length!==4){n(i,0,0,0,1);return}return L[3]=o(L[3]),v(L,i),s(t,i),i;case"hsl":if(L.length!==3){n(i,0,0,0,1);return}return v(L,i),s(t,i),i;default:return}}n(i,0,0,0,1)}},C.parseToFloat=function(t,i){if(i=C.parse(t,i),!!i)return i[0]/=255,i[1]/=255,i[2]/=255,i};function v(t,i){var f=(parseFloat(t[0])%360+360)%360/360,y=o(t[1]),b=o(t[2]),x=b<=.5?b*(y+1):b+y-b*y,A=b*2-x;return i=i||[],n(i,m(g(A,x,f+1/3)*255),m(g(A,x,f)*255),m(g(A,x,f-1/3)*255),1),t.length===4&&(i[3]=t[3]),i}function e(t){if(t){var i=t[0]/255,f=t[1]/255,y=t[2]/255,b=Math.min(i,f,y),x=Math.max(i,f,y),A=x-b,w=(x+b)/2,L,D;if(A===0)L=0,D=0;else{w<.5?D=A/(x+b):D=A/(2-x-b);var O=((x-i)/6+A/2)/A,N=((x-f)/6+A/2)/A,I=((x-y)/6+A/2)/A;i===x?L=I-N:f===x?L=1/3+O-I:y===x&&(L=2/3+N-O),L<0&&(L+=1),L>1&&(L-=1)}var K=[L*360,D,w];return t[3]!=null&&K.push(t[3]),K}}C.lift=function(t,i){var f=C.parse(t);if(f){for(var y=0;y<3;y++)i<0?f[y]=f[y]*(1-i)|0:f[y]=(255-f[y])*i+f[y]|0;return C.stringify(f,f.length===4?"rgba":"rgb")}},C.toHex=function(t){var i=C.parse(t);if(i)return((1<<24)+(i[0]<<16)+(i[1]<<8)+ +i[2]).toString(16).slice(1)},C.fastLerp=function(t,i,f){if(!(!(i&&i.length)||!(t>=0&&t<=1))){f=f||[];var y=t*(i.length-1),b=Math.floor(y),x=Math.ceil(y),A=i[b],w=i[x],L=y-b;return f[0]=m(r(A[0],w[0],L)),f[1]=m(r(A[1],w[1],L)),f[2]=m(r(A[2],w[2],L)),f[3]=d(r(A[3],w[3],L)),f}},C.fastMapToColor=C.fastLerp,C.lerp=function(t,i,f){if(!(!(i&&i.length)||!(t>=0&&t<=1))){var y=t*(i.length-1),b=Math.floor(y),x=Math.ceil(y),A=C.parse(i[b]),w=C.parse(i[x]),L=y-b,D=C.stringify([m(r(A[0],w[0],L)),m(r(A[1],w[1],L)),m(r(A[2],w[2],L)),d(r(A[3],w[3],L))],"rgba");return f?{color:D,leftIndex:b,rightIndex:x,value:y}:D}},C.mapToColor=C.lerp,C.modifyHSL=function(t,i,f,y){if(t=C.parse(t),t)return t=e(t),i!=null&&(t[0]=E(i)),f!=null&&(t[1]=o(f)),y!=null&&(t[2]=o(y)),C.stringify(v(t),"rgba")},C.modifyAlpha=function(t,i){if(t=C.parse(t),t&&i!=null)return t[3]=d(i),C.stringify(t,"rgba")},C.stringify=function(t,i){if(!(!t||!t.length)){var f=t[0]+","+t[1]+","+t[2];return(i==="rgba"||i==="hsva"||i==="hsla")&&(f+=","+t[3]),i+"("+f+")"}},P.a=C},function(k,P,_){"use strict";var B=_(95),C=function(p){this._list=new B.a,this._map={},this._maxSize=p||10};C.prototype.setMaxSize=function(p){this._maxSize=p},C.prototype.put=function(p,m){if(typeof this._map[p]=="undefined"){var E=this._list.length();if(E>=this._maxSize&&E>0){var d=this._list.head;this._list.remove(d),delete this._map[d.key]}var l=this._list.insert(m);l.key=p,this._map[p]=l}},C.prototype.get=function(p){var m=this._map[p];if(typeof m!="undefined")return m!==this._list.tail&&(this._list.remove(m),this._list.insertEntry(m)),m.value},C.prototype.remove=function(p){var m=this._map[p];typeof m!="undefined"&&(delete this._map[p],this._list.remove(m))},C.prototype.clear=function(){this._list.clear(),this._map={}},P.a=C},function(k,P,_){"use strict";var B=function(){this.head=null,this.tail=null,this._length=0};B.prototype.insert=function(C){var p=new B.Entry(C);return this.insertEntry(p),p},B.prototype.insertAt=function(C,p){if(!(C<0)){for(var m=this.head,E=0;m&&E!=C;)m=m.next,E++;if(m){var d=new B.Entry(p),l=m.prev;l?(l.next=d,d.prev=l):this.head=d,d.next=m,m.prev=d}else this.insert(p)}},B.prototype.insertBeforeEntry=function(C,p){var m=new B.Entry(C),E=p.prev;E?(E.next=m,m.prev=E):this.head=m,m.next=p,p.prev=m,this._length++},B.prototype.insertEntry=function(C){this.head?(this.tail.next=C,C.prev=this.tail,this.tail=C):this.head=this.tail=C,this._length++},B.prototype.remove=function(C){var p=C.prev,m=C.next;p?p.next=m:this.head=m,m?m.prev=p:this.tail=p,C.next=C.prev=null,this._length--},B.prototype.removeAt=function(C){if(!(C<0)){for(var p=this.head,m=0;p&&m!=C;)p=p.next,m++;if(p)return this.remove(p),p.value}},B.prototype.getHead=function(){if(this.head)return this.head.value},B.prototype.getTail=function(){if(this.tail)return this.tail.value},B.prototype.getAt=function(C){if(!(C<0)){for(var p=this.head,m=0;p&&m!=C;)p=p.next,m++;return p.value}},B.prototype.indexOf=function(C){for(var p=this.head,m=0;p;){if(p.value===C)return m;p=p.next,m++}},B.prototype.length=function(){return this._length},B.prototype.isEmpty=function(){return this._length===0},B.prototype.forEach=function(C,p){for(var m=this.head,E=0,d=typeof p!="undefined";m;)d?C.call(p,m.value,E):C(m.value,E),m=m.next,E++},B.prototype.clear=function(){this.tail=this.head=null,this._length=0},B.Entry=function(C){this.value=C,this.next=null,this.prev=null},P.a=B},function(k,P,_){"use strict";var B=_(97),C=/for\s*?\(int\s*?_idx_\s*\=\s*([\w-]+)\;\s*_idx_\s*<\s*([\w-]+);\s*_idx_\s*\+\+\s*\)\s*\{\{([\s\S]+?)(?=\}\})\}\}/g;function p(o,g,r){function n(u,s,v,e){var t="";isNaN(s)&&(s in g?s=g[s]:s=a[s]),isNaN(v)&&(v in g?v=g[v]:v=a[v]);for(var i=parseInt(s);i0&&n.push("#define "+a.toUpperCase()+"_COUNT "+c)}if(r)for(var u=0;u=0&&F[I]>1e-4&&(r.transformMat4(X,K,O[W[I]]),r.scaleAndAdd(j,j,X,F[I]));Y.set(N,j)}}for(var N=0;N=0&&(E(o),o.coordinateSystem==="mapbox"&&(o.coordinateSystem="mapbox3D",l.mapbox3D=l.mapbox))}),d(l.xAxis3D),d(l.yAxis3D),d(l.zAxis3D),d(l.grid3D),m(l.geo3D)}},function(k,P,_){"use strict";function B(C){var p=new XMLHttpRequest;p.open("get",C.url),p.responseType=C.responseType||"text",C.onprogress&&(p.onprogress=function(m){if(m.lengthComputable){var E=m.loaded/m.total;C.onprogress(E,m.loaded,m.total)}else C.onprogress(null)}),p.onload=function(m){p.status>=400?C.onerror&&C.onerror():C.onload&&C.onload(p.response)},C.onerror&&(p.onerror=C.onerror),p.send(null)}P.a={get:B}},function(k,P,_){"use strict";P.a=`@export clay.basic.vertex uniform mat4 worldViewProjection : WORLDVIEWPROJECTION; uniform vec2 uvRepeat : [1.0, 1.0]; uniform vec2 uvOffset : [0.0, 0.0]; attribute vec2 texcoord : TEXCOORD_0; attribute vec3 position : POSITION; attribute vec3 barycentric; @import clay.chunk.skinning_header varying vec2 v_Texcoord; varying vec3 v_Barycentric; #ifdef VERTEX_COLOR attribute vec4 a_Color : COLOR; varying vec4 v_Color; #endif void main() { vec3 skinnedPosition = position; #ifdef SKINNING @import clay.chunk.skin_matrix skinnedPosition = (skinMatrixWS * vec4(position, 1.0)).xyz; #endif v_Texcoord = texcoord * uvRepeat + uvOffset; v_Barycentric = barycentric; gl_Position = worldViewProjection * vec4(skinnedPosition, 1.0); #ifdef VERTEX_COLOR v_Color = a_Color; #endif } @end @export clay.basic.fragment varying vec2 v_Texcoord; uniform sampler2D diffuseMap; uniform vec3 color : [1.0, 1.0, 1.0]; uniform vec3 emission : [0.0, 0.0, 0.0]; uniform float alpha : 1.0; #ifdef ALPHA_TEST uniform float alphaCutoff: 0.9; #endif #ifdef VERTEX_COLOR varying vec4 v_Color; #endif uniform float lineWidth : 0.0; uniform vec4 lineColor : [0.0, 0.0, 0.0, 0.6]; varying vec3 v_Barycentric; @import clay.util.edge_factor @import clay.util.rgbm @import clay.util.srgb @import clay.util.ACES void main() { #ifdef RENDER_TEXCOORD gl_FragColor = vec4(v_Texcoord, 1.0, 1.0); return; #endif gl_FragColor = vec4(color, alpha); #ifdef VERTEX_COLOR gl_FragColor *= v_Color; #endif #ifdef DIFFUSEMAP_ENABLED vec4 tex = decodeHDR(texture2D(diffuseMap, v_Texcoord)); #ifdef SRGB_DECODE tex = sRGBToLinear(tex); #endif #if defined(DIFFUSEMAP_ALPHA_ALPHA) gl_FragColor.a = tex.a; #endif gl_FragColor.rgb *= tex.rgb; #endif gl_FragColor.rgb += emission; if( lineWidth > 0.) { gl_FragColor.rgb = mix(gl_FragColor.rgb, lineColor.rgb, (1.0 - edgeFactor(lineWidth)) * lineColor.a); } #ifdef ALPHA_TEST if (gl_FragColor.a < alphaCutoff) { discard; } #endif #ifdef TONEMAPPING gl_FragColor.rgb = ACESToneMapping(gl_FragColor.rgb); #endif #ifdef SRGB_ENCODE gl_FragColor = linearTosRGB(gl_FragColor); #endif gl_FragColor = encodeHDR(gl_FragColor); } @end`},function(k,P,_){"use strict";var B=_(6),C=_(5),p=_(25),m=542327876,E=1,d=2,l=4,o=8,g=4096,r=131072,n=524288,a=8388608,c=8,u=4194304,s=4096,v=512,e=1024,t=2048,i=4096,f=8192,y=16384,b=32768,x=2097152,A=1,w=2,L=4,D=64,O=512,N=131072;function I(Fe){return Fe.charCodeAt(0)+(Fe.charCodeAt(1)<<8)+(Fe.charCodeAt(2)<<16)+(Fe.charCodeAt(3)<<24)}function K(Fe){return String.fromCharCode(Fe&255,Fe>>8&255,Fe>>16&255,Fe>>24&255)}var F=31,W=I("DXT1"),j=I("DXT3"),X=I("DXT5"),Y=0,le=1,J=2,ve=3,Ce=4,be=7,Ae=20,Ue=21,we=27,$e=28,Re=29,ge=30,Ze={parse:function(Fe,Te){var Ge=new Int32Array(Fe,0,F);if(Ge[Y]!==m||!Ge(Ae)&L)return null;var Be=Ge(Ue),V=Ge[Ce],q=Ge[ve],re=Ge[$e]&v,ee=Ge[J]&r,oe,$;switch(Be){case W:oe=8,$=B.a.COMPRESSED_RGB_S3TC_DXT1_EXT;break;case j:oe=16,$=B.a.COMPRESSED_RGBA_S3TC_DXT3_EXT;break;case X:oe=16,$=B.a.COMPRESSED_RGBA_S3TC_DXT5_EXT;break;default:return null}var fe=Ge[le]+4,xe=re?6:1,ne=1;ee&&(ne=Math.max(1,Ge[be]));for(var de=[],ut=0;ut0){var v=Math.pow(2,a[3]-128-8+s);c[u+0]=a[0]*v,c[u+1]=a[1]*v,c[u+2]=a[2]*v}else c[u+0]=0,c[u+1]=0,c[u+2]=0;return c[u+3]=1,c}function l(a,c,u){for(var s="",v=c;v0;)if(a[e][0]=c[u++],a[e][1]=c[u++],a[e][2]=c[u++],a[e][3]=c[u++],a[e][0]===1&&a[e][1]===1&&a[e][2]===1){for(var i=a[e][3]<>>0;i>0;i--)o(a[e-1],a[e]),e++,t--;v+=8}else e++,t--,v=0;return u}function r(a,c,u,s){if(sE)return g(a,c,u,s);var v=c[u++];if(v!=2)return g(a,c,u-1,s);if(a[0][1]=c[u++],a[0][2]=c[u++],v=c[u++],(a[0][2]<<8>>>0|v)>>>0!==s)return null;for(var v=0;v<4;v++)for(var e=0;e128){t=(t&127)>>>0;for(var i=c[u++];t--;)a[e++][v]=i}else for(;t--;)a[e++][v]=c[u++]}return u}var n={parseRGBE:function(a,c,u){u==null&&(u=0);var s=new Uint8Array(a),v=s.length;if(l(s,0,2)==="#?"){for(var e=2;e=v)){e+=2;for(var t="";e=0||(m.forEach(function(o){l.on(o,this[E(o)],this)},this),this._meshes.push(l))},detachFromMesh:function(l){var o=this._meshes.indexOf(l);o>=0&&this._meshes.splice(o,1),m.forEach(function(g){l.off(g,this[E(g)])},this)},dispose:function(){this._meshes.forEach(function(l){this.detachFromMesh(l)},this)}},P.a=d},function(k,P,_){"use strict";var B=_(19),C=_(108),p=B.a.extend({cubemap:null,castShadow:!1,_normalDistribution:null,_brdfLookup:null},{type:"AMBIENT_CUBEMAP_LIGHT",prefilter:function(m,E){this._brdfLookup||(this._normalDistribution=C.a.generateNormalDistribution(),this._brdfLookup=C.a.integrateBRDF(m,this._normalDistribution));var d=this.cubemap;if(!d.__prefiltered){var l=C.a.prefilterEnvironmentMap(m,d,{encodeRGBM:!0,width:E,height:E},this._normalDistribution,this._brdfLookup);this.cubemap=l.environmentMap,this.cubemap.__prefiltered=!0,d.dispose(m)}},uniformTemplates:{ambientCubemapLightColor:{type:"3f",value:function(m){var E=m.color,d=m.intensity;return[E[0]*d,E[1]*d,E[2]*d]}},ambientCubemapLightCubemap:{type:"t",value:function(m){return m.cubemap}},ambientCubemapLightBRDFLookup:{type:"t",value:function(m){return m._brdfLookup}}}});P.a=p},function(k,P,_){"use strict";var B=_(5),C=_(25),p=_(6),m=_(10),E=_(14),d=_(17),l=_(7),o=_(57),g=_(29),r=_(55),n=_(18),a=_(54),c=_(111),u=_(112),s={},v=["px","nx","py","ny","pz","nz"];s.prefilterEnvironmentMap=function(e,t,i,f,y){(!y||!f)&&(f=s.generateNormalDistribution(),y=s.integrateBRDF(e,f)),i=i||{};var b=i.width||64,x=i.height||64,A=i.type||t.type,w=new C.a({width:b,height:x,type:A,flipY:!1,mipmaps:[]});w.isPowerOfTwo()||console.warn("Width and height must be power of two to enable mipmap.");var L=Math.min(b,x),D=Math.log(L)/Math.log(2)+1,O=new d.a({shader:new l.a({vertex:l.a.source("clay.skybox.vertex"),fragment:u.a})});O.set("normalDistribution",f),i.encodeRGBM&&O.define("fragment","RGBM_ENCODE"),i.decodeRGBM&&O.define("fragment","RGBM_DECODE");var N=new g.a,I;if(t instanceof B.a){var K=new C.a({width:b,height:x,type:A===p.a.FLOAT?p.a.HALF_FLOAT:A});a.a.panoramaToCubeMap(e,t,K,{encodeRGBM:i.decodeRGBM}),t=K}I=new o.a({scene:N,material:O}),I.material.set("environmentMap",t);var F=new r.a({texture:w});i.encodeRGBM&&(A=w.type=p.a.UNSIGNED_BYTE);for(var W=new B.a({width:b,height:x,type:A}),j=new m.a({depthBuffer:!1}),X=n.a[A===p.a.UNSIGNED_BYTE?"Uint8Array":"Float32Array"],Y=0;Y>>16)>>>0;w=((w&1431655765)<<1|(w&2863311530)>>>1)>>>0,w=((w&858993459)<<2|(w&3435973836)>>>2)>>>0,w=((w&252645135)<<4|(w&4042322160)>>>4)>>>0,w=(((w&16711935)<<8|(w&4278255360)>>>8)>>>0)/4294967296;for(var L=0;L 0.0) { float G = G_Smith(roughness, NoV, NoL); float G_Vis = G * VoH / (NoH * NoV); float Fc = pow(1.0 - VoH, 5.0); A += (1.0 - Fc) * G_Vis; B += Fc * G_Vis; } } gl_FragColor = vec4(vec2(A, B) / fSampleNumber, 0.0, 1.0); } `},function(k,P,_){"use strict";P.a=`#define SAMPLE_NUMBER 1024 #define PI 3.14159265358979 uniform mat4 viewInverse : VIEWINVERSE; uniform samplerCube environmentMap; uniform sampler2D normalDistribution; uniform float roughness : 0.5; varying vec2 v_Texcoord; varying vec3 v_WorldPosition; const float fSampleNumber = float(SAMPLE_NUMBER); @import clay.util.rgbm vec3 importanceSampleNormal(float i, float roughness, vec3 N) { vec3 H = texture2D(normalDistribution, vec2(roughness, i)).rgb; vec3 upVector = abs(N.z) < 0.999 ? vec3(0.0, 0.0, 1.0) : vec3(1.0, 0.0, 0.0); vec3 tangentX = normalize(cross(upVector, N)); vec3 tangentY = cross(N, tangentX); return tangentX * H.x + tangentY * H.y + N * H.z; } void main() { vec3 eyePos = viewInverse[3].xyz; vec3 V = normalize(v_WorldPosition - eyePos); vec3 N = V; vec3 R = V; vec3 prefilteredColor = vec3(0.0); float totalWeight = 0.0; for (int i = 0; i < SAMPLE_NUMBER; i++) { vec3 H = importanceSampleNormal(float(i) / fSampleNumber, roughness, N); vec3 L = reflect(-V, H); float NoL = clamp(dot(N, L), 0.0, 1.0); if (NoL > 0.0) { prefilteredColor += decodeHDR(textureCube(environmentMap, L)).rgb * NoL; totalWeight += NoL; } } gl_FragColor = encodeHDR(vec4(prefilteredColor / totalWeight, 1.0)); } `},function(k,P,_){"use strict";var B=_(19),C=_(18),p=B.a.extend({castShadow:!1,coefficients:[]},function(){this._coefficientsTmpArr=new C.a.Float32Array(9*3)},{type:"AMBIENT_SH_LIGHT",uniformTemplates:{ambientSHLightColor:{type:"3f",value:function(m){var E=m.color,d=m.intensity;return[E[0]*d,E[1]*d,E[2]*d]}},ambientSHLightCoefficients:{type:"3f",value:function(m){for(var E=m._coefficientsTmpArr,d=0;d=0&&a.splice(s,1)}),a.push(c),this.__zr&&this.__zr.animation.addAnimator(c),c},stopAnimation:function(m){this._animators=this._animators||[];for(var E=this._animators,d=E.length,l=0;l.5?b:y}function r(y,b,x,A,w){var L=y.length;if(w==1)for(var D=0;Dw;if(L)y.length=w;else for(var D=A;D=0&&!(le[$]<=oe);$--);$=Math.min($,I-2)}else{for($=$e;$oe);$++);$=Math.min($-1,I-2)}$e=$,Re=oe;var fe=le[$+1]-le[$];if(fe!==0)if(Ze=(oe-le[$])/fe,N)if(Te=J[$],Fe=J[$===0?$:$-1],Ge=J[$>I-2?I-1:$+1],Be=J[$>I-3?I-1:$+2],F)c(Fe,Te,Ge,Be,Ze,Ze*Ze,Ze*Ze*Ze,D(ee,w),X);else{var xe;if(W)xe=c(Fe,Te,Ge,Be,Ze,Ze*Ze,Ze*Ze*Ze,V,1),xe=v(V);else{if(j)return g(Te,Ge,Ze);xe=u(Fe,Te,Ge,Be,Ze,Ze*Ze,Ze*Ze*Ze)}O(ee,w,xe)}else if(F)r(J[$],J[$+1],Ze,D(ee,w),X);else{var xe;if(W)r(J[$],J[$+1],Ze,V,1),xe=v(V);else{if(j)return g(J[$],J[$+1],Ze);xe=o(J[$],J[$+1],Ze)}O(ee,w,xe)}},re=new B({target:y._target,life:Y,loop:y._loop,delay:y._delay,onframe:q,ondestroy:x});return b&&b!=="spline"&&(re.easing=b),re}}}var i=function(y,b,x,A){this._tracks={},this._target=y,this._loop=b||!1,this._getter=x||d,this._setter=A||l,this._clipCount=0,this._delay=0,this._doneList=[],this._onframeList=[],this._clipList=[]};i.prototype={when:function(y,b){var x=this._tracks;for(var A in b)if(b.hasOwnProperty(A)){if(!x[A]){x[A]=[];var w=this._getter(this._target,A);if(w==null)continue;y!==0&&x[A].push({time:0,value:s(w)})}x[A].push({time:y,value:b[A]})}return this},during:function(y){return this._onframeList.push(y),this},pause:function(){for(var y=0;y255?255:D}function m(D){return D=Math.round(D),D<0?0:D>360?360:D}function E(D){return D<0?0:D>1?1:D}function d(D){return D.length&&D.charAt(D.length-1)==="%"?p(parseFloat(D)/100*255):p(parseInt(D,10))}function l(D){return D.length&&D.charAt(D.length-1)==="%"?E(parseFloat(D)/100):E(parseFloat(D))}function o(D,O,N){return N<0?N+=1:N>1&&(N-=1),N*6<1?D+(O-D)*N*6:N*2<1?O:N*3<2?D+(O-D)*(2/3-N)*6:D}function g(D,O,N){return D+(O-D)*N}function r(D,O,N,I,K){return D[0]=O,D[1]=N,D[2]=I,D[3]=K,D}function n(D,O){return D[0]=O[0],D[1]=O[1],D[2]=O[2],D[3]=O[3],D}var a=new B(20),c=null;function u(D,O){c&&n(c,O),c=a.put(D,c||O.slice())}function s(D,O){if(D){O=O||[];var N=a.get(D);if(N)return n(O,N);D=D+"";var I=D.replace(/ /g,"").toLowerCase();if(I in C)return n(O,C[I]),u(D,O),O;if(I.charAt(0)==="#"){if(I.length===4){var K=parseInt(I.substr(1),16);if(!(K>=0&&K<=4095)){r(O,0,0,0,1);return}return r(O,(K&3840)>>4|(K&3840)>>8,K&240|(K&240)>>4,K&15|(K&15)<<4,1),u(D,O),O}else if(I.length===7){var K=parseInt(I.substr(1),16);if(!(K>=0&&K<=16777215)){r(O,0,0,0,1);return}return r(O,(K&16711680)>>16,(K&65280)>>8,K&255,1),u(D,O),O}return}var F=I.indexOf("("),W=I.indexOf(")");if(F!==-1&&W+1===I.length){var j=I.substr(0,F),X=I.substr(F+1,W-(F+1)).split(","),Y=1;switch(j){case"rgba":if(X.length!==4){r(O,0,0,0,1);return}Y=l(X.pop());case"rgb":if(X.length!==3){r(O,0,0,0,1);return}return r(O,d(X[0]),d(X[1]),d(X[2]),Y),u(D,O),O;case"hsla":if(X.length!==4){r(O,0,0,0,1);return}return X[3]=l(X[3]),v(X,O),u(D,O),O;case"hsl":if(X.length!==3){r(O,0,0,0,1);return}return v(X,O),u(D,O),O;default:return}}r(O,0,0,0,1)}}function v(D,O){var N=(parseFloat(D[0])%360+360)%360/360,I=l(D[1]),K=l(D[2]),F=K<=.5?K*(I+1):K+I-K*I,W=K*2-F;return O=O||[],r(O,p(o(W,F,N+1/3)*255),p(o(W,F,N)*255),p(o(W,F,N-1/3)*255),1),D.length===4&&(O[3]=D[3]),O}function e(D){if(D){var O=D[0]/255,N=D[1]/255,I=D[2]/255,K=Math.min(O,N,I),F=Math.max(O,N,I),W=F-K,j=(F+K)/2,X,Y;if(W===0)X=0,Y=0;else{j<.5?Y=W/(F+K):Y=W/(2-F-K);var le=((F-O)/6+W/2)/W,J=((F-N)/6+W/2)/W,ve=((F-I)/6+W/2)/W;O===F?X=ve-J:N===F?X=1/3+le-ve:I===F&&(X=2/3+J-le),X<0&&(X+=1),X>1&&(X-=1)}var Ce=[X*360,Y,j];return D[3]!=null&&Ce.push(D[3]),Ce}}function t(D,O){var N=s(D);if(N){for(var I=0;I<3;I++)O<0?N[I]=N[I]*(1-O)|0:N[I]=(255-N[I])*O+N[I]|0;return L(N,N.length===4?"rgba":"rgb")}}function i(D){var O=s(D);if(O)return((1<<24)+(O[0]<<16)+(O[1]<<8)+ +O[2]).toString(16).slice(1)}function f(D,O,N){if(!(!(O&&O.length)||!(D>=0&&D<=1))){N=N||[];var I=D*(O.length-1),K=Math.floor(I),F=Math.ceil(I),W=O[K],j=O[F],X=I-K;return N[0]=p(g(W[0],j[0],X)),N[1]=p(g(W[1],j[1],X)),N[2]=p(g(W[2],j[2],X)),N[3]=E(g(W[3],j[3],X)),N}}var y=f;function b(D,O,N){if(!(!(O&&O.length)||!(D>=0&&D<=1))){var I=D*(O.length-1),K=Math.floor(I),F=Math.ceil(I),W=s(O[K]),j=s(O[F]),X=I-K,Y=L([p(g(W[0],j[0],X)),p(g(W[1],j[1],X)),p(g(W[2],j[2],X)),E(g(W[3],j[3],X))],"rgba");return N?{color:Y,leftIndex:K,rightIndex:F,value:I}:Y}}var x=b;function A(D,O,N,I){if(D=s(D),D)return D=e(D),O!=null&&(D[0]=m(O)),N!=null&&(D[1]=l(N)),I!=null&&(D[2]=l(I)),L(v(D),"rgba")}function w(D,O){if(D=s(D),D&&O!=null)return D[3]=E(O),L(D,"rgba")}function L(D,O){if(!(!D||!D.length)){var N=D[0]+","+D[1]+","+D[2];return(O==="rgba"||O==="hsva"||O==="hsla")&&(N+=","+D[3]),O+"("+N+")"}}P.parse=s,P.lift=t,P.toHex=i,P.fastLerp=f,P.fastMapToColor=y,P.lerp=b,P.mapToColor=x,P.modifyHSL=A,P.modifyAlpha=w,P.stringify=L},function(k,P,_){"use strict";P.a=` @export clay.util.rand highp float rand(vec2 uv) { const highp float a = 12.9898, b = 78.233, c = 43758.5453; highp float dt = dot(uv.xy, vec2(a,b)), sn = mod(dt, 3.141592653589793); return fract(sin(sn) * c); } @end @export clay.util.calculate_attenuation uniform float attenuationFactor : 5.0; float lightAttenuation(float dist, float range) { float attenuation = 1.0; attenuation = dist*dist/(range*range+1.0); float att_s = attenuationFactor; attenuation = 1.0/(attenuation*att_s+1.0); att_s = 1.0/(att_s+1.0); attenuation = attenuation - att_s; attenuation /= 1.0 - att_s; return clamp(attenuation, 0.0, 1.0); } @end @export clay.util.edge_factor float edgeFactor(float width) { vec3 d = fwidth(v_Barycentric); vec3 a3 = smoothstep(vec3(0.0), d * width, v_Barycentric); return min(min(a3.x, a3.y), a3.z); } @end @export clay.util.encode_float vec4 encodeFloat(const in float depth) { const vec4 bitShifts = vec4(256.0*256.0*256.0, 256.0*256.0, 256.0, 1.0); const vec4 bit_mask = vec4(0.0, 1.0/256.0, 1.0/256.0, 1.0/256.0); vec4 res = fract(depth * bitShifts); res -= res.xxyz * bit_mask; return res; } @end @export clay.util.decode_float float decodeFloat(const in vec4 color) { const vec4 bitShifts = vec4(1.0/(256.0*256.0*256.0), 1.0/(256.0*256.0), 1.0/256.0, 1.0); return dot(color, bitShifts); } @end @export clay.util.float @import clay.util.encode_float @import clay.util.decode_float @end @export clay.util.rgbm_decode vec3 RGBMDecode(vec4 rgbm, float range) { return range * rgbm.rgb * rgbm.a; } @end @export clay.util.rgbm_encode vec4 RGBMEncode(vec3 color, float range) { if (dot(color, color) == 0.0) { return vec4(0.0); } vec4 rgbm; color /= range; rgbm.a = clamp(max(max(color.r, color.g), max(color.b, 1e-6)), 0.0, 1.0); rgbm.a = ceil(rgbm.a * 255.0) / 255.0; rgbm.rgb = color / rgbm.a; return rgbm; } @end @export clay.util.rgbm @import clay.util.rgbm_decode @import clay.util.rgbm_encode vec4 decodeHDR(vec4 color) { #if defined(RGBM_DECODE) || defined(RGBM) return vec4(RGBMDecode(color, 51.5), 1.0); #else return color; #endif } vec4 encodeHDR(vec4 color) { #if defined(RGBM_ENCODE) || defined(RGBM) return RGBMEncode(color.xyz, 51.5); #else return color; #endif } @end @export clay.util.srgb vec4 sRGBToLinear(in vec4 value) { return vec4(mix(pow(value.rgb * 0.9478672986 + vec3(0.0521327014), vec3(2.4)), value.rgb * 0.0773993808, vec3(lessThanEqual(value.rgb, vec3(0.04045)))), value.w); } vec4 linearTosRGB(in vec4 value) { return vec4(mix(pow(value.rgb, vec3(0.41666)) * 1.055 - vec3(0.055), value.rgb * 12.92, vec3(lessThanEqual(value.rgb, vec3(0.0031308)))), value.w); } @end @export clay.chunk.skinning_header #ifdef SKINNING attribute vec3 weight : WEIGHT; attribute vec4 joint : JOINT; uniform mat4 skinMatrix[JOINT_COUNT] : SKIN_MATRIX; mat4 getSkinMatrix(float idx) { return skinMatrix[int(idx)]; } #endif @end @export clay.chunk.skin_matrix mat4 skinMatrixWS = getSkinMatrix(joint.x) * weight.x; if (weight.y > 1e-4) { skinMatrixWS += getSkinMatrix(joint.y) * weight.y; } if (weight.z > 1e-4) { skinMatrixWS += getSkinMatrix(joint.z) * weight.z; } float weightW = 1.0-weight.x-weight.y-weight.z; if (weightW > 1e-4) { skinMatrixWS += getSkinMatrix(joint.w) * weightW; } @end @export clay.util.parallax_correct vec3 parallaxCorrect(in vec3 dir, in vec3 pos, in vec3 boxMin, in vec3 boxMax) { vec3 first = (boxMax - pos) / dir; vec3 second = (boxMin - pos) / dir; vec3 further = max(first, second); float dist = min(further.x, min(further.y, further.z)); vec3 fixedPos = pos + dir * dist; vec3 boxCenter = (boxMax + boxMin) * 0.5; return normalize(fixedPos - boxCenter); } @end @export clay.util.clamp_sample vec4 clampSample(const in sampler2D texture, const in vec2 coord) { #ifdef STEREO float eye = step(0.5, coord.x) * 0.5; vec2 coordClamped = clamp(coord, vec2(eye, 0.0), vec2(0.5 + eye, 1.0)); #else vec2 coordClamped = clamp(coord, vec2(0.0), vec2(1.0)); #endif return texture2D(texture, coordClamped); } @end @export clay.util.ACES vec3 ACESToneMapping(vec3 color) { const float A = 2.51; const float B = 0.03; const float C = 2.43; const float D = 0.59; const float E = 0.14; return (color * (A * color + B)) / (color * (C * color + D) + E); } @end`},function(k,P,_){"use strict";P.a=` @export ecgl.common.transformUniforms uniform mat4 worldViewProjection : WORLDVIEWPROJECTION; uniform mat4 worldInverseTranspose : WORLDINVERSETRANSPOSE; uniform mat4 world : WORLD; @end @export ecgl.common.attributes attribute vec3 position : POSITION; attribute vec2 texcoord : TEXCOORD_0; attribute vec3 normal : NORMAL; @end @export ecgl.common.uv.header uniform vec2 uvRepeat : [1.0, 1.0]; uniform vec2 uvOffset : [0.0, 0.0]; uniform vec2 detailUvRepeat : [1.0, 1.0]; uniform vec2 detailUvOffset : [0.0, 0.0]; varying vec2 v_Texcoord; varying vec2 v_DetailTexcoord; @end @export ecgl.common.uv.main v_Texcoord = texcoord * uvRepeat + uvOffset; v_DetailTexcoord = texcoord * detailUvRepeat + detailUvOffset; @end @export ecgl.common.uv.fragmentHeader varying vec2 v_Texcoord; varying vec2 v_DetailTexcoord; @end @export ecgl.common.albedo.main vec4 albedoTexel = vec4(1.0); #ifdef DIFFUSEMAP_ENABLED albedoTexel = texture2D(diffuseMap, v_Texcoord); #ifdef SRGB_DECODE albedoTexel = sRGBToLinear(albedoTexel); #endif #endif #ifdef DETAILMAP_ENABLED vec4 detailTexel = texture2D(detailMap, v_DetailTexcoord); #ifdef SRGB_DECODE detailTexel = sRGBToLinear(detailTexel); #endif albedoTexel.rgb = mix(albedoTexel.rgb, detailTexel.rgb, detailTexel.a); albedoTexel.a = detailTexel.a + (1.0 - detailTexel.a) * albedoTexel.a; #endif @end @export ecgl.common.wireframe.vertexHeader #ifdef WIREFRAME_QUAD attribute vec4 barycentric; varying vec4 v_Barycentric; #elif defined(WIREFRAME_TRIANGLE) attribute vec3 barycentric; varying vec3 v_Barycentric; #endif @end @export ecgl.common.wireframe.vertexMain #if defined(WIREFRAME_QUAD) || defined(WIREFRAME_TRIANGLE) v_Barycentric = barycentric; #endif @end @export ecgl.common.wireframe.fragmentHeader uniform float wireframeLineWidth : 1; uniform vec4 wireframeLineColor: [0, 0, 0, 0.5]; #ifdef WIREFRAME_QUAD varying vec4 v_Barycentric; float edgeFactor () { vec4 d = fwidth(v_Barycentric); vec4 a4 = smoothstep(vec4(0.0), d * wireframeLineWidth, v_Barycentric); return min(min(min(a4.x, a4.y), a4.z), a4.w); } #elif defined(WIREFRAME_TRIANGLE) varying vec3 v_Barycentric; float edgeFactor () { vec3 d = fwidth(v_Barycentric); vec3 a3 = smoothstep(vec3(0.0), d * wireframeLineWidth, v_Barycentric); return min(min(a3.x, a3.y), a3.z); } #endif @end @export ecgl.common.wireframe.fragmentMain #if defined(WIREFRAME_QUAD) || defined(WIREFRAME_TRIANGLE) if (wireframeLineWidth > 0.) { vec4 lineColor = wireframeLineColor; #ifdef SRGB_DECODE lineColor = sRGBToLinear(lineColor); #endif gl_FragColor.rgb = mix(gl_FragColor.rgb, lineColor.rgb, (1.0 - edgeFactor()) * lineColor.a); } #endif @end @export ecgl.common.bumpMap.header #ifdef BUMPMAP_ENABLED uniform sampler2D bumpMap; uniform float bumpScale : 1.0; vec3 bumpNormal(vec3 surfPos, vec3 surfNormal, vec3 baseNormal) { vec2 dSTdx = dFdx(v_Texcoord); vec2 dSTdy = dFdy(v_Texcoord); float Hll = bumpScale * texture2D(bumpMap, v_Texcoord).x; float dHx = bumpScale * texture2D(bumpMap, v_Texcoord + dSTdx).x - Hll; float dHy = bumpScale * texture2D(bumpMap, v_Texcoord + dSTdy).x - Hll; vec3 vSigmaX = dFdx(surfPos); vec3 vSigmaY = dFdy(surfPos); vec3 vN = surfNormal; vec3 R1 = cross(vSigmaY, vN); vec3 R2 = cross(vN, vSigmaX); float fDet = dot(vSigmaX, R1); vec3 vGrad = sign(fDet) * (dHx * R1 + dHy * R2); return normalize(abs(fDet) * baseNormal - vGrad); } #endif @end @export ecgl.common.normalMap.vertexHeader #ifdef NORMALMAP_ENABLED attribute vec4 tangent : TANGENT; varying vec3 v_Tangent; varying vec3 v_Bitangent; #endif @end @export ecgl.common.normalMap.vertexMain #ifdef NORMALMAP_ENABLED if (dot(tangent, tangent) > 0.0) { v_Tangent = normalize((worldInverseTranspose * vec4(tangent.xyz, 0.0)).xyz); v_Bitangent = normalize(cross(v_Normal, v_Tangent) * tangent.w); } #endif @end @export ecgl.common.normalMap.fragmentHeader #ifdef NORMALMAP_ENABLED uniform sampler2D normalMap; varying vec3 v_Tangent; varying vec3 v_Bitangent; #endif @end @export ecgl.common.normalMap.fragmentMain #ifdef NORMALMAP_ENABLED if (dot(v_Tangent, v_Tangent) > 0.0) { vec3 normalTexel = texture2D(normalMap, v_DetailTexcoord).xyz; if (dot(normalTexel, normalTexel) > 0.0) { N = normalTexel * 2.0 - 1.0; mat3 tbn = mat3(v_Tangent, v_Bitangent, v_Normal); N = normalize(tbn * N); } } #endif @end @export ecgl.common.vertexAnimation.header #ifdef VERTEX_ANIMATION attribute vec3 prevPosition; attribute vec3 prevNormal; uniform float percent; #endif @end @export ecgl.common.vertexAnimation.main #ifdef VERTEX_ANIMATION vec3 pos = mix(prevPosition, position, percent); vec3 norm = mix(prevNormal, normal, percent); #else vec3 pos = position; vec3 norm = normal; #endif @end @export ecgl.common.ssaoMap.header #ifdef SSAOMAP_ENABLED uniform sampler2D ssaoMap; uniform vec4 viewport : VIEWPORT; #endif @end @export ecgl.common.ssaoMap.main float ao = 1.0; #ifdef SSAOMAP_ENABLED ao = texture2D(ssaoMap, (gl_FragCoord.xy - viewport.xy) / viewport.zw).r; #endif @end @export ecgl.common.diffuseLayer.header #if (LAYER_DIFFUSEMAP_COUNT > 0) uniform float layerDiffuseIntensity[LAYER_DIFFUSEMAP_COUNT]; uniform sampler2D layerDiffuseMap[LAYER_DIFFUSEMAP_COUNT]; #endif @end @export ecgl.common.emissiveLayer.header #if (LAYER_EMISSIVEMAP_COUNT > 0) uniform float layerEmissionIntensity[LAYER_EMISSIVEMAP_COUNT]; uniform sampler2D layerEmissiveMap[LAYER_EMISSIVEMAP_COUNT]; #endif @end @export ecgl.common.layers.header @import ecgl.common.diffuseLayer.header @import ecgl.common.emissiveLayer.header @end @export ecgl.common.diffuseLayer.main #if (LAYER_DIFFUSEMAP_COUNT > 0) for (int _idx_ = 0; _idx_ < LAYER_DIFFUSEMAP_COUNT; _idx_++) {{ float intensity = layerDiffuseIntensity[_idx_]; vec4 texel2 = texture2D(layerDiffuseMap[_idx_], v_Texcoord); #ifdef SRGB_DECODE texel2 = sRGBToLinear(texel2); #endif albedoTexel.rgb = mix(albedoTexel.rgb, texel2.rgb * intensity, texel2.a); albedoTexel.a = texel2.a + (1.0 - texel2.a) * albedoTexel.a; }} #endif @end @export ecgl.common.emissiveLayer.main #if (LAYER_EMISSIVEMAP_COUNT > 0) for (int _idx_ = 0; _idx_ < LAYER_EMISSIVEMAP_COUNT; _idx_++) {{ vec4 texel2 = texture2D(layerEmissiveMap[_idx_], v_Texcoord) * layerEmissionIntensity[_idx_]; #ifdef SRGB_DECODE texel2 = sRGBToLinear(texel2); #endif float intensity = layerEmissionIntensity[_idx_]; gl_FragColor.rgb += texel2.rgb * texel2.a * intensity; }} #endif @end `},function(k,P,_){"use strict";P.a=`@export ecgl.color.vertex uniform mat4 worldViewProjection : WORLDVIEWPROJECTION; @import ecgl.common.uv.header attribute vec2 texcoord : TEXCOORD_0; attribute vec3 position: POSITION; @import ecgl.common.wireframe.vertexHeader #ifdef VERTEX_COLOR attribute vec4 a_Color : COLOR; varying vec4 v_Color; #endif #ifdef VERTEX_ANIMATION attribute vec3 prevPosition; uniform float percent : 1.0; #endif void main() { #ifdef VERTEX_ANIMATION vec3 pos = mix(prevPosition, position, percent); #else vec3 pos = position; #endif gl_Position = worldViewProjection * vec4(pos, 1.0); @import ecgl.common.uv.main #ifdef VERTEX_COLOR v_Color = a_Color; #endif @import ecgl.common.wireframe.vertexMain } @end @export ecgl.color.fragment #define LAYER_DIFFUSEMAP_COUNT 0 #define LAYER_EMISSIVEMAP_COUNT 0 uniform sampler2D diffuseMap; uniform sampler2D detailMap; uniform vec4 color : [1.0, 1.0, 1.0, 1.0]; #ifdef VERTEX_COLOR varying vec4 v_Color; #endif @import ecgl.common.layers.header @import ecgl.common.uv.fragmentHeader @import ecgl.common.wireframe.fragmentHeader @import clay.util.srgb void main() { #ifdef SRGB_DECODE gl_FragColor = sRGBToLinear(color); #else gl_FragColor = color; #endif #ifdef VERTEX_COLOR gl_FragColor *= v_Color; #endif @import ecgl.common.albedo.main @import ecgl.common.diffuseLayer.main gl_FragColor *= albedoTexel; @import ecgl.common.emissiveLayer.main @import ecgl.common.wireframe.fragmentMain } @end`},function(k,P,_){"use strict";P.a=`/** * http: */ @export ecgl.lambert.vertex @import ecgl.common.transformUniforms @import ecgl.common.uv.header @import ecgl.common.attributes @import ecgl.common.wireframe.vertexHeader #ifdef VERTEX_COLOR attribute vec4 a_Color : COLOR; varying vec4 v_Color; #endif @import ecgl.common.vertexAnimation.header varying vec3 v_Normal; varying vec3 v_WorldPosition; void main() { @import ecgl.common.uv.main @import ecgl.common.vertexAnimation.main gl_Position = worldViewProjection * vec4(pos, 1.0); v_Normal = normalize((worldInverseTranspose * vec4(norm, 0.0)).xyz); v_WorldPosition = (world * vec4(pos, 1.0)).xyz; #ifdef VERTEX_COLOR v_Color = a_Color; #endif @import ecgl.common.wireframe.vertexMain } @end @export ecgl.lambert.fragment #define LAYER_DIFFUSEMAP_COUNT 0 #define LAYER_EMISSIVEMAP_COUNT 0 #define NORMAL_UP_AXIS 1 #define NORMAL_FRONT_AXIS 2 @import ecgl.common.uv.fragmentHeader varying vec3 v_Normal; varying vec3 v_WorldPosition; uniform sampler2D diffuseMap; uniform sampler2D detailMap; @import ecgl.common.layers.header uniform float emissionIntensity: 1.0; uniform vec4 color : [1.0, 1.0, 1.0, 1.0]; uniform mat4 viewInverse : VIEWINVERSE; #ifdef AMBIENT_LIGHT_COUNT @import clay.header.ambient_light #endif #ifdef AMBIENT_SH_LIGHT_COUNT @import clay.header.ambient_sh_light #endif #ifdef DIRECTIONAL_LIGHT_COUNT @import clay.header.directional_light #endif #ifdef VERTEX_COLOR varying vec4 v_Color; #endif @import ecgl.common.ssaoMap.header @import ecgl.common.bumpMap.header @import clay.util.srgb @import ecgl.common.wireframe.fragmentHeader @import clay.plugin.compute_shadow_map void main() { #ifdef SRGB_DECODE gl_FragColor = sRGBToLinear(color); #else gl_FragColor = color; #endif #ifdef VERTEX_COLOR #ifdef SRGB_DECODE gl_FragColor *= sRGBToLinear(v_Color); #else gl_FragColor *= v_Color; #endif #endif @import ecgl.common.albedo.main @import ecgl.common.diffuseLayer.main gl_FragColor *= albedoTexel; vec3 N = v_Normal; #ifdef DOUBLE_SIDED vec3 eyePos = viewInverse[3].xyz; vec3 V = normalize(eyePos - v_WorldPosition); if (dot(N, V) < 0.0) { N = -N; } #endif float ambientFactor = 1.0; #ifdef BUMPMAP_ENABLED N = bumpNormal(v_WorldPosition, v_Normal, N); ambientFactor = dot(v_Normal, N); #endif vec3 N2 = vec3(N.x, N[NORMAL_UP_AXIS], N[NORMAL_FRONT_AXIS]); vec3 diffuseColor = vec3(0.0, 0.0, 0.0); @import ecgl.common.ssaoMap.main #ifdef AMBIENT_LIGHT_COUNT for(int i = 0; i < AMBIENT_LIGHT_COUNT; i++) { diffuseColor += ambientLightColor[i] * ambientFactor * ao; } #endif #ifdef AMBIENT_SH_LIGHT_COUNT for(int _idx_ = 0; _idx_ < AMBIENT_SH_LIGHT_COUNT; _idx_++) {{ diffuseColor += calcAmbientSHLight(_idx_, N2) * ambientSHLightColor[_idx_] * ao; }} #endif #ifdef DIRECTIONAL_LIGHT_COUNT #if defined(DIRECTIONAL_LIGHT_SHADOWMAP_COUNT) float shadowContribsDir[DIRECTIONAL_LIGHT_COUNT]; if(shadowEnabled) { computeShadowOfDirectionalLights(v_WorldPosition, shadowContribsDir); } #endif for(int i = 0; i < DIRECTIONAL_LIGHT_COUNT; i++) { vec3 lightDirection = -directionalLightDirection[i]; vec3 lightColor = directionalLightColor[i]; float shadowContrib = 1.0; #if defined(DIRECTIONAL_LIGHT_SHADOWMAP_COUNT) if (shadowEnabled) { shadowContrib = shadowContribsDir[i]; } #endif float ndl = dot(N, normalize(lightDirection)) * shadowContrib; diffuseColor += lightColor * clamp(ndl, 0.0, 1.0); } #endif gl_FragColor.rgb *= diffuseColor; @import ecgl.common.emissiveLayer.main @import ecgl.common.wireframe.fragmentMain } @end`},function(k,P,_){"use strict";P.a=`@export ecgl.realistic.vertex @import ecgl.common.transformUniforms @import ecgl.common.uv.header @import ecgl.common.attributes @import ecgl.common.wireframe.vertexHeader #ifdef VERTEX_COLOR attribute vec4 a_Color : COLOR; varying vec4 v_Color; #endif #ifdef NORMALMAP_ENABLED attribute vec4 tangent : TANGENT; varying vec3 v_Tangent; varying vec3 v_Bitangent; #endif @import ecgl.common.vertexAnimation.header varying vec3 v_Normal; varying vec3 v_WorldPosition; void main() { @import ecgl.common.uv.main @import ecgl.common.vertexAnimation.main gl_Position = worldViewProjection * vec4(pos, 1.0); v_Normal = normalize((worldInverseTranspose * vec4(norm, 0.0)).xyz); v_WorldPosition = (world * vec4(pos, 1.0)).xyz; #ifdef VERTEX_COLOR v_Color = a_Color; #endif #ifdef NORMALMAP_ENABLED v_Tangent = normalize((worldInverseTranspose * vec4(tangent.xyz, 0.0)).xyz); v_Bitangent = normalize(cross(v_Normal, v_Tangent) * tangent.w); #endif @import ecgl.common.wireframe.vertexMain } @end @export ecgl.realistic.fragment #define LAYER_DIFFUSEMAP_COUNT 0 #define LAYER_EMISSIVEMAP_COUNT 0 #define PI 3.14159265358979 #define ROUGHNESS_CHANEL 0 #define METALNESS_CHANEL 1 #define NORMAL_UP_AXIS 1 #define NORMAL_FRONT_AXIS 2 #ifdef VERTEX_COLOR varying vec4 v_Color; #endif @import ecgl.common.uv.fragmentHeader varying vec3 v_Normal; varying vec3 v_WorldPosition; uniform sampler2D diffuseMap; uniform sampler2D detailMap; uniform sampler2D metalnessMap; uniform sampler2D roughnessMap; @import ecgl.common.layers.header uniform float emissionIntensity: 1.0; uniform vec4 color : [1.0, 1.0, 1.0, 1.0]; uniform float metalness : 0.0; uniform float roughness : 0.5; uniform mat4 viewInverse : VIEWINVERSE; #ifdef AMBIENT_LIGHT_COUNT @import clay.header.ambient_light #endif #ifdef AMBIENT_SH_LIGHT_COUNT @import clay.header.ambient_sh_light #endif #ifdef AMBIENT_CUBEMAP_LIGHT_COUNT @import clay.header.ambient_cubemap_light #endif #ifdef DIRECTIONAL_LIGHT_COUNT @import clay.header.directional_light #endif @import ecgl.common.normalMap.fragmentHeader @import ecgl.common.ssaoMap.header @import ecgl.common.bumpMap.header @import clay.util.srgb @import clay.util.rgbm @import ecgl.common.wireframe.fragmentHeader @import clay.plugin.compute_shadow_map vec3 F_Schlick(float ndv, vec3 spec) { return spec + (1.0 - spec) * pow(1.0 - ndv, 5.0); } float D_Phong(float g, float ndh) { float a = pow(8192.0, g); return (a + 2.0) / 8.0 * pow(ndh, a); } void main() { vec4 albedoColor = color; vec3 eyePos = viewInverse[3].xyz; vec3 V = normalize(eyePos - v_WorldPosition); #ifdef VERTEX_COLOR #ifdef SRGB_DECODE albedoColor *= sRGBToLinear(v_Color); #else albedoColor *= v_Color; #endif #endif @import ecgl.common.albedo.main @import ecgl.common.diffuseLayer.main albedoColor *= albedoTexel; float m = metalness; #ifdef METALNESSMAP_ENABLED float m2 = texture2D(metalnessMap, v_DetailTexcoord)[METALNESS_CHANEL]; m = clamp(m2 + (m - 0.5) * 2.0, 0.0, 1.0); #endif vec3 baseColor = albedoColor.rgb; albedoColor.rgb = baseColor * (1.0 - m); vec3 specFactor = mix(vec3(0.04), baseColor, m); float g = 1.0 - roughness; #ifdef ROUGHNESSMAP_ENABLED float g2 = 1.0 - texture2D(roughnessMap, v_DetailTexcoord)[ROUGHNESS_CHANEL]; g = clamp(g2 + (g - 0.5) * 2.0, 0.0, 1.0); #endif vec3 N = v_Normal; #ifdef DOUBLE_SIDED if (dot(N, V) < 0.0) { N = -N; } #endif float ambientFactor = 1.0; #ifdef BUMPMAP_ENABLED N = bumpNormal(v_WorldPosition, v_Normal, N); ambientFactor = dot(v_Normal, N); #endif @import ecgl.common.normalMap.fragmentMain vec3 N2 = vec3(N.x, N[NORMAL_UP_AXIS], N[NORMAL_FRONT_AXIS]); vec3 diffuseTerm = vec3(0.0); vec3 specularTerm = vec3(0.0); float ndv = clamp(dot(N, V), 0.0, 1.0); vec3 fresnelTerm = F_Schlick(ndv, specFactor); @import ecgl.common.ssaoMap.main #ifdef AMBIENT_LIGHT_COUNT for(int _idx_ = 0; _idx_ < AMBIENT_LIGHT_COUNT; _idx_++) {{ diffuseTerm += ambientLightColor[_idx_] * ambientFactor * ao; }} #endif #ifdef AMBIENT_SH_LIGHT_COUNT for(int _idx_ = 0; _idx_ < AMBIENT_SH_LIGHT_COUNT; _idx_++) {{ diffuseTerm += calcAmbientSHLight(_idx_, N2) * ambientSHLightColor[_idx_] * ao; }} #endif #ifdef DIRECTIONAL_LIGHT_COUNT #if defined(DIRECTIONAL_LIGHT_SHADOWMAP_COUNT) float shadowContribsDir[DIRECTIONAL_LIGHT_COUNT]; if(shadowEnabled) { computeShadowOfDirectionalLights(v_WorldPosition, shadowContribsDir); } #endif for(int _idx_ = 0; _idx_ < DIRECTIONAL_LIGHT_COUNT; _idx_++) {{ vec3 L = -directionalLightDirection[_idx_]; vec3 lc = directionalLightColor[_idx_]; vec3 H = normalize(L + V); float ndl = clamp(dot(N, normalize(L)), 0.0, 1.0); float ndh = clamp(dot(N, H), 0.0, 1.0); float shadowContrib = 1.0; #if defined(DIRECTIONAL_LIGHT_SHADOWMAP_COUNT) if (shadowEnabled) { shadowContrib = shadowContribsDir[_idx_]; } #endif vec3 li = lc * ndl * shadowContrib; diffuseTerm += li; specularTerm += li * fresnelTerm * D_Phong(g, ndh); }} #endif #ifdef AMBIENT_CUBEMAP_LIGHT_COUNT vec3 L = reflect(-V, N); L = vec3(L.x, L[NORMAL_UP_AXIS], L[NORMAL_FRONT_AXIS]); float rough2 = clamp(1.0 - g, 0.0, 1.0); float bias2 = rough2 * 5.0; vec2 brdfParam2 = texture2D(ambientCubemapLightBRDFLookup[0], vec2(rough2, ndv)).xy; vec3 envWeight2 = specFactor * brdfParam2.x + brdfParam2.y; vec3 envTexel2; for(int _idx_ = 0; _idx_ < AMBIENT_CUBEMAP_LIGHT_COUNT; _idx_++) {{ envTexel2 = RGBMDecode(textureCubeLodEXT(ambientCubemapLightCubemap[_idx_], L, bias2), 51.5); specularTerm += ambientCubemapLightColor[_idx_] * envTexel2 * envWeight2 * ao; }} #endif gl_FragColor.rgb = albedoColor.rgb * diffuseTerm + specularTerm; gl_FragColor.a = albedoColor.a; #ifdef SRGB_ENCODE gl_FragColor = linearTosRGB(gl_FragColor); #endif @import ecgl.common.emissiveLayer.main @import ecgl.common.wireframe.fragmentMain } @end`},function(k,P,_){"use strict";P.a=`@export ecgl.hatching.vertex @import ecgl.realistic.vertex @end @export ecgl.hatching.fragment #define NORMAL_UP_AXIS 1 #define NORMAL_FRONT_AXIS 2 @import ecgl.common.uv.fragmentHeader varying vec3 v_Normal; varying vec3 v_WorldPosition; uniform vec4 color : [0.0, 0.0, 0.0, 1.0]; uniform vec4 paperColor : [1.0, 1.0, 1.0, 1.0]; uniform mat4 viewInverse : VIEWINVERSE; #ifdef AMBIENT_LIGHT_COUNT @import clay.header.ambient_light #endif #ifdef AMBIENT_SH_LIGHT_COUNT @import clay.header.ambient_sh_light #endif #ifdef DIRECTIONAL_LIGHT_COUNT @import clay.header.directional_light #endif #ifdef VERTEX_COLOR varying vec4 v_Color; #endif @import ecgl.common.ssaoMap.header @import ecgl.common.bumpMap.header @import clay.util.srgb @import ecgl.common.wireframe.fragmentHeader @import clay.plugin.compute_shadow_map uniform sampler2D hatch1; uniform sampler2D hatch2; uniform sampler2D hatch3; uniform sampler2D hatch4; uniform sampler2D hatch5; uniform sampler2D hatch6; float shade(in float tone) { vec4 c = vec4(1. ,1., 1., 1.); float step = 1. / 6.; vec2 uv = v_DetailTexcoord; if (tone <= step / 2.0) { c = mix(vec4(0.), texture2D(hatch6, uv), 12. * tone); } else if (tone <= step) { c = mix(texture2D(hatch6, uv), texture2D(hatch5, uv), 6. * tone); } if(tone > step && tone <= 2. * step){ c = mix(texture2D(hatch5, uv), texture2D(hatch4, uv) , 6. * (tone - step)); } if(tone > 2. * step && tone <= 3. * step){ c = mix(texture2D(hatch4, uv), texture2D(hatch3, uv), 6. * (tone - 2. * step)); } if(tone > 3. * step && tone <= 4. * step){ c = mix(texture2D(hatch3, uv), texture2D(hatch2, uv), 6. * (tone - 3. * step)); } if(tone > 4. * step && tone <= 5. * step){ c = mix(texture2D(hatch2, uv), texture2D(hatch1, uv), 6. * (tone - 4. * step)); } if(tone > 5. * step){ c = mix(texture2D(hatch1, uv), vec4(1.), 6. * (tone - 5. * step)); } return c.r; } const vec3 w = vec3(0.2125, 0.7154, 0.0721); void main() { #ifdef SRGB_DECODE vec4 inkColor = sRGBToLinear(color); #else vec4 inkColor = color; #endif #ifdef VERTEX_COLOR #ifdef SRGB_DECODE inkColor *= sRGBToLinear(v_Color); #else inkColor *= v_Color; #endif #endif vec3 N = v_Normal; #ifdef DOUBLE_SIDED vec3 eyePos = viewInverse[3].xyz; vec3 V = normalize(eyePos - v_WorldPosition); if (dot(N, V) < 0.0) { N = -N; } #endif float tone = 0.0; float ambientFactor = 1.0; #ifdef BUMPMAP_ENABLED N = bumpNormal(v_WorldPosition, v_Normal, N); ambientFactor = dot(v_Normal, N); #endif vec3 N2 = vec3(N.x, N[NORMAL_UP_AXIS], N[NORMAL_FRONT_AXIS]); @import ecgl.common.ssaoMap.main #ifdef AMBIENT_LIGHT_COUNT for(int i = 0; i < AMBIENT_LIGHT_COUNT; i++) { tone += dot(ambientLightColor[i], w) * ambientFactor * ao; } #endif #ifdef AMBIENT_SH_LIGHT_COUNT for(int _idx_ = 0; _idx_ < AMBIENT_SH_LIGHT_COUNT; _idx_++) {{ tone += dot(calcAmbientSHLight(_idx_, N2) * ambientSHLightColor[_idx_], w) * ao; }} #endif #ifdef DIRECTIONAL_LIGHT_COUNT #if defined(DIRECTIONAL_LIGHT_SHADOWMAP_COUNT) float shadowContribsDir[DIRECTIONAL_LIGHT_COUNT]; if(shadowEnabled) { computeShadowOfDirectionalLights(v_WorldPosition, shadowContribsDir); } #endif for(int i = 0; i < DIRECTIONAL_LIGHT_COUNT; i++) { vec3 lightDirection = -directionalLightDirection[i]; float lightTone = dot(directionalLightColor[i], w); float shadowContrib = 1.0; #if defined(DIRECTIONAL_LIGHT_SHADOWMAP_COUNT) if (shadowEnabled) { shadowContrib = shadowContribsDir[i]; } #endif float ndl = dot(N, normalize(lightDirection)) * shadowContrib; tone += lightTone * clamp(ndl, 0.0, 1.0); } #endif gl_FragColor = mix(inkColor, paperColor, shade(clamp(tone, 0.0, 1.0))); } @end `},function(k,P,_){"use strict";P.a=`@export ecgl.sm.depth.vertex uniform mat4 worldViewProjection : WORLDVIEWPROJECTION; attribute vec3 position : POSITION; #ifdef VERTEX_ANIMATION attribute vec3 prevPosition; uniform float percent : 1.0; #endif varying vec4 v_ViewPosition; void main(){ #ifdef VERTEX_ANIMATION vec3 pos = mix(prevPosition, position, percent); #else vec3 pos = position; #endif v_ViewPosition = worldViewProjection * vec4(pos, 1.0); gl_Position = v_ViewPosition; } @end @export ecgl.sm.depth.fragment @import clay.sm.depth.fragment @end`},function(k,P,_){"use strict";var B=_(134),C=_(138),p=_(139),m=_(145),E=_(0),d=_.n(E);d.a.registerAction({type:"grid3DChangeCamera",event:"grid3dcamerachanged",update:"series:updateCamera"},function(l,o){o.eachComponent({mainType:"grid3D",query:l},function(g){g.setView(l)})}),d.a.registerAction({type:"grid3DShowAxisPointer",event:"grid3dshowaxispointer",update:"grid3D:showAxisPointer"},function(l,o){}),d.a.registerAction({type:"grid3DHideAxisPointer",event:"grid3dhideaxispointer",update:"grid3D:hideAxisPointer"},function(l,o){})},function(k,P,_){"use strict";var B=_(0),C=_.n(B),p=_(135),m=C.a.extendComponentModel({type:"cartesian3DAxis",axis:null,getCoordSysModel:function(){return this.ecModel.queryComponents({mainType:"grid3D",index:this.option.gridIndex,id:this.option.gridId})[0]}});C.a.helper.mixinAxisModelCommonMethods(m);function E(d,l){return l.type||(l.data?"category":"value")}Object(p.a)("x",m,E,{name:"X"}),Object(p.a)("y",m,E,{name:"Y"}),Object(p.a)("z",m,E,{name:"Z"})},function(k,P,_){"use strict";var B=_(0),C=_.n(B),p=_(136),m=_(137),E=_.n(m),d=["value","category","time","log"];P.a=function(l,o,g,r){C.a.util.each(d,function(n){o.extend({type:l+"Axis3D."+n,__ordinalMeta:null,mergeDefaultAndTheme:function(a,c){var u=c.getTheme();C.a.util.merge(a,u.get(n+"Axis3D")),C.a.util.merge(a,this.getDefaultOption()),a.type=g(l,a)},optionUpdated:function(){var a=this.option;a.type==="category"&&(this.__ordinalMeta=E.a.createByAxisModel(this))},getCategories:function(){if(this.option.type==="category")return this.__ordinalMeta.categories},getOrdinalMeta:function(){return this.__ordinalMeta},defaultOption:C.a.util.merge(C.a.util.clone(p.a[n+"Axis3D"]),r||{},!0)})}),o.superClass.registerSubTypeDefaulter(l+"Axis3D",C.a.util.curry(g,l))}},function(k,P,_){"use strict";var B=_(0),C=_.n(B),p={show:!0,grid3DIndex:0,inverse:!1,name:"",nameLocation:"middle",nameTextStyle:{fontSize:16},nameGap:20,axisPointer:{},axisLine:{},axisTick:{},axisLabel:{},splitArea:{}},m=C.a.util.merge({boundaryGap:!0,axisTick:{alignWithLabel:!1,interval:"auto"},axisLabel:{interval:"auto"},axisPointer:{label:{show:!1}}},p),E=C.a.util.merge({boundaryGap:[0,0],splitNumber:5,axisPointer:{label:{}}},p),d=C.a.util.defaults({scale:!0,min:"dataMin",max:"dataMax"},E),l=C.a.util.defaults({logBase:10},E);l.scale=!0,P.a={categoryAxis3D:m,valueAxis3D:E,timeAxis3D:d,logAxis3D:l}},function(k,P,_){var B=_(12),C=B.createHashMap,p=B.isObject,m=B.map;function E(r){this.categories=r.categories||[],this._needCollect=r.needCollect,this._deduplication=r.deduplication,this._map}E.createByAxisModel=function(r){var n=r.option,a=n.data,c=a&&m(a,o);return new E({categories:c,needCollect:!c,deduplication:n.dedplication!==!1})};var d=E.prototype;d.getOrdinal=function(r){return l(this).get(r)},d.parseAndCollect=function(r){var n,a=this._needCollect;if(typeof r!="string"&&!a)return r;if(a&&!this._deduplication)return n=this.categories.length,this.categories[n]=r,n;var c=l(this);return n=c.get(r),n==null&&(a?(n=this.categories.length,this.categories[n]=r,c.set(r,n)):n=NaN),n};function l(r){return r._map||(r._map=C(r.categories))}function o(r){return p(r)&&r.value!=null?r.value:r+""}var g=E;k.exports=g},function(k,P,_){"use strict";var B=_(0),C=_.n(B),p=_(38),m=_(31),E=_(32),d=C.a.extendComponentModel({type:"grid3D",dependencies:["xAxis3D","yAxis3D","zAxis3D"],defaultOption:{show:!0,zlevel:-10,left:0,top:0,width:"100%",height:"100%",environment:"auto",boxWidth:100,boxHeight:100,boxDepth:100,axisPointer:{show:!0,lineStyle:{color:"rgba(0, 0, 0, 0.8)",width:1},label:{show:!0,formatter:null,margin:8,textStyle:{fontSize:14,color:"#fff",backgroundColor:"rgba(0,0,0,0.5)",padding:3,borderRadius:3}}},axisLine:{show:!0,lineStyle:{color:"#333",width:2,type:"solid"}},axisTick:{show:!0,inside:!1,length:3,lineStyle:{width:1}},axisLabel:{show:!0,inside:!1,rotate:0,margin:8,textStyle:{fontSize:12}},splitLine:{show:!0,lineStyle:{color:["#ccc"],width:1,type:"solid"}},splitArea:{show:!1,areaStyle:{color:["rgba(250,250,250,0.3)","rgba(200,200,200,0.3)"]}},light:{main:{alpha:30,beta:40},ambient:{intensity:.4}},viewControl:{alpha:20,beta:40,autoRotate:!1,distance:200,minDistance:40,maxDistance:400}}});C.a.util.merge(d.prototype,p.a),C.a.util.merge(d.prototype,m.a),C.a.util.merge(d.prototype,E.a);var l=d},function(k,P,_){"use strict";var B=_(0),C=_.n(B),p=_(2),m=_(39),E=_(22),d=_(3),l=_(73),o=_(34),g=_(140),r=_(142),n=_(58),a=_(40),c=d.a.firstNotNull;p.a.Shader.import(a.a),["x","y","z"].forEach(function(v){C.a.extendComponentView({type:v+"Axis3D"})});var u={x:0,y:2,z:1},s=C.a.extendComponentView({type:"grid3D",__ecgl__:!0,init:function(v,e){var t=[["y","z","x",-1,"left"],["y","z","x",1,"right"],["x","y","z",-1,"bottom"],["x","y","z",1,"top"],["x","z","y",-1,"far"],["x","z","y",1,"near"]],i=["x","y","z"],f=new p.a.Material({shader:p.a.createShader("ecgl.color"),depthMask:!1,transparent:!0}),y=new p.a.Material({shader:p.a.createShader("ecgl.meshLines3D"),depthMask:!1,transparent:!0});f.define("fragment","DOUBLE_SIDED"),f.define("both","VERTEX_COLOR"),this.groupGL=new p.a.Node,this._control=new m.a({zr:e.getZr()}),this._control.init(),this._faces=t.map(function(x){var A=new g.a(x,y,f);return this.groupGL.add(A.rootNode),A},this),this._axes=i.map(function(x){var A=new r.a(x,y);return this.groupGL.add(A.rootNode),A},this);var b=e.getDevicePixelRatio();this._axisLabelSurface=new l.a({width:256,height:256,devicePixelRatio:b}),this._axisLabelSurface.onupdate=function(){e.getZr().refresh()},this._axisPointerLineMesh=new p.a.Mesh({geometry:new E.a({useNativeLine:!1}),material:y,castShadow:!1,ignorePicking:!0,renderOrder:3}),this.groupGL.add(this._axisPointerLineMesh),this._axisPointerLabelsSurface=new l.a({width:128,height:128,devicePixelRatio:b}),this._axisPointerLabelsMesh=new n.a({ignorePicking:!0,renderOrder:4,castShadow:!1}),this._axisPointerLabelsMesh.material.set("textureAtlas",this._axisPointerLabelsSurface.getTexture()),this.groupGL.add(this._axisPointerLabelsMesh),this._lightRoot=new p.a.Node,this._sceneHelper=new o.a,this._sceneHelper.initLight(this._lightRoot)},render:function(v,e,t){this._model=v,this._api=t;var i=v.coordinateSystem;i.viewGL.add(this._lightRoot),v.get("show")?i.viewGL.add(this.groupGL):i.viewGL.remove(this.groupGL);var f=this._control;f.setViewGL(i.viewGL);var y=v.getModel("viewControl");f.setFromViewControlModel(y,0),this._axisLabelSurface.clear();var b=["x","y","z"].reduce(function(x,A){var w=i.getAxis(A),L=w.model;return x[A]=c(L.get("axisLabel.interval"),v.get("axisLabel.interval")),w.scale.type==="ordinal"&&(x[A]==null||x[A]=="auto")&&(x[A]=Math.floor(w.scale.getTicks().length/8)),x},{});f.off("update"),v.get("show")&&(this._faces.forEach(function(x){x.update(b,v,e,t)},this),this._axes.forEach(function(x){x.update(v,b,this._axisLabelSurface,t)},this)),f.on("update",this._onCameraChange.bind(this,v,t),this),this._sceneHelper.setScene(i.viewGL.scene),this._sceneHelper.updateLight(v),i.viewGL.setPostEffect(v.getModel("postEffect"),t),i.viewGL.setTemporalSuperSampling(v.getModel("temporalSuperSampling")),this._initMouseHandler(v)},afterRender:function(v,e,t,i){var f=i.renderer;this._sceneHelper.updateAmbientCubemap(f,v,t),this._sceneHelper.updateSkybox(f,v,t)},showAxisPointer:function(v,e,t,i){this._doShowAxisPointer(),this._updateAxisPointer(i.value)},hideAxisPointer:function(v,e,t,i){this._doHideAxisPointer()},_initMouseHandler:function(v){var e=v.coordinateSystem,t=e.viewGL;v.get("show")&&v.get("axisPointer.show")?t.on("mousemove",this._updateAxisPointerOnMousePosition,this):t.off("mousemove",this._updateAxisPointerOnMousePosition)},_updateAxisPointerOnMousePosition:function(v){if(!v.target){for(var e=this._model,t=e.coordinateSystem,i=t.viewGL,f=i.castRay(v.offsetX,v.offsetY,new p.a.Ray),y,b=0;bi[1]?0:1,x=this._faces[t*2+b],A=this._faces[t*2+1-b];x.rootNode.invisible=!0,A.rootNode.invisible=!1}},_updateAxisLinePosition:function(){var v=this._model.coordinateSystem,e=v.getAxis("x"),t=v.getAxis("y"),i=v.getAxis("z"),f=i.getExtentMax(),y=i.getExtentMin(),b=e.getExtentMin(),x=e.getExtentMax(),A=t.getExtentMax(),w=t.getExtentMin(),L=this._axes[0].rootNode,D=this._axes[1].rootNode,O=this._axes[2].rootNode,N=this._faces,I=N[4].rootNode.invisible?w:A,K=N[2].rootNode.invisible?f:y,F=N[0].rootNode.invisible?b:x,W=N[2].rootNode.invisible?f:y,j=N[0].rootNode.invisible?x:b,X=N[4].rootNode.invisible?w:A;L.rotation.identity(),D.rotation.identity(),O.rotation.identity(),N[4].rootNode.invisible&&(this._axes[0].flipped=!0,L.rotation.rotateX(Math.PI)),N[0].rootNode.invisible&&(this._axes[1].flipped=!0,D.rotation.rotateZ(Math.PI)),N[4].rootNode.invisible&&(this._axes[2].flipped=!0,O.rotation.rotateY(Math.PI)),L.position.set(0,K,I),D.position.set(F,W,0),O.position.set(j,0,X),L.update(),D.update(),O.update(),this._updateAxisLabelAlign()},_updateAxisLabelAlign:function(){var v=this._control.getCamera(),e=[new p.a.Vector4,new p.a.Vector4],t=new p.a.Vector4;this.groupGL.getWorldPosition(t),t.w=1,t.transformMat4(v.viewMatrix).transformMat4(v.projectionMatrix),t.x/=t.w,t.y/=t.w,this._axes.forEach(function(i){for(var f=i.axisLineCoords,y=i.labelsMesh.geometry,b=0;bt.y?"bottom":"top"):(O="middle",D=w>t.x?"left":"right"),i.setSpriteAlign(D,O,this._api)},this)},_doShowAxisPointer:function(){this._axisPointerLineMesh.invisible&&(this._axisPointerLineMesh.invisible=!1,this._axisPointerLabelsMesh.invisible=!1,this._api.getZr().refresh())},_doHideAxisPointer:function(){this._axisPointerLineMesh.invisible||(this._axisPointerLineMesh.invisible=!0,this._axisPointerLabelsMesh.invisible=!0,this._api.getZr().refresh())},_updateAxisPointer:function(v){var e=this._model.coordinateSystem,t=e.dataToPoint(v),i=this._axisPointerLineMesh,f=i.geometry,y=this._model.getModel("axisPointer"),b=this._api.getDevicePixelRatio();f.convertToDynamicArray(!0);function x(Ce){return d.a.firstNotNull(Ce.model.get("axisPointer.show"),y.get("show"))}function A(Ce){var be=Ce.model.getModel("axisPointer",y),Ae=be.getModel("lineStyle"),Ue=p.a.parseColor(Ae.get("color")),we=c(Ae.get("width"),1),$e=c(Ae.get("opacity"),1);return Ue[3]*=$e,{color:Ue,lineWidth:we}}for(var w=0;w0&&a.rotation.rotateY(Math.PI),c.normal.z=-s)}function n(a,c,u){this.rootNode=new p.a.Node;var s=new p.a.Mesh({geometry:new E.a({useNativeLine:!1}),material:c,castShadow:!1,ignorePicking:!0,renderOrder:1}),v=new p.a.Mesh({geometry:new d.a,material:u,castShadow:!1,culling:!1,ignorePicking:!0,renderOrder:0});this.rootNode.add(v),this.rootNode.add(s),this.faceInfo=a,this.plane=new p.a.Plane,this.linesMesh=s,this.quadsMesh=v}n.prototype.update=function(a,c,u,s){var v=c.coordinateSystem,e=[v.getAxis(this.faceInfo[0]),v.getAxis(this.faceInfo[1])],t=this.linesMesh.geometry,i=this.quadsMesh.geometry;t.convertToDynamicArray(!0),i.convertToDynamicArray(!0),this._updateSplitLines(t,e,c,a,s),this._udpateSplitAreas(i,e,c,a,s),t.convertToTypedArray(),i.convertToTypedArray();var f=v.getAxis(this.faceInfo[2]);r(this.rootNode,this.plane,f,this.faceInfo[3])},n.prototype._updateSplitLines=function(a,c,u,s,v){var e=v.getDevicePixelRatio();c.forEach(function(t,i){var f=t.model,y=c[1-i].getExtent();if(!t.scale.isBlank()){var b=f.getModel("splitLine",u.getModel("splitLine"));if(b.get("show")){var x=b.getModel("lineStyle"),A=x.get("color"),w=o(x.get("opacity"),1),L=o(x.get("width"),1),D=b.get("interval");(D==null||D==="auto")&&(D=s[t.dim]),A=C.a.util.isArray(A)?A:[A];for(var O=t.getTicksCoords(),N=0,I=0;I65535?new Uint32Array(a*3):new Uint16Array(a*3))},getQuadVertexCount:function(){return 4},getQuadTriangleCount:function(){return 2},addQuad:function(){var g=l.create(),r=l.create(),n=l.create(),a=[0,3,1,3,2,1];return function(c,u){var s=this.attributes.position,v=this.attributes.normal,e=this.attributes.color;l.sub(g,c[1],c[0]),l.sub(r,c[2],c[1]),l.cross(n,g,r),l.normalize(n,n);for(var t=0;t<4;t++)s.set(this._vertexOffset+t,c[t]),e.set(this._vertexOffset+t,u),v.set(this._vertexOffset+t,n);for(var i=this._faceOffset*3,t=0;t<6;t++)this.indices[i+t]=a[t]+this._vertexOffset;this._vertexOffset+=4,this._faceOffset+=2}}()});p.a.util.defaults(o.prototype,m.a),P.a=o},function(k,P,_){"use strict";var B=_(0),C=_.n(B),p=_(2),m=_(22),E=_(3),d=_(58),l=_(74),o=E.a.firstNotNull,g={x:0,y:2,z:1};function r(a,c){var u=new p.a.Mesh({geometry:new m.a({useNativeLine:!1}),material:c,castShadow:!1,ignorePicking:!0,renderOrder:2}),s=new d.a;s.material.depthMask=!1;var v=new p.a.Node;v.add(u),v.add(s),this.rootNode=v,this.dim=a,this.linesMesh=u,this.labelsMesh=s,this.axisLineCoords=null,this.labelElements=[]}var n={x:"y",y:"x",z:"y"};r.prototype.update=function(a,c,u,s){var v=a.coordinateSystem,e=v.getAxis(this.dim),t=c[this.dim],i=this.linesMesh.geometry,f=this.labelsMesh.geometry;i.convertToDynamicArray(!0),f.convertToDynamicArray(!0);var y=e.model,b=e.getExtent(),Ae=s.getDevicePixelRatio(),x=y.getModel("axisLine",a.getModel("axisLine")),A=y.getModel("axisTick",a.getModel("axisTick")),w=y.getModel("axisLabel",a.getModel("axisLabel")),L=x.get("lineStyle.color");if(x.get("show")){var D=x.getModel("lineStyle"),O=[0,0,0],N=[0,0,0],I=g[e.dim];O[I]=b[0],N[I]=b[1],this.axisLineCoords=[O,N];var K=p.a.parseColor(L),F=o(D.get("width"),1),W=o(D.get("opacity"),1);K[3]*=W,i.addLine(O,N,K,F*Ae)}if(A.get("show")){var j=A.getModel("lineStyle"),X=p.a.parseColor(o(j.get("color"),L)),F=o(j.get("width"),1);X[3]*=o(j.get("opacity"),1);var Y=e.getTicksCoords(),le=A.get("interval");(le==null||le==="auto")&&(le=t);for(var J=A.get("length"),ve=0;ve65535?new Uint32Array(g*3):new Uint16Array(g*3))},setSpriteAlign:function(l,o,g,r,n){g==null&&(g="left"),r==null&&(r="top");var a,c,u,s;switch(n=n||0,g){case"left":a=n,u=o[0]+n;break;case"center":case"middle":a=-o[0]/2,u=o[0]/2;break;case"right":a=-o[0]-n,u=-n;break}switch(r){case"bottom":c=n,s=o[1]+n;break;case"middle":c=-o[1]/2,s=o[1]/2;break;case"top":c=-o[1]-n,s=-n;break}var v=l*4,e=this.attributes.offset;e.set(v,[a,s]),e.set(v+1,[u,s]),e.set(v+2,[u,c]),e.set(v+3,[a,c])},addSprite:function(l,o,g,r,n,a){var c=this._vertexOffset;this.setSprite(this._vertexOffset/4,l,o,g,r,n,a);for(var u=0;u1?"."+t[1]:""))}function E(t,i){return t=(t||"").toLowerCase().replace(/-(.)/g,function(f,y){return y.toUpperCase()}),i&&t&&(t=t.charAt(0).toUpperCase()+t.slice(1)),t}var d=B.normalizeCssArray;function l(t){return String(t).replace(/&/g,"&").replace(//g,">").replace(/"/g,""").replace(/'/g,"'")}var o=["a","b","c","d","e","f","g"],g=function(t,i){return"{"+t+(i==null?"":i)+"}"};function r(t,i,f){B.isArray(i)||(i=[i]);var y=i.length;if(!y)return"";for(var b=i[0].$vars||[],x=0;x':'':""}var c=function(t){return t<10?"0"+t:t};function u(t,i,f){(t==="week"||t==="month"||t==="quarter"||t==="half-year"||t==="year")&&(t=`MM-dd yyyy`);var y=p.parseDate(i),b=f?"UTC":"",x=y["get"+b+"FullYear"](),A=y["get"+b+"Month"]()+1,w=y["get"+b+"Date"](),L=y["get"+b+"Hours"](),D=y["get"+b+"Minutes"](),O=y["get"+b+"Seconds"]();return t=t.replace("MM",c(A)).replace("M",A).replace("yyyy",x).replace("yy",x%100).replace("dd",c(w)).replace("d",w).replace("hh",c(L)).replace("h",L).replace("mm",c(D)).replace("m",D).replace("ss",c(O)).replace("s",O),t}function s(t){return t&&t.charAt(0).toUpperCase()+t.substr(1)}var v=C.truncateText,e=C.getBoundingRect;P.addCommas=m,P.toCamelCase=E,P.normalizeCssArray=d,P.encodeHTML=l,P.formatTpl=r,P.formatTplSimple=n,P.getTooltipMarker=a,P.formatTime=u,P.capitalFirst=s,P.truncateText=v,P.getTextRect=e},function(k,P,_){var B=_(75),C=_(151),p=_(12),m=p.getContext,E=p.extend,d=p.retrieve2,l=p.retrieve3,o={},g=0,r=5e3,n=/\{([a-zA-Z0-9_]+)\|([^}]*)\}/g,a="12px sans-serif",c={};function u(F,W){c[F]=W}function s(F,W){W=W||a;var j=F+":"+W;if(o[j])return o[j];for(var X=(F+"").split(` `),Y=0,le=0,J=X.length;ler&&(g=0,o={}),g++,o[j]=Y,Y}function v(F,W,j,X,Y,le,J){return le?t(F,W,j,X,Y,le,J):e(F,W,j,X,Y,J)}function e(F,W,j,X,Y,le){var J=O(F,W,Y,le),ve=s(F,W);Y&&(ve+=Y[1]+Y[3]);var Ce=J.outerHeight,be=i(0,ve,j),Ae=f(0,Ce,X),Ue=new B(be,Ae,ve,Ce);return Ue.lineHeight=J.lineHeight,Ue}function t(F,W,j,X,Y,le,J){var ve=N(F,{rich:le,truncate:J,font:W,textAlign:j,textPadding:Y}),Ce=ve.outerWidth,be=ve.outerHeight,Ae=i(0,Ce,j),Ue=f(0,be,X);return new B(Ae,Ue,Ce,be)}function i(F,W,j){return j==="right"?F-=W:j==="center"&&(F-=W/2),F}function f(F,W,j){return j==="middle"?F-=W/2:j==="bottom"&&(F-=W),F}function y(F,W,j){var X=W.x,Y=W.y,le=W.height,J=W.width,ve=le/2,Ce="left",be="top";switch(F){case"left":X-=j,Y+=ve,Ce="right",be="middle";break;case"right":X+=j+J,Y+=ve,be="middle";break;case"top":X+=J/2,Y-=j,Ce="center",be="bottom";break;case"bottom":X+=J/2,Y+=le+j,Ce="center";break;case"inside":X+=J/2,Y+=ve,Ce="center",be="middle";break;case"insideLeft":X+=j,Y+=ve,be="middle";break;case"insideRight":X+=J-j,Y+=ve,Ce="right",be="middle";break;case"insideTop":X+=J/2,Y+=j,Ce="center";break;case"insideBottom":X+=J/2,Y+=le-j,Ce="center",be="bottom";break;case"insideTopLeft":X+=j,Y+=j;break;case"insideTopRight":X+=J-j,Y+=j,Ce="right";break;case"insideBottomLeft":X+=j,Y+=le-j,be="bottom";break;case"insideBottomRight":X+=J-j,Y+=le-j,Ce="right",be="bottom";break}return{x:X,y:Y,textAlign:Ce,textVerticalAlign:be}}function b(F,W,j,X,Y){if(!W)return"";var le=(F+"").split(` `);Y=x(W,j,X,Y);for(var J=0,ve=le.length;J=J;Ce++)ve-=J;var be=s(Y);return be>ve&&(Y="",be=0),ve=F-be,X.ellipsis=Y,X.ellipsisWidth=be,X.contentWidth=ve,X.containerWidth=F,X}function A(F,W){var j=W.containerWidth,X=W.font,Y=W.contentWidth;if(!j)return"";var le=s(F,X);if(le<=j)return F;for(var J=0;;J++){if(le<=Y||J>=W.maxIterations){F+=W.ellipsis;break}var ve=J===0?w(F,Y,W.ascCharWidth,W.cnCharWidth):le>0?Math.floor(F.length*Y/le):0;F=F.substr(0,ve),le=s(F,X)}return F===""&&(F=W.placeholder),F}function w(F,W,j,X){for(var Y=0,le=0,J=F.length;leCe)F="",le=[];else if(be!=null)for(var Ae=x(be-(j?j[1]+j[3]:0),W,X.ellipsis,{minChar:X.minChar,placeholder:X.placeholder}),Ue=0,we=le.length;UeX&&I(j,F.substring(X,le)),I(j,Y[2],Y[1]),X=n.lastIndex}X$e)return{lines:[],width:0,height:0};Ge.textWidth=s(Ge.text,q);var ee=Be.textWidth,oe=ee==null||ee==="auto";if(typeof ee=="string"&&ee.charAt(ee.length-1)==="%")Ge.percentWidth=ee,be.push(Ge),ee=0;else{if(oe){ee=Ge.textWidth;var $=Be.textBackgroundColor,fe=$&&$.image;fe&&(fe=C.findExistImage(fe),C.isImageReady(fe)&&(ee=Math.max(ee,fe.width*re/fe.height)))}var xe=V?V[1]+V[3]:0;ee+=xe;var ne=we!=null?we-Fe:null;ne!=null&&ne4){console.warn("Support at most 4 cascade");continue}$e.shadowCascade>1&&(Ue=$e.shadowCascade),this.renderDirectionalLightShadow(K,F,W,$e,this._opaqueCasters,be,Ce,ve)}else $e instanceof n.a?this.renderSpotLightShadow(K,F,$e,this._opaqueCasters,J,le):$e instanceof c.a&&this.renderPointLightShadow(K,F,$e,this._opaqueCasters,Ae);this._shadowMapNumber[$e.type]++}for(var Re in this._shadowMapNumber)for(var ge=this._shadowMapNumber[Re],Ze=Re+"_SHADOWMAP_COUNT",we=0;we0?Te.define("fragment",Ze,ge):Te.isDefined("fragment",Ze)&&Te.undefine("fragment",Ze))}for(var we=0;we0){var V=ve.map(Be);if(Ge.directionalLightShadowMaps={value:ve,type:"tv"},Ge.directionalLightMatrices={value:Ce,type:"m4v"},Ge.directionalLightShadowMapSizes={value:V,type:"1fv"},Ue){var q=be.slice(),re=be.slice();q.pop(),re.shift(),q.reverse(),re.reverse(),Ce.reverse(),Ge.shadowCascadeClipsNear={value:q,type:"1fv"},Ge.shadowCascadeClipsFar={value:re,type:"1fv"}}}if(le.length>0){var ee=le.map(Be),Ge=F.shadowUniforms;Ge.spotLightShadowMaps={value:le,type:"tv"},Ge.spotLightMatrices={value:J,type:"m4v"},Ge.spotLightShadowMapSizes={value:ee,type:"1fv"}}Ae.length>0&&(Ge.pointLightShadowMaps={value:Ae,type:"tv"})},renderDirectionalLightShadow:function(){var K=new E.a,F=new d.a,W=new m.a,j=new d.a,X=new d.a,Y=new d.a,le=new d.a;return function(J,ve,Ce,be,Ae,Ue,we,$e){var Re=this._getDepthMaterial(be),ge={getMaterial:function(Oe){return Oe.shadowDepthMaterial||Re},sortCompare:l.a.opaqueSortCompare};if(!ve.viewBoundingBoxLastFrame.isFinite()){var Ze=ve.getBoundingBox();ve.viewBoundingBoxLastFrame.copy(Ze).applyTransform(Ce.viewMatrix)}var Fe=Math.min(-ve.viewBoundingBoxLastFrame.min.z,Ce.far),Te=Math.max(-ve.viewBoundingBoxLastFrame.max.z,Ce.near),Ge=this._getDirectionalLightCamera(be,ve,Ce),Be=Y.array;le.copy(Ge.projectionMatrix),D.invert(X.array,Ge.worldTransform.array),D.multiply(X.array,X.array,Ce.worldTransform.array),D.multiply(Be,le.array,X.array);for(var V=[],q=Ce instanceof f.a,re=(Ce.near+Ce.far)/(Ce.near-Ce.far),ee=2*Ce.near*Ce.far/(Ce.near-Ce.far),oe=0;oe<=be.shadowCascade;oe++){var $=Te*Math.pow(Fe/Te,oe/be.shadowCascade),fe=Te+(Fe-Te)*oe/be.shadowCascade,xe=$*be.cascadeSplitLogFactor+fe*(1-be.cascadeSplitLogFactor);V.push(xe),Ue.push(-(-xe*re+ee)/-xe)}var ne=this._getTexture(be,be.shadowCascade);$e.push(ne);var de=J.viewport,ut=J.gl;this._frameBuffer.attach(ne),this._frameBuffer.bind(J),ut.clear(ut.COLOR_BUFFER_BIT|ut.DEPTH_BUFFER_BIT);for(var oe=0;oe= shadowCascadeClipsNear[_idx_] && depth <= shadowCascadeClipsFar[_idx_] ) { shadowContrib = computeShadowContrib( directionalLightShadowMaps[0], directionalLightMatrices[_idx_], position, directionalLightShadowMapSizes[0], vec2(1.0 / float(SHADOW_CASCADE), 1.0), vec2(float(_idx_) / float(SHADOW_CASCADE), 0.0) ); shadowContribs[0] = shadowContrib; } }} for(int _idx_ = DIRECTIONAL_LIGHT_SHADOWMAP_COUNT; _idx_ < DIRECTIONAL_LIGHT_COUNT; _idx_++) {{ shadowContribs[_idx_] = 1.0; }} } #else void computeShadowOfDirectionalLights(vec3 position, inout float shadowContribs[DIRECTIONAL_LIGHT_COUNT]){ float shadowContrib; for(int _idx_ = 0; _idx_ < DIRECTIONAL_LIGHT_SHADOWMAP_COUNT; _idx_++) {{ shadowContrib = computeShadowContrib( directionalLightShadowMaps[_idx_], directionalLightMatrices[_idx_], position, directionalLightShadowMapSizes[_idx_] ); shadowContribs[_idx_] = shadowContrib; }} for(int _idx_ = DIRECTIONAL_LIGHT_SHADOWMAP_COUNT; _idx_ < DIRECTIONAL_LIGHT_COUNT; _idx_++) {{ shadowContribs[_idx_] = 1.0; }} } #endif #endif #if defined(POINT_LIGHT_SHADOWMAP_COUNT) void computeShadowOfPointLights(vec3 position, inout float shadowContribs[POINT_LIGHT_COUNT] ){ vec3 lightPosition; vec3 direction; for(int _idx_ = 0; _idx_ < POINT_LIGHT_SHADOWMAP_COUNT; _idx_++) {{ lightPosition = pointLightPosition[_idx_]; direction = position - lightPosition; shadowContribs[_idx_] = computeShadowContribOmni(pointLightShadowMaps[_idx_], direction, pointLightRange[_idx_]); }} for(int _idx_ = POINT_LIGHT_SHADOWMAP_COUNT; _idx_ < POINT_LIGHT_COUNT; _idx_++) {{ shadowContribs[_idx_] = 1.0; }} } #endif #endif @end`},function(k,P,_){"use strict";var B=_(7),C=_(5),p=_(6),m=_(10),E=_(156),d=_(162),l=_(164),o=_(166),g=_(2),r=_(167),n=_(169),a=_(9),c=_(170),u=_(171),s=_(172),v=_(173),e=_(174),t=_(175),i=_(176),f=_(177),y=_(178),b=_(179),x=_(180),A=_(181);B.a.import(u.a),B.a.import(s.a),B.a.import(v.a),B.a.import(e.a),B.a.import(t.a),B.a.import(i.a),B.a.import(f.a),B.a.import(y.a),B.a.import(b.a),B.a.import(x.a),B.a.import(A.a);var w={color:{parameters:{width:function(O){return O.getWidth()},height:function(O){return O.getHeight()}}}},L=["composite","FXAA"];function D(){this._sourceTexture=new C.a({type:p.a.HALF_FLOAT}),this._depthTexture=new C.a({format:p.a.DEPTH_COMPONENT,type:p.a.UNSIGNED_INT}),this._framebuffer=new m.a,this._framebuffer.attach(this._sourceTexture),this._framebuffer.attach(this._depthTexture,m.a.DEPTH_ATTACHMENT),this._normalPass=new r.a,this._compositor=Object(E.a)(c.a);var O=this._compositor.getNodeByName("source");O.texture=this._sourceTexture;var N=this._compositor.getNodeByName("coc");this._sourceNode=O,this._cocNode=N,this._compositeNode=this._compositor.getNodeByName("composite"),this._fxaaNode=this._compositor.getNodeByName("FXAA"),this._dofBlurNodes=["dof_far_blur","dof_near_blur","dof_coc_blur"].map(function(K){return this._compositor.getNodeByName(K)},this),this._dofBlurKernel=0,this._dofBlurKernelSize=new Float32Array(0),this._finalNodesChain=L.map(function(K){return this._compositor.getNodeByName(K)},this);var I={normalTexture:this._normalPass.getNormalTexture(),depthTexture:this._normalPass.getDepthTexture()};this._ssaoPass=new d.a(I),this._ssrPass=new l.a(I),this._edgePass=new n.a(I)}D.prototype.resize=function(K,F,I){I=I||1;var K=K*I,F=F*I,W=this._sourceTexture,j=this._depthTexture;W.width=K,W.height=F,j.width=K,j.height=F},D.prototype._ifRenderNormalPass=function(){return this._enableSSAO||this._enableEdge||this._enableSSR},D.prototype._getPrevNode=function(O){for(var N=L.indexOf(O.name)-1,I=this._finalNodesChain[N];I&&!this._compositor.getNodeByName(I.name);)N-=1,I=this._finalNodesChain[N];return I},D.prototype._getNextNode=function(O){for(var N=L.indexOf(O.name)+1,I=this._finalNodesChain[N];I&&!this._compositor.getNodeByName(I.name);)N+=1,I=this._finalNodesChain[N];return I},D.prototype._addChainNode=function(O){var N=this._getPrevNode(O),I=this._getNextNode(O);N&&(N.outputs=w,O.inputs.texture=N.name,I?(O.outputs=w,I.inputs.texture=O.name):O.outputs=null,this._compositor.addNode(O))},D.prototype._removeChainNode=function(O){var N=this._getPrevNode(O),I=this._getNextNode(O);N&&(I?(N.outputs=w,I.inputs.texture=N.name):N.outputs=null,this._compositor.removeNode(O))},D.prototype.updateNormal=function(O,N,I,K){this._ifRenderNormalPass()&&this._normalPass.update(O,N,I)},D.prototype.updateSSAO=function(O,N,I,K){this._ssaoPass.update(O,I,K)},D.prototype.enableSSAO=function(){this._enableSSAO=!0},D.prototype.disableSSAO=function(){this._enableSSAO=!1},D.prototype.enableSSR=function(){this._enableSSR=!0},D.prototype.disableSSR=function(){this._enableSSR=!1},D.prototype.getSSAOTexture=function(O,N,I,K){return this._ssaoPass.getTargetTexture()},D.prototype.getSourceFrameBuffer=function(){return this._framebuffer},D.prototype.getSourceTexture=function(){return this._sourceTexture},D.prototype.disableFXAA=function(){this._removeChainNode(this._fxaaNode)},D.prototype.enableFXAA=function(){this._addChainNode(this._fxaaNode)},D.prototype.enableBloom=function(){this._compositeNode.inputs.bloom="bloom_composite",this._compositor.dirty()},D.prototype.disableBloom=function(){this._compositeNode.inputs.bloom=null,this._compositor.dirty()},D.prototype.enableDOF=function(){this._compositeNode.inputs.texture="dof_composite",this._compositor.dirty()},D.prototype.disableDOF=function(){this._compositeNode.inputs.texture="source",this._compositor.dirty()},D.prototype.enableColorCorrection=function(){this._compositeNode.define("COLOR_CORRECTION"),this._enableColorCorrection=!0},D.prototype.disableColorCorrection=function(){this._compositeNode.undefine("COLOR_CORRECTION"),this._enableColorCorrection=!1},D.prototype.enableEdge=function(){this._enableEdge=!0},D.prototype.disableEdge=function(){this._enableEdge=!1},D.prototype.setBloomIntensity=function(O){this._compositeNode.setParameter("bloomIntensity",O)},D.prototype.setSSAOParameter=function(O,N){switch(O){case"quality":var I={low:6,medium:12,high:32,ultra:62}[N]||12;this._ssaoPass.setParameter("kernelSize",I);break;case"radius":this._ssaoPass.setParameter(O,N),this._ssaoPass.setParameter("bias",N/200);break;case"intensity":this._ssaoPass.setParameter(O,N);break;default:console.warn("Unkown SSAO parameter "+O)}},D.prototype.setDOFParameter=function(O,N){switch(O){case"focalDistance":case"focalRange":case"fstop":this._cocNode.setParameter(O,N);break;case"blurRadius":for(var I=0;I=0||(this.nodes.push(m),this._dirty=!0)},removeNode:function(m){typeof m=="string"&&(m=this.getNodeByName(m));var E=this.nodes.indexOf(m);E>=0&&(this.nodes.splice(E,1),this._dirty=!0)},getNodeByName:function(m){for(var E=0;E=d.COLOR_ATTACHMENT0&&c<=d.COLOR_ATTACHMENT0+8&&s.push(c);u.drawBuffersEXT(s)}E.saveClear(),E.clearBit=C.a.DEPTH_BUFFER_BIT|C.a.COLOR_BUFFER_BIT,l=E.render(this.scene,this.camera,!this.autoUpdateScene,this.preZ),E.restoreClear(),o.unbind(E)}this.trigger("afterrender",l),this._rendering=!1,this._rendered=!0}});P.a=m},function(k,P,_){"use strict";var B=_(42),C=B.a.extend(function(){return{texture:null,outputs:{color:{}}}},function(){},{getOutput:function(p,m){return this.texture},beforeFrame:function(){},afterFrame:function(){}});P.a=C},function(k,P,_){"use strict";var B=_(14),C=_(42),p=C.a.extend(function(){return{name:"",inputs:{},outputs:null,shader:"",inputLinks:{},outputLinks:{},pass:null,_prevOutputTextures:{},_outputTextures:{},_outputReferences:{},_rendering:!1,_rendered:!1,_compositor:null}},function(){var m=new B.a({fragment:this.shader});this.pass=m},{render:function(m,E){this.trigger("beforerender",m),this._rendering=!0;var d=m.gl;for(var l in this.inputLinks){var o=this.inputLinks[l],g=o.node.getOutput(m,o.pin);this.pass.setUniform(l,g)}if(!this.outputs)this.pass.outputs=null,this._compositor.getFrameBuffer().unbind(m),this.pass.render(m,E);else{this.pass.outputs={};var r={};for(var n in this.outputs){var a=this.updateParameter(n,m);isNaN(a.width)&&this.updateParameter(n,m);var c=this.outputs[n],u=this._compositor.allocateTexture(a);this._outputTextures[n]=u;var s=c.attachment||d.COLOR_ATTACHMENT0;typeof s=="string"&&(s=d[s]),r[s]=u}this._compositor.getFrameBuffer().bind(m);for(var s in r)this._compositor.getFrameBuffer().attach(r[s],s);this.pass.render(m),this._compositor.getFrameBuffer().updateMipmap(m.gl)}for(var l in this.inputLinks){var o=this.inputLinks[l];o.node.removeReference(o.pin)}this._rendering=!1,this._rendered=!0,this.trigger("afterrender",m)},updateParameter:function(m,E){var d=this.outputs[m],l=d.parameters,o=d._parametersCopy;if(o||(o=d._parametersCopy={}),l)for(var g in l)g!=="width"&&g!=="height"&&(o[g]=l[g]);var r,n;return l.width instanceof Function?r=l.width.call(this,E):r=l.width,l.height instanceof Function?n=l.height.call(this,E):n=l.height,(o.width!==r||o.height!==n)&&this._outputTextures[m]&&this._outputTextures[m].dispose(E),o.width=r,o.height=n,o},setParameter:function(m,E){this.pass.setUniform(m,E)},getParameter:function(m){return this.pass.getUniform(m)},setParameters:function(m){for(var E in m)this.setParameter(E,m[E])},define:function(m,E){this.pass.material.define("fragment",m,E)},undefine:function(m){this.pass.material.undefine("fragment",m)},removeReference:function(m){if(this._outputReferences[m]--,this._outputReferences[m]===0){var E=this.outputs[m];E.keepLastFrame?(this._prevOutputTextures[m]&&this._compositor.releaseTexture(this._prevOutputTextures[m]),this._prevOutputTextures[m]=this._outputTextures[m]):this._compositor.releaseTexture(this._outputTextures[m])}},clear:function(){C.a.prototype.clear.call(this),this.pass.material.disableTexturesAll()}});P.a=p},function(k,P,_){"use strict";var B=_(9),C=_(4),p=_(5),m=_(6),E=_(14),d=_(7),l=_(10),o=_(43),g=_(163);d.a.import(g.a);function r(u){for(var s=new Uint8Array(u*u*4),v=0,e=new C.a,t=0;t 0.99999) { gl_FragColor = vec4(1.0); return; } mat3 kernelBasis; #endif float z = depthTexel.r * 2.0 - 1.0; vec4 projectedPos = vec4(v_Texcoord * 2.0 - 1.0, z, 1.0); vec4 p4 = projectionInv * projectedPos; vec3 position = p4.xyz / p4.w; float ao = ssaoEstimator(position, kernelBasis); ao = clamp(1.0 - (1.0 - ao) * intensity, 0.0, 1.0); gl_FragColor = vec4(vec3(ao), 1.0); } @end @export ecgl.ssao.blur #define SHADER_NAME SSAO_BLUR uniform sampler2D ssaoTexture; #ifdef NORMALTEX_ENABLED uniform sampler2D normalTex; #endif varying vec2 v_Texcoord; uniform vec2 textureSize; uniform float blurSize : 1.0; uniform int direction: 0.0; #ifdef DEPTHTEX_ENABLED uniform sampler2D depthTex; uniform mat4 projection; uniform float depthRange : 0.5; float getLinearDepth(vec2 coord) { float depth = texture2D(depthTex, coord).r * 2.0 - 1.0; return projection[3][2] / (depth * projection[2][3] - projection[2][2]); } #endif void main() { float kernel[5]; kernel[0] = 0.122581; kernel[1] = 0.233062; kernel[2] = 0.288713; kernel[3] = 0.233062; kernel[4] = 0.122581; vec2 off = vec2(0.0); if (direction == 0) { off[0] = blurSize / textureSize.x; } else { off[1] = blurSize / textureSize.y; } vec2 coord = v_Texcoord; float sum = 0.0; float weightAll = 0.0; #ifdef NORMALTEX_ENABLED vec3 centerNormal = texture2D(normalTex, v_Texcoord).rgb * 2.0 - 1.0; #endif #if defined(DEPTHTEX_ENABLED) float centerDepth = getLinearDepth(v_Texcoord); #endif for (int i = 0; i < 5; i++) { vec2 coord = clamp(v_Texcoord + vec2(float(i) - 2.0) * off, vec2(0.0), vec2(1.0)); float w = kernel[i]; #ifdef NORMALTEX_ENABLED vec3 normal = texture2D(normalTex, coord).rgb * 2.0 - 1.0; w *= clamp(dot(normal, centerNormal), 0.0, 1.0); #endif #ifdef DEPTHTEX_ENABLED float d = getLinearDepth(coord); w *= (1.0 - smoothstep(abs(centerDepth - d) / depthRange, 0.0, 1.0)); #endif weightAll += w; sum += texture2D(ssaoTexture, coord).r * w; } gl_FragColor = vec4(vec3(sum / weightAll), 1.0); } @end `},function(k,P,_){"use strict";var B=_(9),C=_(4),p=_(5),m=_(6),E=_(14),d=_(7),l=_(10),o=_(43),g=_(165);d.a.import(g.a);function r(n){n=n||{},this._ssrPass=new E.a({fragment:d.a.source("ecgl.ssr.main"),clearColor:[0,0,0,0]}),this._blurPass1=new E.a({fragment:d.a.source("ecgl.ssr.blur"),clearColor:[0,0,0,0]}),this._blurPass2=new E.a({fragment:d.a.source("ecgl.ssr.blur"),clearColor:[0,0,0,0]}),this._ssrPass.setUniform("gBufferTexture1",n.normalTexture),this._ssrPass.setUniform("gBufferTexture2",n.depthTexture),this._blurPass1.setUniform("gBufferTexture1",n.normalTexture),this._blurPass1.setUniform("gBufferTexture2",n.depthTexture),this._blurPass2.setUniform("gBufferTexture1",n.normalTexture),this._blurPass2.setUniform("gBufferTexture2",n.depthTexture),this._blurPass2.material.define("fragment","VERTICAL"),this._blurPass2.material.define("fragment","BLEND"),this._texture1=new p.a({type:m.a.HALF_FLOAT}),this._texture2=new p.a({type:m.a.HALF_FLOAT}),this._texture3=new p.a({type:m.a.HALF_FLOAT}),this._frameBuffer=new l.a({depthBuffer:!1})}r.prototype.update=function(n,a,c,u){var s=n.getWidth(),v=n.getHeight(),e=n.getDevicePixelRatio(),t=this._texture1,i=this._texture2,f=this._texture3;i.width=s/2,i.height=v/2,t.width=s,t.height=v,f.width=s*e,f.height=v*e;var y=this._frameBuffer,b=this._ssrPass,x=this._blurPass1,A=this._blurPass2,w=new B.a;B.a.transpose(w,a.worldTransform),b.setUniform("sourceTexture",c),b.setUniform("projection",a.projectionMatrix.array),b.setUniform("projectionInv",a.invProjectionMatrix.array),b.setUniform("viewInverseTranspose",w.array),b.setUniform("nearZ",a.near),b.setUniform("jitterOffset",u/30),x.setUniform("textureSize",[s/2,v/2]),A.setUniform("textureSize",[s,v]),A.setUniform("sourceTexture",c),x.setUniform("projection",a.projectionMatrix.array),A.setUniform("projection",a.projectionMatrix.array),y.attach(t),y.bind(n),b.render(n),y.attach(i),x.setUniform("texture",t),x.render(n),y.attach(f),A.setUniform("texture",i),A.render(n),y.unbind(n)},r.prototype.getTargetTexture=function(){return this._texture3},r.prototype.setParameter=function(n,a){n==="maxIteration"?this._ssrPass.material.define("fragment","MAX_ITERATION",a):this._ssrPass.setUniform(n,a)},r.prototype.setSSAOTexture=function(n){var a=this._blurPass2;n?(a.material.enableTexture("ssaoTex"),a.material.set("ssaoTex",n)):a.material.disableTexture("ssaoTex")},r.prototype.dispose=function(n){this._texture1.dispose(n),this._texture2.dispose(n),this._texture3.dispose(n),this._frameBuffer.dispose(n)},P.a=r},function(k,P,_){"use strict";P.a=`@export ecgl.ssr.main #define MAX_ITERATION 20; uniform sampler2D sourceTexture; uniform sampler2D gBufferTexture1; uniform sampler2D gBufferTexture2; uniform mat4 projection; uniform mat4 projectionInv; uniform mat4 viewInverseTranspose; uniform float maxRayDistance: 50; uniform float pixelStride: 16; uniform float pixelStrideZCutoff: 50; uniform float screenEdgeFadeStart: 0.9; uniform float eyeFadeStart : 0.2; uniform float eyeFadeEnd: 0.8; uniform float minGlossiness: 0.2; uniform float zThicknessThreshold: 10; uniform float nearZ; uniform vec2 viewportSize : VIEWPORT_SIZE; uniform float jitterOffset: 0; varying vec2 v_Texcoord; #ifdef DEPTH_DECODE @import clay.util.decode_float #endif float fetchDepth(sampler2D depthTexture, vec2 uv) { vec4 depthTexel = texture2D(depthTexture, uv); return depthTexel.r * 2.0 - 1.0; } float linearDepth(float depth) { if (projection[3][3] == 0.0) { return projection[3][2] / (depth * projection[2][3] - projection[2][2]); } else { return (depth - projection[3][2]) / projection[2][2]; } } bool rayIntersectDepth(float rayZNear, float rayZFar, vec2 hitPixel) { if (rayZFar > rayZNear) { float t = rayZFar; rayZFar = rayZNear; rayZNear = t; } float cameraZ = linearDepth(fetchDepth(gBufferTexture2, hitPixel)); return rayZFar <= cameraZ && rayZNear >= cameraZ - zThicknessThreshold; } bool traceScreenSpaceRay( vec3 rayOrigin, vec3 rayDir, float jitter, out vec2 hitPixel, out vec3 hitPoint, out float iterationCount ) { float rayLength = ((rayOrigin.z + rayDir.z * maxRayDistance) > -nearZ) ? (-nearZ - rayOrigin.z) / rayDir.z : maxRayDistance; vec3 rayEnd = rayOrigin + rayDir * rayLength; vec4 H0 = projection * vec4(rayOrigin, 1.0); vec4 H1 = projection * vec4(rayEnd, 1.0); float k0 = 1.0 / H0.w, k1 = 1.0 / H1.w; vec3 Q0 = rayOrigin * k0, Q1 = rayEnd * k1; vec2 P0 = (H0.xy * k0 * 0.5 + 0.5) * viewportSize; vec2 P1 = (H1.xy * k1 * 0.5 + 0.5) * viewportSize; P1 += dot(P1 - P0, P1 - P0) < 0.0001 ? 0.01 : 0.0; vec2 delta = P1 - P0; bool permute = false; if (abs(delta.x) < abs(delta.y)) { permute = true; delta = delta.yx; P0 = P0.yx; P1 = P1.yx; } float stepDir = sign(delta.x); float invdx = stepDir / delta.x; vec3 dQ = (Q1 - Q0) * invdx; float dk = (k1 - k0) * invdx; vec2 dP = vec2(stepDir, delta.y * invdx); float strideScaler = 1.0 - min(1.0, -rayOrigin.z / pixelStrideZCutoff); float pixStride = 1.0 + strideScaler * pixelStride; dP *= pixStride; dQ *= pixStride; dk *= pixStride; vec4 pqk = vec4(P0, Q0.z, k0); vec4 dPQK = vec4(dP, dQ.z, dk); pqk += dPQK * jitter; float rayZFar = (dPQK.z * 0.5 + pqk.z) / (dPQK.w * 0.5 + pqk.w); float rayZNear; bool intersect = false; vec2 texelSize = 1.0 / viewportSize; iterationCount = 0.0; for (int i = 0; i < MAX_ITERATION; i++) { pqk += dPQK; rayZNear = rayZFar; rayZFar = (dPQK.z * 0.5 + pqk.z) / (dPQK.w * 0.5 + pqk.w); hitPixel = permute ? pqk.yx : pqk.xy; hitPixel *= texelSize; intersect = rayIntersectDepth(rayZNear, rayZFar, hitPixel); iterationCount += 1.0; if (intersect) { break; } } Q0.xy += dQ.xy * iterationCount; Q0.z = pqk.z; hitPoint = Q0 / pqk.w; return intersect; } float calculateAlpha( float iterationCount, float reflectivity, vec2 hitPixel, vec3 hitPoint, float dist, vec3 rayDir ) { float alpha = clamp(reflectivity, 0.0, 1.0); alpha *= 1.0 - (iterationCount / float(MAX_ITERATION)); vec2 hitPixelNDC = hitPixel * 2.0 - 1.0; float maxDimension = min(1.0, max(abs(hitPixelNDC.x), abs(hitPixelNDC.y))); alpha *= 1.0 - max(0.0, maxDimension - screenEdgeFadeStart) / (1.0 - screenEdgeFadeStart); float _eyeFadeStart = eyeFadeStart; float _eyeFadeEnd = eyeFadeEnd; if (_eyeFadeStart > _eyeFadeEnd) { float tmp = _eyeFadeEnd; _eyeFadeEnd = _eyeFadeStart; _eyeFadeStart = tmp; } float eyeDir = clamp(rayDir.z, _eyeFadeStart, _eyeFadeEnd); alpha *= 1.0 - (eyeDir - _eyeFadeStart) / (_eyeFadeEnd - _eyeFadeStart); alpha *= 1.0 - clamp(dist / maxRayDistance, 0.0, 1.0); return alpha; } @import clay.util.rand @import clay.util.rgbm void main() { vec4 normalAndGloss = texture2D(gBufferTexture1, v_Texcoord); if (dot(normalAndGloss.rgb, vec3(1.0)) == 0.0) { discard; } float g = normalAndGloss.a; if (g <= minGlossiness) { discard; } float reflectivity = (g - minGlossiness) / (1.0 - minGlossiness); vec3 N = normalAndGloss.rgb * 2.0 - 1.0; N = normalize((viewInverseTranspose * vec4(N, 0.0)).xyz); vec4 projectedPos = vec4(v_Texcoord * 2.0 - 1.0, fetchDepth(gBufferTexture2, v_Texcoord), 1.0); vec4 pos = projectionInv * projectedPos; vec3 rayOrigin = pos.xyz / pos.w; vec3 rayDir = normalize(reflect(normalize(rayOrigin), N)); vec2 hitPixel; vec3 hitPoint; float iterationCount; vec2 uv2 = v_Texcoord * viewportSize; float jitter = rand(fract(v_Texcoord + jitterOffset)); bool intersect = traceScreenSpaceRay(rayOrigin, rayDir, jitter, hitPixel, hitPoint, iterationCount); float dist = distance(rayOrigin, hitPoint); float alpha = calculateAlpha(iterationCount, reflectivity, hitPixel, hitPoint, dist, rayDir) * float(intersect); vec3 hitNormal = texture2D(gBufferTexture1, hitPixel).rgb * 2.0 - 1.0; hitNormal = normalize((viewInverseTranspose * vec4(hitNormal, 0.0)).xyz); if (dot(hitNormal, rayDir) >= 0.0) { discard; } if (!intersect) { discard; } vec4 color = decodeHDR(texture2D(sourceTexture, hitPixel)); gl_FragColor = encodeHDR(vec4(color.rgb * alpha, color.a)); } @end @export ecgl.ssr.blur uniform sampler2D texture; uniform sampler2D gBufferTexture1; uniform sampler2D gBufferTexture2; uniform mat4 projection; uniform float depthRange : 0.05; varying vec2 v_Texcoord; uniform vec2 textureSize; uniform float blurSize : 4.0; #ifdef BLEND #ifdef SSAOTEX_ENABLED uniform sampler2D ssaoTex; #endif uniform sampler2D sourceTexture; #endif float getLinearDepth(vec2 coord) { float depth = texture2D(gBufferTexture2, coord).r * 2.0 - 1.0; return projection[3][2] / (depth * projection[2][3] - projection[2][2]); } @import clay.util.rgbm void main() { @import clay.compositor.kernel.gaussian_9 vec4 centerNTexel = texture2D(gBufferTexture1, v_Texcoord); float g = centerNTexel.a; float maxBlurSize = clamp(1.0 - g + 0.1, 0.0, 1.0) * blurSize; #ifdef VERTICAL vec2 off = vec2(0.0, maxBlurSize / textureSize.y); #else vec2 off = vec2(maxBlurSize / textureSize.x, 0.0); #endif vec2 coord = v_Texcoord; vec4 sum = vec4(0.0); float weightAll = 0.0; vec3 cN = centerNTexel.rgb * 2.0 - 1.0; float cD = getLinearDepth(v_Texcoord); for (int i = 0; i < 9; i++) { vec2 coord = clamp((float(i) - 4.0) * off + v_Texcoord, vec2(0.0), vec2(1.0)); float w = gaussianKernel[i] * clamp(dot(cN, texture2D(gBufferTexture1, coord).rgb * 2.0 - 1.0), 0.0, 1.0); float d = getLinearDepth(coord); w *= (1.0 - smoothstep(abs(cD - d) / depthRange, 0.0, 1.0)); weightAll += w; sum += decodeHDR(texture2D(texture, coord)) * w; } #ifdef BLEND float aoFactor = 1.0; #ifdef SSAOTEX_ENABLED aoFactor = texture2D(ssaoTex, v_Texcoord).r; #endif gl_FragColor = encodeHDR( sum / weightAll * aoFactor + decodeHDR(texture2D(sourceTexture, v_Texcoord)) ); #else gl_FragColor = encodeHDR(sum / weightAll); #endif } @end`},function(k,P,_){"use strict";P.a=[0,0,-.321585265978,-.154972575841,.458126042375,.188473391593,.842080129861,.527766490688,.147304551086,-.659453822776,-.331943915203,-.940619700594,.0479226680259,.54812163202,.701581552186,-.709825561388,-.295436780218,.940589268233,-.901489676764,.237713156085,.973570876096,-.109899459384,-.866792314779,-.451805525005,.330975007087,.800048655954,-.344275183665,.381779221166,-.386139432542,-.437418421534,-.576478634965,-.0148463392551,.385798197415,-.262426961053,-.666302061145,.682427250835,-.628010632582,-.732836215494,.10163141741,-.987658134403,.711995289051,-.320024291314,.0296005138058,.950296523438,.0130612307608,-.351024443122,-.879596633704,-.10478487883,.435712737232,.504254490347,.779203817497,.206477676721,.388264289969,-.896736162545,-.153106280781,-.629203242522,-.245517550697,.657969239148,.126830499058,.26862328493,-.634888119007,-.302301223431,.617074219636,.779817204925]},function(k,P,_){"use strict";var B=_(5),C=_(6),p=_(7),m=_(10),E=_(17),d=_(14),l=_(54),o=_(168);p.a.import(o.a);function g(a,c,u,s,v){var e=a.gl;c.setUniform(e,"1i",u,v),e.activeTexture(e.TEXTURE0+v),s.isRenderable()?s.bind(a):s.unbind(a)}function r(a,c,u,s,v){var e,t,i,f,y=a.gl;return function(b,x,A){if(!(f&&f.material===b.material)){var w=b.material,L=b.__program,D=w.get("roughness");D==null&&(D=1);var O=w.get("normalMap")||c,N=w.get("roughnessMap"),I=w.get("bumpMap"),K=w.get("uvRepeat"),F=w.get("uvOffset"),W=w.get("detailUvRepeat"),j=w.get("detailUvOffset"),X=!!I&&w.isTextureEnabled("bumpMap"),Y=!!N&&w.isTextureEnabled("roughnessMap"),le=w.isDefined("fragment","DOUBLE_SIDED");I=I||u,N=N||s,A!==x?(x.set("normalMap",O),x.set("bumpMap",I),x.set("roughnessMap",N),x.set("useBumpMap",X),x.set("useRoughnessMap",Y),x.set("doubleSide",le),K!=null&&x.set("uvRepeat",K),F!=null&&x.set("uvOffset",F),W!=null&&x.set("detailUvRepeat",W),j!=null&&x.set("detailUvOffset",j),x.set("roughness",D)):(L.setUniform(y,"1f","roughness",D),e!==O&&g(a,L,"normalMap",O,0),t!==I&&I&&g(a,L,"bumpMap",I,1),i!==N&&N&&g(a,L,"roughnessMap",N,2),K!=null&&L.setUniform(y,"2f","uvRepeat",K),F!=null&&L.setUniform(y,"2f","uvOffset",F),W!=null&&L.setUniform(y,"2f","detailUvRepeat",W),j!=null&&L.setUniform(y,"2f","detailUvOffset",j),L.setUniform(y,"1i","useBumpMap",+X),L.setUniform(y,"1i","useRoughnessMap",+Y),L.setUniform(y,"1i","doubleSide",+le)),e=O,t=I,i=N,f=b}}}function n(a){a=a||{},this._depthTex=new B.a({format:C.a.DEPTH_COMPONENT,type:C.a.UNSIGNED_INT}),this._normalTex=new B.a({type:C.a.HALF_FLOAT}),this._framebuffer=new m.a,this._framebuffer.attach(this._normalTex),this._framebuffer.attach(this._depthTex,m.a.DEPTH_ATTACHMENT),this._normalMaterial=new E.a({shader:new p.a(p.a.source("ecgl.normal.vertex"),p.a.source("ecgl.normal.fragment"))}),this._normalMaterial.enableTexture(["normalMap","bumpMap","roughnessMap"]),this._defaultNormalMap=l.a.createBlank("#000"),this._defaultBumpMap=l.a.createBlank("#000"),this._defaultRoughessMap=l.a.createBlank("#000"),this._debugPass=new d.a({fragment:p.a.source("clay.compositor.output")}),this._debugPass.setUniform("texture",this._normalTex),this._debugPass.material.undefine("fragment","OUTPUT_ALPHA")}n.prototype.getDepthTexture=function(){return this._depthTex},n.prototype.getNormalTexture=function(){return this._normalTex},n.prototype.update=function(a,c,u){var s=a.getWidth(),v=a.getHeight(),e=this._depthTex,t=this._normalTex,i=this._normalMaterial;e.width=s,e.height=v,t.width=s,t.height=v;var f=c.opaqueList;this._framebuffer.bind(a),a.gl.clearColor(0,0,0,0),a.gl.clear(a.gl.COLOR_BUFFER_BIT|a.gl.DEPTH_BUFFER_BIT),a.gl.disable(a.gl.BLEND),a.renderPass(f,u,{getMaterial:function(){return i},ifRender:function(y){return y.renderNormal},beforeRender:r(a,this._defaultNormalMap,this._defaultBumpMap,this._defaultRoughessMap,this._normalMaterial),sort:a.opaqueSortCompare}),this._framebuffer.unbind(a)},n.prototype.renderDebug=function(a){this._debugPass.render(a)},n.prototype.dispose=function(a){this._depthTex.dispose(a),this._normalTex.dispose(a)},P.a=n},function(k,P,_){"use strict";P.a=`@export ecgl.normal.vertex @import ecgl.common.transformUniforms @import ecgl.common.uv.header @import ecgl.common.attributes varying vec3 v_Normal; varying vec3 v_WorldPosition; @import ecgl.common.normalMap.vertexHeader @import ecgl.common.vertexAnimation.header void main() { @import ecgl.common.vertexAnimation.main @import ecgl.common.uv.main v_Normal = normalize((worldInverseTranspose * vec4(normal, 0.0)).xyz); v_WorldPosition = (world * vec4(pos, 1.0)).xyz; @import ecgl.common.normalMap.vertexMain gl_Position = worldViewProjection * vec4(pos, 1.0); } @end @export ecgl.normal.fragment #define ROUGHNESS_CHANEL 0 uniform bool useBumpMap; uniform bool useRoughnessMap; uniform bool doubleSide; uniform float roughness; @import ecgl.common.uv.fragmentHeader varying vec3 v_Normal; varying vec3 v_WorldPosition; uniform mat4 viewInverse : VIEWINVERSE; @import ecgl.common.normalMap.fragmentHeader @import ecgl.common.bumpMap.header uniform sampler2D roughnessMap; void main() { vec3 N = v_Normal; bool flipNormal = false; if (doubleSide) { vec3 eyePos = viewInverse[3].xyz; vec3 V = normalize(eyePos - v_WorldPosition); if (dot(N, V) < 0.0) { flipNormal = true; } } @import ecgl.common.normalMap.fragmentMain if (useBumpMap) { N = bumpNormal(v_WorldPosition, v_Normal, N); } float g = 1.0 - roughness; if (useRoughnessMap) { float g2 = 1.0 - texture2D(roughnessMap, v_DetailTexcoord)[ROUGHNESS_CHANEL]; g = clamp(g2 + (g - 0.5) * 2.0, 0.0, 1.0); } if (flipNormal) { N = -N; } gl_FragColor.rgb = (N.xyz + 1.0) * 0.5; gl_FragColor.a = g; } @end`},function(k,P,_){"use strict";var B=_(9),C=_(4),p=_(5),m=_(6),E=_(14),d=_(7),l=_(10);function o(g){g=g||{},this._edgePass=new E.a({fragment:d.a.source("ecgl.edge")}),this._edgePass.setUniform("normalTexture",g.normalTexture),this._edgePass.setUniform("depthTexture",g.depthTexture),this._targetTexture=new p.a({type:m.a.HALF_FLOAT}),this._frameBuffer=new l.a,this._frameBuffer.attach(this._targetTexture)}o.prototype.update=function(g,r,n,a){var c=g.getWidth(),u=g.getHeight(),s=this._targetTexture;s.width=c,s.height=u;var v=this._frameBuffer;v.bind(g),this._edgePass.setUniform("projectionInv",r.invProjectionMatrix.array),this._edgePass.setUniform("textureSize",[c,u]),this._edgePass.setUniform("texture",n),this._edgePass.render(g),v.unbind(g)},o.prototype.getTargetTexture=function(){return this._targetTexture},o.prototype.setParameter=function(g,r){this._edgePass.setUniform(g,r)},o.prototype.dispose=function(g){this._targetTexture.dispose(g),this._frameBuffer.dispose(g)},P.a=o},function(k,P,_){"use strict";P.a={type:"compositor",nodes:[{name:"source",type:"texture",outputs:{color:{}}},{name:"source_half",shader:"#source(clay.compositor.downsample)",inputs:{texture:"source"},outputs:{color:{parameters:{width:"expr(width * 1.0 / 2)",height:"expr(height * 1.0 / 2)",type:"HALF_FLOAT"}}},parameters:{textureSize:"expr( [width * 1.0, height * 1.0] )"}},{name:"bright",shader:"#source(clay.compositor.bright)",inputs:{texture:"source_half"},outputs:{color:{parameters:{width:"expr(width * 1.0 / 2)",height:"expr(height * 1.0 / 2)",type:"HALF_FLOAT"}}},parameters:{threshold:2,scale:4,textureSize:"expr([width * 1.0 / 2, height / 2])"}},{name:"bright_downsample_4",shader:"#source(clay.compositor.downsample)",inputs:{texture:"bright"},outputs:{color:{parameters:{width:"expr(width * 1.0 / 4)",height:"expr(height * 1.0 / 4)",type:"HALF_FLOAT"}}},parameters:{textureSize:"expr( [width * 1.0 / 2, height / 2] )"}},{name:"bright_downsample_8",shader:"#source(clay.compositor.downsample)",inputs:{texture:"bright_downsample_4"},outputs:{color:{parameters:{width:"expr(width * 1.0 / 8)",height:"expr(height * 1.0 / 8)",type:"HALF_FLOAT"}}},parameters:{textureSize:"expr( [width * 1.0 / 4, height / 4] )"}},{name:"bright_downsample_16",shader:"#source(clay.compositor.downsample)",inputs:{texture:"bright_downsample_8"},outputs:{color:{parameters:{width:"expr(width * 1.0 / 16)",height:"expr(height * 1.0 / 16)",type:"HALF_FLOAT"}}},parameters:{textureSize:"expr( [width * 1.0 / 8, height / 8] )"}},{name:"bright_downsample_32",shader:"#source(clay.compositor.downsample)",inputs:{texture:"bright_downsample_16"},outputs:{color:{parameters:{width:"expr(width * 1.0 / 32)",height:"expr(height * 1.0 / 32)",type:"HALF_FLOAT"}}},parameters:{textureSize:"expr( [width * 1.0 / 16, height / 16] )"}},{name:"bright_upsample_16_blur_h",shader:"#source(clay.compositor.gaussian_blur)",inputs:{texture:"bright_downsample_32"},outputs:{color:{parameters:{width:"expr(width * 1.0 / 16)",height:"expr(height * 1.0 / 16)",type:"HALF_FLOAT"}}},parameters:{blurSize:1,blurDir:0,textureSize:"expr( [width * 1.0 / 32, height / 32] )"}},{name:"bright_upsample_16_blur_v",shader:"#source(clay.compositor.gaussian_blur)",inputs:{texture:"bright_upsample_16_blur_h"},outputs:{color:{parameters:{width:"expr(width * 1.0 / 16)",height:"expr(height * 1.0 / 16)",type:"HALF_FLOAT"}}},parameters:{blurSize:1,blurDir:1,textureSize:"expr( [width * 1.0 / 16, height * 1.0 / 16] )"}},{name:"bright_upsample_8_blur_h",shader:"#source(clay.compositor.gaussian_blur)",inputs:{texture:"bright_downsample_16"},outputs:{color:{parameters:{width:"expr(width * 1.0 / 8)",height:"expr(height * 1.0 / 8)",type:"HALF_FLOAT"}}},parameters:{blurSize:1,blurDir:0,textureSize:"expr( [width * 1.0 / 16, height * 1.0 / 16] )"}},{name:"bright_upsample_8_blur_v",shader:"#source(clay.compositor.gaussian_blur)",inputs:{texture:"bright_upsample_8_blur_h"},outputs:{color:{parameters:{width:"expr(width * 1.0 / 8)",height:"expr(height * 1.0 / 8)",type:"HALF_FLOAT"}}},parameters:{blurSize:1,blurDir:1,textureSize:"expr( [width * 1.0 / 8, height * 1.0 / 8] )"}},{name:"bright_upsample_8_blend",shader:"#source(clay.compositor.blend)",inputs:{texture1:"bright_upsample_8_blur_v",texture2:"bright_upsample_16_blur_v"},outputs:{color:{parameters:{width:"expr(width * 1.0 / 8)",height:"expr(height * 1.0 / 8)",type:"HALF_FLOAT"}}},parameters:{weight1:.3,weight2:.7}},{name:"bright_upsample_4_blur_h",shader:"#source(clay.compositor.gaussian_blur)",inputs:{texture:"bright_downsample_8"},outputs:{color:{parameters:{width:"expr(width * 1.0 / 4)",height:"expr(height * 1.0 / 4)",type:"HALF_FLOAT"}}},parameters:{blurSize:1,blurDir:0,textureSize:"expr( [width * 1.0 / 8, height * 1.0 / 8] )"}},{name:"bright_upsample_4_blur_v",shader:"#source(clay.compositor.gaussian_blur)",inputs:{texture:"bright_upsample_4_blur_h"},outputs:{color:{parameters:{width:"expr(width * 1.0 / 4)",height:"expr(height * 1.0 / 4)",type:"HALF_FLOAT"}}},parameters:{blurSize:1,blurDir:1,textureSize:"expr( [width * 1.0 / 4, height * 1.0 / 4] )"}},{name:"bright_upsample_4_blend",shader:"#source(clay.compositor.blend)",inputs:{texture1:"bright_upsample_4_blur_v",texture2:"bright_upsample_8_blend"},outputs:{color:{parameters:{width:"expr(width * 1.0 / 4)",height:"expr(height * 1.0 / 4)",type:"HALF_FLOAT"}}},parameters:{weight1:.3,weight2:.7}},{name:"bright_upsample_2_blur_h",shader:"#source(clay.compositor.gaussian_blur)",inputs:{texture:"bright_downsample_4"},outputs:{color:{parameters:{width:"expr(width * 1.0 / 2)",height:"expr(height * 1.0 / 2)",type:"HALF_FLOAT"}}},parameters:{blurSize:1,blurDir:0,textureSize:"expr( [width * 1.0 / 4, height * 1.0 / 4] )"}},{name:"bright_upsample_2_blur_v",shader:"#source(clay.compositor.gaussian_blur)",inputs:{texture:"bright_upsample_2_blur_h"},outputs:{color:{parameters:{width:"expr(width * 1.0 / 2)",height:"expr(height * 1.0 / 2)",type:"HALF_FLOAT"}}},parameters:{blurSize:1,blurDir:1,textureSize:"expr( [width * 1.0 / 2, height * 1.0 / 2] )"}},{name:"bright_upsample_2_blend",shader:"#source(clay.compositor.blend)",inputs:{texture1:"bright_upsample_2_blur_v",texture2:"bright_upsample_4_blend"},outputs:{color:{parameters:{width:"expr(width * 1.0 / 2)",height:"expr(height * 1.0 / 2)",type:"HALF_FLOAT"}}},parameters:{weight1:.3,weight2:.7}},{name:"bright_upsample_full_blur_h",shader:"#source(clay.compositor.gaussian_blur)",inputs:{texture:"bright"},outputs:{color:{parameters:{width:"expr(width * 1.0)",height:"expr(height * 1.0)",type:"HALF_FLOAT"}}},parameters:{blurSize:1,blurDir:0,textureSize:"expr( [width * 1.0 / 2, height * 1.0 / 2] )"}},{name:"bright_upsample_full_blur_v",shader:"#source(clay.compositor.gaussian_blur)",inputs:{texture:"bright_upsample_full_blur_h"},outputs:{color:{parameters:{width:"expr(width * 1.0)",height:"expr(height * 1.0)",type:"HALF_FLOAT"}}},parameters:{blurSize:1,blurDir:1,textureSize:"expr( [width * 1.0, height * 1.0] )"}},{name:"bloom_composite",shader:"#source(clay.compositor.blend)",inputs:{texture1:"bright_upsample_full_blur_v",texture2:"bright_upsample_2_blend"},outputs:{color:{parameters:{width:"expr(width * 1.0)",height:"expr(height * 1.0)",type:"HALF_FLOAT"}}},parameters:{weight1:.3,weight2:.7}},{name:"coc",shader:"#source(ecgl.dof.coc)",outputs:{color:{parameters:{minFilter:"NEAREST",magFilter:"NEAREST",width:"expr(width * 1.0)",height:"expr(height * 1.0)"}}},parameters:{focalDist:50,focalRange:30}},{name:"dof_far_blur",shader:"#source(ecgl.dof.diskBlur)",inputs:{texture:"source",coc:"coc"},outputs:{color:{parameters:{width:"expr(width * 1.0)",height:"expr(height * 1.0)",type:"HALF_FLOAT"}}},parameters:{textureSize:"expr( [width * 1.0, height * 1.0] )"}},{name:"dof_near_blur",shader:"#source(ecgl.dof.diskBlur)",inputs:{texture:"source",coc:"coc"},outputs:{color:{parameters:{width:"expr(width * 1.0)",height:"expr(height * 1.0)",type:"HALF_FLOAT"}}},parameters:{textureSize:"expr( [width * 1.0, height * 1.0] )"},defines:{BLUR_NEARFIELD:null}},{name:"dof_coc_blur",shader:"#source(ecgl.dof.diskBlur)",inputs:{texture:"coc"},outputs:{color:{parameters:{minFilter:"NEAREST",magFilter:"NEAREST",width:"expr(width * 1.0)",height:"expr(height * 1.0)"}}},parameters:{textureSize:"expr( [width * 1.0, height * 1.0] )"},defines:{BLUR_COC:null}},{name:"dof_composite",shader:"#source(ecgl.dof.composite)",inputs:{original:"source",blurred:"dof_far_blur",nearfield:"dof_near_blur",coc:"coc",nearcoc:"dof_coc_blur"},outputs:{color:{parameters:{width:"expr(width * 1.0)",height:"expr(height * 1.0)",type:"HALF_FLOAT"}}}},{name:"composite",shader:"#source(clay.compositor.hdr.composite)",inputs:{texture:"source",bloom:"bloom_composite"},defines:{}},{name:"FXAA",shader:"#source(clay.compositor.fxaa)",inputs:{texture:"composite"}}]}},function(k,P,_){"use strict";P.a=`@export clay.compositor.kernel.gaussian_9 float gaussianKernel[9]; gaussianKernel[0] = 0.07; gaussianKernel[1] = 0.09; gaussianKernel[2] = 0.12; gaussianKernel[3] = 0.14; gaussianKernel[4] = 0.16; gaussianKernel[5] = 0.14; gaussianKernel[6] = 0.12; gaussianKernel[7] = 0.09; gaussianKernel[8] = 0.07; @end @export clay.compositor.kernel.gaussian_13 float gaussianKernel[13]; gaussianKernel[0] = 0.02; gaussianKernel[1] = 0.03; gaussianKernel[2] = 0.06; gaussianKernel[3] = 0.08; gaussianKernel[4] = 0.11; gaussianKernel[5] = 0.13; gaussianKernel[6] = 0.14; gaussianKernel[7] = 0.13; gaussianKernel[8] = 0.11; gaussianKernel[9] = 0.08; gaussianKernel[10] = 0.06; gaussianKernel[11] = 0.03; gaussianKernel[12] = 0.02; @end @export clay.compositor.gaussian_blur #define SHADER_NAME gaussian_blur uniform sampler2D texture;varying vec2 v_Texcoord; uniform float blurSize : 2.0; uniform vec2 textureSize : [512.0, 512.0]; uniform float blurDir : 0.0; @import clay.util.rgbm @import clay.util.clamp_sample void main (void) { @import clay.compositor.kernel.gaussian_9 vec2 off = blurSize / textureSize; off *= vec2(1.0 - blurDir, blurDir); vec4 sum = vec4(0.0); float weightAll = 0.0; for (int i = 0; i < 9; i++) { float w = gaussianKernel[i]; vec4 texel = decodeHDR(clampSample(texture, v_Texcoord + float(i - 4) * off)); sum += texel * w; weightAll += w; } gl_FragColor = encodeHDR(sum / max(weightAll, 0.01)); } @end `},function(k,P,_){"use strict";P.a=` @export clay.compositor.lut varying vec2 v_Texcoord; uniform sampler2D texture; uniform sampler2D lookup; void main() { vec4 tex = texture2D(texture, v_Texcoord); float blueColor = tex.b * 63.0; vec2 quad1; quad1.y = floor(floor(blueColor) / 8.0); quad1.x = floor(blueColor) - (quad1.y * 8.0); vec2 quad2; quad2.y = floor(ceil(blueColor) / 8.0); quad2.x = ceil(blueColor) - (quad2.y * 8.0); vec2 texPos1; texPos1.x = (quad1.x * 0.125) + 0.5/512.0 + ((0.125 - 1.0/512.0) * tex.r); texPos1.y = (quad1.y * 0.125) + 0.5/512.0 + ((0.125 - 1.0/512.0) * tex.g); vec2 texPos2; texPos2.x = (quad2.x * 0.125) + 0.5/512.0 + ((0.125 - 1.0/512.0) * tex.r); texPos2.y = (quad2.y * 0.125) + 0.5/512.0 + ((0.125 - 1.0/512.0) * tex.g); vec4 newColor1 = texture2D(lookup, texPos1); vec4 newColor2 = texture2D(lookup, texPos2); vec4 newColor = mix(newColor1, newColor2, fract(blueColor)); gl_FragColor = vec4(newColor.rgb, tex.w); } @end`},function(k,P,_){"use strict";P.a=`@export clay.compositor.output #define OUTPUT_ALPHA varying vec2 v_Texcoord; uniform sampler2D texture; @import clay.util.rgbm void main() { vec4 tex = decodeHDR(texture2D(texture, v_Texcoord)); gl_FragColor.rgb = tex.rgb; #ifdef OUTPUT_ALPHA gl_FragColor.a = tex.a; #else gl_FragColor.a = 1.0; #endif gl_FragColor = encodeHDR(gl_FragColor); #ifdef PREMULTIPLY_ALPHA gl_FragColor.rgb *= gl_FragColor.a; #endif } @end`},function(k,P,_){"use strict";P.a=`@export clay.compositor.bright uniform sampler2D texture; uniform float threshold : 1; uniform float scale : 1.0; uniform vec2 textureSize: [512, 512]; varying vec2 v_Texcoord; const vec3 lumWeight = vec3(0.2125, 0.7154, 0.0721); @import clay.util.rgbm vec4 median(vec4 a, vec4 b, vec4 c) { return a + b + c - min(min(a, b), c) - max(max(a, b), c); } void main() { vec4 texel = decodeHDR(texture2D(texture, v_Texcoord)); #ifdef ANTI_FLICKER vec3 d = 1.0 / textureSize.xyx * vec3(1.0, 1.0, 0.0); vec4 s1 = decodeHDR(texture2D(texture, v_Texcoord - d.xz)); vec4 s2 = decodeHDR(texture2D(texture, v_Texcoord + d.xz)); vec4 s3 = decodeHDR(texture2D(texture, v_Texcoord - d.zy)); vec4 s4 = decodeHDR(texture2D(texture, v_Texcoord + d.zy)); texel = median(median(texel, s1, s2), s3, s4); #endif float lum = dot(texel.rgb , lumWeight); vec4 color; if (lum > threshold && texel.a > 0.0) { color = vec4(texel.rgb * scale, texel.a * scale); } else { color = vec4(0.0); } gl_FragColor = encodeHDR(color); } @end `},function(k,P,_){"use strict";P.a=`@export clay.compositor.downsample uniform sampler2D texture; uniform vec2 textureSize : [512, 512]; varying vec2 v_Texcoord; @import clay.util.rgbm float brightness(vec3 c) { return max(max(c.r, c.g), c.b); } @import clay.util.clamp_sample void main() { vec4 d = vec4(-1.0, -1.0, 1.0, 1.0) / textureSize.xyxy; #ifdef ANTI_FLICKER vec3 s1 = decodeHDR(clampSample(texture, v_Texcoord + d.xy)).rgb; vec3 s2 = decodeHDR(clampSample(texture, v_Texcoord + d.zy)).rgb; vec3 s3 = decodeHDR(clampSample(texture, v_Texcoord + d.xw)).rgb; vec3 s4 = decodeHDR(clampSample(texture, v_Texcoord + d.zw)).rgb; float s1w = 1.0 / (brightness(s1) + 1.0); float s2w = 1.0 / (brightness(s2) + 1.0); float s3w = 1.0 / (brightness(s3) + 1.0); float s4w = 1.0 / (brightness(s4) + 1.0); float oneDivideSum = 1.0 / (s1w + s2w + s3w + s4w); vec4 color = vec4( (s1 * s1w + s2 * s2w + s3 * s3w + s4 * s4w) * oneDivideSum, 1.0 ); #else vec4 color = decodeHDR(clampSample(texture, v_Texcoord + d.xy)); color += decodeHDR(clampSample(texture, v_Texcoord + d.zy)); color += decodeHDR(clampSample(texture, v_Texcoord + d.xw)); color += decodeHDR(clampSample(texture, v_Texcoord + d.zw)); color *= 0.25; #endif gl_FragColor = encodeHDR(color); } @end`},function(k,P,_){"use strict";P.a=` @export clay.compositor.upsample #define HIGH_QUALITY uniform sampler2D texture; uniform vec2 textureSize : [512, 512]; uniform float sampleScale: 0.5; varying vec2 v_Texcoord; @import clay.util.rgbm @import clay.util.clamp_sample void main() { #ifdef HIGH_QUALITY vec4 d = vec4(1.0, 1.0, -1.0, 0.0) / textureSize.xyxy * sampleScale; vec4 s; s = decodeHDR(clampSample(texture, v_Texcoord - d.xy)); s += decodeHDR(clampSample(texture, v_Texcoord - d.wy)) * 2.0; s += decodeHDR(clampSample(texture, v_Texcoord - d.zy)); s += decodeHDR(clampSample(texture, v_Texcoord + d.zw)) * 2.0; s += decodeHDR(clampSample(texture, v_Texcoord )) * 4.0; s += decodeHDR(clampSample(texture, v_Texcoord + d.xw)) * 2.0; s += decodeHDR(clampSample(texture, v_Texcoord + d.zy)); s += decodeHDR(clampSample(texture, v_Texcoord + d.wy)) * 2.0; s += decodeHDR(clampSample(texture, v_Texcoord + d.xy)); gl_FragColor = encodeHDR(s / 16.0); #else vec4 d = vec4(-1.0, -1.0, +1.0, +1.0) / textureSize.xyxy; vec4 s; s = decodeHDR(clampSample(texture, v_Texcoord + d.xy)); s += decodeHDR(clampSample(texture, v_Texcoord + d.zy)); s += decodeHDR(clampSample(texture, v_Texcoord + d.xw)); s += decodeHDR(clampSample(texture, v_Texcoord + d.zw)); gl_FragColor = encodeHDR(s / 4.0); #endif } @end`},function(k,P,_){"use strict";P.a=`@export clay.compositor.hdr.composite uniform sampler2D texture; #ifdef BLOOM_ENABLED uniform sampler2D bloom; #endif #ifdef LENSFLARE_ENABLED uniform sampler2D lensflare; uniform sampler2D lensdirt; #endif #ifdef LUM_ENABLED uniform sampler2D lum; #endif #ifdef LUT_ENABLED uniform sampler2D lut; #endif #ifdef COLOR_CORRECTION uniform float brightness : 0.0; uniform float contrast : 1.0; uniform float saturation : 1.0; #endif #ifdef VIGNETTE uniform float vignetteDarkness: 1.0; uniform float vignetteOffset: 1.0; #endif uniform float exposure : 1.0; uniform float bloomIntensity : 0.25; uniform float lensflareIntensity : 1; varying vec2 v_Texcoord; @import clay.util.srgb vec3 ACESToneMapping(vec3 color) { const float A = 2.51; const float B = 0.03; const float C = 2.43; const float D = 0.59; const float E = 0.14; return (color * (A * color + B)) / (color * (C * color + D) + E); } float eyeAdaption(float fLum) { return mix(0.2, fLum, 0.5); } #ifdef LUT_ENABLED vec3 lutTransform(vec3 color) { float blueColor = color.b * 63.0; vec2 quad1; quad1.y = floor(floor(blueColor) / 8.0); quad1.x = floor(blueColor) - (quad1.y * 8.0); vec2 quad2; quad2.y = floor(ceil(blueColor) / 8.0); quad2.x = ceil(blueColor) - (quad2.y * 8.0); vec2 texPos1; texPos1.x = (quad1.x * 0.125) + 0.5/512.0 + ((0.125 - 1.0/512.0) * color.r); texPos1.y = (quad1.y * 0.125) + 0.5/512.0 + ((0.125 - 1.0/512.0) * color.g); vec2 texPos2; texPos2.x = (quad2.x * 0.125) + 0.5/512.0 + ((0.125 - 1.0/512.0) * color.r); texPos2.y = (quad2.y * 0.125) + 0.5/512.0 + ((0.125 - 1.0/512.0) * color.g); vec4 newColor1 = texture2D(lut, texPos1); vec4 newColor2 = texture2D(lut, texPos2); vec4 newColor = mix(newColor1, newColor2, fract(blueColor)); return newColor.rgb; } #endif @import clay.util.rgbm void main() { vec4 texel = vec4(0.0); vec4 originalTexel = vec4(0.0); #ifdef TEXTURE_ENABLED texel = decodeHDR(texture2D(texture, v_Texcoord)); originalTexel = texel; #endif #ifdef BLOOM_ENABLED vec4 bloomTexel = decodeHDR(texture2D(bloom, v_Texcoord)); texel.rgb += bloomTexel.rgb * bloomIntensity; texel.a += bloomTexel.a * bloomIntensity; #endif #ifdef LENSFLARE_ENABLED texel += decodeHDR(texture2D(lensflare, v_Texcoord)) * texture2D(lensdirt, v_Texcoord) * lensflareIntensity; #endif texel.a = min(texel.a, 1.0); #ifdef LUM_ENABLED float fLum = texture2D(lum, vec2(0.5, 0.5)).r; float adaptedLumDest = 3.0 / (max(0.1, 1.0 + 10.0*eyeAdaption(fLum))); float exposureBias = adaptedLumDest * exposure; #else float exposureBias = exposure; #endif texel.rgb *= exposureBias; texel.rgb = ACESToneMapping(texel.rgb); texel = linearTosRGB(texel); #ifdef LUT_ENABLED texel.rgb = lutTransform(clamp(texel.rgb,vec3(0.0),vec3(1.0))); #endif #ifdef COLOR_CORRECTION texel.rgb = clamp(texel.rgb + vec3(brightness), 0.0, 1.0); texel.rgb = clamp((texel.rgb - vec3(0.5))*contrast+vec3(0.5), 0.0, 1.0); float lum = dot(texel.rgb, vec3(0.2125, 0.7154, 0.0721)); texel.rgb = mix(vec3(lum), texel.rgb, saturation); #endif #ifdef VIGNETTE vec2 uv = (v_Texcoord - vec2(0.5)) * vec2(vignetteOffset); texel.rgb = mix(texel.rgb, vec3(1.0 - vignetteDarkness), dot(uv, uv)); #endif gl_FragColor = encodeHDR(texel); #ifdef DEBUG #if DEBUG == 1 gl_FragColor = encodeHDR(decodeHDR(texture2D(texture, v_Texcoord))); #elif DEBUG == 2 gl_FragColor = encodeHDR(decodeHDR(texture2D(bloom, v_Texcoord)) * bloomIntensity); #elif DEBUG == 3 gl_FragColor = encodeHDR(decodeHDR(texture2D(lensflare, v_Texcoord) * lensflareIntensity)); #endif #endif if (originalTexel.a <= 0.01 && gl_FragColor.a > 1e-5) { gl_FragColor.a = dot(gl_FragColor.rgb, vec3(0.2125, 0.7154, 0.0721)); } #ifdef PREMULTIPLY_ALPHA gl_FragColor.rgb *= gl_FragColor.a; #endif } @end`},function(k,P,_){"use strict";P.a=`@export clay.compositor.blend #define SHADER_NAME blend #ifdef TEXTURE1_ENABLED uniform sampler2D texture1; uniform float weight1 : 1.0; #endif #ifdef TEXTURE2_ENABLED uniform sampler2D texture2; uniform float weight2 : 1.0; #endif #ifdef TEXTURE3_ENABLED uniform sampler2D texture3; uniform float weight3 : 1.0; #endif #ifdef TEXTURE4_ENABLED uniform sampler2D texture4; uniform float weight4 : 1.0; #endif #ifdef TEXTURE5_ENABLED uniform sampler2D texture5; uniform float weight5 : 1.0; #endif #ifdef TEXTURE6_ENABLED uniform sampler2D texture6; uniform float weight6 : 1.0; #endif varying vec2 v_Texcoord; @import clay.util.rgbm void main() { vec4 tex = vec4(0.0); #ifdef TEXTURE1_ENABLED tex += decodeHDR(texture2D(texture1, v_Texcoord)) * weight1; #endif #ifdef TEXTURE2_ENABLED tex += decodeHDR(texture2D(texture2, v_Texcoord)) * weight2; #endif #ifdef TEXTURE3_ENABLED tex += decodeHDR(texture2D(texture3, v_Texcoord)) * weight3; #endif #ifdef TEXTURE4_ENABLED tex += decodeHDR(texture2D(texture4, v_Texcoord)) * weight4; #endif #ifdef TEXTURE5_ENABLED tex += decodeHDR(texture2D(texture5, v_Texcoord)) * weight5; #endif #ifdef TEXTURE6_ENABLED tex += decodeHDR(texture2D(texture6, v_Texcoord)) * weight6; #endif gl_FragColor = encodeHDR(tex); } @end`},function(k,P,_){"use strict";P.a=`@export clay.compositor.fxaa uniform sampler2D texture; uniform vec4 viewport : VIEWPORT; varying vec2 v_Texcoord; #define FXAA_REDUCE_MIN (1.0/128.0) #define FXAA_REDUCE_MUL (1.0/8.0) #define FXAA_SPAN_MAX 8.0 @import clay.util.rgbm void main() { vec2 resolution = 1.0 / viewport.zw; vec3 rgbNW = decodeHDR( texture2D( texture, ( gl_FragCoord.xy + vec2( -1.0, -1.0 ) ) * resolution ) ).xyz; vec3 rgbNE = decodeHDR( texture2D( texture, ( gl_FragCoord.xy + vec2( 1.0, -1.0 ) ) * resolution ) ).xyz; vec3 rgbSW = decodeHDR( texture2D( texture, ( gl_FragCoord.xy + vec2( -1.0, 1.0 ) ) * resolution ) ).xyz; vec3 rgbSE = decodeHDR( texture2D( texture, ( gl_FragCoord.xy + vec2( 1.0, 1.0 ) ) * resolution ) ).xyz; vec4 rgbaM = decodeHDR( texture2D( texture, gl_FragCoord.xy * resolution ) ); vec3 rgbM = rgbaM.xyz; float opacity = rgbaM.w; vec3 luma = vec3( 0.299, 0.587, 0.114 ); float lumaNW = dot( rgbNW, luma ); float lumaNE = dot( rgbNE, luma ); float lumaSW = dot( rgbSW, luma ); float lumaSE = dot( rgbSE, luma ); float lumaM = dot( rgbM, luma ); float lumaMin = min( lumaM, min( min( lumaNW, lumaNE ), min( lumaSW, lumaSE ) ) ); float lumaMax = max( lumaM, max( max( lumaNW, lumaNE) , max( lumaSW, lumaSE ) ) ); vec2 dir; dir.x = -((lumaNW + lumaNE) - (lumaSW + lumaSE)); dir.y = ((lumaNW + lumaSW) - (lumaNE + lumaSE)); float dirReduce = max( ( lumaNW + lumaNE + lumaSW + lumaSE ) * ( 0.25 * FXAA_REDUCE_MUL ), FXAA_REDUCE_MIN ); float rcpDirMin = 1.0 / ( min( abs( dir.x ), abs( dir.y ) ) + dirReduce ); dir = min( vec2( FXAA_SPAN_MAX, FXAA_SPAN_MAX), max( vec2(-FXAA_SPAN_MAX, -FXAA_SPAN_MAX), dir * rcpDirMin)) * resolution; vec3 rgbA = decodeHDR( texture2D( texture, gl_FragCoord.xy * resolution + dir * ( 1.0 / 3.0 - 0.5 ) ) ).xyz; rgbA += decodeHDR( texture2D( texture, gl_FragCoord.xy * resolution + dir * ( 2.0 / 3.0 - 0.5 ) ) ).xyz; rgbA *= 0.5; vec3 rgbB = decodeHDR( texture2D( texture, gl_FragCoord.xy * resolution + dir * -0.5 ) ).xyz; rgbB += decodeHDR( texture2D( texture, gl_FragCoord.xy * resolution + dir * 0.5 ) ).xyz; rgbB *= 0.25; rgbB += rgbA * 0.5; float lumaB = dot( rgbB, luma ); if ( ( lumaB < lumaMin ) || ( lumaB > lumaMax ) ) { gl_FragColor = vec4( rgbA, opacity ); } else { gl_FragColor = vec4( rgbB, opacity ); } } @end`},function(k,P,_){"use strict";P.a=`@export ecgl.dof.coc uniform sampler2D depth; uniform float zNear: 0.1; uniform float zFar: 2000; uniform float focalDistance: 3; uniform float focalRange: 1; uniform float focalLength: 30; uniform float fstop: 2.8; varying vec2 v_Texcoord; @import clay.util.encode_float void main() { float z = texture2D(depth, v_Texcoord).r * 2.0 - 1.0; float dist = 2.0 * zNear * zFar / (zFar + zNear - z * (zFar - zNear)); float aperture = focalLength / fstop; float coc; float uppper = focalDistance + focalRange; float lower = focalDistance - focalRange; if (dist <= uppper && dist >= lower) { coc = 0.5; } else { float focalAdjusted = dist > uppper ? uppper : lower; coc = abs(aperture * (focalLength * (dist - focalAdjusted)) / (dist * (focalAdjusted - focalLength))); coc = clamp(coc, 0.0, 2.0) / 2.00001; if (dist < lower) { coc = -coc; } coc = coc * 0.5 + 0.5; } gl_FragColor = encodeFloat(coc); } @end @export ecgl.dof.composite #define DEBUG 0 uniform sampler2D original; uniform sampler2D blurred; uniform sampler2D nearfield; uniform sampler2D coc; uniform sampler2D nearcoc; varying vec2 v_Texcoord; @import clay.util.rgbm @import clay.util.float void main() { vec4 blurredColor = decodeHDR(texture2D(blurred, v_Texcoord)); vec4 originalColor = decodeHDR(texture2D(original, v_Texcoord)); float fCoc = decodeFloat(texture2D(coc, v_Texcoord)); fCoc = abs(fCoc * 2.0 - 1.0); float weight = smoothstep(0.0, 1.0, fCoc); #ifdef NEARFIELD_ENABLED vec4 nearfieldColor = decodeHDR(texture2D(nearfield, v_Texcoord)); float fNearCoc = decodeFloat(texture2D(nearcoc, v_Texcoord)); fNearCoc = abs(fNearCoc * 2.0 - 1.0); gl_FragColor = encodeHDR( mix( nearfieldColor, mix(originalColor, blurredColor, weight), pow(1.0 - fNearCoc, 4.0) ) ); #else gl_FragColor = encodeHDR(mix(originalColor, blurredColor, weight)); #endif } @end @export ecgl.dof.diskBlur #define POISSON_KERNEL_SIZE 16; uniform sampler2D texture; uniform sampler2D coc; varying vec2 v_Texcoord; uniform float blurRadius : 10.0; uniform vec2 textureSize : [512.0, 512.0]; uniform vec2 poissonKernel[POISSON_KERNEL_SIZE]; uniform float percent; float nrand(const in vec2 n) { return fract(sin(dot(n.xy ,vec2(12.9898,78.233))) * 43758.5453); } @import clay.util.rgbm @import clay.util.float void main() { vec2 offset = blurRadius / textureSize; float rnd = 6.28318 * nrand(v_Texcoord + 0.07 * percent ); float cosa = cos(rnd); float sina = sin(rnd); vec4 basis = vec4(cosa, -sina, sina, cosa); #if !defined(BLUR_NEARFIELD) && !defined(BLUR_COC) offset *= abs(decodeFloat(texture2D(coc, v_Texcoord)) * 2.0 - 1.0); #endif #ifdef BLUR_COC float cocSum = 0.0; #else vec4 color = vec4(0.0); #endif float weightSum = 0.0; for (int i = 0; i < POISSON_KERNEL_SIZE; i++) { vec2 ofs = poissonKernel[i]; ofs = vec2(dot(ofs, basis.xy), dot(ofs, basis.zw)); vec2 uv = v_Texcoord + ofs * offset; vec4 texel = texture2D(texture, uv); float w = 1.0; #ifdef BLUR_COC float fCoc = decodeFloat(texel) * 2.0 - 1.0; cocSum += clamp(fCoc, -1.0, 0.0) * w; #else texel = decodeHDR(texel); #if !defined(BLUR_NEARFIELD) float fCoc = decodeFloat(texture2D(coc, uv)) * 2.0 - 1.0; w *= abs(fCoc); #endif color += texel * w; #endif weightSum += w; } #ifdef BLUR_COC gl_FragColor = encodeFloat(clamp(cocSum / weightSum, -1.0, 0.0) * 0.5 + 0.5); #else color /= weightSum; gl_FragColor = encodeHDR(color); #endif } @end`},function(k,P,_){"use strict";P.a=`@export ecgl.edge uniform sampler2D texture; uniform sampler2D normalTexture; uniform sampler2D depthTexture; uniform mat4 projectionInv; uniform vec2 textureSize; uniform vec4 edgeColor: [0,0,0,0.8]; varying vec2 v_Texcoord; vec3 packColor(vec2 coord) { float z = texture2D(depthTexture, coord).r * 2.0 - 1.0; vec4 p = vec4(v_Texcoord * 2.0 - 1.0, z, 1.0); vec4 p4 = projectionInv * p; return vec3( texture2D(normalTexture, coord).rg, -p4.z / p4.w / 5.0 ); } void main() { vec2 cc = v_Texcoord; vec3 center = packColor(cc); float size = clamp(1.0 - (center.z - 10.0) / 100.0, 0.0, 1.0) * 0.5; float dx = size / textureSize.x; float dy = size / textureSize.y; vec2 coord; vec3 topLeft = packColor(cc+vec2(-dx, -dy)); vec3 top = packColor(cc+vec2(0.0, -dy)); vec3 topRight = packColor(cc+vec2(dx, -dy)); vec3 left = packColor(cc+vec2(-dx, 0.0)); vec3 right = packColor(cc+vec2(dx, 0.0)); vec3 bottomLeft = packColor(cc+vec2(-dx, dy)); vec3 bottom = packColor(cc+vec2(0.0, dy)); vec3 bottomRight = packColor(cc+vec2(dx, dy)); vec3 v = -topLeft-2.0*top-topRight+bottomLeft+2.0*bottom+bottomRight; vec3 h = -bottomLeft-2.0*left-topLeft+bottomRight+2.0*right+topRight; float edge = sqrt(dot(h, h) + dot(v, v)); edge = smoothstep(0.8, 1.0, edge); gl_FragColor = mix(texture2D(texture, v_Texcoord), vec4(edgeColor.rgb, 1.0), edgeColor.a * edge); } @end`},function(k,P,_){"use strict";var B=_(43),C=_(14),p=_(10),m=_(5),E=_(7),d=_(9);function l(o){for(var g=[],r=0;r<30;r++)g.push([Object(B.a)(r,2),Object(B.a)(r,3)]);this._haltonSequence=g,this._frame=0,this._sourceTex=new m.a,this._sourceFb=new p.a,this._sourceFb.attach(this._sourceTex),this._prevFrameTex=new m.a,this._outputTex=new m.a;var n=this._blendPass=new C.a({fragment:E.a.source("clay.compositor.blend")});n.material.disableTexturesAll(),n.material.enableTexture(["texture1","texture2"]),this._blendFb=new p.a({depthBuffer:!1}),this._outputPass=new C.a({fragment:E.a.source("clay.compositor.output"),blendWithPrevious:!0}),this._outputPass.material.define("fragment","OUTPUT_ALPHA"),this._outputPass.material.blend=function(a){a.blendEquationSeparate(a.FUNC_ADD,a.FUNC_ADD),a.blendFuncSeparate(a.ONE,a.ONE_MINUS_SRC_ALPHA,a.ONE,a.ONE_MINUS_SRC_ALPHA)}}l.prototype={constructor:l,jitterProjection:function(o,g){var r=o.viewport,n=r.devicePixelRatio||o.getDevicePixelRatio(),a=r.width*n,c=r.height*n,u=this._haltonSequence[this._frame%this._haltonSequence.length],s=new d.a;s.array[12]=(u[0]*2-1)/a,s.array[13]=(u[1]*2-1)/c,d.a.mul(g.projectionMatrix,s,g.projectionMatrix),d.a.invert(g.invProjectionMatrix,g.projectionMatrix)},resetFrame:function(){this._frame=0},getFrame:function(){return this._frame},getSourceFrameBuffer:function(){return this._sourceFb},getOutputTexture:function(){return this._outputTex},resize:function(o,g){this._prevFrameTex.width=o,this._prevFrameTex.height=g,this._outputTex.width=o,this._outputTex.height=g,this._sourceTex.width=o,this._sourceTex.height=g,this._prevFrameTex.dirty(),this._outputTex.dirty(),this._sourceTex.dirty()},isFinished:function(){return this._frame>=this._haltonSequence.length},render:function(o,g,r){var n=this._blendPass;this._frame===0?(n.setUniform("weight1",0),n.setUniform("weight2",1)):(n.setUniform("weight1",.9),n.setUniform("weight2",.1)),n.setUniform("texture1",this._prevFrameTex),n.setUniform("texture2",g||this._sourceTex),this._blendFb.attach(this._outputTex),this._blendFb.bind(o),n.render(o),this._blendFb.unbind(o),r||(this._outputPass.setUniform("texture",this._outputTex),this._outputPass.render(o));var a=this._prevFrameTex;this._prevFrameTex=this._outputTex,this._outputTex=a,this._frame++},dispose:function(o){this._sourceFb.dispose(o),this._blendFb.dispose(o),this._prevFrameTex.dispose(o),this._outputTex.dispose(o),this._sourceTex.dispose(o),this._outputPass.dispose(o),this._blendPass.dispose(o)}},P.a=l},function(k,P,_){"use strict";var B=_(0),C=_.n(B),p=_(184),m=_(185),E=_(82);C.a.registerAction({type:"geo3DChangeCamera",event:"geo3dcamerachanged",update:"series:updateCamera"},function(d,l){l.eachComponent({mainType:"geo3D",query:d},function(o){o.setView(d)})})},function(k,P,_){"use strict";var B=_(0),C=_.n(B),p=_(38),m=_(31),E=_(32),d=_(26),l=_(80),o=C.a.extendComponentModel({type:"geo3D",layoutMode:"box",coordinateSystem:null,optionUpdated:function(){var r=this.option;r.regions=this.getFilledRegions(r.regions,r.map);var n=C.a.helper.completeDimensions(["value"],r.data,{encodeDef:this.get("encode"),dimsDef:this.get("dimensions")}),a=new C.a.List(n,this);a.initData(r.regions);var c={};a.each(function(u){var s=a.getName(u),v=a.getItemModel(u);c[s]=v}),this._regionModelMap=c,this._data=a},getData:function(){return this._data},getRegionModel:function(r){var n=this.getData().getName(r);return this._regionModelMap[n]||new C.a.Model(null,this)},getRegionPolygonCoords:function(r){var n=this.getData().getName(r),a=this.coordinateSystem.getRegion(n);return a?a.geometries:[]},getFormattedLabel:function(r,n){var a=this._data.getName(r),c=this.getRegionModel(a),u=c.get(n==="normal"?["label","formatter"]:["emphasis","label","formatter"]);u==null&&(u=c.get(["label","formatter"]));var s={name:a};if(typeof u=="function")return s.status=n,u(s);if(typeof u=="string"){var v=s.seriesName;return u.replace("{a}",v!=null?v:"")}else return a},defaultOption:{regions:[]}});C.a.util.merge(o.prototype,l.a),C.a.util.merge(o.prototype,p.a),C.a.util.merge(o.prototype,m.a),C.a.util.merge(o.prototype,E.a),C.a.util.merge(o.prototype,d.a);var g=o},function(k,P,_){"use strict";var B=_(59),C=_(0),p=_.n(C),m=_(2),E=_(39),d=_(34),l=p.a.extendComponentView({type:"geo3D",__ecgl__:!0,init:function(o,g){this._geo3DBuilder=new B.a(g),this.groupGL=new m.a.Node,this._lightRoot=new m.a.Node,this._sceneHelper=new d.a(this._lightRoot),this._sceneHelper.initLight(this._lightRoot),this._control=new E.a({zr:g.getZr()}),this._control.init()},render:function(o,g,r){this.groupGL.add(this._geo3DBuilder.rootNode);var n=o.coordinateSystem;if(!(!n||!n.viewGL)){n.viewGL.add(this._lightRoot),o.get("show")?n.viewGL.add(this.groupGL):n.viewGL.remove(this.groupGL);var a=this._control;a.setViewGL(n.viewGL);var c=o.getModel("viewControl");a.setFromViewControlModel(c,0),this._sceneHelper.setScene(n.viewGL.scene),this._sceneHelper.updateLight(o),n.viewGL.setPostEffect(o.getModel("postEffect"),r),n.viewGL.setTemporalSuperSampling(o.getModel("temporalSuperSampling")),this._geo3DBuilder.update(o,g,r,0,o.getData().count());var u=n.viewGL.isLinearSpace()?"define":"undefine";this._geo3DBuilder.rootNode.traverse(function(s){s.material&&s.material[u]("fragment","SRGB_DECODE")}),a.off("update"),a.on("update",function(){r.dispatchAction({type:"geo3DChangeCamera",alpha:a.getAlpha(),beta:a.getBeta(),distance:a.getDistance(),center:a.getCenter(),from:this.uid,geo3DId:o.id})})}},afterRender:function(o,g,r,n){var a=n.renderer;this._sceneHelper.updateAmbientCubemap(a,o,r),this._sceneHelper.updateSkybox(a,o,r)},dispose:function(){this._control.dispose()}})},function(k,P,_){"use strict";P.a=B;function B(I,K,F){F=F||2;var W=K&&K.length,j=W?K[0]*F:I.length,X=C(I,0,j,F,!0),Y=[];if(!X)return Y;var le,J,ve,Ce,be,Ae,Ue;if(W&&(X=g(I,K,X,F)),I.length>80*F){le=ve=I[0],J=Ce=I[1];for(var we=F;weve&&(ve=be),Ae>Ce&&(Ce=Ae);Ue=Math.max(ve-le,Ce-J)}return m(X,Y,F,le,J,Ue),Y}function C(I,K,F,W,j){var X,Y;if(j===N(I,K,F,W)>0)for(X=K;X=K;X-=W)Y=L(X,I[X],I[X+1],Y);return Y&&f(Y,Y.next)&&(D(Y),Y=Y.next),Y}function p(I,K){if(!I)return I;K||(K=I);var F=I,W;do if(W=!1,!F.steiner&&(f(F,F.next)||i(F.prev,F,F.next)===0)){if(D(F),F=K=F.prev,F===F.next)return null;W=!0}else F=F.next;while(W||F!==K);return K}function m(I,K,F,W,j,X,Y){if(I){!Y&&X&&c(I,W,j,X);for(var le=I,J,ve;I.prev!==I.next;){if(J=I.prev,ve=I.next,X?d(I,W,j,X):E(I)){K.push(J.i/F),K.push(I.i/F),K.push(ve.i/F),D(I),I=ve.next,le=ve.next;continue}if(I=ve,I===le){Y?Y===1?(I=l(I,K,F),m(I,K,F,W,j,X,2)):Y===2&&o(I,K,F,W,j,X):m(p(I),K,F,W,j,X,1);break}}}}function E(I){var K=I.prev,F=I,W=I.next;if(i(K,F,W)>=0)return!1;for(var j=I.next.next;j!==I.prev;){if(e(K.x,K.y,F.x,F.y,W.x,W.y,j.x,j.y)&&i(j.prev,j,j.next)>=0)return!1;j=j.next}return!0}function d(I,K,F,W){var j=I.prev,X=I,Y=I.next;if(i(j,X,Y)>=0)return!1;for(var le=j.xX.x?j.x>Y.x?j.x:Y.x:X.x>Y.x?X.x:Y.x,Ce=j.y>X.y?j.y>Y.y?j.y:Y.y:X.y>Y.y?X.y:Y.y,be=s(le,J,K,F,W),Ae=s(ve,Ce,K,F,W),Ue=I.nextZ;Ue&&Ue.z<=Ae;){if(Ue!==I.prev&&Ue!==I.next&&e(j.x,j.y,X.x,X.y,Y.x,Y.y,Ue.x,Ue.y)&&i(Ue.prev,Ue,Ue.next)>=0)return!1;Ue=Ue.nextZ}for(Ue=I.prevZ;Ue&&Ue.z>=be;){if(Ue!==I.prev&&Ue!==I.next&&e(j.x,j.y,X.x,X.y,Y.x,Y.y,Ue.x,Ue.y)&&i(Ue.prev,Ue,Ue.next)>=0)return!1;Ue=Ue.prevZ}return!0}function l(I,K,F){var W=I;do{var j=W.prev,X=W.next.next;!f(j,X)&&y(j,W,W.next,X)&&x(j,X)&&x(X,j)&&(K.push(j.i/F),K.push(W.i/F),K.push(X.i/F),D(W),D(W.next),W=I=X),W=W.next}while(W!==I);return W}function o(I,K,F,W,j,X){var Y=I;do{for(var le=Y.next.next;le!==Y.prev;){if(Y.i!==le.i&&t(Y,le)){var J=w(Y,le);Y=p(Y,Y.next),J=p(J,J.next),m(Y,K,F,W,j,X),m(J,K,F,W,j,X);return}le=le.next}Y=Y.next}while(Y!==I)}function g(I,K,F,W){var j=[],X,Y,le,J,ve;for(X=0,Y=K.length;X=F.next.y&&F.next.y!==F.y){var le=F.x+(j-F.y)*(F.next.x-F.x)/(F.next.y-F.y);if(le<=W&&le>X){if(X=le,le===W){if(j===F.y)return F;if(j===F.next.y)return F.next}Y=F.x=F.x&&F.x>=ve&&W!==F.x&&e(jY.x)&&x(F,I)&&(Y=F,be=Ae)),F=F.next;return Y}function c(I,K,F,W){var j=I;do j.z===null&&(j.z=s(j.x,j.y,K,F,W)),j.prevZ=j.prev,j.nextZ=j.next,j=j.next;while(j!==I);j.prevZ.nextZ=null,j.prevZ=null,u(j)}function u(I){var K,F,W,j,X,Y,le,J,ve=1;do{for(F=I,I=null,X=null,Y=0;F;){for(Y++,W=F,le=0,K=0;K0||J>0&&W;)le!==0&&(J===0||!W||F.z<=W.z)?(j=F,F=F.nextZ,le--):(j=W,W=W.nextZ,J--),X?X.nextZ=j:I=j,j.prevZ=X,X=j;F=W}X.nextZ=null,ve*=2}while(Y>1);return I}function s(I,K,F,W,j){return I=32767*(I-F)/j,K=32767*(K-W)/j,I=(I|I<<8)&16711935,I=(I|I<<4)&252645135,I=(I|I<<2)&858993459,I=(I|I<<1)&1431655765,K=(K|K<<8)&16711935,K=(K|K<<4)&252645135,K=(K|K<<2)&858993459,K=(K|K<<1)&1431655765,I|K<<1}function v(I){var K=I,F=I;do K.x=0&&(I-Y)*(W-le)-(F-Y)*(K-le)>=0&&(F-Y)*(X-le)-(j-Y)*(W-le)>=0}function t(I,K){return I.next.i!==K.i&&I.prev.i!==K.i&&!b(I,K)&&x(I,K)&&x(K,I)&&A(I,K)}function i(I,K,F){return(K.y-I.y)*(F.x-K.x)-(K.x-I.x)*(F.y-K.y)}function f(I,K){return I.x===K.x&&I.y===K.y}function y(I,K,F,W){return f(I,K)&&f(F,W)||f(I,W)&&f(F,K)?!0:i(I,K,F)>0!=i(I,K,W)>0&&i(F,W,I)>0!=i(F,W,K)>0}function b(I,K){var F=I;do{if(F.i!==I.i&&F.next.i!==I.i&&F.i!==K.i&&F.next.i!==K.i&&y(F,F.next,I,K))return!0;F=F.next}while(F!==I);return!1}function x(I,K){return i(I.prev,I,I.next)<0?i(I,K,I.next)>=0&&i(I,I.prev,K)>=0:i(I,K,I.prev)<0||i(I,I.next,K)<0}function A(I,K){var F=I,W=!1,j=(I.x+K.x)/2,X=(I.y+K.y)/2;do F.y>X!=F.next.y>X&&F.next.y!==F.y&&j<(F.next.x-F.x)*(X-F.y)/(F.next.y-F.y)+F.x&&(W=!W),F=F.next;while(F!==I);return W}function w(I,K){var F=new O(I.i,I.x,I.y),W=new O(K.i,K.x,K.y),j=I.next,X=K.prev;return I.next=K,K.prev=I,F.next=j,j.prev=F,W.next=F,F.prev=W,X.next=W,W.prev=X,W}function L(I,K,F,W){var j=new O(I,K,F);return W?(j.next=W.next,j.prev=W,W.next.prev=j,W.next=j):(j.prev=j,j.next=j),j}function D(I){I.next.prev=I.prev,I.prev.next=I.next,I.prevZ&&(I.prevZ.nextZ=I.nextZ),I.nextZ&&(I.nextZ.prevZ=I.prevZ)}function O(I,K,F){this.i=I,this.x=K,this.y=F,this.prev=null,this.next=null,this.z=null,this.prevZ=null,this.nextZ=null,this.steiner=!1}B.deviation=function(I,K,F,W){var j=K&&K.length,X=j?K[0]*F:I.length,Y=Math.abs(N(I,0,X,F));if(j)for(var le=0,J=K.length;le0},_displacementChanged:!0,_displacementScale:0,updateDisplacementHash:function(){var r=this.getDisplacementTexture(),n=this.getDisplacemenScale();this._displacementChanged=this._displacementTexture!==r||this._displacementScale!==n,this._displacementTexture=r,this._displacementScale=n},isDisplacementChanged:function(){return this._displacementChanged}});C.a.util.merge(o.prototype,p.a),C.a.util.merge(o.prototype,m.a),C.a.util.merge(o.prototype,E.a),C.a.util.merge(o.prototype,d.a);var g=o},function(k,P,_){"use strict";var B=_(0),C=_.n(B),p=_(2),m=_(39),E=_(34),d=_(192),l=_(3),o=C.a.extendComponentView({type:"globe",__ecgl__:!0,_displacementScale:0,init:function(g,r){this.groupGL=new p.a.Node,this._sphereGeometry=new p.a.SphereGeometry({widthSegments:200,heightSegments:100,dynamic:!0}),this._overlayGeometry=new p.a.SphereGeometry({widthSegments:80,heightSegments:40}),this._planeGeometry=new p.a.PlaneGeometry,this._earthMesh=new p.a.Mesh({renderNormal:!0}),this._lightRoot=new p.a.Node,this._sceneHelper=new E.a,this._sceneHelper.initLight(this._lightRoot),this.groupGL.add(this._earthMesh),this._control=new m.a({zr:r.getZr()}),this._control.init(),this._layerMeshes={}},render:function(g,r,n){var a=g.coordinateSystem,c=g.get("shading");a.viewGL.add(this._lightRoot),g.get("show")?a.viewGL.add(this.groupGL):a.viewGL.remove(this.groupGL),this._sceneHelper.setScene(a.viewGL.scene),a.viewGL.setPostEffect(g.getModel("postEffect"),n),a.viewGL.setTemporalSuperSampling(g.getModel("temporalSuperSampling"));var u=this._earthMesh;u.geometry=this._sphereGeometry;var s="ecgl."+c;(!u.material||u.material.shader.name!==s)&&(u.material=p.a.createMaterial(s)),p.a.setMaterialFromModel(c,u.material,g,n),["roughnessMap","metalnessMap","detailMap","normalMap"].forEach(function(i){var f=u.material.get(i);f&&(f.flipY=!1)}),u.material.set("color",p.a.parseColor(g.get("baseColor")));var v=a.radius*.99;u.scale.set(v,v,v);var e=u.material.setTextureImage("diffuseMap",g.get("baseTexture"),n,{flipY:!1,anisotropic:8});e&&e.surface&&e.surface.attachToMesh(u);var t=u.material.setTextureImage("bumpMap",g.get("heightTexture"),n,{flipY:!1,anisotropic:8});t&&t.surface&&t.surface.attachToMesh(u),u.material[g.get("postEffect.enable")?"define":"undefine"]("fragment","SRGB_DECODE"),this._updateLight(g,n),this._displaceVertices(g,n),this._updateViewControl(g,n),this._updateLayers(g,n)},afterRender:function(g,r,n,a){var c=a.renderer;this._sceneHelper.updateAmbientCubemap(c,g,n),this._sceneHelper.updateSkybox(c,g,n)},_updateLayers:function(g,r){var n=g.coordinateSystem,a=g.get("layers"),c=n.radius,u=[],s=[],v=[],e=[];C.a.util.each(a,function(b){var x=new C.a.Model(b),A=x.get("type"),w=p.a.loadTexture(x.get("texture"),r,{flipY:!1,anisotropic:8});if(w.surface&&w.surface.attachToMesh(this._earthMesh),A==="blend"){var L=x.get("blendTo"),D=l.a.firstNotNull(x.get("intensity"),1);L==="emission"?(v.push(w),e.push(D)):(u.push(w),s.push(D))}else{var O=x.get("id"),N=this._layerMeshes[O];N||(N=this._layerMeshes[O]=new p.a.Mesh({geometry:this._overlayGeometry,castShadow:!1,ignorePicking:!0}));var I=x.get("shading");I==="lambert"?(N.material=N.__lambertMaterial||new p.a.Material({autoUpdateTextureStatus:!1,shader:p.a.createShader("ecgl.lambert"),transparent:!0,depthMask:!1}),N.__lambertMaterial=N.material):(N.material=N.__colorMaterial||new p.a.Material({autoUpdateTextureStatus:!1,shader:p.a.createShader("ecgl.color"),transparent:!0,depthMask:!1}),N.__colorMaterial=N.material),N.material.enableTexture("diffuseMap");var K=x.get("distance"),F=c+(K==null?n.radius/100:K);N.scale.set(F,F,F),c=F;var W=this._blankTexture||(this._blankTexture=p.a.createBlankTexture("rgba(255, 255, 255, 0)"));N.material.set("diffuseMap",W),p.a.loadTexture(x.get("texture"),r,{flipY:!1,anisotropic:8},function(j){j.surface&&j.surface.attachToMesh(N),N.material.set("diffuseMap",j),r.getZr().refresh()}),x.get("show")?this.groupGL.add(N):this.groupGL.remove(N)}},this);var t=this._earthMesh.material;t.define("fragment","LAYER_DIFFUSEMAP_COUNT",u.length),t.define("fragment","LAYER_EMISSIVEMAP_COUNT",v.length),t.set("layerDiffuseMap",u),t.set("layerDiffuseIntensity",s),t.set("layerEmissiveMap",v),t.set("layerEmissionIntensity",e);var i=g.getModel("debug.wireframe");if(i.get("show")){t.define("both","WIREFRAME_TRIANGLE");var f=p.a.parseColor(i.get("lineStyle.color")||"rgba(0,0,0,0.5)"),y=l.a.firstNotNull(i.get("lineStyle.width"),1);t.set("wireframeLineWidth",y),t.set("wireframeLineColor",f)}else t.undefine("both","WIREFRAME_TRIANGLE")},_updateViewControl:function(g,r){var n=g.coordinateSystem,a=g.getModel("viewControl"),c=n.viewGL.camera,u=this;function s(){return{type:"globeChangeCamera",alpha:v.getAlpha(),beta:v.getBeta(),distance:v.getDistance()-n.radius,center:v.getCenter(),from:u.uid,globeId:g.id}}var v=this._control;v.setViewGL(n.viewGL);var e=a.get("targetCoord"),t,i;e!=null&&(i=e[0]+90,t=e[1]),v.setFromViewControlModel(a,{baseDistance:n.radius,alpha:t,beta:i}),v.off("update"),v.on("update",function(){r.dispatchAction(s())})},_displaceVertices:function(g,r){var n=g.get("displacementQuality"),a=g.get("debug.wireframe.show"),c=g.coordinateSystem;if(!(!g.isDisplacementChanged()&&n===this._displacementQuality&&a===this._showDebugWireframe)){this._displacementQuality=n,this._showDebugWireframe=a;var u=this._sphereGeometry,s={low:100,medium:200,high:400,ultra:800}[n]||200,v=s/2;(u.widthSegments!==s||a)&&(u.widthSegments=s,u.heightSegments=v,u.build()),this._doDisplaceVertices(u,c),a&&u.generateBarycentric()}},_doDisplaceVertices:function(g,r){var n=g.attributes.position.value,a=g.attributes.texcoord0.value,c=g.__originalPosition;(!c||c.length!==n.length)&&(c=new Float32Array(n.length),c.set(n),g.__originalPosition=c);for(var u=r.displacementWidth,s=r.displacementHeight,v=r.displacementData,e=0;e0&&r>0||g<0&&r<0)}function l(o,g){var r=o.getData(),n=o.get("barSize");if(n==null){var a=g.size,c,u,s=g.getAxis("x"),v=g.getAxis("y");s.type==="category"?c=s.getBandWidth()*.7:c=Math.round(a[0]/Math.sqrt(r.count()))*.6,v.type==="category"?u=v.getBandWidth()*.7:u=Math.round(a[1]/Math.sqrt(r.count()))*.6,n=[c,u]}else C.a.util.isArray(n)||(n=[n,n]);var e=g.getAxis("z").scale.getExtent(),t=d(e),i=["x","y","z"].map(function(f){return o.coordDimToDataDim(f)[0]});r.each(i,function(f,y,b,x){var A=r.get(i[2],x,!0),w=r.stackedOn?A-b:t?0:e[0],L=g.dataToPoint([f,y,w]),D=g.dataToPoint([f,y,A]),O=E.dist(L,D),N=[0,D[1]0&&(O++,b[3]<.99&&(w=!0))}}),t.geometry.setBarCount(O);var L=u.getLayout("orient"),D=this._barIndexOfData=new Int32Array(u.count()),O=0;u.each(function(I){if(!u.hasValue(I)){D[I]=-1;return}var K=u.getItemLayout(I),F=K[0],W=K[1],j=K[2],X=I*4;b[0]=x[X++],b[1]=x[X++],b[2]=x[X++],b[3]=x[X++],b[3]>0&&(e._barMesh.geometry.addBar(F,W,L,j,b,I),D[I]=O++)}),t.geometry.dirty(),t.geometry.updateBoundingBox();var N=t.material;N.transparent=w,N.depthMask=!w,t.geometry.sortTriangles=w,this._initHandler(a,c)},_initHandler:function(a,c){var u=a.getData(),s=this._barMesh,v=a.coordinateSystem.type==="cartesian3D";s.seriesIndex=a.seriesIndex;var e=-1;s.off("mousemove"),s.off("mouseout"),s.on("mousemove",function(t){var i=s.geometry.getDataIndexOfVertex(t.triangle[0]);i!==e&&(this._downplay(e),this._highlight(i),this._labelsBuilder.updateLabels([i]),v&&c.dispatchAction({type:"grid3DShowAxisPointer",value:[u.get("x",i),u.get("y",i),u.get("z",i,!0)]})),e=i,s.dataIndex=i},this),s.on("mouseout",function(t){this._downplay(e),this._labelsBuilder.updateLabels(),e=-1,s.dataIndex=-1,v&&c.dispatchAction({type:"grid3DHideAxisPointer"})},this)},_highlight:function(a){var c=this._data;if(c){var u=this._barIndexOfData[a];if(!(u<0)){var s=c.getItemModel(a),v=s.getModel("emphasis.itemStyle"),e=v.get("color"),t=v.get("opacity");if(e==null){var i=c.getItemVisual(a,"color");e=C.a.color.lift(i,-.4)}t==null&&(t=c.getItemVisual(a,"opacity"));var f=p.a.parseColor(e);f[3]*=t,this._barMesh.geometry.setColor(u,f),this._api.getZr().refresh()}}},_downplay:function(a){var c=this._data;if(c){var u=this._barIndexOfData[a];if(!(u<0)){var s=c.getItemVisual(a,"color"),v=c.getItemVisual(a,"opacity"),e=p.a.parseColor(s);e[3]*=v,this._barMesh.geometry.setColor(u,e),this._api.getZr().refresh()}}},highlight:function(a,c,u,s){this._toggleStatus("highlight",a,c,u,s)},downplay:function(a,c,u,s){this._toggleStatus("downplay",a,c,u,s)},_toggleStatus:function(a,c,u,s,v){var e=c.getData(),t=m.a.queryDataIndex(e,v),i=this;t!=null?C.a.util.each(E.a.normalizeToArray(t),function(f){a==="highlight"?this._highlight(f):this._downplay(f)},this):e.each(function(f){a==="highlight"?i._highlight(f):i._downplay(f)})},remove:function(){this.groupGL.removeAll()},dispose:function(){this.groupGL.removeAll()}})},function(k,P,_){"use strict";var B=_(0),C=_.n(B),p=_(33),m=_(60),E=_(13),d=_(1),l=_.n(d),o=l.a.vec3,g=l.a.mat3,r=E.a.extend(function(){return{attributes:{position:new E.a.Attribute("position","float",3,"POSITION"),normal:new E.a.Attribute("normal","float",3,"NORMAL"),color:new E.a.Attribute("color","float",4,"COLOR"),prevPosition:new E.a.Attribute("prevPosition","float",3),prevNormal:new E.a.Attribute("prevNormal","float",3)},dynamic:!0,enableNormal:!1,bevelSize:1,bevelSegments:0,_dataIndices:null,_vertexOffset:0,_triangleOffset:0}},{resetOffset:function(){this._vertexOffset=0,this._triangleOffset=0},setBarCount:function(n){var a=this.enableNormal,c=this.getBarVertexCount()*n,u=this.getBarTriangleCount()*n;this.vertexCount!==c&&(this.attributes.position.init(c),a?this.attributes.normal.init(c):this.attributes.normal.value=null,this.attributes.color.init(c)),this.triangleCount!==u&&(this.indices=c>65535?new Uint32Array(u*3):new Uint16Array(u*3),this._dataIndices=new Uint32Array(c))},getBarVertexCount:function(){var n=this.bevelSize>0?this.bevelSegments:0;return n>0?this._getBevelBarVertexCount(n):this.enableNormal?24:8},getBarTriangleCount:function(){var n=this.bevelSize>0?this.bevelSegments:0;return n>0?this._getBevelBarTriangleCount(n):12},_getBevelBarVertexCount:function(n){return(n+1)*4*(n+1)*2},_getBevelBarTriangleCount:function(n){var a=n*4+3,c=n*2+1;return(a+1)*c*2+4},setColor:function(n,a){for(var c=this.getBarVertexCount(),u=c*n,s=c*(n+1),v=u;v0&&this.bevelSegments>0)this._addBevelBar(I,K,F,W,this.bevelSize,this.bevelSegments,j);else{o.copy(s,K),o.normalize(s,s),o.cross(v,F,s),o.normalize(v,v),o.cross(u,s,v),o.normalize(v,v),o.negate(e,u),o.negate(t,s),o.negate(i,v),a(f[0],I,u,W[0]/2),a(f[0],f[0],v,W[2]/2),a(f[1],I,u,W[0]/2),a(f[1],f[1],i,W[2]/2),a(f[2],I,e,W[0]/2),a(f[2],f[2],i,W[2]/2),a(f[3],I,e,W[0]/2),a(f[3],f[3],v,W[2]/2),a(c,I,s,W[1]),a(f[4],c,u,W[0]/2),a(f[4],f[4],v,W[2]/2),a(f[5],c,u,W[0]/2),a(f[5],f[5],i,W[2]/2),a(f[6],c,e,W[0]/2),a(f[6],f[6],i,W[2]/2),a(f[7],c,e,W[0]/2),a(f[7],f[7],v,W[2]/2);var le=this.attributes;if(this.enableNormal){y[0]=u,y[1]=e,y[2]=s,y[3]=t,y[4]=v,y[5]=i;for(var J=this._vertexOffset,ve=0;ve=0){var Y=A*3,le=new l.a(this._points[Y],this._points[Y+1],this._points[Y+2]);f.push({dataIndex:A,point:le,pointWorld:le.clone(),target:this._line3DMesh,distance:this._camera.getWorldPosition().dist(le)})}},remove:function(){this.groupGL.removeAll()},dispose:function(){this.groupGL.removeAll()}})},function(k,P){function _(B,C,p,m,E,d,l){if(E===0)return!1;var o=E,g=0,r=B;if(l>C+o&&l>m+o||lB+o&&d>p+o||dc?u.position[1]+=(s-c)/2:u.position[0]+=(s-a)/2;var v=u.getBoundingRect();return u.position[0]-=v.x,u.position[1]-=v.y,u.setStyle(g),u.update(),u.__size=s,u}function E(l,o,g){var r=o.width,n=o.height,a=l.canvas.width,c=l.canvas.height,u=r/a,s=n/c;function v(A){return A<128?1:-1}function e(A,w){var L=1/0;A=Math.floor(A*u),w=Math.floor(w*s);for(var D=w*r+A,O=o.data[D*4],N=v(O),I=Math.max(w-g,0);I=0;f--){var y;this.geometry.indices?y=this.geometry.indices[f]:y=f;var b=v[y*2],x=v[y*2+1],A=this.geometry.attributes.size.get(y)/this.sizeScale,w=A/2;if(r>b-w*t&&rx-w*i&&n=2e4},doSortVertices:function(E,d){var l=this.indices,o=m.create();if(!l){l=this.indices=this.vertexCount>65535?new Uint32Array(this.vertexCount):new Uint16Array(this.vertexCount);for(var g=0;g.05);else for(var g=0;g<3;g++)this._progressiveQuickSort(d*3+g);this.dirtyIndices()},_simpleSort:function(E){var d=this._zList,l=this.indices;function o(g,r){return d[r]-d[g]}E?Array.prototype.sort.call(l,o):B.a.sort(l,o,0,l.length-1)},_progressiveQuickSort:function(E){var d=this._zList,l=this.indices;this._quickSort=this._quickSort||new B.a,this._quickSort.step(l,function(o,g){return d[g]-d[o]},E)}}},function(k,P,_){"use strict";P.a=`@export ecgl.sdfSprite.vertex uniform mat4 worldViewProjection : WORLDVIEWPROJECTION; uniform float elapsedTime : 0; attribute vec3 position : POSITION; #ifdef VERTEX_SIZE attribute float size; #else uniform float u_Size; #endif #ifdef VERTEX_COLOR attribute vec4 a_FillColor: COLOR; varying vec4 v_Color; #endif #ifdef VERTEX_ANIMATION attribute vec3 prevPosition; attribute float prevSize; uniform float percent : 1.0; #endif #ifdef POSITIONTEXTURE_ENABLED uniform sampler2D positionTexture; #endif varying float v_Size; void main() { #ifdef POSITIONTEXTURE_ENABLED gl_Position = worldViewProjection * vec4(texture2D(positionTexture, position.xy).xy, -10.0, 1.0); #else #ifdef VERTEX_ANIMATION vec3 pos = mix(prevPosition, position, percent); #else vec3 pos = position; #endif gl_Position = worldViewProjection * vec4(pos, 1.0); #endif #ifdef VERTEX_SIZE #ifdef VERTEX_ANIMATION v_Size = mix(prevSize, size, percent); #else v_Size = size; #endif #else v_Size = u_Size; #endif #ifdef VERTEX_COLOR v_Color = a_FillColor; #endif gl_PointSize = v_Size; } @end @export ecgl.sdfSprite.fragment uniform vec4 color: [1, 1, 1, 1]; uniform vec4 strokeColor: [1, 1, 1, 1]; uniform float smoothing: 0.07; uniform float lineWidth: 0.0; #ifdef VERTEX_COLOR varying vec4 v_Color; #endif varying float v_Size; uniform sampler2D sprite; @import clay.util.srgb void main() { gl_FragColor = color; vec4 _strokeColor = strokeColor; #ifdef VERTEX_COLOR gl_FragColor *= v_Color; #endif #ifdef SPRITE_ENABLED float d = texture2D(sprite, gl_PointCoord).r; gl_FragColor.a *= smoothstep(0.5 - smoothing, 0.5 + smoothing, d); if (lineWidth > 0.0) { float sLineWidth = lineWidth / 2.0; float outlineMaxValue0 = 0.5 + sLineWidth; float outlineMaxValue1 = 0.5 + sLineWidth + smoothing; float outlineMinValue0 = 0.5 - sLineWidth - smoothing; float outlineMinValue1 = 0.5 - sLineWidth; if (d <= outlineMaxValue1 && d >= outlineMinValue0) { float a = _strokeColor.a; if (d <= outlineMinValue1) { a = a * smoothstep(outlineMinValue0, outlineMinValue1, d); } else { a = a * smoothstep(outlineMaxValue1, outlineMaxValue0, d); } gl_FragColor.rgb = mix(gl_FragColor.rgb * gl_FragColor.a, _strokeColor.rgb, a); gl_FragColor.a = gl_FragColor.a * (1.0 - a) + a; } } #endif #ifdef SRGB_DECODE gl_FragColor = sRGBToLinear(gl_FragColor); #endif } @end`},function(k,P,_){"use strict";var B=_(0),C=_.n(B),p=_(221),m=_(222),E=_(225),d=_(16);C.a.registerVisual(Object(d.a)("lines3D")),C.a.registerAction({type:"lines3DPauseEffect",event:"lines3deffectpaused",update:"series.lines3D:pauseEffect"},function(){}),C.a.registerAction({type:"lines3DResumeEffect",event:"lines3deffectresumed",update:"series.lines3D:resumeEffect"},function(){}),C.a.registerAction({type:"lines3DToggleEffect",event:"lines3deffectchanged",update:"series.lines3D:toggleEffect"},function(){})},function(k,P,_){"use strict";var B=_(0),C=_.n(B),p=_(1),m=_.n(p),E=m.a.vec3,d=m.a.vec2,l=E.normalize,o=E.cross,g=E.sub,r=E.add,n=E.create,a=n(),c=n(),u=n(),s=n(),v=[],e=[];function t(A,w){d.copy(v,A[0]),d.copy(e,A[1]);var L=[],D=L[0]=n(),O=L[1]=n(),N=L[2]=n(),I=L[3]=n();w.dataToPoint(v,D),w.dataToPoint(e,I),l(a,D),g(c,I,D),l(c,c),o(u,c,a),l(u,u),o(c,a,u),r(O,a,c),l(O,O),l(a,I),g(c,D,I),l(c,c),o(u,c,a),l(u,u),o(c,a,u),r(N,a,c),l(N,N),r(s,D,I),l(s,s);var K=E.dot(D,s),F=E.dot(s,O),W=(Math.max(E.len(D),E.len(I))-K)/F*2;return E.scaleAndAdd(O,D,O,W),E.scaleAndAdd(N,I,N,W),L}function i(A,w,L){var D=[],O=D[0]=E.create(),N=D[1]=E.create(),I=D[2]=E.create(),K=D[3]=E.create();w.dataToPoint(A[0],O),w.dataToPoint(A[1],K);var F=E.dist(O,K);return E.lerp(N,O,K,.3),E.lerp(I,O,K,.3),E.scaleAndAdd(N,N,L,Math.min(F*.1,10)),E.scaleAndAdd(I,I,L,Math.min(F*.1,10)),D}function f(A,w){for(var L=new Float32Array(A.length*3),D=0,O=[],N=0;N0&&O[0]instanceof Array))throw new Error("Invalid coords "+JSON.stringify(O)+". Lines must have 2d coords array in data item.");w.push(O)}),{coordsList:w}}function b(A,w){var L=A.getData(),D=A.get("polyline");L.setLayout("lineType",D?"polyline":"cubicBezier");var O=y(L);L.each(function(N){var I=O.coordsList[N],K=D?f:t;L.setItemLayout(N,K(I,w))})}function x(A,w,L){var D=A.getData(),O=A.get("polyline"),N=y(D);D.setLayout("lineType",O?"polyline":"cubicBezier"),D.each(function(I){var K=N.coordsList[I],F=O?f(K,w):i(K,w,L);D.setItemLayout(I,F)})}C.a.registerLayout(function(A,w){A.eachSeriesByType("lines3D",function(L){var D=L.coordinateSystem;D.type==="globe"?b(L,D):D.type==="geo3D"?x(L,D,[0,1,0]):D.type==="mapbox3D"&&x(L,D,[0,0,1])})})},function(k,P,_){"use strict";var B=_(0),C=_.n(B),p=_(2),m=_(22),E=_(223),d=_(40);p.a.Shader.import(d.a);function l(g){return g.radius!=null?g.radius:g.size!=null?Math.max(g.size[0],g.size[1],g.size[2]):100}var o=C.a.extendChartView({type:"lines3D",__ecgl__:!0,init:function(g,r){this.groupGL=new p.a.Node,this._meshLinesMaterial=new p.a.Material({shader:p.a.createShader("ecgl.meshLines3D"),transparent:!0,depthMask:!1}),this._linesMesh=new p.a.Mesh({geometry:new m.a,material:this._meshLinesMaterial,$ignorePicking:!0}),this._trailMesh=new E.a},render:function(g,r,n){this.groupGL.add(this._linesMesh);var a=g.coordinateSystem,c=g.getData();if(a&&a.viewGL){var u=a.viewGL;u.add(this.groupGL),this._updateLines(g,r,n);var s=a.viewGL.isLinearSpace()?"define":"undefine";this._linesMesh.material[s]("fragment","SRGB_DECODE"),this._trailMesh.material[s]("fragment","SRGB_DECODE")}var v=this._trailMesh;if(v.stopAnimation(),g.get("effect.show")){this.groupGL.add(v),v.updateData(c,n,this._linesMesh.geometry),v.__time=v.__time||0;var e=3600*1e3;this._curveEffectsAnimator=v.animate("",{loop:!0}).when(e,{__time:e}).during(function(){v.setAnimationTime(v.__time)}).start()}else this.groupGL.remove(v),this._curveEffectsAnimator=null;this._linesMesh.material.blend=this._trailMesh.material.blend=g.get("blendMode")==="lighter"?p.a.additiveBlend:null},pauseEffect:function(){this._curveEffectsAnimator&&this._curveEffectsAnimator.pause()},resumeEffect:function(){this._curveEffectsAnimator&&this._curveEffectsAnimator.resume()},toggleEffect:function(){var g=this._curveEffectsAnimator;g&&(g.isPaused()?g.resume():g.pause())},_updateLines:function(g,r,n){var a=g.getData(),c=g.coordinateSystem,u=this._linesMesh.geometry,s=g.get("polyline");u.expandLine=!0;var v=l(c);u.segmentScale=v/20;var e="lineStyle.width".split("."),t=n.getDevicePixelRatio(),i=0;a.each(function(x){var A=a.getItemModel(x),w=A.get(e);w==null&&(w=1),a.setItemVisual(x,"lineWidth",w),i=Math.max(w,i)}),u.useNativeLine=!1;var f=0,y=0;a.each(function(x){var A=a.getItemLayout(x);s?(f+=u.getPolylineVertexCount(A),y+=u.getPolylineTriangleCount(A)):(f+=u.getCubicCurveVertexCount(A[0],A[1],A[2],A[3]),y+=u.getCubicCurveTriangleCount(A[0],A[1],A[2],A[3]))}),u.setVertexCount(f),u.setTriangleCount(y),u.resetOffset();var b=[];a.each(function(x){var A=a.getItemLayout(x),w=a.getItemVisual(x,"color"),L=a.getItemVisual(x,"opacity"),D=a.getItemVisual(x,"lineWidth")*t;L==null&&(L=1),b=p.a.parseColor(w,b),b[3]*=L,s?u.addPolyline(A,b,D):u.addCubicCurve(A[0],A[1],A[2],A[3],b,D)}),u.dirty()},remove:function(){this.groupGL.removeAll()},dispose:function(){this.groupGL.removeAll()}})},function(k,P,_){"use strict";var B=_(0),C=_.n(B),p=_(2),m=_(1),E=_.n(m),d=_(22),l=_(224),o=E.a.vec3;function g(r){return r>0?1:-1}p.a.Shader.import(l.a),P.a=p.a.Mesh.extend(function(){var r=new p.a.Material({shader:new p.a.Shader(p.a.Shader.source("ecgl.trail2.vertex"),p.a.Shader.source("ecgl.trail2.fragment")),transparent:!0,depthMask:!1}),n=new d.a({dynamic:!0});return n.createAttribute("dist","float",1),n.createAttribute("distAll","float",1),n.createAttribute("start","float",1),{geometry:n,material:r,culling:!1,$ignorePicking:!0}},{updateData:function(r,n,a){var c=r.hostModel,u=this.geometry,s=c.getModel("effect"),v=s.get("trailWidth")*n.getDevicePixelRatio(),e=s.get("trailLength"),t=c.get("effect.constantSpeed"),i=c.get("effect.period")*1e3,f=t!=null;this.getScene()||console.error("TrailMesh must been add to scene before updateData"),f?this.material.set("speed",t/1e3):this.material.set("period",i),this.material[f?"define":"undefine"]("vertex","CONSTANT_SPEED");var y=c.get("polyline");u.trailLength=e,this.material.set("trailLength",e),u.resetOffset(),["position","positionPrev","positionNext"].forEach(function(W){u.attributes[W].value=a.attributes[W].value});var b=["dist","distAll","start","offset","color"];b.forEach(function(W){u.attributes[W].init(u.vertexCount)}),u.indices=a.indices;var x=[],A=s.get("trailColor"),w=s.get("trailOpacity"),L=A!=null,D=w!=null;this.updateWorldTransform();var O=this.worldTransform.x.len(),N=this.worldTransform.y.len(),I=this.worldTransform.z.len(),K=0,F=0;r.each(function(W){var j=r.getItemLayout(W),X=D?w:r.getItemVisual(W,"opacity"),Y=r.getItemVisual(W,"color");X==null&&(X=1),x=p.a.parseColor(L?A:Y,x),x[3]*=X;for(var le=y?a.getPolylineVertexCount(j):a.getCubicCurveVertexCount(j[0],j[1],j[2],j[3]),J=0,ve=[],Ce=[],be=K;beK&&(J+=o.dist(ve,Ce)),u.attributes.dist.set(be,J),o.copy(Ce,ve);F=Math.max(F,J);for(var Ae=Math.random()*(f?J:i),be=K;be 1.0 || v_Percent < 0.0) { discard; } float fade = v_Percent; #ifdef SRGB_DECODE gl_FragColor = sRGBToLinear(color * v_Color); #else gl_FragColor = color * v_Color; #endif @import ecgl.common.wireframe.fragmentMain if (v_Percent > (1.0 - v_SpotPercent)) { gl_FragColor.rgb *= spotIntensity; } gl_FragColor.a *= fade; } @end`},function(k,P,_){"use strict";var B=_(0),C=_.n(B);C.a.extendSeriesModel({type:"series.lines3D",dependencies:["globe"],visualColorAccessPath:"lineStyle.color",getInitialData:function(p,m){var E=new C.a.List(["value"],this);return E.hasItemOption=!1,E.initData(p.data,[],function(d,l,o,g){if(d instanceof Array)return NaN;E.hasItemOption=!0;var r=d.value;if(r!=null)return r instanceof Array?r[g]:r}),E},defaultOption:{coordinateSystem:"globe",globeIndex:0,geo3DIndex:0,zlevel:-10,polyline:!1,effect:{show:!1,period:4,trailWidth:4,trailLength:.2,spotIntensity:6},silent:!0,blendMode:"source-over",lineStyle:{width:1,opacity:.5}}})},function(k,P,_){"use strict";var B=_(0),C=_.n(B),p=_(227),m=_(228),E=_(16);C.a.registerVisual(Object(E.a)("polygons3D"))},function(k,P,_){"use strict";var B=_(0),C=_.n(B),p=_(26);function m(l,o){for(var g=[],r=0;r0;this._updateSurfaceMesh(this._surfaceMesh,r,f,x);var A=this._surfaceMesh.material;x?(A.define("WIREFRAME_QUAD"),A.set("wireframeLineWidth",b),A.set("wireframeLineColor",p.a.parseColor(y.get("lineStyle.color")))):A.undefine("WIREFRAME_QUAD"),this._initHandler(r,a),this._updateAnimation(r)},_updateAnimation:function(r){p.a.updateVertexAnimation([["prevPosition","position"],["prevNormal","normal"]],this._prevSurfaceMesh,this._surfaceMesh,r)},_createSurfaceMesh:function(){var r=new p.a.Mesh({geometry:new p.a.Geometry({dynamic:!0,sortTriangles:!0}),shadowDepthMaterial:new p.a.Material({shader:new p.a.Shader(p.a.Shader.source("ecgl.sm.depth.vertex"),p.a.Shader.source("ecgl.sm.depth.fragment"))}),culling:!1,renderOrder:10,renderNormal:!0});return r.geometry.createAttribute("barycentric","float",4),r.geometry.createAttribute("prevPosition","float",3),r.geometry.createAttribute("prevNormal","float",3),C.a.util.extend(r.geometry,l.a),r},_initHandler:function(r,n){var a=r.getData(),c=this._surfaceMesh,u=r.coordinateSystem;function s(e,t){for(var i=1/0,f=-1,y=[],b=0;b=0){var i=[];c.geometry.attributes.position.get(t,i);for(var f=u.pointToData(i),y=1/0,b=-1,x=[],A=0;A65535?Uint32Array:Uint16Array)((A-1)*(w-1)*6),F=function(fe,xe,ne){ne[1]=fe*w+xe,ne[0]=fe*w+xe+1,ne[3]=(fe+1)*w+xe+1,ne[2]=(fe+1)*w+xe},W=!1;if(t){var j=[],X=[],Y=0;D?f.init(u.vertexCount):f.value=null;for(var le=[[],[],[]],J=[],ve=[],Ce=o.create(),be=function(fe,xe,ne){var de=xe*3;return ne[0]=fe[de],ne[1]=fe[de+1],ne[2]=fe[de+2],ne},Ae=new Float32Array(v.length),Ue=new Float32Array(v.length/3*4),we=0;we ")),n.value&&(s+=" : "+C.a.format.encodeHTML(n.value)),s}else return E.superApply(this,"formatTooltip",arguments)},_updateCategoriesData:function(){var l=(this.option.categories||[]).map(function(g){return g.value!=null?g:C.a.util.extend({value:0},g)}),o=new C.a.List(["value"],this);o.initData(l),this._categoriesData=o,this._categoriesModels=o.mapArray(function(g){return o.getItemModel(g,!0)})},setView:function(l){l.zoom!=null&&(this.option.zoom=l.zoom),l.offset!=null&&(this.option.offset=l.offset)},setNodePosition:function(l){for(var o=0;o "+f)),e++)}var y,b=C.a.helper.completeDimensions(["value"],o);y=new C.a.List(b,r),y.initData(o);var x=new C.a.List(["value"],r);return x.initData(v,s),a&&a(y,x),d()({mainData:y,struct:c,structAttr:"graph",datas:{node:y,edge:x},datasAttr:{node:"data",edge:"edgeData"}}),c.update(),c}},function(k,P,_){var B=_(85),C=B.__DEV__,p=_(12),m=_(244),E=m.enableClassCheck;function d(c){return"_EC_"+c}var l=function(c){this._directed=c||!1,this.nodes=[],this.edges=[],this._nodesMap={},this._edgesMap={},this.data,this.edgeData},o=l.prototype;o.type="graph",o.isDirected=function(){return this._directed},o.addNode=function(c,u){c=c||""+u;var s=this._nodesMap;if(!s[d(c)]){var v=new g(c,u);return v.hostGraph=this,this.nodes.push(v),s[d(c)]=v,v}},o.getNodeByIndex=function(c){var u=this.data.getRawIndex(c);return this.nodes[u]},o.getNodeById=function(c){return this._nodesMap[d(c)]},o.addEdge=function(c,u,s){var v=this._nodesMap,e=this._edgesMap;if(typeof c=="number"&&(c=this.nodes[c]),typeof u=="number"&&(u=this.nodes[u]),g.isInstance(c)||(c=v[d(c)]),g.isInstance(u)||(u=v[d(u)]),!(!c||!u)){var t=c.id+"-"+u.id;if(!e[t]){var i=new r(c,u,s);return i.hostGraph=this,this._directed&&(c.outEdges.push(i),u.inEdges.push(i)),c.edges.push(i),c!==u&&u.edges.push(i),this.edges.push(i),e[t]=i,i}}},o.getEdgeByIndex=function(c){var u=this.edgeData.getRawIndex(c);return this.edges[u]},o.getEdge=function(c,u){g.isInstance(c)&&(c=c.id),g.isInstance(u)&&(u=u.id);var s=this._edgesMap;return this._directed?s[c+"-"+u]:s[c+"-"+u]||s[u+"-"+c]},o.eachNode=function(c,u){for(var s=this.nodes,v=s.length,e=0;e=0&&c.call(u,s[e],e)},o.eachEdge=function(c,u){for(var s=this.edges,v=s.length,e=0;e=0&&s[e].node1.dataIndex>=0&&s[e].node2.dataIndex>=0&&c.call(u,s[e],e)},o.breadthFirstTraverse=function(c,u,s,v){if(g.isInstance(u)||(u=this._nodesMap[d(u)]),!!u){for(var e=s==="out"?"outEdges":s==="in"?"inEdges":"edges",t=0;t=0&&f.node2.dataIndex>=0});for(var e=0,t=v.length;e=0&&this[c][u].setItemVisual(this.dataIndex,s,v)},getVisual:function(s,v){return this[c][u].getItemVisual(this.dataIndex,s,v)},setLayout:function(s,v){this.dataIndex>=0&&this[c][u].setItemLayout(this.dataIndex,s,v)},getLayout:function(){return this[c][u].getItemLayout(this.dataIndex)},getGraphicEl:function(){return this[c][u].getItemGraphicEl(this.dataIndex)},getRawIndex:function(){return this[c][u].getRawIndex(this.dataIndex)}}};p.mixin(g,n("hostGraph","data")),p.mixin(r,n("hostGraph","edgeData")),l.Node=g,l.Edge=r,E(g),E(r);var a=l;k.exports=a},function(k,P){var _;_=function(){return this}();try{_=_||Function("return this")()||(0,eval)("this")}catch(B){typeof window=="object"&&(_=window)}k.exports=_},function(k,P,_){var B=_(85),C=B.__DEV__,p=_(12),m=".",E="___EC__COMPONENT__CONTAINER___";function d(s){var v={main:"",sub:""};return s&&(s=s.split(m),v.main=s[0]||"",v.sub=s[1]||""),v}function l(s){p.assert(/^[a-zA-Z0-9_]+([.][a-zA-Z0-9_]+)?$/.test(s),'componentType "'+s+'" illegal')}function o(s,v){s.$constructor=s,s.extend=function(e){var t=this,i=function(){e.$constructor?e.$constructor.apply(this,arguments):t.apply(this,arguments)};return p.extend(i.prototype,e),i.extend=this.extend,i.superCall=n,i.superApply=a,p.inherits(i,this),i.superClass=t,i}}var g=0;function r(s){var v=["__\0is_clz",g++,Math.random().toFixed(3)].join("_");s.prototype[v]=!0,s.isInstance=function(e){return!!(e&&e[v])}}function n(s,v){var e=p.slice(arguments,2);return this.superClass.prototype[v].apply(s,e)}function a(s,v,e){return this.superClass.prototype[v].apply(s,e)}function c(s,v){v=v||{};var e={};s.registerClass=function(f,y){if(y){if(l(y),y=d(y),!y.sub)e[y.main]=f;else if(y.sub!==E){var b=t(y);b[y.sub]=f}}return f},s.getClass=function(f,y,b){var x=e[f];if(x&&x[E]&&(x=y?x[y]:null),b&&!x)throw new Error(y?"Component "+f+"."+(y||"")+" not exists. Load it first.":f+".type should be specified.");return x},s.getClassesByMainType=function(f){f=d(f);var y=[],b=e[f.main];return b&&b[E]?p.each(b,function(x,A){A!==E&&y.push(x)}):y.push(b),y},s.hasClass=function(f){return f=d(f),!!e[f.main]},s.getAllClassMainTypes=function(){var f=[];return p.each(e,function(y,b){f.push(b)}),f},s.hasSubTypes=function(f){f=d(f);var y=e[f.main];return y&&y[E]},s.parseClassType=d;function t(f){var y=e[f.main];return(!y||!y[E])&&(y=e[f.main]={},y[E]=!0),y}if(v.registerWhenExtend){var i=s.extend;i&&(s.extend=function(f){var y=i.call(this,f);return s.registerClass(y,f.type)})}return s}function u(s,v){}P.parseClassType=d,P.enableClassExtend=o,P.enableClassCheck=r,P.enableClassManagement=c,P.setReadOnly=u},function(k,P,_){var B=_(12),C=B.each,p="\0__link_datas",m="\0__link_mainData";function E(u){var s=u.mainData,v=u.datas;v||(v={main:s},u.datasAttr={main:"data"}),u.datas=u.mainData=null,n(s,v,u),C(v,function(e){C(s.TRANSFERABLE_METHODS,function(t){e.wrapMethod(t,B.curry(d,u))})}),s.wrapMethod("cloneShallow",B.curry(o,u)),C(s.CHANGABLE_METHODS,function(e){s.wrapMethod(e,B.curry(l,u))}),B.assert(v[s.dataType]===s)}function d(u,s){if(r(this)){var v=B.extend({},this[p]);v[this.dataType]=s,n(s,v,u)}else a(s,this.dataType,this[m],u);return s}function l(u,s){return u.struct&&u.struct.update(this),s}function o(u,s){return C(s[p],function(v,e){v!==s&&a(v.cloneShallow(),e,s,u)}),s}function g(u){var s=this[m];return u==null||s==null?s:s[p][u]}function r(u){return u[m]===u}function n(u,s,v){u[p]={},C(s,function(e,t){a(e,t,u,v)})}function a(u,s,v,e){v[p][s]=u,u[m]=v,u.dataType=s,e.struct&&(u[e.structAttr]=e.struct,e.struct[e.datasAttr[s]]=u),u.getLinkedData=g}var c=E;k.exports=c},function(k,P,_){"use strict";var B=_(0),C=_.n(B),p=_(41),m=_.n(p),E=_(2),d=_(20),l=_(86),o=_(3),g=_(247),r=_(249),n=_(65),a=_.n(n),c=_(1),u=_.n(c),s=_(251),v=_(62),e=_(252),t=u.a.vec2;E.a.Shader.import(e.a);var i=1;C.a.extendChartView({type:"graphGL",__ecgl__:!0,init:function(f,y){this.groupGL=new E.a.Node,this.viewGL=new d.a("orthographic"),this.viewGL.camera.left=this.viewGL.camera.right=0,this.viewGL.add(this.groupGL),this._pointsBuilder=new v.a(!0,y),this._forceEdgesMesh=new E.a.Mesh({material:new E.a.Material({shader:E.a.createShader("ecgl.forceAtlas2.edges"),transparent:!0,depthMask:!1,depthTest:!1}),$ignorePicking:!0,geometry:new E.a.Geometry({attributes:{node:new E.a.Geometry.Attribute("node","float",2),color:new E.a.Geometry.Attribute("color","float",4,"COLOR")},dynamic:!0,mainAttribute:"node"}),renderOrder:-1,mode:E.a.Mesh.LINES}),this._edgesMesh=new E.a.Mesh({material:new E.a.Material({shader:E.a.createShader("ecgl.meshLines2D"),transparent:!0,depthMask:!1,depthTest:!1}),$ignorePicking:!0,geometry:new l.a({useNativeLine:!1,dynamic:!0}),renderOrder:-1,culling:!1}),this._layoutId=0,this._control=new s.a({zr:y.getZr(),viewGL:this.viewGL}),this._control.setTarget(this.groupGL),this._control.init(),this._clickHandler=this._clickHandler.bind(this)},render:function(f,y,b){this.groupGL.add(this._pointsBuilder.rootNode),this._model=f,this._api=b,this._initLayout(f,y,b),this._pointsBuilder.update(f,y,b),this._forceLayoutInstance instanceof g.a||this.groupGL.remove(this._forceEdgesMesh),this._updateCamera(f,b),this._control.off("update"),this._control.on("update",function(){b.dispatchAction({type:"graphGLRoam",seriesId:f.id,zoom:this._control.getZoom(),offset:this._control.getOffset()}),this._pointsBuilder.updateView(this.viewGL.camera)},this),this._control.setZoom(o.a.firstNotNull(f.get("zoom"),1)),this._control.setOffset(f.get("offset")||[0,0]);var x=this._pointsBuilder.getPointsMesh();if(x.off("mousemove",this._mousemoveHandler),x.off("mouseout",this._mouseOutHandler,this),b.getZr().off("click",this._clickHandler),this._pointsBuilder.highlightOnMouseover=!0,f.get("focusNodeAdjacency")){var A=f.get("focusNodeAdjacencyOn");A==="click"?b.getZr().on("click",this._clickHandler):A==="mouseover"?(x.on("mousemove",this._mousemoveHandler,this),x.on("mouseout",this._mouseOutHandler,this),this._pointsBuilder.highlightOnMouseover=!1):console.warn("Unkown focusNodeAdjacencyOn value s"+A)}this._lastMouseOverDataIndex=-1},_clickHandler:function(f){if(!this._layouting){var y=this._pointsBuilder.getPointsMesh().dataIndex;y>=0?this._api.dispatchAction({type:"graphGLFocusNodeAdjacency",seriesId:this._model.id,dataIndex:y}):this._api.dispatchAction({type:"graphGLUnfocusNodeAdjacency",seriesId:this._model.id})}},_mousemoveHandler:function(f){if(!this._layouting){var y=this._pointsBuilder.getPointsMesh().dataIndex;y>=0?y!==this._lastMouseOverDataIndex&&this._api.dispatchAction({type:"graphGLFocusNodeAdjacency",seriesId:this._model.id,dataIndex:y}):this._mouseOutHandler(f),this._lastMouseOverDataIndex=y}},_mouseOutHandler:function(f){this._layouting||(this._api.dispatchAction({type:"graphGLUnfocusNodeAdjacency",seriesId:this._model.id}),this._lastMouseOverDataIndex=-1)},_updateForceEdgesGeometry:function(f,y){var b=this._forceEdgesMesh.geometry,x=y.getEdgeData(),A=0,w=this._forceLayoutInstance,L=x.count()*2;b.attributes.node.init(L),b.attributes.color.init(L),x.each(function(D){var O=f[D];b.attributes.node.set(A,w.getNodeUV(O.node1)),b.attributes.node.set(A+1,w.getNodeUV(O.node2));var N=x.getItemVisual(O.dataIndex,"color"),I=E.a.parseColor(N);I[3]*=o.a.firstNotNull(x.getItemVisual(O.dataIndex,"opacity"),1),b.attributes.color.set(A,I),b.attributes.color.set(A+1,I),A+=2}),b.dirty()},_updateMeshLinesGeometry:function(){var y=this._model.getEdgeData(),f=this._edgesMesh.geometry,y=this._model.getEdgeData(),b=this._model.getData().getLayout("points");f.resetOffset(),f.setVertexCount(y.count()*f.getLineVertexCount()),f.setTriangleCount(y.count()*f.getLineTriangleCount());var x=[],A=[],w=["lineStyle","width"];this._originalEdgeColors=new Float32Array(y.count()*4),this._edgeIndicesMap=new Float32Array(y.count()),y.each(function(L){var D=y.graph.getEdgeByIndex(L),O=D.node1.dataIndex*2,N=D.node2.dataIndex*2;x[0]=b[O],x[1]=b[O+1],A[0]=b[N],A[1]=b[N+1];var I=y.getItemVisual(D.dataIndex,"color"),K=E.a.parseColor(I);K[3]*=o.a.firstNotNull(y.getItemVisual(D.dataIndex,"opacity"),1);var F=y.getItemModel(D.dataIndex),W=o.a.firstNotNull(F.get(w),1)*this._api.getDevicePixelRatio();f.addLine(x,A,K,W);for(var j=0;j<4;j++)this._originalEdgeColors[D.dataIndex*4+j]=K[j];this._edgeIndicesMap[D.dataIndex]=L},!1,this),f.dirty()},_updateForceNodesGeometry:function(f){for(var y=this._pointsBuilder.getPointsMesh(),b=[],x=0;x=j&&(N._syncNodePosition(f),W=0),w.getZr().refresh(),a()(function(){X(Y)})})}};a()(function(){N._forceLayoutInstanceToDispose&&(N._forceLayoutInstanceToDispose.dispose(A.layer.renderer),N._forceLayoutInstanceToDispose=null),X(I)}),this._layouting=!0}}},stopLayout:function(f,y,b,x){x&&x.from!=null&&x.from!==this.uid||(this._layoutId=0,this.groupGL.remove(this._forceEdgesMesh),this.groupGL.add(this._edgesMesh),this._forceLayoutInstance&&this.viewGL.layer&&(x&&x.beforeLayout||(this._syncNodePosition(f),this._updateAfterLayout(f,y,b)),this._api.getZr().refresh(),this._layouting=!1))},_syncNodePosition:function(f){var y=this._forceLayoutInstance.getNodePosition(this.viewGL.layer.renderer);f.getData().setLayout("points",y),f.setNodePosition(y)},_updateAfterLayout:function(f,y,b){this._updateMeshLinesGeometry(),this._pointsBuilder.removePositionTexture(),this._pointsBuilder.updateLayout(f,y,b),this._pointsBuilder.updateView(this.viewGL.camera),this._pointsBuilder.updateLabels(),this._pointsBuilder.showLabels()},focusNodeAdjacency:function(f,y,b,x){var A=this._model.getData();this._downplayAll();var w=x.dataIndex,L=A.graph,D=[],O=L.getNodeByIndex(w);D.push(O),O.edges.forEach(function(I){I.dataIndex<0||(I.node1!==O&&D.push(I.node1),I.node2!==O&&D.push(I.node2))},this),this._pointsBuilder.fadeOutAll(.05),this._fadeOutEdgesAll(.05),D.forEach(function(I){this._pointsBuilder.highlight(A,I.dataIndex)},this),this._pointsBuilder.updateLabels(D.map(function(I){return I.dataIndex}));var N=[];O.edges.forEach(function(I){I.dataIndex>=0&&(this._highlightEdge(I.dataIndex),N.push(I))},this),this._focusNodes=D,this._focusEdges=N},unfocusNodeAdjacency:function(f,y,b,x){this._downplayAll(),this._pointsBuilder.fadeInAll(),this._fadeInEdgesAll(),this._pointsBuilder.updateLabels()},_highlightEdge:function(f){var y=this._model.getEdgeData().getItemModel(f),b=E.a.parseColor(y.get("emphasis.lineStyle.color")||y.get("lineStyle.color")),x=o.a.firstNotNull(y.get("emphasis.lineStyle.opacity"),y.get("lineStyle.opacity"),1);b[3]*=x,this._edgesMesh.geometry.setItemColor(this._edgeIndicesMap[f],b)},_downplayAll:function(){this._focusNodes&&this._focusNodes.forEach(function(f){this._pointsBuilder.downplay(this._model.getData(),f.dataIndex)},this),this._focusEdges&&this._focusEdges.forEach(function(f){this._downplayEdge(f.dataIndex)},this)},_downplayEdge:function(f){var y=this._getColor(f,[]);this._edgesMesh.geometry.setItemColor(this._edgeIndicesMap[f],y)},_setEdgeFade:function(){var f=[];return function(y,b){this._getColor(y,f),f[3]*=b,this._edgesMesh.geometry.setItemColor(this._edgeIndicesMap[y],f)}}(),_getColor:function(f,y){for(var b=0;b<4;b++)y[b]=this._originalEdgeColors[f*4+b];return y},_fadeOutEdgesAll:function(f){var y=this._model.getData().graph;y.eachEdge(function(b){this._setEdgeFade(b.dataIndex,f)},this)},_fadeInEdgesAll:function(){this._fadeOutEdgesAll(1)},_updateCamera:function(f,y){this.viewGL.setViewport(0,0,y.getWidth(),y.getHeight(),y.getDevicePixelRatio());for(var b=this.viewGL.camera,x=f.getData(),A=x.getLayout("points"),w=t.create(1/0,1/0),L=t.create(-1/0,-1/0),D=[],O=0;Ob.left&&Ib.top)){var K=Math.max(L[0]-w[0],10),F=K/y.getWidth()*y.getHeight();K*=1.4,F*=1.4,w[0]-=K*.2,b.left=w[0],b.top=N-F/2,b.bottom=N+F/2,b.right=K+w[0],b.near=0,b.far=100}},dispose:function(){var f=this.viewGL.layer.renderer;this._forceLayoutInstance&&this._forceLayoutInstance.dispose(f),this.groupGL.removeAll(),this._layoutId=-1},remove:function(){this.groupGL.removeAll(),this._control.dispose()}})},function(k,P,_){"use strict";var B=_(0),C=_.n(B),p=_(2),m=_(14),E=_(10),d=_(248);p.a.Shader.import(d.a);var l={repulsionByDegree:!0,linLogMode:!1,strongGravityMode:!1,gravity:1,scaling:1,edgeWeightInfluence:1,jitterTolerence:.1,preventOverlap:!1,dissuadeHubs:!1,gravityCenter:null};function o(g){var r={type:p.a.Texture.FLOAT,minFilter:p.a.Texture.NEAREST,magFilter:p.a.Texture.NEAREST};this._positionSourceTex=new p.a.Texture2D(r),this._positionSourceTex.flipY=!1,this._positionTex=new p.a.Texture2D(r),this._positionPrevTex=new p.a.Texture2D(r),this._forceTex=new p.a.Texture2D(r),this._forcePrevTex=new p.a.Texture2D(r),this._weightedSumTex=new p.a.Texture2D(r),this._weightedSumTex.width=this._weightedSumTex.height=1,this._globalSpeedTex=new p.a.Texture2D(r),this._globalSpeedPrevTex=new p.a.Texture2D(r),this._globalSpeedTex.width=this._globalSpeedTex.height=1,this._globalSpeedPrevTex.width=this._globalSpeedPrevTex.height=1,this._nodeRepulsionPass=new m.a({fragment:p.a.Shader.source("ecgl.forceAtlas2.updateNodeRepulsion")}),this._positionPass=new m.a({fragment:p.a.Shader.source("ecgl.forceAtlas2.updatePosition")}),this._globalSpeedPass=new m.a({fragment:p.a.Shader.source("ecgl.forceAtlas2.calcGlobalSpeed")}),this._copyPass=new m.a({fragment:p.a.Shader.source("clay.compositor.output")});var n=function(a){a.blendEquation(a.FUNC_ADD),a.blendFunc(a.ONE,a.ONE)};this._edgeForceMesh=new p.a.Mesh({geometry:new p.a.Geometry({attributes:{node1:new p.a.Geometry.Attribute("node1","float",2),node2:new p.a.Geometry.Attribute("node2","float",2),weight:new p.a.Geometry.Attribute("weight","float",1)},dynamic:!0,mainAttribute:"node1"}),material:new p.a.Material({transparent:!0,shader:p.a.createShader("ecgl.forceAtlas2.updateEdgeAttraction"),blend:n,depthMask:!1,depthText:!1}),mode:p.a.Mesh.POINTS}),this._weightedSumMesh=new p.a.Mesh({geometry:new p.a.Geometry({attributes:{node:new p.a.Geometry.Attribute("node","float",2)},dynamic:!0,mainAttribute:"node"}),material:new p.a.Material({transparent:!0,shader:p.a.createShader("ecgl.forceAtlas2.calcWeightedSum"),blend:n,depthMask:!1,depthText:!1}),mode:p.a.Mesh.POINTS}),this._framebuffer=new E.a({depthBuffer:!1}),this._dummyCamera=new p.a.OrthographicCamera({left:-1,right:1,top:1,bottom:-1,near:0,far:100}),this._globalSpeed=0}o.prototype.updateOption=function(g){for(var r in l)this[r]=l[r];var n=this._nodes.length;if(n>5e4?this.jitterTolerence=10:n>5e3?this.jitterTolerence=1:this.jitterTolerence=.1,n>100?this.scaling=2:this.scaling=10,g)for(var r in l)g[r]!=null&&(this[r]=g[r]);if(this.repulsionByDegree)for(var a=this._positionSourceTex.pixels,c=0;cg},o.prototype._swapTexture=function(){var g=this._positionPrevTex;this._positionPrevTex=this._positionTex,this._positionTex=g;var g=this._forcePrevTex;this._forcePrevTex=this._forceTex,this._forceTex=g;var g=this._globalSpeedPrevTex;this._globalSpeedPrevTex=this._globalSpeedTex,this._globalSpeedTex=g},o.prototype._initFromSource=function(g){this._framebuffer.attach(this._positionPrevTex),this._framebuffer.bind(g),this._copyPass.setUniform("texture",this._positionSourceTex),this._copyPass.render(g),g.gl.clearColor(0,0,0,0),this._framebuffer.attach(this._forcePrevTex),g.gl.clear(g.gl.COLOR_BUFFER_BIT),this._framebuffer.attach(this._globalSpeedPrevTex),g.gl.clear(g.gl.COLOR_BUFFER_BIT),this._framebuffer.unbind(g)},o.prototype._resize=function(g,r){["_positionSourceTex","_positionTex","_positionPrevTex","_forceTex","_forcePrevTex"].forEach(function(n){this[n].width=g,this[n].height=r,this[n].dirty()},this)},o.prototype.dispose=function(g){this._framebuffer.dispose(g),this._copyPass.dispose(g),this._nodeRepulsionPass.dispose(g),this._positionPass.dispose(g),this._globalSpeedPass.dispose(g),this._edgeForceMesh.geometry.dispose(g),this._weightedSumMesh.geometry.dispose(g),this._positionSourceTex.dispose(g),this._positionTex.dispose(g),this._positionPrevTex.dispose(g),this._forceTex.dispose(g),this._forcePrevTex.dispose(g),this._weightedSumTex.dispose(g),this._globalSpeedTex.dispose(g),this._globalSpeedPrevTex.dispose(g)},C.a.ForceAtlas2GPU=o,P.a=o},function(k,P,_){"use strict";P.a=`@export ecgl.forceAtlas2.updateNodeRepulsion #define NODE_COUNT 0 uniform sampler2D positionTex; uniform vec2 textureSize; uniform float gravity; uniform float scaling; uniform vec2 gravityCenter; uniform bool strongGravityMode; uniform bool preventOverlap; varying vec2 v_Texcoord; void main() { vec4 n0 = texture2D(positionTex, v_Texcoord); vec2 force = vec2(0.0); for (int i = 0; i < NODE_COUNT; i++) { vec2 uv = vec2( mod(float(i), textureSize.x) / (textureSize.x - 1.0), floor(float(i) / textureSize.x) / (textureSize.y - 1.0) ); vec4 n1 = texture2D(positionTex, uv); vec2 dir = n0.xy - n1.xy; float d2 = dot(dir, dir); if (d2 > 0.0) { float factor = 0.0; if (preventOverlap) { float d = sqrt(d2); d = d - n0.w - n1.w; if (d > 0.0) { factor = scaling * n0.z * n1.z / (d * d); } else if (d < 0.0) { factor = scaling * 100.0 * n0.z * n1.z; } } else { factor = scaling * n0.z * n1.z / d2; } force += dir * factor; } } vec2 dir = gravityCenter - n0.xy; float d = 1.0; if (!strongGravityMode) { d = length(dir); } force += dir * n0.z * gravity / (d + 1.0); gl_FragColor = vec4(force, 0.0, 1.0); } @end @export ecgl.forceAtlas2.updateEdgeAttraction.vertex attribute vec2 node1; attribute vec2 node2; attribute float weight; uniform sampler2D positionTex; uniform float edgeWeightInfluence; uniform bool preventOverlap; uniform bool linLogMode; uniform vec2 windowSize: WINDOW_SIZE; varying vec2 v_Force; void main() { vec4 n0 = texture2D(positionTex, node1); vec4 n1 = texture2D(positionTex, node2); vec2 dir = n1.xy - n0.xy; float d = length(dir); float w; if (edgeWeightInfluence == 0.0) { w = 1.0; } else if (edgeWeightInfluence == 1.0) { w = weight; } else { w = pow(weight, edgeWeightInfluence); } vec2 offset = vec2(1.0 / windowSize.x, 1.0 / windowSize.y); vec2 scale = vec2((windowSize.x - 1.0) / windowSize.x, (windowSize.y - 1.0) / windowSize.y); vec2 pos = node1 * scale * 2.0 - 1.0; gl_Position = vec4(pos + offset, 0.0, 1.0); gl_PointSize = 1.0; float factor; if (preventOverlap) { d = d - n1.w - n0.w; } if (d <= 0.0) { v_Force = vec2(0.0); return; } if (linLogMode) { factor = w * log(d) / d; } else { factor = w; } v_Force = dir * factor; } @end @export ecgl.forceAtlas2.updateEdgeAttraction.fragment varying vec2 v_Force; void main() { gl_FragColor = vec4(v_Force, 0.0, 0.0); } @end @export ecgl.forceAtlas2.calcWeightedSum.vertex attribute vec2 node; varying vec2 v_NodeUv; void main() { v_NodeUv = node; gl_Position = vec4(0.0, 0.0, 0.0, 1.0); gl_PointSize = 1.0; } @end @export ecgl.forceAtlas2.calcWeightedSum.fragment varying vec2 v_NodeUv; uniform sampler2D positionTex; uniform sampler2D forceTex; uniform sampler2D forcePrevTex; void main() { vec2 force = texture2D(forceTex, v_NodeUv).rg; vec2 forcePrev = texture2D(forcePrevTex, v_NodeUv).rg; float mass = texture2D(positionTex, v_NodeUv).z; float swing = length(force - forcePrev) * mass; float traction = length(force + forcePrev) * 0.5 * mass; gl_FragColor = vec4(swing, traction, 0.0, 0.0); } @end @export ecgl.forceAtlas2.calcGlobalSpeed uniform sampler2D globalSpeedPrevTex; uniform sampler2D weightedSumTex; uniform float jitterTolerence; void main() { vec2 weightedSum = texture2D(weightedSumTex, vec2(0.5)).xy; float prevGlobalSpeed = texture2D(globalSpeedPrevTex, vec2(0.5)).x; float globalSpeed = jitterTolerence * jitterTolerence * weightedSum.y / weightedSum.x; if (prevGlobalSpeed > 0.0) { globalSpeed = min(globalSpeed / prevGlobalSpeed, 1.5) * prevGlobalSpeed; } gl_FragColor = vec4(globalSpeed, 0.0, 0.0, 1.0); } @end @export ecgl.forceAtlas2.updatePosition uniform sampler2D forceTex; uniform sampler2D forcePrevTex; uniform sampler2D positionTex; uniform sampler2D globalSpeedTex; varying vec2 v_Texcoord; void main() { vec2 force = texture2D(forceTex, v_Texcoord).xy; vec2 forcePrev = texture2D(forcePrevTex, v_Texcoord).xy; vec4 node = texture2D(positionTex, v_Texcoord); float globalSpeed = texture2D(globalSpeedTex, vec2(0.5)).r; float swing = length(force - forcePrev); float speed = 0.1 * globalSpeed / (0.1 + globalSpeed * sqrt(swing)); float df = length(force); if (df > 0.0) { speed = min(df * speed, 10.0) / df; gl_FragColor = vec4(node.xy + speed * force, node.zw); } else { gl_FragColor = node; } } @end @export ecgl.forceAtlas2.edges.vertex uniform mat4 worldViewProjection : WORLDVIEWPROJECTION; attribute vec2 node; attribute vec4 a_Color : COLOR; varying vec4 v_Color; uniform sampler2D positionTex; void main() { gl_Position = worldViewProjection * vec4( texture2D(positionTex, node).xy, -10.0, 1.0 ); v_Color = a_Color; } @end @export ecgl.forceAtlas2.edges.fragment uniform vec4 color : [1.0, 1.0, 1.0, 1.0]; varying vec4 v_Color; void main() { gl_FragColor = color * v_Color; } @end`},function(k,P,_){"use strict";var B=_(5),C=_(6),p=_(250),m=p.a.toString();m=m.slice(m.indexOf("{")+1,m.lastIndexOf("}"));var E={barnesHutOptimize:!0,barnesHutTheta:1.5,repulsionByDegree:!0,linLogMode:!1,strongGravityMode:!1,gravity:1,scaling:1,edgeWeightInfluence:1,jitterTolerence:.1,preventOverlap:!1,dissuadeHubs:!1,gravityCenter:null},d=function(l){for(var o in E)this[o]=E[o];if(l)for(var o in l)this[o]=l[o];this._nodes=[],this._edges=[],this._disposed=!1,this._positionTex=new B.a({type:C.a.FLOAT,flipY:!1,minFilter:C.a.NEAREST,magFilter:C.a.NEAREST})};d.prototype.initData=function(l,o){var g=new Blob([m]),r=window.URL.createObjectURL(g);this._worker=new Worker(r),this._worker.onmessage=this._$onupdate.bind(this),this._nodes=l,this._edges=o,this._frame=0;for(var n=l.length,a=o.length,c=new Float32Array(n*2),u=new Float32Array(n),s=new Float32Array(n),v=new Float32Array(a*2),e=new Float32Array(a),t=0;t5e4?o.jitterTolerence=10:a>5e3?o.jitterTolerence=1:o.jitterTolerence=.1,a>100?o.scaling=2:o.scaling=10,a>1e3?o.barnesHutOptimize=!0:o.barnesHutOptimize=!1,l)for(var g in E)l[g]!=null&&(o[g]=l[g]);if(!o.gravityCenter){for(var c=[1/0,1/0],u=[-1/0,-1/0],s=0;sl},d.prototype.getNodePosition=function(l,o){if(o||(o=new Float32Array(this._nodes.length*2)),this._positionArr)for(var g=0;g0&&(u=1/Math.sqrt(u),r[0]=n[0]*u,r[1]=n[1]*u),r},negate:function(r,n){return r[0]=-n[0],r[1]=-n[1],r},copy:function(r,n){return r[0]=n[0],r[1]=n[1],r},set:function(r,n,a){return r[0]=n,r[1]=a,r}};function p(){this.subRegions=[],this.nSubRegions=0,this.node=null,this.mass=0,this.centerOfMass=null,this.bbox=new Float32Array(4),this.size=0}var m=p.prototype;m.beforeUpdate=function(){for(var r=0;r=r&&this.bbox[1]<=n&&this.bbox[3]>=n},m.setBBox=function(r,n,a,c){this.bbox[0]=r,this.bbox[1]=n,this.bbox[2]=a,this.bbox[3]=c,this.size=(a-r+c-n)/2},m._newSubRegion=function(){var r=this.subRegions[this.nSubRegions];return r||(r=new p,this.subRegions[this.nSubRegions]=r),this.nSubRegions++,r},m._addNodeToSubRegion=function(r){var n=this.findSubRegion(r.position[0],r.position[1]),a=this.bbox;if(!n){var c=(a[0]+a[2])/2,u=(a[1]+a[3])/2,s=(a[2]-a[0])/2,v=(a[3]-a[1])/2,e=r.position[0]>=c?1:0,t=r.position[1]>=u?1:0,n=this._newSubRegion();n.setBBox(e*s+a[0],t*v+a[1],(e+1)*s+a[0],(t+1)*v+a[1])}n.addNode(r)},m._updateCenterOfMass=function(r){this.centerOfMass==null&&(this.centerOfMass=new Float32Array(2));var n=this.centerOfMass[0]*this.mass,a=this.centerOfMass[1]*this.mass;n+=r.position[0]*r.mass,a+=r.position[1]*r.mass,this.mass+=r.mass,this.centerOfMass[0]=n/this.mass,this.centerOfMass[1]=a/this.mass};function E(){this.position=new Float32Array(2),this.force=C.create(),this.forcePrev=C.create(),this.mass=1,this.inDegree=0,this.outDegree=0}function d(r,n){this.source=r,this.target=n,this.weight=1}function l(){this.autoSettings=!0,this.barnesHutOptimize=!0,this.barnesHutTheta=1.5,this.repulsionByDegree=!0,this.linLogMode=!1,this.strongGravityMode=!1,this.gravity=1,this.scaling=1,this.edgeWeightInfluence=1,this.jitterTolerence=.1,this.preventOverlap=!1,this.dissuadeHubs=!1,this.rootRegion=new p,this.rootRegion.centerOfMass=C.create(),this.nodes=[],this.edges=[],this.bbox=new Float32Array(4),this.gravityCenter=null,this._massArr=null,this._swingingArr=null,this._sizeArr=null,this._globalSpeed=0}var o=l.prototype;o.initNodes=function(r,n,a){var c=n.length;this.nodes.length=0;for(var u=typeof a!="undefined",s=0;s0&&(this.strongGravityMode?this.applyNodeStrongGravity(c):this.applyNodeGravity(c))}for(var n=0;n0&&(y=Math.min(y/this._globalSpeed,1.5)*this._globalSpeed),this._globalSpeed=y;for(var n=0;n0&&(b=Math.min(x*b,10)/x,C.scaleAndAdd(a.position,a.position,a.force,b))}},o.applyRegionToNodeRepulsion=function(){var r=C.create();return function(a,c){if(a.node)this.applyNodeToNodeRepulsion(a.node,c,!0);else{C.sub(r,c.position,a.centerOfMass);var u=r[0]*r[0]+r[1]*r[1];if(u>this.barnesHutTheta*a.size*a.size){var s=this.scaling*c.mass*a.mass/u;C.scaleAndAdd(c.force,c.force,r,s)}else for(var v=0;v0)v=this.scaling*a.mass*c.mass/(e*e);else if(e<0)v=this.scaling*100*a.mass*c.mass;else return}else v=this.scaling*a.mass*c.mass/s;C.scaleAndAdd(a.force,a.force,r,v),C.scaleAndAdd(c.force,c.force,r,-v)}}}}(),o.applyEdgeAttraction=function(){var r=C.create();return function(a){var c=a.source,u=a.target;C.sub(r,c.position,u.position);var s=C.len(r),v;this.edgeWeightInfluence===0?v=1:this.edgeWeightInfluence===1?v=a.weight:v=Math.pow(a.weight,this.edgeWeightInfluence);var e;this.preventOverlap&&(s=s-c.size-u.size,s<=0)||(this.linLogMode?e=-v*Math.log(s+1)/(s+1):e=-v,C.scaleAndAdd(c.force,c.force,r,e),C.scaleAndAdd(u.force,u.force,r,-e))}}(),o.applyNodeGravity=function(){var r=C.create();return function(n){C.sub(r,this.gravityCenter,n.position);var a=C.len(r);C.scaleAndAdd(n.force,n.force,r,this.gravity*n.mass/(a+1))}}(),o.applyNodeStrongGravity=function(){var r=C.create();return function(n){C.sub(r,this.gravityCenter,n.position),C.scaleAndAdd(n.force,n.force,r,this.gravity*n.mass)}}(),o.updateBBox=function(){for(var r=1/0,n=1/0,a=-1/0,c=-1/0,u=0;u0?1.1:.9,g=Math.max(Math.min(this._zoom*o,this.maxZoom),this.minZoom);o=g/this._zoom;var r=this._convertPos(d,l),n=(r.x-this._dx)*(o-1),a=(r.y-this._dy)*(o-1);this._dx-=n,this._dy-=a,this._zoom=g,this._needsUpdate=!0}}},dispose:function(){var m=this.zr;m.off("mousedown",this._mouseDownHandler),m.off("mousemove",this._mouseMoveHandler),m.off("mouseup",this._mouseUpHandler),m.off("mousewheel",this._mouseWheelHandler),m.off("globalout",this._mouseUpHandler),m.animation.off("frame",this._update)}});P.a=p},function(k,P,_){"use strict";P.a=`@export ecgl.lines2D.vertex uniform mat4 worldViewProjection : WORLDVIEWPROJECTION; attribute vec2 position: POSITION; attribute vec4 a_Color : COLOR; varying vec4 v_Color; #ifdef POSITIONTEXTURE_ENABLED uniform sampler2D positionTexture; #endif void main() { gl_Position = worldViewProjection * vec4(position, -10.0, 1.0); v_Color = a_Color; } @end @export ecgl.lines2D.fragment uniform vec4 color : [1.0, 1.0, 1.0, 1.0]; varying vec4 v_Color; void main() { gl_FragColor = color * v_Color; } @end @export ecgl.meshLines2D.vertex attribute vec2 position: POSITION; attribute vec2 normal; attribute float offset; attribute vec4 a_Color : COLOR; uniform mat4 worldViewProjection : WORLDVIEWPROJECTION; uniform vec4 viewport : VIEWPORT; varying vec4 v_Color; varying float v_Miter; void main() { vec4 p2 = worldViewProjection * vec4(position + normal, -10.0, 1.0); gl_Position = worldViewProjection * vec4(position, -10.0, 1.0); p2.xy /= p2.w; gl_Position.xy /= gl_Position.w; vec2 N = normalize(p2.xy - gl_Position.xy); gl_Position.xy += N * offset / viewport.zw * 2.0; gl_Position.xy *= gl_Position.w; v_Color = a_Color; } @end @export ecgl.meshLines2D.fragment uniform vec4 color : [1.0, 1.0, 1.0, 1.0]; varying vec4 v_Color; varying float v_Miter; void main() { gl_FragColor = color * v_Color; } @end`},function(k,P,_){"use strict";var B=_(0),C=_.n(B),p=_(254),m=_(258)},function(k,P,_){"use strict";var B=_(0),C=_.n(B),p=_(2),m=_(3),E=_(20),d=_(255);C.a.extendChartView({type:"flowGL",__ecgl__:!0,init:function(l,o){this.viewGL=new E.a("orthographic"),this.groupGL=new p.a.Node,this.viewGL.add(this.groupGL),this._particleSurface=new d.a;var g=new p.a.Mesh({geometry:new p.a.PlaneGeometry,material:new p.a.Material({shader:new p.a.Shader({vertex:p.a.Shader.source("ecgl.color.vertex"),fragment:p.a.Shader.source("ecgl.color.fragment")}),transparent:!0})});g.material.enableTexture("diffuseMap"),this.groupGL.add(g),this._planeMesh=g},render:function(l,o,g){var r=this._particleSurface;r.setParticleType(l.get("particleType")),r.setSupersampling(l.get("supersampling")),this._updateData(l,g),this._updateCamera(g.getWidth(),g.getHeight(),g.getDevicePixelRatio());var n=m.a.firstNotNull(l.get("particleDensity"),128);r.setParticleDensity(n,n);var a=this._planeMesh,c=+new Date,u=this,s=!0;a.__percent=0,a.stopAnimation(),a.animate("",{loop:!0}).when(1e5,{__percent:1}).during(function(){var t=+new Date,i=Math.min(t-c,20);c=c+i,u._renderer&&(r.update(u._renderer,g,i/1e3,s),a.material.set("diffuseMap",r.getSurfaceTexture())),s=!1}).start();var v=l.getModel("itemStyle"),e=p.a.parseColor(v.get("color"));e[3]*=m.a.firstNotNull(v.get("opacity"),1),a.material.set("color",e),r.setColorTextureImage(l.get("colorTexture"),g),r.setParticleSize(l.get("particleSize")),r.particleSpeedScaling=l.get("particleSpeed"),r.motionBlurFactor=1-Math.pow(.1,l.get("particleTrail"))},updateTransform:function(l,o,g){this._updateData(l,g)},afterRender:function(l,o,g,r){var n=r.renderer;this._renderer=n},_updateData:function(l,o){var g=l.coordinateSystem,r=g.dimensions.map(function(w){return l.coordDimToDataDim(w)[0]}),n=l.getData(),a=n.getDataExtent(r[0]),c=n.getDataExtent(r[1]),u=l.get("gridWidth"),s=l.get("gridHeight");if(u==null||u==="auto"){var v=(a[1]-a[0])/(c[1]-c[0]);u=Math.round(Math.sqrt(v*n.count()))}(s==null||s==="auto")&&(s=Math.ceil(n.count()/u));var e=this._particleSurface.vectorFieldTexture,t=e.pixels;if(!t||t.length!==s*u*4)t=e.pixels=new Float32Array(u*s*4);else for(var i=0;i=359;u&&(n[0]>0&&(n[0]=0),a[0]0?s[s.length-1]:this._lastFrameTexture},setRegion:function(s){this._particlePass.setUniform("region",s)},resize:function(s,v){this._lastFrameTexture.width=s*this._supersampling,this._lastFrameTexture.height=v*this._supersampling,this._thisFrameTexture.width=s*this._supersampling,this._thisFrameTexture.height=v*this._supersampling,this._width=s,this._height=v},setParticleSize:function(s){var v=this._getParticleMesh();if(s<=2){v.material.disableTexture("spriteTexture"),v.material.transparent=!1;return}this._spriteTexture||(this._spriteTexture=new d.a),(!this._spriteTexture.image||this._spriteTexture.image.width!==s)&&(this._spriteTexture.image=c(s),this._spriteTexture.dirty()),v.material.transparent=!0,v.material.enableTexture("spriteTexture"),v.material.set("spriteTexture",this._spriteTexture),this._particleSize=s},setGradientTexture:function(s){var v=this._getParticleMesh().material;v[s?"enableTexture":"disableTexture"]("gradientTexture"),v.setUniform("gradientTexture",s)},setColorTextureImage:function(s,v){var e=this._getParticleMesh().material;e.setTextureImage("colorTexture",s,v,{flipY:!0})},setParticleType:function(s){this._particleType=s},clearFrame:function(s){var v=this._frameBuffer;v.attach(this._lastFrameTexture),v.bind(s),s.gl.clear(s.gl.DEPTH_BUFFER_BIT|s.gl.COLOR_BUFFER_BIT),v.unbind(s)},setSupersampling:function(s){this._supersampling=s,this.resize(this._width,this._height)},_updateDownsampleTextures:function(s,v){for(var e=this._downsampleTextures,t=Math.max(Math.floor(Math.log(this._supersampling/v.getDevicePixelRatio())/Math.log(2)),0),i=2,f=this._width*this._supersampling,y=this._height*this._supersampling,b=0;b65535?new Uint32Array(o*3):new Uint16Array(o*3))},addLine:function(E){var d=this._vertexOffset;this.attributes.position.set(d,[E[0],E[1],1]),this.attributes.position.set(d+1,[E[0],E[1],-1]),this.attributes.position.set(d+2,[E[0],E[1],2]),this.attributes.position.set(d+3,[E[0],E[1],-2]),this.setTriangleIndices(this._faceOffset++,[d,d+1,d+2]),this.setTriangleIndices(this._faceOffset++,[d+1,d+2,d+3]),this._vertexOffset+=4}});P.a=m},function(k,P,_){"use strict";P.a=`@export ecgl.vfParticle.particle.fragment uniform sampler2D particleTexture; uniform sampler2D spawnTexture; uniform sampler2D velocityTexture; uniform float deltaTime; uniform float elapsedTime; uniform float speedScaling : 1.0; uniform vec2 textureSize; uniform vec4 region : [0, 0, 1, 1]; uniform float firstFrameTime; varying vec2 v_Texcoord; void main() { vec4 p = texture2D(particleTexture, v_Texcoord); bool spawn = false; if (p.w <= 0.0) { p = texture2D(spawnTexture, fract(v_Texcoord + elapsedTime / 10.0)); p.w -= firstFrameTime; spawn = true; } vec2 v = texture2D(velocityTexture, fract(p.xy * region.zw + region.xy)).xy; v = (v - 0.5) * 2.0; p.z = length(v); p.xy += v * deltaTime / 10.0 * speedScaling; p.w -= deltaTime; if (spawn || p.xy != fract(p.xy)) { p.z = 0.0; } p.xy = fract(p.xy); gl_FragColor = p; } @end @export ecgl.vfParticle.renderPoints.vertex #define PI 3.1415926 attribute vec2 texcoord : TEXCOORD_0; uniform sampler2D particleTexture; uniform mat4 worldViewProjection : WORLDVIEWPROJECTION; uniform float size : 1.0; varying float v_Mag; varying vec2 v_Uv; void main() { vec4 p = texture2D(particleTexture, texcoord); if (p.w > 0.0 && p.z > 1e-5) { gl_Position = worldViewProjection * vec4(p.xy * 2.0 - 1.0, 0.0, 1.0); } else { gl_Position = vec4(100000.0, 100000.0, 100000.0, 1.0); } v_Mag = p.z; v_Uv = p.xy; gl_PointSize = size; } @end @export ecgl.vfParticle.renderPoints.fragment uniform vec4 color : [1.0, 1.0, 1.0, 1.0]; uniform sampler2D gradientTexture; uniform sampler2D colorTexture; uniform sampler2D spriteTexture; varying float v_Mag; varying vec2 v_Uv; void main() { gl_FragColor = color; #ifdef SPRITETEXTURE_ENABLED gl_FragColor *= texture2D(spriteTexture, gl_PointCoord); if (color.a == 0.0) { discard; } #endif #ifdef GRADIENTTEXTURE_ENABLED gl_FragColor *= texture2D(gradientTexture, vec2(v_Mag, 0.5)); #endif #ifdef COLORTEXTURE_ENABLED gl_FragColor *= texture2D(colorTexture, v_Uv); #endif } @end @export ecgl.vfParticle.renderLines.vertex #define PI 3.1415926 attribute vec3 position : POSITION; uniform sampler2D particleTexture; uniform sampler2D prevParticleTexture; uniform float size : 1.0; uniform vec4 vp: VIEWPORT; uniform mat4 worldViewProjection : WORLDVIEWPROJECTION; varying float v_Mag; varying vec2 v_Uv; @import clay.util.rand void main() { vec4 p = texture2D(particleTexture, position.xy); vec4 p2 = texture2D(prevParticleTexture, position.xy); p.xy = p.xy * 2.0 - 1.0; p2.xy = p2.xy * 2.0 - 1.0; if (p.w > 0.0 && p.z > 1e-5) { vec2 dir = normalize(p.xy - p2.xy); vec2 norm = vec2(dir.y / vp.z, -dir.x / vp.w) * sign(position.z) * size; if (abs(position.z) == 2.0) { gl_Position = vec4(p.xy + norm, 0.0, 1.0); v_Uv = p.xy; v_Mag = p.z; } else { gl_Position = vec4(p2.xy + norm, 0.0, 1.0); v_Mag = p2.z; v_Uv = p2.xy; } gl_Position = worldViewProjection * gl_Position; } else { gl_Position = vec4(100000.0, 100000.0, 100000.0, 1.0); } } @end @export ecgl.vfParticle.renderLines.fragment uniform vec4 color : [1.0, 1.0, 1.0, 1.0]; uniform sampler2D gradientTexture; uniform sampler2D colorTexture; varying float v_Mag; varying vec2 v_Uv; void main() { gl_FragColor = color; #ifdef GRADIENTTEXTURE_ENABLED gl_FragColor *= texture2D(gradientTexture, vec2(v_Mag, 0.5)); #endif #ifdef COLORTEXTURE_ENABLED gl_FragColor *= texture2D(colorTexture, v_Uv); #endif } @end `},function(k,P,_){"use strict";var B=_(0),C=_.n(B);C.a.extendSeriesModel({type:"series.flowGL",dependencies:["geo","grid","bmap"],visualColorAccessPath:"itemStyle.color",getInitialData:function(p,m){var E=C.a.getCoordinateSystemDimensions(this.get("coordinateSystem"))||["x","y"];if(E.length>2)throw new Error("flowGL can only be used on 2d coordinate systems.");E.push("vx","vy");var d=C.a.helper.completeDimensions(E,this.getSource(),{encodeDef:this.get("encode"),dimsDef:this.get("dimensions")}),l=new C.a.List(d,this);return l.initData(this.getSource()),l},defaultOption:{coordinateSystem:"cartesian2d",zlevel:10,supersampling:1,particleType:"point",particleDensity:128,particleSize:1,particleSpeed:1,particleTrail:2,colorTexture:null,gridWidth:"auto",gridHeight:"auto",itemStyle:{color:"#fff",opacity:.8}}})},function(k,P,_){"use strict";var B=_(0),C=_.n(B),p=_(260),m=_(261),E=_(16);C.a.registerVisual(Object(E.a)("linesGL"))},function(k,P,_){"use strict";var B=_(0),C=_.n(B),p=_(12),m=_.n(p),E=C.a.extendSeriesModel({type:"series.linesGL",dependencies:["grid","geo"],visualColorAccessPath:"lineStyle.color",streamEnabled:!0,init:function(d){var l=this._processFlatCoordsArray(d.data);this._flatCoords=l.flatCoords,this._flatCoordsOffset=l.flatCoordsOffset,l.flatCoords&&(d.data=new Float32Array(l.count)),E.superApply(this,"init",arguments)},mergeOption:function(d){var l=this._processFlatCoordsArray(d.data);this._flatCoords=l.flatCoords,this._flatCoordsOffset=l.flatCoordsOffset,l.flatCoords&&(d.data=new Float32Array(l.count)),E.superApply(this,"mergeOption",arguments)},appendData:function(d){var l=this._processFlatCoordsArray(d.data);l.flatCoords&&(this._flatCoords?(this._flatCoords=Object(p.concatArray)(this._flatCoords,l.flatCoords),this._flatCoordsOffset=Object(p.concatArray)(this._flatCoordsOffset,l.flatCoordsOffset)):(this._flatCoords=l.flatCoords,this._flatCoordsOffset=l.flatCoordsOffset),d.data=new Float32Array(l.count)),this.getRawData().appendData(d.data)},_getCoordsFromItemModel:function(d){var l=this.getData().getItemModel(d),o=l.option instanceof Array?l.option:l.getShallow("coords");if(!(o instanceof Array&&o.length>0&&o[0]instanceof Array))throw new Error("Invalid coords "+JSON.stringify(o)+". Lines must have 2d coords array in data item.");return o},getLineCoordsCount:function(d){return this._flatCoordsOffset?this._flatCoordsOffset[d*2+1]:this._getCoordsFromItemModel(d).length},getLineCoords:function(d,l){if(this._flatCoordsOffset){for(var o=this._flatCoordsOffset[d*2],g=this._flatCoordsOffset[d*2+1],r=0;ro)throw new Error("Invalid data format.")}}return{flatCoordsOffset:new Uint32Array(g.buffer,0,a),flatCoords:r,count:c}}return{flatCoordsOffset:null,flatCoords:null,count:d.length}},getInitialData:function(d,l){var o=new C.a.List(["value"],this);return o.hasItemOption=!1,o.initData(d.data,[],function(g,r,n,a){if(g instanceof Array)return NaN;o.hasItemOption=!0;var c=g.value;if(c!=null)return c instanceof Array?c[a]:c}),o},defaultOption:{coordinateSystem:"geo",zlevel:10,progressive:1e4,progressiveThreshold:5e4,blendMode:"source-over",lineStyle:{opacity:.8},postEffect:{enable:!1,colorCorrection:{exposure:0,brightness:0,contrast:1,saturation:1,enable:!0}}}})},function(k,P,_){"use strict";var B=_(0),C=_.n(B),p=_(2),m=_(20),E=_(86),d=_(84),l=_(3);C.a.extendChartView({type:"linesGL",__ecgl__:!0,init:function(o,g){this.groupGL=new p.a.Node,this.viewGL=new m.a("orthographic"),this.viewGL.add(this.groupGL),this._glViewHelper=new d.a(this.viewGL),this._nativeLinesShader=p.a.createShader("ecgl.lines3D"),this._meshLinesShader=p.a.createShader("ecgl.meshLines3D"),this._linesMeshes=[],this._currentStep=0},render:function(o,g,r){this.groupGL.removeAll(),this._glViewHelper.reset(o,r);var n=this._linesMeshes[0];n||(n=this._linesMeshes[0]=this._createLinesMesh(o)),this._linesMeshes.length=1,this.groupGL.add(n),this._updateLinesMesh(o,n,0,o.getData().count()),this.viewGL.setPostEffect(o.getModel("postEffect"),r)},incrementalPrepareRender:function(o,g,r){this.groupGL.removeAll(),this._glViewHelper.reset(o,r),this._currentStep=0,this.viewGL.setPostEffect(o.getModel("postEffect"),r)},incrementalRender:function(o,g,r,n){var a=this._linesMeshes[this._currentStep];a||(a=this._createLinesMesh(g),this._linesMeshes[this._currentStep]=a),this._updateLinesMesh(g,a,o.start,o.end),this.groupGL.add(a),n.getZr().refresh(),this._currentStep++},updateTransform:function(o,g,r){o.coordinateSystem.getRoamTransform&&this._glViewHelper.updateTransform(o,r)},_createLinesMesh:function(o){var g=new p.a.Mesh({$ignorePicking:!0,material:new p.a.Material({shader:p.a.createShader("ecgl.lines3D"),transparent:!0,depthMask:!1,depthTest:!1}),geometry:new E.a({segmentScale:10,useNativeLine:!0,dynamic:!1}),mode:p.a.Mesh.LINES,culling:!1});return g},_updateLinesMesh:function(o,g,r,n){var a=o.getData();g.material.blend=o.get("blendMode")==="lighter"?p.a.additiveBlend:null;var c=o.get("lineStyle.curveness")||0,u=o.get("polyline"),s=g.geometry,v=o.coordinateSystem,e=l.a.firstNotNull(o.get("lineStyle.width"),1);e>1?(g.material.shader!==this._meshLinesShader&&g.material.attachShader(this._meshLinesShader),g.mode=p.a.Mesh.TRIANGLES):(g.material.shader!==this._nativeLinesShader&&g.material.attachShader(this._nativeLinesShader),g.mode=p.a.Mesh.LINES),r=r||0,n=n||a.count(),s.resetOffset();var t=0,i=0,f=[],y=[],b=[],x=[],A=[],w=.3,L=.7;function D(){y[0]=f[0]*L+x[0]*w-(f[1]-x[1])*c,y[1]=f[1]*L+x[1]*w-(x[0]-f[0])*c,b[0]=f[0]*w+x[0]*L-(f[1]-x[1])*c,b[1]=f[1]*w+x[1]*L-(x[0]-f[0])*c}if(u||c!==0)for(var O=r;O0&&(y=e[0]),y instanceof Error)throw y;var b=new Error("Unhandled error."+(y?" ("+y.message+")":""));throw b.context=y,b}var x=f[v];if(x===void 0)return!1;if(typeof x=="function")M(x,this,e);else for(var A=x.length,w=g(x,A),t=0;t0&&y.length>i&&!y.warned){y.warned=!0;var b=new Error("Possible EventEmitter memory leak detected. "+y.length+" "+String(v)+" listeners added. Use emitter.setMaxListeners() to increase limit");b.name="MaxListenersExceededWarning",b.emitter=s,b.type=v,b.count=y.length,k(b)}return s}_.prototype.addListener=function(v,e){return m(this,v,e,!1)},_.prototype.on=_.prototype.addListener,_.prototype.prependListener=function(v,e){return m(this,v,e,!0)};function E(){if(!this.fired)return this.target.removeListener(this.type,this.wrapFn),this.fired=!0,arguments.length===0?this.listener.call(this.target):this.listener.apply(this.target,arguments)}function d(s,v,e){var t={fired:!1,wrapFn:void 0,target:s,type:v,listener:e},i=E.bind(t);return i.listener=e,t.wrapFn=i,i}_.prototype.once=function(v,e){return C(e),this.on(v,d(this,v,e)),this},_.prototype.prependOnceListener=function(v,e){return C(e),this.prependListener(v,d(this,v,e)),this},_.prototype.removeListener=function(v,e){var t,i,f,y,b;if(C(e),i=this._events,i===void 0)return this;if(t=i[v],t===void 0)return this;if(t===e||t.listener===e)--this._eventsCount===0?this._events=Object.create(null):(delete i[v],i.removeListener&&this.emit("removeListener",v,t.listener||e));else if(typeof t!="function"){for(f=-1,y=t.length-1;y>=0;y--)if(t[y]===e||t[y].listener===e){b=t[y].listener,f=y;break}if(f<0)return this;f===0?t.shift():r(t,f),t.length===1&&(i[v]=t[0]),i.removeListener!==void 0&&this.emit("removeListener",v,b||e)}return this},_.prototype.off=_.prototype.removeListener,_.prototype.removeAllListeners=function(v){var e,t,i;if(t=this._events,t===void 0)return this;if(t.removeListener===void 0)return arguments.length===0?(this._events=Object.create(null),this._eventsCount=0):t[v]!==void 0&&(--this._eventsCount===0?this._events=Object.create(null):delete t[v]),this;if(arguments.length===0){var f=Object.keys(t),y;for(i=0;i=0;i--)this.removeListener(v,e[i]);return this};function l(s,v,e){var t=s._events;if(t===void 0)return[];var i=t[v];return i===void 0?[]:typeof i=="function"?e?[i.listener||i]:[i]:e?n(i):g(i,i.length)}_.prototype.listeners=function(v){return l(this,v,!0)},_.prototype.rawListeners=function(v){return l(this,v,!1)},_.listenerCount=function(s,v){return typeof s.listenerCount=="function"?s.listenerCount(v):o.call(s,v)},_.prototype.listenerCount=o;function o(s){var v=this._events;if(v!==void 0){var e=v[s];if(typeof e=="function")return 1;if(e!==void 0)return e.length}return 0}_.prototype.eventNames=function(){return this._eventsCount>0?h(this._events):[]};function g(s,v){for(var e=new Array(v),t=0;t>>6)+m(128|O&63):m(224|O>>>12&15)+m(128|O>>>6&63)+m(128|O&63)}else{var O=65536+(D.charCodeAt(0)-55296)*1024+(D.charCodeAt(1)-56320);return m(240|O>>>18&7)+m(128|O>>>12&63)+m(128|O>>>6&63)+m(128|O&63)}},d=/[\uD800-\uDBFF][\uDC00-\uDFFFF]|[^\x00-\x7F]/g,l=function(D){return D.replace(d,E)},o=function(D){var O=[0,2,1][D.length%3],N=D.charCodeAt(0)<<16|(D.length>1?D.charCodeAt(1):0)<<8|(D.length>2?D.charCodeAt(2):0),I=[C.charAt(N>>>18),C.charAt(N>>>12&63),O>=2?"=":C.charAt(N>>>6&63),O>=1?"=":C.charAt(N&63)];return I.join("")},g=P.btoa&&typeof P.btoa=="function"?function(D){return P.btoa(D)}:function(D){if(D.match(/[^\x00-\xFF]/))throw new RangeError("The string contains invalid characters.");return D.replace(/[\s\S]{1,3}/g,o)},r=function(D){return g(l(String(D)))},n=function(D){return D.replace(/[+\/]/g,function(O){return O=="+"?"-":"_"}).replace(/=/g,"")},a=function(D,O){return O?n(r(D)):r(D)},c=function(D){return a(D,!0)},u;P.Uint8Array&&(u=function(D,O){for(var N="",I=0,K=D.length;I>>18)+C.charAt(X>>>12&63)+(typeof W!="undefined"?C.charAt(X>>>6&63):"=")+(typeof j!="undefined"?C.charAt(X&63):"=")}return O?n(N):N});var s=/[\xC0-\xDF][\x80-\xBF]|[\xE0-\xEF][\x80-\xBF]{2}|[\xF0-\xF7][\x80-\xBF]{3}/g,v=function(D){switch(D.length){case 4:var O=(7&D.charCodeAt(0))<<18|(63&D.charCodeAt(1))<<12|(63&D.charCodeAt(2))<<6|63&D.charCodeAt(3),N=O-65536;return m((N>>>10)+55296)+m((N&1023)+56320);case 3:return m((15&D.charCodeAt(0))<<12|(63&D.charCodeAt(1))<<6|63&D.charCodeAt(2));default:return m((31&D.charCodeAt(0))<<6|63&D.charCodeAt(1))}},e=function(D){return D.replace(s,v)},t=function(D){var O=D.length,N=O%4,I=(O>0?p[D.charAt(0)]<<18:0)|(O>1?p[D.charAt(1)]<<12:0)|(O>2?p[D.charAt(2)]<<6:0)|(O>3?p[D.charAt(3)]:0),K=[m(I>>>16),m(I>>>8&255),m(I&255)];return K.length-=[0,0,2,1][N],K.join("")},i=P.atob&&typeof P.atob=="function"?function(D){return P.atob(D)}:function(D){return D.replace(/\S{1,4}/g,t)},f=function(D){return i(String(D).replace(/[^A-Za-z0-9\+\/]/g,""))},y=function(D){return e(i(D))},b=function(D){return String(D).replace(/[-_]/g,function(O){return O=="-"?"+":"/"}).replace(/[^A-Za-z0-9\+\/]/g,"")},x=function(D){return y(b(D))},A;P.Uint8Array&&(A=function(D){return Uint8Array.from(f(b(D)),function(O){return O.charCodeAt(0)})});var w=function(){var D=P.Base64;return P.Base64=_,D};if(P.Base64={VERSION:B,atob:f,btoa:g,fromBase64:x,toBase64:a,utob:l,encode:a,encodeURI:c,btou:e,decode:x,noConflict:w,fromUint8Array:u,toUint8Array:A},typeof Object.defineProperty=="function"){var L=function(D){return{value:D,enumerable:!1,writable:!0,configurable:!0}};P.Base64.extendString=function(){Object.defineProperty(String.prototype,"fromBase64",L(function(){return x(this)})),Object.defineProperty(String.prototype,"toBase64",L(function(D){return a(this,D)})),Object.defineProperty(String.prototype,"toBase64URI",L(function(){return a(this,!0)}))}}return P.Meteor&&(Base64=P.Base64),Ln.exports?Ln.exports.Base64=P.Base64:(h=[],k=function(){return P.Base64}.apply(pt,h),k!==void 0&&(Ln.exports=k)),{Base64:P.Base64}})},6551:function(Ln,pt,M){"use strict";M.d(pt,{ZP:function(){return p}});var h=M(42978),k=M(59301),P=M(47273),_=0,B=(0,P.Z)();function C(){var m;return B?(m=_,_+=1):m="TEST_OR_SSR",m}function p(m){var E=k.useState(),d=(0,h.Z)(E,2),l=d[0],o=d[1];return k.useEffect(function(){o("rc_select_".concat(C()))},[]),m||l}},37463:function(Ln,pt,M){"use strict";M.d(pt,{Ac:function(){return qe},Xo:function(){return Ke},Wx:function(){return Ye},ZP:function(){return Gt},lk:function(){return v}});var h=M(54476),k=M(94480),P=M(20068),_=M(33885),B=M(42978),C=M(75931),p=M(76190),m=M(18929),E=M(48736),d=M(59301),l=M(92310),o=M.n(l),g=M(34280),r=M(49658),n=M(8654),a=function(Ne){var Ee=Ne.className,Le=Ne.customizeIcon,Pe=Ne.customizeIconProps,We=Ne.children,he=Ne.onMouseDown,Ve=Ne.onClick,tt=typeof Le=="function"?Le(Pe):Le;return d.createElement("span",{className:Ee,onMouseDown:function(ye){ye.preventDefault(),he==null||he(ye)},style:{userSelect:"none",WebkitUserSelect:"none"},unselectable:"on",onClick:Ve,"aria-hidden":!0},tt!==void 0?tt:d.createElement("span",{className:o()(Ee.split(/\s+/).map(function(me){return"".concat(me,"-icon")}))},We))},c=a,u=function(Ne,Ee,Le,Pe,We){var he=arguments.length>5&&arguments[5]!==void 0?arguments[5]:!1,Ve=arguments.length>6?arguments[6]:void 0,tt=arguments.length>7?arguments[7]:void 0,me=d.useMemo(function(){if((0,p.Z)(Pe)==="object")return Pe.clearIcon;if(We)return We},[Pe,We]),ye=d.useMemo(function(){return!!(!he&&Pe&&(Le.length||Ve)&&!(tt==="combobox"&&Ve===""))},[Pe,he,Le.length,Ve,tt]);return{allowClear:ye,clearIcon:d.createElement(c,{className:"".concat(Ne,"-clear"),onMouseDown:Ee,customizeIcon:me},"\xD7")}},s=d.createContext(null);function v(){return d.useContext(s)}function e(){var je=arguments.length>0&&arguments[0]!==void 0?arguments[0]:10,Ne=d.useState(!1),Ee=(0,B.Z)(Ne,2),Le=Ee[0],Pe=Ee[1],We=d.useRef(null),he=function(){window.clearTimeout(We.current)};d.useEffect(function(){return he},[]);var Ve=function(me,ye){he(),We.current=window.setTimeout(function(){Pe(me),ye&&ye()},je)};return[Le,Ve,he]}function t(){var je=arguments.length>0&&arguments[0]!==void 0?arguments[0]:250,Ne=d.useRef(null),Ee=d.useRef(null);d.useEffect(function(){return function(){window.clearTimeout(Ee.current)}},[]);function Le(Pe){(Pe||Ne.current===null)&&(Ne.current=Pe),window.clearTimeout(Ee.current),Ee.current=window.setTimeout(function(){Ne.current=null},je)}return[function(){return Ne.current},Le]}function i(je,Ne,Ee,Le){var Pe=d.useRef(null);Pe.current={open:Ne,triggerOpen:Ee,customizedTrigger:Le},d.useEffect(function(){function We(he){var Ve;if(!((Ve=Pe.current)!==null&&Ve!==void 0&&Ve.customizedTrigger)){var tt=he.target;tt.shadowRoot&&he.composed&&(tt=he.composedPath()[0]||tt),Pe.current.open&&je().filter(function(me){return me}).every(function(me){return!me.contains(tt)&&me!==tt})&&Pe.current.triggerOpen(!1)}}return window.addEventListener("mousedown",We),function(){return window.removeEventListener("mousedown",We)}},[])}var f=M(10228);function y(je){return je&&![f.Z.ESC,f.Z.SHIFT,f.Z.BACKSPACE,f.Z.TAB,f.Z.WIN_KEY,f.Z.ALT,f.Z.META,f.Z.WIN_KEY_RIGHT,f.Z.CTRL,f.Z.SEMICOLON,f.Z.EQUALS,f.Z.CAPS_LOCK,f.Z.CONTEXT_MENU,f.Z.F1,f.Z.F2,f.Z.F3,f.Z.F4,f.Z.F5,f.Z.F6,f.Z.F7,f.Z.F8,f.Z.F9,f.Z.F10,f.Z.F11,f.Z.F12].includes(je)}var b=M(26112),x=M(83836);function A(je,Ne,Ee){var Le=(0,_.Z)((0,_.Z)({},je),Ee?Ne:{});return Object.keys(Ne).forEach(function(Pe){var We=Ne[Pe];typeof We=="function"&&(Le[Pe]=function(){for(var he,Ve=arguments.length,tt=new Array(Ve),me=0;mewn&&(Tt="".concat(Ct.slice(0,wn),"..."))}var Cn=function(it){it&&it.stopPropagation(),Lt(Vn)};return typeof fn=="function"?rr(yr,Tt,gr,et,Cn):$r(Vn,Tt,gr,et,Cn)},Nn=function(Vn){if(!Pe.length)return null;var gr=typeof nn=="function"?nn(Vn):nn;return typeof fn=="function"?rr(void 0,gr,!1,!1,void 0,!0):$r({title:gr},gr,!1)},Ft=d.createElement("div",{className:"".concat(Ir,"-search"),style:{width:nr},onFocus:function(){Xr(!0)},onBlur:function(){Xr(!1)}},d.createElement(N,{ref:tt,open:We,prefixCls:Le,id:Ee,inputElement:null,disabled:ye,autoFocus:De,autoComplete:ct,editable:Fr,activeDescendantId:At,value:Hr,onKeyDown:bn,onMouseDown:Wn,onChange:Mn,onPaste:Zn,onCompositionStart:qn,onCompositionEnd:Cr,onBlur:ur,tabIndex:Pt,attrs:(0,b.Z)(Ne,!0)}),d.createElement("span",{ref:Bn,className:"".concat(Ir,"-search-mirror"),"aria-hidden":!0},Hr,"\xA0")),hn=d.createElement(x.Z,{prefixCls:"".concat(Ir,"-overflow"),data:Pe,renderItem:tr,renderRest:Nn,suffix:Ft,itemKey:J,maxCount:sn});return d.createElement("span",{className:"".concat(Ir,"-wrap")},hn,!Pe.length&&!Hr&&d.createElement("span",{className:"".concat(Ir,"-placeholder")},me))},be=Ce,Ae=function(Ne){var Ee=Ne.inputElement,Le=Ne.prefixCls,Pe=Ne.id,We=Ne.inputRef,he=Ne.disabled,Ve=Ne.autoFocus,tt=Ne.autoComplete,me=Ne.activeDescendantId,ye=Ne.mode,_e=Ne.open,ke=Ne.values,De=Ne.placeholder,ct=Ne.tabIndex,At=Ne.showSearch,Pt=Ne.searchValue,Yt=Ne.activeValue,sn=Ne.maxLength,wn=Ne.onInputKeyDown,En=Ne.onInputMouseDown,nn=Ne.onInputChange,fn=Ne.onInputPaste,pn=Ne.onInputCompositionStart,Lt=Ne.onInputCompositionEnd,Mn=Ne.onInputBlur,Zn=Ne.title,bn=d.useState(!1),Wn=(0,B.Z)(bn,2),qn=Wn[0],Cr=Wn[1],ur=ye==="combobox",Bn=ur||At,ar=ke[0],pr=Pt||"";ur&&Yt&&!qn&&(pr=Yt),d.useEffect(function(){ur&&Cr(!1)},[ur,Yt]);var nr=ye!=="combobox"&&!_e&&!At?!1:!!pr,er=Zn===void 0?Y(ar):Zn,Yn=d.useMemo(function(){return ar?null:d.createElement("span",{className:"".concat(Le,"-selection-placeholder"),style:nr?{visibility:"hidden"}:void 0},De)},[ar,nr,De,Le]);return d.createElement("span",{className:"".concat(Le,"-selection-wrap")},d.createElement("span",{className:"".concat(Le,"-selection-search")},d.createElement(N,{ref:We,prefixCls:Le,id:Pe,open:_e,inputElement:Ee,disabled:he,autoFocus:Ve,autoComplete:tt,editable:Bn,activeDescendantId:me,value:pr,onKeyDown:wn,onMouseDown:En,onChange:function(Pr){Cr(!0),nn(Pr)},onPaste:fn,onCompositionStart:pn,onCompositionEnd:Lt,onBlur:Mn,tabIndex:ct,attrs:(0,b.Z)(Ne,!0),maxLength:ur?sn:void 0})),!ur&&ar?d.createElement("span",{className:"".concat(Le,"-selection-item"),title:er,style:nr?{visibility:"hidden"}:void 0},ar.label):null,Yn)},Ue=Ae,we=function(Ne,Ee){var Le=(0,d.useRef)(null),Pe=(0,d.useRef)(!1),We=Ne.prefixCls,he=Ne.open,Ve=Ne.mode,tt=Ne.showSearch,me=Ne.tokenWithEnter,ye=Ne.disabled,_e=Ne.prefix,ke=Ne.autoClearSearchValue,De=Ne.onSearch,ct=Ne.onSearchSubmit,At=Ne.onToggleOpen,Pt=Ne.onInputKeyDown,Yt=Ne.onInputBlur,sn=Ne.domRef;d.useImperativeHandle(Ee,function(){return{focus:function(er){Le.current.focus(er)},blur:function(){Le.current.blur()}}});var wn=t(0),En=(0,B.Z)(wn,2),nn=En[0],fn=En[1],pn=function(er){var Yn=er.which,St=Le.current instanceof HTMLTextAreaElement;!St&&he&&(Yn===f.Z.UP||Yn===f.Z.DOWN)&&er.preventDefault(),Pt&&Pt(er),Yn===f.Z.ENTER&&Ve==="tags"&&!Pe.current&&!he&&(ct==null||ct(er.target.value)),!(St&&!he&&~[f.Z.UP,f.Z.DOWN,f.Z.LEFT,f.Z.RIGHT].indexOf(Yn))&&y(Yn)&&At(!0)},Lt=function(){fn(!0)},Mn=(0,d.useRef)(null),Zn=function(er){De(er,!0,Pe.current)!==!1&&At(!0)},bn=function(){Pe.current=!0},Wn=function(er){Pe.current=!1,Ve!=="combobox"&&Zn(er.target.value)},qn=function(er){var Yn=er.target.value;if(me&&Mn.current&&/[\r\n]/.test(Mn.current)){var St=Mn.current.replace(/[\r\n]+$/,"").replace(/\r\n/g," ").replace(/[\r\n]/g," ");Yn=Yn.replace(St,Mn.current)}Mn.current=null,Zn(Yn)},Cr=function(er){var Yn=er.clipboardData,St=Yn==null?void 0:Yn.getData("text");Mn.current=St||""},ur=function(er){var Yn=er.target;if(Yn!==Le.current){var St=document.body.style.msTouchAction!==void 0;St?setTimeout(function(){Le.current.focus()}):Le.current.focus()}},Bn=function(er){var Yn=nn();er.target!==Le.current&&!Yn&&!(Ve==="combobox"&&ye)&&er.preventDefault(),(Ve!=="combobox"&&(!tt||!Yn)||!he)&&(he&&ke!==!1&&De("",!0,!1),At())},ar={inputRef:Le,onInputKeyDown:pn,onInputMouseDown:Lt,onInputChange:qn,onInputPaste:Cr,onInputCompositionStart:bn,onInputCompositionEnd:Wn,onInputBlur:Yt},pr=Ve==="multiple"||Ve==="tags"?d.createElement(be,(0,h.Z)({},Ne,ar)):d.createElement(Ue,(0,h.Z)({},Ne,ar));return d.createElement("div",{ref:sn,className:"".concat(We,"-selector"),onClick:ur,onMouseDown:Bn},_e&&d.createElement("div",{className:"".concat(We,"-prefix")},_e),pr)},$e=d.forwardRef(we),Re=$e,ge=M(65030),Ze=["prefixCls","disabled","visible","children","popupElement","animation","transitionName","dropdownStyle","dropdownClassName","direction","placement","builtinPlacements","dropdownMatchSelectWidth","dropdownRender","dropdownAlign","getPopupContainer","empty","getTriggerDOMNode","onPopupVisibleChange","onPopupMouseEnter"],Fe=function(Ne){var Ee=Ne===!0?0:1;return{bottomLeft:{points:["tl","bl"],offset:[0,4],overflow:{adjustX:Ee,adjustY:1},htmlRegion:"scroll"},bottomRight:{points:["tr","br"],offset:[0,4],overflow:{adjustX:Ee,adjustY:1},htmlRegion:"scroll"},topLeft:{points:["bl","tl"],offset:[0,-4],overflow:{adjustX:Ee,adjustY:1},htmlRegion:"scroll"},topRight:{points:["br","tr"],offset:[0,-4],overflow:{adjustX:Ee,adjustY:1},htmlRegion:"scroll"}}},Te=function(Ne,Ee){var Le=Ne.prefixCls,Pe=Ne.disabled,We=Ne.visible,he=Ne.children,Ve=Ne.popupElement,tt=Ne.animation,me=Ne.transitionName,ye=Ne.dropdownStyle,_e=Ne.dropdownClassName,ke=Ne.direction,De=ke===void 0?"ltr":ke,ct=Ne.placement,At=Ne.builtinPlacements,Pt=Ne.dropdownMatchSelectWidth,Yt=Ne.dropdownRender,sn=Ne.dropdownAlign,wn=Ne.getPopupContainer,En=Ne.empty,nn=Ne.getTriggerDOMNode,fn=Ne.onPopupVisibleChange,pn=Ne.onPopupMouseEnter,Lt=(0,C.Z)(Ne,Ze),Mn="".concat(Le,"-dropdown"),Zn=Ve;Yt&&(Zn=Yt(Ve));var bn=d.useMemo(function(){return At||Fe(Pt)},[At,Pt]),Wn=tt?"".concat(Mn,"-").concat(tt):me,qn=typeof Pt=="number",Cr=d.useMemo(function(){return qn?null:Pt===!1?"minWidth":"width"},[Pt,qn]),ur=ye;qn&&(ur=(0,_.Z)((0,_.Z)({},ur),{},{width:Pt}));var Bn=d.useRef(null);return d.useImperativeHandle(Ee,function(){return{getPopupElement:function(){var pr;return(pr=Bn.current)===null||pr===void 0?void 0:pr.popupElement}}}),d.createElement(ge.Z,(0,h.Z)({},Lt,{showAction:fn?["click"]:[],hideAction:fn?["click"]:[],popupPlacement:ct||(De==="rtl"?"bottomRight":"bottomLeft"),builtinPlacements:bn,prefixCls:Mn,popupTransitionName:Wn,popup:d.createElement("div",{onMouseEnter:pn},Zn),ref:Bn,stretch:Cr,popupAlign:sn,popupVisible:We,getPopupContainer:wn,popupClassName:o()(_e,(0,P.Z)({},"".concat(Mn,"-empty"),En)),popupStyle:ur,getTriggerDOMNode:nn,onPopupVisibleChange:fn}),he)},Ge=d.forwardRef(Te),Be=Ge,V=M(66712);function q(je,Ne){var Ee=je.key,Le;return"value"in je&&(Le=je.value),Ee!=null?Ee:Le!==void 0?Le:"rc-index-key-".concat(Ne)}function re(je){return typeof je!="undefined"&&!Number.isNaN(je)}function ee(je,Ne){var Ee=je||{},Le=Ee.label,Pe=Ee.value,We=Ee.options,he=Ee.groupLabel,Ve=Le||(Ne?"children":"label");return{label:Ve,value:Pe||"value",options:We||"options",groupLabel:he||Ve}}function oe(je){var Ne=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},Ee=Ne.fieldNames,Le=Ne.childrenAsData,Pe=[],We=ee(Ee,!1),he=We.label,Ve=We.value,tt=We.options,me=We.groupLabel;function ye(_e,ke){Array.isArray(_e)&&_e.forEach(function(De){if(ke||!(tt in De)){var ct=De[Ve];Pe.push({key:q(De,Pe.length),groupOption:ke,data:De,label:De[he],value:ct})}else{var At=De[me];At===void 0&&Le&&(At=De.label),Pe.push({key:q(De,Pe.length),group:!0,data:De,label:At}),ye(De[tt],!0)}})}return ye(je,!1),Pe}function $(je){var Ne=(0,_.Z)({},je);return"props"in Ne||Object.defineProperty(Ne,"props",{get:function(){return(0,E.ZP)(!1,"Return type is option instead of Option instance. Please read value directly instead of reading from `props`."),Ne}}),Ne}var fe=function(Ne,Ee,Le){if(!Ee||!Ee.length)return null;var Pe=!1,We=function Ve(tt,me){var ye=(0,V.Z)(me),_e=ye[0],ke=ye.slice(1);if(!_e)return[tt];var De=tt.split(_e);return Pe=Pe||De.length>1,De.reduce(function(ct,At){return[].concat((0,k.Z)(ct),(0,k.Z)(Ve(At,ke)))},[]).filter(Boolean)},he=We(Ne,Ee);return Pe?typeof Le!="undefined"?he.slice(0,Le):he:null},xe=d.createContext(null),ne=xe;function de(je){var Ne=je.visible,Ee=je.values;if(!Ne)return null;var Le=50;return d.createElement("span",{"aria-live":"polite",style:{width:0,height:0,position:"absolute",overflow:"hidden",opacity:0}},"".concat(Ee.slice(0,Le).map(function(Pe){var We=Pe.label,he=Pe.value;return["number","string"].includes((0,p.Z)(We))?We:he}).join(", ")),Ee.length>Le?", ...":null)}var ut=["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"],Je=["value","onChange","removeIcon","placeholder","autoFocus","maxTagCount","maxTagTextLength","maxTagPlaceholder","choiceTransitionName","onInputKeyDown","onPopupScroll","tabIndex"],ht=function(Ne){return Ne==="tags"||Ne==="multiple"},vt=d.forwardRef(function(je,Ne){var Ee,Le=je.id,Pe=je.prefixCls,We=je.className,he=je.showSearch,Ve=je.tagRender,tt=je.direction,me=je.omitDomProps,ye=je.displayValues,_e=je.onDisplayValuesChange,ke=je.emptyOptions,De=je.notFoundContent,ct=De===void 0?"Not Found":De,At=je.onClear,Pt=je.mode,Yt=je.disabled,sn=je.loading,wn=je.getInputElement,En=je.getRawInputElement,nn=je.open,fn=je.defaultOpen,pn=je.onDropdownVisibleChange,Lt=je.activeValue,Mn=je.onActiveValueChange,Zn=je.activeDescendantId,bn=je.searchValue,Wn=je.autoClearSearchValue,qn=je.onSearch,Cr=je.onSearchSplit,ur=je.tokenSeparators,Bn=je.allowClear,ar=je.prefix,pr=je.suffixIcon,nr=je.clearIcon,er=je.OptionList,Yn=je.animation,St=je.transitionName,Pr=je.dropdownStyle,Xr=je.dropdownClassName,Ir=je.dropdownMatchSelectWidth,Hr=je.dropdownRender,Fr=je.dropdownAlign,$r=je.placement,rr=je.builtinPlacements,tr=je.getPopupContainer,Nn=je.showAction,Ft=Nn===void 0?[]:Nn,hn=je.onFocus,Gn=je.onBlur,Vn=je.onKeyUp,gr=je.onKeyDown,Mr=je.onMouseDown,yr=(0,C.Z)(je,ut),et=ht(Pt),Tt=(he!==void 0?he:et)||Pt==="combobox",Ct=(0,_.Z)({},yr);Je.forEach(function(Zr){delete Ct[Zr]}),me==null||me.forEach(function(Zr){delete Ct[Zr]});var Cn=d.useState(!1),cr=(0,B.Z)(Cn,2),it=cr[0],Tr=cr[1];d.useEffect(function(){Tr((0,r.Z)())},[]);var Dn=d.useRef(null),un=d.useRef(null),Un=d.useRef(null),vr=d.useRef(null),On=d.useRef(null),hr=d.useRef(!1),An=e(),Or=(0,B.Z)(An,3),or=Or[0],Rr=Or[1],sr=Or[2];d.useImperativeHandle(Ne,function(){var Zr,wr;return{focus:(Zr=vr.current)===null||Zr===void 0?void 0:Zr.focus,blur:(wr=vr.current)===null||wr===void 0?void 0:wr.blur,scrollTo:function(Ma){var Aa;return(Aa=On.current)===null||Aa===void 0?void 0:Aa.scrollTo(Ma)},nativeElement:Dn.current||un.current}});var $n=d.useMemo(function(){var Zr;if(Pt!=="combobox")return bn;var wr=(Zr=ye[0])===null||Zr===void 0?void 0:Zr.value;return typeof wr=="string"||typeof wr=="number"?String(wr):""},[bn,Pt,ye]),Dr=Pt==="combobox"&&typeof wn=="function"&&wn()||null,xr=typeof En=="function"&&En(),dr=(0,n.x1)(un,xr==null||(Ee=xr.props)===null||Ee===void 0?void 0:Ee.ref),kr=d.useState(!1),ta=(0,B.Z)(kr,2),Ar=ta[0],Xn=ta[1];(0,g.Z)(function(){Xn(!0)},[]);var aa=(0,m.Z)(!1,{defaultValue:fn,value:nn}),oa=(0,B.Z)(aa,2),la=oa[0],va=oa[1],Lr=Ar?la:!1,ma=!ct&&ke;(Yt||ma&&Lr&&Pt==="combobox")&&(Lr=!1);var Ca=ma?!1:Lr,Ur=d.useCallback(function(Zr){var wr=Zr!==void 0?Zr:!Lr;Yt||(va(wr),Lr!==wr&&(pn==null||pn(wr)))},[Yt,Lr,va,pn]),kn=d.useMemo(function(){return(ur||[]).some(function(Zr){return[` `,`\r `].includes(Zr)})},[ur]),Qn=d.useContext(ne)||{},jn=Qn.maxCount,lr=Qn.rawValues,Rt=function(wr,Ya,Ma){if(!(et&&re(jn)&&(lr==null?void 0:lr.size)>=jn)){var Aa=!0,qa=wr;Mn==null||Mn(null);var Qa=fe(wr,ur,re(jn)?jn-lr.size:void 0),ka=Ma?null:Qa;return Pt!=="combobox"&&ka&&(qa="",Cr==null||Cr(ka),Ur(!1),Aa=!1),qn&&$n!==qa&&qn(qa,{source:Ya?"typing":"effect"}),Aa}},Yr=function(wr){!wr||!wr.trim()||qn(wr,{source:"submit"})};d.useEffect(function(){!Lr&&!et&&Pt!=="combobox"&&Rt("",!1,!1)},[Lr]),d.useEffect(function(){la&&Yt&&va(!1),Yt&&!hr.current&&Rr(!1)},[Yt]);var fa=t(),da=(0,B.Z)(fa,2),ea=da[0],Hn=da[1],jr=d.useRef(!1),sa=function(wr){var Ya=ea(),Ma=wr.key,Aa=Ma==="Enter";if(Aa&&(Pt!=="combobox"&&wr.preventDefault(),Lr||Ur(!0)),Hn(!!$n),Ma==="Backspace"&&!Ya&&et&&!$n&&ye.length){for(var qa=(0,k.Z)(ye),Qa=null,ka=qa.length-1;ka>=0;ka-=1){var _i=qa[ka];if(!_i.disabled){qa.splice(ka,1),Qa=_i;break}}Qa&&_e(qa,{type:"remove",values:[Qa]})}for(var Sa=arguments.length,hi=new Array(Sa>1?Sa-1:0),Ii=1;Ii1?Ya-1:0),Aa=1;Aa1?Qa-1:0),_i=1;_i=ct},[Ve,ct,En==null?void 0:En.size]),ur=function(Ft){Ft.preventDefault()},Bn=function(Ft){var hn;(hn=qn.current)===null||hn===void 0||hn.scrollTo(typeof Ft=="number"?{index:Ft}:Ft)},ar=d.useCallback(function(Nn){return tt==="combobox"?!1:En.has(Nn)},[tt,(0,k.Z)(En).toString(),En.size]),pr=function(Ft){for(var hn=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1,Gn=Wn.length,Vn=0;Vn1&&arguments[1]!==void 0?arguments[1]:!1;St(Ft);var Gn={source:hn?"keyboard":"mouse"},Vn=Wn[Ft];if(!Vn){Pt(null,-1,Gn);return}Pt(Vn.value,Ft,Gn)};(0,d.useEffect)(function(){Pr(Yt!==!1?pr(0):-1)},[Wn.length,me]);var Xr=d.useCallback(function(Nn){return tt==="combobox"?String(Nn).toLowerCase()===me.toLowerCase():En.has(Nn)},[tt,me,(0,k.Z)(En).toString(),En.size]);(0,d.useEffect)(function(){var Nn=setTimeout(function(){if(!Ve&&he&&En.size===1){var hn=Array.from(En)[0],Gn=Wn.findIndex(function(Vn){var gr=Vn.data;return me?String(gr.value).startsWith(me):gr.value===hn});Gn!==-1&&(Pr(Gn),Bn(Gn))}});if(he){var Ft;(Ft=qn.current)===null||Ft===void 0||Ft.scrollTo(void 0)}return function(){return clearTimeout(Nn)}},[he,me]);var Ir=function(Ft){Ft!==void 0&&sn(Ft,{selected:!En.has(Ft)}),Ve||ye(!1)};if(d.useImperativeHandle(Ee,function(){return{onKeyDown:function(Ft){var hn=Ft.which,Gn=Ft.ctrlKey;switch(hn){case f.Z.N:case f.Z.P:case f.Z.UP:case f.Z.DOWN:{var Vn=0;if(hn===f.Z.UP?Vn=-1:hn===f.Z.DOWN?Vn=1:cn()&&Gn&&(hn===f.Z.N?Vn=1:hn===f.Z.P&&(Vn=-1)),Vn!==0){var gr=pr(Yn+Vn,Vn);Bn(gr),Pr(gr,!0)}break}case f.Z.TAB:case f.Z.ENTER:{var Mr,yr=Wn[Yn];yr&&!(yr!=null&&(Mr=yr.data)!==null&&Mr!==void 0&&Mr.disabled)&&!Cr?Ir(yr.value):Ir(void 0),he&&Ft.preventDefault();break}case f.Z.ESC:ye(!1),he&&Ft.stopPropagation()}},onKeyUp:function(){},scrollTo:function(Ft){Bn(Ft)}}}),Wn.length===0)return d.createElement("div",{role:"listbox",id:"".concat(We,"_list"),className:"".concat(bn,"-empty"),onMouseDown:ur},_e);var Hr=Object.keys(nn).map(function(Nn){return nn[Nn]}),Fr=function(Ft){return Ft.label};function $r(Nn,Ft){var hn=Nn.group;return{role:hn?"presentation":"option",id:"".concat(We,"_list_").concat(Ft)}}var rr=function(Ft){var hn=Wn[Ft];if(!hn)return null;var Gn=hn.data||{},Vn=Gn.value,gr=hn.group,Mr=(0,b.Z)(Gn,!0),yr=Fr(hn);return hn?d.createElement("div",(0,h.Z)({"aria-label":typeof yr=="string"&&!gr?yr:null},Mr,{key:Ft},$r(hn,Ft),{"aria-selected":Xr(Vn)}),Vn):null},tr={role:"listbox",id:"".concat(We,"_list")};return d.createElement(d.Fragment,null,fn&&d.createElement("div",(0,h.Z)({},tr,{style:{height:0,width:0,overflow:"hidden"}}),rr(Yn-1),rr(Yn),rr(Yn+1)),d.createElement(Et.Z,{itemKey:"key",ref:qn,data:Wn,height:Lt,itemHeight:Mn,fullHeight:!1,onMouseDown:ur,onScroll:ke,virtual:fn,direction:pn,innerProps:fn?null:tr},function(Nn,Ft){var hn=Nn.group,Gn=Nn.groupOption,Vn=Nn.data,gr=Nn.label,Mr=Nn.value,yr=Vn.key;if(hn){var et,Tt=(et=Vn.title)!==null&&et!==void 0?et:zt(gr)?gr.toString():void 0;return d.createElement("div",{className:o()(bn,"".concat(bn,"-group"),Vn.className),title:Tt},gr!==void 0?gr:yr)}var Ct=Vn.disabled,Cn=Vn.title,cr=Vn.children,it=Vn.style,Tr=Vn.className,Dn=(0,C.Z)(Vn,Jt),un=(0,yt.Z)(Dn,Hr),Un=ar(Mr),vr=Ct||!Un&&Cr,On="".concat(bn,"-option"),hr=o()(bn,On,Tr,(0,P.Z)((0,P.Z)((0,P.Z)((0,P.Z)({},"".concat(On,"-grouped"),Gn),"".concat(On,"-active"),Yn===Ft&&!vr),"".concat(On,"-disabled"),vr),"".concat(On,"-selected"),Un)),An=Fr(Nn),Or=!wn||typeof wn=="function"||Un,or=typeof An=="number"?An:An||Mr,Rr=zt(or)?or.toString():void 0;return Cn!==void 0&&(Rr=Cn),d.createElement("div",(0,h.Z)({},(0,b.Z)(un),fn?{}:$r(Nn,Ft),{"aria-selected":Xr(Mr),className:hr,title:Rr,onMouseMove:function(){Yn===Ft||vr||Pr(Ft)},onClick:function(){vr||Ir(Mr)},style:it}),d.createElement("div",{className:"".concat(On,"-content")},typeof Zn=="function"?Zn(Nn,{index:Ft}):or),d.isValidElement(wn)||Un,Or&&d.createElement(c,{className:"".concat(bn,"-option-state"),customizeIcon:wn,customizeIconProps:{value:Mr,disabled:vr,isSelected:Un}},Un?"\u2713":null))}))},Fn=d.forwardRef(vn),tn=Fn,Pn=function(je,Ne){var Ee=d.useRef({values:new Map,options:new Map}),Le=d.useMemo(function(){var We=Ee.current,he=We.values,Ve=We.options,tt=je.map(function(_e){if(_e.label===void 0){var ke;return(0,_.Z)((0,_.Z)({},_e),{},{label:(ke=he.get(_e.value))===null||ke===void 0?void 0:ke.label})}return _e}),me=new Map,ye=new Map;return tt.forEach(function(_e){me.set(_e.value,_e),ye.set(_e.value,Ne.get(_e.value)||Ve.get(_e.value))}),Ee.current.values=me,Ee.current.options=ye,tt},[je,Ne]),Pe=d.useCallback(function(We){return Ne.get(We)||Ee.current.options.get(We)},[Ne]);return[Le,Pe]};function qt(je,Ne){return I(je).join("").toUpperCase().includes(Ne)}var jt=function(je,Ne,Ee,Le,Pe){return d.useMemo(function(){if(!Ee||Le===!1)return je;var We=Ne.options,he=Ne.label,Ve=Ne.value,tt=[],me=typeof Le=="function",ye=Ee.toUpperCase(),_e=me?Le:function(De,ct){return Pe?qt(ct[Pe],ye):ct[We]?qt(ct[he!=="children"?he:"label"],ye):qt(ct[Ve],ye)},ke=me?function(De){return $(De)}:function(De){return De};return je.forEach(function(De){if(De[We]){var ct=_e(Ee,ke(De));if(ct)tt.push(De);else{var At=De[We].filter(function(Pt){return _e(Ee,ke(Pt))});At.length&&tt.push((0,_.Z)((0,_.Z)({},De),{},(0,P.Z)({},We,At)))}return}_e(Ee,ke(De))&&tt.push(De)}),tt},[je,Le,Pe,Ee,Ne])},kt=M(6551),rn=M(11592),It=["children","value"],Bt=["children"];function Wt(je){var Ne=je,Ee=Ne.key,Le=Ne.props,Pe=Le.children,We=Le.value,he=(0,C.Z)(Le,It);return(0,_.Z)({key:Ee,value:We!==void 0?We:Ee,children:Pe},he)}function Xt(je){var Ne=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;return(0,rn.Z)(je).map(function(Ee,Le){if(!d.isValidElement(Ee)||!Ee.type)return null;var Pe=Ee,We=Pe.type.isSelectOptGroup,he=Pe.key,Ve=Pe.props,tt=Ve.children,me=(0,C.Z)(Ve,Bt);return Ne||!We?Wt(Ee):(0,_.Z)((0,_.Z)({key:"__RC_SELECT_GRP__".concat(he===null?Le:he,"__"),label:he},me),{},{options:Xt(tt)})}).filter(function(Ee){return Ee})}var _n=function(Ne,Ee,Le,Pe,We){return d.useMemo(function(){var he=Ne,Ve=!Ne;Ve&&(he=Xt(Ee));var tt=new Map,me=new Map,ye=function(De,ct,At){At&&typeof At=="string"&&De.set(ct[At],ct)},_e=function ke(De){for(var ct=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,At=0;At1&&arguments[1]!==void 0?arguments[1]:!1,he=0;he0?Ur(jn.options):jn.options}):jn})},Or=d.useMemo(function(){return sn?An(hr):hr},[hr,sn,tr]),or=d.useMemo(function(){return oe(Or,{fieldNames:Fr,childrenAsData:Ir})},[Or,Fr,Ir]),Rr=function(kn){var Qn=gr(kn);if(Tt(Qn),er&&(Qn.length!==it.length||Qn.some(function(Rt,Yr){var fa;return((fa=it[Yr])===null||fa===void 0?void 0:fa.value)!==(Rt==null?void 0:Rt.value)}))){var jn=nr?Qn:Qn.map(function(Rt){return Rt.value}),lr=Qn.map(function(Rt){return $(Tr(Rt.value))});er(Xr?jn:jn[0],Xr?lr:lr[0])}},sr=d.useState(null),$n=(0,B.Z)(sr,2),Dr=$n[0],xr=$n[1],dr=d.useState(0),kr=(0,B.Z)(dr,2),ta=kr[0],Ar=kr[1],Xn=Lt!==void 0?Lt:Le!=="combobox",aa=d.useCallback(function(Ur,kn){var Qn=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},jn=Qn.source,lr=jn===void 0?"keyboard":jn;Ar(kn),he&&Le==="combobox"&&Ur!==null&&lr==="keyboard"&&xr(String(Ur))},[he,Le]),oa=function(kn,Qn,jn){var lr=function(){var ga,ha=Tr(kn);return[nr?{label:ha==null?void 0:ha[Fr.label],value:kn,key:(ga=ha==null?void 0:ha.key)!==null&&ga!==void 0?ga:kn}:kn,$(ha)]};if(Qn&&De){var Rt=lr(),Yr=(0,B.Z)(Rt,2),fa=Yr[0],da=Yr[1];De(fa,da)}else if(!Qn&&ct&&jn!=="clear"){var ea=lr(),Hn=(0,B.Z)(ea,2),jr=Hn[0],sa=Hn[1];ct(jr,sa)}},la=T(function(Ur,kn){var Qn,jn=Xr?kn.selected:!0;jn?Qn=Xr?[].concat((0,k.Z)(it),[Ur]):[Ur]:Qn=it.filter(function(lr){return lr.value!==Ur}),Rr(Qn),oa(Ur,jn),Le==="combobox"?xr(""):(!ht||ke)&&(Nn(""),xr(""))}),va=function(kn,Qn){Rr(kn);var jn=Qn.type,lr=Qn.values;(jn==="remove"||jn==="clear")&&lr.forEach(function(Rt){oa(Rt.value,!1,jn)})},Lr=function(kn,Qn){if(Nn(kn),xr(null),Qn.source==="submit"){var jn=(kn||"").trim();if(jn){var lr=Array.from(new Set([].concat((0,k.Z)(un),[jn])));Rr(lr),oa(jn,!0),Nn("")}return}Qn.source!=="blur"&&(Le==="combobox"&&Rr(kn),ye==null||ye(kn))},ma=function(kn){var Qn=kn;Le!=="tags"&&(Qn=kn.map(function(lr){var Rt=Gn.get(lr);return Rt==null?void 0:Rt.value}).filter(function(lr){return lr!==void 0}));var jn=Array.from(new Set([].concat((0,k.Z)(un),(0,k.Z)(Qn))));Rr(jn),jn.forEach(function(lr){oa(lr,!0)})},Ca=d.useMemo(function(){var Ur=Zn!==!1&&Pt!==!1;return(0,_.Z)((0,_.Z)({},Ft),{},{flattenOptions:or,onActiveValue:aa,defaultActiveFirstOption:Xn,onSelect:la,menuItemSelectedIcon:Mn,rawValues:un,fieldNames:Fr,virtual:Ur,direction:bn,listHeight:qn,listItemHeight:ur,childrenAsData:Ir,maxCount:Yn,optionRender:fn})},[Yn,Ft,or,aa,Xn,la,Mn,un,Fr,Zn,Pt,bn,qn,ur,Ir,fn]);return d.createElement(ne.Provider,{value:Ca},d.createElement(qe,(0,h.Z)({},St,{id:Pr,prefixCls:We,ref:Ne,omitDomProps:Qe,mode:Le,displayValues:Dn,onDisplayValuesChange:va,direction:bn,searchValue:tr,onSearch:Lr,autoClearSearchValue:ke,onSearchSplit:ma,dropdownMatchSelectWidth:Pt,OptionList:tn,emptyOptions:!or.length,activeValue:Dr,activeDescendantId:"".concat(Pr,"_list_").concat(ta)})))}),at=xt;at.Option=Ye,at.OptGroup=Ke;var Nt=at,Gt=Nt},22711:function(Ln,pt,M){"use strict";M.r(pt),M.d(pt,{ResizableTextArea:function(){return w},default:function(){return N}});var h=M(54476),k=M(20068),P=M(33885),_=M(94480),B=M(42978),C=M(75931),p=M(92310),m=M.n(p),E=M(36901),d=M(66003),l=M(30292),o=M(18929),g=M(59301),r=M(76190),n=M(29301),a=M(34280),c=M(16089),u=` 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; `,s=["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"],v={},e;function t(I){var K=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,F=I.getAttribute("id")||I.getAttribute("data-reactid")||I.getAttribute("name");if(K&&v[F])return v[F];var W=window.getComputedStyle(I),j=W.getPropertyValue("box-sizing")||W.getPropertyValue("-moz-box-sizing")||W.getPropertyValue("-webkit-box-sizing"),X=parseFloat(W.getPropertyValue("padding-bottom"))+parseFloat(W.getPropertyValue("padding-top")),Y=parseFloat(W.getPropertyValue("border-bottom-width"))+parseFloat(W.getPropertyValue("border-top-width")),le=s.map(function(ve){return"".concat(ve,":").concat(W.getPropertyValue(ve))}).join(";"),J={sizingStyle:le,paddingSize:X,borderSize:Y,boxSizing:j};return K&&F&&(v[F]=J),J}function i(I){var K=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,F=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null,W=arguments.length>3&&arguments[3]!==void 0?arguments[3]:null;e||(e=document.createElement("textarea"),e.setAttribute("tab-index","-1"),e.setAttribute("aria-hidden","true"),e.setAttribute("name","hiddenTextarea"),document.body.appendChild(e)),I.getAttribute("wrap")?e.setAttribute("wrap",I.getAttribute("wrap")):e.removeAttribute("wrap");var j=t(I,K),X=j.paddingSize,Y=j.borderSize,le=j.boxSizing,J=j.sizingStyle;e.setAttribute("style","".concat(J,";").concat(u)),e.value=I.value||I.placeholder||"";var ve=void 0,Ce=void 0,be,Ae=e.scrollHeight;if(le==="border-box"?Ae+=Y:le==="content-box"&&(Ae-=X),F!==null||W!==null){e.value=" ";var Ue=e.scrollHeight-X;F!==null&&(ve=Ue*F,le==="border-box"&&(ve=ve+X+Y),Ae=Math.max(ve,Ae)),W!==null&&(Ce=Ue*W,le==="border-box"&&(Ce=Ce+X+Y),be=Ae>Ce?"":"hidden",Ae=Math.min(Ce,Ae))}var we={height:Ae,overflowY:be,resize:"none"};return ve&&(we.minHeight=ve),Ce&&(we.maxHeight=Ce),we}var f=["prefixCls","defaultValue","value","autoSize","onResize","className","style","disabled","onChange","onInternalAutoSize"],y=0,b=1,x=2,A=g.forwardRef(function(I,K){var F=I,W=F.prefixCls,j=F.defaultValue,X=F.value,Y=F.autoSize,le=F.onResize,J=F.className,ve=F.style,Ce=F.disabled,be=F.onChange,Ae=F.onInternalAutoSize,Ue=(0,C.Z)(F,f),we=(0,o.Z)(j,{value:X,postState:function(Ye){return Ye!=null?Ye:""}}),$e=(0,B.Z)(we,2),Re=$e[0],ge=$e[1],Ze=function(Ye){ge(Ye.target.value),be==null||be(Ye)},Fe=g.useRef();g.useImperativeHandle(K,function(){return{textArea:Fe.current}});var Te=g.useMemo(function(){return Y&&(0,r.Z)(Y)==="object"?[Y.minRows,Y.maxRows]:[]},[Y]),Ge=(0,B.Z)(Te,2),Be=Ge[0],V=Ge[1],q=!!Y,re=function(){try{if(document.activeElement===Fe.current){var Ye=Fe.current,rt=Ye.selectionStart,yt=Ye.selectionEnd,Et=Ye.scrollTop;Fe.current.setSelectionRange(rt,yt),Fe.current.scrollTop=Et}}catch(cn){}},ee=g.useState(x),oe=(0,B.Z)(ee,2),$=oe[0],fe=oe[1],xe=g.useState(),ne=(0,B.Z)(xe,2),de=ne[0],ut=ne[1],Je=function(){fe(y)};(0,a.Z)(function(){q&&Je()},[X,Be,V,q]),(0,a.Z)(function(){if($===y)fe(b);else if($===b){var Oe=i(Fe.current,!1,Be,V);fe(x),ut(Oe)}else re()},[$]);var ht=g.useRef(),vt=function(){c.Z.cancel(ht.current)},qe=function(Ye){$===x&&(le==null||le(Ye),Y&&(vt(),ht.current=(0,c.Z)(function(){Je()})))};g.useEffect(function(){return vt},[]);var ft=q?de:null,Ke=(0,P.Z)((0,P.Z)({},ve),ft);return($===y||$===b)&&(Ke.overflowY="hidden",Ke.overflowX="hidden"),g.createElement(n.Z,{onResize:qe,disabled:!(Y||le)},g.createElement("textarea",(0,h.Z)({},Ue,{ref:Fe,style:Ke,className:m()(W,J,(0,k.Z)({},"".concat(W,"-disabled"),Ce)),disabled:Ce,value:Re,onChange:Ze})))}),w=A,L=["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"],D=g.forwardRef(function(I,K){var F,W=I.defaultValue,j=I.value,X=I.onFocus,Y=I.onBlur,le=I.onChange,J=I.allowClear,ve=I.maxLength,Ce=I.onCompositionStart,be=I.onCompositionEnd,Ae=I.suffix,Ue=I.prefixCls,we=Ue===void 0?"rc-textarea":Ue,$e=I.showCount,Re=I.count,ge=I.className,Ze=I.style,Fe=I.disabled,Te=I.hidden,Ge=I.classNames,Be=I.styles,V=I.onResize,q=I.onClear,re=I.onPressEnter,ee=I.readOnly,oe=I.autoSize,$=I.onKeyDown,fe=(0,C.Z)(I,L),xe=(0,o.Z)(W,{value:j,defaultValue:W}),ne=(0,B.Z)(xe,2),de=ne[0],ut=ne[1],Je=de==null?"":String(de),ht=g.useState(!1),vt=(0,B.Z)(ht,2),qe=vt[0],ft=vt[1],Ke=g.useRef(!1),Oe=g.useState(null),Ye=(0,B.Z)(Oe,2),rt=Ye[0],yt=Ye[1],Et=(0,g.useRef)(null),cn=(0,g.useRef)(null),Jt=function(){var at;return(at=cn.current)===null||at===void 0?void 0:at.textArea},zt=function(){Jt().focus()};(0,g.useImperativeHandle)(K,function(){var xt;return{resizableTextArea:cn.current,focus:zt,blur:function(){Jt().blur()},nativeElement:((xt=Et.current)===null||xt===void 0?void 0:xt.nativeElement)||Jt()}}),(0,g.useEffect)(function(){ft(function(xt){return!Fe&&xt})},[Fe]);var vn=g.useState(null),Fn=(0,B.Z)(vn,2),tn=Fn[0],Pn=Fn[1];g.useEffect(function(){if(tn){var xt;(xt=Jt()).setSelectionRange.apply(xt,(0,_.Z)(tn))}},[tn]);var qt=(0,d.Z)(Re,$e),jt=(F=qt.max)!==null&&F!==void 0?F:ve,kt=Number(jt)>0,rn=qt.strategy(Je),It=!!jt&&rn>jt,Bt=function(at,Nt){var Gt=Nt;!Ke.current&&qt.exceedFormatter&&qt.max&&qt.strategy(Nt)>qt.max&&(Gt=qt.exceedFormatter(Nt,{max:qt.max}),Nt!==Gt&&Pn([Jt().selectionStart||0,Jt().selectionEnd||0])),ut(Gt),(0,l.rJ)(at.currentTarget,at,le,Gt)},Wt=function(at){Ke.current=!0,Ce==null||Ce(at)},Xt=function(at){Ke.current=!1,Bt(at,at.currentTarget.value),be==null||be(at)},_n=function(at){Bt(at,at.target.value)},_t=function(at){at.key==="Enter"&&re&&re(at),$==null||$(at)},T=function(at){ft(!0),X==null||X(at)},z=function(at){ft(!1),Y==null||Y(at)},Z=function(at){ut(""),zt(),(0,l.rJ)(Jt(),at,le)},ie=Ae,se;qt.show&&(qt.showFormatter?se=qt.showFormatter({value:Je,count:rn,maxLength:jt}):se="".concat(rn).concat(kt?" / ".concat(jt):""),ie=g.createElement(g.Fragment,null,ie,g.createElement("span",{className:m()("".concat(we,"-data-count"),Ge==null?void 0:Ge.count),style:Be==null?void 0:Be.count},se)));var Qe=function(at){var Nt;V==null||V(at),(Nt=Jt())!==null&&Nt!==void 0&&Nt.style.height&&yt(!0)},lt=!oe&&!$e&&!J;return g.createElement(E.BaseInput,{ref:Et,value:Je,allowClear:J,handleReset:Z,suffix:ie,prefixCls:we,classNames:(0,P.Z)((0,P.Z)({},Ge),{},{affixWrapper:m()(Ge==null?void 0:Ge.affixWrapper,(0,k.Z)((0,k.Z)({},"".concat(we,"-show-count"),$e),"".concat(we,"-textarea-allow-clear"),J))}),disabled:Fe,focused:qe,className:m()(ge,It&&"".concat(we,"-out-of-range")),style:(0,P.Z)((0,P.Z)({},Ze),rt&&!lt?{height:"auto"}:{}),dataAttrs:{affixWrapper:{"data-count":typeof se=="string"?se:void 0}},hidden:Te,readOnly:ee,onClear:q},g.createElement(w,(0,h.Z)({},fe,{autoSize:oe,maxLength:ve,onKeyDown:_t,onChange:_n,onFocus:T,onBlur:z,onCompositionStart:Wt,onCompositionEnd:Xt,className:m()(Ge==null?void 0:Ge.textarea),style:(0,P.Z)((0,P.Z)({},Be==null?void 0:Be.textarea),{},{resize:Ze==null?void 0:Ze.resize}),disabled:Fe,prefixCls:we,onResize:Qe,ref:cn,readOnly:ee})))}),O=D,N=O},639:function(Ln,pt,M){"use strict";M.d(pt,{Z:function(){return v}});var h=M(54476),k=M(20068),P=M(33885),_=M(42978),B=M(75931),C=M(59301),p=M(92310),m=M.n(p),E=M(26112),d=M(30699),l=function(t){for(var i=t.prefixCls,f=t.level,y=t.isStart,b=t.isEnd,x="".concat(i,"-indent-unit"),A=[],w=0;w0&&arguments[0]!==void 0?arguments[0]:[],Ge=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],Be=Te.length,V=Ge.length;if(Math.abs(Be-V)!==1)return{add:!1,key:null};function q(re,ee){var oe=new Map;re.forEach(function(fe){oe.set(fe,!0)});var $=ee.filter(function(fe){return!oe.has(fe)});return $.length===1?$[0]:null}return Be ").concat(Ge);return Ge}var be=a.forwardRef(function(Te,Ge){var Be=Te.prefixCls,V=Te.data,q=Te.selectable,re=Te.checkable,ee=Te.expandedKeys,oe=Te.selectedKeys,$=Te.checkedKeys,fe=Te.loadedKeys,xe=Te.loadingKeys,ne=Te.halfCheckedKeys,de=Te.keyEntities,ut=Te.disabled,Je=Te.dragging,ht=Te.dragOverNodeKey,vt=Te.dropPosition,qe=Te.motion,ft=Te.height,Ke=Te.itemHeight,Oe=Te.virtual,Ye=Te.scrollWidth,rt=Te.focusable,yt=Te.activeItem,Et=Te.focused,cn=Te.tabIndex,Jt=Te.onKeyDown,zt=Te.onFocus,vn=Te.onBlur,Fn=Te.onActiveChange,tn=Te.onListChangeStart,Pn=Te.onListChangeEnd,qt=(0,t.Z)(Te,K),jt=a.useRef(null),kt=a.useRef(null);a.useImperativeHandle(Ge,function(){return{scrollTo:function(Ve){jt.current.scrollTo(Ve)},getIndentWidth:function(){return kt.current.offsetWidth}}});var rn=a.useState(ee),It=(0,e.Z)(rn,2),Bt=It[0],Wt=It[1],Xt=a.useState(V),_n=(0,e.Z)(Xt,2),_t=_n[0],T=_n[1],z=a.useState(V),Z=(0,e.Z)(z,2),ie=Z[0],se=Z[1],Qe=a.useState([]),lt=(0,e.Z)(Qe,2),xt=lt[0],at=lt[1],Nt=a.useState(null),Gt=(0,e.Z)(Nt,2),je=Gt[0],Ne=Gt[1],Ee=a.useRef(V);Ee.current=V;function Le(){var he=Ee.current;T(he),se(he),at([]),Ne(null),Pn()}(0,i.Z)(function(){Wt(ee);var he=N(Bt,ee);if(he.key!==null)if(he.add){var Ve=_t.findIndex(function(De){var ct=De.key;return ct===he.key}),tt=J(I(_t,V,he.key),Oe,ft,Ke),me=_t.slice();me.splice(Ve+1,0,le),se(me),at(tt),Ne("show")}else{var ye=V.findIndex(function(De){var ct=De.key;return ct===he.key}),_e=J(I(V,_t,he.key),Oe,ft,Ke),ke=V.slice();ke.splice(ye+1,0,le),se(ke),at(_e),Ne("hide")}else _t!==V&&(T(V),se(V))},[ee,V]),a.useEffect(function(){Je||Le()},[Je]);var Pe=qe?ie:V,We={expandedKeys:ee,selectedKeys:oe,loadedKeys:fe,loadingKeys:xe,checkedKeys:$,halfCheckedKeys:ne,dragOverNodeKey:ht,dropPosition:vt,keyEntities:de};return a.createElement(a.Fragment,null,Et&&yt&&a.createElement("span",{style:F,"aria-live":"assertive"},Ce(yt)),a.createElement("div",null,a.createElement("input",{style:F,disabled:rt===!1||ut,tabIndex:rt!==!1?cn:null,onKeyDown:Jt,onFocus:zt,onBlur:vn,value:"",onChange:W,"aria-label":"for screen reader"})),a.createElement("div",{className:"".concat(Be,"-treenode"),"aria-hidden":!0,style:{position:"absolute",pointerEvents:"none",visibility:"hidden",height:0,overflow:"hidden",border:0,padding:0}},a.createElement("div",{className:"".concat(Be,"-indent")},a.createElement("div",{ref:kt,className:"".concat(Be,"-indent-unit")}))),a.createElement(f.Z,(0,h.Z)({},qt,{data:Pe,itemKey:ve,height:ft,fullHeight:!1,virtual:Oe,itemHeight:Ke,scrollWidth:Ye,prefixCls:"".concat(Be,"-list"),ref:jt,role:"tree",onVisibleChange:function(Ve){Ve.every(function(tt){return ve(tt)!==j})&&Le()}}),function(he){var Ve=he.pos,tt=Object.assign({},(v(he.data),he.data)),me=he.title,ye=he.key,_e=he.isStart,ke=he.isEnd,De=(0,w.km)(ye,Ve);delete tt.key,delete tt.children;var ct=(0,w.H8)(De,We);return a.createElement(O,(0,h.Z)({},tt,ct,{title:me,active:!!yt&&ye===yt.key,pos:Ve,data:he.data,isStart:_e,isEnd:ke,motion:qe,motionNodes:ye===j?xt:null,motionType:je,onMotionStart:tn,onMotionEnd:Le,treeNodeRequiredProps:We,onMouseMove:function(){Fn(null)}}))}))}),Ae=be,Ue=M(82661),we=M(34643),$e=M(65065),Re=10,ge=function(Te){(0,m.Z)(Be,Te);var Ge=(0,E.Z)(Be);function Be(){var V;(0,B.Z)(this,Be);for(var q=arguments.length,re=new Array(q),ee=0;ee2&&arguments[2]!==void 0?arguments[2]:!1,ne=V.state,de=ne.dragChildrenKeys,ut=ne.dropPosition,Je=ne.dropTargetKey,ht=ne.dropTargetPos,vt=ne.dropAllowed;if(vt){var qe=V.props.onDrop;if(V.setState({dragOverNodeKey:null}),V.cleanDragState(),Je!==null){var ft=(0,P.Z)((0,P.Z)({},(0,w.H8)(Je,V.getTreeNodeRequiredProps())),{},{active:((fe=V.getActiveItem())===null||fe===void 0?void 0:fe.key)===Je,data:(0,$e.Z)(V.state.keyEntities,Je).node}),Ke=de.includes(Je);(0,n.ZP)(!Ke,"Can not drop to dragNode's children node. This is a bug of rc-tree. Please report an issue.");var Oe=(0,Ue.yx)(ht),Ye={event:oe,node:(0,w.F)(ft),dragNode:V.dragNodeProps?(0,w.F)(V.dragNodeProps):null,dragNodesKeys:[V.dragNodeProps.eventKey].concat(de),dropToGap:ut!==0,dropPosition:ut+Number(Oe[Oe.length-1])};xe||qe==null||qe(Ye),V.dragNodeProps=null}}}),(0,d.Z)((0,p.Z)(V),"cleanDragState",function(){var oe=V.state.draggingNodeKey;oe!==null&&V.setState({draggingNodeKey:null,dropPosition:null,dropContainerKey:null,dropTargetKey:null,dropLevelOffset:null,dropAllowed:!0,dragOverNodeKey:null}),V.dragStartMousePosition=null,V.currentMouseOverDroppableNodeKey=null}),(0,d.Z)((0,p.Z)(V),"triggerExpandActionExpand",function(oe,$){var fe=V.state,xe=fe.expandedKeys,ne=fe.flattenNodes,de=$.expanded,ut=$.key,Je=$.isLeaf;if(!(Je||oe.shiftKey||oe.metaKey||oe.ctrlKey)){var ht=ne.filter(function(qe){return qe.key===ut})[0],vt=(0,w.F)((0,P.Z)((0,P.Z)({},(0,w.H8)(ut,V.getTreeNodeRequiredProps())),{},{data:ht.data}));V.setExpandedKeys(de?(0,Ue._5)(xe,ut):(0,Ue.L0)(xe,ut)),V.onNodeExpand(oe,vt)}}),(0,d.Z)((0,p.Z)(V),"onNodeClick",function(oe,$){var fe=V.props,xe=fe.onClick,ne=fe.expandAction;ne==="click"&&V.triggerExpandActionExpand(oe,$),xe==null||xe(oe,$)}),(0,d.Z)((0,p.Z)(V),"onNodeDoubleClick",function(oe,$){var fe=V.props,xe=fe.onDoubleClick,ne=fe.expandAction;ne==="doubleClick"&&V.triggerExpandActionExpand(oe,$),xe==null||xe(oe,$)}),(0,d.Z)((0,p.Z)(V),"onNodeSelect",function(oe,$){var fe=V.state.selectedKeys,xe=V.state,ne=xe.keyEntities,de=xe.fieldNames,ut=V.props,Je=ut.onSelect,ht=ut.multiple,vt=$.selected,qe=$[de.key],ft=!vt;ft?ht?fe=(0,Ue.L0)(fe,qe):fe=[qe]:fe=(0,Ue._5)(fe,qe);var Ke=fe.map(function(Oe){var Ye=(0,$e.Z)(ne,Oe);return Ye?Ye.node:null}).filter(Boolean);V.setUncontrolledState({selectedKeys:fe}),Je==null||Je(fe,{event:"select",selected:ft,node:$,selectedNodes:Ke,nativeEvent:oe.nativeEvent})}),(0,d.Z)((0,p.Z)(V),"onNodeCheck",function(oe,$,fe){var xe=V.state,ne=xe.keyEntities,de=xe.checkedKeys,ut=xe.halfCheckedKeys,Je=V.props,ht=Je.checkStrictly,vt=Je.onCheck,qe=$.key,ft,Ke={event:"check",node:$,checked:fe,nativeEvent:oe.nativeEvent};if(ht){var Oe=fe?(0,Ue.L0)(de,qe):(0,Ue._5)(de,qe),Ye=(0,Ue._5)(ut,qe);ft={checked:Oe,halfChecked:Ye},Ke.checkedNodes=Oe.map(function(zt){return(0,$e.Z)(ne,zt)}).filter(Boolean).map(function(zt){return zt.node}),V.setUncontrolledState({checkedKeys:Oe})}else{var rt=(0,we.S)([].concat((0,_.Z)(de),[qe]),!0,ne),yt=rt.checkedKeys,Et=rt.halfCheckedKeys;if(!fe){var cn=new Set(yt);cn.delete(qe);var Jt=(0,we.S)(Array.from(cn),{checked:!1,halfCheckedKeys:Et},ne);yt=Jt.checkedKeys,Et=Jt.halfCheckedKeys}ft=yt,Ke.checkedNodes=[],Ke.checkedNodesPositions=[],Ke.halfCheckedKeys=Et,yt.forEach(function(zt){var vn=(0,$e.Z)(ne,zt);if(vn){var Fn=vn.node,tn=vn.pos;Ke.checkedNodes.push(Fn),Ke.checkedNodesPositions.push({node:Fn,pos:tn})}}),V.setUncontrolledState({checkedKeys:yt},!1,{halfCheckedKeys:Et})}vt==null||vt(ft,Ke)}),(0,d.Z)((0,p.Z)(V),"onNodeLoad",function(oe){var $,fe=oe.key,xe=V.state.keyEntities,ne=(0,$e.Z)(xe,fe);if(!(ne!=null&&($=ne.children)!==null&&$!==void 0&&$.length)){var de=new Promise(function(ut,Je){V.setState(function(ht){var vt=ht.loadedKeys,qe=vt===void 0?[]:vt,ft=ht.loadingKeys,Ke=ft===void 0?[]:ft,Oe=V.props,Ye=Oe.loadData,rt=Oe.onLoad;if(!Ye||qe.includes(fe)||Ke.includes(fe))return null;var yt=Ye(oe);return yt.then(function(){var Et=V.state.loadedKeys,cn=(0,Ue.L0)(Et,fe);rt==null||rt(cn,{event:"load",node:oe}),V.setUncontrolledState({loadedKeys:cn}),V.setState(function(Jt){return{loadingKeys:(0,Ue._5)(Jt.loadingKeys,fe)}}),ut()}).catch(function(Et){if(V.setState(function(Jt){return{loadingKeys:(0,Ue._5)(Jt.loadingKeys,fe)}}),V.loadingRetryTimes[fe]=(V.loadingRetryTimes[fe]||0)+1,V.loadingRetryTimes[fe]>=Re){var cn=V.state.loadedKeys;(0,n.ZP)(!1,"Retry for `loadData` many times but still failed. No more retry."),V.setUncontrolledState({loadedKeys:(0,Ue.L0)(cn,fe)}),ut()}Je(Et)}),{loadingKeys:(0,Ue.L0)(Ke,fe)}})});return de.catch(function(){}),de}}),(0,d.Z)((0,p.Z)(V),"onNodeMouseEnter",function(oe,$){var fe=V.props.onMouseEnter;fe==null||fe({event:oe,node:$})}),(0,d.Z)((0,p.Z)(V),"onNodeMouseLeave",function(oe,$){var fe=V.props.onMouseLeave;fe==null||fe({event:oe,node:$})}),(0,d.Z)((0,p.Z)(V),"onNodeContextMenu",function(oe,$){var fe=V.props.onRightClick;fe&&(oe.preventDefault(),fe({event:oe,node:$}))}),(0,d.Z)((0,p.Z)(V),"onFocus",function(){var oe=V.props.onFocus;V.setState({focused:!0});for(var $=arguments.length,fe=new Array($),xe=0;xe<$;xe++)fe[xe]=arguments[xe];oe==null||oe.apply(void 0,fe)}),(0,d.Z)((0,p.Z)(V),"onBlur",function(){var oe=V.props.onBlur;V.setState({focused:!1}),V.onActiveChange(null);for(var $=arguments.length,fe=new Array($),xe=0;xe<$;xe++)fe[xe]=arguments[xe];oe==null||oe.apply(void 0,fe)}),(0,d.Z)((0,p.Z)(V),"getTreeNodeRequiredProps",function(){var oe=V.state,$=oe.expandedKeys,fe=oe.selectedKeys,xe=oe.loadedKeys,ne=oe.loadingKeys,de=oe.checkedKeys,ut=oe.halfCheckedKeys,Je=oe.dragOverNodeKey,ht=oe.dropPosition,vt=oe.keyEntities;return{expandedKeys:$||[],selectedKeys:fe||[],loadedKeys:xe||[],loadingKeys:ne||[],checkedKeys:de||[],halfCheckedKeys:ut||[],dragOverNodeKey:Je,dropPosition:ht,keyEntities:vt}}),(0,d.Z)((0,p.Z)(V),"setExpandedKeys",function(oe){var $=V.state,fe=$.treeData,xe=$.fieldNames,ne=(0,w.oH)(fe,oe,xe);V.setUncontrolledState({expandedKeys:oe,flattenNodes:ne},!0)}),(0,d.Z)((0,p.Z)(V),"onNodeExpand",function(oe,$){var fe=V.state.expandedKeys,xe=V.state,ne=xe.listChanging,de=xe.fieldNames,ut=V.props,Je=ut.onExpand,ht=ut.loadData,vt=$.expanded,qe=$[de.key];if(!ne){var ft=fe.includes(qe),Ke=!vt;if((0,n.ZP)(vt&&ft||!vt&&!ft,"Expand state not sync with index check"),fe=Ke?(0,Ue.L0)(fe,qe):(0,Ue._5)(fe,qe),V.setExpandedKeys(fe),Je==null||Je(fe,{node:$,expanded:Ke,nativeEvent:oe.nativeEvent}),Ke&&ht){var Oe=V.onNodeLoad($);Oe&&Oe.then(function(){var Ye=(0,w.oH)(V.state.treeData,fe,de);V.setUncontrolledState({flattenNodes:Ye})}).catch(function(){var Ye=V.state.expandedKeys,rt=(0,Ue._5)(Ye,qe);V.setExpandedKeys(rt)})}}}),(0,d.Z)((0,p.Z)(V),"onListChangeStart",function(){V.setUncontrolledState({listChanging:!0})}),(0,d.Z)((0,p.Z)(V),"onListChangeEnd",function(){setTimeout(function(){V.setUncontrolledState({listChanging:!1})})}),(0,d.Z)((0,p.Z)(V),"onActiveChange",function(oe){var $=V.state.activeKey,fe=V.props,xe=fe.onActiveChange,ne=fe.itemScrollOffset,de=ne===void 0?0:ne;$!==oe&&(V.setState({activeKey:oe}),oe!==null&&V.scrollTo({key:oe,offset:de}),xe==null||xe(oe))}),(0,d.Z)((0,p.Z)(V),"getActiveItem",function(){var oe=V.state,$=oe.activeKey,fe=oe.flattenNodes;return $===null?null:fe.find(function(xe){var ne=xe.key;return ne===$})||null}),(0,d.Z)((0,p.Z)(V),"offsetActiveKey",function(oe){var $=V.state,fe=$.flattenNodes,xe=$.activeKey,ne=fe.findIndex(function(Je){var ht=Je.key;return ht===xe});ne===-1&&oe<0&&(ne=fe.length),ne=(ne+oe+fe.length)%fe.length;var de=fe[ne];if(de){var ut=de.key;V.onActiveChange(ut)}else V.onActiveChange(null)}),(0,d.Z)((0,p.Z)(V),"onKeyDown",function(oe){var $=V.state,fe=$.activeKey,xe=$.expandedKeys,ne=$.checkedKeys,de=$.fieldNames,ut=V.props,Je=ut.onKeyDown,ht=ut.checkable,vt=ut.selectable;switch(oe.which){case g.Z.UP:{V.offsetActiveKey(-1),oe.preventDefault();break}case g.Z.DOWN:{V.offsetActiveKey(1),oe.preventDefault();break}}var qe=V.getActiveItem();if(qe&&qe.data){var ft=V.getTreeNodeRequiredProps(),Ke=qe.data.isLeaf===!1||!!(qe.data[de.children]||[]).length,Oe=(0,w.F)((0,P.Z)((0,P.Z)({},(0,w.H8)(fe,ft)),{},{data:qe.data,active:!0}));switch(oe.which){case g.Z.LEFT:{Ke&&xe.includes(fe)?V.onNodeExpand({},Oe):qe.parent&&V.onActiveChange(qe.parent.key),oe.preventDefault();break}case g.Z.RIGHT:{Ke&&!xe.includes(fe)?V.onNodeExpand({},Oe):qe.children&&qe.children.length&&V.onActiveChange(qe.children[0].key),oe.preventDefault();break}case g.Z.ENTER:case g.Z.SPACE:{ht&&!Oe.disabled&&Oe.checkable!==!1&&!Oe.disableCheckbox?V.onNodeCheck({},Oe,!ne.includes(fe)):!ht&&vt&&!Oe.disabled&&Oe.selectable!==!1&&V.onNodeSelect({},Oe);break}}}Je==null||Je(oe)}),(0,d.Z)((0,p.Z)(V),"setUncontrolledState",function(oe){var $=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,fe=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null;if(!V.destroyed){var xe=!1,ne=!0,de={};Object.keys(oe).forEach(function(ut){if(V.props.hasOwnProperty(ut)){ne=!1;return}xe=!0,de[ut]=oe[ut]}),xe&&(!$||ne)&&V.setState((0,P.Z)((0,P.Z)({},de),fe))}}),(0,d.Z)((0,p.Z)(V),"scrollTo",function(oe){V.listRef.current.scrollTo(oe)}),V}return(0,C.Z)(Be,[{key:"componentDidMount",value:function(){this.destroyed=!1,this.onUpdated()}},{key:"componentDidUpdate",value:function(){this.onUpdated()}},{key:"onUpdated",value:function(){var q=this.props,re=q.activeKey,ee=q.itemScrollOffset,oe=ee===void 0?0:ee;re!==void 0&&re!==this.state.activeKey&&(this.setState({activeKey:re}),re!==null&&this.scrollTo({key:re,offset:oe}))}},{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 q=this.state,re=q.focused,ee=q.flattenNodes,oe=q.keyEntities,$=q.draggingNodeKey,fe=q.activeKey,xe=q.dropLevelOffset,ne=q.dropContainerKey,de=q.dropTargetKey,ut=q.dropPosition,Je=q.dragOverNodeKey,ht=q.indent,vt=this.props,qe=vt.prefixCls,ft=vt.className,Ke=vt.style,Oe=vt.showLine,Ye=vt.focusable,rt=vt.tabIndex,yt=rt===void 0?0:rt,Et=vt.selectable,cn=vt.showIcon,Jt=vt.icon,zt=vt.switcherIcon,vn=vt.draggable,Fn=vt.checkable,tn=vt.checkStrictly,Pn=vt.disabled,qt=vt.motion,jt=vt.loadData,kt=vt.filterTreeNode,rn=vt.height,It=vt.itemHeight,Bt=vt.scrollWidth,Wt=vt.virtual,Xt=vt.titleRender,_n=vt.dropIndicatorRender,_t=vt.onContextMenu,T=vt.onScroll,z=vt.direction,Z=vt.rootClassName,ie=vt.rootStyle,se=(0,r.Z)(this.props,{aria:!0,data:!0}),Qe;vn&&((0,k.Z)(vn)==="object"?Qe=vn:typeof vn=="function"?Qe={nodeDraggable:vn}:Qe={});var lt={prefixCls:qe,selectable:Et,showIcon:cn,icon:Jt,switcherIcon:zt,draggable:Qe,draggingNodeKey:$,checkable:Fn,checkStrictly:tn,disabled:Pn,keyEntities:oe,dropLevelOffset:xe,dropContainerKey:ne,dropTargetKey:de,dropPosition:ut,dragOverNodeKey:Je,indent:ht,direction:z,dropIndicatorRender:_n,loadData:jt,filterTreeNode:kt,titleRender:Xt,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 a.createElement(c.k.Provider,{value:lt},a.createElement("div",{className:o()(qe,ft,Z,(0,d.Z)((0,d.Z)((0,d.Z)({},"".concat(qe,"-show-line"),Oe),"".concat(qe,"-focused"),re),"".concat(qe,"-active-focused"),fe!==null)),style:ie},a.createElement(Ae,(0,h.Z)({ref:this.listRef,prefixCls:qe,style:Ke,data:ee,disabled:Pn,selectable:Et,checkable:!!Fn,motion:qt,dragging:$!==null,height:rn,itemHeight:It,virtual:Wt,focusable:Ye,focused:re,tabIndex:yt,activeItem:this.getActiveItem(),onFocus:this.onFocus,onBlur:this.onBlur,onKeyDown:this.onKeyDown,onActiveChange:this.onActiveChange,onListChangeStart:this.onListChangeStart,onListChangeEnd:this.onListChangeEnd,onContextMenu:_t,onScroll:T,scrollWidth:Bt},this.getTreeNodeRequiredProps(),se))))}}],[{key:"getDerivedStateFromProps",value:function(q,re){var ee=re.prevProps,oe={prevProps:q};function $(yt){return!ee&&q.hasOwnProperty(yt)||ee&&ee[yt]!==q[yt]}var fe,xe=re.fieldNames;if($("fieldNames")&&(xe=(0,w.w$)(q.fieldNames),oe.fieldNames=xe),$("treeData")?fe=q.treeData:$("children")&&((0,n.ZP)(!1,"`children` of Tree is deprecated. Please use `treeData` instead."),fe=(0,w.zn)(q.children)),fe){oe.treeData=fe;var ne=(0,w.I8)(fe,{fieldNames:xe});oe.keyEntities=(0,P.Z)((0,d.Z)({},j,Y),ne.keyEntities)}var de=oe.keyEntities||re.keyEntities;if($("expandedKeys")||ee&&$("autoExpandParent"))oe.expandedKeys=q.autoExpandParent||!ee&&q.defaultExpandParent?(0,Ue.r7)(q.expandedKeys,de):q.expandedKeys;else if(!ee&&q.defaultExpandAll){var ut=(0,P.Z)({},de);delete ut[j];var Je=[];Object.keys(ut).forEach(function(yt){var Et=ut[yt];Et.children&&Et.children.length&&Je.push(Et.key)}),oe.expandedKeys=Je}else!ee&&q.defaultExpandedKeys&&(oe.expandedKeys=q.autoExpandParent||q.defaultExpandParent?(0,Ue.r7)(q.defaultExpandedKeys,de):q.defaultExpandedKeys);if(oe.expandedKeys||delete oe.expandedKeys,fe||oe.expandedKeys){var ht=(0,w.oH)(fe||re.treeData,oe.expandedKeys||re.expandedKeys,xe);oe.flattenNodes=ht}if(q.selectable&&($("selectedKeys")?oe.selectedKeys=(0,Ue.BT)(q.selectedKeys,q):!ee&&q.defaultSelectedKeys&&(oe.selectedKeys=(0,Ue.BT)(q.defaultSelectedKeys,q))),q.checkable){var vt;if($("checkedKeys")?vt=(0,Ue.E6)(q.checkedKeys)||{}:!ee&&q.defaultCheckedKeys?vt=(0,Ue.E6)(q.defaultCheckedKeys)||{}:fe&&(vt=(0,Ue.E6)(q.checkedKeys)||{checkedKeys:re.checkedKeys,halfCheckedKeys:re.halfCheckedKeys}),vt){var qe=vt,ft=qe.checkedKeys,Ke=ft===void 0?[]:ft,Oe=qe.halfCheckedKeys,Ye=Oe===void 0?[]:Oe;if(!q.checkStrictly){var rt=(0,we.S)(Ke,!0,de);Ke=rt.checkedKeys,Ye=rt.halfCheckedKeys}oe.checkedKeys=Ke,oe.halfCheckedKeys=Ye}}return $("loadedKeys")&&(oe.loadedKeys=q.loadedKeys),oe}}]),Be}(a.Component);(0,d.Z)(ge,"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:s,allowDrop:function(){return!0},expandAction:!1}),(0,d.Z)(ge,"TreeNode",b.Z);var Ze=ge,Fe=Ze},82661:function(Ln,pt,M){"use strict";M.d(pt,{BT:function(){return a},E6:function(){return s},L0:function(){return d},OM:function(){return n},_5:function(){return E},r7:function(){return v},wA:function(){return o},yx:function(){return l}});var h=M(94480),k=M(76190),P=M(48736),_=M(59301),B=M(639),C=M(65065),p=M(34061),m=null;function E(e,t){if(!e)return[];var i=e.slice(),f=i.indexOf(t);return f>=0&&i.splice(f,1),i}function d(e,t){var i=(e||[]).slice();return i.indexOf(t)===-1&&i.push(t),i}function l(e){return e.split("-")}function o(e,t){var i=[],f=(0,C.Z)(t,e);function y(){var b=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];b.forEach(function(x){var A=x.key,w=x.children;i.push(A),y(w)})}return y(f.children),i}function g(e){if(e.parent){var t=l(e.pos);return Number(t[t.length-1])===e.parent.children.length-1}return!1}function r(e){var t=l(e.pos);return Number(t[t.length-1])===0}function n(e,t,i,f,y,b,x,A,w,L){var D,O=e.clientX,N=e.clientY,I=e.target.getBoundingClientRect(),K=I.top,F=I.height,W=(L==="rtl"?-1:1)*(((y==null?void 0:y.x)||0)-O),j=(W-12)/f,X=w.filter(function(Fe){var Te;return(Te=A[Fe])===null||Te===void 0||(Te=Te.children)===null||Te===void 0?void 0:Te.length}),Y=(0,C.Z)(A,i.eventKey);if(N-1.5?b({dragNode:Re,dropNode:ge,dropPosition:1})?Ue=1:Ze=!1:b({dragNode:Re,dropNode:ge,dropPosition:0})?Ue=0:b({dragNode:Re,dropNode:ge,dropPosition:1})?Ue=1:Ze=!1:b({dragNode:Re,dropNode:ge,dropPosition:1})?Ue=1:Ze=!1,{dropPosition:Ue,dropLevelOffset:we,dropTargetKey:Y.key,dropTargetPos:Y.pos,dragOverNodeKey:Ae,dropContainerKey:Ue===0?null:((D=Y.parent)===null||D===void 0?void 0:D.key)||null,dropAllowed:Ze}}function a(e,t){if(e){var i=t.multiple;return i?e.slice():e.length?[e[0]]:e}}var c=function(t){return t};function u(e,t){if(!e)return[];var i=t||{},f=i.processProps,y=f===void 0?c:f,b=Array.isArray(e)?e:[e];return b.map(function(x){var A=x.children,w=_objectWithoutProperties(x,m),L=u(A,t);return React.createElement(TreeNode,_extends({key:w.key},y(w)),L)})}function s(e){if(!e)return null;var t;if(Array.isArray(e))t={checkedKeys:e,halfCheckedKeys:void 0};else if((0,k.Z)(e)==="object")t={checkedKeys:e.checked||void 0,halfCheckedKeys:e.halfChecked||void 0};else return(0,P.ZP)(!1,"`checkedKeys` is not an array or an object"),null;return t}function v(e,t){var i=new Set;function f(y){if(!i.has(y)){var b=(0,C.Z)(t,y);if(b){i.add(y);var x=b.parent,A=b.node;A.disabled||x&&f(x.key)}}}return(e||[]).forEach(function(y){f(y)}),(0,h.Z)(i)}},34643:function(Ln,pt,M){"use strict";M.d(pt,{S:function(){return p}});var h=M(48736),k=M(65065);function P(m,E){var d=new Set;return m.forEach(function(l){E.has(l)||d.add(l)}),d}function _(m){var E=m||{},d=E.disabled,l=E.disableCheckbox,o=E.checkable;return!!(d||l)||o===!1}function B(m,E,d,l){for(var o=new Set(m),g=new Set,r=0;r<=d;r+=1){var n=E.get(r)||new Set;n.forEach(function(s){var v=s.key,e=s.node,t=s.children,i=t===void 0?[]:t;o.has(v)&&!l(e)&&i.filter(function(f){return!l(f.node)}).forEach(function(f){o.add(f.key)})})}for(var a=new Set,c=d;c>=0;c-=1){var u=E.get(c)||new Set;u.forEach(function(s){var v=s.parent,e=s.node;if(!(l(e)||!s.parent||a.has(s.parent.key))){if(l(s.parent.node)){a.add(v.key);return}var t=!0,i=!1;(v.children||[]).filter(function(f){return!l(f.node)}).forEach(function(f){var y=f.key,b=o.has(y);t&&!b&&(t=!1),!i&&(b||g.has(y))&&(i=!0)}),t&&o.add(v.key),i&&g.add(v.key),a.add(v.key)}})}return{checkedKeys:Array.from(o),halfCheckedKeys:Array.from(P(g,o))}}function C(m,E,d,l,o){for(var g=new Set(m),r=new Set(E),n=0;n<=l;n+=1){var a=d.get(n)||new Set;a.forEach(function(v){var e=v.key,t=v.node,i=v.children,f=i===void 0?[]:i;!g.has(e)&&!r.has(e)&&!o(t)&&f.filter(function(y){return!o(y.node)}).forEach(function(y){g.delete(y.key)})})}r=new Set;for(var c=new Set,u=l;u>=0;u-=1){var s=d.get(u)||new Set;s.forEach(function(v){var e=v.parent,t=v.node;if(!(o(t)||!v.parent||c.has(v.parent.key))){if(o(v.parent.node)){c.add(e.key);return}var i=!0,f=!1;(e.children||[]).filter(function(y){return!o(y.node)}).forEach(function(y){var b=y.key,x=g.has(b);i&&!x&&(i=!1),!f&&(x||r.has(b))&&(f=!0)}),i||g.delete(e.key),f&&r.add(e.key),c.add(e.key)}})}return{checkedKeys:Array.from(g),halfCheckedKeys:Array.from(P(r,g))}}function p(m,E,d,l){var o=[],g;l?g=l:g=_;var r=new Set(m.filter(function(u){var s=!!(0,k.Z)(d,u);return s||o.push(u),s})),n=new Map,a=0;Object.keys(d).forEach(function(u){var s=d[u],v=s.level,e=n.get(v);e||(e=new Set,n.set(v,e)),e.add(s),a=Math.max(a,v)}),(0,h.ZP)(!o.length,"Tree missing follow keys: ".concat(o.slice(0,100).map(function(u){return"'".concat(u,"'")}).join(", ")));var c;return E===!0?c=B(r,n,a,g):c=C(r,E.halfCheckedKeys,n,a,g),c}},65065:function(Ln,pt,M){"use strict";M.d(pt,{Z:function(){return h}});function h(k,P){return k[P]}},34061:function(Ln,pt,M){"use strict";M.d(pt,{F:function(){return v},H8:function(){return s},I8:function(){return u},km:function(){return o},oH:function(){return a},w$:function(){return g},zn:function(){return n}});var h=M(76190),k=M(94480),P=M(33885),_=M(75931),B=M(11592),C=M(2738),p=M(48736),m=M(65065),E=["children"];function d(e,t){return"".concat(e,"-").concat(t)}function l(e){return e&&e.type&&e.type.isTreeNode}function o(e,t){return e!=null?e:t}function g(e){var t=e||{},i=t.title,f=t._title,y=t.key,b=t.children,x=i||"title";return{title:x,_title:f||[x],key:y||"key",children:b||"children"}}function r(e,t){var i=new Map;function f(y){var b=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";(y||[]).forEach(function(x){var A=x[t.key],w=x[t.children];warning(A!=null,"Tree node must have a certain key: [".concat(b).concat(A,"]"));var L=String(A);warning(!i.has(L)||A===null||A===void 0,"Same 'key' exist in the Tree: ".concat(L)),i.set(L,!0),f(w,"".concat(b).concat(L," > "))})}f(e)}function n(e){function t(i){var f=(0,B.Z)(i);return f.map(function(y){if(!l(y))return(0,p.ZP)(!y,"Tree/TreeNode can only accept TreeNode as children."),null;var b=y.key,x=y.props,A=x.children,w=(0,_.Z)(x,E),L=(0,P.Z)({key:b},w),D=t(A);return D.length&&(L.children=D),L}).filter(function(y){return y})}return t(e)}function a(e,t,i){var f=g(i),y=f._title,b=f.key,x=f.children,A=new Set(t===!0?[]:t),w=[];function L(D){var O=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;return D.map(function(N,I){for(var K=d(O?O.pos:"0",I),F=o(N[b],K),W,j=0;j1&&arguments[1]!==void 0?arguments[1]:{},i=t.initWrapper,f=t.processEntity,y=t.onProcessFinished,b=t.externalGetKey,x=t.childrenPropName,A=t.fieldNames,w=arguments.length>2?arguments[2]:void 0,L=b||w,D={},O={},N={posEntities:D,keyEntities:O};return i&&(N=i(N)||N),c(e,function(I){var K=I.node,F=I.index,W=I.pos,j=I.key,X=I.parentPos,Y=I.level,le=I.nodes,J={node:K,nodes:le,index:F,key:j,pos:W,level:Y},ve=o(j,W);D[W]=J,O[ve]=J,J.parent=D[X],J.parent&&(J.parent.children=J.parent.children||[],J.parent.children.push(J)),f&&f(J,N)},{externalGetKey:L,childrenPropName:x,fieldNames:A}),y&&y(N),N}function s(e,t){var i=t.expandedKeys,f=t.selectedKeys,y=t.loadedKeys,b=t.loadingKeys,x=t.checkedKeys,A=t.halfCheckedKeys,w=t.dragOverNodeKey,L=t.dropPosition,D=t.keyEntities,O=(0,m.Z)(D,e),N={eventKey:e,expanded:i.indexOf(e)!==-1,selected:f.indexOf(e)!==-1,loaded:y.indexOf(e)!==-1,loading:b.indexOf(e)!==-1,checked:x.indexOf(e)!==-1,halfChecked:A.indexOf(e)!==-1,pos:String(O?O.pos:""),dragOver:w===e&&L===0,dragOverGapTop:w===e&&L===-1,dragOverGapBottom:w===e&&L===1};return N}function v(e){var t=e.data,i=e.expanded,f=e.selected,y=e.checked,b=e.loaded,x=e.loading,A=e.halfChecked,w=e.dragOver,L=e.dragOverGapTop,D=e.dragOverGapBottom,O=e.pos,N=e.active,I=e.eventKey,K=(0,P.Z)((0,P.Z)({},t),{},{expanded:i,selected:f,checked:y,loaded:b,loading:x,halfChecked:A,dragOver:w,dragOverGapTop:L,dragOverGapBottom:D,pos:O,active:N,key:I});return"props"in K||Object.defineProperty(K,"props",{get:function(){return(0,p.ZP)(!1,"Second param return from event is node data instead of TreeNode instance. Please read value directly instead of reading from `props`."),e}}),K}},8224:function(Ln,pt,M){"use strict";M.d(pt,{Z:function(){return k}});var h=M(4676);function k(P,_,B,C){var p=h.unstable_batchedUpdates?function(E){h.unstable_batchedUpdates(B,E)}:B;return P!=null&&P.addEventListener&&P.addEventListener(_,p,C),{remove:function(){P!=null&&P.removeEventListener&&P.removeEventListener(_,p,C)}}}},3465:function(Ln,pt,M){"use strict";M.d(pt,{G:function(){return _}});var h=M(47273),k=function(C){if((0,h.Z)()&&window.document.documentElement){var p=Array.isArray(C)?C:[C],m=window.document.documentElement;return p.some(function(E){return E in m.style})}return!1},P=function(C,p){if(!k(C))return!1;var m=document.createElement("div"),E=m.style[C];return m.style[C]=p,m.style[C]!==E};function _(B,C){return!Array.isArray(B)&&C!==void 0?P(B,C):k(B)}},48911:function(Ln,pt,M){"use strict";M.d(pt,{Z:function(){return Re}});var h=M(54476),k=M(76190),P=M(33885),_=M(20068),B=M(42978),C=M(75931),p=M(92310),m=M.n(p),E=M(29301),d=M(70425),l=M(34280),o=M(59301),g=M(4676),r=o.forwardRef(function(ge,Ze){var Fe=ge.height,Te=ge.offsetY,Ge=ge.offsetX,Be=ge.children,V=ge.prefixCls,q=ge.onInnerResize,re=ge.innerProps,ee=ge.rtl,oe=ge.extra,$={},fe={display:"flex",flexDirection:"column"};return Te!==void 0&&($={height:Fe,position:"relative",overflow:"hidden"},fe=(0,P.Z)((0,P.Z)({},fe),{},(0,_.Z)((0,_.Z)((0,_.Z)((0,_.Z)((0,_.Z)({transform:"translateY(".concat(Te,"px)")},ee?"marginRight":"marginLeft",-Ge),"position","absolute"),"left",0),"right",0),"top",0))),o.createElement("div",{style:$},o.createElement(E.Z,{onResize:function(ne){var de=ne.offsetHeight;de&&q&&q()}},o.createElement("div",(0,h.Z)({style:fe,className:m()((0,_.Z)({},"".concat(V,"-holder-inner"),V)),ref:Ze},re),Be,oe)))});r.displayName="Filler";var n=r;function a(ge){var Ze=ge.children,Fe=ge.setRef,Te=o.useCallback(function(Ge){Fe(Ge)},[]);return o.cloneElement(Ze,{ref:Te})}function c(ge,Ze,Fe,Te,Ge,Be,V,q){var re=q.getKey;return ge.slice(Ze,Fe+1).map(function(ee,oe){var $=Ze+oe,fe=V(ee,$,{style:{width:Te},offsetX:Ge}),xe=re(ee);return o.createElement(a,{key:xe,setRef:function(de){return Be(ee,de)}},fe)})}function u(ge,Ze,Fe,Te){var Ge=Fe-ge,Be=Ze-Fe,V=Math.min(Ge,Be)*2;if(Te<=V){var q=Math.floor(Te/2);return Te%2?Fe+q+1:Fe-q}return Ge>Be?Fe-(Te-Be):Fe+(Te-Ge)}function s(ge,Ze,Fe){var Te=ge.length,Ge=Ze.length,Be,V;if(Te===0&&Ge===0)return null;Te2&&arguments[2]!==void 0?arguments[2]:!1,$=re?ee<0&&q.current.left||ee>0&&q.current.right:ee<0&&q.current.top||ee>0&&q.current.bottom;return oe&&$?(clearTimeout(Be.current),Ge.current=!1):(!$||Ge.current)&&V(),!Ge.current&&$}};function y(ge,Ze,Fe,Te,Ge,Be,V){var q=(0,o.useRef)(0),re=(0,o.useRef)(null),ee=(0,o.useRef)(null),oe=(0,o.useRef)(!1),$=f(Ze,Fe,Te,Ge);function fe(ht,vt){if(e.Z.cancel(re.current),!$(!1,vt)){var qe=ht;if(!qe._virtualHandled)qe._virtualHandled=!0;else return;q.current+=vt,ee.current=vt,i||qe.preventDefault(),re.current=(0,e.Z)(function(){var ft=oe.current?10:1;V(q.current*ft,!1),q.current=0})}}function xe(ht,vt){V(vt,!0),i||ht.preventDefault()}var ne=(0,o.useRef)(null),de=(0,o.useRef)(null);function ut(ht){if(ge){e.Z.cancel(de.current),de.current=(0,e.Z)(function(){ne.current=null},2);var vt=ht.deltaX,qe=ht.deltaY,ft=ht.shiftKey,Ke=vt,Oe=qe;(ne.current==="sx"||!ne.current&&ft&&qe&&!vt)&&(Ke=qe,Oe=0,ne.current="sx");var Ye=Math.abs(Ke),rt=Math.abs(Oe);ne.current===null&&(ne.current=Be&&Ye>rt?"x":"y"),ne.current==="y"?fe(ht,Oe):xe(ht,Ke)}}function Je(ht){ge&&(oe.current=ht.detail===ee.current)}return[ut,Je]}function b(ge,Ze,Fe,Te){var Ge=o.useMemo(function(){return[new Map,[]]},[ge,Fe.id,Te]),Be=(0,B.Z)(Ge,2),V=Be[0],q=Be[1],re=function(oe){var $=arguments.length>1&&arguments[1]!==void 0?arguments[1]:oe,fe=V.get(oe),xe=V.get($);if(fe===void 0||xe===void 0)for(var ne=ge.length,de=q.length;de0&&arguments[0]!==void 0?arguments[0]:!1;oe();var ne=function(){var Je=!1;q.current.forEach(function(ht,vt){if(ht&&ht.offsetParent){var qe=ht.offsetHeight,ft=getComputedStyle(ht),Ke=ft.marginTop,Oe=ft.marginBottom,Ye=D(Ke),rt=D(Oe),yt=qe+Ye+rt;re.current.get(vt)!==yt&&(re.current.set(vt,yt),Je=!0)}}),Je&&V(function(ht){return ht+1})};if(xe)ne();else{ee.current+=1;var de=ee.current;Promise.resolve().then(function(){de===ee.current&&ne()})}}function fe(xe,ne){var de=ge(xe),ut=q.current.get(de);ne?(q.current.set(de,ne),$()):q.current.delete(de),!ut!=!ne&&(ne?Ze==null||Ze(xe):Fe==null||Fe(xe))}return(0,o.useEffect)(function(){return oe},[]),[fe,$,re.current,Be]}var N=14/15;function I(ge,Ze,Fe){var Te=(0,o.useRef)(!1),Ge=(0,o.useRef)(0),Be=(0,o.useRef)(0),V=(0,o.useRef)(null),q=(0,o.useRef)(null),re,ee=function(xe){if(Te.current){var ne=Math.ceil(xe.touches[0].pageX),de=Math.ceil(xe.touches[0].pageY),ut=Ge.current-ne,Je=Be.current-de,ht=Math.abs(ut)>Math.abs(Je);ht?Ge.current=ne:Be.current=de;var vt=Fe(ht,ht?ut:Je,!1,xe);vt&&xe.preventDefault(),clearInterval(q.current),vt&&(q.current=setInterval(function(){ht?ut*=N:Je*=N;var qe=Math.floor(ht?ut:Je);(!Fe(ht,qe,!0)||Math.abs(qe)<=.1)&&clearInterval(q.current)},16))}},oe=function(){Te.current=!1,re()},$=function(xe){re(),xe.touches.length===1&&!Te.current&&(Te.current=!0,Ge.current=Math.ceil(xe.touches[0].pageX),Be.current=Math.ceil(xe.touches[0].pageY),V.current=xe.target,V.current.addEventListener("touchmove",ee,{passive:!1}),V.current.addEventListener("touchend",oe,{passive:!0}))};re=function(){V.current&&(V.current.removeEventListener("touchmove",ee),V.current.removeEventListener("touchend",oe))},(0,l.Z)(function(){return ge&&Ze.current.addEventListener("touchstart",$,{passive:!0}),function(){var fe;(fe=Ze.current)===null||fe===void 0||fe.removeEventListener("touchstart",$),re(),clearInterval(q.current)}},[ge])}function K(ge){return Math.floor(Math.pow(ge,.5))}function F(ge,Ze){var Fe="touches"in ge?ge.touches[0]:ge;return Fe[Ze?"pageX":"pageY"]-window[Ze?"scrollX":"scrollY"]}function W(ge,Ze,Fe){o.useEffect(function(){var Te=Ze.current;if(ge&&Te){var Ge=!1,Be,V,q=function(){e.Z.cancel(Be)},re=function fe(){q(),Be=(0,e.Z)(function(){Fe(V),fe()})},ee=function(){Ge=!1,q()},oe=function(xe){if(!(xe.target.draggable||xe.button!==0)){var ne=xe;ne._virtualHandled||(ne._virtualHandled=!0,Ge=!0)}},$=function(xe){if(Ge){var ne=F(xe,!1),de=Te.getBoundingClientRect(),ut=de.top,Je=de.bottom;if(ne<=ut){var ht=ut-ne;V=-K(ht),re()}else if(ne>=Je){var vt=ne-Je;V=K(vt),re()}else q()}};return Te.addEventListener("mousedown",oe),Te.ownerDocument.addEventListener("mouseup",ee),Te.ownerDocument.addEventListener("mousemove",$),Te.ownerDocument.addEventListener("dragend",ee),function(){Te.removeEventListener("mousedown",oe),Te.ownerDocument.removeEventListener("mouseup",ee),Te.ownerDocument.removeEventListener("mousemove",$),Te.ownerDocument.removeEventListener("dragend",ee),q()}}},[ge])}var j=10;function X(ge,Ze,Fe,Te,Ge,Be,V,q){var re=o.useRef(),ee=o.useState(null),oe=(0,B.Z)(ee,2),$=oe[0],fe=oe[1];return(0,l.Z)(function(){if($&&$.times=0;zt-=1){var vn=Ge(Ze[zt]),Fn=Fe.get(vn);if(Fn===void 0){ht=!0;break}if(Jt-=Fn,Jt<=0)break}switch(ft){case"top":qe=Oe-ut;break;case"bottom":qe=Ye-Je+ut;break;default:{var tn=ge.current.scrollTop,Pn=tn+Je;OePn&&(vt="bottom")}}qe!==null&&V(qe),qe!==$.lastTop&&(ht=!0)}ht&&fe((0,P.Z)((0,P.Z)({},$),{},{times:$.times+1,targetAlign:vt,lastTop:qe}))}},[$,ge.current]),function(xe){if(xe==null){q();return}if(e.Z.cancel(re.current),typeof xe=="number")V(xe);else if(xe&&(0,k.Z)(xe)==="object"){var ne,de=xe.align;"index"in xe?ne=xe.index:ne=Ze.findIndex(function(ht){return Ge(ht)===xe.key});var ut=xe.offset,Je=ut===void 0?0:ut;fe({times:0,index:ne,offset:Je,originAlign:de})}}}var Y=o.forwardRef(function(ge,Ze){var Fe=ge.prefixCls,Te=ge.rtl,Ge=ge.scrollOffset,Be=ge.scrollRange,V=ge.onStartMove,q=ge.onStopMove,re=ge.onScroll,ee=ge.horizontal,oe=ge.spinSize,$=ge.containerSize,fe=ge.style,xe=ge.thumbStyle,ne=ge.showScrollBar,de=o.useState(!1),ut=(0,B.Z)(de,2),Je=ut[0],ht=ut[1],vt=o.useState(null),qe=(0,B.Z)(vt,2),ft=qe[0],Ke=qe[1],Oe=o.useState(null),Ye=(0,B.Z)(Oe,2),rt=Ye[0],yt=Ye[1],Et=!Te,cn=o.useRef(),Jt=o.useRef(),zt=o.useState(ne),vn=(0,B.Z)(zt,2),Fn=vn[0],tn=vn[1],Pn=o.useRef(),qt=function(){ne===!0||ne===!1||(clearTimeout(Pn.current),tn(!0),Pn.current=setTimeout(function(){tn(!1)},3e3))},jt=Be-$||0,kt=$-oe||0,rn=o.useMemo(function(){if(Ge===0||jt===0)return 0;var Z=Ge/jt;return Z*kt},[Ge,jt,kt]),It=function(ie){ie.stopPropagation(),ie.preventDefault()},Bt=o.useRef({top:rn,dragging:Je,pageY:ft,startTop:rt});Bt.current={top:rn,dragging:Je,pageY:ft,startTop:rt};var Wt=function(ie){ht(!0),Ke(F(ie,ee)),yt(Bt.current.top),V(),ie.stopPropagation(),ie.preventDefault()};o.useEffect(function(){var Z=function(lt){lt.preventDefault()},ie=cn.current,se=Jt.current;return ie.addEventListener("touchstart",Z,{passive:!1}),se.addEventListener("touchstart",Wt,{passive:!1}),function(){ie.removeEventListener("touchstart",Z),se.removeEventListener("touchstart",Wt)}},[]);var Xt=o.useRef();Xt.current=jt;var _n=o.useRef();_n.current=kt,o.useEffect(function(){if(Je){var Z,ie=function(lt){var xt=Bt.current,at=xt.dragging,Nt=xt.pageY,Gt=xt.startTop;e.Z.cancel(Z);var je=cn.current.getBoundingClientRect(),Ne=$/(ee?je.width:je.height);if(at){var Ee=(F(lt,ee)-Nt)*Ne,Le=Gt;!Et&&ee?Le-=Ee:Le+=Ee;var Pe=Xt.current,We=_n.current,he=We?Le/We:0,Ve=Math.ceil(he*Pe);Ve=Math.max(Ve,0),Ve=Math.min(Ve,Pe),Z=(0,e.Z)(function(){re(Ve,ee)})}},se=function(){ht(!1),q()};return window.addEventListener("mousemove",ie,{passive:!0}),window.addEventListener("touchmove",ie,{passive:!0}),window.addEventListener("mouseup",se,{passive:!0}),window.addEventListener("touchend",se,{passive:!0}),function(){window.removeEventListener("mousemove",ie),window.removeEventListener("touchmove",ie),window.removeEventListener("mouseup",se),window.removeEventListener("touchend",se),e.Z.cancel(Z)}}},[Je]),o.useEffect(function(){return qt(),function(){clearTimeout(Pn.current)}},[Ge]),o.useImperativeHandle(Ze,function(){return{delayHidden:qt}});var _t="".concat(Fe,"-scrollbar"),T={position:"absolute",visibility:Fn?null:"hidden"},z={position:"absolute",borderRadius:99,background:"var(--rc-virtual-list-scrollbar-bg, rgba(0, 0, 0, 0.5))",cursor:"pointer",userSelect:"none"};return ee?(Object.assign(T,{height:8,left:0,right:0,bottom:0}),Object.assign(z,(0,_.Z)({height:"100%",width:oe},Et?"left":"right",rn))):(Object.assign(T,(0,_.Z)({width:8,top:0,bottom:0},Et?"right":"left",0)),Object.assign(z,{width:"100%",height:oe,top:rn})),o.createElement("div",{ref:cn,className:m()(_t,(0,_.Z)((0,_.Z)((0,_.Z)({},"".concat(_t,"-horizontal"),ee),"".concat(_t,"-vertical"),!ee),"".concat(_t,"-visible"),Fn)),style:(0,P.Z)((0,P.Z)({},T),fe),onMouseDown:It,onMouseMove:qt},o.createElement("div",{ref:Jt,className:m()("".concat(_t,"-thumb"),(0,_.Z)({},"".concat(_t,"-thumb-moving"),Je)),style:(0,P.Z)((0,P.Z)({},z),xe),onMouseDown:Wt}))}),le=Y,J=20;function ve(){var ge=arguments.length>0&&arguments[0]!==void 0?arguments[0]:0,Ze=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,Fe=ge/Ze*ge;return isNaN(Fe)&&(Fe=0),Fe=Math.max(Fe,J),Math.floor(Fe)}var Ce=["prefixCls","className","height","itemHeight","fullHeight","style","data","children","itemKey","virtual","direction","scrollWidth","component","onScroll","onVirtualScroll","onVisibleChange","innerProps","extraRender","styles","showScrollBar"],be=[],Ae={overflowY:"auto",overflowAnchor:"none"};function Ue(ge,Ze){var Fe=ge.prefixCls,Te=Fe===void 0?"rc-virtual-list":Fe,Ge=ge.className,Be=ge.height,V=ge.itemHeight,q=ge.fullHeight,re=q===void 0?!0:q,ee=ge.style,oe=ge.data,$=ge.children,fe=ge.itemKey,xe=ge.virtual,ne=ge.direction,de=ge.scrollWidth,ut=ge.component,Je=ut===void 0?"div":ut,ht=ge.onScroll,vt=ge.onVirtualScroll,qe=ge.onVisibleChange,ft=ge.innerProps,Ke=ge.extraRender,Oe=ge.styles,Ye=ge.showScrollBar,rt=Ye===void 0?"optional":Ye,yt=(0,C.Z)(ge,Ce),Et=o.useCallback(function(Ft){return typeof fe=="function"?fe(Ft):Ft==null?void 0:Ft[fe]},[fe]),cn=O(Et,null,null),Jt=(0,B.Z)(cn,4),zt=Jt[0],vn=Jt[1],Fn=Jt[2],tn=Jt[3],Pn=!!(xe!==!1&&Be&&V),qt=o.useMemo(function(){return Object.values(Fn.maps).reduce(function(Ft,hn){return Ft+hn},0)},[Fn.id,Fn.maps]),jt=Pn&&oe&&(Math.max(V*oe.length,qt)>Be||!!de),kt=ne==="rtl",rn=m()(Te,(0,_.Z)({},"".concat(Te,"-rtl"),kt),Ge),It=oe||be,Bt=(0,o.useRef)(),Wt=(0,o.useRef)(),Xt=(0,o.useRef)(),_n=(0,o.useState)(0),_t=(0,B.Z)(_n,2),T=_t[0],z=_t[1],Z=(0,o.useState)(0),ie=(0,B.Z)(Z,2),se=ie[0],Qe=ie[1],lt=(0,o.useState)(!1),xt=(0,B.Z)(lt,2),at=xt[0],Nt=xt[1],Gt=function(){Nt(!0)},je=function(){Nt(!1)},Ne={getKey:Et};function Ee(Ft){z(function(hn){var Gn;typeof Ft=="function"?Gn=Ft(hn):Gn=Ft;var Vn=Lt(Gn);return Bt.current.scrollTop=Vn,Vn})}var Le=(0,o.useRef)({start:0,end:It.length}),Pe=(0,o.useRef)(),We=v(It,Et),he=(0,B.Z)(We,1),Ve=he[0];Pe.current=Ve;var tt=o.useMemo(function(){if(!Pn)return{scrollHeight:void 0,start:0,end:It.length-1,offset:void 0};if(!jt){var Ft;return{scrollHeight:((Ft=Wt.current)===null||Ft===void 0?void 0:Ft.offsetHeight)||0,start:0,end:It.length-1,offset:void 0}}for(var hn=0,Gn,Vn,gr,Mr=It.length,yr=0;yr=T&&Gn===void 0&&(Gn=yr,Vn=hn),Cn>T+Be&&gr===void 0&&(gr=yr),hn=Cn}return Gn===void 0&&(Gn=0,Vn=0,gr=Math.ceil(Be/V)),gr===void 0&&(gr=It.length-1),gr=Math.min(gr+1,It.length-1),{scrollHeight:hn,start:Gn,end:gr,offset:Vn}},[jt,Pn,T,It,tn,Be]),me=tt.scrollHeight,ye=tt.start,_e=tt.end,ke=tt.offset;Le.current.start=ye,Le.current.end=_e,o.useLayoutEffect(function(){var Ft=Fn.getRecord();if(Ft.size===1){var hn=Array.from(Ft.keys())[0],Gn=Ft.get(hn),Vn=It[ye];if(Vn&&Gn===void 0){var gr=Et(Vn);if(gr===hn){var Mr=Fn.get(hn),yr=Mr-V;Ee(function(et){return et+yr})}}}Fn.resetRecord()},[me]);var De=o.useState({width:0,height:Be}),ct=(0,B.Z)(De,2),At=ct[0],Pt=ct[1],Yt=function(hn){Pt({width:hn.offsetWidth,height:hn.offsetHeight})},sn=(0,o.useRef)(),wn=(0,o.useRef)(),En=o.useMemo(function(){return ve(At.width,de)},[At.width,de]),nn=o.useMemo(function(){return ve(At.height,me)},[At.height,me]),fn=me-Be,pn=(0,o.useRef)(fn);pn.current=fn;function Lt(Ft){var hn=Ft;return Number.isNaN(pn.current)||(hn=Math.min(hn,pn.current)),hn=Math.max(hn,0),hn}var Mn=T<=0,Zn=T>=fn,bn=se<=0,Wn=se>=de,qn=f(Mn,Zn,bn,Wn),Cr=function(){return{x:kt?-se:se,y:T}},ur=(0,o.useRef)(Cr()),Bn=(0,d.zX)(function(Ft){if(vt){var hn=(0,P.Z)((0,P.Z)({},Cr()),Ft);(ur.current.x!==hn.x||ur.current.y!==hn.y)&&(vt(hn),ur.current=hn)}});function ar(Ft,hn){var Gn=Ft;hn?((0,g.flushSync)(function(){Qe(Gn)}),Bn()):Ee(Gn)}function pr(Ft){var hn=Ft.currentTarget.scrollTop;hn!==T&&Ee(hn),ht==null||ht(Ft),Bn()}var nr=function(hn){var Gn=hn,Vn=de?de-At.width:0;return Gn=Math.max(Gn,0),Gn=Math.min(Gn,Vn),Gn},er=(0,d.zX)(function(Ft,hn){hn?((0,g.flushSync)(function(){Qe(function(Gn){var Vn=Gn+(kt?-Ft:Ft);return nr(Vn)})}),Bn()):Ee(function(Gn){var Vn=Gn+Ft;return Vn})}),Yn=y(Pn,Mn,Zn,bn,Wn,!!de,er),St=(0,B.Z)(Yn,2),Pr=St[0],Xr=St[1];I(Pn,Bt,function(Ft,hn,Gn,Vn){var gr=Vn;return qn(Ft,hn,Gn)?!1:!gr||!gr._virtualHandled?(gr&&(gr._virtualHandled=!0),Pr({preventDefault:function(){},deltaX:Ft?hn:0,deltaY:Ft?0:hn}),!0):!1}),W(jt,Bt,function(Ft){Ee(function(hn){return hn+Ft})}),(0,l.Z)(function(){function Ft(Gn){var Vn=Mn&&Gn.detail<0,gr=Zn&&Gn.detail>0;Pn&&!Vn&&!gr&&Gn.preventDefault()}var hn=Bt.current;return hn.addEventListener("wheel",Pr,{passive:!1}),hn.addEventListener("DOMMouseScroll",Xr,{passive:!0}),hn.addEventListener("MozMousePixelScroll",Ft,{passive:!1}),function(){hn.removeEventListener("wheel",Pr),hn.removeEventListener("DOMMouseScroll",Xr),hn.removeEventListener("MozMousePixelScroll",Ft)}},[Pn,Mn,Zn]),(0,l.Z)(function(){if(de){var Ft=nr(se);Qe(Ft),Bn({x:Ft})}},[At.width,de]);var Ir=function(){var hn,Gn;(hn=sn.current)===null||hn===void 0||hn.delayHidden(),(Gn=wn.current)===null||Gn===void 0||Gn.delayHidden()},Hr=X(Bt,It,Fn,V,Et,function(){return vn(!0)},Ee,Ir);o.useImperativeHandle(Ze,function(){return{nativeElement:Xt.current,getScrollInfo:Cr,scrollTo:function(hn){function Gn(Vn){return Vn&&(0,k.Z)(Vn)==="object"&&("left"in Vn||"top"in Vn)}Gn(hn)?(hn.left!==void 0&&Qe(nr(hn.left)),Hr(hn.top)):Hr(hn)}}}),(0,l.Z)(function(){if(qe){var Ft=It.slice(ye,_e+1);qe(Ft,It)}},[ye,_e,It]);var Fr=b(It,Et,Fn,V),$r=Ke==null?void 0:Ke({start:ye,end:_e,virtual:jt,offsetX:se,offsetY:ke,rtl:kt,getSize:Fr}),rr=c(It,ye,_e,de,se,zt,$,Ne),tr=null;Be&&(tr=(0,P.Z)((0,_.Z)({},re?"height":"maxHeight",Be),Ae),Pn&&(tr.overflowY="hidden",de&&(tr.overflowX="hidden"),at&&(tr.pointerEvents="none")));var Nn={};return kt&&(Nn.dir="rtl"),o.createElement("div",(0,h.Z)({ref:Xt,style:(0,P.Z)((0,P.Z)({},ee),{},{position:"relative"}),className:rn},Nn,yt),o.createElement(E.Z,{onResize:Yt},o.createElement(Je,{className:"".concat(Te,"-holder"),style:tr,ref:Bt,onScroll:pr,onMouseEnter:Ir},o.createElement(n,{prefixCls:Te,height:me,offsetX:se,offsetY:ke,scrollWidth:de,onInnerResize:vn,ref:Wt,innerProps:ft,rtl:kt,extra:$r},rr))),jt&&me>Be&&o.createElement(le,{ref:sn,prefixCls:Te,scrollOffset:T,scrollRange:me,rtl:kt,onScroll:ar,onStartMove:Gt,onStopMove:je,spinSize:nn,containerSize:At.height,style:Oe==null?void 0:Oe.verticalScrollBar,thumbStyle:Oe==null?void 0:Oe.verticalScrollBarThumb,showScrollBar:rt}),jt&&de>At.width&&o.createElement(le,{ref:wn,prefixCls:Te,scrollOffset:se,scrollRange:de,rtl:kt,onScroll:ar,onStartMove:Gt,onStopMove:je,spinSize:En,containerSize:At.width,horizontal:!0,style:Oe==null?void 0:Oe.horizontalScrollBar,thumbStyle:Oe==null?void 0:Oe.horizontalScrollBarThumb,showScrollBar:rt}))}var we=o.forwardRef(Ue);we.displayName="List";var $e=we,Re=$e},51581:function(Ln,pt,M){"use strict";Object.defineProperty(pt,"__esModule",{value:!0});var h=function(){function o(g,r){for(var n=0;n=0||Object.prototype.hasOwnProperty.call(o,n)&&(r[n]=o[n]);return r}function m(o,g){if(!(o instanceof g))throw new TypeError("Cannot call a class as a function")}function E(o,g){if(!o)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return g&&(typeof g=="object"||typeof g=="function")?g:o}function d(o,g){if(typeof g!="function"&&g!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof g);o.prototype=Object.create(g&&g.prototype,{constructor:{value:o,enumerable:!1,writable:!0,configurable:!0}}),g&&(Object.setPrototypeOf?Object.setPrototypeOf(o,g):o.__proto__=g)}var l=function(o){d(g,o);function g(r){m(this,g);var n=E(this,(g.__proto__||Object.getPrototypeOf(g)).call(this,r));return n.scrollListener=n.scrollListener.bind(n),n.eventListenerOptions=n.eventListenerOptions.bind(n),n.mousewheelListener=n.mousewheelListener.bind(n),n}return h(g,[{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 n=this.getParentElement(this.scrollComponent);n.scrollTop=n.scrollHeight-this.beforeScrollHeight+this.beforeScrollTop,this.loadMore=!1}this.attachScrollListener()}},{key:"componentWillUnmount",value:function(){this.detachScrollListener(),this.detachMousewheelListener()}},{key:"isPassiveSupported",value:function(){var n=!1,a={get passive(){n=!0}};try{document.addEventListener("test",null,a),document.removeEventListener("test",null,a)}catch(c){}return n}},{key:"eventListenerOptions",value:function(){var n=this.props.useCapture;return this.isPassiveSupported()&&(n={useCapture:this.props.useCapture,passive:!0}),n}},{key:"setDefaultLoader",value:function(n){this.defaultLoader=n}},{key:"detachMousewheelListener",value:function(){var n=window;this.props.useWindow===!1&&(n=this.scrollComponent.parentNode),n.removeEventListener("mousewheel",this.mousewheelListener,this.options?this.options:this.props.useCapture)}},{key:"detachScrollListener",value:function(){var n=window;this.props.useWindow===!1&&(n=this.getParentElement(this.scrollComponent)),n.removeEventListener("scroll",this.scrollListener,this.options?this.options:this.props.useCapture),n.removeEventListener("resize",this.scrollListener,this.options?this.options:this.props.useCapture)}},{key:"getParentElement",value:function(n){var a=this.props.getScrollParent&&this.props.getScrollParent();return a!=null?a:n&&n.parentNode}},{key:"filterProps",value:function(n){return n}},{key:"attachScrollListener",value:function(){var n=this.getParentElement(this.scrollComponent);if(!(!this.props.hasMore||!n)){var a=window;this.props.useWindow===!1&&(a=n),a.addEventListener("mousewheel",this.mousewheelListener,this.options?this.options:this.props.useCapture),a.addEventListener("scroll",this.scrollListener,this.options?this.options:this.props.useCapture),a.addEventListener("resize",this.scrollListener,this.options?this.options:this.props.useCapture),this.props.initialLoad&&this.scrollListener()}}},{key:"mousewheelListener",value:function(n){n.deltaY===1&&!this.isPassiveSupported()&&n.preventDefault()}},{key:"scrollListener",value:function(){var n=this.scrollComponent,a=window,c=this.getParentElement(n),u=void 0;if(this.props.useWindow){var s=document.documentElement||document.body.parentNode||document.body,v=a.pageYOffset!==void 0?a.pageYOffset:s.scrollTop;this.props.isReverse?u=v:u=this.calculateOffset(n,v)}else this.props.isReverse?u=c.scrollTop:u=n.scrollHeight-c.scrollTop-c.clientHeight;u1&&arguments[1]!==void 0?arguments[1]:60,_=null;return function(){for(var B=this,C=arguments.length,p=new Array(C),m=0;m=P.length?{done:!0}:{done:!1,value:P[C++]}},e:function(o){throw o},f:p}}throw new TypeError(`Invalid attempt to iterate non-iterable instance. In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var m,E=!0,d=!1;return{s:function(){B=B.call(P)},n:function(){var o=B.next();return E=o.done,o},e:function(o){d=!0,m=o},f:function(){try{E||B.return==null||B.return()}finally{if(d)throw m}}}}},16722:function(Ln,pt,M){"use strict";M.d(pt,{Z:function(){return m}});const h=E=>typeof E=="object"&&E!=null&&E.nodeType===1,k=(E,d)=>(!d||E!=="hidden")&&E!=="visible"&&E!=="clip",P=(E,d)=>{if(E.clientHeight{const g=(r=>{if(!r.ownerDocument||!r.ownerDocument.defaultView)return null;try{return r.ownerDocument.defaultView.frameElement}catch(n){return null}})(o);return!!g&&(g.clientHeightrd||r>E&&n=d&&a>=l?r-E-o:n>d&&al?n-d+g:0,B=E=>{const d=E.parentElement;return d==null?E.getRootNode().host||null:d},C=(E,d)=>{var l,o,g,r;if(typeof document=="undefined")return[];const{scrollMode:n,block:a,inline:c,boundary:u,skipOverflowHiddenElements:s}=d,v=typeof u=="function"?u:le=>le!==u;if(!h(E))throw new TypeError("Invalid target");const e=document.scrollingElement||document.documentElement,t=[];let i=E;for(;h(i)&&v(i);){if(i=B(i),i===e){t.push(i);break}i!=null&&i===document.body&&P(i)&&!P(document.documentElement)||i!=null&&P(i,s)&&t.push(i)}const f=(o=(l=window.visualViewport)==null?void 0:l.width)!=null?o:innerWidth,y=(r=(g=window.visualViewport)==null?void 0:g.height)!=null?r:innerHeight,{scrollX:b,scrollY:x}=window,{height:A,width:w,top:L,right:D,bottom:O,left:N}=E.getBoundingClientRect(),{top:I,right:K,bottom:F,left:W}=(le=>{const J=window.getComputedStyle(le);return{top:parseFloat(J.scrollMarginTop)||0,right:parseFloat(J.scrollMarginRight)||0,bottom:parseFloat(J.scrollMarginBottom)||0,left:parseFloat(J.scrollMarginLeft)||0}})(E);let j=a==="start"||a==="nearest"?L-I:a==="end"?O+F:L+A/2-I+F,X=c==="center"?N+w/2-W+K:c==="end"?D+K:N-W;const Y=[];for(let le=0;le=0&&N>=0&&O<=y&&D<=f&&(J===e&&!P(J)||L>=be&&O<=Ue&&N>=we&&D<=Ae))return Y;const $e=getComputedStyle(J),Re=parseInt($e.borderLeftWidth,10),ge=parseInt($e.borderTopWidth,10),Ze=parseInt($e.borderRightWidth,10),Fe=parseInt($e.borderBottomWidth,10);let Te=0,Ge=0;const Be="offsetWidth"in J?J.offsetWidth-J.clientWidth-Re-Ze:0,V="offsetHeight"in J?J.offsetHeight-J.clientHeight-ge-Fe:0,q="offsetWidth"in J?J.offsetWidth===0?0:Ce/J.offsetWidth:0,re="offsetHeight"in J?J.offsetHeight===0?0:ve/J.offsetHeight:0;if(e===J)Te=a==="start"?j:a==="end"?j-y:a==="nearest"?_(x,x+y,y,ge,Fe,x+j,x+j+A,A):j-y/2,Ge=c==="start"?X:c==="center"?X-f/2:c==="end"?X-f:_(b,b+f,f,Re,Ze,b+X,b+X+w,w),Te=Math.max(0,Te+x),Ge=Math.max(0,Ge+b);else{Te=a==="start"?j-be-ge:a==="end"?j-Ue+Fe+V:a==="nearest"?_(be,Ue,ve,ge,Fe+V,j,j+A,A):j-(be+ve/2)+V/2,Ge=c==="start"?X-we-Re:c==="center"?X-(we+Ce/2)+Be/2:c==="end"?X-Ae+Ze+Be:_(we,Ae,Ce,Re,Ze+Be,X,X+w,w);const{scrollLeft:ee,scrollTop:oe}=J;Te=re===0?0:Math.max(0,Math.min(oe+Te/re,J.scrollHeight-ve/re+V)),Ge=q===0?0:Math.max(0,Math.min(ee+Ge/q,J.scrollWidth-Ce/q+Be)),j+=oe-Te,X+=ee-Ge}Y.push({el:J,top:Te,left:Ge})}return Y},p=E=>E===!1?{block:"end",inline:"nearest"}:(d=>d===Object(d)&&Object.keys(d).length!==0)(E)?E:{block:"start",inline:"nearest"};function m(E,d){if(!E.isConnected||!(g=>{let r=g;for(;r&&r.parentNode;){if(r.parentNode===document)return!0;r=r.parentNode instanceof ShadowRoot?r.parentNode.host:r.parentNode}return!1})(E))return;const l=(g=>{const r=window.getComputedStyle(g);return{top:parseFloat(r.scrollMarginTop)||0,right:parseFloat(r.scrollMarginRight)||0,bottom:parseFloat(r.scrollMarginBottom)||0,left:parseFloat(r.scrollMarginLeft)||0}})(E);if((g=>typeof g=="object"&&typeof g.behavior=="function")(d))return d.behavior(C(E,d));const o=typeof d=="boolean"||d==null?void 0:d.behavior;for(const{el:g,top:r,left:n}of C(E,p(d))){const a=r-l.top+l.bottom,c=n-l.left+l.right;g.scroll({top:a,left:c,behavior:o})}}}}]);